{"ground_truth": ["", "bool", "GCNDPPCombine", "::", "runOnMachineFunction", "(", "MachineFunction", "&", "MF", ")", "{", "auto", "&", "ST", "=", "MF", ".", "getSubtarget", "<", "GCNSubtarget", ">", "(", ")", ";", "if", "(", "!", "ST", ".", "hasDPP", "(", ")", "||", "skipFunction", "(", "MF", ".", "getFunction", "(", ")", ")", ")", "return", "false", ";", "MRI", "=", "&", "MF", ".", "getRegInfo", "(", ")", ";", "TII", "=", "ST", ".", "getInstrInfo", "(", ")", ";", "bool", "Changed", "=", "false", ";", "for", "(", "auto", "&", "MBB", ":", "MF", ")", "{", "for", "(", "auto", "I", "=", "MBB", ".", "rbegin", "(", ")", ",", "E", "=", "MBB", ".", "rend", "(", ")", ";", "I", "!=", "E", ";", ")", "{", "auto", "&", "MI", "=", "*", "I", "++", ";", "if", "(", "MI", ".", "getOpcode", "(", ")", "==", "AMDGPU", "::", "V_MOV_B32_dpp", "&&", "combineDPPMov", "(", "MI", ")", ")", "{", "Changed", "=", "true", ";", "++", "NumDPPMovsCombined", ";", "}", "else", "if", "(", "MI", ".", "getOpcode", "(", ")", "==", "AMDGPU", "::", "V_MOV_B64_DPP_PSEUDO", ")", "{", "auto", "Split", "=", "TII", "->", "expandMovDPP64", "(", "MI", ")", ";", "for", "(", "auto", "M", ":", "{", "Split", ".", "first", ",", "Split", ".", "second", "}", ")", "{", "if", "(", "combineDPPMov", "(", "*", "M", ")", ")", "++", "NumDPPMovsCombined", ";", "}", "Changed", "=", "true", ";", "}", "}", "}", "return", "Changed", ";", "}", ""], "natrual_language": ["runOnMachineFunction", "-", "Emit", "the", "function", "body", "."], "TS_V_token": ["AMDGPU", "AMDGPU::V_MOV_B32_dpp", "AMDGPU::V_MOV_B64_DPP_PSEUDO"], "File": "GCNDPPCombine19", "Func": "runOnMachineFunction", "Target": "AMDGPU", "Target_Clf": "GPU", "Compiler_Type": "LLVM", "Idx": 0, "Length": 197, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "static", "bool", "microblaze_elf_in_small_data_p", "(", "const_tree", "decl", ")", "{", "HOST_WIDE_INT", "size", ";", "if", "(", "!", "TARGET_XLGPOPT", ")", "return", "false", ";", "if", "(", "TREE_CODE", "(", "decl", ")", "==", "STRING_CST", ")", "return", "false", ";", "if", "(", "TREE_CODE", "(", "decl", ")", "==", "FUNCTION_DECL", ")", "return", "false", ";", "if", "(", "TREE_CODE", "(", "decl", ")", "==", "VAR_DECL", "&&", "DECL_SECTION_NAME", "(", "decl", ")", ")", "{", "const", "char", "*", "section", "=", "DECL_SECTION_NAME", "(", "decl", ")", ";", "if", "(", "strcmp", "(", "section", ",", "\".sdata\"", ")", "==", "0", "||", "strcmp", "(", "section", ",", "\".sdata2\"", ")", "==", "0", "||", "strcmp", "(", "section", ",", "\".sbss\"", ")", "==", "0", "||", "strcmp", "(", "section", ",", "\".sbss2\"", ")", "==", "0", ")", "return", "true", ";", "}", "size", "=", "int_size_in_bytes", "(", "TREE_TYPE", "(", "decl", ")", ")", ";", "return", "(", "size", ">", "0", "&&", "size", "<=", "microblaze_section_threshold", ")", ";", "}", ""], "natrual_language": ["Returns", "true", "if", "decl", "should", "be", "placed", "into", "a", "``", "small", "data", "''", "section", "."], "TS_V_token": ["microblaze", "\".sdata\"", "0", "\".sdata2\"", "0", "\".sbss\"", "0", "\".sbss2\"", "0", "0"], "File": "microblaze", "Func": "microblaze_elf_in_small_data_p", "Target": "microblaze", "Target_Clf": "MPU", "Compiler_Type": "GCC", "Idx": 1, "Length": 132, "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", "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": "RISCVInstrInfo", "Func": "storeRegToStackSlot", "Target": "RISCV", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 2, "Length": 168, "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": 3, "Length": 418, "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": 4, "Length": 108, "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": ["BPF"], "File": "BPFAsmBackend1", "Func": "relaxInstruction", "Target": "BPF", "Target_Clf": "Virtual ISA", "Compiler_Type": "LLVM", "Idx": 5, "Length": 21, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "MachineInstrBuilder", "R600InstrInfo", "::", "buildIndirectRead", "(", "MachineBasicBlock", "*", "MBB", ",", "MachineBasicBlock", "::", "iterator", "I", ",", "unsigned", "ValueReg", ",", "unsigned", "Address", ",", "unsigned", "OffsetReg", ")", "const", "{", "unsigned", "AddrReg", "=", "AMDGPU", "::", "R600_AddrRegClass", ".", "getRegister", "(", "Address", ")", ";", "MachineInstr", "*", "MOVA", "=", "buildDefaultInstruction", "(", "*", "MBB", ",", "I", ",", "AMDGPU", "::", "MOVA_INT_eg", ",", "AMDGPU", "::", "AR_X", ",", "OffsetReg", ")", ";", "setImmOperand", "(", "MOVA", ",", "AMDGPU", "::", "OpName", "::", "write", ",", "0", ")", ";", "MachineInstrBuilder", "Mov", "=", "buildDefaultInstruction", "(", "*", "MBB", ",", "I", ",", "AMDGPU", "::", "MOV", ",", "ValueReg", ",", "AddrReg", ")", ".", "addReg", "(", "AMDGPU", "::", "AR_X", ",", "RegState", "::", "Implicit", "|", "RegState", "::", "Kill", ")", ";", "setImmOperand", "(", "Mov", ",", "AMDGPU", "::", "OpName", "::", "src0_rel", ",", "1", ")", ";", "return", "Mov", ";", "}", ""], "natrual_language": ["Build", "instruction", "(", "s", ")", "for", "an", "indirect", "register", "read", "."], "TS_V_token": ["R600", "0", "1"], "File": "R600InstrInfo13", "Func": "buildIndirectRead", "Target": "R600", "Target_Clf": "GPU", "Compiler_Type": "LLVM", "Idx": 6, "Length": 123, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "bool", "SIMemoryLegalizer", "::", "runOnMachineFunction", "(", "MachineFunction", "&", "MF", ")", "{", "bool", "Changed", "=", "false", ";", "SIMemOpAccess", "MOA", "(", "MF", ")", ";", "CC", "=", "SICacheControl", "::", "create", "(", "MF", ".", "getSubtarget", "<", "GCNSubtarget", ">", "(", ")", ")", ";", "for", "(", "auto", "&", "MBB", ":", "MF", ")", "{", "for", "(", "auto", "MI", "=", "MBB", ".", "begin", "(", ")", ";", "MI", "!=", "MBB", ".", "end", "(", ")", ";", "++", "MI", ")", "{", "if", "(", "MI", "->", "isBundle", "(", ")", ")", "{", "MachineBasicBlock", "::", "instr_iterator", "II", "(", "MI", "->", "getIterator", "(", ")", ")", ";", "for", "(", "MachineBasicBlock", "::", "instr_iterator", "I", "=", "++", "II", ",", "E", "=", "MBB", ".", "instr_end", "(", ")", ";", "I", "!=", "E", "&&", "I", "->", "isBundledWithPred", "(", ")", ";", "++", "I", ")", "{", "I", "->", "unbundleFromPred", "(", ")", ";", "for", "(", "MachineOperand", "&", "MO", ":", "I", "->", "operands", "(", ")", ")", "if", "(", "MO", ".", "isReg", "(", ")", ")", "MO", ".", "setIsInternalRead", "(", "false", ")", ";", "}", "MI", "->", "eraseFromParent", "(", ")", ";", "MI", "=", "II", "->", "getIterator", "(", ")", ";", "}", "if", "(", "!", "(", "MI", "->", "getDesc", "(", ")", ".", "TSFlags", "&", "SIInstrFlags", "::", "maybeAtomic", ")", ")", "continue", ";", "if", "(", "const", "auto", "&", "MOI", "=", "MOA", ".", "getLoadInfo", "(", "MI", ")", ")", "Changed", "|=", "expandLoad", "(", "MOI", ".", "getValue", "(", ")", ",", "MI", ")", ";", "else", "if", "(", "const", "auto", "&", "MOI", "=", "MOA", ".", "getStoreInfo", "(", "MI", ")", ")", "Changed", "|=", "expandStore", "(", "MOI", ".", "getValue", "(", ")", ",", "MI", ")", ";", "else", "if", "(", "const", "auto", "&", "MOI", "=", "MOA", ".", "getAtomicFenceInfo", "(", "MI", ")", ")", "Changed", "|=", "expandAtomicFence", "(", "MOI", ".", "getValue", "(", ")", ",", "MI", ")", ";", "else", "if", "(", "const", "auto", "&", "MOI", "=", "MOA", ".", "getAtomicCmpxchgOrRmwInfo", "(", "MI", ")", ")", "Changed", "|=", "expandAtomicCmpxchgOrRmw", "(", "MOI", ".", "getValue", "(", ")", ",", "MI", ")", ";", "}", "}", "Changed", "|=", "removeAtomicPseudoMIs", "(", ")", ";", "return", "Changed", ";", "}", ""], "natrual_language": ["runOnMachineFunction", "-", "Emit", "the", "function", "body", "."], "TS_V_token": ["AMDGPU", "SI", "SI", "SI", "SIInstrFlags::maybeAtomic"], "File": "SIMemoryLegalizer", "Func": "runOnMachineFunction", "Target": "AMDGPU", "Target_Clf": "GPU", "Compiler_Type": "LLVM", "Idx": 7, "Length": 313, "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": 8, "Length": 100, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "void", "Z80InstPrinter", "::", "printRegName", "(", "raw_ostream", "&", "OS", ",", "unsigned", "RegNo", ")", "const", "{", "OS", "<<", "StringRef", "(", "getRegisterName", "(", "RegNo", ")", ")", ".", "lower", "(", ")", ";", "}", ""], "natrual_language": ["Print", "the", "assembler", "register", "name", "."], "TS_V_token": ["Z80", "Z80"], "File": "Z80InstPrinter1", "Func": "printRegName", "Target": "Z80", "Target_Clf": "MPU", "Compiler_Type": "LLVM", "Idx": 9, "Length": 29, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "bool", "MSP430AsmPrinter", "::", "runOnMachineFunction", "(", "MachineFunction", "&", "MF", ")", "{", "SetupMachineFunction", "(", "MF", ")", ";", "O", "<<", "\"\\n\\n\"", ";", "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'", ";", "return", "false", ";", "}", ""], "natrual_language": ["runOnMachineFunction", "-", "Emit", "the", "function", "body", "."], "TS_V_token": ["MSP430", "MSP430", "\"\\n\\n\"", "\"\\t.size\\t\"", "\", .-\""], "File": "MSP430AsmPrinter14", "Func": "runOnMachineFunction", "Target": "MSP430", "Target_Clf": "MPU", "Compiler_Type": "LLVM", "Idx": 10, "Length": 150, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "static", "bool", "cris_pass_by_reference", "(", "cumulative_args_t", "ca", "ATTRIBUTE_UNUSED", ",", "machine_mode", "mode", ",", "const_tree", "type", ",", "bool", "named", "ATTRIBUTE_UNUSED", ")", "{", "return", "(", "targetm", ".", "calls", ".", "must_pass_in_stack", "(", "mode", ",", "type", ")", "||", "CRIS_FUNCTION_ARG_SIZE", "(", "mode", ",", "type", ")", ">", "8", ")", ";", "}", ""], "natrual_language": ["Return", "true", "if", "TYPE", "must", "be", "passed", "by", "invisible", "reference", ".", "For", "cris", ",", "we", "pass", "<", "=", "8", "bytes", "by", "value", ",", "others", "by", "reference", "."], "TS_V_token": ["cris", "8"], "File": "cris4", "Func": "cris_pass_by_reference", "Target": "cris", "Target_Clf": "MPU", "Compiler_Type": "GCC", "Idx": 11, "Length": 43, "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": 12, "Length": 323, "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": 13, "Length": 49, "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": 14, "Length": 58, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "bool", "WebAssemblyRegNumbering", "::", "runOnMachineFunction", "(", "MachineFunction", "&", "MF", ")", "{", "DEBUG", "(", "dbgs", "(", ")", "<<", "\"********** Register Numbering **********\\n\"", "\"********** Function: \"", "<<", "MF", ".", "getName", "(", ")", "<<", "'\\n'", ")", ";", "WebAssemblyFunctionInfo", "&", "MFI", "=", "*", "MF", ".", "getInfo", "<", "WebAssemblyFunctionInfo", ">", "(", ")", ";", "MachineRegisterInfo", "&", "MRI", "=", "MF", ".", "getRegInfo", "(", ")", ";", "MFI", ".", "initWARegs", "(", ")", ";", "MachineBasicBlock", "&", "EntryMBB", "=", "MF", ".", "front", "(", ")", ";", "for", "(", "MachineInstr", "&", "MI", ":", "EntryMBB", ")", "{", "switch", "(", "MI", ".", "getOpcode", "(", ")", ")", "{", "case", "WebAssembly", "::", "ARGUMENT_I32", ":", "case", "WebAssembly", "::", "ARGUMENT_I64", ":", "case", "WebAssembly", "::", "ARGUMENT_F32", ":", "case", "WebAssembly", "::", "ARGUMENT_F64", ":", "case", "WebAssembly", "::", "ARGUMENT_v16i8", ":", "case", "WebAssembly", "::", "ARGUMENT_v8i16", ":", "case", "WebAssembly", "::", "ARGUMENT_v4i32", ":", "case", "WebAssembly", "::", "ARGUMENT_v4f32", ":", "{", "int64_t", "Imm", "=", "MI", ".", "getOperand", "(", "1", ")", ".", "getImm", "(", ")", ";", "DEBUG", "(", "dbgs", "(", ")", "<<", "\"Arg VReg \"", "<<", "MI", ".", "getOperand", "(", "0", ")", ".", "getReg", "(", ")", "<<", "\" -> WAReg \"", "<<", "Imm", "<<", "\"\\n\"", ")", ";", "MFI", ".", "setWAReg", "(", "MI", ".", "getOperand", "(", "0", ")", ".", "getReg", "(", ")", ",", "Imm", ")", ";", "break", ";", "}", "default", ":", "break", ";", "}", "}", "unsigned", "NumVRegs", "=", "MF", ".", "getRegInfo", "(", ")", ".", "getNumVirtRegs", "(", ")", ";", "unsigned", "NumStackRegs", "=", "0", ";", "unsigned", "CurReg", "=", "MFI", ".", "getParams", "(", ")", ".", "size", "(", ")", ";", "for", "(", "unsigned", "VRegIdx", "=", "0", ";", "VRegIdx", "<", "NumVRegs", ";", "++", "VRegIdx", ")", "{", "unsigned", "VReg", "=", "TargetRegisterInfo", "::", "index2VirtReg", "(", "VRegIdx", ")", ";", "if", "(", "MRI", ".", "use_empty", "(", "VReg", ")", ")", "continue", ";", "if", "(", "MFI", ".", "isVRegStackified", "(", "VReg", ")", ")", "{", "DEBUG", "(", "dbgs", "(", ")", "<<", "\"VReg \"", "<<", "VReg", "<<", "\" -> WAReg \"", "<<", "(", "INT32_MIN", "|", "NumStackRegs", ")", "<<", "\"\\n\"", ")", ";", "MFI", ".", "setWAReg", "(", "VReg", ",", "INT32_MIN", "|", "NumStackRegs", "++", ")", ";", "continue", ";", "}", "if", "(", "MFI", ".", "getWAReg", "(", "VReg", ")", "==", "WebAssemblyFunctionInfo", "::", "UnusedReg", ")", "{", "DEBUG", "(", "dbgs", "(", ")", "<<", "\"VReg \"", "<<", "VReg", "<<", "\" -> WAReg \"", "<<", "CurReg", "<<", "\"\\n\"", ")", ";", "MFI", ".", "setWAReg", "(", "VReg", ",", "CurReg", "++", ")", ";", "}", "}", "return", "true", ";", "}", ""], "natrual_language": ["runOnMachineFunction", "-", "Emit", "the", "function", "body", "."], "TS_V_token": ["WebAssembly", "WebAssembly", "\"********** Register Numbering **********\\n\"", "\"********** Function: \"", "WebAssembly", "WebAssembly", "WebAssembly::ARGUMENT_I32", "WebAssembly::ARGUMENT_I64", "WebAssembly::ARGUMENT_F32", "WebAssembly::ARGUMENT_F64", "WebAssembly::ARGUMENT_v16i8", "WebAssembly::ARGUMENT_v8i16", "WebAssembly::ARGUMENT_v4i32", "WebAssembly::ARGUMENT_v4f32", "1", "\"Arg VReg \"", "0", "\" -> WAReg \"", "\"\\n\"", "0", "0", "0", "\"VReg \"", "\" -> WAReg \"", "\"\\n\"", "WebAssembly", "\"VReg \"", "\" -> WAReg \"", "\"\\n\""], "File": "WebAssemblyRegNumbering", "Func": "runOnMachineFunction", "Target": "WebAssembly", "Target_Clf": "Virtual ISA", "Compiler_Type": "LLVM", "Idx": 15, "Length": 354, "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": 16, "Length": 30, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "void", "frv_init_cumulative_args", "(", "CUMULATIVE_ARGS", "*", "cum", ",", "tree", "fntype", ",", "rtx", "libname", ",", "tree", "fndecl", ",", "int", "incoming", ")", "{", "*", "cum", "=", "FIRST_ARG_REGNUM", ";", "if", "(", "TARGET_DEBUG_ARG", ")", "{", "fprintf", "(", "stderr", ",", "\"\\ninit_cumulative_args:\"", ")", ";", "if", "(", "!", "fndecl", "&&", "fntype", ")", "fputs", "(", "\" indirect\"", ",", "stderr", ")", ";", "if", "(", "incoming", ")", "fputs", "(", "\" incoming\"", ",", "stderr", ")", ";", "if", "(", "fntype", ")", "{", "tree", "ret_type", "=", "TREE_TYPE", "(", "fntype", ")", ";", "fprintf", "(", "stderr", ",", "\" return=%s,\"", ",", "get_tree_code_name", "(", "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": ["A", "C", "statement", "(", "sans", "semicolon", ")", "for", "initializing", "the", "variable", "CUM", "for", "the", "state", "at", "the", "beginning", "of", "the", "argument", "list", ".", "The", "variable", "has", "type", "`", "CUMULATIVE_ARGS", "'", ".", "The", "value", "of", "FNTYPE", "is", "the", "tree", "node", "for", "the", "data", "type", "of", "the", "function", "which", "will", "receive", "the", "args", ",", "or", "0", "if", "the", "args", "are", "to", "a", "compiler", "support", "library", "function", ".", "The", "value", "of", "INDIRECT", "is", "nonzero", "when", "processing", "an", "indirect", "call", ",", "for", "example", "a", "call", "through", "a", "function", "pointer", ".", "The", "value", "of", "INDIRECT", "is", "zero", "for", "a", "call", "to", "an", "explicitly", "named", "function", ",", "a", "library", "function", "call", ",", "or", "when", "`", "INIT_CUMULATIVE_ARGS", "'", "is", "used", "to", "find", "arguments", "for", "the", "function", "being", "compiled", ".", "When", "processing", "a", "call", "to", "a", "compiler", "support", "library", "function", ",", "LIBNAME", "identifies", "which", "one", ".", "It", "is", "a", "`", "symbol_ref", "'", "rtx", "which", "contains", "the", "name", "of", "the", "function", ",", "as", "a", "string", ".", "LIBNAME", "is", "0", "when", "an", "ordinary", "C", "function", "call", "is", "being", "processed", ".", "Thus", ",", "each", "time", "this", "macro", "is", "called", ",", "either", "LIBNAME", "or", "FNTYPE", "is", "nonzero", ",", "but", "never", "both", "of", "them", "at", "once", "."], "TS_V_token": ["frv", "\"\\ninit_cumulative_args:\"", "\" indirect\"", "\" incoming\"", "\" return=%s,\"", "\" libname=%s\"", "0", "\" return-struct\""], "File": "frv", "Func": "frv_init_cumulative_args", "Target": "frv", "Target_Clf": "VLIW", "Compiler_Type": "GCC", "Idx": 17, "Length": 138, "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": 18, "Length": 83, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "void", "dump", "(", ")", "{", "errs", "(", ")", "<<", "\"mprocISelAddressMode \"", "<<", "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": ["mproc", "\"mprocISelAddressMode \"", "0", "\"Base.Reg \"", "\" Base.FrameIndex \"", "\" Disp \"", "\"GV \"", "\" CP \"", "\" Align\"", "\"ES \"", "1", "\" JT\"", "\" Align\""], "File": "mprocISelDAGToDAG", "Func": "dump", "Target": "mproc", "Target_Clf": "Virtual ISA", "Compiler_Type": "LLVM", "Idx": 19, "Length": 173, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "const", "GCNSubtarget", "*", "SITargetLowering", "::", "getSubtarget", "(", ")", "const", "{", "return", "Subtarget", ";", "}", ""], "natrual_language": ["getSubtarget", "-", "Return", "the", "subtarget", "for", "which", "this", "machine", "code", "is", "being", "compiled", "."], "TS_V_token": ["AMDGPU", "SI"], "File": "SIISelLowering (2)3", "Func": "getSubtarget", "Target": "AMDGPU", "Target_Clf": "GPU", "Compiler_Type": "LLVM", "Idx": 20, "Length": 14, "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": 21, "Length": 45, "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": ["RV16K"], "File": "RV16KAsmParser", "Func": "isMem", "Target": "RV16K", "Target_Clf": "Virtual ISA", "Compiler_Type": "LLVM", "Idx": 22, "Length": 11, "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": 23, "Length": 444, "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": 24, "Length": 194, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "void", "PTXRegisterInfo", "::", "eliminateFrameIndex", "(", "MachineBasicBlock", "::", "iterator", "II", ",", "int", "SPAdj", ",", "RegScavenger", "*", "RS", ")", "const", "{", "unsigned", "Index", ";", "MachineInstr", "&", "MI", "=", "*", "II", ";", "llvm_unreachable", "(", "\"FrameIndex should have been previously eliminated!\"", ")", ";", "Index", "=", "0", ";", "while", "(", "!", "MI", ".", "getOperand", "(", "Index", ")", ".", "isFI", "(", ")", ")", "{", "++", "Index", ";", "assert", "(", "Index", "<", "MI", ".", "getNumOperands", "(", ")", "&&", "\"Instr does not have a FrameIndex operand!\"", ")", ";", "}", "int", "FrameIndex", "=", "MI", ".", "getOperand", "(", "Index", ")", ".", "getIndex", "(", ")", ";", "DEBUG", "(", "dbgs", "(", ")", "<<", "\"eliminateFrameIndex: \"", "<<", "MI", ")", ";", "DEBUG", "(", "dbgs", "(", ")", "<<", "\"- SPAdj: \"", "<<", "SPAdj", "<<", "\"\\n\"", ")", ";", "DEBUG", "(", "dbgs", "(", ")", "<<", "\"- FrameIndex: \"", "<<", "FrameIndex", "<<", "\"\\n\"", ")", ";", "MI", ".", "getOperand", "(", "Index", ")", ".", "ChangeToImmediate", "(", "FrameIndex", ")", ";", "}", ""], "natrual_language": ["This", "method", "must", "be", "overriden", "to", "eliminate", "abstract", "frame", "indices", "from", "instructions", "which", "may", "use", "them", "."], "TS_V_token": ["PTX", "PTX", "\"FrameIndex should have been previously eliminated!\"", "0", "\"Instr does not have a FrameIndex operand!\"", "\"eliminateFrameIndex: \"", "\"- SPAdj: \"", "\"\\n\"", "\"- FrameIndex: \"", "\"\\n\""], "File": "PTXRegisterInfo2", "Func": "eliminateFrameIndex", "Target": "PTX", "Target_Clf": "GPU", "Compiler_Type": "LLVM", "Idx": 25, "Length": 134, "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": 26, "Length": 15, "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": 27, "Length": 234, "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": 28, "Length": 53, "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": 29, "Length": 19, "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": 30, "Length": 325, "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": 31, "Length": 19, "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": 32, "Length": 142, "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": 33, "Length": 299, "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": 34, "Length": 58, "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": 35, "Length": 264, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "void", "FPGATTIImpl", "::", "getUnrollingPreferences", "(", "Loop", "*", "L", ",", "ScalarEvolution", "&", "SE", ",", "TTI", "::", "UnrollingPreferences", "&", "UP", ")", "{", "UP", ".", "Threshold", "=", "0", ";", "UP", ".", "PartialThreshold", "=", "0", ";", "UP", ".", "Count", "=", "1", ";", "UP", ".", "MaxCount", "=", "1", ";", "UP", ".", "FullUnrollMaxCount", "=", "1", ";", "UP", ".", "Partial", "=", "false", ";", "UP", ".", "Runtime", "=", "false", ";", "UP", ".", "AllowRemainder", "=", "false", ";", "}", ""], "natrual_language": ["Get", "target-customized", "preferences", "for", "the", "generic", "loop", "unrolling", "transformation", "."], "TS_V_token": ["FPGA", "FPGA", "0", "0", "1", "1", "1"], "File": "FPGATargetTransformInfo", "Func": "getUnrollingPreferences", "Target": "FPGA", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 36, "Length": 69, "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": 37, "Length": 12, "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": ["Teak"], "File": "TeakAsmParser", "Func": "isImm", "Target": "Teak", "Target_Clf": "DSP", "Compiler_Type": "LLVM", "Idx": 38, "Length": 13, "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": 39, "Length": 176, "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": 40, "Length": 36, "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", ")", ")", "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": "aarch64", "Func": "aarch64_classify_symbol", "Target": "aarch64", "Target_Clf": "CPU", "Compiler_Type": "GCC", "Idx": 41, "Length": 260, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "static", "inline", "bool", "is_reverse_perm_mask", "(", "const", "struct", "expand_vec_perm_d", "&", "d", ")", "{", "for", "(", "int", "i", "=", "0", ";", "i", "<", "d", ".", "nelt", ";", "i", "++", ")", "if", "(", "d", ".", "perm", "[", "i", "]", "!=", "d", ".", "nelt", "-", "i", "-", "1", ")", "return", "false", ";", "return", "true", ";", "}", ""], "natrual_language": ["Helper", "that", "checks", "if", "a", "vector", "permutation", "mask", "D", "represents", "a", "reversal", "of", "the", "vector", "'s", "elements", "."], "TS_V_token": ["s390", "0", "1"], "File": "s3901", "Func": "is_reverse_perm_mask", "Target": "s390", "Target_Clf": "MPU", "Compiler_Type": "GCC", "Idx": 42, "Length": 52, "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", ".", "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": "AArch64ISelLowering117", "Func": "emitStoreConditional", "Target": "AArch64", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 43, "Length": 254, "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": 44, "Length": 39, "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": 45, "Length": 149, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "SDValue", "WebAssemblyTargetLowering", "::", "LowerFormalArguments", "(", "SDValue", "Chain", ",", "CallingConv", "::", "ID", "CallConv", ",", "bool", "IsVarArg", ",", "const", "SmallVectorImpl", "<", "ISD", "::", "InputArg", ">", "&", "Ins", ",", "const", "SDLoc", "&", "DL", ",", "SelectionDAG", "&", "DAG", ",", "SmallVectorImpl", "<", "SDValue", ">", "&", "InVals", ")", "const", "{", "if", "(", "!", "CallingConvSupported", "(", "CallConv", ")", ")", "fail", "(", "DL", ",", "DAG", ",", "\"WebAssembly doesn't support non-C calling conventions\"", ")", ";", "MachineFunction", "&", "MF", "=", "DAG", ".", "getMachineFunction", "(", ")", ";", "auto", "*", "MFI", "=", "MF", ".", "getInfo", "<", "WebAssemblyFunctionInfo", ">", "(", ")", ";", "MF", ".", "getRegInfo", "(", ")", ".", "addLiveIn", "(", "WebAssembly", "::", "ARGUMENTS", ")", ";", "for", "(", "const", "ISD", "::", "InputArg", "&", "In", ":", "Ins", ")", "{", "if", "(", "In", ".", "Flags", ".", "isInAlloca", "(", ")", ")", "fail", "(", "DL", ",", "DAG", ",", "\"WebAssembly hasn't implemented inalloca arguments\"", ")", ";", "if", "(", "In", ".", "Flags", ".", "isNest", "(", ")", ")", "fail", "(", "DL", ",", "DAG", ",", "\"WebAssembly hasn't implemented nest arguments\"", ")", ";", "if", "(", "In", ".", "Flags", ".", "isInConsecutiveRegs", "(", ")", ")", "fail", "(", "DL", ",", "DAG", ",", "\"WebAssembly hasn't implemented cons regs arguments\"", ")", ";", "if", "(", "In", ".", "Flags", ".", "isInConsecutiveRegsLast", "(", ")", ")", "fail", "(", "DL", ",", "DAG", ",", "\"WebAssembly hasn't implemented cons regs last arguments\"", ")", ";", "InVals", ".", "push_back", "(", "In", ".", "Used", "?", "DAG", ".", "getNode", "(", "WebAssemblyISD", "::", "ARGUMENT", ",", "DL", ",", "In", ".", "VT", ",", "DAG", ".", "getTargetConstant", "(", "InVals", ".", "size", "(", ")", ",", "DL", ",", "MVT", "::", "i32", ")", ")", ":", "DAG", ".", "getUNDEF", "(", "In", ".", "VT", ")", ")", ";", "MFI", "->", "addParam", "(", "In", ".", "VT", ")", ";", "}", "if", "(", "IsVarArg", ")", "{", "MVT", "PtrVT", "=", "getPointerTy", "(", "MF", ".", "getDataLayout", "(", ")", ")", ";", "unsigned", "VarargVreg", "=", "MF", ".", "getRegInfo", "(", ")", ".", "createVirtualRegister", "(", "getRegClassFor", "(", "PtrVT", ")", ")", ";", "MFI", "->", "setVarargBufferVreg", "(", "VarargVreg", ")", ";", "Chain", "=", "DAG", ".", "getCopyToReg", "(", "Chain", ",", "DL", ",", "VarargVreg", ",", "DAG", ".", "getNode", "(", "WebAssemblyISD", "::", "ARGUMENT", ",", "DL", ",", "PtrVT", ",", "DAG", ".", "getTargetConstant", "(", "Ins", ".", "size", "(", ")", ",", "DL", ",", "MVT", "::", "i32", ")", ")", ")", ";", "MFI", "->", "addParam", "(", "PtrVT", ")", ";", "}", "SmallVector", "<", "MVT", ",", "4", ">", "Params", ";", "SmallVector", "<", "MVT", ",", "4", ">", "Results", ";", "ComputeSignatureVTs", "(", "MF", ".", "getFunction", "(", ")", ",", "DAG", ".", "getTarget", "(", ")", ",", "Params", ",", "Results", ")", ";", "for", "(", "MVT", "VT", ":", "Results", ")", "MFI", "->", "addResult", "(", "VT", ")", ";", "return", "Chain", ";", "}", ""], "natrual_language": ["This", "hook", "must", "be", "implemented", "to", "lower", "the", "incoming", "(", "formal", ")", "arguments", ",", "described", "by", "the", "Ins", "array", ",", "into", "the", "specified", "DAG", "."], "TS_V_token": ["WebAssembly", "WebAssembly", "ISD::InputArg", "\"WebAssembly doesn't support non-C calling conventions\"", "WebAssembly", "WebAssembly::ARGUMENTS", "ISD::InputArg", "\"WebAssembly hasn't implemented inalloca arguments\"", "\"WebAssembly hasn't implemented nest arguments\"", "\"WebAssembly hasn't implemented cons regs arguments\"", "\"WebAssembly hasn't implemented cons regs last arguments\"", "WebAssemblyISD::ARGUMENT", "MVT::i32", "WebAssemblyISD::ARGUMENT", "MVT::i32", "4", "4"], "File": "WebAssemblyISelLowering", "Func": "LowerFormalArguments", "Target": "WebAssembly", "Target_Clf": "Virtual ISA", "Compiler_Type": "LLVM", "Idx": 46, "Length": 390, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "bool", "AMDGPUAsmPrinter", "::", "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", ";", "}", "}", "AMDGPUInstPrinter", "::", "printRegOperand", "(", "MI", "->", "getOperand", "(", "OpNo", ")", ".", "getReg", "(", ")", ",", "O", ",", "*", "TM", ".", "getSubtargetImpl", "(", "*", "MF", "->", "getFunction", "(", ")", ")", "->", "getRegisterInfo", "(", ")", ")", ";", "return", "false", ";", "}", ""], "natrual_language": ["PrintAsmOperand", "-", "Print", "out", "an", "operand", "for", "an", "inline", "asm", "expression", "."], "TS_V_token": ["R600", "0", "1", "0", "0"], "File": "AMDGPUAsmPrinter29", "Func": "PrintAsmOperand", "Target": "R600", "Target_Clf": "GPU", "Compiler_Type": "LLVM", "Idx": 47, "Length": 120, "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": 48, "Length": 122, "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": 49, "Length": 11, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "static", "void", "arc_internal_label", "(", "FILE", "*", "stream", ",", "const", "char", "*", "prefix", ",", "unsigned", "long", "labelno", ")", "{", "if", "(", "cfun", ")", "arc_ccfsm_at_label", "(", "prefix", ",", "labelno", ",", "&", "arc_ccfsm_current", ")", ";", "default_internal_label", "(", "stream", ",", "prefix", ",", "labelno", ")", ";", "}", ""], "natrual_language": ["This", "is", "how", "to", "output", "a", "definition", "of", "an", "internal", "numbered", "label", "where", "PREFIX", "is", "the", "class", "of", "label", "and", "NUM", "is", "the", "number", "within", "the", "class", "."], "TS_V_token": ["arc"], "File": "arc", "Func": "arc_internal_label", "Target": "arc", "Target_Clf": "MPU", "Compiler_Type": "GCC", "Idx": 50, "Length": 42, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "short", "PIC16DbgInfo", "::", "getClass", "(", "DIGlobalVariable", "DIGV", ")", "{", "short", "ClassNo", ";", "if", "(", "PAN", "::", "isLocalName", "(", "DIGV", ".", "getGlobal", "(", ")", "->", "getName", "(", ")", ")", ")", "{", "ClassNo", "=", "PIC16Dbg", "::", "C_STAT", ";", "}", "else", "if", "(", "DIGV", ".", "isLocalToUnit", "(", ")", ")", "ClassNo", "=", "PIC16Dbg", "::", "C_STAT", ";", "else", "ClassNo", "=", "PIC16Dbg", "::", "C_EXT", ";", "return", "ClassNo", ";", "}", ""], "natrual_language": ["Get", "the", "class", "with", "the", "specified", "name", "."], "TS_V_token": ["PIC16", "PIC16", "PIC16Dbg::C_STAT", "PIC16Dbg::C_STAT", "PIC16Dbg::C_EXT"], "File": "PIC16DebugInfo3", "Func": "getClass", "Target": "PIC16", "Target_Clf": "MPU", "Compiler_Type": "LLVM", "Idx": 51, "Length": 63, "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": 52, "Length": 96, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "static", "void", "eco32_compute_frame", "(", "void", ")", "{", "int", "regno", ";", "int", "args_size", ";", "int", "pretend_args_size", ";", "args_size", "=", "(", "ACCUMULATE_OUTGOING_ARGS", "?", "crtl", "->", "outgoing_args_size", ":", "0", ")", ";", "pretend_args_size", "=", "crtl", "->", "args", ".", "pretend_args_size", ";", "if", "(", "pretend_args_size", ">", "0", ")", "{", "cfun", "->", "machine", "->", "pretend_size", "=", "pretend_args_size", ";", "}", "cfun", "->", "machine", "->", "fp_needed", "=", "FALSE", ";", "if", "(", "eco32_frame_pointer_required", "(", ")", ")", "cfun", "->", "machine", "->", "fp_needed", "=", "TRUE", ";", "cfun", "->", "machine", "->", "local_vars_size", "=", "get_frame_size", "(", ")", ";", "cfun", "->", "machine", "->", "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", "->", "saved_reg_size", "+=", "ECO32_REG_SIZE", ";", "if", "(", "!", "crtl", "->", "is_leaf", ")", "{", "cfun", "->", "machine", "->", "save_ret", "=", "1", ";", "}", "cfun", "->", "machine", "->", "sp_fp_offset", "=", "args_size", "+", "cfun", "->", "machine", "->", "saved_reg_size", "+", "(", "cfun", "->", "machine", "->", "save_ret", "?", "ECO32_REG_SIZE", ":", "0", ")", ";", "cfun", "->", "machine", "->", "size_for_adjusting_sp", "=", "cfun", "->", "machine", "->", "local_vars_size", "+", "cfun", "->", "machine", "->", "saved_reg_size", "+", "(", "cfun", "->", "machine", "->", "save_ret", "?", "ECO32_REG_SIZE", ":", "0", ")", "+", "args_size", ";", "}", ""], "natrual_language": ["Compute", "the", "size", "of", "the", "local", "area", "and", "the", "size", "to", "be", "adjusted", "by", "the", "prologue", "and", "epilogue", "."], "TS_V_token": ["eco32", "0", "0", "0", "0", "1", "0", "0"], "File": "eco32", "Func": "eco32_compute_frame", "Target": "eco32", "Target_Clf": "MPU", "Compiler_Type": "GCC", "Idx": 53, "Length": 204, "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": 54, "Length": 382, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "MSP430Subtarget", "&", "MSP430Subtarget", "::", "initializeSubtargetDependencies", "(", "StringRef", "CPU", ",", "StringRef", "FS", ")", "{", "ExtendedInsts", "=", "false", ";", "HWMultMode", "=", "NoHWMult", ";", "std", "::", "string", "CPUName", "=", "CPU", ";", "if", "(", "CPUName", ".", "empty", "(", ")", ")", "CPUName", "=", "\"msp430\"", ";", "ParseSubtargetFeatures", "(", "CPUName", ",", "FS", ")", ";", "if", "(", "HWMultModeOption", "!=", "NoHWMult", ")", "HWMultMode", "=", "HWMultModeOption", ";", "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": ["MSP430", "MSP430", "MSP430", "\"msp430\""], "File": "MSP430Subtarget18", "Func": "initializeSubtargetDependencies", "Target": "MSP430", "Target_Clf": "MPU", "Compiler_Type": "LLVM", "Idx": 55, "Length": 62, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "void", "AAPRegisterInfo", "::", "eliminateFrameIndex", "(", "MachineBasicBlock", "::", "iterator", "MBBI", ",", "int", "SPAdj", ",", "unsigned", "FIOperandNum", ",", "RegScavenger", "*", "RS", ")", "const", "{", "MachineInstr", "&", "MI", "=", "*", "MBBI", ";", "MachineBasicBlock", "&", "MBB", "=", "*", "MI", ".", "getParent", "(", ")", ";", "MachineFunction", "&", "MF", "=", "*", "MBB", ".", "getParent", "(", ")", ";", "const", "TargetFrameLowering", "*", "TFI", "=", "MF", ".", "getSubtarget", "(", ")", ".", "getFrameLowering", "(", ")", ";", "DebugLoc", "DL", "=", "MI", ".", "getDebugLoc", "(", ")", ";", "unsigned", "i", "=", "0", ";", "while", "(", "!", "MI", ".", "getOperand", "(", "i", ")", ".", "isFI", "(", ")", ")", "{", "++", "i", ";", "assert", "(", "i", "<", "MI", ".", "getNumOperands", "(", ")", "&&", "\"Instr does not have a Frame Index operand!\"", ")", ";", "}", "int", "FrameIdx", "=", "MI", ".", "getOperand", "(", "i", ")", ".", "getIndex", "(", ")", ";", "unsigned", "BaseReg", "=", "getFrameRegister", "(", "MF", ")", ";", "int", "Offset", "=", "MF", ".", "getFrameInfo", "(", ")", ".", "getObjectOffset", "(", "FrameIdx", ")", ";", "if", "(", "!", "TFI", "->", "hasFP", "(", "MF", ")", ")", "{", "Offset", "+=", "MF", ".", "getFrameInfo", "(", ")", ".", "getStackSize", "(", ")", ";", "}", "Offset", "+=", "MI", ".", "getOperand", "(", "i", "+", "1", ")", ".", "getImm", "(", ")", ";", "if", "(", "MI", ".", "getOpcode", "(", ")", "==", "AAP", "::", "LEA", ")", "{", "const", "TargetInstrInfo", "*", "TII", "=", "MF", ".", "getSubtarget", "(", ")", ".", "getInstrInfo", "(", ")", ";", "unsigned", "DstReg", "=", "MI", ".", "getOperand", "(", "0", ")", ".", "getReg", "(", ")", ";", "assert", "(", "(", "(", "Offset", ">=", "-", "1023", ")", "||", "(", "Offset", "<=", "1023", ")", ")", "&&", "\"Currently LEA immediates must be in the range [-1023, 1023]\"", ")", ";", "if", "(", "Offset", ">", "0", ")", "{", "BuildMI", "(", "MBB", ",", "&", "MI", ",", "DL", ",", "TII", "->", "get", "(", "AAP", "::", "ADDI_i10", ")", ",", "DstReg", ")", ".", "addReg", "(", "BaseReg", ")", ".", "addImm", "(", "Offset", ")", ";", "}", "else", "if", "(", "Offset", "<", "0", ")", "{", "BuildMI", "(", "MBB", ",", "&", "MI", ",", "DL", ",", "TII", "->", "get", "(", "AAP", "::", "SUBI_i10", ")", ",", "DstReg", ")", ".", "addReg", "(", "BaseReg", ")", ".", "addImm", "(", "-", "Offset", ")", ";", "}", "else", "{", "BuildMI", "(", "MBB", ",", "&", "MI", ",", "DL", ",", "TII", "->", "get", "(", "AAP", "::", "MOV_r", ")", ",", "DstReg", ")", ".", "addReg", "(", "BaseReg", ")", ";", "}", "MI", ".", "eraseFromParent", "(", ")", ";", "}", "else", "{", "MI", ".", "getOperand", "(", "i", ")", ".", "ChangeToRegister", "(", "BaseReg", ",", "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": ["AAP", "AAP", "0", "\"Instr does not have a Frame Index operand!\"", "1", "AAP::LEA", "0", "1023", "1023", "\"Currently LEA immediates must be in the range [-1023, 1023]\"", "0", "AAP::ADDI_i10", "0", "AAP::SUBI_i10", "AAP::MOV_r", "1"], "File": "AAPRegisterInfo", "Func": "eliminateFrameIndex", "Target": "AAP", "Target_Clf": "MPU", "Compiler_Type": "LLVM", "Idx": 56, "Length": 397, "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": 57, "Length": 197, "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": "PPCTargetObjectFile", "Func": "getDebugThreadLocalSymbol", "Target": "PowerPC", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 58, "Length": 58, "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": 59, "Length": 17, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "bool", "mips_cfun_has_cprestore_slot_p", "(", "void", ")", "{", "return", "(", "cfun", "->", "machine", "->", "global_pointer", "!=", "INVALID_REGNUM", "&&", "cfun", "->", "machine", "->", "frame", ".", "cprestore_size", ">", "0", ")", ";", "}", ""], "natrual_language": ["Return", "true", "if", "the", "current", "function", "has", "a", "cprestore", "slot", "."], "TS_V_token": ["mips", "0"], "File": "mips", "Func": "mips_cfun_has_cprestore_slot_p", "Target": "mips", "Target_Clf": "CPU", "Compiler_Type": "GCC", "Idx": 60, "Length": 28, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "void", "NVPTXPassConfig", "::", "addIRPasses", "(", ")", "{", "disablePass", "(", "&", "PrologEpilogCodeInserterID", ")", ";", "disablePass", "(", "&", "MachineCopyPropagationID", ")", ";", "disablePass", "(", "&", "BranchFolderPassID", ")", ";", "disablePass", "(", "&", "TailDuplicateID", ")", ";", "addPass", "(", "createNVPTXImageOptimizerPass", "(", ")", ")", ";", "TargetPassConfig", "::", "addIRPasses", "(", ")", ";", "addPass", "(", "createNVPTXAssignValidGlobalNamesPass", "(", ")", ")", ";", "addPass", "(", "createGenericToNVVMPass", "(", ")", ")", ";", "addPass", "(", "createNVPTXLowerKernelArgsPass", "(", "&", "getNVPTXTargetMachine", "(", ")", ")", ")", ";", "addPass", "(", "createNVPTXFavorNonGenericAddrSpacesPass", "(", ")", ")", ";", "addPass", "(", "createDeadCodeEliminationPass", "(", ")", ")", ";", "addPass", "(", "createSeparateConstOffsetFromGEPPass", "(", ")", ")", ";", "addPass", "(", "createStraightLineStrengthReducePass", "(", ")", ")", ";", "if", "(", "getOptLevel", "(", ")", "==", "CodeGenOpt", "::", "Aggressive", ")", "addPass", "(", "createGVNPass", "(", ")", ")", ";", "else", "addPass", "(", "createEarlyCSEPass", "(", ")", ")", ";", "addPass", "(", "createNaryReassociatePass", "(", ")", ")", ";", "addPass", "(", "createEarlyCSEPass", "(", ")", ")", ";", "}", ""], "natrual_language": ["Add", "common", "target", "configurable", "passes", "that", "perform", "LLVM", "IR", "to", "IR", "transforms", "following", "machine", "independent", "optimization", "."], "TS_V_token": ["NVPTX", "NVPTX", "NVPTX", "NVPTX", "NVPTX", "NVPTX", "NVPTX"], "File": "NVPTXTargetMachine42", "Func": "addIRPasses", "Target": "NVPTX", "Target_Clf": "GPU", "Compiler_Type": "LLVM", "Idx": 61, "Length": 137, "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": 62, "Length": 31, "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": 63, "Length": 11, "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": 64, "Length": 209, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "bool", "RV16KAsmParser", "::", "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", "=", "(", "(", "RV16KOperand", "&", ")", "*", "Operands", "[", "ErrorInfo", "]", ")", ".", "getStartLoc", "(", ")", ";", "if", "(", "ErrorLoc", "==", "SMLoc", "(", ")", ")", "ErrorLoc", "=", "IDLoc", ";", "}", "return", "Error", "(", "ErrorLoc", ",", "\"invalid operand for instruction\"", ")", ";", "}", "}", "RV16KOperand", "&", "Operand", "=", "(", "RV16KOperand", "&", ")", "*", "Operands", "[", "ErrorInfo", "]", ";", "if", "(", "!", "Operand", ".", "isImm", "(", ")", ")", "return", "Error", "(", "Operand", ".", "getStartLoc", "(", ")", ",", "\"invalid operand for instruction\"", ")", ";", "switch", "(", "Res", ")", "{", "case", "Match_InvalidSImm4", ":", "return", "generateImmOutOfRangeError", "(", "Operands", ",", "ErrorInfo", ",", "-", "(", "1", "<<", "3", ")", ",", "(", "1", "<<", "3", ")", "-", "1", ")", ";", "case", "Match_InvalidSImm8Lsb0", ":", "return", "generateImmOutOfRangeError", "(", "Operands", ",", "ErrorInfo", ",", "-", "(", "1", "<<", "7", ")", ",", "(", "1", "<<", "7", ")", "-", "2", ",", "\"immediate must be a multiple of 2 bytes in the range\"", ")", ";", "case", "Match_InvalidUImm9Lsb0", ":", "return", "generateImmOutOfRangeError", "(", "Operands", ",", "ErrorInfo", ",", "0", ",", "(", "1", "<<", "9", ")", "-", "2", ",", "\"immediate must be a multiple of 2 bytes in the range\"", ")", ";", "case", "Match_InvalidSImm16", ":", "return", "generateImmOutOfRangeError", "(", "Operands", ",", "ErrorInfo", ",", "-", "(", "1", "<<", "15", ")", ",", "(", "1", "<<", "15", ")", "-", "1", ")", ";", "case", "Match_InvalidSImm16Lsb0", ":", "return", "generateImmOutOfRangeError", "(", "Operands", ",", "ErrorInfo", ",", "-", "(", "1", "<<", "15", ")", ",", "(", "1", "<<", "15", ")", "-", "2", ",", "\"immediate must be a multiple of 2 bytes 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": ["RV16K", "RV16K", "\"instruction use requires an option to be enabled\"", "\"unrecognized instruction mnemonic\"", "0U", "\"too few operands for instruction\"", "RV16K", "\"invalid operand for instruction\"", "RV16K", "RV16K", "\"invalid operand for instruction\"", "1", "3", "1", "3", "1", "1", "7", "1", "7", "2", "\"immediate must be a multiple of 2 bytes in the range\"", "0", "1", "9", "2", "\"immediate must be a multiple of 2 bytes in the range\"", "1", "15", "1", "15", "1", "1", "15", "1", "15", "2", "\"immediate must be a multiple of 2 bytes in the range\"", "\"Unknown match type detected!\""], "File": "RV16KAsmParser", "Func": "MatchAndEmitInstruction", "Target": "RV16K", "Target_Clf": "Virtual ISA", "Compiler_Type": "LLVM", "Idx": 65, "Length": 354, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "static", "void", "mcore_reorg", "(", "void", ")", "{", "current_function_anonymous_args", "=", "0", ";", "if", "(", "optimize", "==", "0", ")", "return", ";", "conditionalize_optimization", "(", ")", ";", "}", ""], "natrual_language": ["This", "is", "to", "handle", "loads", "from", "the", "constant", "pool", "."], "TS_V_token": ["mcore", "0", "0"], "File": "mcore", "Func": "mcore_reorg", "Target": "mcore", "Target_Clf": "MPU", "Compiler_Type": "GCC", "Idx": 66, "Length": 24, "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": 67, "Length": 20, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "void", "SPUInstrInfo", "::", "storeRegToStackSlot", "(", "MachineBasicBlock", "&", "MBB", ",", "MachineBasicBlock", "::", "iterator", "MI", ",", "unsigned", "SrcReg", ",", "bool", "isKill", ",", "int", "FrameIdx", ",", "const", "TargetRegisterClass", "*", "RC", ",", "const", "TargetRegisterInfo", "*", "TRI", ")", "const", "{", "unsigned", "opc", ";", "bool", "isValidFrameIdx", "=", "(", "FrameIdx", "<", "SPUFrameLowering", "::", "maxFrameOffset", "(", ")", ")", ";", "if", "(", "RC", "==", "&", "SPU", "::", "GPRCRegClass", ")", "opc", "=", "isValidFrameIdx", "?", "SPU", "::", "STQDr128", ":", "SPU", "::", "STQXr128", ";", "else", "if", "(", "RC", "==", "&", "SPU", "::", "R64CRegClass", ")", "opc", "=", "isValidFrameIdx", "?", "SPU", "::", "STQDr64", ":", "SPU", "::", "STQXr64", ";", "else", "if", "(", "RC", "==", "&", "SPU", "::", "R64FPRegClass", ")", "opc", "=", "isValidFrameIdx", "?", "SPU", "::", "STQDr64", ":", "SPU", "::", "STQXr64", ";", "else", "if", "(", "RC", "==", "&", "SPU", "::", "R32CRegClass", ")", "opc", "=", "isValidFrameIdx", "?", "SPU", "::", "STQDr32", ":", "SPU", "::", "STQXr32", ";", "else", "if", "(", "RC", "==", "&", "SPU", "::", "R32FPRegClass", ")", "opc", "=", "isValidFrameIdx", "?", "SPU", "::", "STQDr32", ":", "SPU", "::", "STQXr32", ";", "else", "if", "(", "RC", "==", "&", "SPU", "::", "R16CRegClass", ")", "opc", "=", "isValidFrameIdx", "?", "SPU", "::", "STQDr16", ":", "SPU", "::", "STQXr16", ";", "else", "if", "(", "RC", "==", "&", "SPU", "::", "R8CRegClass", ")", "opc", "=", "isValidFrameIdx", "?", "SPU", "::", "STQDr8", ":", "SPU", "::", "STQXr8", ";", "else", "if", "(", "RC", "==", "&", "SPU", "::", "VECREGRegClass", ")", "opc", "=", "isValidFrameIdx", "?", "SPU", "::", "STQDv16i8", ":", "SPU", "::", "STQXv16i8", ";", "else", "llvm_unreachable", "(", "\"Unknown regclass!\"", ")", ";", "DebugLoc", "DL", ";", "if", "(", "MI", "!=", "MBB", ".", "end", "(", ")", ")", "DL", "=", "MI", "->", "getDebugLoc", "(", ")", ";", "addFrameReference", "(", "BuildMI", "(", "MBB", ",", "MI", ",", "DL", ",", "get", "(", "opc", ")", ")", ".", "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": ["CellSPU", "SPU", "SPU", "SPU::GPRCRegClass", "SPU::STQDr128", "SPU::STQXr128", "SPU::R64CRegClass", "SPU::STQDr64", "SPU::STQXr64", "SPU::R64FPRegClass", "SPU::STQDr64", "SPU::STQXr64", "SPU::R32CRegClass", "SPU::STQDr32", "SPU::STQXr32", "SPU::R32FPRegClass", "SPU::STQDr32", "SPU::STQXr32", "SPU::R16CRegClass", "SPU::STQDr16", "SPU::STQXr16", "SPU::R8CRegClass", "SPU::STQDr8", "SPU::STQXr8", "SPU::VECREGRegClass", "SPU::STQDv16i8", "SPU::STQXv16i8", "\"Unknown regclass!\""], "File": "SPUInstrInfo1", "Func": "storeRegToStackSlot", "Target": "CellSPU", "Target_Clf": "MPU", "Compiler_Type": "LLVM", "Idx": 68, "Length": 283, "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": 69, "Length": 12, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "bool", "HexagonPassConfig", "::", "addInstSelector", "(", ")", "{", "HexagonTargetMachine", "&", "TM", "=", "getHexagonTargetMachine", "(", ")", ";", "bool", "NoOpt", "=", "(", "getOptLevel", "(", ")", "==", "CodeGenOpt", "::", "None", ")", ";", "if", "(", "!", "NoOpt", ")", "addPass", "(", "createHexagonOptimizeSZextends", "(", ")", ")", ";", "addPass", "(", "createHexagonISelDag", "(", "TM", ",", "getOptLevel", "(", ")", ")", ")", ";", "if", "(", "!", "NoOpt", ")", "{", "if", "(", "EnableGenPred", ")", "addPass", "(", "createHexagonGenPredicate", "(", ")", ",", "false", ")", ";", "if", "(", "EnableLoopResched", ")", "addPass", "(", "createHexagonLoopRescheduling", "(", ")", ",", "false", ")", ";", "if", "(", "!", "DisableHSDR", ")", "addPass", "(", "createHexagonSplitDoubleRegs", "(", ")", ")", ";", "if", "(", "EnableBitSimplify", ")", "addPass", "(", "createHexagonBitSimplify", "(", ")", ",", "false", ")", ";", "addPass", "(", "createHexagonPeephole", "(", ")", ")", ";", "printAndVerify", "(", "\"After hexagon peephole pass\"", ")", ";", "if", "(", "!", "DisableHCP", ")", "{", "addPass", "(", "createHexagonConstPropagationPass", "(", ")", ",", "false", ")", ";", "addPass", "(", "&", "UnreachableMachineBlockElimID", ",", "false", ")", ";", "}", "if", "(", "EnableGenInsert", ")", "addPass", "(", "createHexagonGenInsert", "(", ")", ",", "false", ")", ";", "if", "(", "EnableEarlyIf", ")", "addPass", "(", "createHexagonEarlyIfConversion", "(", ")", ",", "false", ")", ";", "}", "return", "false", ";", "}", ""], "natrual_language": ["addInstSelector", "-", "This", "method", "should", "install", "an", "instruction", "selector", "pass", ",", "which", "converts", "from", "LLVM", "code", "to", "machine", "instructions", "."], "TS_V_token": ["Hexagon", "Hexagon", "Hexagon", "Hexagon", "Hexagon", "Hexagon", "Hexagon", "Hexagon", "Hexagon", "Hexagon", "Hexagon", "\"After hexagon peephole pass\"", "Hexagon", "Hexagon", "Hexagon"], "File": "HexagonTargetMachine29", "Func": "addInstSelector", "Target": "Hexagon", "Target_Clf": "DSP", "Compiler_Type": "LLVM", "Idx": 70, "Length": 176, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "bool", "cr16_is_data_model", "(", "enum", "data_model_type", "model", ")", "{", "return", "(", "model", "==", "data_model", ")", ";", "}", ""], "natrual_language": ["Returns", "true", "if", "data", "model", "selected", "via", "command", "line", "option", "is", "same", "as", "function", "argument", "."], "TS_V_token": ["cr16"], "File": "cr16", "Func": "cr16_is_data_model", "Target": "cr16", "Target_Clf": "MPU", "Compiler_Type": "GCC", "Idx": 71, "Length": 16, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "void", "alpha_split_atomic_op", "(", "enum", "rtx_code", "code", ",", "rtx", "mem", ",", "rtx", "val", ",", "rtx", "before", ",", "rtx", "after", ",", "rtx", "scratch", ",", "enum", "memmodel", "model", ")", "{", "machine_mode", "mode", "=", "GET_MODE", "(", "mem", ")", ";", "rtx", "label", ",", "x", ",", "cond", "=", "gen_rtx_REG", "(", "DImode", ",", "REGNO", "(", "scratch", ")", ")", ";", "alpha_pre_atomic_barrier", "(", "model", ")", ";", "label", "=", "gen_label_rtx", "(", ")", ";", "emit_label", "(", "label", ")", ";", "label", "=", "gen_rtx_LABEL_REF", "(", "DImode", ",", "label", ")", ";", "if", "(", "before", "==", "NULL", ")", "before", "=", "scratch", ";", "emit_load_locked", "(", "mode", ",", "before", ",", "mem", ")", ";", "if", "(", "code", "==", "NOT", ")", "{", "x", "=", "gen_rtx_AND", "(", "mode", ",", "before", ",", "val", ")", ";", "emit_insn", "(", "gen_rtx_SET", "(", "val", ",", "x", ")", ")", ";", "x", "=", "gen_rtx_NOT", "(", "mode", ",", "val", ")", ";", "}", "else", "x", "=", "gen_rtx_fmt_ee", "(", "code", ",", "mode", ",", "before", ",", "val", ")", ";", "if", "(", "after", ")", "emit_insn", "(", "gen_rtx_SET", "(", "after", ",", "copy_rtx", "(", "x", ")", ")", ")", ";", "emit_insn", "(", "gen_rtx_SET", "(", "scratch", ",", "x", ")", ")", ";", "emit_store_conditional", "(", "mode", ",", "cond", ",", "mem", ",", "scratch", ")", ";", "x", "=", "gen_rtx_EQ", "(", "DImode", ",", "cond", ",", "const0_rtx", ")", ";", "emit_unlikely_jump", "(", "x", ",", "label", ")", ";", "alpha_post_atomic_barrier", "(", "model", ")", ";", "}", ""], "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": ["alpha"], "File": "alpha5", "Func": "alpha_split_atomic_op", "Target": "alpha", "Target_Clf": "MPU", "Compiler_Type": "GCC", "Idx": 72, "Length": 210, "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": 73, "Length": 197, "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": 74, "Length": 77, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "unsigned", "char", "AArch64Subtarget", "::", "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", "AArch64II", "::", "MO_GOT", ";", "if", "(", "TM", ".", "getCodeModel", "(", ")", "==", "CodeModel", "::", "Small", "&&", "GV", "->", "isWeakForLinker", "(", ")", "&&", "isDecl", ")", "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_GOT", "AArch64II::MO_GOT", "AArch64II::MO_NO_FLAG", "AArch64II::MO_NO_FLAG", "AArch64II::MO_GOT", "AArch64II::MO_NO_FLAG"], "File": "AArch64Subtarget2", "Func": "ClassifyGlobalReference", "Target": "AArch64", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 75, "Length": 159, "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": 76, "Length": 240, "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": 77, "Length": 54, "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": 78, "Length": 395, "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", "(", ")", ")", "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::tADDframe", "ARM::t2ADDri", "0"], "File": "ARMBaseRegisterInfo13", "Func": "materializeFrameBaseRegister", "Target": "ARM", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 79, "Length": 218, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "void", "HexagonInstrInfo", "::", "loadRegFromStackSlot", "(", "MachineBasicBlock", "&", "MBB", ",", "MachineBasicBlock", "::", "iterator", "I", ",", "unsigned", "DestReg", ",", "int", "FI", ",", "const", "TargetRegisterClass", "*", "RC", ",", "const", "TargetRegisterInfo", "*", "TRI", ")", "const", "{", "DebugLoc", "DL", "=", "MBB", ".", "findDebugLoc", "(", "I", ")", ";", "MachineFunction", "&", "MF", "=", "*", "MBB", ".", "getParent", "(", ")", ";", "MachineFrameInfo", "&", "MFI", "=", "*", "MF", ".", "getFrameInfo", "(", ")", ";", "unsigned", "Align", "=", "MFI", ".", "getObjectAlignment", "(", "FI", ")", ";", "MachineMemOperand", "*", "MMO", "=", "MF", ".", "getMachineMemOperand", "(", "MachinePointerInfo", "(", "PseudoSourceValue", "::", "getFixedStack", "(", "FI", ")", ")", ",", "MachineMemOperand", "::", "MOLoad", ",", "MFI", ".", "getObjectSize", "(", "FI", ")", ",", "Align", ")", ";", "if", "(", "RC", "==", "&", "Hexagon", "::", "IntRegsRegClass", ")", "{", "BuildMI", "(", "MBB", ",", "I", ",", "DL", ",", "get", "(", "Hexagon", "::", "LDriw", ")", ",", "DestReg", ")", ".", "addFrameIndex", "(", "FI", ")", ".", "addImm", "(", "0", ")", ".", "addMemOperand", "(", "MMO", ")", ";", "}", "else", "if", "(", "RC", "==", "&", "Hexagon", "::", "DoubleRegsRegClass", ")", "{", "BuildMI", "(", "MBB", ",", "I", ",", "DL", ",", "get", "(", "Hexagon", "::", "LDrid", ")", ",", "DestReg", ")", ".", "addFrameIndex", "(", "FI", ")", ".", "addImm", "(", "0", ")", ".", "addMemOperand", "(", "MMO", ")", ";", "}", "else", "if", "(", "RC", "==", "&", "Hexagon", "::", "PredRegsRegClass", ")", "{", "BuildMI", "(", "MBB", ",", "I", ",", "DL", ",", "get", "(", "Hexagon", "::", "LDriw_pred", ")", ",", "DestReg", ")", ".", "addFrameIndex", "(", "FI", ")", ".", "addImm", "(", "0", ")", ".", "addMemOperand", "(", "MMO", ")", ";", "}", "else", "{", "llvm_unreachable", "(", "\"Can't 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": ["Hexagon", "Hexagon", "Hexagon::IntRegsRegClass", "Hexagon::LDriw", "0", "Hexagon::DoubleRegsRegClass", "Hexagon::LDrid", "0", "Hexagon::PredRegsRegClass", "Hexagon::LDriw_pred", "0", "\"Can't store this register to stack slot\""], "File": "HexagonInstrInfo11", "Func": "loadRegFromStackSlot", "Target": "Hexagon", "Target_Clf": "DSP", "Compiler_Type": "LLVM", "Idx": 80, "Length": 249, "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": 81, "Length": 13, "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": 82, "Length": 92, "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": 83, "Length": 21, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "bool", "PatmosInstrInfo", "::", "findCommutedOpIndices", "(", "MachineInstr", "*", "MI", ",", "unsigned", "&", "SrcOpIdx1", ",", "unsigned", "&", "SrcOpIdx2", ")", "const", "{", "switch", "(", "MI", "->", "getOpcode", "(", ")", ")", "{", "case", "Patmos", "::", "ADDr", ":", "case", "Patmos", "::", "ADDr_ow", ":", "case", "Patmos", "::", "ORr", ":", "case", "Patmos", "::", "ORr_ow", ":", "case", "Patmos", "::", "ANDr", ":", "case", "Patmos", "::", "ANDr_ow", ":", "case", "Patmos", "::", "XORr", ":", "case", "Patmos", "::", "XORr_ow", ":", "case", "Patmos", "::", "NORr", ":", "case", "Patmos", "::", "NORr_ow", ":", "SrcOpIdx1", "=", "3", ";", "SrcOpIdx2", "=", "4", ";", "return", "true", ";", "case", "Patmos", "::", "MUL", ":", "case", "Patmos", "::", "MULU", ":", "SrcOpIdx1", "=", "2", ";", "SrcOpIdx2", "=", "3", ";", "return", "true", ";", "default", ":", "llvm_unreachable", "(", "\"Unexpected commutable machine instruction.\"", ")", ";", "}", "return", "false", ";", "}", ""], "natrual_language": ["Returns", "true", "iff", "the", "routine", "could", "find", "two", "commutable", "operands", "in", "the", "given", "machine", "instruction", "."], "TS_V_token": ["Patmos", "Patmos", "Patmos::ADDr", "Patmos::ADDr_ow", "Patmos::ORr", "Patmos::ORr_ow", "Patmos::ANDr", "Patmos::ANDr_ow", "Patmos::XORr", "Patmos::XORr_ow", "Patmos::NORr", "Patmos::NORr_ow", "3", "4", "Patmos::MUL", "Patmos::MULU", "2", "3", "\"Unexpected commutable machine instruction.\""], "File": "PatmosInstrInfo", "Func": "findCommutedOpIndices", "Target": "Patmos", "Target_Clf": "VLIW", "Compiler_Type": "LLVM", "Idx": 84, "Length": 122, "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": 85, "Length": 193, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "Value", "*", "simplify", "(", "Instruction", "*", "I", ",", "const", "TargetLibraryInfo", "*", "TLI", ",", "const", "DominatorTree", "*", "DT", ")", "{", "return", "SimplifyInstruction", "(", "I", ",", "{", "*", "TD", ",", "TLI", ",", "DT", "}", ")", ";", "}", ""], "natrual_language": ["Go", "through", "all", "the", "nodes", "in", "the", "graph", "and", "collapse", "any", "two", "nodes", "'", "a", "'", "and", "'", "b", "'", "if", "all", "of", "the", "following", "are", "true", ":"], "TS_V_token": ["AMDGPU"], "File": "AMDGPUPrintfRuntimeBinding", "Func": "simplify", "Target": "AMDGPU", "Target_Clf": "GPU", "Compiler_Type": "LLVM", "Idx": 86, "Length": 35, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "BitVector", "MSP430RegisterInfo", "::", "getReservedRegs", "(", "const", "MachineFunction", "&", "MF", ")", "const", "{", "BitVector", "Reserved", "(", "getNumRegs", "(", ")", ")", ";", "const", "TargetFrameLowering", "*", "TFI", "=", "MF", ".", "getTarget", "(", ")", ".", "getFrameLowering", "(", ")", ";", "Reserved", ".", "set", "(", "MSP430", "::", "PCW", ")", ";", "Reserved", ".", "set", "(", "MSP430", "::", "SPW", ")", ";", "Reserved", ".", "set", "(", "MSP430", "::", "SRW", ")", ";", "Reserved", ".", "set", "(", "MSP430", "::", "CGW", ")", ";", "if", "(", "TFI", "->", "hasFP", "(", "MF", ")", ")", "Reserved", ".", "set", "(", "MSP430", "::", "FPW", ")", ";", "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": ["MSP430", "MSP430", "MSP430::PCW", "MSP430::SPW", "MSP430::SRW", "MSP430::CGW", "MSP430::FPW"], "File": "MSP430RegisterInfo2", "Func": "getReservedRegs", "Target": "MSP430", "Target_Clf": "MPU", "Compiler_Type": "LLVM", "Idx": 87, "Length": 93, "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": 88, "Length": 196, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "unsigned", "getNumFixupKinds", "(", ")", "const", "override", "{", "return", "WebAssembly", "::", "NumTargetFixupKinds", ";", "}", ""], "natrual_language": ["Get", "the", "number", "of", "target", "specific", "fixup", "kinds", "."], "TS_V_token": ["WebAssembly", "WebAssembly::NumTargetFixupKinds"], "File": "WebAssemblyAsmBackend", "Func": "getNumFixupKinds", "Target": "WebAssembly", "Target_Clf": "Virtual ISA", "Compiler_Type": "LLVM", "Idx": 89, "Length": 13, "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": 90, "Length": 65, "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": 91, "Length": 273, "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": 92, "Length": 54, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "void", "getAnalysisUsage", "(", "AnalysisUsage", "&", "AU", ")", "const", "override", "{", "AU", ".", "addRequired", "<", "MachineDominatorTree", ">", "(", ")", ";", "AU", ".", "addPreserved", "<", "MachineDominatorTree", ">", "(", ")", ";", "MachineFunctionPass", "::", "getAnalysisUsage", "(", "AU", ")", ";", "}", ""], "natrual_language": ["getAnalysisUsage", "-", "Subclasses", "that", "override", "getAnalysisUsage", "must", "call", "this", "."], "TS_V_token": ["TVM"], "File": "TVMContinuationsHoist", "Func": "getAnalysisUsage", "Target": "TVM", "Target_Clf": "Virtual ISA", "Compiler_Type": "LLVM", "Idx": 93, "Length": 36, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "bool", "MOSNoRecurse", "::", "runOnSCC", "(", "CallGraphSCC", "&", "SCC", ")", "{", "if", "(", "!", "SCC", ".", "isSingular", "(", ")", ")", "return", "false", ";", "const", "CallGraphNode", "&", "N", "=", "*", "*", "SCC", ".", "begin", "(", ")", ";", "if", "(", "!", "N", ".", "getFunction", "(", ")", "||", "N", ".", "getFunction", "(", ")", "->", "isDeclaration", "(", ")", "||", "N", ".", "getFunction", "(", ")", "->", "doesNotRecurse", "(", ")", ")", "return", "false", ";", "if", "(", "callsSelf", "(", "N", ")", ")", "return", "false", ";", "LLVM_DEBUG", "(", "dbgs", "(", ")", "<<", "\"Found new non-recursive function.\\n\"", ")", ";", "LLVM_DEBUG", "(", "N", ".", "print", "(", "dbgs", "(", ")", ")", ")", ";", "N", ".", "getFunction", "(", ")", "->", "setDoesNotRecurse", "(", ")", ";", "return", "true", ";", "}", ""], "natrual_language": ["runOnSCC", "-", "This", "method", "should", "be", "implemented", "by", "the", "subclass", "to", "perform", "whatever", "action", "is", "necessary", "for", "the", "specified", "SCC", "."], "TS_V_token": ["MOS", "MOS", "\"Found new non-recursive function.\\n\""], "File": "MOSNoRecurse", "Func": "runOnSCC", "Target": "MOS", "Target_Clf": "MPU", "Compiler_Type": "LLVM", "Idx": 94, "Length": 112, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "SDValue", "XCoreTargetLowering", "::", "LowerOperation", "(", "SDValue", "Op", ",", "SelectionDAG", "&", "DAG", ")", "{", "switch", "(", "Op", ".", "getOpcode", "(", ")", ")", "{", "case", "ISD", "::", "GlobalAddress", ":", "return", "LowerGlobalAddress", "(", "Op", ",", "DAG", ")", ";", "case", "ISD", "::", "GlobalTLSAddress", ":", "return", "LowerGlobalTLSAddress", "(", "Op", ",", "DAG", ")", ";", "case", "ISD", "::", "BlockAddress", ":", "return", "LowerBlockAddress", "(", "Op", ",", "DAG", ")", ";", "case", "ISD", "::", "ConstantPool", ":", "return", "LowerConstantPool", "(", "Op", ",", "DAG", ")", ";", "case", "ISD", "::", "BR_JT", ":", "return", "LowerBR_JT", "(", "Op", ",", "DAG", ")", ";", "case", "ISD", "::", "LOAD", ":", "return", "LowerLOAD", "(", "Op", ",", "DAG", ")", ";", "case", "ISD", "::", "STORE", ":", "return", "LowerSTORE", "(", "Op", ",", "DAG", ")", ";", "case", "ISD", "::", "SELECT_CC", ":", "return", "LowerSELECT_CC", "(", "Op", ",", "DAG", ")", ";", "case", "ISD", "::", "VAARG", ":", "return", "LowerVAARG", "(", "Op", ",", "DAG", ")", ";", "case", "ISD", "::", "VASTART", ":", "return", "LowerVASTART", "(", "Op", ",", "DAG", ")", ";", "case", "ISD", "::", "ADD", ":", "case", "ISD", "::", "SUB", ":", "return", "ExpandADDSUB", "(", "Op", ".", "getNode", "(", ")", ",", "DAG", ")", ";", "case", "ISD", "::", "FRAMEADDR", ":", "return", "LowerFRAMEADDR", "(", "Op", ",", "DAG", ")", ";", "default", ":", "llvm_unreachable", "(", "\"unimplemented operand\"", ")", ";", "return", "SDValue", "(", ")", ";", "}", "}", ""], "natrual_language": ["LowerOperation", "-", "Provide", "custom", "lowering", "hooks", "for", "some", "operations", "."], "TS_V_token": ["XCore", "XCore", "ISD::GlobalAddress", "ISD::GlobalTLSAddress", "ISD::BlockAddress", "ISD::ConstantPool", "ISD::BR_JT", "ISD::LOAD", "ISD::STORE", "ISD::SELECT_CC", "ISD::VAARG", "ISD::VASTART", "ISD::ADD", "ISD::SUB", "ISD::FRAMEADDR", "\"unimplemented operand\""], "File": "XCoreISelLowering43", "Func": "LowerOperation", "Target": "XCore", "Target_Clf": "MPU", "Compiler_Type": "LLVM", "Idx": 95, "Length": 201, "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": 96, "Length": 19, "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": 97, "Length": 65, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "AArch64Subtarget", "::", "AArch64Subtarget", "(", "const", "Triple", "&", "TT", ",", "const", "std", "::", "string", "&", "CPU", ",", "const", "std", "::", "string", "&", "TuneCPU", ",", "const", "std", "::", "string", "&", "FS", ",", "const", "TargetMachine", "&", "TM", ",", "bool", "LittleEndian", ",", "unsigned", "MinSVEVectorSizeInBitsOverride", ",", "unsigned", "MaxSVEVectorSizeInBitsOverride", ")", ":", "AArch64GenSubtargetInfo", "(", "TT", ",", "CPU", ",", "TuneCPU", ",", "FS", ")", ",", "ReserveXRegister", "(", "AArch64", "::", "GPR64commonRegClass", ".", "getNumRegs", "(", ")", ")", ",", "CustomCallSavedXRegs", "(", "AArch64", "::", "GPR64commonRegClass", ".", "getNumRegs", "(", ")", ")", ",", "IsLittle", "(", "LittleEndian", ")", ",", "MinSVEVectorSizeInBits", "(", "MinSVEVectorSizeInBitsOverride", ")", ",", "MaxSVEVectorSizeInBits", "(", "MaxSVEVectorSizeInBitsOverride", ")", ",", "TargetTriple", "(", "TT", ")", ",", "InstrInfo", "(", "initializeSubtargetDependencies", "(", "FS", ",", "CPU", ",", "TuneCPU", ")", ")", ",", "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": "AArch64Subtarget22", "Func": "AArch64Subtarget", "Target": "AArch64", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 98, "Length": 220, "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": 99, "Length": 65, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "static", "bool", "isZero", "(", "Register", "Reg", ",", "const", "MachineRegisterInfo", "&", "MRI", ")", "{", "int64_t", "Val", ";", "return", "mi_match", "(", "Reg", ",", "MRI", ",", "m_ICst", "(", "Val", ")", ")", "&&", "Val", "==", "0", ";", "}", ""], "natrual_language": ["Return", "true", "if", "the", "expression", "is", "a", "constant", "zero", "."], "TS_V_token": ["AMDGPU", "0"], "File": "AMDGPUInstructionSelector", "Func": "isZero", "Target": "AMDGPU", "Target_Clf": "GPU", "Compiler_Type": "LLVM", "Idx": 100, "Length": 34, "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": 101, "Length": 51, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "void", "WebAssemblyTargetAsmStreamer", "::", "emitTableType", "(", "const", "MCSymbolWasm", "*", "Sym", ")", "{", "assert", "(", "Sym", "->", "isTable", "(", ")", ")", ";", "OS", "<<", "\"\\t.tabletype\\t\"", "<<", "Sym", "->", "getName", "(", ")", "<<", "\", \"", "<<", "WebAssembly", "::", "typeToString", "(", "Sym", "->", "getTableType", "(", ")", ")", ";", "OS", "<<", "'\\n'", ";", "}", ""], "natrual_language": [".tabletype"], "TS_V_token": ["WebAssembly", "WebAssembly", "\"\\t.tabletype\\t\"", "\", \"", "WebAssembly::typeToString"], "File": "WebAssemblyTargetStreamer26", "Func": "emitTableType", "Target": "WebAssembly", "Target_Clf": "Virtual ISA", "Compiler_Type": "LLVM", "Idx": 102, "Length": 48, "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": 103, "Length": 69, "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": 104, "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", ")", ";", "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": 105, "Length": 193, "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": 106, "Length": 32, "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": 107, "Length": 65, "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": 108, "Length": 55, "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": 109, "Length": 122, "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": 110, "Length": 70, "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": 111, "Length": 54, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "static", "void", "tilepro_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", "byte_size", "=", "(", "(", "mode", "==", "BLKmode", ")", "?", "int_size_in_bytes", "(", "type", ")", ":", "GET_MODE_SIZE", "(", "mode", ")", ")", ";", "int", "word_size", "=", "(", "byte_size", "+", "UNITS_PER_WORD", "-", "1", ")", "/", "UNITS_PER_WORD", ";", "bool", "doubleword_aligned_p", ";", "doubleword_aligned_p", "=", "tilepro_function_arg_boundary", "(", "mode", ",", "type", ")", ">", "BITS_PER_WORD", ";", "if", "(", "doubleword_aligned_p", ")", "*", "cum", "+=", "*", "cum", "&", "1", ";", "if", "(", "*", "cum", "<", "TILEPRO_NUM_ARG_REGS", "&&", "*", "cum", "+", "word_size", ">", "TILEPRO_NUM_ARG_REGS", ")", "*", "cum", "=", "TILEPRO_NUM_ARG_REGS", ";", "*", "cum", "+=", "word_size", ";", "}", ""], "natrual_language": ["Implement", "TARGET_FUNCTION_ARG_ADVANCE", "."], "TS_V_token": ["tilepro", "1", "1"], "File": "tilepro2", "Func": "tilepro_function_arg_advance", "Target": "tilepro", "Target_Clf": "VLIW", "Compiler_Type": "GCC", "Idx": 112, "Length": 112, "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": 113, "Length": 55, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "static", "rtx", "v850_function_value", "(", "const_tree", "valtype", ",", "const_tree", "fn_decl_or_type", "ATTRIBUTE_UNUSED", ",", "bool", "outgoing", "ATTRIBUTE_UNUSED", ")", "{", "return", "gen_rtx_REG", "(", "TYPE_MODE", "(", "valtype", ")", ",", "RV_REGNUM", ")", ";", "}", ""], "natrual_language": ["Worker", "function", "for", "TARGET_FUNCTION_VALUE", "."], "TS_V_token": ["v850"], "File": "v850", "Func": "v850_function_value", "Target": "v850", "Target_Clf": "MPU", "Compiler_Type": "GCC", "Idx": 114, "Length": 28, "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": 115, "Length": 154, "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": 116, "Length": 36, "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": 117, "Length": 21, "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": 118, "Length": 250, "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": 119, "Length": 192, "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": 120, "Length": 155, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "SDValue", "R600TargetLowering", "::", "LowerFormalArguments", "(", "SDValue", "Chain", ",", "CallingConv", "::", "ID", "CallConv", ",", "bool", "isVarArg", ",", "const", "SmallVectorImpl", "<", "ISD", "::", "InputArg", ">", "&", "Ins", ",", "const", "SDLoc", "&", "DL", ",", "SelectionDAG", "&", "DAG", ",", "SmallVectorImpl", "<", "SDValue", ">", "&", "InVals", ")", "const", "{", "SmallVector", "<", "CCValAssign", ",", "16", ">", "ArgLocs", ";", "CCState", "CCInfo", "(", "CallConv", ",", "isVarArg", ",", "DAG", ".", "getMachineFunction", "(", ")", ",", "ArgLocs", ",", "*", "DAG", ".", "getContext", "(", ")", ")", ";", "MachineFunction", "&", "MF", "=", "DAG", ".", "getMachineFunction", "(", ")", ";", "R600MachineFunctionInfo", "*", "MFI", "=", "MF", ".", "getInfo", "<", "R600MachineFunctionInfo", ">", "(", ")", ";", "SmallVector", "<", "ISD", "::", "InputArg", ",", "8", ">", "LocalIns", ";", "if", "(", "AMDGPU", "::", "isShader", "(", "CallConv", ")", ")", "{", "CCInfo", ".", "AnalyzeFormalArguments", "(", "Ins", ",", "CCAssignFnForCall", "(", "CallConv", ",", "isVarArg", ")", ")", ";", "}", "else", "{", "analyzeFormalArgumentsCompute", "(", "CCInfo", ",", "Ins", ")", ";", "}", "for", "(", "unsigned", "i", "=", "0", ",", "e", "=", "Ins", ".", "size", "(", ")", ";", "i", "<", "e", ";", "++", "i", ")", "{", "CCValAssign", "&", "VA", "=", "ArgLocs", "[", "i", "]", ";", "const", "ISD", "::", "InputArg", "&", "In", "=", "Ins", "[", "i", "]", ";", "EVT", "VT", "=", "In", ".", "VT", ";", "EVT", "MemVT", "=", "VA", ".", "getLocVT", "(", ")", ";", "if", "(", "!", "VT", ".", "isVector", "(", ")", "&&", "MemVT", ".", "isVector", "(", ")", ")", "{", "MemVT", "=", "MemVT", ".", "getVectorElementType", "(", ")", ";", "}", "if", "(", "AMDGPU", "::", "isShader", "(", "CallConv", ")", ")", "{", "unsigned", "Reg", "=", "MF", ".", "addLiveIn", "(", "VA", ".", "getLocReg", "(", ")", ",", "&", "AMDGPU", "::", "R600_Reg128RegClass", ")", ";", "SDValue", "Register", "=", "DAG", ".", "getCopyFromReg", "(", "Chain", ",", "DL", ",", "Reg", ",", "VT", ")", ";", "InVals", ".", "push_back", "(", "Register", ")", ";", "continue", ";", "}", "PointerType", "*", "PtrTy", "=", "PointerType", "::", "get", "(", "VT", ".", "getTypeForEVT", "(", "*", "DAG", ".", "getContext", "(", ")", ")", ",", "AMDGPUASI", ".", "CONSTANT_BUFFER_0", ")", ";", "ISD", "::", "LoadExtType", "Ext", "=", "ISD", "::", "NON_EXTLOAD", ";", "if", "(", "MemVT", ".", "getScalarSizeInBits", "(", ")", "!=", "VT", ".", "getScalarSizeInBits", "(", ")", ")", "{", "Ext", "=", "ISD", "::", "SEXTLOAD", ";", "}", "unsigned", "ValBase", "=", "ArgLocs", "[", "In", ".", "getOrigArgIndex", "(", ")", "]", ".", "getLocMemOffset", "(", ")", ";", "unsigned", "PartOffset", "=", "VA", ".", "getLocMemOffset", "(", ")", ";", "unsigned", "Offset", "=", "Subtarget", "->", "getExplicitKernelArgOffset", "(", "MF", ")", "+", "VA", ".", "getLocMemOffset", "(", ")", ";", "MachinePointerInfo", "PtrInfo", "(", "UndefValue", "::", "get", "(", "PtrTy", ")", ",", "PartOffset", "-", "ValBase", ")", ";", "SDValue", "Arg", "=", "DAG", ".", "getLoad", "(", "ISD", "::", "UNINDEXED", ",", "Ext", ",", "VT", ",", "DL", ",", "Chain", ",", "DAG", ".", "getConstant", "(", "Offset", ",", "DL", ",", "MVT", "::", "i32", ")", ",", "DAG", ".", "getUNDEF", "(", "MVT", "::", "i32", ")", ",", "PtrInfo", ",", "MemVT", ",", "4", ",", "MachineMemOperand", "::", "MONonTemporal", "|", "MachineMemOperand", "::", "MODereferenceable", "|", "MachineMemOperand", "::", "MOInvariant", ")", ";", "InVals", ".", "push_back", "(", "Arg", ")", ";", "MFI", "->", "setABIArgOffset", "(", "Offset", "+", "MemVT", ".", "getStoreSize", "(", ")", ")", ";", "}", "return", "Chain", ";", "}", ""], "natrual_language": ["This", "hook", "must", "be", "implemented", "to", "lower", "the", "incoming", "(", "formal", ")", "arguments", ",", "described", "by", "the", "Ins", "array", ",", "into", "the", "specified", "DAG", "."], "TS_V_token": ["AMDGPU", "R600", "ISD::InputArg", "16", "R600", "R600", "ISD::InputArg", "8", "AMDGPU::isShader", "0", "ISD::InputArg", "AMDGPU::isShader", "AMDGPU::R600_Reg128RegClass", "SI", "ISD::LoadExtType", "ISD::NON_EXTLOAD", "ISD::SEXTLOAD", "ISD::UNINDEXED", "MVT::i32", "MVT::i32", "4"], "File": "R600ISelLowering (2)1", "Func": "LowerFormalArguments", "Target": "AMDGPU", "Target_Clf": "GPU", "Compiler_Type": "LLVM", "Idx": 121, "Length": 480, "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": 122, "Length": 15, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "bool", "AMDGPUPassConfig", "::", "addPreRegAlloc", "(", ")", "{", "const", "AMDGPUSubtarget", "&", "ST", "=", "TM", "->", "getSubtarget", "<", "AMDGPUSubtarget", ">", "(", ")", ";", "if", "(", "ST", ".", "device", "(", ")", "->", "getGeneration", "(", ")", ">", "AMDGPUDeviceInfo", "::", "HD6XXX", ")", "{", "addPass", "(", "createSIAssignInterpRegsPass", "(", "*", "TM", ")", ")", ";", "}", "addPass", "(", "createAMDGPUConvertToISAPass", "(", "*", "TM", ")", ")", ";", "return", "false", ";", "}", ""], "natrual_language": ["This", "method", "may", "be", "implemented", "by", "targets", "that", "want", "to", "run", "passes", "immediately", "before", "register", "allocation", "."], "TS_V_token": ["R600", "AMDGPUDeviceInfo::HD6XXX", "SI"], "File": "AMDGPUTargetMachine23", "Func": "addPreRegAlloc", "Target": "R600", "Target_Clf": "GPU", "Compiler_Type": "LLVM", "Idx": 123, "Length": 61, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "int", "visium_epilogue_uses", "(", "int", "regno", ")", "{", "if", "(", "regno", "==", "LINK_REGNUM", ")", "return", "1", ";", "if", "(", "reload_completed", ")", "{", "enum", "reg_type", "reg_type", "=", "GET_REG_TYPE", "(", "regno", ")", ";", "int", "mask_bit", "=", "1", "<<", "(", "regno", "-", "first_regno", "[", "reg_type", "]", ")", ";", "return", "(", "current_frame_info", ".", "mask", "[", "reg_type", "]", "&", "mask_bit", ")", "!=", "0", ";", "}", "return", "0", ";", "}", ""], "natrual_language": ["For", "an", "interrupt", "handler", ",", "we", "may", "be", "saving", "call-clobbered", "registers", ".", "Say", "the", "epilogue", "uses", "these", "in", "addition", "to", "the", "link", "register", "."], "TS_V_token": ["visium", "1", "1", "0", "0"], "File": "visium", "Func": "visium_epilogue_uses", "Target": "visium", "Target_Clf": "Virtual ISA", "Compiler_Type": "GCC", "Idx": 124, "Length": 63, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "bool", "MBlazeAsmParser", "::", "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": ["MBlaze", "MBlaze", "\".word\"", "2"], "File": "MBlazeAsmParser1", "Func": "ParseDirective", "Target": "MBlaze", "Target_Clf": "MPU", "Compiler_Type": "LLVM", "Idx": 125, "Length": 40, "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": 126, "Length": 48, "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": 127, "Length": 53, "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", ";", "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": "X86FloatingPoint49", "Func": "runOnMachineFunction", "Target": "X86", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 128, "Length": 300, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "void", "PPCInstPrinter", "::", "printInst", "(", "const", "MCInst", "*", "MI", ",", "raw_ostream", "&", "O", ")", "{", "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", ";", "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", ")", ";", "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", ";", "return", ";", "}", "}", "printInstruction", "(", "MI", ",", "O", ")", ";", "}", ""], "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": "PPCInstPrinter2", "Func": "printInst", "Target": "PowerPC", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 129, "Length": 357, "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": ["P2"], "File": "P2ELFStreamer", "Func": "getStreamer", "Target": "P2", "Target_Clf": "MPU", "Compiler_Type": "LLVM", "Idx": 130, "Length": 17, "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": 131, "Length": 121, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "bool", "AMDGPUAtomicOptimizer", "::", "runOnFunction", "(", "Function", "&", "F", ")", "{", "if", "(", "skipFunction", "(", "F", ")", ")", "{", "return", "false", ";", "}", "DA", "=", "&", "getAnalysis", "<", "LegacyDivergenceAnalysis", ">", "(", ")", ";", "DL", "=", "&", "F", ".", "getParent", "(", ")", "->", "getDataLayout", "(", ")", ";", "DominatorTreeWrapperPass", "*", "const", "DTW", "=", "getAnalysisIfAvailable", "<", "DominatorTreeWrapperPass", ">", "(", ")", ";", "DT", "=", "DTW", "?", "&", "DTW", "->", "getDomTree", "(", ")", ":", "nullptr", ";", "const", "TargetPassConfig", "&", "TPC", "=", "getAnalysis", "<", "TargetPassConfig", ">", "(", ")", ";", "const", "TargetMachine", "&", "TM", "=", "TPC", ".", "getTM", "<", "TargetMachine", ">", "(", ")", ";", "ST", "=", "&", "TM", ".", "getSubtarget", "<", "GCNSubtarget", ">", "(", "F", ")", ";", "IsPixelShader", "=", "F", ".", "getCallingConv", "(", ")", "==", "CallingConv", "::", "AMDGPU_PS", ";", "visit", "(", "F", ")", ";", "const", "bool", "Changed", "=", "!", "ToReplace", ".", "empty", "(", ")", ";", "for", "(", "ReplacementInfo", "&", "Info", ":", "ToReplace", ")", "{", "optimizeAtomic", "(", "*", "Info", ".", "I", ",", "Info", ".", "Op", ",", "Info", ".", "ValIdx", ",", "Info", ".", "ValDivergent", ")", ";", "}", "ToReplace", ".", "clear", "(", ")", ";", "return", "Changed", ";", "}", ""], "natrual_language": ["runOnFunction", "-", "Virtual", "method", "overriden", "by", "subclasses", "to", "do", "the", "per-function", "processing", "of", "the", "pass", "."], "TS_V_token": ["AMDGPU", "AMDGPU", "AMDGPU"], "File": "AMDGPUAtomicOptimizer10", "Func": "runOnFunction", "Target": "AMDGPU", "Target_Clf": "GPU", "Compiler_Type": "LLVM", "Idx": 132, "Length": 177, "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": 133, "Length": 18, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "SDValue", "GBZ80TargetLowering", "::", "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", "(", ")", ";", "MachineFrameInfo", "*", "MFI", "=", "MF", ".", "getFrameInfo", "(", ")", ";", "MachineRegisterInfo", "&", "MRI", "=", "MF", ".", "getRegInfo", "(", ")", ";", "GBZ80MachineFunctionInfo", "*", "GBZ80FI", "=", "MF", ".", "getInfo", "<", "GBZ80MachineFunctionInfo", ">", "(", ")", ";", "SmallVector", "<", "CCValAssign", ",", "16", ">", "ArgLocs", ";", "CCState", "CCInfo", "(", "CallConv", ",", "isVarArg", ",", "DAG", ".", "getMachineFunction", "(", ")", ",", "ArgLocs", ",", "*", "DAG", ".", "getContext", "(", ")", ")", ";", "CCInfo", ".", "AnalyzeFormalArguments", "(", "Ins", ",", "CC_GBZ80", ")", ";", "assert", "(", "!", "isVarArg", "&&", "\"Varargs not supported yet!\"", ")", ";", "for", "(", "unsigned", "i", "=", "0", ",", "e", "=", "ArgLocs", ".", "size", "(", ")", ";", "i", "!=", "e", ";", "i", "++", ")", "{", "SDValue", "ArgValue", ";", "unsigned", "VReg", ";", "CCValAssign", "&", "VA", "=", "ArgLocs", "[", "i", "]", ";", "if", "(", "VA", ".", "isRegLoc", "(", ")", ")", "{", "EVT", "RegVT", "=", "VA", ".", "getLocVT", "(", ")", ";", "switch", "(", "RegVT", ".", "getSimpleVT", "(", ")", ".", "SimpleTy", ")", "{", "default", ":", "{", "errs", "(", ")", "<<", "\"LowerFormalArguments Unhandled argument type: \"", "<<", "RegVT", ".", "getSimpleVT", "(", ")", ".", "SimpleTy", "<<", "\"\\n\"", ";", "llvm_unreachable", "(", "0", ")", ";", "}", "case", "MVT", "::", "i8", ":", "VReg", "=", "MRI", ".", "createVirtualRegister", "(", "&", "GBZ80", "::", "GR8RegClass", ")", ";", "MRI", ".", "addLiveIn", "(", "VA", ".", "getLocReg", "(", ")", ",", "VReg", ")", ";", "ArgValue", "=", "DAG", ".", "getCopyFromReg", "(", "Chain", ",", "dl", ",", "VReg", ",", "RegVT", ")", ";", "InVals", ".", "push_back", "(", "ArgValue", ")", ";", "break", ";", "case", "MVT", "::", "i16", ":", "VReg", "=", "MRI", ".", "createVirtualRegister", "(", "&", "GBZ80", "::", "GR16RegClass", ")", ";", "MRI", ".", "addLiveIn", "(", "VA", ".", "getLocReg", "(", ")", ",", "VReg", ")", ";", "ArgValue", "=", "DAG", ".", "getCopyFromReg", "(", "Chain", ",", "dl", ",", "VReg", ",", "RegVT", ")", ";", "InVals", ".", "push_back", "(", "ArgValue", ")", ";", "break", ";", "}", "}", "else", "{", "assert", "(", "VA", ".", "isMemLoc", "(", ")", ")", ";", "GBZ80FI", "->", "setNeedFP", "(", ")", ";", "SDValue", "InVal", ";", "unsigned", "Size", "=", "VA", ".", "getLocVT", "(", ")", ".", "getStoreSize", "(", ")", ";", "if", "(", "Size", ">", "2", ")", "errs", "(", ")", "<<", "\"LowerFormalArguments unhandled argument type: \"", "<<", "EVT", "(", "VA", ".", "getLocVT", "(", ")", ")", ".", "getEVTString", "(", ")", "<<", "\"\\n\"", ";", "int", "FI", "=", "MFI", "->", "CreateFixedObject", "(", "Size", ",", "VA", ".", "getLocMemOffset", "(", ")", ",", "true", ")", ";", "SDValue", "FIN", "=", "DAG", ".", "getFrameIndex", "(", "FI", ",", "MVT", "::", "i16", ")", ";", "InVal", "=", "DAG", ".", "getLoad", "(", "VA", ".", "getLocVT", "(", ")", ",", "dl", ",", "Chain", ",", "FIN", ",", "MachinePointerInfo", "::", "getFixedStack", "(", "FI", ")", ",", "false", ",", "false", ",", "false", ",", "0", ")", ";", "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": ["GBZ80", "GB", "ISD::InputArg", "GB", "GB", "GB", "16", "GB", "\"Varargs not supported yet!\"", "0", "\"LowerFormalArguments Unhandled argument type: \"", "\"\\n\"", "0", "MVT::i8", "GBZ80::GR8RegClass", "MVT::i16", "GBZ80::GR16RegClass", "GB", "2", "\"LowerFormalArguments unhandled argument type: \"", "\"\\n\"", "MVT::i16", "0"], "File": "GBZ80ISelLowering (2)", "Func": "LowerFormalArguments", "Target": "GBZ80", "Target_Clf": "MPU", "Compiler_Type": "LLVM", "Idx": 134, "Length": 474, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "bool", "FixFunctionBitcasts", "::", "runOnModule", "(", "Module", "&", "M", ")", "{", "SmallVector", "<", "std", "::", "pair", "<", "Use", "*", ",", "Function", "*", ">", ",", "0", ">", "Uses", ";", "SmallPtrSet", "<", "Constant", "*", ",", "2", ">", "ConstantBCs", ";", "for", "(", "Function", "&", "F", ":", "M", ")", "FindUses", "(", "&", "F", ",", "F", ",", "Uses", ",", "ConstantBCs", ")", ";", "DenseMap", "<", "std", "::", "pair", "<", "Function", "*", ",", "FunctionType", "*", ">", ",", "Function", "*", ">", "Wrappers", ";", "for", "(", "auto", "&", "UseFunc", ":", "Uses", ")", "{", "Use", "*", "U", "=", "UseFunc", ".", "first", ";", "Function", "*", "F", "=", "UseFunc", ".", "second", ";", "PointerType", "*", "PTy", "=", "cast", "<", "PointerType", ">", "(", "U", "->", "get", "(", ")", "->", "getType", "(", ")", ")", ";", "FunctionType", "*", "Ty", "=", "dyn_cast", "<", "FunctionType", ">", "(", "PTy", "->", "getElementType", "(", ")", ")", ";", "if", "(", "!", "Ty", ")", "continue", ";", "auto", "Pair", "=", "Wrappers", ".", "insert", "(", "std", "::", "make_pair", "(", "std", "::", "make_pair", "(", "F", ",", "Ty", ")", ",", "nullptr", ")", ")", ";", "if", "(", "Pair", ".", "second", ")", "Pair", ".", "first", "->", "second", "=", "CreateWrapper", "(", "F", ",", "Ty", ")", ";", "Function", "*", "Wrapper", "=", "Pair", ".", "first", "->", "second", ";", "if", "(", "!", "Wrapper", ")", "continue", ";", "if", "(", "isa", "<", "Constant", ">", "(", "U", "->", "get", "(", ")", ")", ")", "U", "->", "get", "(", ")", "->", "replaceAllUsesWith", "(", "Wrapper", ")", ";", "else", "U", "->", "set", "(", "Wrapper", ")", ";", "}", "return", "true", ";", "}", ""], "natrual_language": ["runOnModule", "-", "Virtual", "method", "overriden", "by", "subclasses", "to", "process", "the", "module", "being", "operated", "on", "."], "TS_V_token": ["WebAssembly", "0", "2"], "File": "WebAssemblyFixFunctionBitcasts22", "Func": "runOnModule", "Target": "WebAssembly", "Target_Clf": "Virtual ISA", "Compiler_Type": "LLVM", "Idx": 135, "Length": 240, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "int", "expand_a_rotate", "(", "rtx", "operands", "[", "]", ")", "{", "rtx", "dst", "=", "operands", "[", "0", "]", ";", "rtx", "src", "=", "operands", "[", "1", "]", ";", "rtx", "rotate_amount", "=", "operands", "[", "2", "]", ";", "machine_mode", "mode", "=", "GET_MODE", "(", "dst", ")", ";", "if", "(", "h8sx_classify_shift", "(", "mode", ",", "ROTATE", ",", "rotate_amount", ")", "==", "H8SX_SHIFT_UNARY", ")", "return", "false", ";", "emit_move_insn", "(", "dst", ",", "src", ")", ";", "if", "(", "GET_CODE", "(", "rotate_amount", ")", "!=", "CONST_INT", ")", "{", "rtx", "counter", "=", "gen_reg_rtx", "(", "QImode", ")", ";", "rtx_code_label", "*", "start_label", "=", "gen_label_rtx", "(", ")", ";", "rtx_code_label", "*", "end_label", "=", "gen_label_rtx", "(", ")", ";", "emit_cmp_and_jump_insns", "(", "rotate_amount", ",", "const0_rtx", ",", "LE", ",", "NULL_RTX", ",", "QImode", ",", "0", ",", "end_label", ")", ";", "emit_move_insn", "(", "counter", ",", "rotate_amount", ")", ";", "emit_label", "(", "start_label", ")", ";", "switch", "(", "mode", ")", "{", "case", "E_QImode", ":", "emit_insn", "(", "gen_rotlqi3_1", "(", "dst", ",", "dst", ",", "const1_rtx", ")", ")", ";", "break", ";", "case", "E_HImode", ":", "emit_insn", "(", "gen_rotlhi3_1", "(", "dst", ",", "dst", ",", "const1_rtx", ")", ")", ";", "break", ";", "case", "E_SImode", ":", "emit_insn", "(", "gen_rotlsi3_1", "(", "dst", ",", "dst", ",", "const1_rtx", ")", ")", ";", "break", ";", "default", ":", "gcc_unreachable", "(", ")", ";", "}", "emit_insn", "(", "gen_addqi3", "(", "counter", ",", "counter", ",", "constm1_rtx", ")", ")", ";", "emit_cmp_and_jump_insns", "(", "counter", ",", "const0_rtx", ",", "NE", ",", "NULL_RTX", ",", "QImode", ",", "1", ",", "start_label", ")", ";", "emit_label", "(", "end_label", ")", ";", "}", "else", "{", "switch", "(", "mode", ")", "{", "case", "E_QImode", ":", "emit_insn", "(", "gen_rotlqi3_1", "(", "dst", ",", "dst", ",", "rotate_amount", ")", ")", ";", "break", ";", "case", "E_HImode", ":", "emit_insn", "(", "gen_rotlhi3_1", "(", "dst", ",", "dst", ",", "rotate_amount", ")", ")", ";", "break", ";", "case", "E_SImode", ":", "emit_insn", "(", "gen_rotlsi3_1", "(", "dst", ",", "dst", ",", "rotate_amount", ")", ")", ";", "break", ";", "default", ":", "gcc_unreachable", "(", ")", ";", "}", "}", "return", "1", ";", "}", ""], "natrual_language": ["A", "rotation", "by", "a", "non-constant", "will", "cause", "a", "loop", "to", "be", "generated", ",", "in", "which", "a", "rotation", "by", "one", "bit", "is", "used", ".", "A", "rotation", "by", "a", "constant", ",", "including", "the", "one", "in", "the", "loop", ",", "will", "be", "taken", "care", "of", "by", "emit_a_rotate", "(", ")", "at", "the", "insn", "emit", "time", "."], "TS_V_token": ["h8300", "0", "1", "2", "0", "1", "1"], "File": "h8300", "Func": "expand_a_rotate", "Target": "h8300", "Target_Clf": "MPU", "Compiler_Type": "GCC", "Idx": 136, "Length": 295, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "int", "m32r_hard_regno_rename_ok", "(", "unsigned", "int", "old_reg", "ATTRIBUTE_UNUSED", ",", "unsigned", "int", "new_reg", ")", "{", "if", "(", "lookup_attribute", "(", "\"interrupt\"", ",", "DECL_ATTRIBUTES", "(", "current_function_decl", ")", ")", "&&", "!", "regs_ever_live", "[", "new_reg", "]", ")", "return", "0", ";", "if", "(", "current_function_is_leaf", "&&", "new_reg", "==", "RETURN_ADDR_REGNUM", ")", "return", "0", ";", "return", "1", ";", "}", ""], "natrual_language": ["Return", "true", "if", "using", "NEW_REG", "in", "place", "of", "OLD_REG", "is", "ok", "."], "TS_V_token": ["m32r", "\"interrupt\"", "0", "0", "1"], "File": "m32r3", "Func": "m32r_hard_regno_rename_ok", "Target": "m32r", "Target_Clf": "MPU", "Compiler_Type": "GCC", "Idx": 137, "Length": 49, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "OperandMatchResultTy", "tryParseRegister", "(", "OperandVector", "&", "Operands", ")", "{", "unsigned", "RegNo", "=", "0", ";", "SMLoc", "S", "=", "getLexer", "(", ")", ".", "getLoc", "(", ")", ";", "SMLoc", "E", "=", "getLexer", "(", ")", ".", "getTok", "(", ")", ".", "getEndLoc", "(", ")", ";", "if", "(", "tryParseRegister", "(", "RegNo", ",", "S", ",", "E", ")", "==", "MatchOperand_Success", ")", "{", "Operands", ".", "push_back", "(", "MOSOperand", "::", "createReg", "(", "RegNo", ",", "S", ",", "E", ")", ")", ";", "return", "MatchOperand_Success", ";", "}", "return", "MatchOperand_NoMatch", ";", "}", ""], "natrual_language": ["tryParseRegister", "-", "parse", "one", "register", "if", "possible"], "TS_V_token": ["MOS", "0", "MOSOperand::createReg"], "File": "MOSAsmParser", "Func": "tryParseRegister", "Target": "MOS", "Target_Clf": "MPU", "Compiler_Type": "LLVM", "Idx": 138, "Length": 77, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "static", "void", "write_shared_buffer", "(", "FILE", "*", "file", ",", "rtx", "sym", ",", "unsigned", "align", ",", "unsigned", "size", ")", "{", "const", "char", "*", "name", "=", "XSTR", "(", "sym", ",", "0", ")", ";", "write_var_marker", "(", "file", ",", "true", ",", "false", ",", "name", ")", ";", "fprintf", "(", "file", ",", "\".shared .align %d .u8 %s[%d];\\n\"", ",", "align", ",", "name", ",", "size", ")", ";", "}", ""], "natrual_language": ["Emit", "a", "declaration", "for", "a", "worker", "and", "vector-level", "buffer", "in", ".shared", "memory", "."], "TS_V_token": ["nvptx", "0", "\".shared .align %d .u8 %s[%d];\\n\""], "File": "nvptx", "Func": "write_shared_buffer", "Target": "nvptx", "Target_Clf": "GPU", "Compiler_Type": "GCC", "Idx": 139, "Length": 55, "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": 140, "Length": 147, "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": 141, "Length": 53, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "static", "void", "frame_related_constant_load", "(", "rtx", "reg", ",", "HOST_WIDE_INT", "constant", ",", "bool", "related", ")", "{", "rtx_insn", "*", "insn", ";", "rtx", "cst", "=", "GEN_INT", "(", "constant", ")", ";", "if", "(", "constant", ">=", "-", "32768", "&&", "constant", "<", "65536", ")", "insn", "=", "emit_move_insn", "(", "reg", ",", "cst", ")", ";", "else", "{", "insn", "=", "emit_insn", "(", "gen_movsi_high", "(", "reg", ",", "cst", ")", ")", ";", "if", "(", "related", ")", "RTX_FRAME_RELATED_P", "(", "insn", ")", "=", "1", ";", "insn", "=", "emit_insn", "(", "gen_movsi_low", "(", "reg", ",", "reg", ",", "cst", ")", ")", ";", "}", "if", "(", "related", ")", "RTX_FRAME_RELATED_P", "(", "insn", ")", "=", "1", ";", "}", ""], "natrual_language": ["Emit", "code", "to", "load", "a", "constant", "CONSTANT", "into", "register", "REG", ";", "setting", "RTX_FRAME_RELATED_P", "on", "all", "insns", "we", "generate", "if", "RELATED", "is", "true", ".", "Make", "sure", "that", "the", "insns", "we", "generate", "need", "not", "be", "split", "."], "TS_V_token": ["bfin", "32768", "65536", "1", "1"], "File": "bfin", "Func": "frame_related_constant_load", "Target": "bfin", "Target_Clf": "DSP", "Compiler_Type": "GCC", "Idx": 142, "Length": 98, "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", "=", "&", "MF", ".", "getSubtarget", "<", "MipsSubtarget", ">", "(", ")", ";", "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": "MipsBranchExpansion (2)", "Func": "runOnMachineFunction", "Target": "Mips", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 143, "Length": 198, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "static", "bool", "v850_legitimate_constant_p", "(", "machine_mode", "mode", "ATTRIBUTE_UNUSED", ",", "rtx", "x", ")", "{", "return", "(", "GET_CODE", "(", "x", ")", "==", "CONST_DOUBLE", "||", "!", "(", "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", "&&", "!", "CONST_OK_FOR_K", "(", "INTVAL", "(", "XEXP", "(", "XEXP", "(", "x", ",", "0", ")", ",", "1", ")", ")", ")", ")", ")", ";", "}", ""], "natrual_language": ["Implement", "TARGET_LEGITIMATE_CONSTANT_P", "."], "TS_V_token": ["v850", "0", "0", "0", "0", "1", "0", "1"], "File": "v850", "Func": "v850_legitimate_constant_p", "Target": "v850", "Target_Clf": "MPU", "Compiler_Type": "GCC", "Idx": 144, "Length": 98, "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": 145, "Length": 78, "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": 146, "Length": 395, "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": 147, "Length": 385, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "int", "GCNTTIImpl", "::", "getArithmeticReductionCost", "(", "unsigned", "Opcode", ",", "Type", "*", "Ty", ",", "bool", "IsPairwise", ")", "{", "EVT", "OrigTy", "=", "TLI", "->", "getValueType", "(", "DL", ",", "Ty", ")", ";", "if", "(", "IsPairwise", "||", "!", "ST", "->", "hasVOP3PInsts", "(", ")", "||", "OrigTy", ".", "getScalarSizeInBits", "(", ")", "!=", "16", ")", "return", "BaseT", "::", "getArithmeticReductionCost", "(", "Opcode", ",", "Ty", ",", "IsPairwise", ")", ";", "std", "::", "pair", "<", "int", ",", "MVT", ">", "LT", "=", "TLI", "->", "getTypeLegalizationCost", "(", "DL", ",", "Ty", ")", ";", "return", "LT", ".", "first", "*", "getFullRateInstrCost", "(", ")", ";", "}", ""], "natrual_language": ["Calculate", "the", "cost", "of", "vector", "reduction", "intrinsics", "."], "TS_V_token": ["AMDGPU", "16"], "File": "AMDGPUTargetTransformInfo10", "Func": "getArithmeticReductionCost", "Target": "AMDGPU", "Target_Clf": "GPU", "Compiler_Type": "LLVM", "Idx": 148, "Length": 88, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "static", "rtx", "s390_function_and_libcall_value", "(", "machine_mode", "mode", ",", "const_tree", "ret_type", ",", "const_tree", "fntype_or_decl", ",", "bool", "outgoing", "ATTRIBUTE_UNUSED", ")", "{", "bool", "vector_ret_type_p", "=", "(", "(", "ret_type", "&&", "VECTOR_TYPE_P", "(", "ret_type", ")", ")", "||", "(", "!", "ret_type", "&&", "VECTOR_MODE_P", "(", "mode", ")", ")", ")", ";", "if", "(", "ret_type", ")", "{", "int", "unsignedp", "=", "TYPE_UNSIGNED", "(", "ret_type", ")", ";", "mode", "=", "promote_function_mode", "(", "ret_type", ",", "mode", ",", "&", "unsignedp", ",", "fntype_or_decl", ",", "1", ")", ";", "}", "gcc_assert", "(", "GET_MODE_CLASS", "(", "mode", ")", "==", "MODE_INT", "||", "SCALAR_FLOAT_MODE_P", "(", "mode", ")", "||", "(", "TARGET_VX_ABI", "&&", "vector_ret_type_p", ")", ")", ";", "gcc_assert", "(", "GET_MODE_SIZE", "(", "mode", ")", "<=", "(", "TARGET_VX_ABI", "?", "16", ":", "8", ")", ")", ";", "if", "(", "TARGET_VX_ABI", "&&", "vector_ret_type_p", ")", "return", "gen_rtx_REG", "(", "mode", ",", "FIRST_VEC_ARG_REGNO", ")", ";", "else", "if", "(", "TARGET_HARD_FLOAT", "&&", "SCALAR_FLOAT_MODE_P", "(", "mode", ")", ")", "return", "gen_rtx_REG", "(", "mode", ",", "16", ")", ";", "else", "if", "(", "GET_MODE_SIZE", "(", "mode", ")", "<=", "UNITS_PER_LONG", "||", "UNITS_PER_LONG", "==", "UNITS_PER_WORD", ")", "return", "gen_rtx_REG", "(", "mode", ",", "2", ")", ";", "else", "if", "(", "GET_MODE_SIZE", "(", "mode", ")", "==", "2", "*", "UNITS_PER_LONG", ")", "{", "rtvec", "p", "=", "rtvec_alloc", "(", "2", ")", ";", "RTVEC_ELT", "(", "p", ",", "0", ")", "=", "gen_rtx_EXPR_LIST", "(", "SImode", ",", "gen_rtx_REG", "(", "SImode", ",", "2", ")", ",", "const0_rtx", ")", ";", "RTVEC_ELT", "(", "p", ",", "1", ")", "=", "gen_rtx_EXPR_LIST", "(", "SImode", ",", "gen_rtx_REG", "(", "SImode", ",", "3", ")", ",", "GEN_INT", "(", "4", ")", ")", ";", "return", "gen_rtx_PARALLEL", "(", "mode", ",", "p", ")", ";", "}", "gcc_unreachable", "(", ")", ";", "}", ""], "natrual_language": ["Define", "where", "to", "return", "a", "(", "scalar", ")", "value", "of", "type", "RET_TYPE", ".", "If", "RET_TYPE", "is", "null", ",", "define", "where", "to", "return", "a", "(", "scalar", ")", "value", "of", "mode", "MODE", "from", "a", "libcall", "."], "TS_V_token": ["s390", "1", "16", "8", "16", "2", "2", "2", "0", "2", "1", "3", "4"], "File": "s390", "Func": "s390_function_and_libcall_value", "Target": "s390", "Target_Clf": "MPU", "Compiler_Type": "GCC", "Idx": 149, "Length": 243, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "void", "clear", "(", ")", "{", "minimalCaps", ".", "clear", "(", ")", ";", "allCaps", ".", "clear", "(", ")", ";", "allExtensions", ".", "clear", "(", ")", ";", "minVersion", "=", "0", ";", "maxVersion", "=", "0", ";", "}", ""], "natrual_language": ["Clear", "all", "timers", "in", "this", "group", "."], "TS_V_token": ["SPIRV", "0", "0"], "File": "SPIRVCapabilityUtils", "Func": "clear", "Target": "SPIRV", "Target_Clf": "Virtual ISA", "Compiler_Type": "LLVM", "Idx": 150, "Length": 32, "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": 151, "Length": 12, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "StringRef", "getPassName", "(", ")", "const", "override", "{", "return", "\"WebAssembly MC Lower Pre Pass\"", ";", "}", ""], "natrual_language": ["getPassName", "-", "Return", "a", "nice", "clean", "name", "for", "a", "pass", "."], "TS_V_token": ["WebAssembly", "\"WebAssembly MC Lower Pre Pass\""], "File": "WebAssemblyMCLowerPrePass", "Func": "getPassName", "Target": "WebAssembly", "Target_Clf": "Virtual ISA", "Compiler_Type": "LLVM", "Idx": 152, "Length": 11, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "static", "int", "s390_address_cost", "(", "rtx", "addr", ")", "{", "struct", "s390_address", "ad", ";", "if", "(", "!", "s390_decompose_address", "(", "addr", ",", "&", "ad", ")", ")", "return", "1000", ";", "return", "ad", ".", "indx", "?", "COSTS_N_INSNS", "(", "1", ")", "+", "1", ":", "COSTS_N_INSNS", "(", "1", ")", ";", "}", ""], "natrual_language": ["Return", "the", "cost", "of", "an", "address", "rtx", "ADDR", "."], "TS_V_token": ["s390", "1000", "1", "1", "1"], "File": "s3903", "Func": "s390_address_cost", "Target": "s390", "Target_Clf": "MPU", "Compiler_Type": "GCC", "Idx": 153, "Length": 44, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "void", "BPFPassConfig", "::", "addMachineSSAOptimization", "(", ")", "{", "addPass", "(", "createBPFMISimplifyPatchablePass", "(", ")", ")", ";", "TargetPassConfig", "::", "addMachineSSAOptimization", "(", ")", ";", "const", "BPFSubtarget", "*", "Subtarget", "=", "getBPFTargetMachine", "(", ")", ".", "getSubtargetImpl", "(", ")", ";", "if", "(", "Subtarget", "->", "getHasAlu32", "(", ")", "&&", "!", "DisableMIPeephole", ")", "addPass", "(", "createBPFMIPeepholePass", "(", ")", ")", ";", "}", ""], "natrual_language": ["Methods", "with", "trivial", "inline", "returns", "are", "convenient", "points", "in", "the", "common", "codegen", "pass", "pipeline", "where", "targets", "may", "insert", "passes", "."], "TS_V_token": ["BPF", "BPF", "BPF", "BPF", "BPF", "BPF"], "File": "BPFTargetMachine12", "Func": "addMachineSSAOptimization", "Target": "BPF", "Target_Clf": "Virtual ISA", "Compiler_Type": "LLVM", "Idx": 154, "Length": 52, "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": 155, "Length": 39, "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": 156, "Length": 335, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "static", "void", "frv_expand_builtin_va_start", "(", "tree", "valist", ",", "rtx", "nextarg", ")", "{", "tree", "t", ";", "int", "num", "=", "crtl", "->", "args", ".", "info", "-", "FIRST_ARG_REGNUM", "-", "FRV_NUM_ARG_REGS", ";", "nextarg", "=", "gen_rtx_PLUS", "(", "Pmode", ",", "virtual_incoming_args_rtx", ",", "GEN_INT", "(", "UNITS_PER_WORD", "*", "num", ")", ")", ";", "if", "(", "TARGET_DEBUG_ARG", ")", "{", "fprintf", "(", "stderr", ",", "\"va_start: args_info = %d, num = %d\\n\"", ",", "crtl", "->", "args", ".", "info", ",", "num", ")", ";", "debug_rtx", "(", "nextarg", ")", ";", "}", "t", "=", "build2", "(", "MODIFY_EXPR", ",", "TREE_TYPE", "(", "valist", ")", ",", "valist", ",", "fold_convert", "(", "TREE_TYPE", "(", "valist", ")", ",", "make_tree", "(", "sizetype", ",", "nextarg", ")", ")", ")", ";", "TREE_SIDE_EFFECTS", "(", "t", ")", "=", "1", ";", "expand_expr", "(", "t", ",", "const0_rtx", ",", "VOIDmode", ",", "EXPAND_NORMAL", ")", ";", "}", ""], "natrual_language": ["Expand", "__builtin_va_start", "to", "do", "the", "va_start", "macro", "."], "TS_V_token": ["frv", "\"va_start: args_info = %d, num = %d\\n\"", "1"], "File": "frv", "Func": "frv_expand_builtin_va_start", "Target": "frv", "Target_Clf": "VLIW", "Compiler_Type": "GCC", "Idx": 157, "Length": 117, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "SDValue", "MSP430TargetLowering", "::", "LowerOperation", "(", "SDValue", "Op", ",", "SelectionDAG", "&", "DAG", ")", "{", "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", "::", "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\"", ")", ";", "return", "SDValue", "(", ")", ";", "}", "}", ""], "natrual_language": ["LowerOperation", "-", "Provide", "custom", "lowering", "hooks", "for", "some", "operations", "."], "TS_V_token": ["MSP430", "MSP430", "ISD::SHL", "ISD::SRL", "ISD::SRA", "ISD::GlobalAddress", "ISD::ExternalSymbol", "ISD::BR_CC", "ISD::SELECT_CC", "ISD::SIGN_EXTEND", "\"unimplemented operand\""], "File": "MSP430ISelLowering13", "Func": "LowerOperation", "Target": "MSP430", "Target_Clf": "MPU", "Compiler_Type": "LLVM", "Idx": 158, "Length": 124, "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": 159, "Length": 137, "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": 160, "Length": 314, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "unsigned", "CFGStructurizer", "<", "PassT", ">", "::", "getLoopDepth", "(", "LoopT", "*", "loopRep", ")", "{", "return", "loopRep", "?", "loopRep", "->", "getLoopDepth", "(", ")", ":", "0", ";", "}", ""], "natrual_language": ["Return", "the", "loop", "nesting", "level", "of", "the", "specified", "block", "."], "TS_V_token": ["R600", "0"], "File": "AMDILCFGStructurizer16", "Func": "getLoopDepth", "Target": "R600", "Target_Clf": "GPU", "Compiler_Type": "LLVM", "Idx": 161, "Length": 25, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "bool", "HexagonTargetLowering", "::", "getTgtMemIntrinsic", "(", "IntrinsicInfo", "&", "Info", ",", "const", "CallInst", "&", "I", ",", "MachineFunction", "&", "MF", ",", "unsigned", "Intrinsic", ")", "const", "{", "switch", "(", "Intrinsic", ")", "{", "case", "Intrinsic", "::", "hexagon_L2_loadrd_pbr", ":", "case", "Intrinsic", "::", "hexagon_L2_loadri_pbr", ":", "case", "Intrinsic", "::", "hexagon_L2_loadrh_pbr", ":", "case", "Intrinsic", "::", "hexagon_L2_loadruh_pbr", ":", "case", "Intrinsic", "::", "hexagon_L2_loadrb_pbr", ":", "case", "Intrinsic", "::", "hexagon_L2_loadrub_pbr", ":", "{", "Info", ".", "opc", "=", "ISD", "::", "INTRINSIC_W_CHAIN", ";", "auto", "&", "DL", "=", "I", ".", "getCalledFunction", "(", ")", "->", "getParent", "(", ")", "->", "getDataLayout", "(", ")", ";", "auto", "&", "Cont", "=", "I", ".", "getCalledFunction", "(", ")", "->", "getParent", "(", ")", "->", "getContext", "(", ")", ";", "Type", "*", "ElTy", "=", "I", ".", "getCalledFunction", "(", ")", "->", "getReturnType", "(", ")", "->", "getStructElementType", "(", "0", ")", ";", "Info", ".", "memVT", "=", "MVT", "::", "getVT", "(", "ElTy", ")", ";", "llvm", "::", "Value", "*", "BasePtrVal", "=", "I", ".", "getOperand", "(", "0", ")", ";", "Info", ".", "ptrVal", "=", "getUnderLyingObjectForBrevLdIntr", "(", "BasePtrVal", ")", ";", "Info", ".", "offset", "=", "0", ";", "Info", ".", "align", "=", "MaybeAlign", "(", "DL", ".", "getABITypeAlignment", "(", "Info", ".", "memVT", ".", "getTypeForEVT", "(", "Cont", ")", ")", ")", ";", "Info", ".", "flags", "=", "MachineMemOperand", "::", "MOLoad", ";", "return", "true", ";", "}", "case", "Intrinsic", "::", "hexagon_V6_vgathermw", ":", "case", "Intrinsic", "::", "hexagon_V6_vgathermw_128B", ":", "case", "Intrinsic", "::", "hexagon_V6_vgathermh", ":", "case", "Intrinsic", "::", "hexagon_V6_vgathermh_128B", ":", "case", "Intrinsic", "::", "hexagon_V6_vgathermhw", ":", "case", "Intrinsic", "::", "hexagon_V6_vgathermhw_128B", ":", "case", "Intrinsic", "::", "hexagon_V6_vgathermwq", ":", "case", "Intrinsic", "::", "hexagon_V6_vgathermwq_128B", ":", "case", "Intrinsic", "::", "hexagon_V6_vgathermhq", ":", "case", "Intrinsic", "::", "hexagon_V6_vgathermhq_128B", ":", "case", "Intrinsic", "::", "hexagon_V6_vgathermhwq", ":", "case", "Intrinsic", "::", "hexagon_V6_vgathermhwq_128B", ":", "{", "const", "Module", "&", "M", "=", "*", "I", ".", "getParent", "(", ")", "->", "getParent", "(", ")", "->", "getParent", "(", ")", ";", "Info", ".", "opc", "=", "ISD", "::", "INTRINSIC_W_CHAIN", ";", "Type", "*", "VecTy", "=", "I", ".", "getArgOperand", "(", "1", ")", "->", "getType", "(", ")", ";", "Info", ".", "memVT", "=", "MVT", "::", "getVT", "(", "VecTy", ")", ";", "Info", ".", "ptrVal", "=", "I", ".", "getArgOperand", "(", "0", ")", ";", "Info", ".", "offset", "=", "0", ";", "Info", ".", "align", "=", "MaybeAlign", "(", "M", ".", "getDataLayout", "(", ")", ".", "getTypeAllocSizeInBits", "(", "VecTy", ")", "/", "8", ")", ";", "Info", ".", "flags", "=", "MachineMemOperand", "::", "MOLoad", "|", "MachineMemOperand", "::", "MOStore", "|", "MachineMemOperand", "::", "MOVolatile", ";", "return", "true", ";", "}", "default", ":", "break", ";", "}", "return", "false", ";", "}", ""], "natrual_language": ["Given", "an", "intrinsic", ",", "checks", "if", "on", "the", "target", "the", "intrinsic", "will", "need", "to", "map", "to", "a", "MemIntrinsicNode", "(", "touches", "memory", ")", "."], "TS_V_token": ["Hexagon", "Hexagon", "Intrinsic::hexagon_L2_loadrd_pbr", "Intrinsic::hexagon_L2_loadri_pbr", "Intrinsic::hexagon_L2_loadrh_pbr", "Intrinsic::hexagon_L2_loadruh_pbr", "Intrinsic::hexagon_L2_loadrb_pbr", "Intrinsic::hexagon_L2_loadrub_pbr", "ISD::INTRINSIC_W_CHAIN", "0", "MVT::getVT", "0", "0", "Intrinsic::hexagon_V6_vgathermw", "Intrinsic::hexagon_V6_vgathermw_128B", "Intrinsic::hexagon_V6_vgathermh", "Intrinsic::hexagon_V6_vgathermh_128B", "Intrinsic::hexagon_V6_vgathermhw", "Intrinsic::hexagon_V6_vgathermhw_128B", "Intrinsic::hexagon_V6_vgathermwq", "Intrinsic::hexagon_V6_vgathermwq_128B", "Intrinsic::hexagon_V6_vgathermhq", "Intrinsic::hexagon_V6_vgathermhq_128B", "Intrinsic::hexagon_V6_vgathermhwq", "Intrinsic::hexagon_V6_vgathermhwq_128B", "ISD::INTRINSIC_W_CHAIN", "1", "MVT::getVT", "0", "0", "8"], "File": "HexagonISelLowering103", "Func": "getTgtMemIntrinsic", "Target": "Hexagon", "Target_Clf": "DSP", "Compiler_Type": "LLVM", "Idx": 162, "Length": 375, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "bool", "ARMTargetLowering", "::", "shouldExpandAtomicCmpXchgInIR", "(", "AtomicCmpXchgInst", "*", "AI", ")", "const", "{", "bool", "hasAtomicCmpXchg", "=", "!", "Subtarget", "->", "isThumb", "(", ")", "||", "Subtarget", "->", "hasV8MBaselineOps", "(", ")", ";", "return", "getTargetMachine", "(", ")", ".", "getOptLevel", "(", ")", "!=", "0", "&&", "hasAtomicCmpXchg", ";", "}", ""], "natrual_language": ["Returns", "how", "the", "given", "atomic", "cmpxchg", "should", "be", "expanded", "by", "the", "IR-level", "AtomicExpand", "pass", "."], "TS_V_token": ["ARM", "ARM", "0"], "File": "ARMISelLowering106", "Func": "shouldExpandAtomicCmpXchgInIR", "Target": "ARM", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 163, "Length": 41, "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": 164, "Length": 403, "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", "==", "V2SImode", "&&", "TARGET_SPE", ")", "||", "(", "(", "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": ["powerpcspe", "1", "2", "0", "1"], "File": "powerpcspe", "Func": "rs6000_vectorize_vec_perm_const", "Target": "powerpcspe", "Target_Clf": "CPU", "Compiler_Type": "GCC", "Idx": 165, "Length": 161, "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": 166, "Length": 102, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "rtx", "z8k_legitimize_address", "(", "rtx", "x", ",", "rtx", "oldx", "ATTRIBUTE_UNUSED", ",", "enum", "machine_mode", "mode", "ATTRIBUTE_UNUSED", ")", "{", "if", "(", "TARGET_PIC", ")", "{", "if", "(", "GET_CODE", "(", "oldx", ")", "==", "SYMBOL_REF", "||", "GET_CODE", "(", "oldx", ")", "==", "LABEL_REF", ")", "{", "rtx", "ptr", "=", "gen_reg_rtx", "(", "Pmode", ")", ";", "emit_insn", "(", "gen_rtx_SET", "(", "VOIDmode", ",", "ptr", ",", "gen_rtx_LO_SUM", "(", "pic_reg", ",", "oldx", ")", ")", ")", ";", "return", "gen_rtx_MEM", "(", "mode", ",", "ptr", ")", ";", "}", "}", "return", "x", ";", "}", ""], "natrual_language": ["This", "hook", "is", "given", "an", "invalid", "memory", "address", "x", "for", "an", "operand", "of", "mode", "mode", "and", "should", "try", "to", "return", "a", "valid", "memory", "address", ".", "x", "will", "always", "be", "the", "result", "of", "a", "call", "to", "break_out_memory_refs", ",", "and", "oldx", "will", "be", "the", "operand", "that", "was", "given", "to", "that", "function", "to", "produce", "x", ".", "The", "code", "of", "the", "hook", "should", "not", "alter", "the", "substructure", "of", "x", ".", "If", "it", "transforms", "x", "into", "a", "more", "legitimate", "form", ",", "it", "should", "return", "the", "new", "x", "."], "TS_V_token": ["z8k"], "File": "z8k", "Func": "z8k_legitimize_address", "Target": "z8k", "Target_Clf": "MPU", "Compiler_Type": "GCC", "Idx": 167, "Length": 77, "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": ["RI5CY", "0", "RISCV::GPRRegClass"], "File": "RISCVRegisterInfo", "Func": "getPointerRegClass", "Target": "RI5CY", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 168, "Length": 25, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "static", "int", "bfin_address_cost", "(", "rtx", "addr", "ATTRIBUTE_UNUSED", ")", "{", "return", "1", ";", "}", ""], "natrual_language": ["Return", "cost", "of", "the", "memory", "address", "ADDR", ".", "All", "addressing", "modes", "are", "equally", "cheap", "on", "the", "Blackfin", "."], "TS_V_token": ["bfin", "1"], "File": "bfin2", "Func": "bfin_address_cost", "Target": "bfin", "Target_Clf": "DSP", "Compiler_Type": "GCC", "Idx": 169, "Length": 13, "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": 170, "Length": 90, "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": 171, "Length": 65, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "bool", "SIPostRABundler", "::", "runOnMachineFunction", "(", "MachineFunction", "&", "MF", ")", "{", "if", "(", "skipFunction", "(", "MF", ".", "getFunction", "(", ")", ")", ")", "return", "false", ";", "TRI", "=", "MF", ".", "getSubtarget", "<", "GCNSubtarget", ">", "(", ")", ".", "getRegisterInfo", "(", ")", ";", "bool", "Changed", "=", "false", ";", "const", "uint64_t", "MemFlags", "=", "SIInstrFlags", "::", "MTBUF", "|", "SIInstrFlags", "::", "MUBUF", "|", "SIInstrFlags", "::", "SMRD", "|", "SIInstrFlags", "::", "DS", "|", "SIInstrFlags", "::", "FLAT", "|", "SIInstrFlags", "::", "MIMG", ";", "for", "(", "MachineBasicBlock", "&", "MBB", ":", "MF", ")", "{", "MachineBasicBlock", "::", "instr_iterator", "Next", ";", "MachineBasicBlock", "::", "instr_iterator", "B", "=", "MBB", ".", "instr_begin", "(", ")", ";", "MachineBasicBlock", "::", "instr_iterator", "E", "=", "MBB", ".", "instr_end", "(", ")", ";", "for", "(", "auto", "I", "=", "B", ";", "I", "!=", "E", ";", "I", "=", "Next", ")", "{", "Next", "=", "std", "::", "next", "(", "I", ")", ";", "const", "uint64_t", "IMemFlags", "=", "I", "->", "getDesc", "(", ")", ".", "TSFlags", "&", "MemFlags", ";", "if", "(", "IMemFlags", "==", "0", "||", "I", "->", "isBundled", "(", ")", "||", "!", "I", "->", "mayLoadOrStore", "(", ")", "||", "B", "->", "mayLoad", "(", ")", "!=", "I", "->", "mayLoad", "(", ")", "||", "B", "->", "mayStore", "(", ")", "!=", "I", "->", "mayStore", "(", ")", "||", "(", "(", "B", "->", "getDesc", "(", ")", ".", "TSFlags", "&", "MemFlags", ")", "!=", "IMemFlags", ")", "||", "isDependentLoad", "(", "*", "I", ")", ")", "{", "if", "(", "B", "!=", "I", ")", "{", "if", "(", "std", "::", "next", "(", "B", ")", "!=", "I", ")", "{", "finalizeBundle", "(", "MBB", ",", "B", ",", "I", ")", ";", "Changed", "=", "true", ";", "}", "Next", "=", "I", ";", "}", "B", "=", "Next", ";", "Defs", ".", "clear", "(", ")", ";", "continue", ";", "}", "if", "(", "I", "->", "getNumExplicitDefs", "(", ")", "==", "0", ")", "continue", ";", "Defs", ".", "insert", "(", "I", "->", "defs", "(", ")", ".", "begin", "(", ")", "->", "getReg", "(", ")", ")", ";", "}", "if", "(", "B", "!=", "E", "&&", "std", "::", "next", "(", "B", ")", "!=", "E", ")", "{", "finalizeBundle", "(", "MBB", ",", "B", ",", "E", ")", ";", "Changed", "=", "true", ";", "}", "Defs", ".", "clear", "(", ")", ";", "}", "return", "Changed", ";", "}", ""], "natrual_language": ["runOnMachineFunction", "-", "Emit", "the", "function", "body", "."], "TS_V_token": ["AMDGPU", "SI", "SIInstrFlags::MTBUF", "SIInstrFlags::MUBUF", "SIInstrFlags::SMRD", "SIInstrFlags::DS", "SIInstrFlags::FLAT", "SIInstrFlags::MIMG", "0", "0"], "File": "SIPostRABundler5", "Func": "runOnMachineFunction", "Target": "AMDGPU", "Target_Clf": "GPU", "Compiler_Type": "LLVM", "Idx": 172, "Length": 337, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "void", "getAnalysisUsage", "(", "AnalysisUsage", "&", "AU", ")", "const", "override", "{", "AU", ".", "setPreservesCFG", "(", ")", ";", "MachineFunctionPass", "::", "getAnalysisUsage", "(", "AU", ")", ";", "AU", ".", "addRequired", "<", "MachineDominatorTree", ">", "(", ")", ";", "AU", ".", "addPreserved", "<", "MachineDominatorTree", ">", "(", ")", ";", "}", ""], "natrual_language": ["getAnalysisUsage", "-", "Subclasses", "that", "override", "getAnalysisUsage", "must", "call", "this", "."], "TS_V_token": ["ARC"], "File": "ARCOptAddrMode", "Func": "getAnalysisUsage", "Target": "ARC", "Target_Clf": "MPU", "Compiler_Type": "LLVM", "Idx": 173, "Length": 42, "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": 174, "Length": 473, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "const", "GBZ80Subtarget", "*", "GBZ80TargetMachine", "::", "getSubtargetImpl", "(", "const", "Function", "&", ")", "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": ["GBZ80", "GB", "GB"], "File": "GBZ80TargetMachine", "Func": "getSubtargetImpl", "Target": "GBZ80", "Target_Clf": "MPU", "Compiler_Type": "LLVM", "Idx": 175, "Length": 18, "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": 176, "Length": 137, "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": 177, "Length": 355, "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": 178, "Length": 444, "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": 179, "Length": 16, "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", "==", "\".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", "(", ")", ")", ";", "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", "\".hword\"", "2", "\".word\"", "4", "\".xword\"", "8", "\".tlsdesccall\"", "\".ltorg\"", "\".pool\"", "\".unreq\"", "\".inst\""], "File": "AArch64AsmParser (2)1", "Func": "ParseDirective", "Target": "AArch64", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 180, "Length": 180, "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": 181, "Length": 113, "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": 182, "Length": 186, "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": 183, "Length": 145, "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": ["Patmos"], "File": "PatmosAsmParser", "Func": "isReg", "Target": "Patmos", "Target_Clf": "VLIW", "Compiler_Type": "LLVM", "Idx": 184, "Length": 12, "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": 185, "Length": 494, "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": 186, "Length": 95, "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": 187, "Length": 10, "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": 188, "Length": 13, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "SDValue", "PIC16TargetLowering", "::", "LowerOperation", "(", "SDValue", "Op", ",", "SelectionDAG", "&", "DAG", ")", "{", "switch", "(", "Op", ".", "getOpcode", "(", ")", ")", "{", "case", "ISD", "::", "FORMAL_ARGUMENTS", ":", "return", "LowerFORMAL_ARGUMENTS", "(", "Op", ",", "DAG", ")", ";", "case", "ISD", "::", "ADD", ":", "case", "ISD", "::", "ADDC", ":", "case", "ISD", "::", "ADDE", ":", "return", "LowerADD", "(", "Op", ",", "DAG", ")", ";", "case", "ISD", "::", "SUB", ":", "case", "ISD", "::", "SUBC", ":", "case", "ISD", "::", "SUBE", ":", "return", "LowerSUB", "(", "Op", ",", "DAG", ")", ";", "case", "ISD", "::", "LOAD", ":", "return", "ExpandLoad", "(", "Op", ".", "getNode", "(", ")", ",", "DAG", ")", ";", "case", "ISD", "::", "STORE", ":", "return", "ExpandStore", "(", "Op", ".", "getNode", "(", ")", ",", "DAG", ")", ";", "case", "ISD", "::", "SHL", ":", "case", "ISD", "::", "SRA", ":", "case", "ISD", "::", "SRL", ":", "return", "LowerShift", "(", "Op", ",", "DAG", ")", ";", "case", "ISD", "::", "OR", ":", "case", "ISD", "::", "AND", ":", "case", "ISD", "::", "XOR", ":", "return", "LowerBinOp", "(", "Op", ",", "DAG", ")", ";", "case", "ISD", "::", "CALL", ":", "return", "LowerCALL", "(", "Op", ",", "DAG", ")", ";", "case", "ISD", "::", "RET", ":", "return", "LowerRET", "(", "Op", ",", "DAG", ")", ";", "case", "ISD", "::", "BR_CC", ":", "return", "LowerBR_CC", "(", "Op", ",", "DAG", ")", ";", "case", "ISD", "::", "SELECT_CC", ":", "return", "LowerSELECT_CC", "(", "Op", ",", "DAG", ")", ";", "}", "return", "SDValue", "(", ")", ";", "}", ""], "natrual_language": ["LowerOperation", "-", "Provide", "custom", "lowering", "hooks", "for", "some", "operations", "."], "TS_V_token": ["PIC16", "PIC16", "ISD::FORMAL_ARGUMENTS", "ISD::ADD", "ISD::ADDC", "ISD::ADDE", "ISD::SUB", "ISD::SUBC", "ISD::SUBE", "ISD::LOAD", "ISD::STORE", "ISD::SHL", "ISD::SRA", "ISD::SRL", "ISD::OR", "ISD::AND", "ISD::XOR", "ISD::CALL", "ISD::RET", "ISD::BR_CC", "ISD::SELECT_CC"], "File": "PIC16ISelLowering2", "Func": "LowerOperation", "Target": "PIC16", "Target_Clf": "MPU", "Compiler_Type": "LLVM", "Idx": 189, "Length": 220, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "bool", "SIPeepholeSDWA", "::", "runOnMachineFunction", "(", "MachineFunction", "&", "MF", ")", "{", "const", "GCNSubtarget", "&", "ST", "=", "MF", ".", "getSubtarget", "<", "GCNSubtarget", ">", "(", ")", ";", "if", "(", "!", "ST", ".", "hasSDWA", "(", ")", "||", "skipFunction", "(", "MF", ".", "getFunction", "(", ")", ")", ")", "return", "false", ";", "MRI", "=", "&", "MF", ".", "getRegInfo", "(", ")", ";", "TRI", "=", "ST", ".", "getRegisterInfo", "(", ")", ";", "TII", "=", "ST", ".", "getInstrInfo", "(", ")", ";", "bool", "Ret", "=", "false", ";", "for", "(", "MachineBasicBlock", "&", "MBB", ":", "MF", ")", "{", "bool", "Changed", "=", "false", ";", "do", "{", "matchSDWAOperands", "(", "MBB", ")", ";", "for", "(", "const", "auto", "&", "OperandPair", ":", "SDWAOperands", ")", "{", "const", "auto", "&", "Operand", "=", "OperandPair", ".", "second", ";", "MachineInstr", "*", "PotentialMI", "=", "Operand", "->", "potentialToConvert", "(", "TII", ")", ";", "if", "(", "PotentialMI", "&&", "(", "PotentialMI", "->", "getOpcode", "(", ")", "==", "AMDGPU", "::", "V_ADD_I32_e64", "||", "PotentialMI", "->", "getOpcode", "(", ")", "==", "AMDGPU", "::", "V_SUB_I32_e64", ")", ")", "pseudoOpConvertToVOP2", "(", "*", "PotentialMI", ",", "ST", ")", ";", "}", "SDWAOperands", ".", "clear", "(", ")", ";", "matchSDWAOperands", "(", "MBB", ")", ";", "for", "(", "const", "auto", "&", "OperandPair", ":", "SDWAOperands", ")", "{", "const", "auto", "&", "Operand", "=", "OperandPair", ".", "second", ";", "MachineInstr", "*", "PotentialMI", "=", "Operand", "->", "potentialToConvert", "(", "TII", ")", ";", "if", "(", "PotentialMI", "&&", "isConvertibleToSDWA", "(", "*", "PotentialMI", ",", "ST", ")", ")", "{", "PotentialMatches", "[", "PotentialMI", "]", ".", "push_back", "(", "Operand", ".", "get", "(", ")", ")", ";", "}", "}", "for", "(", "auto", "&", "PotentialPair", ":", "PotentialMatches", ")", "{", "MachineInstr", "&", "PotentialMI", "=", "*", "PotentialPair", ".", "first", ";", "convertToSDWA", "(", "PotentialMI", ",", "PotentialPair", ".", "second", ")", ";", "}", "PotentialMatches", ".", "clear", "(", ")", ";", "SDWAOperands", ".", "clear", "(", ")", ";", "Changed", "=", "!", "ConvertedInstructions", ".", "empty", "(", ")", ";", "if", "(", "Changed", ")", "Ret", "=", "true", ";", "while", "(", "!", "ConvertedInstructions", ".", "empty", "(", ")", ")", "legalizeScalarOperands", "(", "*", "ConvertedInstructions", ".", "pop_back_val", "(", ")", ",", "ST", ")", ";", "}", "while", "(", "Changed", ")", ";", "}", "return", "Ret", ";", "}", ""], "natrual_language": ["runOnMachineFunction", "-", "Emit", "the", "function", "body", "."], "TS_V_token": ["AMDGPU", "SI", "AMDGPU::V_ADD_I32_e64", "AMDGPU::V_SUB_I32_e64"], "File": "SIPeepholeSDWA13", "Func": "runOnMachineFunction", "Target": "AMDGPU", "Target_Clf": "GPU", "Compiler_Type": "LLVM", "Idx": 190, "Length": 320, "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": 191, "Length": 26, "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": 192, "Length": 79, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "bool", "NVPTXLowerAggrCopies", "::", "runOnFunction", "(", "Function", "&", "F", ")", "{", "SmallVector", "<", "LoadInst", "*", ",", "4", ">", "AggrLoads", ";", "SmallVector", "<", "MemIntrinsic", "*", ",", "4", ">", "MemCalls", ";", "const", "DataLayout", "&", "DL", "=", "F", ".", "getParent", "(", ")", "->", "getDataLayout", "(", ")", ";", "LLVMContext", "&", "Context", "=", "F", ".", "getParent", "(", ")", "->", "getContext", "(", ")", ";", "for", "(", "Function", "::", "iterator", "BI", "=", "F", ".", "begin", "(", ")", ",", "BE", "=", "F", ".", "end", "(", ")", ";", "BI", "!=", "BE", ";", "++", "BI", ")", "{", "for", "(", "BasicBlock", "::", "iterator", "II", "=", "BI", "->", "begin", "(", ")", ",", "IE", "=", "BI", "->", "end", "(", ")", ";", "II", "!=", "IE", ";", "++", "II", ")", "{", "if", "(", "LoadInst", "*", "LI", "=", "dyn_cast", "<", "LoadInst", ">", "(", "II", ")", ")", "{", "if", "(", "!", "LI", "->", "hasOneUse", "(", ")", ")", "continue", ";", "if", "(", "DL", ".", "getTypeStoreSize", "(", "LI", "->", "getType", "(", ")", ")", "<", "MaxAggrCopySize", ")", "continue", ";", "if", "(", "StoreInst", "*", "SI", "=", "dyn_cast", "<", "StoreInst", ">", "(", "LI", "->", "user_back", "(", ")", ")", ")", "{", "if", "(", "SI", "->", "getOperand", "(", "0", ")", "!=", "LI", ")", "continue", ";", "AggrLoads", ".", "push_back", "(", "LI", ")", ";", "}", "}", "else", "if", "(", "MemIntrinsic", "*", "IntrCall", "=", "dyn_cast", "<", "MemIntrinsic", ">", "(", "II", ")", ")", "{", "if", "(", "ConstantInt", "*", "LenCI", "=", "dyn_cast", "<", "ConstantInt", ">", "(", "IntrCall", "->", "getLength", "(", ")", ")", ")", "{", "if", "(", "LenCI", "->", "getZExtValue", "(", ")", ">=", "MaxAggrCopySize", ")", "{", "MemCalls", ".", "push_back", "(", "IntrCall", ")", ";", "}", "}", "else", "{", "MemCalls", ".", "push_back", "(", "IntrCall", ")", ";", "}", "}", "}", "}", "if", "(", "AggrLoads", ".", "size", "(", ")", "==", "0", "&&", "MemCalls", ".", "size", "(", ")", "==", "0", ")", "{", "return", "false", ";", "}", "for", "(", "LoadInst", "*", "LI", ":", "AggrLoads", ")", "{", "StoreInst", "*", "SI", "=", "dyn_cast", "<", "StoreInst", ">", "(", "*", "LI", "->", "user_begin", "(", ")", ")", ";", "Value", "*", "SrcAddr", "=", "LI", "->", "getOperand", "(", "0", ")", ";", "Value", "*", "DstAddr", "=", "SI", "->", "getOperand", "(", "1", ")", ";", "unsigned", "NumLoads", "=", "DL", ".", "getTypeStoreSize", "(", "LI", "->", "getType", "(", ")", ")", ";", "Value", "*", "CopyLen", "=", "ConstantInt", "::", "get", "(", "Type", "::", "getInt32Ty", "(", "Context", ")", ",", "NumLoads", ")", ";", "createMemCpyLoop", "(", "SI", ",", "SrcAddr", ",", "DstAddr", ",", "CopyLen", ",", "LI", "->", "getAlignment", "(", ")", ",", "SI", "->", "getAlignment", "(", ")", ",", "LI", "->", "isVolatile", "(", ")", ",", "SI", "->", "isVolatile", "(", ")", ")", ";", "SI", "->", "eraseFromParent", "(", ")", ";", "LI", "->", "eraseFromParent", "(", ")", ";", "}", "for", "(", "MemIntrinsic", "*", "MemCall", ":", "MemCalls", ")", "{", "if", "(", "MemCpyInst", "*", "Memcpy", "=", "dyn_cast", "<", "MemCpyInst", ">", "(", "MemCall", ")", ")", "{", "expandMemCpyAsLoop", "(", "Memcpy", ")", ";", "}", "else", "if", "(", "MemMoveInst", "*", "Memmove", "=", "dyn_cast", "<", "MemMoveInst", ">", "(", "MemCall", ")", ")", "{", "expandMemMoveAsLoop", "(", "Memmove", ")", ";", "}", "else", "if", "(", "MemSetInst", "*", "Memset", "=", "dyn_cast", "<", "MemSetInst", ">", "(", "MemCall", ")", ")", "{", "expandMemSetAsLoop", "(", "Memset", ")", ";", "}", "MemCall", "->", "eraseFromParent", "(", ")", ";", "}", "return", "true", ";", "}", ""], "natrual_language": ["runOnFunction", "-", "Virtual", "method", "overriden", "by", "subclasses", "to", "do", "the", "per-function", "processing", "of", "the", "pass", "."], "TS_V_token": ["NVPTX", "NVPTX", "4", "4", "0", "0", "0", "0", "1"], "File": "NVPTXLowerAggrCopies26", "Func": "runOnFunction", "Target": "NVPTX", "Target_Clf": "GPU", "Compiler_Type": "LLVM", "Idx": 193, "Length": 503, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "static", "int", "microblaze_save_volatiles", "(", "tree", "func", ")", "{", "tree", "a", ";", "if", "(", "TREE_CODE", "(", "func", ")", "!=", "FUNCTION_DECL", ")", "return", "0", ";", "a", "=", "lookup_attribute", "(", "\"save_volatiles\"", ",", "DECL_ATTRIBUTES", "(", "func", ")", ")", ";", "return", "a", "!=", "NULL_TREE", ";", "}", ""], "natrual_language": ["Return", "true", "if", "FUNC", "is", "an", "interrupt", "function", "which", "uses", "normal", "return", ",", "indicated", "by", "the", "``", "save_volatiles", "''", "attribute", "."], "TS_V_token": ["microblaze", "0", "\"save_volatiles\""], "File": "microblaze", "Func": "microblaze_save_volatiles", "Target": "microblaze", "Target_Clf": "MPU", "Compiler_Type": "GCC", "Idx": 194, "Length": 41, "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": 195, "Length": 33, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "void", "MBlazeInstrInfo", "::", "storeRegToStackSlot", "(", "MachineBasicBlock", "&", "MBB", ",", "MachineBasicBlock", "::", "iterator", "I", ",", "unsigned", "SrcReg", ",", "bool", "isKill", ",", "int", "FI", ",", "const", "TargetRegisterClass", "*", "RC", ",", "const", "TargetRegisterInfo", "*", "TRI", ")", "const", "{", "DebugLoc", "DL", ";", "BuildMI", "(", "MBB", ",", "I", ",", "DL", ",", "get", "(", "MBlaze", "::", "SWI", ")", ")", ".", "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": ["MBlaze", "MBlaze", "MBlaze::SWI", "0"], "File": "MBlazeInstrInfo1", "Func": "storeRegToStackSlot", "Target": "MBlaze", "Target_Clf": "MPU", "Compiler_Type": "LLVM", "Idx": 196, "Length": 75, "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": 197, "Length": 40, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "bool", "Z80Operand", "::", "isImm", "(", ")", "const", "{", "return", "this", "->", "Kind", "==", "k_Imm", ";", "}", ""], "natrual_language": ["isImm", "-", "Is", "this", "an", "immediate", "operand", "?"], "TS_V_token": ["Z80", "Z80"], "File": "Z80Operand", "Func": "isImm", "Target": "Z80", "Target_Clf": "MPU", "Compiler_Type": "LLVM", "Idx": 198, "Length": 16, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "BitVector", "MSP430RegisterInfo", "::", "getReservedRegs", "(", "const", "MachineFunction", "&", "MF", ")", "const", "{", "BitVector", "Reserved", "(", "getNumRegs", "(", ")", ")", ";", "const", "TargetFrameLowering", "*", "TFI", "=", "MF", ".", "getTarget", "(", ")", ".", "getFrameLowering", "(", ")", ";", "Reserved", ".", "set", "(", "MSP430", "::", "PCB", ")", ";", "Reserved", ".", "set", "(", "MSP430", "::", "SPB", ")", ";", "Reserved", ".", "set", "(", "MSP430", "::", "SRB", ")", ";", "Reserved", ".", "set", "(", "MSP430", "::", "CGB", ")", ";", "Reserved", ".", "set", "(", "MSP430", "::", "PCW", ")", ";", "Reserved", ".", "set", "(", "MSP430", "::", "SPW", ")", ";", "Reserved", ".", "set", "(", "MSP430", "::", "SRW", ")", ";", "Reserved", ".", "set", "(", "MSP430", "::", "CGW", ")", ";", "if", "(", "TFI", "->", "hasFP", "(", "MF", ")", ")", "Reserved", ".", "set", "(", "MSP430", "::", "FPW", ")", ";", "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": ["MSP430", "MSP430", "MSP430::PCB", "MSP430::SPB", "MSP430::SRB", "MSP430::CGB", "MSP430::PCW", "MSP430::SPW", "MSP430::SRW", "MSP430::CGW", "MSP430::FPW"], "File": "MSP430RegisterInfo12", "Func": "getReservedRegs", "Target": "MSP430", "Target_Clf": "MPU", "Compiler_Type": "LLVM", "Idx": 199, "Length": 129, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "Instruction", "*", "front", "(", ")", "const", "{", "return", "Chain", ".", "front", "(", ")", ";", "}", ""], "natrual_language": ["front", "-", "Get", "the", "first", "character", "in", "the", "string", "."], "TS_V_token": ["Hexagon"], "File": "HexagonVectorLoopCarriedReuse", "Func": "front", "Target": "Hexagon", "Target_Clf": "DSP", "Compiler_Type": "LLVM", "Idx": 200, "Length": 15, "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": 201, "Length": 457, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "bool", "AMDGPUTargetLowering", "::", "isCheapToSpeculateCttz", "(", ")", "const", "{", "return", "true", ";", "}", ""], "natrual_language": ["Return", "true", "if", "it", "is", "cheap", "to", "speculate", "a", "call", "to", "intrinsic", "cttz", "."], "TS_V_token": ["R600"], "File": "AMDGPUISelLowering100", "Func": "isCheapToSpeculateCttz", "Target": "R600", "Target_Clf": "GPU", "Compiler_Type": "LLVM", "Idx": 202, "Length": 12, "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": 203, "Length": 94, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "static", "bool", "spu_function_ok_for_sibcall", "(", "tree", "decl", ",", "tree", "exp", "ATTRIBUTE_UNUSED", ")", "{", "return", "decl", "&&", "!", "TARGET_LARGE_MEM", ";", "}", ""], "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": ["spu"], "File": "spu", "Func": "spu_function_ok_for_sibcall", "Target": "spu", "Target_Clf": "MPU", "Compiler_Type": "GCC", "Idx": 204, "Length": 19, "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", ")", ";", "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-features", "Func": "ix86_get_function_versions_dispatcher", "Target": "i386", "Target_Clf": "CPU", "Compiler_Type": "GCC", "Idx": 205, "Length": 354, "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": 206, "Length": 42, "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": 207, "Length": 253, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "virtual", "const", "VideocoreRegisterInfo", "*", "getRegisterInfo", "(", ")", "const", "{", "return", "&", "getInstrInfo", "(", ")", "->", "getRegisterInfo", "(", ")", ";", "}", ""], "natrual_language": ["getRegisterInfo", "-", "TargetInstrInfo", "is", "a", "superset", "of", "MRegister", "info", "."], "TS_V_token": ["Videocore", "Videocore"], "File": "VideocoreTargetMachine", "Func": "getRegisterInfo", "Target": "Videocore", "Target_Clf": "DSP", "Compiler_Type": "LLVM", "Idx": 208, "Length": 20, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "SDValue", "M68kTargetLowering", "::", "LowerOperation", "(", "SDValue", "Op", ",", "SelectionDAG", "&", "DAG", ")", "const", "{", "switch", "(", "Op", ".", "getOpcode", "(", ")", ")", "{", "default", ":", "llvm_unreachable", "(", "\"Should not custom lower this!\"", ")", ";", "case", "ISD", "::", "SADDO", ":", "case", "ISD", "::", "UADDO", ":", "case", "ISD", "::", "SSUBO", ":", "case", "ISD", "::", "USUBO", ":", "case", "ISD", "::", "SMULO", ":", "case", "ISD", "::", "UMULO", ":", "return", "LowerXALUO", "(", "Op", ",", "DAG", ")", ";", "case", "ISD", "::", "SETCC", ":", "return", "LowerSETCC", "(", "Op", ",", "DAG", ")", ";", "case", "ISD", "::", "SETCCCARRY", ":", "return", "LowerSETCCCARRY", "(", "Op", ",", "DAG", ")", ";", "case", "ISD", "::", "SELECT", ":", "return", "LowerSELECT", "(", "Op", ",", "DAG", ")", ";", "case", "ISD", "::", "BRCOND", ":", "return", "LowerBRCOND", "(", "Op", ",", "DAG", ")", ";", "case", "ISD", "::", "ADDC", ":", "case", "ISD", "::", "ADDE", ":", "case", "ISD", "::", "SUBC", ":", "case", "ISD", "::", "SUBE", ":", "return", "LowerADDC_ADDE_SUBC_SUBE", "(", "Op", ",", "DAG", ")", ";", "case", "ISD", "::", "ConstantPool", ":", "return", "LowerConstantPool", "(", "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", "::", "VASTART", ":", "return", "LowerVASTART", "(", "Op", ",", "DAG", ")", ";", "case", "ISD", "::", "DYNAMIC_STACKALLOC", ":", "return", "LowerDYNAMIC_STACKALLOC", "(", "Op", ",", "DAG", ")", ";", "}", "}", ""], "natrual_language": ["LowerOperation", "-", "Provide", "custom", "lowering", "hooks", "for", "some", "operations", "."], "TS_V_token": ["M68k", "M68k", "\"Should not custom lower this!\"", "ISD::SADDO", "ISD::UADDO", "ISD::SSUBO", "ISD::USUBO", "ISD::SMULO", "ISD::UMULO", "ISD::SETCC", "ISD::SETCCCARRY", "ISD::SELECT", "ISD::BRCOND", "ISD::ADDC", "ISD::ADDE", "ISD::SUBC", "ISD::SUBE", "ISD::ConstantPool", "ISD::GlobalAddress", "ISD::ExternalSymbol", "ISD::BlockAddress", "ISD::JumpTable", "ISD::VASTART", "ISD::DYNAMIC_STACKALLOC"], "File": "M68kISelLowering1", "Func": "LowerOperation", "Target": "M68k", "Target_Clf": "MPU", "Compiler_Type": "LLVM", "Idx": 209, "Length": 241, "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": 210, "Length": 61, "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": ["TLCS900"], "File": "TLCS900InstrInfo", "Func": "getRegisterInfo", "Target": "TLCS900", "Target_Clf": "MPU", "Compiler_Type": "LLVM", "Idx": 211, "Length": 13, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "bool", "hasVolatileVariant", "(", "Instruction", "*", "I", ",", "unsigned", "AddrSpace", ")", "{", "if", "(", "!", "(", "AddrSpace", "==", "llvm", "::", "ADDRESS_SPACE_GENERIC", "||", "AddrSpace", "==", "llvm", "::", "ADDRESS_SPACE_GLOBAL", "||", "AddrSpace", "==", "llvm", "::", "ADDRESS_SPACE_SHARED", ")", ")", "return", "false", ";", "switch", "(", "I", "->", "getOpcode", "(", ")", ")", "{", "default", ":", "return", "false", ";", "case", "Instruction", "::", "Load", ":", "case", "Instruction", "::", "Store", ":", "return", "true", ";", "}", "}", ""], "natrual_language": ["Return", "true", "if", "the", "given", "instruction", "(", "assumed", "to", "be", "a", "memory", "access", "instruction", ")", "has", "a", "volatile", "variant", "."], "TS_V_token": ["NVPTX"], "File": "NVPTXTargetTransformInfo", "Func": "hasVolatileVariant", "Target": "NVPTX", "Target_Clf": "GPU", "Compiler_Type": "LLVM", "Idx": 212, "Length": 66, "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": 213, "Length": 21, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "int", "valid_dbcc_comparison_p_2", "(", "rtx", "x", ",", "enum", "machine_mode", "mode", "ATTRIBUTE_UNUSED", ")", "{", "switch", "(", "GET_CODE", "(", "x", ")", ")", "{", "case", "EQ", ":", "case", "NE", ":", "case", "GTU", ":", "case", "LTU", ":", "case", "GEU", ":", "case", "LEU", ":", "return", "1", ";", "case", "GT", ":", "case", "LT", ":", "case", "GE", ":", "case", "LE", ":", "return", "!", "(", "cc_prev_status", ".", "flags", "&", "CC_NO_OVERFLOW", ")", ";", "default", ":", "return", "0", ";", "}", "}", ""], "natrual_language": ["Return", "true", "if", "X", "is", "a", "valid", "comparison", "operator", "for", "the", "dbcc", "instruction", ".", "Note", "it", "rejects", "floating", "point", "comparison", "operators", ".", "(", "In", "the", "future", "we", "could", "use", "Fdbcc", ")", ".", "It", "also", "rejects", "some", "comparisons", "when", "CC_NO_OVERFLOW", "is", "set", "."], "TS_V_token": ["m68k", "1", "0"], "File": "m68k3", "Func": "valid_dbcc_comparison_p_2", "Target": "m68k", "Target_Clf": "MPU", "Compiler_Type": "GCC", "Idx": 214, "Length": 70, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "void", "M88kMCAsmBackend", "::", "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", "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": ["M88k", "M88k", "7", "8", "4", "0", "0", "1", "8", "1", "64", "0", "1", "8", "0xff"], "File": "M88kMCAsmBackend", "Func": "applyFixup", "Target": "M88k", "Target_Clf": "MPU", "Compiler_Type": "LLVM", "Idx": 215, "Length": 221, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "bool", "SITargetLowering", "::", "isLegalAddressingMode", "(", "const", "DataLayout", "&", "DL", ",", "const", "AddrMode", "&", "AM", ",", "Type", "*", "Ty", ",", "unsigned", "AS", ")", "const", "{", "if", "(", "AM", ".", "BaseGV", ")", "return", "false", ";", "switch", "(", "AS", ")", "{", "case", "AMDGPUAS", "::", "GLOBAL_ADDRESS", ":", "{", "if", "(", "Subtarget", "->", "getGeneration", "(", ")", ">=", "AMDGPUSubtarget", "::", "VOLCANIC_ISLANDS", ")", "{", "return", "isLegalFlatAddressingMode", "(", "AM", ")", ";", "}", "return", "isLegalMUBUFAddressingMode", "(", "AM", ")", ";", "}", "case", "AMDGPUAS", "::", "CONSTANT_ADDRESS", ":", "{", "if", "(", "AM", ".", "BaseOffs", "%", "4", "!=", "0", ")", "return", "isLegalMUBUFAddressingMode", "(", "AM", ")", ";", "if", "(", "DL", ".", "getTypeStoreSize", "(", "Ty", ")", "<", "4", ")", "return", "isLegalMUBUFAddressingMode", "(", "AM", ")", ";", "if", "(", "Subtarget", "->", "getGeneration", "(", ")", "==", "AMDGPUSubtarget", "::", "SOUTHERN_ISLANDS", ")", "{", "if", "(", "!", "isUInt", "<", "8", ">", "(", "AM", ".", "BaseOffs", "/", "4", ")", ")", "return", "false", ";", "}", "else", "if", "(", "Subtarget", "->", "getGeneration", "(", ")", "==", "AMDGPUSubtarget", "::", "SEA_ISLANDS", ")", "{", "if", "(", "!", "isUInt", "<", "32", ">", "(", "AM", ".", "BaseOffs", "/", "4", ")", ")", "return", "false", ";", "}", "else", "if", "(", "Subtarget", "->", "getGeneration", "(", ")", "==", "AMDGPUSubtarget", "::", "VOLCANIC_ISLANDS", ")", "{", "if", "(", "!", "isUInt", "<", "20", ">", "(", "AM", ".", "BaseOffs", ")", ")", "return", "false", ";", "}", "else", "llvm_unreachable", "(", "\"unhandled generation\"", ")", ";", "if", "(", "AM", ".", "Scale", "==", "0", ")", "return", "true", ";", "if", "(", "AM", ".", "Scale", "==", "1", "&&", "AM", ".", "HasBaseReg", ")", "return", "true", ";", "return", "false", ";", "}", "case", "AMDGPUAS", "::", "PRIVATE_ADDRESS", ":", "return", "isLegalMUBUFAddressingMode", "(", "AM", ")", ";", "case", "AMDGPUAS", "::", "LOCAL_ADDRESS", ":", "case", "AMDGPUAS", "::", "REGION_ADDRESS", ":", "{", "if", "(", "!", "isUInt", "<", "16", ">", "(", "AM", ".", "BaseOffs", ")", ")", "return", "false", ";", "if", "(", "AM", ".", "Scale", "==", "0", ")", "return", "true", ";", "if", "(", "AM", ".", "Scale", "==", "1", "&&", "AM", ".", "HasBaseReg", ")", "return", "true", ";", "return", "false", ";", "}", "case", "AMDGPUAS", "::", "FLAT_ADDRESS", ":", "case", "AMDGPUAS", "::", "UNKNOWN_ADDRESS_SPACE", ":", "return", "isLegalFlatAddressingMode", "(", "AM", ")", ";", "default", ":", "llvm_unreachable", "(", "\"unhandled address space\"", ")", ";", "}", "}", ""], "natrual_language": ["isLegalAddressingMode", "-", "Return", "true", "if", "the", "addressing", "mode", "represented", "by", "AM", "is", "legal", "for", "this", "target", ",", "for", "a", "load/store", "of", "the", "specified", "type", "."], "TS_V_token": ["AMDGPU", "SI", "AMDGPU", "AMDGPU", "AMDGPU", "4", "0", "4", "AMDGPU", "8", "4", "AMDGPU", "32", "4", "AMDGPU", "20", "\"unhandled generation\"", "0", "1", "AMDGPU", "AMDGPU", "AMDGPU", "16", "0", "1", "AMDGPU", "AMDGPU", "\"unhandled address space\""], "File": "SIISelLowering136", "Func": "isLegalAddressingMode", "Target": "AMDGPU", "Target_Clf": "GPU", "Compiler_Type": "LLVM", "Idx": 216, "Length": 335, "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": 217, "Length": 377, "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": 218, "Length": 13, "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": 219, "Length": 187, "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": ["AArch64"], "File": "AArch64TargetTransformInfo19", "Func": "getAdjustedAnalysisPointer", "Target": "AArch64", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 220, "Length": 32, "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": 221, "Length": 64, "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": 222, "Length": 105, "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": 223, "Length": 166, "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": 224, "Length": 118, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "const", "TargetRegisterClass", "*", "getRegClass", "(", "const", "MCInstrDesc", "&", "TID", ",", "unsigned", "OpNum", ",", "const", "TargetRegisterInfo", "*", "TRI", ",", "const", "MachineFunction", "&", "MF", ")", "const", "override", "{", "if", "(", "OpNum", ">=", "TID", ".", "getNumOperands", "(", ")", ")", "return", "nullptr", ";", "return", "RI", ".", "getRegClass", "(", "TID", ".", "OpInfo", "[", "OpNum", "]", ".", "RegClass", ")", ";", "}", ""], "natrual_language": ["Given", "a", "machine", "instruction", "descriptor", ",", "returns", "the", "register", "class", "constraint", "for", "OpNum", ",", "or", "NULL", "."], "TS_V_token": ["AMDGPU"], "File": "SIInstrInfo100", "Func": "getRegClass", "Target": "AMDGPU", "Target_Clf": "GPU", "Compiler_Type": "LLVM", "Idx": 225, "Length": 55, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "bool", "AMDGPUAnnotateKernelFeatures", "::", "runOnModule", "(", "Module", "&", "M", ")", "{", "Triple", "TT", "(", "M", ".", "getTargetTriple", "(", ")", ")", ";", "static", "const", "StringRef", "IntrinsicToAttr", "[", "]", "[", "2", "]", "=", "{", "{", "\"llvm.amdgcn.workitem.id.y\"", ",", "\"amdgpu-work-item-id-y\"", "}", ",", "{", "\"llvm.amdgcn.workitem.id.z\"", ",", "\"amdgpu-work-item-id-z\"", "}", ",", "{", "\"llvm.amdgcn.workgroup.id.y\"", ",", "\"amdgpu-work-group-id-y\"", "}", ",", "{", "\"llvm.amdgcn.workgroup.id.z\"", ",", "\"amdgpu-work-group-id-z\"", "}", ",", "{", "\"llvm.r600.read.tgid.y\"", ",", "\"amdgpu-work-group-id-y\"", "}", ",", "{", "\"llvm.r600.read.tgid.z\"", ",", "\"amdgpu-work-group-id-z\"", "}", ",", "{", "\"llvm.r600.read.tidig.y\"", ",", "\"amdgpu-work-item-id-y\"", "}", ",", "{", "\"llvm.r600.read.tidig.z\"", ",", "\"amdgpu-work-item-id-z\"", "}", "}", ";", "static", "const", "StringRef", "HSAIntrinsicToAttr", "[", "]", "[", "2", "]", "=", "{", "{", "\"llvm.amdgcn.dispatch.ptr\"", ",", "\"amdgpu-dispatch-ptr\"", "}", ",", "{", "\"llvm.amdgcn.queue.ptr\"", ",", "\"amdgpu-queue-ptr\"", "}", ",", "{", "\"llvm.amdgcn.dispatch.id\"", ",", "\"amdgpu-dispatch-id\"", "}", ",", "{", "\"llvm.trap\"", ",", "\"amdgpu-queue-ptr\"", "}", ",", "{", "\"llvm.debugtrap\"", ",", "\"amdgpu-queue-ptr\"", "}", "}", ";", "bool", "Changed", "=", "addAttrsForIntrinsics", "(", "M", ",", "IntrinsicToAttr", ")", ";", "if", "(", "TT", ".", "getOS", "(", ")", "==", "Triple", "::", "AMDHSA", "||", "TT", ".", "getOS", "(", ")", "==", "Triple", "::", "Mesa3D", ")", "{", "Changed", "|=", "addAttrsForIntrinsics", "(", "M", ",", "HSAIntrinsicToAttr", ")", ";", "for", "(", "Function", "&", "F", ":", "M", ")", "{", "if", "(", "F", ".", "hasFnAttribute", "(", "\"amdgpu-queue-ptr\"", ")", ")", "continue", ";", "if", "(", "hasAddrSpaceCast", "(", "F", ")", ")", "F", ".", "addFnAttr", "(", "\"amdgpu-queue-ptr\"", ")", ";", "}", "}", "return", "Changed", ";", "}", ""], "natrual_language": ["runOnModule", "-", "Virtual", "method", "overriden", "by", "subclasses", "to", "process", "the", "module", "being", "operated", "on", "."], "TS_V_token": ["AMDGPU", "AMDGPU", "2", "\"llvm.amdgcn.workitem.id.y\"", "\"amdgpu-work-item-id-y\"", "\"llvm.amdgcn.workitem.id.z\"", "\"amdgpu-work-item-id-z\"", "\"llvm.amdgcn.workgroup.id.y\"", "\"amdgpu-work-group-id-y\"", "\"llvm.amdgcn.workgroup.id.z\"", "\"amdgpu-work-group-id-z\"", "\"llvm.r600.read.tgid.y\"", "\"amdgpu-work-group-id-y\"", "\"llvm.r600.read.tgid.z\"", "\"amdgpu-work-group-id-z\"", "\"llvm.r600.read.tidig.y\"", "\"amdgpu-work-item-id-y\"", "\"llvm.r600.read.tidig.z\"", "\"amdgpu-work-item-id-z\"", "2", "\"llvm.amdgcn.dispatch.ptr\"", "\"amdgpu-dispatch-ptr\"", "\"llvm.amdgcn.queue.ptr\"", "\"amdgpu-queue-ptr\"", "\"llvm.amdgcn.dispatch.id\"", "\"amdgpu-dispatch-id\"", "\"llvm.trap\"", "\"amdgpu-queue-ptr\"", "\"llvm.debugtrap\"", "\"amdgpu-queue-ptr\"", "\"amdgpu-queue-ptr\"", "\"amdgpu-queue-ptr\""], "File": "AMDGPUAnnotateKernelFeatures34", "Func": "runOnModule", "Target": "AMDGPU", "Target_Clf": "GPU", "Compiler_Type": "LLVM", "Idx": 226, "Length": 204, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "void", "BPFInstrInfo", "::", "loadRegFromStackSlot", "(", "MachineBasicBlock", "&", "MBB", ",", "MachineBasicBlock", "::", "iterator", "I", ",", "unsigned", "DestReg", ",", "int", "FI", ",", "const", "TargetRegisterClass", "*", "RC", ",", "const", "TargetRegisterInfo", "*", "TRI", ")", "const", "{", "DebugLoc", "DL", ";", "if", "(", "I", "!=", "MBB", ".", "end", "(", ")", ")", "DL", "=", "I", "->", "getDebugLoc", "(", ")", ";", "if", "(", "RC", "==", "&", "BPF", "::", "GPRRegClass", ")", "BuildMI", "(", "MBB", ",", "I", ",", "DL", ",", "get", "(", "BPF", "::", "LDD", ")", ",", "DestReg", ")", ".", "addFrameIndex", "(", "FI", ")", ".", "addImm", "(", "0", ")", ";", "else", "llvm_unreachable", "(", "\"Can't load this register from stack slot\"", ")", ";", "}", ""], "natrual_language": ["Load", "the", "specified", "register", "of", "the", "given", "register", "class", "from", "the", "specified", "stack", "frame", "index", "."], "TS_V_token": ["BPF", "BPF", "BPF::GPRRegClass", "BPF::LDD", "0", "\"Can't load this register from stack slot\""], "File": "BPFInstrInfo16", "Func": "loadRegFromStackSlot", "Target": "BPF", "Target_Clf": "Virtual ISA", "Compiler_Type": "LLVM", "Idx": 227, "Length": 97, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "static", "void", "s390_mainpool_finish", "(", "struct", "constant_pool", "*", "pool", ")", "{", "rtx", "base_reg", "=", "cfun", "->", "machine", "->", "base_reg", ";", "rtx", "set", ";", "rtx_insn", "*", "insn", ";", "if", "(", "pool", "->", "size", "==", "0", ")", "{", "cfun", "->", "machine", "->", "base_reg", "=", "NULL_RTX", ";", "if", "(", "pool", "->", "pool_insn", ")", "remove_insn", "(", "pool", "->", "pool_insn", ")", ";", "s390_free_pool", "(", "pool", ")", ";", "return", ";", "}", "shorten_branches", "(", "get_insns", "(", ")", ")", ";", "set", "=", "gen_main_base_64", "(", "base_reg", ",", "pool", "->", "label", ")", ";", "insn", "=", "emit_insn_after", "(", "set", ",", "pool", "->", "pool_insn", ")", ";", "INSN_ADDRESSES_NEW", "(", "insn", ",", "-", "1", ")", ";", "remove_insn", "(", "pool", "->", "pool_insn", ")", ";", "insn", "=", "get_last_insn", "(", ")", ";", "pool", "->", "pool_insn", "=", "emit_insn_after", "(", "gen_pool", "(", "const0_rtx", ")", ",", "insn", ")", ";", "INSN_ADDRESSES_NEW", "(", "pool", "->", "pool_insn", ",", "-", "1", ")", ";", "s390_dump_pool", "(", "pool", ",", "0", ")", ";", "for", "(", "rtx_insn", "*", "insn", "=", "get_insns", "(", ")", ";", "insn", ";", "insn", "=", "NEXT_INSN", "(", "insn", ")", ")", "{", "if", "(", "NONJUMP_INSN_P", "(", "insn", ")", "||", "CALL_P", "(", "insn", ")", ")", "{", "rtx", "addr", ",", "pool_ref", "=", "NULL_RTX", ";", "find_constant_pool_ref", "(", "insn", ",", "&", "pool_ref", ")", ";", "if", "(", "pool_ref", ")", "{", "if", "(", "s390_execute_label", "(", "insn", ")", ")", "addr", "=", "s390_find_execute", "(", "pool", ",", "insn", ")", ";", "else", "addr", "=", "s390_find_constant", "(", "pool", ",", "get_pool_constant", "(", "pool_ref", ")", ",", "get_pool_mode", "(", "pool_ref", ")", ")", ";", "replace_constant_pool_ref", "(", "insn", ",", "pool_ref", ",", "addr", ")", ";", "INSN_CODE", "(", "insn", ")", "=", "-", "1", ";", "}", "}", "}", "s390_free_pool", "(", "pool", ")", ";", "}", ""], "natrual_language": ["POOL", "holds", "the", "main", "literal", "pool", "as", "collected", "by", "s390_mainpool_start", ".", "Modify", "the", "current", "function", "to", "output", "the", "pool", "constants", "as", "well", "as", "the", "pool", "register", "setup", "instruction", "."], "TS_V_token": ["s390", "0", "1", "1", "0", "1"], "File": "s390", "Func": "s390_mainpool_finish", "Target": "s390", "Target_Clf": "MPU", "Compiler_Type": "GCC", "Idx": 228, "Length": 258, "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": ["riscv"], "File": "riscv-vector-builtins", "Func": "equal", "Target": "riscv", "Target_Clf": "CPU", "Compiler_Type": "GCC", "Idx": 229, "Length": 23, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "static", "bool", "s390_vector_mode_supported_p", "(", "machine_mode", "mode", ")", "{", "machine_mode", "inner", ";", "if", "(", "!", "VECTOR_MODE_P", "(", "mode", ")", "||", "!", "TARGET_VX", "||", "GET_MODE_SIZE", "(", "mode", ")", ">", "16", ")", "return", "false", ";", "inner", "=", "GET_MODE_INNER", "(", "mode", ")", ";", "switch", "(", "inner", ")", "{", "case", "QImode", ":", "case", "HImode", ":", "case", "SImode", ":", "case", "DImode", ":", "case", "TImode", ":", "case", "SFmode", ":", "case", "DFmode", ":", "case", "TFmode", ":", "return", "true", ";", "default", ":", "return", "false", ";", "}", "}", ""], "natrual_language": ["Return", "true", "if", "the", "back", "end", "supports", "vector", "mode", "MODE", "."], "TS_V_token": ["s390", "16"], "File": "s3905", "Func": "s390_vector_mode_supported_p", "Target": "s390", "Target_Clf": "MPU", "Compiler_Type": "GCC", "Idx": 230, "Length": 78, "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": 231, "Length": 13, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "void", "TPCHazardRecognizer", "::", "RecedeCycle", "(", ")", "{", "PacketNum", "++", ";", "LLVM_DEBUG", "(", "dbgs", "(", ")", "<<", "\" *HR* RecedeCycle(\"", "<<", "PacketNum", "<<", "\")\\n\"", ")", ";", "dumpCurPacket", "(", ")", ";", "clearResources", "(", ")", ";", "}", ""], "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": ["TPC", "TPC", "\" *HR* RecedeCycle(\"", "\")\\n\""], "File": "TPCHazardRecognizer", "Func": "RecedeCycle", "Target": "TPC", "Target_Clf": "Virtual ISA", "Compiler_Type": "LLVM", "Idx": 232, "Length": 32, "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": 233, "Length": 264, "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": 234, "Length": 228, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "bool", "SIWholeQuadMode", "::", "runOnMachineFunction", "(", "MachineFunction", "&", "MF", ")", "{", "if", "(", "MF", ".", "getFunction", "(", ")", "->", "getCallingConv", "(", ")", "!=", "CallingConv", "::", "AMDGPU_PS", ")", "return", "false", ";", "Instructions", ".", "clear", "(", ")", ";", "Blocks", ".", "clear", "(", ")", ";", "ExecExports", ".", "clear", "(", ")", ";", "LiveMaskQueries", ".", "clear", "(", ")", ";", "TII", "=", "static_cast", "<", "const", "SIInstrInfo", "*", ">", "(", "MF", ".", "getSubtarget", "(", ")", ".", "getInstrInfo", "(", ")", ")", ";", "TRI", "=", "static_cast", "<", "const", "SIRegisterInfo", "*", ">", "(", "MF", ".", "getSubtarget", "(", ")", ".", "getRegisterInfo", "(", ")", ")", ";", "MRI", "=", "&", "MF", ".", "getRegInfo", "(", ")", ";", "char", "GlobalFlags", "=", "analyzeFunction", "(", "MF", ")", ";", "if", "(", "!", "(", "GlobalFlags", "&", "StateWQM", ")", ")", "{", "lowerLiveMaskQueries", "(", "AMDGPU", "::", "EXEC", ")", ";", "return", "!", "LiveMaskQueries", ".", "empty", "(", ")", ";", "}", "MachineBasicBlock", "&", "Entry", "=", "MF", ".", "front", "(", ")", ";", "MachineInstr", "*", "EntryMI", "=", "Entry", ".", "getFirstNonPHI", "(", ")", ";", "unsigned", "LiveMaskReg", "=", "0", ";", "if", "(", "GlobalFlags", "&", "StateExact", "||", "!", "LiveMaskQueries", ".", "empty", "(", ")", ")", "{", "LiveMaskReg", "=", "MRI", "->", "createVirtualRegister", "(", "&", "AMDGPU", "::", "SReg_64RegClass", ")", ";", "BuildMI", "(", "Entry", ",", "EntryMI", ",", "DebugLoc", "(", ")", ",", "TII", "->", "get", "(", "AMDGPU", "::", "COPY", ")", ",", "LiveMaskReg", ")", ".", "addReg", "(", "AMDGPU", "::", "EXEC", ")", ";", "}", "if", "(", "GlobalFlags", "==", "StateWQM", ")", "{", "BuildMI", "(", "Entry", ",", "EntryMI", ",", "DebugLoc", "(", ")", ",", "TII", "->", "get", "(", "AMDGPU", "::", "S_WQM_B64", ")", ",", "AMDGPU", "::", "EXEC", ")", ".", "addReg", "(", "AMDGPU", "::", "EXEC", ")", ";", "lowerLiveMaskQueries", "(", "LiveMaskReg", ")", ";", "return", "true", ";", "}", "lowerLiveMaskQueries", "(", "LiveMaskReg", ")", ";", "EntryMI", "=", "nullptr", ";", "for", "(", "const", "auto", "&", "BII", ":", "Blocks", ")", "processBlock", "(", "const_cast", "<", "MachineBasicBlock", "&", ">", "(", "*", "BII", ".", "first", ")", ",", "LiveMaskReg", ",", "BII", ".", "first", "==", "&", "*", "MF", ".", "begin", "(", ")", ")", ";", "return", "true", ";", "}", ""], "natrual_language": ["runOnMachineFunction", "-", "Emit", "the", "function", "body", "."], "TS_V_token": ["AMDGPU", "SI", "AMDGPU", "SI", "SI", "AMDGPU::EXEC", "0", "AMDGPU::SReg_64RegClass", "AMDGPU::COPY", "AMDGPU::EXEC", "AMDGPU::S_WQM_B64", "AMDGPU::EXEC", "AMDGPU::EXEC"], "File": "SIWholeQuadMode25", "Func": "runOnMachineFunction", "Target": "AMDGPU", "Target_Clf": "GPU", "Compiler_Type": "LLVM", "Idx": 235, "Length": 315, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "bool", "avr_emit3_fix_outputs", "(", "rtx", "(", "*", "gen", ")", "(", "rtx", ",", "rtx", ",", "rtx", ")", ",", "rtx", "*", "op", ",", "unsigned", "opmask", ",", "unsigned", "rmask", ")", "{", "const", "int", "n", "=", "3", ";", "rtx", "hreg", "[", "n", "]", ";", "static", "bool", "lock", "=", "false", ";", "gcc_assert", "(", "opmask", "<", "(", "1u", "<<", "n", ")", ")", ";", "if", "(", "lock", ")", "return", "false", ";", "avr_fix_operands", "(", "op", ",", "hreg", ",", "opmask", ",", "rmask", ")", ";", "lock", "=", "true", ";", "emit_insn", "(", "gen", "(", "op", "[", "0", "]", ",", "op", "[", "1", "]", ",", "op", "[", "2", "]", ")", ")", ";", "lock", "=", "false", ";", "return", "avr_move_fixed_operands", "(", "op", ",", "hreg", ",", "opmask", ")", ";", "}", ""], "natrual_language": ["PR63633", ":", "The", "middle-end", "might", "come", "up", "with", "hard", "regs", "as", "output", "operands", ".", "GEN", "is", "a", "sequence", "generating", "function", "like", "gen_mulsi3", "with", "3", "operands", "OP", "[", "]", ".", "RMASK", "is", "a", "bit", "mask", "representing", "a", "subset", "of", "hard", "registers", "R0", "...", "R31", ":", "Rn", "is", "an", "element", "of", "that", "set", "iff", "bit", "n", "of", "RMASK", "is", "set", ".", "OPMASK", "describes", "a", "subset", "of", "OP", "[", "]", ":", "If", "bit", "n", "of", "OPMASK", "is", "1", "then", "OP", "[", "n", "]", "has", "to", "be", "fixed", ";", "otherwise", "OP", "[", "n", "]", "is", "left", "alone", ".", "Emit", "the", "insn", "sequence", "as", "generated", "by", "GEN", "(", ")", "with", "all", "elements", "of", "OPMASK", "which", "are", "hard", "registers", "overlapping", "RMASK", "replaced", "by", "newly", "created", "pseudo", "registers", ".", "After", "the", "sequence", "has", "been", "emitted", ",", "emit", "insns", "that", "move", "the", "contents", "of", "respective", "pseudos", "to", "their", "hard", "regs", "."], "TS_V_token": ["avr", "3", "1u", "0", "1", "2"], "File": "avr", "Func": "avr_emit3_fix_outputs", "Target": "avr", "Target_Clf": "MPU", "Compiler_Type": "GCC", "Idx": 236, "Length": 114, "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": 237, "Length": 15, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "bool", "isFMAFasterThanFMulAndFAdd", "(", "const", "MachineFunction", "&", "MF", ",", "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": ["NVPTX"], "File": "NVPTXISelLowering10", "Func": "isFMAFasterThanFMulAndFAdd", "Target": "NVPTX", "Target_Clf": "GPU", "Compiler_Type": "LLVM", "Idx": 238, "Length": 17, "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": 239, "Length": 206, "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": 240, "Length": 460, "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": 241, "Length": 121, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "rtx", "avr_to_int_mode", "(", "rtx", "x", ")", "{", "machine_mode", "mode", "=", "GET_MODE", "(", "x", ")", ";", "return", "VOIDmode", "==", "mode", "?", "x", ":", "simplify_gen_subreg", "(", "int_mode_for_mode", "(", "mode", ")", ",", "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": ["avr", "0"], "File": "avr4", "Func": "avr_to_int_mode", "Target": "avr", "Target_Clf": "MPU", "Compiler_Type": "GCC", "Idx": 242, "Length": 37, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "static", "bool", "ft32_pass_by_reference", "(", "cumulative_args_t", "cum", "ATTRIBUTE_UNUSED", ",", "enum", "machine_mode", "mode", ",", "const_tree", "type", ",", "bool", "named", "ATTRIBUTE_UNUSED", ")", "{", "unsigned", "HOST_WIDE_INT", "size", ";", "if", "(", "type", ")", "{", "if", "(", "AGGREGATE_TYPE_P", "(", "type", ")", ")", "return", "true", ";", "size", "=", "int_size_in_bytes", "(", "type", ")", ";", "}", "else", "size", "=", "GET_MODE_SIZE", "(", "mode", ")", ";", "return", "size", ">", "4", "*", "6", ";", "}", ""], "natrual_language": ["Return", "non-zero", "if", "the", "function", "argument", "described", "by", "TYPE", "is", "to", "be", "passed", "by", "reference", "."], "TS_V_token": ["ft32", "4", "6"], "File": "ft322", "Func": "ft32_pass_by_reference", "Target": "ft32", "Target_Clf": "MPU", "Compiler_Type": "GCC", "Idx": 243, "Length": 63, "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": 244, "Length": 86, "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": 245, "Length": 256, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "const", "M680x0InstrInfo", "*", "getInstrInfo", "(", ")", "const", "override", "{", "return", "&", "InstrInfo", ";", "}", ""], "natrual_language": ["TargetInstrInfo", "getter", "."], "TS_V_token": ["M680x0", "M680x0"], "File": "M680x0Subtarget", "Func": "getInstrInfo", "Target": "M680x0", "Target_Clf": "MPU", "Compiler_Type": "LLVM", "Idx": 246, "Length": 14, "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": 247, "Length": 260, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "void", "MOSMCELFStreamer", "::", "changeSection", "(", "MCSection", "*", "Section", ",", "const", "MCExpr", "*", "Subsection", ")", "{", "MCELFStreamer", "::", "changeSection", "(", "Section", ",", "Subsection", ")", ";", "HasBSS", "|=", "Section", "->", "getName", "(", ")", ".", "startswith", "(", "\".bss\"", ")", ";", "HasData", "|=", "Section", "->", "getName", "(", ")", ".", "startswith", "(", "\".data\"", ")", ";", "HasInitArray", "|=", "Section", "->", "getName", "(", ")", ".", "startswith", "(", "\".init_array\"", ")", ";", "HasFiniArray", "|=", "Section", "->", "getName", "(", ")", ".", "startswith", "(", "\".fini_array\"", ")", ";", "}", ""], "natrual_language": ["Update", "streamer", "for", "a", "new", "active", "section", "."], "TS_V_token": ["MOS", "MOS", "\".bss\"", "\".data\"", "\".init_array\"", "\".fini_array\""], "File": "MOSMCELFStreamer", "Func": "changeSection", "Target": "MOS", "Target_Clf": "MPU", "Compiler_Type": "LLVM", "Idx": 248, "Length": 77, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "SDValue", "LanaiTargetLowering", "::", "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_Lanai32", ")", ";", "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": ["Lanai", "Lanai", "ISD::InputArg", "16", "Lanai", "0", "1", "2", "0"], "File": "LanaiISelLowering", "Func": "LowerCallResult", "Target": "Lanai", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 249, "Length": 168, "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": 250, "Length": 30, "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": ["M88k"], "File": "M88kSubtarget", "Func": "getCallLowering", "Target": "M88k", "Target_Clf": "MPU", "Compiler_Type": "LLVM", "Idx": 251, "Length": 17, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "int", "AMDGPUInstrInfo", "::", "pseudoToMCOpcode", "(", "int", "Opcode", ")", "const", "{", "int", "MCOp", "=", "AMDGPU", "::", "getMCOpcode", "(", "Opcode", ",", "subtargetEncodingFamily", "(", "ST", ")", ")", ";", "if", "(", "MCOp", "==", "-", "1", ")", "return", "Opcode", ";", "if", "(", "MCOp", "==", "(", "uint16_t", ")", "-", "1", ")", "return", "-", "1", ";", "return", "MCOp", ";", "}", ""], "natrual_language": ["Return", "a", "target-specific", "opcode", "if", "Opcode", "is", "a", "pseudo", "instruction", "."], "TS_V_token": ["AMDGPU", "AMDGPU", "AMDGPU::getMCOpcode", "1", "1", "1"], "File": "AMDGPUInstrInfo22", "Func": "pseudoToMCOpcode", "Target": "AMDGPU", "Target_Clf": "GPU", "Compiler_Type": "LLVM", "Idx": 252, "Length": 53, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "bool", "Nios2InstrInfo", "::", "expandPostRAPseudo", "(", "MachineInstr", "&", "MI", ")", "const", "{", "MachineBasicBlock", "&", "MBB", "=", "*", "MI", ".", "getParent", "(", ")", ";", "switch", "(", "MI", ".", "getDesc", "(", ")", ".", "getOpcode", "(", ")", ")", "{", "default", ":", "return", "false", ";", "case", "Nios2", "::", "RetRA", ":", "BuildMI", "(", "MBB", ",", "MI", ",", "MI", ".", "getDebugLoc", "(", ")", ",", "get", "(", "Nios2", "::", "RET_R1", ")", ")", ".", "addReg", "(", "Nios2", "::", "RA", ")", ";", "break", ";", "}", "MBB", ".", "erase", "(", "MI", ")", ";", "return", "true", ";", "}", ""], "natrual_language": ["This", "function", "is", "called", "for", "all", "pseudo", "instructions", "that", "remain", "after", "register", "allocation", "."], "TS_V_token": ["Nios2", "Nios2", "Nios2::RetRA", "Nios2::RET_R1", "Nios2::RA"], "File": "Nios2InstrInfo", "Func": "expandPostRAPseudo", "Target": "Nios2", "Target_Clf": "MPU", "Compiler_Type": "LLVM", "Idx": 253, "Length": 86, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "bool", "NVPTXAsmPrinter", "::", "runOnMachineFunction", "(", "MachineFunction", "&", "F", ")", "{", "bool", "Result", "=", "AsmPrinter", "::", "runOnMachineFunction", "(", "F", ")", ";", "OutStreamer", "->", "emitRawText", "(", "StringRef", "(", "\"}\\n\"", ")", ")", ";", "return", "Result", ";", "}", ""], "natrual_language": ["runOnMachineFunction", "-", "Emit", "the", "function", "body", "."], "TS_V_token": ["NVPTX", "NVPTX", "\"}\\n\""], "File": "NVPTXAsmPrinter15", "Func": "runOnMachineFunction", "Target": "NVPTX", "Target_Clf": "GPU", "Compiler_Type": "LLVM", "Idx": 254, "Length": 34, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "TargetLoweringObjectFile", "*", "getObjFileLowering", "(", ")", "const", "override", "{", "return", "TLOF", ";", "}", ""], "natrual_language": ["Return", "information", "about", "object", "file", "lowering", "."], "TS_V_token": ["HSAIL"], "File": "HSAILTargetMachine", "Func": "getObjFileLowering", "Target": "HSAIL", "Target_Clf": "Virtual ISA", "Compiler_Type": "LLVM", "Idx": 255, "Length": 12, "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": 256, "Length": 28, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "static", "void", "workaround_uninit_method_1", "(", "void", ")", "{", "rtx_insn", "*", "first", "=", "get_insns", "(", ")", ";", "rtx_insn", "*", "insert_here", "=", "NULL", ";", "for", "(", "int", "ix", "=", "LAST_VIRTUAL_REGISTER", "+", "1", ";", "ix", "<", "max_reg_num", "(", ")", ";", "ix", "++", ")", "{", "rtx", "reg", "=", "regno_reg_rtx", "[", "ix", "]", ";", "if", "(", "reg", "==", "const0_rtx", ")", "continue", ";", "gcc_assert", "(", "CONST0_RTX", "(", "GET_MODE", "(", "reg", ")", ")", ")", ";", "start_sequence", "(", ")", ";", "if", "(", "nvptx_comment", "&&", "first", "!=", "NULL", ")", "emit_insn", "(", "gen_comment", "(", "\"Start: Added by -minit-regs=1\"", ")", ")", ";", "emit_move_insn", "(", "reg", ",", "CONST0_RTX", "(", "GET_MODE", "(", "reg", ")", ")", ")", ";", "rtx_insn", "*", "inits", "=", "get_insns", "(", ")", ";", "end_sequence", "(", ")", ";", "if", "(", "dump_file", "&&", "(", "dump_flags", "&", "TDF_DETAILS", ")", ")", "for", "(", "rtx_insn", "*", "init", "=", "inits", ";", "init", "!=", "NULL", ";", "init", "=", "NEXT_INSN", "(", "init", ")", ")", "fprintf", "(", "dump_file", ",", "\"Default init of reg %u inserted: insn %u\\n\"", ",", "ix", ",", "INSN_UID", "(", "init", ")", ")", ";", "if", "(", "first", "!=", "NULL", ")", "{", "insert_here", "=", "emit_insn_before", "(", "inits", ",", "first", ")", ";", "first", "=", "NULL", ";", "}", "else", "insert_here", "=", "emit_insn_after", "(", "inits", ",", "insert_here", ")", ";", "}", "if", "(", "nvptx_comment", "&&", "insert_here", "!=", "NULL", ")", "emit_insn_after", "(", "gen_comment", "(", "\"End: Added by -minit-regs=1\"", ")", ",", "insert_here", ")", ";", "}", ""], "natrual_language": ["Initialize", "all", "declared", "regs", "at", "function", "entry", ".", "Advantage", ":", "Fool-proof", ".", "Disadvantage", ":", "Potentially", "creates", "a", "lot", "of", "long", "live", "ranges", "and", "adds", "a", "lot", "of", "insns", "."], "TS_V_token": ["nvptx", "1", "\"Start: Added by -minit-regs=1\"", "\"Default init of reg %u inserted: insn %u\\n\"", "\"End: Added by -minit-regs=1\""], "File": "nvptx", "Func": "workaround_uninit_method_1", "Target": "nvptx", "Target_Clf": "GPU", "Compiler_Type": "GCC", "Idx": 257, "Length": 206, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "SDValue", "AMDGPUTargetLowering", "::", "LowerOperation", "(", "SDValue", "Op", ",", "SelectionDAG", "&", "DAG", ")", "const", "{", "switch", "(", "Op", ".", "getOpcode", "(", ")", ")", "{", "default", ":", "Op", ".", "getNode", "(", ")", "->", "dump", "(", ")", ";", "llvm_unreachable", "(", "\"Custom lowering code for this\"", "\"instruction is not implemented yet!\"", ")", ";", "break", ";", "case", "ISD", "::", "SIGN_EXTEND_INREG", ":", "return", "LowerSIGN_EXTEND_INREG", "(", "Op", ",", "DAG", ")", ";", "case", "ISD", "::", "CONCAT_VECTORS", ":", "return", "LowerCONCAT_VECTORS", "(", "Op", ",", "DAG", ")", ";", "case", "ISD", "::", "EXTRACT_SUBVECTOR", ":", "return", "LowerEXTRACT_SUBVECTOR", "(", "Op", ",", "DAG", ")", ";", "case", "ISD", "::", "FrameIndex", ":", "return", "LowerFrameIndex", "(", "Op", ",", "DAG", ")", ";", "case", "ISD", "::", "INTRINSIC_WO_CHAIN", ":", "return", "LowerINTRINSIC_WO_CHAIN", "(", "Op", ",", "DAG", ")", ";", "case", "ISD", "::", "UDIVREM", ":", "return", "LowerUDIVREM", "(", "Op", ",", "DAG", ")", ";", "case", "ISD", "::", "SDIVREM", ":", "return", "LowerSDIVREM", "(", "Op", ",", "DAG", ")", ";", "case", "ISD", "::", "FREM", ":", "return", "LowerFREM", "(", "Op", ",", "DAG", ")", ";", "case", "ISD", "::", "FCEIL", ":", "return", "LowerFCEIL", "(", "Op", ",", "DAG", ")", ";", "case", "ISD", "::", "FTRUNC", ":", "return", "LowerFTRUNC", "(", "Op", ",", "DAG", ")", ";", "case", "ISD", "::", "FRINT", ":", "return", "LowerFRINT", "(", "Op", ",", "DAG", ")", ";", "case", "ISD", "::", "FNEARBYINT", ":", "return", "LowerFNEARBYINT", "(", "Op", ",", "DAG", ")", ";", "case", "ISD", "::", "FFLOOR", ":", "return", "LowerFFLOOR", "(", "Op", ",", "DAG", ")", ";", "case", "ISD", "::", "UINT_TO_FP", ":", "return", "LowerUINT_TO_FP", "(", "Op", ",", "DAG", ")", ";", "}", "return", "Op", ";", "}", ""], "natrual_language": ["LowerOperation", "-", "Provide", "custom", "lowering", "hooks", "for", "some", "operations", "."], "TS_V_token": ["R600", "\"Custom lowering code for this\"", "\"instruction is not implemented yet!\"", "ISD::SIGN_EXTEND_INREG", "SI", "ISD::CONCAT_VECTORS", "ISD::EXTRACT_SUBVECTOR", "ISD::FrameIndex", "ISD::INTRINSIC_WO_CHAIN", "SI", "ISD::UDIVREM", "ISD::SDIVREM", "ISD::FREM", "ISD::FCEIL", "ISD::FTRUNC", "ISD::FRINT", "ISD::FNEARBYINT", "ISD::FFLOOR", "ISD::UINT_TO_FP"], "File": "AMDGPUISelLowering107", "Func": "LowerOperation", "Target": "R600", "Target_Clf": "GPU", "Compiler_Type": "LLVM", "Idx": 258, "Length": 230, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "bool", "isImm", "(", ")", "const", "override", "{", "return", "Kind", "==", "k_Imm", ";", "}", ""], "natrual_language": ["isImm", "-", "Is", "this", "an", "immediate", "operand", "?"], "TS_V_token": ["MSP430"], "File": "MSP430AsmParser11", "Func": "isImm", "Target": "MSP430", "Target_Clf": "MPU", "Compiler_Type": "LLVM", "Idx": 259, "Length": 13, "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": 260, "Length": 25, "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": 261, "Length": 147, "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": 262, "Length": 102, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "TTI", "::", "AddressingModeKind", "HexagonTTIImpl", "::", "getPreferredAddressingMode", "(", "const", "Loop", "*", "L", ",", "ScalarEvolution", "*", "SE", ")", "const", "{", "return", "TTI", "::", "AMK_PostIndexed", ";", "}", ""], "natrual_language": ["Return", "the", "preferred", "addressing", "mode", "LSR", "should", "make", "efforts", "to", "generate", "."], "TS_V_token": ["Hexagon", "Hexagon"], "File": "HexagonTargetTransformInfo16", "Func": "getPreferredAddressingMode", "Target": "Hexagon", "Target_Clf": "DSP", "Compiler_Type": "LLVM", "Idx": 263, "Length": 24, "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": 264, "Length": 139, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "void", "P2FrameLowering", "::", "emitPrologue", "(", "MachineFunction", "&", "MF", ",", "MachineBasicBlock", "&", "MBB", ")", "const", "{", "LLVM_DEBUG", "(", "dbgs", "(", ")", "<<", "\"Emit Prologue: \"", "<<", "MF", ".", "getName", "(", ")", "<<", "\"\\n\"", ")", ";", "const", "P2InstrInfo", "*", "TII", "=", "MF", ".", "getSubtarget", "<", "P2Subtarget", ">", "(", ")", ".", "getInstrInfo", "(", ")", ";", "MachineBasicBlock", "::", "iterator", "MBBI", "=", "MBB", ".", "begin", "(", ")", ";", "P2FunctionInfo", "*", "P2FI", "=", "MF", ".", "getInfo", "<", "P2FunctionInfo", ">", "(", ")", ";", "MachineFrameInfo", "&", "MFI", "=", "MF", ".", "getFrameInfo", "(", ")", ";", "uint64_t", "StackSize", "=", "MFI", ".", "getStackSize", "(", ")", "-", "4", "-", "P2FI", "->", "getIncomingArgSize", "(", ")", ";", "LLVM_DEBUG", "(", "errs", "(", ")", "<<", "\"Allocating \"", "<<", "StackSize", "<<", "\" bytes for stack (original value: \"", "<<", "MFI", ".", "getStackSize", "(", ")", "<<", "\")\\n\"", ")", ";", "if", "(", "StackSize", "==", "0", ")", "{", "LLVM_DEBUG", "(", "errs", "(", ")", "<<", "\"No need to allocate stack space\\n\"", ")", ";", "return", ";", "}", "TII", "->", "adjustStackPtr", "(", "P2", "::", "PTRA", ",", "StackSize", ",", "MBB", ",", "MBBI", ")", ";", "}", ""], "natrual_language": ["emitProlog/emitEpilog", "-", "These", "methods", "insert", "prolog", "and", "epilog", "code", "into", "the", "function", "."], "TS_V_token": ["P2", "P2", "\"Emit Prologue: \"", "\"\\n\"", "P2", "P2", "P2", "P2", "P2", "4", "P2", "\"Allocating \"", "\" bytes for stack (original value: \"", "\")\\n\"", "0", "\"No need to allocate stack space\\n\"", "P2::PTRA"], "File": "P2FrameLowering", "Func": "emitPrologue", "Target": "P2", "Target_Clf": "MPU", "Compiler_Type": "LLVM", "Idx": 265, "Length": 157, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "static", "bool", "optimizeCall", "(", "MachineBasicBlock", "&", "MBB", ",", "MachineInstr", "&", "MI", ",", "const", "MachineRegisterInfo", "&", "MRI", ",", "MachineDominatorTree", "&", "MDT", ",", "LiveIntervals", "&", "LIS", ",", "const", "WebAssemblyTargetLowering", "&", "TLI", ",", "const", "TargetLibraryInfo", "&", "LibInfo", ")", "{", "MachineOperand", "&", "Op1", "=", "MI", ".", "getOperand", "(", "1", ")", ";", "if", "(", "!", "Op1", ".", "isSymbol", "(", ")", ")", "return", "false", ";", "StringRef", "Name", "(", "Op1", ".", "getSymbolName", "(", ")", ")", ";", "bool", "CallReturnsInput", "=", "Name", "==", "TLI", ".", "getLibcallName", "(", "RTLIB", "::", "MEMCPY", ")", "||", "Name", "==", "TLI", ".", "getLibcallName", "(", "RTLIB", "::", "MEMMOVE", ")", "||", "Name", "==", "TLI", ".", "getLibcallName", "(", "RTLIB", "::", "MEMSET", ")", ";", "if", "(", "!", "CallReturnsInput", ")", "return", "false", ";", "LibFunc", "Func", ";", "if", "(", "!", "LibInfo", ".", "getLibFunc", "(", "Name", ",", "Func", ")", ")", "return", "false", ";", "unsigned", "FromReg", "=", "MI", ".", "getOperand", "(", "2", ")", ".", "getReg", "(", ")", ";", "unsigned", "ToReg", "=", "MI", ".", "getOperand", "(", "0", ")", ".", "getReg", "(", ")", ";", "if", "(", "MRI", ".", "getRegClass", "(", "FromReg", ")", "!=", "MRI", ".", "getRegClass", "(", "ToReg", ")", ")", "report_fatal_error", "(", "\"Memory Intrinsic results: call to builtin function \"", "\"with wrong signature, from/to mismatch\"", ")", ";", "return", "replaceDominatedUses", "(", "MBB", ",", "MI", ",", "FromReg", ",", "ToReg", ",", "MRI", ",", "MDT", ",", "LIS", ")", ";", "}", ""], "natrual_language": ["optimizeCall", "-", "Take", "the", "given", "call", "instruction", "and", "return", "a", "more", "optimal", "value", "to", "replace", "the", "instruction", "with", "or", "0", "if", "a", "more", "optimal", "form", "ca", "n't", "be", "found", "."], "TS_V_token": ["WebAssembly", "WebAssembly", "1", "2", "0", "\"Memory Intrinsic results: call to builtin function \"", "\"with wrong signature, from/to mismatch\""], "File": "WebAssemblyMemIntrinsicResults2", "Func": "optimizeCall", "Target": "WebAssembly", "Target_Clf": "Virtual ISA", "Compiler_Type": "LLVM", "Idx": 266, "Length": 200, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "bool", "hasBranchDivergence", "(", ")", "{", "return", "true", ";", "}", ""], "natrual_language": ["Return", "true", "if", "branch", "divergence", "exists", "."], "TS_V_token": ["R600"], "File": "AMDGPUTargetTransformInfo43", "Func": "hasBranchDivergence", "Target": "R600", "Target_Clf": "GPU", "Compiler_Type": "LLVM", "Idx": 267, "Length": 9, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "static", "SDValue", "LowerCallResult", "(", "SDValue", "Chain", ",", "SDValue", "InFlag", ",", "const", "SmallVectorImpl", "<", "CCValAssign", ">", "&", "RVLocs", ",", "SDLoc", "dl", ",", "SelectionDAG", "&", "DAG", ",", "SmallVectorImpl", "<", "SDValue", ">", "&", "InVals", ")", "{", "SmallVector", "<", "std", "::", "pair", "<", "int", ",", "unsigned", ">", ",", "4", ">", "ResultMemLocs", ";", "for", "(", "unsigned", "i", "=", "0", ",", "e", "=", "RVLocs", ".", "size", "(", ")", ";", "i", "!=", "e", ";", "++", "i", ")", "{", "const", "CCValAssign", "&", "VA", "=", "RVLocs", "[", "i", "]", ";", "if", "(", "VA", ".", "isRegLoc", "(", ")", ")", "{", "Chain", "=", "DAG", ".", "getCopyFromReg", "(", "Chain", ",", "dl", ",", "VA", ".", "getLocReg", "(", ")", ",", "VA", ".", "getValVT", "(", ")", ",", "InFlag", ")", ".", "getValue", "(", "1", ")", ";", "InFlag", "=", "Chain", ".", "getValue", "(", "2", ")", ";", "InVals", ".", "push_back", "(", "Chain", ".", "getValue", "(", "0", ")", ")", ";", "}", "else", "{", "assert", "(", "VA", ".", "isMemLoc", "(", ")", ")", ";", "ResultMemLocs", ".", "push_back", "(", "std", "::", "make_pair", "(", "VA", ".", "getLocMemOffset", "(", ")", ",", "InVals", ".", "size", "(", ")", ")", ")", ";", "InVals", ".", "push_back", "(", "SDValue", "(", ")", ")", ";", "}", "}", "SmallVector", "<", "SDValue", ",", "4", ">", "MemOpChains", ";", "for", "(", "unsigned", "i", "=", "0", ",", "e", "=", "ResultMemLocs", ".", "size", "(", ")", ";", "i", "!=", "e", ";", "++", "i", ")", "{", "int", "offset", "=", "ResultMemLocs", "[", "i", "]", ".", "first", ";", "unsigned", "index", "=", "ResultMemLocs", "[", "i", "]", ".", "second", ";", "SDVTList", "VTs", "=", "DAG", ".", "getVTList", "(", "MVT", "::", "i32", ",", "MVT", "::", "Other", ")", ";", "SDValue", "Ops", "[", "]", "=", "{", "Chain", ",", "DAG", ".", "getConstant", "(", "offset", "/", "4", ",", "MVT", "::", "i32", ")", "}", ";", "SDValue", "load", "=", "DAG", ".", "getNode", "(", "XCoreISD", "::", "LDWSP", ",", "dl", ",", "VTs", ",", "Ops", ",", "2", ")", ";", "InVals", "[", "index", "]", "=", "load", ";", "MemOpChains", ".", "push_back", "(", "load", ".", "getValue", "(", "1", ")", ")", ";", "}", "if", "(", "!", "MemOpChains", ".", "empty", "(", ")", ")", "Chain", "=", "DAG", ".", "getNode", "(", "ISD", "::", "TokenFactor", ",", "dl", ",", "MVT", "::", "Other", ",", "&", "MemOpChains", "[", "0", "]", ",", "MemOpChains", ".", "size", "(", ")", ")", ";", "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": ["XCore", "4", "0", "1", "2", "0", "4", "0", "MVT::i32", "MVT::Other", "4", "MVT::i32", "XCoreISD::LDWSP", "2", "1", "ISD::TokenFactor", "MVT::Other", "0"], "File": "XCoreISelLowering4", "Func": "LowerCallResult", "Target": "XCore", "Target_Clf": "MPU", "Compiler_Type": "LLVM", "Idx": 268, "Length": 357, "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": 269, "Length": 15, "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": 270, "Length": 462, "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": 271, "Length": 149, "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": 272, "Length": 171, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "virtual", "bool", "isVerboseAsm", "(", ")", "const", "{", "return", "IsVerboseAsm", ";", "}", ""], "natrual_language": ["Return", "true", "if", "this", "streamer", "supports", "verbose", "assembly", "and", "if", "it", "is", "enabled", "."], "TS_V_token": ["Cpu0"], "File": "Cpu0AsmStreamer", "Func": "isVerboseAsm", "Target": "Cpu0", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 273, "Length": 11, "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": 274, "Length": 301, "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": 275, "Length": 227, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "static", "void", "nds32_encode_section_info", "(", "tree", "decl", ",", "rtx", "rtl", ",", "int", "new_decl_p", ")", "{", "default_encode_section_info", "(", "decl", ",", "rtl", ",", "new_decl_p", ")", ";", "if", "(", "MEM_P", "(", "rtl", ")", "&&", "MEM_READONLY_P", "(", "rtl", ")", ")", "{", "rtx", "addr", "=", "XEXP", "(", "rtl", ",", "0", ")", ";", "if", "(", "GET_CODE", "(", "addr", ")", "==", "SYMBOL_REF", ")", "{", "SYMBOL_REF_FLAGS", "(", "addr", ")", "|=", "NDS32_SYMBOL_FLAG_RODATA", ";", "}", "else", "if", "(", "GET_CODE", "(", "addr", ")", "==", "CONST", "&&", "GET_CODE", "(", "XEXP", "(", "addr", ",", "0", ")", ")", "==", "PLUS", ")", "{", "rtx", "plus_op", "=", "XEXP", "(", "addr", ",", "0", ")", ";", "rtx", "op0", "=", "XEXP", "(", "plus_op", ",", "0", ")", ";", "rtx", "op1", "=", "XEXP", "(", "plus_op", ",", "1", ")", ";", "if", "(", "GET_CODE", "(", "op0", ")", "==", "SYMBOL_REF", "&&", "CONST_INT_P", "(", "op1", ")", ")", "SYMBOL_REF_FLAGS", "(", "op0", ")", "|=", "NDS32_SYMBOL_FLAG_RODATA", ";", "}", "}", "}", ""], "natrual_language": ["If", "references", "to", "a", "symbol", "or", "a", "constant", "must", "be", "treated", "differently", "depending", "on", "something", "about", "the", "variable", "or", "function", "named", "by", "the", "symbol", "(", "such", "as", "what", "section", "it", "is", "in", ")", ",", "we", "use", "this", "hook", "to", "store", "flags", "in", "symbol_ref", "rtx", "."], "TS_V_token": ["nds32", "0", "0", "0", "0", "1"], "File": "nds32", "Func": "nds32_encode_section_info", "Target": "nds32", "Target_Clf": "CPU", "Compiler_Type": "GCC", "Idx": 276, "Length": 141, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "void", "M88kPassConfig", "::", "addPreRegBankSelect", "(", ")", "{", "addPass", "(", "createM88kPostLegalizerLowering", "(", ")", ")", ";", "}", ""], "natrual_language": ["This", "method", "may", "be", "implemented", "by", "targets", "that", "want", "to", "run", "passes", "immediately", "before", "the", "register", "bank", "selection", "."], "TS_V_token": ["M88k", "M88k", "M88k"], "File": "M88kTargetMachine", "Func": "addPreRegBankSelect", "Target": "M88k", "Target_Clf": "MPU", "Compiler_Type": "LLVM", "Idx": 277, "Length": 15, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "void", "print_operand_address", "(", "FILE", "*", "file", ",", "rtx", "addr", ")", "{", "switch", "(", "GET_CODE", "(", "addr", ")", ")", "{", "case", "REG", ":", "fprintf", "(", "file", ",", "ptrreg_to_str", "(", "REGNO", "(", "addr", ")", ")", ")", ";", "break", ";", "case", "PRE_DEC", ":", "fprintf", "(", "file", ",", "\"-%s\"", ",", "ptrreg_to_str", "(", "REGNO", "(", "XEXP", "(", "addr", ",", "0", ")", ")", ")", ")", ";", "break", ";", "case", "POST_INC", ":", "fprintf", "(", "file", ",", "\"%s+\"", ",", "ptrreg_to_str", "(", "REGNO", "(", "XEXP", "(", "addr", ",", "0", ")", ")", ")", ")", ";", "break", ";", "default", ":", "if", "(", "CONSTANT_ADDRESS_P", "(", "addr", ")", "&&", "(", "(", "GET_CODE", "(", "addr", ")", "==", "SYMBOL_REF", "&&", "SYMBOL_REF_FUNCTION_P", "(", "addr", ")", ")", "||", "GET_CODE", "(", "addr", ")", "==", "LABEL_REF", ")", ")", "{", "fprintf", "(", "file", ",", "\"pm(\"", ")", ";", "output_addr_const", "(", "file", ",", "addr", ")", ";", "fprintf", "(", "file", ",", "\")\"", ")", ";", "}", "else", "output_addr_const", "(", "file", ",", "addr", ")", ";", "}", "}", ""], "natrual_language": ["Print", "the", "operand", "address", "represented", "by", "the", "rtx", "addr"], "TS_V_token": ["avr", "\"-%s\"", "0", "\"%s+\"", "0", "\"pm(\"", "\")\""], "File": "avr3", "Func": "print_operand_address", "Target": "avr", "Target_Clf": "MPU", "Compiler_Type": "GCC", "Idx": 278, "Length": 152, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "static", "int", "reduce_class", "(", "int", "original_class", ",", "int", "limiting_class", ",", "int", "returned_if_empty", ")", "{", "int", "cc", "=", "class_contents", "[", "original_class", "]", "[", "0", "]", ";", "int", "i", ",", "best", "=", "NO_REGS", ";", "int", "best_size", "=", "0", ";", "if", "(", "original_class", "==", "limiting_class", ")", "return", "original_class", ";", "if", "(", "!", "class_sizes", ")", "{", "int", "r", ";", "class_sizes", "=", "(", "int", "*", ")", "xmalloc", "(", "LIM_REG_CLASSES", "*", "sizeof", "(", "int", ")", ")", ";", "for", "(", "i", "=", "0", ";", "i", "<", "LIM_REG_CLASSES", ";", "i", "++", ")", "{", "class_sizes", "[", "i", "]", "=", "0", ";", "for", "(", "r", "=", "0", ";", "r", "<", "FIRST_PSEUDO_REGISTER", ";", "r", "++", ")", "if", "(", "class_contents", "[", "i", "]", "[", "0", "]", "&", "(", "1", "<<", "r", ")", ")", "class_sizes", "[", "i", "]", "++", ";", "}", "}", "cc", "&=", "class_contents", "[", "limiting_class", "]", "[", "0", "]", ";", "for", "(", "i", "=", "0", ";", "i", "<", "LIM_REG_CLASSES", ";", "i", "++", ")", "{", "int", "ic", "=", "class_contents", "[", "i", "]", "[", "0", "]", ";", "if", "(", "(", "~", "cc", "&", "ic", ")", "==", "0", ")", "if", "(", "best_size", "<", "class_sizes", "[", "i", "]", ")", "{", "best", "=", "i", ";", "best_size", "=", "class_sizes", "[", "i", "]", ";", "}", "}", "if", "(", "best", "==", "NO_REGS", ")", "return", "returned_if_empty", ";", "return", "best", ";", "}", ""], "natrual_language": ["Given", "two", "register", "classes", ",", "find", "the", "largest", "intersection", "between", "them", ".", "If", "there", "is", "no", "intersection", ",", "return", "RETURNED_IF_EMPTY", "instead", "."], "TS_V_token": ["m32c", "0", "0", "0", "0", "0", "0", "1", "0", "0", "0", "0"], "File": "m32c2", "Func": "reduce_class", "Target": "m32c", "Target_Clf": "MPU", "Compiler_Type": "GCC", "Idx": 279, "Length": 211, "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": 280, "Length": 99, "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": 281, "Length": 210, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "const", "char", "*", "iq2000_fill_delay_slot", "(", "const", "char", "*", "ret", ",", "enum", "delay_type", "type", ",", "rtx", "operands", "[", "]", ",", "rtx_insn", "*", "cur_insn", ")", "{", "rtx", "set_reg", ";", "machine_mode", "mode", ";", "rtx_insn", "*", "next_insn", "=", "cur_insn", "?", "NEXT_INSN", "(", "cur_insn", ")", ":", "NULL", ";", "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", "&&", "(", "NOTE_P", "(", "next_insn", ")", "||", "LABEL_P", "(", "next_insn", ")", ")", ")", "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", "||", "LABEL_P", "(", "next_insn", ")", "||", "(", "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": "iq2000", "Func": "iq2000_fill_delay_slot", "Target": "iq2000", "Target_Clf": "CPU", "Compiler_Type": "GCC", "Idx": 282, "Length": 246, "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", "(", ")", ",", "E", "=", "MF", ".", "end", "(", ")", ";", "I", "!=", "E", ";", ")", "{", "MachineBasicBlock", "&", "B", "=", "*", "I", "++", ";", "Changed", "|=", "processBlock", "(", "B", ")", ";", "}", "return", "Changed", ";", "}", ""], "natrual_language": ["runOnMachineFunction", "-", "Emit", "the", "function", "body", "."], "TS_V_token": ["PowerPC", "2"], "File": "PPCEarlyReturn", "Func": "runOnMachineFunction", "Target": "PowerPC", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 283, "Length": 100, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "bool", "AMDGPUAnnotateKernelFeatures", "::", "doInitialization", "(", "CallGraph", "&", "CG", ")", "{", "auto", "*", "TPC", "=", "getAnalysisIfAvailable", "<", "TargetPassConfig", ">", "(", ")", ";", "if", "(", "!", "TPC", ")", "report_fatal_error", "(", "\"TargetMachine is required\"", ")", ";", "TM", "=", "&", "TPC", "->", "getTM", "<", "TargetMachine", ">", "(", ")", ";", "return", "false", ";", "}", ""], "natrual_language": ["Set", "up", "the", "AsmPrinter", "when", "we", "are", "working", "on", "a", "new", "module", "."], "TS_V_token": ["AMDGPU", "AMDGPU", "\"TargetMachine is required\""], "File": "AMDGPUAnnotateKernelFeatures", "Func": "doInitialization", "Target": "AMDGPU", "Target_Clf": "GPU", "Compiler_Type": "LLVM", "Idx": 284, "Length": 47, "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": 285, "Length": 297, "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": 286, "Length": 98, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "int", "ft32_initial_elimination_offset", "(", "int", "from", ",", "int", "to", ")", "{", "ft32_compute_frame", "(", ")", ";", "if", "(", "from", "==", "ARG_POINTER_REGNUM", "&&", "to", "==", "FRAME_POINTER_REGNUM", ")", "{", "return", "cfun", "->", "machine", "->", "callee_saved_reg_size", "+", "2", "*", "UNITS_PER_WORD", ";", "}", "if", "(", "from", "==", "ARG_POINTER_REGNUM", "&&", "to", "==", "STACK_POINTER_REGNUM", ")", "{", "int", "arg_offset", ";", "arg_offset", "=", "must_link", "(", ")", "?", "2", ":", "1", ";", "return", "(", "(", "cfun", "->", "machine", "->", "callee_saved_reg_size", "+", "arg_offset", "*", "UNITS_PER_WORD", ")", "+", "cfun", "->", "machine", "->", "size_for_adjusting_sp", ")", ";", "}", "if", "(", "(", "from", "==", "FRAME_POINTER_REGNUM", ")", "&&", "(", "to", "==", "STACK_POINTER_REGNUM", ")", ")", "{", "return", "cfun", "->", "machine", "->", "size_for_adjusting_sp", ";", "}", "gcc_unreachable", "(", ")", ";", "}", ""], "natrual_language": ["Implements", "the", "macro", "INITIAL_ELIMINATION_OFFSET", ",", "return", "the", "OFFSET", "."], "TS_V_token": ["ft32", "2", "2", "1"], "File": "ft32", "Func": "ft32_initial_elimination_offset", "Target": "ft32", "Target_Clf": "MPU", "Compiler_Type": "GCC", "Idx": 287, "Length": 111, "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": 288, "Length": 86, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "bool", "SILowerControlFlowPass", "::", "runOnMachineFunction", "(", "MachineFunction", "&", "MF", ")", "{", "TII", "=", "MF", ".", "getTarget", "(", ")", ".", "getInstrInfo", "(", ")", ";", "TRI", "=", "MF", ".", "getTarget", "(", ")", ".", "getRegisterInfo", "(", ")", ";", "bool", "HaveKill", "=", "false", ";", "bool", "NeedM0", "=", "false", ";", "bool", "NeedWQM", "=", "false", ";", "unsigned", "Depth", "=", "0", ";", "for", "(", "MachineFunction", "::", "iterator", "BI", "=", "MF", ".", "begin", "(", ")", ",", "BE", "=", "MF", ".", "end", "(", ")", ";", "BI", "!=", "BE", ";", "++", "BI", ")", "{", "MachineBasicBlock", "&", "MBB", "=", "*", "BI", ";", "for", "(", "MachineBasicBlock", "::", "iterator", "I", "=", "MBB", ".", "begin", "(", ")", ",", "Next", "=", "llvm", "::", "next", "(", "I", ")", ";", "I", "!=", "MBB", ".", "end", "(", ")", ";", "I", "=", "Next", ")", "{", "Next", "=", "llvm", "::", "next", "(", "I", ")", ";", "MachineInstr", "&", "MI", "=", "*", "I", ";", "switch", "(", "MI", ".", "getOpcode", "(", ")", ")", "{", "default", ":", "break", ";", "case", "AMDGPU", "::", "SI_IF", ":", "++", "Depth", ";", "If", "(", "MI", ")", ";", "break", ";", "case", "AMDGPU", "::", "SI_ELSE", ":", "Else", "(", "MI", ")", ";", "break", ";", "case", "AMDGPU", "::", "SI_BREAK", ":", "Break", "(", "MI", ")", ";", "break", ";", "case", "AMDGPU", "::", "SI_IF_BREAK", ":", "IfBreak", "(", "MI", ")", ";", "break", ";", "case", "AMDGPU", "::", "SI_ELSE_BREAK", ":", "ElseBreak", "(", "MI", ")", ";", "break", ";", "case", "AMDGPU", "::", "SI_LOOP", ":", "++", "Depth", ";", "Loop", "(", "MI", ")", ";", "break", ";", "case", "AMDGPU", "::", "SI_END_CF", ":", "if", "(", "--", "Depth", "==", "0", "&&", "HaveKill", ")", "{", "SkipIfDead", "(", "MI", ")", ";", "HaveKill", "=", "false", ";", "}", "EndCf", "(", "MI", ")", ";", "break", ";", "case", "AMDGPU", "::", "SI_KILL", ":", "if", "(", "Depth", "==", "0", ")", "SkipIfDead", "(", "MI", ")", ";", "else", "HaveKill", "=", "true", ";", "Kill", "(", "MI", ")", ";", "break", ";", "case", "AMDGPU", "::", "S_BRANCH", ":", "Branch", "(", "MI", ")", ";", "break", ";", "case", "AMDGPU", "::", "SI_INDIRECT_SRC", ":", "IndirectSrc", "(", "MI", ")", ";", "break", ";", "case", "AMDGPU", "::", "SI_INDIRECT_DST_V2", ":", "case", "AMDGPU", "::", "SI_INDIRECT_DST_V4", ":", "case", "AMDGPU", "::", "SI_INDIRECT_DST_V8", ":", "case", "AMDGPU", "::", "SI_INDIRECT_DST_V16", ":", "IndirectDst", "(", "MI", ")", ";", "break", ";", "case", "AMDGPU", "::", "DS_READ_B32", ":", "NeedWQM", "=", "true", ";", "case", "AMDGPU", "::", "DS_WRITE_B32", ":", "NeedM0", "=", "true", ";", "break", ";", "case", "AMDGPU", "::", "V_INTERP_P1_F32", ":", "case", "AMDGPU", "::", "V_INTERP_P2_F32", ":", "case", "AMDGPU", "::", "V_INTERP_MOV_F32", ":", "NeedWQM", "=", "true", ";", "break", ";", "}", "}", "}", "if", "(", "NeedM0", ")", "{", "MachineBasicBlock", "&", "MBB", "=", "MF", ".", "front", "(", ")", ";", "BuildMI", "(", "MBB", ",", "MBB", ".", "getFirstNonPHI", "(", ")", ",", "DebugLoc", "(", ")", ",", "TII", "->", "get", "(", "AMDGPU", "::", "S_MOV_B32", ")", ",", "AMDGPU", "::", "M0", ")", ".", "addImm", "(", "0xffffffff", ")", ";", "}", "if", "(", "NeedWQM", ")", "{", "MachineBasicBlock", "&", "MBB", "=", "MF", ".", "front", "(", ")", ";", "BuildMI", "(", "MBB", ",", "MBB", ".", "getFirstNonPHI", "(", ")", ",", "DebugLoc", "(", ")", ",", "TII", "->", "get", "(", "AMDGPU", "::", "S_WQM_B64", ")", ",", "AMDGPU", "::", "EXEC", ")", ".", "addReg", "(", "AMDGPU", "::", "EXEC", ")", ";", "}", "return", "true", ";", "}", ""], "natrual_language": ["runOnMachineFunction", "-", "Emit", "the", "function", "body", "."], "TS_V_token": ["R600", "SI", "0", "SI", "SI", "SI", "SI", "SI", "SI", "SI", "0", "SI", "0", "SI", "SI", "SI", "SI", "SI", "0xffffffff"], "File": "SILowerControlFlow8", "Func": "runOnMachineFunction", "Target": "R600", "Target_Clf": "GPU", "Compiler_Type": "LLVM", "Idx": 289, "Length": 491, "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": 290, "Length": 101, "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": 291, "Length": 103, "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": 292, "Length": 58, "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": 293, "Length": 97, "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": 294, "Length": 212, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "const", "MCFixupKindInfo", "&", "P2AsmBackend", "::", "getFixupKindInfo", "(", "MCFixupKind", "Kind", ")", "const", "{", "const", "static", "MCFixupKindInfo", "Infos", "[", "P2", "::", "NumTargetFixupKinds", "]", "=", "{", "{", "\"fixup_P2_32\"", ",", "0", ",", "32", ",", "0", "}", ",", "{", "\"fixup_P2_PC32\"", ",", "0", ",", "32", ",", "MCFixupKindInfo", "::", "FKF_IsPCRel", "}", ",", "{", "\"fixup_P2_20\"", ",", "0", ",", "20", ",", "0", "}", ",", "{", "\"fixup_P2_PC20\"", ",", "0", ",", "20", ",", "MCFixupKindInfo", "::", "FKF_IsPCRel", "}", ",", "{", "\"fixup_P2_AUG20\"", ",", "0", ",", "20", ",", "0", "}", ",", "{", "\"fixup_P2_COG9\"", ",", "0", ",", "9", ",", "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": ["P2", "P2", "P2::NumTargetFixupKinds", "\"fixup_P2_32\"", "0", "32", "0", "\"fixup_P2_PC32\"", "0", "32", "\"fixup_P2_20\"", "0", "20", "0", "\"fixup_P2_PC20\"", "0", "20", "\"fixup_P2_AUG20\"", "0", "20", "0", "\"fixup_P2_COG9\"", "0", "9", "0", "\"Invalid kind!\""], "File": "P2AsmBackend", "Func": "getFixupKindInfo", "Target": "P2", "Target_Clf": "MPU", "Compiler_Type": "LLVM", "Idx": 295, "Length": 127, "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": 296, "Length": 365, "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": 297, "Length": 223, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "void", "avr_init_once", "(", ")", "{", "tmp_reg_rtx", "=", "xmalloc", "(", "sizeof", "(", "struct", "rtx_def", ")", "+", "1", "*", "sizeof", "(", "rtunion", ")", ")", ";", "memset", "(", "tmp_reg_rtx", ",", "0", ",", "sizeof", "(", "struct", "rtx_def", ")", "+", "1", "*", "sizeof", "(", "rtunion", ")", ")", ";", "PUT_CODE", "(", "tmp_reg_rtx", ",", "REG", ")", ";", "PUT_MODE", "(", "tmp_reg_rtx", ",", "QImode", ")", ";", "XINT", "(", "tmp_reg_rtx", ",", "0", ")", "=", "TMP_REGNO", ";", "zero_reg_rtx", "=", "xmalloc", "(", "sizeof", "(", "struct", "rtx_def", ")", "+", "1", "*", "sizeof", "(", "rtunion", ")", ")", ";", "memset", "(", "zero_reg_rtx", ",", "0", ",", "sizeof", "(", "struct", "rtx_def", ")", "+", "1", "*", "sizeof", "(", "rtunion", ")", ")", ";", "PUT_CODE", "(", "zero_reg_rtx", ",", "REG", ")", ";", "PUT_MODE", "(", "zero_reg_rtx", ",", "QImode", ")", ";", "XINT", "(", "zero_reg_rtx", ",", "0", ")", "=", "ZERO_REGNO", ";", "ldi_reg_rtx", "=", "xmalloc", "(", "sizeof", "(", "struct", "rtx_def", ")", "+", "1", "*", "sizeof", "(", "rtunion", ")", ")", ";", "memset", "(", "ldi_reg_rtx", ",", "0", ",", "sizeof", "(", "struct", "rtx_def", ")", "+", "1", "*", "sizeof", "(", "rtunion", ")", ")", ";", "PUT_CODE", "(", "ldi_reg_rtx", ",", "REG", ")", ";", "PUT_MODE", "(", "ldi_reg_rtx", ",", "QImode", ")", ";", "XINT", "(", "ldi_reg_rtx", ",", "0", ")", "=", "LDI_REG_REGNO", ";", "}", ""], "natrual_language": ["Initialize", "TMP_REG_RTX", "and", "ZERO_REG_RTX"], "TS_V_token": ["avr", "1", "0", "1", "0", "1", "0", "1", "0", "1", "0", "1", "0"], "File": "avr2", "Func": "avr_init_once", "Target": "avr", "Target_Clf": "MPU", "Compiler_Type": "GCC", "Idx": 298, "Length": 189, "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": 299, "Length": 341, "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": 300, "Length": 147, "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": 301, "Length": 169, "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": 302, "Length": 36, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "const", "uint16_t", "*", "GBZ80RegisterInfo", "::", "getCalleeSavedRegs", "(", "const", "MachineFunction", "*", "MF", ")", "const", "{", "if", "(", "MF", "->", "getFunction", "(", ")", ".", "getFunctionType", "(", ")", "->", "getNumParams", "(", ")", "<=", "1", ")", "return", "CSR_0_1_SaveList", ";", "else", "return", "CSR_2_SaveList", ";", "}", ""], "natrual_language": ["Code", "Generation", "virtual", "methods", "..."], "TS_V_token": ["GBZ80", "GB", "1"], "File": "GBZ80RegisterInfo", "Func": "getCalleeSavedRegs", "Target": "GBZ80", "Target_Clf": "MPU", "Compiler_Type": "LLVM", "Idx": 303, "Length": 40, "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": 304, "Length": 376, "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": 305, "Length": 157, "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": 306, "Length": 129, "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": 307, "Length": 26, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "static", "inline", "bool", "current_function_has_lr_slot", "(", "void", ")", "{", "return", "current_frame_info", ".", "lr_slot", "!=", "0", ";", "}", ""], "natrual_language": ["Accessor", "for", "current_frame_info.lr_slot", "."], "TS_V_token": ["visium", "0"], "File": "visium", "Func": "current_function_has_lr_slot", "Target": "visium", "Target_Clf": "Virtual ISA", "Compiler_Type": "GCC", "Idx": 308, "Length": 16, "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": 309, "Length": 60, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "void", "getAnalysisUsage", "(", "AnalysisUsage", "&", "AU", ")", "const", "override", "{", "AU", ".", "setPreservesCFG", "(", ")", ";", "FunctionPass", "::", "getAnalysisUsage", "(", "AU", ")", ";", "}", ""], "natrual_language": ["getAnalysisUsage", "-", "Subclasses", "that", "override", "getAnalysisUsage", "must", "call", "this", "."], "TS_V_token": ["AMDGPU"], "File": "AMDGPUPromoteAlloca1", "Func": "getAnalysisUsage", "Target": "AMDGPU", "Target_Clf": "GPU", "Compiler_Type": "LLVM", "Idx": 310, "Length": 24, "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": 311, "Length": 24, "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": 312, "Length": 157, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "const", "char", "*", "PTXTargetLowering", "::", "getTargetNodeName", "(", "unsigned", "Opcode", ")", "const", "{", "switch", "(", "Opcode", ")", "{", "default", ":", "llvm_unreachable", "(", "\"Unknown opcode\"", ")", ";", "case", "PTXISD", "::", "COPY_ADDRESS", ":", "return", "\"PTXISD::COPY_ADDRESS\"", ";", "case", "PTXISD", "::", "LOAD_PARAM", ":", "return", "\"PTXISD::LOAD_PARAM\"", ";", "case", "PTXISD", "::", "STORE_PARAM", ":", "return", "\"PTXISD::STORE_PARAM\"", ";", "case", "PTXISD", "::", "READ_PARAM", ":", "return", "\"PTXISD::READ_PARAM\"", ";", "case", "PTXISD", "::", "WRITE_PARAM", ":", "return", "\"PTXISD::WRITE_PARAM\"", ";", "case", "PTXISD", "::", "EXIT", ":", "return", "\"PTXISD::EXIT\"", ";", "case", "PTXISD", "::", "RET", ":", "return", "\"PTXISD::RET\"", ";", "case", "PTXISD", "::", "CALL", ":", "return", "\"PTXISD::CALL\"", ";", "}", "}", ""], "natrual_language": ["getTargetNodeName", "-", "This", "method", "returns", "the", "name", "of", "a", "target", "specific"], "TS_V_token": ["PTX", "PTX", "\"Unknown opcode\"", "PTXISD::COPY_ADDRESS", "\"PTXISD::COPY_ADDRESS\"", "PTXISD::LOAD_PARAM", "\"PTXISD::LOAD_PARAM\"", "PTXISD::STORE_PARAM", "\"PTXISD::STORE_PARAM\"", "PTXISD::READ_PARAM", "\"PTXISD::READ_PARAM\"", "PTXISD::WRITE_PARAM", "\"PTXISD::WRITE_PARAM\"", "PTXISD::EXIT", "\"PTXISD::EXIT\"", "PTXISD::RET", "\"PTXISD::RET\"", "PTXISD::CALL", "\"PTXISD::CALL\""], "File": "PTXISelLowering", "Func": "getTargetNodeName", "Target": "PTX", "Target_Clf": "GPU", "Compiler_Type": "LLVM", "Idx": 313, "Length": 90, "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": 314, "Length": 211, "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", "(", "\"RVV sizeless type\"", ",", "TYPE_ATTRIBUTES", "(", "type", ")", ")", ";", "}", ""], "natrual_language": ["Return", "true", "if", "TYPE", "is", "a", "sizeless", "type", "."], "TS_V_token": ["riscv", "\"RVV sizeless type\""], "File": "riscv-vector-builtins", "Func": "sizeless_type_p", "Target": "riscv", "Target_Clf": "CPU", "Compiler_Type": "GCC", "Idx": 315, "Length": 29, "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": 316, "Length": 225, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "void", "HexagonInstPrinter", "::", "printSymbol", "(", "MCInst", "const", "*", "MI", ",", "unsigned", "OpNo", ",", "raw_ostream", "&", "O", ",", "bool", "hi", ")", "const", "{", "assert", "(", "MI", "->", "getOperand", "(", "OpNo", ")", ".", "isImm", "(", ")", "&&", "\"Unknown symbol operand\"", ")", ";", "O", "<<", "'#'", "<<", "(", "hi", "?", "\"HI\"", ":", "\"LO\"", ")", "<<", "'('", ";", "O", "<<", "'#'", ";", "printOperand", "(", "MI", ",", "OpNo", ",", "O", ")", ";", "O", "<<", "')'", ";", "}", ""], "natrual_language": ["Print", "a", "MCSymbol", "as", "an", "operand", "."], "TS_V_token": ["Hexagon", "Hexagon", "\"Unknown symbol operand\"", "\"HI\"", "\"LO\""], "File": "HexagonInstPrinter17", "Func": "printSymbol", "Target": "Hexagon", "Target_Clf": "DSP", "Compiler_Type": "LLVM", "Idx": 317, "Length": 70, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "void", "Z80AsmPrinter", "::", "emitHeader", "(", "Module", "&", "M", ",", "raw_ostream", "&", "os", ")", "{", "os", "<<", "\"; Compiled using LLVM Z80 backend\\n\"", ";", "}", ""], "natrual_language": ["Emit", "the", "header", "for", "this", "unit", ",", "not", "including", "the", "initial", "length", "field", "."], "TS_V_token": ["Z80", "Z80", "\"; Compiled using LLVM Z80 backend\\n\""], "File": "Z80AsmPrinter (2)", "Func": "emitHeader", "Target": "Z80", "Target_Clf": "MPU", "Compiler_Type": "LLVM", "Idx": 318, "Length": 19, "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": 319, "Length": 304, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "unsigned", "getReg", "(", ")", "const", "override", "{", "assert", "(", "isReg", "(", ")", "&&", "\"Invalid type access!\"", ")", ";", "return", "Reg", ".", "RegNo", ";", "}", ""], "natrual_language": ["Returns", "the", "register", "associated", "with", "this", "edge", "."], "TS_V_token": ["M88k", "\"Invalid type access!\""], "File": "M88kAsmParser", "Func": "getReg", "Target": "M88k", "Target_Clf": "MPU", "Compiler_Type": "LLVM", "Idx": 320, "Length": 22, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "TargetLoweringBase", "::", "LegalizeTypeAction", "SITargetLowering", "::", "getPreferredVectorAction", "(", "MVT", "VT", ")", "const", "{", "if", "(", "!", "VT", ".", "isScalableVector", "(", ")", "&&", "VT", ".", "getVectorNumElements", "(", ")", "!=", "1", "&&", "VT", ".", "getScalarType", "(", ")", ".", "bitsLE", "(", "MVT", "::", "i16", ")", ")", "return", "VT", ".", "isPow2VectorType", "(", ")", "?", "TypeSplitVector", ":", "TypeWidenVector", ";", "return", "TargetLoweringBase", "::", "getPreferredVectorAction", "(", "VT", ")", ";", "}", ""], "natrual_language": ["Customize", "the", "preferred", "legalization", "strategy", "for", "certain", "types", "."], "TS_V_token": ["AMDGPU", "SI", "1", "MVT::i16"], "File": "SIISelLowering10", "Func": "getPreferredVectorAction", "Target": "AMDGPU", "Target_Clf": "GPU", "Compiler_Type": "LLVM", "Idx": 321, "Length": 62, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "virtual", "const", "char", "*", "getPassName", "(", ")", "const", "{", "return", "\"Lower aggregate copies/intrinsics into loops\"", ";", "}", ""], "natrual_language": ["getPassName", "-", "Return", "a", "nice", "clean", "name", "for", "a", "pass", "."], "TS_V_token": ["NVPTX", "\"Lower aggregate copies/intrinsics into loops\""], "File": "NVPTXLowerAggrCopies1", "Func": "getPassName", "Target": "NVPTX", "Target_Clf": "GPU", "Compiler_Type": "LLVM", "Idx": 322, "Length": 13, "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": 323, "Length": 39, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "virtual", "unsigned", "int", "execute", "(", "function", "*", ")", "{", "return", "execute_omp_gcn", "(", ")", ";", "}", ""], "natrual_language": ["Main", "entry", "point", "for", "this", "pass", "."], "TS_V_token": ["gcn"], "File": "gcn-tree", "Func": "execute", "Target": "gcn", "Target_Clf": "GPU", "Compiler_Type": "GCC", "Idx": 324, "Length": 15, "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": 325, "Length": 77, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "void", "HexagonRegisterInfo", "::", "eliminateFrameIndex", "(", "MachineBasicBlock", "::", "iterator", "II", ",", "int", "SPAdj", ",", "unsigned", "FIOp", ",", "RegScavenger", "*", "RS", ")", "const", "{", "assert", "(", "SPAdj", "==", "0", "&&", "\"Unexpected\"", ")", ";", "MachineInstr", "&", "MI", "=", "*", "II", ";", "MachineBasicBlock", "&", "MB", "=", "*", "MI", ".", "getParent", "(", ")", ";", "MachineFunction", "&", "MF", "=", "*", "MB", ".", "getParent", "(", ")", ";", "auto", "&", "HST", "=", "MF", ".", "getSubtarget", "<", "HexagonSubtarget", ">", "(", ")", ";", "auto", "&", "HII", "=", "*", "HST", ".", "getInstrInfo", "(", ")", ";", "auto", "&", "HFI", "=", "*", "HST", ".", "getFrameLowering", "(", ")", ";", "unsigned", "BP", "=", "0", ";", "int", "FI", "=", "MI", ".", "getOperand", "(", "FIOp", ")", ".", "getIndex", "(", ")", ";", "int", "Offset", "=", "HFI", ".", "getFrameIndexReference", "(", "MF", ",", "FI", ",", "BP", ")", ";", "int", "RealOffset", "=", "Offset", "+", "MI", ".", "getOperand", "(", "FIOp", "+", "1", ")", ".", "getImm", "(", ")", ";", "bool", "IsKill", "=", "false", ";", "unsigned", "Opc", "=", "MI", ".", "getOpcode", "(", ")", ";", "switch", "(", "Opc", ")", "{", "case", "Hexagon", "::", "TFR_FIA", ":", "MI", ".", "setDesc", "(", "HII", ".", "get", "(", "Hexagon", "::", "A2_addi", ")", ")", ";", "MI", ".", "getOperand", "(", "FIOp", ")", ".", "ChangeToImmediate", "(", "RealOffset", ")", ";", "MI", ".", "RemoveOperand", "(", "FIOp", "+", "1", ")", ";", "return", ";", "case", "Hexagon", "::", "TFR_FI", ":", "MI", ".", "setDesc", "(", "HII", ".", "get", "(", "Hexagon", "::", "A2_addi", ")", ")", ";", "break", ";", "}", "if", "(", "!", "HII", ".", "isValidOffset", "(", "Opc", ",", "RealOffset", ")", ")", "{", "auto", "&", "MRI", "=", "MF", ".", "getRegInfo", "(", ")", ";", "unsigned", "TmpR", "=", "MRI", ".", "createVirtualRegister", "(", "&", "Hexagon", "::", "IntRegsRegClass", ")", ";", "const", "DebugLoc", "&", "DL", "=", "MI", ".", "getDebugLoc", "(", ")", ";", "BuildMI", "(", "MB", ",", "II", ",", "DL", ",", "HII", ".", "get", "(", "Hexagon", "::", "A2_addi", ")", ",", "TmpR", ")", ".", "addReg", "(", "BP", ")", ".", "addImm", "(", "RealOffset", ")", ";", "BP", "=", "TmpR", ";", "RealOffset", "=", "0", ";", "IsKill", "=", "true", ";", "}", "MI", ".", "getOperand", "(", "FIOp", ")", ".", "ChangeToRegister", "(", "BP", ",", "false", ",", "false", ",", "IsKill", ")", ";", "MI", ".", "getOperand", "(", "FIOp", "+", "1", ")", ".", "ChangeToImmediate", "(", "RealOffset", ")", ";", "}", ""], "natrual_language": ["This", "method", "must", "be", "overriden", "to", "eliminate", "abstract", "frame", "indices", "from", "instructions", "which", "may", "use", "them", "."], "TS_V_token": ["Hexagon", "Hexagon", "0", "\"Unexpected\"", "Hexagon", "0", "1", "Hexagon::TFR_FIA", "Hexagon::A2_addi", "1", "Hexagon::TFR_FI", "Hexagon::A2_addi", "Hexagon::IntRegsRegClass", "Hexagon::A2_addi", "0", "1"], "File": "HexagonRegisterInfo38", "Func": "eliminateFrameIndex", "Target": "Hexagon", "Target_Clf": "DSP", "Compiler_Type": "LLVM", "Idx": 326, "Length": 352, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "bool", "AMDGPUTargetLowering", "::", "isNarrowingProfitable", "(", "EVT", "SrcVT", ",", "EVT", "DestVT", ")", "const", "{", "return", "SrcVT", ".", "getSizeInBits", "(", ")", ">", "32", "&&", "DestVT", ".", "getSizeInBits", "(", ")", "==", "32", ";", "}", ""], "natrual_language": ["Return", "true", "if", "it", "'s", "profitable", "to", "narrow", "operations", "of", "type", "SrcVT", "to", "DestVT", "."], "TS_V_token": ["AMDGPU", "AMDGPU", "32", "32"], "File": "AMDGPUISelLowering (2)", "Func": "isNarrowingProfitable", "Target": "AMDGPU", "Target_Clf": "GPU", "Compiler_Type": "LLVM", "Idx": 327, "Length": 31, "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": 328, "Length": 199, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "int", "HSAILFrameLowering", "::", "getFrameIndexReference", "(", "const", "MachineFunction", "&", "MF", ",", "int", "FI", ",", "unsigned", "&", "FrameReg", ")", "const", "{", "return", "MF", ".", "getFrameInfo", "(", ")", "->", "getObjectOffset", "(", "FI", ")", ";", "}", ""], "natrual_language": ["getFrameIndexReference", "-", "This", "method", "should", "return", "the", "base", "register", "and", "offset", "used", "to", "reference", "a", "frame", "index", "location", "."], "TS_V_token": ["HSAIL", "HSAIL"], "File": "HSAILFrameLowering", "Func": "getFrameIndexReference", "Target": "HSAIL", "Target_Clf": "Virtual ISA", "Compiler_Type": "LLVM", "Idx": 329, "Length": 32, "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": 330, "Length": 241, "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": ["powerpcspe", "1", "0", "4", "1", "1", "1", "1", "1", "1", "1"], "File": "powerpcspe", "Func": "gen_easy_altivec_constant", "Target": "powerpcspe", "Target_Clf": "CPU", "Compiler_Type": "GCC", "Idx": 331, "Length": 158, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "bool", "runOnMachineFunction", "(", "MachineFunction", "&", "MF", ")", "override", "{", "Subtarget", "=", "&", "MF", ".", "getSubtarget", "<", "PPCSubtarget", ">", "(", ")", ";", "bool", "Changed", "=", "AsmPrinter", "::", "runOnMachineFunction", "(", "MF", ")", ";", "emitXRayTable", "(", ")", ";", "return", "Changed", ";", "}", ""], "natrual_language": ["runOnMachineFunction", "-", "Emit", "the", "function", "body", "."], "TS_V_token": ["PowerPC", "PPC"], "File": "PPCAsmPrinter (2)3", "Func": "runOnMachineFunction", "Target": "PowerPC", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 332, "Length": 39, "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": ["Hexagon"], "File": "HexagonSubtarget1", "Func": "getInstrItineraryData", "Target": "Hexagon", "Target_Clf": "DSP", "Compiler_Type": "LLVM", "Idx": 333, "Length": 12, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "bool", "AMDGPUPassConfig", "::", "addPreSched2", "(", ")", "{", "const", "AMDGPUSubtarget", "&", "ST", "=", "TM", "->", "getSubtarget", "<", "AMDGPUSubtarget", ">", "(", ")", ";", "if", "(", "ST", ".", "getGeneration", "(", ")", "<=", "AMDGPUSubtarget", "::", "NORTHERN_ISLANDS", ")", "{", "addPass", "(", "createR600EmitClauseMarkers", "(", "*", "TM", ")", ")", ";", "}", "addPass", "(", "&", "IfConverterID", ")", ";", "return", "false", ";", "}", ""], "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": ["R600"], "File": "AMDGPUTargetMachine13", "Func": "addPreSched2", "Target": "R600", "Target_Clf": "GPU", "Compiler_Type": "LLVM", "Idx": 334, "Length": 54, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "bool", "HexagonTargetLowering", "::", "isFPImmLegal", "(", "const", "APFloat", "&", "Imm", ",", "EVT", "VT", ")", "const", "{", "return", "Subtarget", ".", "hasV5Ops", "(", ")", ";", "}", ""], "natrual_language": ["Returns", "true", "if", "the", "target", "can", "instruction", "select", "the", "specified", "FP", "immediate", "natively", "."], "TS_V_token": ["Hexagon", "Hexagon"], "File": "HexagonISelLowering106", "Func": "isFPImmLegal", "Target": "Hexagon", "Target_Clf": "DSP", "Compiler_Type": "LLVM", "Idx": 335, "Length": 23, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "int", "HexagonMCInstrInfo", "::", "getMinValue", "(", "MCInstrInfo", "const", "&", "MCII", ",", "MCInst", "const", "&", "MCI", ")", "{", "const", "uint64_t", "F", "=", "HexagonMCInstrInfo", "::", "getDesc", "(", "MCII", ",", "MCI", ")", ".", "TSFlags", ";", "bool", "S", "=", "(", "F", ">>", "HexagonII", "::", "ExtentSignedPos", ")", "&", "HexagonII", "::", "ExtentSignedMask", ";", "assert", "(", "HexagonMCInstrInfo", "::", "isExtendable", "(", "MCII", ",", "MCI", ")", "||", "HexagonMCInstrInfo", "::", "isExtended", "(", "MCII", ",", "MCI", ")", ")", ";", "if", "(", "S", ")", "return", "-", "(", "1", "<<", "(", "HexagonMCInstrInfo", "::", "getExtentBits", "(", "MCII", ",", "MCI", ")", "-", "1", ")", ")", ";", "return", "0", ";", "}", ""], "natrual_language": ["Return", "the", "minimal", "unsigned", "value", "possible", "given", "these", "KnownBits", "."], "TS_V_token": ["Hexagon", "Hexagon", "Hexagon", "HexagonII::ExtentSignedPos", "HexagonII::ExtentSignedMask", "Hexagon", "Hexagon", "1", "Hexagon", "1", "0"], "File": "HexagonMCInstrInfo13", "Func": "getMinValue", "Target": "Hexagon", "Target_Clf": "DSP", "Compiler_Type": "LLVM", "Idx": 336, "Length": 94, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "void", "HexagonFrameLowering", "::", "emitPrologue", "(", "MachineFunction", "&", "MF", ")", "const", "{", "MachineBasicBlock", "&", "MBB", "=", "MF", ".", "front", "(", ")", ";", "MachineFrameInfo", "*", "MFI", "=", "MF", ".", "getFrameInfo", "(", ")", ";", "MachineBasicBlock", "::", "iterator", "MBBI", "=", "MBB", ".", "begin", "(", ")", ";", "const", "HexagonRegisterInfo", "*", "QRI", "=", "static_cast", "<", "const", "HexagonRegisterInfo", "*", ">", "(", "MF", ".", "getSubtarget", "(", ")", ".", "getRegisterInfo", "(", ")", ")", ";", "DebugLoc", "dl", "=", "MBBI", "!=", "MBB", ".", "end", "(", ")", "?", "MBBI", "->", "getDebugLoc", "(", ")", ":", "DebugLoc", "(", ")", ";", "determineFrameLayout", "(", "MF", ")", ";", "int", "NumBytes", "=", "(", "int", ")", "MFI", "->", "getStackSize", "(", ")", ";", "MachineBasicBlock", "::", "iterator", "InsertPt", "=", "MBB", ".", "begin", "(", ")", ";", "HexagonMachineFunctionInfo", "*", "FuncInfo", "=", "MF", ".", "getInfo", "<", "HexagonMachineFunctionInfo", ">", "(", ")", ";", "const", "std", "::", "vector", "<", "MachineInstr", "*", ">", "&", "AdjustRegs", "=", "FuncInfo", "->", "getAllocaAdjustInsts", "(", ")", ";", "for", "(", "std", "::", "vector", "<", "MachineInstr", "*", ">", "::", "const_iterator", "i", "=", "AdjustRegs", ".", "begin", "(", ")", ",", "e", "=", "AdjustRegs", ".", "end", "(", ")", ";", "i", "!=", "e", ";", "++", "i", ")", "{", "MachineInstr", "*", "MI", "=", "*", "i", ";", "assert", "(", "(", "MI", "->", "getOpcode", "(", ")", "==", "Hexagon", "::", "ADJDYNALLOC", ")", "&&", "\"Expected adjust alloca node\"", ")", ";", "MachineOperand", "&", "MO", "=", "MI", "->", "getOperand", "(", "2", ")", ";", "assert", "(", "MO", ".", "isImm", "(", ")", "&&", "\"Expected immediate\"", ")", ";", "MO", ".", "setImm", "(", "MFI", "->", "getMaxCallFrameSize", "(", ")", ")", ";", "}", "if", "(", "hasFP", "(", "MF", ")", ")", "{", "const", "int", "ALLOCFRAME_MAX", "=", "16384", ";", "const", "TargetInstrInfo", "&", "TII", "=", "*", "MF", ".", "getSubtarget", "(", ")", ".", "getInstrInfo", "(", ")", ";", "if", "(", "NumBytes", ">=", "ALLOCFRAME_MAX", ")", "{", "BuildMI", "(", "MBB", ",", "InsertPt", ",", "dl", ",", "TII", ".", "get", "(", "Hexagon", "::", "ALLOCFRAME", ")", ")", ".", "addImm", "(", "0", ")", ";", "BuildMI", "(", "MBB", ",", "InsertPt", ",", "dl", ",", "TII", ".", "get", "(", "Hexagon", "::", "CONST32_Int_Real", ")", ",", "HEXAGON_RESERVED_REG_1", ")", ".", "addImm", "(", "NumBytes", ")", ";", "BuildMI", "(", "MBB", ",", "InsertPt", ",", "dl", ",", "TII", ".", "get", "(", "Hexagon", "::", "SUB_rr", ")", ",", "QRI", "->", "getStackRegister", "(", ")", ")", ".", "addReg", "(", "QRI", "->", "getStackRegister", "(", ")", ")", ".", "addReg", "(", "HEXAGON_RESERVED_REG_1", ")", ";", "}", "else", "{", "BuildMI", "(", "MBB", ",", "InsertPt", ",", "dl", ",", "TII", ".", "get", "(", "Hexagon", "::", "ALLOCFRAME", ")", ")", ".", "addImm", "(", "NumBytes", ")", ";", "}", "}", "}", ""], "natrual_language": ["emitProlog/emitEpilog", "-", "These", "methods", "insert", "prolog", "and", "epilog", "code", "into", "the", "function", "."], "TS_V_token": ["Hexagon", "Hexagon", "Hexagon", "Hexagon", "Hexagon", "Hexagon", "Hexagon::ADJDYNALLOC", "\"Expected adjust alloca node\"", "2", "\"Expected immediate\"", "16384", "Hexagon::ALLOCFRAME", "0", "Hexagon::CONST32_Int_Real", "Hexagon::SUB_rr", "Hexagon::ALLOCFRAME"], "File": "HexagonFrameLowering71", "Func": "emitPrologue", "Target": "Hexagon", "Target_Clf": "DSP", "Compiler_Type": "LLVM", "Idx": 337, "Length": 389, "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": 338, "Length": 117, "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": 339, "Length": 233, "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": 340, "Length": 420, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "bool", "SITargetLowering", "::", "getAddrModeArguments", "(", "IntrinsicInst", "*", "II", ",", "SmallVectorImpl", "<", "Value", "*", ">", "&", "Ops", ",", "Type", "*", "&", "AccessTy", ")", "const", "{", "switch", "(", "II", "->", "getIntrinsicID", "(", ")", ")", "{", "case", "Intrinsic", "::", "amdgcn_atomic_inc", ":", "case", "Intrinsic", "::", "amdgcn_atomic_dec", ":", "case", "Intrinsic", "::", "amdgcn_ds_ordered_add", ":", "case", "Intrinsic", "::", "amdgcn_ds_ordered_swap", ":", "case", "Intrinsic", "::", "amdgcn_ds_append", ":", "case", "Intrinsic", "::", "amdgcn_ds_consume", ":", "case", "Intrinsic", "::", "amdgcn_ds_fadd", ":", "case", "Intrinsic", "::", "amdgcn_ds_fmin", ":", "case", "Intrinsic", "::", "amdgcn_ds_fmax", ":", "case", "Intrinsic", "::", "amdgcn_global_atomic_fadd", ":", "case", "Intrinsic", "::", "amdgcn_flat_atomic_fadd", ":", "case", "Intrinsic", "::", "amdgcn_flat_atomic_fmin", ":", "case", "Intrinsic", "::", "amdgcn_flat_atomic_fmax", ":", "case", "Intrinsic", "::", "amdgcn_global_atomic_fadd_v2bf16", ":", "case", "Intrinsic", "::", "amdgcn_flat_atomic_fadd_v2bf16", ":", "case", "Intrinsic", "::", "amdgcn_global_atomic_csub", ":", "{", "Value", "*", "Ptr", "=", "II", "->", "getArgOperand", "(", "0", ")", ";", "AccessTy", "=", "II", "->", "getType", "(", ")", ";", "Ops", ".", "push_back", "(", "Ptr", ")", ";", "return", "true", ";", "}", "default", ":", "return", "false", ";", "}", "}", ""], "natrual_language": ["CodeGenPrepare", "sinks", "address", "calculations", "into", "the", "same", "BB", "as", "Load/Store", "instructions", "reading", "the", "address", "."], "TS_V_token": ["AMDGPU", "SI", "Intrinsic::amdgcn_atomic_inc", "Intrinsic::amdgcn_atomic_dec", "Intrinsic::amdgcn_ds_ordered_add", "Intrinsic::amdgcn_ds_ordered_swap", "Intrinsic::amdgcn_ds_append", "Intrinsic::amdgcn_ds_consume", "Intrinsic::amdgcn_ds_fadd", "Intrinsic::amdgcn_ds_fmin", "Intrinsic::amdgcn_ds_fmax", "Intrinsic::amdgcn_global_atomic_fadd", "Intrinsic::amdgcn_flat_atomic_fadd", "Intrinsic::amdgcn_flat_atomic_fmin", "Intrinsic::amdgcn_flat_atomic_fmax", "Intrinsic::amdgcn_global_atomic_fadd_v2bf16", "Intrinsic::amdgcn_flat_atomic_fadd_v2bf16", "Intrinsic::amdgcn_global_atomic_csub", "0"], "File": "SIISelLowering10", "Func": "getAddrModeArguments", "Target": "AMDGPU", "Target_Clf": "GPU", "Compiler_Type": "LLVM", "Idx": 341, "Length": 151, "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": 342, "Length": 14, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "bool", "runOnMachineFunction", "(", "MachineFunction", "&", "MF", ")", "{", "if", "(", "!", "MF", ".", "getFrameInfo", "(", ")", ".", "hasVarSizedObjects", "(", ")", ")", "{", "return", "false", ";", "}", "const", "AVRSubtarget", "&", "STI", "=", "MF", ".", "getSubtarget", "<", "AVRSubtarget", ">", "(", ")", ";", "const", "TargetInstrInfo", "&", "TII", "=", "*", "STI", ".", "getInstrInfo", "(", ")", ";", "MachineBasicBlock", "&", "EntryMBB", "=", "MF", ".", "front", "(", ")", ";", "MachineBasicBlock", "::", "iterator", "MBBI", "=", "EntryMBB", ".", "begin", "(", ")", ";", "DebugLoc", "DL", "=", "EntryMBB", ".", "findDebugLoc", "(", "MBBI", ")", ";", "unsigned", "SPCopy", "=", "MF", ".", "getRegInfo", "(", ")", ".", "createVirtualRegister", "(", "&", "AVR", "::", "DREGSRegClass", ")", ";", "BuildMI", "(", "EntryMBB", ",", "MBBI", ",", "DL", ",", "TII", ".", "get", "(", "AVR", "::", "COPY", ")", ",", "SPCopy", ")", ".", "addReg", "(", "AVR", "::", "SP", ")", ";", "for", "(", "MachineBasicBlock", "&", "MBB", ":", "MF", ")", "{", "if", "(", "!", "MBB", ".", "empty", "(", ")", "&&", "MBB", ".", "back", "(", ")", ".", "isReturn", "(", ")", ")", "{", "MBBI", "=", "MBB", ".", "getLastNonDebugInstr", "(", ")", ";", "DL", "=", "MBBI", "->", "getDebugLoc", "(", ")", ";", "BuildMI", "(", "MBB", ",", "MBBI", ",", "DL", ",", "TII", ".", "get", "(", "AVR", "::", "COPY", ")", ",", "AVR", "::", "SP", ")", ".", "addReg", "(", "SPCopy", ",", "RegState", "::", "Kill", ")", ";", "}", "}", "return", "true", ";", "}", ""], "natrual_language": ["runOnMachineFunction", "-", "Emit", "the", "function", "body", "."], "TS_V_token": ["AVR", "AVR", "AVR", "AVR::DREGSRegClass", "AVR::COPY", "AVR::SP", "AVR::COPY", "AVR::SP"], "File": "AVRFrameLowering1", "Func": "runOnMachineFunction", "Target": "AVR", "Target_Clf": "MPU", "Compiler_Type": "LLVM", "Idx": 343, "Length": 209, "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": ["TeeRISC"], "File": "TeeRISCTargetMachine", "Func": "getDataLayout", "Target": "TeeRISC", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 344, "Length": 14, "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": 345, "Length": 470, "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": 346, "Length": 369, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "bool", "SPUAsmPrinter", "::", "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", "'L'", ":", "if", "(", "!", "MI", "->", "getOperand", "(", "OpNo", ")", ".", "isReg", "(", ")", "||", "OpNo", "+", "1", "==", "MI", "->", "getNumOperands", "(", ")", "||", "!", "MI", "->", "getOperand", "(", "OpNo", "+", "1", ")", ".", "isReg", "(", ")", ")", "return", "true", ";", "++", "OpNo", ";", "break", ";", "}", "}", "printOperand", "(", "MI", ",", "OpNo", ",", "O", ")", ";", "return", "false", ";", "}", ""], "natrual_language": ["PrintAsmOperand", "-", "Print", "out", "an", "operand", "for", "an", "inline", "asm", "expression", "."], "TS_V_token": ["CellSPU", "SPU", "0", "1", "0", "0", "1", "1"], "File": "SPUAsmPrinter", "Func": "PrintAsmOperand", "Target": "CellSPU", "Target_Clf": "MPU", "Compiler_Type": "LLVM", "Idx": 347, "Length": 125, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "unsigned", "getFlatAddressSpace", "(", ")", "const", "{", "if", "(", "IsGraphics", ")", "return", "-", "1", ";", "return", "AMDGPUAS", "::", "FLAT_ADDRESS", ";", "}", ""], "natrual_language": ["Returns", "the", "address", "space", "ID", "for", "a", "target", "'s", "'flat", "'", "address", "space", "."], "TS_V_token": ["AMDGPU", "1", "AMDGPU"], "File": "AMDGPUTargetTransformInfo (2)2", "Func": "getFlatAddressSpace", "Target": "AMDGPU", "Target_Clf": "GPU", "Compiler_Type": "LLVM", "Idx": 348, "Length": 20, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "virtual", "bool", "SelectInlineAsmMemoryOperand", "(", "const", "SDValue", "&", "Op", ",", "char", "ConstraintCode", ",", "std", "::", "vector", "<", "SDValue", ">", "&", "OutOps", ")", "{", "SDValue", "Op0", ";", "switch", "(", "ConstraintCode", ")", "{", "default", ":", "return", "true", ";", "case", "'m'", ":", "Op0", "=", "Op", ";", "break", ";", "}", "OutOps", ".", "push_back", "(", "Op0", ")", ";", "return", "false", ";", "}", ""], "natrual_language": ["SelectInlineAsmMemoryOperand", "-", "Select", "the", "specified", "address", "as", "a", "target", "addressing", "mode", ",", "according", "to", "the", "specified", "constraint", "."], "TS_V_token": ["Alpha"], "File": "AlphaISelDAGToDAG1", "Func": "SelectInlineAsmMemoryOperand", "Target": "Alpha", "Target_Clf": "MPU", "Compiler_Type": "LLVM", "Idx": 349, "Length": 56, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "unsigned", "Z80oldInstrInfo", "::", "getInstSizeInBytes", "(", "const", "MachineInstr", "&", "MI", ")", "const", "{", "auto", "TSFlags", "=", "MI", ".", "getDesc", "(", ")", ".", "TSFlags", ";", "unsigned", "Size", "=", "1", ";", "switch", "(", "TSFlags", ">>", "Z80oldII", "::", "ImmSizeShift", "&", "Z80oldII", "::", "ImmSizeMask", ")", "{", "case", "2", ":", "Size", "+=", "false", ";", "break", ";", "case", "3", ":", "Size", "+=", "true", ";", "break", ";", "}", "unsigned", "Prefix", "=", "TSFlags", ">>", "Z80oldII", "::", "PrefixShift", "&", "Z80oldII", "::", "PrefixMask", ";", "bool", "HasPrefix", ";", "if", "(", "TSFlags", "&", "Z80oldII", "::", "IndexedIndexPrefix", ")", "{", "Size", "+=", "HasPrefix", "=", "isIndex", "(", "MI", ".", "getOperand", "(", "Prefix", ")", ",", "getRegisterInfo", "(", ")", ")", ";", "}", "else", "switch", "(", "Prefix", ")", "{", "case", "Z80oldII", "::", "NoPrefix", ":", "HasPrefix", "=", "false", ";", "break", ";", "case", "Z80oldII", "::", "CBPrefix", ":", "case", "Z80oldII", "::", "DDPrefix", ":", "case", "Z80oldII", "::", "EDPrefix", ":", "case", "Z80oldII", "::", "FDPrefix", ":", "Size", "+=", "1", ";", "HasPrefix", "=", "true", ";", "break", ";", "case", "Z80oldII", "::", "DDCBPrefix", ":", "case", "Z80oldII", "::", "FDCBPrefix", ":", "Size", "+=", "2", ";", "HasPrefix", "=", "true", ";", "break", ";", "case", "Z80oldII", "::", "AnyIndexPrefix", ":", "Size", "+=", "HasPrefix", "=", "hasIndex", "(", "MI", ",", "getRegisterInfo", "(", ")", ")", ";", "break", ";", "}", "if", "(", "TSFlags", "&", "Z80oldII", "::", "HasImm", ")", "{", "unsigned", "ImmSize", "=", "TSFlags", ">>", "Z80oldII", "::", "ImmSizeShift", "&", "Z80oldII", "::", "ImmSizeMask", ";", "if", "(", "!", "ImmSize", ")", "{", "ImmSize", "=", "2", ";", "}", "Size", "+=", "ImmSize", ";", "}", "if", "(", "TSFlags", "&", "Z80oldII", "::", "HasOff", ")", "{", "Size", "+=", "HasPrefix", ";", "}", "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": ["Z80old", "Z80old", "1", "Z80oldII::ImmSizeShift", "Z80oldII::ImmSizeMask", "2", "3", "Z80oldII::PrefixShift", "Z80oldII::PrefixMask", "Z80oldII::IndexedIndexPrefix", "Z80oldII::NoPrefix", "Z80oldII::CBPrefix", "Z80oldII::DDPrefix", "Z80oldII::EDPrefix", "Z80oldII::FDPrefix", "1", "Z80oldII::DDCBPrefix", "Z80oldII::FDCBPrefix", "2", "Z80oldII::AnyIndexPrefix", "Z80oldII::HasImm", "Z80oldII::ImmSizeShift", "Z80oldII::ImmSizeMask", "2", "Z80oldII::HasOff"], "File": "Z80oldInstrInfo", "Func": "getInstSizeInBytes", "Target": "Z80old", "Target_Clf": "MPU", "Compiler_Type": "LLVM", "Idx": 350, "Length": 248, "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": 351, "Length": 78, "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": 352, "Length": 176, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "const", "M68kInstrInfo", "*", "getInstrInfo", "(", ")", "const", "{", "return", "Subtarget", "->", "getInstrInfo", "(", ")", ";", "}", ""], "natrual_language": ["TargetInstrInfo", "getter", "."], "TS_V_token": ["M68k", "M68k"], "File": "M68kISelDAGToDAG", "Func": "getInstrInfo", "Target": "M68k", "Target_Clf": "MPU", "Compiler_Type": "LLVM", "Idx": 353, "Length": 16, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "int", "frv_expand_block_clear", "(", "rtx", "operands", "[", "]", ")", "{", "rtx", "orig_dest", "=", "operands", "[", "0", "]", ";", "rtx", "bytes_rtx", "=", "operands", "[", "1", "]", ";", "rtx", "align_rtx", "=", "operands", "[", "3", "]", ";", "int", "constp", "=", "(", "GET_CODE", "(", "bytes_rtx", ")", "==", "CONST_INT", ")", ";", "int", "align", ";", "int", "bytes", ";", "int", "offset", ";", "rtx", "dest_reg", ";", "rtx", "dest_addr", ";", "rtx", "dest_mem", ";", "int", "clear_bytes", ";", "machine_mode", "mode", ";", "if", "(", "!", "constp", ")", "return", "FALSE", ";", "gcc_assert", "(", "GET_CODE", "(", "align_rtx", ")", "==", "CONST_INT", ")", ";", "align", "=", "INTVAL", "(", "align_rtx", ")", ";", "bytes", "=", "INTVAL", "(", "bytes_rtx", ")", ";", "if", "(", "bytes", "<=", "0", ")", "return", "TRUE", ";", "if", "(", "bytes", ">", "TOTAL_MOVE_REG", "*", "align", ")", "return", "FALSE", ";", "dest_reg", "=", "copy_addr_to_reg", "(", "XEXP", "(", "orig_dest", ",", "0", ")", ")", ";", "offset", "=", "0", ";", "for", "(", ";", "bytes", ">", "0", ";", "(", "bytes", "-=", "clear_bytes", ")", ",", "(", "offset", "+=", "clear_bytes", ")", ")", "{", "dest_addr", "=", "(", "(", "offset", "==", "0", ")", "?", "dest_reg", ":", "plus_constant", "(", "Pmode", ",", "dest_reg", ",", "offset", ")", ")", ";", "if", "(", "bytes", ">=", "4", "&&", "align", ">=", "4", ")", "mode", "=", "SImode", ";", "else", "if", "(", "bytes", ">=", "2", "&&", "align", ">=", "2", ")", "mode", "=", "HImode", ";", "else", "mode", "=", "QImode", ";", "clear_bytes", "=", "GET_MODE_SIZE", "(", "mode", ")", ";", "dest_mem", "=", "change_address", "(", "orig_dest", ",", "mode", ",", "dest_addr", ")", ";", "emit_insn", "(", "gen_rtx_SET", "(", "dest_mem", ",", "const0_rtx", ")", ")", ";", "}", "return", "TRUE", ";", "}", ""], "natrual_language": ["Expand", "a", "block", "clear", "operation", ",", "and", "return", "1", "if", "successful", ".", "Return", "0", "if", "we", "should", "let", "the", "compiler", "generate", "normal", "code", ".", "operands", "[", "0", "]", "is", "the", "destination", "operands", "[", "1", "]", "is", "the", "length", "operands", "[", "3", "]", "is", "the", "alignment"], "TS_V_token": ["frv", "0", "1", "3", "0", "0", "0", "0", "0", "4", "4", "2", "2"], "File": "frv", "Func": "frv_expand_block_clear", "Target": "frv", "Target_Clf": "VLIW", "Compiler_Type": "GCC", "Idx": 354, "Length": 245, "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": 355, "Length": 18, "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": 356, "Length": 26, "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": 357, "Length": 117, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "int", "R600FrameLowering", "::", "getFrameIndexReference", "(", "const", "MachineFunction", "&", "MF", ",", "int", "FI", ",", "unsigned", "&", "FrameReg", ")", "const", "{", "const", "MachineFrameInfo", "&", "MFI", "=", "MF", ".", "getFrameInfo", "(", ")", ";", "const", "R600RegisterInfo", "*", "RI", "=", "MF", ".", "getSubtarget", "<", "R600Subtarget", ">", "(", ")", ".", "getRegisterInfo", "(", ")", ";", "FrameReg", "=", "RI", "->", "getFrameRegister", "(", "MF", ")", ";", "unsigned", "OffsetBytes", "=", "2", "*", "(", "getStackWidth", "(", "MF", ")", "*", "4", ")", ";", "int", "UpperBound", "=", "FI", "==", "-", "1", "?", "MFI", ".", "getNumObjects", "(", ")", ":", "FI", ";", "for", "(", "int", "i", "=", "MFI", ".", "getObjectIndexBegin", "(", ")", ";", "i", "<", "UpperBound", ";", "++", "i", ")", "{", "OffsetBytes", "=", "alignTo", "(", "OffsetBytes", ",", "MFI", ".", "getObjectAlignment", "(", "i", ")", ")", ";", "OffsetBytes", "+=", "MFI", ".", "getObjectSize", "(", "i", ")", ";", "OffsetBytes", "=", "alignTo", "(", "OffsetBytes", ",", "4", ")", ";", "}", "if", "(", "FI", "!=", "-", "1", ")", "OffsetBytes", "=", "alignTo", "(", "OffsetBytes", ",", "MFI", ".", "getObjectAlignment", "(", "FI", ")", ")", ";", "return", "OffsetBytes", "/", "(", "getStackWidth", "(", "MF", ")", "*", "4", ")", ";", "}", ""], "natrual_language": ["getFrameIndexReference", "-", "This", "method", "should", "return", "the", "base", "register", "and", "offset", "used", "to", "reference", "a", "frame", "index", "location", "."], "TS_V_token": ["AMDGPU", "R600", "R600", "R600", "2", "4", "1", "4", "1", "4"], "File": "R600FrameLowering", "Func": "getFrameIndexReference", "Target": "AMDGPU", "Target_Clf": "GPU", "Compiler_Type": "LLVM", "Idx": 358, "Length": 173, "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": 359, "Length": 99, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "bool", "M68kAsmParser", "::", "ParseInstruction", "(", "ParseInstructionInfo", "&", "Info", ",", "StringRef", "Name", ",", "SMLoc", "NameLoc", ",", "OperandVector", "&", "Operands", ")", "{", "SMLoc", "Start", "=", "getLexer", "(", ")", ".", "getLoc", "(", ")", ";", "Operands", ".", "push_back", "(", "M68kOperand", "::", "createToken", "(", "Name", ",", "Start", ",", "Start", ")", ")", ";", "bool", "First", "=", "true", ";", "while", "(", "Parser", ".", "getTok", "(", ")", ".", "isNot", "(", "AsmToken", "::", "EndOfStatement", ")", ")", "{", "if", "(", "!", "First", ")", "{", "eatComma", "(", ")", ";", "}", "else", "{", "First", "=", "false", ";", "}", "auto", "MatchResult", "=", "MatchOperandParserImpl", "(", "Operands", ",", "Name", ")", ";", "if", "(", "MatchResult", "==", "MatchOperand_Success", ")", "{", "continue", ";", "}", "SMLoc", "Loc", "=", "getLexer", "(", ")", ".", "getLoc", "(", ")", ";", "Parser", ".", "eatToEndOfStatement", "(", ")", ";", "return", "Error", "(", "Loc", ",", "\"unexpected token parsing operands\"", ")", ";", "}", "Parser", ".", "Lex", "(", ")", ";", "return", "false", ";", "}", ""], "natrual_language": ["ParseInstruction", "-", "Parse", "one", "assembly", "instruction", "."], "TS_V_token": ["M68k", "M68k", "M68k", "\"unexpected token parsing operands\""], "File": "M68kAsmParser", "Func": "ParseInstruction", "Target": "M68k", "Target_Clf": "MPU", "Compiler_Type": "LLVM", "Idx": 360, "Length": 142, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "virtual", "const", "VideocoreInstrInfo", "*", "getInstrInfo", "(", ")", "const", "{", "return", "&", "InstrInfo", ";", "}", ""], "natrual_language": ["TargetInstrInfo", "getter", "."], "TS_V_token": ["Videocore", "Videocore"], "File": "VideocoreTargetMachine", "Func": "getInstrInfo", "Target": "Videocore", "Target_Clf": "DSP", "Compiler_Type": "LLVM", "Idx": 361, "Length": 14, "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", ")", ";", "}", "}", ""], "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"], "File": "RISCVISelLowering13", "Func": "LowerOperation", "Target": "RISCV", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 362, "Length": 302, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "const", "MCPhysReg", "*", "RV16KRegisterInfo", "::", "getCalleeSavedRegs", "(", "const", "MachineFunction", "*", "MF", ")", "const", "{", "return", "CSR_SaveList", ";", "}", ""], "natrual_language": ["Code", "Generation", "virtual", "methods", "..."], "TS_V_token": ["RV16K", "RV16K"], "File": "RV16KRegisterInfo", "Func": "getCalleeSavedRegs", "Target": "RV16K", "Target_Clf": "Virtual ISA", "Compiler_Type": "LLVM", "Idx": 363, "Length": 18, "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", ":", ";", "}", "return", "word_mode", ";", "}", ""], "natrual_language": ["Implement", "targetm.vectorize.preferred_simd_mode", "."], "TS_V_token": ["rs6000"], "File": "rs60008", "Func": "rs6000_preferred_simd_mode", "Target": "rs6000", "Target_Clf": "CPU", "Compiler_Type": "GCC", "Idx": 364, "Length": 82, "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": 365, "Length": 32, "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": 366, "Length": 40, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "bool", "AMDGPUDAGToDAGISel", "::", "runOnMachineFunction", "(", "MachineFunction", "&", "MF", ")", "{", "DominatorTree", "&", "DT", "=", "getAnalysis", "<", "DominatorTreeWrapperPass", ">", "(", ")", ".", "getDomTree", "(", ")", ";", "LoopInfo", "*", "LI", "=", "&", "getAnalysis", "<", "LoopInfoWrapperPass", ">", "(", ")", ".", "getLoopInfo", "(", ")", ";", "for", "(", "auto", "&", "L", ":", "LI", "->", "getLoopsInPreorder", "(", ")", ")", "{", "assert", "(", "L", "->", "isLCSSAForm", "(", "DT", ")", ")", ";", "}", "Subtarget", "=", "&", "MF", ".", "getSubtarget", "<", "GCNSubtarget", ">", "(", ")", ";", "Mode", "=", "AMDGPU", "::", "SIModeRegisterDefaults", "(", "MF", ".", "getFunction", "(", ")", ",", "*", "Subtarget", ")", ";", "return", "SelectionDAGISel", "::", "runOnMachineFunction", "(", "MF", ")", ";", "}", ""], "natrual_language": ["runOnMachineFunction", "-", "Emit", "the", "function", "body", "."], "TS_V_token": ["AMDGPU", "AMDGPU", "AMDGPU::SIModeRegisterDefaults"], "File": "AMDGPUISelDAGToDAG106", "Func": "runOnMachineFunction", "Target": "AMDGPU", "Target_Clf": "GPU", "Compiler_Type": "LLVM", "Idx": 367, "Length": 102, "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": 368, "Length": 448, "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", ";", "enum", "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-steering2", "Func": "rename", "Target": "aarch64", "Target_Clf": "CPU", "Compiler_Type": "GCC", "Idx": 369, "Length": 234, "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": 370, "Length": 494, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "TargetPassConfig", "*", "DirectXTargetMachine", "::", "createPassConfig", "(", "PassManagerBase", "&", "PM", ")", "{", "return", "new", "DirectXPassConfig", "(", "*", "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": ["DirectX"], "File": "DirectXTargetMachine", "Func": "createPassConfig", "Target": "DirectX", "Target_Clf": "Virtual ISA", "Compiler_Type": "LLVM", "Idx": 371, "Length": 22, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "bool", "SIAnnotateControlFlow", "::", "runOnFunction", "(", "Function", "&", "F", ")", "{", "DT", "=", "&", "getAnalysis", "<", "DominatorTreeWrapperPass", ">", "(", ")", ".", "getDomTree", "(", ")", ";", "LI", "=", "&", "getAnalysis", "<", "LoopInfoWrapperPass", ">", "(", ")", ".", "getLoopInfo", "(", ")", ";", "DA", "=", "&", "getAnalysis", "<", "DivergenceAnalysis", ">", "(", ")", ";", "for", "(", "df_iterator", "<", "BasicBlock", "*", ">", "I", "=", "df_begin", "(", "&", "F", ".", "getEntryBlock", "(", ")", ")", ",", "E", "=", "df_end", "(", "&", "F", ".", "getEntryBlock", "(", ")", ")", ";", "I", "!=", "E", ";", "++", "I", ")", "{", "BasicBlock", "*", "BB", "=", "*", "I", ";", "BranchInst", "*", "Term", "=", "dyn_cast", "<", "BranchInst", ">", "(", "BB", "->", "getTerminator", "(", ")", ")", ";", "if", "(", "!", "Term", "||", "Term", "->", "isUnconditional", "(", ")", ")", "{", "if", "(", "isTopOfStack", "(", "BB", ")", ")", "closeControlFlow", "(", "BB", ")", ";", "continue", ";", "}", "if", "(", "I", ".", "nodeVisited", "(", "Term", "->", "getSuccessor", "(", "1", ")", ")", ")", "{", "if", "(", "isTopOfStack", "(", "BB", ")", ")", "closeControlFlow", "(", "BB", ")", ";", "handleLoop", "(", "Term", ")", ";", "continue", ";", "}", "if", "(", "isTopOfStack", "(", "BB", ")", ")", "{", "PHINode", "*", "Phi", "=", "dyn_cast", "<", "PHINode", ">", "(", "Term", "->", "getCondition", "(", ")", ")", ";", "if", "(", "Phi", "&&", "Phi", "->", "getParent", "(", ")", "==", "BB", "&&", "isElse", "(", "Phi", ")", ")", "{", "insertElse", "(", "Term", ")", ";", "eraseIfUnused", "(", "Phi", ")", ";", "continue", ";", "}", "closeControlFlow", "(", "BB", ")", ";", "}", "openIf", "(", "Term", ")", ";", "}", "if", "(", "!", "Stack", ".", "empty", "(", ")", ")", "{", "report_fatal_error", "(", "\"failed to annotate CFG\"", ")", ";", "}", "return", "true", ";", "}", ""], "natrual_language": ["runOnFunction", "-", "Virtual", "method", "overriden", "by", "subclasses", "to", "do", "the", "per-function", "processing", "of", "the", "pass", "."], "TS_V_token": ["AMDGPU", "SI", "1", "\"failed to annotate CFG\""], "File": "SIAnnotateControlFlow11", "Func": "runOnFunction", "Target": "AMDGPU", "Target_Clf": "GPU", "Compiler_Type": "LLVM", "Idx": 372, "Length": 259, "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": 373, "Length": 68, "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", "if", "(", "AArch64", "::", "FPR8RegClass", ".", "hasSubClassEq", "(", "RC", ")", ")", "{", "StoreOp", "=", "AArch64", "::", "LSFP8_STR", ";", "}", "else", "if", "(", "AArch64", "::", "FPR16RegClass", ".", "hasSubClassEq", "(", "RC", ")", ")", "{", "StoreOp", "=", "AArch64", "::", "LSFP16_STR", ";", "}", "else", "if", "(", "RC", "->", "hasType", "(", "MVT", "::", "f32", ")", "||", "RC", "->", "hasType", "(", "MVT", "::", "f64", ")", "||", "RC", "->", "hasType", "(", "MVT", "::", "f128", ")", ")", "{", "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\"", ")", ";", "}", "}", "else", "{", "if", "(", "AArch64", "::", "DPairRegClass", ".", "hasSubClassEq", "(", "RC", ")", ")", "StoreOp", "=", "AArch64", "::", "ST1x2_8B", ";", "else", "if", "(", "AArch64", "::", "DTripleRegClass", ".", "hasSubClassEq", "(", "RC", ")", ")", "StoreOp", "=", "AArch64", "::", "ST1x3_8B", ";", "else", "if", "(", "AArch64", "::", "DQuadRegClass", ".", "hasSubClassEq", "(", "RC", ")", ")", "StoreOp", "=", "AArch64", "::", "ST1x4_8B", ";", "else", "if", "(", "AArch64", "::", "QPairRegClass", ".", "hasSubClassEq", "(", "RC", ")", ")", "StoreOp", "=", "AArch64", "::", "ST1x2_16B", ";", "else", "if", "(", "AArch64", "::", "QTripleRegClass", ".", "hasSubClassEq", "(", "RC", ")", ")", "StoreOp", "=", "AArch64", "::", "ST1x3_16B", ";", "else", "if", "(", "AArch64", "::", "QQuadRegClass", ".", "hasSubClassEq", "(", "RC", ")", ")", "StoreOp", "=", "AArch64", "::", "ST1x4_16B", ";", "else", "llvm_unreachable", "(", "\"Unknown reg class\"", ")", ";", "MachineInstrBuilder", "NewMI", "=", "BuildMI", "(", "MBB", ",", "MBBI", ",", "DL", ",", "get", "(", "StoreOp", ")", ")", ";", "NewMI", ".", "addFrameIndex", "(", "FrameIdx", ")", ".", "addReg", "(", "SrcReg", ",", "getKillRegState", "(", "isKill", ")", ")", ".", "addMemOperand", "(", "MMO", ")", ";", "return", ";", "}", "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\"", "AArch64::FPR8RegClass", "AArch64::LSFP8_STR", "AArch64::FPR16RegClass", "AArch64::LSFP16_STR", "MVT::f32", "MVT::f64", "MVT::f128", "4", "AArch64::LSFP32_STR", "8", "AArch64::LSFP64_STR", "16", "AArch64::LSFP128_STR", "\"Unknown size for regclass\"", "AArch64::DPairRegClass", "AArch64::ST1x2_8B", "AArch64::DTripleRegClass", "AArch64::ST1x3_8B", "AArch64::DQuadRegClass", "AArch64::ST1x4_8B", "AArch64::QPairRegClass", "AArch64::ST1x2_16B", "AArch64::QTripleRegClass", "AArch64::ST1x3_16B", "AArch64::QQuadRegClass", "AArch64::ST1x4_16B", "\"Unknown reg class\"", "0"], "File": "AArch64InstrInfo39", "Func": "storeRegToStackSlot", "Target": "AArch64", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 374, "Length": 496, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "bool", "HexagonMCExpr", "::", "classof", "(", "MCExpr", "const", "*", "E", ")", "{", "return", "E", "->", "getKind", "(", ")", "==", "MCExpr", "::", "Target", ";", "}", ""], "natrual_language": ["Methods", "for", "support", "type", "inquiry", "through", "isa", ",", "cast", ",", "and", "dyn_cast", ":"], "TS_V_token": ["Hexagon", "Hexagon"], "File": "HexagonMCExpr10", "Func": "classof", "Target": "Hexagon", "Target_Clf": "DSP", "Compiler_Type": "LLVM", "Idx": 375, "Length": 23, "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": 376, "Length": 38, "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": 377, "Length": 21, "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": 378, "Length": 94, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "TargetTransformInfo", "RISCVTargetMachine", "::", "getTargetTransformInfo", "(", "const", "Function", "&", "F", ")", "{", "return", "TargetTransformInfo", "(", "RISCVTTIImpl", "(", "this", ",", "F", ")", ")", ";", "}", ""], "natrual_language": ["Get", "a", "TargetTransformInfo", "implementation", "for", "the", "target", "."], "TS_V_token": ["RISCV", "RISCV", "RISCV"], "File": "RISCVTargetMachine10", "Func": "getTargetTransformInfo", "Target": "RISCV", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 379, "Length": 23, "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": 380, "Length": 93, "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": 381, "Length": 99, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "unsigned", "SIInstrInfo", "::", "getInstSizeInBytes", "(", "const", "MachineInstr", "&", "MI", ")", "const", "{", "unsigned", "Opc", "=", "MI", ".", "getOpcode", "(", ")", ";", "const", "MCInstrDesc", "&", "Desc", "=", "getMCOpcodeFromPseudo", "(", "Opc", ")", ";", "unsigned", "DescSize", "=", "Desc", ".", "getSize", "(", ")", ";", "if", "(", "DescSize", "!=", "0", "&&", "DescSize", "!=", "4", ")", "return", "DescSize", ";", "if", "(", "Opc", "==", "AMDGPU", "::", "WAVE_BARRIER", ")", "return", "0", ";", "if", "(", "isVALU", "(", "MI", ")", "||", "isSALU", "(", "MI", ")", ")", "{", "if", "(", "isFixedSize", "(", "MI", ")", ")", "{", "assert", "(", "DescSize", "==", "4", ")", ";", "return", "DescSize", ";", "}", "int", "Src0Idx", "=", "AMDGPU", "::", "getNamedOperandIdx", "(", "Opc", ",", "AMDGPU", "::", "OpName", "::", "src0", ")", ";", "if", "(", "Src0Idx", "==", "-", "1", ")", "return", "4", ";", "if", "(", "isLiteralConstantLike", "(", "MI", ".", "getOperand", "(", "Src0Idx", ")", ",", "Desc", ".", "OpInfo", "[", "Src0Idx", "]", ")", ")", "return", "8", ";", "int", "Src1Idx", "=", "AMDGPU", "::", "getNamedOperandIdx", "(", "Opc", ",", "AMDGPU", "::", "OpName", "::", "src1", ")", ";", "if", "(", "Src1Idx", "==", "-", "1", ")", "return", "4", ";", "if", "(", "isLiteralConstantLike", "(", "MI", ".", "getOperand", "(", "Src1Idx", ")", ",", "Desc", ".", "OpInfo", "[", "Src1Idx", "]", ")", ")", "return", "8", ";", "return", "4", ";", "}", "if", "(", "DescSize", "==", "4", ")", "return", "4", ";", "switch", "(", "Opc", ")", "{", "case", "AMDGPU", "::", "SI_MASK_BRANCH", ":", "case", "TargetOpcode", "::", "IMPLICIT_DEF", ":", "case", "TargetOpcode", "::", "KILL", ":", "case", "TargetOpcode", "::", "DBG_VALUE", ":", "case", "TargetOpcode", "::", "BUNDLE", ":", "case", "TargetOpcode", "::", "EH_LABEL", ":", "return", "0", ";", "case", "TargetOpcode", "::", "INLINEASM", ":", "{", "const", "MachineFunction", "*", "MF", "=", "MI", ".", "getParent", "(", ")", "->", "getParent", "(", ")", ";", "const", "char", "*", "AsmStr", "=", "MI", ".", "getOperand", "(", "0", ")", ".", "getSymbolName", "(", ")", ";", "return", "getInlineAsmLength", "(", "AsmStr", ",", "*", "MF", "->", "getTarget", "(", ")", ".", "getMCAsmInfo", "(", ")", ")", ";", "}", "default", ":", "llvm_unreachable", "(", "\"unable to find instruction size\"", ")", ";", "}", "}", ""], "natrual_language": ["Returns", "the", "size", "in", "bytes", "of", "the", "specified", "MachineInstr", ",", "or", "~0U", "when", "this", "function", "is", "not", "implemented", "by", "a", "target", "."], "TS_V_token": ["AMDGPU", "SI", "0", "4", "AMDGPU::WAVE_BARRIER", "0", "4", "AMDGPU::getNamedOperandIdx", "AMDGPU::OpName", "1", "4", "8", "AMDGPU::getNamedOperandIdx", "AMDGPU::OpName", "1", "4", "8", "4", "4", "4", "AMDGPU::SI_MASK_BRANCH", "0", "0", "\"unable to find instruction size\""], "File": "SIInstrInfo145", "Func": "getInstSizeInBytes", "Target": "AMDGPU", "Target_Clf": "GPU", "Compiler_Type": "LLVM", "Idx": 382, "Length": 307, "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": ["LoongArch"], "File": "LoongArchAsmBackend", "Func": "fixupNeedsRelaxation", "Target": "LoongArch", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 383, "Length": 28, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "bool", "iq2000_legitimate_address_p", "(", "machine_mode", "mode", ",", "rtx", "xinsn", ",", "bool", "strict", ")", "{", "if", "(", "TARGET_DEBUG_A_MODE", ")", "{", "GO_PRINTF2", "(", "\"\\n========== legitimate_address_p, %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 machine_mode mode, 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========== legitimate_address_p, %sstrict\\n\"", "\"\"", "\"not \"", "1", "1", "0", "1", "1", "0", "1", "1", "\"Not a machine_mode mode, legitimate address\\n\"", "0"], "File": "iq2000", "Func": "iq2000_legitimate_address_p", "Target": "iq2000", "Target_Clf": "CPU", "Compiler_Type": "GCC", "Idx": 384, "Length": 317, "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": 385, "Length": 84, "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": 386, "Length": 55, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "static", "rtx", "nvptx_gen_unpack", "(", "rtx", "dst0", ",", "rtx", "dst1", ",", "rtx", "src", ")", "{", "rtx", "res", ";", "switch", "(", "GET_MODE", "(", "src", ")", ")", "{", "case", "E_DImode", ":", "res", "=", "gen_unpackdisi2", "(", "dst0", ",", "dst1", ",", "src", ")", ";", "break", ";", "case", "E_DFmode", ":", "res", "=", "gen_unpackdfsi2", "(", "dst0", ",", "dst1", ",", "src", ")", ";", "break", ";", "default", ":", "gcc_unreachable", "(", ")", ";", "}", "return", "res", ";", "}", ""], "natrual_language": ["Generate", "instruction", "(", "s", ")", "to", "unpack", "a", "64", "bit", "object", "into", "2", "32", "bit", "objects", "."], "TS_V_token": ["nvptx"], "File": "nvptx", "Func": "nvptx_gen_unpack", "Target": "nvptx", "Target_Clf": "GPU", "Compiler_Type": "GCC", "Idx": 387, "Length": 68, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "int", "pdp11_cmp_length", "(", "rtx", "*", "operands", ",", "int", "words", ")", "{", "rtx", "inops", "[", "2", "]", ";", "rtx", "exops", "[", "4", "]", "[", "2", "]", ";", "int", "i", ",", "len", "=", "0", ";", "if", "(", "!", "reload_completed", ")", "return", "2", ";", "inops", "[", "0", "]", "=", "operands", "[", "0", "]", ";", "inops", "[", "1", "]", "=", "operands", "[", "1", "]", ";", "pdp11_expand_operands", "(", "inops", ",", "exops", ",", "2", ",", "words", ",", "NULL", ",", "big", ")", ";", "for", "(", "i", "=", "0", ";", "i", "<", "words", ";", "i", "++", ")", "{", "len", "+=", "4", ";", "if", "(", "!", "REG_P", "(", "exops", "[", "i", "]", "[", "0", "]", ")", "&&", "!", "simple_memory_operand", "(", "exops", "[", "i", "]", "[", "0", "]", ",", "HImode", ")", ")", "len", "+=", "2", ";", "if", "(", "!", "REG_P", "(", "exops", "[", "i", "]", "[", "1", "]", ")", "&&", "!", "simple_memory_operand", "(", "exops", "[", "i", "]", "[", "1", "]", ",", "HImode", ")", "&&", "!", "(", "CONST_INT_P", "(", "exops", "[", "i", "]", "[", "1", "]", ")", "&&", "INTVAL", "(", "exops", "[", "i", "]", "[", "1", "]", ")", "==", "0", ")", ")", "len", "+=", "2", ";", "}", "return", "len", "-", "2", ";", "}", ""], "natrual_language": ["Return", "the", "length", "of", "2", "or", "4", "word", "integer", "compares", "."], "TS_V_token": ["pdp11", "2", "4", "2", "0", "2", "0", "0", "1", "1", "2", "0", "4", "0", "0", "2", "1", "1", "1", "1", "0", "2", "2"], "File": "pdp11", "Func": "pdp11_cmp_length", "Target": "pdp11", "Target_Clf": "MPU", "Compiler_Type": "GCC", "Idx": 388, "Length": 192, "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": 389, "Length": 60, "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": 390, "Length": 86, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "bool", "SIInstrInfo", "::", "isOperandLegal", "(", "const", "MachineInstr", "*", "MI", ",", "unsigned", "OpIdx", ",", "const", "MachineOperand", "*", "MO", ")", "const", "{", "const", "MachineRegisterInfo", "&", "MRI", "=", "MI", "->", "getParent", "(", ")", "->", "getParent", "(", ")", "->", "getRegInfo", "(", ")", ";", "const", "MCInstrDesc", "&", "InstDesc", "=", "get", "(", "MI", "->", "getOpcode", "(", ")", ")", ";", "const", "MCOperandInfo", "&", "OpInfo", "=", "InstDesc", ".", "OpInfo", "[", "OpIdx", "]", ";", "const", "TargetRegisterClass", "*", "DefinedRC", "=", "OpInfo", ".", "RegClass", "!=", "-", "1", "?", "RI", ".", "getRegClass", "(", "OpInfo", ".", "RegClass", ")", ":", "nullptr", ";", "if", "(", "!", "MO", ")", "MO", "=", "&", "MI", "->", "getOperand", "(", "OpIdx", ")", ";", "if", "(", "isVALU", "(", "InstDesc", ".", "Opcode", ")", "&&", "usesConstantBus", "(", "MRI", ",", "*", "MO", ",", "DefinedRC", "->", "getSize", "(", ")", ")", ")", "{", "unsigned", "SGPRUsed", "=", "MO", "->", "isReg", "(", ")", "?", "MO", "->", "getReg", "(", ")", ":", "(", "unsigned", ")", "AMDGPU", "::", "NoRegister", ";", "for", "(", "unsigned", "i", "=", "0", ",", "e", "=", "MI", "->", "getNumOperands", "(", ")", ";", "i", "!=", "e", ";", "++", "i", ")", "{", "if", "(", "i", "==", "OpIdx", ")", "continue", ";", "const", "MachineOperand", "&", "Op", "=", "MI", "->", "getOperand", "(", "i", ")", ";", "if", "(", "Op", ".", "isReg", "(", ")", "&&", "Op", ".", "getReg", "(", ")", "!=", "SGPRUsed", "&&", "usesConstantBus", "(", "MRI", ",", "Op", ",", "getOpSize", "(", "*", "MI", ",", "i", ")", ")", ")", "{", "return", "false", ";", "}", "}", "}", "if", "(", "MO", "->", "isReg", "(", ")", ")", "{", "assert", "(", "DefinedRC", ")", ";", "const", "TargetRegisterClass", "*", "RC", "=", "TargetRegisterInfo", "::", "isVirtualRegister", "(", "MO", "->", "getReg", "(", ")", ")", "?", "MRI", ".", "getRegClass", "(", "MO", "->", "getReg", "(", ")", ")", ":", "RI", ".", "getPhysRegClass", "(", "MO", "->", "getReg", "(", ")", ")", ";", "return", "RI", ".", "getCommonSubClass", "(", "RC", ",", "RI", ".", "getRegClass", "(", "OpInfo", ".", "RegClass", ")", ")", "==", "RC", ";", "}", "assert", "(", "MO", "->", "isImm", "(", ")", "||", "MO", "->", "isTargetIndex", "(", ")", "||", "MO", "->", "isFI", "(", ")", ")", ";", "if", "(", "!", "DefinedRC", ")", "{", "return", "true", ";", "}", "return", "isImmOperandLegal", "(", "MI", ",", "OpIdx", ",", "*", "MO", ")", ";", "}", ""], "natrual_language": ["Check", "if", "MO", "is", "a", "legal", "operand", "if", "it", "was", "the", "OpIdx", "Operand", "for", "MI", "."], "TS_V_token": ["AMDGPU", "SI", "1", "AMDGPU::NoRegister", "0"], "File": "SIInstrInfo", "Func": "isOperandLegal", "Target": "AMDGPU", "Target_Clf": "GPU", "Compiler_Type": "LLVM", "Idx": 391, "Length": 345, "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": 392, "Length": 218, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "static", "rtx", "single_set_and_flags", "(", "rtx_insn", "*", "insn", ")", "{", "if", "(", "multiple_sets", "(", "insn", ")", ")", "{", "rtx", "pat", "=", "PATTERN", "(", "insn", ")", ";", "if", "(", "XVECLEN", "(", "pat", ",", "0", ")", "==", "2", "&&", "GET_CODE", "(", "XVECEXP", "(", "pat", ",", "0", ",", "1", ")", ")", "==", "SET", "&&", "REG_P", "(", "SET_DEST", "(", "XVECEXP", "(", "pat", ",", "0", ",", "1", ")", ")", ")", "&&", "REGNO", "(", "SET_DEST", "(", "XVECEXP", "(", "pat", ",", "0", ",", "1", ")", ")", ")", "==", "FLAGS_REGNUM", ")", "return", "XVECEXP", "(", "pat", ",", "0", ",", "0", ")", ";", "}", "return", "single_set", "(", "insn", ")", ";", "}", ""], "natrual_language": ["Wrapper", "around", "single_set", "which", "returns", "the", "first", "SET", "of", "a", "pair", "if", "the", "second", "SET", "is", "to", "the", "flags", "register", "."], "TS_V_token": ["visium", "0", "2", "0", "1", "0", "1", "0", "1", "0", "0"], "File": "visium2", "Func": "single_set_and_flags", "Target": "visium", "Target_Clf": "Virtual ISA", "Compiler_Type": "GCC", "Idx": 393, "Length": 100, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "static", "void", "visium_function_arg_advance", "(", "cumulative_args_t", "pcum_v", ",", "machine_mode", "mode", ",", "const_tree", "type", "ATTRIBUTE_UNUSED", ",", "bool", "named", ")", "{", "int", "size", "=", "(", "GET_MODE_SIZE", "(", "mode", ")", "+", "UNITS_PER_WORD", "-", "1", ")", "/", "UNITS_PER_WORD", ";", "int", "stack_size", "=", "0", ";", "CUMULATIVE_ARGS", "*", "ca", "=", "get_cumulative_args", "(", "pcum_v", ")", ";", "if", "(", "TARGET_FPU", "&&", "(", "(", "GET_MODE_CLASS", "(", "mode", ")", "==", "MODE_FLOAT", "&&", "GET_MODE_SIZE", "(", "mode", ")", "<=", "UNITS_PER_HWFPVALUE", ")", "||", "(", "GET_MODE_CLASS", "(", "mode", ")", "==", "MODE_COMPLEX_FLOAT", "&&", "GET_MODE_SIZE", "(", "mode", ")", "<=", "UNITS_PER_HWFPVALUE", "*", "2", ")", ")", ")", "{", "if", "(", "ca", "->", "frcount", "+", "size", "<=", "MAX_ARGS_IN_FP_REGISTERS", ")", "ca", "->", "frcount", "+=", "size", ";", "else", "{", "stack_size", "=", "size", ";", "ca", "->", "frcount", "=", "MAX_ARGS_IN_FP_REGISTERS", ";", "}", "}", "else", "{", "if", "(", "ca", "->", "grcount", "+", "size", "<=", "MAX_ARGS_IN_GP_REGISTERS", ")", "ca", "->", "grcount", "+=", "size", ";", "else", "{", "stack_size", "=", "size", ";", "ca", "->", "grcount", "=", "MAX_ARGS_IN_GP_REGISTERS", ";", "}", "}", "if", "(", "named", ")", "ca", "->", "stack_words", "+=", "stack_size", ";", "}", ""], "natrual_language": ["Update", "the", "summarizer", "variable", "pointed", "to", "by", "PCUM_V", "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", "visium_function_arg", "."], "TS_V_token": ["visium", "1", "0", "2"], "File": "visium5", "Func": "visium_function_arg_advance", "Target": "visium", "Target_Clf": "Virtual ISA", "Compiler_Type": "GCC", "Idx": 394, "Length": 162, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "rtx", "tilepro_emit_conditional_move", "(", "rtx", "cmp", ")", "{", "return", "tilepro_emit_cc_test", "(", "GET_CODE", "(", "cmp", ")", ",", "XEXP", "(", "cmp", ",", "0", ")", ",", "XEXP", "(", "cmp", ",", "1", ")", ",", "GET_MODE", "(", "XEXP", "(", "cmp", ",", "0", ")", ")", ",", "true", ")", ";", "}", ""], "natrual_language": ["Implement", "the", "movsicc", "pattern", "."], "TS_V_token": ["tilepro", "0", "1", "0"], "File": "tilepro", "Func": "tilepro_emit_conditional_move", "Target": "tilepro", "Target_Clf": "VLIW", "Compiler_Type": "GCC", "Idx": 395, "Length": 43, "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": 396, "Length": 97, "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": 397, "Length": 428, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "const", "Thumb2RegisterInfo", "&", "getRegisterInfo", "(", ")", "const", "{", "return", "RI", ";", "}", ""], "natrual_language": ["getRegisterInfo", "-", "TargetInstrInfo", "is", "a", "superset", "of", "MRegister", "info", "."], "TS_V_token": ["ARM"], "File": "Thumb2InstrInfo13", "Func": "getRegisterInfo", "Target": "ARM", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 398, "Length": 12, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "bool", "arc_raw_symbolic_reference_mentioned_p", "(", "rtx", "op", ",", "bool", "skip_local", ")", "{", "const", "char", "*", "fmt", ";", "int", "i", ";", "if", "(", "GET_CODE", "(", "op", ")", "==", "UNSPEC", ")", "return", "false", ";", "if", "(", "GET_CODE", "(", "op", ")", "==", "SYMBOL_REF", ")", "{", "if", "(", "SYMBOL_REF_TLS_MODEL", "(", "op", ")", ")", "return", "true", ";", "if", "(", "!", "flag_pic", ")", "return", "false", ";", "tree", "decl", "=", "SYMBOL_REF_DECL", "(", "op", ")", ";", "return", "!", "skip_local", "||", "!", "decl", "||", "!", "default_binds_local_p", "(", "decl", ")", ";", "}", "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", "(", "arc_raw_symbolic_reference_mentioned_p", "(", "XVECEXP", "(", "op", ",", "i", ",", "j", ")", ",", "skip_local", ")", ")", "return", "true", ";", "}", "else", "if", "(", "fmt", "[", "i", "]", "==", "'e'", "&&", "arc_raw_symbolic_reference_mentioned_p", "(", "XEXP", "(", "op", ",", "i", ")", ",", "skip_local", ")", ")", "return", "true", ";", "}", "return", "false", ";", "}", ""], "natrual_language": ["Return", "true", "if", "OP", "contains", "a", "SYMBOL_REF", "that", "is", "not", "wrapped", "in", "an", "unspec", ".", "If", "SKIP_LOCAL", "is", "true", ",", "skip", "symbols", "that", "bind", "locally", ".", "This", "is", "used", "further", "down", "in", "this", "file", ",", "and", ",", "without", "SKIP_LOCAL", ",", "in", "the", "addsi3", "/", "subsi3", "expanders", "when", "generating", "PIC", "code", "."], "TS_V_token": ["arc", "1", "0", "1", "0"], "File": "arc", "Func": "arc_raw_symbolic_reference_mentioned_p", "Target": "arc", "Target_Clf": "MPU", "Compiler_Type": "GCC", "Idx": 399, "Length": 195, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "const", "TargetRegisterClass", "*", "SIRegisterInfo", "::", "getCrossCopyRegClass", "(", "const", "TargetRegisterClass", "*", "RC", ")", "const", "{", "if", "(", "isAGPRClass", "(", "RC", ")", "&&", "!", "ST", ".", "hasGFX90AInsts", "(", ")", ")", "return", "getEquivalentVGPRClass", "(", "RC", ")", ";", "return", "RC", ";", "}", ""], "natrual_language": ["getCrossCopyRegClass", "-", "Returns", "a", "legal", "register", "class", "to", "copy", "a", "register", "in", "the", "specified", "class", "to", "or", "from", "."], "TS_V_token": ["AMDGPU", "SI"], "File": "SIRegisterInfo (3)", "Func": "getCrossCopyRegClass", "Target": "AMDGPU", "Target_Clf": "GPU", "Compiler_Type": "LLVM", "Idx": 400, "Length": 38, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "static", "short", "find_set_regmode_weight", "(", "rtx", "x", ",", "enum", "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", "(", "GET_CODE", "(", "SET_DEST", "(", "x", ")", ")", "==", "REG", ")", "{", "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": "sh3", "Func": "find_set_regmode_weight", "Target": "sh", "Target_Clf": "CPU", "Compiler_Type": "GCC", "Idx": 401, "Length": 99, "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": 402, "Length": 189, "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": 403, "Length": 105, "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": 404, "Length": 75, "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": 405, "Length": 15, "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": 406, "Length": 259, "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": 407, "Length": 409, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "static", "bool", "m68k_save_reg", "(", "unsigned", "int", "regno", ",", "bool", "interrupt_handler", ")", "{", "if", "(", "flag_pic", "&&", "regno", "==", "PIC_OFFSET_TABLE_REGNUM", ")", "{", "if", "(", "current_function_uses_pic_offset_table", ")", "return", "true", ";", "if", "(", "!", "current_function_is_leaf", "&&", "TARGET_ID_SHARED_LIBRARY", ")", "return", "true", ";", "}", "if", "(", "current_function_calls_eh_return", ")", "{", "unsigned", "int", "i", ";", "for", "(", "i", "=", "0", ";", ";", "i", "++", ")", "{", "unsigned", "int", "test", "=", "EH_RETURN_DATA_REGNO", "(", "i", ")", ";", "if", "(", "test", "==", "INVALID_REGNUM", ")", "break", ";", "if", "(", "test", "==", "regno", ")", "return", "true", ";", "}", "}", "if", "(", "fixed_regs", "[", "regno", "]", ")", "return", "false", ";", "if", "(", "regno", "==", "FRAME_POINTER_REGNUM", "&&", "frame_pointer_needed", ")", "return", "false", ";", "if", "(", "interrupt_handler", ")", "{", "if", "(", "regs_ever_live", "[", "regno", "]", ")", "return", "true", ";", "if", "(", "!", "current_function_is_leaf", "&&", "call_used_regs", "[", "regno", "]", ")", "return", "true", ";", "}", "if", "(", "!", "regs_ever_live", "[", "regno", "]", ")", "return", "false", ";", "return", "!", "call_used_regs", "[", "regno", "]", ";", "}", ""], "natrual_language": ["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", ".", "Return", "true", "if", "we", "need", "to", "save", "REGNO", "."], "TS_V_token": ["m68k", "0"], "File": "m68k3", "Func": "m68k_save_reg", "Target": "m68k", "Target_Clf": "MPU", "Compiler_Type": "GCC", "Idx": 408, "Length": 156, "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": "ARMAsmParser13", "Func": "ParseDirective", "Target": "ARM", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 409, "Length": 108, "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": 410, "Length": 54, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "bool", "AVRAsmParser", "::", "emit", "(", "MCInst", "&", "Inst", ",", "SMLoc", "const", "&", "Loc", ",", "MCStreamer", "&", "Out", ")", "const", "{", "Inst", ".", "setLoc", "(", "Loc", ")", ";", "Out", ".", "EmitInstruction", "(", "Inst", ",", "STI", ")", ";", "return", "false", ";", "}", ""], "natrual_language": ["Output", "the", "remark", "via", "the", "diagnostic", "handler", "and", "to", "the", "optimization", "record", "file", "."], "TS_V_token": ["AVR", "AVR"], "File": "AVRAsmParser1", "Func": "emit", "Target": "AVR", "Target_Clf": "MPU", "Compiler_Type": "LLVM", "Idx": 411, "Length": 40, "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": 412, "Length": 28, "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": 413, "Length": 57, "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": ["Tile64"], "File": "Tile64MachineFunctionInfo", "Func": "getGlobalBaseReg", "Target": "Tile64", "Target_Clf": "VLIW", "Compiler_Type": "LLVM", "Idx": 414, "Length": 10, "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": 415, "Length": 25, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "bool", "M88kAsmParser", "::", "ParseDirective", "(", "AsmToken", "DirectiveID", ")", "{", "StringRef", "IDVal", "=", "DirectiveID", ".", "getIdentifier", "(", ")", ";", "if", "(", "IDVal", "==", "\".requires_88110\"", ")", "{", "MCSubtargetInfo", "&", "STI", "=", "copySTI", "(", ")", ";", "STI", ".", "setDefaultFeatures", "(", "\"m88110\"", ",", "\"m88110\"", ",", "\"\"", ")", ";", "setAvailableFeatures", "(", "ComputeAvailableFeatures", "(", "STI", ".", "getFeatureBits", "(", ")", ")", ")", ";", "getTargetStreamer", "(", ")", ".", "emitDirectiveRequires881100", "(", ")", ";", "return", "false", ";", "}", "return", "true", ";", "}", ""], "natrual_language": ["ParseDirective", "-", "Parse", "a", "target", "specific", "assembler", "directive", "This", "method", "is", "deprecated", ",", "use", "'parseDirective", "'", "instead", "."], "TS_V_token": ["M88k", "M88k", "\".requires_88110\"", "\"m88110\"", "\"m88110\"", "\"\""], "File": "M88kAsmParser", "Func": "ParseDirective", "Target": "M88k", "Target_Clf": "MPU", "Compiler_Type": "LLVM", "Idx": 416, "Length": 72, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "StringRef", "getPassName", "(", ")", "const", "override", "{", "return", "\"M88kPostLegalizerLowering\"", ";", "}", ""], "natrual_language": ["getPassName", "-", "Return", "a", "nice", "clean", "name", "for", "a", "pass", "."], "TS_V_token": ["M88k", "\"M88kPostLegalizerLowering\""], "File": "M88kPostLegalizerLowering", "Func": "getPassName", "Target": "M88k", "Target_Clf": "MPU", "Compiler_Type": "LLVM", "Idx": 417, "Length": 11, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "void", "visium_expand_copysign", "(", "rtx", "*", "operands", ",", "machine_mode", "mode", ")", "{", "rtx", "op0", "=", "operands", "[", "0", "]", ";", "rtx", "op1", "=", "operands", "[", "1", "]", ";", "rtx", "op2", "=", "operands", "[", "2", "]", ";", "rtx", "mask", "=", "force_reg", "(", "SImode", ",", "GEN_INT", "(", "0x7fffffff", ")", ")", ";", "rtx", "x", ";", "gcc_assert", "(", "mode", "==", "SFmode", ")", ";", "if", "(", "GET_CODE", "(", "op1", ")", "==", "CONST_DOUBLE", ")", "{", "if", "(", "real_isneg", "(", "CONST_DOUBLE_REAL_VALUE", "(", "op1", ")", ")", ")", "op1", "=", "simplify_unary_operation", "(", "ABS", ",", "mode", ",", "op1", ",", "mode", ")", ";", "if", "(", "op1", "!=", "CONST0_RTX", "(", "mode", ")", ")", "{", "long", "l", ";", "REAL_VALUE_TO_TARGET_SINGLE", "(", "*", "CONST_DOUBLE_REAL_VALUE", "(", "op1", ")", ",", "l", ")", ";", "op1", "=", "force_reg", "(", "SImode", ",", "gen_int_mode", "(", "l", ",", "SImode", ")", ")", ";", "}", "}", "else", "{", "op1", "=", "copy_to_mode_reg", "(", "SImode", ",", "gen_lowpart", "(", "SImode", ",", "op1", ")", ")", ";", "op1", "=", "force_reg", "(", "SImode", ",", "gen_rtx_AND", "(", "SImode", ",", "op1", ",", "mask", ")", ")", ";", "}", "mask", "=", "force_reg", "(", "SImode", ",", "gen_rtx_NOT", "(", "SImode", ",", "mask", ")", ")", ";", "op2", "=", "copy_to_mode_reg", "(", "SImode", ",", "gen_lowpart", "(", "SImode", ",", "op2", ")", ")", ";", "op2", "=", "force_reg", "(", "SImode", ",", "gen_rtx_AND", "(", "SImode", ",", "op2", ",", "mask", ")", ")", ";", "if", "(", "op1", "==", "CONST0_RTX", "(", "SFmode", ")", ")", "x", "=", "op2", ";", "else", "x", "=", "force_reg", "(", "SImode", ",", "gen_rtx_IOR", "(", "SImode", ",", "op1", ",", "op2", ")", ")", ";", "emit_insn", "(", "gen_rtx_SET", "(", "op0", ",", "gen_lowpart", "(", "SFmode", ",", "x", ")", ")", ")", ";", "}", ""], "natrual_language": ["Expand", "a", "copysign", "of", "OPERANDS", "in", "MODE", "."], "TS_V_token": ["visium", "0", "1", "2", "0x7fffffff"], "File": "visium", "Func": "visium_expand_copysign", "Target": "visium", "Target_Clf": "Virtual ISA", "Compiler_Type": "GCC", "Idx": 418, "Length": 254, "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": 419, "Length": 11, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "static", "bool", "avr_pgm_check_var_decl", "(", "tree", "node", ")", "{", "const", "char", "*", "reason", "=", "NULL", ";", "addr_space_t", "as", "=", "ADDR_SPACE_GENERIC", ";", "gcc_assert", "(", "as", "==", "0", ")", ";", "if", "(", "avr_log", ".", "progmem", ")", "avr_edump", "(", "\"%?: %t\\n\"", ",", "node", ")", ";", "switch", "(", "TREE_CODE", "(", "node", ")", ")", "{", "default", ":", "break", ";", "case", "VAR_DECL", ":", "if", "(", "as", "=", "avr_nonconst_pointer_addrspace", "(", "TREE_TYPE", "(", "node", ")", ")", ",", "as", ")", "reason", "=", "\"variable\"", ";", "break", ";", "case", "PARM_DECL", ":", "if", "(", "as", "=", "avr_nonconst_pointer_addrspace", "(", "TREE_TYPE", "(", "node", ")", ")", ",", "as", ")", "reason", "=", "\"function parameter\"", ";", "break", ";", "case", "FIELD_DECL", ":", "if", "(", "as", "=", "avr_nonconst_pointer_addrspace", "(", "TREE_TYPE", "(", "node", ")", ")", ",", "as", ")", "reason", "=", "\"structure field\"", ";", "break", ";", "case", "FUNCTION_DECL", ":", "if", "(", "as", "=", "avr_nonconst_pointer_addrspace", "(", "TREE_TYPE", "(", "TREE_TYPE", "(", "node", ")", ")", ")", ",", "as", ")", "reason", "=", "\"return type of function\"", ";", "break", ";", "case", "POINTER_TYPE", ":", "if", "(", "as", "=", "avr_nonconst_pointer_addrspace", "(", "node", ")", ",", "as", ")", "reason", "=", "\"pointer\"", ";", "break", ";", "}", "if", "(", "reason", ")", "{", "if", "(", "avr_addrspace", "[", "as", "]", ".", "segment", ">=", "avr_n_flash", ")", "{", "if", "(", "TYPE_P", "(", "node", ")", ")", "error", "(", "\"%qT uses address space %qs beyond flash of %d KiB\"", ",", "node", ",", "avr_addrspace", "[", "as", "]", ".", "name", ",", "avr_n_flash", ")", ";", "else", "error", "(", "\"%s %q+D uses address space %qs beyond flash of %d KiB\"", ",", "reason", ",", "node", ",", "avr_addrspace", "[", "as", "]", ".", "name", ",", "avr_n_flash", ")", ";", "}", "else", "{", "if", "(", "TYPE_P", "(", "node", ")", ")", "error", "(", "\"pointer targeting address space %qs must be const in %qT\"", ",", "avr_addrspace", "[", "as", "]", ".", "name", ",", "node", ")", ";", "else", "error", "(", "\"pointer targeting address space %qs must be const\"", "\" in %s %q+D\"", ",", "avr_addrspace", "[", "as", "]", ".", "name", ",", "reason", ",", "node", ")", ";", "}", "}", "return", "reason", "==", "NULL", ";", "}", ""], "natrual_language": ["Sanity", "check", "NODE", "so", "that", "all", "pointers", "targeting", "non-generic", "address", "spaces", "go", "along", "with", "CONST", "qualifier", ".", "Writing", "to", "these", "address", "spaces", "should", "be", "detected", "and", "complained", "about", "as", "early", "as", "possible", "."], "TS_V_token": ["avr", "0", "\"%?: %t\\n\"", "\"variable\"", "\"function parameter\"", "\"structure field\"", "\"return type of function\"", "\"pointer\"", "\"%qT uses address space %qs beyond flash of %d KiB\"", "\"%s %q+D uses address space %qs beyond flash of %d KiB\"", "\"pointer targeting address space %qs must be const in %qT\"", "\"pointer targeting address space %qs must be const\"", "\" in %s %q+D\""], "File": "avr4", "Func": "avr_pgm_check_var_decl", "Target": "avr", "Target_Clf": "MPU", "Compiler_Type": "GCC", "Idx": 420, "Length": 277, "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": 421, "Length": 124, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "void", "conditional_register_usage", "(", "void", ")", "{", "bfin_cc_rtx", "=", "gen_rtx_REG", "(", "BImode", ",", "REG_CC", ")", ";", "bfin_rets_rtx", "=", "gen_rtx_REG", "(", "Pmode", ",", "REG_RETS", ")", ";", "}", ""], "natrual_language": ["Called", "early", "in", "the", "compilation", "to", "conditionally", "modify", "fixed_regs/call_used_regs", "."], "TS_V_token": ["bfin"], "File": "bfin2", "Func": "conditional_register_usage", "Target": "bfin", "Target_Clf": "DSP", "Compiler_Type": "GCC", "Idx": 422, "Length": 25, "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": 423, "Length": 498, "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": 424, "Length": 247, "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": ["Patmos", "0", "0"], "File": "PatmosAsmParser1", "Func": "addExpr", "Target": "Patmos", "Target_Clf": "VLIW", "Compiler_Type": "LLVM", "Idx": 425, "Length": 78, "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": 426, "Length": 73, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "void", "nvptx_output_aligned_decl", "(", "FILE", "*", "file", ",", "const", "char", "*", "name", ",", "const_tree", "decl", ",", "HOST_WIDE_INT", "size", ",", "unsigned", "align", ")", "{", "write_var_marker", "(", "file", ",", "true", ",", "TREE_PUBLIC", "(", "decl", ")", ",", "name", ")", ";", "fprintf", "(", "file", ",", "\"\\t%s\"", ",", "TREE_PUBLIC", "(", "decl", ")", "?", "\".weak \"", ":", "\"\"", ")", ";", "nvptx_assemble_decl_begin", "(", "file", ",", "name", ",", "section_for_decl", "(", "decl", ")", ",", "TREE_TYPE", "(", "decl", ")", ",", "size", ",", "align", ")", ";", "nvptx_assemble_decl_end", "(", ")", ";", "}", ""], "natrual_language": ["Output", "an", "uninitialized", "common", "or", "file-scope", "variable", "."], "TS_V_token": ["nvptx", "\"\\t%s\"", "\".weak \"", "\"\""], "File": "nvptx", "Func": "nvptx_output_aligned_decl", "Target": "nvptx", "Target_Clf": "GPU", "Compiler_Type": "GCC", "Idx": 427, "Length": 78, "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": 428, "Length": 106, "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": 429, "Length": 67, "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": 430, "Length": 62, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "static", "int", "frame_save_reg", "(", "rtx", "reg", ",", "HOST_WIDE_INT", "offset", ")", "{", "rtx", "addr", ";", "if", "(", "offset", ")", "{", "rtx", "tmp", "=", "plus_constant", "(", "Pmode", ",", "stack_pointer_rtx", ",", "offset", "-", "GET_MODE_SIZE", "(", "GET_MODE", "(", "reg", ")", ")", ")", ";", "addr", "=", "gen_frame_mem", "(", "GET_MODE", "(", "reg", ")", ",", "gen_rtx_PRE_MODIFY", "(", "Pmode", ",", "stack_pointer_rtx", ",", "tmp", ")", ")", ";", "}", "else", "addr", "=", "gen_frame_mem", "(", "GET_MODE", "(", "reg", ")", ",", "gen_rtx_PRE_DEC", "(", "Pmode", ",", "stack_pointer_rtx", ")", ")", ";", "frame_move_inc", "(", "addr", ",", "reg", ",", "stack_pointer_rtx", ",", "0", ")", ";", "return", "GET_MODE_SIZE", "(", "GET_MODE", "(", "reg", ")", ")", "-", "offset", ";", "}", ""], "natrual_language": ["Helper", "for", "prologue", ":", "emit", "frame", "store", "with", "pre_modify", "or", "pre_dec", "to", "save", "register", "REG", "on", "stack", ".", "An", "initial", "offset", "OFFSET", "can", "be", "passed", "to", "the", "function", "."], "TS_V_token": ["arc", "0"], "File": "arc", "Func": "frame_save_reg", "Target": "arc", "Target_Clf": "MPU", "Compiler_Type": "GCC", "Idx": 431, "Length": 100, "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": 432, "Length": 185, "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": 433, "Length": 86, "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": 434, "Length": 31, "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": 435, "Length": 105, "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": 436, "Length": 184, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "bool", "WebAssemblyExceptionInfo", "::", "runOnMachineFunction", "(", "MachineFunction", "&", "F", ")", "{", "releaseMemory", "(", ")", ";", "auto", "&", "MDT", "=", "getAnalysis", "<", "MachineDominatorTree", ">", "(", ")", ";", "auto", "&", "MDF", "=", "getAnalysis", "<", "MachineDominanceFrontier", ">", "(", ")", ";", "recalculate", "(", "MDT", ",", "MDF", ")", ";", "return", "false", ";", "}", ""], "natrual_language": ["runOnMachineFunction", "-", "Emit", "the", "function", "body", "."], "TS_V_token": ["WebAssembly", "WebAssembly"], "File": "WebAssemblyExceptionInfo", "Func": "runOnMachineFunction", "Target": "WebAssembly", "Target_Clf": "Virtual ISA", "Compiler_Type": "LLVM", "Idx": 437, "Length": 47, "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": 438, "Length": 229, "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": 439, "Length": 11, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "bool", "aarch64_sve_cmp_immediate_p", "(", "rtx", "x", ",", "bool", "signed_p", ")", "{", "x", "=", "unwrap_const_vec_duplicate", "(", "x", ")", ";", "return", "(", "CONST_INT_P", "(", "x", ")", "&&", "(", "signed_p", "?", "IN_RANGE", "(", "INTVAL", "(", "x", ")", ",", "-", "16", ",", "15", ")", ":", "IN_RANGE", "(", "INTVAL", "(", "x", ")", ",", "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": "aarch64", "Func": "aarch64_sve_cmp_immediate_p", "Target": "aarch64", "Target_Clf": "CPU", "Compiler_Type": "GCC", "Idx": 440, "Length": 55, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "void", "GCNIterativeScheduler", "::", "schedule", "(", ")", "{", "LLVM_DEBUG", "(", "printLivenessInfo", "(", "dbgs", "(", ")", ",", "RegionBegin", ",", "RegionEnd", ",", "LIS", ")", ";", "if", "(", "!", "Regions", ".", "empty", "(", ")", "&&", "Regions", ".", "back", "(", ")", "->", "Begin", "==", "RegionBegin", ")", "{", "dbgs", "(", ")", "<<", "\"Max RP: \"", ";", "Regions", ".", "back", "(", ")", "->", "MaxPressure", ".", "print", "(", "dbgs", "(", ")", ",", "&", "MF", ".", "getSubtarget", "<", "GCNSubtarget", ">", "(", ")", ")", ";", "}", "dbgs", "(", ")", "<<", "'\\n'", ";", ")", ";", "}", ""], "natrual_language": ["Schedule", "-", "This", "is", "called", "back", "from", "ScheduleDAGInstrs", ":", ":Run", "(", ")", "when", "it", "'s", "time", "to", "do", "some", "work", "."], "TS_V_token": ["AMDGPU", "\"Max RP: \""], "File": "GCNIterativeScheduler", "Func": "schedule", "Target": "AMDGPU", "Target_Clf": "GPU", "Compiler_Type": "LLVM", "Idx": 441, "Length": 83, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "bool", "AMDGPUAsmPrinter", "::", "doFinalization", "(", "Module", "&", "M", ")", "{", "CallGraphResourceInfo", ".", "clear", "(", ")", ";", "const", "MCSubtargetInfo", "&", "STI", "=", "*", "getGlobalSTI", "(", ")", ";", "if", "(", "(", "AMDGPU", "::", "isGFX10Plus", "(", "STI", ")", "||", "AMDGPU", "::", "isGFX90A", "(", "STI", ")", ")", "&&", "(", "STI", ".", "getTargetTriple", "(", ")", ".", "getOS", "(", ")", "==", "Triple", "::", "AMDHSA", "||", "STI", ".", "getTargetTriple", "(", ")", ".", "getOS", "(", ")", "==", "Triple", "::", "AMDPAL", ")", ")", "{", "OutStreamer", "->", "SwitchSection", "(", "getObjFileLowering", "(", ")", ".", "getTextSection", "(", ")", ")", ";", "getTargetStreamer", "(", ")", "->", "EmitCodeEnd", "(", "STI", ")", ";", "}", "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": ["AMDGPU", "AMDGPU", "AMDGPU::isGFX10Plus", "AMDGPU::isGFX90A"], "File": "AMDGPUAsmPrinter41", "Func": "doFinalization", "Target": "AMDGPU", "Target_Clf": "GPU", "Compiler_Type": "LLVM", "Idx": 442, "Length": 107, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "unsigned", "SIInstrInfo", "::", "insertIndirectBranch", "(", "MachineBasicBlock", "&", "MBB", ",", "MachineBasicBlock", "&", "DestBB", ",", "const", "DebugLoc", "&", "DL", ",", "int64_t", "BrOffset", ",", "RegScavenger", "*", "RS", ")", "const", "{", "assert", "(", "RS", "&&", "\"RegScavenger required for long branching\"", ")", ";", "assert", "(", "MBB", ".", "empty", "(", ")", "&&", "\"new block should be inserted for expanding unconditional branch\"", ")", ";", "assert", "(", "MBB", ".", "pred_size", "(", ")", "==", "1", ")", ";", "MachineFunction", "*", "MF", "=", "MBB", ".", "getParent", "(", ")", ";", "MachineRegisterInfo", "&", "MRI", "=", "MF", "->", "getRegInfo", "(", ")", ";", "unsigned", "PCReg", "=", "MRI", ".", "createVirtualRegister", "(", "&", "AMDGPU", "::", "SReg_64RegClass", ")", ";", "auto", "I", "=", "MBB", ".", "end", "(", ")", ";", "MachineInstr", "*", "GetPC", "=", "BuildMI", "(", "MBB", ",", "I", ",", "DL", ",", "get", "(", "AMDGPU", "::", "S_GETPC_B64", ")", ",", "PCReg", ")", ";", "if", "(", "BrOffset", ">=", "0", ")", "{", "BuildMI", "(", "MBB", ",", "I", ",", "DL", ",", "get", "(", "AMDGPU", "::", "S_ADD_U32", ")", ")", ".", "addReg", "(", "PCReg", ",", "RegState", "::", "Define", ",", "AMDGPU", "::", "sub0", ")", ".", "addReg", "(", "PCReg", ",", "0", ",", "AMDGPU", "::", "sub0", ")", ".", "addMBB", "(", "&", "DestBB", ",", "AMDGPU", "::", "TF_LONG_BRANCH_FORWARD", ")", ";", "BuildMI", "(", "MBB", ",", "I", ",", "DL", ",", "get", "(", "AMDGPU", "::", "S_ADDC_U32", ")", ")", ".", "addReg", "(", "PCReg", ",", "RegState", "::", "Define", ",", "AMDGPU", "::", "sub1", ")", ".", "addReg", "(", "PCReg", ",", "0", ",", "AMDGPU", "::", "sub1", ")", ".", "addImm", "(", "0", ")", ";", "}", "else", "{", "BuildMI", "(", "MBB", ",", "I", ",", "DL", ",", "get", "(", "AMDGPU", "::", "S_SUB_U32", ")", ")", ".", "addReg", "(", "PCReg", ",", "RegState", "::", "Define", ",", "AMDGPU", "::", "sub0", ")", ".", "addReg", "(", "PCReg", ",", "0", ",", "AMDGPU", "::", "sub0", ")", ".", "addMBB", "(", "&", "DestBB", ",", "AMDGPU", "::", "TF_LONG_BRANCH_BACKWARD", ")", ";", "BuildMI", "(", "MBB", ",", "I", ",", "DL", ",", "get", "(", "AMDGPU", "::", "S_SUBB_U32", ")", ")", ".", "addReg", "(", "PCReg", ",", "RegState", "::", "Define", ",", "AMDGPU", "::", "sub1", ")", ".", "addReg", "(", "PCReg", ",", "0", ",", "AMDGPU", "::", "sub1", ")", ".", "addImm", "(", "0", ")", ";", "}", "BuildMI", "(", "&", "MBB", ",", "DL", ",", "get", "(", "AMDGPU", "::", "S_SETPC_B64", ")", ")", ".", "addReg", "(", "PCReg", ")", ";", "RS", "->", "enterBasicBlockEnd", "(", "MBB", ")", ";", "unsigned", "Scav", "=", "RS", "->", "scavengeRegisterBackwards", "(", "AMDGPU", "::", "SReg_64RegClass", ",", "MachineBasicBlock", "::", "iterator", "(", "GetPC", ")", ",", "false", ",", "0", ")", ";", "MRI", ".", "replaceRegWith", "(", "PCReg", ",", "Scav", ")", ";", "MRI", ".", "clearVirtRegs", "(", ")", ";", "RS", "->", "setRegUsed", "(", "Scav", ")", ";", "return", "4", "+", "8", "+", "4", "+", "4", ";", "}", ""], "natrual_language": ["Insert", "an", "unconditional", "indirect", "branch", "at", "the", "end", "of", "MBB", "to", "NewDestBB", "."], "TS_V_token": ["AMDGPU", "SI", "\"RegScavenger required for long branching\"", "\"new block should be inserted for expanding unconditional branch\"", "1", "AMDGPU::SReg_64RegClass", "AMDGPU::S_GETPC_B64", "0", "AMDGPU::S_ADD_U32", "AMDGPU::sub0", "0", "AMDGPU::sub0", "AMDGPU::TF_LONG_BRANCH_FORWARD", "AMDGPU::S_ADDC_U32", "AMDGPU::sub1", "0", "AMDGPU::sub1", "0", "AMDGPU::S_SUB_U32", "AMDGPU::sub0", "0", "AMDGPU::sub0", "AMDGPU::TF_LONG_BRANCH_BACKWARD", "AMDGPU::S_SUBB_U32", "AMDGPU::sub1", "0", "AMDGPU::sub1", "0", "AMDGPU::S_SETPC_B64", "AMDGPU::SReg_64RegClass", "0", "4", "8", "4", "4"], "File": "SIInstrInfo1", "Func": "insertIndirectBranch", "Target": "AMDGPU", "Target_Clf": "GPU", "Compiler_Type": "LLVM", "Idx": 443, "Length": 403, "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": 444, "Length": 141, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "const", "char", "*", "TLCS900TargetLowering", "::", "getTargetNodeName", "(", "unsigned", "Opcode", ")", "const", "{", "switch", "(", "Opcode", ")", "{", "default", ":", "return", "NULL", ";", "case", "TLCS900ISD", "::", "RET_FLAG", ":", "return", "\"TLCS900ISD::RET_FLAG\"", ";", "case", "TLCS900ISD", "::", "RETI_FLAG", ":", "return", "\"TLCS900ISD::RETI_FLAG\"", ";", "case", "TLCS900ISD", "::", "RRA", ":", "return", "\"TLCS900ISD::RRA\"", ";", "case", "TLCS900ISD", "::", "RLA", ":", "return", "\"TLCS900ISD::RLA\"", ";", "case", "TLCS900ISD", "::", "RRC", ":", "return", "\"TLCS900ISD::RRC\"", ";", "case", "TLCS900ISD", "::", "CALL", ":", "return", "\"TLCS900ISD::CALL\"", ";", "case", "TLCS900ISD", "::", "Wrapper", ":", "return", "\"TLCS900ISD::Wrapper\"", ";", "case", "TLCS900ISD", "::", "BR_CC", ":", "return", "\"TLCS900ISD::BR_CC\"", ";", "case", "TLCS900ISD", "::", "CMP", ":", "return", "\"TLCS900ISD::CMP\"", ";", "case", "TLCS900ISD", "::", "SELECT_CC", ":", "return", "\"TLCS900ISD::SELECT_CC\"", ";", "case", "TLCS900ISD", "::", "SHL", ":", "return", "\"TLCS900ISD::SHL\"", ";", "case", "TLCS900ISD", "::", "SRA", ":", "return", "\"TLCS900ISD::SRA\"", ";", "}", "}", ""], "natrual_language": ["getTargetNodeName", "-", "This", "method", "returns", "the", "name", "of", "a", "target", "specific"], "TS_V_token": ["TLCS900", "TLCS900", "TLCS900ISD::RET_FLAG", "\"TLCS900ISD::RET_FLAG\"", "TLCS900ISD::RETI_FLAG", "\"TLCS900ISD::RETI_FLAG\"", "TLCS900ISD::RRA", "\"TLCS900ISD::RRA\"", "TLCS900ISD::RLA", "\"TLCS900ISD::RLA\"", "TLCS900ISD::RRC", "\"TLCS900ISD::RRC\"", "TLCS900ISD::CALL", "\"TLCS900ISD::CALL\"", "TLCS900ISD::Wrapper", "\"TLCS900ISD::Wrapper\"", "TLCS900ISD::BR_CC", "\"TLCS900ISD::BR_CC\"", "TLCS900ISD::CMP", "\"TLCS900ISD::CMP\"", "TLCS900ISD::SELECT_CC", "\"TLCS900ISD::SELECT_CC\"", "TLCS900ISD::SHL", "\"TLCS900ISD::SHL\"", "TLCS900ISD::SRA", "\"TLCS900ISD::SRA\""], "File": "TLCS900ISelLowering", "Func": "getTargetNodeName", "Target": "TLCS900", "Target_Clf": "MPU", "Compiler_Type": "LLVM", "Idx": 445, "Length": 120, "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", ";", "}", "}", ""], "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"], "File": "MipsSEInstrInfo15", "Func": "getOppositeBranchOpc", "Target": "Mips", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 446, "Length": 164, "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": 447, "Length": 26, "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": 448, "Length": 241, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "void", "BPFAsmBackend", "::", "applyFixup", "(", "const", "MCAssembler", "&", "Asm", ",", "const", "MCFixup", "&", "Fixup", ",", "const", "MCValue", "&", "Target", ",", "MutableArrayRef", "<", "char", ">", "Data", ",", "uint64_t", "Value", ",", "bool", "IsPCRel", ")", "const", "{", "if", "(", "Fixup", ".", "getKind", "(", ")", "==", "FK_SecRel_4", "||", "Fixup", ".", "getKind", "(", ")", "==", "FK_SecRel_8", ")", "{", "assert", "(", "Value", "==", "0", ")", ";", "}", "else", "if", "(", "Fixup", ".", "getKind", "(", ")", "==", "FK_Data_4", "||", "Fixup", ".", "getKind", "(", ")", "==", "FK_Data_8", ")", "{", "unsigned", "Size", "=", "Fixup", ".", "getKind", "(", ")", "==", "FK_Data_4", "?", "4", ":", "8", ";", "for", "(", "unsigned", "i", "=", "0", ";", "i", "!=", "Size", ";", "++", "i", ")", "{", "unsigned", "Idx", "=", "IsLittleEndian", "?", "i", ":", "Size", "-", "i", "-", "1", ";", "Data", "[", "Fixup", ".", "getOffset", "(", ")", "+", "Idx", "]", "=", "uint8_t", "(", "Value", ">>", "(", "i", "*", "8", ")", ")", ";", "}", "}", "else", "{", "assert", "(", "Fixup", ".", "getKind", "(", ")", "==", "FK_PCRel_2", ")", ";", "Value", "=", "(", "uint16_t", ")", "(", "(", "Value", "-", "8", ")", "/", "8", ")", ";", "if", "(", "IsLittleEndian", ")", "{", "Data", "[", "Fixup", ".", "getOffset", "(", ")", "+", "2", "]", "=", "Value", "&", "0xFF", ";", "Data", "[", "Fixup", ".", "getOffset", "(", ")", "+", "3", "]", "=", "Value", ">>", "8", ";", "}", "else", "{", "Data", "[", "Fixup", ".", "getOffset", "(", ")", "+", "2", "]", "=", "Value", ">>", "8", ";", "Data", "[", "Fixup", ".", "getOffset", "(", ")", "+", "3", "]", "=", "Value", "&", "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": ["BPF", "BPF", "0", "4", "8", "0", "1", "8", "8", "8", "2", "0xFF", "3", "8", "2", "8", "3", "0xFF"], "File": "BPFAsmBackend4", "Func": "applyFixup", "Target": "BPF", "Target_Clf": "Virtual ISA", "Compiler_Type": "LLVM", "Idx": 449, "Length": 247, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "static", "bool", "epiphany_rtx_costs", "(", "rtx", "x", ",", "machine_mode", "mode", ",", "int", "outer_code", ",", "int", "opno", "ATTRIBUTE_UNUSED", ",", "int", "*", "total", ",", "bool", "speed", "ATTRIBUTE_UNUSED", ")", "{", "int", "code", "=", "GET_CODE", "(", "x", ")", ";", "switch", "(", "code", ")", "{", "case", "CONST_INT", ":", "if", "(", "(", "outer_code", "==", "PLUS", "||", "outer_code", "==", "MINUS", ")", "&&", "SIMM11", "(", "INTVAL", "(", "x", ")", ")", ")", "{", "*", "total", "=", "0", ";", "return", "true", ";", "}", "if", "(", "IMM16", "(", "INTVAL", "(", "x", ")", ")", ")", "{", "*", "total", "=", "outer_code", "==", "SET", "?", "0", ":", "COSTS_N_INSNS", "(", "1", ")", ";", "return", "true", ";", "}", "case", "CONST", ":", "case", "LABEL_REF", ":", "case", "SYMBOL_REF", ":", "*", "total", "=", "COSTS_N_INSNS", "(", "(", "epiphany_small16", "(", "x", ")", "?", "0", ":", "1", ")", "+", "(", "outer_code", "==", "SET", "?", "0", ":", "1", ")", ")", ";", "return", "true", ";", "case", "CONST_DOUBLE", ":", "{", "rtx", "high", ",", "low", ";", "split_double", "(", "x", ",", "&", "high", ",", "&", "low", ")", ";", "*", "total", "=", "COSTS_N_INSNS", "(", "!", "IMM16", "(", "INTVAL", "(", "high", ")", ")", "+", "!", "IMM16", "(", "INTVAL", "(", "low", ")", ")", ")", ";", "return", "true", ";", "}", "case", "ASHIFT", ":", "case", "ASHIFTRT", ":", "case", "LSHIFTRT", ":", "*", "total", "=", "COSTS_N_INSNS", "(", "1", ")", ";", "return", "true", ";", "case", "COMPARE", ":", "switch", "(", "mode", ")", "{", "case", "E_CC_N_NEmode", ":", "case", "E_CC_C_LTUmode", ":", "case", "E_CC_C_GTUmode", ":", "return", "true", ";", "default", ":", "return", "false", ";", "}", "case", "SET", ":", "{", "rtx", "src", "=", "SET_SRC", "(", "x", ")", ";", "if", "(", "BINARY_P", "(", "src", ")", ")", "*", "total", "=", "0", ";", "return", "false", ";", "}", "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": ["epiphany", "0", "0", "1", "0", "1", "0", "1", "1", "0"], "File": "epiphany", "Func": "epiphany_rtx_costs", "Target": "epiphany", "Target_Clf": "MPU", "Compiler_Type": "GCC", "Idx": 450, "Length": 269, "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", "(", "!", "aarch64_composite_type_p", "(", "type", ",", "mode", ")", "&&", "(", "GET_MODE_CLASS", "(", "mode", ")", "==", "MODE_VECTOR_INT", "||", "GET_MODE_CLASS", "(", "mode", ")", "==", "MODE_VECTOR_FLOAT", ")", ")", "size", "=", "GET_MODE_SIZE", "(", "mode", ")", ";", "return", "(", "size", "==", "8", "||", "size", "==", "16", ")", "?", "true", ":", "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", "8", "16"], "File": "aarch642", "Func": "aarch64_short_vector_p", "Target": "aarch64", "Target_Clf": "CPU", "Compiler_Type": "GCC", "Idx": 451, "Length": 85, "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": 452, "Length": 81, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "void", "WebAssemblyDAGToDAGISel", "::", "Select", "(", "SDNode", "*", "Node", ")", "{", "if", "(", "Node", "->", "isMachineOpcode", "(", ")", ")", "{", "DEBUG", "(", "errs", "(", ")", "<<", "\"== \"", ";", "Node", "->", "dump", "(", "CurDAG", ")", ";", "errs", "(", ")", "<<", "\"\\n\"", ")", ";", "Node", "->", "setNodeId", "(", "-", "1", ")", ";", "return", ";", "}", "EVT", "VT", "=", "Node", "->", "getValueType", "(", "0", ")", ";", "switch", "(", "Node", "->", "getOpcode", "(", ")", ")", "{", "default", ":", "break", ";", "(", "void", ")", "VT", ";", "}", "SelectCode", "(", "Node", ")", ";", "}", ""], "natrual_language": ["Main", "hook", "for", "targets", "to", "transform", "nodes", "into", "machine", "nodes", "."], "TS_V_token": ["WebAssembly", "WebAssembly", "\"== \"", "\"\\n\"", "1", "0"], "File": "WebAssemblyISelDAGToDAG24", "Func": "Select", "Target": "WebAssembly", "Target_Clf": "Virtual ISA", "Compiler_Type": "LLVM", "Idx": 453, "Length": 87, "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": 454, "Length": 29, "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", "::", "getAllOnes", "(", "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": "ARMISelLowering (2)5", "Func": "SimplifyDemandedBitsForTargetNode", "Target": "ARM", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 455, "Length": 201, "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": 456, "Length": 144, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "static", "void", "const_double_split", "(", "rtx", "x", ",", "HOST_WIDE_INT", "*", "p_high", ",", "HOST_WIDE_INT", "*", "p_low", ")", "{", "if", "(", "GET_CODE", "(", "x", ")", "==", "CONST_DOUBLE", ")", "{", "long", "t", "[", "2", "]", ";", "switch", "(", "GET_MODE", "(", "x", ")", ")", "{", "case", "E_DFmode", ":", "REAL_VALUE_TO_TARGET_DOUBLE", "(", "*", "CONST_DOUBLE_REAL_VALUE", "(", "x", ")", ",", "t", ")", ";", "*", "p_high", "=", "t", "[", "1", "]", ";", "*", "p_low", "=", "t", "[", "0", "]", ";", "return", ";", "case", "E_SFmode", ":", "REAL_VALUE_TO_TARGET_SINGLE", "(", "*", "CONST_DOUBLE_REAL_VALUE", "(", "x", ")", ",", "*", "p_high", ")", ";", "*", "p_low", "=", "0", ";", "return", ";", "case", "E_VOIDmode", ":", "case", "E_DImode", ":", "*", "p_high", "=", "CONST_DOUBLE_HIGH", "(", "x", ")", ";", "*", "p_low", "=", "CONST_DOUBLE_LOW", "(", "x", ")", ";", "return", ";", "default", ":", "break", ";", "}", "}", "fatal_insn", "(", "\"const_double_split got a bad insn:\"", ",", "x", ")", ";", "}", ""], "natrual_language": ["Return", "the", "high", "and", "low", "words", "of", "a", "CONST_DOUBLE"], "TS_V_token": ["v850", "2", "1", "0", "0", "\"const_double_split got a bad insn:\""], "File": "v850", "Func": "const_double_split", "Target": "v850", "Target_Clf": "MPU", "Compiler_Type": "GCC", "Idx": 457, "Length": 132, "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": 458, "Length": 25, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "BitVector", "getReservedRegs", "(", "const", "MachineFunction", "&", "MF", ")", "const", "override", "{", "assert", "(", "!", "\"Unimplemented\"", ")", ";", "return", "BitVector", "(", ")", ";", "}", ""], "natrual_language": ["getReservedRegs", "-", "Returns", "a", "bitset", "indexed", "by", "physical", "register", "number", "indicating", "if", "a", "register", "is", "a", "special", "register", "that", "has", "particular", "uses", "and", "should", "be", "considered", "unavailable", "at", "all", "times", ",", "e.g", "."], "TS_V_token": ["R600", "\"Unimplemented\""], "File": "AMDGPURegisterInfo", "Func": "getReservedRegs", "Target": "R600", "Target_Clf": "GPU", "Compiler_Type": "LLVM", "Idx": 459, "Length": 23, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "int", "avr_epilogue_uses", "(", "int", "regno", "ATTRIBUTE_UNUSED", ")", "{", "if", "(", "reload_completed", "&&", "cfun", "->", "machine", "&&", "(", "cfun", "->", "machine", "->", "is_interrupt", "||", "cfun", "->", "machine", "->", "is_signal", ")", ")", "return", "1", ";", "return", "0", ";", "}", ""], "natrual_language": ["Implement", "`", "EPILOGUE_USES", "'", "."], "TS_V_token": ["avr", "1", "0"], "File": "avr", "Func": "avr_epilogue_uses", "Target": "avr", "Target_Clf": "MPU", "Compiler_Type": "GCC", "Idx": 460, "Length": 37, "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": 461, "Length": 159, "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": 462, "Length": 13, "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": 463, "Length": 119, "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": 464, "Length": 55, "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": 465, "Length": 287, "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": 466, "Length": 38, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "void", "m32r_output_block_move", "(", "rtx", "insn", "ATTRIBUTE_UNUSED", ",", "rtx", "operands", "[", "]", ")", "{", "HOST_WIDE_INT", "bytes", "=", "INTVAL", "(", "operands", "[", "2", "]", ")", ";", "int", "first_time", ";", "int", "got_extra", "=", "0", ";", "gcc_assert", "(", "bytes", ">=", "1", "&&", "bytes", "<=", "MAX_MOVE_BYTES", ")", ";", "first_time", "=", "1", ";", "while", "(", "bytes", ">", "0", ")", "{", "if", "(", "bytes", ">=", "8", ")", "{", "if", "(", "first_time", ")", "{", "output_asm_insn", "(", "\"ld\\t%5, %p1\"", ",", "operands", ")", ";", "output_asm_insn", "(", "\"ld\\t%6, %p1\"", ",", "operands", ")", ";", "output_asm_insn", "(", "\"st\\t%5, @%0\"", ",", "operands", ")", ";", "output_asm_insn", "(", "\"st\\t%6, %s0\"", ",", "operands", ")", ";", "}", "else", "{", "output_asm_insn", "(", "\"ld\\t%5, %p1\"", ",", "operands", ")", ";", "output_asm_insn", "(", "\"ld\\t%6, %p1\"", ",", "operands", ")", ";", "output_asm_insn", "(", "\"st\\t%5, %s0\"", ",", "operands", ")", ";", "output_asm_insn", "(", "\"st\\t%6, %s0\"", ",", "operands", ")", ";", "}", "bytes", "-=", "8", ";", "}", "else", "if", "(", "bytes", ">=", "4", ")", "{", "if", "(", "bytes", ">", "4", ")", "got_extra", "=", "1", ";", "output_asm_insn", "(", "\"ld\\t%5, %p1\"", ",", "operands", ")", ";", "if", "(", "got_extra", ")", "output_asm_insn", "(", "\"ld\\t%6, %p1\"", ",", "operands", ")", ";", "if", "(", "first_time", ")", "output_asm_insn", "(", "\"st\\t%5, @%0\"", ",", "operands", ")", ";", "else", "output_asm_insn", "(", "\"st\\t%5, %s0\"", ",", "operands", ")", ";", "bytes", "-=", "4", ";", "}", "else", "{", "int", "dst_offset", "=", "first_time", "?", "0", ":", "4", ";", "int", "dst_inc_amount", "=", "dst_offset", "+", "bytes", "-", "4", ";", "int", "src_inc_amount", "=", "bytes", "-", "(", "got_extra", "?", "4", ":", "0", ")", ";", "int", "last_shift", ";", "rtx", "my_operands", "[", "3", "]", ";", "if", "(", "!", "got_extra", ")", "output_asm_insn", "(", "\"ld\\t%6, @%1\"", ",", "operands", ")", ";", "if", "(", "bytes", ">=", "2", ")", "{", "bytes", "-=", "2", ";", "output_asm_insn", "(", "\"sra3\\t%5, %6, #16\"", ",", "operands", ")", ";", "my_operands", "[", "0", "]", "=", "operands", "[", "5", "]", ";", "my_operands", "[", "1", "]", "=", "GEN_INT", "(", "dst_offset", ")", ";", "my_operands", "[", "2", "]", "=", "operands", "[", "0", "]", ";", "output_asm_insn", "(", "\"sth\\t%0, @(%1,%2)\"", ",", "my_operands", ")", ";", "if", "(", "bytes", ">", "0", ")", "{", "dst_offset", "+=", "2", ";", "last_shift", "=", "8", ";", "}", "}", "else", "last_shift", "=", "24", ";", "if", "(", "bytes", ">", "0", ")", "{", "my_operands", "[", "0", "]", "=", "operands", "[", "6", "]", ";", "my_operands", "[", "1", "]", "=", "GEN_INT", "(", "last_shift", ")", ";", "output_asm_insn", "(", "\"srai\\t%0, #%1\"", ",", "my_operands", ")", ";", "my_operands", "[", "0", "]", "=", "operands", "[", "6", "]", ";", "my_operands", "[", "1", "]", "=", "GEN_INT", "(", "dst_offset", ")", ";", "my_operands", "[", "2", "]", "=", "operands", "[", "0", "]", ";", "output_asm_insn", "(", "\"stb\\t%0, @(%1,%2)\"", ",", "my_operands", ")", ";", "}", "if", "(", "dst_inc_amount", "&&", "!", "find_reg_note", "(", "insn", ",", "REG_UNUSED", ",", "operands", "[", "0", "]", ")", ")", "{", "my_operands", "[", "0", "]", "=", "operands", "[", "0", "]", ";", "my_operands", "[", "1", "]", "=", "GEN_INT", "(", "dst_inc_amount", ")", ";", "output_asm_insn", "(", "\"addi\\t%0, #%1\"", ",", "my_operands", ")", ";", "}", "if", "(", "src_inc_amount", "&&", "!", "find_reg_note", "(", "insn", ",", "REG_UNUSED", ",", "operands", "[", "1", "]", ")", ")", "{", "my_operands", "[", "0", "]", "=", "operands", "[", "1", "]", ";", "my_operands", "[", "1", "]", "=", "GEN_INT", "(", "src_inc_amount", ")", ";", "output_asm_insn", "(", "\"addi\\t%0, #%1\"", ",", "my_operands", ")", ";", "}", "bytes", "=", "0", ";", "}", "first_time", "=", "0", ";", "}", "}", ""], "natrual_language": ["Emit", "load/stores", "for", "a", "small", "constant", "word", "aligned", "block_move", ".", "operands", "[", "0", "]", "is", "the", "memory", "address", "of", "the", "destination", ".", "operands", "[", "1", "]", "is", "the", "memory", "address", "of", "the", "source", ".", "operands", "[", "2", "]", "is", "the", "number", "of", "bytes", "to", "move", ".", "operands", "[", "3", "]", "is", "a", "temp", "register", ".", "operands", "[", "4", "]", "is", "a", "temp", "register", "."], "TS_V_token": ["m32r", "2", "0", "1", "1", "0", "8", "\"ld\\t%5, %p1\"", "\"ld\\t%6, %p1\"", "\"st\\t%5, @%0\"", "\"st\\t%6, %s0\"", "\"ld\\t%5, %p1\"", "\"ld\\t%6, %p1\"", "\"st\\t%5, %s0\"", "\"st\\t%6, %s0\"", "8", "4", "4", "1", "\"ld\\t%5, %p1\"", "\"ld\\t%6, %p1\"", "\"st\\t%5, @%0\"", "\"st\\t%5, %s0\"", "4", "0", "4", "4", "4", "0", "3", "\"ld\\t%6, @%1\"", "2", "2", "\"sra3\\t%5, %6, #16\"", "0", "5", "1", "2", "0", "\"sth\\t%0, @(%1,%2)\"", "0", "2", "8", "24", "0", "0", "6", "1", "\"srai\\t%0, #%1\"", "0", "6", "1", "2", "0", "\"stb\\t%0, @(%1,%2)\"", "0", "0", "0", "1", "\"addi\\t%0, #%1\"", "1", "0", "1", "1", "\"addi\\t%0, #%1\"", "0", "0"], "File": "m32r", "Func": "m32r_output_block_move", "Target": "m32r", "Target_Clf": "MPU", "Compiler_Type": "GCC", "Idx": 467, "Length": 497, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "static", "void", "alpha_setup_incoming_varargs", "(", "cumulative_args_t", "pcum", ",", "const", "function_arg_info", "&", "arg", ",", "int", "*", "pretend_size", ",", "int", "no_rtl", ")", "{", "CUMULATIVE_ARGS", "cum", "=", "*", "get_cumulative_args", "(", "pcum", ")", ";", "if", "(", "!", "TYPE_NO_NAMED_ARGS_STDARG_P", "(", "TREE_TYPE", "(", "current_function_decl", ")", ")", ")", "targetm", ".", "calls", ".", "function_arg_advance", "(", "pack_cumulative_args", "(", "&", "cum", ")", ",", "arg", ")", ";", "if", "(", "cum", ".", "num_args", "<", "6", ")", "{", "if", "(", "!", "no_rtl", ")", "{", "emit_move_insn", "(", "gen_rtx_REG", "(", "DImode", ",", "1", ")", ",", "virtual_incoming_args_rtx", ")", ";", "emit_insn", "(", "gen_arg_home", "(", ")", ")", ";", "}", "*", "pretend_size", "=", "7", "*", "UNITS_PER_WORD", ";", "}", "if", "(", "cum", ">=", "6", ")", "return", ";", "if", "(", "!", "no_rtl", ")", "{", "int", "count", ";", "alias_set_type", "set", "=", "get_varargs_alias_set", "(", ")", ";", "rtx", "tmp", ";", "count", "=", "cfun", "->", "va_list_gpr_size", "/", "UNITS_PER_WORD", ";", "if", "(", "count", ">", "6", "-", "cum", ")", "count", "=", "6", "-", "cum", ";", "gcc_assert", "(", "(", "VA_LIST_MAX_FPR_SIZE", "&", "3", ")", "==", "3", ")", ";", "if", "(", "cfun", "->", "va_list_fpr_size", "&", "1", ")", "{", "tmp", "=", "gen_rtx_MEM", "(", "BLKmode", ",", "plus_constant", "(", "Pmode", ",", "virtual_incoming_args_rtx", ",", "(", "cum", "+", "6", ")", "*", "UNITS_PER_WORD", ")", ")", ";", "MEM_NOTRAP_P", "(", "tmp", ")", "=", "1", ";", "set_mem_alias_set", "(", "tmp", ",", "set", ")", ";", "move_block_from_reg", "(", "16", "+", "cum", ",", "tmp", ",", "count", ")", ";", "}", "if", "(", "cfun", "->", "va_list_fpr_size", "&", "2", ")", "{", "tmp", "=", "gen_rtx_MEM", "(", "BLKmode", ",", "plus_constant", "(", "Pmode", ",", "virtual_incoming_args_rtx", ",", "cum", "*", "UNITS_PER_WORD", ")", ")", ";", "MEM_NOTRAP_P", "(", "tmp", ")", "=", "1", ";", "set_mem_alias_set", "(", "tmp", ",", "set", ")", ";", "move_block_from_reg", "(", "16", "+", "cum", "+", "TARGET_FPREGS", "*", "32", ",", "tmp", ",", "count", ")", ";", "}", "}", "*", "pretend_size", "=", "12", "*", "UNITS_PER_WORD", ";", "}", ""], "natrual_language": ["Perform", "any", "needed", "actions", "needed", "for", "a", "function", "that", "is", "receiving", "a", "variable", "number", "of", "arguments", "."], "TS_V_token": ["alpha", "6", "1", "7", "6", "6", "6", "3", "3", "1", "6", "1", "16", "2", "1", "16", "32", "12"], "File": "alpha1", "Func": "alpha_setup_incoming_varargs", "Target": "alpha", "Target_Clf": "MPU", "Compiler_Type": "GCC", "Idx": 468, "Length": 281, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "int", "m68hc11_memory_move_cost", "(", "enum", "machine_mode", "mode", ",", "enum", "reg_class", "class", ",", "int", "in", "ATTRIBUTE_UNUSED", ")", "{", "if", "(", "class", "<=", "H_REGS", "&&", "class", ">", "NO_REGS", ")", "{", "if", "(", "GET_MODE_SIZE", "(", "mode", ")", "<=", "2", ")", "return", "COSTS_N_INSNS", "(", "1", ")", "+", "(", "reload_completed", "|", "reload_in_progress", ")", ";", "else", "return", "COSTS_N_INSNS", "(", "2", ")", "+", "(", "reload_completed", "|", "reload_in_progress", ")", ";", "}", ""], "natrual_language": ["Cost", "of", "moving", "memory", "."], "TS_V_token": ["m68hc11", "2", "1", "2"], "File": "m68hc111", "Func": "m68hc11_memory_move_cost", "Target": "m68hc11", "Target_Clf": "MPU", "Compiler_Type": "GCC", "Idx": 469, "Length": 62, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "bool", "MCS51AsmParser", "::", "ParseInstruction", "(", "ParseInstructionInfo", "&", "Info", ",", "StringRef", "Mnemonic", ",", "SMLoc", "NameLoc", ",", "OperandVector", "&", "Operands", ")", "{", "Operands", ".", "push_back", "(", "MCS51Operand", "::", "CreateToken", "(", "Mnemonic", ",", "NameLoc", ")", ")", ";", "bool", "first", "=", "true", ";", "while", "(", "getLexer", "(", ")", ".", "isNot", "(", "AsmToken", "::", "EndOfStatement", ")", ")", "{", "if", "(", "!", "first", ")", "eatComma", "(", ")", ";", "first", "=", "false", ";", "auto", "MatchResult", "=", "MatchOperandParserImpl", "(", "Operands", ",", "Mnemonic", ")", ";", "if", "(", "MatchResult", "==", "MatchOperand_Success", ")", "{", "continue", ";", "}", "if", "(", "MatchResult", "==", "MatchOperand_ParseFail", ")", "{", "SMLoc", "Loc", "=", "getLexer", "(", ")", ".", "getLoc", "(", ")", ";", "Parser", ".", "eatToEndOfStatement", "(", ")", ";", "return", "Error", "(", "Loc", ",", "\"failed to parse register and immediate pair\"", ")", ";", "}", "if", "(", "parseOperand", "(", "Operands", ")", ")", "{", "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": ["MCS51", "MCS51", "MCS51Operand::CreateToken", "\"failed to parse register and immediate pair\"", "\"unexpected token in argument list\""], "File": "MCS51AsmParser", "Func": "ParseInstruction", "Target": "MCS51", "Target_Clf": "MPU", "Compiler_Type": "LLVM", "Idx": 470, "Length": 164, "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": 471, "Length": 45, "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": 472, "Length": 36, "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": 473, "Length": 79, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "static", "bool", "bpf_rtx_costs", "(", "rtx", "x", "ATTRIBUTE_UNUSED", ",", "enum", "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": ["Describe", "the", "relative", "costs", "of", "RTL", "expressions", ".", "Return", "true", "when", "all", "subexpressions", "of", "X", "have", "been", "processed", ",", "and", "false", "when", "`", "rtx_cost", "'", "should", "recurse", "."], "TS_V_token": ["bpf"], "File": "bpf", "Func": "bpf_rtx_costs", "Target": "bpf", "Target_Clf": "Virtual ISA", "Compiler_Type": "GCC", "Idx": 474, "Length": 35, "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": 475, "Length": 25, "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": 476, "Length": 181, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "bool", "M680x0InstrInfo", "::", "analyzeBranch", "(", "MachineBasicBlock", "&", "MBB", ",", "MachineBasicBlock", "*", "&", "TBB", ",", "MachineBasicBlock", "*", "&", "FBB", ",", "SmallVectorImpl", "<", "MachineOperand", ">", "&", "Cond", ",", "bool", "AllowModify", ")", "const", "{", "return", "AnalyzeBranchImpl", "(", "MBB", ",", "TBB", ",", "FBB", ",", "Cond", ",", "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": ["M680x0", "M680x0"], "File": "M680x0InstrInfo", "Func": "analyzeBranch", "Target": "M680x0", "Target_Clf": "MPU", "Compiler_Type": "LLVM", "Idx": 477, "Length": 46, "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": 478, "Length": 42, "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": 479, "Length": 138, "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": 480, "Length": 54, "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": 481, "Length": 270, "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": 482, "Length": 50, "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": 483, "Length": 38, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "void", "BTFTypeDeclTag", "::", "emitType", "(", "MCStreamer", "&", "OS", ")", "{", "BTFTypeBase", "::", "emitType", "(", "OS", ")", ";", "OS", ".", "emitInt32", "(", "Info", ")", ";", "}", ""], "natrual_language": ["Emit", "types", "for", "this", "BTF", "type", "entry", "."], "TS_V_token": ["BPF", "BTFTypeBase::emitType"], "File": "BTFDebug1", "Func": "emitType", "Target": "BPF", "Target_Clf": "Virtual ISA", "Compiler_Type": "LLVM", "Idx": 484, "Length": 25, "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": 485, "Length": 84, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "SDNode", "*", "MBlazeDAGToDAGISel", "::", "Select", "(", "SDNode", "*", "Node", ")", "{", "unsigned", "Opcode", "=", "Node", "->", "getOpcode", "(", ")", ";", "DebugLoc", "dl", "=", "Node", "->", "getDebugLoc", "(", ")", ";", "if", "(", "Node", "->", "isMachineOpcode", "(", ")", ")", "return", "NULL", ";", "switch", "(", "Opcode", ")", "{", "default", ":", "break", ";", "case", "ISD", "::", "GLOBAL_OFFSET_TABLE", ":", "return", "getGlobalBaseReg", "(", ")", ";", "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", "=", "MBlaze", "::", "ADDIK", ";", "if", "(", "Node", "->", "hasOneUse", "(", ")", ")", "return", "CurDAG", "->", "SelectNodeTo", "(", "Node", ",", "Opc", ",", "VT", ",", "TFI", ",", "imm", ")", ";", "return", "CurDAG", "->", "getMachineNode", "(", "Opc", ",", "dl", ",", "VT", ",", "TFI", ",", "imm", ")", ";", "}", "case", "MBlazeISD", "::", "JmpLink", ":", "{", "if", "(", "TM", ".", "getRelocationModel", "(", ")", "==", "Reloc", "::", "PIC_", ")", "{", "SDValue", "Chain", "=", "Node", "->", "getOperand", "(", "0", ")", ";", "SDValue", "Callee", "=", "Node", "->", "getOperand", "(", "1", ")", ";", "SDValue", "R20Reg", "=", "CurDAG", "->", "getRegister", "(", "MBlaze", "::", "R20", ",", "MVT", "::", "i32", ")", ";", "SDValue", "InFlag", "(", "0", ",", "0", ")", ";", "if", "(", "(", "isa", "<", "GlobalAddressSDNode", ">", "(", "Callee", ")", ")", "||", "(", "isa", "<", "ExternalSymbolSDNode", ">", "(", "Callee", ")", ")", ")", "{", "SDValue", "GPReg", "=", "CurDAG", "->", "getRegister", "(", "MBlaze", "::", "R15", ",", "MVT", "::", "i32", ")", ";", "SDValue", "Ops", "[", "]", "=", "{", "Callee", ",", "GPReg", ",", "Chain", "}", ";", "SDValue", "Load", "=", "SDValue", "(", "CurDAG", "->", "getMachineNode", "(", "MBlaze", "::", "LW", ",", "dl", ",", "MVT", "::", "i32", ",", "MVT", "::", "Other", ",", "Ops", ")", ",", "0", ")", ";", "Chain", "=", "Load", ".", "getValue", "(", "1", ")", ";", "Chain", "=", "CurDAG", "->", "getCopyToReg", "(", "Chain", ",", "dl", ",", "R20Reg", ",", "Load", ",", "InFlag", ")", ";", "}", "else", "Chain", "=", "CurDAG", "->", "getCopyToReg", "(", "Chain", ",", "dl", ",", "R20Reg", ",", "Callee", ",", "InFlag", ")", ";", "SDNode", "*", "ResNode", "=", "CurDAG", "->", "getMachineNode", "(", "MBlaze", "::", "BRLID", ",", "dl", ",", "MVT", "::", "Other", ",", "MVT", "::", "Glue", ",", "R20Reg", ",", "Chain", ")", ";", "Chain", "=", "SDValue", "(", "ResNode", ",", "0", ")", ";", "InFlag", "=", "SDValue", "(", "ResNode", ",", "1", ")", ";", "ReplaceUses", "(", "SDValue", "(", "Node", ",", "0", ")", ",", "Chain", ")", ";", "ReplaceUses", "(", "SDValue", "(", "Node", ",", "1", ")", ",", "InFlag", ")", ";", "return", "ResNode", ";", "}", "}", "}", "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": ["MBlaze", "MBlaze", "ISD::GLOBAL_OFFSET_TABLE", "ISD::FrameIndex", "0", "MVT::i32", "0", "MBlaze::ADDIK", "MBlazeISD::JmpLink", "0", "1", "MBlaze::R20", "MVT::i32", "0", "0", "MBlaze::R15", "MVT::i32", "MBlaze::LW", "MVT::i32", "MVT::Other", "0", "1", "MBlaze::BRLID", "MVT::Other", "MVT::Glue", "0", "1", "0", "1", "\"=> \"", "\"\\n\""], "File": "MBlazeISelDAGToDAG4", "Func": "Select", "Target": "MBlaze", "Target_Clf": "MPU", "Compiler_Type": "LLVM", "Idx": 486, "Length": 490, "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": ["RI5CY", "RISCV", "\".sdata\"", "\".sbss\""], "File": "RISCVTargetObjectFile", "Func": "Initialize", "Target": "RI5CY", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 487, "Length": 71, "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": 488, "Length": 112, "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": 489, "Length": 314, "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": 490, "Length": 66, "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": 491, "Length": 428, "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": 492, "Length": 29, "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": 493, "Length": 19, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "bool", "isMem", "(", ")", "const", "override", "{", "llvm_unreachable", "(", "\"No isMem\"", ")", ";", "}", ""], "natrual_language": ["isMem", "-", "Is", "this", "a", "memory", "operand", "?"], "TS_V_token": ["Hexagon", "\"No isMem\""], "File": "HexagonAsmParser", "Func": "isMem", "Target": "Hexagon", "Target_Clf": "DSP", "Compiler_Type": "LLVM", "Idx": 494, "Length": 13, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "bool", "AMDGPULibFunc", "::", "parse", "(", "StringRef", "FuncName", ",", "AMDGPULibFunc", "&", "F", ")", "{", "if", "(", "FuncName", ".", "empty", "(", ")", ")", "{", "F", ".", "Impl", "=", "std", "::", "unique_ptr", "<", "AMDGPULibFuncImpl", ">", "(", ")", ";", "return", "false", ";", "}", "if", "(", "eatTerm", "(", "FuncName", ",", "\"_Z\"", ")", ")", "F", ".", "Impl", "=", "make_unique", "<", "AMDGPUMangledLibFunc", ">", "(", ")", ";", "else", "F", ".", "Impl", "=", "make_unique", "<", "AMDGPUUnmangledLibFunc", ">", "(", ")", ";", "if", "(", "F", ".", "Impl", "->", "parseFuncName", "(", "FuncName", ")", ")", "return", "true", ";", "F", ".", "Impl", "=", "std", "::", "unique_ptr", "<", "AMDGPULibFuncImpl", ">", "(", ")", ";", "return", "false", ";", "}", ""], "natrual_language": ["Parses", "just-constructed", "SpecialCaseList", "entries", "from", "a", "memory", "buffer", "."], "TS_V_token": ["AMDGPU", "AMDGPU", "AMDGPU", "AMDGPU", "\"_Z\"", "AMDGPU", "AMDGPU", "AMDGPU"], "File": "AMDGPULibFunc", "Func": "parse", "Target": "AMDGPU", "Target_Clf": "GPU", "Compiler_Type": "LLVM", "Idx": 495, "Length": 102, "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": 496, "Length": 10, "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": 497, "Length": 27, "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": 498, "Length": 190, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "SDValue", "SITargetLowering", "::", "LowerOperation", "(", "SDValue", "Op", ",", "SelectionDAG", "&", "DAG", ")", "const", "{", "switch", "(", "Op", ".", "getOpcode", "(", ")", ")", "{", "default", ":", "return", "AMDGPUTargetLowering", "::", "LowerOperation", "(", "Op", ",", "DAG", ")", ";", "case", "ISD", "::", "BRCOND", ":", "return", "LowerBRCOND", "(", "Op", ",", "DAG", ")", ";", "case", "ISD", "::", "LOAD", ":", "{", "SDValue", "Result", "=", "LowerLOAD", "(", "Op", ",", "DAG", ")", ";", "assert", "(", "(", "!", "Result", ".", "getNode", "(", ")", "||", "Result", ".", "getNode", "(", ")", "->", "getNumValues", "(", ")", "==", "2", ")", "&&", "\"Load should return a value and a chain\"", ")", ";", "return", "Result", ";", "}", "case", "ISD", "::", "FSIN", ":", "case", "ISD", "::", "FCOS", ":", "return", "LowerTrig", "(", "Op", ",", "DAG", ")", ";", "case", "ISD", "::", "SELECT", ":", "return", "LowerSELECT", "(", "Op", ",", "DAG", ")", ";", "case", "ISD", "::", "FDIV", ":", "return", "LowerFDIV", "(", "Op", ",", "DAG", ")", ";", "case", "ISD", "::", "ATOMIC_CMP_SWAP", ":", "return", "LowerATOMIC_CMP_SWAP", "(", "Op", ",", "DAG", ")", ";", "case", "ISD", "::", "STORE", ":", "return", "LowerSTORE", "(", "Op", ",", "DAG", ")", ";", "case", "ISD", "::", "GlobalAddress", ":", "{", "MachineFunction", "&", "MF", "=", "DAG", ".", "getMachineFunction", "(", ")", ";", "SIMachineFunctionInfo", "*", "MFI", "=", "MF", ".", "getInfo", "<", "SIMachineFunctionInfo", ">", "(", ")", ";", "return", "LowerGlobalAddress", "(", "MFI", ",", "Op", ",", "DAG", ")", ";", "}", "case", "ISD", "::", "INTRINSIC_WO_CHAIN", ":", "return", "LowerINTRINSIC_WO_CHAIN", "(", "Op", ",", "DAG", ")", ";", "case", "ISD", "::", "INTRINSIC_W_CHAIN", ":", "return", "LowerINTRINSIC_W_CHAIN", "(", "Op", ",", "DAG", ")", ";", "case", "ISD", "::", "INTRINSIC_VOID", ":", "return", "LowerINTRINSIC_VOID", "(", "Op", ",", "DAG", ")", ";", "case", "ISD", "::", "ADDRSPACECAST", ":", "return", "lowerADDRSPACECAST", "(", "Op", ",", "DAG", ")", ";", "case", "ISD", "::", "INSERT_VECTOR_ELT", ":", "return", "lowerINSERT_VECTOR_ELT", "(", "Op", ",", "DAG", ")", ";", "case", "ISD", "::", "EXTRACT_VECTOR_ELT", ":", "return", "lowerEXTRACT_VECTOR_ELT", "(", "Op", ",", "DAG", ")", ";", "case", "ISD", "::", "FP_ROUND", ":", "return", "lowerFP_ROUND", "(", "Op", ",", "DAG", ")", ";", "}", "return", "SDValue", "(", ")", ";", "}", ""], "natrual_language": ["LowerOperation", "-", "Provide", "custom", "lowering", "hooks", "for", "some", "operations", "."], "TS_V_token": ["AMDGPU", "SI", "AMDGPU", "ISD::BRCOND", "ISD::LOAD", "2", "\"Load should return a value and a chain\"", "ISD::FSIN", "ISD::FCOS", "ISD::SELECT", "ISD::FDIV", "ISD::ATOMIC_CMP_SWAP", "ISD::STORE", "ISD::GlobalAddress", "SI", "SI", "ISD::INTRINSIC_WO_CHAIN", "SI", "ISD::INTRINSIC_W_CHAIN", "SI", "ISD::INTRINSIC_VOID", "SI", "ISD::ADDRSPACECAST", "ISD::INSERT_VECTOR_ELT", "ISD::EXTRACT_VECTOR_ELT", "ISD::FP_ROUND"], "File": "SIISelLowering123", "Func": "LowerOperation", "Target": "AMDGPU", "Target_Clf": "GPU", "Compiler_Type": "LLVM", "Idx": 499, "Length": 302, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "bool", "addGCPasses", "(", ")", "override", "{", "return", "false", ";", "}", ""], "natrual_language": ["addGCPasses", "-", "Add", "late", "codegen", "passes", "that", "analyze", "code", "for", "garbage", "collection", "."], "TS_V_token": ["TPC"], "File": "TPCTargetMachine", "Func": "addGCPasses", "Target": "TPC", "Target_Clf": "Virtual ISA", "Compiler_Type": "LLVM", "Idx": 500, "Length": 10, "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": 501, "Length": 210, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "AMDGPUSubtarget", "&", "AMDGPUSubtarget", "::", "initializeSubtargetDependencies", "(", "const", "Triple", "&", "TT", ",", "StringRef", "GPU", ",", "StringRef", "FS", ")", "{", "SmallString", "<", "256", ">", "FullFS", "(", "\"+promote-alloca,+fp64-fp16-denormals,+load-store-opt,\"", ")", ";", "if", "(", "isAmdHsaOS", "(", ")", ")", "FullFS", "+=", "\"+flat-for-global,+unaligned-buffer-access,+trap-handler,\"", ";", "FullFS", "+=", "FS", ";", "ParseSubtargetFeatures", "(", "GPU", ",", "FullFS", ")", ";", "if", "(", "!", "hasAddr64", "(", ")", "&&", "!", "FS", ".", "contains", "(", "\"flat-for-global\"", ")", ")", "{", "FlatForGlobal", "=", "true", ";", "}", "if", "(", "getGeneration", "(", ")", "<=", "AMDGPUSubtarget", "::", "NORTHERN_ISLANDS", ")", "{", "FP64FP16Denormals", "=", "false", ";", "FP32Denormals", "=", "false", ";", "}", "if", "(", "MaxPrivateElementSize", "==", "0", ")", "MaxPrivateElementSize", "=", "4", ";", "return", "*", "this", ";", "}", ""], "natrual_language": ["initializeSubtargetDependencies", "-", "Initializes", "using", "a", "CPU", ",", "a", "TuneCPU", ",", "and", "feature", "string", "so", "that", "we", "can", "use", "initializer", "lists", "for", "subtarget", "initialization", "."], "TS_V_token": ["AMDGPU", "AMDGPU", "AMDGPU", "256", "\"+promote-alloca,+fp64-fp16-denormals,+load-store-opt,\"", "\"+flat-for-global,+unaligned-buffer-access,+trap-handler,\"", "\"flat-for-global\"", "AMDGPU", "0", "4"], "File": "AMDGPUSubtarget110", "Func": "initializeSubtargetDependencies", "Target": "AMDGPU", "Target_Clf": "GPU", "Compiler_Type": "LLVM", "Idx": 502, "Length": 104, "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": 503, "Length": 50, "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": 504, "Length": 49, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "void", "HexagonTargetObjectFile", "::", "Initialize", "(", "MCContext", "&", "Ctx", ",", "const", "TargetMachine", "&", "TM", ")", "{", "TargetLoweringObjectFileELF", "::", "Initialize", "(", "Ctx", ",", "TM", ")", ";", "SmallDataSection", "=", "getContext", "(", ")", ".", "getELFSection", "(", "\".sdata\"", ",", "ELF", "::", "SHT_PROGBITS", ",", "ELF", "::", "SHF_WRITE", "|", "ELF", "::", "SHF_ALLOC", "|", "ELF", "::", "SHF_HEX_GPREL", ")", ";", "SmallBSSSection", "=", "getContext", "(", ")", ".", "getELFSection", "(", "\".sbss\"", ",", "ELF", "::", "SHT_NOBITS", ",", "ELF", "::", "SHF_WRITE", "|", "ELF", "::", "SHF_ALLOC", "|", "ELF", "::", "SHF_HEX_GPREL", ")", ";", "}", ""], "natrual_language": ["This", "method", "must", "be", "called", "before", "any", "actual", "lowering", "is", "done", "."], "TS_V_token": ["Hexagon", "Hexagon", "\".sdata\"", "\".sbss\""], "File": "HexagonTargetObjectFile (2)1", "Func": "Initialize", "Target": "Hexagon", "Target_Clf": "DSP", "Compiler_Type": "LLVM", "Idx": 505, "Length": 79, "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": 506, "Length": 22, "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": 507, "Length": 188, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "bool", "AMDGPUPassConfig", "::", "addInstSelector", "(", ")", "{", "addPass", "(", "createAMDGPUISelDag", "(", "getAMDGPUTargetMachine", "(", ")", ")", ")", ";", "const", "AMDGPUSubtarget", "&", "ST", "=", "TM", "->", "getSubtarget", "<", "AMDGPUSubtarget", ">", "(", ")", ";", "if", "(", "ST", ".", "getGeneration", "(", ")", "<=", "AMDGPUSubtarget", "::", "NORTHERN_ISLANDS", ")", "{", "addPass", "(", "createAMDGPUIndirectAddressingPass", "(", "*", "TM", ")", ")", ";", "}", "return", "false", ";", "}", ""], "natrual_language": ["addInstSelector", "-", "This", "method", "should", "install", "an", "instruction", "selector", "pass", ",", "which", "converts", "from", "LLVM", "code", "to", "machine", "instructions", "."], "TS_V_token": ["R600"], "File": "AMDGPUTargetMachine109", "Func": "addInstSelector", "Target": "R600", "Target_Clf": "GPU", "Compiler_Type": "LLVM", "Idx": 508, "Length": 58, "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": 509, "Length": 106, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "Align", "getStackAlignment", "(", ")", "const", "{", "return", "Align", "(", "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": ["M68k"], "File": "M68kSubtarget", "Func": "getStackAlignment", "Target": "M68k", "Target_Clf": "MPU", "Compiler_Type": "LLVM", "Idx": 510, "Length": 13, "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": 511, "Length": 502, "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": 512, "Length": 154, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "void", "getAnalysisUsage", "(", "AnalysisUsage", "&", "AU", ")", "const", "override", "{", "AU", ".", "addRequired", "<", "LoopInfoWrapperPass", ">", "(", ")", ";", "AU", ".", "addRequired", "<", "DominatorTreeWrapperPass", ">", "(", ")", ";", "AU", ".", "addRequired", "<", "LegacyDivergenceAnalysis", ">", "(", ")", ";", "AU", ".", "addPreserved", "<", "DominatorTreeWrapperPass", ">", "(", ")", ";", "AU", ".", "addRequired", "<", "TargetPassConfig", ">", "(", ")", ";", "FunctionPass", "::", "getAnalysisUsage", "(", "AU", ")", ";", "}", ""], "natrual_language": ["getAnalysisUsage", "-", "Subclasses", "that", "override", "getAnalysisUsage", "must", "call", "this", "."], "TS_V_token": ["AMDGPU"], "File": "SIAnnotateControlFlow21", "Func": "getAnalysisUsage", "Target": "AMDGPU", "Target_Clf": "GPU", "Compiler_Type": "LLVM", "Idx": 513, "Length": 63, "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": 514, "Length": 229, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "bool", "MSP430AsmParser", "::", "ParseInstruction", "(", "ParseInstructionInfo", "&", "Info", ",", "StringRef", "Name", ",", "SMLoc", "NameLoc", ",", "OperandVector", "&", "Operands", ")", "{", "if", "(", "Name", ".", "endswith_insensitive", "(", "\".w\"", ")", ")", "Name", "=", "Name", ".", "drop_back", "(", "2", ")", ";", "if", "(", "!", "parseJccInstruction", "(", "Info", ",", "Name", ",", "NameLoc", ",", "Operands", ")", ")", "return", "false", ";", "Operands", ".", "push_back", "(", "MSP430Operand", "::", "CreateToken", "(", "Name", ",", "NameLoc", ")", ")", ";", "if", "(", "getLexer", "(", ")", ".", "is", "(", "AsmToken", "::", "EndOfStatement", ")", ")", "return", "false", ";", "if", "(", "ParseOperand", "(", "Operands", ")", ")", "return", "true", ";", "if", "(", "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": ["MSP430", "MSP430", "\".w\"", "2", "MSP430Operand::CreateToken", "\"unexpected token\""], "File": "MSP430AsmParser2", "Func": "ParseInstruction", "Target": "MSP430", "Target_Clf": "MPU", "Compiler_Type": "LLVM", "Idx": 515, "Length": 182, "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": 516, "Length": 89, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "void", "PPCAsmPrinter", "::", "EmitInstruction", "(", "const", "MachineInstr", "*", "MI", ")", "{", "SmallString", "<", "128", ">", "Str", ";", "raw_svector_ostream", "O", "(", "Str", ")", ";", "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", ";", "OutStreamer", ".", "EmitRawText", "(", "O", ".", "str", "(", ")", ")", ";", "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", ")", ";", "OutStreamer", ".", "EmitRawText", "(", "O", ".", "str", "(", ")", ")", ";", "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", ";", "OutStreamer", ".", "EmitRawText", "(", "O", ".", "str", "(", ")", ")", ";", "return", ";", "}", "}", "printInstruction", "(", "MI", ",", "O", ")", ";", "OutStreamer", ".", "EmitRawText", "(", "O", ".", "str", "(", ")", ")", ";", "}", ""], "natrual_language": ["EmitInstruction", "-", "This", "callback", "is", "invoked", "when", "an", "instruction", "is", "emitted", ",", "to", "advance", "the", "hazard", "state", "."], "TS_V_token": ["PowerPC", "PPC", "128", "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": "PPCAsmPrinter11", "Func": "EmitInstruction", "Target": "PowerPC", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 517, "Length": 409, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "static", "void", "s390_dump_pool", "(", "struct", "constant_pool", "*", "pool", ",", "bool", "remote_label", ")", "{", "struct", "constant", "*", "c", ";", "rtx_insn", "*", "insn", "=", "pool", "->", "pool_insn", ";", "int", "i", ";", "if", "(", "TARGET_CPU_ZARCH", ")", "{", "insn", "=", "emit_insn_after", "(", "gen_pool_section_start", "(", ")", ",", "insn", ")", ";", "INSN_ADDRESSES_NEW", "(", "insn", ",", "-", "1", ")", ";", "}", "if", "(", "TARGET_CPU_ZARCH", ")", "insn", "=", "emit_insn_after", "(", "gen_pool_align", "(", "GEN_INT", "(", "8", ")", ")", ",", "insn", ")", ";", "else", "insn", "=", "emit_insn_after", "(", "gen_pool_align", "(", "GEN_INT", "(", "4", ")", ")", ",", "insn", ")", ";", "INSN_ADDRESSES_NEW", "(", "insn", ",", "-", "1", ")", ";", "if", "(", "!", "remote_label", ")", "{", "insn", "=", "emit_label_after", "(", "pool", "->", "label", ",", "insn", ")", ";", "INSN_ADDRESSES_NEW", "(", "insn", ",", "-", "1", ")", ";", "}", "for", "(", "i", "=", "0", ";", "i", "<", "NR_C_MODES", ";", "i", "++", ")", "for", "(", "c", "=", "pool", "->", "constants", "[", "i", "]", ";", "c", ";", "c", "=", "c", "->", "next", ")", "{", "rtx", "value", "=", "copy_rtx", "(", "c", "->", "value", ")", ";", "if", "(", "GET_CODE", "(", "value", ")", "==", "CONST", "&&", "GET_CODE", "(", "XEXP", "(", "value", ",", "0", ")", ")", "==", "UNSPEC", "&&", "XINT", "(", "XEXP", "(", "value", ",", "0", ")", ",", "1", ")", "==", "UNSPEC_LTREL_OFFSET", "&&", "XVECLEN", "(", "XEXP", "(", "value", ",", "0", ")", ",", "0", ")", "==", "1", ")", "value", "=", "s390_pool_offset", "(", "pool", ",", "XVECEXP", "(", "XEXP", "(", "value", ",", "0", ")", ",", "0", ",", "0", ")", ")", ";", "insn", "=", "emit_label_after", "(", "c", "->", "label", ",", "insn", ")", ";", "INSN_ADDRESSES_NEW", "(", "insn", ",", "-", "1", ")", ";", "value", "=", "gen_rtx_UNSPEC_VOLATILE", "(", "constant_modes", "[", "i", "]", ",", "gen_rtvec", "(", "1", ",", "value", ")", ",", "UNSPECV_POOL_ENTRY", ")", ";", "insn", "=", "emit_insn_after", "(", "value", ",", "insn", ")", ";", "INSN_ADDRESSES_NEW", "(", "insn", ",", "-", "1", ")", ";", "}", "insn", "=", "emit_insn_after", "(", "gen_pool_align", "(", "GEN_INT", "(", "2", ")", ")", ",", "insn", ")", ";", "INSN_ADDRESSES_NEW", "(", "insn", ",", "-", "1", ")", ";", "for", "(", "c", "=", "pool", "->", "execute", ";", "c", ";", "c", "=", "c", "->", "next", ")", "{", "insn", "=", "emit_label_after", "(", "c", "->", "label", ",", "insn", ")", ";", "INSN_ADDRESSES_NEW", "(", "insn", ",", "-", "1", ")", ";", "insn", "=", "emit_insn_after", "(", "s390_execute_target", "(", "c", "->", "value", ")", ",", "insn", ")", ";", "INSN_ADDRESSES_NEW", "(", "insn", ",", "-", "1", ")", ";", "}", "if", "(", "TARGET_CPU_ZARCH", ")", "{", "insn", "=", "emit_insn_after", "(", "gen_pool_section_end", "(", ")", ",", "insn", ")", ";", "INSN_ADDRESSES_NEW", "(", "insn", ",", "-", "1", ")", ";", "}", "insn", "=", "emit_barrier_after", "(", "insn", ")", ";", "INSN_ADDRESSES_NEW", "(", "insn", ",", "-", "1", ")", ";", "remove_insn", "(", "pool", "->", "pool_insn", ")", ";", "}", ""], "natrual_language": ["Dump", "out", "the", "constants", "in", "POOL", ".", "If", "REMOTE_LABEL", "is", "true", ",", "do", "not", "emit", "the", "pool", "base", "label", "."], "TS_V_token": ["s390", "1", "8", "4", "1", "1", "0", "0", "0", "1", "0", "0", "1", "0", "0", "0", "1", "1", "1", "2", "1", "1", "1", "1", "1"], "File": "s3904", "Func": "s390_dump_pool", "Target": "s390", "Target_Clf": "MPU", "Compiler_Type": "GCC", "Idx": 518, "Length": 422, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "bool", "R600VectorRegMerger", "::", "runOnMachineFunction", "(", "MachineFunction", "&", "Fn", ")", "{", "if", "(", "skipFunction", "(", "*", "Fn", ".", "getFunction", "(", ")", ")", ")", "return", "false", ";", "const", "R600Subtarget", "&", "ST", "=", "Fn", ".", "getSubtarget", "<", "R600Subtarget", ">", "(", ")", ";", "TII", "=", "ST", ".", "getInstrInfo", "(", ")", ";", "MRI", "=", "&", "Fn", ".", "getRegInfo", "(", ")", ";", "for", "(", "MachineFunction", "::", "iterator", "MBB", "=", "Fn", ".", "begin", "(", ")", ",", "MBBe", "=", "Fn", ".", "end", "(", ")", ";", "MBB", "!=", "MBBe", ";", "++", "MBB", ")", "{", "MachineBasicBlock", "*", "MB", "=", "&", "*", "MBB", ";", "PreviousRegSeq", ".", "clear", "(", ")", ";", "PreviousRegSeqByReg", ".", "clear", "(", ")", ";", "PreviousRegSeqByUndefCount", ".", "clear", "(", ")", ";", "for", "(", "MachineBasicBlock", "::", "iterator", "MII", "=", "MB", "->", "begin", "(", ")", ",", "MIIE", "=", "MB", "->", "end", "(", ")", ";", "MII", "!=", "MIIE", ";", "++", "MII", ")", "{", "MachineInstr", "&", "MI", "=", "*", "MII", ";", "if", "(", "MI", ".", "getOpcode", "(", ")", "!=", "AMDGPU", "::", "REG_SEQUENCE", ")", "{", "if", "(", "TII", "->", "get", "(", "MI", ".", "getOpcode", "(", ")", ")", ".", "TSFlags", "&", "R600_InstFlag", "::", "TEX_INST", ")", "{", "unsigned", "Reg", "=", "MI", ".", "getOperand", "(", "1", ")", ".", "getReg", "(", ")", ";", "for", "(", "MachineRegisterInfo", "::", "def_instr_iterator", "It", "=", "MRI", "->", "def_instr_begin", "(", "Reg", ")", ",", "E", "=", "MRI", "->", "def_instr_end", "(", ")", ";", "It", "!=", "E", ";", "++", "It", ")", "{", "RemoveMI", "(", "&", "(", "*", "It", ")", ")", ";", "}", "}", "continue", ";", "}", "RegSeqInfo", "RSI", "(", "*", "MRI", ",", "&", "MI", ")", ";", "unsigned", "Reg", "=", "MI", ".", "getOperand", "(", "0", ")", ".", "getReg", "(", ")", ";", "if", "(", "!", "areAllUsesSwizzeable", "(", "Reg", ")", ")", "continue", ";", "DEBUG", "(", "{", "dbgs", "(", ")", "<<", "\"Trying to optimize \"", ";", "MI", ".", "dump", "(", ")", ";", "}", ")", ";", "RegSeqInfo", "CandidateRSI", ";", "std", "::", "vector", "<", "std", "::", "pair", "<", "unsigned", ",", "unsigned", ">>", "RemapChan", ";", "DEBUG", "(", "dbgs", "(", ")", "<<", "\"Using common slots...\\n\"", ";", ")", ";", "if", "(", "tryMergeUsingCommonSlot", "(", "RSI", ",", "CandidateRSI", ",", "RemapChan", ")", ")", "{", "RemoveMI", "(", "CandidateRSI", ".", "Instr", ")", ";", "MII", "=", "RebuildVector", "(", "&", "RSI", ",", "&", "CandidateRSI", ",", "RemapChan", ")", ";", "trackRSI", "(", "RSI", ")", ";", "continue", ";", "}", "DEBUG", "(", "dbgs", "(", ")", "<<", "\"Using free slots...\\n\"", ";", ")", ";", "RemapChan", ".", "clear", "(", ")", ";", "if", "(", "tryMergeUsingFreeSlot", "(", "RSI", ",", "CandidateRSI", ",", "RemapChan", ")", ")", "{", "RemoveMI", "(", "CandidateRSI", ".", "Instr", ")", ";", "MII", "=", "RebuildVector", "(", "&", "RSI", ",", "&", "CandidateRSI", ",", "RemapChan", ")", ";", "trackRSI", "(", "RSI", ")", ";", "continue", ";", "}", "trackRSI", "(", "RSI", ")", ";", "}", "}", ""], "natrual_language": ["runOnMachineFunction", "-", "Emit", "the", "function", "body", "."], "TS_V_token": ["AMDGPU", "R600", "R600", "R600", "AMDGPU::REG_SEQUENCE", "R600_InstFlag::TEX_INST", "1", "SI", "0", "\"Trying to optimize \"", "SI", "\"Using common slots...\\n\"", "SI", "SI", "SI", "SI", "SI", "SI", "SI", "\"Using free slots...\\n\"", "SI", "SI", "SI", "SI", "SI", "SI", "SI", "SI", "SI"], "File": "R600OptimizeVectorRegisters24", "Func": "runOnMachineFunction", "Target": "AMDGPU", "Target_Clf": "GPU", "Compiler_Type": "LLVM", "Idx": 519, "Length": 420, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "bool", "SPIRVPassConfig", "::", "addRegBankSelect", "(", ")", "{", "disablePass", "(", "&", "RegBankSelect", "::", "ID", ")", ";", "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": ["SPIRV", "SPIRV"], "File": "SPIRVTargetMachine", "Func": "addRegBankSelect", "Target": "SPIRV", "Target_Clf": "Virtual ISA", "Compiler_Type": "LLVM", "Idx": 520, "Length": 19, "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": 521, "Length": 56, "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": 522, "Length": 67, "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": 523, "Length": 254, "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": 524, "Length": 110, "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": 525, "Length": 273, "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": 526, "Length": 235, "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": 527, "Length": 76, "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": 528, "Length": 134, "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": 529, "Length": 13, "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": 530, "Length": 54, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "MachineBasicBlock", "*", "GBZ80TargetLowering", "::", "EmitInstrWithCustomInserter", "(", "MachineInstr", "*", "MI", ",", "MachineBasicBlock", "*", "MBB", ")", "const", "{", "unsigned", "Opc", "=", "MI", "->", "getOpcode", "(", ")", ";", "switch", "(", "Opc", ")", "{", "case", "GBZ80", "::", "SELECT8", ":", "case", "GBZ80", "::", "SELECT16", ":", "return", "EmitSelectInstr", "(", "MI", ",", "MBB", ")", ";", "case", "GBZ80", "::", "SHL8", ":", "case", "GBZ80", "::", "LSHR8", ":", "case", "GBZ80", "::", "ASHR8", ":", "case", "GBZ80", "::", "SHL16", ":", "case", "GBZ80", "::", "LSHR16", ":", "case", "GBZ80", "::", "ASHR16", ":", "return", "EmitShiftInstr", "(", "MI", ",", "MBB", ")", ";", "default", ":", "llvm_unreachable", "(", "\"Invalid Custom Inserter Instruction\"", ")", ";", "}", "}", ""], "natrual_language": ["This", "method", "should", "be", "implemented", "by", "targets", "that", "mark", "instructions", "with", "the", "'usesCustomInserter", "'", "flag", "."], "TS_V_token": ["GBZ80", "GB", "GBZ80::SELECT8", "GBZ80::SELECT16", "GBZ80::SHL8", "GBZ80::LSHR8", "GBZ80::ASHR8", "GBZ80::SHL16", "GBZ80::LSHR16", "GBZ80::ASHR16", "\"Invalid Custom Inserter Instruction\""], "File": "GBZ80ISelLowering (2)", "Func": "EmitInstrWithCustomInserter", "Target": "GBZ80", "Target_Clf": "MPU", "Compiler_Type": "LLVM", "Idx": 531, "Length": 95, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "static", "void", "replace_constant_pool_ref", "(", "rtx_insn", "*", "insn", ",", "rtx", "ref", ",", "rtx", "offset", ")", "{", "if", "(", "s390_safe_relative_long_p", "(", "insn", ")", ")", "return", ";", "replace_constant_pool_ref_1", "(", "&", "PATTERN", "(", "insn", ")", ",", "ref", ",", "offset", ")", ";", "}", ""], "natrual_language": ["Replace", "every", "reference", "to", "the", "annotated", "literal", "pool", "symbol", "REF", "in", "X", "by", "its", "base", "plus", "OFFSET", "."], "TS_V_token": ["s390"], "File": "s390", "Func": "replace_constant_pool_ref", "Target": "s390", "Target_Clf": "MPU", "Compiler_Type": "GCC", "Idx": 532, "Length": 38, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "bool", "MSP430TargetLowering", "::", "shouldAvoidTransformToShift", "(", "EVT", "VT", ",", "unsigned", "Amount", ")", "const", "{", "return", "!", "(", "Amount", "==", "8", "||", "Amount", "==", "9", "||", "Amount", "<=", "2", ")", ";", "}", ""], "natrual_language": ["Return", "true", "if", "creating", "a", "shift", "of", "the", "type", "by", "the", "given", "amount", "is", "not", "profitable", "."], "TS_V_token": ["MSP430", "MSP430", "8", "9", "2"], "File": "MSP430ISelLowering (2)1", "Func": "shouldAvoidTransformToShift", "Target": "MSP430", "Target_Clf": "MPU", "Compiler_Type": "LLVM", "Idx": 533, "Length": 30, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "static", "rtx_insn", "*", "arc_active_insn", "(", "rtx_insn", "*", "insn", ")", "{", "while", "(", "insn", ")", "{", "insn", "=", "NEXT_INSN", "(", "insn", ")", ";", "if", "(", "insn", "==", "0", "||", "(", "active_insn_p", "(", "insn", ")", "&&", "NONDEBUG_INSN_P", "(", "insn", ")", "&&", "!", "NOTE_P", "(", "insn", ")", "&&", "GET_CODE", "(", "PATTERN", "(", "insn", ")", ")", "!=", "UNSPEC_VOLATILE", "&&", "GET_CODE", "(", "PATTERN", "(", "insn", ")", ")", "!=", "PARALLEL", ")", ")", "break", ";", "}", "return", "insn", ";", "}", ""], "natrual_language": ["Return", "the", "next", "active", "insn", ",", "skiping", "the", "inline", "assembly", "code", "."], "TS_V_token": ["arc", "0"], "File": "arc", "Func": "arc_active_insn", "Target": "arc", "Target_Clf": "MPU", "Compiler_Type": "GCC", "Idx": 534, "Length": 73, "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": 535, "Length": 147, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "SDValue", "AMDGPUTargetLowering", "::", "splitBinaryBitConstantOpImpl", "(", "DAGCombinerInfo", "&", "DCI", ",", "const", "SDLoc", "&", "SL", ",", "unsigned", "Opc", ",", "SDValue", "LHS", ",", "uint32_t", "ValLo", ",", "uint32_t", "ValHi", ")", "const", "{", "SelectionDAG", "&", "DAG", "=", "DCI", ".", "DAG", ";", "SDValue", "Lo", ",", "Hi", ";", "std", "::", "tie", "(", "Lo", ",", "Hi", ")", "=", "split64BitValue", "(", "LHS", ",", "DAG", ")", ";", "SDValue", "LoRHS", "=", "DAG", ".", "getConstant", "(", "ValLo", ",", "SL", ",", "MVT", "::", "i32", ")", ";", "SDValue", "HiRHS", "=", "DAG", ".", "getConstant", "(", "ValHi", ",", "SL", ",", "MVT", "::", "i32", ")", ";", "SDValue", "LoAnd", "=", "DAG", ".", "getNode", "(", "Opc", ",", "SL", ",", "MVT", "::", "i32", ",", "Lo", ",", "LoRHS", ")", ";", "SDValue", "HiAnd", "=", "DAG", ".", "getNode", "(", "Opc", ",", "SL", ",", "MVT", "::", "i32", ",", "Hi", ",", "HiRHS", ")", ";", "DCI", ".", "AddToWorklist", "(", "Lo", ".", "getNode", "(", ")", ")", ";", "DCI", ".", "AddToWorklist", "(", "Hi", ".", "getNode", "(", ")", ")", ";", "SDValue", "Vec", "=", "DAG", ".", "getBuildVector", "(", "MVT", "::", "v2i32", ",", "SL", ",", "{", "LoAnd", ",", "HiAnd", "}", ")", ";", "return", "DAG", ".", "getNode", "(", "ISD", "::", "BITCAST", ",", "SL", ",", "MVT", "::", "i64", ",", "Vec", ")", ";", "}", ""], "natrual_language": ["Split", "the", "64-bit", "value", "LHS", "into", "two", "32-bit", "components", ",", "and", "perform", "the", "binary", "operation", "Opc", "to", "it", "with", "the", "corresponding", "constant", "operands", "."], "TS_V_token": ["AMDGPU", "AMDGPU", "MVT::i32", "MVT::i32", "MVT::i32", "MVT::i32", "MVT::v2i32", "ISD::BITCAST", "MVT::i64"], "File": "AMDGPUISelLowering (2)1", "Func": "splitBinaryBitConstantOpImpl", "Target": "AMDGPU", "Target_Clf": "GPU", "Compiler_Type": "LLVM", "Idx": 536, "Length": 190, "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": 537, "Length": 113, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "virtual", "void", "getAnalysisUsage", "(", "AnalysisUsage", "&", "AU", ")", "const", "{", "AU", ".", "addRequired", "<", "MachineFunctionAnalysis", ">", "(", ")", ";", "AU", ".", "addPreserved", "<", "MachineFunctionAnalysis", ">", "(", ")", ";", "FunctionPass", "::", "getAnalysisUsage", "(", "AU", ")", ";", "}", ""], "natrual_language": ["getAnalysisUsage", "-", "Subclasses", "that", "override", "getAnalysisUsage", "must", "call", "this", "."], "TS_V_token": ["Hexagon"], "File": "HexagonRemoveSZExtArgs1", "Func": "getAnalysisUsage", "Target": "Hexagon", "Target_Clf": "DSP", "Compiler_Type": "LLVM", "Idx": 538, "Length": 36, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "bool", "AMDGPUAnnotateKernelFeatures", "::", "runOnSCC", "(", "CallGraphSCC", "&", "SCC", ")", "{", "bool", "Changed", "=", "false", ";", "for", "(", "CallGraphNode", "*", "I", ":", "SCC", ")", "{", "if", "(", "I", "->", "getNumReferences", "(", ")", ")", "NodeList", ".", "push_back", "(", "I", ")", ";", "else", "{", "processUniformWorkGroupAttribute", "(", ")", ";", "NodeList", ".", "clear", "(", ")", ";", "}", "Function", "*", "F", "=", "I", "->", "getFunction", "(", ")", ";", "if", "(", "!", "F", "||", "F", "->", "isDeclaration", "(", ")", "||", "AMDGPU", "::", "isGraphics", "(", "F", "->", "getCallingConv", "(", ")", ")", ")", "continue", ";", "Changed", "|=", "addFeatureAttributes", "(", "*", "F", ")", ";", "}", "return", "Changed", ";", "}", ""], "natrual_language": ["runOnSCC", "-", "This", "method", "should", "be", "implemented", "by", "the", "subclass", "to", "perform", "whatever", "action", "is", "necessary", "for", "the", "specified", "SCC", "."], "TS_V_token": ["AMDGPU", "AMDGPU", "AMDGPU::isGraphics"], "File": "AMDGPUAnnotateKernelFeatures1", "Func": "runOnSCC", "Target": "AMDGPU", "Target_Clf": "GPU", "Compiler_Type": "LLVM", "Idx": 539, "Length": 99, "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": 540, "Length": 248, "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": 541, "Length": 113, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "static", "tree", "ix86_fn_abi_va_list", "(", "tree", "fndecl", ")", "{", "if", "(", "!", "TARGET_64BIT", ")", "return", "va_list_type_node", ";", "gcc_assert", "(", "fndecl", "!=", "NULL_TREE", ")", ";", "if", "(", "ix86_function_abi", "(", "(", "const_tree", ")", "fndecl", ")", "==", "MS_ABI", ")", "return", "ms_va_list_type_node", ";", "else", "return", "sysv_va_list_type_node", ";", "}", ""], "natrual_language": ["This", "function", "returns", "the", "calling", "abi", "specific", "va_list", "type", "node", ".", "It", "returns", "the", "FNDECL", "specific", "va_list", "type", "."], "TS_V_token": ["i386"], "File": "i386", "Func": "ix86_fn_abi_va_list", "Target": "i386", "Target_Clf": "CPU", "Compiler_Type": "GCC", "Idx": 542, "Length": 43, "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": 543, "Length": 27, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "unsigned", "getReg", "(", ")", "const", "{", "assert", "(", "(", "Kind", "==", "k_Register", "||", "Kind", "==", "k_Memri", ")", "&&", "\"Invalid access!\"", ")", ";", "return", "RegImm", ".", "Reg", ";", "}", ""], "natrual_language": ["Returns", "the", "register", "associated", "with", "this", "edge", "."], "TS_V_token": ["AVR", "\"Invalid access!\""], "File": "AVRAsmParser", "Func": "getReg", "Target": "AVR", "Target_Clf": "MPU", "Compiler_Type": "LLVM", "Idx": 544, "Length": 27, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "void", "NVPTXPassConfig", "::", "addIRPasses", "(", ")", "{", "disablePass", "(", "&", "PrologEpilogCodeInserterID", ")", ";", "disablePass", "(", "&", "MachineCopyPropagationID", ")", ";", "disablePass", "(", "&", "TailDuplicateID", ")", ";", "addPass", "(", "createNVVMReflectPass", "(", ")", ")", ";", "addPass", "(", "createNVPTXImageOptimizerPass", "(", ")", ")", ";", "addPass", "(", "createNVPTXAssignValidGlobalNamesPass", "(", ")", ")", ";", "addPass", "(", "createGenericToNVVMPass", "(", ")", ")", ";", "addPass", "(", "createNVPTXLowerKernelArgsPass", "(", "&", "getNVPTXTargetMachine", "(", ")", ")", ")", ";", "addPass", "(", "createSROAPass", "(", ")", ")", ";", "addPass", "(", "createNVPTXLowerAllocaPass", "(", ")", ")", ";", "addPass", "(", "createNVPTXFavorNonGenericAddrSpacesPass", "(", ")", ")", ";", "addPass", "(", "createDeadCodeEliminationPass", "(", ")", ")", ";", "addPass", "(", "createSeparateConstOffsetFromGEPPass", "(", ")", ")", ";", "addPass", "(", "createSpeculativeExecutionPass", "(", ")", ")", ";", "addPass", "(", "createStraightLineStrengthReducePass", "(", ")", ")", ";", "addEarlyCSEOrGVNPass", "(", ")", ";", "addPass", "(", "createNaryReassociatePass", "(", ")", ")", ";", "addPass", "(", "createEarlyCSEPass", "(", ")", ")", ";", "TargetPassConfig", "::", "addIRPasses", "(", ")", ";", "addEarlyCSEOrGVNPass", "(", ")", ";", "}", ""], "natrual_language": ["Add", "common", "target", "configurable", "passes", "that", "perform", "LLVM", "IR", "to", "IR", "transforms", "following", "machine", "independent", "optimization", "."], "TS_V_token": ["NVPTX", "NVPTX", "NVPTX", "NVPTX", "NVPTX", "NVPTX", "NVPTX", "NVPTX"], "File": "NVPTXTargetMachine (2)", "Func": "addIRPasses", "Target": "NVPTX", "Target_Clf": "GPU", "Compiler_Type": "LLVM", "Idx": 545, "Length": 142, "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": 546, "Length": 27, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "void", "emitELFSize", "(", "MCSymbol", "*", "Symbol", ",", "const", "MCExpr", "*", "Value", ")", "override", "{", "}", ""], "natrual_language": ["Emit", "an", "ELF", ".size", "directive", "."], "TS_V_token": ["Patmos"], "File": "PatmosInstrInfo1", "Func": "emitELFSize", "Target": "Patmos", "Target_Clf": "VLIW", "Compiler_Type": "LLVM", "Idx": 547, "Length": 15, "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": 548, "Length": 190, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "bool", "s390_check_symref_alignment", "(", "rtx", "addr", ",", "HOST_WIDE_INT", "alignment", ")", "{", "HOST_WIDE_INT", "addend", ";", "rtx", "symref", ";", "if", "(", "!", "s390_loadrelative_operand_p", "(", "addr", ",", "&", "symref", ",", "&", "addend", ")", ")", "return", "false", ";", "if", "(", "addend", "&", "(", "alignment", "-", "1", ")", ")", "return", "false", ";", "if", "(", "GET_CODE", "(", "symref", ")", "==", "SYMBOL_REF", "&&", "!", "SYMBOL_REF_NOT_NATURALLY_ALIGNED_P", "(", "symref", ")", ")", "return", "true", ";", "if", "(", "GET_CODE", "(", "symref", ")", "==", "UNSPEC", "&&", "alignment", "<=", "UNITS_PER_LONG", ")", "return", "true", ";", "return", "false", ";", "}", ""], "natrual_language": ["Return", "true", "if", "ADDR", "is", "SYMBOL_REF", "+", "addend", "with", "addend", "being", "a", "multiple", "of", "ALIGNMENT", "and", "the", "SYMBOL_REF", "being", "naturally", "aligned", "."], "TS_V_token": ["s390", "1"], "File": "s3904", "Func": "s390_check_symref_alignment", "Target": "s390", "Target_Clf": "MPU", "Compiler_Type": "GCC", "Idx": 549, "Length": 84, "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": 550, "Length": 109, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "bool", "XCoreTargetMachine", "::", "addInstSelector", "(", "PassManagerBase", "&", "PM", ")", "{", "PM", ".", "add", "(", "createXCoreISelDag", "(", "*", "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": ["XCore", "XCore", "XCore"], "File": "XCoreTargetMachine30", "Func": "addInstSelector", "Target": "XCore", "Target_Clf": "MPU", "Compiler_Type": "LLVM", "Idx": 551, "Length": 29, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "static", "void", "mep_rewrite_mult", "(", "rtx_insn", "*", "insn", ",", "rtx", "pattern", ")", "{", "rtx", "hi_clobber", ";", "hi_clobber", "=", "XVECEXP", "(", "pattern", ",", "0", ",", "XVECLEN", "(", "pattern", ",", "0", ")", "-", "1", ")", ";", "XEXP", "(", "hi_clobber", ",", "0", ")", "=", "gen_rtx_REG", "(", "SImode", ",", "HI_REGNO", ")", ";", "PATTERN", "(", "insn", ")", "=", "pattern", ";", "INSN_CODE", "(", "insn", ")", "=", "-", "1", ";", "}", ""], "natrual_language": ["Replace", "INSN", "'s", "pattern", "with", "PATTERN", ",", "a", "multiplication", "PARALLEL", ".", "Change", "the", "last", "element", "of", "PATTERN", "from", "(", "clobber", "(", "scratch", ":", "SI", ")", ")", "to", "(", "clobber", "(", "reg", ":", "SI", "HI_REGNO", ")", ")", "."], "TS_V_token": ["mep", "0", "0", "1", "0", "1"], "File": "mep", "Func": "mep_rewrite_mult", "Target": "mep", "Target_Clf": "CPU", "Compiler_Type": "GCC", "Idx": 552, "Length": 63, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "bool", "AMDGPUDAGToDAGISel", "::", "runOnMachineFunction", "(", "MachineFunction", "&", "MF", ")", "{", "DominatorTree", "&", "DT", "=", "getAnalysis", "<", "DominatorTreeWrapperPass", ">", "(", ")", ".", "getDomTree", "(", ")", ";", "LoopInfo", "*", "LI", "=", "&", "getAnalysis", "<", "LoopInfoWrapperPass", ">", "(", ")", ".", "getLoopInfo", "(", ")", ";", "for", "(", "auto", "&", "L", ":", "LI", "->", "getLoopsInPreorder", "(", ")", ")", "{", "assert", "(", "L", "->", "isLCSSAForm", "(", "DT", ")", ")", ";", "}", "Subtarget", "=", "&", "MF", ".", "getSubtarget", "<", "GCNSubtarget", ">", "(", ")", ";", "Mode", "=", "AMDGPU", "::", "SIModeRegisterDefaults", "(", "MF", ".", "getFunction", "(", ")", ")", ";", "return", "SelectionDAGISel", "::", "runOnMachineFunction", "(", "MF", ")", ";", "}", ""], "natrual_language": ["runOnMachineFunction", "-", "Emit", "the", "function", "body", "."], "TS_V_token": ["AMDGPU", "AMDGPU", "AMDGPU::SIModeRegisterDefaults"], "File": "AMDGPUISelDAGToDAG15", "Func": "runOnMachineFunction", "Target": "AMDGPU", "Target_Clf": "GPU", "Compiler_Type": "LLVM", "Idx": 553, "Length": 99, "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": "PPCFrameLowering (2)", "Func": "determineCalleeSaves", "Target": "PowerPC", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 554, "Length": 369, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "void", "assignValueToReg", "(", "unsigned", "ValVReg", ",", "unsigned", "PhysReg", ",", "CCValAssign", "&", "VA", ")", "override", "{", "markPhysRegUsed", "(", "PhysReg", ")", ";", "switch", "(", "VA", ".", "getLocInfo", "(", ")", ")", "{", "default", ":", "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": "X86CallLowering20", "Func": "assignValueToReg", "Target": "X86", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 555, "Length": 97, "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": 556, "Length": 39, "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": 557, "Length": 294, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "static", "bool", "hasOneUse", "(", "unsigned", "Reg", ",", "MachineInstr", "*", "Def", ",", "MachineRegisterInfo", "&", "MRI", ",", "MachineDominatorTree", "&", "MDT", ",", "LiveIntervals", "&", "LIS", ")", "{", "if", "(", "MRI", ".", "hasOneUse", "(", "Reg", ")", ")", "return", "true", ";", "bool", "HasOne", "=", "false", ";", "const", "LiveInterval", "&", "LI", "=", "LIS", ".", "getInterval", "(", "Reg", ")", ";", "const", "VNInfo", "*", "DefVNI", "=", "LI", ".", "getVNInfoAt", "(", "LIS", ".", "getInstructionIndex", "(", "*", "Def", ")", ".", "getRegSlot", "(", ")", ")", ";", "assert", "(", "DefVNI", ")", ";", "for", "(", "auto", "&", "I", ":", "MRI", ".", "use_nodbg_operands", "(", "Reg", ")", ")", "{", "const", "auto", "&", "Result", "=", "LI", ".", "Query", "(", "LIS", ".", "getInstructionIndex", "(", "*", "I", ".", "getParent", "(", ")", ")", ")", ";", "if", "(", "Result", ".", "valueIn", "(", ")", "==", "DefVNI", ")", "{", "if", "(", "!", "Result", ".", "isKill", "(", ")", ")", "return", "false", ";", "if", "(", "HasOne", ")", "return", "false", ";", "HasOne", "=", "true", ";", "}", "}", "return", "HasOne", ";", "}", ""], "natrual_language": ["Return", "true", "if", "there", "is", "exactly", "one", "node", "using", "value", "ResNo", "of", "Node", "."], "TS_V_token": ["WebAssembly"], "File": "WebAssemblyRegStackify13", "Func": "hasOneUse", "Target": "WebAssembly", "Target_Clf": "Virtual ISA", "Compiler_Type": "LLVM", "Idx": 558, "Length": 156, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "bool", "AMDGPUAsmPrinter", "::", "lowerOperand", "(", "const", "MachineOperand", "&", "MO", ",", "MCOperand", "&", "MCOp", ")", "const", "{", "const", "GCNSubtarget", "&", "STI", "=", "MF", "->", "getSubtarget", "<", "GCNSubtarget", ">", "(", ")", ";", "AMDGPUMCInstLower", "MCInstLowering", "(", "OutContext", ",", "STI", ",", "*", "this", ")", ";", "return", "MCInstLowering", ".", "lowerOperand", "(", "MO", ",", "MCOp", ")", ";", "}", ""], "natrual_language": ["Wrapper", "for", "MCInstLowering.lowerOperand", "(", ")", "for", "the", "tblgen'erated", "pseudo", "lowering", "."], "TS_V_token": ["AMDGPU", "AMDGPU", "AMDGPU"], "File": "AMDGPUMCInstLower18", "Func": "lowerOperand", "Target": "AMDGPU", "Target_Clf": "GPU", "Compiler_Type": "LLVM", "Idx": 559, "Length": 52, "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": 560, "Length": 141, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "EVT", "HexagonTargetLowering", "::", "getOptimalMemOpType", "(", "uint64_t", "Size", ",", "unsigned", "DstAlign", ",", "unsigned", "SrcAlign", ",", "bool", "IsMemset", ",", "bool", "ZeroMemset", ",", "bool", "MemcpyStrSrc", ",", "MachineFunction", "&", "MF", ")", "const", "{", "auto", "Aligned", "=", "[", "]", "(", "unsigned", "GivenA", ",", "unsigned", "MinA", ")", "->", "bool", "{", "return", "(", "GivenA", "%", "MinA", ")", "==", "0", ";", "}", ";", "if", "(", "Size", ">=", "8", "&&", "Aligned", "(", "DstAlign", ",", "8", ")", "&&", "(", "IsMemset", "||", "Aligned", "(", "SrcAlign", ",", "8", ")", ")", ")", "return", "MVT", "::", "i64", ";", "if", "(", "Size", ">=", "4", "&&", "Aligned", "(", "DstAlign", ",", "4", ")", "&&", "(", "IsMemset", "||", "Aligned", "(", "SrcAlign", ",", "4", ")", ")", ")", "return", "MVT", "::", "i32", ";", "if", "(", "Size", ">=", "2", "&&", "Aligned", "(", "DstAlign", ",", "2", ")", "&&", "(", "IsMemset", "||", "Aligned", "(", "SrcAlign", ",", "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": ["Hexagon", "Hexagon", "0", "8", "8", "8", "MVT::i64", "4", "4", "4", "MVT::i32", "2", "2", "2", "MVT::i16", "MVT::Other"], "File": "HexagonISelLowering (2)1", "Func": "getOptimalMemOpType", "Target": "Hexagon", "Target_Clf": "DSP", "Compiler_Type": "LLVM", "Idx": 561, "Length": 148, "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": 562, "Length": 45, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "void", "arm_split_compare_and_swap", "(", "rtx", "operands", "[", "]", ")", "{", "rtx", "rval", ",", "mem", ",", "oldval", ",", "newval", ",", "neg_bval", ",", "mod_s_rtx", ";", "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_rtx", "=", "operands", "[", "6", "]", ";", "mod_s", "=", "memmodel_from_int", "(", "INTVAL", "(", "mod_s_rtx", ")", ")", ";", "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", "&&", "aarch_mm_needs_acquire", "(", "mod_s_rtx", ")", ";", "bool", "use_release", "=", "TARGET_HAVE_LDACQ", "&&", "aarch_mm_needs_release", "(", "mod_s_rtx", ")", ";", "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", "{", "cond", "=", "gen_rtx_NE", "(", "VOIDmode", ",", "rval", ",", "oldval", ")", ";", "if", "(", "thumb1_cmpneg_operand", "(", "oldval", ",", "SImode", ")", ")", "{", "rtx", "src", "=", "rval", ";", "if", "(", "!", "satisfies_constraint_L", "(", "oldval", ")", ")", "{", "gcc_assert", "(", "satisfies_constraint_J", "(", "oldval", ")", ")", ";", "emit_move_insn", "(", "neg_bval", ",", "rval", ")", ";", "src", "=", "neg_bval", ";", "}", "emit_unlikely_jump", "(", "gen_cbranchsi4_neg_late", "(", "neg_bval", ",", "src", ",", "oldval", ",", "label2", ",", "cond", ")", ")", ";", "}", "else", "{", "emit_move_insn", "(", "neg_bval", ",", "const1_rtx", ")", ";", "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": "arm", "Func": "arm_split_compare_and_swap", "Target": "arm", "Target_Clf": "CPU", "Compiler_Type": "GCC", "Idx": 563, "Length": 507, "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": 564, "Length": 262, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "std", "::", "pair", "<", "unsigned", ",", "unsigned", ">", "getWavesPerEU", "(", "const", "Function", "&", "F", ")", "const", "{", "std", "::", "pair", "<", "unsigned", ",", "unsigned", ">", "FlatWorkGroupSizes", "=", "getFlatWorkGroupSizes", "(", "F", ")", ";", "return", "getWavesPerEU", "(", "F", ",", "FlatWorkGroupSizes", ")", ";", "}", ""], "natrual_language": ["Overload", "which", "uses", "the", "specified", "values", "for", "the", "flat", "work", "group", "sizes", ",", "rather", "than", "querying", "the", "function", "itself", "."], "TS_V_token": ["AMDGPU"], "File": "AMDGPUSubtarget1", "Func": "getWavesPerEU", "Target": "AMDGPU", "Target_Clf": "GPU", "Compiler_Type": "LLVM", "Idx": 565, "Length": 41, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "unsigned", "HexagonInstrInfo", "::", "getInlineAsmLength", "(", "const", "char", "*", "Str", ",", "const", "MCAsmInfo", "&", "MAI", ")", "const", "{", "StringRef", "AStr", "(", "Str", ")", ";", "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", ")", ")", ")", "{", "Length", "+=", "MAI", ".", "getMaxInstLength", "(", ")", ";", "atInsnStart", "=", "false", ";", "}", "if", "(", "atInsnStart", "&&", "strncmp", "(", "Str", ",", "MAI", ".", "getCommentString", "(", ")", ".", "data", "(", ")", ",", "MAI", ".", "getCommentString", "(", ")", ".", "size", "(", ")", ")", "==", "0", ")", "atInsnStart", "=", "false", ";", "}", "StringRef", "Occ", "(", "\"##\"", ")", ";", "Length", "+=", "AStr", ".", "count", "(", "Occ", ")", "*", "4", ";", "return", "Length", ";", "}", ""], "natrual_language": ["Measure", "the", "specified", "inline", "asm", "to", "determine", "an", "approximation", "of", "its", "length", "."], "TS_V_token": ["Hexagon", "Hexagon", "0", "0", "0", "\"##\"", "4"], "File": "HexagonInstrInfo (2)2", "Func": "getInlineAsmLength", "Target": "Hexagon", "Target_Clf": "DSP", "Compiler_Type": "LLVM", "Idx": 566, "Length": 167, "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": 567, "Length": 235, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "static", "const", "char", "*", "byte_reg", "(", "rtx", "x", ",", "int", "b", ")", "{", "static", "const", "char", "*", "const", "names_small", "[", "]", "=", "{", "\"r0l\"", ",", "\"r0h\"", ",", "\"r1l\"", ",", "\"r1h\"", ",", "\"r2l\"", ",", "\"r2h\"", ",", "\"r3l\"", ",", "\"r3h\"", ",", "\"r4l\"", ",", "\"r4h\"", ",", "\"r5l\"", ",", "\"r5h\"", ",", "\"r6l\"", ",", "\"r6h\"", ",", "\"r7l\"", ",", "\"r7h\"", "}", ";", "gcc_assert", "(", "REG_P", "(", "x", ")", ")", ";", "return", "names_small", "[", "REGNO", "(", "x", ")", "*", "2", "+", "b", "]", ";", "}", ""], "natrual_language": ["Return", "the", "byte", "register", "name", "for", "a", "register", "rtx", "X", ".", "B", "should", "be", "0", "if", "you", "want", "a", "lower", "byte", "register", ".", "B", "should", "be", "1", "if", "you", "want", "an", "upper", "byte", "register", "."], "TS_V_token": ["h8300", "\"r0l\"", "\"r0h\"", "\"r1l\"", "\"r1h\"", "\"r2l\"", "\"r2h\"", "\"r3l\"", "\"r3h\"", "\"r4l\"", "\"r4h\"", "\"r5l\"", "\"r5h\"", "\"r6l\"", "\"r6h\"", "\"r7l\"", "\"r7h\"", "2"], "File": "h8300", "Func": "byte_reg", "Target": "h8300", "Target_Clf": "MPU", "Compiler_Type": "GCC", "Idx": 568, "Length": 78, "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": 569, "Length": 52, "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": 570, "Length": 226, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "void", "rvexFrameLowering", "::", "emitEpilogue", "(", "MachineFunction", "&", "MF", ",", "MachineBasicBlock", "&", "MBB", ")", "const", "{", "MachineBasicBlock", "::", "iterator", "MBBI", "=", "MBB", ".", "getLastNonDebugInstr", "(", ")", ";", "MachineFrameInfo", "*", "MFI", "=", "MF", ".", "getFrameInfo", "(", ")", ";", "const", "rvexInstrInfo", "&", "TII", "=", "*", "static_cast", "<", "const", "rvexInstrInfo", "*", ">", "(", "MF", ".", "getTarget", "(", ")", ".", "getInstrInfo", "(", ")", ")", ";", "DebugLoc", "dl", "=", "MBBI", "->", "getDebugLoc", "(", ")", ";", "unsigned", "SP", "=", "rvex", "::", "R1", ";", "unsigned", "ADDiu", "=", "rvex", "::", "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": ["rvex", "rvex", "rvex", "rvex", "rvex::R1", "rvex::ADDiu", "16", "\"No expandLargeImm(SP, StackSize, false, TII, MBB, MBBI, dl);\""], "File": "rvexFrameLowering", "Func": "emitEpilogue", "Target": "rvex", "Target_Clf": "VLIW", "Compiler_Type": "LLVM", "Idx": 571, "Length": 144, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "static", "void", "output_compadr", "(", "rtx", "operands", "[", "2", "]", ")", "{", "output_asm_insn", "(", "\"lea %a1,%0\"", ",", "operands", ")", ";", "}", ""], "natrual_language": ["Output", "assembler", "to", "load", "address", "OPERANDS", "[", "0", "]", "to", "register", "OPERANDS", "[", "1", "]", "."], "TS_V_token": ["m68k", "2", "\"lea %a1,%0\""], "File": "m68k", "Func": "output_compadr", "Target": "m68k", "Target_Clf": "MPU", "Compiler_Type": "GCC", "Idx": 572, "Length": 19, "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", "(", ")", ")", ";", "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": "ARMInstrInfo13", "Func": "runOnMachineFunction", "Target": "ARM", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 573, "Length": 366, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "const", "P2InstrInfo", "*", "getInstrInfo", "(", ")", "const", "override", "{", "return", "&", "InstrInfo", ";", "}", ""], "natrual_language": ["TargetInstrInfo", "getter", "."], "TS_V_token": ["P2", "P2"], "File": "P2Subtarget", "Func": "getInstrInfo", "Target": "P2", "Target_Clf": "MPU", "Compiler_Type": "LLVM", "Idx": 574, "Length": 14, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "bool", "M68kInstructionSelector", "::", "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": ["M68k", "M68k"], "File": "M68kInstructionSelector", "Func": "select", "Target": "M68k", "Target_Clf": "MPU", "Compiler_Type": "LLVM", "Idx": 575, "Length": 42, "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": 576, "Length": 501, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "bool", "MMIXInstrInfo", "::", "expandPostRAPseudo", "(", "MachineInstr", "&", "MI", ")", "const", "{", "switch", "(", "MI", ".", "getOpcode", "(", ")", ")", "{", "default", ":", "return", "false", ";", "case", "MMIX", "::", "LDI", ":", "expandLDImm", "(", "MI", ")", ";", "return", "true", ";", "case", "MMIX", "::", "LDA", ":", "expandLDAddr", "(", "MI", ")", ";", "return", "true", ";", "}", "}", ""], "natrual_language": ["This", "function", "is", "called", "for", "all", "pseudo", "instructions", "that", "remain", "after", "register", "allocation", "."], "TS_V_token": ["MMIX", "MMIX", "MMIX::LDI", "MMIX::LDA"], "File": "MMIXInstrInfo", "Func": "expandPostRAPseudo", "Target": "MMIX", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 577, "Length": 53, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "MCSymbol", "*", "WebAssemblyMCInstLower", "::", "GetExternalSymbolSymbol", "(", "const", "MachineOperand", "&", "MO", ")", "const", "{", "return", "Printer", ".", "getOrCreateWasmSymbol", "(", "MO", ".", "getSymbolName", "(", ")", ")", ";", "}", ""], "natrual_language": ["Return", "the", "MCSymbol", "for", "the", "specified", "ExternalSymbol", "."], "TS_V_token": ["WebAssembly", "WebAssembly"], "File": "WebAssemblyMCInstLower1", "Func": "GetExternalSymbolSymbol", "Target": "WebAssembly", "Target_Clf": "Virtual ISA", "Compiler_Type": "LLVM", "Idx": 578, "Length": 26, "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": ["M68k"], "File": "M68kInstructionSelector", "Func": "getName", "Target": "M68k", "Target_Clf": "MPU", "Compiler_Type": "LLVM", "Idx": 579, "Length": 12, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "static", "void", "const_double_split", "(", "rtx", "x", ",", "HOST_WIDE_INT", "*", "p_high", ",", "HOST_WIDE_INT", "*", "p_low", ")", "{", "if", "(", "GET_CODE", "(", "x", ")", "==", "CONST_DOUBLE", ")", "{", "long", "t", "[", "2", "]", ";", "switch", "(", "GET_MODE", "(", "x", ")", ")", "{", "case", "DFmode", ":", "REAL_VALUE_TO_TARGET_DOUBLE", "(", "*", "CONST_DOUBLE_REAL_VALUE", "(", "x", ")", ",", "t", ")", ";", "*", "p_high", "=", "t", "[", "1", "]", ";", "*", "p_low", "=", "t", "[", "0", "]", ";", "return", ";", "case", "SFmode", ":", "REAL_VALUE_TO_TARGET_SINGLE", "(", "*", "CONST_DOUBLE_REAL_VALUE", "(", "x", ")", ",", "*", "p_high", ")", ";", "*", "p_low", "=", "0", ";", "return", ";", "case", "VOIDmode", ":", "case", "DImode", ":", "*", "p_high", "=", "CONST_DOUBLE_HIGH", "(", "x", ")", ";", "*", "p_low", "=", "CONST_DOUBLE_LOW", "(", "x", ")", ";", "return", ";", "default", ":", "break", ";", "}", "}", "fatal_insn", "(", "\"const_double_split got a bad insn:\"", ",", "x", ")", ";", "}", ""], "natrual_language": ["Return", "the", "high", "and", "low", "words", "of", "a", "CONST_DOUBLE"], "TS_V_token": ["v850", "2", "1", "0", "0", "\"const_double_split got a bad insn:\""], "File": "v8505", "Func": "const_double_split", "Target": "v850", "Target_Clf": "MPU", "Compiler_Type": "GCC", "Idx": 580, "Length": 132, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "static", "void", "jli_call_scan", "(", "void", ")", "{", "rtx_insn", "*", "insn", ";", "for", "(", "insn", "=", "get_insns", "(", ")", ";", "insn", ";", "insn", "=", "NEXT_INSN", "(", "insn", ")", ")", "{", "if", "(", "!", "CALL_P", "(", "insn", ")", ")", "continue", ";", "rtx", "pat", "=", "PATTERN", "(", "insn", ")", ";", "if", "(", "GET_CODE", "(", "pat", ")", "==", "COND_EXEC", ")", "pat", "=", "COND_EXEC_CODE", "(", "pat", ")", ";", "pat", "=", "XVECEXP", "(", "pat", ",", "0", ",", "0", ")", ";", "if", "(", "GET_CODE", "(", "pat", ")", "==", "SET", ")", "pat", "=", "SET_SRC", "(", "pat", ")", ";", "pat", "=", "XEXP", "(", "XEXP", "(", "pat", ",", "0", ")", ",", "0", ")", ";", "if", "(", "GET_CODE", "(", "pat", ")", "==", "SYMBOL_REF", "&&", "arc_is_jli_call_p", "(", "pat", ")", ")", "arc_add_jli_section", "(", "pat", ")", ";", "}", "}", ""], "natrual_language": ["Scan", "all", "calls", "and", "add", "symbols", "to", "be", "emitted", "in", "the", "jli", "section", "if", "needed", "."], "TS_V_token": ["arc", "0", "0", "0", "0"], "File": "arc", "Func": "jli_call_scan", "Target": "arc", "Target_Clf": "MPU", "Compiler_Type": "GCC", "Idx": 581, "Length": 125, "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": 582, "Length": 64, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "static", "bool", "expand_set_cint64_one_inst", "(", "rtx", "dest_reg", ",", "HOST_WIDE_INT", "val", ",", "bool", "three_wide_only", ")", "{", "if", "(", "val", "==", "trunc_int_for_mode", "(", "val", ",", "QImode", ")", ")", "{", "emit_move_insn", "(", "dest_reg", ",", "GEN_INT", "(", "val", ")", ")", ";", "return", "true", ";", "}", "else", "if", "(", "!", "three_wide_only", ")", "{", "if", "(", "(", "val", ">=", "-", "32768", "&&", "val", "<=", "65535", ")", "||", "(", "(", "val", "==", "(", "val", "&", "0xFF", ")", "*", "0x0101010101010101LL", ")", ")", "||", "(", "val", "==", "(", "(", "trunc_int_for_mode", "(", "val", ",", "QImode", ")", "&", "0xFFFF", ")", "*", "0x0001000100010001LL", ")", ")", ")", "{", "emit_move_insn", "(", "dest_reg", ",", "GEN_INT", "(", "val", ")", ")", ";", "return", "true", ";", "}", "}", "return", "false", ";", "}", ""], "natrual_language": ["Returns", "true", "iff", "VAL", "can", "be", "moved", "into", "a", "register", "in", "one", "instruction", ".", "And", "if", "it", "can", ",", "it", "emits", "the", "code", "to", "move", "the", "constant", "into", "DEST_REG", ".", "If", "THREE_WIDE_ONLY", "is", "true", ",", "this", "insists", "on", "an", "instruction", "that", "works", "in", "a", "bundle", "containing", "three", "instructions", "."], "TS_V_token": ["tilegx", "32768", "65535", "0xFF", "0x0101010101010101LL", "0xFFFF", "0x0001000100010001LL"], "File": "tilegx", "Func": "expand_set_cint64_one_inst", "Target": "tilegx", "Target_Clf": "VLIW", "Compiler_Type": "GCC", "Idx": 583, "Length": 113, "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", "::", "UDIV", ",", "Ty", ",", "Legal", ")", ";", "setOperationAction", "(", "ISD", "::", "UREM", ",", "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::UDIV", "ISD::UREM", "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": "MipsSEISelLowering (2)", "Func": "addMSAIntType", "Target": "Mips", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 584, "Length": 428, "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": 585, "Length": 78, "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": 586, "Length": 62, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "static", "void", "s390_restore_gprs_from_fprs", "(", "void", ")", "{", "int", "i", ";", "if", "(", "!", "TARGET_Z10", "||", "!", "TARGET_HARD_FLOAT", "||", "!", "crtl", "->", "is_leaf", ")", "return", ";", "for", "(", "i", "=", "6", ";", "i", "<", "16", ";", "i", "++", ")", "{", "if", "(", "FP_REGNO_P", "(", "cfun_gpr_save_slot", "(", "i", ")", ")", ")", "{", "rtx_insn", "*", "insn", "=", "emit_move_insn", "(", "gen_rtx_REG", "(", "DImode", ",", "i", ")", ",", "gen_rtx_REG", "(", "DImode", ",", "cfun_gpr_save_slot", "(", "i", ")", ")", ")", ";", "df_set_regs_ever_live", "(", "i", ",", "true", ")", ";", "add_reg_note", "(", "insn", ",", "REG_CFA_RESTORE", ",", "gen_rtx_REG", "(", "DImode", ",", "i", ")", ")", ";", "if", "(", "i", "==", "STACK_POINTER_REGNUM", ")", "add_reg_note", "(", "insn", ",", "REG_CFA_DEF_CFA", ",", "plus_constant", "(", "Pmode", ",", "stack_pointer_rtx", ",", "STACK_POINTER_OFFSET", ")", ")", ";", "RTX_FRAME_RELATED_P", "(", "insn", ")", "=", "1", ";", "}", "}", "}", ""], "natrual_language": ["Restore", "GPRs", "from", "FPR", "save", "slots", "."], "TS_V_token": ["s390", "6", "16", "1"], "File": "s3904", "Func": "s390_restore_gprs_from_fprs", "Target": "s390", "Target_Clf": "MPU", "Compiler_Type": "GCC", "Idx": 587, "Length": 127, "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": 588, "Length": 11, "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": 589, "Length": 14, "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": 590, "Length": 15, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "void", "Tile64InstrInfo", "::", "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", "(", "T64", "::", "SW", ")", ")", ".", "addFrameIndex", "(", "FI", ")", ".", "addReg", "(", "SrcReg", ",", "getKillRegState", "(", "isKill", ")", ")", ";", "}", ""], "natrual_language": ["Store", "the", "specified", "register", "of", "the", "given", "register", "class", "to", "the", "specified", "stack", "frame", "index", "."], "TS_V_token": ["Tile64", "T64::SW"], "File": "Tile64InstrInfo", "Func": "storeRegToStackSlot", "Target": "Tile64", "Target_Clf": "VLIW", "Compiler_Type": "LLVM", "Idx": 591, "Length": 88, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "void", "Z80oldAsmPrinter", "::", "emitInlineAsmEnd", "(", "const", "MCSubtargetInfo", "&", "StartInfo", ",", "const", "MCSubtargetInfo", "*", "EndInfo", ")", "const", "{", "return", ";", "if", "(", "TM", ".", "getTargetTriple", "(", ")", ".", "getArch", "(", ")", "!=", "Triple", "::", "ez80old", ")", "{", "return", ";", "}", "bool", "Was16", "=", "isCode16", "(", "StartInfo", ".", "getTargetTriple", "(", ")", ")", ";", "if", "(", "!", "EndInfo", "||", "Was16", "!=", "isCode16", "(", "EndInfo", "->", "getTargetTriple", "(", ")", ")", ")", "{", "OutStreamer", "->", "EmitAssemblerFlag", "(", "Was16", "?", "MCAF_Code16", ":", "MCAF_Code24", ")", ";", "}", "}", ""], "natrual_language": ["Let", "the", "target", "do", "anything", "it", "needs", "to", "do", "after", "emitting", "inlineasm", "."], "TS_V_token": ["Z80old", "Z80old"], "File": "Z80oldAsmPrinter", "Func": "emitInlineAsmEnd", "Target": "Z80old", "Target_Clf": "MPU", "Compiler_Type": "LLVM", "Idx": 592, "Length": 81, "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": 593, "Length": 32, "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": 594, "Length": 54, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "bool", "WebAssemblyNullifyDebugValueLists", "::", "runOnMachineFunction", "(", "MachineFunction", "&", "MF", ")", "{", "LLVM_DEBUG", "(", "dbgs", "(", ")", "<<", "\"********** Nullify DBG_VALUE_LISTs **********\\n\"", "\"********** Function: \"", "<<", "MF", ".", "getName", "(", ")", "<<", "'\\n'", ")", ";", "const", "auto", "&", "TII", "=", "*", "MF", ".", "getSubtarget", "<", "WebAssemblySubtarget", ">", "(", ")", ".", "getInstrInfo", "(", ")", ";", "SmallVector", "<", "MachineInstr", "*", ",", "2", ">", "DbgValueLists", ";", "for", "(", "auto", "&", "MBB", ":", "MF", ")", "for", "(", "auto", "&", "MI", ":", "MBB", ")", "if", "(", "MI", ".", "getOpcode", "(", ")", "==", "TargetOpcode", "::", "DBG_VALUE_LIST", ")", "DbgValueLists", ".", "push_back", "(", "&", "MI", ")", ";", "for", "(", "auto", "*", "DVL", ":", "DbgValueLists", ")", "{", "BuildMI", "(", "*", "DVL", "->", "getParent", "(", ")", ",", "DVL", ",", "DVL", "->", "getDebugLoc", "(", ")", ",", "TII", ".", "get", "(", "TargetOpcode", "::", "DBG_VALUE", ")", ",", "false", ",", "Register", "(", ")", ",", "DVL", "->", "getOperand", "(", "0", ")", ".", "getMetadata", "(", ")", ",", "DVL", "->", "getOperand", "(", "1", ")", ".", "getMetadata", "(", ")", ")", ";", "DVL", "->", "eraseFromParent", "(", ")", ";", "}", "return", "!", "DbgValueLists", ".", "empty", "(", ")", ";", "}", ""], "natrual_language": ["runOnMachineFunction", "-", "Emit", "the", "function", "body", "."], "TS_V_token": ["WebAssembly", "WebAssembly", "\"********** Nullify DBG_VALUE_LISTs **********\\n\"", "\"********** Function: \"", "WebAssembly", "2", "0", "1"], "File": "WebAssemblyNullifyDebugValueLists", "Func": "runOnMachineFunction", "Target": "WebAssembly", "Target_Clf": "Virtual ISA", "Compiler_Type": "LLVM", "Idx": 595, "Length": 172, "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": 596, "Length": 77, "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": 597, "Length": 53, "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": 598, "Length": 78, "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": 599, "Length": 367, "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": 600, "Length": 35, "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": 601, "Length": 30, "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": 602, "Length": 166, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "bool", "X86TargetLowering", "::", "isNoopAddrSpaceCast", "(", "unsigned", "SrcAS", ",", "unsigned", "DestAS", ")", "const", "{", "assert", "(", "SrcAS", "!=", "DestAS", "&&", "\"Expected different address spaces!\"", ")", ";", "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)", "Func": "isNoopAddrSpaceCast", "Target": "X86", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 603, "Length": 32, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "const", "char", "*", "AMDGPUTargetLowering", "::", "getTargetNodeName", "(", "unsigned", "Opcode", ")", "const", "{", "switch", "(", "(", "AMDGPUISD", "::", "NodeType", ")", "Opcode", ")", "{", "case", "AMDGPUISD", "::", "FIRST_NUMBER", ":", "break", ";", "NODE_NAME_CASE", "(", "CALL", ")", ";", "NODE_NAME_CASE", "(", "UMUL", ")", ";", "NODE_NAME_CASE", "(", "RET_FLAG", ")", ";", "NODE_NAME_CASE", "(", "BRANCH_COND", ")", ";", "NODE_NAME_CASE", "(", "DWORDADDR", ")", "NODE_NAME_CASE", "(", "FRACT", ")", "NODE_NAME_CASE", "(", "CLAMP", ")", "NODE_NAME_CASE", "(", "COS_HW", ")", "NODE_NAME_CASE", "(", "SIN_HW", ")", "NODE_NAME_CASE", "(", "FMAX_LEGACY", ")", "NODE_NAME_CASE", "(", "FMIN_LEGACY", ")", "NODE_NAME_CASE", "(", "FMAX3", ")", "NODE_NAME_CASE", "(", "SMAX3", ")", "NODE_NAME_CASE", "(", "UMAX3", ")", "NODE_NAME_CASE", "(", "FMIN3", ")", "NODE_NAME_CASE", "(", "SMIN3", ")", "NODE_NAME_CASE", "(", "UMIN3", ")", "NODE_NAME_CASE", "(", "URECIP", ")", "NODE_NAME_CASE", "(", "DIV_SCALE", ")", "NODE_NAME_CASE", "(", "DIV_FMAS", ")", "NODE_NAME_CASE", "(", "DIV_FIXUP", ")", "NODE_NAME_CASE", "(", "TRIG_PREOP", ")", "NODE_NAME_CASE", "(", "RCP", ")", "NODE_NAME_CASE", "(", "RSQ", ")", "NODE_NAME_CASE", "(", "RSQ_LEGACY", ")", "NODE_NAME_CASE", "(", "RSQ_CLAMPED", ")", "NODE_NAME_CASE", "(", "LDEXP", ")", "NODE_NAME_CASE", "(", "FP_CLASS", ")", "NODE_NAME_CASE", "(", "DOT4", ")", "NODE_NAME_CASE", "(", "CARRY", ")", "NODE_NAME_CASE", "(", "BORROW", ")", "NODE_NAME_CASE", "(", "BFE_U32", ")", "NODE_NAME_CASE", "(", "BFE_I32", ")", "NODE_NAME_CASE", "(", "BFI", ")", "NODE_NAME_CASE", "(", "BFM", ")", "NODE_NAME_CASE", "(", "FFBH_U32", ")", "NODE_NAME_CASE", "(", "MUL_U24", ")", "NODE_NAME_CASE", "(", "MUL_I24", ")", "NODE_NAME_CASE", "(", "MAD_U24", ")", "NODE_NAME_CASE", "(", "MAD_I24", ")", "NODE_NAME_CASE", "(", "TEXTURE_FETCH", ")", "NODE_NAME_CASE", "(", "EXPORT", ")", "NODE_NAME_CASE", "(", "CONST_ADDRESS", ")", "NODE_NAME_CASE", "(", "REGISTER_LOAD", ")", "NODE_NAME_CASE", "(", "REGISTER_STORE", ")", "NODE_NAME_CASE", "(", "LOAD_CONSTANT", ")", "NODE_NAME_CASE", "(", "LOAD_INPUT", ")", "NODE_NAME_CASE", "(", "SAMPLE", ")", "NODE_NAME_CASE", "(", "SAMPLEB", ")", "NODE_NAME_CASE", "(", "SAMPLED", ")", "NODE_NAME_CASE", "(", "SAMPLEL", ")", "NODE_NAME_CASE", "(", "CVT_F32_UBYTE0", ")", "NODE_NAME_CASE", "(", "CVT_F32_UBYTE1", ")", "NODE_NAME_CASE", "(", "CVT_F32_UBYTE2", ")", "NODE_NAME_CASE", "(", "CVT_F32_UBYTE3", ")", "NODE_NAME_CASE", "(", "BUILD_VERTICAL_VECTOR", ")", "NODE_NAME_CASE", "(", "CONST_DATA_PTR", ")", "case", "AMDGPUISD", "::", "FIRST_MEM_OPCODE_NUMBER", ":", "break", ";", "NODE_NAME_CASE", "(", "SENDMSG", ")", "NODE_NAME_CASE", "(", "INTERP_MOV", ")", "NODE_NAME_CASE", "(", "INTERP_P1", ")", "NODE_NAME_CASE", "(", "INTERP_P2", ")", "NODE_NAME_CASE", "(", "STORE_MSKOR", ")", "NODE_NAME_CASE", "(", "TBUFFER_STORE_FORMAT", ")", "case", "AMDGPUISD", "::", "LAST_AMDGPU_ISD_NUMBER", ":", "break", ";", "}", "return", "nullptr", ";", "}", ""], "natrual_language": ["getTargetNodeName", "-", "This", "method", "returns", "the", "name", "of", "a", "target", "specific"], "TS_V_token": ["AMDGPU", "AMDGPU", "AMDGPUISD::NodeType", "AMDGPUISD::FIRST_NUMBER", "SI", "AMDGPUISD::FIRST_MEM_OPCODE_NUMBER", "AMDGPUISD::LAST_AMDGPU_ISD_NUMBER"], "File": "AMDGPUISelLowering45", "Func": "getTargetNodeName", "Target": "AMDGPU", "Target_Clf": "GPU", "Compiler_Type": "LLVM", "Idx": 604, "Length": 304, "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": 605, "Length": 41, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "unsigned", "VETargetLowering", "::", "getMinimumJumpTableEntries", "(", ")", "const", "{", "if", "(", "isJumpTableRelative", "(", ")", ")", "return", "8", ";", "return", "TargetLowering", "::", "getMinimumJumpTableEntries", "(", ")", ";", "}", ""], "natrual_language": ["}", "Inline", "Assembly"], "TS_V_token": ["VE", "VE", "8"], "File": "VEISelLowering11", "Func": "getMinimumJumpTableEntries", "Target": "VE", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 606, "Length": 25, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "static", "void", "m68hc11_encode_section_info", "(", "tree", "decl", ",", "rtx", "rtl", ",", "int", "first", "ATTRIBUTE_UNUSED", ")", "{", "tree", "func_attr", ";", "int", "trap_handler", ";", "int", "is_far", "=", "0", ";", "if", "(", "TREE_CODE", "(", "decl", ")", "==", "VAR_DECL", ")", "{", "if", "(", "lookup_attribute", "(", "\"page0\"", ",", "DECL_ATTRIBUTES", "(", "decl", ")", ")", "!=", "0", ")", "m68hc11_encode_label", "(", "decl", ")", ";", "return", ";", "}", "if", "(", "TREE_CODE", "(", "decl", ")", "!=", "FUNCTION_DECL", ")", "return", ";", "func_attr", "=", "TYPE_ATTRIBUTES", "(", "TREE_TYPE", "(", "decl", ")", ")", ";", "if", "(", "lookup_attribute", "(", "\"far\"", ",", "func_attr", ")", "!=", "NULL_TREE", ")", "is_far", "=", "1", ";", "else", "if", "(", "lookup_attribute", "(", "\"near\"", ",", "func_attr", ")", "==", "NULL_TREE", ")", "is_far", "=", "TARGET_LONG_CALLS", "!=", "0", ";", "trap_handler", "=", "lookup_attribute", "(", "\"trap\"", ",", "func_attr", ")", "!=", "NULL_TREE", ";", "if", "(", "trap_handler", "&&", "is_far", ")", "{", "warning", "(", "OPT_Wattributes", ",", "\"% and % attributes are \"", "\"not compatible, ignoring %\"", ")", ";", "trap_handler", "=", "0", ";", "}", "if", "(", "trap_handler", ")", "{", "if", "(", "trap_handler_symbol", "!=", "0", ")", "warning", "(", "OPT_Wattributes", ",", "\"% attribute is already used\"", ")", ";", "else", "trap_handler_symbol", "=", "XEXP", "(", "rtl", ",", "0", ")", ";", "}", "SYMBOL_REF_FLAG", "(", "XEXP", "(", "rtl", ",", "0", ")", ")", "=", "is_far", ";", "}", ""], "natrual_language": ["We", "want", "to", "recognize", "trap", "handlers", "so", "that", "we", "handle", "calls", "to", "traps", "in", "a", "special", "manner", "(", "by", "issuing", "the", "trap", ")", ".", "This", "information", "is", "stored", "in", "SYMBOL_REF_FLAG", "."], "TS_V_token": ["m68hc11", "0", "\"page0\"", "0", "\"far\"", "1", "\"near\"", "0", "\"trap\"", "\"% and % attributes are \"", "\"not compatible, ignoring %\"", "0", "0", "\"% attribute is already used\"", "0", "0"], "File": "m68hc111", "Func": "m68hc11_encode_section_info", "Target": "m68hc11", "Target_Clf": "MPU", "Compiler_Type": "GCC", "Idx": 607, "Length": 185, "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": 608, "Length": 129, "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": 609, "Length": 482, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "void", "XCoreTargetLowering", "::", "ReplaceNodeResults", "(", "SDNode", "*", "N", ",", "SmallVectorImpl", "<", "SDValue", ">", "&", "Results", ",", "SelectionDAG", "&", "DAG", ")", "{", "switch", "(", "N", "->", "getOpcode", "(", ")", ")", "{", "default", ":", "llvm_unreachable", "(", "\"Don't know how to custom expand this!\"", ")", ";", "return", ";", "case", "ISD", "::", "ADD", ":", "case", "ISD", "::", "SUB", ":", "Results", ".", "push_back", "(", "ExpandADDSUB", "(", "N", ",", "DAG", ")", ")", ";", "return", ";", "}", "}", ""], "natrual_language": ["ReplaceNodeResults", "-", "Replace", "the", "results", "of", "node", "with", "an", "illegal", "result", "type", "with", "new", "values", "built", "out", "of", "custom", "code", "."], "TS_V_token": ["XCore", "XCore", "\"Don't know how to custom expand this!\"", "ISD::ADD", "ISD::SUB"], "File": "XCoreISelLowering43", "Func": "ReplaceNodeResults", "Target": "XCore", "Target_Clf": "MPU", "Compiler_Type": "LLVM", "Idx": 610, "Length": 65, "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": 611, "Length": 367, "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": 612, "Length": 13, "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": 613, "Length": 191, "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": 614, "Length": 74, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "static", "void", "visium_save_regs", "(", "int", "alloc", ",", "int", "offset", ",", "int", "low_regno", ",", "int", "high_regno", ")", "{", "const", "int", "volatile_p", "=", "current_frame_info", ".", "interrupt", ";", "int", "regno", ";", "emit_frame_insn", "(", "gen_addsi3_flags", "(", "stack_pointer_rtx", ",", "stack_pointer_rtx", ",", "GEN_INT", "(", "-", "alloc", ")", ")", ")", ";", "for", "(", "regno", "=", "low_regno", ";", "regno", "<=", "high_regno", ";", "regno", "++", ")", "{", "enum", "reg_type", "reg_type", "=", "GET_REG_TYPE", "(", "regno", ")", ";", "int", "mask_bit", "=", "1", "<<", "(", "regno", "-", "first_regno", "[", "reg_type", "]", ")", ";", "rtx", "insn", ";", "if", "(", "current_frame_info", ".", "mask", "[", "reg_type", "]", "&", "mask_bit", ")", "{", "offset", "-=", "reg_type_size", "[", "reg_type", "]", ";", "switch", "(", "reg_type", ")", "{", "case", "general", ":", "{", "rtx", "mem", "=", "gen_frame_mem", "(", "SImode", ",", "plus_constant", "(", "Pmode", ",", "stack_pointer_rtx", ",", "offset", ")", ")", ";", "MEM_VOLATILE_P", "(", "mem", ")", "=", "volatile_p", ";", "emit_frame_insn", "(", "gen_movsi", "(", "mem", ",", "gen_rtx_REG", "(", "SImode", ",", "regno", ")", ")", ")", ";", "}", "break", ";", "case", "mdb", ":", "{", "rtx", "tmp", "=", "gen_rtx_REG", "(", "DImode", ",", "PROLOGUE_TMP_REGNUM", ")", ";", "rtx", "mem", "=", "gen_frame_mem", "(", "DImode", ",", "plus_constant", "(", "Pmode", ",", "stack_pointer_rtx", ",", "offset", ")", ")", ";", "rtx", "reg", "=", "gen_rtx_REG", "(", "DImode", ",", "regno", ")", ";", "MEM_VOLATILE_P", "(", "mem", ")", "=", "volatile_p", ";", "emit_insn", "(", "gen_movdi", "(", "tmp", ",", "reg", ")", ")", ";", "if", "(", "volatile_p", ")", "emit_insn", "(", "gen_movdi", "(", "mem", ",", "tmp", ")", ")", ";", "else", "{", "insn", "=", "emit_frame_insn", "(", "gen_movdi", "(", "mem", ",", "tmp", ")", ")", ";", "add_reg_note", "(", "insn", ",", "REG_FRAME_RELATED_EXPR", ",", "gen_rtx_SET", "(", "mem", ",", "reg", ")", ")", ";", "}", "}", "break", ";", "case", "mdc", ":", "{", "rtx", "tmp", "=", "gen_rtx_REG", "(", "SImode", ",", "PROLOGUE_TMP_REGNUM", ")", ";", "rtx", "mem", "=", "gen_frame_mem", "(", "SImode", ",", "plus_constant", "(", "Pmode", ",", "stack_pointer_rtx", ",", "offset", ")", ")", ";", "rtx", "reg", "=", "gen_rtx_REG", "(", "SImode", ",", "regno", ")", ";", "MEM_VOLATILE_P", "(", "mem", ")", "=", "volatile_p", ";", "emit_insn", "(", "gen_movsi", "(", "tmp", ",", "reg", ")", ")", ";", "insn", "=", "emit_frame_insn", "(", "gen_movsi", "(", "mem", ",", "tmp", ")", ")", ";", "add_reg_note", "(", "insn", ",", "REG_FRAME_RELATED_EXPR", ",", "gen_rtx_SET", "(", "mem", ",", "reg", ")", ")", ";", "}", "break", ";", "case", "floating", ":", "{", "rtx", "tmp", "=", "gen_rtx_REG", "(", "SFmode", ",", "PROLOGUE_TMP_REGNUM", ")", ";", "rtx", "mem", "=", "gen_frame_mem", "(", "SFmode", ",", "plus_constant", "(", "Pmode", ",", "stack_pointer_rtx", ",", "offset", ")", ")", ";", "rtx", "reg", "=", "gen_rtx_REG", "(", "SFmode", ",", "regno", ")", ";", "MEM_VOLATILE_P", "(", "mem", ")", "=", "volatile_p", ";", "emit_insn", "(", "gen_movsf", "(", "tmp", ",", "reg", ")", ")", ";", "insn", "=", "emit_frame_insn", "(", "gen_movsf", "(", "mem", ",", "tmp", ")", ")", ";", "add_reg_note", "(", "insn", ",", "REG_FRAME_RELATED_EXPR", ",", "gen_rtx_SET", "(", "mem", ",", "reg", ")", ")", ";", "}", "break", ";", "default", ":", "break", ";", "}", "}", "}", "}", ""], "natrual_language": ["Allocate", "ALLOC", "bytes", "on", "the", "stack", "and", "save", "the", "registers", "LOW_REGNO", "to", "HIGH_REGNO", "at", "OFFSET", "from", "the", "stack", "pointer", "."], "TS_V_token": ["visium", "1"], "File": "visium", "Func": "visium_save_regs", "Target": "visium", "Target_Clf": "Virtual ISA", "Compiler_Type": "GCC", "Idx": 615, "Length": 440, "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": 616, "Length": 50, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "const", "char", "*", "getPassName", "(", ")", "const", "{", "return", "\"Hexagon optimize redundant zero and size extends\"", ";", "}", ""], "natrual_language": ["getPassName", "-", "Return", "a", "nice", "clean", "name", "for", "a", "pass", "."], "TS_V_token": ["Hexagon", "\"Hexagon optimize redundant zero and size extends\""], "File": "HexagonPeephole11", "Func": "getPassName", "Target": "Hexagon", "Target_Clf": "DSP", "Compiler_Type": "LLVM", "Idx": 617, "Length": 12, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "static", "void", "frv_frame_access_standard_regs", "(", "enum", "frv_stack_op", "op", ",", "frv_stack_t", "*", "info", ")", "{", "frv_frame_accessor_t", "accessor", ";", "accessor", ".", "op", "=", "op", ";", "accessor", ".", "base", "=", "stack_pointer_rtx", ";", "accessor", ".", "base_offset", "=", "0", ";", "frv_frame_access_multi", "(", "&", "accessor", ",", "info", ",", "STACK_REGS_GPR", ")", ";", "frv_frame_access_multi", "(", "&", "accessor", ",", "info", ",", "STACK_REGS_FPR", ")", ";", "frv_frame_access_multi", "(", "&", "accessor", ",", "info", ",", "STACK_REGS_LCR", ")", ";", "}", ""], "natrual_language": ["Save", "or", "restore", "callee-saved", "registers", "that", "are", "kept", "outside", "the", "frame", "header", ".", "The", "function", "saves", "the", "registers", "if", "OP", "is", "FRV_STORE", "and", "restores", "them", "if", "OP", "is", "FRV_LOAD", ".", "INFO", "is", "the", "stack", "information", "generated", "by", "frv_stack_info", "."], "TS_V_token": ["frv", "0"], "File": "frv", "Func": "frv_frame_access_standard_regs", "Target": "frv", "Target_Clf": "VLIW", "Compiler_Type": "GCC", "Idx": 618, "Length": 65, "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": 619, "Length": 29, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "rtx", "nvptx_expand_compare", "(", "rtx", "compare", ")", "{", "rtx", "pred", "=", "gen_reg_rtx", "(", "BImode", ")", ";", "rtx", "cmp", "=", "gen_rtx_fmt_ee", "(", "GET_CODE", "(", "compare", ")", ",", "BImode", ",", "XEXP", "(", "compare", ",", "0", ")", ",", "XEXP", "(", "compare", ",", "1", ")", ")", ";", "emit_insn", "(", "gen_rtx_SET", "(", "VOIDmode", ",", "pred", ",", "cmp", ")", ")", ";", "return", "gen_rtx_NE", "(", "BImode", ",", "pred", ",", "const0_rtx", ")", ";", "}", ""], "natrual_language": ["Emit", "a", "comparison", "COMPARE", ",", "and", "return", "the", "new", "test", "to", "be", "used", "in", "the", "jump", "."], "TS_V_token": ["nvptx", "0", "1"], "File": "nvptx2", "Func": "nvptx_expand_compare", "Target": "nvptx", "Target_Clf": "GPU", "Compiler_Type": "GCC", "Idx": 620, "Length": 65, "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": 621, "Length": 350, "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": 622, "Length": 365, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "AAAMDWorkGroupSize", "&", "AAAMDWorkGroupSize", "::", "createForPosition", "(", "const", "IRPosition", "&", "IRP", ",", "Attributor", "&", "A", ")", "{", "if", "(", "IRP", ".", "getPositionKind", "(", ")", "==", "IRPosition", "::", "IRP_FUNCTION", ")", "return", "*", "new", "(", "A", ".", "Allocator", ")", "AAAMDWorkGroupSizeFunction", "(", "IRP", ",", "A", ")", ";", "llvm_unreachable", "(", "\"AAAMDWorkGroupSize is only valid for function position\"", ")", ";", "}", ""], "natrual_language": ["Create", "an", "abstract", "attribute", "view", "for", "the", "position", "IRP", "."], "TS_V_token": ["AMDGPU", "\"AAAMDWorkGroupSize is only valid for function position\""], "File": "AMDGPUAttributor5", "Func": "createForPosition", "Target": "AMDGPU", "Target_Clf": "GPU", "Compiler_Type": "LLVM", "Idx": 623, "Length": 49, "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": 624, "Length": 74, "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": 625, "Length": 254, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "bool", "X86TargetLowering", "::", "getSafeStackPointerLocation", "(", "unsigned", "&", "AddressSpace", ",", "unsigned", "&", "Offset", ")", "const", "{", "if", "(", "!", "Subtarget", "->", "isTargetAndroid", "(", ")", ")", "return", "false", ";", "if", "(", "Subtarget", "->", "is64Bit", "(", ")", ")", "{", "Offset", "=", "0x48", ";", "if", "(", "getTargetMachine", "(", ")", ".", "getCodeModel", "(", ")", "==", "CodeModel", "::", "Kernel", ")", "AddressSpace", "=", "256", ";", "else", "AddressSpace", "=", "257", ";", "}", "else", "{", "Offset", "=", "0x24", ";", "AddressSpace", "=", "256", ";", "}", "return", "true", ";", "}", ""], "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": "X86ISelLowering1", "Func": "getSafeStackPointerLocation", "Target": "X86", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 626, "Length": 79, "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": 627, "Length": 225, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "void", "WebAssemblyFrameLowering", "::", "emitPrologue", "(", "MachineFunction", "&", "MF", ",", "MachineBasicBlock", "&", "MBB", ")", "const", "{", "}", ""], "natrual_language": ["emitProlog/emitEpilog", "-", "These", "methods", "insert", "prolog", "and", "epilog", "code", "into", "the", "function", "."], "TS_V_token": ["WebAssembly", "WebAssembly"], "File": "WebAssemblyFrameLowering23", "Func": "emitPrologue", "Target": "WebAssembly", "Target_Clf": "Virtual ISA", "Compiler_Type": "LLVM", "Idx": 628, "Length": 16, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "static", "HOST_WIDE_INT", "cris_preferred_mininum_alignment", "(", "void", ")", "{", "if", "(", "!", "TARGET_CONST_ALIGN", ")", "return", "8", ";", "if", "(", "TARGET_ALIGN_BY_32", ")", "return", "32", ";", "return", "16", ";", "}", ""], "natrual_language": ["Return", "the", "preferred", "minimum", "alignment", "for", "a", "static", "object", "."], "TS_V_token": ["cris", "8", "32", "16"], "File": "cris7", "Func": "cris_preferred_mininum_alignment", "Target": "cris", "Target_Clf": "MPU", "Compiler_Type": "GCC", "Idx": 629, "Length": 26, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "bool", "AMDGPUAsmParser", "::", "ParseDirective", "(", "AsmToken", "DirectiveID", ")", "{", "StringRef", "IDVal", "=", "DirectiveID", ".", "getString", "(", ")", ";", "if", "(", "IDVal", "==", "\".hsa_code_object_version\"", ")", "return", "ParseDirectiveHSACodeObjectVersion", "(", ")", ";", "if", "(", "IDVal", "==", "\".hsa_code_object_isa\"", ")", "return", "ParseDirectiveHSACodeObjectISA", "(", ")", ";", "if", "(", "IDVal", "==", "\".amd_kernel_code_t\"", ")", "return", "ParseDirectiveAMDKernelCodeT", "(", ")", ";", "if", "(", "IDVal", "==", "\".hsatext\"", "||", "IDVal", "==", "\".text\"", ")", "return", "ParseSectionDirectiveHSAText", "(", ")", ";", "if", "(", "IDVal", "==", "\".amdgpu_hsa_kernel\"", ")", "return", "ParseDirectiveAMDGPUHsaKernel", "(", ")", ";", "return", "true", ";", "}", ""], "natrual_language": ["ParseDirective", "-", "Parse", "a", "target", "specific", "assembler", "directive", "This", "method", "is", "deprecated", ",", "use", "'parseDirective", "'", "instead", "."], "TS_V_token": ["AMDGPU", "AMDGPU", "\".hsa_code_object_version\"", "\".hsa_code_object_isa\"", "\".amd_kernel_code_t\"", "\".hsatext\"", "\".text\"", "\".amdgpu_hsa_kernel\"", "AMDGPU"], "File": "AMDGPUAsmParser56", "Func": "ParseDirective", "Target": "AMDGPU", "Target_Clf": "GPU", "Compiler_Type": "LLVM", "Idx": 630, "Length": 81, "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": 631, "Length": 148, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "static", "int", "alpha_register_move_cost", "(", "machine_mode", ",", "reg_class_t", "from", ",", "reg_class_t", "to", ")", "{", "if", "(", "(", "from", "==", "FLOAT_REGS", ")", "==", "(", "to", "==", "FLOAT_REGS", ")", ")", "return", "2", ";", "if", "(", "TARGET_FIX", ")", "return", "(", "from", "==", "FLOAT_REGS", ")", "?", "6", ":", "8", ";", "return", "4", "+", "2", "*", "alpha_memory_latency", ";", "}", ""], "natrual_language": ["Return", "the", "cost", "of", "moving", "between", "registers", "of", "various", "classes", ".", "Moving", "between", "FLOAT_REGS", "and", "anything", "else", "except", "float", "regs", "is", "expensive", ".", "In", "fact", ",", "we", "make", "it", "quite", "expensive", "because", "we", "really", "do", "n't", "want", "to", "do", "these", "moves", "unless", "it", "is", "clearly", "worth", "it", ".", "Optimizations", "may", "reduce", "the", "impact", "of", "not", "being", "able", "to", "allocate", "a", "pseudo", "to", "a", "hard", "register", "."], "TS_V_token": ["alpha", "2", "6", "8", "4", "2"], "File": "alpha", "Func": "alpha_register_move_cost", "Target": "alpha", "Target_Clf": "MPU", "Compiler_Type": "GCC", "Idx": 632, "Length": 53, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "WebAssemblyTargetMachine", "::", "WebAssemblyTargetMachine", "(", "const", "Target", "&", "T", ",", "const", "Triple", "&", "TT", ",", "StringRef", "CPU", ",", "StringRef", "FS", ",", "const", "TargetOptions", "&", "Options", ",", "Reloc", "::", "Model", "RM", ",", "CodeModel", "::", "Model", "CM", ",", "CodeGenOpt", "::", "Level", "OL", ")", ":", "LLVMTargetMachine", "(", "T", ",", "TT", ".", "isArch64Bit", "(", ")", "?", "\"e-p:64:64-i64:64-v128:8:128-n32:64-S128\"", ":", "\"e-p:32:32-i64:64-v128:8:128-n32:64-S128\"", ",", "TT", ",", "CPU", ",", "FS", ",", "Options", ",", "RM", ",", "CM", ",", "OL", ")", ",", "TLOF", "(", "make_unique", "<", "WebAssemblyTargetObjectFile", ">", "(", ")", ")", "{", "initAsmInfo", "(", ")", ";", "setRequiresStructuredCFG", "(", "true", ")", ";", "}", ""], "natrual_language": ["Create", "an", "WebAssembly", "architecture", "model", "."], "TS_V_token": ["WebAssembly", "WebAssembly", "WebAssembly", "\"e-p:64:64-i64:64-v128:8:128-n32:64-S128\"", "\"e-p:32:32-i64:64-v128:8:128-n32:64-S128\"", "WebAssembly"], "File": "WebAssemblyTargetMachine2", "Func": "WebAssemblyTargetMachine", "Target": "WebAssembly", "Target_Clf": "Virtual ISA", "Compiler_Type": "LLVM", "Idx": 633, "Length": 90, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "void", "connect", "(", "Node", "&", "n", ",", "SPScope", "::", "Edge", "e", ")", "{", "outedges", "[", "&", "n", "]", "=", "e", ";", "connect", "(", "n", ")", ";", "}", ""], "natrual_language": ["Assuming", "nodes", "Src", "and", "Dst", "are", "already", "in", "the", "graph", ",", "connect", "node", "Src", "to", "node", "Dst", "using", "the", "provided", "edge", "E", "."], "TS_V_token": ["Patmos"], "File": "SPScope", "Func": "connect", "Target": "Patmos", "Target_Clf": "VLIW", "Compiler_Type": "LLVM", "Idx": 634, "Length": 27, "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": 635, "Length": 339, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "int", "arc_register_move_cost", "(", "machine_mode", ",", "enum", "reg_class", "from_class", ",", "enum", "reg_class", "to_class", ")", "{", "if", "(", "TARGET_ARC600", ")", "{", "if", "(", "to_class", "==", "MPY_WRITABLE_CORE_REGS", ")", "return", "3", ";", "else", "if", "(", "to_class", "==", "LPCOUNT_REG", ")", "return", "6", ";", "else", "if", "(", "to_class", "==", "WRITABLE_CORE_REGS", ")", "return", "6", ";", "}", "if", "(", "TARGET_ARC700", "&&", "(", "from_class", "==", "LPCOUNT_REG", "||", "from_class", "==", "ALL_CORE_REGS", "||", "from_class", "==", "WRITABLE_CORE_REGS", ")", ")", "return", "8", ";", "if", "(", "(", "TARGET_ARC700", "||", "TARGET_EM", ")", "&&", "TARGET_DPFP", "&&", "from_class", "==", "DOUBLE_REGS", "&&", "to_class", "==", "DOUBLE_REGS", ")", "return", "100", ";", "return", "2", ";", "}", ""], "natrual_language": ["Implement", "TARGET_REGISTER_MOVE_COST", "."], "TS_V_token": ["arc", "3", "6", "6", "8", "100", "2"], "File": "arc6", "Func": "arc_register_move_cost", "Target": "arc", "Target_Clf": "MPU", "Compiler_Type": "GCC", "Idx": 636, "Length": 95, "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": 637, "Length": 167, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "static", "int", "arc_save_callee_enter", "(", "uint64_t", "gmask", ",", "bool", "save_blink", ",", "bool", "save_fp", ",", "HOST_WIDE_INT", "offset", ")", "{", "int", "start_reg", "=", "ENTER_LEAVE_START_REG", ";", "int", "end_reg", "=", "ENTER_LEAVE_END_REG", ";", "int", "regno", ",", "indx", ",", "off", ",", "nregs", ";", "rtx", "insn", ",", "reg", ",", "mem", ";", "int", "frame_allocated", "=", "0", ";", "for", "(", "regno", "=", "start_reg", ";", "regno", "<=", "end_reg", "&&", "(", "gmask", "&", "(", "1ULL", "<<", "regno", ")", ")", ";", ")", "regno", "++", ";", "end_reg", "=", "regno", "-", "1", ";", "nregs", "=", "end_reg", "-", "start_reg", "+", "1", ";", "nregs", "+=", "save_blink", "?", "1", ":", "0", ";", "nregs", "+=", "save_fp", "?", "1", ":", "0", ";", "if", "(", "offset", ")", "frame_stack_add", "(", "offset", ")", ";", "insn", "=", "gen_rtx_PARALLEL", "(", "VOIDmode", ",", "rtvec_alloc", "(", "nregs", "+", "(", "save_fp", "?", "1", ":", "0", ")", "+", "1", ")", ")", ";", "indx", "=", "0", ";", "reg", "=", "gen_rtx_SET", "(", "stack_pointer_rtx", ",", "plus_constant", "(", "Pmode", ",", "stack_pointer_rtx", ",", "-", "nregs", "*", "UNITS_PER_WORD", ")", ")", ";", "RTX_FRAME_RELATED_P", "(", "reg", ")", "=", "1", ";", "XVECEXP", "(", "insn", ",", "0", ",", "indx", "++", ")", "=", "reg", ";", "off", "=", "nregs", "*", "UNITS_PER_WORD", ";", "if", "(", "save_blink", ")", "{", "reg", "=", "gen_rtx_REG", "(", "Pmode", ",", "RETURN_ADDR_REGNUM", ")", ";", "mem", "=", "gen_frame_mem", "(", "Pmode", ",", "plus_constant", "(", "Pmode", ",", "stack_pointer_rtx", ",", "-", "off", ")", ")", ";", "XVECEXP", "(", "insn", ",", "0", ",", "indx", ")", "=", "gen_rtx_SET", "(", "mem", ",", "reg", ")", ";", "RTX_FRAME_RELATED_P", "(", "XVECEXP", "(", "insn", ",", "0", ",", "indx", "++", ")", ")", "=", "1", ";", "off", "-=", "UNITS_PER_WORD", ";", "save_blink", "=", "false", ";", "}", "for", "(", "regno", "=", "start_reg", ";", "regno", "<=", "end_reg", ";", "regno", "++", ",", "indx", "++", ",", "off", "-=", "UNITS_PER_WORD", ")", "{", "reg", "=", "gen_rtx_REG", "(", "SImode", ",", "regno", ")", ";", "mem", "=", "gen_frame_mem", "(", "SImode", ",", "plus_constant", "(", "Pmode", ",", "stack_pointer_rtx", ",", "-", "off", ")", ")", ";", "XVECEXP", "(", "insn", ",", "0", ",", "indx", ")", "=", "gen_rtx_SET", "(", "mem", ",", "reg", ")", ";", "RTX_FRAME_RELATED_P", "(", "XVECEXP", "(", "insn", ",", "0", ",", "indx", ")", ")", "=", "1", ";", "gmask", "=", "gmask", "&", "~", "(", "1ULL", "<<", "regno", ")", ";", "}", "if", "(", "save_fp", ")", "{", "mem", "=", "gen_frame_mem", "(", "Pmode", ",", "plus_constant", "(", "Pmode", ",", "stack_pointer_rtx", ",", "-", "off", ")", ")", ";", "XVECEXP", "(", "insn", ",", "0", ",", "indx", ")", "=", "gen_rtx_SET", "(", "mem", ",", "hard_frame_pointer_rtx", ")", ";", "RTX_FRAME_RELATED_P", "(", "XVECEXP", "(", "insn", ",", "0", ",", "indx", "++", ")", ")", "=", "1", ";", "off", "-=", "UNITS_PER_WORD", ";", "XVECEXP", "(", "insn", ",", "0", ",", "indx", ")", "=", "gen_rtx_SET", "(", "hard_frame_pointer_rtx", ",", "stack_pointer_rtx", ")", ";", "RTX_FRAME_RELATED_P", "(", "XVECEXP", "(", "insn", ",", "0", ",", "indx", "++", ")", ")", "=", "1", ";", "save_fp", "=", "false", ";", "}", "gcc_assert", "(", "off", "==", "0", ")", ";", "insn", "=", "frame_insn", "(", "insn", ")", ";", "add_reg_note", "(", "insn", ",", "REG_INC", ",", "stack_pointer_rtx", ")", ";", "frame_allocated", "=", "nregs", "*", "UNITS_PER_WORD", ";", "return", "frame_allocated", "-", "offset", ";", "}", ""], "natrual_language": ["ARC", "prologue", ",", "save", "the", "registers", "using", "enter", "instruction", ".", "Leave", "instruction", "can", "also", "save", "$", "blink", "(", "SAVE_BLINK", ")", "and", "$", "fp", "(", "SAVE_FP", ")", "register", "."], "TS_V_token": ["arc", "0", "1ULL", "1", "1", "1", "0", "1", "0", "1", "0", "1", "0", "1", "0", "0", "0", "1", "0", "0", "1", "1ULL", "0", "0", "1", "0", "0", "1", "0"], "File": "arc1", "Func": "arc_save_callee_enter", "Target": "arc", "Target_Clf": "MPU", "Compiler_Type": "GCC", "Idx": 638, "Length": 469, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "bool", "canHaveNonUndefGlobalInitializerInAddressSpace", "(", "unsigned", "AS", ")", "const", "{", "return", "AS", "!=", "AddressSpace", "::", "ADDRESS_SPACE_SHARED", "&&", "AS", "!=", "AddressSpace", "::", "ADDRESS_SPACE_LOCAL", "&&", "AS", "!=", "ADDRESS_SPACE_PARAM", ";", "}", ""], "natrual_language": ["Return", "true", "if", "globals", "in", "this", "address", "space", "can", "have", "initializers", "other", "than", "undef", "."], "TS_V_token": ["NVPTX"], "File": "NVPTXTargetTransformInfo21", "Func": "canHaveNonUndefGlobalInitializerInAddressSpace", "Target": "NVPTX", "Target_Clf": "GPU", "Compiler_Type": "LLVM", "Idx": 639, "Length": 26, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "DFAPacketizer", "*", "PatmosInstrInfo", "::", "CreateTargetScheduleState", "(", "const", "TargetMachine", "*", "TM", ",", "const", "ScheduleDAG", "*", "DAG", ")", "const", "{", "const", "InstrItineraryData", "*", "II", "=", "TM", "->", "getInstrItineraryData", "(", ")", ";", "return", "TM", "->", "getSubtarget", "<", "PatmosGenSubtargetInfo", ">", "(", ")", ".", "createDFAPacketizer", "(", "II", ")", ";", "}", ""], "natrual_language": ["Create", "machine", "specific", "model", "for", "scheduling", "."], "TS_V_token": ["Patmos", "Patmos", "Patmos"], "File": "PatmosInstrInfo", "Func": "CreateTargetScheduleState", "Target": "Patmos", "Target_Clf": "VLIW", "Compiler_Type": "LLVM", "Idx": 640, "Length": 45, "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": 641, "Length": 131, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "static", "bool", "msp430_special_register_convention_p", "(", "const", "char", "*", "name", ")", "{", "int", "i", ";", "for", "(", "i", "=", "0", ";", "special_convention_function_names", "[", "i", "]", ";", "i", "++", ")", "if", "(", "!", "strcmp", "(", "name", ",", "special_convention_function_names", "[", "i", "]", ")", ")", "return", "true", ";", "return", "false", ";", "}", ""], "natrual_language": ["TRUE", "if", "the", "function", "passed", "is", "a", "``", "speical", "''", "function", ".", "Special", "functions", "pass", "two", "DImode", "parameters", "in", "registers", "."], "TS_V_token": ["msp430", "0"], "File": "msp4302", "Func": "msp430_special_register_convention_p", "Target": "msp430", "Target_Clf": "MPU", "Compiler_Type": "GCC", "Idx": 642, "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", "+=", "\"_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": 643, "Length": 412, "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": 644, "Length": 155, "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": 645, "Length": 158, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "static", "void", "fr30_asm_trampoline_template", "(", "FILE", "*", "f", ")", "{", "fprintf", "(", "f", ",", "\"\\tnop\\n\"", ")", ";", "fprintf", "(", "f", ",", "\"\\tldi:32\\t#0, %s\\n\"", ",", "reg_names", "[", "STATIC_CHAIN_REGNUM", "]", ")", ";", "fprintf", "(", "f", ",", "\"\\tnop\\n\"", ")", ";", "fprintf", "(", "f", ",", "\"\\tldi:32\\t#0, %s\\n\"", ",", "reg_names", "[", "COMPILER_SCRATCH_REGISTER", "]", ")", ";", "fprintf", "(", "f", ",", "\"\\tjmp\\t@%s\\n\"", ",", "reg_names", "[", "COMPILER_SCRATCH_REGISTER", "]", ")", ";", "}", ""], "natrual_language": ["Implement", "TARGET_ASM_TRAMPOLINE_TEMPLATE", ".", "On", "the", "FR30", ",", "the", "trampoline", "is", ":", "nop", "ldi:32", "STATIC", ",", "r12", "nop", "ldi:32", "FUNCTION", ",", "r0", "jmp", "@", "r0", "The", "no-ops", "are", "to", "guarantee", "that", "the", "static", "chain", "and", "final", "target", "are", "32", "bit", "aligned", "within", "the", "trampoline", ".", "That", "allows", "us", "to", "initialize", "those", "locations", "with", "simple", "SImode", "stores", ".", "The", "alternative", "would", "be", "to", "use", "HImode", "stores", "."], "TS_V_token": ["fr30", "\"\\tnop\\n\"", "\"\\tldi:32\\t#0, %s\\n\"", "\"\\tnop\\n\"", "\"\\tldi:32\\t#0, %s\\n\"", "\"\\tjmp\\t@%s\\n\""], "File": "fr30", "Func": "fr30_asm_trampoline_template", "Target": "fr30", "Target_Clf": "DSP", "Compiler_Type": "GCC", "Idx": 646, "Length": 60, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "static", "int", "ia32_multipass_dfa_lookahead", "(", "void", ")", "{", "if", "(", "ix86_tune", "==", "PROCESSOR_PENTIUM", ")", "return", "2", ";", "if", "(", "ix86_tune", "==", "PROCESSOR_PENTIUMPRO", "||", "ix86_tune", "==", "PROCESSOR_K6", ")", "return", "1", ";", "else", "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", "0"], "File": "i3863", "Func": "ia32_multipass_dfa_lookahead", "Target": "i386", "Target_Clf": "CPU", "Compiler_Type": "GCC", "Idx": 647, "Length": 34, "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": 648, "Length": 284, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "unsigned", "AlphaCodeEmitter", "::", "getMachineOpValue", "(", "const", "MachineInstr", "&", "MI", ",", "const", "MachineOperand", "&", "MO", ")", "{", "unsigned", "rv", "=", "0", ";", "if", "(", "MO", ".", "isReg", "(", ")", ")", "{", "rv", "=", "getAlphaRegNumber", "(", "MO", ".", "getReg", "(", ")", ")", ";", "}", "else", "if", "(", "MO", ".", "isImm", "(", ")", ")", "{", "rv", "=", "MO", ".", "getImm", "(", ")", ";", "}", "else", "if", "(", "MO", ".", "isGlobal", "(", ")", "||", "MO", ".", "isSymbol", "(", ")", "||", "MO", ".", "isCPI", "(", ")", ")", "{", "DOUT", "<<", "MO", "<<", "\" is a relocated op for \"", "<<", "MI", "<<", "\"\\n\"", ";", "unsigned", "Reloc", "=", "0", ";", "int", "Offset", "=", "0", ";", "bool", "useGOT", "=", "false", ";", "switch", "(", "MI", ".", "getOpcode", "(", ")", ")", "{", "case", "Alpha", "::", "BSR", ":", "Reloc", "=", "Alpha", "::", "reloc_bsr", ";", "break", ";", "case", "Alpha", "::", "LDLr", ":", "case", "Alpha", "::", "LDQr", ":", "case", "Alpha", "::", "LDBUr", ":", "case", "Alpha", "::", "LDWUr", ":", "case", "Alpha", "::", "LDSr", ":", "case", "Alpha", "::", "LDTr", ":", "case", "Alpha", "::", "LDAr", ":", "case", "Alpha", "::", "STQr", ":", "case", "Alpha", "::", "STLr", ":", "case", "Alpha", "::", "STWr", ":", "case", "Alpha", "::", "STBr", ":", "case", "Alpha", "::", "STSr", ":", "case", "Alpha", "::", "STTr", ":", "Reloc", "=", "Alpha", "::", "reloc_gprellow", ";", "break", ";", "case", "Alpha", "::", "LDAHr", ":", "Reloc", "=", "Alpha", "::", "reloc_gprelhigh", ";", "break", ";", "case", "Alpha", "::", "LDQl", ":", "Reloc", "=", "Alpha", "::", "reloc_literal", ";", "useGOT", "=", "true", ";", "break", ";", "case", "Alpha", "::", "LDAg", ":", "case", "Alpha", "::", "LDAHg", ":", "Reloc", "=", "Alpha", "::", "reloc_gpdist", ";", "Offset", "=", "MI", ".", "getOperand", "(", "3", ")", ".", "getImm", "(", ")", ";", "break", ";", "default", ":", "assert", "(", "0", "&&", "\"unknown relocatable instruction\"", ")", ";", "abort", "(", ")", ";", "}", "if", "(", "MO", ".", "isGlobal", "(", ")", ")", "MCE", ".", "addRelocation", "(", "MachineRelocation", "::", "getGV", "(", "MCE", ".", "getCurrentPCOffset", "(", ")", ",", "Reloc", ",", "MO", ".", "getGlobal", "(", ")", ",", "Offset", ",", "isa", "<", "Function", ">", "(", "MO", ".", "getGlobal", "(", ")", ")", ",", "useGOT", ")", ")", ";", "else", "if", "(", "MO", ".", "isSymbol", "(", ")", ")", "MCE", ".", "addRelocation", "(", "MachineRelocation", "::", "getExtSym", "(", "MCE", ".", "getCurrentPCOffset", "(", ")", ",", "Reloc", ",", "MO", ".", "getSymbolName", "(", ")", ",", "Offset", ",", "true", ")", ")", ";", "else", "MCE", ".", "addRelocation", "(", "MachineRelocation", "::", "getConstPool", "(", "MCE", ".", "getCurrentPCOffset", "(", ")", ",", "Reloc", ",", "MO", ".", "getIndex", "(", ")", ",", "Offset", ")", ")", ";", "}", "else", "if", "(", "MO", ".", "isMBB", "(", ")", ")", "{", "MCE", ".", "addRelocation", "(", "MachineRelocation", "::", "getBB", "(", "MCE", ".", "getCurrentPCOffset", "(", ")", ",", "Alpha", "::", "reloc_bsr", ",", "MO", ".", "getMBB", "(", ")", ")", ")", ";", "}", "else", "{", "cerr", "<<", "\"ERROR: Unknown type of MachineOperand: \"", "<<", "MO", "<<", "\"\\n\"", ";", "abort", "(", ")", ";", "}", "return", "rv", ";", "}", ""], "natrual_language": ["getMachineOpValue", "-", "Return", "binary", "encoding", "of", "operand", "."], "TS_V_token": ["Alpha", "Alpha", "0", "Alpha", "\" is a relocated op for \"", "\"\\n\"", "0", "0", "Alpha::BSR", "Alpha::reloc_bsr", "Alpha::LDLr", "Alpha::LDQr", "Alpha::LDBUr", "Alpha::LDWUr", "Alpha::LDSr", "Alpha::LDTr", "Alpha::LDAr", "Alpha::STQr", "Alpha::STLr", "Alpha::STWr", "Alpha::STBr", "Alpha::STSr", "Alpha::STTr", "Alpha::reloc_gprellow", "Alpha::LDAHr", "Alpha::reloc_gprelhigh", "Alpha::LDQl", "Alpha::reloc_literal", "Alpha::LDAg", "Alpha::LDAHg", "Alpha::reloc_gpdist", "3", "0", "\"unknown relocatable instruction\"", "Alpha::reloc_bsr", "\"ERROR: Unknown type of MachineOperand: \"", "\"\\n\""], "File": "AlphaCodeEmitter2", "Func": "getMachineOpValue", "Target": "Alpha", "Target_Clf": "MPU", "Compiler_Type": "LLVM", "Idx": 649, "Length": 447, "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": 650, "Length": 162, "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": 651, "Length": 356, "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": 652, "Length": 51, "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": 653, "Length": 47, "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": 654, "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", "*", ")", "const", "override", "{", "const", "MCFixupKindInfo", "&", "Info", "=", "getFixupKindInfo", "(", "Fixup", ".", "getKind", "(", ")", ")", ";", "Value", "=", "adjustFixupValue", "(", "Fixup", ",", "Value", ",", "&", "Asm", ".", "getContext", "(", ")", ")", ";", "unsigned", "Offset", "=", "Fixup", ".", "getOffset", "(", ")", ";", "unsigned", "NumBytes", "=", "4", ";", "uint64_t", "CurVal", "=", "0", ";", "for", "(", "unsigned", "i", "=", "0", ";", "i", "!=", "NumBytes", ";", "++", "i", ")", "{", "CurVal", "|=", "(", "uint64_t", ")", "(", "(", "uint8_t", ")", "Data", "[", "Offset", "+", "i", "]", ")", "<<", "(", "i", "*", "8", ")", ";", "}", "uint64_t", "Mask", "=", "(", "(", "uint64_t", ")", "(", "-", "1", ")", ">>", "(", "64", "-", "Info", ".", "TargetSize", ")", ")", ";", "Value", "<<=", "Info", ".", "TargetOffset", ";", "Mask", "<<=", "Info", ".", "TargetOffset", ";", "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": ["Nyuzi", "4", "0", "0", "8", "1", "64", "0", "8", "0xff"], "File": "NyuziAsmBackend", "Func": "applyFixup", "Target": "Nyuzi", "Target_Clf": "GPU", "Compiler_Type": "LLVM", "Idx": 655, "Length": 205, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "static", "rtx", "ft32_function_arg", "(", "cumulative_args_t", "cum_v", ",", "enum", "machine_mode", "mode", ",", "const_tree", "type", "ATTRIBUTE_UNUSED", ",", "bool", "named", "ATTRIBUTE_UNUSED", ")", "{", "CUMULATIVE_ARGS", "*", "cum", "=", "get_cumulative_args", "(", "cum_v", ")", ";", "if", "(", "*", "cum", "<", "8", ")", "return", "gen_rtx_REG", "(", "mode", ",", "*", "cum", ")", ";", "else", "return", "NULL_RTX", ";", "}", ""], "natrual_language": ["Return", "the", "next", "register", "to", "be", "used", "to", "hold", "a", "function", "argument", "or", "NULL_RTX", "if", "there", "'s", "no", "more", "space", "."], "TS_V_token": ["ft32", "8"], "File": "ft322", "Func": "ft32_function_arg", "Target": "ft32", "Target_Clf": "MPU", "Compiler_Type": "GCC", "Idx": 656, "Length": 50, "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": 657, "Length": 84, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "unsigned", "TLCS900RegisterInfo", "::", "getFrameRegister", "(", "const", "MachineFunction", "&", "MF", ")", "const", "{", "const", "TargetFrameLowering", "*", "TFI", "=", "MF", ".", "getTarget", "(", ")", ".", "getFrameLowering", "(", ")", ";", "return", "TFI", "->", "hasFP", "(", "MF", ")", "?", "TLCS900", "::", "FPW", ":", "TLCS900", "::", "SPW", ";", "}", ""], "natrual_language": ["Debug", "information", "queries", "."], "TS_V_token": ["TLCS900", "TLCS900", "TLCS900::FPW", "TLCS900::SPW"], "File": "TLCS900RegisterInfo", "Func": "getFrameRegister", "Target": "TLCS900", "Target_Clf": "MPU", "Compiler_Type": "LLVM", "Idx": 658, "Length": 44, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "static", "const", "char", "*", "avr_asm_len", "(", "const", "char", "*", "tpl", ",", "rtx", "*", "operands", ",", "int", "*", "plen", ",", "int", "n_words", ")", "{", "if", "(", "NULL", "==", "plen", ")", "{", "output_asm_insn", "(", "tpl", ",", "operands", ")", ";", "}", "else", "{", "if", "(", "n_words", "<", "0", ")", "*", "plen", "=", "-", "n_words", ";", "else", "*", "plen", "+=", "n_words", ";", "}", "return", "\"\"", ";", "}", ""], "natrual_language": ["Helper", "function", "to", "print", "assembler", "resp", ".", "track", "instruction", "sequence", "lengths", ".", "Always", "return", "``", "''", ".", "If", "PLEN", "==", "NULL", ":", "Output", "assembler", "code", "from", "template", "TPL", "with", "operands", "supplied", "by", "OPERANDS", ".", "This", "is", "just", "forwarding", "to", "output_asm_insn", ".", "If", "PLEN", "!", "=", "NULL", ":", "If", "N_WORDS", ">", "=", "0", "Add", "N_WORDS", "to", "*", "PLEN", ".", "If", "N_WORDS", "<", "0", "Set", "*", "PLEN", "to", "-N_WORDS", ".", "Do", "n't", "output", "anything", "."], "TS_V_token": ["avr", "0", "\"\""], "File": "avr4", "Func": "avr_asm_len", "Target": "avr", "Target_Clf": "MPU", "Compiler_Type": "GCC", "Idx": 659, "Length": 63, "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", ")", "if", "(", "BYTES_BIG_ENDIAN", ")", "perm", "[", "i", "]", "=", "GEN_INT", "(", "swaparray", "[", "i", "]", ")", ";", "else", "perm", "[", "i", "]", "=", "GEN_INT", "(", "~", "swaparray", "[", "i", "]", "&", "0x0000001f", ")", ";", "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", "0x0000001f", "16"], "File": "rs6000-call1", "Func": "swap_endian_selector_for_mode", "Target": "rs6000", "Target_Clf": "CPU", "Compiler_Type": "GCC", "Idx": 660, "Length": 304, "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": 661, "Length": 107, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "void", "MSP430InstrInfo", "::", "storeRegToStackSlot", "(", "MachineBasicBlock", "&", "MBB", ",", "MachineBasicBlock", "::", "iterator", "MI", ",", "unsigned", "SrcReg", ",", "bool", "isKill", ",", "int", "FrameIdx", ",", "const", "TargetRegisterClass", "*", "RC", ")", "const", "{", "DebugLoc", "DL", "=", "DebugLoc", "::", "getUnknownLoc", "(", ")", ";", "if", "(", "MI", "!=", "MBB", ".", "end", "(", ")", ")", "DL", "=", "MI", "->", "getDebugLoc", "(", ")", ";", "if", "(", "RC", "==", "&", "MSP430", "::", "GR16RegClass", ")", "BuildMI", "(", "MBB", ",", "MI", ",", "DL", ",", "get", "(", "MSP430", "::", "MOV16mr", ")", ")", ".", "addFrameIndex", "(", "FrameIdx", ")", ".", "addImm", "(", "0", ")", ".", "addReg", "(", "SrcReg", ",", "getKillRegState", "(", "isKill", ")", ")", ";", "else", "if", "(", "RC", "==", "&", "MSP430", "::", "GR8RegClass", ")", "BuildMI", "(", "MBB", ",", "MI", ",", "DL", ",", "get", "(", "MSP430", "::", "MOV8mr", ")", ")", ".", "addFrameIndex", "(", "FrameIdx", ")", ".", "addImm", "(", "0", ")", ".", "addReg", "(", "SrcReg", ",", "getKillRegState", "(", "isKill", ")", ")", ";", "else", "assert", "(", "0", "&&", "\"Cannot store this register to stack slot!\"", ")", ";", "}", ""], "natrual_language": ["Store", "the", "specified", "register", "of", "the", "given", "register", "class", "to", "the", "specified", "stack", "frame", "index", "."], "TS_V_token": ["MSP430", "MSP430", "MSP430::GR16RegClass", "MSP430::MOV16mr", "0", "MSP430::GR8RegClass", "MSP430::MOV8mr", "0", "0", "\"Cannot store this register to stack slot!\""], "File": "MSP430InstrInfo14", "Func": "storeRegToStackSlot", "Target": "MSP430", "Target_Clf": "MPU", "Compiler_Type": "LLVM", "Idx": 662, "Length": 157, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "static", "bool", "need_to_save", "(", "unsigned", "int", "regno", ")", "{", "if", "(", "is_interrupt_func", "(", "cfun", "->", "decl", ")", ")", "{", "if", "(", "regno", "<", "8", ")", "return", "true", ";", "if", "(", "regno", ">", "23", ")", "return", "false", ";", "if", "(", "!", "crtl", "->", "is_leaf", "&&", "call_used_regs", "[", "regno", "]", ")", "return", "true", ";", "return", "df_regs_ever_live_p", "(", "regno", ")", ";", "}", "if", "(", "regno", "==", "FRAME_POINTER_REGNUM", "&&", "frame_pointer_needed", ")", "return", "true", ";", "if", "(", "fixed_regs", "[", "regno", "]", ")", "return", "false", ";", "if", "(", "crtl", "->", "calls_eh_return", ")", "return", "true", ";", "if", "(", "df_regs_ever_live_p", "(", "regno", ")", "&&", "!", "call_used_regs", "[", "regno", "]", ")", "return", "true", ";", "return", "false", ";", "}", ""], "natrual_language": ["Returns", "true", "if", "the", "given", "register", "needs", "to", "be", "saved", "by", "the", "current", "function", "."], "TS_V_token": ["rl78", "8", "23"], "File": "rl782", "Func": "need_to_save", "Target": "rl78", "Target_Clf": "MPU", "Compiler_Type": "GCC", "Idx": 663, "Length": 109, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "bool", "P2FrameLowering", "::", "restoreCalleeSavedRegisters", "(", "MachineBasicBlock", "&", "MBB", ",", "MachineBasicBlock", "::", "iterator", "MI", ",", "MutableArrayRef", "<", "CalleeSavedInfo", ">", "CSI", ",", "const", "TargetRegisterInfo", "*", "TRI", ")", "const", "{", "MachineFunction", "&", "MF", "=", "*", "MBB", ".", "getParent", "(", ")", ";", "const", "P2Subtarget", "&", "STI", "=", "MF", ".", "getSubtarget", "<", "P2Subtarget", ">", "(", ")", ";", "const", "TargetInstrInfo", "&", "TII", "=", "*", "STI", ".", "getInstrInfo", "(", ")", ";", "DebugLoc", "DL", "=", "MBB", ".", "findDebugLoc", "(", "MI", ")", ";", "LLVM_DEBUG", "(", "errs", "(", ")", "<<", "\"=== Function: \"", "<<", "MF", ".", "getName", "(", ")", "<<", "\" ===\\n\"", ")", ";", "LLVM_DEBUG", "(", "errs", "(", ")", "<<", "\"Restore CSRs\\n\"", ")", ";", "if", "(", "CSI", ".", "empty", "(", ")", ")", "{", "LLVM_DEBUG", "(", "errs", "(", ")", "<<", "\"--- nothing to restore\\n\"", ")", ";", "return", "false", ";", "}", "for", "(", "unsigned", "i", "=", "CSI", ".", "size", "(", ")", ";", "i", "!=", "0", ";", "--", "i", ")", "{", "unsigned", "Reg", "=", "CSI", "[", "i", "-", "1", "]", ".", "getReg", "(", ")", ";", "const", "TargetRegisterClass", "*", "RC", "=", "TRI", "->", "getMinimalPhysRegClass", "(", "Reg", ")", ";", "TII", ".", "loadRegFromStackSlot", "(", "MBB", ",", "MI", ",", "Reg", ",", "CSI", "[", "i", "-", "1", "]", ".", "getFrameIdx", "(", ")", ",", "RC", ",", "TRI", ")", ";", "LLVM_DEBUG", "(", "errs", "(", ")", "<<", "\"--- restoring \"", "<<", "Reg", "<<", "\" from index \"", "<<", "CSI", "[", "i", "-", "1", "]", ".", "getFrameIdx", "(", ")", "<<", "\"\\n\"", ")", ";", "}", "LLVM_DEBUG", "(", "errs", "(", ")", "<<", "\"\\n\"", ")", ";", "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": ["P2", "P2", "P2", "P2", "\"=== Function: \"", "\" ===\\n\"", "\"Restore CSRs\\n\"", "\"--- nothing to restore\\n\"", "0", "1", "1", "\"--- restoring \"", "\" from index \"", "1", "\"\\n\"", "\"\\n\""], "File": "P2FrameLowering", "Func": "restoreCalleeSavedRegisters", "Target": "P2", "Target_Clf": "MPU", "Compiler_Type": "LLVM", "Idx": 664, "Length": 233, "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", "=", "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", "(", "aarch64_bti_j_insn_p", "(", "next", ")", ")", "continue", ";", "bti_insn", "=", "gen_bti_j", "(", ")", ";", "emit_insn_after", "(", "bti_insn", ",", "label", ")", ";", "}", "}", "}", "if", "(", "CALL_P", "(", "insn", ")", "&&", "(", "find_reg_note", "(", "insn", ",", "REG_SETJMP", ",", "NULL", ")", ")", ")", "{", "bti_insn", "=", "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", "(", "!", "aarch64_pac_insn_p", "(", "get_first_nonnote_insn", "(", ")", ")", ")", "{", "bti_insn", "=", "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": ["aarch64", "0", "1", "0", "0", "0"], "File": "aarch64-bti-insert", "Func": "rest_of_insert_bti", "Target": "aarch64", "Target_Clf": "CPU", "Compiler_Type": "GCC", "Idx": 665, "Length": 318, "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": 666, "Length": 50, "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": 667, "Length": 10, "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": 668, "Length": 102, "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": 669, "Length": 424, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "unsigned", "int", "h8300_unary_length", "(", "rtx", "op", ")", "{", "enum", "h8300_operand_class", "class", ";", "unsigned", "int", "size", ",", "operand_length", ";", "size", "=", "GET_MODE_SIZE", "(", "GET_MODE", "(", "op", ")", ")", ";", "operand_length", "=", "h8300_classify_operand", "(", "op", ",", "size", ",", "&", "class", ")", ";", "switch", "(", "class", ")", "{", "case", "H8OP_REGISTER", ":", "return", "2", ";", "case", "H8OP_MEM_BASE", ":", "return", "(", "size", "==", "4", "?", "6", ":", "4", ")", ";", "case", "H8OP_MEM_ABSOLUTE", ":", "return", "operand_length", "+", "(", "size", "==", "4", "?", "6", ":", "4", ")", ";", "case", "H8OP_MEM_COMPLEX", ":", "return", "operand_length", "+", "6", ";", "default", ":", "gcc_unreachable", "(", ")", ";", "}", "}", "static", "unsigned", "int", "h8300_short_immediate_length", "(", "rtx", "op", ")", "{", "enum", "h8300_operand_class", "class", ";", "unsigned", "int", "size", ",", "operand_length", ";", "size", "=", "GET_MODE_SIZE", "(", "GET_MODE", "(", "op", ")", ")", ";", "operand_length", "=", "h8300_classify_operand", "(", "op", ",", "size", ",", "&", "class", ")", ";", "switch", "(", "class", ")", "{", "case", "H8OP_REGISTER", ":", "return", "2", ";", "case", "H8OP_MEM_BASE", ":", "case", "H8OP_MEM_ABSOLUTE", ":", "case", "H8OP_MEM_COMPLEX", ":", "return", "4", "+", "operand_length", ";", "default", ":", "gcc_unreachable", "(", ")", ";", "}", "}", ""], "natrual_language": ["Return", "the", "length", "of", "a", "unary", "instruction", "such", "as", "neg", "or", "not", "given", "that", "its", "operand", "is", "OP", "."], "TS_V_token": ["h8300", "2", "4", "6", "4", "4", "6", "4", "6", "2", "4"], "File": "h83003", "Func": "h8300_unary_length", "Target": "h8300", "Target_Clf": "MPU", "Compiler_Type": "GCC", "Idx": 670, "Length": 171, "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": 671, "Length": 260, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "const", "GCNSubtarget", "&", "getSubtarget", "(", ")", "const", "{", "return", "ST", ";", "}", ""], "natrual_language": ["getSubtarget", "-", "Return", "the", "subtarget", "for", "which", "this", "machine", "code", "is", "being", "compiled", "."], "TS_V_token": ["AMDGPU"], "File": "SIInstrInfo10", "Func": "getSubtarget", "Target": "AMDGPU", "Target_Clf": "GPU", "Compiler_Type": "LLVM", "Idx": 672, "Length": 12, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "bool", "X86TargetLowering", "::", "isGAPlusOffset", "(", "SDNode", "*", "N", ",", "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": "X86ISelLowering144", "Func": "isGAPlusOffset", "Target": "X86", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 673, "Length": 105, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "const", "TargetRegisterClass", "*", "JVMRegisterInfo", "::", "getPointerRegClass", "(", "const", "MachineFunction", "&", "MF", ",", "unsigned", "Kind", ")", "const", "{", "assert", "(", "Kind", "==", "0", "&&", "\"Only one kind of pointer on JVM\"", ")", ";", "if", "(", "MF", ".", "getSubtarget", "<", "JVMSubtarget", ">", "(", ")", ".", "hasAddr64", "(", ")", ")", "return", "&", "JVM", "::", "I64RegClass", ";", "return", "&", "JVM", "::", "I32RegClass", ";", "}", ""], "natrual_language": ["getPointerRegClass", "-", "Returns", "a", "TargetRegisterClass", "used", "for", "pointer", "values", "."], "TS_V_token": ["JVM", "JVM", "0", "\"Only one kind of pointer on JVM\"", "JVM", "JVM::I64RegClass", "JVM::I32RegClass"], "File": "JVMRegisterInfo", "Func": "getPointerRegClass", "Target": "JVM", "Target_Clf": "Virtual ISA", "Compiler_Type": "LLVM", "Idx": 674, "Length": 54, "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": 675, "Length": 134, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "rtx", "avr_legitimize_reload_address", "(", "rtx", "*", "px", ",", "machine_mode", "mode", ",", "int", "opnum", ",", "int", "type", ",", "int", "addr_type", ",", "int", "ind_levels", "ATTRIBUTE_UNUSED", ",", "rtx", "(", "*", "mk_memloc", ")", "(", "rtx", ",", "int", ")", ")", "{", "rtx", "x", "=", "*", "px", ";", "if", "(", "avr_log", ".", "legitimize_reload_address", ")", "avr_edump", "(", "\"\\n%?:%m %r\\n\"", ",", "mode", ",", "x", ")", ";", "if", "(", "1", "&&", "(", "GET_CODE", "(", "x", ")", "==", "POST_INC", "||", "GET_CODE", "(", "x", ")", "==", "PRE_DEC", ")", ")", "{", "push_reload", "(", "XEXP", "(", "x", ",", "0", ")", ",", "XEXP", "(", "x", ",", "0", ")", ",", "&", "XEXP", "(", "x", ",", "0", ")", ",", "&", "XEXP", "(", "x", ",", "0", ")", ",", "POINTER_REGS", ",", "GET_MODE", "(", "x", ")", ",", "GET_MODE", "(", "x", ")", ",", "0", ",", "0", ",", "opnum", ",", "RELOAD_OTHER", ")", ";", "if", "(", "avr_log", ".", "legitimize_reload_address", ")", "avr_edump", "(", "\" RCLASS.1 = %R\\n IN = %r\\n OUT = %r\\n\"", ",", "POINTER_REGS", ",", "XEXP", "(", "x", ",", "0", ")", ",", "XEXP", "(", "x", ",", "0", ")", ")", ";", "return", "x", ";", "}", "if", "(", "GET_CODE", "(", "x", ")", "==", "PLUS", "&&", "REG_P", "(", "XEXP", "(", "x", ",", "0", ")", ")", "&&", "0", "==", "reg_equiv_constant", "(", "REGNO", "(", "XEXP", "(", "x", ",", "0", ")", ")", ")", "&&", "CONST_INT_P", "(", "XEXP", "(", "x", ",", "1", ")", ")", "&&", "INTVAL", "(", "XEXP", "(", "x", ",", "1", ")", ")", ">=", "1", ")", "{", "bool", "fit", "=", "INTVAL", "(", "XEXP", "(", "x", ",", "1", ")", ")", "<=", "MAX_LD_OFFSET", "(", "mode", ")", ";", "if", "(", "fit", ")", "{", "if", "(", "reg_equiv_address", "(", "REGNO", "(", "XEXP", "(", "x", ",", "0", ")", ")", ")", "!=", "0", ")", "{", "int", "regno", "=", "REGNO", "(", "XEXP", "(", "x", ",", "0", ")", ")", ";", "rtx", "mem", "=", "mk_memloc", "(", "x", ",", "regno", ")", ";", "push_reload", "(", "XEXP", "(", "mem", ",", "0", ")", ",", "NULL_RTX", ",", "&", "XEXP", "(", "mem", ",", "0", ")", ",", "NULL", ",", "POINTER_REGS", ",", "Pmode", ",", "VOIDmode", ",", "0", ",", "0", ",", "1", ",", "(", "enum", "reload_type", ")", "addr_type", ")", ";", "if", "(", "avr_log", ".", "legitimize_reload_address", ")", "avr_edump", "(", "\" RCLASS.2 = %R\\n IN = %r\\n OUT = %r\\n\"", ",", "POINTER_REGS", ",", "XEXP", "(", "mem", ",", "0", ")", ",", "NULL_RTX", ")", ";", "push_reload", "(", "mem", ",", "NULL_RTX", ",", "&", "XEXP", "(", "x", ",", "0", ")", ",", "NULL", ",", "BASE_POINTER_REGS", ",", "GET_MODE", "(", "x", ")", ",", "VOIDmode", ",", "0", ",", "0", ",", "opnum", ",", "(", "enum", "reload_type", ")", "type", ")", ";", "if", "(", "avr_log", ".", "legitimize_reload_address", ")", "avr_edump", "(", "\" RCLASS.2 = %R\\n IN = %r\\n OUT = %r\\n\"", ",", "BASE_POINTER_REGS", ",", "mem", ",", "NULL_RTX", ")", ";", "return", "x", ";", "}", "}", "else", "if", "(", "!", "(", "frame_pointer_needed", "&&", "XEXP", "(", "x", ",", "0", ")", "==", "frame_pointer_rtx", ")", ")", "{", "push_reload", "(", "x", ",", "NULL_RTX", ",", "px", ",", "NULL", ",", "POINTER_REGS", ",", "GET_MODE", "(", "x", ")", ",", "VOIDmode", ",", "0", ",", "0", ",", "opnum", ",", "(", "enum", "reload_type", ")", "type", ")", ";", "if", "(", "avr_log", ".", "legitimize_reload_address", ")", "avr_edump", "(", "\" RCLASS.3 = %R\\n IN = %r\\n OUT = %r\\n\"", ",", "POINTER_REGS", ",", "x", ",", "NULL_RTX", ")", ";", "return", "x", ";", "}", "}", "return", "NULL_RTX", ";", "}", ""], "natrual_language": ["This", "will", "allow", "register", "R26/27", "to", "be", "used", "where", "it", "is", "no", "worse", "than", "normal", "base", "pointers", "R28/29", "or", "R30/31", ".", "For", "example", ",", "if", "base", "offset", "is", "greater", "than", "63", "bytes", "or", "for", "R++", "or", "--", "R", "addressing", "."], "TS_V_token": ["avr", "\"\\n%?:%m %r\\n\"", "1", "0", "0", "0", "0", "0", "0", "\" RCLASS.1 = %R\\n IN = %r\\n OUT = %r\\n\"", "0", "0", "0", "0", "0", "1", "1", "1", "1", "0", "0", "0", "0", "0", "0", "0", "1", "\" RCLASS.2 = %R\\n IN = %r\\n OUT = %r\\n\"", "0", "0", "0", "0", "\" RCLASS.2 = %R\\n IN = %r\\n OUT = %r\\n\"", "0", "0", "0", "\" RCLASS.3 = %R\\n IN = %r\\n OUT = %r\\n\""], "File": "avr4", "Func": "avr_legitimize_reload_address", "Target": "avr", "Target_Clf": "MPU", "Compiler_Type": "GCC", "Idx": 676, "Length": 480, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "SDValue", "AMDGPUTargetLowering", "::", "SplitVectorStore", "(", "SDValue", "Op", ",", "SelectionDAG", "&", "DAG", ")", "const", "{", "StoreSDNode", "*", "Store", "=", "cast", "<", "StoreSDNode", ">", "(", "Op", ")", ";", "EVT", "MemEltVT", "=", "Store", "->", "getMemoryVT", "(", ")", ".", "getVectorElementType", "(", ")", ";", "EVT", "EltVT", "=", "Store", "->", "getValue", "(", ")", ".", "getValueType", "(", ")", ".", "getVectorElementType", "(", ")", ";", "EVT", "PtrVT", "=", "Store", "->", "getBasePtr", "(", ")", ".", "getValueType", "(", ")", ";", "unsigned", "NumElts", "=", "Store", "->", "getMemoryVT", "(", ")", ".", "getVectorNumElements", "(", ")", ";", "SDLoc", "SL", "(", "Op", ")", ";", "SmallVector", "<", "SDValue", ",", "8", ">", "Chains", ";", "for", "(", "unsigned", "i", "=", "0", ",", "e", "=", "NumElts", ";", "i", "!=", "e", ";", "++", "i", ")", "{", "SDValue", "Val", "=", "DAG", ".", "getNode", "(", "ISD", "::", "EXTRACT_VECTOR_ELT", ",", "SL", ",", "EltVT", ",", "Store", "->", "getValue", "(", ")", ",", "DAG", ".", "getConstant", "(", "i", ",", "MVT", "::", "i32", ")", ")", ";", "SDValue", "Ptr", "=", "DAG", ".", "getNode", "(", "ISD", "::", "ADD", ",", "SL", ",", "PtrVT", ",", "Store", "->", "getBasePtr", "(", ")", ",", "DAG", ".", "getConstant", "(", "i", "*", "(", "MemEltVT", ".", "getSizeInBits", "(", ")", "/", "8", ")", ",", "PtrVT", ")", ")", ";", "Chains", ".", "push_back", "(", "DAG", ".", "getTruncStore", "(", "Store", "->", "getChain", "(", ")", ",", "SL", ",", "Val", ",", "Ptr", ",", "MachinePointerInfo", "(", "Store", "->", "getMemOperand", "(", ")", "->", "getValue", "(", ")", ")", ",", "MemEltVT", ",", "Store", "->", "isVolatile", "(", ")", ",", "Store", "->", "isNonTemporal", "(", ")", ",", "Store", "->", "getAlignment", "(", ")", ")", ")", ";", "}", "return", "DAG", ".", "getNode", "(", "ISD", "::", "TokenFactor", ",", "SL", ",", "MVT", "::", "Other", ",", "&", "Chains", "[", "0", "]", ",", "NumElts", ")", ";", "}", ""], "natrual_language": ["Split", "a", "vector", "store", "into", "2", "stores", "of", "half", "the", "vector", "."], "TS_V_token": ["R600", "8", "0", "ISD::EXTRACT_VECTOR_ELT", "MVT::i32", "ISD::ADD", "8", "ISD::TokenFactor", "MVT::Other", "0"], "File": "AMDGPUISelLowering108", "Func": "SplitVectorStore", "Target": "R600", "Target_Clf": "GPU", "Compiler_Type": "LLVM", "Idx": 677, "Length": 270, "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": 678, "Length": 12, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "const", "char", "*", "output_cbranch", "(", "rtx", "label", ",", "enum", "rtx_code", "code", ",", "machine_mode", "cc_mode", ",", "int", "reversed", ",", "rtx_insn", "*", "insn", ")", "{", "const", "char", "*", "cond", ";", "if", "(", "reversed", ")", "{", "if", "(", "cc_mode", "==", "CCFPmode", "||", "cc_mode", "==", "CCFPEmode", ")", "code", "=", "reverse_condition_maybe_unordered", "(", "code", ")", ";", "else", "code", "=", "reverse_condition", "(", "code", ")", ";", "}", "switch", "(", "code", ")", "{", "case", "NE", ":", "if", "(", "cc_mode", "==", "CCCmode", ")", "cond", "=", "\"cs\"", ";", "else", "if", "(", "cc_mode", "==", "CCVmode", ")", "cond", "=", "\"os\"", ";", "else", "cond", "=", "\"ne\"", ";", "break", ";", "case", "EQ", ":", "if", "(", "cc_mode", "==", "CCCmode", ")", "cond", "=", "\"cc\"", ";", "else", "if", "(", "cc_mode", "==", "CCVmode", ")", "cond", "=", "\"oc\"", ";", "else", "cond", "=", "\"eq\"", ";", "break", ";", "case", "GE", ":", "if", "(", "cc_mode", "==", "CCNZmode", ")", "cond", "=", "\"nc\"", ";", "else", "cond", "=", "\"ge\"", ";", "break", ";", "case", "GT", ":", "cond", "=", "\"gt\"", ";", "break", ";", "case", "LE", ":", "if", "(", "cc_mode", "==", "CCFPmode", "||", "cc_mode", "==", "CCFPEmode", ")", "cond", "=", "\"ls\"", ";", "else", "cond", "=", "\"le\"", ";", "break", ";", "case", "LT", ":", "if", "(", "cc_mode", "==", "CCFPmode", "||", "cc_mode", "==", "CCFPEmode", ")", "cond", "=", "\"cs\"", ";", "else", "if", "(", "cc_mode", "==", "CCNZmode", ")", "cond", "=", "\"ns\"", ";", "else", "cond", "=", "\"lt\"", ";", "break", ";", "case", "GEU", ":", "cond", "=", "\"cc\"", ";", "break", ";", "case", "GTU", ":", "cond", "=", "\"hi\"", ";", "break", ";", "case", "LEU", ":", "cond", "=", "\"ls\"", ";", "break", ";", "case", "LTU", ":", "cond", "=", "\"cs\"", ";", "break", ";", "case", "UNORDERED", ":", "cond", "=", "\"os\"", ";", "break", ";", "case", "ORDERED", ":", "cond", "=", "\"oc\"", ";", "break", ";", "case", "UNGE", ":", "cond", "=", "\"cc\"", ";", "break", ";", "case", "UNGT", ":", "cond", "=", "\"hi\"", ";", "break", ";", "case", "UNLE", ":", "cond", "=", "\"le\"", ";", "break", ";", "case", "UNLT", ":", "cond", "=", "\"lt\"", ";", "break", ";", "case", "UNEQ", ":", "case", "LTGT", ":", "default", ":", "gcc_unreachable", "(", ")", ";", "}", "return", "output_branch", "(", "label", ",", "cond", ",", "insn", ")", ";", "}", ""], "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": ["visium", "\"cs\"", "\"os\"", "\"ne\"", "\"cc\"", "\"oc\"", "\"eq\"", "\"nc\"", "\"ge\"", "\"gt\"", "\"ls\"", "\"le\"", "\"cs\"", "\"ns\"", "\"lt\"", "\"cc\"", "\"hi\"", "\"ls\"", "\"cs\"", "\"os\"", "\"oc\"", "\"cc\"", "\"hi\"", "\"le\"", "\"lt\""], "File": "visium", "Func": "output_cbranch", "Target": "visium", "Target_Clf": "Virtual ISA", "Compiler_Type": "GCC", "Idx": 679, "Length": 328, "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": ["AAP"], "File": "AAPAsmParser", "Func": "print", "Target": "AAP", "Target_Clf": "MPU", "Compiler_Type": "LLVM", "Idx": 680, "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": 681, "Length": 27, "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": 682, "Length": 14, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "bool", "M88kCallLowering", "::", "lowerCall", "(", "MachineIRBuilder", "&", "MIRBuilder", ",", "CallLoweringInfo", "&", "Info", ")", "const", "{", "MachineFunction", "&", "MF", "=", "MIRBuilder", ".", "getMF", "(", ")", ";", "const", "Function", "&", "F", "=", "MF", ".", "getFunction", "(", ")", ";", "MachineRegisterInfo", "&", "MRI", "=", "MF", ".", "getRegInfo", "(", ")", ";", "auto", "&", "DL", "=", "F", ".", "getParent", "(", ")", "->", "getDataLayout", "(", ")", ";", "SmallVector", "<", "ArgInfo", ",", "8", ">", "OutArgs", ";", "for", "(", "auto", "&", "OrigArg", ":", "Info", ".", "OrigArgs", ")", "{", "splitToValueTypes", "(", "OrigArg", ",", "OutArgs", ",", "DL", ",", "Info", ".", "CallConv", ")", ";", "}", "SmallVector", "<", "ArgInfo", ",", "8", ">", "InArgs", ";", "if", "(", "!", "Info", ".", "OrigRet", ".", "Ty", "->", "isVoidTy", "(", ")", ")", "splitToValueTypes", "(", "Info", ".", "OrigRet", ",", "InArgs", ",", "DL", ",", "Info", ".", "CallConv", ")", ";", "MachineInstrBuilder", "CallSeqStart", ";", "CallSeqStart", "=", "MIRBuilder", ".", "buildInstr", "(", "M88k", "::", "ADJCALLSTACKDOWN", ")", ";", "unsigned", "Opc", "=", "Info", ".", "Callee", ".", "isReg", "(", ")", "?", "M88k", "::", "JSR", ":", "M88k", "::", "BSR", ";", "auto", "MIB", "=", "MIRBuilder", ".", "buildInstrNoInsert", "(", "Opc", ")", ";", "MIB", ".", "add", "(", "Info", ".", "Callee", ")", ";", "const", "uint32_t", "*", "Mask", ";", "const", "M88kSubtarget", "&", "Subtarget", "=", "MF", ".", "getSubtarget", "<", "M88kSubtarget", ">", "(", ")", ";", "const", "auto", "*", "TRI", "=", "Subtarget", ".", "getRegisterInfo", "(", ")", ";", "OutgoingValueAssigner", "ArgAssigner", "(", "CC_M88k", ")", ";", "OutgoingArgHandler", "Handler", "(", "MIRBuilder", ",", "MRI", ",", "MIB", ")", ";", "if", "(", "!", "determineAndHandleAssignments", "(", "Handler", ",", "ArgAssigner", ",", "OutArgs", ",", "MIRBuilder", ",", "Info", ".", "CallConv", ",", "Info", ".", "IsVarArg", ")", ")", "return", "false", ";", "Mask", "=", "TRI", "->", "getCallPreservedMask", "(", "MF", ",", "Info", ".", "CallConv", ")", ";", "MIB", ".", "addRegMask", "(", "Mask", ")", ";", "MIRBuilder", ".", "insertInstr", "(", "MIB", ")", ";", "if", "(", "Info", ".", "Callee", ".", "isReg", "(", ")", ")", "constrainOperandRegClass", "(", "MF", ",", "*", "TRI", ",", "MRI", ",", "*", "Subtarget", ".", "getInstrInfo", "(", ")", ",", "*", "Subtarget", ".", "getRegBankInfo", "(", ")", ",", "*", "MIB", ",", "MIB", "->", "getDesc", "(", ")", ",", "Info", ".", "Callee", ",", "0", ")", ";", "if", "(", "!", "Info", ".", "OrigRet", ".", "Ty", "->", "isVoidTy", "(", ")", ")", "{", "OutgoingValueAssigner", "ArgAssigner", "(", "RetCC_M88k", ")", ";", "CallReturnHandler", "ReturnedArgHandler", "(", "MIRBuilder", ",", "MRI", ",", "MIB", ")", ";", "if", "(", "!", "determineAndHandleAssignments", "(", "ReturnedArgHandler", ",", "ArgAssigner", ",", "InArgs", ",", "MIRBuilder", ",", "Info", ".", "CallConv", ",", "Info", ".", "IsVarArg", ",", "OutArgs", "[", "0", "]", ".", "Regs", "[", "0", "]", ")", ")", "return", "false", ";", "}", "CallSeqStart", ".", "addImm", "(", "ArgAssigner", ".", "StackOffset", ")", ".", "addImm", "(", "0", ")", ";", "MIRBuilder", ".", "buildInstr", "(", "M88k", "::", "ADJCALLSTACKUP", ")", ".", "addImm", "(", "ArgAssigner", ".", "StackOffset", ")", ".", "addImm", "(", "0", ")", ";", "return", "true", ";", "}", ""], "natrual_language": ["This", "hook", "must", "be", "implemented", "to", "lower", "the", "given", "call", "instruction", ",", "including", "argument", "and", "return", "value", "marshalling", "."], "TS_V_token": ["M88k", "M88k", "8", "8", "M88k::ADJCALLSTACKDOWN", "M88k::JSR", "M88k::BSR", "M88k", "M88k", "M88k", "0", "M88k", "0", "0", "0", "M88k::ADJCALLSTACKUP", "0"], "File": "M88kCallLowering", "Func": "lowerCall", "Target": "M88k", "Target_Clf": "MPU", "Compiler_Type": "LLVM", "Idx": 683, "Length": 433, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "DecodeStatus", "HexagonDisassembler", "::", "getInstruction", "(", "MCInst", "&", "MI", ",", "uint64_t", "&", "Size", ",", "ArrayRef", "<", "uint8_t", ">", "Bytes", ",", "uint64_t", "Address", ",", "raw_ostream", "&", "os", ",", "raw_ostream", "&", "cs", ")", "const", "{", "DecodeStatus", "Result", "=", "DecodeStatus", "::", "Success", ";", "bool", "Complete", "=", "false", ";", "Size", "=", "0", ";", "*", "CurrentBundle", "=", "&", "MI", ";", "MI", ".", "setOpcode", "(", "Hexagon", "::", "BUNDLE", ")", ";", "MI", ".", "addOperand", "(", "MCOperand", "::", "createImm", "(", "0", ")", ")", ";", "while", "(", "Result", "==", "Success", "&&", "!", "Complete", ")", "{", "if", "(", "Bytes", ".", "size", "(", ")", "<", "HEXAGON_INSTR_SIZE", ")", "return", "MCDisassembler", "::", "Fail", ";", "MCInst", "*", "Inst", "=", "new", "(", "getContext", "(", ")", ")", "MCInst", ";", "Result", "=", "getSingleInstruction", "(", "*", "Inst", ",", "MI", ",", "Bytes", ",", "Address", ",", "os", ",", "cs", ",", "Complete", ")", ";", "MI", ".", "addOperand", "(", "MCOperand", "::", "createInst", "(", "Inst", ")", ")", ";", "Size", "+=", "HEXAGON_INSTR_SIZE", ";", "Bytes", "=", "Bytes", ".", "slice", "(", "HEXAGON_INSTR_SIZE", ")", ";", "}", "if", "(", "Result", "==", "MCDisassembler", "::", "Fail", ")", "return", "Result", ";", "if", "(", "Size", ">", "HEXAGON_MAX_PACKET_SIZE", ")", "return", "MCDisassembler", "::", "Fail", ";", "HexagonMCChecker", "Checker", "(", "getContext", "(", ")", ",", "*", "MCII", ",", "STI", ",", "MI", ",", "*", "getContext", "(", ")", ".", "getRegisterInfo", "(", ")", ",", "false", ")", ";", "if", "(", "!", "Checker", ".", "check", "(", ")", ")", "return", "MCDisassembler", "::", "Fail", ";", "remapInstruction", "(", "MI", ")", ";", "return", "MCDisassembler", "::", "Success", ";", "}", ""], "natrual_language": ["Returns", "the", "disassembly", "of", "a", "single", "instruction", "."], "TS_V_token": ["Hexagon", "Hexagon", "0", "Hexagon::BUNDLE", "0", "Hexagon"], "File": "HexagonDisassembler", "Func": "getInstruction", "Target": "Hexagon", "Target_Clf": "DSP", "Compiler_Type": "LLVM", "Idx": 684, "Length": 231, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "virtual", "const", "AMDGPUIntrinsicInfo", "*", "getIntrinsicInfo", "(", ")", "const", "{", "return", "&", "IntrinsicInfo", ";", "}", ""], "natrual_language": ["If", "intrinsic", "information", "is", "available", ",", "return", "it", ".", "If", "not", ",", "return", "null", "."], "TS_V_token": ["R600"], "File": "AMDGPUTargetMachine20", "Func": "getIntrinsicInfo", "Target": "R600", "Target_Clf": "GPU", "Compiler_Type": "LLVM", "Idx": 685, "Length": 14, "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": 686, "Length": 226, "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_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": ["powerpcspe", "0", "0", "0", "0", "0", "0", "0", "0", "0", "0", "0", "0", "0", "0", "0", "0", "0", "0", "0", "0", "0", "0"], "File": "powerpcspe", "Func": "rs6000_builtin_mask_calculate", "Target": "powerpcspe", "Target_Clf": "CPU", "Compiler_Type": "GCC", "Idx": 687, "Length": 232, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "static", "void", "emit_link_insn", "(", "rtx", "spreg", ",", "HOST_WIDE_INT", "frame_size", ")", "{", "HOST_WIDE_INT", "link_size", "=", "frame_size", ";", "rtx_insn", "*", "insn", ";", "int", "i", ";", "if", "(", "link_size", ">", "262140", ")", "link_size", "=", "262140", ";", "insn", "=", "emit_insn", "(", "gen_link", "(", "GEN_INT", "(", "-", "8", "-", "link_size", ")", ")", ")", ";", "RTX_FRAME_RELATED_P", "(", "insn", ")", "=", "1", ";", "for", "(", "i", "=", "0", ";", "i", "<", "XVECLEN", "(", "PATTERN", "(", "insn", ")", ",", "0", ")", ";", "i", "++", ")", "{", "rtx", "set", "=", "XVECEXP", "(", "PATTERN", "(", "insn", ")", ",", "0", ",", "i", ")", ";", "gcc_assert", "(", "GET_CODE", "(", "set", ")", "==", "SET", ")", ";", "RTX_FRAME_RELATED_P", "(", "set", ")", "=", "1", ";", "}", "frame_size", "-=", "link_size", ";", "if", "(", "frame_size", ">", "0", ")", "{", "rtx", "tmpreg", "=", "gen_rtx_REG", "(", "Pmode", ",", "REG_P1", ")", ";", "frame_related_constant_load", "(", "tmpreg", ",", "-", "frame_size", ",", "TRUE", ")", ";", "insn", "=", "emit_insn", "(", "gen_addsi3", "(", "spreg", ",", "spreg", ",", "tmpreg", ")", ")", ";", "RTX_FRAME_RELATED_P", "(", "insn", ")", "=", "1", ";", "}", "}", ""], "natrual_language": ["Generate", "a", "LINK", "insn", "for", "a", "frame", "sized", "FRAME_SIZE", ".", "If", "this", "constant", "is", "too", "large", ",", "generate", "a", "sequence", "of", "insns", "that", "has", "the", "same", "effect", ".", "SPREG", "contains", "(", "reg", ":", "SI", "REG_SP", ")", "."], "TS_V_token": ["bfin", "262140", "262140", "8", "1", "0", "0", "0", "1", "0", "1"], "File": "bfin", "Func": "emit_link_insn", "Target": "bfin", "Target_Clf": "DSP", "Compiler_Type": "GCC", "Idx": 688, "Length": 165, "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", "=", "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": "ARMISelLowering11", "Func": "emitLoadLinked", "Target": "ARM", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 689, "Length": 322, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "static", "tree", "h8300_handle_tiny_data_attribute", "(", "tree", "*", "node", ",", "tree", "name", ",", "tree", "args", "ATTRIBUTE_UNUSED", ",", "int", "flags", "ATTRIBUTE_UNUSED", ",", "bool", "*", "no_add_attrs", ")", "{", "tree", "decl", "=", "*", "node", ";", "if", "(", "TREE_STATIC", "(", "decl", ")", "||", "DECL_EXTERNAL", "(", "decl", ")", ")", "{", "DECL_SECTION_NAME", "(", "decl", ")", "=", "build_string", "(", "6", ",", "\".tiny\"", ")", ";", "}", "else", "{", "warning", "(", "OPT_Wattributes", ",", "\"%qs attribute ignored\"", ",", "IDENTIFIER_POINTER", "(", "name", ")", ")", ";", "*", "no_add_attrs", "=", "true", ";", "}", "return", "NULL_TREE", ";", "}", ""], "natrual_language": ["Handle", "an", "``", "tiny_data", "''", "attribute", ";", "arguments", "as", "in", "struct", "attribute_spec.handler", "."], "TS_V_token": ["h8300", "6", "\".tiny\"", "\"%qs attribute ignored\""], "File": "h83003", "Func": "h8300_handle_tiny_data_attribute", "Target": "h8300", "Target_Clf": "MPU", "Compiler_Type": "GCC", "Idx": 690, "Length": 80, "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": 691, "Length": 108, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "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": 692, "Length": 48, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "void", "WebAssemblyPassConfig", "::", "addPreEmitPass", "(", ")", "{", "TargetPassConfig", "::", "addPreEmitPass", "(", ")", ";", "addPass", "(", "createWebAssemblyFixIrreducibleControlFlow", "(", ")", ")", ";", "addPass", "(", "createWebAssemblyCFGStackify", "(", ")", ")", ";", "addPass", "(", "createWebAssemblyLowerBrUnless", "(", ")", ")", ";", "addPass", "(", "createWebAssemblyRegNumbering", "(", ")", ")", ";", "if", "(", "getOptLevel", "(", ")", "!=", "CodeGenOpt", "::", "None", ")", "addPass", "(", "createWebAssemblyPeephole", "(", ")", ")", ";", "}", ""], "natrual_language": ["This", "pass", "may", "be", "implemented", "by", "targets", "that", "want", "to", "run", "passes", "immediately", "before", "machine", "code", "is", "emitted", "."], "TS_V_token": ["WebAssembly", "WebAssembly", "WebAssembly", "WebAssembly", "WebAssembly", "WebAssembly", "WebAssembly"], "File": "WebAssemblyTargetMachine4", "Func": "addPreEmitPass", "Target": "WebAssembly", "Target_Clf": "Virtual ISA", "Compiler_Type": "LLVM", "Idx": 693, "Length": 59, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "bool", "mayLoad", "(", ")", "const", "{", "return", "(", "Load", ")", ";", "}", ""], "natrual_language": ["Return", "true", "if", "this", "instruction", "could", "possibly", "read", "memory", "."], "TS_V_token": ["Hexagon"], "File": "HexagonShuffler (2)", "Func": "mayLoad", "Target": "Hexagon", "Target_Clf": "DSP", "Compiler_Type": "LLVM", "Idx": 694, "Length": 12, "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": 695, "Length": 217, "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": 696, "Length": 18, "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": 697, "Length": 116, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "virtual", "bool", "isNoopAddrSpaceCast", "(", "unsigned", "SrcAS", ",", "unsigned", "DestAS", ")", "const", "{", "return", "true", ";", "}", ""], "natrual_language": ["Returns", "true", "if", "a", "cast", "between", "SrcAS", "and", "DestAS", "is", "a", "noop", "."], "TS_V_token": ["Patmos"], "File": "PatmosISelLowering", "Func": "isNoopAddrSpaceCast", "Target": "Patmos", "Target_Clf": "VLIW", "Compiler_Type": "LLVM", "Idx": 698, "Length": 16, "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": ["rs6000", "0", "1"], "File": "rs60004", "Func": "paired_emit_vector_cond_expr", "Target": "rs6000", "Target_Clf": "CPU", "Compiler_Type": "GCC", "Idx": 699, "Length": 58, "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": 700, "Length": 45, "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": 701, "Length": 76, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "static", "machine_mode", "avr_addr_space_pointer_mode", "(", "addr_space_t", "as", ")", "{", "return", "avr_addr_space_address_mode", "(", "as", ")", ";", "}", ""], "natrual_language": ["Implement", "`", "TARGET_ADDR_SPACE_POINTER_MODE", "'", "."], "TS_V_token": ["avr"], "File": "avr4", "Func": "avr_addr_space_pointer_mode", "Target": "avr", "Target_Clf": "MPU", "Compiler_Type": "GCC", "Idx": 702, "Length": 15, "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": 703, "Length": 29, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "void", "getAnalysisUsage", "(", "AnalysisUsage", "&", "AU", ")", "const", "override", "{", "AU", ".", "addRequired", "<", "LiveIntervals", ">", "(", ")", ";", "AU", ".", "addRequired", "<", "MachinePostDominatorTree", ">", "(", ")", ";", "AU", ".", "setPreservesCFG", "(", ")", ";", "AU", ".", "addPreserved", "<", "LiveIntervals", ">", "(", ")", ";", "MachineFunctionPass", "::", "getAnalysisUsage", "(", "AU", ")", ";", "}", ""], "natrual_language": ["getAnalysisUsage", "-", "Subclasses", "that", "override", "getAnalysisUsage", "must", "call", "this", "."], "TS_V_token": ["AMDGPU"], "File": "SIFixSGPRLiveRanges5", "Func": "getAnalysisUsage", "Target": "AMDGPU", "Target_Clf": "GPU", "Compiler_Type": "LLVM", "Idx": 704, "Length": 51, "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": 705, "Length": 204, "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": 706, "Length": 44, "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": 707, "Length": 42, "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": 708, "Length": 302, "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": 709, "Length": 68, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "bool", "SIWholeQuadMode", "::", "runOnMachineFunction", "(", "MachineFunction", "&", "MF", ")", "{", "Instructions", ".", "clear", "(", ")", ";", "Blocks", ".", "clear", "(", ")", ";", "LiveMaskQueries", ".", "clear", "(", ")", ";", "LowerToCopyInstrs", ".", "clear", "(", ")", ";", "CallingConv", "=", "MF", ".", "getFunction", "(", ")", ".", "getCallingConv", "(", ")", ";", "const", "GCNSubtarget", "&", "ST", "=", "MF", ".", "getSubtarget", "<", "GCNSubtarget", ">", "(", ")", ";", "TII", "=", "ST", ".", "getInstrInfo", "(", ")", ";", "TRI", "=", "&", "TII", "->", "getRegisterInfo", "(", ")", ";", "MRI", "=", "&", "MF", ".", "getRegInfo", "(", ")", ";", "LIS", "=", "&", "getAnalysis", "<", "LiveIntervals", ">", "(", ")", ";", "char", "GlobalFlags", "=", "analyzeFunction", "(", "MF", ")", ";", "unsigned", "LiveMaskReg", "=", "0", ";", "if", "(", "!", "(", "GlobalFlags", "&", "StateWQM", ")", ")", "{", "lowerLiveMaskQueries", "(", "AMDGPU", "::", "EXEC", ")", ";", "if", "(", "!", "(", "GlobalFlags", "&", "StateWWM", ")", ")", "return", "!", "LiveMaskQueries", ".", "empty", "(", ")", ";", "}", "else", "{", "MachineBasicBlock", "&", "Entry", "=", "MF", ".", "front", "(", ")", ";", "MachineBasicBlock", "::", "iterator", "EntryMI", "=", "Entry", ".", "getFirstNonPHI", "(", ")", ";", "if", "(", "GlobalFlags", "&", "StateExact", "||", "!", "LiveMaskQueries", ".", "empty", "(", ")", ")", "{", "LiveMaskReg", "=", "MRI", "->", "createVirtualRegister", "(", "&", "AMDGPU", "::", "SReg_64RegClass", ")", ";", "MachineInstr", "*", "MI", "=", "BuildMI", "(", "Entry", ",", "EntryMI", ",", "DebugLoc", "(", ")", ",", "TII", "->", "get", "(", "AMDGPU", "::", "COPY", ")", ",", "LiveMaskReg", ")", ".", "addReg", "(", "AMDGPU", "::", "EXEC", ")", ";", "LIS", "->", "InsertMachineInstrInMaps", "(", "*", "MI", ")", ";", "}", "lowerLiveMaskQueries", "(", "LiveMaskReg", ")", ";", "if", "(", "GlobalFlags", "==", "StateWQM", ")", "{", "BuildMI", "(", "Entry", ",", "EntryMI", ",", "DebugLoc", "(", ")", ",", "TII", "->", "get", "(", "AMDGPU", "::", "S_WQM_B64", ")", ",", "AMDGPU", "::", "EXEC", ")", ".", "addReg", "(", "AMDGPU", "::", "EXEC", ")", ";", "lowerCopyInstrs", "(", ")", ";", "return", "true", ";", "}", "}", "LLVM_DEBUG", "(", "printInfo", "(", ")", ")", ";", "lowerCopyInstrs", "(", ")", ";", "for", "(", "auto", "BII", ":", "Blocks", ")", "processBlock", "(", "*", "BII", ".", "first", ",", "LiveMaskReg", ",", "BII", ".", "first", "==", "&", "*", "MF", ".", "begin", "(", ")", ")", ";", "LIS", "->", "removeRegUnit", "(", "*", "MCRegUnitIterator", "(", "AMDGPU", "::", "SCC", ",", "TRI", ")", ")", ";", "return", "true", ";", "}", ""], "natrual_language": ["runOnMachineFunction", "-", "Emit", "the", "function", "body", "."], "TS_V_token": ["AMDGPU", "SI", "0", "AMDGPU::EXEC", "AMDGPU::SReg_64RegClass", "AMDGPU::COPY", "AMDGPU::EXEC", "AMDGPU::S_WQM_B64", "AMDGPU::EXEC", "AMDGPU::EXEC", "AMDGPU::SCC"], "File": "SIWholeQuadMode", "Func": "runOnMachineFunction", "Target": "AMDGPU", "Target_Clf": "GPU", "Compiler_Type": "LLVM", "Idx": 710, "Length": 346, "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": 711, "Length": 330, "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": 712, "Length": 30, "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": 713, "Length": 94, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "bool", "runOnModule", "(", "Module", "&", "M", ")", "override", "{", "UsedList", "=", "getUsedList", "(", "M", ")", ";", "bool", "Changed", "=", "superAlignLDSGlobals", "(", "M", ")", ";", "Changed", "|=", "processUsedLDS", "(", "M", ")", ";", "for", "(", "Function", "&", "F", ":", "M", ".", "functions", "(", ")", ")", "{", "if", "(", "F", ".", "isDeclaration", "(", ")", ")", "continue", ";", "if", "(", "!", "AMDGPU", "::", "isKernel", "(", "F", ".", "getCallingConv", "(", ")", ")", ")", "continue", ";", "Changed", "|=", "processUsedLDS", "(", "M", ",", "&", "F", ")", ";", "}", "UsedList", ".", "clear", "(", ")", ";", "return", "Changed", ";", "}", ""], "natrual_language": ["runOnModule", "-", "Virtual", "method", "overriden", "by", "subclasses", "to", "process", "the", "module", "being", "operated", "on", "."], "TS_V_token": ["AMDGPU", "AMDGPU::isKernel"], "File": "AMDGPULowerModuleLDSPass", "Func": "runOnModule", "Target": "AMDGPU", "Target_Clf": "GPU", "Compiler_Type": "LLVM", "Idx": 714, "Length": 91, "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": 715, "Length": 32, "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": 716, "Length": 410, "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": 717, "Length": 68, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "static", "void", "addarg", "(", "const", "char", "*", "str", ")", "{", "if", "(", "++", "lib_arg_index", ">=", "lib_arg_max", ")", "{", "lib_arg_max", "+=", "1000", ";", "lib_args", "=", "XRESIZEVEC", "(", "const", "char", "*", ",", "lib_args", ",", "lib_arg_max", ")", ";", "}", "lib_args", "[", "lib_arg_index", "]", "=", "str", ";", "}", ""], "natrual_language": ["Append", "STR", "to", "the", "command", "line", "to", "invoke", "the", "linker", ".", "Expand", "the", "line", "as", "necessary", "to", "accommodate", "."], "TS_V_token": ["vms", "1000"], "File": "vms-ar", "Func": "addarg", "Target": "vms", "Target_Clf": "Virtual ISA", "Compiler_Type": "GCC", "Idx": 718, "Length": 44, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "bool", "shouldSplitFunctionArgumentsAsLittleEndian", "(", "const", "DataLayout", "&", "DL", ")", "const", "override", "{", "return", "false", ";", "}", ""], "natrual_language": ["For", "most", "targets", ",", "an", "LLVM", "type", "must", "be", "broken", "down", "into", "multiple", "smaller", "types", "."], "TS_V_token": ["AVR"], "File": "AVRISelLowering", "Func": "shouldSplitFunctionArgumentsAsLittleEndian", "Target": "AVR", "Target_Clf": "MPU", "Compiler_Type": "LLVM", "Idx": 719, "Length": 15, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "unsigned", "int", "compute_a_shift_length", "(", "rtx", "insn", "ATTRIBUTE_UNUSED", ",", "rtx", "*", "operands", ")", "{", "rtx", "shift", "=", "operands", "[", "3", "]", ";", "machine_mode", "mode", "=", "GET_MODE", "(", "shift", ")", ";", "enum", "rtx_code", "code", "=", "GET_CODE", "(", "shift", ")", ";", "enum", "shift_type", "shift_type", ";", "enum", "shift_mode", "shift_mode", ";", "struct", "shift_info", "info", ";", "unsigned", "int", "wlength", "=", "0", ";", "switch", "(", "mode", ")", "{", "case", "E_QImode", ":", "shift_mode", "=", "QIshift", ";", "break", ";", "case", "E_HImode", ":", "shift_mode", "=", "HIshift", ";", "break", ";", "case", "E_SImode", ":", "shift_mode", "=", "SIshift", ";", "break", ";", "default", ":", "gcc_unreachable", "(", ")", ";", "}", "switch", "(", "code", ")", "{", "case", "ASHIFTRT", ":", "shift_type", "=", "SHIFT_ASHIFTRT", ";", "break", ";", "case", "LSHIFTRT", ":", "shift_type", "=", "SHIFT_LSHIFTRT", ";", "break", ";", "case", "ASHIFT", ":", "shift_type", "=", "SHIFT_ASHIFT", ";", "break", ";", "default", ":", "gcc_unreachable", "(", ")", ";", "}", "if", "(", "GET_CODE", "(", "operands", "[", "2", "]", ")", "!=", "CONST_INT", ")", "{", "get_shift_alg", "(", "shift_type", ",", "shift_mode", ",", "1", ",", "&", "info", ")", ";", "return", "(", "4", "+", "h8300_asm_insn_count", "(", "info", ".", "shift1", ")", ")", "*", "2", ";", "}", "else", "{", "int", "n", "=", "INTVAL", "(", "operands", "[", "2", "]", ")", ";", "if", "(", "n", "<", "0", ")", "n", "=", "0", ";", "else", "if", "(", "(", "unsigned", "int", ")", "n", ">", "GET_MODE_BITSIZE", "(", "mode", ")", ")", "n", "=", "GET_MODE_BITSIZE", "(", "mode", ")", ";", "get_shift_alg", "(", "shift_type", ",", "shift_mode", ",", "n", ",", "&", "info", ")", ";", "switch", "(", "info", ".", "alg", ")", "{", "case", "SHIFT_SPECIAL", ":", "wlength", "+=", "h8300_asm_insn_count", "(", "info", ".", "special", ")", ";", "if", "(", "strstr", "(", "info", ".", "special", ",", "\"xor.l\"", ")", "!=", "NULL", ")", "wlength", "++", ";", "case", "SHIFT_INLINE", ":", "n", "=", "info", ".", "remainder", ";", "if", "(", "info", ".", "shift2", "!=", "NULL", ")", "{", "wlength", "+=", "h8300_asm_insn_count", "(", "info", ".", "shift2", ")", "*", "(", "n", "/", "2", ")", ";", "n", "=", "n", "%", "2", ";", "}", "wlength", "+=", "h8300_asm_insn_count", "(", "info", ".", "shift1", ")", "*", "n", ";", "return", "2", "*", "wlength", ";", "case", "SHIFT_ROT_AND", ":", "{", "int", "m", "=", "GET_MODE_BITSIZE", "(", "mode", ")", "-", "n", ";", "gcc_assert", "(", "info", ".", "shift1", ")", ";", "if", "(", "info", ".", "shift2", "!=", "NULL", ")", "{", "wlength", "+=", "h8300_asm_insn_count", "(", "info", ".", "shift2", ")", "*", "(", "m", "/", "2", ")", ";", "m", "=", "m", "%", "2", ";", "}", "wlength", "+=", "h8300_asm_insn_count", "(", "info", ".", "shift1", ")", "*", "m", ";", "switch", "(", "mode", ")", "{", "case", "E_QImode", ":", "wlength", "+=", "1", ";", "break", ";", "case", "E_HImode", ":", "wlength", "+=", "2", ";", "break", ";", "case", "E_SImode", ":", "wlength", "+=", "3", ";", "break", ";", "default", ":", "gcc_unreachable", "(", ")", ";", "}", "return", "2", "*", "wlength", ";", "}", "case", "SHIFT_LOOP", ":", "if", "(", "info", ".", "shift2", "!=", "NULL", ")", "{", "wlength", "+=", "3", "+", "h8300_asm_insn_count", "(", "info", ".", "shift2", ")", ";", "if", "(", "n", "%", "2", ")", "wlength", "+=", "h8300_asm_insn_count", "(", "info", ".", "shift1", ")", ";", "}", "else", "{", "wlength", "+=", "3", "+", "h8300_asm_insn_count", "(", "info", ".", "shift1", ")", ";", "}", "return", "2", "*", "wlength", ";", "default", ":", "gcc_unreachable", "(", ")", ";", "}", "}", "}", ""], "natrual_language": ["Compute", "the", "length", "of", "a", "shift", "insn", "."], "TS_V_token": ["h8300", "3", "0", "2", "1", "4", "2", "2", "0", "0", "\"xor.l\"", "2", "2", "2", "2", "2", "1", "2", "3", "2", "3", "2", "3", "2"], "File": "h83001", "Func": "compute_a_shift_length", "Target": "h8300", "Target_Clf": "MPU", "Compiler_Type": "GCC", "Idx": 720, "Length": 496, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "bool", "AMDGPUInstrInfo", "::", "shouldScheduleLoadsNear", "(", "SDNode", "*", "Load0", ",", "SDNode", "*", "Load1", ",", "int64_t", "Offset0", ",", "int64_t", "Offset1", ",", "unsigned", "NumLoads", ")", "const", "{", "assert", "(", "Offset1", ">", "Offset0", "&&", "\"Second offset should be larger than first offset!\"", ")", ";", "return", "(", "NumLoads", "<=", "16", "&&", "(", "Offset1", "-", "Offset0", ")", "<", "64", ")", ";", "}", ""], "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": ["R600", "\"Second offset should be larger than first offset!\"", "16", "64"], "File": "AMDGPUInstrInfo16", "Func": "shouldScheduleLoadsNear", "Target": "R600", "Target_Clf": "GPU", "Compiler_Type": "LLVM", "Idx": 721, "Length": 49, "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": 722, "Length": 33, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "TargetIRAnalysis", "AMDGPUTargetMachine", "::", "getTargetIRAnalysis", "(", ")", "{", "return", "TargetIRAnalysis", "(", "[", "this", "]", "(", "const", "Function", "&", "F", ")", "{", "return", "TargetTransformInfo", "(", "AMDGPUTTIImpl", "(", "this", ",", "F", ")", ")", ";", "}", ")", ";", "}", ""], "natrual_language": ["Get", "a", "TargetIRAnalysis", "appropriate", "for", "the", "target", "."], "TS_V_token": ["AMDGPU", "AMDGPU", "AMDGPU"], "File": "AMDGPUTargetMachine103", "Func": "getTargetIRAnalysis", "Target": "AMDGPU", "Target_Clf": "GPU", "Compiler_Type": "LLVM", "Idx": 723, "Length": 35, "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": 724, "Length": 107, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "static", "rtx", "cris_function_incoming_arg", "(", "cumulative_args_t", "ca", ",", "const", "function_arg_info", "&", "arg", ")", "{", "return", "cris_function_arg_1", "(", "ca", ",", "arg", ",", "true", ")", ";", "}", ""], "natrual_language": ["Worker", "function", "for", "TARGET_FUNCTION_INCOMING_ARG", ".", "The", "differences", "between", "this", "and", "the", "previous", ",", "is", "that", "this", "one", "checks", "that", "an", "argument", "is", "named", ",", "since", "incoming", "stdarg/varargs", "arguments", "are", "pushed", "onto", "the", "stack", ",", "and", "we", "do", "n't", "have", "to", "check", "against", "the", "``", "closing", "''", "void_type_node", "TYPE", "parameter", "."], "TS_V_token": ["cris"], "File": "cris", "Func": "cris_function_incoming_arg", "Target": "cris", "Target_Clf": "MPU", "Compiler_Type": "GCC", "Idx": 725, "Length": 24, "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": 726, "Length": 278, "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": 727, "Length": 23, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "const", "MCExpr", "*", "WebAssemblyAsmPrinter", "::", "lowerConstant", "(", "const", "Constant", "*", "CV", ")", "{", "if", "(", "const", "GlobalValue", "*", "GV", "=", "dyn_cast", "<", "GlobalValue", ">", "(", "CV", ")", ")", "if", "(", "GV", "->", "getValueType", "(", ")", "->", "isFunctionTy", "(", ")", ")", "{", "return", "MCSymbolRefExpr", "::", "create", "(", "getSymbol", "(", "GV", ")", ",", "MCSymbolRefExpr", "::", "VK_WebAssembly_FUNCTION", ",", "OutContext", ")", ";", "}", "return", "AsmPrinter", "::", "lowerConstant", "(", "CV", ")", ";", "}", ""], "natrual_language": ["Lower", "the", "specified", "LLVM", "Constant", "to", "an", "MCExpr", "."], "TS_V_token": ["WebAssembly", "WebAssembly", "WebAssembly"], "File": "WebAssemblyAsmPrinter (3)", "Func": "lowerConstant", "Target": "WebAssembly", "Target_Clf": "Virtual ISA", "Compiler_Type": "LLVM", "Idx": 728, "Length": 68, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "rtx", "gen_pop", "(", "rtx", "operand0", ",", "enum", "machine_mode", "mode", ")", "{", "return", "gen_rtx_SET", "(", "VOIDmode", ",", "operand0", ",", "gen_rtx_MEM", "(", "mode", ",", "gen_rtx_POST_INC", "(", "mode", ",", "gen_rtx_REG", "(", "Pmode", ",", "STACK_POINTER_REGNUM", ")", ")", ")", ")", ";", "}", ""], "natrual_language": ["Generate", "an", "``", "pop", "''", "pattern", "for", "input", "ARG", "."], "TS_V_token": ["z8k"], "File": "z8k", "Func": "gen_pop", "Target": "z8k", "Target_Clf": "MPU", "Compiler_Type": "GCC", "Idx": 729, "Length": 37, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "StringRef", "getPassName", "(", ")", "const", "override", "{", "return", "\"MOSCombiner\"", ";", "}", ""], "natrual_language": ["getPassName", "-", "Return", "a", "nice", "clean", "name", "for", "a", "pass", "."], "TS_V_token": ["MOS", "\"MOSCombiner\""], "File": "MOSCombiner", "Func": "getPassName", "Target": "MOS", "Target_Clf": "MPU", "Compiler_Type": "LLVM", "Idx": 730, "Length": 11, "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_tune", "==", "PROCESSOR_POWER4", "||", "rs6000_tune", "==", "PROCESSOR_POWER5", "||", "rs6000_tune", "==", "PROCESSOR_POWER6", "||", "rs6000_tune", "==", "PROCESSOR_POWER7", "||", "rs6000_tune", "==", "PROCESSOR_POWER8", ")", ")", "return", "5", ";", "else", "return", "align_loops_log", ";", "}", ""], "natrual_language": ["Implement", "LOOP_ALIGN", "."], "TS_V_token": ["rs6000", "4", "8", "5"], "File": "rs60007", "Func": "rs6000_loop_align", "Target": "rs6000", "Target_Clf": "CPU", "Compiler_Type": "GCC", "Idx": 731, "Length": 77, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "rtx", "gen_mlo", "(", "void", ")", "{", "return", "gen_rtx_REG", "(", "SImode", ",", "TARGET_BIG_ENDIAN", "?", "59", ":", "58", ")", ";", "}", ""], "natrual_language": ["Return", "a", "REG", "rtx", "for", "mlo", ".", "N.B", ".", "the", "gcc-internal", "representation", "may", "differ", "from", "the", "hardware", "register", "number", "in", "order", "to", "allow", "the", "generic", "code", "to", "correctly", "split", "the", "concatenation", "of", "mhi", "and", "mlo", "."], "TS_V_token": ["arc", "59", "58"], "File": "arc4", "Func": "gen_mlo", "Target": "arc", "Target_Clf": "MPU", "Compiler_Type": "GCC", "Idx": 732, "Length": 19, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "SDValue", "PatmosTargetLowering", "::", "LowerFormalArguments", "(", "SDValue", "Chain", ",", "CallingConv", "::", "ID", "CallConv", ",", "bool", "isVarArg", ",", "const", "SmallVectorImpl", "<", "ISD", "::", "InputArg", ">", "&", "Ins", ",", "SDLoc", "dl", ",", "SelectionDAG", "&", "DAG", ",", "SmallVectorImpl", "<", "SDValue", ">", "&", "InVals", ")", "const", "{", "switch", "(", "CallConv", ")", "{", "default", ":", "llvm_unreachable", "(", "\"Unsupported calling convention\"", ")", ";", "case", "CallingConv", "::", "C", ":", "case", "CallingConv", "::", "Fast", ":", "return", "LowerCCCArguments", "(", "Chain", ",", "CallConv", ",", "isVarArg", ",", "Ins", ",", "dl", ",", "DAG", ",", "InVals", ")", ";", "}", "}", ""], "natrual_language": ["This", "hook", "must", "be", "implemented", "to", "lower", "the", "incoming", "(", "formal", ")", "arguments", ",", "described", "by", "the", "Ins", "array", ",", "into", "the", "specified", "DAG", "."], "TS_V_token": ["Patmos", "Patmos", "ISD::InputArg", "\"Unsupported calling convention\""], "File": "PatmosISelLowering", "Func": "LowerFormalArguments", "Target": "Patmos", "Target_Clf": "VLIW", "Compiler_Type": "LLVM", "Idx": 733, "Length": 84, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "static", "bool", "or1k_cannot_force_const_mem", "(", "machine_mode", ",", "rtx", "x", ")", "{", "rtx_code", "code", "=", "GET_CODE", "(", "x", ")", ";", "return", "(", "code", "==", "SYMBOL_REF", "||", "code", "==", "LABEL_REF", "||", "code", "==", "CONST", "||", "code", "==", "HIGH", ")", ";", "}", ""], "natrual_language": ["Worker", "for", "TARGET_CANNOT_FORCE_CONST_MEM", ".", "Primarily", "this", "is", "required", "for", "TLS", "symbols", ",", "but", "given", "that", "our", "move", "patterns", "*", "ought", "*", "to", "be", "able", "to", "handle", "any", "symbol", "at", "any", "time", ",", "we", "should", "never", "be", "spilling", "symbolic", "operands", "to", "the", "constant", "pool", ",", "ever", "."], "TS_V_token": ["or1k"], "File": "or1k", "Func": "or1k_cannot_force_const_mem", "Target": "or1k", "Target_Clf": "CPU", "Compiler_Type": "GCC", "Idx": 734, "Length": 38, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "void", "BPFMIPeepholeTruncElim", "::", "initialize", "(", "MachineFunction", "&", "MFParm", ")", "{", "MF", "=", "&", "MFParm", ";", "MRI", "=", "&", "MF", "->", "getRegInfo", "(", ")", ";", "TII", "=", "MF", "->", "getSubtarget", "<", "BPFSubtarget", ">", "(", ")", ".", "getInstrInfo", "(", ")", ";", "LLVM_DEBUG", "(", "dbgs", "(", ")", "<<", "\"*** BPF MachineSSA TRUNC Elim peephole pass ***\\n\\n\"", ")", ";", "}", ""], "natrual_language": ["Initialize", "the", "strategy", "after", "building", "the", "DAG", "for", "a", "new", "region", "."], "TS_V_token": ["BPF", "BPF", "BPF", "\"*** BPF MachineSSA TRUNC Elim peephole pass ***\\n\\n\""], "File": "BPFMIPeephole", "Func": "initialize", "Target": "BPF", "Target_Clf": "Virtual ISA", "Compiler_Type": "LLVM", "Idx": 735, "Length": 49, "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": 736, "Length": 151, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "int", "long_immediate_loadstore_operand", "(", "rtx", "op", ",", "enum", "machine_mode", "mode", "ATTRIBUTE_UNUSED", ")", "{", "if", "(", "GET_CODE", "(", "op", ")", "!=", "MEM", ")", "return", "0", ";", "op", "=", "XEXP", "(", "op", ",", "0", ")", ";", "switch", "(", "GET_CODE", "(", "op", ")", ")", "{", "case", "SYMBOL_REF", ":", "case", "LABEL_REF", ":", "case", "CONST", ":", "return", "1", ";", "case", "CONST_INT", ":", "return", "1", ";", "case", "CONST_DOUBLE", ":", "return", "1", ";", "case", "REG", ":", "return", "0", ";", "case", "PLUS", ":", "if", "(", "GET_CODE", "(", "XEXP", "(", "op", ",", "1", ")", ")", "==", "CONST_INT", "&&", "!", "SMALL_INT", "(", "INTVAL", "(", "XEXP", "(", "op", ",", "1", ")", ")", ")", ")", "return", "1", ";", "return", "0", ";", "default", ":", "break", ";", "}", "return", "0", ";", "}", ""], "natrual_language": ["Return", "true", "if", "OP", "is", "a", "MEM", "that", "when", "used", "as", "a", "load", "or", "store", "address", "will", "require", "an", "8", "byte", "insn", ".", "Load", "and", "store", "instructions", "do", "n't", "allow", "the", "same", "possibilities", "but", "they", "'re", "similar", "enough", "that", "this", "one", "function", "will", "do", ".", "This", "is", "currently", "only", "used", "when", "calculating", "length", "attributes", "."], "TS_V_token": ["arc", "0", "0", "1", "1", "1", "0", "1", "1", "1", "0", "0"], "File": "arc3", "Func": "long_immediate_loadstore_operand", "Target": "arc", "Target_Clf": "MPU", "Compiler_Type": "GCC", "Idx": 737, "Length": 117, "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": 738, "Length": 78, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "static", "bool", "f_constraint_p", "(", "const", "char", "*", "constraint", ")", "{", "bool", "seen_f_p", "=", "false", ";", "bool", "seen_v_p", "=", "false", ";", "for", "(", "size_t", "i", "=", "0", ",", "c_len", "=", "strlen", "(", "constraint", ")", ";", "i", "<", "c_len", ";", "i", "+=", "CONSTRAINT_LEN", "(", "constraint", "[", "i", "]", ",", "constraint", "+", "i", ")", ")", "{", "if", "(", "constraint", "[", "i", "]", "==", "'f'", ")", "seen_f_p", "=", "true", ";", "if", "(", "constraint", "[", "i", "]", "==", "'v'", ")", "seen_v_p", "=", "true", ";", "}", "return", "seen_f_p", "&&", "!", "seen_v_p", ";", "}", ""], "natrual_language": ["Return", "TRUE", "iff", "CONSTRAINT", "is", "an", "``", "f", "''", "constraint", ",", "possibly", "with", "additional", "modifiers", "."], "TS_V_token": ["s390", "0"], "File": "s390", "Func": "f_constraint_p", "Target": "s390", "Target_Clf": "MPU", "Compiler_Type": "GCC", "Idx": 739, "Length": 87, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "bool", "isAliased", "(", "const", "MachineFrameInfo", "*", ")", "const", "override", "{", "return", "true", ";", "}", ""], "natrual_language": ["Test", "whether", "the", "memory", "pointed", "to", "by", "this", "PseudoSourceValue", "may", "also", "be", "pointed", "to", "by", "an", "LLVM", "IR", "Value", "."], "TS_V_token": ["AMDGPU"], "File": "SIMachineFunctionInfo (2)2", "Func": "isAliased", "Target": "AMDGPU", "Target_Clf": "GPU", "Compiler_Type": "LLVM", "Idx": 740, "Length": 14, "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": 741, "Length": 58, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "unsigned", "count", "(", ")", "const", "{", "return", "Bits", ".", "count", "(", ")", ";", "}", ""], "natrual_language": ["Return", "1", "if", "the", "specified", "key", "is", "in", "the", "map", ",", "0", "otherwise", "."], "TS_V_token": ["Hexagon"], "File": "HexagonBitSimplify20", "Func": "count", "Target": "Hexagon", "Target_Clf": "DSP", "Compiler_Type": "LLVM", "Idx": 742, "Length": 14, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "static", "bool", "alpha_handle_option", "(", "size_t", "code", ",", "const", "char", "*", "arg", ",", "int", "value", ")", "{", "switch", "(", "code", ")", "{", "case", "OPT_mfp_regs", ":", "if", "(", "value", "==", "0", ")", "target_flags", "|=", "MASK_SOFT_FP", ";", "break", ";", "case", "OPT_mieee", ":", "case", "OPT_mieee_with_inexact", ":", "target_flags", "|=", "MASK_IEEE_CONFORMANT", ";", "break", ";", "case", "OPT_mtls_size_", ":", "if", "(", "value", "!=", "16", "&&", "value", "!=", "32", "&&", "value", "!=", "64", ")", "error", "(", "\"bad value %qs for -mtls-size switch\"", ",", "arg", ")", ";", "break", ";", "}", "return", "true", ";", "}", ""], "natrual_language": ["Implement", "TARGET_HANDLE_OPTION", "."], "TS_V_token": ["alpha", "0", "16", "32", "64", "\"bad value %qs for -mtls-size switch\""], "File": "alpha3", "Func": "alpha_handle_option", "Target": "alpha", "Target_Clf": "MPU", "Compiler_Type": "GCC", "Idx": 743, "Length": 79, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "bool", "AMDGPUUnifyDivergentExitNodes", "::", "runOnFunction", "(", "Function", "&", "F", ")", "{", "auto", "&", "PDT", "=", "getAnalysis", "<", "PostDominatorTreeWrapperPass", ">", "(", ")", ".", "getPostDomTree", "(", ")", ";", "if", "(", "PDT", ".", "getRoots", "(", ")", ".", "size", "(", ")", "<=", "1", ")", "return", "false", ";", "DivergenceAnalysis", "&", "DA", "=", "getAnalysis", "<", "DivergenceAnalysis", ">", "(", ")", ";", "SmallVector", "<", "BasicBlock", "*", ",", "4", ">", "ReturningBlocks", ";", "SmallVector", "<", "BasicBlock", "*", ",", "4", ">", "UnreachableBlocks", ";", "for", "(", "BasicBlock", "*", "BB", ":", "PDT", ".", "getRoots", "(", ")", ")", "{", "if", "(", "isa", "<", "ReturnInst", ">", "(", "BB", "->", "getTerminator", "(", ")", ")", ")", "{", "if", "(", "!", "isUniformlyReached", "(", "DA", ",", "*", "BB", ")", ")", "ReturningBlocks", ".", "push_back", "(", "BB", ")", ";", "}", "else", "if", "(", "isa", "<", "UnreachableInst", ">", "(", "BB", "->", "getTerminator", "(", ")", ")", ")", "{", "if", "(", "!", "isUniformlyReached", "(", "DA", ",", "*", "BB", ")", ")", "UnreachableBlocks", ".", "push_back", "(", "BB", ")", ";", "}", "}", "if", "(", "!", "UnreachableBlocks", ".", "empty", "(", ")", ")", "{", "BasicBlock", "*", "UnreachableBlock", "=", "nullptr", ";", "if", "(", "UnreachableBlocks", ".", "size", "(", ")", "==", "1", ")", "{", "UnreachableBlock", "=", "UnreachableBlocks", ".", "front", "(", ")", ";", "}", "else", "{", "UnreachableBlock", "=", "BasicBlock", "::", "Create", "(", "F", ".", "getContext", "(", ")", ",", "\"UnifiedUnreachableBlock\"", ",", "&", "F", ")", ";", "new", "UnreachableInst", "(", "F", ".", "getContext", "(", ")", ",", "UnreachableBlock", ")", ";", "for", "(", "BasicBlock", "*", "BB", ":", "UnreachableBlocks", ")", "{", "BB", "->", "getInstList", "(", ")", ".", "pop_back", "(", ")", ";", "BranchInst", "::", "Create", "(", "UnreachableBlock", ",", "BB", ")", ";", "}", "}", "if", "(", "!", "ReturningBlocks", ".", "empty", "(", ")", ")", "{", "Type", "*", "RetTy", "=", "F", ".", "getReturnType", "(", ")", ";", "Value", "*", "RetVal", "=", "RetTy", "->", "isVoidTy", "(", ")", "?", "nullptr", ":", "UndefValue", "::", "get", "(", "RetTy", ")", ";", "UnreachableBlock", "->", "getInstList", "(", ")", ".", "pop_back", "(", ")", ";", "Function", "*", "UnreachableIntrin", "=", "Intrinsic", "::", "getDeclaration", "(", "F", ".", "getParent", "(", ")", ",", "Intrinsic", "::", "amdgcn_unreachable", ")", ";", "CallInst", "::", "Create", "(", "UnreachableIntrin", ",", "{", "}", ",", "\"\"", ",", "UnreachableBlock", ")", ";", "ReturnInst", "::", "Create", "(", "F", ".", "getContext", "(", ")", ",", "RetVal", ",", "UnreachableBlock", ")", ";", "ReturningBlocks", ".", "push_back", "(", "UnreachableBlock", ")", ";", "}", "}", "if", "(", "ReturningBlocks", ".", "empty", "(", ")", ")", "return", "false", ";", "if", "(", "ReturningBlocks", ".", "size", "(", ")", "==", "1", ")", "return", "false", ";", "const", "TargetTransformInfo", "&", "TTI", "=", "getAnalysis", "<", "TargetTransformInfoWrapperPass", ">", "(", ")", ".", "getTTI", "(", "F", ")", ";", "unifyReturnBlockSet", "(", "F", ",", "ReturningBlocks", ",", "TTI", ",", "\"UnifiedReturnBlock\"", ")", ";", "return", "true", ";", "}", ""], "natrual_language": ["runOnFunction", "-", "Virtual", "method", "overriden", "by", "subclasses", "to", "do", "the", "per-function", "processing", "of", "the", "pass", "."], "TS_V_token": ["AMDGPU", "AMDGPU", "1", "4", "4", "1", "\"UnifiedUnreachableBlock\"", "Intrinsic::getDeclaration", "Intrinsic::amdgcn_unreachable", "\"\"", "1", "\"UnifiedReturnBlock\""], "File": "AMDGPUUnifyDivergentExitNodes17", "Func": "runOnFunction", "Target": "AMDGPU", "Target_Clf": "GPU", "Compiler_Type": "LLVM", "Idx": 744, "Length": 414, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "AAAMDFlatWorkGroupSize", "&", "AAAMDFlatWorkGroupSize", "::", "createForPosition", "(", "const", "IRPosition", "&", "IRP", ",", "Attributor", "&", "A", ")", "{", "if", "(", "IRP", ".", "getPositionKind", "(", ")", "==", "IRPosition", "::", "IRP_FUNCTION", ")", "return", "*", "new", "(", "A", ".", "Allocator", ")", "AAAMDFlatWorkGroupSize", "(", "IRP", ",", "A", ")", ";", "llvm_unreachable", "(", "\"AAAMDFlatWorkGroupSize is only valid for function position\"", ")", ";", "}", ""], "natrual_language": ["Create", "an", "abstract", "attribute", "view", "for", "the", "position", "IRP", "."], "TS_V_token": ["AMDGPU", "\"AAAMDFlatWorkGroupSize is only valid for function position\""], "File": "AMDGPUAttributor", "Func": "createForPosition", "Target": "AMDGPU", "Target_Clf": "GPU", "Compiler_Type": "LLVM", "Idx": 745, "Length": 49, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "void", "LM32FrameLowering", "::", "emitEpilogue", "(", "MachineFunction", "&", "MF", ",", "MachineBasicBlock", "&", "MBB", ")", "const", "{", "MachineFrameInfo", "*", "MFrmInf", "=", "MF", ".", "getFrameInfo", "(", ")", ";", "MachineBasicBlock", "::", "iterator", "MBBI", "=", "std", "::", "prev", "(", "MBB", ".", "end", "(", ")", ")", ";", "const", "LM32InstrInfo", "&", "TII", "=", "*", "static_cast", "<", "const", "LM32InstrInfo", "*", ">", "(", "MF", ".", "getSubtarget", "(", ")", ".", "getInstrInfo", "(", ")", ")", ";", "LM32FunctionInfo", "*", "MFuncInf", "=", "MF", ".", "getInfo", "<", "LM32FunctionInfo", ">", "(", ")", ";", "assert", "(", "MBBI", "->", "getOpcode", "(", ")", "==", "LM32", "::", "RET", "&&", "\"Can only put epilog before 'ret' instruction!\"", ")", ";", "DebugLoc", "dl", "=", "MBBI", "->", "getDebugLoc", "(", ")", ";", "bool", "FP", "=", "hasFP", "(", "MF", ")", ";", "int", "FrameSize", "=", "MFrmInf", "->", "getStackSize", "(", ")", ";", "if", "(", "FrameSize", ")", "{", "if", "(", "FP", ")", "{", "int", "FPSpillOffset", "=", "MFrmInf", "->", "getObjectOffset", "(", "MFuncInf", "->", "getFPSpillSlot", "(", ")", ")", "+", "FrameSize", ";", "FPSpillOffset", "+=", "Subtarget", ".", "hasSPBias", "(", ")", "?", "4", ":", "0", ";", "BuildMI", "(", "MBB", ",", "MBBI", ",", "dl", ",", "TII", ".", "get", "(", "LM32", "::", "LW", ")", ")", ".", "addReg", "(", "LM32", "::", "RFP", ")", ".", "addReg", "(", "LM32", "::", "RSP", ")", ".", "addImm", "(", "FPSpillOffset", ")", ";", "}", "if", "(", "MFuncInf", "->", "getUsesLR", "(", ")", ")", "{", "int", "LRSpillOffset", "=", "MFrmInf", "->", "getObjectOffset", "(", "MFuncInf", "->", "getLRSpillSlot", "(", ")", ")", "+", "FrameSize", ";", "LRSpillOffset", "+=", "Subtarget", ".", "hasSPBias", "(", ")", "?", "4", ":", "0", ";", "BuildMI", "(", "MBB", ",", "MBBI", ",", "dl", ",", "TII", ".", "get", "(", "LM32", "::", "LW", ")", ")", ".", "addReg", "(", "LM32", "::", "RRA", ")", ".", "addReg", "(", "LM32", "::", "RSP", ")", ".", "addImm", "(", "LRSpillOffset", ")", ";", "}", "if", "(", "FrameSize", "<", "32768", ")", "{", "BuildMI", "(", "MBB", ",", "MBBI", ",", "dl", ",", "TII", ".", "get", "(", "LM32", "::", "ADDI", ")", ",", "LM32", "::", "RSP", ")", ".", "addReg", "(", "LM32", "::", "RSP", ")", ".", "addImm", "(", "FrameSize", ")", ";", "}", "else", "{", "assert", "(", "0", "&&", "\"Unimplemented - per function stack size limited to 32767 bytes.\"", ")", ";", "}", "}", "}", ""], "natrual_language": ["Insert", "epilog", "code", "into", "the", "function", "."], "TS_V_token": ["LM32", "LM32", "LM32", "LM32", "LM32", "LM32", "LM32::RET", "\"Can only put epilog before 'ret' instruction!\"", "4", "0", "LM32::LW", "LM32::RFP", "LM32::RSP", "4", "0", "LM32::LW", "LM32::RRA", "LM32::RSP", "32768", "LM32::ADDI", "LM32::RSP", "LM32::RSP", "0", "\"Unimplemented - per function stack size limited to 32767 bytes.\""], "File": "LM32FrameLowering", "Func": "emitEpilogue", "Target": "LM32", "Target_Clf": "MPU", "Compiler_Type": "LLVM", "Idx": 746, "Length": 324, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "bool", "aarch64_can_tag_addresses", "(", ")", "{", "return", "!", "TARGET_ILP32", ";", "}", ""], "natrual_language": ["Implement", "TARGET_MEMTAG_CAN_TAG_ADDRESSES", ".", "Here", "we", "tell", "the", "rest", "of", "the", "compiler", "that", "we", "automatically", "ignore", "the", "top", "byte", "of", "our", "pointers", ",", "which", "allows", "using", "-fsanitize=hwaddress", "."], "TS_V_token": ["aarch64"], "File": "aarch641", "Func": "aarch64_can_tag_addresses", "Target": "aarch64", "Target_Clf": "CPU", "Compiler_Type": "GCC", "Idx": 747, "Length": 10, "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": 748, "Length": 12, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "static", "rtx", "nvptx_gen_shuffle", "(", "rtx", "dst", ",", "rtx", "src", ",", "rtx", "idx", ",", "nvptx_shuffle_kind", "kind", ")", "{", "rtx", "res", ";", "switch", "(", "GET_MODE", "(", "dst", ")", ")", "{", "case", "SImode", ":", "res", "=", "gen_nvptx_shufflesi", "(", "dst", ",", "src", ",", "idx", ",", "GEN_INT", "(", "kind", ")", ")", ";", "break", ";", "case", "SFmode", ":", "res", "=", "gen_nvptx_shufflesf", "(", "dst", ",", "src", ",", "idx", ",", "GEN_INT", "(", "kind", ")", ")", ";", "break", ";", "case", "DImode", ":", "case", "DFmode", ":", "{", "rtx", "tmp0", "=", "gen_reg_rtx", "(", "SImode", ")", ";", "rtx", "tmp1", "=", "gen_reg_rtx", "(", "SImode", ")", ";", "start_sequence", "(", ")", ";", "emit_insn", "(", "nvptx_gen_unpack", "(", "tmp0", ",", "tmp1", ",", "src", ")", ")", ";", "emit_insn", "(", "nvptx_gen_shuffle", "(", "tmp0", ",", "tmp0", ",", "idx", ",", "kind", ")", ")", ";", "emit_insn", "(", "nvptx_gen_shuffle", "(", "tmp1", ",", "tmp1", ",", "idx", ",", "kind", ")", ")", ";", "emit_insn", "(", "nvptx_gen_pack", "(", "dst", ",", "tmp0", ",", "tmp1", ")", ")", ";", "res", "=", "get_insns", "(", ")", ";", "end_sequence", "(", ")", ";", "}", "break", ";", "case", "BImode", ":", "{", "rtx", "tmp", "=", "gen_reg_rtx", "(", "SImode", ")", ";", "start_sequence", "(", ")", ";", "emit_insn", "(", "gen_sel_truesi", "(", "tmp", ",", "src", ",", "GEN_INT", "(", "1", ")", ",", "const0_rtx", ")", ")", ";", "emit_insn", "(", "nvptx_gen_shuffle", "(", "tmp", ",", "tmp", ",", "idx", ",", "kind", ")", ")", ";", "emit_insn", "(", "gen_rtx_SET", "(", "dst", ",", "gen_rtx_NE", "(", "BImode", ",", "tmp", ",", "const0_rtx", ")", ")", ")", ";", "res", "=", "get_insns", "(", ")", ";", "end_sequence", "(", ")", ";", "}", "break", ";", "case", "QImode", ":", "case", "HImode", ":", "{", "rtx", "tmp", "=", "gen_reg_rtx", "(", "SImode", ")", ";", "start_sequence", "(", ")", ";", "emit_insn", "(", "gen_rtx_SET", "(", "tmp", ",", "gen_rtx_fmt_e", "(", "ZERO_EXTEND", ",", "SImode", ",", "src", ")", ")", ")", ";", "emit_insn", "(", "nvptx_gen_shuffle", "(", "tmp", ",", "tmp", ",", "idx", ",", "kind", ")", ")", ";", "emit_insn", "(", "gen_rtx_SET", "(", "dst", ",", "gen_rtx_fmt_e", "(", "TRUNCATE", ",", "GET_MODE", "(", "dst", ")", ",", "tmp", ")", ")", ")", ";", "res", "=", "get_insns", "(", ")", ";", "end_sequence", "(", ")", ";", "}", "break", ";", "default", ":", "gcc_unreachable", "(", ")", ";", "}", "return", "res", ";", "}", ""], "natrual_language": ["Generate", "an", "instruction", "or", "sequence", "to", "broadcast", "register", "REG", "across", "the", "vectors", "of", "a", "single", "warp", "."], "TS_V_token": ["nvptx", "1"], "File": "nvptx3", "Func": "nvptx_gen_shuffle", "Target": "nvptx", "Target_Clf": "GPU", "Compiler_Type": "GCC", "Idx": 749, "Length": 333, "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": 750, "Length": 198, "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": 751, "Length": 241, "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": 752, "Length": 321, "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": 753, "Length": 39, "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": 754, "Length": 29, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "void", "AVRInstrInfo", "::", "copyPhysReg", "(", "MachineBasicBlock", "&", "MBB", ",", "MachineBasicBlock", "::", "iterator", "MI", ",", "const", "DebugLoc", "&", "DL", ",", "unsigned", "DestReg", ",", "unsigned", "SrcReg", ",", "bool", "KillSrc", ")", "const", "{", "const", "AVRSubtarget", "&", "STI", "=", "MBB", ".", "getParent", "(", ")", "->", "getSubtarget", "<", "AVRSubtarget", ">", "(", ")", ";", "const", "AVRRegisterInfo", "&", "TRI", "=", "*", "STI", ".", "getRegisterInfo", "(", ")", ";", "unsigned", "Opc", ";", "if", "(", "AVR", "::", "DREGSRegClass", ".", "contains", "(", "DestReg", ",", "SrcReg", ")", ")", "{", "if", "(", "STI", ".", "hasMOVW", "(", ")", ")", "{", "BuildMI", "(", "MBB", ",", "MI", ",", "DL", ",", "get", "(", "AVR", "::", "MOVWRdRr", ")", ",", "DestReg", ")", ".", "addReg", "(", "SrcReg", ",", "getKillRegState", "(", "KillSrc", ")", ")", ";", "}", "else", "{", "unsigned", "DestLo", ",", "DestHi", ",", "SrcLo", ",", "SrcHi", ";", "TRI", ".", "splitReg", "(", "DestReg", ",", "DestLo", ",", "DestHi", ")", ";", "TRI", ".", "splitReg", "(", "SrcReg", ",", "SrcLo", ",", "SrcHi", ")", ";", "BuildMI", "(", "MBB", ",", "MI", ",", "DL", ",", "get", "(", "AVR", "::", "MOVRdRr", ")", ",", "DestLo", ")", ".", "addReg", "(", "SrcLo", ",", "getKillRegState", "(", "KillSrc", ")", ")", ";", "BuildMI", "(", "MBB", ",", "MI", ",", "DL", ",", "get", "(", "AVR", "::", "MOVRdRr", ")", ",", "DestHi", ")", ".", "addReg", "(", "SrcHi", ",", "getKillRegState", "(", "KillSrc", ")", ")", ";", "}", "}", "else", "{", "if", "(", "AVR", "::", "GPR8RegClass", ".", "contains", "(", "DestReg", ",", "SrcReg", ")", ")", "{", "Opc", "=", "AVR", "::", "MOVRdRr", ";", "}", "else", "if", "(", "SrcReg", "==", "AVR", "::", "SP", "&&", "AVR", "::", "DREGSRegClass", ".", "contains", "(", "DestReg", ")", ")", "{", "Opc", "=", "AVR", "::", "SPREAD", ";", "}", "else", "if", "(", "DestReg", "==", "AVR", "::", "SP", "&&", "AVR", "::", "DREGSRegClass", ".", "contains", "(", "SrcReg", ")", ")", "{", "Opc", "=", "AVR", "::", "SPWRITE", ";", "}", "else", "{", "llvm_unreachable", "(", "\"Impossible reg-to-reg copy\"", ")", ";", "}", "BuildMI", "(", "MBB", ",", "MI", ",", "DL", ",", "get", "(", "Opc", ")", ",", "DestReg", ")", ".", "addReg", "(", "SrcReg", ",", "getKillRegState", "(", "KillSrc", ")", ")", ";", "}", "}", ""], "natrual_language": ["}", "Branch", "Analysis", "&", "Modification"], "TS_V_token": ["AVR", "AVR", "AVR", "AVR", "AVR", "AVR::DREGSRegClass", "AVR::MOVWRdRr", "AVR::MOVRdRr", "AVR::MOVRdRr", "AVR::GPR8RegClass", "AVR::MOVRdRr", "AVR::SP", "AVR::DREGSRegClass", "AVR::SPREAD", "AVR::SP", "AVR::DREGSRegClass", "AVR::SPWRITE", "\"Impossible reg-to-reg copy\""], "File": "AVRInstrInfo12", "Func": "copyPhysReg", "Target": "AVR", "Target_Clf": "MPU", "Compiler_Type": "LLVM", "Idx": 755, "Length": 317, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "void", "MSP430AsmPrinter", "::", "EmitInstruction", "(", "const", "MachineInstr", "*", "MI", ")", "{", "MSP430MCInstLower", "MCInstLowering", "(", "OutContext", ",", "*", "this", ")", ";", "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": ["MSP430", "MSP430", "MSP430"], "File": "MSP430AsmPrinter1", "Func": "EmitInstruction", "Target": "MSP430", "Target_Clf": "MPU", "Compiler_Type": "LLVM", "Idx": 756, "Length": 40, "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": 757, "Length": 20, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "bool", "HexagonOptimizeSZExtends", "::", "runOnMachineFunction", "(", "MachineFunction", "&", "MF", ")", "{", "DenseMap", "<", "unsigned", ",", "unsigned", ">", "SExtMap", ";", "for", "(", "MachineFunction", "::", "iterator", "MBBb", "=", "MF", ".", "begin", "(", ")", ",", "MBBe", "=", "MF", ".", "end", "(", ")", ";", "MBBb", "!=", "MBBe", ";", "++", "MBBb", ")", "{", "MachineBasicBlock", "*", "MBB", "=", "MBBb", ";", "SExtMap", ".", "clear", "(", ")", ";", "for", "(", "MachineBasicBlock", "::", "iterator", "MII", "=", "MBB", "->", "begin", "(", ")", ";", "MII", "!=", "MBB", "->", "end", "(", ")", ";", "++", "MII", ")", "{", "MachineInstr", "*", "MI", "=", "MII", ";", "if", "(", "MI", "->", "getOpcode", "(", ")", "==", "Hexagon", "::", "SXTW", ")", "{", "assert", "(", "MI", "->", "getNumOperands", "(", ")", "==", "2", ")", ";", "MachineOperand", "&", "Dst", "=", "MI", "->", "getOperand", "(", "0", ")", ";", "MachineOperand", "&", "Src", "=", "MI", "->", "getOperand", "(", "1", ")", ";", "unsigned", "DstReg", "=", "Dst", ".", "getReg", "(", ")", ";", "unsigned", "SrcReg", "=", "Src", ".", "getReg", "(", ")", ";", "if", "(", "TargetRegisterInfo", "::", "isVirtualRegister", "(", "DstReg", ")", "&&", "TargetRegisterInfo", "::", "isVirtualRegister", "(", "SrcReg", ")", ")", "{", "SExtMap", "[", "DstReg", "]", "=", "SrcReg", ";", "}", "}", "if", "(", "MI", "->", "isCopy", "(", ")", ")", "{", "assert", "(", "MI", "->", "getNumOperands", "(", ")", "==", "2", ")", ";", "MachineOperand", "&", "Dst", "=", "MI", "->", "getOperand", "(", "0", ")", ";", "MachineOperand", "&", "Src", "=", "MI", "->", "getOperand", "(", "1", ")", ";", "if", "(", "Src", ".", "getSubReg", "(", ")", "!=", "Hexagon", "::", "subreg_loreg", ")", "continue", ";", "unsigned", "DstReg", "=", "Dst", ".", "getReg", "(", ")", ";", "unsigned", "SrcReg", "=", "Src", ".", "getReg", "(", ")", ";", "if", "(", "TargetRegisterInfo", "::", "isVirtualRegister", "(", "DstReg", ")", "&&", "TargetRegisterInfo", "::", "isVirtualRegister", "(", "SrcReg", ")", ")", "{", "if", "(", "unsigned", "SextSrc", "=", "SExtMap", ".", "lookup", "(", "SrcReg", ")", ")", "{", "MI", "->", "RemoveOperand", "(", "1", ")", ";", "MI", "->", "addOperand", "(", "MachineOperand", "::", "CreateReg", "(", "SextSrc", ",", "false", ")", ")", ";", "}", "}", "}", "}", "}", "return", "true", ";", "}", ""], "natrual_language": ["runOnMachineFunction", "-", "Emit", "the", "function", "body", "."], "TS_V_token": ["Hexagon", "Hexagon", "Hexagon::SXTW", "2", "0", "1", "2", "0", "1", "Hexagon::subreg_loreg", "1"], "File": "HexagonOptimizeSZextends", "Func": "runOnMachineFunction", "Target": "Hexagon", "Target_Clf": "DSP", "Compiler_Type": "LLVM", "Idx": 758, "Length": 314, "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": 759, "Length": 183, "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": 760, "Length": 156, "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": 761, "Length": 119, "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": ["LM32"], "File": "LM32FrameLowering", "Func": "hasReservedCallFrame", "Target": "LM32", "Target_Clf": "MPU", "Compiler_Type": "LLVM", "Idx": 762, "Length": 15, "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": 763, "Length": 85, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "static", "bool", "m68k_jump_table_ref_p", "(", "rtx", "x", ")", "{", "if", "(", "GET_CODE", "(", "x", ")", "!=", "LABEL_REF", ")", "return", "false", ";", "rtx_insn", "*", "insn", "=", "as_a", "<", "rtx_insn", "*", ">", "(", "XEXP", "(", "x", ",", "0", ")", ")", ";", "if", "(", "!", "NEXT_INSN", "(", "insn", ")", "&&", "!", "PREV_INSN", "(", "insn", ")", ")", "return", "true", ";", "insn", "=", "next_nonnote_insn", "(", "insn", ")", ";", "return", "insn", "&&", "JUMP_TABLE_DATA_P", "(", "insn", ")", ";", "}", ""], "natrual_language": ["Return", "true", "if", "X", "is", "a", "LABEL_REF", "for", "a", "jump", "table", ".", "Assume", "that", "unplaced", "labels", "will", "become", "jump", "tables", "."], "TS_V_token": ["m68k", "0"], "File": "m68k", "Func": "m68k_jump_table_ref_p", "Target": "m68k", "Target_Clf": "MPU", "Compiler_Type": "GCC", "Idx": 764, "Length": 71, "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": 765, "Length": 157, "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": 766, "Length": 114, "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": 767, "Length": 190, "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": 768, "Length": 486, "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": 769, "Length": 297, "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": 770, "Length": 46, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "bool", "m68k_regno_mode_ok", "(", "int", "regno", ",", "enum", "machine_mode", "mode", ")", "{", "if", "(", "regno", "<", "8", ")", "{", "if", "(", "regno", "+", "GET_MODE_SIZE", "(", "mode", ")", "/", "4", "<=", "8", ")", "return", "true", ";", "}", "else", "if", "(", "regno", "<", "16", ")", "{", "if", "(", "GET_MODE_SIZE", "(", "mode", ")", "==", "1", ")", "return", "false", ";", "if", "(", "regno", "+", "GET_MODE_SIZE", "(", "mode", ")", "/", "4", "<=", "16", ")", "return", "true", ";", "}", "else", "if", "(", "regno", "<", "24", ")", "{", "if", "(", "(", "GET_MODE_CLASS", "(", "mode", ")", "==", "MODE_FLOAT", "||", "GET_MODE_CLASS", "(", "mode", ")", "==", "MODE_COMPLEX_FLOAT", ")", "&&", "GET_MODE_UNIT_SIZE", "(", "mode", ")", "<=", "12", ")", "return", "true", ";", "}", "return", "false", ";", "}", ""], "natrual_language": ["Value", "is", "true", "if", "hard", "register", "REGNO", "can", "hold", "a", "value", "of", "machine-mode", "MODE", ".", "On", "the", "68000", ",", "we", "let", "the", "cpu", "registers", "can", "hold", "any", "mode", ",", "but", "restrict", "the", "68881", "registers", "to", "floating-point", "modes", "."], "TS_V_token": ["m68k", "8", "4", "8", "16", "1", "4", "16", "24", "12"], "File": "m68k3", "Func": "m68k_regno_mode_ok", "Target": "m68k", "Target_Clf": "MPU", "Compiler_Type": "GCC", "Idx": 771, "Length": 113, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "static", "bool", "contains", "(", "const", "T", "&", "container", ",", "const", "U", "&", "contained", ")", "{", "return", "container", ".", "count", "(", "contained", ")", ";", "}", ""], "natrual_language": ["contains", "-", "Returns", "true", "if", "this", "trace", "contains", "the", "given", "basic", "block", "."], "TS_V_token": ["WebAssembly"], "File": "Relooper3", "Func": "contains", "Target": "WebAssembly", "Target_Clf": "Virtual ISA", "Compiler_Type": "LLVM", "Idx": 772, "Length": 24, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "static", "tree", "nvptx_lockfull_update", "(", "location_t", "loc", ",", "gimple_stmt_iterator", "*", "gsi", ",", "tree", "ptr", ",", "tree", "var", ",", "tree_code", "op", ")", "{", "tree", "var_type", "=", "TREE_TYPE", "(", "var", ")", ";", "tree", "swap_fn", "=", "nvptx_builtin_decl", "(", "NVPTX_BUILTIN_CMP_SWAP", ",", "true", ")", ";", "tree", "uns_unlocked", "=", "build_int_cst", "(", "unsigned_type_node", ",", "0", ")", ";", "tree", "uns_locked", "=", "build_int_cst", "(", "unsigned_type_node", ",", "1", ")", ";", "gimple", "*", "nop", "=", "gimple_build_nop", "(", ")", ";", "gsi_insert_before", "(", "gsi", ",", "nop", ",", "GSI_SAME_STMT", ")", ";", "basic_block", "entry_bb", "=", "gsi_bb", "(", "*", "gsi", ")", ";", "edge", "entry_edge", "=", "split_block", "(", "entry_bb", ",", "nop", ")", ";", "basic_block", "lock_bb", "=", "entry_edge", "->", "dest", ";", "*", "gsi", "=", "gsi_for_stmt", "(", "gsi_stmt", "(", "*", "gsi", ")", ")", ";", "gimple_seq", "lock_seq", "=", "NULL", ";", "tree", "lock_var", "=", "make_ssa_name", "(", "unsigned_type_node", ")", ";", "tree", "lock_expr", "=", "nvptx_global_lock_addr", "(", ")", ";", "lock_expr", "=", "build_call_expr_loc", "(", "loc", ",", "swap_fn", ",", "3", ",", "lock_expr", ",", "uns_unlocked", ",", "uns_locked", ")", ";", "gimplify_assign", "(", "lock_var", ",", "lock_expr", ",", "&", "lock_seq", ")", ";", "gcond", "*", "cond", "=", "gimple_build_cond", "(", "EQ_EXPR", ",", "lock_var", ",", "uns_unlocked", ",", "NULL_TREE", ",", "NULL_TREE", ")", ";", "gimple_seq_add_stmt", "(", "&", "lock_seq", ",", "cond", ")", ";", "gimple", "*", "lock_end", "=", "gimple_seq_last", "(", "lock_seq", ")", ";", "gsi_insert_seq_before", "(", "gsi", ",", "lock_seq", ",", "GSI_SAME_STMT", ")", ";", "edge", "locked_edge", "=", "split_block", "(", "lock_bb", ",", "lock_end", ")", ";", "basic_block", "update_bb", "=", "locked_edge", "->", "dest", ";", "lock_bb", "=", "locked_edge", "->", "src", ";", "*", "gsi", "=", "gsi_for_stmt", "(", "gsi_stmt", "(", "*", "gsi", ")", ")", ";", "locked_edge", "->", "flags", "^=", "EDGE_TRUE_VALUE", "|", "EDGE_FALLTHRU", ";", "make_edge", "(", "lock_bb", ",", "lock_bb", ",", "EDGE_FALSE_VALUE", ")", ";", "set_immediate_dominator", "(", "CDI_DOMINATORS", ",", "lock_bb", ",", "entry_bb", ")", ";", "set_immediate_dominator", "(", "CDI_DOMINATORS", ",", "update_bb", ",", "lock_bb", ")", ";", "loop", "*", "lock_loop", "=", "alloc_loop", "(", ")", ";", "lock_loop", "->", "header", "=", "lock_bb", ";", "lock_loop", "->", "latch", "=", "lock_bb", ";", "lock_loop", "->", "nb_iterations_estimate", "=", "1", ";", "lock_loop", "->", "any_estimate", "=", "true", ";", "add_loop", "(", "lock_loop", ",", "entry_bb", "->", "loop_father", ")", ";", "gimple_seq", "red_seq", "=", "NULL", ";", "tree", "acc_in", "=", "make_ssa_name", "(", "var_type", ")", ";", "tree", "ref_in", "=", "build_simple_mem_ref", "(", "ptr", ")", ";", "TREE_THIS_VOLATILE", "(", "ref_in", ")", "=", "1", ";", "gimplify_assign", "(", "acc_in", ",", "ref_in", ",", "&", "red_seq", ")", ";", "tree", "acc_out", "=", "make_ssa_name", "(", "var_type", ")", ";", "tree", "update_expr", "=", "fold_build2", "(", "op", ",", "var_type", ",", "ref_in", ",", "var", ")", ";", "gimplify_assign", "(", "acc_out", ",", "update_expr", ",", "&", "red_seq", ")", ";", "tree", "ref_out", "=", "build_simple_mem_ref", "(", "ptr", ")", ";", "TREE_THIS_VOLATILE", "(", "ref_out", ")", "=", "1", ";", "gimplify_assign", "(", "ref_out", ",", "acc_out", ",", "&", "red_seq", ")", ";", "gsi_insert_seq_before", "(", "gsi", ",", "red_seq", ",", "GSI_SAME_STMT", ")", ";", "gimple_seq", "unlock_seq", "=", "NULL", ";", "tree", "unlock_expr", "=", "nvptx_global_lock_addr", "(", ")", ";", "unlock_expr", "=", "build_call_expr_loc", "(", "loc", ",", "swap_fn", ",", "3", ",", "unlock_expr", ",", "uns_locked", ",", "uns_unlocked", ")", ";", "gimplify_and_add", "(", "unlock_expr", ",", "&", "unlock_seq", ")", ";", "gsi_insert_seq_before", "(", "gsi", ",", "unlock_seq", ",", "GSI_SAME_STMT", ")", ";", "return", "acc_out", ";", "}", ""], "natrual_language": ["Insert", "code", "to", "lockfully", "update", "*", "PTR", "with", "*", "PTR", "OP", "VAR", "just", "before", "GSI", ".", "This", "is", "necessary", "for", "types", "larger", "than", "64", "bits", ",", "where", "there", "is", "no", "cmp", "&", "swap", "instruction", "to", "implement", "a", "lockless", "scheme", ".", "We", "use", "a", "lock", "variable", "in", "global", "memory", ".", "while", "(", "cmp", "&", "swap", "(", "&", "lock_var", ",", "0", ",", "1", ")", ")", "continue", ";", "T", "accum", "=", "*", "ptr", ";", "accum", "=", "accum", "OP", "var", ";", "*", "ptr", "=", "accum", ";", "cmp", "&", "swap", "(", "&", "lock_var", ",", "1", ",", "0", ")", ";", "return", "accum", ";", "A", "lock", "in", "global", "memory", "is", "necessary", "to", "force", "execution", "engine", "descheduling", "and", "avoid", "resource", "starvation", "that", "can", "occur", "if", "the", "lock", "is", "in", ".shared", "memory", "."], "TS_V_token": ["nvptx", "0", "1", "3", "1", "1", "1", "3"], "File": "nvptx3", "Func": "nvptx_lockfull_update", "Target": "nvptx", "Target_Clf": "GPU", "Compiler_Type": "GCC", "Idx": 773, "Length": 469, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "const", "AMDGPUSubtarget", "*", "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": ["AMDGPU", "AMDGPU"], "File": "AMDGPUTargetMachine16", "Func": "getSubtargetImpl", "Target": "AMDGPU", "Target_Clf": "GPU", "Compiler_Type": "LLVM", "Idx": 774, "Length": 17, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "static", "void", "frv_trampoline_init", "(", "rtx", "m_tramp", ",", "tree", "fndecl", ",", "rtx", "static_chain", ")", "{", "rtx", "addr", "=", "XEXP", "(", "m_tramp", ",", "0", ")", ";", "rtx", "fnaddr", "=", "XEXP", "(", "DECL_RTL", "(", "fndecl", ")", ",", "0", ")", ";", "rtx", "sc_reg", "=", "force_reg", "(", "Pmode", ",", "static_chain", ")", ";", "emit_library_call", "(", "gen_rtx_SYMBOL_REF", "(", "SImode", ",", "\"__trampoline_setup\"", ")", ",", "LCT_NORMAL", ",", "VOIDmode", ",", "4", ",", "addr", ",", "Pmode", ",", "GEN_INT", "(", "frv_trampoline_size", "(", ")", ")", ",", "SImode", ",", "fnaddr", ",", "Pmode", ",", "sc_reg", ",", "Pmode", ")", ";", "}", ""], "natrual_language": ["A", "C", "statement", "to", "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", ".", "The", "template", "is", ":", "setlo", "#", "0", ",", "<", "jmp_reg", ">", "setlo", "#", "0", ",", "<", "static_chain", ">", "sethi", "#", "0", ",", "<", "jmp_reg", ">", "sethi", "#", "0", ",", "<", "static_chain", ">", "jmpl", "@", "(", "gr0", ",", "<", "jmp_reg", ">", ")"], "TS_V_token": ["frv", "0", "0", "\"__trampoline_setup\"", "4"], "File": "frv3", "Func": "frv_trampoline_init", "Target": "frv", "Target_Clf": "VLIW", "Compiler_Type": "GCC", "Idx": 775, "Length": 85, "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": 776, "Length": 14, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "unsigned", "AlphaInstrInfo", "::", "getGlobalBaseReg", "(", "MachineFunction", "*", "MF", ")", "const", "{", "AlphaMachineFunctionInfo", "*", "AlphaFI", "=", "MF", "->", "getInfo", "<", "AlphaMachineFunctionInfo", ">", "(", ")", ";", "unsigned", "GlobalBaseReg", "=", "AlphaFI", "->", "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", "(", "&", "Alpha", "::", "GPRCRegClass", ")", ";", "BuildMI", "(", "FirstMBB", ",", "MBBI", ",", "DebugLoc", "(", ")", ",", "TII", "->", "get", "(", "TargetOpcode", "::", "COPY", ")", ",", "GlobalBaseReg", ")", ".", "addReg", "(", "Alpha", "::", "R29", ")", ";", "RegInfo", ".", "addLiveIn", "(", "Alpha", "::", "R29", ")", ";", "AlphaFI", "->", "setGlobalBaseReg", "(", "GlobalBaseReg", ")", ";", "return", "GlobalBaseReg", ";", "}", ""], "natrual_language": ["getGlobalBaseReg", "-", "Return", "a", "virtual", "register", "initialized", "with", "the", "the", "global", "base", "register", "value", "."], "TS_V_token": ["Alpha", "Alpha", "Alpha", "Alpha", "Alpha", "Alpha", "0", "Alpha::GPRCRegClass", "Alpha::R29", "Alpha::R29", "Alpha"], "File": "AlphaInstrInfo", "Func": "getGlobalBaseReg", "Target": "Alpha", "Target_Clf": "MPU", "Compiler_Type": "LLVM", "Idx": 777, "Length": 149, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "const", "char", "*", "msp430_set_driver_var", "(", "int", "argc", ",", "const", "char", "*", "*", "argv", ")", "{", "if", "(", "argc", "!=", "2", ")", "error", "(", "\"% expects 2 arguments\"", ")", ";", "else", "if", "(", "strcmp", "(", "argv", "[", "0", "]", ",", "\"msp430_warn_devices_csv\"", ")", "==", "0", ")", "msp430_warn_devices_csv", "=", "atoi", "(", "argv", "[", "1", "]", ")", ";", "else", "if", "(", "strcmp", "(", "argv", "[", "0", "]", ",", "\"msp430_devices_csv_loc\"", ")", "==", "0", ")", "msp430_devices_csv_loc", "=", "argv", "[", "1", "]", ";", "else", "error", "(", "\"unhandled arguments %qs and %qs to %\"", ",", "argv", "[", "0", "]", ",", "argv", "[", "1", "]", ")", ";", "return", "NULL", ";", "}", ""], "natrual_language": ["Spec", "function", "to", "set", "a", "global", "variable", "to", "a", "specific", "value", "in", "the", "driver", ".", "The", "first", "argument", "is", "the", "variable", "name", ",", "and", "the", "second", "is", "the", "value", "to", "set", "it", "to", ".", "Currently", "only", "``", "msp430_warn_devices_csv", "''", "and", "``", "msp430_devices_csv_loc", "''", "are", "supported", ".", "The", "intention", "is", "that", "we", "can", "take", "a", "``", "Target", "''", "option", "and", "set", "the", "variable", "associated", "with", "it", "in", "the", "driver", "as", "well", ".", "Whilst", "the", "driver", "sees", "``", "Target", "''", "options", ",", "it", "does", "not", "set", "the", "variables", "associated", "with", "that", "option", "."], "TS_V_token": ["msp430", "2", "\"% expects 2 arguments\"", "0", "\"msp430_warn_devices_csv\"", "0", "1", "0", "\"msp430_devices_csv_loc\"", "0", "1", "\"unhandled arguments %qs and %qs to %\"", "0", "1"], "File": "driver-msp430", "Func": "msp430_set_driver_var", "Target": "msp430", "Target_Clf": "MPU", "Compiler_Type": "GCC", "Idx": 778, "Length": 93, "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": 779, "Length": 39, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "rtx", "frv_matching_accg_for_acc", "(", "rtx", "acc", ")", "{", "return", "gen_rtx_REG", "(", "frv_matching_accg_mode", "(", "GET_MODE", "(", "acc", ")", ")", ",", "REGNO", "(", "acc", ")", "-", "ACC_FIRST", "+", "ACCG_FIRST", ")", ";", "}", ""], "natrual_language": ["Return", "the", "accumulator", "guard", "that", "should", "be", "paired", "with", "accumulator", "register", "ACC", ".", "The", "mode", "of", "the", "returned", "register", "is", "in", "the", "same", "class", "as", "ACC", ",", "but", "is", "four", "times", "smaller", "."], "TS_V_token": ["frv"], "File": "frv", "Func": "frv_matching_accg_for_acc", "Target": "frv", "Target_Clf": "VLIW", "Compiler_Type": "GCC", "Idx": 780, "Length": 29, "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": 781, "Length": 14, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "void", "XCoreFrameLowering", "::", "processFunctionBeforeFrameFinalized", "(", "MachineFunction", "&", "MF", ",", "RegScavenger", "*", "RS", ")", "const", "{", "assert", "(", "RS", "&&", "\"requiresRegisterScavenging failed\"", ")", ";", "MachineFrameInfo", "&", "MFI", "=", "MF", ".", "getFrameInfo", "(", ")", ";", "const", "TargetRegisterClass", "*", "RC", "=", "&", "XCore", "::", "GRRegsRegClass", ";", "XCoreFunctionInfo", "*", "XFI", "=", "MF", ".", "getInfo", "<", "XCoreFunctionInfo", ">", "(", ")", ";", "if", "(", "XFI", "->", "isLargeFrame", "(", "MF", ")", "||", "hasFP", "(", "MF", ")", ")", "RS", "->", "addScavengingFrameIndex", "(", "MFI", ".", "CreateStackObject", "(", "RC", "->", "getSize", "(", ")", ",", "RC", "->", "getAlignment", "(", ")", ",", "false", ")", ")", ";", "if", "(", "XFI", "->", "isLargeFrame", "(", "MF", ")", "&&", "!", "hasFP", "(", "MF", ")", ")", "RS", "->", "addScavengingFrameIndex", "(", "MFI", ".", "CreateStackObject", "(", "RC", "->", "getSize", "(", ")", ",", "RC", "->", "getAlignment", "(", ")", ",", "false", ")", ")", ";", "}", ""], "natrual_language": ["processFunctionBeforeFrameFinalized", "-", "This", "method", "is", "called", "immediately", "before", "the", "specified", "function", "'s", "frame", "layout", "(", "MF.getFrameInfo", "(", ")", ")", "is", "finalized", "."], "TS_V_token": ["XCore", "XCore", "\"requiresRegisterScavenging failed\"", "XCore::GRRegsRegClass", "XCore", "XCore"], "File": "XCoreFrameLowering16", "Func": "processFunctionBeforeFrameFinalized", "Target": "XCore", "Target_Clf": "MPU", "Compiler_Type": "LLVM", "Idx": 782, "Length": 133, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "bool", "WebAssemblyTargetLowering", "::", "isCheapToSpeculateCtlz", "(", ")", "const", "{", "return", "true", ";", "}", ""], "natrual_language": ["Return", "true", "if", "it", "is", "cheap", "to", "speculate", "a", "call", "to", "intrinsic", "ctlz", "."], "TS_V_token": ["WebAssembly", "WebAssembly"], "File": "WebAssemblyISelLowering (2)1", "Func": "isCheapToSpeculateCtlz", "Target": "WebAssembly", "Target_Clf": "Virtual ISA", "Compiler_Type": "LLVM", "Idx": 783, "Length": 12, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "static", "bool", "nios2_valid_compare_const_p", "(", "enum", "rtx_code", "code", ",", "rtx", "op", ")", "{", "gcc_assert", "(", "CONST_INT_P", "(", "op", ")", ")", ";", "switch", "(", "code", ")", "{", "case", "EQ", ":", "case", "NE", ":", "case", "GE", ":", "case", "LT", ":", "return", "SMALL_INT", "(", "INTVAL", "(", "op", ")", ")", ";", "case", "GEU", ":", "case", "LTU", ":", "return", "SMALL_INT_UNSIGNED", "(", "INTVAL", "(", "op", ")", ")", ";", "default", ":", "return", "false", ";", "}", "}", ""], "natrual_language": ["Return", "true", "if", "the", "constant", "comparison", "is", "supported", "by", "nios2", "."], "TS_V_token": ["nios2"], "File": "nios2", "Func": "nios2_valid_compare_const_p", "Target": "nios2", "Target_Clf": "MPU", "Compiler_Type": "GCC", "Idx": 784, "Length": 68, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "StringRef", "getPassName", "(", ")", "const", "override", "{", "return", "\"Nyuzi DAG->DAG Pattern Instruction Selection\"", ";", "}", ""], "natrual_language": ["getPassName", "-", "Return", "a", "nice", "clean", "name", "for", "a", "pass", "."], "TS_V_token": ["Nyuzi", "\"Nyuzi DAG->DAG Pattern Instruction Selection\""], "File": "NyuziISelDAGToDAG", "Func": "getPassName", "Target": "Nyuzi", "Target_Clf": "GPU", "Compiler_Type": "LLVM", "Idx": 785, "Length": 11, "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": ["RI5CY", "RISCV", "Intrinsic::ID", "Intrinsic::riscv_masked_cmpxchg_i32", "64", "Intrinsic::riscv_masked_cmpxchg_i64", "Intrinsic::getDeclaration", "64"], "File": "RISCVISelLowering", "Func": "emitMaskedAtomicCmpXchgIntrinsic", "Target": "RI5CY", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 786, "Length": 214, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "uint64_t", "SIMCCodeEmitter", "::", "getMachineOpValue", "(", "const", "MCInst", "&", "MI", ",", "const", "MCOperand", "&", "MO", ",", "SmallVectorImpl", "<", "MCFixup", ">", "&", "Fixups", ",", "const", "MCSubtargetInfo", "&", "STI", ")", "const", "{", "if", "(", "MO", ".", "isReg", "(", ")", ")", "return", "MRI", ".", "getEncodingValue", "(", "MO", ".", "getReg", "(", ")", ")", ";", "if", "(", "MO", ".", "isExpr", "(", ")", ")", "{", "const", "MCExpr", "*", "Expr", "=", "MO", ".", "getExpr", "(", ")", ";", "MCFixupKind", "Kind", "=", "MCFixupKind", "(", "FK_PCRel_4", ")", ";", "Fixups", ".", "push_back", "(", "MCFixup", "::", "Create", "(", "0", ",", "Expr", ",", "Kind", ",", "MI", ".", "getLoc", "(", ")", ")", ")", ";", "return", "0", ";", "}", "unsigned", "OpNo", "=", "0", ";", "for", "(", "unsigned", "e", "=", "MI", ".", "getNumOperands", "(", ")", ";", "OpNo", "<", "e", ";", "++", "OpNo", ")", "{", "if", "(", "&", "MO", "==", "&", "MI", ".", "getOperand", "(", "OpNo", ")", ")", "break", ";", "}", "const", "MCInstrDesc", "&", "Desc", "=", "MCII", ".", "get", "(", "MI", ".", "getOpcode", "(", ")", ")", ";", "if", "(", "isSrcOperand", "(", "Desc", ",", "OpNo", ")", ")", "{", "uint32_t", "Enc", "=", "getLitEncoding", "(", "MO", ")", ";", "if", "(", "Enc", "!=", "~", "0U", "&&", "(", "Enc", "!=", "255", "||", "Desc", ".", "getSize", "(", ")", "==", "4", ")", ")", "return", "Enc", ";", "}", "else", "if", "(", "MO", ".", "isImm", "(", ")", ")", "return", "MO", ".", "getImm", "(", ")", ";", "llvm_unreachable", "(", "\"Encoding of this operand type is not supported yet.\"", ")", ";", "return", "0", ";", "}", ""], "natrual_language": ["getMachineOpValue", "-", "Return", "binary", "encoding", "of", "operand", "."], "TS_V_token": ["R600", "SI", "0", "0", "0", "0U", "255", "4", "\"Encoding of this operand type is not supported yet.\"", "0"], "File": "SIMCCodeEmitter", "Func": "getMachineOpValue", "Target": "R600", "Target_Clf": "GPU", "Compiler_Type": "LLVM", "Idx": 787, "Length": 227, "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": 788, "Length": 26, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "static", "bool", "h8300_function_value_regno_p", "(", "const", "unsigned", "int", "regno", ")", "{", "return", "(", "regno", "==", "R0_REG", ")", ";", "}", ""], "natrual_language": ["Worker", "function", "for", "TARGET_FUNCTION_VALUE_REGNO_P", ".", "On", "the", "H8", ",", "R0", "is", "the", "only", "register", "thus", "used", "."], "TS_V_token": ["h8300"], "File": "h8300", "Func": "h8300_function_value_regno_p", "Target": "h8300", "Target_Clf": "MPU", "Compiler_Type": "GCC", "Idx": 789, "Length": 18, "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": 790, "Length": 156, "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": 791, "Length": 506, "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": 792, "Length": 19, "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": 793, "Length": 161, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "void", "dump", "(", ")", "{", "LLVM_DEBUG", "(", "dbgs", "(", ")", "<<", "\"Reduction:\\n\"", ";", "for", "(", "auto", "*", "Add", ":", "Adds", ")", "LLVM_DEBUG", "(", "dbgs", "(", ")", "<<", "*", "Add", "<<", "\"\\n\"", ")", ";", "for", "(", "auto", "&", "Mul", ":", "Muls", ")", "LLVM_DEBUG", "(", "dbgs", "(", ")", "<<", "*", "Mul", "->", "Root", "<<", "\"\\n\"", "<<", "\" \"", "<<", "*", "Mul", "->", "LHS", "<<", "\"\\n\"", "<<", "\" \"", "<<", "*", "Mul", "->", "RHS", "<<", "\"\\n\"", ")", ";", "LLVM_DEBUG", "(", "if", "(", "Acc", ")", "dbgs", "(", ")", "<<", "\"Acc in: \"", "<<", "*", "Acc", "<<", "\"\\n\"", ")", ")", ";", "}", ""], "natrual_language": ["Dump", "the", "plan", "to", "stderr", "(", "for", "debugging", ")", "."], "TS_V_token": ["ARM", "\"Reduction:\\n\"", "\"\\n\"", "\"\\n\"", "\" \"", "\"\\n\"", "\" \"", "\"\\n\"", "\"Acc in: \"", "\"\\n\""], "File": "ARMParallelDSP10", "Func": "dump", "Target": "ARM", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 794, "Length": 93, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "static", "bool", "isNodeHidden", "(", "const", "T", "N", ",", "const", "MCallSubGraph", "&", "G", ")", "{", "return", "G", ".", "isNodeHidden", "(", "N", ")", ";", "}", ""], "natrual_language": ["Do", "not", "print", "nodes", "that", "are", "part", "of", "a", "pi-block", "separately", "."], "TS_V_token": ["Patmos"], "File": "PatmosCallGraphBuilder", "Func": "isNodeHidden", "Target": "Patmos", "Target_Clf": "VLIW", "Compiler_Type": "LLVM", "Idx": 795, "Length": 23, "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", "(", ")", ";", "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", ")", ";", "}", "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": "RISCVFrameLowering16", "Func": "emitEpilogue", "Target": "RISCV", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 796, "Length": 253, "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": 797, "Length": 54, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "void", "WebAssemblyPassConfig", "::", "addIRPasses", "(", ")", "{", "if", "(", "TM", "->", "Options", ".", "ThreadModel", "==", "ThreadModel", "::", "Single", ")", "addPass", "(", "createLowerAtomicPass", "(", ")", ")", ";", "else", "addPass", "(", "createAtomicExpandPass", "(", "TM", ")", ")", ";", "addPass", "(", "createWebAssemblyFixFunctionBitcasts", "(", ")", ")", ";", "if", "(", "getOptLevel", "(", ")", "!=", "CodeGenOpt", "::", "None", ")", "addPass", "(", "createWebAssemblyOptimizeReturned", "(", ")", ")", ";", "if", "(", "!", "EnableEmException", ")", "{", "addPass", "(", "createLowerInvokePass", "(", ")", ")", ";", "addPass", "(", "createUnreachableBlockEliminationPass", "(", ")", ")", ";", "}", "if", "(", "EnableEmException", "||", "EnableEmSjLj", ")", "addPass", "(", "createWebAssemblyLowerEmscriptenEHSjLj", "(", "EnableEmException", ",", "EnableEmSjLj", ")", ")", ";", "TargetPassConfig", "::", "addIRPasses", "(", ")", ";", "}", ""], "natrual_language": ["Add", "common", "target", "configurable", "passes", "that", "perform", "LLVM", "IR", "to", "IR", "transforms", "following", "machine", "independent", "optimization", "."], "TS_V_token": ["WebAssembly", "WebAssembly", "WebAssembly", "WebAssembly", "WebAssembly"], "File": "WebAssemblyTargetMachine12", "Func": "addIRPasses", "Target": "WebAssembly", "Target_Clf": "Virtual ISA", "Compiler_Type": "LLVM", "Idx": 798, "Length": 103, "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": 799, "Length": 119, "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": 800, "Length": 209, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "bool", "MOSFrameLowering", "::", "spillCalleeSavedRegisters", "(", "MachineBasicBlock", "&", "MBB", ",", "MachineBasicBlock", "::", "iterator", "MI", ",", "ArrayRef", "<", "CalleeSavedInfo", ">", "CSI", ",", "const", "TargetRegisterInfo", "*", "TRI", ")", "const", "{", "MachineIRBuilder", "Builder", "(", "MBB", ",", "MI", ")", ";", "MachineInstrSpan", "MIS", "(", "MI", ",", "&", "MBB", ")", ";", "const", "MOSSubtarget", "&", "STI", "=", "MBB", ".", "getParent", "(", ")", "->", "getSubtarget", "<", "MOSSubtarget", ">", "(", ")", ";", "const", "TargetInstrInfo", "&", "TII", "=", "*", "STI", ".", "getInstrInfo", "(", ")", ";", "const", "TargetRegisterClass", "&", "StackRegClass", "=", "STI", ".", "has65C02", "(", ")", "?", "MOS", "::", "GPRRegClass", ":", "MOS", "::", "AcRegClass", ";", "for", "(", "const", "CalleeSavedInfo", "&", "CI", ":", "CSI", ")", "{", "Register", "Reg", "=", "CI", ".", "getReg", "(", ")", ";", "if", "(", "!", "CI", ".", "isTargetSpilled", "(", ")", ")", "continue", ";", "if", "(", "!", "StackRegClass", ".", "contains", "(", "Reg", ")", ")", "Reg", "=", "Builder", ".", "buildCopy", "(", "&", "StackRegClass", ",", "Reg", ")", ".", "getReg", "(", "0", ")", ";", "Builder", ".", "buildInstr", "(", "MOS", "::", "PH", ",", "{", "}", ",", "{", "Reg", "}", ")", ";", "}", "for", "(", "auto", "&", "MI", ":", "make_range", "(", "MIS", ".", "begin", "(", ")", ",", "MIS", ".", "getInitial", "(", ")", ")", ")", "MI", ".", "setFlag", "(", "MachineInstr", "::", "FrameSetup", ")", ";", "for", "(", "const", "CalleeSavedInfo", "&", "CI", ":", "CSI", ")", "{", "Register", "Reg", "=", "CI", ".", "getReg", "(", ")", ";", "if", "(", "CI", ".", "isTargetSpilled", "(", ")", ")", "continue", ";", "assert", "(", "!", "CI", ".", "isSpilledToReg", "(", ")", ")", ";", "const", "TargetRegisterClass", "*", "RC", "=", "TRI", "->", "getMinimalPhysRegClass", "(", "Reg", ")", ";", "TII", ".", "storeRegToStackSlot", "(", "MBB", ",", "Builder", ".", "getInsertPt", "(", ")", ",", "Reg", ",", "true", ",", "CI", ".", "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": ["MOS", "MOS", "MOS", "MOS", "MOS::GPRRegClass", "MOS::AcRegClass", "0", "MOS::PH"], "File": "MOSFrameLowering", "Func": "spillCalleeSavedRegisters", "Target": "MOS", "Target_Clf": "MPU", "Compiler_Type": "LLVM", "Idx": 801, "Length": 280, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "void", "SIRegisterInfo", "::", "materializeFrameBaseRegister", "(", "MachineBasicBlock", "*", "MBB", ",", "unsigned", "BaseReg", ",", "int", "FrameIdx", ",", "int64_t", "Offset", ")", "const", "{", "MachineBasicBlock", "::", "iterator", "Ins", "=", "MBB", "->", "begin", "(", ")", ";", "DebugLoc", "DL", ";", "if", "(", "Ins", "!=", "MBB", "->", "end", "(", ")", ")", "DL", "=", "Ins", "->", "getDebugLoc", "(", ")", ";", "MachineFunction", "*", "MF", "=", "MBB", "->", "getParent", "(", ")", ";", "const", "AMDGPUSubtarget", "&", "Subtarget", "=", "MF", "->", "getSubtarget", "<", "AMDGPUSubtarget", ">", "(", ")", ";", "const", "TargetInstrInfo", "*", "TII", "=", "Subtarget", ".", "getInstrInfo", "(", ")", ";", "if", "(", "Offset", "==", "0", ")", "{", "BuildMI", "(", "*", "MBB", ",", "Ins", ",", "DL", ",", "TII", "->", "get", "(", "AMDGPU", "::", "V_MOV_B32_e32", ")", ",", "BaseReg", ")", ".", "addFrameIndex", "(", "FrameIdx", ")", ";", "return", ";", "}", "MachineRegisterInfo", "&", "MRI", "=", "MF", "->", "getRegInfo", "(", ")", ";", "unsigned", "UnusedCarry", "=", "MRI", ".", "createVirtualRegister", "(", "&", "AMDGPU", "::", "SReg_64RegClass", ")", ";", "BuildMI", "(", "*", "MBB", ",", "Ins", ",", "DL", ",", "TII", "->", "get", "(", "AMDGPU", "::", "V_ADD_I32_e64", ")", ",", "BaseReg", ")", ".", "addReg", "(", "UnusedCarry", ",", "RegState", "::", "Define", "|", "RegState", "::", "Dead", ")", ".", "addImm", "(", "Offset", ")", ".", "addFrameIndex", "(", "FrameIdx", ")", ";", "}", ""], "natrual_language": ["Insert", "defining", "instruction", "(", "s", ")", "for", "a", "pointer", "to", "FrameIdx", "before", "insertion", "point", "I", "."], "TS_V_token": ["AMDGPU", "SI", "AMDGPU", "AMDGPU", "0", "AMDGPU::V_MOV_B32_e32", "AMDGPU::SReg_64RegClass", "AMDGPU::V_ADD_I32_e64"], "File": "SIRegisterInfo99", "Func": "materializeFrameBaseRegister", "Target": "AMDGPU", "Target_Clf": "GPU", "Compiler_Type": "LLVM", "Idx": 802, "Length": 191, "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": 803, "Length": 84, "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": 804, "Length": 41, "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": 805, "Length": 58, "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": 806, "Length": 46, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "SMLoc", "getEndLoc", "(", ")", "const", "override", "{", "return", "End", ";", "}", ""], "natrual_language": ["getEndLoc", "-", "Get", "the", "location", "of", "the", "last", "token", "of", "this", "operand", "."], "TS_V_token": ["MSP430"], "File": "MSP430AsmParser11", "Func": "getEndLoc", "Target": "MSP430", "Target_Clf": "MPU", "Compiler_Type": "LLVM", "Idx": 807, "Length": 11, "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": 808, "Length": 355, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "int", "frv_emit_cond_move", "(", "rtx", "dest", ",", "rtx", "test_rtx", ",", "rtx", "src1", ",", "rtx", "src2", ")", "{", "rtx", "set", ";", "rtx", "clobber_cc", ";", "rtx", "test2", ";", "rtx", "cr_reg", ";", "rtx", "if_rtx", ";", "enum", "rtx_code", "test", "=", "GET_CODE", "(", "test_rtx", ")", ";", "rtx", "cc_reg", "=", "frv_emit_comparison", "(", "test", ",", "XEXP", "(", "test_rtx", ",", "0", ")", ",", "XEXP", "(", "test_rtx", ",", "1", ")", ")", ";", "machine_mode", "cc_mode", "=", "GET_MODE", "(", "cc_reg", ")", ";", "if", "(", "GET_CODE", "(", "src1", ")", "==", "CONST_INT", "&&", "GET_CODE", "(", "src2", ")", "==", "CONST_INT", ")", "{", "HOST_WIDE_INT", "value1", "=", "INTVAL", "(", "src1", ")", ";", "HOST_WIDE_INT", "value2", "=", "INTVAL", "(", "src2", ")", ";", "if", "(", "value1", "==", "0", "||", "value2", "==", "0", ")", ";", "else", "if", "(", "IN_RANGE", "(", "value1", ",", "-", "2048", ",", "2047", ")", "&&", "IN_RANGE", "(", "value2", "-", "value1", ",", "-", "2048", ",", "2047", ")", ")", ";", "else", "{", "src1", "=", "force_reg", "(", "GET_MODE", "(", "dest", ")", ",", "src1", ")", ";", "src2", "=", "force_reg", "(", "GET_MODE", "(", "dest", ")", ",", "src2", ")", ";", "}", "}", "else", "{", "if", "(", "GET_CODE", "(", "src1", ")", "==", "CONST_INT", "&&", "INTVAL", "(", "src1", ")", "!=", "0", ")", "src1", "=", "force_reg", "(", "GET_MODE", "(", "dest", ")", ",", "src1", ")", ";", "if", "(", "GET_CODE", "(", "src2", ")", "==", "CONST_INT", "&&", "INTVAL", "(", "src2", ")", "!=", "0", ")", "src2", "=", "force_reg", "(", "GET_MODE", "(", "dest", ")", ",", "src2", ")", ";", "}", "test2", "=", "gen_rtx_fmt_ee", "(", "test", ",", "cc_mode", ",", "cc_reg", ",", "const0_rtx", ")", ";", "if_rtx", "=", "gen_rtx_IF_THEN_ELSE", "(", "GET_MODE", "(", "dest", ")", ",", "test2", ",", "src1", ",", "src2", ")", ";", "set", "=", "gen_rtx_SET", "(", "dest", ",", "if_rtx", ")", ";", "cr_reg", "=", "(", "(", "TARGET_ALLOC_CC", ")", "?", "gen_reg_rtx", "(", "CC_CCRmode", ")", ":", "gen_rtx_REG", "(", "CC_CCRmode", ",", "(", "cc_mode", "==", "CC_FPmode", ")", "?", "FCR_FIRST", ":", "ICR_FIRST", ")", ")", ";", "clobber_cc", "=", "gen_rtx_CLOBBER", "(", "VOIDmode", ",", "cr_reg", ")", ";", "emit_insn", "(", "gen_rtx_PARALLEL", "(", "VOIDmode", ",", "gen_rtvec", "(", "2", ",", "set", ",", "clobber_cc", ")", ")", ")", ";", "return", "TRUE", ";", "}", ""], "natrual_language": ["Emit", "the", "code", "for", "a", "conditional", "move", ",", "return", "TRUE", "if", "we", "could", "do", "the", "move", "."], "TS_V_token": ["frv", "0", "1", "0", "0", "2048", "2047", "2048", "2047", "0", "0", "2"], "File": "frv", "Func": "frv_emit_cond_move", "Target": "frv", "Target_Clf": "VLIW", "Compiler_Type": "GCC", "Idx": 809, "Length": 323, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "const", "char", "*", "AGCTargetLowering", "::", "getTargetNodeName", "(", "unsigned", "Opcode", ")", "const", "{", "switch", "(", "(", "AGCISD", "::", "NodeType", ")", "Opcode", ")", "{", "default", ":", "break", ";", "case", "AGCISD", "::", "RET_FLAG", ":", "return", "\"AGCISD::RET_FLAG\"", ";", "}", "return", "nullptr", ";", "}", ""], "natrual_language": ["getTargetNodeName", "-", "This", "method", "returns", "the", "name", "of", "a", "target", "specific"], "TS_V_token": ["AGC", "AGC", "AGCISD::NodeType", "AGCISD::RET_FLAG", "\"AGCISD::RET_FLAG\""], "File": "AGCISelLowering", "Func": "getTargetNodeName", "Target": "AGC", "Target_Clf": "MPU", "Compiler_Type": "LLVM", "Idx": 810, "Length": 39, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "bool", "NVPTXPrologEpilogPass", "::", "runOnMachineFunction", "(", "MachineFunction", "&", "MF", ")", "{", "const", "TargetSubtargetInfo", "&", "STI", "=", "MF", ".", "getSubtarget", "(", ")", ";", "const", "TargetFrameLowering", "&", "TFI", "=", "*", "STI", ".", "getFrameLowering", "(", ")", ";", "const", "TargetRegisterInfo", "&", "TRI", "=", "*", "STI", ".", "getRegisterInfo", "(", ")", ";", "bool", "Modified", "=", "false", ";", "calculateFrameObjectOffsets", "(", "MF", ")", ";", "for", "(", "MachineBasicBlock", "&", "MBB", ":", "MF", ")", "{", "for", "(", "MachineInstr", "&", "MI", ":", "MBB", ")", "{", "for", "(", "unsigned", "i", "=", "0", ",", "e", "=", "MI", ".", "getNumOperands", "(", ")", ";", "i", "!=", "e", ";", "++", "i", ")", "{", "if", "(", "!", "MI", ".", "getOperand", "(", "i", ")", ".", "isFI", "(", ")", ")", "continue", ";", "if", "(", "MI", ".", "isDebugValue", "(", ")", ")", "{", "assert", "(", "i", "==", "0", "&&", "\"Frame indices can only appear as the first \"", "\"operand of a DBG_VALUE machine instruction\"", ")", ";", "unsigned", "Reg", ";", "int64_t", "Offset", "=", "TFI", ".", "getFrameIndexReference", "(", "MF", ",", "MI", ".", "getOperand", "(", "0", ")", ".", "getIndex", "(", ")", ",", "Reg", ")", ";", "MI", ".", "getOperand", "(", "0", ")", ".", "ChangeToRegister", "(", "Reg", ",", "false", ")", ";", "MI", ".", "getOperand", "(", "0", ")", ".", "setIsDebug", "(", ")", ";", "auto", "*", "DIExpr", "=", "DIExpression", "::", "prepend", "(", "MI", ".", "getDebugExpression", "(", ")", ",", "DIExpression", "::", "NoDeref", ",", "Offset", ")", ";", "MI", ".", "getOperand", "(", "3", ")", ".", "setMetadata", "(", "DIExpr", ")", ";", "continue", ";", "}", "TRI", ".", "eliminateFrameIndex", "(", "MI", ",", "0", ",", "i", ",", "nullptr", ")", ";", "Modified", "=", "true", ";", "}", "}", "}", "TFI", ".", "emitPrologue", "(", "MF", ",", "MF", ".", "front", "(", ")", ")", ";", "for", "(", "MachineFunction", "::", "iterator", "I", "=", "MF", ".", "begin", "(", ")", ",", "E", "=", "MF", ".", "end", "(", ")", ";", "I", "!=", "E", ";", "++", "I", ")", "{", "if", "(", "I", "->", "isReturnBlock", "(", ")", ")", "TFI", ".", "emitEpilogue", "(", "MF", ",", "*", "I", ")", ";", "}", "return", "Modified", ";", "}", ""], "natrual_language": ["runOnMachineFunction", "-", "Emit", "the", "function", "body", "."], "TS_V_token": ["NVPTX", "NVPTX", "0", "0", "\"Frame indices can only appear as the first \"", "\"operand of a DBG_VALUE machine instruction\"", "0", "0", "0", "3", "0"], "File": "NVPTXPrologEpilogPass13", "Func": "runOnMachineFunction", "Target": "NVPTX", "Target_Clf": "GPU", "Compiler_Type": "LLVM", "Idx": 811, "Length": 303, "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": 812, "Length": 18, "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": 813, "Length": 170, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "const", "char", "*", "th_mempair_output_move", "(", "rtx", "operands", "[", "4", "]", ",", "bool", "load_p", ",", "machine_mode", "mode", ",", "RTX_CODE", "code", ")", "{", "rtx", "reg1", ",", "reg2", ",", "mem1", ",", "mem2", ",", "base1", ",", "base2", ";", "HOST_WIDE_INT", "offset1", ",", "offset2", ";", "rtx", "output_operands", "[", "5", "]", ";", "const", "char", "*", "format", ";", "gcc_assert", "(", "mode", "==", "SImode", "||", "mode", "==", "DImode", ")", ";", "unsigned", "shamt", "=", "(", "mode", "==", "DImode", ")", "?", "4", ":", "3", ";", "if", "(", "load_p", ")", "{", "reg1", "=", "copy_rtx", "(", "operands", "[", "0", "]", ")", ";", "reg2", "=", "copy_rtx", "(", "operands", "[", "2", "]", ")", ";", "mem1", "=", "copy_rtx", "(", "operands", "[", "1", "]", ")", ";", "mem2", "=", "copy_rtx", "(", "operands", "[", "3", "]", ")", ";", "if", "(", "mode", "==", "SImode", ")", "if", "(", "code", "==", "ZERO_EXTEND", ")", "format", "=", "\"th.lwud\\t%0, %1, (%2), %3, %4\"", ";", "else", "format", "=", "\"th.lwd\\t%0, %1, (%2), %3, %4\"", ";", "else", "format", "=", "\"th.ldd\\t%0, %1, (%2), %3, %4\"", ";", "}", "else", "{", "reg1", "=", "copy_rtx", "(", "operands", "[", "1", "]", ")", ";", "reg2", "=", "copy_rtx", "(", "operands", "[", "3", "]", ")", ";", "mem1", "=", "copy_rtx", "(", "operands", "[", "0", "]", ")", ";", "mem2", "=", "copy_rtx", "(", "operands", "[", "2", "]", ")", ";", "if", "(", "mode", "==", "SImode", ")", "format", "=", "\"th.swd\\t%z0, %z1, (%2), %3, %4\"", ";", "else", "format", "=", "\"th.sdd\\t%z0, %z1, (%2), %3, %4\"", ";", "}", "split_plus", "(", "XEXP", "(", "mem1", ",", "0", ")", ",", "&", "base1", ",", "&", "offset1", ")", ";", "split_plus", "(", "XEXP", "(", "mem2", ",", "0", ")", ",", "&", "base2", ",", "&", "offset2", ")", ";", "gcc_assert", "(", "rtx_equal_p", "(", "base1", ",", "base2", ")", ")", ";", "auto", "size1", "=", "MEM_SIZE", "(", "mem1", ")", ";", "auto", "size2", "=", "MEM_SIZE", "(", "mem2", ")", ";", "gcc_assert", "(", "known_eq", "(", "size1", ",", "size2", ")", ")", ";", "gcc_assert", "(", "known_eq", "(", "offset1", "+", "size1", ",", "offset2", ")", ")", ";", "HOST_WIDE_INT", "imm2", "=", "offset1", ">>", "shamt", ";", "gcc_assert", "(", "imm2", ">=", "0", "&&", "imm2", "<", "4", ")", ";", "gcc_assert", "(", "(", "imm2", "<<", "shamt", ")", "==", "offset1", ")", ";", "gcc_assert", "(", "REG_P", "(", "reg1", ")", ")", ";", "gcc_assert", "(", "REG_P", "(", "reg2", ")", ")", ";", "gcc_assert", "(", "REG_P", "(", "base1", ")", ")", ";", "if", "(", "load_p", ")", "{", "gcc_assert", "(", "REGNO", "(", "reg1", ")", "!=", "REGNO", "(", "reg2", ")", ")", ";", "gcc_assert", "(", "REGNO", "(", "reg1", ")", "!=", "REGNO", "(", "base1", ")", ")", ";", "gcc_assert", "(", "REGNO", "(", "reg2", ")", "!=", "REGNO", "(", "base1", ")", ")", ";", "}", "output_operands", "[", "0", "]", "=", "copy_rtx", "(", "reg1", ")", ";", "output_operands", "[", "1", "]", "=", "copy_rtx", "(", "reg2", ")", ";", "output_operands", "[", "2", "]", "=", "copy_rtx", "(", "base1", ")", ";", "output_operands", "[", "3", "]", "=", "gen_rtx_CONST_INT", "(", "mode", ",", "imm2", ")", ";", "output_operands", "[", "4", "]", "=", "gen_rtx_CONST_INT", "(", "mode", ",", "shamt", ")", ";", "output_asm_insn", "(", "format", ",", "output_operands", ")", ";", "return", "\"\"", ";", "}", ""], "natrual_language": ["Output", "a", "mempair", "instruction", "with", "the", "provided", "OPERANDS", ".", "LOAD_P", "is", "true", "if", "a", "we", "have", "a", "pair", "of", "loads", "(", "stores", "otherwise", ")", ".", "MODE", "is", "the", "access", "mode", "(", "DI", "or", "SI", ")", ".", "CODE", "is", "the", "extension", "code", "(", "UNKNOWN", ",", "SIGN_EXTEND", "or", "ZERO_EXTEND", ")", ".", "This", "instruction", "does", "not", "handle", "invalid", "inputs", "gracefully", ",", "but", "is", "full", "of", "assertions", "to", "ensure", "that", "only", "valid", "instructions", "are", "emitted", "."], "TS_V_token": ["riscv", "4", "5", "4", "3", "0", "2", "1", "3", "\"th.lwud\\t%0, %1, (%2), %3, %4\"", "\"th.lwd\\t%0, %1, (%2), %3, %4\"", "\"th.ldd\\t%0, %1, (%2), %3, %4\"", "1", "3", "0", "2", "\"th.swd\\t%z0, %z1, (%2), %3, %4\"", "\"th.sdd\\t%z0, %z1, (%2), %3, %4\"", "0", "0", "0", "4", "0", "1", "2", "3", "4", "\"\""], "File": "thead", "Func": "th_mempair_output_move", "Target": "riscv", "Target_Clf": "CPU", "Compiler_Type": "GCC", "Idx": 814, "Length": 447, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "void", "SIInstrInfo", "::", "storeRegToStackSlot", "(", "MachineBasicBlock", "&", "MBB", ",", "MachineBasicBlock", "::", "iterator", "MI", ",", "unsigned", "SrcReg", ",", "bool", "isKill", ",", "int", "FrameIndex", ",", "const", "TargetRegisterClass", "*", "RC", ",", "const", "TargetRegisterInfo", "*", "TRI", ")", "const", "{", "MachineFunction", "*", "MF", "=", "MBB", ".", "getParent", "(", ")", ";", "MachineFrameInfo", "*", "FrameInfo", "=", "MF", "->", "getFrameInfo", "(", ")", ";", "DebugLoc", "DL", "=", "MBB", ".", "findDebugLoc", "(", "MI", ")", ";", "int", "Opcode", "=", "-", "1", ";", "if", "(", "RI", ".", "isSGPRClass", "(", "RC", ")", ")", "{", "switch", "(", "RC", "->", "getSize", "(", ")", "*", "8", ")", "{", "case", "32", ":", "Opcode", "=", "AMDGPU", "::", "SI_SPILL_S32_SAVE", ";", "break", ";", "case", "64", ":", "Opcode", "=", "AMDGPU", "::", "SI_SPILL_S64_SAVE", ";", "break", ";", "case", "128", ":", "Opcode", "=", "AMDGPU", "::", "SI_SPILL_S128_SAVE", ";", "break", ";", "case", "256", ":", "Opcode", "=", "AMDGPU", "::", "SI_SPILL_S256_SAVE", ";", "break", ";", "case", "512", ":", "Opcode", "=", "AMDGPU", "::", "SI_SPILL_S512_SAVE", ";", "break", ";", "}", "}", "else", "if", "(", "shouldTryToSpillVGPRs", "(", "MF", ")", "&&", "RI", ".", "hasVGPRs", "(", "RC", ")", ")", "{", "switch", "(", "RC", "->", "getSize", "(", ")", "*", "8", ")", "{", "case", "32", ":", "Opcode", "=", "AMDGPU", "::", "SI_SPILL_V32_SAVE", ";", "break", ";", "case", "64", ":", "Opcode", "=", "AMDGPU", "::", "SI_SPILL_V64_SAVE", ";", "break", ";", "case", "96", ":", "Opcode", "=", "AMDGPU", "::", "SI_SPILL_V96_SAVE", ";", "break", ";", "case", "128", ":", "Opcode", "=", "AMDGPU", "::", "SI_SPILL_V128_SAVE", ";", "break", ";", "case", "256", ":", "Opcode", "=", "AMDGPU", "::", "SI_SPILL_V256_SAVE", ";", "break", ";", "case", "512", ":", "Opcode", "=", "AMDGPU", "::", "SI_SPILL_V512_SAVE", ";", "break", ";", "}", "}", "if", "(", "Opcode", "!=", "-", "1", ")", "{", "FrameInfo", "->", "setObjectAlignment", "(", "FrameIndex", ",", "4", ")", ";", "BuildMI", "(", "MBB", ",", "MI", ",", "DL", ",", "get", "(", "Opcode", ")", ")", ".", "addReg", "(", "SrcReg", ")", ".", "addFrameIndex", "(", "FrameIndex", ")", ";", "}", "else", "{", "LLVMContext", "&", "Ctx", "=", "MF", "->", "getFunction", "(", ")", "->", "getContext", "(", ")", ";", "Ctx", ".", "emitError", "(", "\"SIInstrInfo::storeRegToStackSlot - Do not know how to\"", "\" spill register\"", ")", ";", "BuildMI", "(", "MBB", ",", "MI", ",", "DL", ",", "get", "(", "AMDGPU", "::", "V_MOV_B32_e32", ")", ",", "AMDGPU", "::", "VGPR0", ")", ".", "addReg", "(", "SrcReg", ")", ";", "}", "}", ""], "natrual_language": ["Store", "the", "specified", "register", "of", "the", "given", "register", "class", "to", "the", "specified", "stack", "frame", "index", "."], "TS_V_token": ["R600", "SI", "1", "8", "32", "SI", "64", "SI", "128", "SI", "256", "SI", "512", "SI", "8", "32", "SI", "64", "SI", "96", "SI", "128", "SI", "256", "SI", "512", "SI", "1", "4", "\"SIInstrInfo::storeRegToStackSlot - Do not know how to\"", "\" spill register\""], "File": "SIInstrInfo119", "Func": "storeRegToStackSlot", "Target": "R600", "Target_Clf": "GPU", "Compiler_Type": "LLVM", "Idx": 815, "Length": 337, "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": 816, "Length": 170, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "static", "void", "init_output_initializer", "(", "FILE", "*", "file", ",", "const", "char", "*", "name", ",", "const_tree", "type", ",", "bool", "is_public", ")", "{", "fprintf", "(", "file", ",", "\"// BEGIN%s VAR DEF: \"", ",", "is_public", "?", "\" GLOBAL\"", ":", "\"\"", ")", ";", "assemble_name_raw", "(", "file", ",", "name", ")", ";", "fputc", "(", "'\\n'", ",", "file", ")", ";", "if", "(", "TREE_CODE", "(", "type", ")", "==", "ARRAY_TYPE", ")", "type", "=", "TREE_TYPE", "(", "type", ")", ";", "int", "sz", "=", "int_size_in_bytes", "(", "type", ")", ";", "if", "(", "(", "TREE_CODE", "(", "type", ")", "!=", "INTEGER_TYPE", "&&", "TREE_CODE", "(", "type", ")", "!=", "ENUMERAL_TYPE", "&&", "TREE_CODE", "(", "type", ")", "!=", "REAL_TYPE", ")", "||", "sz", "<", "0", "||", "sz", ">", "HOST_BITS_PER_WIDE_INT", ")", "type", "=", "ptr_type_node", ";", "decl_chunk_size", "=", "int_size_in_bytes", "(", "type", ")", ";", "decl_chunk_mode", "=", "int_mode_for_mode", "(", "TYPE_MODE", "(", "type", ")", ")", ";", "decl_offset", "=", "0", ";", "init_part", "=", "0", ";", "object_finished", "=", "false", ";", "}", ""], "natrual_language": ["Start", "a", "declaration", "of", "a", "variable", "of", "TYPE", "with", "NAME", "to", "FILE", ".", "IS_PUBLIC", "says", "whether", "this", "will", "be", "externally", "visible", ".", "Here", "we", "just", "write", "the", "linker", "hint", "and", "decide", "on", "the", "chunk", "size", "to", "use", "."], "TS_V_token": ["nvptx", "\"// BEGIN%s VAR DEF: \"", "\" GLOBAL\"", "\"\"", "0", "0", "0"], "File": "nvptx2", "Func": "init_output_initializer", "Target": "nvptx", "Target_Clf": "GPU", "Compiler_Type": "GCC", "Idx": 817, "Length": 138, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "void", "rvexMCInstLower", "::", "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": ["rvex", "rvex"], "File": "rvexMCInstLower", "Func": "Initialize", "Target": "rvex", "Target_Clf": "VLIW", "Compiler_Type": "LLVM", "Idx": 818, "Length": 23, "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": 819, "Length": 11, "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": 820, "Length": 45, "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": 821, "Length": 12, "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": 822, "Length": 22, "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": 823, "Length": 26, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "static", "void", "spu_va_start", "(", "tree", "valist", ",", "rtx", "nextarg", ")", "{", "tree", "f_args", ",", "f_skip", ";", "tree", "args", ",", "skip", ",", "t", ";", "f_args", "=", "TYPE_FIELDS", "(", "TREE_TYPE", "(", "va_list_type_node", ")", ")", ";", "f_skip", "=", "DECL_CHAIN", "(", "f_args", ")", ";", "valist", "=", "build_simple_mem_ref", "(", "valist", ")", ";", "args", "=", "build3", "(", "COMPONENT_REF", ",", "TREE_TYPE", "(", "f_args", ")", ",", "valist", ",", "f_args", ",", "NULL_TREE", ")", ";", "skip", "=", "build3", "(", "COMPONENT_REF", ",", "TREE_TYPE", "(", "f_skip", ")", ",", "valist", ",", "f_skip", ",", "NULL_TREE", ")", ";", "t", "=", "make_tree", "(", "TREE_TYPE", "(", "args", ")", ",", "nextarg", ")", ";", "if", "(", "crtl", "->", "args", ".", "pretend_args_size", ">", "0", ")", "t", "=", "fold_build_pointer_plus_hwi", "(", "t", ",", "-", "STACK_POINTER_OFFSET", ")", ";", "t", "=", "build2", "(", "MODIFY_EXPR", ",", "TREE_TYPE", "(", "args", ")", ",", "args", ",", "t", ")", ";", "TREE_SIDE_EFFECTS", "(", "t", ")", "=", "1", ";", "expand_expr", "(", "t", ",", "const0_rtx", ",", "VOIDmode", ",", "EXPAND_NORMAL", ")", ";", "t", "=", "make_tree", "(", "TREE_TYPE", "(", "skip", ")", ",", "virtual_incoming_args_rtx", ")", ";", "t", "=", "fold_build_pointer_plus_hwi", "(", "t", ",", "(", "crtl", "->", "args", ".", "pretend_args_size", "-", "STACK_POINTER_OFFSET", ")", ")", ";", "t", "=", "build2", "(", "MODIFY_EXPR", ",", "TREE_TYPE", "(", "skip", ")", ",", "skip", ",", "t", ")", ";", "TREE_SIDE_EFFECTS", "(", "t", ")", "=", "1", ";", "expand_expr", "(", "t", ",", "const0_rtx", ",", "VOIDmode", ",", "EXPAND_NORMAL", ")", ";", "}", ""], "natrual_language": ["Implement", "va_start", "by", "filling", "the", "va_list", "structure", "VALIST", ".", "NEXTARG", "points", "to", "the", "first", "anonymous", "stack", "argument", ".", "The", "following", "global", "variables", "are", "used", "to", "initialize", "the", "va_list", "structure", ":", "crtl-", ">", "args.info", ";", "the", "CUMULATIVE_ARGS", "for", "this", "function", "crtl-", ">", "args.arg_offset_rtx", ":", "holds", "the", "offset", "of", "the", "first", "anonymous", "stack", "argument", "(", "relative", "to", "the", "virtual", "arg", "pointer", ")", "."], "TS_V_token": ["spu", "0", "1", "1"], "File": "spu", "Func": "spu_va_start", "Target": "spu", "Target_Clf": "MPU", "Compiler_Type": "GCC", "Idx": 824, "Length": 213, "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": 825, "Length": 33, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "void", "GBZ80SectionData", "::", "getAsString", "(", "SmallVectorImpl", "<", "char", ">", "&", "Str", ")", "const", "{", "raw_svector_ostream", "O", "(", "Str", ")", ";", "if", "(", "SectionName", ".", "empty", "(", ")", ")", "O", "<<", "\"SECTION @,\"", ";", "else", "O", "<<", "\"SECTION \\\"\"", "<<", "SectionName", "<<", "\"\\\",\"", ";", "switch", "(", "Type", ")", "{", "case", "ST_ROM0", ":", "O", "<<", "\"ROM0\"", ";", "break", ";", "case", "ST_ROMX", ":", "O", "<<", "\"ROMX\"", ";", "break", ";", "case", "ST_VRAM", ":", "O", "<<", "\"VRAM\"", ";", "break", ";", "case", "ST_SRAM", ":", "O", "<<", "\"SRAM\"", ";", "break", ";", "case", "ST_WRAM0", ":", "O", "<<", "\"WRAM0\"", ";", "break", ";", "case", "ST_WRAMX", ":", "O", "<<", "\"WRAMX\"", ";", "break", ";", "case", "ST_OAM", ":", "O", "<<", "\"OAM\"", ";", "break", ";", "case", "ST_HRAM", ":", "O", "<<", "\"HRAM\"", ";", "break", ";", "default", ":", "llvm_unreachable", "(", "\"Tried to print an invalid section!\"", ")", ";", "}", "if", "(", "hasAddress", "(", ")", ")", "O", "<<", "\"[$\"", "<<", "format", "(", "\"%04x\"", ",", "Address", ")", "<<", "\"]\"", ";", "if", "(", "hasBank", "(", ")", ")", "O", "<<", "\",BANK[\"", "<<", "Bank", "<<", "\"]\"", ";", "if", "(", "hasAlignment", "(", ")", ")", "O", "<<", "\",ALIGN[\"", "<<", "Log2_32_Ceil", "(", "Alignment", ")", "<<", "\"]\"", ";", "}", ""], "natrual_language": ["Retrieve", "a", "string", "representation", "of", "the", "version", "number", "."], "TS_V_token": ["GBZ80", "GB", "\"SECTION @,\"", "\"SECTION \\\"\"", "\"\\\",\"", "\"ROM0\"", "\"ROMX\"", "\"VRAM\"", "\"SRAM\"", "\"WRAM0\"", "\"WRAMX\"", "\"OAM\"", "\"HRAM\"", "\"Tried to print an invalid section!\"", "\"[$\"", "\"%04x\"", "\"]\"", "\",BANK[\"", "\"]\"", "\",ALIGN[\"", "\"]\""], "File": "GBZ80TargetObjectFile", "Func": "getAsString", "Target": "GBZ80", "Target_Clf": "MPU", "Compiler_Type": "LLVM", "Idx": 826, "Length": 177, "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": 827, "Length": 12, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "bool", "runOnMachineFunction", "(", "MachineFunction", "&", "MF", ")", "override", "{", "TII", "=", "MF", ".", "getSubtarget", "<", "R600Subtarget", ">", "(", ")", ".", "getInstrInfo", "(", ")", ";", "TRI", "=", "&", "TII", "->", "getRegisterInfo", "(", ")", ";", "DEBUG", "(", "MF", ".", "dump", "(", ")", ";", ")", ";", "OrderedBlks", ".", "clear", "(", ")", ";", "Visited", ".", "clear", "(", ")", ";", "FuncRep", "=", "&", "MF", ";", "MLI", "=", "&", "getAnalysis", "<", "MachineLoopInfo", ">", "(", ")", ";", "DEBUG", "(", "dbgs", "(", ")", "<<", "\"LoopInfo:\\n\"", ";", "PrintLoopinfo", "(", "*", "MLI", ")", ";", ")", ";", "MDT", "=", "&", "getAnalysis", "<", "MachineDominatorTree", ">", "(", ")", ";", "DEBUG", "(", "MDT", "->", "print", "(", "dbgs", "(", ")", ",", "(", "const", "llvm", "::", "Module", "*", ")", "nullptr", ")", ";", ")", ";", "PDT", "=", "&", "getAnalysis", "<", "MachinePostDominatorTree", ">", "(", ")", ";", "DEBUG", "(", "PDT", "->", "print", "(", "dbgs", "(", ")", ")", ";", ")", ";", "prepare", "(", ")", ";", "run", "(", ")", ";", "DEBUG", "(", "MF", ".", "dump", "(", ")", ";", ")", ";", "return", "true", ";", "}", ""], "natrual_language": ["runOnMachineFunction", "-", "Emit", "the", "function", "body", "."], "TS_V_token": ["AMDGPU", "R600", "\"LoopInfo:\\n\""], "File": "AMDILCFGStructurizer13", "Func": "runOnMachineFunction", "Target": "AMDGPU", "Target_Clf": "GPU", "Compiler_Type": "LLVM", "Idx": 828, "Length": 163, "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": 829, "Length": 371, "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": 830, "Length": 92, "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": 831, "Length": 156, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "bool", "shouldSplitFunctionArgumentsAsLittleEndian", "(", "const", "DataLayout", "&", "DL", ")", "const", "override", "{", "return", "false", ";", "}", ""], "natrual_language": ["For", "most", "targets", ",", "an", "LLVM", "type", "must", "be", "broken", "down", "into", "multiple", "smaller", "types", "."], "TS_V_token": ["MCS51"], "File": "MCS51ISelLowering", "Func": "shouldSplitFunctionArgumentsAsLittleEndian", "Target": "MCS51", "Target_Clf": "MPU", "Compiler_Type": "LLVM", "Idx": 832, "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", "->", "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": 833, "Length": 155, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "bool", "SIAnnotateControlFlow", "::", "doInitialization", "(", "Module", "&", "M", ")", "{", "LLVMContext", "&", "Context", "=", "M", ".", "getContext", "(", ")", ";", "Void", "=", "Type", "::", "getVoidTy", "(", "Context", ")", ";", "Boolean", "=", "Type", "::", "getInt1Ty", "(", "Context", ")", ";", "Int64", "=", "Type", "::", "getInt64Ty", "(", "Context", ")", ";", "ReturnStruct", "=", "StructType", "::", "get", "(", "Boolean", ",", "Int64", ",", "(", "Type", "*", ")", "nullptr", ")", ";", "BoolTrue", "=", "ConstantInt", "::", "getTrue", "(", "Context", ")", ";", "BoolFalse", "=", "ConstantInt", "::", "getFalse", "(", "Context", ")", ";", "BoolUndef", "=", "UndefValue", "::", "get", "(", "Boolean", ")", ";", "Int64Zero", "=", "ConstantInt", "::", "get", "(", "Int64", ",", "0", ")", ";", "If", "=", "M", ".", "getOrInsertFunction", "(", "IfIntrinsic", ",", "ReturnStruct", ",", "Boolean", ",", "(", "Type", "*", ")", "nullptr", ")", ";", "Else", "=", "M", ".", "getOrInsertFunction", "(", "ElseIntrinsic", ",", "ReturnStruct", ",", "Int64", ",", "(", "Type", "*", ")", "nullptr", ")", ";", "Break", "=", "M", ".", "getOrInsertFunction", "(", "BreakIntrinsic", ",", "Int64", ",", "Int64", ",", "(", "Type", "*", ")", "nullptr", ")", ";", "IfBreak", "=", "M", ".", "getOrInsertFunction", "(", "IfBreakIntrinsic", ",", "Int64", ",", "Boolean", ",", "Int64", ",", "(", "Type", "*", ")", "nullptr", ")", ";", "ElseBreak", "=", "M", ".", "getOrInsertFunction", "(", "ElseBreakIntrinsic", ",", "Int64", ",", "Int64", ",", "Int64", ",", "(", "Type", "*", ")", "nullptr", ")", ";", "Loop", "=", "M", ".", "getOrInsertFunction", "(", "LoopIntrinsic", ",", "Boolean", ",", "Int64", ",", "(", "Type", "*", ")", "nullptr", ")", ";", "EndCf", "=", "M", ".", "getOrInsertFunction", "(", "EndCfIntrinsic", ",", "Void", ",", "Int64", ",", "(", "Type", "*", ")", "nullptr", ")", ";", "return", "false", ";", "}", ""], "natrual_language": ["Set", "up", "the", "AsmPrinter", "when", "we", "are", "working", "on", "a", "new", "module", "."], "TS_V_token": ["AMDGPU", "SI", "0"], "File": "SIAnnotateControlFlow14", "Func": "doInitialization", "Target": "AMDGPU", "Target_Clf": "GPU", "Compiler_Type": "LLVM", "Idx": 834, "Length": 243, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "Function", "*", "AMDGPUIntrinsicInfo", "::", "getDeclaration", "(", "Module", "*", "M", ",", "unsigned", "IntrID", ",", "Type", "*", "*", "Tys", ",", "unsigned", "numTys", ")", "const", "{", "llvm_unreachable", "(", "\"Not implemented\"", ")", ";", "}", ""], "natrual_language": ["Create", "or", "insert", "an", "LLVM", "Function", "declaration", "for", "an", "intrinsic", ",", "and", "return", "it", "."], "TS_V_token": ["R600", "\"Not implemented\""], "File": "AMDGPUIntrinsicInfo5", "Func": "getDeclaration", "Target": "R600", "Target_Clf": "GPU", "Compiler_Type": "LLVM", "Idx": 835, "Length": 29, "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": 836, "Length": 56, "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": 837, "Length": 182, "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": 838, "Length": 229, "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": 839, "Length": 13, "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": 840, "Length": 24, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "void", "HexagonInstrInfo", "::", "copyPhysReg", "(", "MachineBasicBlock", "&", "MBB", ",", "MachineBasicBlock", "::", "iterator", "I", ",", "DebugLoc", "DL", ",", "unsigned", "DestReg", ",", "unsigned", "SrcReg", ",", "bool", "KillSrc", ")", "const", "{", "if", "(", "Hexagon", "::", "IntRegsRegClass", ".", "contains", "(", "SrcReg", ",", "DestReg", ")", ")", "{", "BuildMI", "(", "MBB", ",", "I", ",", "DL", ",", "get", "(", "Hexagon", "::", "TFR", ")", ",", "DestReg", ")", ".", "addReg", "(", "SrcReg", ")", ";", "return", ";", "}", "if", "(", "Hexagon", "::", "DoubleRegsRegClass", ".", "contains", "(", "SrcReg", ",", "DestReg", ")", ")", "{", "BuildMI", "(", "MBB", ",", "I", ",", "DL", ",", "get", "(", "Hexagon", "::", "TFR64", ")", ",", "DestReg", ")", ".", "addReg", "(", "SrcReg", ")", ";", "return", ";", "}", "if", "(", "Hexagon", "::", "PredRegsRegClass", ".", "contains", "(", "SrcReg", ",", "DestReg", ")", ")", "{", "BuildMI", "(", "MBB", ",", "I", ",", "DL", ",", "get", "(", "Hexagon", "::", "OR_pp", ")", ",", "DestReg", ")", ".", "addReg", "(", "SrcReg", ")", ".", "addReg", "(", "SrcReg", ")", ";", "return", ";", "}", "if", "(", "Hexagon", "::", "DoubleRegsRegClass", ".", "contains", "(", "DestReg", ")", "&&", "Hexagon", "::", "IntRegsRegClass", ".", "contains", "(", "SrcReg", ")", ")", "{", "if", "(", "SrcReg", "==", "RI", ".", "getSubReg", "(", "DestReg", ",", "Hexagon", "::", "subreg_loreg", ")", ")", "{", "BuildMI", "(", "MBB", ",", "I", ",", "DL", ",", "get", "(", "Hexagon", "::", "TFRI", ")", ",", "(", "RI", ".", "getSubReg", "(", "DestReg", ",", "Hexagon", "::", "subreg_hireg", ")", ")", ")", ".", "addImm", "(", "0", ")", ";", "}", "else", "{", "BuildMI", "(", "MBB", ",", "I", ",", "DL", ",", "get", "(", "Hexagon", "::", "TFR", ")", ",", "(", "RI", ".", "getSubReg", "(", "DestReg", ",", "Hexagon", "::", "subreg_loreg", ")", ")", ")", ".", "addReg", "(", "SrcReg", ")", ";", "BuildMI", "(", "MBB", ",", "I", ",", "DL", ",", "get", "(", "Hexagon", "::", "TFRI", ")", ",", "(", "RI", ".", "getSubReg", "(", "DestReg", ",", "Hexagon", "::", "subreg_hireg", ")", ")", ")", ".", "addImm", "(", "0", ")", ";", "}", "return", ";", "}", "if", "(", "Hexagon", "::", "CRRegsRegClass", ".", "contains", "(", "DestReg", ")", "&&", "Hexagon", "::", "IntRegsRegClass", ".", "contains", "(", "SrcReg", ")", ")", "{", "BuildMI", "(", "MBB", ",", "I", ",", "DL", ",", "get", "(", "Hexagon", "::", "TFCR", ")", ",", "DestReg", ")", ".", "addReg", "(", "SrcReg", ")", ";", "return", ";", "}", "if", "(", "Hexagon", "::", "PredRegsRegClass", ".", "contains", "(", "SrcReg", ")", "&&", "Hexagon", "::", "IntRegsRegClass", ".", "contains", "(", "DestReg", ")", ")", "{", "BuildMI", "(", "MBB", ",", "I", ",", "DL", ",", "get", "(", "Hexagon", "::", "TFR_RsPd", ")", ",", "DestReg", ")", ".", "addReg", "(", "SrcReg", ",", "getKillRegState", "(", "KillSrc", ")", ")", ";", "return", ";", "}", "if", "(", "Hexagon", "::", "IntRegsRegClass", ".", "contains", "(", "SrcReg", ")", "&&", "Hexagon", "::", "PredRegsRegClass", ".", "contains", "(", "DestReg", ")", ")", "{", "BuildMI", "(", "MBB", ",", "I", ",", "DL", ",", "get", "(", "Hexagon", "::", "TFR_PdRs", ")", ",", "DestReg", ")", ".", "addReg", "(", "SrcReg", ",", "getKillRegState", "(", "KillSrc", ")", ")", ";", "return", ";", "}", "llvm_unreachable", "(", "\"Unimplemented\"", ")", ";", "}", ""], "natrual_language": ["}", "Branch", "Analysis", "&", "Modification"], "TS_V_token": ["Hexagon", "Hexagon", "Hexagon::IntRegsRegClass", "Hexagon::TFR", "Hexagon::DoubleRegsRegClass", "Hexagon::TFR64", "Hexagon::PredRegsRegClass", "Hexagon::OR_pp", "Hexagon::DoubleRegsRegClass", "Hexagon::IntRegsRegClass", "Hexagon::subreg_loreg", "Hexagon::TFRI", "Hexagon::subreg_hireg", "0", "Hexagon::TFR", "Hexagon::subreg_loreg", "Hexagon::TFRI", "Hexagon::subreg_hireg", "0", "Hexagon::CRRegsRegClass", "Hexagon::IntRegsRegClass", "Hexagon::TFCR", "Hexagon::PredRegsRegClass", "Hexagon::IntRegsRegClass", "Hexagon::TFR_RsPd", "Hexagon::IntRegsRegClass", "Hexagon::PredRegsRegClass", "Hexagon::TFR_PdRs", "\"Unimplemented\""], "File": "HexagonInstrInfo11", "Func": "copyPhysReg", "Target": "Hexagon", "Target_Clf": "DSP", "Compiler_Type": "LLVM", "Idx": 841, "Length": 456, "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": 842, "Length": 130, "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", "(", ")", ".", "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)", "Func": "getSchedulingPreference", "Target": "ARM", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 843, "Length": 186, "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": 844, "Length": 57, "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": 845, "Length": 50, "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": 846, "Length": 77, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "FastISel", "*", "ARMTargetLowering", "::", "createFastISel", "(", "FunctionLoweringInfo", "&", "funcInfo", ")", "const", "{", "return", "ARM", "::", "createFastISel", "(", "funcInfo", ")", ";", "}", ""], "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": "ARMISelLowering114", "Func": "createFastISel", "Target": "ARM", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 847, "Length": 21, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "bool", "PTXTargetMachine", "::", "addPostRegAlloc", "(", "PassManagerBase", "&", "PM", ",", "CodeGenOpt", "::", "Level", "OptLevel", ")", "{", "PM", ".", "add", "(", "createPTXMFInfoExtract", "(", "*", "this", ",", "OptLevel", ")", ")", ";", "return", "false", ";", "}", ""], "natrual_language": ["This", "method", "may", "be", "implemented", "by", "targets", "that", "want", "to", "run", "passes", "after", "register", "allocation", "pass", "pipeline", "but", "before", "prolog-epilog", "insertion", "."], "TS_V_token": ["PTX", "PTX", "PTX"], "File": "PTXTargetMachine1", "Func": "addPostRegAlloc", "Target": "PTX", "Target_Clf": "GPU", "Compiler_Type": "LLVM", "Idx": 848, "Length": 32, "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": 849, "Length": 200, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "StringRef", "getPassName", "(", ")", "const", "override", "{", "return", "\"SI Fix CF Live Intervals\"", ";", "}", ""], "natrual_language": ["getPassName", "-", "Return", "a", "nice", "clean", "name", "for", "a", "pass", "."], "TS_V_token": ["AMDGPU", "\"SI Fix CF Live Intervals\""], "File": "SIFixControlFlowLiveIntervals", "Func": "getPassName", "Target": "AMDGPU", "Target_Clf": "GPU", "Compiler_Type": "LLVM", "Idx": 850, "Length": 11, "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": 851, "Length": 25, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "virtual", "const", "PPCRegisterInfo", "&", "getRegisterInfo", "(", ")", "const", "{", "return", "RI", ";", "}", ""], "natrual_language": ["getRegisterInfo", "-", "TargetInstrInfo", "is", "a", "superset", "of", "MRegister", "info", "."], "TS_V_token": ["PowerPC", "PPC"], "File": "PPCInstrInfo15", "Func": "getRegisterInfo", "Target": "PowerPC", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 852, "Length": 13, "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": 853, "Length": 88, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "bool", "LanaiAsmBackend", "::", "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": ["Lanai", "Lanai", "4", "0", "0", "4", "\"\\x15\\0\\0\\0\"", "4"], "File": "LanaiAsmBackend12", "Func": "writeNopData", "Target": "Lanai", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 854, "Length": 55, "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": 855, "Length": 135, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "int", "use_return_insn", "(", ")", "{", "int", "regno", ";", "if", "(", "!", "reload_completed", "||", "frame_pointer_needed", "||", "get_frame_size", "(", ")", "!=", "0", ")", "return", "0", ";", "for", "(", "regno", "=", "0", ";", "regno", "<", "FIRST_PSEUDO_REGISTER", ";", "regno", "++", ")", "if", "(", "regs_ever_live", "[", "regno", "]", "&&", "!", "call_used_regs", "[", "regno", "]", ")", "return", "0", ";", "if", "(", "flag_pic", "&&", "current_function_uses_pic_offset_table", ")", "return", "0", ";", "return", "1", ";", "}", ""], "natrual_language": ["Return", "true", "if", "this", "function", "'s", "epilogue", "can", "be", "output", "as", "RTL", "."], "TS_V_token": ["m68k", "0", "0", "0", "0", "0", "1"], "File": "m68k2", "Func": "use_return_insn", "Target": "m68k", "Target_Clf": "MPU", "Compiler_Type": "GCC", "Idx": 856, "Length": 66, "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": 857, "Length": 30, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "virtual", "void", "getAnalysisUsage", "(", "AnalysisUsage", "&", "AU", ")", "const", "override", "{", "AU", ".", "addRequired", "<", "DominatorTreeWrapperPass", ">", "(", ")", ";", "AU", ".", "addPreserved", "<", "DominatorTreeWrapperPass", ">", "(", ")", ";", "AU", ".", "addPreserved", "<", "MachineFunctionAnalysis", ">", "(", ")", ";", "FunctionPass", "::", "getAnalysisUsage", "(", "AU", ")", ";", "}", ""], "natrual_language": ["getAnalysisUsage", "-", "Subclasses", "that", "override", "getAnalysisUsage", "must", "call", "this", "."], "TS_V_token": ["Hexagon"], "File": "HexagonGenExtract11", "Func": "getAnalysisUsage", "Target": "Hexagon", "Target_Clf": "DSP", "Compiler_Type": "LLVM", "Idx": 858, "Length": 46, "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": 859, "Length": 374, "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": 860, "Length": 242, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "std", "::", "pair", "<", "unsigned", ",", "const", "TargetRegisterClass", "*", ">", "XCoreTargetLowering", "::", "getRegForInlineAsmConstraint", "(", "const", "std", "::", "string", "&", "Constraint", ",", "MVT", "VT", ")", "const", "{", "if", "(", "Constraint", ".", "size", "(", ")", "==", "1", ")", "{", "switch", "(", "Constraint", "[", "0", "]", ")", "{", "default", ":", "break", ";", "case", "'r'", ":", "return", "std", "::", "make_pair", "(", "0U", ",", "&", "XCore", "::", "GRRegsRegClass", ")", ";", "}", "}", "return", "TargetLowering", "::", "getRegForInlineAsmConstraint", "(", "Constraint", ",", "VT", ")", ";", "}", ""], "natrual_language": ["Given", "a", "physical", "register", "constraint", "(", "e.g", "."], "TS_V_token": ["XCore", "XCore", "1", "0", "0U", "XCore::GRRegsRegClass"], "File": "XCoreISelLowering (2)", "Func": "getRegForInlineAsmConstraint", "Target": "XCore", "Target_Clf": "MPU", "Compiler_Type": "LLVM", "Idx": 861, "Length": 78, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "bool", "GCNPassConfig", "::", "addPreISel", "(", ")", "{", "AMDGPUPassConfig", "::", "addPreISel", "(", ")", ";", "if", "(", "EnableAtomicOptimizations", ")", "{", "addPass", "(", "createAMDGPUAtomicOptimizerPass", "(", ")", ")", ";", "}", "addPass", "(", "createAMDGPUAnnotateKernelFeaturesPass", "(", ")", ")", ";", "addPass", "(", "&", "AMDGPUUnifyDivergentExitNodesID", ")", ";", "if", "(", "!", "LateCFGStructurize", ")", "{", "addPass", "(", "createStructurizeCFGPass", "(", "true", ")", ")", ";", "}", "addPass", "(", "createSinkingPass", "(", ")", ")", ";", "addPass", "(", "createAMDGPUAnnotateUniformValues", "(", ")", ")", ";", "if", "(", "!", "LateCFGStructurize", ")", "{", "addPass", "(", "createSIAnnotateControlFlowPass", "(", ")", ")", ";", "}", "return", "false", ";", "}", ""], "natrual_language": ["{", "{", "@", "For", "GlobalISel"], "TS_V_token": ["AMDGPU", "AMDGPU", "AMDGPU", "AMDGPU", "AMDGPU", "AMDGPU", "SI"], "File": "AMDGPUTargetMachine102", "Func": "addPreISel", "Target": "AMDGPU", "Target_Clf": "GPU", "Compiler_Type": "LLVM", "Idx": 862, "Length": 86, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "bool", "HexagonCopyToCombine", "::", "runOnMachineFunction", "(", "MachineFunction", "&", "MF", ")", "{", "if", "(", "skipFunction", "(", "MF", ".", "getFunction", "(", ")", ")", ")", "return", "false", ";", "if", "(", "IsCombinesDisabled", ")", "return", "false", ";", "bool", "HasChanged", "=", "false", ";", "ST", "=", "&", "MF", ".", "getSubtarget", "<", "HexagonSubtarget", ">", "(", ")", ";", "TRI", "=", "ST", "->", "getRegisterInfo", "(", ")", ";", "TII", "=", "ST", "->", "getInstrInfo", "(", ")", ";", "const", "Function", "&", "F", "=", "MF", ".", "getFunction", "(", ")", ";", "bool", "OptForSize", "=", "F", ".", "hasFnAttribute", "(", "Attribute", "::", "OptimizeForSize", ")", ";", "ShouldCombineAggressively", "=", "MF", ".", "getTarget", "(", ")", ".", "getOptLevel", "(", ")", "<=", "CodeGenOpt", "::", "Default", ";", "for", "(", "MachineFunction", "::", "iterator", "BI", "=", "MF", ".", "begin", "(", ")", ",", "BE", "=", "MF", ".", "end", "(", ")", ";", "BI", "!=", "BE", ";", "++", "BI", ")", "{", "PotentiallyNewifiableTFR", ".", "clear", "(", ")", ";", "findPotentialNewifiableTFRs", "(", "*", "BI", ")", ";", "for", "(", "MachineBasicBlock", "::", "iterator", "MI", "=", "BI", "->", "begin", "(", ")", ",", "End", "=", "BI", "->", "end", "(", ")", ";", "MI", "!=", "End", ";", ")", "{", "MachineInstr", "&", "I1", "=", "*", "MI", "++", ";", "if", "(", "I1", ".", "isDebugInstr", "(", ")", ")", "continue", ";", "if", "(", "ShouldCombineAggressively", "&&", "PotentiallyNewifiableTFR", ".", "count", "(", "&", "I1", ")", ")", "continue", ";", "if", "(", "!", "isCombinableInstType", "(", "I1", ",", "TII", ",", "ShouldCombineAggressively", ")", ")", "continue", ";", "bool", "DoInsertAtI1", "=", "false", ";", "DbgMItoMove", ".", "clear", "(", ")", ";", "MachineInstr", "*", "I2", "=", "findPairable", "(", "I1", ",", "DoInsertAtI1", ",", "OptForSize", ")", ";", "if", "(", "I2", ")", "{", "HasChanged", "=", "true", ";", "combine", "(", "I1", ",", "*", "I2", ",", "MI", ",", "DoInsertAtI1", ",", "OptForSize", ")", ";", "}", "}", "}", "return", "HasChanged", ";", "}", ""], "natrual_language": ["runOnMachineFunction", "-", "Emit", "the", "function", "body", "."], "TS_V_token": ["Hexagon", "Hexagon", "Hexagon"], "File": "HexagonCopyToCombine10", "Func": "runOnMachineFunction", "Target": "Hexagon", "Target_Clf": "DSP", "Compiler_Type": "LLVM", "Idx": 863, "Length": 271, "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": 864, "Length": 335, "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": 865, "Length": 35, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "SDValue", "PatmosTargetLowering", "::", "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", "(", ")", ",", "RVLocs", ",", "*", "DAG", ".", "getContext", "(", ")", ")", ";", "CCInfo", ".", "AnalyzeCallResult", "(", "Ins", ",", "RetCC_Patmos", ")", ";", "for", "(", "unsigned", "i", "=", "0", ";", "i", "!=", "RVLocs", ".", "size", "(", ")", ";", "++", "i", ")", "{", "assert", "(", "(", "RVLocs", "[", "i", "]", ".", "getLocReg", "(", ")", "==", "Patmos", "::", "R1", "||", "RVLocs", "[", "i", "]", ".", "getLocReg", "(", ")", "==", "Patmos", "::", "R2", ")", "&&", "\"Invalid return register\"", ")", ";", "SDValue", "val", "=", "DAG", ".", "getCopyFromReg", "(", "Chain", ",", "dl", ",", "RVLocs", "[", "i", "]", ".", "getLocReg", "(", ")", ",", "MVT", "::", "i32", ",", "InFlag", ")", ";", "Chain", "=", "val", ".", "getValue", "(", "1", ")", ";", "InFlag", "=", "val", ".", "getValue", "(", "2", ")", ";", "if", "(", "RVLocs", "[", "i", "]", ".", "getValVT", "(", ")", "==", "MVT", "::", "i1", ")", "{", "val", "=", "DAG", ".", "getZExtOrTrunc", "(", "val", ",", "dl", ",", "RVLocs", "[", "i", "]", ".", "getValVT", "(", ")", ")", ";", "}", "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": ["Patmos", "Patmos", "ISD::InputArg", "16", "Patmos", "0", "Patmos::R1", "Patmos::R2", "\"Invalid return register\"", "MVT::i32", "1", "2", "MVT::i1"], "File": "PatmosISelLowering1", "Func": "LowerCallResult", "Target": "Patmos", "Target_Clf": "VLIW", "Compiler_Type": "LLVM", "Idx": 866, "Length": 231, "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": 867, "Length": 308, "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": 868, "Length": 98, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "const", "PatmosInstrInfo", "*", "getInstrInfo", "(", ")", "const", "{", "return", "Subtarget", ".", "getInstrInfo", "(", ")", ";", "}", ""], "natrual_language": ["TargetInstrInfo", "getter", "."], "TS_V_token": ["Patmos", "Patmos"], "File": "PatmosTargetMachine1", "Func": "getInstrInfo", "Target": "Patmos", "Target_Clf": "VLIW", "Compiler_Type": "LLVM", "Idx": 869, "Length": 16, "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": 870, "Length": 76, "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": 871, "Length": 56, "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": 872, "Length": 18, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "void", "TPCSchedStrategy", "::", "initialize", "(", "ScheduleDAGMI", "*", "dag", ")", "{", "LLVM_DEBUG", "(", "dbgs", "(", ")", "<<", "\"TPCSchedStrategy :: initialize\\n\"", ")", ";", "DAG", "=", "static_cast", "<", "TPCMachineScheduler", "*", ">", "(", "dag", ")", ";", "SchedModel", "=", "DAG", "->", "getSchedModel", "(", ")", ";", "Top", ".", "init", "(", "DAG", ",", "SchedModel", ")", ";", "Bot", ".", "init", "(", "DAG", ",", "SchedModel", ")", ";", "const", "InstrItineraryData", "*", "Itin", "=", "DAG", "->", "getSchedModel", "(", ")", "->", "getInstrItineraries", "(", ")", ";", "const", "TargetSubtargetInfo", "&", "STI", "=", "DAG", "->", "MF", ".", "getSubtarget", "(", ")", ";", "const", "TargetInstrInfo", "*", "TII", "=", "STI", ".", "getInstrInfo", "(", ")", ";", "if", "(", "!", "TPCUseFullSched", ")", "{", "llvm", "::", "ForceTopDown", "=", "true", ";", "}", "delete", "Top", ".", "HazardRec", ";", "delete", "Bot", ".", "HazardRec", ";", "Top", ".", "HazardRec", "=", "TII", "->", "CreateTargetMIHazardRecognizer", "(", "Itin", ",", "DAG", ")", ";", "Bot", ".", "HazardRec", "=", "TII", "->", "CreateTargetMIHazardRecognizer", "(", "Itin", ",", "DAG", ")", ";", "delete", "Top", ".", "ResourceModel", ";", "delete", "Bot", ".", "ResourceModel", ";", "Top", ".", "ResourceModel", "=", "new", "TPCResourceModel", "(", "STI", ",", "DAG", "->", "getSchedModel", "(", ")", ")", ";", "Bot", ".", "ResourceModel", "=", "new", "TPCResourceModel", "(", "STI", ",", "DAG", "->", "getSchedModel", "(", ")", ")", ";", "if", "(", "!", "isPostRA", ")", "{", "const", "std", "::", "vector", "<", "unsigned", ">", "&", "MaxPressure", "=", "DAG", "->", "getRegPressure", "(", ")", ".", "MaxSetPressure", ";", "HighPressureSets", ".", "assign", "(", "MaxPressure", ".", "size", "(", ")", ",", "0", ")", ";", "for", "(", "unsigned", "i", "=", "0", ",", "e", "=", "MaxPressure", ".", "size", "(", ")", ";", "i", "<", "e", ";", "++", "i", ")", "{", "unsigned", "Limit", "=", "DAG", "->", "getRegClassInfo", "(", ")", "->", "getRegPressureSetLimit", "(", "i", ")", ";", "HighPressureSets", "[", "i", "]", "=", "(", "(", "float", ")", "MaxPressure", "[", "i", "]", ">", "(", "(", "float", ")", "Limit", "*", "RPThreshold", ")", ")", ";", "}", "liveInsADRF", "=", "0", ";", "const", "llvm", "::", "MachineFunction", "&", "MF", "=", "DAG", "->", "MF", ";", "const", "TargetRegisterInfo", "&", "TRI", "=", "*", "MF", ".", "getSubtarget", "(", ")", ".", "getRegisterInfo", "(", ")", ";", "for", "(", "const", "auto", "&", "RegMaskPair", ":", "DAG", "->", "getTopRPTracker", "(", ")", ".", "getPressure", "(", ")", ".", "LiveInRegs", ")", "{", "Register", "Reg", "=", "RegMaskPair", ".", "RegUnit", ";", "if", "(", "Reg", ".", "isPhysical", "(", ")", ")", "continue", ";", "const", "TargetRegisterClass", "*", "rClass", "=", "MF", ".", "getRegInfo", "(", ")", ".", "getRegClass", "(", "Reg", ")", ";", "if", "(", "rClass", "==", "&", "TPC", "::", "ADRFRegClass", ")", "{", "liveInsADRF", "++", ";", "}", "}", "}", "}", ""], "natrual_language": ["Initialize", "the", "strategy", "after", "building", "the", "DAG", "for", "a", "new", "region", "."], "TS_V_token": ["TPC", "TPC", "\"TPCSchedStrategy :: initialize\\n\"", "TPC", "TPC", "TPC", "TPC", "0", "0", "0", "TPC::ADRFRegClass"], "File": "TPCMachineScheduler", "Func": "initialize", "Target": "TPC", "Target_Clf": "Virtual ISA", "Compiler_Type": "LLVM", "Idx": 873, "Length": 386, "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": 874, "Length": 107, "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": 875, "Length": 292, "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": 876, "Length": 21, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "bool", "MSP430RegisterInfo", "::", "hasFP", "(", "const", "MachineFunction", "&", "MF", ")", "const", "{", "const", "MachineFrameInfo", "*", "MFI", "=", "MF", ".", "getFrameInfo", "(", ")", ";", "return", "(", "DisableFramePointerElim", "(", "MF", ")", "||", "MF", ".", "getFrameInfo", "(", ")", "->", "hasVarSizedObjects", "(", ")", "||", "MFI", "->", "isFrameAddressTaken", "(", ")", ")", ";", "}", ""], "natrual_language": ["hasFP", "-", "Return", "true", "if", "the", "specified", "function", "should", "have", "a", "dedicated", "frame", "pointer", "register", "."], "TS_V_token": ["MSP430", "MSP430"], "File": "MSP430RegisterInfo10", "Func": "hasFP", "Target": "MSP430", "Target_Clf": "MPU", "Compiler_Type": "LLVM", "Idx": 877, "Length": 48, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "unsigned", "ARMFastISel", "::", "fastEmitInst_rr", "(", "unsigned", "MachineInstOpcode", ",", "const", "TargetRegisterClass", "*", "RC", ",", "unsigned", "Op0", ",", "unsigned", "Op1", ")", "{", "Register", "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": "ARMFastISel36", "Func": "fastEmitInst_rr", "Target": "ARM", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 878, "Length": 179, "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": 879, "Length": 218, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "bool", "HexagonDAGToDAGISel", "::", "SelectInlineAsmMemoryOperand", "(", "const", "SDValue", "&", "Op", ",", "unsigned", "ConstraintID", ",", "std", "::", "vector", "<", "SDValue", ">", "&", "OutOps", ")", "{", "SDValue", "Inp", "=", "Op", ",", "Res", ";", "switch", "(", "ConstraintID", ")", "{", "default", ":", "return", "true", ";", "case", "InlineAsm", "::", "Constraint_i", ":", "case", "InlineAsm", "::", "Constraint_o", ":", "case", "InlineAsm", "::", "Constraint_v", ":", "case", "InlineAsm", "::", "Constraint_m", ":", "if", "(", "SelectAddrFI", "(", "Inp", ",", "Res", ")", ")", "OutOps", ".", "push_back", "(", "Res", ")", ";", "else", "OutOps", ".", "push_back", "(", "Inp", ")", ";", "break", ";", "}", "OutOps", ".", "push_back", "(", "CurDAG", "->", "getTargetConstant", "(", "0", ",", "MVT", "::", "i32", ")", ")", ";", "return", "false", ";", "}", ""], "natrual_language": ["SelectInlineAsmMemoryOperand", "-", "Select", "the", "specified", "address", "as", "a", "target", "addressing", "mode", ",", "according", "to", "the", "specified", "constraint", "."], "TS_V_token": ["Hexagon", "Hexagon", "0", "MVT::i32"], "File": "HexagonISelDAGToDAG53", "Func": "SelectInlineAsmMemoryOperand", "Target": "Hexagon", "Target_Clf": "DSP", "Compiler_Type": "LLVM", "Idx": 880, "Length": 107, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "void", "HexagonInstPrinter", "::", "printInst", "(", "const", "MCInst", "*", "MI", ",", "raw_ostream", "&", "OS", ",", "StringRef", "Annot", ",", "const", "MCSubtargetInfo", "&", "STI", ")", "{", "assert", "(", "HexagonMCInstrInfo", "::", "isBundle", "(", "*", "MI", ")", ")", ";", "assert", "(", "HexagonMCInstrInfo", "::", "bundleSize", "(", "*", "MI", ")", "<=", "HEXAGON_PACKET_SIZE", ")", ";", "assert", "(", "HexagonMCInstrInfo", "::", "bundleSize", "(", "*", "MI", ")", ">", "0", ")", ";", "HasExtender", "=", "false", ";", "for", "(", "auto", "const", "&", "I", ":", "HexagonMCInstrInfo", "::", "bundleInstructions", "(", "*", "MI", ")", ")", "{", "MCInst", "const", "&", "MCI", "=", "*", "I", ".", "getInst", "(", ")", ";", "if", "(", "HexagonMCInstrInfo", "::", "isDuplex", "(", "MII", ",", "MCI", ")", ")", "{", "printInstruction", "(", "MCI", ".", "getOperand", "(", "1", ")", ".", "getInst", "(", ")", ",", "OS", ")", ";", "OS", "<<", "'\\v'", ";", "HasExtender", "=", "false", ";", "printInstruction", "(", "MCI", ".", "getOperand", "(", "0", ")", ".", "getInst", "(", ")", ",", "OS", ")", ";", "}", "else", "printInstruction", "(", "&", "MCI", ",", "OS", ")", ";", "HasExtender", "=", "HexagonMCInstrInfo", "::", "isImmext", "(", "MCI", ")", ";", "OS", "<<", "\"\\n\"", ";", "}", "bool", "IsLoop0", "=", "HexagonMCInstrInfo", "::", "isInnerLoop", "(", "*", "MI", ")", ";", "bool", "IsLoop1", "=", "HexagonMCInstrInfo", "::", "isOuterLoop", "(", "*", "MI", ")", ";", "if", "(", "IsLoop0", ")", "{", "OS", "<<", "(", "IsLoop1", "?", "\" :endloop01\"", ":", "\" :endloop0\"", ")", ";", "}", "else", "if", "(", "IsLoop1", ")", "{", "OS", "<<", "\" :endloop1\"", ";", "}", "}", ""], "natrual_language": ["Print", "the", "specified", "MCInst", "to", "the", "specified", "raw_ostream", "."], "TS_V_token": ["Hexagon", "Hexagon", "Hexagon", "Hexagon", "Hexagon", "0", "Hexagon", "Hexagon", "1", "0", "Hexagon", "\"\\n\"", "Hexagon", "Hexagon", "\" :endloop01\"", "\" :endloop0\"", "\" :endloop1\""], "File": "HexagonInstPrinter25", "Func": "printInst", "Target": "Hexagon", "Target_Clf": "DSP", "Compiler_Type": "LLVM", "Idx": 881, "Length": 218, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "static", "bool", "compare_eq_p", "(", "rtx_insn", "*", "insn", ")", "{", "RTX_CODE", "cond", "=", "compare_condition", "(", "insn", ")", ";", "return", "(", "cond", "==", "EQ", "||", "cond", "==", "NE", ")", ";", "}", ""], "natrual_language": ["Returns", "nonzero", "if", "INSN", "is", "a", "compare", "insn", "with", "the", "EQ", "or", "NE", "condition", "."], "TS_V_token": ["avr"], "File": "avr", "Func": "compare_eq_p", "Target": "avr", "Target_Clf": "MPU", "Compiler_Type": "GCC", "Idx": 882, "Length": 29, "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": 883, "Length": 79, "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": 884, "Length": 456, "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": 885, "Length": 373, "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": 886, "Length": 407, "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", ".", "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": "MipsISelLowering42", "Func": "getOpndList", "Target": "Mips", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 887, "Length": 382, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "SDValue", "WDC65816TargetLowering", "::", "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", ">", "RVLocs", ";", "CCState", "CCInfo", "(", "CallConv", ",", "IsVarArg", ",", "DAG", ".", "getMachineFunction", "(", ")", ",", "DAG", ".", "getTarget", "(", ")", ",", "RVLocs", ",", "*", "DAG", ".", "getContext", "(", ")", ")", ";", "CCInfo", ".", "AnalyzeReturn", "(", "Outs", ",", "RetCC_WDC", ")", ";", "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", "(", "MF", ".", "getFunction", "(", ")", "->", "hasStructRetAttr", "(", ")", ")", "{", "WDC_LOG", "(", "\"WDC_TODO - Need to implement hasStructRetAttr() case\"", ")", ";", "}", "RetOps", "[", "0", "]", "=", "Chain", ";", "if", "(", "Flag", ".", "getNode", "(", ")", ")", "RetOps", ".", "push_back", "(", "Flag", ")", ";", "return", "DAG", ".", "getNode", "(", "WDCISD", "::", "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": ["WDC65816", "WDC", "ISD::OutputArg", "16", "WDC", "4", "1", "0", "\"Can only return in registers!\"", "1", "WDC", "\"WDC_TODO - Need to implement hasStructRetAttr() case\"", "0", "WDCISD::RET_FLAG", "MVT::Other", "0"], "File": "WDC65816ISelLowering", "Func": "LowerReturn", "Target": "WDC65816", "Target_Clf": "MPU", "Compiler_Type": "LLVM", "Idx": 888, "Length": 280, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "void", "getAnalysisUsage", "(", "AnalysisUsage", "&", "AU", ")", "const", "override", "{", "}", ""], "natrual_language": ["getAnalysisUsage", "-", "Subclasses", "that", "override", "getAnalysisUsage", "must", "call", "this", "."], "TS_V_token": ["Patmos"], "File": "PatmosIntrinsicElimination", "Func": "getAnalysisUsage", "Target": "Patmos", "Target_Clf": "VLIW", "Compiler_Type": "LLVM", "Idx": 889, "Length": 11, "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": 890, "Length": 34, "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": ["MSP430"], "File": "MSP430TargetMachine10", "Func": "getFrameInfo", "Target": "MSP430", "Target_Clf": "MPU", "Compiler_Type": "LLVM", "Idx": 891, "Length": 14, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "const", "GBZ80RegisterInfo", "&", "getRegisterInfo", "(", ")", "const", "{", "return", "RI", ";", "}", ""], "natrual_language": ["getRegisterInfo", "-", "TargetInstrInfo", "is", "a", "superset", "of", "MRegister", "info", "."], "TS_V_token": ["GBZ80", "GB"], "File": "GBZ80InstrInfo", "Func": "getRegisterInfo", "Target": "GBZ80", "Target_Clf": "MPU", "Compiler_Type": "LLVM", "Idx": 892, "Length": 12, "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": 893, "Length": 481, "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": 894, "Length": 441, "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": 895, "Length": 103, "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": 896, "Length": 15, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "void", "x86_emit_floatuns", "(", "rtx", "operands", "[", "2", "]", ")", "{", "rtx", "neglab", ",", "donelab", ",", "i0", ",", "i1", ",", "f0", ",", "in", ",", "out", ";", "enum", "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", "(", ")", ";", "i1", "=", "gen_reg_rtx", "(", "Pmode", ")", ";", "f0", "=", "gen_reg_rtx", "(", "mode", ")", ";", "emit_cmp_and_jump_insns", "(", "in", ",", "const0_rtx", ",", "LT", ",", "const0_rtx", ",", "Pmode", ",", "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", ")", ";", "i0", "=", "expand_simple_binop", "(", "Pmode", ",", "LSHIFTRT", ",", "in", ",", "const1_rtx", ",", "NULL", ",", "1", ",", "OPTAB_DIRECT", ")", ";", "i1", "=", "expand_simple_binop", "(", "Pmode", ",", "AND", ",", "in", ",", "const1_rtx", ",", "NULL", ",", "1", ",", "OPTAB_DIRECT", ")", ";", "i0", "=", "expand_simple_binop", "(", "Pmode", ",", "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", "1", "1", "1", "0"], "File": "i3863", "Func": "x86_emit_floatuns", "Target": "i386", "Target_Clf": "CPU", "Compiler_Type": "GCC", "Idx": 897, "Length": 246, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "void", "TL45AsmBackend", "::", "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": ["TL45", "TL45"], "File": "TL45AsmBackend", "Func": "relaxInstruction", "Target": "TL45", "Target_Clf": "MPU", "Compiler_Type": "LLVM", "Idx": 898, "Length": 22, "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": 899, "Length": 45, "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": 900, "Length": 120, "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": 901, "Length": 14, "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": 902, "Length": 400, "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": 903, "Length": 78, "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_LOAD_4", ":", "case", "TYPE_STORE_4", ":", "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": "arm", "Func": "cortexa7_older_only", "Target": "arm", "Target_Clf": "CPU", "Compiler_Type": "GCC", "Idx": 904, "Length": 150, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "static", "const", "unsigned", "*", "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": "X86InstrInfo12", "Func": "lookup", "Target": "X86", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 905, "Length": 58, "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": 906, "Length": 189, "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": 907, "Length": 238, "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": 908, "Length": 10, "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": 909, "Length": 60, "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": 910, "Length": 294, "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": 911, "Length": 390, "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": 912, "Length": 21, "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": 913, "Length": 49, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "static", "rtx", "nios2_unspec_offset", "(", "rtx", "loc", ",", "int", "unspec", ")", "{", "return", "gen_rtx_CONST", "(", "Pmode", ",", "gen_rtx_UNSPEC", "(", "Pmode", ",", "gen_rtvec", "(", "1", ",", "loc", ")", ",", "unspec", ")", ")", ";", "}", ""], "natrual_language": ["Helper", "to", "generate", "unspec", "constant", "."], "TS_V_token": ["nios2", "1"], "File": "nios2", "Func": "nios2_unspec_offset", "Target": "nios2", "Target_Clf": "MPU", "Compiler_Type": "GCC", "Idx": 914, "Length": 32, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "SDValue", "M68kTargetLowering", "::", "PerformDAGCombine", "(", "SDNode", "*", "N", ",", "DAGCombinerInfo", "&", "DCI", ")", "const", "{", "SelectionDAG", "&", "DAG", "=", "DCI", ".", "DAG", ";", "switch", "(", "N", "->", "getOpcode", "(", ")", ")", "{", "case", "M68kISD", "::", "SUBX", ":", "return", "combineSUBX", "(", "N", ",", "DAG", ")", ";", "case", "M68kISD", "::", "ADDX", ":", "return", "combineADDX", "(", "N", ",", "DAG", ",", "DCI", ")", ";", "case", "M68kISD", "::", "SETCC", ":", "return", "combineM68kSetCC", "(", "N", ",", "DAG", ",", "Subtarget", ")", ";", "case", "M68kISD", "::", "BRCOND", ":", "return", "combineM68kBrCond", "(", "N", ",", "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": ["M68k", "M68k", "M68kISD::SUBX", "M68kISD::ADDX", "M68kISD::SETCC", "M68k", "M68kISD::BRCOND", "M68k"], "File": "M68kISelLowering", "Func": "PerformDAGCombine", "Target": "M68k", "Target_Clf": "MPU", "Compiler_Type": "LLVM", "Idx": 915, "Length": 97, "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": 916, "Length": 297, "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": 917, "Length": 48, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "rtx", "frv_split_cond_move", "(", "rtx", "operands", "[", "]", ")", "{", "rtx", "dest", "=", "operands", "[", "0", "]", ";", "rtx", "test", "=", "operands", "[", "1", "]", ";", "rtx", "cc_reg", "=", "operands", "[", "2", "]", ";", "rtx", "src1", "=", "operands", "[", "3", "]", ";", "rtx", "src2", "=", "operands", "[", "4", "]", ";", "rtx", "cr_reg", "=", "operands", "[", "5", "]", ";", "rtx", "ret", ";", "machine_mode", "cr_mode", "=", "GET_MODE", "(", "cr_reg", ")", ";", "start_sequence", "(", ")", ";", "emit_insn", "(", "gen_rtx_SET", "(", "VOIDmode", ",", "cr_reg", ",", "gen_rtx_fmt_ee", "(", "GET_CODE", "(", "test", ")", ",", "GET_MODE", "(", "cr_reg", ")", ",", "cc_reg", ",", "const0_rtx", ")", ")", ")", ";", "if", "(", "GET_CODE", "(", "src1", ")", "==", "CONST_INT", "&&", "GET_CODE", "(", "src2", ")", "==", "CONST_INT", ")", "{", "HOST_WIDE_INT", "value1", "=", "INTVAL", "(", "src1", ")", ";", "HOST_WIDE_INT", "value2", "=", "INTVAL", "(", "src2", ")", ";", "if", "(", "value1", "==", "0", ")", "{", "emit_move_insn", "(", "dest", ",", "src2", ")", ";", "emit_insn", "(", "gen_rtx_COND_EXEC", "(", "VOIDmode", ",", "gen_rtx_NE", "(", "cr_mode", ",", "cr_reg", ",", "const0_rtx", ")", ",", "gen_rtx_SET", "(", "VOIDmode", ",", "dest", ",", "src1", ")", ")", ")", ";", "}", "else", "if", "(", "value2", "==", "0", ")", "{", "emit_move_insn", "(", "dest", ",", "src1", ")", ";", "emit_insn", "(", "gen_rtx_COND_EXEC", "(", "VOIDmode", ",", "gen_rtx_EQ", "(", "cr_mode", ",", "cr_reg", ",", "const0_rtx", ")", ",", "gen_rtx_SET", "(", "VOIDmode", ",", "dest", ",", "src2", ")", ")", ")", ";", "}", "else", "if", "(", "IN_RANGE", "(", "value1", ",", "-", "2048", ",", "2047", ")", "&&", "IN_RANGE", "(", "value2", "-", "value1", ",", "-", "2048", ",", "2047", ")", ")", "{", "rtx", "dest_si", "=", "(", "(", "GET_MODE", "(", "dest", ")", "==", "SImode", ")", "?", "dest", ":", "gen_rtx_SUBREG", "(", "SImode", ",", "dest", ",", "0", ")", ")", ";", "emit_move_insn", "(", "dest_si", ",", "GEN_INT", "(", "value2", "-", "value1", ")", ")", ";", "emit_insn", "(", "gen_rtx_COND_EXEC", "(", "VOIDmode", ",", "gen_rtx_NE", "(", "cr_mode", ",", "cr_reg", ",", "const0_rtx", ")", ",", "gen_rtx_SET", "(", "VOIDmode", ",", "dest_si", ",", "const0_rtx", ")", ")", ")", ";", "emit_insn", "(", "gen_addsi3", "(", "dest_si", ",", "dest_si", ",", "src1", ")", ")", ";", "}", "else", "gcc_unreachable", "(", ")", ";", "}", "else", "{", "if", "(", "!", "rtx_equal_p", "(", "dest", ",", "src1", ")", ")", "emit_insn", "(", "gen_rtx_COND_EXEC", "(", "VOIDmode", ",", "gen_rtx_NE", "(", "cr_mode", ",", "cr_reg", ",", "const0_rtx", ")", ",", "gen_rtx_SET", "(", "VOIDmode", ",", "dest", ",", "src1", ")", ")", ")", ";", "if", "(", "!", "rtx_equal_p", "(", "dest", ",", "src2", ")", ")", "emit_insn", "(", "gen_rtx_COND_EXEC", "(", "VOIDmode", ",", "gen_rtx_EQ", "(", "cr_mode", ",", "cr_reg", ",", "const0_rtx", ")", ",", "gen_rtx_SET", "(", "VOIDmode", ",", "dest", ",", "src2", ")", ")", ")", ";", "}", "ret", "=", "get_insns", "(", ")", ";", "end_sequence", "(", ")", ";", "return", "ret", ";", "}", ""], "natrual_language": ["Split", "a", "conditional", "move", "into", "constituent", "parts", ",", "returning", "a", "SEQUENCE", "containing", "all", "of", "the", "insns", "."], "TS_V_token": ["frv", "0", "1", "2", "3", "4", "5", "0", "0", "2048", "2047", "2048", "2047", "0"], "File": "frv3", "Func": "frv_split_cond_move", "Target": "frv", "Target_Clf": "VLIW", "Compiler_Type": "GCC", "Idx": 918, "Length": 412, "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": 919, "Length": 267, "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": 920, "Length": 29, "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": 921, "Length": 11, "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", ")", "==", "\"wi\"", "&&", "type", "->", "isIntegerTy", "(", "64", ")", ")", "return", "CW_Register", ";", "else", "if", "(", "StringRef", "(", "constraint", ")", "==", "\"ws\"", "&&", "type", "->", "isDoubleTy", "(", ")", ")", "return", "CW_Register", ";", "else", "if", "(", "StringRef", "(", "constraint", ")", "==", "\"ww\"", "&&", "type", "->", "isFloatTy", "(", ")", ")", "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\"", "\"wi\"", "64", "\"ws\"", "\"ww\""], "File": "PPCISelLowering100", "Func": "getSingleConstraintMatchWeight", "Target": "PowerPC", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 922, "Length": 273, "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": 923, "Length": 235, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "tree", "m88k_build_va_list", "(", ")", "{", "tree", "field_reg", ",", "field_stk", ",", "field_arg", ",", "int_ptr_type_node", ",", "record", ";", "int_ptr_type_node", "=", "build_pointer_type", "(", "integer_type_node", ")", ";", "record", "=", "make_node", "(", "RECORD_TYPE", ")", ";", "field_arg", "=", "build_decl", "(", "FIELD_DECL", ",", "get_identifier", "(", "\"__va_arg\"", ")", ",", "integer_type_node", ")", ";", "field_stk", "=", "build_decl", "(", "FIELD_DECL", ",", "get_identifier", "(", "\"__va_stk\"", ")", ",", "int_ptr_type_node", ")", ";", "field_reg", "=", "build_decl", "(", "FIELD_DECL", ",", "get_identifier", "(", "\"__va_reg\"", ")", ",", "int_ptr_type_node", ")", ";", "DECL_FIELD_CONTEXT", "(", "field_arg", ")", "=", "record", ";", "DECL_FIELD_CONTEXT", "(", "field_stk", ")", "=", "record", ";", "DECL_FIELD_CONTEXT", "(", "field_reg", ")", "=", "record", ";", "TYPE_FIELDS", "(", "record", ")", "=", "field_arg", ";", "TREE_CHAIN", "(", "field_arg", ")", "=", "field_stk", ";", "TREE_CHAIN", "(", "field_stk", ")", "=", "field_reg", ";", "layout_type", "(", "record", ")", ";", "return", "record", ";", "}", ""], "natrual_language": ["Define", "the", "`", "__builtin_va_list", "'", "type", "for", "the", "ABI", "."], "TS_V_token": ["m88k", "\"__va_arg\"", "\"__va_stk\"", "\"__va_reg\""], "File": "m88k", "Func": "m88k_build_va_list", "Target": "m88k", "Target_Clf": "MPU", "Compiler_Type": "GCC", "Idx": 924, "Length": 123, "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": 925, "Length": 72, "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": 926, "Length": 161, "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": 927, "Length": 12, "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": 928, "Length": 440, "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": ["powerpcspe", "1", "1", "0", "0", "0", "1", "0", "1", "1", "1", "1", "0"], "File": "powerpcspe", "Func": "rs6000_darwin64_record_arg_flush", "Target": "powerpcspe", "Target_Clf": "CPU", "Compiler_Type": "GCC", "Idx": 929, "Length": 276, "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": 930, "Length": 64, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "void", "PIC16RegisterInfo", "::", "emitEpilogue", "(", "MachineFunction", "&", "MF", ",", "MachineBasicBlock", "&", "MBB", ")", "const", "{", "}", ""], "natrual_language": ["Insert", "epilog", "code", "into", "the", "function", "."], "TS_V_token": ["PIC16", "PIC16"], "File": "PIC16RegisterInfo", "Func": "emitEpilogue", "Target": "PIC16", "Target_Clf": "MPU", "Compiler_Type": "LLVM", "Idx": 931, "Length": 16, "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": 932, "Length": 49, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "bool", "SILoadStoreOptimizer", "::", "runOnMachineFunction", "(", "MachineFunction", "&", "MF", ")", "{", "if", "(", "skipFunction", "(", "MF", ".", "getFunction", "(", ")", ")", ")", "return", "false", ";", "STM", "=", "&", "MF", ".", "getSubtarget", "<", "GCNSubtarget", ">", "(", ")", ";", "if", "(", "!", "STM", "->", "loadStoreOptEnabled", "(", ")", ")", "return", "false", ";", "TII", "=", "STM", "->", "getInstrInfo", "(", ")", ";", "TRI", "=", "&", "TII", "->", "getRegisterInfo", "(", ")", ";", "MRI", "=", "&", "MF", ".", "getRegInfo", "(", ")", ";", "AA", "=", "&", "getAnalysis", "<", "AAResultsWrapperPass", ">", "(", ")", ".", "getAAResults", "(", ")", ";", "assert", "(", "MRI", "->", "isSSA", "(", ")", "&&", "\"Must be run on SSA\"", ")", ";", "LLVM_DEBUG", "(", "dbgs", "(", ")", "<<", "\"Running SILoadStoreOptimizer\\n\"", ")", ";", "bool", "Modified", "=", "false", ";", "for", "(", "MachineBasicBlock", "&", "MBB", ":", "MF", ")", "{", "std", "::", "list", "<", "std", "::", "list", "<", "CombineInfo", ">", ">", "MergeableInsts", ";", "Modified", "|=", "collectMergeableInsts", "(", "MBB", ",", "MergeableInsts", ")", ";", "do", "{", "OptimizeAgain", "=", "false", ";", "Modified", "|=", "optimizeBlock", "(", "MergeableInsts", ")", ";", "}", "while", "(", "OptimizeAgain", ")", ";", "}", "return", "Modified", ";", "}", ""], "natrual_language": ["runOnMachineFunction", "-", "Emit", "the", "function", "body", "."], "TS_V_token": ["AMDGPU", "SI", "\"Must be run on SSA\"", "\"Running SILoadStoreOptimizer\\n\""], "File": "SILoadStoreOptimizer21", "Func": "runOnMachineFunction", "Target": "AMDGPU", "Target_Clf": "GPU", "Compiler_Type": "LLVM", "Idx": 933, "Length": 168, "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": 934, "Length": 437, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "static", "unsigned", "getReturnSaveOffset", "(", "bool", "isPPC64", ",", "bool", "isDarwinABI", ")", "{", "if", "(", "isDarwinABI", ")", "return", "isPPC64", "?", "16", ":", "8", ";", "return", "isPPC64", "?", "16", ":", "4", ";", "}", ""], "natrual_language": ["getReturnSaveOffset", "-", "Return", "the", "previous", "frame", "offset", "to", "save", "the", "return", "address", "."], "TS_V_token": ["PowerPC", "PPC", "PPC", "16", "8", "PPC", "16", "4"], "File": "PPCFrameInfo1", "Func": "getReturnSaveOffset", "Target": "PowerPC", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 935, "Length": 30, "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": 936, "Length": 15, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "bool", "ECLairAsmParser", "::", "ParseInstruction", "(", "ParseInstructionInfo", "&", "Info", ",", "StringRef", "Name", ",", "SMLoc", "NameLoc", ",", "OperandVector", "&", "Operands", ")", "{", "Operands", ".", "push_back", "(", "ECLairOperand", "::", "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": ["ECLair", "ECLair", "ECLairOperand::createToken", "\"unexpected token\""], "File": "ECLairAsmParser", "Func": "ParseInstruction", "Target": "ECLair", "Target_Clf": "MPU", "Compiler_Type": "LLVM", "Idx": 937, "Length": 147, "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": 938, "Length": 148, "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": 939, "Length": 51, "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", ")", ";", "ix86_target_macros_internal", "(", "ix86_isa_flags", ",", "ix86_arch", ",", "ix86_tune", ",", "ix86_fpmath", ",", "cpp_define", ")", ";", "}", ""], "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\""], "File": "i386-c2", "Func": "ix86_target_macros", "Target": "i386", "Target_Clf": "CPU", "Compiler_Type": "GCC", "Idx": 940, "Length": 188, "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": 941, "Length": 116, "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": 942, "Length": 81, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "int", "frv_function_arg_boundary", "(", "enum", "machine_mode", "mode", "ATTRIBUTE_UNUSED", ",", "tree", "type", "ATTRIBUTE_UNUSED", ")", "{", "return", "BITS_PER_WORD", ";", "}", ""], "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", "."], "TS_V_token": ["frv"], "File": "frv2", "Func": "frv_function_arg_boundary", "Target": "frv", "Target_Clf": "VLIW", "Compiler_Type": "GCC", "Idx": 943, "Length": 17, "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": 944, "Length": 66, "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": 945, "Length": 200, "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": 946, "Length": 47, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "static", "int", "bfin_arg_partial_bytes", "(", "cumulative_args_t", "cum", ",", "machine_mode", "mode", ",", "tree", "type", "ATTRIBUTE_UNUSED", ",", "bool", "named", "ATTRIBUTE_UNUSED", ")", "{", "int", "bytes", "=", "(", "mode", "==", "BLKmode", ")", "?", "int_size_in_bytes", "(", "type", ")", ":", "GET_MODE_SIZE", "(", "mode", ")", ";", "int", "bytes_left", "=", "get_cumulative_args", "(", "cum", ")", "->", "nregs", "*", "UNITS_PER_WORD", ";", "if", "(", "bytes", "==", "-", "1", ")", "return", "0", ";", "if", "(", "bytes_left", "==", "0", ")", "return", "0", ";", "if", "(", "bytes", ">", "bytes_left", ")", "return", "bytes_left", ";", "return", "0", ";", "}", ""], "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", ".", "Refer", "VDSP", "C", "Compiler", "manual", ",", "our", "ABI", ".", "First", "3", "words", "are", "in", "registers", ".", "So", ",", "if", "a", "an", "argument", "is", "larger", "than", "the", "registers", "available", ",", "it", "will", "span", "the", "register", "and", "stack", "."], "TS_V_token": ["bfin", "1", "0", "0", "0", "0"], "File": "bfin3", "Func": "bfin_arg_partial_bytes", "Target": "bfin", "Target_Clf": "DSP", "Compiler_Type": "GCC", "Idx": 947, "Length": 82, "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": 948, "Length": 38, "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": 949, "Length": 258, "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": 950, "Length": 119, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "TargetTransformInfo", "HexagonTargetMachine", "::", "getTargetTransformInfo", "(", "const", "Function", "&", "F", ")", "{", "return", "TargetTransformInfo", "(", "HexagonTTIImpl", "(", "this", ",", "F", ")", ")", ";", "}", ""], "natrual_language": ["Get", "a", "TargetTransformInfo", "implementation", "for", "the", "target", "."], "TS_V_token": ["Hexagon", "Hexagon", "Hexagon"], "File": "HexagonTargetMachine", "Func": "getTargetTransformInfo", "Target": "Hexagon", "Target_Clf": "DSP", "Compiler_Type": "LLVM", "Idx": 951, "Length": 23, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "bool", "mprocFrameLowering", "::", "spillCalleeSavedRegisters", "(", "MachineBasicBlock", "&", "MBB", ",", "MachineBasicBlock", "::", "iterator", "MI", ",", "const", "std", "::", "vector", "<", "CalleeSavedInfo", ">", "&", "CSI", ",", "const", "TargetRegisterInfo", "*", "TRI", ")", "const", "{", "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": ["mproc", "mproc"], "File": "mprocFrameLowering", "Func": "spillCalleeSavedRegisters", "Target": "mproc", "Target_Clf": "Virtual ISA", "Compiler_Type": "LLVM", "Idx": 952, "Length": 35, "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": 953, "Length": 42, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "void", "AMDGPUAsmPrinter", "::", "emitFunctionBodyStart", "(", ")", "{", "const", "SIMachineFunctionInfo", "&", "MFI", "=", "*", "MF", "->", "getInfo", "<", "SIMachineFunctionInfo", ">", "(", ")", ";", "if", "(", "!", "MFI", ".", "isEntryFunction", "(", ")", ")", "return", ";", "const", "GCNSubtarget", "&", "STM", "=", "MF", "->", "getSubtarget", "<", "GCNSubtarget", ">", "(", ")", ";", "const", "Function", "&", "F", "=", "MF", "->", "getFunction", "(", ")", ";", "if", "(", "(", "STM", ".", "isMesaKernel", "(", "F", ")", "||", "isHsaAbiVersion2", "(", "getGlobalSTI", "(", ")", ")", ")", "&&", "(", "F", ".", "getCallingConv", "(", ")", "==", "CallingConv", "::", "AMDGPU_KERNEL", "||", "F", ".", "getCallingConv", "(", ")", "==", "CallingConv", "::", "SPIR_KERNEL", ")", ")", "{", "amd_kernel_code_t", "KernelCode", ";", "getAmdKernelCode", "(", "KernelCode", ",", "CurrentProgramInfo", ",", "*", "MF", ")", ";", "getTargetStreamer", "(", ")", "->", "EmitAMDKernelCodeT", "(", "KernelCode", ")", ";", "}", "if", "(", "STM", ".", "isAmdHsaOS", "(", ")", ")", "HSAMetadataStream", "->", "emitKernel", "(", "*", "MF", ",", "CurrentProgramInfo", ")", ";", "}", ""], "natrual_language": ["Targets", "can", "override", "this", "to", "emit", "stuff", "before", "the", "first", "basic", "block", "in", "the", "function", "."], "TS_V_token": ["AMDGPU", "AMDGPU", "SI", "SI", "AMDGPU"], "File": "AMDGPUAsmPrinter50", "Func": "emitFunctionBodyStart", "Target": "AMDGPU", "Target_Clf": "GPU", "Compiler_Type": "LLVM", "Idx": 954, "Length": 141, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "bool", "AMDGPUInstructionSelector", "::", "select", "(", "MachineInstr", "&", "I", ",", "CodeGenCoverage", "&", "CoverageInfo", ")", "const", "{", "if", "(", "I", ".", "isPHI", "(", ")", ")", "return", "selectPHI", "(", "I", ")", ";", "if", "(", "!", "isPreISelGenericOpcode", "(", "I", ".", "getOpcode", "(", ")", ")", ")", "{", "if", "(", "I", ".", "isCopy", "(", ")", ")", "return", "selectCOPY", "(", "I", ")", ";", "return", "true", ";", "}", "switch", "(", "I", ".", "getOpcode", "(", ")", ")", "{", "case", "TargetOpcode", "::", "G_AND", ":", "case", "TargetOpcode", "::", "G_OR", ":", "case", "TargetOpcode", "::", "G_XOR", ":", "if", "(", "selectG_AND_OR_XOR", "(", "I", ")", ")", "return", "true", ";", "return", "selectImpl", "(", "I", ",", "CoverageInfo", ")", ";", "case", "TargetOpcode", "::", "G_ADD", ":", "case", "TargetOpcode", "::", "G_SUB", ":", "if", "(", "selectG_ADD_SUB", "(", "I", ")", ")", "return", "true", ";", "LLVM_FALLTHROUGH", ";", "default", ":", "return", "selectImpl", "(", "I", ",", "CoverageInfo", ")", ";", "case", "TargetOpcode", "::", "G_INTTOPTR", ":", "case", "TargetOpcode", "::", "G_BITCAST", ":", "return", "selectCOPY", "(", "I", ")", ";", "case", "TargetOpcode", "::", "G_CONSTANT", ":", "case", "TargetOpcode", "::", "G_FCONSTANT", ":", "return", "selectG_CONSTANT", "(", "I", ")", ";", "case", "TargetOpcode", "::", "G_EXTRACT", ":", "return", "selectG_EXTRACT", "(", "I", ")", ";", "case", "TargetOpcode", "::", "G_MERGE_VALUES", ":", "case", "TargetOpcode", "::", "G_BUILD_VECTOR", ":", "case", "TargetOpcode", "::", "G_CONCAT_VECTORS", ":", "return", "selectG_MERGE_VALUES", "(", "I", ")", ";", "case", "TargetOpcode", "::", "G_UNMERGE_VALUES", ":", "return", "selectG_UNMERGE_VALUES", "(", "I", ")", ";", "case", "TargetOpcode", "::", "G_GEP", ":", "return", "selectG_GEP", "(", "I", ")", ";", "case", "TargetOpcode", "::", "G_IMPLICIT_DEF", ":", "return", "selectG_IMPLICIT_DEF", "(", "I", ")", ";", "case", "TargetOpcode", "::", "G_INSERT", ":", "return", "selectG_INSERT", "(", "I", ")", ";", "case", "TargetOpcode", "::", "G_INTRINSIC", ":", "return", "selectG_INTRINSIC", "(", "I", ",", "CoverageInfo", ")", ";", "case", "TargetOpcode", "::", "G_INTRINSIC_W_SIDE_EFFECTS", ":", "return", "selectG_INTRINSIC_W_SIDE_EFFECTS", "(", "I", ",", "CoverageInfo", ")", ";", "case", "TargetOpcode", "::", "G_ICMP", ":", "if", "(", "selectG_ICMP", "(", "I", ")", ")", "return", "true", ";", "return", "selectImpl", "(", "I", ",", "CoverageInfo", ")", ";", "case", "TargetOpcode", "::", "G_LOAD", ":", "return", "selectImpl", "(", "I", ",", "CoverageInfo", ")", ";", "case", "TargetOpcode", "::", "G_SELECT", ":", "return", "selectG_SELECT", "(", "I", ")", ";", "case", "TargetOpcode", "::", "G_STORE", ":", "if", "(", "selectImpl", "(", "I", ",", "CoverageInfo", ")", ")", "return", "true", ";", "return", "selectG_STORE", "(", "I", ")", ";", "case", "TargetOpcode", "::", "G_TRUNC", ":", "return", "selectG_TRUNC", "(", "I", ")", ";", "case", "TargetOpcode", "::", "G_SEXT", ":", "case", "TargetOpcode", "::", "G_ZEXT", ":", "case", "TargetOpcode", "::", "G_ANYEXT", ":", "return", "selectG_SZA_EXT", "(", "I", ")", ";", "case", "TargetOpcode", "::", "G_BRCOND", ":", "return", "selectG_BRCOND", "(", "I", ")", ";", "case", "TargetOpcode", "::", "G_FRAME_INDEX", ":", "return", "selectG_FRAME_INDEX", "(", "I", ")", ";", "case", "TargetOpcode", "::", "G_FENCE", ":", "I", ".", "setDesc", "(", "TII", ".", "get", "(", "AMDGPU", "::", "ATOMIC_FENCE", ")", ")", ";", "return", "true", ";", "}", "return", "false", ";", "}", ""], "natrual_language": ["Select", "the", "(", "possibly", "generic", ")", "instruction", "I", "to", "only", "use", "target-specific", "opcodes", "."], "TS_V_token": ["AMDGPU", "AMDGPU", "SI", "SI", "SI", "SI", "AMDGPU::ATOMIC_FENCE"], "File": "AMDGPUInstructionSelector51", "Func": "select", "Target": "AMDGPU", "Target_Clf": "GPU", "Compiler_Type": "LLVM", "Idx": 955, "Length": 419, "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": 956, "Length": 156, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "explicit", "Register", "(", "const", "MachineOperand", "&", "MO", ")", ":", "Reg", "(", "MO", ".", "getReg", "(", ")", ")", ",", "SubReg", "(", "MO", ".", "getSubReg", "(", ")", ")", "{", "}", ""], "natrual_language": ["Base", "register", "."], "TS_V_token": ["Hexagon"], "File": "HexagonConstPropagation", "Func": "Register", "Target": "Hexagon", "Target_Clf": "DSP", "Compiler_Type": "LLVM", "Idx": 957, "Length": 28, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "static", "void", "c6x_reorg", "(", "void", ")", "{", "basic_block", "bb", ";", "rtx", "*", "call_labels", ";", "bool", "do_selsched", "=", "(", "c6x_flag_schedule_insns2", "&&", "flag_selective_scheduling2", "&&", "!", "maybe_skip_selective_scheduling", "(", ")", ")", ";", "compute_bb_for_insn", "(", ")", ";", "df_clear_flags", "(", "DF_LR_RUN_DCE", ")", ";", "df_note_add_problem", "(", ")", ";", "if", "(", "optimize", "==", "0", ")", "split_all_insns", "(", ")", ";", "df_analyze", "(", ")", ";", "if", "(", "c6x_flag_schedule_insns2", ")", "{", "int", "sz", "=", "get_max_uid", "(", ")", "*", "3", "/", "2", "+", "1", ";", "insn_info", ".", "create", "(", "sz", ")", ";", "}", "sched_no_dce", "=", "true", ";", "c6x_hwloops", "(", ")", ";", "if", "(", "c6x_flag_schedule_insns2", ")", "{", "split_delayed_insns", "(", ")", ";", "timevar_push", "(", "TV_SCHED2", ")", ";", "if", "(", "do_selsched", ")", "run_selective_scheduling", "(", ")", ";", "else", "schedule_ebbs", "(", ")", ";", "conditionalize_after_sched", "(", ")", ";", "timevar_pop", "(", "TV_SCHED2", ")", ";", "free_delay_pairs", "(", ")", ";", "}", "sched_no_dce", "=", "false", ";", "call_labels", "=", "XCNEWVEC", "(", "rtx", ",", "get_max_uid", "(", ")", "+", "1", ")", ";", "reorg_split_calls", "(", "call_labels", ")", ";", "if", "(", "c6x_flag_schedule_insns2", ")", "{", "FOR_EACH_BB_FN", "(", "bb", ",", "cfun", ")", "if", "(", "(", "bb", "->", "flags", "&", "BB_DISABLE_SCHEDULE", ")", "==", "0", ")", "assign_reservations", "(", "BB_HEAD", "(", "bb", ")", ",", "BB_END", "(", "bb", ")", ")", ";", "}", "if", "(", "c6x_flag_var_tracking", ")", "{", "timevar_push", "(", "TV_VAR_TRACKING", ")", ";", "variable_tracking_main", "(", ")", ";", "timevar_pop", "(", "TV_VAR_TRACKING", ")", ";", "}", "reorg_emit_nops", "(", "call_labels", ")", ";", "if", "(", "c6x_flag_schedule_insns2", ")", "{", "free_delay_pairs", "(", ")", ";", "c6x_gen_bundles", "(", ")", ";", "}", "df_finish_pass", "(", "false", ")", ";", "}", ""], "natrual_language": ["Implement", "the", "TARGET_MACHINE_DEPENDENT_REORG", "pass", ".", "We", "split", "call", "insns", "here", "into", "a", "sequence", "that", "loads", "the", "return", "register", "and", "performs", "the", "call", ",", "and", "emit", "the", "return", "label", ".", "If", "scheduling", "after", "reload", "is", "requested", ",", "it", "happens", "here", "."], "TS_V_token": ["c6x", "0", "3", "2", "1", "1", "0"], "File": "c6x2", "Func": "c6x_reorg", "Target": "c6x", "Target_Clf": "VLIW", "Compiler_Type": "GCC", "Idx": 958, "Length": 234, "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": 959, "Length": 248, "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": 960, "Length": 60, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "StackOffset", "(", "int64_t", "Offset", ",", "MVT", "::", "SimpleValueType", "T", ")", ":", "StackOffset", "(", ")", "{", "assert", "(", "MVT", "(", "T", ")", ".", "isByteSized", "(", ")", "&&", "\"Offset type is not a multiple of bytes\"", ")", ";", "*", "this", "+=", "Part", "(", "Offset", ",", "T", ")", ";", "}", ""], "natrual_language": ["Offset", "from", "the", "stack", "pointer", "."], "TS_V_token": ["AArch64", "MVT::SimpleValueType", "\"Offset type is not a multiple of bytes\""], "File": "AArch64StackOffset2", "Func": "StackOffset", "Target": "AArch64", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 961, "Length": 40, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "bool", "PatmosFrameLowering", "::", "hasFP", "(", "const", "MachineFunction", "&", "MF", ")", "const", "{", "auto", "MFI", "=", "MF", ".", "getFrameInfo", "(", ")", ";", "if", "(", "MF", ".", "getFunction", "(", ")", ".", "hasFnAttribute", "(", "Attribute", "::", "Naked", ")", ")", "return", "false", ";", "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": ["Patmos", "Patmos"], "File": "PatmosFrameLowering1", "Func": "hasFP", "Target": "Patmos", "Target_Clf": "VLIW", "Compiler_Type": "LLVM", "Idx": 962, "Length": 72, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "const", "TargetRegisterClass", "*", "Z80oldRegisterInfo", "::", "getPointerRegClass", "(", "const", "MachineFunction", "&", "MF", ",", "unsigned", "Kind", ")", "const", "{", "switch", "(", "Kind", ")", "{", "default", ":", "llvm_unreachable", "(", "\"Unexpected Kind in getPointerRegClass!\"", ")", ";", "case", "0", ":", "return", "&", "Z80old", "::", "GR16RegClass", ";", "case", "1", ":", "return", "&", "Z80old", "::", "AIR16RegClass", ";", "case", "2", ":", "return", "&", "Z80old", "::", "IR16RegClass", ";", "}", "}", ""], "natrual_language": ["getPointerRegClass", "-", "Returns", "a", "TargetRegisterClass", "used", "for", "pointer", "values", "."], "TS_V_token": ["Z80old", "Z80old", "\"Unexpected Kind in getPointerRegClass!\"", "0", "Z80old::GR16RegClass", "1", "Z80old::AIR16RegClass", "2", "Z80old::IR16RegClass"], "File": "Z80oldRegisterInfo", "Func": "getPointerRegClass", "Target": "Z80old", "Target_Clf": "MPU", "Compiler_Type": "LLVM", "Idx": 963, "Length": 58, "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": 964, "Length": 337, "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": 965, "Length": 300, "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": 966, "Length": 98, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "unsigned", "SIRegisterInfo", "::", "reservedPrivateSegmentBufferReg", "(", "const", "MachineFunction", "&", "MF", ")", "const", "{", "unsigned", "BaseIdx", "=", "alignDown", "(", "ST", ".", "getMaxNumSGPRs", "(", "MF", ")", ",", "4", ")", "-", "4", ";", "unsigned", "BaseReg", "(", "AMDGPU", "::", "SGPR_32RegClass", ".", "getRegister", "(", "BaseIdx", ")", ")", ";", "return", "getMatchingSuperReg", "(", "BaseReg", ",", "AMDGPU", "::", "sub0", ",", "&", "AMDGPU", "::", "SGPR_128RegClass", ")", ";", "}", ""], "natrual_language": ["Return", "the", "end", "register", "initially", "reserved", "for", "the", "scratch", "buffer", "in", "case", "spilling", "is", "needed", "."], "TS_V_token": ["AMDGPU", "SI", "4", "4", "AMDGPU::SGPR_32RegClass", "AMDGPU::sub0", "AMDGPU::SGPR_128RegClass"], "File": "SIRegisterInfo111", "Func": "reservedPrivateSegmentBufferReg", "Target": "AMDGPU", "Target_Clf": "GPU", "Compiler_Type": "LLVM", "Idx": 967, "Length": 58, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "BitVector", "XCoreRegisterInfo", "::", "getReservedRegs", "(", "const", "MachineFunction", "&", "MF", ")", "const", "{", "BitVector", "Reserved", "(", "getNumRegs", "(", ")", ")", ";", "const", "TargetFrameLowering", "*", "TFI", "=", "MF", ".", "getSubtarget", "(", ")", ".", "getFrameLowering", "(", ")", ";", "Reserved", ".", "set", "(", "XCore", "::", "CP", ")", ";", "Reserved", ".", "set", "(", "XCore", "::", "DP", ")", ";", "Reserved", ".", "set", "(", "XCore", "::", "SP", ")", ";", "Reserved", ".", "set", "(", "XCore", "::", "LR", ")", ";", "if", "(", "TFI", "->", "hasFP", "(", "MF", ")", ")", "{", "Reserved", ".", "set", "(", "XCore", "::", "R10", ")", ";", "}", "return", "Reserved", ";", "}", ""], "natrual_language": ["getReservedRegs", "-", "Returns", "a", "bitset", "indexed", "by", "physical", "register", "number", "indicating", "if", "a", "register", "is", "a", "special", "register", "that", "has", "particular", "uses", "and", "should", "be", "considered", "unavailable", "at", "all", "times", ",", "e.g", "."], "TS_V_token": ["XCore", "XCore", "XCore::CP", "XCore::DP", "XCore::SP", "XCore::LR", "XCore::R10"], "File": "XCoreRegisterInfo15", "Func": "getReservedRegs", "Target": "XCore", "Target_Clf": "MPU", "Compiler_Type": "LLVM", "Idx": 968, "Length": 95, "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": 969, "Length": 19, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "void", "PPCAIXAsmPrinter", "::", "SetupMachineFunction", "(", "MachineFunction", "&", "MF", ")", "{", "MCSectionXCOFF", "*", "FnDescSec", "=", "cast", "<", "MCSectionXCOFF", ">", "(", "getObjFileLowering", "(", ")", ".", "getSectionForFunctionDescriptor", "(", "&", "MF", ".", "getFunction", "(", ")", ",", "TM", ")", ")", ";", "FnDescSec", "->", "setAlignment", "(", "Align", "(", "Subtarget", "->", "isPPC64", "(", ")", "?", "8", ":", "4", ")", ")", ";", "CurrentFnDescSym", "=", "FnDescSec", "->", "getQualNameSymbol", "(", ")", ";", "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": "PPCAsmPrinter (2)3", "Func": "SetupMachineFunction", "Target": "PowerPC", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 970, "Length": 71, "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": 971, "Length": 32, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "void", "SIInstrInfo", "::", "loadRegFromStackSlot", "(", "MachineBasicBlock", "&", "MBB", ",", "MachineBasicBlock", "::", "iterator", "MI", ",", "unsigned", "DestReg", ",", "int", "FrameIndex", ",", "const", "TargetRegisterClass", "*", "RC", ",", "const", "TargetRegisterInfo", "*", "TRI", ")", "const", "{", "MachineFunction", "*", "MF", "=", "MBB", ".", "getParent", "(", ")", ";", "const", "SIMachineFunctionInfo", "*", "MFI", "=", "MF", "->", "getInfo", "<", "SIMachineFunctionInfo", ">", "(", ")", ";", "MachineFrameInfo", "&", "FrameInfo", "=", "MF", "->", "getFrameInfo", "(", ")", ";", "DebugLoc", "DL", "=", "MBB", ".", "findDebugLoc", "(", "MI", ")", ";", "unsigned", "Align", "=", "FrameInfo", ".", "getObjectAlignment", "(", "FrameIndex", ")", ";", "unsigned", "Size", "=", "FrameInfo", ".", "getObjectSize", "(", "FrameIndex", ")", ";", "MachinePointerInfo", "PtrInfo", "=", "MachinePointerInfo", "::", "getFixedStack", "(", "*", "MF", ",", "FrameIndex", ")", ";", "MachineMemOperand", "*", "MMO", "=", "MF", "->", "getMachineMemOperand", "(", "PtrInfo", ",", "MachineMemOperand", "::", "MOLoad", ",", "Size", ",", "Align", ")", ";", "if", "(", "RI", ".", "isSGPRClass", "(", "RC", ")", ")", "{", "unsigned", "Opcode", "=", "getSGPRSpillRestoreOpcode", "(", "RC", "->", "getSize", "(", ")", ")", ";", "if", "(", "TargetRegisterInfo", "::", "isVirtualRegister", "(", "DestReg", ")", "&&", "RC", "->", "getSize", "(", ")", "==", "4", ")", "{", "MachineRegisterInfo", "&", "MRI", "=", "MF", "->", "getRegInfo", "(", ")", ";", "MRI", ".", "constrainRegClass", "(", "DestReg", ",", "&", "AMDGPU", "::", "SReg_32_XM0RegClass", ")", ";", "}", "BuildMI", "(", "MBB", ",", "MI", ",", "DL", ",", "get", "(", "Opcode", ")", ",", "DestReg", ")", ".", "addFrameIndex", "(", "FrameIndex", ")", ".", "addMemOperand", "(", "MMO", ")", ";", "return", ";", "}", "if", "(", "!", "ST", ".", "isVGPRSpillingEnabled", "(", "*", "MF", "->", "getFunction", "(", ")", ")", ")", "{", "LLVMContext", "&", "Ctx", "=", "MF", "->", "getFunction", "(", ")", "->", "getContext", "(", ")", ";", "Ctx", ".", "emitError", "(", "\"SIInstrInfo::loadRegFromStackSlot - Do not know how to\"", "\" restore register\"", ")", ";", "BuildMI", "(", "MBB", ",", "MI", ",", "DL", ",", "get", "(", "AMDGPU", "::", "IMPLICIT_DEF", ")", ",", "DestReg", ")", ";", "return", ";", "}", "assert", "(", "RI", ".", "hasVGPRs", "(", "RC", ")", "&&", "\"Only VGPR spilling expected\"", ")", ";", "unsigned", "Opcode", "=", "getVGPRSpillRestoreOpcode", "(", "RC", "->", "getSize", "(", ")", ")", ";", "BuildMI", "(", "MBB", ",", "MI", ",", "DL", ",", "get", "(", "Opcode", ")", ",", "DestReg", ")", ".", "addFrameIndex", "(", "FrameIndex", ")", ".", "addReg", "(", "MFI", "->", "getScratchRSrcReg", "(", ")", ")", ".", "addReg", "(", "MFI", "->", "getScratchWaveOffsetReg", "(", ")", ")", ".", "addImm", "(", "0", ")", ".", "addMemOperand", "(", "MMO", ")", ";", "}", ""], "natrual_language": ["Load", "the", "specified", "register", "of", "the", "given", "register", "class", "from", "the", "specified", "stack", "frame", "index", "."], "TS_V_token": ["AMDGPU", "SI", "SI", "SI", "4", "AMDGPU::SReg_32_XM0RegClass", "\"SIInstrInfo::loadRegFromStackSlot - Do not know how to\"", "\" restore register\"", "AMDGPU::IMPLICIT_DEF", "\"Only VGPR spilling expected\"", "0"], "File": "SIInstrInfo112", "Func": "loadRegFromStackSlot", "Target": "AMDGPU", "Target_Clf": "GPU", "Compiler_Type": "LLVM", "Idx": 972, "Length": 353, "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": 973, "Length": 13, "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": 974, "Length": 13, "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", "->", "getValue", "(", ")", ".", "isPowerOf2", "(", ")", ";", "}", ""], "natrual_language": ["Return", "if", "the", "target", "supports", "combining", "a", "chain", "like", ":"], "TS_V_token": ["AArch64", "AArch64", "1"], "File": "AArch64ISelLowering (2)2", "Func": "isMaskAndCmp0FoldingBeneficial", "Target": "AArch64", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 975, "Length": 49, "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": 976, "Length": 129, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "bool", "hasModifiers", "(", ")", "const", "{", "assert", "(", "isRegKind", "(", ")", "||", "isImm", "(", ")", ")", ";", "return", "isRegKind", "(", ")", "?", "Reg", ".", "Modifiers", "!=", "0", ":", "Imm", ".", "Modifiers", "!=", "0", ";", "}", ""], "natrual_language": ["Return", "true", "if", "this", "instruction", "has", "any", "modifiers", "."], "TS_V_token": ["AMDGPU", "0", "0"], "File": "AMDGPUAsmParser52", "Func": "hasModifiers", "Target": "AMDGPU", "Target_Clf": "GPU", "Compiler_Type": "LLVM", "Idx": 977, "Length": 35, "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": 978, "Length": 70, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "static", "machine_mode", "mips_preferred_simd_mode", "(", "machine_mode", "mode", ")", "{", "if", "(", "TARGET_PAIRED_SINGLE_FLOAT", "&&", "mode", "==", "SFmode", ")", "return", "V2SFmode", ";", "if", "(", "!", "ISA_HAS_MSA", ")", "return", "word_mode", ";", "switch", "(", "mode", ")", "{", "case", "QImode", ":", "return", "V16QImode", ";", "case", "HImode", ":", "return", "V8HImode", ";", "case", "SImode", ":", "return", "V4SImode", ";", "case", "DImode", ":", "return", "V2DImode", ";", "case", "SFmode", ":", "return", "V4SFmode", ";", "case", "DFmode", ":", "return", "V2DFmode", ";", "default", ":", "break", ";", "}", "return", "word_mode", ";", "}", ""], "natrual_language": ["Implement", "TARGET_VECTORIZE_PREFERRED_SIMD_MODE", "."], "TS_V_token": ["mips"], "File": "mips6", "Func": "mips_preferred_simd_mode", "Target": "mips", "Target_Clf": "CPU", "Compiler_Type": "GCC", "Idx": 979, "Length": 77, "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": 980, "Length": 127, "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": 981, "Length": 456, "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": 982, "Length": 22, "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": 983, "Length": 74, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "bool", "isScheduled", "(", ")", "{", "return", "Scheduled", ";", "}", ""], "natrual_language": ["True", "once", "scheduled", "."], "TS_V_token": ["AMDGPU"], "File": "SIMachineScheduler", "Func": "isScheduled", "Target": "AMDGPU", "Target_Clf": "GPU", "Compiler_Type": "LLVM", "Idx": 984, "Length": 9, "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": 985, "Length": 41, "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", "{", "uint32_t", "Insn", ";", "DecodeStatus", "Result", "=", "readInstruction32", "(", "Bytes", ",", "Address", ",", "Size", ",", "Insn", ",", "IsBigEndian", ",", "false", ")", ";", "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": "MipsDisassembler27", "Func": "getInstruction", "Target": "Mips", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 986, "Length": 140, "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": 987, "Length": 11, "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": 988, "Length": 50, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "AMDGPUSubtarget", "&", "AMDGPUSubtarget", "::", "initializeSubtargetDependencies", "(", "const", "Triple", "&", "TT", ",", "StringRef", "GPU", ",", "StringRef", "FS", ")", "{", "SmallString", "<", "256", ">", "FullFS", "(", "\"+promote-alloca,+fp64-fp16-denormals,+dx10-clamp,+load-store-opt,\"", ")", ";", "if", "(", "isAmdHsaOS", "(", ")", ")", "FullFS", "+=", "\"+flat-address-space,+flat-for-global,+unaligned-buffer-access,+trap-handler,\"", ";", "FullFS", "+=", "FS", ";", "ParseSubtargetFeatures", "(", "GPU", ",", "FullFS", ")", ";", "if", "(", "!", "hasAddr64", "(", ")", "&&", "!", "FS", ".", "contains", "(", "\"flat-for-global\"", ")", ")", "{", "FlatForGlobal", "=", "true", ";", "}", "if", "(", "getGeneration", "(", ")", "<=", "AMDGPUSubtarget", "::", "NORTHERN_ISLANDS", ")", "{", "FP64FP16Denormals", "=", "false", ";", "FP32Denormals", "=", "false", ";", "}", "if", "(", "MaxPrivateElementSize", "==", "0", ")", "MaxPrivateElementSize", "=", "4", ";", "if", "(", "LDSBankCount", "==", "0", ")", "LDSBankCount", "=", "32", ";", "if", "(", "TT", ".", "getArch", "(", ")", "==", "Triple", "::", "amdgcn", ")", "{", "if", "(", "LocalMemorySize", "==", "0", ")", "LocalMemorySize", "=", "32768", ";", "if", "(", "!", "HasMovrel", "&&", "!", "HasVGPRIndexMode", ")", "HasMovrel", "=", "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": ["AMDGPU", "AMDGPU", "AMDGPU", "256", "\"+promote-alloca,+fp64-fp16-denormals,+dx10-clamp,+load-store-opt,\"", "\"+flat-address-space,+flat-for-global,+unaligned-buffer-access,+trap-handler,\"", "\"flat-for-global\"", "AMDGPU", "0", "4", "0", "32", "0", "32768"], "File": "AMDGPUSubtarget34", "Func": "initializeSubtargetDependencies", "Target": "AMDGPU", "Target_Clf": "GPU", "Compiler_Type": "LLVM", "Idx": 989, "Length": 150, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "static", "void", "arc_output_mi_thunk", "(", "FILE", "*", "file", ",", "tree", "thunk", "ATTRIBUTE_UNUSED", ",", "HOST_WIDE_INT", "delta", ",", "HOST_WIDE_INT", "vcall_offset", ",", "tree", "function", ")", "{", "int", "mi_delta", "=", "delta", ";", "const", "char", "*", "const", "mi_op", "=", "mi_delta", "<", "0", "?", "\"sub\"", ":", "\"add\"", ";", "int", "shift", "=", "0", ";", "int", "this_regno", "=", "aggregate_value_p", "(", "TREE_TYPE", "(", "TREE_TYPE", "(", "function", ")", ")", ",", "function", ")", "?", "1", ":", "0", ";", "rtx", "fnaddr", ";", "if", "(", "mi_delta", "<", "0", ")", "mi_delta", "=", "-", "mi_delta", ";", "while", "(", "mi_delta", "!=", "0", ")", "{", "if", "(", "(", "mi_delta", "&", "(", "3", "<<", "shift", ")", ")", "==", "0", ")", "shift", "+=", "2", ";", "else", "{", "asm_fprintf", "(", "file", ",", "\"\\t%s\\t%s, %s, %d\\n\"", ",", "mi_op", ",", "reg_names", "[", "this_regno", "]", ",", "reg_names", "[", "this_regno", "]", ",", "mi_delta", "&", "(", "0xff", "<<", "shift", ")", ")", ";", "mi_delta", "&=", "~", "(", "0xff", "<<", "shift", ")", ";", "shift", "+=", "8", ";", "}", "}", "if", "(", "vcall_offset", "!=", "0", ")", "{", "asm_fprintf", "(", "file", ",", "\"\\tld\\t%s, [%s]\\n\"", ",", "ARC_TEMP_SCRATCH_REG", ",", "reg_names", "[", "this_regno", "]", ")", ";", "asm_fprintf", "(", "file", ",", "\"\\tadd\\t%s, %s, \"", "HOST_WIDE_INT_PRINT_DEC", "\"\\n\"", ",", "ARC_TEMP_SCRATCH_REG", ",", "ARC_TEMP_SCRATCH_REG", ",", "vcall_offset", ")", ";", "asm_fprintf", "(", "file", ",", "\"\\tld\\t%s, [%s]\\n\"", ",", "ARC_TEMP_SCRATCH_REG", ",", "ARC_TEMP_SCRATCH_REG", ")", ";", "asm_fprintf", "(", "file", ",", "\"\\tadd\\t%s, %s, %s\\n\"", ",", "reg_names", "[", "this_regno", "]", ",", "reg_names", "[", "this_regno", "]", ",", "ARC_TEMP_SCRATCH_REG", ")", ";", "}", "fnaddr", "=", "XEXP", "(", "DECL_RTL", "(", "function", ")", ",", "0", ")", ";", "if", "(", "arc_is_longcall_p", "(", "fnaddr", ")", ")", "fputs", "(", "\"\\tj\\t\"", ",", "file", ")", ";", "else", "fputs", "(", "\"\\tb\\t\"", ",", "file", ")", ";", "assemble_name", "(", "file", ",", "XSTR", "(", "fnaddr", ",", "0", ")", ")", ";", "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": ["arc", "0", "\"sub\"", "\"add\"", "0", "1", "0", "0", "0", "3", "0", "2", "\"\\t%s\\t%s, %s, %d\\n\"", "0xff", "0xff", "8", "0", "\"\\tld\\t%s, [%s]\\n\"", "\"\\tadd\\t%s, %s, \"", "\"\\n\"", "\"\\tld\\t%s, [%s]\\n\"", "\"\\tadd\\t%s, %s, %s\\n\"", "0", "\"\\tj\\t\"", "\"\\tb\\t\"", "0"], "File": "arc4", "Func": "arc_output_mi_thunk", "Target": "arc", "Target_Clf": "MPU", "Compiler_Type": "GCC", "Idx": 990, "Length": 270, "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": 991, "Length": 310, "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": 992, "Length": 15, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "EVT", "SPUTargetLowering", "::", "getSetCCResultType", "(", "EVT", "VT", ")", "const", "{", "MVT", "::", "SimpleValueType", "retval", ";", "switch", "(", "VT", ".", "getSimpleVT", "(", ")", ".", "SimpleTy", ")", "{", "case", "MVT", "::", "i1", ":", "case", "MVT", "::", "i8", ":", "retval", "=", "MVT", "::", "i8", ";", "break", ";", "case", "MVT", "::", "i16", ":", "retval", "=", "MVT", "::", "i16", ";", "break", ";", "case", "MVT", "::", "i32", ":", "default", ":", "retval", "=", "MVT", "::", "i32", ";", "}", "return", "retval", ";", "}", ""], "natrual_language": ["Return", "the", "value", "type", "to", "use", "for", "ISD", ":", ":SETCC", "."], "TS_V_token": ["CellSPU", "SPU", "MVT::SimpleValueType", "MVT::i1", "MVT::i8", "MVT::i8", "MVT::i16", "MVT::i16", "MVT::i32", "MVT::i32"], "File": "SPUISelLowering11", "Func": "getSetCCResultType", "Target": "CellSPU", "Target_Clf": "MPU", "Compiler_Type": "LLVM", "Idx": 993, "Length": 75, "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": 994, "Length": 13, "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": 995, "Length": 380, "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": 996, "Length": 178, "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": 997, "Length": 46, "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": 998, "Length": 161, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "bool", "MSP430FrameInfo", "::", "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", "(", ")", ";", "MSP430MachineFunctionInfo", "*", "MFI", "=", "MF", ".", "getInfo", "<", "MSP430MachineFunctionInfo", ">", "(", ")", ";", "MFI", "->", "setCalleeSavedFrameSize", "(", "CSI", ".", "size", "(", ")", "*", "2", ")", ";", "for", "(", "unsigned", "i", "=", "CSI", ".", "size", "(", ")", ";", "i", "!=", "0", ";", "--", "i", ")", "{", "unsigned", "Reg", "=", "CSI", "[", "i", "-", "1", "]", ".", "getReg", "(", ")", ";", "MBB", ".", "addLiveIn", "(", "Reg", ")", ";", "BuildMI", "(", "MBB", ",", "MI", ",", "DL", ",", "TII", ".", "get", "(", "MSP430", "::", "PUSH16r", ")", ")", ".", "addReg", "(", "Reg", ",", "RegState", "::", "Kill", ")", ";", "}", "return", "true", ";", "}", ""], "natrual_language": ["spillCalleeSavedRegisters", "-", "Issues", "instruction", "(", "s", ")", "to", "spill", "all", "callee", "saved", "registers", "and", "returns", "true", "if", "it", "is", "n't", "possible", "/", "profitable", "to", "do", "so", "by", "issuing", "a", "series", "of", "store", "instructions", "via", "storeRegToStackSlot", "(", ")", "."], "TS_V_token": ["MSP430", "MSP430", "MSP430", "MSP430", "2", "0", "1", "MSP430::PUSH16r"], "File": "MSP430FrameInfo", "Func": "spillCalleeSavedRegisters", "Target": "MSP430", "Target_Clf": "MPU", "Compiler_Type": "LLVM", "Idx": 999, "Length": 188, "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": 1000, "Length": 117, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "SMLoc", "getEndLoc", "(", ")", "const", "{", "return", "End", ";", "}", ""], "natrual_language": ["getEndLoc", "-", "Get", "the", "location", "of", "the", "last", "token", "of", "this", "operand", "."], "TS_V_token": ["SNES"], "File": "SNESAsmParser", "Func": "getEndLoc", "Target": "SNES", "Target_Clf": "DSP", "Compiler_Type": "LLVM", "Idx": 1001, "Length": 10, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "void", "Tile64InstrInfo", "::", "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", "(", "T64", "::", "LW", ")", ")", ".", "addReg", "(", "DestReg", ")", ".", "addFrameIndex", "(", "FI", ")", ";", "}", ""], "natrual_language": ["Load", "the", "specified", "register", "of", "the", "given", "register", "class", "from", "the", "specified", "stack", "frame", "index", "."], "TS_V_token": ["Tile64", "T64::LW"], "File": "Tile64InstrInfo", "Func": "loadRegFromStackSlot", "Target": "Tile64", "Target_Clf": "VLIW", "Compiler_Type": "LLVM", "Idx": 1002, "Length": 80, "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": 1003, "Length": 152, "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": 1004, "Length": 108, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "void", "print", "(", "DiagnosticPrinter", "&", "DP", ")", "const", "override", "{", "std", "::", "string", "Str", ";", "raw_string_ostream", "OS", "(", "Str", ")", ";", "if", "(", "DLoc", ")", "{", "auto", "DIL", "=", "DLoc", ".", "get", "(", ")", ";", "StringRef", "Filename", "=", "DIL", "->", "getFilename", "(", ")", ";", "unsigned", "Line", "=", "DIL", "->", "getLine", "(", ")", ";", "unsigned", "Column", "=", "DIL", "->", "getColumn", "(", ")", ";", "OS", "<<", "Filename", "<<", "':'", "<<", "Line", "<<", "':'", "<<", "Column", "<<", "' '", ";", "}", "OS", "<<", "\"in function \"", "<<", "Fn", ".", "getName", "(", ")", "<<", "' '", "<<", "*", "Fn", ".", "getFunctionType", "(", ")", "<<", "'\\n'", "<<", "Description", ";", "if", "(", "Value", ")", "Value", "->", "print", "(", "OS", ")", ";", "OS", "<<", "'\\n'", ";", "OS", ".", "flush", "(", ")", ";", "DP", "<<", "Str", ";", "}", ""], "natrual_language": ["print", "-", "Print", "a", "debug", "representation", "of", "the", "operand", "to", "the", "given", "stream", "."], "TS_V_token": ["BPF", "\"in function \""], "File": "BPFISelLowering (2)", "Func": "print", "Target": "BPF", "Target_Clf": "Virtual ISA", "Compiler_Type": "LLVM", "Idx": 1005, "Length": 126, "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": 1006, "Length": 231, "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": 1007, "Length": 315, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "static", "rtx", "hwloop_pattern_reg", "(", "rtx_insn", "*", "insn", ")", "{", "rtx", "pat", ",", "reg", ";", "if", "(", "!", "JUMP_P", "(", "insn", ")", "||", "recog_memoized", "(", "insn", ")", "!=", "CODE_FOR_loop_end", ")", "return", "NULL_RTX", ";", "pat", "=", "PATTERN", "(", "insn", ")", ";", "reg", "=", "SET_DEST", "(", "XVECEXP", "(", "pat", ",", "0", ",", "1", ")", ")", ";", "if", "(", "!", "REG_P", "(", "reg", ")", ")", "return", "NULL_RTX", ";", "return", "reg", ";", "}", ""], "natrual_language": ["A", "callback", "for", "the", "hw-doloop", "pass", ".", "This", "function", "examines", "INSN", ";", "if", "it", "is", "a", "doloop_end", "pattern", "we", "recognize", ",", "return", "the", "reg", "rtx", "for", "the", "loop", "counter", ".", "Otherwise", ",", "return", "NULL_RTX", "."], "TS_V_token": ["c6x", "0", "1"], "File": "c6x", "Func": "hwloop_pattern_reg", "Target": "c6x", "Target_Clf": "VLIW", "Compiler_Type": "GCC", "Idx": 1008, "Length": 68, "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": 1009, "Length": 452, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "bool", "arc_is_uncached_mem_p", "(", "rtx", "pat", ")", "{", "tree", "attrs", "=", "NULL_TREE", ";", "tree", "addr", ";", "if", "(", "!", "MEM_P", "(", "pat", ")", ")", "return", "false", ";", "addr", "=", "MEM_EXPR", "(", "pat", ")", ";", "if", "(", "!", "addr", ")", "return", "false", ";", "if", "(", "TREE_CODE", "(", "addr", ")", "==", "MEM_REF", ")", "{", "attrs", "=", "TYPE_ATTRIBUTES", "(", "TREE_TYPE", "(", "addr", ")", ")", ";", "if", "(", "lookup_attribute", "(", "\"uncached\"", ",", "attrs", ")", ")", "return", "true", ";", "attrs", "=", "TYPE_ATTRIBUTES", "(", "TREE_TYPE", "(", "TREE_OPERAND", "(", "addr", ",", "0", ")", ")", ")", ";", "if", "(", "lookup_attribute", "(", "\"uncached\"", ",", "attrs", ")", ")", "return", "true", ";", "}", "if", "(", "TREE_CODE", "(", "addr", ")", "==", "COMPONENT_REF", ")", "{", "attrs", "=", "TYPE_ATTRIBUTES", "(", "TREE_TYPE", "(", "TREE_OPERAND", "(", "addr", ",", "1", ")", ")", ")", ";", "if", "(", "lookup_attribute", "(", "\"uncached\"", ",", "attrs", ")", ")", "return", "true", ";", "}", "return", "false", ";", "}", ""], "natrual_language": ["Return", "TRUE", "if", "PAT", "is", "a", "memory", "addressing", "an", "uncached", "data", "."], "TS_V_token": ["arc", "\"uncached\"", "0", "\"uncached\"", "1", "\"uncached\""], "File": "arc8", "Func": "arc_is_uncached_mem_p", "Target": "arc", "Target_Clf": "MPU", "Compiler_Type": "GCC", "Idx": 1010, "Length": 143, "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": 1011, "Length": 37, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "void", "finishLayout", "(", "MCAssembler", "const", "&", "Asm", ",", "MCAsmLayout", "&", "Layout", ")", "const", "override", "{", "for", "(", "auto", "I", ":", "Layout", ".", "getSectionOrder", "(", ")", ")", "{", "auto", "&", "Fragments", "=", "I", "->", "getFragmentList", "(", ")", ";", "for", "(", "auto", "&", "J", ":", "Fragments", ")", "{", "switch", "(", "J", ".", "getKind", "(", ")", ")", "{", "default", ":", "break", ";", "case", "MCFragment", "::", "FT_Align", ":", "{", "auto", "Size", "=", "Asm", ".", "computeFragmentSize", "(", "Layout", ",", "J", ")", ";", "for", "(", "auto", "K", "=", "J", ".", "getIterator", "(", ")", ";", "K", "!=", "Fragments", ".", "begin", "(", ")", "&&", "Size", ">=", "HEXAGON_PACKET_SIZE", ";", ")", "{", "--", "K", ";", "switch", "(", "K", "->", "getKind", "(", ")", ")", "{", "default", ":", "break", ";", "case", "MCFragment", "::", "FT_Align", ":", "{", "Size", "=", "0", ";", "break", ";", "}", "case", "MCFragment", "::", "FT_Relaxable", ":", "{", "MCContext", "&", "Context", "=", "Asm", ".", "getContext", "(", ")", ";", "auto", "&", "RF", "=", "cast", "<", "MCRelaxableFragment", ">", "(", "*", "K", ")", ";", "auto", "&", "Inst", "=", "const_cast", "<", "MCInst", "&", ">", "(", "RF", ".", "getInst", "(", ")", ")", ";", "while", "(", "Size", ">", "0", "&&", "HexagonMCInstrInfo", "::", "bundleSize", "(", "Inst", ")", "<", "4", ")", "{", "MCInst", "*", "Nop", "=", "new", "(", "Context", ")", "MCInst", ";", "Nop", "->", "setOpcode", "(", "Hexagon", "::", "A2_nop", ")", ";", "Inst", ".", "addOperand", "(", "MCOperand", "::", "createInst", "(", "Nop", ")", ")", ";", "Size", "-=", "4", ";", "if", "(", "!", "HexagonMCChecker", "(", "Context", ",", "*", "MCII", ",", "*", "RF", ".", "getSubtargetInfo", "(", ")", ",", "Inst", ",", "*", "Context", ".", "getRegisterInfo", "(", ")", ",", "false", ")", ".", "check", "(", ")", ")", "{", "Inst", ".", "erase", "(", "Inst", ".", "end", "(", ")", "-", "1", ")", ";", "Size", "=", "0", ";", "}", "}", "bool", "Error", "=", "HexagonMCShuffle", "(", "Context", ",", "true", ",", "*", "MCII", ",", "*", "RF", ".", "getSubtargetInfo", "(", ")", ",", "Inst", ")", ";", "(", "void", ")", "Error", ";", "ReplaceInstruction", "(", "Asm", ".", "getEmitter", "(", ")", ",", "RF", ",", "Inst", ")", ";", "Layout", ".", "invalidateFragmentsFrom", "(", "&", "RF", ")", ";", "Size", "=", "0", ";", "break", ";", "}", "}", "}", "}", "}", "}", "}", "}", ""], "natrual_language": ["Give", "backend", "an", "opportunity", "to", "finish", "layout", "after", "relaxation", "."], "TS_V_token": ["Hexagon", "0", "0", "Hexagon", "4", "Hexagon::A2_nop", "4", "Hexagon", "1", "0", "Hexagon", "0"], "File": "HexagonAsmBackend12", "Func": "finishLayout", "Target": "Hexagon", "Target_Clf": "DSP", "Compiler_Type": "LLVM", "Idx": 1012, "Length": 343, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "void", "output_dbcc_and_branch", "(", "rtx", "*", "operands", ",", "rtx_code", "code", ")", "{", "switch", "(", "code", ")", "{", "case", "EQ", ":", "output_asm_insn", "(", "\"dbeq %0,%l1\\n\\tjeq %l2\"", ",", "operands", ")", ";", "break", ";", "case", "NE", ":", "output_asm_insn", "(", "\"dbne %0,%l1\\n\\tjne %l2\"", ",", "operands", ")", ";", "break", ";", "case", "GT", ":", "output_asm_insn", "(", "\"dbgt %0,%l1\\n\\tjgt %l2\"", ",", "operands", ")", ";", "break", ";", "case", "GTU", ":", "output_asm_insn", "(", "\"dbhi %0,%l1\\n\\tjhi %l2\"", ",", "operands", ")", ";", "break", ";", "case", "LT", ":", "output_asm_insn", "(", "\"dblt %0,%l1\\n\\tjlt %l2\"", ",", "operands", ")", ";", "break", ";", "case", "LTU", ":", "output_asm_insn", "(", "\"dbcs %0,%l1\\n\\tjcs %l2\"", ",", "operands", ")", ";", "break", ";", "case", "GE", ":", "output_asm_insn", "(", "\"dbge %0,%l1\\n\\tjge %l2\"", ",", "operands", ")", ";", "break", ";", "case", "GEU", ":", "output_asm_insn", "(", "\"dbcc %0,%l1\\n\\tjcc %l2\"", ",", "operands", ")", ";", "break", ";", "case", "LE", ":", "output_asm_insn", "(", "\"dble %0,%l1\\n\\tjle %l2\"", ",", "operands", ")", ";", "break", ";", "case", "LEU", ":", "output_asm_insn", "(", "\"dbls %0,%l1\\n\\tjls %l2\"", ",", "operands", ")", ";", "break", ";", "case", "PLUS", ":", "output_asm_insn", "(", "\"dbpl %0,%l1\\n\\tjle %l2\"", ",", "operands", ")", ";", "break", ";", "case", "MINUS", ":", "output_asm_insn", "(", "\"dbmi %0,%l1\\n\\tjle %l2\"", ",", "operands", ")", ";", "break", ";", "default", ":", "gcc_unreachable", "(", ")", ";", "}", "switch", "(", "GET_MODE", "(", "operands", "[", "0", "]", ")", ")", "{", "case", "E_SImode", ":", "output_asm_insn", "(", "\"clr%.w %0\\n\\tsubq%.l #1,%0\\n\\tjpl %l1\"", ",", "operands", ")", ";", "break", ";", "case", "E_HImode", ":", "break", ";", "default", ":", "gcc_unreachable", "(", ")", ";", "}", "}", ""], "natrual_language": ["Output", "a", "dbCC", ";", "jCC", "sequence", ".", "Note", "we", "do", "not", "handle", "the", "floating", "point", "version", "of", "this", "sequence", "(", "Fdbcc", ")", ".", "We", "also", "do", "not", "handle", "alternative", "conditions", "when", "CC_NO_OVERFLOW", "is", "set", ".", "It", "is", "assumed", "that", "valid_dbcc_comparison_p", "and", "flags_in_68881", "will", "kick", "those", "out", "before", "we", "get", "here", "."], "TS_V_token": ["m68k", "\"dbeq %0,%l1\\n\\tjeq %l2\"", "\"dbne %0,%l1\\n\\tjne %l2\"", "\"dbgt %0,%l1\\n\\tjgt %l2\"", "\"dbhi %0,%l1\\n\\tjhi %l2\"", "\"dblt %0,%l1\\n\\tjlt %l2\"", "\"dbcs %0,%l1\\n\\tjcs %l2\"", "\"dbge %0,%l1\\n\\tjge %l2\"", "\"dbcc %0,%l1\\n\\tjcc %l2\"", "\"dble %0,%l1\\n\\tjle %l2\"", "\"dbls %0,%l1\\n\\tjls %l2\"", "\"dbpl %0,%l1\\n\\tjle %l2\"", "\"dbmi %0,%l1\\n\\tjle %l2\"", "0", "\"clr%.w %0\\n\\tsubq%.l #1,%0\\n\\tjpl %l1\""], "File": "m68k", "Func": "output_dbcc_and_branch", "Target": "m68k", "Target_Clf": "MPU", "Compiler_Type": "GCC", "Idx": 1013, "Length": 203, "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": 1014, "Length": 171, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "bool", "R600VectorRegMerger", "::", "runOnMachineFunction", "(", "MachineFunction", "&", "Fn", ")", "{", "if", "(", "skipFunction", "(", "Fn", ".", "getFunction", "(", ")", ")", ")", "return", "false", ";", "const", "R600Subtarget", "&", "ST", "=", "Fn", ".", "getSubtarget", "<", "R600Subtarget", ">", "(", ")", ";", "TII", "=", "ST", ".", "getInstrInfo", "(", ")", ";", "MRI", "=", "&", "Fn", ".", "getRegInfo", "(", ")", ";", "for", "(", "MachineFunction", "::", "iterator", "MBB", "=", "Fn", ".", "begin", "(", ")", ",", "MBBe", "=", "Fn", ".", "end", "(", ")", ";", "MBB", "!=", "MBBe", ";", "++", "MBB", ")", "{", "MachineBasicBlock", "*", "MB", "=", "&", "*", "MBB", ";", "PreviousRegSeq", ".", "clear", "(", ")", ";", "PreviousRegSeqByReg", ".", "clear", "(", ")", ";", "PreviousRegSeqByUndefCount", ".", "clear", "(", ")", ";", "for", "(", "MachineBasicBlock", "::", "iterator", "MII", "=", "MB", "->", "begin", "(", ")", ",", "MIIE", "=", "MB", "->", "end", "(", ")", ";", "MII", "!=", "MIIE", ";", "++", "MII", ")", "{", "MachineInstr", "&", "MI", "=", "*", "MII", ";", "if", "(", "MI", ".", "getOpcode", "(", ")", "!=", "AMDGPU", "::", "REG_SEQUENCE", ")", "{", "if", "(", "TII", "->", "get", "(", "MI", ".", "getOpcode", "(", ")", ")", ".", "TSFlags", "&", "R600_InstFlag", "::", "TEX_INST", ")", "{", "unsigned", "Reg", "=", "MI", ".", "getOperand", "(", "1", ")", ".", "getReg", "(", ")", ";", "for", "(", "MachineRegisterInfo", "::", "def_instr_iterator", "It", "=", "MRI", "->", "def_instr_begin", "(", "Reg", ")", ",", "E", "=", "MRI", "->", "def_instr_end", "(", ")", ";", "It", "!=", "E", ";", "++", "It", ")", "{", "RemoveMI", "(", "&", "(", "*", "It", ")", ")", ";", "}", "}", "continue", ";", "}", "RegSeqInfo", "RSI", "(", "*", "MRI", ",", "&", "MI", ")", ";", "unsigned", "Reg", "=", "MI", ".", "getOperand", "(", "0", ")", ".", "getReg", "(", ")", ";", "if", "(", "!", "areAllUsesSwizzeable", "(", "Reg", ")", ")", "continue", ";", "LLVM_DEBUG", "(", "{", "dbgs", "(", ")", "<<", "\"Trying to optimize \"", ";", "MI", ".", "dump", "(", ")", ";", "}", ")", ";", "RegSeqInfo", "CandidateRSI", ";", "std", "::", "vector", "<", "std", "::", "pair", "<", "unsigned", ",", "unsigned", ">>", "RemapChan", ";", "LLVM_DEBUG", "(", "dbgs", "(", ")", "<<", "\"Using common slots...\\n\"", ";", ")", ";", "if", "(", "tryMergeUsingCommonSlot", "(", "RSI", ",", "CandidateRSI", ",", "RemapChan", ")", ")", "{", "RemoveMI", "(", "CandidateRSI", ".", "Instr", ")", ";", "MII", "=", "RebuildVector", "(", "&", "RSI", ",", "&", "CandidateRSI", ",", "RemapChan", ")", ";", "trackRSI", "(", "RSI", ")", ";", "continue", ";", "}", "LLVM_DEBUG", "(", "dbgs", "(", ")", "<<", "\"Using free slots...\\n\"", ";", ")", ";", "RemapChan", ".", "clear", "(", ")", ";", "if", "(", "tryMergeUsingFreeSlot", "(", "RSI", ",", "CandidateRSI", ",", "RemapChan", ")", ")", "{", "RemoveMI", "(", "CandidateRSI", ".", "Instr", ")", ";", "MII", "=", "RebuildVector", "(", "&", "RSI", ",", "&", "CandidateRSI", ",", "RemapChan", ")", ";", "trackRSI", "(", "RSI", ")", ";", "continue", ";", "}", "trackRSI", "(", "RSI", ")", ";", "}", "}", ""], "natrual_language": ["runOnMachineFunction", "-", "Emit", "the", "function", "body", "."], "TS_V_token": ["AMDGPU", "R600", "R600", "R600", "AMDGPU::REG_SEQUENCE", "R600_InstFlag::TEX_INST", "1", "SI", "0", "\"Trying to optimize \"", "SI", "\"Using common slots...\\n\"", "SI", "SI", "SI", "SI", "SI", "SI", "SI", "\"Using free slots...\\n\"", "SI", "SI", "SI", "SI", "SI", "SI", "SI", "SI", "SI"], "File": "R600OptimizeVectorRegisters10", "Func": "runOnMachineFunction", "Target": "AMDGPU", "Target_Clf": "GPU", "Compiler_Type": "LLVM", "Idx": 1015, "Length": 419, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "static", "void", "rl78_calculate_death_notes", "(", "void", ")", "{", "char", "dead", "[", "FIRST_PSEUDO_REGISTER", "]", ";", "rtx", "p", ",", "s", ",", "d", ";", "rtx_insn", "*", "insn", ";", "int", "i", ";", "memset", "(", "dead", ",", "0", ",", "sizeof", "(", "dead", ")", ")", ";", "for", "(", "insn", "=", "get_last_insn", "(", ")", ";", "insn", ";", "insn", "=", "prev_nonnote_nondebug_insn", "(", "insn", ")", ")", "{", "if", "(", "dump_file", ")", "{", "fprintf", "(", "dump_file", ",", "\"\\n--------------------------------------------------\"", ")", ";", "fprintf", "(", "dump_file", ",", "\"\\nDead:\"", ")", ";", "for", "(", "i", "=", "0", ";", "i", "<", "FIRST_PSEUDO_REGISTER", ";", "i", "++", ")", "if", "(", "dead", "[", "i", "]", ")", "fprintf", "(", "dump_file", ",", "\" %s\"", ",", "reg_names", "[", "i", "]", ")", ";", "fprintf", "(", "dump_file", ",", "\"\\n\"", ")", ";", "print_rtl_single", "(", "dump_file", ",", "insn", ")", ";", "}", "switch", "(", "GET_CODE", "(", "insn", ")", ")", "{", "case", "INSN", ":", "p", "=", "PATTERN", "(", "insn", ")", ";", "if", "(", "GET_CODE", "(", "p", ")", "==", "PARALLEL", ")", "{", "rtx", "q", "=", "XVECEXP", "(", "p", ",", "0", ",", "1", ")", ";", "if", "(", "GET_CODE", "(", "q", ")", "==", "SET", ")", "{", "s", "=", "SET_SRC", "(", "q", ")", ";", "d", "=", "SET_DEST", "(", "q", ")", ";", "rl78_note_reg_set", "(", "dead", ",", "d", ",", "insn", ")", ";", "rl78_note_reg_uses", "(", "dead", ",", "s", ",", "insn", ")", ";", "}", "p", "=", "XVECEXP", "(", "p", ",", "0", ",", "0", ")", ";", "}", "switch", "(", "GET_CODE", "(", "p", ")", ")", "{", "case", "SET", ":", "s", "=", "SET_SRC", "(", "p", ")", ";", "d", "=", "SET_DEST", "(", "p", ")", ";", "rl78_note_reg_set", "(", "dead", ",", "d", ",", "insn", ")", ";", "rl78_note_reg_uses", "(", "dead", ",", "s", ",", "insn", ")", ";", "break", ";", "case", "USE", ":", "rl78_note_reg_uses", "(", "dead", ",", "p", ",", "insn", ")", ";", "break", ";", "default", ":", "break", ";", "}", "break", ";", "case", "JUMP_INSN", ":", "if", "(", "INSN_CODE", "(", "insn", ")", "==", "CODE_FOR_rl78_return", ")", "{", "memset", "(", "dead", ",", "1", ",", "sizeof", "(", "dead", ")", ")", ";", "break", ";", "}", "case", "CALL_INSN", ":", "memset", "(", "dead", ",", "0", ",", "sizeof", "(", "dead", ")", ")", ";", "break", ";", "default", ":", "break", ";", "}", "if", "(", "dump_file", ")", "print_rtl_single", "(", "dump_file", ",", "insn", ")", ";", "}", "}", ""], "natrual_language": ["This", "is", "a", "rather", "crude", "register", "death", "pass", ".", "Death", "status", "is", "reset", "at", "every", "jump", "or", "call", "insn", "."], "TS_V_token": ["rl78", "0", "\"\\n--------------------------------------------------\"", "\"\\nDead:\"", "0", "\" %s\"", "\"\\n\"", "0", "1", "0", "0", "1", "0"], "File": "rl78", "Func": "rl78_calculate_death_notes", "Target": "rl78", "Target_Clf": "MPU", "Compiler_Type": "GCC", "Idx": 1016, "Length": 347, "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": 1017, "Length": 35, "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": "AArch64FrameLowering10", "Func": "canUseRedZone", "Target": "AArch64", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 1018, "Length": 92, "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": 1019, "Length": 141, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "unsigned", "R600InstrInfo", "::", "isLegalUpTo", "(", "const", "std", "::", "vector", "<", "std", "::", "vector", "<", "std", "::", "pair", "<", "int", ",", "unsigned", ">", ">", ">", "&", "IGSrcs", ",", "const", "std", "::", "vector", "<", "R600InstrInfo", "::", "BankSwizzle", ">", "&", "Swz", ",", "const", "std", "::", "vector", "<", "std", "::", "pair", "<", "int", ",", "unsigned", ">", ">", "&", "TransSrcs", ",", "R600InstrInfo", "::", "BankSwizzle", "TransSwz", ")", "const", "{", "int", "Vector", "[", "4", "]", "[", "3", "]", ";", "memset", "(", "Vector", ",", "-", "1", ",", "sizeof", "(", "Vector", ")", ")", ";", "for", "(", "unsigned", "i", "=", "0", ",", "e", "=", "IGSrcs", ".", "size", "(", ")", ";", "i", "<", "e", ";", "i", "++", ")", "{", "const", "std", "::", "vector", "<", "std", "::", "pair", "<", "int", ",", "unsigned", ">", ">", "&", "Srcs", "=", "Swizzle", "(", "IGSrcs", "[", "i", "]", ",", "Swz", "[", "i", "]", ")", ";", "for", "(", "unsigned", "j", "=", "0", ";", "j", "<", "3", ";", "j", "++", ")", "{", "const", "std", "::", "pair", "<", "int", ",", "unsigned", ">", "&", "Src", "=", "Srcs", "[", "j", "]", ";", "if", "(", "Src", ".", "first", "<", "0", "||", "Src", ".", "first", "==", "255", ")", "continue", ";", "if", "(", "Src", ".", "first", "==", "GET_REG_INDEX", "(", "RI", ".", "getEncodingValue", "(", "AMDGPU", "::", "OQAP", ")", ")", ")", "{", "if", "(", "Swz", "[", "i", "]", "!=", "R600InstrInfo", "::", "ALU_VEC_012_SCL_210", "&&", "Swz", "[", "i", "]", "!=", "R600InstrInfo", "::", "ALU_VEC_021_SCL_122", ")", "{", "return", "false", ";", "}", "continue", ";", "}", "if", "(", "Vector", "[", "Src", ".", "second", "]", "[", "j", "]", "<", "0", ")", "Vector", "[", "Src", ".", "second", "]", "[", "j", "]", "=", "Src", ".", "first", ";", "if", "(", "Vector", "[", "Src", ".", "second", "]", "[", "j", "]", "!=", "Src", ".", "first", ")", "return", "i", ";", "}", "}", "for", "(", "unsigned", "i", "=", "0", ",", "e", "=", "TransSrcs", ".", "size", "(", ")", ";", "i", "<", "e", ";", "++", "i", ")", "{", "const", "std", "::", "pair", "<", "int", ",", "unsigned", ">", "&", "Src", "=", "TransSrcs", "[", "i", "]", ";", "unsigned", "Cycle", "=", "getTransSwizzle", "(", "TransSwz", ",", "i", ")", ";", "if", "(", "Src", ".", "first", "<", "0", ")", "continue", ";", "if", "(", "Src", ".", "first", "==", "255", ")", "continue", ";", "if", "(", "Vector", "[", "Src", ".", "second", "]", "[", "Cycle", "]", "<", "0", ")", "Vector", "[", "Src", ".", "second", "]", "[", "Cycle", "]", "=", "Src", ".", "first", ";", "if", "(", "Vector", "[", "Src", ".", "second", "]", "[", "Cycle", "]", "!=", "Src", ".", "first", ")", "return", "IGSrcs", ".", "size", "(", ")", "-", "1", ";", "}", "return", "IGSrcs", ".", "size", "(", ")", ";", "}", ""], "natrual_language": ["returns", "how", "many", "MIs", "(", "whose", "inputs", "are", "represented", "by", "IGSrcs", ")", "can", "be", "packed", "in", "the", "same", "Instruction", "Group", "while", "meeting", "read", "port", "limitations", "given", "a", "Swz", "swizzle", "sequence", "."], "TS_V_token": ["R600", "4", "3", "1", "0", "0", "3", "0", "255", "0", "0", "0", "255", "0", "1"], "File": "R600InstrInfo11", "Func": "isLegalUpTo", "Target": "R600", "Target_Clf": "GPU", "Compiler_Type": "LLVM", "Idx": 1020, "Length": 414, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "static", "int", "nvptx_dim_limit", "(", "int", "axis", ")", "{", "switch", "(", "axis", ")", "{", "case", "GOMP_DIM_WORKER", ":", "return", "PTX_WORKER_LENGTH", ";", "case", "GOMP_DIM_VECTOR", ":", "return", "PTX_VECTOR_LENGTH", ";", "default", ":", "break", ";", "}", "return", "0", ";", "}", ""], "natrual_language": ["Return", "maximum", "dimension", "size", ",", "or", "zero", "for", "unbounded", "."], "TS_V_token": ["nvptx", "0"], "File": "nvptx3", "Func": "nvptx_dim_limit", "Target": "nvptx", "Target_Clf": "GPU", "Compiler_Type": "GCC", "Idx": 1021, "Length": 34, "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": 1022, "Length": 399, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "static", "rtx", "compute_frame_addr", "(", "int", "offset_from_fp", ",", "int", "*", "next_scratch_regno", ")", "{", "rtx", "base_reg_rtx", ",", "tmp_reg_rtx", ",", "offset_rtx", ";", "int", "offset_from_base", ";", "if", "(", "frame_pointer_needed", ")", "{", "base_reg_rtx", "=", "hard_frame_pointer_rtx", ";", "offset_from_base", "=", "offset_from_fp", ";", "}", "else", "{", "int", "offset_from_sp", "=", "compute_total_frame_size", "(", ")", "+", "offset_from_fp", ";", "offset_from_base", "=", "offset_from_sp", ";", "base_reg_rtx", "=", "stack_pointer_rtx", ";", "}", "if", "(", "offset_from_base", "==", "0", ")", "return", "base_reg_rtx", ";", "tmp_reg_rtx", "=", "gen_rtx_REG", "(", "Pmode", ",", "(", "*", "next_scratch_regno", ")", "--", ")", ";", "offset_rtx", "=", "GEN_INT", "(", "offset_from_base", ")", ";", "if", "(", "!", "add_operand", "(", "offset_rtx", ",", "Pmode", ")", ")", "{", "expand_set_cint64", "(", "tmp_reg_rtx", ",", "offset_rtx", ")", ";", "offset_rtx", "=", "tmp_reg_rtx", ";", "}", "emit_insn", "(", "gen_rtx_SET", "(", "tmp_reg_rtx", ",", "gen_rtx_PLUS", "(", "Pmode", ",", "base_reg_rtx", ",", "offset_rtx", ")", ")", ")", ";", "return", "tmp_reg_rtx", ";", "}", ""], "natrual_language": ["Returns", "an", "rtx", "for", "a", "stack", "slot", "at", "'FP", "+", "offset_from_fp", "'", ".", "If", "there", "is", "a", "frame", "pointer", ",", "it", "computes", "the", "value", "relative", "to", "that", ".", "Otherwise", "it", "uses", "the", "stack", "pointer", "."], "TS_V_token": ["tilegx", "0"], "File": "tilegx", "Func": "compute_frame_addr", "Target": "tilegx", "Target_Clf": "VLIW", "Compiler_Type": "GCC", "Idx": 1023, "Length": 129, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "void", "AMDGPURegisterInfo", "::", "eliminateFrameIndex", "(", "MachineBasicBlock", "::", "iterator", "MI", ",", "int", "SPAdj", ",", "unsigned", "FIOperandNum", ",", "RegScavenger", "*", "RS", ")", "const", "{", "llvm_unreachable", "(", "\"Subroutines not supported yet\"", ")", ";", "}", ""], "natrual_language": ["This", "method", "must", "be", "overriden", "to", "eliminate", "abstract", "frame", "indices", "from", "instructions", "which", "may", "use", "them", "."], "TS_V_token": ["R600", "\"Subroutines not supported yet\""], "File": "AMDGPURegisterInfo", "Func": "eliminateFrameIndex", "Target": "R600", "Target_Clf": "GPU", "Compiler_Type": "LLVM", "Idx": 1024, "Length": 28, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "bool", "MSP430AsmPrinter", "::", "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": ["MSP430", "MSP430", "0"], "File": "MSP430AsmPrinter21", "Func": "PrintAsmOperand", "Target": "MSP430", "Target_Clf": "MPU", "Compiler_Type": "LLVM", "Idx": 1025, "Length": 45, "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": 1026, "Length": 318, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "bool", "DeadCodeElimination", "::", "erase", "(", "const", "SetVector", "<", "NodeId", ">", "&", "Nodes", ")", "{", "if", "(", "Nodes", ".", "empty", "(", ")", ")", "return", "false", ";", "NodeList", "DRNs", ",", "DINs", ";", "for", "(", "auto", "I", ":", "Nodes", ")", "{", "auto", "BA", "=", "DFG", ".", "addr", "<", "NodeBase", "*", ">", "(", "I", ")", ";", "uint16_t", "Type", "=", "BA", ".", "Addr", "->", "getType", "(", ")", ";", "if", "(", "Type", "==", "NodeAttrs", "::", "Ref", ")", "{", "DRNs", ".", "push_back", "(", "DFG", ".", "addr", "<", "RefNode", "*", ">", "(", "I", ")", ")", ";", "continue", ";", "}", "uint16_t", "Kind", "=", "BA", ".", "Addr", "->", "getKind", "(", ")", ";", "if", "(", "Kind", "==", "NodeAttrs", "::", "Stmt", "||", "Kind", "==", "NodeAttrs", "::", "Phi", ")", "{", "for", "(", "auto", "N", ":", "NodeAddr", "<", "CodeNode", "*", ">", "(", "BA", ")", ".", "Addr", "->", "members", "(", "DFG", ")", ")", "DRNs", ".", "push_back", "(", "N", ")", ";", "DINs", ".", "push_back", "(", "DFG", ".", "addr", "<", "InstrNode", "*", ">", "(", "I", ")", ")", ";", "}", "else", "{", "llvm_unreachable", "(", "\"Unexpected code node\"", ")", ";", "return", "false", ";", "}", "}", "auto", "UsesFirst", "=", "[", "]", "(", "NodeAddr", "<", "RefNode", "*", ">", "A", ",", "NodeAddr", "<", "RefNode", "*", ">", "B", ")", "->", "bool", "{", "uint16_t", "KindA", "=", "A", ".", "Addr", "->", "getKind", "(", ")", ",", "KindB", "=", "B", ".", "Addr", "->", "getKind", "(", ")", ";", "if", "(", "KindA", "==", "NodeAttrs", "::", "Use", "&&", "KindB", "==", "NodeAttrs", "::", "Def", ")", "return", "true", ";", "if", "(", "KindA", "==", "NodeAttrs", "::", "Def", "&&", "KindB", "==", "NodeAttrs", "::", "Use", ")", "return", "false", ";", "return", "A", ".", "Id", "<", "B", ".", "Id", ";", "}", ";", "std", "::", "sort", "(", "DRNs", ".", "begin", "(", ")", ",", "DRNs", ".", "end", "(", ")", ",", "UsesFirst", ")", ";", "if", "(", "trace", "(", ")", ")", "dbgs", "(", ")", "<<", "\"Removing dead ref nodes:\\n\"", ";", "for", "(", "NodeAddr", "<", "RefNode", "*", ">", "RA", ":", "DRNs", ")", "{", "if", "(", "trace", "(", ")", ")", "dbgs", "(", ")", "<<", "\" \"", "<<", "PrintNode", "<", "RefNode", "*", ">", "(", "RA", ",", "DFG", ")", "<<", "'\\n'", ";", "if", "(", "DFG", ".", "IsUse", "(", "RA", ")", ")", "DFG", ".", "unlinkUse", "(", "RA", ")", ";", "else", "if", "(", "DFG", ".", "IsDef", "(", "RA", ")", ")", "DFG", ".", "unlinkDef", "(", "RA", ")", ";", "}", "for", "(", "NodeAddr", "<", "InstrNode", "*", ">", "IA", ":", "DINs", ")", "{", "NodeAddr", "<", "BlockNode", "*", ">", "BA", "=", "IA", ".", "Addr", "->", "getOwner", "(", "DFG", ")", ";", "BA", ".", "Addr", "->", "removeMember", "(", "IA", ",", "DFG", ")", ";", "if", "(", "!", "DFG", ".", "IsCode", "<", "NodeAttrs", "::", "Stmt", ">", "(", "IA", ")", ")", "continue", ";", "MachineInstr", "*", "MI", "=", "NodeAddr", "<", "StmtNode", "*", ">", "(", "IA", ")", ".", "Addr", "->", "getCode", "(", ")", ";", "if", "(", "trace", "(", ")", ")", "dbgs", "(", ")", "<<", "\"erasing: \"", "<<", "*", "MI", ";", "MI", "->", "eraseFromParent", "(", ")", ";", "}", "return", "true", ";", "}", ""], "natrual_language": ["erase", "-", "Erases", "an", "element", "identified", "by", "Key", ",", "if", "it", "exists", "."], "TS_V_token": ["Hexagon", "\"Unexpected code node\"", "\"Removing dead ref nodes:\\n\"", "\" \"", "\"erasing: \""], "File": "RDFDeadCode8", "Func": "erase", "Target": "Hexagon", "Target_Clf": "DSP", "Compiler_Type": "LLVM", "Idx": 1027, "Length": 466, "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": 1028, "Length": 66, "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": 1029, "Length": 11, "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": 1030, "Length": 299, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "bool", "MCS51RegisterInfo", "::", "shouldCoalesce", "(", "MachineInstr", "*", "MI", ",", "const", "TargetRegisterClass", "*", "SrcRC", ",", "unsigned", "SubReg", ",", "const", "TargetRegisterClass", "*", "DstRC", ",", "unsigned", "DstSubReg", ",", "const", "TargetRegisterClass", "*", "NewRC", ",", "LiveIntervals", "&", "LIS", ")", "const", "{", "if", "(", "this", "->", "getRegClass", "(", "MCS51", "::", "PTRDISPREGSRegClassID", ")", "->", "hasSubClassEq", "(", "NewRC", ")", ")", "{", "return", "false", ";", "}", "return", "TargetRegisterInfo", "::", "shouldCoalesce", "(", "MI", ",", "SrcRC", ",", "SubReg", ",", "DstRC", ",", "DstSubReg", ",", "NewRC", ",", "LIS", ")", ";", "}", ""], "natrual_language": ["Subtarget", "Hooks", "."], "TS_V_token": ["MCS51", "MCS51", "MCS51::PTRDISPREGSRegClassID"], "File": "MCS51RegisterInfo", "Func": "shouldCoalesce", "Target": "MCS51", "Target_Clf": "MPU", "Compiler_Type": "LLVM", "Idx": 1031, "Length": 78, "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": 1032, "Length": 450, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "void", "HexagonFrameLowering", "::", "emitPrologue", "(", "MachineFunction", "&", "MF", ",", "MachineBasicBlock", "&", "MBB", ")", "const", "{", "auto", "&", "HST", "=", "static_cast", "<", "const", "HexagonSubtarget", "&", ">", "(", "MF", ".", "getSubtarget", "(", ")", ")", ";", "auto", "&", "HRI", "=", "*", "HST", ".", "getRegisterInfo", "(", ")", ";", "MachineFrameInfo", "*", "MFI", "=", "MF", ".", "getFrameInfo", "(", ")", ";", "const", "std", "::", "vector", "<", "CalleeSavedInfo", ">", "&", "CSI", "=", "MFI", "->", "getCalleeSavedInfo", "(", ")", ";", "MachineBasicBlock", "*", "PrologB", "=", "&", "MF", ".", "front", "(", ")", ",", "*", "EpilogB", "=", "nullptr", ";", "if", "(", "EnableShrinkWrapping", ")", "findShrunkPrologEpilog", "(", "MF", ",", "PrologB", ",", "EpilogB", ")", ";", "insertCSRSpillsInBlock", "(", "*", "PrologB", ",", "CSI", ",", "HRI", ")", ";", "insertPrologueInBlock", "(", "*", "PrologB", ")", ";", "if", "(", "EpilogB", ")", "{", "insertCSRRestoresInBlock", "(", "*", "EpilogB", ",", "CSI", ",", "HRI", ")", ";", "insertEpilogueInBlock", "(", "*", "EpilogB", ")", ";", "}", "else", "{", "for", "(", "auto", "&", "B", ":", "MF", ")", "if", "(", "B", ".", "isReturnBlock", "(", ")", ")", "insertCSRRestoresInBlock", "(", "B", ",", "CSI", ",", "HRI", ")", ";", "for", "(", "auto", "&", "B", ":", "MF", ")", "if", "(", "B", ".", "isReturnBlock", "(", ")", ")", "insertEpilogueInBlock", "(", "B", ")", ";", "}", "}", ""], "natrual_language": ["emitProlog/emitEpilog", "-", "These", "methods", "insert", "prolog", "and", "epilog", "code", "into", "the", "function", "."], "TS_V_token": ["Hexagon", "Hexagon", "Hexagon"], "File": "HexagonFrameLowering6", "Func": "emitPrologue", "Target": "Hexagon", "Target_Clf": "DSP", "Compiler_Type": "LLVM", "Idx": 1033, "Length": 187, "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": 1034, "Length": 28, "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": 1035, "Length": 43, "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": 1036, "Length": 137, "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", "Func": "isLoadFromStackSlot", "Target": "Mips", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 1037, "Length": 20, "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", ",", "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", "\"unknown operand type\"", "ARM::CPSR", "\"Subregs should be eliminated!\""], "File": "ARMMCInstLower23", "Func": "lowerOperand", "Target": "ARM", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 1038, "Length": 319, "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": 1039, "Length": 358, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "void", "AMDGPUTTIImpl", "::", "getUnrollingPreferences", "(", "Loop", "*", "L", ",", "TTI", "::", "UnrollingPreferences", "&", "UP", ")", "{", "UP", ".", "Threshold", "=", "300", ";", "UP", ".", "MaxCount", "=", "UINT_MAX", ";", "UP", ".", "Partial", "=", "true", ";", "for", "(", "const", "BasicBlock", "*", "BB", ":", "L", "->", "getBlocks", "(", ")", ")", "{", "for", "(", "const", "Instruction", "&", "I", ":", "*", "BB", ")", "{", "const", "GetElementPtrInst", "*", "GEP", "=", "dyn_cast", "<", "GetElementPtrInst", ">", "(", "&", "I", ")", ";", "if", "(", "!", "GEP", "||", "GEP", "->", "getAddressSpace", "(", ")", "!=", "AMDGPUAS", "::", "PRIVATE_ADDRESS", ")", "continue", ";", "const", "Value", "*", "Ptr", "=", "GEP", "->", "getPointerOperand", "(", ")", ";", "const", "AllocaInst", "*", "Alloca", "=", "dyn_cast", "<", "AllocaInst", ">", "(", "GetUnderlyingObject", "(", "Ptr", ")", ")", ";", "if", "(", "Alloca", ")", "{", "UP", ".", "Threshold", "=", "800", ";", "}", "}", "}", "}", ""], "natrual_language": ["Get", "target-customized", "preferences", "for", "the", "generic", "loop", "unrolling", "transformation", "."], "TS_V_token": ["R600", "300", "AMDGPUAS::PRIVATE_ADDRESS", "800"], "File": "AMDGPUTargetTransformInfo16", "Func": "getUnrollingPreferences", "Target": "R600", "Target_Clf": "GPU", "Compiler_Type": "LLVM", "Idx": 1040, "Length": 132, "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": 1041, "Length": 85, "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": 1042, "Length": 165, "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", ":", "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::GPRRegBankID", "AArch64::CCRRegClassID", "AArch64::CCRegBankID", "\"Register class not supported\""], "File": "AArch64RegisterBankInfo14", "Func": "getRegBankFromRegClass", "Target": "AArch64", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 1043, "Length": 233, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "virtual", "const", "WDC65816InstrInfo", "*", "getInstrInfo", "(", ")", "const", "{", "return", "&", "InstrInfo", ";", "}", ""], "natrual_language": ["TargetInstrInfo", "getter", "."], "TS_V_token": ["WDC65816", "WDC"], "File": "WDC65816TargetMachine", "Func": "getInstrInfo", "Target": "WDC65816", "Target_Clf": "MPU", "Compiler_Type": "LLVM", "Idx": 1044, "Length": 14, "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": 1045, "Length": 37, "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": ["GBZ80"], "File": "GBZ80RegisterInfo", "Func": "trackLivenessAfterRegAlloc", "Target": "GBZ80", "Target_Clf": "MPU", "Compiler_Type": "LLVM", "Idx": 1046, "Length": 15, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "const", "RegClassWeight", "&", "HexagonRegisterInfo", "::", "getRegClassWeight", "(", "const", "TargetRegisterClass", "*", "RC", ")", "const", "{", "static", "const", "RegClassWeight", "RCWeightTable", "[", "]", "=", "{", "{", "1", ",", "32", "}", ",", "{", "1", ",", "8", "}", ",", "{", "1", ",", "4", "}", ",", "{", "2", ",", "16", "}", ",", "{", "0", ",", "0", "}", "}", ";", "return", "RCWeightTable", "[", "RC", "->", "getID", "(", ")", "]", ";", "}", ""], "natrual_language": ["Get", "the", "weight", "in", "units", "of", "pressure", "for", "this", "register", "class", "."], "TS_V_token": ["Hexagon", "Hexagon", "1", "32", "1", "8", "1", "4", "2", "16", "0", "0"], "File": "HexagonRegisterInfo23", "Func": "getRegClassWeight", "Target": "Hexagon", "Target_Clf": "DSP", "Compiler_Type": "LLVM", "Idx": 1047, "Length": 64, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "static", "void", "reorder_var_tracking_notes", "(", "void", ")", "{", "basic_block", "bb", ";", "FOR_EACH_BB_FN", "(", "bb", ",", "cfun", ")", "{", "rtx_insn", "*", "insn", ",", "*", "next", ";", "rtx_insn", "*", "queue", "=", "NULL", ";", "bool", "in_bundle", "=", "false", ";", "for", "(", "insn", "=", "BB_HEAD", "(", "bb", ")", ";", "insn", "!=", "BB_END", "(", "bb", ")", ";", "insn", "=", "next", ")", "{", "next", "=", "NEXT_INSN", "(", "insn", ")", ";", "if", "(", "INSN_P", "(", "insn", ")", ")", "{", "if", "(", "GET_MODE", "(", "insn", ")", "==", "QImode", ")", "{", "while", "(", "queue", ")", "{", "rtx_insn", "*", "next_queue", "=", "PREV_INSN", "(", "queue", ")", ";", "SET_PREV_INSN", "(", "NEXT_INSN", "(", "insn", ")", ")", "=", "queue", ";", "SET_NEXT_INSN", "(", "queue", ")", "=", "NEXT_INSN", "(", "insn", ")", ";", "SET_NEXT_INSN", "(", "insn", ")", "=", "queue", ";", "SET_PREV_INSN", "(", "queue", ")", "=", "insn", ";", "queue", "=", "next_queue", ";", "}", "in_bundle", "=", "false", ";", "}", "else", "if", "(", "GET_MODE", "(", "insn", ")", "==", "SImode", ")", "in_bundle", "=", "true", ";", "}", "else", "if", "(", "NOTE_P", "(", "insn", ")", "&&", "NOTE_KIND", "(", "insn", ")", "==", "NOTE_INSN_VAR_LOCATION", ")", "{", "if", "(", "in_bundle", ")", "{", "rtx_insn", "*", "prev", "=", "PREV_INSN", "(", "insn", ")", ";", "SET_PREV_INSN", "(", "next", ")", "=", "prev", ";", "SET_NEXT_INSN", "(", "prev", ")", "=", "next", ";", "SET_PREV_INSN", "(", "insn", ")", "=", "queue", ";", "queue", "=", "insn", ";", "}", "}", "}", "}", "}", ""], "natrual_language": ["Ensure", "that", "no", "var", "tracking", "notes", "are", "emitted", "in", "the", "middle", "of", "a", "three-instruction", "bundle", "."], "TS_V_token": ["bfin"], "File": "bfin", "Func": "reorder_var_tracking_notes", "Target": "bfin", "Target_Clf": "DSP", "Compiler_Type": "GCC", "Idx": 1048, "Length": 214, "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": 1049, "Length": 49, "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": 1050, "Length": 17, "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": ["M680x0"], "File": "M680x0Subtarget", "Func": "getStackAlignment", "Target": "M680x0", "Target_Clf": "MPU", "Compiler_Type": "LLVM", "Idx": 1051, "Length": 10, "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": 1052, "Length": 108, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "bool", "NVPTXPeephole", "::", "runOnMachineFunction", "(", "MachineFunction", "&", "MF", ")", "{", "if", "(", "skipFunction", "(", "MF", ".", "getFunction", "(", ")", ")", ")", "return", "false", ";", "bool", "Changed", "=", "false", ";", "for", "(", "auto", "&", "MBB", ":", "MF", ")", "{", "auto", "BlockIter", "=", "MBB", ".", "begin", "(", ")", ";", "while", "(", "BlockIter", "!=", "MBB", ".", "end", "(", ")", ")", "{", "auto", "&", "MI", "=", "*", "BlockIter", "++", ";", "if", "(", "isCVTAToLocalCombinationCandidate", "(", "MI", ")", ")", "{", "CombineCVTAToLocal", "(", "MI", ")", ";", "Changed", "=", "true", ";", "}", "}", "}", "const", "auto", "&", "MRI", "=", "MF", ".", "getRegInfo", "(", ")", ";", "if", "(", "MRI", ".", "use_empty", "(", "NVPTX", "::", "VRFrame", ")", ")", "{", "if", "(", "auto", "MI", "=", "MRI", ".", "getUniqueVRegDef", "(", "NVPTX", "::", "VRFrame", ")", ")", "{", "MI", "->", "eraseFromParentAndMarkDBGValuesForRemoval", "(", ")", ";", "}", "}", "return", "Changed", ";", "}", ""], "natrual_language": ["runOnMachineFunction", "-", "Emit", "the", "function", "body", "."], "TS_V_token": ["NVPTX", "NVPTX", "NVPTX::VRFrame", "NVPTX::VRFrame"], "File": "NVPTXPeephole13", "Func": "runOnMachineFunction", "Target": "NVPTX", "Target_Clf": "GPU", "Compiler_Type": "LLVM", "Idx": 1053, "Length": 136, "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": 1054, "Length": 146, "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": 1055, "Length": 239, "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", ")", "{", "if", "(", "getARMSubtarget", "(", ")", ".", "restrictIT", "(", ")", ")", "addPass", "(", "createThumb2SizeReductionPass", "(", ")", ")", ";", "if", "(", "!", "getARMSubtarget", "(", ")", ".", "isThumb1Only", "(", ")", ")", "addPass", "(", "&", "IfConverterID", ")", ";", "}", "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": "ARMTargetMachine29", "Func": "addPreSched2", "Target": "ARM", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 1056, "Length": 102, "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": 1057, "Length": 72, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "bool", "runOnModule", "(", "Module", "&", "M", ")", "override", "{", "UsedList", "=", "AMDGPU", "::", "getUsedList", "(", "M", ")", ";", "bool", "Changed", "=", "processUsedLDS", "(", "M", ")", ";", "for", "(", "Function", "&", "F", ":", "M", ".", "functions", "(", ")", ")", "{", "if", "(", "!", "AMDGPU", "::", "isKernel", "(", "F", ".", "getCallingConv", "(", ")", ")", ")", "continue", ";", "Changed", "|=", "processUsedLDS", "(", "M", ",", "&", "F", ")", ";", "}", "UsedList", ".", "clear", "(", ")", ";", "return", "Changed", ";", "}", ""], "natrual_language": ["runOnModule", "-", "Virtual", "method", "overriden", "by", "subclasses", "to", "process", "the", "module", "being", "operated", "on", "."], "TS_V_token": ["AMDGPU", "AMDGPU::getUsedList", "AMDGPU::isKernel"], "File": "AMDGPULowerModuleLDSPass4", "Func": "runOnModule", "Target": "AMDGPU", "Target_Clf": "GPU", "Compiler_Type": "LLVM", "Idx": 1058, "Length": 76, "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": 1059, "Length": 114, "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": 1060, "Length": 34, "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": 1061, "Length": 86, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "static", "MachineInstr", "*", "findLoopInstr", "(", "MachineBasicBlock", "*", "BB", ",", "int", "EndLoopOp", ",", "SmallPtrSet", "<", "MachineBasicBlock", "*", ",", "8", ">", "&", "Visited", ")", "{", "int", "LOOPi", ";", "int", "LOOPr", ";", "if", "(", "EndLoopOp", "==", "Hexagon", "::", "ENDLOOP0", ")", "{", "LOOPi", "=", "Hexagon", "::", "J2_loop0i", ";", "LOOPr", "=", "Hexagon", "::", "J2_loop0r", ";", "}", "else", "{", "LOOPi", "=", "Hexagon", "::", "J2_loop1i", ";", "LOOPr", "=", "Hexagon", "::", "J2_loop1r", ";", "}", "for", "(", "MachineBasicBlock", "::", "pred_iterator", "PB", "=", "BB", "->", "pred_begin", "(", ")", ",", "PE", "=", "BB", "->", "pred_end", "(", ")", ";", "PB", "!=", "PE", ";", "++", "PB", ")", "{", "if", "(", "!", "Visited", ".", "insert", "(", "*", "PB", ")", ".", "second", ")", "continue", ";", "if", "(", "*", "PB", "==", "BB", ")", "continue", ";", "for", "(", "MachineBasicBlock", "::", "reverse_instr_iterator", "I", "=", "(", "*", "PB", ")", "->", "instr_rbegin", "(", ")", ",", "E", "=", "(", "*", "PB", ")", "->", "instr_rend", "(", ")", ";", "I", "!=", "E", ";", "++", "I", ")", "{", "int", "Opc", "=", "I", "->", "getOpcode", "(", ")", ";", "if", "(", "Opc", "==", "LOOPi", "||", "Opc", "==", "LOOPr", ")", "return", "&", "*", "I", ";", "if", "(", "Opc", "==", "EndLoopOp", ")", "return", "nullptr", ";", "}", "MachineInstr", "*", "loop", "=", "findLoopInstr", "(", "*", "PB", ",", "EndLoopOp", ",", "Visited", ")", ";", "if", "(", "loop", ")", "return", "loop", ";", "}", "return", "nullptr", ";", "}", ""], "natrual_language": ["Find", "the", "hardware", "loop", "instruction", "used", "to", "set-up", "the", "specified", "loop", "."], "TS_V_token": ["Hexagon", "8", "Hexagon::ENDLOOP0", "Hexagon::J2_loop0i", "Hexagon::J2_loop0r", "Hexagon::J2_loop1i", "Hexagon::J2_loop1r"], "File": "HexagonInstrInfo30", "Func": "findLoopInstr", "Target": "Hexagon", "Target_Clf": "DSP", "Compiler_Type": "LLVM", "Idx": 1062, "Length": 214, "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": 1063, "Length": 216, "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": 1064, "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_arch3m", "=", "bitmap_bit_p", "(", "arm_active_target", ".", "isa", ",", "isa_bit_armv3m", ")", ";", "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_arch5", "=", "bitmap_bit_p", "(", "arm_active_target", ".", "isa", ",", "isa_bit_armv5", ")", ";", "arm_arch5e", "=", "bitmap_bit_p", "(", "arm_active_target", ".", "isa", ",", "isa_bit_armv5e", ")", ";", "arm_arch5te", "=", "arm_arch5e", "&&", "bitmap_bit_p", "(", "arm_active_target", ".", "isa", ",", "isa_bit_thumb", ")", ";", "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_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": "arm7", "Func": "arm_option_reconfigure_globals", "Target": "arm", "Target_Clf": "CPU", "Compiler_Type": "GCC", "Idx": 1065, "Length": 379, "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": 1066, "Length": 35, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "const", "Region", "*", "getRegionFor", "(", "const", "MachineBasicBlock", "*", "MBB", ")", "{", "const", "auto", "*", "ML", "=", "MLI", ".", "getLoopFor", "(", "MBB", ")", ";", "const", "auto", "*", "WE", "=", "WEI", ".", "getExceptionFor", "(", "MBB", ")", ";", "if", "(", "!", "ML", "&&", "!", "WE", ")", "return", "nullptr", ";", "if", "(", "(", "ML", "&&", "!", "WE", ")", "||", "(", "ML", "&&", "WE", "&&", "WE", "->", "contains", "(", "ML", "->", "getHeader", "(", ")", ")", ")", ")", "{", "if", "(", "LoopMap", ".", "count", "(", "ML", ")", ")", "return", "LoopMap", "[", "ML", "]", ".", "get", "(", ")", ";", "LoopMap", "[", "ML", "]", "=", "std", "::", "make_unique", "<", "ConcreteRegion", "<", "MachineLoop", ">>", "(", "ML", ")", ";", "return", "LoopMap", "[", "ML", "]", ".", "get", "(", ")", ";", "}", "else", "{", "if", "(", "ExceptionMap", ".", "count", "(", "WE", ")", ")", "return", "ExceptionMap", "[", "WE", "]", ".", "get", "(", ")", ";", "ExceptionMap", "[", "WE", "]", "=", "std", "::", "make_unique", "<", "ConcreteRegion", "<", "WebAssemblyException", ">>", "(", "WE", ")", ";", "return", "ExceptionMap", "[", "WE", "]", ".", "get", "(", ")", ";", "}", "}", ""], "natrual_language": ["Get", "the", "smallest", "region", "that", "contains", "a", "BasicBlock", "."], "TS_V_token": ["WebAssembly", "WebAssembly"], "File": "WebAssemblyCFGSort13", "Func": "getRegionFor", "Target": "WebAssembly", "Target_Clf": "Virtual ISA", "Compiler_Type": "LLVM", "Idx": 1067, "Length": 170, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "bool", "SITargetLowering", "::", "allowsMisalignedMemoryAccesses", "(", "EVT", "VT", ",", "unsigned", "AddrSpace", ",", "unsigned", "Align", ",", "bool", "*", "IsFast", ")", "const", "{", "if", "(", "IsFast", ")", "*", "IsFast", "=", "false", ";", "if", "(", "VT", "==", "MVT", "::", "Other", "||", "(", "VT", "!=", "MVT", "::", "Other", "&&", "VT", ".", "getSizeInBits", "(", ")", ">", "1024", "&&", "VT", ".", "getStoreSize", "(", ")", ">", "16", ")", ")", "{", "return", "false", ";", "}", "if", "(", "AddrSpace", "==", "AMDGPUAS", "::", "LOCAL_ADDRESS", "||", "AddrSpace", "==", "AMDGPUAS", "::", "REGION_ADDRESS", ")", "{", "bool", "AlignedBy4", "=", "(", "Align", "%", "4", "==", "0", ")", ";", "if", "(", "IsFast", ")", "*", "IsFast", "=", "AlignedBy4", ";", "return", "AlignedBy4", ";", "}", "if", "(", "!", "Subtarget", "->", "hasUnalignedScratchAccess", "(", ")", "&&", "(", "AddrSpace", "==", "AMDGPUAS", "::", "PRIVATE_ADDRESS", "||", "AddrSpace", "==", "AMDGPUAS", "::", "FLAT_ADDRESS", ")", ")", "{", "bool", "AlignedBy4", "=", "Align", ">=", "4", ";", "if", "(", "IsFast", ")", "*", "IsFast", "=", "AlignedBy4", ";", "return", "AlignedBy4", ";", "}", "if", "(", "Subtarget", "->", "hasUnalignedBufferAccess", "(", ")", ")", "{", "if", "(", "IsFast", ")", "{", "*", "IsFast", "=", "(", "AddrSpace", "==", "AMDGPUAS", "::", "CONSTANT_ADDRESS", "||", "AddrSpace", "==", "AMDGPUAS", "::", "CONSTANT_ADDRESS_32BIT", ")", "?", "(", "Align", "%", "4", "==", "0", ")", ":", "true", ";", "}", "return", "true", ";", "}", "if", "(", "VT", ".", "bitsLT", "(", "MVT", "::", "i32", ")", ")", "return", "false", ";", "if", "(", "IsFast", ")", "*", "IsFast", "=", "true", ";", "return", "VT", ".", "bitsGT", "(", "MVT", "::", "i32", ")", "&&", "Align", "%", "4", "==", "0", ";", "}", ""], "natrual_language": ["Returns", "true", "if", "the", "target", "allows", "unaligned", "memory", "accesses", "of", "the", "specified", "type", "."], "TS_V_token": ["AMDGPU", "SI", "MVT::Other", "MVT::Other", "1024", "16", "AMDGPU", "AMDGPU", "4", "0", "AMDGPU", "AMDGPU", "4", "AMDGPU", "AMDGPU", "4", "0", "MVT::i32", "MVT::i32", "4", "0"], "File": "SIISelLowering (2)3", "Func": "allowsMisalignedMemoryAccesses", "Target": "AMDGPU", "Target_Clf": "GPU", "Compiler_Type": "LLVM", "Idx": 1068, "Length": 235, "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": 1069, "Length": 357, "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": 1070, "Length": 32, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "bool", "PIC16AsmPrinter", "::", "runOnMachineFunction", "(", "MachineFunction", "&", "MF", ")", "{", "SetupMachineFunction", "(", "MF", ")", ";", "const", "Function", "*", "F", "=", "MF", ".", "getFunction", "(", ")", ";", "ColorAutoSection", "(", "F", ")", ";", "EmitFunctionFrame", "(", "MF", ")", ";", "DbgInfo", ".", "BeginFunction", "(", "MF", ")", ";", "const", "MCSection", "*", "fCodeSection", "=", "getObjFileLowering", "(", ")", ".", "SectionForCode", "(", "CurrentFnSym", "->", "getName", "(", ")", ",", "PAN", "::", "isISR", "(", "F", "->", "getSection", "(", ")", ")", ")", ";", "O", "<<", "\"\\n\"", ";", "OutStreamer", ".", "SwitchSection", "(", "fCodeSection", ")", ";", "O", "<<", "\"\\tretlw low(\"", "<<", "PAN", "::", "getFrameLabel", "(", "CurrentFnSym", "->", "getName", "(", ")", ")", "<<", "\")\\n\"", ";", "O", "<<", "\"\\tretlw high(\"", "<<", "PAN", "::", "getFrameLabel", "(", "CurrentFnSym", "->", "getName", "(", ")", ")", "<<", "\")\\n\"", ";", "O", "<<", "*", "CurrentFnSym", "<<", "\":\\n\"", ";", "DebugLoc", "CurDL", ";", "O", "<<", "\"\\n\"", ";", "for", "(", "MachineFunction", "::", "const_iterator", "I", "=", "MF", ".", "begin", "(", ")", ",", "E", "=", "MF", ".", "end", "(", ")", ";", "I", "!=", "E", ";", "++", "I", ")", "{", "if", "(", "I", "!=", "MF", ".", "begin", "(", ")", ")", "{", "EmitBasicBlockStart", "(", "I", ")", ";", "}", "for", "(", "MachineBasicBlock", "::", "const_iterator", "II", "=", "I", "->", "begin", "(", ")", ",", "E", "=", "I", "->", "end", "(", ")", ";", "II", "!=", "E", ";", "++", "II", ")", "{", "const", "DebugLoc", "DL", "=", "II", "->", "getDebugLoc", "(", ")", ";", "if", "(", "!", "DL", ".", "isUnknown", "(", ")", "&&", "DL", "!=", "CurDL", ")", "{", "DbgInfo", ".", "ChangeDebugLoc", "(", "MF", ",", "DL", ")", ";", "CurDL", "=", "DL", ";", "}", "EmitInstruction", "(", "II", ")", ";", "}", "}", "DbgInfo", ".", "EndFunction", "(", "MF", ")", ";", "return", "false", ";", "}", ""], "natrual_language": ["runOnMachineFunction", "-", "Emit", "the", "function", "body", "."], "TS_V_token": ["PIC16", "PIC16", "\"\\n\"", "\"\\tretlw low(\"", "\")\\n\"", "\"\\tretlw high(\"", "\")\\n\"", "\":\\n\"", "\"\\n\""], "File": "PIC16AsmPrinter3", "Func": "runOnMachineFunction", "Target": "PIC16", "Target_Clf": "MPU", "Compiler_Type": "LLVM", "Idx": 1071, "Length": 262, "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": 1072, "Length": 56, "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": 1073, "Length": 25, "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": 1074, "Length": 160, "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": 1075, "Length": 87, "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": 1076, "Length": 197, "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": 1077, "Length": 296, "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": 1078, "Length": 26, "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": 1079, "Length": 32, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "TargetLowering", "::", "AtomicExpansionKind", "SITargetLowering", "::", "shouldExpandAtomicLoadInIR", "(", "LoadInst", "*", "LI", ")", "const", "{", "return", "LI", "->", "getPointerAddressSpace", "(", ")", "==", "AMDGPUAS", "::", "PRIVATE_ADDRESS", "?", "AtomicExpansionKind", "::", "NotAtomic", ":", "AtomicExpansionKind", "::", "None", ";", "}", ""], "natrual_language": ["Returns", "how", "the", "given", "(", "atomic", ")", "load", "should", "be", "expanded", "by", "the", "IR-level", "AtomicExpand", "pass", "."], "TS_V_token": ["AMDGPU", "SI", "AMDGPU"], "File": "SIISelLowering62", "Func": "shouldExpandAtomicLoadInIR", "Target": "AMDGPU", "Target_Clf": "GPU", "Compiler_Type": "LLVM", "Idx": 1080, "Length": 33, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "const", "MCPhysReg", "*", "M680x0RegisterInfo", "::", "getCalleeSavedRegs", "(", "const", "MachineFunction", "*", "MF", ")", "const", "{", "return", "CSR_STD_SaveList", ";", "}", ""], "natrual_language": ["Code", "Generation", "virtual", "methods", "..."], "TS_V_token": ["M680x0", "M680x0"], "File": "M680x0RegisterInfo", "Func": "getCalleeSavedRegs", "Target": "M680x0", "Target_Clf": "MPU", "Compiler_Type": "LLVM", "Idx": 1081, "Length": 18, "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": 1082, "Length": 11, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "bool", "HexagonCopyToCombine", "::", "runOnMachineFunction", "(", "MachineFunction", "&", "MF", ")", "{", "if", "(", "skipFunction", "(", "MF", ".", "getFunction", "(", ")", ")", ")", "return", "false", ";", "if", "(", "IsCombinesDisabled", ")", "return", "false", ";", "bool", "HasChanged", "=", "false", ";", "ST", "=", "&", "MF", ".", "getSubtarget", "<", "HexagonSubtarget", ">", "(", ")", ";", "TRI", "=", "ST", "->", "getRegisterInfo", "(", ")", ";", "TII", "=", "ST", "->", "getInstrInfo", "(", ")", ";", "const", "Function", "&", "F", "=", "MF", ".", "getFunction", "(", ")", ";", "bool", "OptForSize", "=", "F", ".", "hasFnAttribute", "(", "Attribute", "::", "OptimizeForSize", ")", ";", "ShouldCombineAggressively", "=", "MF", ".", "getTarget", "(", ")", ".", "getOptLevel", "(", ")", "<=", "CodeGenOpt", "::", "Default", ";", "if", "(", "!", "OptForSize", "&&", "ST", "->", "isTinyCore", "(", ")", ")", "IsConst64Disabled", "=", "true", ";", "for", "(", "MachineFunction", "::", "iterator", "BI", "=", "MF", ".", "begin", "(", ")", ",", "BE", "=", "MF", ".", "end", "(", ")", ";", "BI", "!=", "BE", ";", "++", "BI", ")", "{", "PotentiallyNewifiableTFR", ".", "clear", "(", ")", ";", "findPotentialNewifiableTFRs", "(", "*", "BI", ")", ";", "for", "(", "MachineBasicBlock", "::", "iterator", "MI", "=", "BI", "->", "begin", "(", ")", ",", "End", "=", "BI", "->", "end", "(", ")", ";", "MI", "!=", "End", ";", ")", "{", "MachineInstr", "&", "I1", "=", "*", "MI", "++", ";", "if", "(", "I1", ".", "isDebugInstr", "(", ")", ")", "continue", ";", "if", "(", "ShouldCombineAggressively", "&&", "PotentiallyNewifiableTFR", ".", "count", "(", "&", "I1", ")", ")", "continue", ";", "if", "(", "!", "isCombinableInstType", "(", "I1", ",", "TII", ",", "ShouldCombineAggressively", ")", ")", "continue", ";", "bool", "DoInsertAtI1", "=", "false", ";", "DbgMItoMove", ".", "clear", "(", ")", ";", "MachineInstr", "*", "I2", "=", "findPairable", "(", "I1", ",", "DoInsertAtI1", ",", "OptForSize", ")", ";", "if", "(", "I2", ")", "{", "HasChanged", "=", "true", ";", "combine", "(", "I1", ",", "*", "I2", ",", "MI", ",", "DoInsertAtI1", ",", "OptForSize", ")", ";", "}", "}", "}", "return", "HasChanged", ";", "}", ""], "natrual_language": ["runOnMachineFunction", "-", "Emit", "the", "function", "body", "."], "TS_V_token": ["Hexagon", "Hexagon", "Hexagon"], "File": "HexagonCopyToCombine14", "Func": "runOnMachineFunction", "Target": "Hexagon", "Target_Clf": "DSP", "Compiler_Type": "LLVM", "Idx": 1083, "Length": 286, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "void", "M680x0PassConfig", "::", "addPreSched2", "(", ")", "{", "addPass", "(", "createM680x0ExpandPseudoPass", "(", ")", ")", ";", "}", ""], "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": ["M680x0", "M680x0", "M680x0"], "File": "M680x0TargetMachine", "Func": "addPreSched2", "Target": "M680x0", "Target_Clf": "MPU", "Compiler_Type": "LLVM", "Idx": 1084, "Length": 15, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "unsigned", "getStackAlignment", "(", ")", "const", "{", "return", "StackAlign", ";", "}", ""], "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": "X86RegisterInfo12", "Func": "getStackAlignment", "Target": "X86", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 1085, "Length": 10, "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": 1086, "Length": 124, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "SDValue", "BPFTargetLowering", "::", "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", "(", ")", ";", "SmallVector", "<", "CCValAssign", ",", "16", ">", "ArgLocs", ";", "CCState", "CCInfo", "(", "CallConv", ",", "IsVarArg", ",", "MF", ",", "ArgLocs", ",", "*", "DAG", ".", "getContext", "(", ")", ")", ";", "CCInfo", ".", "AnalyzeFormalArguments", "(", "Ins", ",", "CC_BPF64", ")", ";", "for", "(", "auto", "&", "VA", ":", "ArgLocs", ")", "{", "if", "(", "VA", ".", "isRegLoc", "(", ")", ")", "{", "EVT", "RegVT", "=", "VA", ".", "getLocVT", "(", ")", ";", "switch", "(", "RegVT", ".", "getSimpleVT", "(", ")", ".", "SimpleTy", ")", "{", "default", ":", "{", "errs", "(", ")", "<<", "\"LowerFormalArguments Unhandled argument type: \"", "<<", "RegVT", ".", "getEVTString", "(", ")", "<<", "'\\n'", ";", "llvm_unreachable", "(", "0", ")", ";", "}", "case", "MVT", "::", "i64", ":", "unsigned", "VReg", "=", "RegInfo", ".", "createVirtualRegister", "(", "&", "BPF", "::", "GPRRegClass", ")", ";", "RegInfo", ".", "addLiveIn", "(", "VA", ".", "getLocReg", "(", ")", ",", "VReg", ")", ";", "SDValue", "ArgValue", "=", "DAG", ".", "getCopyFromReg", "(", "Chain", ",", "DL", ",", "VReg", ",", "RegVT", ")", ";", "if", "(", "VA", ".", "getLocInfo", "(", ")", "==", "CCValAssign", "::", "SExt", ")", "ArgValue", "=", "DAG", ".", "getNode", "(", "ISD", "::", "AssertSext", ",", "DL", ",", "RegVT", ",", "ArgValue", ",", "DAG", ".", "getValueType", "(", "VA", ".", "getValVT", "(", ")", ")", ")", ";", "else", "if", "(", "VA", ".", "getLocInfo", "(", ")", "==", "CCValAssign", "::", "ZExt", ")", "ArgValue", "=", "DAG", ".", "getNode", "(", "ISD", "::", "AssertZext", ",", "DL", ",", "RegVT", ",", "ArgValue", ",", "DAG", ".", "getValueType", "(", "VA", ".", "getValVT", "(", ")", ")", ")", ";", "if", "(", "VA", ".", "getLocInfo", "(", ")", "!=", "CCValAssign", "::", "Full", ")", "ArgValue", "=", "DAG", ".", "getNode", "(", "ISD", "::", "TRUNCATE", ",", "DL", ",", "VA", ".", "getValVT", "(", ")", ",", "ArgValue", ")", ";", "InVals", ".", "push_back", "(", "ArgValue", ")", ";", "}", "}", "else", "{", "fail", "(", "DL", ",", "DAG", ",", "\"defined with too many args\"", ")", ";", "InVals", ".", "push_back", "(", "DAG", ".", "getConstant", "(", "0", ",", "DL", ",", "VA", ".", "getLocVT", "(", ")", ")", ")", ";", "}", "}", "if", "(", "IsVarArg", "||", "MF", ".", "getFunction", "(", ")", ".", "hasStructRetAttr", "(", ")", ")", "{", "fail", "(", "DL", ",", "DAG", ",", "\"functions with VarArgs or StructRet are not supported\"", ")", ";", "}", "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": ["BPF", "BPF", "ISD::InputArg", "\"Unsupported calling convention\"", "16", "BPF", "\"LowerFormalArguments Unhandled argument type: \"", "0", "MVT::i64", "BPF::GPRRegClass", "ISD::AssertSext", "ISD::AssertZext", "ISD::TRUNCATE", "\"defined with too many args\"", "0", "\"functions with VarArgs or StructRet are not supported\""], "File": "BPFISelLowering17", "Func": "LowerFormalArguments", "Target": "BPF", "Target_Clf": "Virtual ISA", "Compiler_Type": "LLVM", "Idx": 1087, "Length": 418, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "ScheduleHazardRecognizer", "*", "HexagonInstrInfo", "::", "CreateTargetPostRAHazardRecognizer", "(", "const", "InstrItineraryData", "*", "II", ",", "const", "ScheduleDAG", "*", "DAG", ")", "const", "{", "if", "(", "UseDFAHazardRec", ")", "{", "auto", "&", "HST", "=", "DAG", "->", "MF", ".", "getSubtarget", "<", "HexagonSubtarget", ">", "(", ")", ";", "return", "new", "HexagonHazardRecognizer", "(", "II", ",", "this", ",", "HST", ")", ";", "}", "return", "TargetInstrInfo", "::", "CreateTargetPostRAHazardRecognizer", "(", "II", ",", "DAG", ")", ";", "}", ""], "natrual_language": ["Allocate", "and", "return", "a", "hazard", "recognizer", "to", "use", "for", "by", "non-scheduling", "passes", "."], "TS_V_token": ["Hexagon", "Hexagon", "Hexagon", "Hexagon"], "File": "HexagonInstrInfo10", "Func": "CreateTargetPostRAHazardRecognizer", "Target": "Hexagon", "Target_Clf": "DSP", "Compiler_Type": "LLVM", "Idx": 1088, "Length": 61, "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": 1089, "Length": 74, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "static", "bool", "xscale_sched_adjust_cost", "(", "rtx_insn", "*", "insn", ",", "rtx", "link", ",", "rtx_insn", "*", "dep", ",", "int", "*", "cost", ")", "{", "if", "(", "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_IMM", "||", "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": "arm4", "Func": "xscale_sched_adjust_cost", "Target": "arm", "Target_Clf": "CPU", "Compiler_Type": "GCC", "Idx": 1090, "Length": 208, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "void", "TMS320C64XClusterAssignment", "::", "assign", "(", "MachineInstr", "*", "MI", ",", "int", "res", ")", "{", "Assigned", "[", "MI", "]", "=", "res", ";", "}", ""], "natrual_language": ["Assign", "from", "a", "list", "of", "StringRefs", "."], "TS_V_token": ["TMS320C64X", "TMS320C64X"], "File": "TMS320C64XClusterAssignment", "Func": "assign", "Target": "TMS320C64X", "Target_Clf": "VLIW", "Compiler_Type": "LLVM", "Idx": 1091, "Length": 21, "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": 1092, "Length": 30, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "bool", "SIAnnotateControlFlow", "::", "runOnFunction", "(", "Function", "&", "F", ")", "{", "DT", "=", "&", "getAnalysis", "<", "DominatorTreeWrapperPass", ">", "(", ")", ".", "getDomTree", "(", ")", ";", "LI", "=", "&", "getAnalysis", "<", "LoopInfoWrapperPass", ">", "(", ")", ".", "getLoopInfo", "(", ")", ";", "DA", "=", "&", "getAnalysis", "<", "LegacyDivergenceAnalysis", ">", "(", ")", ";", "TargetPassConfig", "&", "TPC", "=", "getAnalysis", "<", "TargetPassConfig", ">", "(", ")", ";", "const", "TargetMachine", "&", "TM", "=", "TPC", ".", "getTM", "<", "TargetMachine", ">", "(", ")", ";", "bool", "Changed", "=", "false", ";", "initialize", "(", "*", "F", ".", "getParent", "(", ")", ",", "TM", ".", "getSubtarget", "<", "GCNSubtarget", ">", "(", "F", ")", ")", ";", "for", "(", "df_iterator", "<", "BasicBlock", "*", ">", "I", "=", "df_begin", "(", "&", "F", ".", "getEntryBlock", "(", ")", ")", ",", "E", "=", "df_end", "(", "&", "F", ".", "getEntryBlock", "(", ")", ")", ";", "I", "!=", "E", ";", "++", "I", ")", "{", "BasicBlock", "*", "BB", "=", "*", "I", ";", "BranchInst", "*", "Term", "=", "dyn_cast", "<", "BranchInst", ">", "(", "BB", "->", "getTerminator", "(", ")", ")", ";", "if", "(", "!", "Term", "||", "Term", "->", "isUnconditional", "(", ")", ")", "{", "if", "(", "isTopOfStack", "(", "BB", ")", ")", "Changed", "|=", "closeControlFlow", "(", "BB", ")", ";", "continue", ";", "}", "if", "(", "I", ".", "nodeVisited", "(", "Term", "->", "getSuccessor", "(", "1", ")", ")", ")", "{", "if", "(", "isTopOfStack", "(", "BB", ")", ")", "Changed", "|=", "closeControlFlow", "(", "BB", ")", ";", "if", "(", "DT", "->", "dominates", "(", "Term", "->", "getSuccessor", "(", "1", ")", ",", "BB", ")", ")", "Changed", "|=", "handleLoop", "(", "Term", ")", ";", "continue", ";", "}", "if", "(", "isTopOfStack", "(", "BB", ")", ")", "{", "PHINode", "*", "Phi", "=", "dyn_cast", "<", "PHINode", ">", "(", "Term", "->", "getCondition", "(", ")", ")", ";", "if", "(", "Phi", "&&", "Phi", "->", "getParent", "(", ")", "==", "BB", "&&", "isElse", "(", "Phi", ")", "&&", "!", "hasKill", "(", "BB", ")", ")", "{", "Changed", "|=", "insertElse", "(", "Term", ")", ";", "Changed", "|=", "eraseIfUnused", "(", "Phi", ")", ";", "continue", ";", "}", "Changed", "|=", "closeControlFlow", "(", "BB", ")", ";", "}", "Changed", "|=", "openIf", "(", "Term", ")", ";", "}", "if", "(", "!", "Stack", ".", "empty", "(", ")", ")", "{", "report_fatal_error", "(", "\"failed to annotate CFG\"", ")", ";", "}", "return", "Changed", ";", "}", ""], "natrual_language": ["runOnFunction", "-", "Virtual", "method", "overriden", "by", "subclasses", "to", "do", "the", "per-function", "processing", "of", "the", "pass", "."], "TS_V_token": ["AMDGPU", "SI", "1", "1", "\"failed to annotate CFG\""], "File": "SIAnnotateControlFlow19", "Func": "runOnFunction", "Target": "AMDGPU", "Target_Clf": "GPU", "Compiler_Type": "LLVM", "Idx": 1093, "Length": 345, "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": 1094, "Length": 120, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "static", "rtx", "EM2", "(", "int", "line", "ATTRIBUTE_UNUSED", ",", "rtx", "r", ")", "{", "fprintf", "(", "stderr", ",", "\"\\033[36m%d: \"", ",", "line", ")", ";", "debug_rtx", "(", "r", ")", ";", "fprintf", "(", "stderr", ",", "\"\\033[0m\"", ")", ";", "if", "(", "virt_insn_was_frame", ")", "RTX_FRAME_RELATED_P", "(", "r", ")", "=", "1", ";", "return", "r", ";", "}", ""], "natrual_language": ["Hook", "for", "all", "insns", "we", "emit", ".", "Re-mark", "them", "as", "FRAME_RELATED", "if", "needed", "."], "TS_V_token": ["rl78", "\"\\033[36m%d: \"", "\"\\033[0m\"", "1"], "File": "rl78", "Func": "EM2", "Target": "rl78", "Target_Clf": "MPU", "Compiler_Type": "GCC", "Idx": 1095, "Length": 48, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "bool", "WebAssemblyTargetLowering", "::", "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": ["WebAssembly", "WebAssembly"], "File": "WebAssemblyISelLowering13", "Func": "isOffsetFoldingLegal", "Target": "WebAssembly", "Target_Clf": "Virtual ISA", "Compiler_Type": "LLVM", "Idx": 1096, "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", ",", "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": 1097, "Length": 246, "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": 1098, "Length": 217, "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": 1099, "Length": 44, "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": 1100, "Length": 341, "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": 1101, "Length": 39, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "static", "int", "arc_sched_issue_rate", "(", "void", ")", "{", "switch", "(", "arc_tune", ")", "{", "case", "ARC_TUNE_ARCHS4X", ":", "case", "ARC_TUNE_ARCHS4XD", ":", "return", "3", ";", "default", ":", "break", ";", "}", "return", "1", ";", "}", ""], "natrual_language": ["Implements", "target", "hook", "TARGET_SCHED_ISSUE_RATE", "."], "TS_V_token": ["arc", "3", "1"], "File": "arc1", "Func": "arc_sched_issue_rate", "Target": "arc", "Target_Clf": "MPU", "Compiler_Type": "GCC", "Idx": 1102, "Length": 30, "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": 1103, "Length": 172, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "AArch64ELFStreamer", "&", "AArch64TargetELFStreamer", "::", "getStreamer", "(", ")", "{", "return", "static_cast", "<", "AArch64ELFStreamer", "&", ">", "(", "Streamer", ")", ";", "}", ""], "natrual_language": ["Return", "the", "output", "streamer", "for", "the", "assembler", "."], "TS_V_token": ["AArch64", "AArch64", "AArch64", "AArch64"], "File": "AArch64ELFStreamer (2)", "Func": "getStreamer", "Target": "AArch64", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 1104, "Length": 19, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "static", "bool", "s390_safe_relative_long_p", "(", "rtx_insn", "*", "insn", ")", "{", "if", "(", "recog_memoized", "(", "insn", ")", ">=", "0", ")", "return", "get_attr_relative_long", "(", "insn", ")", "==", "RELATIVE_LONG_YES", ";", "else", "return", "false", ";", "}", ""], "natrual_language": ["Return", "attribute", "relative_long", "of", "insn", "."], "TS_V_token": ["s390", "0"], "File": "s390", "Func": "s390_safe_relative_long_p", "Target": "s390", "Target_Clf": "MPU", "Compiler_Type": "GCC", "Idx": 1105, "Length": 31, "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": 1106, "Length": 171, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "static", "void", "avr_option_override", "(", "void", ")", "{", "flag_delete_null_pointer_checks", "=", "0", ";", "if", "(", "avr_strict_X", ")", "flag_caller_saves", "=", "0", ";", "maybe_set_param_value", "(", "PARAM_ALLOW_STORE_DATA_RACES", ",", "1", ",", "global_options", ".", "x_param_values", ",", "global_options_set", ".", "x_param_values", ")", ";", "if", "(", "(", "flag_unwind_tables", "||", "flag_non_call_exceptions", "||", "flag_asynchronous_unwind_tables", ")", "&&", "!", "ACCUMULATE_OUTGOING_ARGS", ")", "{", "flag_omit_frame_pointer", "=", "0", ";", "}", "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", "(", "!", "avr_set_core_architecture", "(", ")", ")", "return", ";", "avr_addr", ".", "sreg", "=", "0x3F", "+", "avr_arch", "->", "sfr_offset", ";", "avr_addr", ".", "rampz", "=", "0x3B", "+", "avr_arch", "->", "sfr_offset", ";", "avr_addr", ".", "rampy", "=", "0x3A", "+", "avr_arch", "->", "sfr_offset", ";", "avr_addr", ".", "rampx", "=", "0x39", "+", "avr_arch", "->", "sfr_offset", ";", "avr_addr", ".", "rampd", "=", "0x38", "+", "avr_arch", "->", "sfr_offset", ";", "avr_addr", ".", "ccp", "=", "(", "AVR_TINY", "?", "0x3C", ":", "0x34", ")", "+", "avr_arch", "->", "sfr_offset", ";", "avr_addr", ".", "sp_l", "=", "0x3D", "+", "avr_arch", "->", "sfr_offset", ";", "avr_addr", ".", "sp_h", "=", "avr_addr", ".", "sp_l", "+", "1", ";", "init_machine_status", "=", "avr_init_machine_status", ";", "avr_log_set_avr_log", "(", ")", ";", "}", ""], "natrual_language": ["Implement", "`", "TARGET_OPTION_OVERRIDE", "'", "."], "TS_V_token": ["avr", "0", "0", "1", "0", "1", "\"-fpic is not supported\"", "2", "\"-fPIC is not supported\"", "1", "\"-fpie is not supported\"", "2", "\"-fPIE is not supported\"", "0x3F", "0x3B", "0x3A", "0x39", "0x38", "0x3C", "0x34", "0x3D", "1"], "File": "avr6", "Func": "avr_option_override", "Target": "avr", "Target_Clf": "MPU", "Compiler_Type": "GCC", "Idx": 1107, "Length": 209, "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": 1108, "Length": 30, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "bool", "ARMBaseRegisterInfo", "::", "isAsmClobberable", "(", "const", "MachineFunction", "&", "MF", ",", "unsigned", "PhysReg", ")", "const", "{", "return", "!", "getReservedRegs", "(", "MF", ")", ".", "test", "(", "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": ["ARM", "ARM"], "File": "ARMBaseRegisterInfo17", "Func": "isAsmClobberable", "Target": "ARM", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 1109, "Length": 28, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "bool", "GBZ80FrameLowering", "::", "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": ["GBZ80", "GB"], "File": "GBZ80FrameLowering", "Func": "hasFP", "Target": "GBZ80", "Target_Clf": "MPU", "Compiler_Type": "LLVM", "Idx": 1110, "Length": 16, "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": 1111, "Length": 308, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "const", "char", "*", "XCoreTargetLowering", "::", "getTargetNodeName", "(", "unsigned", "Opcode", ")", "const", "{", "switch", "(", "Opcode", ")", "{", "case", "XCoreISD", "::", "BL", ":", "return", "\"XCoreISD::BL\"", ";", "case", "XCoreISD", "::", "PCRelativeWrapper", ":", "return", "\"XCoreISD::PCRelativeWrapper\"", ";", "case", "XCoreISD", "::", "DPRelativeWrapper", ":", "return", "\"XCoreISD::DPRelativeWrapper\"", ";", "case", "XCoreISD", "::", "CPRelativeWrapper", ":", "return", "\"XCoreISD::CPRelativeWrapper\"", ";", "case", "XCoreISD", "::", "STWSP", ":", "return", "\"XCoreISD::STWSP\"", ";", "case", "XCoreISD", "::", "RETSP", ":", "return", "\"XCoreISD::RETSP\"", ";", "case", "XCoreISD", "::", "LADD", ":", "return", "\"XCoreISD::LADD\"", ";", "case", "XCoreISD", "::", "LSUB", ":", "return", "\"XCoreISD::LSUB\"", ";", "case", "XCoreISD", "::", "LMUL", ":", "return", "\"XCoreISD::LMUL\"", ";", "case", "XCoreISD", "::", "MACCU", ":", "return", "\"XCoreISD::MACCU\"", ";", "case", "XCoreISD", "::", "MACCS", ":", "return", "\"XCoreISD::MACCS\"", ";", "case", "XCoreISD", "::", "CRC8", ":", "return", "\"XCoreISD::CRC8\"", ";", "case", "XCoreISD", "::", "BR_JT", ":", "return", "\"XCoreISD::BR_JT\"", ";", "case", "XCoreISD", "::", "BR_JT32", ":", "return", "\"XCoreISD::BR_JT32\"", ";", "default", ":", "return", "NULL", ";", "}", "}", ""], "natrual_language": ["getTargetNodeName", "-", "This", "method", "returns", "the", "name", "of", "a", "target", "specific"], "TS_V_token": ["XCore", "XCore", "XCoreISD::BL", "\"XCoreISD::BL\"", "XCoreISD::PCRelativeWrapper", "\"XCoreISD::PCRelativeWrapper\"", "XCoreISD::DPRelativeWrapper", "\"XCoreISD::DPRelativeWrapper\"", "XCoreISD::CPRelativeWrapper", "\"XCoreISD::CPRelativeWrapper\"", "XCoreISD::STWSP", "\"XCoreISD::STWSP\"", "XCoreISD::RETSP", "\"XCoreISD::RETSP\"", "XCoreISD::LADD", "\"XCoreISD::LADD\"", "XCoreISD::LSUB", "\"XCoreISD::LSUB\"", "XCoreISD::LMUL", "\"XCoreISD::LMUL\"", "XCoreISD::MACCU", "\"XCoreISD::MACCU\"", "XCoreISD::MACCS", "\"XCoreISD::MACCS\"", "XCoreISD::CRC8", "\"XCoreISD::CRC8\"", "XCoreISD::BR_JT", "\"XCoreISD::BR_JT\"", "XCoreISD::BR_JT32", "\"XCoreISD::BR_JT32\""], "File": "XCoreISelLowering (2)", "Func": "getTargetNodeName", "Target": "XCore", "Target_Clf": "MPU", "Compiler_Type": "LLVM", "Idx": 1112, "Length": 136, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "inline", "bool", "sgpr_1reg_mode_p", "(", "machine_mode", "mode", ")", "{", "return", "(", "mode", "==", "SImode", "||", "mode", "==", "SFmode", "||", "mode", "==", "HImode", "||", "mode", "==", "QImode", "||", "mode", "==", "BImode", ")", ";", "}", ""], "natrual_language": ["Return", "true", "if", "MODE", "is", "valid", "for", "1", "SGPR", "register", "."], "TS_V_token": ["gcn"], "File": "gcn-protos", "Func": "sgpr_1reg_mode_p", "Target": "gcn", "Target_Clf": "GPU", "Compiler_Type": "GCC", "Idx": 1113, "Length": 32, "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": 1114, "Length": 353, "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": 1115, "Length": 291, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "bool", "isInlineConstant", "(", "const", "MachineOperand", "&", "MO", ")", "const", "{", "const", "MachineInstr", "*", "Parent", "=", "MO", ".", "getParent", "(", ")", ";", "return", "isInlineConstant", "(", "*", "Parent", ",", "Parent", "->", "getOperandNo", "(", "&", "MO", ")", ")", ";", "}", ""], "natrual_language": ["returns", "true", "if", "the", "operand", "OpIdx", "in", "MI", "is", "a", "valid", "inline", "immediate", "."], "TS_V_token": ["AMDGPU"], "File": "SIInstrInfo", "Func": "isInlineConstant", "Target": "AMDGPU", "Target_Clf": "GPU", "Compiler_Type": "LLVM", "Idx": 1116, "Length": 37, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "bool", "MipsTargetLowering", "::", "IsGlobalInSmallSection", "(", "GlobalValue", "*", "GV", ")", "{", "const", "TargetData", "*", "TD", "=", "getTargetData", "(", ")", ";", "const", "GlobalVariable", "*", "GVA", "=", "dyn_cast", "<", "GlobalVariable", ">", "(", "GV", ")", ";", "if", "(", "!", "GVA", ")", "return", "false", ";", "const", "Type", "*", "Ty", "=", "GV", "->", "getType", "(", ")", "->", "getElementType", "(", ")", ";", "unsigned", "Size", "=", "TD", "->", "getTypeAllocSize", "(", "Ty", ")", ";", "if", "(", "GVA", "->", "hasInitializer", "(", ")", "&&", "GV", "->", "hasLocalLinkage", "(", ")", ")", "{", "Constant", "*", "C", "=", "GVA", "->", "getInitializer", "(", ")", ";", "const", "ConstantArray", "*", "CVA", "=", "dyn_cast", "<", "ConstantArray", ">", "(", "C", ")", ";", "if", "(", "CVA", "&&", "CVA", "->", "isCString", "(", ")", ")", "return", "false", ";", "}", "return", "IsInSmallSection", "(", "Size", ")", ";", "}", ""], "natrual_language": ["Return", "true", "if", "this", "global", "address", "should", "be", "placed", "into", "small", "data/bss", "section", "."], "TS_V_token": ["Mips", "Mips"], "File": "MipsISelLowering35", "Func": "IsGlobalInSmallSection", "Target": "Mips", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 1117, "Length": 124, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "int", "h8300_hard_regno_nregs", "(", "int", "regno", "ATTRIBUTE_UNUSED", ",", "machine_mode", "mode", ")", "{", "return", "(", "GET_MODE_SIZE", "(", "mode", ")", "+", "UNITS_PER_WORD", "-", "1", ")", "/", "UNITS_PER_WORD", ";", "}", ""], "natrual_language": ["Worker", "function", "for", "HARD_REGNO_NREGS", ".", "We", "pretend", "the", "MAC", "register", "is", "32bits", "--", "we", "do", "n't", "have", "any", "data", "types", "on", "the", "H8", "series", "to", "handle", "more", "than", "32bits", "."], "TS_V_token": ["h8300", "1"], "File": "h83004", "Func": "h8300_hard_regno_nregs", "Target": "h8300", "Target_Clf": "MPU", "Compiler_Type": "GCC", "Idx": 1118, "Length": 26, "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": 1119, "Length": 431, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "bool", "AMDGPUReplaceLDSUseWithPointer", "::", "runOnModule", "(", "Module", "&", "M", ")", "{", "ReplaceLDSUseImpl", "LDSUseReplacer", "{", "M", "}", ";", "return", "LDSUseReplacer", ".", "replaceLDSUse", "(", ")", ";", "}", ""], "natrual_language": ["runOnModule", "-", "Virtual", "method", "overriden", "by", "subclasses", "to", "process", "the", "module", "being", "operated", "on", "."], "TS_V_token": ["AMDGPU", "AMDGPU"], "File": "AMDGPUReplaceLDSUseWithPointer", "Func": "runOnModule", "Target": "AMDGPU", "Target_Clf": "GPU", "Compiler_Type": "LLVM", "Idx": 1120, "Length": 24, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "Register", "TeakRegisterInfo", "::", "getFrameRegister", "(", "const", "MachineFunction", "&", "MF", ")", "const", "{", "return", "Teak", "::", "R7", ";", "}", ""], "natrual_language": ["Debug", "information", "queries", "."], "TS_V_token": ["Teak", "Teak", "Teak::R7"], "File": "TeakRegisterInfo", "Func": "getFrameRegister", "Target": "Teak", "Target_Clf": "DSP", "Compiler_Type": "LLVM", "Idx": 1121, "Length": 18, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "int", "m32c_prepare_move", "(", "rtx", "*", "operands", ",", "enum", "machine_mode", "mode", ")", "{", "if", "(", "TARGET_A16", "&&", "mode", "==", "PSImode", ")", "return", "m32c_split_move", "(", "operands", ",", "mode", ",", "1", ")", ";", "if", "(", "(", "GET_CODE", "(", "operands", "[", "0", "]", ")", "==", "MEM", ")", "&&", "(", "GET_CODE", "(", "XEXP", "(", "operands", "[", "0", "]", ",", "0", ")", ")", "==", "PRE_MODIFY", ")", ")", "{", "rtx", "pmv", "=", "XEXP", "(", "operands", "[", "0", "]", ",", "0", ")", ";", "rtx", "dest_reg", "=", "XEXP", "(", "pmv", ",", "0", ")", ";", "rtx", "dest_mod", "=", "XEXP", "(", "pmv", ",", "1", ")", ";", "emit_insn", "(", "gen_rtx_SET", "(", "Pmode", ",", "dest_reg", ",", "dest_mod", ")", ")", ";", "operands", "[", "0", "]", "=", "gen_rtx_MEM", "(", "mode", ",", "dest_reg", ")", ";", "}", "if", "(", "!", "no_new_pseudos", "&&", "MEM_P", "(", "operands", "[", "0", "]", ")", "&&", "MEM_P", "(", "operands", "[", "1", "]", ")", ")", "operands", "[", "1", "]", "=", "copy_to_mode_reg", "(", "mode", ",", "operands", "[", "1", "]", ")", ";", "return", "0", ";", "}", ""], "natrual_language": ["Used", "to", "emit", "move", "instructions", ".", "We", "split", "some", "moves", ",", "and", "avoid", "mem-mem", "moves", "."], "TS_V_token": ["m32c", "1", "0", "0", "0", "0", "0", "0", "1", "0", "0", "1", "1", "1", "0"], "File": "m32c2", "Func": "m32c_prepare_move", "Target": "m32c", "Target_Clf": "MPU", "Compiler_Type": "GCC", "Idx": 1122, "Length": 160, "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": 1123, "Length": 71, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "static", "rtx", "cris_function_value", "(", "const_tree", "type", ",", "const_tree", "func", "ATTRIBUTE_UNUSED", ",", "bool", "outgoing", "ATTRIBUTE_UNUSED", ")", "{", "return", "gen_rtx_REG", "(", "TYPE_MODE", "(", "type", ")", ",", "CRIS_FIRST_ARG_REG", ")", ";", "}", ""], "natrual_language": ["Let", "'s", "assume", "all", "functions", "return", "in", "r", "[", "CRIS_FIRST_ARG_REG", "]", "for", "the", "time", "being", "."], "TS_V_token": ["cris"], "File": "cris", "Func": "cris_function_value", "Target": "cris", "Target_Clf": "MPU", "Compiler_Type": "GCC", "Idx": 1124, "Length": 28, "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": 1125, "Length": 12, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "unsigned", "M68kSubtarget", "::", "getJumpTableEncoding", "(", ")", "const", "{", "if", "(", "isPositionIndependent", "(", ")", ")", "{", "if", "(", "TM", ".", "getCodeModel", "(", ")", "==", "CodeModel", "::", "Medium", "&&", "!", "atLeastM68020", "(", ")", ")", "return", "MachineJumpTableInfo", "::", "EK_Custom32", ";", "return", "MachineJumpTableInfo", "::", "EK_LabelDifference32", ";", "}", "return", "MachineJumpTableInfo", "::", "EK_BlockAddress", ";", "}", ""], "natrual_language": ["Return", "the", "entry", "encoding", "for", "a", "jump", "table", "in", "the", "current", "function", "."], "TS_V_token": ["M68k", "M68k"], "File": "M68kSubtarget", "Func": "getJumpTableEncoding", "Target": "M68k", "Target_Clf": "MPU", "Compiler_Type": "LLVM", "Idx": 1126, "Length": 49, "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": 1127, "Length": 364, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "bool", "VLIWResourceModel", "::", "isResourceAvailable", "(", "SUnit", "*", "SU", ",", "bool", "IsTop", ")", "{", "if", "(", "!", "SU", "||", "!", "SU", "->", "getInstr", "(", ")", ")", "return", "false", ";", "switch", "(", "SU", "->", "getInstr", "(", ")", "->", "getOpcode", "(", ")", ")", "{", "default", ":", "if", "(", "!", "ResourcesModel", "->", "canReserveResources", "(", "*", "SU", "->", "getInstr", "(", ")", ")", ")", "return", "false", ";", "break", ";", "case", "TargetOpcode", "::", "EXTRACT_SUBREG", ":", "case", "TargetOpcode", "::", "INSERT_SUBREG", ":", "case", "TargetOpcode", "::", "SUBREG_TO_REG", ":", "case", "TargetOpcode", "::", "REG_SEQUENCE", ":", "case", "TargetOpcode", "::", "IMPLICIT_DEF", ":", "case", "TargetOpcode", "::", "COPY", ":", "case", "TargetOpcode", "::", "INLINEASM", ":", "break", ";", "}", "MachineBasicBlock", "*", "MBB", "=", "SU", "->", "getInstr", "(", ")", "->", "getParent", "(", ")", ";", "auto", "&", "QST", "=", "MBB", "->", "getParent", "(", ")", "->", "getSubtarget", "<", "HexagonSubtarget", ">", "(", ")", ";", "const", "auto", "&", "QII", "=", "*", "QST", ".", "getInstrInfo", "(", ")", ";", "if", "(", "IsTop", ")", "{", "for", "(", "unsigned", "i", "=", "0", ",", "e", "=", "Packet", ".", "size", "(", ")", ";", "i", "!=", "e", ";", "++", "i", ")", "if", "(", "hasDependence", "(", "Packet", "[", "i", "]", ",", "SU", ",", "QII", ")", ")", "return", "false", ";", "}", "else", "{", "for", "(", "unsigned", "i", "=", "0", ",", "e", "=", "Packet", ".", "size", "(", ")", ";", "i", "!=", "e", ";", "++", "i", ")", "if", "(", "hasDependence", "(", "SU", ",", "Packet", "[", "i", "]", ",", "QII", ")", ")", "return", "false", ";", "}", "return", "true", ";", "}", ""], "natrual_language": ["Check", "if", "scheduling", "of", "this", "SU", "is", "possible", "in", "the", "current", "packet", "."], "TS_V_token": ["Hexagon", "Hexagon", "0", "0"], "File": "HexagonMachineScheduler16", "Func": "isResourceAvailable", "Target": "Hexagon", "Target_Clf": "DSP", "Compiler_Type": "LLVM", "Idx": 1128, "Length": 235, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "static", "bool", "equal", "(", "tree", "a", ",", "tree", "b", ")", "{", "return", "a", "==", "b", ";", "}", ""], "natrual_language": ["Compare", "H1", "and", "H2", "for", "equivalence", "."], "TS_V_token": ["nvptx"], "File": "nvptx", "Func": "equal", "Target": "nvptx", "Target_Clf": "GPU", "Compiler_Type": "GCC", "Idx": 1129, "Length": 17, "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": 1130, "Length": 372, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "static", "sbitmap", "riscv_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", "(", "FIRST_PSEUDO_REGISTER", ")", ";", "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", "int", "regno", "=", "GP_REG_FIRST", ";", "regno", "<=", "GP_REG_LAST", ";", "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", ")", ";", "for", "(", "unsigned", "int", "regno", "=", "FP_REG_FIRST", ";", "regno", "<=", "FP_REG_LAST", ";", "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", ")", ";", "return", "components", ";", "}", ""], "natrual_language": ["Implement", "TARGET_SHRINK_WRAP_COMPONENTS_FOR_BB", "."], "TS_V_token": ["riscv"], "File": "riscv1", "Func": "riscv_components_for_bb", "Target": "riscv", "Target_Clf": "CPU", "Compiler_Type": "GCC", "Idx": 1131, "Length": 238, "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": 1132, "Length": 26, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "static", "HOST_WIDE_INT", "epiphany_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": ["epiphany"], "File": "epiphany", "Func": "epiphany_constant_alignment", "Target": "epiphany", "Target_Clf": "MPU", "Compiler_Type": "GCC", "Idx": 1133, "Length": 32, "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": 1134, "Length": 89, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "rtx", "nios2_split_large_constant", "(", "rtx", "x", ",", "rtx", "temp", ")", "{", "if", "(", "CONST_INT_P", "(", "x", ")", ")", "{", "HOST_WIDE_INT", "val", "=", "INTVAL", "(", "x", ")", ";", "if", "(", "SMALL_INT", "(", "val", ")", ")", "return", "x", ";", "else", "if", "(", "SMALL_INT_UNSIGNED", "(", "val", ")", "||", "UPPER16_INT", "(", "val", ")", ")", "{", "emit_move_insn", "(", "temp", ",", "x", ")", ";", "return", "temp", ";", "}", "else", "{", "HOST_WIDE_INT", "high", "=", "(", "val", "+", "0x8000", ")", "&", "~", "0xffff", ";", "HOST_WIDE_INT", "low", "=", "val", "-", "high", ";", "emit_move_insn", "(", "temp", ",", "gen_int_mode", "(", "high", ",", "Pmode", ")", ")", ";", "return", "gen_rtx_PLUS", "(", "Pmode", ",", "temp", ",", "gen_int_mode", "(", "low", ",", "Pmode", ")", ")", ";", "}", "}", "emit_insn", "(", "gen_rtx_SET", "(", "temp", ",", "gen_rtx_HIGH", "(", "Pmode", ",", "copy_rtx", "(", "x", ")", ")", ")", ")", ";", "return", "gen_rtx_LO_SUM", "(", "Pmode", ",", "temp", ",", "copy_rtx", "(", "x", ")", ")", ";", "}", ""], "natrual_language": ["Given", "an", "RTX", "X", "that", "satisfies", "nios2_large_constant_p", ",", "split", "it", "into", "high", "and", "lo_sum", "parts", "using", "TEMP", "as", "a", "scratch", "register", ".", "Emit", "the", "high", "instruction", "and", "return", "the", "lo_sum", "expression", ".", "Also", "handle", "special", "cases", "involving", "constant", "integers", "."], "TS_V_token": ["nios2", "0x8000", "0xffff"], "File": "nios2", "Func": "nios2_split_large_constant", "Target": "nios2", "Target_Clf": "MPU", "Compiler_Type": "GCC", "Idx": 1135, "Length": 143, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "static", "void", "s390_register_info_gprtofpr", "(", ")", "{", "int", "save_reg_slot", "=", "FPR0_REGNUM", ";", "int", "i", ",", "j", ";", "if", "(", "!", "TARGET_Z10", "||", "!", "TARGET_HARD_FLOAT", "||", "!", "crtl", "->", "is_leaf", ")", "return", ";", "if", "(", "crtl", "->", "calls_eh_return", ")", "return", ";", "for", "(", "i", "=", "15", ";", "i", ">=", "6", ";", "i", "--", ")", "{", "if", "(", "cfun_gpr_save_slot", "(", "i", ")", "==", "SAVE_SLOT_NONE", ")", "continue", ";", "while", "(", "(", "!", "call_really_used_regs", "[", "save_reg_slot", "]", "||", "df_regs_ever_live_p", "(", "save_reg_slot", ")", "||", "cfun_fpr_save_p", "(", "save_reg_slot", ")", ")", "&&", "FP_REGNO_P", "(", "save_reg_slot", ")", ")", "save_reg_slot", "++", ";", "if", "(", "!", "FP_REGNO_P", "(", "save_reg_slot", ")", ")", "{", "for", "(", "j", "=", "6", ";", "j", "<=", "15", ";", "j", "++", ")", "if", "(", "FP_REGNO_P", "(", "cfun_gpr_save_slot", "(", "j", ")", ")", ")", "cfun_gpr_save_slot", "(", "j", ")", "=", "SAVE_SLOT_STACK", ";", "break", ";", "}", "cfun_gpr_save_slot", "(", "i", ")", "=", "save_reg_slot", "++", ";", "}", "}", ""], "natrual_language": ["Update", "gpr_save_slots", "in", "the", "frame", "layout", "trying", "to", "make", "use", "of", "FPRs", "as", "GPR", "save", "slots", ".", "This", "is", "a", "helper", "routine", "of", "s390_register_info", "."], "TS_V_token": ["s390", "15", "6", "6", "15"], "File": "s3906", "Func": "s390_register_info_gprtofpr", "Target": "s390", "Target_Clf": "MPU", "Compiler_Type": "GCC", "Idx": 1136, "Length": 144, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "int", "frv_emit_scc", "(", "rtx", "operands", "[", "]", ")", "{", "rtx", "set", ";", "rtx", "test_rtx", ";", "rtx", "clobber", ";", "rtx", "cr_reg", ";", "enum", "rtx_code", "test", "=", "GET_CODE", "(", "operands", "[", "1", "]", ")", ";", "rtx", "cc_reg", "=", "frv_emit_comparison", "(", "test", ",", "operands", "[", "2", "]", ",", "operands", "[", "3", "]", ")", ";", "test_rtx", "=", "gen_rtx_fmt_ee", "(", "test", ",", "SImode", ",", "cc_reg", ",", "const0_rtx", ")", ";", "set", "=", "gen_rtx_SET", "(", "operands", "[", "0", "]", ",", "test_rtx", ")", ";", "cr_reg", "=", "(", "(", "TARGET_ALLOC_CC", ")", "?", "gen_reg_rtx", "(", "CC_CCRmode", ")", ":", "gen_rtx_REG", "(", "CC_CCRmode", ",", "(", "(", "GET_MODE", "(", "cc_reg", ")", "==", "CC_FPmode", ")", "?", "FCR_FIRST", ":", "ICR_FIRST", ")", ")", ")", ";", "clobber", "=", "gen_rtx_CLOBBER", "(", "VOIDmode", ",", "cr_reg", ")", ";", "emit_insn", "(", "gen_rtx_PARALLEL", "(", "VOIDmode", ",", "gen_rtvec", "(", "2", ",", "set", ",", "clobber", ")", ")", ")", ";", "return", "TRUE", ";", "}", ""], "natrual_language": ["Emit", "code", "to", "set", "a", "gpr", "to", "1/0", "based", "on", "a", "comparison", ".", "The", "comparison", "operands", "were", "previously", "stored", "in", "frv_compare_op0", "and", "frv_compare_op1", "."], "TS_V_token": ["frv", "1", "2", "3", "0", "2"], "File": "frv", "Func": "frv_emit_scc", "Target": "frv", "Target_Clf": "VLIW", "Compiler_Type": "GCC", "Idx": 1137, "Length": 139, "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": ["MINA32", "0", "0"], "File": "MINA32AsmParser", "Func": "addExpr", "Target": "MINA32", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 1138, "Length": 78, "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": 1139, "Length": 71, "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": 1140, "Length": 163, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "SUnit", "*", "SystemZPostRASchedStrategy", "::", "pickNode", "(", "bool", "&", "IsTopNode", ")", "{", "IsTopNode", "=", "true", ";", "if", "(", "Available", ".", "empty", "(", ")", ")", "return", "nullptr", ";", "if", "(", "Available", ".", "size", "(", ")", "==", "1", ")", "{", "LLVM_DEBUG", "(", "dbgs", "(", ")", "<<", "\"** Only one: \"", ";", "HazardRec", "->", "dumpSU", "(", "*", "Available", ".", "begin", "(", ")", ",", "dbgs", "(", ")", ")", ";", "dbgs", "(", ")", "<<", "\"\\n\"", ";", ")", ";", "return", "*", "Available", ".", "begin", "(", ")", ";", "}", "LLVM_DEBUG", "(", "dbgs", "(", ")", "<<", "\"** Available: \"", ";", "Available", ".", "dump", "(", "*", "HazardRec", ")", ";", ")", ";", "Candidate", "Best", ";", "for", "(", "auto", "*", "SU", ":", "Available", ")", "{", "Candidate", "c", "(", "SU", ",", "*", "HazardRec", ")", ";", "if", "(", "Best", ".", "SU", "==", "nullptr", "||", "c", "<", "Best", ")", "{", "Best", "=", "c", ";", "LLVM_DEBUG", "(", "dbgs", "(", ")", "<<", "\"** Best so far: \"", ";", ")", ";", "}", "else", "LLVM_DEBUG", "(", "dbgs", "(", ")", "<<", "\"** Tried : \"", ";", ")", ";", "LLVM_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": "SystemZMachineScheduler", "Func": "pickNode", "Target": "SystemZ", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 1141, "Length": 230, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "static", "void", "ea_load_store", "(", "rtx", "mem", ",", "bool", "is_store", ",", "rtx", "ea_addr", ",", "rtx", "data_addr", ")", "{", "if", "(", "is_store", ")", "{", "rtx", "ndirty", "=", "GEN_INT", "(", "GET_MODE_SIZE", "(", "GET_MODE", "(", "mem", ")", ")", ")", ";", "if", "(", "!", "cache_fetch_dirty", ")", "cache_fetch_dirty", "=", "init_one_libfunc", "(", "\"__cache_fetch_dirty\"", ")", ";", "emit_library_call_value", "(", "cache_fetch_dirty", ",", "data_addr", ",", "LCT_NORMAL", ",", "Pmode", ",", "ea_addr", ",", "EAmode", ",", "ndirty", ",", "SImode", ")", ";", "}", "else", "{", "if", "(", "!", "cache_fetch", ")", "cache_fetch", "=", "init_one_libfunc", "(", "\"__cache_fetch\"", ")", ";", "emit_library_call_value", "(", "cache_fetch", ",", "data_addr", ",", "LCT_NORMAL", ",", "Pmode", ",", "ea_addr", ",", "EAmode", ")", ";", "}", "}", ""], "natrual_language": ["MEM", "is", "known", "to", "be", "an", "__ea", "qualified", "memory", "access", ".", "Emit", "a", "call", "to", "fetch", "the", "ppu", "memory", "to", "local", "store", ",", "and", "return", "its", "address", "in", "local", "store", "."], "TS_V_token": ["spu", "\"__cache_fetch_dirty\"", "\"__cache_fetch\""], "File": "spu3", "Func": "ea_load_store", "Target": "spu", "Target_Clf": "MPU", "Compiler_Type": "GCC", "Idx": 1142, "Length": 99, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "static", "section", "*", "spu_select_section", "(", "tree", "decl", ",", "int", "reloc", ",", "unsigned", "HOST_WIDE_INT", "align", ")", "{", "if", "(", "TREE_TYPE", "(", "decl", ")", "!=", "error_mark_node", "&&", "TYPE_ADDR_SPACE", "(", "TREE_TYPE", "(", "decl", ")", ")", "==", "ADDR_SPACE_EA", ")", "{", "if", "(", "!", "DECL_P", "(", "decl", ")", ")", "return", "get_section", "(", "\"._ea\"", ",", "SECTION_WRITE", "|", "SECTION_DEBUG", ",", "NULL", ")", ";", "return", "get_named_section", "(", "decl", ",", "\"._ea\"", ",", "reloc", ")", ";", "}", "return", "default_elf_select_section", "(", "decl", ",", "reloc", ",", "align", ")", ";", "}", ""], "natrual_language": ["Implement", "targetm.select_section", "."], "TS_V_token": ["spu", "\"._ea\"", "\"._ea\""], "File": "spu", "Func": "spu_select_section", "Target": "spu", "Target_Clf": "MPU", "Compiler_Type": "GCC", "Idx": 1143, "Length": 78, "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": 1144, "Length": 11, "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": 1145, "Length": 429, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "void", "NVPTXAsmPrinter", "::", "emitHeader", "(", "Module", "&", "M", ",", "raw_ostream", "&", "O", ",", "const", "NVPTXSubtarget", "&", "STI", ")", "{", "O", "<<", "\"//\\n\"", ";", "O", "<<", "\"// Generated by LLVM NVPTX Back-End\\n\"", ";", "O", "<<", "\"//\\n\"", ";", "O", "<<", "\"\\n\"", ";", "unsigned", "PTXVersion", "=", "STI", ".", "getPTXVersion", "(", ")", ";", "O", "<<", "\".version \"", "<<", "(", "PTXVersion", "/", "10", ")", "<<", "\".\"", "<<", "(", "PTXVersion", "%", "10", ")", "<<", "\"\\n\"", ";", "O", "<<", "\".target \"", ";", "O", "<<", "STI", ".", "getTargetName", "(", ")", ";", "const", "NVPTXTargetMachine", "&", "NTM", "=", "static_cast", "<", "const", "NVPTXTargetMachine", "&", ">", "(", "TM", ")", ";", "if", "(", "NTM", ".", "getDrvInterface", "(", ")", "==", "NVPTX", "::", "NVCL", ")", "O", "<<", "\", texmode_independent\"", ";", "if", "(", "MAI", "->", "doesSupportDebugInformation", "(", ")", ")", "O", "<<", "\", debug\"", ";", "O", "<<", "\"\\n\"", ";", "O", "<<", "\".address_size \"", ";", "if", "(", "NTM", ".", "is64Bit", "(", ")", ")", "O", "<<", "\"64\"", ";", "else", "O", "<<", "\"32\"", ";", "O", "<<", "\"\\n\"", ";", "O", "<<", "\"\\n\"", ";", "}", ""], "natrual_language": ["Emit", "the", "header", "for", "this", "unit", ",", "not", "including", "the", "initial", "length", "field", "."], "TS_V_token": ["NVPTX", "NVPTX", "NVPTX", "\"//\\n\"", "\"// Generated by LLVM NVPTX Back-End\\n\"", "\"//\\n\"", "\"\\n\"", "\".version \"", "10", "\".\"", "10", "\"\\n\"", "\".target \"", "NVPTX", "NVPTX", "NVPTX::NVCL", "\", texmode_independent\"", "\", debug\"", "\"\\n\"", "\".address_size \"", "\"64\"", "\"32\"", "\"\\n\"", "\"\\n\""], "File": "NVPTXAsmPrinter32", "Func": "emitHeader", "Target": "NVPTX", "Target_Clf": "GPU", "Compiler_Type": "LLVM", "Idx": 1146, "Length": 153, "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", "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": ["s390", "1", "1", "0", "1", "0", "1", "1", "0"], "File": "s390", "Func": "symbolic_reference_mentioned_p", "Target": "s390", "Target_Clf": "MPU", "Compiler_Type": "GCC", "Idx": 1147, "Length": 145, "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": 1148, "Length": 16, "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": 1149, "Length": 50, "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": 1150, "Length": 191, "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": 1151, "Length": 229, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "void", "SPScope", "::", "dump", "(", "raw_ostream", "&", "os", ",", "unsigned", "indent", ",", "bool", "recursive", ")", "const", "{", "os", ".", "indent", "(", "indent", ")", "<<", "\"Scope[\"", "<<", "this", "<<", "\"]:\\n\"", ";", "auto", "blocks", "=", "getFcfgBlocks", "(", ")", ";", "for", "(", "auto", "block", ":", "blocks", ")", "{", "if", "(", "isSubheader", "(", "block", ")", ")", "{", "block", "->", "printID", "(", "os", ".", "indent", "(", "indent", "+", "2", ")", ")", "<<", "\"\\n\"", ";", "}", "else", "{", "block", "->", "dump", "(", "os", ",", "indent", "+", "2", ")", ";", "}", "}", "if", "(", "recursive", ")", "{", "os", "<<", "\"\\n\"", ";", "for", "(", "auto", "subscope", ":", "Priv", "->", "Subscopes", ")", "{", "subscope", "->", "dump", "(", "os", ",", "indent", "+", "2", ",", "true", ")", ";", "}", "}", "}", ""], "natrual_language": ["Dump", "the", "plan", "to", "stderr", "(", "for", "debugging", ")", "."], "TS_V_token": ["Patmos", "\"Scope[\"", "\"]:\\n\"", "2", "\"\\n\"", "2", "\"\\n\"", "2"], "File": "SPScope", "Func": "dump", "Target": "Patmos", "Target_Clf": "VLIW", "Compiler_Type": "LLVM", "Idx": 1152, "Length": 120, "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": 1153, "Length": 359, "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": 1154, "Length": 25, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "void", "Z80InstrInfo", "::", "loadRegFromStackSlot", "(", "MachineBasicBlock", "&", "MBB", ",", "MachineBasicBlock", "::", "iterator", "MI", ",", "unsigned", "DestReg", ",", "int", "FrameIndex", ",", "const", "TargetRegisterClass", "*", "RC", ",", "const", "TargetRegisterInfo", "*", "TRI", ")", "const", "{", "DebugLoc", "dl", ";", "if", "(", "MI", "!=", "MBB", ".", "end", "(", ")", ")", "dl", "=", "MI", "->", "getDebugLoc", "(", ")", ";", "if", "(", "RC", "==", "&", "Z80", "::", "GR8RegClass", ")", "BuildMI", "(", "MBB", ",", "MI", ",", "dl", ",", "get", "(", "Z80", "::", "LD8rxm", ")", ",", "DestReg", ")", ".", "addFrameIndex", "(", "FrameIndex", ")", ".", "addImm", "(", "0", ")", ";", "else", "if", "(", "RC", "==", "&", "Z80", "::", "BR16RegClass", "||", "Z80", "::", "BR16RegClass", ".", "contains", "(", "DestReg", ")", ")", "{", "BuildMI", "(", "MBB", ",", "MI", ",", "dl", ",", "get", "(", "Z80", "::", "LD16rxm", ")", ",", "DestReg", ")", ".", "addFrameIndex", "(", "FrameIndex", ")", ".", "addImm", "(", "0", ")", ";", "}", "else", "llvm_unreachable", "(", "\"Can't load this register from stack slot\"", ")", ";", "}", ""], "natrual_language": ["Load", "the", "specified", "register", "of", "the", "given", "register", "class", "from", "the", "specified", "stack", "frame", "index", "."], "TS_V_token": ["Z80", "Z80", "Z80::GR8RegClass", "Z80::LD8rxm", "0", "Z80::BR16RegClass", "Z80::BR16RegClass", "Z80::LD16rxm", "0", "\"Can't load this register from stack slot\""], "File": "Z80InstrInfo", "Func": "loadRegFromStackSlot", "Target": "Z80", "Target_Clf": "MPU", "Compiler_Type": "LLVM", "Idx": 1155, "Length": 146, "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": 1156, "Length": 326, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "void", "GCNPassConfig", "::", "addOptimizedRegAlloc", "(", ")", "{", "insertPass", "(", "&", "MachineSchedulerID", ",", "&", "SIWholeQuadModeID", ")", ";", "insertPass", "(", "&", "MachineSchedulerID", ",", "&", "SIPreAllocateWWMRegsID", ")", ";", "if", "(", "OptExecMaskPreRA", ")", "insertPass", "(", "&", "MachineSchedulerID", ",", "&", "SIOptimizeExecMaskingPreRAID", ")", ";", "if", "(", "TM", "->", "getOptLevel", "(", ")", ">", "CodeGenOpt", "::", "Less", ")", "insertPass", "(", "&", "MachineSchedulerID", ",", "&", "SIFormMemoryClausesID", ")", ";", "insertPass", "(", "&", "PHIEliminationID", ",", "&", "SILowerControlFlowID", ",", "false", ")", ";", "if", "(", "EnableDCEInRA", ")", "insertPass", "(", "&", "DetectDeadLanesID", ",", "&", "DeadMachineInstructionElimID", ")", ";", "TargetPassConfig", "::", "addOptimizedRegAlloc", "(", ")", ";", "}", ""], "natrual_language": ["addOptimizedRegAlloc", "-", "Add", "passes", "related", "to", "register", "allocation", "."], "TS_V_token": ["AMDGPU", "SI", "SI", "SI", "SI", "SI"], "File": "AMDGPUTargetMachine74", "Func": "addOptimizedRegAlloc", "Target": "AMDGPU", "Target_Clf": "GPU", "Compiler_Type": "LLVM", "Idx": 1157, "Length": 90, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "void", "AMDGPUCFGPerform", "::", "getAnalysisUsage", "(", "AnalysisUsage", "&", "AU", ")", "const", "{", "AU", ".", "addPreserved", "<", "MachineFunctionAnalysis", ">", "(", ")", ";", "AU", ".", "addRequired", "<", "MachineFunctionAnalysis", ">", "(", ")", ";", "AU", ".", "addRequired", "<", "MachineDominatorTree", ">", "(", ")", ";", "AU", ".", "addRequired", "<", "MachinePostDominatorTree", ">", "(", ")", ";", "AU", ".", "addRequired", "<", "MachineLoopInfo", ">", "(", ")", ";", "}", ""], "natrual_language": ["getAnalysisUsage", "-", "Subclasses", "that", "override", "getAnalysisUsage", "must", "call", "this", "."], "TS_V_token": ["R600"], "File": "AMDILCFGStructurizer16", "Func": "getAnalysisUsage", "Target": "R600", "Target_Clf": "GPU", "Compiler_Type": "LLVM", "Idx": 1158, "Length": 57, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "unsigned", "Z80RegisterInfo", "::", "getFrameRegister", "(", "const", "MachineFunction", "&", "MF", ")", "const", "{", "return", "getFrameLowering", "(", "MF", ")", "->", "hasFP", "(", "MF", ")", "?", "(", "Is24Bit", "?", "Z80", "::", "UIX", ":", "Z80", "::", "IX", ")", ":", "(", "Is24Bit", "?", "Z80", "::", "SPL", ":", "Z80", "::", "SPS", ")", ";", "}", ""], "natrual_language": ["Debug", "information", "queries", "."], "TS_V_token": ["Z80", "Z80", "Z80::UIX", "Z80::IX", "Z80::SPL", "Z80::SPS"], "File": "Z80RegisterInfo2", "Func": "getFrameRegister", "Target": "Z80", "Target_Clf": "MPU", "Compiler_Type": "LLVM", "Idx": 1159, "Length": 48, "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": 1160, "Length": 42, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "void", "WebAssemblyInstPrinter", "::", "printInst", "(", "const", "MCInst", "*", "MI", ",", "raw_ostream", "&", "OS", ",", "StringRef", "Annot", ",", "const", "MCSubtargetInfo", "&", ")", "{", "printInstruction", "(", "MI", ",", "OS", ")", ";", "const", "MCInstrDesc", "&", "Desc", "=", "MII", ".", "get", "(", "MI", "->", "getOpcode", "(", ")", ")", ";", "if", "(", "Desc", ".", "isVariadic", "(", ")", ")", "for", "(", "auto", "i", "=", "Desc", ".", "getNumOperands", "(", ")", ",", "e", "=", "MI", "->", "getNumOperands", "(", ")", ";", "i", "<", "e", ";", "++", "i", ")", "{", "if", "(", "i", "!=", "0", "&&", "(", "MI", "->", "getOpcode", "(", ")", "!=", "WebAssembly", "::", "CALL_INDIRECT_VOID", "||", "i", "!=", "Desc", ".", "getNumOperands", "(", ")", ")", ")", "OS", "<<", "\", \"", ";", "printOperand", "(", "MI", ",", "i", ",", "OS", ")", ";", "}", "printAnnotation", "(", "OS", ",", "Annot", ")", ";", "if", "(", "CommentStream", ")", "{", "switch", "(", "MI", "->", "getOpcode", "(", ")", ")", "{", "default", ":", "break", ";", "case", "WebAssembly", "::", "LOOP", ":", "{", "printAnnotation", "(", "OS", ",", "\"label\"", "+", "utostr", "(", "ControlFlowCounter", ")", "+", "':'", ")", ";", "ControlFlowStack", ".", "push_back", "(", "std", "::", "make_pair", "(", "ControlFlowCounter", "++", ",", "true", ")", ")", ";", "break", ";", "}", "case", "WebAssembly", "::", "BLOCK", ":", "ControlFlowStack", ".", "push_back", "(", "std", "::", "make_pair", "(", "ControlFlowCounter", "++", ",", "false", ")", ")", ";", "break", ";", "case", "WebAssembly", "::", "END_LOOP", ":", "ControlFlowStack", ".", "pop_back", "(", ")", ";", "break", ";", "case", "WebAssembly", "::", "END_BLOCK", ":", "printAnnotation", "(", "OS", ",", "\"label\"", "+", "utostr", "(", "ControlFlowStack", ".", "pop_back_val", "(", ")", ".", "first", ")", "+", "':'", ")", ";", "break", ";", "}", "unsigned", "NumFixedOperands", "=", "Desc", ".", "NumOperands", ";", "SmallSet", "<", "uint64_t", ",", "8", ">", "Printed", ";", "for", "(", "unsigned", "i", "=", "0", ",", "e", "=", "MI", "->", "getNumOperands", "(", ")", ";", "i", "<", "e", ";", "++", "i", ")", "{", "if", "(", "!", "(", "i", "<", "NumFixedOperands", "?", "(", "Desc", ".", "OpInfo", "[", "i", "]", ".", "OperandType", "==", "WebAssembly", "::", "OPERAND_BASIC_BLOCK", ")", ":", "(", "Desc", ".", "TSFlags", "&", "WebAssemblyII", "::", "VariableOpImmediateIsLabel", ")", ")", ")", "continue", ";", "uint64_t", "Depth", "=", "MI", "->", "getOperand", "(", "i", ")", ".", "getImm", "(", ")", ";", "if", "(", "!", "Printed", ".", "insert", "(", "Depth", ")", ".", "second", ")", "continue", ";", "const", "auto", "&", "Pair", "=", "ControlFlowStack", ".", "rbegin", "(", ")", "[", "Depth", "]", ";", "printAnnotation", "(", "OS", ",", "utostr", "(", "Depth", ")", "+", "\": \"", "+", "(", "Pair", ".", "second", "?", "\"up\"", ":", "\"down\"", ")", "+", "\" to label\"", "+", "utostr", "(", "Pair", ".", "first", ")", ")", ";", "}", "}", "}", ""], "natrual_language": ["Print", "the", "specified", "MCInst", "to", "the", "specified", "raw_ostream", "."], "TS_V_token": ["WebAssembly", "WebAssembly", "0", "WebAssembly::CALL_INDIRECT_VOID", "\", \"", "WebAssembly::LOOP", "\"label\"", "WebAssembly::BLOCK", "WebAssembly::END_LOOP", "WebAssembly::END_BLOCK", "\"label\"", "8", "0", "WebAssembly::OPERAND_BASIC_BLOCK", "WebAssemblyII::VariableOpImmediateIsLabel", "\": \"", "\"up\"", "\"down\"", "\" to label\""], "File": "WebAssemblyInstPrinter10", "Func": "printInst", "Target": "WebAssembly", "Target_Clf": "Virtual ISA", "Compiler_Type": "LLVM", "Idx": 1161, "Length": 396, "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": 1162, "Length": 79, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "unsigned", "ECLairMCCodeEmitter", "::", "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": ["ECLair", "ECLair", "\"Unhandled expression!\"", "0"], "File": "ECLairMCCodeEmitter", "Func": "getMachineOpValue", "Target": "ECLair", "Target_Clf": "MPU", "Compiler_Type": "LLVM", "Idx": 1163, "Length": 83, "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": 1164, "Length": 240, "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": 1165, "Length": 324, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "void", "XCoreAsmPrinter", "::", "EmitInstruction", "(", "const", "MachineInstr", "*", "MI", ")", "{", "SmallString", "<", "128", ">", "Str", ";", "raw_svector_ostream", "O", "(", "Str", ")", ";", "if", "(", "MI", "->", "getOpcode", "(", ")", "==", "XCore", "::", "ADD_2rus", "&&", "!", "MI", "->", "getOperand", "(", "2", ")", ".", "getImm", "(", ")", ")", "O", "<<", "\"\\tmov \"", "<<", "getRegisterName", "(", "MI", "->", "getOperand", "(", "0", ")", ".", "getReg", "(", ")", ")", "<<", "\", \"", "<<", "getRegisterName", "(", "MI", "->", "getOperand", "(", "1", ")", ".", "getReg", "(", ")", ")", ";", "else", "printInstruction", "(", "MI", ",", "O", ")", ";", "OutStreamer", ".", "EmitRawText", "(", "O", ".", "str", "(", ")", ")", ";", "}", ""], "natrual_language": ["EmitInstruction", "-", "This", "callback", "is", "invoked", "when", "an", "instruction", "is", "emitted", ",", "to", "advance", "the", "hazard", "state", "."], "TS_V_token": ["XCore", "XCore", "128", "XCore::ADD_2rus", "2", "\"\\tmov \"", "0", "\", \"", "1"], "File": "XCoreAsmPrinter13", "Func": "EmitInstruction", "Target": "XCore", "Target_Clf": "MPU", "Compiler_Type": "LLVM", "Idx": 1166, "Length": 101, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "static", "tree", "v850_handle_interrupt_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", "''", "attribute", ";", "arguments", "as", "in", "struct", "attribute_spec.handler", "."], "TS_V_token": ["v850", "\"%qE attribute only applies to functions\""], "File": "v8504", "Func": "v850_handle_interrupt_attribute", "Target": "v850", "Target_Clf": "MPU", "Compiler_Type": "GCC", "Idx": 1167, "Length": 54, "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": 1168, "Length": 23, "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": 1169, "Length": 146, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "bool", "runOnMachineFunction", "(", "MachineFunction", "&", "F", ")", "override", "{", "nvptxSubtarget", "=", "&", "F", ".", "getSubtarget", "<", "NVPTXSubtarget", ">", "(", ")", ";", "return", "AsmPrinter", "::", "runOnMachineFunction", "(", "F", ")", ";", "}", ""], "natrual_language": ["runOnMachineFunction", "-", "Emit", "the", "function", "body", "."], "TS_V_token": ["NVPTX", "NVPTX"], "File": "NVPTXAsmPrinter", "Func": "runOnMachineFunction", "Target": "NVPTX", "Target_Clf": "GPU", "Compiler_Type": "LLVM", "Idx": 1170, "Length": 30, "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": 1171, "Length": 485, "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": "X86FrameLowering112", "Func": "restoreWin32EHStackPointers", "Target": "X86", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 1172, "Length": 415, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "bool", "AMDGPUAsmPrinter", "::", "runOnMachineFunction", "(", "MachineFunction", "&", "MF", ")", "{", "MF", ".", "setAlignment", "(", "8", ")", ";", "SetupMachineFunction", "(", "MF", ")", ";", "EmitFunctionHeader", "(", ")", ";", "MCContext", "&", "Context", "=", "getObjFileLowering", "(", ")", ".", "getContext", "(", ")", ";", "const", "MCSectionELF", "*", "ConfigSection", "=", "Context", ".", "getELFSection", "(", "\".AMDGPU.config\"", ",", "ELF", "::", "SHT_PROGBITS", ",", "0", ",", "SectionKind", "::", "getReadOnly", "(", ")", ")", ";", "OutStreamer", ".", "SwitchSection", "(", "ConfigSection", ")", ";", "const", "AMDGPUSubtarget", "&", "STM", "=", "TM", ".", "getSubtarget", "<", "AMDGPUSubtarget", ">", "(", ")", ";", "SIProgramInfo", "KernelInfo", ";", "if", "(", "STM", ".", "isAmdHsaOS", "(", ")", ")", "{", "getSIProgramInfo", "(", "KernelInfo", ",", "MF", ")", ";", "EmitAmdKernelCodeT", "(", "MF", ",", "KernelInfo", ")", ";", "OutStreamer", ".", "EmitCodeAlignment", "(", "2", "<<", "(", "MF", ".", "getAlignment", "(", ")", "-", "1", ")", ")", ";", "}", "else", "if", "(", "STM", ".", "getGeneration", "(", ")", ">=", "AMDGPUSubtarget", "::", "SOUTHERN_ISLANDS", ")", "{", "getSIProgramInfo", "(", "KernelInfo", ",", "MF", ")", ";", "EmitProgramInfoSI", "(", "MF", ",", "KernelInfo", ")", ";", "}", "else", "{", "EmitProgramInfoR600", "(", "MF", ")", ";", "}", "DisasmLines", ".", "clear", "(", ")", ";", "HexLines", ".", "clear", "(", ")", ";", "DisasmLineMaxLen", "=", "0", ";", "OutStreamer", ".", "SwitchSection", "(", "getObjFileLowering", "(", ")", ".", "getTextSection", "(", ")", ")", ";", "EmitFunctionBody", "(", ")", ";", "if", "(", "isVerbose", "(", ")", ")", "{", "const", "MCSectionELF", "*", "CommentSection", "=", "Context", ".", "getELFSection", "(", "\".AMDGPU.csdata\"", ",", "ELF", "::", "SHT_PROGBITS", ",", "0", ",", "SectionKind", "::", "getReadOnly", "(", ")", ")", ";", "OutStreamer", ".", "SwitchSection", "(", "CommentSection", ")", ";", "if", "(", "STM", ".", "getGeneration", "(", ")", ">=", "AMDGPUSubtarget", "::", "SOUTHERN_ISLANDS", ")", "{", "OutStreamer", ".", "emitRawComment", "(", "\" Kernel info:\"", ",", "false", ")", ";", "OutStreamer", ".", "emitRawComment", "(", "\" codeLenInByte = \"", "+", "Twine", "(", "KernelInfo", ".", "CodeLen", ")", ",", "false", ")", ";", "OutStreamer", ".", "emitRawComment", "(", "\" NumSgprs: \"", "+", "Twine", "(", "KernelInfo", ".", "NumSGPR", ")", ",", "false", ")", ";", "OutStreamer", ".", "emitRawComment", "(", "\" NumVgprs: \"", "+", "Twine", "(", "KernelInfo", ".", "NumVGPR", ")", ",", "false", ")", ";", "OutStreamer", ".", "emitRawComment", "(", "\" FloatMode: \"", "+", "Twine", "(", "KernelInfo", ".", "FloatMode", ")", ",", "false", ")", ";", "OutStreamer", ".", "emitRawComment", "(", "\" IeeeMode: \"", "+", "Twine", "(", "KernelInfo", ".", "IEEEMode", ")", ",", "false", ")", ";", "OutStreamer", ".", "emitRawComment", "(", "\" ScratchSize: \"", "+", "Twine", "(", "KernelInfo", ".", "ScratchSize", ")", ",", "false", ")", ";", "}", "else", "{", "R600MachineFunctionInfo", "*", "MFI", "=", "MF", ".", "getInfo", "<", "R600MachineFunctionInfo", ">", "(", ")", ";", "OutStreamer", ".", "emitRawComment", "(", "Twine", "(", "\"SQ_PGM_RESOURCES:STACK_SIZE = \"", "+", "Twine", "(", "MFI", "->", "StackSize", ")", ")", ")", ";", "}", "}", "if", "(", "STM", ".", "dumpCode", "(", ")", "&&", "DisasmEnabled", ")", "{", "OutStreamer", ".", "SwitchSection", "(", "Context", ".", "getELFSection", "(", "\".AMDGPU.disasm\"", ",", "ELF", "::", "SHT_NOTE", ",", "0", ",", "SectionKind", "::", "getReadOnly", "(", ")", ")", ")", ";", "for", "(", "size_t", "i", "=", "0", ";", "i", "<", "DisasmLines", ".", "size", "(", ")", ";", "++", "i", ")", "{", "std", "::", "string", "Comment", "(", "DisasmLineMaxLen", "-", "DisasmLines", "[", "i", "]", ".", "size", "(", ")", ",", "' '", ")", ";", "Comment", "+=", "\" ; \"", "+", "HexLines", "[", "i", "]", "+", "\"\\n\"", ";", "OutStreamer", ".", "EmitBytes", "(", "StringRef", "(", "DisasmLines", "[", "i", "]", ")", ")", ";", "OutStreamer", ".", "EmitBytes", "(", "StringRef", "(", "Comment", ")", ")", ";", "}", "}", "return", "false", ";", "}", ""], "natrual_language": ["runOnMachineFunction", "-", "Emit", "the", "function", "body", "."], "TS_V_token": ["R600", "8", "\".AMDGPU.config\"", "0", "SI", "SI", "2", "1", "SI", "SI", "0", "\".AMDGPU.csdata\"", "0", "\" Kernel info:\"", "\" codeLenInByte = \"", "\" NumSgprs: \"", "\" NumVgprs: \"", "\" FloatMode: \"", "\" IeeeMode: \"", "\" ScratchSize: \"", "\"SQ_PGM_RESOURCES:STACK_SIZE = \"", "\".AMDGPU.disasm\"", "0", "0", "\" ; \"", "\"\\n\""], "File": "AMDGPUAsmPrinter88", "Func": "runOnMachineFunction", "Target": "R600", "Target_Clf": "GPU", "Compiler_Type": "LLVM", "Idx": 1173, "Length": 501, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "void", "getAnalysisUsage", "(", "AnalysisUsage", "&", "AU", ")", "const", "override", "{", "AU", ".", "addRequired", "<", "MachineDominatorTree", ">", "(", ")", ";", "AU", ".", "addRequired", "<", "MachineLoopInfo", ">", "(", ")", ";", "MachineFunctionPass", "::", "getAnalysisUsage", "(", "AU", ")", ";", "}", ""], "natrual_language": ["getAnalysisUsage", "-", "Subclasses", "that", "override", "getAnalysisUsage", "must", "call", "this", "."], "TS_V_token": ["TPC"], "File": "TPCHardwareLoops", "Func": "getAnalysisUsage", "Target": "TPC", "Target_Clf": "Virtual ISA", "Compiler_Type": "LLVM", "Idx": 1174, "Length": 36, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "static", "int", "h8300_register_move_cost", "(", "machine_mode", "mode", "ATTRIBUTE_UNUSED", ",", "reg_class_t", "from", ",", "reg_class_t", "to", ")", "{", "if", "(", "from", "==", "MAC_REGS", "||", "to", "==", "MAC_REGS", ")", "return", "6", ";", "else", "return", "3", ";", "}", ""], "natrual_language": ["Implements", "TARGET_REGISTER_MOVE_COST", ".", "Any", "SI", "register-to-register", "move", "may", "need", "to", "be", "reloaded", ",", "so", "inmplement", "h8300_register_move_cost", "to", "return", ">", "2", "so", "that", "reload", "never", "shortcuts", "."], "TS_V_token": ["h8300", "6", "3"], "File": "h83001", "Func": "h8300_register_move_cost", "Target": "h8300", "Target_Clf": "MPU", "Compiler_Type": "GCC", "Idx": 1175, "Length": 33, "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": 1176, "Length": 424, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "static", "bool", "alpha_return_in_memory", "(", "tree", "type", ",", "tree", "fndecl", "ATTRIBUTE_UNUSED", ")", "{", "enum", "machine_mode", "mode", "=", "VOIDmode", ";", "int", "size", ";", "if", "(", "type", ")", "{", "mode", "=", "TYPE_MODE", "(", "type", ")", ";", "if", "(", "AGGREGATE_TYPE_P", "(", "type", ")", ")", "return", "true", ";", "}", "size", "=", "GET_MODE_SIZE", "(", "mode", ")", ";", "switch", "(", "GET_MODE_CLASS", "(", "mode", ")", ")", "{", "case", "MODE_VECTOR_FLOAT", ":", "return", "true", ";", "case", "MODE_COMPLEX_FLOAT", ":", "size", "=", "GET_MODE_UNIT_SIZE", "(", "mode", ")", ";", "break", ";", "case", "MODE_INT", ":", "case", "MODE_FLOAT", ":", "case", "MODE_COMPLEX_INT", ":", "case", "MODE_VECTOR_INT", ":", "break", ";", "default", ":", "return", "true", ";", "}", "return", "size", ">", "UNITS_PER_WORD", ";", "}", ""], "natrual_language": ["Return", "true", "if", "TYPE", "must", "be", "returned", "in", "memory", ",", "instead", "of", "in", "registers", "."], "TS_V_token": ["alpha"], "File": "alpha3", "Func": "alpha_return_in_memory", "Target": "alpha", "Target_Clf": "MPU", "Compiler_Type": "GCC", "Idx": 1177, "Length": 103, "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": 1178, "Length": 194, "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": 1179, "Length": 38, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "const", "char", "*", "mcore_output_movedouble", "(", "rtx", "operands", "[", "]", ",", "enum", "machine_mode", "mode", "ATTRIBUTE_UNUSED", ")", "{", "rtx", "dst", "=", "operands", "[", "0", "]", ";", "rtx", "src", "=", "operands", "[", "1", "]", ";", "if", "(", "GET_CODE", "(", "dst", ")", "==", "REG", ")", "{", "if", "(", "GET_CODE", "(", "src", ")", "==", "REG", ")", "{", "int", "dstreg", "=", "REGNO", "(", "dst", ")", ";", "int", "srcreg", "=", "REGNO", "(", "src", ")", ";", "if", "(", "srcreg", "+", "1", "==", "dstreg", ")", "return", "\"mov\t%R0,%R1\\n\\tmov\t%0,%1\"", ";", "else", "return", "\"mov\t%0,%1\\n\\tmov\t%R0,%R1\"", ";", "}", "else", "if", "(", "GET_CODE", "(", "src", ")", "==", "MEM", ")", "{", "rtx", "memexp", "=", "memexp", "=", "XEXP", "(", "src", ",", "0", ")", ";", "int", "dstreg", "=", "REGNO", "(", "dst", ")", ";", "int", "basereg", "=", "-", "1", ";", "if", "(", "GET_CODE", "(", "memexp", ")", "==", "LABEL_REF", ")", "return", "\"lrw\\t%0,[%1]\\n\\tlrw\\t%R0,[%R1]\"", ";", "else", "if", "(", "GET_CODE", "(", "memexp", ")", "==", "REG", ")", "basereg", "=", "REGNO", "(", "memexp", ")", ";", "else", "if", "(", "GET_CODE", "(", "memexp", ")", "==", "PLUS", ")", "{", "if", "(", "GET_CODE", "(", "XEXP", "(", "memexp", ",", "0", ")", ")", "==", "REG", ")", "basereg", "=", "REGNO", "(", "XEXP", "(", "memexp", ",", "0", ")", ")", ";", "else", "if", "(", "GET_CODE", "(", "XEXP", "(", "memexp", ",", "1", ")", ")", "==", "REG", ")", "basereg", "=", "REGNO", "(", "XEXP", "(", "memexp", ",", "1", ")", ")", ";", "else", "gcc_unreachable", "(", ")", ";", "}", "else", "gcc_unreachable", "(", ")", ";", "if", "(", "dstreg", "==", "basereg", ")", "{", "return", "\"ldw\\t%R0,%R1\\n\\tldw\\t%0,%1\"", ";", "}", "else", "return", "\"ldw\\t%0,%1\\n\\tldw\\t%R0,%R1\"", ";", "}", "else", "if", "(", "GET_CODE", "(", "src", ")", "==", "CONST_INT", ")", "{", "if", "(", "TARGET_LITTLE_END", ")", "{", "if", "(", "CONST_OK_FOR_I", "(", "INTVAL", "(", "src", ")", ")", ")", "output_asm_insn", "(", "\"movi\t%0,%1\"", ",", "operands", ")", ";", "else", "if", "(", "CONST_OK_FOR_M", "(", "INTVAL", "(", "src", ")", ")", ")", "output_asm_insn", "(", "\"bgeni\t%0,%P1\"", ",", "operands", ")", ";", "else", "if", "(", "INTVAL", "(", "src", ")", "==", "-", "1", ")", "output_asm_insn", "(", "\"bmaski\t%0,32\"", ",", "operands", ")", ";", "else", "if", "(", "CONST_OK_FOR_N", "(", "INTVAL", "(", "src", ")", ")", ")", "output_asm_insn", "(", "\"bmaski\t%0,%N1\"", ",", "operands", ")", ";", "else", "gcc_unreachable", "(", ")", ";", "if", "(", "INTVAL", "(", "src", ")", "<", "0", ")", "return", "\"bmaski\t%R0,32\"", ";", "else", "return", "\"movi\t%R0,0\"", ";", "}", "else", "{", "if", "(", "CONST_OK_FOR_I", "(", "INTVAL", "(", "src", ")", ")", ")", "output_asm_insn", "(", "\"movi\t%R0,%1\"", ",", "operands", ")", ";", "else", "if", "(", "CONST_OK_FOR_M", "(", "INTVAL", "(", "src", ")", ")", ")", "output_asm_insn", "(", "\"bgeni\t%R0,%P1\"", ",", "operands", ")", ";", "else", "if", "(", "INTVAL", "(", "src", ")", "==", "-", "1", ")", "output_asm_insn", "(", "\"bmaski\t%R0,32\"", ",", "operands", ")", ";", "else", "if", "(", "CONST_OK_FOR_N", "(", "INTVAL", "(", "src", ")", ")", ")", "output_asm_insn", "(", "\"bmaski\t%R0,%N1\"", ",", "operands", ")", ";", "else", "gcc_unreachable", "(", ")", ";", "if", "(", "INTVAL", "(", "src", ")", "<", "0", ")", "return", "\"bmaski\t%0,32\"", ";", "else", "return", "\"movi\t%0,0\"", ";", "}", "}", "else", "gcc_unreachable", "(", ")", ";", "}", "else", "if", "(", "GET_CODE", "(", "dst", ")", "==", "MEM", "&&", "GET_CODE", "(", "src", ")", "==", "REG", ")", "return", "\"stw\\t%1,%0\\n\\tstw\\t%R1,%R0\"", ";", "else", "gcc_unreachable", "(", ")", ";", "}", ""], "natrual_language": ["Return", "a", "sequence", "of", "instructions", "to", "perform", "DI", "or", "DF", "move", ".", "Since", "the", "MCORE", "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": ["mcore", "0", "1", "1", "\"mov\t%R0,%R1\\n\\tmov\t%0,%1\"", "\"mov\t%0,%1\\n\\tmov\t%R0,%R1\"", "0", "1", "\"lrw\\t%0,[%1]\\n\\tlrw\\t%R0,[%R1]\"", "0", "0", "1", "1", "\"ldw\\t%R0,%R1\\n\\tldw\\t%0,%1\"", "\"ldw\\t%0,%1\\n\\tldw\\t%R0,%R1\"", "\"movi\t%0,%1\"", "\"bgeni\t%0,%P1\"", "1", "\"bmaski\t%0,32\"", "\"bmaski\t%0,%N1\"", "0", "\"bmaski\t%R0,32\"", "\"movi\t%R0,0\"", "\"movi\t%R0,%1\"", "\"bgeni\t%R0,%P1\"", "1", "\"bmaski\t%R0,32\"", "\"bmaski\t%R0,%N1\"", "0", "\"bmaski\t%0,32\"", "\"movi\t%0,0\"", "\"stw\\t%1,%0\\n\\tstw\\t%R1,%R0\""], "File": "mcore3", "Func": "mcore_output_movedouble", "Target": "mcore", "Target_Clf": "MPU", "Compiler_Type": "GCC", "Idx": 1180, "Length": 478, "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": 1181, "Length": 10, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "unsigned", "AMDGPURegisterBankInfo", "::", "getBreakDownCost", "(", "const", "ValueMapping", "&", "ValMapping", ",", "const", "RegisterBank", "*", "CurBank", ")", "const", "{", "assert", "(", "CurBank", "==", "nullptr", "&&", "\"shouldn't see already assigned bank\"", ")", ";", "assert", "(", "ValMapping", ".", "NumBreakDowns", "==", "2", "&&", "ValMapping", ".", "BreakDown", "[", "0", "]", ".", "Length", "==", "32", "&&", "ValMapping", ".", "BreakDown", "[", "0", "]", ".", "StartIdx", "==", "0", "&&", "ValMapping", ".", "BreakDown", "[", "1", "]", ".", "Length", "==", "32", "&&", "ValMapping", ".", "BreakDown", "[", "1", "]", ".", "StartIdx", "==", "32", "&&", "ValMapping", ".", "BreakDown", "[", "0", "]", ".", "RegBank", "==", "ValMapping", ".", "BreakDown", "[", "1", "]", ".", "RegBank", ")", ";", "return", "1", ";", "}", ""], "natrual_language": ["Get", "the", "cost", "of", "using", "ValMapping", "to", "decompose", "a", "register", "."], "TS_V_token": ["AMDGPU", "AMDGPU", "\"shouldn't see already assigned bank\"", "2", "0", "32", "0", "0", "1", "32", "1", "32", "0", "1", "1"], "File": "AMDGPURegisterBankInfo49", "Func": "getBreakDownCost", "Target": "AMDGPU", "Target_Clf": "GPU", "Compiler_Type": "LLVM", "Idx": 1182, "Length": 101, "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": 1183, "Length": 314, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "unsigned", "char", "M680x0Subtarget", "::", "classifyLocalReference", "(", "const", "GlobalValue", "*", "GV", ")", "const", "{", "switch", "(", "TM", ".", "getCodeModel", "(", ")", ")", "{", "default", ":", "llvm_unreachable", "(", "\"Unsupported code model\"", ")", ";", "case", "CodeModel", "::", "Small", ":", "case", "CodeModel", "::", "Kernel", ":", "{", "return", "M680x0II", "::", "MO_PC_RELATIVE_ADDRESS", ";", "}", "case", "CodeModel", "::", "Medium", ":", "{", "if", "(", "isPositionIndependent", "(", ")", ")", "{", "if", "(", "IsM68020", ")", "{", "return", "M680x0II", "::", "MO_PC_RELATIVE_ADDRESS", ";", "}", "return", "M680x0II", "::", "MO_GOTOFF", ";", "}", "else", "{", "if", "(", "IsM68020", ")", "{", "return", "M680x0II", "::", "MO_PC_RELATIVE_ADDRESS", ";", "}", "return", "M680x0II", "::", "MO_ABSOLUTE_ADDRESS", ";", "}", "}", "}", "}", ""], "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": ["M680x0", "M680x0", "\"Unsupported code model\"", "M680x0II::MO_PC_RELATIVE_ADDRESS", "M680x0II::MO_PC_RELATIVE_ADDRESS", "M680x0II::MO_GOTOFF", "M680x0II::MO_PC_RELATIVE_ADDRESS", "M680x0II::MO_ABSOLUTE_ADDRESS"], "File": "M680x0Subtarget", "Func": "classifyLocalReference", "Target": "M680x0", "Target_Clf": "MPU", "Compiler_Type": "LLVM", "Idx": 1184, "Length": 98, "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": 1185, "Length": 117, "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": 1186, "Length": 15, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "bool", "MSP430RegisterInfo", "::", "hasFP", "(", "const", "MachineFunction", "&", "MF", ")", "const", "{", "return", "NoFramePointerElim", "||", "MF", ".", "getFrameInfo", "(", ")", "->", "hasVarSizedObjects", "(", ")", ";", "}", ""], "natrual_language": ["hasFP", "-", "Return", "true", "if", "the", "specified", "function", "should", "have", "a", "dedicated", "frame", "pointer", "register", "."], "TS_V_token": ["MSP430", "MSP430"], "File": "MSP430RegisterInfo11", "Func": "hasFP", "Target": "MSP430", "Target_Clf": "MPU", "Compiler_Type": "LLVM", "Idx": 1187, "Length": 26, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "static", "void", "frv_print_operand_memory_reference", "(", "FILE", "*", "stream", ",", "rtx", "x", ",", "int", "addr_offset", ")", "{", "struct", "frv_unspec", "unspec", ";", "rtx", "x0", "=", "NULL_RTX", ";", "rtx", "x1", "=", "NULL_RTX", ";", "switch", "(", "GET_CODE", "(", "x", ")", ")", "{", "case", "SUBREG", ":", "case", "REG", ":", "x0", "=", "x", ";", "break", ";", "case", "PRE_MODIFY", ":", "x0", "=", "XEXP", "(", "x", ",", "0", ")", ";", "x1", "=", "XEXP", "(", "XEXP", "(", "x", ",", "1", ")", ",", "1", ")", ";", "break", ";", "case", "CONST_INT", ":", "x1", "=", "x", ";", "break", ";", "case", "PLUS", ":", "x0", "=", "XEXP", "(", "x", ",", "0", ")", ";", "x1", "=", "XEXP", "(", "x", ",", "1", ")", ";", "if", "(", "GET_CODE", "(", "x0", ")", "==", "CONST_INT", ")", "{", "x0", "=", "XEXP", "(", "x", ",", "1", ")", ";", "x1", "=", "XEXP", "(", "x", ",", "0", ")", ";", "}", "break", ";", "default", ":", "fatal_insn", "(", "\"bad insn to frv_print_operand_memory_reference:\"", ",", "x", ")", ";", "break", ";", "}", "if", "(", "addr_offset", ")", "{", "if", "(", "!", "x1", ")", "x1", "=", "const0_rtx", ";", "else", "if", "(", "GET_CODE", "(", "x1", ")", "!=", "CONST_INT", ")", "fatal_insn", "(", "\"bad insn to frv_print_operand_memory_reference:\"", ",", "x", ")", ";", "}", "fputs", "(", "\"@(\"", ",", "stream", ")", ";", "if", "(", "!", "x0", ")", "fputs", "(", "reg_names", "[", "GPR_R0", "]", ",", "stream", ")", ";", "else", "if", "(", "GET_CODE", "(", "x0", ")", "==", "REG", "||", "GET_CODE", "(", "x0", ")", "==", "SUBREG", ")", "frv_print_operand_memory_reference_reg", "(", "stream", ",", "x0", ")", ";", "else", "fatal_insn", "(", "\"bad insn to frv_print_operand_memory_reference:\"", ",", "x", ")", ";", "fputs", "(", "\",\"", ",", "stream", ")", ";", "if", "(", "!", "x1", ")", "fputs", "(", "reg_names", "[", "GPR_R0", "]", ",", "stream", ")", ";", "else", "{", "switch", "(", "GET_CODE", "(", "x1", ")", ")", "{", "case", "SUBREG", ":", "case", "REG", ":", "frv_print_operand_memory_reference_reg", "(", "stream", ",", "x1", ")", ";", "break", ";", "case", "CONST_INT", ":", "fprintf", "(", "stream", ",", "\"%ld\"", ",", "(", "long", ")", "(", "INTVAL", "(", "x1", ")", "+", "addr_offset", ")", ")", ";", "break", ";", "case", "CONST", ":", "if", "(", "!", "frv_const_unspec_p", "(", "x1", ",", "&", "unspec", ")", ")", "fatal_insn", "(", "\"bad insn to frv_print_operand_memory_reference:\"", ",", "x1", ")", ";", "frv_output_const_unspec", "(", "stream", ",", "&", "unspec", ")", ";", "break", ";", "default", ":", "fatal_insn", "(", "\"bad insn to frv_print_operand_memory_reference:\"", ",", "x", ")", ";", "}", "}", "fputs", "(", "\")\"", ",", "stream", ")", ";", "}", ""], "natrual_language": ["Print", "a", "memory", "reference", "suitable", "for", "the", "ld/st", "instructions", "."], "TS_V_token": ["frv", "0", "1", "1", "0", "1", "1", "0", "\"bad insn to frv_print_operand_memory_reference:\"", "\"bad insn to frv_print_operand_memory_reference:\"", "\"@(\"", "\"bad insn to frv_print_operand_memory_reference:\"", "\",\"", "\"%ld\"", "\"bad insn to frv_print_operand_memory_reference:\"", "\"bad insn to frv_print_operand_memory_reference:\"", "\")\""], "File": "frv", "Func": "frv_print_operand_memory_reference", "Target": "frv", "Target_Clf": "VLIW", "Compiler_Type": "GCC", "Idx": 1188, "Length": 357, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "bool", "PTXPassConfig", "::", "addPostRegAlloc", "(", ")", "{", "return", "false", ";", "}", ""], "natrual_language": ["This", "method", "may", "be", "implemented", "by", "targets", "that", "want", "to", "run", "passes", "after", "register", "allocation", "pass", "pipeline", "but", "before", "prolog-epilog", "insertion", "."], "TS_V_token": ["PTX", "PTX"], "File": "PTXTargetMachine2", "Func": "addPostRegAlloc", "Target": "PTX", "Target_Clf": "GPU", "Compiler_Type": "LLVM", "Idx": 1189, "Length": 11, "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": 1190, "Length": 179, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "bool", "AMDGPUAsmBackend", "::", "writeNopData", "(", "raw_ostream", "&", "OS", ",", "uint64_t", "Count", ")", "const", "{", "OS", ".", "write_zeros", "(", "Count", "%", "4", ")", ";", "Count", "/=", "4", ";", "const", "uint32_t", "Encoded_S_NOP_0", "=", "0xbf800000", ";", "for", "(", "uint64_t", "I", "=", "0", ";", "I", "!=", "Count", ";", "++", "I", ")", "support", "::", "endian", "::", "write", "<", "uint32_t", ">", "(", "OS", ",", "Encoded_S_NOP_0", ",", "Endian", ")", ";", "return", "true", ";", "}", ""], "natrual_language": ["Write", "an", "(", "optimal", ")", "nop", "sequence", "of", "Count", "bytes", "to", "the", "given", "output", "."], "TS_V_token": ["AMDGPU", "AMDGPU", "4", "4", "0xbf800000", "0", "support::endian"], "File": "AMDGPUAsmBackend12", "Func": "writeNopData", "Target": "AMDGPU", "Target_Clf": "GPU", "Compiler_Type": "LLVM", "Idx": 1191, "Length": 67, "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": 1192, "Length": 267, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "StringRef", "getPassName", "(", ")", "const", "override", "{", "return", "\"Hexagon Copy-To-Combine Pass\"", ";", "}", ""], "natrual_language": ["getPassName", "-", "Return", "a", "nice", "clean", "name", "for", "a", "pass", "."], "TS_V_token": ["Hexagon", "\"Hexagon Copy-To-Combine Pass\""], "File": "HexagonCopyToCombine (2)1", "Func": "getPassName", "Target": "Hexagon", "Target_Clf": "DSP", "Compiler_Type": "LLVM", "Idx": 1193, "Length": 11, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "static", "int", "cris_initial_frame_pointer_offset", "(", "void", ")", "{", "int", "regno", ";", "int", "offs", "=", "0", ";", "bool", "got_really_used", "=", "false", ";", "if", "(", "current_function_uses_pic_offset_table", ")", "{", "push_topmost_sequence", "(", ")", ";", "got_really_used", "=", "reg_used_between_p", "(", "pic_offset_table_rtx", ",", "get_insns", "(", ")", ",", "NULL_RTX", ")", ";", "pop_topmost_sequence", "(", ")", ";", "}", "for", "(", "regno", "=", "0", ";", "regno", "<", "FIRST_PSEUDO_REGISTER", ";", "regno", "++", ")", "if", "(", "cris_reg_saved_in_regsave_area", "(", "regno", ",", "got_really_used", ")", ")", "offs", "+=", "4", ";", "offs", "+=", "get_frame_size", "(", ")", ";", "offs", "+=", "current_function_outgoing_args_size", ";", "if", "(", "TARGET_STACK_ALIGN", ")", "offs", "=", "TARGET_ALIGN_BY_32", "?", "(", "offs", "+", "3", ")", "&", "~", "3", ":", "(", "offs", "+", "1", ")", "&", "~", "1", ";", "return", "offs", ";", "}", ""], "natrual_language": ["This", "used", "to", "be", "the", "INITIAL_FRAME_POINTER_OFFSET", "worker", ";", "now", "only", "handles", "FP", "-", ">", "SP", "elimination", "offset", "."], "TS_V_token": ["cris", "0", "0", "4", "3", "3", "1", "1"], "File": "cris3", "Func": "cris_initial_frame_pointer_offset", "Target": "cris", "Target_Clf": "MPU", "Compiler_Type": "GCC", "Idx": 1194, "Length": 113, "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": 1195, "Length": 153, "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": 1196, "Length": 104, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "bool", "WebAssemblyDebugFixup", "::", "runOnMachineFunction", "(", "MachineFunction", "&", "MF", ")", "{", "LLVM_DEBUG", "(", "dbgs", "(", ")", "<<", "\"********** Debug Fixup **********\\n\"", "\"********** Function: \"", "<<", "MF", ".", "getName", "(", ")", "<<", "'\\n'", ")", ";", "WebAssemblyFunctionInfo", "&", "MFI", "=", "*", "MF", ".", "getInfo", "<", "WebAssemblyFunctionInfo", ">", "(", ")", ";", "const", "auto", "*", "TII", "=", "MF", ".", "getSubtarget", "<", "WebAssemblySubtarget", ">", "(", ")", ".", "getInstrInfo", "(", ")", ";", "struct", "StackElem", "{", "unsigned", "Reg", ";", "MachineInstr", "*", "DebugValue", ";", "}", ";", "std", "::", "vector", "<", "StackElem", ">", "Stack", ";", "for", "(", "MachineBasicBlock", "&", "MBB", ":", "MF", ")", "{", "for", "(", "auto", "MII", "=", "MBB", ".", "begin", "(", ")", ";", "MII", "!=", "MBB", ".", "end", "(", ")", ";", "++", "MII", ")", "{", "MachineInstr", "&", "MI", "=", "*", "MII", ";", "if", "(", "MI", ".", "isDebugValue", "(", ")", ")", "{", "auto", "&", "MO", "=", "MI", ".", "getOperand", "(", "0", ")", ";", "if", "(", "MO", ".", "isReg", "(", ")", "&&", "MO", ".", "getReg", "(", ")", ".", "isValid", "(", ")", "&&", "MFI", ".", "isVRegStackified", "(", "MO", ".", "getReg", "(", ")", ")", ")", "{", "for", "(", "auto", "&", "Elem", ":", "reverse", "(", "Stack", ")", ")", "{", "if", "(", "MO", ".", "getReg", "(", ")", "==", "Elem", ".", "Reg", ")", "{", "auto", "Depth", "=", "static_cast", "<", "unsigned", ">", "(", "&", "Elem", "-", "&", "Stack", "[", "0", "]", ")", ";", "LLVM_DEBUG", "(", "dbgs", "(", ")", "<<", "\"Debug Value VReg \"", "<<", "MO", ".", "getReg", "(", ")", "<<", "\" -> Stack Relative \"", "<<", "Depth", "<<", "\"\\n\"", ")", ";", "MO", ".", "ChangeToTargetIndex", "(", "WebAssembly", "::", "TI_OPERAND_STACK", ",", "Depth", ")", ";", "Elem", ".", "DebugValue", "=", "&", "MI", ";", "break", ";", "}", "}", "}", "}", "else", "{", "for", "(", "MachineOperand", "&", "MO", ":", "reverse", "(", "MI", ".", "explicit_uses", "(", ")", ")", ")", "{", "if", "(", "MO", ".", "isReg", "(", ")", "&&", "MFI", ".", "isVRegStackified", "(", "MO", ".", "getReg", "(", ")", ")", ")", "{", "auto", "Prev", "=", "Stack", ".", "back", "(", ")", ";", "Stack", ".", "pop_back", "(", ")", ";", "assert", "(", "Prev", ".", "Reg", "==", "MO", ".", "getReg", "(", ")", "&&", "\"WebAssemblyDebugFixup: Pop: Register not matched!\"", ")", ";", "if", "(", "Prev", ".", "DebugValue", ")", "{", "BuildMI", "(", "*", "Prev", ".", "DebugValue", "->", "getParent", "(", ")", ",", "std", "::", "next", "(", "MII", ")", ",", "Prev", ".", "DebugValue", "->", "getDebugLoc", "(", ")", ",", "TII", "->", "get", "(", "WebAssembly", "::", "DBG_VALUE", ")", ",", "false", ",", "Register", "(", ")", ",", "Prev", ".", "DebugValue", "->", "getOperand", "(", "2", ")", ".", "getMetadata", "(", ")", ",", "Prev", ".", "DebugValue", "->", "getOperand", "(", "3", ")", ".", "getMetadata", "(", ")", ")", ";", "}", "}", "}", "for", "(", "MachineOperand", "&", "MO", ":", "MI", ".", "defs", "(", ")", ")", "{", "if", "(", "MO", ".", "isReg", "(", ")", "&&", "MFI", ".", "isVRegStackified", "(", "MO", ".", "getReg", "(", ")", ")", ")", "{", "Stack", ".", "push_back", "(", "{", "MO", ".", "getReg", "(", ")", ",", "nullptr", "}", ")", ";", "}", "}", "}", "}", "assert", "(", "Stack", ".", "empty", "(", ")", "&&", "\"WebAssemblyDebugFixup: Stack not empty at end of basic block!\"", ")", ";", "}", "return", "true", ";", "}", ""], "natrual_language": ["runOnMachineFunction", "-", "Emit", "the", "function", "body", "."], "TS_V_token": ["WebAssembly", "WebAssembly", "\"********** Debug Fixup **********\\n\"", "\"********** Function: \"", "WebAssembly", "WebAssembly", "WebAssembly", "0", "0", "\"Debug Value VReg \"", "\" -> Stack Relative \"", "\"\\n\"", "WebAssembly::TI_OPERAND_STACK", "\"WebAssemblyDebugFixup: Pop: Register not matched!\"", "WebAssembly::DBG_VALUE", "2", "3", "\"WebAssemblyDebugFixup: Stack not empty at end of basic block!\""], "File": "WebAssemblyDebugFixup", "Func": "runOnMachineFunction", "Target": "WebAssembly", "Target_Clf": "Virtual ISA", "Compiler_Type": "LLVM", "Idx": 1197, "Length": 471, "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": 1198, "Length": 22, "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": 1199, "Length": 143, "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": 1200, "Length": 115, "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": 1201, "Length": 12, "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": 1202, "Length": 295, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "void", "MCGSite", "::", "print", "(", "raw_ostream", "&", "OS", ")", "const", "{", "if", "(", "MI", ")", "{", "MachineBasicBlock", "*", "MBB", "=", "MI", "->", "getParent", "(", ")", ";", "OS", "<<", "\"BB#\"", "<<", "MBB", "->", "getNumber", "(", ")", "<<", "\":\"", "<<", "std", "::", "distance", "(", "MBB", "->", "instr_begin", "(", ")", ",", "MachineBasicBlock", "::", "instr_iterator", "(", "MI", ")", ")", "<<", "\":\"", ";", "}", "OS", "<<", "*", "Caller", "<<", "(", "IsInSCC", "?", "\" *--> \"", ":", "\" --> \"", ")", "<<", "*", "Callee", ";", "}", ""], "natrual_language": ["print", "-", "Print", "a", "debug", "representation", "of", "the", "operand", "to", "the", "given", "stream", "."], "TS_V_token": ["Patmos", "\"BB#\"", "\":\"", "\":\"", "\" *--> \"", "\" --> \""], "File": "PatmosCallGraphBuilder", "Func": "print", "Target": "Patmos", "Target_Clf": "VLIW", "Compiler_Type": "LLVM", "Idx": 1203, "Length": 76, "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": 1204, "Length": 257, "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": 1205, "Length": 62, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "static", "rtx", "s390_legitimize_address", "(", "rtx", "x", ",", "rtx", "oldx", "ATTRIBUTE_UNUSED", ",", "machine_mode", "mode", "ATTRIBUTE_UNUSED", ")", "{", "rtx", "constant_term", "=", "const0_rtx", ";", "if", "(", "TLS_SYMBOLIC_CONST", "(", "x", ")", ")", "{", "x", "=", "legitimize_tls_address", "(", "x", ",", "0", ")", ";", "if", "(", "s390_legitimate_address_p", "(", "mode", ",", "x", ",", "FALSE", ")", ")", "return", "x", ";", "}", "else", "if", "(", "GET_CODE", "(", "x", ")", "==", "PLUS", "&&", "(", "TLS_SYMBOLIC_CONST", "(", "XEXP", "(", "x", ",", "0", ")", ")", "||", "TLS_SYMBOLIC_CONST", "(", "XEXP", "(", "x", ",", "1", ")", ")", ")", ")", "{", "return", "x", ";", "}", "else", "if", "(", "flag_pic", ")", "{", "if", "(", "SYMBOLIC_CONST", "(", "x", ")", "||", "(", "GET_CODE", "(", "x", ")", "==", "PLUS", "&&", "(", "SYMBOLIC_CONST", "(", "XEXP", "(", "x", ",", "0", ")", ")", "||", "SYMBOLIC_CONST", "(", "XEXP", "(", "x", ",", "1", ")", ")", ")", ")", ")", "x", "=", "legitimize_pic_address", "(", "x", ",", "0", ")", ";", "if", "(", "s390_legitimate_address_p", "(", "mode", ",", "x", ",", "FALSE", ")", ")", "return", "x", ";", "}", "x", "=", "eliminate_constant_term", "(", "x", ",", "&", "constant_term", ")", ";", "if", "(", "GET_CODE", "(", "constant_term", ")", "==", "CONST_INT", "&&", "!", "TARGET_LONG_DISPLACEMENT", "&&", "!", "DISP_IN_RANGE", "(", "INTVAL", "(", "constant_term", ")", ")", "&&", "!", "(", "REG_P", "(", "x", ")", "&&", "REGNO_PTR_FRAME_P", "(", "REGNO", "(", "x", ")", ")", ")", ")", "{", "HOST_WIDE_INT", "lower", "=", "INTVAL", "(", "constant_term", ")", "&", "0xfff", ";", "HOST_WIDE_INT", "upper", "=", "INTVAL", "(", "constant_term", ")", "^", "lower", ";", "rtx", "temp", "=", "gen_reg_rtx", "(", "Pmode", ")", ";", "rtx", "val", "=", "force_operand", "(", "GEN_INT", "(", "upper", ")", ",", "temp", ")", ";", "if", "(", "val", "!=", "temp", ")", "emit_move_insn", "(", "temp", ",", "val", ")", ";", "x", "=", "gen_rtx_PLUS", "(", "Pmode", ",", "x", ",", "temp", ")", ";", "constant_term", "=", "GEN_INT", "(", "lower", ")", ";", "}", "if", "(", "GET_CODE", "(", "x", ")", "==", "PLUS", ")", "{", "if", "(", "GET_CODE", "(", "XEXP", "(", "x", ",", "0", ")", ")", "==", "REG", ")", "{", "rtx", "temp", "=", "gen_reg_rtx", "(", "Pmode", ")", ";", "rtx", "val", "=", "force_operand", "(", "XEXP", "(", "x", ",", "1", ")", ",", "temp", ")", ";", "if", "(", "val", "!=", "temp", ")", "emit_move_insn", "(", "temp", ",", "val", ")", ";", "x", "=", "gen_rtx_PLUS", "(", "Pmode", ",", "XEXP", "(", "x", ",", "0", ")", ",", "temp", ")", ";", "}", "else", "if", "(", "GET_CODE", "(", "XEXP", "(", "x", ",", "1", ")", ")", "==", "REG", ")", "{", "rtx", "temp", "=", "gen_reg_rtx", "(", "Pmode", ")", ";", "rtx", "val", "=", "force_operand", "(", "XEXP", "(", "x", ",", "0", ")", ",", "temp", ")", ";", "if", "(", "val", "!=", "temp", ")", "emit_move_insn", "(", "temp", ",", "val", ")", ";", "x", "=", "gen_rtx_PLUS", "(", "Pmode", ",", "temp", ",", "XEXP", "(", "x", ",", "1", ")", ")", ";", "}", "}", "if", "(", "constant_term", "!=", "const0_rtx", ")", "x", "=", "gen_rtx_PLUS", "(", "Pmode", ",", "x", ",", "constant_term", ")", ";", "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", ".", "When", "-fpic", "is", "used", ",", "special", "handling", "is", "needed", "for", "symbolic", "references", ".", "See", "comments", "by", "legitimize_pic_address", "for", "details", "."], "TS_V_token": ["s390", "0", "0", "1", "0", "1", "0", "0xfff", "0", "1", "0", "1", "0", "1"], "File": "s390", "Func": "s390_legitimize_address", "Target": "s390", "Target_Clf": "MPU", "Compiler_Type": "GCC", "Idx": 1206, "Length": 448, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "bool", "AMDGPUSimplifyLibCalls", "::", "runOnFunction", "(", "Function", "&", "F", ")", "{", "if", "(", "skipFunction", "(", "F", ")", ")", "return", "false", ";", "bool", "Changed", "=", "false", ";", "auto", "AA", "=", "&", "getAnalysis", "<", "AAResultsWrapperPass", ">", "(", ")", ".", "getAAResults", "(", ")", ";", "DEBUG", "(", "dbgs", "(", ")", "<<", "\"AMDIC: process function \"", ";", "F", ".", "printAsOperand", "(", "dbgs", "(", ")", ",", "false", ",", "F", ".", "getParent", "(", ")", ")", ";", "dbgs", "(", ")", "<<", "'\\n'", ";", ")", ";", "if", "(", "!", "EnablePreLink", ")", "Changed", "|=", "setFastFlags", "(", "F", ",", "Options", ")", ";", "for", "(", "auto", "&", "BB", ":", "F", ")", "{", "for", "(", "BasicBlock", "::", "iterator", "I", "=", "BB", ".", "begin", "(", ")", ",", "E", "=", "BB", ".", "end", "(", ")", ";", "I", "!=", "E", ";", ")", "{", "CallInst", "*", "CI", "=", "dyn_cast", "<", "CallInst", ">", "(", "I", ")", ";", "++", "I", ";", "if", "(", "!", "CI", ")", "continue", ";", "Function", "*", "Callee", "=", "CI", "->", "getCalledFunction", "(", ")", ";", "if", "(", "Callee", "==", "0", ")", "continue", ";", "DEBUG", "(", "dbgs", "(", ")", "<<", "\"AMDIC: try folding \"", "<<", "*", "CI", "<<", "\"\\n\"", ";", "dbgs", "(", ")", ".", "flush", "(", ")", ")", ";", "if", "(", "Simplifier", ".", "fold", "(", "CI", ",", "AA", ")", ")", "Changed", "=", "true", ";", "}", "}", "return", "Changed", ";", "}", ""], "natrual_language": ["runOnFunction", "-", "Virtual", "method", "overriden", "by", "subclasses", "to", "do", "the", "per-function", "processing", "of", "the", "pass", "."], "TS_V_token": ["AMDGPU", "AMDGPU", "\"AMDIC: process function \"", "0", "\"AMDIC: try folding \"", "\"\\n\""], "File": "AMDGPULibCalls10", "Func": "runOnFunction", "Target": "AMDGPU", "Target_Clf": "GPU", "Compiler_Type": "LLVM", "Idx": 1207, "Length": 206, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "unsigned", "WebAssemblyTTIImpl", "::", "getArithmeticInstrCost", "(", "unsigned", "Opcode", ",", "Type", "*", "Ty", ",", "TTI", "::", "OperandValueKind", "Opd1Info", ",", "TTI", "::", "OperandValueKind", "Opd2Info", ",", "TTI", "::", "OperandValueProperties", "Opd1PropInfo", ",", "TTI", "::", "OperandValueProperties", "Opd2PropInfo", ",", "ArrayRef", "<", "const", "Value", "*", ">", "Args", ")", "{", "unsigned", "Cost", "=", "BasicTTIImplBase", "<", "WebAssemblyTTIImpl", ">", "::", "getArithmeticInstrCost", "(", "Opcode", ",", "Ty", ",", "Opd1Info", ",", "Opd2Info", ",", "Opd1PropInfo", ",", "Opd2PropInfo", ")", ";", "if", "(", "VectorType", "*", "VTy", "=", "dyn_cast", "<", "VectorType", ">", "(", "Ty", ")", ")", "{", "switch", "(", "Opcode", ")", "{", "case", "Instruction", "::", "LShr", ":", "case", "Instruction", "::", "AShr", ":", "case", "Instruction", "::", "Shl", ":", "if", "(", "Opd2Info", "!=", "TTI", "::", "OK_UniformValue", "&&", "Opd2Info", "!=", "TTI", "::", "OK_UniformConstantValue", ")", "Cost", "=", "VTy", "->", "getNumElements", "(", ")", "*", "(", "TargetTransformInfo", "::", "TCC_Basic", "+", "getArithmeticInstrCost", "(", "Opcode", ",", "VTy", "->", "getElementType", "(", ")", ")", "+", "TargetTransformInfo", "::", "TCC_Basic", ")", ";", "break", ";", "}", "}", "return", "Cost", ";", "}", ""], "natrual_language": ["This", "is", "an", "approximation", "of", "reciprocal", "throughput", "of", "a", "math/logic", "op", "."], "TS_V_token": ["WebAssembly", "WebAssembly", "WebAssembly"], "File": "WebAssemblyTargetTransformInfo (2)", "Func": "getArithmeticInstrCost", "Target": "WebAssembly", "Target_Clf": "Virtual ISA", "Compiler_Type": "LLVM", "Idx": 1208, "Length": 150, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "void", "analyze", "(", "MachineBasicBlock", "&", "DefBlock", ",", "ArrayRef", "<", "MachineBasicBlock", "*", ">", "IncomingBlocks", ")", "{", "assert", "(", "Stack", ".", "empty", "(", ")", ")", ";", "ReachableMap", ".", "clear", "(", ")", ";", "ReachableOrdered", ".", "clear", "(", ")", ";", "Predecessors", ".", "clear", "(", ")", ";", "ReachableMap", ".", "try_emplace", "(", "&", "DefBlock", ",", "false", ")", ";", "ReachableOrdered", ".", "push_back", "(", "&", "DefBlock", ")", ";", "for", "(", "MachineBasicBlock", "*", "MBB", ":", "IncomingBlocks", ")", "{", "if", "(", "MBB", "==", "&", "DefBlock", ")", "{", "ReachableMap", "[", "&", "DefBlock", "]", "=", "true", ";", "continue", ";", "}", "ReachableMap", ".", "try_emplace", "(", "MBB", ",", "false", ")", ";", "ReachableOrdered", ".", "push_back", "(", "MBB", ")", ";", "bool", "Divergent", "=", "false", ";", "for", "(", "MachineInstr", "&", "MI", ":", "MBB", "->", "terminators", "(", ")", ")", "{", "if", "(", "MI", ".", "getOpcode", "(", ")", "==", "AMDGPU", "::", "SI_NON_UNIFORM_BRCOND_PSEUDO", "||", "MI", ".", "getOpcode", "(", ")", "==", "AMDGPU", "::", "SI_IF", "||", "MI", ".", "getOpcode", "(", ")", "==", "AMDGPU", "::", "SI_ELSE", "||", "MI", ".", "getOpcode", "(", ")", "==", "AMDGPU", "::", "SI_LOOP", ")", "{", "Divergent", "=", "true", ";", "break", ";", "}", "}", "if", "(", "Divergent", "&&", "PDT", ".", "dominates", "(", "&", "DefBlock", ",", "MBB", ")", ")", "{", "for", "(", "MachineBasicBlock", "*", "Succ", ":", "MBB", "->", "successors", "(", ")", ")", "Stack", ".", "push_back", "(", "Succ", ")", ";", "}", "}", "while", "(", "!", "Stack", ".", "empty", "(", ")", ")", "{", "MachineBasicBlock", "*", "MBB", "=", "Stack", ".", "pop_back_val", "(", ")", ";", "if", "(", "!", "ReachableMap", ".", "try_emplace", "(", "MBB", ",", "false", ")", ".", "second", ")", "continue", ";", "ReachableOrdered", ".", "push_back", "(", "MBB", ")", ";", "for", "(", "MachineBasicBlock", "*", "Succ", ":", "MBB", "->", "successors", "(", ")", ")", "Stack", ".", "push_back", "(", "Succ", ")", ";", "}", "for", "(", "MachineBasicBlock", "*", "MBB", ":", "ReachableOrdered", ")", "{", "bool", "HaveReachablePred", "=", "false", ";", "for", "(", "MachineBasicBlock", "*", "Pred", ":", "MBB", "->", "predecessors", "(", ")", ")", "{", "if", "(", "ReachableMap", ".", "count", "(", "Pred", ")", ")", "{", "HaveReachablePred", "=", "true", ";", "}", "else", "{", "Stack", ".", "push_back", "(", "Pred", ")", ";", "}", "}", "if", "(", "!", "HaveReachablePred", ")", "ReachableMap", "[", "MBB", "]", "=", "true", ";", "if", "(", "HaveReachablePred", ")", "{", "for", "(", "MachineBasicBlock", "*", "UnreachablePred", ":", "Stack", ")", "{", "if", "(", "!", "llvm", "::", "is_contained", "(", "Predecessors", ",", "UnreachablePred", ")", ")", "Predecessors", ".", "push_back", "(", "UnreachablePred", ")", ";", "}", "}", "Stack", ".", "clear", "(", ")", ";", "}", "}", ""], "natrual_language": ["analyze", "-", "set", "CurLI", "to", "the", "specified", "interval", ",", "and", "analyze", "how", "it", "may", "be", "split", "."], "TS_V_token": ["AMDGPU", "AMDGPU::SI_NON_UNIFORM_BRCOND_PSEUDO", "AMDGPU::SI_IF", "AMDGPU::SI_ELSE", "AMDGPU::SI_LOOP"], "File": "SILowerI1Copies37", "Func": "analyze", "Target": "AMDGPU", "Target_Clf": "GPU", "Compiler_Type": "LLVM", "Idx": 1209, "Length": 380, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "virtual", "bool", "runOnMachineFunction", "(", "MachineFunction", "&", "MF", ")", "{", "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": "X86InstrInfo103", "Func": "runOnMachineFunction", "Target": "X86", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 1210, "Length": 62, "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": 1211, "Length": 216, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "void", "BPFInstrInfo", "::", "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", "(", ")", ";", "if", "(", "RC", "==", "&", "BPF", "::", "GPRRegClass", ")", "BuildMI", "(", "MBB", ",", "I", ",", "DL", ",", "get", "(", "BPF", "::", "STD", ")", ")", ".", "addReg", "(", "SrcReg", ",", "getKillRegState", "(", "IsKill", ")", ")", ".", "addFrameIndex", "(", "FI", ")", ".", "addImm", "(", "0", ")", ";", "else", "if", "(", "RC", "==", "&", "BPF", "::", "GPR32RegClass", ")", "BuildMI", "(", "MBB", ",", "I", ",", "DL", ",", "get", "(", "BPF", "::", "STW32", ")", ")", ".", "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": ["BPF", "BPF", "BPF::GPRRegClass", "BPF::STD", "0", "BPF::GPR32RegClass", "BPF::STW32", "0", "\"Can't store this register to stack slot\""], "File": "BPFInstrInfo14", "Func": "storeRegToStackSlot", "Target": "BPF", "Target_Clf": "Virtual ISA", "Compiler_Type": "LLVM", "Idx": 1212, "Length": 154, "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": 1213, "Length": 348, "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": 1214, "Length": 286, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "StringRef", "getPassName", "(", ")", "const", "override", "{", "return", "\"TPC DAG->DAG Pattern Instruction Selection\"", ";", "}", ""], "natrual_language": ["getPassName", "-", "Return", "a", "nice", "clean", "name", "for", "a", "pass", "."], "TS_V_token": ["TPC", "\"TPC DAG->DAG Pattern Instruction Selection\""], "File": "TPCISelDAGToDAG", "Func": "getPassName", "Target": "TPC", "Target_Clf": "Virtual ISA", "Compiler_Type": "LLVM", "Idx": 1215, "Length": 11, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "int", "main", "(", "void", ")", "{", "enum", "avr_arch_id", "arch_id", "=", "ARCH_UNKNOWN", ";", "size_t", "i", ",", "n_mcus", "=", "0", ";", "const", "avr_mcu_t", "*", "mcu", ";", "printf", "(", "\"@c Copyright (C) 2012-2016 Free Software Foundation, Inc.\\n\"", ")", ";", "printf", "(", "\"@c This is part of the GCC manual.\\n\"", ")", ";", "printf", "(", "\"@c For copying conditions, see the file \"", "\"gcc/doc/include/fdl.texi.\\n\\n\"", ")", ";", "printf", "(", "\"@c This file is generated automatically using\\n\"", ")", ";", "printf", "(", "\"@c gcc/config/avr/gen-avr-mmcu-texi.c from:\\n\"", ")", ";", "printf", "(", "\"@c gcc/config/avr/avr-arch.h\\n\"", ")", ";", "printf", "(", "\"@c gcc/config/avr/avr-devices.c\\n\"", ")", ";", "printf", "(", "\"@c gcc/config/avr/avr-mcus.def\\n\\n\"", ")", ";", "printf", "(", "\"@c Please do not edit manually.\\n\\n\"", ")", ";", "printf", "(", "\"@table @code\\n\\n\"", ")", ";", "for", "(", "mcu", "=", "avr_mcu_types", ";", "mcu", "->", "name", ";", "mcu", "++", ")", "{", "if", "(", "mcu", "->", "macro", "==", "NULL", ")", "{", "arch_id", "=", "mcu", "->", "arch_id", ";", "print_mcus", "(", "n_mcus", ")", ";", "n_mcus", "=", "0", ";", "for", "(", "i", "=", "0", ";", "i", "<", "sizeof", "(", "avr_texinfo", ")", "/", "sizeof", "(", "*", "avr_texinfo", ")", ";", "i", "++", ")", "if", "(", "arch_id", "==", "avr_texinfo", "[", "i", "]", ".", "arch_id", ")", "printf", "(", "\"@item %s\\n%s\\n\"", ",", "mcu", "->", "name", ",", "avr_texinfo", "[", "i", "]", ".", "texinfo", ")", ";", "}", "else", "if", "(", "arch_id", "==", "(", "enum", "avr_arch_id", ")", "mcu", "->", "arch_id", ")", "{", "mcu_name", "[", "n_mcus", "++", "]", "=", "mcu", "->", "name", ";", "}", "}", "print_mcus", "(", "n_mcus", ")", ";", "printf", "(", "\"@end table\\n\"", ")", ";", "return", "EXIT_SUCCESS", ";", "}", ""], "natrual_language": ["Main", "program", "to", "convert", "flat", "files", "into", "built-in", "initialization", "code", "."], "TS_V_token": ["avr", "0", "\"@c Copyright (C) 2012-2016 Free Software Foundation, Inc.\\n\"", "\"@c This is part of the GCC manual.\\n\"", "\"@c For copying conditions, see the file \"", "\"gcc/doc/include/fdl.texi.\\n\\n\"", "\"@c This file is generated automatically using\\n\"", "\"@c gcc/config/avr/gen-avr-mmcu-texi.c from:\\n\"", "\"@c gcc/config/avr/avr-arch.h\\n\"", "\"@c gcc/config/avr/avr-devices.c\\n\"", "\"@c gcc/config/avr/avr-mcus.def\\n\\n\"", "\"@c Please do not edit manually.\\n\\n\"", "\"@table @code\\n\\n\"", "0", "0", "\"@item %s\\n%s\\n\"", "\"@end table\\n\""], "File": "gen-avr-mmcu-texi3", "Func": "main", "Target": "avr", "Target_Clf": "MPU", "Compiler_Type": "GCC", "Idx": 1216, "Length": 203, "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": 1217, "Length": 259, "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": 1218, "Length": 11, "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": 1219, "Length": 30, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "static", "int", "visium_register_move_cost", "(", "machine_mode", "mode", ",", "reg_class_t", "from", ",", "reg_class_t", "to", ")", "{", "const", "int", "numwords", "=", "(", "GET_MODE_SIZE", "(", "mode", ")", "<=", "UNITS_PER_WORD", ")", "?", "1", ":", "2", ";", "if", "(", "from", "==", "MDB", "||", "to", "==", "MDB", ")", "return", "4", ";", "else", "if", "(", "from", "==", "MDC", "||", "to", "==", "MDC", "||", "(", "from", "==", "FP_REGS", ")", "!=", "(", "to", "==", "FP_REGS", ")", ")", "return", "4", "*", "numwords", ";", "else", "return", "2", "*", "numwords", ";", "}", ""], "natrual_language": ["Return", "the", "cost", "of", "moving", "data", "of", "mode", "MODE", "from", "a", "register", "in", "class", "FROM", "to", "one", "in", "class", "TO", ".", "A", "value", "of", "2", "is", "the", "default", ";", "other", "values", "are", "interpreted", "relative", "to", "that", "."], "TS_V_token": ["visium", "1", "2", "4", "4", "2"], "File": "visium", "Func": "visium_register_move_cost", "Target": "visium", "Target_Clf": "Virtual ISA", "Compiler_Type": "GCC", "Idx": 1220, "Length": 79, "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": 1221, "Length": 453, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "void", "cris_asm_output_symbol_ref", "(", "FILE", "*", "file", ",", "rtx", "x", ")", "{", "gcc_assert", "(", "GET_CODE", "(", "x", ")", "==", "SYMBOL_REF", ")", ";", "assemble_name", "(", "file", ",", "XSTR", "(", "x", ",", "0", ")", ")", ";", "}", ""], "natrual_language": ["Worker", "function", "for", "ASM_OUTPUT_SYMBOL_REF", "."], "TS_V_token": ["cris", "0"], "File": "cris", "Func": "cris_asm_output_symbol_ref", "Target": "cris", "Target_Clf": "MPU", "Compiler_Type": "GCC", "Idx": 1222, "Length": 34, "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": 1223, "Length": 54, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "static", "bool", "split_delayed_nonbranch", "(", "rtx_insn", "*", "insn", ")", "{", "int", "code", "=", "recog_memoized", "(", "insn", ")", ";", "enum", "attr_type", "type", ";", "rtx_insn", "*", "i1", ";", "rtx", "newpat", ",", "src", ",", "dest", ";", "rtx", "pat", "=", "PATTERN", "(", "insn", ")", ";", "rtvec", "rtv", ";", "int", "delay", ";", "if", "(", "GET_CODE", "(", "pat", ")", "==", "COND_EXEC", ")", "pat", "=", "COND_EXEC_CODE", "(", "pat", ")", ";", "if", "(", "code", "<", "0", "||", "GET_CODE", "(", "pat", ")", "!=", "SET", ")", "return", "false", ";", "src", "=", "SET_SRC", "(", "pat", ")", ";", "dest", "=", "SET_DEST", "(", "pat", ")", ";", "if", "(", "!", "REG_P", "(", "dest", ")", ")", "return", "false", ";", "type", "=", "get_attr_type", "(", "insn", ")", ";", "if", "(", "code", ">=", "0", "&&", "(", "type", "==", "TYPE_LOAD", "||", "type", "==", "TYPE_LOADN", ")", ")", "{", "if", "(", "!", "MEM_P", "(", "src", ")", "&&", "(", "GET_CODE", "(", "src", ")", "!=", "ZERO_EXTEND", "||", "!", "MEM_P", "(", "XEXP", "(", "src", ",", "0", ")", ")", ")", ")", "return", "false", ";", "if", "(", "GET_MODE_SIZE", "(", "GET_MODE", "(", "dest", ")", ")", ">", "4", "&&", "(", "GET_MODE_SIZE", "(", "GET_MODE", "(", "dest", ")", ")", "!=", "8", "||", "!", "TARGET_LDDW", ")", ")", "return", "false", ";", "rtv", "=", "gen_rtvec", "(", "2", ",", "GEN_INT", "(", "REGNO", "(", "SET_DEST", "(", "pat", ")", ")", ")", ",", "SET_SRC", "(", "pat", ")", ")", ";", "newpat", "=", "gen_load_shadow", "(", "SET_DEST", "(", "pat", ")", ")", ";", "pat", "=", "gen_rtx_UNSPEC", "(", "VOIDmode", ",", "rtv", ",", "UNSPEC_REAL_LOAD", ")", ";", "delay", "=", "4", ";", "}", "else", "if", "(", "code", ">=", "0", "&&", "(", "type", "==", "TYPE_MPY2", "||", "type", "==", "TYPE_MPY4", ")", ")", "{", "if", "(", "GET_MODE", "(", "dest", ")", "==", "SFmode", ")", "return", "false", ";", "rtv", "=", "gen_rtvec", "(", "2", ",", "GEN_INT", "(", "REGNO", "(", "SET_DEST", "(", "pat", ")", ")", ")", ",", "SET_SRC", "(", "pat", ")", ")", ";", "newpat", "=", "gen_mult_shadow", "(", "SET_DEST", "(", "pat", ")", ")", ";", "pat", "=", "gen_rtx_UNSPEC", "(", "VOIDmode", ",", "rtv", ",", "UNSPEC_REAL_MULT", ")", ";", "delay", "=", "type", "==", "TYPE_MPY2", "?", "1", ":", "3", ";", "}", "else", "return", "false", ";", "pat", "=", "duplicate_cond", "(", "pat", ",", "insn", ")", ";", "newpat", "=", "duplicate_cond", "(", "newpat", ",", "insn", ")", ";", "i1", "=", "emit_insn_before", "(", "pat", ",", "insn", ")", ";", "PATTERN", "(", "insn", ")", "=", "newpat", ";", "INSN_CODE", "(", "insn", ")", "=", "-", "1", ";", "recog_memoized", "(", "insn", ")", ";", "recog_memoized", "(", "i1", ")", ";", "record_delay_slot_pair", "(", "i1", ",", "insn", ",", "delay", ",", "0", ")", ";", "return", "true", ";", "}", ""], "natrual_language": ["If", "INSN", "is", "a", "multi-cycle", "insn", "that", "should", "be", "handled", "properly", "in", "modulo-scheduling", ",", "split", "it", "into", "a", "real", "insn", "and", "a", "shadow", ".", "Return", "true", "if", "we", "made", "a", "change", ".", "It", "is", "valid", "for", "us", "to", "fail", "to", "split", "an", "insn", ";", "the", "caller", "has", "to", "deal", "with", "the", "possibility", ".", "Currently", "we", "handle", "loads", "and", "most", "mpy2", "and", "mpy4", "insns", "."], "TS_V_token": ["c6x", "0", "0", "0", "4", "8", "2", "4", "0", "2", "1", "3", "1", "0"], "File": "c6x", "Func": "split_delayed_nonbranch", "Target": "c6x", "Target_Clf": "VLIW", "Compiler_Type": "GCC", "Idx": 1224, "Length": 393, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "bool", "AArch64TargetLowering", "::", "needsFixedCatchObjects", "(", ")", "const", "{", "return", "false", ";", "}", ""], "natrual_language": ["Used", "for", "exception", "handling", "on", "Win64", "."], "TS_V_token": ["AArch64", "AArch64"], "File": "AArch64ISelLowering (2)2", "Func": "needsFixedCatchObjects", "Target": "AArch64", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 1225, "Length": 12, "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": 1226, "Length": 211, "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", ",", "MPO", ")", ";", "MIRBuilder", ".", "buildTrunc", "(", "ValVReg", ",", "LoadVReg", ")", ";", "}", "else", "{", "buildLoad", "(", "ValVReg", ",", "Addr", ",", "Size", ",", "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"], "File": "ARMCallLowering", "Func": "assignValueToAddress", "Target": "ARM", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 1227, "Length": 132, "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": 1228, "Length": 212, "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": ["powerpcspe", "0", "0", "0", "0"], "File": "powerpcspe", "Func": "rs6000_init_sched_context", "Target": "powerpcspe", "Target_Clf": "CPU", "Compiler_Type": "GCC", "Idx": 1229, "Length": 90, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "int", "NVPTXTTIImpl", "::", "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", ")", ";", "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", ":", "if", "(", "LT", ".", "second", ".", "SimpleTy", "==", "MVT", "::", "i64", ")", "return", "2", "*", "LT", ".", "first", ";", "return", "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": ["NVPTX", "NVPTX", "ISD::ADD", "ISD::MUL", "ISD::XOR", "ISD::OR", "ISD::AND", "MVT::i64", "2"], "File": "NVPTXTargetTransformInfo", "Func": "getArithmeticInstrCost", "Target": "NVPTX", "Target_Clf": "GPU", "Compiler_Type": "LLVM", "Idx": 1230, "Length": 151, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "int", "xtensa_emit_move_sequence", "(", "rtx", "*", "operands", ",", "enum", "machine_mode", "mode", ")", "{", "if", "(", "CONSTANT_P", "(", "operands", "[", "1", "]", ")", "&&", "(", "GET_CODE", "(", "operands", "[", "1", "]", ")", "!=", "CONST_INT", "||", "!", "xtensa_simm12b", "(", "INTVAL", "(", "operands", "[", "1", "]", ")", ")", ")", ")", "{", "if", "(", "!", "TARGET_CONST16", ")", "operands", "[", "1", "]", "=", "force_const_mem", "(", "SImode", ",", "operands", "[", "1", "]", ")", ";", "if", "(", "mode", "!=", "SImode", ")", "{", "if", "(", "register_operand", "(", "operands", "[", "0", "]", ",", "mode", ")", ")", "{", "operands", "[", "0", "]", "=", "simplify_gen_subreg", "(", "SImode", ",", "operands", "[", "0", "]", ",", "mode", ",", "0", ")", ";", "emit_move_insn", "(", "operands", "[", "0", "]", ",", "operands", "[", "1", "]", ")", ";", "return", "1", ";", "}", "else", "{", "operands", "[", "1", "]", "=", "force_reg", "(", "SImode", ",", "operands", "[", "1", "]", ")", ";", "operands", "[", "1", "]", "=", "gen_lowpart_SUBREG", "(", "mode", ",", "operands", "[", "1", "]", ")", ";", "}", "}", "}", "if", "(", "!", "(", "reload_in_progress", "|", "reload_completed", ")", "&&", "!", "xtensa_valid_move", "(", "mode", ",", "operands", ")", ")", "operands", "[", "1", "]", "=", "force_reg", "(", "mode", ",", "operands", "[", "1", "]", ")", ";", "operands", "[", "1", "]", "=", "xtensa_copy_incoming_a7", "(", "operands", "[", "1", "]", ")", ";", "if", "(", "reload_in_progress", ")", "{", "operands", "[", "0", "]", "=", "fixup_subreg_mem", "(", "operands", "[", "0", "]", ")", ";", "operands", "[", "1", "]", "=", "fixup_subreg_mem", "(", "operands", "[", "1", "]", ")", ";", "}", "return", "0", ";", "}", ""], "natrual_language": ["Emit", "insns", "to", "move", "operands", "[", "1", "]", "into", "operands", "[", "0", "]", ".", "Return", "1", "if", "we", "have", "written", "out", "everything", "that", "needs", "to", "be", "done", "to", "do", "the", "move", ".", "Otherwise", ",", "return", "0", "and", "the", "caller", "will", "emit", "the", "move", "normally", "."], "TS_V_token": ["xtensa", "1", "1", "1", "1", "1", "0", "0", "0", "0", "0", "1", "1", "1", "1", "1", "1", "1", "1", "1", "1", "0", "0", "1", "1", "0"], "File": "xtensa3", "Func": "xtensa_emit_move_sequence", "Target": "xtensa", "Target_Clf": "MPU", "Compiler_Type": "GCC", "Idx": 1231, "Length": 239, "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": 1232, "Length": 114, "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": 1233, "Length": 99, "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": ["Lanai"], "File": "LanaiAsmBackend12", "Func": "mayNeedRelaxation", "Target": "Lanai", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 1234, "Length": 19, "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": 1235, "Length": 22, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "bool", "ARMSubtarget", "::", "enableAtomicExpand", "(", ")", "const", "{", "return", "hasAnyDataBarrier", "(", ")", "&&", "!", "isThumb1Only", "(", ")", ";", "}", ""], "natrual_language": ["True", "if", "the", "subtarget", "should", "run", "the", "atomic", "expansion", "pass", "."], "TS_V_token": ["ARM", "ARM"], "File": "ARMSubtarget13", "Func": "enableAtomicExpand", "Target": "ARM", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 1236, "Length": 19, "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": 1237, "Length": 152, "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": 1238, "Length": 363, "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": 1239, "Length": 443, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "bool", "MSP430InstrInfo", "::", "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": ["MSP430", "MSP430"], "File": "MSP430InstrInfo10", "Func": "isUnpredicatedTerminator", "Target": "MSP430", "Target_Clf": "MPU", "Compiler_Type": "LLVM", "Idx": 1240, "Length": 62, "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": 1241, "Length": 381, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "rtx", "m32c_function_arg", "(", "CUMULATIVE_ARGS", "*", "ca", ",", "enum", "machine_mode", "mode", ",", "tree", "type", ",", "int", "named", ")", "{", "rtx", "rv", "=", "NULL_RTX", ";", "fprintf", "(", "stderr", ",", "\"func_arg %d (%s, %d)\\n\"", ",", "ca", "->", "parm_num", ",", "mode_name", "[", "mode", "]", ",", "named", ")", ";", "debug_tree", "(", "type", ")", ";", "if", "(", "mode", "==", "VOIDmode", ")", "return", "GEN_INT", "(", "0", ")", ";", "if", "(", "ca", "->", "force_mem", "||", "!", "named", ")", "{", "fprintf", "(", "stderr", ",", "\"func arg: force %d named %d, mem\\n\"", ",", "ca", "->", "force_mem", ",", "named", ")", ";", "return", "NULL_RTX", ";", "}", "if", "(", "type", "&&", "INTEGRAL_TYPE_P", "(", "type", ")", "&&", "POINTER_TYPE_P", "(", "type", ")", ")", "return", "NULL_RTX", ";", "switch", "(", "ca", "->", "parm_num", ")", "{", "case", "1", ":", "if", "(", "GET_MODE_SIZE", "(", "mode", ")", "==", "1", "||", "GET_MODE_SIZE", "(", "mode", ")", "==", "2", ")", "rv", "=", "gen_rtx_REG", "(", "mode", ",", "TARGET_A16", "?", "R1_REGNO", ":", "R0_REGNO", ")", ";", "break", ";", "case", "2", ":", "if", "(", "TARGET_A16", "&&", "GET_MODE_SIZE", "(", "mode", ")", "==", "2", ")", "rv", "=", "gen_rtx_REG", "(", "mode", ",", "R2_REGNO", ")", ";", "break", ";", "}", "debug_rtx", "(", "rv", ")", ";", "return", "rv", ";", "}", ""], "natrual_language": ["Implements", "FUNCTION_ARG", ".", "Arguments", "are", "passed", "partly", "in", "registers", ",", "partly", "on", "stack", ".", "If", "our", "function", "returns", "a", "struct", ",", "a", "pointer", "to", "a", "buffer", "for", "it", "is", "at", "the", "top", "of", "the", "stack", "(", "last", "thing", "pushed", ")", ".", "The", "first", "few", "real", "arguments", "may", "be", "in", "registers", "as", "follows", ":", "R8C/M16C", ":", "arg1", "in", "r1", "if", "it", "'s", "QI", "or", "HI", "(", "else", "it", "'s", "pushed", "on", "stack", ")", "arg2", "in", "r2", "if", "it", "'s", "HI", "(", "else", "pushed", "on", "stack", ")", "rest", "on", "stack", "M32C", ":", "arg1", "in", "r0", "if", "it", "'s", "QI", "or", "HI", "(", "else", "it", "'s", "pushed", "on", "stack", ")", "rest", "on", "stack", "Structs", "are", "not", "passed", "in", "registers", ",", "even", "if", "they", "fit", ".", "Only", "integer", "and", "pointer", "types", "are", "passed", "in", "registers", ".", "Note", "that", "when", "arg1", "does", "n't", "fit", "in", "r1", ",", "arg2", "may", "still", "be", "passed", "in", "r2", "if", "it", "fits", "."], "TS_V_token": ["m32c", "\"func_arg %d (%s, %d)\\n\"", "0", "\"func arg: force %d named %d, mem\\n\"", "1", "1", "2", "2", "2"], "File": "m32c2", "Func": "m32c_function_arg", "Target": "m32c", "Target_Clf": "MPU", "Compiler_Type": "GCC", "Idx": 1242, "Length": 178, "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", "?", "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", "1", "0", "1", "1", "0"], "File": "sparc4", "Func": "sparc_arg_partial_bytes", "Target": "sparc", "Target_Clf": "CPU", "Compiler_Type": "GCC", "Idx": 1243, "Length": 220, "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": 1244, "Length": 16, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "void", "SNESTargetLowering", "::", "ReplaceNodeResults", "(", "SDNode", "*", "N", ",", "SmallVectorImpl", "<", "SDValue", ">", "&", "Results", ",", "SelectionDAG", "&", "DAG", ")", "const", "{", "SDLoc", "DL", "(", "N", ")", ";", "switch", "(", "N", "->", "getOpcode", "(", ")", ")", "{", "case", "ISD", "::", "ADD", ":", "{", "if", "(", "const", "ConstantSDNode", "*", "C", "=", "dyn_cast", "<", "ConstantSDNode", ">", "(", "N", "->", "getOperand", "(", "1", ")", ")", ")", "{", "SDValue", "Sub", "=", "DAG", ".", "getNode", "(", "ISD", "::", "SUB", ",", "DL", ",", "N", "->", "getValueType", "(", "0", ")", ",", "N", "->", "getOperand", "(", "0", ")", ",", "DAG", ".", "getConstant", "(", "-", "C", "->", "getAPIntValue", "(", ")", ",", "DL", ",", "C", "->", "getValueType", "(", "0", ")", ")", ")", ";", "Results", ".", "push_back", "(", "Sub", ")", ";", "}", "break", ";", "}", "default", ":", "{", "SDValue", "Res", "=", "LowerOperation", "(", "SDValue", "(", "N", ",", "0", ")", ",", "DAG", ")", ";", "for", "(", "unsigned", "I", "=", "0", ",", "E", "=", "Res", "->", "getNumValues", "(", ")", ";", "I", "!=", "E", ";", "++", "I", ")", "Results", ".", "push_back", "(", "Res", ".", "getValue", "(", "I", ")", ")", ";", "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": ["SNES", "SNES", "ISD::ADD", "1", "ISD::SUB", "0", "0", "0", "0", "0"], "File": "SNESISelLowering", "Func": "ReplaceNodeResults", "Target": "SNES", "Target_Clf": "DSP", "Compiler_Type": "LLVM", "Idx": 1245, "Length": 181, "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": 1246, "Length": 52, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "unsigned", "XCoreRegisterInfo", "::", "getFrameRegister", "(", "const", "MachineFunction", "&", "MF", ")", "const", "{", "const", "XCoreFrameLowering", "*", "TFI", "=", "getFrameLowering", "(", "MF", ")", ";", "return", "TFI", "->", "hasFP", "(", "MF", ")", "?", "XCore", "::", "R10", ":", "XCore", "::", "SP", ";", "}", ""], "natrual_language": ["Debug", "information", "queries", "."], "TS_V_token": ["XCore", "XCore", "XCore", "XCore::R10", "XCore::SP"], "File": "XCoreRegisterInfo10", "Func": "getFrameRegister", "Target": "XCore", "Target_Clf": "MPU", "Compiler_Type": "LLVM", "Idx": 1247, "Length": 39, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "bool", "HexagonTargetLowering", "::", "allowsMisalignedMemoryAccesses", "(", "EVT", "VT", ",", "unsigned", "AS", ",", "unsigned", "Align", ",", "bool", "*", "Fast", ")", "const", "{", "if", "(", "Fast", ")", "*", "Fast", "=", "false", ";", "switch", "(", "VT", ".", "getSimpleVT", "(", ")", ".", "SimpleTy", ")", "{", "default", ":", "return", "false", ";", "case", "MVT", "::", "v64i8", ":", "case", "MVT", "::", "v128i8", ":", "case", "MVT", "::", "v256i8", ":", "case", "MVT", "::", "v32i16", ":", "case", "MVT", "::", "v64i16", ":", "case", "MVT", "::", "v128i16", ":", "case", "MVT", "::", "v16i32", ":", "case", "MVT", "::", "v32i32", ":", "case", "MVT", "::", "v64i32", ":", "return", "true", ";", "}", "return", "false", ";", "}", ""], "natrual_language": ["Returns", "true", "if", "the", "target", "allows", "unaligned", "memory", "accesses", "of", "the", "specified", "type", "."], "TS_V_token": ["Hexagon", "Hexagon", "MVT::v64i8", "MVT::v128i8", "MVT::v256i8", "MVT::v32i16", "MVT::v64i16", "MVT::v128i16", "MVT::v16i32", "MVT::v32i32", "MVT::v64i32"], "File": "HexagonISelLowering (2)1", "Func": "allowsMisalignedMemoryAccesses", "Target": "Hexagon", "Target_Clf": "DSP", "Compiler_Type": "LLVM", "Idx": 1248, "Length": 98, "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": 1249, "Length": 24, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "static", "reg_class_t", "arc_secondary_reload", "(", "bool", "in_p", ",", "rtx", "x", ",", "reg_class_t", "cl", ",", "machine_mode", "mode", ",", "secondary_reload_info", "*", "sri", ")", "{", "enum", "rtx_code", "code", "=", "GET_CODE", "(", "x", ")", ";", "if", "(", "cl", "==", "DOUBLE_REGS", ")", "return", "GENERAL_REGS", ";", "if", "(", "(", "cl", "==", "LPCOUNT_REG", "||", "cl", "==", "WRITABLE_CORE_REGS", ")", "&&", "in_p", "&&", "MEM_P", "(", "x", ")", ")", "return", "GENERAL_REGS", ";", "if", "(", "code", "==", "SUBREG", ")", "{", "rtx", "addr", "=", "NULL_RTX", ";", "x", "=", "SUBREG_REG", "(", "x", ")", ";", "if", "(", "REG_P", "(", "x", ")", ")", "{", "int", "regno", "=", "REGNO", "(", "x", ")", ";", "if", "(", "regno", ">=", "FIRST_PSEUDO_REGISTER", ")", "regno", "=", "reg_renumber", "[", "regno", "]", ";", "if", "(", "regno", "!=", "-", "1", ")", "return", "NO_REGS", ";", "if", "(", "reg_equiv_mem", "(", "REGNO", "(", "x", ")", ")", ")", "{", "rtx", "mem", "=", "reg_equiv_mem", "(", "REGNO", "(", "x", ")", ")", ";", "addr", "=", "find_replacement", "(", "&", "XEXP", "(", "mem", ",", "0", ")", ")", ";", "}", "}", "else", "{", "gcc_assert", "(", "MEM_P", "(", "x", ")", ")", ";", "addr", "=", "XEXP", "(", "x", ",", "0", ")", ";", "addr", "=", "simplify_rtx", "(", "addr", ")", ";", "}", "if", "(", "addr", "&&", "GET_CODE", "(", "addr", ")", "==", "PLUS", "&&", "CONST_INT_P", "(", "XEXP", "(", "addr", ",", "1", ")", ")", "&&", "(", "!", "RTX_OK_FOR_OFFSET_P", "(", "mode", ",", "XEXP", "(", "addr", ",", "1", ")", ")", ")", ")", "{", "switch", "(", "mode", ")", "{", "case", "E_QImode", ":", "sri", "->", "icode", "=", "in_p", "?", "CODE_FOR_reload_qi_load", ":", "CODE_FOR_reload_qi_store", ";", "break", ";", "case", "E_HImode", ":", "sri", "->", "icode", "=", "in_p", "?", "CODE_FOR_reload_hi_load", ":", "CODE_FOR_reload_hi_store", ";", "break", ";", "default", ":", "break", ";", "}", "}", "}", "return", "NO_REGS", ";", "}", ""], "natrual_language": ["For", "ARC", "base", "register", "+", "offset", "addressing", ",", "the", "validity", "of", "the", "address", "is", "mode-dependent", "for", "most", "of", "the", "offset", "range", ",", "as", "the", "offset", "can", "be", "scaled", "by", "the", "access", "size", ".", "We", "do", "n't", "expose", "these", "as", "mode-dependent", "addresses", "in", "the", "mode_dependent_address_p", "target", "hook", ",", "because", "that", "would", "disable", "lots", "of", "optimizations", ",", "and", "most", "uses", "of", "these", "addresses", "are", "for", "32", "or", "64", "bit", "accesses", "anyways", ",", "which", "are", "fine", ".", "However", ",", "that", "leaves", "some", "addresses", "for", "8", "/", "16", "bit", "values", "not", "properly", "reloaded", "by", "the", "generic", "code", ",", "which", "is", "why", "we", "have", "to", "schedule", "secondary", "reloads", "for", "these", "."], "TS_V_token": ["arc", "1", "0", "0", "1", "1"], "File": "arc7", "Func": "arc_secondary_reload", "Target": "arc", "Target_Clf": "MPU", "Compiler_Type": "GCC", "Idx": 1250, "Length": 266, "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": 1251, "Length": 85, "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": 1252, "Length": 102, "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": 1253, "Length": 68, "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": 1254, "Length": 254, "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": 1255, "Length": 337, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "static", "bool", "gen_one_bundle", "(", "rtx_insn", "*", "slot", "[", "3", "]", ")", "{", "gcc_assert", "(", "slot", "[", "1", "]", "!=", "NULL_RTX", ")", ";", "if", "(", "optimize_size", "&&", "(", "slot", "[", "0", "]", "==", "NULL_RTX", "||", "slot", "[", "2", "]", "==", "NULL_RTX", ")", ")", "return", "false", ";", "if", "(", "slot", "[", "0", "]", ")", "{", "rtx_insn", "*", "t", "=", "NEXT_INSN", "(", "slot", "[", "0", "]", ")", ";", "while", "(", "t", "!=", "slot", "[", "1", "]", ")", "{", "if", "(", "!", "NOTE_P", "(", "t", ")", "||", "NOTE_KIND", "(", "t", ")", "!=", "NOTE_INSN_DELETED", ")", "return", "false", ";", "t", "=", "NEXT_INSN", "(", "t", ")", ";", "}", "}", "if", "(", "slot", "[", "2", "]", ")", "{", "rtx_insn", "*", "t", "=", "NEXT_INSN", "(", "slot", "[", "1", "]", ")", ";", "while", "(", "t", "!=", "slot", "[", "2", "]", ")", "{", "if", "(", "!", "NOTE_P", "(", "t", ")", "||", "NOTE_KIND", "(", "t", ")", "!=", "NOTE_INSN_DELETED", ")", "return", "false", ";", "t", "=", "NEXT_INSN", "(", "t", ")", ";", "}", "}", "if", "(", "slot", "[", "0", "]", "==", "NULL_RTX", ")", "{", "slot", "[", "0", "]", "=", "emit_insn_before", "(", "gen_mnop", "(", ")", ",", "slot", "[", "1", "]", ")", ";", "df_insn_rescan", "(", "slot", "[", "0", "]", ")", ";", "}", "if", "(", "slot", "[", "2", "]", "==", "NULL_RTX", ")", "{", "slot", "[", "2", "]", "=", "emit_insn_after", "(", "gen_forced_nop", "(", ")", ",", "slot", "[", "1", "]", ")", ";", "df_insn_rescan", "(", "slot", "[", "2", "]", ")", ";", "}", "if", "(", "INSN_LOCATION", "(", "slot", "[", "1", "]", ")", "&&", "INSN_LOCATION", "(", "slot", "[", "1", "]", ")", "!=", "INSN_LOCATION", "(", "slot", "[", "0", "]", ")", ")", "INSN_LOCATION", "(", "slot", "[", "1", "]", ")", "=", "INSN_LOCATION", "(", "slot", "[", "0", "]", ")", ";", "if", "(", "INSN_LOCATION", "(", "slot", "[", "2", "]", ")", "&&", "INSN_LOCATION", "(", "slot", "[", "2", "]", ")", "!=", "INSN_LOCATION", "(", "slot", "[", "0", "]", ")", ")", "INSN_LOCATION", "(", "slot", "[", "2", "]", ")", "=", "INSN_LOCATION", "(", "slot", "[", "0", "]", ")", ";", "PUT_MODE", "(", "slot", "[", "0", "]", ",", "SImode", ")", ";", "PUT_MODE", "(", "slot", "[", "1", "]", ",", "SImode", ")", ";", "PUT_MODE", "(", "slot", "[", "2", "]", ",", "QImode", ")", ";", "return", "true", ";", "}", ""], "natrual_language": ["Create", "a", "SEQUENCE", "rtx", "to", "replace", "the", "instructions", "in", "SLOT", ",", "of", "which", "there", "are", "N_FILLED", ".", "REAL_FIRST", "identifies", "the", "slot", "if", "the", "insn", "that", "appears", "first", "in", "the", "original", "stream", "."], "TS_V_token": ["bfin", "3", "1", "0", "2", "0", "0", "1", "2", "1", "2", "0", "0", "1", "0", "2", "2", "1", "2", "1", "1", "0", "1", "0", "2", "2", "0", "2", "0", "0", "1", "2"], "File": "bfin", "Func": "gen_one_bundle", "Target": "bfin", "Target_Clf": "DSP", "Compiler_Type": "GCC", "Idx": 1256, "Length": 349, "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": 1257, "Length": 7, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "int", "s390_single_part", "(", "rtx", "op", ",", "machine_mode", "mode", ",", "machine_mode", "part_mode", ",", "int", "def", ")", "{", "unsigned", "HOST_WIDE_INT", "value", "=", "0", ";", "int", "n_parts", "=", "GET_MODE_SIZE", "(", "mode", ")", "/", "GET_MODE_SIZE", "(", "part_mode", ")", ";", "unsigned", "HOST_WIDE_INT", "part_mask", "=", "(", "(", "unsigned", "HOST_WIDE_INT", ")", "1", "<<", "GET_MODE_BITSIZE", "(", "part_mode", ")", ")", "-", "1", ";", "int", "i", ",", "part", "=", "-", "1", ";", "if", "(", "GET_CODE", "(", "op", ")", "!=", "CONST_INT", ")", "return", "-", "1", ";", "for", "(", "i", "=", "0", ";", "i", "<", "n_parts", ";", "i", "++", ")", "{", "if", "(", "i", "==", "0", ")", "value", "=", "(", "unsigned", "HOST_WIDE_INT", ")", "INTVAL", "(", "op", ")", ";", "else", "value", ">>=", "GET_MODE_BITSIZE", "(", "part_mode", ")", ";", "if", "(", "(", "value", "&", "part_mask", ")", "!=", "(", "def", "&", "part_mask", ")", ")", "{", "if", "(", "part", "!=", "-", "1", ")", "return", "-", "1", ";", "else", "part", "=", "i", ";", "}", "}", "return", "part", "==", "-", "1", "?", "-", "1", ":", "n_parts", "-", "1", "-", "part", ";", "}", ""], "natrual_language": ["If", "OP", "is", "an", "integer", "constant", "of", "mode", "MODE", "with", "exactly", "one", "part", "of", "mode", "PART_MODE", "unequal", "to", "DEF", ",", "return", "the", "number", "of", "that", "part", ".", "Otherwise", ",", "return", "-1", "."], "TS_V_token": ["s390", "0", "1", "1", "1", "1", "0", "0", "1", "1", "1", "1", "1"], "File": "s3904", "Func": "s390_single_part", "Target": "s390", "Target_Clf": "MPU", "Compiler_Type": "GCC", "Idx": 1258, "Length": 163, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "bool", "HexagonPacketizer", "::", "runOnMachineFunction", "(", "MachineFunction", "&", "MF", ")", "{", "auto", "&", "HST", "=", "MF", ".", "getSubtarget", "<", "HexagonSubtarget", ">", "(", ")", ";", "HII", "=", "HST", ".", "getInstrInfo", "(", ")", ";", "HRI", "=", "HST", ".", "getRegisterInfo", "(", ")", ";", "auto", "&", "MLI", "=", "getAnalysis", "<", "MachineLoopInfo", ">", "(", ")", ";", "auto", "*", "AA", "=", "&", "getAnalysis", "<", "AAResultsWrapperPass", ">", "(", ")", ".", "getAAResults", "(", ")", ";", "auto", "*", "MBPI", "=", "&", "getAnalysis", "<", "MachineBranchProbabilityInfo", ">", "(", ")", ";", "if", "(", "EnableGenAllInsnClass", ")", "HII", "->", "genAllInsnTimingClasses", "(", "MF", ")", ";", "bool", "MinOnly", "=", "Minimal", "||", "DisablePacketizer", "||", "!", "HST", ".", "usePackets", "(", ")", "||", "skipFunction", "(", "MF", ".", "getFunction", "(", ")", ")", ";", "HexagonPacketizerList", "Packetizer", "(", "MF", ",", "MLI", ",", "AA", ",", "MBPI", ",", "MinOnly", ")", ";", "assert", "(", "Packetizer", ".", "getResourceTracker", "(", ")", "&&", "\"Empty DFA table!\"", ")", ";", "for", "(", "MachineBasicBlock", "&", "MB", ":", "MF", ")", "{", "auto", "End", "=", "MB", ".", "end", "(", ")", ";", "auto", "MI", "=", "MB", ".", "begin", "(", ")", ";", "while", "(", "MI", "!=", "End", ")", "{", "auto", "NextI", "=", "std", "::", "next", "(", "MI", ")", ";", "if", "(", "MI", "->", "isKill", "(", ")", ")", "{", "MB", ".", "erase", "(", "MI", ")", ";", "End", "=", "MB", ".", "end", "(", ")", ";", "}", "MI", "=", "NextI", ";", "}", "}", "if", "(", "HST", ".", "isTinyCoreWithDuplex", "(", ")", ")", "HII", "->", "translateInstrsForDup", "(", "MF", ",", "true", ")", ";", "for", "(", "auto", "&", "MB", ":", "MF", ")", "{", "auto", "Begin", "=", "MB", ".", "begin", "(", ")", ",", "End", "=", "MB", ".", "end", "(", ")", ";", "while", "(", "Begin", "!=", "End", ")", "{", "MachineBasicBlock", "::", "iterator", "RB", "=", "Begin", ";", "while", "(", "RB", "!=", "End", "&&", "HII", "->", "isSchedulingBoundary", "(", "*", "RB", ",", "&", "MB", ",", "MF", ")", ")", "++", "RB", ";", "MachineBasicBlock", "::", "iterator", "RE", "=", "RB", ";", "while", "(", "RE", "!=", "End", "&&", "!", "HII", "->", "isSchedulingBoundary", "(", "*", "RE", ",", "&", "MB", ",", "MF", ")", ")", "++", "RE", ";", "if", "(", "RE", "!=", "End", ")", "++", "RE", ";", "if", "(", "RB", "!=", "End", ")", "Packetizer", ".", "PacketizeMIs", "(", "&", "MB", ",", "RB", ",", "RE", ")", ";", "Begin", "=", "RE", ";", "}", "}", "if", "(", "HST", ".", "isTinyCoreWithDuplex", "(", ")", ")", "HII", "->", "translateInstrsForDup", "(", "MF", ",", "false", ")", ";", "Packetizer", ".", "unpacketizeSoloInstrs", "(", "MF", ")", ";", "return", "true", ";", "}", ""], "natrual_language": ["runOnMachineFunction", "-", "Emit", "the", "function", "body", "."], "TS_V_token": ["Hexagon", "Hexagon", "Hexagon", "Hexagon", "\"Empty DFA table!\""], "File": "HexagonVLIWPacketizer22", "Func": "runOnMachineFunction", "Target": "Hexagon", "Target_Clf": "DSP", "Compiler_Type": "LLVM", "Idx": 1259, "Length": 382, "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": 1260, "Length": 187, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "static", "void", "m32r_setup_incoming_varargs", "(", "cumulative_args_t", "cum", ",", "machine_mode", "mode", ",", "tree", "type", ",", "int", "*", "pretend_size", ",", "int", "no_rtl", ")", "{", "int", "first_anon_arg", ";", "if", "(", "no_rtl", ")", "return", ";", "gcc_assert", "(", "mode", "!=", "BLKmode", ")", ";", "first_anon_arg", "=", "(", "ROUND_ADVANCE_CUM", "(", "*", "get_cumulative_args", "(", "cum", ")", ",", "mode", ",", "type", ")", "+", "ROUND_ADVANCE_ARG", "(", "mode", ",", "type", ")", ")", ";", "if", "(", "first_anon_arg", "<", "M32R_MAX_PARM_REGS", ")", "{", "int", "first_reg_offset", "=", "first_anon_arg", ";", "int", "size", "=", "M32R_MAX_PARM_REGS", "-", "first_reg_offset", ";", "rtx", "regblock", ";", "regblock", "=", "gen_frame_mem", "(", "BLKmode", ",", "plus_constant", "(", "Pmode", ",", "arg_pointer_rtx", ",", "FIRST_PARM_OFFSET", "(", "0", ")", ")", ")", ";", "set_mem_alias_set", "(", "regblock", ",", "get_varargs_alias_set", "(", ")", ")", ";", "move_block_from_reg", "(", "first_reg_offset", ",", "regblock", ",", "size", ")", ";", "*", "pretend_size", "=", "(", "size", "*", "UNITS_PER_WORD", ")", ";", "}", "}", ""], "natrual_language": ["Do", "any", "needed", "setup", "for", "a", "variadic", "function", ".", "For", "the", "M32R", ",", "we", "must", "create", "a", "register", "parameter", "block", ",", "and", "then", "copy", "any", "anonymous", "arguments", "in", "registers", "to", "memory", ".", "CUM", "has", "not", "been", "updated", "for", "the", "last", "named", "argument", "which", "has", "type", "TYPE", "and", "mode", "MODE", ",", "and", "we", "rely", "on", "this", "fact", "."], "TS_V_token": ["m32r", "0"], "File": "m32r4", "Func": "m32r_setup_incoming_varargs", "Target": "m32r", "Target_Clf": "MPU", "Compiler_Type": "GCC", "Idx": 1261, "Length": 131, "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": 1262, "Length": 181, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "static", "rtx", "frame_move", "(", "rtx", "dst", ",", "rtx", "src", ")", "{", "return", "frame_insn", "(", "gen_rtx_SET", "(", "VOIDmode", ",", "dst", ",", "src", ")", ")", ";", "}", ""], "natrual_language": ["Emit", "a", "frame", "insn", "to", "move", "SRC", "to", "DST", "."], "TS_V_token": ["arc"], "File": "arc4", "Func": "frame_move", "Target": "arc", "Target_Clf": "MPU", "Compiler_Type": "GCC", "Idx": 1263, "Length": 25, "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": 1264, "Length": 15, "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": 1265, "Length": 153, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "bool", "TL45TargetLowering", "::", "canMergeStoresTo", "(", "unsigned", "AS", ",", "EVT", "MemVT", ",", "const", "SelectionDAG", "&", "DAG", ")", "const", "{", "return", "true", ";", "}", ""], "natrual_language": ["Returns", "if", "it", "'s", "reasonable", "to", "merge", "stores", "to", "MemVT", "size", "."], "TS_V_token": ["TL45", "TL45"], "File": "TL45ISelLowering", "Func": "canMergeStoresTo", "Target": "TL45", "Target_Clf": "MPU", "Compiler_Type": "LLVM", "Idx": 1266, "Length": 22, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "static", "bool", "nios2_small_section_name_p", "(", "const", "char", "*", "section", ")", "{", "return", "(", "strcmp", "(", "section", ",", "\".sbss\"", ")", "==", "0", "||", "strncmp", "(", "section", ",", "\".sbss.\"", ",", "6", ")", "==", "0", "||", "strcmp", "(", "section", ",", "\".sdata\"", ")", "==", "0", "||", "strncmp", "(", "section", ",", "\".sdata.\"", ",", "7", ")", "==", "0", ")", ";", "}", ""], "natrual_language": ["Return", "true", "if", "SECTION", "is", "a", "small", "section", "name", "."], "TS_V_token": ["nios2", "\".sbss\"", "0", "\".sbss.\"", "6", "0", "\".sdata\"", "0", "\".sdata.\"", "7", "0"], "File": "nios22", "Func": "nios2_small_section_name_p", "Target": "nios2", "Target_Clf": "MPU", "Compiler_Type": "GCC", "Idx": 1267, "Length": 54, "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": 1268, "Length": 190, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "bool", "SPIRVInstrInfo", "::", "expandPostRAPseudo", "(", "MachineInstr", "&", "MI", ")", "const", "{", "if", "(", "MI", ".", "getOpcode", "(", ")", "==", "SPIRV", "::", "GET_ID", "||", "MI", ".", "getOpcode", "(", ")", "==", "SPIRV", "::", "GET_fID", "||", "MI", ".", "getOpcode", "(", ")", "==", "SPIRV", "::", "GET_pID", "||", "MI", ".", "getOpcode", "(", ")", "==", "SPIRV", "::", "GET_vfID", "||", "MI", ".", "getOpcode", "(", ")", "==", "SPIRV", "::", "GET_vID", ")", "{", "auto", "&", "MRI", "=", "MI", ".", "getMF", "(", ")", "->", "getRegInfo", "(", ")", ";", "MRI", ".", "replaceRegWith", "(", "MI", ".", "getOperand", "(", "0", ")", ".", "getReg", "(", ")", ",", "MI", ".", "getOperand", "(", "1", ")", ".", "getReg", "(", ")", ")", ";", "MI", ".", "eraseFromParent", "(", ")", ";", "return", "true", ";", "}", "return", "false", ";", "}", ""], "natrual_language": ["This", "function", "is", "called", "for", "all", "pseudo", "instructions", "that", "remain", "after", "register", "allocation", "."], "TS_V_token": ["SPIRV", "SPIRV", "SPIRV::GET_ID", "SPIRV::GET_fID", "SPIRV::GET_pID", "SPIRV::GET_vfID", "SPIRV::GET_vID", "0", "1"], "File": "SPIRVInstrInfo1", "Func": "expandPostRAPseudo", "Target": "SPIRV", "Target_Clf": "Virtual ISA", "Compiler_Type": "LLVM", "Idx": 1269, "Length": 119, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "static", "void", "record_cc_ref", "(", "rtx", "insn", ")", "{", "last_insn_set_cc_p", "=", "current_insn_set_cc_p", ";", "switch", "(", "get_attr_cond", "(", "insn", ")", ")", "{", "case", "COND_SET", ":", "case", "COND_SET_ZN", ":", "case", "COND_SET_ZNC", ":", "if", "(", "get_attr_length", "(", "insn", ")", "==", "1", ")", "current_insn_set_cc_p", "=", "1", ";", "else", "current_insn_set_cc_p", "=", "0", ";", "break", ";", "default", ":", "current_insn_set_cc_p", "=", "0", ";", "break", ";", "}", "}", ""], "natrual_language": ["Update", "compare/branch", "separation", "marker", "."], "TS_V_token": ["arc", "1", "1", "0", "0"], "File": "arc3", "Func": "record_cc_ref", "Target": "arc", "Target_Clf": "MPU", "Compiler_Type": "GCC", "Idx": 1270, "Length": 59, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "const", "SortRegion", "*", "SortRegionInfo", "::", "getRegionFor", "(", "const", "MachineBasicBlock", "*", "MBB", ")", "{", "const", "auto", "*", "ML", "=", "MLI", ".", "getLoopFor", "(", "MBB", ")", ";", "const", "auto", "*", "WE", "=", "WEI", ".", "getExceptionFor", "(", "MBB", ")", ";", "if", "(", "!", "ML", "&&", "!", "WE", ")", "return", "nullptr", ";", "if", "(", "(", "ML", "&&", "!", "WE", ")", "||", "(", "ML", "&&", "WE", "&&", "WE", "->", "contains", "(", "ML", "->", "getHeader", "(", ")", ")", ")", ")", "{", "if", "(", "LoopMap", ".", "count", "(", "ML", ")", ")", "return", "LoopMap", "[", "ML", "]", ".", "get", "(", ")", ";", "LoopMap", "[", "ML", "]", "=", "std", "::", "make_unique", "<", "ConcreteSortRegion", "<", "MachineLoop", ">>", "(", "ML", ")", ";", "return", "LoopMap", "[", "ML", "]", ".", "get", "(", ")", ";", "}", "else", "{", "if", "(", "ExceptionMap", ".", "count", "(", "WE", ")", ")", "return", "ExceptionMap", "[", "WE", "]", ".", "get", "(", ")", ";", "ExceptionMap", "[", "WE", "]", "=", "std", "::", "make_unique", "<", "ConcreteSortRegion", "<", "WebAssemblyException", ">>", "(", "WE", ")", ";", "return", "ExceptionMap", "[", "WE", "]", ".", "get", "(", ")", ";", "}", "}", ""], "natrual_language": ["Get", "the", "smallest", "region", "that", "contains", "a", "BasicBlock", "."], "TS_V_token": ["WebAssembly", "WebAssembly"], "File": "WebAssemblySortRegion", "Func": "getRegionFor", "Target": "WebAssembly", "Target_Clf": "Virtual ISA", "Compiler_Type": "LLVM", "Idx": 1271, "Length": 172, "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": 1272, "Length": 171, "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": 1273, "Length": 13, "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": 1274, "Length": 12, "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": 1275, "Length": 49, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "unsigned", "MSP430InstrInfo", "::", "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", "(", ")", "!=", "MSP430", "::", "JMP", "&&", "I", "->", "getOpcode", "(", ")", "!=", "MSP430", "::", "JCC", "&&", "I", "->", "getOpcode", "(", ")", "!=", "MSP430", "::", "Br", "&&", "I", "->", "getOpcode", "(", ")", "!=", "MSP430", "::", "Bm", ")", "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": ["MSP430", "MSP430", "\"code size not handled\"", "0", "MSP430::JMP", "MSP430::JCC", "MSP430::Br", "MSP430::Bm"], "File": "MSP430InstrInfo30", "Func": "removeBranch", "Target": "MSP430", "Target_Clf": "MPU", "Compiler_Type": "LLVM", "Idx": 1276, "Length": 129, "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": 1277, "Length": 251, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "bool", "wext_odd_dep_p", "(", "rtx", "insn", ",", "rtx", "def_reg", ")", "{", "rtx", "shift_rtx", "=", "XEXP", "(", "SET_SRC", "(", "PATTERN", "(", "insn", ")", ")", ",", "0", ")", ";", "rtx", "use_reg", "=", "XEXP", "(", "shift_rtx", ",", "0", ")", ";", "rtx", "pos_rtx", "=", "XEXP", "(", "shift_rtx", ",", "1", ")", ";", "if", "(", "REG_P", "(", "pos_rtx", ")", "&&", "reg_overlap_p", "(", "def_reg", ",", "pos_rtx", ")", ")", "return", "true", ";", "if", "(", "GET_MODE", "(", "def_reg", ")", "==", "DImode", ")", "return", "reg_overlap_p", "(", "def_reg", ",", "use_reg", ")", ";", "gcc_assert", "(", "REG_P", "(", "def_reg", ")", "||", "GET_CODE", "(", "def_reg", ")", "==", "SUBREG", ")", ";", "gcc_assert", "(", "REG_P", "(", "use_reg", ")", "||", "GET_CODE", "(", "use_reg", ")", "==", "SUBREG", ")", ";", "if", "(", "REG_P", "(", "def_reg", ")", ")", "{", "if", "REG_P", "(", "use_reg", ")", "{", "if", "(", "!", "TARGET_BIG_ENDIAN", ")", "return", "REGNO", "(", "def_reg", ")", "==", "REGNO", "(", "use_reg", ")", "+", "1", ";", "else", "return", "REGNO", "(", "def_reg", ")", "==", "REGNO", "(", "use_reg", ")", ";", "}", "else", "return", "true", ";", "}", "if", "(", "GET_CODE", "(", "def_reg", ")", "==", "SUBREG", ")", "{", "if", "(", "!", "reg_overlap_p", "(", "def_reg", ",", "use_reg", ")", ")", "return", "false", ";", "if", "(", "GET_CODE", "(", "use_reg", ")", "==", "SUBREG", ")", "return", "true", ";", "if", "(", "!", "TARGET_BIG_ENDIAN", ")", "return", "SUBREG_BYTE", "(", "def_reg", ")", "==", "4", ";", "else", "return", "SUBREG_BYTE", "(", "def_reg", ")", "==", "0", ";", "}", "return", "false", ";", "}", ""], "natrual_language": ["Check", "if", "INSN", "is", "a", "wext", "insn", "consuming", "DEF_REG", "."], "TS_V_token": ["nds32", "0", "0", "1", "1", "4", "0"], "File": "nds32-pipelines-auxiliary", "Func": "wext_odd_dep_p", "Target": "nds32", "Target_Clf": "CPU", "Compiler_Type": "GCC", "Idx": 1278, "Length": 222, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "bool", "WebAssemblyFrameLowering", "::", "hasFP", "(", "const", "MachineFunction", "&", "MF", ")", "const", "{", "const", "MachineFrameInfo", "&", "MFI", "=", "MF", ".", "getFrameInfo", "(", ")", ";", "const", "auto", "*", "RegInfo", "=", "MF", ".", "getSubtarget", "<", "WebAssemblySubtarget", ">", "(", ")", ".", "getRegisterInfo", "(", ")", ";", "return", "MFI", ".", "isFrameAddressTaken", "(", ")", "||", "MFI", ".", "hasVarSizedObjects", "(", ")", "||", "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": ["WebAssembly", "WebAssembly", "WebAssembly"], "File": "WebAssemblyFrameLowering3", "Func": "hasFP", "Target": "WebAssembly", "Target_Clf": "Virtual ISA", "Compiler_Type": "LLVM", "Idx": 1279, "Length": 74, "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": 1280, "Length": 18, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "virtual", "void", "getAnalysisUsage", "(", "AnalysisUsage", "&", "AU", ")", "const", "{", "AU", ".", "addRequired", "<", "LiveIntervals", ">", "(", ")", ";", "AU", ".", "addPreserved", "<", "LiveIntervals", ">", "(", ")", ";", "AU", ".", "addPreserved", "<", "SlotIndexes", ">", "(", ")", ";", "AU", ".", "addPreservedID", "(", "MachineDominatorsID", ")", ";", "MachineFunctionPass", "::", "getAnalysisUsage", "(", "AU", ")", ";", "}", ""], "natrual_language": ["getAnalysisUsage", "-", "Subclasses", "that", "override", "getAnalysisUsage", "must", "call", "this", "."], "TS_V_token": ["Hexagon"], "File": "HexagonExpandCondsets24", "Func": "getAnalysisUsage", "Target": "Hexagon", "Target_Clf": "DSP", "Compiler_Type": "LLVM", "Idx": 1281, "Length": 52, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "void", "MCS51TargetObjectFile", "::", "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": ["MCS51", "MCS51", "\".progmem.data\""], "File": "MCS51TargetObjectFile", "Func": "Initialize", "Target": "MCS51", "Target_Clf": "MPU", "Compiler_Type": "LLVM", "Idx": 1282, "Length": 42, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "unsigned", "getReg", "(", ")", "const", "override", "{", "assert", "(", "(", "Kind", "==", "k_Register", "||", "Kind", "==", "k_Memri", ")", "&&", "\"Invalid access!\"", ")", ";", "return", "RegImm", ".", "Reg", ";", "}", ""], "natrual_language": ["Returns", "the", "register", "associated", "with", "this", "edge", "."], "TS_V_token": ["MCS51", "\"Invalid access!\""], "File": "MCS51AsmParser", "Func": "getReg", "Target": "MCS51", "Target_Clf": "MPU", "Compiler_Type": "LLVM", "Idx": 1283, "Length": 28, "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": 1284, "Length": 11, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "InstructionCost", "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", ";", "InstructionCost", "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": "AArch64TargetTransformInfo", "Func": "getIntImmCostInst", "Target": "AArch64", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 1285, "Length": 327, "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": 1286, "Length": 54, "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": 1287, "Length": 188, "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": 1288, "Length": 142, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "static", "void", "arc_ccfsm_at_label", "(", "const", "char", "*", "prefix", ",", "int", "num", ",", "struct", "arc_ccfsm", "*", "state", ")", "{", "if", "(", "state", "->", "state", "==", "3", "&&", "state", "->", "target_label", "==", "num", "&&", "!", "strcmp", "(", "prefix", ",", "\"L\"", ")", ")", "{", "state", "->", "state", "=", "0", ";", "state", "->", "target_insn", "=", "NULL", ";", "}", "}", ""], "natrual_language": ["Record", "that", "we", "are", "currently", "outputting", "label", "NUM", "with", "prefix", "PREFIX", ".", "It", "it", "'s", "the", "label", "we", "'re", "looking", "for", ",", "reset", "the", "ccfsm", "machinery", ".", "Called", "from", "(", "*", "targetm.asm_out.internal_label", ")", "."], "TS_V_token": ["arc", "3", "\"L\"", "0"], "File": "arc", "Func": "arc_ccfsm_at_label", "Target": "arc", "Target_Clf": "MPU", "Compiler_Type": "GCC", "Idx": 1289, "Length": 55, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "virtual", "const", "char", "*", "getPassName", "(", ")", "const", "{", "return", "\"PTX Machine Function Info Extractor\"", ";", "}", ""], "natrual_language": ["getPassName", "-", "Return", "a", "nice", "clean", "name", "for", "a", "pass", "."], "TS_V_token": ["PTX", "\"PTX Machine Function Info Extractor\""], "File": "PTXMFInfoExtract1", "Func": "getPassName", "Target": "PTX", "Target_Clf": "GPU", "Compiler_Type": "LLVM", "Idx": 1290, "Length": 13, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "bool", "s390_contiguous_bitmask_nowrap_p", "(", "unsigned", "HOST_WIDE_INT", "in", ",", "int", "size", ",", "int", "*", "pstart", ",", "int", "*", "pend", ")", "{", "int", "start", ";", "int", "end", "=", "-", "1", ";", "int", "lowbit", "=", "HOST_BITS_PER_WIDE_INT", "-", "1", ";", "int", "highbit", "=", "HOST_BITS_PER_WIDE_INT", "-", "size", ";", "unsigned", "HOST_WIDE_INT", "bitmask", "=", "HOST_WIDE_INT_1U", ";", "gcc_assert", "(", "!", "!", "pstart", "==", "!", "!", "pend", ")", ";", "for", "(", "start", "=", "lowbit", ";", "start", ">=", "highbit", ";", "bitmask", "<<=", "1", ",", "start", "--", ")", "if", "(", "end", "==", "-", "1", ")", "{", "if", "(", "bitmask", "&", "in", ")", "end", "=", "start", ";", "}", "else", "{", "if", "(", "!", "(", "bitmask", "&", "in", ")", ")", "break", ";", "}", "start", "++", ";", "if", "(", "end", "==", "-", "1", ")", "return", "false", ";", "if", "(", "start", ">", "highbit", ")", "{", "unsigned", "HOST_WIDE_INT", "mask", ";", "mask", "=", "(", "(", "~", "HOST_WIDE_INT_0U", ">>", "highbit", ")", "&", "(", "~", "HOST_WIDE_INT_0U", "<<", "(", "lowbit", "-", "start", "+", "1", ")", ")", ")", ";", "if", "(", "mask", "&", "in", ")", "return", "false", ";", "}", "if", "(", "pstart", ")", "{", "*", "pstart", "=", "start", ";", "*", "pend", "=", "end", ";", "}", "return", "true", ";", "}", ""], "natrual_language": ["Return", "true", "if", "IN", "contains", "a", "contiguous", "bitfield", "in", "the", "lower", "SIZE", "bits", "and", "no", "other", "bits", "are", "set", "in", "(", "the", "lower", "SIZE", "bits", "of", ")", "IN", ".", "PSTART", "and", "PEND", "can", "be", "used", "to", "obtain", "the", "start", "and", "end", "position", "(", "inclusive", ")", "of", "the", "bitfield", "relative", "to", "64", "bits", ".", "*", "PSTART", "/", "*", "PEND", "gives", "the", "position", "of", "the", "first/last", "bit", "of", "the", "bitfield", "counting", "from", "the", "highest", "order", "bit", "starting", "with", "zero", "."], "TS_V_token": ["s390", "1", "1", "1", "1", "1", "1"], "File": "s390", "Func": "s390_contiguous_bitmask_nowrap_p", "Target": "s390", "Target_Clf": "MPU", "Compiler_Type": "GCC", "Idx": 1291, "Length": 187, "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": 1292, "Length": 306, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "EVT", "AArch64TargetLowering", "::", "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": ["AArch64", "AArch64", "MVT::i32"], "File": "AArch64ISelLowering109", "Func": "getSetCCResultType", "Target": "AArch64", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 1293, "Length": 35, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "const", "char", "*", "avr_out_ashrpsi3", "(", "rtx_insn", "*", "insn", ",", "rtx", "*", "op", ",", "int", "*", "plen", ")", "{", "int", "dest", "=", "REGNO", "(", "op", "[", "0", "]", ")", ";", "int", "src", "=", "REGNO", "(", "op", "[", "1", "]", ")", ";", "if", "(", "CONST_INT_P", "(", "op", "[", "2", "]", ")", ")", "{", "if", "(", "plen", ")", "*", "plen", "=", "0", ";", "switch", "(", "INTVAL", "(", "op", "[", "2", "]", ")", ")", "{", "case", "8", ":", "if", "(", "dest", "<=", "src", ")", "return", "avr_asm_len", "(", "\"mov %A0,%B1\"", "CR_TAB", "\"mov %B0,%C1\"", "CR_TAB", "\"clr %C0\"", "CR_TAB", "\"sbrc %B0,7\"", "CR_TAB", "\"dec %C0\"", ",", "op", ",", "plen", ",", "5", ")", ";", "else", "return", "avr_asm_len", "(", "\"clr %C0\"", "CR_TAB", "\"sbrc %C1,7\"", "CR_TAB", "\"dec %C0\"", "CR_TAB", "\"mov %B0,%C1\"", "CR_TAB", "\"mov %A0,%B1\"", ",", "op", ",", "plen", ",", "5", ")", ";", "case", "16", ":", "if", "(", "dest", "!=", "src", "+", "2", ")", "avr_asm_len", "(", "\"mov %A0,%C1\"", ",", "op", ",", "plen", ",", "1", ")", ";", "return", "avr_asm_len", "(", "\"clr %B0\"", "CR_TAB", "\"sbrc %A0,7\"", "CR_TAB", "\"com %B0\"", "CR_TAB", "\"mov %C0,%B0\"", ",", "op", ",", "plen", ",", "4", ")", ";", "default", ":", "if", "(", "INTVAL", "(", "op", "[", "2", "]", ")", "<", "24", ")", "break", ";", "case", "23", ":", "return", "avr_asm_len", "(", "\"lsl %C0\"", "CR_TAB", "\"sbc %A0,%A0\"", "CR_TAB", "\"mov %B0,%A0\"", "CR_TAB", "\"mov %C0,%A0\"", ",", "op", ",", "plen", ",", "4", ")", ";", "}", "}", "out_shift_with_cnt", "(", "\"asr %C0\"", "CR_TAB", "\"ror %B0\"", "CR_TAB", "\"ror %A0\"", ",", "insn", ",", "op", ",", "plen", ",", "3", ")", ";", "return", "\"\"", ";", "}", ""], "natrual_language": ["24-bit", "arithmetic", "shift", "right"], "TS_V_token": ["avr", "0", "1", "2", "0", "2", "8", "\"mov %A0,%B1\"", "\"mov %B0,%C1\"", "\"clr %C0\"", "\"sbrc %B0,7\"", "\"dec %C0\"", "5", "\"clr %C0\"", "\"sbrc %C1,7\"", "\"dec %C0\"", "\"mov %B0,%C1\"", "\"mov %A0,%B1\"", "5", "16", "2", "\"mov %A0,%C1\"", "1", "\"clr %B0\"", "\"sbrc %A0,7\"", "\"com %B0\"", "\"mov %C0,%B0\"", "4", "2", "24", "23", "\"lsl %C0\"", "\"sbc %A0,%A0\"", "\"mov %B0,%A0\"", "\"mov %C0,%A0\"", "4", "\"asr %C0\"", "\"ror %B0\"", "\"ror %A0\"", "3", "\"\""], "File": "avr", "Func": "avr_out_ashrpsi3", "Target": "avr", "Target_Clf": "MPU", "Compiler_Type": "GCC", "Idx": 1294, "Length": 221, "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": 1295, "Length": 285, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "void", "BPFAsmBackend", "::", "applyFixup", "(", "const", "MCFixup", "&", "Fixup", ",", "char", "*", "Data", ",", "unsigned", "DataSize", ",", "uint64_t", "Value", ",", "bool", "IsPCRel", ")", "const", "{", "if", "(", "Fixup", ".", "getKind", "(", ")", "==", "FK_SecRel_4", "||", "Fixup", ".", "getKind", "(", ")", "==", "FK_SecRel_8", ")", "{", "assert", "(", "Value", "==", "0", ")", ";", "return", ";", "}", "assert", "(", "Fixup", ".", "getKind", "(", ")", "==", "FK_PCRel_2", ")", ";", "Value", "=", "(", "uint16_t", ")", "(", "(", "Value", "-", "8", ")", "/", "8", ")", ";", "if", "(", "IsLittleEndian", ")", "{", "Data", "[", "Fixup", ".", "getOffset", "(", ")", "+", "2", "]", "=", "Value", "&", "0xFF", ";", "Data", "[", "Fixup", ".", "getOffset", "(", ")", "+", "3", "]", "=", "Value", ">>", "8", ";", "}", "else", "{", "Data", "[", "Fixup", ".", "getOffset", "(", ")", "+", "2", "]", "=", "Value", ">>", "8", ";", "Data", "[", "Fixup", ".", "getOffset", "(", ")", "+", "3", "]", "=", "Value", "&", "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": ["BPF", "BPF", "0", "8", "8", "2", "0xFF", "3", "8", "2", "8", "3", "0xFF"], "File": "BPFAsmBackend", "Func": "applyFixup", "Target": "BPF", "Target_Clf": "Virtual ISA", "Compiler_Type": "LLVM", "Idx": 1296, "Length": 150, "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": 1297, "Length": 242, "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", ",", "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": ["WDC65816"], "File": "WDC65816ISelDAGToDAG", "Func": "SelectInlineAsmMemoryOperand", "Target": "WDC65816", "Target_Clf": "MPU", "Compiler_Type": "LLVM", "Idx": 1298, "Length": 83, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "bool", "WebAssemblyCallIndirectFixup", "::", "runOnMachineFunction", "(", "MachineFunction", "&", "MF", ")", "{", "LLVM_DEBUG", "(", "dbgs", "(", ")", "<<", "\"********** Fixing up CALL_INDIRECTs **********\\n\"", "<<", "\"********** Function: \"", "<<", "MF", ".", "getName", "(", ")", "<<", "'\\n'", ")", ";", "bool", "Changed", "=", "false", ";", "const", "WebAssemblyInstrInfo", "*", "TII", "=", "MF", ".", "getSubtarget", "<", "WebAssemblySubtarget", ">", "(", ")", ".", "getInstrInfo", "(", ")", ";", "for", "(", "MachineBasicBlock", "&", "MBB", ":", "MF", ")", "{", "for", "(", "MachineInstr", "&", "MI", ":", "MBB", ")", "{", "if", "(", "isPseudoCallIndirect", "(", "MI", ")", ")", "{", "LLVM_DEBUG", "(", "dbgs", "(", ")", "<<", "\"Found call_indirect: \"", "<<", "MI", "<<", "'\\n'", ")", ";", "const", "MCInstrDesc", "&", "Desc", "=", "TII", "->", "get", "(", "getNonPseudoCallIndirectOpcode", "(", "MI", ")", ")", ";", "MI", ".", "setDesc", "(", "Desc", ")", ";", "SmallVector", "<", "MachineOperand", ",", "8", ">", "Ops", ";", "Ops", ".", "push_back", "(", "MachineOperand", "::", "CreateImm", "(", "0", ")", ")", ";", "Ops", ".", "push_back", "(", "MachineOperand", "::", "CreateImm", "(", "0", ")", ")", ";", "for", "(", "const", "MachineOperand", "&", "MO", ":", "make_range", "(", "MI", ".", "operands_begin", "(", ")", "+", "MI", ".", "getDesc", "(", ")", ".", "getNumDefs", "(", ")", "+", "1", ",", "MI", ".", "operands_begin", "(", ")", "+", "MI", ".", "getNumExplicitOperands", "(", ")", ")", ")", "Ops", ".", "push_back", "(", "MO", ")", ";", "Ops", ".", "push_back", "(", "MI", ".", "getOperand", "(", "MI", ".", "getDesc", "(", ")", ".", "getNumDefs", "(", ")", ")", ")", ";", "while", "(", "MI", ".", "getNumOperands", "(", ")", ">", "MI", ".", "getDesc", "(", ")", ".", "getNumDefs", "(", ")", ")", "MI", ".", "RemoveOperand", "(", "MI", ".", "getNumOperands", "(", ")", "-", "1", ")", ";", "for", "(", "const", "MachineOperand", "&", "MO", ":", "Ops", ")", "MI", ".", "addOperand", "(", "MO", ")", ";", "LLVM_DEBUG", "(", "dbgs", "(", ")", "<<", "\" After transform: \"", "<<", "MI", ")", ";", "Changed", "=", "true", ";", "}", "}", "}", "LLVM_DEBUG", "(", "dbgs", "(", ")", "<<", "\"\\nDone fixing up CALL_INDIRECTs\\n\\n\"", ")", ";", "return", "Changed", ";", "}", ""], "natrual_language": ["runOnMachineFunction", "-", "Emit", "the", "function", "body", "."], "TS_V_token": ["WebAssembly", "WebAssembly", "\"********** Fixing up CALL_INDIRECTs **********\\n\"", "\"********** Function: \"", "WebAssembly", "WebAssembly", "\"Found call_indirect: \"", "8", "0", "0", "1", "1", "\" After transform: \"", "\"\\nDone fixing up CALL_INDIRECTs\\n\\n\""], "File": "WebAssemblyCallIndirectFixup", "Func": "runOnMachineFunction", "Target": "WebAssembly", "Target_Clf": "Virtual ISA", "Compiler_Type": "LLVM", "Idx": 1299, "Length": 290, "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": ["SIC", "0"], "File": "SICInstrInfo", "Func": "storeRegToStackSlot", "Target": "SIC", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 1300, "Length": 54, "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": 1301, "Length": 19, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "static", "bool", "arc_pass_by_reference", "(", "cumulative_args_t", "ca_v", "ATTRIBUTE_UNUSED", ",", "machine_mode", "mode", "ATTRIBUTE_UNUSED", ",", "const_tree", "type", ",", "bool", "named", "ATTRIBUTE_UNUSED", ")", "{", "return", "(", "type", "!=", "0", "&&", "(", "TREE_CODE", "(", "TYPE_SIZE", "(", "type", ")", ")", "!=", "INTEGER_CST", "||", "TREE_ADDRESSABLE", "(", "type", ")", ")", ")", ";", "}", ""], "natrual_language": ["For", "ARC", ",", "All", "aggregates", "and", "arguments", "greater", "than", "8", "bytes", "are", "passed", "by", "reference", "."], "TS_V_token": ["arc", "0"], "File": "arc4", "Func": "arc_pass_by_reference", "Target": "arc", "Target_Clf": "MPU", "Compiler_Type": "GCC", "Idx": 1302, "Length": 45, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "int", "valid_subreg", "(", "rtx", "op", ")", "{", "machine_mode", "om", "=", "GET_MODE", "(", "op", ")", ";", "machine_mode", "im", "=", "GET_MODE", "(", "SUBREG_REG", "(", "op", ")", ")", ";", "return", "om", "!=", "VOIDmode", "&&", "im", "!=", "VOIDmode", "&&", "(", "GET_MODE_SIZE", "(", "im", ")", "==", "GET_MODE_SIZE", "(", "om", ")", "||", "(", "GET_MODE_SIZE", "(", "im", ")", "<=", "4", "&&", "GET_MODE_SIZE", "(", "om", ")", "<=", "4", ")", "||", "(", "GET_MODE_SIZE", "(", "im", ")", ">=", "16", "&&", "GET_MODE_SIZE", "(", "om", ")", ">=", "16", ")", ")", ";", "}", ""], "natrual_language": ["GCC", "assumes", "that", "in", "a", "paradoxical", "SUBREG", "the", "inner", "mode", "occupies", "the", "least", "significant", "bytes", "of", "the", "outer", "mode", ".", "This", "function", "returns", "TRUE", "for", "the", "SUBREG", "'s", "where", "this", "is", "correct", "."], "TS_V_token": ["spu", "4", "4", "16", "16"], "File": "spu", "Func": "valid_subreg", "Target": "spu", "Target_Clf": "MPU", "Compiler_Type": "GCC", "Idx": 1303, "Length": 80, "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": 1304, "Length": 12, "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": 1305, "Length": 39, "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": 1306, "Length": 91, "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": 1307, "Length": 167, "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": 1308, "Length": 406, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "void", "emitPrologue", "(", "MachineFunction", "&", "MF", ",", "MachineBasicBlock", "&", "MBB", ")", "const", "{", "}", ""], "natrual_language": ["emitProlog/emitEpilog", "-", "These", "methods", "insert", "prolog", "and", "epilog", "code", "into", "the", "function", "."], "TS_V_token": ["AMDGPU"], "File": "R600FrameLowering1", "Func": "emitPrologue", "Target": "AMDGPU", "Target_Clf": "GPU", "Compiler_Type": "LLVM", "Idx": 1309, "Length": 14, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "SDNode", "*", "MBlazeDAGToDAGISel", "::", "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": ["MBlaze", "MBlaze"], "File": "MBlazeISelDAGToDAG", "Func": "getGlobalBaseReg", "Target": "MBlaze", "Target_Clf": "MPU", "Compiler_Type": "LLVM", "Idx": 1310, "Length": 41, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "yaml", "::", "MachineFunctionInfo", "*", "WebAssemblyTargetMachine", "::", "createDefaultFuncInfoYAML", "(", ")", "const", "{", "return", "new", "yaml", "::", "WebAssemblyFunctionInfo", "(", ")", ";", "}", ""], "natrual_language": ["Allocate", "and", "return", "a", "default", "initialized", "instance", "of", "the", "YAML", "representation", "for", "the", "MachineFunctionInfo", "."], "TS_V_token": ["WebAssembly", "WebAssembly", "WebAssembly"], "File": "WebAssemblyTargetMachine13", "Func": "createDefaultFuncInfoYAML", "Target": "WebAssembly", "Target_Clf": "Virtual ISA", "Compiler_Type": "LLVM", "Idx": 1311, "Length": 20, "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": 1312, "Length": 337, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "SDValue", "TMS320C64XLowering", "::", "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", ">", "RLocs", ";", "SDValue", "Flag", ";", "CCState", "CCInfo", "(", "CallConv", ",", "isVarArg", ",", "DAG", ".", "getTarget", "(", ")", ",", "RLocs", ",", "*", "DAG", ".", "getContext", "(", ")", ")", ";", "CCInfo", ".", "AnalyzeReturn", "(", "Outs", ",", "RetCC_TMS320C64X", ")", ";", "if", "(", "DAG", ".", "getMachineFunction", "(", ")", ".", "getRegInfo", "(", ")", ".", "liveout_empty", "(", ")", ")", "{", "for", "(", "unsigned", "i", "=", "0", ";", "i", "!=", "RLocs", ".", "size", "(", ")", ";", "++", "i", ")", "if", "(", "RLocs", "[", "i", "]", ".", "isRegLoc", "(", ")", ")", "DAG", ".", "getMachineFunction", "(", ")", ".", "getRegInfo", "(", ")", ".", "addLiveOut", "(", "RLocs", "[", "i", "]", ".", "getLocReg", "(", ")", ")", ";", "}", "for", "(", "unsigned", "i", "=", "0", ";", "i", "!=", "RLocs", ".", "size", "(", ")", ";", "++", "i", ")", "{", "CCValAssign", "&", "VA", "=", "RLocs", "[", "i", "]", ";", "assert", "(", "VA", ".", "isRegLoc", "(", ")", "&&", "\"Invalid return position\"", ")", ";", "Chain", "=", "DAG", ".", "getCopyToReg", "(", "Chain", ",", "dl", ",", "VA", ".", "getLocReg", "(", ")", ",", "OutVals", "[", "i", "]", ",", "Flag", ")", ";", "Flag", "=", "Chain", ".", "getValue", "(", "1", ")", ";", "}", "if", "(", "Flag", ".", "getNode", "(", ")", ")", "return", "DAG", ".", "getNode", "(", "TMSISD", "::", "RETURN_FLAG", ",", "dl", ",", "MVT", "::", "Other", ",", "Chain", ",", "Flag", ")", ";", "else", "return", "DAG", ".", "getNode", "(", "TMSISD", "::", "RETURN_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": ["TMS320C64X", "TMS320C64X", "ISD::OutputArg", "16", "TMS320C64X", "0", "0", "\"Invalid return position\"", "1", "TMSISD::RETURN_FLAG", "MVT::Other", "TMSISD::RETURN_FLAG", "MVT::Other"], "File": "TMS320C64XLowering", "Func": "LowerReturn", "Target": "TMS320C64X", "Target_Clf": "VLIW", "Compiler_Type": "LLVM", "Idx": 1313, "Length": 276, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "enum", "attr_size", "m68k_sched_attr_size", "(", "rtx_insn", "*", "insn", ")", "{", "switch", "(", "sched_get_attr_size_int", "(", "insn", ")", ")", "{", "case", "1", ":", "return", "SIZE_1", ";", "case", "2", ":", "return", "SIZE_2", ";", "case", "3", ":", "return", "SIZE_3", ";", "default", ":", "gcc_unreachable", "(", ")", ";", "}", "}", ""], "natrual_language": ["Return", "size", "of", "INSN", "as", "attribute", "enum", "value", "."], "TS_V_token": ["m68k", "1", "2", "3"], "File": "m68k", "Func": "m68k_sched_attr_size", "Target": "m68k", "Target_Clf": "MPU", "Compiler_Type": "GCC", "Idx": 1314, "Length": 43, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "tree", "s390_build_va_list", "(", ")", "{", "tree", "f_gpr", ",", "f_fpr", ",", "f_ovf", ",", "f_sav", ",", "record", ",", "type_decl", ";", "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\"", ")", ",", "long_integer_type_node", ")", ";", "f_fpr", "=", "build_decl", "(", "FIELD_DECL", ",", "get_identifier", "(", "\"__fpr\"", ")", ",", "long_integer_type_node", ")", ";", "f_ovf", "=", "build_decl", "(", "FIELD_DECL", ",", "get_identifier", "(", "\"__overflow_arg_area\"", ")", ",", "ptr_type_node", ")", ";", "f_sav", "=", "build_decl", "(", "FIELD_DECL", ",", "get_identifier", "(", "\"__reg_save_area\"", ")", ",", "ptr_type_node", ")", ";", "DECL_FIELD_CONTEXT", "(", "f_gpr", ")", "=", "record", ";", "DECL_FIELD_CONTEXT", "(", "f_fpr", ")", "=", "record", ";", "DECL_FIELD_CONTEXT", "(", "f_ovf", ")", "=", "record", ";", "DECL_FIELD_CONTEXT", "(", "f_sav", ")", "=", "record", ";", "TREE_CHAIN", "(", "record", ")", "=", "type_decl", ";", "TYPE_NAME", "(", "record", ")", "=", "type_decl", ";", "TYPE_FIELDS", "(", "record", ")", "=", "f_gpr", ";", "TREE_CHAIN", "(", "f_gpr", ")", "=", "f_fpr", ";", "TREE_CHAIN", "(", "f_fpr", ")", "=", "f_ovf", ";", "TREE_CHAIN", "(", "f_ovf", ")", "=", "f_sav", ";", "layout_type", "(", "record", ")", ";", "return", "build_array_type", "(", "record", ",", "build_index_type", "(", "size_zero_node", ")", ")", ";", "}", ""], "natrual_language": ["Create", "and", "return", "the", "va_list", "datatype", ".", "On", "S/390", ",", "va_list", "is", "an", "array", "type", "equivalent", "to", "typedef", "struct", "__va_list_tag", "{", "long", "__gpr", ";", "long", "__fpr", ";", "void", "*", "__overflow_arg_area", ";", "void", "*", "__reg_save_area", ";", "}", "va_list", "[", "1", "]", ";", "where", "__gpr", "and", "__fpr", "hold", "the", "number", "of", "general", "purpose", "or", "floating", "point", "arguments", "used", "up", "to", "now", ",", "respectively", ",", "__overflow_arg_area", "points", "to", "the", "stack", "location", "of", "the", "next", "argument", "passed", "on", "the", "stack", ",", "and", "__reg_save_area", "always", "points", "to", "the", "start", "of", "the", "register", "area", "in", "the", "call", "frame", "of", "the", "current", "function", ".", "The", "function", "prologue", "saves", "all", "registers", "used", "for", "argument", "passing", "into", "this", "area", "if", "the", "function", "uses", "variable", "arguments", "."], "TS_V_token": ["s390", "\"__va_list_tag\"", "\"__gpr\"", "\"__fpr\"", "\"__overflow_arg_area\"", "\"__reg_save_area\""], "File": "s3902", "Func": "s390_build_va_list", "Target": "s390", "Target_Clf": "MPU", "Compiler_Type": "GCC", "Idx": 1315, "Length": 182, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "void", "M88kPostLegalizerLowering", "::", "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": ["M88k", "M88k"], "File": "M88kPostLegalizerLowering", "Func": "getAnalysisUsage", "Target": "M88k", "Target_Clf": "MPU", "Compiler_Type": "LLVM", "Idx": 1316, "Length": 39, "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": 1317, "Length": 27, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "static", "rtx", "nvptx_condjump_label", "(", "const", "rtx_insn", "*", "insn", ",", "bool", "strict", "=", "true", ")", "{", "rtx", "x", "=", "nvptx_pc_set", "(", "insn", ",", "strict", ")", ";", "if", "(", "!", "x", ")", "return", "NULL_RTX", ";", "x", "=", "SET_SRC", "(", "x", ")", ";", "if", "(", "GET_CODE", "(", "x", ")", "==", "LABEL_REF", ")", "return", "x", ";", "if", "(", "GET_CODE", "(", "x", ")", "!=", "IF_THEN_ELSE", ")", "return", "NULL_RTX", ";", "if", "(", "XEXP", "(", "x", ",", "2", ")", "==", "pc_rtx", "&&", "GET_CODE", "(", "XEXP", "(", "x", ",", "1", ")", ")", "==", "LABEL_REF", ")", "return", "XEXP", "(", "x", ",", "1", ")", ";", "if", "(", "XEXP", "(", "x", ",", "1", ")", "==", "pc_rtx", "&&", "GET_CODE", "(", "XEXP", "(", "x", ",", "2", ")", ")", "==", "LABEL_REF", ")", "return", "XEXP", "(", "x", ",", "2", ")", ";", "return", "NULL_RTX", ";", "}", ""], "natrual_language": ["Variant", "of", "condjump_label", "that", "only", "requires", "JUMP_P", "(", "INSN", ")", "if", "STRICT", "."], "TS_V_token": ["nvptx", "2", "1", "1", "1", "2", "2"], "File": "nvptx", "Func": "nvptx_condjump_label", "Target": "nvptx", "Target_Clf": "GPU", "Compiler_Type": "GCC", "Idx": 1318, "Length": 130, "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": 1319, "Length": 427, "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": 1320, "Length": 69, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "int64_t", "getFrequency", "(", "const", "MachineBasicBlock", "*", "MBB", ",", "int64_t", "Default", "=", "-", "1", ")", "{", "FreqMap", "::", "iterator", "it", "=", "BlockFrequencies", ".", "find", "(", "MBB", ")", ";", "if", "(", "it", "!=", "BlockFrequencies", ".", "end", "(", ")", ")", "{", "return", "it", "->", "second", ";", "}", "return", "Default", ";", "}", ""], "natrual_language": ["Returns", "the", "frequency", "as", "a", "fixpoint", "number", "scaled", "by", "the", "entry", "frequency", "."], "TS_V_token": ["Patmos", "1"], "File": "PatmosMachineFunctionInfo", "Func": "getFrequency", "Target": "Patmos", "Target_Clf": "VLIW", "Compiler_Type": "LLVM", "Idx": 1321, "Length": 48, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "OffsetRange", "&", "shift", "(", "int32_t", "S", ")", "{", "assert", "(", "alignTo", "(", "std", "::", "abs", "(", "S", ")", ",", "Align", ")", "==", "uint64_t", "(", "std", "::", "abs", "(", "S", ")", ")", ")", ";", "Min", "+=", "S", ";", "Max", "+=", "S", ";", "return", "*", "this", ";", "}", ""], "natrual_language": ["Create", "a", "new", "AAMDNode", "that", "describes", "this", "AAMDNode", "after", "applying", "a", "constant", "offset", "to", "the", "start", "of", "the", "pointer", "."], "TS_V_token": ["Hexagon"], "File": "HexagonConstExtenders14", "Func": "shift", "Target": "Hexagon", "Target_Clf": "DSP", "Compiler_Type": "LLVM", "Idx": 1322, "Length": 46, "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": 1323, "Length": 119, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "bool", "AMDGPULowerIntrinsics", "::", "runOnModule", "(", "Module", "&", "M", ")", "{", "bool", "Changed", "=", "false", ";", "for", "(", "Function", "&", "F", ":", "M", ")", "{", "if", "(", "!", "F", ".", "isDeclaration", "(", ")", ")", "continue", ";", "switch", "(", "F", ".", "getIntrinsicID", "(", ")", ")", "{", "case", "Intrinsic", "::", "memcpy", ":", "case", "Intrinsic", "::", "memmove", ":", "case", "Intrinsic", "::", "memset", ":", "if", "(", "expandMemIntrinsicUses", "(", "F", ")", ")", "Changed", "=", "true", ";", "break", ";", "case", "Intrinsic", "::", "amdgcn_workitem_id_x", ":", "case", "Intrinsic", "::", "r600_read_tidig_x", ":", "case", "Intrinsic", "::", "amdgcn_workitem_id_y", ":", "case", "Intrinsic", "::", "r600_read_tidig_y", ":", "case", "Intrinsic", "::", "amdgcn_workitem_id_z", ":", "case", "Intrinsic", "::", "r600_read_tidig_z", ":", "case", "Intrinsic", "::", "r600_read_local_size_x", ":", "case", "Intrinsic", "::", "r600_read_local_size_y", ":", "case", "Intrinsic", "::", "r600_read_local_size_z", ":", "Changed", "|=", "makeLIDRangeMetadata", "(", "F", ")", ";", "break", ";", "default", ":", "break", ";", "}", "}", "return", "Changed", ";", "}", ""], "natrual_language": ["runOnModule", "-", "Virtual", "method", "overriden", "by", "subclasses", "to", "process", "the", "module", "being", "operated", "on", "."], "TS_V_token": ["AMDGPU", "AMDGPU", "Intrinsic::memcpy", "Intrinsic::memmove", "Intrinsic::memset", "Intrinsic::amdgcn_workitem_id_x", "Intrinsic::r600_read_tidig_x", "Intrinsic::amdgcn_workitem_id_y", "Intrinsic::r600_read_tidig_y", "Intrinsic::amdgcn_workitem_id_z", "Intrinsic::r600_read_tidig_z", "Intrinsic::r600_read_local_size_x", "Intrinsic::r600_read_local_size_y", "Intrinsic::r600_read_local_size_z"], "File": "AMDGPULowerIntrinsics", "Func": "runOnModule", "Target": "AMDGPU", "Target_Clf": "GPU", "Compiler_Type": "LLVM", "Idx": 1324, "Length": 136, "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": ["AArch64"], "File": "AArch64AsmParser (2)1", "Func": "isBarrier", "Target": "AArch64", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 1325, "Length": 12, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "void", "initialize", "(", "Attributor", "&", "A", ")", "override", "{", "Function", "*", "F", "=", "getAssociatedFunction", "(", ")", ";", "auto", "&", "InfoCache", "=", "static_cast", "<", "AMDGPUInformationCache", "&", ">", "(", "A", ".", "getInfoCache", "(", ")", ")", ";", "unsigned", "MinGroupSize", ",", "MaxGroupSize", ";", "std", "::", "tie", "(", "MinGroupSize", ",", "MaxGroupSize", ")", "=", "InfoCache", ".", "getFlatWorkGroupSizes", "(", "*", "F", ")", ";", "intersectKnown", "(", "ConstantRange", "(", "APInt", "(", "32", ",", "MinGroupSize", ")", ",", "APInt", "(", "32", ",", "MaxGroupSize", "+", "1", ")", ")", ")", ";", "}", ""], "natrual_language": ["Initialize", "the", "strategy", "after", "building", "the", "DAG", "for", "a", "new", "region", "."], "TS_V_token": ["AMDGPU", "AMDGPU", "32", "32", "1"], "File": "AMDGPUAttributor", "Func": "initialize", "Target": "AMDGPU", "Target_Clf": "GPU", "Compiler_Type": "LLVM", "Idx": 1326, "Length": 79, "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": 1327, "Length": 375, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "void", "R600MCCodeEmitter", "::", "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", "(", ")", ")", ";", "if", "(", "MI", ".", "getOpcode", "(", ")", "==", "R600", "::", "RETURN", "||", "MI", ".", "getOpcode", "(", ")", "==", "R600", "::", "FETCH_CLAUSE", "||", "MI", ".", "getOpcode", "(", ")", "==", "R600", "::", "ALU_CLAUSE", "||", "MI", ".", "getOpcode", "(", ")", "==", "R600", "::", "BUNDLE", "||", "MI", ".", "getOpcode", "(", ")", "==", "R600", "::", "KILL", ")", "{", "return", ";", "}", "else", "if", "(", "IS_VTX", "(", "Desc", ")", ")", "{", "uint64_t", "InstWord01", "=", "getBinaryCodeForInstr", "(", "MI", ",", "Fixups", ",", "STI", ")", ";", "uint32_t", "InstWord2", "=", "MI", ".", "getOperand", "(", "2", ")", ".", "getImm", "(", ")", ";", "if", "(", "!", "(", "STI", ".", "getFeatureBits", "(", ")", "[", "R600", "::", "FeatureCaymanISA", "]", ")", ")", "{", "InstWord2", "|=", "1", "<<", "19", ";", "}", "Emit", "(", "InstWord01", ",", "OS", ")", ";", "Emit", "(", "InstWord2", ",", "OS", ")", ";", "Emit", "(", "(", "uint32_t", ")", "0", ",", "OS", ")", ";", "}", "else", "if", "(", "IS_TEX", "(", "Desc", ")", ")", "{", "int64_t", "Sampler", "=", "MI", ".", "getOperand", "(", "14", ")", ".", "getImm", "(", ")", ";", "int64_t", "SrcSelect", "[", "4", "]", "=", "{", "MI", ".", "getOperand", "(", "2", ")", ".", "getImm", "(", ")", ",", "MI", ".", "getOperand", "(", "3", ")", ".", "getImm", "(", ")", ",", "MI", ".", "getOperand", "(", "4", ")", ".", "getImm", "(", ")", ",", "MI", ".", "getOperand", "(", "5", ")", ".", "getImm", "(", ")", "}", ";", "int64_t", "Offsets", "[", "3", "]", "=", "{", "MI", ".", "getOperand", "(", "6", ")", ".", "getImm", "(", ")", "&", "0x1F", ",", "MI", ".", "getOperand", "(", "7", ")", ".", "getImm", "(", ")", "&", "0x1F", ",", "MI", ".", "getOperand", "(", "8", ")", ".", "getImm", "(", ")", "&", "0x1F", "}", ";", "uint64_t", "Word01", "=", "getBinaryCodeForInstr", "(", "MI", ",", "Fixups", ",", "STI", ")", ";", "uint32_t", "Word2", "=", "Sampler", "<<", "15", "|", "SrcSelect", "[", "ELEMENT_X", "]", "<<", "20", "|", "SrcSelect", "[", "ELEMENT_Y", "]", "<<", "23", "|", "SrcSelect", "[", "ELEMENT_Z", "]", "<<", "26", "|", "SrcSelect", "[", "ELEMENT_W", "]", "<<", "29", "|", "Offsets", "[", "0", "]", "<<", "0", "|", "Offsets", "[", "1", "]", "<<", "5", "|", "Offsets", "[", "2", "]", "<<", "10", ";", "Emit", "(", "Word01", ",", "OS", ")", ";", "Emit", "(", "Word2", ",", "OS", ")", ";", "Emit", "(", "(", "uint32_t", ")", "0", ",", "OS", ")", ";", "}", "else", "{", "uint64_t", "Inst", "=", "getBinaryCodeForInstr", "(", "MI", ",", "Fixups", ",", "STI", ")", ";", "if", "(", "(", "STI", ".", "getFeatureBits", "(", ")", "[", "R600", "::", "FeatureR600ALUInst", "]", ")", "&&", "(", "(", "Desc", ".", "TSFlags", "&", "R600_InstFlag", "::", "OP1", ")", "||", "Desc", ".", "TSFlags", "&", "R600_InstFlag", "::", "OP2", ")", ")", "{", "uint64_t", "ISAOpCode", "=", "Inst", "&", "(", "0x3FFULL", "<<", "39", ")", ";", "Inst", "&=", "~", "(", "0x3FFULL", "<<", "39", ")", ";", "Inst", "|=", "ISAOpCode", "<<", "1", ";", "}", "Emit", "(", "Inst", ",", "OS", ")", ";", "}", "}", ""], "natrual_language": ["Encode", "the", "given", "Inst", "to", "bytes", "and", "append", "to", "CB", "."], "TS_V_token": ["AMDGPU", "R600", "R600::RETURN", "R600::FETCH_CLAUSE", "R600::ALU_CLAUSE", "R600::BUNDLE", "R600::KILL", "2", "R600::FeatureCaymanISA", "1", "19", "0", "14", "4", "2", "3", "4", "5", "3", "6", "0x1F", "7", "0x1F", "8", "0x1F", "15", "20", "23", "26", "29", "0", "0", "1", "5", "2", "10", "0", "R600::FeatureR600ALUInst", "R600_InstFlag::OP1", "R600_InstFlag::OP2", "0x3FFULL", "39", "0x3FFULL", "39", "1"], "File": "R600MCCodeEmitter1", "Func": "encodeInstruction", "Target": "AMDGPU", "Target_Clf": "GPU", "Compiler_Type": "LLVM", "Idx": 1328, "Length": 499, "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": 1329, "Length": 153, "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": 1330, "Length": 191, "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": 1331, "Length": 178, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "void", "llvm", "::", "emitSPUpdate", "(", "MachineBasicBlock", "&", "MBB", ",", "MachineBasicBlock", "::", "iterator", "MI", ",", "DebugLoc", "dl", ",", "const", "TargetInstrInfo", "&", "TII", ",", "unsigned", "ScratchReg", ",", "int64_t", "NumBytes", ",", "MachineInstr", "::", "MIFlag", "MIFlags", ")", "{", "emitRegUpdate", "(", "MBB", ",", "MI", ",", "dl", ",", "TII", ",", "AArch64", "::", "XSP", ",", "AArch64", "::", "XSP", ",", "AArch64", "::", "X16", ",", "NumBytes", ",", "MIFlags", ")", ";", "}", ""], "natrual_language": ["Emit", "a", "series", "of", "instructions", "to", "increment", "/", "decrement", "the", "stack", "pointer", "by", "a", "constant", "value", "."], "TS_V_token": ["AArch64", "AArch64::XSP", "AArch64::XSP", "AArch64::X16"], "File": "AArch64InstrInfo101", "Func": "emitSPUpdate", "Target": "AArch64", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 1332, "Length": 62, "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": 1333, "Length": 77, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "bool", "SIFrameLowering", "::", "hasFP", "(", "const", "MachineFunction", "&", "MF", ")", "const", "{", "const", "MachineFrameInfo", "&", "MFI", "=", "MF", ".", "getFrameInfo", "(", ")", ";", "if", "(", "MFI", ".", "hasCalls", "(", ")", "&&", "!", "MF", ".", "getInfo", "<", "SIMachineFunctionInfo", ">", "(", ")", "->", "isEntryFunction", "(", ")", ")", "{", "return", "MFI", ".", "getStackSize", "(", ")", "!=", "0", ";", "}", "return", "frameTriviallyRequiresSP", "(", "MFI", ")", "||", "MFI", ".", "isFrameAddressTaken", "(", ")", "||", "MF", ".", "getSubtarget", "<", "GCNSubtarget", ">", "(", ")", ".", "getRegisterInfo", "(", ")", "->", "hasStackRealignment", "(", "MF", ")", "||", "MF", ".", "getTarget", "(", ")", ".", "Options", ".", "DisableFramePointerElim", "(", "MF", ")", ";", "}", ""], "natrual_language": ["hasFP", "-", "Return", "true", "if", "the", "specified", "function", "should", "have", "a", "dedicated", "frame", "pointer", "register", "."], "TS_V_token": ["AMDGPU", "SI", "SI", "0"], "File": "SIFrameLowering", "Func": "hasFP", "Target": "AMDGPU", "Target_Clf": "GPU", "Compiler_Type": "LLVM", "Idx": 1334, "Length": 100, "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": 1335, "Length": 43, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "bool", "SITargetLowering", "::", "isLegalAddressingMode", "(", "const", "DataLayout", "&", "DL", ",", "const", "AddrMode", "&", "AM", ",", "Type", "*", "Ty", ",", "unsigned", "AS", ",", "Instruction", "*", "I", ")", "const", "{", "if", "(", "AM", ".", "BaseGV", ")", "return", "false", ";", "if", "(", "AS", "==", "AMDGPUASI", ".", "GLOBAL_ADDRESS", ")", "return", "isLegalGlobalAddressingMode", "(", "AM", ")", ";", "if", "(", "AS", "==", "AMDGPUASI", ".", "CONSTANT_ADDRESS", ")", "{", "if", "(", "AM", ".", "BaseOffs", "%", "4", "!=", "0", ")", "return", "isLegalMUBUFAddressingMode", "(", "AM", ")", ";", "if", "(", "DL", ".", "getTypeStoreSize", "(", "Ty", ")", "<", "4", ")", "return", "isLegalGlobalAddressingMode", "(", "AM", ")", ";", "if", "(", "Subtarget", "->", "getGeneration", "(", ")", "==", "SISubtarget", "::", "SOUTHERN_ISLANDS", ")", "{", "if", "(", "!", "isUInt", "<", "8", ">", "(", "AM", ".", "BaseOffs", "/", "4", ")", ")", "return", "false", ";", "}", "else", "if", "(", "Subtarget", "->", "getGeneration", "(", ")", "==", "SISubtarget", "::", "SEA_ISLANDS", ")", "{", "if", "(", "!", "isUInt", "<", "32", ">", "(", "AM", ".", "BaseOffs", "/", "4", ")", ")", "return", "false", ";", "}", "else", "if", "(", "Subtarget", "->", "getGeneration", "(", ")", ">=", "SISubtarget", "::", "VOLCANIC_ISLANDS", ")", "{", "if", "(", "!", "isUInt", "<", "20", ">", "(", "AM", ".", "BaseOffs", ")", ")", "return", "false", ";", "}", "else", "llvm_unreachable", "(", "\"unhandled generation\"", ")", ";", "if", "(", "AM", ".", "Scale", "==", "0", ")", "return", "true", ";", "if", "(", "AM", ".", "Scale", "==", "1", "&&", "AM", ".", "HasBaseReg", ")", "return", "true", ";", "return", "false", ";", "}", "else", "if", "(", "AS", "==", "AMDGPUASI", ".", "PRIVATE_ADDRESS", ")", "{", "return", "isLegalMUBUFAddressingMode", "(", "AM", ")", ";", "}", "else", "if", "(", "AS", "==", "AMDGPUASI", ".", "LOCAL_ADDRESS", "||", "AS", "==", "AMDGPUASI", ".", "REGION_ADDRESS", ")", "{", "if", "(", "!", "isUInt", "<", "16", ">", "(", "AM", ".", "BaseOffs", ")", ")", "return", "false", ";", "if", "(", "AM", ".", "Scale", "==", "0", ")", "return", "true", ";", "if", "(", "AM", ".", "Scale", "==", "1", "&&", "AM", ".", "HasBaseReg", ")", "return", "true", ";", "return", "false", ";", "}", "else", "if", "(", "AS", "==", "AMDGPUASI", ".", "FLAT_ADDRESS", "||", "AS", "==", "AMDGPUASI", ".", "UNKNOWN_ADDRESS_SPACE", ")", "{", "return", "isLegalFlatAddressingMode", "(", "AM", ")", ";", "}", "else", "{", "llvm_unreachable", "(", "\"unhandled address space\"", ")", ";", "}", "}", ""], "natrual_language": ["isLegalAddressingMode", "-", "Return", "true", "if", "the", "addressing", "mode", "represented", "by", "AM", "is", "legal", "for", "this", "target", ",", "for", "a", "load/store", "of", "the", "specified", "type", "."], "TS_V_token": ["AMDGPU", "SI", "SI", "SI", "4", "0", "4", "SI", "8", "4", "SI", "32", "4", "SI", "20", "\"unhandled generation\"", "0", "1", "SI", "SI", "SI", "16", "0", "1", "SI", "SI", "\"unhandled address space\""], "File": "SIISelLowering115", "Func": "isLegalAddressingMode", "Target": "AMDGPU", "Target_Clf": "GPU", "Compiler_Type": "LLVM", "Idx": 1336, "Length": 336, "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", ")", ";", "AArch64PreLegalizerCombinerInfo", "PCInfo", "(", "EnableOpt", ",", "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", "AArch64"], "File": "AArch64PreLegalizerCombiner25", "Func": "runOnMachineFunction", "Target": "AArch64", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 1337, "Length": 113, "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": 1338, "Length": 309, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "void", "AMDGPUDAGToDAGISel", "::", "PostprocessISelDAG", "(", ")", "{", "const", "AMDGPUTargetLowering", "&", "Lowering", "=", "(", "*", "(", "const", "AMDGPUTargetLowering", "*", ")", "getTargetLowering", "(", ")", ")", ";", "bool", "IsModified", "=", "false", ";", "do", "{", "IsModified", "=", "false", ";", "for", "(", "SelectionDAG", "::", "allnodes_iterator", "I", "=", "CurDAG", "->", "allnodes_begin", "(", ")", ",", "E", "=", "CurDAG", "->", "allnodes_end", "(", ")", ";", "I", "!=", "E", ";", "++", "I", ")", "{", "SDNode", "*", "Node", "=", "I", ";", "MachineSDNode", "*", "MachineNode", "=", "dyn_cast", "<", "MachineSDNode", ">", "(", "I", ")", ";", "if", "(", "!", "MachineNode", ")", "continue", ";", "SDNode", "*", "ResNode", "=", "Lowering", ".", "PostISelFolding", "(", "MachineNode", ",", "*", "CurDAG", ")", ";", "if", "(", "ResNode", "!=", "Node", ")", "{", "ReplaceUses", "(", "Node", ",", "ResNode", ")", ";", "IsModified", "=", "true", ";", "}", "}", "CurDAG", "->", "RemoveDeadNodes", "(", ")", ";", "}", "while", "(", "IsModified", ")", ";", "}", ""], "natrual_language": ["PostprocessISelDAG", "(", ")", "-", "This", "hook", "allows", "the", "target", "to", "hack", "on", "the", "graph", "right", "after", "selection", "."], "TS_V_token": ["R600"], "File": "AMDGPUISelDAGToDAG17", "Func": "PostprocessISelDAG", "Target": "R600", "Target_Clf": "GPU", "Compiler_Type": "LLVM", "Idx": 1339, "Length": 136, "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": 1340, "Length": 159, "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": 1341, "Length": 85, "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": 1342, "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": 1343, "Length": 84, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "unsigned", "SITargetLowering", "::", "getRegisterByName", "(", "const", "char", "*", "RegName", ",", "EVT", "VT", ",", "SelectionDAG", "&", "DAG", ")", "const", "{", "unsigned", "Reg", "=", "StringSwitch", "<", "unsigned", ">", "(", "RegName", ")", ".", "Case", "(", "\"m0\"", ",", "AMDGPU", "::", "M0", ")", ".", "Case", "(", "\"exec\"", ",", "AMDGPU", "::", "EXEC", ")", ".", "Case", "(", "\"exec_lo\"", ",", "AMDGPU", "::", "EXEC_LO", ")", ".", "Case", "(", "\"exec_hi\"", ",", "AMDGPU", "::", "EXEC_HI", ")", ".", "Case", "(", "\"flat_scratch\"", ",", "AMDGPU", "::", "FLAT_SCR", ")", ".", "Case", "(", "\"flat_scratch_lo\"", ",", "AMDGPU", "::", "FLAT_SCR_LO", ")", ".", "Case", "(", "\"flat_scratch_hi\"", ",", "AMDGPU", "::", "FLAT_SCR_HI", ")", ".", "Default", "(", "AMDGPU", "::", "NoRegister", ")", ";", "if", "(", "Reg", "==", "AMDGPU", "::", "NoRegister", ")", "{", "report_fatal_error", "(", "Twine", "(", "\"invalid register name \\\"\"", "+", "StringRef", "(", "RegName", ")", "+", "\"\\\".\"", ")", ")", ";", "}", "if", "(", "Subtarget", "->", "getGeneration", "(", ")", "==", "SISubtarget", "::", "SOUTHERN_ISLANDS", "&&", "Subtarget", "->", "getRegisterInfo", "(", ")", "->", "regsOverlap", "(", "Reg", ",", "AMDGPU", "::", "FLAT_SCR", ")", ")", "{", "report_fatal_error", "(", "Twine", "(", "\"invalid register \\\"\"", "+", "StringRef", "(", "RegName", ")", "+", "\"\\\" for subtarget.\"", ")", ")", ";", "}", "switch", "(", "Reg", ")", "{", "case", "AMDGPU", "::", "M0", ":", "case", "AMDGPU", "::", "EXEC_LO", ":", "case", "AMDGPU", "::", "EXEC_HI", ":", "case", "AMDGPU", "::", "FLAT_SCR_LO", ":", "case", "AMDGPU", "::", "FLAT_SCR_HI", ":", "if", "(", "VT", ".", "getSizeInBits", "(", ")", "==", "32", ")", "return", "Reg", ";", "break", ";", "case", "AMDGPU", "::", "EXEC", ":", "case", "AMDGPU", "::", "FLAT_SCR", ":", "if", "(", "VT", ".", "getSizeInBits", "(", ")", "==", "64", ")", "return", "Reg", ";", "break", ";", "default", ":", "llvm_unreachable", "(", "\"missing register type checking\"", ")", ";", "}", "report_fatal_error", "(", "Twine", "(", "\"invalid type for register \\\"\"", "+", "StringRef", "(", "RegName", ")", "+", "\"\\\".\"", ")", ")", ";", "}", ""], "natrual_language": ["Return", "the", "register", "ID", "of", "the", "name", "passed", "in", "."], "TS_V_token": ["AMDGPU", "SI", "\"m0\"", "AMDGPU::M0", "\"exec\"", "AMDGPU::EXEC", "\"exec_lo\"", "AMDGPU::EXEC_LO", "\"exec_hi\"", "AMDGPU::EXEC_HI", "\"flat_scratch\"", "AMDGPU::FLAT_SCR", "\"flat_scratch_lo\"", "AMDGPU::FLAT_SCR_LO", "\"flat_scratch_hi\"", "AMDGPU::FLAT_SCR_HI", "AMDGPU::NoRegister", "AMDGPU::NoRegister", "\"invalid register name \\\"\"", "\"\\\".\"", "SI", "AMDGPU::FLAT_SCR", "\"invalid register \\\"\"", "\"\\\" for subtarget.\"", "AMDGPU::M0", "AMDGPU::EXEC_LO", "AMDGPU::EXEC_HI", "AMDGPU::FLAT_SCR_LO", "AMDGPU::FLAT_SCR_HI", "32", "AMDGPU::EXEC", "AMDGPU::FLAT_SCR", "64", "\"missing register type checking\"", "\"invalid type for register \\\"\"", "\"\\\".\""], "File": "SIISelLowering101", "Func": "getRegisterByName", "Target": "AMDGPU", "Target_Clf": "GPU", "Compiler_Type": "LLVM", "Idx": 1344, "Length": 263, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "void", "aarch64_addti_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", "=", "gen_lowpart", "(", "DImode", ",", "op1", ")", ";", "*", "low_in2", "=", "simplify_gen_subreg", "(", "DImode", ",", "op2", ",", "TImode", ",", "subreg_lowpart_offset", "(", "DImode", ",", "TImode", ")", ")", ";", "*", "high_dest", "=", "gen_reg_rtx", "(", "DImode", ")", ";", "*", "high_in1", "=", "gen_highpart", "(", "DImode", ",", "op1", ")", ";", "*", "high_in2", "=", "simplify_gen_subreg", "(", "DImode", ",", "op2", ",", "TImode", ",", "subreg_highpart_offset", "(", "DImode", ",", "TImode", ")", ")", ";", "}", ""], "natrual_language": ["Generate", "DImode", "scratch", "registers", "for", "128-bit", "(", "TImode", ")", "addition", ".", "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_addti_scratch_regs", "Target": "aarch64", "Target_Clf": "CPU", "Compiler_Type": "GCC", "Idx": 1345, "Length": 109, "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": "X86AsmPrinter (2)2", "Func": "runOnMachineFunction", "Target": "X86", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 1346, "Length": 170, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "nodeType", "getType", "(", ")", "{", "return", "type", ".", "getNodeType", "(", ")", ";", "}", ""], "natrual_language": ["Overload", "to", "return", "most", "specific", "vector", "type", "."], "TS_V_token": ["TPC"], "File": "TPCCostModelEmitter", "Func": "getType", "Target": "TPC", "Target_Clf": "Virtual ISA", "Compiler_Type": "LLVM", "Idx": 1347, "Length": 13, "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": ["ARM", "1u", "1"], "File": "ARMBasicBlockInfo", "Func": "internalKnownBits", "Target": "ARM", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 1348, "Length": 40, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "MachineInstr", "*", "HexagonInstrInfo", "::", "findLoopInstr", "(", "MachineBasicBlock", "*", "BB", ",", "unsigned", "EndLoopOp", ",", "MachineBasicBlock", "*", "TargetBB", ",", "SmallPtrSet", "<", "MachineBasicBlock", "*", ",", "8", ">", "&", "Visited", ")", "const", "{", "unsigned", "LOOPi", ";", "unsigned", "LOOPr", ";", "if", "(", "EndLoopOp", "==", "Hexagon", "::", "ENDLOOP0", ")", "{", "LOOPi", "=", "Hexagon", "::", "J2_loop0i", ";", "LOOPr", "=", "Hexagon", "::", "J2_loop0r", ";", "}", "else", "{", "LOOPi", "=", "Hexagon", "::", "J2_loop1i", ";", "LOOPr", "=", "Hexagon", "::", "J2_loop1r", ";", "}", "for", "(", "MachineBasicBlock", "*", "PB", ":", "BB", "->", "predecessors", "(", ")", ")", "{", "if", "(", "!", "Visited", ".", "insert", "(", "PB", ")", ".", "second", ")", "continue", ";", "if", "(", "PB", "==", "BB", ")", "continue", ";", "for", "(", "MachineInstr", "&", "I", ":", "llvm", "::", "reverse", "(", "PB", "->", "instrs", "(", ")", ")", ")", "{", "unsigned", "Opc", "=", "I", ".", "getOpcode", "(", ")", ";", "if", "(", "Opc", "==", "LOOPi", "||", "Opc", "==", "LOOPr", ")", "return", "&", "I", ";", "if", "(", "Opc", "==", "EndLoopOp", "&&", "I", ".", "getOperand", "(", "0", ")", ".", "getMBB", "(", ")", "!=", "TargetBB", ")", "return", "nullptr", ";", "}", "if", "(", "MachineInstr", "*", "Loop", "=", "findLoopInstr", "(", "PB", ",", "EndLoopOp", ",", "TargetBB", ",", "Visited", ")", ")", "return", "Loop", ";", "}", "return", "nullptr", ";", "}", ""], "natrual_language": ["Find", "the", "hardware", "loop", "instruction", "used", "to", "set-up", "the", "specified", "loop", "."], "TS_V_token": ["Hexagon", "Hexagon", "8", "Hexagon::ENDLOOP0", "Hexagon::J2_loop0i", "Hexagon::J2_loop0r", "Hexagon::J2_loop1i", "Hexagon::J2_loop1r", "0"], "File": "HexagonInstrInfo15", "Func": "findLoopInstr", "Target": "Hexagon", "Target_Clf": "DSP", "Compiler_Type": "LLVM", "Idx": 1349, "Length": 196, "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", ")", ";", "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", ":", "emit_insn", "(", "gen_rtx_SET", "(", "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", ":", "emit_insn", "(", "gen_lu52i_d", "(", "x", ",", "x", ",", "GEN_INT", "(", "0xfffffffffffff", ")", ",", "GEN_INT", "(", "codes", "[", "i", "]", ".", "value", ")", ")", ")", ";", "break", ";", "case", "METHOD_INSV", ":", "emit_insn", "(", "gen_rtx_SET", "(", "gen_rtx_ZERO_EXTRACT", "(", "DImode", ",", "x", ",", "GEN_INT", "(", "20", ")", ",", "GEN_INT", "(", "32", ")", ")", ",", "gen_rtx_REG", "(", "DImode", ",", "0", ")", ")", ")", ";", "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", "0", "0xfffffffffffff", "20", "32", "0"], "File": "loongarch", "Func": "loongarch_move_integer", "Target": "loongarch", "Target_Clf": "CPU", "Compiler_Type": "GCC", "Idx": 1350, "Length": 275, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "bool", "WebAssemblyPrepareForLiveIntervals", "::", "runOnMachineFunction", "(", "MachineFunction", "&", "MF", ")", "{", "LLVM_DEBUG", "(", "{", "dbgs", "(", ")", "<<", "\"********** Prepare For LiveIntervals **********\\n\"", "<<", "\"********** Function: \"", "<<", "MF", ".", "getName", "(", ")", "<<", "'\\n'", ";", "}", ")", ";", "bool", "Changed", "=", "false", ";", "MachineRegisterInfo", "&", "MRI", "=", "MF", ".", "getRegInfo", "(", ")", ";", "const", "auto", "&", "TII", "=", "*", "MF", ".", "getSubtarget", "<", "WebAssemblySubtarget", ">", "(", ")", ".", "getInstrInfo", "(", ")", ";", "MachineBasicBlock", "&", "Entry", "=", "*", "MF", ".", "begin", "(", ")", ";", "assert", "(", "!", "mustPreserveAnalysisID", "(", "LiveIntervalsID", ")", "&&", "\"LiveIntervals shouldn't be active yet!\"", ")", ";", "MRI", ".", "leaveSSA", "(", ")", ";", "for", "(", "unsigned", "I", "=", "0", ",", "E", "=", "MRI", ".", "getNumVirtRegs", "(", ")", ";", "I", "<", "E", ";", "++", "I", ")", "{", "Register", "Reg", "=", "Register", "::", "index2VirtReg", "(", "I", ")", ";", "if", "(", "MRI", ".", "use_nodbg_empty", "(", "Reg", ")", ")", "continue", ";", "if", "(", "hasArgumentDef", "(", "Reg", ",", "MRI", ")", ")", "continue", ";", "BuildMI", "(", "Entry", ",", "Entry", ".", "begin", "(", ")", ",", "DebugLoc", "(", ")", ",", "TII", ".", "get", "(", "WebAssembly", "::", "IMPLICIT_DEF", ")", ",", "Reg", ")", ";", "Changed", "=", "true", ";", "}", "for", "(", "MachineInstr", "&", "MI", ":", "llvm", "::", "make_early_inc_range", "(", "Entry", ")", ")", "{", "if", "(", "WebAssembly", "::", "isArgument", "(", "MI", ".", "getOpcode", "(", ")", ")", ")", "{", "MI", ".", "removeFromParent", "(", ")", ";", "Entry", ".", "insert", "(", "Entry", ".", "begin", "(", ")", ",", "&", "MI", ")", ";", "}", "}", "MF", ".", "getProperties", "(", ")", ".", "set", "(", "MachineFunctionProperties", "::", "Property", "::", "TracksLiveness", ")", ";", "return", "Changed", ";", "}", ""], "natrual_language": ["runOnMachineFunction", "-", "Emit", "the", "function", "body", "."], "TS_V_token": ["WebAssembly", "WebAssembly", "\"********** Prepare For LiveIntervals **********\\n\"", "\"********** Function: \"", "WebAssembly", "\"LiveIntervals shouldn't be active yet!\"", "0", "WebAssembly::IMPLICIT_DEF", "WebAssembly::isArgument"], "File": "WebAssemblyPrepareForLiveIntervals1", "Func": "runOnMachineFunction", "Target": "WebAssembly", "Target_Clf": "Virtual ISA", "Compiler_Type": "LLVM", "Idx": 1351, "Length": 249, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "int", "h8300_legitimate_constant_p", "(", "rtx", "x", "ATTRIBUTE_UNUSED", ")", "{", "return", "1", ";", "}", ""], "natrual_language": ["Return", "nonzero", "if", "X", "is", "a", "legitimate", "constant", "."], "TS_V_token": ["h8300", "1"], "File": "h83003", "Func": "h8300_legitimate_constant_p", "Target": "h8300", "Target_Clf": "MPU", "Compiler_Type": "GCC", "Idx": 1352, "Length": 12, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "TargetLowering", "::", "AtomicExpansionKind", "ARMTargetLowering", "::", "shouldExpandAtomicCmpXchgInIR", "(", "AtomicCmpXchgInst", "*", "AI", ")", "const", "{", "unsigned", "Size", "=", "AI", "->", "getOperand", "(", "1", ")", "->", "getType", "(", ")", "->", "getPrimitiveSizeInBits", "(", ")", ";", "bool", "HasAtomicCmpXchg", ";", "if", "(", "Subtarget", "->", "isMClass", "(", ")", ")", "HasAtomicCmpXchg", "=", "Subtarget", "->", "hasV8MBaselineOps", "(", ")", ";", "else", "if", "(", "Subtarget", "->", "isThumb", "(", ")", ")", "HasAtomicCmpXchg", "=", "Subtarget", "->", "hasV7Ops", "(", ")", ";", "else", "HasAtomicCmpXchg", "=", "Subtarget", "->", "hasV6Ops", "(", ")", ";", "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": "ARMISelLowering12", "Func": "shouldExpandAtomicCmpXchgInIR", "Target": "ARM", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 1353, "Length": 115, "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": 1354, "Length": 191, "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": 1355, "Length": 37, "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": 1356, "Length": 65, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "bool", "AMDGPUPassConfig", "::", "addPreRegAlloc", "(", ")", "{", "const", "AMDGPUSubtarget", "&", "ST", "=", "TM", "->", "getSubtarget", "<", "AMDGPUSubtarget", ">", "(", ")", ";", "if", "(", "ST", ".", "getGeneration", "(", ")", "<=", "AMDGPUSubtarget", "::", "NORTHERN_ISLANDS", ")", "{", "addPass", "(", "createR600VectorRegMerger", "(", "*", "TM", ")", ")", ";", "}", "else", "{", "addPass", "(", "createSIFixSGPRCopiesPass", "(", "*", "TM", ")", ")", ";", "addPass", "(", "&", "MachineCSEID", ")", ";", "addPass", "(", "createSIShrinkInstructionsPass", "(", ")", ")", ";", "initializeSIFixSGPRLiveRangesPass", "(", "*", "PassRegistry", "::", "getPassRegistry", "(", ")", ")", ";", "insertPass", "(", "&", "RegisterCoalescerID", ",", "&", "SIFixSGPRLiveRangesID", ")", ";", "}", "return", "false", ";", "}", ""], "natrual_language": ["This", "method", "may", "be", "implemented", "by", "targets", "that", "want", "to", "run", "passes", "immediately", "before", "register", "allocation", "."], "TS_V_token": ["R600", "SI", "SI", "SI", "SI"], "File": "AMDGPUTargetMachine100", "Func": "addPreRegAlloc", "Target": "R600", "Target_Clf": "GPU", "Compiler_Type": "LLVM", "Idx": 1357, "Length": 92, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "bool", "arc_expand_movmem", "(", "rtx", "*", "operands", ")", "{", "rtx", "dst", "=", "operands", "[", "0", "]", ";", "rtx", "src", "=", "operands", "[", "1", "]", ";", "rtx", "dst_addr", ",", "src_addr", ";", "HOST_WIDE_INT", "size", ";", "int", "align", "=", "INTVAL", "(", "operands", "[", "3", "]", ")", ";", "unsigned", "n_pieces", ";", "int", "piece", "=", "align", ";", "rtx", "store", "[", "2", "]", ";", "rtx", "tmpx", "[", "2", "]", ";", "int", "i", ";", "if", "(", "!", "CONST_INT_P", "(", "operands", "[", "2", "]", ")", ")", "return", "false", ";", "size", "=", "INTVAL", "(", "operands", "[", "2", "]", ")", ";", "if", "(", "align", ">=", "4", ")", "{", "if", "(", "TARGET_LL64", ")", "n_pieces", "=", "(", "size", "+", "4", ")", "/", "8U", "+", "(", "(", "size", ">>", "1", ")", "&", "1", ")", "+", "(", "size", "&", "1", ")", ";", "else", "n_pieces", "=", "(", "size", "+", "2", ")", "/", "4U", "+", "(", "size", "&", "1", ")", ";", "}", "else", "if", "(", "align", "==", "2", ")", "n_pieces", "=", "(", "size", "+", "1", ")", "/", "2U", ";", "else", "n_pieces", "=", "size", ";", "if", "(", "n_pieces", ">=", "(", "unsigned", "int", ")", "(", "optimize_size", "?", "3", ":", "15", ")", ")", "return", "false", ";", "if", "(", "TARGET_LL64", "&&", "(", "piece", ">=", "4", ")", "&&", "(", "size", ">=", "8", ")", ")", "piece", "=", "8", ";", "else", "if", "(", "piece", ">", "4", ")", "piece", "=", "4", ";", "dst_addr", "=", "force_offsettable", "(", "XEXP", "(", "operands", "[", "0", "]", ",", "0", ")", ",", "size", ",", "0", ")", ";", "src_addr", "=", "force_offsettable", "(", "XEXP", "(", "operands", "[", "1", "]", ",", "0", ")", ",", "size", ",", "0", ")", ";", "store", "[", "0", "]", "=", "store", "[", "1", "]", "=", "NULL_RTX", ";", "tmpx", "[", "0", "]", "=", "tmpx", "[", "1", "]", "=", "NULL_RTX", ";", "for", "(", "i", "=", "0", ";", "size", ">", "0", ";", "i", "^=", "1", ",", "size", "-=", "piece", ")", "{", "rtx", "tmp", ";", "machine_mode", "mode", ";", "while", "(", "piece", ">", "size", ")", "piece", ">>=", "1", ";", "mode", "=", "smallest_int_mode_for_size", "(", "piece", "*", "BITS_PER_UNIT", ")", ";", "if", "(", "0", "&&", "tmpx", "[", "i", "]", "&&", "GET_MODE", "(", "tmpx", "[", "i", "]", ")", "==", "mode", ")", "tmp", "=", "tmpx", "[", "i", "]", ";", "else", "tmpx", "[", "i", "]", "=", "tmp", "=", "gen_reg_rtx", "(", "mode", ")", ";", "dst_addr", "=", "force_offsettable", "(", "dst_addr", ",", "piece", ",", "1", ")", ";", "src_addr", "=", "force_offsettable", "(", "src_addr", ",", "piece", ",", "1", ")", ";", "if", "(", "store", "[", "i", "]", ")", "emit_insn", "(", "store", "[", "i", "]", ")", ";", "emit_move_insn", "(", "tmp", ",", "change_address", "(", "src", ",", "mode", ",", "src_addr", ")", ")", ";", "store", "[", "i", "]", "=", "gen_move_insn", "(", "change_address", "(", "dst", ",", "mode", ",", "dst_addr", ")", ",", "tmp", ")", ";", "dst_addr", "=", "plus_constant", "(", "Pmode", ",", "dst_addr", ",", "piece", ")", ";", "src_addr", "=", "plus_constant", "(", "Pmode", ",", "src_addr", ",", "piece", ")", ";", "}", "if", "(", "store", "[", "i", "]", ")", "emit_insn", "(", "store", "[", "i", "]", ")", ";", "if", "(", "store", "[", "i", "^", "1", "]", ")", "emit_insn", "(", "store", "[", "i", "^", "1", "]", ")", ";", "return", "true", ";", "}", ""], "natrual_language": ["Like", "move_by_pieces", ",", "but", "take", "account", "of", "load", "latency", ",", "and", "actual", "offset", "ranges", ".", "Return", "true", "on", "success", "."], "TS_V_token": ["arc", "0", "1", "3", "2", "2", "2", "2", "4", "4", "8U", "1", "1", "1", "2", "4U", "1", "2", "1", "2U", "3", "15", "4", "8", "8", "4", "4", "0", "0", "0", "1", "0", "0", "0", "1", "0", "1", "0", "0", "1", "1", "0", "1", "1", "1", "1"], "File": "arc7", "Func": "arc_expand_movmem", "Target": "arc", "Target_Clf": "MPU", "Compiler_Type": "GCC", "Idx": 1358, "Length": 493, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "static", "void", "*", "spu_init_cost", "(", "struct", "loop", "*", "loop_info", "ATTRIBUTE_UNUSED", ")", "{", "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": ["spu", "3", "0"], "File": "spu", "Func": "spu_init_cost", "Target": "spu", "Target_Clf": "MPU", "Compiler_Type": "GCC", "Idx": 1359, "Length": 44, "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": 1360, "Length": 30, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "void", "printCustom", "(", "raw_ostream", "&", "OS", ")", "const", "override", "{", "OS", "<<", "\"GWSResource\"", ";", "}", ""], "natrual_language": ["Implement", "printing", "for", "PseudoSourceValue", "."], "TS_V_token": ["AMDGPU", "\"GWSResource\""], "File": "SIMachineFunctionInfo (2)2", "Func": "printCustom", "Target": "AMDGPU", "Target_Clf": "GPU", "Compiler_Type": "LLVM", "Idx": 1361, "Length": 15, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "static", "tree", "v850_handle_data_area_attribute", "(", "tree", "*", "node", ",", "tree", "name", ",", "tree", "args", "ATTRIBUTE_UNUSED", ",", "int", "flags", "ATTRIBUTE_UNUSED", ",", "bool", "*", "no_add_attrs", ")", "{", "v850_data_area", "data_area", ";", "v850_data_area", "area", ";", "tree", "decl", "=", "*", "node", ";", "if", "(", "is_attribute_p", "(", "\"sda\"", ",", "name", ")", ")", "data_area", "=", "DATA_AREA_SDA", ";", "else", "if", "(", "is_attribute_p", "(", "\"tda\"", ",", "name", ")", ")", "data_area", "=", "DATA_AREA_TDA", ";", "else", "if", "(", "is_attribute_p", "(", "\"zda\"", ",", "name", ")", ")", "data_area", "=", "DATA_AREA_ZDA", ";", "else", "gcc_unreachable", "(", ")", ";", "switch", "(", "TREE_CODE", "(", "decl", ")", ")", "{", "case", "VAR_DECL", ":", "if", "(", "current_function_decl", "!=", "NULL_TREE", ")", "{", "error_at", "(", "DECL_SOURCE_LOCATION", "(", "decl", ")", ",", "\"data area attributes cannot be specified for \"", "\"local variables\"", ")", ";", "*", "no_add_attrs", "=", "true", ";", "}", "case", "FUNCTION_DECL", ":", "area", "=", "v850_get_data_area", "(", "decl", ")", ";", "if", "(", "area", "!=", "DATA_AREA_NORMAL", "&&", "data_area", "!=", "area", ")", "{", "error", "(", "\"data area of %q+D conflicts with previous declaration\"", ",", "decl", ")", ";", "*", "no_add_attrs", "=", "true", ";", "}", "break", ";", "default", ":", "break", ";", "}", "return", "NULL_TREE", ";", "}", ""], "natrual_language": ["Handle", "a", "``", "sda", "''", ",", "``", "tda", "''", "or", "``", "zda", "''", "attribute", ";", "arguments", "as", "in", "struct", "attribute_spec.handler", "."], "TS_V_token": ["v850", "\"sda\"", "\"tda\"", "\"zda\"", "\"data area attributes cannot be specified for \"", "\"local variables\"", "\"data area of %q+D conflicts with previous declaration\""], "File": "v850", "Func": "v850_handle_data_area_attribute", "Target": "v850", "Target_Clf": "MPU", "Compiler_Type": "GCC", "Idx": 1362, "Length": 162, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "void", "SystemZMCAsmBackend", "::", "applyFixup", "(", "const", "MCFixup", "&", "Fixup", ",", "MutableArrayRef", "<", "char", ">", "Data", ",", "uint64_t", "Value", ",", "bool", "IsPCRel", ",", "MCContext", "&", "Ctx", ")", "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": "SystemZMCAsmBackend2", "Func": "applyFixup", "Target": "SystemZ", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 1363, "Length": 156, "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": 1364, "Length": 136, "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": ["UPT"], "File": "UPTAsmBackend", "Func": "relaxInstruction", "Target": "UPT", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 1365, "Length": 21, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "bool", "empty", "(", ")", "const", "{", "return", "getSGRPNum", "(", ")", "==", "0", "&&", "getVGRPNum", "(", ")", "==", "0", ";", "}", ""], "natrual_language": ["Determine", "whether", "this", "version", "information", "is", "empty", "(", "e.g.", ",", "all", "version", "components", "are", "zero", ")", "."], "TS_V_token": ["AMDGPU", "0", "0"], "File": "GCNRegPressure13", "Func": "empty", "Target": "AMDGPU", "Target_Clf": "GPU", "Compiler_Type": "LLVM", "Idx": 1366, "Length": 20, "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": 1367, "Length": 13, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "bool", "HexagonInstrInfo", "::", "isProfitableToIfCvt", "(", "MachineBasicBlock", "&", "TMBB", ",", "unsigned", "NumTCycles", ",", "unsigned", "ExtraTCycles", ",", "MachineBasicBlock", "&", "FMBB", ",", "unsigned", "NumFCycles", ",", "unsigned", "ExtraFCycles", ",", "BranchProbability", "Probability", ")", "const", "{", "return", "true", ";", "}", ""], "natrual_language": ["Second", "variant", "of", "isProfitableToIfCvt", "."], "TS_V_token": ["Hexagon", "Hexagon"], "File": "HexagonInstrInfo", "Func": "isProfitableToIfCvt", "Target": "Hexagon", "Target_Clf": "DSP", "Compiler_Type": "LLVM", "Idx": 1368, "Length": 34, "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": 1369, "Length": 331, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "void", "print_operand_address", "(", "FILE", "*", "file", ",", "rtx", "addr", ")", "{", "int", "basereg", "=", "31", ";", "HOST_WIDE_INT", "offset", "=", "0", ";", "if", "(", "GET_CODE", "(", "addr", ")", "==", "AND", ")", "addr", "=", "XEXP", "(", "addr", ",", "0", ")", ";", "if", "(", "GET_CODE", "(", "addr", ")", "==", "PLUS", "&&", "GET_CODE", "(", "XEXP", "(", "addr", ",", "1", ")", ")", "==", "CONST_INT", ")", "{", "offset", "=", "INTVAL", "(", "XEXP", "(", "addr", ",", "1", ")", ")", ";", "addr", "=", "XEXP", "(", "addr", ",", "0", ")", ";", "}", "if", "(", "GET_CODE", "(", "addr", ")", "==", "LO_SUM", ")", "{", "const", "char", "*", "reloc16", ",", "*", "reloclo", ";", "rtx", "op1", "=", "XEXP", "(", "addr", ",", "1", ")", ";", "if", "(", "GET_CODE", "(", "op1", ")", "==", "CONST", "&&", "GET_CODE", "(", "XEXP", "(", "op1", ",", "0", ")", ")", "==", "UNSPEC", ")", "{", "op1", "=", "XEXP", "(", "op1", ",", "0", ")", ";", "switch", "(", "XINT", "(", "op1", ",", "1", ")", ")", "{", "case", "UNSPEC_DTPREL", ":", "reloc16", "=", "NULL", ";", "reloclo", "=", "(", "alpha_tls_size", "==", "16", "?", "\"dtprel\"", ":", "\"dtprello\"", ")", ";", "break", ";", "case", "UNSPEC_TPREL", ":", "reloc16", "=", "NULL", ";", "reloclo", "=", "(", "alpha_tls_size", "==", "16", "?", "\"tprel\"", ":", "\"tprello\"", ")", ";", "break", ";", "default", ":", "output_operand_lossage", "(", "\"unknown relocation unspec\"", ")", ";", "return", ";", "}", "output_addr_const", "(", "file", ",", "XVECEXP", "(", "op1", ",", "0", ",", "0", ")", ")", ";", "}", "else", "{", "reloc16", "=", "\"gprel\"", ";", "reloclo", "=", "\"gprellow\"", ";", "output_addr_const", "(", "file", ",", "op1", ")", ";", "}", "if", "(", "offset", ")", "fprintf", "(", "file", ",", "\"+\"", "HOST_WIDE_INT_PRINT_DEC", ",", "offset", ")", ";", "addr", "=", "XEXP", "(", "addr", ",", "0", ")", ";", "switch", "(", "GET_CODE", "(", "addr", ")", ")", "{", "case", "REG", ":", "basereg", "=", "REGNO", "(", "addr", ")", ";", "break", ";", "case", "SUBREG", ":", "basereg", "=", "subreg_regno", "(", "addr", ")", ";", "break", ";", "default", ":", "gcc_unreachable", "(", ")", ";", "}", "fprintf", "(", "file", ",", "\"($%d)\\t\\t!%s\"", ",", "basereg", ",", "(", "basereg", "==", "29", "?", "reloc16", ":", "reloclo", ")", ")", ";", "return", ";", "}", "switch", "(", "GET_CODE", "(", "addr", ")", ")", "{", "case", "REG", ":", "basereg", "=", "REGNO", "(", "addr", ")", ";", "break", ";", "case", "SUBREG", ":", "basereg", "=", "subreg_regno", "(", "addr", ")", ";", "break", ";", "case", "CONST_INT", ":", "offset", "=", "INTVAL", "(", "addr", ")", ";", "break", ";", "case", "SYMBOL_REF", ":", "fprintf", "(", "file", ",", "\"%s\"", ",", "XSTR", "(", "addr", ",", "0", ")", ")", ";", "return", ";", "case", "CONST", ":", "gcc_assert", "(", "GET_CODE", "(", "XEXP", "(", "addr", ",", "0", ")", ")", "==", "PLUS", "&&", "GET_CODE", "(", "XEXP", "(", "XEXP", "(", "addr", ",", "0", ")", ",", "0", ")", ")", "==", "SYMBOL_REF", ")", ";", "fprintf", "(", "file", ",", "\"%s+\"", "HOST_WIDE_INT_PRINT_DEC", ",", "XSTR", "(", "XEXP", "(", "XEXP", "(", "addr", ",", "0", ")", ",", "0", ")", ",", "0", ")", ",", "INTVAL", "(", "XEXP", "(", "XEXP", "(", "addr", ",", "0", ")", ",", "1", ")", ")", ")", ";", "return", ";", "default", ":", "gcc_unreachable", "(", ")", ";", "}", "fprintf", "(", "file", ",", "HOST_WIDE_INT_PRINT_DEC", "\"($%d)\"", ",", "offset", ",", "basereg", ")", ";", "}", ""], "natrual_language": ["Print", "the", "operand", "address", "represented", "by", "the", "rtx", "addr"], "TS_V_token": ["alpha", "31", "0", "0", "1", "1", "0", "1", "0", "0", "1", "16", "\"dtprel\"", "\"dtprello\"", "16", "\"tprel\"", "\"tprello\"", "\"unknown relocation unspec\"", "0", "0", "\"gprel\"", "\"gprellow\"", "\"+\"", "0", "\"($%d)\\t\\t!%s\"", "29", "\"%s\"", "0", "0", "0", "0", "\"%s+\"", "0", "0", "0", "0", "1", "\"($%d)\""], "File": "alpha3", "Func": "print_operand_address", "Target": "alpha", "Target_Clf": "MPU", "Compiler_Type": "GCC", "Idx": 1370, "Length": 481, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "bool", "XCoreFrameLowering", "::", "restoreCalleeSavedRegisters", "(", "MachineBasicBlock", "&", "MBB", ",", "MachineBasicBlock", "::", "iterator", "MI", ",", "const", "std", "::", "vector", "<", "CalleeSavedInfo", ">", "&", "CSI", ",", "const", "TargetRegisterInfo", "*", "TRI", ")", "const", "{", "MachineFunction", "*", "MF", "=", "MBB", ".", "getParent", "(", ")", ";", "const", "TargetInstrInfo", "&", "TII", "=", "*", "MF", "->", "getTarget", "(", ")", ".", "getInstrInfo", "(", ")", ";", "bool", "AtStart", "=", "MI", "==", "MBB", ".", "begin", "(", ")", ";", "MachineBasicBlock", "::", "iterator", "BeforeI", "=", "MI", ";", "if", "(", "!", "AtStart", ")", "--", "BeforeI", ";", "for", "(", "std", "::", "vector", "<", "CalleeSavedInfo", ">", "::", "const_iterator", "it", "=", "CSI", ".", "begin", "(", ")", ";", "it", "!=", "CSI", ".", "end", "(", ")", ";", "++", "it", ")", "{", "unsigned", "Reg", "=", "it", "->", "getReg", "(", ")", ";", "const", "TargetRegisterClass", "*", "RC", "=", "TRI", "->", "getMinimalPhysRegClass", "(", "Reg", ")", ";", "TII", ".", "loadRegFromStackSlot", "(", "MBB", ",", "MI", ",", "it", "->", "getReg", "(", ")", ",", "it", "->", "getFrameIdx", "(", ")", ",", "RC", ",", "TRI", ")", ";", "assert", "(", "MI", "!=", "MBB", ".", "begin", "(", ")", "&&", "\"loadRegFromStackSlot didn't insert any code!\"", ")", ";", "if", "(", "AtStart", ")", "MI", "=", "MBB", ".", "begin", "(", ")", ";", "else", "{", "MI", "=", "BeforeI", ";", "++", "MI", ";", "}", "}", "return", "true", ";", "}", ""], "natrual_language": ["restoreCalleeSavedRegisters", "-", "Issues", "instruction", "(", "s", ")", "to", "restore", "all", "callee", "saved", "registers", "and", "returns", "true", "if", "it", "is", "n't", "possible", "/", "profitable", "to", "do", "so", "by", "issuing", "a", "series", "of", "load", "instructions", "via", "loadRegToStackSlot", "(", ")", "."], "TS_V_token": ["XCore", "XCore", "\"loadRegFromStackSlot didn't insert any code!\""], "File": "XCoreFrameLowering15", "Func": "restoreCalleeSavedRegisters", "Target": "XCore", "Target_Clf": "MPU", "Compiler_Type": "LLVM", "Idx": 1371, "Length": 199, "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": 1372, "Length": 484, "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": 1373, "Length": 124, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "void", "TLCS900RegisterInfo", "::", "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", "(", "TLCS900", "::", "SUB16ri", ")", ",", "TLCS900", "::", "SPW", ")", ".", "addReg", "(", "TLCS900", "::", "SPW", ")", ".", "addImm", "(", "Amount", ")", ";", "}", "else", "{", "assert", "(", "Old", "->", "getOpcode", "(", ")", "==", "TII", ".", "getCallFrameDestroyOpcode", "(", ")", ")", ";", "uint64_t", "CalleeAmt", "=", "Old", "->", "getOperand", "(", "1", ")", ".", "getImm", "(", ")", ";", "Amount", "-=", "CalleeAmt", ";", "if", "(", "Amount", ")", "New", "=", "BuildMI", "(", "MF", ",", "Old", "->", "getDebugLoc", "(", ")", ",", "TII", ".", "get", "(", "TLCS900", "::", "ADD16ri", ")", ",", "TLCS900", "::", "SPW", ")", ".", "addReg", "(", "TLCS900", "::", "SPW", ")", ".", "addImm", "(", "Amount", ")", ";", "}", "if", "(", "New", ")", "{", "New", "->", "getOperand", "(", "3", ")", ".", "setIsDead", "(", ")", ";", "MBB", ".", "insert", "(", "I", ",", "New", ")", ";", "}", "}", "}", "else", "if", "(", "I", "->", "getOpcode", "(", ")", "==", "TII", ".", "getCallFrameDestroyOpcode", "(", ")", ")", "{", "if", "(", "uint64_t", "CalleeAmt", "=", "I", "->", "getOperand", "(", "1", ")", ".", "getImm", "(", ")", ")", "{", "MachineInstr", "*", "Old", "=", "I", ";", "MachineInstr", "*", "New", "=", "BuildMI", "(", "MF", ",", "Old", "->", "getDebugLoc", "(", ")", ",", "TII", ".", "get", "(", "TLCS900", "::", "SUB16ri", ")", ",", "TLCS900", "::", "SPW", ")", ".", "addReg", "(", "TLCS900", "::", "SPW", ")", ".", "addImm", "(", "CalleeAmt", ")", ";", "New", "->", "getOperand", "(", "3", ")", ".", "setIsDead", "(", ")", ";", "MBB", ".", "insert", "(", "I", ",", "New", ")", ";", "}", "}", "MBB", ".", "erase", "(", "I", ")", ";", "}", ""], "natrual_language": ["This", "method", "is", "called", "during", "prolog/epilog", "code", "insertion", "to", "eliminate", "call", "frame", "setup", "and", "destroy", "pseudo", "instructions", "(", "but", "only", "if", "the", "Target", "is", "using", "them", ")", "."], "TS_V_token": ["TLCS900", "TLCS900", "0", "0", "1", "0", "TLCS900::SUB16ri", "TLCS900::SPW", "TLCS900::SPW", "1", "TLCS900::ADD16ri", "TLCS900::SPW", "TLCS900::SPW", "3", "1", "TLCS900::SUB16ri", "TLCS900::SPW", "TLCS900::SPW", "3"], "File": "TLCS900RegisterInfo", "Func": "eliminateCallFramePseudoInstr", "Target": "TLCS900", "Target_Clf": "MPU", "Compiler_Type": "LLVM", "Idx": 1374, "Length": 362, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "void", "PPCDAGToDAGISel", "::", "PostprocessISelDAG", "(", ")", "{", "if", "(", "TM", ".", "getOptLevel", "(", ")", "==", "CodeGenOpt", "::", "None", ")", "return", ";", "PeepholePPC64", "(", ")", ";", "PeepholdCROps", "(", ")", ";", "}", ""], "natrual_language": ["PostprocessISelDAG", "(", ")", "-", "This", "hook", "allows", "the", "target", "to", "hack", "on", "the", "graph", "right", "after", "selection", "."], "TS_V_token": ["PowerPC", "PPC", "PPC"], "File": "PPCISelDAGToDAG (2)", "Func": "PostprocessISelDAG", "Target": "PowerPC", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 1375, "Length": 30, "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": 1376, "Length": 16, "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": 1377, "Length": 96, "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": 1378, "Length": 362, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "static", "AMDGPUOperand", "::", "Ptr", "CreateReg", "(", "unsigned", "RegNo", ",", "SMLoc", "S", ",", "SMLoc", "E", ",", "const", "MCRegisterInfo", "*", "TRI", ",", "const", "MCSubtargetInfo", "*", "STI", ",", "bool", "ForceVOP3", ")", "{", "auto", "Op", "=", "llvm", "::", "make_unique", "<", "AMDGPUOperand", ">", "(", "Register", ")", ";", "Op", "->", "Reg", ".", "RegNo", "=", "RegNo", ";", "Op", "->", "Reg", ".", "TRI", "=", "TRI", ";", "Op", "->", "Reg", ".", "STI", "=", "STI", ";", "Op", "->", "Reg", ".", "Modifiers", "=", "0", ";", "Op", "->", "Reg", ".", "IsForcedVOP3", "=", "ForceVOP3", ";", "Op", "->", "StartLoc", "=", "S", ";", "Op", "->", "EndLoc", "=", "E", ";", "return", "Op", ";", "}", ""], "natrual_language": ["CreateReg", "-", "Allocate", "a", "single", "virtual", "register", "for", "the", "given", "type", "."], "TS_V_token": ["AMDGPU", "AMDGPU", "AMDGPU", "0"], "File": "AMDGPUAsmParser52", "Func": "CreateReg", "Target": "AMDGPU", "Target_Clf": "GPU", "Compiler_Type": "LLVM", "Idx": 1379, "Length": 98, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "static", "rtx", "c6x_expand_binop_builtin", "(", "enum", "insn_code", "icode", ",", "tree", "exp", ",", "rtx", "target", ",", "bool", "match_op", ")", "{", "int", "offs", "=", "match_op", "?", "1", ":", "0", ";", "rtx", "pat", ";", "tree", "arg0", "=", "CALL_EXPR_ARG", "(", "exp", ",", "0", ")", ";", "tree", "arg1", "=", "CALL_EXPR_ARG", "(", "exp", ",", "1", ")", ";", "rtx", "op0", "=", "expand_expr", "(", "arg0", ",", "NULL_RTX", ",", "VOIDmode", ",", "EXPAND_NORMAL", ")", ";", "rtx", "op1", "=", "expand_expr", "(", "arg1", ",", "NULL_RTX", ",", "VOIDmode", ",", "EXPAND_NORMAL", ")", ";", "machine_mode", "op0mode", "=", "GET_MODE", "(", "op0", ")", ";", "machine_mode", "op1mode", "=", "GET_MODE", "(", "op1", ")", ";", "machine_mode", "tmode", "=", "insn_data", "[", "icode", "]", ".", "operand", "[", "0", "]", ".", "mode", ";", "machine_mode", "mode0", "=", "insn_data", "[", "icode", "]", ".", "operand", "[", "1", "+", "offs", "]", ".", "mode", ";", "machine_mode", "mode1", "=", "insn_data", "[", "icode", "]", ".", "operand", "[", "2", "+", "offs", "]", ".", "mode", ";", "rtx", "ret", "=", "target", ";", "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", ")", ")", "{", "if", "(", "tmode", "==", "SQmode", "||", "tmode", "==", "V2SQmode", ")", "{", "ret", "=", "gen_reg_rtx", "(", "tmode", "==", "SQmode", "?", "SImode", ":", "V2SImode", ")", ";", "target", "=", "gen_lowpart", "(", "tmode", ",", "ret", ")", ";", "}", "else", "target", "=", "gen_reg_rtx", "(", "tmode", ")", ";", "}", "if", "(", "(", "op0mode", "==", "V2HImode", "||", "op0mode", "==", "SImode", "||", "op0mode", "==", "VOIDmode", ")", "&&", "(", "mode0", "==", "V2HQmode", "||", "mode0", "==", "HQmode", "||", "mode0", "==", "SQmode", ")", ")", "{", "op0mode", "=", "mode0", ";", "op0", "=", "gen_lowpart", "(", "mode0", ",", "op0", ")", ";", "}", "if", "(", "(", "op1mode", "==", "V2HImode", "||", "op1mode", "==", "SImode", "||", "op1mode", "==", "VOIDmode", ")", "&&", "(", "mode1", "==", "V2HQmode", "||", "mode1", "==", "HQmode", "||", "mode1", "==", "SQmode", ")", ")", "{", "op1mode", "=", "mode1", ";", "op1", "=", "gen_lowpart", "(", "mode1", ",", "op1", ")", ";", "}", "gcc_assert", "(", "(", "op0mode", "==", "mode0", "||", "op0mode", "==", "VOIDmode", ")", "&&", "(", "op1mode", "==", "mode1", "||", "op1mode", "==", "VOIDmode", ")", ")", ";", "if", "(", "!", "(", "*", "insn_data", "[", "icode", "]", ".", "operand", "[", "1", "+", "offs", "]", ".", "predicate", ")", "(", "op0", ",", "mode0", ")", ")", "op0", "=", "copy_to_mode_reg", "(", "mode0", ",", "op0", ")", ";", "if", "(", "!", "(", "*", "insn_data", "[", "icode", "]", ".", "operand", "[", "2", "+", "offs", "]", ".", "predicate", ")", "(", "op1", ",", "mode1", ")", ")", "op1", "=", "copy_to_mode_reg", "(", "mode1", ",", "op1", ")", ";", "if", "(", "match_op", ")", "pat", "=", "GEN_FCN", "(", "icode", ")", "(", "target", ",", "target", ",", "op0", ",", "op1", ")", ";", "else", "pat", "=", "GEN_FCN", "(", "icode", ")", "(", "target", ",", "op0", ",", "op1", ")", ";", "if", "(", "!", "pat", ")", "return", "0", ";", "emit_insn", "(", "pat", ")", ";", "return", "ret", ";", "}", ""], "natrual_language": ["Subroutine", "of", "c6x_expand_builtin", "to", "take", "care", "of", "binop", "insns", ".", "MACFLAG", "is", "-1", "if", "this", "is", "a", "normal", "binary", "op", ",", "or", "one", "of", "the", "MACFLAG_xxx", "constants", "."], "TS_V_token": ["c6x", "1", "0", "0", "1", "0", "1", "2", "0", "1", "2", "0"], "File": "c6x", "Func": "c6x_expand_binop_builtin", "Target": "c6x", "Target_Clf": "VLIW", "Compiler_Type": "GCC", "Idx": 1380, "Length": 490, "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": 1381, "Length": 110, "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": 1382, "Length": 16, "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": 1383, "Length": 324, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "static", "bool", "check_mduc_usage", "(", "void", ")", "{", "rtx_insn", "*", "insn", ";", "basic_block", "bb", ";", "FOR_EACH_BB_FN", "(", "bb", ",", "cfun", ")", "{", "FOR_BB_INSNS", "(", "bb", ",", "insn", ")", "{", "if", "(", "INSN_P", "(", "insn", ")", "&&", "(", "get_attr_is_g13_muldiv_insn", "(", "insn", ")", "==", "IS_G13_MULDIV_INSN_YES", ")", ")", "return", "true", ";", "}", "}", "return", "false", ";", "}", ""], "natrual_language": ["Check", "if", "the", "block", "uses", "mul/div", "insns", "for", "G13", "target", "."], "TS_V_token": ["rl78"], "File": "rl78", "Func": "check_mduc_usage", "Target": "rl78", "Target_Clf": "MPU", "Compiler_Type": "GCC", "Idx": 1384, "Length": 53, "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": 1385, "Length": 150, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "bool", "XCoreRegisterInfo", "::", "needsFrameMoves", "(", "const", "MachineFunction", "&", "MF", ")", "{", "return", "MF", ".", "getMMI", "(", ")", ".", "hasDebugInfo", "(", ")", "||", "MF", ".", "getFunction", "(", ")", ".", "needsUnwindTableEntry", "(", ")", ";", "}", ""], "natrual_language": ["Return", "whether", "to", "emit", "frame", "moves", "."], "TS_V_token": ["XCore", "XCore"], "File": "XCoreRegisterInfo10", "Func": "needsFrameMoves", "Target": "XCore", "Target_Clf": "MPU", "Compiler_Type": "LLVM", "Idx": 1386, "Length": 33, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "SDValue", "NyuziTargetLowering", "::", "getTargetNode", "(", "const", "BlockAddressSDNode", "*", "N", ",", "EVT", "Ty", ",", "SelectionDAG", "&", "DAG", ",", "unsigned", "int", "Flag", ")", "const", "{", "return", "DAG", ".", "getTargetBlockAddress", "(", "N", "->", "getBlockAddress", "(", ")", ",", "Ty", ",", "0", ",", "Flag", ")", ";", "}", ""], "natrual_language": ["Retrieve", "the", "target", "node", "this", "edge", "connects", "to", "."], "TS_V_token": ["Nyuzi", "Nyuzi", "0"], "File": "NyuziISelLowering", "Func": "getTargetNode", "Target": "Nyuzi", "Target_Clf": "GPU", "Compiler_Type": "LLVM", "Idx": 1387, "Length": 42, "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": 1388, "Length": 10, "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": 1389, "Length": 315, "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": 1390, "Length": 331, "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": 1391, "Length": 144, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "static", "bool", "m68k_ok_for_sibcall_p", "(", "tree", "decl", ",", "tree", "exp", ")", "{", "enum", "m68k_function_kind", "kind", ";", "if", "(", "CALL_EXPR_STATIC_CHAIN", "(", "exp", ")", ")", "return", "false", ";", "if", "(", "!", "VOID_TYPE_P", "(", "TREE_TYPE", "(", "DECL_RESULT", "(", "cfun", "->", "decl", ")", ")", ")", ")", "{", "rtx", "cfun_value", ";", "rtx", "call_value", ";", "cfun_value", "=", "FUNCTION_VALUE", "(", "TREE_TYPE", "(", "DECL_RESULT", "(", "cfun", "->", "decl", ")", ")", ",", "cfun", "->", "decl", ")", ";", "call_value", "=", "FUNCTION_VALUE", "(", "TREE_TYPE", "(", "exp", ")", ",", "decl", ")", ";", "if", "(", "!", "(", "rtx_equal_p", "(", "cfun_value", ",", "call_value", ")", "||", "(", "REG_P", "(", "cfun_value", ")", "&&", "m68k_reg_present_p", "(", "call_value", ",", "REGNO", "(", "cfun_value", ")", ")", ")", ")", ")", "return", "false", ";", "}", "kind", "=", "m68k_get_function_kind", "(", "current_function_decl", ")", ";", "if", "(", "kind", "==", "m68k_fk_normal_function", ")", "return", "true", ";", "if", "(", "decl", "&&", "m68k_get_function_kind", "(", "decl", ")", "==", "kind", ")", "return", "true", ";", "return", "false", ";", "}", ""], "natrual_language": ["Implement", "TARGET_FUNCTION_OK_FOR_SIBCALL_P", "."], "TS_V_token": ["m68k"], "File": "m68k", "Func": "m68k_ok_for_sibcall_p", "Target": "m68k", "Target_Clf": "MPU", "Compiler_Type": "GCC", "Idx": 1392, "Length": 146, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "bool", "hasFP", "(", "const", "MachineFunction", "&", "MF", ")", "const", "override", "{", "return", "false", ";", "}", ""], "natrual_language": ["hasFP", "-", "Return", "true", "if", "the", "specified", "function", "should", "have", "a", "dedicated", "frame", "pointer", "register", "."], "TS_V_token": ["AMDGPU"], "File": "AMDGPUFrameLowering13", "Func": "hasFP", "Target": "AMDGPU", "Target_Clf": "GPU", "Compiler_Type": "LLVM", "Idx": 1393, "Length": 15, "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": 1394, "Length": 15, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "bool", "R600InstrInfo", "::", "fitsConstReadLimitations", "(", "const", "std", "::", "vector", "<", "MachineInstr", "*", ">", "&", "MIs", ")", "const", "{", "std", "::", "vector", "<", "unsigned", ">", "Consts", ";", "for", "(", "unsigned", "i", "=", "0", ",", "n", "=", "MIs", ".", "size", "(", ")", ";", "i", "<", "n", ";", "i", "++", ")", "{", "MachineInstr", "*", "MI", "=", "MIs", "[", "i", "]", ";", "if", "(", "!", "isALUInstr", "(", "MI", "->", "getOpcode", "(", ")", ")", ")", "continue", ";", "const", "SmallVectorImpl", "<", "std", "::", "pair", "<", "MachineOperand", "*", ",", "int64_t", ">", ">", "&", "Srcs", "=", "getSrcs", "(", "MI", ")", ";", "for", "(", "unsigned", "j", "=", "0", ",", "e", "=", "Srcs", ".", "size", "(", ")", ";", "j", "<", "e", ";", "j", "++", ")", "{", "std", "::", "pair", "<", "MachineOperand", "*", ",", "unsigned", ">", "Src", "=", "Srcs", "[", "j", "]", ";", "if", "(", "Src", ".", "first", "->", "getReg", "(", ")", "==", "AMDGPU", "::", "ALU_CONST", ")", "Consts", ".", "push_back", "(", "Src", ".", "second", ")", ";", "if", "(", "AMDGPU", "::", "R600_KC0RegClass", ".", "contains", "(", "Src", ".", "first", "->", "getReg", "(", ")", ")", "||", "AMDGPU", "::", "R600_KC1RegClass", ".", "contains", "(", "Src", ".", "first", "->", "getReg", "(", ")", ")", ")", "{", "unsigned", "Index", "=", "RI", ".", "getEncodingValue", "(", "Src", ".", "first", "->", "getReg", "(", ")", ")", "&", "0xff", ";", "unsigned", "Chan", "=", "RI", ".", "getHWRegChan", "(", "Src", ".", "first", "->", "getReg", "(", ")", ")", ";", "Consts", ".", "push_back", "(", "(", "Index", "<<", "2", ")", "|", "Chan", ")", ";", "}", "}", "}", "return", "fitsConstReadLimitations", "(", "Consts", ")", ";", "}", ""], "natrual_language": ["Same", "but", "using", "const", "index", "set", "instead", "of", "MI", "set", "."], "TS_V_token": ["R600", "0", "0", "0xff", "2"], "File": "R600InstrInfo19", "Func": "fitsConstReadLimitations", "Target": "R600", "Target_Clf": "GPU", "Compiler_Type": "LLVM", "Idx": 1395, "Length": 245, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "bool", "VectorElementize", "::", "runOnMachineFunction", "(", "MachineFunction", "&", "F", ")", "{", "MRI", "=", "&", "F", ".", "getRegInfo", "(", ")", ";", "RegInfo", "=", "TM", ".", "getRegisterInfo", "(", ")", ";", "InstrInfo", "=", "TM", ".", "getInstrInfo", "(", ")", ";", "VectorToScalarMap", ".", "clear", "(", ")", ";", "elementize", "(", "F", ")", ";", "if", "(", "RemoveRedundantMoves", ")", "while", "(", "1", ")", "{", "if", "(", "copyProp", "(", "F", ")", "==", "0", ")", "break", ";", "removeDeadMoves", "(", "F", ")", ";", "}", "return", "true", ";", "}", ""], "natrual_language": ["runOnMachineFunction", "-", "Emit", "the", "function", "body", "."], "TS_V_token": ["NVPTX", "1", "0"], "File": "VectorElementize", "Func": "runOnMachineFunction", "Target": "NVPTX", "Target_Clf": "GPU", "Compiler_Type": "LLVM", "Idx": 1396, "Length": 76, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "std", "::", "string", "LineReader", "::", "readLine", "(", "unsigned", "lineNum", ")", "{", "if", "(", "lineNum", "<", "theCurLine", ")", "{", "theCurLine", "=", "0", ";", "fstr", ".", "seekg", "(", "0", ",", "std", "::", "ios", "::", "beg", ")", ";", "}", "while", "(", "theCurLine", "<", "lineNum", ")", "{", "fstr", ".", "getline", "(", "buff", ",", "500", ")", ";", "theCurLine", "++", ";", "}", "return", "buff", ";", "}", ""], "natrual_language": ["Reads", "a", "line", "."], "TS_V_token": ["NVPTX", "0", "0", "500"], "File": "NVPTXAsmPrinter", "Func": "readLine", "Target": "NVPTX", "Target_Clf": "GPU", "Compiler_Type": "LLVM", "Idx": 1397, "Length": 60, "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": 1398, "Length": 18, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "void", "Nios2InstPrinter", "::", "printInst", "(", "const", "MCInst", "*", "MI", ",", "raw_ostream", "&", "O", ",", "StringRef", "Annot", ",", "const", "MCSubtargetInfo", "&", "STI", ")", "{", "if", "(", "!", "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": ["Nios2", "Nios2"], "File": "Nios2InstPrinter", "Func": "printInst", "Target": "Nios2", "Target_Clf": "MPU", "Compiler_Type": "LLVM", "Idx": 1399, "Length": 52, "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": 1400, "Length": 187, "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": 1401, "Length": 269, "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": 1402, "Length": 177, "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": 1403, "Length": 150, "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": 1404, "Length": 153, "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": 1405, "Length": 115, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "void", "HexagonFrameLowering", "::", "emitPrologue", "(", "MachineFunction", "&", "MF", ")", "const", "{", "MachineBasicBlock", "&", "MBB", "=", "MF", ".", "front", "(", ")", ";", "MachineFrameInfo", "*", "MFI", "=", "MF", ".", "getFrameInfo", "(", ")", ";", "MachineBasicBlock", "::", "iterator", "MBBI", "=", "MBB", ".", "begin", "(", ")", ";", "const", "HexagonRegisterInfo", "*", "QRI", "=", "static_cast", "<", "const", "HexagonRegisterInfo", "*", ">", "(", "MF", ".", "getTarget", "(", ")", ".", "getRegisterInfo", "(", ")", ")", ";", "DebugLoc", "dl", "=", "MBBI", "!=", "MBB", ".", "end", "(", ")", "?", "MBBI", "->", "getDebugLoc", "(", ")", ":", "DebugLoc", "(", ")", ";", "determineFrameLayout", "(", "MF", ")", ";", "int", "NumBytes", "=", "(", "int", ")", "MFI", "->", "getStackSize", "(", ")", ";", "MachineBasicBlock", "::", "iterator", "InsertPt", "=", "MBB", ".", "begin", "(", ")", ";", "HexagonMachineFunctionInfo", "*", "FuncInfo", "=", "MF", ".", "getInfo", "<", "HexagonMachineFunctionInfo", ">", "(", ")", ";", "const", "std", "::", "vector", "<", "MachineInstr", "*", ">", "&", "AdjustRegs", "=", "FuncInfo", "->", "getAllocaAdjustInsts", "(", ")", ";", "for", "(", "std", "::", "vector", "<", "MachineInstr", "*", ">", "::", "const_iterator", "i", "=", "AdjustRegs", ".", "begin", "(", ")", ",", "e", "=", "AdjustRegs", ".", "end", "(", ")", ";", "i", "!=", "e", ";", "++", "i", ")", "{", "MachineInstr", "*", "MI", "=", "*", "i", ";", "assert", "(", "(", "MI", "->", "getOpcode", "(", ")", "==", "Hexagon", "::", "ADJDYNALLOC", ")", "&&", "\"Expected adjust alloca node\"", ")", ";", "MachineOperand", "&", "MO", "=", "MI", "->", "getOperand", "(", "2", ")", ";", "assert", "(", "MO", ".", "isImm", "(", ")", "&&", "\"Expected immediate\"", ")", ";", "MO", ".", "setImm", "(", "MFI", "->", "getMaxCallFrameSize", "(", ")", ")", ";", "}", "if", "(", "hasFP", "(", "MF", ")", ")", "{", "const", "int", "ALLOCFRAME_MAX", "=", "16384", ";", "const", "TargetInstrInfo", "&", "TII", "=", "*", "MF", ".", "getTarget", "(", ")", ".", "getInstrInfo", "(", ")", ";", "if", "(", "NumBytes", ">=", "ALLOCFRAME_MAX", ")", "{", "BuildMI", "(", "MBB", ",", "InsertPt", ",", "dl", ",", "TII", ".", "get", "(", "Hexagon", "::", "ALLOCFRAME", ")", ")", ".", "addImm", "(", "0", ")", ";", "BuildMI", "(", "MBB", ",", "InsertPt", ",", "dl", ",", "TII", ".", "get", "(", "Hexagon", "::", "CONST32_Int_Real", ")", ",", "HEXAGON_RESERVED_REG_1", ")", ".", "addImm", "(", "NumBytes", ")", ";", "BuildMI", "(", "MBB", ",", "InsertPt", ",", "dl", ",", "TII", ".", "get", "(", "Hexagon", "::", "SUB_rr", ")", ",", "QRI", "->", "getStackRegister", "(", ")", ")", ".", "addReg", "(", "QRI", "->", "getStackRegister", "(", ")", ")", ".", "addReg", "(", "HEXAGON_RESERVED_REG_1", ")", ";", "}", "else", "{", "BuildMI", "(", "MBB", ",", "InsertPt", ",", "dl", ",", "TII", ".", "get", "(", "Hexagon", "::", "ALLOCFRAME", ")", ")", ".", "addImm", "(", "NumBytes", ")", ";", "}", "}", "}", ""], "natrual_language": ["emitProlog/emitEpilog", "-", "These", "methods", "insert", "prolog", "and", "epilog", "code", "into", "the", "function", "."], "TS_V_token": ["Hexagon", "Hexagon", "Hexagon", "Hexagon", "Hexagon", "Hexagon", "Hexagon::ADJDYNALLOC", "\"Expected adjust alloca node\"", "2", "\"Expected immediate\"", "16384", "Hexagon::ALLOCFRAME", "0", "Hexagon::CONST32_Int_Real", "Hexagon::SUB_rr", "Hexagon::ALLOCFRAME"], "File": "HexagonFrameLowering18", "Func": "emitPrologue", "Target": "Hexagon", "Target_Clf": "DSP", "Compiler_Type": "LLVM", "Idx": 1406, "Length": 389, "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": 1407, "Length": 285, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "bool", "XCoreTargetMachine", "::", "addInstSelector", "(", "PassManagerBase", "&", "PM", ")", "{", "PM", ".", "add", "(", "createXCoreISelDag", "(", "*", "this", ")", ")", ";", "return", "false", ";", "}", ""], "natrual_language": ["addInstSelector", "-", "This", "method", "should", "install", "an", "instruction", "selector", "pass", ",", "which", "converts", "from", "LLVM", "code", "to", "machine", "instructions", "."], "TS_V_token": ["XCore", "XCore", "XCore"], "File": "XCoreTargetMachine5", "Func": "addInstSelector", "Target": "XCore", "Target_Clf": "MPU", "Compiler_Type": "LLVM", "Idx": 1408, "Length": 25, "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": 1409, "Length": 356, "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": 1410, "Length": 215, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "unsigned", "getNumFixupKinds", "(", ")", "const", "override", "{", "return", "TriCore", "::", "NumTargetFixupKinds", ";", "}", ""], "natrual_language": ["Get", "the", "number", "of", "target", "specific", "fixup", "kinds", "."], "TS_V_token": ["TriCore", "TriCore::NumTargetFixupKinds"], "File": "TriCoreAsmBackend (2)", "Func": "getNumFixupKinds", "Target": "TriCore", "Target_Clf": "MPU", "Compiler_Type": "LLVM", "Idx": 1411, "Length": 13, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "static", "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", ")", "==", "UNSPEC", "&&", "XINT", "(", "x", ",", "1", ")", "==", "UNSPEC_GOTSYM_OFF", ")", "{", "assemble_name", "(", "fp", ",", "\"_GLOBAL_OFFSET_TABLE_\"", ")", ";", "if", "(", "GOT_PCREL", ")", "fputs", "(", "\"+.\"", ",", "fp", ")", ";", "fputs", "(", "\"-(\"", ",", "fp", ")", ";", "output_addr_const", "(", "fp", ",", "XVECEXP", "(", "x", ",", "0", ",", "0", ")", ")", ";", "fputc", "(", "')'", ",", "fp", ")", ";", "return", "TRUE", ";", "}", "else", "if", "(", "GET_CODE", "(", "x", ")", "==", "UNSPEC", "&&", "XINT", "(", "x", ",", "1", ")", "==", "UNSPEC_SYMBOL_OFFSET", ")", "{", "output_addr_const", "(", "fp", ",", "XVECEXP", "(", "x", ",", "0", ",", "0", ")", ")", ";", "if", "(", "GOT_PCREL", ")", "fputs", "(", "\"+.\"", ",", "fp", ")", ";", "fputs", "(", "\"-(\"", ",", "fp", ")", ";", "output_addr_const", "(", "fp", ",", "XVECEXP", "(", "x", ",", "0", ",", "1", ")", ")", ";", "fputc", "(", "')'", ",", "fp", ")", ";", "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\"", "1", "\"_GLOBAL_OFFSET_TABLE_\"", "\"+.\"", "\"-(\"", "0", "0", "1", "0", "0", "\"+.\"", "\"-(\"", "0", "1"], "File": "arm", "Func": "arm_output_addr_const_extra", "Target": "arm", "Target_Clf": "CPU", "Compiler_Type": "GCC", "Idx": 1412, "Length": 268, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "const", "char", "*", "tilepro_output_cbranch_with_opcode", "(", "rtx_insn", "*", "insn", ",", "rtx", "*", "operands", ",", "const", "char", "*", "opcode", ",", "const", "char", "*", "rev_opcode", ",", "int", "regop", ",", "bool", "netreg_p", ")", "{", "const", "char", "*", "branch_if_false", ";", "rtx", "taken", ",", "not_taken", ";", "bool", "is_simple_branch", ";", "gcc_assert", "(", "LABEL_P", "(", "operands", "[", "0", "]", ")", ")", ";", "is_simple_branch", "=", "true", ";", "if", "(", "INSN_ADDRESSES_SET_P", "(", ")", ")", "{", "int", "from_addr", "=", "INSN_ADDRESSES", "(", "INSN_UID", "(", "insn", ")", ")", ";", "int", "to_addr", "=", "INSN_ADDRESSES", "(", "INSN_UID", "(", "operands", "[", "0", "]", ")", ")", ";", "int", "delta", "=", "to_addr", "-", "from_addr", ";", "is_simple_branch", "=", "IN_RANGE", "(", "delta", ",", "-", "524288", ",", "524280", ")", ";", "}", "if", "(", "is_simple_branch", ")", "{", "return", "tilepro_output_simple_cbranch_with_opcode", "(", "insn", ",", "opcode", ",", "regop", ",", "netreg_p", ",", "false", ")", ";", "}", "not_taken", "=", "gen_label_rtx", "(", ")", ";", "taken", "=", "operands", "[", "0", "]", ";", "operands", "[", "0", "]", "=", "not_taken", ";", "branch_if_false", "=", "tilepro_output_simple_cbranch_with_opcode", "(", "insn", ",", "rev_opcode", ",", "regop", ",", "netreg_p", ",", "true", ")", ";", "output_asm_insn", "(", "branch_if_false", ",", "operands", ")", ";", "output_asm_insn", "(", "\"j\\t%l0\"", ",", "&", "taken", ")", ";", "targetm", ".", "asm_out", ".", "internal_label", "(", "asm_out_file", ",", "\"L\"", ",", "CODE_LABEL_NUMBER", "(", "not_taken", ")", ")", ";", "return", "\"\"", ";", "}", ""], "natrual_language": ["Output", "assembly", "code", "for", "a", "specific", "branch", "instruction", ",", "appending", "the", "branch", "prediction", "flag", "to", "the", "opcode", "if", "appropriate", "."], "TS_V_token": ["tilepro", "0", "0", "524288", "524280", "0", "0", "\"j\\t%l0\"", "\"L\"", "\"\""], "File": "tilepro", "Func": "tilepro_output_cbranch_with_opcode", "Target": "tilepro", "Target_Clf": "VLIW", "Compiler_Type": "GCC", "Idx": 1413, "Length": 200, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "void", "mprocInstrInfo", "::", "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", ")", ")", ";", "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": ["mproc", "mproc", "\"Cannot store this register to stack slot!\""], "File": "mprocInstrInfo", "Func": "loadRegFromStackSlot", "Target": "mproc", "Target_Clf": "Virtual ISA", "Compiler_Type": "LLVM", "Idx": 1414, "Length": 115, "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": 1415, "Length": 356, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "inline", "static", "bool", "classof", "(", "const", "MCStreamer", "*", "streamer", ")", "{", "return", "true", ";", "}", ""], "natrual_language": ["Methods", "for", "support", "type", "inquiry", "through", "isa", ",", "cast", ",", "and", "dyn_cast", ":"], "TS_V_token": ["HSAIL"], "File": "BRIGDwarfStreamer", "Func": "classof", "Target": "HSAIL", "Target_Clf": "Virtual ISA", "Compiler_Type": "LLVM", "Idx": 1416, "Length": 15, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "static", "void", "mips_init_dfa_post_cycle_insn", "(", "void", ")", "{", "if", "(", "TUNE_LOONGSON_2EF", ")", "mips_ls2_init_dfa_post_cycle_insn", "(", ")", ";", "}", ""], "natrual_language": ["Implement", "TARGET_SCHED_INIT_DFA_POST_CYCLE_INSN", "hook", ".", "Init", "data", "used", "in", "mips_dfa_post_advance_cycle", "."], "TS_V_token": ["mips"], "File": "mips", "Func": "mips_init_dfa_post_cycle_insn", "Target": "mips", "Target_Clf": "CPU", "Compiler_Type": "GCC", "Idx": 1417, "Length": 16, "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": 1418, "Length": 32, "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": 1419, "Length": 15, "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": ["mproc"], "File": "mprocInstrInfo", "Func": "getRegisterInfo", "Target": "mproc", "Target_Clf": "Virtual ISA", "Compiler_Type": "LLVM", "Idx": 1420, "Length": 13, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "bool", "SIInstrInfo", "::", "isReallyTriviallyReMaterializable", "(", "const", "MachineInstr", "&", "MI", ",", "AliasAnalysis", "*", "AA", ")", "const", "{", "switch", "(", "MI", ".", "getOpcode", "(", ")", ")", "{", "case", "AMDGPU", "::", "V_MOV_B32_e32", ":", "case", "AMDGPU", "::", "V_MOV_B32_e64", ":", "case", "AMDGPU", "::", "V_MOV_B64_PSEUDO", ":", "return", "true", ";", "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": ["AMDGPU", "SI", "AMDGPU::V_MOV_B32_e32", "AMDGPU::V_MOV_B32_e64", "AMDGPU::V_MOV_B64_PSEUDO"], "File": "SIInstrInfo (2)", "Func": "isReallyTriviallyReMaterializable", "Target": "AMDGPU", "Target_Clf": "GPU", "Compiler_Type": "LLVM", "Idx": 1421, "Length": 50, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "SDValue", "MSP430TargetLowering", "::", "LowerOperation", "(", "SDValue", "Op", ",", "SelectionDAG", "&", "DAG", ")", "const", "{", "switch", "(", "Op", ".", "getOpcode", "(", ")", ")", "{", "case", "ISD", "::", "SHL", ":", "case", "ISD", "::", "SRL", ":", "case", "ISD", "::", "SRA", ":", "return", "LowerShifts", "(", "Op", ",", "DAG", ")", ";", "case", "ISD", "::", "GlobalAddress", ":", "return", "LowerGlobalAddress", "(", "Op", ",", "DAG", ")", ";", "case", "ISD", "::", "BlockAddress", ":", "return", "LowerBlockAddress", "(", "Op", ",", "DAG", ")", ";", "case", "ISD", "::", "ExternalSymbol", ":", "return", "LowerExternalSymbol", "(", "Op", ",", "DAG", ")", ";", "case", "ISD", "::", "SETCC", ":", "return", "LowerSETCC", "(", "Op", ",", "DAG", ")", ";", "case", "ISD", "::", "BR_CC", ":", "return", "LowerBR_CC", "(", "Op", ",", "DAG", ")", ";", "case", "ISD", "::", "SELECT_CC", ":", "return", "LowerSELECT_CC", "(", "Op", ",", "DAG", ")", ";", "case", "ISD", "::", "SIGN_EXTEND", ":", "return", "LowerSIGN_EXTEND", "(", "Op", ",", "DAG", ")", ";", "case", "ISD", "::", "RETURNADDR", ":", "return", "LowerRETURNADDR", "(", "Op", ",", "DAG", ")", ";", "case", "ISD", "::", "FRAMEADDR", ":", "return", "LowerFRAMEADDR", "(", "Op", ",", "DAG", ")", ";", "default", ":", "llvm_unreachable", "(", "\"unimplemented operand\"", ")", ";", "}", "}", ""], "natrual_language": ["LowerOperation", "-", "Provide", "custom", "lowering", "hooks", "for", "some", "operations", "."], "TS_V_token": ["MSP430", "MSP430", "ISD::SHL", "ISD::SRL", "ISD::SRA", "ISD::GlobalAddress", "ISD::BlockAddress", "ISD::ExternalSymbol", "ISD::SETCC", "ISD::BR_CC", "ISD::SELECT_CC", "ISD::SIGN_EXTEND", "ISD::RETURNADDR", "ISD::FRAMEADDR", "\"unimplemented operand\""], "File": "MSP430ISelLowering14", "Func": "LowerOperation", "Target": "MSP430", "Target_Clf": "MPU", "Compiler_Type": "LLVM", "Idx": 1422, "Length": 172, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "void", "s390_expand_split_stack_prologue", "(", "void", ")", "{", "rtx", "r1", ",", "guard", ",", "cc", "=", "NULL", ";", "rtx_insn", "*", "insn", ";", "int", "psso", "=", "TARGET_64BIT", "?", "0x38", ":", "0x20", ";", "HOST_WIDE_INT", "frame_size", "=", "cfun_frame_layout", ".", "frame_size", ";", "HOST_WIDE_INT", "args_size", "=", "crtl", "->", "args", ".", "size", ">=", "0", "?", "(", "(", "crtl", "->", "args", ".", "size", "+", "7", ")", "&", "~", "7", ")", ":", "0", ";", "rtx_code_label", "*", "call_done", "=", "NULL", ";", "rtx_code_label", "*", "parm_base", "=", "NULL", ";", "rtx", "tmp", ";", "gcc_assert", "(", "flag_split_stack", "&&", "reload_completed", ")", ";", "if", "(", "!", "TARGET_CPU_ZARCH", ")", "{", "sorry", "(", "\"CPUs older than z900 are not supported for -fsplit-stack\"", ")", ";", "return", ";", "}", "r1", "=", "gen_rtx_REG", "(", "Pmode", ",", "1", ")", ";", "if", "(", "!", "frame_size", ")", "{", "if", "(", "cfun", "->", "machine", "->", "split_stack_varargs_pointer", "!=", "NULL_RTX", ")", "{", "emit_move_insn", "(", "r1", ",", "gen_rtx_PLUS", "(", "Pmode", ",", "stack_pointer_rtx", ",", "GEN_INT", "(", "STACK_POINTER_OFFSET", ")", ")", ")", ";", "}", "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", ")", ";", "}", "if", "(", "CONST_OK_FOR_K", "(", "frame_size", ")", "||", "CONST_OK_FOR_Op", "(", "frame_size", ")", ")", "{", "emit_move_insn", "(", "r1", ",", "gen_rtx_REG", "(", "Pmode", ",", "TP_REGNUM", ")", ")", ";", "guard", "=", "gen_rtx_MEM", "(", "Pmode", ",", "plus_constant", "(", "Pmode", ",", "r1", ",", "psso", ")", ")", ";", "if", "(", "frame_size", ">", "SPLIT_STACK_AVAILABLE", ")", "{", "emit_move_insn", "(", "r1", ",", "guard", ")", ";", "if", "(", "TARGET_64BIT", ")", "emit_insn", "(", "gen_adddi3", "(", "r1", ",", "r1", ",", "GEN_INT", "(", "frame_size", ")", ")", ")", ";", "else", "emit_insn", "(", "gen_addsi3", "(", "r1", ",", "r1", ",", "GEN_INT", "(", "frame_size", ")", ")", ")", ";", "guard", "=", "r1", ";", "}", "cc", "=", "s390_emit_compare", "(", "LT", ",", "stack_pointer_rtx", ",", "guard", ")", ";", "}", "call_done", "=", "gen_label_rtx", "(", ")", ";", "parm_base", "=", "gen_label_rtx", "(", ")", ";", "tmp", "=", "gen_split_stack_data", "(", "parm_base", ",", "call_done", ",", "GEN_INT", "(", "frame_size", ")", ",", "GEN_INT", "(", "args_size", ")", ")", ";", "insn", "=", "emit_insn", "(", "tmp", ")", ";", "add_reg_note", "(", "insn", ",", "REG_LABEL_OPERAND", ",", "call_done", ")", ";", "LABEL_NUSES", "(", "call_done", ")", "++", ";", "add_reg_note", "(", "insn", ",", "REG_LABEL_OPERAND", ",", "parm_base", ")", ";", "LABEL_NUSES", "(", "parm_base", ")", "++", ";", "insn", "=", "emit_move_insn", "(", "r1", ",", "gen_rtx_LABEL_REF", "(", "VOIDmode", ",", "parm_base", ")", ")", ";", "add_reg_note", "(", "insn", ",", "REG_LABEL_OPERAND", ",", "parm_base", ")", ";", "LABEL_NUSES", "(", "parm_base", ")", "++", ";", "if", "(", "cc", "!=", "NULL", ")", "{", "tmp", "=", "gen_split_stack_cond_call", "(", "morestack_ref", ",", "cc", ",", "call_done", ")", ";", "insn", "=", "emit_jump_insn", "(", "tmp", ")", ";", "JUMP_LABEL", "(", "insn", ")", "=", "call_done", ";", "LABEL_NUSES", "(", "call_done", ")", "++", ";", "add_int_reg_note", "(", "insn", ",", "REG_BR_PROB", ",", "REG_BR_PROB_BASE", "/", "100", ")", ";", "if", "(", "cfun", "->", "machine", "->", "split_stack_varargs_pointer", "!=", "NULL_RTX", ")", "{", "emit_move_insn", "(", "r1", ",", "gen_rtx_PLUS", "(", "Pmode", ",", "stack_pointer_rtx", ",", "GEN_INT", "(", "STACK_POINTER_OFFSET", ")", ")", ")", ";", "}", "}", "else", "{", "tmp", "=", "gen_split_stack_call", "(", "morestack_ref", ",", "call_done", ")", ";", "insn", "=", "emit_jump_insn", "(", "tmp", ")", ";", "JUMP_LABEL", "(", "insn", ")", "=", "call_done", ";", "LABEL_NUSES", "(", "call_done", ")", "++", ";", "emit_barrier", "(", ")", ";", "}", "emit_label", "(", "call_done", ")", ";", "}", ""], "natrual_language": ["Emit", "-fsplit-stack", "prologue", ",", "which", "goes", "before", "the", "regular", "function", "prologue", "."], "TS_V_token": ["s390", "0x38", "0x20", "0", "7", "7", "0", "\"CPUs older than z900 are not supported for -fsplit-stack\"", "1", "\"__morestack\"", "100"], "File": "s3905", "Func": "s390_expand_split_stack_prologue", "Target": "s390", "Target_Clf": "MPU", "Compiler_Type": "GCC", "Idx": 1423, "Length": 499, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "const", "char", "*", "ashlqi3_out", "(", "rtx_insn", "*", "insn", ",", "rtx", "operands", "[", "]", ",", "int", "*", "len", ")", "{", "if", "(", "GET_CODE", "(", "operands", "[", "2", "]", ")", "==", "CONST_INT", ")", "{", "int", "k", ";", "if", "(", "!", "len", ")", "len", "=", "&", "k", ";", "switch", "(", "INTVAL", "(", "operands", "[", "2", "]", ")", ")", "{", "default", ":", "if", "(", "INTVAL", "(", "operands", "[", "2", "]", ")", "<", "8", ")", "break", ";", "*", "len", "=", "1", ";", "return", "\"clr %0\"", ";", "case", "1", ":", "*", "len", "=", "1", ";", "return", "\"lsl %0\"", ";", "case", "2", ":", "*", "len", "=", "2", ";", "return", "(", "\"lsl %0\"", "CR_TAB", "\"lsl %0\"", ")", ";", "case", "3", ":", "*", "len", "=", "3", ";", "return", "(", "\"lsl %0\"", "CR_TAB", "\"lsl %0\"", "CR_TAB", "\"lsl %0\"", ")", ";", "case", "4", ":", "if", "(", "test_hard_reg_class", "(", "LD_REGS", ",", "operands", "[", "0", "]", ")", ")", "{", "*", "len", "=", "2", ";", "return", "(", "\"swap %0\"", "CR_TAB", "\"andi %0,0xf0\"", ")", ";", "}", "*", "len", "=", "4", ";", "return", "(", "\"lsl %0\"", "CR_TAB", "\"lsl %0\"", "CR_TAB", "\"lsl %0\"", "CR_TAB", "\"lsl %0\"", ")", ";", "case", "5", ":", "if", "(", "test_hard_reg_class", "(", "LD_REGS", ",", "operands", "[", "0", "]", ")", ")", "{", "*", "len", "=", "3", ";", "return", "(", "\"swap %0\"", "CR_TAB", "\"lsl %0\"", "CR_TAB", "\"andi %0,0xe0\"", ")", ";", "}", "*", "len", "=", "5", ";", "return", "(", "\"lsl %0\"", "CR_TAB", "\"lsl %0\"", "CR_TAB", "\"lsl %0\"", "CR_TAB", "\"lsl %0\"", "CR_TAB", "\"lsl %0\"", ")", ";", "case", "6", ":", "if", "(", "test_hard_reg_class", "(", "LD_REGS", ",", "operands", "[", "0", "]", ")", ")", "{", "*", "len", "=", "4", ";", "return", "(", "\"swap %0\"", "CR_TAB", "\"lsl %0\"", "CR_TAB", "\"lsl %0\"", "CR_TAB", "\"andi %0,0xc0\"", ")", ";", "}", "*", "len", "=", "6", ";", "return", "(", "\"lsl %0\"", "CR_TAB", "\"lsl %0\"", "CR_TAB", "\"lsl %0\"", "CR_TAB", "\"lsl %0\"", "CR_TAB", "\"lsl %0\"", "CR_TAB", "\"lsl %0\"", ")", ";", "case", "7", ":", "*", "len", "=", "3", ";", "return", "(", "\"ror %0\"", "CR_TAB", "\"clr %0\"", "CR_TAB", "\"ror %0\"", ")", ";", "}", "}", "else", "if", "(", "CONSTANT_P", "(", "operands", "[", "2", "]", ")", ")", "fatal_insn", "(", "\"internal compiler error. Incorrect shift:\"", ",", "insn", ")", ";", "out_shift_with_cnt", "(", "\"lsl %0\"", ",", "insn", ",", "operands", ",", "len", ",", "1", ")", ";", "return", "\"\"", ";", "}", ""], "natrual_language": ["8bit", "shift", "left", "(", "(", "char", ")", "x", "<", "<", "i", ")"], "TS_V_token": ["avr", "2", "2", "2", "8", "1", "\"clr %0\"", "1", "1", "\"lsl %0\"", "2", "2", "\"lsl %0\"", "\"lsl %0\"", "3", "3", "\"lsl %0\"", "\"lsl %0\"", "\"lsl %0\"", "4", "0", "2", "\"swap %0\"", "\"andi %0,0xf0\"", "4", "\"lsl %0\"", "\"lsl %0\"", "\"lsl %0\"", "\"lsl %0\"", "5", "0", "3", "\"swap %0\"", "\"lsl %0\"", "\"andi %0,0xe0\"", "5", "\"lsl %0\"", "\"lsl %0\"", "\"lsl %0\"", "\"lsl %0\"", "\"lsl %0\"", "6", "0", "4", "\"swap %0\"", "\"lsl %0\"", "\"lsl %0\"", "\"andi %0,0xc0\"", "6", "\"lsl %0\"", "\"lsl %0\"", "\"lsl %0\"", "\"lsl %0\"", "\"lsl %0\"", "\"lsl %0\"", "7", "3", "\"ror %0\"", "\"clr %0\"", "\"ror %0\"", "2", "\"internal compiler error. Incorrect shift:\"", "\"lsl %0\"", "1", "\"\""], "File": "avr4", "Func": "ashlqi3_out", "Target": "avr", "Target_Clf": "MPU", "Compiler_Type": "GCC", "Idx": 1424, "Length": 324, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "static", "bool", "pdp11_modes_tieable_p", "(", "machine_mode", "mode1", ",", "machine_mode", "mode2", ")", "{", "return", "mode1", "==", "HImode", "&&", "mode2", "==", "QImode", ";", "}", ""], "natrual_language": ["Implement", "TARGET_MODES_TIEABLE_P", "."], "TS_V_token": ["pdp11"], "File": "pdp11", "Func": "pdp11_modes_tieable_p", "Target": "pdp11", "Target_Clf": "MPU", "Compiler_Type": "GCC", "Idx": 1425, "Length": 21, "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": 1426, "Length": 11, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "static", "rtx", "mn10300_builtin_saveregs", "(", "void", ")", "{", "rtx", "offset", ",", "mem", ";", "tree", "fntype", "=", "TREE_TYPE", "(", "current_function_decl", ")", ";", "int", "argadj", "=", "(", "(", "!", "stdarg_p", "(", "fntype", ")", ")", "?", "UNITS_PER_WORD", ":", "0", ")", ";", "alias_set_type", "set", "=", "get_varargs_alias_set", "(", ")", ";", "if", "(", "argadj", ")", "offset", "=", "plus_constant", "(", "Pmode", ",", "crtl", "->", "args", ".", "arg_offset_rtx", ",", "argadj", ")", ";", "else", "offset", "=", "crtl", "->", "args", ".", "arg_offset_rtx", ";", "mem", "=", "gen_rtx_MEM", "(", "SImode", ",", "crtl", "->", "args", ".", "internal_arg_pointer", ")", ";", "set_mem_alias_set", "(", "mem", ",", "set", ")", ";", "emit_move_insn", "(", "mem", ",", "gen_rtx_REG", "(", "SImode", ",", "0", ")", ")", ";", "mem", "=", "gen_rtx_MEM", "(", "SImode", ",", "plus_constant", "(", "Pmode", ",", "crtl", "->", "args", ".", "internal_arg_pointer", ",", "4", ")", ")", ";", "set_mem_alias_set", "(", "mem", ",", "set", ")", ";", "emit_move_insn", "(", "mem", ",", "gen_rtx_REG", "(", "SImode", ",", "1", ")", ")", ";", "return", "copy_to_reg", "(", "expand_binop", "(", "Pmode", ",", "add_optab", ",", "crtl", "->", "args", ".", "internal_arg_pointer", ",", "offset", ",", "0", ",", "0", ",", "OPTAB_LIB_WIDEN", ")", ")", ";", "}", ""], "natrual_language": ["Flush", "the", "argument", "registers", "to", "the", "stack", "for", "a", "stdarg", "function", ";", "return", "the", "new", "argument", "pointer", "."], "TS_V_token": ["mn10300", "0", "0", "4", "1", "0", "0"], "File": "mn10300", "Func": "mn10300_builtin_saveregs", "Target": "mn10300", "Target_Clf": "MPU", "Compiler_Type": "GCC", "Idx": 1427, "Length": 169, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "bool", "WebAssemblyInstrInfo", "::", "isReallyTriviallyReMaterializable", "(", "const", "MachineInstr", "*", "MI", ",", "AliasAnalysis", "*", "AA", ")", "const", "{", "switch", "(", "MI", "->", "getOpcode", "(", ")", ")", "{", "case", "WebAssembly", "::", "CONST_I32", ":", "case", "WebAssembly", "::", "CONST_I64", ":", "case", "WebAssembly", "::", "CONST_F32", ":", "case", "WebAssembly", "::", "CONST_F64", ":", "return", "true", ";", "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": ["WebAssembly", "WebAssembly", "WebAssembly::CONST_I32", "WebAssembly::CONST_I64", "WebAssembly::CONST_F32", "WebAssembly::CONST_F64"], "File": "WebAssemblyInstrInfo19", "Func": "isReallyTriviallyReMaterializable", "Target": "WebAssembly", "Target_Clf": "Virtual ISA", "Compiler_Type": "LLVM", "Idx": 1428, "Length": 55, "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": 1429, "Length": 25, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "void", "TGSIRegisterInfo", "::", "eliminateFrameIndex", "(", "MachineBasicBlock", "::", "iterator", "ii", ",", "int", "spadj", ",", "unsigned", "int", "fiop", ",", "RegScavenger", "*", "rs", ")", "const", "{", "unsigned", "i", "=", "0", ";", "MachineInstr", "&", "mi", "=", "*", "ii", ";", "DebugLoc", "dl", "=", "mi", ".", "getDebugLoc", "(", ")", ";", "MachineFunction", "&", "mf", "=", "*", "mi", ".", "getParent", "(", ")", "->", "getParent", "(", ")", ";", "assert", "(", "spadj", "==", "0", ")", ";", "while", "(", "!", "mi", ".", "getOperand", "(", "i", ")", ".", "isFI", "(", ")", ")", "{", "++", "i", ";", "assert", "(", "i", "<", "mi", ".", "getNumOperands", "(", ")", "&&", "\"Instr doesn't have FrameIndex operand!\"", ")", ";", "}", "int", "frameidx", "=", "mi", ".", "getOperand", "(", "i", ")", ".", "getIndex", "(", ")", ";", "int", "offset", "=", "mf", ".", "getFrameInfo", "(", ")", ".", "getObjectOffset", "(", "frameidx", ")", ";", "BuildMI", "(", "*", "mi", ".", "getParent", "(", ")", ",", "ii", ",", "dl", ",", "TII", ".", "get", "(", "TGSI", "::", "UADDs", ")", ",", "TGSI", "::", "TEMP0y", ")", ".", "addReg", "(", "TGSI", "::", "TEMP0x", ")", ".", "addImm", "(", "offset", ")", ";", "mi", ".", "getOperand", "(", "i", ")", ".", "ChangeToRegister", "(", "TGSI", "::", "TEMP0y", ",", "false", ")", ";", "}", ""], "natrual_language": ["This", "method", "must", "be", "overriden", "to", "eliminate", "abstract", "frame", "indices", "from", "instructions", "which", "may", "use", "them", "."], "TS_V_token": ["TGSI", "TGSI", "0", "0", "\"Instr doesn't have FrameIndex operand!\"", "TGSI::UADDs", "TGSI::TEMP0y", "TGSI::TEMP0x", "TGSI::TEMP0y"], "File": "TGSIRegisterInfo", "Func": "eliminateFrameIndex", "Target": "TGSI", "Target_Clf": "Virtual ISA", "Compiler_Type": "LLVM", "Idx": 1430, "Length": 182, "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": 1431, "Length": 120, "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": 1432, "Length": 54, "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": 1433, "Length": 13, "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": 1434, "Length": 10, "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": 1435, "Length": 398, "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": 1436, "Length": 139, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "bool", "s390_hard_regno_mode_ok", "(", "unsigned", "int", "regno", ",", "machine_mode", "mode", ")", "{", "switch", "(", "REGNO_REG_CLASS", "(", "regno", ")", ")", "{", "case", "FP_REGS", ":", "if", "(", "REGNO_PAIR_OK", "(", "regno", ",", "mode", ")", ")", "{", "if", "(", "mode", "==", "SImode", "||", "mode", "==", "DImode", ")", "return", "true", ";", "if", "(", "FLOAT_MODE_P", "(", "mode", ")", "&&", "GET_MODE_CLASS", "(", "mode", ")", "!=", "MODE_VECTOR_FLOAT", ")", "return", "true", ";", "}", "break", ";", "case", "ADDR_REGS", ":", "if", "(", "FRAME_REGNO_P", "(", "regno", ")", "&&", "mode", "==", "Pmode", ")", "return", "true", ";", "case", "GENERAL_REGS", ":", "if", "(", "REGNO_PAIR_OK", "(", "regno", ",", "mode", ")", ")", "{", "if", "(", "TARGET_ZARCH", "||", "(", "mode", "!=", "TFmode", "&&", "mode", "!=", "TCmode", "&&", "mode", "!=", "TDmode", ")", ")", "return", "true", ";", "}", "break", ";", "case", "CC_REGS", ":", "if", "(", "GET_MODE_CLASS", "(", "mode", ")", "==", "MODE_CC", ")", "return", "true", ";", "break", ";", "case", "ACCESS_REGS", ":", "if", "(", "REGNO_PAIR_OK", "(", "regno", ",", "mode", ")", ")", "{", "if", "(", "mode", "==", "SImode", "||", "mode", "==", "Pmode", ")", "return", "true", ";", "}", "break", ";", "default", ":", "return", "false", ";", "}", "return", "false", ";", "}", ""], "natrual_language": ["Return", "true", "if", "it", "is", "legal", "to", "put", "a", "value", "with", "MODE", "into", "REGNO", "."], "TS_V_token": ["s390"], "File": "s3904", "Func": "s390_hard_regno_mode_ok", "Target": "s390", "Target_Clf": "MPU", "Compiler_Type": "GCC", "Idx": 1437, "Length": 175, "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": 1438, "Length": 11, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "bool", "ARM64PassConfig", "::", "addPreSched2", "(", ")", "{", "addPass", "(", "createARM64ExpandPseudoPass", "(", ")", ")", ";", "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": "ARM64TargetMachine", "Func": "addPreSched2", "Target": "ARM64", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 1439, "Length": 25, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "const", "char", "*", "AVRTargetLowering", "::", "getTargetNodeName", "(", "unsigned", "Opcode", ")", "const", "{", "case", "AVRISD", "::", "name", ":", "\\", "return", "#", "name", "switch", "(", "Opcode", ")", "{", "default", ":", "return", "nullptr", ";", "NODE", "(", "RET_FLAG", ")", ";", "NODE", "(", "RETI_FLAG", ")", ";", "NODE", "(", "CALL", ")", ";", "NODE", "(", "WRAPPER", ")", ";", "NODE", "(", "LSL", ")", ";", "NODE", "(", "LSR", ")", ";", "NODE", "(", "ROL", ")", ";", "NODE", "(", "ROR", ")", ";", "NODE", "(", "ASR", ")", ";", "NODE", "(", "LSLLOOP", ")", ";", "NODE", "(", "LSRLOOP", ")", ";", "NODE", "(", "ASRLOOP", ")", ";", "NODE", "(", "BRCOND", ")", ";", "NODE", "(", "CMP", ")", ";", "NODE", "(", "CMPC", ")", ";", "NODE", "(", "TST", ")", ";", "NODE", "(", "SELECT_CC", ")", ";", "}", ""], "natrual_language": ["getTargetNodeName", "-", "This", "method", "returns", "the", "name", "of", "a", "target", "specific"], "TS_V_token": ["AVR", "AVR", "AVRISD::name"], "File": "AVRISelLowering", "Func": "getTargetNodeName", "Target": "AVR", "Target_Clf": "MPU", "Compiler_Type": "LLVM", "Idx": 1440, "Length": 117, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "const", "uint32_t", "*", "RV16KRegisterInfo", "::", "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": ["RV16K", "RV16K"], "File": "RV16KRegisterInfo", "Func": "getCallPreservedMask", "Target": "RV16K", "Target_Clf": "Virtual ISA", "Compiler_Type": "LLVM", "Idx": 1441, "Length": 21, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "const", "TargetRegisterClass", "*", "getPointerRegClass", "(", "const", "MachineFunction", "&", "MF", ",", "unsigned", "Kind", "=", "0", ")", "const", "override", "{", "return", "&", "SystemZ", "::", "ADDR64BitRegClass", ";", "}", ""], "natrual_language": ["getPointerRegClass", "-", "Returns", "a", "TargetRegisterClass", "used", "for", "pointer", "values", "."], "TS_V_token": ["SystemZ", "0", "SystemZ::ADDR64BitRegClass"], "File": "SystemZRegisterInfo (2)1", "Func": "getPointerRegClass", "Target": "SystemZ", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 1442, "Length": 25, "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": 1443, "Length": 31, "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": 1444, "Length": 99, "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": 1445, "Length": 363, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "bool", "AMDGPUAsmPrinter", "::", "runOnMachineFunction", "(", "MachineFunction", "&", "MF", ")", "{", "SetupMachineFunction", "(", "MF", ")", ";", "OutStreamer", ".", "emitRawComment", "(", "Twine", "(", "'@'", ")", "+", "MF", ".", "getName", "(", ")", "+", "Twine", "(", "':'", ")", ")", ";", "MCContext", "&", "Context", "=", "getObjFileLowering", "(", ")", ".", "getContext", "(", ")", ";", "const", "MCSectionELF", "*", "ConfigSection", "=", "Context", ".", "getELFSection", "(", "\".AMDGPU.config\"", ",", "ELF", "::", "SHT_PROGBITS", ",", "0", ",", "SectionKind", "::", "getReadOnly", "(", ")", ")", ";", "OutStreamer", ".", "SwitchSection", "(", "ConfigSection", ")", ";", "const", "AMDGPUSubtarget", "&", "STM", "=", "TM", ".", "getSubtarget", "<", "AMDGPUSubtarget", ">", "(", ")", ";", "SIProgramInfo", "KernelInfo", ";", "if", "(", "STM", ".", "getGeneration", "(", ")", ">", "AMDGPUSubtarget", "::", "NORTHERN_ISLANDS", ")", "{", "getSIProgramInfo", "(", "KernelInfo", ",", "MF", ")", ";", "EmitProgramInfoSI", "(", "MF", ",", "KernelInfo", ")", ";", "}", "else", "{", "EmitProgramInfoR600", "(", "MF", ")", ";", "}", "DisasmLines", ".", "clear", "(", ")", ";", "HexLines", ".", "clear", "(", ")", ";", "DisasmLineMaxLen", "=", "0", ";", "OutStreamer", ".", "SwitchSection", "(", "getObjFileLowering", "(", ")", ".", "getTextSection", "(", ")", ")", ";", "EmitFunctionBody", "(", ")", ";", "if", "(", "isVerbose", "(", ")", ")", "{", "const", "MCSectionELF", "*", "CommentSection", "=", "Context", ".", "getELFSection", "(", "\".AMDGPU.csdata\"", ",", "ELF", "::", "SHT_PROGBITS", ",", "0", ",", "SectionKind", "::", "getReadOnly", "(", ")", ")", ";", "OutStreamer", ".", "SwitchSection", "(", "CommentSection", ")", ";", "if", "(", "STM", ".", "getGeneration", "(", ")", ">=", "AMDGPUSubtarget", "::", "SOUTHERN_ISLANDS", ")", "{", "OutStreamer", ".", "emitRawComment", "(", "\" Kernel info:\"", ",", "false", ")", ";", "OutStreamer", ".", "emitRawComment", "(", "\" codeLenInByte = \"", "+", "Twine", "(", "KernelInfo", ".", "CodeLen", ")", ",", "false", ")", ";", "OutStreamer", ".", "emitRawComment", "(", "\" NumSgprs: \"", "+", "Twine", "(", "KernelInfo", ".", "NumSGPR", ")", ",", "false", ")", ";", "OutStreamer", ".", "emitRawComment", "(", "\" NumVgprs: \"", "+", "Twine", "(", "KernelInfo", ".", "NumVGPR", ")", ",", "false", ")", ";", "OutStreamer", ".", "emitRawComment", "(", "\" FloatMode: \"", "+", "Twine", "(", "KernelInfo", ".", "FloatMode", ")", ",", "false", ")", ";", "OutStreamer", ".", "emitRawComment", "(", "\" IeeeMode: \"", "+", "Twine", "(", "KernelInfo", ".", "IEEEMode", ")", ",", "false", ")", ";", "OutStreamer", ".", "emitRawComment", "(", "\" ScratchSize: \"", "+", "Twine", "(", "KernelInfo", ".", "ScratchSize", ")", ",", "false", ")", ";", "}", "else", "{", "R600MachineFunctionInfo", "*", "MFI", "=", "MF", ".", "getInfo", "<", "R600MachineFunctionInfo", ">", "(", ")", ";", "OutStreamer", ".", "emitRawComment", "(", "Twine", "(", "\"SQ_PGM_RESOURCES:STACK_SIZE = \"", "+", "Twine", "(", "MFI", "->", "StackSize", ")", ")", ")", ";", "}", "}", "if", "(", "STM", ".", "dumpCode", "(", ")", ")", "{", "MF", ".", "dump", "(", ")", ";", "if", "(", "DisasmEnabled", ")", "{", "OutStreamer", ".", "SwitchSection", "(", "Context", ".", "getELFSection", "(", "\".AMDGPU.disasm\"", ",", "ELF", "::", "SHT_NOTE", ",", "0", ",", "SectionKind", "::", "getReadOnly", "(", ")", ")", ")", ";", "for", "(", "size_t", "i", "=", "0", ";", "i", "<", "DisasmLines", ".", "size", "(", ")", ";", "++", "i", ")", "{", "std", "::", "string", "Comment", "(", "DisasmLineMaxLen", "-", "DisasmLines", "[", "i", "]", ".", "size", "(", ")", ",", "' '", ")", ";", "Comment", "+=", "\" ; \"", "+", "HexLines", "[", "i", "]", "+", "\"\\n\"", ";", "OutStreamer", ".", "EmitBytes", "(", "StringRef", "(", "DisasmLines", "[", "i", "]", ")", ")", ";", "OutStreamer", ".", "EmitBytes", "(", "StringRef", "(", "Comment", ")", ")", ";", "}", "}", "}", "return", "false", ";", "}", ""], "natrual_language": ["runOnMachineFunction", "-", "Emit", "the", "function", "body", "."], "TS_V_token": ["R600", "\".AMDGPU.config\"", "0", "SI", "SI", "SI", "0", "\".AMDGPU.csdata\"", "0", "\" Kernel info:\"", "\" codeLenInByte = \"", "\" NumSgprs: \"", "\" NumVgprs: \"", "\" FloatMode: \"", "\" IeeeMode: \"", "\" ScratchSize: \"", "\"SQ_PGM_RESOURCES:STACK_SIZE = \"", "\".AMDGPU.disasm\"", "0", "0", "\" ; \"", "\"\\n\""], "File": "AMDGPUAsmPrinter43", "Func": "runOnMachineFunction", "Target": "R600", "Target_Clf": "GPU", "Compiler_Type": "LLVM", "Idx": 1446, "Length": 479, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "void", "MetadataStreamer", "::", "dump", "(", "StringRef", "YamlString", ")", "const", "{", "errs", "(", ")", "<<", "\"AMDGPU Code Object Metadata:\\n\"", "<<", "YamlString", "<<", "'\\n'", ";", "}", ""], "natrual_language": ["Dump", "the", "plan", "to", "stderr", "(", "for", "debugging", ")", "."], "TS_V_token": ["AMDGPU", "\"AMDGPU Code Object Metadata:\\n\""], "File": "AMDGPUCodeObjectMetadataStreamer", "Func": "dump", "Target": "AMDGPU", "Target_Clf": "GPU", "Compiler_Type": "LLVM", "Idx": 1447, "Length": 21, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "bool", "PatmosRegisterInfo", "::", "isConstantPhysReg", "(", "MCRegister", "PhysReg", ")", "const", "{", "return", "PhysReg", "==", "Patmos", "::", "R0", "||", "PhysReg", "==", "Patmos", "::", "P0", ";", "}", ""], "natrual_language": ["Returns", "true", "if", "PhysReg", "is", "unallocatable", "and", "constant", "throughout", "the", "function", "."], "TS_V_token": ["Patmos", "Patmos", "Patmos::R0", "Patmos::P0"], "File": "PatmosRegisterInfo1", "Func": "isConstantPhysReg", "Target": "Patmos", "Target_Clf": "VLIW", "Compiler_Type": "LLVM", "Idx": 1448, "Length": 24, "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": 1449, "Length": 259, "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": 1450, "Length": 135, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "MOS", "::", "Fixups", "MOSMCExpr", "::", "getFixupKind", "(", ")", "const", "{", "MOS", "::", "Fixups", "Kind", "=", "MOS", "::", "Fixups", "::", "LastTargetFixupKind", ";", "switch", "(", "getKind", "(", ")", ")", "{", "case", "VK_MOS_IMM16", ":", "Kind", "=", "MOS", "::", "Imm16", ";", "break", ";", "case", "VK_MOS_ADDR8", ":", "Kind", "=", "MOS", "::", "Addr8", ";", "break", ";", "case", "VK_MOS_ADDR16_HI", ":", "Kind", "=", "MOS", "::", "Addr16_High", ";", "break", ";", "case", "VK_MOS_ADDR16_LO", ":", "Kind", "=", "MOS", "::", "Addr16_Low", ";", "break", ";", "case", "VK_MOS_ADDR24_BANK", ":", "Kind", "=", "MOS", "::", "Addr24_Bank", ";", "break", ";", "case", "VK_MOS_ADDR24_SEGMENT", ":", "Kind", "=", "MOS", "::", "Addr24_Segment", ";", "break", ";", "case", "VK_MOS_ADDR24_SEGMENT_HI", ":", "Kind", "=", "MOS", "::", "Addr24_Segment_High", ";", "break", ";", "case", "VK_MOS_ADDR24_SEGMENT_LO", ":", "Kind", "=", "MOS", "::", "Addr24_Segment_Low", ";", "break", ";", "case", "VK_MOS_ADDR_ASCIZ", ":", "Kind", "=", "MOS", "::", "AddrAsciz", ";", "break", ";", "case", "VK_MOS_NONE", ":", "llvm_unreachable", "(", "\"Uninitialized expression\"", ")", ";", "}", "return", "Kind", ";", "}", ""], "natrual_language": ["getFixupKind", "-", "Get", "the", "fixup", "kind", "of", "this", "expression", "."], "TS_V_token": ["MOS", "MOS::Fixups", "MOS", "MOS::Fixups", "MOS::Fixups", "MOS", "MOS::Imm16", "MOS", "MOS::Addr8", "MOS", "MOS::Addr16_High", "MOS", "MOS::Addr16_Low", "MOS", "MOS::Addr24_Bank", "MOS", "MOS::Addr24_Segment", "MOS", "MOS::Addr24_Segment_High", "MOS", "MOS::Addr24_Segment_Low", "MOS", "MOS::AddrAsciz", "MOS", "\"Uninitialized expression\""], "File": "MOSMCExpr", "Func": "getFixupKind", "Target": "MOS", "Target_Clf": "MPU", "Compiler_Type": "LLVM", "Idx": 1451, "Length": 140, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "static", "bool", "exact_store_load_dependency", "(", "rtx_insn", "*", "store", ",", "rtx_insn", "*", "load", ")", "{", "rtx", "set1", ",", "set2", ";", "set1", "=", "single_set", "(", "store", ")", ";", "if", "(", "!", "set1", ")", "return", "false", ";", "if", "(", "!", "MEM_P", "(", "SET_DEST", "(", "set1", ")", ")", ")", "return", "false", ";", "set2", "=", "single_set", "(", "load", ")", ";", "if", "(", "!", "set2", ")", "return", "false", ";", "if", "(", "exact_dependency_1", "(", "SET_DEST", "(", "set1", ")", ",", "SET_SRC", "(", "set2", ")", ")", ")", "return", "true", ";", "return", "false", ";", "}", ""], "natrual_language": ["Return", "true", "if", "there", "exists", "exact", "dependency", "for", "store", "&", "load", ",", "i.e", ".", "the", "same", "memory", "address", "is", "used", "in", "them", "."], "TS_V_token": ["i386"], "File": "i3864", "Func": "exact_store_load_dependency", "Target": "i386", "Target_Clf": "CPU", "Compiler_Type": "GCC", "Idx": 1452, "Length": 84, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "iterator_range", "<", "block_iterator", ">", "blocks", "(", ")", "const", "override", "{", "return", "Region", "->", "blocks", "(", ")", ";", "}", ""], "natrual_language": ["Returns", "a", "range", "view", "of", "the", "basic", "blocks", "in", "the", "region", "."], "TS_V_token": ["WebAssembly"], "File": "WebAssemblyCFGSort", "Func": "blocks", "Target": "WebAssembly", "Target_Clf": "Virtual ISA", "Compiler_Type": "LLVM", "Idx": 1453, "Length": 18, "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": 1454, "Length": 194, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "void", "s390_output_split_stack_data", "(", "rtx", "parm_block", ",", "rtx", "call_done", ",", "rtx", "frame_size", ",", "rtx", "args_size", ")", "{", "rtx", "ops", "[", "]", "=", "{", "parm_block", ",", "call_done", "}", ";", "switch_to_section", "(", "targetm", ".", "asm_out", ".", "function_rodata_section", "(", "current_function_decl", ",", "false", ")", ")", ";", "if", "(", "TARGET_64BIT", ")", "output_asm_insn", "(", "\".align\\t8\"", ",", "NULL", ")", ";", "else", "output_asm_insn", "(", "\".align\\t4\"", ",", "NULL", ")", ";", "(", "*", "targetm", ".", "asm_out", ".", "internal_label", ")", "(", "asm_out_file", ",", "\"L\"", ",", "CODE_LABEL_NUMBER", "(", "parm_block", ")", ")", ";", "if", "(", "TARGET_64BIT", ")", "{", "output_asm_insn", "(", "\".quad\\t%0\"", ",", "&", "frame_size", ")", ";", "output_asm_insn", "(", "\".quad\\t%0\"", ",", "&", "args_size", ")", ";", "output_asm_insn", "(", "\".quad\\t%1-%0\"", ",", "ops", ")", ";", "}", "else", "{", "output_asm_insn", "(", "\".long\\t%0\"", ",", "&", "frame_size", ")", ";", "output_asm_insn", "(", "\".long\\t%0\"", ",", "&", "args_size", ")", ";", "output_asm_insn", "(", "\".long\\t%1-%0\"", ",", "ops", ")", ";", "}", "switch_to_section", "(", "current_function_section", "(", ")", ")", ";", "}", ""], "natrual_language": ["Emit", "the", "parmblock", "for", "__morestack", "into", ".rodata", "section", ".", "It", "consists", "of", "3", "pointer", "size", "entries", ":", "-", "frame", "size", "-", "size", "of", "stack", "arguments", "-", "offset", "between", "parm", "block", "and", "__morestack", "return", "label"], "TS_V_token": ["s390", "\".align\\t8\"", "\".align\\t4\"", "\"L\"", "\".quad\\t%0\"", "\".quad\\t%0\"", "\".quad\\t%1-%0\"", "\".long\\t%0\"", "\".long\\t%0\"", "\".long\\t%1-%0\""], "File": "s390", "Func": "s390_output_split_stack_data", "Target": "s390", "Target_Clf": "MPU", "Compiler_Type": "GCC", "Idx": 1455, "Length": 142, "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": 1456, "Length": 99, "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": 1457, "Length": 36, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "bool", "SIFrameLowering", "::", "allocateScavengingFrameIndexesNearIncomingSP", "(", "const", "MachineFunction", "&", "MF", ")", "const", "{", "const", "GCNSubtarget", "&", "ST", "=", "MF", ".", "getSubtarget", "<", "GCNSubtarget", ">", "(", ")", ";", "const", "MachineFrameInfo", "&", "MFI", "=", "MF", ".", "getFrameInfo", "(", ")", ";", "uint64_t", "EstStackSize", "=", "MFI", ".", "estimateStackSize", "(", "MF", ")", ";", "uint64_t", "MaxOffset", "=", "EstStackSize", "-", "1", ";", "if", "(", "ST", ".", "enableFlatScratch", "(", ")", ")", "{", "const", "SIInstrInfo", "*", "TII", "=", "ST", ".", "getInstrInfo", "(", ")", ";", "if", "(", "TII", "->", "isLegalFLATOffset", "(", "MaxOffset", ",", "AMDGPUAS", "::", "PRIVATE_ADDRESS", ",", "SIInstrFlags", "::", "FlatScratch", ")", ")", "return", "false", ";", "}", "else", "{", "if", "(", "SIInstrInfo", "::", "isLegalMUBUFImmOffset", "(", "MaxOffset", ")", ")", "return", "false", ";", "}", "return", "true", ";", "}", ""], "natrual_language": ["Control", "the", "placement", "of", "special", "register", "scavenging", "spill", "slots", "when", "allocating", "a", "stack", "frame", "."], "TS_V_token": ["AMDGPU", "SI", "1", "SI", "AMDGPU", "SIInstrFlags::FlatScratch", "SI"], "File": "SIFrameLowering12", "Func": "allocateScavengingFrameIndexesNearIncomingSP", "Target": "AMDGPU", "Target_Clf": "GPU", "Compiler_Type": "LLVM", "Idx": 1458, "Length": 114, "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_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": "AArch64ISelDAGToDAG10", "Func": "SelectInlineAsmMemoryOperand", "Target": "AArch64", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 1459, "Length": 139, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "rtx", "mcore_gen_compare_reg", "(", "enum", "rtx_code", "code", ")", "{", "rtx", "op0", "=", "arch_compare_op0", ";", "rtx", "op1", "=", "arch_compare_op1", ";", "rtx", "cc_reg", "=", "gen_rtx_REG", "(", "CCmode", ",", "CC_REG", ")", ";", "if", "(", "CONSTANT_P", "(", "op1", ")", "&&", "GET_CODE", "(", "op1", ")", "!=", "CONST_INT", ")", "op1", "=", "force_reg", "(", "SImode", ",", "op1", ")", ";", "switch", "(", "code", ")", "{", "case", "EQ", ":", "code", "=", "NE", ";", "case", "NE", ":", "if", "(", "GET_CODE", "(", "op1", ")", "==", "CONST_INT", "&&", "!", "CONST_OK_FOR_K", "(", "INTVAL", "(", "op1", ")", ")", ")", "op1", "=", "force_reg", "(", "SImode", ",", "op1", ")", ";", "break", ";", "case", "LE", ":", "code", "=", "GT", ";", "case", "GT", ":", "if", "(", "GET_CODE", "(", "op1", ")", "==", "CONST_INT", ")", "op1", "=", "force_reg", "(", "SImode", ",", "op1", ")", ";", "break", ";", "case", "GE", ":", "code", "=", "LT", ";", "case", "LT", ":", "if", "(", "GET_CODE", "(", "op1", ")", "==", "CONST_INT", "&&", "INTVAL", "(", "op1", ")", "!=", "0", "&&", "!", "CONST_OK_FOR_J", "(", "INTVAL", "(", "op1", ")", ")", ")", "op1", "=", "force_reg", "(", "SImode", ",", "op1", ")", ";", "break", ";", "case", "GTU", ":", "gcc_assert", "(", "GET_CODE", "(", "op1", ")", "!=", "CONST_INT", "||", "INTVAL", "(", "op1", ")", "!=", "0", ")", ";", "code", "=", "LEU", ";", "case", "LEU", ":", "if", "(", "GET_CODE", "(", "op1", ")", "==", "CONST_INT", "&&", "INTVAL", "(", "op1", ")", "!=", "0", ")", "op1", "=", "force_reg", "(", "SImode", ",", "op1", ")", ";", "break", ";", "case", "LTU", ":", "code", "=", "GEU", ";", "case", "GEU", ":", "if", "(", "GET_CODE", "(", "op1", ")", "==", "CONST_INT", "&&", "INTVAL", "(", "op1", ")", "!=", "0", ")", "op1", "=", "force_reg", "(", "SImode", ",", "op1", ")", ";", "break", ";", "default", ":", "break", ";", "}", "emit_insn", "(", "gen_rtx_SET", "(", "VOIDmode", ",", "cc_reg", ",", "gen_rtx_fmt_ee", "(", "code", ",", "CCmode", ",", "op0", ",", "op1", ")", ")", ")", ";", "return", "cc_reg", ";", "}", ""], "natrual_language": ["Prepare", "the", "operands", "for", "a", "comparison", "."], "TS_V_token": ["mcore", "0", "0", "0", "0"], "File": "mcore3", "Func": "mcore_gen_compare_reg", "Target": "mcore", "Target_Clf": "MPU", "Compiler_Type": "GCC", "Idx": 1460, "Length": 292, "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": 1461, "Length": 51, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "bool", "XCoreTargetLowering", "::", "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_XCore", ")", ")", "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": ["XCore", "XCore", "ISD::OutputArg", "16", "XCore", "0"], "File": "XCoreISelLowering (2)1", "Func": "CanLowerReturn", "Target": "XCore", "Target_Clf": "MPU", "Compiler_Type": "LLVM", "Idx": 1462, "Length": 89, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "bool", "SIInstrInfo", "::", "findCommutedOpIndices", "(", "const", "MachineInstr", "&", "MI", ",", "unsigned", "&", "SrcOpIdx0", ",", "unsigned", "&", "SrcOpIdx1", ")", "const", "{", "return", "findCommutedOpIndices", "(", "MI", ".", "getDesc", "(", ")", ",", "SrcOpIdx0", ",", "SrcOpIdx1", ")", ";", "}", ""], "natrual_language": ["Returns", "true", "iff", "the", "routine", "could", "find", "two", "commutable", "operands", "in", "the", "given", "machine", "instruction", "."], "TS_V_token": ["AMDGPU", "SI"], "File": "SIInstrInfo11", "Func": "findCommutedOpIndices", "Target": "AMDGPU", "Target_Clf": "GPU", "Compiler_Type": "LLVM", "Idx": 1463, "Length": 35, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "Optional", "<", "MCFixupKind", ">", "Nios2AsmBackend", "::", "getFixupKind", "(", "StringRef", "Name", ")", "const", "{", "return", "StringSwitch", "<", "Optional", "<", "MCFixupKind", ">>", "(", "Name", ")", ".", "Case", "(", "\"R_NIOS2_NONE\"", ",", "(", "MCFixupKind", ")", "Nios2", "::", "fixup_Nios2_32", ")", ".", "Case", "(", "\"R_NIOS2_32\"", ",", "FK_Data_4", ")", ".", "Default", "(", "MCAsmBackend", "::", "getFixupKind", "(", "Name", ")", ")", ";", "}", ""], "natrual_language": ["getFixupKind", "-", "Get", "the", "fixup", "kind", "of", "this", "expression", "."], "TS_V_token": ["Nios2", "Nios2", "\"R_NIOS2_NONE\"", "Nios2::fixup_Nios2_32", "\"R_NIOS2_32\""], "File": "Nios2AsmBackend", "Func": "getFixupKind", "Target": "Nios2", "Target_Clf": "MPU", "Compiler_Type": "LLVM", "Idx": 1464, "Length": 54, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "void", "TPCAsmInstCompress", "::", "flushPendingLabels", "(", "MCStreamer", "&", "Out", ")", "{", "if", "(", "PendingLabels", ".", "empty", "(", ")", ")", "{", "return", ";", "}", "for", "(", "MCSymbol", "*", "Sym", ":", "PendingLabels", ")", "{", "Sym", "->", "setRedefinable", "(", "true", ")", ";", "Out", ".", "EmitLabel", "(", "Sym", ")", ";", "}", "PendingLabels", ".", "clear", "(", ")", ";", "}", ""], "natrual_language": ["Associate", "all", "pending", "labels", "with", "empty", "data", "fragments", "."], "TS_V_token": ["TPC", "TPC"], "File": "TPCAsmInstCompress", "Func": "flushPendingLabels", "Target": "TPC", "Target_Clf": "Virtual ISA", "Compiler_Type": "LLVM", "Idx": 1465, "Length": 53, "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": 1466, "Length": 144, "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": 1467, "Length": 19, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "void", "WebAssemblyPassConfig", "::", "addPreRegAlloc", "(", ")", "{", "TargetPassConfig", "::", "addPreRegAlloc", "(", ")", ";", "if", "(", "getOptLevel", "(", ")", "!=", "CodeGenOpt", "::", "None", ")", "addPass", "(", "createWebAssemblyStoreResults", "(", ")", ")", ";", "}", ""], "natrual_language": ["This", "method", "may", "be", "implemented", "by", "targets", "that", "want", "to", "run", "passes", "immediately", "before", "register", "allocation", "."], "TS_V_token": ["WebAssembly", "WebAssembly", "WebAssembly"], "File": "WebAssemblyTargetMachine38", "Func": "addPreRegAlloc", "Target": "WebAssembly", "Target_Clf": "Virtual ISA", "Compiler_Type": "LLVM", "Idx": 1468, "Length": 31, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "SDValue", "TeakTargetLowering", "::", "LowerCallResult", "(", "SDValue", "Chain", ",", "SDValue", "InGlue", ",", "CallingConv", "::", "ID", "CallConv", ",", "bool", "isVarArg", ",", "const", "SmallVectorImpl", "<", "ISD", "::", "InputArg", ">", "&", "Ins", ",", "const", "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_Teak", ")", ";", "for", "(", "auto", "&", "Loc", ":", "RVLocs", ")", "{", "SDValue", "RV", "=", "DAG", ".", "getCopyFromReg", "(", "Chain", ",", "dl", ",", "Loc", ".", "getLocReg", "(", ")", ",", "Loc", ".", "getValVT", "(", ")", ",", "InGlue", ")", ";", "Chain", "=", "RV", ".", "getValue", "(", "1", ")", ";", "InGlue", "=", "Chain", ".", "getValue", "(", "2", ")", ";", "InVals", ".", "push_back", "(", "RV", ")", ";", "}", "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": ["Teak", "Teak", "ISD::InputArg", "\"Unsupported\"", "16", "Teak", "1", "2"], "File": "TeakISelLowering", "Func": "LowerCallResult", "Target": "Teak", "Target_Clf": "DSP", "Compiler_Type": "LLVM", "Idx": 1469, "Length": 160, "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": 1470, "Length": 154, "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", "(", ")", ";", "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\""], "File": "MipsAsmParser43", "Func": "ParseDirective", "Target": "Mips", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 1471, "Length": 300, "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": 1472, "Length": 154, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "StringRef", "getPassName", "(", ")", "const", "override", "{", "return", "\"Hexagon VectorPrint pass\"", ";", "}", ""], "natrual_language": ["getPassName", "-", "Return", "a", "nice", "clean", "name", "for", "a", "pass", "."], "TS_V_token": ["Hexagon", "\"Hexagon VectorPrint pass\""], "File": "HexagonVectorPrint1", "Func": "getPassName", "Target": "Hexagon", "Target_Clf": "DSP", "Compiler_Type": "LLVM", "Idx": 1473, "Length": 11, "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", ";", "cc_reg", "=", "gen_rtx_REG", "(", "mode", ",", "61", ")", ";", "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": ["arc", "61"], "File": "arc3", "Func": "gen_compare_reg", "Target": "arc", "Target_Clf": "MPU", "Compiler_Type": "GCC", "Idx": 1474, "Length": 62, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "unsigned", "WebAssemblyInstrInfo", "::", "removeBranch", "(", "MachineBasicBlock", "&", "MBB", ",", "int", "*", "BytesRemoved", ")", "const", "{", "assert", "(", "!", "BytesRemoved", "&&", "\"code size not handled\"", ")", ";", "MachineBasicBlock", "::", "instr_iterator", "I", "=", "MBB", ".", "instr_end", "(", ")", ";", "unsigned", "Count", "=", "0", ";", "while", "(", "I", "!=", "MBB", ".", "instr_begin", "(", ")", ")", "{", "--", "I", ";", "if", "(", "I", "->", "isDebugInstr", "(", ")", ")", "continue", ";", "if", "(", "!", "I", "->", "isTerminator", "(", ")", ")", "break", ";", "I", "->", "eraseFromParent", "(", ")", ";", "I", "=", "MBB", ".", "instr_end", "(", ")", ";", "++", "Count", ";", "}", "return", "Count", ";", "}", ""], "natrual_language": ["Remove", "the", "branching", "code", "at", "the", "end", "of", "the", "specific", "MBB", "."], "TS_V_token": ["WebAssembly", "WebAssembly", "\"code size not handled\"", "0"], "File": "WebAssemblyInstrInfo1", "Func": "removeBranch", "Target": "WebAssembly", "Target_Clf": "Virtual ISA", "Compiler_Type": "LLVM", "Idx": 1475, "Length": 96, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "bool", "hasFP", "(", "const", "MachineFunction", "&", "MF", ")", "const", "override", "{", "return", "false", ";", "}", ""], "natrual_language": ["hasFP", "-", "Return", "true", "if", "the", "specified", "function", "should", "have", "a", "dedicated", "frame", "pointer", "register", "."], "TS_V_token": ["AGC"], "File": "AGCFrameLowering", "Func": "hasFP", "Target": "AGC", "Target_Clf": "MPU", "Compiler_Type": "LLVM", "Idx": 1476, "Length": 15, "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": 1477, "Length": 53, "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": 1478, "Length": 90, "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": 1479, "Length": 49, "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": 1480, "Length": 137, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "void", "fr30_setup_incoming_varargs", "(", "CUMULATIVE_ARGS", "*", "arg_regs_used_so_far", ",", "enum", "machine_mode", "mode", ",", "tree", "type", "ATTRIBUTE_UNUSED", ",", "int", "*", "pretend_size", ",", "int", "second_time", "ATTRIBUTE_UNUSED", ")", "{", "int", "size", ";", "gcc_assert", "(", "mode", "!=", "BLKmode", ")", ";", "if", "(", "targetm", ".", "calls", ".", "strict_argument_naming", "(", "arg_regs_used_so_far", ")", ")", "arg_regs_used_so_far", "+=", "fr30_num_arg_regs", "(", "mode", ",", "type", ")", ";", "size", "=", "FR30_NUM_ARG_REGS", "-", "(", "*", "arg_regs_used_so_far", ")", ";", "if", "(", "size", "<=", "0", ")", "return", ";", "*", "pretend_size", "=", "(", "size", "*", "UNITS_PER_WORD", ")", ";", "}", ""], "natrual_language": ["Do", "any", "needed", "setup", "for", "a", "variadic", "function", ".", "We", "must", "create", "a", "register", "parameter", "block", ",", "and", "then", "copy", "any", "anonymous", "arguments", ",", "plus", "the", "last", "named", "argument", ",", "from", "registers", "into", "memory", ".", "*", "copying", "actually", "done", "in", "fr30_expand_prologue", "(", ")", ".", "ARG_REGS_USED_SO_FAR", "has", "*", "not", "*", "been", "updated", "for", "the", "last", "named", "argument", "which", "has", "type", "TYPE", "and", "mode", "MODE", ",", "and", "we", "rely", "on", "this", "fact", "."], "TS_V_token": ["fr30", "0"], "File": "fr303", "Func": "fr30_setup_incoming_varargs", "Target": "fr30", "Target_Clf": "DSP", "Compiler_Type": "GCC", "Idx": 1481, "Length": 81, "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": 1482, "Length": 63, "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": 1483, "Length": 20, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "void", "getAnalysisUsage", "(", "AnalysisUsage", "&", "AU", ")", "const", "override", "{", "AU", ".", "addRequired", "<", "LiveIntervals", ">", "(", ")", ";", "AU", ".", "setPreservesAll", "(", ")", ";", "MachineFunctionPass", "::", "getAnalysisUsage", "(", "AU", ")", ";", "}", ""], "natrual_language": ["getAnalysisUsage", "-", "Subclasses", "that", "override", "getAnalysisUsage", "must", "call", "this", "."], "TS_V_token": ["AMDGPU"], "File": "GCNPreRAOptimizations", "Func": "getAnalysisUsage", "Target": "AMDGPU", "Target_Clf": "GPU", "Compiler_Type": "LLVM", "Idx": 1484, "Length": 33, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "void", "frv_conditional_register_usage", "(", "void", ")", "{", "int", "i", ";", "for", "(", "i", "=", "GPR_FIRST", "+", "NUM_GPRS", ";", "i", "<=", "GPR_LAST", ";", "i", "++", ")", "fixed_regs", "[", "i", "]", "=", "call_used_regs", "[", "i", "]", "=", "1", ";", "for", "(", "i", "=", "FPR_FIRST", "+", "NUM_FPRS", ";", "i", "<=", "FPR_LAST", ";", "i", "++", ")", "fixed_regs", "[", "i", "]", "=", "call_used_regs", "[", "i", "]", "=", "1", ";", "fixed_regs", "[", "ICC_TEMP", "]", "=", "call_used_regs", "[", "ICC_TEMP", "]", "=", "1", ";", "fixed_regs", "[", "ICR_TEMP", "]", "=", "call_used_regs", "[", "ICR_TEMP", "]", "=", "1", ";", "if", "(", "TARGET_FIXED_CC", ")", "{", "fixed_regs", "[", "ICC_FIRST", "]", "=", "call_used_regs", "[", "ICC_FIRST", "]", "=", "1", ";", "fixed_regs", "[", "FCC_FIRST", "]", "=", "call_used_regs", "[", "FCC_FIRST", "]", "=", "1", ";", "fixed_regs", "[", "ICR_FIRST", "]", "=", "call_used_regs", "[", "ICR_FIRST", "]", "=", "1", ";", "fixed_regs", "[", "FCR_FIRST", "]", "=", "call_used_regs", "[", "FCR_FIRST", "]", "=", "1", ";", "}", "if", "(", "TARGET_FDPIC", ")", "fixed_regs", "[", "GPR_FIRST", "+", "16", "]", "=", "fixed_regs", "[", "GPR_FIRST", "+", "17", "]", "=", "call_used_regs", "[", "GPR_FIRST", "+", "16", "]", "=", "call_used_regs", "[", "GPR_FIRST", "+", "17", "]", "=", "0", ";", "if", "(", "g_switch_value", "==", "0", "&&", "!", "flag_pic", ")", "fixed_regs", "[", "SDA_BASE_REG", "]", "=", "call_used_regs", "[", "SDA_BASE_REG", "]", "=", "0", ";", "if", "(", "!", "flag_pic", ")", "fixed_regs", "[", "PIC_REGNO", "]", "=", "call_used_regs", "[", "PIC_REGNO", "]", "=", "0", ";", "}", ""], "natrual_language": ["Zero", "or", "more", "C", "statements", "that", "may", "conditionally", "modify", "two", "variables", "`", "fixed_regs", "'", "and", "`", "call_used_regs", "'", "(", "both", "of", "type", "`", "char", "[", "]", "'", ")", "after", "they", "have", "been", "initialized", "from", "the", "two", "preceding", "macros", ".", "This", "is", "necessary", "in", "case", "the", "fixed", "or", "call-clobbered", "registers", "depend", "on", "target", "flags", ".", "You", "need", "not", "define", "this", "macro", "if", "it", "has", "no", "work", "to", "do", ".", "If", "the", "usage", "of", "an", "entire", "class", "of", "registers", "depends", "on", "the", "target", "flags", ",", "you", "may", "indicate", "this", "to", "GCC", "by", "using", "this", "macro", "to", "modify", "`", "fixed_regs", "'", "and", "`", "call_used_regs", "'", "to", "1", "for", "each", "of", "the", "registers", "in", "the", "classes", "which", "should", "not", "be", "used", "by", "GCC", ".", "Also", "define", "the", "macro", "`", "REG_CLASS_FROM_LETTER", "'", "to", "return", "`", "NO_REGS", "'", "if", "it", "is", "called", "with", "a", "letter", "for", "a", "class", "that", "should", "n't", "be", "used", ".", "(", "However", ",", "if", "this", "class", "is", "not", "included", "in", "`", "GENERAL_REGS", "'", "and", "all", "of", "the", "insn", "patterns", "whose", "constraints", "permit", "this", "class", "are", "controlled", "by", "target", "switches", ",", "then", "GCC", "will", "automatically", "avoid", "using", "these", "registers", "when", "the", "target", "switches", "are", "opposed", "to", "them", ".", ")"], "TS_V_token": ["frv", "1", "1", "1", "1", "1", "1", "1", "1", "16", "17", "16", "17", "0", "0", "0", "0"], "File": "frv2", "Func": "frv_conditional_register_usage", "Target": "frv", "Target_Clf": "VLIW", "Compiler_Type": "GCC", "Idx": 1485, "Length": 214, "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": 1486, "Length": 21, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "static", "bool", "rs6000_is_costly_dependence", "(", "rtx", "insn", ",", "rtx", "next", ",", "rtx", "link", ",", "int", "cost", ",", "int", "distance", ")", "{", "if", "(", "rs6000_sched_costly_dep", "==", "no_dep_costly", ")", "return", "false", ";", "if", "(", "rs6000_sched_costly_dep", "==", "all_deps_costly", ")", "return", "true", ";", "if", "(", "rs6000_sched_costly_dep", "==", "store_to_load_dep_costly", "&&", "is_load_insn", "(", "next", ")", "&&", "is_store_insn", "(", "insn", ")", ")", "return", "true", ";", "if", "(", "rs6000_sched_costly_dep", "==", "true_store_to_load_dep_costly", "&&", "is_load_insn", "(", "next", ")", "&&", "is_store_insn", "(", "insn", ")", "&&", "(", "!", "link", "||", "(", "int", ")", "REG_NOTE_KIND", "(", "link", ")", "==", "0", ")", ")", "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", "0"], "File": "rs60003", "Func": "rs6000_is_costly_dependence", "Target": "rs6000", "Target_Clf": "CPU", "Compiler_Type": "GCC", "Idx": 1487, "Length": 117, "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": 1488, "Length": 271, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "void", "finishLayout", "(", "MCAssembler", "const", "&", "Asm", ",", "MCAsmLayout", "&", "Layout", ")", "const", "override", "{", "for", "(", "auto", "I", ":", "Layout", ".", "getSectionOrder", "(", ")", ")", "{", "auto", "&", "Fragments", "=", "I", "->", "getFragmentList", "(", ")", ";", "for", "(", "auto", "&", "J", ":", "Fragments", ")", "{", "switch", "(", "J", ".", "getKind", "(", ")", ")", "{", "default", ":", "break", ";", "case", "MCFragment", "::", "FT_Align", ":", "{", "auto", "Size", "=", "Asm", ".", "computeFragmentSize", "(", "Layout", ",", "J", ")", ";", "for", "(", "auto", "K", "=", "J", ".", "getIterator", "(", ")", ";", "K", "!=", "Fragments", ".", "begin", "(", ")", "&&", "Size", ">=", "HEXAGON_PACKET_SIZE", ";", ")", "{", "--", "K", ";", "switch", "(", "K", "->", "getKind", "(", ")", ")", "{", "default", ":", "break", ";", "case", "MCFragment", "::", "FT_Align", ":", "{", "Size", "=", "0", ";", "break", ";", "}", "case", "MCFragment", "::", "FT_Relaxable", ":", "{", "MCContext", "&", "Context", "=", "Asm", ".", "getContext", "(", ")", ";", "auto", "&", "RF", "=", "cast", "<", "MCRelaxableFragment", ">", "(", "*", "K", ")", ";", "auto", "&", "Inst", "=", "const_cast", "<", "MCInst", "&", ">", "(", "RF", ".", "getInst", "(", ")", ")", ";", "while", "(", "Size", ">", "0", "&&", "HexagonMCInstrInfo", "::", "bundleSize", "(", "Inst", ")", "<", "MaxPacketSize", ")", "{", "MCInst", "*", "Nop", "=", "Context", ".", "createMCInst", "(", ")", ";", "Nop", "->", "setOpcode", "(", "Hexagon", "::", "A2_nop", ")", ";", "Inst", ".", "addOperand", "(", "MCOperand", "::", "createInst", "(", "Nop", ")", ")", ";", "Size", "-=", "4", ";", "if", "(", "!", "HexagonMCChecker", "(", "Context", ",", "*", "MCII", ",", "*", "RF", ".", "getSubtargetInfo", "(", ")", ",", "Inst", ",", "*", "Context", ".", "getRegisterInfo", "(", ")", ",", "false", ")", ".", "check", "(", ")", ")", "{", "Inst", ".", "erase", "(", "Inst", ".", "end", "(", ")", "-", "1", ")", ";", "Size", "=", "0", ";", "}", "}", "bool", "Error", "=", "HexagonMCShuffle", "(", "Context", ",", "true", ",", "*", "MCII", ",", "*", "RF", ".", "getSubtargetInfo", "(", ")", ",", "Inst", ")", ";", "(", "void", ")", "Error", ";", "ReplaceInstruction", "(", "Asm", ".", "getEmitter", "(", ")", ",", "RF", ",", "Inst", ")", ";", "Layout", ".", "invalidateFragmentsFrom", "(", "&", "RF", ")", ";", "Size", "=", "0", ";", "break", ";", "}", "}", "}", "}", "}", "}", "}", "}", ""], "natrual_language": ["Give", "backend", "an", "opportunity", "to", "finish", "layout", "after", "relaxation", "."], "TS_V_token": ["Hexagon", "0", "0", "Hexagon", "Hexagon::A2_nop", "4", "Hexagon", "1", "0", "Hexagon", "0"], "File": "HexagonAsmBackend14", "Func": "finishLayout", "Target": "Hexagon", "Target_Clf": "DSP", "Compiler_Type": "LLVM", "Idx": 1489, "Length": 343, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "void", "HexagonTargetLowering", "::", "ReplaceNodeResults", "(", "SDNode", "*", "N", ",", "SmallVectorImpl", "<", "SDValue", ">", "&", "Results", ",", "SelectionDAG", "&", "DAG", ")", "const", "{", "if", "(", "isHvxOperation", "(", "N", ")", ")", "{", "ReplaceHvxNodeResults", "(", "N", ",", "Results", ",", "DAG", ")", ";", "if", "(", "!", "Results", ".", "empty", "(", ")", ")", "return", ";", "}", "const", "SDLoc", "&", "dl", "(", "N", ")", ";", "switch", "(", "N", "->", "getOpcode", "(", ")", ")", "{", "case", "ISD", "::", "SRL", ":", "case", "ISD", "::", "SRA", ":", "case", "ISD", "::", "SHL", ":", "return", ";", "case", "ISD", "::", "BITCAST", ":", "if", "(", "N", "->", "getValueType", "(", "0", ")", "==", "MVT", "::", "i8", ")", "{", "SDValue", "P", "=", "getInstr", "(", "Hexagon", "::", "C2_tfrpr", ",", "dl", ",", "MVT", "::", "i32", ",", "N", "->", "getOperand", "(", "0", ")", ",", "DAG", ")", ";", "SDValue", "T", "=", "DAG", ".", "getAnyExtOrTrunc", "(", "P", ",", "dl", ",", "MVT", "::", "i8", ")", ";", "Results", ".", "push_back", "(", "T", ")", ";", "}", "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": ["Hexagon", "Hexagon", "ISD::SRL", "ISD::SRA", "ISD::SHL", "ISD::BITCAST", "0", "MVT::i8", "Hexagon::C2_tfrpr", "MVT::i32", "0", "MVT::i8"], "File": "HexagonISelLowering103", "Func": "ReplaceNodeResults", "Target": "Hexagon", "Target_Clf": "DSP", "Compiler_Type": "LLVM", "Idx": 1490, "Length": 157, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "void", "AMDGPUPassConfig", "::", "addIRPasses", "(", ")", "{", "const", "AMDGPUTargetMachine", "&", "TM", "=", "getAMDGPUTargetMachine", "(", ")", ";", "disablePass", "(", "&", "StackMapLivenessID", ")", ";", "disablePass", "(", "&", "FuncletLayoutID", ")", ";", "disablePass", "(", "&", "PatchableFunctionID", ")", ";", "addPass", "(", "createAMDGPUPrintfRuntimeBinding", "(", ")", ")", ";", "addPass", "(", "createAMDGPUCtorDtorLoweringPass", "(", ")", ")", ";", "addPass", "(", "createAMDGPUFixFunctionBitcastsPass", "(", ")", ")", ";", "addPass", "(", "createAMDGPULowerKernelCallsPass", "(", ")", ")", ";", "addPass", "(", "createAMDGPUPropagateAttributesEarlyPass", "(", "&", "TM", ")", ")", ";", "addPass", "(", "createAMDGPULowerIntrinsicsPass", "(", ")", ")", ";", "addPass", "(", "createAMDGPUAlwaysInlinePass", "(", ")", ")", ";", "addPass", "(", "createAlwaysInlinerLegacyPass", "(", ")", ")", ";", "addPass", "(", "createBarrierNoopPass", "(", ")", ")", ";", "if", "(", "TM", ".", "getTargetTriple", "(", ")", ".", "getArch", "(", ")", "==", "Triple", "::", "r600", ")", "addPass", "(", "createR600OpenCLImageTypeLoweringPass", "(", ")", ")", ";", "addPass", "(", "createAMDGPUOpenCLEnqueuedBlockLoweringPass", "(", ")", ")", ";", "if", "(", "EnableLowerModuleLDS", ")", "{", "if", "(", "EnableLDSReplaceWithPointer", ")", "addPass", "(", "createAMDGPUReplaceLDSUseWithPointerPass", "(", ")", ")", ";", "addPass", "(", "createAMDGPULowerModuleLDSPass", "(", ")", ")", ";", "}", "if", "(", "TM", ".", "getOptLevel", "(", ")", ">", "CodeGenOpt", "::", "None", ")", "addPass", "(", "createInferAddressSpacesPass", "(", ")", ")", ";", "addPass", "(", "createAtomicExpandPass", "(", ")", ")", ";", "if", "(", "TM", ".", "getOptLevel", "(", ")", ">", "CodeGenOpt", "::", "None", ")", "{", "addPass", "(", "createAMDGPUPromoteAlloca", "(", ")", ")", ";", "if", "(", "EnableSROA", ")", "addPass", "(", "createSROAPass", "(", ")", ")", ";", "if", "(", "isPassEnabled", "(", "EnableScalarIRPasses", ")", ")", "addStraightLineScalarOptimizationPasses", "(", ")", ";", "if", "(", "EnableAMDGPUAliasAnalysis", ")", "{", "addPass", "(", "createAMDGPUAAWrapperPass", "(", ")", ")", ";", "addPass", "(", "createExternalAAWrapperPass", "(", "[", "]", "(", "Pass", "&", "P", ",", "Function", "&", ",", "AAResults", "&", "AAR", ")", "{", "if", "(", "auto", "*", "WrapperPass", "=", "P", ".", "getAnalysisIfAvailable", "<", "AMDGPUAAWrapperPass", ">", "(", ")", ")", "AAR", ".", "addAAResult", "(", "WrapperPass", "->", "getResult", "(", ")", ")", ";", "}", ")", ")", ";", "}", "if", "(", "TM", ".", "getTargetTriple", "(", ")", ".", "getArch", "(", ")", "==", "Triple", "::", "amdgcn", ")", "{", "addPass", "(", "createAMDGPUCodeGenPreparePass", "(", ")", ")", ";", "}", "}", "TargetPassConfig", "::", "addIRPasses", "(", ")", ";", "if", "(", "isPassEnabled", "(", "EnableScalarIRPasses", ")", ")", "addEarlyCSEOrGVNPass", "(", ")", ";", "}", ""], "natrual_language": ["Add", "common", "target", "configurable", "passes", "that", "perform", "LLVM", "IR", "to", "IR", "transforms", "following", "machine", "independent", "optimization", "."], "TS_V_token": ["AMDGPU", "AMDGPU", "AMDGPU", "AMDGPU", "AMDGPU", "AMDGPU", "AMDGPU", "AMDGPU", "AMDGPU", "AMDGPU", "AMDGPU", "R600", "AMDGPU", "AMDGPU", "AMDGPU", "AMDGPU", "AMDGPU", "AMDGPU", "AMDGPU", "AMDGPU"], "File": "AMDGPUTargetMachine1", "Func": "addIRPasses", "Target": "AMDGPU", "Target_Clf": "GPU", "Compiler_Type": "LLVM", "Idx": 1491, "Length": 327, "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": 1492, "Length": 26, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "XCoreTargetMachine", "::", "XCoreTargetMachine", "(", "const", "Target", "&", "T", ",", "const", "Triple", "&", "TT", ",", "StringRef", "CPU", ",", "StringRef", "FS", ",", "const", "TargetOptions", "&", "Options", ",", "Optional", "<", "Reloc", "::", "Model", ">", "RM", ",", "CodeModel", "::", "Model", "CM", ",", "CodeGenOpt", "::", "Level", "OL", ")", ":", "LLVMTargetMachine", "(", "T", ",", "\"e-m:e-p:32:32-i1:8:32-i8:8:32-i16:16:32-i64:32-f64:32-a:0:32-n32\"", ",", "TT", ",", "CPU", ",", "FS", ",", "Options", ",", "getEffectiveRelocModel", "(", "RM", ")", ",", "CM", ",", "OL", ")", ",", "TLOF", "(", "llvm", "::", "make_unique", "<", "XCoreTargetObjectFile", ">", "(", ")", ")", ",", "Subtarget", "(", "TT", ",", "CPU", ",", "FS", ",", "*", "this", ")", "{", "initAsmInfo", "(", ")", ";", "}", ""], "natrual_language": ["Create", "an", "ILP32", "architecture", "model", "."], "TS_V_token": ["XCore", "XCore", "XCore", "\"e-m:e-p:32:32-i1:8:32-i8:8:32-i16:16:32-i64:32-f64:32-a:0:32-n32\"", "XCore"], "File": "XCoreTargetMachine24", "Func": "XCoreTargetMachine", "Target": "XCore", "Target_Clf": "MPU", "Compiler_Type": "LLVM", "Idx": 1493, "Length": 97, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "bool", "GCNPassConfig", "::", "addPreISel", "(", ")", "{", "AMDGPUPassConfig", "::", "addPreISel", "(", ")", ";", "addPass", "(", "&", "AMDGPUAnnotateKernelFeaturesID", ")", ";", "addPass", "(", "createSinkingPass", "(", ")", ")", ";", "addPass", "(", "createSITypeRewriter", "(", ")", ")", ";", "addPass", "(", "createSIAnnotateControlFlowPass", "(", ")", ")", ";", "addPass", "(", "createAMDGPUAnnotateUniformValues", "(", ")", ")", ";", "return", "false", ";", "}", ""], "natrual_language": ["{", "{", "@", "For", "GlobalISel"], "TS_V_token": ["AMDGPU", "AMDGPU", "AMDGPU", "SI", "SI", "AMDGPU"], "File": "AMDGPUTargetMachine (2)", "Func": "addPreISel", "Target": "AMDGPU", "Target_Clf": "GPU", "Compiler_Type": "LLVM", "Idx": 1494, "Length": 51, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "StringRef", "getPassName", "(", ")", "const", "override", "{", "return", "\"Lower aggregate copies/intrinsics into loops\"", ";", "}", ""], "natrual_language": ["getPassName", "-", "Return", "a", "nice", "clean", "name", "for", "a", "pass", "."], "TS_V_token": ["NVPTX", "\"Lower aggregate copies/intrinsics into loops\""], "File": "NVPTXLowerAggrCopies10", "Func": "getPassName", "Target": "NVPTX", "Target_Clf": "GPU", "Compiler_Type": "LLVM", "Idx": 1495, "Length": 11, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "SDValue", "AMDGPUTargetLowering", "::", "SplitVectorLoad", "(", "const", "SDValue", "&", "Op", ",", "SelectionDAG", "&", "DAG", ")", "const", "{", "LoadSDNode", "*", "Load", "=", "dyn_cast", "<", "LoadSDNode", ">", "(", "Op", ")", ";", "EVT", "MemEltVT", "=", "Load", "->", "getMemoryVT", "(", ")", ".", "getVectorElementType", "(", ")", ";", "EVT", "LoadVT", "=", "Op", ".", "getValueType", "(", ")", ";", "EVT", "EltVT", "=", "Op", ".", "getValueType", "(", ")", ".", "getVectorElementType", "(", ")", ";", "EVT", "PtrVT", "=", "Load", "->", "getBasePtr", "(", ")", ".", "getValueType", "(", ")", ";", "unsigned", "NumElts", "=", "Load", "->", "getMemoryVT", "(", ")", ".", "getVectorNumElements", "(", ")", ";", "SmallVector", "<", "SDValue", ",", "8", ">", "Loads", ";", "SmallVector", "<", "SDValue", ",", "8", ">", "Chains", ";", "SDLoc", "SL", "(", "Op", ")", ";", "for", "(", "unsigned", "i", "=", "0", ",", "e", "=", "NumElts", ";", "i", "!=", "e", ";", "++", "i", ")", "{", "SDValue", "Ptr", "=", "DAG", ".", "getNode", "(", "ISD", "::", "ADD", ",", "SL", ",", "PtrVT", ",", "Load", "->", "getBasePtr", "(", ")", ",", "DAG", ".", "getConstant", "(", "i", "*", "(", "MemEltVT", ".", "getSizeInBits", "(", ")", "/", "8", ")", ",", "PtrVT", ")", ")", ";", "SDValue", "NewLoad", "=", "DAG", ".", "getExtLoad", "(", "Load", "->", "getExtensionType", "(", ")", ",", "SL", ",", "EltVT", ",", "Load", "->", "getChain", "(", ")", ",", "Ptr", ",", "MachinePointerInfo", "(", "Load", "->", "getMemOperand", "(", ")", "->", "getValue", "(", ")", ")", ",", "MemEltVT", ",", "Load", "->", "isVolatile", "(", ")", ",", "Load", "->", "isNonTemporal", "(", ")", ",", "Load", "->", "getAlignment", "(", ")", ")", ";", "Loads", ".", "push_back", "(", "NewLoad", ".", "getValue", "(", "0", ")", ")", ";", "Chains", ".", "push_back", "(", "NewLoad", ".", "getValue", "(", "1", ")", ")", ";", "}", "SDValue", "Ops", "[", "]", "=", "{", "DAG", ".", "getNode", "(", "ISD", "::", "BUILD_VECTOR", ",", "SL", ",", "LoadVT", ",", "Loads", ")", ",", "DAG", ".", "getNode", "(", "ISD", "::", "TokenFactor", ",", "SL", ",", "MVT", "::", "Other", ",", "Chains", ")", "}", ";", "return", "DAG", ".", "getMergeValues", "(", "Ops", ",", "SL", ")", ";", "}", ""], "natrual_language": ["Split", "a", "vector", "load", "into", "2", "loads", "of", "half", "the", "vector", "."], "TS_V_token": ["R600", "8", "8", "0", "ISD::ADD", "8", "0", "1", "ISD::BUILD_VECTOR", "ISD::TokenFactor", "MVT::Other"], "File": "AMDGPUISelLowering19", "Func": "SplitVectorLoad", "Target": "R600", "Target_Clf": "GPU", "Compiler_Type": "LLVM", "Idx": 1496, "Length": 305, "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": 1497, "Length": 22, "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": 1498, "Length": 68, "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": 1499, "Length": 170, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "bool", "MSP430InstrInfo", "::", "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", "(", ")", ";", "MSP430MachineFunctionInfo", "*", "MFI", "=", "MF", ".", "getInfo", "<", "MSP430MachineFunctionInfo", ">", "(", ")", ";", "MFI", "->", "setCalleeSavedFrameSize", "(", "CSI", ".", "size", "(", ")", "*", "2", ")", ";", "for", "(", "unsigned", "i", "=", "CSI", ".", "size", "(", ")", ";", "i", "!=", "0", ";", "--", "i", ")", "{", "unsigned", "Reg", "=", "CSI", "[", "i", "-", "1", "]", ".", "getReg", "(", ")", ";", "MBB", ".", "addLiveIn", "(", "Reg", ")", ";", "BuildMI", "(", "MBB", ",", "MI", ",", "DL", ",", "get", "(", "MSP430", "::", "PUSH16r", ")", ")", ".", "addReg", "(", "Reg", ",", "RegState", "::", "Kill", ")", ";", "}", "return", "true", ";", "}", ""], "natrual_language": ["spillCalleeSavedRegisters", "-", "Issues", "instruction", "(", "s", ")", "to", "spill", "all", "callee", "saved", "registers", "and", "returns", "true", "if", "it", "is", "n't", "possible", "/", "profitable", "to", "do", "so", "by", "issuing", "a", "series", "of", "store", "instructions", "via", "storeRegToStackSlot", "(", ")", "."], "TS_V_token": ["MSP430", "MSP430", "MSP430", "MSP430", "2", "0", "1", "MSP430::PUSH16r"], "File": "MSP430InstrInfo2", "Func": "spillCalleeSavedRegisters", "Target": "MSP430", "Target_Clf": "MPU", "Compiler_Type": "LLVM", "Idx": 1500, "Length": 165, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "static", "rtx", "avr_builtin_setjmp_frame_value", "(", "void", ")", "{", "rtx", "xval", "=", "gen_reg_rtx", "(", "Pmode", ")", ";", "emit_insn", "(", "gen_subhi3", "(", "xval", ",", "virtual_stack_vars_rtx", ",", "gen_int_mode", "(", "avr_starting_frame_offset", "(", ")", ",", "Pmode", ")", ")", ")", ";", "return", "xval", ";", "}", ""], "natrual_language": ["Actual", "start", "of", "frame", "is", "virtual_stack_vars_rtx", "this", "is", "offset", "from", "frame", "pointer", "by", "+TARGET_STARTING_FRAME_OFFSET", ".", "Using", "saved", "frame", "=", "virtual_stack_vars_rtx", "-", "TARGET_STARTING_FRAME_OFFSET", "avoids", "creating", "add/sub", "of", "offset", "in", "nonlocal", "goto", "and", "setjmp", "."], "TS_V_token": ["avr"], "File": "avr7", "Func": "avr_builtin_setjmp_frame_value", "Target": "avr", "Target_Clf": "MPU", "Compiler_Type": "GCC", "Idx": 1501, "Length": 38, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "bool", "msp430_has_hwmult", "(", "void", ")", "{", "static", "const", "char", "*", "cached_match", "=", "NULL", ";", "static", "bool", "cached_result", ";", "if", "(", "msp430_hwmult_type", "==", "MSP430_HWMULT_NONE", ")", "return", "false", ";", "if", "(", "msp430_hwmult_type", "!=", "MSP430_HWMULT_AUTO", ")", "return", "true", ";", "if", "(", "target_mcu", "==", "NULL", ")", "return", "false", ";", "if", "(", "target_mcu", "==", "cached_match", ")", "return", "cached_result", ";", "cached_match", "=", "target_mcu", ";", "msp430_extract_mcu_data", "(", "target_mcu", ")", ";", "if", "(", "extracted_mcu_data", ".", "name", "!=", "NULL", ")", "return", "cached_result", "=", "extracted_mcu_data", ".", "hwmpy", "!=", "0", ";", "return", "cached_result", "=", "false", ";", "}", ""], "natrual_language": ["Returns", "true", "if", "the", "current", "MCU", "does", "not", "have", "a", "hardware", "multiplier", "of", "any", "kind", "."], "TS_V_token": ["msp430", "0"], "File": "msp430", "Func": "msp430_has_hwmult", "Target": "msp430", "Target_Clf": "MPU", "Compiler_Type": "GCC", "Idx": 1502, "Length": 86, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "DecodeStatus", "MSP430Disassembler", "::", "getInstruction", "(", "MCInst", "&", "MI", ",", "uint64_t", "&", "Size", ",", "ArrayRef", "<", "uint8_t", ">", "Bytes", ",", "uint64_t", "Address", ",", "raw_ostream", "&", "VStream", ",", "raw_ostream", "&", "CStream", ")", "const", "{", "if", "(", "Bytes", ".", "size", "(", ")", "<", "2", ")", "{", "Size", "=", "0", ";", "return", "MCDisassembler", "::", "Fail", ";", "}", "uint64_t", "Insn", "=", "support", "::", "endian", "::", "read16le", "(", "Bytes", ".", "data", "(", ")", ")", ";", "unsigned", "Opc", "=", "fieldFromInstruction", "(", "Insn", ",", "13", ",", "3", ")", ";", "switch", "(", "Opc", ")", "{", "case", "0", ":", "return", "getInstructionII", "(", "MI", ",", "Size", ",", "Bytes", ",", "Address", ",", "VStream", ",", "CStream", ")", ";", "case", "1", ":", "return", "getInstructionCJ", "(", "MI", ",", "Size", ",", "Bytes", ",", "Address", ",", "VStream", ",", "CStream", ")", ";", "default", ":", "return", "getInstructionI", "(", "MI", ",", "Size", ",", "Bytes", ",", "Address", ",", "VStream", ",", "CStream", ")", ";", "}", "}", ""], "natrual_language": ["Returns", "the", "disassembly", "of", "a", "single", "instruction", "."], "TS_V_token": ["MSP430", "MSP430", "2", "0", "support::endian", "13", "3", "0", "1"], "File": "MSP430Disassembler", "Func": "getInstruction", "Target": "MSP430", "Target_Clf": "MPU", "Compiler_Type": "LLVM", "Idx": 1503, "Length": 144, "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": 1504, "Length": 45, "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": 1505, "Length": 273, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "bool", "SILoadStoreOptimizer", "::", "runOnMachineFunction", "(", "MachineFunction", "&", "MF", ")", "{", "if", "(", "skipFunction", "(", "MF", ".", "getFunction", "(", ")", ")", ")", "return", "false", ";", "STM", "=", "&", "MF", ".", "getSubtarget", "<", "GCNSubtarget", ">", "(", ")", ";", "if", "(", "!", "STM", "->", "loadStoreOptEnabled", "(", ")", ")", "return", "false", ";", "TII", "=", "STM", "->", "getInstrInfo", "(", ")", ";", "TRI", "=", "&", "TII", "->", "getRegisterInfo", "(", ")", ";", "MRI", "=", "&", "MF", ".", "getRegInfo", "(", ")", ";", "AA", "=", "&", "getAnalysis", "<", "AAResultsWrapperPass", ">", "(", ")", ".", "getAAResults", "(", ")", ";", "assert", "(", "MRI", "->", "isSSA", "(", ")", "&&", "\"Must be run on SSA\"", ")", ";", "LLVM_DEBUG", "(", "dbgs", "(", ")", "<<", "\"Running SILoadStoreOptimizer\\n\"", ")", ";", "bool", "Modified", "=", "false", ";", "for", "(", "MachineBasicBlock", "&", "MBB", ":", "MF", ")", "{", "CreatedX2", "=", "0", ";", "Modified", "|=", "optimizeBlock", "(", "MBB", ")", ";", "if", "(", "CreatedX2", ">=", "1", ")", "Modified", "|=", "optimizeBlock", "(", "MBB", ")", ";", "}", "return", "Modified", ";", "}", ""], "natrual_language": ["runOnMachineFunction", "-", "Emit", "the", "function", "body", "."], "TS_V_token": ["AMDGPU", "SI", "\"Must be run on SSA\"", "\"Running SILoadStoreOptimizer\\n\"", "0", "1"], "File": "SILoadStoreOptimizer2", "Func": "runOnMachineFunction", "Target": "AMDGPU", "Target_Clf": "GPU", "Compiler_Type": "LLVM", "Idx": 1506, "Length": 151, "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", "&&", "arm_needs_doubleword_align", "(", "mode", ",", "type", ")", ")", "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", "1"], "File": "arm4", "Func": "arm_function_arg", "Target": "arm", "Target_Clf": "CPU", "Compiler_Type": "GCC", "Idx": 1507, "Length": 186, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "unsigned", "SIInstrInfo", "::", "readlaneVGPRToSGPR", "(", "unsigned", "SrcReg", ",", "MachineInstr", "&", "UseMI", ",", "MachineRegisterInfo", "&", "MRI", ")", "const", "{", "const", "TargetRegisterClass", "*", "VRC", "=", "MRI", ".", "getRegClass", "(", "SrcReg", ")", ";", "const", "TargetRegisterClass", "*", "SRC", "=", "RI", ".", "getEquivalentSGPRClass", "(", "VRC", ")", ";", "unsigned", "DstReg", "=", "MRI", ".", "createVirtualRegister", "(", "SRC", ")", ";", "unsigned", "SubRegs", "=", "RI", ".", "getRegSizeInBits", "(", "*", "VRC", ")", "/", "32", ";", "if", "(", "RI", ".", "hasAGPRs", "(", "VRC", ")", ")", "{", "VRC", "=", "RI", ".", "getEquivalentVGPRClass", "(", "VRC", ")", ";", "unsigned", "NewSrcReg", "=", "MRI", ".", "createVirtualRegister", "(", "VRC", ")", ";", "BuildMI", "(", "*", "UseMI", ".", "getParent", "(", ")", ",", "UseMI", ",", "UseMI", ".", "getDebugLoc", "(", ")", ",", "get", "(", "TargetOpcode", "::", "COPY", ")", ",", "NewSrcReg", ")", ".", "addReg", "(", "SrcReg", ")", ";", "SrcReg", "=", "NewSrcReg", ";", "}", "if", "(", "SubRegs", "==", "1", ")", "{", "BuildMI", "(", "*", "UseMI", ".", "getParent", "(", ")", ",", "UseMI", ",", "UseMI", ".", "getDebugLoc", "(", ")", ",", "get", "(", "AMDGPU", "::", "V_READFIRSTLANE_B32", ")", ",", "DstReg", ")", ".", "addReg", "(", "SrcReg", ")", ";", "return", "DstReg", ";", "}", "SmallVector", "<", "unsigned", ",", "8", ">", "SRegs", ";", "for", "(", "unsigned", "i", "=", "0", ";", "i", "<", "SubRegs", ";", "++", "i", ")", "{", "unsigned", "SGPR", "=", "MRI", ".", "createVirtualRegister", "(", "&", "AMDGPU", "::", "SGPR_32RegClass", ")", ";", "BuildMI", "(", "*", "UseMI", ".", "getParent", "(", ")", ",", "UseMI", ",", "UseMI", ".", "getDebugLoc", "(", ")", ",", "get", "(", "AMDGPU", "::", "V_READFIRSTLANE_B32", ")", ",", "SGPR", ")", ".", "addReg", "(", "SrcReg", ",", "0", ",", "RI", ".", "getSubRegFromChannel", "(", "i", ")", ")", ";", "SRegs", ".", "push_back", "(", "SGPR", ")", ";", "}", "MachineInstrBuilder", "MIB", "=", "BuildMI", "(", "*", "UseMI", ".", "getParent", "(", ")", ",", "UseMI", ",", "UseMI", ".", "getDebugLoc", "(", ")", ",", "get", "(", "AMDGPU", "::", "REG_SEQUENCE", ")", ",", "DstReg", ")", ";", "for", "(", "unsigned", "i", "=", "0", ";", "i", "<", "SubRegs", ";", "++", "i", ")", "{", "MIB", ".", "addReg", "(", "SRegs", "[", "i", "]", ")", ";", "MIB", ".", "addImm", "(", "RI", ".", "getSubRegFromChannel", "(", "i", ")", ")", ";", "}", "return", "DstReg", ";", "}", ""], "natrual_language": ["Copy", "a", "value", "from", "a", "VGPR", "(", "SrcReg", ")", "to", "SGPR", "."], "TS_V_token": ["AMDGPU", "SI", "32", "1", "AMDGPU::V_READFIRSTLANE_B32", "8", "0", "AMDGPU::SGPR_32RegClass", "AMDGPU::V_READFIRSTLANE_B32", "0", "AMDGPU::REG_SEQUENCE", "0"], "File": "SIInstrInfo12", "Func": "readlaneVGPRToSGPR", "Target": "AMDGPU", "Target_Clf": "GPU", "Compiler_Type": "LLVM", "Idx": 1508, "Length": 331, "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": 1509, "Length": 211, "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": 1510, "Length": 84, "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": 1511, "Length": 144, "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": 1512, "Length": 245, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "static", "rtx", "loongarch_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", "++", ")", "loongarch_prepare_builtin_arg", "(", "&", "ops", "[", "opno", "++", "]", ",", "exp", ",", "argno", ")", ";", "return", "loongarch_expand_builtin_insn", "(", "icode", ",", "opno", ",", "ops", ",", "has_target_p", ")", ";", "}", ""], "natrual_language": ["Expand", "a", "LARCH_BUILTIN_DIRECT", "or", "LARCH_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": ["loongarch", "0", "0"], "File": "loongarch-builtins", "Func": "loongarch_expand_builtin_direct", "Target": "loongarch", "Target_Clf": "CPU", "Compiler_Type": "GCC", "Idx": 1513, "Length": 118, "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": ["X86", "\"Local Dynamic TLS Access Clean-up\""], "File": "X86InstrInfo (2)", "Func": "getPassName", "Target": "X86", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 1514, "Length": 13, "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": 1515, "Length": 48, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "unsigned", "XCoreRegisterInfo", "::", "getFrameRegister", "(", "const", "MachineFunction", "&", "MF", ")", "const", "{", "bool", "FP", "=", "hasFP", "(", "MF", ")", ";", "return", "FP", "?", "XCore", "::", "R10", ":", "XCore", "::", "SP", ";", "}", ""], "natrual_language": ["Debug", "information", "queries", "."], "TS_V_token": ["XCore", "XCore", "XCore::R10", "XCore::SP"], "File": "XCoreRegisterInfo2", "Func": "getFrameRegister", "Target": "XCore", "Target_Clf": "MPU", "Compiler_Type": "LLVM", "Idx": 1516, "Length": 32, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "static", "int", "ia64_arg_partial_bytes", "(", "CUMULATIVE_ARGS", "*", "cum", ",", "enum", "machine_mode", "mode", ",", "tree", "type", ",", "bool", "named", "ATTRIBUTE_UNUSED", ")", "{", "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": "ia643", "Func": "ia64_arg_partial_bytes", "Target": "ia64", "Target_Clf": "CPU", "Compiler_Type": "GCC", "Idx": 1517, "Length": 84, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "void", "print_operand_address", "(", "FILE", "*", "file", ",", "rtx", "addr", ")", "{", "switch", "(", "GET_CODE", "(", "addr", ")", ")", "{", "case", "REG", ":", "fprintf", "(", "file", ",", "\"0[\"", ")", ";", "print_operand", "(", "file", ",", "addr", ",", "0", ")", ";", "fprintf", "(", "file", ",", "\"]\"", ")", ";", "break", ";", "case", "LO_SUM", ":", "if", "(", "GET_CODE", "(", "XEXP", "(", "addr", ",", "0", ")", ")", "==", "REG", ")", "{", "fprintf", "(", "file", ",", "\"lo(\"", ")", ";", "print_operand", "(", "file", ",", "XEXP", "(", "addr", ",", "1", ")", ",", "0", ")", ";", "fprintf", "(", "file", ",", "\")[\"", ")", ";", "print_operand", "(", "file", ",", "XEXP", "(", "addr", ",", "0", ")", ",", "0", ")", ";", "fprintf", "(", "file", ",", "\"]\"", ")", ";", "}", "break", ";", "case", "PLUS", ":", "if", "(", "GET_CODE", "(", "XEXP", "(", "addr", ",", "0", ")", ")", "==", "REG", "||", "GET_CODE", "(", "XEXP", "(", "addr", ",", "0", ")", ")", "==", "SUBREG", ")", "{", "print_operand", "(", "file", ",", "XEXP", "(", "addr", ",", "1", ")", ",", "0", ")", ";", "fprintf", "(", "file", ",", "\"[\"", ")", ";", "print_operand", "(", "file", ",", "XEXP", "(", "addr", ",", "0", ")", ",", "0", ")", ";", "fprintf", "(", "file", ",", "\"]\"", ")", ";", "}", "else", "{", "print_operand", "(", "file", ",", "XEXP", "(", "addr", ",", "0", ")", ",", "0", ")", ";", "fprintf", "(", "file", ",", "\"+\"", ")", ";", "print_operand", "(", "file", ",", "XEXP", "(", "addr", ",", "1", ")", ",", "0", ")", ";", "}", "break", ";", "case", "SYMBOL_REF", ":", "{", "const", "char", "*", "off_name", "=", "NULL", ";", "const", "char", "*", "reg_name", "=", "NULL", ";", "if", "(", "SYMBOL_REF_ZDA_P", "(", "addr", ")", ")", "{", "off_name", "=", "\"zdaoff\"", ";", "reg_name", "=", "\"r0\"", ";", "}", "else", "if", "(", "SYMBOL_REF_SDA_P", "(", "addr", ")", ")", "{", "off_name", "=", "\"sdaoff\"", ";", "reg_name", "=", "\"gp\"", ";", "}", "else", "if", "(", "SYMBOL_REF_TDA_P", "(", "addr", ")", ")", "{", "off_name", "=", "\"tdaoff\"", ";", "reg_name", "=", "\"ep\"", ";", "}", "if", "(", "off_name", ")", "fprintf", "(", "file", ",", "\"%s(\"", ",", "off_name", ")", ";", "output_addr_const", "(", "file", ",", "addr", ")", ";", "if", "(", "reg_name", ")", "fprintf", "(", "file", ",", "\")[%s]\"", ",", "reg_name", ")", ";", "}", "break", ";", "case", "CONST", ":", "if", "(", "special_symbolref_operand", "(", "addr", ",", "VOIDmode", ")", ")", "{", "rtx", "x", "=", "XEXP", "(", "XEXP", "(", "addr", ",", "0", ")", ",", "0", ")", ";", "const", "char", "*", "off_name", ";", "const", "char", "*", "reg_name", ";", "if", "(", "SYMBOL_REF_ZDA_P", "(", "x", ")", ")", "{", "off_name", "=", "\"zdaoff\"", ";", "reg_name", "=", "\"r0\"", ";", "}", "else", "if", "(", "SYMBOL_REF_SDA_P", "(", "x", ")", ")", "{", "off_name", "=", "\"sdaoff\"", ";", "reg_name", "=", "\"gp\"", ";", "}", "else", "if", "(", "SYMBOL_REF_TDA_P", "(", "x", ")", ")", "{", "off_name", "=", "\"tdaoff\"", ";", "reg_name", "=", "\"ep\"", ";", "}", "else", "gcc_unreachable", "(", ")", ";", "fprintf", "(", "file", ",", "\"%s(\"", ",", "off_name", ")", ";", "output_addr_const", "(", "file", ",", "addr", ")", ";", "fprintf", "(", "file", ",", "\")[%s]\"", ",", "reg_name", ")", ";", "}", "else", "output_addr_const", "(", "file", ",", "addr", ")", ";", "break", ";", "default", ":", "output_addr_const", "(", "file", ",", "addr", ")", ";", "break", ";", "}", "}", ""], "natrual_language": ["Print", "the", "operand", "address", "represented", "by", "the", "rtx", "addr"], "TS_V_token": ["v850", "\"0[\"", "0", "\"]\"", "0", "\"lo(\"", "1", "0", "\")[\"", "0", "0", "\"]\"", "0", "0", "1", "0", "\"[\"", "0", "0", "\"]\"", "0", "0", "\"+\"", "1", "0", "\"zdaoff\"", "\"r0\"", "\"sdaoff\"", "\"gp\"", "\"tdaoff\"", "\"ep\"", "\"%s(\"", "\")[%s]\"", "0", "0", "\"zdaoff\"", "\"r0\"", "\"sdaoff\"", "\"gp\"", "\"tdaoff\"", "\"ep\"", "\"%s(\"", "\")[%s]\""], "File": "v8503", "Func": "print_operand_address", "Target": "v850", "Target_Clf": "MPU", "Compiler_Type": "GCC", "Idx": 1518, "Length": 482, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "void", "msp430_output_labelref", "(", "FILE", "*", "file", ",", "const", "char", "*", "name", ")", "{", "int", "i", ";", "for", "(", "i", "=", "0", ";", "helper_function_name_mappings", "[", "i", "]", ".", "gcc_name", ";", "i", "++", ")", "if", "(", "strcmp", "(", "helper_function_name_mappings", "[", "i", "]", ".", "gcc_name", ",", "name", ")", "==", "0", ")", "{", "name", "=", "helper_function_name_mappings", "[", "i", "]", ".", "ti_name", ";", "break", ";", "}", "if", "(", "msp430_hwmult_type", "!=", "NONE", ")", "{", "if", "(", "strcmp", "(", "\"__mspabi_mpyi\"", ",", "name", ")", "==", "0", ")", "{", "if", "(", "msp430_use_f5_series_hwmult", "(", ")", ")", "name", "=", "\"__mulhi2_f5\"", ";", "else", "if", "(", "!", "msp430_no_hwmult", "(", ")", ")", "name", "=", "\"__mulhi2\"", ";", "}", "else", "if", "(", "strcmp", "(", "\"__mspabi_mpyl\"", ",", "name", ")", "==", "0", ")", "{", "if", "(", "msp430_use_f5_series_hwmult", "(", ")", ")", "name", "=", "\"__mulsi2_f5\"", ";", "else", "if", "(", "use_32bit_hwmult", "(", ")", ")", "name", "=", "\"__mulsi2_hw32\"", ";", "else", "if", "(", "!", "msp430_no_hwmult", "(", ")", ")", "name", "=", "\"__mulsi2\"", ";", "}", "}", "fputs", "(", "name", ",", "file", ")", ";", "}", ""], "natrual_language": ["This", "function", "does", "the", "same", "as", "the", "default", ",", "but", "it", "will", "replace", "GCC", "function", "names", "with", "the", "MSPABI-specified", "ones", "."], "TS_V_token": ["msp430", "0", "0", "\"__mspabi_mpyi\"", "0", "\"__mulhi2_f5\"", "\"__mulhi2\"", "\"__mspabi_mpyl\"", "0", "\"__mulsi2_f5\"", "\"__mulsi2_hw32\"", "\"__mulsi2\""], "File": "msp4302", "Func": "msp430_output_labelref", "Target": "msp430", "Target_Clf": "MPU", "Compiler_Type": "GCC", "Idx": 1519, "Length": 159, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "virtual", "const", "char", "*", "getPassName", "(", ")", "const", "{", "return", "\"WDC65816 DAG->DAG Pattern Instruction Selection\"", ";", "}", ""], "natrual_language": ["getPassName", "-", "Return", "a", "nice", "clean", "name", "for", "a", "pass", "."], "TS_V_token": ["WDC65816", "\"WDC65816 DAG->DAG Pattern Instruction Selection\""], "File": "WDC65816ISelDAGToDAG", "Func": "getPassName", "Target": "WDC65816", "Target_Clf": "MPU", "Compiler_Type": "LLVM", "Idx": 1520, "Length": 13, "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": 1521, "Length": 388, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "bool", "NVPTXAsmPrinter", "::", "doInitialization", "(", "Module", "&", "M", ")", "{", "SmallString", "<", "128", ">", "Str1", ";", "raw_svector_ostream", "OS1", "(", "Str1", ")", ";", "MMI", "=", "getAnalysisIfAvailable", "<", "MachineModuleInfo", ">", "(", ")", ";", "MMI", "->", "AnalyzeModule", "(", "M", ")", ";", "const_cast", "<", "TargetLoweringObjectFile", "&", ">", "(", "getObjFileLowering", "(", ")", ")", ".", "Initialize", "(", "OutContext", ",", "TM", ")", ";", "Mang", "=", "new", "Mangler", "(", "TM", ".", "getDataLayout", "(", ")", ")", ";", "emitHeader", "(", "M", ",", "OS1", ")", ";", "OutStreamer", ".", "EmitRawText", "(", "OS1", ".", "str", "(", ")", ")", ";", "if", "(", "!", "M", ".", "getModuleInlineAsm", "(", ")", ".", "empty", "(", ")", ")", "{", "OutStreamer", ".", "AddComment", "(", "\"Start of file scope inline assembly\"", ")", ";", "OutStreamer", ".", "AddBlankLine", "(", ")", ";", "OutStreamer", ".", "EmitRawText", "(", "StringRef", "(", "M", ".", "getModuleInlineAsm", "(", ")", ")", ")", ";", "OutStreamer", ".", "AddBlankLine", "(", ")", ";", "OutStreamer", ".", "AddComment", "(", "\"End of file scope inline assembly\"", ")", ";", "OutStreamer", ".", "AddBlankLine", "(", ")", ";", "}", "if", "(", "nvptxSubtarget", ".", "getDrvInterface", "(", ")", "==", "NVPTX", "::", "CUDA", ")", "recordAndEmitFilenames", "(", "M", ")", ";", "GlobalsEmitted", "=", "false", ";", "return", "false", ";", "}", ""], "natrual_language": ["Set", "up", "the", "AsmPrinter", "when", "we", "are", "working", "on", "a", "new", "module", "."], "TS_V_token": ["NVPTX", "NVPTX", "128", "\"Start of file scope inline assembly\"", "\"End of file scope inline assembly\"", "NVPTX::CUDA"], "File": "NVPTXAsmPrinter1", "Func": "doInitialization", "Target": "NVPTX", "Target_Clf": "GPU", "Compiler_Type": "LLVM", "Idx": 1522, "Length": 172, "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": 1523, "Length": 135, "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": 1524, "Length": 159, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "void", "MSP430RegisterInfo", "::", "processFunctionBeforeFrameFinalized", "(", "MachineFunction", "&", "MF", ")", "const", "{", "const", "TargetFrameInfo", "*", "TFI", "=", "MF", ".", "getTarget", "(", ")", ".", "getFrameInfo", "(", ")", ";", "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": ["MSP430", "MSP430", "2", "4", "\"Slot for FPW register must be last in order to be found!\""], "File": "MSP430RegisterInfo17", "Func": "processFunctionBeforeFrameFinalized", "Target": "MSP430", "Target_Clf": "MPU", "Compiler_Type": "LLVM", "Idx": 1525, "Length": 79, "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": 1526, "Length": 27, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "void", "GBZ80PassConfig", "::", "addPreRegAlloc", "(", ")", "{", "addPass", "(", "createGBZ80PreRAPass", "(", ")", ")", ";", "}", ""], "natrual_language": ["This", "method", "may", "be", "implemented", "by", "targets", "that", "want", "to", "run", "passes", "immediately", "before", "register", "allocation", "."], "TS_V_token": ["GBZ80", "GB", "GB"], "File": "GBZ80TargetMachine", "Func": "addPreRegAlloc", "Target": "GBZ80", "Target_Clf": "MPU", "Compiler_Type": "LLVM", "Idx": 1527, "Length": 15, "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": 1528, "Length": 202, "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": 1529, "Length": 193, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "void", "GCNPassConfig", "::", "addPreRegAlloc", "(", ")", "{", "if", "(", "getOptLevel", "(", ")", ">", "CodeGenOpt", "::", "None", ")", "{", "insertPass", "(", "&", "MachineSchedulerID", ",", "&", "SIFixControlFlowLiveIntervalsID", ")", ";", "}", "if", "(", "getOptLevel", "(", ")", ">", "CodeGenOpt", "::", "None", ")", "{", "insertPass", "(", "&", "MachineSchedulerID", ",", "&", "SILoadStoreOptimizerID", ")", ";", "insertPass", "(", "&", "MachineSchedulerID", ",", "&", "RegisterCoalescerID", ")", ";", "}", "addPass", "(", "createSIShrinkInstructionsPass", "(", ")", ")", ";", "addPass", "(", "createSIWholeQuadModePass", "(", ")", ")", ";", "}", ""], "natrual_language": ["This", "method", "may", "be", "implemented", "by", "targets", "that", "want", "to", "run", "passes", "immediately", "before", "register", "allocation", "."], "TS_V_token": ["AMDGPU", "SI", "SI", "SI", "SI"], "File": "AMDGPUTargetMachine103", "Func": "addPreRegAlloc", "Target": "AMDGPU", "Target_Clf": "GPU", "Compiler_Type": "LLVM", "Idx": 1530, "Length": 73, "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": 1531, "Length": 139, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "int", "empty_delay_slot", "(", "rtx_insn", "*", "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": ["visium", "1", "0", "1"], "File": "visium", "Func": "empty_delay_slot", "Target": "visium", "Target_Clf": "Virtual ISA", "Compiler_Type": "GCC", "Idx": 1532, "Length": 52, "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": 1533, "Length": 73, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "bool", "m68k_illegitimate_symbolic_constant_p", "(", "rtx", "x", ")", "{", "rtx", "base", ",", "offset", ";", "if", "(", "M68K_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", "m68k_tls_reference_p", "(", "x", ",", "false", ")", ";", "}", ""], "natrual_language": ["Return", "true", "if", "X", "is", "an", "illegitimate", "symbolic", "constant", "."], "TS_V_token": ["m68k"], "File": "m68k", "Func": "m68k_illegitimate_symbolic_constant_p", "Target": "m68k", "Target_Clf": "MPU", "Compiler_Type": "GCC", "Idx": 1534, "Length": 61, "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": 1535, "Length": 59, "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": 1536, "Length": 92, "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": 1537, "Length": 184, "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": ["RISCV"], "File": "RISCVAsmBackend10", "Func": "fixupNeedsRelaxation", "Target": "RISCV", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 1538, "Length": 28, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "SDValue", "SITargetLowering", "::", "handleD16VData", "(", "SDValue", "VData", ",", "SelectionDAG", "&", "DAG", ")", "const", "{", "EVT", "StoreVT", "=", "VData", ".", "getValueType", "(", ")", ";", "if", "(", "!", "StoreVT", ".", "isVector", "(", ")", ")", "return", "VData", ";", "SDLoc", "DL", "(", "VData", ")", ";", "assert", "(", "(", "StoreVT", ".", "getVectorNumElements", "(", ")", "!=", "3", ")", "&&", "\"Handle v3f16\"", ")", ";", "if", "(", "Subtarget", "->", "hasUnpackedD16VMem", "(", ")", ")", "{", "EVT", "IntStoreVT", "=", "StoreVT", ".", "changeTypeToInteger", "(", ")", ";", "SDValue", "IntVData", "=", "DAG", ".", "getNode", "(", "ISD", "::", "BITCAST", ",", "DL", ",", "IntStoreVT", ",", "VData", ")", ";", "EVT", "EquivStoreVT", "=", "EVT", "::", "getVectorVT", "(", "*", "DAG", ".", "getContext", "(", ")", ",", "MVT", "::", "i32", ",", "StoreVT", ".", "getVectorNumElements", "(", ")", ")", ";", "SDValue", "ZExt", "=", "DAG", ".", "getNode", "(", "ISD", "::", "ZERO_EXTEND", ",", "DL", ",", "EquivStoreVT", ",", "IntVData", ")", ";", "return", "DAG", ".", "UnrollVectorOp", "(", "ZExt", ".", "getNode", "(", ")", ")", ";", "}", "if", "(", "isTypeLegal", "(", "StoreVT", ")", ")", "return", "VData", ";", "EVT", "EquivStoreVT", "=", "getEquivalentMemType", "(", "*", "DAG", ".", "getContext", "(", ")", ",", "StoreVT", ")", ";", "return", "DAG", ".", "getNode", "(", "ISD", "::", "BITCAST", ",", "DL", ",", "EquivStoreVT", ",", "VData", ")", ";", "}", ""], "natrual_language": ["Handle", "register", "layout", "difference", "for", "f16", "images", "for", "some", "subtargets", "."], "TS_V_token": ["AMDGPU", "SI", "3", "\"Handle v3f16\"", "ISD::BITCAST", "MVT::i32", "ISD::ZERO_EXTEND", "ISD::BITCAST"], "File": "SIISelLowering43", "Func": "handleD16VData", "Target": "AMDGPU", "Target_Clf": "GPU", "Compiler_Type": "LLVM", "Idx": 1539, "Length": 190, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "bool", "runOnMachineFunction", "(", "MachineFunction", "&", "MF", ")", "{", "if", "(", "!", "MF", ".", "getFrameInfo", "(", ")", ".", "hasVarSizedObjects", "(", ")", ")", "{", "return", "false", ";", "}", "const", "SNESSubtarget", "&", "STI", "=", "MF", ".", "getSubtarget", "<", "SNESSubtarget", ">", "(", ")", ";", "const", "TargetInstrInfo", "&", "TII", "=", "*", "STI", ".", "getInstrInfo", "(", ")", ";", "MachineBasicBlock", "&", "EntryMBB", "=", "MF", ".", "front", "(", ")", ";", "MachineBasicBlock", "::", "iterator", "MBBI", "=", "EntryMBB", ".", "begin", "(", ")", ";", "DebugLoc", "DL", "=", "EntryMBB", ".", "findDebugLoc", "(", "MBBI", ")", ";", "unsigned", "SPCopy", "=", "MF", ".", "getRegInfo", "(", ")", ".", "createVirtualRegister", "(", "&", "SNES", "::", "MainRegsRegClass", ")", ";", "BuildMI", "(", "EntryMBB", ",", "MBBI", ",", "DL", ",", "TII", ".", "get", "(", "SNES", "::", "COPY", ")", ",", "SPCopy", ")", ".", "addReg", "(", "SNES", "::", "SP", ")", ";", "for", "(", "MachineBasicBlock", "&", "MBB", ":", "MF", ")", "{", "if", "(", "!", "MBB", ".", "empty", "(", ")", "&&", "MBB", ".", "back", "(", ")", ".", "isReturn", "(", ")", ")", "{", "MBBI", "=", "MBB", ".", "getLastNonDebugInstr", "(", ")", ";", "DL", "=", "MBBI", "->", "getDebugLoc", "(", ")", ";", "BuildMI", "(", "MBB", ",", "MBBI", ",", "DL", ",", "TII", ".", "get", "(", "SNES", "::", "COPY", ")", ",", "SNES", "::", "SP", ")", ".", "addReg", "(", "SPCopy", ",", "RegState", "::", "Kill", ")", ";", "}", "}", "return", "true", ";", "}", ""], "natrual_language": ["runOnMachineFunction", "-", "Emit", "the", "function", "body", "."], "TS_V_token": ["SNES", "SNES", "SNES", "SNES::MainRegsRegClass", "SNES::COPY", "SNES::SP", "SNES::COPY", "SNES::SP"], "File": "SNESFrameLowering", "Func": "runOnMachineFunction", "Target": "SNES", "Target_Clf": "DSP", "Compiler_Type": "LLVM", "Idx": 1540, "Length": 209, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "bool", "HexagonPassConfig", "::", "addPreRegAlloc", "(", ")", "{", "if", "(", "!", "DisableHardwareLoops", ")", "{", "PM", ".", "add", "(", "createHexagonHardwareLoops", "(", ")", ")", ";", "}", "return", "false", ";", "}", ""], "natrual_language": ["This", "method", "may", "be", "implemented", "by", "targets", "that", "want", "to", "run", "passes", "immediately", "before", "register", "allocation", "."], "TS_V_token": ["Hexagon", "Hexagon", "Hexagon"], "File": "HexagonTargetMachine17", "Func": "addPreRegAlloc", "Target": "Hexagon", "Target_Clf": "DSP", "Compiler_Type": "LLVM", "Idx": 1541, "Length": 27, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "static", "void", "mn10300_bundle_liw", "(", "void", ")", "{", "rtx_insn", "*", "r", ";", "for", "(", "r", "=", "get_insns", "(", ")", ";", "r", "!=", "NULL", ";", "r", "=", "next_nonnote_nondebug_insn", "(", "r", ")", ")", "{", "rtx_insn", "*", "insn1", ",", "*", "insn2", ";", "struct", "liw_data", "liw1", ",", "liw2", ";", "insn1", "=", "r", ";", "if", "(", "!", "extract_bundle", "(", "insn1", ",", "&", "liw1", ")", ")", "continue", ";", "insn2", "=", "next_nonnote_nondebug_insn", "(", "insn1", ")", ";", "if", "(", "!", "extract_bundle", "(", "insn2", ",", "&", "liw2", ")", ")", "continue", ";", "if", "(", "!", "check_liw_constraints", "(", "&", "liw1", ",", "&", "liw2", ")", ")", "continue", ";", "if", "(", "liw1", ".", "slot", "==", "LIW_OP2", "||", "liw2", ".", "slot", "==", "LIW_OP1", ")", "{", "struct", "liw_data", "temp", ";", "temp", "=", "liw1", ";", "liw1", "=", "liw2", ";", "liw2", "=", "temp", ";", "}", "delete_insn", "(", "insn2", ")", ";", "rtx", "insn2_pat", ";", "if", "(", "liw1", ".", "op", "==", "LIW_OP_CMP", ")", "insn2_pat", "=", "gen_cmp_liw", "(", "liw2", ".", "dest", ",", "liw2", ".", "src", ",", "liw1", ".", "dest", ",", "liw1", ".", "src", ",", "GEN_INT", "(", "liw2", ".", "op", ")", ")", ";", "else", "if", "(", "liw2", ".", "op", "==", "LIW_OP_CMP", ")", "insn2_pat", "=", "gen_liw_cmp", "(", "liw1", ".", "dest", ",", "liw1", ".", "src", ",", "liw2", ".", "dest", ",", "liw2", ".", "src", ",", "GEN_INT", "(", "liw1", ".", "op", ")", ")", ";", "else", "insn2_pat", "=", "gen_liw", "(", "liw1", ".", "dest", ",", "liw2", ".", "dest", ",", "liw1", ".", "src", ",", "liw2", ".", "src", ",", "GEN_INT", "(", "liw1", ".", "op", ")", ",", "GEN_INT", "(", "liw2", ".", "op", ")", ")", ";", "insn2", "=", "emit_insn_after", "(", "insn2_pat", ",", "insn1", ")", ";", "delete_insn", "(", "insn1", ")", ";", "r", "=", "insn2", ";", "}", "}", ""], "natrual_language": ["Combine", "pairs", "of", "insns", "into", "LIW", "bundles", "."], "TS_V_token": ["mn10300"], "File": "mn10300", "Func": "mn10300_bundle_liw", "Target": "mn10300", "Target_Clf": "MPU", "Compiler_Type": "GCC", "Idx": 1542, "Length": 264, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "bool", "AMDGPUTargetLowering", "::", "isLoadBitCastBeneficial", "(", "EVT", "LoadTy", ",", "EVT", "CastTy", ")", "const", "{", "if", "(", "LoadTy", ".", "getSizeInBits", "(", ")", "!=", "CastTy", ".", "getSizeInBits", "(", ")", ")", "return", "true", ";", "unsigned", "LScalarSize", "=", "LoadTy", ".", "getScalarType", "(", ")", ".", "getSizeInBits", "(", ")", ";", "unsigned", "CastScalarSize", "=", "CastTy", ".", "getScalarType", "(", ")", ".", "getSizeInBits", "(", ")", ";", "return", "(", "(", "LScalarSize", "<=", "CastScalarSize", ")", "||", "(", "CastScalarSize", ">=", "32", ")", "||", "(", "LScalarSize", "<", "32", ")", ")", ";", "}", ""], "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": ["AMDGPU", "AMDGPU", "32", "32"], "File": "AMDGPUISelLowering (2)", "Func": "isLoadBitCastBeneficial", "Target": "AMDGPU", "Target_Clf": "GPU", "Compiler_Type": "LLVM", "Idx": 1543, "Length": 78, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "static", "void", "microblaze_function_end_prologue", "(", "FILE", "*", "file", ")", "{", "if", "(", "TARGET_STACK_CHECK", ")", "{", "fprintf", "(", "file", ",", "\"\\t# Stack Check Stub -- Start.\\n\\t\"", ")", ";", "fprintf", "(", "file", ",", "\"ori\\tr18,r0,_stack_end\\n\\t\"", ")", ";", "fprintf", "(", "file", ",", "\"cmpu\\tr18,r1,r18\\n\\t\"", ")", ";", "fprintf", "(", "file", ",", "\"bgei\\tr18,_stack_overflow_exit\\n\\t\"", ")", ";", "fprintf", "(", "file", ",", "\"# Stack Check Stub -- End.\\n\"", ")", ";", "}", "}", ""], "natrual_language": ["Output", "extra", "assembler", "code", "at", "the", "end", "of", "a", "prologue", "."], "TS_V_token": ["microblaze", "\"\\t# Stack Check Stub -- Start.\\n\\t\"", "\"ori\\tr18,r0,_stack_end\\n\\t\"", "\"cmpu\\tr18,r1,r18\\n\\t\"", "\"bgei\\tr18,_stack_overflow_exit\\n\\t\"", "\"# Stack Check Stub -- End.\\n\""], "File": "microblaze", "Func": "microblaze_function_end_prologue", "Target": "microblaze", "Target_Clf": "MPU", "Compiler_Type": "GCC", "Idx": 1544, "Length": 51, "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": 1545, "Length": 247, "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": 1546, "Length": 53, "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": "X86ATTInstPrinter (2)", "Func": "printPCRelImm", "Target": "X86", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 1547, "Length": 119, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "bool", "nios2_unspec_reloc_p", "(", "rtx", "op", ")", "{", "return", "(", "GET_CODE", "(", "op", ")", "==", "CONST", "&&", "GET_CODE", "(", "XEXP", "(", "op", ",", "0", ")", ")", "==", "UNSPEC", "&&", "!", "nios2_large_offset_p", "(", "XINT", "(", "XEXP", "(", "op", ",", "0", ")", ",", "1", ")", ")", ")", ";", "}", ""], "natrual_language": ["Return", "true", "for", "conforming", "unspec", "relocations", ".", "Also", "used", "in", "constraints.md", "and", "predicates.md", "."], "TS_V_token": ["nios2", "0", "0", "1"], "File": "nios2", "Func": "nios2_unspec_reloc_p", "Target": "nios2", "Target_Clf": "MPU", "Compiler_Type": "GCC", "Idx": 1548, "Length": 46, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "unsigned", "HexagonRegisterInfo", "::", "getFrameRegister", "(", "const", "MachineFunction", "&", "MF", ")", "const", "{", "const", "TargetFrameLowering", "*", "TFI", "=", "MF", ".", "getSubtarget", "(", ")", ".", "getFrameLowering", "(", ")", ";", "if", "(", "TFI", "->", "hasFP", "(", "MF", ")", ")", "return", "Hexagon", "::", "R30", ";", "return", "Hexagon", "::", "R29", ";", "}", ""], "natrual_language": ["Debug", "information", "queries", "."], "TS_V_token": ["Hexagon", "Hexagon", "Hexagon::R30", "Hexagon::R29"], "File": "HexagonRegisterInfo41", "Func": "getFrameRegister", "Target": "Hexagon", "Target_Clf": "DSP", "Compiler_Type": "LLVM", "Idx": 1549, "Length": 47, "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": 1550, "Length": 195, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "bool", "XtensaRegisterInfo", "::", "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": ["Xtensa", "Xtensa"], "File": "XtensaRegisterInfo", "Func": "useFPForScavengingIndex", "Target": "Xtensa", "Target_Clf": "MPU", "Compiler_Type": "LLVM", "Idx": 1551, "Length": 16, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "bool", "ARCBranchFinalize", "::", "runOnMachineFunction", "(", "MachineFunction", "&", "MF", ")", "{", "DEBUG", "(", "dbgs", "(", ")", "<<", "\"Running ARC Branch Finalize on \"", "<<", "MF", ".", "getName", "(", ")", "<<", "\"\\n\"", ")", ";", "std", "::", "vector", "<", "MachineInstr", "*", ">", "Branches", ";", "bool", "Changed", "=", "false", ";", "unsigned", "MaxSize", "=", "0", ";", "TII", "=", "MF", ".", "getSubtarget", "<", "ARCSubtarget", ">", "(", ")", ".", "getInstrInfo", "(", ")", ";", "std", "::", "map", "<", "MachineBasicBlock", "*", ",", "unsigned", ">", "BlockToPCMap", ";", "std", "::", "vector", "<", "std", "::", "pair", "<", "MachineInstr", "*", ",", "unsigned", ">>", "BranchToPCList", ";", "unsigned", "PC", "=", "0", ";", "for", "(", "auto", "&", "MBB", ":", "MF", ")", "{", "BlockToPCMap", ".", "insert", "(", "std", "::", "make_pair", "(", "&", "MBB", ",", "PC", ")", ")", ";", "for", "(", "auto", "&", "MI", ":", "MBB", ")", "{", "unsigned", "Size", "=", "TII", "->", "getInstSizeInBytes", "(", "MI", ")", ";", "if", "(", "Size", ">", "8", "||", "Size", "==", "0", ")", "{", "DEBUG", "(", "dbgs", "(", ")", "<<", "\"Unknown (or size 0) size for: \"", "<<", "MI", "<<", "\"\\n\"", ")", ";", "}", "else", "{", "MaxSize", "+=", "Size", ";", "}", "if", "(", "MI", ".", "isBranch", "(", ")", ")", "{", "Branches", ".", "push_back", "(", "&", "MI", ")", ";", "BranchToPCList", ".", "emplace_back", "(", "&", "MI", ",", "PC", ")", ";", "}", "PC", "+=", "Size", ";", "}", "}", "for", "(", "auto", "P", ":", "BranchToPCList", ")", "{", "if", "(", "isBRccPseudo", "(", "P", ".", "first", ")", ")", "isInt", "<", "9", ">", "(", "MaxSize", ")", "?", "replaceWithBRcc", "(", "P", ".", "first", ")", ":", "replaceWithCmpBcc", "(", "P", ".", "first", ")", ";", "}", "DEBUG", "(", "dbgs", "(", ")", "<<", "\"Estimated function size for \"", "<<", "MF", ".", "getName", "(", ")", "<<", "\": \"", "<<", "MaxSize", "<<", "\"\\n\"", ")", ";", "return", "Changed", ";", "}", ""], "natrual_language": ["runOnMachineFunction", "-", "Emit", "the", "function", "body", "."], "TS_V_token": ["ARC", "ARC", "\"Running ARC Branch Finalize on \"", "\"\\n\"", "0", "ARC", "0", "8", "0", "\"Unknown (or size 0) size for: \"", "\"\\n\"", "9", "\"Estimated function size for \"", "\": \"", "\"\\n\""], "File": "ARCBranchFinalize3", "Func": "runOnMachineFunction", "Target": "ARC", "Target_Clf": "MPU", "Compiler_Type": "LLVM", "Idx": 1552, "Length": 266, "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": 1553, "Length": 50, "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": 1554, "Length": 12, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "const", "HexagonSubtarget", "*", "HexagonTargetMachine", "::", "getSubtargetImpl", "(", "const", "Function", "&", "F", ")", "const", "{", "AttributeList", "FnAttrs", "=", "F", ".", "getAttributes", "(", ")", ";", "Attribute", "CPUAttr", "=", "FnAttrs", ".", "getAttribute", "(", "AttributeList", "::", "FunctionIndex", ",", "\"target-cpu\"", ")", ";", "Attribute", "FSAttr", "=", "FnAttrs", ".", "getAttribute", "(", "AttributeList", "::", "FunctionIndex", ",", "\"target-features\"", ")", ";", "std", "::", "string", "CPU", "=", "CPUAttr", ".", "isValid", "(", ")", "?", "CPUAttr", ".", "getValueAsString", "(", ")", ".", "str", "(", ")", ":", "TargetCPU", ";", "std", "::", "string", "FS", "=", "FSAttr", ".", "isValid", "(", ")", "?", "FSAttr", ".", "getValueAsString", "(", ")", ".", "str", "(", ")", ":", "TargetFS", ";", "if", "(", "F", ".", "getFnAttribute", "(", "\"unsafe-fp-math\"", ")", ".", "getValueAsBool", "(", ")", ")", "FS", "=", "FS", ".", "empty", "(", ")", "?", "\"+unsafe-fp\"", ":", "\"+unsafe-fp,\"", "+", "FS", ";", "auto", "&", "I", "=", "SubtargetMap", "[", "CPU", "+", "FS", "]", ";", "if", "(", "!", "I", ")", "{", "resetTargetOptions", "(", "F", ")", ";", "I", "=", "std", "::", "make_unique", "<", "HexagonSubtarget", ">", "(", "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": ["Hexagon", "Hexagon", "Hexagon", "\"target-cpu\"", "\"target-features\"", "\"unsafe-fp-math\"", "\"+unsafe-fp\"", "\"+unsafe-fp,\"", "Hexagon"], "File": "HexagonTargetMachine28", "Func": "getSubtargetImpl", "Target": "Hexagon", "Target_Clf": "DSP", "Compiler_Type": "LLVM", "Idx": 1555, "Length": 174, "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": 1556, "Length": 59, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "SDValue", "PIC16TargetLowering", "::", "LowerOperation", "(", "SDValue", "Op", ",", "SelectionDAG", "&", "DAG", ")", "const", "{", "switch", "(", "Op", ".", "getOpcode", "(", ")", ")", "{", "case", "ISD", "::", "ADD", ":", "case", "ISD", "::", "ADDC", ":", "case", "ISD", "::", "ADDE", ":", "return", "LowerADD", "(", "Op", ",", "DAG", ")", ";", "case", "ISD", "::", "SUB", ":", "case", "ISD", "::", "SUBC", ":", "case", "ISD", "::", "SUBE", ":", "return", "LowerSUB", "(", "Op", ",", "DAG", ")", ";", "case", "ISD", "::", "LOAD", ":", "return", "ExpandLoad", "(", "Op", ".", "getNode", "(", ")", ",", "DAG", ")", ";", "case", "ISD", "::", "STORE", ":", "return", "ExpandStore", "(", "Op", ".", "getNode", "(", ")", ",", "DAG", ")", ";", "case", "ISD", "::", "MUL", ":", "return", "LowerMUL", "(", "Op", ",", "DAG", ")", ";", "case", "ISD", "::", "SHL", ":", "case", "ISD", "::", "SRA", ":", "case", "ISD", "::", "SRL", ":", "return", "LowerShift", "(", "Op", ",", "DAG", ")", ";", "case", "ISD", "::", "OR", ":", "case", "ISD", "::", "AND", ":", "case", "ISD", "::", "XOR", ":", "return", "LowerBinOp", "(", "Op", ",", "DAG", ")", ";", "case", "ISD", "::", "BR_CC", ":", "return", "LowerBR_CC", "(", "Op", ",", "DAG", ")", ";", "case", "ISD", "::", "SELECT_CC", ":", "return", "LowerSELECT_CC", "(", "Op", ",", "DAG", ")", ";", "}", "return", "SDValue", "(", ")", ";", "}", ""], "natrual_language": ["LowerOperation", "-", "Provide", "custom", "lowering", "hooks", "for", "some", "operations", "."], "TS_V_token": ["PIC16", "PIC16", "ISD::ADD", "ISD::ADDC", "ISD::ADDE", "ISD::SUB", "ISD::SUBC", "ISD::SUBE", "ISD::LOAD", "ISD::STORE", "ISD::MUL", "ISD::SHL", "ISD::SRA", "ISD::SRL", "ISD::OR", "ISD::AND", "ISD::XOR", "ISD::BR_CC", "ISD::SELECT_CC"], "File": "PIC16ISelLowering1", "Func": "LowerOperation", "Target": "PIC16", "Target_Clf": "MPU", "Compiler_Type": "LLVM", "Idx": 1557, "Length": 195, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "static", "void", "alpha_pre_atomic_barrier", "(", "enum", "memmodel", "model", ")", "{", "if", "(", "need_atomic_barrier_p", "(", "model", ",", "true", ")", ")", "emit_insn", "(", "gen_memory_barrier", "(", ")", ")", ";", "}", ""], "natrual_language": ["Subroutines", "of", "the", "atomic", "operation", "splitters", ".", "Emit", "barriers", "as", "needed", "for", "the", "memory", "MODEL", "."], "TS_V_token": ["alpha"], "File": "alpha", "Func": "alpha_pre_atomic_barrier", "Target": "alpha", "Target_Clf": "MPU", "Compiler_Type": "GCC", "Idx": 1558, "Length": 26, "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": 1559, "Length": 13, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "CCAssignFn", "*", "AMDGPUCallLowering", "::", "CCAssignFnForReturn", "(", "CallingConv", "::", "ID", "CC", ",", "bool", "IsVarArg", ")", "{", "switch", "(", "CC", ")", "{", "case", "CallingConv", "::", "AMDGPU_KERNEL", ":", "case", "CallingConv", "::", "SPIR_KERNEL", ":", "return", "CC_AMDGPU_Kernel", ";", "case", "CallingConv", "::", "AMDGPU_VS", ":", "case", "CallingConv", "::", "AMDGPU_GS", ":", "case", "CallingConv", "::", "AMDGPU_PS", ":", "case", "CallingConv", "::", "AMDGPU_CS", ":", "case", "CallingConv", "::", "AMDGPU_HS", ":", "return", "RetCC_SI_Shader", ";", "case", "CallingConv", "::", "C", ":", "case", "CallingConv", "::", "Fast", ":", "return", "RetCC_AMDGPU_Func", ";", "default", ":", "report_fatal_error", "(", "\"Unsupported calling convention.\"", ")", ";", "}", "}", ""], "natrual_language": ["Selects", "the", "correct", "CCAssignFn", "for", "a", "given", "CallingConvention", "value", "."], "TS_V_token": ["AMDGPU", "AMDGPU", "AMDGPU", "AMDGPU", "AMDGPU", "AMDGPU", "AMDGPU", "AMDGPU", "AMDGPU", "SI", "AMDGPU", "\"Unsupported calling convention.\""], "File": "AMDGPUISelLowering112", "Func": "CCAssignFnForReturn", "Target": "AMDGPU", "Target_Clf": "GPU", "Compiler_Type": "LLVM", "Idx": 1560, "Length": 83, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "bool", "pdp11_fixed_cc_regs", "(", "unsigned", "int", "*", "p1", ",", "unsigned", "int", "*", "p2", ")", "{", "*", "p1", "=", "CC_REGNUM", ";", "*", "p2", "=", "FCC_REGNUM", ";", "return", "true", ";", "}", ""], "natrual_language": ["Return", "the", "regnums", "of", "the", "CC", "registers", "."], "TS_V_token": ["pdp11"], "File": "pdp11", "Func": "pdp11_fixed_cc_regs", "Target": "pdp11", "Target_Clf": "MPU", "Compiler_Type": "GCC", "Idx": 1561, "Length": 28, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "static", "bool", "alpha_legitimate_address_p", "(", "machine_mode", "mode", ",", "rtx", "x", ",", "bool", "strict", ")", "{", "if", "(", "mode", "==", "DImode", "&&", "GET_CODE", "(", "x", ")", "==", "AND", "&&", "CONST_INT_P", "(", "XEXP", "(", "x", ",", "1", ")", ")", "&&", "INTVAL", "(", "XEXP", "(", "x", ",", "1", ")", ")", "==", "-", "8", ")", "x", "=", "XEXP", "(", "x", ",", "0", ")", ";", "if", "(", "GET_CODE", "(", "x", ")", "==", "SUBREG", "&&", "(", "GET_MODE_SIZE", "(", "GET_MODE", "(", "x", ")", ")", "<", "GET_MODE_SIZE", "(", "GET_MODE", "(", "SUBREG_REG", "(", "x", ")", ")", ")", ")", ")", "x", "=", "SUBREG_REG", "(", "x", ")", ";", "if", "(", "REG_P", "(", "x", ")", "&&", "(", "strict", "?", "STRICT_REG_OK_FOR_BASE_P", "(", "x", ")", ":", "NONSTRICT_REG_OK_FOR_BASE_P", "(", "x", ")", ")", ")", "return", "true", ";", "if", "(", "CONSTANT_ADDRESS_P", "(", "x", ")", ")", "return", "true", ";", "if", "(", "LINKAGE_SYMBOL_REF_P", "(", "x", ")", ")", "return", "true", ";", "if", "(", "GET_CODE", "(", "x", ")", "==", "PLUS", ")", "{", "rtx", "ofs", "=", "XEXP", "(", "x", ",", "1", ")", ";", "x", "=", "XEXP", "(", "x", ",", "0", ")", ";", "if", "(", "GET_CODE", "(", "x", ")", "==", "SUBREG", "&&", "(", "GET_MODE_SIZE", "(", "GET_MODE", "(", "x", ")", ")", "<", "GET_MODE_SIZE", "(", "GET_MODE", "(", "SUBREG_REG", "(", "x", ")", ")", ")", ")", ")", "x", "=", "SUBREG_REG", "(", "x", ")", ";", "if", "(", "REG_P", "(", "x", ")", ")", "{", "if", "(", "!", "strict", "&&", "NONSTRICT_REG_OK_FP_BASE_P", "(", "x", ")", "&&", "CONST_INT_P", "(", "ofs", ")", ")", "return", "true", ";", "if", "(", "(", "strict", "?", "STRICT_REG_OK_FOR_BASE_P", "(", "x", ")", ":", "NONSTRICT_REG_OK_FOR_BASE_P", "(", "x", ")", ")", "&&", "CONSTANT_ADDRESS_P", "(", "ofs", ")", ")", "return", "true", ";", "}", "}", "else", "if", "(", "TARGET_EXPLICIT_RELOCS", "&&", "GET_MODE_SIZE", "(", "mode", ")", "<=", "UNITS_PER_WORD", ")", "{", "if", "(", "small_symbolic_operand", "(", "x", ",", "Pmode", ")", ")", "return", "true", ";", "if", "(", "GET_CODE", "(", "x", ")", "==", "LO_SUM", ")", "{", "rtx", "ofs", "=", "XEXP", "(", "x", ",", "1", ")", ";", "x", "=", "XEXP", "(", "x", ",", "0", ")", ";", "if", "(", "GET_CODE", "(", "x", ")", "==", "SUBREG", "&&", "(", "GET_MODE_SIZE", "(", "GET_MODE", "(", "x", ")", ")", "<", "GET_MODE_SIZE", "(", "GET_MODE", "(", "SUBREG_REG", "(", "x", ")", ")", ")", ")", ")", "x", "=", "SUBREG_REG", "(", "x", ")", ";", "if", "(", "!", "(", "REG_P", "(", "x", ")", "&&", "(", "strict", "?", "STRICT_REG_OK_FOR_BASE_P", "(", "x", ")", ":", "NONSTRICT_REG_OK_FOR_BASE_P", "(", "x", ")", ")", ")", ")", "return", "false", ";", "if", "(", "local_symbolic_operand", "(", "ofs", ",", "Pmode", ")", "||", "dtp32_symbolic_operand", "(", "ofs", ",", "Pmode", ")", "||", "tp32_symbolic_operand", "(", "ofs", ",", "Pmode", ")", ")", "return", "true", ";", "}", "}", "return", "false", ";", "}", ""], "natrual_language": ["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", ".", "For", "Alpha", ",", "we", "have", "either", "a", "constant", "address", "or", "the", "sum", "of", "a", "register", "and", "a", "constant", "address", ",", "or", "just", "a", "register", ".", "For", "DImode", ",", "any", "of", "those", "forms", "can", "be", "surrounded", "with", "an", "AND", "that", "clear", "the", "low-order", "three", "bits", ";", "this", "is", "an", "``", "unaligned", "''", "access", "."], "TS_V_token": ["alpha", "1", "1", "8", "0", "1", "0", "1", "0"], "File": "alpha4", "Func": "alpha_legitimate_address_p", "Target": "alpha", "Target_Clf": "MPU", "Compiler_Type": "GCC", "Idx": 1562, "Length": 408, "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": 1563, "Length": 503, "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": 1564, "Length": 13, "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": 1565, "Length": 172, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "void", "AMDGPUMCObjectWriter", "::", "writeObject", "(", "MCAssembler", "&", "Asm", ",", "const", "MCAsmLayout", "&", "Layout", ")", "{", "for", "(", "MCAssembler", "::", "iterator", "I", "=", "Asm", ".", "begin", "(", ")", ",", "E", "=", "Asm", ".", "end", "(", ")", ";", "I", "!=", "E", ";", "++", "I", ")", "{", "Asm", ".", "writeSectionData", "(", "&", "*", "I", ",", "Layout", ")", ";", "}", "}", ""], "natrual_language": ["Write", "the", "object", "file", "and", "returns", "the", "number", "of", "bytes", "written", "."], "TS_V_token": ["R600"], "File": "AMDGPUAsmBackend33", "Func": "writeObject", "Target": "R600", "Target_Clf": "GPU", "Compiler_Type": "LLVM", "Idx": 1566, "Length": 57, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "static", "int", "m32c_hard_regno_nregs_1", "(", "int", "regno", ",", "machine_mode", "mode", ")", "{", "if", "(", "regno", "==", "FLG_REGNO", "&&", "mode", "==", "CCmode", ")", "return", "1", ";", "if", "(", "regno", ">=", "FIRST_PSEUDO_REGISTER", ")", "return", "(", "(", "GET_MODE_SIZE", "(", "mode", ")", "+", "UNITS_PER_WORD", "-", "1", ")", "/", "UNITS_PER_WORD", ")", ";", "if", "(", "regno", ">=", "MEM0_REGNO", "&&", "regno", "<=", "MEM7_REGNO", ")", "return", "(", "GET_MODE_SIZE", "(", "mode", ")", "+", "1", ")", "/", "2", ";", "if", "(", "GET_MODE_SIZE", "(", "mode", ")", "<=", "1", ")", "return", "nregs_table", "[", "regno", "]", ".", "qi_regs", ";", "if", "(", "GET_MODE_SIZE", "(", "mode", ")", "<=", "2", ")", "return", "nregs_table", "[", "regno", "]", ".", "hi_regs", ";", "if", "(", "regno", "==", "A0_REGNO", "&&", "mode", "==", "SImode", "&&", "TARGET_A16", ")", "return", "2", ";", "if", "(", "(", "GET_MODE_SIZE", "(", "mode", ")", "<=", "3", "||", "mode", "==", "PSImode", ")", "&&", "TARGET_A24", ")", "return", "nregs_table", "[", "regno", "]", ".", "pi_regs", ";", "if", "(", "GET_MODE_SIZE", "(", "mode", ")", "<=", "4", ")", "return", "nregs_table", "[", "regno", "]", ".", "si_regs", ";", "if", "(", "GET_MODE_SIZE", "(", "mode", ")", "<=", "8", ")", "return", "nregs_table", "[", "regno", "]", ".", "di_regs", ";", "return", "0", ";", "}", ""], "natrual_language": ["Implements", "HARD_REGNO_NREGS", ".", "This", "is", "complicated", "by", "the", "fact", "that", "different", "registers", "are", "different", "sizes", "from", "each", "other", ",", "*", "and", "*", "may", "be", "different", "sizes", "in", "different", "chip", "families", "."], "TS_V_token": ["m32c", "1", "1", "1", "2", "1", "2", "2", "3", "4", "8", "0"], "File": "m32c3", "Func": "m32c_hard_regno_nregs_1", "Target": "m32c", "Target_Clf": "MPU", "Compiler_Type": "GCC", "Idx": 1567, "Length": 180, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "TargetLowering", "::", "ConstraintWeight", "AlphaTargetLowering", "::", "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", "'f'", ":", "weight", "=", "CW_Register", ";", "break", ";", "}", "return", "weight", ";", "}", ""], "natrual_language": ["Examine", "constraint", "string", "and", "operand", "type", "and", "determine", "a", "weight", "value", "."], "TS_V_token": ["Alpha", "Alpha"], "File": "AlphaISelLowering2", "Func": "getSingleConstraintMatchWeight", "Target": "Alpha", "Target_Clf": "MPU", "Compiler_Type": "LLVM", "Idx": 1568, "Length": 75, "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": 1569, "Length": 28, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "static", "int", "reg_aligned_for_addr", "(", "rtx", "x", ")", "{", "int", "regno", "=", "REGNO", "(", "x", ")", "<", "FIRST_PSEUDO_REGISTER", "?", "ORIGINAL_REGNO", "(", "x", ")", ":", "REGNO", "(", "x", ")", ";", "return", "REGNO_POINTER_ALIGN", "(", "regno", ")", ">=", "128", ";", "}", ""], "natrual_language": ["This", "is", "called", "any", "time", "we", "inspect", "the", "alignment", "of", "a", "register", "for", "addresses", "."], "TS_V_token": ["spu", "128"], "File": "spu", "Func": "reg_aligned_for_addr", "Target": "spu", "Target_Clf": "MPU", "Compiler_Type": "GCC", "Idx": 1570, "Length": 37, "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": 1571, "Length": 22, "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": 1572, "Length": 50, "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", "(", ")", ";", "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", ";", "FrameReg", "=", "Cpu0", "::", "SP", ";", "int64_t", "Offset", ";", "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", "(", "false", "&&", "\"(!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", "Cpu0::SP", "1", "\"Offset : \"", "\"\\n\"", "\"<---------->\\n\"", "16", "\"(!MI.isDebugValue() && !isInt<16>(Offset))\"", "1"], "File": "Cpu0RegisterInfo4", "Func": "eliminateFrameIndex", "Target": "Cpu0", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 1573, "Length": 358, "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": ["M680x0"], "File": "M680x0InstrInfo", "Func": "getAnalysisUsage", "Target": "M680x0", "Target_Clf": "MPU", "Compiler_Type": "LLVM", "Idx": 1574, "Length": 24, "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": 1575, "Length": 65, "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": 1576, "Length": 40, "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": 1577, "Length": 101, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "static", "int", "ep_memory_offset", "(", "machine_mode", "mode", ",", "int", "unsignedp", "ATTRIBUTE_UNUSED", ")", "{", "int", "max_offset", "=", "0", ";", "switch", "(", "mode", ")", "{", "case", "E_QImode", ":", "if", "(", "TARGET_SMALL_SLD", ")", "max_offset", "=", "(", "1", "<<", "4", ")", ";", "else", "if", "(", "(", "TARGET_V850E_UP", ")", "&&", "unsignedp", ")", "max_offset", "=", "(", "1", "<<", "4", ")", ";", "else", "max_offset", "=", "(", "1", "<<", "7", ")", ";", "break", ";", "case", "E_HImode", ":", "if", "(", "TARGET_SMALL_SLD", ")", "max_offset", "=", "(", "1", "<<", "5", ")", ";", "else", "if", "(", "(", "TARGET_V850E_UP", ")", "&&", "unsignedp", ")", "max_offset", "=", "(", "1", "<<", "5", ")", ";", "else", "max_offset", "=", "(", "1", "<<", "8", ")", ";", "break", ";", "case", "E_SImode", ":", "case", "E_SFmode", ":", "max_offset", "=", "(", "1", "<<", "8", ")", ";", "break", ";", "default", ":", "break", ";", "}", "return", "max_offset", ";", "}", ""], "natrual_language": ["Return", "maximum", "offset", "supported", "for", "a", "short", "EP", "memory", "reference", "of", "mode", "MODE", "and", "signedness", "UNSIGNEDP", "."], "TS_V_token": ["v850", "0", "1", "4", "1", "4", "1", "7", "1", "5", "1", "5", "1", "8", "1", "8"], "File": "v850", "Func": "ep_memory_offset", "Target": "v850", "Target_Clf": "MPU", "Compiler_Type": "GCC", "Idx": 1578, "Length": 133, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "enum", "machine_mode", "frv_select_cc_mode", "(", "enum", "rtx_code", "code", ",", "rtx", "x", ",", "rtx", "y", ")", "{", "if", "(", "GET_MODE_CLASS", "(", "GET_MODE", "(", "x", ")", ")", "==", "MODE_FLOAT", ")", "return", "CC_FPmode", ";", "switch", "(", "code", ")", "{", "case", "EQ", ":", "case", "NE", ":", "case", "LT", ":", "case", "GE", ":", "return", "y", "==", "const0_rtx", "?", "CC_NZmode", ":", "CCmode", ";", "case", "GTU", ":", "case", "GEU", ":", "case", "LTU", ":", "case", "LEU", ":", "return", "y", "==", "const0_rtx", "?", "CC_NZmode", ":", "CC_UNSmode", ";", "default", ":", "return", "CCmode", ";", "}", "}", ""], "natrual_language": ["Implement", "SELECT_CC_MODE", ".", "Choose", "CC_FP", "for", "floating-point", "comparisons", ",", "CC_NZ", "for", "comparisons", "against", "zero", "in", "which", "a", "single", "Z", "or", "N", "flag", "test", "is", "enough", ",", "CC_UNS", "for", "other", "unsigned", "comparisons", ",", "and", "CC", "for", "other", "signed", "comparisons", "."], "TS_V_token": ["frv"], "File": "frv2", "Func": "frv_select_cc_mode", "Target": "frv", "Target_Clf": "VLIW", "Compiler_Type": "GCC", "Idx": 1579, "Length": 84, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "bool", "JVMAsmPrinter", "::", "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_MachineBasicBlock", ":", "case", "MachineOperand", "::", "MO_Register", ":", "case", "MachineOperand", "::", "MO_GlobalAddress", ":", "case", "MachineOperand", "::", "MO_ExternalSymbol", ":", "assert", "(", "0", "&&", "\"Incorrect argument for ASM printing.\"", ")", ";", "return", "false", ";", "default", ":", "break", ";", "}", "}", "return", "true", ";", "}", ""], "natrual_language": ["PrintAsmOperand", "-", "Print", "out", "an", "operand", "for", "an", "inline", "asm", "expression", "."], "TS_V_token": ["JVM", "JVM", "0", "\"There are no defined alternate asm variants\"", "0", "\"Incorrect argument for ASM printing.\""], "File": "JVMAsmPrinter", "Func": "PrintAsmOperand", "Target": "JVM", "Target_Clf": "Virtual ISA", "Compiler_Type": "LLVM", "Idx": 1580, "Length": 141, "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", ")", ")", ";", "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": ["AMDGPU"], "File": "AMDGPUTargetMachine102", "Func": "createMachineScheduler", "Target": "AMDGPU", "Target_Clf": "GPU", "Compiler_Type": "LLVM", "Idx": 1581, "Length": 56, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "static", "int", "unit_req_imbalance", "(", "unit_req_table", "reqs", ")", "{", "int", "val", "=", "0", ";", "int", "i", ";", "for", "(", "i", "=", "0", ";", "i", "<", "UNIT_REQ_MAX", ";", "i", "++", ")", "{", "int", "factor", "=", "unit_req_factor", "(", "(", "enum", "unitreqs", ")", "i", ")", ";", "int", "diff", "=", "abs", "(", "reqs", "[", "0", "]", "[", "i", "]", "-", "reqs", "[", "1", "]", "[", "i", "]", ")", ";", "val", "+=", "(", "diff", "+", "factor", "-", "1", ")", "/", "factor", "/", "2", ";", "}", "return", "val", ";", "}", ""], "natrual_language": ["Examine", "the", "table", "REQS", "and", "return", "a", "measure", "of", "unit", "imbalance", "by", "comparing", "the", "two", "sides", "of", "the", "machine", ".", "If", ",", "for", "example", ",", "D1", "is", "used", "twice", "and", "D2", "used", "not", "at", "all", ",", "the", "return", "value", "should", "be", "1", "in", "the", "absence", "of", "other", "imbalances", "."], "TS_V_token": ["c6x", "0", "0", "0", "1", "1", "2"], "File": "c6x", "Func": "unit_req_imbalance", "Target": "c6x", "Target_Clf": "VLIW", "Compiler_Type": "GCC", "Idx": 1582, "Length": 83, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "NVPTXSubtarget", "::", "NVPTXSubtarget", "(", "const", "Triple", "&", "TT", ",", "const", "std", "::", "string", "&", "CPU", ",", "const", "std", "::", "string", "&", "FS", ",", "const", "NVPTXTargetMachine", "&", "TM", ")", ":", "NVPTXGenSubtargetInfo", "(", "TT", ",", "CPU", ",", "CPU", ",", "FS", ")", ",", "PTXVersion", "(", "0", ")", ",", "SmVersion", "(", "20", ")", ",", "TM", "(", "TM", ")", ",", "InstrInfo", "(", ")", ",", "TLInfo", "(", "TM", ",", "initializeSubtargetDependencies", "(", "CPU", ",", "FS", ")", ")", ",", "FrameLowering", "(", ")", "{", "}", ""], "natrual_language": ["This", "constructor", "initializes", "the", "data", "members", "to", "match", "that", "of", "the", "specified", "module", "."], "TS_V_token": ["NVPTX", "NVPTX", "NVPTX", "NVPTX", "NVPTX", "0", "20"], "File": "NVPTXSubtarget13", "Func": "NVPTXSubtarget", "Target": "NVPTX", "Target_Clf": "GPU", "Compiler_Type": "LLVM", "Idx": 1583, "Length": 76, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "unsigned", "AMDGPUPALMetadata", "::", "getRegister", "(", "unsigned", "Reg", ")", "{", "auto", "Regs", "=", "getRegisters", "(", ")", ";", "auto", "It", "=", "Regs", ".", "find", "(", "MsgPackDoc", ".", "getNode", "(", "Reg", ")", ")", ";", "if", "(", "It", "==", "Regs", ".", "end", "(", ")", ")", "return", "0", ";", "auto", "N", "=", "It", "->", "second", ";", "if", "(", "N", ".", "getKind", "(", ")", "!=", "msgpack", "::", "Type", "::", "UInt", ")", "return", "0", ";", "return", "N", ".", "getUInt", "(", ")", ";", "}", ""], "natrual_language": ["Return", "the", "specified", "register", "in", "the", "class", "."], "TS_V_token": ["AMDGPU", "AMDGPU", "0", "0"], "File": "AMDGPUPALMetadata", "Func": "getRegister", "Target": "AMDGPU", "Target_Clf": "GPU", "Compiler_Type": "LLVM", "Idx": 1584, "Length": 76, "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": ["powerpcspe", "2", "4", "6"], "File": "powerpcspe", "Func": "rs6000_parm_offset", "Target": "powerpcspe", "Target_Clf": "CPU", "Compiler_Type": "GCC", "Idx": 1585, "Length": 26, "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": 1586, "Length": 138, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "static", "bool", "mcore_legitimate_constant_p", "(", "machine_mode", "mode", "ATTRIBUTE_UNUSED", ",", "rtx", "x", ")", "{", "return", "GET_CODE", "(", "x", ")", "!=", "CONST_DOUBLE", ";", "}", ""], "natrual_language": ["Implement", "TARGET_LEGITIMATE_CONSTANT_P", "On", "the", "MCore", ",", "allow", "anything", "but", "a", "double", "."], "TS_V_token": ["mcore"], "File": "mcore", "Func": "mcore_legitimate_constant_p", "Target": "mcore", "Target_Clf": "MPU", "Compiler_Type": "GCC", "Idx": 1587, "Length": 21, "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": 1588, "Length": 117, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "void", "PPCIncomingValueHandler", "::", "assignValueToReg", "(", "Register", "ValVReg", ",", "Register", "PhysReg", ",", "CCValAssign", "VA", ")", "{", "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": ["PowerPC", "PPC"], "File": "PPCCallLowering", "Func": "assignValueToReg", "Target": "PowerPC", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 1589, "Length": 32, "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": 1590, "Length": 277, "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": 1591, "Length": 229, "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", "(", "VOIDmode", ",", "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": "sparc4", "Func": "gen_compare_reg_1", "Target": "sparc", "Target_Clf": "CPU", "Compiler_Type": "GCC", "Idx": 1592, "Length": 234, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "static", "rtx", "m32r_function_arg", "(", "cumulative_args_t", "cum_v", ",", "const", "function_arg_info", "&", "arg", ")", "{", "CUMULATIVE_ARGS", "*", "cum", "=", "get_cumulative_args", "(", "cum_v", ")", ";", "return", "(", "PASS_IN_REG_P", "(", "*", "cum", ",", "arg", ".", "mode", ",", "arg", ".", "type", ")", "?", "gen_rtx_REG", "(", "arg", ".", "mode", ",", "ROUND_ADVANCE_CUM", "(", "*", "cum", ",", "arg", ".", "mode", ",", "arg", ".", "type", ")", ")", ":", "NULL_RTX", ")", ";", "}", ""], "natrual_language": ["On", "the", "M32R", "the", "first", "M32R_MAX_PARM_REGS", "args", "are", "normally", "in", "registers", "and", "the", "rest", "are", "pushed", "."], "TS_V_token": ["m32r"], "File": "m32r", "Func": "m32r_function_arg", "Target": "m32r", "Target_Clf": "MPU", "Compiler_Type": "GCC", "Idx": 1593, "Length": 63, "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": 1594, "Length": 350, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "unsigned", "BlackfinInstrInfo", "::", "isStoreToStackSlot", "(", "const", "MachineInstr", "*", "MI", ",", "int", "&", "FrameIndex", ")", "const", "{", "switch", "(", "MI", "->", "getOpcode", "(", ")", ")", "{", "default", ":", "break", ";", "case", "BF", "::", "STORE32fi", ":", "case", "BF", "::", "STORE16fi", ":", "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": ["Blackfin", "BF::STORE32fi", "BF::STORE16fi", "1", "2", "2", "0", "1", "0", "0"], "File": "BlackfinInstrInfo", "Func": "isStoreToStackSlot", "Target": "Blackfin", "Target_Clf": "DSP", "Compiler_Type": "LLVM", "Idx": 1595, "Length": 110, "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": 1596, "Length": 40, "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": 1597, "Length": 169, "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": 1598, "Length": 76, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "static", "Token", "*", "parse_list_nosemi", "(", "Token", "*", "tok", ")", "{", "Token", "*", "start", "=", "tok", ";", "do", "if", "(", "!", "(", "++", "tok", ")", "->", "kind", ")", "break", ";", "while", "(", "(", "++", "tok", ")", "->", "kind", "==", "','", ")", ";", "tok", "[", "-", "1", "]", ".", "end", "=", "1", ";", "Stmt", "*", "stmt", "=", "alloc_stmt", "(", "V_dot", ",", "start", ",", "tok", ",", "0", ")", ";", "append_stmt", "(", "&", "decls", ",", "stmt", ")", ";", "return", "tok", ";", "}", ""], "natrual_language": ["comma", "separated", "list", "of", "tokens"], "TS_V_token": ["nvptx", "1", "1", "0"], "File": "mkoffload2", "Func": "parse_list_nosemi", "Target": "nvptx", "Target_Clf": "GPU", "Compiler_Type": "GCC", "Idx": 1599, "Length": 78, "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": 1600, "Length": 15, "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": 1601, "Length": 12, "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": 1602, "Length": 14, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "bool", "SIRegisterInfo", "::", "needsFrameBaseReg", "(", "MachineInstr", "*", "MI", ",", "int64_t", "Offset", ")", "const", "{", "return", "MI", "->", "mayLoadOrStore", "(", ")", ";", "}", ""], "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": ["AMDGPU", "SI"], "File": "SIRegisterInfo106", "Func": "needsFrameBaseReg", "Target": "AMDGPU", "Target_Clf": "GPU", "Compiler_Type": "LLVM", "Idx": 1603, "Length": 22, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "const", "uint32_t", "*", "TL45RegisterInfo", "::", "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": ["TL45", "TL45"], "File": "TL45RegisterInfo", "Func": "getCallPreservedMask", "Target": "TL45", "Target_Clf": "MPU", "Compiler_Type": "LLVM", "Idx": 1604, "Length": 22, "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": 1605, "Length": 181, "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": 1606, "Length": 128, "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": 1607, "Length": 159, "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": 1608, "Length": 213, "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": 1609, "Length": 453, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "static", "int", "unicosmk_special_name", "(", "const", "char", "*", "name", ")", "{", "if", "(", "name", "[", "0", "]", "==", "'*'", ")", "++", "name", ";", "if", "(", "name", "[", "0", "]", "==", "'$'", ")", "++", "name", ";", "if", "(", "name", "[", "0", "]", "!=", "'r'", "&&", "name", "[", "0", "]", "!=", "'f'", "&&", "name", "[", "0", "]", "!=", "'R'", "&&", "name", "[", "0", "]", "!=", "'F'", ")", "return", "0", ";", "switch", "(", "name", "[", "1", "]", ")", "{", "case", "'1'", ":", "case", "'2'", ":", "return", "(", "name", "[", "2", "]", "==", "'\\0'", "||", "(", "ISDIGIT", "(", "name", "[", "2", "]", ")", "&&", "name", "[", "3", "]", "==", "'\\0'", ")", ")", ";", "case", "'3'", ":", "return", "(", "name", "[", "2", "]", "==", "'\\0'", "||", "(", "(", "name", "[", "2", "]", "==", "'0'", "||", "name", "[", "2", "]", "==", "'1'", ")", "&&", "name", "[", "3", "]", "==", "'\\0'", ")", ")", ";", "default", ":", "return", "(", "ISDIGIT", "(", "name", "[", "1", "]", ")", "&&", "name", "[", "2", "]", "==", "'\\0'", ")", ";", "}", "}", ""], "natrual_language": ["Check", "if", "NAME", "must", "be", "replaced", "by", "a", "DEX", "expression", "."], "TS_V_token": ["alpha", "0", "0", "0", "0", "0", "0", "0", "1", "2", "2", "3", "2", "2", "2", "3", "1", "2"], "File": "alpha3", "Func": "unicosmk_special_name", "Target": "alpha", "Target_Clf": "MPU", "Compiler_Type": "GCC", "Idx": 1610, "Length": 168, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "bool", "WebAssemblyRegNumbering", "::", "runOnMachineFunction", "(", "MachineFunction", "&", "MF", ")", "{", "LLVM_DEBUG", "(", "dbgs", "(", ")", "<<", "\"********** Register Numbering **********\\n\"", "\"********** Function: \"", "<<", "MF", ".", "getName", "(", ")", "<<", "'\\n'", ")", ";", "WebAssemblyFunctionInfo", "&", "MFI", "=", "*", "MF", ".", "getInfo", "<", "WebAssemblyFunctionInfo", ">", "(", ")", ";", "MachineRegisterInfo", "&", "MRI", "=", "MF", ".", "getRegInfo", "(", ")", ";", "MFI", ".", "initWARegs", "(", ")", ";", "MachineBasicBlock", "&", "EntryMBB", "=", "MF", ".", "front", "(", ")", ";", "for", "(", "MachineInstr", "&", "MI", ":", "EntryMBB", ")", "{", "if", "(", "!", "WebAssembly", "::", "isArgument", "(", "MI", ".", "getOpcode", "(", ")", ")", ")", "break", ";", "int64_t", "Imm", "=", "MI", ".", "getOperand", "(", "1", ")", ".", "getImm", "(", ")", ";", "LLVM_DEBUG", "(", "dbgs", "(", ")", "<<", "\"Arg VReg \"", "<<", "MI", ".", "getOperand", "(", "0", ")", ".", "getReg", "(", ")", "<<", "\" -> WAReg \"", "<<", "Imm", "<<", "\"\\n\"", ")", ";", "MFI", ".", "setWAReg", "(", "MI", ".", "getOperand", "(", "0", ")", ".", "getReg", "(", ")", ",", "Imm", ")", ";", "}", "unsigned", "NumVRegs", "=", "MF", ".", "getRegInfo", "(", ")", ".", "getNumVirtRegs", "(", ")", ";", "unsigned", "NumStackRegs", "=", "0", ";", "unsigned", "CurReg", "=", "MFI", ".", "getParams", "(", ")", ".", "size", "(", ")", ";", "for", "(", "unsigned", "VRegIdx", "=", "0", ";", "VRegIdx", "<", "NumVRegs", ";", "++", "VRegIdx", ")", "{", "unsigned", "VReg", "=", "Register", "::", "index2VirtReg", "(", "VRegIdx", ")", ";", "if", "(", "MRI", ".", "use_empty", "(", "VReg", ")", ")", "continue", ";", "if", "(", "MFI", ".", "isVRegStackified", "(", "VReg", ")", ")", "{", "LLVM_DEBUG", "(", "dbgs", "(", ")", "<<", "\"VReg \"", "<<", "VReg", "<<", "\" -> WAReg \"", "<<", "(", "INT32_MIN", "|", "NumStackRegs", ")", "<<", "\"\\n\"", ")", ";", "MFI", ".", "setWAReg", "(", "VReg", ",", "INT32_MIN", "|", "NumStackRegs", "++", ")", ";", "continue", ";", "}", "if", "(", "MFI", ".", "getWAReg", "(", "VReg", ")", "==", "WebAssemblyFunctionInfo", "::", "UnusedReg", ")", "{", "LLVM_DEBUG", "(", "dbgs", "(", ")", "<<", "\"VReg \"", "<<", "VReg", "<<", "\" -> WAReg \"", "<<", "CurReg", "<<", "\"\\n\"", ")", ";", "MFI", ".", "setWAReg", "(", "VReg", ",", "CurReg", "++", ")", ";", "}", "}", "return", "true", ";", "}", ""], "natrual_language": ["runOnMachineFunction", "-", "Emit", "the", "function", "body", "."], "TS_V_token": ["WebAssembly", "WebAssembly", "\"********** Register Numbering **********\\n\"", "\"********** Function: \"", "WebAssembly", "WebAssembly", "WebAssembly::isArgument", "1", "\"Arg VReg \"", "0", "\" -> WAReg \"", "\"\\n\"", "0", "0", "0", "\"VReg \"", "\" -> WAReg \"", "\"\\n\"", "WebAssembly", "\"VReg \"", "\" -> WAReg \"", "\"\\n\""], "File": "WebAssemblyRegNumbering20", "Func": "runOnMachineFunction", "Target": "WebAssembly", "Target_Clf": "Virtual ISA", "Compiler_Type": "LLVM", "Idx": 1611, "Length": 312, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "HexagonPLT1", "*", "HexagonPLT", "::", "create", "(", ")", "{", "return", "new", "HexagonPLT1", "(", "*", "m_pSectionData", ")", ";", "}", ""], "natrual_language": ["This", "creates", "an", "identified", "struct", "."], "TS_V_token": ["Hexagon", "Hexagon", "Hexagon", "Hexagon"], "File": "HexagonPLT", "Func": "create", "Target": "Hexagon", "Target_Clf": "DSP", "Compiler_Type": "LLVM", "Idx": 1612, "Length": 17, "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": ["WebAssembly"], "File": "WebAssemblyAsmBackend", "Func": "relaxInstruction", "Target": "WebAssembly", "Target_Clf": "Virtual ISA", "Compiler_Type": "LLVM", "Idx": 1613, "Length": 21, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "TargetPassConfig", "*", "BPFTargetMachine", "::", "createPassConfig", "(", "PassManagerBase", "&", "PM", ")", "{", "return", "new", "BPFPassConfig", "(", "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": ["BPF", "BPF", "BPF"], "File": "BPFTargetMachine (2)", "Func": "createPassConfig", "Target": "BPF", "Target_Clf": "Virtual ISA", "Compiler_Type": "LLVM", "Idx": 1614, "Length": 21, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "void", "frv_split_double_store", "(", "rtx", "dest", ",", "rtx", "source", ")", "{", "rtx", "dest1", "=", "change_address", "(", "dest", ",", "SImode", ",", "NULL", ")", ";", "rtx", "dest2", "=", "frv_index_memory", "(", "dest", ",", "SImode", ",", "1", ")", ";", "if", "(", "ZERO_P", "(", "source", ")", ")", "{", "emit_move_insn", "(", "dest1", ",", "CONST0_RTX", "(", "SImode", ")", ")", ";", "emit_move_insn", "(", "dest2", ",", "CONST0_RTX", "(", "SImode", ")", ")", ";", "}", "else", "{", "emit_move_insn", "(", "dest1", ",", "gen_highpart", "(", "SImode", ",", "source", ")", ")", ";", "emit_move_insn", "(", "dest2", ",", "gen_lowpart", "(", "SImode", ",", "source", ")", ")", ";", "}", "}", ""], "natrual_language": ["Split", "(", "set", "DEST", "SOURCE", ")", ",", "where", "DEST", "refers", "to", "a", "dword", "memory", "location", "and", "SOURCE", "is", "either", "a", "double", "register", "or", "the", "constant", "zero", "."], "TS_V_token": ["frv", "1"], "File": "frv", "Func": "frv_split_double_store", "Target": "frv", "Target_Clf": "VLIW", "Compiler_Type": "GCC", "Idx": 1615, "Length": 91, "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": 1616, "Length": 127, "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": 1617, "Length": 55, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "static", "bool", "mn10300_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_GOTSYM_OFF", ":", "assemble_name", "(", "file", ",", "GOT_SYMBOL_NAME", ")", ";", "fputs", "(", "\"-(\"", ",", "file", ")", ";", "output_addr_const", "(", "file", ",", "XVECEXP", "(", "x", ",", "0", ",", "0", ")", ")", ";", "fputs", "(", "\"-.)\"", ",", "file", ")", ";", "break", ";", "default", ":", "return", "false", ";", "}", "return", "true", ";", "}", "else", "return", "false", ";", "}", ""], "natrual_language": ["Implement", "TARGET_ASM_OUTPUT_ADDR_CONST_EXTRA", ".", "Used", "for", "PIC-specific", "UNSPECs", "."], "TS_V_token": ["mn10300", "1", "0", "0", "0", "0", "\"@GOT\"", "0", "0", "\"@GOTOFF\"", "0", "0", "\"@PLT\"", "\"-(\"", "0", "0", "\"-.)\""], "File": "mn10300", "Func": "mn10300_asm_output_addr_const_extra", "Target": "mn10300", "Target_Clf": "MPU", "Compiler_Type": "GCC", "Idx": 1618, "Length": 184, "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": 1619, "Length": 65, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "SDValue", "NVPTXTargetLowering", "::", "LowerOperation", "(", "SDValue", "Op", ",", "SelectionDAG", "&", "DAG", ")", "const", "{", "switch", "(", "Op", ".", "getOpcode", "(", ")", ")", "{", "case", "ISD", "::", "RETURNADDR", ":", "return", "SDValue", "(", ")", ";", "case", "ISD", "::", "FRAMEADDR", ":", "return", "SDValue", "(", ")", ";", "case", "ISD", "::", "GlobalAddress", ":", "return", "LowerGlobalAddress", "(", "Op", ",", "DAG", ")", ";", "case", "ISD", "::", "INTRINSIC_W_CHAIN", ":", "return", "Op", ";", "case", "ISD", "::", "BUILD_VECTOR", ":", "case", "ISD", "::", "EXTRACT_SUBVECTOR", ":", "return", "Op", ";", "case", "ISD", "::", "CONCAT_VECTORS", ":", "return", "LowerCONCAT_VECTORS", "(", "Op", ",", "DAG", ")", ";", "case", "ISD", "::", "STORE", ":", "return", "LowerSTORE", "(", "Op", ",", "DAG", ")", ";", "case", "ISD", "::", "LOAD", ":", "return", "LowerLOAD", "(", "Op", ",", "DAG", ")", ";", "case", "ISD", "::", "SHL_PARTS", ":", "return", "LowerShiftLeftParts", "(", "Op", ",", "DAG", ")", ";", "case", "ISD", "::", "SRA_PARTS", ":", "case", "ISD", "::", "SRL_PARTS", ":", "return", "LowerShiftRightParts", "(", "Op", ",", "DAG", ")", ";", "case", "ISD", "::", "SELECT", ":", "return", "LowerSelect", "(", "Op", ",", "DAG", ")", ";", "default", ":", "llvm_unreachable", "(", "\"Custom lowering not defined for operation\"", ")", ";", "}", "}", ""], "natrual_language": ["LowerOperation", "-", "Provide", "custom", "lowering", "hooks", "for", "some", "operations", "."], "TS_V_token": ["NVPTX", "NVPTX", "ISD::RETURNADDR", "ISD::FRAMEADDR", "ISD::GlobalAddress", "ISD::INTRINSIC_W_CHAIN", "ISD::BUILD_VECTOR", "ISD::EXTRACT_SUBVECTOR", "ISD::CONCAT_VECTORS", "ISD::STORE", "ISD::LOAD", "ISD::SHL_PARTS", "ISD::SRA_PARTS", "ISD::SRL_PARTS", "ISD::SELECT", "\"Custom lowering not defined for operation\""], "File": "NVPTXISelLowering (2)", "Func": "LowerOperation", "Target": "NVPTX", "Target_Clf": "GPU", "Compiler_Type": "LLVM", "Idx": 1620, "Length": 169, "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": 1621, "Length": 309, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "unsigned", "getNumFixupKinds", "(", ")", "const", "{", "return", "PPC", "::", "NumTargetFixupKinds", ";", "}", ""], "natrual_language": ["Get", "the", "number", "of", "target", "specific", "fixup", "kinds", "."], "TS_V_token": ["PowerPC", "PPC::NumTargetFixupKinds"], "File": "PPCAsmBackend1", "Func": "getNumFixupKinds", "Target": "PowerPC", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 1622, "Length": 12, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "void", "microblaze_cpp_define", "(", "cpp_reader", "*", "pfile", ")", "{", "builtin_assert", "(", "\"cpu=microblaze\"", ")", ";", "builtin_assert", "(", "\"machine=microblaze\"", ")", ";", "builtin_define", "(", "\"__MICROBLAZE__\"", ")", ";", "builtin_define", "(", "\"__microblaze__\"", ")", ";", "if", "(", "TARGET_LITTLE_ENDIAN", ")", "{", "builtin_define", "(", "\"_LITTLE_ENDIAN\"", ")", ";", "builtin_define", "(", "\"__LITTLE_ENDIAN__\"", ")", ";", "builtin_define", "(", "\"__MICROBLAZEEL__\"", ")", ";", "}", "else", "{", "builtin_define", "(", "\"_BIG_ENDIAN\"", ")", ";", "builtin_define", "(", "\"__BIG_ENDIAN__\"", ")", ";", "builtin_define", "(", "\"__MICROBLAZEEB__\"", ")", ";", "}", "if", "(", "!", "TARGET_SOFT_MUL", ")", "{", "if", "(", "!", "flag_iso", ")", "builtin_define", "(", "\"HAVE_HW_MUL\"", ")", ";", "builtin_define", "(", "\"__HAVE_HW_MUL__\"", ")", ";", "}", "if", "(", "TARGET_MULTIPLY_HIGH", ")", "{", "if", "(", "!", "flag_iso", ")", "builtin_define", "(", "\"HAVE_HW_MUL_HIGH\"", ")", ";", "builtin_define", "(", "\"__HAVE_HW_MUL_HIGH__\"", ")", ";", "}", "if", "(", "!", "TARGET_SOFT_DIV", ")", "{", "if", "(", "!", "flag_iso", ")", "builtin_define", "(", "\"HAVE_HW_DIV\"", ")", ";", "builtin_define", "(", "\"__HAVE_HW_DIV__\"", ")", ";", "}", "if", "(", "TARGET_BARREL_SHIFT", ")", "{", "if", "(", "!", "flag_iso", ")", "builtin_define", "(", "\"HAVE_HW_BSHIFT\"", ")", ";", "builtin_define", "(", "\"__HAVE_HW_BSHIFT__\"", ")", ";", "}", "if", "(", "TARGET_PATTERN_COMPARE", ")", "{", "if", "(", "!", "flag_iso", ")", "builtin_define", "(", "\"HAVE_HW_PCMP\"", ")", ";", "builtin_define", "(", "\"__HAVE_HW_PCMP__\"", ")", ";", "}", "if", "(", "TARGET_HARD_FLOAT", ")", "{", "if", "(", "!", "flag_iso", ")", "builtin_define", "(", "\"HAVE_HW_FPU\"", ")", ";", "builtin_define", "(", "\"__HAVE_HW_FPU__\"", ")", ";", "}", "if", "(", "TARGET_FLOAT_CONVERT", ")", "{", "if", "(", "!", "flag_iso", ")", "builtin_define", "(", "\"HAVE_HW_FPU_CONVERT\"", ")", ";", "builtin_define", "(", "\"__HAVE_HW_FPU_CONVERT__\"", ")", ";", "}", "if", "(", "TARGET_FLOAT_SQRT", ")", "{", "if", "(", "!", "flag_iso", ")", "builtin_define", "(", "\"HAVE_HW_FPU_SQRT\"", ")", ";", "builtin_define", "(", "\"__HAVE_HW_FPU_SQRT__\"", ")", ";", "}", "}", ""], "natrual_language": ["Define", "preprocessor", "symbols", "for", "MicroBlaze", ".", "Symbols", "which", "do", "not", "start", "with", "__", "are", "deprecated", "."], "TS_V_token": ["microblaze", "\"cpu=microblaze\"", "\"machine=microblaze\"", "\"__MICROBLAZE__\"", "\"__microblaze__\"", "\"_LITTLE_ENDIAN\"", "\"__LITTLE_ENDIAN__\"", "\"__MICROBLAZEEL__\"", "\"_BIG_ENDIAN\"", "\"__BIG_ENDIAN__\"", "\"__MICROBLAZEEB__\"", "\"HAVE_HW_MUL\"", "\"__HAVE_HW_MUL__\"", "\"HAVE_HW_MUL_HIGH\"", "\"__HAVE_HW_MUL_HIGH__\"", "\"HAVE_HW_DIV\"", "\"__HAVE_HW_DIV__\"", "\"HAVE_HW_BSHIFT\"", "\"__HAVE_HW_BSHIFT__\"", "\"HAVE_HW_PCMP\"", "\"__HAVE_HW_PCMP__\"", "\"HAVE_HW_FPU\"", "\"__HAVE_HW_FPU__\"", "\"HAVE_HW_FPU_CONVERT\"", "\"__HAVE_HW_FPU_CONVERT__\"", "\"HAVE_HW_FPU_SQRT\"", "\"__HAVE_HW_FPU_SQRT__\""], "File": "microblaze-c", "Func": "microblaze_cpp_define", "Target": "microblaze", "Target_Clf": "MPU", "Compiler_Type": "GCC", "Idx": 1623, "Length": 238, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "void", "HexagonTTIImpl", "::", "getPeelingPreferences", "(", "Loop", "*", "L", ",", "ScalarEvolution", "&", "SE", ",", "TTI", "::", "PeelingPreferences", "&", "PP", ")", "{", "BaseT", "::", "getPeelingPreferences", "(", "L", ",", "SE", ",", "PP", ")", ";", "if", "(", "L", "&&", "L", "->", "empty", "(", ")", "&&", "canPeel", "(", "L", ")", "&&", "SE", ".", "getSmallConstantTripCount", "(", "L", ")", "==", "0", "&&", "SE", ".", "getSmallConstantMaxTripCount", "(", "L", ")", ">", "0", "&&", "SE", ".", "getSmallConstantMaxTripCount", "(", "L", ")", "<=", "5", ")", "{", "PP", ".", "PeelCount", "=", "2", ";", "}", "}", ""], "natrual_language": ["Get", "target-customized", "preferences", "for", "the", "generic", "loop", "peeling", "transformation", "."], "TS_V_token": ["Hexagon", "Hexagon", "0", "0", "5", "2"], "File": "HexagonTargetTransformInfo21", "Func": "getPeelingPreferences", "Target": "Hexagon", "Target_Clf": "DSP", "Compiler_Type": "LLVM", "Idx": 1624, "Length": 82, "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", "=", "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": "SparcTargetMachine31", "Func": "getSubtargetImpl", "Target": "Sparc", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 1625, "Length": 181, "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": 1626, "Length": 67, "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": 1627, "Length": 249, "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": 1628, "Length": 374, "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": 1629, "Length": 66, "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": 1630, "Length": 55, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "static", "rtx", "msp430_addr_space_convert", "(", "rtx", "op", ",", "tree", "from_type", ",", "tree", "to_type", ")", "{", "addr_space_t", "from_as", "=", "TYPE_ADDR_SPACE", "(", "TREE_TYPE", "(", "from_type", ")", ")", ";", "addr_space_t", "to_as", "=", "TYPE_ADDR_SPACE", "(", "TREE_TYPE", "(", "to_type", ")", ")", ";", "rtx", "result", ";", "if", "(", "to_as", "!=", "ADDR_SPACE_FAR", "&&", "from_as", "==", "ADDR_SPACE_FAR", ")", "{", "if", "(", "CONSTANT_P", "(", "op", ")", ")", "return", "gen_rtx_CONST", "(", "HImode", ",", "op", ")", ";", "result", "=", "gen_reg_rtx", "(", "HImode", ")", ";", "emit_insn", "(", "gen_truncpsihi2", "(", "result", ",", "op", ")", ")", ";", "return", "result", ";", "}", "else", "if", "(", "to_as", "==", "ADDR_SPACE_FAR", "&&", "from_as", "!=", "ADDR_SPACE_FAR", ")", "{", "if", "(", "CONSTANT_P", "(", "op", ")", ")", "return", "gen_rtx_CONST", "(", "PSImode", ",", "op", ")", ";", "result", "=", "gen_reg_rtx", "(", "PSImode", ")", ";", "emit_insn", "(", "gen_zero_extendhipsi2", "(", "result", ",", "op", ")", ")", ";", "return", "result", ";", "}", "else", "gcc_unreachable", "(", ")", ";", "}", ""], "natrual_language": ["Convert", "from", "one", "address", "space", "to", "another", "."], "TS_V_token": ["msp430"], "File": "msp430", "Func": "msp430_addr_space_convert", "Target": "msp430", "Target_Clf": "MPU", "Compiler_Type": "GCC", "Idx": 1631, "Length": 140, "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", ";", "InsertNOPLoad", "=", "false", ";", "FixFSMULD", "=", "false", ";", "ReplaceFMULS", "=", "false", ";", "FixAllFDIVSQRT", "=", "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": "SparcSubtarget37", "Func": "initializeSubtargetDependencies", "Target": "Sparc", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 1632, "Length": 111, "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": 1633, "Length": 254, "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": 1634, "Length": 223, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "void", "AVRInstrInfo", "::", "loadRegFromStackSlot", "(", "MachineBasicBlock", "&", "MBB", ",", "MachineBasicBlock", "::", "iterator", "MI", ",", "Register", "DestReg", ",", "int", "FrameIndex", ",", "const", "TargetRegisterClass", "*", "RC", ",", "const", "TargetRegisterInfo", "*", "TRI", ")", "const", "{", "DebugLoc", "DL", ";", "if", "(", "MI", "!=", "MBB", ".", "end", "(", ")", ")", "{", "DL", "=", "MI", "->", "getDebugLoc", "(", ")", ";", "}", "MachineFunction", "&", "MF", "=", "*", "MBB", ".", "getParent", "(", ")", ";", "const", "MachineFrameInfo", "&", "MFI", "=", "MF", ".", "getFrameInfo", "(", ")", ";", "MachineMemOperand", "*", "MMO", "=", "MF", ".", "getMachineMemOperand", "(", "MachinePointerInfo", "::", "getFixedStack", "(", "MF", ",", "FrameIndex", ")", ",", "MachineMemOperand", "::", "MOLoad", ",", "MFI", ".", "getObjectSize", "(", "FrameIndex", ")", ",", "MFI", ".", "getObjectAlign", "(", "FrameIndex", ")", ")", ";", "unsigned", "Opcode", "=", "0", ";", "if", "(", "TRI", "->", "isTypeLegalForClass", "(", "*", "RC", ",", "MVT", "::", "i8", ")", ")", "{", "Opcode", "=", "AVR", "::", "LDDRdPtrQ", ";", "}", "else", "if", "(", "TRI", "->", "isTypeLegalForClass", "(", "*", "RC", ",", "MVT", "::", "i16", ")", ")", "{", "Opcode", "=", "AVR", "::", "LDDWRdYQ", ";", "}", "else", "{", "llvm_unreachable", "(", "\"Cannot load this register from a stack slot!\"", ")", ";", "}", "BuildMI", "(", "MBB", ",", "MI", ",", "DL", ",", "get", "(", "Opcode", ")", ",", "DestReg", ")", ".", "addFrameIndex", "(", "FrameIndex", ")", ".", "addImm", "(", "0", ")", ".", "addMemOperand", "(", "MMO", ")", ";", "}", ""], "natrual_language": ["Load", "the", "specified", "register", "of", "the", "given", "register", "class", "from", "the", "specified", "stack", "frame", "index", "."], "TS_V_token": ["AVR", "AVR", "0", "MVT::i8", "AVR::LDDRdPtrQ", "MVT::i16", "AVR::LDDWRdYQ", "\"Cannot load this register from a stack slot!\"", "0"], "File": "AVRInstrInfo", "Func": "loadRegFromStackSlot", "Target": "AVR", "Target_Clf": "MPU", "Compiler_Type": "LLVM", "Idx": 1635, "Length": 203, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "void", "SIInstrInfo", "::", "storeRegToStackSlot", "(", "MachineBasicBlock", "&", "MBB", ",", "MachineBasicBlock", "::", "iterator", "MI", ",", "unsigned", "SrcReg", ",", "bool", "isKill", ",", "int", "FrameIndex", ",", "const", "TargetRegisterClass", "*", "RC", ",", "const", "TargetRegisterInfo", "*", "TRI", ")", "const", "{", "MachineFunction", "*", "MF", "=", "MBB", ".", "getParent", "(", ")", ";", "SIMachineFunctionInfo", "*", "MFI", "=", "MF", "->", "getInfo", "<", "SIMachineFunctionInfo", ">", "(", ")", ";", "MachineFrameInfo", "&", "FrameInfo", "=", "MF", "->", "getFrameInfo", "(", ")", ";", "DebugLoc", "DL", "=", "MBB", ".", "findDebugLoc", "(", "MI", ")", ";", "unsigned", "Size", "=", "FrameInfo", ".", "getObjectSize", "(", "FrameIndex", ")", ";", "unsigned", "Align", "=", "FrameInfo", ".", "getObjectAlignment", "(", "FrameIndex", ")", ";", "MachinePointerInfo", "PtrInfo", "=", "MachinePointerInfo", "::", "getFixedStack", "(", "*", "MF", ",", "FrameIndex", ")", ";", "MachineMemOperand", "*", "MMO", "=", "MF", "->", "getMachineMemOperand", "(", "PtrInfo", ",", "MachineMemOperand", "::", "MOStore", ",", "Size", ",", "Align", ")", ";", "if", "(", "RI", ".", "isSGPRClass", "(", "RC", ")", ")", "{", "MFI", "->", "setHasSpilledSGPRs", "(", ")", ";", "if", "(", "TargetRegisterInfo", "::", "isVirtualRegister", "(", "SrcReg", ")", "&&", "RC", "->", "getSize", "(", ")", "==", "4", ")", "{", "MachineRegisterInfo", "&", "MRI", "=", "MF", "->", "getRegInfo", "(", ")", ";", "MRI", ".", "constrainRegClass", "(", "SrcReg", ",", "&", "AMDGPU", "::", "SReg_32_XM0RegClass", ")", ";", "}", "unsigned", "Opcode", "=", "getSGPRSpillSaveOpcode", "(", "RC", "->", "getSize", "(", ")", ")", ";", "BuildMI", "(", "MBB", ",", "MI", ",", "DL", ",", "get", "(", "Opcode", ")", ")", ".", "addReg", "(", "SrcReg", ",", "getKillRegState", "(", "isKill", ")", ")", ".", "addFrameIndex", "(", "FrameIndex", ")", ".", "addMemOperand", "(", "MMO", ")", ";", "return", ";", "}", "if", "(", "!", "ST", ".", "isVGPRSpillingEnabled", "(", "*", "MF", "->", "getFunction", "(", ")", ")", ")", "{", "LLVMContext", "&", "Ctx", "=", "MF", "->", "getFunction", "(", ")", "->", "getContext", "(", ")", ";", "Ctx", ".", "emitError", "(", "\"SIInstrInfo::storeRegToStackSlot - Do not know how to\"", "\" spill register\"", ")", ";", "BuildMI", "(", "MBB", ",", "MI", ",", "DL", ",", "get", "(", "AMDGPU", "::", "KILL", ")", ")", ".", "addReg", "(", "SrcReg", ")", ";", "return", ";", "}", "assert", "(", "RI", ".", "hasVGPRs", "(", "RC", ")", "&&", "\"Only VGPR spilling expected\"", ")", ";", "unsigned", "Opcode", "=", "getVGPRSpillSaveOpcode", "(", "RC", "->", "getSize", "(", ")", ")", ";", "MFI", "->", "setHasSpilledVGPRs", "(", ")", ";", "BuildMI", "(", "MBB", ",", "MI", ",", "DL", ",", "get", "(", "Opcode", ")", ")", ".", "addReg", "(", "SrcReg", ",", "getKillRegState", "(", "isKill", ")", ")", ".", "addFrameIndex", "(", "FrameIndex", ")", ".", "addReg", "(", "MFI", "->", "getScratchRSrcReg", "(", ")", ")", ".", "addReg", "(", "MFI", "->", "getScratchWaveOffsetReg", "(", ")", ")", ".", "addImm", "(", "0", ")", ".", "addMemOperand", "(", "MMO", ")", ";", "}", ""], "natrual_language": ["Store", "the", "specified", "register", "of", "the", "given", "register", "class", "to", "the", "specified", "stack", "frame", "index", "."], "TS_V_token": ["AMDGPU", "SI", "SI", "SI", "4", "AMDGPU::SReg_32_XM0RegClass", "\"SIInstrInfo::storeRegToStackSlot - Do not know how to\"", "\" spill register\"", "AMDGPU::KILL", "\"Only VGPR spilling expected\"", "0"], "File": "SIInstrInfo112", "Func": "storeRegToStackSlot", "Target": "AMDGPU", "Target_Clf": "GPU", "Compiler_Type": "LLVM", "Idx": 1636, "Length": 386, "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": 1637, "Length": 387, "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": 1638, "Length": 128, "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": 1639, "Length": 371, "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": 1640, "Length": 47, "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": 1641, "Length": 206, "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": 1642, "Length": 171, "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": 1643, "Length": 183, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "AliasResult", "AMDGPUAAResult", "::", "alias", "(", "const", "MemoryLocation", "&", "LocA", ",", "const", "MemoryLocation", "&", "LocB", ",", "AAQueryInfo", "&", "AAQI", ")", "{", "unsigned", "asA", "=", "LocA", ".", "Ptr", "->", "getType", "(", ")", "->", "getPointerAddressSpace", "(", ")", ";", "unsigned", "asB", "=", "LocB", ".", "Ptr", "->", "getType", "(", ")", "->", "getPointerAddressSpace", "(", ")", ";", "AliasResult", "Result", "=", "getAliasResult", "(", "asA", ",", "asB", ")", ";", "if", "(", "Result", "==", "AliasResult", "::", "NoAlias", ")", "return", "Result", ";", "MemoryLocation", "A", "=", "LocA", ";", "MemoryLocation", "B", "=", "LocB", ";", "if", "(", "asA", "!=", "AMDGPUAS", "::", "FLAT_ADDRESS", ")", "{", "std", "::", "swap", "(", "asA", ",", "asB", ")", ";", "std", "::", "swap", "(", "A", ",", "B", ")", ";", "}", "if", "(", "asA", "==", "AMDGPUAS", "::", "FLAT_ADDRESS", "&&", "(", "asB", "==", "AMDGPUAS", "::", "LOCAL_ADDRESS", "||", "asB", "==", "AMDGPUAS", "::", "PRIVATE_ADDRESS", ")", ")", "{", "const", "auto", "*", "ObjA", "=", "getUnderlyingObject", "(", "A", ".", "Ptr", "->", "stripPointerCastsForAliasAnalysis", "(", ")", ")", ";", "if", "(", "const", "LoadInst", "*", "LI", "=", "dyn_cast", "<", "LoadInst", ">", "(", "ObjA", ")", ")", "{", "if", "(", "LI", "->", "getPointerAddressSpace", "(", ")", "==", "AMDGPUAS", "::", "CONSTANT_ADDRESS", ")", "return", "AliasResult", "::", "NoAlias", ";", "}", "else", "if", "(", "const", "Argument", "*", "Arg", "=", "dyn_cast", "<", "Argument", ">", "(", "ObjA", ")", ")", "{", "const", "Function", "*", "F", "=", "Arg", "->", "getParent", "(", ")", ";", "switch", "(", "F", "->", "getCallingConv", "(", ")", ")", "{", "case", "CallingConv", "::", "AMDGPU_KERNEL", ":", "return", "AliasResult", "::", "NoAlias", ";", "default", ":", "break", ";", "}", "}", "}", "return", "AAResultBase", "::", "alias", "(", "LocA", ",", "LocB", ",", "AAQI", ")", ";", "}", ""], "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": ["AMDGPU", "AMDGPU", "AMDGPU", "AMDGPU", "AMDGPU", "AMDGPU", "AMDGPU", "AMDGPU"], "File": "AMDGPUAliasAnalysis15", "Func": "alias", "Target": "AMDGPU", "Target_Clf": "GPU", "Compiler_Type": "LLVM", "Idx": 1644, "Length": 249, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "virtual", "bool", "doInitialization", "(", "Module", "&", "M", ")", "{", "return", "false", ";", "}", ""], "natrual_language": ["Set", "up", "the", "AsmPrinter", "when", "we", "are", "working", "on", "a", "new", "module", "."], "TS_V_token": ["Patmos"], "File": "PatmosSPMark", "Func": "doInitialization", "Target": "Patmos", "Target_Clf": "VLIW", "Compiler_Type": "LLVM", "Idx": 1645, "Length": 13, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "void", "getAnalysisUsage", "(", "AnalysisUsage", "&", "AU", ")", "const", "override", "{", "AU", ".", "addRequired", "<", "TargetPassConfig", ">", "(", ")", ";", "AU", ".", "addPreserved", "<", "StackProtector", ">", "(", ")", ";", "MachineFunctionPass", "::", "getAnalysisUsage", "(", "AU", ")", ";", "}", ""], "natrual_language": ["getAnalysisUsage", "-", "Subclasses", "that", "override", "getAnalysisUsage", "must", "call", "this", "."], "TS_V_token": ["Mips"], "File": "MipsModuleISelDAGToDAG10", "Func": "getAnalysisUsage", "Target": "Mips", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 1646, "Length": 36, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "const", "char", "*", "AMDGPUTargetLowering", "::", "getTargetNodeName", "(", "unsigned", "Opcode", ")", "const", "{", "switch", "(", "Opcode", ")", "{", "default", ":", "return", "0", ";", "NODE_NAME_CASE", "(", "CALL", ")", ";", "NODE_NAME_CASE", "(", "UMUL", ")", ";", "NODE_NAME_CASE", "(", "DIV_INF", ")", ";", "NODE_NAME_CASE", "(", "RET_FLAG", ")", ";", "NODE_NAME_CASE", "(", "BRANCH_COND", ")", ";", "NODE_NAME_CASE", "(", "DWORDADDR", ")", "NODE_NAME_CASE", "(", "FRACT", ")", "NODE_NAME_CASE", "(", "FMAX", ")", "NODE_NAME_CASE", "(", "SMAX", ")", "NODE_NAME_CASE", "(", "UMAX", ")", "NODE_NAME_CASE", "(", "FMIN", ")", "NODE_NAME_CASE", "(", "SMIN", ")", "NODE_NAME_CASE", "(", "UMIN", ")", "NODE_NAME_CASE", "(", "URECIP", ")", "NODE_NAME_CASE", "(", "EXPORT", ")", "NODE_NAME_CASE", "(", "CONST_ADDRESS", ")", "NODE_NAME_CASE", "(", "REGISTER_LOAD", ")", "NODE_NAME_CASE", "(", "REGISTER_STORE", ")", "}", "}", ""], "natrual_language": ["getTargetNodeName", "-", "This", "method", "returns", "the", "name", "of", "a", "target", "specific"], "TS_V_token": ["R600", "0"], "File": "AMDGPUISelLowering131", "Func": "getTargetNodeName", "Target": "R600", "Target_Clf": "GPU", "Compiler_Type": "LLVM", "Idx": 1647, "Length": 101, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "AliasResult", "TPCAAResult", "::", "alias", "(", "const", "MemoryLocation", "&", "LocA", ",", "const", "MemoryLocation", "&", "LocB", ",", "AAQueryInfo", "&", "AAQI", ")", "{", "unsigned", "asA", "=", "LocA", ".", "Ptr", "->", "getType", "(", ")", "->", "getPointerAddressSpace", "(", ")", ";", "unsigned", "asB", "=", "LocB", ".", "Ptr", "->", "getType", "(", ")", "->", "getPointerAddressSpace", "(", ")", ";", "AliasResult", "Result", "=", "getAliasResult", "(", "asA", ",", "asB", ")", ";", "if", "(", "Result", "==", "NoAlias", ")", "return", "Result", ";", "if", "(", "asA", "!=", "asB", "&&", "asA", "!=", "0", "&&", "asB", "!=", "0", ")", "return", "NoAlias", ";", "return", "AAResultBase", "::", "alias", "(", "LocA", ",", "LocB", ",", "AAQI", ")", ";", "}", ""], "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": ["TPC", "TPC", "0", "0"], "File": "TPCAliasAnalysis", "Func": "alias", "Target": "TPC", "Target_Clf": "Virtual ISA", "Compiler_Type": "LLVM", "Idx": 1648, "Length": 99, "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": 1649, "Length": 495, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "static", "void", "allocateSpecialInputVGPRs", "(", "CCState", "&", "CCInfo", ",", "MachineFunction", "&", "MF", ",", "const", "SIRegisterInfo", "&", "TRI", ",", "SIMachineFunctionInfo", "&", "Info", ")", "{", "const", "unsigned", "Mask", "=", "0x3ff", ";", "ArgDescriptor", "Arg", ";", "if", "(", "Info", ".", "hasWorkItemIDX", "(", ")", ")", "{", "Arg", "=", "allocateVGPR32Input", "(", "CCInfo", ",", "Mask", ")", ";", "Info", ".", "setWorkItemIDX", "(", "Arg", ")", ";", "}", "if", "(", "Info", ".", "hasWorkItemIDY", "(", ")", ")", "{", "Arg", "=", "allocateVGPR32Input", "(", "CCInfo", ",", "Mask", "<<", "10", ",", "Arg", ")", ";", "Info", ".", "setWorkItemIDY", "(", "Arg", ")", ";", "}", "if", "(", "Info", ".", "hasWorkItemIDZ", "(", ")", ")", "Info", ".", "setWorkItemIDZ", "(", "allocateVGPR32Input", "(", "CCInfo", ",", "Mask", "<<", "20", ",", "Arg", ")", ")", ";", "}", ""], "natrual_language": ["Allocate", "implicit", "function", "VGPR", "arguments", "at", "the", "end", "of", "allocated", "user", "arguments", "."], "TS_V_token": ["AMDGPU", "SI", "SI", "0x3ff", "10", "20"], "File": "SIISelLowering133", "Func": "allocateSpecialInputVGPRs", "Target": "AMDGPU", "Target_Clf": "GPU", "Compiler_Type": "LLVM", "Idx": 1650, "Length": 112, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "bool", "runOnModule", "(", "Module", "&", "M", ")", "override", "{", "PointerTypeMap", "PointerTypes", "=", "PointerTypeAnalysis", "::", "run", "(", "M", ")", ";", "AttributeMask", "AttrMask", ";", "for", "(", "Attribute", "::", "AttrKind", "I", "=", "Attribute", "::", "None", ";", "I", "!=", "Attribute", "::", "EndAttrKinds", ";", "I", "=", "Attribute", "::", "AttrKind", "(", "I", "+", "1", ")", ")", "{", "if", "(", "!", "isValidForDXIL", "(", "I", ")", ")", "AttrMask", ".", "addAttribute", "(", "I", ")", ";", "}", "for", "(", "auto", "&", "F", ":", "M", ".", "functions", "(", ")", ")", "{", "F", ".", "removeFnAttrs", "(", "AttrMask", ")", ";", "F", ".", "removeRetAttrs", "(", "AttrMask", ")", ";", "for", "(", "size_t", "Idx", "=", "0", ",", "End", "=", "F", ".", "arg_size", "(", ")", ";", "Idx", "<", "End", ";", "++", "Idx", ")", "F", ".", "removeParamAttrs", "(", "Idx", ",", "AttrMask", ")", ";", "for", "(", "auto", "&", "BB", ":", "F", ")", "{", "IRBuilder", "<", ">", "Builder", "(", "&", "BB", ")", ";", "for", "(", "auto", "&", "I", ":", "make_early_inc_range", "(", "BB", ")", ")", "{", "if", "(", "I", ".", "getOpcode", "(", ")", "==", "Instruction", "::", "FNeg", ")", "{", "Builder", ".", "SetInsertPoint", "(", "&", "I", ")", ";", "Value", "*", "In", "=", "I", ".", "getOperand", "(", "0", ")", ";", "Value", "*", "Zero", "=", "ConstantFP", "::", "get", "(", "In", "->", "getType", "(", ")", ",", "-", "0.0", ")", ";", "I", ".", "replaceAllUsesWith", "(", "Builder", ".", "CreateFSub", "(", "Zero", ",", "In", ")", ")", ";", "I", ".", "eraseFromParent", "(", ")", ";", "continue", ";", "}", "if", "(", "!", "M", ".", "getContext", "(", ")", ".", "hasSetOpaquePointersValue", "(", ")", ")", "continue", ";", "if", "(", "auto", "LI", "=", "dyn_cast", "<", "LoadInst", ">", "(", "&", "I", ")", ")", "{", "if", "(", "Value", "*", "NoOpBitcast", "=", "maybeGenerateBitcast", "(", "Builder", ",", "PointerTypes", ",", "I", ",", "LI", "->", "getPointerOperand", "(", ")", ",", "LI", "->", "getType", "(", ")", ")", ")", "{", "LI", "->", "replaceAllUsesWith", "(", "Builder", ".", "CreateLoad", "(", "LI", "->", "getType", "(", ")", ",", "NoOpBitcast", ")", ")", ";", "LI", "->", "eraseFromParent", "(", ")", ";", "}", "continue", ";", "}", "if", "(", "auto", "SI", "=", "dyn_cast", "<", "StoreInst", ">", "(", "&", "I", ")", ")", "{", "if", "(", "Value", "*", "NoOpBitcast", "=", "maybeGenerateBitcast", "(", "Builder", ",", "PointerTypes", ",", "I", ",", "SI", "->", "getPointerOperand", "(", ")", ",", "SI", "->", "getValueOperand", "(", ")", "->", "getType", "(", ")", ")", ")", "{", "SI", "->", "replaceAllUsesWith", "(", "Builder", ".", "CreateStore", "(", "SI", "->", "getValueOperand", "(", ")", ",", "NoOpBitcast", ")", ")", ";", "SI", "->", "eraseFromParent", "(", ")", ";", "}", "continue", ";", "}", "if", "(", "auto", "GEP", "=", "dyn_cast", "<", "GetElementPtrInst", ">", "(", "&", "I", ")", ")", "{", "if", "(", "Value", "*", "NoOpBitcast", "=", "maybeGenerateBitcast", "(", "Builder", ",", "PointerTypes", ",", "I", ",", "GEP", "->", "getPointerOperand", "(", ")", ",", "GEP", "->", "getResultElementType", "(", ")", ")", ")", "GEP", "->", "setOperand", "(", "0", ",", "NoOpBitcast", ")", ";", "continue", ";", "}", "}", "}", "}", "return", "true", ";", "}", ""], "natrual_language": ["runOnModule", "-", "Virtual", "method", "overriden", "by", "subclasses", "to", "process", "the", "module", "being", "operated", "on", "."], "TS_V_token": ["DirectX", "1", "DXIL", "0", "0", "0.0", "0"], "File": "DXILPrepare1", "Func": "runOnModule", "Target": "DirectX", "Target_Clf": "Virtual ISA", "Compiler_Type": "LLVM", "Idx": 1651, "Length": 450, "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": 1652, "Length": 248, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "void", "AMDGPUDAGToDAGISel", "::", "PostprocessISelDAG", "(", ")", "{", "if", "(", "Subtarget", ".", "getGeneration", "(", ")", "<", "AMDGPUSubtarget", "::", "SOUTHERN_ISLANDS", ")", "{", "return", ";", "}", "const", "AMDGPUTargetLowering", "&", "Lowering", "=", "(", "*", "(", "const", "AMDGPUTargetLowering", "*", ")", "getTargetLowering", "(", ")", ")", ";", "for", "(", "SelectionDAG", "::", "allnodes_iterator", "I", "=", "CurDAG", "->", "allnodes_begin", "(", ")", ",", "E", "=", "CurDAG", "->", "allnodes_end", "(", ")", ";", "I", "!=", "E", ";", "++", "I", ")", "{", "SDNode", "*", "Node", "=", "I", ";", "switch", "(", "Node", "->", "getOpcode", "(", ")", ")", "{", "case", "ISD", "::", "CopyToReg", ":", "{", "unsigned", "Reg", "=", "cast", "<", "RegisterSDNode", ">", "(", "Node", "->", "getOperand", "(", "1", ")", ")", "->", "getReg", "(", ")", ";", "SDValue", "Val", "=", "Node", "->", "getOperand", "(", "2", ")", ";", "const", "TargetRegisterClass", "*", "RC", "=", "RegInfo", "->", "getRegClass", "(", "Reg", ")", ";", "if", "(", "RC", "!=", "&", "AMDGPU", "::", "SReg_64RegClass", ")", "{", "continue", ";", "}", "if", "(", "!", "Val", ".", "getNode", "(", ")", "->", "isMachineOpcode", "(", ")", "||", "Val", ".", "getNode", "(", ")", "->", "getMachineOpcode", "(", ")", "==", "AMDGPU", "::", "IMPLICIT_DEF", ")", "{", "continue", ";", "}", "const", "MCInstrDesc", "Desc", "=", "TM", ".", "getInstrInfo", "(", ")", "->", "get", "(", "Val", ".", "getNode", "(", ")", "->", "getMachineOpcode", "(", ")", ")", ";", "const", "TargetRegisterInfo", "*", "TRI", "=", "TM", ".", "getRegisterInfo", "(", ")", ";", "RegInfo", "->", "setRegClass", "(", "Reg", ",", "TRI", "->", "getRegClass", "(", "Desc", ".", "OpInfo", "[", "0", "]", ".", "RegClass", ")", ")", ";", "continue", ";", "}", "}", "MachineSDNode", "*", "MachineNode", "=", "dyn_cast", "<", "MachineSDNode", ">", "(", "I", ")", ";", "if", "(", "!", "MachineNode", ")", "continue", ";", "SDNode", "*", "ResNode", "=", "Lowering", ".", "PostISelFolding", "(", "MachineNode", ",", "*", "CurDAG", ")", ";", "if", "(", "ResNode", "!=", "Node", ")", "{", "ReplaceUses", "(", "Node", ",", "ResNode", ")", ";", "}", "}", "}", ""], "natrual_language": ["PostprocessISelDAG", "(", ")", "-", "This", "hook", "allows", "the", "target", "to", "hack", "on", "the", "graph", "right", "after", "selection", "."], "TS_V_token": ["R600", "ISD::CopyToReg", "1", "2", "0"], "File": "AMDILISelDAGToDAG1", "Func": "PostprocessISelDAG", "Target": "R600", "Target_Clf": "GPU", "Compiler_Type": "LLVM", "Idx": 1653, "Length": 285, "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": 1654, "Length": 61, "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": 1655, "Length": 99, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "void", "AMDGPUMCInstLower", "::", "lower", "(", "const", "MachineInstr", "*", "MI", ",", "MCInst", "&", "OutMI", ")", "const", "{", "int", "MCOpcode", "=", "ST", ".", "getInstrInfo", "(", ")", "->", "pseudoToMCOpcode", "(", "MI", "->", "getOpcode", "(", ")", ")", ";", "if", "(", "MCOpcode", "==", "-", "1", ")", "{", "LLVMContext", "&", "C", "=", "MI", "->", "getParent", "(", ")", "->", "getParent", "(", ")", "->", "getFunction", "(", ")", "->", "getContext", "(", ")", ";", "C", ".", "emitError", "(", "\"AMDGPUMCInstLower::lower - Pseudo instruction doesn't have \"", "\"a target-specific version: \"", "+", "Twine", "(", "MI", "->", "getOpcode", "(", ")", ")", ")", ";", "}", "OutMI", ".", "setOpcode", "(", "MCOpcode", ")", ";", "for", "(", "const", "MachineOperand", "&", "MO", ":", "MI", "->", "explicit_operands", "(", ")", ")", "{", "MCOperand", "MCOp", ";", "lowerOperand", "(", "MO", ",", "MCOp", ")", ";", "OutMI", ".", "addOperand", "(", "MCOp", ")", ";", "}", "}", ""], "natrual_language": ["The", "instruction", "is", "lowered", "."], "TS_V_token": ["AMDGPU", "AMDGPU", "1", "\"AMDGPUMCInstLower::lower - Pseudo instruction doesn't have \"", "\"a target-specific version: \""], "File": "AMDGPUMCInstLower10", "Func": "lower", "Target": "AMDGPU", "Target_Clf": "GPU", "Compiler_Type": "LLVM", "Idx": 1656, "Length": 122, "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": 1657, "Length": 27, "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": 1658, "Length": 400, "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": 1659, "Length": 240, "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": 1660, "Length": 508, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "static", "void", "tryAddingPcLoadReferenceComment", "(", "uint64_t", "Address", ",", "int", "Value", ",", "const", "MCDisassembler", "*", "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": "ARMDisassembler39", "Func": "tryAddingPcLoadReferenceComment", "Target": "ARM", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 1661, "Length": 41, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "rtx", "aarch64_stack_protect_canary_mem", "(", "machine_mode", "mode", ",", "rtx", "decl_rtl", ",", "aarch64_salt_type", "salt_type", ")", "{", "rtx", "addr", ";", "if", "(", "aarch64_stack_protector_guard", "==", "SSP_GLOBAL", ")", "{", "gcc_assert", "(", "MEM_P", "(", "decl_rtl", ")", ")", ";", "addr", "=", "XEXP", "(", "decl_rtl", ",", "0", ")", ";", "poly_int64", "offset", ";", "rtx", "base", "=", "strip_offset_and_salt", "(", "addr", ",", "&", "offset", ")", ";", "if", "(", "!", "SYMBOL_REF_P", "(", "base", ")", ")", "return", "decl_rtl", ";", "rtvec", "v", "=", "gen_rtvec", "(", "2", ",", "base", ",", "GEN_INT", "(", "salt_type", ")", ")", ";", "addr", "=", "gen_rtx_UNSPEC", "(", "Pmode", ",", "v", ",", "UNSPEC_SALT_ADDR", ")", ";", "addr", "=", "gen_rtx_CONST", "(", "Pmode", ",", "addr", ")", ";", "addr", "=", "plus_constant", "(", "Pmode", ",", "addr", ",", "offset", ")", ";", "}", "else", "{", "rtx", "salt", "=", "GEN_INT", "(", "salt_type", ")", ";", "addr", "=", "gen_reg_rtx", "(", "mode", ")", ";", "if", "(", "mode", "==", "DImode", ")", "emit_insn", "(", "gen_reg_stack_protect_address_di", "(", "addr", ",", "salt", ")", ")", ";", "else", "{", "emit_insn", "(", "gen_reg_stack_protect_address_si", "(", "addr", ",", "salt", ")", ")", ";", "addr", "=", "convert_memory_address", "(", "Pmode", ",", "addr", ")", ";", "}", "addr", "=", "plus_constant", "(", "Pmode", ",", "addr", ",", "aarch64_stack_protector_guard_offset", ")", ";", "}", "return", "gen_rtx_MEM", "(", "mode", ",", "force_reg", "(", "Pmode", ",", "addr", ")", ")", ";", "}", ""], "natrual_language": ["Return", "the", "MEM", "rtx", "that", "provides", "the", "canary", "value", "that", "should", "be", "used", "for", "stack-smashing", "protection", ".", "MODE", "is", "the", "mode", "of", "the", "memory", ".", "For", "SSP_GLOBAL", ",", "DECL_RTL", "is", "the", "MEM", "rtx", "for", "the", "canary", "variable", "(", "__stack_chk_guard", ")", ",", "otherwise", "it", "has", "no", "useful", "value", ".", "SALT_TYPE", "indicates", "whether", "the", "caller", "is", "performing", "a", "SET", "or", "a", "TEST", "operation", "."], "TS_V_token": ["aarch64", "0", "2"], "File": "aarch641", "Func": "aarch64_stack_protect_canary_mem", "Target": "aarch64", "Target_Clf": "CPU", "Compiler_Type": "GCC", "Idx": 1662, "Length": 193, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "SDValue", "AMDGPUTargetLowering", "::", "CreateLiveInRegister", "(", "SelectionDAG", "&", "DAG", ",", "const", "TargetRegisterClass", "*", "RC", ",", "Register", "Reg", ",", "EVT", "VT", ",", "const", "SDLoc", "&", "SL", ",", "bool", "RawReg", ")", "const", "{", "MachineFunction", "&", "MF", "=", "DAG", ".", "getMachineFunction", "(", ")", ";", "MachineRegisterInfo", "&", "MRI", "=", "MF", ".", "getRegInfo", "(", ")", ";", "Register", "VReg", ";", "if", "(", "!", "MRI", ".", "isLiveIn", "(", "Reg", ")", ")", "{", "VReg", "=", "MRI", ".", "createVirtualRegister", "(", "RC", ")", ";", "MRI", ".", "addLiveIn", "(", "Reg", ",", "VReg", ")", ";", "}", "else", "{", "VReg", "=", "MRI", ".", "getLiveInVirtReg", "(", "Reg", ")", ";", "}", "if", "(", "RawReg", ")", "return", "DAG", ".", "getRegister", "(", "VReg", ",", "VT", ")", ";", "return", "DAG", ".", "getCopyFromReg", "(", "DAG", ".", "getEntryNode", "(", ")", ",", "SL", ",", "VReg", ",", "VT", ")", ";", "}", ""], "natrual_language": ["Helper", "function", "that", "adds", "Reg", "to", "the", "LiveIn", "list", "of", "the", "DAG", "'s", "MachineFunction", "."], "TS_V_token": ["AMDGPU", "AMDGPU"], "File": "AMDGPUISelLowering (2)1", "Func": "CreateLiveInRegister", "Target": "AMDGPU", "Target_Clf": "GPU", "Compiler_Type": "LLVM", "Idx": 1663, "Length": 128, "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": 1664, "Length": 151, "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": 1665, "Length": 16, "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", ")", ".", "Case", "(", "\"x20\"", ",", "AArch64", "::", "X20", ")", ".", "Case", "(", "\"w20\"", ",", "AArch64", "::", "W20", ")", ".", "Default", "(", "0", ")", ";", "if", "(", "(", "(", "Reg", "==", "AArch64", "::", "X18", "||", "Reg", "==", "AArch64", "::", "W18", ")", "&&", "!", "Subtarget", "->", "isX18Reserved", "(", ")", ")", "||", "(", "(", "Reg", "==", "AArch64", "::", "X20", "||", "Reg", "==", "AArch64", "::", "W20", ")", "&&", "!", "Subtarget", "->", "isX20Reserved", "(", ")", ")", ")", "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", "\"x20\"", "AArch64::X20", "\"w20\"", "AArch64::W20", "0", "AArch64::X18", "AArch64::W18", "AArch64::X20", "AArch64::W20", "0", "\"Invalid register name \\\"\"", "\"\\\".\""], "File": "AArch64ISelLowering", "Func": "getRegisterByName", "Target": "AArch64", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 1666, "Length": 155, "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": 1667, "Length": 89, "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": 1668, "Length": 181, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "std", "::", "pair", "<", "unsigned", ",", "const", "TargetRegisterClass", "*", ">", "SITargetLowering", "::", "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", "'s'", ":", "case", "'r'", ":", "switch", "(", "VT", ".", "getSizeInBits", "(", ")", ")", "{", "default", ":", "return", "std", "::", "make_pair", "(", "0U", ",", "nullptr", ")", ";", "case", "32", ":", "case", "16", ":", "RC", "=", "&", "AMDGPU", "::", "SReg_32_XM0RegClass", ";", "break", ";", "case", "64", ":", "RC", "=", "&", "AMDGPU", "::", "SGPR_64RegClass", ";", "break", ";", "case", "128", ":", "RC", "=", "&", "AMDGPU", "::", "SReg_128RegClass", ";", "break", ";", "case", "256", ":", "RC", "=", "&", "AMDGPU", "::", "SReg_256RegClass", ";", "break", ";", "case", "512", ":", "RC", "=", "&", "AMDGPU", "::", "SReg_512RegClass", ";", "break", ";", "}", "break", ";", "case", "'v'", ":", "switch", "(", "VT", ".", "getSizeInBits", "(", ")", ")", "{", "default", ":", "return", "std", "::", "make_pair", "(", "0U", ",", "nullptr", ")", ";", "case", "32", ":", "case", "16", ":", "RC", "=", "&", "AMDGPU", "::", "VGPR_32RegClass", ";", "break", ";", "case", "64", ":", "RC", "=", "&", "AMDGPU", "::", "VReg_64RegClass", ";", "break", ";", "case", "96", ":", "RC", "=", "&", "AMDGPU", "::", "VReg_96RegClass", ";", "break", ";", "case", "128", ":", "RC", "=", "&", "AMDGPU", "::", "VReg_128RegClass", ";", "break", ";", "case", "256", ":", "RC", "=", "&", "AMDGPU", "::", "VReg_256RegClass", ";", "break", ";", "case", "512", ":", "RC", "=", "&", "AMDGPU", "::", "VReg_512RegClass", ";", "break", ";", "}", "break", ";", "}", "if", "(", "RC", "&&", "(", "isTypeLegal", "(", "VT", ")", "||", "VT", ".", "SimpleTy", "==", "MVT", "::", "i128", "||", "VT", ".", "SimpleTy", "==", "MVT", "::", "i16", "||", "VT", ".", "SimpleTy", "==", "MVT", "::", "f16", ")", ")", "return", "std", "::", "make_pair", "(", "0U", ",", "RC", ")", ";", "}", "if", "(", "Constraint", ".", "size", "(", ")", ">", "1", ")", "{", "if", "(", "Constraint", "[", "1", "]", "==", "'v'", ")", "{", "RC", "=", "&", "AMDGPU", "::", "VGPR_32RegClass", ";", "}", "else", "if", "(", "Constraint", "[", "1", "]", "==", "'s'", ")", "{", "RC", "=", "&", "AMDGPU", "::", "SGPR_32RegClass", ";", "}", "if", "(", "RC", ")", "{", "uint32_t", "Idx", ";", "bool", "Failed", "=", "Constraint", ".", "substr", "(", "2", ")", ".", "getAsInteger", "(", "10", ",", "Idx", ")", ";", "if", "(", "!", "Failed", "&&", "Idx", "<", "RC", "->", "getNumRegs", "(", ")", ")", "return", "std", "::", "make_pair", "(", "RC", "->", "getRegister", "(", "Idx", ")", ",", "RC", ")", ";", "}", "}", "return", "TargetLowering", "::", "getRegForInlineAsmConstraint", "(", "TRI", ",", "Constraint", ",", "VT", ")", ";", "}", ""], "natrual_language": ["Given", "a", "physical", "register", "constraint", "(", "e.g", "."], "TS_V_token": ["AMDGPU", "SI", "1", "0", "0U", "32", "16", "AMDGPU::SReg_32_XM0RegClass", "64", "AMDGPU::SGPR_64RegClass", "128", "AMDGPU::SReg_128RegClass", "256", "AMDGPU::SReg_256RegClass", "512", "AMDGPU::SReg_512RegClass", "0U", "32", "16", "AMDGPU::VGPR_32RegClass", "64", "AMDGPU::VReg_64RegClass", "96", "AMDGPU::VReg_96RegClass", "128", "AMDGPU::VReg_128RegClass", "256", "AMDGPU::VReg_256RegClass", "512", "AMDGPU::VReg_512RegClass", "MVT::i128", "MVT::i16", "MVT::f16", "0U", "1", "1", "AMDGPU::VGPR_32RegClass", "1", "AMDGPU::SGPR_32RegClass", "2", "10"], "File": "SIISelLowering (2)3", "Func": "getRegForInlineAsmConstraint", "Target": "AMDGPU", "Target_Clf": "GPU", "Compiler_Type": "LLVM", "Idx": 1669, "Length": 425, "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": 1670, "Length": 362, "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": 1671, "Length": 187, "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": 1672, "Length": 59, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "unsigned", "GCNHazardRecognizer", "::", "PreEmitNoops", "(", "MachineInstr", "*", "MI", ")", "{", "int", "WaitStates", "=", "std", "::", "max", "(", "0", ",", "checkAnyInstHazards", "(", "MI", ")", ")", ";", "if", "(", "SIInstrInfo", "::", "isSMRD", "(", "*", "MI", ")", ")", "return", "std", "::", "max", "(", "WaitStates", ",", "checkSMRDHazards", "(", "MI", ")", ")", ";", "if", "(", "SIInstrInfo", "::", "isVALU", "(", "*", "MI", ")", ")", "WaitStates", "=", "std", "::", "max", "(", "WaitStates", ",", "checkVALUHazards", "(", "MI", ")", ")", ";", "if", "(", "SIInstrInfo", "::", "isVMEM", "(", "*", "MI", ")", "||", "SIInstrInfo", "::", "isFLAT", "(", "*", "MI", ")", ")", "WaitStates", "=", "std", "::", "max", "(", "WaitStates", ",", "checkVMEMHazards", "(", "MI", ")", ")", ";", "if", "(", "SIInstrInfo", "::", "isDPP", "(", "*", "MI", ")", ")", "WaitStates", "=", "std", "::", "max", "(", "WaitStates", ",", "checkDPPHazards", "(", "MI", ")", ")", ";", "if", "(", "isDivFMas", "(", "MI", "->", "getOpcode", "(", ")", ")", ")", "WaitStates", "=", "std", "::", "max", "(", "WaitStates", ",", "checkDivFMasHazards", "(", "MI", ")", ")", ";", "if", "(", "isRWLane", "(", "MI", "->", "getOpcode", "(", ")", ")", ")", "WaitStates", "=", "std", "::", "max", "(", "WaitStates", ",", "checkRWLaneHazards", "(", "MI", ")", ")", ";", "if", "(", "MI", "->", "isInlineAsm", "(", ")", ")", "return", "std", "::", "max", "(", "WaitStates", ",", "checkInlineAsmHazards", "(", "MI", ")", ")", ";", "if", "(", "isSGetReg", "(", "MI", "->", "getOpcode", "(", ")", ")", ")", "return", "std", "::", "max", "(", "WaitStates", ",", "checkGetRegHazards", "(", "MI", ")", ")", ";", "if", "(", "isSSetReg", "(", "MI", "->", "getOpcode", "(", ")", ")", ")", "return", "std", "::", "max", "(", "WaitStates", ",", "checkSetRegHazards", "(", "MI", ")", ")", ";", "if", "(", "isRFE", "(", "MI", "->", "getOpcode", "(", ")", ")", ")", "return", "std", "::", "max", "(", "WaitStates", ",", "checkRFEHazards", "(", "MI", ")", ")", ";", "if", "(", "ST", ".", "hasReadM0MovRelInterpHazard", "(", ")", "&&", "(", "TII", ".", "isVINTRP", "(", "*", "MI", ")", "||", "isSMovRel", "(", "MI", "->", "getOpcode", "(", ")", ")", ")", ")", "return", "std", "::", "max", "(", "WaitStates", ",", "checkReadM0Hazards", "(", "MI", ")", ")", ";", "if", "(", "ST", ".", "hasReadM0SendMsgHazard", "(", ")", "&&", "isSendMsgTraceDataOrGDS", "(", "TII", ",", "*", "MI", ")", ")", "return", "std", "::", "max", "(", "WaitStates", ",", "checkReadM0Hazards", "(", "MI", ")", ")", ";", "return", "WaitStates", ";", "}", ""], "natrual_language": ["PreEmitNoops", "-", "This", "callback", "is", "invoked", "prior", "to", "emitting", "an", "instruction", "."], "TS_V_token": ["AMDGPU", "0", "SI", "SI", "SI", "SI", "SI"], "File": "GCNHazardRecognizer7", "Func": "PreEmitNoops", "Target": "AMDGPU", "Target_Clf": "GPU", "Compiler_Type": "LLVM", "Idx": 1673, "Length": 344, "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": 1674, "Length": 51, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "void", "getAnalysisUsage", "(", "AnalysisUsage", "&", "AU", ")", "const", "override", "{", "AU", ".", "addPreserved", "<", "SlotIndexes", ">", "(", ")", ";", "AU", ".", "addPreserved", "<", "LiveIntervals", ">", "(", ")", ";", "AU", ".", "addPreservedID", "(", "LiveVariablesID", ")", ";", "MachineFunctionPass", "::", "getAnalysisUsage", "(", "AU", ")", ";", "}", ""], "natrual_language": ["getAnalysisUsage", "-", "Subclasses", "that", "override", "getAnalysisUsage", "must", "call", "this", "."], "TS_V_token": ["AMDGPU"], "File": "SILowerControlFlow11", "Func": "getAnalysisUsage", "Target": "AMDGPU", "Target_Clf": "GPU", "Compiler_Type": "LLVM", "Idx": 1675, "Length": 43, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "bool", "valid_mov3q_const", "(", "HOST_WIDE_INT", "i", ")", "{", "return", "TARGET_ISAB", "&&", "(", "i", "==", "-", "1", "||", "IN_RANGE", "(", "i", ",", "1", ",", "7", ")", ")", ";", "}", ""], "natrual_language": ["Return", "1", "if", "'constant", "'", "can", "be", "represented", "by", "mov3q", "on", "a", "ColdFire", "V4", "core", "."], "TS_V_token": ["m68k", "1", "1", "7"], "File": "m68k", "Func": "valid_mov3q_const", "Target": "m68k", "Target_Clf": "MPU", "Compiler_Type": "GCC", "Idx": 1676, "Length": 27, "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": 1677, "Length": 10, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "int", "m32c_prepare_shift", "(", "rtx", "*", "operands", ",", "int", "scale", ",", "int", "bits", ")", "{", "rtx", "temp", ";", "if", "(", "GET_CODE", "(", "operands", "[", "2", "]", ")", "==", "CONST_INT", "&&", "INTVAL", "(", "operands", "[", "2", "]", ")", "<=", "(", "1", "<<", "(", "bits", "-", "1", ")", ")", "&&", "INTVAL", "(", "operands", "[", "2", "]", ")", ">=", "-", "(", "1", "<<", "(", "bits", "-", "1", ")", ")", ")", "{", "operands", "[", "2", "]", "=", "GEN_INT", "(", "scale", "*", "INTVAL", "(", "operands", "[", "2", "]", ")", ")", ";", "return", "0", ";", "}", "if", "(", "scale", "<", "0", ")", "{", "temp", "=", "gen_reg_rtx", "(", "QImode", ")", ";", "if", "(", "GET_CODE", "(", "operands", "[", "2", "]", ")", "==", "CONST_INT", ")", "temp", "=", "GEN_INT", "(", "-", "INTVAL", "(", "operands", "[", "2", "]", ")", ")", ";", "else", "emit_move_insn", "(", "temp", ",", "gen_rtx_NEG", "(", "QImode", ",", "operands", "[", "2", "]", ")", ")", ";", "}", "else", "temp", "=", "operands", "[", "2", "]", ";", "operands", "[", "2", "]", "=", "temp", ";", "return", "0", ";", "}", ""], "natrual_language": ["The", "m32c", "only", "has", "one", "shift", ",", "but", "it", "takes", "a", "signed", "count", ".", "GCC", "does", "n't", "want", "this", ",", "so", "we", "fake", "it", "by", "negating", "any", "shift", "count", "when", "we", "'re", "pretending", "to", "shift", "the", "other", "way", "."], "TS_V_token": ["m32c", "2", "2", "1", "1", "2", "1", "1", "2", "2", "0", "0", "2", "2", "2", "2", "2", "0"], "File": "m32c2", "Func": "m32c_prepare_shift", "Target": "m32c", "Target_Clf": "MPU", "Compiler_Type": "GCC", "Idx": 1678, "Length": 165, "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": 1679, "Length": 139, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "void", "relaxInstruction", "(", "const", "MCInst", "&", "Inst", ",", "const", "MCSubtargetInfo", "&", "STI", ",", "MCInst", "&", "Res", ")", "const", "override", "{", "report_fatal_error", "(", "\"CAHPAsmBackend::relaxInstruction() unimplemented\"", ")", ";", "}", ""], "natrual_language": ["Relax", "the", "instruction", "in", "the", "given", "fragment", "to", "the", "next", "wider", "instruction", "."], "TS_V_token": ["CAHP", "\"CAHPAsmBackend::relaxInstruction() unimplemented\""], "File": "CAHPAsmBackend", "Func": "relaxInstruction", "Target": "CAHP", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 1680, "Length": 26, "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": 1681, "Length": 99, "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": 1682, "Length": 54, "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": 1683, "Length": 69, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "bool", "isValid", "(", ")", "const", "{", "return", "(", "Valid", ")", ";", "}", ""], "natrual_language": ["Returns", "true", "if", "this", "iterator", "is", "still", "pointing", "at", "a", "valid", "entry", "."], "TS_V_token": ["Hexagon"], "File": "HexagonShuffler (2)", "Func": "isValid", "Target": "Hexagon", "Target_Clf": "DSP", "Compiler_Type": "LLVM", "Idx": 1684, "Length": 12, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "static", "bool", "match_pcrel_step2", "(", "rtx_insn", "*", "insn", ")", "{", "rtx", "unspec", ";", "rtx", "addr", ";", "if", "(", "TARGET_32BIT", ")", "{", "if", "(", "recog_memoized", "(", "insn", ")", "!=", "CODE_FOR_insn_addr_shl16insli_32bit", ")", "return", "false", ";", "}", "else", "{", "if", "(", "recog_memoized", "(", "insn", ")", "!=", "CODE_FOR_insn_addr_shl16insli", ")", "return", "false", ";", "}", "unspec", "=", "SET_SRC", "(", "PATTERN", "(", "insn", ")", ")", ";", "addr", "=", "XVECEXP", "(", "unspec", ",", "0", ",", "1", ")", ";", "return", "(", "GET_CODE", "(", "addr", ")", "==", "CONST", "&&", "GET_CODE", "(", "XEXP", "(", "addr", ",", "0", ")", ")", "==", "UNSPEC", "&&", "XINT", "(", "XEXP", "(", "addr", ",", "0", ")", ",", "1", ")", "==", "UNSPEC_HW0_PCREL", ")", ";", "}", ""], "natrual_language": ["Returns", "true", "if", "INSN", "is", "the", "second", "instruction", "of", "a", "pc-relative", "address", "compuatation", "."], "TS_V_token": ["tilegx", "0", "1", "0", "0", "1"], "File": "tilegx", "Func": "match_pcrel_step2", "Target": "tilegx", "Target_Clf": "VLIW", "Compiler_Type": "GCC", "Idx": 1685, "Length": 106, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "bool", "avr_load_libgcc_p", "(", "rtx", "op", ")", "{", "machine_mode", "mode", "=", "GET_MODE", "(", "op", ")", ";", "int", "n_bytes", "=", "GET_MODE_SIZE", "(", "mode", ")", ";", "return", "(", "n_bytes", ">", "2", "&&", "!", "AVR_HAVE_LPMX", "&&", "avr_mem_flash_p", "(", "op", ")", ")", ";", "}", ""], "natrual_language": ["Return", "true", "if", "a", "value", "of", "mode", "MODE", "is", "read", "from", "flash", "by", "__load_", "*", "function", "from", "libgcc", "."], "TS_V_token": ["avr", "2"], "File": "avr", "Func": "avr_load_libgcc_p", "Target": "avr", "Target_Clf": "MPU", "Compiler_Type": "GCC", "Idx": 1686, "Length": 39, "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": 1687, "Length": 300, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "int", "microblaze_can_use_return_insn", "(", "void", ")", "{", "if", "(", "!", "reload_completed", ")", "return", "0", ";", "if", "(", "df_regs_ever_live_p", "(", "MB_ABI_SUB_RETURN_ADDR_REGNUM", ")", "||", "profile_flag", ")", "return", "0", ";", "if", "(", "current_frame_info", ".", "initialized", ")", "return", "current_frame_info", ".", "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": ["microblaze", "0", "0", "0", "0"], "File": "microblaze", "Func": "microblaze_can_use_return_insn", "Target": "microblaze", "Target_Clf": "MPU", "Compiler_Type": "GCC", "Idx": 1688, "Length": 50, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "unsigned", "AMDGPUAsmParser", "::", "validateTargetOperandClass", "(", "MCParsedAsmOperand", "&", "Op", ",", "unsigned", "Kind", ")", "{", "AMDGPUOperand", "&", "Operand", "=", "(", "AMDGPUOperand", "&", ")", "Op", ";", "switch", "(", "Kind", ")", "{", "case", "MCK_addr64", ":", "return", "Operand", ".", "isAddr64", "(", ")", "?", "Match_Success", ":", "Match_InvalidOperand", ";", "case", "MCK_gds", ":", "return", "Operand", ".", "isGDS", "(", ")", "?", "Match_Success", ":", "Match_InvalidOperand", ";", "case", "MCK_lds", ":", "return", "Operand", ".", "isLDS", "(", ")", "?", "Match_Success", ":", "Match_InvalidOperand", ";", "case", "MCK_idxen", ":", "return", "Operand", ".", "isIdxen", "(", ")", "?", "Match_Success", ":", "Match_InvalidOperand", ";", "case", "MCK_offen", ":", "return", "Operand", ".", "isOffen", "(", ")", "?", "Match_Success", ":", "Match_InvalidOperand", ";", "case", "MCK_SSrcB32", ":", "return", "Operand", ".", "isSSrcB32", "(", ")", "?", "Match_Success", ":", "Match_InvalidOperand", ";", "case", "MCK_SSrcF32", ":", "return", "Operand", ".", "isSSrcF32", "(", ")", "?", "Match_Success", ":", "Match_InvalidOperand", ";", "case", "MCK_SoppBrTarget", ":", "return", "Operand", ".", "isSoppBrTarget", "(", ")", "?", "Match_Success", ":", "Match_InvalidOperand", ";", "case", "MCK_VReg32OrOff", ":", "return", "Operand", ".", "isVReg32OrOff", "(", ")", "?", "Match_Success", ":", "Match_InvalidOperand", ";", "case", "MCK_InterpSlot", ":", "return", "Operand", ".", "isInterpSlot", "(", ")", "?", "Match_Success", ":", "Match_InvalidOperand", ";", "case", "MCK_Attr", ":", "return", "Operand", ".", "isInterpAttr", "(", ")", "?", "Match_Success", ":", "Match_InvalidOperand", ";", "case", "MCK_AttrChan", ":", "return", "Operand", ".", "isAttrChan", "(", ")", "?", "Match_Success", ":", "Match_InvalidOperand", ";", "case", "MCK_ImmSMEMOffset", ":", "return", "Operand", ".", "isSMEMOffset", "(", ")", "?", "Match_Success", ":", "Match_InvalidOperand", ";", "case", "MCK_SReg_64", ":", "case", "MCK_SReg_64_XEXEC", ":", "return", "Operand", ".", "isNull", "(", ")", "?", "Match_Success", ":", "Match_InvalidOperand", ";", "default", ":", "return", "Match_InvalidOperand", ";", "}", "}", ""], "natrual_language": ["Allow", "a", "target", "to", "add", "special", "case", "operand", "matching", "for", "things", "that", "tblgen", "doesn't/ca", "n't", "handle", "effectively", "."], "TS_V_token": ["AMDGPU", "AMDGPU", "AMDGPU", "AMDGPU"], "File": "AMDGPUAsmParser1", "Func": "validateTargetOperandClass", "Target": "AMDGPU", "Target_Clf": "GPU", "Compiler_Type": "LLVM", "Idx": 1689, "Length": 234, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "static", "int", "is_regular_file", "(", "char", "*", "name", ")", "{", "int", "ret", ";", "struct", "stat", "statbuf", ";", "ret", "=", "stat", "(", "name", ",", "&", "statbuf", ")", ";", "return", "!", "ret", "&&", "S_ISREG", "(", "statbuf", ".", "st_mode", ")", ";", "}", ""], "natrual_language": ["Check", "to", "see", "if", "NAME", "is", "a", "regular", "file", ",", "i.e", ".", "not", "a", "directory", "."], "TS_V_token": ["alpha"], "File": "vms-ld1", "Func": "is_regular_file", "Target": "alpha", "Target_Clf": "MPU", "Compiler_Type": "GCC", "Idx": 1690, "Length": 38, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "unsigned", "HexagonInstrInfo", "::", "nonDbgBBSize", "(", "const", "MachineBasicBlock", "*", "BB", ")", "const", "{", "return", "nonDbgMICount", "(", "BB", "->", "instr_begin", "(", ")", ",", "BB", "->", "instr_end", "(", ")", ")", ";", "}", ""], "natrual_language": ["getInstrTimingClassLatency", "-", "Compute", "the", "instruction", "latency", "of", "a", "given", "instruction", "using", "Timing", "Class", "information", ",", "if", "available", "."], "TS_V_token": ["Hexagon", "Hexagon"], "File": "HexagonInstrInfo (2)", "Func": "nonDbgBBSize", "Target": "Hexagon", "Target_Clf": "DSP", "Compiler_Type": "LLVM", "Idx": 1691, "Length": 29, "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": 1692, "Length": 35, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "void", "SPIRVInstructionSelector", "::", "setupMF", "(", "MachineFunction", "&", "MF", ",", "GISelKnownBits", "*", "KB", ",", "CodeGenCoverage", "&", "CoverageInfo", ",", "ProfileSummaryInfo", "*", "PSI", ",", "BlockFrequencyInfo", "*", "BFI", ")", "{", "MRI", "=", "&", "MF", ".", "getRegInfo", "(", ")", ";", "GR", ".", "setCurrentFunc", "(", "MF", ")", ";", "InstructionSelector", "::", "setupMF", "(", "MF", ",", "KB", ",", "CoverageInfo", ",", "PSI", ",", "BFI", ")", ";", "}", ""], "natrual_language": ["Setup", "per-MF", "executor", "state", "."], "TS_V_token": ["SPIRV", "SPIRV"], "File": "SPIRVInstructionSelector", "Func": "setupMF", "Target": "SPIRV", "Target_Clf": "Virtual ISA", "Compiler_Type": "LLVM", "Idx": 1693, "Length": 58, "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": 1694, "Length": 114, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "bool", "WebAssemblyAsmBackend", "::", "writeNopData", "(", "raw_ostream", "&", "OS", ",", "uint64_t", "Count", ")", "const", "{", "for", "(", "uint64_t", "i", "=", "0", ";", "i", "<", "Count", ";", "++", "i", ")", "OS", "<<", "char", "(", "WebAssembly", "::", "Nop", ")", ";", "return", "true", ";", "}", ""], "natrual_language": ["Write", "an", "(", "optimal", ")", "nop", "sequence", "of", "Count", "bytes", "to", "the", "given", "output", "."], "TS_V_token": ["WebAssembly", "WebAssembly", "0", "WebAssembly::Nop"], "File": "WebAssemblyAsmBackend", "Func": "writeNopData", "Target": "WebAssembly", "Target_Clf": "Virtual ISA", "Compiler_Type": "LLVM", "Idx": 1695, "Length": 41, "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": 1696, "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": "MipsTargetMachine26", "Func": "getRegisterInfo", "Target": "Mips", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 1697, "Length": 18, "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": 1698, "Length": 144, "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": 1699, "Length": 27, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "bool", "HexagonExpandCondsets", "::", "split", "(", "MachineInstr", "&", "MI", ",", "std", "::", "set", "<", "unsigned", ">", "&", "UpdRegs", ")", "{", "if", "(", "TfrLimitActive", ")", "{", "if", "(", "TfrCounter", ">=", "TfrLimit", ")", "return", "false", ";", "TfrCounter", "++", ";", "}", "LLVM_DEBUG", "(", "dbgs", "(", ")", "<<", "\"\\nsplitting \"", "<<", "printMBBReference", "(", "*", "MI", ".", "getParent", "(", ")", ")", "<<", "\": \"", "<<", "MI", ")", ";", "MachineOperand", "&", "MD", "=", "MI", ".", "getOperand", "(", "0", ")", ";", "MachineOperand", "&", "MP", "=", "MI", ".", "getOperand", "(", "1", ")", ";", "assert", "(", "MD", ".", "isDef", "(", ")", ")", ";", "unsigned", "DR", "=", "MD", ".", "getReg", "(", ")", ",", "DSR", "=", "MD", ".", "getSubReg", "(", ")", ";", "bool", "ReadUndef", "=", "MD", ".", "isUndef", "(", ")", ";", "MachineBasicBlock", "::", "iterator", "At", "=", "MI", ";", "auto", "updateRegs", "=", "[", "&", "UpdRegs", "]", "(", "const", "MachineInstr", "&", "MI", ")", "->", "void", "{", "for", "(", "auto", "&", "Op", ":", "MI", ".", "operands", "(", ")", ")", "if", "(", "Op", ".", "isReg", "(", ")", ")", "UpdRegs", ".", "insert", "(", "Op", ".", "getReg", "(", ")", ")", ";", "}", ";", "MachineOperand", "&", "ST", "=", "MI", ".", "getOperand", "(", "2", ")", ";", "MachineOperand", "&", "SF", "=", "MI", ".", "getOperand", "(", "3", ")", ";", "if", "(", "ST", ".", "isReg", "(", ")", "&&", "SF", ".", "isReg", "(", ")", ")", "{", "RegisterRef", "RT", "(", "ST", ")", ";", "if", "(", "RT", "==", "RegisterRef", "(", "SF", ")", ")", "{", "updateRegs", "(", "MI", ")", ";", "MI", ".", "setDesc", "(", "HII", "->", "get", "(", "TargetOpcode", "::", "COPY", ")", ")", ";", "unsigned", "S", "=", "getRegState", "(", "ST", ")", ";", "while", "(", "MI", ".", "getNumOperands", "(", ")", ">", "1", ")", "MI", ".", "RemoveOperand", "(", "MI", ".", "getNumOperands", "(", ")", "-", "1", ")", ";", "MachineFunction", "&", "MF", "=", "*", "MI", ".", "getParent", "(", ")", "->", "getParent", "(", ")", ";", "MachineInstrBuilder", "(", "MF", ",", "MI", ")", ".", "addReg", "(", "RT", ".", "Reg", ",", "S", ",", "RT", ".", "Sub", ")", ";", "return", "true", ";", "}", "}", "MachineInstr", "*", "TfrT", "=", "genCondTfrFor", "(", "ST", ",", "At", ",", "DR", ",", "DSR", ",", "MP", ",", "true", ",", "ReadUndef", ",", "false", ")", ";", "MachineInstr", "*", "TfrF", "=", "genCondTfrFor", "(", "SF", ",", "At", ",", "DR", ",", "DSR", ",", "MP", ",", "false", ",", "ReadUndef", ",", "true", ")", ";", "LIS", "->", "InsertMachineInstrInMaps", "(", "*", "TfrT", ")", ";", "LIS", "->", "InsertMachineInstrInMaps", "(", "*", "TfrF", ")", ";", "updateRegs", "(", "MI", ")", ";", "removeInstr", "(", "MI", ")", ";", "return", "true", ";", "}", ""], "natrual_language": ["Split", "into", "substrings", "around", "the", "occurrences", "of", "a", "separator", "character", "."], "TS_V_token": ["Hexagon", "Hexagon", "\"\\nsplitting \"", "\": \"", "0", "1", "2", "3", "1", "1"], "File": "HexagonExpandCondsets11", "Func": "split", "Target": "Hexagon", "Target_Clf": "DSP", "Compiler_Type": "LLVM", "Idx": 1700, "Length": 392, "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": 1701, "Length": 189, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "bool", "HexagonInstrInfo", "::", "PredicateInstruction", "(", "MachineInstr", "*", "MI", ",", "const", "SmallVectorImpl", "<", "MachineOperand", ">", "&", "Cond", ")", "const", "{", "int", "Opc", "=", "MI", "->", "getOpcode", "(", ")", ";", "assert", "(", "isPredicable", "(", "MI", ")", "&&", "\"Expected predicable instruction\"", ")", ";", "bool", "invertJump", "=", "(", "!", "Cond", ".", "empty", "(", ")", "&&", "Cond", "[", "0", "]", ".", "isImm", "(", ")", "&&", "(", "Cond", "[", "0", "]", ".", "getImm", "(", ")", "==", "0", ")", ")", ";", "MI", "->", "setDesc", "(", "get", "(", "getMatchingCondBranchOpcode", "(", "Opc", ",", "invertJump", ")", ")", ")", ";", "MI", "->", "addOperand", "(", "MI", "->", "getOperand", "(", "MI", "->", "getNumOperands", "(", ")", "-", "1", ")", ")", ";", "int", "oper", ";", "for", "(", "oper", "=", "MI", "->", "getNumOperands", "(", ")", "-", "3", ";", "oper", ">=", "0", ";", "--", "oper", ")", "{", "MachineOperand", "MO", "=", "MI", "->", "getOperand", "(", "oper", ")", ";", "if", "(", "(", "MO", ".", "isReg", "(", ")", "&&", "!", "MO", ".", "isUse", "(", ")", "&&", "!", "MO", ".", "isImplicit", "(", ")", ")", ")", "{", "break", ";", "}", "if", "(", "MO", ".", "isReg", "(", ")", ")", "{", "MI", "->", "getOperand", "(", "oper", "+", "1", ")", ".", "ChangeToRegister", "(", "MO", ".", "getReg", "(", ")", ",", "MO", ".", "isDef", "(", ")", ",", "MO", ".", "isImplicit", "(", ")", ",", "MO", ".", "isKill", "(", ")", ",", "MO", ".", "isDead", "(", ")", ",", "MO", ".", "isUndef", "(", ")", ",", "MO", ".", "isDebug", "(", ")", ")", ";", "}", "else", "if", "(", "MO", ".", "isImm", "(", ")", ")", "{", "MI", "->", "getOperand", "(", "oper", "+", "1", ")", ".", "ChangeToImmediate", "(", "MO", ".", "getImm", "(", ")", ")", ";", "}", "else", "{", "assert", "(", "false", "&&", "\"Unexpected operand type\"", ")", ";", "}", "}", "int", "regPos", "=", "invertJump", "?", "1", ":", "0", ";", "MachineOperand", "PredMO", "=", "Cond", "[", "regPos", "]", ";", "MI", "->", "getOperand", "(", "oper", "+", "1", ")", ".", "ChangeToRegister", "(", "PredMO", ".", "getReg", "(", ")", ",", "PredMO", ".", "isDef", "(", ")", ",", "PredMO", ".", "isImplicit", "(", ")", ",", "PredMO", ".", "isKill", "(", ")", ",", "PredMO", ".", "isDead", "(", ")", ",", "PredMO", ".", "isUndef", "(", ")", ",", "PredMO", ".", "isDebug", "(", ")", ")", ";", "return", "true", ";", "}", ""], "natrual_language": ["Convert", "the", "instruction", "into", "a", "predicated", "instruction", "."], "TS_V_token": ["Hexagon", "Hexagon", "\"Expected predicable instruction\"", "0", "0", "0", "1", "3", "0", "1", "1", "\"Unexpected operand type\"", "1", "0", "1"], "File": "HexagonInstrInfo57", "Func": "PredicateInstruction", "Target": "Hexagon", "Target_Clf": "DSP", "Compiler_Type": "LLVM", "Idx": 1702, "Length": 345, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "Candidate", "(", ")", ":", "SU", "(", "nullptr", ")", ",", "GroupingCost", "(", "0", ")", ",", "ResourcesCost", "(", "0", ")", "{", "}", ""], "natrual_language": ["Describes", "the", "region", "of", "code", "."], "TS_V_token": ["SystemZ", "0", "0"], "File": "SystemZMachineScheduler5", "Func": "Candidate", "Target": "SystemZ", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 1703, "Length": 20, "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", ",", "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", "Func": "SelectInlineAsmMemoryOperand", "Target": "Sparc", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 1704, "Length": 83, "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": 1705, "Length": 298, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "void", "JVMRegisterInfo", "::", "eliminateFrameIndex", "(", "MachineBasicBlock", "::", "iterator", "II", ",", "int", "SPAdj", ",", "unsigned", "FIOperandNum", ",", "RegScavenger", "*", ")", "const", "{", "}", ""], "natrual_language": ["This", "method", "must", "be", "overriden", "to", "eliminate", "abstract", "frame", "indices", "from", "instructions", "which", "may", "use", "them", "."], "TS_V_token": ["JVM", "JVM"], "File": "JVMRegisterInfo", "Func": "eliminateFrameIndex", "Target": "JVM", "Target_Clf": "Virtual ISA", "Compiler_Type": "LLVM", "Idx": 1706, "Length": 22, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "static", "bool", "arm_xscale_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", "COMPARE", ":", "if", "(", "GET_CODE", "(", "XEXP", "(", "x", ",", "0", ")", ")", "!=", "MULT", ")", "return", "arm_rtx_costs_1", "(", "x", ",", "outer_code", ",", "total", ",", "speed", ")", ";", "*", "total", "=", "COSTS_N_INSNS", "(", "3", ")", ";", "return", "false", ";", "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", ")", ")", ";", "int", "cost", "=", "1", ";", "unsigned", "HOST_WIDE_INT", "masked_const", ";", "if", "(", "i", "&", "0x80000000", ")", "i", "=", "~", "i", ";", "i", "&=", "(", "unsigned", "HOST_WIDE_INT", ")", "0xffffffff", ";", "masked_const", "=", "i", "&", "0xffff8000", ";", "if", "(", "masked_const", "!=", "0", ")", "{", "cost", "++", ";", "masked_const", "=", "i", "&", "0xf8000000", ";", "if", "(", "masked_const", "!=", "0", ")", "cost", "++", ";", "}", "*", "total", "=", "COSTS_N_INSNS", "(", "cost", ")", ";", "return", "false", ";", "}", "if", "(", "mode", "==", "SImode", ")", "{", "*", "total", "=", "COSTS_N_INSNS", "(", "3", ")", ";", "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", "XScale", "CPUs", ".", "Thumb-2", "is", "not", "supported", "on", "any", "xscale", "cores", ",", "so", "it", "can", "be", "ignored", "."], "TS_V_token": ["arm", "0", "3", "0", "1", "0", "0", "2", "5", "1", "1", "1", "0x80000000", "0xffffffff", "0xffff8000", "0", "0xf8000000", "0", "3", "20"], "File": "arm4", "Func": "arm_xscale_rtx_costs", "Target": "arm", "Target_Clf": "CPU", "Compiler_Type": "GCC", "Idx": 1707, "Length": 331, "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": ["R600"], "File": "AMDGPUTargetTransformInfo", "Func": "initializePass", "Target": "R600", "Target_Clf": "GPU", "Compiler_Type": "LLVM", "Idx": 1708, "Length": 12, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "SDValue", "TeakTargetLowering", "::", "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_Teak", ")", ";", "for", "(", "auto", "&", "VA", ":", "ArgLocs", ")", "{", "if", "(", "VA", ".", "isRegLoc", "(", ")", ")", "{", "EVT", "RegVT", "=", "VA", ".", "getLocVT", "(", ")", ";", "const", "TargetRegisterClass", "*", "RC", ";", "if", "(", "RegVT", "==", "MVT", "::", "i16", ")", "RC", "=", "&", "Teak", "::", "ABLRegsRegClass", ";", "else", "if", "(", "RegVT", "==", "MVT", "::", "i40", ")", "RC", "=", "&", "Teak", "::", "ABRegsRegClass", ";", "else", "llvm_unreachable", "(", "\"RegVT not supported by FORMAL_ARGUMENTS Lowering\"", ")", ";", "dbgs", "(", ")", "<<", "\"LowerFormalArguments: \"", "<<", "RegVT", ".", "getEVTString", "(", ")", "<<", "\" locreg=\"", "<<", "VA", ".", "getLocReg", "(", ")", "<<", "\"\\n\"", ";", "unsigned", "VReg", "=", "MF", ".", "addLiveIn", "(", "VA", ".", "getLocReg", "(", ")", ",", "RC", ")", ";", "SDValue", "ArgIn", "=", "DAG", ".", "getCopyFromReg", "(", "Chain", ",", "dl", ",", "VReg", ",", "RegVT", ")", ";", "InVals", ".", "push_back", "(", "ArgIn", ")", ";", "continue", ";", "}", "assert", "(", "VA", ".", "isRegLoc", "(", ")", "&&", "\"TODO implement argument passing on stack\"", ")", ";", "}", "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": ["Teak", "Teak", "ISD::InputArg", "\"VarArg not supported\"", "16", "Teak", "MVT::i16", "Teak::ABLRegsRegClass", "MVT::i40", "Teak::ABRegsRegClass", "\"RegVT not supported by FORMAL_ARGUMENTS Lowering\"", "\"LowerFormalArguments: \"", "\" locreg=\"", "\"\\n\"", "\"TODO implement argument passing on stack\""], "File": "TeakISelLowering", "Func": "LowerFormalArguments", "Target": "Teak", "Target_Clf": "DSP", "Compiler_Type": "LLVM", "Idx": 1709, "Length": 261, "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": 1710, "Length": 425, "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": 1711, "Length": 20, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "void", "Z80AsmPrinter", "::", "EmitInstruction", "(", "const", "MachineInstr", "*", "MI", ")", "{", "Z80MCInstLower", "MCInstLowering", "(", "Mang", ",", "*", "MF", ",", "*", "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": ["Z80", "Z80", "Z80"], "File": "Z80AsmPrinter (2)", "Func": "EmitInstruction", "Target": "Z80", "Target_Clf": "MPU", "Compiler_Type": "LLVM", "Idx": 1712, "Length": 43, "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": ["RI5CY", "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", "Func": "isCopyInstrImpl", "Target": "RI5CY", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 1713, "Length": 197, "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": 1714, "Length": 60, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "Optional", "<", "Instruction", "*", ">", "NVPTXTTIImpl", "::", "instCombineIntrinsic", "(", "InstCombiner", "&", "IC", ",", "IntrinsicInst", "&", "II", ")", "const", "{", "if", "(", "Instruction", "*", "I", "=", "simplifyNvvmIntrinsic", "(", "&", "II", ",", "IC", ")", ")", "{", "return", "I", ";", "}", "return", "None", ";", "}", ""], "natrual_language": ["Targets", "can", "implement", "their", "own", "combinations", "for", "target-specific", "intrinsics", "."], "TS_V_token": ["NVPTX", "NVPTX"], "File": "NVPTXTargetTransformInfo11", "Func": "instCombineIntrinsic", "Target": "NVPTX", "Target_Clf": "GPU", "Compiler_Type": "LLVM", "Idx": 1715, "Length": 42, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "SDValue", "PatmosTargetLowering", "::", "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_Patmos", ")", ";", "for", "(", "unsigned", "i", "=", "0", ";", "i", "!=", "RVLocs", ".", "size", "(", ")", ";", "++", "i", ")", "{", "assert", "(", "(", "RVLocs", "[", "i", "]", ".", "getLocReg", "(", ")", "==", "Patmos", "::", "R1", "||", "RVLocs", "[", "i", "]", ".", "getLocReg", "(", ")", "==", "Patmos", "::", "R2", ")", "&&", "\"Invalid return register\"", ")", ";", "Chain", "=", "DAG", ".", "getCopyFromReg", "(", "Chain", ",", "dl", ",", "RVLocs", "[", "i", "]", ".", "getLocReg", "(", ")", ",", "MVT", "::", "i32", ",", "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": ["Patmos", "Patmos", "ISD::InputArg", "16", "Patmos", "0", "Patmos::R1", "Patmos::R2", "\"Invalid return register\"", "MVT::i32", "1", "2", "0"], "File": "PatmosISelLowering", "Func": "LowerCallResult", "Target": "Patmos", "Target_Clf": "VLIW", "Compiler_Type": "LLVM", "Idx": 1716, "Length": 198, "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": 1717, "Length": 29, "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": 1718, "Length": 21, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "SDValue", "WebAssemblyTargetLowering", "::", "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", "(", ")", ";", "assert", "(", "Outs", ".", "size", "(", ")", "<=", "1", "&&", "\"WebAssembly can only return up to one value\"", ")", ";", "if", "(", "CallConv", "!=", "CallingConv", "::", "C", ")", "fail", "(", "DL", ",", "DAG", ",", "\"WebAssembly doesn't support non-C calling conventions\"", ")", ";", "if", "(", "IsVarArg", ")", "fail", "(", "DL", ",", "DAG", ",", "\"WebAssembly doesn't support varargs yet\"", ")", ";", "SmallVector", "<", "SDValue", ",", "4", ">", "RetOps", "(", "1", ",", "Chain", ")", ";", "RetOps", ".", "append", "(", "OutVals", ".", "begin", "(", ")", ",", "OutVals", ".", "end", "(", ")", ")", ";", "Chain", "=", "DAG", ".", "getNode", "(", "WebAssemblyISD", "::", "RETURN", ",", "DL", ",", "MVT", "::", "Other", ",", "RetOps", ")", ";", "for", "(", "const", "ISD", "::", "OutputArg", "&", "Out", ":", "Outs", ")", "{", "if", "(", "Out", ".", "Flags", ".", "isByVal", "(", ")", ")", "fail", "(", "DL", ",", "DAG", ",", "\"WebAssembly hasn't implemented byval results\"", ")", ";", "if", "(", "Out", ".", "Flags", ".", "isInAlloca", "(", ")", ")", "fail", "(", "DL", ",", "DAG", ",", "\"WebAssembly hasn't implemented inalloca results\"", ")", ";", "if", "(", "Out", ".", "Flags", ".", "isNest", "(", ")", ")", "fail", "(", "DL", ",", "DAG", ",", "\"WebAssembly hasn't implemented nest results\"", ")", ";", "if", "(", "Out", ".", "Flags", ".", "isInConsecutiveRegs", "(", ")", ")", "fail", "(", "DL", ",", "DAG", ",", "\"WebAssembly hasn't implemented cons regs results\"", ")", ";", "if", "(", "Out", ".", "Flags", ".", "isInConsecutiveRegsLast", "(", ")", ")", "fail", "(", "DL", ",", "DAG", ",", "\"WebAssembly hasn't implemented cons regs last results\"", ")", ";", "if", "(", "!", "Out", ".", "IsFixed", ")", "fail", "(", "DL", ",", "DAG", ",", "\"WebAssembly doesn't support non-fixed results yet\"", ")", ";", "MF", ".", "getInfo", "<", "WebAssemblyFunctionInfo", ">", "(", ")", "->", "addResult", "(", "Out", ".", "VT", ")", ";", "}", "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": ["WebAssembly", "WebAssembly", "ISD::OutputArg", "1", "\"WebAssembly can only return up to one value\"", "\"WebAssembly doesn't support non-C calling conventions\"", "\"WebAssembly doesn't support varargs yet\"", "4", "1", "WebAssemblyISD::RETURN", "MVT::Other", "ISD::OutputArg", "\"WebAssembly hasn't implemented byval results\"", "\"WebAssembly hasn't implemented inalloca results\"", "\"WebAssembly hasn't implemented nest results\"", "\"WebAssembly hasn't implemented cons regs results\"", "\"WebAssembly hasn't implemented cons regs last results\"", "\"WebAssembly doesn't support non-fixed results yet\"", "WebAssembly"], "File": "WebAssemblyISelLowering46", "Func": "LowerReturn", "Target": "WebAssembly", "Target_Clf": "Virtual ISA", "Compiler_Type": "LLVM", "Idx": 1719, "Length": 289, "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": 1720, "Length": 101, "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": 1721, "Length": 214, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "void", "truncate", "(", "unsigned", "NewLength", ")", "{", "assert", "(", "(", "NewLength", "<=", "Buffer", ".", "size", "(", ")", ")", "&&", "\"instruction buffer too short to truncate\"", ")", ";", "Buffer", ".", "resize", "(", "NewLength", ")", ";", "}", ""], "natrual_language": ["Like", "resize", ",", "but", "requires", "that", "N", "is", "less", "than", "size", "(", ")", "."], "TS_V_token": ["M68k", "\"instruction buffer too short to truncate\""], "File": "M68kDisassembler", "Func": "truncate", "Target": "M68k", "Target_Clf": "MPU", "Compiler_Type": "LLVM", "Idx": 1722, "Length": 30, "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": 1723, "Length": 93, "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": 1724, "Length": 483, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "SDValue", "BPFTargetLowering", "::", "LowerCallResult", "(", "SDValue", "Chain", ",", "SDValue", "InFlag", ",", "CallingConv", "::", "ID", "CallConv", ",", "bool", "IsVarArg", ",", "const", "SmallVectorImpl", "<", "ISD", "::", "InputArg", ">", "&", "Ins", ",", "const", "SDLoc", "&", "DL", ",", "SelectionDAG", "&", "DAG", ",", "SmallVectorImpl", "<", "SDValue", ">", "&", "InVals", ")", "const", "{", "MachineFunction", "&", "MF", "=", "DAG", ".", "getMachineFunction", "(", ")", ";", "SmallVector", "<", "CCValAssign", ",", "16", ">", "RVLocs", ";", "CCState", "CCInfo", "(", "CallConv", ",", "IsVarArg", ",", "MF", ",", "RVLocs", ",", "*", "DAG", ".", "getContext", "(", ")", ")", ";", "if", "(", "Ins", ".", "size", "(", ")", ">=", "2", ")", "{", "fail", "(", "DL", ",", "DAG", ",", "\"only small returns supported\"", ")", ";", "for", "(", "unsigned", "i", "=", "0", ",", "e", "=", "Ins", ".", "size", "(", ")", ";", "i", "!=", "e", ";", "++", "i", ")", "InVals", ".", "push_back", "(", "DAG", ".", "getConstant", "(", "0", ",", "DL", ",", "Ins", "[", "i", "]", ".", "VT", ")", ")", ";", "return", "DAG", ".", "getCopyFromReg", "(", "Chain", ",", "DL", ",", "1", ",", "Ins", "[", "0", "]", ".", "VT", ",", "InFlag", ")", ".", "getValue", "(", "1", ")", ";", "}", "CCInfo", ".", "AnalyzeCallResult", "(", "Ins", ",", "RetCC_BPF64", ")", ";", "for", "(", "auto", "&", "Val", ":", "RVLocs", ")", "{", "Chain", "=", "DAG", ".", "getCopyFromReg", "(", "Chain", ",", "DL", ",", "Val", ".", "getLocReg", "(", ")", ",", "Val", ".", "getValVT", "(", ")", ",", "InFlag", ")", ".", "getValue", "(", "1", ")", ";", "InFlag", "=", "Chain", ".", "getValue", "(", "2", ")", ";", "InVals", ".", "push_back", "(", "Chain", ".", "getValue", "(", "0", ")", ")", ";", "}", "return", "Chain", ";", "}", ""], "natrual_language": ["LowerCallResult", "-", "Lower", "the", "result", "values", "of", "an", "ISD", ":", ":CALL", "into", "the", "appropriate", "copies", "out", "of", "appropriate", "physical", "registers", "."], "TS_V_token": ["BPF", "BPF", "ISD::InputArg", "16", "2", "\"only small returns supported\"", "0", "0", "1", "0", "1", "BPF", "1", "2", "0"], "File": "BPFISelLowering11", "Func": "LowerCallResult", "Target": "BPF", "Target_Clf": "Virtual ISA", "Compiler_Type": "LLVM", "Idx": 1725, "Length": 248, "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": 1726, "Length": 12, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "StringRef", "getPassName", "(", ")", "const", "override", "{", "return", "\"Patmos Function Splitter\"", ";", "}", ""], "natrual_language": ["getPassName", "-", "Return", "a", "nice", "clean", "name", "for", "a", "pass", "."], "TS_V_token": ["Patmos", "\"Patmos Function Splitter\""], "File": "PatmosFunctionSplitter1", "Func": "getPassName", "Target": "Patmos", "Target_Clf": "VLIW", "Compiler_Type": "LLVM", "Idx": 1727, "Length": 11, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "bool", "HexagonGenInsert", "::", "removeDeadCode", "(", "MachineDomTreeNode", "*", "N", ")", "{", "bool", "Changed", "=", "false", ";", "for", "(", "auto", "*", "DTN", ":", "children", "<", "MachineDomTreeNode", "*", ">", "(", "N", ")", ")", "Changed", "|=", "removeDeadCode", "(", "DTN", ")", ";", "MachineBasicBlock", "*", "B", "=", "N", "->", "getBlock", "(", ")", ";", "std", "::", "vector", "<", "MachineInstr", "*", ">", "Instrs", ";", "for", "(", "auto", "I", "=", "B", "->", "rbegin", "(", ")", ",", "E", "=", "B", "->", "rend", "(", ")", ";", "I", "!=", "E", ";", "++", "I", ")", "Instrs", ".", "push_back", "(", "&", "*", "I", ")", ";", "for", "(", "auto", "I", "=", "Instrs", ".", "begin", "(", ")", ",", "E", "=", "Instrs", ".", "end", "(", ")", ";", "I", "!=", "E", ";", "++", "I", ")", "{", "MachineInstr", "*", "MI", "=", "*", "I", ";", "unsigned", "Opc", "=", "MI", "->", "getOpcode", "(", ")", ";", "if", "(", "Opc", "==", "TargetOpcode", "::", "LIFETIME_START", "||", "Opc", "==", "TargetOpcode", "::", "LIFETIME_END", ")", "continue", ";", "bool", "Store", "=", "false", ";", "if", "(", "MI", "->", "isInlineAsm", "(", ")", "||", "!", "MI", "->", "isSafeToMove", "(", "nullptr", ",", "Store", ")", ")", "continue", ";", "bool", "AllDead", "=", "true", ";", "SmallVector", "<", "unsigned", ",", "2", ">", "Regs", ";", "for", "(", "const", "MachineOperand", "&", "MO", ":", "MI", "->", "operands", "(", ")", ")", "{", "if", "(", "!", "MO", ".", "isReg", "(", ")", "||", "!", "MO", ".", "isDef", "(", ")", ")", "continue", ";", "unsigned", "R", "=", "MO", ".", "getReg", "(", ")", ";", "if", "(", "!", "TargetRegisterInfo", "::", "isVirtualRegister", "(", "R", ")", "||", "!", "MRI", "->", "use_nodbg_empty", "(", "R", ")", ")", "{", "AllDead", "=", "false", ";", "break", ";", "}", "Regs", ".", "push_back", "(", "R", ")", ";", "}", "if", "(", "!", "AllDead", ")", "continue", ";", "B", "->", "erase", "(", "MI", ")", ";", "for", "(", "unsigned", "I", "=", "0", ",", "N", "=", "Regs", ".", "size", "(", ")", ";", "I", "!=", "N", ";", "++", "I", ")", "MRI", "->", "markUsesInDebugValueAsUndef", "(", "Regs", "[", "I", "]", ")", ";", "Changed", "=", "true", ";", "}", "return", "Changed", ";", "}", ""], "natrual_language": ["Remove", "all", "dead", "instructions", "between", "the", "I", "and", "E", "."], "TS_V_token": ["Hexagon", "Hexagon", "2", "0"], "File": "HexagonGenInsert11", "Func": "removeDeadCode", "Target": "Hexagon", "Target_Clf": "DSP", "Compiler_Type": "LLVM", "Idx": 1728, "Length": 318, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "void", "PPCHazardRecognizer970", "::", "EmitInstruction", "(", "SUnit", "*", "SU", ")", "{", "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", ";", "unsigned", "Opcode", "=", "Node", "->", "getMachineOpcode", "(", ")", ";", "if", "(", "Opcode", "==", "PPC", "::", "MTCTR", "||", "Opcode", "==", "PPC", "::", "MTCTR8", ")", "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", "::", "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", "PPC::MTCTR8", "\"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::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": "PPCHazardRecognizers30", "Func": "EmitInstruction", "Target": "PowerPC", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 1729, "Length": 403, "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": 1730, "Length": 23, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "StringRef", "getPassName", "(", ")", "const", "override", "{", "return", "\"M88k Assembly Printer\"", ";", "}", ""], "natrual_language": ["getPassName", "-", "Return", "a", "nice", "clean", "name", "for", "a", "pass", "."], "TS_V_token": ["M88k", "\"M88k Assembly Printer\""], "File": "M88kAsmPrinter", "Func": "getPassName", "Target": "M88k", "Target_Clf": "MPU", "Compiler_Type": "LLVM", "Idx": 1731, "Length": 11, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "virtual", "const", "AlphaInstrInfo", "*", "getInstrInfo", "(", ")", "const", "{", "return", "&", "InstrInfo", ";", "}", ""], "natrual_language": ["TargetInstrInfo", "getter", "."], "TS_V_token": ["Alpha", "Alpha"], "File": "AlphaTargetMachine", "Func": "getInstrInfo", "Target": "Alpha", "Target_Clf": "MPU", "Compiler_Type": "LLVM", "Idx": 1732, "Length": 14, "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": 1733, "Length": 152, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "bool", "X86TargetLowering", "::", "isMaskAndCmp0FoldingBeneficial", "(", "const", "Instruction", "&", "AndI", ")", "const", "{", "return", "true", ";", "}", ""], "natrual_language": ["Return", "if", "the", "target", "supports", "combining", "a", "chain", "like", ":"], "TS_V_token": ["X86", "X86"], "File": "X86ISelLowering (2)5", "Func": "isMaskAndCmp0FoldingBeneficial", "Target": "X86", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 1734, "Length": 16, "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": 1735, "Length": 30, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "void", "SITargetLowering", "::", "legalizeTargetIndependentNode", "(", "SDNode", "*", "Node", ",", "SelectionDAG", "&", "DAG", ")", "const", "{", "SmallVector", "<", "SDValue", ",", "8", ">", "Ops", ";", "for", "(", "unsigned", "i", "=", "0", ";", "i", "<", "Node", "->", "getNumOperands", "(", ")", ";", "++", "i", ")", "{", "if", "(", "!", "isa", "<", "FrameIndexSDNode", ">", "(", "Node", "->", "getOperand", "(", "i", ")", ")", ")", "{", "Ops", ".", "push_back", "(", "Node", "->", "getOperand", "(", "i", ")", ")", ";", "continue", ";", "}", "SDLoc", "DL", "(", "Node", ")", ";", "Ops", ".", "push_back", "(", "SDValue", "(", "DAG", ".", "getMachineNode", "(", "AMDGPU", "::", "S_MOV_B32", ",", "DL", ",", "Node", "->", "getOperand", "(", "i", ")", ".", "getValueType", "(", ")", ",", "Node", "->", "getOperand", "(", "i", ")", ")", ",", "0", ")", ")", ";", "}", "DAG", ".", "UpdateNodeOperands", "(", "Node", ",", "Ops", ")", ";", "}", ""], "natrual_language": ["Legalize", "target", "independent", "instructions", "(", "e.g", "."], "TS_V_token": ["R600", "SI", "8", "0", "0"], "File": "SIISelLowering111", "Func": "legalizeTargetIndependentNode", "Target": "R600", "Target_Clf": "GPU", "Compiler_Type": "LLVM", "Idx": 1736, "Length": 130, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "void", "WebAssemblyAsmPrinter", "::", "emitEndOfAsmFile", "(", "Module", "&", "M", ")", "{", "emitExternalDecls", "(", "M", ")", ";", "for", "(", "const", "auto", "&", "F", ":", "M", ")", "{", "if", "(", "!", "F", ".", "isIntrinsic", "(", ")", "&&", "F", ".", "hasAddressTaken", "(", ")", ")", "{", "MCSymbolWasm", "*", "FunctionTable", "=", "WebAssembly", "::", "getOrCreateFunctionTableSymbol", "(", "OutContext", ",", "Subtarget", ")", ";", "OutStreamer", "->", "emitSymbolAttribute", "(", "FunctionTable", ",", "MCSA_NoDeadStrip", ")", ";", "break", ";", "}", "}", "for", "(", "const", "auto", "&", "G", ":", "M", ".", "globals", "(", ")", ")", "{", "if", "(", "!", "G", ".", "hasInitializer", "(", ")", "&&", "G", ".", "hasExternalLinkage", "(", ")", "&&", "!", "WebAssembly", "::", "isWasmVarAddressSpace", "(", "G", ".", "getAddressSpace", "(", ")", ")", "&&", "G", ".", "getValueType", "(", ")", "->", "isSized", "(", ")", ")", "{", "uint16_t", "Size", "=", "M", ".", "getDataLayout", "(", ")", ".", "getTypeAllocSize", "(", "G", ".", "getValueType", "(", ")", ")", ";", "OutStreamer", "->", "emitELFSize", "(", "getSymbol", "(", "&", "G", ")", ",", "MCConstantExpr", "::", "create", "(", "Size", ",", "OutContext", ")", ")", ";", "}", "}", "if", "(", "const", "NamedMDNode", "*", "Named", "=", "M", ".", "getNamedMetadata", "(", "\"wasm.custom_sections\"", ")", ")", "{", "for", "(", "const", "Metadata", "*", "MD", ":", "Named", "->", "operands", "(", ")", ")", "{", "const", "auto", "*", "Tuple", "=", "dyn_cast", "<", "MDTuple", ">", "(", "MD", ")", ";", "if", "(", "!", "Tuple", "||", "Tuple", "->", "getNumOperands", "(", ")", "!=", "2", ")", "continue", ";", "const", "MDString", "*", "Name", "=", "dyn_cast", "<", "MDString", ">", "(", "Tuple", "->", "getOperand", "(", "0", ")", ")", ";", "const", "MDString", "*", "Contents", "=", "dyn_cast", "<", "MDString", ">", "(", "Tuple", "->", "getOperand", "(", "1", ")", ")", ";", "if", "(", "!", "Name", "||", "!", "Contents", ")", "continue", ";", "OutStreamer", "->", "PushSection", "(", ")", ";", "std", "::", "string", "SectionName", "=", "(", "\".custom_section.\"", "+", "Name", "->", "getString", "(", ")", ")", ".", "str", "(", ")", ";", "MCSectionWasm", "*", "MySection", "=", "OutContext", ".", "getWasmSection", "(", "SectionName", ",", "SectionKind", "::", "getMetadata", "(", ")", ")", ";", "OutStreamer", "->", "SwitchSection", "(", "MySection", ")", ";", "OutStreamer", "->", "emitBytes", "(", "Contents", "->", "getString", "(", ")", ")", ";", "OutStreamer", "->", "PopSection", "(", ")", ";", "}", "}", "EmitProducerInfo", "(", "M", ")", ";", "EmitTargetFeatures", "(", "M", ")", ";", "}", ""], "natrual_language": ["This", "virtual", "method", "can", "be", "overridden", "by", "targets", "that", "want", "to", "emit", "something", "at", "the", "end", "of", "their", "file", "."], "TS_V_token": ["WebAssembly", "WebAssembly", "WebAssembly::getOrCreateFunctionTableSymbol", "WebAssembly::isWasmVarAddressSpace", "\"wasm.custom_sections\"", "2", "0", "1", "\".custom_section.\""], "File": "WebAssemblyAsmPrinter (2)1", "Func": "emitEndOfAsmFile", "Target": "WebAssembly", "Target_Clf": "Virtual ISA", "Compiler_Type": "LLVM", "Idx": 1737, "Length": 341, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "static", "void", "visium_print_operand_address", "(", "FILE", "*", "file", ",", "enum", "machine_mode", "mode", ",", "rtx", "addr", ")", "{", "switch", "(", "GET_CODE", "(", "addr", ")", ")", "{", "case", "REG", ":", "case", "SUBREG", ":", "fprintf", "(", "file", ",", "\"(%s)\"", ",", "reg_names", "[", "true_regnum", "(", "addr", ")", "]", ")", ";", "break", ";", "case", "PLUS", ":", "{", "rtx", "x", "=", "XEXP", "(", "addr", ",", "0", ")", ",", "y", "=", "XEXP", "(", "addr", ",", "1", ")", ";", "switch", "(", "GET_CODE", "(", "x", ")", ")", "{", "case", "REG", ":", "case", "SUBREG", ":", "if", "(", "CONST_INT_P", "(", "y", ")", ")", "{", "unsigned", "int", "regno", "=", "true_regnum", "(", "x", ")", ";", "HOST_WIDE_INT", "val", "=", "INTVAL", "(", "y", ")", ";", "switch", "(", "mode", ")", "{", "case", "SImode", ":", "case", "DImode", ":", "case", "SFmode", ":", "case", "DFmode", ":", "val", ">>=", "2", ";", "break", ";", "case", "HImode", ":", "val", ">>=", "1", ";", "break", ";", "case", "QImode", ":", "default", ":", "break", ";", "}", "fprintf", "(", "file", ",", "HOST_WIDE_INT_PRINT_DEC", "\"(%s)\"", ",", "val", ",", "reg_names", "[", "regno", "]", ")", ";", "}", "else", "fatal_insn", "(", "\"illegal operand address (1)\"", ",", "addr", ")", ";", "break", ";", "default", ":", "if", "(", "CONSTANT_P", "(", "x", ")", "&&", "CONSTANT_P", "(", "y", ")", ")", "output_addr_const", "(", "file", ",", "addr", ")", ";", "else", "fatal_insn", "(", "\"illegal operand address (2)\"", ",", "addr", ")", ";", "break", ";", "}", "}", "break", ";", "case", "LABEL_REF", ":", "case", "SYMBOL_REF", ":", "case", "CONST_INT", ":", "case", "CONST", ":", "output_addr_const", "(", "file", ",", "addr", ")", ";", "break", ";", "case", "NOTE", ":", "if", "(", "NOTE_KIND", "(", "addr", ")", "!=", "NOTE_INSN_DELETED_LABEL", ")", "fatal_insn", "(", "\"illegal operand address (3)\"", ",", "addr", ")", ";", "break", ";", "case", "CODE_LABEL", ":", "asm_fprintf", "(", "file", ",", "\"%LL%d\"", ",", "CODE_LABEL_NUMBER", "(", "addr", ")", ")", ";", "break", ";", "default", ":", "fatal_insn", "(", "\"illegal operand address (4)\"", ",", "addr", ")", ";", "break", ";", "}", "}", ""], "natrual_language": ["Implement", "TARGET_PRINT_OPERAND_ADDRESS", ".", "Output", "to", "stdio", "stream", "FILE", "the", "assembler", "syntax", "for", "an", "instruction", "operand", "that", "is", "a", "memory", "reference", "whose", "address", "is", "ADDR", "."], "TS_V_token": ["visium", "\"(%s)\"", "0", "1", "2", "1", "\"(%s)\"", "\"illegal operand address (1)\"", "\"illegal operand address (2)\"", "\"illegal operand address (3)\"", "\"%LL%d\"", "\"illegal operand address (4)\""], "File": "visium3", "Func": "visium_print_operand_address", "Target": "visium", "Target_Clf": "Virtual ISA", "Compiler_Type": "GCC", "Idx": 1738, "Length": 282, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "void", "getAnalysisUsage", "(", "AnalysisUsage", "&", "AU", ")", "const", "{", "AU", ".", "setPreservesAll", "(", ")", ";", "AU", ".", "addRequired", "<", "MachineModuleInfo", ">", "(", ")", ";", "AU", ".", "addRequired", "<", "DwarfWriter", ">", "(", ")", ";", "SPUAsmPrinter", "::", "getAnalysisUsage", "(", "AU", ")", ";", "}", ""], "natrual_language": ["getAnalysisUsage", "-", "Subclasses", "that", "override", "getAnalysisUsage", "must", "call", "this", "."], "TS_V_token": ["CellSPU", "SPU"], "File": "SPUAsmPrinter1", "Func": "getAnalysisUsage", "Target": "CellSPU", "Target_Clf": "MPU", "Compiler_Type": "LLVM", "Idx": 1739, "Length": 41, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "void", "SIFrameLowering", "::", "processFunctionBeforeFrameFinalized", "(", "MachineFunction", "&", "MF", ",", "RegScavenger", "*", "RS", ")", "const", "{", "MachineFrameInfo", "&", "MFI", "=", "MF", ".", "getFrameInfo", "(", ")", ";", "const", "GCNSubtarget", "&", "ST", "=", "MF", ".", "getSubtarget", "<", "GCNSubtarget", ">", "(", ")", ";", "const", "SIRegisterInfo", "*", "TRI", "=", "ST", ".", "getRegisterInfo", "(", ")", ";", "SIMachineFunctionInfo", "*", "FuncInfo", "=", "MF", ".", "getInfo", "<", "SIMachineFunctionInfo", ">", "(", ")", ";", "FuncInfo", "->", "removeDeadFrameIndices", "(", "MFI", ")", ";", "assert", "(", "allSGPRSpillsAreDead", "(", "MFI", ",", "None", ",", "None", ")", "&&", "\"SGPR spill should have been removed in SILowerSGPRSpills\"", ")", ";", "if", "(", "!", "allStackObjectsAreDead", "(", "MFI", ")", ")", "{", "assert", "(", "RS", "&&", "\"RegScavenger required if spilling\"", ")", ";", "if", "(", "FuncInfo", "->", "isEntryFunction", "(", ")", ")", "{", "int", "ScavengeFI", "=", "MFI", ".", "CreateFixedObject", "(", "TRI", "->", "getSpillSize", "(", "AMDGPU", "::", "SGPR_32RegClass", ")", ",", "0", ",", "false", ")", ";", "RS", "->", "addScavengingFrameIndex", "(", "ScavengeFI", ")", ";", "}", "else", "{", "int", "ScavengeFI", "=", "MFI", ".", "CreateStackObject", "(", "TRI", "->", "getSpillSize", "(", "AMDGPU", "::", "SGPR_32RegClass", ")", ",", "TRI", "->", "getSpillAlign", "(", "AMDGPU", "::", "SGPR_32RegClass", ")", ",", "false", ")", ";", "RS", "->", "addScavengingFrameIndex", "(", "ScavengeFI", ")", ";", "}", "}", "}", ""], "natrual_language": ["processFunctionBeforeFrameFinalized", "-", "This", "method", "is", "called", "immediately", "before", "the", "specified", "function", "'s", "frame", "layout", "(", "MF.getFrameInfo", "(", ")", ")", "is", "finalized", "."], "TS_V_token": ["AMDGPU", "SI", "SI", "SI", "SI", "\"SGPR spill should have been removed in SILowerSGPRSpills\"", "\"RegScavenger required if spilling\"", "AMDGPU::SGPR_32RegClass", "0", "AMDGPU::SGPR_32RegClass", "AMDGPU::SGPR_32RegClass"], "File": "SIFrameLowering32", "Func": "processFunctionBeforeFrameFinalized", "Target": "AMDGPU", "Target_Clf": "GPU", "Compiler_Type": "LLVM", "Idx": 1740, "Length": 178, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "SDValue", "PIC16TargetLowering", "::", "LowerFormalArguments", "(", "SDValue", "Chain", ",", "CallingConv", "::", "ID", "CallConv", ",", "bool", "isVarArg", ",", "const", "SmallVectorImpl", "<", "ISD", "::", "InputArg", ">", "&", "Ins", ",", "DebugLoc", "dl", ",", "SelectionDAG", "&", "DAG", ",", "SmallVectorImpl", "<", "SDValue", ">", "&", "InVals", ")", "{", "unsigned", "NumArgVals", "=", "Ins", ".", "size", "(", ")", ";", "MachineFunction", "&", "MF", "=", "DAG", ".", "getMachineFunction", "(", ")", ";", "const", "Function", "*", "F", "=", "MF", ".", "getFunction", "(", ")", ";", "std", "::", "string", "FuncName", "=", "F", "->", "getName", "(", ")", ";", "ResetTmpOffsetMap", "(", ")", ";", "InitReservedFrameCount", "(", "F", ")", ";", "const", "char", "*", "tmpName", "=", "createESName", "(", "PAN", "::", "getArgsLabel", "(", "FuncName", ")", ")", ";", "SDValue", "ES", "=", "DAG", ".", "getTargetExternalSymbol", "(", "tmpName", ",", "MVT", "::", "i8", ")", ";", "SDVTList", "VTs", "=", "DAG", ".", "getVTList", "(", "MVT", "::", "i8", ",", "MVT", "::", "Other", ")", ";", "SDValue", "BS", "=", "DAG", ".", "getConstant", "(", "1", ",", "MVT", "::", "i8", ")", ";", "for", "(", "unsigned", "i", "=", "0", ";", "i", "<", "NumArgVals", ";", "++", "i", ")", "{", "SDValue", "Offset", "=", "DAG", ".", "getConstant", "(", "i", ",", "MVT", "::", "i8", ")", ";", "SDValue", "PICLoad", "=", "DAG", ".", "getNode", "(", "PIC16ISD", "::", "PIC16LdArg", ",", "dl", ",", "VTs", ",", "Chain", ",", "ES", ",", "BS", ",", "Offset", ")", ";", "Chain", "=", "getChain", "(", "PICLoad", ")", ";", "InVals", ".", "push_back", "(", "PICLoad", ")", ";", "}", "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": ["PIC16", "PIC16", "ISD::InputArg", "MVT::i8", "MVT::i8", "MVT::Other", "1", "MVT::i8", "0", "MVT::i8", "PIC16ISD::PIC16LdArg"], "File": "PIC16ISelLowering4", "Func": "LowerFormalArguments", "Target": "PIC16", "Target_Clf": "MPU", "Compiler_Type": "LLVM", "Idx": 1741, "Length": 222, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "virtual", "const", "MBlazeInstrInfo", "*", "getInstrInfo", "(", ")", "const", "{", "return", "&", "InstrInfo", ";", "}", ""], "natrual_language": ["TargetInstrInfo", "getter", "."], "TS_V_token": ["MBlaze", "MBlaze"], "File": "MBlazeTargetMachine", "Func": "getInstrInfo", "Target": "MBlaze", "Target_Clf": "MPU", "Compiler_Type": "LLVM", "Idx": 1742, "Length": 14, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "SUnit", "*", "R600SchedStrategy", "::", "pickNode", "(", "bool", "&", "IsTopNode", ")", "{", "SUnit", "*", "SU", "=", "nullptr", ";", "NextInstKind", "=", "IDOther", ";", "IsTopNode", "=", "false", ";", "bool", "AllowSwitchToAlu", "=", "(", "CurEmitted", ">=", "InstKindLimit", "[", "CurInstKind", "]", ")", "||", "(", "Available", "[", "CurInstKind", "]", ".", "empty", "(", ")", ")", ";", "bool", "AllowSwitchFromAlu", "=", "(", "CurEmitted", ">=", "InstKindLimit", "[", "CurInstKind", "]", ")", "&&", "(", "!", "Available", "[", "IDFetch", "]", ".", "empty", "(", ")", "||", "!", "Available", "[", "IDOther", "]", ".", "empty", "(", ")", ")", ";", "if", "(", "CurInstKind", "==", "IDAlu", "&&", "!", "Available", "[", "IDFetch", "]", ".", "empty", "(", ")", ")", "{", "float", "ALUFetchRationEstimate", "=", "(", "AluInstCount", "+", "AvailablesAluCount", "(", ")", "+", "Pending", "[", "IDAlu", "]", ".", "size", "(", ")", ")", "/", "(", "FetchInstCount", "+", "Available", "[", "IDFetch", "]", ".", "size", "(", ")", ")", ";", "if", "(", "ALUFetchRationEstimate", "==", "0", ")", "{", "AllowSwitchFromAlu", "=", "true", ";", "}", "else", "{", "unsigned", "NeededWF", "=", "62.5f", "/", "ALUFetchRationEstimate", ";", "LLVM_DEBUG", "(", "dbgs", "(", ")", "<<", "NeededWF", "<<", "\" approx. Wavefronts Required\\n\"", ")", ";", "unsigned", "NearRegisterRequirement", "=", "2", "*", "Available", "[", "IDFetch", "]", ".", "size", "(", ")", ";", "if", "(", "NeededWF", ">", "getWFCountLimitedByGPR", "(", "NearRegisterRequirement", ")", ")", "AllowSwitchFromAlu", "=", "true", ";", "}", "}", "if", "(", "!", "SU", "&&", "(", "(", "AllowSwitchToAlu", "&&", "CurInstKind", "!=", "IDAlu", ")", "||", "(", "!", "AllowSwitchFromAlu", "&&", "CurInstKind", "==", "IDAlu", ")", ")", ")", "{", "SU", "=", "pickAlu", "(", ")", ";", "if", "(", "!", "SU", "&&", "!", "PhysicalRegCopy", ".", "empty", "(", ")", ")", "{", "SU", "=", "PhysicalRegCopy", ".", "front", "(", ")", ";", "PhysicalRegCopy", ".", "erase", "(", "PhysicalRegCopy", ".", "begin", "(", ")", ")", ";", "}", "if", "(", "SU", ")", "{", "if", "(", "CurEmitted", ">=", "InstKindLimit", "[", "IDAlu", "]", ")", "CurEmitted", "=", "0", ";", "NextInstKind", "=", "IDAlu", ";", "}", "}", "if", "(", "!", "SU", ")", "{", "SU", "=", "pickOther", "(", "IDFetch", ")", ";", "if", "(", "SU", ")", "NextInstKind", "=", "IDFetch", ";", "}", "if", "(", "!", "SU", ")", "{", "SU", "=", "pickOther", "(", "IDOther", ")", ";", "if", "(", "SU", ")", "NextInstKind", "=", "IDOther", ";", "}", "LLVM_DEBUG", "(", "if", "(", "SU", ")", "{", "dbgs", "(", ")", "<<", "\" ** Pick node **\\n\"", ";", "DAG", "->", "dumpNode", "(", "*", "SU", ")", ";", "}", "else", "{", "dbgs", "(", ")", "<<", "\"NO NODE \\n\"", ";", "for", "(", "const", "SUnit", "&", "S", ":", "DAG", "->", "SUnits", ")", "if", "(", "!", "S", ".", "isScheduled", ")", "DAG", "->", "dumpNode", "(", "S", ")", ";", "}", ""], "natrual_language": ["Pick", "the", "next", "node", "to", "schedule", ",", "or", "return", "NULL", "."], "TS_V_token": ["AMDGPU", "R600", "0", "62.5f", "\" approx. Wavefronts Required\\n\"", "2", "0", "\" ** Pick node **\\n\"", "\"NO NODE \\n\""], "File": "R600MachineScheduler10", "Func": "pickNode", "Target": "AMDGPU", "Target_Clf": "GPU", "Compiler_Type": "LLVM", "Idx": 1743, "Length": 381, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "int", "avr_ret_register", "(", ")", "{", "return", "24", ";", "}", ""], "natrual_language": ["Returns", "register", "number", "for", "function", "return", "value", "."], "TS_V_token": ["avr", "24"], "File": "avr2", "Func": "avr_ret_register", "Target": "avr", "Target_Clf": "MPU", "Compiler_Type": "GCC", "Idx": 1744, "Length": 9, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "SDValue", "SITargetLowering", "::", "PerformDAGCombine", "(", "SDNode", "*", "N", ",", "DAGCombinerInfo", "&", "DCI", ")", "const", "{", "SelectionDAG", "&", "DAG", "=", "DCI", ".", "DAG", ";", "SDLoc", "DL", "(", "N", ")", ";", "EVT", "VT", "=", "N", "->", "getValueType", "(", "0", ")", ";", "switch", "(", "N", "->", "getOpcode", "(", ")", ")", "{", "default", ":", "return", "AMDGPUTargetLowering", "::", "PerformDAGCombine", "(", "N", ",", "DCI", ")", ";", "case", "ISD", "::", "SELECT_CC", ":", "{", "ConstantSDNode", "*", "True", ",", "*", "False", ";", "if", "(", "(", "True", "=", "dyn_cast", "<", "ConstantSDNode", ">", "(", "N", "->", "getOperand", "(", "2", ")", ")", ")", "&&", "(", "False", "=", "dyn_cast", "<", "ConstantSDNode", ">", "(", "N", "->", "getOperand", "(", "3", ")", ")", ")", "&&", "True", "->", "isAllOnesValue", "(", ")", "&&", "False", "->", "isNullValue", "(", ")", "&&", "VT", "==", "MVT", "::", "i1", ")", "{", "return", "DAG", ".", "getNode", "(", "ISD", "::", "SETCC", ",", "DL", ",", "VT", ",", "N", "->", "getOperand", "(", "0", ")", ",", "N", "->", "getOperand", "(", "1", ")", ",", "N", "->", "getOperand", "(", "4", ")", ")", ";", "}", "break", ";", "}", "case", "ISD", "::", "SETCC", ":", "{", "SDValue", "Arg0", "=", "N", "->", "getOperand", "(", "0", ")", ";", "SDValue", "Arg1", "=", "N", "->", "getOperand", "(", "1", ")", ";", "SDValue", "CC", "=", "N", "->", "getOperand", "(", "2", ")", ";", "ConstantSDNode", "*", "C", "=", "nullptr", ";", "ISD", "::", "CondCode", "CCOp", "=", "dyn_cast", "<", "CondCodeSDNode", ">", "(", "CC", ")", "->", "get", "(", ")", ";", "if", "(", "VT", "==", "MVT", "::", "i1", "&&", "Arg0", ".", "getOpcode", "(", ")", "==", "ISD", "::", "SIGN_EXTEND", "&&", "Arg0", ".", "getOperand", "(", "0", ")", ".", "getValueType", "(", ")", "==", "MVT", "::", "i1", "&&", "(", "C", "=", "dyn_cast", "<", "ConstantSDNode", ">", "(", "Arg1", ")", ")", "&&", "C", "->", "isNullValue", "(", ")", "&&", "CCOp", "==", "ISD", "::", "SETNE", ")", "{", "return", "SimplifySetCC", "(", "VT", ",", "Arg0", ".", "getOperand", "(", "0", ")", ",", "DAG", ".", "getConstant", "(", "0", ",", "MVT", "::", "i1", ")", ",", "CCOp", ",", "true", ",", "DCI", ",", "DL", ")", ";", "}", "break", ";", "}", "case", "AMDGPUISD", "::", "CVT_F32_UBYTE0", ":", "case", "AMDGPUISD", "::", "CVT_F32_UBYTE1", ":", "case", "AMDGPUISD", "::", "CVT_F32_UBYTE2", ":", "case", "AMDGPUISD", "::", "CVT_F32_UBYTE3", ":", "{", "unsigned", "Offset", "=", "N", "->", "getOpcode", "(", ")", "-", "AMDGPUISD", "::", "CVT_F32_UBYTE0", ";", "SDValue", "Src", "=", "N", "->", "getOperand", "(", "0", ")", ";", "APInt", "Demanded", "=", "APInt", "::", "getBitsSet", "(", "32", ",", "8", "*", "Offset", ",", "8", "*", "Offset", "+", "8", ")", ";", "APInt", "KnownZero", ",", "KnownOne", ";", "TargetLowering", "::", "TargetLoweringOpt", "TLO", "(", "DAG", ",", "!", "DCI", ".", "isBeforeLegalize", "(", ")", ",", "!", "DCI", ".", "isBeforeLegalizeOps", "(", ")", ")", ";", "const", "TargetLowering", "&", "TLI", "=", "DAG", ".", "getTargetLoweringInfo", "(", ")", ";", "if", "(", "TLO", ".", "ShrinkDemandedConstant", "(", "Src", ",", "Demanded", ")", "||", "TLI", ".", "SimplifyDemandedBits", "(", "Src", ",", "Demanded", ",", "KnownZero", ",", "KnownOne", ",", "TLO", ")", ")", "{", "DCI", ".", "CommitTargetLoweringOpt", "(", "TLO", ")", ";", "}", "break", ";", "}", "case", "ISD", "::", "UINT_TO_FP", ":", "{", "return", "performUCharToFloatCombine", "(", "N", ",", "DCI", ")", ";", "}", "}", "return", "AMDGPUTargetLowering", "::", "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": ["R600", "SI", "0", "ISD::SELECT_CC", "2", "3", "MVT::i1", "ISD::SETCC", "0", "1", "4", "ISD::SETCC", "0", "1", "2", "ISD::CondCode", "MVT::i1", "ISD::SIGN_EXTEND", "0", "MVT::i1", "ISD::SETNE", "0", "0", "MVT::i1", "AMDGPUISD::CVT_F32_UBYTE0", "AMDGPUISD::CVT_F32_UBYTE1", "AMDGPUISD::CVT_F32_UBYTE2", "AMDGPUISD::CVT_F32_UBYTE3", "AMDGPUISD::CVT_F32_UBYTE0", "0", "32", "8", "8", "8", "ISD::UINT_TO_FP"], "File": "SIISelLowering22", "Func": "PerformDAGCombine", "Target": "R600", "Target_Clf": "GPU", "Compiler_Type": "LLVM", "Idx": 1745, "Length": 487, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "rtx", "microblaze_return_addr", "(", "int", "count", ",", "rtx", "frame", "ATTRIBUTE_UNUSED", ")", "{", "if", "(", "count", "!=", "0", ")", "return", "NULL_RTX", ";", "return", "get_hard_reg_initial_val", "(", "Pmode", ",", "MB_ABI_SUB_RETURN_ADDR_REGNUM", ")", ";", "}", ""], "natrual_language": ["Return", "an", "RTX", "indicating", "where", "the", "return", "address", "to", "the", "calling", "function", "can", "be", "found", "."], "TS_V_token": ["microblaze", "0"], "File": "microblaze", "Func": "microblaze_return_addr", "Target": "microblaze", "Target_Clf": "MPU", "Compiler_Type": "GCC", "Idx": 1746, "Length": 29, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "void", "StackVreg", "::", "print", "(", "const", "Stack", "&", "S", ")", "const", "{", "S", ".", "printElement", "(", "dbgs", "(", ")", ",", "*", "this", ")", ";", "}", ""], "natrual_language": ["print", "-", "Print", "a", "debug", "representation", "of", "the", "operand", "to", "the", "given", "stream", "."], "TS_V_token": ["TVM"], "File": "TVMStack", "Func": "print", "Target": "TVM", "Target_Clf": "Virtual ISA", "Compiler_Type": "LLVM", "Idx": 1747, "Length": 25, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "void", "R600InstrInfo", "::", "reserveIndirectRegisters", "(", "BitVector", "&", "Reserved", ",", "const", "MachineFunction", "&", "MF", ",", "const", "R600RegisterInfo", "&", "TRI", ")", "const", "{", "const", "R600Subtarget", "&", "ST", "=", "MF", ".", "getSubtarget", "<", "R600Subtarget", ">", "(", ")", ";", "const", "R600FrameLowering", "*", "TFL", "=", "ST", ".", "getFrameLowering", "(", ")", ";", "unsigned", "StackWidth", "=", "TFL", "->", "getStackWidth", "(", "MF", ")", ";", "int", "End", "=", "getIndirectIndexEnd", "(", "MF", ")", ";", "if", "(", "End", "==", "-", "1", ")", "return", ";", "for", "(", "int", "Index", "=", "getIndirectIndexBegin", "(", "MF", ")", ";", "Index", "<=", "End", ";", "++", "Index", ")", "{", "for", "(", "unsigned", "Chan", "=", "0", ";", "Chan", "<", "StackWidth", ";", "++", "Chan", ")", "{", "unsigned", "Reg", "=", "R600", "::", "R600_TReg32RegClass", ".", "getRegister", "(", "(", "4", "*", "Index", ")", "+", "Chan", ")", ";", "TRI", ".", "reserveRegisterTuples", "(", "Reserved", ",", "Reg", ")", ";", "}", "}", "}", ""], "natrual_language": ["Reserve", "the", "registers", "that", "may", "be", "accessed", "using", "indirect", "addressing", "."], "TS_V_token": ["AMDGPU", "R600", "R600", "R600", "R600", "R600", "1", "0", "R600::R600_TReg32RegClass", "4"], "File": "R600InstrInfo (2)1", "Func": "reserveIndirectRegisters", "Target": "AMDGPU", "Target_Clf": "GPU", "Compiler_Type": "LLVM", "Idx": 1748, "Length": 136, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "static", "void", "mips_ls2_variable_issue", "(", "rtx_insn", "*", "insn", ")", "{", "if", "(", "mips_ls2", ".", "alu1_turn_p", ")", "{", "if", "(", "cpu_unit_reservation_p", "(", "curr_state", ",", "mips_ls2", ".", "alu1_core_unit_code", ")", ")", "mips_ls2", ".", "alu1_turn_p", "=", "false", ";", "}", "else", "{", "if", "(", "cpu_unit_reservation_p", "(", "curr_state", ",", "mips_ls2", ".", "alu2_core_unit_code", ")", ")", "mips_ls2", ".", "alu1_turn_p", "=", "true", ";", "}", "if", "(", "mips_ls2", ".", "falu1_turn_p", ")", "{", "if", "(", "cpu_unit_reservation_p", "(", "curr_state", ",", "mips_ls2", ".", "falu1_core_unit_code", ")", ")", "mips_ls2", ".", "falu1_turn_p", "=", "false", ";", "}", "else", "{", "if", "(", "cpu_unit_reservation_p", "(", "curr_state", ",", "mips_ls2", ".", "falu2_core_unit_code", ")", ")", "mips_ls2", ".", "falu1_turn_p", "=", "true", ";", "}", "if", "(", "recog_memoized", "(", "insn", ")", ">=", "0", ")", "mips_ls2", ".", "cycle_has_multi_p", "|=", "(", "get_attr_type", "(", "insn", ")", "==", "TYPE_MULTI", ")", ";", "}", ""], "natrual_language": ["Update", "round-robin", "counters", "for", "ALU1/2", "and", "FALU1/2", "."], "TS_V_token": ["mips", "0"], "File": "mips", "Func": "mips_ls2_variable_issue", "Target": "mips", "Target_Clf": "CPU", "Compiler_Type": "GCC", "Idx": 1749, "Length": 122, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "unsigned", "SIRegisterInfo", "::", "reservedPrivateSegmentBufferReg", "(", "const", "MachineFunction", "&", "MF", ")", "const", "{", "const", "AMDGPUSubtarget", "&", "ST", "=", "MF", ".", "getSubtarget", "<", "AMDGPUSubtarget", ">", "(", ")", ";", "if", "(", "ST", ".", "hasSGPRInitBug", "(", ")", ")", "{", "unsigned", "BaseIdx", "=", "AMDGPUSubtarget", "::", "FIXED_SGPR_COUNT_FOR_INIT_BUG", "-", "4", "-", "4", ";", "if", "(", "ST", ".", "isXNACKEnabled", "(", ")", ")", "BaseIdx", "-=", "4", ";", "unsigned", "BaseReg", "(", "AMDGPU", "::", "SGPR_32RegClass", ".", "getRegister", "(", "BaseIdx", ")", ")", ";", "return", "getMatchingSuperReg", "(", "BaseReg", ",", "AMDGPU", "::", "sub0", ",", "&", "AMDGPU", "::", "SReg_128RegClass", ")", ";", "}", "if", "(", "ST", ".", "getGeneration", "(", ")", ">=", "AMDGPUSubtarget", "::", "VOLCANIC_ISLANDS", ")", "{", "return", "AMDGPU", "::", "SGPR92_SGPR93_SGPR94_SGPR95", ";", "}", "return", "AMDGPU", "::", "SGPR96_SGPR97_SGPR98_SGPR99", ";", "}", ""], "natrual_language": ["Return", "the", "end", "register", "initially", "reserved", "for", "the", "scratch", "buffer", "in", "case", "spilling", "is", "needed", "."], "TS_V_token": ["AMDGPU", "SI", "AMDGPU", "AMDGPU", "AMDGPU", "4", "4", "4", "AMDGPU::SGPR_32RegClass", "AMDGPU::sub0", "AMDGPU::SReg_128RegClass", "AMDGPU", "AMDGPU::SGPR92_SGPR93_SGPR94_SGPR95", "AMDGPU::SGPR96_SGPR97_SGPR98_SGPR99"], "File": "SIRegisterInfo (2)2", "Func": "reservedPrivateSegmentBufferReg", "Target": "AMDGPU", "Target_Clf": "GPU", "Compiler_Type": "LLVM", "Idx": 1750, "Length": 112, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "void", "riscv_expand_conditional_branch", "(", "rtx", "label", ",", "rtx_code", "code", ",", "rtx", "op0", ",", "rtx", "op1", ")", "{", "if", "(", "FLOAT_MODE_P", "(", "GET_MODE", "(", "op1", ")", ")", ")", "riscv_emit_float_compare", "(", "&", "code", ",", "&", "op0", ",", "&", "op1", ")", ";", "else", "riscv_emit_int_compare", "(", "&", "code", ",", "&", "op0", ",", "&", "op1", ")", ";", "rtx", "condition", "=", "gen_rtx_fmt_ee", "(", "code", ",", "VOIDmode", ",", "op0", ",", "op1", ")", ";", "emit_jump_insn", "(", "gen_condjump", "(", "condition", ",", "label", ")", ")", ";", "}", ""], "natrual_language": ["Jump", "to", "LABEL", "if", "(", "CODE", "OP0", "OP1", ")", "holds", "."], "TS_V_token": ["riscv"], "File": "riscv", "Func": "riscv_expand_conditional_branch", "Target": "riscv", "Target_Clf": "CPU", "Compiler_Type": "GCC", "Idx": 1751, "Length": 76, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "unsigned", "getMinPrefetchStride", "(", ")", "{", "return", "2048", ";", "}", ""], "natrual_language": ["Some", "HW", "prefetchers", "can", "handle", "accesses", "up", "to", "a", "certain", "constant", "stride", "."], "TS_V_token": ["SystemZ", "2048"], "File": "SystemZTargetTransformInfo10", "Func": "getMinPrefetchStride", "Target": "SystemZ", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 1752, "Length": 9, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "static", "rtx", "m32r_libcall_value", "(", "machine_mode", "mode", ",", "const_rtx", "fun", "ATTRIBUTE_UNUSED", ")", "{", "return", "gen_rtx_REG", "(", "mode", ",", "0", ")", ";", "}", ""], "natrual_language": ["Worker", "function", "for", "TARGET_LIBCALL_VALUE", "."], "TS_V_token": ["m32r", "0"], "File": "m32r", "Func": "m32r_libcall_value", "Target": "m32r", "Target_Clf": "MPU", "Compiler_Type": "GCC", "Idx": 1753, "Length": 21, "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": ["SNES"], "File": "SNESAsmParser", "Func": "isImm", "Target": "SNES", "Target_Clf": "DSP", "Compiler_Type": "LLVM", "Idx": 1754, "Length": 12, "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": 1755, "Length": 149, "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": 1756, "Length": 33, "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": 1757, "Length": 49, "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": 1758, "Length": 41, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "bool", "NVPTXAsmPrinter", "::", "doInitialization", "(", "Module", "&", "M", ")", "{", "StringRef", "TT", "=", "TM", ".", "getTargetTriple", "(", ")", ";", "StringRef", "CPU", "=", "TM", ".", "getTargetCPU", "(", ")", ";", "StringRef", "FS", "=", "TM", ".", "getTargetFeatureString", "(", ")", ";", "const", "NVPTXTargetMachine", "&", "NTM", "=", "static_cast", "<", "const", "NVPTXTargetMachine", "&", ">", "(", "TM", ")", ";", "const", "NVPTXSubtarget", "STI", "(", "TT", ",", "CPU", ",", "FS", ",", "NTM", ")", ";", "SmallString", "<", "128", ">", "Str1", ";", "raw_svector_ostream", "OS1", "(", "Str1", ")", ";", "MMI", "=", "getAnalysisIfAvailable", "<", "MachineModuleInfo", ">", "(", ")", ";", "MMI", "->", "AnalyzeModule", "(", "M", ")", ";", "const_cast", "<", "TargetLoweringObjectFile", "&", ">", "(", "getObjFileLowering", "(", ")", ")", ".", "Initialize", "(", "OutContext", ",", "TM", ")", ";", "Mang", "=", "new", "Mangler", "(", "TM", ".", "getDataLayout", "(", ")", ")", ";", "emitHeader", "(", "M", ",", "OS1", ",", "STI", ")", ";", "OutStreamer", "->", "EmitRawText", "(", "OS1", ".", "str", "(", ")", ")", ";", "if", "(", "!", "M", ".", "getModuleInlineAsm", "(", ")", ".", "empty", "(", ")", ")", "{", "OutStreamer", "->", "AddComment", "(", "\"Start of file scope inline assembly\"", ")", ";", "OutStreamer", "->", "AddBlankLine", "(", ")", ";", "OutStreamer", "->", "EmitRawText", "(", "StringRef", "(", "M", ".", "getModuleInlineAsm", "(", ")", ")", ")", ";", "OutStreamer", "->", "AddBlankLine", "(", ")", ";", "OutStreamer", "->", "AddComment", "(", "\"End of file scope inline assembly\"", ")", ";", "OutStreamer", "->", "AddBlankLine", "(", ")", ";", "}", "if", "(", "Triple", "(", "TM", ".", "getTargetTriple", "(", ")", ")", ".", "getOS", "(", ")", "!=", "Triple", "::", "NVCL", ")", "recordAndEmitFilenames", "(", "M", ")", ";", "GlobalsEmitted", "=", "false", ";", "return", "false", ";", "}", ""], "natrual_language": ["Set", "up", "the", "AsmPrinter", "when", "we", "are", "working", "on", "a", "new", "module", "."], "TS_V_token": ["NVPTX", "NVPTX", "NVPTX", "NVPTX", "NVPTX", "128", "\"Start of file scope inline assembly\"", "\"End of file scope inline assembly\""], "File": "NVPTXAsmPrinter64", "Func": "doInitialization", "Target": "NVPTX", "Target_Clf": "GPU", "Compiler_Type": "LLVM", "Idx": 1759, "Length": 236, "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": 1760, "Length": 138, "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": 1761, "Length": 38, "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": 1762, "Length": 195, "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": 1763, "Length": 427, "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": 1764, "Length": 176, "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": 1765, "Length": 64, "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": 1766, "Length": 257, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "void", "SIScheduleBlock", "::", "addPred", "(", "SIScheduleBlock", "*", "Pred", ")", "{", "unsigned", "PredID", "=", "Pred", "->", "getID", "(", ")", ";", "for", "(", "SIScheduleBlock", "*", "P", ":", "Preds", ")", "{", "if", "(", "PredID", "==", "P", "->", "getID", "(", ")", ")", "return", ";", "}", "Preds", ".", "push_back", "(", "Pred", ")", ";", "for", "(", "SIScheduleBlock", "*", "S", ":", "Succs", ")", "{", "if", "(", "PredID", "==", "S", "->", "getID", "(", ")", ")", "assert", "(", "!", "\"Loop in the Block Graph!\\n\"", ")", ";", "}", "}", ""], "natrual_language": ["Adds", "the", "specified", "edge", "as", "a", "pred", "of", "the", "current", "node", "if", "not", "already", "."], "TS_V_token": ["AMDGPU", "SI", "SI", "SI", "SI", "\"Loop in the Block Graph!\\n\""], "File": "SIMachineScheduler15", "Func": "addPred", "Target": "AMDGPU", "Target_Clf": "GPU", "Compiler_Type": "LLVM", "Idx": 1767, "Length": 75, "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": 1768, "Length": 173, "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": 1769, "Length": 48, "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": 1770, "Length": 94, "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": 1771, "Length": 382, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "void", "GCNPassConfig", "::", "addPreEmitPass", "(", ")", "{", "addPass", "(", "createSIMemoryLegalizerPass", "(", ")", ")", ";", "addPass", "(", "createSIInsertWaitcntsPass", "(", ")", ")", ";", "addPass", "(", "createSIShrinkInstructionsPass", "(", ")", ")", ";", "addPass", "(", "createSIModeRegisterPass", "(", ")", ")", ";", "if", "(", "getOptLevel", "(", ")", ">", "CodeGenOpt", "::", "None", ")", "addPass", "(", "&", "SIInsertHardClausesID", ")", ";", "addPass", "(", "&", "SIRemoveShortExecBranchesID", ")", ";", "addPass", "(", "&", "SIInsertSkipsPassID", ")", ";", "addPass", "(", "&", "SIPreEmitPeepholeID", ")", ";", "addPass", "(", "&", "PostRAHazardRecognizerID", ")", ";", "addPass", "(", "&", "BranchRelaxationPassID", ")", ";", "}", ""], "natrual_language": ["This", "pass", "may", "be", "implemented", "by", "targets", "that", "want", "to", "run", "passes", "immediately", "before", "machine", "code", "is", "emitted", "."], "TS_V_token": ["AMDGPU", "SI", "SI", "SI", "SI", "SI", "SI", "SI", "SI"], "File": "AMDGPUTargetMachine10", "Func": "addPreEmitPass", "Target": "AMDGPU", "Target_Clf": "GPU", "Compiler_Type": "LLVM", "Idx": 1772, "Length": 82, "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": 1773, "Length": 35, "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", ":", "\\", "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": "X86DisassemblerDecoder25", "Func": "name", "Target": "X86", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 1774, "Length": 309, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "bool", "ARCTargetLowering", "::", "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_ARC", ")", ")", "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": ["ARC", "ARC", "ISD::OutputArg", "16", "ARC", "0"], "File": "ARCISelLowering", "Func": "CanLowerReturn", "Target": "ARC", "Target_Clf": "MPU", "Compiler_Type": "LLVM", "Idx": 1775, "Length": 89, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "int", "c4x_immed_float_p", "(", "rtx", "op", ")", "{", "long", "convval", "[", "2", "]", ";", "int", "exponent", ";", "REAL_VALUE_TYPE", "r", ";", "REAL_VALUE_FROM_CONST_DOUBLE", "(", "r", ",", "op", ")", ";", "if", "(", "GET_MODE", "(", "op", ")", "==", "HFmode", ")", "REAL_VALUE_TO_TARGET_DOUBLE", "(", "r", ",", "convval", ")", ";", "else", "{", "REAL_VALUE_TO_TARGET_SINGLE", "(", "r", ",", "convval", "[", "0", "]", ")", ";", "convval", "[", "1", "]", "=", "0", ";", "}", "exponent", "=", "(", "(", "(", "convval", "[", "0", "]", ">>", "24", ")", "&", "0xff", ")", "^", "0x80", ")", "-", "0x80", ";", "if", "(", "exponent", "==", "-", "128", ")", "return", "1", ";", "if", "(", "(", "convval", "[", "0", "]", "&", "0x00000fff", ")", "!=", "0", "||", "convval", "[", "1", "]", "!=", "0", ")", "return", "0", ";", "return", "(", "exponent", "<=", "7", ")", "&&", "(", "exponent", ">=", "-", "7", ")", ";", "}", ""], "natrual_language": ["Return", "nonzero", "if", "the", "floating", "point", "operand", "will", "fit", "in", "the", "immediate", "field", "."], "TS_V_token": ["c4x", "2", "0", "1", "0", "0", "24", "0xff", "0x80", "0x80", "128", "1", "0", "0x00000fff", "0", "1", "0", "0", "7", "7"], "File": "c4x1", "Func": "c4x_immed_float_p", "Target": "c4x", "Target_Clf": "DSP", "Compiler_Type": "GCC", "Idx": 1776, "Length": 131, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "void", "WebAssemblyAsmPrinter", "::", "EmitInstruction", "(", "const", "MachineInstr", "*", "MI", ")", "{", "DEBUG", "(", "dbgs", "(", ")", "<<", "\"EmitInstruction: \"", "<<", "*", "MI", "<<", "'\\n'", ")", ";", "switch", "(", "MI", "->", "getOpcode", "(", ")", ")", "{", "case", "WebAssembly", "::", "ARGUMENT_I32", ":", "case", "WebAssembly", "::", "ARGUMENT_I64", ":", "case", "WebAssembly", "::", "ARGUMENT_F32", ":", "case", "WebAssembly", "::", "ARGUMENT_F64", ":", "case", "WebAssembly", "::", "ARGUMENT_v16i8", ":", "case", "WebAssembly", "::", "ARGUMENT_v8i16", ":", "case", "WebAssembly", "::", "ARGUMENT_v4i32", ":", "case", "WebAssembly", "::", "ARGUMENT_v4f32", ":", "break", ";", "case", "WebAssembly", "::", "FALLTHROUGH_RETURN_I32", ":", "case", "WebAssembly", "::", "FALLTHROUGH_RETURN_I64", ":", "case", "WebAssembly", "::", "FALLTHROUGH_RETURN_F32", ":", "case", "WebAssembly", "::", "FALLTHROUGH_RETURN_F64", ":", "case", "WebAssembly", "::", "FALLTHROUGH_RETURN_v16i8", ":", "case", "WebAssembly", "::", "FALLTHROUGH_RETURN_v8i16", ":", "case", "WebAssembly", "::", "FALLTHROUGH_RETURN_v4i32", ":", "case", "WebAssembly", "::", "FALLTHROUGH_RETURN_v4f32", ":", "{", "assert", "(", "MFI", "->", "isVRegStackified", "(", "MI", "->", "getOperand", "(", "0", ")", ".", "getReg", "(", ")", ")", ")", ";", "if", "(", "isVerbose", "(", ")", ")", "{", "OutStreamer", "->", "AddComment", "(", "\"fallthrough-return: $pop\"", "+", "utostr", "(", "MFI", "->", "getWARegStackId", "(", "MFI", "->", "getWAReg", "(", "MI", "->", "getOperand", "(", "0", ")", ".", "getReg", "(", ")", ")", ")", ")", ")", ";", "OutStreamer", "->", "AddBlankLine", "(", ")", ";", "}", "break", ";", "}", "case", "WebAssembly", "::", "FALLTHROUGH_RETURN_VOID", ":", "if", "(", "isVerbose", "(", ")", ")", "{", "OutStreamer", "->", "AddComment", "(", "\"fallthrough-return\"", ")", ";", "OutStreamer", "->", "AddBlankLine", "(", ")", ";", "}", "break", ";", "default", ":", "{", "WebAssemblyMCInstLower", "MCInstLowering", "(", "OutContext", ",", "*", "this", ")", ";", "MCInst", "TmpInst", ";", "MCInstLowering", ".", "Lower", "(", "MI", ",", "TmpInst", ")", ";", "EmitToStreamer", "(", "*", "OutStreamer", ",", "TmpInst", ")", ";", "break", ";", "}", "}", "}", ""], "natrual_language": ["EmitInstruction", "-", "This", "callback", "is", "invoked", "when", "an", "instruction", "is", "emitted", ",", "to", "advance", "the", "hazard", "state", "."], "TS_V_token": ["WebAssembly", "WebAssembly", "\"EmitInstruction: \"", "WebAssembly::ARGUMENT_I32", "WebAssembly::ARGUMENT_I64", "WebAssembly::ARGUMENT_F32", "WebAssembly::ARGUMENT_F64", "WebAssembly::ARGUMENT_v16i8", "WebAssembly::ARGUMENT_v8i16", "WebAssembly::ARGUMENT_v4i32", "WebAssembly::ARGUMENT_v4f32", "WebAssembly::FALLTHROUGH_RETURN_I32", "WebAssembly::FALLTHROUGH_RETURN_I64", "WebAssembly::FALLTHROUGH_RETURN_F32", "WebAssembly::FALLTHROUGH_RETURN_F64", "WebAssembly::FALLTHROUGH_RETURN_v16i8", "WebAssembly::FALLTHROUGH_RETURN_v8i16", "WebAssembly::FALLTHROUGH_RETURN_v4i32", "WebAssembly::FALLTHROUGH_RETURN_v4f32", "0", "\"fallthrough-return: $pop\"", "0", "WebAssembly::FALLTHROUGH_RETURN_VOID", "\"fallthrough-return\"", "WebAssembly"], "File": "WebAssemblyAsmPrinter14", "Func": "EmitInstruction", "Target": "WebAssembly", "Target_Clf": "Virtual ISA", "Compiler_Type": "LLVM", "Idx": 1777, "Length": 249, "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": 1778, "Length": 493, "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", ".", "getMcpu", "(", ")", ";", "switch", "(", "Directive", ")", "{", "default", ":", "break", ";", "case", "PPC", "::", "MCPU_7400", ":", "case", "PPC", "::", "MCPU_750", ":", "case", "PPC", "::", "MCPU_970", ":", "case", "PPC", "::", "MCPU_E5500", ":", "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", ":", "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::MCPU_7400", "PPC::MCPU_750", "PPC::MCPU_970", "PPC::MCPU_E5500", "PPC::MCPU_PWR4", "PPC::MCPU_PWR5", "PPC::MCPU_PWR5X", "PPC::MCPU_PWR6", "PPC::MCPU_PWR6X", "PPC::MCPU_PWR7", "PPC::MCPU_PWR8", "2"], "File": "PPCInstrInfo31", "Func": "getOperandLatency", "Target": "PowerPC", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 1779, "Length": 279, "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": 1780, "Length": 224, "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": 1781, "Length": 73, "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": 1782, "Length": 148, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "static", "bool", "isNodeHidden", "(", "const", "SCANode", "*", "N", ",", "const", "SpillCostAnalysisGraph", "&", "G", ")", "{", "return", "!", "N", "->", "isVisible", "(", ")", ";", "}", ""], "natrual_language": ["Do", "not", "print", "nodes", "that", "are", "part", "of", "a", "pi-block", "separately", "."], "TS_V_token": ["Patmos"], "File": "PatmosStackCacheAnalysis", "Func": "isNodeHidden", "Target": "Patmos", "Target_Clf": "VLIW", "Compiler_Type": "LLVM", "Idx": 1783, "Length": 24, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "virtual", "const", "char", "*", "getPassName", "(", ")", "const", "{", "return", "\"X86 Maximal Stack Alignment Check\"", ";", "}", ""], "natrual_language": ["getPassName", "-", "Return", "a", "nice", "clean", "name", "for", "a", "pass", "."], "TS_V_token": ["X86", "\"X86 Maximal Stack Alignment Check\""], "File": "X86RegisterInfo101", "Func": "getPassName", "Target": "X86", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 1784, "Length": 13, "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": 1785, "Length": 49, "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": 1786, "Length": 408, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "void", "print_operand_address", "(", "FILE", "*", "file", ",", "rtx", "addr", ")", "{", "struct", "microblaze_address_info", "info", ";", "enum", "microblaze_address_type", "type", ";", "if", "(", "!", "microblaze_classify_address", "(", "&", "info", ",", "addr", ",", "GET_MODE", "(", "addr", ")", ",", "2", ")", ")", "fatal_insn", "(", "\"insn contains an invalid address !\"", ",", "addr", ")", ";", "type", "=", "info", ".", "type", ";", "switch", "(", "info", ".", "type", ")", "{", "case", "ADDRESS_REG", ":", "fprintf", "(", "file", ",", "\"%s,\"", ",", "reg_names", "[", "REGNO", "(", "info", ".", "regA", ")", "]", ")", ";", "output_addr_const", "(", "file", ",", "info", ".", "offset", ")", ";", "break", ";", "case", "ADDRESS_REG_INDEX", ":", "if", "(", "REGNO", "(", "info", ".", "regA", ")", "==", "0", ")", "fprintf", "(", "file", ",", "\"%s,%s\"", ",", "reg_names", "[", "REGNO", "(", "info", ".", "regB", ")", "]", ",", "reg_names", "[", "REGNO", "(", "info", ".", "regA", ")", "]", ")", ";", "else", "if", "(", "REGNO", "(", "info", ".", "regB", ")", "!=", "0", ")", "fprintf", "(", "file", ",", "\"%s,%s\"", ",", "reg_names", "[", "REGNO", "(", "info", ".", "regB", ")", "]", ",", "reg_names", "[", "REGNO", "(", "info", ".", "regA", ")", "]", ")", ";", "break", ";", "case", "ADDRESS_CONST_INT", ":", "fprintf", "(", "file", ",", "\"%s,\"", ",", "reg_names", "[", "REGNO", "(", "info", ".", "regA", ")", "]", ")", ";", "output_addr_const", "(", "file", ",", "info", ".", "offset", ")", ";", "break", ";", "case", "ADDRESS_SYMBOLIC", ":", "case", "ADDRESS_SYMBOLIC_TXT_REL", ":", "case", "ADDRESS_GOTOFF", ":", "case", "ADDRESS_PLT", ":", "case", "ADDRESS_TLS", ":", "if", "(", "info", ".", "regA", ")", "fprintf", "(", "file", ",", "\"%s,\"", ",", "reg_names", "[", "REGNO", "(", "info", ".", "regA", ")", "]", ")", ";", "output_addr_const", "(", "file", ",", "info", ".", "symbol", ")", ";", "if", "(", "type", "==", "ADDRESS_GOTOFF", ")", "{", "fputs", "(", "\"@GOT\"", ",", "file", ")", ";", "}", "else", "if", "(", "type", "==", "ADDRESS_PLT", ")", "{", "fputs", "(", "\"@PLT\"", ",", "file", ")", ";", "}", "else", "if", "(", "type", "==", "ADDRESS_SYMBOLIC_TXT_REL", ")", "{", "if", "(", "info", ".", "offset", "!=", "NULL", "&&", "CONST_INT_P", "(", "info", ".", "offset", ")", "&&", "INTVAL", "(", "info", ".", "offset", ")", ">", "0", ")", "{", "fprintf", "(", "file", ",", "\"+\"", ")", ";", "output_addr_const", "(", "file", ",", "info", ".", "offset", ")", ";", "}", "fputs", "(", "\"@TXTREL\"", ",", "file", ")", ";", "}", "else", "if", "(", "type", "==", "ADDRESS_TLS", ")", "{", "switch", "(", "info", ".", "tls_type", ")", "{", "case", "TLS_GD", ":", "fputs", "(", "\"@TLSGD\"", ",", "file", ")", ";", "break", ";", "case", "TLS_LDM", ":", "fputs", "(", "\"@TLSLDM\"", ",", "file", ")", ";", "break", ";", "case", "TLS_DTPREL", ":", "fputs", "(", "\"@TLSDTPREL\"", ",", "file", ")", ";", "break", ";", "default", ":", "abort", "(", ")", ";", "break", ";", "}", "}", "break", ";", "case", "ADDRESS_INVALID", ":", "fatal_insn", "(", "\"invalid address\"", ",", "addr", ")", ";", "break", ";", "}", "}", ""], "natrual_language": ["Print", "the", "operand", "address", "represented", "by", "the", "rtx", "addr"], "TS_V_token": ["microblaze", "2", "\"insn contains an invalid address !\"", "\"%s,\"", "0", "\"%s,%s\"", "0", "\"%s,%s\"", "\"%s,\"", "\"%s,\"", "\"@GOT\"", "\"@PLT\"", "0", "\"+\"", "\"@TXTREL\"", "\"@TLSGD\"", "\"@TLSLDM\"", "\"@TLSDTPREL\"", "\"invalid address\""], "File": "microblaze", "Func": "print_operand_address", "Target": "microblaze", "Target_Clf": "MPU", "Compiler_Type": "GCC", "Idx": 1787, "Length": 414, "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": 1788, "Length": 165, "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": 1789, "Length": 318, "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": 1790, "Length": 205, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "void", "arc_finalize_pic", "(", ")", "{", "}", ""], "natrual_language": ["If", "the", "function", "has", "any", "GOTOFF", "relocations", ",", "then", "the", "GOTBASE", "register", "has", "to", "be", "setup", "in", "the", "prologue", "The", "instruction", "needed", "at", "the", "function", "start", "for", "setting", "up", "the", "GOTBASE", "register", "is", "add", "rdest", ",", "pc", ",", "--", "--", "--", "--", "--", "--", "--", "--", "--", "--", "--", "--", "--", "--", "--", "--", "--", "--", "--", "--", "--", "--", "--", "--", "--", "--", "--", "--", "--", "The", "rtl", "to", "be", "emitted", "for", "this", "should", "be", ":", "set", "(", "reg", "basereg", ")", "(", "plus", "(", "reg", "pc", ")", "(", "const", "(", "unspec", "(", "symref", "_DYNAMIC", ")", "3", ")", ")", ")", "--", "--", "--", "--", "--", "--", "--", "--", "--", "--", "--", "--", "--", "--", "--", "--", "--", "--", "--", "--", "--", "--", "--", "--", "--", "--", "--", "--", "--"], "TS_V_token": ["arc"], "File": "arc2", "Func": "arc_finalize_pic", "Target": "arc", "Target_Clf": "MPU", "Compiler_Type": "GCC", "Idx": 1791, "Length": 6, "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": 1792, "Length": 13, "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": 1793, "Length": 212, "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": 1794, "Length": 26, "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": 1795, "Length": 116, "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": 1796, "Length": 35, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "bool", "R600PassConfig", "::", "addPreISel", "(", ")", "{", "AMDGPUPassConfig", "::", "addPreISel", "(", ")", ";", "const", "AMDGPUSubtarget", "&", "ST", "=", "*", "getAMDGPUTargetMachine", "(", ")", ".", "getSubtargetImpl", "(", ")", ";", "if", "(", "ST", ".", "IsIRStructurizerEnabled", "(", ")", ")", "addPass", "(", "createStructurizeCFGPass", "(", ")", ")", ";", "addPass", "(", "createR600TextureIntrinsicsReplacer", "(", ")", ")", ";", "return", "false", ";", "}", ""], "natrual_language": ["{", "{", "@", "For", "GlobalISel"], "TS_V_token": ["AMDGPU", "R600", "AMDGPU", "AMDGPU", "AMDGPU", "R600"], "File": "AMDGPUTargetMachine12", "Func": "addPreISel", "Target": "AMDGPU", "Target_Clf": "GPU", "Compiler_Type": "LLVM", "Idx": 1797, "Length": 53, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "static", "tree", "m68k_handle_fndecl_attribute", "(", "tree", "*", "node", ",", "tree", "name", ",", "tree", "args", "ATTRIBUTE_UNUSED", ",", "int", "flags", "ATTRIBUTE_UNUSED", ",", "bool", "*", "no_add_attrs", ")", "{", "if", "(", "TREE_CODE", "(", "*", "node", ")", "!=", "FUNCTION_DECL", ")", "{", "warning", "(", "OPT_Wattributes", ",", "\"%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": ["m68k", "\"%qs attribute only applies to functions\""], "File": "m68k3", "Func": "m68k_handle_fndecl_attribute", "Target": "m68k", "Target_Clf": "MPU", "Compiler_Type": "GCC", "Idx": 1798, "Length": 57, "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": 1799, "Length": 57, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "static", "void", "pad_return", "(", "void", ")", "{", "rtx_insn", "*", "insn", ";", "long", "offset", ";", "if", "(", "!", "TARGET_PAD_RETURN", ")", "return", ";", "for", "(", "insn", "=", "get_insns", "(", ")", ";", "insn", ";", "insn", "=", "NEXT_INSN", "(", "insn", ")", ")", "{", "rtx_insn", "*", "prev0", "=", "prev_active_insn", "(", "insn", ")", ";", "bool", "wantlong", "=", "false", ";", "if", "(", "!", "INSN_P", "(", "insn", ")", "||", "GET_CODE", "(", "PATTERN", "(", "insn", ")", ")", "!=", "SIMPLE_RETURN", ")", "continue", ";", "if", "(", "!", "prev0", ")", "{", "prev0", "=", "emit_insn_before", "(", "gen_nopv", "(", ")", ",", "insn", ")", ";", "add_reg_note", "(", "prev0", ",", "REG_SAVE_NOTE", ",", "GEN_INT", "(", "1", ")", ")", ";", "emit_insn_before", "(", "gen_nopv", "(", ")", ",", "insn", ")", ";", "continue", ";", "}", "offset", "=", "get_attr_length", "(", "prev0", ")", ";", "if", "(", "get_attr_length", "(", "prev0", ")", "==", "2", "&&", "get_attr_iscompact", "(", "prev0", ")", "!=", "ISCOMPACT_TRUE", ")", "{", "wantlong", "=", "true", ";", "offset", "+=", "2", ";", "}", "rtx_insn", "*", "prev", "=", "prev_active_insn", "(", "prev0", ")", ";", "if", "(", "prev", ")", "offset", "+=", "get_attr_length", "(", "prev", ")", ";", "prev", "=", "prev_active_insn", "(", "prev", ")", ";", "if", "(", "prev", ")", "offset", "+=", "get_attr_length", "(", "prev", ")", ";", "switch", "(", "offset", ")", "{", "case", "2", ":", "prev", "=", "emit_insn_before", "(", "gen_nopv", "(", ")", ",", "insn", ")", ";", "add_reg_note", "(", "prev", ",", "REG_SAVE_NOTE", ",", "GEN_INT", "(", "1", ")", ")", ";", "break", ";", "case", "4", ":", "emit_insn_before", "(", "gen_nopv", "(", ")", ",", "insn", ")", ";", "break", ";", "default", ":", "continue", ";", "}", "if", "(", "wantlong", ")", "add_reg_note", "(", "prev0", ",", "REG_SAVE_NOTE", ",", "GEN_INT", "(", "1", ")", ")", ";", "emit_insn_before", "(", "gen_blockage", "(", ")", ",", "insn", ")", ";", "}", "}", ""], "natrual_language": ["Add", "padding", "if", "necessary", "to", "avoid", "a", "mispredict", ".", "A", "return", "could", "happen", "immediately", "after", "the", "function", "start", ".", "A", "call/return", "and", "return/return", "must", "be", "6", "bytes", "apart", "to", "avoid", "mispredict", "."], "TS_V_token": ["arc", "1", "2", "2", "2", "1", "4", "1"], "File": "arc", "Func": "pad_return", "Target": "arc", "Target_Clf": "MPU", "Compiler_Type": "GCC", "Idx": 1800, "Length": 264, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "const", "char", "*", "HexagonTargetLowering", "::", "getTargetNodeName", "(", "unsigned", "Opcode", ")", "const", "{", "switch", "(", "Opcode", ")", "{", "default", ":", "return", "nullptr", ";", "case", "HexagonISD", "::", "CONST32", ":", "return", "\"HexagonISD::CONST32\"", ";", "case", "HexagonISD", "::", "CONST32_GP", ":", "return", "\"HexagonISD::CONST32_GP\"", ";", "case", "HexagonISD", "::", "CONST32_Int_Real", ":", "return", "\"HexagonISD::CONST32_Int_Real\"", ";", "case", "HexagonISD", "::", "ADJDYNALLOC", ":", "return", "\"HexagonISD::ADJDYNALLOC\"", ";", "case", "HexagonISD", "::", "CMPICC", ":", "return", "\"HexagonISD::CMPICC\"", ";", "case", "HexagonISD", "::", "CMPFCC", ":", "return", "\"HexagonISD::CMPFCC\"", ";", "case", "HexagonISD", "::", "BRICC", ":", "return", "\"HexagonISD::BRICC\"", ";", "case", "HexagonISD", "::", "BRFCC", ":", "return", "\"HexagonISD::BRFCC\"", ";", "case", "HexagonISD", "::", "SELECT_ICC", ":", "return", "\"HexagonISD::SELECT_ICC\"", ";", "case", "HexagonISD", "::", "SELECT_FCC", ":", "return", "\"HexagonISD::SELECT_FCC\"", ";", "case", "HexagonISD", "::", "Hi", ":", "return", "\"HexagonISD::Hi\"", ";", "case", "HexagonISD", "::", "Lo", ":", "return", "\"HexagonISD::Lo\"", ";", "case", "HexagonISD", "::", "JT", ":", "return", "\"HexagonISD::JT\"", ";", "case", "HexagonISD", "::", "CP", ":", "return", "\"HexagonISD::CP\"", ";", "case", "HexagonISD", "::", "POPCOUNT", ":", "return", "\"HexagonISD::POPCOUNT\"", ";", "case", "HexagonISD", "::", "COMBINE", ":", "return", "\"HexagonISD::COMBINE\"", ";", "case", "HexagonISD", "::", "PACKHL", ":", "return", "\"HexagonISD::PACKHL\"", ";", "case", "HexagonISD", "::", "VSPLATB", ":", "return", "\"HexagonISD::VSPLTB\"", ";", "case", "HexagonISD", "::", "VSPLATH", ":", "return", "\"HexagonISD::VSPLATH\"", ";", "case", "HexagonISD", "::", "SHUFFEB", ":", "return", "\"HexagonISD::SHUFFEB\"", ";", "case", "HexagonISD", "::", "SHUFFEH", ":", "return", "\"HexagonISD::SHUFFEH\"", ";", "case", "HexagonISD", "::", "SHUFFOB", ":", "return", "\"HexagonISD::SHUFFOB\"", ";", "case", "HexagonISD", "::", "SHUFFOH", ":", "return", "\"HexagonISD::SHUFFOH\"", ";", "case", "HexagonISD", "::", "VSXTBH", ":", "return", "\"HexagonISD::VSXTBH\"", ";", "case", "HexagonISD", "::", "VSXTBW", ":", "return", "\"HexagonISD::VSXTBW\"", ";", "case", "HexagonISD", "::", "VSRAW", ":", "return", "\"HexagonISD::VSRAW\"", ";", "case", "HexagonISD", "::", "VSRAH", ":", "return", "\"HexagonISD::VSRAH\"", ";", "case", "HexagonISD", "::", "VSRLW", ":", "return", "\"HexagonISD::VSRLW\"", ";", "case", "HexagonISD", "::", "VSRLH", ":", "return", "\"HexagonISD::VSRLH\"", ";", "case", "HexagonISD", "::", "VSHLW", ":", "return", "\"HexagonISD::VSHLW\"", ";", "case", "HexagonISD", "::", "VSHLH", ":", "return", "\"HexagonISD::VSHLH\"", ";", "case", "HexagonISD", "::", "VCMPBEQ", ":", "return", "\"HexagonISD::VCMPBEQ\"", ";", "case", "HexagonISD", "::", "VCMPBGT", ":", "return", "\"HexagonISD::VCMPBGT\"", ";", "case", "HexagonISD", "::", "VCMPBGTU", ":", "return", "\"HexagonISD::VCMPBGTU\"", ";", "case", "HexagonISD", "::", "VCMPHEQ", ":", "return", "\"HexagonISD::VCMPHEQ\"", ";", "case", "HexagonISD", "::", "VCMPHGT", ":", "return", "\"HexagonISD::VCMPHGT\"", ";", "case", "HexagonISD", "::", "VCMPHGTU", ":", "return", "\"HexagonISD::VCMPHGTU\"", ";", "case", "HexagonISD", "::", "VCMPWEQ", ":", "return", "\"HexagonISD::VCMPWEQ\"", ";", "case", "HexagonISD", "::", "VCMPWGT", ":", "return", "\"HexagonISD::VCMPWGT\"", ";", "case", "HexagonISD", "::", "VCMPWGTU", ":", "return", "\"HexagonISD::VCMPWGTU\"", ";", "case", "HexagonISD", "::", "INSERT_ri", ":", "return", "\"HexagonISD::INSERT_ri\"", ";", "case", "HexagonISD", "::", "INSERT_rd", ":", "return", "\"HexagonISD::INSERT_rd\"", ";", "case", "HexagonISD", "::", "INSERT_riv", ":", "return", "\"HexagonISD::INSERT_riv\"", ";", "case", "HexagonISD", "::", "INSERT_rdv", ":", "return", "\"HexagonISD::INSERT_rdv\"", ";", "case", "HexagonISD", "::", "EXTRACTU_ri", ":", "return", "\"HexagonISD::EXTRACTU_ri\"", ";", "case", "HexagonISD", "::", "EXTRACTU_rd", ":", "return", "\"HexagonISD::EXTRACTU_rd\"", ";", "case", "HexagonISD", "::", "EXTRACTU_riv", ":", "return", "\"HexagonISD::EXTRACTU_riv\"", ";", "case", "HexagonISD", "::", "EXTRACTU_rdv", ":", "return", "\"HexagonISD::EXTRACTU_rdv\"", ";", "case", "HexagonISD", "::", "FTOI", ":", "return", "\"HexagonISD::FTOI\"", ";", "case", "HexagonISD", "::", "ITOF", ":", "return", "\"HexagonISD::ITOF\"", ";", "case", "HexagonISD", "::", "CALLv3", ":", "return", "\"HexagonISD::CALLv3\"", ";", "case", "HexagonISD", "::", "CALLv3nr", ":", "return", "\"HexagonISD::CALLv3nr\"", ";", "case", "HexagonISD", "::", "CALLR", ":", "return", "\"HexagonISD::CALLR\"", ";", "case", "HexagonISD", "::", "RET_FLAG", ":", "return", "\"HexagonISD::RET_FLAG\"", ";", "case", "HexagonISD", "::", "BR_JT", ":", "return", "\"HexagonISD::BR_JT\"", ";", "case", "HexagonISD", "::", "TC_RETURN", ":", "return", "\"HexagonISD::TC_RETURN\"", ";", "case", "HexagonISD", "::", "EH_RETURN", ":", "return", "\"HexagonISD::EH_RETURN\"", ";", "}", "}", ""], "natrual_language": ["getTargetNodeName", "-", "This", "method", "returns", "the", "name", "of", "a", "target", "specific"], "TS_V_token": ["Hexagon", "Hexagon", "HexagonISD::CONST32", "\"HexagonISD::CONST32\"", "HexagonISD::CONST32_GP", "\"HexagonISD::CONST32_GP\"", "HexagonISD::CONST32_Int_Real", "\"HexagonISD::CONST32_Int_Real\"", "HexagonISD::ADJDYNALLOC", "\"HexagonISD::ADJDYNALLOC\"", "HexagonISD::CMPICC", "\"HexagonISD::CMPICC\"", "HexagonISD::CMPFCC", "\"HexagonISD::CMPFCC\"", "HexagonISD::BRICC", "\"HexagonISD::BRICC\"", "HexagonISD::BRFCC", "\"HexagonISD::BRFCC\"", "HexagonISD::SELECT_ICC", "\"HexagonISD::SELECT_ICC\"", "HexagonISD::SELECT_FCC", "\"HexagonISD::SELECT_FCC\"", "HexagonISD::Hi", "\"HexagonISD::Hi\"", "HexagonISD::Lo", "\"HexagonISD::Lo\"", "HexagonISD::JT", "\"HexagonISD::JT\"", "HexagonISD::CP", "\"HexagonISD::CP\"", "HexagonISD::POPCOUNT", "\"HexagonISD::POPCOUNT\"", "HexagonISD::COMBINE", "\"HexagonISD::COMBINE\"", "HexagonISD::PACKHL", "\"HexagonISD::PACKHL\"", "HexagonISD::VSPLATB", "\"HexagonISD::VSPLTB\"", "HexagonISD::VSPLATH", "\"HexagonISD::VSPLATH\"", "HexagonISD::SHUFFEB", "\"HexagonISD::SHUFFEB\"", "HexagonISD::SHUFFEH", "\"HexagonISD::SHUFFEH\"", "HexagonISD::SHUFFOB", "\"HexagonISD::SHUFFOB\"", "HexagonISD::SHUFFOH", "\"HexagonISD::SHUFFOH\"", "HexagonISD::VSXTBH", "\"HexagonISD::VSXTBH\"", "HexagonISD::VSXTBW", "\"HexagonISD::VSXTBW\"", "HexagonISD::VSRAW", "\"HexagonISD::VSRAW\"", "HexagonISD::VSRAH", "\"HexagonISD::VSRAH\"", "HexagonISD::VSRLW", "\"HexagonISD::VSRLW\"", "HexagonISD::VSRLH", "\"HexagonISD::VSRLH\"", "HexagonISD::VSHLW", "\"HexagonISD::VSHLW\"", "HexagonISD::VSHLH", "\"HexagonISD::VSHLH\"", "HexagonISD::VCMPBEQ", "\"HexagonISD::VCMPBEQ\"", "HexagonISD::VCMPBGT", "\"HexagonISD::VCMPBGT\"", "HexagonISD::VCMPBGTU", "\"HexagonISD::VCMPBGTU\"", "HexagonISD::VCMPHEQ", "\"HexagonISD::VCMPHEQ\"", "HexagonISD::VCMPHGT", "\"HexagonISD::VCMPHGT\"", "HexagonISD::VCMPHGTU", "\"HexagonISD::VCMPHGTU\"", "HexagonISD::VCMPWEQ", "\"HexagonISD::VCMPWEQ\"", "HexagonISD::VCMPWGT", "\"HexagonISD::VCMPWGT\"", "HexagonISD::VCMPWGTU", "\"HexagonISD::VCMPWGTU\"", "HexagonISD::INSERT_ri", "\"HexagonISD::INSERT_ri\"", "HexagonISD::INSERT_rd", "\"HexagonISD::INSERT_rd\"", "HexagonISD::INSERT_riv", "\"HexagonISD::INSERT_riv\"", "HexagonISD::INSERT_rdv", "\"HexagonISD::INSERT_rdv\"", "HexagonISD::EXTRACTU_ri", "\"HexagonISD::EXTRACTU_ri\"", "HexagonISD::EXTRACTU_rd", "\"HexagonISD::EXTRACTU_rd\"", "HexagonISD::EXTRACTU_riv", "\"HexagonISD::EXTRACTU_riv\"", "HexagonISD::EXTRACTU_rdv", "\"HexagonISD::EXTRACTU_rdv\"", "HexagonISD::FTOI", "\"HexagonISD::FTOI\"", "HexagonISD::ITOF", "\"HexagonISD::ITOF\"", "HexagonISD::CALLv3", "\"HexagonISD::CALLv3\"", "HexagonISD::CALLv3nr", "\"HexagonISD::CALLv3nr\"", "HexagonISD::CALLR", "\"HexagonISD::CALLR\"", "HexagonISD::RET_FLAG", "\"HexagonISD::RET_FLAG\"", "HexagonISD::BR_JT", "\"HexagonISD::BR_JT\"", "HexagonISD::TC_RETURN", "\"HexagonISD::TC_RETURN\"", "HexagonISD::EH_RETURN", "\"HexagonISD::EH_RETURN\""], "File": "HexagonISelLowering61", "Func": "getTargetNodeName", "Target": "Hexagon", "Target_Clf": "DSP", "Compiler_Type": "LLVM", "Idx": 1801, "Length": 480, "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": 1802, "Length": 456, "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": 1803, "Length": 33, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "static", "bool", "nios2_valid_target_attribute_p", "(", "tree", "fndecl", ",", "tree", "ARG_UNUSED", "(", "name", ")", ",", "tree", "args", ",", "int", "ARG_UNUSED", "(", "flags", ")", ")", "{", "struct", "cl_target_option", "cur_target", ";", "bool", "ret", "=", "true", ";", "tree", "old_optimize", "=", "build_optimization_node", "(", "&", "global_options", ",", "&", "global_options_set", ")", ";", "tree", "new_target", ",", "new_optimize", ";", "tree", "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", ")", ";", "new_target", "=", "nios2_valid_target_attribute_tree", "(", "args", ")", ";", "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", "(", "``", "string", "''", ")", ")", ")", "."], "TS_V_token": ["nios2"], "File": "nios2", "Func": "nios2_valid_target_attribute_p", "Target": "nios2", "Target_Clf": "MPU", "Compiler_Type": "GCC", "Idx": 1804, "Length": 181, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "bool", "ARMPassConfig", "::", "addPreEmitPass", "(", ")", "{", "if", "(", "getARMSubtarget", "(", ")", ".", "isThumb2", "(", ")", ")", "{", "if", "(", "!", "getARMSubtarget", "(", ")", ".", "prefers32BitThumb", "(", ")", ")", "addPass", "(", "createThumb2SizeReductionPass", "(", ")", ")", ";", "addPass", "(", "&", "UnpackMachineBundlesID", ")", ";", "}", "if", "(", "FlagSfiDisableCP", ")", "{", "assert", "(", "getARMSubtarget", "(", ")", ".", "useMovt", "(", ")", ")", ";", "}", "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"], "File": "ARMTargetMachine46", "Func": "addPreEmitPass", "Target": "ARM", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 1805, "Length": 90, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "SDValue", "XCoreTargetLowering", "::", "LowerOperation", "(", "SDValue", "Op", ",", "SelectionDAG", "&", "DAG", ")", "const", "{", "switch", "(", "Op", ".", "getOpcode", "(", ")", ")", "{", "case", "ISD", "::", "GlobalAddress", ":", "return", "LowerGlobalAddress", "(", "Op", ",", "DAG", ")", ";", "case", "ISD", "::", "GlobalTLSAddress", ":", "return", "LowerGlobalTLSAddress", "(", "Op", ",", "DAG", ")", ";", "case", "ISD", "::", "BlockAddress", ":", "return", "LowerBlockAddress", "(", "Op", ",", "DAG", ")", ";", "case", "ISD", "::", "ConstantPool", ":", "return", "LowerConstantPool", "(", "Op", ",", "DAG", ")", ";", "case", "ISD", "::", "BR_JT", ":", "return", "LowerBR_JT", "(", "Op", ",", "DAG", ")", ";", "case", "ISD", "::", "LOAD", ":", "return", "LowerLOAD", "(", "Op", ",", "DAG", ")", ";", "case", "ISD", "::", "STORE", ":", "return", "LowerSTORE", "(", "Op", ",", "DAG", ")", ";", "case", "ISD", "::", "SELECT_CC", ":", "return", "LowerSELECT_CC", "(", "Op", ",", "DAG", ")", ";", "case", "ISD", "::", "VAARG", ":", "return", "LowerVAARG", "(", "Op", ",", "DAG", ")", ";", "case", "ISD", "::", "VASTART", ":", "return", "LowerVASTART", "(", "Op", ",", "DAG", ")", ";", "case", "ISD", "::", "SMUL_LOHI", ":", "return", "LowerSMUL_LOHI", "(", "Op", ",", "DAG", ")", ";", "case", "ISD", "::", "UMUL_LOHI", ":", "return", "LowerUMUL_LOHI", "(", "Op", ",", "DAG", ")", ";", "case", "ISD", "::", "ADD", ":", "case", "ISD", "::", "SUB", ":", "return", "ExpandADDSUB", "(", "Op", ".", "getNode", "(", ")", ",", "DAG", ")", ";", "case", "ISD", "::", "FRAMEADDR", ":", "return", "LowerFRAMEADDR", "(", "Op", ",", "DAG", ")", ";", "case", "ISD", "::", "INIT_TRAMPOLINE", ":", "return", "LowerINIT_TRAMPOLINE", "(", "Op", ",", "DAG", ")", ";", "case", "ISD", "::", "ADJUST_TRAMPOLINE", ":", "return", "LowerADJUST_TRAMPOLINE", "(", "Op", ",", "DAG", ")", ";", "case", "ISD", "::", "INTRINSIC_WO_CHAIN", ":", "return", "LowerINTRINSIC_WO_CHAIN", "(", "Op", ",", "DAG", ")", ";", "default", ":", "llvm_unreachable", "(", "\"unimplemented operand\"", ")", ";", "}", "}", ""], "natrual_language": ["LowerOperation", "-", "Provide", "custom", "lowering", "hooks", "for", "some", "operations", "."], "TS_V_token": ["XCore", "XCore", "ISD::GlobalAddress", "ISD::GlobalTLSAddress", "ISD::BlockAddress", "ISD::ConstantPool", "ISD::BR_JT", "ISD::LOAD", "ISD::STORE", "ISD::SELECT_CC", "ISD::VAARG", "ISD::VASTART", "ISD::SMUL_LOHI", "ISD::UMUL_LOHI", "ISD::ADD", "ISD::SUB", "ISD::FRAMEADDR", "ISD::INIT_TRAMPOLINE", "ISD::ADJUST_TRAMPOLINE", "ISD::INTRINSIC_WO_CHAIN", "\"unimplemented operand\""], "File": "XCoreISelLowering", "Func": "LowerOperation", "Target": "XCore", "Target_Clf": "MPU", "Compiler_Type": "LLVM", "Idx": 1806, "Length": 262, "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": 1807, "Length": 80, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "const", "MCSubtargetInfo", "*", "TPCII", "::", "getSubtargetInfo", "(", ")", "{", "assert", "(", "SubTargetInfo", ")", ";", "return", "SubTargetInfo", ";", "}", ""], "natrual_language": ["TargetSubtargetInfo", "getter", "."], "TS_V_token": ["TPC", "TPC"], "File": "InstructionDB", "Func": "getSubtargetInfo", "Target": "TPC", "Target_Clf": "Virtual ISA", "Compiler_Type": "LLVM", "Idx": 1808, "Length": 18, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "TargetPassConfig", "*", "ECLairTargetMachine", "::", "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": ["ECLair", "ECLair"], "File": "ECLairTargetMachine", "Func": "createPassConfig", "Target": "ECLair", "Target_Clf": "MPU", "Compiler_Type": "LLVM", "Idx": 1809, "Length": 22, "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": 1810, "Length": 393, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "static", "void", "pdp11_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", ")", ":", "int_size_in_bytes", "(", "type", ")", ")", ";", "}", ""], "natrual_language": ["Worker", "function", "for", "TARGET_FUNCTION_ARG_ADVANCE", ".", "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": ["pdp11"], "File": "pdp114", "Func": "pdp11_function_arg_advance", "Target": "pdp11", "Target_Clf": "MPU", "Compiler_Type": "GCC", "Idx": 1811, "Length": 47, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "bool", "isReg", "(", ")", "const", "override", "{", "return", "Kind", "==", "Register", "&&", "Reg", ".", "Modifiers", "==", "0", ";", "}", ""], "natrual_language": ["isReg", "-", "Is", "this", "a", "register", "operand", "?"], "TS_V_token": ["AMDGPU", "0"], "File": "AMDGPUAsmParser52", "Func": "isReg", "Target": "AMDGPU", "Target_Clf": "GPU", "Compiler_Type": "LLVM", "Idx": 1812, "Length": 19, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "static", "rtx", "nios2_got_address", "(", "rtx", "loc", ",", "int", "unspec", ")", "{", "rtx", "offset", "=", "nios2_unspec_offset", "(", "loc", ",", "unspec", ")", ";", "crtl", "->", "uses_pic_offset_table", "=", "1", ";", "if", "(", "nios2_large_offset_p", "(", "unspec", ")", ")", "return", "force_reg", "(", "Pmode", ",", "nios2_large_got_address", "(", "offset", ",", "NULL_RTX", ")", ")", ";", "return", "gen_rtx_PLUS", "(", "Pmode", ",", "pic_offset_table_rtx", ",", "offset", ")", ";", "}", ""], "natrual_language": ["Generate", "a", "GOT", "pointer", "based", "address", "."], "TS_V_token": ["nios2", "1"], "File": "nios2", "Func": "nios2_got_address", "Target": "nios2", "Target_Clf": "MPU", "Compiler_Type": "GCC", "Idx": 1813, "Length": 58, "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": 1814, "Length": 30, "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": "aarch644", "Func": "aarch64_validate_mtune", "Target": "aarch64", "Target_Clf": "CPU", "Compiler_Type": "GCC", "Idx": 1815, "Length": 82, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "unsigned", "MOSInstrInfo", "::", "removeBranch", "(", "MachineBasicBlock", "&", "MBB", ",", "int", "*", "BytesRemoved", ")", "const", "{", "auto", "Begin", "=", "MBB", ".", "getFirstTerminator", "(", ")", ";", "auto", "End", "=", "MBB", ".", "end", "(", ")", ";", "while", "(", "Begin", "!=", "End", "&&", "Begin", "->", "isCompare", "(", ")", ")", "++", "Begin", ";", "unsigned", "NumRemoved", "=", "std", "::", "distance", "(", "Begin", ",", "End", ")", ";", "if", "(", "BytesRemoved", ")", "{", "*", "BytesRemoved", "=", "0", ";", "for", "(", "const", "auto", "&", "I", ":", "make_range", "(", "Begin", ",", "End", ")", ")", "*", "BytesRemoved", "+=", "getInstSizeInBytes", "(", "I", ")", ";", "}", "MBB", ".", "erase", "(", "Begin", ",", "End", ")", ";", "return", "NumRemoved", ";", "}", ""], "natrual_language": ["Remove", "the", "branching", "code", "at", "the", "end", "of", "the", "specific", "MBB", "."], "TS_V_token": ["MOS", "MOS", "0"], "File": "MOSInstrInfo", "Func": "removeBranch", "Target": "MOS", "Target_Clf": "MPU", "Compiler_Type": "LLVM", "Idx": 1816, "Length": 106, "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": 1817, "Length": 17, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "bool", "s390_hard_regno_mode_ok", "(", "unsigned", "int", "regno", ",", "machine_mode", "mode", ")", "{", "if", "(", "!", "TARGET_VX", "&&", "VECTOR_NOFP_REGNO_P", "(", "regno", ")", ")", "return", "false", ";", "switch", "(", "REGNO_REG_CLASS", "(", "regno", ")", ")", "{", "case", "VEC_REGS", ":", "return", "(", "(", "GET_MODE_CLASS", "(", "mode", ")", "==", "MODE_INT", "&&", "s390_class_max_nregs", "(", "VEC_REGS", ",", "mode", ")", "==", "1", ")", "||", "mode", "==", "DFmode", "||", "s390_vector_mode_supported_p", "(", "mode", ")", ")", ";", "break", ";", "case", "FP_REGS", ":", "if", "(", "TARGET_VX", "&&", "(", "(", "GET_MODE_CLASS", "(", "mode", ")", "==", "MODE_INT", "&&", "s390_class_max_nregs", "(", "FP_REGS", ",", "mode", ")", "==", "1", ")", "||", "mode", "==", "DFmode", "||", "s390_vector_mode_supported_p", "(", "mode", ")", ")", ")", "return", "true", ";", "if", "(", "REGNO_PAIR_OK", "(", "regno", ",", "mode", ")", ")", "{", "if", "(", "mode", "==", "SImode", "||", "mode", "==", "DImode", ")", "return", "true", ";", "if", "(", "FLOAT_MODE_P", "(", "mode", ")", "&&", "GET_MODE_CLASS", "(", "mode", ")", "!=", "MODE_VECTOR_FLOAT", ")", "return", "true", ";", "}", "break", ";", "case", "ADDR_REGS", ":", "if", "(", "FRAME_REGNO_P", "(", "regno", ")", "&&", "mode", "==", "Pmode", ")", "return", "true", ";", "case", "GENERAL_REGS", ":", "if", "(", "REGNO_PAIR_OK", "(", "regno", ",", "mode", ")", ")", "{", "if", "(", "TARGET_ZARCH", "||", "(", "mode", "!=", "TFmode", "&&", "mode", "!=", "TCmode", "&&", "mode", "!=", "TDmode", ")", ")", "return", "true", ";", "}", "break", ";", "case", "CC_REGS", ":", "if", "(", "GET_MODE_CLASS", "(", "mode", ")", "==", "MODE_CC", ")", "return", "true", ";", "break", ";", "case", "ACCESS_REGS", ":", "if", "(", "REGNO_PAIR_OK", "(", "regno", ",", "mode", ")", ")", "{", "if", "(", "mode", "==", "SImode", "||", "mode", "==", "Pmode", ")", "return", "true", ";", "}", "break", ";", "default", ":", "return", "false", ";", "}", "return", "false", ";", "}", ""], "natrual_language": ["Return", "true", "if", "it", "is", "legal", "to", "put", "a", "value", "with", "MODE", "into", "REGNO", "."], "TS_V_token": ["s390", "1", "1"], "File": "s3905", "Func": "s390_hard_regno_mode_ok", "Target": "s390", "Target_Clf": "MPU", "Compiler_Type": "GCC", "Idx": 1818, "Length": 259, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "static", "bool", "c6x_hard_regno_mode_ok", "(", "unsigned", "int", "regno", ",", "machine_mode", "mode", ")", "{", "return", "GET_MODE_SIZE", "(", "mode", ")", "<=", "UNITS_PER_WORD", "||", "(", "regno", "&", "1", ")", "==", "0", ";", "}", ""], "natrual_language": ["Implement", "TARGET_HARD_REGNO_MODE_OK", "."], "TS_V_token": ["c6x", "1", "0"], "File": "c6x", "Func": "c6x_hard_regno_mode_ok", "Target": "c6x", "Target_Clf": "VLIW", "Compiler_Type": "GCC", "Idx": 1819, "Length": 29, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "bool", "AMDGPUTargetLowering", "::", "isFNegFree", "(", "EVT", "VT", ")", "const", "{", "assert", "(", "VT", ".", "isFloatingPoint", "(", ")", ")", ";", "return", "VT", "==", "MVT", "::", "f32", "||", "VT", "==", "MVT", "::", "f64", ";", "}", ""], "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": ["R600", "MVT::f32", "MVT::f64"], "File": "AMDGPUISelLowering100", "Func": "isFNegFree", "Target": "R600", "Target_Clf": "GPU", "Compiler_Type": "LLVM", "Idx": 1820, "Length": 33, "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": 1821, "Length": 44, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "void", "AMDGPUTargetLowering", "::", "ReplaceNodeResults", "(", "SDNode", "*", "N", ",", "SmallVectorImpl", "<", "SDValue", ">", "&", "Results", ",", "SelectionDAG", "&", "DAG", ")", "const", "{", "switch", "(", "N", "->", "getOpcode", "(", ")", ")", "{", "case", "ISD", "::", "SIGN_EXTEND_INREG", ":", "return", ";", "default", ":", "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": ["AMDGPU", "AMDGPU", "ISD::SIGN_EXTEND_INREG"], "File": "AMDGPUISelLowering (2)1", "Func": "ReplaceNodeResults", "Target": "AMDGPU", "Target_Clf": "GPU", "Compiler_Type": "LLVM", "Idx": 1822, "Length": 44, "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": ["Nyuzi"], "File": "NyuziDisassembler", "Func": "getRegInfo", "Target": "Nyuzi", "Target_Clf": "GPU", "Compiler_Type": "LLVM", "Idx": 1823, "Length": 12, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "void", "s390_function_profiler", "(", "FILE", "*", "file", ",", "int", "labelno", ")", "{", "rtx", "op", "[", "7", "]", ";", "char", "label", "[", "128", "]", ";", "ASM_GENERATE_INTERNAL_LABEL", "(", "label", ",", "\"LP\"", ",", "labelno", ")", ";", "fprintf", "(", "file", ",", "\"# function profiler \\n\"", ")", ";", "op", "[", "0", "]", "=", "gen_rtx_REG", "(", "Pmode", ",", "RETURN_REGNUM", ")", ";", "op", "[", "1", "]", "=", "gen_rtx_REG", "(", "Pmode", ",", "STACK_POINTER_REGNUM", ")", ";", "op", "[", "1", "]", "=", "gen_rtx_MEM", "(", "Pmode", ",", "plus_constant", "(", "Pmode", ",", "op", "[", "1", "]", ",", "UNITS_PER_LONG", ")", ")", ";", "op", "[", "2", "]", "=", "gen_rtx_REG", "(", "Pmode", ",", "1", ")", ";", "op", "[", "3", "]", "=", "gen_rtx_SYMBOL_REF", "(", "Pmode", ",", "label", ")", ";", "SYMBOL_REF_FLAGS", "(", "op", "[", "3", "]", ")", "=", "SYMBOL_FLAG_LOCAL", ";", "op", "[", "4", "]", "=", "gen_rtx_SYMBOL_REF", "(", "Pmode", ",", "\"_mcount\"", ")", ";", "if", "(", "flag_pic", ")", "{", "op", "[", "4", "]", "=", "gen_rtx_UNSPEC", "(", "Pmode", ",", "gen_rtvec", "(", "1", ",", "op", "[", "4", "]", ")", ",", "UNSPEC_PLT", ")", ";", "op", "[", "4", "]", "=", "gen_rtx_CONST", "(", "Pmode", ",", "op", "[", "4", "]", ")", ";", "}", "if", "(", "TARGET_64BIT", ")", "{", "output_asm_insn", "(", "\"stg\\t%0,%1\"", ",", "op", ")", ";", "output_asm_insn", "(", "\"larl\\t%2,%3\"", ",", "op", ")", ";", "output_asm_insn", "(", "\"brasl\\t%0,%4\"", ",", "op", ")", ";", "output_asm_insn", "(", "\"lg\\t%0,%1\"", ",", "op", ")", ";", "}", "else", "if", "(", "!", "flag_pic", ")", "{", "op", "[", "6", "]", "=", "gen_label_rtx", "(", ")", ";", "output_asm_insn", "(", "\"st\\t%0,%1\"", ",", "op", ")", ";", "output_asm_insn", "(", "\"bras\\t%2,%l6\"", ",", "op", ")", ";", "output_asm_insn", "(", "\".long\\t%4\"", ",", "op", ")", ";", "output_asm_insn", "(", "\".long\\t%3\"", ",", "op", ")", ";", "targetm", ".", "asm_out", ".", "internal_label", "(", "file", ",", "\"L\"", ",", "CODE_LABEL_NUMBER", "(", "op", "[", "6", "]", ")", ")", ";", "output_asm_insn", "(", "\"l\\t%0,0(%2)\"", ",", "op", ")", ";", "output_asm_insn", "(", "\"l\\t%2,4(%2)\"", ",", "op", ")", ";", "output_asm_insn", "(", "\"basr\\t%0,%0\"", ",", "op", ")", ";", "output_asm_insn", "(", "\"l\\t%0,%1\"", ",", "op", ")", ";", "}", "else", "{", "op", "[", "5", "]", "=", "gen_label_rtx", "(", ")", ";", "op", "[", "6", "]", "=", "gen_label_rtx", "(", ")", ";", "output_asm_insn", "(", "\"st\\t%0,%1\"", ",", "op", ")", ";", "output_asm_insn", "(", "\"bras\\t%2,%l6\"", ",", "op", ")", ";", "targetm", ".", "asm_out", ".", "internal_label", "(", "file", ",", "\"L\"", ",", "CODE_LABEL_NUMBER", "(", "op", "[", "5", "]", ")", ")", ";", "output_asm_insn", "(", "\".long\\t%4-%l5\"", ",", "op", ")", ";", "output_asm_insn", "(", "\".long\\t%3-%l5\"", ",", "op", ")", ";", "targetm", ".", "asm_out", ".", "internal_label", "(", "file", ",", "\"L\"", ",", "CODE_LABEL_NUMBER", "(", "op", "[", "6", "]", ")", ")", ";", "output_asm_insn", "(", "\"lr\\t%0,%2\"", ",", "op", ")", ";", "output_asm_insn", "(", "\"a\\t%0,0(%2)\"", ",", "op", ")", ";", "output_asm_insn", "(", "\"a\\t%2,4(%2)\"", ",", "op", ")", ";", "output_asm_insn", "(", "\"basr\\t%0,%0\"", ",", "op", ")", ";", "output_asm_insn", "(", "\"l\\t%0,%1\"", ",", "op", ")", ";", "}", "}", ""], "natrual_language": ["Output", "assembler", "code", "to", "FILE", "to", "call", "a", "profiler", "hook", "."], "TS_V_token": ["s390", "7", "128", "\"LP\"", "\"# function profiler \\n\"", "0", "1", "1", "1", "2", "1", "3", "3", "4", "\"_mcount\"", "4", "1", "4", "4", "4", "\"stg\\t%0,%1\"", "\"larl\\t%2,%3\"", "\"brasl\\t%0,%4\"", "\"lg\\t%0,%1\"", "6", "\"st\\t%0,%1\"", "\"bras\\t%2,%l6\"", "\".long\\t%4\"", "\".long\\t%3\"", "\"L\"", "6", "\"l\\t%0,0(%2)\"", "\"l\\t%2,4(%2)\"", "\"basr\\t%0,%0\"", "\"l\\t%0,%1\"", "5", "6", "\"st\\t%0,%1\"", "\"bras\\t%2,%l6\"", "\"L\"", "5", "\".long\\t%4-%l5\"", "\".long\\t%3-%l5\"", "\"L\"", "6", "\"lr\\t%0,%2\"", "\"a\\t%0,0(%2)\"", "\"a\\t%2,4(%2)\"", "\"basr\\t%0,%0\"", "\"l\\t%0,%1\""], "File": "s3904", "Func": "s390_function_profiler", "Target": "s390", "Target_Clf": "MPU", "Compiler_Type": "GCC", "Idx": 1824, "Length": 423, "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": 1825, "Length": 172, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "bool", "P2DAGToDAGISel", "::", "runOnMachineFunction", "(", "MachineFunction", "&", "MF", ")", "{", "return", "SelectionDAGISel", "::", "runOnMachineFunction", "(", "MF", ")", ";", "}", ""], "natrual_language": ["runOnMachineFunction", "-", "Emit", "the", "function", "body", "."], "TS_V_token": ["P2", "P2"], "File": "P2ISelDAGToDAG", "Func": "runOnMachineFunction", "Target": "P2", "Target_Clf": "MPU", "Compiler_Type": "LLVM", "Idx": 1826, "Length": 19, "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": 1827, "Length": 16, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "void", "ScheduleDAGPostRA", "::", "scheduleMI", "(", "SUnit", "*", "SU", ",", "bool", "IsTopNode", ",", "bool", "IsBundled", ")", "{", "MachineInstr", "*", "MI", "=", "SU", "?", "SU", "->", "getInstr", "(", ")", ":", "NULL", ";", "if", "(", "IsTopNode", ")", "{", "assert", "(", "(", "!", "SU", "||", "SU", "->", "isTopReady", "(", ")", ")", "&&", "\"node still has unscheduled dependencies\"", ")", ";", "if", "(", "!", "IsBundled", ")", "finishTopBundle", "(", ")", ";", "if", "(", "MI", ")", "{", "LLVM_DEBUG", "(", "dbgs", "(", ")", "<<", "\"Pick top node SU(\"", "<<", "SU", "->", "NodeNum", "<<", "\") \"", ")", ";", "LLVM_DEBUG", "(", "if", "(", "DFSResult", ")", "dbgs", "(", ")", "<<", "\" ILP: \"", "<<", "DFSResult", "->", "getILP", "(", "SU", ")", "<<", "\" Tree: \"", "<<", "DFSResult", "->", "getSubtreeID", "(", "SU", ")", "<<", "\" @\"", "<<", "DFSResult", "->", "getSubtreeLevel", "(", "DFSResult", "->", "getSubtreeID", "(", "SU", ")", ")", "<<", "'\\n'", ")", ";", "LLVM_DEBUG", "(", "dbgs", "(", ")", "<<", "\"Scheduling \"", "<<", "*", "SU", "->", "getInstr", "(", ")", ")", ";", "TopBundleMIs", ".", "push_back", "(", "MI", ")", ";", "}", "else", "{", "LLVM_DEBUG", "(", "dbgs", "(", ")", "<<", "\"Scheduling NOOP at top\\n\"", ")", ";", "TII", "->", "insertNoop", "(", "*", "BB", ",", "CurrentTop", ")", ";", "if", "(", "CurrentTop", "==", "RegionBegin", ")", "{", "RegionBegin", "=", "std", "::", "prev", "(", "CurrentTop", ")", ";", "}", "}", "}", "else", "{", "assert", "(", "(", "!", "SU", "||", "SU", "->", "isBottomReady", "(", ")", ")", "&&", "\"node still has unscheduled dependencies\"", ")", ";", "if", "(", "!", "IsBundled", ")", "finishBottomBundle", "(", ")", ";", "if", "(", "MI", ")", "{", "LLVM_DEBUG", "(", "dbgs", "(", ")", "<<", "\"Pick bottom node SU(\"", "<<", "SU", "->", "NodeNum", "<<", "\") \"", ")", ";", "LLVM_DEBUG", "(", "if", "(", "DFSResult", ")", "dbgs", "(", ")", "<<", "\" ILP: \"", "<<", "DFSResult", "->", "getILP", "(", "SU", ")", "<<", "\" Tree: \"", "<<", "DFSResult", "->", "getSubtreeID", "(", "SU", ")", "<<", "\" @\"", "<<", "DFSResult", "->", "getSubtreeLevel", "(", "DFSResult", "->", "getSubtreeID", "(", "SU", ")", ")", "<<", "'\\n'", ")", ";", "LLVM_DEBUG", "(", "dbgs", "(", ")", "<<", "\"Scheduling \"", "<<", "*", "SU", "->", "getInstr", "(", ")", ")", ";", "BottomBundleMIs", ".", "push_back", "(", "MI", ")", ";", "}", "else", "{", "LLVM_DEBUG", "(", "dbgs", "(", ")", "<<", "\"Scheduling NOOP at bottom\\n\"", ")", ";", "TII", "->", "insertNoop", "(", "*", "BB", ",", "CurrentBottom", ")", ";", "if", "(", "CurrentBottom", "==", "CurrentTop", ")", "{", "CurrentTop", "=", "std", "::", "prev", "(", "CurrentTop", ")", ";", "}", "if", "(", "CurrentBottom", "==", "RegionBegin", ")", "{", "RegionBegin", "=", "std", "::", "prev", "(", "CurrentBottom", ")", ";", "}", "CurrentBottom", "=", "std", "::", "prev", "(", "CurrentBottom", ")", ";", "}", "}", "}", ""], "natrual_language": ["Move", "an", "instruction", "and", "update", "register", "pressure", "."], "TS_V_token": ["Patmos", "\"node still has unscheduled dependencies\"", "\"Pick top node SU(\"", "\") \"", "\" ILP: \"", "\" Tree: \"", "\" @\"", "\"Scheduling \"", "\"Scheduling NOOP at top\\n\"", "\"node still has unscheduled dependencies\"", "\"Pick bottom node SU(\"", "\") \"", "\" ILP: \"", "\" Tree: \"", "\" @\"", "\"Scheduling \"", "\"Scheduling NOOP at bottom\\n\""], "File": "PatmosPostRAScheduler1", "Func": "scheduleMI", "Target": "Patmos", "Target_Clf": "VLIW", "Compiler_Type": "LLVM", "Idx": 1828, "Length": 372, "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": 1829, "Length": 464, "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": 1830, "Length": 53, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "static", "bool", "nvptx_record_fndecl", "(", "tree", "decl", ",", "bool", "force", "=", "false", ")", "{", "if", "(", "decl", "==", "NULL_TREE", "||", "TREE_CODE", "(", "decl", ")", "!=", "FUNCTION_DECL", "||", "!", "DECL_EXTERNAL", "(", "decl", ")", ")", "return", "true", ";", "if", "(", "!", "force", "&&", "TYPE_ARG_TYPES", "(", "TREE_TYPE", "(", "decl", ")", ")", "==", "NULL_TREE", ")", "return", "false", ";", "tree", "*", "slot", "=", "declared_fndecls_htab", "->", "find_slot", "(", "decl", ",", "INSERT", ")", ";", "if", "(", "*", "slot", "==", "NULL", ")", "{", "*", "slot", "=", "decl", ";", "const", "char", "*", "name", "=", "get_fnname_from_decl", "(", "decl", ")", ";", "name", "=", "nvptx_name_replacement", "(", "name", ")", ";", "write_function_decl_and_comment", "(", "func_decls", ",", "name", ",", "decl", ")", ";", "}", "return", "true", ";", "}", ""], "natrual_language": ["DECL", "is", "an", "external", "FUNCTION_DECL", ",", "make", "sure", "its", "in", "the", "fndecl", "hash", "table", "and", "and", "write", "a", "ptx", "prototype", ".", "These", "are", "emitted", "at", "end", "of", "compilation", "."], "TS_V_token": ["nvptx"], "File": "nvptx2", "Func": "nvptx_record_fndecl", "Target": "nvptx", "Target_Clf": "GPU", "Compiler_Type": "GCC", "Idx": 1831, "Length": 110, "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": 1832, "Length": 41, "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": 1833, "Length": 180, "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": 1834, "Length": 389, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "bool", "Z80InstrInfo", "::", "analyzeCompare", "(", "const", "MachineInstr", "&", "MI", ",", "unsigned", "&", "SrcReg", ",", "unsigned", "&", "SrcReg2", ",", "int", "&", "CmpMask", ",", "int", "&", "CmpValue", ")", "const", "{", "switch", "(", "MI", ".", "getOpcode", "(", ")", ")", "{", "default", ":", "return", "false", ";", "case", "Z80", "::", "OR8ar", ":", "SrcReg", "=", "Z80", "::", "A", ";", "if", "(", "MI", ".", "getOperand", "(", "1", ")", ".", "getReg", "(", ")", "!=", "SrcReg", ")", "return", "false", ";", "SrcReg2", "=", "0", ";", "CmpMask", "=", "~", "0", ";", "CmpValue", "=", "0", ";", "break", ";", "case", "Z80", "::", "CP8ai", ":", "case", "Z80", "::", "SUB8ai", ":", "SrcReg", "=", "Z80", "::", "A", ";", "SrcReg2", "=", "0", ";", "CmpMask", "=", "CmpValue", "=", "0", ";", "if", "(", "MI", ".", "getOperand", "(", "0", ")", ".", "isImm", "(", ")", ")", "{", "CmpMask", "=", "~", "0", ";", "CmpValue", "=", "MI", ".", "getOperand", "(", "0", ")", ".", "getImm", "(", ")", ";", "}", "break", ";", "case", "Z80", "::", "CP8ar", ":", "case", "Z80", "::", "SUB8ar", ":", "SrcReg", "=", "Z80", "::", "A", ";", "SrcReg2", "=", "MI", ".", "getOperand", "(", "0", ")", ".", "getReg", "(", ")", ";", "CmpMask", "=", "CmpValue", "=", "0", ";", "break", ";", "case", "Z80", "::", "CP8ap", ":", "case", "Z80", "::", "CP8ao", ":", "case", "Z80", "::", "SUB8ap", ":", "case", "Z80", "::", "SUB8ao", ":", "SrcReg", "=", "Z80", "::", "A", ";", "SrcReg2", "=", "CmpMask", "=", "CmpValue", "=", "0", ";", "break", ";", "}", "MachineBasicBlock", "::", "const_reverse_iterator", "I", "=", "MI", ",", "E", "=", "MI", ".", "getParent", "(", ")", "->", "rend", "(", ")", ";", "while", "(", "++", "I", "!=", "E", "&&", "I", "->", "isFullCopy", "(", ")", ")", "for", "(", "unsigned", "*", "Reg", ":", "{", "&", "SrcReg", ",", "&", "SrcReg2", "}", ")", "if", "(", "TargetRegisterInfo", "::", "isPhysicalRegister", "(", "*", "Reg", ")", "&&", "*", "Reg", "==", "I", "->", "getOperand", "(", "0", ")", ".", "getReg", "(", ")", ")", "*", "Reg", "=", "I", "->", "getOperand", "(", "1", ")", ".", "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": ["Z80", "Z80", "Z80::OR8ar", "Z80::A", "1", "0", "0", "0", "Z80::CP8ai", "Z80::SUB8ai", "Z80::A", "0", "0", "0", "0", "0", "Z80::CP8ar", "Z80::SUB8ar", "Z80::A", "0", "0", "Z80::CP8ap", "Z80::CP8ao", "Z80::SUB8ap", "Z80::SUB8ao", "Z80::A", "0", "0", "1"], "File": "Z80InstrInfo2", "Func": "analyzeCompare", "Target": "Z80", "Target_Clf": "MPU", "Compiler_Type": "LLVM", "Idx": 1835, "Length": 309, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "void", "AMDGPUTargetLowering", "::", "computeKnownBitsForTargetNode", "(", "const", "SDValue", "Op", ",", "KnownBits", "&", "Known", ",", "const", "APInt", "&", "DemandedElts", ",", "const", "SelectionDAG", "&", "DAG", ",", "unsigned", "Depth", ")", "const", "{", "Known", ".", "resetAll", "(", ")", ";", "unsigned", "Opc", "=", "Op", ".", "getOpcode", "(", ")", ";", "switch", "(", "Opc", ")", "{", "default", ":", "break", ";", "case", "AMDGPUISD", "::", "CARRY", ":", "case", "AMDGPUISD", "::", "BORROW", ":", "{", "Known", ".", "Zero", "=", "APInt", "::", "getHighBitsSet", "(", "32", ",", "31", ")", ";", "break", ";", "}", "case", "AMDGPUISD", "::", "BFE_I32", ":", "case", "AMDGPUISD", "::", "BFE_U32", ":", "{", "ConstantSDNode", "*", "CWidth", "=", "dyn_cast", "<", "ConstantSDNode", ">", "(", "Op", ".", "getOperand", "(", "2", ")", ")", ";", "if", "(", "!", "CWidth", ")", "return", ";", "uint32_t", "Width", "=", "CWidth", "->", "getZExtValue", "(", ")", "&", "0x1f", ";", "if", "(", "Opc", "==", "AMDGPUISD", "::", "BFE_U32", ")", "Known", ".", "Zero", "=", "APInt", "::", "getHighBitsSet", "(", "32", ",", "32", "-", "Width", ")", ";", "break", ";", "}", "case", "AMDGPUISD", "::", "FP_TO_FP16", ":", "case", "AMDGPUISD", "::", "FP16_ZEXT", ":", "{", "unsigned", "BitWidth", "=", "Known", ".", "getBitWidth", "(", ")", ";", "Known", ".", "Zero", "=", "APInt", "::", "getHighBitsSet", "(", "BitWidth", ",", "BitWidth", "-", "16", ")", ";", "break", ";", "}", "case", "AMDGPUISD", "::", "MUL_U24", ":", "case", "AMDGPUISD", "::", "MUL_I24", ":", "{", "KnownBits", "LHSKnown", ",", "RHSKnown", ";", "DAG", ".", "computeKnownBits", "(", "Op", ".", "getOperand", "(", "0", ")", ",", "LHSKnown", ",", "Depth", "+", "1", ")", ";", "DAG", ".", "computeKnownBits", "(", "Op", ".", "getOperand", "(", "1", ")", ",", "RHSKnown", ",", "Depth", "+", "1", ")", ";", "unsigned", "TrailZ", "=", "LHSKnown", ".", "countMinTrailingZeros", "(", ")", "+", "RHSKnown", ".", "countMinTrailingZeros", "(", ")", ";", "Known", ".", "Zero", ".", "setLowBits", "(", "std", "::", "min", "(", "TrailZ", ",", "32u", ")", ")", ";", "unsigned", "LHSValBits", "=", "32", "-", "std", "::", "max", "(", "LHSKnown", ".", "countMinSignBits", "(", ")", ",", "8u", ")", ";", "unsigned", "RHSValBits", "=", "32", "-", "std", "::", "max", "(", "RHSKnown", ".", "countMinSignBits", "(", ")", ",", "8u", ")", ";", "unsigned", "MaxValBits", "=", "std", "::", "min", "(", "LHSValBits", "+", "RHSValBits", ",", "32u", ")", ";", "if", "(", "MaxValBits", ">=", "32", ")", "break", ";", "bool", "Negative", "=", "false", ";", "if", "(", "Opc", "==", "AMDGPUISD", "::", "MUL_I24", ")", "{", "bool", "LHSNegative", "=", "!", "!", "(", "LHSKnown", ".", "One", "&", "(", "1", "<<", "23", ")", ")", ";", "bool", "LHSPositive", "=", "!", "!", "(", "LHSKnown", ".", "Zero", "&", "(", "1", "<<", "23", ")", ")", ";", "bool", "RHSNegative", "=", "!", "!", "(", "RHSKnown", ".", "One", "&", "(", "1", "<<", "23", ")", ")", ";", "bool", "RHSPositive", "=", "!", "!", "(", "RHSKnown", ".", "Zero", "&", "(", "1", "<<", "23", ")", ")", ";", "if", "(", "(", "!", "LHSNegative", "&&", "!", "LHSPositive", ")", "||", "(", "!", "RHSNegative", "&&", "!", "RHSPositive", ")", ")", "break", ";", "Negative", "=", "(", "LHSNegative", "&&", "RHSPositive", ")", "||", "(", "LHSPositive", "&&", "RHSNegative", ")", ";", "}", "if", "(", "Negative", ")", "Known", ".", "One", ".", "setHighBits", "(", "32", "-", "MaxValBits", ")", ";", "else", "Known", ".", "Zero", ".", "setHighBits", "(", "32", "-", "MaxValBits", ")", ";", "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": ["AMDGPU", "AMDGPU", "AMDGPUISD::CARRY", "AMDGPUISD::BORROW", "32", "31", "AMDGPUISD::BFE_I32", "AMDGPUISD::BFE_U32", "2", "0x1f", "AMDGPUISD::BFE_U32", "32", "32", "AMDGPUISD::FP_TO_FP16", "AMDGPUISD::FP16_ZEXT", "16", "AMDGPUISD::MUL_U24", "AMDGPUISD::MUL_I24", "0", "1", "1", "1", "32u", "32", "8u", "32", "8u", "32u", "32", "AMDGPUISD::MUL_I24", "1", "23", "1", "23", "1", "23", "1", "23", "32", "32"], "File": "AMDGPUISelLowering37", "Func": "computeKnownBitsForTargetNode", "Target": "AMDGPU", "Target_Clf": "GPU", "Compiler_Type": "LLVM", "Idx": 1836, "Length": 479, "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": 1837, "Length": 181, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "uint16_t", "getAddress", "(", ")", "const", "{", "return", "Address", ";", "}", ""], "natrual_language": ["Returns", "the", "address", "of", "this", "pointer", "in", "this", "block", "."], "TS_V_token": ["GBZ80"], "File": "GBZ80TargetObjectFile", "Func": "getAddress", "Target": "GBZ80", "Target_Clf": "MPU", "Compiler_Type": "LLVM", "Idx": 1838, "Length": 10, "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": 1839, "Length": 90, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "void", "BPFInstrInfo", "::", "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", "(", ")", ";", "if", "(", "RC", "==", "&", "BPF", "::", "GPRRegClass", ")", "BuildMI", "(", "MBB", ",", "I", ",", "DL", ",", "get", "(", "BPF", "::", "LDD", ")", ",", "DestReg", ")", ".", "addFrameIndex", "(", "FI", ")", ".", "addImm", "(", "0", ")", ";", "else", "if", "(", "RC", "==", "&", "BPF", "::", "GPR32RegClass", ")", "BuildMI", "(", "MBB", ",", "I", ",", "DL", ",", "get", "(", "BPF", "::", "LDW32", ")", ",", "DestReg", ")", ".", "addFrameIndex", "(", "FI", ")", ".", "addImm", "(", "0", ")", ";", "else", "llvm_unreachable", "(", "\"Can't load this register from stack slot\"", ")", ";", "}", ""], "natrual_language": ["Load", "the", "specified", "register", "of", "the", "given", "register", "class", "from", "the", "specified", "stack", "frame", "index", "."], "TS_V_token": ["BPF", "BPF", "BPF::GPRRegClass", "BPF::LDD", "0", "BPF::GPR32RegClass", "BPF::LDW32", "0", "\"Can't load this register from stack slot\""], "File": "BPFInstrInfo14", "Func": "loadRegFromStackSlot", "Target": "BPF", "Target_Clf": "Virtual ISA", "Compiler_Type": "LLVM", "Idx": 1840, "Length": 135, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "static", "bool", "expand_perm_with_vpdi", "(", "const", "struct", "expand_vec_perm_d", "&", "d", ")", "{", "bool", "vpdi1_p", "=", "false", ";", "bool", "vpdi4_p", "=", "false", ";", "rtx", "op0_reg", ",", "op1_reg", ";", "if", "(", "d", ".", "nelt", "!=", "2", ")", "return", "false", ";", "if", "(", "d", ".", "perm", "[", "0", "]", "==", "0", "&&", "d", ".", "perm", "[", "1", "]", "==", "3", ")", "vpdi1_p", "=", "true", ";", "if", "(", "(", "d", ".", "perm", "[", "0", "]", "==", "1", "&&", "d", ".", "perm", "[", "1", "]", "==", "2", ")", "||", "(", "d", ".", "perm", "[", "0", "]", "==", "1", "&&", "d", ".", "perm", "[", "1", "]", "==", "0", ")", "||", "(", "d", ".", "perm", "[", "0", "]", "==", "3", "&&", "d", ".", "perm", "[", "1", "]", "==", "2", ")", ")", "vpdi4_p", "=", "true", ";", "if", "(", "!", "vpdi1_p", "&&", "!", "vpdi4_p", ")", "return", "false", ";", "if", "(", "d", ".", "testing_p", ")", "return", "true", ";", "op0_reg", "=", "force_reg", "(", "GET_MODE", "(", "d", ".", "op0", ")", ",", "d", ".", "op0", ")", ";", "op1_reg", "=", "force_reg", "(", "GET_MODE", "(", "d", ".", "op1", ")", ",", "d", ".", "op1", ")", ";", "if", "(", "d", ".", "only_op0", ")", "op1_reg", "=", "op0_reg", ";", "else", "if", "(", "d", ".", "only_op1", ")", "op0_reg", "=", "op1_reg", ";", "if", "(", "vpdi1_p", ")", "emit_insn", "(", "gen_vpdi1", "(", "d", ".", "vmode", ",", "d", ".", "target", ",", "op0_reg", ",", "op1_reg", ")", ")", ";", "if", "(", "vpdi4_p", ")", "emit_insn", "(", "gen_vpdi4", "(", "d", ".", "vmode", ",", "d", ".", "target", ",", "op0_reg", ",", "op1_reg", ")", ")", ";", "return", "true", ";", "}", ""], "natrual_language": ["Try", "to", "expand", "the", "vector", "permute", "operation", "described", "by", "D", "using", "the", "vector", "permute", "doubleword", "immediate", "instruction", "vpdi", ".", "Return", "true", "if", "vpdi", "could", "be", "used", ".", "VPDI", "allows", "4", "different", "immediate", "values", "(", "0", ",", "1", ",", "4", ",", "5", ")", ".", "The", "0", "and", "5", "cases", "are", "covered", "by", "vmrhg", "and", "vmrlg", "already", ".", "So", "we", "only", "care", "about", "the", "1", ",", "4", "cases", "here", ".", "1", "-", "First", "element", "of", "src1", "and", "second", "of", "src2", "4", "-", "Second", "element", "of", "src1", "and", "first", "of", "src2"], "TS_V_token": ["s390", "2", "0", "0", "1", "3", "0", "1", "1", "2", "0", "1", "1", "0", "0", "3", "1", "2"], "File": "s3901", "Func": "expand_perm_with_vpdi", "Target": "s390", "Target_Clf": "MPU", "Compiler_Type": "GCC", "Idx": 1841, "Length": 248, "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": 1842, "Length": 127, "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": 1843, "Length": 41, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "bool", "SIInstrInfo", "::", "isReallyTriviallyReMaterializable", "(", "const", "MachineInstr", "*", "MI", ",", "AliasAnalysis", "*", "AA", ")", "const", "{", "switch", "(", "MI", "->", "getOpcode", "(", ")", ")", "{", "case", "AMDGPU", "::", "V_MOV_B32_e32", ":", "case", "AMDGPU", "::", "V_MOV_B32_e64", ":", "return", "true", ";", "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": ["R600", "SI"], "File": "SIInstrInfo101", "Func": "isReallyTriviallyReMaterializable", "Target": "R600", "Target_Clf": "GPU", "Compiler_Type": "LLVM", "Idx": 1844, "Length": 45, "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": 1845, "Length": 289, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "static", "rtx", "alpha_emit_xfloating_compare", "(", "enum", "rtx_code", "*", "pcode", ",", "rtx", "op0", ",", "rtx", "op1", ")", "{", "enum", "rtx_code", "cmp_code", ",", "res_code", ";", "rtx", "func", ",", "out", ",", "operands", "[", "2", "]", ",", "note", ";", "cmp_code", "=", "*", "pcode", ";", "switch", "(", "cmp_code", ")", "{", "case", "UNORDERED", ":", "cmp_code", "=", "EQ", ";", "res_code", "=", "LT", ";", "break", ";", "case", "ORDERED", ":", "cmp_code", "=", "EQ", ";", "res_code", "=", "GE", ";", "break", ";", "case", "NE", ":", "res_code", "=", "NE", ";", "break", ";", "case", "EQ", ":", "case", "LT", ":", "case", "GT", ":", "case", "LE", ":", "case", "GE", ":", "res_code", "=", "GT", ";", "break", ";", "default", ":", "gcc_unreachable", "(", ")", ";", "}", "*", "pcode", "=", "res_code", ";", "func", "=", "alpha_lookup_xfloating_lib_func", "(", "cmp_code", ")", ";", "operands", "[", "0", "]", "=", "op0", ";", "operands", "[", "1", "]", "=", "op1", ";", "out", "=", "gen_reg_rtx", "(", "DImode", ")", ";", "note", "=", "gen_rtx_fmt_ee", "(", "cmp_code", ",", "VOIDmode", ",", "op0", ",", "op1", ")", ";", "note", "=", "gen_rtx_UNSPEC", "(", "DImode", ",", "gen_rtvec", "(", "1", ",", "note", ")", ",", "UNSPEC_XFLT_COMPARE", ")", ";", "alpha_emit_xfloating_libcall", "(", "func", ",", "out", ",", "operands", ",", "2", ",", "note", ")", ";", "return", "out", ";", "}", ""], "natrual_language": ["Emit", "an", "X_floating", "library", "function", "call", "for", "a", "comparison", "."], "TS_V_token": ["alpha", "2", "0", "1", "1", "2"], "File": "alpha", "Func": "alpha_emit_xfloating_compare", "Target": "alpha", "Target_Clf": "MPU", "Compiler_Type": "GCC", "Idx": 1846, "Length": 186, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "static", "rtx", "alpha_function_value_1", "(", "const_tree", "valtype", ",", "const_tree", "func", "ATTRIBUTE_UNUSED", ",", "machine_mode", "mode", ")", "{", "unsigned", "int", "regnum", ",", "dummy", "ATTRIBUTE_UNUSED", ";", "enum", "mode_class", "mclass", ";", "gcc_assert", "(", "!", "valtype", "||", "!", "alpha_return_in_memory", "(", "valtype", ",", "func", ")", ")", ";", "if", "(", "valtype", ")", "mode", "=", "TYPE_MODE", "(", "valtype", ")", ";", "mclass", "=", "GET_MODE_CLASS", "(", "mode", ")", ";", "switch", "(", "mclass", ")", "{", "case", "MODE_INT", ":", "if", "(", "!", "(", "TARGET_ABI_OPEN_VMS", "&&", "valtype", "&&", "AGGREGATE_TYPE_P", "(", "valtype", ")", ")", ")", "PROMOTE_MODE", "(", "mode", ",", "dummy", ",", "valtype", ")", ";", "case", "MODE_COMPLEX_INT", ":", "case", "MODE_VECTOR_INT", ":", "regnum", "=", "0", ";", "break", ";", "case", "MODE_FLOAT", ":", "regnum", "=", "32", ";", "break", ";", "case", "MODE_COMPLEX_FLOAT", ":", "{", "machine_mode", "cmode", "=", "GET_MODE_INNER", "(", "mode", ")", ";", "return", "gen_rtx_PARALLEL", "(", "VOIDmode", ",", "gen_rtvec", "(", "2", ",", "gen_rtx_EXPR_LIST", "(", "VOIDmode", ",", "gen_rtx_REG", "(", "cmode", ",", "32", ")", ",", "const0_rtx", ")", ",", "gen_rtx_EXPR_LIST", "(", "VOIDmode", ",", "gen_rtx_REG", "(", "cmode", ",", "33", ")", ",", "GEN_INT", "(", "GET_MODE_SIZE", "(", "cmode", ")", ")", ")", ")", ")", ";", "}", "case", "MODE_RANDOM", ":", "gcc_assert", "(", "TARGET_ABI_OPEN_VMS", "&&", "mode", "==", "BLKmode", ")", ";", "regnum", "=", "0", ";", "break", ";", "default", ":", "gcc_unreachable", "(", ")", ";", "}", "return", "gen_rtx_REG", "(", "mode", ",", "regnum", ")", ";", "}", ""], "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", ".", "MODE", "is", "set", "instead", "of", "VALTYPE", "for", "libcalls", ".", "On", "Alpha", "the", "value", "is", "found", "in", "$", "0", "for", "integer", "functions", "and", "$", "f0", "for", "floating-point", "functions", "."], "TS_V_token": ["alpha", "0", "32", "2", "32", "33", "0"], "File": "alpha", "Func": "alpha_function_value_1", "Target": "alpha", "Target_Clf": "MPU", "Compiler_Type": "GCC", "Idx": 1847, "Length": 202, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "void", "s390_function_profiler", "(", "FILE", "*", "file", ",", "int", "labelno", ")", "{", "rtx", "op", "[", "7", "]", ";", "char", "label", "[", "128", "]", ";", "ASM_GENERATE_INTERNAL_LABEL", "(", "label", ",", "\"LP\"", ",", "labelno", ")", ";", "fprintf", "(", "file", ",", "\"# function profiler \\n\"", ")", ";", "op", "[", "0", "]", "=", "gen_rtx_REG", "(", "Pmode", ",", "RETURN_REGNUM", ")", ";", "op", "[", "1", "]", "=", "gen_rtx_REG", "(", "Pmode", ",", "STACK_POINTER_REGNUM", ")", ";", "op", "[", "1", "]", "=", "gen_rtx_MEM", "(", "Pmode", ",", "plus_constant", "(", "Pmode", ",", "op", "[", "1", "]", ",", "UNITS_PER_LONG", ")", ")", ";", "op", "[", "2", "]", "=", "gen_rtx_REG", "(", "Pmode", ",", "1", ")", ";", "op", "[", "3", "]", "=", "gen_rtx_SYMBOL_REF", "(", "Pmode", ",", "label", ")", ";", "SYMBOL_REF_FLAGS", "(", "op", "[", "3", "]", ")", "=", "SYMBOL_FLAG_LOCAL", ";", "op", "[", "4", "]", "=", "gen_rtx_SYMBOL_REF", "(", "Pmode", ",", "\"_mcount\"", ")", ";", "if", "(", "flag_pic", ")", "{", "op", "[", "4", "]", "=", "gen_rtx_UNSPEC", "(", "Pmode", ",", "gen_rtvec", "(", "1", ",", "op", "[", "4", "]", ")", ",", "UNSPEC_PLT", ")", ";", "op", "[", "4", "]", "=", "gen_rtx_CONST", "(", "Pmode", ",", "op", "[", "4", "]", ")", ";", "}", "if", "(", "TARGET_64BIT", ")", "{", "output_asm_insn", "(", "\"stg\\t%0,%1\"", ",", "op", ")", ";", "output_asm_insn", "(", "\"larl\\t%2,%3\"", ",", "op", ")", ";", "output_asm_insn", "(", "\"brasl\\t%0,%4\"", ",", "op", ")", ";", "output_asm_insn", "(", "\"lg\\t%0,%1\"", ",", "op", ")", ";", "}", "else", "if", "(", "TARGET_CPU_ZARCH", ")", "{", "output_asm_insn", "(", "\"st\\t%0,%1\"", ",", "op", ")", ";", "output_asm_insn", "(", "\"larl\\t%2,%3\"", ",", "op", ")", ";", "output_asm_insn", "(", "\"brasl\\t%0,%4\"", ",", "op", ")", ";", "output_asm_insn", "(", "\"l\\t%0,%1\"", ",", "op", ")", ";", "}", "else", "if", "(", "!", "flag_pic", ")", "{", "op", "[", "6", "]", "=", "gen_label_rtx", "(", ")", ";", "output_asm_insn", "(", "\"st\\t%0,%1\"", ",", "op", ")", ";", "output_asm_insn", "(", "\"bras\\t%2,%l6\"", ",", "op", ")", ";", "output_asm_insn", "(", "\".long\\t%4\"", ",", "op", ")", ";", "output_asm_insn", "(", "\".long\\t%3\"", ",", "op", ")", ";", "targetm", ".", "asm_out", ".", "internal_label", "(", "file", ",", "\"L\"", ",", "CODE_LABEL_NUMBER", "(", "op", "[", "6", "]", ")", ")", ";", "output_asm_insn", "(", "\"l\\t%0,0(%2)\"", ",", "op", ")", ";", "output_asm_insn", "(", "\"l\\t%2,4(%2)\"", ",", "op", ")", ";", "output_asm_insn", "(", "\"basr\\t%0,%0\"", ",", "op", ")", ";", "output_asm_insn", "(", "\"l\\t%0,%1\"", ",", "op", ")", ";", "}", "else", "{", "op", "[", "5", "]", "=", "gen_label_rtx", "(", ")", ";", "op", "[", "6", "]", "=", "gen_label_rtx", "(", ")", ";", "output_asm_insn", "(", "\"st\\t%0,%1\"", ",", "op", ")", ";", "output_asm_insn", "(", "\"bras\\t%2,%l6\"", ",", "op", ")", ";", "targetm", ".", "asm_out", ".", "internal_label", "(", "file", ",", "\"L\"", ",", "CODE_LABEL_NUMBER", "(", "op", "[", "5", "]", ")", ")", ";", "output_asm_insn", "(", "\".long\\t%4-%l5\"", ",", "op", ")", ";", "output_asm_insn", "(", "\".long\\t%3-%l5\"", ",", "op", ")", ";", "targetm", ".", "asm_out", ".", "internal_label", "(", "file", ",", "\"L\"", ",", "CODE_LABEL_NUMBER", "(", "op", "[", "6", "]", ")", ")", ";", "output_asm_insn", "(", "\"lr\\t%0,%2\"", ",", "op", ")", ";", "output_asm_insn", "(", "\"a\\t%0,0(%2)\"", ",", "op", ")", ";", "output_asm_insn", "(", "\"a\\t%2,4(%2)\"", ",", "op", ")", ";", "output_asm_insn", "(", "\"basr\\t%0,%0\"", ",", "op", ")", ";", "output_asm_insn", "(", "\"l\\t%0,%1\"", ",", "op", ")", ";", "}", "}", ""], "natrual_language": ["Output", "assembler", "code", "to", "FILE", "to", "call", "a", "profiler", "hook", "."], "TS_V_token": ["s390", "7", "128", "\"LP\"", "\"# function profiler \\n\"", "0", "1", "1", "1", "2", "1", "3", "3", "4", "\"_mcount\"", "4", "1", "4", "4", "4", "\"stg\\t%0,%1\"", "\"larl\\t%2,%3\"", "\"brasl\\t%0,%4\"", "\"lg\\t%0,%1\"", "\"st\\t%0,%1\"", "\"larl\\t%2,%3\"", "\"brasl\\t%0,%4\"", "\"l\\t%0,%1\"", "6", "\"st\\t%0,%1\"", "\"bras\\t%2,%l6\"", "\".long\\t%4\"", "\".long\\t%3\"", "\"L\"", "6", "\"l\\t%0,0(%2)\"", "\"l\\t%2,4(%2)\"", "\"basr\\t%0,%0\"", "\"l\\t%0,%1\"", "5", "6", "\"st\\t%0,%1\"", "\"bras\\t%2,%l6\"", "\"L\"", "5", "\".long\\t%4-%l5\"", "\".long\\t%3-%l5\"", "\"L\"", "6", "\"lr\\t%0,%2\"", "\"a\\t%0,0(%2)\"", "\"a\\t%2,4(%2)\"", "\"basr\\t%0,%0\"", "\"l\\t%0,%1\""], "File": "s3905", "Func": "s390_function_profiler", "Target": "s390", "Target_Clf": "MPU", "Compiler_Type": "GCC", "Idx": 1848, "Length": 458, "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": 1849, "Length": 77, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "virtual", "const", "LC3bSubtarget", "*", "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": ["LC3b", "LC3b"], "File": "LC3bTargetMachine", "Func": "getSubtargetImpl", "Target": "LC3b", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 1850, "Length": 14, "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": 1851, "Length": 109, "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": 1852, "Length": 108, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "virtual", "unsigned", "int", "execute", "(", "function", "*", ")", "{", "return", "aarch64_do_track_speculation", "(", ")", ";", "}", ""], "natrual_language": ["Main", "entry", "point", "for", "this", "pass", "."], "TS_V_token": ["aarch64"], "File": "aarch64-speculation", "Func": "execute", "Target": "aarch64", "Target_Clf": "CPU", "Compiler_Type": "GCC", "Idx": 1853, "Length": 15, "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": ["RI5CY", "RISCV"], "File": "RISCVExpandPseudoInsts", "Func": "getPassName", "Target": "RI5CY", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 1854, "Length": 11, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "bool", "MatchAndEmitInstruction", "(", "SMLoc", "IDLoc", ",", "unsigned", "&", ",", "OperandVector", "&", "Operands", ",", "MCStreamer", "&", "Out", ",", "uint64_t", "&", "ErrorInfo", ",", "bool", "MatchingInlineAsm", ")", "override", "{", "MCInst", "Inst", ";", "Inst", ".", "setLoc", "(", "IDLoc", ")", ";", "unsigned", "MatchResult", "=", "MatchInstructionImpl", "(", "Operands", ",", "Inst", ",", "ErrorInfo", ",", "MatchingInlineAsm", ")", ";", "switch", "(", "MatchResult", ")", "{", "case", "Match_Success", ":", "{", "ensureLocals", "(", "Out", ")", ";", "auto", "Align", "=", "WebAssembly", "::", "GetDefaultP2AlignAny", "(", "Inst", ".", "getOpcode", "(", ")", ")", ";", "if", "(", "Align", "!=", "-", "1U", ")", "{", "auto", "&", "Op0", "=", "Inst", ".", "getOperand", "(", "0", ")", ";", "if", "(", "Op0", ".", "getImm", "(", ")", "==", "-", "1", ")", "Op0", ".", "setImm", "(", "Align", ")", ";", "}", "Out", ".", "emitInstruction", "(", "Inst", ",", "getSTI", "(", ")", ")", ";", "if", "(", "CurrentState", "==", "EndFunction", ")", "{", "onEndOfFunction", "(", ")", ";", "}", "else", "{", "CurrentState", "=", "Instructions", ";", "}", "return", "false", ";", "}", "case", "Match_MissingFeature", ":", "return", "Parser", ".", "Error", "(", "IDLoc", ",", "\"instruction requires a WASM feature not currently enabled\"", ")", ";", "case", "Match_MnemonicFail", ":", "return", "Parser", ".", "Error", "(", "IDLoc", ",", "\"invalid instruction\"", ")", ";", "case", "Match_NearMisses", ":", "return", "Parser", ".", "Error", "(", "IDLoc", ",", "\"ambiguous instruction\"", ")", ";", "case", "Match_InvalidTiedOperand", ":", "case", "Match_InvalidOperand", ":", "{", "SMLoc", "ErrorLoc", "=", "IDLoc", ";", "if", "(", "ErrorInfo", "!=", "~", "0ULL", ")", "{", "if", "(", "ErrorInfo", ">=", "Operands", ".", "size", "(", ")", ")", "return", "Parser", ".", "Error", "(", "IDLoc", ",", "\"too few operands for instruction\"", ")", ";", "ErrorLoc", "=", "Operands", "[", "ErrorInfo", "]", "->", "getStartLoc", "(", ")", ";", "if", "(", "ErrorLoc", "==", "SMLoc", "(", ")", ")", "ErrorLoc", "=", "IDLoc", ";", "}", "return", "Parser", ".", "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": ["WebAssembly", "WebAssembly::GetDefaultP2AlignAny", "1U", "0", "1", "\"instruction requires a WASM feature not currently enabled\"", "\"invalid instruction\"", "\"ambiguous instruction\"", "0ULL", "\"too few operands for instruction\"", "\"invalid operand for instruction\"", "\"Implement any new match types added!\""], "File": "WebAssemblyAsmParser26", "Func": "MatchAndEmitInstruction", "Target": "WebAssembly", "Target_Clf": "Virtual ISA", "Compiler_Type": "LLVM", "Idx": 1855, "Length": 271, "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": 1856, "Length": 412, "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": 1857, "Length": 33, "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": 1858, "Length": 46, "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": 1859, "Length": 167, "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": 1860, "Length": 265, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "void", "MBlazeAsmPrinter", "::", "EmitInstruction", "(", "const", "MachineInstr", "*", "MI", ")", "{", "MBlazeMCInstLower", "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": ["MBlaze", "MBlaze", "MBlaze"], "File": "MBlazeAsmPrinter", "Func": "EmitInstruction", "Target": "MBlaze", "Target_Clf": "MPU", "Compiler_Type": "LLVM", "Idx": 1861, "Length": 43, "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": 1862, "Length": 36, "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": 1863, "Length": 31, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "static", "void", "visium_conditional_register_usage", "(", "void", ")", "{", "if", "(", "!", "TARGET_SV_MODE", ")", "{", "if", "(", "visium_cpu_and_features", "==", "PROCESSOR_GR5", ")", "{", "fixed_regs", "[", "24", "]", "=", "call_used_regs", "[", "24", "]", "=", "1", ";", "fixed_regs", "[", "25", "]", "=", "call_used_regs", "[", "25", "]", "=", "1", ";", "fixed_regs", "[", "26", "]", "=", "call_used_regs", "[", "26", "]", "=", "1", ";", "fixed_regs", "[", "27", "]", "=", "call_used_regs", "[", "27", "]", "=", "1", ";", "fixed_regs", "[", "28", "]", "=", "call_used_regs", "[", "28", "]", "=", "1", ";", "call_really_used_regs", "[", "24", "]", "=", "0", ";", "call_really_used_regs", "[", "25", "]", "=", "0", ";", "call_really_used_regs", "[", "26", "]", "=", "0", ";", "call_really_used_regs", "[", "27", "]", "=", "0", ";", "call_really_used_regs", "[", "28", "]", "=", "0", ";", "}", "fixed_regs", "[", "31", "]", "=", "call_used_regs", "[", "31", "]", "=", "1", ";", "call_really_used_regs", "[", "31", "]", "=", "0", ";", "if", "(", "visium_cpu_and_features", "==", "PROCESSOR_GR5", ")", "long_branch_regnum", "=", "20", ";", "else", "long_branch_regnum", "=", "28", ";", "}", "if", "(", "!", "TARGET_FPU", ")", "{", "for", "(", "int", "i", "=", "FP_FIRST_REGNUM", ";", "i", "<=", "FP_LAST_REGNUM", ";", "i", "++", ")", "{", "fixed_regs", "[", "i", "]", "=", "call_used_regs", "[", "i", "]", "=", "1", ";", "call_really_used_regs", "[", "i", "]", "=", "0", ";", "}", "}", "}", ""], "natrual_language": ["Conditionally", "modify", "the", "settings", "of", "the", "register", "file", "."], "TS_V_token": ["visium", "24", "24", "1", "25", "25", "1", "26", "26", "1", "27", "27", "1", "28", "28", "1", "24", "0", "25", "0", "26", "0", "27", "0", "28", "0", "31", "31", "1", "31", "0", "20", "28", "1", "0"], "File": "visium2", "Func": "visium_conditional_register_usage", "Target": "visium", "Target_Clf": "Virtual ISA", "Compiler_Type": "GCC", "Idx": 1864, "Length": 194, "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": 1865, "Length": 55, "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": 1866, "Length": 89, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "bool", "M88kAsmParser", "::", "ParseInstruction", "(", "ParseInstructionInfo", "&", "Info", ",", "StringRef", "Name", ",", "SMLoc", "NameLoc", ",", "OperandVector", "&", "Operands", ")", "{", "Operands", ".", "push_back", "(", "M88kOperand", "::", "createToken", "(", "Name", ",", "NameLoc", ")", ")", ";", "if", "(", "getLexer", "(", ")", ".", "isNot", "(", "AsmToken", "::", "EndOfStatement", ")", ")", "{", "if", "(", "parseOperand", "(", "Operands", ",", "Name", ")", ")", "{", "return", "Error", "(", "getLexer", "(", ")", ".", "getLoc", "(", ")", ",", "\"expected operand\"", ")", ";", "}", "if", "(", "getLexer", "(", ")", ".", "is", "(", "AsmToken", "::", "Comma", ")", ")", "{", "Parser", ".", "Lex", "(", ")", ";", "if", "(", "parseOperand", "(", "Operands", ",", "Name", ")", ")", "{", "return", "Error", "(", "getLexer", "(", ")", ".", "getLoc", "(", ")", ",", "\"expected operand\"", ")", ";", "}", "if", "(", "getLexer", "(", ")", ".", "is", "(", "AsmToken", "::", "Comma", ")", ")", "{", "Parser", ".", "Lex", "(", ")", ";", "if", "(", "parseOperand", "(", "Operands", ",", "Name", ")", ")", "{", "return", "Error", "(", "getLexer", "(", ")", ".", "getLoc", "(", ")", ",", "\"expected operand\"", ")", ";", "}", "}", "else", "if", "(", "getLexer", "(", ")", ".", "is", "(", "AsmToken", "::", "LBrac", ")", ")", "{", "if", "(", "parseScaledRegister", "(", "Operands", ")", ")", "return", "Error", "(", "getLexer", "(", ")", ".", "getLoc", "(", ")", ",", "\"expected scaled register operand\"", ")", ";", "}", "}", "if", "(", "getLexer", "(", ")", ".", "isNot", "(", "AsmToken", "::", "EndOfStatement", ")", ")", "return", "Error", "(", "getLexer", "(", ")", ".", "getLoc", "(", ")", ",", "\"unexpected token in argument list\"", ")", ";", "}", "Parser", ".", "Lex", "(", ")", ";", "return", "false", ";", "}", ""], "natrual_language": ["ParseInstruction", "-", "Parse", "one", "assembly", "instruction", "."], "TS_V_token": ["M88k", "M88k", "M88kOperand::createToken", "\"expected operand\"", "\"expected operand\"", "\"expected operand\"", "\"expected scaled register operand\"", "\"unexpected token in argument list\""], "File": "M88kAsmParser", "Func": "ParseInstruction", "Target": "M88k", "Target_Clf": "MPU", "Compiler_Type": "LLVM", "Idx": 1867, "Length": 240, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "unsigned", "find_next", "(", "unsigned", "Prev", ")", "const", "{", "int", "Next", "=", "Bits", ".", "find_next", "(", "v2x", "(", "Prev", ")", ")", ";", "if", "(", "Next", "<", "0", ")", "return", "0", ";", "return", "x2v", "(", "Next", ")", ";", "}", ""], "natrual_language": ["find_next", "-", "Returns", "the", "index", "of", "the", "next", "set", "bit", "starting", "from", "the", "``", "Curr", "''", "bit", "."], "TS_V_token": ["Hexagon", "0", "0"], "File": "HexagonBitSimplify20", "Func": "find_next", "Target": "Hexagon", "Target_Clf": "DSP", "Compiler_Type": "LLVM", "Idx": 1868, "Length": 37, "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": 1869, "Length": 89, "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": 1870, "Length": 30, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "bool", "PPCLoopDataPrefetch", "::", "runOnFunction", "(", "Function", "&", "F", ")", "{", "LI", "=", "&", "getAnalysis", "<", "LoopInfoWrapperPass", ">", "(", ")", ".", "getLoopInfo", "(", ")", ";", "SE", "=", "&", "getAnalysis", "<", "ScalarEvolution", ">", "(", ")", ";", "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": "PPCLoopDataPrefetch", "Func": "runOnFunction", "Target": "PowerPC", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 1871, "Length": 146, "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": 1872, "Length": 74, "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": 1873, "Length": 108, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "bool", "AMDGPUAsmParser", "::", "ParseDirective", "(", "AsmToken", "DirectiveID", ")", "{", "StringRef", "IDVal", "=", "DirectiveID", ".", "getString", "(", ")", ";", "if", "(", "AMDGPU", "::", "IsaInfo", "::", "hasCodeObjectV3", "(", "&", "getSTI", "(", ")", ")", ")", "{", "if", "(", "IDVal", "==", "\".amdgcn_target\"", ")", "return", "ParseDirectiveAMDGCNTarget", "(", ")", ";", "if", "(", "IDVal", "==", "\".amdhsa_kernel\"", ")", "return", "ParseDirectiveAMDHSAKernel", "(", ")", ";", "if", "(", "IDVal", "==", "AMDGPU", "::", "HSAMD", "::", "V3", "::", "AssemblerDirectiveBegin", ")", "return", "ParseDirectiveHSAMetadata", "(", ")", ";", "}", "else", "{", "if", "(", "IDVal", "==", "\".hsa_code_object_version\"", ")", "return", "ParseDirectiveHSACodeObjectVersion", "(", ")", ";", "if", "(", "IDVal", "==", "\".hsa_code_object_isa\"", ")", "return", "ParseDirectiveHSACodeObjectISA", "(", ")", ";", "if", "(", "IDVal", "==", "\".amd_kernel_code_t\"", ")", "return", "ParseDirectiveAMDKernelCodeT", "(", ")", ";", "if", "(", "IDVal", "==", "\".amdgpu_hsa_kernel\"", ")", "return", "ParseDirectiveAMDGPUHsaKernel", "(", ")", ";", "if", "(", "IDVal", "==", "\".amd_amdgpu_isa\"", ")", "return", "ParseDirectiveISAVersion", "(", ")", ";", "if", "(", "IDVal", "==", "AMDGPU", "::", "HSAMD", "::", "AssemblerDirectiveBegin", ")", "return", "ParseDirectiveHSAMetadata", "(", ")", ";", "}", "if", "(", "IDVal", "==", "\".amdgpu_lds\"", ")", "return", "ParseDirectiveAMDGPULDS", "(", ")", ";", "if", "(", "IDVal", "==", "PALMD", "::", "AssemblerDirectiveBegin", ")", "return", "ParseDirectivePALMetadataBegin", "(", ")", ";", "if", "(", "IDVal", "==", "PALMD", "::", "AssemblerDirective", ")", "return", "ParseDirectivePALMetadata", "(", ")", ";", "return", "true", ";", "}", ""], "natrual_language": ["ParseDirective", "-", "Parse", "a", "target", "specific", "assembler", "directive", "This", "method", "is", "deprecated", ",", "use", "'parseDirective", "'", "instead", "."], "TS_V_token": ["AMDGPU", "AMDGPU", "AMDGPU::IsaInfo", "\".amdgcn_target\"", "\".amdhsa_kernel\"", "AMDGPU::HSAMD", "\".hsa_code_object_version\"", "\".hsa_code_object_isa\"", "\".amd_kernel_code_t\"", "\".amdgpu_hsa_kernel\"", "AMDGPU", "\".amd_amdgpu_isa\"", "AMDGPU::HSAMD", "\".amdgpu_lds\"", "AMDGPU"], "File": "AMDGPUAsmParser11", "Func": "ParseDirective", "Target": "AMDGPU", "Target_Clf": "GPU", "Compiler_Type": "LLVM", "Idx": 1874, "Length": 187, "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": 1875, "Length": 101, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "bool", "NyuziTargetLowering", "::", "isShuffleMaskLegal", "(", "ArrayRef", "<", "int", ">", "Mask", ",", "EVT", "VT", ")", "const", "{", "if", "(", "Mask", ".", "size", "(", ")", "!=", "16", ")", "return", "false", ";", "for", "(", "int", "val", ":", "Mask", ")", "{", "if", "(", "val", ">", "31", ")", "return", "false", ";", "}", "return", "true", ";", "}", ""], "natrual_language": ["Targets", "can", "use", "this", "to", "indicate", "that", "they", "only", "support", "some", "VECTOR_SHUFFLE", "operations", ",", "those", "with", "specific", "masks", "."], "TS_V_token": ["Nyuzi", "Nyuzi", "16", "31"], "File": "NyuziISelLowering", "Func": "isShuffleMaskLegal", "Target": "Nyuzi", "Target_Clf": "GPU", "Compiler_Type": "LLVM", "Idx": 1876, "Length": 51, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "int", "MSP430RegisterInfo", "::", "getDwarfRegNum", "(", "unsigned", "RegNum", ",", "bool", "isEH", ")", "const", "{", "llvm_unreachable", "(", "\"Not implemented yet!\"", ")", ";", "return", "0", ";", "}", ""], "natrual_language": ["Map", "a", "target", "register", "to", "an", "equivalent", "dwarf", "register", "number", "."], "TS_V_token": ["MSP430", "MSP430", "\"Not implemented yet!\"", "0"], "File": "MSP430RegisterInfo10", "Func": "getDwarfRegNum", "Target": "MSP430", "Target_Clf": "MPU", "Compiler_Type": "LLVM", "Idx": 1877, "Length": 22, "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": 1878, "Length": 25, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "void", "s390_set_has_landing_pad_p", "(", "bool", "value", ")", "{", "cfun", "->", "machine", "->", "has_landing_pad_p", "=", "value", ";", "}", ""], "natrual_language": ["Set", "the", "has_landing_pad_p", "flag", "in", "struct", "machine_function", "to", "VALUE", "."], "TS_V_token": ["s390"], "File": "s390", "Func": "s390_set_has_landing_pad_p", "Target": "s390", "Target_Clf": "MPU", "Compiler_Type": "GCC", "Idx": 1879, "Length": 16, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "bool", "ARCBranchFinalize", "::", "runOnMachineFunction", "(", "MachineFunction", "&", "MF", ")", "{", "LLVM_DEBUG", "(", "dbgs", "(", ")", "<<", "\"Running ARC Branch Finalize on \"", "<<", "MF", ".", "getName", "(", ")", "<<", "\"\\n\"", ")", ";", "std", "::", "vector", "<", "MachineInstr", "*", ">", "Branches", ";", "bool", "Changed", "=", "false", ";", "unsigned", "MaxSize", "=", "0", ";", "TII", "=", "MF", ".", "getSubtarget", "<", "ARCSubtarget", ">", "(", ")", ".", "getInstrInfo", "(", ")", ";", "std", "::", "map", "<", "MachineBasicBlock", "*", ",", "unsigned", ">", "BlockToPCMap", ";", "std", "::", "vector", "<", "std", "::", "pair", "<", "MachineInstr", "*", ",", "unsigned", ">>", "BranchToPCList", ";", "unsigned", "PC", "=", "0", ";", "for", "(", "auto", "&", "MBB", ":", "MF", ")", "{", "BlockToPCMap", ".", "insert", "(", "std", "::", "make_pair", "(", "&", "MBB", ",", "PC", ")", ")", ";", "for", "(", "auto", "&", "MI", ":", "MBB", ")", "{", "unsigned", "Size", "=", "TII", "->", "getInstSizeInBytes", "(", "MI", ")", ";", "if", "(", "Size", ">", "8", "||", "Size", "==", "0", ")", "{", "LLVM_DEBUG", "(", "dbgs", "(", ")", "<<", "\"Unknown (or size 0) size for: \"", "<<", "MI", "<<", "\"\\n\"", ")", ";", "}", "else", "{", "MaxSize", "+=", "Size", ";", "}", "if", "(", "MI", ".", "isBranch", "(", ")", ")", "{", "Branches", ".", "push_back", "(", "&", "MI", ")", ";", "BranchToPCList", ".", "emplace_back", "(", "&", "MI", ",", "PC", ")", ";", "}", "PC", "+=", "Size", ";", "}", "}", "for", "(", "auto", "P", ":", "BranchToPCList", ")", "{", "if", "(", "isBRccPseudo", "(", "P", ".", "first", ")", ")", "isInt", "<", "9", ">", "(", "MaxSize", ")", "?", "replaceWithBRcc", "(", "P", ".", "first", ")", ":", "replaceWithCmpBcc", "(", "P", ".", "first", ")", ";", "}", "LLVM_DEBUG", "(", "dbgs", "(", ")", "<<", "\"Estimated function size for \"", "<<", "MF", ".", "getName", "(", ")", "<<", "\": \"", "<<", "MaxSize", "<<", "\"\\n\"", ")", ";", "return", "Changed", ";", "}", ""], "natrual_language": ["runOnMachineFunction", "-", "Emit", "the", "function", "body", "."], "TS_V_token": ["ARC", "ARC", "\"Running ARC Branch Finalize on \"", "\"\\n\"", "0", "ARC", "0", "8", "0", "\"Unknown (or size 0) size for: \"", "\"\\n\"", "9", "\"Estimated function size for \"", "\": \"", "\"\\n\""], "File": "ARCBranchFinalize", "Func": "runOnMachineFunction", "Target": "ARC", "Target_Clf": "MPU", "Compiler_Type": "LLVM", "Idx": 1880, "Length": 266, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "bool", "NVVMReflect", "::", "runOnFunction", "(", "Function", "&", "F", ")", "{", "if", "(", "!", "NVVMReflectEnabled", ")", "return", "false", ";", "if", "(", "F", ".", "getName", "(", ")", "==", "NVVM_REFLECT_FUNCTION", ")", "{", "assert", "(", "F", ".", "isDeclaration", "(", ")", "&&", "\"_reflect function should not have a body\"", ")", ";", "assert", "(", "F", ".", "getReturnType", "(", ")", "->", "isIntegerTy", "(", ")", "&&", "\"_reflect's return type should be integer\"", ")", ";", "return", "false", ";", "}", "SmallVector", "<", "Instruction", "*", ",", "4", ">", "ToRemove", ";", "for", "(", "Instruction", "&", "I", ":", "instructions", "(", "F", ")", ")", "{", "CallInst", "*", "Call", "=", "dyn_cast", "<", "CallInst", ">", "(", "&", "I", ")", ";", "if", "(", "!", "Call", ")", "continue", ";", "Function", "*", "Callee", "=", "Call", "->", "getCalledFunction", "(", ")", ";", "if", "(", "!", "Callee", "||", "(", "Callee", "->", "getName", "(", ")", "!=", "NVVM_REFLECT_FUNCTION", "&&", "Callee", "->", "getIntrinsicID", "(", ")", "!=", "Intrinsic", "::", "nvvm_reflect", ")", ")", "continue", ";", "assert", "(", "Call", "->", "getNumOperands", "(", ")", "==", "2", "&&", "\"Wrong number of operands to __nvvm_reflect function\"", ")", ";", "const", "Value", "*", "Str", "=", "Call", "->", "getArgOperand", "(", "0", ")", ";", "if", "(", "const", "CallInst", "*", "ConvCall", "=", "dyn_cast", "<", "CallInst", ">", "(", "Str", ")", ")", "{", "Str", "=", "ConvCall", "->", "getArgOperand", "(", "0", ")", ";", "}", "assert", "(", "isa", "<", "ConstantExpr", ">", "(", "Str", ")", "&&", "\"Format of __nvvm__reflect function not recognized\"", ")", ";", "const", "ConstantExpr", "*", "GEP", "=", "cast", "<", "ConstantExpr", ">", "(", "Str", ")", ";", "const", "Value", "*", "Sym", "=", "GEP", "->", "getOperand", "(", "0", ")", ";", "assert", "(", "isa", "<", "Constant", ">", "(", "Sym", ")", "&&", "\"Format of __nvvm_reflect function not recognized\"", ")", ";", "const", "Value", "*", "Operand", "=", "cast", "<", "Constant", ">", "(", "Sym", ")", "->", "getOperand", "(", "0", ")", ";", "if", "(", "const", "GlobalVariable", "*", "GV", "=", "dyn_cast", "<", "GlobalVariable", ">", "(", "Operand", ")", ")", "{", "assert", "(", "GV", "->", "hasInitializer", "(", ")", "&&", "\"Format of _reflect function not recognized\"", ")", ";", "const", "Constant", "*", "Initializer", "=", "GV", "->", "getInitializer", "(", ")", ";", "Operand", "=", "Initializer", ";", "}", "assert", "(", "isa", "<", "ConstantDataSequential", ">", "(", "Operand", ")", "&&", "\"Format of _reflect function not recognized\"", ")", ";", "assert", "(", "cast", "<", "ConstantDataSequential", ">", "(", "Operand", ")", "->", "isCString", "(", ")", "&&", "\"Format of _reflect function not recognized\"", ")", ";", "StringRef", "ReflectArg", "=", "cast", "<", "ConstantDataSequential", ">", "(", "Operand", ")", "->", "getAsString", "(", ")", ";", "ReflectArg", "=", "ReflectArg", ".", "substr", "(", "0", ",", "ReflectArg", ".", "size", "(", ")", "-", "1", ")", ";", "DEBUG", "(", "dbgs", "(", ")", "<<", "\"Arg of _reflect : \"", "<<", "ReflectArg", "<<", "\"\\n\"", ")", ";", "int", "ReflectVal", "=", "0", ";", "if", "(", "ReflectArg", "==", "\"__CUDA_FTZ\"", ")", "{", "if", "(", "auto", "*", "Flag", "=", "mdconst", "::", "extract_or_null", "<", "ConstantInt", ">", "(", "F", ".", "getParent", "(", ")", "->", "getModuleFlag", "(", "\"nvvm-reflect-ftz\"", ")", ")", ")", "ReflectVal", "=", "Flag", "->", "getSExtValue", "(", ")", ";", "}", "Call", "->", "replaceAllUsesWith", "(", "ConstantInt", "::", "get", "(", "Call", "->", "getType", "(", ")", ",", "ReflectVal", ")", ")", ";", "ToRemove", ".", "push_back", "(", "Call", ")", ";", "}", "for", "(", "Instruction", "*", "I", ":", "ToRemove", ")", "I", "->", "eraseFromParent", "(", ")", ";", "return", "ToRemove", ".", "size", "(", ")", ">", "0", ";", "}", ""], "natrual_language": ["runOnFunction", "-", "Virtual", "method", "overriden", "by", "subclasses", "to", "do", "the", "per-function", "processing", "of", "the", "pass", "."], "TS_V_token": ["NVPTX", "\"_reflect function should not have a body\"", "\"_reflect's return type should be integer\"", "4", "Intrinsic::nvvm_reflect", "2", "\"Wrong number of operands to __nvvm_reflect function\"", "0", "0", "\"Format of __nvvm__reflect function not recognized\"", "0", "\"Format of __nvvm_reflect function not recognized\"", "0", "\"Format of _reflect function not recognized\"", "\"Format of _reflect function not recognized\"", "\"Format of _reflect function not recognized\"", "0", "1", "\"Arg of _reflect : \"", "\"\\n\"", "0", "\"__CUDA_FTZ\"", "\"nvvm-reflect-ftz\"", "0"], "File": "NVVMReflect17", "Func": "runOnFunction", "Target": "NVPTX", "Target_Clf": "GPU", "Compiler_Type": "LLVM", "Idx": 1881, "Length": 471, "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": 1882, "Length": 485, "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": 1883, "Length": 358, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "static", "rtx", "gen_float_relational", "(", "enum", "rtx_code", "test_code", ",", "rtx", "cmp0", ",", "rtx", "cmp1", ")", "{", "rtx", "(", "*", "gen_fn", ")", "(", "rtx", ",", "rtx", ",", "rtx", ")", ";", "rtx", "brtmp", ";", "int", "reverse_regs", ",", "invert", ";", "switch", "(", "test_code", ")", "{", "case", "EQ", ":", "reverse_regs", "=", "0", ";", "invert", "=", "0", ";", "gen_fn", "=", "gen_seq_sf", ";", "break", ";", "case", "NE", ":", "reverse_regs", "=", "0", ";", "invert", "=", "1", ";", "gen_fn", "=", "gen_seq_sf", ";", "break", ";", "case", "LE", ":", "reverse_regs", "=", "0", ";", "invert", "=", "0", ";", "gen_fn", "=", "gen_sle_sf", ";", "break", ";", "case", "GT", ":", "reverse_regs", "=", "1", ";", "invert", "=", "0", ";", "gen_fn", "=", "gen_slt_sf", ";", "break", ";", "case", "LT", ":", "reverse_regs", "=", "0", ";", "invert", "=", "0", ";", "gen_fn", "=", "gen_slt_sf", ";", "break", ";", "case", "GE", ":", "reverse_regs", "=", "1", ";", "invert", "=", "0", ";", "gen_fn", "=", "gen_sle_sf", ";", "break", ";", "case", "UNEQ", ":", "reverse_regs", "=", "0", ";", "invert", "=", "0", ";", "gen_fn", "=", "gen_suneq_sf", ";", "break", ";", "case", "LTGT", ":", "reverse_regs", "=", "0", ";", "invert", "=", "1", ";", "gen_fn", "=", "gen_suneq_sf", ";", "break", ";", "case", "UNLE", ":", "reverse_regs", "=", "0", ";", "invert", "=", "0", ";", "gen_fn", "=", "gen_sunle_sf", ";", "break", ";", "case", "UNGT", ":", "reverse_regs", "=", "1", ";", "invert", "=", "0", ";", "gen_fn", "=", "gen_sunlt_sf", ";", "break", ";", "case", "UNLT", ":", "reverse_regs", "=", "0", ";", "invert", "=", "0", ";", "gen_fn", "=", "gen_sunlt_sf", ";", "break", ";", "case", "UNGE", ":", "reverse_regs", "=", "1", ";", "invert", "=", "0", ";", "gen_fn", "=", "gen_sunle_sf", ";", "break", ";", "case", "UNORDERED", ":", "reverse_regs", "=", "0", ";", "invert", "=", "0", ";", "gen_fn", "=", "gen_sunordered_sf", ";", "break", ";", "case", "ORDERED", ":", "reverse_regs", "=", "0", ";", "invert", "=", "1", ";", "gen_fn", "=", "gen_sunordered_sf", ";", "break", ";", "default", ":", "fatal_insn", "(", "\"bad test\"", ",", "gen_rtx_fmt_ee", "(", "test_code", ",", "VOIDmode", ",", "cmp0", ",", "cmp1", ")", ")", ";", "reverse_regs", "=", "0", ";", "invert", "=", "0", ";", "gen_fn", "=", "0", ";", "}", "if", "(", "reverse_regs", ")", "{", "rtx", "temp", "=", "cmp0", ";", "cmp0", "=", "cmp1", ";", "cmp1", "=", "temp", ";", "}", "brtmp", "=", "gen_rtx_REG", "(", "CCmode", ",", "FPCC_REGNUM", ")", ";", "emit_insn", "(", "gen_fn", "(", "brtmp", ",", "cmp0", ",", "cmp1", ")", ")", ";", "return", "gen_rtx_fmt_ee", "(", "invert", "?", "EQ", ":", "NE", ",", "VOIDmode", ",", "brtmp", ",", "const0_rtx", ")", ";", "}", ""], "natrual_language": ["Generate", "the", "code", "to", "compare", "two", "float", "values", ".", "The", "return", "value", "is", "the", "comparison", "expression", "."], "TS_V_token": ["xtensa", "0", "0", "0", "1", "0", "0", "1", "0", "0", "0", "1", "0", "0", "0", "0", "1", "0", "0", "1", "0", "0", "0", "1", "0", "0", "0", "0", "1", "\"bad test\"", "0", "0", "0"], "File": "xtensa", "Func": "gen_float_relational", "Target": "xtensa", "Target_Clf": "MPU", "Compiler_Type": "GCC", "Idx": 1884, "Length": 367, "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": 1885, "Length": 73, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "MachineBasicBlock", "*", "AMDGPUCFGStructurizer", "::", "clone", "(", "MachineBasicBlock", "*", "MBB", ")", "{", "MachineFunction", "*", "Func", "=", "MBB", "->", "getParent", "(", ")", ";", "MachineBasicBlock", "*", "NewMBB", "=", "Func", "->", "CreateMachineBasicBlock", "(", ")", ";", "Func", "->", "push_back", "(", "NewMBB", ")", ";", "for", "(", "const", "MachineInstr", "&", "It", ":", "*", "MBB", ")", "NewMBB", "->", "push_back", "(", "Func", "->", "CloneMachineInstr", "(", "&", "It", ")", ")", ";", "return", "NewMBB", ";", "}", ""], "natrual_language": ["Make", "a", "functionally", "equivalent", "copy", "of", "this", "MachineFunctionInfo", "in", "MF", "."], "TS_V_token": ["AMDGPU", "AMDGPU"], "File": "AMDILCFGStructurizer10", "Func": "clone", "Target": "AMDGPU", "Target_Clf": "GPU", "Compiler_Type": "LLVM", "Idx": 1886, "Length": 65, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "void", "SIInstrInfo", "::", "storeRegToStackSlot", "(", "MachineBasicBlock", "&", "MBB", ",", "MachineBasicBlock", "::", "iterator", "MI", ",", "unsigned", "SrcReg", ",", "bool", "isKill", ",", "int", "FrameIndex", ",", "const", "TargetRegisterClass", "*", "RC", ",", "const", "TargetRegisterInfo", "*", "TRI", ")", "const", "{", "MachineFunction", "*", "MF", "=", "MBB", ".", "getParent", "(", ")", ";", "SIMachineFunctionInfo", "*", "MFI", "=", "MF", "->", "getInfo", "<", "SIMachineFunctionInfo", ">", "(", ")", ";", "MachineFrameInfo", "&", "FrameInfo", "=", "MF", "->", "getFrameInfo", "(", ")", ";", "const", "DebugLoc", "&", "DL", "=", "MBB", ".", "findDebugLoc", "(", "MI", ")", ";", "unsigned", "Size", "=", "FrameInfo", ".", "getObjectSize", "(", "FrameIndex", ")", ";", "unsigned", "Align", "=", "FrameInfo", ".", "getObjectAlignment", "(", "FrameIndex", ")", ";", "MachinePointerInfo", "PtrInfo", "=", "MachinePointerInfo", "::", "getFixedStack", "(", "*", "MF", ",", "FrameIndex", ")", ";", "MachineMemOperand", "*", "MMO", "=", "MF", "->", "getMachineMemOperand", "(", "PtrInfo", ",", "MachineMemOperand", "::", "MOStore", ",", "Size", ",", "Align", ")", ";", "unsigned", "SpillSize", "=", "TRI", "->", "getSpillSize", "(", "*", "RC", ")", ";", "if", "(", "RI", ".", "isSGPRClass", "(", "RC", ")", ")", "{", "MFI", "->", "setHasSpilledSGPRs", "(", ")", ";", "const", "MCInstrDesc", "&", "OpDesc", "=", "get", "(", "getSGPRSpillSaveOpcode", "(", "SpillSize", ")", ")", ";", "if", "(", "TargetRegisterInfo", "::", "isVirtualRegister", "(", "SrcReg", ")", "&&", "SpillSize", "==", "4", ")", "{", "MachineRegisterInfo", "&", "MRI", "=", "MF", "->", "getRegInfo", "(", ")", ";", "MRI", ".", "constrainRegClass", "(", "SrcReg", ",", "&", "AMDGPU", "::", "SReg_32_XM0RegClass", ")", ";", "}", "MachineInstrBuilder", "Spill", "=", "BuildMI", "(", "MBB", ",", "MI", ",", "DL", ",", "OpDesc", ")", ".", "addReg", "(", "SrcReg", ",", "getKillRegState", "(", "isKill", ")", ")", ".", "addFrameIndex", "(", "FrameIndex", ")", ".", "addMemOperand", "(", "MMO", ")", ".", "addReg", "(", "MFI", "->", "getScratchRSrcReg", "(", ")", ",", "RegState", "::", "Implicit", ")", ".", "addReg", "(", "MFI", "->", "getStackPtrOffsetReg", "(", ")", ",", "RegState", "::", "Implicit", ")", ";", "if", "(", "RI", ".", "spillSGPRToVGPR", "(", ")", ")", "FrameInfo", ".", "setStackID", "(", "FrameIndex", ",", "TargetStackID", "::", "SGPRSpill", ")", ";", "if", "(", "ST", ".", "hasScalarStores", "(", ")", ")", "{", "Spill", ".", "addReg", "(", "AMDGPU", "::", "M0", ",", "RegState", "::", "ImplicitDefine", "|", "RegState", "::", "Dead", ")", ";", "}", "return", ";", "}", "unsigned", "Opcode", "=", "RI", ".", "hasAGPRs", "(", "RC", ")", "?", "getAGPRSpillSaveOpcode", "(", "SpillSize", ")", ":", "getVGPRSpillSaveOpcode", "(", "SpillSize", ")", ";", "MFI", "->", "setHasSpilledVGPRs", "(", ")", ";", "auto", "MIB", "=", "BuildMI", "(", "MBB", ",", "MI", ",", "DL", ",", "get", "(", "Opcode", ")", ")", ";", "if", "(", "RI", ".", "hasAGPRs", "(", "RC", ")", ")", "{", "MachineRegisterInfo", "&", "MRI", "=", "MF", "->", "getRegInfo", "(", ")", ";", "unsigned", "Tmp", "=", "MRI", ".", "createVirtualRegister", "(", "&", "AMDGPU", "::", "VGPR_32RegClass", ")", ";", "MIB", ".", "addReg", "(", "Tmp", ",", "RegState", "::", "Define", ")", ";", "}", "MIB", ".", "addReg", "(", "SrcReg", ",", "getKillRegState", "(", "isKill", ")", ")", ".", "addFrameIndex", "(", "FrameIndex", ")", ".", "addReg", "(", "MFI", "->", "getScratchRSrcReg", "(", ")", ")", ".", "addReg", "(", "MFI", "->", "getStackPtrOffsetReg", "(", ")", ")", ".", "addImm", "(", "0", ")", ".", "addMemOperand", "(", "MMO", ")", ";", "}", ""], "natrual_language": ["Store", "the", "specified", "register", "of", "the", "given", "register", "class", "to", "the", "specified", "stack", "frame", "index", "."], "TS_V_token": ["AMDGPU", "SI", "SI", "SI", "4", "AMDGPU::SReg_32_XM0RegClass", "AMDGPU::M0", "AMDGPU::VGPR_32RegClass", "0"], "File": "SIInstrInfo12", "Func": "storeRegToStackSlot", "Target": "AMDGPU", "Target_Clf": "GPU", "Compiler_Type": "LLVM", "Idx": 1887, "Length": 452, "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": ["Z80old"], "File": "Z80oldRegisterInfo", "Func": "requiresRegisterScavenging", "Target": "Z80old", "Target_Clf": "MPU", "Compiler_Type": "LLVM", "Idx": 1888, "Length": 15, "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": 1889, "Length": 37, "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": 1890, "Length": 23, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "rtx", "rs6000_adjust_vec_address", "(", "rtx", "scalar_reg", ",", "rtx", "mem", ",", "rtx", "element", ",", "rtx", "base_tmp", ",", "machine_mode", "scalar_mode", ")", "{", "unsigned", "scalar_size", "=", "GET_MODE_SIZE", "(", "scalar_mode", ")", ";", "rtx", "addr", "=", "XEXP", "(", "mem", ",", "0", ")", ";", "rtx", "new_addr", ";", "gcc_assert", "(", "!", "reg_mentioned_p", "(", "base_tmp", ",", "addr", ")", ")", ";", "gcc_assert", "(", "!", "reg_mentioned_p", "(", "base_tmp", ",", "element", ")", ")", ";", "gcc_assert", "(", "GET_RTX_CLASS", "(", "GET_CODE", "(", "addr", ")", ")", "!=", "RTX_AUTOINC", ")", ";", "rtx", "element_offset", "=", "get_vector_offset", "(", "mem", ",", "element", ",", "base_tmp", ",", "scalar_size", ")", ";", "if", "(", "element_offset", "==", "const0_rtx", ")", "new_addr", "=", "addr", ";", "else", "if", "(", "REG_P", "(", "addr", ")", "||", "SUBREG_P", "(", "addr", ")", ")", "new_addr", "=", "gen_rtx_PLUS", "(", "Pmode", ",", "addr", ",", "element_offset", ")", ";", "else", "if", "(", "pcrel_local_address", "(", "addr", ",", "Pmode", ")", "&&", "CONST_INT_P", "(", "element_offset", ")", ")", "new_addr", "=", "adjust_vec_address_pcrel", "(", "addr", ",", "element_offset", ",", "base_tmp", ")", ";", "else", "if", "(", "GET_CODE", "(", "addr", ")", "==", "PLUS", ")", "{", "rtx", "op0", "=", "XEXP", "(", "addr", ",", "0", ")", ";", "rtx", "op1", "=", "XEXP", "(", "addr", ",", "1", ")", ";", "gcc_assert", "(", "REG_P", "(", "op0", ")", "||", "SUBREG_P", "(", "op0", ")", ")", ";", "if", "(", "CONST_INT_P", "(", "op1", ")", "&&", "CONST_INT_P", "(", "element_offset", ")", ")", "{", "gcc_assert", "(", "reg_or_subregno", "(", "op0", ")", "!=", "0", ")", ";", "HOST_WIDE_INT", "offset", "=", "INTVAL", "(", "op1", ")", "+", "INTVAL", "(", "element_offset", ")", ";", "rtx", "offset_rtx", "=", "GEN_INT", "(", "offset", ")", ";", "new_addr", "=", "gen_rtx_PLUS", "(", "Pmode", ",", "op0", ",", "offset_rtx", ")", ";", "}", "else", "{", "emit_insn", "(", "gen_rtx_SET", "(", "base_tmp", ",", "gen_rtx_PLUS", "(", "Pmode", ",", "op0", ",", "op1", ")", ")", ")", ";", "new_addr", "=", "gen_rtx_PLUS", "(", "Pmode", ",", "base_tmp", ",", "element_offset", ")", ";", "}", "}", "else", "{", "emit_move_insn", "(", "base_tmp", ",", "addr", ")", ";", "new_addr", "=", "gen_rtx_PLUS", "(", "Pmode", ",", "base_tmp", ",", "element_offset", ")", ";", "}", "enum", "insn_form", "iform", "=", "address_to_insn_form", "(", "new_addr", ",", "scalar_mode", ",", "reg_to_non_prefixed", "(", "scalar_reg", ",", "scalar_mode", ")", ")", ";", "if", "(", "iform", "==", "INSN_FORM_BAD", ")", "{", "emit_move_insn", "(", "base_tmp", ",", "new_addr", ")", ";", "new_addr", "=", "base_tmp", ";", "}", "return", "change_address", "(", "mem", ",", "scalar_mode", ",", "new_addr", ")", ";", "}", ""], "natrual_language": ["Adjust", "a", "memory", "address", "(", "MEM", ")", "of", "a", "vector", "type", "to", "point", "to", "a", "scalar", "field", "within", "the", "vector", "(", "ELEMENT", ")", "with", "a", "mode", "(", "SCALAR_MODE", ")", ".", "Use", "a", "base", "register", "temporary", "(", "BASE_TMP", ")", "to", "fixup", "the", "address", ".", "Return", "the", "new", "memory", "address", "that", "is", "valid", "for", "reads", "or", "writes", "to", "a", "given", "register", "(", "SCALAR_REG", ")", ".", "This", "function", "is", "expected", "to", "be", "called", "after", "reload", "is", "completed", "when", "we", "are", "splitting", "insns", ".", "The", "temporary", "BASE_TMP", "might", "be", "set", "multiple", "times", "with", "this", "code", "."], "TS_V_token": ["rs6000", "0", "0", "1", "0"], "File": "rs6000", "Func": "rs6000_adjust_vec_address", "Target": "rs6000", "Target_Clf": "CPU", "Compiler_Type": "GCC", "Idx": 1891, "Length": 350, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "void", "M68kMCCodeEmitter", "::", "getMachineOpValue", "(", "const", "MCInst", "&", "MI", ",", "const", "MCOperand", "&", "Op", ",", "unsigned", "InsertPos", ",", "APInt", "&", "Value", ",", "SmallVectorImpl", "<", "MCFixup", ">", "&", "Fixups", ",", "const", "MCSubtargetInfo", "&", "STI", ")", "const", "{", "if", "(", "Op", ".", "isReg", "(", ")", ")", "{", "unsigned", "RegNum", "=", "Op", ".", "getReg", "(", ")", ";", "const", "auto", "*", "RI", "=", "Ctx", ".", "getRegisterInfo", "(", ")", ";", "Value", "|=", "RI", "->", "getEncodingValue", "(", "RegNum", ")", ";", "if", "(", "M68kII", "::", "isAddressRegister", "(", "RegNum", ")", ")", "Value", "|=", "0b1000", ";", "}", "else", "if", "(", "Op", ".", "isImm", "(", ")", ")", "{", "Value", "|=", "static_cast", "<", "uint64_t", ">", "(", "Op", ".", "getImm", "(", ")", ")", ";", "}", "else", "if", "(", "Op", ".", "isExpr", "(", ")", ")", "{", "int64_t", "Addr", ";", "if", "(", "!", "Op", ".", "getExpr", "(", ")", "->", "evaluateAsAbsolute", "(", "Addr", ")", ")", "report_fatal_error", "(", "\"Unsupported asm expression. Only absolute address \"", "\"can be placed here.\"", ")", ";", "Value", "|=", "static_cast", "<", "uint64_t", ">", "(", "Addr", ")", ";", "}", "else", "{", "llvm_unreachable", "(", "\"Unsupported operand type\"", ")", ";", "}", "}", ""], "natrual_language": ["getMachineOpValue", "-", "Return", "binary", "encoding", "of", "operand", "."], "TS_V_token": ["M68k", "M68k", "M68kII::isAddressRegister", "0b1000", "\"Unsupported asm expression. Only absolute address \"", "\"can be placed here.\"", "\"Unsupported operand type\""], "File": "M68kMCCodeEmitter", "Func": "getMachineOpValue", "Target": "M68k", "Target_Clf": "MPU", "Compiler_Type": "LLVM", "Idx": 1892, "Length": 166, "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": 1893, "Length": 224, "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": 1894, "Length": 202, "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": 1895, "Length": 28, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "const", "char", "*", "getPassName", "(", ")", "const", "override", "{", "return", "\"WebAssembly Store Results\"", ";", "}", ""], "natrual_language": ["getPassName", "-", "Return", "a", "nice", "clean", "name", "for", "a", "pass", "."], "TS_V_token": ["WebAssembly", "\"WebAssembly Store Results\""], "File": "WebAssemblyStoreResults", "Func": "getPassName", "Target": "WebAssembly", "Target_Clf": "Virtual ISA", "Compiler_Type": "LLVM", "Idx": 1896, "Length": 13, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "unsigned", "SNESInstrInfo", "::", "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", "(", ")", "==", "1", "||", "Cond", ".", "size", "(", ")", "==", "0", ")", "&&", "\"SNES branch conditions have one component!\"", ")", ";", "if", "(", "Cond", ".", "empty", "(", ")", ")", "{", "assert", "(", "!", "FBB", "&&", "\"Unconditional branch with multiple successors!\"", ")", ";", "auto", "&", "MI", "=", "*", "BuildMI", "(", "&", "MBB", ",", "DL", ",", "get", "(", "SNES", "::", "RJMPk", ")", ")", ".", "addMBB", "(", "TBB", ")", ";", "if", "(", "BytesAdded", ")", "*", "BytesAdded", "+=", "getInstSizeInBytes", "(", "MI", ")", ";", "return", "1", ";", "}", "unsigned", "Count", "=", "0", ";", "SNESCC", "::", "CondCodes", "CC", "=", "(", "SNESCC", "::", "CondCodes", ")", "Cond", "[", "0", "]", ".", "getImm", "(", ")", ";", "auto", "&", "CondMI", "=", "*", "BuildMI", "(", "&", "MBB", ",", "DL", ",", "getBrCond", "(", "CC", ")", ")", ".", "addMBB", "(", "TBB", ")", ";", "if", "(", "BytesAdded", ")", "*", "BytesAdded", "+=", "getInstSizeInBytes", "(", "CondMI", ")", ";", "++", "Count", ";", "if", "(", "FBB", ")", "{", "auto", "&", "MI", "=", "*", "BuildMI", "(", "&", "MBB", ",", "DL", ",", "get", "(", "SNES", "::", "RJMPk", ")", ")", ".", "addMBB", "(", "FBB", ")", ";", "if", "(", "BytesAdded", ")", "*", "BytesAdded", "+=", "getInstSizeInBytes", "(", "MI", ")", ";", "++", "Count", ";", "}", "return", "Count", ";", "}", ""], "natrual_language": ["Insert", "branch", "code", "into", "the", "end", "of", "the", "specified", "MachineBasicBlock", "."], "TS_V_token": ["SNES", "SNES", "0", "\"insertBranch must not be told to insert a fallthrough\"", "1", "0", "\"SNES branch conditions have one component!\"", "\"Unconditional branch with multiple successors!\"", "SNES::RJMPk", "1", "0", "SNESCC::CondCodes", "SNESCC::CondCodes", "0", "SNES::RJMPk"], "File": "SNESInstrInfo", "Func": "insertBranch", "Target": "SNES", "Target_Clf": "DSP", "Compiler_Type": "LLVM", "Idx": 1897, "Length": 243, "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": 1898, "Length": 207, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "void", "R600SchedStrategy", "::", "initialize", "(", "ScheduleDAGMI", "*", "dag", ")", "{", "DAG", "=", "dag", ";", "TII", "=", "static_cast", "<", "const", "R600InstrInfo", "*", ">", "(", "DAG", "->", "TII", ")", ";", "TRI", "=", "static_cast", "<", "const", "R600RegisterInfo", "*", ">", "(", "DAG", "->", "TRI", ")", ";", "MRI", "=", "&", "DAG", "->", "MRI", ";", "Available", "[", "IDAlu", "]", "->", "clear", "(", ")", ";", "Available", "[", "IDFetch", "]", "->", "clear", "(", ")", ";", "Available", "[", "IDOther", "]", "->", "clear", "(", ")", ";", "CurInstKind", "=", "IDOther", ";", "CurEmitted", "=", "0", ";", "OccupedSlotsMask", "=", "15", ";", "InstKindLimit", "[", "IDAlu", "]", "=", "120", ";", "const", "AMDGPUSubtarget", "&", "ST", "=", "DAG", "->", "TM", ".", "getSubtarget", "<", "AMDGPUSubtarget", ">", "(", ")", ";", "if", "(", "ST", ".", "device", "(", ")", "->", "getGeneration", "(", ")", "<=", "AMDGPUDeviceInfo", "::", "HD5XXX", ")", "{", "InstKindLimit", "[", "IDFetch", "]", "=", "7", ";", "}", "else", "{", "InstKindLimit", "[", "IDFetch", "]", "=", "15", ";", "}", "}", ""], "natrual_language": ["Initialize", "the", "strategy", "after", "building", "the", "DAG", "for", "a", "new", "region", "."], "TS_V_token": ["R600", "0", "15", "120", "AMDGPUDeviceInfo::HD5XXX", "7", "15"], "File": "R600MachineScheduler", "Func": "initialize", "Target": "R600", "Target_Clf": "GPU", "Compiler_Type": "LLVM", "Idx": 1899, "Length": 147, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "bool", "SPIRVTargetLowering", "::", "getTgtMemIntrinsic", "(", "IntrinsicInfo", "&", "Info", ",", "const", "CallInst", "&", "I", ",", "MachineFunction", "&", "MF", ",", "unsigned", "Intrinsic", ")", "const", "{", "unsigned", "AlignIdx", "=", "3", ";", "switch", "(", "Intrinsic", ")", "{", "case", "Intrinsic", "::", "spv_load", ":", "AlignIdx", "=", "2", ";", "LLVM_FALLTHROUGH", ";", "case", "Intrinsic", "::", "spv_store", ":", "{", "if", "(", "I", ".", "getNumOperands", "(", ")", ">=", "AlignIdx", "+", "1", ")", "{", "auto", "*", "AlignOp", "=", "cast", "<", "ConstantInt", ">", "(", "I", ".", "getOperand", "(", "AlignIdx", ")", ")", ";", "Info", ".", "align", "=", "Align", "(", "AlignOp", "->", "getZExtValue", "(", ")", ")", ";", "}", "Info", ".", "flags", "=", "static_cast", "<", "MachineMemOperand", "::", "Flags", ">", "(", "cast", "<", "ConstantInt", ">", "(", "I", ".", "getOperand", "(", "AlignIdx", "-", "1", ")", ")", "->", "getZExtValue", "(", ")", ")", ";", "Info", ".", "memVT", "=", "MVT", "::", "i64", ";", "return", "true", ";", "break", ";", "}", "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": ["SPIRV", "SPIRV", "3", "Intrinsic::spv_load", "2", "Intrinsic::spv_store", "1", "1", "MVT::i64"], "File": "SPIRVISelLowering1", "Func": "getTgtMemIntrinsic", "Target": "SPIRV", "Target_Clf": "Virtual ISA", "Compiler_Type": "LLVM", "Idx": 1900, "Length": 148, "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": 1901, "Length": 305, "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": 1902, "Length": 10, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "bpf_small_register_classes_for_mode_p", "static", "bool", "bpf_is_valid_preserve_field_info_arg", "(", "tree", "expr", ")", "{", "switch", "(", "TREE_CODE", "(", "expr", ")", ")", "{", "case", "COMPONENT_REF", ":", "case", "BIT_FIELD_REF", ":", "case", "ARRAY_REF", ":", "case", "ARRAY_RANGE_REF", ":", "return", "true", ";", "case", "NOP_EXPR", ":", "return", "bpf_is_valid_preserve_field_info_arg", "(", "TREE_OPERAND", "(", "expr", ",", "0", ")", ")", ";", "case", "ADDR_EXPR", ":", "return", "(", "TREE_CODE", "(", "TREE_TYPE", "(", "TREE_OPERAND", "(", "expr", ",", "0", ")", ")", ")", "==", "ARRAY_TYPE", ")", ";", "default", ":", "return", "false", ";", "}", "}", ""], "natrual_language": ["Return", "whether", "EXPR", "is", "a", "valid", "first", "argument", "for", "a", "call", "to", "__builtin_preserve_field_info", "."], "TS_V_token": ["bpf", "0", "0"], "File": "bpf1", "Func": "bpf_is_valid_preserve_field_info_arg", "Target": "bpf", "Target_Clf": "Virtual ISA", "Compiler_Type": "GCC", "Idx": 1903, "Length": 74, "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": 1904, "Length": 363, "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": 1905, "Length": 68, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "static", "bool", "arc_can_eliminate", "(", "const", "int", "from", "ATTRIBUTE_UNUSED", ",", "const", "int", "to", ")", "{", "return", "to", "==", "FRAME_POINTER_REGNUM", "||", "!", "arc_frame_pointer_required", "(", ")", ";", "}", ""], "natrual_language": ["Given", "FROM", "and", "TO", "register", "numbers", ",", "say", "whether", "this", "elimination", "is", "allowed", ".", "Frame", "pointer", "elimination", "is", "automatically", "handled", ".", "All", "eliminations", "are", "permissible", ".", "If", "we", "need", "a", "frame", "pointer", ",", "we", "must", "eliminate", "ARG_POINTER_REGNUM", "into", "FRAME_POINTER_REGNUM", "and", "not", "into", "STACK_POINTER_REGNUM", "."], "TS_V_token": ["arc"], "File": "arc4", "Func": "arc_can_eliminate", "Target": "arc", "Target_Clf": "MPU", "Compiler_Type": "GCC", "Idx": 1906, "Length": 25, "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": 1907, "Length": 66, "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": 1908, "Length": 137, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "static", "void", "pdp11_conditional_register_usage", "(", "void", ")", "{", "int", "i", ";", "HARD_REG_SET", "x", ";", "if", "(", "!", "TARGET_FPU", ")", "{", "x", "=", "reg_class_contents", "[", "FPU_REGS", "]", ";", "for", "(", "i", "=", "0", ";", "i", "<", "FIRST_PSEUDO_REGISTER", ";", "i", "++", ")", "if", "(", "TEST_HARD_REG_BIT", "(", "x", ",", "i", ")", ")", "fixed_regs", "[", "i", "]", "=", "call_used_regs", "[", "i", "]", "=", "1", ";", "}", "if", "(", "TARGET_AC0", ")", "call_used_regs", "[", "AC0_REGNUM", "]", "=", "1", ";", "if", "(", "TARGET_UNIX_ASM", ")", "{", "reg_names", "[", "8", "]", "=", "\"fr0\"", ";", "reg_names", "[", "9", "]", "=", "\"fr1\"", ";", "reg_names", "[", "10", "]", "=", "\"fr2\"", ";", "reg_names", "[", "11", "]", "=", "\"fr3\"", ";", "reg_names", "[", "12", "]", "=", "\"fr4\"", ";", "reg_names", "[", "13", "]", "=", "\"fr5\"", ";", "}", "}", ""], "natrual_language": ["Make", "sure", "everything", "'s", "fine", "if", "we", "*", "do", "n't", "*", "have", "an", "FPU", ".", "This", "assumes", "that", "putting", "a", "register", "in", "fixed_regs", "will", "keep", "the", "compiler", "'s", "mitts", "completely", "off", "it", ".", "We", "do", "n't", "bother", "to", "zero", "it", "out", "of", "register", "classes", ".", "Also", "fix", "incompatible", "register", "naming", "with", "the", "UNIX", "assembler", "."], "TS_V_token": ["pdp11", "0", "1", "1", "8", "\"fr0\"", "9", "\"fr1\"", "10", "\"fr2\"", "11", "\"fr3\"", "12", "\"fr4\"", "13", "\"fr5\""], "File": "pdp11", "Func": "pdp11_conditional_register_usage", "Target": "pdp11", "Target_Clf": "MPU", "Compiler_Type": "GCC", "Idx": 1909, "Length": 121, "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": 1910, "Length": 40, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "int", "mcore_expand_insv", "(", "rtx", "operands", "[", "]", ")", "{", "int", "width", "=", "INTVAL", "(", "operands", "[", "1", "]", ")", ";", "int", "posn", "=", "INTVAL", "(", "operands", "[", "2", "]", ")", ";", "int", "mask", ";", "rtx", "mreg", ",", "sreg", ",", "ereg", ";", "if", "(", "width", "==", "1", "&&", "GET_CODE", "(", "operands", "[", "3", "]", ")", "==", "CONST_INT", ")", "{", "if", "(", "(", "INTVAL", "(", "operands", "[", "3", "]", ")", "&", "1", ")", "==", "0", ")", "{", "mask", "=", "~", "(", "1", "<<", "posn", ")", ";", "emit_insn", "(", "gen_rtx_SET", "(", "SImode", ",", "operands", "[", "0", "]", ",", "gen_rtx_AND", "(", "SImode", ",", "operands", "[", "0", "]", ",", "GEN_INT", "(", "mask", ")", ")", ")", ")", ";", "}", "else", "{", "mask", "=", "1", "<<", "posn", ";", "emit_insn", "(", "gen_rtx_SET", "(", "SImode", ",", "operands", "[", "0", "]", ",", "gen_rtx_IOR", "(", "SImode", ",", "operands", "[", "0", "]", ",", "GEN_INT", "(", "mask", ")", ")", ")", ")", ";", "}", "return", "1", ";", "}", "if", "(", "!", "TARGET_W_FIELD", ")", "return", "0", ";", "if", "(", "width", "==", "8", "&&", "posn", "%", "8", "==", "0", ")", "return", "0", ";", "if", "(", "width", "==", "16", "&&", "posn", "%", "16", "==", "0", ")", "return", "0", ";", "if", "(", "GET_CODE", "(", "operands", "[", "3", "]", ")", "==", "CONST_INT", "&&", "INTVAL", "(", "operands", "[", "3", "]", ")", "==", "(", "(", "1", "<<", "width", ")", "-", "1", ")", ")", "{", "mreg", "=", "force_reg", "(", "SImode", ",", "GEN_INT", "(", "INTVAL", "(", "operands", "[", "3", "]", ")", "<<", "posn", ")", ")", ";", "emit_insn", "(", "gen_rtx_SET", "(", "SImode", ",", "operands", "[", "0", "]", ",", "gen_rtx_IOR", "(", "SImode", ",", "operands", "[", "0", "]", ",", "mreg", ")", ")", ")", ";", "return", "1", ";", "}", "mreg", "=", "force_reg", "(", "SImode", ",", "GEN_INT", "(", "~", "(", "(", "(", "1", "<<", "width", ")", "-", "1", ")", "<<", "posn", ")", ")", ")", ";", "emit_insn", "(", "gen_rtx_SET", "(", "SImode", ",", "operands", "[", "0", "]", ",", "gen_rtx_AND", "(", "SImode", ",", "operands", "[", "0", "]", ",", "mreg", ")", ")", ")", ";", "if", "(", "GET_CODE", "(", "operands", "[", "3", "]", ")", "==", "CONST_INT", "&&", "INTVAL", "(", "operands", "[", "3", "]", ")", "==", "0", ")", "return", "1", ";", "sreg", "=", "copy_to_mode_reg", "(", "SImode", ",", "operands", "[", "3", "]", ")", ";", "if", "(", "width", "+", "posn", "!=", "(", "int", ")", "GET_MODE_SIZE", "(", "SImode", ")", ")", "{", "ereg", "=", "force_reg", "(", "SImode", ",", "GEN_INT", "(", "(", "1", "<<", "width", ")", "-", "1", ")", ")", ";", "emit_insn", "(", "gen_rtx_SET", "(", "SImode", ",", "sreg", ",", "gen_rtx_AND", "(", "SImode", ",", "sreg", ",", "ereg", ")", ")", ")", ";", "}", "if", "(", "posn", "!=", "0", ")", "emit_insn", "(", "gen_rtx_SET", "(", "SImode", ",", "sreg", ",", "gen_rtx_ASHIFT", "(", "SImode", ",", "sreg", ",", "GEN_INT", "(", "posn", ")", ")", ")", ")", ";", "emit_insn", "(", "gen_rtx_SET", "(", "SImode", ",", "operands", "[", "0", "]", ",", "gen_rtx_IOR", "(", "SImode", ",", "operands", "[", "0", "]", ",", "sreg", ")", ")", ")", ";", "return", "1", ";", "}", ""], "natrual_language": ["Expand", "insert", "bit", "field", ".", "BRC"], "TS_V_token": ["mcore", "1", "2", "1", "3", "3", "1", "0", "1", "0", "0", "1", "0", "0", "1", "0", "8", "8", "0", "0", "16", "16", "0", "0", "3", "3", "1", "1", "3", "0", "0", "1", "1", "1", "0", "0", "3", "3", "0", "1", "3", "1", "1", "0", "0", "0", "1"], "File": "mcore3", "Func": "mcore_expand_insv", "Target": "mcore", "Target_Clf": "MPU", "Compiler_Type": "GCC", "Idx": 1911, "Length": 469, "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": 1912, "Length": 224, "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": 1913, "Length": 106, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "void", "M68kFrameLowering", "::", "determineCalleeSaves", "(", "MachineFunction", "&", "MF", ",", "BitVector", "&", "SavedRegs", ",", "RegScavenger", "*", "RS", ")", "const", "{", "TargetFrameLowering", "::", "determineCalleeSaves", "(", "MF", ",", "SavedRegs", ",", "RS", ")", ";", "MachineFrameInfo", "&", "MFI", "=", "MF", ".", "getFrameInfo", "(", ")", ";", "M68kMachineFunctionInfo", "*", "M68kFI", "=", "MF", ".", "getInfo", "<", "M68kMachineFunctionInfo", ">", "(", ")", ";", "int64_t", "TailCallReturnAddrDelta", "=", "M68kFI", "->", "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": ["M68k", "M68k", "M68k", "M68k", "M68k", "M68k", "0"], "File": "M68kFrameLowering", "Func": "determineCalleeSaves", "Target": "M68k", "Target_Clf": "MPU", "Compiler_Type": "LLVM", "Idx": 1914, "Length": 107, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "int", "h8300_hard_regno_rename_ok", "(", "unsigned", "int", "old_reg", "ATTRIBUTE_UNUSED", ",", "unsigned", "int", "new_reg", ")", "{", "if", "(", "h8300_current_function_interrupt_function_p", "(", ")", "&&", "!", "df_regs_ever_live_p", "(", "new_reg", ")", ")", "return", "0", ";", "return", "1", ";", "}", ""], "natrual_language": ["Return", "nonzero", "if", "register", "OLD_REG", "can", "be", "renamed", "to", "register", "NEW_REG", "."], "TS_V_token": ["h8300", "0", "1"], "File": "h8300", "Func": "h8300_hard_regno_rename_ok", "Target": "h8300", "Target_Clf": "MPU", "Compiler_Type": "GCC", "Idx": 1915, "Length": 32, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "static", "bool", "cbranch_predicted_p", "(", "rtx_insn", "*", "insn", ")", "{", "rtx", "x", "=", "find_reg_note", "(", "insn", ",", "REG_BR_PROB", ",", "0", ")", ";", "if", "(", "x", ")", "{", "return", "profile_probability", "::", "from_reg_br_prob_note", "(", "XINT", "(", "x", ",", "0", ")", ")", ">=", "profile_probability", "::", "even", "(", ")", ";", "}", "return", "false", ";", "}", ""], "natrual_language": ["Return", "true", "if", "INSN", "is", "annotated", "with", "a", "REG_BR_PROB", "note", "that", "indicates", "it", "'s", "a", "branch", "that", "'s", "predicted", "taken", "."], "TS_V_token": ["tilepro", "0", "0"], "File": "tilepro", "Func": "cbranch_predicted_p", "Target": "tilepro", "Target_Clf": "VLIW", "Compiler_Type": "GCC", "Idx": 1916, "Length": 50, "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": 1917, "Length": 283, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "bool", "ConstGeneration", "::", "processBlock", "(", "MachineBasicBlock", "&", "B", ",", "const", "RegisterSet", "&", ")", "{", "bool", "Changed", "=", "false", ";", "RegisterSet", "Defs", ";", "for", "(", "auto", "I", "=", "B", ".", "begin", "(", ")", ",", "E", "=", "B", ".", "end", "(", ")", ";", "I", "!=", "E", ";", "++", "I", ")", "{", "if", "(", "isTfrConst", "(", "*", "I", ")", ")", "continue", ";", "Defs", ".", "clear", "(", ")", ";", "HBS", "::", "getInstrDefs", "(", "*", "I", ",", "Defs", ")", ";", "if", "(", "Defs", ".", "count", "(", ")", "!=", "1", ")", "continue", ";", "unsigned", "DR", "=", "Defs", ".", "find_first", "(", ")", ";", "if", "(", "!", "TargetRegisterInfo", "::", "isVirtualRegister", "(", "DR", ")", ")", "continue", ";", "int64_t", "C", ";", "if", "(", "isConst", "(", "DR", ",", "C", ")", ")", "{", "DebugLoc", "DL", "=", "I", "->", "getDebugLoc", "(", ")", ";", "auto", "At", "=", "I", "->", "isPHI", "(", ")", "?", "B", ".", "getFirstNonPHI", "(", ")", ":", "I", ";", "unsigned", "ImmReg", "=", "genTfrConst", "(", "MRI", ".", "getRegClass", "(", "DR", ")", ",", "C", ",", "B", ",", "At", ",", "DL", ")", ";", "if", "(", "ImmReg", ")", "{", "HBS", "::", "replaceReg", "(", "DR", ",", "ImmReg", ",", "MRI", ")", ";", "BT", ".", "put", "(", "ImmReg", ",", "BT", ".", "lookup", "(", "DR", ")", ")", ";", "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": ["Hexagon", "1"], "File": "HexagonBitSimplify5", "Func": "processBlock", "Target": "Hexagon", "Target_Clf": "DSP", "Compiler_Type": "LLVM", "Idx": 1918, "Length": 209, "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": 1919, "Length": 51, "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": 1920, "Length": 32, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "void", "SITargetLowering", "::", "insertCopiesSplitCSR", "(", "MachineBasicBlock", "*", "Entry", ",", "const", "SmallVectorImpl", "<", "MachineBasicBlock", "*", ">", "&", "Exits", ")", "const", "{", "const", "SIRegisterInfo", "*", "TRI", "=", "getSubtarget", "(", ")", "->", "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", "(", "AMDGPU", "::", "SReg_64RegClass", ".", "contains", "(", "*", "I", ")", ")", "RC", "=", "&", "AMDGPU", "::", "SGPR_64RegClass", ";", "else", "if", "(", "AMDGPU", "::", "SReg_32RegClass", ".", "contains", "(", "*", "I", ")", ")", "RC", "=", "&", "AMDGPU", "::", "SGPR_32RegClass", ";", "else", "llvm_unreachable", "(", "\"Unexpected register class in CSRsViaCopy!\"", ")", ";", "Register", "NewVR", "=", "MRI", "->", "createVirtualRegister", "(", "RC", ")", ";", "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": ["AMDGPU", "SI", "SI", "AMDGPU::SReg_64RegClass", "AMDGPU::SGPR_64RegClass", "AMDGPU::SReg_32RegClass", "AMDGPU::SGPR_32RegClass", "\"Unexpected register class in CSRsViaCopy!\""], "File": "SIISelLowering10", "Func": "insertCopiesSplitCSR", "Target": "AMDGPU", "Target_Clf": "GPU", "Compiler_Type": "LLVM", "Idx": 1921, "Length": 251, "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": 1922, "Length": 473, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "const", "MCPhysReg", "*", "TGSIRegisterInfo", "::", "getCalleeSavedRegs", "(", "const", "MachineFunction", "*", "MF", ")", "const", "{", "static", "const", "MCPhysReg", "regs", "[", "]", "=", "{", "TGSI", "::", "TEMP2", ",", "TGSI", "::", "TEMP3", ",", "TGSI", "::", "TEMP4", ",", "TGSI", "::", "TEMP5", ",", "TGSI", "::", "TEMP6", ",", "TGSI", "::", "TEMP7", ",", "TGSI", "::", "TEMP8", ",", "TGSI", "::", "TEMP9", ",", "TGSI", "::", "TEMP10", ",", "TGSI", "::", "TEMP11", ",", "TGSI", "::", "TEMP12", ",", "TGSI", "::", "TEMP13", ",", "TGSI", "::", "TEMP14", ",", "TGSI", "::", "TEMP15", ",", "TGSI", "::", "TEMP16", ",", "TGSI", "::", "TEMP17", ",", "TGSI", "::", "TEMP18", ",", "TGSI", "::", "TEMP19", ",", "TGSI", "::", "TEMP20", ",", "TGSI", "::", "TEMP21", ",", "TGSI", "::", "TEMP22", ",", "TGSI", "::", "TEMP23", ",", "TGSI", "::", "TEMP24", ",", "TGSI", "::", "TEMP25", ",", "TGSI", "::", "TEMP26", ",", "TGSI", "::", "TEMP27", ",", "TGSI", "::", "TEMP28", ",", "TGSI", "::", "TEMP29", ",", "TGSI", "::", "TEMP30", ",", "TGSI", "::", "TEMP31", "}", ";", "return", "regs", ";", "}", ""], "natrual_language": ["Code", "Generation", "virtual", "methods", "..."], "TS_V_token": ["TGSI", "TGSI", "TGSI::TEMP2", "TGSI::TEMP3", "TGSI::TEMP4", "TGSI::TEMP5", "TGSI::TEMP6", "TGSI::TEMP7", "TGSI::TEMP8", "TGSI::TEMP9", "TGSI::TEMP10", "TGSI::TEMP11", "TGSI::TEMP12", "TGSI::TEMP13", "TGSI::TEMP14", "TGSI::TEMP15", "TGSI::TEMP16", "TGSI::TEMP17", "TGSI::TEMP18", "TGSI::TEMP19", "TGSI::TEMP20", "TGSI::TEMP21", "TGSI::TEMP22", "TGSI::TEMP23", "TGSI::TEMP24", "TGSI::TEMP25", "TGSI::TEMP26", "TGSI::TEMP27", "TGSI::TEMP28", "TGSI::TEMP29", "TGSI::TEMP30", "TGSI::TEMP31"], "File": "TGSIRegisterInfo", "Func": "getCalleeSavedRegs", "Target": "TGSI", "Target_Clf": "Virtual ISA", "Compiler_Type": "LLVM", "Idx": 1923, "Length": 147, "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": 1924, "Length": 400, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "void", "initialize", "(", "ScheduleDAGMI", "*", "DAG", ")", "override", "{", "}", ""], "natrual_language": ["Initialize", "the", "strategy", "after", "building", "the", "DAG", "for", "a", "new", "region", "."], "TS_V_token": ["AMDGPU"], "File": "GCNIterativeScheduler (2)", "Func": "initialize", "Target": "AMDGPU", "Target_Clf": "GPU", "Compiler_Type": "LLVM", "Idx": 1925, "Length": 10, "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": 1926, "Length": 25, "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": 1927, "Length": 13, "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": 1928, "Length": 323, "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": 1929, "Length": 470, "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": 1930, "Length": 67, "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": 1931, "Length": 409, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "bool", "X86TargetLowering", "::", "hasAndNotCompare", "(", "SDValue", "Y", ")", "const", "{", "if", "(", "!", "Subtarget", ".", "hasBMI", "(", ")", ")", "return", "false", ";", "EVT", "VT", "=", "Y", ".", "getValueType", "(", ")", ";", "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 (3)", "Func": "hasAndNotCompare", "Target": "X86", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 1932, "Length": 52, "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": 1933, "Length": 462, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "bool", "HexagonMCInst", "::", "isExtended", "(", "void", ")", "const", "{", "const", "uint64_t", "F", "=", "getDesc", "(", ")", ".", "TSFlags", ";", "return", "(", "F", ">>", "HexagonII", "::", "ExtendedPos", ")", "&", "HexagonII", "::", "ExtendedMask", ";", "}", ""], "natrual_language": ["Test", "if", "the", "given", "EVT", "is", "extended", "(", "as", "opposed", "to", "being", "simple", ")", "."], "TS_V_token": ["Hexagon", "Hexagon", "HexagonII::ExtendedPos", "HexagonII::ExtendedMask"], "File": "HexagonMCInst", "Func": "isExtended", "Target": "Hexagon", "Target_Clf": "DSP", "Compiler_Type": "LLVM", "Idx": 1934, "Length": 33, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "SDValue", "MSP430TargetLowering", "::", "LowerCallResult", "(", "SDValue", "Chain", ",", "SDValue", "InFlag", ",", "CallingConv", "::", "ID", "CallConv", ",", "bool", "isVarArg", ",", "const", "SmallVectorImpl", "<", "ISD", "::", "InputArg", ">", "&", "Ins", ",", "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_MSP430", ")", ";", "for", "(", "unsigned", "i", "=", "0", ";", "i", "!=", "RVLocs", ".", "size", "(", ")", ";", "++", "i", ")", "{", "Chain", "=", "DAG", ".", "getCopyFromReg", "(", "Chain", ",", "dl", ",", "RVLocs", "[", "i", "]", ".", "getLocReg", "(", ")", ",", "RVLocs", "[", "i", "]", ".", "getValVT", "(", ")", ",", "InFlag", ")", ".", "getValue", "(", "1", ")", ";", "InFlag", "=", "Chain", ".", "getValue", "(", "2", ")", ";", "InVals", ".", "push_back", "(", "Chain", ".", "getValue", "(", "0", ")", ")", ";", "}", "return", "Chain", ";", "}", ""], "natrual_language": ["LowerCallResult", "-", "Lower", "the", "result", "values", "of", "an", "ISD", ":", ":CALL", "into", "the", "appropriate", "copies", "out", "of", "appropriate", "physical", "registers", "."], "TS_V_token": ["MSP430", "MSP430", "ISD::InputArg", "16", "MSP430", "0", "1", "2", "0"], "File": "MSP430ISelLowering11", "Func": "LowerCallResult", "Target": "MSP430", "Target_Clf": "MPU", "Compiler_Type": "LLVM", "Idx": 1935, "Length": 170, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "bool", "XCoreInstrInfo", "::", "spillCalleeSavedRegisters", "(", "MachineBasicBlock", "&", "MBB", ",", "MachineBasicBlock", "::", "iterator", "MI", ",", "const", "std", "::", "vector", "<", "CalleeSavedInfo", ">", "&", "CSI", ")", "const", "{", "if", "(", "CSI", ".", "empty", "(", ")", ")", "{", "return", "true", ";", "}", "MachineFunction", "*", "MF", "=", "MBB", ".", "getParent", "(", ")", ";", "const", "MachineFrameInfo", "*", "MFI", "=", "MF", "->", "getFrameInfo", "(", ")", ";", "MachineModuleInfo", "*", "MMI", "=", "MFI", "->", "getMachineModuleInfo", "(", ")", ";", "XCoreFunctionInfo", "*", "XFI", "=", "MF", "->", "getInfo", "<", "XCoreFunctionInfo", ">", "(", ")", ";", "bool", "emitFrameMoves", "=", "XCoreRegisterInfo", "::", "needsFrameMoves", "(", "*", "MF", ")", ";", "DebugLoc", "DL", "=", "DebugLoc", "::", "getUnknownLoc", "(", ")", ";", "if", "(", "MI", "!=", "MBB", ".", "end", "(", ")", ")", "DL", "=", "MI", "->", "getDebugLoc", "(", ")", ";", "for", "(", "std", "::", "vector", "<", "CalleeSavedInfo", ">", "::", "const_iterator", "it", "=", "CSI", ".", "begin", "(", ")", ";", "it", "!=", "CSI", ".", "end", "(", ")", ";", "++", "it", ")", "{", "MBB", ".", "addLiveIn", "(", "it", "->", "getReg", "(", ")", ")", ";", "storeRegToStackSlot", "(", "MBB", ",", "MI", ",", "it", "->", "getReg", "(", ")", ",", "true", ",", "it", "->", "getFrameIdx", "(", ")", ",", "it", "->", "getRegClass", "(", ")", ")", ";", "if", "(", "emitFrameMoves", ")", "{", "MCSymbol", "*", "SaveLabel", "=", "MMI", "->", "getContext", "(", ")", ".", "CreateTempSymbol", "(", ")", ";", "BuildMI", "(", "MBB", ",", "MI", ",", "DL", ",", "get", "(", "XCore", "::", "DBG_LABEL", ")", ")", ".", "addSym", "(", "SaveLabel", ")", ";", "XFI", "->", "getSpillLabels", "(", ")", ".", "push_back", "(", "std", "::", "make_pair", "(", "SaveLabel", ",", "*", "it", ")", ")", ";", "}", "}", "return", "true", ";", "}", ""], "natrual_language": ["spillCalleeSavedRegisters", "-", "Issues", "instruction", "(", "s", ")", "to", "spill", "all", "callee", "saved", "registers", "and", "returns", "true", "if", "it", "is", "n't", "possible", "/", "profitable", "to", "do", "so", "by", "issuing", "a", "series", "of", "store", "instructions", "via", "storeRegToStackSlot", "(", ")", "."], "TS_V_token": ["XCore", "XCore", "XCore", "XCore", "XCore", "XCore::DBG_LABEL"], "File": "XCoreInstrInfo39", "Func": "spillCalleeSavedRegisters", "Target": "XCore", "Target_Clf": "MPU", "Compiler_Type": "LLVM", "Idx": 1936, "Length": 254, "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": 1937, "Length": 112, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "void", "WebAssemblyInstPrinter", "::", "printInst", "(", "const", "MCInst", "*", "MI", ",", "raw_ostream", "&", "OS", ",", "StringRef", "Annot", ",", "const", "MCSubtargetInfo", "&", "STI", ")", "{", "printInstruction", "(", "MI", ",", "OS", ")", ";", "const", "MCInstrDesc", "&", "Desc", "=", "MII", ".", "get", "(", "MI", "->", "getOpcode", "(", ")", ")", ";", "if", "(", "Desc", ".", "isVariadic", "(", ")", ")", "for", "(", "auto", "i", "=", "Desc", ".", "getNumOperands", "(", ")", ",", "e", "=", "MI", "->", "getNumOperands", "(", ")", ";", "i", "<", "e", ";", "++", "i", ")", "{", "if", "(", "i", "!=", "0", "&&", "(", "MI", "->", "getOpcode", "(", ")", "!=", "WebAssembly", "::", "CALL_INDIRECT_VOID", "||", "i", "!=", "Desc", ".", "getNumOperands", "(", ")", ")", ")", "OS", "<<", "\", \"", ";", "printOperand", "(", "MI", ",", "i", ",", "OS", ")", ";", "}", "printAnnotation", "(", "OS", ",", "Annot", ")", ";", "if", "(", "CommentStream", ")", "{", "switch", "(", "MI", "->", "getOpcode", "(", ")", ")", "{", "default", ":", "break", ";", "case", "WebAssembly", "::", "LOOP", ":", "case", "WebAssembly", "::", "LOOP_S", ":", "{", "printAnnotation", "(", "OS", ",", "\"label\"", "+", "utostr", "(", "ControlFlowCounter", ")", "+", "':'", ")", ";", "ControlFlowStack", ".", "push_back", "(", "std", "::", "make_pair", "(", "ControlFlowCounter", "++", ",", "true", ")", ")", ";", "break", ";", "}", "case", "WebAssembly", "::", "BLOCK", ":", "case", "WebAssembly", "::", "BLOCK_S", ":", "ControlFlowStack", ".", "push_back", "(", "std", "::", "make_pair", "(", "ControlFlowCounter", "++", ",", "false", ")", ")", ";", "break", ";", "case", "WebAssembly", "::", "END_LOOP", ":", "case", "WebAssembly", "::", "END_LOOP_S", ":", "if", "(", "!", "ControlFlowStack", ".", "empty", "(", ")", ")", "ControlFlowStack", ".", "pop_back", "(", ")", ";", "break", ";", "case", "WebAssembly", "::", "END_BLOCK", ":", "case", "WebAssembly", "::", "END_BLOCK_S", ":", "if", "(", "!", "ControlFlowStack", ".", "empty", "(", ")", ")", "printAnnotation", "(", "OS", ",", "\"label\"", "+", "utostr", "(", "ControlFlowStack", ".", "pop_back_val", "(", ")", ".", "first", ")", "+", "':'", ")", ";", "break", ";", "}", "unsigned", "NumFixedOperands", "=", "Desc", ".", "NumOperands", ";", "SmallSet", "<", "uint64_t", ",", "8", ">", "Printed", ";", "for", "(", "unsigned", "i", "=", "0", ",", "e", "=", "MI", "->", "getNumOperands", "(", ")", ";", "i", "<", "e", ";", "++", "i", ")", "{", "if", "(", "!", "(", "i", "<", "NumFixedOperands", "?", "(", "Desc", ".", "OpInfo", "[", "i", "]", ".", "OperandType", "==", "WebAssembly", "::", "OPERAND_BASIC_BLOCK", ")", ":", "(", "Desc", ".", "TSFlags", "&", "WebAssemblyII", "::", "VariableOpImmediateIsLabel", ")", ")", ")", "continue", ";", "uint64_t", "Depth", "=", "MI", "->", "getOperand", "(", "i", ")", ".", "getImm", "(", ")", ";", "if", "(", "!", "Printed", ".", "insert", "(", "Depth", ")", ".", "second", ")", "continue", ";", "const", "auto", "&", "Pair", "=", "ControlFlowStack", ".", "rbegin", "(", ")", "[", "Depth", "]", ";", "printAnnotation", "(", "OS", ",", "utostr", "(", "Depth", ")", "+", "\": \"", "+", "(", "Pair", ".", "second", "?", "\"up\"", ":", "\"down\"", ")", "+", "\" to label\"", "+", "utostr", "(", "Pair", ".", "first", ")", ")", ";", "}", "}", "}", ""], "natrual_language": ["Print", "the", "specified", "MCInst", "to", "the", "specified", "raw_ostream", "."], "TS_V_token": ["WebAssembly", "WebAssembly", "0", "WebAssembly::CALL_INDIRECT_VOID", "\", \"", "WebAssembly::LOOP", "WebAssembly::LOOP_S", "\"label\"", "WebAssembly::BLOCK", "WebAssembly::BLOCK_S", "WebAssembly::END_LOOP", "WebAssembly::END_LOOP_S", "WebAssembly::END_BLOCK", "WebAssembly::END_BLOCK_S", "\"label\"", "8", "0", "WebAssembly::OPERAND_BASIC_BLOCK", "WebAssemblyII::VariableOpImmediateIsLabel", "\": \"", "\"up\"", "\"down\"", "\" to label\""], "File": "WebAssemblyInstPrinter4", "Func": "printInst", "Target": "WebAssembly", "Target_Clf": "Virtual ISA", "Compiler_Type": "LLVM", "Idx": 1938, "Length": 435, "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": 1939, "Length": 14, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "int", "hard_regno_mode_ok", "(", "int", "regno", ",", "enum", "machine_mode", "mode", ")", "{", "switch", "(", "GET_MODE_SIZE", "(", "mode", ")", ")", "{", "case", "8", ":", "return", "S_REGNO_P", "(", "regno", ")", "&&", "m68hc11_soft_reg_count", ">=", "4", ";", "case", "4", ":", "return", "(", "X_REGNO_P", "(", "regno", ")", "||", "(", "S_REGNO_P", "(", "regno", ")", "&&", "m68hc11_soft_reg_count", ">=", "2", ")", ")", ";", "case", "2", ":", "return", "G_REGNO_P", "(", "regno", ")", ";", "case", "1", ":", "return", "G_REGNO_P", "(", "regno", ")", "&&", "!", "SP_REGNO_P", "(", "regno", ")", ";", "default", ":", "return", "0", ";", "}", "}", ""], "natrual_language": ["Value", "is", "1", "if", "hard", "register", "REGNO", "can", "hold", "a", "value", "of", "machine-mode", "MODE", "."], "TS_V_token": ["m68hc11", "8", "4", "4", "2", "2", "1", "0"], "File": "m68hc111", "Func": "hard_regno_mode_ok", "Target": "m68hc11", "Target_Clf": "MPU", "Compiler_Type": "GCC", "Idx": 1940, "Length": 85, "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": ["rs6000", "0", "\"AltiVec argument passed to unprototyped function\""], "File": "rs6000", "Func": "invalid_arg_for_unprototyped_fn", "Target": "rs6000", "Target_Clf": "CPU", "Compiler_Type": "GCC", "Idx": 1941, "Length": 66, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "const", "TargetRegisterClass", "*", "RISCVRegisterInfo", "::", "getPointerRegClass", "(", "const", "MachineFunction", "&", "MF", ",", "unsigned", "Kind", ")", "const", "{", "return", "&", "RISCV", "::", "GPRRegClass", ";", "}", ""], "natrual_language": ["getPointerRegClass", "-", "Returns", "a", "TargetRegisterClass", "used", "for", "pointer", "values", "."], "TS_V_token": ["RISCV", "RISCV", "RISCV::GPRRegClass"], "File": "RISCVRegisterInfo34", "Func": "getPointerRegClass", "Target": "RISCV", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 1942, "Length": 24, "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": 1943, "Length": 163, "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", "'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": "SystemZISelLowering118", "Func": "getRegForInlineAsmConstraint", "Target": "SystemZ", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 1944, "Length": 242, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "int", "getRegTmpIndex", "(", "void", ")", "const", "{", "return", "hasTinyEncoding", "(", ")", "?", "16", ":", "0", ";", "}", ""], "natrual_language": ["Get", "GPR", "aliases", "."], "TS_V_token": ["AVR", "16", "0"], "File": "AVRSubtarget11", "Func": "getRegTmpIndex", "Target": "AVR", "Target_Clf": "MPU", "Compiler_Type": "LLVM", "Idx": 1945, "Length": 17, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "static", "int", "push_reg", "(", "rtx", "reg", ")", "{", "rtx", "stkslot", "=", "gen_rtx_MEM", "(", "GET_MODE", "(", "reg", ")", ",", "gen_rtx_PRE_DEC", "(", "Pmode", ",", "stack_pointer_rtx", ")", ")", ";", "rtx", "insn", "=", "emit_move_insn", "(", "stkslot", ",", "reg", ")", ";", "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", ",", "-", "GET_MODE_SIZE", "(", "GET_MODE", "(", "reg", ")", ")", ")", ")", ")", ";", "return", "GET_MODE_SIZE", "(", "GET_MODE", "(", "reg", ")", ")", ";", "}", ""], "natrual_language": ["Helper", "used", "when", "saving", "AUX", "regs", "during", "ISR", "."], "TS_V_token": ["arc", "1"], "File": "arc", "Func": "push_reg", "Target": "arc", "Target_Clf": "MPU", "Compiler_Type": "GCC", "Idx": 1946, "Length": 81, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "MCSymbol", "*", "WebAssemblyMCInstLower", "::", "GetExternalSymbolSymbol", "(", "const", "MachineOperand", "&", "MO", ")", "const", "{", "return", "Printer", ".", "GetExternalSymbolSymbol", "(", "MO", ".", "getSymbolName", "(", ")", ")", ";", "}", ""], "natrual_language": ["Return", "the", "MCSymbol", "for", "the", "specified", "ExternalSymbol", "."], "TS_V_token": ["WebAssembly", "WebAssembly"], "File": "WebAssemblyMCInstLower (2)", "Func": "GetExternalSymbolSymbol", "Target": "WebAssembly", "Target_Clf": "Virtual ISA", "Compiler_Type": "LLVM", "Idx": 1947, "Length": 26, "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": 1948, "Length": 174, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "const", "char", "*", "nvptx_output_simt_enter", "(", "rtx", "dest", ",", "rtx", "size", ",", "rtx", "align", ")", "{", "nvptx_output_unisimt_switch", "(", "asm_out_file", ",", "true", ")", ";", "nvptx_output_softstack_switch", "(", "asm_out_file", ",", "true", ",", "dest", ",", "size", ",", "align", ")", ";", "return", "\"\"", ";", "}", ""], "natrual_language": ["Output", "code", "to", "enter", "non-uniform", "execution", "region", ".", "DEST", "is", "a", "register", "to", "hold", "a", "per-lane", "allocation", "given", "by", "SIZE", "and", "ALIGN", "."], "TS_V_token": ["nvptx", "\"\""], "File": "nvptx", "Func": "nvptx_output_simt_enter", "Target": "nvptx", "Target_Clf": "GPU", "Compiler_Type": "GCC", "Idx": 1949, "Length": 39, "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": 1950, "Length": 215, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "void", "emitBundleUnlock", "(", ")", "override", "{", "}", ""], "natrual_language": ["Ends", "a", "bundle-locked", "group", "."], "TS_V_token": ["Patmos"], "File": "PatmosInstrInfo1", "Func": "emitBundleUnlock", "Target": "Patmos", "Target_Clf": "VLIW", "Compiler_Type": "LLVM", "Idx": 1951, "Length": 7, "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": 1952, "Length": 191, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "void", "GCNMinRegScheduler", "::", "releaseSuccessors", "(", "const", "SUnit", "*", "SU", ",", "int", "Priority", ")", "{", "for", "(", "const", "auto", "&", "S", ":", "SU", "->", "Succs", ")", "{", "auto", "SuccSU", "=", "S", ".", "getSUnit", "(", ")", ";", "if", "(", "S", ".", "isWeak", "(", ")", ")", "continue", ";", "assert", "(", "SuccSU", "->", "isBoundaryNode", "(", ")", "||", "getNumPreds", "(", "SuccSU", ")", ">", "0", ")", ";", "if", "(", "!", "SuccSU", "->", "isBoundaryNode", "(", ")", "&&", "decNumPreds", "(", "SuccSU", ")", "==", "0", ")", "RQ", ".", "push_front", "(", "*", "new", "(", "Alloc", ".", "Allocate", "(", ")", ")", "Candidate", "(", "SuccSU", ",", "Priority", ")", ")", ";", "}", "}", ""], "natrual_language": ["releaseSuccessors", "-", "Call", "releaseSucc", "on", "each", "of", "SU", "'s", "successors", "."], "TS_V_token": ["AMDGPU", "0", "0"], "File": "GCNMinRegStrategy", "Func": "releaseSuccessors", "Target": "AMDGPU", "Target_Clf": "GPU", "Compiler_Type": "LLVM", "Idx": 1953, "Length": 100, "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": 1954, "Length": 405, "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", "(", ")", "-", "MF", ".", "getSubtarget", "<", "AArch64Subtarget", ">", "(", ")", ".", "isX20Reserved", "(", ")", "-", "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", "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": "AArch64RegisterInfo37", "Func": "getRegPressureLimit", "Target": "AArch64", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 1955, "Length": 202, "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": 1956, "Length": 29, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "bool", "GCNPassConfig", "::", "addInstSelector", "(", ")", "{", "AMDGPUPassConfig", "::", "addInstSelector", "(", ")", ";", "addPass", "(", "createSILowerI1CopiesPass", "(", ")", ")", ";", "addPass", "(", "&", "SIFixSGPRCopiesID", ")", ";", "return", "false", ";", "}", ""], "natrual_language": ["addInstSelector", "-", "This", "method", "should", "install", "an", "instruction", "selector", "pass", ",", "which", "converts", "from", "LLVM", "code", "to", "machine", "instructions", "."], "TS_V_token": ["AMDGPU", "AMDGPU", "SI", "SI"], "File": "AMDGPUTargetMachine103", "Func": "addInstSelector", "Target": "AMDGPU", "Target_Clf": "GPU", "Compiler_Type": "LLVM", "Idx": 1957, "Length": 30, "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": 1958, "Length": 169, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "void", "VLIWMachineScheduler", "::", "schedule", "(", ")", "{", "LLVM_DEBUG", "(", "dbgs", "(", ")", "<<", "\"********** MI Converging Scheduling VLIW \"", "<<", "printMBBReference", "(", "*", "BB", ")", "<<", "\" \"", "<<", "BB", "->", "getName", "(", ")", "<<", "\" in_func \"", "<<", "BB", "->", "getParent", "(", ")", "->", "getName", "(", ")", "<<", "\" at loop depth \"", "<<", "MLI", "->", "getLoopDepth", "(", "BB", ")", "<<", "\" \\n\"", ")", ";", "buildDAGWithRegPressure", "(", ")", ";", "Topo", ".", "InitDAGTopologicalSorting", "(", ")", ";", "postprocessDAG", "(", ")", ";", "SmallVector", "<", "SUnit", "*", ",", "8", ">", "TopRoots", ",", "BotRoots", ";", "findRootsAndBiasEdges", "(", "TopRoots", ",", "BotRoots", ")", ";", "SchedImpl", "->", "initialize", "(", "this", ")", ";", "LLVM_DEBUG", "(", "unsigned", "maxH", "=", "0", ";", "for", "(", "unsigned", "su", "=", "0", ",", "e", "=", "SUnits", ".", "size", "(", ")", ";", "su", "!=", "e", ";", "++", "su", ")", "if", "(", "SUnits", "[", "su", "]", ".", "getHeight", "(", ")", ">", "maxH", ")", "maxH", "=", "SUnits", "[", "su", "]", ".", "getHeight", "(", ")", ";", "dbgs", "(", ")", "<<", "\"Max Height \"", "<<", "maxH", "<<", "\"\\n\"", ";", ")", ";", "LLVM_DEBUG", "(", "unsigned", "maxD", "=", "0", ";", "for", "(", "unsigned", "su", "=", "0", ",", "e", "=", "SUnits", ".", "size", "(", ")", ";", "su", "!=", "e", ";", "++", "su", ")", "if", "(", "SUnits", "[", "su", "]", ".", "getDepth", "(", ")", ">", "maxD", ")", "maxD", "=", "SUnits", "[", "su", "]", ".", "getDepth", "(", ")", ";", "dbgs", "(", ")", "<<", "\"Max Depth \"", "<<", "maxD", "<<", "\"\\n\"", ";", ")", ";", "LLVM_DEBUG", "(", "dump", "(", ")", ")", ";", "initQueues", "(", "TopRoots", ",", "BotRoots", ")", ";", "bool", "IsTopNode", "=", "false", ";", "while", "(", "true", ")", "{", "LLVM_DEBUG", "(", "dbgs", "(", ")", "<<", "\"** VLIWMachineScheduler::schedule picking next node\\n\"", ")", ";", "SUnit", "*", "SU", "=", "SchedImpl", "->", "pickNode", "(", "IsTopNode", ")", ";", "if", "(", "!", "SU", ")", "break", ";", "if", "(", "!", "checkSchedLimit", "(", ")", ")", "break", ";", "scheduleMI", "(", "SU", ",", "IsTopNode", ")", ";", "SchedImpl", "->", "schedNode", "(", "SU", ",", "IsTopNode", ")", ";", "updateQueues", "(", "SU", ",", "IsTopNode", ")", ";", "}", "assert", "(", "CurrentTop", "==", "CurrentBottom", "&&", "\"Nonempty unscheduled zone.\"", ")", ";", "placeDebugValues", "(", ")", ";", "LLVM_DEBUG", "(", "{", "dbgs", "(", ")", "<<", "\"*** Final schedule for \"", "<<", "printMBBReference", "(", "*", "begin", "(", ")", "->", "getParent", "(", ")", ")", "<<", "\" ***\\n\"", ";", "dumpSchedule", "(", ")", ";", "dbgs", "(", ")", "<<", "'\\n'", ";", "}", ""], "natrual_language": ["Schedule", "-", "This", "is", "called", "back", "from", "ScheduleDAGInstrs", ":", ":Run", "(", ")", "when", "it", "'s", "time", "to", "do", "some", "work", "."], "TS_V_token": ["Hexagon", "\"********** MI Converging Scheduling VLIW \"", "\" \"", "\" in_func \"", "\" at loop depth \"", "\" \\n\"", "8", "0", "0", "\"Max Height \"", "\"\\n\"", "0", "0", "\"Max Depth \"", "\"\\n\"", "\"** VLIWMachineScheduler::schedule picking next node\\n\"", "\"Nonempty unscheduled zone.\"", "\"*** Final schedule for \"", "\" ***\\n\""], "File": "HexagonMachineScheduler11", "Func": "schedule", "Target": "Hexagon", "Target_Clf": "DSP", "Compiler_Type": "LLVM", "Idx": 1959, "Length": 353, "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": 1960, "Length": 27, "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": 1961, "Length": 459, "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": 1962, "Length": 77, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "bool", "SITargetLowering", "::", "allowsMisalignedMemoryAccesses", "(", "EVT", "VT", ",", "unsigned", "AddrSpace", ",", "unsigned", "Align", ",", "MachineMemOperand", "::", "Flags", "Flags", ",", "bool", "*", "IsFast", ")", "const", "{", "if", "(", "IsFast", ")", "*", "IsFast", "=", "false", ";", "if", "(", "VT", "==", "MVT", "::", "Other", "||", "(", "VT", "!=", "MVT", "::", "Other", "&&", "VT", ".", "getSizeInBits", "(", ")", ">", "1024", "&&", "VT", ".", "getStoreSize", "(", ")", ">", "16", ")", ")", "{", "return", "false", ";", "}", "if", "(", "AddrSpace", "==", "AMDGPUAS", "::", "LOCAL_ADDRESS", "||", "AddrSpace", "==", "AMDGPUAS", "::", "REGION_ADDRESS", ")", "{", "bool", "AlignedBy4", "=", "(", "Align", "%", "4", "==", "0", ")", ";", "if", "(", "IsFast", ")", "*", "IsFast", "=", "AlignedBy4", ";", "return", "AlignedBy4", ";", "}", "if", "(", "!", "Subtarget", "->", "hasUnalignedScratchAccess", "(", ")", "&&", "(", "AddrSpace", "==", "AMDGPUAS", "::", "PRIVATE_ADDRESS", "||", "AddrSpace", "==", "AMDGPUAS", "::", "FLAT_ADDRESS", ")", ")", "{", "bool", "AlignedBy4", "=", "Align", ">=", "4", ";", "if", "(", "IsFast", ")", "*", "IsFast", "=", "AlignedBy4", ";", "return", "AlignedBy4", ";", "}", "if", "(", "Subtarget", "->", "hasUnalignedBufferAccess", "(", ")", ")", "{", "if", "(", "IsFast", ")", "{", "*", "IsFast", "=", "(", "AddrSpace", "==", "AMDGPUAS", "::", "CONSTANT_ADDRESS", "||", "AddrSpace", "==", "AMDGPUAS", "::", "CONSTANT_ADDRESS_32BIT", ")", "?", "(", "Align", "%", "4", "==", "0", ")", ":", "true", ";", "}", "return", "true", ";", "}", "if", "(", "VT", ".", "bitsLT", "(", "MVT", "::", "i32", ")", ")", "return", "false", ";", "if", "(", "IsFast", ")", "*", "IsFast", "=", "true", ";", "return", "VT", ".", "bitsGT", "(", "MVT", "::", "i32", ")", "&&", "Align", "%", "4", "==", "0", ";", "}", ""], "natrual_language": ["Returns", "true", "if", "the", "target", "allows", "unaligned", "memory", "accesses", "of", "the", "specified", "type", "."], "TS_V_token": ["AMDGPU", "SI", "MVT::Other", "MVT::Other", "1024", "16", "AMDGPU", "AMDGPU", "4", "0", "AMDGPU", "AMDGPU", "4", "AMDGPU", "AMDGPU", "4", "0", "MVT::i32", "MVT::i32", "4", "0"], "File": "SIISelLowering11", "Func": "allowsMisalignedMemoryAccesses", "Target": "AMDGPU", "Target_Clf": "GPU", "Compiler_Type": "LLVM", "Idx": 1963, "Length": 240, "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": 1964, "Length": 107, "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": 1965, "Length": 153, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "bool", "SIInstrInfo", "::", "hasVALU32BitEncoding", "(", "unsigned", "Opcode", ")", "const", "{", "int", "Op32", "=", "AMDGPU", "::", "getVOPe32", "(", "Opcode", ")", ";", "if", "(", "Op32", "==", "-", "1", ")", "return", "false", ";", "return", "pseudoToMCOpcode", "(", "Op32", ")", "!=", "-", "1", ";", "}", ""], "natrual_language": ["Return", "true", "if", "this", "64-bit", "VALU", "instruction", "has", "a", "32-bit", "encoding", "."], "TS_V_token": ["R600", "SI", "1", "1"], "File": "SIInstrInfo101", "Func": "hasVALU32BitEncoding", "Target": "R600", "Target_Clf": "GPU", "Compiler_Type": "LLVM", "Idx": 1966, "Length": 40, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "int", "arm_const_double_rtx", "(", "rtx", "x", ")", "{", "REAL_VALUE_TYPE", "r", ";", "int", "i", ";", "if", "(", "!", "fp_consts_inited", ")", "init_fp_table", "(", ")", ";", "REAL_VALUE_FROM_CONST_DOUBLE", "(", "r", ",", "x", ")", ";", "if", "(", "REAL_VALUE_MINUS_ZERO", "(", "r", ")", ")", "return", "0", ";", "for", "(", "i", "=", "0", ";", "i", "<", "fp_consts_inited", ";", "i", "++", ")", "if", "(", "REAL_VALUES_EQUAL", "(", "r", ",", "values_fp", "[", "i", "]", ")", ")", "return", "1", ";", "return", "0", ";", "}", ""], "natrual_language": ["Return", "TRUE", "if", "rtx", "X", "is", "a", "valid", "immediate", "FP", "constant", "."], "TS_V_token": ["arm", "0", "0", "1", "0"], "File": "arm3", "Func": "arm_const_double_rtx", "Target": "arm", "Target_Clf": "CPU", "Compiler_Type": "GCC", "Idx": 1967, "Length": 71, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "void", "CSKYAsmPrinter", "::", "emitEndOfAsmFile", "(", "Module", "&", "M", ")", "{", "CSKYTargetStreamer", "&", "CTS", "=", "static_cast", "<", "CSKYTargetStreamer", "&", ">", "(", "*", "OutStreamer", "->", "getTargetStreamer", "(", ")", ")", ";", "if", "(", "TM", ".", "getTargetTriple", "(", ")", ".", "isOSBinFormatELF", "(", ")", ")", "CTS", ".", "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": ["CSKY", "CSKY", "CSKY", "CSKY"], "File": "CSKYAsmPrinter1", "Func": "emitEndOfAsmFile", "Target": "CSKY", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 1968, "Length": 47, "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": 1969, "Length": 68, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "static", "void", "nvptx_call_args", "(", "rtx", "arg", ",", "tree", "funtype", ")", "{", "if", "(", "cfun", "->", "machine", "->", "start_call", "==", "NULL_RTX", ")", "{", "cfun", "->", "machine", "->", "call_args", "=", "NULL", ";", "cfun", "->", "machine", "->", "funtype", "=", "funtype", ";", "cfun", "->", "machine", "->", "start_call", "=", "const0_rtx", ";", "}", "if", "(", "arg", "==", "pc_rtx", ")", "return", ";", "rtx_expr_list", "*", "args_so_far", "=", "cfun", "->", "machine", "->", "call_args", ";", "if", "(", "REG_P", "(", "arg", ")", ")", "cfun", "->", "machine", "->", "call_args", "=", "alloc_EXPR_LIST", "(", "VOIDmode", ",", "arg", ",", "args_so_far", ")", ";", "}", ""], "natrual_language": ["Implement", "the", "TARGET_CALL_ARGS", "hook", ".", "Record", "information", "about", "one", "argument", "to", "the", "next", "call", "."], "TS_V_token": ["nvptx"], "File": "nvptx2", "Func": "nvptx_call_args", "Target": "nvptx", "Target_Clf": "GPU", "Compiler_Type": "GCC", "Idx": 1970, "Length": 88, "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": 1971, "Length": 48, "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": 1972, "Length": 102, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "TargetPassConfig", "*", "NVPTXTargetMachine", "::", "createPassConfig", "(", "PassManagerBase", "&", "PM", ")", "{", "return", "new", "NVPTXPassConfig", "(", "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": ["NVPTX", "NVPTX", "NVPTX"], "File": "NVPTXTargetMachine15", "Func": "createPassConfig", "Target": "NVPTX", "Target_Clf": "GPU", "Compiler_Type": "LLVM", "Idx": 1973, "Length": 21, "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": 1974, "Length": 96, "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": 1975, "Length": 24, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "static", "void", "m68hc11_file_start", "(", "void", ")", "{", "default_file_start", "(", ")", ";", "fprintf", "(", "asm_out_file", ",", "\"\\t.mode %s\\n\"", ",", "TARGET_SHORT", "?", "\"mshort\"", ":", "\"mlong\"", ")", ";", "}", ""], "natrual_language": ["Worker", "function", "for", "TARGET_ASM_FILE_START", "."], "TS_V_token": ["m68hc11", "\"\\t.mode %s\\n\"", "\"mshort\"", "\"mlong\""], "File": "m68hc111", "Func": "m68hc11_file_start", "Target": "m68hc11", "Target_Clf": "MPU", "Compiler_Type": "GCC", "Idx": 1976, "Length": 25, "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": 1977, "Length": 50, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "void", "MOSCallLowering", "::", "splitToValueTypes", "(", "const", "ArgInfo", "&", "OrigArg", ",", "SmallVectorImpl", "<", "ArgInfo", ">", "&", "SplitArgs", ",", "const", "DataLayout", "&", "DL", ")", "const", "{", "size_t", "OldSize", "=", "SplitArgs", ".", "size", "(", ")", ";", "CallLowering", "::", "splitToValueTypes", "(", "OrigArg", ",", "SplitArgs", ",", "DL", ",", "CallingConv", "::", "C", ")", ";", "auto", "NewArgs", "=", "make_range", "(", "SplitArgs", ".", "begin", "(", ")", "+", "OldSize", ",", "SplitArgs", ".", "end", "(", ")", ")", ";", "SmallVector", "<", "LLT", ">", "SplitLLTs", ";", "computeValueLLTs", "(", "DL", ",", "*", "OrigArg", ".", "Ty", ",", "SplitLLTs", ")", ";", "assert", "(", "(", "size_t", ")", "size", "(", "NewArgs", ")", "==", "SplitLLTs", ".", "size", "(", ")", ")", ";", "for", "(", "const", "auto", "&", "I", ":", "zip", "(", "NewArgs", ",", "SplitLLTs", ")", ")", "apply_tuple", "(", "adjustArgFlags", ",", "I", ")", ";", "}", ""], "natrual_language": ["Break", "OrigArgInfo", "into", "one", "or", "more", "pieces", "the", "calling", "convention", "can", "process", ",", "returned", "in", "SplitArgs", "."], "TS_V_token": ["MOS", "MOS"], "File": "MOSCallLowering", "Func": "splitToValueTypes", "Target": "MOS", "Target_Clf": "MPU", "Compiler_Type": "LLVM", "Idx": 1978, "Length": 125, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "unsigned", "HexagonInstrInfo", "::", "isStoreToStackSlot", "(", "const", "MachineInstr", "&", "MI", ",", "int", "&", "FrameIndex", ")", "const", "{", "switch", "(", "MI", ".", "getOpcode", "(", ")", ")", "{", "default", ":", "break", ";", "case", "Hexagon", "::", "S2_storerb_io", ":", "case", "Hexagon", "::", "S2_storerh_io", ":", "case", "Hexagon", "::", "S2_storeri_io", ":", "case", "Hexagon", "::", "S2_storerd_io", ":", "case", "Hexagon", "::", "V6_vS32b_ai", ":", "case", "Hexagon", "::", "V6_vS32b_ai_128B", ":", "case", "Hexagon", "::", "V6_vS32Ub_ai", ":", "case", "Hexagon", "::", "V6_vS32Ub_ai_128B", ":", "case", "Hexagon", "::", "STriw_pred", ":", "case", "Hexagon", "::", "STriw_mod", ":", "case", "Hexagon", "::", "STriq_pred_V6", ":", "case", "Hexagon", "::", "STriq_pred_vec_V6", ":", "case", "Hexagon", "::", "STriv_pseudo_V6", ":", "case", "Hexagon", "::", "STrivv_pseudo_V6", ":", "case", "Hexagon", "::", "STriq_pred_V6_128B", ":", "case", "Hexagon", "::", "STriq_pred_vec_V6_128B", ":", "case", "Hexagon", "::", "STriv_pseudo_V6_128B", ":", "case", "Hexagon", "::", "STrivv_pseudo_V6_128B", ":", "{", "const", "MachineOperand", "&", "OpFI", "=", "MI", ".", "getOperand", "(", "0", ")", ";", "if", "(", "!", "OpFI", ".", "isFI", "(", ")", ")", "return", "0", ";", "const", "MachineOperand", "&", "OpOff", "=", "MI", ".", "getOperand", "(", "1", ")", ";", "if", "(", "!", "OpOff", ".", "isImm", "(", ")", "||", "OpOff", ".", "getImm", "(", ")", "!=", "0", ")", "return", "0", ";", "FrameIndex", "=", "OpFI", ".", "getIndex", "(", ")", ";", "return", "MI", ".", "getOperand", "(", "2", ")", ".", "getReg", "(", ")", ";", "}", "case", "Hexagon", "::", "S2_pstorerbt_io", ":", "case", "Hexagon", "::", "S2_pstorerbf_io", ":", "case", "Hexagon", "::", "S2_pstorerht_io", ":", "case", "Hexagon", "::", "S2_pstorerhf_io", ":", "case", "Hexagon", "::", "S2_pstorerit_io", ":", "case", "Hexagon", "::", "S2_pstorerif_io", ":", "case", "Hexagon", "::", "S2_pstorerdt_io", ":", "case", "Hexagon", "::", "S2_pstorerdf_io", ":", "{", "const", "MachineOperand", "&", "OpFI", "=", "MI", ".", "getOperand", "(", "1", ")", ";", "if", "(", "!", "OpFI", ".", "isFI", "(", ")", ")", "return", "0", ";", "const", "MachineOperand", "&", "OpOff", "=", "MI", ".", "getOperand", "(", "2", ")", ";", "if", "(", "!", "OpOff", ".", "isImm", "(", ")", "||", "OpOff", ".", "getImm", "(", ")", "!=", "0", ")", "return", "0", ";", "FrameIndex", "=", "OpFI", ".", "getIndex", "(", ")", ";", "return", "MI", ".", "getOperand", "(", "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": ["Hexagon", "Hexagon", "Hexagon::S2_storerb_io", "Hexagon::S2_storerh_io", "Hexagon::S2_storeri_io", "Hexagon::S2_storerd_io", "Hexagon::V6_vS32b_ai", "Hexagon::V6_vS32b_ai_128B", "Hexagon::V6_vS32Ub_ai", "Hexagon::V6_vS32Ub_ai_128B", "Hexagon::STriw_pred", "Hexagon::STriw_mod", "Hexagon::STriq_pred_V6", "Hexagon::STriq_pred_vec_V6", "Hexagon::STriv_pseudo_V6", "Hexagon::STrivv_pseudo_V6", "Hexagon::STriq_pred_V6_128B", "Hexagon::STriq_pred_vec_V6_128B", "Hexagon::STriv_pseudo_V6_128B", "Hexagon::STrivv_pseudo_V6_128B", "0", "0", "1", "0", "0", "2", "Hexagon::S2_pstorerbt_io", "Hexagon::S2_pstorerbf_io", "Hexagon::S2_pstorerht_io", "Hexagon::S2_pstorerhf_io", "Hexagon::S2_pstorerit_io", "Hexagon::S2_pstorerif_io", "Hexagon::S2_pstorerdt_io", "Hexagon::S2_pstorerdf_io", "1", "0", "2", "0", "0", "3", "0"], "File": "HexagonInstrInfo (2)", "Func": "isStoreToStackSlot", "Target": "Hexagon", "Target_Clf": "DSP", "Compiler_Type": "LLVM", "Idx": 1979, "Length": 320, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "bool", "SIAnnotateControlFlow", "::", "doInitialization", "(", "Module", "&", "M", ")", "{", "LLVMContext", "&", "Context", "=", "M", ".", "getContext", "(", ")", ";", "Void", "=", "Type", "::", "getVoidTy", "(", "Context", ")", ";", "Boolean", "=", "Type", "::", "getInt1Ty", "(", "Context", ")", ";", "Int64", "=", "Type", "::", "getInt64Ty", "(", "Context", ")", ";", "ReturnStruct", "=", "StructType", "::", "get", "(", "Boolean", ",", "Int64", ",", "(", "Type", "*", ")", "nullptr", ")", ";", "BoolTrue", "=", "ConstantInt", "::", "getTrue", "(", "Context", ")", ";", "BoolFalse", "=", "ConstantInt", "::", "getFalse", "(", "Context", ")", ";", "BoolUndef", "=", "UndefValue", "::", "get", "(", "Boolean", ")", ";", "Int64Zero", "=", "ConstantInt", "::", "get", "(", "Int64", ",", "0", ")", ";", "If", "=", "M", ".", "getOrInsertFunction", "(", "IfIntrinsic", ",", "ReturnStruct", ",", "Boolean", ",", "(", "Type", "*", ")", "nullptr", ")", ";", "Else", "=", "M", ".", "getOrInsertFunction", "(", "ElseIntrinsic", ",", "ReturnStruct", ",", "Int64", ",", "(", "Type", "*", ")", "nullptr", ")", ";", "Break", "=", "M", ".", "getOrInsertFunction", "(", "BreakIntrinsic", ",", "Int64", ",", "Int64", ",", "(", "Type", "*", ")", "nullptr", ")", ";", "IfBreak", "=", "M", ".", "getOrInsertFunction", "(", "IfBreakIntrinsic", ",", "Int64", ",", "Boolean", ",", "Int64", ",", "(", "Type", "*", ")", "nullptr", ")", ";", "ElseBreak", "=", "M", ".", "getOrInsertFunction", "(", "ElseBreakIntrinsic", ",", "Int64", ",", "Int64", ",", "Int64", ",", "(", "Type", "*", ")", "nullptr", ")", ";", "Loop", "=", "M", ".", "getOrInsertFunction", "(", "LoopIntrinsic", ",", "Boolean", ",", "Int64", ",", "(", "Type", "*", ")", "nullptr", ")", ";", "EndCf", "=", "M", ".", "getOrInsertFunction", "(", "EndCfIntrinsic", ",", "Void", ",", "Int64", ",", "(", "Type", "*", ")", "nullptr", ")", ";", "return", "false", ";", "}", ""], "natrual_language": ["Set", "up", "the", "AsmPrinter", "when", "we", "are", "working", "on", "a", "new", "module", "."], "TS_V_token": ["R600", "SI", "0"], "File": "SIAnnotateControlFlow", "Func": "doInitialization", "Target": "R600", "Target_Clf": "GPU", "Compiler_Type": "LLVM", "Idx": 1980, "Length": 243, "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": 1981, "Length": 238, "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": 1982, "Length": 50, "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": 1983, "Length": 304, "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", "(", "(", "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", ")", ";", "const", "unsigned", "NSAAOffset", "=", "State", "->", "getNextStackOffset", "(", ")", ";", "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", "(", "size", "<", "excess", ")", "size", "=", "0", ";", "else", "size", "-=", "excess", ";", "}", "}", "}", ""], "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", "0", "4", "4", "ARM::R4", "1", "4", "0"], "File": "ARMISelLowering (2)", "Func": "HandleByVal", "Target": "ARM", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 1984, "Length": 272, "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": 1985, "Length": 19, "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": 1986, "Length": 70, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "static", "void", "pru_init_builtins", "(", "void", ")", "{", "tree", "void_ftype_longlong", "=", "build_function_type_list", "(", "void_type_node", ",", "long_long_integer_type_node", ",", "NULL", ")", ";", "tree", "uint_ftype_uint_uint", "=", "build_function_type_list", "(", "unsigned_type_node", ",", "unsigned_type_node", ",", "unsigned_type_node", ",", "NULL", ")", ";", "tree", "void_ftype_void", "=", "build_function_type_list", "(", "void_type_node", ",", "void_type_node", ",", "NULL", ")", ";", "pru_builtins", "[", "PRU_BUILTIN_DELAY_CYCLES", "]", "=", "add_builtin_function", "(", "\"__delay_cycles\"", ",", "void_ftype_longlong", ",", "PRU_BUILTIN_DELAY_CYCLES", ",", "BUILT_IN_MD", ",", "NULL", ",", "NULL_TREE", ")", ";", "pru_builtins", "[", "PRU_BUILTIN_HALT", "]", "=", "add_builtin_function", "(", "\"__halt\"", ",", "void_ftype_void", ",", "PRU_BUILTIN_HALT", ",", "BUILT_IN_MD", ",", "NULL", ",", "NULL_TREE", ")", ";", "pru_builtins", "[", "PRU_BUILTIN_LMBD", "]", "=", "add_builtin_function", "(", "\"__lmbd\"", ",", "uint_ftype_uint_uint", ",", "PRU_BUILTIN_LMBD", ",", "BUILT_IN_MD", ",", "NULL", ",", "NULL_TREE", ")", ";", "}", ""], "natrual_language": ["Implement", "TARGET_INIT_BUILTINS", "."], "TS_V_token": ["pru", "\"__delay_cycles\"", "\"__halt\"", "\"__lmbd\""], "File": "pru", "Func": "pru_init_builtins", "Target": "pru", "Target_Clf": "CPU", "Compiler_Type": "GCC", "Idx": 1987, "Length": 106, "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": 1988, "Length": 166, "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": 1989, "Length": 288, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "void", "AVRFrameLowering", "::", "emitEpilogue", "(", "MachineFunction", "&", "MF", ",", "MachineBasicBlock", "&", "MBB", ")", "const", "{", "const", "AVRMachineFunctionInfo", "*", "AFI", "=", "MF", ".", "getInfo", "<", "AVRMachineFunctionInfo", ">", "(", ")", ";", "if", "(", "!", "hasFP", "(", "MF", ")", "&&", "!", "AFI", "->", "isInterruptOrSignalHandler", "(", ")", ")", "{", "return", ";", "}", "MachineBasicBlock", "::", "iterator", "MBBI", "=", "MBB", ".", "getLastNonDebugInstr", "(", ")", ";", "assert", "(", "MBBI", "->", "getDesc", "(", ")", ".", "isReturn", "(", ")", "&&", "\"Can only insert epilog into returning blocks\"", ")", ";", "DebugLoc", "DL", "=", "MBBI", "->", "getDebugLoc", "(", ")", ";", "const", "MachineFrameInfo", "&", "MFI", "=", "MF", ".", "getFrameInfo", "(", ")", ";", "unsigned", "FrameSize", "=", "MFI", ".", "getStackSize", "(", ")", "-", "AFI", "->", "getCalleeSavedFrameSize", "(", ")", ";", "const", "AVRSubtarget", "&", "STI", "=", "MF", ".", "getSubtarget", "<", "AVRSubtarget", ">", "(", ")", ";", "const", "AVRInstrInfo", "&", "TII", "=", "*", "STI", ".", "getInstrInfo", "(", ")", ";", "if", "(", "AFI", "->", "isInterruptOrSignalHandler", "(", ")", ")", "{", "BuildMI", "(", "MBB", ",", "MBBI", ",", "DL", ",", "TII", ".", "get", "(", "AVR", "::", "POPRd", ")", ",", "AVR", "::", "R0", ")", ";", "BuildMI", "(", "MBB", ",", "MBBI", ",", "DL", ",", "TII", ".", "get", "(", "AVR", "::", "OUTARr", ")", ")", ".", "addImm", "(", "0x3f", ")", ".", "addReg", "(", "AVR", "::", "R0", ",", "RegState", "::", "Kill", ")", ";", "BuildMI", "(", "MBB", ",", "MBBI", ",", "DL", ",", "TII", ".", "get", "(", "AVR", "::", "POPWRd", ")", ",", "AVR", "::", "R1R0", ")", ";", "}", "if", "(", "hasFP", "(", "MF", ")", ")", "BuildMI", "(", "MBB", ",", "MBBI", ",", "DL", ",", "TII", ".", "get", "(", "AVR", "::", "POPWRd", ")", ",", "AVR", "::", "R29R28", ")", ";", "if", "(", "!", "FrameSize", ")", "{", "return", ";", "}", "while", "(", "MBBI", "!=", "MBB", ".", "begin", "(", ")", ")", "{", "MachineBasicBlock", "::", "iterator", "PI", "=", "std", "::", "prev", "(", "MBBI", ")", ";", "int", "Opc", "=", "PI", "->", "getOpcode", "(", ")", ";", "if", "(", "Opc", "!=", "AVR", "::", "POPRd", "&&", "Opc", "!=", "AVR", "::", "POPWRd", "&&", "!", "PI", "->", "isTerminator", "(", ")", ")", "{", "break", ";", "}", "--", "MBBI", ";", "}", "unsigned", "Opcode", ";", "if", "(", "isUInt", "<", "6", ">", "(", "FrameSize", ")", ")", "{", "Opcode", "=", "AVR", "::", "ADIWRdK", ";", "}", "else", "{", "Opcode", "=", "AVR", "::", "SUBIWRdK", ";", "FrameSize", "=", "-", "FrameSize", ";", "}", "MachineInstr", "*", "MI", "=", "BuildMI", "(", "MBB", ",", "MBBI", ",", "DL", ",", "TII", ".", "get", "(", "Opcode", ")", ",", "AVR", "::", "R29R28", ")", ".", "addReg", "(", "AVR", "::", "R29R28", ",", "RegState", "::", "Kill", ")", ".", "addImm", "(", "FrameSize", ")", ";", "MI", "->", "getOperand", "(", "3", ")", ".", "setIsDead", "(", ")", ";", "BuildMI", "(", "MBB", ",", "MBBI", ",", "DL", ",", "TII", ".", "get", "(", "AVR", "::", "SPWRITE", ")", ",", "AVR", "::", "SP", ")", ".", "addReg", "(", "AVR", "::", "R29R28", ",", "RegState", "::", "Kill", ")", ";", "}", ""], "natrual_language": ["Insert", "epilog", "code", "into", "the", "function", "."], "TS_V_token": ["AVR", "AVR", "AVR", "AVR", "\"Can only insert epilog into returning blocks\"", "AVR", "AVR", "AVR", "AVR::POPRd", "AVR::R0", "AVR::OUTARr", "0x3f", "AVR::R0", "AVR::POPWRd", "AVR::R1R0", "AVR::POPWRd", "AVR::R29R28", "AVR::POPRd", "AVR::POPWRd", "6", "AVR::ADIWRdK", "AVR::SUBIWRdK", "AVR::R29R28", "AVR::R29R28", "3", "AVR::SPWRITE", "AVR::SP", "AVR::R29R28"], "File": "AVRFrameLowering24", "Func": "emitEpilogue", "Target": "AVR", "Target_Clf": "MPU", "Compiler_Type": "LLVM", "Idx": 1990, "Length": 442, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "void", "SIScheduleBlock", "::", "addPred", "(", "SIScheduleBlock", "*", "Pred", ")", "{", "unsigned", "PredID", "=", "Pred", "->", "getID", "(", ")", ";", "for", "(", "SIScheduleBlock", "*", "P", ":", "Preds", ")", "{", "if", "(", "PredID", "==", "P", "->", "getID", "(", ")", ")", "return", ";", "}", "Preds", ".", "push_back", "(", "Pred", ")", ";", "assert", "(", "none_of", "(", "Succs", ",", "[", "=", "]", "(", "std", "::", "pair", "<", "SIScheduleBlock", "*", ",", "SIScheduleBlockLinkKind", ">", "S", ")", "{", "return", "PredID", "==", "S", ".", "first", "->", "getID", "(", ")", ";", "}", ")", "&&", "\"Loop in the Block Graph!\"", ")", ";", "}", ""], "natrual_language": ["Adds", "the", "specified", "edge", "as", "a", "pred", "of", "the", "current", "node", "if", "not", "already", "."], "TS_V_token": ["AMDGPU", "SI", "SI", "SI", "SI", "SI", "\"Loop in the Block Graph!\""], "File": "SIMachineScheduler (2)", "Func": "addPred", "Target": "AMDGPU", "Target_Clf": "GPU", "Compiler_Type": "LLVM", "Idx": 1991, "Length": 88, "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", "(", ")", "||", "LdSt", ".", "getNumExplicitOperands", "(", ")", "!=", "3", ")", "return", "false", ";", "if", "(", "!", "LdSt", ".", "getOperand", "(", "1", ")", ".", "isImm", "(", ")", "||", "(", "!", "LdSt", ".", "getOperand", "(", "2", ")", ".", "isReg", "(", ")", "&&", "!", "LdSt", ".", "getOperand", "(", "2", ")", ".", "isFI", "(", ")", ")", ")", "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", "2", "1", "2"], "File": "PPCInstrInfo", "Func": "getMemOperandWithOffsetWidth", "Target": "PowerPC", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 1992, "Length": 191, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "const", "Z80InstrInfo", "*", "getInstrInfo", "(", ")", "const", "override", "{", "return", "&", "InstrInfo", ";", "}", ""], "natrual_language": ["TargetInstrInfo", "getter", "."], "TS_V_token": ["Z80", "Z80"], "File": "Z80Subtarget (2)", "Func": "getInstrInfo", "Target": "Z80", "Target_Clf": "MPU", "Compiler_Type": "LLVM", "Idx": 1993, "Length": 14, "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": 1994, "Length": 257, "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": 1995, "Length": 16, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "virtual", "void", "getAnalysisUsage", "(", "AnalysisUsage", "&", "AU", ")", "const", "{", "AU", ".", "addRequired", "<", "LiveIntervals", ">", "(", ")", ";", "AU", ".", "addPreserved", "<", "LiveIntervals", ">", "(", ")", ";", "AU", ".", "addPreserved", "<", "SlotIndexes", ">", "(", ")", ";", "MachineFunctionPass", "::", "getAnalysisUsage", "(", "AU", ")", ";", "}", ""], "natrual_language": ["getAnalysisUsage", "-", "Subclasses", "that", "override", "getAnalysisUsage", "must", "call", "this", "."], "TS_V_token": ["Hexagon"], "File": "HexagonExpandCondsets1", "Func": "getAnalysisUsage", "Target": "Hexagon", "Target_Clf": "DSP", "Compiler_Type": "LLVM", "Idx": 1996, "Length": 45, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "const", "char", "*", "nios2_add_insn_asm", "(", "rtx_insn", "*", "insn", ",", "rtx", "*", "operands", ")", "{", "static", "char", "buf", "[", "256", "]", ";", "int", "ln", "=", "256", ";", "enum", "nios2_add_insn_kind", "kind", "=", "nios2_add_insn_classify", "(", "insn", ",", "operands", "[", "0", "]", ",", "operands", "[", "1", "]", ",", "operands", "[", "2", "]", ")", ";", "if", "(", "kind", "==", "nios2_subi_n_kind", ")", "snprintf", "(", "buf", ",", "ln", ",", "\"subi.n\\t%%0, %%1, %d\"", ",", "(", "int", ")", "-", "INTVAL", "(", "operands", "[", "2", "]", ")", ")", ";", "else", "if", "(", "kind", "==", "nios2_spaddi_n_kind", ")", "snprintf", "(", "buf", ",", "ln", ",", "\"spaddi.n\\t%%0, %%2\"", ")", ";", "else", "if", "(", "kind", "==", "nios2_spinci_n_kind", ")", "snprintf", "(", "buf", ",", "ln", ",", "\"spinci.n\\t%%2\"", ")", ";", "else", "if", "(", "kind", "==", "nios2_spdeci_n_kind", ")", "snprintf", "(", "buf", ",", "ln", ",", "\"spdeci.n\\t%d\"", ",", "(", "int", ")", "-", "INTVAL", "(", "operands", "[", "2", "]", ")", ")", ";", "else", "snprintf", "(", "buf", ",", "ln", ",", "\"%s\\t%%0, %%1, %%z2\"", ",", "nios2_add_insn_names", "[", "(", "int", ")", "kind", "]", ")", ";", "return", "buf", ";", "}", ""], "natrual_language": ["Emit", "assembly", "language", "for", "the", "different", "kinds", "of", "add", "instructions", "."], "TS_V_token": ["nios2", "256", "256", "0", "1", "2", "\"subi.n\\t%%0, %%1, %d\"", "2", "\"spaddi.n\\t%%0, %%2\"", "\"spinci.n\\t%%2\"", "\"spdeci.n\\t%d\"", "2", "\"%s\\t%%0, %%1, %%z2\""], "File": "nios2", "Func": "nios2_add_insn_asm", "Target": "nios2", "Target_Clf": "MPU", "Compiler_Type": "GCC", "Idx": 1997, "Length": 159, "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": 1998, "Length": 361, "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": 1999, "Length": 361, "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": 2000, "Length": 26, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "static", "rtx", "h8300_function_arg", "(", "cumulative_args_t", "cum_v", ",", "machine_mode", "mode", ",", "const_tree", "type", ",", "bool", "named", ")", "{", "CUMULATIVE_ARGS", "*", "cum", "=", "get_cumulative_args", "(", "cum_v", ")", ";", "static", "const", "char", "*", "const", "hand_list", "[", "]", "=", "{", "\"__main\"", ",", "\"__cmpsi2\"", ",", "\"__divhi3\"", ",", "\"__modhi3\"", ",", "\"__udivhi3\"", ",", "\"__umodhi3\"", ",", "\"__divsi3\"", ",", "\"__modsi3\"", ",", "\"__udivsi3\"", ",", "\"__umodsi3\"", ",", "\"__mulhi3\"", ",", "\"__mulsi3\"", ",", "\"__reg_memcpy\"", ",", "\"__reg_memset\"", ",", "\"__ucmpsi2\"", ",", "0", ",", "}", ";", "rtx", "result", "=", "NULL_RTX", ";", "const", "char", "*", "fname", ";", "int", "regpass", "=", "0", ";", "if", "(", "!", "named", ")", "return", "NULL_RTX", ";", "if", "(", "TARGET_QUICKCALL", ")", "regpass", "=", "3", ";", "if", "(", "cum", "->", "libcall", ")", "{", "const", "char", "*", "const", "*", "p", ";", "fname", "=", "XSTR", "(", "cum", "->", "libcall", ",", "0", ")", ";", "for", "(", "p", "=", "hand_list", ";", "*", "p", "&&", "strcmp", "(", "*", "p", ",", "fname", ")", "!=", "0", ";", "p", "++", ")", ";", "if", "(", "*", "p", ")", "regpass", "=", "4", ";", "}", "if", "(", "regpass", ")", "{", "int", "size", ";", "if", "(", "mode", "==", "BLKmode", ")", "size", "=", "int_size_in_bytes", "(", "type", ")", ";", "else", "size", "=", "GET_MODE_SIZE", "(", "mode", ")", ";", "if", "(", "size", "+", "cum", "->", "nbytes", "<=", "regpass", "*", "UNITS_PER_WORD", "&&", "cum", "->", "nbytes", "/", "UNITS_PER_WORD", "<=", "3", ")", "result", "=", "gen_rtx_REG", "(", "mode", ",", "cum", "->", "nbytes", "/", "UNITS_PER_WORD", ")", ";", "}", "return", "result", ";", "}", ""], "natrual_language": ["If", "the", "next", "function", "argument", "with", "MODE", "and", "TYPE", "is", "to", "be", "passed", "in", "a", "register", ",", "return", "a", "reg", "RTX", "for", "the", "hard", "register", "in", "which", "to", "pass", "the", "argument", ".", "CUM", "represents", "the", "state", "after", "the", "last", "argument", ".", "If", "the", "argument", "is", "to", "be", "pushed", ",", "NULL_RTX", "is", "returned", ".", "On", "the", "H8/300", "all", "normal", "args", "are", "pushed", ",", "unless", "-mquickcall", "in", "which", "case", "the", "first", "3", "arguments", "are", "passed", "in", "registers", "."], "TS_V_token": ["h8300", "\"__main\"", "\"__cmpsi2\"", "\"__divhi3\"", "\"__modhi3\"", "\"__udivhi3\"", "\"__umodhi3\"", "\"__divsi3\"", "\"__modsi3\"", "\"__udivsi3\"", "\"__umodsi3\"", "\"__mulhi3\"", "\"__mulsi3\"", "\"__reg_memcpy\"", "\"__reg_memset\"", "\"__ucmpsi2\"", "0", "0", "3", "0", "0", "4", "3"], "File": "h83004", "Func": "h8300_function_arg", "Target": "h8300", "Target_Clf": "MPU", "Compiler_Type": "GCC", "Idx": 2001, "Length": 226, "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": 2002, "Length": 158, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "int", "arc_return_address_register", "(", "unsigned", "int", "fn_type", ")", "{", "int", "regno", "=", "0", ";", "if", "(", "ARC_INTERRUPT_P", "(", "fn_type", ")", ")", "{", "if", "(", "(", "fn_type", "&", "(", "ARC_FUNCTION_ILINK1", "|", "ARC_FUNCTION_FIRQ", ")", ")", "!=", "0", ")", "regno", "=", "ILINK1_REG", ";", "else", "if", "(", "(", "fn_type", "&", "ARC_FUNCTION_ILINK2", ")", "!=", "0", ")", "regno", "=", "ILINK2_REG", ";", "else", "gcc_unreachable", "(", ")", ";", "}", "else", "if", "(", "ARC_NORMAL_P", "(", "fn_type", ")", "||", "ARC_NAKED_P", "(", "fn_type", ")", ")", "regno", "=", "RETURN_ADDR_REGNUM", ";", "gcc_assert", "(", "regno", "!=", "0", ")", ";", "return", "regno", ";", "}", ""], "natrual_language": ["Return", "the", "register", "number", "of", "the", "register", "holding", "the", "return", "address", "for", "a", "function", "of", "type", "TYPE", "."], "TS_V_token": ["arc", "0", "0", "0", "0"], "File": "arc8", "Func": "arc_return_address_register", "Target": "arc", "Target_Clf": "MPU", "Compiler_Type": "GCC", "Idx": 2003, "Length": 88, "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": 2004, "Length": 190, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "static", "unsigned", "arc_predicate_delay_insns", "(", "void", ")", "{", "for", "(", "rtx_insn", "*", "insn", "=", "get_insns", "(", ")", ";", "insn", ";", "insn", "=", "NEXT_INSN", "(", "insn", ")", ")", "{", "rtx", "pat", ",", "jump", ",", "dlay", ",", "src", ",", "cond", ",", "*", "patp", ";", "int", "reverse", ";", "if", "(", "!", "NONJUMP_INSN_P", "(", "insn", ")", "||", "GET_CODE", "(", "pat", "=", "PATTERN", "(", "insn", ")", ")", "!=", "SEQUENCE", ")", "continue", ";", "jump", "=", "XVECEXP", "(", "pat", ",", "0", ",", "0", ")", ";", "dlay", "=", "XVECEXP", "(", "pat", ",", "0", ",", "1", ")", ";", "if", "(", "!", "JUMP_P", "(", "jump", ")", "||", "!", "INSN_ANNULLED_BRANCH_P", "(", "jump", ")", ")", "continue", ";", "if", "(", "!", "TARGET_AT_DBR_CONDEXEC", "&&", "!", "INSN_FROM_TARGET_P", "(", "dlay", ")", ")", "continue", ";", "gcc_assert", "(", "GET_CODE", "(", "PATTERN", "(", "jump", ")", ")", "==", "SET", ")", ";", "gcc_assert", "(", "SET_DEST", "(", "PATTERN", "(", "jump", ")", ")", "==", "pc_rtx", ")", ";", "src", "=", "SET_SRC", "(", "PATTERN", "(", "jump", ")", ")", ";", "gcc_assert", "(", "GET_CODE", "(", "src", ")", "==", "IF_THEN_ELSE", ")", ";", "cond", "=", "XEXP", "(", "src", ",", "0", ")", ";", "if", "(", "XEXP", "(", "src", ",", "2", ")", "==", "pc_rtx", ")", "reverse", "=", "0", ";", "else", "if", "(", "XEXP", "(", "src", ",", "1", ")", "==", "pc_rtx", ")", "reverse", "=", "1", ";", "else", "gcc_unreachable", "(", ")", ";", "if", "(", "reverse", "!=", "!", "INSN_FROM_TARGET_P", "(", "dlay", ")", ")", "{", "machine_mode", "ccm", "=", "GET_MODE", "(", "XEXP", "(", "cond", ",", "0", ")", ")", ";", "enum", "rtx_code", "code", "=", "reverse_condition", "(", "GET_CODE", "(", "cond", ")", ")", ";", "if", "(", "code", "==", "UNKNOWN", "||", "ccm", "==", "CC_FP_GTmode", "||", "ccm", "==", "CC_FP_GEmode", ")", "code", "=", "reverse_condition_maybe_unordered", "(", "GET_CODE", "(", "cond", ")", ")", ";", "cond", "=", "gen_rtx_fmt_ee", "(", "code", ",", "GET_MODE", "(", "cond", ")", ",", "copy_rtx", "(", "XEXP", "(", "cond", ",", "0", ")", ")", ",", "copy_rtx", "(", "XEXP", "(", "cond", ",", "1", ")", ")", ")", ";", "}", "else", "cond", "=", "copy_rtx", "(", "cond", ")", ";", "patp", "=", "&", "PATTERN", "(", "dlay", ")", ";", "pat", "=", "*", "patp", ";", "pat", "=", "conditionalize_nonjump", "(", "pat", ",", "cond", ",", "dlay", ",", "true", ")", ";", "validate_change", "(", "dlay", ",", "patp", ",", "pat", ",", "1", ")", ";", "if", "(", "!", "apply_change_group", "(", ")", ")", "gcc_unreachable", "(", ")", ";", "}", "return", "0", ";", "}", ""], "natrual_language": ["Find", "annulled", "delay", "insns", "and", "convert", "them", "to", "use", "the", "appropriate", "predicate", ".", "This", "allows", "branch", "shortening", "to", "size", "up", "these", "insns", "properly", "."], "TS_V_token": ["arc", "0", "0", "0", "1", "0", "2", "0", "1", "1", "0", "0", "1", "1", "0"], "File": "arc", "Func": "arc_predicate_delay_insns", "Target": "arc", "Target_Clf": "MPU", "Compiler_Type": "GCC", "Idx": 2005, "Length": 362, "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": 2006, "Length": 481, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "void", "HexagonMCELFStreamer", "::", "EmitInstruction", "(", "const", "MCInst", "&", "MCK", ",", "const", "MCSubtargetInfo", "&", "STI", ")", "{", "MCInst", "HMI", "=", "HexagonMCInstrInfo", "::", "createBundle", "(", ")", ";", "MCInst", "*", "MCB", ";", "if", "(", "MCK", ".", "getOpcode", "(", ")", "!=", "Hexagon", "::", "BUNDLE", ")", "{", "HMI", ".", "addOperand", "(", "MCOperand", "::", "createInst", "(", "&", "MCK", ")", ")", ";", "MCB", "=", "&", "HMI", ";", "}", "else", "MCB", "=", "const_cast", "<", "MCInst", "*", ">", "(", "&", "MCK", ")", ";", "HexagonMCInstrInfo", "::", "padEndloop", "(", "getContext", "(", ")", ",", "*", "MCB", ")", ";", "HexagonMCShuffle", "(", "*", "MCII", ",", "STI", ",", "*", "MCB", ")", ";", "assert", "(", "HexagonMCInstrInfo", "::", "bundleSize", "(", "*", "MCB", ")", "<=", "HEXAGON_PACKET_SIZE", ")", ";", "bool", "Extended", "=", "false", ";", "for", "(", "auto", "&", "I", ":", "HexagonMCInstrInfo", "::", "bundleInstructions", "(", "*", "MCB", ")", ")", "{", "MCInst", "*", "MCI", "=", "const_cast", "<", "MCInst", "*", ">", "(", "I", ".", "getInst", "(", ")", ")", ";", "if", "(", "Extended", ")", "{", "if", "(", "HexagonMCInstrInfo", "::", "isDuplex", "(", "*", "MCII", ",", "*", "MCI", ")", ")", "{", "MCInst", "*", "SubInst", "=", "const_cast", "<", "MCInst", "*", ">", "(", "MCI", "->", "getOperand", "(", "1", ")", ".", "getInst", "(", ")", ")", ";", "HexagonMCInstrInfo", "::", "clampExtended", "(", "*", "MCII", ",", "getContext", "(", ")", ",", "*", "SubInst", ")", ";", "}", "else", "{", "HexagonMCInstrInfo", "::", "clampExtended", "(", "*", "MCII", ",", "getContext", "(", ")", ",", "*", "MCI", ")", ";", "}", "Extended", "=", "false", ";", "}", "else", "{", "Extended", "=", "HexagonMCInstrInfo", "::", "isImmext", "(", "*", "MCI", ")", ";", "}", "}", "for", "(", "auto", "const", "&", "I", ":", "HexagonMCInstrInfo", "::", "bundleInstructions", "(", "*", "MCB", ")", ")", "{", "MCInst", "*", "MCI", "=", "const_cast", "<", "MCInst", "*", ">", "(", "I", ".", "getInst", "(", ")", ")", ";", "EmitSymbol", "(", "*", "MCI", ")", ";", "}", "MCObjectStreamer", "::", "EmitInstruction", "(", "*", "MCB", ",", "STI", ")", ";", "}", ""], "natrual_language": ["EmitInstruction", "-", "This", "callback", "is", "invoked", "when", "an", "instruction", "is", "emitted", ",", "to", "advance", "the", "hazard", "state", "."], "TS_V_token": ["Hexagon", "Hexagon", "Hexagon", "Hexagon::BUNDLE", "Hexagon", "Hexagon", "Hexagon", "Hexagon", "Hexagon", "1", "Hexagon", "Hexagon", "Hexagon", "Hexagon"], "File": "HexagonMCELFStreamer15", "Func": "EmitInstruction", "Target": "Hexagon", "Target_Clf": "DSP", "Compiler_Type": "LLVM", "Idx": 2007, "Length": 292, "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": 2008, "Length": 45, "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": 2009, "Length": 273, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "const", "char", "*", "cris_op_str", "(", "rtx", "x", ")", "{", "cris_output_insn_is_bound", "=", "0", ";", "switch", "(", "GET_CODE", "(", "x", ")", ")", "{", "case", "PLUS", ":", "return", "\"add\"", ";", "case", "MINUS", ":", "return", "\"sub\"", ";", "case", "MULT", ":", "internal_error", "(", "\"MULT case in %\"", ")", ";", "break", ";", "case", "DIV", ":", "return", "\"div\"", ";", "case", "AND", ":", "return", "\"and\"", ";", "case", "IOR", ":", "return", "\"or\"", ";", "case", "XOR", ":", "return", "\"xor\"", ";", "case", "NOT", ":", "return", "\"not\"", ";", "case", "ASHIFT", ":", "return", "\"lsl\"", ";", "case", "LSHIFTRT", ":", "return", "\"lsr\"", ";", "case", "ASHIFTRT", ":", "return", "\"asr\"", ";", "case", "UMIN", ":", "cris_output_insn_is_bound", "=", "1", ";", "return", "\"bound\"", ";", "default", ":", "return", "\"Unknown operator\"", ";", "}", "}", ""], "natrual_language": ["Given", "an", "rtx", ",", "return", "the", "text", "string", "corresponding", "to", "the", "CODE", "of", "X", ".", "Intended", "for", "use", "in", "the", "assembly", "language", "output", "section", "of", "a", "define_insn", "."], "TS_V_token": ["cris", "0", "\"add\"", "\"sub\"", "\"MULT case in %\"", "\"div\"", "\"and\"", "\"or\"", "\"xor\"", "\"not\"", "\"lsl\"", "\"lsr\"", "\"asr\"", "1", "\"bound\"", "\"Unknown operator\""], "File": "cris", "Func": "cris_op_str", "Target": "cris", "Target_Clf": "MPU", "Compiler_Type": "GCC", "Idx": 2010, "Length": 108, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "void", "ARCFrameLowering", "::", "processFunctionBeforeFrameFinalized", "(", "MachineFunction", "&", "MF", ",", "RegScavenger", "*", "RS", ")", "const", "{", "const", "TargetRegisterInfo", "*", "RegInfo", "=", "MF", ".", "getSubtarget", "(", ")", ".", "getRegisterInfo", "(", ")", ";", "LLVM_DEBUG", "(", "dbgs", "(", ")", "<<", "\"Process function before frame finalized: \"", "<<", "MF", ".", "getName", "(", ")", "<<", "\"\\n\"", ")", ";", "MachineFrameInfo", "&", "MFI", "=", "MF", ".", "getFrameInfo", "(", ")", ";", "LLVM_DEBUG", "(", "dbgs", "(", ")", "<<", "\"Current stack size: \"", "<<", "MFI", ".", "getStackSize", "(", ")", "<<", "\"\\n\"", ")", ";", "const", "TargetRegisterClass", "*", "RC", "=", "&", "ARC", "::", "GPR32RegClass", ";", "if", "(", "MFI", ".", "hasStackObjects", "(", ")", ")", "{", "int", "RegScavFI", "=", "MFI", ".", "CreateStackObject", "(", "RegInfo", "->", "getSpillSize", "(", "*", "RC", ")", ",", "RegInfo", "->", "getSpillAlignment", "(", "*", "RC", ")", ",", "false", ")", ";", "RS", "->", "addScavengingFrameIndex", "(", "RegScavFI", ")", ";", "LLVM_DEBUG", "(", "dbgs", "(", ")", "<<", "\"Created scavenging index RegScavFI=\"", "<<", "RegScavFI", "<<", "\"\\n\"", ")", ";", "}", "}", ""], "natrual_language": ["processFunctionBeforeFrameFinalized", "-", "This", "method", "is", "called", "immediately", "before", "the", "specified", "function", "'s", "frame", "layout", "(", "MF.getFrameInfo", "(", ")", ")", "is", "finalized", "."], "TS_V_token": ["ARC", "ARC", "\"Process function before frame finalized: \"", "\"\\n\"", "\"Current stack size: \"", "\"\\n\"", "ARC::GPR32RegClass", "\"Created scavenging index RegScavFI=\"", "\"\\n\""], "File": "ARCFrameLowering", "Func": "processFunctionBeforeFrameFinalized", "Target": "ARC", "Target_Clf": "MPU", "Compiler_Type": "LLVM", "Idx": 2011, "Length": 141, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "MCRegister", "SIRegisterInfo", "::", "findUnusedRegister", "(", "const", "MachineRegisterInfo", "&", "MRI", ",", "const", "TargetRegisterClass", "*", "RC", ",", "const", "MachineFunction", "&", "MF", ")", "const", "{", "for", "(", "MCRegister", "Reg", ":", "*", "RC", ")", "if", "(", "MRI", ".", "isAllocatable", "(", "Reg", ")", "&&", "!", "MRI", ".", "isPhysRegUsed", "(", "Reg", ")", ")", "return", "Reg", ";", "return", "MCRegister", "(", ")", ";", "}", ""], "natrual_language": ["Returns", "a", "lowest", "register", "that", "is", "not", "used", "at", "any", "point", "in", "the", "function", "."], "TS_V_token": ["AMDGPU", "SI"], "File": "SIRegisterInfo17", "Func": "findUnusedRegister", "Target": "AMDGPU", "Target_Clf": "GPU", "Compiler_Type": "LLVM", "Idx": 2012, "Length": 56, "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": 2013, "Length": 265, "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": ["ARM"], "File": "ARMSubtarget (2)3", "Func": "useAA", "Target": "ARM", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 2014, "Length": 11, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "std", "::", "pair", "<", "const", "TargetRegisterClass", "*", ",", "uint8_t", ">", "HexagonTargetLowering", "::", "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", "::", "v64i8", ":", "case", "MVT", "::", "v32i16", ":", "case", "MVT", "::", "v16i32", ":", "case", "MVT", "::", "v8i64", ":", "RRC", "=", "&", "Hexagon", "::", "VectorRegsRegClass", ";", "break", ";", "case", "MVT", "::", "v128i8", ":", "case", "MVT", "::", "v64i16", ":", "case", "MVT", "::", "v32i32", ":", "case", "MVT", "::", "v16i64", ":", "if", "(", "Subtarget", ".", "hasV60TOps", "(", ")", "&&", "Subtarget", ".", "useHVXOps", "(", ")", "&&", "Subtarget", ".", "useHVXDblOps", "(", ")", ")", "RRC", "=", "&", "Hexagon", "::", "VectorRegs128BRegClass", ";", "else", "RRC", "=", "&", "Hexagon", "::", "VecDblRegsRegClass", ";", "break", ";", "case", "MVT", "::", "v256i8", ":", "case", "MVT", "::", "v128i16", ":", "case", "MVT", "::", "v64i32", ":", "case", "MVT", "::", "v32i64", ":", "RRC", "=", "&", "Hexagon", "::", "VecDblRegs128BRegClass", ";", "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": ["Hexagon", "Hexagon", "1", "MVT::v64i8", "MVT::v32i16", "MVT::v16i32", "MVT::v8i64", "Hexagon::VectorRegsRegClass", "MVT::v128i8", "MVT::v64i16", "MVT::v32i32", "MVT::v16i64", "Hexagon::VectorRegs128BRegClass", "Hexagon::VecDblRegsRegClass", "MVT::v256i8", "MVT::v128i16", "MVT::v64i32", "MVT::v32i64", "Hexagon::VecDblRegs128BRegClass"], "File": "HexagonISelLowering (2)", "Func": "findRepresentativeClass", "Target": "Hexagon", "Target_Clf": "DSP", "Compiler_Type": "LLVM", "Idx": 2015, "Length": 182, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "StringRef", "getPassName", "(", ")", "const", "override", "{", "return", "\"Xtensa Assembly Printer\"", ";", "}", ""], "natrual_language": ["getPassName", "-", "Return", "a", "nice", "clean", "name", "for", "a", "pass", "."], "TS_V_token": ["Xtensa", "\"Xtensa Assembly Printer\""], "File": "XtensaAsmPrinter", "Func": "getPassName", "Target": "Xtensa", "Target_Clf": "MPU", "Compiler_Type": "LLVM", "Idx": 2016, "Length": 11, "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": 2017, "Length": 119, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "void", "SIFrameLowering", "::", "emitPrologue", "(", "MachineFunction", "&", "MF", ",", "MachineBasicBlock", "&", "MBB", ")", "const", "{", "const", "SIMachineFunctionInfo", "*", "MFI", "=", "MF", ".", "getInfo", "<", "SIMachineFunctionInfo", ">", "(", ")", ";", "if", "(", "MFI", "->", "isEntryFunction", "(", ")", ")", "emitEntryFunctionPrologue", "(", "MF", ",", "MBB", ")", ";", "}", ""], "natrual_language": ["emitProlog/emitEpilog", "-", "These", "methods", "insert", "prolog", "and", "epilog", "code", "into", "the", "function", "."], "TS_V_token": ["AMDGPU", "SI", "SI", "SI"], "File": "SIFrameLowering3", "Func": "emitPrologue", "Target": "AMDGPU", "Target_Clf": "GPU", "Compiler_Type": "LLVM", "Idx": 2018, "Length": 45, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "void", "ARCompactFrameLowering", "::", "emitEpilogue", "(", "MachineFunction", "&", "MF", ",", "MachineBasicBlock", "&", "MBB", ")", "const", "{", "MachineBasicBlock", "::", "iterator", "MBBI", "=", "MBB", ".", "getLastNonDebugInstr", "(", ")", ";", "MachineFrameInfo", "*", "MFI", "=", "MF", ".", "getFrameInfo", "(", ")", ";", "ARCompactFunctionInfo", "*", "AFI", "=", "MF", ".", "getInfo", "<", "ARCompactFunctionInfo", ">", "(", ")", ";", "const", "ARCompactInstrInfo", "&", "TII", "=", "*", "static_cast", "<", "const", "ARCompactInstrInfo", "*", ">", "(", "MF", ".", "getTarget", "(", ")", ".", "getInstrInfo", "(", ")", ")", ";", "DebugLoc", "dl", "=", "MBBI", "!=", "MBB", ".", "end", "(", ")", "?", "MBBI", "->", "getDebugLoc", "(", ")", ":", "DebugLoc", "(", ")", ";", "assert", "(", "MBBI", "->", "getDesc", "(", ")", ".", "isReturn", "(", ")", "&&", "\"Can only put epilogue before a return instruction!\"", ")", ";", "EmitComment", "(", "MBB", ",", "MBBI", ",", "dl", ",", "TII", ",", "\"EPILOGUE START\"", ")", ";", "unsigned", "NumBytes", "=", "MFI", "->", "getStackSize", "(", ")", ";", "NumBytes", "=", "(", "NumBytes", "+", "3", ")", "&", "~", "3", ";", "if", "(", "NumBytes", ">", "0", ")", "{", "BuildMI", "(", "MBB", ",", "MBBI", ",", "dl", ",", "TII", ".", "get", "(", "ARC", "::", "ADDrsi", ")", ",", "ARC", "::", "SP", ")", ".", "addReg", "(", "ARC", "::", "SP", ")", ".", "addImm", "(", "NumBytes", ")", ";", "}", "BuildMI", "(", "MBB", ",", "MBBI", ",", "dl", ",", "TII", ".", "get", "(", "ARC", "::", "LDri_ab", ")", ")", ".", "addReg", "(", "ARC", "::", "FP", ")", ".", "addReg", "(", "ARC", "::", "SP", ")", ".", "addImm", "(", "UNITS_PER_WORD", ")", ";", "if", "(", "MFI", "->", "adjustsStack", "(", ")", ")", "{", "BuildMI", "(", "MBB", ",", "MBBI", ",", "dl", ",", "TII", ".", "get", "(", "ARC", "::", "LDri_ab", ")", ")", ".", "addReg", "(", "ARC", "::", "BLINK", ")", ".", "addReg", "(", "ARC", "::", "SP", ")", ".", "addImm", "(", "UNITS_PER_WORD", ")", ";", "}", "unsigned", "VARegSaveSize", "=", "AFI", "->", "getVarArgsRegSaveSize", "(", ")", ";", "if", "(", "VARegSaveSize", ")", "{", "BuildMI", "(", "MBB", ",", "MBBI", ",", "dl", ",", "TII", ".", "get", "(", "ARC", "::", "ADDrsi", ")", ",", "ARC", "::", "SP", ")", ".", "addReg", "(", "ARC", "::", "SP", ")", ".", "addImm", "(", "VARegSaveSize", ")", ";", "}", "MBBI", "++", ";", "EmitComment", "(", "MBB", ",", "MBBI", ",", "dl", ",", "TII", ",", "\"EPILOGUE END\"", ")", ";", "}", ""], "natrual_language": ["Insert", "epilog", "code", "into", "the", "function", "."], "TS_V_token": ["ARCompact", "ARC", "ARC", "ARC", "ARC", "ARC", "\"Can only put epilogue before a return instruction!\"", "\"EPILOGUE START\"", "3", "3", "0", "ARC::ADDrsi", "ARC::SP", "ARC::SP", "ARC::LDri_ab", "ARC::FP", "ARC::SP", "ARC::LDri_ab", "ARC::BLINK", "ARC::SP", "ARC::ADDrsi", "ARC::SP", "ARC::SP", "\"EPILOGUE END\""], "File": "ARCompactFrameLowering", "Func": "emitEpilogue", "Target": "ARCompact", "Target_Clf": "MPU", "Compiler_Type": "LLVM", "Idx": 2019, "Length": 334, "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": 2020, "Length": 59, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "bool", "HexagonOptAddrMode", "::", "processBlock", "(", "NodeAddr", "<", "BlockNode", "*", ">", "BA", ")", "{", "bool", "Changed", "=", "false", ";", "for", "(", "auto", "IA", ":", "BA", ".", "Addr", "->", "members", "(", "*", "DFG", ")", ")", "{", "if", "(", "!", "DFG", "->", "IsCode", "<", "NodeAttrs", "::", "Stmt", ">", "(", "IA", ")", ")", "continue", ";", "NodeAddr", "<", "StmtNode", "*", ">", "SA", "=", "IA", ";", "MachineInstr", "*", "MI", "=", "SA", ".", "Addr", "->", "getCode", "(", ")", ";", "if", "(", "MI", "->", "getOpcode", "(", ")", "!=", "Hexagon", "::", "A2_tfrsi", "||", "!", "MI", "->", "getOperand", "(", "1", ")", ".", "isGlobal", "(", ")", ")", "continue", ";", "DEBUG", "(", "dbgs", "(", ")", "<<", "\"[Analyzing \"", "<<", "HII", "->", "getName", "(", "MI", "->", "getOpcode", "(", ")", ")", "<<", "\"]: \"", "<<", "*", "MI", "<<", "\"\\n\\t[InstrNode]: \"", "<<", "Print", "<", "NodeAddr", "<", "InstrNode", "*", ">>", "(", "IA", ",", "*", "DFG", ")", "<<", "'\\n'", ")", ";", "NodeList", "UNodeList", ";", "getAllRealUses", "(", "SA", ",", "UNodeList", ")", ";", "if", "(", "!", "allValidCandidates", "(", "SA", ",", "UNodeList", ")", ")", "continue", ";", "short", "SizeInc", "=", "0", ";", "unsigned", "DefR", "=", "MI", "->", "getOperand", "(", "0", ")", ".", "getReg", "(", ")", ";", "InstrEvalMap", "InstrEvalResult", ";", "if", "(", "!", "analyzeUses", "(", "DefR", ",", "UNodeList", ",", "InstrEvalResult", ",", "SizeInc", ")", ")", "continue", ";", "if", "(", "SizeInc", ">", "CodeGrowthLimit", ")", "continue", ";", "bool", "KeepTfr", "=", "false", ";", "DEBUG", "(", "dbgs", "(", ")", "<<", "\"\\t[Total reached uses] : \"", "<<", "UNodeList", ".", "size", "(", ")", "<<", "\"\\n\"", ")", ";", "DEBUG", "(", "dbgs", "(", ")", "<<", "\"\\t[Processing Reached Uses] ===\\n\"", ")", ";", "for", "(", "auto", "I", "=", "UNodeList", ".", "rbegin", "(", ")", ",", "E", "=", "UNodeList", ".", "rend", "(", ")", ";", "I", "!=", "E", ";", "++", "I", ")", "{", "NodeAddr", "<", "UseNode", "*", ">", "UseN", "=", "*", "I", ";", "assert", "(", "!", "(", "UseN", ".", "Addr", "->", "getFlags", "(", ")", "&", "NodeAttrs", "::", "PhiRef", ")", "&&", "\"Found a PhiRef node as a real reached use!!\"", ")", ";", "NodeAddr", "<", "StmtNode", "*", ">", "OwnerN", "=", "UseN", ".", "Addr", "->", "getOwner", "(", "*", "DFG", ")", ";", "MachineInstr", "*", "UseMI", "=", "OwnerN", ".", "Addr", "->", "getCode", "(", ")", ";", "DEBUG", "(", "dbgs", "(", ")", "<<", "\"\\t\\t[MI ", "getParent", "(", ")", "->", "getNumber", "(", ")", "<<", "\">]: \"", "<<", "*", "UseMI", "<<", "\"\\n\"", ")", ";", "int", "UseMOnum", "=", "-", "1", ";", "unsigned", "NumOperands", "=", "UseMI", "->", "getNumOperands", "(", ")", ";", "for", "(", "unsigned", "j", "=", "0", ";", "j", "<", "NumOperands", "-", "1", ";", "++", "j", ")", "{", "const", "MachineOperand", "&", "op", "=", "UseMI", "->", "getOperand", "(", "j", ")", ";", "if", "(", "op", ".", "isReg", "(", ")", "&&", "op", ".", "isUse", "(", ")", "&&", "DefR", "==", "op", ".", "getReg", "(", ")", ")", "UseMOnum", "=", "j", ";", "}", "assert", "(", "UseMOnum", ">=", "0", "&&", "\"Invalid reached use!\"", ")", ";", "if", "(", "InstrEvalResult", "[", "UseMI", "]", ")", "Changed", "|=", "xformUseMI", "(", "MI", ",", "UseMI", ",", "UseN", ",", "UseMOnum", ")", ";", "else", "KeepTfr", "=", "true", ";", "}", "if", "(", "!", "KeepTfr", ")", "Deleted", ".", "insert", "(", "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": ["Hexagon", "Hexagon", "Hexagon::A2_tfrsi", "1", "\"[Analyzing \"", "\"]: \"", "\"\\n\\t[InstrNode]: \"", "0", "0", "\"\\t[Total reached uses] : \"", "\"\\n\"", "\"\\t[Processing Reached Uses] ===\\n\"", "\"Found a PhiRef node as a real reached use!!\"", "\"\\t\\t[MI ]: \"", "\"\\n\"", "1", "0", "1", "0", "\"Invalid reached use!\""], "File": "HexagonOptAddrMode13", "Func": "processBlock", "Target": "Hexagon", "Target_Clf": "DSP", "Compiler_Type": "LLVM", "Idx": 2021, "Length": 475, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "void", "HexagonHazardRecognizer", "::", "EmitInstruction", "(", "SUnit", "*", "SU", ")", "{", "MachineInstr", "*", "MI", "=", "SU", "->", "getInstr", "(", ")", ";", "if", "(", "!", "MI", ")", "return", ";", "for", "(", "const", "MachineOperand", "&", "MO", ":", "MI", "->", "operands", "(", ")", ")", "if", "(", "MO", ".", "isReg", "(", ")", "&&", "MO", ".", "isDef", "(", ")", "&&", "!", "MO", ".", "isImplicit", "(", ")", ")", "RegDefs", ".", "insert", "(", "MO", ".", "getReg", "(", ")", ")", ";", "if", "(", "TII", "->", "isZeroCost", "(", "MI", "->", "getOpcode", "(", ")", ")", ")", "return", ";", "if", "(", "!", "Resources", "->", "canReserveResources", "(", "*", "MI", ")", ")", "{", "assert", "(", "TII", "->", "mayBeNewStore", "(", "*", "MI", ")", "&&", "\"Expecting .new store\"", ")", ";", "MachineFunction", "*", "MF", "=", "MI", "->", "getParent", "(", ")", "->", "getParent", "(", ")", ";", "MachineInstr", "*", "NewMI", "=", "MF", "->", "CreateMachineInstr", "(", "TII", "->", "get", "(", "TII", "->", "getDotNewOp", "(", "*", "MI", ")", ")", ",", "MI", "->", "getDebugLoc", "(", ")", ")", ";", "assert", "(", "Resources", "->", "canReserveResources", "(", "*", "NewMI", ")", ")", ";", "Resources", "->", "reserveResources", "(", "*", "NewMI", ")", ";", "MF", "->", "DeleteMachineInstr", "(", "NewMI", ")", ";", "}", "else", "Resources", "->", "reserveResources", "(", "*", "MI", ")", ";", "DEBUG", "(", "dbgs", "(", ")", "<<", "\" Add instruction \"", "<<", "*", "MI", ")", ";", "if", "(", "TII", "->", "mayBeCurLoad", "(", "*", "MI", ")", ")", "for", "(", "auto", "&", "S", ":", "SU", "->", "Succs", ")", "if", "(", "S", ".", "isAssignedRegDep", "(", ")", "&&", "S", ".", "getLatency", "(", ")", "==", "0", "&&", "SU", "->", "getHeight", "(", ")", "==", "S", ".", "getSUnit", "(", ")", "->", "getHeight", "(", ")", ")", "{", "UsesDotCur", "=", "S", ".", "getSUnit", "(", ")", ";", "DotCurPNum", "=", "PacketNum", ";", "break", ";", "}", "if", "(", "SU", "==", "UsesDotCur", ")", "{", "UsesDotCur", "=", "nullptr", ";", "DotCurPNum", "=", "-", "1", ";", "}", "}", ""], "natrual_language": ["EmitInstruction", "-", "This", "callback", "is", "invoked", "when", "an", "instruction", "is", "emitted", ",", "to", "advance", "the", "hazard", "state", "."], "TS_V_token": ["Hexagon", "Hexagon", "\"Expecting .new store\"", "\" Add instruction \"", "0", "1"], "File": "HexagonHazardRecognizer4", "Func": "EmitInstruction", "Target": "Hexagon", "Target_Clf": "DSP", "Compiler_Type": "LLVM", "Idx": 2022, "Length": 288, "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": 2023, "Length": 104, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "static", "bool", "arc_rewrite_small_data_p", "(", "const_rtx", "x", ")", "{", "if", "(", "GET_CODE", "(", "x", ")", "==", "CONST", ")", "x", "=", "XEXP", "(", "x", ",", "0", ")", ";", "if", "(", "GET_CODE", "(", "x", ")", "==", "PLUS", ")", "{", "if", "(", "GET_CODE", "(", "XEXP", "(", "x", ",", "1", ")", ")", "==", "CONST_INT", ")", "x", "=", "XEXP", "(", "x", ",", "0", ")", ";", "}", "return", "(", "GET_CODE", "(", "x", ")", "==", "SYMBOL_REF", "&&", "SYMBOL_REF_SMALL_P", "(", "x", ")", ")", ";", "}", ""], "natrual_language": ["Return", "true", "if", "X", "is", "a", "small", "data", "address", "that", "can", "be", "rewritten", "as", "a", "gp+symref", "."], "TS_V_token": ["arc", "0", "1", "0"], "File": "arc4", "Func": "arc_rewrite_small_data_p", "Target": "arc", "Target_Clf": "MPU", "Compiler_Type": "GCC", "Idx": 2024, "Length": 76, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "bool", "BPFTargetLowering", "::", "isZExtFree", "(", "EVT", "VT1", ",", "EVT", "VT2", ")", "const", "{", "if", "(", "!", "getHasAlu32", "(", ")", "||", "!", "VT1", ".", "isInteger", "(", ")", "||", "!", "VT2", ".", "isInteger", "(", ")", ")", "return", "false", ";", "unsigned", "NumBits1", "=", "VT1", ".", "getSizeInBits", "(", ")", ";", "unsigned", "NumBits2", "=", "VT2", ".", "getSizeInBits", "(", ")", ";", "return", "NumBits1", "==", "32", "&&", "NumBits2", "==", "64", ";", "}", ""], "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": ["BPF", "BPF", "32", "64"], "File": "BPFISelLowering1", "Func": "isZExtFree", "Target": "BPF", "Target_Clf": "Virtual ISA", "Compiler_Type": "LLVM", "Idx": 2025, "Length": 65, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "bool", "WebAssemblyCFGSort", "::", "runOnMachineFunction", "(", "MachineFunction", "&", "MF", ")", "{", "LLVM_DEBUG", "(", "dbgs", "(", ")", "<<", "\"********** CFG Sorting **********\\n\"", "\"********** Function: \"", "<<", "MF", ".", "getName", "(", ")", "<<", "'\\n'", ")", ";", "const", "auto", "&", "MLI", "=", "getAnalysis", "<", "MachineLoopInfo", ">", "(", ")", ";", "const", "auto", "&", "WEI", "=", "getAnalysis", "<", "WebAssemblyExceptionInfo", ">", "(", ")", ";", "auto", "&", "MDT", "=", "getAnalysis", "<", "MachineDominatorTree", ">", "(", ")", ";", "MF", ".", "getRegInfo", "(", ")", ".", "invalidateLiveness", "(", ")", ";", "sortBlocks", "(", "MF", ",", "MLI", ",", "WEI", ",", "MDT", ")", ";", "return", "true", ";", "}", ""], "natrual_language": ["runOnMachineFunction", "-", "Emit", "the", "function", "body", "."], "TS_V_token": ["WebAssembly", "WebAssembly", "\"********** CFG Sorting **********\\n\"", "\"********** Function: \"", "WebAssembly"], "File": "WebAssemblyCFGSort10", "Func": "runOnMachineFunction", "Target": "WebAssembly", "Target_Clf": "Virtual ISA", "Compiler_Type": "LLVM", "Idx": 2026, "Length": 88, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "static", "int", "visium_memory_move_cost", "(", "machine_mode", "mode", ",", "reg_class_t", "to", "ATTRIBUTE_UNUSED", ",", "bool", "in", ")", "{", "if", "(", "in", ")", "{", "if", "(", "GET_MODE_SIZE", "(", "mode", ")", "<=", "UNITS_PER_WORD", ")", "return", "7", ";", "else", "return", "13", ";", "}", "else", "{", "if", "(", "GET_MODE_SIZE", "(", "mode", ")", "<=", "UNITS_PER_WORD", ")", "return", "6", ";", "else", "return", "12", ";", "}", "}", ""], "natrual_language": ["Return", "the", "cost", "of", "moving", "data", "of", "mode", "MODE", "between", "a", "register", "of", "class", "CLASS", "and", "memory", ".", "IN", "is", "zero", "if", "the", "value", "is", "to", "be", "written", "to", "memory", ",", "non-zero", "if", "it", "is", "to", "be", "read", "in", ".", "This", "cost", "is", "relative", "to", "those", "in", "visium_register_move_cost", "."], "TS_V_token": ["visium", "7", "13", "6", "12"], "File": "visium", "Func": "visium_memory_move_cost", "Target": "visium", "Target_Clf": "Virtual ISA", "Compiler_Type": "GCC", "Idx": 2027, "Length": 57, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "const", "char", "*", "m68k_output_branch_float_rev", "(", "rtx_code", "code", ")", "{", "switch", "(", "code", ")", "{", "case", "EQ", ":", "return", "\"fjne %l3\"", ";", "case", "NE", ":", "return", "\"fjeq %l3\"", ";", "case", "GT", ":", "return", "\"fjngt %l3\"", ";", "case", "LT", ":", "return", "\"fjnlt %l3\"", ";", "case", "GE", ":", "return", "\"fjnge %l3\"", ";", "case", "LE", ":", "return", "\"fjnle %l3\"", ";", "case", "ORDERED", ":", "return", "\"fjun %l3\"", ";", "case", "UNORDERED", ":", "return", "\"fjor %l3\"", ";", "case", "UNEQ", ":", "return", "\"fjogl %l3\"", ";", "case", "UNGE", ":", "return", "\"fjolt %l3\"", ";", "case", "UNGT", ":", "return", "\"fjole %l3\"", ";", "case", "UNLE", ":", "return", "\"fjogt %l3\"", ";", "case", "UNLT", ":", "return", "\"fjoge %l3\"", ";", "case", "LTGT", ":", "return", "\"fjueq %l3\"", ";", "default", ":", "gcc_unreachable", "(", ")", ";", "}", "}", ""], "natrual_language": ["Return", "an", "output", "template", "for", "a", "reversed", "floating", "point", "branch", "instruction", "with", "CODE", "."], "TS_V_token": ["m68k", "\"fjne %l3\"", "\"fjeq %l3\"", "\"fjngt %l3\"", "\"fjnlt %l3\"", "\"fjnge %l3\"", "\"fjnle %l3\"", "\"fjun %l3\"", "\"fjor %l3\"", "\"fjogl %l3\"", "\"fjolt %l3\"", "\"fjole %l3\"", "\"fjogt %l3\"", "\"fjoge %l3\"", "\"fjueq %l3\""], "File": "m68k", "Func": "m68k_output_branch_float_rev", "Target": "m68k", "Target_Clf": "MPU", "Compiler_Type": "GCC", "Idx": 2028, "Length": 106, "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": 2029, "Length": 353, "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": 2030, "Length": 220, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "static", "void", "addExpr", "(", "MCInst", "&", "Inst", ",", "const", "MCExpr", "*", "Expr", ")", "{", "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": ["MOS"], "File": "MOSAsmParser", "Func": "addExpr", "Target": "MOS", "Target_Clf": "MPU", "Compiler_Type": "LLVM", "Idx": 2031, "Length": 63, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "bool", "PatmosInstrInfo", "::", "expandPostRAPseudo", "(", "MachineInstr", "&", "MI", ")", "const", "{", "return", "false", ";", "}", ""], "natrual_language": ["This", "function", "is", "called", "for", "all", "pseudo", "instructions", "that", "remain", "after", "register", "allocation", "."], "TS_V_token": ["Patmos", "Patmos"], "File": "PatmosInstrInfo1", "Func": "expandPostRAPseudo", "Target": "Patmos", "Target_Clf": "VLIW", "Compiler_Type": "LLVM", "Idx": 2032, "Length": 15, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "void", "MBlazeInstrInfo", "::", "loadRegFromStackSlot", "(", "MachineBasicBlock", "&", "MBB", ",", "MachineBasicBlock", "::", "iterator", "I", ",", "unsigned", "DestReg", ",", "int", "FI", ",", "const", "TargetRegisterClass", "*", "RC", ")", "const", "{", "DebugLoc", "DL", ";", "BuildMI", "(", "MBB", ",", "I", ",", "DL", ",", "get", "(", "MBlaze", "::", "LWI", ")", ",", "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": ["MBlaze", "MBlaze", "MBlaze::LWI", "0"], "File": "MBlazeInstrInfo", "Func": "loadRegFromStackSlot", "Target": "MBlaze", "Target_Clf": "MPU", "Compiler_Type": "LLVM", "Idx": 2033, "Length": 59, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "void", "NVPTXAsmPrinter", "::", "emitGlobals", "(", "const", "Module", "&", "M", ")", "{", "SmallString", "<", "128", ">", "Str2", ";", "raw_svector_ostream", "OS2", "(", "Str2", ")", ";", "emitDeclarations", "(", "M", ",", "OS2", ")", ";", "SmallVector", "<", "const", "GlobalVariable", "*", ",", "8", ">", "Globals", ";", "DenseSet", "<", "const", "GlobalVariable", "*", ">", "GVVisited", ";", "DenseSet", "<", "const", "GlobalVariable", "*", ">", "GVVisiting", ";", "for", "(", "const", "GlobalVariable", "&", "I", ":", "M", ".", "globals", "(", ")", ")", "VisitGlobalVariableForEmission", "(", "&", "I", ",", "Globals", ",", "GVVisited", ",", "GVVisiting", ")", ";", "assert", "(", "GVVisited", ".", "size", "(", ")", "==", "M", ".", "getGlobalList", "(", ")", ".", "size", "(", ")", "&&", "\"Missed a global variable\"", ")", ";", "assert", "(", "GVVisiting", ".", "size", "(", ")", "==", "0", "&&", "\"Did not fully process a global variable\"", ")", ";", "for", "(", "unsigned", "i", "=", "0", ",", "e", "=", "Globals", ".", "size", "(", ")", ";", "i", "!=", "e", ";", "++", "i", ")", "printModuleLevelGV", "(", "Globals", "[", "i", "]", ",", "OS2", ")", ";", "OS2", "<<", "'\\n'", ";", "OutStreamer", "->", "emitRawText", "(", "OS2", ".", "str", "(", ")", ")", ";", "}", ""], "natrual_language": ["EmitGlobals", "-", "Emit", "all", "of", "the", "global", "variables", "to", "memory", ",", "storing", "their", "addresses", "into", "GlobalAddress", "."], "TS_V_token": ["NVPTX", "NVPTX", "128", "8", "\"Missed a global variable\"", "0", "\"Did not fully process a global variable\"", "0"], "File": "NVPTXAsmPrinter15", "Func": "emitGlobals", "Target": "NVPTX", "Target_Clf": "GPU", "Compiler_Type": "LLVM", "Idx": 2034, "Length": 163, "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": 2035, "Length": 35, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "int", "sparc_splitdi_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": "sparc3", "Func": "sparc_splitdi_legitimate", "Target": "sparc", "Target_Clf": "CPU", "Compiler_Type": "GCC", "Idx": 2036, "Length": 53, "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": 2037, "Length": 105, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "MCObjectWriter", "*", "createObjectWriter", "(", "raw_ostream", "&", "OS", ")", "const", "{", "llvm_unreachable", "(", "\"createObjectWriter() unimplemented\"", ")", ";", "}", ""], "natrual_language": ["Create", "a", "new", "MCObjectWriter", "instance", "for", "use", "by", "the", "assembler", "backend", "to", "emit", "the", "final", "object", "file", "."], "TS_V_token": ["Z80", "\"createObjectWriter() unimplemented\""], "File": "Z80AsmBackend", "Func": "createObjectWriter", "Target": "Z80", "Target_Clf": "MPU", "Compiler_Type": "LLVM", "Idx": 2038, "Length": 16, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "MCObjectWriter", "*", "BPFAsmBackend", "::", "createObjectWriter", "(", "raw_ostream", "&", "OS", ")", "const", "{", "return", "createBPFELFObjectWriter", "(", "OS", ",", "0", ")", ";", "}", ""], "natrual_language": ["Create", "a", "new", "MCObjectWriter", "instance", "for", "use", "by", "the", "assembler", "backend", "to", "emit", "the", "final", "object", "file", "."], "TS_V_token": ["BPF", "BPF", "BPF", "0"], "File": "BPFAsmBackend13", "Func": "createObjectWriter", "Target": "BPF", "Target_Clf": "Virtual ISA", "Compiler_Type": "LLVM", "Idx": 2039, "Length": 21, "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": 2040, "Length": 356, "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": 2041, "Length": 284, "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": 2042, "Length": 62, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "bool", "R600InstrInfo", "::", "isProfitableToUnpredicate", "(", "MachineBasicBlock", "&", "TMBB", ",", "MachineBasicBlock", "&", "FMBB", ")", "const", "{", "return", "false", ";", "}", ""], "natrual_language": ["Return", "true", "if", "it", "'s", "profitable", "to", "unpredicate", "one", "side", "of", "a", "'diamond", "'", ",", "i.e", "."], "TS_V_token": ["AMDGPU", "R600"], "File": "R600InstrInfo (2)", "Func": "isProfitableToUnpredicate", "Target": "AMDGPU", "Target_Clf": "GPU", "Compiler_Type": "LLVM", "Idx": 2043, "Length": 19, "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": 2044, "Length": 236, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "const", "char", "*", "AMDGPUInstructionSelector", "::", "getName", "(", ")", "{", "return", "DEBUG_TYPE", ";", "}", ""], "natrual_language": ["Return", "a", "string", "with", "the", "name", "of", "the", "plan", "and", "the", "applicable", "VFs", "and", "UFs", "."], "TS_V_token": ["AMDGPU", "AMDGPU"], "File": "AMDGPUInstructionSelector", "Func": "getName", "Target": "AMDGPU", "Target_Clf": "GPU", "Compiler_Type": "LLVM", "Idx": 2045, "Length": 13, "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": ["rs6000", "0", "0", "0", "0", "1", "1", "0"], "File": "rs60004", "Func": "uses_TOC", "Target": "rs6000", "Target_Clf": "CPU", "Compiler_Type": "GCC", "Idx": 2046, "Length": 134, "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", "(", "const", "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": "X86CallFrameOptimization", "Func": "runOnMachineFunction", "Target": "X86", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 2047, "Length": 225, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "static", "rtx", "pdp11_function_arg", "(", "cumulative_args_t", ",", "const", "function_arg_info", "&", ")", "{", "return", "NULL_RTX", ";", "}", ""], "natrual_language": ["Worker", "function", "for", "TARGET_FUNCTION_ARG", ".", "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": ["pdp11"], "File": "pdp11", "Func": "pdp11_function_arg", "Target": "pdp11", "Target_Clf": "MPU", "Compiler_Type": "GCC", "Idx": 2048, "Length": 15, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "static", "int", "insn_uid_get_clock", "(", "int", "uid", ")", "{", "return", "INSN_INFO_ENTRY", "(", "uid", ")", ".", "clock", ";", "}", ""], "natrual_language": ["Return", "the", "clock", "cycle", "we", "set", "for", "the", "insn", "with", "uid", "UID", "."], "TS_V_token": ["c6x"], "File": "c6x", "Func": "insn_uid_get_clock", "Target": "c6x", "Target_Clf": "VLIW", "Compiler_Type": "GCC", "Idx": 2049, "Length": 17, "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": 2050, "Length": 369, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "const", "char", "*", "getPassName", "(", ")", "const", "override", "{", "return", "\"HSAIL DAG->DAG Instruction Selection\"", ";", "}", ""], "natrual_language": ["getPassName", "-", "Return", "a", "nice", "clean", "name", "for", "a", "pass", "."], "TS_V_token": ["HSAIL", "\"HSAIL DAG->DAG Instruction Selection\""], "File": "HSAILISelDAGToDAG", "Func": "getPassName", "Target": "HSAIL", "Target_Clf": "Virtual ISA", "Compiler_Type": "LLVM", "Idx": 2051, "Length": 13, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "bool", "SIInstrInfo", "::", "isOperandLegal", "(", "const", "MachineInstr", "*", "MI", ",", "unsigned", "OpIdx", ",", "const", "MachineOperand", "*", "MO", ")", "const", "{", "const", "MachineRegisterInfo", "&", "MRI", "=", "MI", "->", "getParent", "(", ")", "->", "getParent", "(", ")", "->", "getRegInfo", "(", ")", ";", "const", "MCInstrDesc", "&", "InstDesc", "=", "get", "(", "MI", "->", "getOpcode", "(", ")", ")", ";", "const", "MCOperandInfo", "&", "OpInfo", "=", "InstDesc", ".", "OpInfo", "[", "OpIdx", "]", ";", "const", "TargetRegisterClass", "*", "DefinedRC", "=", "OpInfo", ".", "RegClass", "!=", "-", "1", "?", "RI", ".", "getRegClass", "(", "OpInfo", ".", "RegClass", ")", ":", "nullptr", ";", "if", "(", "!", "MO", ")", "MO", "=", "&", "MI", "->", "getOperand", "(", "OpIdx", ")", ";", "if", "(", "MO", "->", "isReg", "(", ")", ")", "{", "assert", "(", "DefinedRC", ")", ";", "const", "TargetRegisterClass", "*", "RC", "=", "MRI", ".", "getRegClass", "(", "MO", "->", "getReg", "(", ")", ")", ";", "return", "RI", ".", "getCommonSubClass", "(", "RC", ",", "RI", ".", "getRegClass", "(", "OpInfo", ".", "RegClass", ")", ")", ";", "}", "assert", "(", "MO", "->", "isImm", "(", ")", "||", "MO", "->", "isFPImm", "(", ")", "||", "MO", "->", "isTargetIndex", "(", ")", "||", "MO", "->", "isFI", "(", ")", ")", ";", "if", "(", "!", "DefinedRC", ")", "return", "true", ";", "return", "RI", ".", "regClassCanUseImmediate", "(", "DefinedRC", ")", ";", "}", ""], "natrual_language": ["Check", "if", "MO", "is", "a", "legal", "operand", "if", "it", "was", "the", "OpIdx", "Operand", "for", "MI", "."], "TS_V_token": ["R600", "SI", "1"], "File": "SIInstrInfo116", "Func": "isOperandLegal", "Target": "R600", "Target_Clf": "GPU", "Compiler_Type": "LLVM", "Idx": 2052, "Length": 195, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "static", "unsigned", "int", "visium_reorg", "(", "void", ")", "{", "if", "(", "visium_cpu", "==", "PROCESSOR_GR5", ")", "gr5_hazard_avoidance", "(", ")", ";", "return", "0", ";", "}", ""], "natrual_language": ["Perform", "a", "target-specific", "pass", "over", "the", "instruction", "stream", ".", "The", "compiler", "will", "run", "it", "at", "all", "optimization", "levels", ",", "just", "after", "the", "point", "at", "which", "it", "normally", "does", "delayed-branch", "scheduling", "."], "TS_V_token": ["visium", "0"], "File": "visium", "Func": "visium_reorg", "Target": "visium", "Target_Clf": "Virtual ISA", "Compiler_Type": "GCC", "Idx": 2053, "Length": 22, "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": 2054, "Length": 291, "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": 2055, "Length": 379, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "const", "char", "*", "getPassName", "(", ")", "const", "override", "{", "return", "\"SI Fix SGPR live ranges\"", ";", "}", ""], "natrual_language": ["getPassName", "-", "Return", "a", "nice", "clean", "name", "for", "a", "pass", "."], "TS_V_token": ["AMDGPU", "\"SI Fix SGPR live ranges\""], "File": "SIFixSGPRLiveRanges", "Func": "getPassName", "Target": "AMDGPU", "Target_Clf": "GPU", "Compiler_Type": "LLVM", "Idx": 2056, "Length": 13, "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": ["powerpcspe", "0", "0", "0"], "File": "powerpcspe", "Func": "rs6000_psave_function_arg", "Target": "powerpcspe", "Target_Clf": "CPU", "Compiler_Type": "GCC", "Idx": 2057, "Length": 209, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "void", "\\", "toc_section", "(", ")", "\\", "{", "\\", "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", ";", "\\", "}", "\\", "\\", "if", "(", "in_section", "!=", "toc", ")", "\\", "fprintf", "(", "asm_out_file", ",", "\"\\t.csect toc_table[RW]%s\\n\"", ",", "\\", "(", "TARGET_32BIT", "?", "\"\"", ":", "\",3\"", ")", ")", ";", "\\", "}", "\\", "else", "\\", "{", "\\", "if", "(", "in_section", "!=", "toc", ")", "\\", "fputs", "(", "\"\\t.toc\\n\"", ",", "asm_out_file", ")", ";", "\\", "}", "\\", "in_section", "=", "toc", ";", "\\", "}", ""], "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", "\"\\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": "xcoff4", "Func": "toc_section", "Target": "rs6000", "Target_Clf": "CPU", "Compiler_Type": "GCC", "Idx": 2058, "Length": 101, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "unsigned", "M88kAsmParser", "::", "validateTargetOperandClass", "(", "MCParsedAsmOperand", "&", "AsmOp", ",", "unsigned", "Kind", ")", "{", "if", "(", "Kind", "==", "MCK_GPR64RC", "&&", "AsmOp", ".", "isReg", "(", ")", ")", "{", "switch", "(", "AsmOp", ".", "getReg", "(", ")", ")", "{", "case", "M88k", "::", "R0", ":", "case", "M88k", "::", "R2", ":", "case", "M88k", "::", "R4", ":", "case", "M88k", "::", "R6", ":", "case", "M88k", "::", "R8", ":", "case", "M88k", "::", "R10", ":", "case", "M88k", "::", "R12", ":", "case", "M88k", "::", "R14", ":", "case", "M88k", "::", "R16", ":", "case", "M88k", "::", "R18", ":", "case", "M88k", "::", "R20", ":", "case", "M88k", "::", "R22", ":", "case", "M88k", "::", "R24", ":", "case", "M88k", "::", "R26", ":", "case", "M88k", "::", "R28", ":", "case", "M88k", "::", "R30", ":", "return", "Match_Success", ";", "case", "M88k", "::", "R1", ":", "case", "M88k", "::", "R3", ":", "case", "M88k", "::", "R5", ":", "case", "M88k", "::", "R7", ":", "case", "M88k", "::", "R9", ":", "case", "M88k", "::", "R11", ":", "case", "M88k", "::", "R13", ":", "case", "M88k", "::", "R15", ":", "case", "M88k", "::", "R17", ":", "case", "M88k", "::", "R19", ":", "case", "M88k", "::", "R21", ":", "case", "M88k", "::", "R23", ":", "case", "M88k", "::", "R25", ":", "case", "M88k", "::", "R27", ":", "case", "M88k", "::", "R29", ":", "case", "M88k", "::", "R31", ":", "return", "Match_Success", ";", "default", ":", "return", "Match_InvalidOperand", ";", "}", "}", "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": ["M88k", "M88k", "M88k::R0", "M88k::R2", "M88k::R4", "M88k::R6", "M88k::R8", "M88k::R10", "M88k::R12", "M88k::R14", "M88k::R16", "M88k::R18", "M88k::R20", "M88k::R22", "M88k::R24", "M88k::R26", "M88k::R28", "M88k::R30", "M88k::R1", "M88k::R3", "M88k::R5", "M88k::R7", "M88k::R9", "M88k::R11", "M88k::R13", "M88k::R15", "M88k::R17", "M88k::R19", "M88k::R21", "M88k::R23", "M88k::R25", "M88k::R27", "M88k::R29", "M88k::R31"], "File": "M88kAsmParser", "Func": "validateTargetOperandClass", "Target": "M88k", "Target_Clf": "MPU", "Compiler_Type": "LLVM", "Idx": 2059, "Length": 212, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "MachineInstrBuilder", "R600InstrInfo", "::", "buildIndirectWrite", "(", "MachineBasicBlock", "*", "MBB", ",", "MachineBasicBlock", "::", "iterator", "I", ",", "unsigned", "ValueReg", ",", "unsigned", "Address", ",", "unsigned", "OffsetReg", ",", "unsigned", "AddrChan", ")", "const", "{", "unsigned", "AddrReg", ";", "switch", "(", "AddrChan", ")", "{", "default", ":", "llvm_unreachable", "(", "\"Invalid Channel\"", ")", ";", "case", "0", ":", "AddrReg", "=", "AMDGPU", "::", "R600_AddrRegClass", ".", "getRegister", "(", "Address", ")", ";", "break", ";", "case", "1", ":", "AddrReg", "=", "AMDGPU", "::", "R600_Addr_YRegClass", ".", "getRegister", "(", "Address", ")", ";", "break", ";", "case", "2", ":", "AddrReg", "=", "AMDGPU", "::", "R600_Addr_ZRegClass", ".", "getRegister", "(", "Address", ")", ";", "break", ";", "case", "3", ":", "AddrReg", "=", "AMDGPU", "::", "R600_Addr_WRegClass", ".", "getRegister", "(", "Address", ")", ";", "break", ";", "}", "MachineInstr", "*", "MOVA", "=", "buildDefaultInstruction", "(", "*", "MBB", ",", "I", ",", "AMDGPU", "::", "MOVA_INT_eg", ",", "AMDGPU", "::", "AR_X", ",", "OffsetReg", ")", ";", "setImmOperand", "(", "MOVA", ",", "AMDGPU", "::", "OpName", "::", "write", ",", "0", ")", ";", "MachineInstrBuilder", "Mov", "=", "buildDefaultInstruction", "(", "*", "MBB", ",", "I", ",", "AMDGPU", "::", "MOV", ",", "AddrReg", ",", "ValueReg", ")", ".", "addReg", "(", "AMDGPU", "::", "AR_X", ",", "RegState", "::", "Implicit", "|", "RegState", "::", "Kill", ")", ";", "setImmOperand", "(", "Mov", ",", "AMDGPU", "::", "OpName", "::", "dst_rel", ",", "1", ")", ";", "return", "Mov", ";", "}", ""], "natrual_language": ["Build", "instruction", "(", "s", ")", "for", "an", "indirect", "register", "write", "."], "TS_V_token": ["R600", "\"Invalid Channel\"", "0", "1", "2", "3", "0", "1"], "File": "R600InstrInfo11", "Func": "buildIndirectWrite", "Target": "R600", "Target_Clf": "GPU", "Compiler_Type": "LLVM", "Idx": 2060, "Length": 194, "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": 2061, "Length": 100, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "unsigned", "Z80oldInstrInfo", "::", "isStoreToStackSlot", "(", "const", "MachineInstr", "&", "MI", ",", "int", "&", "FrameIndex", ")", "const", "{", "if", "(", "isFrameStoreOpcode", "(", "MI", ".", "getOpcode", "(", ")", ")", "&&", "!", "MI", ".", "getOperand", "(", "2", ")", ".", "getSubReg", "(", ")", "&&", "isFrameOperand", "(", "MI", ",", "0", ",", "FrameIndex", ")", ")", "{", "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": ["Z80old", "Z80old", "2", "0", "2", "0"], "File": "Z80oldInstrInfo", "Func": "isStoreToStackSlot", "Target": "Z80old", "Target_Clf": "MPU", "Compiler_Type": "LLVM", "Idx": 2062, "Length": 66, "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": 2063, "Length": 76, "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": 2064, "Length": 19, "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", "||", "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", "0"], "File": "sh5", "Func": "sh_function_ok_for_sibcall", "Target": "sh", "Target_Clf": "CPU", "Compiler_Type": "GCC", "Idx": 2065, "Length": 73, "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": 2066, "Length": 190, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "unsigned", "getNumFixupKinds", "(", ")", "const", "override", "{", "return", "MSP430", "::", "NumTargetFixupKinds", ";", "}", ""], "natrual_language": ["Get", "the", "number", "of", "target", "specific", "fixup", "kinds", "."], "TS_V_token": ["MSP430", "MSP430::NumTargetFixupKinds"], "File": "MSP430AsmBackend", "Func": "getNumFixupKinds", "Target": "MSP430", "Target_Clf": "MPU", "Compiler_Type": "LLVM", "Idx": 2067, "Length": 13, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "bool", "isRegister", "(", ")", "const", "{", "return", "!", "IsStack", ";", "}", ""], "natrual_language": ["isRegister", "-", "Returns", "true", "if", "this", "is", "a", "normal", "register", "use/def", "slot", "."], "TS_V_token": ["AMDGPU"], "File": "AMDGPUArgumentUsageInfo", "Func": "isRegister", "Target": "AMDGPU", "Target_Clf": "GPU", "Compiler_Type": "LLVM", "Idx": 2068, "Length": 11, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "static", "rtx", "avr_compare_pattern", "(", "rtx_insn", "*", "insn", ")", "{", "rtx", "pattern", "=", "single_set", "(", "insn", ")", ";", "if", "(", "pattern", "&&", "NONJUMP_INSN_P", "(", "insn", ")", "&&", "REG_P", "(", "SET_DEST", "(", "pattern", ")", ")", "&&", "REGNO", "(", "SET_DEST", "(", "pattern", ")", ")", "==", "REG_CC", "&&", "GET_CODE", "(", "SET_SRC", "(", "pattern", ")", ")", "==", "COMPARE", ")", "{", "machine_mode", "mode0", "=", "GET_MODE", "(", "XEXP", "(", "SET_SRC", "(", "pattern", ")", ",", "0", ")", ")", ";", "machine_mode", "mode1", "=", "GET_MODE", "(", "XEXP", "(", "SET_SRC", "(", "pattern", ")", ",", "1", ")", ")", ";", "if", "(", "(", "mode0", "==", "VOIDmode", "||", "GET_MODE_SIZE", "(", "mode0", ")", "<=", "4", ")", "&&", "(", "mode1", "==", "VOIDmode", "||", "GET_MODE_SIZE", "(", "mode1", ")", "<=", "4", ")", ")", "return", "pattern", ";", "}", "return", "NULL_RTX", ";", "}", ""], "natrual_language": ["Helper", "function", "for", "`", "avr_reorg", "'", "."], "TS_V_token": ["avr", "0", "1", "4", "4"], "File": "avr", "Func": "avr_compare_pattern", "Target": "avr", "Target_Clf": "MPU", "Compiler_Type": "GCC", "Idx": 2069, "Length": 123, "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": 2070, "Length": 149, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "unsigned", "AMDGPUCFGStructurizer", "::", "getLoopDepth", "(", "MachineLoop", "*", "LoopRep", ")", "{", "return", "LoopRep", "?", "LoopRep", "->", "getLoopDepth", "(", ")", ":", "0", ";", "}", ""], "natrual_language": ["Return", "the", "loop", "nesting", "level", "of", "the", "specified", "block", "."], "TS_V_token": ["AMDGPU", "AMDGPU", "0"], "File": "AMDILCFGStructurizer", "Func": "getLoopDepth", "Target": "AMDGPU", "Target_Clf": "GPU", "Compiler_Type": "LLVM", "Idx": 2071, "Length": 22, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "static", "void", "visium_output_address", "(", "FILE", "*", "file", ",", "enum", "machine_mode", "mode", ",", "rtx", "addr", ")", "{", "switch", "(", "GET_CODE", "(", "addr", ")", ")", "{", "case", "REG", ":", "case", "SUBREG", ":", "fprintf", "(", "file", ",", "\"(%s)\"", ",", "reg_names", "[", "true_regnum", "(", "addr", ")", "]", ")", ";", "break", ";", "case", "PLUS", ":", "{", "rtx", "x", "=", "XEXP", "(", "addr", ",", "0", ")", ",", "y", "=", "XEXP", "(", "addr", ",", "1", ")", ";", "switch", "(", "GET_CODE", "(", "x", ")", ")", "{", "case", "REG", ":", "case", "SUBREG", ":", "if", "(", "CONST_INT_P", "(", "y", ")", ")", "{", "unsigned", "int", "regno", "=", "true_regnum", "(", "x", ")", ";", "HOST_WIDE_INT", "val", "=", "INTVAL", "(", "y", ")", ";", "switch", "(", "mode", ")", "{", "case", "SImode", ":", "case", "DImode", ":", "case", "SFmode", ":", "case", "DFmode", ":", "val", ">>=", "2", ";", "break", ";", "case", "HImode", ":", "val", ">>=", "1", ";", "break", ";", "case", "QImode", ":", "default", ":", "break", ";", "}", "fprintf", "(", "file", ",", "HOST_WIDE_INT_PRINT_DEC", "\"(%s)\"", ",", "val", ",", "reg_names", "[", "regno", "]", ")", ";", "}", "else", "fatal_insn", "(", "\"illegal operand address (1)\"", ",", "addr", ")", ";", "break", ";", "default", ":", "if", "(", "CONSTANT_P", "(", "x", ")", "&&", "CONSTANT_P", "(", "y", ")", ")", "output_addr_const", "(", "file", ",", "addr", ")", ";", "else", "fatal_insn", "(", "\"illegal operand address (2)\"", ",", "addr", ")", ";", "break", ";", "}", "}", "break", ";", "case", "LABEL_REF", ":", "case", "SYMBOL_REF", ":", "case", "CONST_INT", ":", "case", "CONST", ":", "output_addr_const", "(", "file", ",", "addr", ")", ";", "break", ";", "case", "NOTE", ":", "if", "(", "NOTE_KIND", "(", "addr", ")", "!=", "NOTE_INSN_DELETED_LABEL", ")", "fatal_insn", "(", "\"illegal operand address (3)\"", ",", "addr", ")", ";", "break", ";", "case", "CODE_LABEL", ":", "asm_fprintf", "(", "file", ",", "\"%LL%d\"", ",", "CODE_LABEL_NUMBER", "(", "addr", ")", ")", ";", "break", ";", "default", ":", "fatal_insn", "(", "\"illegal operand address (4)\"", ",", "addr", ")", ";", "break", ";", "}", "}", ""], "natrual_language": ["Output", "to", "stdio", "stream", "FILE", "the", "assembler", "syntax", "for", "an", "instruction", "operand", "that", "is", "a", "memory", "reference", "in", "MODE", "and", "whose", "address", "is", "ADDR", "."], "TS_V_token": ["visium", "\"(%s)\"", "0", "1", "2", "1", "\"(%s)\"", "\"illegal operand address (1)\"", "\"illegal operand address (2)\"", "\"illegal operand address (3)\"", "\"%LL%d\"", "\"illegal operand address (4)\""], "File": "visium2", "Func": "visium_output_address", "Target": "visium", "Target_Clf": "Virtual ISA", "Compiler_Type": "GCC", "Idx": 2072, "Length": 282, "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": 2073, "Length": 397, "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": 2074, "Length": 19, "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": 2075, "Length": 10, "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": 2076, "Length": 167, "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": 2077, "Length": 168, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "static", "bool", "epiphany_pass_by_reference", "(", "cumulative_args_t", "ca", "ATTRIBUTE_UNUSED", ",", "machine_mode", "mode", ",", "const_tree", "type", ",", "bool", "named", "ATTRIBUTE_UNUSED", ")", "{", "if", "(", "type", ")", "{", "if", "(", "AGGREGATE_TYPE_P", "(", "type", ")", "&&", "(", "mode", "==", "BLKmode", "||", "TYPE_NEEDS_CONSTRUCTING", "(", "type", ")", ")", ")", "return", "true", ";", "}", "return", "false", ";", "}", ""], "natrual_language": ["For", "EPIPHANY", ",", "All", "aggregates", "and", "arguments", "greater", "than", "8", "bytes", "are", "passed", "by", "reference", "."], "TS_V_token": ["epiphany"], "File": "epiphany2", "Func": "epiphany_pass_by_reference", "Target": "epiphany", "Target_Clf": "MPU", "Compiler_Type": "GCC", "Idx": 2078, "Length": 50, "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": 2079, "Length": 18, "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": 2080, "Length": 64, "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": 2081, "Length": 66, "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": 2082, "Length": 11, "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": 2083, "Length": 435, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "unsigned", "char", "X86Subtarget", "::", "classifyGlobalFunctionReference", "(", "const", "GlobalValue", "*", "GV", ",", "const", "Module", "&", "M", ")", "const", "{", "if", "(", "shouldAssumeDSOLocal", "(", "TM", ".", "getRelocationModel", "(", ")", ",", "TargetTriple", ",", "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", ";", "}", "if", "(", "!", "getTargetTriple", "(", ")", ".", "isMacOSX", "(", ")", "||", "getTargetTriple", "(", ")", ".", "isMacOSXVersionLT", "(", "10", ",", "5", ")", ")", "return", "X86II", "::", "MO_DARWIN_STUB", ";", "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", "10", "5", "X86II::MO_DARWIN_STUB", "X86II::MO_NO_FLAG"], "File": "X86Subtarget64", "Func": "classifyGlobalFunctionReference", "Target": "X86", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 2084, "Length": 135, "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", ")", ";", "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", "(", "TARGET_GENERAL_REGS_ONLY_P", "(", "callee_opts", "->", "x_ix86_target_flags", ")", ")", "always_inline_safe_mask", "|=", "MASK_80387", ";", "cgraph_node", "*", "callee_node", "=", "cgraph_node", "::", "get", "(", "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", "(", "callee_node", ")", "==", "NULL", "||", "ipa_fn_summaries", "->", "get", "(", "callee_node", ")", "->", "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": "i386", "Func": "ix86_can_inline_p", "Target": "i386", "Target_Clf": "CPU", "Compiler_Type": "GCC", "Idx": 2085, "Length": 337, "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": 2086, "Length": 51, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "static", "bool", "tilegx_pass_by_reference", "(", "cumulative_args_t", "cum", "ATTRIBUTE_UNUSED", ",", "machine_mode", "mode", "ATTRIBUTE_UNUSED", ",", "const_tree", "type", ",", "bool", "named", "ATTRIBUTE_UNUSED", ")", "{", "return", "(", "type", "&&", "TYPE_SIZE", "(", "type", ")", "&&", "TREE_CODE", "(", "TYPE_SIZE", "(", "type", ")", ")", "!=", "INTEGER_CST", ")", ";", "}", ""], "natrual_language": ["Implement", "TARGET_PASS_BY_REFERENCE", ".", "Variable", "sized", "types", "are", "passed", "by", "reference", "."], "TS_V_token": ["tilegx"], "File": "tilegx2", "Func": "tilegx_pass_by_reference", "Target": "tilegx", "Target_Clf": "VLIW", "Compiler_Type": "GCC", "Idx": 2087, "Length": 41, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "DecodeStatus", "AMDGPUDisassembler", "::", "getInstruction", "(", "MCInst", "&", "MI", ",", "uint64_t", "&", "Size", ",", "ArrayRef", "<", "uint8_t", ">", "Bytes_", ",", "uint64_t", "Address", ",", "raw_ostream", "&", "WS", ",", "raw_ostream", "&", "CS", ")", "const", "{", "CommentStream", "=", "&", "CS", ";", "bool", "IsSDWA", "=", "false", ";", "if", "(", "!", "STI", ".", "getFeatureBits", "(", ")", "[", "AMDGPU", "::", "FeatureGCN3Encoding", "]", ")", "report_fatal_error", "(", "\"Disassembly not yet supported for subtarget\"", ")", ";", "const", "unsigned", "MaxInstBytesNum", "=", "(", "std", "::", "min", ")", "(", "(", "size_t", ")", "8", ",", "Bytes_", ".", "size", "(", ")", ")", ";", "Bytes", "=", "Bytes_", ".", "slice", "(", "0", ",", "MaxInstBytesNum", ")", ";", "DecodeStatus", "Res", "=", "MCDisassembler", "::", "Fail", ";", "do", "{", "if", "(", "Bytes", ".", "size", "(", ")", ">=", "8", ")", "{", "const", "uint64_t", "QW", "=", "eatBytes", "<", "uint64_t", ">", "(", "Bytes", ")", ";", "Res", "=", "tryDecodeInst", "(", "DecoderTableDPP64", ",", "MI", ",", "QW", ",", "Address", ")", ";", "if", "(", "Res", ")", "break", ";", "Res", "=", "tryDecodeInst", "(", "DecoderTableSDWA64", ",", "MI", ",", "QW", ",", "Address", ")", ";", "if", "(", "Res", ")", "{", "IsSDWA", "=", "true", ";", "break", ";", "}", "Res", "=", "tryDecodeInst", "(", "DecoderTableSDWA964", ",", "MI", ",", "QW", ",", "Address", ")", ";", "if", "(", "Res", ")", "{", "IsSDWA", "=", "true", ";", "break", ";", "}", "}", "Bytes", "=", "Bytes_", ".", "slice", "(", "0", ",", "MaxInstBytesNum", ")", ";", "if", "(", "Bytes", ".", "size", "(", ")", "<", "4", ")", "break", ";", "const", "uint32_t", "DW", "=", "eatBytes", "<", "uint32_t", ">", "(", "Bytes", ")", ";", "Res", "=", "tryDecodeInst", "(", "DecoderTableVI32", ",", "MI", ",", "DW", ",", "Address", ")", ";", "if", "(", "Res", ")", "break", ";", "Res", "=", "tryDecodeInst", "(", "DecoderTableAMDGPU32", ",", "MI", ",", "DW", ",", "Address", ")", ";", "if", "(", "Res", ")", "break", ";", "Res", "=", "tryDecodeInst", "(", "DecoderTableGFX932", ",", "MI", ",", "DW", ",", "Address", ")", ";", "if", "(", "Res", ")", "break", ";", "if", "(", "Bytes", ".", "size", "(", ")", "<", "4", ")", "break", ";", "const", "uint64_t", "QW", "=", "(", "(", "uint64_t", ")", "eatBytes", "<", "uint32_t", ">", "(", "Bytes", ")", "<<", "32", ")", "|", "DW", ";", "Res", "=", "tryDecodeInst", "(", "DecoderTableVI64", ",", "MI", ",", "QW", ",", "Address", ")", ";", "if", "(", "Res", ")", "break", ";", "Res", "=", "tryDecodeInst", "(", "DecoderTableAMDGPU64", ",", "MI", ",", "QW", ",", "Address", ")", ";", "if", "(", "Res", ")", "break", ";", "Res", "=", "tryDecodeInst", "(", "DecoderTableGFX964", ",", "MI", ",", "QW", ",", "Address", ")", ";", "}", "while", "(", "false", ")", ";", "if", "(", "Res", "&&", "(", "MI", ".", "getOpcode", "(", ")", "==", "AMDGPU", "::", "V_MAC_F32_e64_vi", "||", "MI", ".", "getOpcode", "(", ")", "==", "AMDGPU", "::", "V_MAC_F32_e64_si", "||", "MI", ".", "getOpcode", "(", ")", "==", "AMDGPU", "::", "V_MAC_F16_e64_vi", ")", ")", "{", "insertNamedMCOperand", "(", "MI", ",", "MCOperand", "::", "createImm", "(", "0", ")", ",", "AMDGPU", "::", "OpName", "::", "src2_modifiers", ")", ";", "}", "if", "(", "Res", "&&", "(", "MCII", "->", "get", "(", "MI", ".", "getOpcode", "(", ")", ")", ".", "TSFlags", "&", "SIInstrFlags", "::", "MIMG", ")", ")", "{", "Res", "=", "convertMIMGInst", "(", "MI", ")", ";", "}", "if", "(", "Res", "&&", "IsSDWA", ")", "Res", "=", "convertSDWAInst", "(", "MI", ")", ";", "Size", "=", "Res", "?", "(", "MaxInstBytesNum", "-", "Bytes", ".", "size", "(", ")", ")", ":", "0", ";", "return", "Res", ";", "}", ""], "natrual_language": ["Returns", "the", "disassembly", "of", "a", "single", "instruction", "."], "TS_V_token": ["AMDGPU", "AMDGPU", "AMDGPU::FeatureGCN3Encoding", "\"Disassembly not yet supported for subtarget\"", "8", "0", "8", "0", "4", "AMDGPU", "4", "32", "AMDGPU", "AMDGPU::V_MAC_F32_e64_vi", "AMDGPU::V_MAC_F32_e64_si", "AMDGPU::V_MAC_F16_e64_vi", "0", "AMDGPU::OpName", "SIInstrFlags::MIMG", "0"], "File": "AMDGPUDisassembler6", "Func": "getInstruction", "Target": "AMDGPU", "Target_Clf": "GPU", "Compiler_Type": "LLVM", "Idx": 2088, "Length": 499, "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": 2089, "Length": 23, "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": ["WDC65816", "SP::I6"], "File": "WDC65816RegisterInfo", "Func": "getFrameRegister", "Target": "WDC65816", "Target_Clf": "MPU", "Compiler_Type": "LLVM", "Idx": 2090, "Length": 18, "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", ";", "int", "count", ";", "machine_mode", "ag_mode", ";", "mode", "=", "TYPE_MODE", "(", "type", ")", ";", "if", "(", "INTEGRAL_TYPE_P", "(", "type", ")", ")", "mode", "=", "promote_function_mode", "(", "type", ",", "mode", ",", "&", "unsignedp", ",", "func", ",", "1", ")", ";", "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", "=", "mode_for_size", "(", "size", "*", "BITS_PER_UNIT", ",", "MODE_INT", ",", "0", ")", ";", "}", "}", "if", "(", "aarch64_vfp_is_call_or_return_candidate", "(", "mode", ",", "type", ",", "&", "ag_mode", ",", "&", "count", ",", "NULL", ")", ")", "{", "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", ")", ";", "tmp", "=", "gen_rtx_EXPR_LIST", "(", "VOIDmode", ",", "tmp", ",", "GEN_INT", "(", "i", "*", "GET_MODE_SIZE", "(", "ag_mode", ")", ")", ")", ";", "XVECEXP", "(", "par", ",", "0", ",", "i", ")", "=", "tmp", ";", "}", "return", "par", ";", "}", "}", "else", "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"], "File": "aarch642", "Func": "aarch64_function_value", "Target": "aarch64", "Target_Clf": "CPU", "Compiler_Type": "GCC", "Idx": 2091, "Length": 246, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "static", "int", "arc_sched_issue_rate", "(", "void", ")", "{", "switch", "(", "arc_tune", ")", "{", "case", "TUNE_ARCHS4X", ":", "case", "TUNE_ARCHS4XD", ":", "return", "3", ";", "default", ":", "break", ";", "}", "return", "1", ";", "}", ""], "natrual_language": ["Implements", "target", "hook", "TARGET_SCHED_ISSUE_RATE", "."], "TS_V_token": ["arc", "3", "1"], "File": "arc", "Func": "arc_sched_issue_rate", "Target": "arc", "Target_Clf": "MPU", "Compiler_Type": "GCC", "Idx": 2092, "Length": 30, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "const", "char", "*", "getPassName", "(", ")", "const", "{", "return", "\"R600 Expand special instructions pass\"", ";", "}", ""], "natrual_language": ["getPassName", "-", "Return", "a", "nice", "clean", "name", "for", "a", "pass", "."], "TS_V_token": ["R600", "\"R600 Expand special instructions pass\""], "File": "R600ExpandSpecialInstrs10", "Func": "getPassName", "Target": "R600", "Target_Clf": "GPU", "Compiler_Type": "LLVM", "Idx": 2093, "Length": 12, "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": 2094, "Length": 88, "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": 2095, "Length": 220, "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": 2096, "Length": 85, "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": 2097, "Length": 68, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "SDValue", "MSP430TargetLowering", "::", "LowerReturn", "(", "SDValue", "Chain", ",", "CallingConv", "::", "ID", "CallConv", ",", "bool", "isVarArg", ",", "const", "SmallVectorImpl", "<", "ISD", "::", "OutputArg", ">", "&", "Outs", ",", "DebugLoc", "dl", ",", "SelectionDAG", "&", "DAG", ")", "{", "SmallVector", "<", "CCValAssign", ",", "16", ">", "RVLocs", ";", "if", "(", "CallConv", "==", "CallingConv", "::", "MSP430_INTR", "&&", "!", "Outs", ".", "empty", "(", ")", ")", "{", "report_fatal_error", "(", "\"ISRs cannot return any value\"", ")", ";", "return", "SDValue", "(", ")", ";", "}", "CCState", "CCInfo", "(", "CallConv", ",", "isVarArg", ",", "getTargetMachine", "(", ")", ",", "RVLocs", ",", "*", "DAG", ".", "getContext", "(", ")", ")", ";", "CCInfo", ".", "AnalyzeReturn", "(", "Outs", ",", "RetCC_MSP430", ")", ";", "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", ")", ";", "}", "unsigned", "Opc", "=", "(", "CallConv", "==", "CallingConv", "::", "MSP430_INTR", "?", "MSP430ISD", "::", "RETI_FLAG", ":", "MSP430ISD", "::", "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": ["MSP430", "MSP430", "ISD::OutputArg", "16", "MSP430", "\"ISRs cannot return any value\"", "MSP430", "0", "0", "\"Can only return in registers!\"", "1", "MSP430", "MSP430ISD::RETI_FLAG", "MSP430ISD::RET_FLAG", "MVT::Other", "MVT::Other"], "File": "MSP430ISelLowering9", "Func": "LowerReturn", "Target": "MSP430", "Target_Clf": "MPU", "Compiler_Type": "LLVM", "Idx": 2098, "Length": 308, "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": 2099, "Length": 97, "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": ["BPF"], "File": "BPFAsmParser", "Func": "getStartLoc", "Target": "BPF", "Target_Clf": "Virtual ISA", "Compiler_Type": "LLVM", "Idx": 2100, "Length": 11, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "void", "frv_print_operand_address", "(", "FILE", "*", "stream", ",", "rtx", "x", ")", "{", "if", "(", "GET_CODE", "(", "x", ")", "==", "MEM", ")", "x", "=", "XEXP", "(", "x", ",", "0", ")", ";", "switch", "(", "GET_CODE", "(", "x", ")", ")", "{", "case", "REG", ":", "fputs", "(", "reg_names", "[", "REGNO", "(", "x", ")", "]", ",", "stream", ")", ";", "return", ";", "case", "CONST_INT", ":", "fprintf", "(", "stream", ",", "\"%ld\"", ",", "(", "long", ")", "INTVAL", "(", "x", ")", ")", ";", "return", ";", "case", "SYMBOL_REF", ":", "assemble_name", "(", "stream", ",", "XSTR", "(", "x", ",", "0", ")", ")", ";", "return", ";", "case", "LABEL_REF", ":", "case", "CONST", ":", "output_addr_const", "(", "stream", ",", "x", ")", ";", "return", ";", "default", ":", "break", ";", "}", "fatal_insn", "(", "\"bad insn to frv_print_operand_address:\"", ",", "x", ")", ";", "}", ""], "natrual_language": ["Print", "a", "memory", "address", "as", "an", "operand", "to", "reference", "that", "memory", "location", "."], "TS_V_token": ["frv", "0", "\"%ld\"", "0", "\"bad insn to frv_print_operand_address:\""], "File": "frv2", "Func": "frv_print_operand_address", "Target": "frv", "Target_Clf": "VLIW", "Compiler_Type": "GCC", "Idx": 2101, "Length": 120, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "void", "AMDGPUDAGToDAGISel", "::", "PostprocessISelDAG", "(", ")", "{", "const", "AMDGPUTargetLowering", "&", "Lowering", "=", "*", "static_cast", "<", "const", "AMDGPUTargetLowering", "*", ">", "(", "getTargetLowering", "(", ")", ")", ";", "bool", "IsModified", "=", "false", ";", "do", "{", "IsModified", "=", "false", ";", "for", "(", "SelectionDAG", "::", "allnodes_iterator", "I", "=", "CurDAG", "->", "allnodes_begin", "(", ")", ",", "E", "=", "CurDAG", "->", "allnodes_end", "(", ")", ";", "I", "!=", "E", ";", "++", "I", ")", "{", "SDNode", "*", "Node", "=", "I", ";", "MachineSDNode", "*", "MachineNode", "=", "dyn_cast", "<", "MachineSDNode", ">", "(", "I", ")", ";", "if", "(", "!", "MachineNode", ")", "continue", ";", "SDNode", "*", "ResNode", "=", "Lowering", ".", "PostISelFolding", "(", "MachineNode", ",", "*", "CurDAG", ")", ";", "if", "(", "ResNode", "!=", "Node", ")", "{", "ReplaceUses", "(", "Node", ",", "ResNode", ")", ";", "IsModified", "=", "true", ";", "}", "}", "CurDAG", "->", "RemoveDeadNodes", "(", ")", ";", "}", "while", "(", "IsModified", ")", ";", "}", ""], "natrual_language": ["PostprocessISelDAG", "(", ")", "-", "This", "hook", "allows", "the", "target", "to", "hack", "on", "the", "graph", "right", "after", "selection", "."], "TS_V_token": ["R600"], "File": "AMDGPUISelDAGToDAG102", "Func": "PostprocessISelDAG", "Target": "R600", "Target_Clf": "GPU", "Compiler_Type": "LLVM", "Idx": 2102, "Length": 137, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "static", "rtx", "lm32_function_arg", "(", "cumulative_args_t", "cum_v", ",", "machine_mode", "mode", ",", "const_tree", "type", ",", "bool", "named", ")", "{", "CUMULATIVE_ARGS", "*", "cum", "=", "get_cumulative_args", "(", "cum_v", ")", ";", "if", "(", "mode", "==", "VOIDmode", ")", "return", "GEN_INT", "(", "0", ")", ";", "if", "(", "targetm", ".", "calls", ".", "must_pass_in_stack", "(", "mode", ",", "type", ")", ")", "return", "NULL_RTX", ";", "if", "(", "!", "named", "||", "(", "*", "cum", "+", "LM32_NUM_REGS2", "(", "mode", ",", "type", ")", ">", "LM32_NUM_ARG_REGS", ")", ")", "return", "NULL_RTX", ";", "return", "gen_rtx_REG", "(", "mode", ",", "*", "cum", "+", "LM32_FIRST_ARG_REG", ")", ";", "}", ""], "natrual_language": ["Determine", "where", "to", "put", "an", "argument", "to", "a", "function", ".", "Value", "is", "zero", "to", "push", "the", "argument", "on", "the", "stack", ",", "or", "a", "hard", "register", "in", "which", "to", "store", "the", "argument", ".", "MODE", "is", "the", "argument", "'s", "machine", "mode", ".", "TYPE", "is", "the", "data", "type", "of", "the", "argument", "(", "as", "a", "tree", ")", ".", "This", "is", "null", "for", "libcalls", "where", "that", "information", "may", "not", "be", "available", ".", "CUM", "is", "a", "variable", "of", "type", "CUMULATIVE_ARGS", "which", "gives", "info", "about", "the", "preceding", "args", "and", "about", "the", "function", "being", "called", ".", "NAMED", "is", "nonzero", "if", "this", "argument", "is", "a", "named", "parameter", "(", "otherwise", "it", "is", "an", "extra", "parameter", "matching", "an", "ellipsis", ")", "."], "TS_V_token": ["lm32", "0"], "File": "lm322", "Func": "lm32_function_arg", "Target": "lm32", "Target_Clf": "MPU", "Compiler_Type": "GCC", "Idx": 2103, "Length": 88, "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": 2104, "Length": 46, "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": 2105, "Length": 44, "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": 2106, "Length": 164, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "MCObjectWriter", "*", "createObjectWriter", "(", "raw_pwrite_stream", "&", "OS", ")", "const", "override", "{", "StringRef", "CPU", "(", "\"HexagonV4\"", ")", ";", "return", "createHexagonELFObjectWriter", "(", "OS", ",", "OSABI", ",", "CPU", ")", ";", "}", ""], "natrual_language": ["Create", "a", "new", "MCObjectWriter", "instance", "for", "use", "by", "the", "assembler", "backend", "to", "emit", "the", "final", "object", "file", "."], "TS_V_token": ["Hexagon", "\"HexagonV4\"", "Hexagon"], "File": "HexagonAsmBackend29", "Func": "createObjectWriter", "Target": "Hexagon", "Target_Clf": "DSP", "Compiler_Type": "LLVM", "Idx": 2107, "Length": 28, "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": 2108, "Length": 102, "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": 2109, "Length": 213, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "bool", "preferred_la_operand_p", "(", "rtx", "op1", ",", "rtx", "op2", ")", "{", "struct", "s390_address", "addr", ";", "if", "(", "op2", "!=", "const0_rtx", ")", "op1", "=", "gen_rtx_PLUS", "(", "Pmode", ",", "op1", ",", "op2", ")", ";", "if", "(", "!", "s390_decompose_address", "(", "op1", ",", "&", "addr", ")", ")", "return", "false", ";", "if", "(", "addr", ".", "base", "&&", "!", "REGNO_OK_FOR_BASE_P", "(", "REGNO", "(", "addr", ".", "base", ")", ")", ")", "return", "false", ";", "if", "(", "addr", ".", "indx", "&&", "!", "REGNO_OK_FOR_INDEX_P", "(", "REGNO", "(", "addr", ".", "indx", ")", ")", ")", "return", "false", ";", "if", "(", "addr", ".", "indx", "&&", "s390_tune", "==", "PROCESSOR_2817_Z196", ")", "return", "false", ";", "if", "(", "!", "TARGET_64BIT", "&&", "!", "addr", ".", "pointer", ")", "return", "false", ";", "if", "(", "addr", ".", "pointer", ")", "return", "true", ";", "if", "(", "(", "addr", ".", "base", "&&", "REG_P", "(", "addr", ".", "base", ")", "&&", "REG_POINTER", "(", "addr", ".", "base", ")", ")", "||", "(", "addr", ".", "indx", "&&", "REG_P", "(", "addr", ".", "indx", ")", "&&", "REG_POINTER", "(", "addr", ".", "indx", ")", ")", ")", "return", "true", ";", "return", "false", ";", "}", ""], "natrual_language": ["Return", "true", "if", "it", "is", "valid", "*", "and", "*", "preferable", "to", "use", "LA", "to", "compute", "the", "sum", "of", "OP1", "and", "OP2", "."], "TS_V_token": ["s390"], "File": "s3904", "Func": "preferred_la_operand_p", "Target": "s390", "Target_Clf": "MPU", "Compiler_Type": "GCC", "Idx": 2110, "Length": 169, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "bool", "Z80oldFrameLowering", "::", "spillCalleeSavedRegisters", "(", "MachineBasicBlock", "&", "MBB", ",", "MachineBasicBlock", "::", "iterator", "MI", ",", "const", "std", "::", "vector", "<", "CalleeSavedInfo", ">", "&", "CSI", ",", "const", "TargetRegisterInfo", "*", "TRI", ")", "const", "{", "const", "MachineFunction", "&", "MF", "=", "*", "MBB", ".", "getParent", "(", ")", ";", "const", "MachineRegisterInfo", "&", "MRI", "=", "MF", ".", "getRegInfo", "(", ")", ";", "bool", "UseShadow", "=", "shouldUseShadow", "(", "MF", ")", ";", "DebugLoc", "DL", "=", "MBB", ".", "findDebugLoc", "(", "MI", ")", ";", "if", "(", "UseShadow", ")", "{", "shadowCalleeSavedRegisters", "(", "MBB", ",", "MI", ",", "DL", ",", "MachineInstr", "::", "FrameSetup", ",", "CSI", ")", ";", "}", "for", "(", "unsigned", "i", "=", "CSI", ".", "size", "(", ")", ";", "i", "!=", "0", ";", "--", "i", ")", "{", "unsigned", "Reg", "=", "CSI", "[", "i", "-", "1", "]", ".", "getReg", "(", ")", ";", "if", "(", "UseShadow", "&&", "!", "Z80old", "::", "IR16RegClass", ".", "contains", "(", "Reg", ")", ")", "{", "continue", ";", "}", "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", ";", "}", "}", "}", "MachineInstrBuilder", "MIB", ";", "if", "(", "Reg", "==", "Z80old", "::", "AF", ")", "{", "MIB", "=", "BuildMI", "(", "MBB", ",", "MI", ",", "DL", ",", "TII", ".", "get", "(", "Z80old", "::", "PUSH16AF", ")", ")", ";", "}", "else", "MIB", "=", "BuildMI", "(", "MBB", ",", "MI", ",", "DL", ",", "TII", ".", "get", "(", "Z80old", "::", "PUSH16r", ")", ")", ".", "addReg", "(", "Reg", ",", "getKillRegState", "(", "CanKill", ")", ")", ";", "MIB", ".", "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": ["Z80old", "Z80old", "0", "1", "Z80old::IR16RegClass", "Z80old::AF", "Z80old::PUSH16AF", "Z80old::PUSH16r"], "File": "Z80oldFrameLowering", "Func": "spillCalleeSavedRegisters", "Target": "Z80old", "Target_Clf": "MPU", "Compiler_Type": "LLVM", "Idx": 2111, "Length": 299, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "void", "BT", "::", "run", "(", ")", "{", "reset", "(", ")", ";", "assert", "(", "FlowQ", ".", "empty", "(", ")", ")", ";", "typedef", "GraphTraits", "<", "const", "MachineFunction", "*", ">", "MachineFlowGraphTraits", ";", "const", "MachineBasicBlock", "*", "Entry", "=", "MachineFlowGraphTraits", "::", "getEntryNode", "(", "&", "MF", ")", ";", "unsigned", "MaxBN", "=", "0", ";", "for", "(", "MachineFunction", "::", "const_iterator", "I", "=", "MF", ".", "begin", "(", ")", ",", "E", "=", "MF", ".", "end", "(", ")", ";", "I", "!=", "E", ";", "++", "I", ")", "{", "assert", "(", "I", "->", "getNumber", "(", ")", ">=", "0", "&&", "\"Disconnected block\"", ")", ";", "unsigned", "BN", "=", "I", "->", "getNumber", "(", ")", ";", "if", "(", "BN", ">", "MaxBN", ")", "MaxBN", "=", "BN", ";", "}", "BitVector", "BlockScanned", "(", "MaxBN", "+", "1", ")", ";", "int", "EntryN", "=", "Entry", "->", "getNumber", "(", ")", ";", "FlowQ", ".", "push", "(", "CFGEdge", "(", "-", "1", ",", "EntryN", ")", ")", ";", "while", "(", "!", "FlowQ", ".", "empty", "(", ")", ")", "{", "CFGEdge", "Edge", "=", "FlowQ", ".", "front", "(", ")", ";", "FlowQ", ".", "pop", "(", ")", ";", "if", "(", "EdgeExec", ".", "count", "(", "Edge", ")", ")", "continue", ";", "EdgeExec", ".", "insert", "(", "Edge", ")", ";", "const", "MachineBasicBlock", "&", "B", "=", "*", "MF", ".", "getBlockNumbered", "(", "Edge", ".", "second", ")", ";", "MachineBasicBlock", "::", "const_iterator", "It", "=", "B", ".", "begin", "(", ")", ",", "End", "=", "B", ".", "end", "(", ")", ";", "while", "(", "It", "!=", "End", "&&", "It", "->", "isPHI", "(", ")", ")", "{", "const", "MachineInstr", "*", "PI", "=", "&", "*", "It", "++", ";", "InstrExec", ".", "insert", "(", "PI", ")", ";", "visitPHI", "(", "PI", ")", ";", "}", "if", "(", "BlockScanned", "[", "Edge", ".", "second", "]", ")", "continue", ";", "BlockScanned", "[", "Edge", ".", "second", "]", "=", "true", ";", "while", "(", "It", "!=", "End", "&&", "!", "It", "->", "isBranch", "(", ")", ")", "{", "const", "MachineInstr", "*", "MI", "=", "&", "*", "It", "++", ";", "InstrExec", ".", "insert", "(", "MI", ")", ";", "visitNonBranch", "(", "MI", ")", ";", "}", "if", "(", "It", "==", "End", ")", "{", "MachineFunction", "::", "const_iterator", "BIt", "=", "&", "B", ";", "MachineFunction", "::", "const_iterator", "Next", "=", "std", "::", "next", "(", "BIt", ")", ";", "if", "(", "Next", "!=", "MF", ".", "end", "(", ")", ")", "{", "int", "ThisN", "=", "B", ".", "getNumber", "(", ")", ";", "int", "NextN", "=", "Next", "->", "getNumber", "(", ")", ";", "FlowQ", ".", "push", "(", "CFGEdge", "(", "ThisN", ",", "NextN", ")", ")", ";", "}", "}", "else", "{", "visitBranchesFrom", "(", "It", ")", ";", "}", "}", "if", "(", "Trace", ")", "{", "dbgs", "(", ")", "<<", "\"Cells after propagation:\\n\"", ";", "for", "(", "CellMapType", "::", "iterator", "I", "=", "Map", ".", "begin", "(", ")", ",", "E", "=", "Map", ".", "end", "(", ")", ";", "I", "!=", "E", ";", "++", "I", ")", "dbgs", "(", ")", "<<", "PrintReg", "(", "I", "->", "first", ",", "&", "ME", ".", "TRI", ")", "<<", "\" -> \"", "<<", "I", "->", "second", "<<", "\"\\n\"", ";", "}", "}", ""], "natrual_language": ["Run", "the", "analysis", "pass", "over", "a", "function", "and", "produce", "a", "dominator", "tree", "."], "TS_V_token": ["Hexagon", "0", "0", "\"Disconnected block\"", "1", "1", "\"Cells after propagation:\\n\"", "\" -> \"", "\"\\n\""], "File": "BitTracker", "Func": "run", "Target": "Hexagon", "Target_Clf": "DSP", "Compiler_Type": "LLVM", "Idx": 2112, "Length": 453, "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": 2113, "Length": 11, "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": 2114, "Length": 50, "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": 2115, "Length": 11, "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": ["PTX"], "File": "PTXTargetMachine", "Func": "getRegisterInfo", "Target": "PTX", "Target_Clf": "GPU", "Compiler_Type": "LLVM", "Idx": 2116, "Length": 18, "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": 2117, "Length": 10, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "rtx", "tilepro_return_addr", "(", "int", "count", ",", "rtx", "frame", "ATTRIBUTE_UNUSED", ")", "{", "if", "(", "count", "!=", "0", ")", "return", "const0_rtx", ";", "return", "get_hard_reg_initial_val", "(", "Pmode", ",", "TILEPRO_LINK_REGNUM", ")", ";", "}", ""], "natrual_language": ["Return", "an", "RTX", "indicating", "where", "the", "return", "address", "to", "the", "calling", "function", "can", "be", "found", "."], "TS_V_token": ["tilepro", "0"], "File": "tilepro", "Func": "tilepro_return_addr", "Target": "tilepro", "Target_Clf": "VLIW", "Compiler_Type": "GCC", "Idx": 2118, "Length": 29, "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": 2119, "Length": 132, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "bool", "AAPAsmPrinter", "::", "PrintAsmOperand", "(", "const", "MachineInstr", "*", "MI", ",", "unsigned", "OpNo", ",", "unsigned", "AsmVariant", ",", "const", "char", "*", "ExtraCode", ",", "raw_ostream", "&", "O", ")", "{", "printOperand", "(", "MI", ",", "OpNo", ",", "O", ")", ";", "return", "false", ";", "}", ""], "natrual_language": ["PrintAsmOperand", "-", "Print", "out", "an", "operand", "for", "an", "inline", "asm", "expression", "."], "TS_V_token": ["AAP", "AAP"], "File": "AAPAsmPrinter", "Func": "PrintAsmOperand", "Target": "AAP", "Target_Clf": "MPU", "Compiler_Type": "LLVM", "Idx": 2120, "Length": 39, "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": 2121, "Length": 13, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "int", "PatmosInstrInfo", "::", "getOperandLatency", "(", "const", "InstrItineraryData", "*", "ItinData", ",", "const", "MachineInstr", "&", "DefMI", ",", "unsigned", "DefIdx", ",", "const", "MachineInstr", "&", "UseMI", ",", "unsigned", "UseIdx", ")", "const", "{", "if", "(", "UseMI", ".", "isInlineAsm", "(", ")", ")", "{", "return", "getDefOperandLatency", "(", "ItinData", ",", "DefMI", ",", "DefIdx", ")", ";", "}", "return", "TargetInstrInfo", "::", "getOperandLatency", "(", "ItinData", ",", "DefMI", ",", "DefIdx", ",", "UseMI", ",", "UseIdx", ")", ";", "}", ""], "natrual_language": ["Compute", "and", "return", "the", "use", "operand", "latency", "of", "a", "given", "pair", "of", "def", "and", "use", "."], "TS_V_token": ["Patmos", "Patmos"], "File": "PatmosInstrInfo1", "Func": "getOperandLatency", "Target": "Patmos", "Target_Clf": "VLIW", "Compiler_Type": "LLVM", "Idx": 2122, "Length": 65, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "bool", "HexagonTargetLowering", "::", "isLegalAddressingMode", "(", "const", "DataLayout", "&", "DL", ",", "const", "AddrMode", "&", "AM", ",", "Type", "*", "Ty", ",", "unsigned", "AS", ")", "const", "{", "if", "(", "Ty", "->", "isSized", "(", ")", ")", "{", "unsigned", "A", "=", "DL", ".", "getABITypeAlignment", "(", "Ty", ")", ";", "if", "(", "(", "AM", ".", "BaseOffs", "%", "A", ")", "!=", "0", ")", "return", "false", ";", "if", "(", "!", "isInt", "<", "11", ">", "(", "AM", ".", "BaseOffs", ">>", "Log2_32", "(", "A", ")", ")", ")", "return", "false", ";", "}", "if", "(", "AM", ".", "BaseGV", ")", "return", "false", ";", "int", "Scale", "=", "AM", ".", "Scale", ";", "if", "(", "Scale", "<", "0", ")", "Scale", "=", "-", "Scale", ";", "switch", "(", "Scale", ")", "{", "case", "0", ":", "break", ";", "default", ":", "return", "false", ";", "}", "return", "true", ";", "}", ""], "natrual_language": ["isLegalAddressingMode", "-", "Return", "true", "if", "the", "addressing", "mode", "represented", "by", "AM", "is", "legal", "for", "this", "target", ",", "for", "a", "load/store", "of", "the", "specified", "type", "."], "TS_V_token": ["Hexagon", "Hexagon", "0", "11", "0", "0"], "File": "HexagonISelLowering114", "Func": "isLegalAddressingMode", "Target": "Hexagon", "Target_Clf": "DSP", "Compiler_Type": "LLVM", "Idx": 2123, "Length": 127, "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": 2124, "Length": 114, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "const", "char", "*", "AMDGPUTargetLowering", "::", "getTargetNodeName", "(", "unsigned", "Opcode", ")", "const", "{", "switch", "(", "(", "AMDGPUISD", "::", "NodeType", ")", "Opcode", ")", "{", "case", "AMDGPUISD", "::", "FIRST_NUMBER", ":", "break", ";", "NODE_NAME_CASE", "(", "CALL", ")", ";", "NODE_NAME_CASE", "(", "UMUL", ")", ";", "NODE_NAME_CASE", "(", "BRANCH_COND", ")", ";", "NODE_NAME_CASE", "(", "ENDPGM", ")", "NODE_NAME_CASE", "(", "RETURN", ")", "NODE_NAME_CASE", "(", "DWORDADDR", ")", "NODE_NAME_CASE", "(", "FRACT", ")", "NODE_NAME_CASE", "(", "CLAMP", ")", "NODE_NAME_CASE", "(", "COS_HW", ")", "NODE_NAME_CASE", "(", "SIN_HW", ")", "NODE_NAME_CASE", "(", "FMAX_LEGACY", ")", "NODE_NAME_CASE", "(", "FMIN_LEGACY", ")", "NODE_NAME_CASE", "(", "FMAX3", ")", "NODE_NAME_CASE", "(", "SMAX3", ")", "NODE_NAME_CASE", "(", "UMAX3", ")", "NODE_NAME_CASE", "(", "FMIN3", ")", "NODE_NAME_CASE", "(", "SMIN3", ")", "NODE_NAME_CASE", "(", "UMIN3", ")", "NODE_NAME_CASE", "(", "FMED3", ")", "NODE_NAME_CASE", "(", "SMED3", ")", "NODE_NAME_CASE", "(", "UMED3", ")", "NODE_NAME_CASE", "(", "URECIP", ")", "NODE_NAME_CASE", "(", "DIV_SCALE", ")", "NODE_NAME_CASE", "(", "DIV_FMAS", ")", "NODE_NAME_CASE", "(", "DIV_FIXUP", ")", "NODE_NAME_CASE", "(", "TRIG_PREOP", ")", "NODE_NAME_CASE", "(", "RCP", ")", "NODE_NAME_CASE", "(", "RSQ", ")", "NODE_NAME_CASE", "(", "RSQ_LEGACY", ")", "NODE_NAME_CASE", "(", "RSQ_CLAMP", ")", "NODE_NAME_CASE", "(", "LDEXP", ")", "NODE_NAME_CASE", "(", "FP_CLASS", ")", "NODE_NAME_CASE", "(", "DOT4", ")", "NODE_NAME_CASE", "(", "CARRY", ")", "NODE_NAME_CASE", "(", "BORROW", ")", "NODE_NAME_CASE", "(", "BFE_U32", ")", "NODE_NAME_CASE", "(", "BFE_I32", ")", "NODE_NAME_CASE", "(", "BFI", ")", "NODE_NAME_CASE", "(", "BFM", ")", "NODE_NAME_CASE", "(", "FFBH_U32", ")", "NODE_NAME_CASE", "(", "MUL_U24", ")", "NODE_NAME_CASE", "(", "MUL_I24", ")", "NODE_NAME_CASE", "(", "MAD_U24", ")", "NODE_NAME_CASE", "(", "MAD_I24", ")", "NODE_NAME_CASE", "(", "TEXTURE_FETCH", ")", "NODE_NAME_CASE", "(", "EXPORT", ")", "NODE_NAME_CASE", "(", "CONST_ADDRESS", ")", "NODE_NAME_CASE", "(", "REGISTER_LOAD", ")", "NODE_NAME_CASE", "(", "REGISTER_STORE", ")", "NODE_NAME_CASE", "(", "LOAD_INPUT", ")", "NODE_NAME_CASE", "(", "SAMPLE", ")", "NODE_NAME_CASE", "(", "SAMPLEB", ")", "NODE_NAME_CASE", "(", "SAMPLED", ")", "NODE_NAME_CASE", "(", "SAMPLEL", ")", "NODE_NAME_CASE", "(", "CVT_F32_UBYTE0", ")", "NODE_NAME_CASE", "(", "CVT_F32_UBYTE1", ")", "NODE_NAME_CASE", "(", "CVT_F32_UBYTE2", ")", "NODE_NAME_CASE", "(", "CVT_F32_UBYTE3", ")", "NODE_NAME_CASE", "(", "BUILD_VERTICAL_VECTOR", ")", "NODE_NAME_CASE", "(", "CONST_DATA_PTR", ")", "NODE_NAME_CASE", "(", "PC_ADD_REL_OFFSET", ")", "case", "AMDGPUISD", "::", "FIRST_MEM_OPCODE_NUMBER", ":", "break", ";", "NODE_NAME_CASE", "(", "SENDMSG", ")", "NODE_NAME_CASE", "(", "INTERP_MOV", ")", "NODE_NAME_CASE", "(", "INTERP_P1", ")", "NODE_NAME_CASE", "(", "INTERP_P2", ")", "NODE_NAME_CASE", "(", "STORE_MSKOR", ")", "NODE_NAME_CASE", "(", "LOAD_CONSTANT", ")", "NODE_NAME_CASE", "(", "TBUFFER_STORE_FORMAT", ")", "NODE_NAME_CASE", "(", "ATOMIC_CMP_SWAP", ")", "NODE_NAME_CASE", "(", "ATOMIC_INC", ")", "NODE_NAME_CASE", "(", "ATOMIC_DEC", ")", "case", "AMDGPUISD", "::", "LAST_AMDGPU_ISD_NUMBER", ":", "break", ";", "}", "return", "nullptr", ";", "}", ""], "natrual_language": ["getTargetNodeName", "-", "This", "method", "returns", "the", "name", "of", "a", "target", "specific"], "TS_V_token": ["AMDGPU", "AMDGPU", "AMDGPUISD::NodeType", "AMDGPUISD::FIRST_NUMBER", "SI", "AMDGPUISD::FIRST_MEM_OPCODE_NUMBER", "AMDGPUISD::LAST_AMDGPU_ISD_NUMBER"], "File": "AMDGPUISelLowering127", "Func": "getTargetNodeName", "Target": "AMDGPU", "Target_Clf": "GPU", "Compiler_Type": "LLVM", "Idx": 2125, "Length": 335, "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": 2126, "Length": 19, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "void", "BlackfinTargetLowering", "::", "ReplaceNodeResults", "(", "SDNode", "*", "N", ",", "SmallVectorImpl", "<", "SDValue", ">", "&", "Results", ",", "SelectionDAG", "&", "DAG", ")", "{", "DebugLoc", "dl", "=", "N", "->", "getDebugLoc", "(", ")", ";", "switch", "(", "N", "->", "getOpcode", "(", ")", ")", "{", "default", ":", "llvm_unreachable", "(", "\"Do not know how to custom type legalize this operation!\"", ")", ";", "return", ";", "case", "ISD", "::", "READCYCLECOUNTER", ":", "{", "SDValue", "TheChain", "=", "N", "->", "getOperand", "(", "0", ")", ";", "SDValue", "lo", "=", "DAG", ".", "getCopyFromReg", "(", "TheChain", ",", "dl", ",", "BF", "::", "CYCLES", ",", "MVT", "::", "i32", ")", ";", "SDValue", "hi", "=", "DAG", ".", "getCopyFromReg", "(", "lo", ".", "getValue", "(", "1", ")", ",", "dl", ",", "BF", "::", "CYCLES2", ",", "MVT", "::", "i32", ")", ";", "Results", ".", "push_back", "(", "DAG", ".", "getNode", "(", "ISD", "::", "BUILD_PAIR", ",", "dl", ",", "MVT", "::", "i64", ",", "lo", ",", "hi", ")", ")", ";", "Results", ".", "push_back", "(", "hi", ".", "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": ["Blackfin", "\"Do not know how to custom type legalize this operation!\"", "ISD::READCYCLECOUNTER", "0", "BF::CYCLES", "MVT::i32", "1", "BF::CYCLES2", "MVT::i32", "ISD::BUILD_PAIR", "MVT::i64", "1"], "File": "BlackfinISelLowering2", "Func": "ReplaceNodeResults", "Target": "Blackfin", "Target_Clf": "DSP", "Compiler_Type": "LLVM", "Idx": 2127, "Length": 150, "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": 2128, "Length": 180, "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": 2129, "Length": 402, "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": 2130, "Length": 20, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "EVT", "PatmosTargetLowering", "::", "getSetCCResultType", "(", "const", "DataLayout", "&", "DL", ",", "LLVMContext", "&", "Context", ",", "EVT", "VT", ")", "const", "{", "return", "MVT", "::", "i1", ";", "}", ""], "natrual_language": ["Return", "the", "value", "type", "to", "use", "for", "ISD", ":", ":SETCC", "."], "TS_V_token": ["Patmos", "Patmos", "MVT::i1"], "File": "PatmosISelLowering1", "Func": "getSetCCResultType", "Target": "Patmos", "Target_Clf": "VLIW", "Compiler_Type": "LLVM", "Idx": 2131, "Length": 25, "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": 2132, "Length": 324, "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": 2133, "Length": 17, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "bool", "TriCoreRegisterInfo", "::", "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": ["TriCore", "TriCore"], "File": "TriCoreRegisterInfo (2)", "Func": "useFPForScavengingIndex", "Target": "TriCore", "Target_Clf": "MPU", "Compiler_Type": "LLVM", "Idx": 2134, "Length": 16, "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": ["MCS51"], "File": "MCS51AsmParser", "Func": "isReg", "Target": "MCS51", "Target_Clf": "MPU", "Compiler_Type": "LLVM", "Idx": 2135, "Length": 13, "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": 2136, "Length": 103, "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": 2137, "Length": 50, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "StringRef", "getPassName", "(", ")", "const", "override", "{", "return", "\"SI Lower i1 Copies\"", ";", "}", ""], "natrual_language": ["getPassName", "-", "Return", "a", "nice", "clean", "name", "for", "a", "pass", "."], "TS_V_token": ["AMDGPU", "\"SI Lower i1 Copies\""], "File": "SILowerI1Copies", "Func": "getPassName", "Target": "AMDGPU", "Target_Clf": "GPU", "Compiler_Type": "LLVM", "Idx": 2138, "Length": 11, "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": 2139, "Length": 417, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "SDValue", "PIC16TargetLowering", "::", "PerformDAGCombine", "(", "SDNode", "*", "N", ",", "DAGCombinerInfo", "&", "DCI", ")", "const", "{", "switch", "(", "N", "->", "getOpcode", "(", ")", ")", "{", "case", "PIC16ISD", "::", "PIC16Load", ":", "return", "PerformPIC16LoadCombine", "(", "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": ["PIC16", "PIC16", "PIC16ISD::PIC16Load", "PIC16"], "File": "PIC16ISelLowering5", "Func": "PerformDAGCombine", "Target": "PIC16", "Target_Clf": "MPU", "Compiler_Type": "LLVM", "Idx": 2140, "Length": 44, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "const", "TargetRegisterClass", "*", "MOSRegisterInfo", "::", "getLargestLegalSuperClass", "(", "const", "TargetRegisterClass", "*", "RC", ",", "const", "MachineFunction", "&", ")", "const", "{", "if", "(", "RC", "->", "hasSuperClass", "(", "&", "MOS", "::", "Anyi1RegClass", ")", ")", "return", "&", "MOS", "::", "Anyi1RegClass", ";", "if", "(", "RC", "->", "hasSuperClass", "(", "&", "MOS", "::", "Anyi8RegClass", ")", ")", "return", "&", "MOS", "::", "Anyi8RegClass", ";", "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": ["MOS", "MOS", "MOS::Anyi1RegClass", "MOS::Anyi1RegClass", "MOS::Anyi8RegClass", "MOS::Anyi8RegClass"], "File": "MOSRegisterInfo", "Func": "getLargestLegalSuperClass", "Target": "MOS", "Target_Clf": "MPU", "Compiler_Type": "LLVM", "Idx": 2141, "Length": 58, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "SDValue", "BPFTargetLowering", "::", "LowerCallResult", "(", "SDValue", "Chain", ",", "SDValue", "InFlag", ",", "CallingConv", "::", "ID", "CallConv", ",", "bool", "IsVarArg", ",", "const", "SmallVectorImpl", "<", "ISD", "::", "InputArg", ">", "&", "Ins", ",", "SDLoc", "DL", ",", "SelectionDAG", "&", "DAG", ",", "SmallVectorImpl", "<", "SDValue", ">", "&", "InVals", ")", "const", "{", "MachineFunction", "&", "MF", "=", "DAG", ".", "getMachineFunction", "(", ")", ";", "SmallVector", "<", "CCValAssign", ",", "16", ">", "RVLocs", ";", "CCState", "CCInfo", "(", "CallConv", ",", "IsVarArg", ",", "MF", ",", "RVLocs", ",", "*", "DAG", ".", "getContext", "(", ")", ")", ";", "if", "(", "Ins", ".", "size", "(", ")", ">=", "2", ")", "{", "DiagnosticInfoUnsupported", "Err", "(", "DL", ",", "*", "MF", ".", "getFunction", "(", ")", ",", "\"only small returns supported\"", ",", "SDValue", "(", ")", ")", ";", "DAG", ".", "getContext", "(", ")", "->", "diagnose", "(", "Err", ")", ";", "}", "CCInfo", ".", "AnalyzeCallResult", "(", "Ins", ",", "RetCC_BPF64", ")", ";", "for", "(", "auto", "&", "Val", ":", "RVLocs", ")", "{", "Chain", "=", "DAG", ".", "getCopyFromReg", "(", "Chain", ",", "DL", ",", "Val", ".", "getLocReg", "(", ")", ",", "Val", ".", "getValVT", "(", ")", ",", "InFlag", ")", ".", "getValue", "(", "1", ")", ";", "InFlag", "=", "Chain", ".", "getValue", "(", "2", ")", ";", "InVals", ".", "push_back", "(", "Chain", ".", "getValue", "(", "0", ")", ")", ";", "}", "return", "Chain", ";", "}", ""], "natrual_language": ["LowerCallResult", "-", "Lower", "the", "result", "values", "of", "an", "ISD", ":", ":CALL", "into", "the", "appropriate", "copies", "out", "of", "appropriate", "physical", "registers", "."], "TS_V_token": ["BPF", "BPF", "ISD::InputArg", "16", "2", "\"only small returns supported\"", "BPF", "1", "2", "0"], "File": "BPFISelLowering (2)", "Func": "LowerCallResult", "Target": "BPF", "Target_Clf": "Virtual ISA", "Compiler_Type": "LLVM", "Idx": 2142, "Length": 198, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "void", "NVPTXAsmPrinter", "::", "EmitInstruction", "(", "const", "MachineInstr", "*", "MI", ")", "{", "MCInst", "Inst", ";", "lowerToMCInst", "(", "MI", ",", "Inst", ")", ";", "EmitToStreamer", "(", "*", "OutStreamer", ",", "Inst", ")", ";", "}", ""], "natrual_language": ["EmitInstruction", "-", "This", "callback", "is", "invoked", "when", "an", "instruction", "is", "emitted", ",", "to", "advance", "the", "hazard", "state", "."], "TS_V_token": ["NVPTX", "NVPTX"], "File": "NVPTXAsmPrinter2", "Func": "EmitInstruction", "Target": "NVPTX", "Target_Clf": "GPU", "Compiler_Type": "LLVM", "Idx": 2143, "Length": 30, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "MSP430Subtarget", "::", "MSP430Subtarget", "(", "const", "Triple", "&", "TT", ",", "const", "std", "::", "string", "&", "CPU", ",", "const", "std", "::", "string", "&", "FS", ",", "const", "TargetMachine", "&", "TM", ")", ":", "MSP430GenSubtargetInfo", "(", "TT", ",", "CPU", ",", "CPU", ",", "FS", ")", ",", "FrameLowering", "(", ")", ",", "InstrInfo", "(", "initializeSubtargetDependencies", "(", "CPU", ",", "FS", ")", ")", ",", "TLInfo", "(", "TM", ",", "*", "this", ")", "{", "}", ""], "natrual_language": ["This", "constructor", "initializes", "the", "data", "members", "to", "match", "that", "of", "the", "specified", "triple", "."], "TS_V_token": ["MSP430", "MSP430", "MSP430", "MSP430"], "File": "MSP430Subtarget16", "Func": "MSP430Subtarget", "Target": "MSP430", "Target_Clf": "MPU", "Compiler_Type": "LLVM", "Idx": 2144, "Length": 63, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "static", "void", "mips_add_gc_roots", "(", ")", "{", "ggc_add_rtx_root", "(", "&", "mips_load_reg", ",", "1", ")", ";", "ggc_add_rtx_root", "(", "&", "mips_load_reg2", ",", "1", ")", ";", "ggc_add_rtx_root", "(", "&", "mips_load_reg3", ",", "1", ")", ";", "ggc_add_rtx_root", "(", "&", "mips_load_reg4", ",", "1", ")", ";", "ggc_add_rtx_root", "(", "branch_cmp", ",", "sizeof", "(", "branch_cmp", ")", "/", "sizeof", "(", "rtx", ")", ")", ";", "ggc_add_rtx_root", "(", "&", "embedded_pic_fnaddr_rtx", ",", "1", ")", ";", "ggc_add_rtx_root", "(", "&", "mips16_gp_pseudo_rtx", ",", "1", ")", ";", "}", ""], "natrual_language": ["Called", "to", "register", "all", "of", "our", "global", "variables", "with", "the", "garbage", "collector", "."], "TS_V_token": ["mips", "1", "1", "1", "1", "1", "1"], "File": "mips2", "Func": "mips_add_gc_roots", "Target": "mips", "Target_Clf": "CPU", "Compiler_Type": "GCC", "Idx": 2145, "Length": 70, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "bool", "SITargetLowering", "::", "allowsMisalignedMemoryAccesses", "(", "EVT", "VT", ",", "unsigned", "AddrSpace", ",", "unsigned", "Align", ",", "bool", "*", "IsFast", ")", "const", "{", "if", "(", "IsFast", ")", "*", "IsFast", "=", "false", ";", "if", "(", "!", "VT", ".", "isSimple", "(", ")", "||", "VT", "==", "MVT", "::", "Other", ")", "return", "false", ";", "if", "(", "AddrSpace", "==", "AMDGPUAS", "::", "LOCAL_ADDRESS", "||", "AddrSpace", "==", "AMDGPUAS", "::", "REGION_ADDRESS", ")", "{", "bool", "AlignedBy4", "=", "(", "Align", "%", "4", "==", "0", ")", ";", "if", "(", "IsFast", ")", "*", "IsFast", "=", "AlignedBy4", ";", "return", "AlignedBy4", ";", "}", "if", "(", "Subtarget", "->", "hasUnalignedBufferAccess", "(", ")", ")", "{", "if", "(", "IsFast", ")", "{", "*", "IsFast", "=", "(", "AddrSpace", "==", "AMDGPUAS", "::", "CONSTANT_ADDRESS", ")", "?", "(", "Align", "%", "4", "==", "0", ")", ":", "true", ";", "}", "return", "true", ";", "}", "if", "(", "VT", ".", "bitsLT", "(", "MVT", "::", "i32", ")", ")", "return", "false", ";", "if", "(", "IsFast", ")", "*", "IsFast", "=", "true", ";", "return", "VT", ".", "bitsGT", "(", "MVT", "::", "i32", ")", "&&", "Align", "%", "4", "==", "0", ";", "}", ""], "natrual_language": ["Returns", "true", "if", "the", "target", "allows", "unaligned", "memory", "accesses", "of", "the", "specified", "type", "."], "TS_V_token": ["AMDGPU", "SI", "MVT::Other", "AMDGPU", "AMDGPU", "4", "0", "AMDGPU", "4", "0", "MVT::i32", "MVT::i32", "4", "0"], "File": "SIISelLowering101", "Func": "allowsMisalignedMemoryAccesses", "Target": "AMDGPU", "Target_Clf": "GPU", "Compiler_Type": "LLVM", "Idx": 2146, "Length": 166, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "void", "NVPTXAsmPrinter", "::", "emitBasicBlockStart", "(", "const", "MachineBasicBlock", "&", "MBB", ")", "{", "AsmPrinter", "::", "emitBasicBlockStart", "(", "MBB", ")", ";", "if", "(", "isLoopHeaderOfNoUnroll", "(", "MBB", ")", ")", "OutStreamer", "->", "emitRawText", "(", "StringRef", "(", "\"\\t.pragma \\\"nounroll\\\";\\n\"", ")", ")", ";", "}", ""], "natrual_language": ["Targets", "can", "override", "this", "to", "emit", "stuff", "at", "the", "start", "of", "a", "basic", "block", "."], "TS_V_token": ["NVPTX", "NVPTX", "\"\\t.pragma \\\"nounroll\\\";\\n\""], "File": "NVPTXAsmPrinter15", "Func": "emitBasicBlockStart", "Target": "NVPTX", "Target_Clf": "GPU", "Compiler_Type": "LLVM", "Idx": 2147, "Length": 36, "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": 2148, "Length": 397, "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": 2149, "Length": 80, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "bool", "ARCompactInstrInfo", "::", "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", "+=", "10", "/", "10", ";", "return", "(", "TCycles", "+", "FCycles", "+", "TExtra", "+", "FExtra", ")", "<=", "UnpredCost", ";", "}", ""], "natrual_language": ["Second", "variant", "of", "isProfitableToIfCvt", "."], "TS_V_token": ["ARCompact", "ARC", "1", "10", "10"], "File": "ARCompactInstrInfo", "Func": "isProfitableToIfCvt", "Target": "ARCompact", "Target_Clf": "MPU", "Compiler_Type": "LLVM", "Idx": 2150, "Length": 125, "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": 2151, "Length": 193, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "bool", "SIFoldOperands", "::", "runOnMachineFunction", "(", "MachineFunction", "&", "MF", ")", "{", "if", "(", "skipFunction", "(", "*", "MF", ".", "getFunction", "(", ")", ")", ")", "return", "false", ";", "MRI", "=", "&", "MF", ".", "getRegInfo", "(", ")", ";", "ST", "=", "&", "MF", ".", "getSubtarget", "<", "SISubtarget", ">", "(", ")", ";", "TII", "=", "ST", "->", "getInstrInfo", "(", ")", ";", "TRI", "=", "&", "TII", "->", "getRegisterInfo", "(", ")", ";", "const", "SIMachineFunctionInfo", "*", "MFI", "=", "MF", ".", "getInfo", "<", "SIMachineFunctionInfo", ">", "(", ")", ";", "bool", "IsIEEEMode", "=", "ST", "->", "enableIEEEBit", "(", "MF", ")", "||", "!", "MFI", "->", "hasNoSignedZerosFPMath", "(", ")", ";", "for", "(", "MachineBasicBlock", "*", "MBB", ":", "depth_first", "(", "&", "MF", ")", ")", "{", "MachineBasicBlock", "::", "iterator", "I", ",", "Next", ";", "for", "(", "I", "=", "MBB", "->", "begin", "(", ")", ";", "I", "!=", "MBB", "->", "end", "(", ")", ";", "I", "=", "Next", ")", "{", "Next", "=", "std", "::", "next", "(", "I", ")", ";", "MachineInstr", "&", "MI", "=", "*", "I", ";", "tryFoldInst", "(", "TII", ",", "&", "MI", ")", ";", "if", "(", "!", "TII", "->", "isFoldableCopy", "(", "MI", ")", ")", "{", "if", "(", "IsIEEEMode", "||", "!", "tryFoldOMod", "(", "MI", ")", ")", "tryFoldClamp", "(", "MI", ")", ";", "continue", ";", "}", "MachineOperand", "&", "OpToFold", "=", "MI", ".", "getOperand", "(", "1", ")", ";", "bool", "FoldingImm", "=", "OpToFold", ".", "isImm", "(", ")", "||", "OpToFold", ".", "isFI", "(", ")", ";", "if", "(", "!", "FoldingImm", "&&", "!", "OpToFold", ".", "isReg", "(", ")", ")", "continue", ";", "if", "(", "OpToFold", ".", "isReg", "(", ")", "&&", "!", "TargetRegisterInfo", "::", "isVirtualRegister", "(", "OpToFold", ".", "getReg", "(", ")", ")", ")", "continue", ";", "MachineOperand", "&", "Dst", "=", "MI", ".", "getOperand", "(", "0", ")", ";", "if", "(", "Dst", ".", "isReg", "(", ")", "&&", "!", "TargetRegisterInfo", "::", "isVirtualRegister", "(", "Dst", ".", "getReg", "(", ")", ")", ")", "continue", ";", "foldInstOperand", "(", "MI", ",", "OpToFold", ")", ";", "}", "}", "return", "false", ";", "}", ""], "natrual_language": ["runOnMachineFunction", "-", "Emit", "the", "function", "body", "."], "TS_V_token": ["AMDGPU", "SI", "SI", "SI", "SI", "1", "0"], "File": "SIFoldOperands16", "Func": "runOnMachineFunction", "Target": "AMDGPU", "Target_Clf": "GPU", "Compiler_Type": "LLVM", "Idx": 2152, "Length": 298, "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": 2153, "Length": 137, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "void", "add", "(", "const", "IndexRange", "&", "Range", ")", "{", "push_back", "(", "Range", ")", ";", "}", ""], "natrual_language": ["Add", "a", "string", "to", "the", "builder", "."], "TS_V_token": ["Hexagon"], "File": "HexagonBlockRanges", "Func": "add", "Target": "Hexagon", "Target_Clf": "DSP", "Compiler_Type": "LLVM", "Idx": 2154, "Length": 15, "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": 2155, "Length": 163, "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": 2156, "Length": 55, "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": 2157, "Length": 12, "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": 2158, "Length": 39, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "static", "unsigned", "findDeadCallerSavedReg", "(", "MachineBasicBlock", "&", "MBB", ",", "MachineBasicBlock", "::", "iterator", "&", "MBBI", ",", "const", "M68kRegisterInfo", "*", "TRI", ")", "{", "const", "MachineFunction", "*", "MF", "=", "MBB", ".", "getParent", "(", ")", ";", "if", "(", "MF", "->", "callsEHReturn", "(", ")", ")", "return", "0", ";", "const", "TargetRegisterClass", "&", "AvailableRegs", "=", "*", "TRI", "->", "getRegsForTailCall", "(", "*", "MF", ")", ";", "if", "(", "MBBI", "==", "MBB", ".", "end", "(", ")", ")", "return", "0", ";", "switch", "(", "MBBI", "->", "getOpcode", "(", ")", ")", "{", "default", ":", "return", "0", ";", "case", "TargetOpcode", "::", "PATCHABLE_RET", ":", "case", "M68k", "::", "RET", ":", "{", "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", ")", ")", "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": ["M68k", "M68k", "0", "0", "0", "M68k::RET", "8", "0", "0"], "File": "M68kFrameLowering", "Func": "findDeadCallerSavedReg", "Target": "M68k", "Target_Clf": "MPU", "Compiler_Type": "LLVM", "Idx": 2159, "Length": 225, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "bool", "arc_double_limm_p", "(", "rtx", "value", ")", "{", "HOST_WIDE_INT", "low", ",", "high", ";", "gcc_assert", "(", "GET_CODE", "(", "value", ")", "==", "CONST_DOUBLE", ")", ";", "if", "(", "TARGET_DPFP", ")", "return", "true", ";", "low", "=", "CONST_DOUBLE_LOW", "(", "value", ")", ";", "high", "=", "CONST_DOUBLE_HIGH", "(", "value", ")", ";", "if", "(", "low", "&", "0x80000000", ")", "{", "return", "(", "(", "(", "unsigned", "HOST_WIDE_INT", ")", "low", "<=", "0xffffffff", "&&", "high", "==", "0", ")", "||", "(", "(", "(", "low", "&", "-", "(", "unsigned", "HOST_WIDE_INT", ")", "0x80000000", ")", "==", "-", "(", "unsigned", "HOST_WIDE_INT", ")", "0x80000000", ")", "&&", "high", "==", "-", "1", ")", ")", ";", "}", "else", "{", "return", "(", "unsigned", "HOST_WIDE_INT", ")", "low", "<=", "0x7fffffff", "&&", "high", "==", "0", ";", "}", "}", ""], "natrual_language": ["Return", "1", "if", "VALUE", ",", "a", "const_double", ",", "will", "fit", "in", "a", "limm", "(", "4", "byte", "number", ")", ".", "We", "assume", "the", "value", "can", "be", "either", "signed", "or", "unsigned", "."], "TS_V_token": ["arc", "0x80000000", "0xffffffff", "0", "0x80000000", "0x80000000", "1", "0x7fffffff", "0"], "File": "arc", "Func": "arc_double_limm_p", "Target": "arc", "Target_Clf": "MPU", "Compiler_Type": "GCC", "Idx": 2160, "Length": 112, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "bool", "runOnMachineFunction", "(", "MachineFunction", "&", "MF", ")", "{", "const", "PatmosMachineFunctionInfo", "*", "PMFI", "=", "MF", ".", "getInfo", "<", "PatmosMachineFunctionInfo", ">", "(", ")", ";", "bool", "Changed", "=", "false", ";", "if", "(", "MinSubfunctionAlignment", ">", "MF", ".", "getAlignment", "(", ")", ")", "{", "MF", ".", "ensureAlignment", "(", "MinSubfunctionAlignment", ")", ";", "Changed", "=", "true", ";", "}", "for", "(", "MachineFunction", "::", "iterator", "i", "=", "MF", ".", "begin", "(", ")", ",", "ie", "=", "MF", ".", "end", "(", ")", ";", "i", "!=", "ie", ";", "++", "i", ")", "{", "unsigned", "align", ";", "if", "(", "PMFI", "->", "isMethodCacheRegionEntry", "(", "i", ")", ")", "{", "align", "=", "MinSubfunctionAlignment", ";", "}", "else", "{", "align", "=", "MinBasicBlockAlignment", ";", "}", "if", "(", "align", ">", "i", "->", "getAlignment", "(", ")", ")", "{", "i", "->", "setAlignment", "(", "align", ")", ";", "Changed", "=", "true", ";", "}", "}", "return", "Changed", ";", "}", ""], "natrual_language": ["runOnMachineFunction", "-", "Emit", "the", "function", "body", "."], "TS_V_token": ["Patmos", "Patmos", "Patmos"], "File": "PatmosEnsureAlignment", "Func": "runOnMachineFunction", "Target": "Patmos", "Target_Clf": "VLIW", "Compiler_Type": "LLVM", "Idx": 2161, "Length": 132, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "int", "m32c_reg_class_from_constraint", "(", "char", "c", "ATTRIBUTE_UNUSED", ",", "const", "char", "*", "s", ")", "{", "if", "(", "memcmp", "(", "s", ",", "\"Rsp\"", ",", "3", ")", "==", "0", ")", "return", "SP_REGS", ";", "if", "(", "memcmp", "(", "s", ",", "\"Rfb\"", ",", "3", ")", "==", "0", ")", "return", "FB_REGS", ";", "if", "(", "memcmp", "(", "s", ",", "\"Rsb\"", ",", "3", ")", "==", "0", ")", "return", "SB_REGS", ";", "if", "(", "memcmp", "(", "s", ",", "\"Rcr\"", ",", "3", ")", "==", "0", "&&", "TARGET_A16", ")", "return", "CR_REGS", ";", "if", "(", "memcmp", "(", "s", ",", "\"Rcl\"", ",", "3", ")", "==", "0", "&&", "TARGET_A24", ")", "return", "CR_REGS", ";", "if", "(", "memcmp", "(", "s", ",", "\"R0w\"", ",", "3", ")", "==", "0", ")", "return", "R0_REGS", ";", "if", "(", "memcmp", "(", "s", ",", "\"R1w\"", ",", "3", ")", "==", "0", ")", "return", "R1_REGS", ";", "if", "(", "memcmp", "(", "s", ",", "\"R2w\"", ",", "3", ")", "==", "0", ")", "return", "R2_REGS", ";", "if", "(", "memcmp", "(", "s", ",", "\"R3w\"", ",", "3", ")", "==", "0", ")", "return", "R3_REGS", ";", "if", "(", "memcmp", "(", "s", ",", "\"R02\"", ",", "3", ")", "==", "0", ")", "return", "R02_REGS", ";", "if", "(", "memcmp", "(", "s", ",", "\"R03\"", ",", "3", ")", "==", "0", ")", "return", "R03_REGS", ";", "if", "(", "memcmp", "(", "s", ",", "\"Rdi\"", ",", "3", ")", "==", "0", ")", "return", "DI_REGS", ";", "if", "(", "memcmp", "(", "s", ",", "\"Rhl\"", ",", "3", ")", "==", "0", ")", "return", "HL_REGS", ";", "if", "(", "memcmp", "(", "s", ",", "\"R23\"", ",", "3", ")", "==", "0", ")", "return", "R23_REGS", ";", "if", "(", "memcmp", "(", "s", ",", "\"Raa\"", ",", "3", ")", "==", "0", ")", "return", "A_REGS", ";", "if", "(", "memcmp", "(", "s", ",", "\"Raw\"", ",", "3", ")", "==", "0", "&&", "TARGET_A16", ")", "return", "A_REGS", ";", "if", "(", "memcmp", "(", "s", ",", "\"Ral\"", ",", "3", ")", "==", "0", "&&", "TARGET_A24", ")", "return", "A_REGS", ";", "if", "(", "memcmp", "(", "s", ",", "\"Rqi\"", ",", "3", ")", "==", "0", ")", "return", "QI_REGS", ";", "if", "(", "memcmp", "(", "s", ",", "\"Rad\"", ",", "3", ")", "==", "0", ")", "return", "AD_REGS", ";", "if", "(", "memcmp", "(", "s", ",", "\"Rsi\"", ",", "3", ")", "==", "0", ")", "return", "SI_REGS", ";", "if", "(", "memcmp", "(", "s", ",", "\"Rhi\"", ",", "3", ")", "==", "0", ")", "return", "HI_REGS", ";", "if", "(", "memcmp", "(", "s", ",", "\"Rhc\"", ",", "3", ")", "==", "0", ")", "return", "HC_REGS", ";", "if", "(", "memcmp", "(", "s", ",", "\"Rra\"", ",", "3", ")", "==", "0", ")", "return", "RA_REGS", ";", "if", "(", "memcmp", "(", "s", ",", "\"Rfl\"", ",", "3", ")", "==", "0", ")", "return", "FLG_REGS", ";", "if", "(", "memcmp", "(", "s", ",", "\"Rmm\"", ",", "3", ")", "==", "0", ")", "{", "if", "(", "fixed_regs", "[", "MEM0_REGNO", "]", ")", "return", "NO_REGS", ";", "return", "MEM_REGS", ";", "}", "if", "(", "memcmp", "(", "s", ",", "\"Rpi\"", ",", "3", ")", "==", "0", ")", "{", "if", "(", "TARGET_A16", ")", "return", "HI_REGS", ";", "else", "return", "RA_REGS", ";", "}", "if", "(", "memcmp", "(", "s", ",", "\"Rpa\"", ",", "3", ")", "==", "0", ")", "return", "NO_REGS", ";", "return", "NO_REGS", ";", "}", ""], "natrual_language": ["Implements", "REG_CLASS_FROM_CONSTRAINT", ".", "Note", "that", "some", "constraints", "only", "match", "for", "certain", "chip", "families", "."], "TS_V_token": ["m32c", "\"Rsp\"", "3", "0", "\"Rfb\"", "3", "0", "\"Rsb\"", "3", "0", "\"Rcr\"", "3", "0", "\"Rcl\"", "3", "0", "\"R0w\"", "3", "0", "\"R1w\"", "3", "0", "\"R2w\"", "3", "0", "\"R3w\"", "3", "0", "\"R02\"", "3", "0", "\"R03\"", "3", "0", "\"Rdi\"", "3", "0", "\"Rhl\"", "3", "0", "\"R23\"", "3", "0", "\"Raa\"", "3", "0", "\"Raw\"", "3", "0", "\"Ral\"", "3", "0", "\"Rqi\"", "3", "0", "\"Rad\"", "3", "0", "\"Rsi\"", "3", "0", "\"Rhi\"", "3", "0", "\"Rhc\"", "3", "0", "\"Rra\"", "3", "0", "\"Rfl\"", "3", "0", "\"Rmm\"", "3", "0", "\"Rpi\"", "3", "0", "\"Rpa\"", "3", "0"], "File": "m32c2", "Func": "m32c_reg_class_from_constraint", "Target": "m32c", "Target_Clf": "MPU", "Compiler_Type": "GCC", "Idx": 2162, "Length": 479, "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": 2163, "Length": 99, "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": 2164, "Length": 16, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "static", "reg_class_t", "xtensa_preferred_output_reload_class", "(", "rtx", "x", "ATTRIBUTE_UNUSED", ",", "reg_class_t", "rclass", ")", "{", "if", "(", "rclass", "==", "AR_REGS", "||", "rclass", "==", "GR_REGS", ")", "return", "RL_REGS", ";", "return", "rclass", ";", "}", ""], "natrual_language": ["Worker", "function", "for", "TARGET_PREFERRED_OUTPUT_RELOAD_CLASS", "."], "TS_V_token": ["xtensa"], "File": "xtensa", "Func": "xtensa_preferred_output_reload_class", "Target": "xtensa", "Target_Clf": "MPU", "Compiler_Type": "GCC", "Idx": 2165, "Length": 29, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "bool", "cris_legitimate_constant_p", "(", "machine_mode", "mode", "ATTRIBUTE_UNUSED", ",", "rtx", "x", ")", "{", "enum", "cris_symbol_type", "t", ";", "if", "(", "flag_pic", ")", "return", "LEGITIMATE_PIC_OPERAND_P", "(", "x", ")", ";", "t", "=", "cris_symbol_type_of", "(", "x", ")", ";", "return", "t", "==", "cris_no_symbol", "||", "t", "==", "cris_offsettable_symbol", "||", "t", "==", "cris_unspec", ";", "}", ""], "natrual_language": ["Worker", "function", "for", "TARGET_LEGITIMATE_CONSTANT_P", ".", "We", "have", "to", "handle", "PIC", "constants", "that", "are", "n't", "legitimized", ".", "FIXME", ":", "there", "used", "to", "be", "a", "guarantee", "that", "the", "target", "LEGITIMATE_CONSTANT_P", "did", "n't", "have", "to", "handle", "PIC", "constants", ",", "but", "no", "more", "(", "4.7", "era", ")", ";", "testcase", ":", "glibc", "init-first.c", ".", "While", "that", "may", "be", "seen", "as", "a", "bug", ",", "that", "guarantee", "seems", "a", "wart", "by", "design", ",", "so", "do", "n't", "bother", ";", "fix", "the", "documentation", "instead", "."], "TS_V_token": ["cris"], "File": "cris", "Func": "cris_legitimate_constant_p", "Target": "cris", "Target_Clf": "MPU", "Compiler_Type": "GCC", "Idx": 2166, "Length": 46, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "static", "unsigned", "char", "m32c_class_max_nregs", "(", "reg_class_t", "regclass", ",", "machine_mode", "mode", ")", "{", "int", "rn", ";", "unsigned", "char", "max", "=", "0", ";", "for", "(", "rn", "=", "0", ";", "rn", "<", "FIRST_PSEUDO_REGISTER", ";", "rn", "++", ")", "if", "(", "TEST_HARD_REG_BIT", "(", "reg_class_contents", "[", "(", "int", ")", "regclass", "]", ",", "rn", ")", ")", "{", "unsigned", "char", "n", "=", "m32c_hard_regno_nregs", "(", "rn", ",", "mode", ")", ";", "if", "(", "max", "<", "n", ")", "max", "=", "n", ";", "}", "return", "max", ";", "}", ""], "natrual_language": ["Implements", "CLASS_MAX_NREGS", ".", "We", "calculate", "this", "according", "to", "its", "documented", "meaning", ",", "to", "avoid", "potential", "inconsistencies", "with", "actual", "class", "definitions", "."], "TS_V_token": ["m32c", "0", "0"], "File": "m32c", "Func": "m32c_class_max_nregs", "Target": "m32c", "Target_Clf": "MPU", "Compiler_Type": "GCC", "Idx": 2167, "Length": 76, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "static", "poly_int64", "m68k_return_pops_args", "(", "tree", "fundecl", ",", "tree", "funtype", ",", "poly_int64", "size", ")", "{", "return", "(", "(", "TARGET_RTD", "&&", "(", "!", "fundecl", "||", "TREE_CODE", "(", "fundecl", ")", "!=", "IDENTIFIER_NODE", ")", "&&", "(", "!", "stdarg_p", "(", "funtype", ")", ")", ")", "?", "(", "HOST_WIDE_INT", ")", "size", ":", "0", ")", ";", "}", ""], "natrual_language": ["On", "the", "68000", ",", "the", "RTS", "insn", "can", "not", "pop", "anything", ".", "On", "the", "68010", ",", "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", "."], "TS_V_token": ["m68k", "0"], "File": "m68k", "Func": "m68k_return_pops_args", "Target": "m68k", "Target_Clf": "MPU", "Compiler_Type": "GCC", "Idx": 2168, "Length": 49, "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": ["RI5CY", "RISCV"], "File": "RISCVAsmPrinter", "Func": "lowerOperand", "Target": "RI5CY", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 2169, "Length": 26, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "int", "null_epilogue", "(", ")", "{", "return", "(", "reload_completed", "&&", "!", "needs_regstack_p", "(", ")", "&&", "get_frame_size", "(", ")", "==", "0", "&&", "current_function_pretend_args_size", "==", "0", ")", ";", "}", ""], "natrual_language": ["return", "1", "if", "there", "is", "n't", "anything", "tricky", "to", "do"], "TS_V_token": ["a29k", "0", "0"], "File": "a29k", "Func": "null_epilogue", "Target": "a29k", "Target_Clf": "MPU", "Compiler_Type": "GCC", "Idx": 2170, "Length": 26, "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": ["powerpcspe", "0", "\"Replacing swap %d with copy %d\\n\""], "File": "powerpcspe", "Func": "replace_swap_with_copy", "Target": "powerpcspe", "Target_Clf": "CPU", "Compiler_Type": "GCC", "Idx": 2171, "Length": 126, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "static", "void", "frv_registers_update_1", "(", "rtx", "x", ",", "const_rtx", "pat", "ATTRIBUTE_UNUSED", ",", "void", "*", "data", ")", "{", "unsigned", "int", "regno", ";", "if", "(", "GET_CODE", "(", "x", ")", "==", "REG", ")", "FOR_EACH_REGNO", "(", "regno", ",", "x", ")", "frv_packet", ".", "regstate", "[", "regno", "]", "|=", "*", "(", "regstate_t", "*", ")", "data", ";", "if", "(", "GET_CODE", "(", "x", ")", "==", "MEM", ")", "{", "if", "(", "frv_packet", ".", "num_mems", "<", "ARRAY_SIZE", "(", "frv_packet", ".", "mems", ")", ")", "{", "frv_packet", ".", "mems", "[", "frv_packet", ".", "num_mems", "]", ".", "mem", "=", "x", ";", "frv_packet", ".", "mems", "[", "frv_packet", ".", "num_mems", "]", ".", "cond", "=", "*", "(", "regstate_t", "*", ")", "data", ";", "}", "frv_packet", ".", "num_mems", "++", ";", "}", "}", ""], "natrual_language": ["A", "note_stores", "callback", ".", "DATA", "points", "to", "the", "regstate_t", "condition", "under", "which", "X", "is", "modified", ".", "Update", "FRV_PACKET", "accordingly", "."], "TS_V_token": ["frv"], "File": "frv", "Func": "frv_registers_update_1", "Target": "frv", "Target_Clf": "VLIW", "Compiler_Type": "GCC", "Idx": 2172, "Length": 112, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "unsigned", "R600RegisterInfo", "::", "getHWRegChan", "(", "unsigned", "reg", ")", "const", "{", "return", "this", "->", "getEncodingValue", "(", "reg", ")", ">>", "HW_CHAN_SHIFT", ";", "}", ""], "natrual_language": ["get", "the", "HW", "encoding", "for", "a", "register", "'s", "channel", "."], "TS_V_token": ["R600"], "File": "R600RegisterInfo", "Func": "getHWRegChan", "Target": "R600", "Target_Clf": "GPU", "Compiler_Type": "LLVM", "Idx": 2173, "Length": 21, "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": 2174, "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", "&&", "\"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": 2175, "Length": 202, "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": 2176, "Length": 213, "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": 2177, "Length": 160, "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", "{", "assert", "(", "LdSt", ".", "mayLoadOrStore", "(", ")", "&&", "\"Expected a memory operation.\"", ")", ";", "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", "\"Expected a memory operation.\"", "3", "1", "2", "1", "2"], "File": "PPCInstrInfo115", "Func": "getMemOperandWithOffsetWidth", "Target": "PowerPC", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 2178, "Length": 138, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "static", "bool", "nios2_simple_const_p", "(", "const_rtx", "cst", ")", "{", "HOST_WIDE_INT", "val", "=", "INTVAL", "(", "cst", ")", ";", "return", "SMALL_INT", "(", "val", ")", "||", "SMALL_INT_UNSIGNED", "(", "val", ")", "||", "UPPER16_INT", "(", "val", ")", ";", "}", ""], "natrual_language": ["Return", "true", "if", "CST", "is", "a", "constant", "within", "range", "of", "movi/movui/movhi", "."], "TS_V_token": ["nios2"], "File": "nios22", "Func": "nios2_simple_const_p", "Target": "nios2", "Target_Clf": "MPU", "Compiler_Type": "GCC", "Idx": 2179, "Length": 33, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "TargetPassConfig", "*", "NVPTXTargetMachine", "::", "createPassConfig", "(", "PassManagerBase", "&", "PM", ")", "{", "NVPTXPassConfig", "*", "PassConfig", "=", "new", "NVPTXPassConfig", "(", "this", ",", "PM", ")", ";", "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": ["NVPTX", "NVPTX", "NVPTX", "NVPTX"], "File": "NVPTXTargetMachine (2)", "Func": "createPassConfig", "Target": "NVPTX", "Target_Clf": "GPU", "Compiler_Type": "LLVM", "Idx": 2180, "Length": 27, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "bool", "TVMReFunc", "::", "runOnModule", "(", "Module", "&", "M", ")", "{", "if", "(", "!", "TVMEnableMReFunc", ")", "return", "false", ";", "bool", "Changed", "=", "false", ";", "for", "(", "Function", "&", "F", ":", "M", ")", "{", "if", "(", "!", "F", ".", "isDeclaration", "(", ")", ")", "continue", ";", "switch", "(", "F", ".", "getIntrinsicID", "(", ")", ")", "{", "case", "Intrinsic", "::", "tvm_sendrawmsg", ":", "if", "(", "processSendRawMsgUses", "(", "F", ")", ")", "Changed", "=", "true", ";", "break", ";", "default", ":", "break", ";", "}", "}", "return", "Changed", ";", "}", ""], "natrual_language": ["runOnModule", "-", "Virtual", "method", "overriden", "by", "subclasses", "to", "process", "the", "module", "being", "operated", "on", "."], "TS_V_token": ["TVM", "TVM", "TVM", "Intrinsic::tvm_sendrawmsg"], "File": "TVMReFunc", "Func": "runOnModule", "Target": "TVM", "Target_Clf": "Virtual ISA", "Compiler_Type": "LLVM", "Idx": 2181, "Length": 80, "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": 2182, "Length": 43, "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": 2183, "Length": 49, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "static", "bool", "arc_process_double_reg_moves", "(", "rtx", "*", "operands", ")", "{", "rtx", "dest", "=", "operands", "[", "0", "]", ";", "rtx", "src", "=", "operands", "[", "1", "]", ";", "enum", "usesDxState", "{", "none", ",", "srcDx", ",", "destDx", ",", "maxDx", "}", ";", "enum", "usesDxState", "state", "=", "none", ";", "if", "(", "refers_to_regno_p", "(", "40", ",", "44", ",", "src", ",", "0", ")", ")", "state", "=", "srcDx", ";", "if", "(", "refers_to_regno_p", "(", "40", ",", "44", ",", "dest", ",", "0", ")", ")", "{", "gcc_assert", "(", "state", "==", "none", ")", ";", "state", "=", "destDx", ";", "}", "if", "(", "state", "==", "none", ")", "return", "false", ";", "if", "(", "state", "==", "srcDx", ")", "{", "if", "(", "TARGET_DPFP_DISABLE_LRSR", ")", "{", "rtx", "set", "=", "gen_rtx_SET", "(", "dest", ",", "src", ")", ";", "rtx", "use1", "=", "gen_rtx_USE", "(", "VOIDmode", ",", "const1_rtx", ")", ";", "emit_insn", "(", "gen_rtx_PARALLEL", "(", "VOIDmode", ",", "gen_rtvec", "(", "2", ",", "set", ",", "use1", ")", ")", ")", ";", "}", "else", "{", "rtx", "destHigh", "=", "simplify_gen_subreg", "(", "SImode", ",", "dest", ",", "DFmode", ",", "4", ")", ";", "rtx", "destLow", "=", "simplify_gen_subreg", "(", "SImode", ",", "dest", ",", "DFmode", ",", "0", ")", ";", "emit_insn", "(", "gen_rtx_SET", "(", "destHigh", ",", "gen_rtx_UNSPEC_VOLATILE", "(", "Pmode", ",", "gen_rtvec", "(", "1", ",", "src", ")", ",", "VUNSPEC_ARC_LR_HIGH", ")", ")", ")", ";", "emit_insn", "(", "gen_rtx_SET", "(", "destLow", ",", "gen_rtx_UNSPEC_VOLATILE", "(", "Pmode", ",", "gen_rtvec", "(", "1", ",", "src", ")", ",", "VUNSPEC_ARC_LR", ")", ")", ")", ";", "}", "}", "else", "if", "(", "state", "==", "destDx", ")", "{", "rtx", "srcHigh", "=", "simplify_gen_subreg", "(", "SImode", ",", "src", ",", "DFmode", ",", "4", ")", ";", "rtx", "srcLow", "=", "simplify_gen_subreg", "(", "SImode", ",", "src", ",", "DFmode", ",", "0", ")", ";", "emit_insn", "(", "gen_rtx_UNSPEC_VOLATILE", "(", "Pmode", ",", "gen_rtvec", "(", "3", ",", "dest", ",", "srcHigh", ",", "srcLow", ")", ",", "VUNSPEC_ARC_DEXCL_NORES", ")", ")", ";", "}", "else", "gcc_unreachable", "(", ")", ";", "return", "true", ";", "}", ""], "natrual_language": ["Handle", "DOUBLE_REGS", "uses", ".", "Operand", "0", ":", "destination", "register", "Operand", "1", ":", "source", "register"], "TS_V_token": ["arc", "0", "1", "40", "44", "0", "40", "44", "0", "2", "4", "0", "1", "1", "4", "0", "3"], "File": "arc5", "Func": "arc_process_double_reg_moves", "Target": "arc", "Target_Clf": "MPU", "Compiler_Type": "GCC", "Idx": 2184, "Length": 288, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "FastISel", "*", "WebAssembly", "::", "createFastISel", "(", "FunctionLoweringInfo", "&", "FuncInfo", ",", "const", "TargetLibraryInfo", "*", "LibInfo", ")", "{", "return", "new", "WebAssemblyFastISel", "(", "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": ["WebAssembly", "WebAssembly::createFastISel", "WebAssembly"], "File": "WebAssemblyFastISel (2)", "Func": "createFastISel", "Target": "WebAssembly", "Target_Clf": "Virtual ISA", "Compiler_Type": "LLVM", "Idx": 2185, "Length": 26, "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": 2186, "Length": 44, "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?\"", ")", ";", "unsigned", "Directive", "=", "TM", "->", "getSubtarget", "<", "PPCSubtarget", ">", "(", ")", ".", "getDarwinDirective", "(", ")", ";", "if", "(", "Directive", "==", "PPC", "::", "DIR_440", ")", "{", "const", "InstrItineraryData", "*", "II", "=", "TM", "->", "getInstrItineraryData", "(", ")", ";", "return", "new", "PPCHazardRecognizer440", "(", "II", ",", "DAG", ")", ";", "}", "else", "{", "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", "PPC::DIR_440", "PPC", "PPC"], "File": "PPCInstrInfo117", "Func": "CreateTargetHazardRecognizer", "Target": "PowerPC", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 2187, "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": 2188, "Length": 25, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "bool", "GCNPassConfig", "::", "addInstSelector", "(", ")", "{", "AMDGPUPassConfig", "::", "addInstSelector", "(", ")", ";", "addPass", "(", "&", "SIFixSGPRCopiesID", ")", ";", "addPass", "(", "createSILowerI1CopiesPass", "(", ")", ")", ";", "return", "false", ";", "}", ""], "natrual_language": ["addInstSelector", "-", "This", "method", "should", "install", "an", "instruction", "selector", "pass", ",", "which", "converts", "from", "LLVM", "code", "to", "machine", "instructions", "."], "TS_V_token": ["AMDGPU", "AMDGPU", "SI", "SI"], "File": "AMDGPUTargetMachine (2)1", "Func": "addInstSelector", "Target": "AMDGPU", "Target_Clf": "GPU", "Compiler_Type": "LLVM", "Idx": 2189, "Length": 30, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "static", "rtx_insn", "*", "m68k_emit_movem", "(", "rtx", "base", ",", "HOST_WIDE_INT", "offset", ",", "unsigned", "int", "count", ",", "unsigned", "int", "regno", ",", "unsigned", "int", "mask", ",", "bool", "store_p", ",", "bool", "adjust_stack_p", ")", "{", "int", "i", ";", "rtx", "body", ",", "addr", ",", "src", ",", "operands", "[", "2", "]", ";", "machine_mode", "mode", ";", "body", "=", "gen_rtx_PARALLEL", "(", "VOIDmode", ",", "rtvec_alloc", "(", "adjust_stack_p", "+", "count", ")", ")", ";", "mode", "=", "reg_raw_mode", "[", "regno", "]", ";", "i", "=", "0", ";", "if", "(", "adjust_stack_p", ")", "{", "src", "=", "plus_constant", "(", "Pmode", ",", "base", ",", "(", "count", "*", "GET_MODE_SIZE", "(", "mode", ")", "*", "(", "HOST_WIDE_INT", ")", "(", "store_p", "?", "-", "1", ":", "1", ")", ")", ")", ";", "XVECEXP", "(", "body", ",", "0", ",", "i", "++", ")", "=", "gen_rtx_SET", "(", "base", ",", "src", ")", ";", "}", "for", "(", ";", "mask", "!=", "0", ";", "mask", ">>=", "1", ",", "regno", "++", ")", "if", "(", "mask", "&", "1", ")", "{", "addr", "=", "plus_constant", "(", "Pmode", ",", "base", ",", "offset", ")", ";", "operands", "[", "!", "store_p", "]", "=", "gen_frame_mem", "(", "mode", ",", "addr", ")", ";", "operands", "[", "store_p", "]", "=", "gen_rtx_REG", "(", "mode", ",", "regno", ")", ";", "XVECEXP", "(", "body", ",", "0", ",", "i", "++", ")", "=", "gen_rtx_SET", "(", "operands", "[", "0", "]", ",", "operands", "[", "1", "]", ")", ";", "offset", "+=", "GET_MODE_SIZE", "(", "mode", ")", ";", "}", "gcc_assert", "(", "i", "==", "XVECLEN", "(", "body", ",", "0", ")", ")", ";", "return", "emit_insn", "(", "body", ")", ";", "}", ""], "natrual_language": ["Emit", "RTL", "for", "a", "MOVEM", "or", "FMOVEM", "instruction", ".", "BASE", "+", "OFFSET", "represents", "the", "lowest", "memory", "address", ".", "COUNT", "is", "the", "number", "of", "registers", "to", "be", "moved", ",", "with", "register", "REGNO", "+", "I", "being", "moved", "if", "bit", "I", "of", "MASK", "is", "set", ".", "STORE_P", "specifies", "the", "direction", "of", "the", "move", "and", "ADJUST_STACK_P", "says", "whether", "or", "not", "this", "is", "pre-decrement", "(", "if", "STORE_P", ")", "or", "post-increment", "(", "if", "!", "STORE_P", ")", "operation", "."], "TS_V_token": ["m68k", "2", "0", "1", "1", "0", "0", "1", "1", "0", "0", "1", "0"], "File": "m68k", "Func": "m68k_emit_movem", "Target": "m68k", "Target_Clf": "MPU", "Compiler_Type": "GCC", "Idx": 2190, "Length": 233, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "unsigned", "HexagonInstrInfo", "::", "isStoreToStackSlot", "(", "const", "MachineInstr", "*", "MI", ",", "int", "&", "FrameIndex", ")", "const", "{", "switch", "(", "MI", "->", "getOpcode", "(", ")", ")", "{", "default", ":", "break", ";", "case", "Hexagon", "::", "STriw", ":", "case", "Hexagon", "::", "STrid", ":", "case", "Hexagon", "::", "STrih", ":", "case", "Hexagon", "::", "STrib", ":", "if", "(", "MI", "->", "getOperand", "(", "2", ")", ".", "isFI", "(", ")", "&&", "MI", "->", "getOperand", "(", "1", ")", ".", "isImm", "(", ")", "&&", "(", "MI", "->", "getOperand", "(", "1", ")", ".", "getImm", "(", ")", "==", "0", ")", ")", "{", "FrameIndex", "=", "MI", "->", "getOperand", "(", "0", ")", ".", "getIndex", "(", ")", ";", "return", "MI", "->", "getOperand", "(", "2", ")", ".", "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": ["Hexagon", "Hexagon", "Hexagon::STriw", "Hexagon::STrid", "Hexagon::STrih", "Hexagon::STrib", "2", "1", "1", "0", "0", "2", "0"], "File": "HexagonInstrInfo11", "Func": "isStoreToStackSlot", "Target": "Hexagon", "Target_Clf": "DSP", "Compiler_Type": "LLVM", "Idx": 2191, "Length": 122, "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": 2192, "Length": 112, "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": ["Hexagon"], "File": "HexagonAsmParser", "Func": "isToken", "Target": "Hexagon", "Target_Clf": "DSP", "Compiler_Type": "LLVM", "Idx": 2193, "Length": 13, "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": 2194, "Length": 14, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "bool", "PTXTargetMachine", "::", "addInstSelector", "(", "PassManagerBase", "&", "PM", ",", "CodeGenOpt", "::", "Level", "OptLevel", ")", "{", "PM", ".", "add", "(", "createPTXISelDag", "(", "*", "this", ",", "OptLevel", ")", ")", ";", "PM", ".", "add", "(", "createPTXMFInfoExtract", "(", "*", "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": ["PTX", "PTX", "PTX", "PTX"], "File": "PTXTargetMachine3", "Func": "addInstSelector", "Target": "PTX", "Target_Clf": "GPU", "Compiler_Type": "LLVM", "Idx": 2195, "Length": 45, "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": 2196, "Length": 373, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "void", "HexagonInstrInfo", "::", "storeRegToStackSlot", "(", "MachineBasicBlock", "&", "MBB", ",", "MachineBasicBlock", "::", "iterator", "I", ",", "Register", "SrcReg", ",", "bool", "isKill", ",", "int", "FI", ",", "const", "TargetRegisterClass", "*", "RC", ",", "const", "TargetRegisterInfo", "*", "TRI", ")", "const", "{", "DebugLoc", "DL", "=", "MBB", ".", "findDebugLoc", "(", "I", ")", ";", "MachineFunction", "&", "MF", "=", "*", "MBB", ".", "getParent", "(", ")", ";", "MachineFrameInfo", "&", "MFI", "=", "MF", ".", "getFrameInfo", "(", ")", ";", "unsigned", "SlotAlign", "=", "MFI", ".", "getObjectAlignment", "(", "FI", ")", ";", "unsigned", "KillFlag", "=", "getKillRegState", "(", "isKill", ")", ";", "MachineMemOperand", "*", "MMO", "=", "MF", ".", "getMachineMemOperand", "(", "MachinePointerInfo", "::", "getFixedStack", "(", "MF", ",", "FI", ")", ",", "MachineMemOperand", "::", "MOStore", ",", "MFI", ".", "getObjectSize", "(", "FI", ")", ",", "SlotAlign", ")", ";", "if", "(", "Hexagon", "::", "IntRegsRegClass", ".", "hasSubClassEq", "(", "RC", ")", ")", "{", "BuildMI", "(", "MBB", ",", "I", ",", "DL", ",", "get", "(", "Hexagon", "::", "S2_storeri_io", ")", ")", ".", "addFrameIndex", "(", "FI", ")", ".", "addImm", "(", "0", ")", ".", "addReg", "(", "SrcReg", ",", "KillFlag", ")", ".", "addMemOperand", "(", "MMO", ")", ";", "}", "else", "if", "(", "Hexagon", "::", "DoubleRegsRegClass", ".", "hasSubClassEq", "(", "RC", ")", ")", "{", "BuildMI", "(", "MBB", ",", "I", ",", "DL", ",", "get", "(", "Hexagon", "::", "S2_storerd_io", ")", ")", ".", "addFrameIndex", "(", "FI", ")", ".", "addImm", "(", "0", ")", ".", "addReg", "(", "SrcReg", ",", "KillFlag", ")", ".", "addMemOperand", "(", "MMO", ")", ";", "}", "else", "if", "(", "Hexagon", "::", "PredRegsRegClass", ".", "hasSubClassEq", "(", "RC", ")", ")", "{", "BuildMI", "(", "MBB", ",", "I", ",", "DL", ",", "get", "(", "Hexagon", "::", "STriw_pred", ")", ")", ".", "addFrameIndex", "(", "FI", ")", ".", "addImm", "(", "0", ")", ".", "addReg", "(", "SrcReg", ",", "KillFlag", ")", ".", "addMemOperand", "(", "MMO", ")", ";", "}", "else", "if", "(", "Hexagon", "::", "ModRegsRegClass", ".", "hasSubClassEq", "(", "RC", ")", ")", "{", "BuildMI", "(", "MBB", ",", "I", ",", "DL", ",", "get", "(", "Hexagon", "::", "STriw_ctr", ")", ")", ".", "addFrameIndex", "(", "FI", ")", ".", "addImm", "(", "0", ")", ".", "addReg", "(", "SrcReg", ",", "KillFlag", ")", ".", "addMemOperand", "(", "MMO", ")", ";", "}", "else", "if", "(", "Hexagon", "::", "HvxQRRegClass", ".", "hasSubClassEq", "(", "RC", ")", ")", "{", "BuildMI", "(", "MBB", ",", "I", ",", "DL", ",", "get", "(", "Hexagon", "::", "PS_vstorerq_ai", ")", ")", ".", "addFrameIndex", "(", "FI", ")", ".", "addImm", "(", "0", ")", ".", "addReg", "(", "SrcReg", ",", "KillFlag", ")", ".", "addMemOperand", "(", "MMO", ")", ";", "}", "else", "if", "(", "Hexagon", "::", "HvxVRRegClass", ".", "hasSubClassEq", "(", "RC", ")", ")", "{", "BuildMI", "(", "MBB", ",", "I", ",", "DL", ",", "get", "(", "Hexagon", "::", "PS_vstorerv_ai", ")", ")", ".", "addFrameIndex", "(", "FI", ")", ".", "addImm", "(", "0", ")", ".", "addReg", "(", "SrcReg", ",", "KillFlag", ")", ".", "addMemOperand", "(", "MMO", ")", ";", "}", "else", "if", "(", "Hexagon", "::", "HvxWRRegClass", ".", "hasSubClassEq", "(", "RC", ")", ")", "{", "BuildMI", "(", "MBB", ",", "I", ",", "DL", ",", "get", "(", "Hexagon", "::", "PS_vstorerw_ai", ")", ")", ".", "addFrameIndex", "(", "FI", ")", ".", "addImm", "(", "0", ")", ".", "addReg", "(", "SrcReg", ",", "KillFlag", ")", ".", "addMemOperand", "(", "MMO", ")", ";", "}", "else", "{", "llvm_unreachable", "(", "\"Unimplemented\"", ")", ";", "}", "}", ""], "natrual_language": ["Store", "the", "specified", "register", "of", "the", "given", "register", "class", "to", "the", "specified", "stack", "frame", "index", "."], "TS_V_token": ["Hexagon", "Hexagon", "Hexagon::IntRegsRegClass", "Hexagon::S2_storeri_io", "0", "Hexagon::DoubleRegsRegClass", "Hexagon::S2_storerd_io", "0", "Hexagon::PredRegsRegClass", "Hexagon::STriw_pred", "0", "Hexagon::ModRegsRegClass", "Hexagon::STriw_ctr", "0", "Hexagon::HvxQRRegClass", "Hexagon::PS_vstorerq_ai", "0", "Hexagon::HvxVRRegClass", "Hexagon::PS_vstorerv_ai", "0", "Hexagon::HvxWRRegClass", "Hexagon::PS_vstorerw_ai", "0", "\"Unimplemented\""], "File": "HexagonInstrInfo47", "Func": "storeRegToStackSlot", "Target": "Hexagon", "Target_Clf": "DSP", "Compiler_Type": "LLVM", "Idx": 2197, "Length": 487, "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", ":", "if", "(", "GET_MODE_SIZE", "(", "outer_mode", ")", "==", "1", ")", "{", "if", "(", "!", "satisfies_constraint_Is15", "(", "index", ")", ")", "return", "false", ";", "return", "true", ";", "}", "if", "(", "GET_MODE_SIZE", "(", "outer_mode", ")", "==", "2", "&&", "NDS32_HALF_WORD_ALIGN_P", "(", "INTVAL", "(", "index", ")", ")", ")", "{", "if", "(", "!", "satisfies_constraint_Is16", "(", "index", ")", ")", "return", "false", ";", "return", "true", ";", "}", "if", "(", "GET_MODE_SIZE", "(", "outer_mode", ")", "==", "4", "&&", "NDS32_SINGLE_WORD_ALIGN_P", "(", "INTVAL", "(", "index", ")", ")", ")", "{", "if", "(", "!", "satisfies_constraint_Is17", "(", "index", ")", ")", "return", "false", ";", "return", "true", ";", "}", "if", "(", "GET_MODE_SIZE", "(", "outer_mode", ")", "==", "8", "&&", "NDS32_SINGLE_WORD_ALIGN_P", "(", "INTVAL", "(", "index", ")", ")", ")", "{", "if", "(", "!", "satisfies_constraint_Is17", "(", "gen_int_mode", "(", "INTVAL", "(", "index", ")", "+", "4", ",", "SImode", ")", ")", ")", "return", "false", ";", "return", "true", ";", "}", "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", ")", "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", ")", "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", "0", "1", "0", "1", "2"], "File": "nds322", "Func": "nds32_legitimate_index_p", "Target": "nds32", "Target_Clf": "CPU", "Compiler_Type": "GCC", "Idx": 2198, "Length": 374, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "bool", "HexagonAsmParser", "::", "MatchAndEmitInstruction", "(", "SMLoc", "IDLoc", ",", "unsigned", "&", "Opcode", ",", "OperandVector", "&", "Operands", ",", "MCStreamer", "&", "Out", ",", "uint64_t", "&", "ErrorInfo", ",", "bool", "MatchingInlineAsm", ")", "{", "if", "(", "!", "InBrackets", ")", "{", "MCB", ".", "clear", "(", ")", ";", "MCB", ".", "addOperand", "(", "MCOperand", "::", "createImm", "(", "0", ")", ")", ";", "}", "HexagonOperand", "&", "FirstOperand", "=", "static_cast", "<", "HexagonOperand", "&", ">", "(", "*", "Operands", "[", "0", "]", ")", ";", "if", "(", "FirstOperand", ".", "isToken", "(", ")", "&&", "FirstOperand", ".", "getToken", "(", ")", "==", "\"{\"", ")", "{", "assert", "(", "Operands", ".", "size", "(", ")", "==", "1", "&&", "\"Brackets should be by themselves\"", ")", ";", "if", "(", "InBrackets", ")", "{", "getParser", "(", ")", ".", "Error", "(", "IDLoc", ",", "\"Already in a packet\"", ")", ";", "InBrackets", "=", "false", ";", "return", "true", ";", "}", "InBrackets", "=", "true", ";", "return", "false", ";", "}", "if", "(", "FirstOperand", ".", "isToken", "(", ")", "&&", "FirstOperand", ".", "getToken", "(", ")", "==", "\"}\"", ")", "{", "assert", "(", "Operands", ".", "size", "(", ")", "==", "1", "&&", "\"Brackets should be by themselves\"", ")", ";", "if", "(", "!", "InBrackets", ")", "{", "getParser", "(", ")", ".", "Error", "(", "IDLoc", ",", "\"Not in a packet\"", ")", ";", "return", "true", ";", "}", "InBrackets", "=", "false", ";", "if", "(", "matchBundleOptions", "(", ")", ")", "return", "true", ";", "return", "finishBundle", "(", "IDLoc", ",", "Out", ")", ";", "}", "MCInst", "*", "SubInst", "=", "getParser", "(", ")", ".", "getContext", "(", ")", ".", "createMCInst", "(", ")", ";", "if", "(", "matchOneInstruction", "(", "*", "SubInst", ",", "IDLoc", ",", "Operands", ",", "ErrorInfo", ",", "MatchingInlineAsm", ")", ")", "{", "if", "(", "InBrackets", ")", "eatToEndOfPacket", "(", ")", ";", "return", "true", ";", "}", "HexagonMCInstrInfo", "::", "extendIfNeeded", "(", "getParser", "(", ")", ".", "getContext", "(", ")", ",", "MII", ",", "MCB", ",", "*", "SubInst", ")", ";", "MCB", ".", "addOperand", "(", "MCOperand", "::", "createInst", "(", "SubInst", ")", ")", ";", "if", "(", "!", "InBrackets", ")", "return", "finishBundle", "(", "IDLoc", ",", "Out", ")", ";", "return", "false", ";", "}", ""], "natrual_language": ["MatchAndEmitInstruction", "-", "Recognize", "a", "series", "of", "operands", "of", "a", "parsed", "instruction", "as", "an", "actual", "MCInst", "and", "emit", "it", "to", "the", "specified", "MCStreamer", "."], "TS_V_token": ["Hexagon", "Hexagon", "0", "Hexagon", "Hexagon", "0", "\"{\"", "1", "\"Brackets should be by themselves\"", "\"Already in a packet\"", "\"}\"", "1", "\"Brackets should be by themselves\"", "\"Not in a packet\"", "Hexagon"], "File": "HexagonAsmParser10", "Func": "MatchAndEmitInstruction", "Target": "Hexagon", "Target_Clf": "DSP", "Compiler_Type": "LLVM", "Idx": 2199, "Length": 299, "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": 2200, "Length": 150, "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": 2201, "Length": 59, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "static", "void", "m32c_print_operand_address", "(", "FILE", "*", "stream", ",", "machine_mode", ",", "rtx", "address", ")", "{", "if", "(", "GET_CODE", "(", "address", ")", "==", "MEM", ")", "address", "=", "XEXP", "(", "address", ",", "0", ")", ";", "else", "gcc_assert", "(", "GET_CODE", "(", "address", ")", "==", "REG", ")", ";", "m32c_print_operand", "(", "stream", ",", "address", ",", "0", ")", ";", "}", ""], "natrual_language": ["Implements", "PRINT_OPERAND_ADDRESS", ".", "Nothing", "unusual", "here", "."], "TS_V_token": ["m32c", "0", "0"], "File": "m32c", "Func": "m32c_print_operand_address", "Target": "m32c", "Target_Clf": "MPU", "Compiler_Type": "GCC", "Idx": 2202, "Length": 53, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "static", "rtx", "set_frame_related_p", "(", "void", ")", "{", "rtx", "seq", "=", "get_insns", "(", ")", ";", "rtx", "insn", ";", "end_sequence", "(", ")", ";", "if", "(", "!", "seq", ")", "return", "NULL_RTX", ";", "if", "(", "INSN_P", "(", "seq", ")", ")", "{", "insn", "=", "seq", ";", "while", "(", "insn", "!=", "NULL_RTX", ")", "{", "RTX_FRAME_RELATED_P", "(", "insn", ")", "=", "1", ";", "insn", "=", "NEXT_INSN", "(", "insn", ")", ";", "}", "seq", "=", "emit_insn", "(", "seq", ")", ";", "}", "else", "{", "seq", "=", "emit_insn", "(", "seq", ")", ";", "RTX_FRAME_RELATED_P", "(", "seq", ")", "=", "1", ";", "}", "return", "seq", ";", "}", ""], "natrual_language": ["Helper", "function", "to", "set", "RTX_FRAME_RELATED_P", "on", "instructions", ",", "including", "sequences", "."], "TS_V_token": ["alpha", "1", "1"], "File": "alpha3", "Func": "set_frame_related_p", "Target": "alpha", "Target_Clf": "MPU", "Compiler_Type": "GCC", "Idx": 2203, "Length": 92, "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": 2204, "Length": 229, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "bool", "SPURegisterInfo", "::", "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": ["CellSPU", "SPU"], "File": "SPURegisterInfo1", "Func": "hasFP", "Target": "CellSPU", "Target_Clf": "MPU", "Compiler_Type": "LLVM", "Idx": 2205, "Length": 36, "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": 2206, "Length": 12, "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": 2207, "Length": 318, "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": 2208, "Length": 32, "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": 2209, "Length": 40, "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": 2210, "Length": 77, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "void", "HexagonCommonGEP", "::", "collect", "(", ")", "{", "ValueVect", "BO", ";", "getBlockTraversalOrder", "(", "&", "Fn", "->", "front", "(", ")", ",", "BO", ")", ";", "ValueToNodeMap", "NM", ";", "for", "(", "ValueVect", "::", "iterator", "I", "=", "BO", ".", "begin", "(", ")", ",", "E", "=", "BO", ".", "end", "(", ")", ";", "I", "!=", "E", ";", "++", "I", ")", "{", "BasicBlock", "*", "B", "=", "cast", "<", "BasicBlock", ">", "(", "*", "I", ")", ";", "for", "(", "BasicBlock", "::", "iterator", "J", "=", "B", "->", "begin", "(", ")", ",", "F", "=", "B", "->", "end", "(", ")", ";", "J", "!=", "F", ";", "++", "J", ")", "{", "if", "(", "!", "isa", "<", "GetElementPtrInst", ">", "(", "J", ")", ")", "continue", ";", "GetElementPtrInst", "*", "GepI", "=", "cast", "<", "GetElementPtrInst", ">", "(", "J", ")", ";", "if", "(", "isHandledGepForm", "(", "GepI", ")", ")", "processGepInst", "(", "GepI", ",", "NM", ")", ";", "}", "}", "LLVM_DEBUG", "(", "dbgs", "(", ")", "<<", "\"Gep nodes after initial collection:\\n\"", "<<", "Nodes", ")", ";", "}", ""], "natrual_language": ["Analyze", "the", "given", "instruction", "MI", "and", "fill", "in", "the", "Uses", ",", "Defs", "and", "DeadDefs", "list", "based", "on", "the", "MachineOperand", "flags", "."], "TS_V_token": ["Hexagon", "Hexagon", "\"Gep nodes after initial collection:\\n\""], "File": "HexagonCommonGEP11", "Func": "collect", "Target": "Hexagon", "Target_Clf": "DSP", "Compiler_Type": "LLVM", "Idx": 2211, "Length": 149, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "unsigned", "P2AsmParser", "::", "getReg", "(", "int", "RC", ",", "int", "RegNo", ")", "{", "return", "*", "(", "getContext", "(", ")", ".", "getRegisterInfo", "(", ")", "->", "getRegClass", "(", "RC", ")", ".", "begin", "(", ")", "+", "RegNo", ")", ";", "}", ""], "natrual_language": ["Returns", "the", "register", "associated", "with", "this", "edge", "."], "TS_V_token": ["P2", "P2"], "File": "P2AsmParser", "Func": "getReg", "Target": "P2", "Target_Clf": "MPU", "Compiler_Type": "LLVM", "Idx": 2212, "Length": 36, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "bool", "MOSAsmBackend", "::", "fixupNeedsRelaxationAdvanced", "(", "const", "MCFixup", "&", "Fixup", ",", "bool", "Resolved", ",", "uint64_t", "Value", ",", "const", "MCRelaxableFragment", "*", "DF", ",", "const", "MCAsmLayout", "&", "Layout", ",", "const", "bool", "WasForced", ")", "const", "{", "bool", "BankRelax", "=", "false", ";", "MOSAsmBackend", "::", "relaxInstructionTo", "(", "DF", "->", "getInst", "(", ")", ",", "*", "DF", "->", "getSubtargetInfo", "(", ")", ",", "BankRelax", ")", ";", "auto", "Info", "=", "getFixupKindInfo", "(", "Fixup", ".", "getKind", "(", ")", ")", ";", "const", "auto", "*", "MME", "=", "dyn_cast", "<", "MOSMCExpr", ">", "(", "Fixup", ".", "getValue", "(", ")", ")", ";", "if", "(", "MME", "!=", "nullptr", ")", "{", "return", "(", "Info", ".", "TargetSize", ">", "(", "BankRelax", "?", "16", ":", "8", ")", ")", ";", "}", "if", "(", "Info", ".", "TargetSize", ">", "(", "BankRelax", "?", "16", ":", "8", ")", ")", "{", "return", "true", ";", "}", "const", "char", "*", "FixupNameStart", "=", "Fixup", ".", "getValue", "(", ")", "->", "getLoc", "(", ")", ".", "getPointer", "(", ")", ";", "if", "(", "FixupNameStart", "==", "nullptr", ")", "{", "return", "true", ";", "}", "StringRef", "FixupName", "(", "FixupNameStart", ",", "getFixupLength", "(", "FixupNameStart", ")", ")", ";", "for", "(", "const", "auto", "&", "Symbol", ":", "Layout", ".", "getAssembler", "(", ")", ".", "symbols", "(", ")", ")", "{", "const", "auto", "SymbolName", "=", "Symbol", ".", "getName", "(", ")", ";", "if", "(", "FixupName", "==", "SymbolName", ")", "{", "if", "(", "!", "Symbol", ".", "isInSection", "(", ")", ")", "{", "return", "true", ";", "}", "const", "auto", "&", "Section", "=", "Symbol", ".", "getSection", "(", ")", ";", "const", "auto", "*", "ELFSection", "=", "dyn_cast_or_null", "<", "MCSectionELF", ">", "(", "&", "Section", ")", ";", "if", "(", "ELFSection", "==", "nullptr", ")", "{", "return", "true", ";", "}", "if", "(", "(", "ELFSection", "->", "getFlags", "(", ")", "&", "ELF", "::", "SHF_MOS_ZEROPAGE", ")", "!=", "0", ")", "{", "return", "false", ";", "}", "if", "(", "isZeroPageSectionName", "(", "ELFSection", "->", "getName", "(", ")", ")", ")", "return", "false", ";", "}", "}", "return", "true", ";", "}", ""], "natrual_language": ["Target", "specific", "predicate", "for", "whether", "a", "given", "fixup", "requires", "the", "associated", "instruction", "to", "be", "relaxed", "."], "TS_V_token": ["MOS", "MOS", "MOS", "MOS", "16", "8", "16", "8", "MOS", "0"], "File": "MOSAsmBackend", "Func": "fixupNeedsRelaxationAdvanced", "Target": "MOS", "Target_Clf": "MPU", "Compiler_Type": "LLVM", "Idx": 2213, "Length": 295, "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": 2214, "Length": 114, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "static", "rtx", "s390_delegitimize_address", "(", "rtx", "orig_x", ")", "{", "rtx", "x", ",", "y", ";", "orig_x", "=", "delegitimize_mem_from_attrs", "(", "orig_x", ")", ";", "x", "=", "orig_x", ";", "if", "(", "GET_CODE", "(", "x", ")", "==", "PLUS", "&&", "REG_P", "(", "XEXP", "(", "x", ",", "0", ")", ")", "&&", "REGNO", "(", "XEXP", "(", "x", ",", "0", ")", ")", "==", "PIC_OFFSET_TABLE_REGNUM", "&&", "GET_CODE", "(", "XEXP", "(", "x", ",", "1", ")", ")", "==", "CONST", ")", "{", "HOST_WIDE_INT", "offset", "=", "0", ";", "y", "=", "XEXP", "(", "XEXP", "(", "x", ",", "1", ")", ",", "0", ")", ";", "if", "(", "GET_CODE", "(", "y", ")", "==", "PLUS", "&&", "GET_CODE", "(", "XEXP", "(", "y", ",", "1", ")", ")", "==", "CONST_INT", ")", "{", "offset", "=", "INTVAL", "(", "XEXP", "(", "y", ",", "1", ")", ")", ";", "y", "=", "XEXP", "(", "y", ",", "0", ")", ";", "}", "if", "(", "GET_CODE", "(", "y", ")", "==", "UNSPEC", "&&", "(", "XINT", "(", "y", ",", "1", ")", "==", "UNSPEC_GOTOFF", "||", "XINT", "(", "y", ",", "1", ")", "==", "UNSPEC_PLTOFF", ")", ")", "return", "plus_constant", "(", "Pmode", ",", "XVECEXP", "(", "y", ",", "0", ",", "0", ")", ",", "offset", ")", ";", "}", "if", "(", "GET_CODE", "(", "x", ")", "!=", "MEM", ")", "return", "orig_x", ";", "x", "=", "XEXP", "(", "x", ",", "0", ")", ";", "if", "(", "GET_CODE", "(", "x", ")", "==", "PLUS", "&&", "GET_CODE", "(", "XEXP", "(", "x", ",", "1", ")", ")", "==", "CONST", "&&", "GET_CODE", "(", "XEXP", "(", "x", ",", "0", ")", ")", "==", "REG", "&&", "REGNO", "(", "XEXP", "(", "x", ",", "0", ")", ")", "==", "PIC_OFFSET_TABLE_REGNUM", ")", "{", "y", "=", "XEXP", "(", "XEXP", "(", "x", ",", "1", ")", ",", "0", ")", ";", "if", "(", "GET_CODE", "(", "y", ")", "==", "UNSPEC", "&&", "XINT", "(", "y", ",", "1", ")", "==", "UNSPEC_GOT", ")", "y", "=", "XVECEXP", "(", "y", ",", "0", ",", "0", ")", ";", "else", "return", "orig_x", ";", "}", "else", "if", "(", "GET_CODE", "(", "x", ")", "==", "CONST", ")", "{", "y", "=", "XEXP", "(", "x", ",", "0", ")", ";", "if", "(", "GET_CODE", "(", "y", ")", "==", "UNSPEC", "&&", "(", "XINT", "(", "y", ",", "1", ")", "==", "UNSPEC_GOTENT", "||", "XINT", "(", "y", ",", "1", ")", "==", "UNSPEC_PLT31", ")", ")", "y", "=", "XVECEXP", "(", "y", ",", "0", ",", "0", ")", ";", "else", "return", "orig_x", ";", "}", "else", "return", "orig_x", ";", "if", "(", "GET_MODE", "(", "orig_x", ")", "!=", "Pmode", ")", "{", "if", "(", "GET_MODE", "(", "orig_x", ")", "==", "BLKmode", ")", "return", "orig_x", ";", "y", "=", "lowpart_subreg", "(", "GET_MODE", "(", "orig_x", ")", ",", "y", ",", "Pmode", ")", ";", "if", "(", "y", "==", "NULL_RTX", ")", "return", "orig_x", ";", "}", "return", "y", ";", "}", ""], "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": ["s390", "0", "0", "1", "0", "1", "0", "1", "1", "0", "1", "1", "0", "0", "0", "1", "0", "0", "1", "0", "1", "0", "0", "0", "1", "1", "0", "0"], "File": "s390", "Func": "s390_delegitimize_address", "Target": "s390", "Target_Clf": "MPU", "Compiler_Type": "GCC", "Idx": 2215, "Length": 412, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "bool", "AMDGPULibFunc", "::", "parse", "(", "StringRef", "FuncName", ",", "AMDGPULibFunc", "&", "F", ")", "{", "if", "(", "FuncName", ".", "empty", "(", ")", ")", "{", "F", ".", "Impl", "=", "std", "::", "unique_ptr", "<", "AMDGPULibFuncImpl", ">", "(", ")", ";", "return", "false", ";", "}", "if", "(", "eatTerm", "(", "FuncName", ",", "\"_Z\"", ")", ")", "F", ".", "Impl", "=", "std", "::", "make_unique", "<", "AMDGPUMangledLibFunc", ">", "(", ")", ";", "else", "F", ".", "Impl", "=", "std", "::", "make_unique", "<", "AMDGPUUnmangledLibFunc", ">", "(", ")", ";", "if", "(", "F", ".", "Impl", "->", "parseFuncName", "(", "FuncName", ")", ")", "return", "true", ";", "F", ".", "Impl", "=", "std", "::", "unique_ptr", "<", "AMDGPULibFuncImpl", ">", "(", ")", ";", "return", "false", ";", "}", ""], "natrual_language": ["Parses", "just-constructed", "SpecialCaseList", "entries", "from", "a", "memory", "buffer", "."], "TS_V_token": ["AMDGPU", "AMDGPU", "AMDGPU", "AMDGPU", "\"_Z\"", "AMDGPU", "AMDGPU", "AMDGPU"], "File": "AMDGPULibFunc (2)", "Func": "parse", "Target": "AMDGPU", "Target_Clf": "GPU", "Compiler_Type": "LLVM", "Idx": 2216, "Length": 106, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "Register", "MSP430RegisterInfo", "::", "getFrameRegister", "(", "const", "MachineFunction", "&", "MF", ")", "const", "{", "const", "MSP430FrameLowering", "*", "TFI", "=", "getFrameLowering", "(", "MF", ")", ";", "return", "TFI", "->", "hasFP", "(", "MF", ")", "?", "MSP430", "::", "FP", ":", "MSP430", "::", "SP", ";", "}", ""], "natrual_language": ["Debug", "information", "queries", "."], "TS_V_token": ["MSP430", "MSP430", "MSP430", "MSP430::FP", "MSP430::SP"], "File": "MSP430RegisterInfo28", "Func": "getFrameRegister", "Target": "MSP430", "Target_Clf": "MPU", "Compiler_Type": "LLVM", "Idx": 2217, "Length": 39, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "bool", "Z80oldTargetLowering", "::", "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": ["Z80old", "Z80old"], "File": "Z80oldISelLowering", "Func": "isTruncateFree", "Target": "Z80old", "Target_Clf": "MPU", "Compiler_Type": "LLVM", "Idx": 2218, "Length": 48, "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": 2219, "Length": 381, "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": 2220, "Length": 75, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "static", "void", "frv_optimize_membar", "(", "void", ")", "{", "basic_block", "bb", ";", "struct", "frv_io", "*", "first_io", ";", "rtx_insn", "*", "*", "last_membar", ";", "compute_bb_for_insn", "(", ")", ";", "first_io", "=", "XCNEWVEC", "(", "struct", "frv_io", ",", "last_basic_block_for_fn", "(", "cfun", ")", ")", ";", "last_membar", "=", "XCNEWVEC", "(", "rtx_insn", "*", ",", "last_basic_block_for_fn", "(", "cfun", ")", ")", ";", "FOR_EACH_BB_FN", "(", "bb", ",", "cfun", ")", "frv_optimize_membar_local", "(", "bb", ",", "&", "first_io", "[", "bb", "->", "index", "]", ",", "&", "last_membar", "[", "bb", "->", "index", "]", ")", ";", "FOR_EACH_BB_FN", "(", "bb", ",", "cfun", ")", "if", "(", "last_membar", "[", "bb", "->", "index", "]", "!=", "0", ")", "frv_optimize_membar_global", "(", "bb", ",", "first_io", ",", "last_membar", "[", "bb", "->", "index", "]", ")", ";", "free", "(", "first_io", ")", ";", "free", "(", "last_membar", ")", ";", "}", ""], "natrual_language": ["Remove", "redundant", "membars", "from", "the", "current", "function", "."], "TS_V_token": ["frv", "0"], "File": "frv", "Func": "frv_optimize_membar", "Target": "frv", "Target_Clf": "VLIW", "Compiler_Type": "GCC", "Idx": 2221, "Length": 119, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "virtual", "const", "unsigned", "*", "getCalleeSavedRegs", "(", "const", "MachineFunction", "*", "MF", "=", "0", ")", "const", "{", "static", "const", "unsigned", "CalleeSavedRegs", "[", "]", "=", "{", "0", "}", ";", "return", "CalleeSavedRegs", ";", "}", ""], "natrual_language": ["Code", "Generation", "virtual", "methods", "..."], "TS_V_token": ["PTX", "0", "0"], "File": "PTXRegisterInfo", "Func": "getCalleeSavedRegs", "Target": "PTX", "Target_Clf": "GPU", "Compiler_Type": "LLVM", "Idx": 2222, "Length": 30, "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": 2223, "Length": 13, "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": 2224, "Length": 79, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "static", "bool", "isSafeToMove", "(", "const", "MachineInstr", "*", "Def", ",", "const", "MachineInstr", "*", "Insert", ",", "AliasAnalysis", "&", "AA", ",", "const", "MachineRegisterInfo", "&", "MRI", ")", "{", "assert", "(", "Def", "->", "getParent", "(", ")", "==", "Insert", "->", "getParent", "(", ")", ")", ";", "if", "(", "Def", "->", "getOpcode", "(", ")", "==", "WebAssembly", "::", "CATCH", "||", "Def", "->", "getOpcode", "(", ")", "==", "WebAssembly", "::", "EXTRACT_EXCEPTION_I32", ")", "{", "const", "MachineBasicBlock", "*", "MBB", "=", "Def", "->", "getParent", "(", ")", ";", "auto", "NextI", "=", "std", "::", "next", "(", "MachineBasicBlock", "::", "const_iterator", "(", "Def", ")", ")", ";", "for", "(", "auto", "E", "=", "MBB", "->", "end", "(", ")", ";", "NextI", "!=", "E", "&&", "NextI", "->", "isDebugInstr", "(", ")", ";", "++", "NextI", ")", ";", "if", "(", "NextI", "!=", "Insert", ")", "return", "false", ";", "}", "SmallVector", "<", "unsigned", ",", "4", ">", "MutableRegisters", ";", "for", "(", "const", "MachineOperand", "&", "MO", ":", "Def", "->", "operands", "(", ")", ")", "{", "if", "(", "!", "MO", ".", "isReg", "(", ")", "||", "MO", ".", "isUndef", "(", ")", ")", "continue", ";", "unsigned", "Reg", "=", "MO", ".", "getReg", "(", ")", ";", "if", "(", "MO", ".", "isDead", "(", ")", "&&", "Insert", "->", "definesRegister", "(", "Reg", ")", "&&", "!", "Insert", "->", "readsRegister", "(", "Reg", ")", ")", "continue", ";", "if", "(", "TargetRegisterInfo", "::", "isPhysicalRegister", "(", "Reg", ")", ")", "{", "if", "(", "Reg", "==", "WebAssembly", "::", "ARGUMENTS", ")", "continue", ";", "if", "(", "!", "MRI", ".", "isPhysRegModified", "(", "Reg", ")", ")", "continue", ";", "return", "false", ";", "}", "if", "(", "!", "MO", ".", "isDef", "(", ")", "&&", "!", "MRI", ".", "hasOneDef", "(", "Reg", ")", ")", "MutableRegisters", ".", "push_back", "(", "Reg", ")", ";", "}", "bool", "Read", "=", "false", ",", "Write", "=", "false", ",", "Effects", "=", "false", ",", "StackPointer", "=", "false", ";", "query", "(", "*", "Def", ",", "AA", ",", "Read", ",", "Write", ",", "Effects", ",", "StackPointer", ")", ";", "bool", "HasMutableRegisters", "=", "!", "MutableRegisters", ".", "empty", "(", ")", ";", "if", "(", "!", "Read", "&&", "!", "Write", "&&", "!", "Effects", "&&", "!", "StackPointer", "&&", "!", "HasMutableRegisters", ")", "return", "true", ";", "MachineBasicBlock", "::", "const_iterator", "D", "(", "Def", ")", ",", "I", "(", "Insert", ")", ";", "for", "(", "--", "I", ";", "I", "!=", "D", ";", "--", "I", ")", "{", "bool", "InterveningRead", "=", "false", ";", "bool", "InterveningWrite", "=", "false", ";", "bool", "InterveningEffects", "=", "false", ";", "bool", "InterveningStackPointer", "=", "false", ";", "query", "(", "*", "I", ",", "AA", ",", "InterveningRead", ",", "InterveningWrite", ",", "InterveningEffects", ",", "InterveningStackPointer", ")", ";", "if", "(", "Effects", "&&", "InterveningEffects", ")", "return", "false", ";", "if", "(", "Read", "&&", "InterveningWrite", ")", "return", "false", ";", "if", "(", "Write", "&&", "(", "InterveningRead", "||", "InterveningWrite", ")", ")", "return", "false", ";", "if", "(", "StackPointer", "&&", "InterveningStackPointer", ")", "return", "false", ";", "for", "(", "unsigned", "Reg", ":", "MutableRegisters", ")", "for", "(", "const", "MachineOperand", "&", "MO", ":", "I", "->", "operands", "(", ")", ")", "if", "(", "MO", ".", "isReg", "(", ")", "&&", "MO", ".", "isDef", "(", ")", "&&", "MO", ".", "getReg", "(", ")", "==", "Reg", ")", "return", "false", ";", "}", "return", "true", ";", "}", ""], "natrual_language": ["Return", "true", "if", "it", "is", "safe", "to", "move", "this", "instruction", "."], "TS_V_token": ["WebAssembly", "WebAssembly::CATCH", "WebAssembly::EXTRACT_EXCEPTION_I32", "4", "WebAssembly::ARGUMENTS"], "File": "WebAssemblyRegStackify23", "Func": "isSafeToMove", "Target": "WebAssembly", "Target_Clf": "Virtual ISA", "Compiler_Type": "LLVM", "Idx": 2225, "Length": 472, "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": 2226, "Length": 26, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "void", "HexagonInstPrinter", "::", "printInst", "(", "MCInst", "const", "*", "MI", ",", "raw_ostream", "&", "O", ",", "StringRef", "Annot", ",", "const", "MCSubtargetInfo", "&", "STI", ")", "{", "const", "char", "startPacket", "=", "'{'", ",", "endPacket", "=", "'}'", ";", "if", "(", "MI", "->", "getOpcode", "(", ")", "==", "Hexagon", "::", "ENDLOOP0", ")", "{", "assert", "(", "HexagonMCInstrInfo", "::", "isPacketEnd", "(", "*", "MI", ")", "&&", "\"Loop-end must also end the packet\"", ")", ";", "if", "(", "HexagonMCInstrInfo", "::", "isPacketBegin", "(", "*", "MI", ")", ")", "{", "MCInst", "Nop", ";", "StringRef", "NoAnnot", ";", "Nop", ".", "setOpcode", "(", "Hexagon", "::", "A2_nop", ")", ";", "HexagonMCInstrInfo", "::", "setPacketBegin", "(", "Nop", ",", "HexagonMCInstrInfo", "::", "isPacketBegin", "(", "*", "MI", ")", ")", ";", "printInst", "(", "&", "Nop", ",", "O", ",", "NoAnnot", ",", "STI", ")", ";", "}", "if", "(", "HexagonMCInstrInfo", "::", "isPacketEnd", "(", "*", "MI", ")", ")", "O", "<<", "PacketPadding", "<<", "endPacket", ";", "printInstruction", "(", "MI", ",", "O", ")", ";", "}", "else", "{", "if", "(", "HexagonMCInstrInfo", "::", "isPacketBegin", "(", "*", "MI", ")", ")", "O", "<<", "PacketPadding", "<<", "startPacket", "<<", "'\\n'", ";", "printInstruction", "(", "MI", ",", "O", ")", ";", "if", "(", "HexagonMCInstrInfo", "::", "isPacketEnd", "(", "*", "MI", ")", ")", "O", "<<", "'\\n'", "<<", "PacketPadding", "<<", "endPacket", ";", "}", "printAnnotation", "(", "O", ",", "Annot", ")", ";", "}", ""], "natrual_language": ["Print", "the", "specified", "MCInst", "to", "the", "specified", "raw_ostream", "."], "TS_V_token": ["Hexagon", "Hexagon", "Hexagon::ENDLOOP0", "Hexagon", "\"Loop-end must also end the packet\"", "Hexagon", "Hexagon::A2_nop", "Hexagon", "Hexagon", "Hexagon", "Hexagon", "Hexagon"], "File": "HexagonInstPrinter21", "Func": "printInst", "Target": "Hexagon", "Target_Clf": "DSP", "Compiler_Type": "LLVM", "Idx": 2227, "Length": 191, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "static", "rtx", "nvptx_get_drap_rtx", "(", "void", ")", "{", "if", "(", "TARGET_SOFT_STACK", "&&", "stack_realign_drap", ")", "return", "arg_pointer_rtx", ";", "return", "NULL_RTX", ";", "}", ""], "natrual_language": ["Return", "Dynamic", "ReAlignment", "Pointer", "RTX", ".", "For", "PTX", "there", "is", "n't", "any", "."], "TS_V_token": ["nvptx"], "File": "nvptx", "Func": "nvptx_get_drap_rtx", "Target": "nvptx", "Target_Clf": "GPU", "Compiler_Type": "GCC", "Idx": 2228, "Length": 20, "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": 2229, "Length": 44, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "static", "void", "microblaze_block_move_straight", "(", "rtx", "dest", ",", "rtx", "src", ",", "HOST_WIDE_INT", "length", ")", "{", "HOST_WIDE_INT", "offset", ",", "delta", ";", "unsigned", "HOST_WIDE_INT", "bits", ";", "int", "i", ";", "machine_mode", "mode", ";", "rtx", "*", "regs", ";", "bits", "=", "BITS_PER_WORD", ";", "mode", "=", "mode_for_size", "(", "bits", ",", "MODE_INT", ",", "0", ")", ";", "delta", "=", "bits", "/", "BITS_PER_UNIT", ";", "regs", "=", "XALLOCAVEC", "(", "rtx", ",", "length", "/", "delta", ")", ";", "for", "(", "offset", "=", "0", ",", "i", "=", "0", ";", "offset", "+", "delta", "<=", "length", ";", "offset", "+=", "delta", ",", "i", "++", ")", "{", "regs", "[", "i", "]", "=", "gen_reg_rtx", "(", "mode", ")", ";", "emit_move_insn", "(", "regs", "[", "i", "]", ",", "adjust_address", "(", "src", ",", "mode", ",", "offset", ")", ")", ";", "}", "for", "(", "offset", "=", "0", ",", "i", "=", "0", ";", "offset", "+", "delta", "<=", "length", ";", "offset", "+=", "delta", ",", "i", "++", ")", "emit_move_insn", "(", "adjust_address", "(", "dest", ",", "mode", ",", "offset", ")", ",", "regs", "[", "i", "]", ")", ";", "if", "(", "offset", "<", "length", ")", "{", "src", "=", "adjust_address", "(", "src", ",", "BLKmode", ",", "offset", ")", ";", "dest", "=", "adjust_address", "(", "dest", ",", "BLKmode", ",", "offset", ")", ";", "move_by_pieces", "(", "dest", ",", "src", ",", "length", "-", "offset", ",", "MIN", "(", "MEM_ALIGN", "(", "src", ")", ",", "MEM_ALIGN", "(", "dest", ")", ")", ",", "0", ")", ";", "}", "}", ""], "natrual_language": ["Emit", "straight-line", "code", "to", "move", "LENGTH", "bytes", "from", "SRC", "to", "DEST", ".", "Assume", "that", "the", "areas", "do", "not", "overlap", "."], "TS_V_token": ["microblaze", "0", "0", "0", "0", "0", "0"], "File": "microblaze2", "Func": "microblaze_block_move_straight", "Target": "microblaze", "Target_Clf": "MPU", "Compiler_Type": "GCC", "Idx": 2230, "Length": 214, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "void", "GCNUpwardRPTracker", "::", "recede", "(", "const", "MachineInstr", "&", "MI", ")", "{", "assert", "(", "MRI", "&&", "\"call reset first\"", ")", ";", "LastTrackedMI", "=", "&", "MI", ";", "if", "(", "MI", ".", "isDebugValue", "(", ")", ")", "return", ";", "auto", "const", "RegUses", "=", "collectVirtualRegUses", "(", "MI", ",", "LIS", ",", "*", "MRI", ")", ";", "auto", "AtMIPressure", "=", "CurPressure", ";", "for", "(", "const", "auto", "&", "U", ":", "RegUses", ")", "{", "auto", "LiveMask", "=", "LiveRegs", "[", "U", ".", "RegUnit", "]", ";", "AtMIPressure", ".", "inc", "(", "U", ".", "RegUnit", ",", "LiveMask", ",", "LiveMask", "|", "U", ".", "LaneMask", ",", "*", "MRI", ")", ";", "}", "MaxPressure", "=", "max", "(", "AtMIPressure", ",", "MaxPressure", ")", ";", "for", "(", "const", "auto", "&", "MO", ":", "MI", ".", "defs", "(", ")", ")", "{", "if", "(", "!", "MO", ".", "isReg", "(", ")", "||", "!", "TargetRegisterInfo", "::", "isVirtualRegister", "(", "MO", ".", "getReg", "(", ")", ")", "||", "MO", ".", "isDead", "(", ")", ")", "continue", ";", "auto", "Reg", "=", "MO", ".", "getReg", "(", ")", ";", "auto", "I", "=", "LiveRegs", ".", "find", "(", "Reg", ")", ";", "if", "(", "I", "==", "LiveRegs", ".", "end", "(", ")", ")", "continue", ";", "auto", "&", "LiveMask", "=", "I", "->", "second", ";", "auto", "PrevMask", "=", "LiveMask", ";", "LiveMask", "&=", "~", "getDefRegMask", "(", "MO", ",", "*", "MRI", ")", ";", "CurPressure", ".", "inc", "(", "Reg", ",", "PrevMask", ",", "LiveMask", ",", "*", "MRI", ")", ";", "if", "(", "LiveMask", ".", "none", "(", ")", ")", "LiveRegs", ".", "erase", "(", "I", ")", ";", "}", "for", "(", "const", "auto", "&", "U", ":", "RegUses", ")", "{", "auto", "&", "LiveMask", "=", "LiveRegs", "[", "U", ".", "RegUnit", "]", ";", "auto", "PrevMask", "=", "LiveMask", ";", "LiveMask", "|=", "U", ".", "LaneMask", ";", "CurPressure", ".", "inc", "(", "U", ".", "RegUnit", ",", "PrevMask", ",", "LiveMask", ",", "*", "MRI", ")", ";", "}", "assert", "(", "CurPressure", "==", "getRegPressure", "(", "*", "MRI", ",", "LiveRegs", ")", ")", ";", "}", ""], "natrual_language": ["Recede", "across", "the", "previous", "instruction", "."], "TS_V_token": ["AMDGPU", "\"call reset first\""], "File": "GCNRegPressure15", "Func": "recede", "Target": "AMDGPU", "Target_Clf": "GPU", "Compiler_Type": "LLVM", "Idx": 2231, "Length": 293, "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", ")", ")", "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": "MipsInstPrinter38", "Func": "printInst", "Target": "Mips", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 2232, "Length": 103, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "static", "bool", "arc_must_save_register", "(", "int", "regno", ",", "struct", "function", "*", "func", ")", "{", "unsigned", "int", "fn_type", "=", "arc_compute_function_type", "(", "func", ")", ";", "bool", "irq_auto_save_p", "=", "(", "(", "irq_ctrl_saved", ".", "irq_save_last_reg", ">=", "regno", ")", "&&", "ARC_AUTO_IRQ_P", "(", "fn_type", ")", ")", ";", "bool", "firq_auto_save_p", "=", "ARC_FAST_INTERRUPT_P", "(", "fn_type", ")", ";", "switch", "(", "rgf_banked_register_count", ")", "{", "case", "4", ":", "firq_auto_save_p", "&=", "(", "regno", "<", "4", ")", ";", "break", ";", "case", "8", ":", "firq_auto_save_p", "&=", "(", "(", "regno", "<", "4", ")", "||", "(", "(", "regno", ">", "11", ")", "&&", "(", "regno", "<", "16", ")", ")", ")", ";", "break", ";", "case", "16", ":", "firq_auto_save_p", "&=", "(", "(", "regno", "<", "4", ")", "||", "(", "(", "regno", ">", "9", ")", "&&", "(", "regno", "<", "16", ")", ")", "||", "(", "(", "regno", ">", "25", ")", "&&", "(", "regno", "<", "29", ")", ")", "||", "(", "(", "regno", ">", "29", ")", "&&", "(", "regno", "<", "32", ")", ")", ")", ";", "break", ";", "case", "32", ":", "firq_auto_save_p", "&=", "(", "regno", "!=", "29", ")", "&&", "(", "regno", "<", "32", ")", ";", "break", ";", "default", ":", "firq_auto_save_p", "=", "false", ";", "break", ";", "}", "switch", "(", "regno", ")", "{", "case", "RETURN_ADDR_REGNUM", ":", "case", "STACK_POINTER_REGNUM", ":", "return", "false", ";", "case", "HARD_FRAME_POINTER_REGNUM", ":", "if", "(", "arc_frame_pointer_needed", "(", ")", ")", "return", "false", ";", "default", ":", "if", "(", "df_regs_ever_live_p", "(", "regno", ")", "&&", "(", "!", "call_used_regs", "[", "regno", "]", "||", "ARC_INTERRUPT_P", "(", "fn_type", ")", ")", "&&", "!", "irq_auto_save_p", "&&", "!", "firq_auto_save_p", ")", "return", "true", ";", "}", "return", "false", ";", "}", ""], "natrual_language": ["Tell", "prologue", "and", "epilogue", "if", "register", "REGNO", "should", "be", "saved", "/", "restored", ".", "The", "return", "address", ",", "stack", "pointer", "and", "frame", "pointer", "are", "treated", "separately", ".", "Do", "n't", "consider", "them", "here", ".", "Addition", "for", "pic", ":", "The", "gp", "register", "needs", "to", "be", "saved", "if", "the", "current", "function", "changes", "it", "to", "access", "gotoff", "variables", ".", "FIXME", ":", "This", "will", "not", "be", "needed", "if", "we", "used", "some", "arbitrary", "register", "instead", "of", "r26", "."], "TS_V_token": ["arc", "4", "4", "8", "4", "11", "16", "16", "4", "9", "16", "25", "29", "29", "32", "32", "29", "32"], "File": "arc8", "Func": "arc_must_save_register", "Target": "arc", "Target_Clf": "MPU", "Compiler_Type": "GCC", "Idx": 2233, "Length": 242, "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": 2234, "Length": 28, "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": 2235, "Length": 31, "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": 2236, "Length": 77, "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", ";", "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", "0"], "File": "RISCVFrameLowering10", "Func": "emitPrologue", "Target": "RISCV", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 2237, "Length": 194, "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": 2238, "Length": 136, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "BitVector", "R600RegisterInfo", "::", "getReservedRegs", "(", "const", "MachineFunction", "&", "MF", ")", "const", "{", "BitVector", "Reserved", "(", "getNumRegs", "(", ")", ")", ";", "const", "R600Subtarget", "&", "ST", "=", "MF", ".", "getSubtarget", "<", "R600Subtarget", ">", "(", ")", ";", "const", "R600InstrInfo", "*", "TII", "=", "ST", ".", "getInstrInfo", "(", ")", ";", "reserveRegisterTuples", "(", "Reserved", ",", "R600", "::", "ZERO", ")", ";", "reserveRegisterTuples", "(", "Reserved", ",", "R600", "::", "HALF", ")", ";", "reserveRegisterTuples", "(", "Reserved", ",", "R600", "::", "ONE", ")", ";", "reserveRegisterTuples", "(", "Reserved", ",", "R600", "::", "ONE_INT", ")", ";", "reserveRegisterTuples", "(", "Reserved", ",", "R600", "::", "NEG_HALF", ")", ";", "reserveRegisterTuples", "(", "Reserved", ",", "R600", "::", "NEG_ONE", ")", ";", "reserveRegisterTuples", "(", "Reserved", ",", "R600", "::", "PV_X", ")", ";", "reserveRegisterTuples", "(", "Reserved", ",", "R600", "::", "ALU_LITERAL_X", ")", ";", "reserveRegisterTuples", "(", "Reserved", ",", "R600", "::", "ALU_CONST", ")", ";", "reserveRegisterTuples", "(", "Reserved", ",", "R600", "::", "PREDICATE_BIT", ")", ";", "reserveRegisterTuples", "(", "Reserved", ",", "R600", "::", "PRED_SEL_OFF", ")", ";", "reserveRegisterTuples", "(", "Reserved", ",", "R600", "::", "PRED_SEL_ZERO", ")", ";", "reserveRegisterTuples", "(", "Reserved", ",", "R600", "::", "PRED_SEL_ONE", ")", ";", "reserveRegisterTuples", "(", "Reserved", ",", "R600", "::", "INDIRECT_BASE_ADDR", ")", ";", "for", "(", "TargetRegisterClass", "::", "iterator", "I", "=", "R600", "::", "R600_AddrRegClass", ".", "begin", "(", ")", ",", "E", "=", "R600", "::", "R600_AddrRegClass", ".", "end", "(", ")", ";", "I", "!=", "E", ";", "++", "I", ")", "{", "reserveRegisterTuples", "(", "Reserved", ",", "*", "I", ")", ";", "}", "TII", "->", "reserveIndirectRegisters", "(", "Reserved", ",", "MF", ",", "*", "this", ")", ";", "return", "Reserved", ";", "}", ""], "natrual_language": ["getReservedRegs", "-", "Returns", "a", "bitset", "indexed", "by", "physical", "register", "number", "indicating", "if", "a", "register", "is", "a", "special", "register", "that", "has", "particular", "uses", "and", "should", "be", "considered", "unavailable", "at", "all", "times", ",", "e.g", "."], "TS_V_token": ["AMDGPU", "R600", "R600", "R600", "R600", "R600::ZERO", "R600::HALF", "R600::ONE", "R600::ONE_INT", "R600::NEG_HALF", "R600::NEG_ONE", "R600::PV_X", "R600::ALU_LITERAL_X", "R600::ALU_CONST", "R600::PREDICATE_BIT", "R600::PRED_SEL_OFF", "R600::PRED_SEL_ZERO", "R600::PRED_SEL_ONE", "R600::INDIRECT_BASE_ADDR", "R600::R600_AddrRegClass", "R600::R600_AddrRegClass"], "File": "R600RegisterInfo1", "Func": "getReservedRegs", "Target": "AMDGPU", "Target_Clf": "GPU", "Compiler_Type": "LLVM", "Idx": 2239, "Length": 229, "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": 2240, "Length": 13, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "bool", "m68k_matches_u_p", "(", "rtx", "x", ")", "{", "struct", "m68k_address", "address", ";", "return", "(", "m68k_legitimate_mem_p", "(", "x", ",", "&", "address", ")", "&&", "address", ".", "code", "==", "UNKNOWN", "&&", "address", ".", "base", "&&", "address", ".", "offset", "&&", "!", "address", ".", "index", ")", ";", "}", ""], "natrual_language": ["Return", "true", "if", "X", "matches", "the", "'", "U", "'", "constraint", ".", "It", "must", "be", "a", "base", "address", "with", "a", "constant", "offset", "and", "no", "index", "."], "TS_V_token": ["m68k"], "File": "m68k", "Func": "m68k_matches_u_p", "Target": "m68k", "Target_Clf": "MPU", "Compiler_Type": "GCC", "Idx": 2241, "Length": 42, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "SDValue", "RV16KTargetLowering", "::", "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_RV16K", ")", ";", "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", "(", "&", "RV16K", "::", "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": ["RV16K", "RV16K", "ISD::InputArg", "\"Unsupported calling convention\"", "\"VarArg not supported\"", "16", "RV16K", "MVT::i16", "\"LowerFormalArguments Unhandled argument type: \"", "\"\\n\"", "\"unhandled argument type\"", "RV16K::GPRRegClass", "MVT::i16", "MVT::i16", "2", "MVT::i16"], "File": "RV16KISelLowering", "Func": "LowerFormalArguments", "Target": "RV16K", "Target_Clf": "Virtual ISA", "Compiler_Type": "LLVM", "Idx": 2242, "Length": 357, "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": 2243, "Length": 337, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "const", "char", "*", "output_tst", "(", "rtx", "operand", ",", "rtx", "insn", ")", "{", "rtx", "temp", ";", "int", "past_call", "=", "0", ";", "temp", "=", "PREV_INSN", "(", "insn", ")", ";", "while", "(", "optimize", "&&", "temp", ")", "{", "rtx", "set", ";", "if", "(", "GET_CODE", "(", "temp", ")", "==", "CODE_LABEL", "||", "GET_CODE", "(", "temp", ")", "==", "JUMP_INSN", "||", "GET_CODE", "(", "temp", ")", "==", "BARRIER", ")", "break", ";", "if", "(", "GET_CODE", "(", "temp", ")", "==", "CALL_INSN", ")", "past_call", "=", "1", ";", "if", "(", "GET_CODE", "(", "temp", ")", "==", "NOTE", ")", "{", "temp", "=", "PREV_INSN", "(", "temp", ")", ";", "continue", ";", "}", "set", "=", "single_set", "(", "temp", ")", ";", "if", "(", "!", "set", ")", "{", "temp", "=", "PREV_INSN", "(", "temp", ")", ";", "continue", ";", "}", "if", "(", "REG_P", "(", "SET_DEST", "(", "set", ")", ")", "&&", "SET_SRC", "(", "set", ")", "==", "CONST0_RTX", "(", "GET_MODE", "(", "SET_DEST", "(", "set", ")", ")", ")", "&&", "!", "reg_set_between_p", "(", "SET_DEST", "(", "set", ")", ",", "temp", ",", "insn", ")", "&&", "(", "REGNO_REG_CLASS", "(", "REGNO", "(", "SET_DEST", "(", "set", ")", ")", ")", "==", "REGNO_REG_CLASS", "(", "REGNO", "(", "operand", ")", ")", ")", "&&", "REGNO_REG_CLASS", "(", "REGNO", "(", "SET_DEST", "(", "set", ")", ")", ")", "!=", "EXTENDED_REGS", "&&", "REGNO", "(", "SET_DEST", "(", "set", ")", ")", "!=", "REGNO", "(", "operand", ")", "&&", "(", "!", "past_call", "||", "!", "call_used_regs", "[", "REGNO", "(", "SET_DEST", "(", "set", ")", ")", "]", ")", ")", "{", "rtx", "xoperands", "[", "2", "]", ";", "xoperands", "[", "0", "]", "=", "operand", ";", "xoperands", "[", "1", "]", "=", "SET_DEST", "(", "set", ")", ";", "output_asm_insn", "(", "\"cmp %1,%0\"", ",", "xoperands", ")", ";", "return", "\"\"", ";", "}", "if", "(", "REGNO_REG_CLASS", "(", "REGNO", "(", "operand", ")", ")", "==", "EXTENDED_REGS", "&&", "REG_P", "(", "SET_DEST", "(", "set", ")", ")", "&&", "SET_SRC", "(", "set", ")", "==", "CONST0_RTX", "(", "GET_MODE", "(", "SET_DEST", "(", "set", ")", ")", ")", "&&", "!", "reg_set_between_p", "(", "SET_DEST", "(", "set", ")", ",", "temp", ",", "insn", ")", "&&", "(", "REGNO_REG_CLASS", "(", "REGNO", "(", "SET_DEST", "(", "set", ")", ")", ")", "!=", "REGNO_REG_CLASS", "(", "REGNO", "(", "operand", ")", ")", ")", "&&", "REGNO_REG_CLASS", "(", "REGNO", "(", "SET_DEST", "(", "set", ")", ")", ")", "==", "EXTENDED_REGS", "&&", "REGNO", "(", "SET_DEST", "(", "set", ")", ")", "!=", "REGNO", "(", "operand", ")", "&&", "(", "!", "past_call", "||", "!", "call_used_regs", "[", "REGNO", "(", "SET_DEST", "(", "set", ")", ")", "]", ")", ")", "{", "rtx", "xoperands", "[", "2", "]", ";", "xoperands", "[", "0", "]", "=", "operand", ";", "xoperands", "[", "1", "]", "=", "SET_DEST", "(", "set", ")", ";", "output_asm_insn", "(", "\"cmp %1,%0\"", ",", "xoperands", ")", ";", "return", "\"\"", ";", "}", "temp", "=", "PREV_INSN", "(", "temp", ")", ";", "}", "return", "\"cmp 0,%0\"", ";", "}", ""], "natrual_language": ["Output", "a", "tst", "insn", "."], "TS_V_token": ["mn10300", "0", "1", "2", "0", "1", "\"cmp %1,%0\"", "\"\"", "2", "0", "1", "\"cmp %1,%0\"", "\"\"", "\"cmp 0,%0\""], "File": "mn103003", "Func": "output_tst", "Target": "mn10300", "Target_Clf": "MPU", "Compiler_Type": "GCC", "Idx": 2244, "Length": 416, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "void", "SIFrameLowering", "::", "emitPrologue", "(", "MachineFunction", "&", "MF", ",", "MachineBasicBlock", "&", "MBB", ")", "const", "{", "const", "SIMachineFunctionInfo", "*", "FuncInfo", "=", "MF", ".", "getInfo", "<", "SIMachineFunctionInfo", ">", "(", ")", ";", "if", "(", "FuncInfo", "->", "isEntryFunction", "(", ")", ")", "{", "emitEntryFunctionPrologue", "(", "MF", ",", "MBB", ")", ";", "return", ";", "}", "const", "MachineFrameInfo", "&", "MFI", "=", "MF", ".", "getFrameInfo", "(", ")", ";", "const", "SISubtarget", "&", "ST", "=", "MF", ".", "getSubtarget", "<", "SISubtarget", ">", "(", ")", ";", "const", "SIInstrInfo", "*", "TII", "=", "ST", ".", "getInstrInfo", "(", ")", ";", "unsigned", "StackPtrReg", "=", "FuncInfo", "->", "getStackPtrOffsetReg", "(", ")", ";", "unsigned", "FramePtrReg", "=", "FuncInfo", "->", "getFrameOffsetReg", "(", ")", ";", "MachineBasicBlock", "::", "iterator", "MBBI", "=", "MBB", ".", "begin", "(", ")", ";", "DebugLoc", "DL", ";", "bool", "NeedFP", "=", "hasFP", "(", "MF", ")", ";", "if", "(", "NeedFP", ")", "{", "BuildMI", "(", "MBB", ",", "MBBI", ",", "DL", ",", "TII", "->", "get", "(", "AMDGPU", "::", "COPY", ")", ",", "FramePtrReg", ")", ".", "addReg", "(", "StackPtrReg", ")", ".", "setMIFlag", "(", "MachineInstr", "::", "FrameSetup", ")", ";", "}", "uint32_t", "NumBytes", "=", "MFI", ".", "getStackSize", "(", ")", ";", "if", "(", "NumBytes", "!=", "0", "&&", "hasSP", "(", "MF", ")", ")", "{", "BuildMI", "(", "MBB", ",", "MBBI", ",", "DL", ",", "TII", "->", "get", "(", "AMDGPU", "::", "S_ADD_U32", ")", ",", "StackPtrReg", ")", ".", "addReg", "(", "StackPtrReg", ")", ".", "addImm", "(", "NumBytes", "*", "ST", ".", "getWavefrontSize", "(", ")", ")", ".", "setMIFlag", "(", "MachineInstr", "::", "FrameSetup", ")", ";", "}", "}", ""], "natrual_language": ["emitProlog/emitEpilog", "-", "These", "methods", "insert", "prolog", "and", "epilog", "code", "into", "the", "function", "."], "TS_V_token": ["AMDGPU", "SI", "SI", "SI", "SI", "SI", "SI", "AMDGPU::COPY", "0", "AMDGPU::S_ADD_U32"], "File": "SIFrameLowering11", "Func": "emitPrologue", "Target": "AMDGPU", "Target_Clf": "GPU", "Compiler_Type": "LLVM", "Idx": 2245, "Length": 228, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "bool", "SILoadStoreOptimizer", "::", "runOnMachineFunction", "(", "MachineFunction", "&", "MF", ")", "{", "if", "(", "skipFunction", "(", "*", "MF", ".", "getFunction", "(", ")", ")", ")", "return", "false", ";", "const", "SISubtarget", "&", "STM", "=", "MF", ".", "getSubtarget", "<", "SISubtarget", ">", "(", ")", ";", "if", "(", "!", "STM", ".", "loadStoreOptEnabled", "(", ")", ")", "return", "false", ";", "TII", "=", "STM", ".", "getInstrInfo", "(", ")", ";", "TRI", "=", "&", "TII", "->", "getRegisterInfo", "(", ")", ";", "MRI", "=", "&", "MF", ".", "getRegInfo", "(", ")", ";", "AA", "=", "&", "getAnalysis", "<", "AAResultsWrapperPass", ">", "(", ")", ".", "getAAResults", "(", ")", ";", "DEBUG", "(", "dbgs", "(", ")", "<<", "\"Running SILoadStoreOptimizer\\n\"", ")", ";", "bool", "Modified", "=", "false", ";", "for", "(", "MachineBasicBlock", "&", "MBB", ":", "MF", ")", "Modified", "|=", "optimizeBlock", "(", "MBB", ")", ";", "return", "Modified", ";", "}", ""], "natrual_language": ["runOnMachineFunction", "-", "Emit", "the", "function", "body", "."], "TS_V_token": ["AMDGPU", "SI", "SI", "SI", "\"Running SILoadStoreOptimizer\\n\""], "File": "SILoadStoreOptimizer13", "Func": "runOnMachineFunction", "Target": "AMDGPU", "Target_Clf": "GPU", "Compiler_Type": "LLVM", "Idx": 2246, "Length": 124, "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": 2247, "Length": 185, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "TargetPassConfig", "*", "M680x0TargetMachine", "::", "createPassConfig", "(", "PassManagerBase", "&", "PM", ")", "{", "return", "new", "M680x0PassConfig", "(", "*", "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": ["M680x0", "M680x0", "M680x0"], "File": "M680x0TargetMachine", "Func": "createPassConfig", "Target": "M680x0", "Target_Clf": "MPU", "Compiler_Type": "LLVM", "Idx": 2248, "Length": 22, "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": 2249, "Length": 188, "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": 2250, "Length": 171, "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": 2251, "Length": 161, "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": 2252, "Length": 11, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "void", "TeakFrameLowering", "::", "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", ";", "MachineFrameInfo", "&", "MFI", "=", "MF", ".", "getFrameInfo", "(", ")", ";", "const", "std", "::", "vector", "<", "CalleeSavedInfo", ">", "&", "CSI", "=", "MFI", ".", "getCalleeSavedInfo", "(", ")", ";", "StackSize", "-=", "CSI", ".", "size", "(", ")", "*", "2", ";", "if", "(", "!", "StackSize", ")", "return", ";", "BuildMI", "(", "MBB", ",", "MBBI", ",", "dl", ",", "TII", ".", "get", "(", "Teak", "::", "PUSH_regnob16", ")", ",", "Teak", "::", "R7", ")", ".", "setMIFlag", "(", "MachineInstr", "::", "FrameSetup", ")", ";", "BuildMI", "(", "MBB", ",", "MBBI", ",", "dl", ",", "TII", ".", "get", "(", "Teak", "::", "MOV_regnobp016_regnob16", ")", ",", "Teak", "::", "R7", ")", ".", "addReg", "(", "Teak", "::", "SP", ")", ".", "setMIFlag", "(", "MachineInstr", "::", "FrameSetup", ")", ";", "BuildMI", "(", "MBB", ",", "MBBI", ",", "dl", ",", "TII", ".", "get", "(", "Teak", "::", "ADDV_imm16_RegNoBRegs16", ")", ",", "Teak", "::", "SP", ")", ".", "addImm", "(", "-", "(", "StackSize", ">>", "1", ")", ")", ".", "addReg", "(", "Teak", "::", "SP", ")", ".", "setMIFlag", "(", "MachineInstr", "::", "FrameSetup", ")", ";", "BuildMI", "(", "MBB", ",", "MBBI", ",", "dl", ",", "TII", ".", "get", "(", "Teak", "::", "NOP", ")", ")", ".", "setMIFlag", "(", "MachineInstr", "::", "FrameSetup", ")", ";", "}", ""], "natrual_language": ["emitProlog/emitEpilog", "-", "These", "methods", "insert", "prolog", "and", "epilog", "code", "into", "the", "function", "."], "TS_V_token": ["Teak", "Teak", "2", "Teak::PUSH_regnob16", "Teak::R7", "Teak::MOV_regnobp016_regnob16", "Teak::R7", "Teak::SP", "Teak::ADDV_imm16_RegNoBRegs16", "Teak::SP", "1", "Teak::SP", "Teak::NOP"], "File": "TeakFrameLowering", "Func": "emitPrologue", "Target": "Teak", "Target_Clf": "DSP", "Compiler_Type": "LLVM", "Idx": 2253, "Length": 258, "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": 2254, "Length": 15, "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": 2255, "Length": 12, "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": 2256, "Length": 248, "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": 2257, "Length": 218, "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": 2258, "Length": 18, "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": 2259, "Length": 218, "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": 2260, "Length": 47, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "static", "void", "s390_register_info_gprtofpr", "(", ")", "{", "int", "save_reg_slot", "=", "FPR0_REGNUM", ";", "int", "i", ",", "j", ";", "if", "(", "!", "TARGET_Z10", "||", "!", "TARGET_HARD_FLOAT", "||", "!", "crtl", "->", "is_leaf", ")", "return", ";", "for", "(", "i", "=", "15", ";", "i", ">=", "6", ";", "i", "--", ")", "{", "if", "(", "cfun_gpr_save_slot", "(", "i", ")", "==", "SAVE_SLOT_NONE", ")", "continue", ";", "while", "(", "(", "!", "call_really_used_regs", "[", "save_reg_slot", "]", "||", "df_regs_ever_live_p", "(", "save_reg_slot", ")", "||", "cfun_fpr_save_p", "(", "save_reg_slot", ")", ")", "&&", "FP_REGNO_P", "(", "save_reg_slot", ")", ")", "save_reg_slot", "++", ";", "if", "(", "!", "FP_REGNO_P", "(", "save_reg_slot", ")", ")", "{", "for", "(", "j", "=", "6", ";", "j", "<=", "15", ";", "j", "++", ")", "if", "(", "FP_REGNO_P", "(", "cfun_gpr_save_slot", "(", "j", ")", ")", ")", "cfun_gpr_save_slot", "(", "j", ")", "=", "SAVE_SLOT_STACK", ";", "break", ";", "}", "cfun_gpr_save_slot", "(", "i", ")", "=", "save_reg_slot", "++", ";", "}", "}", ""], "natrual_language": ["Update", "gpr_save_slots", "in", "the", "frame", "layout", "trying", "to", "make", "use", "of", "FPRs", "as", "GPR", "save", "slots", ".", "This", "is", "a", "helper", "routine", "of", "s390_register_info", "."], "TS_V_token": ["s390", "15", "6", "6", "15"], "File": "s3905", "Func": "s390_register_info_gprtofpr", "Target": "s390", "Target_Clf": "MPU", "Compiler_Type": "GCC", "Idx": 2261, "Length": 136, "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": 2262, "Length": 283, "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": ["RI5CY", "RISCV", "RISCV", "RISCV"], "File": "RISCVMCExpr", "Func": "create", "Target": "RI5CY", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 2263, "Length": 33, "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": 2264, "Length": 98, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "static", "rtx", "save_fpr", "(", "rtx", "base", ",", "int", "offset", ",", "int", "regnum", ")", "{", "rtx", "addr", ";", "addr", "=", "gen_rtx_MEM", "(", "DFmode", ",", "plus_constant", "(", "Pmode", ",", "base", ",", "offset", ")", ")", ";", "if", "(", "regnum", ">=", "16", "&&", "regnum", "<=", "(", "16", "+", "FP_ARG_NUM_REG", ")", ")", "set_mem_alias_set", "(", "addr", ",", "get_varargs_alias_set", "(", ")", ")", ";", "else", "set_mem_alias_set", "(", "addr", ",", "get_frame_alias_set", "(", ")", ")", ";", "return", "emit_move_insn", "(", "addr", ",", "gen_rtx_REG", "(", "DFmode", ",", "regnum", ")", ")", ";", "}", ""], "natrual_language": ["Emit", "insn", "to", "save", "fpr", "REGNUM", "at", "offset", "OFFSET", "relative", "to", "register", "BASE", ".", "Return", "generated", "insn", "."], "TS_V_token": ["s390", "16", "16"], "File": "s390", "Func": "save_fpr", "Target": "s390", "Target_Clf": "MPU", "Compiler_Type": "GCC", "Idx": 2265, "Length": 80, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "static", "void", "c6x_initialize_trampoline", "(", "rtx", "tramp", ",", "tree", "fndecl", ",", "rtx", "cxt", ")", "{", "rtx", "fnaddr", "=", "XEXP", "(", "DECL_RTL", "(", "fndecl", ")", ",", "0", ")", ";", "rtx", "t1", "=", "copy_to_reg", "(", "fnaddr", ")", ";", "rtx", "t2", "=", "copy_to_reg", "(", "cxt", ")", ";", "rtx", "mask", "=", "gen_reg_rtx", "(", "SImode", ")", ";", "int", "i", ";", "emit_block_move", "(", "tramp", ",", "assemble_trampoline_template", "(", ")", ",", "GEN_INT", "(", "TRAMPOLINE_SIZE", ")", ",", "BLOCK_OP_NORMAL", ")", ";", "emit_move_insn", "(", "mask", ",", "GEN_INT", "(", "0xffff", "<<", "7", ")", ")", ";", "for", "(", "i", "=", "0", ";", "i", "<", "4", ";", "i", "++", ")", "{", "rtx", "mem", "=", "adjust_address", "(", "tramp", ",", "SImode", ",", "i", "*", "4", ")", ";", "rtx", "t", "=", "(", "i", "&", "1", ")", "?", "t2", ":", "t1", ";", "rtx", "v1", "=", "gen_reg_rtx", "(", "SImode", ")", ";", "rtx", "v2", "=", "gen_reg_rtx", "(", "SImode", ")", ";", "emit_move_insn", "(", "v1", ",", "mem", ")", ";", "if", "(", "i", "<", "2", ")", "emit_insn", "(", "gen_ashlsi3", "(", "v2", ",", "t", ",", "GEN_INT", "(", "7", ")", ")", ")", ";", "else", "emit_insn", "(", "gen_lshrsi3", "(", "v2", ",", "t", ",", "GEN_INT", "(", "9", ")", ")", ")", ";", "emit_insn", "(", "gen_andsi3", "(", "v2", ",", "v2", ",", "mask", ")", ")", ";", "emit_insn", "(", "gen_iorsi3", "(", "v2", ",", "v2", ",", "v1", ")", ")", ";", "emit_move_insn", "(", "mem", ",", "v2", ")", ";", "}", "tramp", "=", "XEXP", "(", "tramp", ",", "0", ")", ";", "maybe_emit_call_builtin___clear_cache", "(", "tramp", ",", "plus_constant", "(", "Pmode", ",", "tramp", ",", "TRAMPOLINE_SIZE", ")", ")", ";", "}", ""], "natrual_language": ["Emit", "RTL", "insns", "to", "initialize", "the", "variable", "parts", "of", "a", "trampoline", "at", "TRAMP", ".", "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": ["c6x", "0", "0xffff", "7", "0", "4", "4", "1", "2", "7", "9", "0"], "File": "c6x", "Func": "c6x_initialize_trampoline", "Target": "c6x", "Target_Clf": "VLIW", "Compiler_Type": "GCC", "Idx": 2266, "Length": 239, "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": 2267, "Length": 31, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "const", "char", "*", "nvptx_output_simt_exit", "(", "rtx", "src", ")", "{", "nvptx_output_unisimt_switch", "(", "asm_out_file", ",", "false", ")", ";", "nvptx_output_softstack_switch", "(", "asm_out_file", ",", "false", ",", "src", ",", "NULL_RTX", ",", "NULL_RTX", ")", ";", "return", "\"\"", ";", "}", ""], "natrual_language": ["Output", "code", "to", "leave", "non-uniform", "execution", "region", ".", "SRC", "is", "the", "register", "holding", "per-lane", "storage", "previously", "allocated", "by", "omp_simt_enter", "insn", "."], "TS_V_token": ["nvptx", "\"\""], "File": "nvptx", "Func": "nvptx_output_simt_exit", "Target": "nvptx", "Target_Clf": "GPU", "Compiler_Type": "GCC", "Idx": 2268, "Length": 33, "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", "'C'", ":", "case", "'f'", ":", "case", "'v'", ":", "return", "C_RegisterClass", ";", "case", "'I'", ":", "case", "'J'", ":", "case", "'K'", ":", "return", "C_Immediate", ";", "case", "'A'", ":", "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": ["RISCV", "RISCV", "RISCV", "1", "0"], "File": "RISCVISelLowering42", "Func": "getConstraintType", "Target": "RISCV", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 2269, "Length": 82, "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": 2270, "Length": 102, "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": 2271, "Length": 279, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "static", "int", "s390_split_branches", "(", "void", ")", "{", "rtx", "temp_reg", "=", "gen_rtx_REG", "(", "Pmode", ",", "RETURN_REGNUM", ")", ";", "int", "new_literal", "=", "0", ",", "ret", ";", "rtx_insn", "*", "insn", ";", "rtx", "pat", ",", "target", ";", "rtx", "*", "label", ";", "shorten_branches", "(", "get_insns", "(", ")", ")", ";", "for", "(", "insn", "=", "get_insns", "(", ")", ";", "insn", ";", "insn", "=", "NEXT_INSN", "(", "insn", ")", ")", "{", "if", "(", "!", "JUMP_P", "(", "insn", ")", "||", "tablejump_p", "(", "insn", ",", "NULL", ",", "NULL", ")", ")", "continue", ";", "pat", "=", "PATTERN", "(", "insn", ")", ";", "if", "(", "GET_CODE", "(", "pat", ")", "==", "PARALLEL", ")", "pat", "=", "XVECEXP", "(", "pat", ",", "0", ",", "0", ")", ";", "if", "(", "GET_CODE", "(", "pat", ")", "!=", "SET", "||", "SET_DEST", "(", "pat", ")", "!=", "pc_rtx", ")", "continue", ";", "if", "(", "GET_CODE", "(", "SET_SRC", "(", "pat", ")", ")", "==", "LABEL_REF", ")", "{", "label", "=", "&", "SET_SRC", "(", "pat", ")", ";", "}", "else", "if", "(", "GET_CODE", "(", "SET_SRC", "(", "pat", ")", ")", "==", "IF_THEN_ELSE", ")", "{", "if", "(", "GET_CODE", "(", "XEXP", "(", "SET_SRC", "(", "pat", ")", ",", "1", ")", ")", "==", "LABEL_REF", ")", "label", "=", "&", "XEXP", "(", "SET_SRC", "(", "pat", ")", ",", "1", ")", ";", "else", "if", "(", "GET_CODE", "(", "XEXP", "(", "SET_SRC", "(", "pat", ")", ",", "2", ")", ")", "==", "LABEL_REF", ")", "label", "=", "&", "XEXP", "(", "SET_SRC", "(", "pat", ")", ",", "2", ")", ";", "else", "continue", ";", "}", "else", "continue", ";", "if", "(", "get_attr_length", "(", "insn", ")", "<=", "4", ")", "continue", ";", "cfun_frame_layout", ".", "save_return_addr_p", "=", "1", ";", "if", "(", "!", "flag_pic", ")", "{", "new_literal", "=", "1", ";", "rtx", "mem", "=", "force_const_mem", "(", "Pmode", ",", "*", "label", ")", ";", "rtx_insn", "*", "set_insn", "=", "emit_insn_before", "(", "gen_rtx_SET", "(", "Pmode", ",", "temp_reg", ",", "mem", ")", ",", "insn", ")", ";", "INSN_ADDRESSES_NEW", "(", "set_insn", ",", "-", "1", ")", ";", "annotate_constant_pool_refs", "(", "&", "PATTERN", "(", "set_insn", ")", ")", ";", "target", "=", "temp_reg", ";", "}", "else", "{", "new_literal", "=", "1", ";", "target", "=", "gen_rtx_UNSPEC", "(", "Pmode", ",", "gen_rtvec", "(", "1", ",", "*", "label", ")", ",", "UNSPEC_LTREL_OFFSET", ")", ";", "target", "=", "gen_rtx_CONST", "(", "Pmode", ",", "target", ")", ";", "target", "=", "force_const_mem", "(", "Pmode", ",", "target", ")", ";", "rtx_insn", "*", "set_insn", "=", "emit_insn_before", "(", "gen_rtx_SET", "(", "Pmode", ",", "temp_reg", ",", "target", ")", ",", "insn", ")", ";", "INSN_ADDRESSES_NEW", "(", "set_insn", ",", "-", "1", ")", ";", "annotate_constant_pool_refs", "(", "&", "PATTERN", "(", "set_insn", ")", ")", ";", "target", "=", "gen_rtx_UNSPEC", "(", "Pmode", ",", "gen_rtvec", "(", "2", ",", "XEXP", "(", "target", ",", "0", ")", ",", "cfun", "->", "machine", "->", "base_reg", ")", ",", "UNSPEC_LTREL_BASE", ")", ";", "target", "=", "gen_rtx_PLUS", "(", "Pmode", ",", "temp_reg", ",", "target", ")", ";", "}", "ret", "=", "validate_change", "(", "insn", ",", "label", ",", "target", ",", "0", ")", ";", "gcc_assert", "(", "ret", ")", ";", "}", "return", "new_literal", ";", "}", ""], "natrual_language": ["Split", "all", "branches", "that", "exceed", "the", "maximum", "distance", ".", "Returns", "true", "if", "this", "created", "a", "new", "literal", "pool", "entry", "."], "TS_V_token": ["s390", "0", "0", "0", "1", "1", "2", "2", "4", "1", "1", "1", "1", "1", "1", "2", "0", "0"], "File": "s3904", "Func": "s390_split_branches", "Target": "s390", "Target_Clf": "MPU", "Compiler_Type": "GCC", "Idx": 2272, "Length": 446, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "bool", "isLegalMaskedLoad", "(", "Type", "*", "DataType", ",", "MaybeAlign", "Alignment", ")", "{", "return", "isVectorLaneType", "(", "*", "getLaneType", "(", "DataType", ")", ")", ";", "}", ""], "natrual_language": ["Return", "true", "if", "the", "target", "supports", "masked", "load", "."], "TS_V_token": ["VE"], "File": "VETargetTransformInfo", "Func": "isLegalMaskedLoad", "Target": "VE", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 2273, "Length": 22, "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": 2274, "Length": 95, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "unsigned", "SIRegisterInfo", "::", "getRegPressureSetLimit", "(", "const", "MachineFunction", "&", "MF", ",", "unsigned", "Idx", ")", "const", "{", "const", "SISubtarget", "&", "STI", "=", "MF", ".", "getSubtarget", "<", "SISubtarget", ">", "(", ")", ";", "unsigned", "SGPRLimit", "=", "getNumSGPRsAllowed", "(", "STI", ",", "STI", ".", "getMaxWavesPerCU", "(", ")", ")", ";", "unsigned", "VGPRLimit", "=", "getNumVGPRsAllowed", "(", "STI", ".", "getMaxWavesPerCU", "(", ")", ")", ";", "unsigned", "VSLimit", "=", "SGPRLimit", "+", "VGPRLimit", ";", "if", "(", "SGPRPressureSets", ".", "test", "(", "Idx", ")", "&&", "VGPRPressureSets", ".", "test", "(", "Idx", ")", ")", "{", "return", "VSLimit", ";", "}", "if", "(", "SGPRPressureSets", ".", "test", "(", "Idx", ")", ")", "return", "SGPRLimit", ";", "return", "VGPRLimit", ";", "}", ""], "natrual_language": ["Get", "the", "register", "unit", "pressure", "limit", "for", "this", "dimension", "."], "TS_V_token": ["AMDGPU", "SI", "SI", "SI"], "File": "SIRegisterInfo106", "Func": "getRegPressureSetLimit", "Target": "AMDGPU", "Target_Clf": "GPU", "Compiler_Type": "LLVM", "Idx": 2275, "Length": 99, "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": ["RI5CY", "RISCV"], "File": "RISCVTargetMachine", "Func": "addIRPasses", "Target": "RI5CY", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 2276, "Length": 21, "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": 2277, "Length": 124, "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": 2278, "Length": 10, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "bool", "AMDGPUTTIImpl", "::", "getTgtMemIntrinsic", "(", "IntrinsicInst", "*", "Inst", ",", "MemIntrinsicInfo", "&", "Info", ")", "const", "{", "switch", "(", "Inst", "->", "getIntrinsicID", "(", ")", ")", "{", "case", "Intrinsic", "::", "amdgcn_atomic_inc", ":", "case", "Intrinsic", "::", "amdgcn_atomic_dec", ":", "case", "Intrinsic", "::", "amdgcn_ds_fadd", ":", "case", "Intrinsic", "::", "amdgcn_ds_fmin", ":", "case", "Intrinsic", "::", "amdgcn_ds_fmax", ":", "{", "auto", "*", "Ordering", "=", "dyn_cast", "<", "ConstantInt", ">", "(", "Inst", "->", "getArgOperand", "(", "2", ")", ")", ";", "auto", "*", "Volatile", "=", "dyn_cast", "<", "ConstantInt", ">", "(", "Inst", "->", "getArgOperand", "(", "4", ")", ")", ";", "if", "(", "!", "Ordering", "||", "!", "Volatile", ")", "return", "false", ";", "unsigned", "OrderingVal", "=", "Ordering", "->", "getZExtValue", "(", ")", ";", "if", "(", "OrderingVal", ">", "static_cast", "<", "unsigned", ">", "(", "AtomicOrdering", "::", "SequentiallyConsistent", ")", ")", "return", "false", ";", "Info", ".", "PtrVal", "=", "Inst", "->", "getArgOperand", "(", "0", ")", ";", "Info", ".", "Ordering", "=", "static_cast", "<", "AtomicOrdering", ">", "(", "OrderingVal", ")", ";", "Info", ".", "ReadMem", "=", "true", ";", "Info", ".", "WriteMem", "=", "true", ";", "Info", ".", "IsVolatile", "=", "!", "Volatile", "->", "isNullValue", "(", ")", ";", "return", "true", ";", "}", "default", ":", "return", "false", ";", "}", "}", ""], "natrual_language": ["Given", "an", "intrinsic", ",", "checks", "if", "on", "the", "target", "the", "intrinsic", "will", "need", "to", "map", "to", "a", "MemIntrinsicNode", "(", "touches", "memory", ")", "."], "TS_V_token": ["AMDGPU", "AMDGPU", "Intrinsic::amdgcn_atomic_inc", "Intrinsic::amdgcn_atomic_dec", "Intrinsic::amdgcn_ds_fadd", "Intrinsic::amdgcn_ds_fmin", "Intrinsic::amdgcn_ds_fmax", "2", "4", "0"], "File": "AMDGPUTargetTransformInfo15", "Func": "getTgtMemIntrinsic", "Target": "AMDGPU", "Target_Clf": "GPU", "Compiler_Type": "LLVM", "Idx": 2279, "Length": 178, "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": ["RI5CY", "RISCV", "RISCV"], "File": "RISCVAsmPrinter", "Func": "emitInstruction", "Target": "RI5CY", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 2280, "Length": 45, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "bool", "HexagonTargetLowering", "::", "allowsMisalignedMemoryAccesses", "(", "EVT", "VT", ",", "unsigned", "AS", ",", "unsigned", "Align", ",", "MachineMemOperand", "::", "Flags", "Flags", ",", "bool", "*", "Fast", ")", "const", "{", "if", "(", "Fast", ")", "*", "Fast", "=", "false", ";", "return", "Subtarget", ".", "isHVXVectorType", "(", "VT", ".", "getSimpleVT", "(", ")", ")", ";", "}", ""], "natrual_language": ["Returns", "true", "if", "the", "target", "allows", "unaligned", "memory", "accesses", "of", "the", "specified", "type", "."], "TS_V_token": ["Hexagon", "Hexagon"], "File": "HexagonISelLowering104", "Func": "allowsMisalignedMemoryAccesses", "Target": "Hexagon", "Target_Clf": "DSP", "Compiler_Type": "LLVM", "Idx": 2281, "Length": 47, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "bool", "avr_regno_mode_code_ok_for_base_p", "(", "int", "regno", ",", "machine_mode", "mode", "ATTRIBUTE_UNUSED", ",", "addr_space_t", "as", "ATTRIBUTE_UNUSED", ",", "RTX_CODE", "outer_code", ",", "RTX_CODE", "index_code", "ATTRIBUTE_UNUSED", ")", "{", "bool", "ok", "=", "false", ";", "if", "(", "!", "ADDR_SPACE_GENERIC_P", "(", "as", ")", ")", "{", "if", "(", "regno", "<", "FIRST_PSEUDO_REGISTER", "&&", "regno", "==", "REG_Z", ")", "{", "return", "true", ";", "}", "if", "(", "reg_renumber", ")", "{", "regno", "=", "reg_renumber", "[", "regno", "]", ";", "if", "(", "regno", "==", "REG_Z", ")", "{", "return", "true", ";", "}", "}", "return", "false", ";", "}", "if", "(", "regno", "<", "FIRST_PSEUDO_REGISTER", "&&", "(", "regno", "==", "REG_X", "||", "regno", "==", "REG_Y", "||", "regno", "==", "REG_Z", "||", "regno", "==", "ARG_POINTER_REGNUM", ")", ")", "{", "ok", "=", "true", ";", "}", "else", "if", "(", "reg_renumber", ")", "{", "regno", "=", "reg_renumber", "[", "regno", "]", ";", "if", "(", "regno", "==", "REG_X", "||", "regno", "==", "REG_Y", "||", "regno", "==", "REG_Z", "||", "regno", "==", "ARG_POINTER_REGNUM", ")", "{", "ok", "=", "true", ";", "}", "}", "if", "(", "avr_strict_X", "&&", "PLUS", "==", "outer_code", "&&", "regno", "==", "REG_X", ")", "{", "ok", "=", "false", ";", "}", "return", "ok", ";", "}", ""], "natrual_language": ["Implement", "`", "REGNO_MODE_CODE_OK_FOR_BASE_P", "'", "."], "TS_V_token": ["avr"], "File": "avr", "Func": "avr_regno_mode_code_ok_for_base_p", "Target": "avr", "Target_Clf": "MPU", "Compiler_Type": "GCC", "Idx": 2282, "Length": 169, "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": 2283, "Length": 14, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "static", "bool", "rtx_ok_for_offset_p", "(", "enum", "machine_mode", "mode", ",", "rtx", "op", ")", "{", "if", "(", "!", "CONST_INT_P", "(", "op", ")", "||", "INTVAL", "(", "op", ")", "<", "0", ")", "return", "false", ";", "switch", "(", "mode", ")", "{", "case", "QImode", ":", "return", "INTVAL", "(", "op", ")", "<=", "31", ";", "case", "HImode", ":", "return", "(", "INTVAL", "(", "op", ")", "%", "2", ")", "==", "0", "&&", "INTVAL", "(", "op", ")", "<", "63", ";", "case", "SImode", ":", "case", "SFmode", ":", "return", "(", "INTVAL", "(", "op", ")", "%", "4", ")", "==", "0", "&&", "INTVAL", "(", "op", ")", "<", "127", ";", "case", "DImode", ":", "case", "DFmode", ":", "return", "(", "INTVAL", "(", "op", ")", "%", "4", ")", "==", "0", "&&", "INTVAL", "(", "op", ")", "<", "123", ";", "default", ":", "return", "false", ";", "}", "}", ""], "natrual_language": ["Return", "true", "if", "OP", "is", "an", "offset", "suitable", "for", "use", "as", "a", "displacement", "in", "the", "address", "of", "a", "memory", "access", "in", "mode", "MODE", "."], "TS_V_token": ["visium", "0", "31", "2", "0", "63", "4", "0", "127", "4", "0", "123"], "File": "visium2", "Func": "rtx_ok_for_offset_p", "Target": "visium", "Target_Clf": "Virtual ISA", "Compiler_Type": "GCC", "Idx": 2284, "Length": 125, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "static", "rtx", "gen_conditional_move", "(", "enum", "rtx_code", "code", ",", "machine_mode", "mode", ",", "rtx", "op0", ",", "rtx", "op1", ")", "{", "if", "(", "mode", "==", "SImode", ")", "{", "rtx", "cmp", ";", "if", "(", "(", "code", "==", "GT", ")", "&&", "(", "op1", "==", "constm1_rtx", ")", ")", "{", "code", "=", "GE", ";", "op1", "=", "const0_rtx", ";", "}", "cmp", "=", "gen_rtx_fmt_ee", "(", "code", ",", "VOIDmode", ",", "pc_rtx", ",", "const0_rtx", ")", ";", "if", "(", "boolean_operator", "(", "cmp", ",", "VOIDmode", ")", ")", "{", "if", "(", "op0", "==", "const0_rtx", ")", "{", "op0", "=", "op1", ";", "op1", "=", "const0_rtx", ";", "}", "if", "(", "op1", "!=", "const0_rtx", ")", "{", "op0", "=", "expand_binop", "(", "SImode", ",", "sub_optab", ",", "op0", ",", "op1", ",", "0", ",", "0", ",", "OPTAB_LIB_WIDEN", ")", ";", "op1", "=", "const0_rtx", ";", "}", "}", "else", "if", "(", "branch_operator", "(", "cmp", ",", "VOIDmode", ")", ")", "{", "if", "(", "op0", "==", "const0_rtx", ")", "{", "op0", "=", "op1", ";", "op1", "=", "const0_rtx", ";", "switch", "(", "code", ")", "{", "case", "LT", ":", "code", "=", "GE", ";", "break", ";", "case", "GE", ":", "code", "=", "LT", ";", "break", ";", "default", ":", "gcc_unreachable", "(", ")", ";", "}", "}", "if", "(", "op1", "!=", "const0_rtx", ")", "return", "0", ";", "}", "else", "return", "0", ";", "return", "gen_rtx_fmt_ee", "(", "code", ",", "VOIDmode", ",", "op0", ",", "op1", ")", ";", "}", "if", "(", "TARGET_HARD_FLOAT", "&&", "mode", "==", "SFmode", ")", "return", "gen_float_relational", "(", "code", ",", "op0", ",", "op1", ")", ";", "return", "0", ";", "}", ""], "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": ["xtensa", "0", "0", "0", "0", "0"], "File": "xtensa", "Func": "gen_conditional_move", "Target": "xtensa", "Target_Clf": "MPU", "Compiler_Type": "GCC", "Idx": 2285, "Length": 229, "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": 2286, "Length": 394, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "virtual", "bool", "isShuffleMaskLegal", "(", "const", "SmallVectorImpl", "<", "int", ">", "&", "Mask", ",", "EVT", "VT", ")", "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": ["Mips"], "File": "MipsSEISelLowering20", "Func": "isShuffleMaskLegal", "Target": "Mips", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 2287, "Length": 21, "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": 2288, "Length": 21, "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": 2289, "Length": 47, "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": 2290, "Length": 169, "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": 2291, "Length": 16, "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": 2292, "Length": 109, "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": 2293, "Length": 50, "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": 2294, "Length": 55, "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": 2295, "Length": 206, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "static", "unsigned", "int", "h8300_bitfield_length", "(", "rtx", "op", ",", "rtx", "op2", ")", "{", "enum", "h8300_operand_class", "opclass", ";", "unsigned", "int", "size", ",", "operand_length", ";", "if", "(", "GET_CODE", "(", "op", ")", "==", "REG", ")", "op", "=", "op2", ";", "gcc_assert", "(", "GET_CODE", "(", "op", ")", "!=", "REG", ")", ";", "size", "=", "GET_MODE_SIZE", "(", "GET_MODE", "(", "op", ")", ")", ";", "operand_length", "=", "h8300_classify_operand", "(", "op", ",", "size", ",", "&", "opclass", ")", ";", "switch", "(", "opclass", ")", "{", "case", "H8OP_MEM_BASE", ":", "case", "H8OP_MEM_ABSOLUTE", ":", "case", "H8OP_MEM_COMPLEX", ":", "return", "4", "+", "operand_length", ";", "default", ":", "gcc_unreachable", "(", ")", ";", "}", "}", ""], "natrual_language": ["Likewise", "bitfield", "load", "and", "store", "instructions", "."], "TS_V_token": ["h8300", "4"], "File": "h8300", "Func": "h8300_bitfield_length", "Target": "h8300", "Target_Clf": "MPU", "Compiler_Type": "GCC", "Idx": 2296, "Length": 94, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "SDValue", "VideoCore4TargetLowering", "::", "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_VideoCore4", ")", ";", "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", "(", "VideoCore4ISD", "::", "RET_FLAG", ",", "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": ["VideoCore4", "VideoCore4", "ISD::OutputArg", "16", "VideoCore4", "4", "1", "0", "\"Can only return in registers!\"", "1", "0", "VideoCore4ISD::RET_FLAG", "MVT::Other", "0"], "File": "VideoCore4ISelLowering", "Func": "LowerReturn", "Target": "VideoCore4", "Target_Clf": "DSP", "Compiler_Type": "LLVM", "Idx": 2297, "Length": 255, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "void", "nvptx_output_skip", "(", "FILE", "*", ",", "unsigned", "HOST_WIDE_INT", "size", ")", "{", "if", "(", "init_frag", ".", "offset", ")", "{", "unsigned", "part", "=", "init_frag", ".", "size", "-", "init_frag", ".", "offset", ";", "part", "=", "MIN", "(", "part", ",", "(", "unsigned", ")", "size", ")", ";", "size", "-=", "part", ";", "nvptx_assemble_value", "(", "0", ",", "part", ")", ";", "}", "if", "(", "size", "<", "init_frag", ".", "remaining", "*", "init_frag", ".", "size", ")", "{", "while", "(", "size", ">=", "init_frag", ".", "size", ")", "{", "size", "-=", "init_frag", ".", "size", ";", "output_init_frag", "(", "NULL_RTX", ")", ";", "}", "if", "(", "size", ")", "nvptx_assemble_value", "(", "0", ",", "size", ")", ";", "}", "}", ""], "natrual_language": ["Output", "SIZE", "zero", "bytes", ".", "We", "ignore", "the", "FILE", "argument", "since", "the", "functions", "we", "'re", "calling", "to", "perform", "the", "output", "just", "use", "asm_out_file", "."], "TS_V_token": ["nvptx", "0", "0"], "File": "nvptx", "Func": "nvptx_output_skip", "Target": "nvptx", "Target_Clf": "GPU", "Compiler_Type": "GCC", "Idx": 2298, "Length": 100, "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": 2299, "Length": 33, "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": 2300, "Length": 314, "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": 2301, "Length": 386, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "bool", "rl78_flags_already_set", "(", "rtx", "op", ",", "rtx", "operand", ")", "{", "if", "(", "GET_CODE", "(", "op", ")", "!=", "EQ", "&&", "GET_CODE", "(", "op", ")", "!=", "NE", ")", "return", "false", ";", "if", "(", "current_output_insn", "==", "NULL_RTX", ")", "return", "false", ";", "rtx_insn", "*", "insn", ";", "bool", "res", "=", "false", ";", "for", "(", "insn", "=", "prev_nonnote_nondebug_insn", "(", "current_output_insn", ")", ";", "insn", "!=", "NULL_RTX", ";", "insn", "=", "prev_nonnote_nondebug_insn", "(", "insn", ")", ")", "{", "if", "(", "LABEL_P", "(", "insn", ")", ")", "break", ";", "if", "(", "!", "INSN_P", "(", "insn", ")", ")", "continue", ";", "if", "(", "recog_memoized", "(", "insn", ")", "==", "-", "1", ")", "continue", ";", "enum", "attr_update_Z", "updated", "=", "get_attr_update_Z", "(", "insn", ")", ";", "rtx", "set", "=", "single_set", "(", "insn", ")", ";", "bool", "must_break", "=", "(", "set", "!=", "NULL_RTX", "&&", "rtx_equal_p", "(", "operand", ",", "SET_DEST", "(", "set", ")", ")", ")", ";", "switch", "(", "updated", ")", "{", "case", "UPDATE_Z_NO", ":", "break", ";", "case", "UPDATE_Z_CLOBBER", ":", "must_break", "=", "true", ";", "break", ";", "case", "UPDATE_Z_UPDATE_Z", ":", "res", "=", "must_break", ";", "must_break", "=", "true", ";", "break", ";", "default", ":", "gcc_unreachable", "(", ")", ";", "}", "if", "(", "must_break", ")", "break", ";", "}", "recog_memoized", "(", "current_output_insn", ")", ";", "cleanup_subreg_operands", "(", "current_output_insn", ")", ";", "constrain_operands_cached", "(", "current_output_insn", ",", "1", ")", ";", "return", "res", ";", "}", ""], "natrual_language": ["Scan", "backwards", "through", "the", "insn", "chain", "looking", "to", "see", "if", "the", "flags", "have", "been", "set", "for", "a", "comparison", "of", "OP", "against", "OPERAND", ".", "Start", "with", "the", "insn", "*", "before", "*", "the", "current", "insn", "."], "TS_V_token": ["rl78", "1", "1"], "File": "rl78", "Func": "rl78_flags_already_set", "Target": "rl78", "Target_Clf": "MPU", "Compiler_Type": "GCC", "Idx": 2302, "Length": 202, "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": ["Hexagon"], "File": "HexagonTargetMachine", "Func": "getDataLayout", "Target": "Hexagon", "Target_Clf": "DSP", "Compiler_Type": "LLVM", "Idx": 2303, "Length": 19, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "void", "AMDGPUInstructionSelector", "::", "setupMF", "(", "MachineFunction", "&", "MF", ",", "GISelKnownBits", "&", "KB", ",", "CodeGenCoverage", "&", "CoverageInfo", ")", "{", "MRI", "=", "&", "MF", ".", "getRegInfo", "(", ")", ";", "InstructionSelector", "::", "setupMF", "(", "MF", ",", "KB", ",", "CoverageInfo", ")", ";", "}", ""], "natrual_language": ["Setup", "per-MF", "executor", "state", "."], "TS_V_token": ["AMDGPU", "AMDGPU"], "File": "AMDGPUInstructionSelector", "Func": "setupMF", "Target": "AMDGPU", "Target_Clf": "GPU", "Compiler_Type": "LLVM", "Idx": 2304, "Length": 39, "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": 2305, "Length": 48, "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": 2306, "Length": 211, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "void", "NVPTXPassConfig", "::", "addIRPasses", "(", ")", "{", "disablePass", "(", "&", "PrologEpilogCodeInserterID", ")", ";", "disablePass", "(", "&", "MachineCopyPropagationID", ")", ";", "disablePass", "(", "&", "TailDuplicateID", ")", ";", "disablePass", "(", "&", "StackMapLivenessID", ")", ";", "disablePass", "(", "&", "LiveDebugValuesID", ")", ";", "disablePass", "(", "&", "PostRAMachineSinkingID", ")", ";", "disablePass", "(", "&", "PostRASchedulerID", ")", ";", "disablePass", "(", "&", "FuncletLayoutID", ")", ";", "disablePass", "(", "&", "PatchableFunctionID", ")", ";", "disablePass", "(", "&", "ShrinkWrapID", ")", ";", "const", "NVPTXSubtarget", "&", "ST", "=", "*", "getTM", "<", "NVPTXTargetMachine", ">", "(", ")", ".", "getSubtargetImpl", "(", ")", ";", "addPass", "(", "createNVVMReflectPass", "(", "ST", ".", "getSmVersion", "(", ")", ")", ")", ";", "if", "(", "getOptLevel", "(", ")", "!=", "CodeGenOpt", "::", "None", ")", "addPass", "(", "createNVPTXImageOptimizerPass", "(", ")", ")", ";", "addPass", "(", "createNVPTXAssignValidGlobalNamesPass", "(", ")", ")", ";", "addPass", "(", "createGenericToNVVMPass", "(", ")", ")", ";", "addPass", "(", "createNVPTXLowerArgsPass", "(", "&", "getNVPTXTargetMachine", "(", ")", ")", ")", ";", "if", "(", "getOptLevel", "(", ")", "!=", "CodeGenOpt", "::", "None", ")", "{", "addAddressSpaceInferencePasses", "(", ")", ";", "if", "(", "!", "DisableLoadStoreVectorizer", ")", "addPass", "(", "createLoadStoreVectorizerPass", "(", ")", ")", ";", "addStraightLineScalarOptimizationPasses", "(", ")", ";", "}", "TargetPassConfig", "::", "addIRPasses", "(", ")", ";", "if", "(", "getOptLevel", "(", ")", "!=", "CodeGenOpt", "::", "None", ")", "addEarlyCSEOrGVNPass", "(", ")", ";", "}", ""], "natrual_language": ["Add", "common", "target", "configurable", "passes", "that", "perform", "LLVM", "IR", "to", "IR", "transforms", "following", "machine", "independent", "optimization", "."], "TS_V_token": ["NVPTX", "NVPTX", "NVPTX", "NVPTX", "NVPTX", "NVPTX", "NVPTX", "NVPTX"], "File": "NVPTXTargetMachine2", "Func": "addIRPasses", "Target": "NVPTX", "Target_Clf": "GPU", "Compiler_Type": "LLVM", "Idx": 2307, "Length": 191, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "void", "print_operand_address", "(", "FILE", "*", "file", ",", "rtx", "addr", ")", "{", "struct", "microblaze_address_info", "info", ";", "enum", "microblaze_address_type", "type", ";", "if", "(", "!", "microblaze_classify_address", "(", "&", "info", ",", "addr", ",", "GET_MODE", "(", "addr", ")", ",", "2", ")", ")", "fatal_insn", "(", "\"insn contains an invalid address !\"", ",", "addr", ")", ";", "type", "=", "info", ".", "type", ";", "switch", "(", "info", ".", "type", ")", "{", "case", "ADDRESS_REG", ":", "fprintf", "(", "file", ",", "\"%s,\"", ",", "reg_names", "[", "REGNO", "(", "info", ".", "regA", ")", "]", ")", ";", "output_addr_const", "(", "file", ",", "info", ".", "offset", ")", ";", "break", ";", "case", "ADDRESS_REG_INDEX", ":", "if", "(", "REGNO", "(", "info", ".", "regA", ")", "==", "0", ")", "fprintf", "(", "file", ",", "\"%s,%s\"", ",", "reg_names", "[", "REGNO", "(", "info", ".", "regB", ")", "]", ",", "reg_names", "[", "REGNO", "(", "info", ".", "regA", ")", "]", ")", ";", "else", "if", "(", "REGNO", "(", "info", ".", "regB", ")", "!=", "0", ")", "fprintf", "(", "file", ",", "\"%s,%s\"", ",", "reg_names", "[", "REGNO", "(", "info", ".", "regB", ")", "]", ",", "reg_names", "[", "REGNO", "(", "info", ".", "regA", ")", "]", ")", ";", "break", ";", "case", "ADDRESS_CONST_INT", ":", "fprintf", "(", "file", ",", "\"%s,\"", ",", "reg_names", "[", "REGNO", "(", "info", ".", "regA", ")", "]", ")", ";", "output_addr_const", "(", "file", ",", "info", ".", "offset", ")", ";", "break", ";", "case", "ADDRESS_SYMBOLIC", ":", "case", "ADDRESS_SYMBOLIC_TXT_REL", ":", "case", "ADDRESS_GOTOFF", ":", "case", "ADDRESS_PLT", ":", "case", "ADDRESS_TLS", ":", "if", "(", "info", ".", "regA", ")", "fprintf", "(", "file", ",", "\"%s,\"", ",", "reg_names", "[", "REGNO", "(", "info", ".", "regA", ")", "]", ")", ";", "output_addr_const", "(", "file", ",", "info", ".", "symbol", ")", ";", "if", "(", "type", "==", "ADDRESS_GOTOFF", ")", "{", "fputs", "(", "\"@GOT\"", ",", "file", ")", ";", "}", "else", "if", "(", "type", "==", "ADDRESS_PLT", ")", "{", "fputs", "(", "\"@PLT\"", ",", "file", ")", ";", "}", "else", "if", "(", "type", "==", "ADDRESS_SYMBOLIC_TXT_REL", ")", "{", "if", "(", "info", ".", "offset", "!=", "NULL", "&&", "CONST_INT_P", "(", "info", ".", "offset", ")", "&&", "INTVAL", "(", "info", ".", "offset", ")", ">", "0", ")", "{", "fprintf", "(", "file", ",", "\"+\"", ")", ";", "output_addr_const", "(", "file", ",", "info", ".", "offset", ")", ";", "}", "fputs", "(", "\"@TXTREL\"", ",", "file", ")", ";", "}", "else", "if", "(", "type", "==", "ADDRESS_TLS", ")", "{", "switch", "(", "info", ".", "tls_type", ")", "{", "case", "TLS_GD", ":", "fputs", "(", "\"@TLSGD\"", ",", "file", ")", ";", "break", ";", "case", "TLS_LDM", ":", "fputs", "(", "\"@TLSLDM\"", ",", "file", ")", ";", "break", ";", "case", "TLS_DTPREL", ":", "fputs", "(", "\"@TLSDTPREL\"", ",", "file", ")", ";", "break", ";", "default", ":", "gcc_unreachable", "(", ")", ";", "break", ";", "}", "}", "break", ";", "case", "ADDRESS_INVALID", ":", "fatal_insn", "(", "\"invalid address\"", ",", "addr", ")", ";", "break", ";", "}", "}", ""], "natrual_language": ["Print", "the", "operand", "address", "represented", "by", "the", "rtx", "addr"], "TS_V_token": ["microblaze", "2", "\"insn contains an invalid address !\"", "\"%s,\"", "0", "\"%s,%s\"", "0", "\"%s,%s\"", "\"%s,\"", "\"%s,\"", "\"@GOT\"", "\"@PLT\"", "0", "\"+\"", "\"@TXTREL\"", "\"@TLSGD\"", "\"@TLSLDM\"", "\"@TLSDTPREL\"", "\"invalid address\""], "File": "microblaze1", "Func": "print_operand_address", "Target": "microblaze", "Target_Clf": "MPU", "Compiler_Type": "GCC", "Idx": 2308, "Length": 414, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "bool", "HexagonExpandCondsets", "::", "split", "(", "MachineInstr", "*", "MI", ",", "std", "::", "set", "<", "unsigned", ">", "&", "UpdRegs", ")", "{", "if", "(", "TfrLimitActive", ")", "{", "if", "(", "TfrCounter", ">=", "TfrLimit", ")", "return", "false", ";", "TfrCounter", "++", ";", "}", "DEBUG", "(", "dbgs", "(", ")", "<<", "\"\\nsplitting BB#\"", "<<", "MI", "->", "getParent", "(", ")", "->", "getNumber", "(", ")", "<<", "\": \"", "<<", "*", "MI", ")", ";", "MachineOperand", "&", "MD", "=", "MI", "->", "getOperand", "(", "0", ")", ";", "MachineOperand", "&", "MP", "=", "MI", "->", "getOperand", "(", "1", ")", ";", "MachineOperand", "&", "MS1", "=", "MI", "->", "getOperand", "(", "2", ")", ";", "MachineOperand", "&", "MS2", "=", "MI", "->", "getOperand", "(", "3", ")", ";", "assert", "(", "MD", ".", "isDef", "(", ")", ")", ";", "unsigned", "DR", "=", "MD", ".", "getReg", "(", ")", ",", "DSR", "=", "MD", ".", "getSubReg", "(", ")", ";", "bool", "ReadUndef", "=", "MD", ".", "isUndef", "(", ")", ";", "MachineBasicBlock", "::", "iterator", "At", "=", "MI", ";", "if", "(", "ReadUndef", "&&", "DSR", "!=", "0", "&&", "MRI", "->", "shouldTrackSubRegLiveness", "(", "DR", ")", ")", "{", "unsigned", "NewSR", "=", "0", ";", "MachineBasicBlock", "::", "iterator", "DefAt", "=", "At", ";", "bool", "SameReg", "=", "(", "MS1", ".", "isReg", "(", ")", "&&", "DR", "==", "MS1", ".", "getReg", "(", ")", ")", "||", "(", "MS2", ".", "isReg", "(", ")", "&&", "DR", "==", "MS2", ".", "getReg", "(", ")", ")", ";", "if", "(", "SameReg", ")", "{", "NewSR", "=", "(", "DSR", "==", "Hexagon", "::", "subreg_loreg", ")", "?", "Hexagon", "::", "subreg_hireg", ":", "Hexagon", "::", "subreg_loreg", ";", "if", "(", "(", "MS1", ".", "isReg", "(", ")", "&&", "NewSR", "==", "MS1", ".", "getSubReg", "(", ")", ")", "||", "(", "MS2", ".", "isReg", "(", ")", "&&", "NewSR", "==", "MS2", ".", "getSubReg", "(", ")", ")", ")", "++", "DefAt", ";", "}", "MachineBasicBlock", "&", "B", "=", "*", "At", "->", "getParent", "(", ")", ";", "DebugLoc", "DL", "=", "At", "->", "getDebugLoc", "(", ")", ";", "auto", "ImpD", "=", "BuildMI", "(", "B", ",", "DefAt", ",", "DL", ",", "HII", "->", "get", "(", "TargetOpcode", "::", "IMPLICIT_DEF", ")", ")", ".", "addReg", "(", "DR", ",", "RegState", "::", "Define", ",", "NewSR", ")", ";", "LIS", "->", "InsertMachineInstrInMaps", "(", "*", "ImpD", ")", ";", "LocalImpDefs", ".", "insert", "(", "&", "*", "ImpD", ")", ";", "}", "MachineInstr", "*", "TfrT", "=", "genCondTfrFor", "(", "MI", "->", "getOperand", "(", "2", ")", ",", "At", ",", "DR", ",", "DSR", ",", "MP", ",", "true", ",", "ReadUndef", ",", "false", ")", ";", "MachineInstr", "*", "TfrF", "=", "genCondTfrFor", "(", "MI", "->", "getOperand", "(", "3", ")", ",", "At", ",", "DR", ",", "DSR", ",", "MP", ",", "false", ",", "ReadUndef", ",", "true", ")", ";", "LIS", "->", "InsertMachineInstrInMaps", "(", "*", "TfrT", ")", ";", "LIS", "->", "InsertMachineInstrInMaps", "(", "*", "TfrF", ")", ";", "for", "(", "auto", "&", "Op", ":", "MI", "->", "operands", "(", ")", ")", "if", "(", "Op", ".", "isReg", "(", ")", ")", "UpdRegs", ".", "insert", "(", "Op", ".", "getReg", "(", ")", ")", ";", "removeInstr", "(", "MI", ")", ";", "return", "true", ";", "}", ""], "natrual_language": ["Split", "into", "substrings", "around", "the", "occurrences", "of", "a", "separator", "character", "."], "TS_V_token": ["Hexagon", "Hexagon", "\"\\nsplitting BB#\"", "\": \"", "0", "1", "2", "3", "0", "0", "Hexagon::subreg_loreg", "Hexagon::subreg_hireg", "Hexagon::subreg_loreg", "2", "3"], "File": "HexagonExpandCondsets32", "Func": "split", "Target": "Hexagon", "Target_Clf": "DSP", "Compiler_Type": "LLVM", "Idx": 2309, "Length": 453, "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": 2310, "Length": 301, "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": 2311, "Length": 28, "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": 2312, "Length": 119, "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": 2313, "Length": 83, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "void", "TVMContinuationsHoist", "::", "collect", "(", "MachineFunction", "&", "MF", ")", "{", "Info", ".", "clear", "(", ")", ";", "DeleteMIs", ".", "clear", "(", ")", ";", "for", "(", "MachineBasicBlock", "&", "MBB", ":", "MF", ")", "for", "(", "MachineInstr", "&", "MI", ":", "MBB", ")", "collectInstr", "(", "MI", ")", ";", "}", ""], "natrual_language": ["Analyze", "the", "given", "instruction", "MI", "and", "fill", "in", "the", "Uses", ",", "Defs", "and", "DeadDefs", "list", "based", "on", "the", "MachineOperand", "flags", "."], "TS_V_token": ["TVM", "TVM"], "File": "TVMContinuationsHoist", "Func": "collect", "Target": "TVM", "Target_Clf": "Virtual ISA", "Compiler_Type": "LLVM", "Idx": 2314, "Length": 44, "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": 2315, "Length": 14, "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": 2316, "Length": 111, "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": 2317, "Length": 63, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "void", "getAnalysisUsage", "(", "AnalysisUsage", "&", "AU", ")", "const", "override", "{", "AU", ".", "addRequired", "<", "LoopInfoWrapperPass", ">", "(", ")", ";", "AU", ".", "addRequired", "<", "DominatorTreeWrapperPass", ">", "(", ")", ";", "AU", ".", "addPreserved", "<", "DominatorTreeWrapperPass", ">", "(", ")", ";", "FunctionPass", "::", "getAnalysisUsage", "(", "AU", ")", ";", "}", ""], "natrual_language": ["getAnalysisUsage", "-", "Subclasses", "that", "override", "getAnalysisUsage", "must", "call", "this", "."], "TS_V_token": ["AMDGPU"], "File": "SIAnnotateControlFlow14", "Func": "getAnalysisUsage", "Target": "AMDGPU", "Target_Clf": "GPU", "Compiler_Type": "LLVM", "Idx": 2318, "Length": 45, "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": 2319, "Length": 70, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "LaneBitmask", "HexagonExpandCondsets", "::", "getLaneMask", "(", "unsigned", "Reg", ",", "unsigned", "Sub", ")", "{", "assert", "(", "Register", "::", "isVirtualRegister", "(", "Reg", ")", ")", ";", "return", "Sub", "!=", "0", "?", "TRI", "->", "getSubRegIndexLaneMask", "(", "Sub", ")", ":", "MRI", "->", "getMaxLaneMaskForVReg", "(", "Reg", ")", ";", "}", ""], "natrual_language": ["Returns", "the", "combination", "of", "all", "lane", "masks", "of", "register", "in", "this", "class", "."], "TS_V_token": ["Hexagon", "Hexagon", "0"], "File": "HexagonExpandCondsets14", "Func": "getLaneMask", "Target": "Hexagon", "Target_Clf": "DSP", "Compiler_Type": "LLVM", "Idx": 2320, "Length": 42, "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": 2321, "Length": 132, "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": 2322, "Length": 444, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "BitVector", "J2RegisterInfo", "::", "getReservedRegs", "(", "const", "MachineFunction", "&", "MF", ")", "const", "{", "static", "constexpr", "MCPhysReg", "ReservedRegs", "[", "]", "=", "{", "J2", "::", "R15", ",", "J2", "::", "SR", ",", "J2", "::", "GBR", ",", "J2", "::", "VBR", ",", "J2", "::", "MACH", ",", "J2", "::", "MACL", ",", "J2", "::", "PR", ",", "J2", "::", "PC", "}", ";", "BitVector", "Reserved", "(", "getNumRegs", "(", ")", ")", ";", "for", "(", "auto", "Reg", ":", "ReservedRegs", ")", "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": ["J2", "J2", "J2::R15", "J2::SR", "J2::GBR", "J2::VBR", "J2::MACH", "J2::MACL", "J2::PR", "J2::PC"], "File": "J2RegisterInfo", "Func": "getReservedRegs", "Target": "J2", "Target_Clf": "MPU", "Compiler_Type": "LLVM", "Idx": 2323, "Length": 79, "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": ["rvex"], "File": "rvexTargetMachine", "Func": "getDataLayout", "Target": "rvex", "Target_Clf": "VLIW", "Compiler_Type": "LLVM", "Idx": 2324, "Length": 14, "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": 2325, "Length": 317, "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": 2326, "Length": 86, "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": 2327, "Length": 44, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "static", "rtx_insn", "*", "next_nonnote_insn_bb", "(", "rtx_insn", "*", "insn", ")", "{", "while", "(", "insn", ")", "{", "insn", "=", "NEXT_INSN", "(", "insn", ")", ";", "if", "(", "insn", "==", "0", "||", "!", "NOTE_P", "(", "insn", ")", ")", "break", ";", "if", "(", "NOTE_INSN_BASIC_BLOCK_P", "(", "insn", ")", ")", "return", "NULL", ";", "}", "return", "insn", ";", "}", ""], "natrual_language": ["Return", "the", "next", "insn", "after", "INSN", "that", "is", "not", "a", "NOTE", ",", "but", "stop", "the", "search", "before", "we", "enter", "another", "basic", "block", ".", "This", "routine", "does", "not", "look", "inside", "SEQUENCEs", "."], "TS_V_token": ["arc", "0"], "File": "arc", "Func": "next_nonnote_insn_bb", "Target": "arc", "Target_Clf": "MPU", "Compiler_Type": "GCC", "Idx": 2328, "Length": 51, "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": 2329, "Length": 35, "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": 2330, "Length": 80, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "bool", "AVRTargetLowering", "::", "getPostIndexedAddressParts", "(", "SDNode", "*", "N", ",", "SDNode", "*", "Op", ",", "SDValue", "&", "Base", ",", "SDValue", "&", "Offset", ",", "ISD", "::", "MemIndexedMode", "&", "AM", ",", "SelectionDAG", "&", "DAG", ")", "const", "{", "EVT", "VT", ";", "SDLoc", "DL", "(", "N", ")", ";", "if", "(", "const", "LoadSDNode", "*", "LD", "=", "dyn_cast", "<", "LoadSDNode", ">", "(", "N", ")", ")", "{", "VT", "=", "LD", "->", "getMemoryVT", "(", ")", ";", "if", "(", "LD", "->", "getExtensionType", "(", ")", "!=", "ISD", "::", "NON_EXTLOAD", ")", "return", "false", ";", "}", "else", "if", "(", "const", "StoreSDNode", "*", "ST", "=", "dyn_cast", "<", "StoreSDNode", ">", "(", "N", ")", ")", "{", "VT", "=", "ST", "->", "getMemoryVT", "(", ")", ";", "if", "(", "AVR", "::", "isProgramMemoryAccess", "(", "ST", ")", ")", "{", "return", "false", ";", "}", "}", "else", "{", "return", "false", ";", "}", "if", "(", "VT", "!=", "MVT", "::", "i8", "&&", "VT", "!=", "MVT", "::", "i16", ")", "{", "return", "false", ";", "}", "if", "(", "Op", "->", "getOpcode", "(", ")", "!=", "ISD", "::", "ADD", "&&", "Op", "->", "getOpcode", "(", ")", "!=", "ISD", "::", "SUB", ")", "{", "return", "false", ";", "}", "if", "(", "const", "ConstantSDNode", "*", "RHS", "=", "dyn_cast", "<", "ConstantSDNode", ">", "(", "Op", "->", "getOperand", "(", "1", ")", ")", ")", "{", "int", "RHSC", "=", "RHS", "->", "getSExtValue", "(", ")", ";", "if", "(", "Op", "->", "getOpcode", "(", ")", "==", "ISD", "::", "SUB", ")", "RHSC", "=", "-", "RHSC", ";", "if", "(", "(", "VT", "==", "MVT", "::", "i16", "&&", "RHSC", "!=", "2", ")", "||", "(", "VT", "==", "MVT", "::", "i8", "&&", "RHSC", "!=", "1", ")", ")", "{", "return", "false", ";", "}", "Base", "=", "Op", "->", "getOperand", "(", "0", ")", ";", "Offset", "=", "DAG", ".", "getConstant", "(", "RHSC", ",", "DL", ",", "MVT", "::", "i8", ")", ";", "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": ["AVR", "AVR", "ISD::MemIndexedMode", "ISD::NON_EXTLOAD", "AVR::isProgramMemoryAccess", "MVT::i8", "MVT::i16", "ISD::ADD", "ISD::SUB", "1", "ISD::SUB", "MVT::i16", "2", "MVT::i8", "1", "0", "MVT::i8", "ISD::POST_INC"], "File": "AVRISelLowering", "Func": "getPostIndexedAddressParts", "Target": "AVR", "Target_Clf": "MPU", "Compiler_Type": "LLVM", "Idx": 2331, "Length": 290, "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": 2332, "Length": 40, "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", ";", "FullSize", "=", "4", ";", "uint64_t", "CurVal", "=", "0", ";", "for", "(", "unsigned", "i", "=", "0", ";", "i", "!=", "NumBytes", ";", "++", "i", ")", "{", "unsigned", "Idx", "=", "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", "=", "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": ["Videocore", "7", "8", "4", "0", "0", "8", "1", "64", "0", "8", "0xff"], "File": "VideocoreAsmBackend", "Func": "applyFixup", "Target": "Videocore", "Target_Clf": "DSP", "Compiler_Type": "LLVM", "Idx": 2333, "Length": 205, "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": 2334, "Length": 114, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "int", "GCNTTIImpl", "::", "getIntrinsicInstrCost", "(", "const", "IntrinsicCostAttributes", "&", "ICA", ",", "TTI", "::", "TargetCostKind", "CostKind", ")", "{", "if", "(", "!", "intrinsicHasPackedVectorBenefit", "(", "ICA", ".", "getID", "(", ")", ")", ")", "return", "BaseT", "::", "getIntrinsicInstrCost", "(", "ICA", ",", "CostKind", ")", ";", "Type", "*", "RetTy", "=", "ICA", ".", "getReturnType", "(", ")", ";", "EVT", "OrigTy", "=", "TLI", "->", "getValueType", "(", "DL", ",", "RetTy", ")", ";", "if", "(", "!", "OrigTy", ".", "isSimple", "(", ")", ")", "{", "return", "BaseT", "::", "getIntrinsicInstrCost", "(", "ICA", ",", "CostKind", ")", ";", "}", "std", "::", "pair", "<", "int", ",", "MVT", ">", "LT", "=", "TLI", "->", "getTypeLegalizationCost", "(", "DL", ",", "RetTy", ")", ";", "unsigned", "NElts", "=", "LT", ".", "second", ".", "isVector", "(", ")", "?", "LT", ".", "second", ".", "getVectorNumElements", "(", ")", ":", "1", ";", "MVT", "::", "SimpleValueType", "SLT", "=", "LT", ".", "second", ".", "getScalarType", "(", ")", ".", "SimpleTy", ";", "if", "(", "SLT", "==", "MVT", "::", "f64", ")", "return", "LT", ".", "first", "*", "NElts", "*", "get64BitInstrCost", "(", ")", ";", "if", "(", "ST", "->", "has16BitInsts", "(", ")", "&&", "SLT", "==", "MVT", "::", "f16", ")", "NElts", "=", "(", "NElts", "+", "1", ")", "/", "2", ";", "unsigned", "InstRate", "=", "getQuarterRateInstrCost", "(", ")", ";", "if", "(", "ICA", ".", "getID", "(", ")", "==", "Intrinsic", "::", "fma", ")", "{", "InstRate", "=", "ST", "->", "hasFastFMAF32", "(", ")", "?", "getHalfRateInstrCost", "(", ")", ":", "getQuarterRateInstrCost", "(", ")", ";", "}", "return", "LT", ".", "first", "*", "NElts", "*", "InstRate", ";", "}", ""], "natrual_language": ["Get", "intrinsic", "cost", "based", "on", "arguments", "."], "TS_V_token": ["AMDGPU", "1", "MVT::SimpleValueType", "MVT::f64", "MVT::f16", "1", "2", "Intrinsic::fma"], "File": "AMDGPUTargetTransformInfo75", "Func": "getIntrinsicInstrCost", "Target": "AMDGPU", "Target_Clf": "GPU", "Compiler_Type": "LLVM", "Idx": 2335, "Length": 226, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "void", "NVPTXPassConfig", "::", "addIRPasses", "(", ")", "{", "disablePass", "(", "&", "PrologEpilogCodeInserterID", ")", ";", "disablePass", "(", "&", "MachineCopyPropagationID", ")", ";", "disablePass", "(", "&", "TailDuplicateID", ")", ";", "disablePass", "(", "&", "StackMapLivenessID", ")", ";", "disablePass", "(", "&", "LiveDebugValuesID", ")", ";", "disablePass", "(", "&", "PostRAMachineSinkingID", ")", ";", "disablePass", "(", "&", "PostRASchedulerID", ")", ";", "disablePass", "(", "&", "FuncletLayoutID", ")", ";", "disablePass", "(", "&", "PatchableFunctionID", ")", ";", "disablePass", "(", "&", "ShrinkWrapID", ")", ";", "const", "NVPTXSubtarget", "&", "ST", "=", "*", "getTM", "<", "NVPTXTargetMachine", ">", "(", ")", ".", "getSubtargetImpl", "(", ")", ";", "addPass", "(", "createNVVMReflectPass", "(", "ST", ".", "getSmVersion", "(", ")", ")", ")", ";", "if", "(", "getTM", "<", "NVPTXTargetMachine", ">", "(", ")", ".", "getTargetTriple", "(", ")", ".", "getOS", "(", ")", "==", "Triple", "::", "CUDA", "&&", "getTM", "<", "NVPTXTargetMachine", ">", "(", ")", ".", "getTargetTriple", "(", ")", ".", "getEnvironment", "(", ")", "==", "Triple", "::", "SYCLDevice", ")", "{", "addPass", "(", "createLocalAccessorToSharedMemoryPass", "(", ")", ")", ";", "}", "if", "(", "getOptLevel", "(", ")", "!=", "CodeGenOpt", "::", "None", ")", "addPass", "(", "createNVPTXImageOptimizerPass", "(", ")", ")", ";", "addPass", "(", "createNVPTXAssignValidGlobalNamesPass", "(", ")", ")", ";", "addPass", "(", "createGenericToNVVMPass", "(", ")", ")", ";", "addPass", "(", "createNVPTXLowerArgsPass", "(", "&", "getNVPTXTargetMachine", "(", ")", ")", ")", ";", "if", "(", "getOptLevel", "(", ")", "!=", "CodeGenOpt", "::", "None", ")", "{", "addAddressSpaceInferencePasses", "(", ")", ";", "addStraightLineScalarOptimizationPasses", "(", ")", ";", "}", "TargetPassConfig", "::", "addIRPasses", "(", ")", ";", "if", "(", "getOptLevel", "(", ")", "!=", "CodeGenOpt", "::", "None", ")", "{", "addEarlyCSEOrGVNPass", "(", ")", ";", "if", "(", "!", "DisableLoadStoreVectorizer", ")", "addPass", "(", "createLoadStoreVectorizerPass", "(", ")", ")", ";", "}", "}", ""], "natrual_language": ["Add", "common", "target", "configurable", "passes", "that", "perform", "LLVM", "IR", "to", "IR", "transforms", "following", "machine", "independent", "optimization", "."], "TS_V_token": ["NVPTX", "NVPTX", "NVPTX", "NVPTX", "NVPTX", "NVPTX", "NVPTX", "NVPTX", "NVPTX", "NVPTX"], "File": "NVPTXTargetMachine65", "Func": "addIRPasses", "Target": "NVPTX", "Target_Clf": "GPU", "Compiler_Type": "LLVM", "Idx": 2336, "Length": 242, "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": 2337, "Length": 260, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "static", "int", "s390_sched_score", "(", "rtx_insn", "*", "insn", ")", "{", "unsigned", "int", "mask", "=", "s390_get_sched_attrmask", "(", "insn", ")", ";", "int", "score", "=", "0", ";", "switch", "(", "s390_sched_state", ")", "{", "case", "0", ":", "if", "(", "(", "mask", "&", "S390_SCHED_ATTR_MASK_CRACKED", ")", "!=", "0", "||", "(", "mask", "&", "S390_SCHED_ATTR_MASK_EXPANDED", ")", "!=", "0", ")", "score", "+=", "5", ";", "if", "(", "(", "mask", "&", "S390_SCHED_ATTR_MASK_GROUPALONE", ")", "!=", "0", ")", "score", "+=", "10", ";", "case", "1", ":", "if", "(", "(", "mask", "&", "S390_SCHED_ATTR_MASK_CRACKED", ")", "==", "0", "&&", "(", "mask", "&", "S390_SCHED_ATTR_MASK_EXPANDED", ")", "==", "0", "&&", "(", "mask", "&", "S390_SCHED_ATTR_MASK_GROUPALONE", ")", "==", "0", ")", "score", "+=", "10", ";", "if", "(", "(", "mask", "&", "S390_SCHED_ATTR_MASK_ENDGROUP", ")", "==", "0", ")", "score", "+=", "5", ";", "break", ";", "case", "2", ":", "if", "(", "(", "mask", "&", "S390_SCHED_ATTR_MASK_CRACKED", ")", "==", "0", "&&", "(", "mask", "&", "S390_SCHED_ATTR_MASK_EXPANDED", ")", "==", "0", "&&", "(", "mask", "&", "S390_SCHED_ATTR_MASK_GROUPALONE", ")", "==", "0", ")", "score", "+=", "10", ";", "if", "(", "(", "mask", "&", "S390_SCHED_ATTR_MASK_ENDGROUP", ")", "!=", "0", ")", "score", "+=", "10", ";", "break", ";", "case", "S390_SCHED_STATE_NORMAL", ":", "if", "(", "(", "mask", "&", "S390_SCHED_ATTR_MASK_CRACKED", ")", "==", "0", "&&", "(", "mask", "&", "S390_SCHED_ATTR_MASK_EXPANDED", ")", "==", "0", ")", "score", "+=", "5", ";", "if", "(", "(", "mask", "&", "S390_SCHED_ATTR_MASK_GROUPALONE", ")", "!=", "0", ")", "score", "+=", "10", ";", "break", ";", "case", "S390_SCHED_STATE_CRACKED", ":", "if", "(", "(", "mask", "&", "S390_SCHED_ATTR_MASK_CRACKED", ")", "!=", "0", "||", "(", "mask", "&", "S390_SCHED_ATTR_MASK_EXPANDED", ")", "!=", "0", ")", "score", "+=", "5", ";", "break", ";", "}", "if", "(", "s390_tune", "==", "PROCESSOR_2964_Z13", ")", "{", "int", "units", ",", "i", ";", "unsigned", "unit_mask", ",", "m", "=", "1", ";", "unit_mask", "=", "s390_get_unit_mask", "(", "insn", ",", "&", "units", ")", ";", "gcc_assert", "(", "units", "<=", "MAX_SCHED_UNITS", ")", ";", "for", "(", "i", "=", "0", ";", "i", "<", "units", ";", "i", "++", ",", "m", "<<=", "1", ")", "if", "(", "m", "&", "unit_mask", ")", "score", "+=", "(", "last_scheduled_unit_distance", "[", "i", "]", "*", "MAX_SCHED_MIX_SCORE", "/", "MAX_SCHED_MIX_DISTANCE", ")", ";", "}", "return", "score", ";", "}", ""], "natrual_language": ["Return", "the", "scheduling", "score", "for", "INSN", ".", "The", "higher", "the", "score", "the", "better", ".", "The", "score", "is", "calculated", "from", "the", "OOO", "scheduling", "attributes", "of", "INSN", "and", "the", "scheduling", "state", "s390_sched_state", "."], "TS_V_token": ["s390", "0", "0", "0", "0", "5", "0", "10", "1", "0", "0", "0", "10", "0", "5", "2", "0", "0", "0", "10", "0", "10", "0", "0", "5", "0", "10", "0", "0", "5", "1", "0", "1"], "File": "s3905", "Func": "s390_sched_score", "Target": "s390", "Target_Clf": "MPU", "Compiler_Type": "GCC", "Idx": 2338, "Length": 311, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "BitVector", "SIRegisterInfo", "::", "getReservedRegs", "(", "const", "MachineFunction", "&", "MF", ")", "const", "{", "BitVector", "Reserved", "(", "getNumRegs", "(", ")", ")", ";", "Reserved", ".", "set", "(", "AMDGPU", "::", "EXEC", ")", ";", "Reserved", ".", "set", "(", "AMDGPU", "::", "INDIRECT_BASE_ADDR", ")", ";", "Reserved", ".", "set", "(", "AMDGPU", "::", "FLAT_SCR", ")", ";", "return", "Reserved", ";", "}", ""], "natrual_language": ["getReservedRegs", "-", "Returns", "a", "bitset", "indexed", "by", "physical", "register", "number", "indicating", "if", "a", "register", "is", "a", "special", "register", "that", "has", "particular", "uses", "and", "should", "be", "considered", "unavailable", "at", "all", "times", ",", "e.g", "."], "TS_V_token": ["R600", "SI"], "File": "SIRegisterInfo93", "Func": "getReservedRegs", "Target": "R600", "Target_Clf": "GPU", "Compiler_Type": "LLVM", "Idx": 2339, "Length": 51, "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": 2340, "Length": 355, "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": 2341, "Length": 155, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "bool", "s390_can_use_return_insn", "(", "void", ")", "{", "int", "i", ";", "if", "(", "!", "reload_completed", ")", "return", "false", ";", "if", "(", "crtl", "->", "profile", ")", "return", "false", ";", "if", "(", "TARGET_TPF_PROFILING", ")", "return", "false", ";", "for", "(", "i", "=", "0", ";", "i", "<", "16", ";", "i", "++", ")", "if", "(", "cfun_gpr_save_slot", "(", "i", ")", "!=", "SAVE_SLOT_NONE", ")", "return", "false", ";", "if", "(", "!", "TARGET_64BIT", "&&", "(", "cfun_fpr_save_p", "(", "FPR4_REGNUM", ")", "||", "cfun_fpr_save_p", "(", "FPR6_REGNUM", ")", ")", ")", "return", "false", ";", "if", "(", "cfun", "->", "machine", "->", "base_reg", "&&", "!", "call_used_regs", "[", "REGNO", "(", "cfun", "->", "machine", "->", "base_reg", ")", "]", ")", "return", "false", ";", "return", "cfun_frame_layout", ".", "frame_size", "==", "0", ";", "}", ""], "natrual_language": ["Return", "true", "if", "the", "epilogue", "is", "guaranteed", "to", "contain", "only", "a", "return", "instruction", "and", "if", "a", "direct", "return", "can", "therefore", "be", "used", "instead", ".", "One", "of", "the", "main", "advantages", "of", "using", "direct", "return", "instructions", "is", "that", "we", "can", "then", "use", "conditional", "returns", "."], "TS_V_token": ["s390", "0", "16", "0"], "File": "s390", "Func": "s390_can_use_return_insn", "Target": "s390", "Target_Clf": "MPU", "Compiler_Type": "GCC", "Idx": 2342, "Length": 110, "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": 2343, "Length": 104, "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": 2344, "Length": 122, "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": 2345, "Length": 217, "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": 2346, "Length": 173, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "bool", "TPCFrameLowering", "::", "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": ["TPC", "TPC"], "File": "TPCFrameLowering", "Func": "hasReservedCallFrame", "Target": "TPC", "Target_Clf": "Virtual ISA", "Compiler_Type": "LLVM", "Idx": 2347, "Length": 16, "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": 2348, "Length": 55, "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": ["BPF"], "File": "BPFAsmParser", "Func": "getLoc", "Target": "BPF", "Target_Clf": "Virtual ISA", "Compiler_Type": "LLVM", "Idx": 2349, "Length": 20, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "DecodeStatus", "BPFDisassembler", "::", "getInstruction", "(", "MCInst", "&", "Instr", ",", "uint64_t", "&", "Size", ",", "ArrayRef", "<", "uint8_t", ">", "Bytes", ",", "uint64_t", "Address", ",", "raw_ostream", "&", "VStream", ",", "raw_ostream", "&", "CStream", ")", "const", "{", "bool", "IsLittleEndian", "=", "getContext", "(", ")", ".", "getAsmInfo", "(", ")", "->", "isLittleEndian", "(", ")", ";", "uint64_t", "Insn", ",", "Hi", ";", "DecodeStatus", "Result", ";", "Result", "=", "readInstruction64", "(", "Bytes", ",", "Address", ",", "Size", ",", "Insn", ",", "IsLittleEndian", ")", ";", "if", "(", "Result", "==", "MCDisassembler", "::", "Fail", ")", "return", "MCDisassembler", "::", "Fail", ";", "uint8_t", "InstClass", "=", "getInstClass", "(", "Insn", ")", ";", "uint8_t", "InstMode", "=", "getInstMode", "(", "Insn", ")", ";", "if", "(", "(", "InstClass", "==", "BPF_LDX", "||", "InstClass", "==", "BPF_STX", ")", "&&", "getInstSize", "(", "Insn", ")", "!=", "BPF_DW", "&&", "(", "InstMode", "==", "BPF_MEM", "||", "InstMode", "==", "BPF_XADD", ")", "&&", "STI", ".", "getFeatureBits", "(", ")", "[", "BPF", "::", "ALU32", "]", ")", "Result", "=", "decodeInstruction", "(", "DecoderTableBPFALU3264", ",", "Instr", ",", "Insn", ",", "Address", ",", "this", ",", "STI", ")", ";", "else", "Result", "=", "decodeInstruction", "(", "DecoderTableBPF64", ",", "Instr", ",", "Insn", ",", "Address", ",", "this", ",", "STI", ")", ";", "if", "(", "Result", "==", "MCDisassembler", "::", "Fail", ")", "return", "MCDisassembler", "::", "Fail", ";", "switch", "(", "Instr", ".", "getOpcode", "(", ")", ")", "{", "case", "BPF", "::", "LD_imm64", ":", "case", "BPF", "::", "LD_pseudo", ":", "{", "if", "(", "Bytes", ".", "size", "(", ")", "<", "16", ")", "{", "Size", "=", "0", ";", "return", "MCDisassembler", "::", "Fail", ";", "}", "Size", "=", "16", ";", "if", "(", "IsLittleEndian", ")", "Hi", "=", "(", "Bytes", "[", "12", "]", "<<", "0", ")", "|", "(", "Bytes", "[", "13", "]", "<<", "8", ")", "|", "(", "Bytes", "[", "14", "]", "<<", "16", ")", "|", "(", "Bytes", "[", "15", "]", "<<", "24", ")", ";", "else", "Hi", "=", "(", "Bytes", "[", "12", "]", "<<", "24", ")", "|", "(", "Bytes", "[", "13", "]", "<<", "16", ")", "|", "(", "Bytes", "[", "14", "]", "<<", "8", ")", "|", "(", "Bytes", "[", "15", "]", "<<", "0", ")", ";", "auto", "&", "Op", "=", "Instr", ".", "getOperand", "(", "1", ")", ";", "Op", ".", "setImm", "(", "Make_64", "(", "Hi", ",", "Op", ".", "getImm", "(", ")", ")", ")", ";", "break", ";", "}", "case", "BPF", "::", "LD_ABS_B", ":", "case", "BPF", "::", "LD_ABS_H", ":", "case", "BPF", "::", "LD_ABS_W", ":", "case", "BPF", "::", "LD_IND_B", ":", "case", "BPF", "::", "LD_IND_H", ":", "case", "BPF", "::", "LD_IND_W", ":", "{", "auto", "Op", "=", "Instr", ".", "getOperand", "(", "0", ")", ";", "Instr", ".", "clear", "(", ")", ";", "Instr", ".", "addOperand", "(", "MCOperand", "::", "createReg", "(", "BPF", "::", "R6", ")", ")", ";", "Instr", ".", "addOperand", "(", "Op", ")", ";", "break", ";", "}", "}", "return", "Result", ";", "}", ""], "natrual_language": ["Returns", "the", "disassembly", "of", "a", "single", "instruction", "."], "TS_V_token": ["BPF", "BPF", "BPF", "BPF", "BPF", "BPF", "BPF", "BPF::ALU32", "BPF", "BPF", "BPF::LD_imm64", "BPF::LD_pseudo", "16", "0", "16", "12", "0", "13", "8", "14", "16", "15", "24", "12", "24", "13", "16", "14", "8", "15", "0", "1", "BPF::LD_ABS_B", "BPF::LD_ABS_H", "BPF::LD_ABS_W", "BPF::LD_IND_B", "BPF::LD_IND_H", "BPF::LD_IND_W", "0", "BPF::R6"], "File": "BPFDisassembler1", "Func": "getInstruction", "Target": "BPF", "Target_Clf": "Virtual ISA", "Compiler_Type": "LLVM", "Idx": 2350, "Length": 419, "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", "(", ")", ";", "X86FI", "=", "MFunc", ".", "getInfo", "<", "X86MachineFunctionInfo", ">", "(", ")", ";", "return", "fastTileConfig", "(", ")", ";", "}", ""], "natrual_language": ["runOnMachineFunction", "-", "Emit", "the", "function", "body", "."], "TS_V_token": ["X86", "X86", "X86", "X86", "X86"], "File": "X86FastTileConfig", "Func": "runOnMachineFunction", "Target": "X86", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 2351, "Length": 73, "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": 2352, "Length": 280, "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": 2353, "Length": 137, "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": 2354, "Length": 19, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "void", "msp430_output_labelref", "(", "FILE", "*", "file", ",", "const", "char", "*", "name", ")", "{", "int", "i", ";", "for", "(", "i", "=", "0", ";", "helper_function_name_mappings", "[", "i", "]", ".", "gcc_name", ";", "i", "++", ")", "if", "(", "strcmp", "(", "helper_function_name_mappings", "[", "i", "]", ".", "gcc_name", ",", "name", ")", "==", "0", ")", "{", "name", "=", "helper_function_name_mappings", "[", "i", "]", ".", "ti_name", ";", "break", ";", "}", "if", "(", "msp430_hwmult_type", "!=", "MSP430_HWMULT_NONE", ")", "{", "if", "(", "strcmp", "(", "\"__mspabi_mpyi\"", ",", "name", ")", "==", "0", ")", "{", "if", "(", "msp430_use_f5_series_hwmult", "(", ")", ")", "name", "=", "\"__mulhi2_f5\"", ";", "else", "if", "(", "!", "msp430_no_hwmult", "(", ")", ")", "name", "=", "\"__mulhi2\"", ";", "}", "else", "if", "(", "strcmp", "(", "\"__mspabi_mpyl\"", ",", "name", ")", "==", "0", ")", "{", "if", "(", "msp430_use_f5_series_hwmult", "(", ")", ")", "name", "=", "\"__mulsi2_f5\"", ";", "else", "if", "(", "use_32bit_hwmult", "(", ")", ")", "name", "=", "\"__mulsi2_hw32\"", ";", "else", "if", "(", "!", "msp430_no_hwmult", "(", ")", ")", "name", "=", "\"__mulsi2\"", ";", "}", "}", "fputs", "(", "name", ",", "file", ")", ";", "}", ""], "natrual_language": ["This", "function", "does", "the", "same", "as", "the", "default", ",", "but", "it", "will", "replace", "GCC", "function", "names", "with", "the", "MSPABI-specified", "ones", "."], "TS_V_token": ["msp430", "0", "0", "\"__mspabi_mpyi\"", "0", "\"__mulhi2_f5\"", "\"__mulhi2\"", "\"__mspabi_mpyl\"", "0", "\"__mulsi2_f5\"", "\"__mulsi2_hw32\"", "\"__mulsi2\""], "File": "msp4304", "Func": "msp430_output_labelref", "Target": "msp430", "Target_Clf": "MPU", "Compiler_Type": "GCC", "Idx": 2355, "Length": 159, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "bool", "AVRExpandPseudo", "::", "runOnMachineFunction", "(", "MachineFunction", "&", "MF", ")", "{", "bool", "Modified", "=", "false", ";", "const", "AVRSubtarget", "&", "STI", "=", "MF", ".", "getSubtarget", "<", "AVRSubtarget", ">", "(", ")", ";", "TRI", "=", "STI", ".", "getRegisterInfo", "(", ")", ";", "TII", "=", "STI", ".", "getInstrInfo", "(", ")", ";", "MF", ".", "getProperties", "(", ")", ".", "set", "(", "MachineFunctionProperties", "::", "Property", "::", "TracksLiveness", ")", ";", "for", "(", "Block", "&", "MBB", ":", "MF", ")", "{", "bool", "ContinueExpanding", "=", "true", ";", "unsigned", "ExpandCount", "=", "0", ";", "do", "{", "assert", "(", "ExpandCount", "<", "10", "&&", "\"pseudo expand limit reached\"", ")", ";", "(", "void", ")", "ExpandCount", ";", "bool", "BlockModified", "=", "expandMBB", "(", "MBB", ")", ";", "Modified", "|=", "BlockModified", ";", "ExpandCount", "++", ";", "ContinueExpanding", "=", "BlockModified", ";", "}", "while", "(", "ContinueExpanding", ")", ";", "}", "return", "Modified", ";", "}", ""], "natrual_language": ["runOnMachineFunction", "-", "Emit", "the", "function", "body", "."], "TS_V_token": ["AVR", "AVR", "AVR", "AVR", "0", "10", "\"pseudo expand limit reached\""], "File": "AVRExpandPseudoInsts11", "Func": "runOnMachineFunction", "Target": "AVR", "Target_Clf": "MPU", "Compiler_Type": "LLVM", "Idx": 2356, "Length": 125, "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": 2357, "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": ["RI5CY", "RISCV", "RISCV::X10"], "File": "RISCVISelLowering", "Func": "getExceptionPointerRegister", "Target": "RI5CY", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 2358, "Length": 18, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "static", "int", "cbranch_predicted_taken_p", "(", "rtx", "insn", ")", "{", "rtx", "x", "=", "find_reg_note", "(", "insn", ",", "REG_BR_PROB", ",", "0", ")", ";", "if", "(", "x", ")", "{", "int", "pred_val", "=", "XINT", "(", "x", ",", "0", ")", ";", "return", "pred_val", ">=", "REG_BR_PROB_BASE", "/", "2", ";", "}", "return", "0", ";", "}", ""], "natrual_language": ["Return", "nonzero", "if", "INSN", "is", "annotated", "with", "a", "REG_BR_PROB", "note", "that", "indicates", "it", "'s", "a", "branch", "that", "'s", "predicted", "taken", "."], "TS_V_token": ["bfin", "0", "0", "2", "0"], "File": "bfin3", "Func": "cbranch_predicted_taken_p", "Target": "bfin", "Target_Clf": "DSP", "Compiler_Type": "GCC", "Idx": 2359, "Length": 47, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "Register", "(", ")", "{", "PPCTargetMachine", "::", "registerAsmPrinter", "(", "createPPCAsmPrinterPass", ")", ";", "}", ""], "natrual_language": ["Base", "register", "."], "TS_V_token": ["PowerPC", "PPC", "PPC"], "File": "PPCAsmPrinter30", "Func": "Register", "Target": "PowerPC", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 2360, "Length": 12, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "void", "HexagonTTIImpl", "::", "getUnrollingPreferences", "(", "Loop", "*", "L", ",", "ScalarEvolution", "&", "SE", ",", "TTI", "::", "UnrollingPreferences", "&", "UP", ")", "{", "UP", ".", "Runtime", "=", "UP", ".", "Partial", "=", "true", ";", "if", "(", "L", "&&", "L", "->", "empty", "(", ")", "&&", "canPeel", "(", "L", ")", "&&", "SE", ".", "getSmallConstantTripCount", "(", "L", ")", "==", "0", "&&", "SE", ".", "getSmallConstantMaxTripCount", "(", "L", ")", ">", "0", "&&", "SE", ".", "getSmallConstantMaxTripCount", "(", "L", ")", "<=", "5", ")", "{", "UP", ".", "PeelCount", "=", "2", ";", "}", "}", ""], "natrual_language": ["Get", "target-customized", "preferences", "for", "the", "generic", "loop", "unrolling", "transformation", "."], "TS_V_token": ["Hexagon", "Hexagon", "0", "0", "5", "2"], "File": "HexagonTargetTransformInfo", "Func": "getUnrollingPreferences", "Target": "Hexagon", "Target_Clf": "DSP", "Compiler_Type": "LLVM", "Idx": 2361, "Length": 81, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "void", "tilegx_pre_atomic_barrier", "(", "enum", "memmodel", "model", ")", "{", "if", "(", "need_atomic_barrier_p", "(", "model", ",", "true", ")", ")", "emit_insn", "(", "gen_memory_barrier", "(", ")", ")", ";", "}", ""], "natrual_language": ["Emit", "barrier", "before", "an", "atomic", ",", "as", "needed", "for", "the", "memory", "MODEL", "."], "TS_V_token": ["tilegx"], "File": "tilegx", "Func": "tilegx_pre_atomic_barrier", "Target": "tilegx", "Target_Clf": "VLIW", "Compiler_Type": "GCC", "Idx": 2362, "Length": 25, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "bool", "SILoadStoreOptimizer", "::", "runOnMachineFunction", "(", "MachineFunction", "&", "MF", ")", "{", "if", "(", "skipFunction", "(", "*", "MF", ".", "getFunction", "(", ")", ")", ")", "return", "false", ";", "const", "TargetSubtargetInfo", "&", "STM", "=", "MF", ".", "getSubtarget", "(", ")", ";", "TRI", "=", "static_cast", "<", "const", "SIRegisterInfo", "*", ">", "(", "STM", ".", "getRegisterInfo", "(", ")", ")", ";", "TII", "=", "static_cast", "<", "const", "SIInstrInfo", "*", ">", "(", "STM", ".", "getInstrInfo", "(", ")", ")", ";", "MRI", "=", "&", "MF", ".", "getRegInfo", "(", ")", ";", "LIS", "=", "&", "getAnalysis", "<", "LiveIntervals", ">", "(", ")", ";", "DEBUG", "(", "dbgs", "(", ")", "<<", "\"Running SILoadStoreOptimizer\\n\"", ")", ";", "assert", "(", "!", "MRI", "->", "isSSA", "(", ")", ")", ";", "bool", "Modified", "=", "false", ";", "for", "(", "MachineBasicBlock", "&", "MBB", ":", "MF", ")", "Modified", "|=", "optimizeBlock", "(", "MBB", ")", ";", "return", "Modified", ";", "}", ""], "natrual_language": ["runOnMachineFunction", "-", "Emit", "the", "function", "body", "."], "TS_V_token": ["AMDGPU", "SI", "SI", "SI", "\"Running SILoadStoreOptimizer\\n\""], "File": "SILoadStoreOptimizer38", "Func": "runOnMachineFunction", "Target": "AMDGPU", "Target_Clf": "GPU", "Compiler_Type": "LLVM", "Idx": 2363, "Length": 130, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "MCSection", "*", "HSAILMCAsmInfo", "::", "getNonexecutableStackSection", "(", "MCContext", "&", "Ctx", ")", "const", "{", "return", "nullptr", ";", "}", ""], "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": ["HSAIL", "HSAIL"], "File": "HSAILMCAsmInfo", "Func": "getNonexecutableStackSection", "Target": "HSAIL", "Target_Clf": "Virtual ISA", "Compiler_Type": "LLVM", "Idx": 2364, "Length": 16, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "void", "WebAssemblyExceptionInfo", "::", "print", "(", "raw_ostream", "&", "OS", ",", "const", "Module", "*", ")", "const", "{", "for", "(", "auto", "&", "WE", ":", "TopLevelExceptions", ")", "WE", "->", "print", "(", "OS", ")", ";", "}", ""], "natrual_language": ["print", "-", "Print", "a", "debug", "representation", "of", "the", "operand", "to", "the", "given", "stream", "."], "TS_V_token": ["WebAssembly", "WebAssembly"], "File": "WebAssemblyExceptionInfo4", "Func": "print", "Target": "WebAssembly", "Target_Clf": "Virtual ISA", "Compiler_Type": "LLVM", "Idx": 2365, "Length": 31, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "MachineBasicBlock", "*", "PIC16TargetLowering", "::", "EmitInstrWithCustomInserter", "(", "MachineInstr", "*", "MI", ",", "MachineBasicBlock", "*", "BB", ",", "DenseMap", "<", "MachineBasicBlock", "*", ",", "MachineBasicBlock", "*", ">", "*", "EM", ")", "const", "{", "const", "TargetInstrInfo", "&", "TII", "=", "*", "getTargetMachine", "(", ")", ".", "getInstrInfo", "(", ")", ";", "unsigned", "CC", "=", "(", "PIC16CC", "::", "CondCodes", ")", "MI", "->", "getOperand", "(", "3", ")", ".", "getImm", "(", ")", ";", "DebugLoc", "dl", "=", "MI", "->", "getDebugLoc", "(", ")", ";", "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", "(", "PIC16", "::", "pic16brcond", ")", ")", ".", "addMBB", "(", "sinkMBB", ")", ".", "addImm", "(", "CC", ")", ";", "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", "(", "PIC16", "::", "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": ["PIC16", "PIC16", "PIC16CC::CondCodes", "3", "PIC16::pic16brcond", "PIC16::PHI", "0", "2", "1"], "File": "PIC16ISelLowering", "Func": "EmitInstrWithCustomInserter", "Target": "PIC16", "Target_Clf": "MPU", "Compiler_Type": "LLVM", "Idx": 2366, "Length": 350, "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": 2367, "Length": 48, "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": 2368, "Length": 27, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "const", "AMDGPUIntrinsicInfo", "*", "getIntrinsicInfo", "(", ")", "const", "override", "{", "return", "&", "IntrinsicInfo", ";", "}", ""], "natrual_language": ["If", "intrinsic", "information", "is", "available", ",", "return", "it", ".", "If", "not", ",", "return", "null", "."], "TS_V_token": ["AMDGPU", "AMDGPU"], "File": "AMDGPUTargetMachine (2)1", "Func": "getIntrinsicInfo", "Target": "AMDGPU", "Target_Clf": "GPU", "Compiler_Type": "LLVM", "Idx": 2369, "Length": 14, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "SDValue", "AMDGPUTargetLowering", "::", "getRecipEstimate", "(", "SDValue", "Operand", ",", "DAGCombinerInfo", "&", "DCI", ",", "unsigned", "&", "RefinementSteps", ")", "const", "{", "SelectionDAG", "&", "DAG", "=", "DCI", ".", "DAG", ";", "EVT", "VT", "=", "Operand", ".", "getValueType", "(", ")", ";", "if", "(", "VT", "==", "MVT", "::", "f32", ")", "{", "RefinementSteps", "=", "0", ";", "return", "DAG", ".", "getNode", "(", "AMDGPUISD", "::", "RCP", ",", "SDLoc", "(", "Operand", ")", ",", "VT", ",", "Operand", ")", ";", "}", "return", "SDValue", "(", ")", ";", "}", ""], "natrual_language": ["Return", "a", "reciprocal", "estimate", "value", "for", "the", "input", "operand", "."], "TS_V_token": ["AMDGPU", "AMDGPU", "MVT::f32", "0", "AMDGPUISD::RCP"], "File": "AMDGPUISelLowering (2)", "Func": "getRecipEstimate", "Target": "AMDGPU", "Target_Clf": "GPU", "Compiler_Type": "LLVM", "Idx": 2370, "Length": 74, "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": 2371, "Length": 63, "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": 2372, "Length": 197, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "void", "WebAssemblyFrameLowering", "::", "emitPrologue", "(", "MachineFunction", "&", "MF", ",", "MachineBasicBlock", "&", "MBB", ")", "const", "{", "llvm_unreachable", "(", "\"TODO: implement emitPrologue\"", ")", ";", "}", ""], "natrual_language": ["emitProlog/emitEpilog", "-", "These", "methods", "insert", "prolog", "and", "epilog", "code", "into", "the", "function", "."], "TS_V_token": ["WebAssembly", "WebAssembly", "\"TODO: implement emitPrologue\""], "File": "WebAssemblyFrameLowering24", "Func": "emitPrologue", "Target": "WebAssembly", "Target_Clf": "Virtual ISA", "Compiler_Type": "LLVM", "Idx": 2373, "Length": 21, "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": 2374, "Length": 31, "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": 2375, "Length": 181, "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": 2376, "Length": 11, "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": 2377, "Length": 250, "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": 2378, "Length": 341, "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": 2379, "Length": 150, "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": 2380, "Length": 259, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "static", "void", "frv_reorder_packet", "(", "void", ")", "{", "unsigned", "int", "cursor", "[", "NUM_GROUPS", "]", ";", "rtx", "insns", "[", "ARRAY_SIZE", "(", "frv_unit_groups", ")", "]", ";", "unsigned", "int", "unit", ",", "to", ",", "from", ";", "enum", "frv_insn_group", "group", ";", "struct", "frv_packet_group", "*", "packet_group", ";", "for", "(", "group", "=", "GROUP_I", ";", "group", "<", "NUM_GROUPS", ";", "group", "=", "(", "enum", "frv_insn_group", ")", "(", "group", "+", "1", ")", ")", "{", "cursor", "[", "group", "]", "=", "0", ";", "frv_sort_insn_group", "(", "group", ")", ";", "}", "to", "=", "0", ";", "for", "(", "unit", "=", "0", ";", "unit", "<", "ARRAY_SIZE", "(", "frv_unit_groups", ")", ";", "unit", "++", ")", "{", "group", "=", "frv_unit_groups", "[", "unit", "]", ";", "packet_group", "=", "&", "frv_packet", ".", "groups", "[", "group", "]", ";", "if", "(", "cursor", "[", "group", "]", "<", "packet_group", "->", "num_insns", ")", "{", "gcc_assert", "(", "packet_group", "->", "sorted", "[", "cursor", "[", "group", "]", "]", "!=", "packet_group", "->", "nop", ")", ";", "insns", "[", "to", "++", "]", "=", "packet_group", "->", "sorted", "[", "cursor", "[", "group", "]", "++", "]", ";", "}", "}", "gcc_assert", "(", "to", "==", "frv_packet", ".", "num_insns", ")", ";", "CLEAR_PACKING_FLAG", "(", "insns", "[", "to", "-", "1", "]", ")", ";", "for", "(", "from", "=", "0", ";", "from", "<", "to", "-", "1", ";", "from", "++", ")", "{", "remove_insn", "(", "insns", "[", "from", "]", ")", ";", "add_insn_before", "(", "insns", "[", "from", "]", ",", "insns", "[", "to", "-", "1", "]", ",", "NULL", ")", ";", "SET_PACKING_FLAG", "(", "insns", "[", "from", "]", ")", ";", "}", "}", ""], "natrual_language": ["Sort", "the", "current", "packet", "into", "assembly-language", "order", ".", "Set", "packing", "flags", "as", "appropriate", "."], "TS_V_token": ["frv", "1", "0", "0", "0", "1", "0", "1", "1"], "File": "frv3", "Func": "frv_reorder_packet", "Target": "frv", "Target_Clf": "VLIW", "Compiler_Type": "GCC", "Idx": 2381, "Length": 232, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "static", "bool", "pdp11_assemble_integer", "(", "rtx", "x", ",", "unsigned", "int", "size", ",", "int", "aligned_p", ")", "{", "if", "(", "aligned_p", ")", "switch", "(", "size", ")", "{", "case", "1", ":", "fprintf", "(", "asm_out_file", ",", "\"\\t.byte\\t\"", ")", ";", "output_addr_const_pdp11", "(", "asm_out_file", ",", "GEN_INT", "(", "INTVAL", "(", "x", ")", "&", "0xff", ")", ")", ";", "fputs", "(", "\"\\n\"", ",", "asm_out_file", ")", ";", "return", "true", ";", "case", "2", ":", "fprintf", "(", "asm_out_file", ",", "TARGET_UNIX_ASM", "?", "\"\\t\"", ":", "\"\\t.word\\t\"", ")", ";", "output_addr_const_pdp11", "(", "asm_out_file", ",", "x", ")", ";", "fputs", "(", "\"\\n\"", ",", "asm_out_file", ")", ";", "return", "true", ";", "}", "return", "default_assemble_integer", "(", "x", ",", "size", ",", "aligned_p", ")", ";", "}", ""], "natrual_language": ["Target", "hook", "to", "assemble", "integer", "objects", ".", "We", "need", "to", "use", "the", "pdp-specific", "version", "of", "output_addr_const", "."], "TS_V_token": ["pdp11", "1", "\"\\t.byte\\t\"", "0xff", "\"\\n\"", "2", "\"\\t\"", "\"\\t.word\\t\"", "\"\\n\""], "File": "pdp11", "Func": "pdp11_assemble_integer", "Target": "pdp11", "Target_Clf": "MPU", "Compiler_Type": "GCC", "Idx": 2382, "Length": 102, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "void", "GCNPassConfig", "::", "addPreEmitPass", "(", ")", "{", "addPass", "(", "createSIInsertWaitsPass", "(", ")", ",", "false", ")", ";", "addPass", "(", "createSILowerControlFlowPass", "(", ")", ",", "false", ")", ";", "}", ""], "natrual_language": ["This", "pass", "may", "be", "implemented", "by", "targets", "that", "want", "to", "run", "passes", "immediately", "before", "machine", "code", "is", "emitted", "."], "TS_V_token": ["AMDGPU", "SI", "SI"], "File": "AMDGPUTargetMachine2", "Func": "addPreEmitPass", "Target": "AMDGPU", "Target_Clf": "GPU", "Compiler_Type": "LLVM", "Idx": 2383, "Length": 26, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "bool", "MOSInstructionSelector", "::", "select", "(", "MachineInstr", "&", "MI", ")", "{", "if", "(", "!", "MI", ".", "isPreISelOpcode", "(", ")", ")", "{", "constrainGenericOp", "(", "MI", ")", ";", "return", "true", ";", "}", "switch", "(", "MI", ".", "getOpcode", "(", ")", ")", "{", "case", "MOS", "::", "G_ADD", ":", "case", "MOS", "::", "G_SUB", ":", "if", "(", "selectAddSub", "(", "MI", ")", ")", "return", "true", ";", "break", ";", "case", "MOS", "::", "G_AND", ":", "case", "MOS", "::", "G_OR", ":", "case", "MOS", "::", "G_XOR", ":", "if", "(", "selectLogical", "(", "MI", ")", ")", "return", "true", ";", "break", ";", "}", "if", "(", "selectImpl", "(", "MI", ",", "*", "CoverageInfo", ")", ")", "return", "true", ";", "switch", "(", "MI", ".", "getOpcode", "(", ")", ")", "{", "default", ":", "return", "false", ";", "case", "MOS", "::", "G_BRCOND_IMM", ":", "return", "selectBrCondImm", "(", "MI", ")", ";", "case", "MOS", "::", "G_SBC", ":", "return", "selectSbc", "(", "MI", ")", ";", "case", "MOS", "::", "G_FRAME_INDEX", ":", "return", "selectFrameIndex", "(", "MI", ")", ";", "case", "MOS", "::", "G_BLOCK_ADDR", ":", "case", "MOS", "::", "G_GLOBAL_VALUE", ":", "return", "selectAddr", "(", "MI", ")", ";", "case", "MOS", "::", "G_STORE_ABS", ":", "case", "MOS", "::", "G_STORE_ABS_IDX", ":", "return", "selectStore", "(", "MI", ")", ";", "case", "MOS", "::", "G_LSHRE", ":", "case", "MOS", "::", "G_SHLE", ":", "return", "selectLshrShlE", "(", "MI", ")", ";", "case", "MOS", "::", "G_MERGE_VALUES", ":", "return", "selectMergeValues", "(", "MI", ")", ";", "case", "MOS", "::", "G_TRUNC", ":", "return", "selectTrunc", "(", "MI", ")", ";", "case", "MOS", "::", "G_UADDE", ":", "case", "MOS", "::", "G_SADDE", ":", "return", "selectAddE", "(", "MI", ")", ";", "case", "MOS", "::", "G_INC", ":", "case", "MOS", "::", "G_DEC", ":", "case", "MOS", "::", "G_INC_TMP", ":", "case", "MOS", "::", "G_DEC_TMP", ":", "return", "selectIncDecMB", "(", "MI", ")", ";", "case", "MOS", "::", "G_UNMERGE_VALUES", ":", "return", "selectUnMergeValues", "(", "MI", ")", ";", "case", "MOS", "::", "G_BRINDIRECT", ":", "case", "MOS", "::", "G_IMPLICIT_DEF", ":", "case", "MOS", "::", "G_LOAD_ABS", ":", "case", "MOS", "::", "G_LOAD_ABS_IDX", ":", "case", "MOS", "::", "G_LOAD_INDIR_IDX", ":", "case", "MOS", "::", "G_PHI", ":", "case", "MOS", "::", "G_STORE_INDIR_IDX", ":", "return", "selectGeneric", "(", "MI", ")", ";", "}", "}", ""], "natrual_language": ["Select", "the", "(", "possibly", "generic", ")", "instruction", "I", "to", "only", "use", "target-specific", "opcodes", "."], "TS_V_token": ["MOS", "MOS", "MOS::G_ADD", "MOS::G_SUB", "MOS::G_AND", "MOS::G_OR", "MOS::G_XOR", "MOS::G_BRCOND_IMM", "MOS::G_SBC", "MOS::G_FRAME_INDEX", "MOS::G_BLOCK_ADDR", "MOS::G_GLOBAL_VALUE", "MOS::G_STORE_ABS", "MOS::G_STORE_ABS_IDX", "MOS::G_LSHRE", "MOS::G_SHLE", "MOS::G_MERGE_VALUES", "MOS::G_TRUNC", "MOS::G_UADDE", "MOS::G_SADDE", "MOS::G_INC", "MOS::G_DEC", "MOS::G_INC_TMP", "MOS::G_DEC_TMP", "MOS::G_UNMERGE_VALUES", "MOS::G_BRINDIRECT", "MOS::G_IMPLICIT_DEF", "MOS::G_LOAD_ABS", "MOS::G_LOAD_ABS_IDX", "MOS::G_LOAD_INDIR_IDX", "MOS::G_PHI", "MOS::G_STORE_INDIR_IDX"], "File": "MOSInstructionSelector", "Func": "select", "Target": "MOS", "Target_Clf": "MPU", "Compiler_Type": "LLVM", "Idx": 2384, "Length": 314, "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": 2385, "Length": 38, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "void", "NVPTXAsmPrinter", "::", "emitInstruction", "(", "const", "MachineInstr", "*", "MI", ")", "{", "MCInst", "Inst", ";", "lowerToMCInst", "(", "MI", ",", "Inst", ")", ";", "EmitToStreamer", "(", "*", "OutStreamer", ",", "Inst", ")", ";", "}", ""], "natrual_language": ["Targets", "should", "implement", "this", "to", "emit", "instructions", "."], "TS_V_token": ["NVPTX", "NVPTX"], "File": "NVPTXAsmPrinter15", "Func": "emitInstruction", "Target": "NVPTX", "Target_Clf": "GPU", "Compiler_Type": "LLVM", "Idx": 2386, "Length": 30, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "void", "GCNPassConfig", "::", "addPreRegAlloc", "(", ")", "{", "if", "(", "LateCFGStructurize", ")", "{", "addPass", "(", "createAMDGPUMachineCFGStructurizerPass", "(", ")", ")", ";", "}", "addPass", "(", "createSIWholeQuadModePass", "(", ")", ")", ";", "}", ""], "natrual_language": ["This", "method", "may", "be", "implemented", "by", "targets", "that", "want", "to", "run", "passes", "immediately", "before", "register", "allocation", "."], "TS_V_token": ["AMDGPU", "AMDGPU", "SI"], "File": "AMDGPUTargetMachine102", "Func": "addPreRegAlloc", "Target": "AMDGPU", "Target_Clf": "GPU", "Compiler_Type": "LLVM", "Idx": 2387, "Length": 28, "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": 2388, "Length": 145, "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": 2389, "Length": 44, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "void", "HexagonAsmPrinter", "::", "EmitInstruction", "(", "const", "MachineInstr", "*", "MI", ")", "{", "if", "(", "MI", "->", "isBundle", "(", ")", ")", "{", "std", "::", "vector", "<", "const", "MachineInstr", "*", ">", "BundleMIs", ";", "const", "MachineBasicBlock", "*", "MBB", "=", "MI", "->", "getParent", "(", ")", ";", "MachineBasicBlock", "::", "const_instr_iterator", "MII", "=", "MI", ";", "++", "MII", ";", "unsigned", "int", "IgnoreCount", "=", "0", ";", "while", "(", "MII", "!=", "MBB", "->", "end", "(", ")", "&&", "MII", "->", "isInsideBundle", "(", ")", ")", "{", "const", "MachineInstr", "*", "MInst", "=", "MII", ";", "if", "(", "MInst", "->", "getOpcode", "(", ")", "==", "TargetOpcode", "::", "DBG_VALUE", "||", "MInst", "->", "getOpcode", "(", ")", "==", "TargetOpcode", "::", "IMPLICIT_DEF", ")", "{", "IgnoreCount", "++", ";", "++", "MII", ";", "continue", ";", "}", "BundleMIs", ".", "push_back", "(", "MInst", ")", ";", "++", "MII", ";", "}", "unsigned", "Size", "=", "BundleMIs", ".", "size", "(", ")", ";", "assert", "(", "(", "Size", "+", "IgnoreCount", ")", "==", "MI", "->", "getBundleSize", "(", ")", "&&", "\"Corrupt Bundle!\"", ")", ";", "for", "(", "unsigned", "Index", "=", "0", ";", "Index", "<", "Size", ";", "Index", "++", ")", "{", "HexagonMCInst", "MCI", ";", "MCI", ".", "setPacketStart", "(", "Index", "==", "0", ")", ";", "MCI", ".", "setPacketEnd", "(", "Index", "==", "(", "Size", "-", "1", ")", ")", ";", "HexagonLowerToMC", "(", "BundleMIs", "[", "Index", "]", ",", "MCI", ",", "*", "this", ")", ";", "OutStreamer", ".", "EmitInstruction", "(", "MCI", ")", ";", "}", "}", "else", "{", "HexagonMCInst", "MCI", ";", "if", "(", "MI", "->", "getOpcode", "(", ")", "==", "Hexagon", "::", "ENDLOOP0", ")", "{", "MCI", ".", "setPacketStart", "(", "true", ")", ";", "MCI", ".", "setPacketEnd", "(", "true", ")", ";", "}", "HexagonLowerToMC", "(", "MI", ",", "MCI", ",", "*", "this", ")", ";", "OutStreamer", ".", "EmitInstruction", "(", "MCI", ")", ";", "}", "return", ";", "}", ""], "natrual_language": ["EmitInstruction", "-", "This", "callback", "is", "invoked", "when", "an", "instruction", "is", "emitted", ",", "to", "advance", "the", "hazard", "state", "."], "TS_V_token": ["Hexagon", "Hexagon", "0", "\"Corrupt Bundle!\"", "0", "Hexagon", "0", "1", "Hexagon", "Hexagon", "Hexagon::ENDLOOP0", "Hexagon"], "File": "HexagonAsmPrinter1", "Func": "EmitInstruction", "Target": "Hexagon", "Target_Clf": "DSP", "Compiler_Type": "LLVM", "Idx": 2390, "Length": 266, "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": 2391, "Length": 40, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "SDValue", "HexagonTargetLowering", "::", "LowerOperation", "(", "SDValue", "Op", ",", "SelectionDAG", "&", "DAG", ")", "const", "{", "unsigned", "Opc", "=", "Op", ".", "getOpcode", "(", ")", ";", "if", "(", "Opc", "==", "ISD", "::", "INLINEASM", ")", "return", "LowerINLINEASM", "(", "Op", ",", "DAG", ")", ";", "if", "(", "isHvxOperation", "(", "Op", ")", ")", "{", "if", "(", "SDValue", "V", "=", "LowerHvxOperation", "(", "Op", ",", "DAG", ")", ")", "return", "V", ";", "}", "switch", "(", "Opc", ")", "{", "default", ":", "Op", ".", "getNode", "(", ")", "->", "dumpr", "(", "&", "DAG", ")", ";", "if", "(", "Opc", ">", "HexagonISD", "::", "OP_BEGIN", "&&", "Opc", "<", "HexagonISD", "::", "OP_END", ")", "errs", "(", ")", "<<", "\"Error: check for a non-legal type in this operation\\n\"", ";", "llvm_unreachable", "(", "\"Should not custom lower this!\"", ")", ";", "case", "ISD", "::", "CONCAT_VECTORS", ":", "return", "LowerCONCAT_VECTORS", "(", "Op", ",", "DAG", ")", ";", "case", "ISD", "::", "INSERT_SUBVECTOR", ":", "return", "LowerINSERT_SUBVECTOR", "(", "Op", ",", "DAG", ")", ";", "case", "ISD", "::", "INSERT_VECTOR_ELT", ":", "return", "LowerINSERT_VECTOR_ELT", "(", "Op", ",", "DAG", ")", ";", "case", "ISD", "::", "EXTRACT_SUBVECTOR", ":", "return", "LowerEXTRACT_SUBVECTOR", "(", "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", "::", "BITCAST", ":", "return", "LowerBITCAST", "(", "Op", ",", "DAG", ")", ";", "case", "ISD", "::", "LOAD", ":", "return", "LowerUnalignedLoad", "(", "Op", ",", "DAG", ")", ";", "case", "ISD", "::", "SRA", ":", "case", "ISD", "::", "SHL", ":", "case", "ISD", "::", "SRL", ":", "return", "LowerVECTOR_SHIFT", "(", "Op", ",", "DAG", ")", ";", "case", "ISD", "::", "ConstantPool", ":", "return", "LowerConstantPool", "(", "Op", ",", "DAG", ")", ";", "case", "ISD", "::", "JumpTable", ":", "return", "LowerJumpTable", "(", "Op", ",", "DAG", ")", ";", "case", "ISD", "::", "EH_RETURN", ":", "return", "LowerEH_RETURN", "(", "Op", ",", "DAG", ")", ";", "case", "ISD", "::", "RETURNADDR", ":", "return", "LowerRETURNADDR", "(", "Op", ",", "DAG", ")", ";", "case", "ISD", "::", "FRAMEADDR", ":", "return", "LowerFRAMEADDR", "(", "Op", ",", "DAG", ")", ";", "case", "ISD", "::", "GlobalTLSAddress", ":", "return", "LowerGlobalTLSAddress", "(", "Op", ",", "DAG", ")", ";", "case", "ISD", "::", "ATOMIC_FENCE", ":", "return", "LowerATOMIC_FENCE", "(", "Op", ",", "DAG", ")", ";", "case", "ISD", "::", "GlobalAddress", ":", "return", "LowerGLOBALADDRESS", "(", "Op", ",", "DAG", ")", ";", "case", "ISD", "::", "BlockAddress", ":", "return", "LowerBlockAddress", "(", "Op", ",", "DAG", ")", ";", "case", "ISD", "::", "GLOBAL_OFFSET_TABLE", ":", "return", "LowerGLOBAL_OFFSET_TABLE", "(", "Op", ",", "DAG", ")", ";", "case", "ISD", "::", "VASTART", ":", "return", "LowerVASTART", "(", "Op", ",", "DAG", ")", ";", "case", "ISD", "::", "DYNAMIC_STACKALLOC", ":", "return", "LowerDYNAMIC_STACKALLOC", "(", "Op", ",", "DAG", ")", ";", "case", "ISD", "::", "SETCC", ":", "return", "LowerSETCC", "(", "Op", ",", "DAG", ")", ";", "case", "ISD", "::", "VSELECT", ":", "return", "LowerVSELECT", "(", "Op", ",", "DAG", ")", ";", "case", "ISD", "::", "INTRINSIC_WO_CHAIN", ":", "return", "LowerINTRINSIC_WO_CHAIN", "(", "Op", ",", "DAG", ")", ";", "case", "ISD", "::", "INTRINSIC_VOID", ":", "return", "LowerINTRINSIC_VOID", "(", "Op", ",", "DAG", ")", ";", "case", "ISD", "::", "PREFETCH", ":", "return", "LowerPREFETCH", "(", "Op", ",", "DAG", ")", ";", "case", "ISD", "::", "READCYCLECOUNTER", ":", "return", "LowerREADCYCLECOUNTER", "(", "Op", ",", "DAG", ")", ";", "break", ";", "}", "return", "SDValue", "(", ")", ";", "}", ""], "natrual_language": ["LowerOperation", "-", "Provide", "custom", "lowering", "hooks", "for", "some", "operations", "."], "TS_V_token": ["Hexagon", "Hexagon", "ISD::INLINEASM", "HexagonISD::OP_BEGIN", "HexagonISD::OP_END", "\"Error: check for a non-legal type in this operation\\n\"", "\"Should not custom lower this!\"", "ISD::CONCAT_VECTORS", "ISD::INSERT_SUBVECTOR", "ISD::INSERT_VECTOR_ELT", "ISD::EXTRACT_SUBVECTOR", "ISD::EXTRACT_VECTOR_ELT", "ISD::BUILD_VECTOR", "ISD::VECTOR_SHUFFLE", "ISD::BITCAST", "ISD::LOAD", "ISD::SRA", "ISD::SHL", "ISD::SRL", "ISD::ConstantPool", "ISD::JumpTable", "ISD::EH_RETURN", "ISD::RETURNADDR", "ISD::FRAMEADDR", "ISD::GlobalTLSAddress", "ISD::ATOMIC_FENCE", "ISD::GlobalAddress", "ISD::BlockAddress", "ISD::GLOBAL_OFFSET_TABLE", "ISD::VASTART", "ISD::DYNAMIC_STACKALLOC", "ISD::SETCC", "ISD::VSELECT", "ISD::INTRINSIC_WO_CHAIN", "ISD::INTRINSIC_VOID", "ISD::PREFETCH", "ISD::READCYCLECOUNTER"], "File": "HexagonISelLowering102", "Func": "LowerOperation", "Target": "Hexagon", "Target_Clf": "DSP", "Compiler_Type": "LLVM", "Idx": 2392, "Length": 490, "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": 2393, "Length": 134, "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": ["Hexagon"], "File": "HexagonAsmParser (2)", "Func": "Warning", "Target": "Hexagon", "Target_Clf": "DSP", "Compiler_Type": "LLVM", "Idx": 2394, "Length": 22, "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": 2395, "Length": 177, "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": 2396, "Length": 117, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "static", "bool", "avr_function_value_regno_p", "(", "const", "unsigned", "int", "regno", ")", "{", "return", "(", "regno", "==", "avr_ret_register", "(", ")", ")", ";", "}", ""], "natrual_language": ["Implement", "`", "TARGET_FUNCTION_VALUE_REGNO_P", "'", "."], "TS_V_token": ["avr"], "File": "avr", "Func": "avr_function_value_regno_p", "Target": "avr", "Target_Clf": "MPU", "Compiler_Type": "GCC", "Idx": 2397, "Length": 20, "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": 2398, "Length": 12, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "static", "void", "nvptx_sese_color", "(", "auto_vec", "<", "unsigned", ">", "&", "color_counts", ",", "bb_pair_vec_t", "&", "regions", ",", "basic_block", "block", ",", "int", "coloring", ")", "{", "bb_sese", "*", "sese", "=", "BB_GET_SESE", "(", "block", ")", ";", "if", "(", "block", "->", "flags", "&", "BB_VISITED", ")", "{", "gcc_assert", "(", "coloring", "<", "0", "||", "(", "sese", "&&", "coloring", "==", "sese", "->", "color", ")", ")", ";", "return", ";", "}", "block", "->", "flags", "|=", "BB_VISITED", ";", "if", "(", "sese", ")", "{", "if", "(", "coloring", "<", "0", ")", "{", "regions", "[", "sese", "->", "color", "]", ".", "first", "=", "block", ";", "coloring", "=", "sese", "->", "color", ";", "}", "if", "(", "!", "--", "color_counts", "[", "sese", "->", "color", "]", "&&", "sese", "->", "color", "==", "coloring", ")", "{", "regions", "[", "sese", "->", "color", "]", ".", "second", "=", "block", ";", "coloring", "=", "-", "1", ";", "}", "else", "sese", "->", "color", "=", "coloring", ";", "}", "else", "gcc_assert", "(", "coloring", "<", "0", ")", ";", "if", "(", "block", "->", "succs", "&&", "block", "->", "succs", "->", "length", "(", ")", ")", "{", "edge", "e", ";", "edge_iterator", "ei", ";", "FOR_EACH_EDGE", "(", "e", ",", "ei", ",", "block", "->", "succs", ")", "nvptx_sese_color", "(", "color_counts", ",", "regions", ",", "e", "->", "dest", ",", "coloring", ")", ";", "}", "else", "gcc_assert", "(", "coloring", "<", "0", ")", ";", "}", ""], "natrual_language": ["DFS", "walk", "of", "BB", "graph", ".", "Color", "node", "BLOCK", "according", "to", "COLORING", "then", "proceed", "to", "successors", ".", "Set", "SESE", "entry", "and", "exit", "nodes", "of", "REGIONS", "."], "TS_V_token": ["nvptx", "0", "0", "1", "0", "0"], "File": "nvptx", "Func": "nvptx_sese_color", "Target": "nvptx", "Target_Clf": "GPU", "Compiler_Type": "GCC", "Idx": 2399, "Length": 201, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "bool", "empty", "(", ")", "const", "{", "return", "Queue", ".", "empty", "(", ")", ";", "}", ""], "natrual_language": ["Determine", "whether", "this", "version", "information", "is", "empty", "(", "e.g.", ",", "all", "version", "components", "are", "zero", ")", "."], "TS_V_token": ["Hexagon"], "File": "RDFDeadCode", "Func": "empty", "Target": "Hexagon", "Target_Clf": "DSP", "Compiler_Type": "LLVM", "Idx": 2400, "Length": 14, "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": 2401, "Length": 406, "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": 2402, "Length": 121, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "void", "rvexInstrInfo", "::", "copyPhysReg", "(", "MachineBasicBlock", "&", "MBB", ",", "MachineBasicBlock", "::", "iterator", "I", ",", "DebugLoc", "DL", ",", "unsigned", "DestReg", ",", "unsigned", "SrcReg", ",", "bool", "KillSrc", ")", "const", "{", "unsigned", "Opc", "=", "0", ",", "ZeroReg", "=", "0", ";", "if", "(", "rvex", "::", "CPURegsRegClass", ".", "contains", "(", "DestReg", ")", ")", "{", "if", "(", "rvex", "::", "CPURegsRegClass", ".", "contains", "(", "SrcReg", ")", ")", "Opc", "=", "rvex", "::", "ADD", ",", "ZeroReg", "=", "rvex", "::", "R0", ";", "else", "if", "(", "SrcReg", "==", "rvex", "::", "HI", ")", "Opc", "=", "rvex", "::", "MFHI", ",", "SrcReg", "=", "0", ";", "else", "if", "(", "SrcReg", "==", "rvex", "::", "LO", ")", "Opc", "=", "rvex", "::", "MFLO", ",", "SrcReg", "=", "0", ";", "}", "else", "if", "(", "rvex", "::", "CPURegsRegClass", ".", "contains", "(", "SrcReg", ")", ")", "{", "if", "(", "DestReg", "==", "rvex", "::", "HI", ")", "Opc", "=", "rvex", "::", "MTHI", ",", "DestReg", "=", "0", ";", "else", "if", "(", "DestReg", "==", "rvex", "::", "LO", ")", "Opc", "=", "rvex", "::", "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": ["rvex", "rvex", "0", "0", "rvex::CPURegsRegClass", "rvex::CPURegsRegClass", "rvex::ADD", "rvex::R0", "rvex::HI", "rvex::MFHI", "0", "rvex::LO", "rvex::MFLO", "0", "rvex::CPURegsRegClass", "rvex::HI", "rvex::MTHI", "0", "rvex::LO", "rvex::MTLO", "0", "\"Cannot copy registers\""], "File": "rvexInstrInfo", "Func": "copyPhysReg", "Target": "rvex", "Target_Clf": "VLIW", "Compiler_Type": "LLVM", "Idx": 2403, "Length": 229, "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": 2404, "Length": 133, "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": 2405, "Length": 163, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "static", "bool", "nvptx_use_anchors_for_symbol_p", "(", "const_rtx", "ARG_UNUSED", "(", "a", ")", ")", "{", "return", "false", ";", "}", ""], "natrual_language": ["Section", "anchors", "do", "not", "work", ".", "Initialization", "for", "flag_section_anchor", "probes", "the", "existence", "of", "the", "anchoring", "target", "hooks", "and", "prevents", "anchoring", "if", "they", "do", "n't", "exist", ".", "However", ",", "we", "may", "be", "being", "used", "with", "a", "host-side", "compiler", "that", "does", "support", "anchoring", ",", "and", "hence", "see", "the", "anchor", "flag", "set", "(", "as", "it", "'s", "not", "recalculated", ")", ".", "So", "provide", "an", "implementation", "denying", "anchoring", "."], "TS_V_token": ["nvptx"], "File": "nvptx", "Func": "nvptx_use_anchors_for_symbol_p", "Target": "nvptx", "Target_Clf": "GPU", "Compiler_Type": "GCC", "Idx": 2406, "Length": 15, "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": 2407, "Length": 15, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "bool", "NyuziRegisterInfo", "::", "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": ["Nyuzi", "Nyuzi"], "File": "NyuziRegisterInfo", "Func": "requiresRegisterScavenging", "Target": "Nyuzi", "Target_Clf": "GPU", "Compiler_Type": "LLVM", "Idx": 2408, "Length": 16, "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": 2409, "Length": 79, "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": 2410, "Length": 29, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "APFloat", "getAPFloat", "(", ")", "const", "{", "return", "Flt", ";", "}", ""], "natrual_language": ["getSubExpr", "-", "Get", "the", "child", "of", "this", "expression", "."], "TS_V_token": ["NVPTX"], "File": "NVPTXMCExpr (2)", "Func": "getAPFloat", "Target": "NVPTX", "Target_Clf": "GPU", "Compiler_Type": "LLVM", "Idx": 2411, "Length": 10, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "static", "void", "avr_asm_out_ctor", "(", "rtx", "symbol", ",", "int", "priority", ")", "{", "fputs", "(", "\"\\t.global __do_global_ctors\\n\"", ",", "asm_out_file", ")", ";", "default_ctor_section_asm_out_constructor", "(", "symbol", ",", "priority", ")", ";", "}", ""], "natrual_language": ["Worker", "function", "for", "TARGET_ASM_CONSTRUCTOR", "."], "TS_V_token": ["avr", "\"\\t.global __do_global_ctors\\n\""], "File": "avr", "Func": "avr_asm_out_ctor", "Target": "avr", "Target_Clf": "MPU", "Compiler_Type": "GCC", "Idx": 2412, "Length": 26, "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": 2413, "Length": 58, "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": 2414, "Length": 304, "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": 2415, "Length": 208, "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": ["ECLair"], "File": "ECLairAsmBackend", "Func": "fixupNeedsRelaxation", "Target": "ECLair", "Target_Clf": "MPU", "Compiler_Type": "LLVM", "Idx": 2416, "Length": 28, "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": 2417, "Length": 263, "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": 2418, "Length": 356, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "SDNode", "*", "SITargetLowering", "::", "PostISelFolding", "(", "MachineSDNode", "*", "Node", ",", "SelectionDAG", "&", "DAG", ")", "const", "{", "const", "SIInstrInfo", "*", "TII", "=", "getSubtarget", "(", ")", "->", "getInstrInfo", "(", ")", ";", "unsigned", "Opcode", "=", "Node", "->", "getMachineOpcode", "(", ")", ";", "if", "(", "TII", "->", "isMIMG", "(", "Opcode", ")", "&&", "!", "TII", "->", "get", "(", "Opcode", ")", ".", "mayStore", "(", ")", "&&", "!", "TII", "->", "isGather4", "(", "Opcode", ")", ")", "adjustWritemask", "(", "Node", ",", "DAG", ")", ";", "if", "(", "Opcode", "==", "AMDGPU", "::", "INSERT_SUBREG", "||", "Opcode", "==", "AMDGPU", "::", "REG_SEQUENCE", ")", "{", "legalizeTargetIndependentNode", "(", "Node", ",", "DAG", ")", ";", "return", "Node", ";", "}", "return", "Node", ";", "}", ""], "natrual_language": ["Fold", "the", "instructions", "after", "selecting", "them", "."], "TS_V_token": ["AMDGPU", "SI", "SI", "AMDGPU::INSERT_SUBREG", "AMDGPU::REG_SEQUENCE"], "File": "SIISelLowering101", "Func": "PostISelFolding", "Target": "AMDGPU", "Target_Clf": "GPU", "Compiler_Type": "LLVM", "Idx": 2419, "Length": 104, "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": 2420, "Length": 80, "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": ["SNES"], "File": "SNESTargetMachine", "Func": "isMachineVerifierClean", "Target": "SNES", "Target_Clf": "DSP", "Compiler_Type": "LLVM", "Idx": 2421, "Length": 11, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "bool", "s390_split_ok_p", "(", "rtx", "dst", ",", "rtx", "src", ",", "enum", "machine_mode", "mode", ",", "int", "first_subword", ")", "{", "if", "(", "FP_REG_P", "(", "src", ")", "||", "FP_REG_P", "(", "dst", ")", ")", "return", "false", ";", "if", "(", "s_operand", "(", "src", ",", "mode", ")", "||", "s_operand", "(", "dst", ",", "mode", ")", ")", "return", "false", ";", "if", "(", "(", "GET_CODE", "(", "src", ")", "==", "MEM", "&&", "!", "offsettable_memref_p", "(", "src", ")", ")", "||", "(", "GET_CODE", "(", "dst", ")", "==", "MEM", "&&", "!", "offsettable_memref_p", "(", "dst", ")", ")", ")", "return", "false", ";", "if", "(", "register_operand", "(", "dst", ",", "mode", ")", ")", "{", "rtx", "subreg", "=", "operand_subword", "(", "dst", ",", "first_subword", ",", "0", ",", "mode", ")", ";", "if", "(", "reg_overlap_mentioned_p", "(", "subreg", ",", "src", ")", ")", "return", "false", ";", "}", "return", "true", ";", "}", ""], "natrual_language": ["Check", "whether", "we", "can", "(", "and", "want", "to", ")", "split", "a", "double-word", "move", "in", "mode", "MODE", "from", "SRC", "to", "DST", "into", "two", "single-word", "moves", ",", "moving", "the", "subword", "FIRST_SUBWORD", "first", "."], "TS_V_token": ["s390", "0"], "File": "s3903", "Func": "s390_split_ok_p", "Target": "s390", "Target_Clf": "MPU", "Compiler_Type": "GCC", "Idx": 2422, "Length": 127, "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": 2423, "Length": 68, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "unsigned", "MipsOutgoingValueHandler", "::", "assignCustomValue", "(", "CallLowering", "::", "ArgInfo", "&", "Arg", ",", "ArrayRef", "<", "CCValAssign", ">", "VAs", ")", "{", "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", ")", ";", "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"], "File": "MipsCallLowering9", "Func": "assignCustomValue", "Target": "Mips", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 2424, "Length": 215, "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": 2425, "Length": 33, "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": 2426, "Length": 123, "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": ["powerpcspe", "0", "0", "\"emitting microcode insn %s\\t[%s] #%d\"", "\"emitting conditional microcode insn %s\\t[%s] #%d\""], "File": "powerpcspe", "Func": "rs6000_final_prescan_insn", "Target": "powerpcspe", "Target_Clf": "CPU", "Compiler_Type": "GCC", "Idx": 2427, "Length": 176, "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": 2428, "Length": 120, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "void", "tilepro_cpu_cpp_builtins", "(", "struct", "cpp_reader", "*", "pfile", ")", "{", "builtin_define", "(", "\"__tile__\"", ")", ";", "builtin_define", "(", "\"__tilepro__\"", ")", ";", "builtin_assert", "(", "\"cpu=tile\"", ")", ";", "builtin_assert", "(", "\"machine=tile\"", ")", ";", "builtin_define", "(", "\"__tile_chip__=1\"", ")", ";", "builtin_define", "(", "\"__tile_chip_rev__=0\"", ")", ";", "builtin_define", "(", "\"__GCC_HAVE_SYNC_COMPARE_AND_SWAP_1\"", ")", ";", "builtin_define", "(", "\"__GCC_HAVE_SYNC_COMPARE_AND_SWAP_2\"", ")", ";", "builtin_define", "(", "\"__GCC_HAVE_SYNC_COMPARE_AND_SWAP_4\"", ")", ";", "builtin_define", "(", "\"__GCC_HAVE_SYNC_COMPARE_AND_SWAP_8\"", ")", ";", "TILEPRO_CPU_CPP_ENDIAN_BUILTINS", "(", ")", ";", "GNU_USER_TARGET_OS_CPP_BUILTINS", "(", ")", ";", "}", ""], "natrual_language": ["Implement", "TARGET_CPU_CPP_BUILTINS", "."], "TS_V_token": ["tilepro", "\"__tile__\"", "\"__tilepro__\"", "\"cpu=tile\"", "\"machine=tile\"", "\"__tile_chip__=1\"", "\"__tile_chip_rev__=0\"", "\"__GCC_HAVE_SYNC_COMPARE_AND_SWAP_1\"", "\"__GCC_HAVE_SYNC_COMPARE_AND_SWAP_2\"", "\"__GCC_HAVE_SYNC_COMPARE_AND_SWAP_4\"", "\"__GCC_HAVE_SYNC_COMPARE_AND_SWAP_8\""], "File": "tilepro-c", "Func": "tilepro_cpu_cpp_builtins", "Target": "tilepro", "Target_Clf": "VLIW", "Compiler_Type": "GCC", "Idx": 2429, "Length": 68, "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": 2430, "Length": 90, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "uint64_t", "SIMCCodeEmitter", "::", "getMachineOpValue", "(", "const", "MCInst", "&", "MI", ",", "const", "MCOperand", "&", "MO", ",", "SmallVectorImpl", "<", "MCFixup", ">", "&", "Fixups", ")", "const", "{", "if", "(", "MO", ".", "isReg", "(", ")", ")", "return", "MRI", ".", "getEncodingValue", "(", "MO", ".", "getReg", "(", ")", ")", ";", "if", "(", "MO", ".", "isExpr", "(", ")", ")", "{", "const", "MCExpr", "*", "Expr", "=", "MO", ".", "getExpr", "(", ")", ";", "MCFixupKind", "Kind", "=", "MCFixupKind", "(", "FK_PCRel_4", ")", ";", "Fixups", ".", "push_back", "(", "MCFixup", "::", "Create", "(", "0", ",", "Expr", ",", "Kind", ",", "MI", ".", "getLoc", "(", ")", ")", ")", ";", "return", "0", ";", "}", "unsigned", "OpNo", "=", "0", ";", "for", "(", "unsigned", "e", "=", "MI", ".", "getNumOperands", "(", ")", ";", "OpNo", "<", "e", ";", "++", "OpNo", ")", "{", "if", "(", "&", "MO", "==", "&", "MI", ".", "getOperand", "(", "OpNo", ")", ")", "break", ";", "}", "const", "MCInstrDesc", "&", "Desc", "=", "MCII", ".", "get", "(", "MI", ".", "getOpcode", "(", ")", ")", ";", "if", "(", "isSrcOperand", "(", "Desc", ",", "OpNo", ")", ")", "{", "uint32_t", "Enc", "=", "getLitEncoding", "(", "MO", ")", ";", "if", "(", "Enc", "!=", "~", "0U", "&&", "(", "Enc", "!=", "255", "||", "Desc", ".", "getSize", "(", ")", "==", "4", ")", ")", "return", "Enc", ";", "}", "else", "if", "(", "MO", ".", "isImm", "(", ")", ")", "return", "MO", ".", "getImm", "(", ")", ";", "llvm_unreachable", "(", "\"Encoding of this operand type is not supported yet.\"", ")", ";", "return", "0", ";", "}", ""], "natrual_language": ["getMachineOpValue", "-", "Return", "binary", "encoding", "of", "operand", "."], "TS_V_token": ["R600", "SI", "0", "0", "0", "0U", "255", "4", "\"Encoding of this operand type is not supported yet.\"", "0"], "File": "SIMCCodeEmitter22", "Func": "getMachineOpValue", "Target": "R600", "Target_Clf": "GPU", "Compiler_Type": "LLVM", "Idx": 2431, "Length": 222, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "void", "ValueEnumerator", "::", "print", "(", "raw_ostream", "&", "OS", ",", "const", "MetadataMapType", "&", "Map", ",", "const", "char", "*", "Name", ")", "const", "{", "OS", "<<", "\"Map Name: \"", "<<", "Name", "<<", "\"\\n\"", ";", "OS", "<<", "\"Size: \"", "<<", "Map", ".", "size", "(", ")", "<<", "\"\\n\"", ";", "for", "(", "const", "auto", "&", "I", ":", "Map", ")", "{", "const", "Metadata", "*", "MD", "=", "I", ".", "first", ";", "OS", "<<", "\"Metadata: slot = \"", "<<", "I", ".", "second", ".", "ID", "<<", "\"\\n\"", ";", "OS", "<<", "\"Metadata: function = \"", "<<", "I", ".", "second", ".", "F", "<<", "\"\\n\"", ";", "MD", "->", "print", "(", "OS", ")", ";", "OS", "<<", "\"\\n\"", ";", "}", "}", ""], "natrual_language": ["print", "-", "Print", "a", "debug", "representation", "of", "the", "operand", "to", "the", "given", "stream", "."], "TS_V_token": ["DirectX", "\"Map Name: \"", "\"\\n\"", "\"Size: \"", "\"\\n\"", "\"Metadata: slot = \"", "\"\\n\"", "\"Metadata: function = \"", "\"\\n\"", "\"\\n\""], "File": "DXILValueEnumerator", "Func": "print", "Target": "DirectX", "Target_Clf": "Virtual ISA", "Compiler_Type": "LLVM", "Idx": 2432, "Length": 97, "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": ["FISC"], "File": "FISCAsmParser", "Func": "isMem", "Target": "FISC", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 2433, "Length": 12, "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": 2434, "Length": 29, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "void", "R600SchedStrategy", "::", "initialize", "(", "ScheduleDAGMI", "*", "dag", ")", "{", "assert", "(", "dag", "->", "hasVRegLiveness", "(", ")", "&&", "\"R600SchedStrategy needs vreg liveness\"", ")", ";", "DAG", "=", "static_cast", "<", "ScheduleDAGMILive", "*", ">", "(", "dag", ")", ";", "const", "AMDGPUSubtarget", "&", "ST", "=", "DAG", "->", "TM", ".", "getSubtarget", "<", "AMDGPUSubtarget", ">", "(", ")", ";", "TII", "=", "static_cast", "<", "const", "R600InstrInfo", "*", ">", "(", "DAG", "->", "TII", ")", ";", "TRI", "=", "static_cast", "<", "const", "R600RegisterInfo", "*", ">", "(", "DAG", "->", "TRI", ")", ";", "VLIW5", "=", "!", "ST", ".", "hasCaymanISA", "(", ")", ";", "MRI", "=", "&", "DAG", "->", "MRI", ";", "CurInstKind", "=", "IDOther", ";", "CurEmitted", "=", "0", ";", "OccupedSlotsMask", "=", "31", ";", "InstKindLimit", "[", "IDAlu", "]", "=", "TII", "->", "getMaxAlusPerClause", "(", ")", ";", "InstKindLimit", "[", "IDOther", "]", "=", "32", ";", "InstKindLimit", "[", "IDFetch", "]", "=", "ST", ".", "getTexVTXClauseSize", "(", ")", ";", "AluInstCount", "=", "0", ";", "FetchInstCount", "=", "0", ";", "}", ""], "natrual_language": ["Initialize", "the", "strategy", "after", "building", "the", "DAG", "for", "a", "new", "region", "."], "TS_V_token": ["R600", "\"R600SchedStrategy needs vreg liveness\"", "0", "31", "32", "0", "0"], "File": "R600MachineScheduler12", "Func": "initialize", "Target": "R600", "Target_Clf": "GPU", "Compiler_Type": "LLVM", "Idx": 2435, "Length": 142, "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": ["TVM"], "File": "TVMMCExpr", "Func": "findAssociatedFragment", "Target": "TVM", "Target_Clf": "Virtual ISA", "Compiler_Type": "LLVM", "Idx": 2436, "Length": 12, "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": 2437, "Length": 200, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "static", "tree", "alpha_fold_builtin_extxx", "(", "tree", "op", "[", "]", ",", "unsigned", "HOST_WIDE_INT", "opint", "[", "]", ",", "long", "op_const", ",", "unsigned", "HOST_WIDE_INT", "bytemask", ",", "bool", "is_high", ")", "{", "long", "zap_const", "=", "2", ";", "tree", "*", "zap_op", "=", "NULL", ";", "if", "(", "op_const", "&", "2", ")", "{", "unsigned", "HOST_WIDE_INT", "loc", ";", "loc", "=", "opint", "[", "1", "]", "&", "7", ";", "if", "(", "BYTES_BIG_ENDIAN", ")", "loc", "^=", "7", ";", "loc", "*=", "8", ";", "if", "(", "loc", "!=", "0", ")", "{", "if", "(", "op_const", "&", "1", ")", "{", "unsigned", "HOST_WIDE_INT", "temp", "=", "opint", "[", "0", "]", ";", "if", "(", "is_high", ")", "temp", "<<=", "loc", ";", "else", "temp", ">>=", "loc", ";", "opint", "[", "0", "]", "=", "temp", ";", "zap_const", "=", "3", ";", "}", "}", "else", "zap_op", "=", "op", ";", "}", "opint", "[", "1", "]", "=", "bytemask", ";", "return", "alpha_fold_builtin_zapnot", "(", "zap_op", ",", "opint", ",", "zap_const", ")", ";", "}", ""], "natrual_language": ["Fold", "the", "builtins", "for", "the", "EXT", "family", "of", "instructions", "."], "TS_V_token": ["alpha", "2", "2", "1", "7", "7", "8", "0", "1", "0", "0", "3", "1"], "File": "alpha3", "Func": "alpha_fold_builtin_extxx", "Target": "alpha", "Target_Clf": "MPU", "Compiler_Type": "GCC", "Idx": 2438, "Length": 142, "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": 2439, "Length": 251, "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": 2440, "Length": 86, "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": 2441, "Length": 54, "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": 2442, "Length": 145, "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": 2443, "Length": 29, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "bool", "AAPDAGToDAGISel", "::", "SelectInlineAsmMemoryOperand", "(", "const", "SDValue", "&", "Op", ",", "unsigned", "ConstraintID", ",", "std", "::", "vector", "<", "SDValue", ">", "&", "OutOps", ")", "{", "switch", "(", "ConstraintID", ")", "{", "default", ":", "return", "true", ";", "case", "InlineAsm", "::", "Constraint_i", ":", "case", "InlineAsm", "::", "Constraint_m", ":", "SDLoc", "DL", "(", "Op", ")", ";", "SDValue", "RC", "=", "CurDAG", "->", "getTargetConstant", "(", "AAP", "::", "GR64RegClass", ".", "getID", "(", ")", ",", "DL", ",", "MVT", "::", "i16", ")", ";", "SDNode", "*", "N", "=", "CurDAG", "->", "getMachineNode", "(", "TargetOpcode", "::", "COPY_TO_REGCLASS", ",", "DL", ",", "Op", ".", "getValueType", "(", ")", ",", "Op", ",", "RC", ")", ";", "SDValue", "Zero", "=", "CurDAG", "->", "getTargetConstant", "(", "0", ",", "DL", ",", "MVT", "::", "i16", ")", ";", "OutOps", ".", "push_back", "(", "SDValue", "(", "N", ",", "0", ")", ")", ";", "OutOps", ".", "push_back", "(", "Zero", ")", ";", "break", ";", "}", "return", "false", ";", "}", ""], "natrual_language": ["SelectInlineAsmMemoryOperand", "-", "Select", "the", "specified", "address", "as", "a", "target", "addressing", "mode", ",", "according", "to", "the", "specified", "constraint", "."], "TS_V_token": ["AAP", "AAP", "AAP::GR64RegClass", "MVT::i16", "0", "MVT::i16", "0"], "File": "AAPISelDAGToDAG", "Func": "SelectInlineAsmMemoryOperand", "Target": "AAP", "Target_Clf": "MPU", "Compiler_Type": "LLVM", "Idx": 2444, "Length": 138, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "bool", "XCoreTargetLowering", "::", "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_XCore", ")", ";", "}", ""], "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": ["XCore", "XCore", "ISD::OutputArg", "16", "XCore"], "File": "XCoreISelLowering (2)", "Func": "CanLowerReturn", "Target": "XCore", "Target_Clf": "MPU", "Compiler_Type": "LLVM", "Idx": 2445, "Length": 70, "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": 2446, "Length": 23, "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": 2447, "Length": 14, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "virtual", "const", "char", "*", "getPassName", "(", ")", "const", "{", "return", "\"Videocore Assembly Printer\"", ";", "}", ""], "natrual_language": ["getPassName", "-", "Return", "a", "nice", "clean", "name", "for", "a", "pass", "."], "TS_V_token": ["Videocore", "\"Videocore Assembly Printer\""], "File": "VideocoreAsmPrinter", "Func": "getPassName", "Target": "Videocore", "Target_Clf": "DSP", "Compiler_Type": "LLVM", "Idx": 2448, "Length": 13, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "static", "void", "spu_option_override", "(", "void", ")", "{", "init_machine_status", "=", "spu_init_machine_status", ";", "if", "(", "!", "flag_unroll_loops", "&&", "!", "flag_peel_loops", ")", "maybe_set_param_value", "(", "PARAM_MAX_COMPLETELY_PEEL_TIMES", ",", "4", ",", "global_options", ".", "x_param_values", ",", "global_options_set", ".", "x_param_values", ")", ";", "flag_omit_frame_pointer", "=", "1", ";", "parse_alignment_opts", "(", ")", ";", "if", "(", "align_functions", ".", "levels", "[", "0", "]", ".", "get_value", "(", ")", "<", "8", ")", "str_align_functions", "=", "\"8\"", ";", "spu_hint_dist", "=", "8", "*", "4", "-", "spu_max_nops", "*", "4", ";", "if", "(", "spu_hint_dist", "<", "0", ")", "spu_hint_dist", "=", "0", ";", "if", "(", "spu_fixed_range_string", ")", "fix_range", "(", "spu_fixed_range_string", ")", ";", "if", "(", "spu_arch_string", ")", "{", "if", "(", "strcmp", "(", "&", "spu_arch_string", "[", "0", "]", ",", "\"cell\"", ")", "==", "0", ")", "spu_arch", "=", "PROCESSOR_CELL", ";", "else", "if", "(", "strcmp", "(", "&", "spu_arch_string", "[", "0", "]", ",", "\"celledp\"", ")", "==", "0", ")", "spu_arch", "=", "PROCESSOR_CELLEDP", ";", "else", "error", "(", "\"bad value (%s) for %<-march=%> switch\"", ",", "spu_arch_string", ")", ";", "}", "if", "(", "spu_tune_string", ")", "{", "if", "(", "strcmp", "(", "&", "spu_tune_string", "[", "0", "]", ",", "\"cell\"", ")", "==", "0", ")", "spu_tune", "=", "PROCESSOR_CELL", ";", "else", "if", "(", "strcmp", "(", "&", "spu_tune_string", "[", "0", "]", ",", "\"celledp\"", ")", "==", "0", ")", "spu_tune", "=", "PROCESSOR_CELLEDP", ";", "else", "error", "(", "\"bad value (%s) for %<-mtune=%> switch\"", ",", "spu_tune_string", ")", ";", "}", "if", "(", "spu_arch", "==", "PROCESSOR_CELLEDP", ")", "{", "if", "(", "!", "(", "target_flags_explicit", "&", "MASK_SAFE_HINTS", ")", ")", "target_flags", "&=", "~", "MASK_SAFE_HINTS", ";", "}", "REAL_MODE_FORMAT", "(", "SFmode", ")", "=", "&", "spu_single_format", ";", "}", ""], "natrual_language": ["Implement", "TARGET_OPTION_OVERRIDE", "."], "TS_V_token": ["spu", "4", "1", "0", "8", "\"8\"", "8", "4", "4", "0", "0", "0", "\"cell\"", "0", "0", "\"celledp\"", "0", "\"bad value (%s) for %<-march=%> switch\"", "0", "\"cell\"", "0", "0", "\"celledp\"", "0", "\"bad value (%s) for %<-mtune=%> switch\""], "File": "spu4", "Func": "spu_option_override", "Target": "spu", "Target_Clf": "MPU", "Compiler_Type": "GCC", "Idx": 2449, "Length": 227, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "void", "GCNPassConfig", "::", "addPostRegAlloc", "(", ")", "{", "addPass", "(", "&", "SIFixVGPRCopiesID", ")", ";", "if", "(", "getOptLevel", "(", ")", ">", "CodeGenOpt", "::", "None", ")", "addPass", "(", "&", "SIOptimizeExecMaskingID", ")", ";", "TargetPassConfig", "::", "addPostRegAlloc", "(", ")", ";", "}", ""], "natrual_language": ["This", "method", "may", "be", "implemented", "by", "targets", "that", "want", "to", "run", "passes", "after", "register", "allocation", "pass", "pipeline", "but", "before", "prolog-epilog", "insertion", "."], "TS_V_token": ["AMDGPU", "SI", "SI"], "File": "AMDGPUTargetMachine (2)1", "Func": "addPostRegAlloc", "Target": "AMDGPU", "Target_Clf": "GPU", "Compiler_Type": "LLVM", "Idx": 2450, "Length": 36, "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": 2451, "Length": 21, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "static", "void", "nvptx_option_override", "(", "void", ")", "{", "init_machine_status", "=", "nvptx_init_machine_status", ";", "handle_ptx_version_option", "(", ")", ";", "if", "(", "!", "OPTION_SET_P", "(", "flag_toplevel_reorder", ")", ")", "flag_toplevel_reorder", "=", "1", ";", "debug_nonbind_markers_p", "=", "0", ";", "if", "(", "!", "OPTION_SET_P", "(", "flag_no_common", ")", ")", "flag_no_common", "=", "1", ";", "HOST_WIDE_INT", "patch_area_size", ",", "patch_area_entry", ";", "parse_and_check_patch_area", "(", "flag_patchable_function_entry", ",", "false", ",", "&", "patch_area_size", ",", "&", "patch_area_entry", ")", ";", "if", "(", "patch_area_size", ">", "0", ")", "sorry", "(", "\"not generating patch area, nops not supported\"", ")", ";", "flag_var_tracking", "=", "0", ";", "if", "(", "nvptx_optimize", "<", "0", ")", "nvptx_optimize", "=", "optimize", ">", "0", ";", "declared_fndecls_htab", "=", "hash_table", "<", "tree_hasher", ">", "::", "create_ggc", "(", "17", ")", ";", "needed_fndecls_htab", "=", "hash_table", "<", "tree_hasher", ">", "::", "create_ggc", "(", "17", ")", ";", "declared_libfuncs_htab", "=", "hash_table", "<", "declared_libfunc_hasher", ">", "::", "create_ggc", "(", "17", ")", ";", "oacc_bcast_sym", "=", "gen_rtx_SYMBOL_REF", "(", "Pmode", ",", "\"__oacc_bcast\"", ")", ";", "SET_SYMBOL_DATA_AREA", "(", "oacc_bcast_sym", ",", "DATA_AREA_SHARED", ")", ";", "oacc_bcast_align", "=", "GET_MODE_ALIGNMENT", "(", "SImode", ")", "/", "BITS_PER_UNIT", ";", "oacc_bcast_partition", "=", "0", ";", "worker_red_sym", "=", "gen_rtx_SYMBOL_REF", "(", "Pmode", ",", "\"__worker_red\"", ")", ";", "SET_SYMBOL_DATA_AREA", "(", "worker_red_sym", ",", "DATA_AREA_SHARED", ")", ";", "worker_red_align", "=", "GET_MODE_ALIGNMENT", "(", "SImode", ")", "/", "BITS_PER_UNIT", ";", "vector_red_sym", "=", "gen_rtx_SYMBOL_REF", "(", "Pmode", ",", "\"__vector_red\"", ")", ";", "SET_SYMBOL_DATA_AREA", "(", "vector_red_sym", ",", "DATA_AREA_SHARED", ")", ";", "vector_red_align", "=", "GET_MODE_ALIGNMENT", "(", "SImode", ")", "/", "BITS_PER_UNIT", ";", "vector_red_partition", "=", "0", ";", "gang_private_shared_sym", "=", "gen_rtx_SYMBOL_REF", "(", "Pmode", ",", "\"__gang_private_shared\"", ")", ";", "SET_SYMBOL_DATA_AREA", "(", "gang_private_shared_sym", ",", "DATA_AREA_SHARED", ")", ";", "gang_private_shared_align", "=", "GET_MODE_ALIGNMENT", "(", "SImode", ")", "/", "BITS_PER_UNIT", ";", "diagnose_openacc_conflict", "(", "TARGET_GOMP", ",", "\"-mgomp\"", ")", ";", "diagnose_openacc_conflict", "(", "TARGET_SOFT_STACK", ",", "\"-msoft-stack\"", ")", ";", "diagnose_openacc_conflict", "(", "TARGET_UNIFORM_SIMT", ",", "\"-muniform-simt\"", ")", ";", "if", "(", "TARGET_GOMP", ")", "target_flags", "|=", "MASK_SOFT_STACK", "|", "MASK_UNIFORM_SIMT", ";", "}", ""], "natrual_language": ["Implement", "TARGET_OPTION_OVERRIDE", "."], "TS_V_token": ["nvptx", "1", "0", "1", "0", "\"not generating patch area, nops not supported\"", "0", "0", "0", "17", "17", "17", "\"__oacc_bcast\"", "0", "\"__worker_red\"", "\"__vector_red\"", "0", "\"__gang_private_shared\"", "\"-mgomp\"", "\"-msoft-stack\"", "\"-muniform-simt\""], "File": "nvptx", "Func": "nvptx_option_override", "Target": "nvptx", "Target_Clf": "GPU", "Compiler_Type": "GCC", "Idx": 2452, "Length": 264, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "const", "XCoreSubtarget", "*", "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": ["XCore", "XCore"], "File": "XCoreTargetMachine (2)1", "Func": "getSubtargetImpl", "Target": "XCore", "Target_Clf": "MPU", "Compiler_Type": "LLVM", "Idx": 2453, "Length": 17, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "static", "void", "avr_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", ";", "location_t", "loc", "=", "DECL_SOURCE_LOCATION", "(", "decl", ")", ";", "cfun", "->", "machine", "->", "is_naked", "=", "avr_naked_function_p", "(", "decl", ")", ";", "cfun", "->", "machine", "->", "is_signal", "=", "avr_signal_function_p", "(", "decl", ")", ";", "cfun", "->", "machine", "->", "is_interrupt", "=", "avr_interrupt_function_p", "(", "decl", ")", ";", "cfun", "->", "machine", "->", "is_OS_task", "=", "avr_OS_task_function_p", "(", "decl", ")", ";", "cfun", "->", "machine", "->", "is_OS_main", "=", "avr_OS_main_function_p", "(", "decl", ")", ";", "cfun", "->", "machine", "->", "is_no_gccisr", "=", "avr_no_gccisr_function_p", "(", "decl", ")", ";", "const", "char", "*", "isr", "=", "cfun", "->", "machine", "->", "is_interrupt", "?", "\"interrupt\"", ":", "\"signal\"", ";", "if", "(", "cfun", "->", "machine", "->", "is_OS_task", "&&", "(", "cfun", "->", "machine", "->", "is_signal", "||", "cfun", "->", "machine", "->", "is_interrupt", ")", ")", "error_at", "(", "loc", ",", "\"function attributes %qs and %qs are mutually exclusive\"", ",", "\"OS_task\"", ",", "isr", ")", ";", "if", "(", "cfun", "->", "machine", "->", "is_OS_main", "&&", "(", "cfun", "->", "machine", "->", "is_signal", "||", "cfun", "->", "machine", "->", "is_interrupt", ")", ")", "error_at", "(", "loc", ",", "\"function attributes %qs and %qs are mutually exclusive\"", ",", "\"OS_main\"", ",", "isr", ")", ";", "if", "(", "cfun", "->", "machine", "->", "is_interrupt", "||", "cfun", "->", "machine", "->", "is_signal", ")", "{", "tree", "args", "=", "TYPE_ARG_TYPES", "(", "TREE_TYPE", "(", "decl", ")", ")", ";", "tree", "ret", "=", "TREE_TYPE", "(", "TREE_TYPE", "(", "decl", ")", ")", ";", "const", "char", "*", "name", ";", "name", "=", "DECL_ASSEMBLER_NAME_SET_P", "(", "decl", ")", "?", "IDENTIFIER_POINTER", "(", "DECL_ASSEMBLER_NAME", "(", "decl", ")", ")", ":", "IDENTIFIER_POINTER", "(", "DECL_NAME", "(", "decl", ")", ")", ";", "name", "=", "default_strip_name_encoding", "(", "name", ")", ";", "if", "(", "args", "&&", "TREE_CODE", "(", "TREE_VALUE", "(", "args", ")", ")", "!=", "VOID_TYPE", ")", "error_at", "(", "loc", ",", "\"%qs function cannot have arguments\"", ",", "isr", ")", ";", "if", "(", "TREE_CODE", "(", "ret", ")", "!=", "VOID_TYPE", ")", "error_at", "(", "loc", ",", "\"%qs function cannot return a value\"", ",", "isr", ")", ";", "if", "(", "cfun", "->", "machine", "->", "is_interrupt", ")", "cfun", "->", "machine", "->", "is_signal", "=", "0", ";", "if", "(", "!", "startswith", "(", "name", ",", "\"__vector\"", ")", ")", "warning_at", "(", "loc", ",", "OPT_Wmisspelled_isr", ",", "\"%qs appears to be a misspelled \"", "\"%qs handler, missing %<__vector%> prefix\"", ",", "name", ",", "isr", ")", ";", "}", "const", "char", "*", "name", "=", "IDENTIFIER_POINTER", "(", "DECL_NAME", "(", "decl", ")", ")", ";", "name", "=", "default_strip_name_encoding", "(", "name", ")", ";", "if", "(", "strcmp", "(", "\"ISR\"", ",", "name", ")", "==", "0", "||", "strcmp", "(", "\"INTERRUPT\"", ",", "name", ")", "==", "0", "||", "strcmp", "(", "\"SIGNAL\"", ",", "name", ")", "==", "0", ")", "{", "warning_at", "(", "loc", ",", "OPT_Wmisspelled_isr", ",", "\"%qs is a reserved identifier\"", "\" in AVR-LibC. Consider %<#include %>\"", "\" before using the %qs macro\"", ",", "name", ",", "name", ")", ";", "}", "cfun", "->", "machine", "->", "attributes_checked_p", "=", "1", ";", "}", ""], "natrual_language": ["Sanity", "cheching", "for", "above", "function", "attributes", "."], "TS_V_token": ["avr", "\"interrupt\"", "\"signal\"", "\"function attributes %qs and %qs are mutually exclusive\"", "\"OS_task\"", "\"function attributes %qs and %qs are mutually exclusive\"", "\"OS_main\"", "\"%qs function cannot have arguments\"", "\"%qs function cannot return a value\"", "0", "\"__vector\"", "\"%qs appears to be a misspelled \"", "\"%qs handler, missing %<__vector%> prefix\"", "\"ISR\"", "0", "\"INTERRUPT\"", "0", "\"SIGNAL\"", "0", "\"%qs is a reserved identifier\"", "\" in AVR-LibC. Consider %<#include %>\"", "\" before using the %qs macro\"", "1"], "File": "avr", "Func": "avr_set_current_function", "Target": "avr", "Target_Clf": "MPU", "Compiler_Type": "GCC", "Idx": 2454, "Length": 419, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "unsigned", "M88kInstrInfo", "::", "isStoreToStackSlot", "(", "const", "MachineInstr", "&", "MI", ",", "int", "&", "FrameIndex", ")", "const", "{", "switch", "(", "MI", ".", "getOpcode", "(", ")", ")", "{", "case", "M88k", "::", "STrib", ":", "case", "M88k", "::", "STrih", ":", "case", "M88k", "::", "STriw", ":", "case", "M88k", "::", "STrid", ":", "case", "M88k", "::", "STrrsb", ":", "case", "M88k", "::", "STrrsbt", ":", "case", "M88k", "::", "STrrsbu", ":", "case", "M88k", "::", "STrrsbut", ":", "case", "M88k", "::", "STrrsd", ":", "case", "M88k", "::", "STrrsdt", ":", "case", "M88k", "::", "STrrsdu", ":", "case", "M88k", "::", "STrrsdut", ":", "case", "M88k", "::", "STrrsh", ":", "case", "M88k", "::", "STrrsht", ":", "case", "M88k", "::", "STrrshu", ":", "case", "M88k", "::", "STrrshut", ":", "case", "M88k", "::", "STrrsw", ":", "case", "M88k", "::", "STrrswt", ":", "case", "M88k", "::", "STrrswu", ":", "case", "M88k", "::", "STrrswut", ":", "case", "M88k", "::", "STrrub", ":", "case", "M88k", "::", "STrrubt", ":", "case", "M88k", "::", "STrrubu", ":", "case", "M88k", "::", "STrrubut", ":", "case", "M88k", "::", "STrrud", ":", "case", "M88k", "::", "STrrudt", ":", "case", "M88k", "::", "STrrudu", ":", "case", "M88k", "::", "STrrudut", ":", "case", "M88k", "::", "STrruh", ":", "case", "M88k", "::", "STrruht", ":", "case", "M88k", "::", "STrruhu", ":", "case", "M88k", "::", "STrruhut", ":", "case", "M88k", "::", "STrruw", ":", "case", "M88k", "::", "STrruwt", ":", "case", "M88k", "::", "STrruwu", ":", "case", "M88k", "::", "STrruwut", ":", "case", "M88k", "::", "STxid", ":", "case", "M88k", "::", "STxis", ":", "case", "M88k", "::", "STxix", ":", "case", "M88k", "::", "STxrd", ":", "case", "M88k", "::", "STxrdt", ":", "case", "M88k", "::", "STxrdu", ":", "case", "M88k", "::", "STxrdut", ":", "case", "M88k", "::", "STxrss", ":", "case", "M88k", "::", "STxrsst", ":", "case", "M88k", "::", "STxrssu", ":", "case", "M88k", "::", "STxrssut", ":", "case", "M88k", "::", "STxrsx", ":", "case", "M88k", "::", "STxrsxt", ":", "case", "M88k", "::", "STxrsxu", ":", "case", "M88k", "::", "STxrsxut", ":", "case", "M88k", "::", "STxrud", ":", "case", "M88k", "::", "STxrudt", ":", "case", "M88k", "::", "STxrudu", ":", "case", "M88k", "::", "STxrudut", ":", "case", "M88k", "::", "STxrus", ":", "case", "M88k", "::", "STxrust", ":", "case", "M88k", "::", "STxrusu", ":", "case", "M88k", "::", "STxrusut", ":", "case", "M88k", "::", "STxrux", ":", "case", "M88k", "::", "STxruxt", ":", "case", "M88k", "::", "STxruxu", ":", "case", "M88k", "::", "STxruxut", ":", "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": ["M88k", "M88k", "M88k::STrib", "M88k::STrih", "M88k::STriw", "M88k::STrid", "M88k::STrrsb", "M88k::STrrsbt", "M88k::STrrsbu", "M88k::STrrsbut", "M88k::STrrsd", "M88k::STrrsdt", "M88k::STrrsdu", "M88k::STrrsdut", "M88k::STrrsh", "M88k::STrrsht", "M88k::STrrshu", "M88k::STrrshut", "M88k::STrrsw", "M88k::STrrswt", "M88k::STrrswu", "M88k::STrrswut", "M88k::STrrub", "M88k::STrrubt", "M88k::STrrubu", "M88k::STrrubut", "M88k::STrrud", "M88k::STrrudt", "M88k::STrrudu", "M88k::STrrudut", "M88k::STrruh", "M88k::STrruht", "M88k::STrruhu", "M88k::STrruhut", "M88k::STrruw", "M88k::STrruwt", "M88k::STrruwu", "M88k::STrruwut", "M88k::STxid", "M88k::STxis", "M88k::STxix", "M88k::STxrd", "M88k::STxrdt", "M88k::STxrdu", "M88k::STxrdut", "M88k::STxrss", "M88k::STxrsst", "M88k::STxrssu", "M88k::STxrssut", "M88k::STxrsx", "M88k::STxrsxt", "M88k::STxrsxu", "M88k::STxrsxut", "M88k::STxrud", "M88k::STxrudt", "M88k::STxrudu", "M88k::STxrudut", "M88k::STxrus", "M88k::STxrust", "M88k::STxrusu", "M88k::STxrusut", "M88k::STxrux", "M88k::STxruxt", "M88k::STxruxu", "M88k::STxruxut", "1", "1", "0", "0"], "File": "M88kInstrInfo", "Func": "isStoreToStackSlot", "Target": "M88k", "Target_Clf": "MPU", "Compiler_Type": "LLVM", "Idx": 2455, "Length": 387, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "void", "HexagonSubtarget", "::", "adjustSchedDependency", "(", "SUnit", "*", "Src", ",", "SUnit", "*", "Dst", ",", "SDep", "&", "Dep", ")", "const", "{", "MachineInstr", "*", "SrcInst", "=", "Src", "->", "getInstr", "(", ")", ";", "MachineInstr", "*", "DstInst", "=", "Dst", "->", "getInstr", "(", ")", ";", "if", "(", "!", "Src", "->", "isInstr", "(", ")", "||", "!", "Dst", "->", "isInstr", "(", ")", ")", "return", ";", "const", "HexagonInstrInfo", "*", "QII", "=", "getInstrInfo", "(", ")", ";", "SmallSet", "<", "SUnit", "*", ",", "4", ">", "ExclSrc", ";", "SmallSet", "<", "SUnit", "*", ",", "4", ">", "ExclDst", ";", "if", "(", "QII", "->", "canExecuteInBundle", "(", "*", "SrcInst", ",", "*", "DstInst", ")", "&&", "isBestZeroLatency", "(", "Src", ",", "Dst", ",", "QII", ",", "ExclSrc", ",", "ExclDst", ")", ")", "{", "Dep", ".", "setLatency", "(", "0", ")", ";", "return", ";", "}", "if", "(", "!", "hasV60Ops", "(", ")", ")", "return", ";", "if", "(", "DstInst", "->", "isCopy", "(", ")", ")", "Dep", ".", "setLatency", "(", "0", ")", ";", "if", "(", "(", "DstInst", "->", "isRegSequence", "(", ")", "||", "DstInst", "->", "isCopy", "(", ")", ")", "&&", "Dst", "->", "NumSuccs", "==", "1", ")", "{", "unsigned", "DReg", "=", "DstInst", "->", "getOperand", "(", "0", ")", ".", "getReg", "(", ")", ";", "MachineInstr", "*", "DDst", "=", "Dst", "->", "Succs", "[", "0", "]", ".", "getSUnit", "(", ")", "->", "getInstr", "(", ")", ";", "unsigned", "UseIdx", "=", "-", "1", ";", "for", "(", "unsigned", "OpNum", "=", "0", ";", "OpNum", "<", "DDst", "->", "getNumOperands", "(", ")", ";", "OpNum", "++", ")", "{", "const", "MachineOperand", "&", "MO", "=", "DDst", "->", "getOperand", "(", "OpNum", ")", ";", "if", "(", "MO", ".", "isReg", "(", ")", "&&", "MO", ".", "getReg", "(", ")", "&&", "MO", ".", "isUse", "(", ")", "&&", "MO", ".", "getReg", "(", ")", "==", "DReg", ")", "{", "UseIdx", "=", "OpNum", ";", "break", ";", "}", "}", "int", "DLatency", "=", "(", "InstrInfo", ".", "getOperandLatency", "(", "&", "InstrItins", ",", "*", "SrcInst", ",", "0", ",", "*", "DDst", ",", "UseIdx", ")", ")", ";", "DLatency", "=", "std", "::", "max", "(", "DLatency", ",", "0", ")", ";", "Dep", ".", "setLatency", "(", "(", "unsigned", ")", "DLatency", ")", ";", "}", "ExclSrc", ".", "clear", "(", ")", ";", "ExclDst", ".", "clear", "(", ")", ";", "if", "(", "EnableDotCurSched", "&&", "QII", "->", "isToBeScheduledASAP", "(", "*", "SrcInst", ",", "*", "DstInst", ")", "&&", "isBestZeroLatency", "(", "Src", ",", "Dst", ",", "QII", ",", "ExclSrc", ",", "ExclDst", ")", ")", "{", "Dep", ".", "setLatency", "(", "0", ")", ";", "return", ";", "}", "updateLatency", "(", "*", "SrcInst", ",", "*", "DstInst", ",", "Dep", ")", ";", "}", ""], "natrual_language": ["Perform", "target", "specific", "adjustments", "to", "the", "latency", "of", "a", "schedule", "dependency", "."], "TS_V_token": ["Hexagon", "Hexagon", "Hexagon", "4", "4", "0", "0", "1", "0", "0", "1", "0", "0", "0", "0"], "File": "HexagonSubtarget21", "Func": "adjustSchedDependency", "Target": "Hexagon", "Target_Clf": "DSP", "Compiler_Type": "LLVM", "Idx": 2456, "Length": 383, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "std", "::", "string", "MCGNode", "::", "getLabel", "(", ")", "const", "{", "std", "::", "string", "tmps", ";", "raw_string_ostream", "tmp", "(", "tmps", ")", ";", "if", "(", "isUnknown", "(", ")", ")", "tmp", "<<", "\"\"", ";", "else", "tmp", "<<", "MF", "->", "getFunction", "(", ")", "->", "getName", "(", ")", ";", "return", "tmps", ";", "}", ""], "natrual_language": ["Returns", "the", "MDNode", "pointer", "for", "the", "label", "."], "TS_V_token": ["Patmos", "\"\""], "File": "PatmosCallGraphBuilder", "Func": "getLabel", "Target": "Patmos", "Target_Clf": "VLIW", "Compiler_Type": "LLVM", "Idx": 2457, "Length": 53, "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", "(", "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": "RISCVFrameLowering", "Func": "restoreCalleeSavedRegisters", "Target": "RISCV", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 2458, "Length": 271, "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": 2459, "Length": 159, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "static", "int", "visium_issue_rate", "(", "void", ")", "{", "switch", "(", "visium_cpu", ")", "{", "case", "PROCESSOR_GR5", ":", "return", "1", ";", "case", "PROCESSOR_GR6", ":", "return", "2", ";", "default", ":", "gcc_unreachable", "(", ")", ";", "}", "}", ""], "natrual_language": ["Return", "the", "number", "of", "instructions", "that", "can", "issue", "on", "the", "same", "cycle", "."], "TS_V_token": ["visium", "1", "2"], "File": "visium", "Func": "visium_issue_rate", "Target": "visium", "Target_Clf": "Virtual ISA", "Compiler_Type": "GCC", "Idx": 2460, "Length": 32, "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": ["ARM64"], "File": "ARM64ISelDAGToDAG", "Func": "WidenVector", "Target": "ARM64", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 2461, "Length": 13, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "static", "rtx", "c4x_struct_value_rtx", "(", "tree", "fntype", "ATTRIBUTE_UNUSED", ",", "int", "incoming", "ATTRIBUTE_UNUSED", ")", "{", "return", "gen_rtx_REG", "(", "Pmode", ",", "AR0_REGNO", ")", ";", "}", ""], "natrual_language": ["Worker", "function", "for", "TARGET_STRUCT_VALUE_RTX", "."], "TS_V_token": ["c4x"], "File": "c4x1", "Func": "c4x_struct_value_rtx", "Target": "c4x", "Target_Clf": "DSP", "Compiler_Type": "GCC", "Idx": 2462, "Length": 22, "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": 2463, "Length": 389, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "void", "dump", "(", ")", "{", "errs", "(", ")", "<<", "\"MSP430ISelAddressMode \"", "<<", "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": ["MSP430", "\"MSP430ISelAddressMode \"", "0", "\"Base.Reg \"", "\" Base.FrameIndex \"", "\" Disp \"", "\"GV \"", "\" CP \"", "\" Align\"", "\"ES \"", "1", "\" JT\"", "\" Align\""], "File": "MSP430ISelDAGToDAG12", "Func": "dump", "Target": "MSP430", "Target_Clf": "MPU", "Compiler_Type": "LLVM", "Idx": 2464, "Length": 173, "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": 2465, "Length": 135, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "static", "unsigned", "size", "(", "const", "SpillCostAnalysisGraph", "&", "G", ")", "{", "return", "G", ".", "getNodes", "(", ")", ".", "size", "(", ")", ";", "}", ""], "natrual_language": ["The", "number", "of", "name/type", "pairs", "is", "returned", "."], "TS_V_token": ["Patmos"], "File": "PatmosStackCacheAnalysis", "Func": "size", "Target": "Patmos", "Target_Clf": "VLIW", "Compiler_Type": "LLVM", "Idx": 2466, "Length": 22, "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": 2467, "Length": 116, "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": 2468, "Length": 30, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "unsigned", "ARMBasicBlockUtils", "::", "getOffsetOf", "(", "MachineInstr", "*", "MI", ")", "const", "{", "const", "MachineBasicBlock", "*", "MBB", "=", "MI", "->", "getParent", "(", ")", ";", "unsigned", "Offset", "=", "BBInfo", "[", "MBB", "->", "getNumber", "(", ")", "]", ".", "Offset", ";", "for", "(", "MachineBasicBlock", "::", "const_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": "ARMBasicBlockInfo", "Func": "getOffsetOf", "Target": "ARM", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 2469, "Length": 87, "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": 2470, "Length": 107, "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": 2471, "Length": 58, "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": 2472, "Length": 39, "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": 2473, "Length": 221, "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": 2474, "Length": 67, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "static", "void", "shrinkToUses", "(", "LiveInterval", "&", "LI", ",", "LiveIntervals", "&", "LIS", ")", "{", "if", "(", "LIS", ".", "shrinkToUses", "(", "&", "LI", ")", ")", "{", "SmallVector", "<", "LiveInterval", "*", ",", "4", ">", "SplitLIs", ";", "LIS", ".", "splitSeparateComponents", "(", "LI", ",", "SplitLIs", ")", ";", "}", "}", ""], "natrual_language": ["Specialized", "version", "of", "shrinkToUses", "(", "LiveInterval", "li", ",", "SmallVectorImpl", "<", "MachineInstr", ">", "*", "dead", ")", "that", "works", "on", "a", "subregister", "live", "range", "and", "only", "looks", "at", "uses", "matching", "the", "lane", "mask", "of", "the", "subregister", "range", "."], "TS_V_token": ["WebAssembly", "4"], "File": "WebAssemblyRegStackify13", "Func": "shrinkToUses", "Target": "WebAssembly", "Target_Clf": "Virtual ISA", "Compiler_Type": "LLVM", "Idx": 2475, "Length": 44, "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": 2476, "Length": 392, "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", "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": ["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": "PPCAsmBackend6", "Func": "getFixupKindInfo", "Target": "PowerPC", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 2477, "Length": 115, "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": 2478, "Length": 86, "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": 2479, "Length": 12, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "StackOffset", "M68kFrameLowering", "::", "getFrameIndexReference", "(", "const", "MachineFunction", "&", "MF", ",", "int", "FI", ",", "Register", "&", "FrameReg", ")", "const", "{", "const", "MachineFrameInfo", "&", "MFI", "=", "MF", ".", "getFrameInfo", "(", ")", ";", "if", "(", "TRI", "->", "hasBasePointer", "(", "MF", ")", ")", "FrameReg", "=", "TRI", "->", "getBaseRegister", "(", ")", ";", "else", "if", "(", "TRI", "->", "hasStackRealignment", "(", "MF", ")", ")", "FrameReg", "=", "TRI", "->", "getStackRegister", "(", ")", ";", "else", "FrameReg", "=", "TRI", "->", "getFrameRegister", "(", "MF", ")", ";", "int", "Offset", "=", "MFI", ".", "getObjectOffset", "(", "FI", ")", "-", "getOffsetOfLocalArea", "(", ")", ";", "const", "M68kMachineFunctionInfo", "*", "MMFI", "=", "MF", ".", "getInfo", "<", "M68kMachineFunctionInfo", ">", "(", ")", ";", "uint64_t", "StackSize", "=", "MFI", ".", "getStackSize", "(", ")", ";", "bool", "HasFP", "=", "hasFP", "(", "MF", ")", ";", "if", "(", "TRI", "->", "hasBasePointer", "(", "MF", ")", ")", "{", "assert", "(", "HasFP", "&&", "\"VLAs and dynamic stack realign, but no FP?!\"", ")", ";", "if", "(", "FI", "<", "0", ")", "{", "return", "StackOffset", "::", "getFixed", "(", "Offset", "+", "SlotSize", ")", ";", "}", "assert", "(", "(", "-", "(", "Offset", "+", "StackSize", ")", ")", "%", "MFI", ".", "getObjectAlign", "(", "FI", ")", ".", "value", "(", ")", "==", "0", ")", ";", "return", "StackOffset", "::", "getFixed", "(", "Offset", "+", "StackSize", ")", ";", "}", "if", "(", "TRI", "->", "hasStackRealignment", "(", "MF", ")", ")", "{", "if", "(", "FI", "<", "0", ")", "{", "return", "StackOffset", "::", "getFixed", "(", "Offset", "+", "SlotSize", ")", ";", "}", "assert", "(", "(", "-", "(", "Offset", "+", "StackSize", ")", ")", "%", "MFI", ".", "getObjectAlign", "(", "FI", ")", ".", "value", "(", ")", "==", "0", ")", ";", "return", "StackOffset", "::", "getFixed", "(", "Offset", "+", "StackSize", ")", ";", "}", "if", "(", "!", "HasFP", ")", "return", "StackOffset", "::", "getFixed", "(", "Offset", "+", "StackSize", ")", ";", "Offset", "+=", "SlotSize", ";", "int", "TailCallReturnAddrDelta", "=", "MMFI", "->", "getTCReturnAddrDelta", "(", ")", ";", "if", "(", "TailCallReturnAddrDelta", "<", "0", ")", "Offset", "-=", "TailCallReturnAddrDelta", ";", "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": ["M68k", "M68k", "M68k", "M68k", "\"VLAs and dynamic stack realign, but no FP?!\"", "0", "0", "0", "0", "0"], "File": "M68kFrameLowering", "Func": "getFrameIndexReference", "Target": "M68k", "Target_Clf": "MPU", "Compiler_Type": "LLVM", "Idx": 2480, "Length": 302, "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": 2481, "Length": 72, "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": 2482, "Length": 157, "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", ")", "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"], "File": "RISCVMCExpr11", "Func": "evaluateAsConstant", "Target": "RISCV", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 2483, "Length": 105, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "const", "ARMSubtarget", "*", "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": ["ARM", "ARM"], "File": "ARMTargetMachine16", "Func": "getSubtargetImpl", "Target": "ARM", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 2484, "Length": 13, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "static", "unsigned", "int", "h8300_mova_length", "(", "rtx", "dest", ",", "rtx", "src", ",", "rtx", "offset", ")", "{", "unsigned", "int", "size", ";", "size", "=", "(", "2", "+", "h8300_constant_length", "(", "offset", ")", "+", "h8300_classify_operand", "(", "src", ",", "GET_MODE_SIZE", "(", "GET_MODE", "(", "src", ")", ")", ",", "0", ")", ")", ";", "if", "(", "!", "REG_P", "(", "dest", ")", "||", "!", "REG_P", "(", "src", ")", "||", "REGNO", "(", "src", ")", "!=", "REGNO", "(", "dest", ")", ")", "size", "+=", "2", ";", "return", "size", ";", "}", ""], "natrual_language": ["Return", "the", "length", "of", "a", "mova", "instruction", "with", "the", "given", "operands", ".", "DEST", "is", "the", "register", "destination", ",", "SRC", "is", "the", "source", "address", "and", "OFFSET", "is", "the", "16-bit", "or", "32-bit", "displacement", "."], "TS_V_token": ["h8300", "2", "0", "2"], "File": "h8300", "Func": "h8300_mova_length", "Target": "h8300", "Target_Clf": "MPU", "Compiler_Type": "GCC", "Idx": 2485, "Length": 77, "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": 2486, "Length": 194, "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": 2487, "Length": 98, "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": 2488, "Length": 30, "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": 2489, "Length": 292, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "SDNode", "*", "SITargetLowering", "::", "PostISelFolding", "(", "MachineSDNode", "*", "Node", ",", "SelectionDAG", "&", "DAG", ")", "const", "{", "const", "SIInstrInfo", "*", "TII", "=", "static_cast", "<", "const", "SIInstrInfo", "*", ">", "(", "getTargetMachine", "(", ")", ".", "getSubtargetImpl", "(", ")", "->", "getInstrInfo", "(", ")", ")", ";", "Node", "=", "AdjustRegClass", "(", "Node", ",", "DAG", ")", ";", "if", "(", "TII", "->", "isMIMG", "(", "Node", "->", "getMachineOpcode", "(", ")", ")", ")", "adjustWritemask", "(", "Node", ",", "DAG", ")", ";", "if", "(", "Node", "->", "getMachineOpcode", "(", ")", "==", "AMDGPU", "::", "INSERT_SUBREG", ")", "{", "legalizeTargetIndependentNode", "(", "Node", ",", "DAG", ")", ";", "return", "Node", ";", "}", "return", "legalizeOperands", "(", "Node", ",", "DAG", ")", ";", "}", ""], "natrual_language": ["Fold", "the", "instructions", "after", "selecting", "them", "."], "TS_V_token": ["R600", "SI", "SI", "SI"], "File": "SIISelLowering148", "Func": "PostISelFolding", "Target": "R600", "Target_Clf": "GPU", "Compiler_Type": "LLVM", "Idx": 2490, "Length": 103, "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": 2491, "Length": 187, "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": 2492, "Length": 227, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "bool", "AAPInstrInfo", "::", "reverseBranchCondition", "(", "SmallVectorImpl", "<", "MachineOperand", ">", "&", "Cond", ")", "const", "{", "assert", "(", "Cond", ".", "size", "(", ")", "==", "3", "&&", "\"Invalid branch\"", ")", ";", "AAPCC", "::", "CondCode", "RCC", "=", "reverseCondCode", "(", "(", "AAPCC", "::", "CondCode", ")", "Cond", "[", "0", "]", ".", "getImm", "(", ")", ")", ";", "if", "(", "RCC", "==", "AAPCC", "::", "COND_INVALID", ")", "return", "true", ";", "Cond", "[", "0", "]", ".", "setImm", "(", "RCC", ")", ";", "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": ["AAP", "AAP", "3", "\"Invalid branch\"", "AAPCC::CondCode", "AAPCC::CondCode", "0", "AAPCC::COND_INVALID", "0"], "File": "AAPInstrInfo", "Func": "reverseBranchCondition", "Target": "AAP", "Target_Clf": "MPU", "Compiler_Type": "LLVM", "Idx": 2493, "Length": 74, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "bool", "SILowerControlFlow", "::", "runOnMachineFunction", "(", "MachineFunction", "&", "MF", ")", "{", "const", "GCNSubtarget", "&", "ST", "=", "MF", ".", "getSubtarget", "<", "GCNSubtarget", ">", "(", ")", ";", "TII", "=", "ST", ".", "getInstrInfo", "(", ")", ";", "TRI", "=", "&", "TII", "->", "getRegisterInfo", "(", ")", ";", "LIS", "=", "getAnalysisIfAvailable", "<", "LiveIntervals", ">", "(", ")", ";", "MRI", "=", "&", "MF", ".", "getRegInfo", "(", ")", ";", "BoolRC", "=", "TRI", "->", "getBoolRC", "(", ")", ";", "if", "(", "ST", ".", "isWave32", "(", ")", ")", "{", "AndOpc", "=", "AMDGPU", "::", "S_AND_B32", ";", "OrOpc", "=", "AMDGPU", "::", "S_OR_B32", ";", "XorOpc", "=", "AMDGPU", "::", "S_XOR_B32", ";", "MovTermOpc", "=", "AMDGPU", "::", "S_MOV_B32_term", ";", "Andn2TermOpc", "=", "AMDGPU", "::", "S_ANDN2_B32_term", ";", "XorTermrOpc", "=", "AMDGPU", "::", "S_XOR_B32_term", ";", "OrSaveExecOpc", "=", "AMDGPU", "::", "S_OR_SAVEEXEC_B32", ";", "Exec", "=", "AMDGPU", "::", "EXEC_LO", ";", "}", "else", "{", "AndOpc", "=", "AMDGPU", "::", "S_AND_B64", ";", "OrOpc", "=", "AMDGPU", "::", "S_OR_B64", ";", "XorOpc", "=", "AMDGPU", "::", "S_XOR_B64", ";", "MovTermOpc", "=", "AMDGPU", "::", "S_MOV_B64_term", ";", "Andn2TermOpc", "=", "AMDGPU", "::", "S_ANDN2_B64_term", ";", "XorTermrOpc", "=", "AMDGPU", "::", "S_XOR_B64_term", ";", "OrSaveExecOpc", "=", "AMDGPU", "::", "S_OR_SAVEEXEC_B64", ";", "Exec", "=", "AMDGPU", "::", "EXEC", ";", "}", "MachineFunction", "::", "iterator", "NextBB", ";", "for", "(", "MachineFunction", "::", "iterator", "BI", "=", "MF", ".", "begin", "(", ")", ",", "BE", "=", "MF", ".", "end", "(", ")", ";", "BI", "!=", "BE", ";", "BI", "=", "NextBB", ")", "{", "NextBB", "=", "std", "::", "next", "(", "BI", ")", ";", "MachineBasicBlock", "&", "MBB", "=", "*", "BI", ";", "MachineBasicBlock", "::", "iterator", "I", ",", "Next", ",", "Last", ";", "for", "(", "I", "=", "MBB", ".", "begin", "(", ")", ",", "Last", "=", "MBB", ".", "end", "(", ")", ";", "I", "!=", "MBB", ".", "end", "(", ")", ";", "I", "=", "Next", ")", "{", "Next", "=", "std", "::", "next", "(", "I", ")", ";", "MachineInstr", "&", "MI", "=", "*", "I", ";", "switch", "(", "MI", ".", "getOpcode", "(", ")", ")", "{", "case", "AMDGPU", "::", "SI_IF", ":", "emitIf", "(", "MI", ")", ";", "break", ";", "case", "AMDGPU", "::", "SI_ELSE", ":", "emitElse", "(", "MI", ")", ";", "break", ";", "case", "AMDGPU", "::", "SI_IF_BREAK", ":", "emitIfBreak", "(", "MI", ")", ";", "break", ";", "case", "AMDGPU", "::", "SI_LOOP", ":", "emitLoop", "(", "MI", ")", ";", "break", ";", "case", "AMDGPU", "::", "SI_END_CF", ":", "emitEndCf", "(", "MI", ")", ";", "break", ";", "case", "AMDGPU", "::", "S_AND_B64", ":", "case", "AMDGPU", "::", "S_OR_B64", ":", "case", "AMDGPU", "::", "S_AND_B32", ":", "case", "AMDGPU", "::", "S_OR_B32", ":", "combineMasks", "(", "MI", ")", ";", "Last", "=", "I", ";", "continue", ";", "default", ":", "Last", "=", "I", ";", "continue", ";", "}", "Next", "=", "(", "Last", "==", "MBB", ".", "end", "(", ")", ")", "?", "MBB", ".", "begin", "(", ")", ":", "Last", ";", "}", "}", "optimizeEndCf", "(", ")", ";", "LoweredEndCf", ".", "clear", "(", ")", ";", "LoweredIf", ".", "clear", "(", ")", ";", "return", "true", ";", "}", ""], "natrual_language": ["runOnMachineFunction", "-", "Emit", "the", "function", "body", "."], "TS_V_token": ["AMDGPU", "SI", "AMDGPU::S_AND_B32", "AMDGPU::S_OR_B32", "AMDGPU::S_XOR_B32", "AMDGPU::S_MOV_B32_term", "AMDGPU::S_ANDN2_B32_term", "AMDGPU::S_XOR_B32_term", "AMDGPU::S_OR_SAVEEXEC_B32", "AMDGPU::EXEC_LO", "AMDGPU::S_AND_B64", "AMDGPU::S_OR_B64", "AMDGPU::S_XOR_B64", "AMDGPU::S_MOV_B64_term", "AMDGPU::S_ANDN2_B64_term", "AMDGPU::S_XOR_B64_term", "AMDGPU::S_OR_SAVEEXEC_B64", "AMDGPU::EXEC", "AMDGPU::SI_IF", "AMDGPU::SI_ELSE", "AMDGPU::SI_IF_BREAK", "AMDGPU::SI_LOOP", "AMDGPU::SI_END_CF", "AMDGPU::S_AND_B64", "AMDGPU::S_OR_B64", "AMDGPU::S_AND_B32", "AMDGPU::S_OR_B32"], "File": "SILowerControlFlow66", "Func": "runOnMachineFunction", "Target": "AMDGPU", "Target_Clf": "GPU", "Compiler_Type": "LLVM", "Idx": 2494, "Length": 434, "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": 2495, "Length": 145, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "unsigned", "PatmosInstrInfo", "::", "isLoadFromStackSlot", "(", "const", "MachineInstr", "*", "MI", ",", "int", "&", "FrameIndex", ")", "const", "{", "if", "(", "MI", "->", "getOpcode", "(", ")", "==", "Patmos", "::", "LWC", "||", "MI", "->", "getOpcode", "(", ")", "==", "Patmos", "::", "LHC", "||", "MI", "->", "getOpcode", "(", ")", "==", "Patmos", "::", "LHUC", "||", "MI", "->", "getOpcode", "(", ")", "==", "Patmos", "::", "LBC", "||", "MI", "->", "getOpcode", "(", ")", "==", "Patmos", "::", "LBUC", ")", "{", "if", "(", "MI", "->", "getOperand", "(", "3", ")", ".", "isFI", "(", ")", "&&", "MI", "->", "getOperand", "(", "4", ")", ".", "isImm", "(", ")", "&&", "MI", "->", "getOperand", "(", "4", ")", ".", "getImm", "(", ")", "==", "0", ")", "{", "FrameIndex", "=", "MI", "->", "getOperand", "(", "3", ")", ".", "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": ["Patmos", "Patmos", "Patmos::LWC", "Patmos::LHC", "Patmos::LHUC", "Patmos::LBC", "Patmos::LBUC", "3", "4", "4", "0", "3", "0", "0"], "File": "PatmosInstrInfo", "Func": "isLoadFromStackSlot", "Target": "Patmos", "Target_Clf": "VLIW", "Compiler_Type": "LLVM", "Idx": 2496, "Length": 138, "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": 2497, "Length": 276, "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": 2498, "Length": 111, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "static", "int", "round_frame_size", "(", "int", "size", ")", "{", "return", "(", "(", "size", "+", "STACK_BOUNDARY", "/", "BITS_PER_UNIT", "-", "1", ")", "&", "-", "STACK_BOUNDARY", "/", "BITS_PER_UNIT", ")", ";", "}", ""], "natrual_language": ["Round", "up", "frame", "size", "SIZE", "."], "TS_V_token": ["tilepro", "1"], "File": "tilepro", "Func": "round_frame_size", "Target": "tilepro", "Target_Clf": "VLIW", "Compiler_Type": "GCC", "Idx": 2499, "Length": 27, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "SDValue", "AVRTargetLowering", "::", "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", "(", ")", ")", ";", "MachineFunction", "&", "MF", "=", "DAG", ".", "getMachineFunction", "(", ")", ";", "if", "(", "CallConv", "==", "CallingConv", "::", "AVR_BUILTIN", ")", "{", "CCInfo", ".", "AnalyzeReturn", "(", "Outs", ",", "RetCC_AVR_BUILTIN", ")", ";", "}", "else", "{", "analyzeReturnValues", "(", "Outs", ",", "CCInfo", ")", ";", "}", "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", "(", ")", ")", ")", ";", "}", "if", "(", "MF", ".", "getFunction", "(", ")", ".", "getAttributes", "(", ")", ".", "hasFnAttr", "(", "Attribute", "::", "Naked", ")", ")", "{", "return", "Chain", ";", "}", "const", "AVRMachineFunctionInfo", "*", "AFI", "=", "MF", ".", "getInfo", "<", "AVRMachineFunctionInfo", ">", "(", ")", ";", "unsigned", "RetOpc", "=", "AFI", "->", "isInterruptOrSignalHandler", "(", ")", "?", "AVRISD", "::", "RETI_FLAG", ":", "AVRISD", "::", "RET_FLAG", ";", "RetOps", "[", "0", "]", "=", "Chain", ";", "if", "(", "Flag", ".", "getNode", "(", ")", ")", "{", "RetOps", ".", "push_back", "(", "Flag", ")", ";", "}", "return", "DAG", ".", "getNode", "(", "RetOpc", ",", "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": ["AVR", "AVR", "ISD::OutputArg", "16", "AVR", "AVR", "4", "1", "0", "\"Can only return in registers!\"", "1", "AVR", "AVR", "AVRISD::RETI_FLAG", "AVRISD::RET_FLAG", "0", "MVT::Other"], "File": "AVRISelLowering11", "Func": "LowerReturn", "Target": "AVR", "Target_Clf": "MPU", "Compiler_Type": "LLVM", "Idx": 2500, "Length": 326, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "bool", "SIPeepholeSDWA", "::", "runOnMachineFunction", "(", "MachineFunction", "&", "MF", ")", "{", "const", "SISubtarget", "&", "ST", "=", "MF", ".", "getSubtarget", "<", "SISubtarget", ">", "(", ")", ";", "if", "(", "!", "ST", ".", "hasSDWA", "(", ")", "||", "!", "AMDGPU", "::", "isVI", "(", "ST", ")", ")", "{", "return", "false", ";", "}", "MRI", "=", "&", "MF", ".", "getRegInfo", "(", ")", ";", "TRI", "=", "ST", ".", "getRegisterInfo", "(", ")", ";", "TII", "=", "ST", ".", "getInstrInfo", "(", ")", ";", "std", "::", "unordered_map", "<", "MachineInstr", "*", ",", "SDWAOperandsVector", ">", "PotentialMatches", ";", "matchSDWAOperands", "(", "MF", ")", ";", "for", "(", "auto", "&", "OperandPair", ":", "SDWAOperands", ")", "{", "auto", "&", "Operand", "=", "OperandPair", ".", "second", ";", "MachineInstr", "*", "PotentialMI", "=", "Operand", "->", "potentialToConvert", "(", "TII", ")", ";", "if", "(", "PotentialMI", ")", "{", "PotentialMatches", "[", "PotentialMI", "]", ".", "push_back", "(", "std", "::", "move", "(", "Operand", ")", ")", ";", "}", "}", "for", "(", "auto", "&", "PotentialPair", ":", "PotentialMatches", ")", "{", "MachineInstr", "&", "PotentialMI", "=", "*", "PotentialPair", ".", "first", ";", "convertToSDWA", "(", "PotentialMI", ",", "PotentialPair", ".", "second", ")", ";", "}", "SDWAOperands", ".", "clear", "(", ")", ";", "return", "false", ";", "}", ""], "natrual_language": ["runOnMachineFunction", "-", "Emit", "the", "function", "body", "."], "TS_V_token": ["AMDGPU", "SI", "SI", "SI", "AMDGPU::isVI"], "File": "SIPeepholeSDWA21", "Func": "runOnMachineFunction", "Target": "AMDGPU", "Target_Clf": "GPU", "Compiler_Type": "LLVM", "Idx": 2501, "Length": 175, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "void", "SIFrameLowering", "::", "processFunctionBeforeFrameFinalized", "(", "MachineFunction", "&", "MF", ",", "RegScavenger", "*", "RS", ")", "const", "{", "MachineFrameInfo", "&", "MFI", "=", "MF", ".", "getFrameInfo", "(", ")", ";", "if", "(", "!", "MFI", ".", "hasStackObjects", "(", ")", ")", "return", ";", "const", "SISubtarget", "&", "ST", "=", "MF", ".", "getSubtarget", "<", "SISubtarget", ">", "(", ")", ";", "const", "SIInstrInfo", "*", "TII", "=", "ST", ".", "getInstrInfo", "(", ")", ";", "const", "SIRegisterInfo", "&", "TRI", "=", "TII", "->", "getRegisterInfo", "(", ")", ";", "SIMachineFunctionInfo", "*", "FuncInfo", "=", "MF", ".", "getInfo", "<", "SIMachineFunctionInfo", ">", "(", ")", ";", "bool", "AllSGPRSpilledToVGPRs", "=", "false", ";", "if", "(", "TRI", ".", "spillSGPRToVGPR", "(", ")", "&&", "FuncInfo", "->", "hasSpilledSGPRs", "(", ")", ")", "{", "AllSGPRSpilledToVGPRs", "=", "true", ";", "for", "(", "MachineBasicBlock", "&", "MBB", ":", "MF", ")", "{", "MachineBasicBlock", "::", "iterator", "Next", ";", "for", "(", "auto", "I", "=", "MBB", ".", "begin", "(", ")", ",", "E", "=", "MBB", ".", "end", "(", ")", ";", "I", "!=", "E", ";", "I", "=", "Next", ")", "{", "MachineInstr", "&", "MI", "=", "*", "I", ";", "Next", "=", "std", "::", "next", "(", "I", ")", ";", "if", "(", "TII", "->", "isSGPRSpill", "(", "MI", ")", ")", "{", "int", "FI", "=", "TII", "->", "getNamedOperand", "(", "MI", ",", "AMDGPU", "::", "OpName", "::", "addr", ")", "->", "getIndex", "(", ")", ";", "if", "(", "FuncInfo", "->", "allocateSGPRSpillToVGPR", "(", "MF", ",", "FI", ")", ")", "{", "bool", "Spilled", "=", "TRI", ".", "eliminateSGPRToVGPRSpillFrameIndex", "(", "MI", ",", "FI", ",", "RS", ")", ";", "(", "void", ")", "Spilled", ";", "assert", "(", "Spilled", "&&", "\"failed to spill SGPR to VGPR when allocated\"", ")", ";", "}", "else", "AllSGPRSpilledToVGPRs", "=", "false", ";", "}", "}", "}", "FuncInfo", "->", "removeSGPRToVGPRFrameIndices", "(", "MFI", ")", ";", "}", "if", "(", "FuncInfo", "->", "hasNonSpillStackObjects", "(", ")", "||", "FuncInfo", "->", "hasSpilledVGPRs", "(", ")", "||", "!", "AllSGPRSpilledToVGPRs", "||", "!", "allStackObjectsAreDead", "(", "MFI", ")", ")", "{", "assert", "(", "RS", "&&", "\"RegScavenger required if spilling\"", ")", ";", "int", "ScavengeFI", "=", "MFI", ".", "CreateFixedObject", "(", "AMDGPU", "::", "SGPR_32RegClass", ".", "getSize", "(", ")", ",", "0", ",", "false", ")", ";", "RS", "->", "addScavengingFrameIndex", "(", "ScavengeFI", ")", ";", "}", "}", ""], "natrual_language": ["processFunctionBeforeFrameFinalized", "-", "This", "method", "is", "called", "immediately", "before", "the", "specified", "function", "'s", "frame", "layout", "(", "MF.getFrameInfo", "(", ")", ")", "is", "finalized", "."], "TS_V_token": ["AMDGPU", "SI", "SI", "SI", "SI", "SI", "SI", "SI", "AMDGPU::OpName", "\"failed to spill SGPR to VGPR when allocated\"", "\"RegScavenger required if spilling\"", "AMDGPU::SGPR_32RegClass", "0"], "File": "SIFrameLowering29", "Func": "processFunctionBeforeFrameFinalized", "Target": "AMDGPU", "Target_Clf": "GPU", "Compiler_Type": "LLVM", "Idx": 2502, "Length": 312, "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": 2503, "Length": 21, "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": ["BPF"], "File": "BPFISelLowering (2)", "Func": "shouldConvertConstantLoadToIntImm", "Target": "BPF", "Target_Clf": "Virtual ISA", "Compiler_Type": "LLVM", "Idx": 2504, "Length": 19, "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": 2505, "Length": 20, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "bool", "PTXTargetMachine", "::", "addInstSelector", "(", "PassManagerBase", "&", "PM", ")", "{", "PM", ".", "add", "(", "createPTXISelDag", "(", "*", "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": ["PTX", "PTX", "PTX"], "File": "PTXTargetMachine", "Func": "addInstSelector", "Target": "PTX", "Target_Clf": "GPU", "Compiler_Type": "LLVM", "Idx": 2506, "Length": 29, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "inline", "hashval_t", "libcall_hasher", "::", "hash", "(", "const", "rtx_def", "*", "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": "arm", "Func": "hash", "Target": "arm", "Target_Clf": "CPU", "Compiler_Type": "GCC", "Idx": 2507, "Length": 27, "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": 2508, "Length": 195, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "static", "void", "tilepro_expand_constant_multiply_given_sequence", "(", "rtx", "result", ",", "rtx", "src", ",", "const", "struct", "tilepro_multiply_insn_seq", "*", "seq", ")", "{", "int", "i", ";", "int", "num_ops", ";", "int", "num_subexprs", "=", "2", ";", "rtx", "subexprs", "[", "tilepro_multiply_insn_seq_MAX_OPERATIONS", "+", "2", "]", ";", "subexprs", "[", "0", "]", "=", "const0_rtx", ";", "subexprs", "[", "1", "]", "=", "src", ";", "num_ops", "=", "tilepro_multiply_get_num_ops", "(", "seq", ")", ";", "gcc_assert", "(", "num_ops", ">", "0", "&&", "num_ops", "<=", "tilepro_multiply_insn_seq_MAX_OPERATIONS", ")", ";", "for", "(", "i", "=", "0", ";", "i", "<", "num_ops", ";", "i", "++", ")", "{", "const", "struct", "tilepro_multiply_insn_seq_entry", "*", "entry", "=", "&", "seq", "->", "op", "[", "i", "]", ";", "const", "bool", "is_last_op", "=", "(", "i", "+", "1", "==", "num_ops", ")", ";", "rtx", "out", "=", "is_last_op", "?", "result", ":", "gen_reg_rtx", "(", "SImode", ")", ";", "enum", "insn_code", "opcode", "=", "tilepro_multiply_get_opcode", "(", "entry", ")", ";", "if", "(", "opcode", "==", "CODE_FOR_ashlsi3", ")", "{", "const", "int", "shift_count", "=", "entry", "->", "rhs", ";", "gcc_assert", "(", "shift_count", ">", "0", "&&", "shift_count", "<", "32", ")", ";", "emit_insn", "(", "GEN_FCN", "(", "opcode", ")", "(", "out", ",", "subexprs", "[", "entry", "->", "lhs", "]", ",", "gen_rtx_CONST_INT", "(", "SImode", ",", "shift_count", ")", ")", ")", ";", "}", "else", "{", "gcc_assert", "(", "entry", "->", "rhs", "<", "num_subexprs", ")", ";", "emit_insn", "(", "GEN_FCN", "(", "opcode", ")", "(", "out", ",", "subexprs", "[", "entry", "->", "lhs", "]", ",", "subexprs", "[", "entry", "->", "rhs", "]", ")", ")", ";", "}", "subexprs", "[", "num_subexprs", "++", "]", "=", "out", ";", "}", "}", ""], "natrual_language": ["We", "precompute", "a", "number", "of", "expression", "trees", "for", "multiplying", "by", "constants", ".", "This", "generates", "code", "for", "such", "an", "expression", "tree", "by", "walking", "through", "the", "nodes", "in", "the", "tree", "(", "which", "are", "conveniently", "pre-linearized", ")", "and", "emitting", "an", "instruction", "for", "each", "one", "."], "TS_V_token": ["tilepro", "2", "2", "0", "1", "0", "0", "1", "0", "32"], "File": "tilepro", "Func": "tilepro_expand_constant_multiply_given_sequence", "Target": "tilepro", "Target_Clf": "VLIW", "Compiler_Type": "GCC", "Idx": 2509, "Length": 228, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "static", "void", "csky_add_gc_roots", "(", "void", ")", "{", "gcc_obstack_init", "(", "&", "minipool_obstack", ")", ";", "minipool_startobj", "=", "(", "char", "*", ")", "obstack_alloc", "(", "&", "minipool_obstack", ",", "0", ")", ";", "}", ""], "natrual_language": ["Allow", "GC", "scanning", "of", "the", "minipool", "obstack", "."], "TS_V_token": ["csky", "0"], "File": "csky", "Func": "csky_add_gc_roots", "Target": "csky", "Target_Clf": "CPU", "Compiler_Type": "GCC", "Idx": 2510, "Length": 28, "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": 2511, "Length": 16, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "static", "bool", "nonindexed_address_p", "(", "rtx", "x", ",", "bool", "strict", ")", "{", "rtx", "xfoo0", ";", "if", "(", "REG_P", "(", "x", ")", ")", "{", "if", "(", "!", "reload_in_progress", "||", "reg_equiv_mem", "(", "REGNO", "(", "x", ")", ")", "==", "0", "||", "indirectable_address_p", "(", "reg_equiv_mem", "(", "REGNO", "(", "x", ")", ")", ",", "strict", ",", "false", ")", ")", "return", "true", ";", "}", "if", "(", "indirectable_constant_address_p", "(", "x", ",", "false", ")", ")", "return", "true", ";", "if", "(", "indirectable_address_p", "(", "x", ",", "strict", ",", "false", ")", ")", "return", "true", ";", "xfoo0", "=", "XEXP", "(", "x", ",", "0", ")", ";", "if", "(", "MEM_P", "(", "x", ")", "&&", "indirectable_address_p", "(", "xfoo0", ",", "strict", ",", "true", ")", ")", "return", "true", ";", "if", "(", "(", "GET_CODE", "(", "x", ")", "==", "PRE_DEC", "||", "GET_CODE", "(", "x", ")", "==", "POST_INC", ")", "&&", "BASE_REGISTER_P", "(", "xfoo0", ",", "strict", ")", ")", "return", "true", ";", "return", "false", ";", "}", ""], "natrual_language": ["Return", "1", "if", "x", "is", "a", "valid", "address", "not", "using", "indexing", ".", "(", "This", "much", "is", "the", "easy", "part", ".", ")"], "TS_V_token": ["vax", "0", "0"], "File": "vax", "Func": "nonindexed_address_p", "Target": "vax", "Target_Clf": "CPU", "Compiler_Type": "GCC", "Idx": 2512, "Length": 142, "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": 2513, "Length": 126, "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": 2514, "Length": 94, "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": 2515, "Length": 33, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "bool", "R600InstrInfo", "::", "expandPostRAPseudo", "(", "MachineBasicBlock", "::", "iterator", "MI", ")", "const", "{", "switch", "(", "MI", "->", "getOpcode", "(", ")", ")", "{", "default", ":", "return", "AMDGPUInstrInfo", "::", "expandPostRAPseudo", "(", "MI", ")", ";", "case", "AMDGPU", "::", "R600_EXTRACT_ELT_V2", ":", "case", "AMDGPU", "::", "R600_EXTRACT_ELT_V4", ":", "buildIndirectRead", "(", "MI", "->", "getParent", "(", ")", ",", "MI", ",", "MI", "->", "getOperand", "(", "0", ")", ".", "getReg", "(", ")", ",", "RI", ".", "getHWRegIndex", "(", "MI", "->", "getOperand", "(", "1", ")", ".", "getReg", "(", ")", ")", ",", "MI", "->", "getOperand", "(", "2", ")", ".", "getReg", "(", ")", ",", "RI", ".", "getHWRegChan", "(", "MI", "->", "getOperand", "(", "1", ")", ".", "getReg", "(", ")", ")", ")", ";", "break", ";", "case", "AMDGPU", "::", "R600_INSERT_ELT_V2", ":", "case", "AMDGPU", "::", "R600_INSERT_ELT_V4", ":", "buildIndirectWrite", "(", "MI", "->", "getParent", "(", ")", ",", "MI", ",", "MI", "->", "getOperand", "(", "2", ")", ".", "getReg", "(", ")", ",", "RI", ".", "getHWRegIndex", "(", "MI", "->", "getOperand", "(", "1", ")", ".", "getReg", "(", ")", ")", ",", "MI", "->", "getOperand", "(", "3", ")", ".", "getReg", "(", ")", ",", "RI", ".", "getHWRegChan", "(", "MI", "->", "getOperand", "(", "1", ")", ".", "getReg", "(", ")", ")", ")", ";", "break", ";", "}", "MI", "->", "eraseFromParent", "(", ")", ";", "return", "true", ";", "}", ""], "natrual_language": ["This", "function", "is", "called", "for", "all", "pseudo", "instructions", "that", "remain", "after", "register", "allocation", "."], "TS_V_token": ["R600", "0", "1", "2", "1", "2", "1", "3", "1"], "File": "R600InstrInfo11", "Func": "expandPostRAPseudo", "Target": "R600", "Target_Clf": "GPU", "Compiler_Type": "LLVM", "Idx": 2516, "Length": 196, "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", ";", "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": "ARMISelLowering (2)", "Func": "getPreIndexedAddressParts", "Target": "ARM", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 2517, "Length": 219, "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": 2518, "Length": 15, "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": 2519, "Length": 254, "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": 2520, "Length": 205, "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": 2521, "Length": 125, "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": "X86RegisterInfo33", "Func": "eliminateFrameIndex", "Target": "X86", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 2522, "Length": 254, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "unsigned", "SITargetLowering", "::", "getVectorTypeBreakdownForCallingConv", "(", "LLVMContext", "&", "Context", ",", "CallingConv", "::", "ID", "CC", ",", "EVT", "VT", ",", "EVT", "&", "IntermediateVT", ",", "unsigned", "&", "NumIntermediates", ",", "MVT", "&", "RegisterVT", ")", "const", "{", "if", "(", "CC", "!=", "CallingConv", "::", "AMDGPU_KERNEL", "&&", "VT", ".", "isVector", "(", ")", ")", "{", "unsigned", "NumElts", "=", "VT", ".", "getVectorNumElements", "(", ")", ";", "EVT", "ScalarVT", "=", "VT", ".", "getScalarType", "(", ")", ";", "unsigned", "Size", "=", "ScalarVT", ".", "getSizeInBits", "(", ")", ";", "if", "(", "Size", "==", "32", ")", "{", "RegisterVT", "=", "ScalarVT", ".", "getSimpleVT", "(", ")", ";", "IntermediateVT", "=", "RegisterVT", ";", "NumIntermediates", "=", "NumElts", ";", "return", "NumIntermediates", ";", "}", "if", "(", "Size", ">", "32", ")", "{", "RegisterVT", "=", "MVT", "::", "i32", ";", "IntermediateVT", "=", "RegisterVT", ";", "NumIntermediates", "=", "NumElts", "*", "(", "(", "Size", "+", "31", ")", "/", "32", ")", ";", "return", "NumIntermediates", ";", "}", "if", "(", "Size", "==", "16", "&&", "Subtarget", "->", "has16BitInsts", "(", ")", ")", "{", "RegisterVT", "=", "VT", ".", "isInteger", "(", ")", "?", "MVT", "::", "v2i16", ":", "MVT", "::", "v2f16", ";", "IntermediateVT", "=", "RegisterVT", ";", "NumIntermediates", "=", "(", "NumElts", "+", "1", ")", "/", "2", ";", "return", "NumIntermediates", ";", "}", "}", "return", "TargetLowering", "::", "getVectorTypeBreakdownForCallingConv", "(", "Context", ",", "CC", ",", "VT", ",", "IntermediateVT", ",", "NumIntermediates", ",", "RegisterVT", ")", ";", "}", ""], "natrual_language": ["Certain", "targets", "such", "as", "MIPS", "require", "that", "some", "types", "such", "as", "vectors", "are", "always", "broken", "down", "into", "scalars", "in", "some", "contexts", "."], "TS_V_token": ["AMDGPU", "SI", "AMDGPU", "32", "32", "MVT::i32", "31", "32", "16", "MVT::v2i16", "MVT::v2f16", "1", "2"], "File": "SIISelLowering106", "Func": "getVectorTypeBreakdownForCallingConv", "Target": "AMDGPU", "Target_Clf": "GPU", "Compiler_Type": "LLVM", "Idx": 2523, "Length": 202, "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": 2524, "Length": 30, "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": 2525, "Length": 128, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "void", "NVPTXFrameLowering", "::", "eliminateCallFramePseudoInstr", "(", "MachineFunction", "&", "MF", ",", "MachineBasicBlock", "&", "MBB", ",", "MachineBasicBlock", "::", "iterator", "I", ")", "const", "{", "MBB", ".", "erase", "(", "I", ")", ";", "}", ""], "natrual_language": ["This", "method", "is", "called", "during", "prolog/epilog", "code", "insertion", "to", "eliminate", "call", "frame", "setup", "and", "destroy", "pseudo", "instructions", "(", "but", "only", "if", "the", "Target", "is", "using", "them", ")", "."], "TS_V_token": ["NVPTX", "NVPTX"], "File": "NVPTXFrameLowering (2)", "Func": "eliminateCallFramePseudoInstr", "Target": "NVPTX", "Target_Clf": "GPU", "Compiler_Type": "LLVM", "Idx": 2526, "Length": 28, "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": 2527, "Length": 214, "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": 2528, "Length": 63, "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": 2529, "Length": 37, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "bool", "avr_has_nibble_0xf", "(", "rtx", "ival", ")", "{", "unsigned", "int", "map", "=", "UINTVAL", "(", "ival", ")", "&", "GET_MODE_MASK", "(", "SImode", ")", ";", "return", "avr_map_metric", "(", "map", ",", "MAP_MASK_PREIMAGE_F", ")", "!=", "0", ";", "}", ""], "natrual_language": ["Return", "true", "if", "IVAL", "has", "a", "0xf", "in", "its", "hexadecimal", "representation", "and", "false", ",", "otherwise", ".", "Only", "nibbles", "0", "..", "7", "are", "taken", "into", "account", ".", "Used", "as", "constraint", "helper", "for", "C0f", "and", "Cxf", "."], "TS_V_token": ["avr", "0"], "File": "avr", "Func": "avr_has_nibble_0xf", "Target": "avr", "Target_Clf": "MPU", "Compiler_Type": "GCC", "Idx": 2530, "Length": 32, "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": 2531, "Length": 43, "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": 2532, "Length": 77, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "void", "function_arg_advance", "(", "CUMULATIVE_ARGS", "*", "cum", ",", "enum", "machine_mode", "mode", ",", "tree", "type", ")", "{", "int", "words", ",", "max", ";", "int", "*", "arg_words", ";", "arg_words", "=", "&", "cum", "->", "arg_words", ";", "max", "=", "MAX_ARGS_IN_REGISTERS", ";", "words", "=", "(", "(", "(", "mode", "!=", "BLKmode", ")", "?", "(", "int", ")", "GET_MODE_SIZE", "(", "mode", ")", ":", "int_size_in_bytes", "(", "type", ")", ")", "+", "UNITS_PER_WORD", "-", "1", ")", "/", "UNITS_PER_WORD", ";", "if", "(", "*", "arg_words", "<", "max", "&&", "(", "targetm", ".", "calls", ".", "must_pass_in_stack", "(", "mode", ",", "type", ")", "||", "*", "arg_words", "+", "words", ">", "max", ")", ")", "*", "arg_words", "=", "max", ";", "*", "arg_words", "+=", "words", ";", "}", ""], "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": ["xtensa", "1"], "File": "xtensa3", "Func": "function_arg_advance", "Target": "xtensa", "Target_Clf": "MPU", "Compiler_Type": "GCC", "Idx": 2533, "Length": 104, "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": 2534, "Length": 38, "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": 2535, "Length": 55, "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": 2536, "Length": 510, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "const", "NyuziRegisterInfo", "*", "getRegisterInfo", "(", ")", "const", "override", "{", "return", "&", "InstrInfo", ".", "getRegisterInfo", "(", ")", ";", "}", ""], "natrual_language": ["getRegisterInfo", "-", "TargetInstrInfo", "is", "a", "superset", "of", "MRegister", "info", "."], "TS_V_token": ["Nyuzi", "Nyuzi"], "File": "NyuziSubtarget", "Func": "getRegisterInfo", "Target": "Nyuzi", "Target_Clf": "GPU", "Compiler_Type": "LLVM", "Idx": 2537, "Length": 18, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "static", "bool", "nvptx_goacc_validate_dims", "(", "tree", "decl", ",", "int", "dims", "[", "]", ",", "int", "fn_level", ")", "{", "bool", "changed", "=", "false", ";", "if", "(", "fn_level", "<=", "GOMP_DIM_VECTOR", "&&", "fn_level", ">=", "-", "1", "&&", "dims", "[", "GOMP_DIM_VECTOR", "]", ">=", "0", "&&", "dims", "[", "GOMP_DIM_VECTOR", "]", "!=", "PTX_VECTOR_LENGTH", ")", "{", "if", "(", "fn_level", "<", "0", "&&", "dims", "[", "GOMP_DIM_VECTOR", "]", ">=", "0", ")", "warning_at", "(", "decl", "?", "DECL_SOURCE_LOCATION", "(", "decl", ")", ":", "UNKNOWN_LOCATION", ",", "0", ",", "dims", "[", "GOMP_DIM_VECTOR", "]", "?", "\"using vector_length (%d), ignoring %d\"", ":", "\"using vector_length (%d), ignoring runtime setting\"", ",", "PTX_VECTOR_LENGTH", ",", "dims", "[", "GOMP_DIM_VECTOR", "]", ")", ";", "dims", "[", "GOMP_DIM_VECTOR", "]", "=", "PTX_VECTOR_LENGTH", ";", "changed", "=", "true", ";", "}", "if", "(", "dims", "[", "GOMP_DIM_WORKER", "]", ">", "PTX_WORKER_LENGTH", ")", "{", "warning_at", "(", "decl", "?", "DECL_SOURCE_LOCATION", "(", "decl", ")", ":", "UNKNOWN_LOCATION", ",", "0", ",", "\"using num_workers (%d), ignoring %d\"", ",", "PTX_WORKER_LENGTH", ",", "dims", "[", "GOMP_DIM_WORKER", "]", ")", ";", "dims", "[", "GOMP_DIM_WORKER", "]", "=", "PTX_WORKER_LENGTH", ";", "changed", "=", "true", ";", "}", "if", "(", "!", "decl", ")", "{", "dims", "[", "GOMP_DIM_VECTOR", "]", "=", "PTX_VECTOR_LENGTH", ";", "if", "(", "dims", "[", "GOMP_DIM_WORKER", "]", "<", "0", ")", "dims", "[", "GOMP_DIM_WORKER", "]", "=", "PTX_WORKER_LENGTH", ";", "if", "(", "dims", "[", "GOMP_DIM_GANG", "]", "<", "0", ")", "dims", "[", "GOMP_DIM_GANG", "]", "=", "PTX_GANG_DEFAULT", ";", "changed", "=", "true", ";", "}", "return", "changed", ";", "}", ""], "natrual_language": ["Validate", "compute", "dimensions", "of", "an", "OpenACC", "offload", "or", "routine", ",", "fill", "in", "non-unity", "defaults", ".", "FN_LEVEL", "indicates", "the", "level", "at", "which", "a", "routine", "might", "spawn", "a", "loop", ".", "It", "is", "negative", "for", "non-routines", ".", "If", "DECL", "is", "null", ",", "we", "are", "validating", "the", "default", "dimensions", "."], "TS_V_token": ["nvptx", "1", "0", "0", "0", "0", "\"using vector_length (%d), ignoring %d\"", "\"using vector_length (%d), ignoring runtime setting\"", "0", "\"using num_workers (%d), ignoring %d\"", "0", "0"], "File": "nvptx3", "Func": "nvptx_goacc_validate_dims", "Target": "nvptx", "Target_Clf": "GPU", "Compiler_Type": "GCC", "Idx": 2538, "Length": 201, "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": 2539, "Length": 247, "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": 2540, "Length": 487, "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": 2541, "Length": 145, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "void", "HexagonExpandCondsets", "::", "shrinkToUses", "(", "unsigned", "Reg", ",", "LiveInterval", "&", "LI", ")", "{", "SmallVector", "<", "MachineInstr", "*", ",", "4", ">", "Deads", ";", "LIS", "->", "shrinkToUses", "(", "&", "LI", ",", "&", "Deads", ")", ";", "for", "(", "unsigned", "i", "=", "0", ",", "n", "=", "Deads", ".", "size", "(", ")", ";", "i", "<", "n", ";", "++", "i", ")", "{", "MachineInstr", "*", "MI", "=", "Deads", "[", "i", "]", ";", "for", "(", "auto", "&", "Op", ":", "MI", "->", "operands", "(", ")", ")", "{", "if", "(", "!", "Op", ".", "isReg", "(", ")", "||", "!", "Op", ".", "isDef", "(", ")", "||", "Op", ".", "getReg", "(", ")", "!=", "Reg", ")", "continue", ";", "Op", ".", "setIsDead", "(", "false", ")", ";", "}", "LiveInterval", "::", "iterator", "End", "=", "LI", ".", "end", "(", ")", ";", "SlotIndex", "S", "=", "LIS", "->", "getInstructionIndex", "(", "*", "MI", ")", ".", "getRegSlot", "(", ")", ";", "LiveInterval", "::", "iterator", "T", "=", "LI", ".", "FindSegmentContaining", "(", "S", ")", ";", "assert", "(", "T", "!=", "End", ")", ";", "LiveInterval", "::", "iterator", "N", "=", "std", "::", "next", "(", "T", ")", ";", "if", "(", "N", "!=", "End", ")", "T", "->", "end", "=", "N", "->", "start", ";", "else", "T", "->", "end", "=", "LIS", "->", "getMBBEndIdx", "(", "MI", "->", "getParent", "(", ")", ")", ";", "}", "updateKillFlags", "(", "Reg", ",", "LI", ")", ";", "}", ""], "natrual_language": ["Specialized", "version", "of", "shrinkToUses", "(", "LiveInterval", "li", ",", "SmallVectorImpl", "<", "MachineInstr", ">", "*", "dead", ")", "that", "works", "on", "a", "subregister", "live", "range", "and", "only", "looks", "at", "uses", "matching", "the", "lane", "mask", "of", "the", "subregister", "range", "."], "TS_V_token": ["Hexagon", "Hexagon", "4", "0"], "File": "HexagonExpandCondsets1", "Func": "shrinkToUses", "Target": "Hexagon", "Target_Clf": "DSP", "Compiler_Type": "LLVM", "Idx": 2542, "Length": 208, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "bool", "addGCPasses", "(", ")", "override", "{", "return", "false", ";", "}", ""], "natrual_language": ["addGCPasses", "-", "Add", "late", "codegen", "passes", "that", "analyze", "code", "for", "garbage", "collection", "."], "TS_V_token": ["WebAssembly"], "File": "WebAssemblyTargetMachine", "Func": "addGCPasses", "Target": "WebAssembly", "Target_Clf": "Virtual ISA", "Compiler_Type": "LLVM", "Idx": 2543, "Length": 10, "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": 2544, "Length": 361, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "SDValue", "SPUTargetLowering", "::", "LowerOperation", "(", "SDValue", "Op", ",", "SelectionDAG", "&", "DAG", ")", "{", "unsigned", "Opc", "=", "(", "unsigned", ")", "Op", ".", "getOpcode", "(", ")", ";", "EVT", "VT", "=", "Op", ".", "getValueType", "(", ")", ";", "switch", "(", "Opc", ")", "{", "default", ":", "{", "errs", "(", ")", "<<", "\"SPUTargetLowering::LowerOperation(): need to lower this!\\n\"", ";", "errs", "(", ")", "<<", "\"Op.getOpcode() = \"", "<<", "Opc", "<<", "\"\\n\"", ";", "errs", "(", ")", "<<", "\"*Op.getNode():\\n\"", ";", "Op", ".", "getNode", "(", ")", "->", "dump", "(", ")", ";", "llvm_unreachable", "(", "0", ")", ";", "}", "case", "ISD", "::", "LOAD", ":", "case", "ISD", "::", "EXTLOAD", ":", "case", "ISD", "::", "SEXTLOAD", ":", "case", "ISD", "::", "ZEXTLOAD", ":", "return", "LowerLOAD", "(", "Op", ",", "DAG", ",", "SPUTM", ".", "getSubtargetImpl", "(", ")", ")", ";", "case", "ISD", "::", "STORE", ":", "return", "LowerSTORE", "(", "Op", ",", "DAG", ",", "SPUTM", ".", "getSubtargetImpl", "(", ")", ")", ";", "case", "ISD", "::", "ConstantPool", ":", "return", "LowerConstantPool", "(", "Op", ",", "DAG", ",", "SPUTM", ".", "getSubtargetImpl", "(", ")", ")", ";", "case", "ISD", "::", "GlobalAddress", ":", "return", "LowerGlobalAddress", "(", "Op", ",", "DAG", ",", "SPUTM", ".", "getSubtargetImpl", "(", ")", ")", ";", "case", "ISD", "::", "JumpTable", ":", "return", "LowerJumpTable", "(", "Op", ",", "DAG", ",", "SPUTM", ".", "getSubtargetImpl", "(", ")", ")", ";", "case", "ISD", "::", "ConstantFP", ":", "return", "LowerConstantFP", "(", "Op", ",", "DAG", ")", ";", "case", "ISD", "::", "ADD", ":", "case", "ISD", "::", "SUB", ":", "case", "ISD", "::", "ROTR", ":", "case", "ISD", "::", "ROTL", ":", "case", "ISD", "::", "SRL", ":", "case", "ISD", "::", "SHL", ":", "case", "ISD", "::", "SRA", ":", "{", "if", "(", "VT", "==", "MVT", "::", "i8", ")", "return", "LowerI8Math", "(", "Op", ",", "DAG", ",", "Opc", ",", "*", "this", ")", ";", "break", ";", "}", "case", "ISD", "::", "FP_TO_SINT", ":", "case", "ISD", "::", "FP_TO_UINT", ":", "return", "LowerFP_TO_INT", "(", "Op", ",", "DAG", ",", "*", "this", ")", ";", "case", "ISD", "::", "SINT_TO_FP", ":", "case", "ISD", "::", "UINT_TO_FP", ":", "return", "LowerINT_TO_FP", "(", "Op", ",", "DAG", ",", "*", "this", ")", ";", "case", "ISD", "::", "BUILD_VECTOR", ":", "return", "LowerBUILD_VECTOR", "(", "Op", ",", "DAG", ")", ";", "case", "ISD", "::", "SCALAR_TO_VECTOR", ":", "return", "LowerSCALAR_TO_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", "::", "INSERT_VECTOR_ELT", ":", "return", "LowerINSERT_VECTOR_ELT", "(", "Op", ",", "DAG", ")", ";", "case", "ISD", "::", "AND", ":", "case", "ISD", "::", "OR", ":", "case", "ISD", "::", "XOR", ":", "return", "LowerByteImmed", "(", "Op", ",", "DAG", ")", ";", "case", "ISD", "::", "MUL", ":", "if", "(", "VT", "==", "MVT", "::", "i8", ")", "return", "LowerI8Math", "(", "Op", ",", "DAG", ",", "Opc", ",", "*", "this", ")", ";", "case", "ISD", "::", "CTPOP", ":", "return", "LowerCTPOP", "(", "Op", ",", "DAG", ")", ";", "case", "ISD", "::", "SELECT_CC", ":", "return", "LowerSELECT_CC", "(", "Op", ",", "DAG", ",", "*", "this", ")", ";", "case", "ISD", "::", "SETCC", ":", "return", "LowerSETCC", "(", "Op", ",", "DAG", ",", "*", "this", ")", ";", "case", "ISD", "::", "TRUNCATE", ":", "return", "LowerTRUNCATE", "(", "Op", ",", "DAG", ")", ";", "case", "ISD", "::", "SIGN_EXTEND", ":", "return", "LowerSIGN_EXTEND", "(", "Op", ",", "DAG", ")", ";", "}", "return", "SDValue", "(", ")", ";", "}", ""], "natrual_language": ["LowerOperation", "-", "Provide", "custom", "lowering", "hooks", "for", "some", "operations", "."], "TS_V_token": ["CellSPU", "SPU", "\"SPUTargetLowering::LowerOperation(): need to lower this!\\n\"", "\"Op.getOpcode() = \"", "\"\\n\"", "\"*Op.getNode():\\n\"", "0", "ISD::LOAD", "ISD::EXTLOAD", "ISD::SEXTLOAD", "ISD::ZEXTLOAD", "SPU", "ISD::STORE", "SPU", "ISD::ConstantPool", "SPU", "ISD::GlobalAddress", "SPU", "ISD::JumpTable", "SPU", "ISD::ConstantFP", "ISD::ADD", "ISD::SUB", "ISD::ROTR", "ISD::ROTL", "ISD::SRL", "ISD::SHL", "ISD::SRA", "MVT::i8", "ISD::FP_TO_SINT", "ISD::FP_TO_UINT", "ISD::SINT_TO_FP", "ISD::UINT_TO_FP", "ISD::BUILD_VECTOR", "ISD::SCALAR_TO_VECTOR", "ISD::VECTOR_SHUFFLE", "ISD::EXTRACT_VECTOR_ELT", "ISD::INSERT_VECTOR_ELT", "ISD::AND", "ISD::OR", "ISD::XOR", "ISD::MUL", "MVT::i8", "ISD::CTPOP", "ISD::SELECT_CC", "ISD::SETCC", "ISD::TRUNCATE", "ISD::SIGN_EXTEND"], "File": "SPUISelLowering1", "Func": "LowerOperation", "Target": "CellSPU", "Target_Clf": "MPU", "Compiler_Type": "LLVM", "Idx": 2545, "Length": 497, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "MachineBasicBlock", "*", "Z80oldTargetLowering", "::", "EmitInstrWithCustomInserter", "(", "MachineInstr", "&", "MI", ",", "MachineBasicBlock", "*", "BB", ")", "const", "{", "switch", "(", "MI", ".", "getOpcode", "(", ")", ")", "{", "default", ":", "llvm_unreachable", "(", "\"Unexpected instr type to insert\"", ")", ";", "case", "Z80old", "::", "Select8", ":", "case", "Z80old", "::", "Select16", ":", "return", "EmitLoweredSelect", "(", "MI", ",", "BB", ")", ";", "case", "Z80old", "::", "SExt8", ":", "case", "Z80old", "::", "SExt16", ":", "return", "EmitLoweredSExt", "(", "MI", ",", "BB", ")", ";", "}", "}", ""], "natrual_language": ["This", "method", "should", "be", "implemented", "by", "targets", "that", "mark", "instructions", "with", "the", "'usesCustomInserter", "'", "flag", "."], "TS_V_token": ["Z80old", "Z80old", "\"Unexpected instr type to insert\"", "Z80old::Select8", "Z80old::Select16", "Z80old::SExt8", "Z80old::SExt16"], "File": "Z80oldISelLowering", "Func": "EmitInstrWithCustomInserter", "Target": "Z80old", "Target_Clf": "MPU", "Compiler_Type": "LLVM", "Idx": 2546, "Length": 70, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "bool", "SITargetLowering", "::", "isFMAFasterThanFMulAndFAdd", "(", "const", "MachineFunction", "&", "MF", ",", "EVT", "VT", ")", "const", "{", "VT", "=", "VT", ".", "getScalarType", "(", ")", ";", "switch", "(", "VT", ".", "getSimpleVT", "(", ")", ".", "SimpleTy", ")", "{", "case", "MVT", "::", "f32", ":", "{", "if", "(", "hasFP32Denormals", "(", "MF", ")", ")", "return", "Subtarget", "->", "hasFastFMAF32", "(", ")", "||", "Subtarget", "->", "hasDLInsts", "(", ")", ";", "return", "Subtarget", "->", "hasFastFMAF32", "(", ")", "&&", "Subtarget", "->", "hasDLInsts", "(", ")", ";", "}", "case", "MVT", "::", "f64", ":", "return", "true", ";", "case", "MVT", "::", "f16", ":", "return", "Subtarget", "->", "has16BitInsts", "(", ")", "&&", "hasFP64FP16Denormals", "(", "MF", ")", ";", "default", ":", "break", ";", "}", "return", "false", ";", "}", ""], "natrual_language": ["Return", "true", "if", "an", "FMA", "operation", "is", "faster", "than", "a", "pair", "of", "fmul", "and", "fadd", "instructions", "."], "TS_V_token": ["AMDGPU", "SI", "MVT::f32", "MVT::f64", "MVT::f16"], "File": "SIISelLowering106", "Func": "isFMAFasterThanFMulAndFAdd", "Target": "AMDGPU", "Target_Clf": "GPU", "Compiler_Type": "LLVM", "Idx": 2547, "Length": 108, "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": 2548, "Length": 164, "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": 2549, "Length": 202, "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", ";", "}", "}", "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": "rs6000", "Func": "rs6000_can_inline_p", "Target": "rs6000", "Target_Clf": "CPU", "Compiler_Type": "GCC", "Idx": 2550, "Length": 211, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "static", "enum", "machine_mode", "frv_matching_accg_mode", "(", "enum", "machine_mode", "mode", ")", "{", "switch", "(", "mode", ")", "{", "case", "V4SImode", ":", "return", "V4QImode", ";", "case", "DImode", ":", "return", "HImode", ";", "case", "SImode", ":", "return", "QImode", ";", "default", ":", "gcc_unreachable", "(", ")", ";", "}", "}", ""], "natrual_language": ["If", "an", "ACC", "rtx", "has", "mode", "MODE", ",", "return", "the", "mode", "that", "the", "matching", "ACCG", "should", "have", "."], "TS_V_token": ["frv"], "File": "frv2", "Func": "frv_matching_accg_mode", "Target": "frv", "Target_Clf": "VLIW", "Compiler_Type": "GCC", "Idx": 2551, "Length": 41, "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": 2552, "Length": 367, "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": 2553, "Length": 103, "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": 2554, "Length": 29, "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": 2555, "Length": 22, "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": 2556, "Length": 15, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "unsigned", "SIInstrInfo", "::", "insertIndirectBranch", "(", "MachineBasicBlock", "&", "MBB", ",", "MachineBasicBlock", "&", "DestBB", ",", "const", "DebugLoc", "&", "DL", ",", "int64_t", "BrOffset", ",", "RegScavenger", "*", "RS", ")", "const", "{", "assert", "(", "RS", "&&", "\"RegScavenger required for long branching\"", ")", ";", "assert", "(", "MBB", ".", "empty", "(", ")", "&&", "\"new block should be inserted for expanding unconditional branch\"", ")", ";", "assert", "(", "MBB", ".", "pred_size", "(", ")", "==", "1", ")", ";", "MachineFunction", "*", "MF", "=", "MBB", ".", "getParent", "(", ")", ";", "MachineRegisterInfo", "&", "MRI", "=", "MF", "->", "getRegInfo", "(", ")", ";", "Register", "PCReg", "=", "MRI", ".", "createVirtualRegister", "(", "&", "AMDGPU", "::", "SReg_64RegClass", ")", ";", "auto", "I", "=", "MBB", ".", "end", "(", ")", ";", "MachineInstr", "*", "GetPC", "=", "BuildMI", "(", "MBB", ",", "I", ",", "DL", ",", "get", "(", "AMDGPU", "::", "S_GETPC_B64", ")", ",", "PCReg", ")", ";", "if", "(", "BrOffset", ">=", "0", ")", "{", "BuildMI", "(", "MBB", ",", "I", ",", "DL", ",", "get", "(", "AMDGPU", "::", "S_ADD_U32", ")", ")", ".", "addReg", "(", "PCReg", ",", "RegState", "::", "Define", ",", "AMDGPU", "::", "sub0", ")", ".", "addReg", "(", "PCReg", ",", "0", ",", "AMDGPU", "::", "sub0", ")", ".", "addMBB", "(", "&", "DestBB", ",", "MO_LONG_BRANCH_FORWARD", ")", ";", "BuildMI", "(", "MBB", ",", "I", ",", "DL", ",", "get", "(", "AMDGPU", "::", "S_ADDC_U32", ")", ")", ".", "addReg", "(", "PCReg", ",", "RegState", "::", "Define", ",", "AMDGPU", "::", "sub1", ")", ".", "addReg", "(", "PCReg", ",", "0", ",", "AMDGPU", "::", "sub1", ")", ".", "addImm", "(", "0", ")", ";", "}", "else", "{", "BuildMI", "(", "MBB", ",", "I", ",", "DL", ",", "get", "(", "AMDGPU", "::", "S_SUB_U32", ")", ")", ".", "addReg", "(", "PCReg", ",", "RegState", "::", "Define", ",", "AMDGPU", "::", "sub0", ")", ".", "addReg", "(", "PCReg", ",", "0", ",", "AMDGPU", "::", "sub0", ")", ".", "addMBB", "(", "&", "DestBB", ",", "MO_LONG_BRANCH_BACKWARD", ")", ";", "BuildMI", "(", "MBB", ",", "I", ",", "DL", ",", "get", "(", "AMDGPU", "::", "S_SUBB_U32", ")", ")", ".", "addReg", "(", "PCReg", ",", "RegState", "::", "Define", ",", "AMDGPU", "::", "sub1", ")", ".", "addReg", "(", "PCReg", ",", "0", ",", "AMDGPU", "::", "sub1", ")", ".", "addImm", "(", "0", ")", ";", "}", "BuildMI", "(", "&", "MBB", ",", "DL", ",", "get", "(", "AMDGPU", "::", "S_SETPC_B64", ")", ")", ".", "addReg", "(", "PCReg", ")", ";", "RS", "->", "enterBasicBlockEnd", "(", "MBB", ")", ";", "Register", "Scav", "=", "RS", "->", "scavengeRegisterBackwards", "(", "AMDGPU", "::", "SReg_64RegClass", ",", "MachineBasicBlock", "::", "iterator", "(", "GetPC", ")", ",", "false", ",", "0", ")", ";", "MRI", ".", "replaceRegWith", "(", "PCReg", ",", "Scav", ")", ";", "MRI", ".", "clearVirtRegs", "(", ")", ";", "RS", "->", "setRegUsed", "(", "Scav", ")", ";", "return", "4", "+", "8", "+", "4", "+", "4", ";", "}", ""], "natrual_language": ["Insert", "an", "unconditional", "indirect", "branch", "at", "the", "end", "of", "MBB", "to", "NewDestBB", "."], "TS_V_token": ["AMDGPU", "SI", "\"RegScavenger required for long branching\"", "\"new block should be inserted for expanding unconditional branch\"", "1", "AMDGPU::SReg_64RegClass", "AMDGPU::S_GETPC_B64", "0", "AMDGPU::S_ADD_U32", "AMDGPU::sub0", "0", "AMDGPU::sub0", "AMDGPU::S_ADDC_U32", "AMDGPU::sub1", "0", "AMDGPU::sub1", "0", "AMDGPU::S_SUB_U32", "AMDGPU::sub0", "0", "AMDGPU::sub0", "AMDGPU::S_SUBB_U32", "AMDGPU::sub1", "0", "AMDGPU::sub1", "0", "AMDGPU::S_SETPC_B64", "AMDGPU::SReg_64RegClass", "0", "4", "8", "4", "4"], "File": "SIInstrInfo111", "Func": "insertIndirectBranch", "Target": "AMDGPU", "Target_Clf": "GPU", "Compiler_Type": "LLVM", "Idx": 2557, "Length": 399, "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": 2558, "Length": 44, "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": 2559, "Length": 22, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "bool", "HexagonInstrInfo", "::", "getIncrementValue", "(", "const", "MachineInstr", "*", "MI", ",", "int", "&", "Value", ")", "const", "{", "if", "(", "isPostIncrement", "(", "MI", ")", ")", "{", "unsigned", "AccessSize", ";", "return", "getBaseAndOffset", "(", "MI", ",", "Value", ",", "AccessSize", ")", ";", "}", "if", "(", "MI", "->", "getOpcode", "(", ")", "==", "Hexagon", "::", "A2_addi", ")", "{", "Value", "=", "MI", "->", "getOperand", "(", "2", ")", ".", "getImm", "(", ")", ";", "return", "true", ";", "}", "return", "false", ";", "}", ""], "natrual_language": ["If", "the", "instruction", "is", "an", "increment", "of", "a", "constant", "value", ",", "return", "the", "amount", "."], "TS_V_token": ["Hexagon", "Hexagon", "Hexagon::A2_addi", "2"], "File": "HexagonInstrInfo (2)", "Func": "getIncrementValue", "Target": "Hexagon", "Target_Clf": "DSP", "Compiler_Type": "LLVM", "Idx": 2560, "Length": 72, "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": 2561, "Length": 77, "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": 2562, "Length": 42, "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": 2563, "Length": 124, "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": 2564, "Length": 65, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "rtx", "pru_expand_fp_compare", "(", "rtx", "comparison", ",", "machine_mode", "mode", ")", "{", "enum", "rtx_code", "code", "=", "GET_CODE", "(", "comparison", ")", ";", "rtx", "op0", "=", "XEXP", "(", "comparison", ",", "0", ")", ";", "rtx", "op1", "=", "XEXP", "(", "comparison", ",", "1", ")", ";", "rtx", "cmp", ";", "enum", "rtx_code", "jump_code", "=", "code", ";", "machine_mode", "op_mode", "=", "GET_MODE", "(", "op0", ")", ";", "rtx_insn", "*", "insns", ";", "rtx", "libfunc", ";", "gcc_assert", "(", "op_mode", "==", "DFmode", "||", "op_mode", "==", "SFmode", ")", ";", "if", "(", "code", "==", "UNGE", ")", "{", "code", "=", "LT", ";", "jump_code", "=", "EQ", ";", "}", "else", "if", "(", "code", "==", "UNLE", ")", "{", "code", "=", "GT", ";", "jump_code", "=", "EQ", ";", "}", "else", "jump_code", "=", "NE", ";", "switch", "(", "code", ")", "{", "case", "EQ", ":", "libfunc", "=", "op_mode", "==", "DFmode", "?", "eqdf_libfunc", ":", "eqsf_libfunc", ";", "break", ";", "case", "NE", ":", "libfunc", "=", "op_mode", "==", "DFmode", "?", "nedf_libfunc", ":", "nesf_libfunc", ";", "break", ";", "case", "GT", ":", "libfunc", "=", "op_mode", "==", "DFmode", "?", "gtdf_libfunc", ":", "gtsf_libfunc", ";", "break", ";", "case", "GE", ":", "libfunc", "=", "op_mode", "==", "DFmode", "?", "gedf_libfunc", ":", "gesf_libfunc", ";", "break", ";", "case", "LT", ":", "libfunc", "=", "op_mode", "==", "DFmode", "?", "ltdf_libfunc", ":", "ltsf_libfunc", ";", "break", ";", "case", "LE", ":", "libfunc", "=", "op_mode", "==", "DFmode", "?", "ledf_libfunc", ":", "lesf_libfunc", ";", "break", ";", "default", ":", "gcc_unreachable", "(", ")", ";", "}", "start_sequence", "(", ")", ";", "cmp", "=", "emit_library_call_value", "(", "libfunc", ",", "0", ",", "LCT_CONST", ",", "SImode", ",", "op0", ",", "op_mode", ",", "op1", ",", "op_mode", ")", ";", "insns", "=", "get_insns", "(", ")", ";", "end_sequence", "(", ")", ";", "emit_libcall_block", "(", "insns", ",", "cmp", ",", "cmp", ",", "gen_rtx_fmt_ee", "(", "code", ",", "SImode", ",", "op0", ",", "op1", ")", ")", ";", "return", "gen_rtx_fmt_ee", "(", "jump_code", ",", "mode", ",", "cmp", ",", "const0_rtx", ")", ";", "}", ""], "natrual_language": ["Emit", "comparison", "instruction", "if", "necessary", ",", "returning", "the", "expression", "that", "holds", "the", "compare", "result", "in", "the", "proper", "mode", ".", "Return", "the", "comparison", "that", "should", "be", "used", "in", "the", "jump", "insn", "."], "TS_V_token": ["pru", "0", "1", "0"], "File": "pru", "Func": "pru_expand_fp_compare", "Target": "pru", "Target_Clf": "CPU", "Compiler_Type": "GCC", "Idx": 2565, "Length": 282, "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": 2566, "Length": 445, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "void", "GBZ80FrameLowering", "::", "emitEpilogue", "(", "MachineFunction", "&", "MF", ",", "MachineBasicBlock", "&", "MBB", ")", "const", "{", "CallingConv", "::", "ID", "CallConv", "=", "MF", ".", "getFunction", "(", ")", ".", "getCallingConv", "(", ")", ";", "MachineBasicBlock", "::", "iterator", "MBBI", "=", "MBB", ".", "getLastNonDebugInstr", "(", ")", ";", "assert", "(", "MBBI", "->", "getDesc", "(", ")", ".", "isReturn", "(", ")", "&&", "\"Can only insert epilog into returning blocks\"", ")", ";", "DebugLoc", "DL", "=", "MBBI", "->", "getDebugLoc", "(", ")", ";", "const", "MachineFrameInfo", "&", "MFI", "=", "MF", ".", "getFrameInfo", "(", ")", ";", "const", "GBZ80MachineFunctionInfo", "*", "AFI", "=", "MF", ".", "getInfo", "<", "GBZ80MachineFunctionInfo", ">", "(", ")", ";", "int", "FrameSize", "=", "MFI", ".", "getStackSize", "(", ")", "-", "AFI", "->", "getCalleeSavedFrameSize", "(", ")", ";", "const", "GBZ80Subtarget", "&", "STI", "=", "MF", ".", "getSubtarget", "<", "GBZ80Subtarget", ">", "(", ")", ";", "const", "GBZ80InstrInfo", "&", "TII", "=", "*", "STI", ".", "getInstrInfo", "(", ")", ";", "if", "(", "!", "FrameSize", ")", "{", "return", ";", "}", "while", "(", "MBBI", "!=", "MBB", ".", "begin", "(", ")", ")", "{", "MachineBasicBlock", "::", "iterator", "PI", "=", "std", "::", "prev", "(", "MBBI", ")", ";", "int", "Opc", "=", "PI", "->", "getOpcode", "(", ")", ";", "if", "(", "Opc", "!=", "GB", "::", "POP", "&&", "!", "PI", "->", "isTerminator", "(", ")", ")", "{", "break", ";", "}", "--", "MBBI", ";", "}", "while", "(", "FrameSize", "!=", "0", ")", "{", "int", "ToAdd", "=", "std", "::", "min", "(", "127", ",", "FrameSize", ")", ";", "MachineInstr", "*", "MI", "=", "BuildMI", "(", "MBB", ",", "MBBI", ",", "DL", ",", "TII", ".", "get", "(", "GB", "::", "ADD_SP_e", ")", ")", ".", "addImm", "(", "ToAdd", ")", ".", "setMIFlag", "(", "MachineInstr", "::", "FrameDestroy", ")", ";", "MI", "->", "findRegisterDefOperand", "(", "GB", "::", "RF", ")", "->", "setIsDead", "(", ")", ";", "FrameSize", "-=", "ToAdd", ";", "}", "}", ""], "natrual_language": ["Insert", "epilog", "code", "into", "the", "function", "."], "TS_V_token": ["GBZ80", "GB", "\"Can only insert epilog into returning blocks\"", "GB", "GB", "GB", "GB", "GB", "GB::POP", "0", "127", "GB::ADD_SP_e", "GB::RF"], "File": "GBZ80FrameLowering", "Func": "emitEpilogue", "Target": "GBZ80", "Target_Clf": "MPU", "Compiler_Type": "LLVM", "Idx": 2567, "Length": 267, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "static", "rtx", "xtensa_function_arg_1", "(", "cumulative_args_t", "cum_v", ",", "machine_mode", "mode", ",", "const_tree", "type", ",", "bool", "incoming_p", ")", "{", "CUMULATIVE_ARGS", "*", "cum", "=", "get_cumulative_args", "(", "cum_v", ")", ";", "int", "regbase", ",", "words", ",", "max", ";", "int", "*", "arg_words", ";", "int", "regno", ";", "arg_words", "=", "&", "cum", "->", "arg_words", ";", "regbase", "=", "(", "incoming_p", "?", "GP_ARG_FIRST", ":", "GP_OUTGOING_ARG_FIRST", ")", ";", "max", "=", "MAX_ARGS_IN_REGISTERS", ";", "words", "=", "(", "(", "(", "mode", "!=", "BLKmode", ")", "?", "(", "int", ")", "GET_MODE_SIZE", "(", "mode", ")", ":", "int_size_in_bytes", "(", "type", ")", ")", "+", "UNITS_PER_WORD", "-", "1", ")", "/", "UNITS_PER_WORD", ";", "if", "(", "type", "&&", "(", "TYPE_ALIGN", "(", "type", ")", ">", "BITS_PER_WORD", ")", ")", "{", "int", "align", "=", "MIN", "(", "TYPE_ALIGN", "(", "type", ")", ",", "STACK_BOUNDARY", ")", "/", "BITS_PER_WORD", ";", "*", "arg_words", "=", "(", "*", "arg_words", "+", "align", "-", "1", ")", "&", "-", "align", ";", "}", "if", "(", "*", "arg_words", "+", "words", ">", "max", ")", "return", "(", "rtx", ")", "0", ";", "regno", "=", "regbase", "+", "*", "arg_words", ";", "if", "(", "cum", "->", "incoming", "&&", "regno", "<=", "A7_REG", "&&", "regno", "+", "words", ">", "A7_REG", ")", "cfun", "->", "machine", "->", "need_a7_copy", "=", "TARGET_WINDOWED_ABI", ";", "return", "gen_rtx_REG", "(", "mode", ",", "regno", ")", ";", "}", ""], "natrual_language": ["Return", "an", "RTL", "expression", "containing", "the", "register", "for", "the", "given", "mode", ",", "or", "0", "if", "the", "argument", "is", "to", "be", "passed", "on", "the", "stack", ".", "INCOMING_P", "is", "nonzero", "if", "this", "is", "an", "incoming", "argument", "to", "the", "current", "function", "."], "TS_V_token": ["xtensa", "1", "1", "0"], "File": "xtensa4", "Func": "xtensa_function_arg_1", "Target": "xtensa", "Target_Clf": "MPU", "Compiler_Type": "GCC", "Idx": 2568, "Length": 192, "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": 2569, "Length": 15, "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": 2570, "Length": 23, "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": 2571, "Length": 399, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "void", "SITargetLowering", "::", "AdjustInstrPostInstrSelection", "(", "MachineInstr", "*", "MI", ",", "SDNode", "*", "Node", ")", "const", "{", "const", "SIInstrInfo", "*", "TII", "=", "static_cast", "<", "const", "SIInstrInfo", "*", ">", "(", "Subtarget", "->", "getInstrInfo", "(", ")", ")", ";", "MachineRegisterInfo", "&", "MRI", "=", "MI", "->", "getParent", "(", ")", "->", "getParent", "(", ")", "->", "getRegInfo", "(", ")", ";", "TII", "->", "legalizeOperands", "(", "MI", ")", ";", "if", "(", "TII", "->", "isMIMG", "(", "MI", "->", "getOpcode", "(", ")", ")", ")", "{", "unsigned", "VReg", "=", "MI", "->", "getOperand", "(", "0", ")", ".", "getReg", "(", ")", ";", "unsigned", "Writemask", "=", "MI", "->", "getOperand", "(", "1", ")", ".", "getImm", "(", ")", ";", "unsigned", "BitsSet", "=", "0", ";", "for", "(", "unsigned", "i", "=", "0", ";", "i", "<", "4", ";", "++", "i", ")", "BitsSet", "+=", "Writemask", "&", "(", "1", "<<", "i", ")", "?", "1", ":", "0", ";", "const", "TargetRegisterClass", "*", "RC", ";", "switch", "(", "BitsSet", ")", "{", "default", ":", "return", ";", "case", "1", ":", "RC", "=", "&", "AMDGPU", "::", "VGPR_32RegClass", ";", "break", ";", "case", "2", ":", "RC", "=", "&", "AMDGPU", "::", "VReg_64RegClass", ";", "break", ";", "case", "3", ":", "RC", "=", "&", "AMDGPU", "::", "VReg_96RegClass", ";", "break", ";", "}", "unsigned", "NewOpcode", "=", "TII", "->", "getMaskedMIMGOp", "(", "MI", "->", "getOpcode", "(", ")", ",", "BitsSet", ")", ";", "MI", "->", "setDesc", "(", "TII", "->", "get", "(", "NewOpcode", ")", ")", ";", "MRI", ".", "setRegClass", "(", "VReg", ",", "RC", ")", ";", "return", ";", "}", "int", "NoRetAtomicOp", "=", "AMDGPU", "::", "getAtomicNoRetOp", "(", "MI", "->", "getOpcode", "(", ")", ")", ";", "if", "(", "NoRetAtomicOp", "!=", "-", "1", ")", "{", "if", "(", "!", "Node", "->", "hasAnyUseOfValue", "(", "0", ")", ")", "{", "MI", "->", "setDesc", "(", "TII", "->", "get", "(", "NoRetAtomicOp", ")", ")", ";", "MI", "->", "RemoveOperand", "(", "0", ")", ";", "}", "return", ";", "}", "}", ""], "natrual_language": ["This", "method", "should", "be", "implemented", "by", "targets", "that", "mark", "instructions", "with", "the", "'hasPostISelHook", "'", "flag", "."], "TS_V_token": ["AMDGPU", "SI", "SI", "SI", "0", "1", "0", "0", "4", "1", "1", "0", "1", "AMDGPU::VGPR_32RegClass", "2", "AMDGPU::VReg_64RegClass", "3", "AMDGPU::VReg_96RegClass", "AMDGPU::getAtomicNoRetOp", "1", "0", "0"], "File": "SIISelLowering1", "Func": "AdjustInstrPostInstrSelection", "Target": "AMDGPU", "Target_Clf": "GPU", "Compiler_Type": "LLVM", "Idx": 2572, "Length": 282, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "TargetTransformInfo", "RISCVTargetMachine", "::", "getTargetTransformInfo", "(", "const", "Function", "&", "F", ")", "{", "return", "TargetTransformInfo", "(", "RISCVTTIImpl", "(", "this", ",", "F", ")", ")", ";", "}", ""], "natrual_language": ["Get", "a", "TargetTransformInfo", "implementation", "for", "the", "target", "."], "TS_V_token": ["RI5CY", "RISCV", "RISCV"], "File": "RISCVTargetMachine", "Func": "getTargetTransformInfo", "Target": "RI5CY", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 2573, "Length": 23, "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": 2574, "Length": 225, "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": 2575, "Length": 88, "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": 2576, "Length": 100, "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": 2577, "Length": 217, "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": 2578, "Length": 20, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "bool", "avr_casei_sequence_check_operands", "(", "rtx", "*", "xop", ")", "{", "rtx", "sub_5", "=", "NULL_RTX", ";", "if", "(", "AVR_HAVE_EIJMP_EICALL", "&&", "xop", "[", "8", "]", "==", "all_regs_rtx", "[", "24", "]", ")", "{", "sub_5", "=", "xop", "[", "6", "]", ";", "}", "if", "(", "!", "AVR_HAVE_EIJMP_EICALL", "&&", "PLUS", "==", "GET_CODE", "(", "xop", "[", "6", "]", ")", "&&", "LABEL_REF", "==", "GET_CODE", "(", "XEXP", "(", "xop", "[", "6", "]", ",", "1", ")", ")", "&&", "rtx_equal_p", "(", "xop", "[", "3", "]", ",", "XEXP", "(", "XEXP", "(", "xop", "[", "6", "]", ",", "1", ")", ",", "0", ")", ")", "&&", "xop", "[", "8", "]", "==", "const0_rtx", ")", "{", "sub_5", "=", "XEXP", "(", "xop", "[", "6", "]", ",", "0", ")", ";", "}", "if", "(", "sub_5", "&&", "SUBREG_P", "(", "sub_5", ")", "&&", "0", "==", "SUBREG_BYTE", "(", "sub_5", ")", "&&", "rtx_equal_p", "(", "xop", "[", "5", "]", ",", "SUBREG_REG", "(", "sub_5", ")", ")", ")", "return", "true", ";", "if", "(", "dump_file", ")", "fprintf", "(", "dump_file", ",", "\"\\n;; Failed condition for casesi__sequence\\n\\n\"", ")", ";", "return", "false", ";", "}", ""], "natrual_language": ["Perform", "some", "extra", "checks", "on", "operands", "of", "casesi_", "<", "mode", ">", "_sequence", ".", "Not", "all", "operand", "dependencies", "can", "be", "described", "by", "means", "of", "predicates", ".", "This", "function", "performs", "left", "over", "checks", "and", "should", "always", "return", "true", ".", "Returning", "false", "means", "that", "someone", "changed", "the", "casesi", "expander", "but", "did", "not", "adjust", "casesi_", "<", "mode", ">", "_sequence", "."], "TS_V_token": ["avr", "8", "24", "6", "6", "6", "1", "3", "6", "1", "0", "8", "6", "0", "0", "5", "\"\\n;; Failed condition for casesi__sequence\\n\\n\""], "File": "avr6", "Func": "avr_casei_sequence_check_operands", "Target": "avr", "Target_Clf": "MPU", "Compiler_Type": "GCC", "Idx": 2579, "Length": 157, "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": 2580, "Length": 56, "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": 2581, "Length": 121, "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", "(", "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\"", "\"g\""], "File": "rs60004", "Func": "rs6000_mangle_type", "Target": "rs6000", "Target_Clf": "CPU", "Compiler_Type": "GCC", "Idx": 2582, "Length": 118, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "MachineInstr", "*", "AMDGPUInstrInfo", "::", "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": ["AMDGPU", "AMDGPU"], "File": "AMDGPUInstrInfo", "Func": "foldMemoryOperandImpl", "Target": "AMDGPU", "Target_Clf": "GPU", "Compiler_Type": "LLVM", "Idx": 2583, "Length": 35, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "bool", "Z80oldExpandPseudo", "::", "runOnMachineFunction", "(", "MachineFunction", "&", "MF", ")", "{", "getAnalysis", "<", "LiveIntervals", ">", "(", ")", ".", "addKillFlags", "(", "&", "getAnalysis", "<", "VirtRegMap", ">", "(", ")", ")", ";", "TII", "=", "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": ["Z80old", "Z80old"], "File": "Z80oldExpandPseudo", "Func": "runOnMachineFunction", "Target": "Z80old", "Target_Clf": "MPU", "Compiler_Type": "LLVM", "Idx": 2584, "Length": 66, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "bool", "M680x0RegisterInfo", "::", "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": ["M680x0", "M680x0"], "File": "M680x0RegisterInfo", "Func": "canRealignStack", "Target": "M680x0", "Target_Clf": "MPU", "Compiler_Type": "LLVM", "Idx": 2585, "Length": 80, "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": 2586, "Length": 71, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "static", "int", "sched_get_attr_size_int", "(", "rtx_insn", "*", "insn", ")", "{", "int", "size", ";", "switch", "(", "get_attr_type", "(", "insn", ")", ")", "{", "case", "TYPE_IGNORE", ":", "gcc_unreachable", "(", ")", ";", "return", "0", ";", "case", "TYPE_MUL_L", ":", "size", "=", "2", ";", "break", ";", "default", ":", "size", "=", "1", ";", "break", ";", "}", "switch", "(", "get_attr_opx_type", "(", "insn", ")", ")", "{", "case", "OPX_TYPE_NONE", ":", "case", "OPX_TYPE_RN", ":", "case", "OPX_TYPE_FPN", ":", "case", "OPX_TYPE_MEM1", ":", "case", "OPX_TYPE_MEM234", ":", "case", "OPY_TYPE_IMM_Q", ":", "break", ";", "case", "OPX_TYPE_MEM5", ":", "case", "OPX_TYPE_MEM6", ":", "case", "OPX_TYPE_MEM7", ":", "case", "OPY_TYPE_IMM_W", ":", "++", "size", ";", "break", ";", "case", "OPY_TYPE_IMM_L", ":", "size", "+=", "2", ";", "break", ";", "default", ":", "gcc_unreachable", "(", ")", ";", "}", "switch", "(", "get_attr_opy_type", "(", "insn", ")", ")", "{", "case", "OPY_TYPE_NONE", ":", "case", "OPY_TYPE_RN", ":", "case", "OPY_TYPE_FPN", ":", "case", "OPY_TYPE_MEM1", ":", "case", "OPY_TYPE_MEM234", ":", "case", "OPY_TYPE_IMM_Q", ":", "break", ";", "case", "OPY_TYPE_MEM5", ":", "case", "OPY_TYPE_MEM6", ":", "case", "OPY_TYPE_MEM7", ":", "case", "OPY_TYPE_IMM_W", ":", "++", "size", ";", "break", ";", "case", "OPY_TYPE_IMM_L", ":", "size", "+=", "2", ";", "break", ";", "default", ":", "gcc_unreachable", "(", ")", ";", "}", "if", "(", "size", ">", "3", ")", "{", "gcc_assert", "(", "!", "reload_completed", ")", ";", "size", "=", "3", ";", "}", "return", "size", ";", "}", ""], "natrual_language": ["Return", "size", "of", "INSN", "as", "int", "."], "TS_V_token": ["m68k", "0", "2", "1", "2", "2", "3", "3"], "File": "m68k", "Func": "sched_get_attr_size_int", "Target": "m68k", "Target_Clf": "MPU", "Compiler_Type": "GCC", "Idx": 2587, "Length": 192, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "unsigned", "AMDGPUTargetLowering", "::", "ComputeNumSignBitsForTargetNode", "(", "SDValue", "Op", ",", "const", "APInt", "&", "DemandedElts", ",", "const", "SelectionDAG", "&", "DAG", ",", "unsigned", "Depth", ")", "const", "{", "switch", "(", "Op", ".", "getOpcode", "(", ")", ")", "{", "case", "AMDGPUISD", "::", "BFE_I32", ":", "{", "ConstantSDNode", "*", "Width", "=", "dyn_cast", "<", "ConstantSDNode", ">", "(", "Op", ".", "getOperand", "(", "2", ")", ")", ";", "if", "(", "!", "Width", ")", "return", "1", ";", "unsigned", "SignBits", "=", "32", "-", "Width", "->", "getZExtValue", "(", ")", "+", "1", ";", "if", "(", "!", "isNullConstant", "(", "Op", ".", "getOperand", "(", "1", ")", ")", ")", "return", "SignBits", ";", "unsigned", "Op0SignBits", "=", "DAG", ".", "ComputeNumSignBits", "(", "Op", ".", "getOperand", "(", "0", ")", ",", "Depth", "+", "1", ")", ";", "return", "std", "::", "max", "(", "SignBits", ",", "Op0SignBits", ")", ";", "}", "case", "AMDGPUISD", "::", "BFE_U32", ":", "{", "ConstantSDNode", "*", "Width", "=", "dyn_cast", "<", "ConstantSDNode", ">", "(", "Op", ".", "getOperand", "(", "2", ")", ")", ";", "return", "Width", "?", "32", "-", "(", "Width", "->", "getZExtValue", "(", ")", "&", "0x1f", ")", ":", "1", ";", "}", "case", "AMDGPUISD", "::", "CARRY", ":", "case", "AMDGPUISD", "::", "BORROW", ":", "return", "31", ";", "case", "AMDGPUISD", "::", "BUFFER_LOAD_BYTE", ":", "return", "25", ";", "case", "AMDGPUISD", "::", "BUFFER_LOAD_SHORT", ":", "return", "17", ";", "case", "AMDGPUISD", "::", "BUFFER_LOAD_UBYTE", ":", "return", "24", ";", "case", "AMDGPUISD", "::", "BUFFER_LOAD_USHORT", ":", "return", "16", ";", "case", "AMDGPUISD", "::", "FP_TO_FP16", ":", "return", "16", ";", "default", ":", "return", "1", ";", "}", "}", ""], "natrual_language": ["Determine", "the", "number", "of", "bits", "in", "the", "operation", "that", "are", "sign", "bits", "."], "TS_V_token": ["AMDGPU", "AMDGPU", "AMDGPUISD::BFE_I32", "2", "1", "32", "1", "1", "0", "1", "AMDGPUISD::BFE_U32", "2", "32", "0x1f", "1", "AMDGPUISD::CARRY", "AMDGPUISD::BORROW", "31", "AMDGPUISD::BUFFER_LOAD_BYTE", "25", "AMDGPUISD::BUFFER_LOAD_SHORT", "17", "AMDGPUISD::BUFFER_LOAD_UBYTE", "24", "AMDGPUISD::BUFFER_LOAD_USHORT", "16", "AMDGPUISD::FP_TO_FP16", "16", "1"], "File": "AMDGPUISelLowering (2)1", "Func": "ComputeNumSignBitsForTargetNode", "Target": "AMDGPU", "Target_Clf": "GPU", "Compiler_Type": "LLVM", "Idx": 2588, "Length": 223, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "static", "rtx", "arc_function_arg", "(", "cumulative_args_t", "cum_v", ",", "const", "function_arg_info", "&", "arg", ")", "{", "CUMULATIVE_ARGS", "*", "cum", "=", "get_cumulative_args", "(", "cum_v", ")", ";", "int", "arg_num", "=", "*", "cum", ";", "rtx", "ret", ";", "const", "char", "*", "debstr", "ATTRIBUTE_UNUSED", ";", "arg_num", "=", "ROUND_ADVANCE_CUM", "(", "arg_num", ",", "arg", ".", "mode", ",", "arg", ".", "type", ")", ";", "if", "(", "arg", ".", "end_marker_p", "(", ")", ")", "{", "ret", "=", "const0_rtx", ";", "debstr", "=", "\"<0>\"", ";", "}", "else", "if", "(", "GPR_REST_ARG_REGS", "(", "arg_num", ")", ">", "0", ")", "{", "ret", "=", "gen_rtx_REG", "(", "arg", ".", "mode", ",", "arg_num", ")", ";", "debstr", "=", "reg_names", "[", "arg_num", "]", ";", "}", "else", "{", "ret", "=", "NULL_RTX", ";", "debstr", "=", "\"memory\"", ";", "}", "return", "ret", ";", "}", ""], "natrual_language": ["On", "the", "ARC", "the", "first", "MAX_ARC_PARM_REGS", "args", "are", "normally", "in", "registers", "and", "the", "rest", "are", "pushed", "."], "TS_V_token": ["arc", "\"<0>\"", "0", "\"memory\""], "File": "arc", "Func": "arc_function_arg", "Target": "arc", "Target_Clf": "MPU", "Compiler_Type": "GCC", "Idx": 2589, "Length": 115, "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": 2590, "Length": 103, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "void", "RISCVELFTargetObjectFile", "::", "getModuleMetadata", "(", "Module", "&", "M", ")", "{", "SmallVector", "<", "Module", "::", "ModuleFlagEntry", ",", "8", ">", "ModuleFlags", ";", "M", ".", "getModuleFlagsMetadata", "(", "ModuleFlags", ")", ";", "for", "(", "const", "auto", "&", "MFE", ":", "ModuleFlags", ")", "{", "StringRef", "Key", "=", "MFE", ".", "Key", "->", "getString", "(", ")", ";", "if", "(", "Key", "==", "\"SmallDataLimit\"", ")", "{", "SSThreshold", "=", "mdconst", "::", "extract", "<", "ConstantInt", ">", "(", "MFE", ".", "Val", ")", "->", "getZExtValue", "(", ")", ";", "break", ";", "}", "}", "}", ""], "natrual_language": ["Get", "the", "module-level", "metadata", "that", "the", "platform", "cares", "about", "."], "TS_V_token": ["RI5CY", "RISCV", "8", "\"SmallDataLimit\""], "File": "RISCVTargetObjectFile", "Func": "getModuleMetadata", "Target": "RI5CY", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 2591, "Length": 78, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "rtx", "s390_get_thread_pointer", "(", "void", ")", "{", "rtx", "tp", "=", "gen_reg_rtx", "(", "Pmode", ")", ";", "emit_insn", "(", "gen_get_thread_pointer", "(", "Pmode", ",", "tp", ")", ")", ";", "mark_reg_pointer", "(", "tp", ",", "BITS_PER_WORD", ")", ";", "return", "tp", ";", "}", ""], "natrual_language": ["Load", "the", "thread", "pointer", "into", "a", "register", "."], "TS_V_token": ["s390"], "File": "s390", "Func": "s390_get_thread_pointer", "Target": "s390", "Target_Clf": "MPU", "Compiler_Type": "GCC", "Idx": 2592, "Length": 35, "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": 2593, "Length": 464, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "static", "HOST_WIDE_INT", "spu_constant_alignment", "(", "const_tree", ",", "HOST_WIDE_INT", "align", ")", "{", "return", "MAX", "(", "align", ",", "128", ")", ";", "}", ""], "natrual_language": ["Implement", "TARGET_CONSTANT_ALIGNMENT", ".", "Make", "all", "static", "objects", "16-byte", "aligned", ".", "This", "allows", "us", "to", "assume", "they", "are", "also", "padded", "to", "16", "bytes", ",", "which", "means", "we", "can", "use", "a", "single", "load", "or", "store", "instruction", "to", "access", "them", "."], "TS_V_token": ["spu", "128"], "File": "spu3", "Func": "spu_constant_alignment", "Target": "spu", "Target_Clf": "MPU", "Compiler_Type": "GCC", "Idx": 2594, "Length": 19, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "void", "Z80oldInstPrinterBase", "::", "printInst", "(", "const", "MCInst", "*", "MI", ",", "raw_ostream", "&", "OS", ",", "StringRef", "Annot", ",", "const", "MCSubtargetInfo", "&", "STI", ")", "{", "printInstruction", "(", "MI", ",", "OS", ")", ";", "printAnnotation", "(", "OS", ",", "Annot", ")", ";", "}", ""], "natrual_language": ["Print", "the", "specified", "MCInst", "to", "the", "specified", "raw_ostream", "."], "TS_V_token": ["Z80old", "Z80old"], "File": "Z80oldInstPrinterBase", "Func": "printInst", "Target": "Z80old", "Target_Clf": "MPU", "Compiler_Type": "LLVM", "Idx": 2595, "Length": 38, "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": 2596, "Length": 152, "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": 2597, "Length": 66, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "bool", "HSAILAsmPrinter", "::", "runOnMachineFunction", "(", "MachineFunction", "&", "MF", ")", "{", "SetupMachineFunction", "(", "MF", ")", ";", "SmallString", "<", "256", ">", "Name", ";", "getHSAILMangledName", "(", "Name", ",", "MF", ".", "getFunction", "(", ")", ")", ";", "CurrentFnSym", "=", "OutContext", ".", "getOrCreateSymbol", "(", "Name", ")", ";", "OutStreamer", "->", "SwitchSection", "(", "getObjFileLowering", "(", ")", ".", "getTextSection", "(", ")", ")", ";", "EmitFunctionBody", "(", ")", ";", "return", "false", ";", "}", ""], "natrual_language": ["runOnMachineFunction", "-", "Emit", "the", "function", "body", "."], "TS_V_token": ["HSAIL", "HSAIL", "256", "HSAIL"], "File": "HSAILAsmPrinter", "Func": "runOnMachineFunction", "Target": "HSAIL", "Target_Clf": "Virtual ISA", "Compiler_Type": "LLVM", "Idx": 2598, "Length": 62, "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": 2599, "Length": 359, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "SDValue", "CreateLiveInRegister", "(", "SelectionDAG", "&", "DAG", ",", "const", "TargetRegisterClass", "*", "RC", ",", "Register", "Reg", ",", "EVT", "VT", ")", "const", "{", "return", "CreateLiveInRegister", "(", "DAG", ",", "RC", ",", "Reg", ",", "VT", ",", "SDLoc", "(", "DAG", ".", "getEntryNode", "(", ")", ")", ")", ";", "}", ""], "natrual_language": ["Helper", "function", "that", "adds", "Reg", "to", "the", "LiveIn", "list", "of", "the", "DAG", "'s", "MachineFunction", "."], "TS_V_token": ["AMDGPU"], "File": "AMDGPUISelLowering21", "Func": "CreateLiveInRegister", "Target": "AMDGPU", "Target_Clf": "GPU", "Compiler_Type": "LLVM", "Idx": 2600, "Length": 42, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "ScheduleHazardRecognizer", "*", "SPUInstrInfo", "::", "CreateTargetHazardRecognizer", "(", "const", "TargetMachine", "*", "TM", ",", "const", "ScheduleDAG", "*", "DAG", ")", "const", "{", "const", "TargetInstrInfo", "*", "TII", "=", "TM", "->", "getInstrInfo", "(", ")", ";", "assert", "(", "TII", "&&", "\"No InstrInfo?\"", ")", ";", "return", "new", "SPUHazardRecognizer", "(", "*", "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": ["CellSPU", "SPU", "\"No InstrInfo?\"", "SPU"], "File": "SPUInstrInfo1", "Func": "CreateTargetHazardRecognizer", "Target": "CellSPU", "Target_Clf": "MPU", "Compiler_Type": "LLVM", "Idx": 2601, "Length": 45, "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": 2602, "Length": 68, "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": 2603, "Length": 154, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "bool", "nios2_symbol_ref_in_small_data_p", "(", "rtx", "sym", ")", "{", "tree", "decl", ";", "gcc_assert", "(", "GET_CODE", "(", "sym", ")", "==", "SYMBOL_REF", ")", ";", "decl", "=", "SYMBOL_REF_DECL", "(", "sym", ")", ";", "if", "(", "SYMBOL_REF_TLS_MODEL", "(", "sym", ")", "!=", "0", ")", "return", "false", ";", "switch", "(", "nios2_gpopt_option", ")", "{", "case", "gpopt_none", ":", "return", "false", ";", "case", "gpopt_local", ":", "if", "(", "decl", "&&", "DECL_SECTION_NAME", "(", "decl", ")", ")", "return", "nios2_small_section_name_p", "(", "DECL_SECTION_NAME", "(", "decl", ")", ")", ";", "return", "(", "SYMBOL_REF_SMALL_P", "(", "sym", ")", "&&", "!", "SYMBOL_REF_EXTERNAL_P", "(", "sym", ")", "&&", "!", "(", "decl", "&&", "DECL_WEAK", "(", "decl", ")", ")", ")", ";", "case", "gpopt_global", ":", "return", "SYMBOL_REF_SMALL_P", "(", "sym", ")", ";", "case", "gpopt_data", ":", "return", "!", "SYMBOL_REF_FUNCTION_P", "(", "sym", ")", ";", "case", "gpopt_all", ":", "return", "true", ";", "default", ":", "return", "false", ";", "}", "}", ""], "natrual_language": ["Return", "true", "if", "symbol", "is", "in", "small", "data", "section", "."], "TS_V_token": ["nios2", "0"], "File": "nios22", "Func": "nios2_symbol_ref_in_small_data_p", "Target": "nios2", "Target_Clf": "MPU", "Compiler_Type": "GCC", "Idx": 2604, "Length": 127, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "StringRef", "getPassName", "(", ")", "const", "override", "{", "return", "\"M680x0 MOVEM collapser pass\"", ";", "}", ""], "natrual_language": ["getPassName", "-", "Return", "a", "nice", "clean", "name", "for", "a", "pass", "."], "TS_V_token": ["M680x0", "\"M680x0 MOVEM collapser pass\""], "File": "M680x0CollapseMOVEMPass", "Func": "getPassName", "Target": "M680x0", "Target_Clf": "MPU", "Compiler_Type": "LLVM", "Idx": 2605, "Length": 11, "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", "(", "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", "(", "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": "i3865", "Func": "ix86_expand_sse_compare_and_jump", "Target": "i386", "Target_Clf": "CPU", "Compiler_Type": "GCC", "Idx": 2606, "Length": 133, "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": 2607, "Length": 130, "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": 2608, "Length": 10, "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": 2609, "Length": 294, "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": 2610, "Length": 169, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "static", "int", "pdp11_register_move_cost", "(", "machine_mode", "mode", "ATTRIBUTE_UNUSED", ",", "reg_class_t", "c1", ",", "reg_class_t", "c2", ")", "{", "return", "move_costs", "[", "(", "int", ")", "c1", "]", "[", "(", "int", ")", "c2", "]", ";", "}", ""], "natrual_language": ["Register", "to", "register", "moves", "are", "cheap", "if", "both", "are", "general", "registers", "."], "TS_V_token": ["pdp11"], "File": "pdp114", "Func": "pdp11_register_move_cost", "Target": "pdp11", "Target_Clf": "MPU", "Compiler_Type": "GCC", "Idx": 2611, "Length": 31, "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": 2612, "Length": 24, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "static", "bool", "mcore_legitimate_index_p", "(", "machine_mode", "mode", ",", "const_rtx", "op", ")", "{", "if", "(", "CONST_INT_P", "(", "op", ")", ")", "{", "if", "(", "GET_MODE_SIZE", "(", "mode", ")", ">=", "4", "&&", "(", "(", "(", "unsigned", "HOST_WIDE_INT", ")", "INTVAL", "(", "op", ")", ")", "%", "4", ")", "==", "0", "&&", "(", "(", "unsigned", "HOST_WIDE_INT", ")", "INTVAL", "(", "op", ")", ")", "<=", "(", "unsigned", "HOST_WIDE_INT", ")", "64", "-", "GET_MODE_SIZE", "(", "mode", ")", ")", "return", "true", ";", "if", "(", "GET_MODE_SIZE", "(", "mode", ")", "==", "2", "&&", "(", "(", "(", "unsigned", "HOST_WIDE_INT", ")", "INTVAL", "(", "op", ")", ")", "%", "2", ")", "==", "0", "&&", "(", "(", "unsigned", "HOST_WIDE_INT", ")", "INTVAL", "(", "op", ")", ")", "<=", "30", ")", "return", "true", ";", "if", "(", "GET_MODE_SIZE", "(", "mode", ")", "==", "1", "&&", "(", "(", "unsigned", "HOST_WIDE_INT", ")", "INTVAL", "(", "op", ")", ")", "<=", "15", ")", "return", "true", ";", "}", "return", "false", ";", "}", ""], "natrual_language": ["A", "legitimate", "index", "for", "a", "QI", "is", "0", "..", "15", ",", "for", "HI", "is", "0", "..", "30", ",", "for", "SI", "is", "0", "..", "60", ",", "and", "for", "DI", "is", "0", "..", "56", "because", "we", "use", "two", "SI", "loads", ",", "etc", "."], "TS_V_token": ["mcore", "4", "4", "0", "64", "2", "2", "0", "30", "1", "15"], "File": "mcore", "Func": "mcore_legitimate_index_p", "Target": "mcore", "Target_Clf": "MPU", "Compiler_Type": "GCC", "Idx": 2613, "Length": 142, "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": 2614, "Length": 77, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "void", "TriCoreFrameLowering", "::", "emitEpilogue", "(", "MachineFunction", "&", "MF", ",", "MachineBasicBlock", "&", "MBB", ")", "const", "{", "}", ""], "natrual_language": ["Insert", "epilog", "code", "into", "the", "function", "."], "TS_V_token": ["TriCore", "TriCore"], "File": "TriCoreFrameLowering (2)", "Func": "emitEpilogue", "Target": "TriCore", "Target_Clf": "MPU", "Compiler_Type": "LLVM", "Idx": 2615, "Length": 16, "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": 2616, "Length": 58, "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": 2617, "Length": 83, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "bool", "TriCoreTargetLowering", "::", "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_TriCore", ")", ")", "{", "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": ["TriCore", "TriCore", "ISD::OutputArg", "16", "TriCore", "0"], "File": "TriCoreISelLowering", "Func": "CanLowerReturn", "Target": "TriCore", "Target_Clf": "MPU", "Compiler_Type": "LLVM", "Idx": 2618, "Length": 93, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "std", "::", "pair", "<", "unsigned", ",", "const", "TargetRegisterClass", "*", ">", "LM32TargetLowering", "::", "getRegForInlineAsmConstraint", "(", "const", "std", "::", "string", "&", "Constraint", ",", "MVT", "VT", ")", "const", "{", "if", "(", "Constraint", ".", "size", "(", ")", "==", "1", ")", "{", "switch", "(", "Constraint", "[", "0", "]", ")", "{", "case", "'r'", ":", "return", "std", "::", "make_pair", "(", "0U", ",", "&", "LM32", "::", "GPRRegClass", ")", ";", "case", "'d'", ":", "case", "'y'", ":", "case", "'f'", ":", "if", "(", "VT", "==", "MVT", "::", "f32", ")", "return", "std", "::", "make_pair", "(", "0U", ",", "&", "LM32", "::", "GPRRegClass", ")", ";", "}", "}", "return", "TargetLowering", "::", "getRegForInlineAsmConstraint", "(", "Constraint", ",", "VT", ")", ";", "}", ""], "natrual_language": ["Given", "a", "physical", "register", "constraint", "(", "e.g", "."], "TS_V_token": ["LM32", "LM32", "1", "0", "0U", "LM32::GPRRegClass", "MVT::f32", "0U", "LM32::GPRRegClass"], "File": "LM32ISelLowering", "Func": "getRegForInlineAsmConstraint", "Target": "LM32", "Target_Clf": "MPU", "Compiler_Type": "LLVM", "Idx": 2619, "Length": 104, "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": 2620, "Length": 43, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "bool", "SILowerControlFlowPass", "::", "runOnMachineFunction", "(", "MachineFunction", "&", "MF", ")", "{", "TII", "=", "MF", ".", "getTarget", "(", ")", ".", "getInstrInfo", "(", ")", ";", "TRI", "=", "MF", ".", "getTarget", "(", ")", ".", "getRegisterInfo", "(", ")", ";", "bool", "HaveKill", "=", "false", ";", "bool", "NeedWQM", "=", "false", ";", "unsigned", "Depth", "=", "0", ";", "for", "(", "MachineFunction", "::", "iterator", "BI", "=", "MF", ".", "begin", "(", ")", ",", "BE", "=", "MF", ".", "end", "(", ")", ";", "BI", "!=", "BE", ";", "++", "BI", ")", "{", "MachineBasicBlock", "&", "MBB", "=", "*", "BI", ";", "for", "(", "MachineBasicBlock", "::", "iterator", "I", "=", "MBB", ".", "begin", "(", ")", ",", "Next", "=", "llvm", "::", "next", "(", "I", ")", ";", "I", "!=", "MBB", ".", "end", "(", ")", ";", "I", "=", "Next", ")", "{", "Next", "=", "llvm", "::", "next", "(", "I", ")", ";", "MachineInstr", "&", "MI", "=", "*", "I", ";", "switch", "(", "MI", ".", "getOpcode", "(", ")", ")", "{", "default", ":", "break", ";", "case", "AMDGPU", "::", "SI_IF", ":", "++", "Depth", ";", "If", "(", "MI", ")", ";", "break", ";", "case", "AMDGPU", "::", "SI_ELSE", ":", "Else", "(", "MI", ")", ";", "break", ";", "case", "AMDGPU", "::", "SI_BREAK", ":", "Break", "(", "MI", ")", ";", "break", ";", "case", "AMDGPU", "::", "SI_IF_BREAK", ":", "IfBreak", "(", "MI", ")", ";", "break", ";", "case", "AMDGPU", "::", "SI_ELSE_BREAK", ":", "ElseBreak", "(", "MI", ")", ";", "break", ";", "case", "AMDGPU", "::", "SI_LOOP", ":", "++", "Depth", ";", "Loop", "(", "MI", ")", ";", "break", ";", "case", "AMDGPU", "::", "SI_END_CF", ":", "if", "(", "--", "Depth", "==", "0", "&&", "HaveKill", ")", "{", "SkipIfDead", "(", "MI", ")", ";", "HaveKill", "=", "false", ";", "}", "EndCf", "(", "MI", ")", ";", "break", ";", "case", "AMDGPU", "::", "SI_KILL", ":", "if", "(", "Depth", "==", "0", ")", "SkipIfDead", "(", "MI", ")", ";", "else", "HaveKill", "=", "true", ";", "Kill", "(", "MI", ")", ";", "break", ";", "case", "AMDGPU", "::", "S_BRANCH", ":", "Branch", "(", "MI", ")", ";", "break", ";", "case", "AMDGPU", "::", "SI_INDIRECT_SRC", ":", "IndirectSrc", "(", "MI", ")", ";", "break", ";", "case", "AMDGPU", "::", "SI_INDIRECT_DST_V2", ":", "case", "AMDGPU", "::", "SI_INDIRECT_DST_V4", ":", "case", "AMDGPU", "::", "SI_INDIRECT_DST_V8", ":", "case", "AMDGPU", "::", "SI_INDIRECT_DST_V16", ":", "IndirectDst", "(", "MI", ")", ";", "break", ";", "case", "AMDGPU", "::", "V_INTERP_P1_F32", ":", "case", "AMDGPU", "::", "V_INTERP_P2_F32", ":", "case", "AMDGPU", "::", "V_INTERP_MOV_F32", ":", "NeedWQM", "=", "true", ";", "break", ";", "}", "}", "}", "if", "(", "NeedWQM", ")", "{", "MachineBasicBlock", "&", "MBB", "=", "MF", ".", "front", "(", ")", ";", "BuildMI", "(", "MBB", ",", "MBB", ".", "getFirstNonPHI", "(", ")", ",", "DebugLoc", "(", ")", ",", "TII", "->", "get", "(", "AMDGPU", "::", "S_WQM_B64", ")", ",", "AMDGPU", "::", "EXEC", ")", ".", "addReg", "(", "AMDGPU", "::", "EXEC", ")", ";", "}", "return", "true", ";", "}", ""], "natrual_language": ["runOnMachineFunction", "-", "Emit", "the", "function", "body", "."], "TS_V_token": ["R600", "SI", "0", "SI", "SI", "SI", "SI", "SI", "SI", "SI", "0", "SI", "0", "SI", "SI", "SI", "SI", "SI"], "File": "SILowerControlFlow5", "Func": "runOnMachineFunction", "Target": "R600", "Target_Clf": "GPU", "Compiler_Type": "LLVM", "Idx": 2621, "Length": 417, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "bool", "SIFoldOperands", "::", "runOnMachineFunction", "(", "MachineFunction", "&", "MF", ")", "{", "if", "(", "skipFunction", "(", "MF", ".", "getFunction", "(", ")", ")", ")", "return", "false", ";", "MRI", "=", "&", "MF", ".", "getRegInfo", "(", ")", ";", "ST", "=", "&", "MF", ".", "getSubtarget", "<", "GCNSubtarget", ">", "(", ")", ";", "TII", "=", "ST", "->", "getInstrInfo", "(", ")", ";", "TRI", "=", "&", "TII", "->", "getRegisterInfo", "(", ")", ";", "const", "SIMachineFunctionInfo", "*", "MFI", "=", "MF", ".", "getInfo", "<", "SIMachineFunctionInfo", ">", "(", ")", ";", "bool", "IsIEEEMode", "=", "MFI", "->", "getMode", "(", ")", ".", "IEEE", ";", "bool", "HasNSZ", "=", "MFI", "->", "hasNoSignedZerosFPMath", "(", ")", ";", "for", "(", "MachineBasicBlock", "*", "MBB", ":", "depth_first", "(", "&", "MF", ")", ")", "{", "MachineBasicBlock", "::", "iterator", "I", ",", "Next", ";", "for", "(", "I", "=", "MBB", "->", "begin", "(", ")", ";", "I", "!=", "MBB", "->", "end", "(", ")", ";", "I", "=", "Next", ")", "{", "Next", "=", "std", "::", "next", "(", "I", ")", ";", "MachineInstr", "&", "MI", "=", "*", "I", ";", "tryFoldInst", "(", "TII", ",", "&", "MI", ")", ";", "if", "(", "!", "TII", "->", "isFoldableCopy", "(", "MI", ")", ")", "{", "if", "(", "IsIEEEMode", "||", "(", "!", "HasNSZ", "&&", "!", "MI", ".", "getFlag", "(", "MachineInstr", "::", "FmNsz", ")", ")", "||", "!", "tryFoldOMod", "(", "MI", ")", ")", "tryFoldClamp", "(", "MI", ")", ";", "continue", ";", "}", "MachineOperand", "&", "OpToFold", "=", "MI", ".", "getOperand", "(", "1", ")", ";", "bool", "FoldingImm", "=", "OpToFold", ".", "isImm", "(", ")", "||", "OpToFold", ".", "isFI", "(", ")", ";", "if", "(", "!", "FoldingImm", "&&", "!", "OpToFold", ".", "isReg", "(", ")", ")", "continue", ";", "if", "(", "OpToFold", ".", "isReg", "(", ")", "&&", "!", "TargetRegisterInfo", "::", "isVirtualRegister", "(", "OpToFold", ".", "getReg", "(", ")", ")", ")", "continue", ";", "MachineOperand", "&", "Dst", "=", "MI", ".", "getOperand", "(", "0", ")", ";", "if", "(", "Dst", ".", "isReg", "(", ")", "&&", "!", "TargetRegisterInfo", "::", "isVirtualRegister", "(", "Dst", ".", "getReg", "(", ")", ")", ")", "continue", ";", "foldInstOperand", "(", "MI", ",", "OpToFold", ")", ";", "}", "}", "return", "false", ";", "}", ""], "natrual_language": ["runOnMachineFunction", "-", "Emit", "the", "function", "body", "."], "TS_V_token": ["AMDGPU", "SI", "SI", "SI", "1", "0"], "File": "SIFoldOperands57", "Func": "runOnMachineFunction", "Target": "AMDGPU", "Target_Clf": "GPU", "Compiler_Type": "LLVM", "Idx": 2622, "Length": 315, "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", ")", ";", "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": "i3865", "Func": "ix86_build_builtin_va_list_64", "Target": "i386", "Target_Clf": "CPU", "Compiler_Type": "GCC", "Idx": 2623, "Length": 206, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "int", "pdp11_shift_length", "(", "rtx", "*", "operands", ",", "machine_mode", "m", ",", "int", "code", ",", "bool", "simple_operand_p", ")", "{", "int", "shift_size", ";", "shift_size", "=", "simple_operand_p", "?", "2", ":", "4", ";", "if", "(", "m", "==", "E_SImode", ")", "shift_size", "*=", "2", ";", "if", "(", "CONST_INT_P", "(", "operands", "[", "2", "]", ")", "&&", "pdp11_small_shift", "(", "INTVAL", "(", "operands", "[", "2", "]", ")", ")", ")", "shift_size", "*=", "INTVAL", "(", "operands", "[", "2", "]", ")", ";", "else", "shift_size", "+=", "4", ";", "if", "(", "code", "==", "LSHIFTRT", ")", "shift_size", "+=", "2", ";", "return", "shift_size", ";", "}", ""], "natrual_language": ["Figure", "out", "the", "length", "of", "the", "instructions", "that", "will", "be", "produced", "for", "the", "given", "operands", "by", "pdp11_assemble_shift", "above", "."], "TS_V_token": ["pdp11", "2", "4", "2", "2", "2", "2", "4", "2"], "File": "pdp11", "Func": "pdp11_shift_length", "Target": "pdp11", "Target_Clf": "MPU", "Compiler_Type": "GCC", "Idx": 2624, "Length": 88, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "void", "WebAssemblyRegisterInfo", "::", "eliminateFrameIndex", "(", "MachineBasicBlock", "::", "iterator", "II", ",", "int", "SPAdj", ",", "unsigned", "FIOperandNum", ",", "RegScavenger", "*", ")", "const", "{", "assert", "(", "SPAdj", "==", "0", ")", ";", "MachineInstr", "&", "MI", "=", "*", "II", ";", "MachineBasicBlock", "&", "MBB", "=", "*", "MI", ".", "getParent", "(", ")", ";", "MachineFunction", "&", "MF", "=", "*", "MBB", ".", "getParent", "(", ")", ";", "int", "FrameIndex", "=", "MI", ".", "getOperand", "(", "FIOperandNum", ")", ".", "getIndex", "(", ")", ";", "const", "MachineFrameInfo", "&", "MFI", "=", "*", "MF", ".", "getFrameInfo", "(", ")", ";", "int64_t", "FrameOffset", "=", "MFI", ".", "getStackSize", "(", ")", "+", "MFI", ".", "getObjectOffset", "(", "FrameIndex", ")", ";", "if", "(", "MI", ".", "mayLoadOrStore", "(", ")", ")", "{", "assert", "(", "FrameOffset", ">=", "0", "&&", "MI", ".", "getOperand", "(", "1", ")", ".", "getImm", "(", ")", ">=", "0", ")", ";", "int64_t", "Offset", "=", "MI", ".", "getOperand", "(", "1", ")", ".", "getImm", "(", ")", "+", "FrameOffset", ";", "if", "(", "static_cast", "<", "uint64_t", ">", "(", "Offset", ")", ">", "std", "::", "numeric_limits", "<", "uint32_t", ">", "::", "max", "(", ")", ")", "{", "report_fatal_error", "(", "\"Memory offset field overflow\"", ")", ";", "}", "MI", ".", "getOperand", "(", "1", ")", ".", "setImm", "(", "Offset", ")", ";", "MI", ".", "getOperand", "(", "2", ")", ".", "ChangeToRegister", "(", "WebAssembly", "::", "SP32", ",", "false", ")", ";", "}", "else", "{", "auto", "&", "MRI", "=", "MF", ".", "getRegInfo", "(", ")", ";", "const", "auto", "*", "TII", "=", "MF", ".", "getSubtarget", "(", ")", ".", "getInstrInfo", "(", ")", ";", "unsigned", "OffsetReg", "=", "MRI", ".", "createVirtualRegister", "(", "&", "WebAssembly", "::", "I32RegClass", ")", ";", "BuildMI", "(", "MBB", ",", "MI", ",", "MI", ".", "getDebugLoc", "(", ")", ",", "TII", "->", "get", "(", "WebAssembly", "::", "CONST_I32", ")", ",", "OffsetReg", ")", ".", "addImm", "(", "FrameOffset", ")", ";", "BuildMI", "(", "MBB", ",", "MI", ",", "MI", ".", "getDebugLoc", "(", ")", ",", "TII", "->", "get", "(", "WebAssembly", "::", "ADD_I32", ")", ",", "OffsetReg", ")", ".", "addReg", "(", "WebAssembly", "::", "SP32", ")", ".", "addReg", "(", "OffsetReg", ")", ";", "MI", ".", "getOperand", "(", "FIOperandNum", ")", ".", "ChangeToRegister", "(", "OffsetReg", ",", "false", ")", ";", "}", "}", ""], "natrual_language": ["This", "method", "must", "be", "overriden", "to", "eliminate", "abstract", "frame", "indices", "from", "instructions", "which", "may", "use", "them", "."], "TS_V_token": ["WebAssembly", "WebAssembly", "0", "0", "1", "0", "1", "\"Memory offset field overflow\"", "1", "2", "WebAssembly::SP32", "WebAssembly::I32RegClass", "WebAssembly::CONST_I32", "WebAssembly::ADD_I32", "WebAssembly::SP32"], "File": "WebAssemblyRegisterInfo2", "Func": "eliminateFrameIndex", "Target": "WebAssembly", "Target_Clf": "Virtual ISA", "Compiler_Type": "LLVM", "Idx": 2625, "Length": 322, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "static", "int", "fr30_num_arg_regs", "(", "const", "function_arg_info", "&", "arg", ")", "{", "if", "(", "targetm", ".", "calls", ".", "must_pass_in_stack", "(", "arg", ")", ")", "return", "0", ";", "int", "size", "=", "arg", ".", "promoted_size_in_bytes", "(", ")", ";", "return", "(", "size", "+", "UNITS_PER_WORD", "-", "1", ")", "/", "UNITS_PER_WORD", ";", "}", ""], "natrual_language": ["Compute", "the", "number", "of", "word", "sized", "registers", "needed", "to", "hold", "a", "function", "argument", "of", "mode", "INT_MODE", "and", "tree", "type", "TYPE", "."], "TS_V_token": ["fr30", "0", "1"], "File": "fr30", "Func": "fr30_num_arg_regs", "Target": "fr30", "Target_Clf": "DSP", "Compiler_Type": "GCC", "Idx": 2626, "Length": 45, "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": 2627, "Length": 39, "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": 2628, "Length": 14, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "bool", "XCoreRegisterInfo", "::", "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": ["XCore", "XCore"], "File": "XCoreRegisterInfo (2)1", "Func": "requiresRegisterScavenging", "Target": "XCore", "Target_Clf": "MPU", "Compiler_Type": "LLVM", "Idx": 2629, "Length": 16, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "static", "bool", "m68k_reg_present_p", "(", "const_rtx", "parallel", ",", "unsigned", "int", "regno", ")", "{", "int", "i", ";", "if", "(", "REG_P", "(", "parallel", ")", "&&", "REGNO", "(", "parallel", ")", "==", "regno", ")", "return", "true", ";", "if", "(", "GET_CODE", "(", "parallel", ")", "!=", "PARALLEL", ")", "return", "false", ";", "for", "(", "i", "=", "0", ";", "i", "<", "XVECLEN", "(", "parallel", ",", "0", ")", ";", "++", "i", ")", "{", "const_rtx", "x", ";", "x", "=", "XEXP", "(", "XVECEXP", "(", "parallel", ",", "0", ",", "i", ")", ",", "0", ")", ";", "if", "(", "REG_P", "(", "x", ")", "&&", "REGNO", "(", "x", ")", "==", "regno", ")", "return", "true", ";", "}", "return", "false", ";", "}", ""], "natrual_language": ["Return", "true", "if", "PARALLEL", "contains", "register", "REGNO", "."], "TS_V_token": ["m68k", "0", "0", "0", "0"], "File": "m68k", "Func": "m68k_reg_present_p", "Target": "m68k", "Target_Clf": "MPU", "Compiler_Type": "GCC", "Idx": 2630, "Length": 104, "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", ".", "isCall", "(", ")", "||", "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": "ARMBaseInstrInfo (2)4", "Func": "getInstrLatency", "Target": "ARM", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 2631, "Length": 221, "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": 2632, "Length": 460, "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": 2633, "Length": 26, "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": 2634, "Length": 27, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "int", "effective_address_32bit_p", "(", "rtx", "op", ",", "machine_mode", "mode", ")", "{", "HOST_WIDE_INT", "offset", ";", "mode", "=", "GET_MODE", "(", "op", ")", ";", "op", "=", "XEXP", "(", "op", ",", "0", ")", ";", "if", "(", "GET_CODE", "(", "op", ")", "!=", "PLUS", ")", "{", "gcc_assert", "(", "REG_P", "(", "op", ")", "||", "GET_CODE", "(", "op", ")", "==", "POST_INC", "||", "GET_CODE", "(", "op", ")", "==", "PRE_DEC", "||", "GET_CODE", "(", "op", ")", "==", "POST_DEC", ")", ";", "return", "0", ";", "}", "if", "(", "GET_CODE", "(", "XEXP", "(", "op", ",", "1", ")", ")", "==", "UNSPEC", ")", "return", "1", ";", "offset", "=", "INTVAL", "(", "XEXP", "(", "op", ",", "1", ")", ")", ";", "if", "(", "GET_MODE_SIZE", "(", "mode", ")", "==", "1", ")", "return", "1", ";", "if", "(", "GET_MODE_SIZE", "(", "mode", ")", "==", "4", ")", "{", "if", "(", "XEXP", "(", "op", ",", "0", ")", "==", "frame_pointer_rtx", ")", "return", "offset", "<", "-", "128", "||", "offset", ">", "60", ";", "return", "offset", "<", "0", "||", "offset", ">", "60", ";", "}", "return", "offset", "<", "0", "||", "offset", ">", "30", ";", "}", ""], "natrual_language": ["This", "predicate", "is", "used", "to", "compute", "the", "length", "of", "a", "load/store", "insn", ".", "OP", "is", "a", "MEM", "rtx", ",", "we", "return", "nonzero", "if", "its", "addressing", "mode", "requires", "a", "32", "bit", "instruction", "."], "TS_V_token": ["bfin", "0", "0", "1", "1", "1", "1", "1", "4", "0", "128", "60", "0", "60", "0", "30"], "File": "bfin", "Func": "effective_address_32bit_p", "Target": "bfin", "Target_Clf": "DSP", "Compiler_Type": "GCC", "Idx": 2635, "Length": 164, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "void", "prepare", "(", ")", "{", "assert", "(", "RS", "&&", "\"Cannot spill SGPR to memory without RegScavenger\"", ")", ";", "TmpVGPR", "=", "RS", "->", "scavengeRegister", "(", "&", "AMDGPU", "::", "VGPR_32RegClass", ",", "MI", ",", "0", ",", "false", ")", ";", "TmpVGPRIndex", "=", "MFI", ".", "getScavengeFI", "(", "MF", ".", "getFrameInfo", "(", ")", ",", "TRI", ")", ";", "if", "(", "TmpVGPR", ")", "{", "TmpVGPRLive", "=", "false", ";", "}", "else", "{", "TmpVGPR", "=", "AMDGPU", "::", "VGPR0", ";", "TmpVGPRLive", "=", "true", ";", "}", "if", "(", "TmpVGPRLive", ")", "{", "RS", "->", "assignRegToScavengingIndex", "(", "TmpVGPRIndex", ",", "TmpVGPR", ")", ";", "}", "RS", "->", "setRegUsed", "(", "TmpVGPR", ")", ";", "assert", "(", "!", "SavedExecReg", "&&", "\"Exec is already saved, refuse to save again\"", ")", ";", "const", "TargetRegisterClass", "&", "RC", "=", "IsWave32", "?", "AMDGPU", "::", "SGPR_32RegClass", ":", "AMDGPU", "::", "SGPR_64RegClass", ";", "RS", "->", "setRegUsed", "(", "SuperReg", ")", ";", "SavedExecReg", "=", "RS", "->", "scavengeRegister", "(", "&", "RC", ",", "MI", ",", "0", ",", "false", ")", ";", "int64_t", "VGPRLanes", "=", "getPerVGPRData", "(", ")", ".", "VGPRLanes", ";", "if", "(", "SavedExecReg", ")", "{", "RS", "->", "setRegUsed", "(", "SavedExecReg", ")", ";", "BuildMI", "(", "*", "MBB", ",", "MI", ",", "DL", ",", "TII", ".", "get", "(", "MovOpc", ")", ",", "SavedExecReg", ")", ".", "addReg", "(", "ExecReg", ")", ";", "auto", "I", "=", "BuildMI", "(", "*", "MBB", ",", "MI", ",", "DL", ",", "TII", ".", "get", "(", "MovOpc", ")", ",", "ExecReg", ")", ".", "addImm", "(", "VGPRLanes", ")", ";", "if", "(", "!", "TmpVGPRLive", ")", "I", ".", "addReg", "(", "TmpVGPR", ",", "RegState", "::", "ImplicitDefine", ")", ";", "TRI", ".", "buildVGPRSpillLoadStore", "(", "*", "this", ",", "TmpVGPRIndex", ",", "0", ",", "false", ")", ";", "}", "else", "{", "if", "(", "RS", "->", "isRegUsed", "(", "AMDGPU", "::", "SCC", ")", ")", "MI", "->", "emitError", "(", "\"unhandled SGPR spill to memory\"", ")", ";", "if", "(", "TmpVGPRLive", ")", "TRI", ".", "buildVGPRSpillLoadStore", "(", "*", "this", ",", "TmpVGPRIndex", ",", "0", ",", "false", ",", "false", ")", ";", "auto", "I", "=", "BuildMI", "(", "*", "MBB", ",", "MI", ",", "DL", ",", "TII", ".", "get", "(", "NotOpc", ")", ",", "ExecReg", ")", ".", "addReg", "(", "ExecReg", ")", ";", "if", "(", "!", "TmpVGPRLive", ")", "I", ".", "addReg", "(", "TmpVGPR", ",", "RegState", "::", "ImplicitDefine", ")", ";", "I", "->", "getOperand", "(", "2", ")", ".", "setIsDead", "(", "true", ")", ";", "TRI", ".", "buildVGPRSpillLoadStore", "(", "*", "this", ",", "TmpVGPRIndex", ",", "0", ",", "false", ")", ";", "}", "}", ""], "natrual_language": ["prepare", "-", "Reset", "state", "and", "prepare", "for", "a", "new", "spill", "placement", "computation", "."], "TS_V_token": ["AMDGPU", "\"Cannot spill SGPR to memory without RegScavenger\"", "AMDGPU::VGPR_32RegClass", "0", "AMDGPU::VGPR0", "\"Exec is already saved, refuse to save again\"", "AMDGPU::SGPR_32RegClass", "AMDGPU::SGPR_64RegClass", "0", "0", "AMDGPU::SCC", "\"unhandled SGPR spill to memory\"", "0", "2", "0"], "File": "SIRegisterInfo (3)", "Func": "prepare", "Target": "AMDGPU", "Target_Clf": "GPU", "Compiler_Type": "LLVM", "Idx": 2636, "Length": 350, "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": 2637, "Length": 195, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "void", "AArch64BranchRelaxation", "::", "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": ["AArch64", "AArch64", "1u", "0"], "File": "AArch64BranchRelaxation", "Func": "verify", "Target": "AArch64", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 2638, "Length": 94, "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": 2639, "Length": 49, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "void", "WebAssemblyCFGStackify", "::", "releaseMemory", "(", ")", "{", "ScopeTops", ".", "clear", "(", ")", ";", "BeginToEnd", ".", "clear", "(", ")", ";", "EndToBegin", ".", "clear", "(", ")", ";", "TryToEHPad", ".", "clear", "(", ")", ";", "EHPadToTry", ".", "clear", "(", ")", ";", "AppendixBB", "=", "nullptr", ";", "}", ""], "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": ["WebAssembly", "WebAssembly"], "File": "WebAssemblyCFGStackify (2)2", "Func": "releaseMemory", "Target": "WebAssembly", "Target_Clf": "Virtual ISA", "Compiler_Type": "LLVM", "Idx": 2640, "Length": 42, "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": 2641, "Length": 249, "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": 2642, "Length": 33, "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", "(", ")", "/", "8", ")", ">", "StackAlignment", ")", "{", "FuncInfo", "->", "setForceFramePointer", "(", "true", ")", ";", "return", "true", ";", "}", "}", "return", "false", ";", "}", ""], "natrual_language": ["runOnMachineFunction", "-", "Emit", "the", "function", "body", "."], "TS_V_token": ["X86", "X86", "X86", "X86", "X86", "0", "8"], "File": "X86RegisterInfo36", "Func": "runOnMachineFunction", "Target": "X86", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 2643, "Length": 141, "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": 2644, "Length": 67, "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": 2645, "Length": 108, "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": 2646, "Length": 33, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "virtual", "void", "getAnalysisUsage", "(", "AnalysisUsage", "&", "AU", ")", "const", "{", "AU", ".", "addRequired", "<", "PatmosSPBundling", ">", "(", ")", ";", "MachineFunctionPass", "::", "getAnalysisUsage", "(", "AU", ")", ";", "}", ""], "natrual_language": ["getAnalysisUsage", "-", "Subclasses", "that", "override", "getAnalysisUsage", "must", "call", "this", "."], "TS_V_token": ["Patmos", "Patmos"], "File": "PatmosSPReduce", "Func": "getAnalysisUsage", "Target": "Patmos", "Target_Clf": "VLIW", "Compiler_Type": "LLVM", "Idx": 2647, "Length": 27, "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": ["MSP430", "MVT::i8"], "File": "MSP430ISelLowering12", "Func": "getShiftAmountTy", "Target": "MSP430", "Target_Clf": "MPU", "Compiler_Type": "LLVM", "Idx": 2648, "Length": 15, "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": 2649, "Length": 16, "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": 2650, "Length": 104, "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": 2651, "Length": 235, "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": 2652, "Length": 94, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "DecodeStatus", "MCS51Disassembler", "::", "getInstruction", "(", "MCInst", "&", "Instr", ",", "uint64_t", "&", "Size", ",", "ArrayRef", "<", "uint8_t", ">", "Bytes", ",", "uint64_t", "Address", ",", "raw_ostream", "&", "CStream", ")", "const", "{", "uint32_t", "Insn", ";", "DecodeStatus", "Result", ";", "{", "Result", "=", "readInstruction16", "(", "Bytes", ",", "Address", ",", "Size", ",", "Insn", ")", ";", "if", "(", "Result", "==", "MCDisassembler", "::", "Fail", ")", "return", "MCDisassembler", "::", "Fail", ";", "Result", "=", "decodeInstruction", "(", "getDecoderTable", "(", "Size", ")", ",", "Instr", ",", "Insn", ",", "Address", ",", "this", ",", "STI", ")", ";", "if", "(", "Result", "!=", "MCDisassembler", "::", "Fail", ")", "return", "Result", ";", "}", "{", "Result", "=", "readInstruction32", "(", "Bytes", ",", "Address", ",", "Size", ",", "Insn", ")", ";", "if", "(", "Result", "==", "MCDisassembler", "::", "Fail", ")", "return", "MCDisassembler", "::", "Fail", ";", "Result", "=", "decodeInstruction", "(", "getDecoderTable", "(", "Size", ")", ",", "Instr", ",", "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": ["MCS51", "MCS51"], "File": "MCS51Disassembler", "Func": "getInstruction", "Target": "MCS51", "Target_Clf": "MPU", "Compiler_Type": "LLVM", "Idx": 2653, "Length": 160, "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": 2654, "Length": 59, "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": 2655, "Length": 437, "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": 2656, "Length": 176, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "static", "bool", "bfin_function_ok_for_sibcall", "(", "tree", "decl", "ATTRIBUTE_UNUSED", ",", "tree", "exp", "ATTRIBUTE_UNUSED", ")", "{", "struct", "cgraph_local_info", "*", "this_func", ",", "*", "called_func", ";", "e_funkind", "fkind", "=", "funkind", "(", "TREE_TYPE", "(", "current_function_decl", ")", ")", ";", "if", "(", "fkind", "!=", "SUBROUTINE", ")", "return", "false", ";", "if", "(", "!", "TARGET_ID_SHARED_LIBRARY", "||", "TARGET_SEP_DATA", ")", "return", "true", ";", "if", "(", "!", "decl", ")", "return", "false", ";", "this_func", "=", "cgraph_node", "::", "local_info", "(", "current_function_decl", ")", ";", "called_func", "=", "cgraph_node", "::", "local_info", "(", "decl", ")", ";", "if", "(", "!", "called_func", ")", "return", "false", ";", "return", "!", "called_func", "->", "local", "||", "this_func", "->", "local", ";", "}", ""], "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": ["bfin"], "File": "bfin3", "Func": "bfin_function_ok_for_sibcall", "Target": "bfin", "Target_Clf": "DSP", "Compiler_Type": "GCC", "Idx": 2657, "Length": 96, "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": 2658, "Length": 117, "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": 2659, "Length": 183, "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": 2660, "Length": 96, "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": 2661, "Length": 44, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "inline", "const", "MatchEntry", "*", "begin", "(", "const", "MatchEntry", "array", "[", "]", ")", "{", "return", "array", ";", "}", ""], "natrual_language": ["Recipe", "iterator", "methods", "."], "TS_V_token": ["Z80"], "File": "Z80AsmParser1", "Func": "begin", "Target": "Z80", "Target_Clf": "MPU", "Compiler_Type": "LLVM", "Idx": 2662, "Length": 17, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "static", "void", "tilegx_output_mi_thunk", "(", "FILE", "*", "file", ",", "tree", "thunk_fndecl", "ATTRIBUTE_UNUSED", ",", "HOST_WIDE_INT", "delta", ",", "HOST_WIDE_INT", "vcall_offset", ",", "tree", "function", ")", "{", "rtx", "this_rtx", ",", "funexp", ",", "addend", ";", "rtx_insn", "*", "insn", ";", "reload_completed", "=", "1", ";", "emit_note", "(", "NOTE_INSN_PROLOGUE_END", ")", ";", "if", "(", "aggregate_value_p", "(", "TREE_TYPE", "(", "TREE_TYPE", "(", "function", ")", ")", ",", "function", ")", ")", "this_rtx", "=", "gen_rtx_REG", "(", "Pmode", ",", "1", ")", ";", "else", "this_rtx", "=", "gen_rtx_REG", "(", "Pmode", ",", "0", ")", ";", "if", "(", "!", "(", "delta", ">=", "-", "32868", "&&", "delta", "<=", "32767", ")", ")", "{", "addend", "=", "gen_rtx_REG", "(", "Pmode", ",", "29", ")", ";", "emit_move_insn", "(", "addend", ",", "GEN_INT", "(", "delta", ")", ")", ";", "}", "else", "addend", "=", "GEN_INT", "(", "delta", ")", ";", "if", "(", "TARGET_32BIT", ")", "emit_insn", "(", "gen_addsi3", "(", "this_rtx", ",", "this_rtx", ",", "addend", ")", ")", ";", "else", "emit_insn", "(", "gen_adddi3", "(", "this_rtx", ",", "this_rtx", ",", "addend", ")", ")", ";", "if", "(", "vcall_offset", ")", "{", "rtx", "tmp", ";", "tmp", "=", "gen_rtx_REG", "(", "Pmode", ",", "29", ")", ";", "emit_move_insn", "(", "tmp", ",", "gen_rtx_MEM", "(", "Pmode", ",", "this_rtx", ")", ")", ";", "if", "(", "!", "(", "vcall_offset", ">=", "-", "32868", "&&", "vcall_offset", "<=", "32767", ")", ")", "{", "addend", "=", "gen_rtx_REG", "(", "Pmode", ",", "28", ")", ";", "emit_move_insn", "(", "addend", ",", "GEN_INT", "(", "vcall_offset", ")", ")", ";", "}", "else", "addend", "=", "GEN_INT", "(", "vcall_offset", ")", ";", "if", "(", "TARGET_32BIT", ")", "emit_insn", "(", "gen_addsi3", "(", "tmp", ",", "tmp", ",", "addend", ")", ")", ";", "else", "emit_insn", "(", "gen_adddi3", "(", "tmp", ",", "tmp", ",", "addend", ")", ")", ";", "emit_move_insn", "(", "tmp", ",", "gen_rtx_MEM", "(", "Pmode", ",", "tmp", ")", ")", ";", "if", "(", "TARGET_32BIT", ")", "emit_insn", "(", "gen_addsi3", "(", "this_rtx", ",", "this_rtx", ",", "tmp", ")", ")", ";", "else", "emit_insn", "(", "gen_adddi3", "(", "this_rtx", ",", "this_rtx", ",", "tmp", ")", ")", ";", "}", "if", "(", "!", "TREE_USED", "(", "function", ")", ")", "{", "assemble_external", "(", "function", ")", ";", "TREE_USED", "(", "function", ")", "=", "1", ";", "}", "funexp", "=", "XEXP", "(", "DECL_RTL", "(", "function", ")", ",", "0", ")", ";", "funexp", "=", "gen_rtx_MEM", "(", "FUNCTION_MODE", ",", "funexp", ")", ";", "insn", "=", "emit_call_insn", "(", "gen_sibcall", "(", "funexp", ",", "const0_rtx", ")", ")", ";", "SIBLING_CALL_P", "(", "insn", ")", "=", "1", ";", "insn", "=", "get_insns", "(", ")", ";", "shorten_branches", "(", "insn", ")", ";", "final_start_function", "(", "insn", ",", "file", ",", "1", ")", ";", "final", "(", "insn", ",", "file", ",", "1", ")", ";", "final_end_function", "(", ")", ";", "reload_completed", "=", "0", ";", "}", ""], "natrual_language": ["Implement", "TARGET_ASM_OUTPUT_MI_THUNK", "."], "TS_V_token": ["tilegx", "1", "1", "0", "32868", "32767", "29", "29", "32868", "32767", "28", "1", "0", "1", "1", "1", "0"], "File": "tilegx2", "Func": "tilegx_output_mi_thunk", "Target": "tilegx", "Target_Clf": "VLIW", "Compiler_Type": "GCC", "Idx": 2663, "Length": 391, "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": 2664, "Length": 44, "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": 2665, "Length": 169, "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": 2666, "Length": 266, "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": 2667, "Length": 40, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "int", "m32c_push_rounding", "(", "int", "n", ")", "{", "if", "(", "TARGET_R8C", "||", "TARGET_M16C", ")", "return", "n", ";", "return", "(", "n", "+", "1", ")", "&", "~", "1", ";", "}", ""], "natrual_language": ["Implements", "PUSH_ROUNDING", ".", "The", "R8C", "and", "M16C", "have", "byte", "stacks", ",", "the", "M32C", "has", "word", "stacks", "."], "TS_V_token": ["m32c", "1", "1"], "File": "m32c2", "Func": "m32c_push_rounding", "Target": "m32c", "Target_Clf": "MPU", "Compiler_Type": "GCC", "Idx": 2668, "Length": 27, "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": 2669, "Length": 65, "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": 2670, "Length": 490, "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": 2671, "Length": 377, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "unsigned", "int", "remove", "(", "void", ")", "{", "unsigned", "int", "cnt", "=", "Removables", ".", "size", "(", ")", ";", "for", "(", "std", "::", "set", "<", "MachineInstr", "*", ">", "::", "iterator", "I", "=", "Removables", ".", "begin", "(", ")", ",", "E", "=", "Removables", ".", "end", "(", ")", ";", "I", "!=", "E", ";", "++", "I", ")", "{", "DEBUG", "(", "dbgs", "(", ")", "<<", "\" \"", "<<", "*", "*", "I", ")", ";", "(", "*", "I", ")", "->", "eraseFromParent", "(", ")", ";", "}", "Removables", ".", "clear", "(", ")", ";", "return", "cnt", ";", "}", ""], "natrual_language": ["remove", "-", "Remove", "the", "specified", "key/value", "pair", "from", "the", "map", ",", "but", "do", "not", "erase", "it", "."], "TS_V_token": ["Patmos", "\" \""], "File": "PatmosSPReduce", "Func": "remove", "Target": "Patmos", "Target_Clf": "VLIW", "Compiler_Type": "LLVM", "Idx": 2672, "Length": 85, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "bool", "addRegAssignmentFast", "(", ")", "override", "{", "return", "false", ";", "}", ""], "natrual_language": ["Add", "core", "register", "alloator", "passes", "which", "do", "the", "actual", "register", "assignment", "and", "rewriting", "."], "TS_V_token": ["WebAssembly"], "File": "WebAssemblyTargetMachine16", "Func": "addRegAssignmentFast", "Target": "WebAssembly", "Target_Clf": "Virtual ISA", "Compiler_Type": "LLVM", "Idx": 2673, "Length": 10, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "static", "void", "microblaze_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", "(", "6", "*", "UNITS_PER_WORD", ")", ",", "BLOCK_OP_NORMAL", ")", ";", "mem", "=", "adjust_address", "(", "m_tramp", ",", "SImode", ",", "16", ")", ";", "emit_move_insn", "(", "mem", ",", "chain_value", ")", ";", "mem", "=", "adjust_address", "(", "m_tramp", ",", "SImode", ",", "20", ")", ";", "emit_move_insn", "(", "mem", ",", "fnaddr", ")", ";", "}", ""], "natrual_language": ["Implement", "TARGET_TRAMPOLINE_INIT", "."], "TS_V_token": ["microblaze", "0", "6", "16", "20"], "File": "microblaze", "Func": "microblaze_trampoline_init", "Target": "microblaze", "Target_Clf": "MPU", "Compiler_Type": "GCC", "Idx": 2674, "Length": 85, "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": 2675, "Length": 181, "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": 2676, "Length": 211, "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": 2677, "Length": 176, "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": 2678, "Length": 29, "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": 2679, "Length": 258, "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", "(", "NewSrc", ".", "isVirtual", "(", ")", "&&", "!", "MF", ".", "getRegInfo", "(", ")", ".", "constrainRegClass", "(", "NewSrc", ",", "RC", ")", ")", "return", "false", ";", "return", "true", ";", "}", "if", "(", "SrcReg", ".", "isPhysical", "(", ")", ")", "{", "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": "X86InstrInfo100", "Func": "classifyLEAReg", "Target": "X86", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 2680, "Length": 318, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "enum", "reg_class", "mips_secondary_reload_class", "(", "enum", "reg_class", "class", ",", "enum", "machine_mode", "mode", ",", "rtx", "x", ",", "int", "in_p", ")", "{", "enum", "reg_class", "gr_regs", "=", "TARGET_MIPS16", "?", "M16_REGS", ":", "GR_REGS", ";", "int", "regno", "=", "-", "1", ";", "int", "gp_reg_p", ";", "if", "(", "REG_P", "(", "x", ")", "||", "GET_CODE", "(", "x", ")", "==", "SUBREG", ")", "regno", "=", "true_regnum", "(", "x", ")", ";", "gp_reg_p", "=", "TARGET_MIPS16", "?", "M16_REG_P", "(", "regno", ")", ":", "GP_REG_P", "(", "regno", ")", ";", "if", "(", "mips_dangerous_for_la25_p", "(", "x", ")", ")", "{", "gr_regs", "=", "LEA_REGS", ";", "if", "(", "TEST_HARD_REG_BIT", "(", "reg_class_contents", "[", "(", "int", ")", "class", "]", ",", "25", ")", ")", "return", "gr_regs", ";", "}", "if", "(", "reg_class_subset_p", "(", "class", ",", "ACC_REGS", ")", ")", "{", "if", "(", "TARGET_MIPS16", "&&", "in_p", ")", "{", "return", "M16_REGS", ";", "}", "return", "gp_reg_p", "?", "NO_REGS", ":", "gr_regs", ";", "}", "if", "(", "ACC_REG_P", "(", "regno", ")", ")", "{", "if", "(", "TARGET_MIPS16", "&&", "!", "in_p", ")", "{", "return", "M16_REGS", ";", "}", "return", "class", "==", "gr_regs", "?", "NO_REGS", ":", "gr_regs", ";", "}", "if", "(", "class", "==", "ST_REGS", ")", "{", "if", "(", "in_p", ")", "return", "FP_REGS", ";", "return", "gp_reg_p", "?", "NO_REGS", ":", "gr_regs", ";", "}", "if", "(", "ST_REG_P", "(", "regno", ")", ")", "{", "if", "(", "!", "in_p", ")", "return", "FP_REGS", ";", "return", "class", "==", "gr_regs", "?", "NO_REGS", ":", "gr_regs", ";", "}", "if", "(", "class", "==", "FP_REGS", ")", "{", "if", "(", "MEM_P", "(", "x", ")", ")", "{", "return", "NO_REGS", ";", "}", "else", "if", "(", "CONSTANT_P", "(", "x", ")", "&&", "GET_MODE_CLASS", "(", "mode", ")", "==", "MODE_FLOAT", ")", "{", "return", "NO_REGS", ";", "}", "else", "if", "(", "gp_reg_p", "||", "x", "==", "CONST0_RTX", "(", "mode", ")", ")", "{", "return", "NO_REGS", ";", "}", "else", "if", "(", "FP_REG_P", "(", "regno", ")", ")", "{", "return", "NO_REGS", ";", "}", "else", "{", "return", "gr_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", "1", "25"], "File": "mips3", "Func": "mips_secondary_reload_class", "Target": "mips", "Target_Clf": "CPU", "Compiler_Type": "GCC", "Idx": 2681, "Length": 287, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "void", "SPUInstrInfo", "::", "loadRegFromStackSlot", "(", "MachineBasicBlock", "&", "MBB", ",", "MachineBasicBlock", "::", "iterator", "MI", ",", "unsigned", "DestReg", ",", "int", "FrameIdx", ",", "const", "TargetRegisterClass", "*", "RC", ")", "const", "{", "unsigned", "opc", ";", "bool", "isValidFrameIdx", "=", "(", "FrameIdx", "<", "SPUFrameInfo", "::", "maxFrameOffset", "(", ")", ")", ";", "if", "(", "RC", "==", "SPU", "::", "GPRCRegisterClass", ")", "{", "opc", "=", "(", "isValidFrameIdx", "?", "SPU", "::", "LQDr128", ":", "SPU", "::", "LQXr128", ")", ";", "}", "else", "if", "(", "RC", "==", "SPU", "::", "R64CRegisterClass", ")", "{", "opc", "=", "(", "isValidFrameIdx", "?", "SPU", "::", "LQDr64", ":", "SPU", "::", "LQXr64", ")", ";", "}", "else", "if", "(", "RC", "==", "SPU", "::", "R64FPRegisterClass", ")", "{", "opc", "=", "(", "isValidFrameIdx", "?", "SPU", "::", "LQDr64", ":", "SPU", "::", "LQXr64", ")", ";", "}", "else", "if", "(", "RC", "==", "SPU", "::", "R32CRegisterClass", ")", "{", "opc", "=", "(", "isValidFrameIdx", "?", "SPU", "::", "LQDr32", ":", "SPU", "::", "LQXr32", ")", ";", "}", "else", "if", "(", "RC", "==", "SPU", "::", "R32FPRegisterClass", ")", "{", "opc", "=", "(", "isValidFrameIdx", "?", "SPU", "::", "LQDr32", ":", "SPU", "::", "LQXr32", ")", ";", "}", "else", "if", "(", "RC", "==", "SPU", "::", "R16CRegisterClass", ")", "{", "opc", "=", "(", "isValidFrameIdx", "?", "SPU", "::", "LQDr16", ":", "SPU", "::", "LQXr16", ")", ";", "}", "else", "if", "(", "RC", "==", "SPU", "::", "R8CRegisterClass", ")", "{", "opc", "=", "(", "isValidFrameIdx", "?", "SPU", "::", "LQDr8", ":", "SPU", "::", "LQXr8", ")", ";", "}", "else", "if", "(", "RC", "==", "SPU", "::", "VECREGRegisterClass", ")", "{", "opc", "=", "(", "isValidFrameIdx", ")", "?", "SPU", "::", "LQDv16i8", ":", "SPU", "::", "LQXv16i8", ";", "}", "else", "{", "assert", "(", "0", "&&", "\"Unknown regclass in loadRegFromStackSlot!\"", ")", ";", "abort", "(", ")", ";", "}", "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": ["CellSPU", "SPU", "SPU", "SPU::GPRCRegisterClass", "SPU::LQDr128", "SPU::LQXr128", "SPU::R64CRegisterClass", "SPU::LQDr64", "SPU::LQXr64", "SPU::R64FPRegisterClass", "SPU::LQDr64", "SPU::LQXr64", "SPU::R32CRegisterClass", "SPU::LQDr32", "SPU::LQXr32", "SPU::R32FPRegisterClass", "SPU::LQDr32", "SPU::LQXr32", "SPU::R16CRegisterClass", "SPU::LQDr16", "SPU::LQXr16", "SPU::R8CRegisterClass", "SPU::LQDr8", "SPU::LQXr8", "SPU::VECREGRegisterClass", "SPU::LQDv16i8", "SPU::LQXv16i8", "0", "\"Unknown regclass in loadRegFromStackSlot!\""], "File": "SPUInstrInfo3", "Func": "loadRegFromStackSlot", "Target": "CellSPU", "Target_Clf": "MPU", "Compiler_Type": "LLVM", "Idx": 2682, "Length": 305, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "bool", "AMDGPUStructurizeCFG", "::", "doInitialization", "(", "Region", "*", "R", ",", "RGPassManager", "&", "RGM", ")", "{", "LLVMContext", "&", "Context", "=", "R", "->", "getEntry", "(", ")", "->", "getContext", "(", ")", ";", "Boolean", "=", "Type", "::", "getInt1Ty", "(", "Context", ")", ";", "BoolTrue", "=", "ConstantInt", "::", "getTrue", "(", "Context", ")", ";", "BoolFalse", "=", "ConstantInt", "::", "getFalse", "(", "Context", ")", ";", "BoolUndef", "=", "UndefValue", "::", "get", "(", "Boolean", ")", ";", "return", "false", ";", "}", ""], "natrual_language": ["Set", "up", "the", "AsmPrinter", "when", "we", "are", "working", "on", "a", "new", "module", "."], "TS_V_token": ["R600"], "File": "AMDGPUStructurizeCFG", "Func": "doInitialization", "Target": "R600", "Target_Clf": "GPU", "Compiler_Type": "LLVM", "Idx": 2683, "Length": 68, "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": 2684, "Length": 41, "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": 2685, "Length": 332, "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": 2686, "Length": 491, "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": 2687, "Length": 56, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "SDValue", "XCoreTargetLowering", "::", "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", ")", ";", "}", "}", ""], "natrual_language": ["This", "hook", "must", "be", "implemented", "to", "lower", "calls", "into", "the", "specified", "DAG", "."], "TS_V_token": ["XCore", "XCore", "ISD::OutputArg", "32", "32", "ISD::InputArg", "32", "\"Unsupported calling convention\""], "File": "XCoreISelLowering", "Func": "LowerCall", "Target": "XCore", "Target_Clf": "MPU", "Compiler_Type": "LLVM", "Idx": 2688, "Length": 171, "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": 2689, "Length": 101, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "static", "void", "nvptx_asm_declare_constant_name", "(", "FILE", "*", "file", ",", "const", "char", "*", "name", ",", "const_tree", "exp", ",", "HOST_WIDE_INT", "size", ")", "{", "tree", "type", "=", "TREE_TYPE", "(", "exp", ")", ";", "init_output_initializer", "(", "file", ",", "name", ",", "type", ",", "false", ")", ";", "fprintf", "(", "file", ",", "\"\\t.const .align %d .u%d \"", ",", "TYPE_ALIGN", "(", "TREE_TYPE", "(", "exp", ")", ")", "/", "BITS_PER_UNIT", ",", "decl_chunk_size", "*", "BITS_PER_UNIT", ")", ";", "assemble_name", "(", "file", ",", "name", ")", ";", "fprintf", "(", "file", ",", "\"[\"", "HOST_WIDE_INT_PRINT_DEC", "\"]\"", ",", "(", "size", "+", "decl_chunk_size", "-", "1", ")", "/", "decl_chunk_size", ")", ";", "object_size", "=", "size", ";", "}", ""], "natrual_language": ["Implement", "TARGET_ASM_DECLARE_CONSTANT_NAME", ".", "Begin", "the", "process", "of", "writing", "a", "constant", "variable", "EXP", "with", "NAME", "and", "SIZE", "and", "its", "initializer", "to", "FILE", "."], "TS_V_token": ["nvptx", "\"\\t.const .align %d .u%d \"", "\"[\"", "\"]\"", "1"], "File": "nvptx2", "Func": "nvptx_asm_declare_constant_name", "Target": "nvptx", "Target_Clf": "GPU", "Compiler_Type": "GCC", "Idx": 2690, "Length": 91, "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": 2691, "Length": 465, "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": 2692, "Length": 35, "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", "(", ")", ";", "Register", "ExtReg", "=", "extendRegister", "(", "ValVReg", ",", "VA", ")", ";", "auto", "*", "MMO", "=", "MF", ".", "getMachineMemOperand", "(", "MPO", ",", "MachineMemOperand", "::", "MOStore", ",", "MemTy", ",", "inferAlignFromPtrInfo", "(", "MF", ",", "MPO", ")", ")", ";", "MIRBuilder", ".", "buildStore", "(", "ExtReg", ",", "Addr", ",", "*", "MMO", ")", ";", "}", ""], "natrual_language": ["An", "overload", "which", "takes", "an", "ArgInfo", "if", "additional", "information", "about", "the", "arg", "is", "needed", "."], "TS_V_token": ["M68k"], "File": "M68kCallLowering1", "Func": "assignValueToAddress", "Target": "M68k", "Target_Clf": "MPU", "Compiler_Type": "LLVM", "Idx": 2693, "Length": 79, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "bool", "MSP430AsmPrinter", "::", "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": ["MSP430", "MSP430", "0"], "File": "MSP430AsmPrinter (2)", "Func": "PrintAsmMemoryOperand", "Target": "MSP430", "Target_Clf": "MPU", "Compiler_Type": "LLVM", "Idx": 2694, "Length": 53, "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": 2695, "Length": 90, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "bool", "HexagonMCInstrInfo", "::", "isVector", "(", "MCInstrInfo", "const", "&", "MCII", ",", "MCInst", "const", "&", "MCI", ")", "{", "if", "(", "(", "getType", "(", "MCII", ",", "MCI", ")", "<=", "HexagonII", "::", "TypeCVI_LAST", ")", "&&", "(", "getType", "(", "MCII", ",", "MCI", ")", ">=", "HexagonII", "::", "TypeCVI_FIRST", ")", ")", "return", "true", ";", "return", "false", ";", "}", ""], "natrual_language": ["Vector", "instructions", "are", "instructions", "that", "must", "fill", "all", "instruction", "slots", "within", "an", "instruction", "group", "."], "TS_V_token": ["Hexagon", "Hexagon", "HexagonII::TypeCVI_LAST", "HexagonII::TypeCVI_FIRST"], "File": "HexagonMCInstrInfo (2)1", "Func": "isVector", "Target": "Hexagon", "Target_Clf": "DSP", "Compiler_Type": "LLVM", "Idx": 2696, "Length": 51, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "NVPTXSubtarget", "::", "NVPTXSubtarget", "(", "const", "std", "::", "string", "&", "TT", ",", "const", "std", "::", "string", "&", "CPU", ",", "const", "std", "::", "string", "&", "FS", ",", "const", "NVPTXTargetMachine", "&", "TM", ")", ":", "NVPTXGenSubtargetInfo", "(", "TT", ",", "CPU", ",", "FS", ")", ",", "PTXVersion", "(", "0", ")", ",", "SmVersion", "(", "20", ")", ",", "TM", "(", "TM", ")", ",", "InstrInfo", "(", ")", ",", "TLInfo", "(", "TM", ",", "initializeSubtargetDependencies", "(", "CPU", ",", "FS", ")", ")", ",", "TSInfo", "(", "TM", ".", "getDataLayout", "(", ")", ")", ",", "FrameLowering", "(", ")", "{", "}", ""], "natrual_language": ["This", "constructor", "initializes", "the", "data", "members", "to", "match", "that", "of", "the", "specified", "module", "."], "TS_V_token": ["NVPTX", "NVPTX", "NVPTX", "NVPTX", "NVPTX", "0", "20"], "File": "NVPTXSubtarget5", "Func": "NVPTXSubtarget", "Target": "NVPTX", "Target_Clf": "GPU", "Compiler_Type": "LLVM", "Idx": 2697, "Length": 85, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "static", "bool", "cris_rtx_costs", "(", "rtx", "x", ",", "machine_mode", "mode", ",", "int", "outer_code", ",", "int", "opno", ",", "int", "*", "total", ",", "bool", "speed", ")", "{", "int", "code", "=", "GET_CODE", "(", "x", ")", ";", "switch", "(", "code", ")", "{", "case", "CONST_INT", ":", "{", "HOST_WIDE_INT", "val", "=", "INTVAL", "(", "x", ")", ";", "if", "(", "val", "==", "0", ")", "*", "total", "=", "0", ";", "else", "if", "(", "val", "<", "32", "&&", "val", ">=", "-", "32", ")", "*", "total", "=", "1", ";", "else", "if", "(", "val", "<=", "32767", "&&", "val", ">=", "-", "32768", ")", "*", "total", "=", "2", ";", "else", "*", "total", "=", "4", ";", "return", "true", ";", "}", "case", "LABEL_REF", ":", "*", "total", "=", "6", ";", "return", "true", ";", "case", "CONST", ":", "case", "SYMBOL_REF", ":", "*", "total", "=", "6", ";", "return", "true", ";", "case", "CONST_DOUBLE", ":", "if", "(", "x", "!=", "CONST0_RTX", "(", "mode", "==", "VOIDmode", "?", "DImode", ":", "mode", ")", ")", "*", "total", "=", "12", ";", "else", "*", "total", "=", "0", ";", "return", "true", ";", "case", "MULT", ":", "if", "(", "outer_code", "==", "PLUS", "&&", "cris_biap_index_p", "(", "x", ",", "false", ")", ")", "{", "*", "total", "=", "0", ";", "return", "true", ";", "}", "if", "(", "!", "CONST_INT_P", "(", "XEXP", "(", "x", ",", "1", ")", ")", "||", "exact_log2", "(", "INTVAL", "(", "XEXP", "(", "x", ",", "1", ")", ")", "<", "0", ")", ")", "{", "if", "(", "TARGET_HAS_MUL_INSNS", ")", "{", "*", "total", "=", "COSTS_N_INSNS", "(", "1", ")", "+", "COSTS_N_INSNS", "(", "1", ")", "/", "2", ";", "return", "true", ";", "}", "*", "total", "=", "COSTS_N_INSNS", "(", "132", ")", ";", "return", "true", ";", "}", "return", "false", ";", "case", "UDIV", ":", "case", "MOD", ":", "case", "UMOD", ":", "case", "DIV", ":", "if", "(", "!", "CONST_INT_P", "(", "XEXP", "(", "x", ",", "1", ")", ")", "||", "exact_log2", "(", "INTVAL", "(", "XEXP", "(", "x", ",", "1", ")", ")", "<", "0", ")", ")", "{", "*", "total", "=", "COSTS_N_INSNS", "(", "260", ")", ";", "return", "true", ";", "}", "return", "false", ";", "case", "AND", ":", "if", "(", "CONST_INT_P", "(", "XEXP", "(", "x", ",", "1", ")", ")", "&&", "!", "CONST_INT_P", "(", "XEXP", "(", "x", ",", "0", ")", ")", "&&", "!", "satisfies_constraint_I", "(", "XEXP", "(", "x", ",", "1", ")", ")", ")", "{", "*", "total", "=", "(", "rtx_cost", "(", "XEXP", "(", "x", ",", "0", ")", ",", "mode", ",", "(", "enum", "rtx_code", ")", "outer_code", ",", "opno", ",", "speed", ")", "+", "2", "+", "2", "*", "GET_MODE_NUNITS", "(", "mode", ")", ")", ";", "return", "true", ";", "}", "return", "false", ";", "case", "ZERO_EXTRACT", ":", "if", "(", "reload_completed", ")", "{", "if", "(", "outer_code", "!=", "COMPARE", ")", "return", "false", ";", "}", "else", "switch", "(", "outer_code", ")", "{", "case", "EQ", ":", "case", "NE", ":", "case", "LT", ":", "case", "LTU", ":", "case", "LE", ":", "case", "LEU", ":", "case", "GT", ":", "case", "GTU", ":", "case", "GE", ":", "case", "GEU", ":", "break", ";", "default", ":", "return", "false", ";", "}", "case", "ZERO_EXTEND", ":", "case", "SIGN_EXTEND", ":", "*", "total", "=", "rtx_cost", "(", "XEXP", "(", "x", ",", "0", ")", ",", "VOIDmode", ",", "(", "enum", "rtx_code", ")", "outer_code", ",", "opno", ",", "speed", ")", ";", "return", "true", ";", "default", ":", "return", "false", ";", "}", "}", ""], "natrual_language": ["Compute", "a", "(", "partial", ")", "cost", "for", "rtx", "X", ".", "Return", "true", "if", "the", "complete", "cost", "has", "been", "computed", ",", "and", "false", "if", "subexpressions", "should", "be", "scanned", ".", "In", "either", "case", ",", "*", "TOTAL", "contains", "the", "cost", "result", "."], "TS_V_token": ["cris", "0", "0", "32", "32", "1", "32767", "32768", "2", "4", "6", "6", "12", "0", "0", "1", "1", "0", "1", "1", "2", "132", "1", "1", "0", "260", "1", "0", "1", "0", "2", "2", "0"], "File": "cris", "Func": "cris_rtx_costs", "Target": "cris", "Target_Clf": "MPU", "Compiler_Type": "GCC", "Idx": 2698, "Length": 495, "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", "=", "sext_hwi", "(", "offset", ",", "16", ")", ";", "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", "16"], "File": "rs60001", "Func": "mem_operand_gpr", "Target": "rs6000", "Target_Clf": "CPU", "Compiler_Type": "GCC", "Idx": 2699, "Length": 204, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "void", "SIInstrInfo", "::", "legalizeOperandsVOP2", "(", "MachineRegisterInfo", "&", "MRI", ",", "MachineInstr", "&", "MI", ")", "const", "{", "unsigned", "Opc", "=", "MI", ".", "getOpcode", "(", ")", ";", "const", "MCInstrDesc", "&", "InstrDesc", "=", "get", "(", "Opc", ")", ";", "int", "Src1Idx", "=", "AMDGPU", "::", "getNamedOperandIdx", "(", "Opc", ",", "AMDGPU", "::", "OpName", "::", "src1", ")", ";", "MachineOperand", "&", "Src1", "=", "MI", ".", "getOperand", "(", "Src1Idx", ")", ";", "bool", "HasImplicitSGPR", "=", "findImplicitSGPRRead", "(", "MI", ")", "!=", "AMDGPU", "::", "NoRegister", ";", "if", "(", "HasImplicitSGPR", ")", "{", "int", "Src0Idx", "=", "AMDGPU", "::", "getNamedOperandIdx", "(", "Opc", ",", "AMDGPU", "::", "OpName", "::", "src0", ")", ";", "MachineOperand", "&", "Src0", "=", "MI", ".", "getOperand", "(", "Src0Idx", ")", ";", "if", "(", "Src0", ".", "isReg", "(", ")", "&&", "RI", ".", "isSGPRReg", "(", "MRI", ",", "Src0", ".", "getReg", "(", ")", ")", ")", "legalizeOpWithMove", "(", "MI", ",", "Src0Idx", ")", ";", "}", "if", "(", "isLegalRegOperand", "(", "MRI", ",", "InstrDesc", ".", "OpInfo", "[", "Src1Idx", "]", ",", "Src1", ")", ")", "return", ";", "if", "(", "HasImplicitSGPR", "||", "!", "MI", ".", "isCommutable", "(", ")", ")", "{", "legalizeOpWithMove", "(", "MI", ",", "Src1Idx", ")", ";", "return", ";", "}", "int", "Src0Idx", "=", "AMDGPU", "::", "getNamedOperandIdx", "(", "Opc", ",", "AMDGPU", "::", "OpName", "::", "src0", ")", ";", "MachineOperand", "&", "Src0", "=", "MI", ".", "getOperand", "(", "Src0Idx", ")", ";", "if", "(", "(", "!", "Src1", ".", "isImm", "(", ")", "&&", "!", "Src1", ".", "isReg", "(", ")", ")", "||", "!", "isLegalRegOperand", "(", "MRI", ",", "InstrDesc", ".", "OpInfo", "[", "Src1Idx", "]", ",", "Src0", ")", ")", "{", "legalizeOpWithMove", "(", "MI", ",", "Src1Idx", ")", ";", "return", ";", "}", "int", "CommutedOpc", "=", "commuteOpcode", "(", "MI", ")", ";", "if", "(", "CommutedOpc", "==", "-", "1", ")", "{", "legalizeOpWithMove", "(", "MI", ",", "Src1Idx", ")", ";", "return", ";", "}", "MI", ".", "setDesc", "(", "get", "(", "CommutedOpc", ")", ")", ";", "unsigned", "Src0Reg", "=", "Src0", ".", "getReg", "(", ")", ";", "unsigned", "Src0SubReg", "=", "Src0", ".", "getSubReg", "(", ")", ";", "bool", "Src0Kill", "=", "Src0", ".", "isKill", "(", ")", ";", "if", "(", "Src1", ".", "isImm", "(", ")", ")", "Src0", ".", "ChangeToImmediate", "(", "Src1", ".", "getImm", "(", ")", ")", ";", "else", "if", "(", "Src1", ".", "isReg", "(", ")", ")", "{", "Src0", ".", "ChangeToRegister", "(", "Src1", ".", "getReg", "(", ")", ",", "false", ",", "false", ",", "Src1", ".", "isKill", "(", ")", ")", ";", "Src0", ".", "setSubReg", "(", "Src1", ".", "getSubReg", "(", ")", ")", ";", "}", "else", "llvm_unreachable", "(", "\"Should only have register or immediate operands\"", ")", ";", "Src1", ".", "ChangeToRegister", "(", "Src0Reg", ",", "false", ",", "false", ",", "Src0Kill", ")", ";", "Src1", ".", "setSubReg", "(", "Src0SubReg", ")", ";", "}", ""], "natrual_language": ["Legalize", "operands", "in", "MI", "by", "either", "commuting", "it", "or", "inserting", "a", "copy", "of", "src1", "."], "TS_V_token": ["AMDGPU", "SI", "AMDGPU::getNamedOperandIdx", "AMDGPU::OpName", "AMDGPU::NoRegister", "AMDGPU::getNamedOperandIdx", "AMDGPU::OpName", "AMDGPU::getNamedOperandIdx", "AMDGPU::OpName", "1", "\"Should only have register or immediate operands\""], "File": "SIInstrInfo100", "Func": "legalizeOperandsVOP2", "Target": "AMDGPU", "Target_Clf": "GPU", "Compiler_Type": "LLVM", "Idx": 2700, "Length": 397, "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": 2701, "Length": 334, "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": 2702, "Length": 189, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "BitVector", "X86RegisterInfo", "::", "getReservedRegs", "(", "const", "MachineFunction", "&", "MF", ")", "const", "{", "BitVector", "Reserved", "(", "getNumRegs", "(", ")", ")", ";", "const", "X86FrameLowering", "*", "TFI", "=", "getFrameLowering", "(", "MF", ")", ";", "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", "(", "MF", ",", "CC", ")", ";", "if", "(", "MachineOperand", "::", "clobbersPhysReg", "(", "RegMask", ",", "getBaseRegister", "(", ")", ")", ")", "report_fatal_error", "(", "\"Stack realignment in presence of dynamic allocas is not supported with\"", "\"this calling convention.\"", ")", ";", "unsigned", "BasePtr", "=", "getX86SubSuperRegister", "(", "getBaseRegister", "(", ")", ",", "64", ")", ";", "for", "(", "MCSubRegIterator", "I", "(", "BasePtr", ",", "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", "||", "!", "MF", ".", "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", "X86::RSP", "X86::RIP", "X86::RBP", "\"Stack realignment in presence of dynamic allocas is not supported with\"", "\"this calling convention.\"", "X86", "64", "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": "X86RegisterInfo (2)4", "Func": "getReservedRegs", "Target": "X86", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 2703, "Length": 508, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "virtual", "const", "PIC16RegisterInfo", "&", "getRegisterInfo", "(", ")", "const", "{", "return", "RegInfo", ";", "}", ""], "natrual_language": ["getRegisterInfo", "-", "TargetInstrInfo", "is", "a", "superset", "of", "MRegister", "info", "."], "TS_V_token": ["PIC16", "PIC16"], "File": "PIC16InstrInfo", "Func": "getRegisterInfo", "Target": "PIC16", "Target_Clf": "MPU", "Compiler_Type": "LLVM", "Idx": 2704, "Length": 13, "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": 2705, "Length": 14, "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": 2706, "Length": 255, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "void", "HexagonCommonGEP", "::", "materialize", "(", "NodeToValueMap", "&", "Loc", ")", "{", "DEBUG", "(", "dbgs", "(", ")", "<<", "\"Nodes before materialization:\\n\"", "<<", "Nodes", "<<", "'\\n'", ")", ";", "NodeChildrenMap", "NCM", ";", "NodeVect", "Roots", ";", "invert_find_roots", "(", "Nodes", ",", "NCM", ",", "Roots", ")", ";", "while", "(", "!", "Roots", ".", "empty", "(", ")", ")", "{", "NodeVect", "::", "iterator", "First", "=", "Roots", ".", "begin", "(", ")", ";", "GepNode", "*", "Root", "=", "*", "First", ",", "*", "Last", "=", "*", "First", ";", "Roots", ".", "erase", "(", "First", ")", ";", "NodeVect", "NA", ";", "bool", "LastUsed", "=", "false", ";", "unsigned", "LastCN", "=", "0", ";", "Value", "*", "LocV", "=", "Loc", "[", "Last", "]", ";", "if", "(", "!", "LocV", ")", "continue", ";", "BasicBlock", "*", "LastB", "=", "cast", "<", "BasicBlock", ">", "(", "LocV", ")", ";", "do", "{", "NA", ".", "push_back", "(", "Last", ")", ";", "LastUsed", "=", "(", "Last", "->", "Flags", "&", "GepNode", "::", "Used", ")", ";", "if", "(", "LastUsed", ")", "break", ";", "NodeChildrenMap", "::", "iterator", "CF", "=", "NCM", ".", "find", "(", "Last", ")", ";", "LastCN", "=", "(", "CF", "!=", "NCM", ".", "end", "(", ")", ")", "?", "CF", "->", "second", ".", "size", "(", ")", ":", "0", ";", "if", "(", "LastCN", "!=", "1", ")", "break", ";", "GepNode", "*", "Child", "=", "CF", "->", "second", ".", "front", "(", ")", ";", "BasicBlock", "*", "ChildB", "=", "cast_or_null", "<", "BasicBlock", ">", "(", "Loc", "[", "Child", "]", ")", ";", "if", "(", "ChildB", "!=", "0", "&&", "LastB", "!=", "ChildB", ")", "break", ";", "Last", "=", "Child", ";", "}", "while", "(", "true", ")", ";", "BasicBlock", "::", "iterator", "InsertAt", "=", "LastB", "->", "getTerminator", "(", ")", "->", "getIterator", "(", ")", ";", "if", "(", "LastUsed", "||", "LastCN", ">", "0", ")", "{", "ValueVect", "Urs", ";", "getAllUsersForNode", "(", "Root", ",", "Urs", ",", "NCM", ")", ";", "BasicBlock", "::", "iterator", "FirstUse", "=", "first_use_of_in_block", "(", "Urs", ",", "LastB", ")", ";", "if", "(", "FirstUse", "!=", "LastB", "->", "end", "(", ")", ")", "InsertAt", "=", "FirstUse", ";", "}", "Value", "*", "NewInst", "=", "fabricateGEP", "(", "NA", ",", "InsertAt", ",", "LastB", ")", ";", "if", "(", "LastCN", ">", "0", ")", "{", "NodeVect", "&", "Cs", "=", "NCM", "[", "Last", "]", ";", "for", "(", "NodeVect", "::", "iterator", "I", "=", "Cs", ".", "begin", "(", ")", ",", "E", "=", "Cs", ".", "end", "(", ")", ";", "I", "!=", "E", ";", "++", "I", ")", "{", "GepNode", "*", "CN", "=", "*", "I", ";", "CN", "->", "Flags", "&=", "~", "GepNode", "::", "Internal", ";", "CN", "->", "Flags", "|=", "GepNode", "::", "Root", ";", "CN", "->", "BaseVal", "=", "NewInst", ";", "Roots", ".", "push_back", "(", "CN", ")", ";", "}", "}", "if", "(", "LastUsed", ")", "{", "NodeToUsesMap", "::", "iterator", "UF", "=", "Uses", ".", "find", "(", "Last", ")", ";", "assert", "(", "UF", "!=", "Uses", ".", "end", "(", ")", "&&", "\"No use information found\"", ")", ";", "UseSet", "&", "Us", "=", "UF", "->", "second", ";", "for", "(", "UseSet", "::", "iterator", "I", "=", "Us", ".", "begin", "(", ")", ",", "E", "=", "Us", ".", "end", "(", ")", ";", "I", "!=", "E", ";", "++", "I", ")", "{", "Use", "*", "U", "=", "*", "I", ";", "U", "->", "set", "(", "NewInst", ")", ";", "}", "}", "}", "}", ""], "natrual_language": ["This", "method", "can", "be", "implemented", "to", "generate", "a", "mapped", "Value", "on", "demand", "."], "TS_V_token": ["Hexagon", "Hexagon", "\"Nodes before materialization:\\n\"", "0", "0", "1", "0", "0", "0", "\"No use information found\""], "File": "HexagonCommonGEP", "Func": "materialize", "Target": "Hexagon", "Target_Clf": "DSP", "Compiler_Type": "LLVM", "Idx": 2707, "Length": 483, "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": 2708, "Length": 57, "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": 2709, "Length": 18, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "unsigned", "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": "X86ISelLowering101", "Func": "getByValTypeAlignment", "Target": "X86", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 2710, "Length": 81, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "void", "ARCDAGToDAGISel", "::", "Select", "(", "SDNode", "*", "N", ")", "{", "switch", "(", "N", "->", "getOpcode", "(", ")", ")", "{", "case", "ISD", "::", "Constant", ":", "{", "uint64_t", "CVal", "=", "cast", "<", "ConstantSDNode", ">", "(", "N", ")", "->", "getZExtValue", "(", ")", ";", "ReplaceNode", "(", "N", ",", "CurDAG", "->", "getMachineNode", "(", "isInt", "<", "12", ">", "(", "CVal", ")", "?", "ARC", "::", "MOV_rs12", ":", "ARC", "::", "MOV_rlimm", ",", "SDLoc", "(", "N", ")", ",", "MVT", "::", "i32", ",", "CurDAG", "->", "getTargetConstant", "(", "CVal", ",", "SDLoc", "(", "N", ")", ",", "MVT", "::", "i32", ")", ")", ")", ";", "return", ";", "}", "}", "SelectCode", "(", "N", ")", ";", "}", ""], "natrual_language": ["Main", "hook", "for", "targets", "to", "transform", "nodes", "into", "machine", "nodes", "."], "TS_V_token": ["ARC", "ARC", "ISD::Constant", "12", "ARC::MOV_rs12", "ARC::MOV_rlimm", "MVT::i32", "MVT::i32"], "File": "ARCISelDAGToDAG", "Func": "Select", "Target": "ARC", "Target_Clf": "MPU", "Compiler_Type": "LLVM", "Idx": 2711, "Length": 101, "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": 2712, "Length": 129, "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": "LEGFrameLowering", "Func": "hasFP", "Target": "LEG", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 2713, "Length": 37, "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": 2714, "Length": 39, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "bool", "X86TTIImpl", "::", "isLegalMaskedStore", "(", "Type", "*", "DataType", ",", "MaybeAlign", "Alignment", ")", "{", "return", "isLegalMaskedLoad", "(", "DataType", ",", "Alignment", ")", ";", "}", ""], "natrual_language": ["Return", "true", "if", "the", "target", "supports", "masked", "store", "."], "TS_V_token": ["X86", "X86"], "File": "X86TargetTransformInfo100", "Func": "isLegalMaskedStore", "Target": "X86", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 2715, "Length": 22, "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": 2716, "Length": 177, "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": ["TVM"], "File": "TVMPeephole", "Func": "getAnalysisUsage", "Target": "TVM", "Target_Clf": "Virtual ISA", "Compiler_Type": "LLVM", "Idx": 2717, "Length": 24, "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": 2718, "Length": 292, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "static", "rtx", "mips_builtin_branch_and_move", "(", "rtx", "condition", ",", "rtx", "target", ",", "rtx", "value_if_true", ",", "rtx", "value_if_false", ")", "{", "rtx_code_label", "*", "true_label", ",", "*", "done_label", ";", "true_label", "=", "gen_label_rtx", "(", ")", ";", "done_label", "=", "gen_label_rtx", "(", ")", ";", "mips_emit_move", "(", "target", ",", "value_if_false", ")", ";", "emit_jump_insn", "(", "gen_condjump", "(", "condition", ",", "true_label", ")", ")", ";", "emit_jump_insn", "(", "gen_jump", "(", "done_label", ")", ")", ";", "emit_barrier", "(", ")", ";", "emit_label", "(", "true_label", ")", ";", "mips_emit_move", "(", "target", ",", "value_if_true", ")", ";", "emit_label", "(", "done_label", ")", ";", "return", "target", ";", "}", ""], "natrual_language": ["Move", "VALUE_IF_TRUE", "into", "TARGET", "if", "CONDITION", "is", "true", ";", "move", "VALUE_IF_FALSE", "into", "TARGET", "otherwise", ".", "Return", "TARGET", "."], "TS_V_token": ["mips"], "File": "mips", "Func": "mips_builtin_branch_and_move", "Target": "mips", "Target_Clf": "CPU", "Compiler_Type": "GCC", "Idx": 2719, "Length": 86, "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": 2720, "Length": 42, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "TargetPassConfig", "*", "M68kTargetMachine", "::", "createPassConfig", "(", "PassManagerBase", "&", "PM", ")", "{", "return", "new", "M68kPassConfig", "(", "*", "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": ["M68k", "M68k", "M68k"], "File": "M68kTargetMachine", "Func": "createPassConfig", "Target": "M68k", "Target_Clf": "MPU", "Compiler_Type": "LLVM", "Idx": 2721, "Length": 22, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "void", "SIFrameLowering", "::", "processFunctionBeforeFrameFinalized", "(", "MachineFunction", "&", "MF", ",", "RegScavenger", "*", "RS", ")", "const", "{", "MachineFrameInfo", "&", "MFI", "=", "MF", ".", "getFrameInfo", "(", ")", ";", "const", "GCNSubtarget", "&", "ST", "=", "MF", ".", "getSubtarget", "<", "GCNSubtarget", ">", "(", ")", ";", "const", "SIInstrInfo", "*", "TII", "=", "ST", ".", "getInstrInfo", "(", ")", ";", "const", "SIRegisterInfo", "*", "TRI", "=", "ST", ".", "getRegisterInfo", "(", ")", ";", "MachineRegisterInfo", "&", "MRI", "=", "MF", ".", "getRegInfo", "(", ")", ";", "SIMachineFunctionInfo", "*", "FuncInfo", "=", "MF", ".", "getInfo", "<", "SIMachineFunctionInfo", ">", "(", ")", ";", "const", "bool", "SpillVGPRToAGPR", "=", "ST", ".", "hasMAIInsts", "(", ")", "&&", "FuncInfo", "->", "hasSpilledVGPRs", "(", ")", "&&", "EnableSpillVGPRToAGPR", ";", "if", "(", "SpillVGPRToAGPR", ")", "{", "BitVector", "SpillFIs", "(", "MFI", ".", "getObjectIndexEnd", "(", ")", ",", "false", ")", ";", "bool", "SeenDbgInstr", "=", "false", ";", "for", "(", "MachineBasicBlock", "&", "MBB", ":", "MF", ")", "{", "MachineBasicBlock", "::", "iterator", "Next", ";", "for", "(", "auto", "I", "=", "MBB", ".", "begin", "(", ")", ",", "E", "=", "MBB", ".", "end", "(", ")", ";", "I", "!=", "E", ";", "I", "=", "Next", ")", "{", "MachineInstr", "&", "MI", "=", "*", "I", ";", "Next", "=", "std", "::", "next", "(", "I", ")", ";", "if", "(", "MI", ".", "isDebugInstr", "(", ")", ")", "SeenDbgInstr", "=", "true", ";", "if", "(", "TII", "->", "isVGPRSpill", "(", "MI", ")", ")", "{", "unsigned", "FIOp", "=", "AMDGPU", "::", "getNamedOperandIdx", "(", "MI", ".", "getOpcode", "(", ")", ",", "AMDGPU", "::", "OpName", "::", "vaddr", ")", ";", "int", "FI", "=", "MI", ".", "getOperand", "(", "FIOp", ")", ".", "getIndex", "(", ")", ";", "Register", "VReg", "=", "TII", "->", "getNamedOperand", "(", "MI", ",", "AMDGPU", "::", "OpName", "::", "vdata", ")", "->", "getReg", "(", ")", ";", "if", "(", "FuncInfo", "->", "allocateVGPRSpillToAGPR", "(", "MF", ",", "FI", ",", "TRI", "->", "isAGPR", "(", "MRI", ",", "VReg", ")", ")", ")", "{", "RS", "->", "enterBasicBlock", "(", "MBB", ")", ";", "TRI", "->", "eliminateFrameIndex", "(", "MI", ",", "0", ",", "FIOp", ",", "RS", ")", ";", "SpillFIs", ".", "set", "(", "FI", ")", ";", "continue", ";", "}", "}", "}", "}", "for", "(", "MachineBasicBlock", "&", "MBB", ":", "MF", ")", "{", "for", "(", "MCPhysReg", "Reg", ":", "FuncInfo", "->", "getVGPRSpillAGPRs", "(", ")", ")", "MBB", ".", "addLiveIn", "(", "Reg", ")", ";", "for", "(", "MCPhysReg", "Reg", ":", "FuncInfo", "->", "getAGPRSpillVGPRs", "(", ")", ")", "MBB", ".", "addLiveIn", "(", "Reg", ")", ";", "MBB", ".", "sortUniqueLiveIns", "(", ")", ";", "if", "(", "!", "SpillFIs", ".", "empty", "(", ")", "&&", "SeenDbgInstr", ")", "{", "for", "(", "MachineInstr", "&", "MI", ":", "MBB", ")", "{", "if", "(", "MI", ".", "isDebugValue", "(", ")", "&&", "MI", ".", "getOperand", "(", "0", ")", ".", "isFI", "(", ")", "&&", "SpillFIs", "[", "MI", ".", "getOperand", "(", "0", ")", ".", "getIndex", "(", ")", "]", ")", "{", "MI", ".", "getOperand", "(", "0", ")", ".", "ChangeToRegister", "(", "Register", "(", ")", ",", "false", ")", ";", "MI", ".", "getOperand", "(", "0", ")", ".", "setIsDebug", "(", ")", ";", "}", "}", "}", "}", "}", "FuncInfo", "->", "removeDeadFrameIndices", "(", "MFI", ")", ";", "assert", "(", "allSGPRSpillsAreDead", "(", "MF", ")", "&&", "\"SGPR spill should have been removed in SILowerSGPRSpills\"", ")", ";", "if", "(", "!", "allStackObjectsAreDead", "(", "MFI", ")", ")", "{", "assert", "(", "RS", "&&", "\"RegScavenger required if spilling\"", ")", ";", "RS", "->", "addScavengingFrameIndex", "(", "FuncInfo", "->", "getScavengeFI", "(", "MFI", ",", "*", "TRI", ")", ")", ";", "}", "}", ""], "natrual_language": ["processFunctionBeforeFrameFinalized", "-", "This", "method", "is", "called", "immediately", "before", "the", "specified", "function", "'s", "frame", "layout", "(", "MF.getFrameInfo", "(", ")", ")", "is", "finalized", "."], "TS_V_token": ["AMDGPU", "SI", "SI", "SI", "SI", "SI", "AMDGPU::getNamedOperandIdx", "AMDGPU::OpName", "AMDGPU::OpName", "0", "0", "0", "0", "0", "\"SGPR spill should have been removed in SILowerSGPRSpills\"", "\"RegScavenger required if spilling\""], "File": "SIFrameLowering22", "Func": "processFunctionBeforeFrameFinalized", "Target": "AMDGPU", "Target_Clf": "GPU", "Compiler_Type": "LLVM", "Idx": 2722, "Length": 500, "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": 2723, "Length": 61, "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": 2724, "Length": 374, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "bool", "MSP430DAGToDAGISel", "::", "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": ["MSP430", "MSP430"], "File": "MSP430ISelDAGToDAG22", "Func": "SelectInlineAsmMemoryOperand", "Target": "MSP430", "Target_Clf": "MPU", "Compiler_Type": "LLVM", "Idx": 2725, "Length": 77, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "StringRef", "getPassName", "(", ")", "const", "override", "{", "return", "\"Define undefs in store instructions\"", ";", "}", ""], "natrual_language": ["getPassName", "-", "Return", "a", "nice", "clean", "name", "for", "a", "pass", "."], "TS_V_token": ["TVM", "\"Define undefs in store instructions\""], "File": "TVMDefineUndef", "Func": "getPassName", "Target": "TVM", "Target_Clf": "Virtual ISA", "Compiler_Type": "LLVM", "Idx": 2726, "Length": 11, "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": 2727, "Length": 48, "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": 2728, "Length": 356, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "SDValue", "WebAssemblyTargetLowering", "::", "LowerOperation", "(", "SDValue", "Op", ",", "SelectionDAG", "&", "DAG", ")", "const", "{", "SDLoc", "DL", "(", "Op", ")", ";", "switch", "(", "Op", ".", "getOpcode", "(", ")", ")", "{", "default", ":", "llvm_unreachable", "(", "\"unimplemented operation lowering\"", ")", ";", "return", "SDValue", "(", ")", ";", "case", "ISD", "::", "FrameIndex", ":", "return", "LowerFrameIndex", "(", "Op", ",", "DAG", ")", ";", "case", "ISD", "::", "GlobalAddress", ":", "return", "LowerGlobalAddress", "(", "Op", ",", "DAG", ")", ";", "case", "ISD", "::", "GlobalTLSAddress", ":", "return", "LowerGlobalTLSAddress", "(", "Op", ",", "DAG", ")", ";", "case", "ISD", "::", "ExternalSymbol", ":", "return", "LowerExternalSymbol", "(", "Op", ",", "DAG", ")", ";", "case", "ISD", "::", "JumpTable", ":", "return", "LowerJumpTable", "(", "Op", ",", "DAG", ")", ";", "case", "ISD", "::", "BR_JT", ":", "return", "LowerBR_JT", "(", "Op", ",", "DAG", ")", ";", "case", "ISD", "::", "VASTART", ":", "return", "LowerVASTART", "(", "Op", ",", "DAG", ")", ";", "case", "ISD", "::", "BlockAddress", ":", "case", "ISD", "::", "BRIND", ":", "fail", "(", "DL", ",", "DAG", ",", "\"WebAssembly hasn't implemented computed gotos\"", ")", ";", "return", "SDValue", "(", ")", ";", "case", "ISD", "::", "RETURNADDR", ":", "return", "LowerRETURNADDR", "(", "Op", ",", "DAG", ")", ";", "case", "ISD", "::", "FRAMEADDR", ":", "return", "LowerFRAMEADDR", "(", "Op", ",", "DAG", ")", ";", "case", "ISD", "::", "CopyToReg", ":", "return", "LowerCopyToReg", "(", "Op", ",", "DAG", ")", ";", "case", "ISD", "::", "EXTRACT_VECTOR_ELT", ":", "case", "ISD", "::", "INSERT_VECTOR_ELT", ":", "return", "LowerAccessVectorElement", "(", "Op", ",", "DAG", ")", ";", "case", "ISD", "::", "INTRINSIC_VOID", ":", "case", "ISD", "::", "INTRINSIC_WO_CHAIN", ":", "case", "ISD", "::", "INTRINSIC_W_CHAIN", ":", "return", "LowerIntrinsic", "(", "Op", ",", "DAG", ")", ";", "case", "ISD", "::", "SIGN_EXTEND_INREG", ":", "return", "LowerSIGN_EXTEND_INREG", "(", "Op", ",", "DAG", ")", ";", "case", "ISD", "::", "BUILD_VECTOR", ":", "return", "LowerBUILD_VECTOR", "(", "Op", ",", "DAG", ")", ";", "case", "ISD", "::", "VECTOR_SHUFFLE", ":", "return", "LowerVECTOR_SHUFFLE", "(", "Op", ",", "DAG", ")", ";", "case", "ISD", "::", "SETCC", ":", "return", "LowerSETCC", "(", "Op", ",", "DAG", ")", ";", "case", "ISD", "::", "SHL", ":", "case", "ISD", "::", "SRA", ":", "case", "ISD", "::", "SRL", ":", "return", "LowerShift", "(", "Op", ",", "DAG", ")", ";", "}", "}", ""], "natrual_language": ["LowerOperation", "-", "Provide", "custom", "lowering", "hooks", "for", "some", "operations", "."], "TS_V_token": ["WebAssembly", "WebAssembly", "\"unimplemented operation lowering\"", "ISD::FrameIndex", "ISD::GlobalAddress", "ISD::GlobalTLSAddress", "ISD::ExternalSymbol", "ISD::JumpTable", "ISD::BR_JT", "ISD::VASTART", "ISD::BlockAddress", "ISD::BRIND", "\"WebAssembly hasn't implemented computed gotos\"", "ISD::RETURNADDR", "ISD::FRAMEADDR", "ISD::CopyToReg", "ISD::EXTRACT_VECTOR_ELT", "ISD::INSERT_VECTOR_ELT", "ISD::INTRINSIC_VOID", "ISD::INTRINSIC_WO_CHAIN", "ISD::INTRINSIC_W_CHAIN", "ISD::SIGN_EXTEND_INREG", "ISD::BUILD_VECTOR", "ISD::VECTOR_SHUFFLE", "ISD::SETCC", "ISD::SHL", "ISD::SRA", "ISD::SRL"], "File": "WebAssemblyISelLowering31", "Func": "LowerOperation", "Target": "WebAssembly", "Target_Clf": "Virtual ISA", "Compiler_Type": "LLVM", "Idx": 2729, "Length": 313, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "ScheduleHazardRecognizer", "*", "TPCInstrInfo", "::", "CreateTargetMIHazardRecognizer", "(", "const", "InstrItineraryData", "*", "II", ",", "const", "ScheduleDAGMI", "*", "DAG", ")", "const", "{", "return", "createTPCHazardRecognizer", "(", "II", ",", "DAG", ",", "false", ")", ";", "}", ""], "natrual_language": ["Allocate", "and", "return", "a", "hazard", "recognizer", "to", "use", "for", "this", "target", "when", "scheduling", "the", "machine", "instructions", "before", "register", "allocation", "."], "TS_V_token": ["TPC", "TPC", "TPC"], "File": "TPCInstrInfo", "Func": "CreateTargetMIHazardRecognizer", "Target": "TPC", "Target_Clf": "Virtual ISA", "Compiler_Type": "LLVM", "Idx": 2730, "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", ";", "IsVIS2", "=", "false", ";", "IsVIS3", "=", "false", ";", "HasHardQuad", "=", "false", ";", "UsePopc", "=", "false", ";", "UseSoftFloat", "=", "false", ";", "HasNoFSMULD", "=", "false", ";", "HasNoFMULS", "=", "false", ";", "HasLeonCasa", "=", "false", ";", "HasUmacSmac", "=", "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": "SparcSubtarget16", "Func": "initializeSubtargetDependencies", "Target": "Sparc", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 2731, "Length": 127, "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": 2732, "Length": 110, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "SDValue", "R600TargetLowering", "::", "LowerFormalArguments", "(", "SDValue", "Chain", ",", "CallingConv", "::", "ID", "CallConv", ",", "bool", "isVarArg", ",", "const", "SmallVectorImpl", "<", "ISD", "::", "InputArg", ">", "&", "Ins", ",", "SDLoc", "DL", ",", "SelectionDAG", "&", "DAG", ",", "SmallVectorImpl", "<", "SDValue", ">", "&", "InVals", ")", "const", "{", "SmallVector", "<", "CCValAssign", ",", "16", ">", "ArgLocs", ";", "CCState", "CCInfo", "(", "CallConv", ",", "isVarArg", ",", "DAG", ".", "getMachineFunction", "(", ")", ",", "ArgLocs", ",", "*", "DAG", ".", "getContext", "(", ")", ")", ";", "MachineFunction", "&", "MF", "=", "DAG", ".", "getMachineFunction", "(", ")", ";", "R600MachineFunctionInfo", "*", "MFI", "=", "MF", ".", "getInfo", "<", "R600MachineFunctionInfo", ">", "(", ")", ";", "SmallVector", "<", "ISD", "::", "InputArg", ",", "8", ">", "LocalIns", ";", "getOriginalFunctionArgs", "(", "DAG", ",", "MF", ".", "getFunction", "(", ")", ",", "Ins", ",", "LocalIns", ")", ";", "AnalyzeFormalArguments", "(", "CCInfo", ",", "LocalIns", ")", ";", "for", "(", "unsigned", "i", "=", "0", ",", "e", "=", "Ins", ".", "size", "(", ")", ";", "i", "<", "e", ";", "++", "i", ")", "{", "CCValAssign", "&", "VA", "=", "ArgLocs", "[", "i", "]", ";", "const", "ISD", "::", "InputArg", "&", "In", "=", "Ins", "[", "i", "]", ";", "EVT", "VT", "=", "In", ".", "VT", ";", "EVT", "MemVT", "=", "VA", ".", "getLocVT", "(", ")", ";", "if", "(", "!", "VT", ".", "isVector", "(", ")", "&&", "MemVT", ".", "isVector", "(", ")", ")", "{", "MemVT", "=", "MemVT", ".", "getVectorElementType", "(", ")", ";", "}", "if", "(", "MFI", "->", "getShaderType", "(", ")", "!=", "ShaderType", "::", "COMPUTE", ")", "{", "unsigned", "Reg", "=", "MF", ".", "addLiveIn", "(", "VA", ".", "getLocReg", "(", ")", ",", "&", "AMDGPU", "::", "R600_Reg128RegClass", ")", ";", "SDValue", "Register", "=", "DAG", ".", "getCopyFromReg", "(", "Chain", ",", "DL", ",", "Reg", ",", "VT", ")", ";", "InVals", ".", "push_back", "(", "Register", ")", ";", "continue", ";", "}", "PointerType", "*", "PtrTy", "=", "PointerType", "::", "get", "(", "VT", ".", "getTypeForEVT", "(", "*", "DAG", ".", "getContext", "(", ")", ")", ",", "AMDGPUAS", "::", "CONSTANT_BUFFER_0", ")", ";", "ISD", "::", "LoadExtType", "Ext", "=", "ISD", "::", "NON_EXTLOAD", ";", "if", "(", "MemVT", ".", "getScalarSizeInBits", "(", ")", "!=", "VT", ".", "getScalarSizeInBits", "(", ")", ")", "{", "Ext", "=", "ISD", "::", "SEXTLOAD", ";", "}", "unsigned", "ValBase", "=", "ArgLocs", "[", "In", ".", "getOrigArgIndex", "(", ")", "]", ".", "getLocMemOffset", "(", ")", ";", "unsigned", "PartOffset", "=", "VA", ".", "getLocMemOffset", "(", ")", ";", "unsigned", "Offset", "=", "36", "+", "VA", ".", "getLocMemOffset", "(", ")", ";", "MachinePointerInfo", "PtrInfo", "(", "UndefValue", "::", "get", "(", "PtrTy", ")", ",", "PartOffset", "-", "ValBase", ")", ";", "SDValue", "Arg", "=", "DAG", ".", "getLoad", "(", "ISD", "::", "UNINDEXED", ",", "Ext", ",", "VT", ",", "DL", ",", "Chain", ",", "DAG", ".", "getConstant", "(", "Offset", ",", "DL", ",", "MVT", "::", "i32", ")", ",", "DAG", ".", "getUNDEF", "(", "MVT", "::", "i32", ")", ",", "PtrInfo", ",", "MemVT", ",", "false", ",", "true", ",", "true", ",", "4", ")", ";", "InVals", ".", "push_back", "(", "Arg", ")", ";", "MFI", "->", "ABIArgOffset", "=", "Offset", "+", "MemVT", ".", "getStoreSize", "(", ")", ";", "}", "return", "Chain", ";", "}", ""], "natrual_language": ["This", "hook", "must", "be", "implemented", "to", "lower", "the", "incoming", "(", "formal", ")", "arguments", ",", "described", "by", "the", "Ins", "array", ",", "into", "the", "specified", "DAG", "."], "TS_V_token": ["R600", "ISD::InputArg", "16", "ISD::InputArg", "8", "0", "ISD::InputArg", "AMDGPUAS::CONSTANT_BUFFER_0", "ISD::LoadExtType", "ISD::NON_EXTLOAD", "ISD::SEXTLOAD", "36", "ISD::UNINDEXED", "MVT::i32", "MVT::i32", "4"], "File": "R600ISelLowering70", "Func": "LowerFormalArguments", "Target": "R600", "Target_Clf": "GPU", "Compiler_Type": "LLVM", "Idx": 2733, "Length": 456, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "const", "MCPhysReg", "*", "NVPTXRegisterInfo", "::", "getCalleeSavedRegs", "(", "const", "MachineFunction", "*", "MF", ")", "const", "{", "static", "const", "MCPhysReg", "CalleeSavedRegs", "[", "]", "=", "{", "0", "}", ";", "return", "CalleeSavedRegs", ";", "}", ""], "natrual_language": ["Code", "Generation", "virtual", "methods", "..."], "TS_V_token": ["NVPTX", "NVPTX", "0"], "File": "NVPTXRegisterInfo1", "Func": "getCalleeSavedRegs", "Target": "NVPTX", "Target_Clf": "GPU", "Compiler_Type": "LLVM", "Idx": 2734, "Length": 29, "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": 2735, "Length": 420, "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": 2736, "Length": 303, "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": 2737, "Length": 162, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "void", "HexagonMCCodeEmitter", "::", "encodeInstruction", "(", "const", "MCInst", "&", "MI", ",", "raw_ostream", "&", "OS", ",", "SmallVectorImpl", "<", "MCFixup", ">", "&", "Fixups", ",", "const", "MCSubtargetInfo", "&", "STI", ")", "const", "{", "MCInst", "&", "HMB", "=", "const_cast", "<", "MCInst", "&", ">", "(", "MI", ")", ";", "assert", "(", "HexagonMCInstrInfo", "::", "isBundle", "(", "HMB", ")", ")", ";", "DEBUG", "(", "dbgs", "(", ")", "<<", "\"Encoding bundle\\n\"", ";", ")", ";", "*", "Addend", "=", "0", ";", "*", "Extended", "=", "false", ";", "*", "CurrentBundle", "=", "&", "MI", ";", "*", "CurrentIndex", "=", "0", ";", "size_t", "Last", "=", "HexagonMCInstrInfo", "::", "bundleSize", "(", "HMB", ")", "-", "1", ";", "for", "(", "auto", "&", "I", ":", "HexagonMCInstrInfo", "::", "bundleInstructions", "(", "HMB", ")", ")", "{", "MCInst", "&", "HMI", "=", "const_cast", "<", "MCInst", "&", ">", "(", "*", "I", ".", "getInst", "(", ")", ")", ";", "verifyInstructionPredicates", "(", "HMI", ",", "computeAvailableFeatures", "(", "STI", ".", "getFeatureBits", "(", ")", ")", ")", ";", "EncodeSingleInstruction", "(", "HMI", ",", "OS", ",", "Fixups", ",", "STI", ",", "parseBits", "(", "Last", ",", "HMB", ",", "HMI", ")", ")", ";", "*", "Extended", "=", "HexagonMCInstrInfo", "::", "isImmext", "(", "HMI", ")", ";", "*", "Addend", "+=", "HEXAGON_INSTR_SIZE", ";", "++", "*", "CurrentIndex", ";", "}", "}", ""], "natrual_language": ["Encode", "the", "given", "Inst", "to", "bytes", "and", "append", "to", "CB", "."], "TS_V_token": ["Hexagon", "Hexagon", "Hexagon", "\"Encoding bundle\\n\"", "0", "0", "Hexagon", "1", "Hexagon", "Hexagon"], "File": "HexagonMCCodeEmitter6", "Func": "encodeInstruction", "Target": "Hexagon", "Target_Clf": "DSP", "Compiler_Type": "LLVM", "Idx": 2738, "Length": 181, "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": 2739, "Length": 255, "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": 2740, "Length": 61, "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": 2741, "Length": 35, "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": 2742, "Length": 152, "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": 2743, "Length": 35, "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": 2744, "Length": 127, "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": 2745, "Length": 126, "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": 2746, "Length": 60, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "void", "BlackfinAsmPrinter", "::", "emitLinkage", "(", "const", "std", "::", "string", "&", "name", ",", "GlobalValue", "::", "LinkageTypes", "l", ")", "{", "switch", "(", "l", ")", "{", "default", ":", "llvm_unreachable", "(", "\"Unknown linkage type!\"", ")", ";", "case", "GlobalValue", "::", "InternalLinkage", ":", "case", "GlobalValue", "::", "PrivateLinkage", ":", "case", "GlobalValue", "::", "LinkerPrivateLinkage", ":", "break", ";", "case", "GlobalValue", "::", "ExternalLinkage", ":", "O", "<<", "TAI", "->", "getGlobalDirective", "(", ")", "<<", "name", "<<", "\"\\n\"", ";", "break", ";", "case", "GlobalValue", "::", "LinkOnceAnyLinkage", ":", "case", "GlobalValue", "::", "LinkOnceODRLinkage", ":", "case", "GlobalValue", "::", "WeakAnyLinkage", ":", "case", "GlobalValue", "::", "WeakODRLinkage", ":", "O", "<<", "TAI", "->", "getGlobalDirective", "(", ")", "<<", "name", "<<", "\"\\n\"", ";", "O", "<<", "TAI", "->", "getWeakDefDirective", "(", ")", "<<", "name", "<<", "\"\\n\"", ";", "break", ";", "}", "}", ""], "natrual_language": ["This", "emits", "linkage", "information", "about", "GVSym", "based", "on", "GV", ",", "if", "this", "is", "supported", "by", "the", "target", "."], "TS_V_token": ["Blackfin", "\"Unknown linkage type!\"", "\"\\n\"", "\"\\n\"", "\"\\n\""], "File": "BlackfinAsmPrinter1", "Func": "emitLinkage", "Target": "Blackfin", "Target_Clf": "DSP", "Compiler_Type": "LLVM", "Idx": 2747, "Length": 114, "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": 2748, "Length": 183, "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": 2749, "Length": 22, "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)3", "Func": "allowsMisalignedMemoryAccesses", "Target": "X86", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 2750, "Length": 77, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "void", "ft32_print_operand", "(", "FILE", "*", "file", ",", "rtx", "x", ",", "int", "code", ")", "{", "rtx", "operand", "=", "x", ";", "switch", "(", "code", ")", "{", "case", "0", ":", "break", ";", "case", "'h'", ":", "if", "(", "GET_CODE", "(", "operand", ")", "!=", "REG", ")", "internal_error", "(", "\"% applied to non-register operand\"", ")", ";", "fprintf", "(", "file", ",", "\"%s\"", ",", "reg_names", "[", "REGNO", "(", "operand", ")", "+", "1", "]", ")", ";", "return", ";", "case", "'m'", ":", "fprintf", "(", "file", ",", "\"%ld\"", ",", "(", "long", ")", "(", "-", "INTVAL", "(", "x", ")", ")", ")", ";", "return", ";", "case", "'d'", ":", "{", "int", "i", "=", "INTVAL", "(", "x", ")", ";", "char", "dwspec", ";", "switch", "(", "i", ")", "{", "case", "1", ":", "dwspec", "=", "'b'", ";", "break", ";", "case", "2", ":", "dwspec", "=", "'s'", ";", "break", ";", "case", "4", ":", "dwspec", "=", "'l'", ";", "break", ";", "default", ":", "if", "(", "(", "i", "%", "4", ")", "!=", "0", ")", "internal_error", "(", "\"bad alignment: %d\"", ",", "i", ")", ";", "else", "dwspec", "=", "'l'", ";", "break", ";", "}", "fprintf", "(", "file", ",", "\"%c\"", ",", "dwspec", ")", ";", "return", ";", "}", "case", "'f'", ":", "{", "int", "bf", "=", "ft32_as_bitfield", "(", "INTVAL", "(", "x", ")", ")", ";", "fprintf", "(", "file", ",", "\"512|(%d<<5)|%d\"", ",", "bf", ">>", "5", ",", "bf", "&", "31", ")", ";", "return", ";", "}", "case", "'g'", ":", "{", "int", "bf", "=", "ft32_as_bitfield", "(", "0xffffffff", "^", "INTVAL", "(", "x", ")", ")", ";", "fprintf", "(", "file", ",", "\"(%d<<5)|%d\"", ",", "bf", ">>", "5", ",", "bf", "&", "31", ")", ";", "return", ";", "}", "case", "'b'", ":", "{", "ft32_print_operand", "(", "file", ",", "XEXP", "(", "x", ",", "0", ")", ",", "0", ")", ";", "return", ";", "}", "default", ":", "LOSE_AND_RETURN", "(", "\"invalid operand modifier letter\"", ",", "x", ")", ";", "}", "switch", "(", "GET_CODE", "(", "operand", ")", ")", "{", "case", "REG", ":", "fprintf", "(", "file", ",", "\"%s\"", ",", "reg_names", "[", "REGNO", "(", "operand", ")", "]", ")", ";", "return", ";", "case", "MEM", ":", "output_address", "(", "GET_MODE", "(", "XEXP", "(", "operand", ",", "0", ")", ")", ",", "XEXP", "(", "operand", ",", "0", ")", ")", ";", "return", ";", "default", ":", "if", "(", "CONSTANT_P", "(", "operand", ")", ")", "{", "output_addr_const", "(", "file", ",", "operand", ")", ";", "return", ";", "}", "LOSE_AND_RETURN", "(", "\"unexpected operand\"", ",", "x", ")", ";", "}", "}", ""], "natrual_language": ["The", "PRINT_OPERAND", "worker", "."], "TS_V_token": ["ft32", "0", "\"% applied to non-register operand\"", "\"%s\"", "1", "\"%ld\"", "1", "2", "4", "4", "0", "\"bad alignment: %d\"", "\"%c\"", "\"512|(%d<<5)|%d\"", "5", "31", "0xffffffff", "\"(%d<<5)|%d\"", "5", "31", "0", "0", "\"invalid operand modifier letter\"", "\"%s\"", "0", "0", "\"unexpected operand\""], "File": "ft32", "Func": "ft32_print_operand", "Target": "ft32", "Target_Clf": "MPU", "Compiler_Type": "GCC", "Idx": 2751, "Length": 355, "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": 2752, "Length": 154, "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", ".", "getObjectAlign", "(", "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": "Thumb2InstrInfo", "Func": "storeRegToStackSlot", "Target": "ARM", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 2753, "Length": 327, "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": 2754, "Length": 292, "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", "(", "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": "mips", "Func": "mips_output_filename", "Target": "mips", "Target_Clf": "CPU", "Compiler_Type": "GCC", "Idx": 2755, "Length": 123, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "static", "bool", "isUndef", "(", "ArrayRef", "<", "int", ">", "Mask", ")", "{", "for", "(", "int", "Idx", ":", "Mask", ")", "if", "(", "Idx", "!=", "-", "1", ")", "return", "false", ";", "return", "true", ";", "}", ""], "natrual_language": ["Return", "true", "if", "the", "result", "of", "this", "operation", "is", "always", "undefined", "."], "TS_V_token": ["Hexagon", "1"], "File": "HexagonISelDAGToDAGHVX", "Func": "isUndef", "Target": "Hexagon", "Target_Clf": "DSP", "Compiler_Type": "LLVM", "Idx": 2756, "Length": 32, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "void", "m88k_layout_frame", "(", ")", "{", "int", "regno", ",", "sp_size", ";", "frame_laid_out", "++", ";", "memset", "(", "(", "char", "*", ")", "&", "save_regs", "[", "0", "]", ",", "0", ",", "sizeof", "(", "save_regs", ")", ")", ";", "sp_size", "=", "nregs", "=", "nxregs", "=", "0", ";", "frame_size", "=", "get_frame_size", "(", ")", ";", "if", "(", "current_function_profile", ")", "save_regs", "[", "1", "]", "=", "1", ";", "if", "(", "write_symbols", "!=", "NO_DEBUG", "&&", "!", "TARGET_OCS_FRAME_POSITION", ")", "save_regs", "[", "1", "]", "=", "1", ";", "if", "(", "regs_ever_live", "[", "1", "]", "||", "frame_pointer_needed", ")", "{", "save_regs", "[", "1", "]", "=", "1", ";", "sp_size", "+=", "REG_PARM_STACK_SPACE", "(", "0", ")", ";", "}", "if", "(", "flag_pic", "&&", "current_function_uses_pic_offset_table", ")", "{", "save_regs", "[", "PIC_OFFSET_TABLE_REGNUM", "]", "=", "1", ";", "nregs", "++", ";", "}", "if", "(", "frame_pointer_needed", ")", "save_regs", "[", "FRAME_POINTER_REGNUM", "]", "=", "save_regs", "[", "1", "]", "=", "1", ";", "else", "if", "(", "regs_ever_live", "[", "FRAME_POINTER_REGNUM", "]", ")", "save_regs", "[", "FRAME_POINTER_REGNUM", "]", "=", "1", ";", "for", "(", "regno", "=", "FIRST_EXTENDED_REGISTER", "+", "1", ";", "regno", "<", "FIRST_PSEUDO_REGISTER", ";", "regno", "++", ")", "if", "(", "regs_ever_live", "[", "regno", "]", "&&", "!", "call_used_regs", "[", "regno", "]", ")", "{", "save_regs", "[", "regno", "]", "=", "1", ";", "nxregs", "++", ";", "}", "for", "(", "regno", "=", "2", ";", "regno", "<", "FRAME_POINTER_REGNUM", ";", "regno", "++", ")", "if", "(", "regs_ever_live", "[", "regno", "]", "&&", "!", "call_used_regs", "[", "regno", "]", ")", "{", "save_regs", "[", "regno", "]", "=", "1", ";", "nregs", "++", ";", "}", "if", "(", "nregs", ">=", "2", "&&", "save_regs", "[", "1", "]", "&&", "!", "save_regs", "[", "FRAME_POINTER_REGNUM", "]", ")", "sp_size", "+=", "4", ";", "nregs", "+=", "save_regs", "[", "1", "]", "+", "save_regs", "[", "FRAME_POINTER_REGNUM", "]", ";", "if", "(", "nxregs", ">", "0", "&&", "(", "nregs", "&", "1", ")", "!=", "0", ")", "sp_size", "+=", "4", ";", "sp_size", "+=", "4", "*", "nregs", ";", "sp_size", "+=", "8", "*", "nxregs", ";", "sp_size", "+=", "current_function_outgoing_args_size", ";", "if", "(", "frame_pointer_needed", "||", "sp_size", ")", "m88k_fp_offset", "=", "ROUND_CALL_BLOCK_SIZE", "(", "sp_size", "-", "STARTING_FRAME_OFFSET", ")", ";", "else", "m88k_fp_offset", "=", "-", "STARTING_FRAME_OFFSET", ";", "m88k_stack_size", "=", "m88k_fp_offset", "+", "STARTING_FRAME_OFFSET", ";", "{", "int", "need", "=", "(", "(", "m88k_stack_size", "?", "STACK_UNIT_BOUNDARY", "-", "STARTING_FRAME_OFFSET", ":", "0", ")", "-", "(", "frame_size", "%", "STACK_UNIT_BOUNDARY", ")", ")", ";", "if", "(", "need", "<", "0", ")", "need", "+=", "STACK_UNIT_BOUNDARY", ";", "m88k_stack_size", "=", "ROUND_CALL_BLOCK_SIZE", "(", "m88k_stack_size", "+", "frame_size", "+", "need", "+", "current_function_pretend_args_size", ")", ";", "}", "}", ""], "natrual_language": ["Establish", "the", "position", "of", "the", "FP", "relative", "to", "the", "SP", ".", "This", "is", "done", "either", "during", "output_function_prologue", "(", ")", "or", "by", "INITIAL_ELIMINATION_OFFSET", "."], "TS_V_token": ["m88k", "0", "0", "0", "1", "1", "1", "1", "1", "1", "1", "0", "1", "1", "1", "1", "1", "1", "2", "1", "2", "1", "4", "1", "0", "1", "0", "4", "4", "8", "0", "0"], "File": "m88k", "Func": "m88k_layout_frame", "Target": "m88k", "Target_Clf": "MPU", "Compiler_Type": "GCC", "Idx": 2757, "Length": 367, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "bool", "runOnMachineFunction", "(", "MachineFunction", "&", "MF", ")", "override", "{", "TII", "=", "static_cast", "<", "const", "R600InstrInfo", "*", ">", "(", "MF", ".", "getTarget", "(", ")", ".", "getInstrInfo", "(", ")", ")", ";", "TRI", "=", "&", "TII", "->", "getRegisterInfo", "(", ")", ";", "DEBUG", "(", "MF", ".", "dump", "(", ")", ";", ")", ";", "OrderedBlks", ".", "clear", "(", ")", ";", "FuncRep", "=", "&", "MF", ";", "MLI", "=", "&", "getAnalysis", "<", "MachineLoopInfo", ">", "(", ")", ";", "DEBUG", "(", "dbgs", "(", ")", "<<", "\"LoopInfo:\\n\"", ";", "PrintLoopinfo", "(", "*", "MLI", ")", ";", ")", ";", "MDT", "=", "&", "getAnalysis", "<", "MachineDominatorTree", ">", "(", ")", ";", "DEBUG", "(", "MDT", "->", "print", "(", "dbgs", "(", ")", ",", "(", "const", "llvm", "::", "Module", "*", ")", "nullptr", ")", ";", ")", ";", "PDT", "=", "&", "getAnalysis", "<", "MachinePostDominatorTree", ">", "(", ")", ";", "DEBUG", "(", "PDT", "->", "print", "(", "dbgs", "(", ")", ")", ";", ")", ";", "prepare", "(", ")", ";", "run", "(", ")", ";", "DEBUG", "(", "MF", ".", "dump", "(", ")", ";", ")", ";", "return", "true", ";", "}", ""], "natrual_language": ["runOnMachineFunction", "-", "Emit", "the", "function", "body", "."], "TS_V_token": ["R600", "\"LoopInfo:\\n\""], "File": "AMDILCFGStructurizer1", "Func": "runOnMachineFunction", "Target": "R600", "Target_Clf": "GPU", "Compiler_Type": "LLVM", "Idx": 2758, "Length": 162, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "void", "AArch64TargetLowering", "::", "finalizeLowering", "(", "MachineFunction", "&", "MF", ")", "const", "{", "MF", ".", "getFrameInfo", "(", ")", ".", "computeMaxCallFrameSize", "(", "MF", ")", ";", "TargetLoweringBase", "::", "finalizeLowering", "(", "MF", ")", ";", "}", ""], "natrual_language": ["Execute", "target", "specific", "actions", "to", "finalize", "target", "lowering", "."], "TS_V_token": ["AArch64", "AArch64"], "File": "AArch64ISelLowering (2)2", "Func": "finalizeLowering", "Target": "AArch64", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 2759, "Length": 30, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "MVT", "::", "SimpleValueType", "getCmpLibcallReturnType", "(", ")", "const", "override", "{", "return", "MVT", "::", "i8", ";", "}", ""], "natrual_language": ["Return", "the", "ValueType", "for", "comparison", "libcalls", "."], "TS_V_token": ["MCS51", "MVT::SimpleValueType", "MVT::i8"], "File": "MCS51ISelLowering", "Func": "getCmpLibcallReturnType", "Target": "MCS51", "Target_Clf": "MPU", "Compiler_Type": "LLVM", "Idx": 2760, "Length": 15, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "void", "z8k_output_external", "(", "const", "char", "*", "name", ")", "{", "struct", "extern_list", "*", "p", ";", "p", "=", "(", "struct", "extern_list", "*", ")", "xmalloc", "(", "(", "long", ")", "sizeof", "(", "struct", "extern_list", ")", ")", ";", "p", "->", "next", "=", "extern_head", ";", "p", "->", "name", "=", "xstrdup", "(", "name", ")", ";", "extern_head", "=", "p", ";", "}", ""], "natrual_language": ["Keep", "track", "of", "all", "externs", ",", "so", "that", "we", "can", "output", "an", ".extern", "declaration", "for", "them", "at", "the", "end", "of", "the", "file", ",", "but", "only", "if", "they", "are", "not", "defined", "in", "this", "file", ".", "We", "assume", "that", "all", "names", "passed", "to", "us", "are", "in", "the", "permanent", "obstack", ",", "so", "that", "they", "will", "be", "valid", "at", "the", "end", "of", "the", "compilation", "."], "TS_V_token": ["z8k"], "File": "z8k", "Func": "z8k_output_external", "Target": "z8k", "Target_Clf": "MPU", "Compiler_Type": "GCC", "Idx": 2761, "Length": 53, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "std", "::", "unique_ptr", "<", "MCObjectWriter", ">", "createObjectWriter", "(", "raw_pwrite_stream", "&", "OS", ")", "const", "override", "{", "return", "createAMDGPUELFObjectWriter", "(", "Is64Bit", ",", "OSABI", ",", "HasRelocationAddend", ",", "OS", ")", ";", "}", ""], "natrual_language": ["Create", "a", "new", "MCObjectWriter", "instance", "for", "use", "by", "the", "assembler", "backend", "to", "emit", "the", "final", "object", "file", "."], "TS_V_token": ["AMDGPU", "AMDGPU"], "File": "AMDGPUAsmBackend27", "Func": "createObjectWriter", "Target": "AMDGPU", "Target_Clf": "GPU", "Compiler_Type": "LLVM", "Idx": 2762, "Length": 28, "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": 2763, "Length": 176, "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": 2764, "Length": 297, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "bool", "NVPTXFrameLowering", "::", "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": ["NVPTX", "NVPTX"], "File": "NVPTXFrameLowering (2)", "Func": "hasFP", "Target": "NVPTX", "Target_Clf": "GPU", "Compiler_Type": "LLVM", "Idx": 2765, "Length": 16, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "bool", "WebAssemblyMemIntrinsicResults", "::", "runOnMachineFunction", "(", "MachineFunction", "&", "MF", ")", "{", "LLVM_DEBUG", "(", "{", "dbgs", "(", ")", "<<", "\"********** Memory Intrinsic Results **********\\n\"", "<<", "\"********** Function: \"", "<<", "MF", ".", "getName", "(", ")", "<<", "'\\n'", ";", "}", ")", ";", "MachineRegisterInfo", "&", "MRI", "=", "MF", ".", "getRegInfo", "(", ")", ";", "auto", "&", "MDT", "=", "getAnalysis", "<", "MachineDominatorTree", ">", "(", ")", ";", "const", "WebAssemblyTargetLowering", "&", "TLI", "=", "*", "MF", ".", "getSubtarget", "<", "WebAssemblySubtarget", ">", "(", ")", ".", "getTargetLowering", "(", ")", ";", "const", "auto", "&", "LibInfo", "=", "getAnalysis", "<", "TargetLibraryInfoWrapperPass", ">", "(", ")", ".", "getTLI", "(", "MF", ".", "getFunction", "(", ")", ")", ";", "auto", "&", "LIS", "=", "getAnalysis", "<", "LiveIntervals", ">", "(", ")", ";", "bool", "Changed", "=", "false", ";", "MRI", ".", "leaveSSA", "(", ")", ";", "assert", "(", "MRI", ".", "tracksLiveness", "(", ")", "&&", "\"MemIntrinsicResults expects liveness tracking\"", ")", ";", "for", "(", "auto", "&", "MBB", ":", "MF", ")", "{", "LLVM_DEBUG", "(", "dbgs", "(", ")", "<<", "\"Basic Block: \"", "<<", "MBB", ".", "getName", "(", ")", "<<", "'\\n'", ")", ";", "for", "(", "auto", "&", "MI", ":", "MBB", ")", "switch", "(", "MI", ".", "getOpcode", "(", ")", ")", "{", "default", ":", "break", ";", "case", "WebAssembly", "::", "CALL_i32", ":", "case", "WebAssembly", "::", "CALL_i64", ":", "Changed", "|=", "optimizeCall", "(", "MBB", ",", "MI", ",", "MRI", ",", "MDT", ",", "LIS", ",", "TLI", ",", "LibInfo", ")", ";", "break", ";", "}", "}", "return", "Changed", ";", "}", ""], "natrual_language": ["runOnMachineFunction", "-", "Emit", "the", "function", "body", "."], "TS_V_token": ["WebAssembly", "WebAssembly", "\"********** Memory Intrinsic Results **********\\n\"", "\"********** Function: \"", "WebAssembly", "WebAssembly", "\"MemIntrinsicResults expects liveness tracking\"", "\"Basic Block: \"", "WebAssembly::CALL_i32", "WebAssembly::CALL_i64"], "File": "WebAssemblyMemIntrinsicResults10", "Func": "runOnMachineFunction", "Target": "WebAssembly", "Target_Clf": "Virtual ISA", "Compiler_Type": "LLVM", "Idx": 2766, "Length": 210, "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": 2767, "Length": 26, "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": 2768, "Length": 139, "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": 2769, "Length": 46, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "static", "rtx", "m68k_legitimize_address", "(", "rtx", "x", ",", "rtx", "oldx", ",", "machine_mode", "mode", ")", "{", "if", "(", "m68k_tls_symbol_p", "(", "x", ")", ")", "return", "m68k_legitimize_tls_address", "(", "x", ")", ";", "if", "(", "GET_CODE", "(", "x", ")", "==", "PLUS", ")", "{", "int", "ch", "=", "(", "x", ")", "!=", "(", "oldx", ")", ";", "int", "copied", "=", "0", ";", "if", "(", "GET_CODE", "(", "XEXP", "(", "x", ",", "0", ")", ")", "==", "MULT", ")", "{", "COPY_ONCE", "(", "x", ")", ";", "XEXP", "(", "x", ",", "0", ")", "=", "force_operand", "(", "XEXP", "(", "x", ",", "0", ")", ",", "0", ")", ";", "}", "if", "(", "GET_CODE", "(", "XEXP", "(", "x", ",", "1", ")", ")", "==", "MULT", ")", "{", "COPY_ONCE", "(", "x", ")", ";", "XEXP", "(", "x", ",", "1", ")", "=", "force_operand", "(", "XEXP", "(", "x", ",", "1", ")", ",", "0", ")", ";", "}", "if", "(", "ch", ")", "{", "if", "(", "GET_CODE", "(", "XEXP", "(", "x", ",", "1", ")", ")", "==", "REG", "&&", "GET_CODE", "(", "XEXP", "(", "x", ",", "0", ")", ")", "==", "REG", ")", "{", "if", "(", "TARGET_COLDFIRE_FPU", "&&", "GET_MODE_CLASS", "(", "mode", ")", "==", "MODE_FLOAT", ")", "{", "COPY_ONCE", "(", "x", ")", ";", "x", "=", "force_operand", "(", "x", ",", "0", ")", ";", "}", "return", "x", ";", "}", "if", "(", "memory_address_p", "(", "mode", ",", "x", ")", ")", "return", "x", ";", "}", "if", "(", "GET_CODE", "(", "XEXP", "(", "x", ",", "0", ")", ")", "==", "REG", "||", "(", "GET_CODE", "(", "XEXP", "(", "x", ",", "0", ")", ")", "==", "SIGN_EXTEND", "&&", "GET_CODE", "(", "XEXP", "(", "XEXP", "(", "x", ",", "0", ")", ",", "0", ")", ")", "==", "REG", "&&", "GET_MODE", "(", "XEXP", "(", "XEXP", "(", "x", ",", "0", ")", ",", "0", ")", ")", "==", "HImode", ")", ")", "{", "rtx", "temp", "=", "gen_reg_rtx", "(", "Pmode", ")", ";", "rtx", "val", "=", "force_operand", "(", "XEXP", "(", "x", ",", "1", ")", ",", "0", ")", ";", "emit_move_insn", "(", "temp", ",", "val", ")", ";", "COPY_ONCE", "(", "x", ")", ";", "XEXP", "(", "x", ",", "1", ")", "=", "temp", ";", "if", "(", "TARGET_COLDFIRE_FPU", "&&", "GET_MODE_CLASS", "(", "mode", ")", "==", "MODE_FLOAT", "&&", "GET_CODE", "(", "XEXP", "(", "x", ",", "0", ")", ")", "==", "REG", ")", "x", "=", "force_operand", "(", "x", ",", "0", ")", ";", "}", "else", "if", "(", "GET_CODE", "(", "XEXP", "(", "x", ",", "1", ")", ")", "==", "REG", "||", "(", "GET_CODE", "(", "XEXP", "(", "x", ",", "1", ")", ")", "==", "SIGN_EXTEND", "&&", "GET_CODE", "(", "XEXP", "(", "XEXP", "(", "x", ",", "1", ")", ",", "0", ")", ")", "==", "REG", "&&", "GET_MODE", "(", "XEXP", "(", "XEXP", "(", "x", ",", "1", ")", ",", "0", ")", ")", "==", "HImode", ")", ")", "{", "rtx", "temp", "=", "gen_reg_rtx", "(", "Pmode", ")", ";", "rtx", "val", "=", "force_operand", "(", "XEXP", "(", "x", ",", "0", ")", ",", "0", ")", ";", "emit_move_insn", "(", "temp", ",", "val", ")", ";", "COPY_ONCE", "(", "x", ")", ";", "XEXP", "(", "x", ",", "0", ")", "=", "temp", ";", "if", "(", "TARGET_COLDFIRE_FPU", "&&", "GET_MODE_CLASS", "(", "mode", ")", "==", "MODE_FLOAT", "&&", "GET_CODE", "(", "XEXP", "(", "x", ",", "1", ")", ")", "==", "REG", ")", "x", "=", "force_operand", "(", "x", ",", "0", ")", ";", "}", "}", "return", "x", ";", "}", ""], "natrual_language": ["Convert", "X", "to", "a", "legitimate", "address", "and", "return", "it", "if", "successful", ".", "Otherwise", "return", "X", ".", "For", "the", "68000", ",", "we", "handle", "X+REG", "by", "loading", "X", "into", "a", "register", "R", "and", "using", "R+REG", ".", "R", "will", "go", "in", "an", "address", "reg", "and", "indexing", "will", "be", "used", ".", "However", ",", "if", "REG", "is", "a", "broken-out", "memory", "address", "or", "multiplication", ",", "nothing", "needs", "to", "be", "done", "because", "REG", "can", "certainly", "go", "in", "an", "address", "reg", "."], "TS_V_token": ["m68k", "0", "0", "0", "0", "0", "1", "1", "1", "0", "1", "0", "0", "0", "0", "0", "0", "0", "0", "1", "0", "1", "0", "0", "1", "1", "1", "0", "1", "0", "0", "0", "0", "1", "0"], "File": "m68k", "Func": "m68k_legitimize_address", "Target": "m68k", "Target_Clf": "MPU", "Compiler_Type": "GCC", "Idx": 2770, "Length": 495, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "std", "::", "pair", "<", "unsigned", ",", "const", "TargetRegisterClass", "*", ">", "TL45TargetLowering", "::", "getRegForInlineAsmConstraint", "(", "const", "TargetRegisterInfo", "*", "TRI", ",", "StringRef", "Constraint", ",", "MVT", "VT", ")", "const", "{", "if", "(", "Constraint", ".", "size", "(", ")", "==", "1", ")", "{", "switch", "(", "Constraint", "[", "0", "]", ")", "{", "case", "'r'", ":", "return", "std", "::", "make_pair", "(", "0U", ",", "&", "TL45", "::", "GRRegsRegClass", ")", ";", "default", ":", "break", ";", "}", "}", "Register", "XRegFromAlias", "=", "StringSwitch", "<", "Register", ">", "(", "Constraint", ".", "lower", "(", ")", ")", ".", "Cases", "(", "\"{zero}\"", ",", "\"{r0}\"", ",", "TL45", "::", "r0", ")", ".", "Case", "(", "\"{r1}\"", ",", "TL45", "::", "r1", ")", ".", "Case", "(", "\"{r2}\"", ",", "TL45", "::", "r2", ")", ".", "Case", "(", "\"{r3}\"", ",", "TL45", "::", "r3", ")", ".", "Case", "(", "\"{r4}\"", ",", "TL45", "::", "r4", ")", ".", "Case", "(", "\"{r5}\"", ",", "TL45", "::", "r5", ")", ".", "Case", "(", "\"{r6}\"", ",", "TL45", "::", "r6", ")", ".", "Case", "(", "\"{r7}\"", ",", "TL45", "::", "r7", ")", ".", "Case", "(", "\"{r8}\"", ",", "TL45", "::", "r8", ")", ".", "Case", "(", "\"{r9}\"", ",", "TL45", "::", "r9", ")", ".", "Case", "(", "\"{r10}\"", ",", "TL45", "::", "r10", ")", ".", "Case", "(", "\"{r11}\"", ",", "TL45", "::", "r11", ")", ".", "Case", "(", "\"{r12}\"", ",", "TL45", "::", "r12", ")", ".", "Case", "(", "\"{r13}\"", ",", "TL45", "::", "r13", ")", ".", "Cases", "(", "\"{bp}\"", ",", "\"{r14}\"", ",", "TL45", "::", "bp", ")", ".", "Cases", "(", "\"{sp}\"", ",", "\"{r15}\"", ",", "TL45", "::", "sp", ")", ".", "Default", "(", "TL45", "::", "NoRegister", ")", ";", "if", "(", "XRegFromAlias", "!=", "TL45", "::", "NoRegister", ")", "return", "std", "::", "make_pair", "(", "XRegFromAlias", ",", "&", "TL45", "::", "GRRegsRegClass", ")", ";", "return", "TargetLowering", "::", "getRegForInlineAsmConstraint", "(", "TRI", ",", "Constraint", ",", "VT", ")", ";", "}", ""], "natrual_language": ["Given", "a", "physical", "register", "constraint", "(", "e.g", "."], "TS_V_token": ["TL45", "TL45", "1", "0", "0U", "TL45::GRRegsRegClass", "\"{zero}\"", "\"{r0}\"", "TL45::r0", "\"{r1}\"", "TL45::r1", "\"{r2}\"", "TL45::r2", "\"{r3}\"", "TL45::r3", "\"{r4}\"", "TL45::r4", "\"{r5}\"", "TL45::r5", "\"{r6}\"", "TL45::r6", "\"{r7}\"", "TL45::r7", "\"{r8}\"", "TL45::r8", "\"{r9}\"", "TL45::r9", "\"{r10}\"", "TL45::r10", "\"{r11}\"", "TL45::r11", "\"{r12}\"", "TL45::r12", "\"{r13}\"", "TL45::r13", "\"{bp}\"", "\"{r14}\"", "TL45::bp", "\"{sp}\"", "\"{r15}\"", "TL45::sp", "TL45::NoRegister", "TL45::NoRegister", "TL45::GRRegsRegClass"], "File": "TL45ISelLowering", "Func": "getRegForInlineAsmConstraint", "Target": "TL45", "Target_Clf": "MPU", "Compiler_Type": "LLVM", "Idx": 2771, "Length": 274, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "void", "JVMTargetLowering", "::", "finalizeLowering", "(", "MachineFunction", "&", "MF", ")", "const", "{", "auto", "&", "MRI", "=", "MF", ".", "getRegInfo", "(", ")", ";", "MRI", ".", "freezeReservedRegs", "(", "MF", ")", ";", "}", ""], "natrual_language": ["Execute", "target", "specific", "actions", "to", "finalize", "target", "lowering", "."], "TS_V_token": ["JVM", "JVM"], "File": "JVMISelLowering", "Func": "finalizeLowering", "Target": "JVM", "Target_Clf": "Virtual ISA", "Compiler_Type": "LLVM", "Idx": 2772, "Length": 29, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "void", "NVPTXPassConfig", "::", "addIRPasses", "(", ")", "{", "disablePass", "(", "&", "PrologEpilogCodeInserterID", ")", ";", "disablePass", "(", "&", "MachineCopyPropagationID", ")", ";", "disablePass", "(", "&", "BranchFolderPassID", ")", ";", "disablePass", "(", "&", "TailDuplicateID", ")", ";", "TargetPassConfig", "::", "addIRPasses", "(", ")", ";", "addPass", "(", "createGenericToNVVMPass", "(", ")", ")", ";", "}", ""], "natrual_language": ["Add", "common", "target", "configurable", "passes", "that", "perform", "LLVM", "IR", "to", "IR", "transforms", "following", "machine", "independent", "optimization", "."], "TS_V_token": ["NVPTX", "NVPTX"], "File": "NVPTXTargetMachine51", "Func": "addIRPasses", "Target": "NVPTX", "Target_Clf": "GPU", "Compiler_Type": "LLVM", "Idx": 2773, "Length": 45, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "const", "char", "*", "AVRTargetLowering", "::", "getTargetNodeName", "(", "unsigned", "Opcode", ")", "const", "{", "case", "AVRISD", "::", "name", ":", "\\", "return", "#", "name", "switch", "(", "Opcode", ")", "{", "default", ":", "return", "nullptr", ";", "NODE", "(", "RET_FLAG", ")", ";", "NODE", "(", "RETI_FLAG", ")", ";", "NODE", "(", "CALL", ")", ";", "NODE", "(", "WRAPPER", ")", ";", "NODE", "(", "LSL", ")", ";", "NODE", "(", "LSR", ")", ";", "NODE", "(", "ROL", ")", ";", "NODE", "(", "ROR", ")", ";", "NODE", "(", "ASR", ")", ";", "NODE", "(", "LSLLOOP", ")", ";", "NODE", "(", "LSRLOOP", ")", ";", "NODE", "(", "ROLLOOP", ")", ";", "NODE", "(", "RORLOOP", ")", ";", "NODE", "(", "ASRLOOP", ")", ";", "NODE", "(", "BRCOND", ")", ";", "NODE", "(", "CMP", ")", ";", "NODE", "(", "CMPC", ")", ";", "NODE", "(", "TST", ")", ";", "NODE", "(", "SELECT_CC", ")", ";", "}", ""], "natrual_language": ["getTargetNodeName", "-", "This", "method", "returns", "the", "name", "of", "a", "target", "specific"], "TS_V_token": ["AVR", "AVR", "AVRISD::name"], "File": "AVRISelLowering12", "Func": "getTargetNodeName", "Target": "AVR", "Target_Clf": "MPU", "Compiler_Type": "LLVM", "Idx": 2774, "Length": 127, "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": 2775, "Length": 33, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "static", "bool", "xtensa_function_value_regno_p", "(", "const", "unsigned", "int", "regno", ")", "{", "return", "IN_RANGE", "(", "regno", ",", "GP_RETURN_FIRST", ",", "GP_RETURN_LAST", ")", ";", "}", ""], "natrual_language": ["Worker", "function", "TARGET_FUNCTION_VALUE_REGNO_P", "."], "TS_V_token": ["xtensa"], "File": "xtensa1", "Func": "xtensa_function_value_regno_p", "Target": "xtensa", "Target_Clf": "MPU", "Compiler_Type": "GCC", "Idx": 2776, "Length": 21, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "static", "bool", "arm_slowmul_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", "(", "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", "=", "2", ";", "for", "(", "j", "=", "0", ";", "i", "&&", "j", "<", "32", ";", "j", "+=", "booth_unit_size", ")", "{", "i", ">>=", "booth_unit_size", ";", "cost", "+=", "2", ";", "}", "*", "total", "=", "cost", ";", "return", "true", ";", "}", "*", "total", "=", "30", "+", "(", "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", "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", "30", "1", "1", "0xffffffff", "4", "8", "2", "0", "32", "2", "30", "0", "0", "4", "1", "0", "4"], "File": "arm3", "Func": "arm_slowmul_rtx_costs", "Target": "arm", "Target_Clf": "CPU", "Compiler_Type": "GCC", "Idx": 2777, "Length": 237, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "bool", "XCoreAsmPrinter", "::", "doInitialization", "(", "Module", "&", "M", ")", "{", "bool", "Result", "=", "AsmPrinter", "::", "doInitialization", "(", "M", ")", ";", "DW", "=", "getAnalysisIfAvailable", "<", "DwarfWriter", ">", "(", ")", ";", "return", "Result", ";", "}", ""], "natrual_language": ["Set", "up", "the", "AsmPrinter", "when", "we", "are", "working", "on", "a", "new", "module", "."], "TS_V_token": ["XCore", "XCore"], "File": "XCoreAsmPrinter8", "Func": "doInitialization", "Target": "XCore", "Target_Clf": "MPU", "Compiler_Type": "LLVM", "Idx": 2778, "Length": 33, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "bool", "GCNPassConfig", "::", "addInstSelector", "(", ")", "{", "AMDGPUPassConfig", "::", "addInstSelector", "(", ")", ";", "addPass", "(", "createSILowerI1CopiesPass", "(", ")", ")", ";", "addPass", "(", "createSIFixSGPRCopiesPass", "(", "*", "TM", ")", ")", ";", "addPass", "(", "createSIFoldOperandsPass", "(", ")", ")", ";", "return", "false", ";", "}", ""], "natrual_language": ["addInstSelector", "-", "This", "method", "should", "install", "an", "instruction", "selector", "pass", ",", "which", "converts", "from", "LLVM", "code", "to", "machine", "instructions", "."], "TS_V_token": ["AMDGPU", "AMDGPU", "SI", "SI", "SI"], "File": "AMDGPUTargetMachine", "Func": "addInstSelector", "Target": "AMDGPU", "Target_Clf": "GPU", "Compiler_Type": "LLVM", "Idx": 2779, "Length": 40, "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": 2780, "Length": 306, "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": 2781, "Length": 265, "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": 2782, "Length": 499, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "FastISel", "*", "X86TargetLowering", "::", "createFastISel", "(", "FunctionLoweringInfo", "&", "funcInfo", ")", "const", "{", "return", "X86", "::", "createFastISel", "(", "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", "X86::createFastISel"], "File": "X86ISelLowering114", "Func": "createFastISel", "Target": "X86", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 2783, "Length": 21, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "void", "Z80PassConfig", "::", "addPreEmitPass", "(", ")", "{", "}", ""], "natrual_language": ["This", "pass", "may", "be", "implemented", "by", "targets", "that", "want", "to", "run", "passes", "immediately", "before", "machine", "code", "is", "emitted", "."], "TS_V_token": ["Z80", "Z80"], "File": "Z80TargetMachine (3)", "Func": "addPreEmitPass", "Target": "Z80", "Target_Clf": "MPU", "Compiler_Type": "LLVM", "Idx": 2784, "Length": 8, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "static", "void", "hwloop_fail", "(", "hwloop_info", "loop", ")", "{", "rtx", "insn", "=", "loop", "->", "loop_end", ";", "if", "(", "DPREG_P", "(", "loop", "->", "iter_reg", ")", ")", "{", "rtx", "insn", ",", "test", ";", "emit_insn_before", "(", "gen_addsi3", "(", "loop", "->", "iter_reg", ",", "loop", "->", "iter_reg", ",", "constm1_rtx", ")", ",", "loop", "->", "loop_end", ")", ";", "test", "=", "gen_rtx_NE", "(", "VOIDmode", ",", "loop", "->", "iter_reg", ",", "const0_rtx", ")", ";", "insn", "=", "emit_jump_insn_before", "(", "gen_cbranchsi4", "(", "test", ",", "loop", "->", "iter_reg", ",", "const0_rtx", ",", "loop", "->", "start_label", ")", ",", "loop", "->", "loop_end", ")", ";", "JUMP_LABEL", "(", "insn", ")", "=", "loop", "->", "start_label", ";", "LABEL_NUSES", "(", "loop", "->", "start_label", ")", "++", ";", "delete_insn", "(", "loop", "->", "loop_end", ")", ";", "}", "else", "{", "splitting_loops", "=", "1", ";", "try_split", "(", "PATTERN", "(", "insn", ")", ",", "insn", ",", "1", ")", ";", "splitting_loops", "=", "0", ";", "}", "}", ""], "natrual_language": ["A", "callback", "for", "the", "hw-doloop", "pass", ".", "Called", "when", "a", "loop", "we", "have", "discovered", "turns", "out", "not", "to", "be", "optimizable", ";", "we", "have", "to", "split", "the", "doloop_end", "pattern", "into", "a", "subtract", "and", "a", "test", "."], "TS_V_token": ["bfin", "1", "1", "0"], "File": "bfin3", "Func": "hwloop_fail", "Target": "bfin", "Target_Clf": "DSP", "Compiler_Type": "GCC", "Idx": 2785, "Length": 136, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "bool", "VideocoreAsmParser", "::", "ParseDirective", "(", "AsmToken", "DirectiveID", ")", "{", "return", "true", ";", "}", ""], "natrual_language": ["ParseDirective", "-", "Parse", "a", "target", "specific", "assembler", "directive", "This", "method", "is", "deprecated", ",", "use", "'parseDirective", "'", "instead", "."], "TS_V_token": ["Videocore", "Videocore"], "File": "VideocoreAsmParser", "Func": "ParseDirective", "Target": "Videocore", "Target_Clf": "DSP", "Compiler_Type": "LLVM", "Idx": 2786, "Length": 13, "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": 2787, "Length": 246, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "bool", "ARMSubtarget", "::", "enablePostRAScheduler", "(", ")", "const", "{", "if", "(", "disablePostRAScheduler", "(", ")", ")", "return", "false", ";", "return", "!", "isThumb1Only", "(", ")", ";", "}", ""], "natrual_language": ["True", "if", "the", "subtarget", "should", "run", "a", "scheduler", "after", "register", "allocation", "."], "TS_V_token": ["ARM", "ARM"], "File": "ARMSubtarget", "Func": "enablePostRAScheduler", "Target": "ARM", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 2788, "Length": 24, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "unsigned", "AlphaRegisterInfo", "::", "getRARegister", "(", ")", "const", "{", "return", "Alpha", "::", "R26", ";", "}", ""], "natrual_language": ["This", "method", "should", "return", "the", "register", "where", "the", "return", "address", "can", "be", "found", "."], "TS_V_token": ["Alpha", "Alpha", "Alpha::R26"], "File": "AlphaRegisterInfo", "Func": "getRARegister", "Target": "Alpha", "Target_Clf": "MPU", "Compiler_Type": "LLVM", "Idx": 2789, "Length": 14, "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": 2790, "Length": 173, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "virtual", "bool", "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": ["Patmos"], "File": "PatmosRegisterInfo", "Func": "requiresFrameIndexScavenging", "Target": "Patmos", "Target_Clf": "VLIW", "Compiler_Type": "LLVM", "Idx": 2791, "Length": 15, "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": 2792, "Length": 100, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "static", "void", "insert_wic", "(", "void", ")", "{", "rtx_insn", "*", "insn", ";", "int", "i", ",", "j", ";", "basic_block", "bb", ",", "prev", "=", "0", ";", "rtx", "branch_target", "=", "0", ";", "shorten_branches", "(", "get_insns", "(", ")", ")", ";", "for", "(", "i", "=", "0", ";", "i", "<", "n_basic_blocks_for_fn", "(", "cfun", ")", "-", "1", ";", "i", "++", ")", "{", "edge", "e", ";", "edge_iterator", "ei", ";", "bool", "simple_loop", "=", "false", ";", "bb", "=", "BASIC_BLOCK_FOR_FN", "(", "cfun", ",", "i", ")", ";", "if", "(", "bb", "==", "NULL", ")", "continue", ";", "if", "(", "(", "prev", "!=", "0", ")", "&&", "(", "prev", "!=", "bb", ")", ")", "continue", ";", "else", "prev", "=", "0", ";", "FOR_EACH_EDGE", "(", "e", ",", "ei", ",", "bb", "->", "preds", ")", "if", "(", "e", "->", "src", "==", "bb", ")", "{", "simple_loop", "=", "true", ";", "prev", "=", "e", "->", "dest", ";", "break", ";", "}", "for", "(", "insn", "=", "BB_END", "(", "bb", ")", ";", "insn", ";", "insn", "=", "PREV_INSN", "(", "insn", ")", ")", "{", "if", "(", "INSN_P", "(", "insn", ")", "&&", "!", "simple_loop", "&&", "CALL_P", "(", "insn", ")", ")", "{", "if", "(", "(", "branch_target", "=", "get_branch_target", "(", "insn", ")", ")", ")", "insert_wic_for_ilb_runout", "(", "next_active_insn", "(", "next_active_insn", "(", "insn", ")", ")", ")", ";", "}", "if", "(", "insn", "==", "BB_HEAD", "(", "bb", ")", ")", "break", ";", "}", "}", "}", ""], "natrual_language": ["Insert", "instruction", "prefetch", "instruction", "at", "the", "fall", "through", "path", "of", "the", "function", "call", "."], "TS_V_token": ["microblaze", "0", "0", "0", "1", "0", "0"], "File": "microblaze3", "Func": "insert_wic", "Target": "microblaze", "Target_Clf": "MPU", "Compiler_Type": "GCC", "Idx": 2793, "Length": 207, "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": 2794, "Length": 160, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "static", "rtx", "alpha_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", ")", ";", "unsigned", "int", "fcode", "=", "DECL_FUNCTION_CODE", "(", "fndecl", ")", ";", "tree", "arglist", "=", "TREE_OPERAND", "(", "exp", ",", "1", ")", ";", "enum", "insn_code", "icode", ";", "rtx", "op", "[", "MAX_ARGS", "]", ",", "pat", ";", "int", "arity", ";", "bool", "nonvoid", ";", "if", "(", "fcode", ">=", "ALPHA_BUILTIN_max", ")", "internal_error", "(", "\"bad builtin fcode\"", ")", ";", "icode", "=", "code_for_builtin", "[", "fcode", "]", ";", "if", "(", "icode", "==", "0", ")", "internal_error", "(", "\"bad builtin fcode\"", ")", ";", "nonvoid", "=", "TREE_TYPE", "(", "TREE_TYPE", "(", "fndecl", ")", ")", "!=", "void_type_node", ";", "for", "(", "arglist", "=", "TREE_OPERAND", "(", "exp", ",", "1", ")", ",", "arity", "=", "0", ";", "arglist", ";", "arglist", "=", "TREE_CHAIN", "(", "arglist", ")", ",", "arity", "++", ")", "{", "const", "struct", "insn_operand_data", "*", "insn_op", ";", "tree", "arg", "=", "TREE_VALUE", "(", "arglist", ")", ";", "if", "(", "arg", "==", "error_mark_node", ")", "return", "NULL_RTX", ";", "if", "(", "arity", ">", "MAX_ARGS", ")", "return", "NULL_RTX", ";", "insn_op", "=", "&", "insn_data", "[", "icode", "]", ".", "operand", "[", "arity", "+", "nonvoid", "]", ";", "op", "[", "arity", "]", "=", "expand_expr", "(", "arg", ",", "NULL_RTX", ",", "insn_op", "->", "mode", ",", "0", ")", ";", "if", "(", "!", "(", "*", "insn_op", "->", "predicate", ")", "(", "op", "[", "arity", "]", ",", "insn_op", "->", "mode", ")", ")", "op", "[", "arity", "]", "=", "copy_to_mode_reg", "(", "insn_op", "->", "mode", ",", "op", "[", "arity", "]", ")", ";", "}", "if", "(", "nonvoid", ")", "{", "enum", "machine_mode", "tmode", "=", "insn_data", "[", "icode", "]", ".", "operand", "[", "0", "]", ".", "mode", ";", "if", "(", "!", "target", "||", "GET_MODE", "(", "target", ")", "!=", "tmode", "||", "!", "(", "*", "insn_data", "[", "icode", "]", ".", "operand", "[", "0", "]", ".", "predicate", ")", "(", "target", ",", "tmode", ")", ")", "target", "=", "gen_reg_rtx", "(", "tmode", ")", ";", "}", "switch", "(", "arity", ")", "{", "case", "0", ":", "pat", "=", "GEN_FCN", "(", "icode", ")", "(", "target", ")", ";", "break", ";", "case", "1", ":", "if", "(", "nonvoid", ")", "pat", "=", "GEN_FCN", "(", "icode", ")", "(", "target", ",", "op", "[", "0", "]", ")", ";", "else", "pat", "=", "GEN_FCN", "(", "icode", ")", "(", "op", "[", "0", "]", ")", ";", "break", ";", "case", "2", ":", "pat", "=", "GEN_FCN", "(", "icode", ")", "(", "target", ",", "op", "[", "0", "]", ",", "op", "[", "1", "]", ")", ";", "break", ";", "default", ":", "gcc_unreachable", "(", ")", ";", "}", "if", "(", "!", "pat", ")", "return", "NULL_RTX", ";", "emit_insn", "(", "pat", ")", ";", "if", "(", "nonvoid", ")", "return", "target", ";", "else", "return", "const0_rtx", ";", "}", ""], "natrual_language": ["Expand", "an", "expression", "EXP", "that", "calls", "a", "built-in", "function", ",", "with", "result", "going", "to", "TARGET", "if", "that", "'s", "convenient", "(", "and", "in", "mode", "MODE", "if", "that", "'s", "convenient", ")", ".", "SUBTARGET", "may", "be", "used", "as", "the", "target", "for", "computing", "one", "of", "EXP", "'s", "operands", ".", "IGNORE", "is", "nonzero", "if", "the", "value", "is", "to", "be", "ignored", "."], "TS_V_token": ["alpha", "0", "0", "1", "\"bad builtin fcode\"", "0", "\"bad builtin fcode\"", "1", "0", "0", "0", "0", "0", "1", "0", "0", "2", "0", "1"], "File": "alpha3", "Func": "alpha_expand_builtin", "Target": "alpha", "Target_Clf": "MPU", "Compiler_Type": "GCC", "Idx": 2795, "Length": 425, "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": 2796, "Length": 408, "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": 2797, "Length": 74, "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": ["R600"], "File": "AMDGPUAsmParser18", "Func": "isToken", "Target": "R600", "Target_Clf": "GPU", "Compiler_Type": "LLVM", "Idx": 2798, "Length": 13, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "unsigned", "AMDGPUMCAsmInfo", "::", "getMaxInstLength", "(", "const", "MCSubtargetInfo", "*", "STI", ")", "const", "{", "if", "(", "!", "STI", "||", "STI", "->", "getTargetTriple", "(", ")", ".", "getArch", "(", ")", "==", "Triple", "::", "r600", ")", "return", "MaxInstLength", ";", "if", "(", "STI", "->", "getFeatureBits", "(", ")", "[", "AMDGPU", "::", "FeatureNSAEncoding", "]", ")", "return", "20", ";", "if", "(", "STI", "->", "getFeatureBits", "(", ")", "[", "AMDGPU", "::", "FeatureVOP3Literal", "]", ")", "return", "12", ";", "return", "8", ";", "}", ""], "natrual_language": ["Returns", "the", "maximum", "possible", "encoded", "instruction", "size", "in", "bytes", "."], "TS_V_token": ["AMDGPU", "AMDGPU", "AMDGPU::FeatureNSAEncoding", "20", "AMDGPU::FeatureVOP3Literal", "12", "8"], "File": "AMDGPUMCAsmInfo", "Func": "getMaxInstLength", "Target": "AMDGPU", "Target_Clf": "GPU", "Compiler_Type": "LLVM", "Idx": 2799, "Length": 70, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "unsigned", "RV16KInstrInfo", "::", "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", "RV16KTargetMachine", "&", ">", "(", "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": ["RV16K", "RV16K", "0", "RV16K", "0"], "File": "RV16KInstrInfo", "Func": "getInstSizeInBytes", "Target": "RV16K", "Target_Clf": "Virtual ISA", "Compiler_Type": "LLVM", "Idx": 2800, "Length": 127, "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": ["rs6000"], "File": "rs60004", "Func": "validate_condition_mode", "Target": "rs6000", "Target_Clf": "CPU", "Compiler_Type": "GCC", "Idx": 2801, "Length": 179, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "static", "bool", "classof", "(", "const", "Type", "*", "T", ")", "{", "return", "T", "->", "getTypeID", "(", ")", "==", "DXILPointerTyID", ";", "}", ""], "natrual_language": ["Methods", "for", "support", "type", "inquiry", "through", "isa", ",", "cast", ",", "and", "dyn_cast", ":"], "TS_V_token": ["DirectX", "DXIL"], "File": "DXILPointerType", "Func": "classof", "Target": "DirectX", "Target_Clf": "Virtual ISA", "Compiler_Type": "LLVM", "Idx": 2802, "Length": 20, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "int", "tls_symbolic_operand_1", "(", "rtx", "op", ",", "int", "size", ",", "int", "unspec", ")", "{", "op", "=", "XEXP", "(", "op", ",", "0", ")", ";", "if", "(", "GET_CODE", "(", "op", ")", "!=", "UNSPEC", "||", "XINT", "(", "op", ",", "1", ")", "!=", "unspec", ")", "return", "0", ";", "op", "=", "XVECEXP", "(", "op", ",", "0", ",", "0", ")", ";", "if", "(", "GET_CODE", "(", "op", ")", "!=", "SYMBOL_REF", ")", "return", "0", ";", "switch", "(", "SYMBOL_REF_TLS_MODEL", "(", "op", ")", ")", "{", "case", "TLS_MODEL_LOCAL_DYNAMIC", ":", "return", "unspec", "==", "UNSPEC_DTPREL", "&&", "size", "==", "alpha_tls_size", ";", "case", "TLS_MODEL_INITIAL_EXEC", ":", "return", "unspec", "==", "UNSPEC_TPREL", "&&", "size", "==", "64", ";", "case", "TLS_MODEL_LOCAL_EXEC", ":", "return", "unspec", "==", "UNSPEC_TPREL", "&&", "size", "==", "alpha_tls_size", ";", "default", ":", "gcc_unreachable", "(", ")", ";", "}", "}", ""], "natrual_language": ["Return", "true", "if", "OP", "is", "valid", "for", "a", "particular", "TLS", "relocation", ".", "We", "are", "already", "guaranteed", "that", "OP", "is", "a", "CONST", "."], "TS_V_token": ["alpha", "0", "1", "0", "0", "0", "0", "64"], "File": "alpha", "Func": "tls_symbolic_operand_1", "Target": "alpha", "Target_Clf": "MPU", "Compiler_Type": "GCC", "Idx": 2803, "Length": 118, "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": 2804, "Length": 25, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "void", "M88kPassConfig", "::", "addPreLegalizeMachineIR", "(", ")", "{", "addPass", "(", "createM88kPreLegalizerCombiner", "(", ")", ")", ";", "}", ""], "natrual_language": ["This", "method", "may", "be", "implemented", "by", "targets", "that", "want", "to", "run", "passes", "immediately", "before", "legalization", "."], "TS_V_token": ["M88k", "M88k", "M88k"], "File": "M88kTargetMachine", "Func": "addPreLegalizeMachineIR", "Target": "M88k", "Target_Clf": "MPU", "Compiler_Type": "LLVM", "Idx": 2805, "Length": 15, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "bool", "HexagonBitSimplify", "::", "runOnMachineFunction", "(", "MachineFunction", "&", "MF", ")", "{", "if", "(", "skipFunction", "(", "*", "MF", ".", "getFunction", "(", ")", ")", ")", "return", "false", ";", "auto", "&", "HST", "=", "MF", ".", "getSubtarget", "<", "HexagonSubtarget", ">", "(", ")", ";", "auto", "&", "HRI", "=", "*", "HST", ".", "getRegisterInfo", "(", ")", ";", "auto", "&", "HII", "=", "*", "HST", ".", "getInstrInfo", "(", ")", ";", "MDT", "=", "&", "getAnalysis", "<", "MachineDominatorTree", ">", "(", ")", ";", "MachineRegisterInfo", "&", "MRI", "=", "MF", ".", "getRegInfo", "(", ")", ";", "bool", "Changed", ";", "Changed", "=", "DeadCodeElimination", "(", "MF", ",", "*", "MDT", ")", ".", "run", "(", ")", ";", "const", "HexagonEvaluator", "HE", "(", "HRI", ",", "MRI", ",", "HII", ",", "MF", ")", ";", "BitTracker", "BT", "(", "HE", ",", "MF", ")", ";", "DEBUG", "(", "BT", ".", "trace", "(", "true", ")", ")", ";", "BT", ".", "run", "(", ")", ";", "MachineBasicBlock", "&", "Entry", "=", "MF", ".", "front", "(", ")", ";", "RegisterSet", "AIG", ";", "ConstGeneration", "ImmG", "(", "BT", ",", "HII", ",", "MRI", ")", ";", "Changed", "|=", "visitBlock", "(", "Entry", ",", "ImmG", ",", "AIG", ")", ";", "RegisterSet", "ARE", ";", "RedundantInstrElimination", "RIE", "(", "BT", ",", "HII", ",", "MRI", ")", ";", "bool", "Ried", "=", "visitBlock", "(", "Entry", ",", "RIE", ",", "ARE", ")", ";", "if", "(", "Ried", ")", "{", "Changed", "=", "true", ";", "BT", ".", "run", "(", ")", ";", "}", "RegisterSet", "ACG", ";", "CopyGeneration", "CopyG", "(", "BT", ",", "HII", ",", "HRI", ",", "MRI", ")", ";", "Changed", "|=", "visitBlock", "(", "Entry", ",", "CopyG", ",", "ACG", ")", ";", "RegisterSet", "ACP", ";", "CopyPropagation", "CopyP", "(", "HRI", ",", "MRI", ")", ";", "Changed", "|=", "visitBlock", "(", "Entry", ",", "CopyP", ",", "ACP", ")", ";", "Changed", "=", "DeadCodeElimination", "(", "MF", ",", "*", "MDT", ")", ".", "run", "(", ")", "||", "Changed", ";", "BT", ".", "run", "(", ")", ";", "RegisterSet", "ABS", ";", "BitSimplification", "BitS", "(", "BT", ",", "HII", ",", "HRI", ",", "MRI", ",", "MF", ")", ";", "Changed", "|=", "visitBlock", "(", "Entry", ",", "BitS", ",", "ABS", ")", ";", "Changed", "=", "DeadCodeElimination", "(", "MF", ",", "*", "MDT", ")", ".", "run", "(", ")", "||", "Changed", ";", "if", "(", "Changed", ")", "{", "for", "(", "auto", "&", "B", ":", "MF", ")", "for", "(", "auto", "&", "I", ":", "B", ")", "I", ".", "clearKillInfo", "(", ")", ";", "DeadCodeElimination", "(", "MF", ",", "*", "MDT", ")", ".", "run", "(", ")", ";", "}", "return", "Changed", ";", "}", ""], "natrual_language": ["runOnMachineFunction", "-", "Emit", "the", "function", "body", "."], "TS_V_token": ["Hexagon", "Hexagon", "Hexagon", "Hexagon"], "File": "HexagonBitSimplify15", "Func": "runOnMachineFunction", "Target": "Hexagon", "Target_Clf": "DSP", "Compiler_Type": "LLVM", "Idx": 2806, "Length": 367, "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": 2807, "Length": 226, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "static", "bool", "isNot", "(", "const", "MachineRegisterInfo", "&", "MRI", ",", "const", "MachineInstr", "&", "MI", ")", "{", "if", "(", "MI", ".", "getOpcode", "(", ")", "!=", "TargetOpcode", "::", "G_XOR", ")", "return", "false", ";", "auto", "ConstVal", "=", "getConstantVRegVal", "(", "MI", ".", "getOperand", "(", "2", ")", ".", "getReg", "(", ")", ",", "MRI", ")", ";", "return", "ConstVal", "&&", "*", "ConstVal", "==", "-", "1", ";", "}", ""], "natrual_language": ["Check", "if", "the", "current", "token", "has", "kind", "K", "."], "TS_V_token": ["AMDGPU", "2", "1"], "File": "AMDGPULegalizerInfo35", "Func": "isNot", "Target": "AMDGPU", "Target_Clf": "GPU", "Compiler_Type": "LLVM", "Idx": 2808, "Length": 59, "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": 2809, "Length": 110, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "static", "bool", "frv_class_likely_spilled_p", "(", "reg_class_t", "rclass", ")", "{", "switch", "(", "rclass", ")", "{", "default", ":", "break", ";", "case", "GR8_REGS", ":", "case", "GR9_REGS", ":", "case", "GR89_REGS", ":", "case", "FDPIC_FPTR_REGS", ":", "case", "FDPIC_REGS", ":", "case", "ICC_REGS", ":", "case", "FCC_REGS", ":", "case", "CC_REGS", ":", "case", "ICR_REGS", ":", "case", "FCR_REGS", ":", "case", "CR_REGS", ":", "case", "LCR_REG", ":", "case", "LR_REG", ":", "case", "SPR_REGS", ":", "case", "QUAD_ACC_REGS", ":", "case", "ACCG_REGS", ":", "return", "true", ";", "}", "return", "false", ";", "}", ""], "natrual_language": ["A", "C", "expression", "whose", "value", "is", "nonzero", "if", "pseudos", "that", "have", "been", "assigned", "to", "registers", "of", "class", "CLASS", "would", "likely", "be", "spilled", "because", "registers", "of", "CLASS", "are", "needed", "for", "spill", "registers", ".", "The", "default", "value", "of", "this", "macro", "returns", "1", "if", "CLASS", "has", "exactly", "one", "register", "and", "zero", "otherwise", ".", "On", "most", "machines", ",", "this", "default", "should", "be", "used", ".", "Only", "define", "this", "macro", "to", "some", "other", "expression", "if", "pseudo", "allocated", "by", "`", "local-alloc.c", "'", "end", "up", "in", "memory", "because", "their", "hard", "registers", "were", "needed", "for", "spill", "registers", ".", "If", "this", "macro", "returns", "nonzero", "for", "those", "classes", ",", "those", "pseudos", "will", "only", "be", "allocated", "by", "`", "global.c", "'", ",", "which", "knows", "how", "to", "reallocate", "the", "pseudo", "to", "another", "register", ".", "If", "there", "would", "not", "be", "another", "register", "available", "for", "reallocation", ",", "you", "should", "not", "change", "the", "definition", "of", "this", "macro", "since", "the", "only", "effect", "of", "such", "a", "definition", "would", "be", "to", "slow", "down", "register", "allocation", "."], "TS_V_token": ["frv"], "File": "frv", "Func": "frv_class_likely_spilled_p", "Target": "frv", "Target_Clf": "VLIW", "Compiler_Type": "GCC", "Idx": 2810, "Length": 73, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "bool", "NVPTXAsmPrinter", "::", "lowerOperand", "(", "const", "MachineOperand", "&", "MO", ",", "MCOperand", "&", "MCOp", ")", "{", "switch", "(", "MO", ".", "getType", "(", ")", ")", "{", "default", ":", "llvm_unreachable", "(", "\"unknown operand type\"", ")", ";", "case", "MachineOperand", "::", "MO_Register", ":", "MCOp", "=", "MCOperand", "::", "createReg", "(", "encodeVirtualRegister", "(", "MO", ".", "getReg", "(", ")", ")", ")", ";", "break", ";", "case", "MachineOperand", "::", "MO_Immediate", ":", "MCOp", "=", "MCOperand", "::", "createImm", "(", "MO", ".", "getImm", "(", ")", ")", ";", "break", ";", "case", "MachineOperand", "::", "MO_MachineBasicBlock", ":", "MCOp", "=", "MCOperand", "::", "createExpr", "(", "MCSymbolRefExpr", "::", "create", "(", "MO", ".", "getMBB", "(", ")", "->", "getSymbol", "(", ")", ",", "OutContext", ")", ")", ";", "break", ";", "case", "MachineOperand", "::", "MO_ExternalSymbol", ":", "MCOp", "=", "GetSymbolRef", "(", "GetExternalSymbolSymbol", "(", "MO", ".", "getSymbolName", "(", ")", ")", ")", ";", "break", ";", "case", "MachineOperand", "::", "MO_GlobalAddress", ":", "MCOp", "=", "GetSymbolRef", "(", "getSymbol", "(", "MO", ".", "getGlobal", "(", ")", ")", ")", ";", "break", ";", "case", "MachineOperand", "::", "MO_FPImmediate", ":", "{", "const", "ConstantFP", "*", "Cnt", "=", "MO", ".", "getFPImm", "(", ")", ";", "APFloat", "Val", "=", "Cnt", "->", "getValueAPF", "(", ")", ";", "switch", "(", "Cnt", "->", "getType", "(", ")", "->", "getTypeID", "(", ")", ")", "{", "default", ":", "report_fatal_error", "(", "\"Unsupported FP type\"", ")", ";", "break", ";", "case", "Type", "::", "FloatTyID", ":", "MCOp", "=", "MCOperand", "::", "createExpr", "(", "NVPTXFloatMCExpr", "::", "createConstantFPSingle", "(", "Val", ",", "OutContext", ")", ")", ";", "break", ";", "case", "Type", "::", "DoubleTyID", ":", "MCOp", "=", "MCOperand", "::", "createExpr", "(", "NVPTXFloatMCExpr", "::", "createConstantFPDouble", "(", "Val", ",", "OutContext", ")", ")", ";", "break", ";", "}", "break", ";", "}", "}", "return", "true", ";", "}", ""], "natrual_language": ["Wrapper", "for", "MCInstLowering.lowerOperand", "(", ")", "for", "the", "tblgen'erated", "pseudo", "lowering", "."], "TS_V_token": ["NVPTX", "NVPTX", "\"unknown operand type\"", "\"Unsupported FP type\"", "NVPTX", "NVPTX"], "File": "NVPTXAsmPrinter", "Func": "lowerOperand", "Target": "NVPTX", "Target_Clf": "GPU", "Compiler_Type": "LLVM", "Idx": 2811, "Length": 250, "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": 2812, "Length": 121, "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": 2813, "Length": 26, "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": 2814, "Length": 13, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "void", "ix86_split_copysign_const", "(", "rtx", "operands", "[", "]", ")", "{", "enum", "machine_mode", "mode", ",", "vmode", ";", "rtx", "dest", ",", "op0", ",", "op1", ",", "mask", ",", "x", ";", "dest", "=", "operands", "[", "0", "]", ";", "op0", "=", "operands", "[", "1", "]", ";", "op1", "=", "operands", "[", "2", "]", ";", "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", "2", "3", "0"], "File": "i3863", "Func": "ix86_split_copysign_const", "Target": "i386", "Target_Clf": "CPU", "Compiler_Type": "GCC", "Idx": 2815, "Length": 139, "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": 2816, "Length": 447, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "char", "c6x_get_unit_specifier", "(", "rtx_insn", "*", "insn", ")", "{", "enum", "attr_units", "units", ";", "if", "(", "insn_info", ".", "exists", "(", ")", ")", "{", "int", "unit", "=", "INSN_INFO_ENTRY", "(", "INSN_UID", "(", "insn", ")", ")", ".", "reservation", ";", "return", "c6x_unit_names", "[", "unit", "]", "[", "0", "]", ";", "}", "units", "=", "get_attr_units", "(", "insn", ")", ";", "switch", "(", "units", ")", "{", "case", "UNITS_D", ":", "case", "UNITS_DL", ":", "case", "UNITS_DS", ":", "case", "UNITS_DLS", ":", "case", "UNITS_D_ADDR", ":", "return", "'d'", ";", "case", "UNITS_L", ":", "case", "UNITS_LS", ":", "return", "'l'", ";", "case", "UNITS_S", ":", "return", "'s'", ";", "case", "UNITS_M", ":", "return", "'m'", ";", "default", ":", "gcc_unreachable", "(", ")", ";", "}", "}", ""], "natrual_language": ["Return", "a", "single", "character", ",", "which", "is", "either", "'", "l", "'", ",", "'s", "'", ",", "'d", "'", "or", "'m", "'", ",", "which", "specifies", "the", "functional", "unit", "used", "by", "INSN", "."], "TS_V_token": ["c6x", "0"], "File": "c6x", "Func": "c6x_get_unit_specifier", "Target": "c6x", "Target_Clf": "VLIW", "Compiler_Type": "GCC", "Idx": 2817, "Length": 103, "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": 2818, "Length": 22, "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": 2819, "Length": 23, "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": 2820, "Length": 22, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "bool", "TL45InstrInfo", "::", "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", "||", "!", "getAnalyzableBrOpc", "(", "SecondLastOpc", ")", ")", "{", "if", "(", "LastInst", "->", "isUnconditionalBranch", "(", ")", ")", "{", "TBB", "=", "LastInst", "->", "getOperand", "(", "0", ")", ".", "getMBB", "(", ")", ";", "return", "false", ";", "}", "AnalyzeCondBr", "(", "LastInst", ",", "LastOpc", ",", "TBB", ",", "Cond", ",", "I", ")", ";", "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", ",", "I", ")", ";", "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": ["TL45", "TL45", "4", "0", "0", "0", "0"], "File": "TL45InstrInfo", "Func": "analyzeBranch", "Target": "TL45", "Target_Clf": "MPU", "Compiler_Type": "LLVM", "Idx": 2821, "Length": 375, "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", "(", "!", "SelectDFormAddr", "(", "Op", ".", "getNode", "(", ")", ",", "Op", ",", "Op0", ",", "Op1", ")", "&&", "!", "SelectAFormAddr", "(", "Op", ".", "getNode", "(", ")", ",", "Op", ",", "Op0", ",", "Op1", ")", ")", "SelectXFormAddr", "(", "Op", ".", "getNode", "(", ")", ",", "Op", ",", "Op0", ",", "Op1", ")", ";", "break", ";", "case", "'o'", ":", "if", "(", "!", "SelectDFormAddr", "(", "Op", ".", "getNode", "(", ")", ",", "Op", ",", "Op0", ",", "Op1", ")", "&&", "!", "SelectAFormAddr", "(", "Op", ".", "getNode", "(", ")", ",", "Op", ",", "Op0", ",", "Op1", ")", ")", "{", "Op0", "=", "Op", ";", "Op1", "=", "getSmallIPtrImm", "(", "0", ")", ";", "}", "break", ";", "case", "'v'", ":", "llvm_unreachable", "(", "\"InlineAsmMemoryOperand 'v' constraint not handled.\"", ")", ";", "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": ["CellSPU", "0", "\"InlineAsmMemoryOperand 'v' constraint not handled.\""], "File": "SPUISelDAGToDAG", "Func": "SelectInlineAsmMemoryOperand", "Target": "CellSPU", "Target_Clf": "MPU", "Compiler_Type": "LLVM", "Idx": 2822, "Length": 183, "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": 2823, "Length": 71, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "bool", "SITargetLowering", "::", "isEligibleForTailCallOptimization", "(", "SDValue", "Callee", ",", "CallingConv", "::", "ID", "CalleeCC", ",", "bool", "IsVarArg", ",", "const", "SmallVectorImpl", "<", "ISD", "::", "OutputArg", ">", "&", "Outs", ",", "const", "SmallVectorImpl", "<", "SDValue", ">", "&", "OutVals", ",", "const", "SmallVectorImpl", "<", "ISD", "::", "InputArg", ">", "&", "Ins", ",", "SelectionDAG", "&", "DAG", ")", "const", "{", "if", "(", "!", "mayTailCallThisCC", "(", "CalleeCC", ")", ")", "return", "false", ";", "if", "(", "Callee", "->", "isDivergent", "(", ")", ")", "return", "false", ";", "MachineFunction", "&", "MF", "=", "DAG", ".", "getMachineFunction", "(", ")", ";", "const", "Function", "&", "CallerF", "=", "MF", ".", "getFunction", "(", ")", ";", "CallingConv", "::", "ID", "CallerCC", "=", "CallerF", ".", "getCallingConv", "(", ")", ";", "const", "SIRegisterInfo", "*", "TRI", "=", "getSubtarget", "(", ")", "->", "getRegisterInfo", "(", ")", ";", "const", "uint32_t", "*", "CallerPreserved", "=", "TRI", "->", "getCallPreservedMask", "(", "MF", ",", "CallerCC", ")", ";", "if", "(", "!", "CallerPreserved", ")", "return", "false", ";", "bool", "CCMatch", "=", "CallerCC", "==", "CalleeCC", ";", "if", "(", "DAG", ".", "getTarget", "(", ")", ".", "Options", ".", "GuaranteedTailCallOpt", ")", "{", "if", "(", "canGuaranteeTCO", "(", "CalleeCC", ")", "&&", "CCMatch", ")", "return", "true", ";", "return", "false", ";", "}", "if", "(", "IsVarArg", ")", "return", "false", ";", "for", "(", "const", "Argument", "&", "Arg", ":", "CallerF", ".", "args", "(", ")", ")", "{", "if", "(", "Arg", ".", "hasByValAttr", "(", ")", ")", "return", "false", ";", "}", "LLVMContext", "&", "Ctx", "=", "*", "DAG", ".", "getContext", "(", ")", ";", "if", "(", "!", "CCState", "::", "resultsCompatible", "(", "CalleeCC", ",", "CallerCC", ",", "MF", ",", "Ctx", ",", "Ins", ",", "CCAssignFnForCall", "(", "CalleeCC", ",", "IsVarArg", ")", ",", "CCAssignFnForCall", "(", "CallerCC", ",", "IsVarArg", ")", ")", ")", "return", "false", ";", "if", "(", "!", "CCMatch", ")", "{", "const", "uint32_t", "*", "CalleePreserved", "=", "TRI", "->", "getCallPreservedMask", "(", "MF", ",", "CalleeCC", ")", ";", "if", "(", "!", "TRI", "->", "regmaskSubsetEqual", "(", "CallerPreserved", ",", "CalleePreserved", ")", ")", "return", "false", ";", "}", "if", "(", "Outs", ".", "empty", "(", ")", ")", "return", "true", ";", "SmallVector", "<", "CCValAssign", ",", "16", ">", "ArgLocs", ";", "CCState", "CCInfo", "(", "CalleeCC", ",", "IsVarArg", ",", "MF", ",", "ArgLocs", ",", "Ctx", ")", ";", "CCInfo", ".", "AnalyzeCallOperands", "(", "Outs", ",", "CCAssignFnForCall", "(", "CalleeCC", ",", "IsVarArg", ")", ")", ";", "const", "SIMachineFunctionInfo", "*", "FuncInfo", "=", "MF", ".", "getInfo", "<", "SIMachineFunctionInfo", ">", "(", ")", ";", "if", "(", "CCInfo", ".", "getNextStackOffset", "(", ")", ">", "FuncInfo", "->", "getBytesInStackArgArea", "(", ")", ")", "return", "false", ";", "const", "MachineRegisterInfo", "&", "MRI", "=", "MF", ".", "getRegInfo", "(", ")", ";", "return", "parametersInCSRMatch", "(", "MRI", ",", "CallerPreserved", ",", "ArgLocs", ",", "OutVals", ")", ";", "}", ""], "natrual_language": ["Returns", "true", "if", "the", "call", "can", "be", "lowered", "as", "a", "tail", "call", "."], "TS_V_token": ["AMDGPU", "SI", "ISD::OutputArg", "ISD::InputArg", "SI", "16", "SI", "SI"], "File": "SIISelLowering10", "Func": "isEligibleForTailCallOptimization", "Target": "AMDGPU", "Target_Clf": "GPU", "Compiler_Type": "LLVM", "Idx": 2824, "Length": 392, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "static", "void", "nios2_handle_custom_fpu_cfg", "(", "const", "char", "*", "cfgname", ",", "const", "char", "*", "endp", ",", "bool", "override", ")", "{", "struct", "nios2_fpu_config", "*", "cfg", "=", "nios2_match_custom_fpu_cfg", "(", "cfgname", ",", "endp", ")", ";", "if", "(", "cfg", ")", "{", "unsigned", "int", "i", ";", "for", "(", "i", "=", "0", ";", "i", "<", "ARRAY_SIZE", "(", "nios2_fpu_insn", ")", ";", "i", "++", ")", "if", "(", "cfg", "->", "code", "[", "i", "]", ">=", "0", ")", "nios2_set_fpu_custom_code", "(", "(", "enum", "n2fpu_code", ")", "i", ",", "cfg", "->", "code", "[", "i", "]", ",", "override", ")", ";", "if", "(", "cfg", "->", "set_sp_constants", ")", "flag_single_precision_constant", "=", "1", ";", "}", "else", "warning", "(", "0", ",", "\"ignoring unrecognized switch %<-mcustom-fpu-cfg%> \"", "\"value %<%s%>\"", ",", "cfgname", ")", ";", "nios2_custom_check_insns", "(", ")", ";", "}", ""], "natrual_language": ["Use", "CFGNAME", "to", "lookup", "FPU", "config", ",", "ENDP", "if", "not", "NULL", "marks", "end", "of", "string", ".", "OVERRIDE", "is", "true", "if", "loaded", "config", "codes", "should", "overwrite", "current", "state", "."], "TS_V_token": ["nios2", "0", "0", "1", "0", "\"ignoring unrecognized switch %<-mcustom-fpu-cfg%> \"", "\"value %<%s%>\""], "File": "nios2", "Func": "nios2_handle_custom_fpu_cfg", "Target": "nios2", "Target_Clf": "MPU", "Compiler_Type": "GCC", "Idx": 2825, "Length": 111, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "SDValue", "WebAssemblySelectionDAGInfo", "::", "EmitTargetCodeForMemmove", "(", "SelectionDAG", "&", "DAG", ",", "const", "SDLoc", "&", "DL", ",", "SDValue", "Chain", ",", "SDValue", "Op1", ",", "SDValue", "Op2", ",", "SDValue", "Op3", ",", "unsigned", "Align", ",", "bool", "IsVolatile", ",", "MachinePointerInfo", "DstPtrInfo", ",", "MachinePointerInfo", "SrcPtrInfo", ")", "const", "{", "return", "EmitTargetCodeForMemcpy", "(", "DAG", ",", "DL", ",", "Chain", ",", "Op1", ",", "Op2", ",", "Op3", ",", "Align", ",", "IsVolatile", ",", "false", ",", "DstPtrInfo", ",", "SrcPtrInfo", ")", ";", "}", ""], "natrual_language": ["Emit", "target-specific", "code", "that", "performs", "a", "memmove", "."], "TS_V_token": ["WebAssembly", "WebAssembly"], "File": "WebAssemblySelectionDAGInfo13", "Func": "EmitTargetCodeForMemmove", "Target": "WebAssembly", "Target_Clf": "Virtual ISA", "Compiler_Type": "LLVM", "Idx": 2826, "Length": 67, "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": 2827, "Length": 22, "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": 2828, "Length": 154, "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": 2829, "Length": 32, "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": 2830, "Length": 24, "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": 2831, "Length": 364, "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": ["arc", "1"], "File": "arc", "Func": "frame_insn", "Target": "arc", "Target_Clf": "MPU", "Compiler_Type": "GCC", "Idx": 2832, "Length": 26, "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": 2833, "Length": 38, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "void", "XCoreInstPrinter", "::", "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": ["XCore", "XCore"], "File": "XCoreInstPrinter", "Func": "printInst", "Target": "XCore", "Target_Clf": "MPU", "Compiler_Type": "LLVM", "Idx": 2834, "Length": 33, "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": 2835, "Length": 279, "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": 2836, "Length": 373, "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": 2837, "Length": 164, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "static", "void", "expand_prologue_reg_save", "(", "rtx", "spreg", ",", "int", "saveall", ",", "bool", "is_inthandler", ")", "{", "int", "ndregs", "=", "saveall", "?", "8", ":", "n_dregs_to_save", "(", "is_inthandler", ")", ";", "int", "npregs", "=", "saveall", "?", "6", ":", "n_pregs_to_save", "(", "is_inthandler", ")", ";", "int", "dregno", "=", "REG_R7", "+", "1", "-", "ndregs", ";", "int", "pregno", "=", "REG_P5", "+", "1", "-", "npregs", ";", "int", "total", "=", "ndregs", "+", "npregs", ";", "int", "i", ";", "rtx", "pat", ",", "insn", ",", "val", ";", "if", "(", "total", "==", "0", ")", "return", ";", "val", "=", "GEN_INT", "(", "-", "total", "*", "4", ")", ";", "pat", "=", "gen_rtx_PARALLEL", "(", "VOIDmode", ",", "rtvec_alloc", "(", "total", "+", "2", ")", ")", ";", "XVECEXP", "(", "pat", ",", "0", ",", "0", ")", "=", "gen_rtx_UNSPEC", "(", "VOIDmode", ",", "gen_rtvec", "(", "1", ",", "val", ")", ",", "UNSPEC_PUSH_MULTIPLE", ")", ";", "XVECEXP", "(", "pat", ",", "0", ",", "total", "+", "1", ")", "=", "gen_rtx_SET", "(", "VOIDmode", ",", "spreg", ",", "gen_rtx_PLUS", "(", "Pmode", ",", "spreg", ",", "val", ")", ")", ";", "RTX_FRAME_RELATED_P", "(", "XVECEXP", "(", "pat", ",", "0", ",", "total", "+", "1", ")", ")", "=", "1", ";", "for", "(", "i", "=", "0", ";", "i", "<", "total", ";", "i", "++", ")", "{", "rtx", "memref", "=", "gen_rtx_MEM", "(", "word_mode", ",", "gen_rtx_PLUS", "(", "Pmode", ",", "spreg", ",", "GEN_INT", "(", "-", "i", "*", "4", "-", "4", ")", ")", ")", ";", "rtx", "subpat", ";", "if", "(", "ndregs", ">", "0", ")", "{", "subpat", "=", "gen_rtx_SET", "(", "VOIDmode", ",", "memref", ",", "gen_rtx_REG", "(", "word_mode", ",", "dregno", "++", ")", ")", ";", "ndregs", "--", ";", "}", "else", "{", "subpat", "=", "gen_rtx_SET", "(", "VOIDmode", ",", "memref", ",", "gen_rtx_REG", "(", "word_mode", ",", "pregno", "++", ")", ")", ";", "npregs", "++", ";", "}", "XVECEXP", "(", "pat", ",", "0", ",", "i", "+", "1", ")", "=", "subpat", ";", "RTX_FRAME_RELATED_P", "(", "subpat", ")", "=", "1", ";", "}", "insn", "=", "emit_insn", "(", "pat", ")", ";", "RTX_FRAME_RELATED_P", "(", "insn", ")", "=", "1", ";", "}", ""], "natrual_language": ["Emit", "code", "to", "save", "registers", "in", "the", "prologue", ".", "SAVEALL", "is", "nonzero", "if", "we", "must", "save", "all", "registers", ";", "this", "is", "used", "for", "interrupt", "handlers", ".", "SPREG", "contains", "(", "reg", ":", "SI", "REG_SP", ")", ".", "IS_INTHANDLER", "is", "true", "if", "we", "'re", "doing", "this", "for", "an", "interrupt", "(", "or", "exception", ")", "handler", "."], "TS_V_token": ["bfin", "8", "6", "1", "1", "0", "4", "2", "0", "0", "1", "0", "1", "0", "1", "1", "0", "4", "4", "0", "0", "1", "1", "1"], "File": "bfin2", "Func": "expand_prologue_reg_save", "Target": "bfin", "Target_Clf": "DSP", "Compiler_Type": "GCC", "Idx": 2838, "Length": 300, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "void", "Nios2AsmBackend", "::", "applyFixup", "(", "const", "MCAssembler", "&", "Asm", ",", "const", "MCFixup", "&", "Fixup", ",", "const", "MCValue", "&", "Target", ",", "MutableArrayRef", "<", "char", ">", "Data", ",", "uint64_t", "Value", ",", "bool", "IsResolved", ")", "const", "{", "MCFixupKind", "Kind", "=", "Fixup", ".", "getKind", "(", ")", ";", "Value", "=", "adjustFixupValue", "(", "Fixup", ",", "Value", ")", ";", "if", "(", "!", "Value", ")", "return", ";", "unsigned", "Offset", "=", "Fixup", ".", "getOffset", "(", ")", ";", "unsigned", "NumBytes", "=", "(", "getFixupKindInfo", "(", "Kind", ")", ".", "TargetSize", "+", "7", ")", "/", "8", ";", "uint64_t", "CurVal", "=", "0", ";", "for", "(", "unsigned", "i", "=", "0", ";", "i", "!=", "NumBytes", ";", "++", "i", ")", "{", "unsigned", "Idx", "=", "calculateLEIndex", "(", "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", "=", "calculateLEIndex", "(", "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": ["Nios2", "Nios2", "7", "8", "0", "0", "8", "1", "64", "0", "8", "0xff"], "File": "Nios2AsmBackend", "Func": "applyFixup", "Target": "Nios2", "Target_Clf": "MPU", "Compiler_Type": "LLVM", "Idx": 2839, "Length": 215, "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": 2840, "Length": 114, "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": 2841, "Length": 13, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "virtual", "unsigned", "getFrameRegister", "(", "const", "MachineFunction", "&", "MF", ")", "const", "{", "llvm_unreachable", "(", "\"PTX does not have a frame register\"", ")", ";", "return", "0", ";", "}", ""], "natrual_language": ["Debug", "information", "queries", "."], "TS_V_token": ["PTX", "\"PTX does not have a frame register\"", "0"], "File": "PTXRegisterInfo2", "Func": "getFrameRegister", "Target": "PTX", "Target_Clf": "GPU", "Compiler_Type": "LLVM", "Idx": 2842, "Length": 20, "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", "::", "SWC1", ")", "||", "(", "Opc", "==", "Mips", "::", "SDC1", ")", ")", "{", "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::SWC1", "Mips::SDC1", "1", "2", "2", "1", "0", "0"], "File": "MipsSEInstrInfo25", "Func": "isStoreToStackSlot", "Target": "Mips", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 2843, "Length": 124, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "void", "print", "(", "raw_ostream", "&", "OS", ",", "const", "TargetRegisterInfo", "*", "TRI", "=", "nullptr", ")", "const", "{", "if", "(", "isReg", "(", ")", ")", "{", "OS", "<<", "PrintReg", "(", "Contents", ".", "R", ".", "Reg", ",", "TRI", ",", "Contents", ".", "R", ".", "Sub", ")", ";", "}", "if", "(", "isImm", "(", ")", ")", "{", "OS", "<<", "Contents", ".", "ImmVal", ";", "}", "}", ""], "natrual_language": ["print", "-", "Print", "a", "debug", "representation", "of", "the", "operand", "to", "the", "given", "stream", "."], "TS_V_token": ["Hexagon"], "File": "HexagonHardwareLoops10", "Func": "print", "Target": "Hexagon", "Target_Clf": "DSP", "Compiler_Type": "LLVM", "Idx": 2844, "Length": 58, "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": 2845, "Length": 59, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "void", "ix86_call_abi_override", "(", "const_tree", "fndecl", ")", "{", "if", "(", "fndecl", "==", "NULL_TREE", ")", "cfun", "->", "machine", "->", "call_abi", "=", "ix86_abi", ";", "else", "cfun", "->", "machine", "->", "call_abi", "=", "ix86_function_type_abi", "(", "TREE_TYPE", "(", "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": "i3864", "Func": "ix86_call_abi_override", "Target": "i386", "Target_Clf": "CPU", "Compiler_Type": "GCC", "Idx": 2846, "Length": 37, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "const", "ArrayRef", "<", "MCPhysReg", ">", "SICABIInfo", "::", "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": ["SIC", "SIC", "\"Unhandled ABI\""], "File": "SICABIInfo", "Func": "GetByValArgRegs", "Target": "SIC", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 2847, "Length": 42, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "const", "char", "*", "nvptx_output_return", "(", "void", ")", "{", "tree", "fntype", "=", "TREE_TYPE", "(", "current_function_decl", ")", ";", "tree", "result_type", "=", "TREE_TYPE", "(", "fntype", ")", ";", "if", "(", "TYPE_MODE", "(", "result_type", ")", "!=", "VOIDmode", ")", "{", "machine_mode", "mode", "=", "TYPE_MODE", "(", "result_type", ")", ";", "if", "(", "RETURN_IN_REG_P", "(", "mode", ")", ")", "{", "mode", "=", "arg_promotion", "(", "mode", ")", ";", "fprintf", "(", "asm_out_file", ",", "\"\\tst.param%s\\t[%%out_retval], %%retval;\\n\"", ",", "nvptx_ptx_type_from_mode", "(", "mode", ",", "false", ")", ")", ";", "}", "}", "return", "\"ret;\"", ";", "}", ""], "natrual_language": ["Output", "a", "return", "instruction", ".", "Also", "copy", "the", "return", "value", "to", "its", "outgoing", "location", "."], "TS_V_token": ["nvptx", "\"\\tst.param%s\\t[%%out_retval], %%retval;\\n\"", "\"ret;\""], "File": "nvptx2", "Func": "nvptx_output_return", "Target": "nvptx", "Target_Clf": "GPU", "Compiler_Type": "GCC", "Idx": 2848, "Length": 77, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "static", "rtx", "conditionalize_block", "(", "rtx", "first", ")", "{", "rtx", "insn", ";", "rtx", "br_pat", ";", "rtx", "end_blk_1_br", "=", "0", ";", "rtx", "end_blk_2_insn", "=", "0", ";", "rtx", "start_blk_3_lab", "=", "0", ";", "int", "cond", ";", "int", "br_lab_num", ";", "int", "blk_size", "=", "0", ";", "if", "(", "GET_CODE", "(", "first", ")", "!=", "JUMP_INSN", "||", "GET_CODE", "(", "PATTERN", "(", "first", ")", ")", "!=", "SET", "||", "GET_CODE", "(", "XEXP", "(", "PATTERN", "(", "first", ")", ",", "1", ")", ")", "!=", "IF_THEN_ELSE", ")", "return", "NEXT_INSN", "(", "first", ")", ";", "end_blk_1_br", "=", "first", ";", "br_pat", "=", "PATTERN", "(", "end_blk_1_br", ")", ";", "cond", "=", "(", "GET_CODE", "(", "XEXP", "(", "XEXP", "(", "br_pat", ",", "1", ")", ",", "0", ")", ")", "==", "EQ", ")", ";", "if", "(", "GET_CODE", "(", "XEXP", "(", "XEXP", "(", "br_pat", ",", "1", ")", ",", "1", ")", ")", "==", "LABEL_REF", ")", "{", "br_lab_num", "=", "CODE_LABEL_NUMBER", "(", "XEXP", "(", "XEXP", "(", "XEXP", "(", "br_pat", ",", "1", ")", ",", "1", ")", ",", "0", ")", ")", ";", "}", "else", "{", "cond", "=", "(", "cond", "==", "0", ")", ";", "br_lab_num", "=", "CODE_LABEL_NUMBER", "(", "XEXP", "(", "XEXP", "(", "XEXP", "(", "br_pat", ",", "1", ")", ",", "2", ")", ",", "0", ")", ")", ";", "}", "for", "(", "insn", "=", "NEXT_INSN", "(", "first", ")", ";", "insn", ";", "insn", "=", "NEXT_INSN", "(", "insn", ")", ")", "{", "enum", "rtx_code", "code", ";", "code", "=", "GET_CODE", "(", "insn", ")", ";", "if", "(", "code", "==", "CODE_LABEL", "&&", "CODE_LABEL_NUMBER", "(", "insn", ")", "==", "br_lab_num", ")", "break", ";", "if", "(", "code", "!=", "BARRIER", "&&", "code", "!=", "NOTE", "&&", "!", "is_cond_candidate", "(", "insn", ")", ")", "return", "NEXT_INSN", "(", "insn", ")", ";", "if", "(", "code", "==", "JUMP_INSN", "||", "code", "==", "INSN", ")", "{", "blk_size", "++", ";", "end_blk_2_insn", "=", "insn", ";", "}", "}", "if", "(", "!", "insn", ")", "return", "insn", ";", "if", "(", "optimize", ">", "1", "&&", "blk_size", ">", "2", ")", "return", "insn", ";", "start_blk_3_lab", "=", "insn", ";", "for", "(", "insn", "=", "NEXT_INSN", "(", "end_blk_1_br", ")", ";", "insn", "!=", "start_blk_3_lab", ";", "insn", "=", "NEXT_INSN", "(", "insn", ")", ")", "{", "rtx", "newinsn", ";", "if", "(", "INSN_DELETED_P", "(", "insn", ")", ")", "continue", ";", "if", "(", "(", "newinsn", "=", "emit_new_cond_insn", "(", "insn", ",", "cond", ")", ")", ")", "{", "if", "(", "end_blk_2_insn", "==", "insn", ")", "end_blk_2_insn", "=", "newinsn", ";", "insn", "=", "newinsn", ";", "}", "}", "if", "(", "LABEL_NUSES", "(", "start_blk_3_lab", ")", "==", "1", ")", "{", "start_blk_3_lab", "=", "0", ";", "}", "delete_insn", "(", "end_blk_1_br", ")", ";", "if", "(", "!", "start_blk_3_lab", ")", "return", "end_blk_2_insn", ";", "return", "NEXT_INSN", "(", "start_blk_3_lab", ")", ";", "}", ""], "natrual_language": ["Attempt", "to", "change", "a", "basic", "block", "into", "a", "series", "of", "conditional", "insns", ".", "This", "works", "by", "taking", "the", "branch", "at", "the", "end", "of", "the", "1st", "block", "and", "scanning", "for", "the", "end", "of", "the", "2nd", "block", ".", "If", "all", "instructions", "in", "the", "2nd", "block", "have", "cond", ".", "versions", "and", "the", "label", "at", "the", "start", "of", "block", "3", "is", "the", "same", "as", "the", "target", "from", "the", "branch", "at", "block", "1", ",", "then", "conditionalize", "all", "insn", "in", "block", "2", "using", "the", "inverse", "condition", "of", "the", "branch", "at", "block", "1", ".", "(", "Note", "I", "'m", "bending", "the", "definition", "of", "basic", "block", "here", ".", ")", "e.g.", ",", "change", ":", "bt", "L2", "<", "--", "end", "of", "block", "1", "(", "delete", ")", "mov", "r7", ",", "r8", "addu", "r7,1", "br", "L3", "<", "--", "end", "of", "block", "2", "L2", ":", "...", "<", "--", "start", "of", "block", "3", "(", "NUSES==1", ")", "L3", ":", "...", "to", ":", "movf", "r7", ",", "r8", "incf", "r7", "bf", "L3", "L3", ":", "...", "we", "can", "delete", "the", "L2", "label", "if", "NUSES==1", "and", "re-apply", "the", "optimization", "starting", "at", "the", "last", "instruction", "of", "block", "2", ".", "This", "may", "allow", "an", "entire", "if-then-else", "statement", "to", "be", "conditionalized", ".", "BRC"], "TS_V_token": ["mcore", "0", "0", "0", "0", "1", "1", "0", "1", "1", "1", "1", "0", "0", "1", "2", "0", "1", "2", "1", "0"], "File": "mcore3", "Func": "conditionalize_block", "Target": "mcore", "Target_Clf": "MPU", "Compiler_Type": "GCC", "Idx": 2849, "Length": 398, "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": ["TL45"], "File": "TL45FrameLowering", "Func": "enableShrinkWrapping", "Target": "TL45", "Target_Clf": "MPU", "Compiler_Type": "LLVM", "Idx": 2850, "Length": 15, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "static", "rtx", "frv_expand_unop_builtin", "(", "enum", "insn_code", "icode", ",", "tree", "arglist", ",", "rtx", "target", ")", "{", "rtx", "pat", ";", "rtx", "op0", "=", "frv_read_argument", "(", "&", "arglist", ")", ";", "target", "=", "frv_legitimize_target", "(", "icode", ",", "target", ")", ";", "op0", "=", "frv_legitimize_argument", "(", "icode", ",", "1", ",", "op0", ")", ";", "pat", "=", "GEN_FCN", "(", "icode", ")", "(", "target", ",", "op0", ")", ";", "if", "(", "!", "pat", ")", "return", "NULL_RTX", ";", "emit_insn", "(", "pat", ")", ";", "return", "target", ";", "}", ""], "natrual_language": ["Expand", "builtins", "that", "take", "one", "operand", "."], "TS_V_token": ["frv", "1"], "File": "frv2", "Func": "frv_expand_unop_builtin", "Target": "frv", "Target_Clf": "VLIW", "Compiler_Type": "GCC", "Idx": 2851, "Length": 76, "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": 2852, "Length": 12, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "static", "bool", "tilegx_pass_by_reference", "(", "cumulative_args_t", ",", "const", "function_arg_info", "&", "arg", ")", "{", "return", "(", "arg", ".", "type", "&&", "TYPE_SIZE", "(", "arg", ".", "type", ")", "&&", "TREE_CODE", "(", "TYPE_SIZE", "(", "arg", ".", "type", ")", ")", "!=", "INTEGER_CST", ")", ";", "}", ""], "natrual_language": ["Implement", "TARGET_PASS_BY_REFERENCE", ".", "Variable", "sized", "types", "are", "passed", "by", "reference", "."], "TS_V_token": ["tilegx"], "File": "tilegx", "Func": "tilegx_pass_by_reference", "Target": "tilegx", "Target_Clf": "VLIW", "Compiler_Type": "GCC", "Idx": 2853, "Length": 39, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "static", "int", "epiphany_adjust_cost", "(", "rtx_insn", "*", "insn", ",", "rtx", "link", ",", "rtx_insn", "*", "dep_insn", ",", "int", "cost", ")", "{", "if", "(", "REG_NOTE_KIND", "(", "link", ")", "==", "0", ")", "{", "rtx", "dep_set", ";", "if", "(", "recog_memoized", "(", "insn", ")", "<", "0", "||", "recog_memoized", "(", "dep_insn", ")", "<", "0", ")", "return", "cost", ";", "dep_set", "=", "single_set", "(", "dep_insn", ")", ";", "if", "(", "dep_set", "&&", "MEM_P", "(", "SET_SRC", "(", "dep_set", ")", ")", "&&", "cost", ">", "1", ")", "{", "rtx", "set", "=", "single_set", "(", "insn", ")", ";", "if", "(", "set", "&&", "!", "reg_overlap_mentioned_p", "(", "SET_DEST", "(", "dep_set", ")", ",", "SET_SRC", "(", "set", ")", ")", "&&", "(", "!", "MEM_P", "(", "SET_DEST", "(", "set", ")", ")", "||", "!", "reg_overlap_mentioned_p", "(", "SET_DEST", "(", "dep_set", ")", ",", "XEXP", "(", "SET_DEST", "(", "set", ")", ",", "0", ")", ")", ")", ")", "cost", "=", "1", ";", "}", "}", "return", "cost", ";", "}", ""], "natrual_language": ["Function", "to", "update", "the", "integer", "COST", "based", "on", "the", "relationship", "between", "INSN", "that", "is", "dependent", "on", "DEP_INSN", "through", "the", "dependence", "LINK", ".", "The", "default", "is", "to", "make", "no", "adjustment", "to", "COST", ".", "This", "can", "be", "used", "for", "example", "to", "specify", "to", "the", "scheduler", "that", "an", "output-", "or", "anti-dependence", "does", "not", "incur", "the", "same", "cost", "as", "a", "data-dependence", ".", "The", "return", "value", "should", "be", "the", "new", "value", "for", "COST", "."], "TS_V_token": ["epiphany", "0", "0", "0", "1", "0", "1"], "File": "epiphany2", "Func": "epiphany_adjust_cost", "Target": "epiphany", "Target_Clf": "MPU", "Compiler_Type": "GCC", "Idx": 2854, "Length": 141, "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": 2855, "Length": 28, "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": 2856, "Length": 46, "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": 2857, "Length": 151, "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": 2858, "Length": 208, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "Value", "*", "HexagonTargetLowering", "::", "emitLoadLinked", "(", "IRBuilder", "<", ">", "&", "Builder", ",", "Value", "*", "Addr", ",", "AtomicOrdering", "Ord", ")", "const", "{", "BasicBlock", "*", "BB", "=", "Builder", ".", "GetInsertBlock", "(", ")", ";", "Module", "*", "M", "=", "BB", "->", "getParent", "(", ")", "->", "getParent", "(", ")", ";", "Type", "*", "Ty", "=", "cast", "<", "PointerType", ">", "(", "Addr", "->", "getType", "(", ")", ")", "->", "getElementType", "(", ")", ";", "unsigned", "SZ", "=", "Ty", "->", "getPrimitiveSizeInBits", "(", ")", ";", "assert", "(", "(", "SZ", "==", "32", "||", "SZ", "==", "64", ")", "&&", "\"Only 32/64-bit atomic loads supported\"", ")", ";", "Intrinsic", "::", "ID", "IntID", "=", "(", "SZ", "==", "32", ")", "?", "Intrinsic", "::", "hexagon_L2_loadw_locked", ":", "Intrinsic", "::", "hexagon_L4_loadd_locked", ";", "Value", "*", "Fn", "=", "Intrinsic", "::", "getDeclaration", "(", "M", ",", "IntID", ")", ";", "return", "Builder", ".", "CreateCall", "(", "Fn", ",", "Addr", ",", "\"larx\"", ")", ";", "}", ""], "natrual_language": ["Perform", "a", "load-linked", "operation", "on", "Addr", ",", "returning", "a", "``", "Value", "*", "''", "with", "the", "corresponding", "pointee", "type", "."], "TS_V_token": ["Hexagon", "Hexagon", "32", "64", "\"Only 32/64-bit atomic loads supported\"", "Intrinsic::ID", "32", "Intrinsic::hexagon_L2_loadw_locked", "Intrinsic::hexagon_L4_loadd_locked", "Intrinsic::getDeclaration", "\"larx\""], "File": "HexagonISelLowering (2)", "Func": "emitLoadLinked", "Target": "Hexagon", "Target_Clf": "DSP", "Compiler_Type": "LLVM", "Idx": 2859, "Length": 134, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "unsigned", "getNumArgs", "(", ")", "const", "{", "return", "Impl", "->", "getNumArgs", "(", ")", ";", "}", ""], "natrual_language": ["Return", "the", "number", "of", "arguments", "associated", "with", "this", "function", "or", "call", "site", "scope", "."], "TS_V_token": ["AMDGPU"], "File": "AMDGPULibFunc (2)", "Func": "getNumArgs", "Target": "AMDGPU", "Target_Clf": "GPU", "Compiler_Type": "LLVM", "Idx": 2860, "Length": 14, "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": 2861, "Length": 138, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "bool", "isReg", "(", ")", "const", "override", "{", "return", "Kind", "==", "Local", "||", "Kind", "==", "Stack", ";", "}", ""], "natrual_language": ["isReg", "-", "Is", "this", "a", "register", "operand", "?"], "TS_V_token": ["WebAssembly"], "File": "WebAssemblyAsmParser27", "Func": "isReg", "Target": "WebAssembly", "Target_Clf": "Virtual ISA", "Compiler_Type": "LLVM", "Idx": 2862, "Length": 17, "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": 2863, "Length": 283, "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": 2864, "Length": 281, "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": 2865, "Length": 482, "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": 2866, "Length": 21, "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": 2867, "Length": 14, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "static", "void", "v850_print_operand_address", "(", "FILE", "*", "file", ",", "machine_mode", ",", "rtx", "addr", ")", "{", "switch", "(", "GET_CODE", "(", "addr", ")", ")", "{", "case", "REG", ":", "fprintf", "(", "file", ",", "\"0[\"", ")", ";", "v850_print_operand", "(", "file", ",", "addr", ",", "0", ")", ";", "fprintf", "(", "file", ",", "\"]\"", ")", ";", "break", ";", "case", "LO_SUM", ":", "if", "(", "GET_CODE", "(", "XEXP", "(", "addr", ",", "0", ")", ")", "==", "REG", ")", "{", "fprintf", "(", "file", ",", "\"lo(\"", ")", ";", "v850_print_operand", "(", "file", ",", "XEXP", "(", "addr", ",", "1", ")", ",", "0", ")", ";", "fprintf", "(", "file", ",", "\")[\"", ")", ";", "v850_print_operand", "(", "file", ",", "XEXP", "(", "addr", ",", "0", ")", ",", "0", ")", ";", "fprintf", "(", "file", ",", "\"]\"", ")", ";", "}", "break", ";", "case", "PLUS", ":", "if", "(", "GET_CODE", "(", "XEXP", "(", "addr", ",", "0", ")", ")", "==", "REG", "||", "GET_CODE", "(", "XEXP", "(", "addr", ",", "0", ")", ")", "==", "SUBREG", ")", "{", "v850_print_operand", "(", "file", ",", "XEXP", "(", "addr", ",", "1", ")", ",", "0", ")", ";", "fprintf", "(", "file", ",", "\"[\"", ")", ";", "v850_print_operand", "(", "file", ",", "XEXP", "(", "addr", ",", "0", ")", ",", "0", ")", ";", "fprintf", "(", "file", ",", "\"]\"", ")", ";", "}", "else", "{", "v850_print_operand", "(", "file", ",", "XEXP", "(", "addr", ",", "0", ")", ",", "0", ")", ";", "fprintf", "(", "file", ",", "\"+\"", ")", ";", "v850_print_operand", "(", "file", ",", "XEXP", "(", "addr", ",", "1", ")", ",", "0", ")", ";", "}", "break", ";", "case", "SYMBOL_REF", ":", "{", "const", "char", "*", "off_name", "=", "NULL", ";", "const", "char", "*", "reg_name", "=", "NULL", ";", "if", "(", "SYMBOL_REF_ZDA_P", "(", "addr", ")", ")", "{", "off_name", "=", "\"zdaoff\"", ";", "reg_name", "=", "\"r0\"", ";", "}", "else", "if", "(", "SYMBOL_REF_SDA_P", "(", "addr", ")", ")", "{", "off_name", "=", "\"sdaoff\"", ";", "reg_name", "=", "\"gp\"", ";", "}", "else", "if", "(", "SYMBOL_REF_TDA_P", "(", "addr", ")", ")", "{", "off_name", "=", "\"tdaoff\"", ";", "reg_name", "=", "\"ep\"", ";", "}", "if", "(", "off_name", ")", "fprintf", "(", "file", ",", "\"%s(\"", ",", "off_name", ")", ";", "output_addr_const", "(", "file", ",", "addr", ")", ";", "if", "(", "reg_name", ")", "fprintf", "(", "file", ",", "\")[%s]\"", ",", "reg_name", ")", ";", "}", "break", ";", "case", "CONST", ":", "if", "(", "special_symbolref_operand", "(", "addr", ",", "VOIDmode", ")", ")", "{", "rtx", "x", "=", "XEXP", "(", "XEXP", "(", "addr", ",", "0", ")", ",", "0", ")", ";", "const", "char", "*", "off_name", ";", "const", "char", "*", "reg_name", ";", "if", "(", "SYMBOL_REF_ZDA_P", "(", "x", ")", ")", "{", "off_name", "=", "\"zdaoff\"", ";", "reg_name", "=", "\"r0\"", ";", "}", "else", "if", "(", "SYMBOL_REF_SDA_P", "(", "x", ")", ")", "{", "off_name", "=", "\"sdaoff\"", ";", "reg_name", "=", "\"gp\"", ";", "}", "else", "if", "(", "SYMBOL_REF_TDA_P", "(", "x", ")", ")", "{", "off_name", "=", "\"tdaoff\"", ";", "reg_name", "=", "\"ep\"", ";", "}", "else", "gcc_unreachable", "(", ")", ";", "fprintf", "(", "file", ",", "\"%s(\"", ",", "off_name", ")", ";", "output_addr_const", "(", "file", ",", "addr", ")", ";", "fprintf", "(", "file", ",", "\")[%s]\"", ",", "reg_name", ")", ";", "}", "else", "output_addr_const", "(", "file", ",", "addr", ")", ";", "break", ";", "default", ":", "output_addr_const", "(", "file", ",", "addr", ")", ";", "break", ";", "}", "}", ""], "natrual_language": ["Output", "assembly", "language", "output", "for", "the", "address", "ADDR", "to", "FILE", "."], "TS_V_token": ["v850", "\"0[\"", "0", "\"]\"", "0", "\"lo(\"", "1", "0", "\")[\"", "0", "0", "\"]\"", "0", "0", "1", "0", "\"[\"", "0", "0", "\"]\"", "0", "0", "\"+\"", "1", "0", "\"zdaoff\"", "\"r0\"", "\"sdaoff\"", "\"gp\"", "\"tdaoff\"", "\"ep\"", "\"%s(\"", "\")[%s]\"", "0", "0", "\"zdaoff\"", "\"r0\"", "\"sdaoff\"", "\"gp\"", "\"tdaoff\"", "\"ep\"", "\"%s(\"", "\")[%s]\""], "File": "v850", "Func": "v850_print_operand_address", "Target": "v850", "Target_Clf": "MPU", "Compiler_Type": "GCC", "Idx": 2868, "Length": 485, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "static", "bool", "alpha_function_value_regno_p", "(", "const", "unsigned", "int", "regno", ")", "{", "return", "(", "regno", "==", "0", "||", "regno", "==", "1", "||", "regno", "==", "32", "||", "regno", "==", "33", ")", ";", "}", ""], "natrual_language": ["Implement", "TARGET_FUNCTION_VALUE_REGNO_P", ".", "On", "the", "Alpha", ",", "$", "0", "$", "1", "and", "$", "f0", "$", "f1", "are", "the", "only", "register", "thus", "used", "."], "TS_V_token": ["alpha", "0", "1", "32", "33"], "File": "alpha", "Func": "alpha_function_value_regno_p", "Target": "alpha", "Target_Clf": "MPU", "Compiler_Type": "GCC", "Idx": 2869, "Length": 30, "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": 2870, "Length": 277, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "void", "NVPTXAsmPrinter", "::", "emitFunctionEntryLabel", "(", ")", "{", "SmallString", "<", "128", ">", "Str", ";", "raw_svector_ostream", "O", "(", "Str", ")", ";", "if", "(", "!", "GlobalsEmitted", ")", "{", "emitGlobals", "(", "*", "MF", "->", "getFunction", "(", ")", ".", "getParent", "(", ")", ")", ";", "GlobalsEmitted", "=", "true", ";", "}", "MRI", "=", "&", "MF", "->", "getRegInfo", "(", ")", ";", "F", "=", "&", "MF", "->", "getFunction", "(", ")", ";", "emitLinkageDirective", "(", "F", ",", "O", ")", ";", "if", "(", "isKernelFunction", "(", "*", "F", ")", ")", "O", "<<", "\".entry \"", ";", "else", "{", "O", "<<", "\".func \"", ";", "printReturnValStr", "(", "*", "MF", ",", "O", ")", ";", "}", "CurrentFnSym", "->", "print", "(", "O", ",", "MAI", ")", ";", "emitFunctionParamList", "(", "*", "MF", ",", "O", ")", ";", "if", "(", "isKernelFunction", "(", "*", "F", ")", ")", "emitKernelFunctionDirectives", "(", "*", "F", ",", "O", ")", ";", "OutStreamer", "->", "emitRawText", "(", "O", ".", "str", "(", ")", ")", ";", "VRegMapping", ".", "clear", "(", ")", ";", "OutStreamer", "->", "emitRawText", "(", "StringRef", "(", "\"{\\n\"", ")", ")", ";", "setAndEmitFunctionVirtualRegisters", "(", "*", "MF", ")", ";", "if", "(", "MMI", "&&", "MMI", "->", "hasDebugInfo", "(", ")", ")", "emitInitialRawDwarfLocDirective", "(", "*", "MF", ")", ";", "}", ""], "natrual_language": ["EmitFunctionEntryLabel", "-", "Emit", "the", "label", "that", "is", "the", "entrypoint", "for", "the", "function", "."], "TS_V_token": ["NVPTX", "NVPTX", "128", "\".entry \"", "\".func \"", "\"{\\n\""], "File": "NVPTXAsmPrinter15", "Func": "emitFunctionEntryLabel", "Target": "NVPTX", "Target_Clf": "GPU", "Compiler_Type": "LLVM", "Idx": 2871, "Length": 179, "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": 2872, "Length": 10, "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": 2873, "Length": 197, "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": 2874, "Length": 34, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "bool", "MCS51FrameLowering", "::", "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": ["MCS51", "MCS51"], "File": "MCS51FrameLowering", "Func": "hasReservedCallFrame", "Target": "MCS51", "Target_Clf": "MPU", "Compiler_Type": "LLVM", "Idx": 2875, "Length": 37, "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": 2876, "Length": 40, "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": 2877, "Length": 99, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "SDValue", "NVPTXTargetLowering", "::", "PerformDAGCombine", "(", "SDNode", "*", "N", ",", "DAGCombinerInfo", "&", "DCI", ")", "const", "{", "CodeGenOpt", "::", "Level", "OptLevel", "=", "getTargetMachine", "(", ")", ".", "getOptLevel", "(", ")", ";", "switch", "(", "N", "->", "getOpcode", "(", ")", ")", "{", "default", ":", "break", ";", "case", "ISD", "::", "ADD", ":", "case", "ISD", "::", "FADD", ":", "return", "PerformADDCombine", "(", "N", ",", "DCI", ",", "STI", ",", "OptLevel", ")", ";", "case", "ISD", "::", "MUL", ":", "return", "PerformMULCombine", "(", "N", ",", "DCI", ",", "OptLevel", ")", ";", "case", "ISD", "::", "SHL", ":", "return", "PerformSHLCombine", "(", "N", ",", "DCI", ",", "OptLevel", ")", ";", "case", "ISD", "::", "AND", ":", "return", "PerformANDCombine", "(", "N", ",", "DCI", ")", ";", "}", "return", "SDValue", "(", ")", ";", "}", ""], "natrual_language": ["This", "method", "will", "be", "invoked", "for", "all", "target", "nodes", "and", "for", "any", "target-independent", "nodes", "that", "the", "target", "has", "registered", "with", "invoke", "it", "for", "."], "TS_V_token": ["NVPTX", "NVPTX", "ISD::ADD", "ISD::FADD", "ISD::MUL", "ISD::SHL", "ISD::AND"], "File": "NVPTXISelLowering26", "Func": "PerformDAGCombine", "Target": "NVPTX", "Target_Clf": "GPU", "Compiler_Type": "LLVM", "Idx": 2878, "Length": 113, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "bool", "AlphaTargetMachine", "::", "addInstSelector", "(", "PassManagerBase", "&", "PM", ",", "bool", "Fast", ")", "{", "PM", ".", "add", "(", "createAlphaISelDag", "(", "*", "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": ["Alpha", "Alpha", "Alpha"], "File": "AlphaTargetMachine6", "Func": "addInstSelector", "Target": "Alpha", "Target_Clf": "MPU", "Compiler_Type": "LLVM", "Idx": 2879, "Length": 28, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "bool", "OptimizeReturned", "::", "runOnFunction", "(", "Function", "&", "F", ")", "{", "LLVM_DEBUG", "(", "dbgs", "(", ")", "<<", "\"********** Optimize returned Attributes **********\\n\"", "\"********** Function: \"", "<<", "F", ".", "getName", "(", ")", "<<", "'\\n'", ")", ";", "DT", "=", "&", "getAnalysis", "<", "DominatorTreeWrapperPass", ">", "(", ")", ".", "getDomTree", "(", ")", ";", "visit", "(", "F", ")", ";", "return", "true", ";", "}", ""], "natrual_language": ["runOnFunction", "-", "Virtual", "method", "overriden", "by", "subclasses", "to", "do", "the", "per-function", "processing", "of", "the", "pass", "."], "TS_V_token": ["WebAssembly", "\"********** Optimize returned Attributes **********\\n\"", "\"********** Function: \""], "File": "WebAssemblyOptimizeReturned", "Func": "runOnFunction", "Target": "WebAssembly", "Target_Clf": "Virtual ISA", "Compiler_Type": "LLVM", "Idx": 2880, "Length": 51, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "bool", "evaluateBranch", "(", "MCInst", "const", "&", "Inst", ",", "uint64_t", "Addr", ",", "uint64_t", "Size", ",", "uint64_t", "&", "Target", ")", "const", "override", "{", "if", "(", "!", "HexagonMCInstrInfo", "::", "isExtendable", "(", "*", "Info", ",", "Inst", ")", ")", "return", "false", ";", "auto", "const", "&", "Extended", "(", "HexagonMCInstrInfo", "::", "getExtendableOperand", "(", "*", "Info", ",", "Inst", ")", ")", ";", "assert", "(", "Extended", ".", "isExpr", "(", ")", ")", ";", "int64_t", "Value", ";", "if", "(", "!", "Extended", ".", "getExpr", "(", ")", "->", "evaluateAsAbsolute", "(", "Value", ")", ")", "return", "false", ";", "Target", "=", "Value", ";", "return", "true", ";", "}", ""], "natrual_language": ["Given", "a", "branch", "instruction", "try", "to", "get", "the", "address", "the", "branch", "targets", "."], "TS_V_token": ["Hexagon", "Hexagon", "Hexagon"], "File": "HexagonMCTargetDesc11", "Func": "evaluateBranch", "Target": "Hexagon", "Target_Clf": "DSP", "Compiler_Type": "LLVM", "Idx": 2881, "Length": 90, "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": 2882, "Length": 241, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "bool", "SIInstrInfo", "::", "findCommutedOpIndices", "(", "MachineInstr", "&", "MI", ",", "unsigned", "&", "SrcOpIdx0", ",", "unsigned", "&", "SrcOpIdx1", ")", "const", "{", "if", "(", "!", "MI", ".", "isCommutable", "(", ")", ")", "return", "false", ";", "unsigned", "Opc", "=", "MI", ".", "getOpcode", "(", ")", ";", "int", "Src0Idx", "=", "AMDGPU", "::", "getNamedOperandIdx", "(", "Opc", ",", "AMDGPU", "::", "OpName", "::", "src0", ")", ";", "if", "(", "Src0Idx", "==", "-", "1", ")", "return", "false", ";", "int", "Src1Idx", "=", "AMDGPU", "::", "getNamedOperandIdx", "(", "Opc", ",", "AMDGPU", "::", "OpName", "::", "src1", ")", ";", "if", "(", "Src1Idx", "==", "-", "1", ")", "return", "false", ";", "return", "fixCommutedOpIndices", "(", "SrcOpIdx0", ",", "SrcOpIdx1", ",", "Src0Idx", ",", "Src1Idx", ")", ";", "}", ""], "natrual_language": ["Returns", "true", "iff", "the", "routine", "could", "find", "two", "commutable", "operands", "in", "the", "given", "machine", "instruction", "."], "TS_V_token": ["AMDGPU", "SI", "AMDGPU::getNamedOperandIdx", "AMDGPU::OpName", "1", "AMDGPU::getNamedOperandIdx", "AMDGPU::OpName", "1"], "File": "SIInstrInfo (2)", "Func": "findCommutedOpIndices", "Target": "AMDGPU", "Target_Clf": "GPU", "Compiler_Type": "LLVM", "Idx": 2883, "Length": 105, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "bool", "fixupNeedsRelaxationAdvanced", "(", "const", "MCFixup", "&", "Fixup", ",", "bool", "Resolved", ",", "uint64_t", "Value", ",", "const", "MCRelaxableFragment", "*", "DF", ",", "const", "MCAsmLayout", "&", "Layout", ",", "const", "bool", "WasForced", ")", "const", "override", "{", "MCInst", "const", "&", "MCB", "=", "DF", "->", "getInst", "(", ")", ";", "assert", "(", "HexagonMCInstrInfo", "::", "isBundle", "(", "MCB", ")", ")", ";", "*", "RelaxTarget", "=", "nullptr", ";", "MCInst", "&", "MCI", "=", "const_cast", "<", "MCInst", "&", ">", "(", "HexagonMCInstrInfo", "::", "instruction", "(", "MCB", ",", "Fixup", ".", "getOffset", "(", ")", "/", "HEXAGON_INSTR_SIZE", ")", ")", ";", "bool", "Relaxable", "=", "isInstRelaxable", "(", "MCI", ")", ";", "if", "(", "Relaxable", "==", "false", ")", "return", "false", ";", "if", "(", "!", "Resolved", ")", "{", "switch", "(", "(", "unsigned", ")", "Fixup", ".", "getKind", "(", ")", ")", "{", "case", "fixup_Hexagon_B22_PCREL", ":", "LLVM_FALLTHROUGH", ";", "default", ":", "return", "false", ";", "break", ";", "case", "fixup_Hexagon_B13_PCREL", ":", "case", "fixup_Hexagon_B15_PCREL", ":", "case", "fixup_Hexagon_B9_PCREL", ":", "case", "fixup_Hexagon_B7_PCREL", ":", "{", "if", "(", "HexagonMCInstrInfo", "::", "bundleSize", "(", "MCB", ")", "<", "HEXAGON_PACKET_SIZE", ")", "{", "++", "relaxedCnt", ";", "*", "RelaxTarget", "=", "&", "MCI", ";", "setExtender", "(", "Layout", ".", "getAssembler", "(", ")", ".", "getContext", "(", ")", ")", ";", "return", "true", ";", "}", "else", "{", "return", "false", ";", "}", "break", ";", "}", "}", "}", "MCFixupKind", "Kind", "=", "Fixup", ".", "getKind", "(", ")", ";", "int64_t", "sValue", "=", "Value", ";", "int64_t", "maxValue", ";", "switch", "(", "(", "unsigned", ")", "Kind", ")", "{", "case", "fixup_Hexagon_B7_PCREL", ":", "maxValue", "=", "1", "<<", "8", ";", "break", ";", "case", "fixup_Hexagon_B9_PCREL", ":", "maxValue", "=", "1", "<<", "10", ";", "break", ";", "case", "fixup_Hexagon_B15_PCREL", ":", "maxValue", "=", "1", "<<", "16", ";", "break", ";", "case", "fixup_Hexagon_B22_PCREL", ":", "maxValue", "=", "1", "<<", "23", ";", "break", ";", "default", ":", "maxValue", "=", "INT64_MAX", ";", "break", ";", "}", "bool", "isFarAway", "=", "-", "maxValue", ">", "sValue", "||", "sValue", ">", "maxValue", "-", "1", ";", "if", "(", "isFarAway", ")", "{", "if", "(", "HexagonMCInstrInfo", "::", "bundleSize", "(", "MCB", ")", "<", "HEXAGON_PACKET_SIZE", ")", "{", "++", "relaxedCnt", ";", "*", "RelaxTarget", "=", "&", "MCI", ";", "setExtender", "(", "Layout", ".", "getAssembler", "(", ")", ".", "getContext", "(", ")", ")", ";", "return", "true", ";", "}", "}", "return", "false", ";", "}", ""], "natrual_language": ["Target", "specific", "predicate", "for", "whether", "a", "given", "fixup", "requires", "the", "associated", "instruction", "to", "be", "relaxed", "."], "TS_V_token": ["Hexagon", "Hexagon", "Hexagon", "Hexagon", "Hexagon", "Hexagon", "Hexagon", "Hexagon", "Hexagon", "Hexagon", "1", "8", "Hexagon", "1", "10", "Hexagon", "1", "16", "Hexagon", "1", "23", "1", "Hexagon"], "File": "HexagonAsmBackend11", "Func": "fixupNeedsRelaxationAdvanced", "Target": "Hexagon", "Target_Clf": "DSP", "Compiler_Type": "LLVM", "Idx": 2884, "Length": 332, "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": 2885, "Length": 267, "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": 2886, "Length": 335, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "void", "print", "(", "raw_ostream", "&", "O", ")", "const", "override", "{", "switch", "(", "Kind", ")", "{", "case", "k_None", ":", "O", "<<", "\"None\"", ";", "break", ";", "case", "k_Token", ":", "O", "<<", "\"Token: \\\"\"", "<<", "getToken", "(", ")", "<<", "\"\\\"\"", ";", "break", ";", "case", "k_Register", ":", "O", "<<", "\"Register: \"", "<<", "getReg", "(", ")", ";", "break", ";", "case", "k_Immediate", ":", "O", "<<", "\"Immediate: \\\"\"", "<<", "*", "getImm", "(", ")", "<<", "\"\\\"\"", ";", "break", ";", "}", "O", "<<", "\"\\n\"", ";", "}", ""], "natrual_language": ["print", "-", "Print", "a", "debug", "representation", "of", "the", "operand", "to", "the", "given", "stream", "."], "TS_V_token": ["MOS", "\"None\"", "\"Token: \\\"\"", "\"\\\"\"", "\"Register: \"", "\"Immediate: \\\"\"", "\"\\\"\"", "\"\\n\""], "File": "MOSAsmParser", "Func": "print", "Target": "MOS", "Target_Clf": "MPU", "Compiler_Type": "LLVM", "Idx": 2887, "Length": 74, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "EVT", "AMDGPUTargetLowering", "::", "getTypeForExtReturn", "(", "LLVMContext", "&", "Context", ",", "EVT", "VT", ",", "ISD", "::", "NodeType", "ExtendKind", ")", "const", "{", "assert", "(", "!", "VT", ".", "isVector", "(", ")", "&&", "\"only scalar expected\"", ")", ";", "unsigned", "Size", "=", "VT", ".", "getSizeInBits", "(", ")", ";", "if", "(", "Size", "<=", "32", ")", "return", "MVT", "::", "i32", ";", "return", "EVT", "::", "getIntegerVT", "(", "Context", ",", "32", "*", "(", "(", "Size", "+", "31", ")", "/", "32", ")", ")", ";", "}", ""], "natrual_language": ["Return", "the", "type", "that", "should", "be", "used", "to", "zero", "or", "sign", "extend", "a", "zeroext/signext", "integer", "return", "value", "."], "TS_V_token": ["AMDGPU", "AMDGPU", "ISD::NodeType", "\"only scalar expected\"", "32", "MVT::i32", "32", "31", "32"], "File": "AMDGPUISelLowering (2)1", "Func": "getTypeForExtReturn", "Target": "AMDGPU", "Target_Clf": "GPU", "Compiler_Type": "LLVM", "Idx": 2888, "Length": 72, "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": 2889, "Length": 380, "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": 2890, "Length": 114, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "rtx", "v850_return_addr", "(", "int", "count", ")", "{", "if", "(", "count", "!=", "0", ")", "return", "const0_rtx", ";", "return", "get_hard_reg_initial_val", "(", "Pmode", ",", "LINK_POINTER_REGNUM", ")", ";", "}", ""], "natrual_language": ["Return", "an", "RTX", "indicating", "where", "the", "return", "address", "to", "the", "calling", "function", "can", "be", "found", "."], "TS_V_token": ["v850", "0"], "File": "v850", "Func": "v850_return_addr", "Target": "v850", "Target_Clf": "MPU", "Compiler_Type": "GCC", "Idx": 2891, "Length": 25, "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_or_fixed_reg_p", "(", "PR_REG", "(", "rs", ")", ")", ")", "rs", "++", ";", "if", "(", "rs", ">=", "64", ")", "break", ";", "for", "(", "re", "=", "rs", "+", "1", ";", "re", "<", "64", "&&", "!", "call_used_or_fixed_reg_p", "(", "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": "ia64", "Func": "emit_safe_across_calls", "Target": "ia64", "Target_Clf": "CPU", "Compiler_Type": "GCC", "Idx": 2892, "Length": 156, "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": 2893, "Length": 168, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "void", "HexagonInstrInfo", "::", "storeRegToStackSlot", "(", "MachineBasicBlock", "&", "MBB", ",", "MachineBasicBlock", "::", "iterator", "I", ",", "unsigned", "SrcReg", ",", "bool", "isKill", ",", "int", "FI", ",", "const", "TargetRegisterClass", "*", "RC", ",", "const", "TargetRegisterInfo", "*", "TRI", ")", "const", "{", "DebugLoc", "DL", "=", "MBB", ".", "findDebugLoc", "(", "I", ")", ";", "MachineFunction", "&", "MF", "=", "*", "MBB", ".", "getParent", "(", ")", ";", "MachineFrameInfo", "&", "MFI", "=", "*", "MF", ".", "getFrameInfo", "(", ")", ";", "unsigned", "Align", "=", "MFI", ".", "getObjectAlignment", "(", "FI", ")", ";", "MachineMemOperand", "*", "MMO", "=", "MF", ".", "getMachineMemOperand", "(", "MachinePointerInfo", "::", "getFixedStack", "(", "MF", ",", "FI", ")", ",", "MachineMemOperand", "::", "MOStore", ",", "MFI", ".", "getObjectSize", "(", "FI", ")", ",", "Align", ")", ";", "if", "(", "Hexagon", "::", "IntRegsRegClass", ".", "hasSubClassEq", "(", "RC", ")", ")", "{", "BuildMI", "(", "MBB", ",", "I", ",", "DL", ",", "get", "(", "Hexagon", "::", "S2_storeri_io", ")", ")", ".", "addFrameIndex", "(", "FI", ")", ".", "addImm", "(", "0", ")", ".", "addReg", "(", "SrcReg", ",", "getKillRegState", "(", "isKill", ")", ")", ".", "addMemOperand", "(", "MMO", ")", ";", "}", "else", "if", "(", "Hexagon", "::", "DoubleRegsRegClass", ".", "hasSubClassEq", "(", "RC", ")", ")", "{", "BuildMI", "(", "MBB", ",", "I", ",", "DL", ",", "get", "(", "Hexagon", "::", "S2_storerd_io", ")", ")", ".", "addFrameIndex", "(", "FI", ")", ".", "addImm", "(", "0", ")", ".", "addReg", "(", "SrcReg", ",", "getKillRegState", "(", "isKill", ")", ")", ".", "addMemOperand", "(", "MMO", ")", ";", "}", "else", "if", "(", "Hexagon", "::", "PredRegsRegClass", ".", "hasSubClassEq", "(", "RC", ")", ")", "{", "BuildMI", "(", "MBB", ",", "I", ",", "DL", ",", "get", "(", "Hexagon", "::", "STriw_pred", ")", ")", ".", "addFrameIndex", "(", "FI", ")", ".", "addImm", "(", "0", ")", ".", "addReg", "(", "SrcReg", ",", "getKillRegState", "(", "isKill", ")", ")", ".", "addMemOperand", "(", "MMO", ")", ";", "}", "else", "if", "(", "Hexagon", "::", "ModRegsRegClass", ".", "hasSubClassEq", "(", "RC", ")", ")", "{", "BuildMI", "(", "MBB", ",", "I", ",", "DL", ",", "get", "(", "Hexagon", "::", "STriw_mod", ")", ")", ".", "addFrameIndex", "(", "FI", ")", ".", "addImm", "(", "0", ")", ".", "addReg", "(", "SrcReg", ",", "getKillRegState", "(", "isKill", ")", ")", ".", "addMemOperand", "(", "MMO", ")", ";", "}", "else", "{", "llvm_unreachable", "(", "\"Unimplemented\"", ")", ";", "}", "}", ""], "natrual_language": ["Store", "the", "specified", "register", "of", "the", "given", "register", "class", "to", "the", "specified", "stack", "frame", "index", "."], "TS_V_token": ["Hexagon", "Hexagon", "Hexagon::IntRegsRegClass", "Hexagon::S2_storeri_io", "0", "Hexagon::DoubleRegsRegClass", "Hexagon::S2_storerd_io", "0", "Hexagon::PredRegsRegClass", "Hexagon::STriw_pred", "0", "Hexagon::ModRegsRegClass", "Hexagon::STriw_mod", "0", "\"Unimplemented\""], "File": "HexagonInstrInfo56", "Func": "storeRegToStackSlot", "Target": "Hexagon", "Target_Clf": "DSP", "Compiler_Type": "LLVM", "Idx": 2894, "Length": 336, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "static", "int", "msp430_single_op_cost", "(", "rtx", "dst", ",", "bool", "speed", ",", "rtx", "outer_rtx", ")", "{", "enum", "rtx_code", "dst_code", "=", "GET_CODE", "(", "dst", ")", ";", "const", "struct", "single_op_cost", "*", "cost_p", ";", "const", "struct", "double_op_cost", "*", "double_op_cost_p", ";", "cost_p", "=", "(", "speed", "?", "&", "cycle_cost_single_op", ":", "&", "size_cost_single_op", ")", ";", "double_op_cost_p", "=", "(", "speed", "?", "&", "cycle_cost_double_op", ":", "&", "size_cost_double_op", ")", ";", "switch", "(", "dst_code", ")", "{", "case", "REG", ":", "return", "cost_p", "->", "reg", ";", "case", "MEM", ":", "if", "(", "msp430_is_mem_indirect", "(", "dst", ")", ")", "return", "cost_p", "->", "ind", ";", "else", "return", "cost_p", "->", "mem", ";", "case", "CONST_INT", ":", "case", "CONST_FIXED", ":", "case", "CONST_DOUBLE", ":", "case", "SYMBOL_REF", ":", "case", "CONST", ":", "return", "double_op_cost_p", "->", "imm2r", "+", "cost_p", "->", "reg", ";", "default", ":", "return", "cost_p", "->", "mem", ";", "}", "}", ""], "natrual_language": ["Calculate", "the", "cost", "of", "an", "MSP430", "single-operand", "instruction", ",", "for", "operand", "DST", "within", "the", "RTX", "OUTER_RTX", ",", "optimizing", "for", "speed", "if", "SPEED", "is", "true", "."], "TS_V_token": ["msp430"], "File": "msp430", "Func": "msp430_single_op_cost", "Target": "msp430", "Target_Clf": "MPU", "Compiler_Type": "GCC", "Idx": 2895, "Length": 126, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "MachineFunction", "&", "getMF", "(", ")", "const", "{", "return", "MF", ";", "}", ""], "natrual_language": ["Return", "the", "function", "that", "contains", "the", "basic", "block", "that", "this", "instruction", "belongs", "to", "."], "TS_V_token": ["Hexagon"], "File": "RDFGraph", "Func": "getMF", "Target": "Hexagon", "Target_Clf": "DSP", "Compiler_Type": "LLVM", "Idx": 2896, "Length": 11, "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": 2897, "Length": 408, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "StringRef", "getPassName", "(", ")", "const", "override", "{", "return", "\"TVM Cheap Definitions Rematerialize\"", ";", "}", ""], "natrual_language": ["getPassName", "-", "Return", "a", "nice", "clean", "name", "for", "a", "pass", "."], "TS_V_token": ["TVM", "\"TVM Cheap Definitions Rematerialize\""], "File": "TVMRematerialize", "Func": "getPassName", "Target": "TVM", "Target_Clf": "Virtual ISA", "Compiler_Type": "LLVM", "Idx": 2898, "Length": 11, "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": 2899, "Length": 66, "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": 2900, "Length": 98, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "static", "reg_class_t", "xtensa_secondary_reload", "(", "bool", "in_p", ",", "rtx", "x", ",", "reg_class_t", "rclass", ",", "machine_mode", "mode", ",", "secondary_reload_info", "*", "sri", ")", "{", "int", "regno", ";", "if", "(", "in_p", "&&", "constantpool_mem_p", "(", "x", ")", ")", "{", "if", "(", "rclass", "==", "FP_REGS", ")", "return", "RL_REGS", ";", "if", "(", "mode", "==", "QImode", ")", "sri", "->", "icode", "=", "CODE_FOR_reloadqi_literal", ";", "else", "if", "(", "mode", "==", "HImode", ")", "sri", "->", "icode", "=", "CODE_FOR_reloadhi_literal", ";", "}", "regno", "=", "xt_true_regnum", "(", "x", ")", ";", "if", "(", "ACC_REG_P", "(", "regno", ")", ")", "return", "(", "(", "rclass", "==", "GR_REGS", "||", "rclass", "==", "RL_REGS", ")", "?", "NO_REGS", ":", "RL_REGS", ")", ";", "if", "(", "rclass", "==", "ACC_REG", ")", "return", "(", "GP_REG_P", "(", "regno", ")", "?", "NO_REGS", ":", "RL_REGS", ")", ";", "return", "NO_REGS", ";", "}", ""], "natrual_language": ["Worker", "function", "for", "TARGET_SECONDARY_RELOAD", "."], "TS_V_token": ["xtensa"], "File": "xtensa", "Func": "xtensa_secondary_reload", "Target": "xtensa", "Target_Clf": "MPU", "Compiler_Type": "GCC", "Idx": 2901, "Length": 122, "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", ";", "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", ")", ";", "cl_optimization_restore", "(", "&", "func_options", ",", "TREE_OPTIMIZATION", "(", "func_optimize", ")", ")", ";", "cl_target_option_restore", "(", "&", "func_options", ",", "TREE_TARGET_OPTION", "(", "target_option_default_node", ")", ")", ";", "cur_tree", "=", "arm_valid_target_attribute_tree", "(", "args", ",", "&", "func_options", ",", "&", "global_options_set", ")", ";", "if", "(", "cur_tree", "==", "NULL_TREE", ")", "ret", "=", "false", ";", "new_optimize", "=", "build_optimization_node", "(", "&", "func_options", ")", ";", "DECL_FUNCTION_SPECIFIC_TARGET", "(", "fndecl", ")", "=", "cur_tree", ";", "DECL_FUNCTION_SPECIFIC_OPTIMIZATION", "(", "fndecl", ")", "=", "new_optimize", ";", "finalize_options_struct", "(", "&", "func_options", ")", ";", "return", "ret", ";", "}", ""], "natrual_language": ["Hook", "to", "validate", "attribute", "(", "(", "target", "(", "``", "string", "''", ")", ")", ")", "."], "TS_V_token": ["arm", "0"], "File": "arm5", "Func": "arm_valid_target_attribute_p", "Target": "arm", "Target_Clf": "CPU", "Compiler_Type": "GCC", "Idx": 2902, "Length": 175, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "static", "bool", "epiphany_return_in_memory", "(", "const_tree", "type", ",", "const_tree", "fntype", "ATTRIBUTE_UNUSED", ")", "{", "HOST_WIDE_INT", "size", "=", "int_size_in_bytes", "(", "type", ")", ";", "if", "(", "AGGREGATE_TYPE_P", "(", "type", ")", "&&", "(", "TYPE_MODE", "(", "type", ")", "==", "BLKmode", "||", "TYPE_NEEDS_CONSTRUCTING", "(", "type", ")", ")", ")", "return", "true", ";", "return", "(", "size", "==", "-", "1", "||", "size", ">", "8", ")", ";", "}", ""], "natrual_language": ["Worker", "function", "for", "TARGET_RETURN_IN_MEMORY", "."], "TS_V_token": ["epiphany", "1", "8"], "File": "epiphany", "Func": "epiphany_return_in_memory", "Target": "epiphany", "Target_Clf": "MPU", "Compiler_Type": "GCC", "Idx": 2903, "Length": 57, "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": 2904, "Length": 99, "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": 2905, "Length": 88, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "bool", "M68kPassConfig", "::", "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": ["M68k", "M68k"], "File": "M68kTargetMachine", "Func": "addLegalizeMachineIR", "Target": "M68k", "Target_Clf": "MPU", "Compiler_Type": "LLVM", "Idx": 2906, "Length": 19, "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", "&&", "isInt", "<", "32", ">", "(", "-", "Imm", ".", "getSExtValue", "(", ")", ")", ")", "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", "32", "1", "1", "1", "64", "X86", "X86"], "File": "X86TargetTransformInfo63", "Func": "getIntImmCost", "Target": "X86", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 2907, "Length": 434, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "unsigned", "getNumFixupKinds", "(", ")", "const", "override", "{", "return", "0", ";", "}", ""], "natrual_language": ["Get", "the", "number", "of", "target", "specific", "fixup", "kinds", "."], "TS_V_token": ["WebAssembly", "0"], "File": "WebAssemblyAsmBackend (2)", "Func": "getNumFixupKinds", "Target": "WebAssembly", "Target_Clf": "Virtual ISA", "Compiler_Type": "LLVM", "Idx": 2908, "Length": 11, "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": 2909, "Length": 142, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "bool", "PatmosSPClone", "::", "doInitialization", "(", "Module", "&", "M", ")", "{", "PatmosSinglePathInfo", "::", "getRootNames", "(", "SPRoots", ")", ";", "return", "false", ";", "}", ""], "natrual_language": ["Set", "up", "the", "AsmPrinter", "when", "we", "are", "working", "on", "a", "new", "module", "."], "TS_V_token": ["Patmos", "Patmos", "Patmos"], "File": "PatmosSPClone", "Func": "doInitialization", "Target": "Patmos", "Target_Clf": "VLIW", "Compiler_Type": "LLVM", "Idx": 2910, "Length": 21, "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": 2911, "Length": 198, "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": 2912, "Length": 146, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "void", "TeakInstPrinter", "::", "printRegName", "(", "raw_ostream", "&", "OS", ",", "unsigned", "RegNo", ")", "const", "{", "OS", "<<", "StringRef", "(", "getRegisterName", "(", "RegNo", ")", ")", ".", "lower", "(", ")", ";", "}", ""], "natrual_language": ["Print", "the", "assembler", "register", "name", "."], "TS_V_token": ["Teak", "Teak"], "File": "TeakInstPrinter", "Func": "printRegName", "Target": "Teak", "Target_Clf": "DSP", "Compiler_Type": "LLVM", "Idx": 2913, "Length": 29, "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": 2914, "Length": 290, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "bool", "MipsAsmParser", "::", "ParseInstruction", "(", "ParseInstructionInfo", "&", "Info", ",", "StringRef", "Name", ",", "SMLoc", "NameLoc", ",", "OperandVector", "&", "Operands", ")", "{", "DEBUG", "(", "dbgs", "(", ")", "<<", "\"ParseInstruction\\n\"", ")", ";", "getTargetStreamer", "(", ")", ".", "setCanHaveModuleDir", "(", "false", ")", ";", "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": "MipsAsmParser1", "Func": "ParseInstruction", "Target": "Mips", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 2915, "Length": 313, "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": 2916, "Length": 58, "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": 2917, "Length": 118, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "static", "bool", "bfin_vector_mode_supported_p", "(", "enum", "machine_mode", "mode", ")", "{", "return", "mode", "==", "V2HImode", ";", "}", ""], "natrual_language": ["Implements", "target", "hook", "vector_mode_supported_p", "."], "TS_V_token": ["bfin"], "File": "bfin2", "Func": "bfin_vector_mode_supported_p", "Target": "bfin", "Target_Clf": "DSP", "Compiler_Type": "GCC", "Idx": 2918, "Length": 15, "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": 2919, "Length": 34, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "bool", "SPUSubtarget", "::", "enablePostRAScheduler", "(", "CodeGenOpt", "::", "Level", "OptLevel", ",", "TargetSubtargetInfo", "::", "AntiDepBreakMode", "&", "Mode", ",", "RegClassVector", "&", "CriticalPathRCs", ")", "const", "{", "Mode", "=", "TargetSubtargetInfo", "::", "ANTIDEP_CRITICAL", ";", "CriticalPathRCs", ".", "clear", "(", ")", ";", "CriticalPathRCs", ".", "push_back", "(", "&", "SPU", "::", "R8CRegClass", ")", ";", "CriticalPathRCs", ".", "push_back", "(", "&", "SPU", "::", "R16CRegClass", ")", ";", "CriticalPathRCs", ".", "push_back", "(", "&", "SPU", "::", "R32CRegClass", ")", ";", "CriticalPathRCs", ".", "push_back", "(", "&", "SPU", "::", "R32FPRegClass", ")", ";", "CriticalPathRCs", ".", "push_back", "(", "&", "SPU", "::", "R64CRegClass", ")", ";", "CriticalPathRCs", ".", "push_back", "(", "&", "SPU", "::", "VECREGRegClass", ")", ";", "return", "OptLevel", ">=", "CodeGenOpt", "::", "Default", ";", "}", ""], "natrual_language": ["True", "if", "the", "subtarget", "should", "run", "a", "scheduler", "after", "register", "allocation", "."], "TS_V_token": ["CellSPU", "SPU", "SPU::R8CRegClass", "SPU::R16CRegClass", "SPU::R32CRegClass", "SPU::R32FPRegClass", "SPU::R64CRegClass", "SPU::VECREGRegClass"], "File": "SPUSubtarget1", "Func": "enablePostRAScheduler", "Target": "CellSPU", "Target_Clf": "MPU", "Compiler_Type": "LLVM", "Idx": 2920, "Length": 102, "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": 2921, "Length": 33, "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": 2922, "Length": 13, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "rtx", "widen_mem_for_ldd_peep", "(", "rtx", "mem1", ",", "rtx", "mem2", ",", "machine_mode", "mode", ")", "{", "rtx", "x", "=", "widen_memory_access", "(", "mem1", ",", "mode", ",", "0", ")", ";", "MEM_NOTRAP_P", "(", "x", ")", "=", "MEM_NOTRAP_P", "(", "mem1", ")", "&&", "MEM_NOTRAP_P", "(", "mem2", ")", ";", "return", "x", ";", "}", ""], "natrual_language": ["Return", "the", "widened", "memory", "access", "made", "of", "MEM1", "and", "MEM2", "in", "MODE", "."], "TS_V_token": ["sparc", "0"], "File": "sparc", "Func": "widen_mem_for_ldd_peep", "Target": "sparc", "Target_Clf": "CPU", "Compiler_Type": "GCC", "Idx": 2923, "Length": 44, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "void", "MBlazeAsmPrinter", "::", "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", "(", "MBlazeInstPrinter", "::", "getRegisterName", "(", "stkReg", ")", ")", "+", "\",\"", "+", "Twine", "(", "stkSze", ")", "+", "\",\"", "+", "Twine", "(", "MBlazeInstPrinter", "::", "getRegisterName", "(", "retReg", ")", ")", ")", ";", "}", ""], "natrual_language": ["Frame", "Directive", "."], "TS_V_token": ["MBlaze", "MBlaze", "\"\\t.frame\\t\"", "MBlaze", "\",\"", "\",\"", "MBlaze"], "File": "MBlazeAsmPrinter", "Func": "emitFrameDirective", "Target": "MBlaze", "Target_Clf": "MPU", "Compiler_Type": "LLVM", "Idx": 2924, "Length": 100, "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": 2925, "Length": 56, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "bool", "SIInstrInfo", "::", "shouldClusterMemOps", "(", "ArrayRef", "<", "const", "MachineOperand", "*", ">", "BaseOps1", ",", "ArrayRef", "<", "const", "MachineOperand", "*", ">", "BaseOps2", ",", "unsigned", "NumLoads", ",", "unsigned", "NumBytes", ")", "const", "{", "if", "(", "!", "BaseOps1", ".", "empty", "(", ")", "&&", "!", "BaseOps2", ".", "empty", "(", ")", ")", "{", "const", "MachineInstr", "&", "FirstLdSt", "=", "*", "BaseOps1", ".", "front", "(", ")", "->", "getParent", "(", ")", ";", "const", "MachineInstr", "&", "SecondLdSt", "=", "*", "BaseOps2", ".", "front", "(", ")", "->", "getParent", "(", ")", ";", "if", "(", "!", "memOpsHaveSameBasePtr", "(", "FirstLdSt", ",", "BaseOps1", ",", "SecondLdSt", ",", "BaseOps2", ")", ")", "return", "false", ";", "}", "else", "if", "(", "!", "BaseOps1", ".", "empty", "(", ")", "||", "!", "BaseOps2", ".", "empty", "(", ")", ")", "{", "return", "false", ";", "}", "const", "unsigned", "LoadSize", "=", "NumBytes", "/", "NumLoads", ";", "const", "unsigned", "NumDWORDs", "=", "(", "(", "LoadSize", "+", "3", ")", "/", "4", ")", "*", "NumLoads", ";", "return", "NumDWORDs", "<=", "8", ";", "}", ""], "natrual_language": ["Returns", "true", "if", "the", "two", "given", "memory", "operations", "should", "be", "scheduled", "adjacent", "."], "TS_V_token": ["AMDGPU", "SI", "3", "4", "8"], "File": "SIInstrInfo11", "Func": "shouldClusterMemOps", "Target": "AMDGPU", "Target_Clf": "GPU", "Compiler_Type": "LLVM", "Idx": 2926, "Length": 148, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "bool", "AArch64AsmParser", "::", "parsePrimaryExpr", "(", "const", "MCExpr", "*", "&", "Res", ",", "SMLoc", "&", "EndLoc", ")", "{", "if", "(", "!", "parseAuthExpr", "(", "Res", ",", "EndLoc", ")", ")", "return", "false", ";", "return", "getParser", "(", ")", ".", "parsePrimaryExpr", "(", "Res", ",", "EndLoc", ")", ";", "}", ""], "natrual_language": ["Parse", "a", "primary", "expression", "."], "TS_V_token": ["AArch64", "AArch64"], "File": "AArch64AsmParser103", "Func": "parsePrimaryExpr", "Target": "AArch64", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 2927, "Length": 42, "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": 2928, "Length": 236, "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": 2929, "Length": 79, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "bool", "SIOptimizeVGPRLiveRange", "::", "runOnMachineFunction", "(", "MachineFunction", "&", "MF", ")", "{", "const", "GCNSubtarget", "&", "ST", "=", "MF", ".", "getSubtarget", "<", "GCNSubtarget", ">", "(", ")", ";", "TII", "=", "ST", ".", "getInstrInfo", "(", ")", ";", "TRI", "=", "&", "TII", "->", "getRegisterInfo", "(", ")", ";", "MDT", "=", "&", "getAnalysis", "<", "MachineDominatorTree", ">", "(", ")", ";", "Loops", "=", "&", "getAnalysis", "<", "MachineLoopInfo", ">", "(", ")", ";", "LV", "=", "&", "getAnalysis", "<", "LiveVariables", ">", "(", ")", ";", "MRI", "=", "&", "MF", ".", "getRegInfo", "(", ")", ";", "if", "(", "skipFunction", "(", "MF", ".", "getFunction", "(", ")", ")", ")", "return", "false", ";", "bool", "MadeChange", "=", "false", ";", "for", "(", "MachineBasicBlock", "&", "MBB", ":", "MF", ")", "{", "for", "(", "auto", "&", "MI", ":", "MBB", ".", "terminators", "(", ")", ")", "{", "if", "(", "MI", ".", "getOpcode", "(", ")", "==", "AMDGPU", "::", "SI_IF", ")", "{", "MachineBasicBlock", "*", "IfTarget", "=", "MI", ".", "getOperand", "(", "2", ")", ".", "getMBB", "(", ")", ";", "auto", "*", "Endif", "=", "getElseTarget", "(", "IfTarget", ")", ";", "if", "(", "!", "Endif", ")", "continue", ";", "SmallSetVector", "<", "MachineBasicBlock", "*", ",", "16", ">", "ElseBlocks", ";", "SmallVector", "<", "Register", ">", "CandidateRegs", ";", "LLVM_DEBUG", "(", "dbgs", "(", ")", "<<", "\"Checking IF-ELSE-ENDIF: \"", "<<", "printMBBReference", "(", "MBB", ")", "<<", "' '", "<<", "printMBBReference", "(", "*", "IfTarget", ")", "<<", "' '", "<<", "printMBBReference", "(", "*", "Endif", ")", "<<", "'\\n'", ")", ";", "collectElseRegionBlocks", "(", "IfTarget", ",", "Endif", ",", "ElseBlocks", ")", ";", "collectCandidateRegisters", "(", "&", "MBB", ",", "IfTarget", ",", "Endif", ",", "ElseBlocks", ",", "CandidateRegs", ")", ";", "MadeChange", "|=", "!", "CandidateRegs", ".", "empty", "(", ")", ";", "for", "(", "auto", "Reg", ":", "CandidateRegs", ")", "optimizeLiveRange", "(", "Reg", ",", "&", "MBB", ",", "IfTarget", ",", "Endif", ",", "ElseBlocks", ")", ";", "}", "else", "if", "(", "MI", ".", "getOpcode", "(", ")", "==", "AMDGPU", "::", "SI_WATERFALL_LOOP", ")", "{", "auto", "*", "LoopHeader", "=", "MI", ".", "getOperand", "(", "0", ")", ".", "getMBB", "(", ")", ";", "auto", "*", "LoopEnd", "=", "&", "MBB", ";", "LLVM_DEBUG", "(", "dbgs", "(", ")", "<<", "\"Checking Waterfall loop: \"", "<<", "printMBBReference", "(", "*", "LoopHeader", ")", "<<", "'\\n'", ")", ";", "SmallSetVector", "<", "Register", ",", "16", ">", "CandidateRegs", ";", "SmallVector", "<", "MachineInstr", "*", ",", "16", ">", "Instructions", ";", "SmallSetVector", "<", "MachineBasicBlock", "*", ",", "2", ">", "Blocks", ";", "collectWaterfallCandidateRegisters", "(", "LoopHeader", ",", "LoopEnd", ",", "CandidateRegs", ",", "Blocks", ",", "Instructions", ")", ";", "MadeChange", "|=", "!", "CandidateRegs", ".", "empty", "(", ")", ";", "for", "(", "auto", "Reg", ":", "CandidateRegs", ")", "optimizeWaterfallLiveRange", "(", "Reg", ",", "LoopHeader", ",", "Blocks", ",", "Instructions", ")", ";", "}", "}", "}", "return", "MadeChange", ";", "}", ""], "natrual_language": ["runOnMachineFunction", "-", "Emit", "the", "function", "body", "."], "TS_V_token": ["AMDGPU", "SI", "AMDGPU::SI_IF", "2", "16", "\"Checking IF-ELSE-ENDIF: \"", "AMDGPU::SI_WATERFALL_LOOP", "0", "\"Checking Waterfall loop: \"", "16", "16", "2"], "File": "SIOptimizeVGPRLiveRange", "Func": "runOnMachineFunction", "Target": "AMDGPU", "Target_Clf": "GPU", "Compiler_Type": "LLVM", "Idx": 2930, "Length": 392, "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": 2931, "Length": 23, "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": 2932, "Length": 126, "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": 2933, "Length": 483, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "static", "void", "frv_conditional_register_usage", "(", "void", ")", "{", "int", "i", ";", "for", "(", "i", "=", "GPR_FIRST", "+", "NUM_GPRS", ";", "i", "<=", "GPR_LAST", ";", "i", "++", ")", "fixed_regs", "[", "i", "]", "=", "call_used_regs", "[", "i", "]", "=", "1", ";", "for", "(", "i", "=", "FPR_FIRST", "+", "NUM_FPRS", ";", "i", "<=", "FPR_LAST", ";", "i", "++", ")", "fixed_regs", "[", "i", "]", "=", "call_used_regs", "[", "i", "]", "=", "1", ";", "fixed_regs", "[", "ICC_TEMP", "]", "=", "call_used_regs", "[", "ICC_TEMP", "]", "=", "1", ";", "fixed_regs", "[", "ICR_TEMP", "]", "=", "call_used_regs", "[", "ICR_TEMP", "]", "=", "1", ";", "if", "(", "TARGET_FIXED_CC", ")", "{", "fixed_regs", "[", "ICC_FIRST", "]", "=", "call_used_regs", "[", "ICC_FIRST", "]", "=", "1", ";", "fixed_regs", "[", "FCC_FIRST", "]", "=", "call_used_regs", "[", "FCC_FIRST", "]", "=", "1", ";", "fixed_regs", "[", "ICR_FIRST", "]", "=", "call_used_regs", "[", "ICR_FIRST", "]", "=", "1", ";", "fixed_regs", "[", "FCR_FIRST", "]", "=", "call_used_regs", "[", "FCR_FIRST", "]", "=", "1", ";", "}", "if", "(", "TARGET_FDPIC", ")", "fixed_regs", "[", "GPR_FIRST", "+", "16", "]", "=", "fixed_regs", "[", "GPR_FIRST", "+", "17", "]", "=", "call_used_regs", "[", "GPR_FIRST", "+", "16", "]", "=", "call_used_regs", "[", "GPR_FIRST", "+", "17", "]", "=", "0", ";", "if", "(", "g_switch_value", "==", "0", "&&", "!", "flag_pic", ")", "fixed_regs", "[", "SDA_BASE_REG", "]", "=", "call_used_regs", "[", "SDA_BASE_REG", "]", "=", "0", ";", "if", "(", "!", "flag_pic", ")", "fixed_regs", "[", "PIC_REGNO", "]", "=", "call_used_regs", "[", "PIC_REGNO", "]", "=", "0", ";", "}", ""], "natrual_language": ["Zero", "or", "more", "C", "statements", "that", "may", "conditionally", "modify", "two", "variables", "`", "fixed_regs", "'", "and", "`", "call_used_regs", "'", "(", "both", "of", "type", "`", "char", "[", "]", "'", ")", "after", "they", "have", "been", "initialized", "from", "the", "two", "preceding", "macros", ".", "This", "is", "necessary", "in", "case", "the", "fixed", "or", "call-clobbered", "registers", "depend", "on", "target", "flags", ".", "You", "need", "not", "define", "this", "macro", "if", "it", "has", "no", "work", "to", "do", ".", "If", "the", "usage", "of", "an", "entire", "class", "of", "registers", "depends", "on", "the", "target", "flags", ",", "you", "may", "indicate", "this", "to", "GCC", "by", "using", "this", "macro", "to", "modify", "`", "fixed_regs", "'", "and", "`", "call_used_regs", "'", "to", "1", "for", "each", "of", "the", "registers", "in", "the", "classes", "which", "should", "not", "be", "used", "by", "GCC", ".", "Also", "define", "the", "macro", "`", "REG_CLASS_FROM_LETTER", "'", "to", "return", "`", "NO_REGS", "'", "if", "it", "is", "called", "with", "a", "letter", "for", "a", "class", "that", "should", "n't", "be", "used", ".", "(", "However", ",", "if", "this", "class", "is", "not", "included", "in", "`", "GENERAL_REGS", "'", "and", "all", "of", "the", "insn", "patterns", "whose", "constraints", "permit", "this", "class", "are", "controlled", "by", "target", "switches", ",", "then", "GCC", "will", "automatically", "avoid", "using", "these", "registers", "when", "the", "target", "switches", "are", "opposed", "to", "them", ".", ")"], "TS_V_token": ["frv", "1", "1", "1", "1", "1", "1", "1", "1", "16", "17", "16", "17", "0", "0", "0", "0"], "File": "frv", "Func": "frv_conditional_register_usage", "Target": "frv", "Target_Clf": "VLIW", "Compiler_Type": "GCC", "Idx": 2934, "Length": 215, "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": 2935, "Length": 70, "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": 2936, "Length": 211, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "static", "void", "frv_output_const_unspec", "(", "FILE", "*", "stream", ",", "const", "struct", "frv_unspec", "*", "unspec", ")", "{", "fprintf", "(", "stream", ",", "\"#%s(\"", ",", "unspec_got_name", "(", "unspec", "->", "reloc", ")", ")", ";", "output_addr_const", "(", "stream", ",", "plus_constant", "(", "unspec", "->", "symbol", ",", "unspec", "->", "offset", ")", ")", ";", "fputs", "(", "\")\"", ",", "stream", ")", ";", "}", ""], "natrual_language": ["Write", "the", "assembler", "syntax", "for", "UNSPEC", "to", "STREAM", ".", "Note", "that", "any", "offset", "is", "added", "inside", "the", "relocation", "operator", "."], "TS_V_token": ["frv", "\"#%s(\"", "\")\""], "File": "frv2", "Func": "frv_output_const_unspec", "Target": "frv", "Target_Clf": "VLIW", "Compiler_Type": "GCC", "Idx": 2937, "Length": 53, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "unsigned", "P2MCCodeEmitter", "::", "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", ")", ";", "LLVM_DEBUG", "(", "errs", "(", ")", "<<", "\"-- register number is \"", "<<", "RegNo", "<<", "\" for reg \"", "<<", "Reg", "<<", "\"\\n\"", ")", ";", "return", "RegNo", ";", "}", "else", "if", "(", "MO", ".", "isImm", "(", ")", ")", "{", "LLVM_DEBUG", "(", "errs", "(", ")", "<<", "\"-- immediate operand is \"", "<<", "MO", ".", "getImm", "(", ")", "<<", "\"\\n\"", ")", ";", "return", "static_cast", "<", "unsigned", ">", "(", "MO", ".", "getImm", "(", ")", ")", ";", "}", "LLVM_DEBUG", "(", "errs", "(", ")", "<<", "\" -- operand is an expression\\n\"", ")", ";", "assert", "(", "MO", ".", "isExpr", "(", ")", ")", ";", "return", "getExprOpValue", "(", "MI", ",", "MO", ".", "getExpr", "(", ")", ",", "Fixups", ",", "STI", ")", ";", "}", ""], "natrual_language": ["getMachineOpValue", "-", "Return", "binary", "encoding", "of", "operand", "."], "TS_V_token": ["P2", "P2", "\"-- register number is \"", "\" for reg \"", "\"\\n\"", "\"-- immediate operand is \"", "\"\\n\"", "\" -- operand is an expression\\n\""], "File": "P2MCCodeEmitter", "Func": "getMachineOpValue", "Target": "P2", "Target_Clf": "MPU", "Compiler_Type": "LLVM", "Idx": 2938, "Length": 158, "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": 2939, "Length": 31, "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": 2940, "Length": 398, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "bool", "HexagonInstrInfo", "::", "isPredicable", "(", "const", "MachineInstr", "&", "MI", ")", "const", "{", "return", "MI", ".", "getDesc", "(", ")", ".", "isPredicable", "(", ")", ";", "}", ""], "natrual_language": ["Return", "true", "if", "the", "specified", "instruction", "can", "be", "predicated", "."], "TS_V_token": ["Hexagon", "Hexagon"], "File": "HexagonInstrInfo21", "Func": "isPredicable", "Target": "Hexagon", "Target_Clf": "DSP", "Compiler_Type": "LLVM", "Idx": 2941, "Length": 24, "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": 2942, "Length": 114, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "int", "v850_interrupt_function_p", "(", "tree", "func", ")", "{", "tree", "a", ";", "int", "ret", "=", "0", ";", "if", "(", "v850_interrupt_cache_p", ")", "return", "v850_interrupt_p", ";", "if", "(", "TREE_CODE", "(", "func", ")", "!=", "FUNCTION_DECL", ")", "return", "0", ";", "a", "=", "lookup_attribute", "(", "\"interrupt_handler\"", ",", "DECL_ATTRIBUTES", "(", "func", ")", ")", ";", "if", "(", "a", "!=", "NULL_TREE", ")", "ret", "=", "1", ";", "else", "{", "a", "=", "lookup_attribute", "(", "\"interrupt\"", ",", "DECL_ATTRIBUTES", "(", "func", ")", ")", ";", "ret", "=", "a", "!=", "NULL_TREE", ";", "}", "if", "(", "reload_completed", "|", "reload_in_progress", ")", "v850_interrupt_p", "=", "ret", ";", "return", "ret", ";", "}", ""], "natrual_language": ["Return", "nonzero", "if", "FUNC", "is", "an", "interrupt", "function", "as", "specified", "by", "the", "``", "interrupt", "''", "attribute", "."], "TS_V_token": ["v850", "0", "0", "\"interrupt_handler\"", "1", "\"interrupt\""], "File": "v850", "Func": "v850_interrupt_function_p", "Target": "v850", "Target_Clf": "MPU", "Compiler_Type": "GCC", "Idx": 2943, "Length": 91, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "SDValue", "mprocTargetLowering", "::", "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": ["mproc", "mproc", "\"unimplemented operand\""], "File": "mprocISelLowering", "Func": "LowerOperation", "Target": "mproc", "Target_Clf": "Virtual ISA", "Compiler_Type": "LLVM", "Idx": 2944, "Length": 32, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "bool", "SILowerControlFlow", "::", "runOnMachineFunction", "(", "MachineFunction", "&", "MF", ")", "{", "const", "GCNSubtarget", "&", "ST", "=", "MF", ".", "getSubtarget", "<", "GCNSubtarget", ">", "(", ")", ";", "TII", "=", "ST", ".", "getInstrInfo", "(", ")", ";", "TRI", "=", "&", "TII", "->", "getRegisterInfo", "(", ")", ";", "LIS", "=", "getAnalysisIfAvailable", "<", "LiveIntervals", ">", "(", ")", ";", "MRI", "=", "&", "MF", ".", "getRegInfo", "(", ")", ";", "BoolRC", "=", "TRI", "->", "getBoolRC", "(", ")", ";", "InsertKillCleanups", "=", "MF", ".", "getFunction", "(", ")", ".", "getCallingConv", "(", ")", "==", "CallingConv", "::", "AMDGPU_PS", ";", "if", "(", "ST", ".", "isWave32", "(", ")", ")", "{", "AndOpc", "=", "AMDGPU", "::", "S_AND_B32", ";", "OrOpc", "=", "AMDGPU", "::", "S_OR_B32", ";", "XorOpc", "=", "AMDGPU", "::", "S_XOR_B32", ";", "MovTermOpc", "=", "AMDGPU", "::", "S_MOV_B32_term", ";", "Andn2TermOpc", "=", "AMDGPU", "::", "S_ANDN2_B32_term", ";", "XorTermrOpc", "=", "AMDGPU", "::", "S_XOR_B32_term", ";", "OrSaveExecOpc", "=", "AMDGPU", "::", "S_OR_SAVEEXEC_B32", ";", "Exec", "=", "AMDGPU", "::", "EXEC_LO", ";", "}", "else", "{", "AndOpc", "=", "AMDGPU", "::", "S_AND_B64", ";", "OrOpc", "=", "AMDGPU", "::", "S_OR_B64", ";", "XorOpc", "=", "AMDGPU", "::", "S_XOR_B64", ";", "MovTermOpc", "=", "AMDGPU", "::", "S_MOV_B64_term", ";", "Andn2TermOpc", "=", "AMDGPU", "::", "S_ANDN2_B64_term", ";", "XorTermrOpc", "=", "AMDGPU", "::", "S_XOR_B64_term", ";", "OrSaveExecOpc", "=", "AMDGPU", "::", "S_OR_SAVEEXEC_B64", ";", "Exec", "=", "AMDGPU", "::", "EXEC", ";", "}", "SmallVector", "<", "MachineInstr", "*", ",", "32", ">", "Worklist", ";", "MachineFunction", "::", "iterator", "NextBB", ";", "for", "(", "MachineFunction", "::", "iterator", "BI", "=", "MF", ".", "begin", "(", ")", ",", "BE", "=", "MF", ".", "end", "(", ")", ";", "BI", "!=", "BE", ";", "BI", "=", "NextBB", ")", "{", "NextBB", "=", "std", "::", "next", "(", "BI", ")", ";", "MachineBasicBlock", "&", "MBB", "=", "*", "BI", ";", "MachineBasicBlock", "::", "iterator", "I", ",", "Next", ";", "for", "(", "I", "=", "MBB", ".", "begin", "(", ")", ";", "I", "!=", "MBB", ".", "end", "(", ")", ";", "I", "=", "Next", ")", "{", "Next", "=", "std", "::", "next", "(", "I", ")", ";", "MachineInstr", "&", "MI", "=", "*", "I", ";", "switch", "(", "MI", ".", "getOpcode", "(", ")", ")", "{", "case", "AMDGPU", "::", "SI_IF", ":", "process", "(", "MI", ")", ";", "break", ";", "case", "AMDGPU", "::", "SI_ELSE", ":", "case", "AMDGPU", "::", "SI_IF_BREAK", ":", "case", "AMDGPU", "::", "SI_LOOP", ":", "case", "AMDGPU", "::", "SI_END_CF", ":", "if", "(", "InsertKillCleanups", ")", "Worklist", ".", "push_back", "(", "&", "MI", ")", ";", "else", "process", "(", "MI", ")", ";", "break", ";", "default", ":", "break", ";", "}", "}", "}", "for", "(", "MachineInstr", "*", "MI", ":", "Worklist", ")", "process", "(", "*", "MI", ")", ";", "optimizeEndCf", "(", ")", ";", "LoweredEndCf", ".", "clear", "(", ")", ";", "LoweredIf", ".", "clear", "(", ")", ";", "NeedsKillCleanup", ".", "clear", "(", ")", ";", "return", "true", ";", "}", ""], "natrual_language": ["runOnMachineFunction", "-", "Emit", "the", "function", "body", "."], "TS_V_token": ["AMDGPU", "SI", "AMDGPU", "AMDGPU::S_AND_B32", "AMDGPU::S_OR_B32", "AMDGPU::S_XOR_B32", "AMDGPU::S_MOV_B32_term", "AMDGPU::S_ANDN2_B32_term", "AMDGPU::S_XOR_B32_term", "AMDGPU::S_OR_SAVEEXEC_B32", "AMDGPU::EXEC_LO", "AMDGPU::S_AND_B64", "AMDGPU::S_OR_B64", "AMDGPU::S_XOR_B64", "AMDGPU::S_MOV_B64_term", "AMDGPU::S_ANDN2_B64_term", "AMDGPU::S_XOR_B64_term", "AMDGPU::S_OR_SAVEEXEC_B64", "AMDGPU::EXEC", "32", "AMDGPU::SI_IF", "AMDGPU::SI_ELSE", "AMDGPU::SI_IF_BREAK", "AMDGPU::SI_LOOP", "AMDGPU::SI_END_CF"], "File": "SILowerControlFlow40", "Func": "runOnMachineFunction", "Target": "AMDGPU", "Target_Clf": "GPU", "Compiler_Type": "LLVM", "Idx": 2945, "Length": 406, "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": 2946, "Length": 39, "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": 2947, "Length": 39, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "void", "m32c_register_pragmas", "(", "void", ")", "{", "c_register_pragma", "(", "\"GCC\"", ",", "\"memregs\"", ",", "m32c_pragma_memregs", ")", ";", "c_register_pragma", "(", "NULL", ",", "\"ADDRESS\"", ",", "m32c_pragma_address", ")", ";", "c_register_pragma", "(", "NULL", ",", "\"address\"", ",", "m32c_pragma_address", ")", ";", "if", "(", "TARGET_A16", ")", "c_register_addr_space", "(", "\"__far\"", ",", "ADDR_SPACE_FAR", ")", ";", "else", "c_register_addr_space", "(", "\"__far\"", ",", "ADDR_SPACE_GENERIC", ")", ";", "}", ""], "natrual_language": ["Implements", "REGISTER_TARGET_PRAGMAS", "."], "TS_V_token": ["m32c", "\"GCC\"", "\"memregs\"", "\"ADDRESS\"", "\"address\"", "\"__far\"", "\"__far\""], "File": "m32c-pragma", "Func": "m32c_register_pragmas", "Target": "m32c", "Target_Clf": "MPU", "Compiler_Type": "GCC", "Idx": 2948, "Length": 53, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "static", "void", "msp430_file_end", "(", "void", ")", "{", "enum", "{", "OFBA_MSPABI_Tag_ISA", "=", "4", ",", "OFBA_MSPABI_Tag_Code_Model", "=", "6", ",", "OFBA_MSPABI_Tag_Data_Model", "=", "8", ",", "Tag_GNU_MSP430_Data_Region", "=", "4", "}", ";", "enum", "{", "OFBA_MSPABI_Val_ISA_MSP430", "=", "1", ",", "OFBA_MSPABI_Val_ISA_MSP430X", "=", "2", ",", "OFBA_MSPABI_Val_Model_Small", "=", "1", ",", "OFBA_MSPABI_Val_Model_Large", "=", "2", ",", "Tag_GNU_MSP430_Data_Region_Lower", "=", "1", ",", "Tag_GNU_MSP430_Data_Region_Any", "=", "2", "}", ";", "const", "char", "*", "msp430_attr", "=", "\".mspabi_attribute\"", ";", "const", "char", "*", "gnu_attr", "=", "\".gnu_attribute\"", ";", "fprintf", "(", "asm_out_file", ",", "\"\\t%s %d, %d\\n\"", ",", "msp430_attr", ",", "OFBA_MSPABI_Tag_ISA", ",", "msp430x", "?", "OFBA_MSPABI_Val_ISA_MSP430X", ":", "OFBA_MSPABI_Val_ISA_MSP430", ")", ";", "fprintf", "(", "asm_out_file", ",", "\"\\t%s %d, %d\\n\"", ",", "msp430_attr", ",", "OFBA_MSPABI_Tag_Code_Model", ",", "TARGET_LARGE", "?", "OFBA_MSPABI_Val_Model_Large", ":", "OFBA_MSPABI_Val_Model_Small", ")", ";", "fprintf", "(", "asm_out_file", ",", "\"\\t%s %d, %d\\n\"", ",", "msp430_attr", ",", "OFBA_MSPABI_Tag_Data_Model", ",", "TARGET_LARGE", "?", "OFBA_MSPABI_Val_Model_Large", ":", "OFBA_MSPABI_Val_Model_Small", ")", ";", "fprintf", "(", "asm_out_file", ",", "\"\\t%s %d, %d\\n\"", ",", "gnu_attr", ",", "Tag_GNU_MSP430_Data_Region", ",", "msp430_data_region", "==", "MSP430_REGION_LOWER", "?", "Tag_GNU_MSP430_Data_Region_Lower", ":", "Tag_GNU_MSP430_Data_Region_Any", ")", ";", "}", ""], "natrual_language": ["Emit", "MSPABI", "and", "GNU", "object", "attributes", ".", "Tags", "and", "values", "for", "MSPABI", "attributes", "are", ":", "OFBA_MSPABI_Tag_ISA", "4", "MSP430", "1", "MSP430X", "2", "OFBA_MSPABI_Tag_Code_Model", "6", "Small", "1", "Large", "2", "OFBA_MSPABI_Tag_Data_Model", "8", "Small", "1", "Large", "2", "Restricted", "3", "(", "Unused", "by", "GNU", ")", "OFBA_MSPABI_Tag_enum_size", "10", "(", "Unused", "by", "GNU", ")", "Note", "that", "Code_Model", "and", "Data_Model", "are", "always", "equal", "for", "GNU", ".", "We", "define", "a", "new", ".gnu_attribute", "to", "keep", "track", "of", "the", "data", "region", "used", ".", "Tag_GNU_MSP430_Data_Region", "4", "LOWER", "1", "ANY", "2", "See", "binutils-gdb/include/elf/msp430.h", "for", "the", "full", "details", "."], "TS_V_token": ["msp430", "4", "6", "8", "4", "1", "2", "1", "2", "1", "2", "\".mspabi_attribute\"", "\".gnu_attribute\"", "\"\\t%s %d, %d\\n\"", "\"\\t%s %d, %d\\n\"", "\"\\t%s %d, %d\\n\"", "\"\\t%s %d, %d\\n\""], "File": "msp430", "Func": "msp430_file_end", "Target": "msp430", "Target_Clf": "MPU", "Compiler_Type": "GCC", "Idx": 2949, "Length": 138, "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": 2950, "Length": 153, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "static", "ArgDescriptor", "createRegister", "(", "unsigned", "Reg", ")", "{", "return", "ArgDescriptor", "(", "Reg", ",", "false", ",", "true", ")", ";", "}", ""], "natrual_language": [".cfi_register", "Previous", "value", "of", "Register1", "is", "saved", "in", "register", "Register2", "."], "TS_V_token": ["AMDGPU"], "File": "AMDGPUArgumentUsageInfo11", "Func": "createRegister", "Target": "AMDGPU", "Target_Clf": "GPU", "Compiler_Type": "LLVM", "Idx": 2951, "Length": 19, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "bool", "BPFAsmParser", "::", "MatchAndEmitInstruction", "(", "SMLoc", "IDLoc", ",", "unsigned", "&", "Opcode", ",", "OperandVector", "&", "Operands", ",", "MCStreamer", "&", "Out", ",", "uint64_t", "&", "ErrorInfo", ",", "bool", "MatchingInlineAsm", ")", "{", "MCInst", "Inst", ";", "SMLoc", "ErrorLoc", ";", "if", "(", "PreMatchCheck", "(", "Operands", ")", ")", "return", "Error", "(", "IDLoc", ",", "\"additional inst constraint not met\"", ")", ";", "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", "=", "(", "(", "BPFOperand", "&", ")", "*", "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": ["BPF", "BPF", "\"additional inst constraint not met\"", "\"instruction use requires an option to be enabled\"", "\"unrecognized instruction mnemonic\"", "0U", "\"too few operands for instruction\"", "BPF", "\"invalid operand for instruction\"", "\"Unknown match type detected!\""], "File": "BPFAsmParser", "Func": "MatchAndEmitInstruction", "Target": "BPF", "Target_Clf": "Virtual ISA", "Compiler_Type": "LLVM", "Idx": 2952, "Length": 192, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "static", "bool", "avr_address_tiny_absdata_p", "(", "rtx", "x", ",", "machine_mode", "mode", ")", "{", "if", "(", "CONST", "==", "GET_CODE", "(", "x", ")", ")", "x", "=", "XEXP", "(", "XEXP", "(", "x", ",", "0", ")", ",", "0", ")", ";", "if", "(", "SYMBOL_REF_P", "(", "x", ")", ")", "return", "SYMBOL_REF_FLAGS", "(", "x", ")", "&", "AVR_SYMBOL_FLAG_TINY_ABSDATA", ";", "if", "(", "CONST_INT_P", "(", "x", ")", "&&", "IN_RANGE", "(", "INTVAL", "(", "x", ")", ",", "0", ",", "0xc0", "-", "GET_MODE_SIZE", "(", "mode", ")", ")", ")", "return", "true", ";", "return", "false", ";", "}", ""], "natrual_language": ["Return", "true", "if", "rtx", "X", "is", "a", "CONST_INT", ",", "CONST", "or", "SYMBOL_REF", "address", "with", "the", "`", "absdata", "'", "variable", "attribute", ",", "i.e", ".", "respective", "data", "can", "be", "read", "/", "written", "by", "LDS", "/", "STS", "instruction", ".", "This", "is", "used", "only", "for", "AVR_TINY", "."], "TS_V_token": ["avr", "0", "0", "0", "0xc0"], "File": "avr", "Func": "avr_address_tiny_absdata_p", "Target": "avr", "Target_Clf": "MPU", "Compiler_Type": "GCC", "Idx": 2953, "Length": 80, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "static", "int", "unspec_prof_htab_eq", "(", "const", "void", "*", "x", ",", "const", "void", "*", "y", ")", "{", "const_rtx", "u0", "=", "(", "const_rtx", ")", "x", ";", "const_rtx", "u1", "=", "(", "const_rtx", ")", "y", ";", "const_rtx", "s01", "=", "XVECEXP", "(", "u0", ",", "0", ",", "1", ")", ";", "const_rtx", "s11", "=", "XVECEXP", "(", "u1", ",", "0", ",", "1", ")", ";", "return", "(", "!", "strcmp", "(", "XSTR", "(", "XVECEXP", "(", "u0", ",", "0", ",", "0", ")", ",", "0", ")", ",", "XSTR", "(", "XVECEXP", "(", "u1", ",", "0", ",", "0", ")", ",", "0", ")", ")", "&&", "rtx_equal_p", "(", "s01", ",", "s11", ")", ")", ";", "}", ""], "natrual_language": ["Equality", "function", "for", "UNSPEC_PROF", "htab", ".", "Two", "pieces", "of", "UNSPEC_PROF", "rtl", "shall", "refer", "to", "the", "same", "counter", "if", "both", "caller", "name", "and", "callee", "rtl", "are", "identical", "."], "TS_V_token": ["arc", "0", "1", "0", "1", "0", "0", "0", "0", "0", "0"], "File": "arc4", "Func": "unspec_prof_htab_eq", "Target": "arc", "Target_Clf": "MPU", "Compiler_Type": "GCC", "Idx": 2954, "Length": 98, "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": 2955, "Length": 101, "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": 2956, "Length": 444, "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": 2957, "Length": 47, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "bool", "X86PassConfig", "::", "addILPOpts", "(", ")", "{", "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"], "File": "X86TargetMachine101", "Func": "addILPOpts", "Target": "X86", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 2958, "Length": 34, "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": 2959, "Length": 233, "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": ["WebAssembly"], "File": "WebAssemblyFastISel", "Func": "setKind", "Target": "WebAssembly", "Target_Clf": "Virtual ISA", "Compiler_Type": "LLVM", "Idx": 2960, "Length": 12, "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": 2961, "Length": 430, "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": 2962, "Length": 224, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "void", "GBZ80InstrInfo", "::", "copyPhysReg", "(", "MachineBasicBlock", "&", "MBB", ",", "MachineBasicBlock", "::", "iterator", "MI", ",", "const", "DebugLoc", "&", "DL", ",", "unsigned", "DestReg", ",", "unsigned", "SrcReg", ",", "bool", "KillSrc", ")", "const", "{", "const", "GBZ80Subtarget", "&", "STI", "=", "MBB", ".", "getParent", "(", ")", "->", "getSubtarget", "<", "GBZ80Subtarget", ">", "(", ")", ";", "const", "GBZ80RegisterInfo", "&", "TRI", "=", "*", "STI", ".", "getRegisterInfo", "(", ")", ";", "unsigned", "Opc", ";", "if", "(", "GB", "::", "R16RegClass", ".", "contains", "(", "DestReg", ",", "SrcReg", ")", ")", "{", "unsigned", "DestLo", ",", "DestHi", ",", "SrcLo", ",", "SrcHi", ";", "TRI", ".", "splitReg", "(", "DestReg", ",", "DestLo", ",", "DestHi", ")", ";", "TRI", ".", "splitReg", "(", "SrcReg", ",", "SrcLo", ",", "SrcHi", ")", ";", "BuildMI", "(", "MBB", ",", "MI", ",", "DL", ",", "get", "(", "GB", "::", "LD_r_r", ")", ",", "DestLo", ")", ".", "addReg", "(", "SrcLo", ",", "getKillRegState", "(", "KillSrc", ")", ")", ";", "BuildMI", "(", "MBB", ",", "MI", ",", "DL", ",", "get", "(", "GB", "::", "LD_r_r", ")", ",", "DestHi", ")", ".", "addReg", "(", "SrcHi", ",", "getKillRegState", "(", "KillSrc", ")", ")", ";", "}", "else", "if", "(", "GB", "::", "R8RegClass", ".", "contains", "(", "DestReg", ",", "SrcReg", ")", ")", "{", "BuildMI", "(", "MBB", ",", "MI", ",", "DL", ",", "get", "(", "GB", "::", "LD_r_r", ")", ",", "DestReg", ")", ".", "addReg", "(", "SrcReg", ",", "getKillRegState", "(", "KillSrc", ")", ")", ";", "}", "else", "if", "(", "DestReg", "==", "GB", "::", "SP", "&&", "SrcReg", "==", "GB", "::", "RHL", ")", "{", "BuildMI", "(", "MBB", ",", "MI", ",", "DL", ",", "get", "(", "GB", "::", "LD_SP_HL", ")", ",", "DestReg", ")", ".", "addReg", "(", "SrcReg", ",", "getKillRegState", "(", "KillSrc", ")", ")", ";", "}", "else", "{", "llvm_unreachable", "(", "\"Impossible reg-to-reg copy\"", ")", ";", "}", "}", ""], "natrual_language": ["}", "Branch", "Analysis", "&", "Modification"], "TS_V_token": ["GBZ80", "GB", "GB", "GB", "GB", "GB::R16RegClass", "GB::LD_r_r", "GB::LD_r_r", "GB::R8RegClass", "GB::LD_r_r", "GB::SP", "GB::RHL", "GB::LD_SP_HL", "\"Impossible reg-to-reg copy\""], "File": "GBZ80InstrInfo", "Func": "copyPhysReg", "Target": "GBZ80", "Target_Clf": "MPU", "Compiler_Type": "LLVM", "Idx": 2963, "Length": 263, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "bool", "HexagonStoreWidening", "::", "runOnMachineFunction", "(", "MachineFunction", "&", "MFn", ")", "{", "if", "(", "skipFunction", "(", "MFn", ".", "getFunction", "(", ")", ")", ")", "return", "false", ";", "MF", "=", "&", "MFn", ";", "auto", "&", "ST", "=", "MFn", ".", "getSubtarget", "<", "HexagonSubtarget", ">", "(", ")", ";", "TII", "=", "ST", ".", "getInstrInfo", "(", ")", ";", "TRI", "=", "ST", ".", "getRegisterInfo", "(", ")", ";", "MRI", "=", "&", "MFn", ".", "getRegInfo", "(", ")", ";", "AA", "=", "&", "getAnalysis", "<", "AAResultsWrapperPass", ">", "(", ")", ".", "getAAResults", "(", ")", ";", "bool", "Changed", "=", "false", ";", "for", "(", "auto", "&", "B", ":", "MFn", ")", "Changed", "|=", "processBasicBlock", "(", "B", ")", ";", "return", "Changed", ";", "}", ""], "natrual_language": ["runOnMachineFunction", "-", "Emit", "the", "function", "body", "."], "TS_V_token": ["Hexagon", "Hexagon", "Hexagon"], "File": "HexagonStoreWidening", "Func": "runOnMachineFunction", "Target": "Hexagon", "Target_Clf": "DSP", "Compiler_Type": "LLVM", "Idx": 2964, "Length": 105, "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": 2965, "Length": 39, "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": 2966, "Length": 351, "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": 2967, "Length": 333, "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": 2968, "Length": 13, "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": 2969, "Length": 343, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "static", "rtx", "nios2_load_pic_address", "(", "rtx", "sym", ",", "int", "unspec", ",", "rtx", "tmp", ")", "{", "if", "(", "flag_pic", "==", "2", "&&", "GET_CODE", "(", "sym", ")", "==", "SYMBOL_REF", "&&", "nios2_symbol_binds_local_p", "(", "sym", ")", ")", "{", "rtx", "offset", "=", "nios2_unspec_offset", "(", "sym", ",", "UNSPEC_PIC_GOTOFF_SYM", ")", ";", "crtl", "->", "uses_pic_offset_table", "=", "1", ";", "return", "nios2_large_got_address", "(", "offset", ",", "tmp", ")", ";", "}", "return", "gen_const_mem", "(", "Pmode", ",", "nios2_got_address", "(", "sym", ",", "unspec", ")", ")", ";", "}", ""], "natrual_language": ["Generate", "a", "PIC", "address", "as", "a", "MEM", "rtx", "."], "TS_V_token": ["nios2", "2", "1"], "File": "nios2", "Func": "nios2_load_pic_address", "Target": "nios2", "Target_Clf": "MPU", "Compiler_Type": "GCC", "Idx": 2970, "Length": 72, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "unsigned", "getMinimumNopSize", "(", ")", "const", "override", "{", "return", "2", ";", "}", ""], "natrual_language": ["Returns", "the", "minimum", "size", "of", "a", "nop", "in", "bytes", "on", "this", "target", "."], "TS_V_token": ["M68k", "2"], "File": "M68kAsmBackend", "Func": "getMinimumNopSize", "Target": "M68k", "Target_Clf": "MPU", "Compiler_Type": "LLVM", "Idx": 2971, "Length": 11, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "int", "getCycle", "(", ")", "{", "return", "cycle", ";", "}", ""], "natrual_language": ["Return", "the", "cycle", "that", "MI", "is", "scheduled", "at", ",", "or", "-1", "."], "TS_V_token": ["TPC"], "File": "TPCCostModelEmitter", "Func": "getCycle", "Target": "TPC", "Target_Clf": "Virtual ISA", "Compiler_Type": "LLVM", "Idx": 2972, "Length": 9, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "void", "SIInstrInfo", "::", "loadRegFromStackSlot", "(", "MachineBasicBlock", "&", "MBB", ",", "MachineBasicBlock", "::", "iterator", "MI", ",", "unsigned", "DestReg", ",", "int", "FrameIndex", ",", "const", "TargetRegisterClass", "*", "RC", ",", "const", "TargetRegisterInfo", "*", "TRI", ")", "const", "{", "MachineFunction", "*", "MF", "=", "MBB", ".", "getParent", "(", ")", ";", "const", "SIMachineFunctionInfo", "*", "MFI", "=", "MF", "->", "getInfo", "<", "SIMachineFunctionInfo", ">", "(", ")", ";", "MachineFrameInfo", "*", "FrameInfo", "=", "MF", "->", "getFrameInfo", "(", ")", ";", "DebugLoc", "DL", "=", "MBB", ".", "findDebugLoc", "(", "MI", ")", ";", "unsigned", "Align", "=", "FrameInfo", "->", "getObjectAlignment", "(", "FrameIndex", ")", ";", "unsigned", "Size", "=", "FrameInfo", "->", "getObjectSize", "(", "FrameIndex", ")", ";", "MachinePointerInfo", "PtrInfo", "=", "MachinePointerInfo", "::", "getFixedStack", "(", "*", "MF", ",", "FrameIndex", ")", ";", "MachineMemOperand", "*", "MMO", "=", "MF", "->", "getMachineMemOperand", "(", "PtrInfo", ",", "MachineMemOperand", "::", "MOLoad", ",", "Size", ",", "Align", ")", ";", "if", "(", "RI", ".", "isSGPRClass", "(", "RC", ")", ")", "{", "unsigned", "Opcode", "=", "getSGPRSpillRestoreOpcode", "(", "RC", "->", "getSize", "(", ")", ")", ";", "if", "(", "TargetRegisterInfo", "::", "isVirtualRegister", "(", "DestReg", ")", "&&", "RC", "->", "getSize", "(", ")", "==", "4", ")", "{", "MachineRegisterInfo", "&", "MRI", "=", "MF", "->", "getRegInfo", "(", ")", ";", "MRI", ".", "constrainRegClass", "(", "DestReg", ",", "&", "AMDGPU", "::", "SReg_32_XM0RegClass", ")", ";", "}", "BuildMI", "(", "MBB", ",", "MI", ",", "DL", ",", "get", "(", "Opcode", ")", ",", "DestReg", ")", ".", "addFrameIndex", "(", "FrameIndex", ")", ".", "addMemOperand", "(", "MMO", ")", ";", "return", ";", "}", "if", "(", "!", "ST", ".", "isVGPRSpillingEnabled", "(", "*", "MF", "->", "getFunction", "(", ")", ")", ")", "{", "LLVMContext", "&", "Ctx", "=", "MF", "->", "getFunction", "(", ")", "->", "getContext", "(", ")", ";", "Ctx", ".", "emitError", "(", "\"SIInstrInfo::loadRegFromStackSlot - Do not know how to\"", "\" restore register\"", ")", ";", "BuildMI", "(", "MBB", ",", "MI", ",", "DL", ",", "get", "(", "AMDGPU", "::", "IMPLICIT_DEF", ")", ",", "DestReg", ")", ";", "return", ";", "}", "assert", "(", "RI", ".", "hasVGPRs", "(", "RC", ")", "&&", "\"Only VGPR spilling expected\"", ")", ";", "unsigned", "Opcode", "=", "getVGPRSpillRestoreOpcode", "(", "RC", "->", "getSize", "(", ")", ")", ";", "BuildMI", "(", "MBB", ",", "MI", ",", "DL", ",", "get", "(", "Opcode", ")", ",", "DestReg", ")", ".", "addFrameIndex", "(", "FrameIndex", ")", ".", "addReg", "(", "MFI", "->", "getScratchRSrcReg", "(", ")", ")", ".", "addReg", "(", "MFI", "->", "getScratchWaveOffsetReg", "(", ")", ")", ".", "addImm", "(", "0", ")", ".", "addMemOperand", "(", "MMO", ")", ";", "}", ""], "natrual_language": ["Load", "the", "specified", "register", "of", "the", "given", "register", "class", "from", "the", "specified", "stack", "frame", "index", "."], "TS_V_token": ["AMDGPU", "SI", "SI", "SI", "4", "AMDGPU::SReg_32_XM0RegClass", "\"SIInstrInfo::loadRegFromStackSlot - Do not know how to\"", "\" restore register\"", "AMDGPU::IMPLICIT_DEF", "\"Only VGPR spilling expected\"", "0"], "File": "SIInstrInfo100", "Func": "loadRegFromStackSlot", "Target": "AMDGPU", "Target_Clf": "GPU", "Compiler_Type": "LLVM", "Idx": 2973, "Length": 353, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "static", "bool", "isSigned", "(", "Kind", "Cmp", ")", "{", "return", "(", "Cmp", "&", "(", "L", "|", "G", ")", "&&", "!", "(", "Cmp", "&", "U", ")", ")", ";", "}", ""], "natrual_language": ["Returns", "true", "if", "all", "source", "operands", "of", "the", "recurrence", "are", "SExtInsts", "."], "TS_V_token": ["RI5CY"], "File": "PULPHardwareLoops", "Func": "isSigned", "Target": "RI5CY", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 2974, "Length": 27, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "explicit", "Entry", "(", "const", "class", "Region", "*", "R", ")", ":", "TheRegion", "(", "R", ")", ",", "NumBlocksLeft", "(", "R", "->", "getNumBlocks", "(", ")", ")", "{", "}", ""], "natrual_language": ["The", "index", "of", "the", "entry", "block", "."], "TS_V_token": ["WebAssembly"], "File": "WebAssemblyCFGSort", "Func": "Entry", "Target": "WebAssembly", "Target_Clf": "Virtual ISA", "Compiler_Type": "LLVM", "Idx": 2975, "Length": 25, "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": 2976, "Length": 23, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "const", "char", "*", "output_in_line_mul", "(", ")", "{", "static", "char", "insns", "[", "200", "]", ";", "int", "i", ";", "strcpy", "(", "insns", ",", "\"s %0,%0\\n\"", ")", ";", "strcat", "(", "insns", ",", "\"\\tmts r10,%1\\n\"", ")", ";", "for", "(", "i", "=", "0", ";", "i", "<", "16", ";", "i", "++", ")", "strcat", "(", "insns", ",", "\"\\tm %0,%2\\n\"", ")", ";", "strcat", "(", "insns", ",", "\"\\tmfs r10,%0\"", ")", ";", "return", "insns", ";", "}", ""], "natrual_language": ["Generate", "the", "(", "long", ")", "string", "corresponding", "to", "an", "inline", "multiply", "insn", ".", "Note", "that", "`", "r10", "'", "does", "not", "refer", "to", "the", "register", "r10", ",", "but", "rather", "to", "the", "SCR", "used", "as", "the", "MQ", "."], "TS_V_token": ["romp", "200", "\"s %0,%0\\n\"", "\"\\tmts r10,%1\\n\"", "0", "16", "\"\\tm %0,%2\\n\"", "\"\\tmfs r10,%0\""], "File": "romp", "Func": "output_in_line_mul", "Target": "romp", "Target_Clf": "MPU", "Compiler_Type": "GCC", "Idx": 2977, "Length": 62, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "void", "s390_asm_output_function_label", "(", "FILE", "*", "asm_out_file", ",", "const", "char", "*", "fname", ",", "tree", "decl", ")", "{", "int", "hw_before", ",", "hw_after", ";", "s390_function_num_hotpatch_hw", "(", "decl", ",", "&", "hw_before", ",", "&", "hw_after", ")", ";", "if", "(", "hw_before", ">", "0", ")", "{", "unsigned", "int", "function_alignment", ";", "int", "i", ";", "asm_fprintf", "(", "asm_out_file", ",", "\"\\tnopr\\t%%r0\"", "\"\\t# pre-label NOPs for hotpatch (%d halfwords)\\n\"", ",", "hw_before", ")", ";", "for", "(", "i", "=", "1", ";", "i", "<", "hw_before", ";", "i", "++", ")", "fputs", "(", "\"\\tnopr\\t%r0\\n\"", ",", "asm_out_file", ")", ";", "function_alignment", "=", "MAX", "(", "8", ",", "DECL_ALIGN", "(", "decl", ")", "/", "BITS_PER_UNIT", ")", ";", "if", "(", "!", "DECL_USER_ALIGN", "(", "decl", ")", ")", "function_alignment", "=", "MAX", "(", "function_alignment", ",", "(", "unsigned", "int", ")", "align_functions", ")", ";", "fputs", "(", "\"\\t# alignment for hotpatch\\n\"", ",", "asm_out_file", ")", ";", "ASM_OUTPUT_ALIGN", "(", "asm_out_file", ",", "floor_log2", "(", "function_alignment", ")", ")", ";", "}", "if", "(", "S390_USE_TARGET_ATTRIBUTE", "&&", "TARGET_DEBUG_ARG", ")", "{", "asm_fprintf", "(", "asm_out_file", ",", "\"\\t# fn:%s ar%d\\n\"", ",", "fname", ",", "s390_arch", ")", ";", "asm_fprintf", "(", "asm_out_file", ",", "\"\\t# fn:%s tu%d\\n\"", ",", "fname", ",", "s390_tune", ")", ";", "asm_fprintf", "(", "asm_out_file", ",", "\"\\t# fn:%s sg%d\\n\"", ",", "fname", ",", "s390_stack_guard", ")", ";", "asm_fprintf", "(", "asm_out_file", ",", "\"\\t# fn:%s ss%d\\n\"", ",", "fname", ",", "s390_stack_size", ")", ";", "asm_fprintf", "(", "asm_out_file", ",", "\"\\t# fn:%s bc%d\\n\"", ",", "fname", ",", "s390_branch_cost", ")", ";", "asm_fprintf", "(", "asm_out_file", ",", "\"\\t# fn:%s wf%d\\n\"", ",", "fname", ",", "s390_warn_framesize", ")", ";", "asm_fprintf", "(", "asm_out_file", ",", "\"\\t# fn:%s ba%d\\n\"", ",", "fname", ",", "TARGET_BACKCHAIN", ")", ";", "asm_fprintf", "(", "asm_out_file", ",", "\"\\t# fn:%s hd%d\\n\"", ",", "fname", ",", "TARGET_HARD_DFP", ")", ";", "asm_fprintf", "(", "asm_out_file", ",", "\"\\t# fn:%s hf%d\\n\"", ",", "fname", ",", "!", "TARGET_SOFT_FLOAT", ")", ";", "asm_fprintf", "(", "asm_out_file", ",", "\"\\t# fn:%s ht%d\\n\"", ",", "fname", ",", "TARGET_OPT_HTM", ")", ";", "asm_fprintf", "(", "asm_out_file", ",", "\"\\t# fn:%s vx%d\\n\"", ",", "fname", ",", "TARGET_OPT_VX", ")", ";", "asm_fprintf", "(", "asm_out_file", ",", "\"\\t# fn:%s ps%d\\n\"", ",", "fname", ",", "TARGET_PACKED_STACK", ")", ";", "asm_fprintf", "(", "asm_out_file", ",", "\"\\t# fn:%s se%d\\n\"", ",", "fname", ",", "TARGET_SMALL_EXEC", ")", ";", "asm_fprintf", "(", "asm_out_file", ",", "\"\\t# fn:%s mv%d\\n\"", ",", "fname", ",", "TARGET_MVCLE", ")", ";", "asm_fprintf", "(", "asm_out_file", ",", "\"\\t# fn:%s zv%d\\n\"", ",", "fname", ",", "TARGET_ZVECTOR", ")", ";", "asm_fprintf", "(", "asm_out_file", ",", "\"\\t# fn:%s wd%d\\n\"", ",", "fname", ",", "s390_warn_dynamicstack_p", ")", ";", "}", "ASM_OUTPUT_LABEL", "(", "asm_out_file", ",", "fname", ")", ";", "if", "(", "hw_after", ">", "0", ")", "asm_fprintf", "(", "asm_out_file", ",", "\"\\t# post-label NOPs for hotpatch (%d halfwords)\\n\"", ",", "hw_after", ")", ";", "}", ""], "natrual_language": ["Write", "the", "extra", "assembler", "code", "needed", "to", "declare", "a", "function", "properly", "."], "TS_V_token": ["s390", "0", "\"\\tnopr\\t%%r0\"", "\"\\t# pre-label NOPs for hotpatch (%d halfwords)\\n\"", "1", "\"\\tnopr\\t%r0\\n\"", "8", "\"\\t# alignment for hotpatch\\n\"", "\"\\t# fn:%s ar%d\\n\"", "\"\\t# fn:%s tu%d\\n\"", "\"\\t# fn:%s sg%d\\n\"", "\"\\t# fn:%s ss%d\\n\"", "\"\\t# fn:%s bc%d\\n\"", "\"\\t# fn:%s wf%d\\n\"", "\"\\t# fn:%s ba%d\\n\"", "\"\\t# fn:%s hd%d\\n\"", "\"\\t# fn:%s hf%d\\n\"", "\"\\t# fn:%s ht%d\\n\"", "\"\\t# fn:%s vx%d\\n\"", "\"\\t# fn:%s ps%d\\n\"", "\"\\t# fn:%s se%d\\n\"", "\"\\t# fn:%s mv%d\\n\"", "\"\\t# fn:%s zv%d\\n\"", "\"\\t# fn:%s wd%d\\n\"", "0", "\"\\t# post-label NOPs for hotpatch (%d halfwords)\\n\""], "File": "s3906", "Func": "s390_asm_output_function_label", "Target": "s390", "Target_Clf": "MPU", "Compiler_Type": "GCC", "Idx": 2978, "Length": 337, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "MachineBasicBlock", "*", "XCoreTargetLowering", "::", "EmitInstrWithCustomInserter", "(", "MachineInstr", "*", "MI", ",", "MachineBasicBlock", "*", "BB", ")", "const", "{", "const", "TargetInstrInfo", "&", "TII", "=", "*", "getTargetMachine", "(", ")", ".", "getSubtargetImpl", "(", ")", "->", "getInstrInfo", "(", ")", ";", "DebugLoc", "dl", "=", "MI", "->", "getDebugLoc", "(", ")", ";", "assert", "(", "(", "MI", "->", "getOpcode", "(", ")", "==", "XCore", "::", "SELECT_CC", ")", "&&", "\"Unexpected instr type to insert\"", ")", ";", "const", "BasicBlock", "*", "LLVM_BB", "=", "BB", "->", "getBasicBlock", "(", ")", ";", "MachineFunction", "::", "iterator", "It", "=", "BB", ";", "++", "It", ";", "MachineBasicBlock", "*", "thisMBB", "=", "BB", ";", "MachineFunction", "*", "F", "=", "BB", "->", "getParent", "(", ")", ";", "MachineBasicBlock", "*", "copy0MBB", "=", "F", "->", "CreateMachineBasicBlock", "(", "LLVM_BB", ")", ";", "MachineBasicBlock", "*", "sinkMBB", "=", "F", "->", "CreateMachineBasicBlock", "(", "LLVM_BB", ")", ";", "F", "->", "insert", "(", "It", ",", "copy0MBB", ")", ";", "F", "->", "insert", "(", "It", ",", "sinkMBB", ")", ";", "sinkMBB", "->", "splice", "(", "sinkMBB", "->", "begin", "(", ")", ",", "BB", ",", "std", "::", "next", "(", "MachineBasicBlock", "::", "iterator", "(", "MI", ")", ")", ",", "BB", "->", "end", "(", ")", ")", ";", "sinkMBB", "->", "transferSuccessorsAndUpdatePHIs", "(", "BB", ")", ";", "BB", "->", "addSuccessor", "(", "copy0MBB", ")", ";", "BB", "->", "addSuccessor", "(", "sinkMBB", ")", ";", "BuildMI", "(", "BB", ",", "dl", ",", "TII", ".", "get", "(", "XCore", "::", "BRFT_lru6", ")", ")", ".", "addReg", "(", "MI", "->", "getOperand", "(", "1", ")", ".", "getReg", "(", ")", ")", ".", "addMBB", "(", "sinkMBB", ")", ";", "BB", "=", "copy0MBB", ";", "BB", "->", "addSuccessor", "(", "sinkMBB", ")", ";", "BB", "=", "sinkMBB", ";", "BuildMI", "(", "*", "BB", ",", "BB", "->", "begin", "(", ")", ",", "dl", ",", "TII", ".", "get", "(", "XCore", "::", "PHI", ")", ",", "MI", "->", "getOperand", "(", "0", ")", ".", "getReg", "(", ")", ")", ".", "addReg", "(", "MI", "->", "getOperand", "(", "3", ")", ".", "getReg", "(", ")", ")", ".", "addMBB", "(", "copy0MBB", ")", ".", "addReg", "(", "MI", "->", "getOperand", "(", "2", ")", ".", "getReg", "(", ")", ")", ".", "addMBB", "(", "thisMBB", ")", ";", "MI", "->", "eraseFromParent", "(", ")", ";", "return", "BB", ";", "}", ""], "natrual_language": ["This", "method", "should", "be", "implemented", "by", "targets", "that", "mark", "instructions", "with", "the", "'usesCustomInserter", "'", "flag", "."], "TS_V_token": ["XCore", "XCore", "XCore::SELECT_CC", "\"Unexpected instr type to insert\"", "XCore::BRFT_lru6", "1", "XCore::PHI", "0", "3", "2"], "File": "XCoreISelLowering62", "Func": "EmitInstrWithCustomInserter", "Target": "XCore", "Target_Clf": "MPU", "Compiler_Type": "LLVM", "Idx": 2979, "Length": 321, "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": 2980, "Length": 304, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "void", "MBlazeInstrInfo", "::", "loadRegFromStackSlot", "(", "MachineBasicBlock", "&", "MBB", ",", "MachineBasicBlock", "::", "iterator", "I", ",", "unsigned", "DestReg", ",", "int", "FI", ",", "const", "TargetRegisterClass", "*", "RC", ",", "const", "TargetRegisterInfo", "*", "TRI", ")", "const", "{", "DebugLoc", "DL", ";", "BuildMI", "(", "MBB", ",", "I", ",", "DL", ",", "get", "(", "MBlaze", "::", "LWI", ")", ",", "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": ["MBlaze", "MBlaze", "MBlaze::LWI", "0"], "File": "MBlazeInstrInfo2", "Func": "loadRegFromStackSlot", "Target": "MBlaze", "Target_Clf": "MPU", "Compiler_Type": "LLVM", "Idx": 2981, "Length": 64, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "void", "Z80RegisterInfo", "::", "eliminateFrameIndex", "(", "MachineBasicBlock", "::", "iterator", "I", ",", "int", "SPAdj", ",", "unsigned", "FIOperandNum", ",", "RegScavenger", "*", "RS", ")", "const", "{", "assert", "(", "SPAdj", "==", "0", "&&", "\"Not implemented yet!\"", ")", ";", "unsigned", "i", "=", "0", ";", "MachineInstr", "&", "MI", "=", "*", "I", ";", "MachineBasicBlock", "&", "MBB", "=", "*", "MI", ".", "getParent", "(", ")", ";", "MachineFunction", "&", "MF", "=", "*", "MBB", ".", "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", "(", ")", ";", "uint64_t", "Offset", "=", "MF", ".", "getFrameInfo", "(", ")", "->", "getObjectOffset", "(", "FrameIndex", ")", ";", "Offset", "+=", "2", ";", "Offset", "+=", "MF", ".", "getFrameInfo", "(", ")", "->", "getStackSize", "(", ")", ";", "Offset", "+=", "MI", ".", "getOperand", "(", "i", "+", "1", ")", ".", "getImm", "(", ")", ";", "if", "(", "TFI", "->", "hasFP", "(", "MF", ")", ")", "{", "MI", ".", "getOperand", "(", "i", ")", ".", "ChangeToRegister", "(", "getFrameRegister", "(", "MF", ")", ",", "false", ")", ";", "MI", ".", "getOperand", "(", "i", "+", "1", ")", ".", "ChangeToImmediate", "(", "Offset", ")", ";", "}", "else", "assert", "(", "0", "&&", "\"Not implemented yet !\"", ")", ";", "}", ""], "natrual_language": ["This", "method", "must", "be", "overriden", "to", "eliminate", "abstract", "frame", "indices", "from", "instructions", "which", "may", "use", "them", "."], "TS_V_token": ["Z80", "Z80", "0", "\"Not implemented yet!\"", "0", "\"Instr doesn't have FrameIndex operand!\"", "2", "1", "1", "0", "\"Not implemented yet !\""], "File": "Z80RegisterInfo", "Func": "eliminateFrameIndex", "Target": "Z80", "Target_Clf": "MPU", "Compiler_Type": "LLVM", "Idx": 2982, "Length": 222, "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": 2983, "Length": 215, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "PatmosTargetLowering", "::", "ConstraintType", "PatmosTargetLowering", "::", "getConstraintType", "(", "const", "std", "::", "string", "&", "Constraint", ")", "const", "{", "if", "(", "Constraint", ".", "size", "(", ")", "==", "1", ")", "{", "switch", "(", "Constraint", "[", "0", "]", ")", "{", "default", ":", "break", ";", "case", "'R'", ":", "case", "'S'", ":", "case", "'P'", ":", "return", "C_RegisterClass", ";", "}", "}", "return", "TargetLowering", "::", "getConstraintType", "(", "Constraint", ")", ";", "}", ""], "natrual_language": ["Given", "a", "constraint", "letter", ",", "return", "the", "type", "of", "constraint", "for", "this", "target", "."], "TS_V_token": ["Patmos", "Patmos", "Patmos", "1", "0"], "File": "PatmosISelLowering", "Func": "getConstraintType", "Target": "Patmos", "Target_Clf": "VLIW", "Compiler_Type": "LLVM", "Idx": 2984, "Length": 62, "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": 2985, "Length": 242, "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": 2986, "Length": 74, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "bool", "ParseInstruction", "(", "ParseInstructionInfo", "&", ",", "StringRef", "Name", ",", "SMLoc", "NameLoc", ",", "OperandVector", "&", "Operands", ")", "override", "{", "Operands", ".", "push_back", "(", "make_unique", "<", "WebAssemblyOperand", ">", "(", "WebAssemblyOperand", "::", "Token", ",", "NameLoc", ",", "SMLoc", "::", "getFromPointer", "(", "NameLoc", ".", "getPointer", "(", ")", "+", "Name", ".", "size", "(", ")", ")", ",", "WebAssemblyOperand", "::", "TokOp", "{", "StringRef", "(", "NameLoc", ".", "getPointer", "(", ")", ",", "Name", ".", "size", "(", ")", ")", "}", ")", ")", ";", "auto", "NamePair", "=", "Name", ".", "split", "(", "'.'", ")", ";", "if", "(", "NamePair", ".", "second", ".", "empty", "(", ")", ")", "std", "::", "swap", "(", "NamePair", ".", "first", ",", "NamePair", ".", "second", ")", ";", "while", "(", "Lexer", ".", "isNot", "(", "AsmToken", "::", "EndOfStatement", ")", ")", "{", "auto", "&", "Tok", "=", "Lexer", ".", "getTok", "(", ")", ";", "switch", "(", "Tok", ".", "getKind", "(", ")", ")", "{", "case", "AsmToken", "::", "Identifier", ":", "{", "auto", "&", "Id", "=", "Lexer", ".", "getTok", "(", ")", ";", "const", "MCExpr", "*", "Val", ";", "SMLoc", "End", ";", "if", "(", "Parser", ".", "parsePrimaryExpr", "(", "Val", ",", "End", ")", ")", "return", "Error", "(", "\"Cannot parse symbol: \"", ",", "Lexer", ".", "getTok", "(", ")", ")", ";", "Operands", ".", "push_back", "(", "make_unique", "<", "WebAssemblyOperand", ">", "(", "WebAssemblyOperand", "::", "Symbol", ",", "Id", ".", "getLoc", "(", ")", ",", "Id", ".", "getEndLoc", "(", ")", ",", "WebAssemblyOperand", "::", "SymOp", "{", "Val", "}", ")", ")", ";", "break", ";", "}", "case", "AsmToken", "::", "Minus", ":", "Parser", ".", "Lex", "(", ")", ";", "if", "(", "Lexer", ".", "isNot", "(", "AsmToken", "::", "Integer", ")", ")", "return", "Error", "(", "\"Expected integer instead got: \"", ",", "Lexer", ".", "getTok", "(", ")", ")", ";", "if", "(", "ParseOperandStartingWithInteger", "(", "true", ",", "Operands", ",", "NamePair", ".", "second", ")", ")", "return", "true", ";", "break", ";", "case", "AsmToken", "::", "Integer", ":", "if", "(", "ParseOperandStartingWithInteger", "(", "false", ",", "Operands", ",", "NamePair", ".", "second", ")", ")", "return", "true", ";", "break", ";", "case", "AsmToken", "::", "Real", ":", "{", "double", "Val", ";", "if", "(", "Tok", ".", "getString", "(", ")", ".", "getAsDouble", "(", "Val", ",", "false", ")", ")", "return", "Error", "(", "\"Cannot parse real: \"", ",", "Tok", ")", ";", "Operands", ".", "push_back", "(", "make_unique", "<", "WebAssemblyOperand", ">", "(", "WebAssemblyOperand", "::", "Float", ",", "Tok", ".", "getLoc", "(", ")", ",", "Tok", ".", "getEndLoc", "(", ")", ",", "WebAssemblyOperand", "::", "FltOp", "{", "Val", "}", ")", ")", ";", "Parser", ".", "Lex", "(", ")", ";", "break", ";", "}", "default", ":", "return", "Error", "(", "\"Unexpected token in operand: \"", ",", "Tok", ")", ";", "}", "if", "(", "Lexer", ".", "isNot", "(", "AsmToken", "::", "EndOfStatement", ")", ")", "{", "if", "(", "Expect", "(", "AsmToken", "::", "Comma", ",", "\",\"", ")", ")", "return", "true", ";", "}", "}", "Parser", ".", "Lex", "(", ")", ";", "if", "(", "NamePair", ".", "second", "==", "\"block\"", "||", "NamePair", ".", "second", "==", "\"loop\"", ")", "{", "Operands", ".", "push_back", "(", "make_unique", "<", "WebAssemblyOperand", ">", "(", "WebAssemblyOperand", "::", "Integer", ",", "NameLoc", ",", "NameLoc", ",", "WebAssemblyOperand", "::", "IntOp", "{", "-", "1", "}", ")", ")", ";", "}", "return", "false", ";", "}", ""], "natrual_language": ["ParseInstruction", "-", "Parse", "one", "assembly", "instruction", "."], "TS_V_token": ["WebAssembly", "WebAssembly", "WebAssemblyOperand::Token", "WebAssemblyOperand::TokOp", "\"Cannot parse symbol: \"", "WebAssembly", "WebAssemblyOperand::Symbol", "WebAssemblyOperand::SymOp", "\"Expected integer instead got: \"", "\"Cannot parse real: \"", "WebAssembly", "WebAssemblyOperand::Float", "WebAssemblyOperand::FltOp", "\"Unexpected token in operand: \"", "\",\"", "\"block\"", "\"loop\"", "WebAssembly", "WebAssemblyOperand::Integer", "WebAssemblyOperand::IntOp", "1"], "File": "WebAssemblyAsmParser12", "Func": "ParseInstruction", "Target": "WebAssembly", "Target_Clf": "Virtual ISA", "Compiler_Type": "LLVM", "Idx": 2987, "Length": 462, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "const", "char", "*", "getPassName", "(", ")", "const", "override", "{", "return", "\"XCore DAG->DAG Pattern Instruction Selection\"", ";", "}", ""], "natrual_language": ["getPassName", "-", "Return", "a", "nice", "clean", "name", "for", "a", "pass", "."], "TS_V_token": ["XCore", "\"XCore DAG->DAG Pattern Instruction Selection\""], "File": "XCoreISelDAGToDAG", "Func": "getPassName", "Target": "XCore", "Target_Clf": "MPU", "Compiler_Type": "LLVM", "Idx": 2988, "Length": 13, "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": 2989, "Length": 160, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "rtx", "m32c_eh_return_stackadj_rtx", "(", "void", ")", "{", "if", "(", "!", "cfun", "->", "machine", "->", "eh_stack_adjust", ")", "{", "rtx", "sa", ";", "sa", "=", "gen_rtx_REG", "(", "Pmode", ",", "R0_REGNO", ")", ";", "cfun", "->", "machine", "->", "eh_stack_adjust", "=", "sa", ";", "}", "return", "cfun", "->", "machine", "->", "eh_stack_adjust", ";", "}", ""], "natrual_language": ["Implements", "EH_RETURN_STACKADJ_RTX", ".", "Saved", "and", "used", "later", "in", "m32c_emit_eh_epilogue", "."], "TS_V_token": ["m32c"], "File": "m32c", "Func": "m32c_eh_return_stackadj_rtx", "Target": "m32c", "Target_Clf": "MPU", "Compiler_Type": "GCC", "Idx": 2990, "Length": 45, "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": 2991, "Length": 248, "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": 2992, "Length": 74, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "void", "MOSPassConfig", "::", "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": ["MOS", "MOS"], "File": "MOSTargetMachine", "Func": "addPreGlobalInstructionSelect", "Target": "MOS", "Target_Clf": "MPU", "Compiler_Type": "LLVM", "Idx": 2993, "Length": 16, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "unsigned", "GBZ80InstrInfo", "::", "insertIndirectBranch", "(", "MachineBasicBlock", "&", "MBB", ",", "MachineBasicBlock", "&", "NewDestBB", ",", "const", "DebugLoc", "&", "DL", ",", "int64_t", "BrOffset", ",", "RegScavenger", "*", "RS", ")", "const", "{", "auto", "&", "MI", "=", "*", "BuildMI", "(", "&", "MBB", ",", "DL", ",", "get", "(", "GB", "::", "JP_nn", ")", ")", ".", "addMBB", "(", "&", "NewDestBB", ")", ";", "return", "getInstSizeInBytes", "(", "MI", ")", ";", "}", ""], "natrual_language": ["Insert", "an", "unconditional", "indirect", "branch", "at", "the", "end", "of", "MBB", "to", "NewDestBB", "."], "TS_V_token": ["GBZ80", "GB", "GB::JP_nn"], "File": "GBZ80InstrInfo", "Func": "insertIndirectBranch", "Target": "GBZ80", "Target_Clf": "MPU", "Compiler_Type": "LLVM", "Idx": 2994, "Length": 60, "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": 2995, "Length": 160, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "bool", "M680x0AsmBackend", "::", "writeNopData", "(", "raw_ostream", "&", "OS", ",", "uint64_t", "Count", ")", "const", "{", "if", "(", "Count", "%", "2", "!=", "0", ")", "return", "false", ";", "uint64_t", "NumNops", "=", "Count", "/", "2", ";", "for", "(", "uint64_t", "i", "=", "0", ";", "i", "!=", "NumNops", ";", "++", "i", ")", "{", "OS", "<<", "\"\\x4E\\x71\"", ";", "}", "return", "true", ";", "}", ""], "natrual_language": ["Write", "an", "(", "optimal", ")", "nop", "sequence", "of", "Count", "bytes", "to", "the", "given", "output", "."], "TS_V_token": ["M680x0", "M680x0", "2", "0", "2", "0", "\"\\x4E\\x71\""], "File": "M680x0AsmBackend", "Func": "writeNopData", "Target": "M680x0", "Target_Clf": "MPU", "Compiler_Type": "LLVM", "Idx": 2996, "Length": 56, "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", "=", "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": "PPCISelDAGToDAG41", "Func": "getGlobalBaseReg", "Target": "PowerPC", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 2997, "Length": 199, "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", "(", "SrcReg2", "!=", "0", ")", "return", "false", ";", "if", "(", "!", "MRI", "->", "use_nodbg_empty", "(", "CmpInstr", ".", "getOperand", "(", "0", ")", ".", "getReg", "(", ")", ")", ")", "return", "false", ";", "if", "(", "!", "CmpValue", "&&", "substituteCmpToZero", "(", "CmpInstr", ",", "SrcReg", ",", "*", "MRI", ")", ")", "return", "true", ";", "return", "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", "\"CmpValue must be 0 or 1!\"", "0", "0"], "File": "AArch64InstrInfo49", "Func": "optimizeCompareInstr", "Target": "AArch64", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 2998, "Length": 272, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "virtual", "unsigned", "int", "execute", "(", "function", "*", ")", "{", "return", "rest_of_align_insns", "(", ")", ";", "}", ""], "natrual_language": ["Main", "entry", "point", "for", "this", "pass", "."], "TS_V_token": ["alpha"], "File": "alpha", "Func": "execute", "Target": "alpha", "Target_Clf": "MPU", "Compiler_Type": "GCC", "Idx": 2999, "Length": 15, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "bool", "SIRegisterInfo", "::", "requiresFrameIndexReplacementScavenging", "(", "const", "MachineFunction", "&", "MF", ")", "const", "{", "const", "MachineFrameInfo", "&", "MFI", "=", "MF", ".", "getFrameInfo", "(", ")", ";", "if", "(", "!", "MFI", ".", "hasStackObjects", "(", ")", ")", "return", "false", ";", "if", "(", "!", "isUInt", "<", "12", ">", "(", "MFI", ".", "getStackSize", "(", ")", ")", ")", "return", "true", ";", "return", "MF", ".", "getSubtarget", "<", "GCNSubtarget", ">", "(", ")", ".", "hasScalarStores", "(", ")", "&&", "MF", ".", "getInfo", "<", "SIMachineFunctionInfo", ">", "(", ")", "->", "hasSpilledSGPRs", "(", ")", ";", "}", ""], "natrual_language": ["Returns", "true", "if", "the", "target", "requires", "using", "the", "RegScavenger", "directly", "for", "frame", "elimination", "despite", "using", "requiresFrameIndexScavenging", "."], "TS_V_token": ["AMDGPU", "SI", "12", "SI"], "File": "SIRegisterInfo10", "Func": "requiresFrameIndexReplacementScavenging", "Target": "AMDGPU", "Target_Clf": "GPU", "Compiler_Type": "LLVM", "Idx": 3000, "Length": 81, "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": 3001, "Length": 19, "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": 3002, "Length": 16, "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": ["WebAssembly"], "File": "WebAssemblyAsmParser (2)", "Func": "getStartLoc", "Target": "WebAssembly", "Target_Clf": "Virtual ISA", "Compiler_Type": "LLVM", "Idx": 3003, "Length": 11, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "static", "tree", "tilegx_gimplify_va_arg_expr", "(", "tree", "valist", ",", "tree", "type", ",", "gimple_seq", "*", "pre_p", ",", "gimple_seq", "*", "post_p", "ATTRIBUTE_UNUSED", ")", "{", "tree", "f_args", ",", "f_skip", ";", "tree", "args", ",", "skip", ";", "HOST_WIDE_INT", "size", ",", "rsize", ";", "tree", "addr", ",", "tmp", ";", "bool", "pass_by_reference_p", ";", "f_args", "=", "TYPE_FIELDS", "(", "va_list_type_node", ")", ";", "f_skip", "=", "TREE_CHAIN", "(", "f_args", ")", ";", "args", "=", "build3", "(", "COMPONENT_REF", ",", "TREE_TYPE", "(", "f_args", ")", ",", "valist", ",", "f_args", ",", "NULL_TREE", ")", ";", "skip", "=", "build3", "(", "COMPONENT_REF", ",", "TREE_TYPE", "(", "f_skip", ")", ",", "valist", ",", "f_skip", ",", "NULL_TREE", ")", ";", "addr", "=", "create_tmp_var", "(", "ptr_type_node", ",", "\"va_arg\"", ")", ";", "pass_by_reference_p", "=", "pass_va_arg_by_reference", "(", "type", ")", ";", "if", "(", "pass_by_reference_p", ")", "type", "=", "build_pointer_type", "(", "type", ")", ";", "size", "=", "int_size_in_bytes", "(", "type", ")", ";", "rsize", "=", "(", "(", "size", "+", "UNITS_PER_WORD", "-", "1", ")", "/", "UNITS_PER_WORD", ")", "*", "UNITS_PER_WORD", ";", "if", "(", "TYPE_ALIGN", "(", "type", ")", ">", "PARM_BOUNDARY", ")", "{", "gcc_assert", "(", "STACK_BOUNDARY", "==", "PARM_BOUNDARY", "*", "2", ")", ";", "tmp", "=", "build2", "(", "BIT_AND_EXPR", ",", "sizetype", ",", "fold_convert", "(", "sizetype", ",", "unshare_expr", "(", "args", ")", ")", ",", "size_int", "(", "PARM_BOUNDARY", "/", "8", ")", ")", ";", "tmp", "=", "build2", "(", "POINTER_PLUS_EXPR", ",", "ptr_type_node", ",", "unshare_expr", "(", "args", ")", ",", "tmp", ")", ";", "gimplify_assign", "(", "unshare_expr", "(", "args", ")", ",", "tmp", ",", "pre_p", ")", ";", "}", "tmp", "=", "fold_build_pointer_plus_hwi", "(", "unshare_expr", "(", "args", ")", ",", "rsize", ")", ";", "tmp", "=", "build2", "(", "TRUTH_AND_EXPR", ",", "boolean_type_node", ",", "build2", "(", "GT_EXPR", ",", "boolean_type_node", ",", "tmp", ",", "unshare_expr", "(", "skip", ")", ")", ",", "build2", "(", "LE_EXPR", ",", "boolean_type_node", ",", "unshare_expr", "(", "args", ")", ",", "unshare_expr", "(", "skip", ")", ")", ")", ";", "tmp", "=", "build3", "(", "COND_EXPR", ",", "ptr_type_node", ",", "tmp", ",", "build2", "(", "POINTER_PLUS_EXPR", ",", "ptr_type_node", ",", "unshare_expr", "(", "skip", ")", ",", "size_int", "(", "STACK_POINTER_OFFSET", ")", ")", ",", "unshare_expr", "(", "args", ")", ")", ";", "if", "(", "BYTES_BIG_ENDIAN", "&&", "rsize", ">", "size", ")", "tmp", "=", "fold_build_pointer_plus_hwi", "(", "tmp", ",", "rsize", "-", "size", ")", ";", "gimplify_assign", "(", "addr", ",", "tmp", ",", "pre_p", ")", ";", "if", "(", "BYTES_BIG_ENDIAN", "&&", "rsize", ">", "size", ")", "tmp", "=", "fold_build_pointer_plus_hwi", "(", "addr", ",", "size", ")", ";", "else", "tmp", "=", "fold_build_pointer_plus_hwi", "(", "addr", ",", "rsize", ")", ";", "gimplify_assign", "(", "unshare_expr", "(", "args", ")", ",", "tmp", ",", "pre_p", ")", ";", "addr", "=", "fold_convert", "(", "build_pointer_type", "(", "type", ")", ",", "addr", ")", ";", "if", "(", "pass_by_reference_p", ")", "addr", "=", "build_va_arg_indirect_ref", "(", "addr", ")", ";", "return", "build_va_arg_indirect_ref", "(", "addr", ")", ";", "}", ""], "natrual_language": ["Implement", "TARGET_GIMPLIFY_VA_ARG_EXPR", ".", "Gimplify", "va_arg", "by", "updating", "the", "va_list", "structure", "VALIST", "as", "required", "to", "retrieve", "an", "argument", "of", "type", "TYPE", ",", "and", "returning", "that", "argument", ".", "ret", "=", "va_arg", "(", "VALIST", ",", "TYPE", ")", ";", "generates", "code", "equivalent", "to", ":", "paddedsize", "=", "(", "sizeof", "(", "TYPE", ")", "+", "7", ")", "&", "-8", ";", "if", "(", "(", "VALIST.__args", "+", "paddedsize", ">", "VALIST.__skip", ")", "&", "(", "VALIST.__args", "<", "=", "VALIST.__skip", ")", ")", "addr", "=", "VALIST.__skip", "+", "STACK_POINTER_OFFSET", ";", "else", "addr", "=", "VALIST.__args", ";", "VALIST.__args", "=", "addr", "+", "paddedsize", ";", "if", "(", "BYTES_BIG_ENDIAN", ")", "ret", "=", "*", "(", "TYPE", "*", ")", "(", "addr", "+", "paddedsize", "-", "sizeof", "(", "TYPE", ")", ")", ";", "else", "ret", "=", "*", "(", "TYPE", "*", ")", "addr", ";"], "TS_V_token": ["tilegx", "\"va_arg\"", "1", "2", "8"], "File": "tilegx", "Func": "tilegx_gimplify_va_arg_expr", "Target": "tilegx", "Target_Clf": "VLIW", "Compiler_Type": "GCC", "Idx": 3004, "Length": 399, "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": 3005, "Length": 219, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "unsigned", "getNumFixupKinds", "(", ")", "const", "override", "{", "return", "llvm", "::", "M680x0", "::", "NumTargetFixupKinds", ";", "}", ""], "natrual_language": ["Get", "the", "number", "of", "target", "specific", "fixup", "kinds", "."], "TS_V_token": ["M680x0", "M680x0::NumTargetFixupKinds"], "File": "M680x0AsmBackend", "Func": "getNumFixupKinds", "Target": "M680x0", "Target_Clf": "MPU", "Compiler_Type": "LLVM", "Idx": 3006, "Length": 15, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "void", "TPCAsmBackend", "::", "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": ["TPC", "TPC"], "File": "TPCAsmBackend", "Func": "relaxInstruction", "Target": "TPC", "Target_Clf": "Virtual ISA", "Compiler_Type": "LLVM", "Idx": 3007, "Length": 22, "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": 3008, "Length": 26, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "std", "::", "unique_ptr", "<", "TargetInstrInfo", "::", "PipelinerLoopInfo", ">", "ARMBaseInstrInfo", "::", "analyzeLoopForPipelining", "(", "MachineBasicBlock", "*", "LoopBB", ")", "const", "{", "MachineBasicBlock", "::", "iterator", "I", "=", "LoopBB", "->", "getFirstTerminator", "(", ")", ";", "MachineBasicBlock", "*", "Preheader", "=", "*", "LoopBB", "->", "pred_begin", "(", ")", ";", "if", "(", "Preheader", "==", "LoopBB", ")", "Preheader", "=", "*", "std", "::", "next", "(", "LoopBB", "->", "pred_begin", "(", ")", ")", ";", "if", "(", "I", "!=", "LoopBB", "->", "end", "(", ")", "&&", "I", "->", "getOpcode", "(", ")", "==", "ARM", "::", "t2Bcc", ")", "{", "MachineInstr", "*", "CCSetter", "=", "nullptr", ";", "for", "(", "auto", "&", "L", ":", "LoopBB", "->", "instrs", "(", ")", ")", "{", "if", "(", "L", ".", "isCall", "(", ")", ")", "return", "nullptr", ";", "if", "(", "isCPSRDefined", "(", "L", ")", ")", "CCSetter", "=", "&", "L", ";", "}", "if", "(", "CCSetter", ")", "return", "std", "::", "make_unique", "<", "ARMPipelinerLoopInfo", ">", "(", "&", "*", "I", ",", "CCSetter", ")", ";", "else", "return", "nullptr", ";", "}", "if", "(", "I", "!=", "LoopBB", "->", "end", "(", ")", "&&", "I", "->", "getOpcode", "(", ")", "==", "ARM", "::", "t2LoopEnd", ")", "{", "for", "(", "auto", "&", "L", ":", "LoopBB", "->", "instrs", "(", ")", ")", "if", "(", "L", ".", "isCall", "(", ")", ")", "return", "nullptr", ";", "else", "if", "(", "isVCTP", "(", "&", "L", ")", ")", "return", "nullptr", ";", "Register", "LoopDecResult", "=", "I", "->", "getOperand", "(", "0", ")", ".", "getReg", "(", ")", ";", "MachineRegisterInfo", "&", "MRI", "=", "LoopBB", "->", "getParent", "(", ")", "->", "getRegInfo", "(", ")", ";", "MachineInstr", "*", "LoopDec", "=", "MRI", ".", "getUniqueVRegDef", "(", "LoopDecResult", ")", ";", "if", "(", "!", "LoopDec", "||", "LoopDec", "->", "getOpcode", "(", ")", "!=", "ARM", "::", "t2LoopDec", ")", "return", "nullptr", ";", "MachineInstr", "*", "LoopStart", "=", "nullptr", ";", "for", "(", "auto", "&", "J", ":", "Preheader", "->", "instrs", "(", ")", ")", "if", "(", "J", ".", "getOpcode", "(", ")", "==", "ARM", "::", "t2DoLoopStart", ")", "LoopStart", "=", "&", "J", ";", "if", "(", "!", "LoopStart", ")", "return", "nullptr", ";", "return", "std", "::", "make_unique", "<", "ARMPipelinerLoopInfo", ">", "(", "&", "*", "I", ",", "LoopDec", ")", ";", "}", "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": ["ARM", "ARM", "ARM::t2Bcc", "ARM", "ARM::t2LoopEnd", "0", "ARM::t2LoopDec", "ARM::t2DoLoopStart", "ARM"], "File": "ARMBaseInstrInfo70", "Func": "analyzeLoopForPipelining", "Target": "ARM", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 3009, "Length": 324, "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": 3010, "Length": 417, "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": 3011, "Length": 24, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "bool", "WebAssemblyFixBrTableDefaults", "::", "runOnMachineFunction", "(", "MachineFunction", "&", "MF", ")", "{", "LLVM_DEBUG", "(", "dbgs", "(", ")", "<<", "\"********** Fixing br_table Default Targets **********\\n\"", "\"********** Function: \"", "<<", "MF", ".", "getName", "(", ")", "<<", "'\\n'", ")", ";", "bool", "Changed", "=", "false", ";", "SmallPtrSet", "<", "MachineBasicBlock", "*", ",", "16", ">", "MBBSet", ";", "for", "(", "auto", "&", "MBB", ":", "MF", ")", "MBBSet", ".", "insert", "(", "&", "MBB", ")", ";", "while", "(", "!", "MBBSet", ".", "empty", "(", ")", ")", "{", "MachineBasicBlock", "*", "MBB", "=", "*", "MBBSet", ".", "begin", "(", ")", ";", "MBBSet", ".", "erase", "(", "MBB", ")", ";", "for", "(", "auto", "&", "MI", ":", "*", "MBB", ")", "{", "if", "(", "WebAssembly", "::", "isBrTable", "(", "MI", ")", ")", "{", "auto", "*", "Fixed", "=", "fixBrTable", "(", "MI", ",", "MBB", ",", "MF", ")", ";", "if", "(", "Fixed", "!=", "nullptr", ")", "{", "MBBSet", ".", "erase", "(", "Fixed", ")", ";", "Changed", "=", "true", ";", "}", "break", ";", "}", "}", "}", "if", "(", "Changed", ")", "{", "MF", ".", "RenumberBlocks", "(", ")", ";", "return", "true", ";", "}", "return", "false", ";", "}", ""], "natrual_language": ["runOnMachineFunction", "-", "Emit", "the", "function", "body", "."], "TS_V_token": ["WebAssembly", "WebAssembly", "\"********** Fixing br_table Default Targets **********\\n\"", "\"********** Function: \"", "16", "WebAssembly::isBrTable"], "File": "WebAssemblyFixBrTableDefaults5", "Func": "runOnMachineFunction", "Target": "WebAssembly", "Target_Clf": "Virtual ISA", "Compiler_Type": "LLVM", "Idx": 3012, "Length": 162, "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": 3013, "Length": 313, "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": 3014, "Length": 338, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "static", "int", "const_costs_int", "(", "HOST_WIDE_INT", "value", ",", "int", "zero_cost", ")", "{", "if", "(", "CONST_OK_FOR_I", "(", "value", ")", ")", "return", "zero_cost", ";", "else", "if", "(", "CONST_OK_FOR_J", "(", "value", ")", ")", "return", "1", ";", "else", "if", "(", "CONST_OK_FOR_K", "(", "value", ")", ")", "return", "2", ";", "else", "return", "4", ";", "}", ""], "natrual_language": ["Return", "the", "cost", "of", "the", "rtx", "R", "with", "code", "CODE", "."], "TS_V_token": ["v850", "1", "2", "4"], "File": "v850", "Func": "const_costs_int", "Target": "v850", "Target_Clf": "MPU", "Compiler_Type": "GCC", "Idx": 3015, "Length": 48, "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", ",", "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_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": "OR1KISelLowering1", "Func": "LowerCallResult", "Target": "OR1K", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 3016, "Length": 166, "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": 3017, "Length": 430, "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": 3018, "Length": 162, "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": 3019, "Length": 29, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "bool", "RISCVTargetLowering", "::", "allowsMisalignedMemoryAccesses", "(", "EVT", "VT", ",", "unsigned", "AddrSpace", "=", "0", ",", "unsigned", "Align", "=", "1", ",", "MachineMemOperand", "::", "Flags", "Flags", "=", "MachineMemOperand", "::", "MONone", ",", "bool", "*", "Fast", "=", "nullptr", ")", "const", "{", "if", "(", "Subtarget", ".", "hasNonStdExtPulp", "(", ")", ")", "{", "if", "(", "Fast", ")", "{", "*", "Fast", "=", "false", ";", "}", "return", "true", ";", "}", "return", "false", ";", "}", ""], "natrual_language": ["Returns", "true", "if", "the", "target", "allows", "unaligned", "memory", "accesses", "of", "the", "specified", "type", "."], "TS_V_token": ["RISCV", "RISCV", "0", "1"], "File": "RISCVISelLowering73", "Func": "allowsMisalignedMemoryAccesses", "Target": "RISCV", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 3020, "Length": 63, "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": 3021, "Length": 341, "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": 3022, "Length": 473, "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": ["M68k"], "File": "M68kInstrInfo (2)", "Func": "getAnalysisUsage", "Target": "M68k", "Target_Clf": "MPU", "Compiler_Type": "LLVM", "Idx": 3023, "Length": 24, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "SCANode", "*", "getCaller", "(", ")", "const", "{", "return", "Caller", ";", "}", ""], "natrual_language": ["Helper", "to", "get", "the", "caller", "(", "the", "parent", "function", ")", "."], "TS_V_token": ["Patmos"], "File": "PatmosStackCacheAnalysis", "Func": "getCaller", "Target": "Patmos", "Target_Clf": "VLIW", "Compiler_Type": "LLVM", "Idx": 3024, "Length": 11, "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": 3025, "Length": 15, "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": 3026, "Length": 438, "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": 3027, "Length": 14, "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": 3028, "Length": 12, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "bool", "MSP430TargetLowering", "::", "isZExtFree", "(", "const", "Type", "*", "Ty1", ",", "const", "Type", "*", "Ty2", ")", "const", "{", "return", "0", "&&", "Ty1", "->", "isIntegerTy", "(", "8", ")", "&&", "Ty2", "->", "isIntegerTy", "(", "16", ")", ";", "}", ""], "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": ["MSP430", "MSP430", "0", "8", "16"], "File": "MSP430ISelLowering20", "Func": "isZExtFree", "Target": "MSP430", "Target_Clf": "MPU", "Compiler_Type": "LLVM", "Idx": 3029, "Length": 35, "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": 3030, "Length": 16, "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": 3031, "Length": 36, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "void", "BPFAsmBackend", "::", "applyFixup", "(", "const", "MCFixup", "&", "Fixup", ",", "char", "*", "Data", ",", "unsigned", "DataSize", ",", "uint64_t", "Value", ",", "bool", "IsPCRel", ",", "MCContext", "&", "Ctx", ")", "const", "{", "if", "(", "Fixup", ".", "getKind", "(", ")", "==", "FK_SecRel_4", "||", "Fixup", ".", "getKind", "(", ")", "==", "FK_SecRel_8", ")", "{", "assert", "(", "Value", "==", "0", ")", ";", "}", "else", "if", "(", "Fixup", ".", "getKind", "(", ")", "==", "FK_Data_4", "||", "Fixup", ".", "getKind", "(", ")", "==", "FK_Data_8", ")", "{", "unsigned", "Size", "=", "Fixup", ".", "getKind", "(", ")", "==", "FK_Data_4", "?", "4", ":", "8", ";", "for", "(", "unsigned", "i", "=", "0", ";", "i", "!=", "Size", ";", "++", "i", ")", "{", "unsigned", "Idx", "=", "IsLittleEndian", "?", "i", ":", "Size", "-", "i", ";", "Data", "[", "Fixup", ".", "getOffset", "(", ")", "+", "Idx", "]", "=", "uint8_t", "(", "Value", ">>", "(", "i", "*", "8", ")", ")", ";", "}", "}", "else", "{", "assert", "(", "Fixup", ".", "getKind", "(", ")", "==", "FK_PCRel_2", ")", ";", "Value", "=", "(", "uint16_t", ")", "(", "(", "Value", "-", "8", ")", "/", "8", ")", ";", "if", "(", "IsLittleEndian", ")", "{", "Data", "[", "Fixup", ".", "getOffset", "(", ")", "+", "2", "]", "=", "Value", "&", "0xFF", ";", "Data", "[", "Fixup", ".", "getOffset", "(", ")", "+", "3", "]", "=", "Value", ">>", "8", ";", "}", "else", "{", "Data", "[", "Fixup", ".", "getOffset", "(", ")", "+", "2", "]", "=", "Value", ">>", "8", ";", "Data", "[", "Fixup", ".", "getOffset", "(", ")", "+", "3", "]", "=", "Value", "&", "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": ["BPF", "BPF", "0", "4", "8", "0", "8", "8", "8", "2", "0xFF", "3", "8", "2", "8", "3", "0xFF"], "File": "BPFAsmBackend24", "Func": "applyFixup", "Target": "BPF", "Target_Clf": "Virtual ISA", "Compiler_Type": "LLVM", "Idx": 3032, "Length": 240, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "virtual", "const", "PIC16Subtarget", "*", "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": ["PIC16", "PIC16"], "File": "PIC16TargetMachine", "Func": "getSubtargetImpl", "Target": "PIC16", "Target_Clf": "MPU", "Compiler_Type": "LLVM", "Idx": 3033, "Length": 14, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "bool", "AMDGPUFrameLowering", "::", "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": ["R600"], "File": "AMDGPUFrameLowering", "Func": "hasFP", "Target": "R600", "Target_Clf": "GPU", "Compiler_Type": "LLVM", "Idx": 3034, "Length": 16, "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": 3035, "Length": 443, "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": 3036, "Length": 131, "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": 3037, "Length": 24, "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": 3038, "Length": 137, "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": 3039, "Length": 32, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "const", "MCFixupKindInfo", "&", "getFixupKindInfo", "(", "MCFixupKind", "Kind", ")", "const", "{", "const", "static", "MCFixupKindInfo", "Infos", "[", "]", "=", "{", "{", "\"fixup_arm_ldst_pcrel_12\"", ",", "1", ",", "24", ",", "MCFixupKindInfo", "::", "FKF_IsPCRel", "}", ",", "{", "\"fixup_t2_ldst_pcrel_12\"", ",", "0", ",", "32", ",", "MCFixupKindInfo", "::", "FKF_IsPCRel", "|", "MCFixupKindInfo", "::", "FKF_IsAligned", "}", ",", "{", "\"fixup_arm_pcrel_10\"", ",", "1", ",", "24", ",", "MCFixupKindInfo", "::", "FKF_IsPCRel", "}", ",", "{", "\"fixup_t2_pcrel_10\"", ",", "0", ",", "32", ",", "MCFixupKindInfo", "::", "FKF_IsPCRel", "}", ",", "{", "\"fixup_arm_adr_pcrel_12\"", ",", "1", ",", "24", ",", "MCFixupKindInfo", "::", "FKF_IsPCRel", "}", ",", "{", "\"fixup_arm_branch\"", ",", "1", ",", "24", ",", "MCFixupKindInfo", "::", "FKF_IsPCRel", "}", ",", "{", "\"fixup_t2_branch\"", ",", "0", ",", "32", ",", "MCFixupKindInfo", "::", "FKF_IsPCRel", "|", "MCFixupKindInfo", "::", "FKF_IsAligned", "}", ",", "{", "\"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\"", ",", "1", ",", "8", ",", "MCFixupKindInfo", "::", "FKF_IsPCRel", "}", ",", "{", "\"fixup_arm_movt_hi16\"", ",", "0", ",", "16", ",", "0", "}", ",", "{", "\"fixup_arm_movw_lo16\"", ",", "0", ",", "16", ",", "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": ["ARM", "\"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_arm_adr_pcrel_12\"", "1", "24", "\"fixup_arm_branch\"", "1", "24", "\"fixup_t2_branch\"", "0", "32", "\"fixup_arm_thumb_bl\"", "0", "32", "\"fixup_arm_thumb_blx\"", "0", "32", "\"fixup_arm_thumb_cb\"", "0", "16", "\"fixup_arm_thumb_cp\"", "1", "8", "\"fixup_arm_movt_hi16\"", "0", "16", "0", "\"fixup_arm_movw_lo16\"", "0", "16", "0", "\"Invalid kind!\""], "File": "ARMMCCodeEmitter13", "Func": "getFixupKindInfo", "Target": "ARM", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 3040, "Length": 219, "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": 3041, "Length": 44, "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": 3042, "Length": 53, "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": 3043, "Length": 79, "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": 3044, "Length": 217, "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": 3045, "Length": 398, "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": 3046, "Length": 195, "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": 3047, "Length": 19, "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": 3048, "Length": 57, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "void", "arc_ccfsm_record_branch_deleted", "(", "void", ")", "{", "arc_ccfsm_state", "+=", "2", ";", "current_insn_set_cc_p", "=", "last_insn_set_cc_p", ";", "}", ""], "natrual_language": ["Record", "a", "branch", "is", "n't", "output", "because", "subsequent", "insns", "can", "be", "conditionalized", "."], "TS_V_token": ["arc", "2"], "File": "arc3", "Func": "arc_ccfsm_record_branch_deleted", "Target": "arc", "Target_Clf": "MPU", "Compiler_Type": "GCC", "Idx": 3049, "Length": 15, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "bool", "HexagonFrameLowering", "::", "restoreCalleeSavedRegisters", "(", "MachineBasicBlock", "&", "MBB", ",", "MachineBasicBlock", "::", "iterator", "MI", ",", "const", "std", "::", "vector", "<", "CalleeSavedInfo", ">", "&", "CSI", ",", "const", "TargetRegisterInfo", "*", "TRI", ")", "const", "{", "MachineFunction", "*", "MF", "=", "MBB", ".", "getParent", "(", ")", ";", "const", "TargetInstrInfo", "&", "TII", "=", "*", "MF", "->", "getTarget", "(", ")", ".", "getInstrInfo", "(", ")", ";", "if", "(", "CSI", ".", "empty", "(", ")", ")", "{", "return", "false", ";", "}", "bool", "ContiguousRegs", "=", "true", ";", "for", "(", "unsigned", "i", "=", "0", ";", "i", "<", "CSI", ".", "size", "(", ")", ";", "++", "i", ")", "{", "unsigned", "Reg", "=", "CSI", "[", "i", "]", ".", "getReg", "(", ")", ";", "unsigned", "SuperReg", "=", "uniqueSuperReg", "(", "Reg", ",", "TRI", ")", ";", "const", "TargetRegisterClass", "*", "SuperRegClass", "=", "nullptr", ";", "bool", "CanUseDblLoad", "=", "false", ";", "if", "(", "ContiguousRegs", "&&", "(", "i", "<", "CSI", ".", "size", "(", ")", "-", "1", ")", ")", "{", "unsigned", "SuperRegNext", "=", "uniqueSuperReg", "(", "CSI", "[", "i", "+", "1", "]", ".", "getReg", "(", ")", ",", "TRI", ")", ";", "SuperRegClass", "=", "TRI", "->", "getMinimalPhysRegClass", "(", "SuperReg", ")", ";", "CanUseDblLoad", "=", "(", "SuperRegNext", "==", "SuperReg", ")", ";", "}", "if", "(", "CanUseDblLoad", ")", "{", "TII", ".", "loadRegFromStackSlot", "(", "MBB", ",", "MI", ",", "SuperReg", ",", "CSI", "[", "i", "+", "1", "]", ".", "getFrameIdx", "(", ")", ",", "SuperRegClass", ",", "TRI", ")", ";", "MBB", ".", "addLiveIn", "(", "SuperReg", ")", ";", "++", "i", ";", "}", "else", "{", "ContiguousRegs", "=", "false", ";", "const", "TargetRegisterClass", "*", "RC", "=", "TRI", "->", "getMinimalPhysRegClass", "(", "Reg", ")", ";", "TII", ".", "loadRegFromStackSlot", "(", "MBB", ",", "MI", ",", "Reg", ",", "CSI", "[", "i", "]", ".", "getFrameIdx", "(", ")", ",", "RC", ",", "TRI", ")", ";", "MBB", ".", "addLiveIn", "(", "Reg", ")", ";", "}", "}", "return", "true", ";", "}", ""], "natrual_language": ["restoreCalleeSavedRegisters", "-", "Issues", "instruction", "(", "s", ")", "to", "restore", "all", "callee", "saved", "registers", "and", "returns", "true", "if", "it", "is", "n't", "possible", "/", "profitable", "to", "do", "so", "by", "issuing", "a", "series", "of", "load", "instructions", "via", "loadRegToStackSlot", "(", ")", "."], "TS_V_token": ["Hexagon", "Hexagon", "0", "1", "1", "1"], "File": "HexagonFrameLowering23", "Func": "restoreCalleeSavedRegisters", "Target": "Hexagon", "Target_Clf": "DSP", "Compiler_Type": "LLVM", "Idx": 3050, "Length": 279, "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": 3051, "Length": 112, "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": 3052, "Length": 221, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "bool", "LanaiInstrInfo", "::", "getMemOperandsWithOffsetWidth", "(", "const", "MachineInstr", "&", "LdSt", ",", "SmallVectorImpl", "<", "const", "MachineOperand", "*", ">", "&", "BaseOps", ",", "int64_t", "&", "Offset", ",", "bool", "&", "OffsetIsScalable", ",", "unsigned", "&", "Width", ",", "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", ":", "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": ["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": "LanaiInstrInfo13", "Func": "getMemOperandsWithOffsetWidth", "Target": "Lanai", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 3053, "Length": 137, "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": 3054, "Length": 302, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "void", "CallReturnHandler", "::", "assignValueToReg", "(", "Register", "ValVReg", ",", "Register", "PhysReg", ",", "CCValAssign", "VA", ")", "{", "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": ["M68k"], "File": "M68kCallLowering1", "Func": "assignValueToReg", "Target": "M68k", "Target_Clf": "MPU", "Compiler_Type": "LLVM", "Idx": 3055, "Length": 36, "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": 3056, "Length": 22, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "EVT", "PatmosTargetLowering", "::", "getSetCCResultType", "(", "LLVMContext", "&", "Context", ",", "EVT", "VT", ")", "const", "{", "return", "MVT", "::", "i1", ";", "}", ""], "natrual_language": ["Return", "the", "value", "type", "to", "use", "for", "ISD", ":", ":SETCC", "."], "TS_V_token": ["Patmos", "Patmos", "MVT::i1"], "File": "PatmosISelLowering", "Func": "getSetCCResultType", "Target": "Patmos", "Target_Clf": "VLIW", "Compiler_Type": "LLVM", "Idx": 3057, "Length": 20, "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": 3058, "Length": 66, "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": 3059, "Length": 55, "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": 3060, "Length": 41, "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": 3061, "Length": 412, "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": 3062, "Length": 219, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "virtual", "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": "AArch64TargetTransformInfo19", "Func": "initializePass", "Target": "AArch64", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 3063, "Length": 13, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "const", "MCS51MCExpr", "*", "MCS51MCExpr", "::", "create", "(", "VariantKind", "Kind", ",", "const", "MCExpr", "*", "Expr", ",", "bool", "Negated", ",", "MCContext", "&", "Ctx", ")", "{", "return", "new", "(", "Ctx", ")", "MCS51MCExpr", "(", "Kind", ",", "Expr", ",", "Negated", ")", ";", "}", ""], "natrual_language": ["This", "creates", "an", "identified", "struct", "."], "TS_V_token": ["MCS51", "MCS51", "MCS51", "MCS51"], "File": "MCS51MCExpr", "Func": "create", "Target": "MCS51", "Target_Clf": "MPU", "Compiler_Type": "LLVM", "Idx": 3064, "Length": 38, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "bool", "SIInstrInfo", "::", "shouldClusterMemOps", "(", "MachineInstr", "&", "FirstLdSt", ",", "unsigned", "BaseReg1", ",", "MachineInstr", "&", "SecondLdSt", ",", "unsigned", "BaseReg2", ",", "unsigned", "NumLoads", ")", "const", "{", "if", "(", "!", "memOpsHaveSameBasePtr", "(", "FirstLdSt", ",", "BaseReg1", ",", "SecondLdSt", ",", "BaseReg2", ")", ")", "return", "false", ";", "const", "MachineOperand", "*", "FirstDst", "=", "nullptr", ";", "const", "MachineOperand", "*", "SecondDst", "=", "nullptr", ";", "if", "(", "(", "isMUBUF", "(", "FirstLdSt", ")", "&&", "isMUBUF", "(", "SecondLdSt", ")", ")", "||", "(", "isMTBUF", "(", "FirstLdSt", ")", "&&", "isMTBUF", "(", "SecondLdSt", ")", ")", "||", "(", "isFLAT", "(", "FirstLdSt", ")", "&&", "isFLAT", "(", "SecondLdSt", ")", ")", ")", "{", "const", "unsigned", "MaxGlobalLoadCluster", "=", "6", ";", "if", "(", "NumLoads", ">", "MaxGlobalLoadCluster", ")", "return", "false", ";", "FirstDst", "=", "getNamedOperand", "(", "FirstLdSt", ",", "AMDGPU", "::", "OpName", "::", "vdata", ")", ";", "if", "(", "!", "FirstDst", ")", "FirstDst", "=", "getNamedOperand", "(", "FirstLdSt", ",", "AMDGPU", "::", "OpName", "::", "vdst", ")", ";", "SecondDst", "=", "getNamedOperand", "(", "SecondLdSt", ",", "AMDGPU", "::", "OpName", "::", "vdata", ")", ";", "if", "(", "!", "SecondDst", ")", "SecondDst", "=", "getNamedOperand", "(", "SecondLdSt", ",", "AMDGPU", "::", "OpName", "::", "vdst", ")", ";", "}", "else", "if", "(", "isSMRD", "(", "FirstLdSt", ")", "&&", "isSMRD", "(", "SecondLdSt", ")", ")", "{", "FirstDst", "=", "getNamedOperand", "(", "FirstLdSt", ",", "AMDGPU", "::", "OpName", "::", "sdst", ")", ";", "SecondDst", "=", "getNamedOperand", "(", "SecondLdSt", ",", "AMDGPU", "::", "OpName", "::", "sdst", ")", ";", "}", "else", "if", "(", "isDS", "(", "FirstLdSt", ")", "&&", "isDS", "(", "SecondLdSt", ")", ")", "{", "FirstDst", "=", "getNamedOperand", "(", "FirstLdSt", ",", "AMDGPU", "::", "OpName", "::", "vdst", ")", ";", "SecondDst", "=", "getNamedOperand", "(", "SecondLdSt", ",", "AMDGPU", "::", "OpName", "::", "vdst", ")", ";", "}", "if", "(", "!", "FirstDst", "||", "!", "SecondDst", ")", "return", "false", ";", "unsigned", "LoadClusterThreshold", "=", "16", ";", "const", "MachineRegisterInfo", "&", "MRI", "=", "FirstLdSt", ".", "getParent", "(", ")", "->", "getParent", "(", ")", "->", "getRegInfo", "(", ")", ";", "const", "TargetRegisterClass", "*", "DstRC", "=", "MRI", ".", "getRegClass", "(", "FirstDst", "->", "getReg", "(", ")", ")", ";", "return", "(", "NumLoads", "*", "(", "RI", ".", "getRegSizeInBits", "(", "*", "DstRC", ")", "/", "8", ")", ")", "<=", "LoadClusterThreshold", ";", "}", ""], "natrual_language": ["Returns", "true", "if", "the", "two", "given", "memory", "operations", "should", "be", "scheduled", "adjacent", "."], "TS_V_token": ["AMDGPU", "SI", "6", "AMDGPU::OpName", "AMDGPU::OpName", "AMDGPU::OpName", "AMDGPU::OpName", "AMDGPU::OpName", "AMDGPU::OpName", "AMDGPU::OpName", "AMDGPU::OpName", "16", "8"], "File": "SIInstrInfo (2)", "Func": "shouldClusterMemOps", "Target": "AMDGPU", "Target_Clf": "GPU", "Compiler_Type": "LLVM", "Idx": 3065, "Length": 325, "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": 3066, "Length": 49, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "const", "LanaiSubtarget", "*", "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": ["Lanai", "Lanai"], "File": "LanaiTargetMachine", "Func": "getSubtargetImpl", "Target": "Lanai", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 3067, "Length": 19, "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": 3068, "Length": 505, "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": 3069, "Length": 110, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "uint32_t", "getSize", "(", ")", "{", "return", "Size", ";", "}", ""], "natrual_language": ["Return", "the", "number", "of", "bytes", "in", "the", "encoding", "of", "this", "instruction", ",", "or", "zero", "if", "the", "encoding", "size", "can", "not", "be", "known", "from", "the", "opcode", "."], "TS_V_token": ["BPF"], "File": "BTFDebug", "Func": "getSize", "Target": "BPF", "Target_Clf": "Virtual ISA", "Compiler_Type": "LLVM", "Idx": 3070, "Length": 9, "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": 3071, "Length": 230, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "void", "R600InstrInfo", "::", "copyPhysReg", "(", "MachineBasicBlock", "&", "MBB", ",", "MachineBasicBlock", "::", "iterator", "MI", ",", "const", "DebugLoc", "&", "DL", ",", "MCRegister", "DestReg", ",", "MCRegister", "SrcReg", ",", "bool", "KillSrc", ")", "const", "{", "unsigned", "VectorComponents", "=", "0", ";", "if", "(", "(", "R600", "::", "R600_Reg128RegClass", ".", "contains", "(", "DestReg", ")", "||", "R600", "::", "R600_Reg128VerticalRegClass", ".", "contains", "(", "DestReg", ")", ")", "&&", "(", "R600", "::", "R600_Reg128RegClass", ".", "contains", "(", "SrcReg", ")", "||", "R600", "::", "R600_Reg128VerticalRegClass", ".", "contains", "(", "SrcReg", ")", ")", ")", "{", "VectorComponents", "=", "4", ";", "}", "else", "if", "(", "(", "R600", "::", "R600_Reg64RegClass", ".", "contains", "(", "DestReg", ")", "||", "R600", "::", "R600_Reg64VerticalRegClass", ".", "contains", "(", "DestReg", ")", ")", "&&", "(", "R600", "::", "R600_Reg64RegClass", ".", "contains", "(", "SrcReg", ")", "||", "R600", "::", "R600_Reg64VerticalRegClass", ".", "contains", "(", "SrcReg", ")", ")", ")", "{", "VectorComponents", "=", "2", ";", "}", "if", "(", "VectorComponents", ">", "0", ")", "{", "for", "(", "unsigned", "I", "=", "0", ";", "I", "<", "VectorComponents", ";", "I", "++", ")", "{", "unsigned", "SubRegIndex", "=", "AMDGPURegisterInfo", "::", "getSubRegFromChannel", "(", "I", ")", ";", "buildDefaultInstruction", "(", "MBB", ",", "MI", ",", "R600", "::", "MOV", ",", "RI", ".", "getSubReg", "(", "DestReg", ",", "SubRegIndex", ")", ",", "RI", ".", "getSubReg", "(", "SrcReg", ",", "SubRegIndex", ")", ")", ".", "addReg", "(", "DestReg", ",", "RegState", "::", "Define", "|", "RegState", "::", "Implicit", ")", ";", "}", "}", "else", "{", "MachineInstr", "*", "NewMI", "=", "buildDefaultInstruction", "(", "MBB", ",", "MI", ",", "R600", "::", "MOV", ",", "DestReg", ",", "SrcReg", ")", ";", "NewMI", "->", "getOperand", "(", "getOperandIdx", "(", "*", "NewMI", ",", "R600", "::", "OpName", "::", "src0", ")", ")", ".", "setIsKill", "(", "KillSrc", ")", ";", "}", "}", ""], "natrual_language": ["}", "Branch", "Analysis", "&", "Modification"], "TS_V_token": ["AMDGPU", "R600", "0", "R600::R600_Reg128RegClass", "R600::R600_Reg128VerticalRegClass", "R600::R600_Reg128RegClass", "R600::R600_Reg128VerticalRegClass", "4", "R600::R600_Reg64RegClass", "R600::R600_Reg64VerticalRegClass", "R600::R600_Reg64RegClass", "R600::R600_Reg64VerticalRegClass", "2", "0", "0", "AMDGPU", "R600::MOV", "R600::MOV", "R600::OpName"], "File": "R600InstrInfo12", "Func": "copyPhysReg", "Target": "AMDGPU", "Target_Clf": "GPU", "Compiler_Type": "LLVM", "Idx": 3072, "Length": 253, "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": ["Hexagon"], "File": "HexagonAsmParser", "Func": "isReg", "Target": "Hexagon", "Target_Clf": "DSP", "Compiler_Type": "LLVM", "Idx": 3073, "Length": 13, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "static", "bool", "aarch64_validate_march", "(", "const", "char", "*", "str", ",", "const", "struct", "processor", "*", "*", "res", ",", "unsigned", "long", "*", "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": "aarch646", "Func": "aarch64_validate_march", "Target": "aarch64", "Target_Clf": "CPU", "Compiler_Type": "GCC", "Idx": 3074, "Length": 120, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "SDNode", "*", "LC3bDagToDagISel", "::", "Select", "(", "SDNode", "*", "n", ")", "{", "return", "NULL", ";", "}", ""], "natrual_language": ["Main", "hook", "for", "targets", "to", "transform", "nodes", "into", "machine", "nodes", "."], "TS_V_token": ["LC3b", "LC3b"], "File": "LC3bDagToDagISel", "Func": "Select", "Target": "LC3b", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 3075, "Length": 15, "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": 3076, "Length": 55, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "StringRef", "getPassName", "(", ")", "const", "override", "{", "return", "\"Lower pointer arguments of CUDA kernels\"", ";", "}", ""], "natrual_language": ["getPassName", "-", "Return", "a", "nice", "clean", "name", "for", "a", "pass", "."], "TS_V_token": ["NVPTX", "\"Lower pointer arguments of CUDA kernels\""], "File": "NVPTXLowerArgs (2)", "Func": "getPassName", "Target": "NVPTX", "Target_Clf": "GPU", "Compiler_Type": "LLVM", "Idx": 3077, "Length": 11, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "static", "void", "write_fn_marker", "(", "std", "::", "stringstream", "&", "s", ",", "bool", "is_defn", ",", "bool", "globalize", ",", "const", "char", "*", "name", ")", "{", "s", "<<", "\"\\n// BEGIN\"", ";", "if", "(", "globalize", ")", "s", "<<", "\" GLOBAL\"", ";", "s", "<<", "\" FUNCTION \"", "<<", "(", "is_defn", "?", "\"DEF: \"", ":", "\"DECL: \"", ")", ";", "s", "<<", "name", "<<", "\"\\n\"", ";", "}", ""], "natrual_language": ["Emit", "a", "linker", "marker", "for", "a", "function", "decl", "or", "defn", "."], "TS_V_token": ["nvptx", "\"\\n// BEGIN\"", "\" GLOBAL\"", "\" FUNCTION \"", "\"DEF: \"", "\"DECL: \"", "\"\\n\""], "File": "nvptx", "Func": "write_fn_marker", "Target": "nvptx", "Target_Clf": "GPU", "Compiler_Type": "GCC", "Idx": 3078, "Length": 53, "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": ["powerpcspe", "\"\\nrs6000_address_cost, return = %d, speed = %s, x:\\n\"", "\"true\"", "\"false\""], "File": "powerpcspe", "Func": "rs6000_debug_address_cost", "Target": "powerpcspe", "Target_Clf": "CPU", "Compiler_Type": "GCC", "Idx": 3079, "Length": 55, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "MachineInstr", "*", "GBZ80InstrInfo", "::", "commuteInstructionImpl", "(", "MachineInstr", "&", "MI", ",", "bool", "NewMI", ",", "unsigned", "OpIdx1", ",", "unsigned", "OpIdx2", ")", "const", "{", "MachineRegisterInfo", "&", "MRI", "=", "MI", ".", "getParent", "(", ")", "->", "getParent", "(", ")", "->", "getRegInfo", "(", ")", ";", "if", "(", "MRI", ".", "getRegClass", "(", "MI", ".", "getOperand", "(", "OpIdx2", ")", ".", "getReg", "(", ")", ")", "->", "hasSuperClassEq", "(", "&", "GB", "::", "R8RegClass", ")", ")", "{", "if", "(", "!", "safeToCommute", "(", "MI", ",", "OpIdx1", ",", "OpIdx2", ")", ")", "return", "nullptr", ";", "}", "return", "TargetInstrInfo", "::", "commuteInstructionImpl", "(", "MI", ",", "NewMI", ",", "OpIdx1", ",", "OpIdx2", ")", ";", "}", ""], "natrual_language": ["Commutes", "the", "operands", "in", "the", "given", "instruction", "by", "changing", "the", "operands", "order", "and/or", "changing", "the", "instruction", "'s", "opcode", "and/or", "the", "immediate", "value", "operand", "."], "TS_V_token": ["GBZ80", "GB", "GB::R8RegClass"], "File": "GBZ80InstrInfo", "Func": "commuteInstructionImpl", "Target": "GBZ80", "Target_Clf": "MPU", "Compiler_Type": "LLVM", "Idx": 3080, "Length": 97, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "void", "GCNIterativeScheduler", "::", "schedule", "(", ")", "{", "DEBUG", "(", "printLivenessInfo", "(", "dbgs", "(", ")", ",", "RegionBegin", ",", "RegionEnd", ",", "LIS", ")", ";", "if", "(", "!", "Regions", ".", "empty", "(", ")", "&&", "Regions", ".", "back", "(", ")", "->", "Begin", "==", "RegionBegin", ")", "{", "dbgs", "(", ")", "<<", "\"Max RP: \"", ";", "Regions", ".", "back", "(", ")", "->", "MaxPressure", ".", "print", "(", "dbgs", "(", ")", ",", "&", "MF", ".", "getSubtarget", "<", "SISubtarget", ">", "(", ")", ")", ";", "}", "dbgs", "(", ")", "<<", "'\\n'", ";", ")", ";", "}", ""], "natrual_language": ["Schedule", "-", "This", "is", "called", "back", "from", "ScheduleDAGInstrs", ":", ":Run", "(", ")", "when", "it", "'s", "time", "to", "do", "some", "work", "."], "TS_V_token": ["AMDGPU", "\"Max RP: \"", "SI"], "File": "GCNIterativeScheduler (2)", "Func": "schedule", "Target": "AMDGPU", "Target_Clf": "GPU", "Compiler_Type": "LLVM", "Idx": 3081, "Length": 83, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "static", "bool", "mn10300_legitimate_address_p", "(", "machine_mode", "mode", ",", "rtx", "x", ",", "bool", "strict", ")", "{", "rtx", "base", ",", "index", ";", "if", "(", "CONSTANT_ADDRESS_P", "(", "x", ")", ")", "return", "!", "flag_pic", "||", "mn10300_legitimate_pic_operand_p", "(", "x", ")", ";", "if", "(", "RTX_OK_FOR_BASE_P", "(", "x", ",", "strict", ")", ")", "return", "true", ";", "if", "(", "TARGET_AM33", "&&", "(", "mode", "==", "SImode", "||", "mode", "==", "SFmode", "||", "mode", "==", "HImode", ")", ")", "{", "if", "(", "GET_CODE", "(", "x", ")", "==", "POST_INC", ")", "return", "RTX_OK_FOR_BASE_P", "(", "XEXP", "(", "x", ",", "0", ")", ",", "strict", ")", ";", "if", "(", "GET_CODE", "(", "x", ")", "==", "POST_MODIFY", ")", "return", "(", "RTX_OK_FOR_BASE_P", "(", "XEXP", "(", "x", ",", "0", ")", ",", "strict", ")", "&&", "CONSTANT_ADDRESS_P", "(", "XEXP", "(", "x", ",", "1", ")", ")", ")", ";", "}", "if", "(", "GET_CODE", "(", "x", ")", "!=", "PLUS", ")", "return", "false", ";", "base", "=", "XEXP", "(", "x", ",", "0", ")", ";", "index", "=", "XEXP", "(", "x", ",", "1", ")", ";", "if", "(", "!", "REG_P", "(", "base", ")", ")", "return", "false", ";", "if", "(", "REG_P", "(", "index", ")", ")", "{", "if", "(", "!", "TARGET_AM33", ")", "return", "false", ";", "return", "(", "REGNO_GENERAL_P", "(", "REGNO", "(", "base", ")", ",", "strict", ")", "&&", "REGNO_GENERAL_P", "(", "REGNO", "(", "index", ")", ",", "strict", ")", ")", ";", "}", "if", "(", "!", "REGNO_STRICT_OK_FOR_BASE_P", "(", "REGNO", "(", "base", ")", ",", "strict", ")", ")", "return", "false", ";", "if", "(", "CONST_INT_P", "(", "index", ")", ")", "return", "IN_RANGE", "(", "INTVAL", "(", "index", ")", ",", "-", "1", "-", "0x7fffffff", ",", "0x7fffffff", ")", ";", "if", "(", "CONSTANT_ADDRESS_P", "(", "index", ")", ")", "return", "!", "flag_pic", "||", "mn10300_legitimate_pic_operand_p", "(", "index", ")", ";", "return", "false", ";", "}", ""], "natrual_language": ["Return", "TRUE", "if", "the", "address", "X", ",", "taken", "from", "a", "(", "MEM", ":", "MODE", "X", ")", "rtx", ",", "is", "legitimate", ",", "and", "FALSE", "otherwise", ".", "On", "the", "mn10300", ",", "the", "value", "in", "the", "address", "register", "must", "be", "in", "the", "same", "memory", "space/segment", "as", "the", "effective", "address", ".", "This", "is", "problematical", "for", "reload", "since", "it", "does", "not", "understand", "that", "base+index", "!", "=", "index+base", "in", "a", "memory", "reference", ".", "Note", "it", "is", "still", "possible", "to", "use", "reg+reg", "addressing", "modes", ",", "it", "'s", "just", "much", "more", "difficult", ".", "For", "a", "discussion", "of", "a", "possible", "workaround", "and", "solution", ",", "see", "the", "comments", "in", "pa.cc", "before", "the", "function", "record_unscaled_index_insn_codes", "."], "TS_V_token": ["mn10300", "0", "0", "1", "0", "1", "1", "0x7fffffff", "0x7fffffff"], "File": "mn10300", "Func": "mn10300_legitimate_address_p", "Target": "mn10300", "Target_Clf": "MPU", "Compiler_Type": "GCC", "Idx": 3082, "Length": 263, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "ScheduleHazardRecognizer", "::", "HazardType", "SPUHazardRecognizer", "::", "getHazardType", "(", "SUnit", "*", "SU", ",", "int", "Stalls", ")", "{", "assert", "(", "Stalls", "==", "0", "&&", "\"SPU hazards don't yet support scoreboard lookahead\"", ")", ";", "const", "SDNode", "*", "Node", "=", "SU", "->", "getNode", "(", ")", "->", "getFlaggedMachineNode", "(", ")", ";", "ScheduleHazardRecognizer", "::", "HazardType", "retval", "=", "NoHazard", ";", "bool", "mustBeOdd", "=", "false", ";", "switch", "(", "Node", "->", "getOpcode", "(", ")", ")", "{", "case", "SPU", "::", "LQDv16i8", ":", "case", "SPU", "::", "LQDv8i16", ":", "case", "SPU", "::", "LQDv4i32", ":", "case", "SPU", "::", "LQDv4f32", ":", "case", "SPU", "::", "LQDv2f64", ":", "case", "SPU", "::", "LQDr128", ":", "case", "SPU", "::", "LQDr64", ":", "case", "SPU", "::", "LQDr32", ":", "case", "SPU", "::", "LQDr16", ":", "case", "SPU", "::", "LQAv16i8", ":", "case", "SPU", "::", "LQAv8i16", ":", "case", "SPU", "::", "LQAv4i32", ":", "case", "SPU", "::", "LQAv4f32", ":", "case", "SPU", "::", "LQAv2f64", ":", "case", "SPU", "::", "LQAr128", ":", "case", "SPU", "::", "LQAr64", ":", "case", "SPU", "::", "LQAr32", ":", "case", "SPU", "::", "LQXv4i32", ":", "case", "SPU", "::", "LQXr128", ":", "case", "SPU", "::", "LQXr64", ":", "case", "SPU", "::", "LQXr32", ":", "case", "SPU", "::", "LQXr16", ":", "case", "SPU", "::", "STQDv16i8", ":", "case", "SPU", "::", "STQDv8i16", ":", "case", "SPU", "::", "STQDv4i32", ":", "case", "SPU", "::", "STQDv4f32", ":", "case", "SPU", "::", "STQDv2f64", ":", "case", "SPU", "::", "STQDr128", ":", "case", "SPU", "::", "STQDr64", ":", "case", "SPU", "::", "STQDr32", ":", "case", "SPU", "::", "STQDr16", ":", "case", "SPU", "::", "STQDr8", ":", "case", "SPU", "::", "STQAv16i8", ":", "case", "SPU", "::", "STQAv8i16", ":", "case", "SPU", "::", "STQAv4i32", ":", "case", "SPU", "::", "STQAv4f32", ":", "case", "SPU", "::", "STQAv2f64", ":", "case", "SPU", "::", "STQAr128", ":", "case", "SPU", "::", "STQAr64", ":", "case", "SPU", "::", "STQAr32", ":", "case", "SPU", "::", "STQAr16", ":", "case", "SPU", "::", "STQAr8", ":", "case", "SPU", "::", "STQXv16i8", ":", "case", "SPU", "::", "STQXv8i16", ":", "case", "SPU", "::", "STQXv4i32", ":", "case", "SPU", "::", "STQXv4f32", ":", "case", "SPU", "::", "STQXv2f64", ":", "case", "SPU", "::", "STQXr128", ":", "case", "SPU", "::", "STQXr64", ":", "case", "SPU", "::", "STQXr32", ":", "case", "SPU", "::", "STQXr16", ":", "case", "SPU", "::", "STQXr8", ":", "case", "SPU", "::", "RET", ":", "mustBeOdd", "=", "true", ";", "break", ";", "default", ":", "break", ";", "}", "if", "(", "mustBeOdd", "&&", "!", "EvenOdd", ")", "retval", "=", "Hazard", ";", "DEBUG", "(", "errs", "(", ")", "<<", "\"SPUHazardRecognizer EvenOdd \"", "<<", "EvenOdd", "<<", "\" Hazard \"", "<<", "retval", "<<", "\"\\n\"", ")", ";", "EvenOdd", "^=", "1", ";", "return", "retval", ";", "return", "NoHazard", ";", "}", ""], "natrual_language": ["getHazardType", "-", "Return", "the", "hazard", "type", "of", "emitting", "this", "node", "."], "TS_V_token": ["CellSPU", "SPU", "0", "\"SPU hazards don't yet support scoreboard lookahead\"", "SPU::LQDv16i8", "SPU::LQDv8i16", "SPU::LQDv4i32", "SPU::LQDv4f32", "SPU::LQDv2f64", "SPU::LQDr128", "SPU::LQDr64", "SPU::LQDr32", "SPU::LQDr16", "SPU::LQAv16i8", "SPU::LQAv8i16", "SPU::LQAv4i32", "SPU::LQAv4f32", "SPU::LQAv2f64", "SPU::LQAr128", "SPU::LQAr64", "SPU::LQAr32", "SPU::LQXv4i32", "SPU::LQXr128", "SPU::LQXr64", "SPU::LQXr32", "SPU::LQXr16", "SPU::STQDv16i8", "SPU::STQDv8i16", "SPU::STQDv4i32", "SPU::STQDv4f32", "SPU::STQDv2f64", "SPU::STQDr128", "SPU::STQDr64", "SPU::STQDr32", "SPU::STQDr16", "SPU::STQDr8", "SPU::STQAv16i8", "SPU::STQAv8i16", "SPU::STQAv4i32", "SPU::STQAv4f32", "SPU::STQAv2f64", "SPU::STQAr128", "SPU::STQAr64", "SPU::STQAr32", "SPU::STQAr16", "SPU::STQAr8", "SPU::STQXv16i8", "SPU::STQXv8i16", "SPU::STQXv4i32", "SPU::STQXv4f32", "SPU::STQXv2f64", "SPU::STQXr128", "SPU::STQXr64", "SPU::STQXr32", "SPU::STQXr16", "SPU::STQXr8", "SPU::RET", "\"SPUHazardRecognizer EvenOdd \"", "\" Hazard \"", "\"\\n\"", "1"], "File": "SPUHazardRecognizers4", "Func": "getHazardType", "Target": "CellSPU", "Target_Clf": "MPU", "Compiler_Type": "LLVM", "Idx": 3083, "Length": 375, "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": 3084, "Length": 22, "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": 3085, "Length": 337, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "void", "Z80FrameLowering", "::", "emitEpilogue", "(", "MachineFunction", "&", "MF", ",", "MachineBasicBlock", "&", "MBB", ")", "const", "{", "}", ""], "natrual_language": ["Insert", "epilog", "code", "into", "the", "function", "."], "TS_V_token": ["Z80", "Z80"], "File": "Z80FrameLowering1", "Func": "emitEpilogue", "Target": "Z80", "Target_Clf": "MPU", "Compiler_Type": "LLVM", "Idx": 3086, "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": 3087, "Length": 507, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "static", "void", "tilegx_file_end", "(", "void", ")", "{", "if", "(", "NEED_INDICATE_EXEC_STACK", ")", "file_end_indicate_exec_stack", "(", ")", ";", "}", ""], "natrual_language": ["Implement", "TARGET_ASM_FILE_END", "."], "TS_V_token": ["tilegx"], "File": "tilegx", "Func": "tilegx_file_end", "Target": "tilegx", "Target_Clf": "VLIW", "Compiler_Type": "GCC", "Idx": 3088, "Length": 16, "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": 3089, "Length": 14, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "bool", "addInstSelector", "(", ")", "{", "addPass", "(", "createLC3bISelDag", "(", "getLC3bTargetMachine", "(", ")", ",", "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": ["LC3b", "LC3b", "LC3b"], "File": "LC3bTargetMachine", "Func": "addInstSelector", "Target": "LC3b", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 3090, "Length": 23, "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": 3091, "Length": 162, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "struct", "rtx_def", "*", "m68hc11_function_arg", "(", "const", "CUMULATIVE_ARGS", "*", "cum", ",", "enum", "machine_mode", "mode", ",", "tree", "type", "ATTRIBUTE_UNUSED", ",", "int", "named", "ATTRIBUTE_UNUSED", ")", "{", "if", "(", "cum", "->", "words", "!=", "0", ")", "{", "return", "NULL_RTX", ";", "}", "if", "(", "mode", "!=", "BLKmode", ")", "{", "if", "(", "GET_MODE_SIZE", "(", "mode", ")", "==", "2", "*", "HARD_REG_SIZE", ")", "return", "gen_rtx_REG", "(", "mode", ",", "HARD_X_REGNUM", ")", ";", "if", "(", "GET_MODE_SIZE", "(", "mode", ")", ">", "HARD_REG_SIZE", ")", "{", "return", "NULL_RTX", ";", "}", "return", "gen_rtx_REG", "(", "mode", ",", "HARD_D_REGNUM", ")", ";", "}", "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": ["m68hc11", "0", "2"], "File": "m68hc111", "Func": "m68hc11_function_arg", "Target": "m68hc11", "Target_Clf": "MPU", "Compiler_Type": "GCC", "Idx": 3092, "Length": 89, "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": 3093, "Length": 130, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "bool", "enableInterleavedAccessVectorization", "(", ")", "{", "return", "true", ";", "}", ""], "natrual_language": ["Enable", "matching", "of", "interleaved", "access", "groups", "."], "TS_V_token": ["Hexagon"], "File": "HexagonTargetTransformInfo1", "Func": "enableInterleavedAccessVectorization", "Target": "Hexagon", "Target_Clf": "DSP", "Compiler_Type": "LLVM", "Idx": 3094, "Length": 9, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "static", "bool", "arc_process_double_reg_moves", "(", "rtx", "*", "operands", ")", "{", "enum", "usesDxState", "{", "none", ",", "srcDx", ",", "destDx", ",", "maxDx", "}", ";", "enum", "usesDxState", "state", "=", "none", ";", "rtx", "dest", "=", "operands", "[", "0", "]", ";", "rtx", "src", "=", "operands", "[", "1", "]", ";", "if", "(", "refers_to_regno_p", "(", "40", ",", "44", ",", "src", ",", "0", ")", ")", "{", "state", "=", "srcDx", ";", "gcc_assert", "(", "REG_P", "(", "dest", ")", ")", ";", "}", "if", "(", "refers_to_regno_p", "(", "40", ",", "44", ",", "dest", ",", "0", ")", ")", "{", "gcc_assert", "(", "REG_P", "(", "src", ")", ")", ";", "gcc_assert", "(", "state", "==", "none", ")", ";", "state", "=", "destDx", ";", "}", "if", "(", "state", "==", "none", ")", "return", "false", ";", "if", "(", "state", "==", "srcDx", ")", "{", "if", "(", "TARGET_DPFP_DISABLE_LRSR", ")", "{", "rtx", "set", "=", "gen_rtx_SET", "(", "dest", ",", "src", ")", ";", "rtx", "use1", "=", "gen_rtx_USE", "(", "VOIDmode", ",", "const1_rtx", ")", ";", "emit_insn", "(", "gen_rtx_PARALLEL", "(", "VOIDmode", ",", "gen_rtvec", "(", "2", ",", "set", ",", "use1", ")", ")", ")", ";", "}", "else", "{", "rtx", "destHigh", "=", "simplify_gen_subreg", "(", "SImode", ",", "dest", ",", "DFmode", ",", "TARGET_BIG_ENDIAN", "?", "0", ":", "4", ")", ";", "rtx", "destLow", "=", "simplify_gen_subreg", "(", "SImode", ",", "dest", ",", "DFmode", ",", "TARGET_BIG_ENDIAN", "?", "4", ":", "0", ")", ";", "emit_insn", "(", "gen_rtx_SET", "(", "destHigh", ",", "gen_rtx_UNSPEC_VOLATILE", "(", "Pmode", ",", "gen_rtvec", "(", "1", ",", "src", ")", ",", "VUNSPEC_ARC_LR_HIGH", ")", ")", ")", ";", "emit_insn", "(", "gen_rtx_SET", "(", "destLow", ",", "gen_rtx_UNSPEC_VOLATILE", "(", "Pmode", ",", "gen_rtvec", "(", "1", ",", "src", ")", ",", "VUNSPEC_ARC_LR", ")", ")", ")", ";", "}", "}", "else", "if", "(", "state", "==", "destDx", ")", "{", "rtx", "srcHigh", "=", "simplify_gen_subreg", "(", "SImode", ",", "src", ",", "DFmode", ",", "TARGET_BIG_ENDIAN", "?", "0", ":", "4", ")", ";", "rtx", "srcLow", "=", "simplify_gen_subreg", "(", "SImode", ",", "src", ",", "DFmode", ",", "TARGET_BIG_ENDIAN", "?", "4", ":", "0", ")", ";", "emit_insn", "(", "gen_dexcl_2op", "(", "dest", ",", "srcHigh", ",", "srcLow", ")", ")", ";", "}", "else", "gcc_unreachable", "(", ")", ";", "return", "true", ";", "}", ""], "natrual_language": ["Handle", "DOUBLE_REGS", "uses", ".", "Operand", "0", ":", "destination", "register", "Operand", "1", ":", "source", "register"], "TS_V_token": ["arc", "0", "1", "40", "44", "0", "40", "44", "0", "2", "0", "4", "4", "0", "1", "1", "0", "4", "4", "0"], "File": "arc", "Func": "arc_process_double_reg_moves", "Target": "arc", "Target_Clf": "MPU", "Compiler_Type": "GCC", "Idx": 3095, "Length": 313, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "int", "compute_logical_op_cc", "(", "machine_mode", "mode", ",", "rtx", "*", "operands", ")", "{", "enum", "rtx_code", "code", "=", "GET_CODE", "(", "operands", "[", "3", "]", ")", ";", "const", "unsigned", "HOST_WIDE_INT", "intval", "=", "(", "unsigned", "HOST_WIDE_INT", ")", "(", "(", "GET_CODE", "(", "operands", "[", "2", "]", ")", "==", "CONST_INT", ")", "&&", "register_operand", "(", "operands", "[", "1", "]", ",", "VOIDmode", ")", "?", "INTVAL", "(", "operands", "[", "2", "]", ")", ":", "0x55555555", ")", ";", "const", "unsigned", "HOST_WIDE_INT", "det", "=", "(", "code", "!=", "AND", ")", "?", "intval", ":", "~", "intval", ";", "const", "unsigned", "HOST_WIDE_INT", "b0", "=", "(", "det", ">>", "0", ")", "&", "0xff", ";", "const", "unsigned", "HOST_WIDE_INT", "b1", "=", "(", "det", ">>", "8", ")", "&", "0xff", ";", "const", "unsigned", "HOST_WIDE_INT", "w0", "=", "(", "det", ">>", "0", ")", "&", "0xffff", ";", "const", "unsigned", "HOST_WIDE_INT", "w1", "=", "(", "det", ">>", "16", ")", "&", "0xffff", ";", "int", "lower_half_easy_p", "=", "0", ";", "int", "upper_half_easy_p", "=", "0", ";", "enum", "attr_old_cc", "cc", "=", "OLD_CC_CLOBBER", ";", "switch", "(", "mode", ")", "{", "case", "E_HImode", ":", "if", "(", "b0", "!=", "0", "&&", "b1", "!=", "0", ")", "{", "cc", "=", "OLD_CC_SET_ZNV", ";", "}", "break", ";", "case", "E_SImode", ":", "lower_half_easy_p", "=", "(", "b0", "==", "0", "||", "b1", "==", "0", "||", "(", "code", "!=", "IOR", "&&", "w0", "==", "0xffff", ")", ")", ";", "upper_half_easy_p", "=", "(", "(", "code", "!=", "IOR", "&&", "w1", "==", "0xffff", ")", "||", "(", "code", "==", "AND", "&&", "w1", "==", "0xff00", ")", ")", ";", "if", "(", "w0", "!=", "0", "&&", "w1", "!=", "0", "&&", "!", "(", "lower_half_easy_p", "&&", "upper_half_easy_p", ")", "&&", "!", "(", "code", "==", "IOR", "&&", "w1", "==", "0xffff", "&&", "(", "w0", "&", "0x8000", ")", "!=", "0", "&&", "lower_half_easy_p", ")", ")", "{", "cc", "=", "OLD_CC_SET_ZNV", ";", "}", "else", "{", "if", "(", "code", "==", "IOR", "&&", "w1", "==", "0xffff", "&&", "(", "w0", "&", "0x8000", ")", "!=", "0", ")", "{", "cc", "=", "OLD_CC_SET_ZNV", ";", "}", "}", "break", ";", "default", ":", "gcc_unreachable", "(", ")", ";", "}", "return", "cc", ";", "}", ""], "natrual_language": ["Compute", "which", "flag", "bits", "are", "valid", "after", "a", "logical", "insn", "."], "TS_V_token": ["h8300", "3", "2", "1", "2", "0x55555555", "0", "0xff", "8", "0xff", "0", "0xffff", "16", "0xffff", "0", "0", "0", "0", "0", "0", "0xffff", "0xffff", "0xff00", "0", "0", "0xffff", "0x8000", "0", "0xffff", "0x8000", "0"], "File": "h83001", "Func": "compute_logical_op_cc", "Target": "h8300", "Target_Clf": "MPU", "Compiler_Type": "GCC", "Idx": 3096, "Length": 309, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "const", "MCPhysReg", "*", "MSP430RegisterInfo", "::", "getCalleeSavedRegs", "(", "const", "MachineFunction", "*", "MF", ")", "const", "{", "const", "MSP430FrameLowering", "*", "TFI", "=", "getFrameLowering", "(", "*", "MF", ")", ";", "const", "Function", "*", "F", "=", "&", "MF", "->", "getFunction", "(", ")", ";", "static", "const", "MCPhysReg", "CalleeSavedRegs", "[", "]", "=", "{", "MSP430", "::", "R4", ",", "MSP430", "::", "R5", ",", "MSP430", "::", "R6", ",", "MSP430", "::", "R7", ",", "MSP430", "::", "R8", ",", "MSP430", "::", "R9", ",", "MSP430", "::", "R10", ",", "0", "}", ";", "static", "const", "MCPhysReg", "CalleeSavedRegsFP", "[", "]", "=", "{", "MSP430", "::", "R5", ",", "MSP430", "::", "R6", ",", "MSP430", "::", "R7", ",", "MSP430", "::", "R8", ",", "MSP430", "::", "R9", ",", "MSP430", "::", "R10", ",", "0", "}", ";", "static", "const", "MCPhysReg", "CalleeSavedRegsIntr", "[", "]", "=", "{", "MSP430", "::", "R4", ",", "MSP430", "::", "R5", ",", "MSP430", "::", "R6", ",", "MSP430", "::", "R7", ",", "MSP430", "::", "R8", ",", "MSP430", "::", "R9", ",", "MSP430", "::", "R10", ",", "MSP430", "::", "R11", ",", "MSP430", "::", "R12", ",", "MSP430", "::", "R13", ",", "MSP430", "::", "R14", ",", "MSP430", "::", "R15", ",", "0", "}", ";", "static", "const", "MCPhysReg", "CalleeSavedRegsIntrFP", "[", "]", "=", "{", "MSP430", "::", "R5", ",", "MSP430", "::", "R6", ",", "MSP430", "::", "R7", ",", "MSP430", "::", "R8", ",", "MSP430", "::", "R9", ",", "MSP430", "::", "R10", ",", "MSP430", "::", "R11", ",", "MSP430", "::", "R12", ",", "MSP430", "::", "R13", ",", "MSP430", "::", "R14", ",", "MSP430", "::", "R15", ",", "0", "}", ";", "if", "(", "TFI", "->", "hasFP", "(", "*", "MF", ")", ")", "return", "(", "F", "->", "getCallingConv", "(", ")", "==", "CallingConv", "::", "MSP430_INTR", "?", "CalleeSavedRegsIntrFP", ":", "CalleeSavedRegsFP", ")", ";", "else", "return", "(", "F", "->", "getCallingConv", "(", ")", "==", "CallingConv", "::", "MSP430_INTR", "?", "CalleeSavedRegsIntr", ":", "CalleeSavedRegs", ")", ";", "}", ""], "natrual_language": ["Code", "Generation", "virtual", "methods", "..."], "TS_V_token": ["MSP430", "MSP430", "MSP430", "MSP430::R4", "MSP430::R5", "MSP430::R6", "MSP430::R7", "MSP430::R8", "MSP430::R9", "MSP430::R10", "0", "MSP430::R5", "MSP430::R6", "MSP430::R7", "MSP430::R8", "MSP430::R9", "MSP430::R10", "0", "MSP430::R4", "MSP430::R5", "MSP430::R6", "MSP430::R7", "MSP430::R8", "MSP430::R9", "MSP430::R10", "MSP430::R11", "MSP430::R12", "MSP430::R13", "MSP430::R14", "MSP430::R15", "0", "MSP430::R5", "MSP430::R6", "MSP430::R7", "MSP430::R8", "MSP430::R9", "MSP430::R10", "MSP430::R11", "MSP430::R12", "MSP430::R13", "MSP430::R14", "MSP430::R15", "0", "MSP430", "MSP430"], "File": "MSP430RegisterInfo20", "Func": "getCalleeSavedRegs", "Target": "MSP430", "Target_Clf": "MPU", "Compiler_Type": "LLVM", "Idx": 3097, "Length": 271, "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": 3098, "Length": 36, "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": 3099, "Length": 17, "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": 3100, "Length": 36, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "bool", "SIInsertWaits", "::", "runOnMachineFunction", "(", "MachineFunction", "&", "MF", ")", "{", "bool", "Changes", "=", "false", ";", "ST", "=", "&", "MF", ".", "getSubtarget", "<", "SISubtarget", ">", "(", ")", ";", "TII", "=", "ST", "->", "getInstrInfo", "(", ")", ";", "TRI", "=", "&", "TII", "->", "getRegisterInfo", "(", ")", ";", "MRI", "=", "&", "MF", ".", "getRegInfo", "(", ")", ";", "WaitedOn", "=", "ZeroCounts", ";", "DelayedWaitOn", "=", "ZeroCounts", ";", "LastIssued", "=", "ZeroCounts", ";", "LastOpcodeType", "=", "OTHER", ";", "LastInstWritesM0", "=", "false", ";", "ReturnsVoid", "=", "MF", ".", "getInfo", "<", "SIMachineFunctionInfo", ">", "(", ")", "->", "returnsVoid", "(", ")", ";", "memset", "(", "&", "UsedRegs", ",", "0", ",", "sizeof", "(", "UsedRegs", ")", ")", ";", "memset", "(", "&", "DefinedRegs", ",", "0", ",", "sizeof", "(", "DefinedRegs", ")", ")", ";", "SmallVector", "<", "MachineInstr", "*", ",", "4", ">", "RemoveMI", ";", "for", "(", "MachineFunction", "::", "iterator", "BI", "=", "MF", ".", "begin", "(", ")", ",", "BE", "=", "MF", ".", "end", "(", ")", ";", "BI", "!=", "BE", ";", "++", "BI", ")", "{", "MachineBasicBlock", "&", "MBB", "=", "*", "BI", ";", "for", "(", "MachineBasicBlock", "::", "iterator", "I", "=", "MBB", ".", "begin", "(", ")", ",", "E", "=", "MBB", ".", "end", "(", ")", ";", "I", "!=", "E", ";", "++", "I", ")", "{", "if", "(", "ST", "->", "getGeneration", "(", ")", "<=", "SISubtarget", "::", "SEA_ISLANDS", ")", "{", "if", "(", "TII", "->", "isSMRD", "(", "I", "->", "getOpcode", "(", ")", ")", ")", "{", "VCCZCorrupt", "=", "true", ";", "}", "else", "if", "(", "!", "hasOutstandingLGKM", "(", ")", "&&", "I", "->", "modifiesRegister", "(", "AMDGPU", "::", "VCC", ",", "TRI", ")", ")", "{", "VCCZCorrupt", "=", "false", ";", "}", "if", "(", "readsVCCZ", "(", "I", "->", "getOpcode", "(", ")", ")", "&&", "VCCZCorrupt", ")", "{", "DEBUG", "(", "dbgs", "(", ")", "<<", "\"Inserting vccz bug work-around before: \"", "<<", "*", "I", "<<", "'\\n'", ")", ";", "insertWait", "(", "MBB", ",", "I", ",", "LastIssued", ")", ";", "BuildMI", "(", "MBB", ",", "I", ",", "I", "->", "getDebugLoc", "(", ")", ",", "TII", "->", "get", "(", "AMDGPU", "::", "S_MOV_B64", ")", ",", "AMDGPU", "::", "VCC", ")", ".", "addReg", "(", "AMDGPU", "::", "VCC", ")", ";", "}", "}", "if", "(", "I", "->", "getOpcode", "(", ")", "==", "AMDGPU", "::", "S_WAITCNT", ")", "{", "handleExistingWait", "(", "*", "I", ")", ";", "RemoveMI", ".", "push_back", "(", "&", "*", "I", ")", ";", "continue", ";", "}", "Counters", "Required", ";", "if", "(", "I", "->", "getOpcode", "(", ")", "==", "AMDGPU", "::", "S_BARRIER", "||", "I", "->", "getOpcode", "(", ")", "==", "AMDGPU", "::", "S_SENDMSG", ")", "Required", "=", "LastIssued", ";", "else", "Required", "=", "handleOperands", "(", "*", "I", ")", ";", "Counters", "Increment", "=", "getHwCounts", "(", "*", "I", ")", ";", "if", "(", "countersNonZero", "(", "Required", ")", "||", "countersNonZero", "(", "Increment", ")", ")", "increaseCounters", "(", "Required", ",", "DelayedWaitOn", ")", ";", "Changes", "|=", "insertWait", "(", "MBB", ",", "I", ",", "Required", ")", ";", "pushInstruction", "(", "MBB", ",", "I", ",", "Increment", ")", ";", "handleSendMsg", "(", "MBB", ",", "I", ")", ";", "}", "Changes", "|=", "insertWait", "(", "MBB", ",", "MBB", ".", "getFirstTerminator", "(", ")", ",", "LastIssued", ")", ";", "}", "for", "(", "MachineInstr", "*", "I", ":", "RemoveMI", ")", "I", "->", "eraseFromParent", "(", ")", ";", "return", "Changes", ";", "}", ""], "natrual_language": ["runOnMachineFunction", "-", "Emit", "the", "function", "body", "."], "TS_V_token": ["AMDGPU", "SI", "SI", "SI", "0", "0", "4", "SI", "AMDGPU::VCC", "\"Inserting vccz bug work-around before: \"", "AMDGPU::S_MOV_B64", "AMDGPU::VCC", "AMDGPU::VCC", "AMDGPU::S_WAITCNT", "AMDGPU::S_BARRIER", "AMDGPU::S_SENDMSG"], "File": "SIInsertWaits4", "Func": "runOnMachineFunction", "Target": "AMDGPU", "Target_Clf": "GPU", "Compiler_Type": "LLVM", "Idx": 3101, "Length": 476, "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": 3102, "Length": 16, "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": 3103, "Length": 137, "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": 3104, "Length": 366, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "void", "WebAssemblyTargetAsmStreamer", "::", "emitGlobalType", "(", "const", "MCSymbolWasm", "*", "Sym", ")", "{", "assert", "(", "Sym", "->", "isGlobal", "(", ")", ")", ";", "OS", "<<", "\"\\t.globaltype\\t\"", "<<", "Sym", "->", "getName", "(", ")", "<<", "\", \"", "<<", "WebAssembly", "::", "typeToString", "(", "static_cast", "<", "wasm", "::", "ValType", ">", "(", "Sym", "->", "getGlobalType", "(", ")", ".", "Type", ")", ")", "<<", "'\\n'", ";", "}", ""], "natrual_language": [".globaltype"], "TS_V_token": ["WebAssembly", "WebAssembly", "\"\\t.globaltype\\t\"", "\", \"", "WebAssembly::typeToString", "wasm::ValType"], "File": "WebAssemblyTargetStreamer", "Func": "emitGlobalType", "Target": "WebAssembly", "Target_Clf": "Virtual ISA", "Compiler_Type": "LLVM", "Idx": 3105, "Length": 56, "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": 3106, "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", ")", ";", "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": 3107, "Length": 412, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "void", "Nios2FrameLowering", "::", "emitPrologue", "(", "MachineFunction", "&", "MF", ",", "MachineBasicBlock", "&", "MBB", ")", "const", "{", "}", ""], "natrual_language": ["emitProlog/emitEpilog", "-", "These", "methods", "insert", "prolog", "and", "epilog", "code", "into", "the", "function", "."], "TS_V_token": ["Nios2", "Nios2"], "File": "Nios2FrameLowering", "Func": "emitPrologue", "Target": "Nios2", "Target_Clf": "MPU", "Compiler_Type": "LLVM", "Idx": 3108, "Length": 16, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "void", "BPFFrameLowering", "::", "emitPrologue", "(", "MachineFunction", "&", "MF", ")", "const", "{", "}", ""], "natrual_language": ["emitProlog/emitEpilog", "-", "These", "methods", "insert", "prolog", "and", "epilog", "code", "into", "the", "function", "."], "TS_V_token": ["BPF", "BPF"], "File": "BPFFrameLowering6", "Func": "emitPrologue", "Target": "BPF", "Target_Clf": "Virtual ISA", "Compiler_Type": "LLVM", "Idx": 3109, "Length": 12, "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": 3110, "Length": 12, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "bool", "R600VectorRegMerger", "::", "runOnMachineFunction", "(", "MachineFunction", "&", "Fn", ")", "{", "if", "(", "skipFunction", "(", "Fn", ".", "getFunction", "(", ")", ")", ")", "return", "false", ";", "const", "R600Subtarget", "&", "ST", "=", "Fn", ".", "getSubtarget", "<", "R600Subtarget", ">", "(", ")", ";", "TII", "=", "ST", ".", "getInstrInfo", "(", ")", ";", "MRI", "=", "&", "Fn", ".", "getRegInfo", "(", ")", ";", "for", "(", "MachineBasicBlock", "&", "MB", ":", "Fn", ")", "{", "PreviousRegSeq", ".", "clear", "(", ")", ";", "PreviousRegSeqByReg", ".", "clear", "(", ")", ";", "PreviousRegSeqByUndefCount", ".", "clear", "(", ")", ";", "for", "(", "MachineBasicBlock", "::", "iterator", "MII", "=", "MB", ".", "begin", "(", ")", ",", "MIIE", "=", "MB", ".", "end", "(", ")", ";", "MII", "!=", "MIIE", ";", "++", "MII", ")", "{", "MachineInstr", "&", "MI", "=", "*", "MII", ";", "if", "(", "MI", ".", "getOpcode", "(", ")", "!=", "R600", "::", "REG_SEQUENCE", ")", "{", "if", "(", "TII", "->", "get", "(", "MI", ".", "getOpcode", "(", ")", ")", ".", "TSFlags", "&", "R600_InstFlag", "::", "TEX_INST", ")", "{", "Register", "Reg", "=", "MI", ".", "getOperand", "(", "1", ")", ".", "getReg", "(", ")", ";", "for", "(", "MachineRegisterInfo", "::", "def_instr_iterator", "It", "=", "MRI", "->", "def_instr_begin", "(", "Reg", ")", ",", "E", "=", "MRI", "->", "def_instr_end", "(", ")", ";", "It", "!=", "E", ";", "++", "It", ")", "{", "RemoveMI", "(", "&", "(", "*", "It", ")", ")", ";", "}", "}", "continue", ";", "}", "RegSeqInfo", "RSI", "(", "*", "MRI", ",", "&", "MI", ")", ";", "Register", "Reg", "=", "MI", ".", "getOperand", "(", "0", ")", ".", "getReg", "(", ")", ";", "if", "(", "!", "areAllUsesSwizzeable", "(", "Reg", ")", ")", "continue", ";", "LLVM_DEBUG", "(", "{", "dbgs", "(", ")", "<<", "\"Trying to optimize \"", ";", "MI", ".", "dump", "(", ")", ";", "}", ")", ";", "RegSeqInfo", "CandidateRSI", ";", "std", "::", "vector", "<", "std", "::", "pair", "<", "unsigned", ",", "unsigned", ">>", "RemapChan", ";", "LLVM_DEBUG", "(", "dbgs", "(", ")", "<<", "\"Using common slots...\\n\"", ";", ")", ";", "if", "(", "tryMergeUsingCommonSlot", "(", "RSI", ",", "CandidateRSI", ",", "RemapChan", ")", ")", "{", "RemoveMI", "(", "CandidateRSI", ".", "Instr", ")", ";", "MII", "=", "RebuildVector", "(", "&", "RSI", ",", "&", "CandidateRSI", ",", "RemapChan", ")", ";", "trackRSI", "(", "RSI", ")", ";", "continue", ";", "}", "LLVM_DEBUG", "(", "dbgs", "(", ")", "<<", "\"Using free slots...\\n\"", ";", ")", ";", "RemapChan", ".", "clear", "(", ")", ";", "if", "(", "tryMergeUsingFreeSlot", "(", "RSI", ",", "CandidateRSI", ",", "RemapChan", ")", ")", "{", "RemoveMI", "(", "CandidateRSI", ".", "Instr", ")", ";", "MII", "=", "RebuildVector", "(", "&", "RSI", ",", "&", "CandidateRSI", ",", "RemapChan", ")", ";", "trackRSI", "(", "RSI", ")", ";", "continue", ";", "}", "trackRSI", "(", "RSI", ")", ";", "}", "}", ""], "natrual_language": ["runOnMachineFunction", "-", "Emit", "the", "function", "body", "."], "TS_V_token": ["AMDGPU", "R600", "R600", "R600", "R600::REG_SEQUENCE", "R600_InstFlag::TEX_INST", "1", "SI", "0", "\"Trying to optimize \"", "SI", "\"Using common slots...\\n\"", "SI", "SI", "SI", "SI", "SI", "SI", "SI", "\"Using free slots...\\n\"", "SI", "SI", "SI", "SI", "SI", "SI", "SI", "SI", "SI"], "File": "R600OptimizeVectorRegisters14", "Func": "runOnMachineFunction", "Target": "AMDGPU", "Target_Clf": "GPU", "Compiler_Type": "LLVM", "Idx": 3111, "Length": 391, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "static", "bool", "msp430_hard_regno_mode_ok", "(", "unsigned", "int", "regno", ",", "machine_mode", "mode", ")", "{", "return", "regno", "<=", "(", "ARG_POINTER_REGNUM", "-", "(", "unsigned", "int", ")", "msp430_hard_regno_nregs", "(", "regno", ",", "mode", ")", ")", ";", "}", ""], "natrual_language": ["Implements", "HARD_REGNO_MODE_OK", "."], "TS_V_token": ["msp430"], "File": "msp430", "Func": "msp430_hard_regno_mode_ok", "Target": "msp430", "Target_Clf": "MPU", "Compiler_Type": "GCC", "Idx": 3112, "Length": 31, "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": 3113, "Length": 64, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "static", "void", "unicosmk_file_end", "(", "void", ")", "{", "fputs", "(", "\"\\t.endp\\n\\n\"", ",", "asm_out_file", ")", ";", "unicosmk_output_externs", "(", "asm_out_file", ")", ";", "unicosmk_output_dex", "(", "asm_out_file", ")", ";", "fputs", "(", "\"\\t.end\\t\"", ",", "asm_out_file", ")", ";", "unicosmk_output_module_name", "(", "asm_out_file", ")", ";", "putc", "(", "'\\n'", ",", "asm_out_file", ")", ";", "}", ""], "natrual_language": ["Output", "text", "to", "appear", "at", "the", "end", "of", "an", "assembler", "file", ".", "This", "includes", "all", "pending", "extern", "declarations", "and", "DEX", "expressions", "."], "TS_V_token": ["alpha", "\"\\t.endp\\n\\n\"", "\"\\t.end\\t\""], "File": "alpha3", "Func": "unicosmk_file_end", "Target": "alpha", "Target_Clf": "MPU", "Compiler_Type": "GCC", "Idx": 3114, "Length": 44, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "SDValue", "HexagonTargetLowering", "::", "LowerOperation", "(", "SDValue", "Op", ",", "SelectionDAG", "&", "DAG", ")", "const", "{", "switch", "(", "Op", ".", "getOpcode", "(", ")", ")", "{", "default", ":", "llvm_unreachable", "(", "\"Should not custom lower this!\"", ")", ";", "case", "ISD", "::", "ConstantPool", ":", "return", "LowerConstantPool", "(", "Op", ",", "DAG", ")", ";", "case", "ISD", "::", "EH_RETURN", ":", "return", "LowerEH_RETURN", "(", "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 Hexagon.\"", ")", ";", "case", "ISD", "::", "ATOMIC_FENCE", ":", "return", "LowerATOMIC_FENCE", "(", "Op", ",", "DAG", ")", ";", "case", "ISD", "::", "GlobalAddress", ":", "return", "LowerGLOBALADDRESS", "(", "Op", ",", "DAG", ")", ";", "case", "ISD", "::", "BlockAddress", ":", "return", "LowerBlockAddress", "(", "Op", ",", "DAG", ")", ";", "case", "ISD", "::", "VASTART", ":", "return", "LowerVASTART", "(", "Op", ",", "DAG", ")", ";", "case", "ISD", "::", "BR_JT", ":", "return", "LowerBR_JT", "(", "Op", ",", "DAG", ")", ";", "case", "ISD", "::", "DYNAMIC_STACKALLOC", ":", "return", "LowerDYNAMIC_STACKALLOC", "(", "Op", ",", "DAG", ")", ";", "case", "ISD", "::", "SELECT", ":", "return", "Op", ";", "case", "ISD", "::", "INTRINSIC_WO_CHAIN", ":", "return", "LowerINTRINSIC_WO_CHAIN", "(", "Op", ",", "DAG", ")", ";", "case", "ISD", "::", "INLINEASM", ":", "return", "LowerINLINEASM", "(", "Op", ",", "DAG", ")", ";", "}", "}", ""], "natrual_language": ["LowerOperation", "-", "Provide", "custom", "lowering", "hooks", "for", "some", "operations", "."], "TS_V_token": ["Hexagon", "Hexagon", "\"Should not custom lower this!\"", "ISD::ConstantPool", "ISD::EH_RETURN", "ISD::RETURNADDR", "ISD::FRAMEADDR", "ISD::GlobalTLSAddress", "\"TLS not implemented for Hexagon.\"", "ISD::ATOMIC_FENCE", "ISD::GlobalAddress", "ISD::BlockAddress", "ISD::VASTART", "ISD::BR_JT", "ISD::DYNAMIC_STACKALLOC", "ISD::SELECT", "ISD::INTRINSIC_WO_CHAIN", "ISD::INLINEASM"], "File": "HexagonISelLowering (2)2", "Func": "LowerOperation", "Target": "Hexagon", "Target_Clf": "DSP", "Compiler_Type": "LLVM", "Idx": 3115, "Length": 206, "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": ["SNES"], "File": "SNESMCExpr", "Func": "classof", "Target": "SNES", "Target_Clf": "DSP", "Compiler_Type": "LLVM", "Idx": 3116, "Length": 22, "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": 3117, "Length": 85, "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": 3118, "Length": 82, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "void", "m32c_function_arg_advance", "(", "CUMULATIVE_ARGS", "*", "ca", ",", "enum", "machine_mode", "mode", "ATTRIBUTE_UNUSED", ",", "tree", "type", "ATTRIBUTE_UNUSED", ",", "int", "named", "ATTRIBUTE_UNUSED", ")", "{", "if", "(", "ca", "->", "force_mem", ")", "ca", "->", "force_mem", "=", "0", ";", "ca", "->", "parm_num", "++", ";", "}", ""], "natrual_language": ["Implements", "FUNCTION_ARG_ADVANCE", ".", "force_mem", "is", "set", "for", "functions", "returning", "structures", ",", "so", "we", "always", "reset", "that", ".", "Otherwise", ",", "we", "only", "need", "to", "know", "the", "sequence", "number", "of", "the", "argument", "to", "know", "what", "to", "do", "with", "it", "."], "TS_V_token": ["m32c", "0"], "File": "m32c2", "Func": "m32c_function_arg_advance", "Target": "m32c", "Target_Clf": "MPU", "Compiler_Type": "GCC", "Idx": 3119, "Length": 39, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "bool", "R600VectorRegMerger", "::", "runOnMachineFunction", "(", "MachineFunction", "&", "Fn", ")", "{", "TII", "=", "static_cast", "<", "const", "R600InstrInfo", "*", ">", "(", "Fn", ".", "getSubtarget", "(", ")", ".", "getInstrInfo", "(", ")", ")", ";", "MRI", "=", "&", "(", "Fn", ".", "getRegInfo", "(", ")", ")", ";", "for", "(", "MachineFunction", "::", "iterator", "MBB", "=", "Fn", ".", "begin", "(", ")", ",", "MBBe", "=", "Fn", ".", "end", "(", ")", ";", "MBB", "!=", "MBBe", ";", "++", "MBB", ")", "{", "MachineBasicBlock", "*", "MB", "=", "MBB", ";", "PreviousRegSeq", ".", "clear", "(", ")", ";", "PreviousRegSeqByReg", ".", "clear", "(", ")", ";", "PreviousRegSeqByUndefCount", ".", "clear", "(", ")", ";", "for", "(", "MachineBasicBlock", "::", "iterator", "MII", "=", "MB", "->", "begin", "(", ")", ",", "MIIE", "=", "MB", "->", "end", "(", ")", ";", "MII", "!=", "MIIE", ";", "++", "MII", ")", "{", "MachineInstr", "*", "MI", "=", "MII", ";", "if", "(", "MI", "->", "getOpcode", "(", ")", "!=", "AMDGPU", "::", "REG_SEQUENCE", ")", "{", "if", "(", "TII", "->", "get", "(", "MI", "->", "getOpcode", "(", ")", ")", ".", "TSFlags", "&", "R600_InstFlag", "::", "TEX_INST", ")", "{", "unsigned", "Reg", "=", "MI", "->", "getOperand", "(", "1", ")", ".", "getReg", "(", ")", ";", "for", "(", "MachineRegisterInfo", "::", "def_instr_iterator", "It", "=", "MRI", "->", "def_instr_begin", "(", "Reg", ")", ",", "E", "=", "MRI", "->", "def_instr_end", "(", ")", ";", "It", "!=", "E", ";", "++", "It", ")", "{", "RemoveMI", "(", "&", "(", "*", "It", ")", ")", ";", "}", "}", "continue", ";", "}", "RegSeqInfo", "RSI", "(", "*", "MRI", ",", "MI", ")", ";", "unsigned", "Reg", "=", "MI", "->", "getOperand", "(", "0", ")", ".", "getReg", "(", ")", ";", "if", "(", "!", "areAllUsesSwizzeable", "(", "Reg", ")", ")", "continue", ";", "DEBUG", "(", "dbgs", "(", ")", "<<", "\"Trying to optimize \"", ";", "MI", "->", "dump", "(", ")", ";", ")", ";", "RegSeqInfo", "CandidateRSI", ";", "std", "::", "vector", "<", "std", "::", "pair", "<", "unsigned", ",", "unsigned", ">", ">", "RemapChan", ";", "DEBUG", "(", "dbgs", "(", ")", "<<", "\"Using common slots...\\n\"", ";", ")", ";", "if", "(", "tryMergeUsingCommonSlot", "(", "RSI", ",", "CandidateRSI", ",", "RemapChan", ")", ")", "{", "RemoveMI", "(", "CandidateRSI", ".", "Instr", ")", ";", "MII", "=", "RebuildVector", "(", "&", "RSI", ",", "&", "CandidateRSI", ",", "RemapChan", ")", ";", "trackRSI", "(", "RSI", ")", ";", "continue", ";", "}", "DEBUG", "(", "dbgs", "(", ")", "<<", "\"Using free slots...\\n\"", ";", ")", ";", "RemapChan", ".", "clear", "(", ")", ";", "if", "(", "tryMergeUsingFreeSlot", "(", "RSI", ",", "CandidateRSI", ",", "RemapChan", ")", ")", "{", "RemoveMI", "(", "CandidateRSI", ".", "Instr", ")", ";", "MII", "=", "RebuildVector", "(", "&", "RSI", ",", "&", "CandidateRSI", ",", "RemapChan", ")", ";", "trackRSI", "(", "RSI", ")", ";", "continue", ";", "}", "trackRSI", "(", "RSI", ")", ";", "}", "}", "return", "false", ";", "}", ""], "natrual_language": ["runOnMachineFunction", "-", "Emit", "the", "function", "body", "."], "TS_V_token": ["R600", "R600_InstFlag::TEX_INST", "1", "SI", "0", "\"Trying to optimize \"", "SI", "\"Using common slots...\\n\"", "SI", "SI", "SI", "SI", "SI", "SI", "SI", "\"Using free slots...\\n\"", "SI", "SI", "SI", "SI", "SI", "SI", "SI", "SI", "SI"], "File": "R600OptimizeVectorRegisters27", "Func": "runOnMachineFunction", "Target": "R600", "Target_Clf": "GPU", "Compiler_Type": "LLVM", "Idx": 3120, "Length": 404, "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": 3121, "Length": 119, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "static", "void", "bfin_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", "count", ",", "bytes", ",", "words", ";", "bytes", "=", "(", "mode", "==", "BLKmode", ")", "?", "int_size_in_bytes", "(", "type", ")", ":", "GET_MODE_SIZE", "(", "mode", ")", ";", "words", "=", "(", "bytes", "+", "UNITS_PER_WORD", "-", "1", ")", "/", "UNITS_PER_WORD", ";", "cum", "->", "words", "+=", "words", ";", "cum", "->", "nregs", "-=", "words", ";", "if", "(", "cum", "->", "nregs", "<=", "0", ")", "{", "cum", "->", "nregs", "=", "0", ";", "cum", "->", "arg_regs", "=", "NULL", ";", "}", "else", "{", "for", "(", "count", "=", "1", ";", "count", "<=", "words", ";", "count", "++", ")", "cum", "->", "arg_regs", "++", ";", "}", "return", ";", "}", ""], "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": ["bfin", "1", "0", "0", "1"], "File": "bfin3", "Func": "bfin_function_arg_advance", "Target": "bfin", "Target_Clf": "DSP", "Compiler_Type": "GCC", "Idx": 3122, "Length": 122, "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": 3123, "Length": 314, "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": 3124, "Length": 172, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "void", "HexagonDAGToDAGISel", "::", "PreprocessISelDAG", "(", ")", "{", "SelectionDAG", "&", "DAG", "=", "*", "CurDAG", ";", "std", "::", "vector", "<", "SDNode", "*", ">", "Nodes", ";", "for", "(", "auto", "I", "=", "DAG", ".", "allnodes_begin", "(", ")", ",", "E", "=", "DAG", ".", "allnodes_end", "(", ")", ";", "I", "!=", "E", ";", "++", "I", ")", "Nodes", ".", "push_back", "(", "I", ")", ";", "for", "(", "auto", "I", ":", "Nodes", ")", "{", "if", "(", "I", "->", "getOpcode", "(", ")", "!=", "ISD", "::", "OR", ")", "continue", ";", "auto", "IsZero", "=", "[", "]", "(", "const", "SDValue", "&", "V", ")", "->", "bool", "{", "if", "(", "ConstantSDNode", "*", "SC", "=", "dyn_cast", "<", "ConstantSDNode", ">", "(", "V", ".", "getNode", "(", ")", ")", ")", "return", "SC", "->", "isNullValue", "(", ")", ";", "return", "false", ";", "}", ";", "auto", "IsSelect0", "=", "[", "IsZero", "]", "(", "const", "SDValue", "&", "Op", ")", "->", "bool", "{", "if", "(", "Op", ".", "getOpcode", "(", ")", "!=", "ISD", "::", "SELECT", ")", "return", "false", ";", "return", "IsZero", "(", "Op", ".", "getOperand", "(", "1", ")", ")", "||", "IsZero", "(", "Op", ".", "getOperand", "(", "2", ")", ")", ";", "}", ";", "SDValue", "N0", "=", "I", "->", "getOperand", "(", "0", ")", ",", "N1", "=", "I", "->", "getOperand", "(", "1", ")", ";", "EVT", "VT", "=", "I", "->", "getValueType", "(", "0", ")", ";", "bool", "SelN0", "=", "IsSelect0", "(", "N0", ")", ";", "SDValue", "SOp", "=", "SelN0", "?", "N0", ":", "N1", ";", "SDValue", "VOp", "=", "SelN0", "?", "N1", ":", "N0", ";", "if", "(", "SOp", ".", "getOpcode", "(", ")", "==", "ISD", "::", "SELECT", "&&", "SOp", ".", "getNode", "(", ")", "->", "hasOneUse", "(", ")", ")", "{", "SDValue", "SC", "=", "SOp", ".", "getOperand", "(", "0", ")", ";", "SDValue", "SX", "=", "SOp", ".", "getOperand", "(", "1", ")", ";", "SDValue", "SY", "=", "SOp", ".", "getOperand", "(", "2", ")", ";", "SDLoc", "DLS", "=", "SOp", ";", "if", "(", "IsZero", "(", "SY", ")", ")", "{", "SDValue", "NewOr", "=", "DAG", ".", "getNode", "(", "ISD", "::", "OR", ",", "DLS", ",", "VT", ",", "SX", ",", "VOp", ")", ";", "SDValue", "NewSel", "=", "DAG", ".", "getNode", "(", "ISD", "::", "SELECT", ",", "DLS", ",", "VT", ",", "SC", ",", "NewOr", ",", "VOp", ")", ";", "DAG", ".", "ReplaceAllUsesWith", "(", "I", ",", "NewSel", ".", "getNode", "(", ")", ")", ";", "}", "else", "if", "(", "IsZero", "(", "SX", ")", ")", "{", "SDValue", "NewOr", "=", "DAG", ".", "getNode", "(", "ISD", "::", "OR", ",", "DLS", ",", "VT", ",", "SY", ",", "VOp", ")", ";", "SDValue", "NewSel", "=", "DAG", ".", "getNode", "(", "ISD", "::", "SELECT", ",", "DLS", ",", "VT", ",", "SC", ",", "VOp", ",", "NewOr", ")", ";", "DAG", ".", "ReplaceAllUsesWith", "(", "I", ",", "NewSel", ".", "getNode", "(", ")", ")", ";", "}", "}", "}", "}", ""], "natrual_language": ["PreprocessISelDAG", "-", "This", "hook", "allows", "targets", "to", "hack", "on", "the", "graph", "before", "instruction", "selection", "starts", "."], "TS_V_token": ["Hexagon", "Hexagon", "ISD::OR", "ISD::SELECT", "1", "2", "0", "1", "0", "ISD::SELECT", "0", "1", "2", "ISD::OR", "ISD::SELECT", "ISD::OR", "ISD::SELECT"], "File": "HexagonISelDAGToDAG3", "Func": "PreprocessISelDAG", "Target": "Hexagon", "Target_Clf": "DSP", "Compiler_Type": "LLVM", "Idx": 3125, "Length": 420, "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": 3126, "Length": 17, "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": 3127, "Length": 476, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "PreservedAnalyses", "AMDGPUPromoteAllocaToVectorPass", "::", "run", "(", "Function", "&", "F", ",", "FunctionAnalysisManager", "&", "AM", ")", "{", "bool", "Changed", "=", "promoteAllocasToVector", "(", "F", ",", "TM", ")", ";", "if", "(", "Changed", ")", "{", "PreservedAnalyses", "PA", ";", "PA", ".", "preserveSet", "<", "CFGAnalyses", ">", "(", ")", ";", "return", "PA", ";", "}", "return", "PreservedAnalyses", "::", "all", "(", ")", ";", "}", ""], "natrual_language": ["Run", "the", "analysis", "pass", "over", "a", "function", "and", "produce", "a", "dominator", "tree", "."], "TS_V_token": ["AMDGPU", "AMDGPU"], "File": "AMDGPUPromoteAlloca10", "Func": "run", "Target": "AMDGPU", "Target_Clf": "GPU", "Compiler_Type": "LLVM", "Idx": 3128, "Length": 53, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "bool", "HexagonTargetLowering", "::", "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", "(", ")", ";", "}", "else", "if", "(", "StoreSDNode", "*", "ST", "=", "dyn_cast", "<", "StoreSDNode", ">", "(", "N", ")", ")", "{", "VT", "=", "ST", "->", "getMemoryVT", "(", ")", ";", "if", "(", "ST", "->", "getValue", "(", ")", ".", "getValueType", "(", ")", "==", "MVT", "::", "i64", "&&", "ST", "->", "isTruncatingStore", "(", ")", ")", "return", "false", ";", "}", "else", "{", "return", "false", ";", "}", "bool", "IsInc", "=", "false", ";", "bool", "isLegal", "=", "getIndexedAddressParts", "(", "Op", ",", "VT", ",", "Base", ",", "Offset", ",", "IsInc", ",", "DAG", ")", ";", "if", "(", "isLegal", ")", "{", "auto", "&", "HII", "=", "*", "Subtarget", ".", "getInstrInfo", "(", ")", ";", "int32_t", "OffsetVal", "=", "cast", "<", "ConstantSDNode", ">", "(", "Offset", ".", "getNode", "(", ")", ")", "->", "getSExtValue", "(", ")", ";", "if", "(", "HII", ".", "isValidAutoIncImm", "(", "VT", ",", "OffsetVal", ")", ")", "{", "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": ["Hexagon", "Hexagon", "ISD::MemIndexedMode", "MVT::i64", "ISD::POST_INC", "ISD::POST_DEC"], "File": "HexagonISelLowering114", "Func": "getPostIndexedAddressParts", "Target": "Hexagon", "Target_Clf": "DSP", "Compiler_Type": "LLVM", "Idx": 3129, "Length": 210, "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": 3130, "Length": 12, "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": 3131, "Length": 227, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "static", "StringRef", "getFunctionName", "(", "TargetLowering", "::", "CallLoweringInfo", "&", "CLI", ")", "{", "SDValue", "Callee", "=", "CLI", ".", "Callee", ";", "if", "(", "const", "ExternalSymbolSDNode", "*", "G", "=", "dyn_cast", "<", "ExternalSymbolSDNode", ">", "(", "Callee", ")", ")", "{", "return", "G", "->", "getSymbol", "(", ")", ";", "}", "if", "(", "const", "GlobalAddressSDNode", "*", "G", "=", "dyn_cast", "<", "GlobalAddressSDNode", ">", "(", "Callee", ")", ")", "{", "return", "G", "->", "getGlobal", "(", ")", "->", "getName", "(", ")", ";", "}", "llvm_unreachable", "(", "\"don't know how to get the name for this callee\"", ")", ";", "}", ""], "natrual_language": ["Get", "the", "entire", "name", "of", "this", "function", "."], "TS_V_token": ["GBZ80", "\"don't know how to get the name for this callee\""], "File": "GBZ80ISelLowering", "Func": "getFunctionName", "Target": "GBZ80", "Target_Clf": "MPU", "Compiler_Type": "LLVM", "Idx": 3132, "Length": 76, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "bool", "HexagonCommonGEP", "::", "runOnFunction", "(", "Function", "&", "F", ")", "{", "if", "(", "skipFunction", "(", "F", ")", ")", "return", "false", ";", "for", "(", "const", "BasicBlock", "&", "BB", ":", "F", ")", "for", "(", "const", "Instruction", "&", "I", ":", "BB", ")", "if", "(", "isa", "<", "InvokeInst", ">", "(", "I", ")", "||", "isa", "<", "LandingPadInst", ">", "(", "I", ")", ")", "return", "false", ";", "Fn", "=", "&", "F", ";", "DT", "=", "&", "getAnalysis", "<", "DominatorTreeWrapperPass", ">", "(", ")", ".", "getDomTree", "(", ")", ";", "PDT", "=", "&", "getAnalysis", "<", "PostDominatorTreeWrapperPass", ">", "(", ")", ".", "getPostDomTree", "(", ")", ";", "LI", "=", "&", "getAnalysis", "<", "LoopInfoWrapperPass", ">", "(", ")", ".", "getLoopInfo", "(", ")", ";", "Ctx", "=", "&", "F", ".", "getContext", "(", ")", ";", "Nodes", ".", "clear", "(", ")", ";", "Uses", ".", "clear", "(", ")", ";", "NodeOrder", ".", "clear", "(", ")", ";", "SpecificBumpPtrAllocator", "<", "GepNode", ">", "Allocator", ";", "Mem", "=", "&", "Allocator", ";", "collect", "(", ")", ";", "common", "(", ")", ";", "NodeToValueMap", "Loc", ";", "computeNodePlacement", "(", "Loc", ")", ";", "materialize", "(", "Loc", ")", ";", "removeDeadCode", "(", ")", ";", "if", "(", "verifyFunction", "(", "F", ",", "&", "dbgs", "(", ")", ")", ")", "report_fatal_error", "(", "\"Broken function\"", ")", ";", "return", "true", ";", "}", ""], "natrual_language": ["runOnFunction", "-", "Virtual", "method", "overriden", "by", "subclasses", "to", "do", "the", "per-function", "processing", "of", "the", "pass", "."], "TS_V_token": ["Hexagon", "Hexagon", "\"Broken function\""], "File": "HexagonCommonGEP12", "Func": "runOnFunction", "Target": "Hexagon", "Target_Clf": "DSP", "Compiler_Type": "LLVM", "Idx": 3133, "Length": 190, "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": 3134, "Length": 40, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "static", "bool", "arm_const_double_prefer_rsbs_rsc", "(", "rtx", "op", ")", "{", "if", "(", "TARGET_THUMB", "||", "!", "CONST_INT_P", "(", "op", ")", ")", "return", "false", ";", "HOST_WIDE_INT", "hi", ",", "lo", ";", "lo", "=", "UINTVAL", "(", "op", ")", "&", "0xffffffffULL", ";", "hi", "=", "UINTVAL", "(", "op", ")", ">>", "32", ";", "return", "const_ok_for_arm", "(", "lo", ")", "&&", "const_ok_for_arm", "(", "hi", ")", ";", "}", ""], "natrual_language": ["Return", "TRUE", "if", "op", "is", "a", "constant", "where", "both", "the", "low", "and", "top", "words", "are", "suitable", "for", "RSB/RSC", "instructions", ".", "This", "is", "never", "true", "for", "Thumb", ",", "since", "we", "do", "not", "have", "RSC", "in", "that", "case", "."], "TS_V_token": ["arm", "0xffffffffULL", "32"], "File": "arm", "Func": "arm_const_double_prefer_rsbs_rsc", "Target": "arm", "Target_Clf": "CPU", "Compiler_Type": "GCC", "Idx": 3135, "Length": 56, "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": 3136, "Length": 453, "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": 3137, "Length": 57, "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": 3138, "Length": 48, "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": 3139, "Length": 116, "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": 3140, "Length": 11, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "void", "TL45MCCodeEmitter", "::", "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": ["TL45", "TL45", "0", "4"], "File": "TL45MCCodeEmitter", "Func": "encodeInstruction", "Target": "TL45", "Target_Clf": "MPU", "Compiler_Type": "LLVM", "Idx": 3141, "Length": 57, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "bool", "M680x0Subtarget", "::", "isLegalToCallImmediateAddr", "(", ")", "const", "{", "return", "true", ";", "}", ""], "natrual_language": ["Return", "true", "if", "the", "subtarget", "allows", "calls", "to", "immediate", "address", "."], "TS_V_token": ["M680x0", "M680x0"], "File": "M680x0Subtarget", "Func": "isLegalToCallImmediateAddr", "Target": "M680x0", "Target_Clf": "MPU", "Compiler_Type": "LLVM", "Idx": 3142, "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", "->", "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": 3143, "Length": 264, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "static", "tree", "aarch64_stack_protect_guard", "(", "void", ")", "{", "if", "(", "aarch64_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": ["aarch64"], "File": "aarch64", "Func": "aarch64_stack_protect_guard", "Target": "aarch64", "Target_Clf": "CPU", "Compiler_Type": "GCC", "Idx": 3144, "Length": 22, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "void", "R600DAGToDAGISel", "::", "Select", "(", "SDNode", "*", "N", ")", "{", "unsigned", "int", "Opc", "=", "N", "->", "getOpcode", "(", ")", ";", "if", "(", "N", "->", "isMachineOpcode", "(", ")", ")", "{", "N", "->", "setNodeId", "(", "-", "1", ")", ";", "return", ";", "}", "switch", "(", "Opc", ")", "{", "default", ":", "break", ";", "case", "AMDGPUISD", "::", "BUILD_VERTICAL_VECTOR", ":", "case", "ISD", "::", "SCALAR_TO_VECTOR", ":", "case", "ISD", "::", "BUILD_VECTOR", ":", "{", "EVT", "VT", "=", "N", "->", "getValueType", "(", "0", ")", ";", "unsigned", "NumVectorElts", "=", "VT", ".", "getVectorNumElements", "(", ")", ";", "unsigned", "RegClassID", ";", "switch", "(", "NumVectorElts", ")", "{", "case", "2", ":", "RegClassID", "=", "R600", "::", "R600_Reg64RegClassID", ";", "break", ";", "case", "4", ":", "if", "(", "Opc", "==", "AMDGPUISD", "::", "BUILD_VERTICAL_VECTOR", ")", "RegClassID", "=", "R600", "::", "R600_Reg128VerticalRegClassID", ";", "else", "RegClassID", "=", "R600", "::", "R600_Reg128RegClassID", ";", "break", ";", "default", ":", "llvm_unreachable", "(", "\"Do not know how to lower this BUILD_VECTOR\"", ")", ";", "}", "SelectBuildVector", "(", "N", ",", "RegClassID", ")", ";", "return", ";", "}", "}", "SelectCode", "(", "N", ")", ";", "}", ""], "natrual_language": ["Main", "hook", "for", "targets", "to", "transform", "nodes", "into", "machine", "nodes", "."], "TS_V_token": ["AMDGPU", "R600", "1", "AMDGPUISD::BUILD_VERTICAL_VECTOR", "ISD::SCALAR_TO_VECTOR", "ISD::BUILD_VECTOR", "0", "2", "R600::R600_Reg64RegClassID", "4", "AMDGPUISD::BUILD_VERTICAL_VECTOR", "R600::R600_Reg128VerticalRegClassID", "R600::R600_Reg128RegClassID", "\"Do not know how to lower this BUILD_VECTOR\""], "File": "AMDGPUISelDAGToDAG", "Func": "Select", "Target": "AMDGPU", "Target_Clf": "GPU", "Compiler_Type": "LLVM", "Idx": 3145, "Length": 154, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "int", "Z80InstrInfo", "::", "getSPAdjust", "(", "const", "MachineInstr", "&", "MI", ")", "const", "{", "switch", "(", "MI", ".", "getOpcode", "(", ")", ")", "{", "case", "Z80", "::", "POP16r", ":", "case", "Z80", "::", "POP16AF", ":", "return", "2", ";", "case", "Z80", "::", "POP24r", ":", "case", "Z80", "::", "POP24AF", ":", "return", "3", ";", "case", "Z80", "::", "PUSH16r", ":", "case", "Z80", "::", "PUSH16AF", ":", "case", "Z80", "::", "PEA16o", ":", "return", "-", "2", ";", "case", "Z80", "::", "PUSH24r", ":", "case", "Z80", "::", "PUSH24AF", ":", "case", "Z80", "::", "PEA24o", ":", "return", "-", "3", ";", "}", "return", "TargetInstrInfo", "::", "getSPAdjust", "(", "MI", ")", ";", "}", ""], "natrual_language": ["getSPAdjust", "-", "This", "returns", "the", "stack", "pointer", "adjustment", "made", "by", "this", "instruction", "."], "TS_V_token": ["Z80", "Z80", "Z80::POP16r", "Z80::POP16AF", "2", "Z80::POP24r", "Z80::POP24AF", "3", "Z80::PUSH16r", "Z80::PUSH16AF", "Z80::PEA16o", "2", "Z80::PUSH24r", "Z80::PUSH24AF", "Z80::PEA24o", "3"], "File": "Z80InstrInfo2", "Func": "getSPAdjust", "Target": "Z80", "Target_Clf": "MPU", "Compiler_Type": "LLVM", "Idx": 3146, "Length": 95, "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": 3147, "Length": 344, "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": 3148, "Length": 79, "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": 3149, "Length": 238, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "MachineBasicBlock", "*", "R600MachineCFGStructurizer", "::", "clone", "(", "MachineBasicBlock", "*", "MBB", ")", "{", "MachineFunction", "*", "Func", "=", "MBB", "->", "getParent", "(", ")", ";", "MachineBasicBlock", "*", "NewMBB", "=", "Func", "->", "CreateMachineBasicBlock", "(", ")", ";", "Func", "->", "push_back", "(", "NewMBB", ")", ";", "for", "(", "const", "MachineInstr", "&", "It", ":", "*", "MBB", ")", "NewMBB", "->", "push_back", "(", "Func", "->", "CloneMachineInstr", "(", "&", "It", ")", ")", ";", "return", "NewMBB", ";", "}", ""], "natrual_language": ["Make", "a", "functionally", "equivalent", "copy", "of", "this", "MachineFunctionInfo", "in", "MF", "."], "TS_V_token": ["AMDGPU", "R600"], "File": "R600MachineCFGStructurizer", "Func": "clone", "Target": "AMDGPU", "Target_Clf": "GPU", "Compiler_Type": "LLVM", "Idx": 3150, "Length": 65, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "int", "lm32_return_in_memory", "(", "tree", "type", ")", "{", "HOST_WIDE_INT", "size", ";", "if", "(", "!", "AGGREGATE_TYPE_P", "(", "type", ")", ")", "{", "return", "0", ";", "}", "size", "=", "int_size_in_bytes", "(", "type", ")", ";", "if", "(", "size", ">=", "0", "&&", "size", "<=", "UNITS_PER_WORD", ")", "{", "return", "0", ";", "}", "return", "1", ";", "}", ""], "natrual_language": ["Return", "non-zero", "if", "the", "given", "return", "type", "should", "be", "returned", "in", "memory", "."], "TS_V_token": ["lm32", "0", "0", "0", "1"], "File": "lm32", "Func": "lm32_return_in_memory", "Target": "lm32", "Target_Clf": "MPU", "Compiler_Type": "GCC", "Idx": 3151, "Length": 49, "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": 3152, "Length": 113, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "bool", "M68kCallLowering", "::", "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": ["M68k", "M68k"], "File": "M68kCallLowering", "Func": "lowerCall", "Target": "M68k", "Target_Clf": "MPU", "Compiler_Type": "LLVM", "Idx": 3153, "Length": 19, "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": 3154, "Length": 69, "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": 3155, "Length": 18, "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": 3156, "Length": 11, "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": 3157, "Length": 87, "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": 3158, "Length": 30, "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": 3159, "Length": 29, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "static", "rtx", "compute_frame_addr", "(", "int", "offset_from_fp", ",", "int", "*", "next_scratch_regno", ")", "{", "rtx", "base_reg_rtx", ",", "tmp_reg_rtx", ",", "offset_rtx", ";", "int", "offset_from_base", ";", "if", "(", "frame_pointer_needed", ")", "{", "base_reg_rtx", "=", "hard_frame_pointer_rtx", ";", "offset_from_base", "=", "offset_from_fp", ";", "}", "else", "{", "int", "offset_from_sp", "=", "compute_total_frame_size", "(", ")", "+", "offset_from_fp", ";", "base_reg_rtx", "=", "stack_pointer_rtx", ";", "offset_from_base", "=", "offset_from_sp", ";", "}", "if", "(", "offset_from_base", "==", "0", ")", "return", "base_reg_rtx", ";", "tmp_reg_rtx", "=", "gen_rtx_REG", "(", "Pmode", ",", "(", "*", "next_scratch_regno", ")", "--", ")", ";", "offset_rtx", "=", "gen_int_si", "(", "offset_from_base", ")", ";", "if", "(", "!", "tilepro_expand_addsi", "(", "tmp_reg_rtx", ",", "base_reg_rtx", ",", "offset_rtx", ")", ")", "{", "emit_insn", "(", "gen_rtx_SET", "(", "tmp_reg_rtx", ",", "gen_rtx_PLUS", "(", "Pmode", ",", "base_reg_rtx", ",", "offset_rtx", ")", ")", ")", ";", "}", "return", "tmp_reg_rtx", ";", "}", ""], "natrual_language": ["Returns", "an", "rtx", "for", "a", "stack", "slot", "at", "'FP", "+", "offset_from_fp", "'", ".", "If", "there", "is", "a", "frame", "pointer", ",", "it", "computes", "the", "value", "relative", "to", "that", ".", "Otherwise", "it", "uses", "the", "stack", "pointer", "."], "TS_V_token": ["tilepro", "0"], "File": "tilepro", "Func": "compute_frame_addr", "Target": "tilepro", "Target_Clf": "VLIW", "Compiler_Type": "GCC", "Idx": 3160, "Length": 120, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "const", "char", "*", "RV16KTargetLowering", "::", "getTargetNodeName", "(", "unsigned", "Opcode", ")", "const", "{", "switch", "(", "(", "RV16KISD", "::", "NodeType", ")", "Opcode", ")", "{", "case", "RV16KISD", "::", "FIRST_NUMBER", ":", "break", ";", "case", "RV16KISD", "::", "RET_FLAG", ":", "return", "\"RV16KISD::RET_FLAG\"", ";", "case", "RV16KISD", "::", "CALL", ":", "return", "\"RV16KISD::CALL\"", ";", "case", "RV16KISD", "::", "BR_CC", ":", "return", "\"RV16KISD::BR_CC\"", ";", "case", "RV16KISD", "::", "SELECT_CC", ":", "return", "\"RV16KISD::SELECT_CC\"", ";", "case", "RV16KISD", "::", "TAIL", ":", "return", "\"RV16KISD::TAIL\"", ";", "}", "return", "nullptr", ";", "}", ""], "natrual_language": ["getTargetNodeName", "-", "This", "method", "returns", "the", "name", "of", "a", "target", "specific"], "TS_V_token": ["RV16K", "RV16K", "RV16KISD::NodeType", "RV16KISD::FIRST_NUMBER", "RV16KISD::RET_FLAG", "\"RV16KISD::RET_FLAG\"", "RV16KISD::CALL", "\"RV16KISD::CALL\"", "RV16KISD::BR_CC", "\"RV16KISD::BR_CC\"", "RV16KISD::SELECT_CC", "\"RV16KISD::SELECT_CC\"", "RV16KISD::TAIL", "\"RV16KISD::TAIL\""], "File": "RV16KISelLowering", "Func": "getTargetNodeName", "Target": "RV16K", "Target_Clf": "Virtual ISA", "Compiler_Type": "LLVM", "Idx": 3161, "Length": 74, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "void", "getAnalysisUsage", "(", "AnalysisUsage", "&", "AU", ")", "const", "override", "{", "AU", ".", "setPreservesCFG", "(", ")", ";", "AU", ".", "addRequired", "<", "AAResultsWrapperPass", ">", "(", ")", ";", "AU", ".", "addRequired", "<", "MachineBranchProbabilityInfo", ">", "(", ")", ";", "AU", ".", "addRequired", "<", "MachineDominatorTree", ">", "(", ")", ";", "AU", ".", "addRequired", "<", "MachineLoopInfo", ">", "(", ")", ";", "AU", ".", "addPreserved", "<", "MachineDominatorTree", ">", "(", ")", ";", "AU", ".", "addPreserved", "<", "MachineLoopInfo", ">", "(", ")", ";", "MachineFunctionPass", "::", "getAnalysisUsage", "(", "AU", ")", ";", "}", ""], "natrual_language": ["getAnalysisUsage", "-", "Subclasses", "that", "override", "getAnalysisUsage", "must", "call", "this", "."], "TS_V_token": ["TPC"], "File": "TPCUnHardwareLoops", "Func": "getAnalysisUsage", "Target": "TPC", "Target_Clf": "Virtual ISA", "Compiler_Type": "LLVM", "Idx": 3162, "Length": 78, "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": 3163, "Length": 84, "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": 3164, "Length": 34, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "const", "TPCRegisterInfo", "&", "getRegisterInfo", "(", ")", "const", "{", "return", "RI", ";", "}", ""], "natrual_language": ["getRegisterInfo", "-", "TargetInstrInfo", "is", "a", "superset", "of", "MRegister", "info", "."], "TS_V_token": ["TPC", "TPC"], "File": "TPCInstrInfo", "Func": "getRegisterInfo", "Target": "TPC", "Target_Clf": "Virtual ISA", "Compiler_Type": "LLVM", "Idx": 3165, "Length": 12, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "virtual", "void", "dump", "(", "const", "TargetRegisterInfo", "*", "TRI", ",", "int", "depth", "=", "0", ")", "{", "dumpDepth", "(", "depth", ")", ";", "dbgs", "(", ")", "<<", "\"Region: \"", "<<", "(", "void", "*", ")", "Region", ";", "dbgs", "(", ")", "<<", "\" In: \"", "<<", "PrintReg", "(", "getBBSelectRegIn", "(", ")", ",", "TRI", ")", ";", "dbgs", "(", ")", "<<", "\", Out: \"", "<<", "PrintReg", "(", "getBBSelectRegOut", "(", ")", ",", "TRI", ")", "<<", "\"\\n\"", ";", "dumpDepth", "(", "depth", ")", ";", "if", "(", "getSucc", "(", ")", ")", "dbgs", "(", ")", "<<", "\"Succ: \"", "<<", "getSucc", "(", ")", "->", "getNumber", "(", ")", "<<", "\"\\n\"", ";", "else", "dbgs", "(", ")", "<<", "\"Succ: none \\n\"", ";", "for", "(", "auto", "MRTI", ":", "Children", ")", "{", "MRTI", "->", "dump", "(", "TRI", ",", "depth", "+", "1", ")", ";", "}", "}", ""], "natrual_language": ["Dump", "the", "plan", "to", "stderr", "(", "for", "debugging", ")", "."], "TS_V_token": ["AMDGPU", "0", "\"Region: \"", "\" In: \"", "\", Out: \"", "\"\\n\"", "\"Succ: \"", "\"\\n\"", "\"Succ: none \\n\"", "1"], "File": "AMDGPUMachineCFGStructurizer3", "Func": "dump", "Target": "AMDGPU", "Target_Clf": "GPU", "Compiler_Type": "LLVM", "Idx": 3166, "Length": 119, "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": 3167, "Length": 45, "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": 3168, "Length": 278, "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": 3169, "Length": 15, "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": 3170, "Length": 149, "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": 3171, "Length": 267, "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": 3172, "Length": 20, "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": 3173, "Length": 401, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "bool", "immed_offset_p", "(", "rtx", "mem_rtx", ")", "{", "gcc_assert", "(", "MEM_P", "(", "mem_rtx", ")", ")", ";", "rtx", "addr_rtx", "=", "XEXP", "(", "mem_rtx", ",", "0", ")", ";", "if", "(", "REG_P", "(", "addr_rtx", ")", ")", "return", "true", ";", "if", "(", "GET_CODE", "(", "addr_rtx", ")", "==", "PLUS", "&&", "GET_CODE", "(", "XEXP", "(", "addr_rtx", ",", "1", ")", ")", "==", "CONST_INT", ")", "return", "true", ";", "return", "false", ";", "}", ""], "natrual_language": ["Check", "if", "the", "address", "of", "MEM_RTX", "consists", "of", "a", "base", "register", "and", "an", "immediate", "offset", "."], "TS_V_token": ["nds32", "0", "1"], "File": "nds32-utils", "Func": "immed_offset_p", "Target": "nds32", "Target_Clf": "CPU", "Compiler_Type": "GCC", "Idx": 3174, "Length": 63, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "bool", "AAPAsmPrinter", "::", "PrintAsmMemoryOperand", "(", "const", "MachineInstr", "*", "MI", ",", "unsigned", "OpNo", ",", "unsigned", "AsmVariant", ",", "const", "char", "*", "ExtraCode", ",", "raw_ostream", "&", "O", ")", "{", "printMemOffOperand", "(", "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": ["AAP", "AAP"], "File": "AAPAsmPrinter", "Func": "PrintAsmMemoryOperand", "Target": "AAP", "Target_Clf": "MPU", "Compiler_Type": "LLVM", "Idx": 3175, "Length": 39, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "static", "HOST_WIDE_INT", "mmix_constant_alignment", "(", "const_tree", ",", "HOST_WIDE_INT", "basic_align", ")", "{", "if", "(", "basic_align", "<", "32", ")", "return", "32", ";", "return", "basic_align", ";", "}", ""], "natrual_language": ["CONSTANT_ALIGNMENT", "."], "TS_V_token": ["mmix", "32", "32"], "File": "mmix", "Func": "mmix_constant_alignment", "Target": "mmix", "Target_Clf": "CPU", "Compiler_Type": "GCC", "Idx": 3176, "Length": 23, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "int", "frv_trampoline_size", "(", "void", ")", "{", "if", "(", "TARGET_FDPIC", ")", "return", "8", "+", "6", "*", "4", ";", "return", "5", "*", "4", ";", "}", ""], "natrual_language": ["A", "C", "expression", "for", "the", "size", "in", "bytes", "of", "the", "trampoline", ",", "as", "an", "integer", ".", "The", "template", "is", ":", "setlo", "#", "0", ",", "<", "jmp_reg", ">", "setlo", "#", "0", ",", "<", "static_chain", ">", "sethi", "#", "0", ",", "<", "jmp_reg", ">", "sethi", "#", "0", ",", "<", "static_chain", ">", "jmpl", "@", "(", "gr0", ",", "<", "jmp_reg", ">", ")"], "TS_V_token": ["frv", "8", "6", "4", "5", "4"], "File": "frv", "Func": "frv_trampoline_size", "Target": "frv", "Target_Clf": "VLIW", "Compiler_Type": "GCC", "Idx": 3177, "Length": 23, "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": 3178, "Length": 366, "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": 3179, "Length": 15, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "static", "int", "compute_total_frame_size", "(", "void", ")", "{", "int", "total_size", "=", "(", "get_frame_size", "(", ")", "+", "tilegx_saved_regs_size", "(", ")", "+", "crtl", "->", "outgoing_args_size", "+", "crtl", "->", "args", ".", "pretend_args_size", ")", ";", "if", "(", "!", "tilegx_current_function_is_leaf", "(", ")", "||", "cfun", "->", "calls_alloca", ")", "{", "total_size", "+=", "STACK_POINTER_OFFSET", ";", "}", "return", "round_frame_size", "(", "total_size", ")", ";", "}", ""], "natrual_language": ["Return", "the", "frame", "size", "."], "TS_V_token": ["tilegx"], "File": "tilegx", "Func": "compute_total_frame_size", "Target": "tilegx", "Target_Clf": "VLIW", "Compiler_Type": "GCC", "Idx": 3180, "Length": 54, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "bool", "rl78_hl_b_c_addr_p", "(", "rtx", "op", ")", "{", "rtx", "hl", ",", "bc", ";", "if", "(", "GET_CODE", "(", "op", ")", "!=", "PLUS", ")", "return", "false", ";", "hl", "=", "XEXP", "(", "op", ",", "0", ")", ";", "bc", "=", "XEXP", "(", "op", ",", "1", ")", ";", "if", "(", "GET_CODE", "(", "hl", ")", "==", "ZERO_EXTEND", ")", "{", "rtx", "tmp", "=", "hl", ";", "hl", "=", "bc", ";", "bc", "=", "tmp", ";", "}", "if", "(", "GET_CODE", "(", "hl", ")", "!=", "REG", ")", "return", "false", ";", "if", "(", "GET_CODE", "(", "bc", ")", "!=", "ZERO_EXTEND", ")", "return", "false", ";", "bc", "=", "XEXP", "(", "bc", ",", "0", ")", ";", "if", "(", "GET_CODE", "(", "bc", ")", "!=", "REG", ")", "return", "false", ";", "if", "(", "REGNO", "(", "hl", ")", "!=", "HL_REG", ")", "return", "false", ";", "if", "(", "REGNO", "(", "bc", ")", "!=", "B_REG", "&&", "REGNO", "(", "bc", ")", "!=", "C_REG", ")", "return", "false", ";", "return", "true", ";", "}", ""], "natrual_language": ["Used", "by", "the", "Whb", "constraint", ".", "Match", "addresses", "that", "use", "HL+B", "or", "HL+C", "addressing", "."], "TS_V_token": ["rl78", "0", "1", "0"], "File": "rl78", "Func": "rl78_hl_b_c_addr_p", "Target": "rl78", "Target_Clf": "MPU", "Compiler_Type": "GCC", "Idx": 3181, "Length": 146, "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": 3182, "Length": 91, "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": 3183, "Length": 70, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "TargetPassConfig", "*", "Z80TargetMachine", "::", "createPassConfig", "(", "PassManagerBase", "&", "PM", ")", "{", "return", "new", "Z80PassConfig", "(", "*", "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": ["Z80", "Z80", "Z80"], "File": "Z80TargetMachine (3)", "Func": "createPassConfig", "Target": "Z80", "Target_Clf": "MPU", "Compiler_Type": "LLVM", "Idx": 3184, "Length": 22, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "PreservedAnalyses", "AMDGPUUseNativeCallsPass", "::", "run", "(", "Function", "&", "F", ",", "FunctionAnalysisManager", "&", "AM", ")", "{", "if", "(", "UseNative", ".", "empty", "(", ")", ")", "return", "PreservedAnalyses", "::", "all", "(", ")", ";", "AMDGPULibCalls", "Simplifier", ";", "Simplifier", ".", "initNativeFuncs", "(", ")", ";", "bool", "Changed", "=", "false", ";", "for", "(", "auto", "&", "BB", ":", "F", ")", "{", "for", "(", "BasicBlock", "::", "iterator", "I", "=", "BB", ".", "begin", "(", ")", ",", "E", "=", "BB", ".", "end", "(", ")", ";", "I", "!=", "E", ";", ")", "{", "CallInst", "*", "CI", "=", "dyn_cast", "<", "CallInst", ">", "(", "I", ")", ";", "++", "I", ";", "if", "(", "!", "CI", ")", "continue", ";", "Function", "*", "Callee", "=", "CI", "->", "getCalledFunction", "(", ")", ";", "if", "(", "Callee", "==", "nullptr", ")", "continue", ";", "if", "(", "Simplifier", ".", "useNative", "(", "CI", ")", ")", "Changed", "=", "true", ";", "}", "}", "return", "Changed", "?", "PreservedAnalyses", "::", "none", "(", ")", ":", "PreservedAnalyses", "::", "all", "(", ")", ";", "}", ""], "natrual_language": ["Run", "the", "analysis", "pass", "over", "a", "function", "and", "produce", "a", "dominator", "tree", "."], "TS_V_token": ["AMDGPU", "AMDGPU", "AMDGPU"], "File": "AMDGPULibCalls2", "Func": "run", "Target": "AMDGPU", "Target_Clf": "GPU", "Compiler_Type": "LLVM", "Idx": 3185, "Length": 150, "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": 3186, "Length": 138, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "static", "char", "*", "to_host_file_spec", "(", "char", "*", "filespec", ")", "{", "if", "(", "strchr", "(", "filespec", ",", "']'", ")", "||", "strchr", "(", "filespec", ",", "':'", ")", ")", "{", "return", "filespec", ";", "}", "else", "{", "strcpy", "(", "filename_buff", ",", "filespec", ")", ";", "decc$to_vms", "(", "filespec", ",", "translate_unix", ",", "1", ",", "1", ")", ";", "strcpy", "(", "new_host_filespec", ",", "filename_buff", ")", ";", "return", "new_host_filespec", ";", "}", "return", "filespec", ";", "}", ""], "natrual_language": ["Translate", "a", "Unix", "syntax", "file", "specification", "FILESPEC", "into", "VMS", "syntax", ".", "If", "indicators", "of", "VMS", "syntax", "found", ",", "return", "input", "string", ".", "Return", "a", "pointer", "to", "a", "static", "buffer", "."], "TS_V_token": ["vms", "1", "1"], "File": "vms-ld", "Func": "to_host_file_spec", "Target": "vms", "Target_Clf": "Virtual ISA", "Compiler_Type": "GCC", "Idx": 3187, "Length": 66, "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": 3188, "Length": 403, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "bool", "XCoreFTAOElim", "::", "runOnMachineFunction", "(", "MachineFunction", "&", "MF", ")", "{", "const", "XCoreInstrInfo", "&", "TII", "=", "*", "static_cast", "<", "const", "XCoreInstrInfo", "*", ">", "(", "MF", ".", "getSubtarget", "(", ")", ".", "getInstrInfo", "(", ")", ")", ";", "unsigned", "StackSize", "=", "MF", ".", "getFrameInfo", "(", ")", "->", "getStackSize", "(", ")", ";", "for", "(", "MachineFunction", "::", "iterator", "MFI", "=", "MF", ".", "begin", "(", ")", ",", "E", "=", "MF", ".", "end", "(", ")", ";", "MFI", "!=", "E", ";", "++", "MFI", ")", "{", "MachineBasicBlock", "&", "MBB", "=", "*", "MFI", ";", "for", "(", "MachineBasicBlock", "::", "iterator", "MBBI", "=", "MBB", ".", "begin", "(", ")", ",", "EE", "=", "MBB", ".", "end", "(", ")", ";", "MBBI", "!=", "EE", ";", "++", "MBBI", ")", "{", "if", "(", "MBBI", "->", "getOpcode", "(", ")", "==", "XCore", "::", "FRAME_TO_ARGS_OFFSET", ")", "{", "MachineInstr", "*", "OldInst", "=", "MBBI", ";", "unsigned", "Reg", "=", "OldInst", "->", "getOperand", "(", "0", ")", ".", "getReg", "(", ")", ";", "MBBI", "=", "TII", ".", "loadImmediate", "(", "MBB", ",", "MBBI", ",", "Reg", ",", "StackSize", ")", ";", "OldInst", "->", "eraseFromParent", "(", ")", ";", "}", "}", "}", "return", "true", ";", "}", ""], "natrual_language": ["runOnMachineFunction", "-", "Emit", "the", "function", "body", "."], "TS_V_token": ["XCore", "XCore", "XCore", "XCore", "XCore::FRAME_TO_ARGS_OFFSET", "0"], "File": "XCoreFrameToArgsOffsetElim1", "Func": "runOnMachineFunction", "Target": "XCore", "Target_Clf": "MPU", "Compiler_Type": "LLVM", "Idx": 3189, "Length": 173, "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": 3190, "Length": 401, "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": 3191, "Length": 178, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "bool", "AMDGPUArgumentUsageInfo", "::", "doFinalization", "(", "Module", "&", "M", ")", "{", "ArgInfoMap", ".", "clear", "(", ")", ";", "return", "false", ";", "}", ""], "natrual_language": ["doFinalization", "-", "Virtual", "method", "overriden", "by", "subclasses", "to", "do", "any", "necessary", "clean", "up", "after", "all", "passes", "have", "run", "."], "TS_V_token": ["AMDGPU", "AMDGPU"], "File": "AMDGPUArgumentUsageInfo", "Func": "doFinalization", "Target": "AMDGPU", "Target_Clf": "GPU", "Compiler_Type": "LLVM", "Idx": 3192, "Length": 20, "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": 3193, "Length": 91, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "unsigned", "HexagonRegisterInfo", "::", "getFrameRegister", "(", "const", "MachineFunction", "&", "MF", ")", "const", "{", "const", "TargetFrameLowering", "*", "TFI", "=", "MF", ".", "getSubtarget", "(", ")", ".", "getFrameLowering", "(", ")", ";", "if", "(", "TFI", "->", "hasFP", "(", "MF", ")", ")", "{", "return", "Hexagon", "::", "R30", ";", "}", "return", "Hexagon", "::", "R29", ";", "}", ""], "natrual_language": ["Debug", "information", "queries", "."], "TS_V_token": ["Hexagon", "Hexagon", "Hexagon::R30", "Hexagon::R29"], "File": "HexagonRegisterInfo14", "Func": "getFrameRegister", "Target": "Hexagon", "Target_Clf": "DSP", "Compiler_Type": "LLVM", "Idx": 3194, "Length": 49, "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", "(", "known_eq", "(", "TYPE_VECTOR_SUBPARTS", "(", "vectype", ")", ",", "2u", ")", "?", "!", "TARGET_USE_SCATTER_2PARTS", ":", "(", "known_eq", "(", "TYPE_VECTOR_SUBPARTS", "(", "vectype", ")", ",", "4u", ")", "?", "!", "TARGET_USE_SCATTER_4PARTS", ":", "!", "TARGET_USE_SCATTER", ")", ")", "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", "2u", "4u", "0", "8", "1", "0"], "File": "i3861", "Func": "ix86_vectorize_builtin_scatter", "Target": "i386", "Target_Clf": "CPU", "Compiler_Type": "GCC", "Idx": 3195, "Length": 405, "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": 3196, "Length": 65, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "static", "rtx", "legitimize_tls_address", "(", "rtx", "addr", ")", "{", "rtx", "ret", ",", "tmp", ",", "t1", ",", "t2", ",", "tp", ";", "rtx_insn", "*", "insn", ";", "if", "(", "GET_CODE", "(", "addr", ")", "!=", "SYMBOL_REF", ")", "return", "addr", ";", "switch", "(", "SYMBOL_REF_TLS_MODEL", "(", "addr", ")", ")", "{", "case", "TLS_MODEL_GLOBAL_DYNAMIC", ":", "tmp", "=", "gen_reg_rtx", "(", "Pmode", ")", ";", "if", "(", "flag_pic", ")", "emit_insn", "(", "gen_tgd_load_pic", "(", "tmp", ",", "addr", ")", ")", ";", "else", "emit_insn", "(", "gen_tgd_load", "(", "tmp", ",", "addr", ")", ")", ";", "ret", "=", "hppa_tls_call", "(", "tmp", ")", ";", "break", ";", "case", "TLS_MODEL_LOCAL_DYNAMIC", ":", "ret", "=", "gen_reg_rtx", "(", "Pmode", ")", ";", "tmp", "=", "gen_reg_rtx", "(", "Pmode", ")", ";", "start_sequence", "(", ")", ";", "if", "(", "flag_pic", ")", "emit_insn", "(", "gen_tld_load_pic", "(", "tmp", ",", "addr", ")", ")", ";", "else", "emit_insn", "(", "gen_tld_load", "(", "tmp", ",", "addr", ")", ")", ";", "t1", "=", "hppa_tls_call", "(", "tmp", ")", ";", "insn", "=", "get_insns", "(", ")", ";", "end_sequence", "(", ")", ";", "t2", "=", "gen_reg_rtx", "(", "Pmode", ")", ";", "emit_libcall_block", "(", "insn", ",", "t2", ",", "t1", ",", "gen_rtx_UNSPEC", "(", "Pmode", ",", "gen_rtvec", "(", "1", ",", "const0_rtx", ")", ",", "UNSPEC_TLSLDBASE", ")", ")", ";", "emit_insn", "(", "gen_tld_offset_load", "(", "ret", ",", "addr", ",", "t2", ")", ")", ";", "break", ";", "case", "TLS_MODEL_INITIAL_EXEC", ":", "tp", "=", "gen_reg_rtx", "(", "Pmode", ")", ";", "tmp", "=", "gen_reg_rtx", "(", "Pmode", ")", ";", "ret", "=", "gen_reg_rtx", "(", "Pmode", ")", ";", "emit_insn", "(", "gen_tp_load", "(", "tp", ")", ")", ";", "if", "(", "flag_pic", ")", "emit_insn", "(", "gen_tie_load_pic", "(", "tmp", ",", "addr", ")", ")", ";", "else", "emit_insn", "(", "gen_tie_load", "(", "tmp", ",", "addr", ")", ")", ";", "emit_move_insn", "(", "ret", ",", "gen_rtx_PLUS", "(", "Pmode", ",", "tp", ",", "tmp", ")", ")", ";", "break", ";", "case", "TLS_MODEL_LOCAL_EXEC", ":", "tp", "=", "gen_reg_rtx", "(", "Pmode", ")", ";", "ret", "=", "gen_reg_rtx", "(", "Pmode", ")", ";", "emit_insn", "(", "gen_tp_load", "(", "tp", ")", ")", ";", "emit_insn", "(", "gen_tle_load", "(", "ret", ",", "addr", ",", "tp", ")", ")", ";", "break", ";", "default", ":", "gcc_unreachable", "(", ")", ";", "}", "return", "ret", ";", "}", ""], "natrual_language": ["ADDR", "contains", "a", "thread-local", "SYMBOL_REF", ".", "Generate", "code", "to", "compute", "this", "(", "thread-local", ")", "address", "."], "TS_V_token": ["pa", "1"], "File": "pa", "Func": "legitimize_tls_address", "Target": "pa", "Target_Clf": "CPU", "Compiler_Type": "GCC", "Idx": 3197, "Length": 317, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "SDValue", "GBZ80TargetLowering", "::", "LowerOperation", "(", "SDValue", "Op", ",", "SelectionDAG", "&", "DAG", ")", "const", "{", "switch", "(", "Op", ".", "getOpcode", "(", ")", ")", "{", "case", "ISD", "::", "ZERO_EXTEND", ":", "return", "LowerZExt", "(", "Op", ",", "DAG", ")", ";", "case", "ISD", "::", "SIGN_EXTEND", ":", "return", "LowerSExt", "(", "Op", ",", "DAG", ")", ";", "case", "ISD", "::", "SUB", ":", "case", "ISD", "::", "SUBC", ":", "return", "LowerSUB", "(", "Op", ",", "DAG", ")", ";", "case", "ISD", "::", "SRL", ":", "case", "ISD", "::", "SHL", ":", "case", "ISD", "::", "SRA", ":", "case", "ISD", "::", "ROTL", ":", "case", "ISD", "::", "ROTR", ":", "return", "LowerShifts", "(", "Op", ",", "DAG", ")", ";", "case", "ISD", "::", "AND", ":", "case", "ISD", "::", "OR", ":", "case", "ISD", "::", "XOR", ":", "return", "LowerBinaryOp", "(", "Op", ",", "DAG", ")", ";", "case", "ISD", "::", "SELECT_CC", ":", "return", "LowerSelectCC", "(", "Op", ",", "DAG", ")", ";", "case", "ISD", "::", "BR_CC", ":", "return", "LowerBrCC", "(", "Op", ",", "DAG", ")", ";", "case", "ISD", "::", "GlobalAddress", ":", "return", "LowerGlobalAddress", "(", "Op", ",", "DAG", ")", ";", "case", "ISD", "::", "STORE", ":", "return", "LowerStore", "(", "Op", ",", "DAG", ")", ";", "case", "ISD", "::", "LOAD", ":", "return", "LowerLoad", "(", "Op", ",", "DAG", ")", ";", "default", ":", "llvm_unreachable", "(", "\"unimplemented operation\"", ")", ";", "}", "}", ""], "natrual_language": ["LowerOperation", "-", "Provide", "custom", "lowering", "hooks", "for", "some", "operations", "."], "TS_V_token": ["GBZ80", "GB", "ISD::ZERO_EXTEND", "ISD::SIGN_EXTEND", "ISD::SUB", "ISD::SUBC", "ISD::SRL", "ISD::SHL", "ISD::SRA", "ISD::ROTL", "ISD::ROTR", "ISD::AND", "ISD::OR", "ISD::XOR", "ISD::SELECT_CC", "ISD::BR_CC", "ISD::GlobalAddress", "ISD::STORE", "ISD::LOAD", "\"unimplemented operation\""], "File": "GBZ80ISelLowering (2)", "Func": "LowerOperation", "Target": "GBZ80", "Target_Clf": "MPU", "Compiler_Type": "LLVM", "Idx": 3198, "Length": 197, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "void", "Stack", "::", "addDef", "(", "unsigned", "Reg", ",", "const", "DILocalVariable", "*", "DbgVar", ")", "{", "Data", ".", "push_front", "(", "StackVreg", "(", "Reg", ",", "DbgVar", ")", ")", ";", "}", ""], "natrual_language": ["Add", "a", "virtual", "register", "definition", "operand", "."], "TS_V_token": ["TVM"], "File": "TVMStack", "Func": "addDef", "Target": "TVM", "Target_Clf": "Virtual ISA", "Compiler_Type": "LLVM", "Idx": 3199, "Length": 27, "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": 3200, "Length": 157, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "bool", "AArch64BranchTargets", "::", "runOnMachineFunction", "(", "MachineFunction", "&", "MF", ")", "{", "const", "Function", "&", "F", "=", "MF", ".", "getFunction", "(", ")", ";", "if", "(", "!", "F", ".", "hasFnAttribute", "(", "\"branch-target-enforcement\"", ")", ")", "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", "(", ")", "&&", "(", "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", "\"branch-target-enforcement\"", "\"********** AArch64 Branch Targets **********\\n\"", "\"********** Function: \"", "8"], "File": "AArch64BranchTargets", "Func": "runOnMachineFunction", "Target": "AArch64", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 3201, "Length": 204, "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": ["GBZ80"], "File": "GBZ80MCExpr", "Func": "findAssociatedFragment", "Target": "GBZ80", "Target_Clf": "MPU", "Compiler_Type": "LLVM", "Idx": 3202, "Length": 18, "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": 3203, "Length": 31, "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": 3204, "Length": 12, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "bool", "runOnMachineFunction", "(", "MachineFunction", "&", "MF", ")", "{", "TII", "=", "static_cast", "<", "const", "R600InstrInfo", "*", ">", "(", "MF", ".", "getTarget", "(", ")", ".", "getInstrInfo", "(", ")", ")", ";", "TRI", "=", "&", "TII", "->", "getRegisterInfo", "(", ")", ";", "DEBUG", "(", "MF", ".", "dump", "(", ")", ";", ")", ";", "OrderedBlks", ".", "clear", "(", ")", ";", "FuncRep", "=", "&", "MF", ";", "MLI", "=", "&", "getAnalysis", "<", "MachineLoopInfo", ">", "(", ")", ";", "DEBUG", "(", "dbgs", "(", ")", "<<", "\"LoopInfo:\\n\"", ";", "PrintLoopinfo", "(", "*", "MLI", ")", ";", ")", ";", "MDT", "=", "&", "getAnalysis", "<", "MachineDominatorTree", ">", "(", ")", ";", "DEBUG", "(", "MDT", "->", "print", "(", "dbgs", "(", ")", ",", "(", "const", "llvm", "::", "Module", "*", ")", "0", ")", ";", ")", ";", "PDT", "=", "&", "getAnalysis", "<", "MachinePostDominatorTree", ">", "(", ")", ";", "DEBUG", "(", "PDT", "->", "print", "(", "dbgs", "(", ")", ")", ";", ")", ";", "prepare", "(", ")", ";", "run", "(", ")", ";", "DEBUG", "(", "MF", ".", "dump", "(", ")", ";", ")", ";", "return", "true", ";", "}", ""], "natrual_language": ["runOnMachineFunction", "-", "Emit", "the", "function", "body", "."], "TS_V_token": ["R600", "\"LoopInfo:\\n\"", "0"], "File": "AMDILCFGStructurizer12", "Func": "runOnMachineFunction", "Target": "R600", "Target_Clf": "GPU", "Compiler_Type": "LLVM", "Idx": 3205, "Length": 161, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "SDValue", "MSP430TargetLowering", "::", "LowerFormalArguments", "(", "SDValue", "Chain", ",", "CallingConv", "::", "ID", "CallConv", ",", "bool", "isVarArg", ",", "const", "SmallVectorImpl", "<", "ISD", "::", "InputArg", ">", "&", "Ins", ",", "SDLoc", "dl", ",", "SelectionDAG", "&", "DAG", ",", "SmallVectorImpl", "<", "SDValue", ">", "&", "InVals", ")", "const", "{", "switch", "(", "CallConv", ")", "{", "default", ":", "llvm_unreachable", "(", "\"Unsupported calling convention\"", ")", ";", "case", "CallingConv", "::", "C", ":", "case", "CallingConv", "::", "Fast", ":", "return", "LowerCCCArguments", "(", "Chain", ",", "CallConv", ",", "isVarArg", ",", "Ins", ",", "dl", ",", "DAG", ",", "InVals", ")", ";", "case", "CallingConv", "::", "MSP430_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": ["MSP430", "MSP430", "ISD::InputArg", "\"Unsupported calling convention\"", "MSP430", "\"ISRs cannot have arguments\""], "File": "MSP430ISelLowering (2)", "Func": "LowerFormalArguments", "Target": "MSP430", "Target_Clf": "MPU", "Compiler_Type": "LLVM", "Idx": 3206, "Length": 105, "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": 3207, "Length": 25, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "bool", "PPCInstrInfo", "::", "isUnpredicatedTerminator", "(", "const", "MachineInstr", "&", "MI", ")", "const", "{", "if", "(", "!", "MI", ".", "isTerminator", "(", ")", ")", "return", "false", ";", "if", "(", "MI", ".", "isBranch", "(", ")", "&&", "!", "MI", ".", "isBarrier", "(", ")", ")", "return", "true", ";", "return", "!", "isPredicated", "(", "MI", ")", ";", "}", ""], "natrual_language": ["Returns", "true", "if", "the", "instruction", "is", "a", "terminator", "instruction", "that", "has", "not", "been", "predicated", "."], "TS_V_token": ["PowerPC", "PPC"], "File": "PPCInstrInfo (2)2", "Func": "isUnpredicatedTerminator", "Target": "PowerPC", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 3208, "Length": 50, "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": 3209, "Length": 41, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "StringRef", "TriCoreCallingConvHook", "::", "getFunctionName", "(", "uint32_t", "pos", ")", "{", "return", "regRecord", "[", "pos", "]", ".", "fName", ";", "}", ""], "natrual_language": ["Get", "the", "entire", "name", "of", "this", "function", "."], "TS_V_token": ["TriCore", "TriCore"], "File": "TriCoreCallingConvHook", "Func": "getFunctionName", "Target": "TriCore", "Target_Clf": "MPU", "Compiler_Type": "LLVM", "Idx": 3210, "Length": 18, "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": 3211, "Length": 154, "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": 3212, "Length": 67, "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": 3213, "Length": 144, "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": 3214, "Length": 161, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "SDValue", "HexagonTargetLowering", "::", "getInt", "(", "unsigned", "IntId", ",", "MVT", "ResTy", ",", "ArrayRef", "<", "SDValue", ">", "Ops", ",", "const", "SDLoc", "&", "dl", ",", "SelectionDAG", "&", "DAG", ")", "const", "{", "SmallVector", "<", "SDValue", ",", "4", ">", "IntOps", ";", "IntOps", ".", "push_back", "(", "DAG", ".", "getConstant", "(", "IntId", ",", "dl", ",", "MVT", "::", "i32", ")", ")", ";", "for", "(", "const", "SDValue", "&", "Op", ":", "Ops", ")", "IntOps", ".", "push_back", "(", "Op", ")", ";", "return", "DAG", ".", "getNode", "(", "ISD", "::", "INTRINSIC_WO_CHAIN", ",", "dl", ",", "ResTy", ",", "IntOps", ")", ";", "}", ""], "natrual_language": ["Get", "a", "constant", "integer", "value", "."], "TS_V_token": ["Hexagon", "Hexagon", "4", "MVT::i32", "ISD::INTRINSIC_WO_CHAIN"], "File": "HexagonISelLoweringHVX", "Func": "getInt", "Target": "Hexagon", "Target_Clf": "DSP", "Compiler_Type": "LLVM", "Idx": 3215, "Length": 87, "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": 3216, "Length": 158, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "void", "WebAssemblyInstPrinter", "::", "printInst", "(", "const", "MCInst", "*", "MI", ",", "raw_ostream", "&", "OS", ",", "StringRef", "Annot", ",", "const", "MCSubtargetInfo", "&", ")", "{", "printInstruction", "(", "MI", ",", "OS", ")", ";", "const", "MCInstrDesc", "&", "Desc", "=", "MII", ".", "get", "(", "MI", "->", "getOpcode", "(", ")", ")", ";", "if", "(", "Desc", ".", "isVariadic", "(", ")", ")", "for", "(", "auto", "i", "=", "Desc", ".", "getNumOperands", "(", ")", ",", "e", "=", "MI", "->", "getNumOperands", "(", ")", ";", "i", "<", "e", ";", "++", "i", ")", "{", "if", "(", "i", "!=", "0", "&&", "(", "MI", "->", "getOpcode", "(", ")", "!=", "WebAssembly", "::", "CALL_INDIRECT_VOID", "||", "i", "!=", "Desc", ".", "getNumOperands", "(", ")", ")", ")", "OS", "<<", "\", \"", ";", "printOperand", "(", "MI", ",", "i", ",", "OS", ")", ";", "}", "printAnnotation", "(", "OS", ",", "Annot", ")", ";", "if", "(", "CommentStream", ")", "{", "switch", "(", "MI", "->", "getOpcode", "(", ")", ")", "{", "default", ":", "break", ";", "case", "WebAssembly", "::", "LOOP", ":", "{", "printAnnotation", "(", "OS", ",", "\"label\"", "+", "utostr", "(", "ControlFlowCounter", ")", "+", "':'", ")", ";", "ControlFlowStack", ".", "push_back", "(", "std", "::", "make_pair", "(", "ControlFlowCounter", "++", ",", "true", ")", ")", ";", "break", ";", "}", "case", "WebAssembly", "::", "BLOCK", ":", "ControlFlowStack", ".", "push_back", "(", "std", "::", "make_pair", "(", "ControlFlowCounter", "++", ",", "false", ")", ")", ";", "break", ";", "case", "WebAssembly", "::", "END_LOOP", ":", "if", "(", "!", "ControlFlowStack", ".", "empty", "(", ")", ")", "ControlFlowStack", ".", "pop_back", "(", ")", ";", "break", ";", "case", "WebAssembly", "::", "END_BLOCK", ":", "if", "(", "!", "ControlFlowStack", ".", "empty", "(", ")", ")", "printAnnotation", "(", "OS", ",", "\"label\"", "+", "utostr", "(", "ControlFlowStack", ".", "pop_back_val", "(", ")", ".", "first", ")", "+", "':'", ")", ";", "break", ";", "}", "unsigned", "NumFixedOperands", "=", "Desc", ".", "NumOperands", ";", "SmallSet", "<", "uint64_t", ",", "8", ">", "Printed", ";", "for", "(", "unsigned", "i", "=", "0", ",", "e", "=", "MI", "->", "getNumOperands", "(", ")", ";", "i", "<", "e", ";", "++", "i", ")", "{", "if", "(", "!", "(", "i", "<", "NumFixedOperands", "?", "(", "Desc", ".", "OpInfo", "[", "i", "]", ".", "OperandType", "==", "WebAssembly", "::", "OPERAND_BASIC_BLOCK", ")", ":", "(", "Desc", ".", "TSFlags", "&", "WebAssemblyII", "::", "VariableOpImmediateIsLabel", ")", ")", ")", "continue", ";", "uint64_t", "Depth", "=", "MI", "->", "getOperand", "(", "i", ")", ".", "getImm", "(", ")", ";", "if", "(", "!", "Printed", ".", "insert", "(", "Depth", ")", ".", "second", ")", "continue", ";", "const", "auto", "&", "Pair", "=", "ControlFlowStack", ".", "rbegin", "(", ")", "[", "Depth", "]", ";", "printAnnotation", "(", "OS", ",", "utostr", "(", "Depth", ")", "+", "\": \"", "+", "(", "Pair", ".", "second", "?", "\"up\"", ":", "\"down\"", ")", "+", "\" to label\"", "+", "utostr", "(", "Pair", ".", "first", ")", ")", ";", "}", "}", "}", ""], "natrual_language": ["Print", "the", "specified", "MCInst", "to", "the", "specified", "raw_ostream", "."], "TS_V_token": ["WebAssembly", "WebAssembly", "0", "WebAssembly::CALL_INDIRECT_VOID", "\", \"", "WebAssembly::LOOP", "\"label\"", "WebAssembly::BLOCK", "WebAssembly::END_LOOP", "WebAssembly::END_BLOCK", "\"label\"", "8", "0", "WebAssembly::OPERAND_BASIC_BLOCK", "WebAssemblyII::VariableOpImmediateIsLabel", "\": \"", "\"up\"", "\"down\"", "\" to label\""], "File": "WebAssemblyInstPrinter35", "Func": "printInst", "Target": "WebAssembly", "Target_Clf": "Virtual ISA", "Compiler_Type": "LLVM", "Idx": 3217, "Length": 414, "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": 3218, "Length": 158, "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": 3219, "Length": 187, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "Register", "SITargetLowering", "::", "getRegisterByName", "(", "const", "char", "*", "RegName", ",", "LLT", "VT", ",", "const", "MachineFunction", "&", "MF", ")", "const", "{", "Register", "Reg", "=", "StringSwitch", "<", "Register", ">", "(", "RegName", ")", ".", "Case", "(", "\"m0\"", ",", "AMDGPU", "::", "M0", ")", ".", "Case", "(", "\"exec\"", ",", "AMDGPU", "::", "EXEC", ")", ".", "Case", "(", "\"exec_lo\"", ",", "AMDGPU", "::", "EXEC_LO", ")", ".", "Case", "(", "\"exec_hi\"", ",", "AMDGPU", "::", "EXEC_HI", ")", ".", "Case", "(", "\"flat_scratch\"", ",", "AMDGPU", "::", "FLAT_SCR", ")", ".", "Case", "(", "\"flat_scratch_lo\"", ",", "AMDGPU", "::", "FLAT_SCR_LO", ")", ".", "Case", "(", "\"flat_scratch_hi\"", ",", "AMDGPU", "::", "FLAT_SCR_HI", ")", ".", "Default", "(", "Register", "(", ")", ")", ";", "if", "(", "Reg", "==", "AMDGPU", "::", "NoRegister", ")", "{", "report_fatal_error", "(", "Twine", "(", "\"invalid register name \\\"\"", "+", "StringRef", "(", "RegName", ")", "+", "\"\\\".\"", ")", ")", ";", "}", "if", "(", "!", "Subtarget", "->", "hasFlatScrRegister", "(", ")", "&&", "Subtarget", "->", "getRegisterInfo", "(", ")", "->", "regsOverlap", "(", "Reg", ",", "AMDGPU", "::", "FLAT_SCR", ")", ")", "{", "report_fatal_error", "(", "Twine", "(", "\"invalid register \\\"\"", "+", "StringRef", "(", "RegName", ")", "+", "\"\\\" for subtarget.\"", ")", ")", ";", "}", "switch", "(", "Reg", ")", "{", "case", "AMDGPU", "::", "M0", ":", "case", "AMDGPU", "::", "EXEC_LO", ":", "case", "AMDGPU", "::", "EXEC_HI", ":", "case", "AMDGPU", "::", "FLAT_SCR_LO", ":", "case", "AMDGPU", "::", "FLAT_SCR_HI", ":", "if", "(", "VT", ".", "getSizeInBits", "(", ")", "==", "32", ")", "return", "Reg", ";", "break", ";", "case", "AMDGPU", "::", "EXEC", ":", "case", "AMDGPU", "::", "FLAT_SCR", ":", "if", "(", "VT", ".", "getSizeInBits", "(", ")", "==", "64", ")", "return", "Reg", ";", "break", ";", "default", ":", "llvm_unreachable", "(", "\"missing register type checking\"", ")", ";", "}", "report_fatal_error", "(", "Twine", "(", "\"invalid type for register \\\"\"", "+", "StringRef", "(", "RegName", ")", "+", "\"\\\".\"", ")", ")", ";", "}", ""], "natrual_language": ["Return", "the", "register", "ID", "of", "the", "name", "passed", "in", "."], "TS_V_token": ["AMDGPU", "SI", "\"m0\"", "AMDGPU::M0", "\"exec\"", "AMDGPU::EXEC", "\"exec_lo\"", "AMDGPU::EXEC_LO", "\"exec_hi\"", "AMDGPU::EXEC_HI", "\"flat_scratch\"", "AMDGPU::FLAT_SCR", "\"flat_scratch_lo\"", "AMDGPU::FLAT_SCR_LO", "\"flat_scratch_hi\"", "AMDGPU::FLAT_SCR_HI", "AMDGPU::NoRegister", "\"invalid register name \\\"\"", "\"\\\".\"", "AMDGPU::FLAT_SCR", "\"invalid register \\\"\"", "\"\\\" for subtarget.\"", "AMDGPU::M0", "AMDGPU::EXEC_LO", "AMDGPU::EXEC_HI", "AMDGPU::FLAT_SCR_LO", "AMDGPU::FLAT_SCR_HI", "32", "AMDGPU::EXEC", "AMDGPU::FLAT_SCR", "64", "\"missing register type checking\"", "\"invalid type for register \\\"\"", "\"\\\".\""], "File": "SIISelLowering10", "Func": "getRegisterByName", "Target": "AMDGPU", "Target_Clf": "GPU", "Compiler_Type": "LLVM", "Idx": 3220, "Length": 261, "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": 3221, "Length": 83, "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": 3222, "Length": 220, "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": ["rs6000"], "File": "rs6000", "Func": "rs6000_is_valid_2insn_and", "Target": "rs6000", "Target_Clf": "CPU", "Compiler_Type": "GCC", "Idx": 3223, "Length": 94, "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": 3224, "Length": 208, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "static", "int", "sequent_regs_live", "(", "void", ")", "{", "int", "reg", ";", "int", "live_seq", "=", "0", ";", "int", "cur_seq", "=", "0", ";", "for", "(", "reg", "=", "0", ";", "reg", "<", "18", ";", "++", "reg", ")", "{", "if", "(", "!", "call_used_regs", "[", "reg", "]", ")", "{", "if", "(", "regs_ever_live", "[", "reg", "]", ")", "{", "++", "live_seq", ";", "++", "cur_seq", ";", "}", "else", "cur_seq", "=", "0", ";", "}", "}", "if", "(", "!", "frame_pointer_needed", ")", "{", "if", "(", "regs_ever_live", "[", "REG_Y", "]", ")", "{", "++", "live_seq", ";", "++", "cur_seq", ";", "}", "else", "cur_seq", "=", "0", ";", "if", "(", "regs_ever_live", "[", "REG_Y", "+", "1", "]", ")", "{", "++", "live_seq", ";", "++", "cur_seq", ";", "}", "else", "cur_seq", "=", "0", ";", "}", "else", "{", "cur_seq", "+=", "2", ";", "live_seq", "+=", "2", ";", "}", "return", "(", "cur_seq", "==", "live_seq", ")", "?", "live_seq", ":", "0", ";", "}", ""], "natrual_language": ["This", "function", "checks", "sequence", "of", "live", "registers"], "TS_V_token": ["avr", "0", "0", "0", "18", "0", "0", "1", "0", "2", "2", "0"], "File": "avr3", "Func": "sequent_regs_live", "Target": "avr", "Target_Clf": "MPU", "Compiler_Type": "GCC", "Idx": 3225, "Length": 137, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "void", "MetadataStreamerV3", "::", "end", "(", ")", "{", "std", "::", "string", "HSAMetadataString", ";", "raw_string_ostream", "StrOS", "(", "HSAMetadataString", ")", ";", "yaml", "::", "Output", "YOut", "(", "StrOS", ")", ";", "YOut", "<<", "HSAMetadataRoot", ";", "if", "(", "DumpHSAMetadata", ")", "dump", "(", "StrOS", ".", "str", "(", ")", ")", ";", "if", "(", "VerifyHSAMetadata", ")", "verify", "(", "StrOS", ".", "str", "(", ")", ")", ";", "}", ""], "natrual_language": ["Get", "a", "const_iterator", "to", "the", "end", "of", "the", "symbol", "table", "."], "TS_V_token": ["AMDGPU"], "File": "AMDGPUHSAMetadataStreamer24", "Func": "end", "Target": "AMDGPU", "Target_Clf": "GPU", "Compiler_Type": "LLVM", "Idx": 3226, "Length": 57, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "void", "MSP430RegisterInfo", "::", "eliminateFrameIndex", "(", "MachineBasicBlock", "::", "iterator", "II", ",", "int", "SPAdj", ",", "unsigned", "FIOperandNum", ",", "RegScavenger", "*", "RS", ")", "const", "{", "assert", "(", "SPAdj", "==", "0", "&&", "\"Unexpected\"", ")", ";", "MachineInstr", "&", "MI", "=", "*", "II", ";", "MachineBasicBlock", "&", "MBB", "=", "*", "MI", ".", "getParent", "(", ")", ";", "MachineFunction", "&", "MF", "=", "*", "MBB", ".", "getParent", "(", ")", ";", "const", "MSP430FrameLowering", "*", "TFI", "=", "getFrameLowering", "(", "MF", ")", ";", "DebugLoc", "dl", "=", "MI", ".", "getDebugLoc", "(", ")", ";", "int", "FrameIndex", "=", "MI", ".", "getOperand", "(", "FIOperandNum", ")", ".", "getIndex", "(", ")", ";", "unsigned", "BasePtr", "=", "(", "TFI", "->", "hasFP", "(", "MF", ")", "?", "MSP430", "::", "FP", ":", "MSP430", "::", "SP", ")", ";", "int", "Offset", "=", "MF", ".", "getFrameInfo", "(", ")", "->", "getObjectOffset", "(", "FrameIndex", ")", ";", "Offset", "+=", "2", ";", "if", "(", "!", "TFI", "->", "hasFP", "(", "MF", ")", ")", "Offset", "+=", "MF", ".", "getFrameInfo", "(", ")", "->", "getStackSize", "(", ")", ";", "else", "Offset", "+=", "2", ";", "Offset", "+=", "MI", ".", "getOperand", "(", "FIOperandNum", "+", "1", ")", ".", "getImm", "(", ")", ";", "if", "(", "MI", ".", "getOpcode", "(", ")", "==", "MSP430", "::", "ADD16ri", ")", "{", "const", "TargetInstrInfo", "&", "TII", "=", "*", "MF", ".", "getSubtarget", "(", ")", ".", "getInstrInfo", "(", ")", ";", "MI", ".", "setDesc", "(", "TII", ".", "get", "(", "MSP430", "::", "MOV16rr", ")", ")", ";", "MI", ".", "getOperand", "(", "FIOperandNum", ")", ".", "ChangeToRegister", "(", "BasePtr", ",", "false", ")", ";", "if", "(", "Offset", "==", "0", ")", "return", ";", "unsigned", "DstReg", "=", "MI", ".", "getOperand", "(", "0", ")", ".", "getReg", "(", ")", ";", "if", "(", "Offset", "<", "0", ")", "BuildMI", "(", "MBB", ",", "std", "::", "next", "(", "II", ")", ",", "dl", ",", "TII", ".", "get", "(", "MSP430", "::", "SUB16ri", ")", ",", "DstReg", ")", ".", "addReg", "(", "DstReg", ")", ".", "addImm", "(", "-", "Offset", ")", ";", "else", "BuildMI", "(", "MBB", ",", "std", "::", "next", "(", "II", ")", ",", "dl", ",", "TII", ".", "get", "(", "MSP430", "::", "ADD16ri", ")", ",", "DstReg", ")", ".", "addReg", "(", "DstReg", ")", ".", "addImm", "(", "Offset", ")", ";", "return", ";", "}", "MI", ".", "getOperand", "(", "FIOperandNum", ")", ".", "ChangeToRegister", "(", "BasePtr", ",", "false", ")", ";", "MI", ".", "getOperand", "(", "FIOperandNum", "+", "1", ")", ".", "ChangeToImmediate", "(", "Offset", ")", ";", "}", ""], "natrual_language": ["This", "method", "must", "be", "overriden", "to", "eliminate", "abstract", "frame", "indices", "from", "instructions", "which", "may", "use", "them", "."], "TS_V_token": ["MSP430", "MSP430", "0", "\"Unexpected\"", "MSP430", "MSP430::FP", "MSP430::SP", "2", "2", "1", "MSP430::ADD16ri", "MSP430::MOV16rr", "0", "0", "0", "MSP430::SUB16ri", "MSP430::ADD16ri", "1"], "File": "MSP430RegisterInfo (2)", "Func": "eliminateFrameIndex", "Target": "MSP430", "Target_Clf": "MPU", "Compiler_Type": "LLVM", "Idx": 3227, "Length": 362, "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": 3228, "Length": 121, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "bool", "nds32_n13_last_load_to_e1_p", "(", "rtx_insn", "*", "producer", ",", "rtx_insn", "*", "consumer", ")", "{", "rtx", "last_def_reg", "=", "extract_nth_access_reg", "(", "producer", ",", "-", "1", ")", ";", "return", "n13_consumed_by_e1_dep_p", "(", "consumer", ",", "last_def_reg", ")", ";", "}", ""], "natrual_language": ["Check", "dependencies", "from", "LMW", "(", "N", ",", "N", ")", "to", "E1", "."], "TS_V_token": ["nds32", "1"], "File": "nds32-pipelines-auxiliary", "Func": "nds32_n13_last_load_to_e1_p", "Target": "nds32", "Target_Clf": "CPU", "Compiler_Type": "GCC", "Idx": 3229, "Length": 32, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "ScheduleHazardRecognizer", "::", "HazardType", "HexagonHazardRecognizer", "::", "getHazardType", "(", "SUnit", "*", "SU", ",", "int", "stalls", ")", "{", "MachineInstr", "*", "MI", "=", "SU", "->", "getInstr", "(", ")", ";", "if", "(", "!", "MI", "||", "TII", "->", "isZeroCost", "(", "MI", "->", "getOpcode", "(", ")", ")", ")", "return", "NoHazard", ";", "if", "(", "!", "Resources", "->", "canReserveResources", "(", "*", "MI", ")", ")", "{", "LLVM_DEBUG", "(", "dbgs", "(", ")", "<<", "\"*** Hazard in cycle \"", "<<", "PacketNum", "<<", "\", \"", "<<", "*", "MI", ")", ";", "HazardType", "RetVal", "=", "Hazard", ";", "if", "(", "TII", "->", "mayBeNewStore", "(", "*", "MI", ")", ")", "{", "MachineOperand", "&", "MO", "=", "MI", "->", "getOperand", "(", "MI", "->", "getNumOperands", "(", ")", "-", "1", ")", ";", "if", "(", "!", "MO", ".", "isReg", "(", ")", "||", "RegDefs", ".", "count", "(", "MO", ".", "getReg", "(", ")", ")", "==", "0", ")", "return", "Hazard", ";", "MachineFunction", "*", "MF", "=", "MI", "->", "getParent", "(", ")", "->", "getParent", "(", ")", ";", "MachineInstr", "*", "NewMI", "=", "MF", "->", "CreateMachineInstr", "(", "TII", "->", "get", "(", "TII", "->", "getDotNewOp", "(", "*", "MI", ")", ")", ",", "MI", "->", "getDebugLoc", "(", ")", ")", ";", "if", "(", "Resources", "->", "canReserveResources", "(", "*", "NewMI", ")", ")", "RetVal", "=", "NoHazard", ";", "LLVM_DEBUG", "(", "dbgs", "(", ")", "<<", "\"*** Try .new version? \"", "<<", "(", "RetVal", "==", "NoHazard", ")", "<<", "\"\\n\"", ")", ";", "MF", "->", "DeleteMachineInstr", "(", "NewMI", ")", ";", "}", "return", "RetVal", ";", "}", "if", "(", "SU", "==", "UsesDotCur", "&&", "DotCurPNum", "!=", "(", "int", ")", "PacketNum", ")", "{", "LLVM_DEBUG", "(", "dbgs", "(", ")", "<<", "\"*** .cur Hazard in cycle \"", "<<", "PacketNum", "<<", "\", \"", "<<", "*", "MI", ")", ";", "return", "Hazard", ";", "}", "return", "NoHazard", ";", "}", ""], "natrual_language": ["getHazardType", "-", "Return", "the", "hazard", "type", "of", "emitting", "this", "node", "."], "TS_V_token": ["Hexagon", "Hexagon", "\"*** Hazard in cycle \"", "\", \"", "1", "0", "\"*** Try .new version? \"", "\"\\n\"", "\"*** .cur Hazard in cycle \"", "\", \""], "File": "HexagonHazardRecognizer", "Func": "getHazardType", "Target": "Hexagon", "Target_Clf": "DSP", "Compiler_Type": "LLVM", "Idx": 3230, "Length": 253, "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": 3231, "Length": 117, "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": 3232, "Length": 240, "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": 3233, "Length": 11, "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": 3234, "Length": 48, "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": 3235, "Length": 116, "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": 3236, "Length": 84, "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": 3237, "Length": 299, "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": 3238, "Length": 23, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "int", "ConvergingVLIWScheduler", "::", "pressureChange", "(", "const", "SUnit", "*", "SU", ",", "bool", "isBotUp", ")", "{", "PressureDiff", "&", "PD", "=", "DAG", "->", "getPressureDiff", "(", "SU", ")", ";", "for", "(", "auto", "&", "P", ":", "PD", ")", "{", "if", "(", "!", "P", ".", "isValid", "(", ")", ")", "continue", ";", "if", "(", "HighPressureSets", "[", "P", ".", "getPSet", "(", ")", "]", ")", "return", "(", "isBotUp", "?", "P", ".", "getUnitInc", "(", ")", ":", "-", "P", ".", "getUnitInc", "(", ")", ")", ";", "}", "return", "0", ";", "}", ""], "natrual_language": ["Check", "if", "the", "instruction", "changes", "the", "register", "pressure", "of", "a", "register", "in", "the", "high", "pressure", "set", "."], "TS_V_token": ["Hexagon", "0"], "File": "HexagonMachineScheduler11", "Func": "pressureChange", "Target": "Hexagon", "Target_Clf": "DSP", "Compiler_Type": "LLVM", "Idx": 3239, "Length": 79, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "void", "X86IntelInstPrinter", "::", "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": "X86IntelInstPrinter13", "Func": "printInst", "Target": "X86", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 3240, "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", ")", ";", "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": 3241, "Length": 253, "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": 3242, "Length": 63, "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": 3243, "Length": 46, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "StringRef", "SIRegisterInfo", "::", "getRegAsmName", "(", "MCRegister", "Reg", ")", "const", "{", "return", "AMDGPUInstPrinter", "::", "getRegisterName", "(", "Reg", ")", ";", "}", ""], "natrual_language": ["Return", "the", "assembly", "name", "for", "Reg", "."], "TS_V_token": ["AMDGPU", "SI", "AMDGPU"], "File": "SIRegisterInfo (3)", "Func": "getRegAsmName", "Target": "AMDGPU", "Target_Clf": "GPU", "Compiler_Type": "LLVM", "Idx": 3244, "Length": 19, "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": 3245, "Length": 30, "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": 3246, "Length": 90, "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": 3247, "Length": 112, "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": 3248, "Length": 498, "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": 3249, "Length": 337, "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": 3250, "Length": 18, "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": 3251, "Length": 450, "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": 3252, "Length": 34, "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": 3253, "Length": 57, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "const", "TargetRegisterClass", "*", "SIRegisterInfo", "::", "getRegClass", "(", "unsigned", "RCID", ")", "const", "{", "switch", "(", "(", "int", ")", "RCID", ")", "{", "case", "AMDGPU", "::", "SReg_1RegClassID", ":", "return", "getBoolRC", "(", ")", ";", "case", "AMDGPU", "::", "SReg_1_XEXECRegClassID", ":", "return", "isWave32", "?", "&", "AMDGPU", "::", "SReg_32_XM0_XEXECRegClass", ":", "&", "AMDGPU", "::", "SReg_64_XEXECRegClass", ";", "case", "-", "1", ":", "return", "nullptr", ";", "default", ":", "return", "AMDGPUGenRegisterInfo", "::", "getRegClass", "(", "RCID", ")", ";", "}", "}", ""], "natrual_language": ["Given", "a", "machine", "instruction", "descriptor", ",", "returns", "the", "register", "class", "constraint", "for", "OpNum", ",", "or", "NULL", "."], "TS_V_token": ["AMDGPU", "SI", "AMDGPU::SReg_1RegClassID", "AMDGPU::SReg_1_XEXECRegClassID", "AMDGPU::SReg_32_XM0_XEXECRegClass", "AMDGPU::SReg_64_XEXECRegClass", "1", "AMDGPU"], "File": "SIRegisterInfo (3)", "Func": "getRegClass", "Target": "AMDGPU", "Target_Clf": "GPU", "Compiler_Type": "LLVM", "Idx": 3254, "Length": 67, "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": 3255, "Length": 128, "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": 3256, "Length": 33, "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": 3257, "Length": 162, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "static", "bool", "riscv_memmodel_needs_amo_acquire", "(", "enum", "memmodel", "model", ")", "{", "switch", "(", "model", ")", "{", "case", "MEMMODEL_ACQ_REL", ":", "case", "MEMMODEL_SEQ_CST", ":", "case", "MEMMODEL_SYNC_SEQ_CST", ":", "case", "MEMMODEL_ACQUIRE", ":", "case", "MEMMODEL_CONSUME", ":", "case", "MEMMODEL_SYNC_ACQUIRE", ":", "return", "true", ";", "case", "MEMMODEL_RELEASE", ":", "case", "MEMMODEL_SYNC_RELEASE", ":", "case", "MEMMODEL_RELAXED", ":", "return", "false", ";", "default", ":", "gcc_unreachable", "(", ")", ";", "}", "}", ""], "natrual_language": ["Return", "true", "if", "the", ".AQ", "suffix", "should", "be", "added", "to", "an", "AMO", "to", "implement", "the", "acquire", "portion", "of", "memory", "model", "MODEL", "."], "TS_V_token": ["riscv"], "File": "riscv", "Func": "riscv_memmodel_needs_amo_acquire", "Target": "riscv", "Target_Clf": "CPU", "Compiler_Type": "GCC", "Idx": 3258, "Length": 55, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "bool", "HexagonPacketizerList", "::", "updateOffset", "(", "SUnit", "*", "SUI", ",", "SUnit", "*", "SUJ", ")", "{", "assert", "(", "SUI", "->", "getInstr", "(", ")", "&&", "SUJ", "->", "getInstr", "(", ")", ")", ";", "MachineInstr", "&", "MI", "=", "*", "SUI", "->", "getInstr", "(", ")", ";", "MachineInstr", "&", "MJ", "=", "*", "SUJ", "->", "getInstr", "(", ")", ";", "unsigned", "BPI", ",", "OPI", ";", "if", "(", "!", "HII", "->", "getBaseAndOffsetPosition", "(", "MI", ",", "BPI", ",", "OPI", ")", ")", "return", "false", ";", "unsigned", "BPJ", ",", "OPJ", ";", "if", "(", "!", "HII", "->", "getBaseAndOffsetPosition", "(", "MJ", ",", "BPJ", ",", "OPJ", ")", ")", "return", "false", ";", "unsigned", "Reg", "=", "MI", ".", "getOperand", "(", "BPI", ")", ".", "getReg", "(", ")", ";", "if", "(", "Reg", "!=", "MJ", ".", "getOperand", "(", "BPJ", ")", ".", "getReg", "(", ")", ")", "return", "false", ";", "for", "(", "const", "auto", "&", "PI", ":", "SUI", "->", "Preds", ")", "if", "(", "PI", ".", "getKind", "(", ")", "!=", "SDep", "::", "Anti", "&&", "(", "PI", ".", "getKind", "(", ")", "!=", "SDep", "::", "Data", "||", "PI", ".", "getReg", "(", ")", "!=", "Reg", ")", ")", "return", "false", ";", "int", "Incr", ";", "if", "(", "!", "HII", "->", "getIncrementValue", "(", "MJ", ",", "Incr", ")", ")", "return", "false", ";", "int64_t", "Offset", "=", "MI", ".", "getOperand", "(", "OPI", ")", ".", "getImm", "(", ")", ";", "if", "(", "!", "HII", "->", "isValidOffset", "(", "MI", ".", "getOpcode", "(", ")", ",", "Offset", "+", "Incr", ",", "HRI", ")", ")", "return", "false", ";", "MI", ".", "getOperand", "(", "OPI", ")", ".", "setImm", "(", "Offset", "+", "Incr", ")", ";", "ChangedOffset", "=", "Offset", ";", "return", "true", ";", "}", ""], "natrual_language": ["Return", "true", "if", "we", "can", "update", "the", "offset", "in", "MI", "so", "that", "MI", "and", "MJ", "can", "be", "packetized", "together", "."], "TS_V_token": ["Hexagon", "Hexagon"], "File": "HexagonVLIWPacketizer (2)1", "Func": "updateOffset", "Target": "Hexagon", "Target_Clf": "DSP", "Compiler_Type": "LLVM", "Idx": 3259, "Length": 250, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "void", "PatmosOperand", "::", "print", "(", "raw_ostream", "&", "OS", ")", "const", "{", "switch", "(", "Kind", ")", "{", "case", "Immediate", ":", "getImm", "(", ")", "->", "print", "(", "OS", ",", "nullptr", ")", ";", "break", ";", "case", "Register", ":", "OS", "<<", "\"\"", ";", "break", ";", "case", "Token", ":", "OS", "<<", "\"'\"", "<<", "getToken", "(", ")", "<<", "\"'\"", ";", "break", ";", "case", "Memory", ":", "{", "OS", "<<", "\"\"", ";", "}", "break", ";", "}", "}", ""], "natrual_language": ["print", "-", "Print", "a", "debug", "representation", "of", "the", "operand", "to", "the", "given", "stream", "."], "TS_V_token": ["Patmos", "Patmos", "\"\"", "\"'\"", "\"'\"", "\"\""], "File": "PatmosAsmParser1", "Func": "print", "Target": "Patmos", "Target_Clf": "VLIW", "Compiler_Type": "LLVM", "Idx": 3260, "Length": 102, "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", "(", "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", "PPC"], "File": "PPCVSXFMAMutate10", "Func": "runOnMachineFunction", "Target": "PowerPC", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 3261, "Length": 107, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "MachineBasicBlock", "*", "CJGTargetLowering", "::", "EmitInstrWithCustomInserter", "(", "MachineInstr", "&", "MI", ",", "MachineBasicBlock", "*", "BB", ")", "const", "{", "unsigned", "Opc", "=", "MI", ".", "getOpcode", "(", ")", ";", "const", "TargetInstrInfo", "&", "TII", "=", "*", "BB", "->", "getParent", "(", ")", "->", "getSubtarget", "(", ")", ".", "getInstrInfo", "(", ")", ";", "DebugLoc", "dl", "=", "MI", ".", "getDebugLoc", "(", ")", ";", "assert", "(", "Opc", "==", "CJG", "::", "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", "(", "CJG", "::", "JCC", ")", ")", ".", "addMBB", "(", "copy1MBB", ")", ".", "addImm", "(", "MI", ".", "getOperand", "(", "3", ")", ".", "getImm", "(", ")", ")", ";", "BB", "=", "copy0MBB", ";", "BB", "->", "addSuccessor", "(", "copy1MBB", ")", ";", "BB", "=", "copy1MBB", ";", "BuildMI", "(", "*", "BB", ",", "BB", "->", "begin", "(", ")", ",", "dl", ",", "TII", ".", "get", "(", "CJG", "::", "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": ["CJG", "CJG", "CJG::Select", "\"Unexpected instr type to insert\"", "CJG::JCC", "3", "CJG::PHI", "0", "2", "1"], "File": "CJGISelLowering", "Func": "EmitInstrWithCustomInserter", "Target": "CJG", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 3262, "Length": 328, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "const", "MCPhysReg", "*", "SIRegisterInfo", "::", "getCalleeSavedRegs", "(", "const", "MachineFunction", "*", "MF", ")", "const", "{", "CallingConv", "::", "ID", "CC", "=", "MF", "->", "getFunction", "(", ")", ".", "getCallingConv", "(", ")", ";", "switch", "(", "CC", ")", "{", "case", "CallingConv", "::", "C", ":", "case", "CallingConv", "::", "Fast", ":", "case", "CallingConv", "::", "Cold", ":", "return", "ST", ".", "hasGFX90AInsts", "(", ")", "?", "CSR_AMDGPU_GFX90AInsts_SaveList", ":", "CSR_AMDGPU_SaveList", ";", "case", "CallingConv", "::", "AMDGPU_Gfx", ":", "return", "ST", ".", "hasGFX90AInsts", "(", ")", "?", "CSR_AMDGPU_SI_Gfx_GFX90AInsts_SaveList", ":", "CSR_AMDGPU_SI_Gfx_SaveList", ";", "default", ":", "{", "static", "const", "MCPhysReg", "NoCalleeSavedReg", "=", "AMDGPU", "::", "NoRegister", ";", "return", "&", "NoCalleeSavedReg", ";", "}", "}", "}", ""], "natrual_language": ["Code", "Generation", "virtual", "methods", "..."], "TS_V_token": ["AMDGPU", "SI", "AMDGPU", "AMDGPU", "AMDGPU", "SI", "SI", "AMDGPU::NoRegister"], "File": "SIRegisterInfo (3)", "Func": "getCalleeSavedRegs", "Target": "AMDGPU", "Target_Clf": "GPU", "Compiler_Type": "LLVM", "Idx": 3263, "Length": 95, "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": 3264, "Length": 137, "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": 3265, "Length": 203, "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": 3266, "Length": 11, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "StringRef", "getPassName", "(", ")", "const", "override", "{", "return", "\"WebAssembly Fix br_table Defaults\"", ";", "}", ""], "natrual_language": ["getPassName", "-", "Return", "a", "nice", "clean", "name", "for", "a", "pass", "."], "TS_V_token": ["WebAssembly", "\"WebAssembly Fix br_table Defaults\""], "File": "WebAssemblyFixBrTableDefaults", "Func": "getPassName", "Target": "WebAssembly", "Target_Clf": "Virtual ISA", "Compiler_Type": "LLVM", "Idx": 3267, "Length": 11, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "void", "ScheduleDAGPostRA", "::", "moveInstruction", "(", "MachineBasicBlock", "::", "iterator", "MI", ",", "MachineBasicBlock", "::", "iterator", "InsertPos", ")", "{", "if", "(", "RegionBegin", "==", "MI", ")", "++", "RegionBegin", ";", "bool", "InsideBundle", "=", "MI", "->", "isBundledWithPred", "(", ")", "&&", "MI", "->", "isBundledWithSucc", "(", ")", ";", "MachineInstr", "*", "PrevMI", "=", "InsideBundle", "?", "MI", "->", "getPrevNode", "(", ")", ":", "NULL", ";", "if", "(", "!", "InsideBundle", "&&", "(", "(", "MI", "->", "isBundledWithPred", "(", ")", "&&", "!", "MI", "->", "getPrevNode", "(", ")", "->", "isBundledWithPred", "(", ")", ")", "||", "(", "MI", "->", "isBundledWithSucc", "(", ")", "&&", "!", "MI", "->", "getNextNode", "(", ")", "->", "isBundledWithSucc", "(", ")", ")", ")", ")", "{", "NumBundled", "--", ";", "NumNotBundled", "++", ";", "}", "if", "(", "MI", "->", "isBundledWithPred", "(", ")", ")", "MI", "->", "unbundleFromPred", "(", ")", ";", "if", "(", "MI", "->", "isBundledWithSucc", "(", ")", ")", "MI", "->", "unbundleFromSucc", "(", ")", ";", "BB", "->", "splice", "(", "InsertPos", ",", "BB", ",", "MI", ")", ";", "if", "(", "InsideBundle", ")", "{", "PrevMI", "->", "bundleWithSucc", "(", ")", ";", "}", "if", "(", "RegionBegin", "==", "InsertPos", ")", "RegionBegin", "=", "MI", ";", "}", ""], "natrual_language": ["Change", "the", "position", "of", "an", "instruction", "within", "the", "basic", "block", "and", "update", "live", "ranges", "and", "region", "boundary", "iterators", "."], "TS_V_token": ["Patmos"], "File": "PatmosPostRAScheduler1", "Func": "moveInstruction", "Target": "Patmos", "Target_Clf": "VLIW", "Compiler_Type": "LLVM", "Idx": 3268, "Length": 169, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "const", "MCFixupKindInfo", "&", "AMDGPUAsmBackend", "::", "getFixupKindInfo", "(", "MCFixupKind", "Kind", ")", "const", "{", "const", "static", "MCFixupKindInfo", "Infos", "[", "AMDGPU", "::", "NumTargetFixupKinds", "]", "=", "{", "{", "\"fixup_si_sopp_br\"", ",", "0", ",", "16", ",", "MCFixupKindInfo", "::", "FKF_IsPCRel", "}", ",", "{", "\"fixup_si_rodata\"", ",", "0", ",", "32", ",", "0", "}", ",", "{", "\"fixup_si_end_of_text\"", ",", "0", ",", "32", ",", "MCFixupKindInfo", "::", "FKF_IsPCRel", "}", "}", ";", "if", "(", "Kind", "<", "FirstTargetFixupKind", ")", "return", "MCAsmBackend", "::", "getFixupKindInfo", "(", "Kind", ")", ";", "return", "Infos", "[", "Kind", "-", "FirstTargetFixupKind", "]", ";", "}", ""], "natrual_language": ["Get", "information", "on", "a", "fixup", "kind", "."], "TS_V_token": ["R600", "\"fixup_si_sopp_br\"", "0", "16", "\"fixup_si_rodata\"", "0", "32", "0", "\"fixup_si_end_of_text\"", "0", "32"], "File": "AMDGPUAsmBackend1", "Func": "getFixupKindInfo", "Target": "R600", "Target_Clf": "GPU", "Compiler_Type": "LLVM", "Idx": 3269, "Length": 81, "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", ";", "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\"", ")", ";", "}", "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": "X86ISelLowering114", "Func": "LowerCallResult", "Target": "X86", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 3270, "Length": 375, "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": 3271, "Length": 13, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "const", "M680x0TargetMachine", "&", "getTargetMachine", "(", ")", "{", "return", "static_cast", "<", "const", "M680x0TargetMachine", "&", ">", "(", "TM", ")", ";", "}", ""], "natrual_language": ["Return", "the", "target", "machine", "(", "if", "available", ")", "."], "TS_V_token": ["M680x0", "M680x0", "M680x0"], "File": "M680x0ISelDAGToDAG", "Func": "getTargetMachine", "Target": "M680x0", "Target_Clf": "MPU", "Compiler_Type": "LLVM", "Idx": 3272, "Length": 19, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "SDValue", "NVPTXTargetLowering", "::", "LowerReturn", "(", "SDValue", "Chain", ",", "CallingConv", "::", "ID", "CallConv", ",", "bool", "isVarArg", ",", "const", "SmallVectorImpl", "<", "ISD", "::", "OutputArg", ">", "&", "Outs", ",", "const", "SmallVectorImpl", "<", "SDValue", ">", "&", "OutVals", ",", "DebugLoc", "dl", ",", "SelectionDAG", "&", "DAG", ")", "const", "{", "bool", "isABI", "=", "(", "nvptxSubtarget", ".", "getSmVersion", "(", ")", ">=", "20", ")", ";", "unsigned", "sizesofar", "=", "0", ";", "unsigned", "idx", "=", "0", ";", "for", "(", "unsigned", "i", "=", "0", ",", "e", "=", "Outs", ".", "size", "(", ")", ";", "i", "!=", "e", ";", "++", "i", ")", "{", "SDValue", "theVal", "=", "OutVals", "[", "i", "]", ";", "EVT", "theValType", "=", "theVal", ".", "getValueType", "(", ")", ";", "unsigned", "numElems", "=", "1", ";", "if", "(", "theValType", ".", "isVector", "(", ")", ")", "numElems", "=", "theValType", ".", "getVectorNumElements", "(", ")", ";", "for", "(", "unsigned", "j", "=", "0", ",", "je", "=", "numElems", ";", "j", "!=", "je", ";", "++", "j", ")", "{", "SDValue", "tmpval", "=", "theVal", ";", "if", "(", "theValType", ".", "isVector", "(", ")", ")", "tmpval", "=", "DAG", ".", "getNode", "(", "ISD", "::", "EXTRACT_VECTOR_ELT", ",", "dl", ",", "theValType", ".", "getVectorElementType", "(", ")", ",", "tmpval", ",", "DAG", ".", "getIntPtrConstant", "(", "j", ")", ")", ";", "Chain", "=", "DAG", ".", "getNode", "(", "isABI", "?", "NVPTXISD", "::", "StoreRetval", ":", "NVPTXISD", "::", "MoveToRetval", ",", "dl", ",", "MVT", "::", "Other", ",", "Chain", ",", "DAG", ".", "getConstant", "(", "isABI", "?", "sizesofar", ":", "idx", ",", "MVT", "::", "i32", ")", ",", "tmpval", ")", ";", "if", "(", "theValType", ".", "isVector", "(", ")", ")", "sizesofar", "+=", "theValType", ".", "getVectorElementType", "(", ")", ".", "getStoreSizeInBits", "(", ")", "/", "8", ";", "else", "sizesofar", "+=", "theValType", ".", "getStoreSizeInBits", "(", ")", "/", "8", ";", "++", "idx", ";", "}", "}", "return", "DAG", ".", "getNode", "(", "NVPTXISD", "::", "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": ["NVPTX", "NVPTX", "ISD::OutputArg", "20", "0", "0", "0", "1", "0", "ISD::EXTRACT_VECTOR_ELT", "NVPTXISD::StoreRetval", "NVPTXISD::MoveToRetval", "MVT::Other", "MVT::i32", "8", "8", "NVPTXISD::RET_FLAG", "MVT::Other"], "File": "NVPTXISelLowering15", "Func": "LowerReturn", "Target": "NVPTX", "Target_Clf": "GPU", "Compiler_Type": "LLVM", "Idx": 3273, "Length": 286, "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": 3274, "Length": 113, "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": 3275, "Length": 55, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "void", "NVPTXTargetMachine", "::", "registerPassBuilderCallbacks", "(", "PassBuilder", "&", "PB", ",", "bool", "DebugPassManager", ")", "{", "PB", ".", "registerPipelineParsingCallback", "(", "[", "]", "(", "StringRef", "PassName", ",", "FunctionPassManager", "&", "PM", ",", "ArrayRef", "<", "PassBuilder", "::", "PipelineElement", ">", ")", "{", "if", "(", "PassName", "==", "\"nvvm-reflect\"", ")", "{", "PM", ".", "addPass", "(", "NVVMReflectPass", "(", ")", ")", ";", "return", "true", ";", "}", "if", "(", "PassName", "==", "\"nvvm-intr-range\"", ")", "{", "PM", ".", "addPass", "(", "NVVMIntrRangePass", "(", ")", ")", ";", "return", "true", ";", "}", "return", "false", ";", "}", ")", ";", "PB", ".", "registerPipelineStartEPCallback", "(", "[", "this", ",", "DebugPassManager", "]", "(", "ModulePassManager", "&", "PM", ",", "PassBuilder", "::", "OptimizationLevel", "Level", ")", "{", "FunctionPassManager", "FPM", "(", "DebugPassManager", ")", ";", "FPM", ".", "addPass", "(", "NVVMReflectPass", "(", "Subtarget", ".", "getSmVersion", "(", ")", ")", ")", ";", "FPM", ".", "addPass", "(", "NVVMIntrRangePass", "(", "Subtarget", ".", "getSmVersion", "(", ")", ")", ")", ";", "PM", ".", "addPass", "(", "createModuleToFunctionPassAdaptor", "(", "std", "::", "move", "(", "FPM", ")", ")", ")", ";", "}", ")", ";", "}", ""], "natrual_language": ["Invoke", "the", "PassBuilder", "callback", "registration", "."], "TS_V_token": ["NVPTX", "NVPTX", "\"nvvm-reflect\"", "\"nvvm-intr-range\""], "File": "NVPTXTargetMachine26", "Func": "registerPassBuilderCallbacks", "Target": "NVPTX", "Target_Clf": "GPU", "Compiler_Type": "LLVM", "Idx": 3276, "Length": 154, "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": 3277, "Length": 48, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "bool", "AMDGPUCallLowering", "::", "lowerReturn", "(", "MachineIRBuilder", "&", "B", ",", "const", "Value", "*", "Val", ",", "ArrayRef", "<", "Register", ">", "VRegs", ")", "const", "{", "MachineFunction", "&", "MF", "=", "B", ".", "getMF", "(", ")", ";", "MachineRegisterInfo", "&", "MRI", "=", "MF", ".", "getRegInfo", "(", ")", ";", "SIMachineFunctionInfo", "*", "MFI", "=", "MF", ".", "getInfo", "<", "SIMachineFunctionInfo", ">", "(", ")", ";", "MFI", "->", "setIfReturnsVoid", "(", "!", "Val", ")", ";", "assert", "(", "!", "Val", "==", "VRegs", ".", "empty", "(", ")", "&&", "\"Return value without a vreg\"", ")", ";", "CallingConv", "::", "ID", "CC", "=", "B", ".", "getMF", "(", ")", ".", "getFunction", "(", ")", ".", "getCallingConv", "(", ")", ";", "const", "bool", "IsShader", "=", "AMDGPU", "::", "isShader", "(", "CC", ")", ";", "const", "bool", "IsWaveEnd", "=", "(", "IsShader", "&&", "MFI", "->", "returnsVoid", "(", ")", ")", "||", "AMDGPU", "::", "isKernel", "(", "CC", ")", ";", "if", "(", "IsWaveEnd", ")", "{", "B", ".", "buildInstr", "(", "AMDGPU", "::", "S_ENDPGM", ")", ".", "addImm", "(", "0", ")", ";", "return", "true", ";", "}", "auto", "const", "&", "ST", "=", "B", ".", "getMF", "(", ")", ".", "getSubtarget", "<", "GCNSubtarget", ">", "(", ")", ";", "unsigned", "ReturnOpc", "=", "IsShader", "?", "AMDGPU", "::", "SI_RETURN_TO_EPILOG", ":", "AMDGPU", "::", "S_SETPC_B64_return", ";", "auto", "Ret", "=", "B", ".", "buildInstrNoInsert", "(", "ReturnOpc", ")", ";", "Register", "ReturnAddrVReg", ";", "if", "(", "ReturnOpc", "==", "AMDGPU", "::", "S_SETPC_B64_return", ")", "{", "ReturnAddrVReg", "=", "MRI", ".", "createVirtualRegister", "(", "&", "AMDGPU", "::", "CCR_SGPR_64RegClass", ")", ";", "Ret", ".", "addUse", "(", "ReturnAddrVReg", ")", ";", "}", "if", "(", "!", "lowerReturnVal", "(", "B", ",", "Val", ",", "VRegs", ",", "Ret", ")", ")", "return", "false", ";", "if", "(", "ReturnOpc", "==", "AMDGPU", "::", "S_SETPC_B64_return", ")", "{", "const", "SIRegisterInfo", "*", "TRI", "=", "ST", ".", "getRegisterInfo", "(", ")", ";", "Register", "LiveInReturn", "=", "MF", ".", "addLiveIn", "(", "TRI", "->", "getReturnAddressReg", "(", "MF", ")", ",", "&", "AMDGPU", "::", "SGPR_64RegClass", ")", ";", "B", ".", "buildCopy", "(", "ReturnAddrVReg", ",", "LiveInReturn", ")", ";", "}", "B", ".", "insertInstr", "(", "Ret", ")", ";", "return", "true", ";", "}", ""], "natrual_language": ["This", "hook", "behaves", "as", "the", "extended", "lowerReturn", "function", ",", "but", "for", "targets", "that", "do", "not", "support", "swifterror", "value", "promotion", "."], "TS_V_token": ["AMDGPU", "AMDGPU", "SI", "SI", "\"Return value without a vreg\"", "AMDGPU::isShader", "AMDGPU::isKernel", "AMDGPU::S_ENDPGM", "0", "AMDGPU::SI_RETURN_TO_EPILOG", "AMDGPU::S_SETPC_B64_return", "AMDGPU::S_SETPC_B64_return", "AMDGPU::CCR_SGPR_64RegClass", "AMDGPU::S_SETPC_B64_return", "SI", "AMDGPU::SGPR_64RegClass"], "File": "AMDGPUCallLowering23", "Func": "lowerReturn", "Target": "AMDGPU", "Target_Clf": "GPU", "Compiler_Type": "LLVM", "Idx": 3278, "Length": 302, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "bool", "MBlazeAsmParser", "::", "MatchAndEmitInstruction", "(", "SMLoc", "IDLoc", ",", "SmallVectorImpl", "<", "MCParsedAsmOperand", "*", ">", "&", "Operands", ",", "MCStreamer", "&", "Out", ")", "{", "MCInst", "Inst", ";", "SMLoc", "ErrorLoc", ";", "unsigned", "ErrorInfo", ";", "switch", "(", "MatchInstructionImpl", "(", "Operands", ",", "Inst", ",", "ErrorInfo", ")", ")", "{", "case", "Match_Success", ":", "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", ":", "ErrorLoc", "=", "IDLoc", ";", "if", "(", "ErrorInfo", "!=", "~", "0U", ")", "{", "if", "(", "ErrorInfo", ">=", "Operands", ".", "size", "(", ")", ")", "return", "Error", "(", "IDLoc", ",", "\"too few operands for instruction\"", ")", ";", "ErrorLoc", "=", "(", "(", "MBlazeOperand", "*", ")", "Operands", "[", "ErrorInfo", "]", ")", "->", "getStartLoc", "(", ")", ";", "if", "(", "ErrorLoc", "==", "SMLoc", "(", ")", ")", "ErrorLoc", "=", "IDLoc", ";", "}", "return", "Error", "(", "ErrorLoc", ",", "\"invalid operand for instruction\"", ")", ";", "}", "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": ["MBlaze", "MBlaze", "\"instruction use requires an option to be enabled\"", "\"unrecognized instruction mnemonic\"", "0U", "\"too few operands for instruction\"", "MBlaze", "\"invalid operand for instruction\"", "\"Implement any new match types added!\""], "File": "MBlazeAsmParser3", "Func": "MatchAndEmitInstruction", "Target": "MBlaze", "Target_Clf": "MPU", "Compiler_Type": "LLVM", "Idx": 3279, "Length": 158, "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": 3280, "Length": 222, "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": 3281, "Length": 225, "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", "->", "ImmOperand", ")", ")", ";", "else", "BuildMI", "(", "MBB", ",", "II", ",", "DL", ",", "get", "(", "Inst", "->", "Opc", ")", ",", "ATReg", ")", ".", "addReg", "(", "ZEROReg", ")", ".", "addImm", "(", "SignExtend64", "<", "16", ">", "(", "Inst", "->", "ImmOperand", ")", ")", ";", "for", "(", "++", "Inst", ";", "Inst", "!=", "Seq", ".", "end", "(", ")", "-", "LastInstrIsADDiu", ";", "++", "Inst", ")", "BuildMI", "(", "MBB", ",", "II", ",", "DL", ",", "get", "(", "Inst", "->", "Opc", ")", ",", "ATReg", ")", ".", "addReg", "(", "ATReg", ")", ".", "addImm", "(", "SignExtend64", "<", "16", ">", "(", "Inst", "->", "ImmOperand", ")", ")", ";", "if", "(", "LastInstrIsADDiu", ")", "*", "NewImm", "=", "Inst", "->", "ImmOperand", ";", "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": "Cpu0SEInstrInfo1", "Func": "loadImmediate", "Target": "Cpu0", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 3282, "Length": 260, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "bool", "isImm", "(", ")", "const", "{", "return", "!", "OpToFold", ";", "}", ""], "natrual_language": ["isImm", "-", "Is", "this", "an", "immediate", "operand", "?"], "TS_V_token": ["AMDGPU"], "File": "SIFoldOperands1", "Func": "isImm", "Target": "AMDGPU", "Target_Clf": "GPU", "Compiler_Type": "LLVM", "Idx": 3283, "Length": 11, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "bool", "WebAssemblyCFGStackify", "::", "runOnMachineFunction", "(", "MachineFunction", "&", "MF", ")", "{", "DEBUG", "(", "dbgs", "(", ")", "<<", "\"********** CFG Stackifying **********\\n\"", "\"********** Function: \"", "<<", "MF", ".", "getName", "(", ")", "<<", "'\\n'", ")", ";", "const", "auto", "&", "MLI", "=", "getAnalysis", "<", "MachineLoopInfo", ">", "(", ")", ";", "auto", "&", "MDT", "=", "getAnalysis", "<", "MachineDominatorTree", ">", "(", ")", ";", "const", "auto", "&", "TII", "=", "*", "MF", ".", "getSubtarget", "<", "WebAssemblySubtarget", ">", "(", ")", ".", "getInstrInfo", "(", ")", ";", "MF", ".", "getRegInfo", "(", ")", ".", "invalidateLiveness", "(", ")", ";", "EliminateMultipleEntryLoops", "(", "MF", ",", "MLI", ")", ";", "SortBlocks", "(", "MF", ",", "MLI", ")", ";", "PlaceMarkers", "(", "MF", ",", "MLI", ",", "TII", ",", "MDT", ")", ";", "return", "true", ";", "}", ""], "natrual_language": ["runOnMachineFunction", "-", "Emit", "the", "function", "body", "."], "TS_V_token": ["WebAssembly", "WebAssembly", "\"********** CFG Stackifying **********\\n\"", "\"********** Function: \"", "WebAssembly"], "File": "WebAssemblyCFGStackify4", "Func": "runOnMachineFunction", "Target": "WebAssembly", "Target_Clf": "Virtual ISA", "Compiler_Type": "LLVM", "Idx": 3284, "Length": 109, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "NodeId", "getReachingDef", "(", ")", "const", "{", "return", "Ref", ".", "RD", ";", "}", ""], "natrual_language": ["Provides", "the", "instruction", "id", "of", "the", "closest", "reaching", "def", "instruction", "of", "PhysReg", "that", "reaches", "MI", ",", "relative", "to", "the", "begining", "of", "MI", "'s", "basic", "block", "."], "TS_V_token": ["Hexagon"], "File": "RDFGraph", "Func": "getReachingDef", "Target": "Hexagon", "Target_Clf": "DSP", "Compiler_Type": "LLVM", "Idx": 3285, "Length": 12, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "static", "unsigned", "int", "aarch64_function_arg_boundary", "(", "machine_mode", "mode", ",", "const_tree", "type", ")", "{", "bool", "abi_break", ";", "unsigned", "int", "alignment", "=", "aarch64_function_arg_alignment", "(", "mode", ",", "type", ",", "&", "abi_break", ")", ";", "if", "(", "abi_break", "&", "warn_psabi", ")", "inform", "(", "input_location", ",", "\"parameter passing for argument of type \"", "\"%qT changed in GCC 9.1\"", ",", "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", "\"parameter passing for argument of type \"", "\"%qT changed in GCC 9.1\""], "File": "aarch64", "Func": "aarch64_function_arg_boundary", "Target": "aarch64", "Target_Clf": "CPU", "Compiler_Type": "GCC", "Idx": 3286, "Length": 59, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "bool", "SITargetLowering", "::", "isLegalAddressingMode", "(", "const", "DataLayout", "&", "DL", ",", "const", "AddrMode", "&", "AM", ",", "Type", "*", "Ty", ",", "unsigned", "AS", ")", "const", "{", "if", "(", "AM", ".", "BaseGV", ")", "return", "false", ";", "switch", "(", "AS", ")", "{", "case", "AMDGPUAS", "::", "GLOBAL_ADDRESS", ":", "if", "(", "Subtarget", "->", "getGeneration", "(", ")", ">=", "SISubtarget", "::", "VOLCANIC_ISLANDS", ")", "{", "return", "isLegalFlatAddressingMode", "(", "AM", ")", ";", "}", "return", "isLegalMUBUFAddressingMode", "(", "AM", ")", ";", "case", "AMDGPUAS", "::", "CONSTANT_ADDRESS", ":", "if", "(", "AM", ".", "BaseOffs", "%", "4", "!=", "0", ")", "return", "isLegalMUBUFAddressingMode", "(", "AM", ")", ";", "if", "(", "DL", ".", "getTypeStoreSize", "(", "Ty", ")", "<", "4", ")", "return", "isLegalMUBUFAddressingMode", "(", "AM", ")", ";", "if", "(", "Subtarget", "->", "getGeneration", "(", ")", "==", "SISubtarget", "::", "SOUTHERN_ISLANDS", ")", "{", "if", "(", "!", "isUInt", "<", "8", ">", "(", "AM", ".", "BaseOffs", "/", "4", ")", ")", "return", "false", ";", "}", "else", "if", "(", "Subtarget", "->", "getGeneration", "(", ")", "==", "SISubtarget", "::", "SEA_ISLANDS", ")", "{", "if", "(", "!", "isUInt", "<", "32", ">", "(", "AM", ".", "BaseOffs", "/", "4", ")", ")", "return", "false", ";", "}", "else", "if", "(", "Subtarget", "->", "getGeneration", "(", ")", ">=", "SISubtarget", "::", "VOLCANIC_ISLANDS", ")", "{", "if", "(", "!", "isUInt", "<", "20", ">", "(", "AM", ".", "BaseOffs", ")", ")", "return", "false", ";", "}", "else", "llvm_unreachable", "(", "\"unhandled generation\"", ")", ";", "if", "(", "AM", ".", "Scale", "==", "0", ")", "return", "true", ";", "if", "(", "AM", ".", "Scale", "==", "1", "&&", "AM", ".", "HasBaseReg", ")", "return", "true", ";", "return", "false", ";", "case", "AMDGPUAS", "::", "PRIVATE_ADDRESS", ":", "return", "isLegalMUBUFAddressingMode", "(", "AM", ")", ";", "case", "AMDGPUAS", "::", "LOCAL_ADDRESS", ":", "case", "AMDGPUAS", "::", "REGION_ADDRESS", ":", "if", "(", "!", "isUInt", "<", "16", ">", "(", "AM", ".", "BaseOffs", ")", ")", "return", "false", ";", "if", "(", "AM", ".", "Scale", "==", "0", ")", "return", "true", ";", "if", "(", "AM", ".", "Scale", "==", "1", "&&", "AM", ".", "HasBaseReg", ")", "return", "true", ";", "return", "false", ";", "case", "AMDGPUAS", "::", "FLAT_ADDRESS", ":", "case", "AMDGPUAS", "::", "UNKNOWN_ADDRESS_SPACE", ":", "return", "isLegalFlatAddressingMode", "(", "AM", ")", ";", "default", ":", "llvm_unreachable", "(", "\"unhandled address space\"", ")", ";", "}", "}", ""], "natrual_language": ["isLegalAddressingMode", "-", "Return", "true", "if", "the", "addressing", "mode", "represented", "by", "AM", "is", "legal", "for", "this", "target", ",", "for", "a", "load/store", "of", "the", "specified", "type", "."], "TS_V_token": ["AMDGPU", "SI", "AMDGPU", "SI", "AMDGPU", "4", "0", "4", "SI", "8", "4", "SI", "32", "4", "SI", "20", "\"unhandled generation\"", "0", "1", "AMDGPU", "AMDGPU", "AMDGPU", "16", "0", "1", "AMDGPU", "AMDGPU", "\"unhandled address space\""], "File": "SIISelLowering69", "Func": "isLegalAddressingMode", "Target": "AMDGPU", "Target_Clf": "GPU", "Compiler_Type": "LLVM", "Idx": 3287, "Length": 329, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "static", "rtx", "bfin_expand_unop_builtin", "(", "enum", "insn_code", "icode", ",", "tree", "exp", ",", "rtx", "target", ")", "{", "rtx", "pat", ";", "tree", "arg0", "=", "CALL_EXPR_ARG", "(", "exp", ",", "0", ")", ";", "rtx", "op0", "=", "expand_normal", "(", "arg0", ")", ";", "machine_mode", "op0mode", "=", "GET_MODE", "(", "op0", ")", ";", "machine_mode", "tmode", "=", "insn_data", "[", "icode", "]", ".", "operand", "[", "0", "]", ".", "mode", ";", "machine_mode", "mode0", "=", "insn_data", "[", "icode", "]", ".", "operand", "[", "1", "]", ".", "mode", ";", "if", "(", "!", "target", "||", "GET_MODE", "(", "target", ")", "!=", "tmode", "||", "!", "(", "*", "insn_data", "[", "icode", "]", ".", "operand", "[", "0", "]", ".", "predicate", ")", "(", "target", ",", "tmode", ")", ")", "target", "=", "gen_reg_rtx", "(", "tmode", ")", ";", "if", "(", "VECTOR_MODE_P", "(", "mode0", ")", ")", "op0", "=", "safe_vector_operand", "(", "op0", ",", "mode0", ")", ";", "if", "(", "op0mode", "==", "SImode", "&&", "mode0", "==", "HImode", ")", "{", "op0mode", "=", "HImode", ";", "op0", "=", "gen_lowpart", "(", "HImode", ",", "op0", ")", ";", "}", "gcc_assert", "(", "op0mode", "==", "mode0", "||", "op0mode", "==", "VOIDmode", ")", ";", "if", "(", "!", "(", "*", "insn_data", "[", "icode", "]", ".", "operand", "[", "1", "]", ".", "predicate", ")", "(", "op0", ",", "mode0", ")", ")", "op0", "=", "copy_to_mode_reg", "(", "mode0", ",", "op0", ")", ";", "pat", "=", "GEN_FCN", "(", "icode", ")", "(", "target", ",", "op0", ")", ";", "if", "(", "!", "pat", ")", "return", "0", ";", "emit_insn", "(", "pat", ")", ";", "return", "target", ";", "}", ""], "natrual_language": ["Subroutine", "of", "bfin_expand_builtin", "to", "take", "care", "of", "unop", "insns", "."], "TS_V_token": ["bfin", "0", "0", "1", "0", "1", "0"], "File": "bfin", "Func": "bfin_expand_unop_builtin", "Target": "bfin", "Target_Clf": "DSP", "Compiler_Type": "GCC", "Idx": 3288, "Length": 227, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "static", "rtx", "frv_emit_comparison", "(", "enum", "rtx_code", "test", ",", "rtx", "op0", ",", "rtx", "op1", ")", "{", "machine_mode", "cc_mode", ";", "rtx", "cc_reg", ";", "if", "(", "GET_MODE", "(", "op0", ")", "==", "CC_FPmode", "&&", "GET_CODE", "(", "op1", ")", "!=", "REG", ")", "op1", "=", "force_reg", "(", "GET_MODE", "(", "op0", ")", ",", "op1", ")", ";", "cc_mode", "=", "SELECT_CC_MODE", "(", "test", ",", "op0", ",", "op1", ")", ";", "cc_reg", "=", "(", "(", "TARGET_ALLOC_CC", ")", "?", "gen_reg_rtx", "(", "cc_mode", ")", ":", "gen_rtx_REG", "(", "cc_mode", ",", "(", "cc_mode", "==", "CC_FPmode", ")", "?", "FCC_FIRST", ":", "ICC_FIRST", ")", ")", ";", "emit_insn", "(", "gen_rtx_SET", "(", "cc_reg", ",", "gen_rtx_COMPARE", "(", "cc_mode", ",", "op0", ",", "op1", ")", ")", ")", ";", "return", "cc_reg", ";", "}", ""], "natrual_language": ["Emit", "the", "appropriate", "code", "to", "do", "a", "comparison", ",", "returning", "the", "register", "the", "comparison", "was", "done", "it", "."], "TS_V_token": ["frv"], "File": "frv", "Func": "frv_emit_comparison", "Target": "frv", "Target_Clf": "VLIW", "Compiler_Type": "GCC", "Idx": 3289, "Length": 109, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "static", "bool", "mips_ok_for_lazy_binding_p", "(", "rtx", "x", ")", "{", "return", "(", "TARGET_USE_GOT", "&&", "GET_CODE", "(", "x", ")", "==", "SYMBOL_REF", "&&", "!", "SYMBOL_REF_BIND_NOW_P", "(", "x", ")", "&&", "!", "mips_symbol_binds_local_p", "(", "x", ")", ")", ";", "}", ""], "natrual_language": ["Return", "true", "if", "calls", "to", "X", "can", "use", "R_MIPS_CALL", "*", "relocations", "."], "TS_V_token": ["mips"], "File": "mips", "Func": "mips_ok_for_lazy_binding_p", "Target": "mips", "Target_Clf": "CPU", "Compiler_Type": "GCC", "Idx": 3290, "Length": 33, "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": 3291, "Length": 27, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "bool", "TVMPeephole", "::", "runOnMachineFunction", "(", "MachineFunction", "&", "MF", ")", "{", "LLVM_DEBUG", "(", "{", "dbgs", "(", ")", "<<", "\"********** Peephole **********\\n\"", "<<", "\"********** Function: \"", "<<", "MF", ".", "getName", "(", ")", "<<", "'\\n'", ";", "}", ")", ";", "const", "auto", "*", "TII", "=", "MF", ".", "getSubtarget", "<", "TVMSubtarget", ">", "(", ")", ".", "getInstrInfo", "(", ")", ";", "assert", "(", "TII", "&&", "\"TargetInstrInfo must be a valid object\"", ")", ";", "bool", "Changed", "=", "false", ";", "for", "(", "auto", "&", "MBB", ":", "MF", ")", "{", "Changed", "|=", "runOnMachineBasicBlock", "(", "MBB", ",", "*", "TII", ")", ";", "}", "for", "(", "auto", "&", "MBB", ":", "MF", ")", "{", "Changed", "|=", "runIfElseOptimization", "(", "MBB", ",", "*", "TII", ")", ";", "}", "return", "Changed", ";", "}", ""], "natrual_language": ["runOnMachineFunction", "-", "Emit", "the", "function", "body", "."], "TS_V_token": ["TVM", "TVM", "\"********** Peephole **********\\n\"", "\"********** Function: \"", "TVM", "\"TargetInstrInfo must be a valid object\""], "File": "TVMPeephole", "Func": "runOnMachineFunction", "Target": "TVM", "Target_Clf": "Virtual ISA", "Compiler_Type": "LLVM", "Idx": 3292, "Length": 106, "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": 3293, "Length": 231, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "static", "rtx", "frv_expand_noargs_builtin", "(", "enum", "insn_code", "icode", ")", "{", "rtx", "pat", "=", "GEN_FCN", "(", "icode", ")", "(", "const0_rtx", ")", ";", "if", "(", "pat", ")", "emit_insn", "(", "pat", ")", ";", "return", "NULL_RTX", ";", "}", ""], "natrual_language": ["Expand", "builtins", "that", "take", "no", "arguments", "."], "TS_V_token": ["frv"], "File": "frv", "Func": "frv_expand_noargs_builtin", "Target": "frv", "Target_Clf": "VLIW", "Compiler_Type": "GCC", "Idx": 3294, "Length": 33, "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": 3295, "Length": 136, "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": 3296, "Length": 131, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "MachineBasicBlock", "::", "iterator", "ARCFrameLowering", "::", "eliminateCallFramePseudoInstr", "(", "MachineFunction", "&", "MF", ",", "MachineBasicBlock", "&", "MBB", ",", "MachineBasicBlock", "::", "iterator", "I", ")", "const", "{", "DEBUG", "(", "dbgs", "(", ")", "<<", "\"EmitCallFramePseudo: \"", "<<", "MF", ".", "getFunction", "(", ")", "->", "getName", "(", ")", "<<", "\"\\n\"", ")", ";", "const", "ARCInstrInfo", "*", "TII", "=", "MF", ".", "getSubtarget", "<", "ARCSubtarget", ">", "(", ")", ".", "getInstrInfo", "(", ")", ";", "MachineInstr", "&", "Old", "=", "*", "I", ";", "DebugLoc", "dl", "=", "Old", ".", "getDebugLoc", "(", ")", ";", "unsigned", "Amt", "=", "Old", ".", "getOperand", "(", "0", ")", ".", "getImm", "(", ")", ";", "auto", "*", "AFI", "=", "MF", ".", "getInfo", "<", "ARCFunctionInfo", ">", "(", ")", ";", "if", "(", "!", "hasFP", "(", "MF", ")", ")", "{", "if", "(", "Amt", ">", "AFI", "->", "MaxCallStackReq", "&&", "Old", ".", "getOpcode", "(", ")", "==", "ARC", "::", "ADJCALLSTACKDOWN", ")", "AFI", "->", "MaxCallStackReq", "=", "Amt", ";", "}", "else", "{", "if", "(", "Amt", "!=", "0", ")", "{", "assert", "(", "(", "Old", ".", "getOpcode", "(", ")", "==", "ARC", "::", "ADJCALLSTACKDOWN", "||", "Old", ".", "getOpcode", "(", ")", "==", "ARC", "::", "ADJCALLSTACKUP", ")", "&&", "\"Unknown Frame Pseudo.\"", ")", ";", "bool", "IsAdd", "=", "(", "Old", ".", "getOpcode", "(", ")", "==", "ARC", "::", "ADJCALLSTACKUP", ")", ";", "emitRegUpdate", "(", "MBB", ",", "I", ",", "dl", ",", "ARC", "::", "SP", ",", "Amt", ",", "IsAdd", ",", "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": ["ARC", "ARC", "\"EmitCallFramePseudo: \"", "\"\\n\"", "ARC", "ARC", "0", "ARC", "ARC::ADJCALLSTACKDOWN", "0", "ARC::ADJCALLSTACKDOWN", "ARC::ADJCALLSTACKUP", "\"Unknown Frame Pseudo.\"", "ARC::ADJCALLSTACKUP", "ARC::SP"], "File": "ARCFrameLowering1", "Func": "eliminateCallFramePseudoInstr", "Target": "ARC", "Target_Clf": "MPU", "Compiler_Type": "LLVM", "Idx": 3297, "Length": 219, "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": 3298, "Length": 303, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "const", "char", "*", "getIdAddr", "(", ")", "const", "override", "{", "return", "&", "ID", ";", "}", ""], "natrual_language": ["See", "AbstractAttribute", ":", ":getIdAddr", "(", ")"], "TS_V_token": ["AMDGPU"], "File": "AMDGPUAttributor", "Func": "getIdAddr", "Target": "AMDGPU", "Target_Clf": "GPU", "Compiler_Type": "LLVM", "Idx": 3299, "Length": 14, "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": 3300, "Length": 343, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "const", "TargetIntrinsicInfo", "*", "getIntrinsicInfo", "(", ")", "const", "{", "return", "&", "IntrinsicInfo", ";", "}", ""], "natrual_language": ["If", "intrinsic", "information", "is", "available", ",", "return", "it", ".", "If", "not", ",", "return", "null", "."], "TS_V_token": ["Blackfin"], "File": "BlackfinTargetMachine", "Func": "getIntrinsicInfo", "Target": "Blackfin", "Target_Clf": "DSP", "Compiler_Type": "LLVM", "Idx": 3301, "Length": 13, "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": 3302, "Length": 68, "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": 3303, "Length": 331, "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": 3304, "Length": 50, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "void", "ARMBankConflictHazardRecognizer", "::", "RecedeCycle", "(", ")", "{", "Accesses", ".", "clear", "(", ")", ";", "}", ""], "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"], "File": "ARMHazardRecognizer19", "Func": "RecedeCycle", "Target": "ARM", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 3305, "Length": 14, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "static", "const", "char", "*", "comparison_string", "(", "enum", "rtx_code", "code", ",", "rtx", "op0", ")", "{", "bool", "is_nz_p", "=", "GET_MODE", "(", "op0", ")", "==", "CC_NZmode", ";", "switch", "(", "code", ")", "{", "default", ":", "output_operand_lossage", "(", "\"bad condition code\"", ")", ";", "return", "\"\"", ";", "case", "EQ", ":", "return", "\"eq\"", ";", "case", "NE", ":", "return", "\"ne\"", ";", "case", "LT", ":", "return", "is_nz_p", "?", "\"n\"", ":", "\"lt\"", ";", "case", "LE", ":", "return", "\"le\"", ";", "case", "GT", ":", "return", "\"gt\"", ";", "case", "GE", ":", "return", "is_nz_p", "?", "\"p\"", ":", "\"ge\"", ";", "case", "LTU", ":", "return", "is_nz_p", "?", "\"no\"", ":", "\"c\"", ";", "case", "LEU", ":", "return", "is_nz_p", "?", "\"eq\"", ":", "\"ls\"", ";", "case", "GTU", ":", "return", "is_nz_p", "?", "\"ne\"", ":", "\"hi\"", ";", "case", "GEU", ":", "return", "is_nz_p", "?", "\"ra\"", ":", "\"nc\"", ";", "}", "}", ""], "natrual_language": ["Return", "the", "comparison", "operator", "to", "use", "for", "CODE", "given", "that", "the", "ICC", "register", "is", "OP0", "."], "TS_V_token": ["frv", "\"bad condition code\"", "\"\"", "\"eq\"", "\"ne\"", "\"n\"", "\"lt\"", "\"le\"", "\"gt\"", "\"p\"", "\"ge\"", "\"no\"", "\"c\"", "\"eq\"", "\"ls\"", "\"ne\"", "\"hi\"", "\"ra\"", "\"nc\""], "File": "frv", "Func": "comparison_string", "Target": "frv", "Target_Clf": "VLIW", "Compiler_Type": "GCC", "Idx": 3306, "Length": 125, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "static", "void", "cris_setup_incoming_varargs", "(", "cumulative_args_t", "ca_v", ",", "const", "function_arg_info", "&", ",", "int", "*", "pretend_arg_size", ",", "int", "second_time", ")", "{", "CUMULATIVE_ARGS", "*", "ca", "=", "get_cumulative_args", "(", "ca_v", ")", ";", "if", "(", "ca", "->", "regs", "<", "CRIS_MAX_ARGS_IN_REGS", ")", "{", "int", "stdarg_regs", "=", "CRIS_MAX_ARGS_IN_REGS", "-", "ca", "->", "regs", ";", "cfun", "->", "machine", "->", "stdarg_regs", "=", "stdarg_regs", ";", "*", "pretend_arg_size", "=", "stdarg_regs", "*", "4", ";", "}", "if", "(", "TARGET_PDEBUG", ")", "fprintf", "(", "asm_out_file", ",", "\"\\n; VA:: ANSI: %d args before, anon @ #%d, %dtime\\n\"", ",", "ca", "->", "regs", ",", "*", "pretend_arg_size", ",", "second_time", ")", ";", "}", ""], "natrual_language": ["Worker", "function", "for", "TARGET_SETUP_INCOMING_VARARGS", "."], "TS_V_token": ["cris", "4", "\"\\n; VA:: ANSI: %d args before, anon @ #%d, %dtime\\n\""], "File": "cris", "Func": "cris_setup_incoming_varargs", "Target": "cris", "Target_Clf": "MPU", "Compiler_Type": "GCC", "Idx": 3307, "Length": 83, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "void", "SIRegisterInfo", "::", "materializeFrameBaseRegister", "(", "MachineBasicBlock", "*", "MBB", ",", "unsigned", "BaseReg", ",", "int", "FrameIdx", ",", "int64_t", "Offset", ")", "const", "{", "MachineBasicBlock", "::", "iterator", "Ins", "=", "MBB", "->", "begin", "(", ")", ";", "DebugLoc", "DL", ";", "if", "(", "Ins", "!=", "MBB", "->", "end", "(", ")", ")", "DL", "=", "Ins", "->", "getDebugLoc", "(", ")", ";", "MachineFunction", "*", "MF", "=", "MBB", "->", "getParent", "(", ")", ";", "const", "GCNSubtarget", "&", "Subtarget", "=", "MF", "->", "getSubtarget", "<", "GCNSubtarget", ">", "(", ")", ";", "const", "SIInstrInfo", "*", "TII", "=", "Subtarget", ".", "getInstrInfo", "(", ")", ";", "if", "(", "Offset", "==", "0", ")", "{", "BuildMI", "(", "*", "MBB", ",", "Ins", ",", "DL", ",", "TII", "->", "get", "(", "AMDGPU", "::", "V_MOV_B32_e32", ")", ",", "BaseReg", ")", ".", "addFrameIndex", "(", "FrameIdx", ")", ";", "return", ";", "}", "MachineRegisterInfo", "&", "MRI", "=", "MF", "->", "getRegInfo", "(", ")", ";", "unsigned", "OffsetReg", "=", "MRI", ".", "createVirtualRegister", "(", "&", "AMDGPU", "::", "SReg_32_XM0RegClass", ")", ";", "unsigned", "FIReg", "=", "MRI", ".", "createVirtualRegister", "(", "&", "AMDGPU", "::", "VGPR_32RegClass", ")", ";", "BuildMI", "(", "*", "MBB", ",", "Ins", ",", "DL", ",", "TII", "->", "get", "(", "AMDGPU", "::", "S_MOV_B32", ")", ",", "OffsetReg", ")", ".", "addImm", "(", "Offset", ")", ";", "BuildMI", "(", "*", "MBB", ",", "Ins", ",", "DL", ",", "TII", "->", "get", "(", "AMDGPU", "::", "V_MOV_B32_e32", ")", ",", "FIReg", ")", ".", "addFrameIndex", "(", "FrameIdx", ")", ";", "TII", "->", "getAddNoCarry", "(", "*", "MBB", ",", "Ins", ",", "DL", ",", "BaseReg", ")", ".", "addReg", "(", "OffsetReg", ",", "RegState", "::", "Kill", ")", ".", "addReg", "(", "FIReg", ")", ";", "}", ""], "natrual_language": ["Insert", "defining", "instruction", "(", "s", ")", "for", "a", "pointer", "to", "FrameIdx", "before", "insertion", "point", "I", "."], "TS_V_token": ["AMDGPU", "SI", "SI", "0", "AMDGPU::V_MOV_B32_e32", "AMDGPU::SReg_32_XM0RegClass", "AMDGPU::VGPR_32RegClass", "AMDGPU::S_MOV_B32", "AMDGPU::V_MOV_B32_e32"], "File": "SIRegisterInfo101", "Func": "materializeFrameBaseRegister", "Target": "AMDGPU", "Target_Clf": "GPU", "Compiler_Type": "LLVM", "Idx": 3308, "Length": 240, "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": 3309, "Length": 41, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "bool", "mep_emit_intrinsic", "(", "int", "intrinsic", ",", "const", "rtx", "*", "operands", ")", "{", "const", "struct", "cgen_insn", "*", "cgen_insn", ";", "const", "struct", "insn_data_d", "*", "idata", ";", "rtx", "newop", "[", "10", "]", ";", "int", "i", ";", "if", "(", "!", "mep_get_intrinsic_insn", "(", "intrinsic", ",", "&", "cgen_insn", ")", ")", "return", "false", ";", "idata", "=", "&", "insn_data", "[", "cgen_insn", "->", "icode", "]", ";", "for", "(", "i", "=", "0", ";", "i", "<", "idata", "->", "n_operands", ";", "i", "++", ")", "{", "newop", "[", "i", "]", "=", "mep_convert_arg", "(", "idata", "->", "operand", "[", "i", "]", ".", "mode", ",", "operands", "[", "i", "]", ")", ";", "if", "(", "!", "idata", "->", "operand", "[", "i", "]", ".", "predicate", "(", "newop", "[", "i", "]", ",", "idata", "->", "operand", "[", "i", "]", ".", "mode", ")", ")", "return", "false", ";", "}", "emit_insn", "(", "idata", "->", "genfun", "(", "newop", "[", "0", "]", ",", "newop", "[", "1", "]", ",", "newop", "[", "2", "]", ",", "newop", "[", "3", "]", ",", "newop", "[", "4", "]", ",", "newop", "[", "5", "]", ",", "newop", "[", "6", "]", ",", "newop", "[", "7", "]", ",", "newop", "[", "8", "]", ")", ")", ";", "return", "true", ";", "}", ""], "natrual_language": ["Try", "to", "instantiate", "INTRINSIC", "with", "the", "operands", "given", "in", "OPERANDS", ".", "Return", "true", "on", "success", ".", "This", "function", "can", "fail", "if", "the", "intrinsic", "is", "unavailable", "or", "if", "the", "operands", "do", "n't", "satisfy", "their", "predicates", "."], "TS_V_token": ["mep", "10", "0", "0", "1", "2", "3", "4", "5", "6", "7", "8"], "File": "mep", "Func": "mep_emit_intrinsic", "Target": "mep", "Target_Clf": "CPU", "Compiler_Type": "GCC", "Idx": 3310, "Length": 183, "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": 3311, "Length": 420, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "bool", "AMDGPUSymbolizer", "::", "tryAddingSymbolicOperand", "(", "MCInst", "&", "Inst", ",", "raw_ostream", "&", ",", "int64_t", "Value", ",", "uint64_t", ",", "bool", "IsBranch", ",", "uint64_t", ",", "uint64_t", ")", "{", "if", "(", "!", "IsBranch", ")", "{", "return", "false", ";", "}", "auto", "*", "Symbols", "=", "static_cast", "<", "SectionSymbolsTy", "*", ">", "(", "DisInfo", ")", ";", "if", "(", "!", "Symbols", ")", "return", "false", ";", "auto", "Result", "=", "llvm", "::", "find_if", "(", "*", "Symbols", ",", "[", "Value", "]", "(", "const", "SymbolInfoTy", "&", "Val", ")", "{", "return", "Val", ".", "Addr", "==", "static_cast", "<", "uint64_t", ">", "(", "Value", ")", "&&", "Val", ".", "Type", "==", "ELF", "::", "STT_NOTYPE", ";", "}", ")", ";", "if", "(", "Result", "!=", "Symbols", "->", "end", "(", ")", ")", "{", "auto", "*", "Sym", "=", "Ctx", ".", "getOrCreateSymbol", "(", "Result", "->", "Name", ")", ";", "const", "auto", "*", "Add", "=", "MCSymbolRefExpr", "::", "create", "(", "Sym", ",", "Ctx", ")", ";", "Inst", ".", "addOperand", "(", "MCOperand", "::", "createExpr", "(", "Add", ")", ")", ";", "return", "true", ";", "}", "ReferencedAddresses", ".", "push_back", "(", "static_cast", "<", "uint64_t", ">", "(", "Value", ")", ")", ";", "return", "false", ";", "}", ""], "natrual_language": ["Try", "to", "add", "a", "symbolic", "operand", "instead", "of", "Value", "to", "the", "MCInst", "."], "TS_V_token": ["AMDGPU", "AMDGPU"], "File": "AMDGPUDisassembler15", "Func": "tryAddingSymbolicOperand", "Target": "AMDGPU", "Target_Clf": "GPU", "Compiler_Type": "LLVM", "Idx": 3312, "Length": 171, "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": 3313, "Length": 374, "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": 3314, "Length": 32, "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": 3315, "Length": 19, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "bool", "runOnMachineFunction", "(", "MachineFunction", "&", "MF", ")", "override", "{", "const", "R600Subtarget", "&", "ST", "=", "MF", ".", "getSubtarget", "<", "R600Subtarget", ">", "(", ")", ";", "TII", "=", "ST", ".", "getInstrInfo", "(", ")", ";", "for", "(", "MachineFunction", "::", "iterator", "BB", "=", "MF", ".", "begin", "(", ")", ",", "BB_E", "=", "MF", ".", "end", "(", ")", ";", "BB", "!=", "BB_E", ";", "++", "BB", ")", "{", "MachineBasicBlock", "&", "MBB", "=", "*", "BB", ";", "MachineBasicBlock", "::", "iterator", "I", "=", "MBB", ".", "begin", "(", ")", ";", "if", "(", "I", "!=", "MBB", ".", "end", "(", ")", "&&", "I", "->", "getOpcode", "(", ")", "==", "AMDGPU", "::", "CF_ALU", ")", "continue", ";", "for", "(", "MachineBasicBlock", "::", "iterator", "E", "=", "MBB", ".", "end", "(", ")", ";", "I", "!=", "E", ";", ")", "{", "if", "(", "isALU", "(", "*", "I", ")", ")", "{", "auto", "next", "=", "MakeALUClause", "(", "MBB", ",", "I", ")", ";", "assert", "(", "next", "!=", "I", ")", ";", "I", "=", "next", ";", "}", "else", "++", "I", ";", "}", "}", "return", "false", ";", "}", ""], "natrual_language": ["runOnMachineFunction", "-", "Emit", "the", "function", "body", "."], "TS_V_token": ["AMDGPU", "R600", "R600", "AMDGPU::CF_ALU"], "File": "R600EmitClauseMarkers13", "Func": "runOnMachineFunction", "Target": "AMDGPU", "Target_Clf": "GPU", "Compiler_Type": "LLVM", "Idx": 3316, "Length": 160, "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": 3317, "Length": 187, "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": 3318, "Length": 12, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "static", "void", "bfin_init_builtins", "(", "void", ")", "{", "tree", "void_ftype_void", "=", "build_function_type", "(", "void_type_node", ",", "void_list_node", ")", ";", "def_builtin", "(", "\"__builtin_bfin_csync\"", ",", "void_ftype_void", ",", "BFIN_BUILTIN_CSYNC", ")", ";", "def_builtin", "(", "\"__builtin_bfin_ssync\"", ",", "void_ftype_void", ",", "BFIN_BUILTIN_SSYNC", ")", ";", "}", ""], "natrual_language": ["Set", "up", "all", "builtin", "functions", "for", "this", "target", "."], "TS_V_token": ["bfin", "\"__builtin_bfin_csync\"", "\"__builtin_bfin_ssync\""], "File": "bfin2", "Func": "bfin_init_builtins", "Target": "bfin", "Target_Clf": "DSP", "Compiler_Type": "GCC", "Idx": 3319, "Length": 36, "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": 3320, "Length": 296, "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": 3321, "Length": 317, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "bool", "XCoreTargetLowering", "::", "isLegalAddressingMode", "(", "const", "AddrMode", "&", "AM", ",", "const", "Type", "*", "Ty", ")", "const", "{", "if", "(", "Ty", "->", "getTypeID", "(", ")", "==", "Type", "::", "VoidTyID", ")", "return", "AM", ".", "Scale", "==", "0", "&&", "isImmUs", "(", "AM", ".", "BaseOffs", ")", "&&", "isImmUs4", "(", "AM", ".", "BaseOffs", ")", ";", "const", "TargetData", "*", "TD", "=", "TM", ".", "getTargetData", "(", ")", ";", "unsigned", "Size", "=", "TD", "->", "getTypeAllocSize", "(", "Ty", ")", ";", "if", "(", "AM", ".", "BaseGV", ")", "{", "return", "Size", ">=", "4", "&&", "!", "AM", ".", "HasBaseReg", "&&", "AM", ".", "Scale", "==", "0", "&&", "AM", ".", "BaseOffs", "%", "4", "==", "0", ";", "}", "switch", "(", "Size", ")", "{", "case", "1", ":", "if", "(", "AM", ".", "Scale", "==", "0", ")", "{", "return", "isImmUs", "(", "AM", ".", "BaseOffs", ")", ";", "}", "return", "AM", ".", "Scale", "==", "1", "&&", "AM", ".", "BaseOffs", "==", "0", ";", "case", "2", ":", "case", "3", ":", "if", "(", "AM", ".", "Scale", "==", "0", ")", "{", "return", "isImmUs2", "(", "AM", ".", "BaseOffs", ")", ";", "}", "return", "AM", ".", "Scale", "==", "2", "&&", "AM", ".", "BaseOffs", "==", "0", ";", "default", ":", "if", "(", "AM", ".", "Scale", "==", "0", ")", "{", "return", "isImmUs4", "(", "AM", ".", "BaseOffs", ")", ";", "}", "return", "AM", ".", "Scale", "==", "4", "&&", "AM", ".", "BaseOffs", "==", "0", ";", "}", "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": ["XCore", "XCore", "0", "4", "0", "4", "0", "1", "0", "1", "0", "2", "3", "0", "2", "0", "0", "4", "0"], "File": "XCoreISelLowering15", "Func": "isLegalAddressingMode", "Target": "XCore", "Target_Clf": "MPU", "Compiler_Type": "LLVM", "Idx": 3322, "Length": 217, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "enum", "attr_opy_type", "m68k_sched_attr_opy_type", "(", "rtx_insn", "*", "insn", ",", "int", "address_p", ")", "{", "switch", "(", "sched_attr_op_type", "(", "insn", ",", "false", ",", "address_p", "!=", "0", ")", ")", "{", "case", "OP_TYPE_RN", ":", "return", "OPY_TYPE_RN", ";", "case", "OP_TYPE_FPN", ":", "return", "OPY_TYPE_FPN", ";", "case", "OP_TYPE_MEM1", ":", "return", "OPY_TYPE_MEM1", ";", "case", "OP_TYPE_MEM234", ":", "return", "OPY_TYPE_MEM234", ";", "case", "OP_TYPE_MEM5", ":", "return", "OPY_TYPE_MEM5", ";", "case", "OP_TYPE_MEM6", ":", "return", "OPY_TYPE_MEM6", ";", "case", "OP_TYPE_MEM7", ":", "return", "OPY_TYPE_MEM7", ";", "case", "OP_TYPE_IMM_Q", ":", "return", "OPY_TYPE_IMM_Q", ";", "case", "OP_TYPE_IMM_W", ":", "return", "OPY_TYPE_IMM_W", ";", "case", "OP_TYPE_IMM_L", ":", "return", "OPY_TYPE_IMM_L", ";", "default", ":", "gcc_unreachable", "(", ")", ";", "}", "}", ""], "natrual_language": ["Implement", "opy_type", "attribute", ".", "Return", "type", "of", "INSN", "'s", "operand", "Y", ".", "If", "ADDRESS_P", "is", "true", ",", "return", "type", "of", "memory", "location", "operand", "refers", "to", "."], "TS_V_token": ["m68k", "0"], "File": "m68k", "Func": "m68k_sched_attr_opy_type", "Target": "m68k", "Target_Clf": "MPU", "Compiler_Type": "GCC", "Idx": 3323, "Length": 94, "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": 3324, "Length": 20, "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": 3325, "Length": 273, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "unsigned", "M680x0InstrInfo", "::", "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", "(", ")", "!=", "M680x0", "::", "BRA8", "&&", "getCondFromBranchOpc", "(", "I", "->", "getOpcode", "(", ")", ")", "==", "M680x0", "::", "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": ["M680x0", "M680x0", "\"code size not handled\"", "0", "M680x0::BRA8", "M680x0::COND_INVALID"], "File": "M680x0InstrInfo", "Func": "removeBranch", "Target": "M680x0", "Target_Clf": "MPU", "Compiler_Type": "LLVM", "Idx": 3326, "Length": 112, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "bool", "avr_xload_libgcc_p", "(", "machine_mode", "mode", ")", "{", "int", "n_bytes", "=", "GET_MODE_SIZE", "(", "mode", ")", ";", "return", "(", "n_bytes", ">", "1", "||", "avr_n_flash", ">", "1", ")", ";", "}", ""], "natrual_language": ["Return", "true", "if", "a", "value", "of", "mode", "MODE", "is", "read", "by", "__xload_", "*", "function", "."], "TS_V_token": ["avr", "1", "1"], "File": "avr", "Func": "avr_xload_libgcc_p", "Target": "avr", "Target_Clf": "MPU", "Compiler_Type": "GCC", "Idx": 3327, "Length": 27, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "bool", "XCoreInstrInfo", "::", "reverseBranchCondition", "(", "SmallVectorImpl", "<", "MachineOperand", ">", "&", "Cond", ")", "const", "{", "assert", "(", "(", "Cond", ".", "size", "(", ")", "==", "2", ")", "&&", "\"Invalid XCore branch condition!\"", ")", ";", "Cond", "[", "0", "]", ".", "setImm", "(", "GetOppositeBranchCondition", "(", "(", "XCore", "::", "CondCode", ")", "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": ["XCore", "XCore", "2", "\"Invalid XCore branch condition!\"", "0", "XCore::CondCode", "0"], "File": "XCoreInstrInfo18", "Func": "reverseBranchCondition", "Target": "XCore", "Target_Clf": "MPU", "Compiler_Type": "LLVM", "Idx": 3328, "Length": 58, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "bool", "enableSubRegLiveness", "(", ")", "const", "override", "{", "return", "true", ";", "}", ""], "natrual_language": ["Enable", "tracking", "of", "subregister", "liveness", "in", "register", "allocator", "."], "TS_V_token": ["GBZ80"], "File": "GBZ80Subtarget", "Func": "enableSubRegLiveness", "Target": "GBZ80", "Target_Clf": "MPU", "Compiler_Type": "LLVM", "Idx": 3329, "Length": 11, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "static", "inline", "bool", "global_not_special_regno_p", "(", "int", "regno", ")", "{", "return", "(", "global_regs", "[", "regno", "]", "&&", "!", "(", "regno", "==", "STACK_POINTER_REGNUM", "||", "regno", "==", "RETURN_REGNUM", "||", "regno", "==", "BASE_REGNUM", "||", "(", "flag_pic", "&&", "regno", "==", "(", "int", ")", "PIC_OFFSET_TABLE_REGNUM", ")", ")", ")", ";", "}", ""], "natrual_language": ["Return", "true", "if", "REGNO", "is", "a", "global", "register", ",", "but", "not", "one", "of", "the", "special", "ones", "that", "need", "to", "be", "saved/restored", "in", "anyway", "."], "TS_V_token": ["s390"], "File": "s390", "Func": "global_not_special_regno_p", "Target": "s390", "Target_Clf": "MPU", "Compiler_Type": "GCC", "Idx": 3330, "Length": 44, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "const", "char", "*", "cr16_emit_logical_di", "(", "rtx", "*", "operands", ",", "enum", "rtx_code", "code", ")", "{", "rtx", "lo_op", "[", "2", "]", ";", "rtx", "hi_op", "[", "2", "]", ";", "lo_op", "[", "0", "]", "=", "gen_lowpart", "(", "SImode", ",", "operands", "[", "0", "]", ")", ";", "hi_op", "[", "0", "]", "=", "simplify_gen_subreg", "(", "SImode", ",", "operands", "[", "0", "]", ",", "DImode", ",", "4", ")", ";", "lo_op", "[", "1", "]", "=", "gen_lowpart", "(", "SImode", ",", "operands", "[", "2", "]", ")", ";", "hi_op", "[", "1", "]", "=", "simplify_gen_subreg", "(", "SImode", ",", "operands", "[", "2", "]", ",", "DImode", ",", "4", ")", ";", "switch", "(", "code", ")", "{", "case", "AND", ":", "{", "output_asm_insn", "(", "\"andd\\t%1, %0\"", ",", "lo_op", ")", ";", "output_asm_insn", "(", "\"andd\\t%1, %0\"", ",", "hi_op", ")", ";", "return", "\"\"", ";", "}", "case", "IOR", ":", "{", "output_asm_insn", "(", "\"ord\\t%1, %0\"", ",", "lo_op", ")", ";", "output_asm_insn", "(", "\"ord\\t%1, %0\"", ",", "hi_op", ")", ";", "return", "\"\"", ";", "}", "case", "XOR", ":", "{", "output_asm_insn", "(", "\"xord\\t%1, %0\"", ",", "lo_op", ")", ";", "output_asm_insn", "(", "\"xord\\t%1, %0\"", ",", "hi_op", ")", ";", "return", "\"\"", ";", "}", "default", ":", "break", ";", "}", "return", "\"\"", ";", "}", ""], "natrual_language": ["Helper", "function", "for", "md", "file", ".", "This", "function", "is", "used", "to", "emit", "logical", "DI", "instructions", ".", "The", "argument", "``", "num", "''", "decides", "which", "instruction", "to", "be", "printed", "."], "TS_V_token": ["cr16", "2", "2", "0", "0", "0", "0", "4", "1", "2", "1", "2", "4", "\"andd\\t%1, %0\"", "\"andd\\t%1, %0\"", "\"\"", "\"ord\\t%1, %0\"", "\"ord\\t%1, %0\"", "\"\"", "\"xord\\t%1, %0\"", "\"xord\\t%1, %0\"", "\"\"", "\"\""], "File": "cr16", "Func": "cr16_emit_logical_di", "Target": "cr16", "Target_Clf": "MPU", "Compiler_Type": "GCC", "Idx": 3331, "Length": 174, "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": 3332, "Length": 159, "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": 3333, "Length": 357, "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": 3334, "Length": 16, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "void", "PTXInstPrinter", "::", "printRegName", "(", "raw_ostream", "&", "OS", ",", "unsigned", "RegNo", ")", "const", "{", "OS", "<<", "getRegisterName", "(", "RegNo", ")", ";", "}", ""], "natrual_language": ["Print", "the", "assembler", "register", "name", "."], "TS_V_token": ["PTX", "PTX"], "File": "PTXInstPrinter", "Func": "printRegName", "Target": "PTX", "Target_Clf": "GPU", "Compiler_Type": "LLVM", "Idx": 3335, "Length": 22, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "const", "MCFixupKindInfo", "&", "getFixupKindInfo", "(", "MCFixupKind", "Kind", ")", "const", "{", "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": "ARM64AsmBackend", "Func": "getFixupKindInfo", "Target": "ARM64", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 3336, "Length": 211, "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": 3337, "Length": 273, "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": 3338, "Length": 19, "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": 3339, "Length": 273, "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": 3340, "Length": 56, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "SMLoc", "getEndLoc", "(", ")", "const", "override", "{", "return", "End", ";", "}", ""], "natrual_language": ["getEndLoc", "-", "Get", "the", "location", "of", "the", "last", "token", "of", "this", "operand", "."], "TS_V_token": ["M68k"], "File": "M68kAsmParser", "Func": "getEndLoc", "Target": "M68k", "Target_Clf": "MPU", "Compiler_Type": "LLVM", "Idx": 3341, "Length": 11, "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": 3342, "Length": 21, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "bool", "HSAILPassConfig", "::", "addInstSelector", "(", ")", "{", "HSAILTargetMachine", "&", "HSATM", "=", "getTM", "<", "HSAILTargetMachine", ">", "(", ")", ";", "addPass", "(", "createHSAILISelDag", "(", "HSATM", ")", ")", ";", "addPass", "(", "&", "DeadMachineInstructionElimID", ")", ";", "if", "(", "EnableUniformOps", ")", "{", "addPass", "(", "createHSAILUniformOperations", "(", "HSATM", ")", ")", ";", "}", "return", "false", ";", "}", ""], "natrual_language": ["addInstSelector", "-", "This", "method", "should", "install", "an", "instruction", "selector", "pass", ",", "which", "converts", "from", "LLVM", "code", "to", "machine", "instructions", "."], "TS_V_token": ["HSAIL", "HSAIL", "HSAIL", "HSAIL", "HSAIL", "HSAIL"], "File": "HSAILTargetMachine", "Func": "addInstSelector", "Target": "HSAIL", "Target_Clf": "Virtual ISA", "Compiler_Type": "LLVM", "Idx": 3343, "Length": 50, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "const", "TargetRegisterClass", "*", "SIInstrInfo", "::", "getOpRegClass", "(", "const", "MachineInstr", "&", "MI", ",", "unsigned", "OpNo", ")", "const", "{", "const", "MachineRegisterInfo", "&", "MRI", "=", "MI", ".", "getParent", "(", ")", "->", "getParent", "(", ")", "->", "getRegInfo", "(", ")", ";", "const", "MCInstrDesc", "&", "Desc", "=", "get", "(", "MI", ".", "getOpcode", "(", ")", ")", ";", "if", "(", "MI", ".", "isVariadic", "(", ")", "||", "OpNo", ">=", "Desc", ".", "getNumOperands", "(", ")", "||", "Desc", ".", "OpInfo", "[", "OpNo", "]", ".", "RegClass", "==", "-", "1", ")", "{", "unsigned", "Reg", "=", "MI", ".", "getOperand", "(", "OpNo", ")", ".", "getReg", "(", ")", ";", "if", "(", "TargetRegisterInfo", "::", "isVirtualRegister", "(", "Reg", ")", ")", "return", "MRI", ".", "getRegClass", "(", "Reg", ")", ";", "return", "RI", ".", "getRegClass", "(", "Reg", ")", ";", "}", "unsigned", "RCID", "=", "Desc", ".", "OpInfo", "[", "OpNo", "]", ".", "RegClass", ";", "return", "RI", ".", "getRegClass", "(", "RCID", ")", ";", "}", ""], "natrual_language": ["Return", "the", "correct", "register", "class", "for", "OpNo", "."], "TS_V_token": ["R600", "SI", "1"], "File": "SIInstrInfo119", "Func": "getOpRegClass", "Target": "R600", "Target_Clf": "GPU", "Compiler_Type": "LLVM", "Idx": 3344, "Length": 140, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "bool", "TeakInstrInfo", "::", "reverseBranchCondition", "(", "SmallVectorImpl", "<", "MachineOperand", ">", "&", "Cond", ")", "const", "{", "if", "(", "!", "Cond", "[", "0", "]", ".", "isImm", "(", ")", ")", "return", "true", ";", "TeakCC", "::", "CondCodes", "CC", "=", "static_cast", "<", "TeakCC", "::", "CondCodes", ">", "(", "Cond", "[", "0", "]", ".", "getImm", "(", ")", ")", ";", "switch", "(", "CC", ")", "{", "default", ":", "return", "true", ";", "case", "TeakCC", "::", "Eq", ":", "CC", "=", "TeakCC", "::", "Neq", ";", "break", ";", "case", "TeakCC", "::", "Neq", ":", "CC", "=", "TeakCC", "::", "Eq", ";", "break", ";", "case", "TeakCC", "::", "Gt", ":", "CC", "=", "TeakCC", "::", "Le", ";", "break", ";", "case", "TeakCC", "::", "Ge", ":", "CC", "=", "TeakCC", "::", "Lt", ";", "break", ";", "case", "TeakCC", "::", "Lt", ":", "CC", "=", "TeakCC", "::", "Ge", ";", "break", ";", "case", "TeakCC", "::", "Le", ":", "CC", "=", "TeakCC", "::", "Gt", ";", "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": ["Teak", "Teak", "0", "TeakCC::CondCodes", "TeakCC::CondCodes", "0", "TeakCC::Eq", "TeakCC::Neq", "TeakCC::Neq", "TeakCC::Eq", "TeakCC::Gt", "TeakCC::Le", "TeakCC::Ge", "TeakCC::Lt", "TeakCC::Lt", "TeakCC::Ge", "TeakCC::Le", "TeakCC::Gt", "0"], "File": "TeakInstrInfo", "Func": "reverseBranchCondition", "Target": "Teak", "Target_Clf": "DSP", "Compiler_Type": "LLVM", "Idx": 3345, "Length": 154, "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": 3346, "Length": 108, "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": 3347, "Length": 155, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "bool", "NVPTXAsmPrinter", "::", "doFinalization", "(", "Module", "&", "M", ")", "{", "bool", "HasDebugInfo", "=", "MMI", "&&", "MMI", "->", "hasDebugInfo", "(", ")", ";", "if", "(", "!", "GlobalsEmitted", ")", "{", "emitGlobals", "(", "M", ")", ";", "GlobalsEmitted", "=", "true", ";", "}", "Module", "::", "GlobalListType", "&", "global_list", "=", "M", ".", "getGlobalList", "(", ")", ";", "int", "i", ",", "n", "=", "global_list", ".", "size", "(", ")", ";", "GlobalVariable", "*", "*", "gv_array", "=", "new", "GlobalVariable", "*", "[", "n", "]", ";", "i", "=", "0", ";", "for", "(", "Module", "::", "global_iterator", "I", "=", "global_list", ".", "begin", "(", ")", ",", "E", "=", "global_list", ".", "end", "(", ")", ";", "I", "!=", "E", ";", "++", "I", ")", "gv_array", "[", "i", "++", "]", "=", "&", "*", "I", ";", "while", "(", "!", "global_list", ".", "empty", "(", ")", ")", "global_list", ".", "remove", "(", "global_list", ".", "begin", "(", ")", ")", ";", "bool", "ret", "=", "AsmPrinter", "::", "doFinalization", "(", "M", ")", ";", "for", "(", "i", "=", "0", ";", "i", "<", "n", ";", "i", "++", ")", "global_list", ".", "insert", "(", "global_list", ".", "end", "(", ")", ",", "gv_array", "[", "i", "]", ")", ";", "clearAnnotationCache", "(", "&", "M", ")", ";", "delete", "[", "]", "gv_array", ";", "if", "(", "HasDebugInfo", ")", "{", "static_cast", "<", "NVPTXTargetStreamer", "*", ">", "(", "OutStreamer", "->", "getTargetStreamer", "(", ")", ")", "->", "closeLastSection", "(", ")", ";", "OutStreamer", "->", "EmitRawText", "(", "\"\\t.section\\t.debug_loc\\t{\\t}\"", ")", ";", "}", "static_cast", "<", "NVPTXTargetStreamer", "*", ">", "(", "OutStreamer", "->", "getTargetStreamer", "(", ")", ")", "->", "outputDwarfFileDirectives", "(", ")", ";", "return", "ret", ";", "}", ""], "natrual_language": ["doFinalization", "-", "Virtual", "method", "overriden", "by", "subclasses", "to", "do", "any", "necessary", "clean", "up", "after", "all", "passes", "have", "run", "."], "TS_V_token": ["NVPTX", "NVPTX", "0", "0", "NVPTX", "\"\\t.section\\t.debug_loc\\t{\\t}\"", "NVPTX"], "File": "NVPTXAsmPrinter37", "Func": "doFinalization", "Target": "NVPTX", "Target_Clf": "GPU", "Compiler_Type": "LLVM", "Idx": 3348, "Length": 235, "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": 3349, "Length": 322, "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", ")", "!=", "0", ")", "{", "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", "0"], "File": "PPCDisassembler12", "Func": "getInstruction", "Target": "PowerPC", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 3350, "Length": 166, "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", ")", ",", "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", "ARM", "ARM", "ARM", "ARM", "ARM", "ARM", "ARM", "ARM"], "File": "ARMSubtarget14", "Func": "ARMSubtarget", "Target": "ARM", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 3351, "Length": 217, "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": 3352, "Length": 135, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "SDValue", "WebAssemblyTargetLowering", "::", "PerformDAGCombine", "(", "SDNode", "*", "N", ",", "DAGCombinerInfo", "&", "DCI", ")", "const", "{", "switch", "(", "N", "->", "getOpcode", "(", ")", ")", "{", "default", ":", "return", "SDValue", "(", ")", ";", "case", "ISD", "::", "VECTOR_SHUFFLE", ":", "return", "performVECTOR_SHUFFLECombine", "(", "N", ",", "DCI", ")", ";", "case", "ISD", "::", "SIGN_EXTEND", ":", "case", "ISD", "::", "ZERO_EXTEND", ":", "return", "performVectorWidenCombine", "(", "N", ",", "DCI", ")", ";", "}", "}", ""], "natrual_language": ["This", "method", "will", "be", "invoked", "for", "all", "target", "nodes", "and", "for", "any", "target-independent", "nodes", "that", "the", "target", "has", "registered", "with", "invoke", "it", "for", "."], "TS_V_token": ["WebAssembly", "WebAssembly", "ISD::VECTOR_SHUFFLE", "ISD::SIGN_EXTEND", "ISD::ZERO_EXTEND"], "File": "WebAssemblyISelLowering31", "Func": "PerformDAGCombine", "Target": "WebAssembly", "Target_Clf": "Virtual ISA", "Compiler_Type": "LLVM", "Idx": 3353, "Length": 64, "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": 3354, "Length": 206, "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": 3355, "Length": 54, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "void", "GCNPassConfig", "::", "addPostRegAlloc", "(", ")", "{", "addPass", "(", "createSIShrinkInstructionsPass", "(", ")", ",", "false", ")", ";", "}", ""], "natrual_language": ["This", "method", "may", "be", "implemented", "by", "targets", "that", "want", "to", "run", "passes", "after", "register", "allocation", "pass", "pipeline", "but", "before", "prolog-epilog", "insertion", "."], "TS_V_token": ["AMDGPU", "SI"], "File": "AMDGPUTargetMachine (2)", "Func": "addPostRegAlloc", "Target": "AMDGPU", "Target_Clf": "GPU", "Compiler_Type": "LLVM", "Idx": 3356, "Length": 17, "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": 3357, "Length": 346, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "static", "void", "epiphany_output_mi_thunk", "(", "FILE", "*", "file", ",", "tree", "thunk", "ATTRIBUTE_UNUSED", ",", "HOST_WIDE_INT", "delta", ",", "HOST_WIDE_INT", "vcall_offset", ",", "tree", "function", ")", "{", "const", "char", "*", "fnname", "=", "IDENTIFIER_POINTER", "(", "DECL_ASSEMBLER_NAME", "(", "thunk", ")", ")", ";", "int", "this_regno", "=", "aggregate_value_p", "(", "TREE_TYPE", "(", "TREE_TYPE", "(", "function", ")", ")", ",", "function", ")", "?", "1", ":", "0", ";", "const", "char", "*", "this_name", "=", "reg_names", "[", "this_regno", "]", ";", "const", "char", "*", "fname", ";", "assemble_start_function", "(", "thunk", ",", "fnname", ")", ";", "gcc_assert", "(", "call_used_or_fixed_reg_p", "(", "GPR_IP", ")", ")", ";", "gcc_assert", "(", "call_used_or_fixed_reg_p", "(", "GPR_16", ")", ")", ";", "if", "(", "delta", "==", "0", ")", ";", "else", "if", "(", "SIMM11", "(", "delta", ")", ")", "asm_fprintf", "(", "file", ",", "\"\\tadd\\t%s,%s,%d\\n\"", ",", "this_name", ",", "this_name", ",", "(", "int", ")", "delta", ")", ";", "else", "if", "(", "delta", "<", "0", "&&", "delta", ">=", "-", "0xffff", ")", "{", "asm_fprintf", "(", "file", ",", "\"\\tmov\\tip,%d\\n\"", ",", "(", "int", ")", "-", "delta", ")", ";", "asm_fprintf", "(", "file", ",", "\"\\tsub\\t%s,%s,ip\\n\"", ",", "this_name", ",", "this_name", ")", ";", "}", "else", "{", "asm_fprintf", "(", "file", ",", "\"\\tmov\\tip,%%low(%ld)\\n\"", ",", "(", "long", ")", "delta", ")", ";", "if", "(", "delta", "&", "~", "0xffff", ")", "asm_fprintf", "(", "file", ",", "\"\\tmovt\\tip,%%high(%ld)\\n\"", ",", "(", "long", ")", "delta", ")", ";", "asm_fprintf", "(", "file", ",", "\"\\tadd\\t%s,%s,ip\\n\"", ",", "this_name", ",", "this_name", ")", ";", "}", "if", "(", "vcall_offset", "!=", "0", ")", "{", "asm_fprintf", "(", "file", ",", "\"\\tldr\\tip, [%s]\\n\"", ",", "this_name", ")", ";", "if", "(", "vcall_offset", "<", "-", "0x7ff", "*", "4", "||", "vcall_offset", ">", "0x7ff", "*", "4", "||", "(", "vcall_offset", "&", "3", ")", "!=", "0", ")", "{", "asm_fprintf", "(", "file", ",", "\"\\tmov\\tr16, %%low(%ld)\\n\"", ",", "(", "long", ")", "vcall_offset", ")", ";", "asm_fprintf", "(", "file", ",", "\"\\tmovt\\tr16, %%high(%ld)\\n\"", ",", "(", "long", ")", "vcall_offset", ")", ";", "asm_fprintf", "(", "file", ",", "\"\\tldr\\tip, [ip,r16]\\n\"", ")", ";", "}", "else", "asm_fprintf", "(", "file", ",", "\"\\tldr\\tip, [ip,%d]\\n\"", ",", "(", "int", ")", "vcall_offset", "/", "4", ")", ";", "asm_fprintf", "(", "file", ",", "\"\\tadd\\t%s, %s, ip\\n\"", ",", "this_name", ",", "this_name", ")", ";", "}", "fname", "=", "XSTR", "(", "XEXP", "(", "DECL_RTL", "(", "function", ")", ",", "0", ")", ",", "0", ")", ";", "if", "(", "epiphany_is_long_call_p", "(", "XEXP", "(", "DECL_RTL", "(", "function", ")", ",", "0", ")", ")", ")", "{", "fputs", "(", "\"\\tmov\\tip,%low(\"", ",", "file", ")", ";", "assemble_name", "(", "file", ",", "fname", ")", ";", "fputs", "(", "\")\\n\\tmovt\\tip,%high(\"", ",", "file", ")", ";", "assemble_name", "(", "file", ",", "fname", ")", ";", "fputs", "(", "\")\\n\\tjr ip\\n\"", ",", "file", ")", ";", "}", "else", "{", "fputs", "(", "\"\\tb\\t\"", ",", "file", ")", ";", "assemble_name", "(", "file", ",", "fname", ")", ";", "fputc", "(", "'\\n'", ",", "file", ")", ";", "}", "assemble_end_function", "(", "thunk", ",", "fnname", ")", ";", "}", ""], "natrual_language": ["Output", "code", "to", "add", "DELTA", "to", "the", "first", "argument", ",", "and", "then", "jump", "to", "FUNCTION", ".", "Used", "for", "C++", "multiple", "inheritance", "."], "TS_V_token": ["epiphany", "1", "0", "0", "\"\\tadd\\t%s,%s,%d\\n\"", "0", "0xffff", "\"\\tmov\\tip,%d\\n\"", "\"\\tsub\\t%s,%s,ip\\n\"", "\"\\tmov\\tip,%%low(%ld)\\n\"", "0xffff", "\"\\tmovt\\tip,%%high(%ld)\\n\"", "\"\\tadd\\t%s,%s,ip\\n\"", "0", "\"\\tldr\\tip, [%s]\\n\"", "0x7ff", "4", "0x7ff", "4", "3", "0", "\"\\tmov\\tr16, %%low(%ld)\\n\"", "\"\\tmovt\\tr16, %%high(%ld)\\n\"", "\"\\tldr\\tip, [ip,r16]\\n\"", "\"\\tldr\\tip, [ip,%d]\\n\"", "4", "\"\\tadd\\t%s, %s, ip\\n\"", "0", "0", "0", "\"\\tmov\\tip,%low(\"", "\")\\n\\tmovt\\tip,%high(\"", "\")\\n\\tjr ip\\n\"", "\"\\tb\\t\""], "File": "epiphany", "Func": "epiphany_output_mi_thunk", "Target": "epiphany", "Target_Clf": "MPU", "Compiler_Type": "GCC", "Idx": 3358, "Length": 407, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "bool", "Z80oldFrameLowering", "::", "restoreCalleeSavedRegisters", "(", "MachineBasicBlock", "&", "MBB", ",", "MachineBasicBlock", "::", "iterator", "MI", ",", "std", "::", "vector", "<", "CalleeSavedInfo", ">", "&", "CSI", ",", "const", "TargetRegisterInfo", "*", "TRI", ")", "const", "{", "const", "MachineFunction", "&", "MF", "=", "*", "MBB", ".", "getParent", "(", ")", ";", "bool", "UseShadow", "=", "shouldUseShadow", "(", "MF", ")", ";", "DebugLoc", "DL", "=", "MBB", ".", "findDebugLoc", "(", "MI", ")", ";", "for", "(", "unsigned", "i", "=", "0", ",", "e", "=", "CSI", ".", "size", "(", ")", ";", "i", "!=", "e", ";", "++", "i", ")", "{", "unsigned", "Reg", "=", "CSI", "[", "i", "]", ".", "getReg", "(", ")", ";", "if", "(", "UseShadow", "&&", "!", "Z80old", "::", "IR16RegClass", ".", "contains", "(", "Reg", ")", ")", "{", "continue", ";", "}", "MachineInstrBuilder", "MIB", ";", "if", "(", "Reg", "==", "Z80old", "::", "AF", ")", "{", "MIB", "=", "BuildMI", "(", "MBB", ",", "MI", ",", "DL", ",", "TII", ".", "get", "(", "Z80old", "::", "POP16AF", ")", ")", ";", "}", "else", "MIB", "=", "BuildMI", "(", "MBB", ",", "MI", ",", "DL", ",", "TII", ".", "get", "(", "Z80old", "::", "POP16r", ")", ",", "Reg", ")", ";", "MIB", ".", "setMIFlag", "(", "MachineInstr", "::", "FrameDestroy", ")", ";", "}", "if", "(", "UseShadow", ")", "{", "shadowCalleeSavedRegisters", "(", "MBB", ",", "MI", ",", "DL", ",", "MachineInstr", "::", "FrameDestroy", ",", "CSI", ")", ";", "}", "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": ["Z80old", "Z80old", "0", "Z80old::IR16RegClass", "Z80old::AF", "Z80old::POP16AF", "Z80old::POP16r"], "File": "Z80oldFrameLowering", "Func": "restoreCalleeSavedRegisters", "Target": "Z80old", "Target_Clf": "MPU", "Compiler_Type": "LLVM", "Idx": 3359, "Length": 204, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "SDValue", "AMDGPUTargetLowering", "::", "LowerOperation", "(", "SDValue", "Op", ",", "SelectionDAG", "&", "DAG", ")", "const", "{", "switch", "(", "Op", ".", "getOpcode", "(", ")", ")", "{", "default", ":", "Op", ".", "getNode", "(", ")", "->", "dump", "(", ")", ";", "llvm_unreachable", "(", "\"Custom lowering code for this\"", "\"instruction is not implemented yet!\"", ")", ";", "break", ";", "case", "ISD", "::", "SIGN_EXTEND_INREG", ":", "return", "LowerSIGN_EXTEND_INREG", "(", "Op", ",", "DAG", ")", ";", "case", "ISD", "::", "CONCAT_VECTORS", ":", "return", "LowerCONCAT_VECTORS", "(", "Op", ",", "DAG", ")", ";", "case", "ISD", "::", "EXTRACT_SUBVECTOR", ":", "return", "LowerEXTRACT_SUBVECTOR", "(", "Op", ",", "DAG", ")", ";", "case", "ISD", "::", "FrameIndex", ":", "return", "LowerFrameIndex", "(", "Op", ",", "DAG", ")", ";", "case", "ISD", "::", "INTRINSIC_WO_CHAIN", ":", "return", "LowerINTRINSIC_WO_CHAIN", "(", "Op", ",", "DAG", ")", ";", "case", "ISD", "::", "UDIVREM", ":", "return", "LowerUDIVREM", "(", "Op", ",", "DAG", ")", ";", "case", "ISD", "::", "SDIVREM", ":", "return", "LowerSDIVREM", "(", "Op", ",", "DAG", ")", ";", "case", "ISD", "::", "FREM", ":", "return", "LowerFREM", "(", "Op", ",", "DAG", ")", ";", "case", "ISD", "::", "FCEIL", ":", "return", "LowerFCEIL", "(", "Op", ",", "DAG", ")", ";", "case", "ISD", "::", "FTRUNC", ":", "return", "LowerFTRUNC", "(", "Op", ",", "DAG", ")", ";", "case", "ISD", "::", "FRINT", ":", "return", "LowerFRINT", "(", "Op", ",", "DAG", ")", ";", "case", "ISD", "::", "FNEARBYINT", ":", "return", "LowerFNEARBYINT", "(", "Op", ",", "DAG", ")", ";", "case", "ISD", "::", "FROUND", ":", "return", "LowerFROUND", "(", "Op", ",", "DAG", ")", ";", "case", "ISD", "::", "FFLOOR", ":", "return", "LowerFFLOOR", "(", "Op", ",", "DAG", ")", ";", "case", "ISD", "::", "SINT_TO_FP", ":", "return", "LowerSINT_TO_FP", "(", "Op", ",", "DAG", ")", ";", "case", "ISD", "::", "UINT_TO_FP", ":", "return", "LowerUINT_TO_FP", "(", "Op", ",", "DAG", ")", ";", "case", "ISD", "::", "FP_TO_SINT", ":", "return", "LowerFP_TO_SINT", "(", "Op", ",", "DAG", ")", ";", "case", "ISD", "::", "FP_TO_UINT", ":", "return", "LowerFP_TO_UINT", "(", "Op", ",", "DAG", ")", ";", "case", "ISD", "::", "DYNAMIC_STACKALLOC", ":", "return", "LowerDYNAMIC_STACKALLOC", "(", "Op", ",", "DAG", ")", ";", "}", "return", "Op", ";", "}", ""], "natrual_language": ["LowerOperation", "-", "Provide", "custom", "lowering", "hooks", "for", "some", "operations", "."], "TS_V_token": ["AMDGPU", "AMDGPU", "\"Custom lowering code for this\"", "\"instruction is not implemented yet!\"", "ISD::SIGN_EXTEND_INREG", "SI", "ISD::CONCAT_VECTORS", "ISD::EXTRACT_SUBVECTOR", "ISD::FrameIndex", "ISD::INTRINSIC_WO_CHAIN", "SI", "ISD::UDIVREM", "ISD::SDIVREM", "ISD::FREM", "ISD::FCEIL", "ISD::FTRUNC", "ISD::FRINT", "ISD::FNEARBYINT", "ISD::FROUND", "ISD::FFLOOR", "ISD::SINT_TO_FP", "SI", "ISD::UINT_TO_FP", "ISD::FP_TO_SINT", "SI", "ISD::FP_TO_UINT", "ISD::DYNAMIC_STACKALLOC"], "File": "AMDGPUISelLowering (2)", "Func": "LowerOperation", "Target": "AMDGPU", "Target_Clf": "GPU", "Compiler_Type": "LLVM", "Idx": 3360, "Length": 295, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "static", "int", "stackSlotSize", "(", ")", "{", "return", "4", ";", "}", ""], "natrual_language": ["Stack", "slot", "size", "(", "4", "bytes", ")"], "TS_V_token": ["UPT", "4"], "File": "UPTFrameLowering", "Func": "stackSlotSize", "Target": "UPT", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 3361, "Length": 10, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "const", "TargetRegisterClass", "*", "MipsSERegisterInfo", "::", "intRegClass", "(", "unsigned", "Size", ")", "const", "{", "if", "(", "Size", "==", "4", ")", "return", "&", "Mips", "::", "GPR32RegClass", ";", "assert", "(", "Size", "==", "8", ")", ";", "return", "&", "Mips", "::", "GPR64RegClass", ";", "}", ""], "natrual_language": ["Return", "GPR", "register", "class", "."], "TS_V_token": ["Mips", "Mips", "4", "Mips::GPR32RegClass", "8", "Mips::GPR64RegClass"], "File": "MipsSERegisterInfo (2)", "Func": "intRegClass", "Target": "Mips", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 3362, "Length": 38, "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": 3363, "Length": 369, "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", ")", ",", "\"s%ci333.bi\\t%%1, %%0\"", ",", "size", ")", ";", "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\"", "\"s%ci333.bi\\t%%1, %%0\"", "\"swi37\\t%1, %0\"", "0", "1", "\"swi37.sp\\t%1, [ + (%0)]\"", "\"\""], "File": "nds32-md-auxiliary2", "Func": "nds32_output_16bit_store", "Target": "nds32", "Target_Clf": "CPU", "Compiler_Type": "GCC", "Idx": 3364, "Length": 169, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "bool", "AMDGPUPassConfig", "::", "addPreEmitPass", "(", ")", "{", "const", "AMDGPUSubtarget", "&", "ST", "=", "TM", "->", "getSubtarget", "<", "AMDGPUSubtarget", ">", "(", ")", ";", "if", "(", "ST", ".", "device", "(", ")", "->", "getGeneration", "(", ")", "<=", "AMDGPUDeviceInfo", "::", "HD6XXX", ")", "{", "addPass", "(", "createAMDGPUCFGPreparationPass", "(", "*", "TM", ")", ")", ";", "addPass", "(", "createAMDGPUCFGStructurizerPass", "(", "*", "TM", ")", ")", ";", "addPass", "(", "createR600ExpandSpecialInstrsPass", "(", "*", "TM", ")", ")", ";", "addPass", "(", "&", "FinalizeMachineBundlesID", ")", ";", "}", "else", "{", "addPass", "(", "createSILowerLiteralConstantsPass", "(", "*", "TM", ")", ")", ";", "addPass", "(", "createSILowerControlFlowPass", "(", "*", "TM", ")", ")", ";", "}", "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": ["R600", "AMDGPUDeviceInfo::HD6XXX", "SI", "SI"], "File": "AMDGPUTargetMachine41", "Func": "addPreEmitPass", "Target": "R600", "Target_Clf": "GPU", "Compiler_Type": "LLVM", "Idx": 3365, "Length": 97, "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": 3366, "Length": 123, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "StringRef", "getPassName", "(", ")", "const", "override", "{", "return", "\"Hexagon Packetizer\"", ";", "}", ""], "natrual_language": ["getPassName", "-", "Return", "a", "nice", "clean", "name", "for", "a", "pass", "."], "TS_V_token": ["Hexagon", "\"Hexagon Packetizer\""], "File": "HexagonVLIWPacketizer (2)1", "Func": "getPassName", "Target": "Hexagon", "Target_Clf": "DSP", "Compiler_Type": "LLVM", "Idx": 3367, "Length": 11, "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": 3368, "Length": 132, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "bool", "HexagonFrameLowering", "::", "hasTailCall", "(", "MachineBasicBlock", "&", "MBB", ")", "const", "{", "MachineBasicBlock", "::", "iterator", "MBBI", "=", "MBB", ".", "getLastNonDebugInstr", "(", ")", ";", "unsigned", "RetOpcode", "=", "MBBI", "->", "getOpcode", "(", ")", ";", "return", "RetOpcode", "==", "Hexagon", "::", "TCRETURNtg", "||", "RetOpcode", "==", "Hexagon", "::", "TCRETURNtext", ";", "}", ""], "natrual_language": ["Returns", "true", "if", "the", "function", "contains", "a", "tail", "call", "."], "TS_V_token": ["Hexagon", "Hexagon", "Hexagon::TCRETURNtg", "Hexagon::TCRETURNtext"], "File": "HexagonFrameLowering18", "Func": "hasTailCall", "Target": "Hexagon", "Target_Clf": "DSP", "Compiler_Type": "LLVM", "Idx": 3369, "Length": 45, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "bool", "xtensa_tls_referenced_p", "(", "rtx", "x", ")", "{", "if", "(", "!", "targetm", ".", "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", ")", "switch", "(", "XINT", "(", "x", ",", "1", ")", ")", "{", "case", "UNSPEC_TPOFF", ":", "case", "UNSPEC_DTPOFF", ":", "case", "UNSPEC_TLS_FUNC", ":", "case", "UNSPEC_TLS_ARG", ":", "case", "UNSPEC_TLS_CALL", ":", "iter", ".", "skip_subrtxes", "(", ")", ";", "break", ";", "default", ":", "break", ";", "}", "}", "return", "false", ";", "}", ""], "natrual_language": ["Return", "TRUE", "if", "X", "contains", "any", "TLS", "symbol", "references", "."], "TS_V_token": ["xtensa", "0", "1"], "File": "xtensa", "Func": "xtensa_tls_referenced_p", "Target": "xtensa", "Target_Clf": "MPU", "Compiler_Type": "GCC", "Idx": 3370, "Length": 110, "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": 3371, "Length": 246, "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": 3372, "Length": 315, "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": 3373, "Length": 231, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "void", "getAnalysisUsage", "(", "AnalysisUsage", "&", "AU", ")", "const", "override", "{", "AU", ".", "addRequired", "<", "PatmosSinglePathInfo", ">", "(", ")", ";", "MachineFunctionPass", "::", "getAnalysisUsage", "(", "AU", ")", ";", "}", ""], "natrual_language": ["getAnalysisUsage", "-", "Subclasses", "that", "override", "getAnalysisUsage", "must", "call", "this", "."], "TS_V_token": ["Patmos", "Patmos"], "File": "PatmosSPPrepare1", "Func": "getAnalysisUsage", "Target": "Patmos", "Target_Clf": "VLIW", "Compiler_Type": "LLVM", "Idx": 3374, "Length": 27, "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": 3375, "Length": 84, "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": 3376, "Length": 249, "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", ",", "location_t", ")", "{", "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": "rs6000", "Func": "rs6000_md_asm_adjust", "Target": "rs6000", "Target_Clf": "CPU", "Compiler_Type": "GCC", "Idx": 3377, "Length": 68, "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": 3378, "Length": 41, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "void", "M68kAsmPrinter", "::", "emitInstruction", "(", "const", "MachineInstr", "*", "MI", ")", "{", "switch", "(", "MI", "->", "getOpcode", "(", ")", ")", "{", "default", ":", "{", "if", "(", "MI", "->", "isPseudo", "(", ")", ")", "{", "LLVM_DEBUG", "(", "dbgs", "(", ")", "<<", "\"Pseudo opcode(\"", "<<", "MI", "->", "getOpcode", "(", ")", "<<", "\") found in EmitInstruction()\\n\"", ")", ";", "llvm_unreachable", "(", "\"Cannot proceed\"", ")", ";", "}", "break", ";", "}", "case", "M68k", "::", "TAILJMPj", ":", "case", "M68k", "::", "TAILJMPq", ":", "OutStreamer", "->", "AddComment", "(", "\"TAILCALL\"", ")", ";", "break", ";", "}", "MCInst", "TmpInst0", ";", "MCInstLowering", "->", "Lower", "(", "MI", ",", "TmpInst0", ")", ";", "OutStreamer", "->", "emitInstruction", "(", "TmpInst0", ",", "getSubtargetInfo", "(", ")", ")", ";", "}", ""], "natrual_language": ["Targets", "should", "implement", "this", "to", "emit", "instructions", "."], "TS_V_token": ["M68k", "M68k", "\"Pseudo opcode(\"", "\") found in EmitInstruction()\\n\"", "\"Cannot proceed\"", "M68k::TAILJMPj", "M68k::TAILJMPq", "\"TAILCALL\""], "File": "M68kAsmPrinter", "Func": "emitInstruction", "Target": "M68k", "Target_Clf": "MPU", "Compiler_Type": "LLVM", "Idx": 3379, "Length": 102, "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_ALTIVEC", ")", "pressure_classes", "[", "n", "++", "]", "=", "ALTIVEC_REGS", ";", "if", "(", "TARGET_VSX", ")", "pressure_classes", "[", "n", "++", "]", "=", "VSX_REGS", ";", "else", "{", "if", "(", "TARGET_HARD_FLOAT", ")", "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": ["rs6000", "0"], "File": "rs6000", "Func": "rs6000_compute_pressure_classes", "Target": "rs6000", "Target_Clf": "CPU", "Compiler_Type": "GCC", "Idx": 3380, "Length": 84, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "std", "::", "string", "getNodeLabel", "(", "const", "MCGNode", "*", "N", ",", "const", "MCallSubGraph", "&", "G", ")", "{", "if", "(", "N", "->", "isUnknown", "(", ")", ")", "{", "std", "::", "string", "tmp", ";", "raw_string_ostream", "s", "(", "tmp", ")", ";", "s", "<<", "\"", "getType", "(", ")", "<<", "\">\"", ";", "return", "s", ".", "str", "(", ")", ";", "}", "else", "return", "N", "->", "getMF", "(", ")", "->", "getFunction", "(", ")", ".", "getName", "(", ")", ".", "str", "(", ")", ";", "}", ""], "natrual_language": ["Print", "a", "DDG", "node", "either", "in", "concise", "form", "(", "-ddg-dot-only", ")", "or", "verbose", "mode", "(", "-ddg-dot", ")", "."], "TS_V_token": ["Patmos", "\"\""], "File": "PatmosCallGraphBuilder1", "Func": "getNodeLabel", "Target": "Patmos", "Target_Clf": "VLIW", "Compiler_Type": "LLVM", "Idx": 3381, "Length": 78, "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": ["MCS51"], "File": "MCS51AsmParser", "Func": "isToken", "Target": "MCS51", "Target_Clf": "MPU", "Compiler_Type": "LLVM", "Idx": 3382, "Length": 13, "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": 3383, "Length": 24, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "static", "void", "clobber_cond_1", "(", "rtx", "x", ",", "const_rtx", "pat", "ATTRIBUTE_UNUSED", ",", "void", "*", "data1", ")", "{", "rtx", "*", "cond", "=", "(", "rtx", "*", ")", "data1", ";", "if", "(", "*", "cond", "!=", "NULL_RTX", "&&", "reg_overlap_mentioned_p", "(", "x", ",", "*", "cond", ")", ")", "*", "cond", "=", "NULL_RTX", ";", "}", ""], "natrual_language": ["Subroutine", "of", "maybe_clobber_cond", ",", "called", "through", "note_stores", "."], "TS_V_token": ["c6x"], "File": "c6x", "Func": "clobber_cond_1", "Target": "c6x", "Target_Clf": "VLIW", "Compiler_Type": "GCC", "Idx": 3384, "Length": 47, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "unsigned", "WebAssemblyTTIImpl", "::", "getNumberOfRegisters", "(", "unsigned", "ClassID", ")", "const", "{", "unsigned", "Result", "=", "BaseT", "::", "getNumberOfRegisters", "(", "ClassID", ")", ";", "bool", "Vector", "=", "(", "ClassID", "==", "1", ")", ";", "if", "(", "Vector", ")", "Result", "=", "std", "::", "max", "(", "Result", ",", "16u", ")", ";", "return", "Result", ";", "}", ""], "natrual_language": ["\ufffd", "?", "Vector", "TTI", "begin", "\ufffd", "?"], "TS_V_token": ["WebAssembly", "WebAssembly", "1", "16u"], "File": "WebAssemblyTargetTransformInfo1", "Func": "getNumberOfRegisters", "Target": "WebAssembly", "Target_Clf": "Virtual ISA", "Compiler_Type": "LLVM", "Idx": 3385, "Length": 48, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "bool", "AMDGPUAnnotateUniformValues", "::", "runOnFunction", "(", "Function", "&", "F", ")", "{", "DA", "=", "&", "getAnalysis", "<", "DivergenceAnalysis", ">", "(", ")", ";", "visit", "(", "F", ")", ";", "return", "true", ";", "}", ""], "natrual_language": ["runOnFunction", "-", "Virtual", "method", "overriden", "by", "subclasses", "to", "do", "the", "per-function", "processing", "of", "the", "pass", "."], "TS_V_token": ["AMDGPU", "AMDGPU"], "File": "AMDGPUAnnotateUniformValues3", "Func": "runOnFunction", "Target": "AMDGPU", "Target_Clf": "GPU", "Compiler_Type": "LLVM", "Idx": 3386, "Length": 29, "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": 3387, "Length": 317, "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": 3388, "Length": 14, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "bool", "SystemZTargetLowering", "::", "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": ["SystemZ", "SystemZ"], "File": "SystemZISelLowering (2)1", "Func": "mayBeEmittedAsTailCall", "Target": "SystemZ", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 3389, "Length": 19, "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": 3390, "Length": 16, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "void", "M68kInstrInfo", "::", "loadRegFromStackSlot", "(", "MachineBasicBlock", "&", "MBB", ",", "MachineBasicBlock", "::", "iterator", "MI", ",", "Register", "DstReg", ",", "int", "FrameIndex", ",", "const", "TargetRegisterClass", "*", "RC", ",", "const", "TargetRegisterInfo", "*", "TRI", ")", "const", "{", "const", "MachineFunction", "&", "MF", "=", "*", "MBB", ".", "getParent", "(", ")", ";", "assert", "(", "MF", ".", "getFrameInfo", "(", ")", ".", "getObjectSize", "(", "FrameIndex", ")", "==", "4", "&&", "\"Stack slot too small for store\"", ")", ";", "unsigned", "Opc", "=", "getLoadRegOpcode", "(", "DstReg", ",", "RC", ",", "TRI", ",", "Subtarget", ")", ";", "DebugLoc", "DL", "=", "MBB", ".", "findDebugLoc", "(", "MI", ")", ";", "M68k", "::", "addFrameReference", "(", "BuildMI", "(", "MBB", ",", "MI", ",", "DL", ",", "get", "(", "Opc", ")", ",", "DstReg", ")", ",", "FrameIndex", ")", ";", "}", ""], "natrual_language": ["Load", "the", "specified", "register", "of", "the", "given", "register", "class", "from", "the", "specified", "stack", "frame", "index", "."], "TS_V_token": ["M68k", "M68k", "4", "\"Stack slot too small for store\"", "M68k::addFrameReference"], "File": "M68kInstrInfo (2)", "Func": "loadRegFromStackSlot", "Target": "M68k", "Target_Clf": "MPU", "Compiler_Type": "LLVM", "Idx": 3391, "Length": 110, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "void", "relaxInstruction", "(", "const", "MCInst", "&", "Inst", ",", "const", "MCSubtargetInfo", "&", "STI", ",", "MCInst", "&", "Res", ")", "const", "override", "{", "report_fatal_error", "(", "\"RV16KAsmBackend::relaxInstruction() unimplemented\"", ")", ";", "}", ""], "natrual_language": ["Relax", "the", "instruction", "in", "the", "given", "fragment", "to", "the", "next", "wider", "instruction", "."], "TS_V_token": ["RV16K", "\"RV16KAsmBackend::relaxInstruction() unimplemented\""], "File": "RV16KAsmBackend", "Func": "relaxInstruction", "Target": "RV16K", "Target_Clf": "Virtual ISA", "Compiler_Type": "LLVM", "Idx": 3392, "Length": 26, "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": 3393, "Length": 346, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "void", "push", "(", "NestingType", "NT", ")", "{", "NestingStack", ".", "push_back", "(", "{", "NT", ",", "wasm", "::", "WasmSignature", "(", ")", ")", ";", "}", ""], "natrual_language": ["Push", "the", "current", "solver", "state", "."], "TS_V_token": ["WebAssembly", "wasm::WasmSignature"], "File": "WebAssemblyAsmParser", "Func": "push", "Target": "WebAssembly", "Target_Clf": "Virtual ISA", "Compiler_Type": "LLVM", "Idx": 3394, "Length": 22, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "void", "TPCInstrInfo", "::", "storeRegToStackSlot", "(", "MachineBasicBlock", "&", "MBB", ",", "MachineBasicBlock", "::", "iterator", "I", ",", "unsigned", "SrcReg", ",", "bool", "isKill", ",", "int", "FrameIndex", ",", "const", "TargetRegisterClass", "*", "RC", ",", "const", "TargetRegisterInfo", "*", "TRI", ")", "const", "{", "DebugLoc", "DL", "=", "MBB", ".", "findDebugLoc", "(", "I", ")", ";", "MachineFunction", "*", "MF", "=", "MBB", ".", "getParent", "(", ")", ";", "MachineFrameInfo", "&", "FrameInfo", "=", "MF", "->", "getFrameInfo", "(", ")", ";", "int", "StoreOpCode", "=", "0", ";", "uint8_t", "StackID", "=", "0", ";", "if", "(", "TPC", "::", "SRFRegClass", ".", "hasSubClassEq", "(", "RC", ")", ")", "{", "StoreOpCode", "=", "TPC", "::", "SPILL_SRF_SAVE", ";", "StackID", "=", "TPCStackID", "::", "SLM_SPILL", ";", "}", "else", "if", "(", "TPC", "::", "SPRFRegClass", ".", "hasSubClassEq", "(", "RC", ")", ")", "{", "StoreOpCode", "=", "TPC", "::", "SPILL_SPRF_SAVE", ";", "StackID", "=", "TPCStackID", "::", "SLM_SPILL", ";", "}", "else", "if", "(", "TPC", "::", "VRFRegClass", ".", "hasSubClassEq", "(", "RC", ")", ")", "{", "StoreOpCode", "=", "TPC", "::", "SPILL_VRF_SAVE", ";", "StackID", "=", "TPCStackID", "::", "VLM_SPILL", ";", "}", "else", "if", "(", "TPC", "::", "VPRFRegClass", ".", "hasSubClassEq", "(", "RC", ")", ")", "{", "StoreOpCode", "=", "TPC", "::", "SPILL_VPRF_SAVE", ";", "StackID", "=", "TPCStackID", "::", "VLM_SPILL", ";", "}", "else", "if", "(", "TPC", "::", "ARFRegClass", ".", "hasSubClassEq", "(", "RC", ")", ")", "{", "StoreOpCode", "=", "TPC", "::", "SPILL_ARF_SAVE", ";", "StackID", "=", "TPCStackID", "::", "VLM_SPILL", ";", "}", "else", "if", "(", "TPC", "::", "DRFRegClass", ".", "hasSubClassEq", "(", "RC", ")", ")", "{", "StoreOpCode", "=", "TPC", "::", "SPILL_DRF_SAVE", ";", "StackID", "=", "TPCStackID", "::", "VLM_SPILL", ";", "}", "else", "if", "(", "TPC", "::", "ZRFRegClass", ".", "hasSubClassEq", "(", "RC", ")", ")", "{", "StoreOpCode", "=", "TPC", "::", "SPILL_ZRF_SAVE", ";", "StackID", "=", "TPCStackID", "::", "SLM_SPILL", ";", "}", "else", "if", "(", "TPC", "::", "IRFRegClass", ".", "hasSubClassEq", "(", "RC", ")", ")", "{", "if", "(", "Subtarget", ".", "getTargetLowering", "(", ")", "->", "getTargetMachine", "(", ")", ".", "Options", ".", "LongIRF", ")", "report_fatal_error", "(", "\"IRF registers are not spillable if -long-irf is specified\"", ")", ";", "StoreOpCode", "=", "TPC", "::", "SPILL_IRF_SAVE", ";", "StackID", "=", "TPCStackID", "::", "SLM_SPILL", ";", "}", "else", "{", "report_fatal_error", "(", "\"Unsupported register class in StoreToStack\"", ")", ";", "}", "FrameInfo", ".", "setStackID", "(", "FrameIndex", ",", "StackID", ")", ";", "BuildMI", "(", "MBB", ",", "I", ",", "DL", ",", "get", "(", "StoreOpCode", ")", ")", ".", "addFrameIndex", "(", "FrameIndex", ")", ".", "addReg", "(", "SrcReg", ",", "getKillRegState", "(", "isKill", ")", ")", ";", "}", ""], "natrual_language": ["Store", "the", "specified", "register", "of", "the", "given", "register", "class", "to", "the", "specified", "stack", "frame", "index", "."], "TS_V_token": ["TPC", "TPC", "0", "0", "TPC::SRFRegClass", "TPC::SPILL_SRF_SAVE", "TPCStackID::SLM_SPILL", "TPC::SPRFRegClass", "TPC::SPILL_SPRF_SAVE", "TPCStackID::SLM_SPILL", "TPC::VRFRegClass", "TPC::SPILL_VRF_SAVE", "TPCStackID::VLM_SPILL", "TPC::VPRFRegClass", "TPC::SPILL_VPRF_SAVE", "TPCStackID::VLM_SPILL", "TPC::ARFRegClass", "TPC::SPILL_ARF_SAVE", "TPCStackID::VLM_SPILL", "TPC::DRFRegClass", "TPC::SPILL_DRF_SAVE", "TPCStackID::VLM_SPILL", "TPC::ZRFRegClass", "TPC::SPILL_ZRF_SAVE", "TPCStackID::SLM_SPILL", "TPC::IRFRegClass", "\"IRF registers are not spillable if -long-irf is specified\"", "TPC::SPILL_IRF_SAVE", "TPCStackID::SLM_SPILL", "\"Unsupported register class in StoreToStack\""], "File": "TPCInstrInfo", "Func": "storeRegToStackSlot", "Target": "TPC", "Target_Clf": "Virtual ISA", "Compiler_Type": "LLVM", "Idx": 3395, "Length": 350, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "SDValue", "BPFTargetLowering", "::", "LowerCallResult", "(", "SDValue", "Chain", ",", "SDValue", "InFlag", ",", "CallingConv", "::", "ID", "CallConv", ",", "bool", "isVarArg", ",", "const", "SmallVectorImpl", "<", "ISD", "::", "InputArg", ">", "&", "Ins", ",", "SDLoc", "dl", ",", "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_BPF64", ")", ";", "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": ["BPF", "BPF", "ISD::InputArg", "16", "BPF", "0", "1", "2", "0"], "File": "BPFISelLowering38", "Func": "LowerCallResult", "Target": "BPF", "Target_Clf": "Virtual ISA", "Compiler_Type": "LLVM", "Idx": 3396, "Length": 173, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "void", "relaxInstruction", "(", "const", "MCInst", "&", ",", "llvm", "::", "MCInst", "&", ")", "const", "{", "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": "AArch64AsmBackend16", "Func": "relaxInstruction", "Target": "AArch64", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 3397, "Length": 20, "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": ["AMDGPU"], "File": "AMDGPUSubtarget", "Func": "getCallLowering", "Target": "AMDGPU", "Target_Clf": "GPU", "Compiler_Type": "LLVM", "Idx": 3398, "Length": 17, "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": 3399, "Length": 37, "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": 3400, "Length": 19, "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": 3401, "Length": 199, "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": 3402, "Length": 230, "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": 3403, "Length": 149, "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", "}", "}", ";", "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", "\"Invalid kind!\""], "File": "MipsAsmBackend31", "Func": "getFixupKindInfo", "Target": "Mips", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 3404, "Length": 305, "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": 3405, "Length": 71, "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": 3406, "Length": 207, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "MachineInstr", "*", "SIInstrInfo", "::", "commuteInstruction", "(", "MachineInstr", "*", "MI", ",", "bool", "NewMI", ")", "const", "{", "if", "(", "MI", "->", "getNumOperands", "(", ")", "<", "3", ")", "return", "nullptr", ";", "int", "Src0Idx", "=", "AMDGPU", "::", "getNamedOperandIdx", "(", "MI", "->", "getOpcode", "(", ")", ",", "AMDGPU", "::", "OpName", "::", "src0", ")", ";", "assert", "(", "Src0Idx", "!=", "-", "1", "&&", "\"Should always have src0 operand\"", ")", ";", "MachineOperand", "&", "Src0", "=", "MI", "->", "getOperand", "(", "Src0Idx", ")", ";", "if", "(", "!", "Src0", ".", "isReg", "(", ")", ")", "return", "nullptr", ";", "int", "Src1Idx", "=", "AMDGPU", "::", "getNamedOperandIdx", "(", "MI", "->", "getOpcode", "(", ")", ",", "AMDGPU", "::", "OpName", "::", "src1", ")", ";", "if", "(", "Src1Idx", "==", "-", "1", ")", "return", "nullptr", ";", "MachineOperand", "&", "Src1", "=", "MI", "->", "getOperand", "(", "Src1Idx", ")", ";", "if", "(", "isVOP2", "(", "MI", "->", "getOpcode", "(", ")", ")", "&&", "(", "!", "isOperandLegal", "(", "MI", ",", "Src0Idx", ",", "&", "Src1", ")", "||", "!", "isOperandLegal", "(", "MI", ",", "Src1Idx", ",", "&", "Src0", ")", ")", ")", "{", "return", "nullptr", ";", "}", "if", "(", "!", "Src1", ".", "isReg", "(", ")", ")", "{", "if", "(", "NewMI", "||", "!", "Src1", ".", "isImm", "(", ")", "||", "(", "!", "isVOP2", "(", "MI", "->", "getOpcode", "(", ")", ")", "&&", "!", "isVOP3", "(", "MI", "->", "getOpcode", "(", ")", ")", ")", ")", "{", "return", "nullptr", ";", "}", "if", "(", "MachineOperand", "*", "Src0Mods", "=", "getNamedOperand", "(", "*", "MI", ",", "AMDGPU", "::", "OpName", "::", "src0_modifiers", ")", ")", "{", "MachineOperand", "*", "Src1Mods", "=", "getNamedOperand", "(", "*", "MI", ",", "AMDGPU", "::", "OpName", "::", "src1_modifiers", ")", ";", "int", "Src0ModsVal", "=", "Src0Mods", "->", "getImm", "(", ")", ";", "if", "(", "!", "Src1Mods", "&&", "Src0ModsVal", "!=", "0", ")", "return", "nullptr", ";", "int", "Src1ModsVal", "=", "Src1Mods", "->", "getImm", "(", ")", ";", "assert", "(", "(", "Src1ModsVal", "==", "0", ")", "&&", "\"Not expecting modifiers with immediates\"", ")", ";", "Src1Mods", "->", "setImm", "(", "Src0ModsVal", ")", ";", "Src0Mods", "->", "setImm", "(", "Src1ModsVal", ")", ";", "}", "unsigned", "Reg", "=", "Src0", ".", "getReg", "(", ")", ";", "unsigned", "SubReg", "=", "Src0", ".", "getSubReg", "(", ")", ";", "if", "(", "Src1", ".", "isImm", "(", ")", ")", "Src0", ".", "ChangeToImmediate", "(", "Src1", ".", "getImm", "(", ")", ")", ";", "else", "llvm_unreachable", "(", "\"Should only have immediates\"", ")", ";", "Src1", ".", "ChangeToRegister", "(", "Reg", ",", "false", ")", ";", "Src1", ".", "setSubReg", "(", "SubReg", ")", ";", "}", "else", "{", "MI", "=", "TargetInstrInfo", "::", "commuteInstruction", "(", "MI", ",", "NewMI", ")", ";", "}", "if", "(", "MI", ")", "MI", "->", "setDesc", "(", "get", "(", "commuteOpcode", "(", "*", "MI", ")", ")", ")", ";", "return", "MI", ";", "}", ""], "natrual_language": ["This", "method", "commutes", "the", "operands", "of", "the", "given", "machine", "instruction", "MI", "."], "TS_V_token": ["R600", "SI", "3", "1", "\"Should always have src0 operand\"", "1", "0", "0", "\"Not expecting modifiers with immediates\"", "\"Should only have immediates\""], "File": "SIInstrInfo101", "Func": "commuteInstruction", "Target": "R600", "Target_Clf": "GPU", "Compiler_Type": "LLVM", "Idx": 3407, "Length": 397, "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": 3408, "Length": 369, "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": 3409, "Length": 34, "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": 3410, "Length": 45, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "SDValue", "SITargetLowering", "::", "LowerOperation", "(", "SDValue", "Op", ",", "SelectionDAG", "&", "DAG", ")", "const", "{", "switch", "(", "Op", ".", "getOpcode", "(", ")", ")", "{", "default", ":", "return", "AMDGPUTargetLowering", "::", "LowerOperation", "(", "Op", ",", "DAG", ")", ";", "case", "ISD", "::", "BRCOND", ":", "return", "LowerBRCOND", "(", "Op", ",", "DAG", ")", ";", "case", "ISD", "::", "LOAD", ":", "{", "SDValue", "Result", "=", "LowerLOAD", "(", "Op", ",", "DAG", ")", ";", "assert", "(", "(", "!", "Result", ".", "getNode", "(", ")", "||", "Result", ".", "getNode", "(", ")", "->", "getNumValues", "(", ")", "==", "2", ")", "&&", "\"Load should return a value and a chain\"", ")", ";", "return", "Result", ";", "}", "case", "ISD", "::", "FSIN", ":", "case", "ISD", "::", "FCOS", ":", "return", "LowerTrig", "(", "Op", ",", "DAG", ")", ";", "case", "ISD", "::", "SELECT", ":", "return", "LowerSELECT", "(", "Op", ",", "DAG", ")", ";", "case", "ISD", "::", "FDIV", ":", "return", "LowerFDIV", "(", "Op", ",", "DAG", ")", ";", "case", "ISD", "::", "ATOMIC_CMP_SWAP", ":", "return", "LowerATOMIC_CMP_SWAP", "(", "Op", ",", "DAG", ")", ";", "case", "ISD", "::", "STORE", ":", "return", "LowerSTORE", "(", "Op", ",", "DAG", ")", ";", "case", "ISD", "::", "GlobalAddress", ":", "{", "MachineFunction", "&", "MF", "=", "DAG", ".", "getMachineFunction", "(", ")", ";", "SIMachineFunctionInfo", "*", "MFI", "=", "MF", ".", "getInfo", "<", "SIMachineFunctionInfo", ">", "(", ")", ";", "return", "LowerGlobalAddress", "(", "MFI", ",", "Op", ",", "DAG", ")", ";", "}", "case", "ISD", "::", "INTRINSIC_WO_CHAIN", ":", "return", "LowerINTRINSIC_WO_CHAIN", "(", "Op", ",", "DAG", ")", ";", "case", "ISD", "::", "INTRINSIC_W_CHAIN", ":", "return", "LowerINTRINSIC_W_CHAIN", "(", "Op", ",", "DAG", ")", ";", "case", "ISD", "::", "INTRINSIC_VOID", ":", "return", "LowerINTRINSIC_VOID", "(", "Op", ",", "DAG", ")", ";", "case", "ISD", "::", "ADDRSPACECAST", ":", "return", "lowerADDRSPACECAST", "(", "Op", ",", "DAG", ")", ";", "case", "ISD", "::", "INSERT_VECTOR_ELT", ":", "return", "lowerINSERT_VECTOR_ELT", "(", "Op", ",", "DAG", ")", ";", "case", "ISD", "::", "EXTRACT_VECTOR_ELT", ":", "return", "lowerEXTRACT_VECTOR_ELT", "(", "Op", ",", "DAG", ")", ";", "case", "ISD", "::", "BUILD_VECTOR", ":", "return", "lowerBUILD_VECTOR", "(", "Op", ",", "DAG", ")", ";", "case", "ISD", "::", "FP_ROUND", ":", "return", "lowerFP_ROUND", "(", "Op", ",", "DAG", ")", ";", "case", "ISD", "::", "TRAP", ":", "return", "lowerTRAP", "(", "Op", ",", "DAG", ")", ";", "case", "ISD", "::", "DEBUGTRAP", ":", "return", "lowerDEBUGTRAP", "(", "Op", ",", "DAG", ")", ";", "case", "ISD", "::", "FABS", ":", "case", "ISD", "::", "FNEG", ":", "return", "splitUnaryVectorOp", "(", "Op", ",", "DAG", ")", ";", "case", "ISD", "::", "SHL", ":", "case", "ISD", "::", "SRA", ":", "case", "ISD", "::", "SRL", ":", "case", "ISD", "::", "ADD", ":", "case", "ISD", "::", "SUB", ":", "case", "ISD", "::", "MUL", ":", "case", "ISD", "::", "SMIN", ":", "case", "ISD", "::", "SMAX", ":", "case", "ISD", "::", "UMIN", ":", "case", "ISD", "::", "UMAX", ":", "case", "ISD", "::", "FMINNUM", ":", "case", "ISD", "::", "FMAXNUM", ":", "case", "ISD", "::", "FADD", ":", "case", "ISD", "::", "FMUL", ":", "return", "splitBinaryVectorOp", "(", "Op", ",", "DAG", ")", ";", "}", "return", "SDValue", "(", ")", ";", "}", ""], "natrual_language": ["LowerOperation", "-", "Provide", "custom", "lowering", "hooks", "for", "some", "operations", "."], "TS_V_token": ["AMDGPU", "SI", "AMDGPU", "ISD::BRCOND", "ISD::LOAD", "2", "\"Load should return a value and a chain\"", "ISD::FSIN", "ISD::FCOS", "ISD::SELECT", "ISD::FDIV", "ISD::ATOMIC_CMP_SWAP", "ISD::STORE", "ISD::GlobalAddress", "SI", "SI", "ISD::INTRINSIC_WO_CHAIN", "SI", "ISD::INTRINSIC_W_CHAIN", "SI", "ISD::INTRINSIC_VOID", "SI", "ISD::ADDRSPACECAST", "ISD::INSERT_VECTOR_ELT", "ISD::EXTRACT_VECTOR_ELT", "ISD::BUILD_VECTOR", "ISD::FP_ROUND", "ISD::TRAP", "ISD::DEBUGTRAP", "ISD::FABS", "ISD::FNEG", "ISD::SHL", "ISD::SRA", "ISD::SRL", "ISD::ADD", "ISD::SUB", "ISD::MUL", "ISD::SMIN", "ISD::SMAX", "ISD::UMIN", "ISD::UMAX", "ISD::FMINNUM", "ISD::FMAXNUM", "ISD::FADD", "ISD::FMUL"], "File": "SIISelLowering105", "Func": "LowerOperation", "Target": "AMDGPU", "Target_Clf": "GPU", "Compiler_Type": "LLVM", "Idx": 3411, "Length": 437, "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": 3412, "Length": 31, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "MachineInstrBuilder", "SIInstrInfo", "::", "getAddNoCarry", "(", "MachineBasicBlock", "&", "MBB", ",", "MachineBasicBlock", "::", "iterator", "I", ",", "const", "DebugLoc", "&", "DL", ",", "Register", "DestReg", ",", "RegScavenger", "&", "RS", ")", "const", "{", "if", "(", "ST", ".", "hasAddNoCarry", "(", ")", ")", "return", "BuildMI", "(", "MBB", ",", "I", ",", "DL", ",", "get", "(", "AMDGPU", "::", "V_ADD_U32_e64", ")", ",", "DestReg", ")", ";", "Register", "UnusedCarry", "=", "RS", ".", "scavengeRegister", "(", "RI", ".", "getBoolRC", "(", ")", ",", "I", ",", "0", ",", "false", ")", ";", "if", "(", "!", "UnusedCarry", ".", "isValid", "(", ")", ")", "report_fatal_error", "(", "\"failed to scavenge unused carry-out SGPR\"", ")", ";", "return", "BuildMI", "(", "MBB", ",", "I", ",", "DL", ",", "get", "(", "AMDGPU", "::", "V_ADD_I32_e64", ")", ",", "DestReg", ")", ".", "addReg", "(", "UnusedCarry", ",", "RegState", "::", "Define", "|", "RegState", "::", "Dead", ")", ";", "}", ""], "natrual_language": ["Return", "a", "partially", "built", "integer", "add", "instruction", "without", "carry", "."], "TS_V_token": ["AMDGPU", "SI", "AMDGPU::V_ADD_U32_e64", "0", "\"failed to scavenge unused carry-out SGPR\"", "AMDGPU::V_ADD_I32_e64"], "File": "SIInstrInfo131", "Func": "getAddNoCarry", "Target": "AMDGPU", "Target_Clf": "GPU", "Compiler_Type": "LLVM", "Idx": 3413, "Length": 122, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "void", "MBlazeInstrInfo", "::", "loadRegFromStackSlot", "(", "MachineBasicBlock", "&", "MBB", ",", "MachineBasicBlock", "::", "iterator", "I", ",", "unsigned", "DestReg", ",", "int", "FI", ",", "const", "TargetRegisterClass", "*", "RC", ")", "const", "{", "DebugLoc", "dl", "=", "DebugLoc", "::", "getUnknownLoc", "(", ")", ";", "BuildMI", "(", "MBB", ",", "I", ",", "dl", ",", "get", "(", "MBlaze", "::", "LWI", ")", ",", "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": ["MBlaze", "MBlaze", "MBlaze::LWI", "0"], "File": "MBlazeInstrInfo5", "Func": "loadRegFromStackSlot", "Target": "MBlaze", "Target_Clf": "MPU", "Compiler_Type": "LLVM", "Idx": 3414, "Length": 65, "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": 3415, "Length": 18, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "static", "rtx", "tilepro_delegitimize_address", "(", "rtx", "x", ")", "{", "x", "=", "delegitimize_mem_from_attrs", "(", "x", ")", ";", "if", "(", "GET_CODE", "(", "x", ")", "==", "CONST", "&&", "GET_CODE", "(", "XEXP", "(", "x", ",", "0", ")", ")", "==", "UNSPEC", ")", "{", "switch", "(", "XINT", "(", "XEXP", "(", "x", ",", "0", ")", ",", "1", ")", ")", "{", "case", "UNSPEC_PCREL_SYM", ":", "case", "UNSPEC_GOT16_SYM", ":", "case", "UNSPEC_GOT32_SYM", ":", "case", "UNSPEC_TLS_GD", ":", "case", "UNSPEC_TLS_IE", ":", "x", "=", "XVECEXP", "(", "XEXP", "(", "x", ",", "0", ")", ",", "0", ",", "0", ")", ";", "break", ";", "}", "}", "return", "x", ";", "}", ""], "natrual_language": ["Implement", "TARGET_DELEGITIMIZE_ADDRESS", "."], "TS_V_token": ["tilepro", "0", "0", "1", "0", "0", "0"], "File": "tilepro", "Func": "tilepro_delegitimize_address", "Target": "tilepro", "Target_Clf": "VLIW", "Compiler_Type": "GCC", "Idx": 3416, "Length": 91, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "ArrayRef", "<", "MCPhysReg", ">", "SIRegisterInfo", "::", "getAllSGPR128", "(", "const", "MachineFunction", "&", "MF", ")", "const", "{", "return", "makeArrayRef", "(", "AMDGPU", "::", "SGPR_128RegClass", ".", "begin", "(", ")", ",", "ST", ".", "getMaxNumSGPRs", "(", "MF", ")", "/", "4", ")", ";", "}", ""], "natrual_language": ["Return", "all", "SGPR128", "which", "satisfy", "the", "waves", "per", "execution", "unit", "requirement", "of", "the", "subtarget", "."], "TS_V_token": ["AMDGPU", "SI", "AMDGPU::SGPR_128RegClass", "4"], "File": "SIRegisterInfo (3)", "Func": "getAllSGPR128", "Target": "AMDGPU", "Target_Clf": "GPU", "Compiler_Type": "LLVM", "Idx": 3417, "Length": 37, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "MachineInstr", "*", "HexagonInstrInfo", "::", "foldMemoryOperandImpl", "(", "MachineFunction", "&", "MF", ",", "MachineInstr", "*", "MI", ",", "const", "SmallVectorImpl", "<", "unsigned", ">", "&", "Ops", ",", "int", "FI", ")", "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": ["Hexagon", "Hexagon", "0"], "File": "HexagonInstrInfo11", "Func": "foldMemoryOperandImpl", "Target": "Hexagon", "Target_Clf": "DSP", "Compiler_Type": "LLVM", "Idx": 3418, "Length": 33, "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": 3419, "Length": 186, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "bool", "AMDGPUAsmBackend", "::", "writeNopData", "(", "uint64_t", "Count", ",", "MCObjectWriter", "*", "OW", ")", "const", "{", "for", "(", "unsigned", "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": ["R600", "0", "0"], "File": "AMDGPUAsmBackend23", "Func": "writeNopData", "Target": "R600", "Target_Clf": "GPU", "Compiler_Type": "LLVM", "Idx": 3420, "Length": 39, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "DFAPacketizer", "*", "HexagonInstrInfo", "::", "CreateTargetScheduleState", "(", "const", "TargetMachine", "*", "TM", ",", "const", "ScheduleDAG", "*", "DAG", ")", "const", "{", "const", "InstrItineraryData", "*", "II", "=", "TM", "->", "getInstrItineraryData", "(", ")", ";", "return", "TM", "->", "getSubtarget", "<", "HexagonGenSubtargetInfo", ">", "(", ")", ".", "createDFAPacketizer", "(", "II", ")", ";", "}", ""], "natrual_language": ["Create", "machine", "specific", "model", "for", "scheduling", "."], "TS_V_token": ["Hexagon", "Hexagon", "Hexagon"], "File": "HexagonInstrInfo11", "Func": "CreateTargetScheduleState", "Target": "Hexagon", "Target_Clf": "DSP", "Compiler_Type": "LLVM", "Idx": 3421, "Length": 45, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "static", "int", "mn10300_adjust_sched_cost", "(", "rtx_insn", "*", "insn", ",", "rtx", "link", ",", "rtx_insn", "*", "dep", ",", "int", "cost", ")", "{", "rtx", "insn_set", ";", "rtx", "dep_set", ";", "int", "timings", ";", "if", "(", "!", "TARGET_AM33", ")", "return", "1", ";", "insn_set", "=", "single_set", "(", "insn", ")", ";", "if", "(", "!", "insn_set", ")", "return", "cost", ";", "dep_set", "=", "single_set", "(", "dep", ")", ";", "if", "(", "!", "dep_set", ")", "return", "cost", ";", "if", "(", "mn10300_tune_cpu", "==", "PROCESSOR_AM34", "&&", "set_is_load_p", "(", "dep_set", ")", "&&", "set_is_store_p", "(", "insn_set", ")", ")", "cost", "+=", "1", ";", "else", "if", "(", "mn10300_tune_cpu", "==", "PROCESSOR_AM34", "&&", "!", "set_is_store_p", "(", "insn_set", ")", "&&", "!", "JUMP_P", "(", "insn", ")", "&&", "GET_MODE_CLASS", "(", "GET_MODE", "(", "SET_SRC", "(", "dep_set", ")", ")", ")", "==", "MODE_FLOAT", "&&", "GET_MODE_CLASS", "(", "GET_MODE", "(", "SET_SRC", "(", "insn_set", ")", ")", ")", "==", "MODE_FLOAT", ")", "cost", "+=", "1", ";", "if", "(", "!", "TARGET_AM33_2", ")", "return", "cost", ";", "if", "(", "REG_NOTE_KIND", "(", "link", ")", "==", "0", ")", "return", "cost", ";", "if", "(", "GET_MODE_CLASS", "(", "GET_MODE", "(", "SET_SRC", "(", "dep_set", ")", ")", ")", "!=", "MODE_FLOAT", ")", "return", "cost", ";", "if", "(", "!", "set_is_load_p", "(", "insn_set", ")", "&&", "!", "set_is_store_p", "(", "insn_set", ")", ")", "return", "cost", ";", "if", "(", "GET_MODE_CLASS", "(", "GET_MODE", "(", "SET_SRC", "(", "insn_set", ")", ")", ")", "!=", "MODE_INT", ")", "return", "cost", ";", "timings", "=", "get_attr_timings", "(", "insn", ")", ";", "return", "timings", "<", "100", "?", "(", "timings", "%", "10", ")", ":", "(", "timings", "%", "100", ")", ";", "}", ""], "natrual_language": ["Update", "scheduling", "costs", "for", "situations", "that", "can", "not", "be", "described", "using", "the", "attributes", "and", "DFA", "machinery", ".", "DEP", "is", "the", "insn", "being", "scheduled", ".", "INSN", "is", "the", "previous", "insn", ".", "COST", "is", "the", "current", "cycle", "cost", "for", "DEP", "."], "TS_V_token": ["mn10300", "1", "1", "1", "0", "100", "10", "100"], "File": "mn103004", "Func": "mn10300_adjust_sched_cost", "Target": "mn10300", "Target_Clf": "MPU", "Compiler_Type": "GCC", "Idx": 3422, "Length": 233, "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": 3423, "Length": 28, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "void", "AMDGPUPassConfig", "::", "addCodeGenPrepare", "(", ")", "{", "const", "AMDGPUSubtarget", "&", "ST", "=", "*", "getAMDGPUTargetMachine", "(", ")", ".", "getSubtargetImpl", "(", ")", ";", "if", "(", "ST", ".", "isPromoteAllocaEnabled", "(", ")", ")", "{", "addPass", "(", "createAMDGPUPromoteAlloca", "(", "TM", ")", ")", ";", "addPass", "(", "createSROAPass", "(", ")", ")", ";", "}", "TargetPassConfig", "::", "addCodeGenPrepare", "(", ")", ";", "}", ""], "natrual_language": ["Add", "pass", "to", "prepare", "the", "LLVM", "IR", "for", "code", "generation", "."], "TS_V_token": ["AMDGPU", "AMDGPU", "AMDGPU", "AMDGPU", "AMDGPU"], "File": "AMDGPUTargetMachine2", "Func": "addCodeGenPrepare", "Target": "AMDGPU", "Target_Clf": "GPU", "Compiler_Type": "LLVM", "Idx": 3424, "Length": 53, "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": 3425, "Length": 58, "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": 3426, "Length": 33, "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": 3427, "Length": 262, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "void", "m32r_init", "(", "void", ")", "{", "init_reg_tables", "(", ")", ";", "memset", "(", "m32r_punct_chars", ",", "0", ",", "sizeof", "(", "m32r_punct_chars", ")", ")", ";", "m32r_punct_chars", "[", "'#'", "]", "=", "1", ";", "m32r_punct_chars", "[", "'@'", "]", "=", "1", ";", "if", "(", "!", "OPTION_SET_P", "(", "g_switch_value", ")", ")", "g_switch_value", "=", "SDATA_DEFAULT_SIZE", ";", "}", ""], "natrual_language": ["Called", "by", "OVERRIDE_OPTIONS", "to", "initialize", "various", "things", "."], "TS_V_token": ["m32r", "0", "1", "1"], "File": "m32r", "Func": "m32r_init", "Target": "m32r", "Target_Clf": "MPU", "Compiler_Type": "GCC", "Idx": 3428, "Length": 49, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "void", "MCS51InstrInfo", "::", "loadRegFromStackSlot", "(", "MachineBasicBlock", "&", "MBB", ",", "MachineBasicBlock", "::", "iterator", "MI", ",", "Register", "DestReg", ",", "int", "FrameIndex", ",", "const", "TargetRegisterClass", "*", "RC", ",", "const", "TargetRegisterInfo", "*", "TRI", ")", "const", "{", "DebugLoc", "DL", ";", "if", "(", "MI", "!=", "MBB", ".", "end", "(", ")", ")", "{", "DL", "=", "MI", "->", "getDebugLoc", "(", ")", ";", "}", "MachineFunction", "&", "MF", "=", "*", "MBB", ".", "getParent", "(", ")", ";", "const", "MachineFrameInfo", "&", "MFI", "=", "MF", ".", "getFrameInfo", "(", ")", ";", "MachineMemOperand", "*", "MMO", "=", "MF", ".", "getMachineMemOperand", "(", "MachinePointerInfo", "::", "getFixedStack", "(", "MF", ",", "FrameIndex", ")", ",", "MachineMemOperand", "::", "MOLoad", ",", "MFI", ".", "getObjectSize", "(", "FrameIndex", ")", ",", "MFI", ".", "getObjectAlign", "(", "FrameIndex", ")", ")", ";", "unsigned", "Opcode", "=", "0", ";", "if", "(", "TRI", "->", "isTypeLegalForClass", "(", "*", "RC", ",", "MVT", "::", "i8", ")", ")", "{", "Opcode", "=", "MCS51", "::", "LDDRdPtrQ", ";", "}", "else", "if", "(", "TRI", "->", "isTypeLegalForClass", "(", "*", "RC", ",", "MVT", "::", "i16", ")", ")", "{", "Opcode", "=", "MCS51", "::", "LDDWRdYQ", ";", "}", "else", "{", "llvm_unreachable", "(", "\"Cannot load this register from a stack slot!\"", ")", ";", "}", "BuildMI", "(", "MBB", ",", "MI", ",", "DL", ",", "get", "(", "Opcode", ")", ",", "DestReg", ")", ".", "addFrameIndex", "(", "FrameIndex", ")", ".", "addImm", "(", "0", ")", ".", "addMemOperand", "(", "MMO", ")", ";", "}", ""], "natrual_language": ["Load", "the", "specified", "register", "of", "the", "given", "register", "class", "from", "the", "specified", "stack", "frame", "index", "."], "TS_V_token": ["MCS51", "MCS51", "0", "MVT::i8", "MCS51::LDDRdPtrQ", "MVT::i16", "MCS51::LDDWRdYQ", "\"Cannot load this register from a stack slot!\"", "0"], "File": "MCS51InstrInfo", "Func": "loadRegFromStackSlot", "Target": "MCS51", "Target_Clf": "MPU", "Compiler_Type": "LLVM", "Idx": 3429, "Length": 203, "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": 3430, "Length": 357, "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": 3431, "Length": 97, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "void", "DCPU16FrameLowering", "::", "emitEpilogue", "(", "MachineFunction", "&", "MF", ",", "MachineBasicBlock", "&", "MBB", ")", "const", "{", "const", "MachineFrameInfo", "*", "MFI", "=", "MF", ".", "getFrameInfo", "(", ")", ";", "DCPU16MachineFunctionInfo", "*", "DCPU16FI", "=", "MF", ".", "getInfo", "<", "DCPU16MachineFunctionInfo", ">", "(", ")", ";", "const", "DCPU16InstrInfo", "&", "TII", "=", "*", "static_cast", "<", "const", "DCPU16InstrInfo", "*", ">", "(", "MF", ".", "getTarget", "(", ")", ".", "getInstrInfo", "(", ")", ")", ";", "MachineBasicBlock", "::", "iterator", "MBBI", "=", "MBB", ".", "getLastNonDebugInstr", "(", ")", ";", "unsigned", "RetOpcode", "=", "MBBI", "->", "getOpcode", "(", ")", ";", "DebugLoc", "DL", "=", "MBBI", "->", "getDebugLoc", "(", ")", ";", "switch", "(", "RetOpcode", ")", "{", "case", "DCPU16", "::", "RET", ":", "case", "DCPU16", "::", "RETI", ":", "break", ";", "default", ":", "llvm_unreachable", "(", "\"Can only insert epilog into returning blocks\"", ")", ";", "}", "uint64_t", "StackSize", "=", "MFI", "->", "getStackSize", "(", ")", ";", "unsigned", "CSSize", "=", "DCPU16FI", "->", "getCalleeSavedFrameSize", "(", ")", ";", "uint64_t", "NumBytes", "=", "StackSize", "-", "CSSize", ";", "if", "(", "hasFP", "(", "MF", ")", ")", "{", "BuildMI", "(", "MBB", ",", "MBBI", ",", "DL", ",", "TII", ".", "get", "(", "DCPU16", "::", "POP16r", ")", ",", "DCPU16", "::", "J", ")", ";", "}", "while", "(", "MBBI", "!=", "MBB", ".", "begin", "(", ")", ")", "{", "MachineBasicBlock", "::", "iterator", "PI", "=", "prior", "(", "MBBI", ")", ";", "unsigned", "Opc", "=", "PI", "->", "getOpcode", "(", ")", ";", "if", "(", "Opc", "!=", "DCPU16", "::", "POP16r", "&&", "!", "PI", "->", "isTerminator", "(", ")", ")", "break", ";", "--", "MBBI", ";", "}", "DL", "=", "MBBI", "->", "getDebugLoc", "(", ")", ";", "if", "(", "MFI", "->", "hasVarSizedObjects", "(", ")", ")", "{", "BuildMI", "(", "MBB", ",", "MBBI", ",", "DL", ",", "TII", ".", "get", "(", "DCPU16", "::", "MOV16rr", ")", ",", "DCPU16", "::", "SP", ")", ".", "addReg", "(", "DCPU16", "::", "J", ")", ";", "if", "(", "CSSize", ")", "{", "MachineInstr", "*", "MI", "=", "BuildMI", "(", "MBB", ",", "MBBI", ",", "DL", ",", "TII", ".", "get", "(", "DCPU16", "::", "SUB16ri", ")", ",", "DCPU16", "::", "SP", ")", ".", "addReg", "(", "DCPU16", "::", "SP", ")", ".", "addImm", "(", "CSSize", ")", ";", "MI", "->", "getOperand", "(", "3", ")", ".", "setIsDead", "(", ")", ";", "}", "}", "else", "{", "if", "(", "NumBytes", ")", "{", "MachineInstr", "*", "MI", "=", "BuildMI", "(", "MBB", ",", "MBBI", ",", "DL", ",", "TII", ".", "get", "(", "DCPU16", "::", "ADD16ri", ")", ",", "DCPU16", "::", "SP", ")", ".", "addReg", "(", "DCPU16", "::", "SP", ")", ".", "addImm", "(", "NumBytes", ")", ";", "MI", "->", "getOperand", "(", "3", ")", ".", "setIsDead", "(", ")", ";", "}", "}", "}", ""], "natrual_language": ["Insert", "epilog", "code", "into", "the", "function", "."], "TS_V_token": ["Dcpu16", "DCPU16", "DCPU16", "DCPU16", "DCPU16", "DCPU16", "DCPU16", "DCPU16::RET", "DCPU16::RETI", "\"Can only insert epilog into returning blocks\"", "DCPU16", "DCPU16::POP16r", "DCPU16::J", "DCPU16::POP16r", "DCPU16::MOV16rr", "DCPU16::SP", "DCPU16::J", "DCPU16::SUB16ri", "DCPU16::SP", "DCPU16::SP", "3", "DCPU16::ADD16ri", "DCPU16::SP", "DCPU16::SP", "3"], "File": "Dcpu16FrameLowering", "Func": "emitEpilogue", "Target": "Dcpu16", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 3432, "Length": 385, "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": 3433, "Length": 123, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "bool", "RISCVExpandCoreVHwlpPseudo", "::", "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": "RISCVExpandCoreVHwlpPseudoInsts", "Func": "runOnMachineFunction", "Target": "RISCV", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 3434, "Length": 70, "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": 3435, "Length": 380, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "static", "int", "getRegClass", "(", "RegisterKind", "Is", ",", "unsigned", "RegWidth", ")", "{", "if", "(", "Is", "==", "IS_VGPR", ")", "{", "switch", "(", "RegWidth", ")", "{", "default", ":", "return", "-", "1", ";", "case", "32", ":", "return", "AMDGPU", "::", "VGPR_32RegClassID", ";", "case", "64", ":", "return", "AMDGPU", "::", "VReg_64RegClassID", ";", "case", "96", ":", "return", "AMDGPU", "::", "VReg_96RegClassID", ";", "case", "128", ":", "return", "AMDGPU", "::", "VReg_128RegClassID", ";", "case", "160", ":", "return", "AMDGPU", "::", "VReg_160RegClassID", ";", "case", "192", ":", "return", "AMDGPU", "::", "VReg_192RegClassID", ";", "case", "224", ":", "return", "AMDGPU", "::", "VReg_224RegClassID", ";", "case", "256", ":", "return", "AMDGPU", "::", "VReg_256RegClassID", ";", "case", "512", ":", "return", "AMDGPU", "::", "VReg_512RegClassID", ";", "case", "1024", ":", "return", "AMDGPU", "::", "VReg_1024RegClassID", ";", "}", "}", "else", "if", "(", "Is", "==", "IS_TTMP", ")", "{", "switch", "(", "RegWidth", ")", "{", "default", ":", "return", "-", "1", ";", "case", "32", ":", "return", "AMDGPU", "::", "TTMP_32RegClassID", ";", "case", "64", ":", "return", "AMDGPU", "::", "TTMP_64RegClassID", ";", "case", "128", ":", "return", "AMDGPU", "::", "TTMP_128RegClassID", ";", "case", "256", ":", "return", "AMDGPU", "::", "TTMP_256RegClassID", ";", "case", "512", ":", "return", "AMDGPU", "::", "TTMP_512RegClassID", ";", "}", "}", "else", "if", "(", "Is", "==", "IS_SGPR", ")", "{", "switch", "(", "RegWidth", ")", "{", "default", ":", "return", "-", "1", ";", "case", "32", ":", "return", "AMDGPU", "::", "SGPR_32RegClassID", ";", "case", "64", ":", "return", "AMDGPU", "::", "SGPR_64RegClassID", ";", "case", "96", ":", "return", "AMDGPU", "::", "SGPR_96RegClassID", ";", "case", "128", ":", "return", "AMDGPU", "::", "SGPR_128RegClassID", ";", "case", "160", ":", "return", "AMDGPU", "::", "SGPR_160RegClassID", ";", "case", "192", ":", "return", "AMDGPU", "::", "SGPR_192RegClassID", ";", "case", "224", ":", "return", "AMDGPU", "::", "SGPR_224RegClassID", ";", "case", "256", ":", "return", "AMDGPU", "::", "SGPR_256RegClassID", ";", "case", "512", ":", "return", "AMDGPU", "::", "SGPR_512RegClassID", ";", "}", "}", "else", "if", "(", "Is", "==", "IS_AGPR", ")", "{", "switch", "(", "RegWidth", ")", "{", "default", ":", "return", "-", "1", ";", "case", "32", ":", "return", "AMDGPU", "::", "AGPR_32RegClassID", ";", "case", "64", ":", "return", "AMDGPU", "::", "AReg_64RegClassID", ";", "case", "96", ":", "return", "AMDGPU", "::", "AReg_96RegClassID", ";", "case", "128", ":", "return", "AMDGPU", "::", "AReg_128RegClassID", ";", "case", "160", ":", "return", "AMDGPU", "::", "AReg_160RegClassID", ";", "case", "192", ":", "return", "AMDGPU", "::", "AReg_192RegClassID", ";", "case", "224", ":", "return", "AMDGPU", "::", "AReg_224RegClassID", ";", "case", "256", ":", "return", "AMDGPU", "::", "AReg_256RegClassID", ";", "case", "512", ":", "return", "AMDGPU", "::", "AReg_512RegClassID", ";", "case", "1024", ":", "return", "AMDGPU", "::", "AReg_1024RegClassID", ";", "}", "}", "return", "-", "1", ";", "}", ""], "natrual_language": ["Given", "a", "machine", "instruction", "descriptor", ",", "returns", "the", "register", "class", "constraint", "for", "OpNum", ",", "or", "NULL", "."], "TS_V_token": ["AMDGPU", "1", "32", "AMDGPU::VGPR_32RegClassID", "64", "AMDGPU::VReg_64RegClassID", "96", "AMDGPU::VReg_96RegClassID", "128", "AMDGPU::VReg_128RegClassID", "160", "AMDGPU::VReg_160RegClassID", "192", "AMDGPU::VReg_192RegClassID", "224", "AMDGPU::VReg_224RegClassID", "256", "AMDGPU::VReg_256RegClassID", "512", "AMDGPU::VReg_512RegClassID", "1024", "AMDGPU::VReg_1024RegClassID", "1", "32", "AMDGPU::TTMP_32RegClassID", "64", "AMDGPU::TTMP_64RegClassID", "128", "AMDGPU::TTMP_128RegClassID", "256", "AMDGPU::TTMP_256RegClassID", "512", "AMDGPU::TTMP_512RegClassID", "1", "32", "AMDGPU::SGPR_32RegClassID", "64", "AMDGPU::SGPR_64RegClassID", "96", "AMDGPU::SGPR_96RegClassID", "128", "AMDGPU::SGPR_128RegClassID", "160", "AMDGPU::SGPR_160RegClassID", "192", "AMDGPU::SGPR_192RegClassID", "224", "AMDGPU::SGPR_224RegClassID", "256", "AMDGPU::SGPR_256RegClassID", "512", "AMDGPU::SGPR_512RegClassID", "1", "32", "AMDGPU::AGPR_32RegClassID", "64", "AMDGPU::AReg_64RegClassID", "96", "AMDGPU::AReg_96RegClassID", "128", "AMDGPU::AReg_128RegClassID", "160", "AMDGPU::AReg_160RegClassID", "192", "AMDGPU::AReg_192RegClassID", "224", "AMDGPU::AReg_224RegClassID", "256", "AMDGPU::AReg_256RegClassID", "512", "AMDGPU::AReg_512RegClassID", "1024", "AMDGPU::AReg_1024RegClassID", "1"], "File": "AMDGPUAsmParser3", "Func": "getRegClass", "Target": "AMDGPU", "Target_Clf": "GPU", "Compiler_Type": "LLVM", "Idx": 3436, "Length": 371, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "bool", "SparcTargetLowering", "::", "IsEligibleForTailCallOptimization", "(", "CCState", "&", "CCInfo", ",", "CallLoweringInfo", "&", "CLI", ",", "MachineFunction", "&", "MF", ")", "const", "{", "auto", "&", "Outs", "=", "CLI", ".", "Outs", ";", "auto", "&", "Caller", "=", "MF", ".", "getFunction", "(", ")", ";", "if", "(", "Caller", ".", "getFnAttribute", "(", "\"disable-tail-calls\"", ")", ".", "getValueAsString", "(", ")", "==", "\"true\"", ")", "return", "false", ";", "if", "(", "CCInfo", ".", "getNextStackOffset", "(", ")", "!=", "0", ")", "return", "false", ";", "if", "(", "!", "Outs", ".", "empty", "(", ")", "&&", "Caller", ".", "hasStructRetAttr", "(", ")", "!=", "Outs", "[", "0", "]", ".", "Flags", ".", "isSRet", "(", ")", ")", "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": ["Sparc", "Sparc", "\"disable-tail-calls\"", "\"true\"", "0", "0"], "File": "SparcISelLowering45", "Func": "IsEligibleForTailCallOptimization", "Target": "Sparc", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 3437, "Length": 122, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "void", "AGCAsmPrinter", "::", "EmitInstruction", "(", "const", "MachineInstr", "*", "MI", ")", "{", "if", "(", "emitPseudoExpansionLowering", "(", "*", "OutStreamer", ",", "MI", ")", ")", "return", ";", "MCInst", "TmpInst", ";", "LowerAGCMachineInstrToMCInst", "(", "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": ["AGC", "AGC", "AGC"], "File": "AGCAsmPrinter", "Func": "EmitInstruction", "Target": "AGC", "Target_Clf": "MPU", "Compiler_Type": "LLVM", "Idx": 3438, "Length": 42, "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": 3439, "Length": 74, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "void", "GCNPassConfig", "::", "addPostRegAlloc", "(", ")", "{", "addPass", "(", "&", "SIOptimizeExecMaskingID", ")", ";", "TargetPassConfig", "::", "addPostRegAlloc", "(", ")", ";", "}", ""], "natrual_language": ["This", "method", "may", "be", "implemented", "by", "targets", "that", "want", "to", "run", "passes", "after", "register", "allocation", "pass", "pipeline", "but", "before", "prolog-epilog", "insertion", "."], "TS_V_token": ["AMDGPU", "SI"], "File": "AMDGPUTargetMachine33", "Func": "addPostRegAlloc", "Target": "AMDGPU", "Target_Clf": "GPU", "Compiler_Type": "LLVM", "Idx": 3440, "Length": 20, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "void", "WebAssemblyAsmBackend", "::", "applyFixup", "(", "const", "MCAssembler", "&", "Asm", ",", "const", "MCFixup", "&", "Fixup", ",", "const", "MCValue", "&", "Target", ",", "MutableArrayRef", "<", "char", ">", "Data", ",", "uint64_t", "Value", ",", "bool", "IsPCRel", ",", "const", "MCSubtargetInfo", "*", "STI", ")", "const", "{", "const", "MCFixupKindInfo", "&", "Info", "=", "getFixupKindInfo", "(", "Fixup", ".", "getKind", "(", ")", ")", ";", "assert", "(", "Info", ".", "Flags", "==", "0", "&&", "\"WebAssembly does not use MCFixupKindInfo flags\"", ")", ";", "unsigned", "NumBytes", "=", "alignTo", "(", "Info", ".", "TargetSize", ",", "8", ")", "/", "8", ";", "if", "(", "Value", "==", "0", ")", "return", ";", "Value", "<<=", "Info", ".", "TargetOffset", ";", "unsigned", "Offset", "=", "Fixup", ".", "getOffset", "(", ")", ";", "assert", "(", "Offset", "+", "NumBytes", "<=", "Data", ".", "size", "(", ")", "&&", "\"Invalid fixup offset!\"", ")", ";", "for", "(", "unsigned", "i", "=", "0", ";", "i", "!=", "NumBytes", ";", "++", "i", ")", "Data", "[", "Offset", "+", "i", "]", "|=", "uint8_t", "(", "(", "Value", ">>", "(", "i", "*", "8", ")", ")", "&", "0xff", ")", ";", "}", ""], "natrual_language": ["Apply", "the", "Value", "for", "given", "Fixup", "into", "the", "provided", "data", "fragment", ",", "at", "the", "offset", "specified", "by", "the", "fixup", "and", "following", "the", "fixup", "kind", "as", "appropriate", "."], "TS_V_token": ["WebAssembly", "WebAssembly", "0", "\"WebAssembly does not use MCFixupKindInfo flags\"", "8", "8", "0", "\"Invalid fixup offset!\"", "0", "8", "0xff"], "File": "WebAssemblyAsmBackend", "Func": "applyFixup", "Target": "WebAssembly", "Target_Clf": "Virtual ISA", "Compiler_Type": "LLVM", "Idx": 3441, "Length": 153, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "TargetTransformInfo", "GCNTargetMachine", "::", "getTargetTransformInfo", "(", "const", "Function", "&", "F", ")", "const", "{", "return", "TargetTransformInfo", "(", "GCNTTIImpl", "(", "this", ",", "F", ")", ")", ";", "}", ""], "natrual_language": ["Get", "a", "TargetTransformInfo", "implementation", "for", "the", "target", "."], "TS_V_token": ["AMDGPU"], "File": "AMDGPUTargetMachine42", "Func": "getTargetTransformInfo", "Target": "AMDGPU", "Target_Clf": "GPU", "Compiler_Type": "LLVM", "Idx": 3442, "Length": 24, "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": 3443, "Length": 42, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "void", "ARMOperand", "::", "dump", "(", "raw_ostream", "&", "OS", ")", "const", "{", "switch", "(", "Kind", ")", "{", "case", "CondCode", ":", "OS", "<<", "\"\"", ";", "break", ";", "case", "CCOut", ":", "OS", "<<", "\"\"", ";", "break", ";", "case", "CoprocNum", ":", "OS", "<<", "\"\"", ";", "break", ";", "case", "CoprocReg", ":", "OS", "<<", "\"\"", ";", "break", ";", "case", "MSRMask", ":", "OS", "<<", "\"\"", ";", "break", ";", "case", "Immediate", ":", "getImm", "(", ")", "->", "print", "(", "OS", ")", ";", "break", ";", "case", "MemBarrierOpt", ":", "OS", "<<", "\"\"", ";", "break", ";", "case", "Memory", ":", "OS", "<<", "\"\"", ";", "break", ";", "case", "ProcIFlags", ":", "{", "OS", "<<", "\"=", "0", ";", "--", "i", ")", "if", "(", "IFlags", "&", "(", "1", "<<", "i", ")", ")", "OS", "<<", "ARM_PROC", "::", "IFlagsToString", "(", "1", "<<", "i", ")", ";", "OS", "<<", "\">\"", ";", "break", ";", "}", "case", "Register", ":", "OS", "<<", "\"\"", ";", "break", ";", "case", "RegisterList", ":", "case", "DPRRegisterList", ":", "case", "SPRRegisterList", ":", "{", "OS", "<<", "\"", "&", "RegList", "=", "getRegList", "(", ")", ";", "for", "(", "SmallVectorImpl", "<", "unsigned", ">", "::", "const_iterator", "I", "=", "RegList", ".", "begin", "(", ")", ",", "E", "=", "RegList", ".", "end", "(", ")", ";", "I", "!=", "E", ";", ")", "{", "OS", "<<", "*", "I", ";", "if", "(", "++", "I", "<", "E", ")", "OS", "<<", "\", \"", ";", "}", "OS", "<<", "\">\"", ";", "break", ";", "}", "case", "Token", ":", "OS", "<<", "\"'\"", "<<", "getToken", "(", ")", "<<", "\"'\"", ";", "break", ";", "}", "}", ""], "natrual_language": ["Dump", "the", "plan", "to", "stderr", "(", "for", "debugging", ")", "."], "TS_V_token": ["ARM", "ARM", "\"\"", "\"\"", "\"\"", "\"\"", "\"\"", "\"\"", "\"\"", "\"\"", "\"\"", "\"\"", "\"'\"", "\"'\""], "File": "ARMAsmParser8", "Func": "dump", "Target": "ARM", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 3444, "Length": 417, "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": 3445, "Length": 244, "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": 3446, "Length": 386, "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": 3447, "Length": 108, "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": 3448, "Length": 44, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "SDValue", "HexagonTargetLowering", "::", "LowerCallResult", "(", "SDValue", "Chain", ",", "SDValue", "Glue", ",", "CallingConv", "::", "ID", "CallConv", ",", "bool", "IsVarArg", ",", "const", "SmallVectorImpl", "<", "ISD", "::", "InputArg", ">", "&", "Ins", ",", "const", "SDLoc", "&", "dl", ",", "SelectionDAG", "&", "DAG", ",", "SmallVectorImpl", "<", "SDValue", ">", "&", "InVals", ",", "const", "SmallVectorImpl", "<", "SDValue", ">", "&", "OutVals", ",", "SDValue", "Callee", ")", "const", "{", "SmallVector", "<", "CCValAssign", ",", "16", ">", "RVLocs", ";", "CCState", "CCInfo", "(", "CallConv", ",", "IsVarArg", ",", "DAG", ".", "getMachineFunction", "(", ")", ",", "RVLocs", ",", "*", "DAG", ".", "getContext", "(", ")", ")", ";", "if", "(", "Subtarget", ".", "useHVXOps", "(", ")", ")", "CCInfo", ".", "AnalyzeCallResult", "(", "Ins", ",", "RetCC_Hexagon_HVX", ")", ";", "else", "CCInfo", ".", "AnalyzeCallResult", "(", "Ins", ",", "RetCC_Hexagon", ")", ";", "for", "(", "unsigned", "i", "=", "0", ";", "i", "!=", "RVLocs", ".", "size", "(", ")", ";", "++", "i", ")", "{", "SDValue", "RetVal", ";", "if", "(", "RVLocs", "[", "i", "]", ".", "getValVT", "(", ")", "==", "MVT", "::", "i1", ")", "{", "auto", "&", "MRI", "=", "DAG", ".", "getMachineFunction", "(", ")", ".", "getRegInfo", "(", ")", ";", "SDValue", "FR0", "=", "DAG", ".", "getCopyFromReg", "(", "Chain", ",", "dl", ",", "RVLocs", "[", "i", "]", ".", "getLocReg", "(", ")", ",", "MVT", "::", "i32", ",", "Glue", ")", ";", "unsigned", "PredR", "=", "MRI", ".", "createVirtualRegister", "(", "&", "Hexagon", "::", "PredRegsRegClass", ")", ";", "SDValue", "TPR", "=", "DAG", ".", "getCopyToReg", "(", "FR0", ".", "getValue", "(", "1", ")", ",", "dl", ",", "PredR", ",", "FR0", ".", "getValue", "(", "0", ")", ",", "FR0", ".", "getValue", "(", "2", ")", ")", ";", "RetVal", "=", "DAG", ".", "getCopyFromReg", "(", "TPR", ".", "getValue", "(", "0", ")", ",", "dl", ",", "PredR", ",", "MVT", "::", "i1", ")", ";", "Glue", "=", "TPR", ".", "getValue", "(", "1", ")", ";", "Chain", "=", "TPR", ".", "getValue", "(", "0", ")", ";", "}", "else", "{", "RetVal", "=", "DAG", ".", "getCopyFromReg", "(", "Chain", ",", "dl", ",", "RVLocs", "[", "i", "]", ".", "getLocReg", "(", ")", ",", "RVLocs", "[", "i", "]", ".", "getValVT", "(", ")", ",", "Glue", ")", ";", "Glue", "=", "RetVal", ".", "getValue", "(", "2", ")", ";", "Chain", "=", "RetVal", ".", "getValue", "(", "1", ")", ";", "}", "InVals", ".", "push_back", "(", "RetVal", ".", "getValue", "(", "0", ")", ")", ";", "}", "return", "Chain", ";", "}", ""], "natrual_language": ["LowerCallResult", "-", "Lower", "the", "result", "values", "of", "an", "ISD", ":", ":CALL", "into", "the", "appropriate", "copies", "out", "of", "appropriate", "physical", "registers", "."], "TS_V_token": ["Hexagon", "Hexagon", "ISD::InputArg", "16", "Hexagon", "Hexagon", "0", "MVT::i1", "MVT::i32", "Hexagon::PredRegsRegClass", "1", "0", "2", "0", "MVT::i1", "1", "0", "2", "1", "0"], "File": "HexagonISelLowering1", "Func": "LowerCallResult", "Target": "Hexagon", "Target_Clf": "DSP", "Compiler_Type": "LLVM", "Idx": 3449, "Length": 351, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "void", "ARMOperand", "::", "dump", "(", "raw_ostream", "&", "OS", ")", "const", "{", "switch", "(", "Kind", ")", "{", "case", "CondCode", ":", "OS", "<<", "\"\"", ";", "break", ";", "case", "CCOut", ":", "OS", "<<", "\"\"", ";", "break", ";", "case", "CoprocNum", ":", "OS", "<<", "\"\"", ";", "break", ";", "case", "CoprocReg", ":", "OS", "<<", "\"\"", ";", "break", ";", "case", "MSRMask", ":", "OS", "<<", "\"\"", ";", "break", ";", "case", "Immediate", ":", "getImm", "(", ")", "->", "print", "(", "OS", ")", ";", "break", ";", "case", "MemBarrierOpt", ":", "OS", "<<", "\"\"", ";", "break", ";", "case", "Memory", ":", "OS", "<<", "\"\"", ";", "break", ";", "case", "ProcIFlags", ":", "{", "OS", "<<", "\"=", "0", ";", "--", "i", ")", "if", "(", "IFlags", "&", "(", "1", "<<", "i", ")", ")", "OS", "<<", "ARM_PROC", "::", "IFlagsToString", "(", "1", "<<", "i", ")", ";", "OS", "<<", "\">\"", ";", "break", ";", "}", "case", "Register", ":", "OS", "<<", "\"\"", ";", "break", ";", "case", "Shifter", ":", "OS", "<<", "\"\"", ";", "break", ";", "case", "RegisterList", ":", "case", "DPRRegisterList", ":", "case", "SPRRegisterList", ":", "{", "OS", "<<", "\"", "&", "RegList", "=", "getRegList", "(", ")", ";", "for", "(", "SmallVectorImpl", "<", "unsigned", ">", "::", "const_iterator", "I", "=", "RegList", ".", "begin", "(", ")", ",", "E", "=", "RegList", ".", "end", "(", ")", ";", "I", "!=", "E", ";", ")", "{", "OS", "<<", "*", "I", ";", "if", "(", "++", "I", "<", "E", ")", "OS", "<<", "\", \"", ";", "}", "OS", "<<", "\">\"", ";", "break", ";", "}", "case", "Token", ":", "OS", "<<", "\"'\"", "<<", "getToken", "(", ")", "<<", "\"'\"", ";", "break", ";", "}", "}", ""], "natrual_language": ["Dump", "the", "plan", "to", "stderr", "(", "for", "debugging", ")", "."], "TS_V_token": ["ARM", "ARM", "\"\"", "\"\"", "\"\"", "\"\"", "\"\"", "\"\"", "\"\"", "\"\"", "\"\"", "\"\"", "\"\"", "\"'\"", "\"'\""], "File": "ARMAsmParser35", "Func": "dump", "Target": "ARM", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 3450, "Length": 435, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "unsigned", "WebAssemblyFastISel", "::", "fastMaterializeConstant", "(", "const", "Constant", "*", "C", ")", "{", "if", "(", "const", "GlobalValue", "*", "GV", "=", "dyn_cast", "<", "GlobalValue", ">", "(", "C", ")", ")", "{", "unsigned", "ResultReg", "=", "createResultReg", "(", "Subtarget", "->", "hasAddr64", "(", ")", "?", "&", "WebAssembly", "::", "I64RegClass", ":", "&", "WebAssembly", "::", "I32RegClass", ")", ";", "unsigned", "Opc", "=", "Subtarget", "->", "hasAddr64", "(", ")", "?", "WebAssembly", "::", "CONST_I64", ":", "WebAssembly", "::", "CONST_I32", ";", "BuildMI", "(", "*", "FuncInfo", ".", "MBB", ",", "FuncInfo", ".", "InsertPt", ",", "DbgLoc", ",", "TII", ".", "get", "(", "Opc", ")", ",", "ResultReg", ")", ".", "addGlobalAddress", "(", "GV", ")", ";", "return", "ResultReg", ";", "}", "return", "0", ";", "}", ""], "natrual_language": ["Emit", "a", "constant", "in", "a", "register", "using", "target-specific", "logic", ",", "such", "as", "constant", "pool", "loads", "."], "TS_V_token": ["WebAssembly", "WebAssembly", "WebAssembly::I64RegClass", "WebAssembly::I32RegClass", "WebAssembly::CONST_I64", "WebAssembly::CONST_I32", "0"], "File": "WebAssemblyFastISel11", "Func": "fastMaterializeConstant", "Target": "WebAssembly", "Target_Clf": "Virtual ISA", "Compiler_Type": "LLVM", "Idx": 3451, "Length": 102, "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": 3452, "Length": 86, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "TargetPassConfig", "*", "AVRTargetMachine", "::", "createPassConfig", "(", "PassManagerBase", "&", "PM", ")", "{", "return", "new", "AVRPassConfig", "(", "*", "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": ["AVR", "AVR", "AVR"], "File": "AVRTargetMachine", "Func": "createPassConfig", "Target": "AVR", "Target_Clf": "MPU", "Compiler_Type": "LLVM", "Idx": 3453, "Length": 22, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "bool", "isDivergentRegClass", "(", "const", "TargetRegisterClass", "*", "RC", ")", "const", "override", "{", "return", "!", "isSGPRClass", "(", "RC", ")", ";", "}", ""], "natrual_language": ["Returns", "true", "if", "the", "register", "class", "is", "considered", "divergent", "."], "TS_V_token": ["AMDGPU"], "File": "SIRegisterInfo1", "Func": "isDivergentRegClass", "Target": "AMDGPU", "Target_Clf": "GPU", "Compiler_Type": "LLVM", "Idx": 3454, "Length": 19, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "static", "void", "ix86_avoid_jump_misspredicts", "(", "void", ")", "{", "rtx", "insn", ",", "start", "=", "get_insns", "(", ")", ";", "int", "nbytes", "=", "0", ",", "njumps", "=", "0", ";", "int", "isjump", "=", "0", ";", "for", "(", "insn", "=", "get_insns", "(", ")", ";", "insn", ";", "insn", "=", "NEXT_INSN", "(", "insn", ")", ")", "{", "nbytes", "+=", "min_insn_size", "(", "insn", ")", ";", "if", "(", "dump_file", ")", "fprintf", "(", "dump_file", ",", "\"Insn %i estimated to %i bytes\\n\"", ",", "INSN_UID", "(", "insn", ")", ",", "min_insn_size", "(", "insn", ")", ")", ";", "if", "(", "(", "GET_CODE", "(", "insn", ")", "==", "JUMP_INSN", "&&", "GET_CODE", "(", "PATTERN", "(", "insn", ")", ")", "!=", "ADDR_VEC", "&&", "GET_CODE", "(", "PATTERN", "(", "insn", ")", ")", "!=", "ADDR_DIFF_VEC", ")", "||", "GET_CODE", "(", "insn", ")", "==", "CALL_INSN", ")", "njumps", "++", ";", "else", "continue", ";", "while", "(", "njumps", ">", "3", ")", "{", "start", "=", "NEXT_INSN", "(", "start", ")", ";", "if", "(", "(", "GET_CODE", "(", "start", ")", "==", "JUMP_INSN", "&&", "GET_CODE", "(", "PATTERN", "(", "start", ")", ")", "!=", "ADDR_VEC", "&&", "GET_CODE", "(", "PATTERN", "(", "start", ")", ")", "!=", "ADDR_DIFF_VEC", ")", "||", "GET_CODE", "(", "start", ")", "==", "CALL_INSN", ")", "njumps", "--", ",", "isjump", "=", "1", ";", "else", "isjump", "=", "0", ";", "nbytes", "-=", "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", "+", "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_align", "(", "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", "\"Insn %i estimated to %i bytes\\n\"", "3", "1", "0", "0", "\"Interval %i to %i has %i bytes\\n\"", "3", "16", "15", "\"Padding insn %i by %i bytes!\\n\""], "File": "i3863", "Func": "ix86_avoid_jump_misspredicts", "Target": "i386", "Target_Clf": "CPU", "Compiler_Type": "GCC", "Idx": 3455, "Length": 281, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "static", "bool", "aarch64_handle_attr_cpu", "(", "const", "char", "*", "str", ")", "{", "const", "struct", "processor", "*", "tmp_cpu", "=", "NULL", ";", "std", "::", "string", "invalid_extension", ";", "enum", "aarch64_parse_opt_result", "parse_res", "=", "aarch64_parse_cpu", "(", "str", ",", "&", "tmp_cpu", ",", "&", "aarch64_isa_flags", ",", "&", "invalid_extension", ")", ";", "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 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", "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 feature modifier %s of value (\\\"%s\\\") in \"", "\"% pragma or attribute\""], "File": "aarch64", "Func": "aarch64_handle_attr_cpu", "Target": "aarch64", "Target_Clf": "CPU", "Compiler_Type": "GCC", "Idx": 3456, "Length": 150, "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": 3457, "Length": 21, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "void", "WebAssemblyAsmPrinter", "::", "emitFunctionBodyStart", "(", ")", "{", "const", "Function", "&", "F", "=", "MF", "->", "getFunction", "(", ")", ";", "SmallVector", "<", "MVT", ",", "1", ">", "ResultVTs", ";", "SmallVector", "<", "MVT", ",", "4", ">", "ParamVTs", ";", "computeSignatureVTs", "(", "F", ".", "getFunctionType", "(", ")", ",", "&", "F", ",", "F", ",", "TM", ",", "ParamVTs", ",", "ResultVTs", ")", ";", "auto", "Signature", "=", "signatureFromMVTs", "(", "ResultVTs", ",", "ParamVTs", ")", ";", "auto", "*", "WasmSym", "=", "cast", "<", "MCSymbolWasm", ">", "(", "CurrentFnSym", ")", ";", "WasmSym", "->", "setSignature", "(", "Signature", ".", "get", "(", ")", ")", ";", "addSignature", "(", "std", "::", "move", "(", "Signature", ")", ")", ";", "WasmSym", "->", "setType", "(", "wasm", "::", "WASM_SYMBOL_TYPE_FUNCTION", ")", ";", "getTargetStreamer", "(", ")", "->", "emitFunctionType", "(", "WasmSym", ")", ";", "if", "(", "MDNode", "*", "Idx", "=", "F", ".", "getMetadata", "(", "\"wasm.index\"", ")", ")", "{", "assert", "(", "Idx", "->", "getNumOperands", "(", ")", "==", "1", ")", ";", "getTargetStreamer", "(", ")", "->", "emitIndIdx", "(", "AsmPrinter", "::", "lowerConstant", "(", "cast", "<", "ConstantAsMetadata", ">", "(", "Idx", "->", "getOperand", "(", "0", ")", ")", "->", "getValue", "(", ")", ")", ")", ";", "}", "SmallVector", "<", "wasm", "::", "ValType", ",", "16", ">", "Locals", ";", "valTypesFromMVTs", "(", "MFI", "->", "getLocals", "(", ")", ",", "Locals", ")", ";", "getTargetStreamer", "(", ")", "->", "emitLocal", "(", "Locals", ")", ";", "AsmPrinter", "::", "emitFunctionBodyStart", "(", ")", ";", "}", ""], "natrual_language": ["Targets", "can", "override", "this", "to", "emit", "stuff", "before", "the", "first", "basic", "block", "in", "the", "function", "."], "TS_V_token": ["WebAssembly", "WebAssembly", "1", "4", "wasm::WASM_SYMBOL_TYPE_FUNCTION", "\"wasm.index\"", "1", "0", "wasm::ValType", "16"], "File": "WebAssemblyAsmPrinter (2)1", "Func": "emitFunctionBodyStart", "Target": "WebAssembly", "Target_Clf": "Virtual ISA", "Compiler_Type": "LLVM", "Idx": 3458, "Length": 207, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "void", "avr_asm_output_aligned_decl_common", "(", "FILE", "*", "stream", ",", "tree", "decl", ",", "const", "char", "*", "name", ",", "unsigned", "HOST_WIDE_INT", "size", ",", "unsigned", "int", "align", ",", "bool", "local_p", ")", "{", "rtx", "mem", "=", "decl", "==", "NULL_TREE", "?", "NULL_RTX", ":", "DECL_RTL", "(", "decl", ")", ";", "rtx", "symbol", ";", "if", "(", "mem", "!=", "NULL_RTX", "&&", "MEM_P", "(", "mem", ")", "&&", "SYMBOL_REF_P", "(", "(", "symbol", "=", "XEXP", "(", "mem", ",", "0", ")", ")", ")", "&&", "(", "SYMBOL_REF_FLAGS", "(", "symbol", ")", "&", "(", "SYMBOL_FLAG_IO", "|", "SYMBOL_FLAG_ADDRESS", ")", ")", ")", "{", "if", "(", "!", "local_p", ")", "{", "fprintf", "(", "stream", ",", "\"\\t.globl\\t\"", ")", ";", "assemble_name", "(", "stream", ",", "name", ")", ";", "fprintf", "(", "stream", ",", "\"\\n\"", ")", ";", "}", "if", "(", "SYMBOL_REF_FLAGS", "(", "symbol", ")", "&", "SYMBOL_FLAG_ADDRESS", ")", "{", "assemble_name", "(", "stream", ",", "name", ")", ";", "fprintf", "(", "stream", ",", "\" = %ld\\n\"", ",", "(", "long", ")", "INTVAL", "(", "avr_eval_addr_attrib", "(", "symbol", ")", ")", ")", ";", "}", "else", "if", "(", "local_p", ")", "error_at", "(", "DECL_SOURCE_LOCATION", "(", "decl", ")", ",", "\"static IO declaration for %q+D needs an address\"", ",", "decl", ")", ";", "return", ";", "}", "if", "(", "!", "startswith", "(", "name", ",", "\"__gnu_lto\"", ")", ")", "avr_need_clear_bss_p", "=", "true", ";", "if", "(", "local_p", ")", "ASM_OUTPUT_ALIGNED_LOCAL", "(", "stream", ",", "name", ",", "size", ",", "align", ")", ";", "else", "ASM_OUTPUT_ALIGNED_COMMON", "(", "stream", ",", "name", ",", "size", ",", "align", ")", ";", "}", ""], "natrual_language": ["Track", "need", "of", "__do_clear_bss", "."], "TS_V_token": ["avr", "0", "\"\\t.globl\\t\"", "\"\\n\"", "\" = %ld\\n\"", "\"static IO declaration for %q+D needs an address\"", "\"__gnu_lto\""], "File": "avr", "Func": "avr_asm_output_aligned_decl_common", "Target": "avr", "Target_Clf": "MPU", "Compiler_Type": "GCC", "Idx": 3459, "Length": 209, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "void", "push_back", "(", "Instruction", "*", "I", ")", "{", "Chain", ".", "push_back", "(", "I", ")", ";", "}", ""], "natrual_language": ["Insert", "a", "node", "at", "the", "back", ";", "never", "copies", "."], "TS_V_token": ["Hexagon"], "File": "HexagonVectorLoopCarriedReuse", "Func": "push_back", "Target": "Hexagon", "Target_Clf": "DSP", "Compiler_Type": "LLVM", "Idx": 3460, "Length": 16, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "unsigned", "HSAILIntrinsicInfo", "::", "lookupName", "(", "const", "char", "*", "Name", ",", "unsigned", "Len", ")", "const", "{", "return", "getIntrinsicForGCCBuiltin", "(", "\"HSAIL\"", ",", "Name", ")", ";", "}", ""], "natrual_language": ["Look", "up", "target", "intrinsic", "by", "name", "."], "TS_V_token": ["HSAIL", "HSAIL", "\"HSAIL\""], "File": "HSAILIntrinsicInfo", "Func": "lookupName", "Target": "HSAIL", "Target_Clf": "Virtual ISA", "Compiler_Type": "LLVM", "Idx": 3461, "Length": 24, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "void", "msp430_register_pre_includes", "(", "const", "char", "*", "sysroot", "ATTRIBUTE_UNUSED", ",", "const", "char", "*", "iprefix", "ATTRIBUTE_UNUSED", ",", "int", "stdinc", "ATTRIBUTE_UNUSED", ")", "{", "char", "*", "include_dir", ";", "if", "(", "msp430_devices_csv_loc", ")", "include_dir", "=", "xstrdup", "(", "msp430_devices_csv_loc", ")", ";", "else", "if", "(", "msp430_check_env_var_for_devices", "(", "&", "include_dir", ")", ")", "return", ";", "include_dir", "=", "msp430_dirname", "(", "include_dir", ")", ";", "include_dir", "=", "update_path", "(", "include_dir", ",", "\"\"", ")", ";", "add_path", "(", "include_dir", ",", "INC_SYSTEM", ",", "false", ",", "false", ")", ";", "}", ""], "natrual_language": ["If", "the", "path", "to", "the", "MSP430-GCC", "support", "files", "has", "been", "found", "by", "examining", "an", "environment", "variable", "(", "see", "msp430_check_env_var_for_devices", "in", "msp430-devices.cc", ")", ",", "or", "-mdevices-csv-loc=", ",", "register", "this", "path", "as", "an", "include", "directory", "so", "the", "user", "can", "#", "include", "msp430.h", "without", "needing", "to", "specify", "the", "path", "to", "the", "support", "files", "with", "-I", "."], "TS_V_token": ["msp430", "\"\""], "File": "msp430", "Func": "msp430_register_pre_includes", "Target": "msp430", "Target_Clf": "MPU", "Compiler_Type": "GCC", "Idx": 3462, "Length": 74, "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": 3463, "Length": 80, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "bool", "M68kAsmBackend", "::", "fixupNeedsRelaxation", "(", "const", "MCFixup", "&", "Fixup", ",", "uint64_t", "Value", ",", "const", "MCRelaxableFragment", "*", "DF", ",", "const", "MCAsmLayout", "&", "Layout", ")", "const", "{", "if", "(", "!", "isInt", "<", "16", ">", "(", "Value", ")", ")", "{", "llvm_unreachable", "(", "\"Cannot relax the instruction, value does not fit\"", ")", ";", "}", "return", "Value", "==", "0", "||", "!", "isInt", "<", "8", ">", "(", "Value", ")", ";", "}", ""], "natrual_language": ["Simple", "predicate", "for", "targets", "where", "!", "Resolved", "implies", "requiring", "relaxation", "."], "TS_V_token": ["M68k", "M68k", "16", "\"Cannot relax the instruction, value does not fit\"", "0", "8"], "File": "M68kAsmBackend", "Func": "fixupNeedsRelaxation", "Target": "M68k", "Target_Clf": "MPU", "Compiler_Type": "LLVM", "Idx": 3464, "Length": 58, "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": 3465, "Length": 38, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "void", "AMDGPUAsmPrinter", "::", "EmitInstruction", "(", "const", "MachineInstr", "*", "MI", ")", "{", "const", "AMDGPUSubtarget", "&", "STI", "=", "MF", "->", "getSubtarget", "<", "AMDGPUSubtarget", ">", "(", ")", ";", "AMDGPUMCInstLower", "MCInstLowering", "(", "OutContext", ",", "STI", ")", ";", "StringRef", "Err", ";", "if", "(", "!", "STI", ".", "getInstrInfo", "(", ")", "->", "verifyInstruction", "(", "MI", ",", "Err", ")", ")", "{", "LLVMContext", "&", "C", "=", "MI", "->", "getParent", "(", ")", "->", "getParent", "(", ")", "->", "getFunction", "(", ")", "->", "getContext", "(", ")", ";", "C", ".", "emitError", "(", "\"Illegal instruction detected: \"", "+", "Err", ")", ";", "MI", "->", "dump", "(", ")", ";", "}", "if", "(", "MI", "->", "isBundle", "(", ")", ")", "{", "const", "MachineBasicBlock", "*", "MBB", "=", "MI", "->", "getParent", "(", ")", ";", "MachineBasicBlock", "::", "const_instr_iterator", "I", "=", "++", "MI", "->", "getIterator", "(", ")", ";", "while", "(", "I", "!=", "MBB", "->", "instr_end", "(", ")", "&&", "I", "->", "isInsideBundle", "(", ")", ")", "{", "EmitInstruction", "(", "&", "*", "I", ")", ";", "++", "I", ";", "}", "}", "else", "{", "MCInst", "TmpInst", ";", "MCInstLowering", ".", "lower", "(", "MI", ",", "TmpInst", ")", ";", "EmitToStreamer", "(", "*", "OutStreamer", ",", "TmpInst", ")", ";", "if", "(", "STI", ".", "dumpCode", "(", ")", ")", "{", "DisasmLines", ".", "resize", "(", "DisasmLines", ".", "size", "(", ")", "+", "1", ")", ";", "std", "::", "string", "&", "DisasmLine", "=", "DisasmLines", ".", "back", "(", ")", ";", "raw_string_ostream", "DisasmStream", "(", "DisasmLine", ")", ";", "AMDGPUInstPrinter", "InstPrinter", "(", "*", "TM", ".", "getMCAsmInfo", "(", ")", ",", "*", "MF", "->", "getSubtarget", "(", ")", ".", "getInstrInfo", "(", ")", ",", "*", "MF", "->", "getSubtarget", "(", ")", ".", "getRegisterInfo", "(", ")", ")", ";", "InstPrinter", ".", "printInst", "(", "&", "TmpInst", ",", "DisasmStream", ",", "StringRef", "(", ")", ",", "MF", "->", "getSubtarget", "(", ")", ")", ";", "SmallVector", "<", "MCFixup", ",", "4", ">", "Fixups", ";", "SmallVector", "<", "char", ",", "16", ">", "CodeBytes", ";", "raw_svector_ostream", "CodeStream", "(", "CodeBytes", ")", ";", "auto", "&", "ObjStreamer", "=", "static_cast", "<", "MCObjectStreamer", "&", ">", "(", "*", "OutStreamer", ")", ";", "MCCodeEmitter", "&", "InstEmitter", "=", "ObjStreamer", ".", "getAssembler", "(", ")", ".", "getEmitter", "(", ")", ";", "InstEmitter", ".", "encodeInstruction", "(", "TmpInst", ",", "CodeStream", ",", "Fixups", ",", "MF", "->", "getSubtarget", "<", "MCSubtargetInfo", ">", "(", ")", ")", ";", "HexLines", ".", "resize", "(", "HexLines", ".", "size", "(", ")", "+", "1", ")", ";", "std", "::", "string", "&", "HexLine", "=", "HexLines", ".", "back", "(", ")", ";", "raw_string_ostream", "HexStream", "(", "HexLine", ")", ";", "for", "(", "size_t", "i", "=", "0", ";", "i", "<", "CodeBytes", ".", "size", "(", ")", ";", "i", "+=", "4", ")", "{", "unsigned", "int", "CodeDWord", "=", "*", "(", "unsigned", "int", "*", ")", "&", "CodeBytes", "[", "i", "]", ";", "HexStream", "<<", "format", "(", "\"%s%08X\"", ",", "(", "i", ">", "0", "?", "\" \"", ":", "\"\"", ")", ",", "CodeDWord", ")", ";", "}", "DisasmStream", ".", "flush", "(", ")", ";", "DisasmLineMaxLen", "=", "std", "::", "max", "(", "DisasmLineMaxLen", ",", "DisasmLine", ".", "size", "(", ")", ")", ";", "}", "}", "}", ""], "natrual_language": ["EmitInstruction", "-", "This", "callback", "is", "invoked", "when", "an", "instruction", "is", "emitted", ",", "to", "advance", "the", "hazard", "state", "."], "TS_V_token": ["AMDGPU", "AMDGPU", "AMDGPU", "AMDGPU", "AMDGPU", "\"Illegal instruction detected: \"", "1", "AMDGPU", "4", "16", "1", "0", "4", "\"%s%08X\"", "0", "\" \"", "\"\""], "File": "AMDGPUMCInstLower1", "Func": "EmitInstruction", "Target": "AMDGPU", "Target_Clf": "GPU", "Compiler_Type": "LLVM", "Idx": 3466, "Length": 448, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "static", "void", "rl78_propogate_register_origins", "(", "void", ")", "{", "int", "origins", "[", "FIRST_PSEUDO_REGISTER", "]", ";", "int", "age", "[", "FIRST_PSEUDO_REGISTER", "]", ";", "int", "i", ";", "rtx_insn", "*", "insn", ",", "*", "ninsn", "=", "NULL", ";", "rtx", "pat", ";", "reset_origins", "(", "origins", ",", "age", ")", ";", "for", "(", "insn", "=", "get_insns", "(", ")", ";", "insn", ";", "insn", "=", "ninsn", ")", "{", "ninsn", "=", "next_nonnote_nondebug_insn", "(", "insn", ")", ";", "if", "(", "dump_file", ")", "{", "fprintf", "(", "dump_file", ",", "\"\\n\"", ")", ";", "fprintf", "(", "dump_file", ",", "\"Origins:\"", ")", ";", "for", "(", "i", "=", "0", ";", "i", "<", "FIRST_PSEUDO_REGISTER", ";", "i", "++", ")", "if", "(", "origins", "[", "i", "]", "!=", "i", ")", "fprintf", "(", "dump_file", ",", "\" r%d=r%d\"", ",", "i", ",", "origins", "[", "i", "]", ")", ";", "fprintf", "(", "dump_file", ",", "\"\\n\"", ")", ";", "print_rtl_single", "(", "dump_file", ",", "insn", ")", ";", "}", "switch", "(", "GET_CODE", "(", "insn", ")", ")", "{", "case", "CODE_LABEL", ":", "case", "BARRIER", ":", "case", "CALL_INSN", ":", "case", "JUMP_INSN", ":", "reset_origins", "(", "origins", ",", "age", ")", ";", "break", ";", "default", ":", "break", ";", "case", "INSN", ":", "pat", "=", "PATTERN", "(", "insn", ")", ";", "if", "(", "GET_CODE", "(", "pat", ")", "==", "PARALLEL", ")", "{", "rtx", "clobber", "=", "XVECEXP", "(", "pat", ",", "0", ",", "1", ")", ";", "pat", "=", "XVECEXP", "(", "pat", ",", "0", ",", "0", ")", ";", "if", "(", "GET_CODE", "(", "clobber", ")", "==", "CLOBBER", "&&", "GET_CODE", "(", "XEXP", "(", "clobber", ",", "0", ")", ")", "==", "REG", ")", "{", "int", "cr", "=", "REGNO", "(", "XEXP", "(", "clobber", ",", "0", ")", ")", ";", "int", "mb", "=", "GET_MODE_SIZE", "(", "GET_MODE", "(", "XEXP", "(", "clobber", ",", "0", ")", ")", ")", ";", "if", "(", "dump_file", ")", "fprintf", "(", "dump_file", ",", "\"reset origins of %d regs at %d\\n\"", ",", "mb", ",", "cr", ")", ";", "for", "(", "i", "=", "0", ";", "i", "<", "mb", ";", "i", "++", ")", "{", "origins", "[", "cr", "+", "i", "]", "=", "cr", "+", "i", ";", "age", "[", "cr", "+", "i", "]", "=", "0", ";", "}", "}", "else", "if", "(", "GET_CODE", "(", "clobber", ")", "==", "SET", ")", "{", "set_origin", "(", "clobber", ",", "insn", ",", "origins", ",", "age", ")", ";", "}", "else", "break", ";", "}", "if", "(", "GET_CODE", "(", "pat", ")", "==", "SET", ")", "{", "set_origin", "(", "pat", ",", "insn", ",", "origins", ",", "age", ")", ";", "}", "else", "if", "(", "GET_CODE", "(", "pat", ")", "==", "CLOBBER", "&&", "GET_CODE", "(", "XEXP", "(", "pat", ",", "0", ")", ")", "==", "REG", ")", "{", "if", "(", "REG_P", "(", "XEXP", "(", "pat", ",", "0", ")", ")", ")", "{", "unsigned", "int", "reg", "=", "REGNO", "(", "XEXP", "(", "pat", ",", "0", ")", ")", ";", "origins", "[", "reg", "]", "=", "reg", ";", "age", "[", "reg", "]", "=", "0", ";", "}", "}", "}", "}", "}", ""], "natrual_language": ["The", "idea", "behind", "this", "optimization", "is", "to", "look", "for", "cases", "where", "we", "move", "data", "from", "A", "to", "B", "to", "C", ",", "and", "instead", "move", "from", "A", "to", "B", ",", "and", "A", "to", "C.", "If", "B", "is", "a", "virtual", "register", "or", "memory", ",", "this", "is", "a", "big", "win", "on", "its", "own", ".", "If", "B", "turns", "out", "to", "be", "unneeded", "after", "this", ",", "it", "'s", "a", "bigger", "win", ".", "For", "each", "register", ",", "we", "try", "to", "determine", "where", "it", "'s", "value", "originally", "came", "from", ",", "if", "it", "'s", "propogated", "purely", "through", "moves", "(", "and", "not", "computes", ")", ".", "The", "ORIGINS", "[", "]", "array", "has", "the", "regno", "for", "the", "``", "origin", "''", "of", "the", "value", "in", "the", "[", "regno", "]", "it", "'s", "indexed", "by", "."], "TS_V_token": ["rl78", "\"\\n\"", "\"Origins:\"", "0", "\" r%d=r%d\"", "\"\\n\"", "0", "1", "0", "0", "0", "0", "0", "\"reset origins of %d regs at %d\\n\"", "0", "0", "0", "0", "0", "0"], "File": "rl78", "Func": "rl78_propogate_register_origins", "Target": "rl78", "Target_Clf": "MPU", "Compiler_Type": "GCC", "Idx": 3467, "Length": 429, "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": 3468, "Length": 64, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "PatmosTargetMachine", "&", "getTargetMachine", "(", ")", "const", "{", "return", "TM", ";", "}", ""], "natrual_language": ["Return", "the", "target", "machine", "(", "if", "available", ")", "."], "TS_V_token": ["Patmos", "Patmos"], "File": "PatmosRegisterInfo", "Func": "getTargetMachine", "Target": "Patmos", "Target_Clf": "VLIW", "Compiler_Type": "LLVM", "Idx": 3469, "Length": 11, "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": 3470, "Length": 127, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "const", "uint32_t", "*", "PPCRegisterInfo", "::", "getCallPreservedMask", "(", "CallingConv", "::", "ID", "CC", ")", "const", "{", "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", "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": "PPCRegisterInfo22", "Func": "getCallPreservedMask", "Target": "PowerPC", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 3471, "Length": 120, "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": 3472, "Length": 23, "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": 3473, "Length": 309, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "MCSection", "*", "getSectionForConstant", "(", "SectionKind", "Kind", ",", "const", "Constant", "*", "C", ")", "const", "override", "{", "return", "ReadOnlySection", ";", "}", ""], "natrual_language": ["Given", "a", "constant", "with", "the", "SectionKind", ",", "return", "a", "section", "that", "it", "should", "be", "placed", "in", "."], "TS_V_token": ["NVPTX"], "File": "NVPTXTargetObjectFile1", "Func": "getSectionForConstant", "Target": "NVPTX", "Target_Clf": "GPU", "Compiler_Type": "LLVM", "Idx": 3474, "Length": 19, "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": 3475, "Length": 65, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "bool", "SITargetLowering", "::", "mayBeEmittedAsTailCall", "(", "const", "CallInst", "*", "CI", ")", "const", "{", "if", "(", "!", "CI", "->", "isTailCall", "(", ")", ")", "return", "false", ";", "const", "Function", "*", "ParentFn", "=", "CI", "->", "getParent", "(", ")", "->", "getParent", "(", ")", ";", "if", "(", "AMDGPU", "::", "isEntryFunctionCC", "(", "ParentFn", "->", "getCallingConv", "(", ")", ")", ")", "return", "false", ";", "auto", "Attr", "=", "ParentFn", "->", "getFnAttribute", "(", "\"disable-tail-calls\"", ")", ";", "return", "(", "Attr", ".", "getValueAsString", "(", ")", "!=", "\"true\"", ")", ";", "}", ""], "natrual_language": ["Return", "true", "if", "the", "target", "may", "be", "able", "emit", "the", "call", "instruction", "as", "a", "tail", "call", "."], "TS_V_token": ["AMDGPU", "SI", "AMDGPU::isEntryFunctionCC", "\"disable-tail-calls\"", "\"true\""], "File": "SIISelLowering (2)3", "Func": "mayBeEmittedAsTailCall", "Target": "AMDGPU", "Target_Clf": "GPU", "Compiler_Type": "LLVM", "Idx": 3476, "Length": 77, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "void", "RegisterAggr", "::", "print", "(", "raw_ostream", "&", "OS", ")", "const", "{", "OS", "<<", "'{'", ";", "for", "(", "int", "U", "=", "Units", ".", "find_first", "(", ")", ";", "U", ">=", "0", ";", "U", "=", "Units", ".", "find_next", "(", "U", ")", ")", "OS", "<<", "' '", "<<", "printRegUnit", "(", "U", ",", "&", "PRI", ".", "getTRI", "(", ")", ")", ";", "OS", "<<", "\" }\"", ";", "}", ""], "natrual_language": ["print", "-", "Print", "a", "debug", "representation", "of", "the", "operand", "to", "the", "given", "stream", "."], "TS_V_token": ["Hexagon", "0", "\" }\""], "File": "RDFRegisters", "Func": "print", "Target": "Hexagon", "Target_Clf": "DSP", "Compiler_Type": "LLVM", "Idx": 3477, "Length": 60, "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": 3478, "Length": 61, "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": 3479, "Length": 35, "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": 3480, "Length": 230, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "bool", "runOnMachineFunction", "(", "MachineFunction", "&", "MF", ")", "override", "{", "TII", "=", "MF", ".", "getSubtarget", "<", "J2Subtarget", ">", "(", ")", ".", "getInstrInfo", "(", ")", ";", "bool", "Changed", "=", "false", ";", "for", "(", "auto", "FI", "=", "MF", ".", "begin", "(", ")", ",", "FE", "=", "MF", ".", "end", "(", ")", ";", "FI", "!=", "FE", ";", "++", "FI", ")", "Changed", "|=", "runOnMachineBasicBlock", "(", "*", "FI", ")", ";", "return", "Changed", ";", "}", ""], "natrual_language": ["runOnMachineFunction", "-", "Emit", "the", "function", "body", "."], "TS_V_token": ["J2", "J2"], "File": "J2DelaySlotFiller", "Func": "runOnMachineFunction", "Target": "J2", "Target_Clf": "MPU", "Compiler_Type": "LLVM", "Idx": 3481, "Length": 67, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "void", "AVRFrameLowering", "::", "emitEpilogue", "(", "MachineFunction", "&", "MF", ",", "MachineBasicBlock", "&", "MBB", ")", "const", "{", "CallingConv", "::", "ID", "CallConv", "=", "MF", ".", "getFunction", "(", ")", "->", "getCallingConv", "(", ")", ";", "bool", "isHandler", "=", "(", "CallConv", "==", "CallingConv", "::", "AVR_INTR", "||", "CallConv", "==", "CallingConv", "::", "AVR_SIGNAL", ")", ";", "if", "(", "!", "hasFP", "(", "MF", ")", "&&", "!", "isHandler", ")", "{", "return", ";", "}", "MachineBasicBlock", "::", "iterator", "MBBI", "=", "MBB", ".", "getLastNonDebugInstr", "(", ")", ";", "assert", "(", "MBBI", "->", "getDesc", "(", ")", ".", "isReturn", "(", ")", "&&", "\"Can only insert epilog into returning blocks\"", ")", ";", "DebugLoc", "DL", "=", "MBBI", "->", "getDebugLoc", "(", ")", ";", "const", "MachineFrameInfo", "&", "MFI", "=", "MF", ".", "getFrameInfo", "(", ")", ";", "const", "AVRMachineFunctionInfo", "*", "AFI", "=", "MF", ".", "getInfo", "<", "AVRMachineFunctionInfo", ">", "(", ")", ";", "unsigned", "FrameSize", "=", "MFI", ".", "getStackSize", "(", ")", "-", "AFI", "->", "getCalleeSavedFrameSize", "(", ")", ";", "const", "AVRSubtarget", "&", "STI", "=", "MF", ".", "getSubtarget", "<", "AVRSubtarget", ">", "(", ")", ";", "const", "AVRInstrInfo", "&", "TII", "=", "*", "STI", ".", "getInstrInfo", "(", ")", ";", "if", "(", "isHandler", ")", "{", "BuildMI", "(", "MBB", ",", "MBBI", ",", "DL", ",", "TII", ".", "get", "(", "AVR", "::", "POPRd", ")", ",", "AVR", "::", "R0", ")", ";", "BuildMI", "(", "MBB", ",", "MBBI", ",", "DL", ",", "TII", ".", "get", "(", "AVR", "::", "OUTARr", ")", ")", ".", "addImm", "(", "0x3f", ")", ".", "addReg", "(", "AVR", "::", "R0", ",", "RegState", "::", "Kill", ")", ";", "BuildMI", "(", "MBB", ",", "MBBI", ",", "DL", ",", "TII", ".", "get", "(", "AVR", "::", "POPWRd", ")", ",", "AVR", "::", "R1R0", ")", ";", "}", "if", "(", "hasFP", "(", "MF", ")", ")", "BuildMI", "(", "MBB", ",", "MBBI", ",", "DL", ",", "TII", ".", "get", "(", "AVR", "::", "POPWRd", ")", ",", "AVR", "::", "R29R28", ")", ";", "if", "(", "!", "FrameSize", ")", "{", "return", ";", "}", "while", "(", "MBBI", "!=", "MBB", ".", "begin", "(", ")", ")", "{", "MachineBasicBlock", "::", "iterator", "PI", "=", "std", "::", "prev", "(", "MBBI", ")", ";", "int", "Opc", "=", "PI", "->", "getOpcode", "(", ")", ";", "if", "(", "Opc", "!=", "AVR", "::", "POPRd", "&&", "Opc", "!=", "AVR", "::", "POPWRd", "&&", "!", "PI", "->", "isTerminator", "(", ")", ")", "{", "break", ";", "}", "--", "MBBI", ";", "}", "unsigned", "Opcode", ";", "if", "(", "isUInt", "<", "6", ">", "(", "FrameSize", ")", ")", "{", "Opcode", "=", "AVR", "::", "ADIWRdK", ";", "}", "else", "{", "Opcode", "=", "AVR", "::", "SUBIWRdK", ";", "FrameSize", "=", "-", "FrameSize", ";", "}", "MachineInstr", "*", "MI", "=", "BuildMI", "(", "MBB", ",", "MBBI", ",", "DL", ",", "TII", ".", "get", "(", "Opcode", ")", ",", "AVR", "::", "R29R28", ")", ".", "addReg", "(", "AVR", "::", "R29R28", ",", "RegState", "::", "Kill", ")", ".", "addImm", "(", "FrameSize", ")", ";", "MI", "->", "getOperand", "(", "3", ")", ".", "setIsDead", "(", ")", ";", "BuildMI", "(", "MBB", ",", "MBBI", ",", "DL", ",", "TII", ".", "get", "(", "AVR", "::", "SPWRITE", ")", ",", "AVR", "::", "SP", ")", ".", "addReg", "(", "AVR", "::", "R29R28", ",", "RegState", "::", "Kill", ")", ";", "}", ""], "natrual_language": ["Insert", "epilog", "code", "into", "the", "function", "."], "TS_V_token": ["AVR", "AVR", "AVR", "AVR", "\"Can only insert epilog into returning blocks\"", "AVR", "AVR", "AVR", "AVR", "AVR", "AVR::POPRd", "AVR::R0", "AVR::OUTARr", "0x3f", "AVR::R0", "AVR::POPWRd", "AVR::R1R0", "AVR::POPWRd", "AVR::R29R28", "AVR::POPRd", "AVR::POPWRd", "6", "AVR::ADIWRdK", "AVR::SUBIWRdK", "AVR::R29R28", "AVR::R29R28", "3", "AVR::SPWRITE", "AVR::SP", "AVR::R29R28"], "File": "AVRFrameLowering17", "Func": "emitEpilogue", "Target": "AVR", "Target_Clf": "MPU", "Compiler_Type": "LLVM", "Idx": 3482, "Length": 466, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "bool", "BPFInstrInfo", "::", "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", "(", ")", "==", "BPF", "::", "JMP", ")", "{", "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": ["BPF", "BPF", "BPF::JMP", "0", "0", "0", "0", "0"], "File": "BPFInstrInfo", "Func": "analyzeBranch", "Target": "BPF", "Target_Clf": "Virtual ISA", "Compiler_Type": "LLVM", "Idx": 3483, "Length": 224, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "void", "HexagonFrameLowering", "::", "processFunctionBeforeFrameFinalized", "(", "MachineFunction", "&", "MF", ",", "RegScavenger", "*", "RS", ")", "const", "{", "MachineFrameInfo", "&", "MFI", "=", "MF", ".", "getFrameInfo", "(", ")", ";", "bool", "HasAlloca", "=", "MFI", ".", "hasVarSizedObjects", "(", ")", ";", "bool", "NeedsAlign", "=", "(", "MFI", ".", "getMaxAlignment", "(", ")", ">", "getStackAlignment", "(", ")", ")", ";", "if", "(", "!", "HasAlloca", "||", "!", "NeedsAlign", ")", "return", ";", "SmallSet", "<", "int", ",", "4", ">", "DealignSlots", ";", "unsigned", "LFS", "=", "MFI", ".", "getLocalFrameSize", "(", ")", ";", "for", "(", "int", "i", "=", "0", ",", "e", "=", "MFI", ".", "getObjectIndexEnd", "(", ")", ";", "i", "!=", "e", ";", "++", "i", ")", "{", "if", "(", "!", "MFI", ".", "isSpillSlotObjectIndex", "(", "i", ")", "||", "MFI", ".", "isDeadObjectIndex", "(", "i", ")", ")", "continue", ";", "unsigned", "S", "=", "MFI", ".", "getObjectSize", "(", "i", ")", ";", "unsigned", "A", "=", "std", "::", "max", "(", "MFI", ".", "getObjectAlignment", "(", "i", ")", ",", "8U", ")", ";", "MFI", ".", "setObjectAlignment", "(", "i", ",", "8", ")", ";", "LFS", "=", "alignTo", "(", "LFS", "+", "S", ",", "A", ")", ";", "MFI", ".", "mapLocalFrameObject", "(", "i", ",", "-", "static_cast", "<", "int64_t", ">", "(", "LFS", ")", ")", ";", "DealignSlots", ".", "insert", "(", "i", ")", ";", "}", "MFI", ".", "setLocalFrameSize", "(", "LFS", ")", ";", "Align", "A", "=", "MFI", ".", "getLocalFrameMaxAlign", "(", ")", ";", "assert", "(", "A", "<=", "8", "&&", "\"Unexpected local frame alignment\"", ")", ";", "if", "(", "A", "==", "1", ")", "MFI", ".", "setLocalFrameMaxAlign", "(", "Align", "(", "8", ")", ")", ";", "MFI", ".", "setUseLocalStackAllocationBlock", "(", "true", ")", ";", "if", "(", "!", "DealignSlots", ".", "empty", "(", ")", ")", "{", "for", "(", "MachineBasicBlock", "&", "BB", ":", "MF", ")", "{", "for", "(", "MachineInstr", "&", "MI", ":", "BB", ")", "{", "bool", "KeepOld", "=", "true", ";", "ArrayRef", "<", "MachineMemOperand", "*", ">", "memops", "=", "MI", ".", "memoperands", "(", ")", ";", "SmallVector", "<", "MachineMemOperand", "*", ",", "1", ">", "new_memops", ";", "for", "(", "MachineMemOperand", "*", "MMO", ":", "memops", ")", "{", "auto", "*", "PV", "=", "MMO", "->", "getPseudoValue", "(", ")", ";", "if", "(", "auto", "*", "FS", "=", "dyn_cast_or_null", "<", "FixedStackPseudoSourceValue", ">", "(", "PV", ")", ")", "{", "int", "FI", "=", "FS", "->", "getFrameIndex", "(", ")", ";", "if", "(", "DealignSlots", ".", "count", "(", "FI", ")", ")", "{", "unsigned", "A", "=", "MFI", ".", "getObjectAlignment", "(", "FI", ")", ";", "auto", "*", "NewMMO", "=", "MF", ".", "getMachineMemOperand", "(", "MMO", "->", "getPointerInfo", "(", ")", ",", "MMO", "->", "getFlags", "(", ")", ",", "MMO", "->", "getSize", "(", ")", ",", "A", ",", "MMO", "->", "getAAInfo", "(", ")", ",", "MMO", "->", "getRanges", "(", ")", ",", "MMO", "->", "getSyncScopeID", "(", ")", ",", "MMO", "->", "getOrdering", "(", ")", ",", "MMO", "->", "getFailureOrdering", "(", ")", ")", ";", "new_memops", ".", "push_back", "(", "NewMMO", ")", ";", "KeepOld", "=", "false", ";", "continue", ";", "}", "}", "new_memops", ".", "push_back", "(", "MMO", ")", ";", "}", "if", "(", "!", "KeepOld", ")", "MI", ".", "setMemRefs", "(", "MF", ",", "new_memops", ")", ";", "}", "}", "}", "unsigned", "AP", "=", "0", ";", "if", "(", "const", "MachineInstr", "*", "AI", "=", "getAlignaInstr", "(", "MF", ")", ")", "AP", "=", "AI", "->", "getOperand", "(", "0", ")", ".", "getReg", "(", ")", ";", "auto", "&", "HMFI", "=", "*", "MF", ".", "getInfo", "<", "HexagonMachineFunctionInfo", ">", "(", ")", ";", "HMFI", ".", "setStackAlignBasePhysReg", "(", "AP", ")", ";", "}", ""], "natrual_language": ["processFunctionBeforeFrameFinalized", "-", "This", "method", "is", "called", "immediately", "before", "the", "specified", "function", "'s", "frame", "layout", "(", "MF.getFrameInfo", "(", ")", ")", "is", "finalized", "."], "TS_V_token": ["Hexagon", "Hexagon", "4", "0", "8U", "8", "8", "\"Unexpected local frame alignment\"", "1", "8", "1", "0", "0", "Hexagon"], "File": "HexagonFrameLowering10", "Func": "processFunctionBeforeFrameFinalized", "Target": "Hexagon", "Target_Clf": "DSP", "Compiler_Type": "LLVM", "Idx": 3484, "Length": 506, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "BitVector", "Comet2RegisterInfo", "::", "getReservedRegs", "(", "const", "MachineFunction", "&", "MF", ")", "const", "{", "BitVector", "Reserved", "(", "getNumRegs", "(", ")", ")", ";", "markSuperRegs", "(", "Reserved", ",", "Comet2", "::", "FR", ")", ";", "markSuperRegs", "(", "Reserved", ",", "Comet2", "::", "SP", ")", ";", "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": ["Comet2", "Comet2", "Comet2::FR", "Comet2::SP"], "File": "Comet2RegisterInfo", "Func": "getReservedRegs", "Target": "Comet2", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 3485, "Length": 50, "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": 3486, "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": "AArch64TargetObjectFile10", "Func": "getIndirectSymViaGOTPCRel", "Target": "AArch64", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 3487, "Length": 122, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "const", "SIRegisterInfo", "&", "getRegisterInfo", "(", ")", "const", "{", "return", "RI", ";", "}", ""], "natrual_language": ["getRegisterInfo", "-", "TargetInstrInfo", "is", "a", "superset", "of", "MRegister", "info", "."], "TS_V_token": ["AMDGPU", "SI"], "File": "SIInstrInfo", "Func": "getRegisterInfo", "Target": "AMDGPU", "Target_Clf": "GPU", "Compiler_Type": "LLVM", "Idx": 3488, "Length": 12, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "const", "char", "*", "HexagonTargetLowering", "::", "getTargetNodeName", "(", "unsigned", "Opcode", ")", "const", "{", "switch", "(", "Opcode", ")", "{", "default", ":", "return", "0", ";", "case", "HexagonISD", "::", "CONST32", ":", "return", "\"HexagonISD::CONST32\"", ";", "case", "HexagonISD", "::", "ADJDYNALLOC", ":", "return", "\"HexagonISD::ADJDYNALLOC\"", ";", "case", "HexagonISD", "::", "CMPICC", ":", "return", "\"HexagonISD::CMPICC\"", ";", "case", "HexagonISD", "::", "CMPFCC", ":", "return", "\"HexagonISD::CMPFCC\"", ";", "case", "HexagonISD", "::", "BRICC", ":", "return", "\"HexagonISD::BRICC\"", ";", "case", "HexagonISD", "::", "BRFCC", ":", "return", "\"HexagonISD::BRFCC\"", ";", "case", "HexagonISD", "::", "SELECT_ICC", ":", "return", "\"HexagonISD::SELECT_ICC\"", ";", "case", "HexagonISD", "::", "SELECT_FCC", ":", "return", "\"HexagonISD::SELECT_FCC\"", ";", "case", "HexagonISD", "::", "Hi", ":", "return", "\"HexagonISD::Hi\"", ";", "case", "HexagonISD", "::", "Lo", ":", "return", "\"HexagonISD::Lo\"", ";", "case", "HexagonISD", "::", "FTOI", ":", "return", "\"HexagonISD::FTOI\"", ";", "case", "HexagonISD", "::", "ITOF", ":", "return", "\"HexagonISD::ITOF\"", ";", "case", "HexagonISD", "::", "CALL", ":", "return", "\"HexagonISD::CALL\"", ";", "case", "HexagonISD", "::", "RET_FLAG", ":", "return", "\"HexagonISD::RET_FLAG\"", ";", "case", "HexagonISD", "::", "BR_JT", ":", "return", "\"HexagonISD::BR_JT\"", ";", "case", "HexagonISD", "::", "TC_RETURN", ":", "return", "\"HexagonISD::TC_RETURN\"", ";", "}", "}", ""], "natrual_language": ["getTargetNodeName", "-", "This", "method", "returns", "the", "name", "of", "a", "target", "specific"], "TS_V_token": ["Hexagon", "Hexagon", "0", "HexagonISD::CONST32", "\"HexagonISD::CONST32\"", "HexagonISD::ADJDYNALLOC", "\"HexagonISD::ADJDYNALLOC\"", "HexagonISD::CMPICC", "\"HexagonISD::CMPICC\"", "HexagonISD::CMPFCC", "\"HexagonISD::CMPFCC\"", "HexagonISD::BRICC", "\"HexagonISD::BRICC\"", "HexagonISD::BRFCC", "\"HexagonISD::BRFCC\"", "HexagonISD::SELECT_ICC", "\"HexagonISD::SELECT_ICC\"", "HexagonISD::SELECT_FCC", "\"HexagonISD::SELECT_FCC\"", "HexagonISD::Hi", "\"HexagonISD::Hi\"", "HexagonISD::Lo", "\"HexagonISD::Lo\"", "HexagonISD::FTOI", "\"HexagonISD::FTOI\"", "HexagonISD::ITOF", "\"HexagonISD::ITOF\"", "HexagonISD::CALL", "\"HexagonISD::CALL\"", "HexagonISD::RET_FLAG", "\"HexagonISD::RET_FLAG\"", "HexagonISD::BR_JT", "\"HexagonISD::BR_JT\"", "HexagonISD::TC_RETURN", "\"HexagonISD::TC_RETURN\""], "File": "HexagonISelLowering33", "Func": "getTargetNodeName", "Target": "Hexagon", "Target_Clf": "DSP", "Compiler_Type": "LLVM", "Idx": 3489, "Length": 152, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "bool", "MSP430InstrInfo", "::", "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": ["MSP430", "MSP430"], "File": "MSP430InstrInfo39", "Func": "isUnpredicatedTerminator", "Target": "MSP430", "Target_Clf": "MPU", "Compiler_Type": "LLVM", "Idx": 3490, "Length": 73, "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": 3491, "Length": 258, "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", "(", "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", "1", "0", "1", "1", "0", "1"], "File": "riscv2", "Func": "riscv_expand_prologue", "Target": "riscv", "Target_Clf": "CPU", "Compiler_Type": "GCC", "Idx": 3492, "Length": 313, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "static", "void", "nvptx_assemble_decl_end", "(", "void", ")", "{", "if", "(", "decl_offset", "!=", "0", ")", "{", "if", "(", "!", "object_finished", "&&", "decl_offset", "%", "decl_chunk_size", "!=", "0", ")", "nvptx_assemble_value", "(", "0", ",", "decl_chunk_size", ")", ";", "fprintf", "(", "asm_out_file", ",", "\" }\"", ")", ";", "}", "fprintf", "(", "asm_out_file", ",", "\";\\n\"", ")", ";", "}", ""], "natrual_language": ["Called", "when", "the", "initializer", "for", "a", "decl", "has", "been", "completely", "output", "through", "combinations", "of", "the", "three", "functions", "above", "."], "TS_V_token": ["nvptx", "0", "0", "0", "\" }\"", "\";\\n\""], "File": "nvptx2", "Func": "nvptx_assemble_decl_end", "Target": "nvptx", "Target_Clf": "GPU", "Compiler_Type": "GCC", "Idx": 3493, "Length": 48, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "unsigned", "int", "arc_compute_frame_size", "(", "int", "size", ")", "{", "int", "regno", ";", "unsigned", "int", "total_size", ",", "var_size", ",", "args_size", ",", "pretend_size", ",", "extra_size", ";", "unsigned", "int", "reg_size", ",", "reg_offset", ";", "unsigned", "int", "gmask", ";", "enum", "arc_function_type", "fn_type", ";", "int", "interrupt_p", ";", "var_size", "=", "size", ";", "args_size", "=", "current_function_outgoing_args_size", ";", "pretend_size", "=", "current_function_pretend_args_size", ";", "extra_size", "=", "FIRST_PARM_OFFSET", "(", "0", ")", ";", "total_size", "=", "extra_size", "+", "pretend_size", "+", "args_size", "+", "var_size", ";", "reg_offset", "=", "FIRST_PARM_OFFSET", "(", "0", ")", "+", "current_function_outgoing_args_size", ";", "reg_size", "=", "0", ";", "gmask", "=", "0", ";", "fn_type", "=", "arc_compute_function_type", "(", "current_function_decl", ")", ";", "interrupt_p", "=", "ARC_INTERRUPT_P", "(", "fn_type", ")", ";", "for", "(", "regno", "=", "0", ";", "regno", "<=", "31", ";", "regno", "++", ")", "{", "if", "(", "MUST_SAVE_REGISTER", "(", "regno", ",", "interrupt_p", ")", ")", "{", "reg_size", "+=", "UNITS_PER_WORD", ";", "gmask", "|=", "1", "<<", "regno", ";", "}", "}", "total_size", "+=", "reg_size", ";", "if", "(", "total_size", "==", "extra_size", "&&", "!", "MUST_SAVE_RETURN_ADDR", ")", "total_size", "=", "extra_size", "=", "0", ";", "total_size", "=", "ARC_STACK_ALIGN", "(", "total_size", ")", ";", "current_frame_info", ".", "total_size", "=", "total_size", ";", "current_frame_info", ".", "extra_size", "=", "extra_size", ";", "current_frame_info", ".", "pretend_size", "=", "pretend_size", ";", "current_frame_info", ".", "var_size", "=", "var_size", ";", "current_frame_info", ".", "args_size", "=", "args_size", ";", "current_frame_info", ".", "reg_size", "=", "reg_size", ";", "current_frame_info", ".", "reg_offset", "=", "reg_offset", ";", "current_frame_info", ".", "gmask", "=", "gmask", ";", "current_frame_info", ".", "initialized", "=", "reload_completed", ";", "return", "total_size", ";", "}", ""], "natrual_language": ["Return", "the", "bytes", "needed", "to", "compute", "the", "frame", "pointer", "from", "the", "current", "stack", "pointer", ".", "SIZE", "is", "the", "size", "needed", "for", "local", "variables", "."], "TS_V_token": ["arc", "0", "0", "0", "0", "0", "31", "1", "0"], "File": "arc3", "Func": "arc_compute_frame_size", "Target": "arc", "Target_Clf": "MPU", "Compiler_Type": "GCC", "Idx": 3494, "Length": 220, "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": 3495, "Length": 16, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "static", "int", "m32r_issue_rate", "(", ")", "{", "return", "(", "(", "TARGET_LOW_ISSUE_RATE", ")", "?", "1", ":", "2", ")", ";", "}", ""], "natrual_language": ["Indicate", "how", "many", "instructions", "can", "be", "issued", "at", "the", "same", "time", ".", "This", "is", "sort", "of", "a", "lie", ".", "The", "m32r", "can", "issue", "only", "1", "long", "insn", "at", "once", ",", "but", "it", "can", "issue", "2", "short", "insns", ".", "The", "default", "therefore", "is", "set", "at", "2", ",", "but", "this", "can", "be", "overridden", "by", "the", "command", "line", "option", "-missue-rate=1"], "TS_V_token": ["m32r", "1", "2"], "File": "m32r2", "Func": "m32r_issue_rate", "Target": "m32r", "Target_Clf": "MPU", "Compiler_Type": "GCC", "Idx": 3496, "Length": 18, "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": 3497, "Length": 41, "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": 3498, "Length": 51, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "virtual", "const", "char", "*", "getPassName", "(", ")", "const", "override", "{", "return", "\"FISC DAG->DAG Pattern Instruction Selection\"", ";", "}", ""], "natrual_language": ["getPassName", "-", "Return", "a", "nice", "clean", "name", "for", "a", "pass", "."], "TS_V_token": ["FISC", "\"FISC DAG->DAG Pattern Instruction Selection\""], "File": "FISCISelDAGToDAG", "Func": "getPassName", "Target": "FISC", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 3499, "Length": 14, "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": 3500, "Length": 164, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "StringRef", "getPassName", "(", ")", "const", "override", "{", "return", "\"JVM Instruction Selection\"", ";", "}", ""], "natrual_language": ["getPassName", "-", "Return", "a", "nice", "clean", "name", "for", "a", "pass", "."], "TS_V_token": ["JVM", "\"JVM Instruction Selection\""], "File": "JVMISelDAGToDAG", "Func": "getPassName", "Target": "JVM", "Target_Clf": "Virtual ISA", "Compiler_Type": "LLVM", "Idx": 3501, "Length": 11, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "void", "get_aligned_mem", "(", "rtx", "ref", ",", "rtx", "*", "paligned_mem", ",", "rtx", "*", "pbitnum", ")", "{", "rtx", "base", ";", "HOST_WIDE_INT", "disp", ",", "offset", ";", "gcc_assert", "(", "MEM_P", "(", "ref", ")", ")", ";", "if", "(", "reload_in_progress", ")", "{", "base", "=", "find_replacement", "(", "&", "XEXP", "(", "ref", ",", "0", ")", ")", ";", "gcc_assert", "(", "memory_address_p", "(", "GET_MODE", "(", "ref", ")", ",", "base", ")", ")", ";", "}", "else", "base", "=", "XEXP", "(", "ref", ",", "0", ")", ";", "if", "(", "GET_CODE", "(", "base", ")", "==", "PLUS", ")", "disp", "=", "INTVAL", "(", "XEXP", "(", "base", ",", "1", ")", ")", ",", "base", "=", "XEXP", "(", "base", ",", "0", ")", ";", "else", "disp", "=", "0", ";", "if", "(", "MEM_ALIGN", "(", "ref", ")", ">=", "32", ")", "offset", "=", "0", ";", "else", "offset", "=", "disp", "&", "3", ";", "gcc_assert", "(", "offset", "+", "GET_MODE_SIZE", "(", "GET_MODE", "(", "ref", ")", ")", "<=", "GET_MODE_SIZE", "(", "SImode", ")", ")", ";", "*", "paligned_mem", "=", "widen_memory_access", "(", "ref", ",", "SImode", ",", "-", "offset", ")", ";", "offset", "*=", "BITS_PER_UNIT", ";", "*", "pbitnum", "=", "GEN_INT", "(", "offset", ")", ";", "}", ""], "natrual_language": ["REF", "is", "an", "alignable", "memory", "location", ".", "Place", "an", "aligned", "SImode", "reference", "into", "*", "PALIGNED_MEM", "and", "the", "number", "of", "bits", "to", "shift", "into", "*", "PBITNUM", ".", "SCRATCH", "is", "a", "free", "register", "for", "use", "in", "reloading", "out", "of", "range", "stack", "slots", "."], "TS_V_token": ["alpha", "0", "0", "1", "0", "0", "32", "0", "3"], "File": "alpha", "Func": "get_aligned_mem", "Target": "alpha", "Target_Clf": "MPU", "Compiler_Type": "GCC", "Idx": 3502, "Length": 172, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "unsigned", "AMDGPUSubtarget", "::", "getMaxLocalMemSizeWithWaveCount", "(", "unsigned", "NWaves", ",", "const", "Function", "&", "F", ")", "const", "{", "if", "(", "NWaves", "==", "1", ")", "return", "getLocalMemorySize", "(", ")", ";", "unsigned", "WorkGroupSize", "=", "getFlatWorkGroupSizes", "(", "F", ")", ".", "second", ";", "unsigned", "WorkGroupsPerCu", "=", "getMaxWorkGroupsPerCU", "(", "WorkGroupSize", ")", ";", "if", "(", "!", "WorkGroupsPerCu", ")", "return", "0", ";", "unsigned", "MaxWaves", "=", "getMaxWavesPerEU", "(", ")", ";", "return", "getLocalMemorySize", "(", ")", "*", "MaxWaves", "/", "WorkGroupsPerCu", "/", "NWaves", ";", "}", ""], "natrual_language": ["Return", "the", "amount", "of", "LDS", "that", "can", "be", "used", "that", "will", "not", "restrict", "the", "occupancy", "lower", "than", "WaveCount", "."], "TS_V_token": ["AMDGPU", "AMDGPU", "1", "0"], "File": "AMDGPUSubtarget1", "Func": "getMaxLocalMemSizeWithWaveCount", "Target": "AMDGPU", "Target_Clf": "GPU", "Compiler_Type": "LLVM", "Idx": 3503, "Length": 71, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "const", "MSP430InstrInfo", "*", "getInstrInfo", "(", ")", "const", "override", "{", "return", "&", "InstrInfo", ";", "}", ""], "natrual_language": ["TargetInstrInfo", "getter", "."], "TS_V_token": ["MSP430", "MSP430"], "File": "MSP430TargetMachine19", "Func": "getInstrInfo", "Target": "MSP430", "Target_Clf": "MPU", "Compiler_Type": "LLVM", "Idx": 3504, "Length": 14, "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": 3505, "Length": 99, "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": 3506, "Length": 136, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "static", "inline", "ChildIteratorType", "child_begin", "(", "NodeType", "*", "N", ")", "{", "return", "N", "->", "child_begin", "(", ")", ";", "}", ""], "natrual_language": ["nodes_iterator/begin/end", "-", "Allow", "iteration", "over", "all", "nodes", "in", "the", "graph"], "TS_V_token": ["Patmos"], "File": "PatmosSinglePathInfo", "Func": "child_begin", "Target": "Patmos", "Target_Clf": "VLIW", "Compiler_Type": "LLVM", "Idx": 3507, "Length": 18, "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": ["LEG", "0"], "File": "LEGAsmBackend", "Func": "writeNopData", "Target": "LEG", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 3508, "Length": 28, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "LLVM_DUMP_METHOD", "void", "WebAssemblyException", "::", "dump", "(", ")", "const", "{", "print", "(", "dbgs", "(", ")", ")", ";", "}", ""], "natrual_language": ["Dump", "the", "plan", "to", "stderr", "(", "for", "debugging", ")", "."], "TS_V_token": ["WebAssembly", "WebAssembly"], "File": "WebAssemblyExceptionInfo", "Func": "dump", "Target": "WebAssembly", "Target_Clf": "Virtual ISA", "Compiler_Type": "LLVM", "Idx": 3509, "Length": 17, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "bool", "NVPTXAsmPrinter", "::", "doInitialization", "(", "Module", "&", "M", ")", "{", "if", "(", "M", ".", "alias_size", "(", ")", ")", "{", "report_fatal_error", "(", "\"Module has aliases, which NVPTX does not support.\"", ")", ";", "return", "true", ";", "}", "if", "(", "!", "isEmptyXXStructor", "(", "M", ".", "getNamedGlobal", "(", "\"llvm.global_ctors\"", ")", ")", ")", "{", "report_fatal_error", "(", "\"Module has a nontrivial global ctor, which NVPTX does not support.\"", ")", ";", "return", "true", ";", "}", "if", "(", "!", "isEmptyXXStructor", "(", "M", ".", "getNamedGlobal", "(", "\"llvm.global_dtors\"", ")", ")", ")", "{", "report_fatal_error", "(", "\"Module has a nontrivial global dtor, which NVPTX does not support.\"", ")", ";", "return", "true", ";", "}", "bool", "Result", "=", "AsmPrinter", "::", "doInitialization", "(", "M", ")", ";", "GlobalsEmitted", "=", "false", ";", "return", "Result", ";", "}", ""], "natrual_language": ["Set", "up", "the", "AsmPrinter", "when", "we", "are", "working", "on", "a", "new", "module", "."], "TS_V_token": ["NVPTX", "NVPTX", "\"Module has aliases, which NVPTX does not support.\"", "\"llvm.global_ctors\"", "\"Module has a nontrivial global ctor, which NVPTX does not support.\"", "\"llvm.global_dtors\"", "\"Module has a nontrivial global dtor, which NVPTX does not support.\""], "File": "NVPTXAsmPrinter15", "Func": "doInitialization", "Target": "NVPTX", "Target_Clf": "GPU", "Compiler_Type": "LLVM", "Idx": 3510, "Length": 92, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "void", "MBlazeInstrInfo", "::", "storeRegToStackSlot", "(", "MachineBasicBlock", "&", "MBB", ",", "MachineBasicBlock", "::", "iterator", "I", ",", "unsigned", "SrcReg", ",", "bool", "isKill", ",", "int", "FI", ",", "const", "TargetRegisterClass", "*", "RC", ")", "const", "{", "DebugLoc", "DL", ";", "BuildMI", "(", "MBB", ",", "I", ",", "DL", ",", "get", "(", "MBlaze", "::", "SWI", ")", ")", ".", "addReg", "(", "SrcReg", ",", "getKillRegState", "(", "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": ["MBlaze", "MBlaze", "MBlaze::SWI", "0"], "File": "MBlazeInstrInfo", "Func": "storeRegToStackSlot", "Target": "MBlaze", "Target_Clf": "MPU", "Compiler_Type": "LLVM", "Idx": 3511, "Length": 70, "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": 3512, "Length": 36, "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": 3513, "Length": 33, "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": 3514, "Length": 112, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "AVRSubtarget", "::", "AVRSubtarget", "(", "const", "Triple", "&", "TT", ",", "const", "std", "::", "string", "&", "CPU", ",", "const", "std", "::", "string", "&", "FS", ",", "const", "AVRTargetMachine", "&", "TM", ")", ":", "AVRGenSubtargetInfo", "(", "TT", ",", "CPU", ",", "CPU", ",", "FS", ")", ",", "ELFArch", "(", "0", ")", ",", "m_hasSRAM", "(", "false", ")", ",", "m_hasJMPCALL", "(", "false", ")", ",", "m_hasIJMPCALL", "(", "false", ")", ",", "m_hasEIJMPCALL", "(", "false", ")", ",", "m_hasADDSUBIW", "(", "false", ")", ",", "m_hasSmallStack", "(", "false", ")", ",", "m_hasMOVW", "(", "false", ")", ",", "m_hasLPM", "(", "false", ")", ",", "m_hasLPMX", "(", "false", ")", ",", "m_hasELPM", "(", "false", ")", ",", "m_hasELPMX", "(", "false", ")", ",", "m_hasSPM", "(", "false", ")", ",", "m_hasSPMX", "(", "false", ")", ",", "m_hasDES", "(", "false", ")", ",", "m_supportsRMW", "(", "false", ")", ",", "m_supportsMultiplication", "(", "false", ")", ",", "m_hasBREAK", "(", "false", ")", ",", "m_hasTinyEncoding", "(", "false", ")", ",", "m_hasMemMappedGPR", "(", "false", ")", ",", "m_FeatureSetDummy", "(", "false", ")", ",", "InstrInfo", "(", ")", ",", "FrameLowering", "(", ")", ",", "TLInfo", "(", "TM", ",", "initializeSubtargetDependencies", "(", "CPU", ",", "FS", ",", "TM", ")", ")", ",", "TSInfo", "(", ")", "{", "ParseSubtargetFeatures", "(", "CPU", ",", "CPU", ",", "FS", ")", ";", "}", ""], "natrual_language": ["Creates", "an", "AVR", "subtarget", "."], "TS_V_token": ["AVR", "AVR", "AVR", "AVR", "AVR", "0"], "File": "AVRSubtarget", "Func": "AVRSubtarget", "Target": "AVR", "Target_Clf": "MPU", "Compiler_Type": "LLVM", "Idx": 3515, "Length": 181, "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", "TargetFrameInfo", "*", "TFI", "=", "MF", ".", "getTarget", "(", ")", ".", "getFrameInfo", "(", ")", ";", "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", "=", "MF", ".", "getTarget", "(", ")", ".", "getFrameInfo", "(", ")", "->", "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": "ARMBaseRegisterInfo36", "Func": "needsFrameBaseReg", "Target": "ARM", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 3516, "Length": 338, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "static", "void", "nios2_custom_check_insns", "(", "void", ")", "{", "unsigned", "int", "i", ",", "j", ";", "bool", "errors", "=", "false", ";", "for", "(", "i", "=", "0", ";", "i", "<", "ARRAY_SIZE", "(", "nios2_fpu_insn", ")", ";", "i", "++", ")", "if", "(", "N2FPU_ENABLED_P", "(", "i", ")", "&&", "N2FPU_DOUBLE_P", "(", "i", ")", ")", "{", "for", "(", "j", "=", "0", ";", "j", "<", "ARRAY_SIZE", "(", "nios2_fpu_insn", ")", ";", "j", "++", ")", "if", "(", "N2FPU_DOUBLE_REQUIRED_P", "(", "j", ")", "&&", "!", "N2FPU_ENABLED_P", "(", "j", ")", ")", "{", "error", "(", "\"switch %<-mcustom-%s%> is required for \"", "\"double-precision floating-point\"", ",", "N2FPU_NAME", "(", "j", ")", ")", ";", "errors", "=", "true", ";", "}", "break", ";", "}", "if", "(", "errors", "||", "custom_code_conflict", ")", "fatal_error", "(", "input_location", ",", "\"conflicting use of %<-mcustom%> switches, \"", "\"target attributes, \"", "\"and/or %<__builtin_custom_%> functions\"", ")", ";", "}", ""], "natrual_language": ["Check", "and", "signal", "some", "warnings/errors", "on", "FPU", "insn", "options", "."], "TS_V_token": ["nios2", "0", "0", "\"switch %<-mcustom-%s%> is required for \"", "\"double-precision floating-point\"", "\"conflicting use of %<-mcustom%> switches, \"", "\"target attributes, \"", "\"and/or %<__builtin_custom_%> functions\""], "File": "nios2", "Func": "nios2_custom_check_insns", "Target": "nios2", "Target_Clf": "MPU", "Compiler_Type": "GCC", "Idx": 3517, "Length": 112, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "static", "bool", "use_32bit_hwmult", "(", "void", ")", "{", "static", "const", "char", "*", "cached_match", "=", "NULL", ";", "static", "bool", "cached_result", ";", "int", "i", ";", "if", "(", "msp430_hwmult_type", "==", "LARGE", ")", "return", "true", ";", "if", "(", "target_mcu", "==", "NULL", "||", "msp430_hwmult_type", "!=", "AUTO", ")", "return", "false", ";", "if", "(", "target_mcu", "==", "cached_match", ")", "return", "cached_result", ";", "cached_match", "=", "target_mcu", ";", "for", "(", "i", "=", "ARRAY_SIZE", "(", "msp430_mcu_data", ")", ";", "i", "--", ";", ")", "if", "(", "strcasecmp", "(", "target_mcu", ",", "msp430_mcu_data", "[", "i", "]", ".", "name", ")", "==", "0", ")", "return", "cached_result", "=", "msp430_mcu_data", "[", "i", "]", ".", "hwmpy", "==", "4", ";", "return", "cached_result", "=", "false", ";", "}", ""], "natrual_language": ["Returns", "true", "if", "the", "current", "MCU", "has", "a", "second", "generation", "32-bit", "hardware", "multiplier", "."], "TS_V_token": ["msp430", "0", "4"], "File": "msp4303", "Func": "use_32bit_hwmult", "Target": "msp430", "Target_Clf": "MPU", "Compiler_Type": "GCC", "Idx": 3518, "Length": 104, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "static", "struct", "machine_function", "*", "nios2_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": ["nios2"], "File": "nios2", "Func": "nios2_init_machine_status", "Target": "nios2", "Target_Clf": "MPU", "Compiler_Type": "GCC", "Idx": 3519, "Length": 18, "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": 3520, "Length": 501, "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": 3521, "Length": 122, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "unsigned", "getStackAddress", "(", "uint64_t", "Size", ",", "int64_t", "Offset", ",", "MachinePointerInfo", "&", "MPO", ")", "override", "{", "llvm_unreachable", "(", "\"not implemented\"", ")", ";", "}", ""], "natrual_language": ["Materialize", "a", "VReg", "containing", "the", "address", "of", "the", "specified", "stack-based", "object", "."], "TS_V_token": ["AMDGPU", "\"not implemented\""], "File": "AMDGPUCallLowering40", "Func": "getStackAddress", "Target": "AMDGPU", "Target_Clf": "GPU", "Compiler_Type": "LLVM", "Idx": 3522, "Length": 21, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "bool", "Z80oldInstrInfo", "::", "reverseBranchCondition", "(", "SmallVectorImpl", "<", "MachineOperand", ">", "&", "Cond", ")", "const", "{", "assert", "(", "Cond", ".", "size", "(", ")", "==", "1", "&&", "\"Invalid Z80old branch condition!\"", ")", ";", "Z80old", "::", "CondCode", "CC", "=", "static_cast", "<", "Z80old", "::", "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": ["Z80old", "Z80old", "1", "\"Invalid Z80old branch condition!\"", "Z80old::CondCode", "Z80old::CondCode", "0", "0"], "File": "Z80oldInstrInfo", "Func": "reverseBranchCondition", "Target": "Z80old", "Target_Clf": "MPU", "Compiler_Type": "LLVM", "Idx": 3523, "Length": 66, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "bool", "arc_scheduling_not_expected", "(", "void", ")", "{", "return", "cfun", "->", "machine", "->", "arc_reorg_started", ";", "}", ""], "natrual_language": ["Return", "true", "if", "the", "scheduling", "pass", "(", "es", ")", "has/have", "already", "run", ",", "i.e", ".", "where", "possible", ",", "we", "should", "try", "to", "mitigate", "high", "latencies", "by", "different", "instruction", "selection", "."], "TS_V_token": ["arc"], "File": "arc", "Func": "arc_scheduling_not_expected", "Target": "arc", "Target_Clf": "MPU", "Compiler_Type": "GCC", "Idx": 3524, "Length": 14, "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": 3525, "Length": 315, "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": 3526, "Length": 128, "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": 3527, "Length": 65, "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": 3528, "Length": 118, "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": 3529, "Length": 267, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "const", "NVPTXFloatMCExpr", "*", "NVPTXFloatMCExpr", "::", "create", "(", "VariantKind", "Kind", ",", "APFloat", "Flt", ",", "MCContext", "&", "Ctx", ")", "{", "return", "new", "(", "Ctx", ")", "NVPTXFloatMCExpr", "(", "Kind", ",", "Flt", ")", ";", "}", ""], "natrual_language": ["This", "creates", "an", "identified", "struct", "."], "TS_V_token": ["NVPTX", "NVPTX", "NVPTX", "NVPTX"], "File": "NVPTXMCExpr13", "Func": "create", "Target": "NVPTX", "Target_Clf": "GPU", "Compiler_Type": "LLVM", "Idx": 3530, "Length": 31, "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": 3531, "Length": 137, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "static", "void", "mt_emit_save_restore", "(", "enum", "save_direction", "direction", ",", "rtx", "reg", ",", "rtx", "mem", ",", "int", "stack_offset", ")", "{", "if", "(", "direction", "==", "FROM_PROCESSOR_TO_MEM", ")", "{", "rtx", "insn", ";", "insn", "=", "emit_move_insn", "(", "mem", ",", "reg", ")", ";", "RTX_FRAME_RELATED_P", "(", "insn", ")", "=", "1", ";", "REG_NOTES", "(", "insn", ")", "=", "gen_rtx_EXPR_LIST", "(", "REG_FRAME_RELATED_EXPR", ",", "gen_rtx_SET", "(", "VOIDmode", ",", "gen_rtx_MEM", "(", "SImode", ",", "gen_rtx_PLUS", "(", "SImode", ",", "stack_pointer_rtx", ",", "GEN_INT", "(", "stack_offset", ")", ")", ")", ",", "reg", ")", ",", "REG_NOTES", "(", "insn", ")", ")", ";", "}", "else", "emit_move_insn", "(", "reg", ",", "mem", ")", ";", "}", ""], "natrual_language": ["Emit", "code", "to", "save", "REG", "in", "stack", "offset", "pointed", "to", "by", "MEM", ".", "STACK_OFFSET", "is", "the", "offset", "from", "the", "SP", "where", "the", "save", "will", "happen", ".", "This", "function", "sets", "the", "REG_FRAME_RELATED_EXPR", "note", "accordingly", "."], "TS_V_token": ["mt", "1"], "File": "mt", "Func": "mt_emit_save_restore", "Target": "mt", "Target_Clf": "CPU", "Compiler_Type": "GCC", "Idx": 3532, "Length": 93, "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": 3533, "Length": 83, "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": 3534, "Length": 176, "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": 3535, "Length": 28, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "static", "bool", "s390_match_ccmode_set", "(", "rtx", "set", ",", "machine_mode", "req_mode", ")", "{", "machine_mode", "set_mode", ";", "gcc_assert", "(", "GET_CODE", "(", "set", ")", "==", "SET", ")", ";", "if", "(", "GET_CODE", "(", "SET_DEST", "(", "set", ")", ")", "!=", "REG", "||", "!", "CC_REGNO_P", "(", "REGNO", "(", "SET_DEST", "(", "set", ")", ")", ")", ")", "return", "1", ";", "set_mode", "=", "GET_MODE", "(", "SET_DEST", "(", "set", ")", ")", ";", "switch", "(", "set_mode", ")", "{", "case", "CCSmode", ":", "case", "CCSRmode", ":", "case", "CCUmode", ":", "case", "CCURmode", ":", "case", "CCLmode", ":", "case", "CCL1mode", ":", "case", "CCL2mode", ":", "case", "CCL3mode", ":", "case", "CCT1mode", ":", "case", "CCT2mode", ":", "case", "CCT3mode", ":", "if", "(", "req_mode", "!=", "set_mode", ")", "return", "0", ";", "break", ";", "case", "CCZmode", ":", "if", "(", "req_mode", "!=", "CCSmode", "&&", "req_mode", "!=", "CCUmode", "&&", "req_mode", "!=", "CCTmode", "&&", "req_mode", "!=", "CCSRmode", "&&", "req_mode", "!=", "CCURmode", ")", "return", "0", ";", "break", ";", "case", "CCAPmode", ":", "case", "CCANmode", ":", "if", "(", "req_mode", "!=", "CCAmode", ")", "return", "0", ";", "break", ";", "default", ":", "gcc_unreachable", "(", ")", ";", "}", "return", "(", "GET_MODE", "(", "SET_SRC", "(", "set", ")", ")", "==", "set_mode", ")", ";", "}", ""], "natrual_language": ["Return", "true", "if", "SET", "either", "does", "n't", "set", "the", "CC", "register", ",", "or", "else", "the", "source", "and", "destination", "have", "matching", "CC", "modes", "and", "that", "CC", "mode", "is", "at", "least", "as", "constrained", "as", "REQ_MODE", "."], "TS_V_token": ["s390", "1", "0", "0", "0"], "File": "s3904", "Func": "s390_match_ccmode_set", "Target": "s390", "Target_Clf": "MPU", "Compiler_Type": "GCC", "Idx": 3536, "Length": 178, "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": 3537, "Length": 62, "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": 3538, "Length": 62, "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": 3539, "Length": 394, "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": 3540, "Length": 89, "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": 3541, "Length": 132, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "const", "char", "*", "AMDGPUTargetLowering", "::", "getTargetNodeName", "(", "unsigned", "Opcode", ")", "const", "{", "switch", "(", "Opcode", ")", "{", "default", ":", "return", "nullptr", ";", "NODE_NAME_CASE", "(", "CALL", ")", ";", "NODE_NAME_CASE", "(", "UMUL", ")", ";", "NODE_NAME_CASE", "(", "RET_FLAG", ")", ";", "NODE_NAME_CASE", "(", "BRANCH_COND", ")", ";", "NODE_NAME_CASE", "(", "DWORDADDR", ")", "NODE_NAME_CASE", "(", "FRACT", ")", "NODE_NAME_CASE", "(", "CLAMP", ")", "NODE_NAME_CASE", "(", "MAD", ")", "NODE_NAME_CASE", "(", "FMAX", ")", "NODE_NAME_CASE", "(", "SMAX", ")", "NODE_NAME_CASE", "(", "UMAX", ")", "NODE_NAME_CASE", "(", "FMIN", ")", "NODE_NAME_CASE", "(", "SMIN", ")", "NODE_NAME_CASE", "(", "UMIN", ")", "NODE_NAME_CASE", "(", "URECIP", ")", "NODE_NAME_CASE", "(", "DIV_SCALE", ")", "NODE_NAME_CASE", "(", "DIV_FMAS", ")", "NODE_NAME_CASE", "(", "DIV_FIXUP", ")", "NODE_NAME_CASE", "(", "TRIG_PREOP", ")", "NODE_NAME_CASE", "(", "RCP", ")", "NODE_NAME_CASE", "(", "RSQ", ")", "NODE_NAME_CASE", "(", "RSQ_LEGACY", ")", "NODE_NAME_CASE", "(", "RSQ_CLAMPED", ")", "NODE_NAME_CASE", "(", "LDEXP", ")", "NODE_NAME_CASE", "(", "DOT4", ")", "NODE_NAME_CASE", "(", "BFE_U32", ")", "NODE_NAME_CASE", "(", "BFE_I32", ")", "NODE_NAME_CASE", "(", "BFI", ")", "NODE_NAME_CASE", "(", "BFM", ")", "NODE_NAME_CASE", "(", "BREV", ")", "NODE_NAME_CASE", "(", "MUL_U24", ")", "NODE_NAME_CASE", "(", "MUL_I24", ")", "NODE_NAME_CASE", "(", "MAD_U24", ")", "NODE_NAME_CASE", "(", "MAD_I24", ")", "NODE_NAME_CASE", "(", "EXPORT", ")", "NODE_NAME_CASE", "(", "CONST_ADDRESS", ")", "NODE_NAME_CASE", "(", "REGISTER_LOAD", ")", "NODE_NAME_CASE", "(", "REGISTER_STORE", ")", "NODE_NAME_CASE", "(", "LOAD_CONSTANT", ")", "NODE_NAME_CASE", "(", "LOAD_INPUT", ")", "NODE_NAME_CASE", "(", "SAMPLE", ")", "NODE_NAME_CASE", "(", "SAMPLEB", ")", "NODE_NAME_CASE", "(", "SAMPLED", ")", "NODE_NAME_CASE", "(", "SAMPLEL", ")", "NODE_NAME_CASE", "(", "CVT_F32_UBYTE0", ")", "NODE_NAME_CASE", "(", "CVT_F32_UBYTE1", ")", "NODE_NAME_CASE", "(", "CVT_F32_UBYTE2", ")", "NODE_NAME_CASE", "(", "CVT_F32_UBYTE3", ")", "NODE_NAME_CASE", "(", "BUILD_VERTICAL_VECTOR", ")", "NODE_NAME_CASE", "(", "CONST_DATA_PTR", ")", "NODE_NAME_CASE", "(", "STORE_MSKOR", ")", "NODE_NAME_CASE", "(", "TBUFFER_STORE_FORMAT", ")", "}", "}", ""], "natrual_language": ["getTargetNodeName", "-", "This", "method", "returns", "the", "name", "of", "a", "target", "specific"], "TS_V_token": ["R600"], "File": "AMDGPUISelLowering107", "Func": "getTargetNodeName", "Target": "R600", "Target_Clf": "GPU", "Compiler_Type": "LLVM", "Idx": 3542, "Length": 236, "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": 3543, "Length": 267, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "bool", "MatchAndEmitInstruction", "(", "SMLoc", "Loc", ",", "unsigned", "&", ",", "OperandVector", "&", "Operands", ",", "MCStreamer", "&", "Out", ",", "uint64_t", "&", "ErrorInfo", ",", "bool", "MatchingInlineAsm", ")", "override", "{", "MCInst", "Inst", ";", "unsigned", "MatchResult", "=", "MatchInstructionImpl", "(", "Operands", ",", "Inst", ",", "ErrorInfo", ",", "MatchingInlineAsm", ")", ";", "switch", "(", "MatchResult", ")", "{", "case", "Match_Success", ":", "return", "emit", "(", "Inst", ",", "Loc", ",", "Out", ")", ";", "case", "Match_MissingFeature", ":", "return", "missingFeature", "(", "Loc", ",", "ErrorInfo", ")", ";", "case", "Match_InvalidOperand", ":", "return", "invalidOperand", "(", "Loc", ",", "Operands", ",", "ErrorInfo", ")", ";", "case", "Match_MnemonicFail", ":", "return", "Error", "(", "Loc", ",", "\"invalid instruction\"", ")", ";", "case", "Match_InvalidAddr8", ":", "return", "Error", "(", "Loc", ",", "\"operand must be an 8-bit address\"", ")", ";", "case", "Match_InvalidAddr16", ":", "return", "Error", "(", "Loc", ",", "\"operand must be an 16-bit address\"", ")", ";", "case", "Match_InvalidPCRel8", ":", "return", "Error", "(", "Loc", ",", "\"operand must be an 8-bit PC relative address\"", ")", ";", "case", "Match_immediate", ":", "return", "Error", "(", "Loc", ",", "\"operand must be an 8 to 16 bit value (between 256 and \"", "\"65535 inclusive)\"", ")", ";", "case", "Match_NearMisses", ":", "return", "Error", "(", "Loc", ",", "\"found some near misses\"", ")", ";", "default", ":", "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": ["MOS", "\"invalid instruction\"", "\"operand must be an 8-bit address\"", "\"operand must be an 16-bit address\"", "\"operand must be an 8-bit PC relative address\"", "\"operand must be an 8 to 16 bit value (between 256 and \"", "\"65535 inclusive)\"", "\"found some near misses\""], "File": "MOSAsmParser", "Func": "MatchAndEmitInstruction", "Target": "MOS", "Target_Clf": "MPU", "Compiler_Type": "LLVM", "Idx": 3544, "Length": 159, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "static", "int", "s390_sched_reorder", "(", "FILE", "*", "file", ",", "int", "verbose", ",", "rtx_insn", "*", "*", "ready", ",", "int", "*", "nreadyp", ",", "int", "clock", "ATTRIBUTE_UNUSED", ")", "{", "if", "(", "s390_tune", "==", "PROCESSOR_2097_Z10", "&&", "reload_completed", "&&", "*", "nreadyp", ">", "1", ")", "s390_z10_prevent_earlyload_conflicts", "(", "ready", ",", "nreadyp", ")", ";", "if", "(", "s390_tune", ">=", "PROCESSOR_2827_ZEC12", "&&", "reload_completed", "&&", "*", "nreadyp", ">", "1", ")", "{", "int", "i", ";", "int", "last_index", "=", "*", "nreadyp", "-", "1", ";", "int", "max_index", "=", "-", "1", ";", "int", "max_score", "=", "-", "1", ";", "rtx_insn", "*", "tmp", ";", "for", "(", "i", "=", "last_index", ";", "i", ">=", "0", ";", "i", "--", ")", "{", "int", "score", ";", "if", "(", "recog_memoized", "(", "ready", "[", "i", "]", ")", "<", "0", ")", "continue", ";", "score", "=", "s390_sched_score", "(", "ready", "[", "i", "]", ")", ";", "if", "(", "score", ">", "max_score", ")", "{", "max_score", "=", "score", ";", "max_index", "=", "i", ";", "}", "}", "if", "(", "max_index", "!=", "-", "1", ")", "{", "if", "(", "max_index", "!=", "last_index", ")", "{", "tmp", "=", "ready", "[", "max_index", "]", ";", "ready", "[", "max_index", "]", "=", "ready", "[", "last_index", "]", ";", "ready", "[", "last_index", "]", "=", "tmp", ";", "if", "(", "verbose", ">", "5", ")", "fprintf", "(", "file", ",", "\";;\\t\\tBACKEND: move insn %d to the top of list\\n\"", ",", "INSN_UID", "(", "ready", "[", "last_index", "]", ")", ")", ";", "}", "else", "if", "(", "verbose", ">", "5", ")", "fprintf", "(", "file", ",", "\";;\\t\\tBACKEND: best insn %d already on top\\n\"", ",", "INSN_UID", "(", "ready", "[", "last_index", "]", ")", ")", ";", "}", "if", "(", "verbose", ">", "5", ")", "{", "fprintf", "(", "file", ",", "\"ready list ooo attributes - sched state: %d\\n\"", ",", "s390_sched_state", ")", ";", "for", "(", "i", "=", "last_index", ";", "i", ">=", "0", ";", "i", "--", ")", "{", "unsigned", "int", "sched_mask", ";", "rtx_insn", "*", "insn", "=", "ready", "[", "i", "]", ";", "if", "(", "recog_memoized", "(", "insn", ")", "<", "0", ")", "continue", ";", "sched_mask", "=", "s390_get_sched_attrmask", "(", "insn", ")", ";", "fprintf", "(", "file", ",", "\";;\\t\\tBACKEND: insn %d score: %d: \"", ",", "INSN_UID", "(", "insn", ")", ",", "s390_sched_score", "(", "insn", ")", ")", ";", "(", "(", "M", ")", "&", "sched_mask", ")", "?", "#", "ATTR", ":", "\"\"", ")", ";", "PRINT_SCHED_ATTR", "(", "S390_SCHED_ATTR_MASK_CRACKED", ",", "cracked", ")", ";", "PRINT_SCHED_ATTR", "(", "S390_SCHED_ATTR_MASK_EXPANDED", ",", "expanded", ")", ";", "PRINT_SCHED_ATTR", "(", "S390_SCHED_ATTR_MASK_ENDGROUP", ",", "endgroup", ")", ";", "PRINT_SCHED_ATTR", "(", "S390_SCHED_ATTR_MASK_GROUPALONE", ",", "groupalone", ")", ";", "if", "(", "s390_tune", "==", "PROCESSOR_2964_Z13", ")", "{", "unsigned", "int", "unit_mask", ",", "m", "=", "1", ";", "int", "units", ",", "j", ";", "unit_mask", "=", "s390_get_unit_mask", "(", "insn", ",", "&", "units", ")", ";", "fprintf", "(", "file", ",", "\"(units:\"", ")", ";", "for", "(", "j", "=", "0", ";", "j", "<", "units", ";", "j", "++", ",", "m", "<<=", "1", ")", "if", "(", "m", "&", "unit_mask", ")", "fprintf", "(", "file", ",", "\" u%d\"", ",", "j", ")", ";", "fprintf", "(", "file", ",", "\")\"", ")", ";", "}", "fprintf", "(", "file", ",", "\"\\n\"", ")", ";", "}", "}", "}", "return", "s390_issue_rate", "(", ")", ";", "}", ""], "natrual_language": ["This", "function", "is", "called", "via", "hook", "TARGET_SCHED_REORDER", "before", "issuing", "one", "insn", "from", "list", "READY", "which", "contains", "*", "NREADYP", "entries", ".", "For", "target", "z10", "it", "reorders", "load", "instructions", "to", "avoid", "early", "load", "conflicts", "in", "the", "floating", "point", "pipeline"], "TS_V_token": ["s390", "1", "1", "1", "1", "1", "0", "0", "1", "5", "\";;\\t\\tBACKEND: move insn %d to the top of list\\n\"", "5", "\";;\\t\\tBACKEND: best insn %d already on top\\n\"", "5", "\"ready list ooo attributes - sched state: %d\\n\"", "0", "0", "\";;\\t\\tBACKEND: insn %d score: %d: \"", "\"\"", "1", "\"(units:\"", "0", "1", "\" u%d\"", "\")\"", "\"\\n\""], "File": "s3905", "Func": "s390_sched_reorder", "Target": "s390", "Target_Clf": "MPU", "Compiler_Type": "GCC", "Idx": 3545, "Length": 441, "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": ["M88k"], "File": "M88kSubtarget", "Func": "getRegBankInfo", "Target": "M88k", "Target_Clf": "MPU", "Compiler_Type": "LLVM", "Idx": 3546, "Length": 17, "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": 3547, "Length": 100, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "bool", "HexagonAsmParser", "::", "MatchAndEmitInstruction", "(", "SMLoc", "IDLoc", ",", "unsigned", "&", "Opcode", ",", "OperandVector", "&", "Operands", ",", "MCStreamer", "&", "Out", ",", "uint64_t", "&", "ErrorInfo", ",", "bool", "MatchingInlineAsm", ")", "{", "if", "(", "!", "InBrackets", ")", "{", "MCB", ".", "clear", "(", ")", ";", "MCB", ".", "addOperand", "(", "MCOperand", "::", "createImm", "(", "0", ")", ")", ";", "}", "HexagonOperand", "&", "FirstOperand", "=", "static_cast", "<", "HexagonOperand", "&", ">", "(", "*", "Operands", "[", "0", "]", ")", ";", "if", "(", "FirstOperand", ".", "isToken", "(", ")", "&&", "FirstOperand", ".", "getToken", "(", ")", "==", "\"{\"", ")", "{", "assert", "(", "Operands", ".", "size", "(", ")", "==", "1", "&&", "\"Brackets should be by themselves\"", ")", ";", "if", "(", "InBrackets", ")", "{", "getParser", "(", ")", ".", "Error", "(", "IDLoc", ",", "\"Already in a packet\"", ")", ";", "return", "true", ";", "}", "InBrackets", "=", "true", ";", "return", "false", ";", "}", "if", "(", "FirstOperand", ".", "isToken", "(", ")", "&&", "FirstOperand", ".", "getToken", "(", ")", "==", "\"}\"", ")", "{", "assert", "(", "Operands", ".", "size", "(", ")", "==", "1", "&&", "\"Brackets should be by themselves\"", ")", ";", "if", "(", "!", "InBrackets", ")", "{", "getParser", "(", ")", ".", "Error", "(", "IDLoc", ",", "\"Not in a packet\"", ")", ";", "return", "true", ";", "}", "InBrackets", "=", "false", ";", "if", "(", "matchBundleOptions", "(", ")", ")", "return", "true", ";", "return", "finishBundle", "(", "IDLoc", ",", "Out", ")", ";", "}", "MCInst", "*", "SubInst", "=", "new", "(", "getParser", "(", ")", ".", "getContext", "(", ")", ")", "MCInst", ";", "if", "(", "matchOneInstruction", "(", "*", "SubInst", ",", "IDLoc", ",", "Operands", ",", "ErrorInfo", ",", "MatchingInlineAsm", ")", ")", "return", "true", ";", "HexagonMCInstrInfo", "::", "extendIfNeeded", "(", "getParser", "(", ")", ".", "getContext", "(", ")", ",", "MII", ",", "MCB", ",", "*", "SubInst", ")", ";", "MCB", ".", "addOperand", "(", "MCOperand", "::", "createInst", "(", "SubInst", ")", ")", ";", "if", "(", "!", "InBrackets", ")", "return", "finishBundle", "(", "IDLoc", ",", "Out", ")", ";", "return", "false", ";", "}", ""], "natrual_language": ["MatchAndEmitInstruction", "-", "Recognize", "a", "series", "of", "operands", "of", "a", "parsed", "instruction", "as", "an", "actual", "MCInst", "and", "emit", "it", "to", "the", "specified", "MCStreamer", "."], "TS_V_token": ["Hexagon", "Hexagon", "0", "Hexagon", "Hexagon", "0", "\"{\"", "1", "\"Brackets should be by themselves\"", "\"Already in a packet\"", "\"}\"", "1", "\"Brackets should be by themselves\"", "\"Not in a packet\"", "Hexagon"], "File": "HexagonAsmParser17", "Func": "MatchAndEmitInstruction", "Target": "Hexagon", "Target_Clf": "DSP", "Compiler_Type": "LLVM", "Idx": 3548, "Length": 285, "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": 3549, "Length": 95, "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": 3550, "Length": 25, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "rtx", "bfin_gen_compare", "(", "rtx", "cmp", ",", "machine_mode", "mode", "ATTRIBUTE_UNUSED", ")", "{", "enum", "rtx_code", "code1", ",", "code2", ";", "rtx", "op0", "=", "XEXP", "(", "cmp", ",", "0", ")", ",", "op1", "=", "XEXP", "(", "cmp", ",", "1", ")", ";", "rtx", "tem", "=", "bfin_cc_rtx", ";", "enum", "rtx_code", "code", "=", "GET_CODE", "(", "cmp", ")", ";", "if", "(", "GET_MODE", "(", "op0", ")", "==", "BImode", ")", "{", "gcc_assert", "(", "(", "code", "==", "NE", "||", "code", "==", "EQ", ")", "&&", "op1", "==", "const0_rtx", ")", ";", "tem", "=", "op0", ",", "code2", "=", "code", ";", "}", "else", "{", "switch", "(", "code", ")", "{", "case", "EQ", ":", "case", "LT", ":", "case", "LE", ":", "case", "LEU", ":", "case", "LTU", ":", "code1", "=", "code", ";", "code2", "=", "NE", ";", "break", ";", "default", ":", "code1", "=", "reverse_condition", "(", "code", ")", ";", "code2", "=", "EQ", ";", "break", ";", "}", "emit_insn", "(", "gen_rtx_SET", "(", "tem", ",", "gen_rtx_fmt_ee", "(", "code1", ",", "BImode", ",", "op0", ",", "op1", ")", ")", ")", ";", "}", "return", "gen_rtx_fmt_ee", "(", "code2", ",", "BImode", ",", "tem", ",", "CONST0_RTX", "(", "BImode", ")", ")", ";", "}", ""], "natrual_language": ["Emit", "rtl", "for", "a", "comparison", "operation", "CMP", "in", "mode", "MODE", ".", "Operands", "have", "been", "stored", "in", "bfin_compare_op0", "and", "bfin_compare_op1", "already", "."], "TS_V_token": ["bfin", "0", "1"], "File": "bfin", "Func": "bfin_gen_compare", "Target": "bfin", "Target_Clf": "DSP", "Compiler_Type": "GCC", "Idx": 3551, "Length": 170, "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": 3552, "Length": 168, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "static", "struct", "machine_function", "*", "eco32_init_machine_status", "(", "void", ")", "{", "return", "ggc_alloc_cleared_machine_function", "(", ")", ";", "}", ""], "natrual_language": ["Allocate", "a", "chunk", "of", "memory", "for", "per-function", "machine-dependent", "data", "."], "TS_V_token": ["eco32"], "File": "eco32", "Func": "eco32_init_machine_status", "Target": "eco32", "Target_Clf": "MPU", "Compiler_Type": "GCC", "Idx": 3553, "Length": 15, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "void", "ECLairAsmBackend", "::", "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": ["ECLair", "ECLair"], "File": "ECLairAsmBackend", "Func": "applyFixup", "Target": "ECLair", "Target_Clf": "MPU", "Compiler_Type": "LLVM", "Idx": 3554, "Length": 42, "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": 3555, "Length": 211, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "static", "void", "s390_dump_pool", "(", "struct", "constant_pool", "*", "pool", ",", "bool", "remote_label", ")", "{", "struct", "constant", "*", "c", ";", "rtx", "insn", "=", "pool", "->", "pool_insn", ";", "int", "i", ";", "if", "(", "TARGET_CPU_ZARCH", ")", "{", "insn", "=", "emit_insn_after", "(", "gen_pool_section_start", "(", ")", ",", "insn", ")", ";", "INSN_ADDRESSES_NEW", "(", "insn", ",", "-", "1", ")", ";", "}", "if", "(", "TARGET_CPU_ZARCH", ")", "insn", "=", "emit_insn_after", "(", "gen_pool_align", "(", "GEN_INT", "(", "8", ")", ")", ",", "insn", ")", ";", "else", "insn", "=", "emit_insn_after", "(", "gen_pool_align", "(", "GEN_INT", "(", "4", ")", ")", ",", "insn", ")", ";", "INSN_ADDRESSES_NEW", "(", "insn", ",", "-", "1", ")", ";", "if", "(", "!", "remote_label", ")", "{", "insn", "=", "emit_label_after", "(", "pool", "->", "label", ",", "insn", ")", ";", "INSN_ADDRESSES_NEW", "(", "insn", ",", "-", "1", ")", ";", "}", "for", "(", "i", "=", "0", ";", "i", "<", "NR_C_MODES", ";", "i", "++", ")", "for", "(", "c", "=", "pool", "->", "constants", "[", "i", "]", ";", "c", ";", "c", "=", "c", "->", "next", ")", "{", "rtx", "value", "=", "c", "->", "value", ";", "if", "(", "GET_CODE", "(", "value", ")", "==", "CONST", "&&", "GET_CODE", "(", "XEXP", "(", "value", ",", "0", ")", ")", "==", "UNSPEC", "&&", "XINT", "(", "XEXP", "(", "value", ",", "0", ")", ",", "1", ")", "==", "UNSPEC_LTREL_OFFSET", "&&", "XVECLEN", "(", "XEXP", "(", "value", ",", "0", ")", ",", "0", ")", "==", "1", ")", "{", "value", "=", "gen_rtx_MINUS", "(", "Pmode", ",", "XVECEXP", "(", "XEXP", "(", "value", ",", "0", ")", ",", "0", ",", "0", ")", ",", "gen_rtx_LABEL_REF", "(", "VOIDmode", ",", "pool", "->", "label", ")", ")", ";", "value", "=", "gen_rtx_CONST", "(", "VOIDmode", ",", "value", ")", ";", "}", "insn", "=", "emit_label_after", "(", "c", "->", "label", ",", "insn", ")", ";", "INSN_ADDRESSES_NEW", "(", "insn", ",", "-", "1", ")", ";", "value", "=", "gen_rtx_UNSPEC_VOLATILE", "(", "constant_modes", "[", "i", "]", ",", "gen_rtvec", "(", "1", ",", "value", ")", ",", "UNSPECV_POOL_ENTRY", ")", ";", "insn", "=", "emit_insn_after", "(", "value", ",", "insn", ")", ";", "INSN_ADDRESSES_NEW", "(", "insn", ",", "-", "1", ")", ";", "}", "insn", "=", "emit_insn_after", "(", "gen_pool_align", "(", "GEN_INT", "(", "2", ")", ")", ",", "insn", ")", ";", "INSN_ADDRESSES_NEW", "(", "insn", ",", "-", "1", ")", ";", "for", "(", "c", "=", "pool", "->", "execute", ";", "c", ";", "c", "=", "c", "->", "next", ")", "{", "insn", "=", "emit_label_after", "(", "c", "->", "label", ",", "insn", ")", ";", "INSN_ADDRESSES_NEW", "(", "insn", ",", "-", "1", ")", ";", "insn", "=", "emit_insn_after", "(", "s390_execute_target", "(", "c", "->", "value", ")", ",", "insn", ")", ";", "INSN_ADDRESSES_NEW", "(", "insn", ",", "-", "1", ")", ";", "}", "if", "(", "TARGET_CPU_ZARCH", ")", "{", "insn", "=", "emit_insn_after", "(", "gen_pool_section_end", "(", ")", ",", "insn", ")", ";", "INSN_ADDRESSES_NEW", "(", "insn", ",", "-", "1", ")", ";", "}", "insn", "=", "emit_barrier_after", "(", "insn", ")", ";", "INSN_ADDRESSES_NEW", "(", "insn", ",", "-", "1", ")", ";", "remove_insn", "(", "pool", "->", "pool_insn", ")", ";", "}", ""], "natrual_language": ["Dump", "out", "the", "constants", "in", "POOL", ".", "If", "REMOTE_LABEL", "is", "true", ",", "do", "not", "emit", "the", "pool", "base", "label", "."], "TS_V_token": ["s390", "1", "8", "4", "1", "1", "0", "0", "0", "1", "0", "0", "1", "0", "0", "0", "1", "1", "1", "2", "1", "1", "1", "1", "1"], "File": "s3903", "Func": "s390_dump_pool", "Target": "s390", "Target_Clf": "MPU", "Compiler_Type": "GCC", "Idx": 3556, "Length": 438, "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": 3557, "Length": 75, "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": 3558, "Length": 426, "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": 3559, "Length": 73, "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": 3560, "Length": 58, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "const", "char", "*", "PIC16TargetLowering", "::", "getTargetNodeName", "(", "unsigned", "Opcode", ")", "const", "{", "switch", "(", "Opcode", ")", "{", "default", ":", "return", "NULL", ";", "case", "PIC16ISD", "::", "Lo", ":", "return", "\"PIC16ISD::Lo\"", ";", "case", "PIC16ISD", "::", "Hi", ":", "return", "\"PIC16ISD::Hi\"", ";", "case", "PIC16ISD", "::", "MTLO", ":", "return", "\"PIC16ISD::MTLO\"", ";", "case", "PIC16ISD", "::", "MTHI", ":", "return", "\"PIC16ISD::MTHI\"", ";", "case", "PIC16ISD", "::", "Banksel", ":", "return", "\"PIC16ISD::Banksel\"", ";", "case", "PIC16ISD", "::", "PIC16Load", ":", "return", "\"PIC16ISD::PIC16Load\"", ";", "case", "PIC16ISD", "::", "PIC16LdWF", ":", "return", "\"PIC16ISD::PIC16LdWF\"", ";", "case", "PIC16ISD", "::", "PIC16Store", ":", "return", "\"PIC16ISD::PIC16Store\"", ";", "case", "PIC16ISD", "::", "PIC16StWF", ":", "return", "\"PIC16ISD::PIC16StWF\"", ";", "case", "PIC16ISD", "::", "BCF", ":", "return", "\"PIC16ISD::BCF\"", ";", "case", "PIC16ISD", "::", "LSLF", ":", "return", "\"PIC16ISD::LSLF\"", ";", "case", "PIC16ISD", "::", "LRLF", ":", "return", "\"PIC16ISD::LRLF\"", ";", "case", "PIC16ISD", "::", "RLF", ":", "return", "\"PIC16ISD::RLF\"", ";", "case", "PIC16ISD", "::", "RRF", ":", "return", "\"PIC16ISD::RRF\"", ";", "case", "PIC16ISD", "::", "CALL", ":", "return", "\"PIC16ISD::CALL\"", ";", "case", "PIC16ISD", "::", "SUBCC", ":", "return", "\"PIC16ISD::SUBCC\"", ";", "case", "PIC16ISD", "::", "SELECT_ICC", ":", "return", "\"PIC16ISD::SELECT_ICC\"", ";", "case", "PIC16ISD", "::", "BRCOND", ":", "return", "\"PIC16ISD::BRCOND\"", ";", "case", "PIC16ISD", "::", "Dummy", ":", "return", "\"PIC16ISD::Dummy\"", ";", "}", "}", ""], "natrual_language": ["getTargetNodeName", "-", "This", "method", "returns", "the", "name", "of", "a", "target", "specific"], "TS_V_token": ["PIC16", "PIC16", "PIC16ISD::Lo", "\"PIC16ISD::Lo\"", "PIC16ISD::Hi", "\"PIC16ISD::Hi\"", "PIC16ISD::MTLO", "\"PIC16ISD::MTLO\"", "PIC16ISD::MTHI", "\"PIC16ISD::MTHI\"", "PIC16ISD::Banksel", "\"PIC16ISD::Banksel\"", "PIC16ISD::PIC16Load", "\"PIC16ISD::PIC16Load\"", "PIC16ISD::PIC16LdWF", "\"PIC16ISD::PIC16LdWF\"", "PIC16ISD::PIC16Store", "\"PIC16ISD::PIC16Store\"", "PIC16ISD::PIC16StWF", "\"PIC16ISD::PIC16StWF\"", "PIC16ISD::BCF", "\"PIC16ISD::BCF\"", "PIC16ISD::LSLF", "\"PIC16ISD::LSLF\"", "PIC16ISD::LRLF", "\"PIC16ISD::LRLF\"", "PIC16ISD::RLF", "\"PIC16ISD::RLF\"", "PIC16ISD::RRF", "\"PIC16ISD::RRF\"", "PIC16ISD::CALL", "\"PIC16ISD::CALL\"", "PIC16ISD::SUBCC", "\"PIC16ISD::SUBCC\"", "PIC16ISD::SELECT_ICC", "\"PIC16ISD::SELECT_ICC\"", "PIC16ISD::BRCOND", "\"PIC16ISD::BRCOND\"", "PIC16ISD::Dummy", "\"PIC16ISD::Dummy\""], "File": "PIC16ISelLowering5", "Func": "getTargetNodeName", "Target": "PIC16", "Target_Clf": "MPU", "Compiler_Type": "LLVM", "Idx": 3561, "Length": 176, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "static", "MCInstrInfo", "*", "createMCInstrInfo", "(", ")", "{", "MCInstrInfo", "*", "X", "=", "new", "MCInstrInfo", "(", ")", ";", "InitWebAssemblyMCInstrInfo", "(", "X", ")", ";", "return", "X", ";", "}", ""], "natrual_language": ["createMCInstrInfo", "-", "Create", "a", "MCInstrInfo", "implementation", "."], "TS_V_token": ["WebAssembly", "WebAssembly"], "File": "WebAssemblyMCTargetDesc (2)1", "Func": "createMCInstrInfo", "Target": "WebAssembly", "Target_Clf": "Virtual ISA", "Compiler_Type": "LLVM", "Idx": 3562, "Length": 25, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "unsigned", "HexagonTTIImpl", "::", "getArithmeticInstrCost", "(", "unsigned", "Opcode", ",", "Type", "*", "Ty", ",", "TTI", "::", "TargetCostKind", "CostKind", ",", "TTI", "::", "OperandValueKind", "Opd1Info", ",", "TTI", "::", "OperandValueKind", "Opd2Info", ",", "TTI", "::", "OperandValueProperties", "Opd1PropInfo", ",", "TTI", "::", "OperandValueProperties", "Opd2PropInfo", ",", "ArrayRef", "<", "const", "Value", "*", ">", "Args", ",", "const", "Instruction", "*", "CxtI", ")", "{", "if", "(", "Ty", "->", "isVectorTy", "(", ")", ")", "{", "std", "::", "pair", "<", "int", ",", "MVT", ">", "LT", "=", "TLI", ".", "getTypeLegalizationCost", "(", "DL", ",", "Ty", ")", ";", "if", "(", "LT", ".", "second", ".", "isFloatingPoint", "(", ")", ")", "return", "LT", ".", "first", "+", "FloatFactor", "*", "getTypeNumElements", "(", "Ty", ")", ";", "}", "return", "BaseT", "::", "getArithmeticInstrCost", "(", "Opcode", ",", "Ty", ",", "CostKind", ",", "Opd1Info", ",", "Opd2Info", ",", "Opd1PropInfo", ",", "Opd2PropInfo", ",", "Args", ",", "CxtI", ")", ";", "}", ""], "natrual_language": ["This", "is", "an", "approximation", "of", "reciprocal", "throughput", "of", "a", "math/logic", "op", "."], "TS_V_token": ["Hexagon", "Hexagon"], "File": "HexagonTargetTransformInfo14", "Func": "getArithmeticInstrCost", "Target": "Hexagon", "Target_Clf": "DSP", "Compiler_Type": "LLVM", "Idx": 3563, "Length": 127, "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": 3564, "Length": 57, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "void", "HexagonTargetMachine", "::", "registerPassBuilderCallbacks", "(", "PassBuilder", "&", "PB", ",", "bool", "DebugPassManager", ")", "{", "PB", ".", "registerLateLoopOptimizationsEPCallback", "(", "[", "=", "]", "(", "LoopPassManager", "&", "LPM", ",", "PassBuilder", "::", "OptimizationLevel", "Level", ")", "{", "LPM", ".", "addPass", "(", "HexagonLoopIdiomRecognitionPass", "(", ")", ")", ";", "}", ")", ";", "PB", ".", "registerOptimizerLastEPCallback", "(", "[", "=", "]", "(", "ModulePassManager", "&", "MPM", ",", "PassBuilder", "::", "OptimizationLevel", "Level", ")", "{", "LoopPassManager", "LPM", "(", "DebugPassManager", ")", ";", "FunctionPassManager", "FPM", "(", "DebugPassManager", ")", ";", "LPM", ".", "addPass", "(", "HexagonVectorLoopCarriedReusePass", "(", ")", ")", ";", "FPM", ".", "addPass", "(", "createFunctionToLoopPassAdaptor", "(", "std", "::", "move", "(", "LPM", ")", ")", ")", ";", "MPM", ".", "addPass", "(", "createModuleToFunctionPassAdaptor", "(", "std", "::", "move", "(", "FPM", ")", ")", ")", ";", "}", ")", ";", "}", ""], "natrual_language": ["Invoke", "the", "PassBuilder", "callback", "registration", "."], "TS_V_token": ["Hexagon", "Hexagon", "Hexagon", "Hexagon"], "File": "HexagonTargetMachine33", "Func": "registerPassBuilderCallbacks", "Target": "Hexagon", "Target_Clf": "DSP", "Compiler_Type": "LLVM", "Idx": 3565, "Length": 116, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "bool", "cris_reload_address_legitimized", "(", "rtx", "x", ",", "machine_mode", "mode", "ATTRIBUTE_UNUSED", ",", "int", "opnum", "ATTRIBUTE_UNUSED", ",", "int", "itype", ",", "int", "ind_levels", "ATTRIBUTE_UNUSED", ")", "{", "enum", "reload_type", "type", "=", "(", "enum", "reload_type", ")", "itype", ";", "rtx", "op0", ",", "op1", ";", "rtx", "*", "op1p", ";", "if", "(", "GET_CODE", "(", "x", ")", "!=", "PLUS", ")", "return", "false", ";", "op0", "=", "XEXP", "(", "x", ",", "0", ")", ";", "op1", "=", "XEXP", "(", "x", ",", "1", ")", ";", "op1p", "=", "&", "XEXP", "(", "x", ",", "1", ")", ";", "if", "(", "!", "REG_P", "(", "op1", ")", ")", "return", "false", ";", "if", "(", "GET_CODE", "(", "op0", ")", "==", "SIGN_EXTEND", "&&", "MEM_P", "(", "XEXP", "(", "op0", ",", "0", ")", ")", ")", "{", "rtx", "op00", "=", "XEXP", "(", "op0", ",", "0", ")", ";", "rtx", "op000", "=", "XEXP", "(", "op00", ",", "0", ")", ";", "rtx", "*", "op000p", "=", "&", "XEXP", "(", "op00", ",", "0", ")", ";", "if", "(", "(", "GET_MODE", "(", "op00", ")", "==", "HImode", "||", "GET_MODE", "(", "op00", ")", "==", "QImode", ")", "&&", "(", "REG_P", "(", "op000", ")", "||", "(", "GET_CODE", "(", "op000", ")", "==", "POST_INC", "&&", "REG_P", "(", "XEXP", "(", "op000", ",", "0", ")", ")", ")", ")", ")", "{", "bool", "something_reloaded", "=", "false", ";", "if", "(", "GET_CODE", "(", "op000", ")", "==", "POST_INC", "&&", "REG_P", "(", "XEXP", "(", "op000", ",", "0", ")", ")", "&&", "REGNO", "(", "XEXP", "(", "op000", ",", "0", ")", ")", ">", "CRIS_LAST_GENERAL_REGISTER", ")", "return", "false", ";", "if", "(", "(", "REG_P", "(", "op000", ")", "&&", "REGNO", "(", "op000", ")", ">", "CRIS_LAST_GENERAL_REGISTER", ")", ")", "{", "push_reload", "(", "op000", ",", "NULL_RTX", ",", "op000p", ",", "NULL", ",", "GENERAL_REGS", ",", "GET_MODE", "(", "x", ")", ",", "VOIDmode", ",", "0", ",", "0", ",", "opnum", ",", "type", ")", ";", "something_reloaded", "=", "true", ";", "}", "if", "(", "REGNO", "(", "op1", ")", ">", "CRIS_LAST_GENERAL_REGISTER", ")", "{", "push_reload", "(", "op1", ",", "NULL_RTX", ",", "op1p", ",", "NULL", ",", "GENERAL_REGS", ",", "GET_MODE", "(", "x", ")", ",", "VOIDmode", ",", "0", ",", "0", ",", "opnum", ",", "type", ")", ";", "something_reloaded", "=", "true", ";", "}", "gcc_assert", "(", "something_reloaded", ")", ";", "return", "true", ";", "}", "}", "return", "false", ";", "}", ""], "natrual_language": ["Worker", "function", "for", "LEGITIMIZE_RELOAD_ADDRESS", "."], "TS_V_token": ["cris", "0", "1", "1", "0", "0", "0", "0", "0", "0", "0", "0", "0", "0", "0"], "File": "cris", "Func": "cris_reload_address_legitimized", "Target": "cris", "Target_Clf": "MPU", "Compiler_Type": "GCC", "Idx": 3566, "Length": 335, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "bool", "X86TargetLowering", "::", "isFMAFasterThanFMulAndFAdd", "(", "const", "MachineFunction", "&", "MF", ",", "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)6", "Func": "isFMAFasterThanFMulAndFAdd", "Target": "X86", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 3567, "Length": 80, "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": 3568, "Length": 167, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "TargetLowering", "::", "ConstraintWeight", "P2TargetLowering", "::", "getSingleConstraintMatchWeight", "(", "AsmOperandInfo", "&", "info", ",", "const", "char", "*", "constraint", ")", "const", "{", "return", "CW_Default", ";", "}", ""], "natrual_language": ["Examine", "constraint", "string", "and", "operand", "type", "and", "determine", "a", "weight", "value", "."], "TS_V_token": ["P2", "P2"], "File": "P2ISelLowering", "Func": "getSingleConstraintMatchWeight", "Target": "P2", "Target_Clf": "MPU", "Compiler_Type": "LLVM", "Idx": 3569, "Length": 22, "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": 3570, "Length": 176, "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": 3571, "Length": 78, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "const", "TargetRegisterClass", "*", "SIInstrInfo", "::", "getRegClass", "(", "const", "MCInstrDesc", "&", "TID", ",", "unsigned", "OpNum", ",", "const", "TargetRegisterInfo", "*", "TRI", ",", "const", "MachineFunction", "&", "MF", ")", "const", "{", "if", "(", "OpNum", ">=", "TID", ".", "getNumOperands", "(", ")", ")", "return", "nullptr", ";", "auto", "RegClass", "=", "TID", ".", "OpInfo", "[", "OpNum", "]", ".", "RegClass", ";", "bool", "IsAllocatable", "=", "false", ";", "if", "(", "TID", ".", "TSFlags", "&", "(", "SIInstrFlags", "::", "DS", "|", "SIInstrFlags", "::", "FLAT", ")", ")", "{", "const", "int", "VDstIdx", "=", "AMDGPU", "::", "getNamedOperandIdx", "(", "TID", ".", "Opcode", ",", "AMDGPU", "::", "OpName", "::", "vdst", ")", ";", "const", "int", "DataIdx", "=", "AMDGPU", "::", "getNamedOperandIdx", "(", "TID", ".", "Opcode", ",", "(", "TID", ".", "TSFlags", "&", "SIInstrFlags", "::", "DS", ")", "?", "AMDGPU", "::", "OpName", "::", "data0", ":", "AMDGPU", "::", "OpName", "::", "vdata", ")", ";", "if", "(", "DataIdx", "!=", "-", "1", ")", "{", "IsAllocatable", "=", "VDstIdx", "!=", "-", "1", "||", "AMDGPU", "::", "getNamedOperandIdx", "(", "TID", ".", "Opcode", ",", "AMDGPU", "::", "OpName", "::", "data1", ")", "!=", "-", "1", ";", "}", "}", "RegClass", "=", "adjustAllocatableRegClass", "(", "ST", ",", "MF", ".", "getRegInfo", "(", ")", ",", "TID", ",", "RegClass", ",", "IsAllocatable", ")", ";", "return", "RI", ".", "getRegClass", "(", "RegClass", ")", ";", "}", ""], "natrual_language": ["Given", "a", "machine", "instruction", "descriptor", ",", "returns", "the", "register", "class", "constraint", "for", "OpNum", ",", "or", "NULL", "."], "TS_V_token": ["AMDGPU", "SI", "SIInstrFlags::DS", "SIInstrFlags::FLAT", "AMDGPU::getNamedOperandIdx", "AMDGPU::OpName", "AMDGPU::getNamedOperandIdx", "SIInstrFlags::DS", "AMDGPU::OpName", "AMDGPU::OpName", "1", "1", "AMDGPU::getNamedOperandIdx", "AMDGPU::OpName", "1"], "File": "SIInstrInfo120", "Func": "getRegClass", "Target": "AMDGPU", "Target_Clf": "GPU", "Compiler_Type": "LLVM", "Idx": 3572, "Length": 191, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "static", "void", "nvptx_reorg_uniform_simt", "(", ")", "{", "rtx_insn", "*", "insn", ",", "*", "next", ";", "for", "(", "insn", "=", "get_insns", "(", ")", ";", "insn", ";", "insn", "=", "next", ")", "{", "next", "=", "NEXT_INSN", "(", "insn", ")", ";", "if", "(", "!", "INSN_P", "(", "insn", ")", "||", "recog_memoized", "(", "insn", ")", "==", "-", "1", ")", "continue", ";", "if", "(", "CALL_P", "(", "insn", ")", "&&", "nvptx_call_insn_is_syscall_p", "(", "insn", ")", ")", "{", "}", "else", "if", "(", "get_attr_atomic", "(", "insn", ")", ")", "{", "}", "else", "continue", ";", "rtx", "pat", "=", "PATTERN", "(", "insn", ")", ";", "rtx", "master", "=", "nvptx_get_unisimt_master", "(", ")", ";", "bool", "shuffle_p", "=", "false", ";", "switch", "(", "GET_CODE", "(", "pat", ")", ")", "{", "case", "PARALLEL", ":", "for", "(", "int", "i", "=", "0", ";", "i", "<", "XVECLEN", "(", "pat", ",", "0", ")", ";", "i", "++", ")", "shuffle_p", "|=", "nvptx_unisimt_handle_set", "(", "XVECEXP", "(", "pat", ",", "0", ",", "i", ")", ",", "insn", ",", "master", ")", ";", "break", ";", "case", "SET", ":", "shuffle_p", "|=", "nvptx_unisimt_handle_set", "(", "pat", ",", "insn", ",", "master", ")", ";", "break", ";", "default", ":", "gcc_unreachable", "(", ")", ";", "}", "if", "(", "shuffle_p", "&&", "TARGET_PTX_6_0", ")", "{", "}", "else", "{", "if", "(", "TARGET_PTX_6_0", ")", "{", "gcc_assert", "(", "!", "shuffle_p", ")", ";", "emit_insn_after", "(", "gen_nvptx_warpsync", "(", ")", ",", "insn", ")", ";", "}", "else", "{", "emit_insn_after", "(", "gen_nvptx_uniform_warp_check", "(", ")", ",", "insn", ")", ";", "}", "}", "rtx", "pred", "=", "nvptx_get_unisimt_predicate", "(", ")", ";", "predicate_insn", "(", "insn", ",", "pred", ")", ";", "pred", "=", "NULL_RTX", ";", "for", "(", "rtx_insn", "*", "post", "=", "NEXT_INSN", "(", "insn", ")", ";", "post", "!=", "next", ";", "post", "=", "NEXT_INSN", "(", "post", ")", ")", "{", "if", "(", "pred", "==", "NULL_RTX", ")", "pred", "=", "nvptx_get_unisimt_outside_simt_predicate", "(", ")", ";", "predicate_insn", "(", "post", ",", "pred", ")", ";", "}", "}", "}", ""], "natrual_language": ["Adjust", "code", "for", "uniform-simt", "code", "generation", "variant", "by", "making", "atomics", "and", "``", "syscalls", "''", "conditionally", "executed", ",", "and", "inserting", "shuffle-based", "propagation", "for", "registers", "being", "set", "."], "TS_V_token": ["nvptx", "1", "0", "0", "0"], "File": "nvptx", "Func": "nvptx_reorg_uniform_simt", "Target": "nvptx", "Target_Clf": "GPU", "Compiler_Type": "GCC", "Idx": 3573, "Length": 280, "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": 3574, "Length": 49, "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": 3575, "Length": 151, "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": 3576, "Length": 298, "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": 3577, "Length": 80, "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": 3578, "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": 3579, "Length": 31, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "DFAPacketizer", "*", "TPCInstrInfo", "::", "CreateTargetScheduleState", "(", "const", "TargetSubtargetInfo", "&", "STI", ")", "const", "{", "const", "InstrItineraryData", "*", "II", "=", "STI", ".", "getInstrItineraryData", "(", ")", ";", "return", "static_cast", "<", "const", "TPCSubtarget", "&", ">", "(", "STI", ")", ".", "createDFAPacketizer", "(", "II", ")", ";", "}", ""], "natrual_language": ["Create", "machine", "specific", "model", "for", "scheduling", "."], "TS_V_token": ["TPC", "TPC", "TPC"], "File": "TPCInstrInfo", "Func": "CreateTargetScheduleState", "Target": "TPC", "Target_Clf": "Virtual ISA", "Compiler_Type": "LLVM", "Idx": 3580, "Length": 41, "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": 3581, "Length": 54, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "bool", "TL45AsmParser", "::", "ParseInstruction", "(", "ParseInstructionInfo", "&", "Info", ",", "StringRef", "Name", ",", "SMLoc", "NameLoc", ",", "OperandVector", "&", "Operands", ")", "{", "Operands", ".", "push_back", "(", "TL45Operand", "::", "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": ["TL45", "TL45", "TL45Operand::CreateToken", "\"unexpected token in operand list\""], "File": "TL45AsmParser", "Func": "ParseInstruction", "Target": "TL45", "Target_Clf": "MPU", "Compiler_Type": "LLVM", "Idx": 3582, "Length": 145, "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": 3583, "Length": 91, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "void", "getAnalysisUsage", "(", "AnalysisUsage", "&", "AU", ")", "const", "override", "{", "AU", ".", "setPreservesAll", "(", ")", ";", "}", ""], "natrual_language": ["getAnalysisUsage", "-", "Subclasses", "that", "override", "getAnalysisUsage", "must", "call", "this", "."], "TS_V_token": ["AMDGPU"], "File": "AMDGPUAlwaysInlinePass11", "Func": "getAnalysisUsage", "Target": "AMDGPU", "Target_Clf": "GPU", "Compiler_Type": "LLVM", "Idx": 3584, "Length": 17, "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": 3585, "Length": 13, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "SDValue", "J2TargetLowering", "::", "LowerFormalArguments", "(", "SDValue", "Chain", ",", "CallingConv", "::", "ID", "CallConv", ",", "bool", "IsVarArg", ",", "const", "SmallVectorImpl", "<", "ISD", "::", "InputArg", ">", "&", "Ins", ",", "const", "SDLoc", "&", "DL", ",", "SelectionDAG", "&", "DAG", ",", "SmallVectorImpl", "<", "SDValue", ">", "&", "InVals", ")", "const", "{", "assert", "(", "!", "IsVarArg", "&&", "\"Variable arguments not supported.\"", ")", ";", "auto", "&", "MF", "=", "DAG", ".", "getMachineFunction", "(", ")", ";", "SmallVector", "<", "CCValAssign", ",", "16", ">", "ArgLocs", ";", "CCState", "CCInfo", "(", "CallConv", ",", "IsVarArg", ",", "MF", ",", "ArgLocs", ",", "*", "DAG", ".", "getContext", "(", ")", ")", ";", "CCInfo", ".", "AnalyzeFormalArguments", "(", "Ins", ",", "CC_J2", ")", ";", "for", "(", "unsigned", "i", "=", "0", ",", "e", "=", "ArgLocs", ".", "size", "(", ")", ";", "i", "!=", "e", ";", "++", "i", ")", "{", "CCValAssign", "&", "VA", "=", "ArgLocs", "[", "i", "]", ";", "MVT", "RegVT", "=", "VA", ".", "getLocVT", "(", ")", ";", "const", "TargetRegisterClass", "*", "RC", "=", "getRegClassFor", "(", "RegVT", ")", ";", "unsigned", "Reg", "=", "MF", ".", "addLiveIn", "(", "VA", ".", "getLocReg", "(", ")", ",", "RC", ")", ";", "SDValue", "ArgValue", "=", "DAG", ".", "getCopyFromReg", "(", "Chain", ",", "DL", ",", "Reg", ",", "RegVT", ")", ";", "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": ["J2", "J2", "ISD::InputArg", "\"Variable arguments not supported.\"", "16", "J2", "0"], "File": "J2ISelLowering", "Func": "LowerFormalArguments", "Target": "J2", "Target_Clf": "MPU", "Compiler_Type": "LLVM", "Idx": 3586, "Length": 193, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "SDValue", "TL45TargetLowering", "::", "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", "(", "TL45ISD", "::", "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": ["TL45", "TL45", "ISD::OutputArg", "16", "4", "1", "0", "\"Can only return in registers!\"", "MVT::i32", "MVT::f64", "\"not supported\"", "1", "0", "\"interrupt\"", "\"interrupts not supported\"", "TL45ISD::RET", "MVT::Other"], "File": "TL45ISelLowering", "Func": "LowerReturn", "Target": "TL45", "Target_Clf": "MPU", "Compiler_Type": "LLVM", "Idx": 3587, "Length": 332, "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": 3588, "Length": 424, "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": 3589, "Length": 172, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "void", "init", "(", "TPCMachineScheduler", "*", "dag", ",", "const", "TargetSchedModel", "*", "smodel", ")", "{", "DAG", "=", "dag", ";", "SchedModel", "=", "smodel", ";", "IssueCount", "=", "0", ";", "CurrCycle", "=", "0", ";", "CriticalPathLength", "=", "1", ";", "int", "bbApproxSize", "=", "0", ";", "for", "(", "auto", "&", "SU", ":", "DAG", "->", "SUnits", ")", "{", "if", "(", "SU", ".", "getInstr", "(", ")", "->", "isPseudo", "(", ")", "&&", "!", "SU", ".", "getInstr", "(", ")", "->", "isCopy", "(", ")", ")", "{", "continue", ";", "}", "bbApproxSize", "++", ";", "}", "if", "(", "bbApproxSize", "<", "100", ")", "{", "CriticalPathLength", ">>=", "1", ";", "return", ";", "}", "unsigned", "MaxPath", "=", "0", ";", "for", "(", "auto", "&", "SU", ":", "DAG", "->", "SUnits", ")", "MaxPath", "=", "std", "::", "max", "(", "MaxPath", ",", "isTop", "(", ")", "?", "SU", ".", "getHeight", "(", ")", ":", "SU", ".", "getDepth", "(", ")", ")", ";", "CriticalPathLength", "=", "std", "::", "max", "(", "CriticalPathLength", ",", "MaxPath", ")", "+", "1", ";", "}", ""], "natrual_language": ["Initialize", "the", "machine", "model", "for", "instruction", "scheduling", "."], "TS_V_token": ["TPC", "TPC", "0", "0", "1", "0", "100", "1", "0", "1"], "File": "TPCMachineScheduler", "Func": "init", "Target": "TPC", "Target_Clf": "Virtual ISA", "Compiler_Type": "LLVM", "Idx": 3590, "Length": 148, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "const", "char", "*", "getPassName", "(", ")", "const", "override", "{", "return", "\"SI Fix SGPR copies\"", ";", "}", ""], "natrual_language": ["getPassName", "-", "Return", "a", "nice", "clean", "name", "for", "a", "pass", "."], "TS_V_token": ["R600", "\"SI Fix SGPR copies\""], "File": "SIFixSGPRCopies1", "Func": "getPassName", "Target": "R600", "Target_Clf": "GPU", "Compiler_Type": "LLVM", "Idx": 3591, "Length": 13, "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": 3592, "Length": 60, "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": 3593, "Length": 14, "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", "(", ")", ")", "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", "=", "STI", ".", "getInstrInfo", "(", ")", ";", "unsigned", "PC", ";", "if", "(", "STI", ".", "isPICStyleGOT", "(", ")", ")", "PC", "=", "RegInfo", ".", "createVirtualRegister", "(", "&", "X86", "::", "GR32RegClass", ")", ";", "else", "PC", "=", "GlobalBaseReg", ";", "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::MOVPC32r", "0", "X86::ADD32ri", "\"_GLOBAL_OFFSET_TABLE_\"", "X86II::MO_GOT_ABSOLUTE_ADDRESS"], "File": "X86InstrInfo (2)2", "Func": "runOnMachineFunction", "Target": "X86", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 3594, "Length": 253, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "void", "XCoreInstrInfo", "::", "loadRegFromStackSlot", "(", "MachineBasicBlock", "&", "MBB", ",", "MachineBasicBlock", "::", "iterator", "I", ",", "unsigned", "DestReg", ",", "int", "FrameIndex", ",", "const", "TargetRegisterClass", "*", "RC", ",", "const", "TargetRegisterInfo", "*", "TRI", ")", "const", "{", "DebugLoc", "DL", ";", "if", "(", "I", "!=", "MBB", ".", "end", "(", ")", ")", "DL", "=", "I", "->", "getDebugLoc", "(", ")", ";", "BuildMI", "(", "MBB", ",", "I", ",", "DL", ",", "get", "(", "XCore", "::", "LDWFI", ")", ",", "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": ["XCore", "XCore", "XCore::LDWFI", "0"], "File": "XCoreInstrInfo11", "Func": "loadRegFromStackSlot", "Target": "XCore", "Target_Clf": "MPU", "Compiler_Type": "LLVM", "Idx": 3595, "Length": 82, "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": 3596, "Length": 69, "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": 3597, "Length": 69, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "static", "void", "emit_add_sp_const", "(", "HOST_WIDE_INT", "offset", ",", "bool", "frame_related_p", ")", "{", "rtx", "to_add", "=", "GEN_INT", "(", "offset", ")", ";", "rtx", "orig_to_add", "=", "to_add", ";", "rtx_insn", "*", "insn", ";", "if", "(", "offset", "==", "0", ")", "return", ";", "if", "(", "offset", "<", "-", "32768", "||", "offset", ">", "32767", ")", "{", "rtx", "reg", "=", "gen_rtx_REG", "(", "SImode", ",", "REG_A0", ")", ";", "rtx", "low", "=", "GEN_INT", "(", "trunc_int_for_mode", "(", "offset", ",", "HImode", ")", ")", ";", "insn", "=", "emit_insn", "(", "gen_movsi_high", "(", "reg", ",", "low", ")", ")", ";", "if", "(", "frame_related_p", ")", "RTX_FRAME_RELATED_P", "(", "insn", ")", "=", "1", ";", "insn", "=", "emit_insn", "(", "gen_movsi_lo_sum", "(", "reg", ",", "reg", ",", "to_add", ")", ")", ";", "if", "(", "frame_related_p", ")", "RTX_FRAME_RELATED_P", "(", "insn", ")", "=", "1", ";", "to_add", "=", "reg", ";", "}", "insn", "=", "emit_insn", "(", "gen_addsi3", "(", "stack_pointer_rtx", ",", "stack_pointer_rtx", ",", "to_add", ")", ")", ";", "if", "(", "frame_related_p", ")", "{", "if", "(", "REG_P", "(", "to_add", ")", ")", "add_reg_note", "(", "insn", ",", "REG_FRAME_RELATED_EXPR", ",", "gen_rtx_SET", "(", "stack_pointer_rtx", ",", "gen_rtx_PLUS", "(", "Pmode", ",", "stack_pointer_rtx", ",", "orig_to_add", ")", ")", ")", ";", "RTX_FRAME_RELATED_P", "(", "insn", ")", "=", "1", ";", "}", "}", ""], "natrual_language": ["Emit", "insns", "to", "increment", "the", "stack", "pointer", "by", "OFFSET", ".", "If", "FRAME_RELATED_P", ",", "set", "the", "RTX_FRAME_RELATED_P", "flag", "on", "the", "insns", ".", "Does", "nothing", "if", "the", "offset", "is", "zero", "."], "TS_V_token": ["c6x", "0", "32768", "32767", "1", "1", "1"], "File": "c6x", "Func": "emit_add_sp_const", "Target": "c6x", "Target_Clf": "VLIW", "Compiler_Type": "GCC", "Idx": 3598, "Length": 180, "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": 3599, "Length": 156, "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": 3600, "Length": 63, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "static", "void", "ix86_canonicalize_comparison", "(", "int", "*", "code", ",", "rtx", "*", "op0", ",", "rtx", "*", "op1", ",", "bool", "op0_preserve_value", ")", "{", "if", "(", "!", "op0_preserve_value", "&&", "GET_CODE", "(", "*", "op0", ")", "==", "FLOAT", "&&", "MEM_P", "(", "XEXP", "(", "*", "op0", ",", "0", ")", ")", "&&", "REG_P", "(", "*", "op1", ")", ")", "{", "enum", "rtx_code", "scode", "=", "swap_condition", "(", "(", "enum", "rtx_code", ")", "*", "code", ")", ";", "if", "(", "ix86_fp_compare_code_to_integer", "(", "scode", ")", "!=", "UNKNOWN", ")", "{", "std", "::", "swap", "(", "*", "op0", ",", "*", "op1", ")", ";", "*", "code", "=", "(", "int", ")", "scode", ";", "}", "}", "}", ""], "natrual_language": ["Canonicalize", "a", "comparison", "from", "one", "we", "do", "n't", "have", "to", "one", "we", "do", "have", "."], "TS_V_token": ["i386", "0"], "File": "i386", "Func": "ix86_canonicalize_comparison", "Target": "i386", "Target_Clf": "CPU", "Compiler_Type": "GCC", "Idx": 3601, "Length": 97, "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_MMI", ")", ")", "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": "mips", "Func": "mips_expand_vpc_loongson_bcast", "Target": "mips", "Target_Clf": "CPU", "Compiler_Type": "GCC", "Idx": 3602, "Length": 202, "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": 3603, "Length": 300, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "int", "m32c_hard_regno_ok", "(", "int", "regno", ",", "enum", "machine_mode", "mode", ")", "{", "return", "m32c_hard_regno_nregs", "(", "regno", ",", "mode", ")", "!=", "0", ";", "}", ""], "natrual_language": ["Implements", "HARD_REGNO_MODE_OK", ".", "The", "above", "function", "does", "the", "work", "already", ";", "just", "test", "its", "return", "value", "."], "TS_V_token": ["m32c", "0"], "File": "m32c2", "Func": "m32c_hard_regno_ok", "Target": "m32c", "Target_Clf": "MPU", "Compiler_Type": "GCC", "Idx": 3604, "Length": 22, "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": 3605, "Length": 420, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "bool", "hasVMEMReadSGPRVALUDefHazard", "(", ")", "const", "{", "return", "getGeneration", "(", ")", ">=", "VOLCANIC_ISLANDS", ";", "}", ""], "natrual_language": ["A", "read", "of", "an", "SGPR", "by", "a", "VMEM", "instruction", "requires", "5", "wait", "states", "when", "the", "SGPR", "was", "written", "by", "a", "VALU", "Instruction", "."], "TS_V_token": ["AMDGPU"], "File": "AMDGPUSubtarget107", "Func": "hasVMEMReadSGPRVALUDefHazard", "Target": "AMDGPU", "Target_Clf": "GPU", "Compiler_Type": "LLVM", "Idx": 3606, "Length": 14, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "bool", "NVPTXAsmPrinter", "::", "doInitialization", "(", "Module", "&", "M", ")", "{", "const", "NVPTXTargetMachine", "&", "NTM", "=", "static_cast", "<", "const", "NVPTXTargetMachine", "&", ">", "(", "TM", ")", ";", "const", "auto", "*", "STI", "=", "static_cast", "<", "const", "NVPTXSubtarget", "*", ">", "(", "NTM", ".", "getSubtargetImpl", "(", ")", ")", ";", "if", "(", "M", ".", "alias_size", "(", ")", ")", "{", "report_fatal_error", "(", "\"Module has aliases, which NVPTX does not support.\"", ")", ";", "return", "true", ";", "}", "if", "(", "!", "isEmptyXXStructor", "(", "M", ".", "getNamedGlobal", "(", "\"llvm.global_ctors\"", ")", ")", ")", "{", "report_fatal_error", "(", "\"Module has a nontrivial global ctor, which NVPTX does not support.\"", ")", ";", "return", "true", ";", "}", "if", "(", "!", "isEmptyXXStructor", "(", "M", ".", "getNamedGlobal", "(", "\"llvm.global_dtors\"", ")", ")", ")", "{", "report_fatal_error", "(", "\"Module has a nontrivial global dtor, which NVPTX does not support.\"", ")", ";", "return", "true", ";", "}", "SmallString", "<", "128", ">", "Str1", ";", "raw_svector_ostream", "OS1", "(", "Str1", ")", ";", "bool", "Result", "=", "AsmPrinter", "::", "doInitialization", "(", "M", ")", ";", "emitHeader", "(", "M", ",", "OS1", ",", "*", "STI", ")", ";", "OutStreamer", "->", "emitRawText", "(", "OS1", ".", "str", "(", ")", ")", ";", "if", "(", "!", "M", ".", "getModuleInlineAsm", "(", ")", ".", "empty", "(", ")", ")", "{", "OutStreamer", "->", "AddComment", "(", "\"Start of file scope inline assembly\"", ")", ";", "OutStreamer", "->", "AddBlankLine", "(", ")", ";", "OutStreamer", "->", "emitRawText", "(", "StringRef", "(", "M", ".", "getModuleInlineAsm", "(", ")", ")", ")", ";", "OutStreamer", "->", "AddBlankLine", "(", ")", ";", "OutStreamer", "->", "AddComment", "(", "\"End of file scope inline assembly\"", ")", ";", "OutStreamer", "->", "AddBlankLine", "(", ")", ";", "}", "GlobalsEmitted", "=", "false", ";", "return", "Result", ";", "}", ""], "natrual_language": ["Set", "up", "the", "AsmPrinter", "when", "we", "are", "working", "on", "a", "new", "module", "."], "TS_V_token": ["NVPTX", "NVPTX", "NVPTX", "NVPTX", "NVPTX", "\"Module has aliases, which NVPTX does not support.\"", "\"llvm.global_ctors\"", "\"Module has a nontrivial global ctor, which NVPTX does not support.\"", "\"llvm.global_dtors\"", "\"Module has a nontrivial global dtor, which NVPTX does not support.\"", "128", "\"Start of file scope inline assembly\"", "\"End of file scope inline assembly\""], "File": "NVPTXAsmPrinter43", "Func": "doInitialization", "Target": "NVPTX", "Target_Clf": "GPU", "Compiler_Type": "LLVM", "Idx": 3607, "Length": 220, "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": 3608, "Length": 152, "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": 3609, "Length": 92, "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", "if", "(", "!", "printAliasInstr", "(", "MI", ",", "OS", ")", "&&", "!", "printVecCompareInstr", "(", "MI", ",", "OS", ")", ")", "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": "X86IntelInstPrinter42", "Func": "printInst", "Target": "X86", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 3610, "Length": 107, "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": 3611, "Length": 13, "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": 3612, "Length": 158, "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": 3613, "Length": 213, "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": 3614, "Length": 21, "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": 3615, "Length": 173, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "void", "M68kIncomingValueHandler", "::", "assignValueToAddress", "(", "Register", "ValVReg", ",", "Register", "Addr", ",", "LLT", "MemTy", ",", "MachinePointerInfo", "&", "MPO", ",", "CCValAssign", "&", "VA", ")", "{", "MachineFunction", "&", "MF", "=", "MIRBuilder", ".", "getMF", "(", ")", ";", "auto", "*", "MMO", "=", "MF", ".", "getMachineMemOperand", "(", "MPO", ",", "MachineMemOperand", "::", "MOLoad", ",", "MemTy", ",", "inferAlignFromPtrInfo", "(", "MF", ",", "MPO", ")", ")", ";", "MIRBuilder", ".", "buildLoad", "(", "ValVReg", ",", "Addr", ",", "*", "MMO", ")", ";", "}", ""], "natrual_language": ["An", "overload", "which", "takes", "an", "ArgInfo", "if", "additional", "information", "about", "the", "arg", "is", "needed", "."], "TS_V_token": ["M68k", "M68k"], "File": "M68kCallLowering", "Func": "assignValueToAddress", "Target": "M68k", "Target_Clf": "MPU", "Compiler_Type": "LLVM", "Idx": 3616, "Length": 70, "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": 3617, "Length": 83, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "unsigned", "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": "SystemZISelLowering (2)", "Func": "getExceptionSelectorRegister", "Target": "SystemZ", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 3618, "Length": 17, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "SDValue", "P2TargetLowering", "::", "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", "(", ")", ")", ";", "LLVM_DEBUG", "(", "errs", "(", ")", "<<", "\"=== Lower Call Result\\n\"", ")", ";", "CCInfo", ".", "AnalyzeCallResult", "(", "Ins", ",", "RetCC_P2", ")", ";", "SmallVector", "<", "std", "::", "pair", "<", "int", ",", "unsigned", ">", ",", "4", ">", "ResultMemLocs", ";", "for", "(", "unsigned", "i", "=", "0", ",", "e", "=", "RVLocs", ".", "size", "(", ")", ";", "i", "!=", "e", ";", "++", "i", ")", "{", "const", "CCValAssign", "&", "VA", "=", "RVLocs", "[", "i", "]", ";", "if", "(", "VA", ".", "isRegLoc", "(", ")", ")", "{", "SDValue", "RetValue", ";", "DAG", ".", "getMachineFunction", "(", ")", ".", "getRegInfo", "(", ")", ".", "addLiveIn", "(", "VA", ".", "getLocReg", "(", ")", ")", ";", "RetValue", "=", "DAG", ".", "getCopyFromReg", "(", "Chain", ",", "dl", ",", "VA", ".", "getLocReg", "(", ")", ",", "VA", ".", "getValVT", "(", ")", ",", "InFlag", ")", ";", "InVals", ".", "push_back", "(", "RetValue", ")", ";", "Chain", "=", "RetValue", ".", "getValue", "(", "1", ")", ";", "InFlag", "=", "RetValue", ".", "getValue", "(", "2", ")", ";", "}", "else", "{", "assert", "(", "VA", ".", "isMemLoc", "(", ")", "&&", "\"Must be memory location.\"", ")", ";", "llvm_unreachable", "(", "\"returning values via memory not yet supported!\"", ")", ";", "}", "}", "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": ["P2", "P2", "ISD::InputArg", "16", "\"=== Lower Call Result\\n\"", "P2", "4", "0", "1", "2", "\"Must be memory location.\"", "\"returning values via memory not yet supported!\""], "File": "P2ISelLowering", "Func": "LowerCallResult", "Target": "P2", "Target_Clf": "MPU", "Compiler_Type": "LLVM", "Idx": 3619, "Length": 260, "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": 3620, "Length": 10, "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": 3621, "Length": 404, "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": 3622, "Length": 154, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "bool", "SILoadStoreOptimizer", "::", "runOnMachineFunction", "(", "MachineFunction", "&", "MF", ")", "{", "if", "(", "skipFunction", "(", "*", "MF", ".", "getFunction", "(", ")", ")", ")", "return", "false", ";", "STM", "=", "&", "MF", ".", "getSubtarget", "<", "SISubtarget", ">", "(", ")", ";", "if", "(", "!", "STM", "->", "loadStoreOptEnabled", "(", ")", ")", "return", "false", ";", "TII", "=", "STM", "->", "getInstrInfo", "(", ")", ";", "TRI", "=", "&", "TII", "->", "getRegisterInfo", "(", ")", ";", "MRI", "=", "&", "MF", ".", "getRegInfo", "(", ")", ";", "AA", "=", "&", "getAnalysis", "<", "AAResultsWrapperPass", ">", "(", ")", ".", "getAAResults", "(", ")", ";", "assert", "(", "MRI", "->", "isSSA", "(", ")", "&&", "\"Must be run on SSA\"", ")", ";", "DEBUG", "(", "dbgs", "(", ")", "<<", "\"Running SILoadStoreOptimizer\\n\"", ")", ";", "bool", "Modified", "=", "false", ";", "CreatedX2", "=", "0", ";", "for", "(", "MachineBasicBlock", "&", "MBB", ":", "MF", ")", "Modified", "|=", "optimizeBlock", "(", "MBB", ")", ";", "if", "(", "CreatedX2", ">=", "1", ")", "{", "for", "(", "MachineBasicBlock", "&", "MBB", ":", "MF", ")", "Modified", "|=", "optimizeBlock", "(", "MBB", ")", ";", "}", "return", "Modified", ";", "}", ""], "natrual_language": ["runOnMachineFunction", "-", "Emit", "the", "function", "body", "."], "TS_V_token": ["AMDGPU", "SI", "SI", "\"Must be run on SSA\"", "\"Running SILoadStoreOptimizer\\n\"", "0", "1"], "File": "SILoadStoreOptimizer36", "Func": "runOnMachineFunction", "Target": "AMDGPU", "Target_Clf": "GPU", "Compiler_Type": "LLVM", "Idx": 3623, "Length": 160, "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": 3624, "Length": 268, "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", ".", "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": "ARMISelLowering117", "Func": "isShuffleMaskLegal", "Target": "ARM", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 3625, "Length": 273, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "void", "setError", "(", "unsigned", "e", ",", "unsigned", "r", "=", "Hexagon", "::", "NoRegister", ")", "{", "s", ".", "Error", "=", "e", ";", "s", ".", "Register", "=", "r", ";", "}", ""], "natrual_language": ["Set", "error", "and", "error", "message", "."], "TS_V_token": ["Hexagon", "Hexagon::NoRegister"], "File": "HexagonMCChecker1", "Func": "setError", "Target": "Hexagon", "Target_Clf": "DSP", "Compiler_Type": "LLVM", "Idx": 3626, "Length": 27, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "void", "R600SchedStrategy", "::", "releaseTopNode", "(", "SUnit", "*", "SU", ")", "{", "DEBUG", "(", "dbgs", "(", ")", "<<", "\"Top Releasing \"", ";", "SU", "->", "dump", "(", "DAG", ")", ";", ")", ";", "}", ""], "natrual_language": ["SU", "has", "had", "all", "predecessor", "dependencies", "resolved", "."], "TS_V_token": ["AMDGPU", "R600", "\"Top Releasing \""], "File": "R600MachineScheduler (2)", "Func": "releaseTopNode", "Target": "AMDGPU", "Target_Clf": "GPU", "Compiler_Type": "LLVM", "Idx": 3627, "Length": 28, "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": 3628, "Length": 423, "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": 3629, "Length": 137, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "int", "d30v_trampoline_size", "(", ")", "{", "return", "16", ";", "}", ""], "natrual_language": ["A", "C", "expression", "for", "the", "size", "in", "bytes", "of", "the", "trampoline", ",", "as", "an", "integer", "."], "TS_V_token": ["d30v", "16"], "File": "d30v", "Func": "d30v_trampoline_size", "Target": "d30v", "Target_Clf": "CPU", "Compiler_Type": "GCC", "Idx": 3630, "Length": 9, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "TargetPassConfig", "*", "ARCTargetMachine", "::", "createPassConfig", "(", "PassManagerBase", "&", "PM", ")", "{", "return", "new", "ARCPassConfig", "(", "*", "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": ["ARC", "ARC", "ARC"], "File": "ARCTargetMachine", "Func": "createPassConfig", "Target": "ARC", "Target_Clf": "MPU", "Compiler_Type": "LLVM", "Idx": 3631, "Length": 22, "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": 3632, "Length": 12, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "SUnit", "*", "ConvergingVLIWScheduler", "::", "pickNodeBidrectional", "(", "bool", "&", "IsTopNode", ")", "{", "if", "(", "SUnit", "*", "SU", "=", "Bot", ".", "pickOnlyChoice", "(", ")", ")", "{", "DEBUG", "(", "dbgs", "(", ")", "<<", "\"Picked only Bottom\\n\"", ")", ";", "IsTopNode", "=", "false", ";", "return", "SU", ";", "}", "if", "(", "SUnit", "*", "SU", "=", "Top", ".", "pickOnlyChoice", "(", ")", ")", "{", "DEBUG", "(", "dbgs", "(", ")", "<<", "\"Picked only Top\\n\"", ")", ";", "IsTopNode", "=", "true", ";", "return", "SU", ";", "}", "SchedCandidate", "BotCand", ";", "CandResult", "BotResult", "=", "pickNodeFromQueue", "(", "Bot", ",", "DAG", "->", "getBotRPTracker", "(", ")", ",", "BotCand", ")", ";", "assert", "(", "BotResult", "!=", "NoCand", "&&", "\"failed to find the first candidate\"", ")", ";", "if", "(", "BotResult", "==", "SingleExcess", "||", "BotResult", "==", "SingleCritical", ")", "{", "DEBUG", "(", "dbgs", "(", ")", "<<", "\"Prefered Bottom Node\\n\"", ")", ";", "IsTopNode", "=", "false", ";", "return", "BotCand", ".", "SU", ";", "}", "SchedCandidate", "TopCand", ";", "CandResult", "TopResult", "=", "pickNodeFromQueue", "(", "Top", ",", "DAG", "->", "getTopRPTracker", "(", ")", ",", "TopCand", ")", ";", "assert", "(", "TopResult", "!=", "NoCand", "&&", "\"failed to find the first candidate\"", ")", ";", "if", "(", "TopResult", "==", "SingleExcess", "||", "TopResult", "==", "SingleCritical", ")", "{", "DEBUG", "(", "dbgs", "(", ")", "<<", "\"Prefered Top Node\\n\"", ")", ";", "IsTopNode", "=", "true", ";", "return", "TopCand", ".", "SU", ";", "}", "if", "(", "BotResult", "==", "SingleMax", ")", "{", "DEBUG", "(", "dbgs", "(", ")", "<<", "\"Prefered Bottom Node SingleMax\\n\"", ")", ";", "IsTopNode", "=", "false", ";", "return", "BotCand", ".", "SU", ";", "}", "if", "(", "TopResult", "==", "SingleMax", ")", "{", "DEBUG", "(", "dbgs", "(", ")", "<<", "\"Prefered Top Node SingleMax\\n\"", ")", ";", "IsTopNode", "=", "true", ";", "return", "TopCand", ".", "SU", ";", "}", "if", "(", "TopCand", ".", "SCost", ">", "BotCand", ".", "SCost", ")", "{", "DEBUG", "(", "dbgs", "(", ")", "<<", "\"Prefered Top Node Cost\\n\"", ")", ";", "IsTopNode", "=", "true", ";", "return", "TopCand", ".", "SU", ";", "}", "DEBUG", "(", "dbgs", "(", ")", "<<", "\"Prefered Bottom in Node order\\n\"", ")", ";", "IsTopNode", "=", "false", ";", "return", "BotCand", ".", "SU", ";", "}", ""], "natrual_language": ["Pick", "the", "best", "candidate", "node", "from", "either", "the", "top", "or", "bottom", "queue", "."], "TS_V_token": ["Hexagon", "\"Picked only Bottom\\n\"", "\"Picked only Top\\n\"", "\"failed to find the first candidate\"", "\"Prefered Bottom Node\\n\"", "\"failed to find the first candidate\"", "\"Prefered Top Node\\n\"", "\"Prefered Bottom Node SingleMax\\n\"", "\"Prefered Top Node SingleMax\\n\"", "\"Prefered Top Node Cost\\n\"", "\"Prefered Bottom in Node order\\n\""], "File": "HexagonMachineScheduler31", "Func": "pickNodeBidrectional", "Target": "Hexagon", "Target_Clf": "DSP", "Compiler_Type": "LLVM", "Idx": 3633, "Length": 288, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "bool", "HexagonConstEvaluator", "::", "evaluate", "(", "const", "MachineInstr", "&", "BrI", ",", "const", "CellMap", "&", "Inputs", ",", "SetVector", "<", "const", "MachineBasicBlock", "*", ">", "&", "Targets", ",", "bool", "&", "FallsThru", ")", "{", "unsigned", "Opc", "=", "BrI", ".", "getOpcode", "(", ")", ";", "bool", "SimpleBranch", "=", "false", ";", "bool", "Negated", "=", "false", ";", "switch", "(", "Opc", ")", "{", "case", "Hexagon", "::", "J2_jumpf", ":", "case", "Hexagon", "::", "J2_jumpfnew", ":", "case", "Hexagon", "::", "J2_jumpfnewpt", ":", "Negated", "=", "true", ";", "LLVM_FALLTHROUGH", ";", "case", "Hexagon", "::", "J2_jumpt", ":", "case", "Hexagon", "::", "J2_jumptnew", ":", "case", "Hexagon", "::", "J2_jumptnewpt", ":", "SimpleBranch", "=", "true", ";", "break", ";", "case", "Hexagon", "::", "J2_jump", ":", "Targets", ".", "insert", "(", "BrI", ".", "getOperand", "(", "0", ")", ".", "getMBB", "(", ")", ")", ";", "FallsThru", "=", "false", ";", "return", "true", ";", "default", ":", "Undetermined", ":", "FallsThru", "=", "!", "BrI", ".", "isUnconditionalBranch", "(", ")", ";", "return", "false", ";", "}", "if", "(", "SimpleBranch", ")", "{", "const", "MachineOperand", "&", "MD", "=", "BrI", ".", "getOperand", "(", "0", ")", ";", "Register", "PR", "(", "MD", ")", ";", "if", "(", "PR", ".", "SubReg", ")", "goto", "Undetermined", ";", "assert", "(", "Inputs", ".", "has", "(", "PR", ".", "Reg", ")", ")", ";", "const", "LatticeCell", "&", "PredC", "=", "Inputs", ".", "get", "(", "PR", ".", "Reg", ")", ";", "if", "(", "PredC", ".", "isBottom", "(", ")", ")", "goto", "Undetermined", ";", "uint32_t", "Props", "=", "PredC", ".", "properties", "(", ")", ";", "bool", "CTrue", "=", "false", ",", "CFalse", "=", "false", ";", "if", "(", "Props", "&", "ConstantProperties", "::", "Zero", ")", "CFalse", "=", "true", ";", "else", "if", "(", "Props", "&", "ConstantProperties", "::", "NonZero", ")", "CTrue", "=", "true", ";", "if", "(", "!", "CTrue", "&&", "!", "CFalse", ")", "goto", "Undetermined", ";", "const", "MachineBasicBlock", "*", "BranchTarget", "=", "BrI", ".", "getOperand", "(", "1", ")", ".", "getMBB", "(", ")", ";", "FallsThru", "=", "false", ";", "if", "(", "(", "!", "Negated", "&&", "CTrue", ")", "||", "(", "Negated", "&&", "CFalse", ")", ")", "Targets", ".", "insert", "(", "BranchTarget", ")", ";", "else", "if", "(", "(", "!", "Negated", "&&", "CFalse", ")", "||", "(", "Negated", "&&", "CTrue", ")", ")", "FallsThru", "=", "true", ";", "else", "goto", "Undetermined", ";", "}", "return", "true", ";", "}", ""], "natrual_language": ["evaluate", "-", "Evaluate", "Expr", "and", "append", "the", "resulting", "set", "to", "Elts", "."], "TS_V_token": ["Hexagon", "Hexagon", "Hexagon::J2_jumpf", "Hexagon::J2_jumpfnew", "Hexagon::J2_jumpfnewpt", "Hexagon::J2_jumpt", "Hexagon::J2_jumptnew", "Hexagon::J2_jumptnewpt", "Hexagon::J2_jump", "0", "0", "1"], "File": "HexagonConstPropagation10", "Func": "evaluate", "Target": "Hexagon", "Target_Clf": "DSP", "Compiler_Type": "LLVM", "Idx": 3634, "Length": 334, "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": "MipsRegisterInfo (2)1", "Func": "eliminateFrameIndex", "Target": "Mips", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 3635, "Length": 149, "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": 3636, "Length": 443, "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": 3637, "Length": 23, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "virtual", "const", "XCoreInstrInfo", "*", "getInstrInfo", "(", ")", "const", "{", "return", "&", "InstrInfo", ";", "}", ""], "natrual_language": ["TargetInstrInfo", "getter", "."], "TS_V_token": ["XCore", "XCore"], "File": "XCoreTargetMachine1", "Func": "getInstrInfo", "Target": "XCore", "Target_Clf": "MPU", "Compiler_Type": "LLVM", "Idx": 3638, "Length": 14, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "static", "tree", "visium_md_asm_clobbers", "(", "tree", "outputs", "ATTRIBUTE_UNUSED", ",", "tree", "inputs", "ATTRIBUTE_UNUSED", ",", "tree", "clobbers", ")", "{", "const", "char", "*", "flags", "=", "reg_names", "[", "FLAGS_REGNUM", "]", ";", "return", "tree_cons", "(", "NULL_TREE", ",", "build_string", "(", "strlen", "(", "flags", ")", ",", "flags", ")", ",", "clobbers", ")", ";", "}", ""], "natrual_language": ["Prepend", "to", "CLOBBERS", "hard", "registers", "that", "are", "automatically", "clobbered", "for", "an", "asm", "We", "do", "this", "for", "the", "FLAGS", "to", "maintain", "source", "compatibility", "with", "the", "original", "cc0-based", "compiler", "."], "TS_V_token": ["visium"], "File": "visium2", "Func": "visium_md_asm_clobbers", "Target": "visium", "Target_Clf": "Virtual ISA", "Compiler_Type": "GCC", "Idx": 3639, "Length": 45, "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": 3640, "Length": 252, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "rtx", "extract_nth_access_reg", "(", "rtx_insn", "*", "insn", ",", "int", "index", ")", "{", "switch", "(", "GET_CODE", "(", "PATTERN", "(", "insn", ")", ")", ")", "{", "case", "PARALLEL", ":", "return", "extract_nth_lmsw_access_reg", "(", "insn", ",", "index", ")", ";", "case", "SET", ":", "return", "extract_nth_ls2_access_reg", "(", "insn", ",", "index", ")", ";", "default", ":", "gcc_unreachable", "(", ")", ";", "}", "}", ""], "natrual_language": ["Returns", "the", "register", "operated", "by", "the", "nth", "load/store", "operation", "in", "the", "real", "micro-operation", "accessing", "order", "."], "TS_V_token": ["nds32"], "File": "nds32-pipelines-auxiliary", "Func": "extract_nth_access_reg", "Target": "nds32", "Target_Clf": "CPU", "Compiler_Type": "GCC", "Idx": 3641, "Length": 52, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "unsigned", "NVPTXRegisterInfo", "::", "getFrameRegister", "(", "const", "MachineFunction", "&", "MF", ")", "const", "{", "return", "NVPTX", "::", "VRFrame", ";", "}", ""], "natrual_language": ["Debug", "information", "queries", "."], "TS_V_token": ["NVPTX", "NVPTX", "NVPTX::VRFrame"], "File": "NVPTXRegisterInfo1", "Func": "getFrameRegister", "Target": "NVPTX", "Target_Clf": "GPU", "Compiler_Type": "LLVM", "Idx": 3642, "Length": 18, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "rtx", "tilegx_emit_conditional_move", "(", "rtx", "cmp", ")", "{", "return", "tilegx_emit_cc_test", "(", "GET_CODE", "(", "cmp", ")", ",", "XEXP", "(", "cmp", ",", "0", ")", ",", "XEXP", "(", "cmp", ",", "1", ")", ",", "GET_MODE", "(", "XEXP", "(", "cmp", ",", "0", ")", ")", ",", "true", ")", ";", "}", ""], "natrual_language": ["Implement", "the", "mov", "<", "mode", ">", "cc", "pattern", "."], "TS_V_token": ["tilegx", "0", "1", "0"], "File": "tilegx", "Func": "tilegx_emit_conditional_move", "Target": "tilegx", "Target_Clf": "VLIW", "Compiler_Type": "GCC", "Idx": 3643, "Length": 43, "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": 3644, "Length": 352, "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": 3645, "Length": 177, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "bool", "SPUPassConfig", "::", "addPreEmitPass", "(", ")", "{", "typedef", "llvm", "::", "FunctionPass", "*", "(", "*", "BuilderFunc", ")", "(", "const", "char", "*", ")", ";", "BuilderFunc", "schedulerCreator", "=", "(", "BuilderFunc", ")", "(", "intptr_t", ")", "sys", "::", "DynamicLibrary", "::", "SearchForAddressOfSymbol", "(", "\"createTCESchedulerPass\"", ")", ";", "if", "(", "schedulerCreator", "!=", "NULL", ")", "addPass", "(", "schedulerCreator", "(", "\"cellspu\"", ")", ")", ";", "addPass", "(", "createSPUNopFillerPass", "(", "getSPUTargetMachine", "(", ")", ")", ")", ";", "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": ["CellSPU", "SPU", "\"createTCESchedulerPass\"", "\"cellspu\"", "SPU", "SPU"], "File": "SPUTargetMachine11", "Func": "addPreEmitPass", "Target": "CellSPU", "Target_Clf": "MPU", "Compiler_Type": "LLVM", "Idx": 3646, "Length": 68, "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": 3647, "Length": 99, "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": 3648, "Length": 111, "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": 3649, "Length": 47, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "void", "getAnalysisUsage", "(", "AnalysisUsage", "&", "AU", ")", "const", "override", "{", "AU", ".", "addRequired", "<", "MachineLoopInfo", ">", "(", ")", ";", "AU", ".", "addRequired", "<", "LiveIntervals", ">", "(", ")", ";", "AU", ".", "addRequired", "<", "VirtRegMap", ">", "(", ")", ";", "AU", ".", "addRequired", "<", "LiveRegMatrix", ">", "(", ")", ";", "AU", ".", "setPreservesAll", "(", ")", ";", "MachineFunctionPass", "::", "getAnalysisUsage", "(", "AU", ")", ";", "}", ""], "natrual_language": ["getAnalysisUsage", "-", "Subclasses", "that", "override", "getAnalysisUsage", "must", "call", "this", "."], "TS_V_token": ["AMDGPU"], "File": "GCNRegBankReassign", "Func": "getAnalysisUsage", "Target": "AMDGPU", "Target_Clf": "GPU", "Compiler_Type": "LLVM", "Idx": 3650, "Length": 60, "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": 3651, "Length": 33, "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": 3652, "Length": 114, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "void", "Z80MCCodeEmitter", "::", "encodeInstruction", "(", "const", "MCInst", "&", "MC", ",", "raw_ostream", "&", "OS", ",", "SmallVectorImpl", "<", "MCFixup", ">", "&", "Fixups", ",", "const", "MCSubtargetInfo", "&", "STI", ")", "const", "{", "llvm_unreachable", "(", "\"Unimplemented\"", ")", ";", "}", ""], "natrual_language": ["Encode", "the", "given", "Inst", "to", "bytes", "and", "append", "to", "CB", "."], "TS_V_token": ["Z80", "Z80", "\"Unimplemented\""], "File": "Z80MCCodeEmitter1", "Func": "encodeInstruction", "Target": "Z80", "Target_Clf": "MPU", "Compiler_Type": "LLVM", "Idx": 3653, "Length": 34, "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": 3654, "Length": 126, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "int", "crx_memory_move_cost", "(", "enum", "machine_mode", "mode", ",", "enum", "reg_class", "class", "ATTRIBUTE_UNUSED", ",", "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", ",", "HILO_REGS", ")", ")", "{", "return", "(", "REGISTER_MOVE_COST", "(", "mode", ",", "in", "?", "GENERAL_REGS", ":", "HILO_REGS", ",", "in", "?", "HILO_REGS", ":", "GENERAL_REGS", ")", "+", "4", ")", "*", "HARD_REGNO_NREGS", "(", "0", ",", "mode", ")", ";", "}", "else", "{", "return", "100", ";", "}", "}", ""], "natrual_language": ["Return", "the", "cost", "of", "moving", "data", "of", "mode", "MODE", "between", "a", "register", "of", "class", "*", "CLASS", "and", "memory", ";", "IN", "is", "zero", "if", "the", "value", "is", "to", "be", "written", "to", "memory", ",", "*", "nonzero", "if", "it", "is", "to", "be", "read", "in", ".", "This", "cost", "is", "relative", "to", "those", "in", "*", "REGISTER_MOVE_COST", "."], "TS_V_token": ["crx", "4", "0", "4", "0", "100"], "File": "crx", "Func": "crx_memory_move_cost", "Target": "crx", "Target_Clf": "CPU", "Compiler_Type": "GCC", "Idx": 3655, "Length": 86, "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": 3656, "Length": 26, "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": 3657, "Length": 185, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "static", "void", "frv_function_prologue", "(", "FILE", "*", "file", ")", "{", "if", "(", "frv_stack_info", "(", ")", "->", "total_size", "==", "0", "&&", "frv_function_contains_far_jump", "(", ")", ")", "{", "rtx_insn", "*", "insn", ";", "gcc_assert", "(", "!", "df_regs_ever_live_p", "(", "GPR_FIRST", "+", "3", ")", ")", ";", "fprintf", "(", "file", ",", "\"\\tmovsg lr,gr3\\n\"", ")", ";", "for", "(", "insn", "=", "get_insns", "(", ")", ";", "insn", "!=", "NULL", ";", "insn", "=", "NEXT_INSN", "(", "insn", ")", ")", "if", "(", "JUMP_P", "(", "insn", ")", ")", "{", "rtx", "pattern", "=", "PATTERN", "(", "insn", ")", ";", "if", "(", "GET_CODE", "(", "pattern", ")", "==", "PARALLEL", "&&", "XVECLEN", "(", "pattern", ",", "0", ")", ">=", "2", "&&", "GET_CODE", "(", "XVECEXP", "(", "pattern", ",", "0", ",", "0", ")", ")", "==", "RETURN", "&&", "GET_CODE", "(", "XVECEXP", "(", "pattern", ",", "0", ",", "1", ")", ")", "==", "USE", ")", "{", "rtx", "address", "=", "XEXP", "(", "XVECEXP", "(", "pattern", ",", "0", ",", "1", ")", ",", "0", ")", ";", "if", "(", "GET_CODE", "(", "address", ")", "==", "REG", "&&", "REGNO", "(", "address", ")", "==", "LR_REGNO", ")", "SET_REGNO", "(", "address", ",", "GPR_FIRST", "+", "3", ")", ";", "}", "}", "}", "frv_pack_insns", "(", ")", ";", "memset", "(", "frv_nops", ",", "0", ",", "sizeof", "(", "frv_nops", ")", ")", ";", "}", ""], "natrual_language": ["For", "the", "FRV", ",", "this", "function", "makes", "sure", "that", "a", "function", "with", "far", "jumps", "will", "return", "correctly", ".", "It", "also", "does", "the", "VLIW", "packing", "."], "TS_V_token": ["frv", "0", "3", "\"\\tmovsg lr,gr3\\n\"", "0", "2", "0", "0", "0", "1", "0", "1", "0", "3", "0"], "File": "frv", "Func": "frv_function_prologue", "Target": "frv", "Target_Clf": "VLIW", "Compiler_Type": "GCC", "Idx": 3658, "Length": 190, "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": 3659, "Length": 113, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "bool", "s390_output_addr_const_extra", "(", "FILE", "*", "file", ",", "rtx", "x", ")", "{", "if", "(", "GET_CODE", "(", "x", ")", "==", "UNSPEC", "&&", "XVECLEN", "(", "x", ",", "0", ")", "==", "1", ")", "switch", "(", "XINT", "(", "x", ",", "1", ")", ")", "{", "case", "UNSPEC_GOTENT", ":", "output_addr_const", "(", "file", ",", "XVECEXP", "(", "x", ",", "0", ",", "0", ")", ")", ";", "fprintf", "(", "file", ",", "\"@GOTENT\"", ")", ";", "return", "true", ";", "case", "UNSPEC_GOT", ":", "output_addr_const", "(", "file", ",", "XVECEXP", "(", "x", ",", "0", ",", "0", ")", ")", ";", "fprintf", "(", "file", ",", "\"@GOT\"", ")", ";", "return", "true", ";", "case", "UNSPEC_GOTOFF", ":", "output_addr_const", "(", "file", ",", "XVECEXP", "(", "x", ",", "0", ",", "0", ")", ")", ";", "fprintf", "(", "file", ",", "\"@GOTOFF\"", ")", ";", "return", "true", ";", "case", "UNSPEC_PLT", ":", "output_addr_const", "(", "file", ",", "XVECEXP", "(", "x", ",", "0", ",", "0", ")", ")", ";", "fprintf", "(", "file", ",", "\"@PLT\"", ")", ";", "return", "true", ";", "case", "UNSPEC_PLTOFF", ":", "output_addr_const", "(", "file", ",", "XVECEXP", "(", "x", ",", "0", ",", "0", ")", ")", ";", "fprintf", "(", "file", ",", "\"@PLTOFF\"", ")", ";", "return", "true", ";", "case", "UNSPEC_TLSGD", ":", "output_addr_const", "(", "file", ",", "XVECEXP", "(", "x", ",", "0", ",", "0", ")", ")", ";", "fprintf", "(", "file", ",", "\"@TLSGD\"", ")", ";", "return", "true", ";", "case", "UNSPEC_TLSLDM", ":", "assemble_name", "(", "file", ",", "get_some_local_dynamic_name", "(", ")", ")", ";", "fprintf", "(", "file", ",", "\"@TLSLDM\"", ")", ";", "return", "true", ";", "case", "UNSPEC_DTPOFF", ":", "output_addr_const", "(", "file", ",", "XVECEXP", "(", "x", ",", "0", ",", "0", ")", ")", ";", "fprintf", "(", "file", ",", "\"@DTPOFF\"", ")", ";", "return", "true", ";", "case", "UNSPEC_NTPOFF", ":", "output_addr_const", "(", "file", ",", "XVECEXP", "(", "x", ",", "0", ",", "0", ")", ")", ";", "fprintf", "(", "file", ",", "\"@NTPOFF\"", ")", ";", "return", "true", ";", "case", "UNSPEC_GOTNTPOFF", ":", "output_addr_const", "(", "file", ",", "XVECEXP", "(", "x", ",", "0", ",", "0", ")", ")", ";", "fprintf", "(", "file", ",", "\"@GOTNTPOFF\"", ")", ";", "return", "true", ";", "case", "UNSPEC_INDNTPOFF", ":", "output_addr_const", "(", "file", ",", "XVECEXP", "(", "x", ",", "0", ",", "0", ")", ")", ";", "fprintf", "(", "file", ",", "\"@INDNTPOFF\"", ")", ";", "return", "true", ";", "}", "return", "false", ";", "}", ""], "natrual_language": ["Output", "machine-dependent", "UNSPECs", "occurring", "in", "address", "constant", "X", "in", "assembler", "syntax", "to", "stdio", "stream", "FILE", ".", "Returns", "true", "if", "the", "constant", "X", "could", "be", "recognized", ",", "false", "otherwise", "."], "TS_V_token": ["s390", "0", "1", "1", "0", "0", "\"@GOTENT\"", "0", "0", "\"@GOT\"", "0", "0", "\"@GOTOFF\"", "0", "0", "\"@PLT\"", "0", "0", "\"@PLTOFF\"", "0", "0", "\"@TLSGD\"", "\"@TLSLDM\"", "0", "0", "\"@DTPOFF\"", "0", "0", "\"@NTPOFF\"", "0", "0", "\"@GOTNTPOFF\"", "0", "0", "\"@INDNTPOFF\""], "File": "s3903", "Func": "s390_output_addr_const_extra", "Target": "s390", "Target_Clf": "MPU", "Compiler_Type": "GCC", "Idx": 3660, "Length": 336, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "unsigned", "getRegister", "(", ")", "const", "{", "assert", "(", "!", "IsStack", ")", ";", "return", "Register", ";", "}", ""], "natrual_language": ["Return", "the", "specified", "register", "in", "the", "class", "."], "TS_V_token": ["AMDGPU"], "File": "AMDGPUArgumentUsageInfo11", "Func": "getRegister", "Target": "AMDGPU", "Target_Clf": "GPU", "Compiler_Type": "LLVM", "Idx": 3661, "Length": 16, "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": 3662, "Length": 477, "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": 3663, "Length": 262, "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": 3664, "Length": 251, "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": 3665, "Length": 182, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "bool", "HexagonFrameLowering", "::", "hasFP", "(", "const", "MachineFunction", "&", "MF", ")", "const", "{", "if", "(", "MF", ".", "getFunction", "(", ")", ".", "hasFnAttribute", "(", "Attribute", "::", "Naked", ")", ")", "return", "false", ";", "auto", "&", "MFI", "=", "MF", ".", "getFrameInfo", "(", ")", ";", "auto", "&", "HRI", "=", "*", "MF", ".", "getSubtarget", "<", "HexagonSubtarget", ">", "(", ")", ".", "getRegisterInfo", "(", ")", ";", "bool", "HasExtraAlign", "=", "HRI", ".", "needsStackRealignment", "(", "MF", ")", ";", "bool", "HasAlloca", "=", "MFI", ".", "hasVarSizedObjects", "(", ")", ";", "if", "(", "MF", ".", "getTarget", "(", ")", ".", "getOptLevel", "(", ")", "==", "CodeGenOpt", "::", "None", ")", "return", "true", ";", "if", "(", "HasAlloca", "||", "HasExtraAlign", ")", "return", "true", ";", "if", "(", "MFI", ".", "getStackSize", "(", ")", ">", "0", ")", "{", "const", "TargetMachine", "&", "TM", "=", "MF", ".", "getTarget", "(", ")", ";", "if", "(", "TM", ".", "Options", ".", "DisableFramePointerElim", "(", "MF", ")", "||", "!", "EliminateFramePointer", ")", "return", "true", ";", "if", "(", "EnableStackOVFSanitizer", ")", "return", "true", ";", "}", "const", "auto", "&", "HMFI", "=", "*", "MF", ".", "getInfo", "<", "HexagonMachineFunctionInfo", ">", "(", ")", ";", "if", "(", "(", "MFI", ".", "hasCalls", "(", ")", "&&", "!", "enableAllocFrameElim", "(", "MF", ")", ")", "||", "HMFI", ".", "hasClobberLR", "(", ")", ")", "return", "true", ";", "return", "false", ";", "}", ""], "natrual_language": ["hasFP", "-", "Return", "true", "if", "the", "specified", "function", "should", "have", "a", "dedicated", "frame", "pointer", "register", "."], "TS_V_token": ["Hexagon", "Hexagon", "Hexagon", "0", "Hexagon"], "File": "HexagonFrameLowering10", "Func": "hasFP", "Target": "Hexagon", "Target_Clf": "DSP", "Compiler_Type": "LLVM", "Idx": 3666, "Length": 196, "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": 3667, "Length": 199, "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": 3668, "Length": 92, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "static", "bool", "signed_compare_p", "(", "enum", "rtx_code", "code", ")", "{", "return", "(", "code", "==", "EQ", "||", "code", "==", "NE", "||", "code", "==", "LT", "||", "code", "==", "LE", "||", "code", "==", "GT", "||", "code", "==", "GE", ")", ";", "}", ""], "natrual_language": ["Return", "whether", "CODE", "is", "a", "signed", "comparison", "."], "TS_V_token": ["tilepro"], "File": "tilepro", "Func": "signed_compare_p", "Target": "tilepro", "Target_Clf": "VLIW", "Compiler_Type": "GCC", "Idx": 3669, "Length": 37, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "rtx_code", "m68k_output_compare_hi", "(", "rtx", "op0", ",", "rtx", "op1", ",", "rtx_code", "code", ")", "{", "rtx_code", "tmp", "=", "m68k_find_flags_value", "(", "op0", ",", "op1", ",", "code", ")", ";", "if", "(", "tmp", "!=", "UNKNOWN", ")", "return", "tmp", ";", "remember_compare_flags", "(", "op0", ",", "op1", ")", ";", "rtx", "ops", "[", "2", "]", ";", "ops", "[", "0", "]", "=", "op0", ";", "ops", "[", "1", "]", "=", "op1", ";", "if", "(", "op1", "==", "const0_rtx", ")", "output_asm_insn", "(", "\"tst%.w %d0\"", ",", "ops", ")", ";", "else", "if", "(", "GET_CODE", "(", "op0", ")", "==", "MEM", "&&", "GET_CODE", "(", "op1", ")", "==", "MEM", ")", "output_asm_insn", "(", "\"cmpm%.w %1,%0\"", ",", "ops", ")", ";", "else", "if", "(", "(", "REG_P", "(", "op1", ")", "&&", "!", "ADDRESS_REG_P", "(", "op1", ")", ")", "||", "(", "!", "REG_P", "(", "op0", ")", "&&", "GET_CODE", "(", "op0", ")", "!=", "MEM", ")", ")", "{", "output_asm_insn", "(", "\"cmp%.w %d0,%d1\"", ",", "ops", ")", ";", "std", "::", "swap", "(", "flags_compare_op0", ",", "flags_compare_op1", ")", ";", "return", "swap_condition", "(", "code", ")", ";", "}", "else", "output_asm_insn", "(", "\"cmp%.w %d1,%d0\"", ",", "ops", ")", ";", "return", "code", ";", "}", ""], "natrual_language": ["Emit", "a", "comparison", "between", "OP0", "and", "OP1", ".", "CODE", "is", "the", "code", "of", "the", "comparison", ".", "It", "is", "returned", ",", "potentially", "modified", "if", "necessary", "."], "TS_V_token": ["m68k", "2", "0", "1", "\"tst%.w %d0\"", "\"cmpm%.w %1,%0\"", "\"cmp%.w %d0,%d1\"", "\"cmp%.w %d1,%d0\""], "File": "m68k", "Func": "m68k_output_compare_hi", "Target": "m68k", "Target_Clf": "MPU", "Compiler_Type": "GCC", "Idx": 3670, "Length": 165, "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": 3671, "Length": 98, "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": 3672, "Length": 93, "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": 3673, "Length": 176, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "bool", "MOSAsmPrinter", "::", "PrintAsmMemoryOperand", "(", "const", "MachineInstr", "*", "MI", ",", "unsigned", "OpNo", ",", "const", "char", "*", "ExtraCode", ",", "raw_ostream", "&", "OS", ")", "{", "return", "PrintAsmOperand", "(", "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": ["MOS", "MOS"], "File": "MOSAsmPrinter", "Func": "PrintAsmMemoryOperand", "Target": "MOS", "Target_Clf": "MPU", "Compiler_Type": "LLVM", "Idx": 3674, "Length": 36, "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": 3675, "Length": 65, "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": 3676, "Length": 324, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "RegisterRef", "RegisterAggr", "::", "intersectWith", "(", "RegisterRef", "RR", ")", "const", "{", "RegisterAggr", "T", "(", "PRI", ")", ";", "T", ".", "insert", "(", "RR", ")", ".", "intersect", "(", "*", "this", ")", ";", "if", "(", "T", ".", "empty", "(", ")", ")", "return", "RegisterRef", "(", ")", ";", "RegisterRef", "NR", "=", "T", ".", "makeRegRef", "(", ")", ";", "assert", "(", "NR", ")", ";", "return", "NR", ";", "}", ""], "natrual_language": ["Clear", "any", "flags", "in", "this", "flag", "set", "that", "are", "n't", "also", "set", "in", "Flags", "."], "TS_V_token": ["Hexagon"], "File": "RDFRegisters", "Func": "intersectWith", "Target": "Hexagon", "Target_Clf": "DSP", "Compiler_Type": "LLVM", "Idx": 3677, "Length": 60, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "static", "rtx", "xtensa_function_arg", "(", "cumulative_args_t", "cum", ",", "machine_mode", "mode", ",", "const_tree", "type", ",", "bool", "named", "ATTRIBUTE_UNUSED", ")", "{", "return", "xtensa_function_arg_1", "(", "cum", ",", "mode", ",", "type", ",", "false", ")", ";", "}", ""], "natrual_language": ["Implement", "TARGET_FUNCTION_ARG", "."], "TS_V_token": ["xtensa"], "File": "xtensa4", "Func": "xtensa_function_arg", "Target": "xtensa", "Target_Clf": "MPU", "Compiler_Type": "GCC", "Idx": 3678, "Length": 31, "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": 3679, "Length": 11, "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": 3680, "Length": 135, "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": 3681, "Length": 132, "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": 3682, "Length": 16, "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": 3683, "Length": 51, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "static", "bool", "gprel_constant_p", "(", "rtx", "op", ")", "{", "if", "(", "GET_CODE", "(", "op", ")", "==", "SYMBOL_REF", "&&", "nios2_symbol_ref_in_small_data_p", "(", "op", ")", ")", "return", "true", ";", "else", "if", "(", "GET_CODE", "(", "op", ")", "==", "CONST", "&&", "GET_CODE", "(", "XEXP", "(", "op", ",", "0", ")", ")", "==", "PLUS", ")", "return", "gprel_constant_p", "(", "XEXP", "(", "XEXP", "(", "op", ",", "0", ")", ",", "0", ")", ")", ";", "return", "false", ";", "}", ""], "natrual_language": ["Return", "true", "if", "this", "is", "a", "GP-relative", "accessible", "reference", "."], "TS_V_token": ["nios2", "0", "0", "0"], "File": "nios22", "Func": "gprel_constant_p", "Target": "nios2", "Target_Clf": "MPU", "Compiler_Type": "GCC", "Idx": 3684, "Length": 67, "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": 3685, "Length": 11, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "function_sym_iterator", "HSACodeObject", "::", "functions_end", "(", ")", "const", "{", "return", "function_sym_iterator", "(", "symbol_end", "(", ")", ",", "symbol_end", "(", ")", ",", "[", "]", "(", "const", "SymbolRef", "&", ")", "{", "return", "true", ";", "}", ")", ";", "}", ""], "natrual_language": ["End", "iterator", "for", "functions", "."], "TS_V_token": ["AMDGPU"], "File": "CodeObject", "Func": "functions_end", "Target": "AMDGPU", "Target_Clf": "GPU", "Compiler_Type": "LLVM", "Idx": 3686, "Length": 34, "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": 3687, "Length": 156, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "AVRSubtarget", "::", "AVRSubtarget", "(", "const", "Triple", "&", "TT", ",", "const", "std", "::", "string", "&", "CPU", ",", "const", "std", "::", "string", "&", "FS", ",", "const", "AVRTargetMachine", "&", "TM", ")", ":", "AVRGenSubtargetInfo", "(", "TT", ",", "CPU", ",", "FS", ")", ",", "ELFArch", "(", "0", ")", ",", "m_hasSRAM", "(", "false", ")", ",", "m_hasJMPCALL", "(", "false", ")", ",", "m_hasIJMPCALL", "(", "false", ")", ",", "m_hasEIJMPCALL", "(", "false", ")", ",", "m_hasADDSUBIW", "(", "false", ")", ",", "m_hasSmallStack", "(", "false", ")", ",", "m_hasMOVW", "(", "false", ")", ",", "m_hasLPM", "(", "false", ")", ",", "m_hasLPMX", "(", "false", ")", ",", "m_hasELPM", "(", "false", ")", ",", "m_hasELPMX", "(", "false", ")", ",", "m_hasSPM", "(", "false", ")", ",", "m_hasSPMX", "(", "false", ")", ",", "m_hasDES", "(", "false", ")", ",", "m_supportsRMW", "(", "false", ")", ",", "m_supportsMultiplication", "(", "false", ")", ",", "m_hasBREAK", "(", "false", ")", ",", "m_hasTinyEncoding", "(", "false", ")", ",", "m_FeatureSetDummy", "(", "false", ")", ",", "InstrInfo", "(", ")", ",", "FrameLowering", "(", ")", ",", "TLInfo", "(", "TM", ",", "initializeSubtargetDependencies", "(", "CPU", ",", "FS", ",", "TM", ")", ")", ",", "TSInfo", "(", ")", "{", "ParseSubtargetFeatures", "(", "CPU", ",", "FS", ")", ";", "}", ""], "natrual_language": ["Creates", "an", "AVR", "subtarget", "."], "TS_V_token": ["AVR", "AVR", "AVR", "AVR", "AVR", "0"], "File": "AVRSubtarget8", "Func": "AVRSubtarget", "Target": "AVR", "Target_Clf": "MPU", "Compiler_Type": "LLVM", "Idx": 3688, "Length": 172, "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": 3689, "Length": 256, "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": 3690, "Length": 237, "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": 3691, "Length": 279, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "int", "frv_acc_group", "(", "rtx", "insn", ")", "{", "if", "(", "frv_cpu_type", "!=", "FRV_CPU_FR550", ")", "return", "ACC_GROUP_NONE", ";", "return", "for_each_rtx", "(", "&", "PATTERN", "(", "insn", ")", ",", "frv_acc_group_1", ",", "0", ")", ";", "}", ""], "natrual_language": ["Return", "the", "value", "of", "INSN", "'s", "acc_group", "attribute", "."], "TS_V_token": ["frv", "0"], "File": "frv2", "Func": "frv_acc_group", "Target": "frv", "Target_Clf": "VLIW", "Compiler_Type": "GCC", "Idx": 3692, "Length": 31, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "static", "void", "nvptx_optimize_inner", "(", "parallel", "*", "par", ")", "{", "parallel", "*", "inner", "=", "par", "->", "inner", ";", "if", "(", "!", "par", "->", "mask", ")", "return", ";", "if", "(", "!", "inner", "||", "inner", "->", "next", ")", "return", ";", "if", "(", "par", "->", "blocks", ".", "length", "(", ")", "!=", "2", ")", "return", ";", "if", "(", "(", "par", "->", "mask", "&", "inner", "->", "mask", ")", "&", "(", "GOMP_DIM_MASK", "(", "GOMP_DIM_MAX", ")", "-", "1", ")", ")", "return", ";", "rtx_insn", "*", "forked", "=", "par", "->", "forked_insn", ";", "rtx_insn", "*", "fork", "=", "BB_END", "(", "par", "->", "forked_block", ")", ";", "if", "(", "NEXT_INSN", "(", "forked", ")", "!=", "fork", ")", "return", ";", "gcc_checking_assert", "(", "recog_memoized", "(", "fork", ")", "==", "CODE_FOR_nvptx_fork", ")", ";", "rtx_insn", "*", "joining", "=", "par", "->", "joining_insn", ";", "rtx_insn", "*", "join", "=", "inner", "->", "join_insn", ";", "if", "(", "NEXT_INSN", "(", "join", ")", "!=", "joining", ")", "return", ";", "if", "(", "dump_file", ")", "fprintf", "(", "dump_file", ",", "\"Merging loop %x [%d,%d] into %x [%d,%d]\\n\"", ",", "inner", "->", "mask", ",", "inner", "->", "forked_block", "->", "index", ",", "inner", "->", "join_block", "->", "index", ",", "par", "->", "mask", ",", "par", "->", "forked_block", "->", "index", ",", "par", "->", "join_block", "->", "index", ")", ";", "par", "->", "mask", "|=", "inner", "->", "mask", "&", "(", "GOMP_DIM_MASK", "(", "GOMP_DIM_MAX", ")", "-", "1", ")", ";", "par", "->", "blocks", ".", "reserve", "(", "inner", "->", "blocks", ".", "length", "(", ")", ")", ";", "while", "(", "inner", "->", "blocks", ".", "length", "(", ")", ")", "par", "->", "blocks", ".", "quick_push", "(", "inner", "->", "blocks", ".", "pop", "(", ")", ")", ";", "par", "->", "inner", "=", "inner", "->", "inner", ";", "inner", "->", "inner", "=", "NULL", ";", "delete", "inner", ";", "}", ""], "natrual_language": ["If", "PAR", "has", "a", "single", "inner", "parallel", "and", "PAR", "itself", "only", "contains", "empty", "entry", "and", "exit", "blocks", ",", "swallow", "the", "inner", "PAR", "."], "TS_V_token": ["nvptx", "2", "1", "\"Merging loop %x [%d,%d] into %x [%d,%d]\\n\"", "1"], "File": "nvptx", "Func": "nvptx_optimize_inner", "Target": "nvptx", "Target_Clf": "GPU", "Compiler_Type": "GCC", "Idx": 3693, "Length": 259, "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": 3694, "Length": 263, "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": 3695, "Length": 428, "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", "(", ")", ",", "as_a", "<", "rtx_insn", "*", ">", "(", "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": "mips", "Func": "r10k_insert_cache_barriers", "Target": "mips", "Target_Clf": "CPU", "Compiler_Type": "GCC", "Idx": 3696, "Length": 276, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "static", "bool", "avr_use_by_pieces_infrastructure_p", "(", "unsigned", "HOST_WIDE_INT", "size", ",", "unsigned", "int", "align", "ATTRIBUTE_UNUSED", ",", "enum", "by_pieces_operation", "op", ",", "bool", "speed_p", ")", "{", "if", "(", "op", "!=", "MOVE_BY_PIECES", "||", "(", "speed_p", "&&", "size", ">", "MOVE_MAX_PIECES", ")", ")", "return", "default_use_by_pieces_infrastructure_p", "(", "size", ",", "align", ",", "op", ",", "speed_p", ")", ";", "return", "size", "<=", "MOVE_MAX_PIECES", ";", "}", ""], "natrual_language": ["Prefer", "sequence", "of", "loads/stores", "for", "moves", "of", "size", "upto", "two", "-", "two", "pairs", "of", "load/store", "instructions", "are", "always", "better", "than", "the", "5", "instruction", "sequence", "for", "a", "loop", "(", "1", "instruction", "for", "loop", "counter", "setup", ",", "and", "4", "for", "the", "body", "of", "the", "loop", ")", "."], "TS_V_token": ["avr"], "File": "avr", "Func": "avr_use_by_pieces_infrastructure_p", "Target": "avr", "Target_Clf": "MPU", "Compiler_Type": "GCC", "Idx": 3697, "Length": 53, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "const", "MCPhysReg", "*", "HexagonRegisterInfo", "::", "getCalleeSavedRegs", "(", "const", "MachineFunction", "*", "MF", ")", "const", "{", "static", "const", "MCPhysReg", "CalleeSavedRegsV2", "[", "]", "=", "{", "Hexagon", "::", "R24", ",", "Hexagon", "::", "R25", ",", "Hexagon", "::", "R26", ",", "Hexagon", "::", "R27", ",", "0", "}", ";", "static", "const", "MCPhysReg", "CalleeSavedRegsV3", "[", "]", "=", "{", "Hexagon", "::", "R16", ",", "Hexagon", "::", "R17", ",", "Hexagon", "::", "R18", ",", "Hexagon", "::", "R19", ",", "Hexagon", "::", "R20", ",", "Hexagon", "::", "R21", ",", "Hexagon", "::", "R22", ",", "Hexagon", "::", "R23", ",", "Hexagon", "::", "R24", ",", "Hexagon", "::", "R25", ",", "Hexagon", "::", "R26", ",", "Hexagon", "::", "R27", ",", "0", "}", ";", "switch", "(", "Subtarget", ".", "getHexagonArchVersion", "(", ")", ")", "{", "case", "HexagonSubtarget", "::", "V1", ":", "break", ";", "case", "HexagonSubtarget", "::", "V2", ":", "return", "CalleeSavedRegsV2", ";", "case", "HexagonSubtarget", "::", "V3", ":", "case", "HexagonSubtarget", "::", "V4", ":", "case", "HexagonSubtarget", "::", "V5", ":", "return", "CalleeSavedRegsV3", ";", "}", "llvm_unreachable", "(", "\"Callee saved registers requested for unknown architecture \"", "\"version\"", ")", ";", "}", ""], "natrual_language": ["Code", "Generation", "virtual", "methods", "..."], "TS_V_token": ["Hexagon", "Hexagon", "Hexagon::R24", "Hexagon::R25", "Hexagon::R26", "Hexagon::R27", "0", "Hexagon::R16", "Hexagon::R17", "Hexagon::R18", "Hexagon::R19", "Hexagon::R20", "Hexagon::R21", "Hexagon::R22", "Hexagon::R23", "Hexagon::R24", "Hexagon::R25", "Hexagon::R26", "Hexagon::R27", "0", "Hexagon", "Hexagon", "Hexagon", "Hexagon", "Hexagon", "Hexagon", "\"Callee saved registers requested for unknown architecture \"", "\"version\""], "File": "HexagonRegisterInfo1", "Func": "getCalleeSavedRegs", "Target": "Hexagon", "Target_Clf": "DSP", "Compiler_Type": "LLVM", "Idx": 3698, "Length": 150, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "void", "getAnalysisUsage", "(", "AnalysisUsage", "&", "AU", ")", "const", "{", "AU", ".", "setPreservesAll", "(", ")", ";", "}", ""], "natrual_language": ["getAnalysisUsage", "-", "Subclasses", "that", "override", "getAnalysisUsage", "must", "call", "this", "."], "TS_V_token": ["NVPTX"], "File": "NVVMReflect12", "Func": "getAnalysisUsage", "Target": "NVPTX", "Target_Clf": "GPU", "Compiler_Type": "LLVM", "Idx": 3699, "Length": 16, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "const", "uint32_t", "*", "AVRRegisterInfo", "::", "getCallPreservedMask", "(", "const", "MachineFunction", "&", "MF", ",", "CallingConv", "::", "ID", "CC", ")", "const", "{", "const", "AVRSubtarget", "&", "STI", "=", "MF", ".", "getSubtarget", "<", "AVRSubtarget", ">", "(", ")", ";", "return", "STI", ".", "hasTinyEncoding", "(", ")", "?", "CSR_NormalTiny_RegMask", ":", "CSR_Normal_RegMask", ";", "}", ""], "natrual_language": ["Return", "a", "mask", "of", "call-preserved", "registers", "for", "the", "given", "calling", "convention", "on", "the", "current", "function", "."], "TS_V_token": ["AVR", "AVR", "AVR", "AVR"], "File": "AVRRegisterInfo8", "Func": "getCallPreservedMask", "Target": "AVR", "Target_Clf": "MPU", "Compiler_Type": "LLVM", "Idx": 3700, "Length": 45, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "TargetLoweringObjectFile", "*", "XtensaTargetMachine", "::", "getObjFileLowering", "(", ")", "const", "{", "return", "0", ";", "}", ""], "natrual_language": ["Return", "information", "about", "object", "file", "lowering", "."], "TS_V_token": ["Xtensa", "Xtensa", "0"], "File": "XtensaTargetMachine1", "Func": "getObjFileLowering", "Target": "Xtensa", "Target_Clf": "MPU", "Compiler_Type": "LLVM", "Idx": 3701, "Length": 13, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "unsigned", "M88kInstrInfo", "::", "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", ")", "&&", "\"wrong number of m88k branch conditions\"", ")", ";", "if", "(", "Cond", ".", "empty", "(", ")", ")", "{", "MachineInstr", "&", "MI", "=", "*", "BuildMI", "(", "&", "MBB", ",", "DL", ",", "get", "(", "M88k", "::", "BR", ")", ")", ".", "addMBB", "(", "TBB", ")", ";", "if", "(", "BytesAdded", ")", "*", "BytesAdded", "+=", "getInstSizeInBytes", "(", "MI", ")", ";", "return", "1", ";", "}", "unsigned", "BrOpc", "=", "Cond", "[", "0", "]", ".", "getImm", "(", ")", ";", "unsigned", "CC", "=", "Cond", "[", "1", "]", ".", "getImm", "(", ")", ";", "MachineInstr", "&", "CondMI", "=", "*", "BuildMI", "(", "&", "MBB", ",", "DL", ",", "get", "(", "BrOpc", ")", ")", ".", "addImm", "(", "CC", ")", ".", "add", "(", "Cond", "[", "2", "]", ")", ".", "addMBB", "(", "TBB", ")", ";", "if", "(", "BytesAdded", ")", "*", "BytesAdded", "+=", "getInstSizeInBytes", "(", "CondMI", ")", ";", "if", "(", "!", "FBB", ")", "return", "1", ";", "MachineInstr", "&", "MI", "=", "*", "BuildMI", "(", "&", "MBB", ",", "DL", ",", "get", "(", "M88k", "::", "BR", ")", ")", ".", "addMBB", "(", "FBB", ")", ";", "if", "(", "BytesAdded", ")", "*", "BytesAdded", "+=", "getInstSizeInBytes", "(", "MI", ")", ";", "return", "2", ";", "}", ""], "natrual_language": ["Insert", "branch", "code", "into", "the", "end", "of", "the", "specified", "MachineBasicBlock", "."], "TS_V_token": ["M88k", "M88k", "0", "\"insertBranch must not be told to insert a fallthrough\"", "3", "0", "\"wrong number of m88k branch conditions\"", "M88k::BR", "1", "0", "1", "2", "1", "M88k::BR", "2"], "File": "M88kInstrInfo", "Func": "insertBranch", "Target": "M88k", "Target_Clf": "MPU", "Compiler_Type": "LLVM", "Idx": 3702, "Length": 244, "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": 3703, "Length": 44, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "bool", "MSP430PassConfig", "::", "addPreEmitPass", "(", ")", "{", "addPass", "(", "createMSP430BranchSelectionPass", "(", ")", ")", ";", "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": ["MSP430", "MSP430", "MSP430"], "File": "MSP430TargetMachine11", "Func": "addPreEmitPass", "Target": "MSP430", "Target_Clf": "MPU", "Compiler_Type": "LLVM", "Idx": 3704, "Length": 18, "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": 3705, "Length": 112, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "inline", "static", "MCDisassembler", "::", "DecodeStatus", "addOperand", "(", "MCInst", "&", "Inst", ",", "const", "MCOperand", "&", "Opnd", ")", "{", "Inst", ".", "addOperand", "(", "Opnd", ")", ";", "return", "Opnd", ".", "isValid", "(", ")", "?", "MCDisassembler", "::", "Success", ":", "MCDisassembler", "::", "SoftFail", ";", "}", ""], "natrual_language": ["Add", "an", "operand", "."], "TS_V_token": ["AMDGPU"], "File": "AMDGPUDisassembler (2)", "Func": "addOperand", "Target": "AMDGPU", "Target_Clf": "GPU", "Compiler_Type": "LLVM", "Idx": 3706, "Length": 40, "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": 3707, "Length": 250, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "bool", "AMDGPUSymbolizer", "::", "tryAddingSymbolicOperand", "(", "MCInst", "&", "Inst", ",", "raw_ostream", "&", ",", "int64_t", "Value", ",", "uint64_t", ",", "bool", "IsBranch", ",", "uint64_t", ",", "uint64_t", ")", "{", "typedef", "std", "::", "tuple", "<", "uint64_t", ",", "StringRef", ",", "uint8_t", ">", "SymbolInfoTy", ";", "typedef", "std", "::", "vector", "<", "SymbolInfoTy", ">", "SectionSymbolsTy", ";", "if", "(", "!", "IsBranch", ")", "{", "return", "false", ";", "}", "auto", "*", "Symbols", "=", "static_cast", "<", "SectionSymbolsTy", "*", ">", "(", "DisInfo", ")", ";", "auto", "Result", "=", "std", "::", "find_if", "(", "Symbols", "->", "begin", "(", ")", ",", "Symbols", "->", "end", "(", ")", ",", "[", "Value", "]", "(", "const", "SymbolInfoTy", "&", "Val", ")", "{", "return", "std", "::", "get", "<", "0", ">", "(", "Val", ")", "==", "static_cast", "<", "uint64_t", ">", "(", "Value", ")", "&&", "std", "::", "get", "<", "2", ">", "(", "Val", ")", "==", "ELF", "::", "STT_NOTYPE", ";", "}", ")", ";", "if", "(", "Result", "!=", "Symbols", "->", "end", "(", ")", ")", "{", "auto", "*", "Sym", "=", "Ctx", ".", "getOrCreateSymbol", "(", "std", "::", "get", "<", "1", ">", "(", "*", "Result", ")", ")", ";", "const", "auto", "*", "Add", "=", "MCSymbolRefExpr", "::", "create", "(", "Sym", ",", "Ctx", ")", ";", "Inst", ".", "addOperand", "(", "MCOperand", "::", "createExpr", "(", "Add", ")", ")", ";", "return", "true", ";", "}", "return", "false", ";", "}", ""], "natrual_language": ["Try", "to", "add", "a", "symbolic", "operand", "instead", "of", "Value", "to", "the", "MCInst", "."], "TS_V_token": ["AMDGPU", "AMDGPU", "0", "2", "1"], "File": "AMDGPUDisassembler (2)", "Func": "tryAddingSymbolicOperand", "Target": "AMDGPU", "Target_Clf": "GPU", "Compiler_Type": "LLVM", "Idx": 3708, "Length": 200, "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_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": "ARMAsmParser", "Func": "MatchAndEmitInstruction", "Target": "ARM", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 3709, "Length": 403, "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": 3710, "Length": 37, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "void", "MSP430PassConfig", "::", "addPreEmitPass", "(", ")", "{", "addPass", "(", "createMSP430BranchSelectionPass", "(", ")", ")", ";", "}", ""], "natrual_language": ["This", "pass", "may", "be", "implemented", "by", "targets", "that", "want", "to", "run", "passes", "immediately", "before", "machine", "code", "is", "emitted", "."], "TS_V_token": ["MSP430", "MSP430", "MSP430"], "File": "MSP430TargetMachine", "Func": "addPreEmitPass", "Target": "MSP430", "Target_Clf": "MPU", "Compiler_Type": "LLVM", "Idx": 3711, "Length": 15, "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": 3712, "Length": 363, "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": 3713, "Length": 241, "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": 3714, "Length": 20, "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": 3715, "Length": 470, "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": ["TPC"], "File": "TPCSubtarget", "Func": "useAA", "Target": "TPC", "Target_Clf": "Virtual ISA", "Compiler_Type": "LLVM", "Idx": 3716, "Length": 11, "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": 3717, "Length": 39, "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": 3718, "Length": 188, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "SDValue", "TVMTargetLowering", "::", "PerformDAGCombine", "(", "SDNode", "*", "N", ",", "DAGCombinerInfo", "&", "DCI", ")", "const", "{", "SelectionDAG", "&", "DAG", "=", "DCI", ".", "DAG", ";", "SDLoc", "DL", "(", "N", ")", ";", "switch", "(", "N", "->", "getOpcode", "(", ")", ")", "{", "case", "ISD", "::", "ANY_EXTEND", ":", "if", "(", "N", "->", "getOperand", "(", "0", ")", "->", "getValueType", "(", "0", ")", "==", "N", "->", "getValueType", "(", "0", ")", ")", "return", "N", "->", "getOperand", "(", "0", ")", ";", "break", ";", "case", "TVMISD", "::", "IFELSE", ":", "return", "performIFELSECombine", "(", "N", ",", "DCI", ",", "DAG", ")", ";", "case", "TVMISD", "::", "IFJMP", ":", "return", "performIFJMPCombine", "(", "N", ",", "DCI", ",", "DAG", ")", ";", "case", "ISD", "::", "TRUNCATE", ":", "{", "if", "(", "!", "UseTruncMasks", ")", "break", ";", "if", "(", "!", "DCI", ".", "isBeforeLegalizeOps", "(", ")", ")", "break", ";", "MVT", "ResultType", "=", "N", "->", "getSimpleValueType", "(", "0", ")", ";", "MVT", "OperandType", "=", "N", "->", "getOperand", "(", "0", ")", ".", "getSimpleValueType", "(", ")", ";", "if", "(", "!", "ResultType", ".", "isInteger", "(", ")", "||", "!", "OperandType", ".", "isInteger", "(", ")", ")", "break", ";", "if", "(", "OperandType", ".", "getSizeInBits", "(", ")", "==", "ResultType", ".", "getSizeInBits", "(", ")", ")", "break", ";", "APInt", "TruncateMask", "(", "OperandType", ".", "getSizeInBits", "(", ")", ",", "0", ")", ";", "TruncateMask", ".", "setLowBits", "(", "ResultType", ".", "getSizeInBits", "(", ")", ")", ";", "SDValue", "AndNode", "=", "DAG", ".", "getNode", "(", "TVMISD", "::", "AND", ",", "DL", ",", "OperandType", ",", "N", "->", "getOperand", "(", "0", ")", ",", "DAG", ".", "getConstant", "(", "TruncateMask", ",", "DL", ",", "OperandType", ")", ")", ";", "SDValue", "Replacement", "=", "DAG", ".", "getNode", "(", "ISD", "::", "TRUNCATE", ",", "DL", ",", "ResultType", ",", "AndNode", ")", ";", "DCI", ".", "CombineTo", "(", "N", ",", "Replacement", ",", "false", ")", ";", "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": ["TVM", "TVM", "ISD::ANY_EXTEND", "0", "0", "0", "0", "TVMISD::IFELSE", "TVMISD::IFJMP", "ISD::TRUNCATE", "0", "0", "0", "TVMISD::AND", "0", "ISD::TRUNCATE"], "File": "TVMISelLowering", "Func": "PerformDAGCombine", "Target": "TVM", "Target_Clf": "Virtual ISA", "Compiler_Type": "LLVM", "Idx": 3719, "Length": 282, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "static", "void", "cris_print_base", "(", "rtx", "base", ",", "FILE", "*", "file", ")", "{", "if", "(", "REG_P", "(", "base", ")", ")", "fprintf", "(", "file", ",", "\"$%s\"", ",", "reg_names", "[", "REGNO", "(", "base", ")", "]", ")", ";", "else", "if", "(", "GET_CODE", "(", "base", ")", "==", "POST_INC", ")", "fprintf", "(", "file", ",", "\"$%s+\"", ",", "reg_names", "[", "REGNO", "(", "XEXP", "(", "base", ",", "0", ")", ")", "]", ")", ";", "else", "cris_operand_lossage", "(", "\"unexpected base-type in cris_print_base\"", ",", "base", ")", ";", "}", ""], "natrual_language": ["Print", "a", "base", "rtx", "of", "an", "address", "to", "file", "."], "TS_V_token": ["cris", "\"$%s\"", "\"$%s+\"", "0", "\"unexpected base-type in cris_print_base\""], "File": "cris", "Func": "cris_print_base", "Target": "cris", "Target_Clf": "MPU", "Compiler_Type": "GCC", "Idx": 3720, "Length": 73, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "static", "rtx", "duplicate_cond", "(", "rtx", "pat", ",", "rtx", "cond_insn", ")", "{", "rtx", "cond_pat", "=", "PATTERN", "(", "cond_insn", ")", ";", "if", "(", "GET_CODE", "(", "cond_pat", ")", "==", "COND_EXEC", ")", "pat", "=", "gen_rtx_COND_EXEC", "(", "VOIDmode", ",", "copy_rtx", "(", "COND_EXEC_TEST", "(", "cond_pat", ")", ")", ",", "pat", ")", ";", "return", "pat", ";", "}", ""], "natrual_language": ["If", "COND_INSN", "has", "a", "COND_EXEC", "condition", ",", "wrap", "the", "same", "condition", "around", "PAT", ".", "Return", "PAT", "either", "unchanged", "or", "modified", "in", "this", "way", "."], "TS_V_token": ["c6x"], "File": "c6x", "Func": "duplicate_cond", "Target": "c6x", "Target_Clf": "VLIW", "Compiler_Type": "GCC", "Idx": 3721, "Length": 49, "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": 3722, "Length": 20, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "ScheduleHazardRecognizer", "::", "HazardType", "TPCHazardRecognizer", "::", "getHazardType", "(", "SUnit", "*", "SU", ",", "int", "Stalls", ")", "{", "MachineInstr", "*", "MI", "=", "SU", "->", "getInstr", "(", ")", ";", "ScheduleHazardRecognizer", "::", "HazardType", "res", "=", "NoHazard", ";", "LLVM_DEBUG", "(", "dbgs", "(", ")", "<<", "\" *HR* getHazardType (\"", "<<", "Stalls", "<<", "\") for \"", "<<", "*", "MI", ")", ";", "if", "(", "!", "MI", ")", "{", "return", "NoHazard", ";", "}", "if", "(", "canReserveResources", "(", "SU", ")", ")", "{", "bool", "LookupPrev", "=", "false", ";", "for", "(", "unsigned", "i", "=", "0", ";", "i", "<", "PrevPacket", ".", "size", "(", ")", ";", "i", "++", ")", "{", "SUnit", "*", "SU1", "=", "PrevPacket", "[", "i", "]", ";", "MachineInstr", "*", "PMI", "=", "SU1", "->", "getInstr", "(", ")", ";", "if", "(", "TPCII", "::", "isLookupC", "(", "PMI", "->", "getDesc", "(", ")", ")", ")", "{", "LookupPrev", "=", "true", ";", "break", ";", "}", "}", "for", "(", "unsigned", "i", "=", "0", ";", "i", "<", "CurrentPacket", ".", "size", "(", ")", ";", "i", "++", ")", "{", "SUnit", "*", "SU1", "=", "CurrentPacket", "[", "i", "]", ";", "MachineInstr", "*", "PMI", "=", "SU1", "->", "getInstr", "(", ")", ";", "if", "(", "TPCII", "::", "isLookupC", "(", "PMI", "->", "getDesc", "(", ")", ")", ")", "{", "LookupPrev", "=", "true", ";", "break", ";", "}", "}", "if", "(", "LookupPrev", "&&", "(", "!", "TPCII", "::", "isVPUInst", "(", "MI", "->", "getDesc", "(", ")", ")", "||", "isUsingSrcD", "(", "MI", ")", "||", "TPCII", "::", "isLookupC", "(", "MI", "->", "getDesc", "(", ")", ")", ")", ")", "{", "res", "=", "Hazard", ";", "LLVM_DEBUG", "(", "dbgs", "(", ")", "<<", "\" Hazard - LOOKUP in prev packet\\n\"", ")", ";", "return", "res", ";", "}", "res", "=", "NoHazard", ";", "LLVM_DEBUG", "(", "dbgs", "(", ")", "<<", "\" NoHazard - can add to current packet\\n\"", ")", ";", "}", "else", "{", "res", "=", "Hazard", ";", "LLVM_DEBUG", "(", "dbgs", "(", ")", "<<", "\" Hazard - can not add to current packet\\n\"", ")", ";", "}", "return", "res", ";", "}", ""], "natrual_language": ["getHazardType", "-", "Return", "the", "hazard", "type", "of", "emitting", "this", "node", "."], "TS_V_token": ["TPC", "TPC", "\" *HR* getHazardType (\"", "\") for \"", "0", "TPC", "0", "TPC", "TPC", "TPC", "\" Hazard - LOOKUP in prev packet\\n\"", "\" NoHazard - can add to current packet\\n\"", "\" Hazard - can not add to current packet\\n\""], "File": "TPCHazardRecognizer", "Func": "getHazardType", "Target": "TPC", "Target_Clf": "Virtual ISA", "Compiler_Type": "LLVM", "Idx": 3723, "Length": 277, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "Register", "NVPTXRegisterInfo", "::", "getFrameRegister", "(", "const", "MachineFunction", "&", "MF", ")", "const", "{", "const", "NVPTXTargetMachine", "&", "TM", "=", "static_cast", "<", "const", "NVPTXTargetMachine", "&", ">", "(", "MF", ".", "getTarget", "(", ")", ")", ";", "return", "TM", ".", "is64Bit", "(", ")", "?", "NVPTX", "::", "VRFrame64", ":", "NVPTX", "::", "VRFrame32", ";", "}", ""], "natrual_language": ["Debug", "information", "queries", "."], "TS_V_token": ["NVPTX", "NVPTX", "NVPTX", "NVPTX", "NVPTX::VRFrame64", "NVPTX::VRFrame32"], "File": "NVPTXRegisterInfo", "Func": "getFrameRegister", "Target": "NVPTX", "Target_Clf": "GPU", "Compiler_Type": "LLVM", "Idx": 3724, "Length": 47, "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": 3725, "Length": 79, "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": 3726, "Length": 130, "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": 3727, "Length": 54, "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": 3728, "Length": 143, "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": 3729, "Length": 52, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "bool", "HexagonExpandCondsets", "::", "split", "(", "MachineInstr", "&", "MI", ",", "std", "::", "set", "<", "unsigned", ">", "&", "UpdRegs", ")", "{", "if", "(", "TfrLimitActive", ")", "{", "if", "(", "TfrCounter", ">=", "TfrLimit", ")", "return", "false", ";", "TfrCounter", "++", ";", "}", "DEBUG", "(", "dbgs", "(", ")", "<<", "\"\\nsplitting BB#\"", "<<", "MI", ".", "getParent", "(", ")", "->", "getNumber", "(", ")", "<<", "\": \"", "<<", "MI", ")", ";", "MachineOperand", "&", "MD", "=", "MI", ".", "getOperand", "(", "0", ")", ";", "MachineOperand", "&", "MP", "=", "MI", ".", "getOperand", "(", "1", ")", ";", "assert", "(", "MD", ".", "isDef", "(", ")", ")", ";", "unsigned", "DR", "=", "MD", ".", "getReg", "(", ")", ",", "DSR", "=", "MD", ".", "getSubReg", "(", ")", ";", "bool", "ReadUndef", "=", "MD", ".", "isUndef", "(", ")", ";", "MachineBasicBlock", "::", "iterator", "At", "=", "MI", ";", "MachineOperand", "&", "ST", "=", "MI", ".", "getOperand", "(", "2", ")", ";", "MachineOperand", "&", "SF", "=", "MI", ".", "getOperand", "(", "3", ")", ";", "if", "(", "ST", ".", "isReg", "(", ")", "&&", "SF", ".", "isReg", "(", ")", ")", "{", "RegisterRef", "RT", "(", "ST", ")", ";", "if", "(", "RT", "==", "RegisterRef", "(", "SF", ")", ")", "{", "MI", ".", "setDesc", "(", "HII", "->", "get", "(", "TargetOpcode", "::", "COPY", ")", ")", ";", "unsigned", "S", "=", "getRegState", "(", "ST", ")", ";", "while", "(", "MI", ".", "getNumOperands", "(", ")", ">", "1", ")", "MI", ".", "RemoveOperand", "(", "MI", ".", "getNumOperands", "(", ")", "-", "1", ")", ";", "MachineFunction", "&", "MF", "=", "*", "MI", ".", "getParent", "(", ")", "->", "getParent", "(", ")", ";", "MachineInstrBuilder", "(", "MF", ",", "MI", ")", ".", "addReg", "(", "RT", ".", "Reg", ",", "S", ",", "RT", ".", "Sub", ")", ";", "return", "true", ";", "}", "}", "MachineInstr", "*", "TfrT", "=", "genCondTfrFor", "(", "ST", ",", "At", ",", "DR", ",", "DSR", ",", "MP", ",", "true", ",", "ReadUndef", ",", "false", ")", ";", "MachineInstr", "*", "TfrF", "=", "genCondTfrFor", "(", "SF", ",", "At", ",", "DR", ",", "DSR", ",", "MP", ",", "false", ",", "ReadUndef", ",", "true", ")", ";", "LIS", "->", "InsertMachineInstrInMaps", "(", "*", "TfrT", ")", ";", "LIS", "->", "InsertMachineInstrInMaps", "(", "*", "TfrF", ")", ";", "for", "(", "auto", "&", "Op", ":", "MI", ".", "operands", "(", ")", ")", "if", "(", "Op", ".", "isReg", "(", ")", ")", "UpdRegs", ".", "insert", "(", "Op", ".", "getReg", "(", ")", ")", ";", "removeInstr", "(", "MI", ")", ";", "return", "true", ";", "}", ""], "natrual_language": ["Split", "into", "substrings", "around", "the", "occurrences", "of", "a", "separator", "character", "."], "TS_V_token": ["Hexagon", "Hexagon", "\"\\nsplitting BB#\"", "\": \"", "0", "1", "2", "3", "1", "1"], "File": "HexagonExpandCondsets12", "Func": "split", "Target": "Hexagon", "Target_Clf": "DSP", "Compiler_Type": "LLVM", "Idx": 3730, "Length": 364, "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", ")", ")", ",", "DL", "(", "computeDataLayout", "(", "Triple", "(", "TT", ")", ",", "TargetABI", ",", "isLittle", ")", ")", ",", "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": "ARMTargetMachine25", "Func": "ARMBaseTargetMachine", "Target": "ARM", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 3731, "Length": 154, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "void", "Z80TargetLowering", "::", "AdjustInstrPostInstrSelection", "(", "MachineInstr", "&", "MI", ",", "SDNode", "*", "Node", ")", "const", "{", "switch", "(", "MI", ".", "getOpcode", "(", ")", ")", "{", "default", ":", "llvm_unreachable", "(", "\"Unexpected instr type to insert\"", ")", ";", "case", "Z80", "::", "ADJCALLSTACKUP16", ":", "case", "Z80", "::", "ADJCALLSTACKUP24", ":", "case", "Z80", "::", "ADJCALLSTACKDOWN16", ":", "case", "Z80", "::", "ADJCALLSTACKDOWN24", ":", "return", "AdjustAdjCallStack", "(", "MI", ")", ";", "}", "}", ""], "natrual_language": ["This", "method", "should", "be", "implemented", "by", "targets", "that", "mark", "instructions", "with", "the", "'hasPostISelHook", "'", "flag", "."], "TS_V_token": ["Z80", "Z80", "\"Unexpected instr type to insert\"", "Z80::ADJCALLSTACKUP16", "Z80::ADJCALLSTACKUP24", "Z80::ADJCALLSTACKDOWN16", "Z80::ADJCALLSTACKDOWN24"], "File": "Z80ISelLowering2", "Func": "AdjustInstrPostInstrSelection", "Target": "Z80", "Target_Clf": "MPU", "Compiler_Type": "LLVM", "Idx": 3732, "Length": 59, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "ArrayRef", "<", "MCPhysReg", ">", "SIRegisterInfo", "::", "getAllSGPR64", "(", "const", "MachineFunction", "&", "MF", ")", "const", "{", "return", "makeArrayRef", "(", "AMDGPU", "::", "SGPR_64RegClass", ".", "begin", "(", ")", ",", "ST", ".", "getMaxNumSGPRs", "(", "MF", ")", "/", "2", ")", ";", "}", ""], "natrual_language": ["Return", "all", "SGPR64", "which", "satisfy", "the", "waves", "per", "execution", "unit", "requirement", "of", "the", "subtarget", "."], "TS_V_token": ["AMDGPU", "SI", "AMDGPU::SGPR_64RegClass", "2"], "File": "SIRegisterInfo (3)", "Func": "getAllSGPR64", "Target": "AMDGPU", "Target_Clf": "GPU", "Compiler_Type": "LLVM", "Idx": 3733, "Length": 37, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "static", "struct", "machine_function", "*", "m32c_init_machine_status", "(", "void", ")", "{", "struct", "machine_function", "*", "machine", ";", "machine", "=", "(", "machine_function", "*", ")", "ggc_alloc_cleared", "(", "sizeof", "(", "machine_function", ")", ")", ";", "return", "machine", ";", "}", ""], "natrual_language": ["The", "usual", ";", "we", "set", "up", "our", "machine_function", "data", "."], "TS_V_token": ["m32c"], "File": "m32c2", "Func": "m32c_init_machine_status", "Target": "m32c", "Target_Clf": "MPU", "Compiler_Type": "GCC", "Idx": 3734, "Length": 32, "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": 3735, "Length": 34, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "bool", "SIRegisterInfo", "::", "requiresFrameIndexScavenging", "(", "const", "MachineFunction", "&", "MF", ")", "const", "{", "return", "MF", ".", "getFrameInfo", "(", ")", ".", "hasStackObjects", "(", ")", ";", "}", ""], "natrual_language": ["Returns", "true", "if", "the", "target", "requires", "post", "PEI", "scavenging", "of", "registers", "for", "materializing", "frame", "index", "constants", "."], "TS_V_token": ["AMDGPU", "SI"], "File": "SIRegisterInfo11", "Func": "requiresFrameIndexScavenging", "Target": "AMDGPU", "Target_Clf": "GPU", "Compiler_Type": "LLVM", "Idx": 3736, "Length": 24, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "void", "bpf_core_reloc_add", "(", "const", "tree", "type", ",", "const", "char", "*", "section_name", ",", "vec", "<", "unsigned", "int", ">", "*", "accessors", ",", "rtx_code_label", "*", "label", ",", "enum", "btf_core_reloc_kind", "kind", ")", "{", "char", "buf", "[", "40", "]", ";", "unsigned", "int", "i", ",", "n", "=", "0", ";", "if", "(", "accessors", "->", "length", "(", ")", "<", "1", ")", "return", ";", "for", "(", "i", "=", "0", ";", "i", "<", "accessors", "->", "length", "(", ")", "-", "1", ";", "i", "++", ")", "n", "+=", "snprintf", "(", "buf", "+", "n", ",", "sizeof", "(", "buf", ")", "-", "n", ",", "\"%u:\"", ",", "(", "*", "accessors", ")", "[", "i", "]", ")", ";", "snprintf", "(", "buf", "+", "n", ",", "sizeof", "(", "buf", ")", "-", "n", ",", "\"%u\"", ",", "(", "*", "accessors", ")", "[", "i", "]", ")", ";", "bpf_core_reloc_ref", "bpfcr", "=", "ggc_cleared_alloc", "<", "bpf_core_reloc_t", ">", "(", ")", ";", "ctf_container_ref", "ctfc", "=", "ctf_get_tu_ctfc", "(", ")", ";", "ctf_add_string", "(", "ctfc", ",", "buf", ",", "&", "(", "bpfcr", "->", "bpfcr_astr_off", ")", ",", "CTF_AUX_STRTAB", ")", ";", "bpfcr", "->", "bpfcr_type", "=", "get_btf_id", "(", "ctf_lookup_tree_type", "(", "ctfc", ",", "type", ")", ")", ";", "bpfcr", "->", "bpfcr_insn_label", "=", "label", ";", "bpfcr", "->", "bpfcr_kind", "=", "kind", ";", "bpf_core_section_ref", "sec", ";", "FOR_EACH_VEC_ELT", "(", "*", "bpf_core_sections", ",", "i", ",", "sec", ")", "if", "(", "strcmp", "(", "sec", "->", "name", ",", "section_name", ")", "==", "0", ")", "{", "vec_safe_push", "(", "sec", "->", "relocs", ",", "bpfcr", ")", ";", "return", ";", "}", "sec", "=", "ggc_cleared_alloc", "<", "bpf_core_section_t", ">", "(", ")", ";", "ctf_add_string", "(", "ctfc", ",", "section_name", ",", "&", "sec", "->", "name_offset", ",", "CTF_AUX_STRTAB", ")", ";", "if", "(", "strcmp", "(", "section_name", ",", "\"\"", ")", ")", "ctfc", "->", "ctfc_aux_strlen", "+=", "strlen", "(", "section_name", ")", "+", "1", ";", "sec", "->", "name", "=", "section_name", ";", "vec_alloc", "(", "sec", "->", "relocs", ",", "1", ")", ";", "vec_safe_push", "(", "sec", "->", "relocs", ",", "bpfcr", ")", ";", "vec_safe_push", "(", "bpf_core_sections", ",", "sec", ")", ";", "}", ""], "natrual_language": ["Create", "a", "new", "BPF", "CO-RE", "relocation", "record", ",", "and", "add", "it", "to", "the", "appropriate", "CO-RE", "section", "."], "TS_V_token": ["bpf", "40", "0", "1", "0", "1", "\"%u:\"", "\"%u\"", "0", "\"\"", "1", "1"], "File": "coreout1", "Func": "bpf_core_reloc_add", "Target": "bpf", "Target_Clf": "Virtual ISA", "Compiler_Type": "GCC", "Idx": 3737, "Length": 296, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "unsigned", "find_first", "(", ")", "const", "{", "int", "First", "=", "BitVector", "::", "find_first", "(", ")", ";", "if", "(", "First", "<", "0", ")", "return", "0", ";", "return", "x2v", "(", "First", ")", ";", "}", ""], "natrual_language": ["find_first", "-", "Returns", "the", "index", "of", "the", "first", "set", "bit", "."], "TS_V_token": ["Hexagon", "0", "0"], "File": "HexagonBitSimplify (2)", "Func": "find_first", "Target": "Hexagon", "Target_Clf": "DSP", "Compiler_Type": "LLVM", "Idx": 3738, "Length": 31, "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": 3739, "Length": 42, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "FunctionCallee", "AMDGPULibFunc", "::", "getOrInsertFunction", "(", "Module", "*", "M", ",", "const", "AMDGPULibFunc", "&", "fInfo", ")", "{", "std", "::", "string", "const", "FuncName", "=", "fInfo", ".", "mangle", "(", ")", ";", "Function", "*", "F", "=", "dyn_cast_or_null", "<", "Function", ">", "(", "M", "->", "getValueSymbolTable", "(", ")", ".", "lookup", "(", "FuncName", ")", ")", ";", "if", "(", "F", "&&", "!", "F", "->", "isDeclaration", "(", ")", "&&", "!", "F", "->", "isVarArg", "(", ")", "&&", "F", "->", "arg_size", "(", ")", "==", "fInfo", ".", "getNumArgs", "(", ")", ")", "{", "return", "F", ";", "}", "FunctionType", "*", "FuncTy", "=", "fInfo", ".", "getFunctionType", "(", "*", "M", ")", ";", "bool", "hasPtr", "=", "false", ";", "for", "(", "FunctionType", "::", "param_iterator", "PI", "=", "FuncTy", "->", "param_begin", "(", ")", ",", "PE", "=", "FuncTy", "->", "param_end", "(", ")", ";", "PI", "!=", "PE", ";", "++", "PI", ")", "{", "const", "Type", "*", "argTy", "=", "static_cast", "<", "const", "Type", "*", ">", "(", "*", "PI", ")", ";", "if", "(", "argTy", "->", "isPointerTy", "(", ")", ")", "{", "hasPtr", "=", "true", ";", "break", ";", "}", "}", "FunctionCallee", "C", ";", "if", "(", "hasPtr", ")", "{", "C", "=", "M", "->", "getOrInsertFunction", "(", "FuncName", ",", "FuncTy", ")", ";", "}", "else", "{", "AttributeList", "Attr", ";", "LLVMContext", "&", "Ctx", "=", "M", "->", "getContext", "(", ")", ";", "Attr", "=", "Attr", ".", "addAttribute", "(", "Ctx", ",", "AttributeList", "::", "FunctionIndex", ",", "Attribute", "::", "ReadOnly", ")", ";", "Attr", "=", "Attr", ".", "addAttribute", "(", "Ctx", ",", "AttributeList", "::", "FunctionIndex", ",", "Attribute", "::", "NoUnwind", ")", ";", "C", "=", "M", "->", "getOrInsertFunction", "(", "FuncName", ",", "FuncTy", ",", "Attr", ")", ";", "}", "return", "C", ";", "}", ""], "natrual_language": ["Look", "up", "the", "specified", "function", "in", "the", "module", "symbol", "table", "."], "TS_V_token": ["AMDGPU", "AMDGPU", "AMDGPU"], "File": "AMDGPULibFunc", "Func": "getOrInsertFunction", "Target": "AMDGPU", "Target_Clf": "GPU", "Compiler_Type": "LLVM", "Idx": 3740, "Length": 249, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "rtx", "m32c_incoming_return_addr_rtx", "(", "void", ")", "{", "return", "gen_rtx_MEM", "(", "PSImode", ",", "gen_rtx_REG", "(", "PSImode", ",", "SP_REGNO", ")", ")", ";", "}", ""], "natrual_language": ["Implements", "INCOMING_RETURN_ADDR_RTX", ".", "See", "comment", "above", "."], "TS_V_token": ["m32c"], "File": "m32c", "Func": "m32c_incoming_return_addr_rtx", "Target": "m32c", "Target_Clf": "MPU", "Compiler_Type": "GCC", "Idx": 3741, "Length": 20, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "bool", "X86InstrInfo", "::", "isTailCall", "(", "const", "MachineInstr", "&", "Inst", ")", "const", "{", "switch", "(", "Inst", ".", "getOpcode", "(", ")", ")", "{", "case", "X86", "::", "TCRETURNdi", ":", "case", "X86", "::", "TCRETURNmi", ":", "case", "X86", "::", "TCRETURNri", ":", "case", "X86", "::", "TCRETURNdi64", ":", "case", "X86", "::", "TCRETURNmi64", ":", "case", "X86", "::", "TCRETURNri64", ":", "case", "X86", "::", "TAILJMPd", ":", "case", "X86", "::", "TAILJMPm", ":", "case", "X86", "::", "TAILJMPr", ":", "case", "X86", "::", "TAILJMPd64", ":", "case", "X86", "::", "TAILJMPm64", ":", "case", "X86", "::", "TAILJMPr64", ":", "case", "X86", "::", "TAILJMPm64_REX", ":", "case", "X86", "::", "TAILJMPr64_REX", ":", "return", "true", ";", "default", ":", "return", "false", ";", "}", "}", ""], "natrual_language": ["Determines", "whether", "Inst", "is", "a", "tail", "call", "instruction", "."], "TS_V_token": ["X86", "X86", "X86::TCRETURNdi", "X86::TCRETURNmi", "X86::TCRETURNri", "X86::TCRETURNdi64", "X86::TCRETURNmi64", "X86::TCRETURNri64", "X86::TAILJMPd", "X86::TAILJMPm", "X86::TAILJMPr", "X86::TAILJMPd64", "X86::TAILJMPm64", "X86::TAILJMPr64", "X86::TAILJMPm64_REX", "X86::TAILJMPr64_REX"], "File": "X86InstrInfo112", "Func": "isTailCall", "Target": "X86", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 3742, "Length": 101, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "void", "TL45AsmBackend", "::", "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", "(", ")", ";", "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": ["TL45", "TL45", "8", "8", "\"Invalid fixup offset!\"", "0", "8", "0xff"], "File": "TL45AsmBackend", "Func": "applyFixup", "Target": "TL45", "Target_Clf": "MPU", "Compiler_Type": "LLVM", "Idx": 3743, "Length": 166, "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": 3744, "Length": 13, "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": 3745, "Length": 214, "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": 3746, "Length": 11, "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": 3747, "Length": 70, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "static", "unsigned", "getHashValue", "(", "SPIRV", "::", "SpecialTypeDescriptor", "Val", ")", "{", "return", "Val", ".", "getHash", "(", ")", ";", "}", ""], "natrual_language": ["Using", "name", "and", "line", "to", "get", "hash", "value", ".", "It", "should", "already", "be", "mostly", "unique", "."], "TS_V_token": ["SPIRV", "SPIRV::SpecialTypeDescriptor"], "File": "SPIRVDuplicatesTracker", "Func": "getHashValue", "Target": "SPIRV", "Target_Clf": "Virtual ISA", "Compiler_Type": "LLVM", "Idx": 3748, "Length": 18, "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", ")", ";", "case", "ISD", "::", "PTRADD", ":", "return", "performCIncOffsetToCandAddrCombine", "(", "N", ",", "DAG", ",", "DCI", ",", "Subtarget", ")", ";", "case", "ISD", "::", "INTRINSIC_WO_CHAIN", ":", "return", "performINTRINSIC_WO_CHAINCombine", "(", "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", "ISD::PTRADD", "ISD::INTRINSIC_WO_CHAIN"], "File": "MipsISelLowering66", "Func": "PerformDAGCombine", "Target": "Mips", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 3749, "Length": 228, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "EVT", "getSetCCResultType", "(", "const", "DataLayout", "&", "DL", ",", "LLVMContext", "&", "Ctx", ",", "EVT", "VT", ")", "const", "override", "{", "if", "(", "VT", ".", "isVector", "(", ")", ")", "return", "EVT", "::", "getVectorVT", "(", "Ctx", ",", "MVT", "::", "i1", ",", "VT", ".", "getVectorNumElements", "(", ")", ")", ";", "return", "MVT", "::", "i1", ";", "}", ""], "natrual_language": ["Return", "the", "value", "type", "to", "use", "for", "ISD", ":", ":SETCC", "."], "TS_V_token": ["NVPTX", "MVT::i1", "MVT::i1"], "File": "NVPTXISelLowering", "Func": "getSetCCResultType", "Target": "NVPTX", "Target_Clf": "GPU", "Compiler_Type": "LLVM", "Idx": 3750, "Length": 50, "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": 3751, "Length": 40, "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", ":", "case", "TargetOpcode", "::", "G_IMPLICIT_DEF", ":", "{", "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": "X86RegisterBankInfo", "Func": "getInstrAlternativeMappings", "Target": "X86", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 3752, "Length": 230, "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": 3753, "Length": 92, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "unsigned", "AMDGPUTTI", "::", "getNumberOfRegisters", "(", "bool", "Vec", ")", "const", "{", "if", "(", "Vec", ")", "return", "0", ";", "if", "(", "ST", "->", "getGeneration", "(", ")", ">=", "AMDGPUSubtarget", "::", "SOUTHERN_ISLANDS", ")", "return", "256", ";", "return", "4", "*", "128", ";", "}", ""], "natrual_language": ["\ufffd", "?", "Vector", "TTI", "begin", "\ufffd", "?"], "TS_V_token": ["R600", "0", "256", "4", "128"], "File": "AMDGPUTargetTransformInfo", "Func": "getNumberOfRegisters", "Target": "R600", "Target_Clf": "GPU", "Compiler_Type": "LLVM", "Idx": 3754, "Length": 38, "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": 3755, "Length": 26, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "outliner", "::", "TargetCostInfo", "AArch64InstrInfo", "::", "getOutliningCandidateInfo", "(", "std", "::", "vector", "<", "outliner", "::", "Candidate", ">", "&", "RepeatedSequenceLocs", ")", "const", "{", "unsigned", "SequenceSize", "=", "std", "::", "accumulate", "(", "RepeatedSequenceLocs", "[", "0", "]", ".", "front", "(", ")", ",", "std", "::", "next", "(", "RepeatedSequenceLocs", "[", "0", "]", ".", "back", "(", ")", ")", ",", "0", ",", "[", "this", "]", "(", "unsigned", "Sum", ",", "const", "MachineInstr", "&", "MI", ")", "{", "return", "Sum", "+", "getInstSizeInBytes", "(", "MI", ")", ";", "}", ")", ";", "unsigned", "CallID", "=", "MachineOutlinerDefault", ";", "unsigned", "FrameID", "=", "MachineOutlinerDefault", ";", "unsigned", "NumBytesForCall", "=", "12", ";", "unsigned", "NumBytesToCreateFrame", "=", "4", ";", "const", "TargetRegisterInfo", "&", "TRI", "=", "getRegisterInfo", "(", ")", ";", "std", "::", "for_each", "(", "RepeatedSequenceLocs", ".", "begin", "(", ")", ",", "RepeatedSequenceLocs", ".", "end", "(", ")", ",", "[", "&", "TRI", "]", "(", "outliner", "::", "Candidate", "&", "C", ")", "{", "C", ".", "initLRU", "(", "TRI", ")", ";", "}", ")", ";", "auto", "CantGuaranteeValueAcrossCall", "=", "[", "]", "(", "outliner", "::", "Candidate", "&", "C", ")", "{", "LiveRegUnits", "LRU", "=", "C", ".", "LRU", ";", "return", "(", "!", "LRU", ".", "available", "(", "AArch64", "::", "W16", ")", "||", "!", "LRU", ".", "available", "(", "AArch64", "::", "W17", ")", "||", "!", "LRU", ".", "available", "(", "AArch64", "::", "NZCV", ")", ")", ";", "}", ";", "RepeatedSequenceLocs", ".", "erase", "(", "std", "::", "remove_if", "(", "RepeatedSequenceLocs", ".", "begin", "(", ")", ",", "RepeatedSequenceLocs", ".", "end", "(", ")", ",", "CantGuaranteeValueAcrossCall", ")", ",", "RepeatedSequenceLocs", ".", "end", "(", ")", ")", ";", "unsigned", "LastInstrOpcode", "=", "RepeatedSequenceLocs", "[", "0", "]", ".", "back", "(", ")", "->", "getOpcode", "(", ")", ";", "if", "(", "RepeatedSequenceLocs", "[", "0", "]", ".", "back", "(", ")", "->", "isTerminator", "(", ")", ")", "{", "CallID", "=", "MachineOutlinerTailCall", ";", "FrameID", "=", "MachineOutlinerTailCall", ";", "NumBytesForCall", "=", "4", ";", "NumBytesToCreateFrame", "=", "0", ";", "}", "else", "if", "(", "LastInstrOpcode", "==", "AArch64", "::", "BL", "||", "LastInstrOpcode", "==", "AArch64", "::", "BLR", ")", "{", "CallID", "=", "MachineOutlinerThunk", ";", "FrameID", "=", "MachineOutlinerThunk", ";", "NumBytesForCall", "=", "4", ";", "NumBytesToCreateFrame", "=", "0", ";", "}", "else", "if", "(", "std", "::", "all_of", "(", "RepeatedSequenceLocs", ".", "begin", "(", ")", ",", "RepeatedSequenceLocs", ".", "end", "(", ")", ",", "[", "]", "(", "outliner", "::", "Candidate", "&", "C", ")", "{", "return", "C", ".", "LRU", ".", "available", "(", "AArch64", "::", "LR", ")", ";", "}", ")", ")", "{", "CallID", "=", "MachineOutlinerNoLRSave", ";", "FrameID", "=", "MachineOutlinerNoLRSave", ";", "NumBytesForCall", "=", "4", ";", "NumBytesToCreateFrame", "=", "4", ";", "}", "if", "(", "std", "::", "any_of", "(", "RepeatedSequenceLocs", "[", "0", "]", ".", "front", "(", ")", ",", "RepeatedSequenceLocs", "[", "0", "]", ".", "back", "(", ")", ",", "[", "]", "(", "const", "MachineInstr", "&", "MI", ")", "{", "return", "MI", ".", "isCall", "(", ")", ";", "}", ")", ")", "NumBytesToCreateFrame", "+=", "8", ";", "else", "if", "(", "FrameID", "!=", "MachineOutlinerThunk", "&&", "FrameID", "!=", "MachineOutlinerTailCall", "&&", "RepeatedSequenceLocs", "[", "0", "]", ".", "back", "(", ")", "->", "isCall", "(", ")", ")", "NumBytesToCreateFrame", "+=", "8", ";", "return", "outliner", "::", "TargetCostInfo", "(", "SequenceSize", ",", "NumBytesForCall", ",", "NumBytesToCreateFrame", ",", "CallID", ",", "FrameID", ")", ";", "}", ""], "natrual_language": ["Returns", "a", "outliner", ":", ":OutlinedFunction", "struct", "containing", "target-specific", "information", "for", "a", "set", "of", "outlining", "candidates", "."], "TS_V_token": ["AArch64", "AArch64", "0", "0", "0", "12", "4", "AArch64::W16", "AArch64::W17", "AArch64::NZCV", "0", "0", "4", "0", "AArch64::BL", "AArch64::BLR", "4", "0", "AArch64::LR", "4", "4", "0", "0", "8", "0", "8"], "File": "AArch64InstrInfo81", "Func": "getOutliningCandidateInfo", "Target": "AArch64", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 3756, "Length": 464, "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": 3757, "Length": 290, "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": 3758, "Length": 279, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "bool", "MipsTargetLowering", "::", "IsGlobalInSmallSection", "(", "GlobalValue", "*", "GV", ")", "{", "const", "TargetData", "*", "TD", "=", "getTargetData", "(", ")", ";", "const", "GlobalVariable", "*", "GVA", "=", "dyn_cast", "<", "GlobalVariable", ">", "(", "GV", ")", ";", "if", "(", "!", "GVA", ")", "return", "false", ";", "const", "Type", "*", "Ty", "=", "GV", "->", "getType", "(", ")", "->", "getElementType", "(", ")", ";", "unsigned", "Size", "=", "TD", "->", "getTypePaddedSize", "(", "Ty", ")", ";", "if", "(", "GVA", "->", "hasInitializer", "(", ")", "&&", "GV", "->", "hasLocalLinkage", "(", ")", ")", "{", "Constant", "*", "C", "=", "GVA", "->", "getInitializer", "(", ")", ";", "const", "ConstantArray", "*", "CVA", "=", "dyn_cast", "<", "ConstantArray", ">", "(", "C", ")", ";", "if", "(", "CVA", "&&", "CVA", "->", "isCString", "(", ")", ")", "return", "false", ";", "}", "return", "IsInSmallSection", "(", "Size", ")", ";", "}", ""], "natrual_language": ["Return", "true", "if", "this", "global", "address", "should", "be", "placed", "into", "small", "data/bss", "section", "."], "TS_V_token": ["Mips", "Mips"], "File": "MipsISelLowering87", "Func": "IsGlobalInSmallSection", "Target": "Mips", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 3759, "Length": 124, "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": 3760, "Length": 333, "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": 3761, "Length": 68, "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": 3762, "Length": 43, "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": 3763, "Length": 300, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "void", "initialize", "(", "MachineBasicBlock", "&", "MBB", ")", "{", "Visited", ".", "clear", "(", ")", ";", "CommonDominators", ".", "clear", "(", ")", ";", "Stack", ".", "clear", "(", ")", ";", "NextLevel", ".", "clear", "(", ")", ";", "VisitedPostDom", "=", "nullptr", ";", "FoundLoopLevel", "=", "~", "0u", ";", "DefBlock", "=", "&", "MBB", ";", "}", ""], "natrual_language": ["Initialize", "the", "strategy", "after", "building", "the", "DAG", "for", "a", "new", "region", "."], "TS_V_token": ["AMDGPU", "0u"], "File": "SILowerI1Copies1", "Func": "initialize", "Target": "AMDGPU", "Target_Clf": "GPU", "Compiler_Type": "LLVM", "Idx": 3764, "Length": 47, "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": 3765, "Length": 74, "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": 3766, "Length": 199, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "SDValue", "TriCoreTargetLowering", "::", "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", "(", ")", ")", ";", "Type", "*", "t", "=", "DAG", ".", "getMachineFunction", "(", ")", ".", "getFunction", "(", ")", "->", "getReturnType", "(", ")", ";", "t", "->", "dump", "(", ")", ";", "outs", "(", ")", "<<", "\"LowerCallResult IsPointer: \"", "<<", "t", "->", "isPointerTy", "(", ")", "<<", "\"\\n\"", ";", "CCInfo", ".", "AnalyzeCallResult", "(", "Ins", ",", "RetCC_TriCore", ")", ";", "for", "(", "auto", "&", "Loc", ":", "RVLocs", ")", "{", "if", "(", "t", "->", "isPointerTy", "(", ")", ")", "Loc", ".", "convertToReg", "(", "TriCore", "::", "A2", ")", ";", "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": ["TriCore", "TriCore", "ISD::InputArg", "\"Unsupported\"", "16", "\"LowerCallResult IsPointer: \"", "\"\\n\"", "TriCore", "TriCore::A2", "1", "2", "0"], "File": "TriCoreISelLowering", "Func": "LowerCallResult", "Target": "TriCore", "Target_Clf": "MPU", "Compiler_Type": "LLVM", "Idx": 3767, "Length": 213, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "unsigned", "int", "compute_a_rotate_length", "(", "rtx", "*", "operands", ")", "{", "rtx", "src", "=", "operands", "[", "1", "]", ";", "rtx", "amount_rtx", "=", "operands", "[", "2", "]", ";", "machine_mode", "mode", "=", "GET_MODE", "(", "src", ")", ";", "int", "amount", ";", "unsigned", "int", "length", "=", "0", ";", "gcc_assert", "(", "GET_CODE", "(", "amount_rtx", ")", "==", "CONST_INT", ")", ";", "amount", "=", "INTVAL", "(", "amount_rtx", ")", ";", "if", "(", "amount", "<", "0", ")", "amount", "=", "0", ";", "if", "(", "(", "unsigned", "int", ")", "amount", ">", "GET_MODE_BITSIZE", "(", "mode", ")", ")", "amount", "=", "GET_MODE_BITSIZE", "(", "mode", ")", ";", "if", "(", "(", "unsigned", "int", ")", "amount", ">", "GET_MODE_BITSIZE", "(", "mode", ")", "/", "(", "unsigned", ")", "2", ")", "amount", "=", "GET_MODE_BITSIZE", "(", "mode", ")", "-", "amount", ";", "if", "(", "(", "mode", "==", "HImode", "&&", "TARGET_H8300H", "&&", "amount", ">=", "6", ")", "||", "(", "mode", "==", "HImode", "&&", "TARGET_H8300S", "&&", "amount", "==", "8", ")", "||", "(", "mode", "==", "SImode", "&&", "TARGET_H8300H", "&&", "amount", ">=", "10", ")", "||", "(", "mode", "==", "SImode", "&&", "TARGET_H8300S", "&&", "amount", ">=", "13", ")", ")", "{", "amount", "=", "GET_MODE_BITSIZE", "(", "mode", ")", "/", "2", "-", "amount", ";", "length", "+=", "6", ";", "}", "if", "(", "TARGET_H8300S", ")", "amount", "=", "amount", "/", "2", "+", "amount", "%", "2", ";", "length", "+=", "amount", "*", "2", ";", "return", "length", ";", "}", ""], "natrual_language": ["Compute", "the", "length", "of", "a", "rotate", "insn", "."], "TS_V_token": ["h8300", "1", "2", "0", "0", "0", "2", "6", "8", "10", "13", "2", "6", "2", "2", "2"], "File": "h8300", "Func": "compute_a_rotate_length", "Target": "h8300", "Target_Clf": "MPU", "Compiler_Type": "GCC", "Idx": 3768, "Length": 207, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "unsigned", "AMDGPUIntrinsicInfo", "::", "lookupName", "(", "const", "char", "*", "NameData", ",", "unsigned", "Len", ")", "const", "{", "StringRef", "Name", "(", "NameData", ",", "Len", ")", ";", "if", "(", "!", "Name", ".", "startswith", "(", "\"llvm.\"", ")", ")", "return", "0", ";", "int", "Idx", "=", "Intrinsic", "::", "lookupLLVMIntrinsicByName", "(", "IntrinsicNameTable", ",", "Name", ")", ";", "if", "(", "Idx", ">=", "0", ")", "{", "bool", "IsPrefixMatch", "=", "Name", ".", "size", "(", ")", ">", "strlen", "(", "IntrinsicNameTable", "[", "Idx", "]", ")", ";", "return", "IsPrefixMatch", "==", "isOverloaded", "(", "Idx", "+", "1", ")", "?", "Intrinsic", "::", "num_intrinsics", "+", "Idx", ":", "0", ";", "}", "return", "0", ";", "}", ""], "natrual_language": ["Look", "up", "target", "intrinsic", "by", "name", "."], "TS_V_token": ["AMDGPU", "AMDGPU", "\"llvm.\"", "0", "Intrinsic::lookupLLVMIntrinsicByName", "0", "1", "Intrinsic::num_intrinsics", "0", "0"], "File": "AMDGPUIntrinsicInfo", "Func": "lookupName", "Target": "AMDGPU", "Target_Clf": "GPU", "Compiler_Type": "LLVM", "Idx": 3769, "Length": 95, "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": 3770, "Length": 18, "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": 3771, "Length": 212, "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": 3772, "Length": 408, "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": 3773, "Length": 53, "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": 3774, "Length": 489, "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": 3775, "Length": 172, "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": 3776, "Length": 362, "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", ";", "ptr", "->", "x_aarch64_branch_protection_string", "=", "opts", "->", "x_aarch64_branch_protection_string", ";", "}", ""], "natrual_language": ["Implement", "TARGET_OPTION_SAVE", "."], "TS_V_token": ["aarch64"], "File": "aarch64", "Func": "aarch64_option_save", "Target": "aarch64", "Target_Clf": "CPU", "Compiler_Type": "GCC", "Idx": 3777, "Length": 32, "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", "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", "(", ")", ";", "}", "bdst", "=", "TARGET_THUMB1", "?", "bval", ":", "gen_rtx_REG", "(", "CCmode", ",", "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": "arm6", "Func": "arm_expand_compare_and_swap", "Target": "arm", "Target_Clf": "CPU", "Compiler_Type": "GCC", "Idx": 3778, "Length": 385, "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": 3779, "Length": 82, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "rtx", "s390_back_chain_rtx", "(", "void", ")", "{", "rtx", "chain", ";", "gcc_assert", "(", "TARGET_BACKCHAIN", ")", ";", "if", "(", "TARGET_PACKED_STACK", ")", "chain", "=", "plus_constant", "(", "stack_pointer_rtx", ",", "STACK_POINTER_OFFSET", "-", "UNITS_PER_WORD", ")", ";", "else", "chain", "=", "stack_pointer_rtx", ";", "chain", "=", "gen_rtx_MEM", "(", "Pmode", ",", "chain", ")", ";", "return", "chain", ";", "}", ""], "natrual_language": ["Return", "an", "RTL", "expression", "representing", "the", "back", "chain", "stored", "in", "the", "current", "stack", "frame", "."], "TS_V_token": ["s390"], "File": "s3903", "Func": "s390_back_chain_rtx", "Target": "s390", "Target_Clf": "MPU", "Compiler_Type": "GCC", "Idx": 3780, "Length": 47, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "static", "void", "bfin_extra_live_on_entry", "(", "bitmap", "regs", ")", "{", "if", "(", "TARGET_FDPIC", ")", "bitmap_set_bit", "(", "regs", ",", "FDPIC_REGNO", ")", ";", "}", ""], "natrual_language": ["Implement", "TARGET_EXTRA_LIVE_ON_ENTRY", "."], "TS_V_token": ["bfin"], "File": "bfin", "Func": "bfin_extra_live_on_entry", "Target": "bfin", "Target_Clf": "DSP", "Compiler_Type": "GCC", "Idx": 3781, "Length": 20, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "void", "AMDGPURegisterInfo", "::", "eliminateFrameIndex", "(", "MachineBasicBlock", "::", "iterator", "MI", ",", "int", "SPAdj", ",", "unsigned", "FIOperandNum", ",", "RegScavenger", "*", "RS", ")", "const", "{", "assert", "(", "!", "\"Subroutines not supported yet\"", ")", ";", "}", ""], "natrual_language": ["This", "method", "must", "be", "overriden", "to", "eliminate", "abstract", "frame", "indices", "from", "instructions", "which", "may", "use", "them", "."], "TS_V_token": ["R600", "\"Subroutines not supported yet\""], "File": "AMDGPURegisterInfo18", "Func": "eliminateFrameIndex", "Target": "R600", "Target_Clf": "GPU", "Compiler_Type": "LLVM", "Idx": 3782, "Length": 29, "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": 3783, "Length": 121, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "bool", "pushpop_regeq", "(", "rtx", "op", ",", "int", "regno", ")", "{", "rtx", "addr", ";", "if", "(", "GET_CODE", "(", "op", ")", "!=", "MEM", ")", "return", "FALSE", ";", "addr", "=", "XEXP", "(", "op", ",", "0", ")", ";", "if", "(", "GET_CODE", "(", "addr", ")", "==", "MEM", ")", "addr", "=", "XEXP", "(", "addr", ",", "0", ")", ";", "switch", "(", "GET_CODE", "(", "addr", ")", ")", "{", "case", "PRE_DEC", ":", "case", "POST_INC", ":", "case", "PRE_MODIFY", ":", "case", "POST_MODIFY", ":", "return", "REGNO", "(", "XEXP", "(", "addr", ",", "0", ")", ")", "==", "(", "unsigned", ")", "regno", ";", "default", ":", "return", "FALSE", ";", "}", "}", ""], "natrual_language": ["Return", "TRUE", "if", "op", "is", "a", "push", "or", "pop", "using", "the", "register", "``", "regno", "''", "."], "TS_V_token": ["pdp11", "0", "0", "0"], "File": "pdp11", "Func": "pushpop_regeq", "Target": "pdp11", "Target_Clf": "MPU", "Compiler_Type": "GCC", "Idx": 3784, "Length": 95, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "unsigned", "getNumFixupKinds", "(", ")", "const", "override", "{", "return", "RV16K", "::", "NumTargetFixupKinds", ";", "}", ""], "natrual_language": ["Get", "the", "number", "of", "target", "specific", "fixup", "kinds", "."], "TS_V_token": ["RV16K", "RV16K::NumTargetFixupKinds"], "File": "RV16KAsmBackend", "Func": "getNumFixupKinds", "Target": "RV16K", "Target_Clf": "Virtual ISA", "Compiler_Type": "LLVM", "Idx": 3785, "Length": 13, "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": 3786, "Length": 211, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "bool", "RISCVInstrInfo", "::", "reverseBranchCondition", "(", "SmallVectorImpl", "<", "MachineOperand", ">", "&", "Cond", ")", "const", "{", "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": ["RI5CY", "RISCV", "3", "\"Invalid branch condition!\"", "0", "0"], "File": "RISCVInstrInfo", "Func": "reverseBranchCondition", "Target": "RI5CY", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 3787, "Length": 53, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "FunctionPass", "*", "JVMPassConfig", "::", "createTargetRegisterAllocator", "(", "bool", ")", "{", "return", "nullptr", ";", "}", ""], "natrual_language": ["createTargetRegisterAllocator", "-", "Create", "the", "register", "allocator", "pass", "for", "this", "target", "at", "the", "current", "optimization", "level", "."], "TS_V_token": ["JVM", "JVM"], "File": "JVMTargetMachine", "Func": "createTargetRegisterAllocator", "Target": "JVM", "Target_Clf": "Virtual ISA", "Compiler_Type": "LLVM", "Idx": 3788, "Length": 13, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "bool", "AMDGPUCFGStructurizer", "::", "prepare", "(", ")", "{", "bool", "Changed", "=", "false", ";", "DEBUG", "(", "dbgs", "(", ")", "<<", "\"AMDGPUCFGStructurizer::prepare\\n\"", ";", ")", ";", "orderBlocks", "(", "FuncRep", ")", ";", "SmallVector", "<", "MachineBasicBlock", "*", ",", "DEFAULT_VEC_SLOTS", ">", "RetBlks", ";", "for", "(", "MachineLoopInfo", "::", "iterator", "It", "=", "MLI", "->", "begin", "(", ")", ",", "E", "=", "MLI", "->", "end", "(", ")", ";", "It", "!=", "E", ";", "++", "It", ")", "{", "MachineLoop", "*", "LoopRep", "=", "(", "*", "It", ")", ";", "MBBVector", "ExitingMBBs", ";", "LoopRep", "->", "getExitingBlocks", "(", "ExitingMBBs", ")", ";", "if", "(", "ExitingMBBs", ".", "size", "(", ")", "==", "0", ")", "{", "MachineBasicBlock", "*", "DummyExitBlk", "=", "normalizeInfiniteLoopExit", "(", "LoopRep", ")", ";", "if", "(", "DummyExitBlk", ")", "RetBlks", ".", "push_back", "(", "DummyExitBlk", ")", ";", "}", "}", "for", "(", "SmallVectorImpl", "<", "MachineBasicBlock", "*", ">", "::", "const_iterator", "It", "=", "OrderedBlks", ".", "begin", "(", ")", ",", "E", "=", "OrderedBlks", ".", "end", "(", ")", ";", "It", "!=", "E", ";", "++", "It", ")", "{", "MachineBasicBlock", "*", "MBB", "=", "*", "It", ";", "removeUnconditionalBranch", "(", "MBB", ")", ";", "removeRedundantConditionalBranch", "(", "MBB", ")", ";", "if", "(", "isReturnBlock", "(", "MBB", ")", ")", "{", "RetBlks", ".", "push_back", "(", "MBB", ")", ";", "}", "assert", "(", "MBB", "->", "succ_size", "(", ")", "<=", "2", ")", ";", "}", "if", "(", "RetBlks", ".", "size", "(", ")", ">=", "2", ")", "{", "addDummyExitBlock", "(", "RetBlks", ")", ";", "Changed", "=", "true", ";", "}", "return", "Changed", ";", "}", ""], "natrual_language": ["prepare", "-", "Reset", "state", "and", "prepare", "for", "a", "new", "spill", "placement", "computation", "."], "TS_V_token": ["AMDGPU", "AMDGPU", "\"AMDGPUCFGStructurizer::prepare\\n\"", "0", "2", "2"], "File": "AMDILCFGStructurizer", "Func": "prepare", "Target": "AMDGPU", "Target_Clf": "GPU", "Compiler_Type": "LLVM", "Idx": 3789, "Length": 220, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "bool", "SITargetLowering", "::", "canMergeStoresTo", "(", "unsigned", "AS", ",", "EVT", "MemVT", ")", "const", "{", "if", "(", "AS", "==", "AMDGPUASI", ".", "GLOBAL_ADDRESS", "||", "AS", "==", "AMDGPUASI", ".", "FLAT_ADDRESS", ")", "{", "return", "(", "MemVT", ".", "getSizeInBits", "(", ")", "<=", "4", "*", "32", ")", ";", "}", "else", "if", "(", "AS", "==", "AMDGPUASI", ".", "PRIVATE_ADDRESS", ")", "{", "unsigned", "MaxPrivateBits", "=", "8", "*", "getSubtarget", "(", ")", "->", "getMaxPrivateElementSize", "(", ")", ";", "return", "(", "MemVT", ".", "getSizeInBits", "(", ")", "<=", "MaxPrivateBits", ")", ";", "}", "else", "if", "(", "AS", "==", "AMDGPUASI", ".", "LOCAL_ADDRESS", ")", "{", "return", "(", "MemVT", ".", "getSizeInBits", "(", ")", "<=", "2", "*", "32", ")", ";", "}", "return", "true", ";", "}", ""], "natrual_language": ["Returns", "if", "it", "'s", "reasonable", "to", "merge", "stores", "to", "MemVT", "size", "."], "TS_V_token": ["AMDGPU", "SI", "SI", "SI", "4", "32", "SI", "8", "SI", "2", "32"], "File": "SIISelLowering16", "Func": "canMergeStoresTo", "Target": "AMDGPU", "Target_Clf": "GPU", "Compiler_Type": "LLVM", "Idx": 3790, "Length": 105, "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": 3791, "Length": 28, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "unsigned", "getSlotSize", "(", ")", "const", "{", "return", "4", ";", "}", ""], "natrual_language": ["getSlotSize", "-", "Stack", "slot", "size", "in", "bytes", "."], "TS_V_token": ["M68k", "4"], "File": "M68kSubtarget", "Func": "getSlotSize", "Target": "M68k", "Target_Clf": "MPU", "Compiler_Type": "LLVM", "Idx": 3792, "Length": 10, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "static", "void", "frv_print_operand_address", "(", "FILE", "*", "stream", ",", "rtx", "x", ")", "{", "if", "(", "GET_CODE", "(", "x", ")", "==", "MEM", ")", "x", "=", "XEXP", "(", "x", ",", "0", ")", ";", "switch", "(", "GET_CODE", "(", "x", ")", ")", "{", "case", "REG", ":", "fputs", "(", "reg_names", "[", "REGNO", "(", "x", ")", "]", ",", "stream", ")", ";", "return", ";", "case", "CONST_INT", ":", "fprintf", "(", "stream", ",", "\"%ld\"", ",", "(", "long", ")", "INTVAL", "(", "x", ")", ")", ";", "return", ";", "case", "SYMBOL_REF", ":", "assemble_name", "(", "stream", ",", "XSTR", "(", "x", ",", "0", ")", ")", ";", "return", ";", "case", "LABEL_REF", ":", "case", "CONST", ":", "output_addr_const", "(", "stream", ",", "x", ")", ";", "return", ";", "case", "PLUS", ":", "frv_print_operand_memory_reference", "(", "stream", ",", "x", ",", "0", ")", ";", "return", ";", "default", ":", "break", ";", "}", "fatal_insn", "(", "\"bad insn to frv_print_operand_address:\"", ",", "x", ")", ";", "}", ""], "natrual_language": ["Print", "a", "memory", "address", "as", "an", "operand", "to", "reference", "that", "memory", "location", "."], "TS_V_token": ["frv", "0", "\"%ld\"", "0", "0", "\"bad insn to frv_print_operand_address:\""], "File": "frv3", "Func": "frv_print_operand_address", "Target": "frv", "Target_Clf": "VLIW", "Compiler_Type": "GCC", "Idx": 3793, "Length": 135, "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": 3794, "Length": 468, "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": 3795, "Length": 380, "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": 3796, "Length": 145, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "bool", "J2FrameLowering", "::", "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", "(", ")", ";", "for", "(", "unsigned", "i", "=", "CSI", ".", "size", "(", ")", ";", "i", "!=", "0", ";", "--", "i", ")", "{", "unsigned", "Reg", "=", "CSI", "[", "i", "-", "1", "]", ".", "getReg", "(", ")", ";", "MBB", ".", "addLiveIn", "(", "Reg", ")", ";", "BuildMI", "(", "MBB", ",", "MI", ",", "DL", ",", "TII", ".", "get", "(", "J2", "::", "MOV32rmpush", ")", ",", "J2", "::", "R15", ")", ".", "addReg", "(", "Reg", ")", ".", "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": ["J2", "J2", "0", "1", "J2::MOV32rmpush", "J2::R15"], "File": "J2FrameLowering", "Func": "spillCalleeSavedRegisters", "Target": "J2", "Target_Clf": "MPU", "Compiler_Type": "LLVM", "Idx": 3797, "Length": 171, "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": 3798, "Length": 205, "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": 3799, "Length": 10, "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": 3800, "Length": 25, "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", "(", ")", ",", "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": "X86ISelLowering101", "Func": "lowerIdempotentRMWIntoFencedLoad", "Target": "X86", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 3801, "Length": 252, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "void", "Z80AsmBackend", "::", "applyFixup", "(", "const", "MCAssembler", "&", "Asm", ",", "const", "MCFixup", "&", "Fixup", ",", "const", "MCValue", "&", "Target", ",", "MutableArrayRef", "<", "char", ">", "Data", ",", "uint64_t", "Value", ",", "bool", "IsResolved", ")", "const", "{", "llvm_unreachable", "(", "\"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": ["Z80", "Z80", "\"Unimplemented\""], "File": "Z80AsmBackend1", "Func": "applyFixup", "Target": "Z80", "Target_Clf": "MPU", "Compiler_Type": "LLVM", "Idx": 3802, "Length": 40, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "bool", "SIInstrInfo", "::", "shouldClusterMemOps", "(", "ArrayRef", "<", "const", "MachineOperand", "*", ">", "BaseOps1", ",", "ArrayRef", "<", "const", "MachineOperand", "*", ">", "BaseOps2", ",", "unsigned", "NumLoads", ",", "unsigned", "NumBytes", ")", "const", "{", "assert", "(", "!", "BaseOps1", ".", "empty", "(", ")", "&&", "!", "BaseOps2", ".", "empty", "(", ")", ")", ";", "const", "MachineInstr", "&", "FirstLdSt", "=", "*", "BaseOps1", ".", "front", "(", ")", "->", "getParent", "(", ")", ";", "const", "MachineInstr", "&", "SecondLdSt", "=", "*", "BaseOps2", ".", "front", "(", ")", "->", "getParent", "(", ")", ";", "if", "(", "!", "memOpsHaveSameBasePtr", "(", "FirstLdSt", ",", "BaseOps1", ",", "SecondLdSt", ",", "BaseOps2", ")", ")", "return", "false", ";", "assert", "(", "(", "NumLoads", ">", "0", ")", "&&", "(", "NumBytes", ">", "0", ")", "&&", "(", "NumBytes", ">=", "NumLoads", ")", "&&", "\"Invalid NumLoads/NumBytes values\"", ")", ";", "unsigned", "MaxNumLoads", ";", "if", "(", "NumBytes", "<=", "4", "*", "NumLoads", ")", "{", "MaxNumLoads", "=", "5", ";", "}", "else", "{", "MaxNumLoads", "=", "4", ";", "}", "return", "NumLoads", "<=", "MaxNumLoads", ";", "}", ""], "natrual_language": ["Returns", "true", "if", "the", "two", "given", "memory", "operations", "should", "be", "scheduled", "adjacent", "."], "TS_V_token": ["AMDGPU", "SI", "0", "0", "\"Invalid NumLoads/NumBytes values\"", "4", "5", "4"], "File": "SIInstrInfo118", "Func": "shouldClusterMemOps", "Target": "AMDGPU", "Target_Clf": "GPU", "Compiler_Type": "LLVM", "Idx": 3803, "Length": 148, "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": 3804, "Length": 70, "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": 3805, "Length": 113, "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", "if", "(", "AArch64", "::", "FPR8RegClass", ".", "hasSubClassEq", "(", "RC", ")", ")", "{", "LoadOp", "=", "AArch64", "::", "LSFP8_LDR", ";", "}", "else", "if", "(", "AArch64", "::", "FPR16RegClass", ".", "hasSubClassEq", "(", "RC", ")", ")", "{", "LoadOp", "=", "AArch64", "::", "LSFP16_LDR", ";", "}", "else", "if", "(", "RC", "->", "hasType", "(", "MVT", "::", "f32", ")", "||", "RC", "->", "hasType", "(", "MVT", "::", "f64", ")", "||", "RC", "->", "hasType", "(", "MVT", "::", "f128", ")", ")", "{", "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\"", ")", ";", "}", "}", "else", "{", "if", "(", "AArch64", "::", "DPairRegClass", ".", "hasSubClassEq", "(", "RC", ")", ")", "LoadOp", "=", "AArch64", "::", "LD1x2_8B", ";", "else", "if", "(", "AArch64", "::", "DTripleRegClass", ".", "hasSubClassEq", "(", "RC", ")", ")", "LoadOp", "=", "AArch64", "::", "LD1x3_8B", ";", "else", "if", "(", "AArch64", "::", "DQuadRegClass", ".", "hasSubClassEq", "(", "RC", ")", ")", "LoadOp", "=", "AArch64", "::", "LD1x4_8B", ";", "else", "if", "(", "AArch64", "::", "QPairRegClass", ".", "hasSubClassEq", "(", "RC", ")", ")", "LoadOp", "=", "AArch64", "::", "LD1x2_16B", ";", "else", "if", "(", "AArch64", "::", "QTripleRegClass", ".", "hasSubClassEq", "(", "RC", ")", ")", "LoadOp", "=", "AArch64", "::", "LD1x3_16B", ";", "else", "if", "(", "AArch64", "::", "QQuadRegClass", ".", "hasSubClassEq", "(", "RC", ")", ")", "LoadOp", "=", "AArch64", "::", "LD1x4_16B", ";", "else", "llvm_unreachable", "(", "\"Unknown reg class\"", ")", ";", "MachineInstrBuilder", "NewMI", "=", "BuildMI", "(", "MBB", ",", "MBBI", ",", "DL", ",", "get", "(", "LoadOp", ")", ",", "DestReg", ")", ";", "NewMI", ".", "addFrameIndex", "(", "FrameIdx", ")", ".", "addMemOperand", "(", "MMO", ")", ";", "return", ";", "}", "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\"", "AArch64::FPR8RegClass", "AArch64::LSFP8_LDR", "AArch64::FPR16RegClass", "AArch64::LSFP16_LDR", "MVT::f32", "MVT::f64", "MVT::f128", "4", "AArch64::LSFP32_LDR", "8", "AArch64::LSFP64_LDR", "16", "AArch64::LSFP128_LDR", "\"Unknown size for regclass\"", "AArch64::DPairRegClass", "AArch64::LD1x2_8B", "AArch64::DTripleRegClass", "AArch64::LD1x3_8B", "AArch64::DQuadRegClass", "AArch64::LD1x4_8B", "AArch64::QPairRegClass", "AArch64::LD1x2_16B", "AArch64::QTripleRegClass", "AArch64::LD1x3_16B", "AArch64::QQuadRegClass", "AArch64::LD1x4_16B", "\"Unknown reg class\"", "0"], "File": "AArch64InstrInfo39", "Func": "loadRegFromStackSlot", "Target": "AArch64", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 3806, "Length": 477, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "bool", "ix86_force_load_from_GOT_p", "(", "rtx", "x", ")", "{", "return", "(", "(", "TARGET_64BIT", "||", "HAVE_AS_IX86_GOT32X", ")", "&&", "!", "TARGET_PECOFF", "&&", "!", "TARGET_MACHO", "&&", "!", "flag_plt", "&&", "!", "flag_pic", "&&", "ix86_cmodel", "!=", "CM_LARGE", "&&", "GET_CODE", "(", "x", ")", "==", "SYMBOL_REF", "&&", "SYMBOL_REF_FUNCTION_P", "(", "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"], "File": "i3866", "Func": "ix86_force_load_from_GOT_p", "Target": "i386", "Target_Clf": "CPU", "Compiler_Type": "GCC", "Idx": 3807, "Length": 51, "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": 3808, "Length": 34, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "static", "void", "aarch64_override_options_after_change", "(", "void", ")", "{", "if", "(", "flag_omit_frame_pointer", ")", "flag_omit_leaf_frame_pointer", "=", "false", ";", "else", "if", "(", "flag_omit_leaf_frame_pointer", ")", "flag_omit_frame_pointer", "=", "true", ";", "}", ""], "natrual_language": ["Implement", "targetm.override_options_after_change", "."], "TS_V_token": ["aarch64"], "File": "aarch642", "Func": "aarch64_override_options_after_change", "Target": "aarch64", "Target_Clf": "CPU", "Compiler_Type": "GCC", "Idx": 3809, "Length": 25, "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": 3810, "Length": 156, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "bool", "SIInstrInfo", "::", "isIgnorableUse", "(", "const", "MachineOperand", "&", "MO", ")", "const", "{", "return", "MO", ".", "getReg", "(", ")", "==", "AMDGPU", "::", "EXEC", "&&", "MO", ".", "isImplicit", "(", ")", "&&", "isVALU", "(", "*", "MO", ".", "getParent", "(", ")", ")", "&&", "!", "readsExecAsData", "(", "*", "MO", ".", "getParent", "(", ")", ")", ";", "}", ""], "natrual_language": ["Given", "MO", "is", "a", "PhysReg", "use", "return", "if", "it", "can", "be", "ignored", "for", "the", "purpose", "of", "instruction", "rematerialization", "or", "sinking", "."], "TS_V_token": ["AMDGPU", "SI", "AMDGPU::EXEC"], "File": "SIInstrInfo35", "Func": "isIgnorableUse", "Target": "AMDGPU", "Target_Clf": "GPU", "Compiler_Type": "LLVM", "Idx": 3811, "Length": 51, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "static", "rtx", "s390_find_constant", "(", "struct", "constant_pool", "*", "pool", ",", "rtx", "val", ",", "machine_mode", "mode", ")", "{", "struct", "constant", "*", "c", ";", "size_t", "i", ";", "for", "(", "i", "=", "0", ";", "i", "<", "NR_C_MODES", ";", "i", "++", ")", "if", "(", "constant_modes", "[", "i", "]", "==", "mode", ")", "break", ";", "gcc_assert", "(", "i", "!=", "NR_C_MODES", ")", ";", "for", "(", "c", "=", "pool", "->", "constants", "[", "i", "]", ";", "c", "!=", "NULL", ";", "c", "=", "c", "->", "next", ")", "if", "(", "rtx_equal_p", "(", "val", ",", "c", "->", "value", ")", ")", "break", ";", "gcc_assert", "(", "c", ")", ";", "return", "s390_pool_offset", "(", "pool", ",", "gen_rtx_LABEL_REF", "(", "Pmode", ",", "c", "->", "label", ")", ")", ";", "}", ""], "natrual_language": ["Find", "constant", "VAL", "of", "mode", "MODE", "in", "the", "constant", "pool", "POOL", ".", "Return", "an", "RTX", "describing", "the", "distance", "from", "the", "start", "of", "the", "pool", "to", "the", "location", "of", "the", "new", "constant", "."], "TS_V_token": ["s390", "0"], "File": "s390", "Func": "s390_find_constant", "Target": "s390", "Target_Clf": "MPU", "Compiler_Type": "GCC", "Idx": 3812, "Length": 110, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "void", "AVRAsmPrinter", "::", "emitStartOfAsmFile", "(", "Module", "&", "M", ")", "{", "const", "AVRTargetMachine", "&", "TM", "=", "(", "const", "AVRTargetMachine", "&", ")", "MMI", "->", "getTarget", "(", ")", ";", "const", "AVRSubtarget", "*", "SubTM", "=", "(", "const", "AVRSubtarget", "*", ")", "TM", ".", "getSubtargetImpl", "(", ")", ";", "if", "(", "!", "SubTM", ")", "return", ";", "OutStreamer", "->", "emitAssignment", "(", "MMI", "->", "getContext", "(", ")", ".", "getOrCreateSymbol", "(", "StringRef", "(", "\"__tmp_reg__\"", ")", ")", ",", "MCConstantExpr", "::", "create", "(", "SubTM", "->", "getRegTmpIndex", "(", ")", ",", "MMI", "->", "getContext", "(", ")", ")", ")", ";", "OutStreamer", "->", "emitAssignment", "(", "MMI", "->", "getContext", "(", ")", ".", "getOrCreateSymbol", "(", "StringRef", "(", "\"__zero_reg__\"", ")", ")", ",", "MCConstantExpr", "::", "create", "(", "SubTM", "->", "getRegZeroIndex", "(", ")", ",", "MMI", "->", "getContext", "(", ")", ")", ")", ";", "OutStreamer", "->", "emitAssignment", "(", "MMI", "->", "getContext", "(", ")", ".", "getOrCreateSymbol", "(", "StringRef", "(", "\"__SREG__\"", ")", ")", ",", "MCConstantExpr", "::", "create", "(", "SubTM", "->", "getIORegSREG", "(", ")", ",", "MMI", "->", "getContext", "(", ")", ")", ")", ";", "if", "(", "!", "SubTM", "->", "hasSmallStack", "(", ")", ")", "OutStreamer", "->", "emitAssignment", "(", "MMI", "->", "getContext", "(", ")", ".", "getOrCreateSymbol", "(", "StringRef", "(", "\"__SP_H__\"", ")", ")", ",", "MCConstantExpr", "::", "create", "(", "SubTM", "->", "getIORegSPH", "(", ")", ",", "MMI", "->", "getContext", "(", ")", ")", ")", ";", "OutStreamer", "->", "emitAssignment", "(", "MMI", "->", "getContext", "(", ")", ".", "getOrCreateSymbol", "(", "StringRef", "(", "\"__SP_L__\"", ")", ")", ",", "MCConstantExpr", "::", "create", "(", "SubTM", "->", "getIORegSPL", "(", ")", ",", "MMI", "->", "getContext", "(", ")", ")", ")", ";", "if", "(", "SubTM", "->", "hasEIJMPCALL", "(", ")", ")", "OutStreamer", "->", "emitAssignment", "(", "MMI", "->", "getContext", "(", ")", ".", "getOrCreateSymbol", "(", "StringRef", "(", "\"__EIND__\"", ")", ")", ",", "MCConstantExpr", "::", "create", "(", "SubTM", "->", "getIORegEIND", "(", ")", ",", "MMI", "->", "getContext", "(", ")", ")", ")", ";", "if", "(", "SubTM", "->", "hasELPM", "(", ")", ")", "OutStreamer", "->", "emitAssignment", "(", "MMI", "->", "getContext", "(", ")", ".", "getOrCreateSymbol", "(", "StringRef", "(", "\"__RAMPZ__\"", ")", ")", ",", "MCConstantExpr", "::", "create", "(", "SubTM", "->", "getIORegRAMPZ", "(", ")", ",", "MMI", "->", "getContext", "(", ")", ")", ")", ";", "}", ""], "natrual_language": ["This", "virtual", "method", "can", "be", "overridden", "by", "targets", "that", "want", "to", "emit", "something", "at", "the", "start", "of", "their", "file", "."], "TS_V_token": ["AVR", "AVR", "AVR", "AVR", "AVR", "AVR", "\"__tmp_reg__\"", "\"__zero_reg__\"", "\"__SREG__\"", "\"__SP_H__\"", "\"__SP_L__\"", "\"__EIND__\"", "\"__RAMPZ__\""], "File": "AVRAsmPrinter8", "Func": "emitStartOfAsmFile", "Target": "AVR", "Target_Clf": "MPU", "Compiler_Type": "LLVM", "Idx": 3813, "Length": 327, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "void", "WebAssemblyAsmPrinter", "::", "emitFunctionBodyStart", "(", ")", "{", "const", "Function", "&", "F", "=", "MF", "->", "getFunction", "(", ")", ";", "SmallVector", "<", "MVT", ",", "1", ">", "ResultVTs", ";", "SmallVector", "<", "MVT", ",", "4", ">", "ParamVTs", ";", "computeSignatureVTs", "(", "F", ".", "getFunctionType", "(", ")", ",", "F", ",", "TM", ",", "ParamVTs", ",", "ResultVTs", ")", ";", "auto", "Signature", "=", "signatureFromMVTs", "(", "ResultVTs", ",", "ParamVTs", ")", ";", "auto", "*", "WasmSym", "=", "cast", "<", "MCSymbolWasm", ">", "(", "CurrentFnSym", ")", ";", "WasmSym", "->", "setSignature", "(", "Signature", ".", "get", "(", ")", ")", ";", "addSignature", "(", "std", "::", "move", "(", "Signature", ")", ")", ";", "WasmSym", "->", "setType", "(", "wasm", "::", "WASM_SYMBOL_TYPE_FUNCTION", ")", ";", "getTargetStreamer", "(", ")", "->", "emitFunctionType", "(", "WasmSym", ")", ";", "if", "(", "MDNode", "*", "Idx", "=", "F", ".", "getMetadata", "(", "\"wasm.index\"", ")", ")", "{", "assert", "(", "Idx", "->", "getNumOperands", "(", ")", "==", "1", ")", ";", "getTargetStreamer", "(", ")", "->", "emitIndIdx", "(", "AsmPrinter", "::", "lowerConstant", "(", "cast", "<", "ConstantAsMetadata", ">", "(", "Idx", "->", "getOperand", "(", "0", ")", ")", "->", "getValue", "(", ")", ")", ")", ";", "}", "SmallVector", "<", "wasm", "::", "ValType", ",", "16", ">", "Locals", ";", "valTypesFromMVTs", "(", "MFI", "->", "getLocals", "(", ")", ",", "Locals", ")", ";", "getTargetStreamer", "(", ")", "->", "emitLocal", "(", "Locals", ")", ";", "AsmPrinter", "::", "emitFunctionBodyStart", "(", ")", ";", "}", ""], "natrual_language": ["Targets", "can", "override", "this", "to", "emit", "stuff", "before", "the", "first", "basic", "block", "in", "the", "function", "."], "TS_V_token": ["WebAssembly", "WebAssembly", "1", "4", "wasm::WASM_SYMBOL_TYPE_FUNCTION", "\"wasm.index\"", "1", "0", "wasm::ValType", "16"], "File": "WebAssemblyAsmPrinter59", "Func": "emitFunctionBodyStart", "Target": "WebAssembly", "Target_Clf": "Virtual ISA", "Compiler_Type": "LLVM", "Idx": 3814, "Length": 204, "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": 3815, "Length": 381, "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": 3816, "Length": 296, "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": 3817, "Length": 495, "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": 3818, "Length": 35, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "static", "bool", "c4x_handle_option", "(", "size_t", "code", ",", "const", "char", "*", "arg", ",", "int", "value", ")", "{", "switch", "(", "code", ")", "{", "case", "OPT_m30", ":", "c4x_cpu_version", "=", "30", ";", "return", "true", ";", "case", "OPT_m31", ":", "c4x_cpu_version", "=", "31", ";", "return", "true", ";", "case", "OPT_m32", ":", "c4x_cpu_version", "=", "32", ";", "return", "true", ";", "case", "OPT_m33", ":", "c4x_cpu_version", "=", "33", ";", "return", "true", ";", "case", "OPT_m40", ":", "c4x_cpu_version", "=", "40", ";", "return", "true", ";", "case", "OPT_m44", ":", "c4x_cpu_version", "=", "44", ";", "return", "true", ";", "case", "OPT_mcpu_", ":", "if", "(", "arg", "[", "0", "]", "==", "'c'", "||", "arg", "[", "0", "]", "==", "'C'", ")", "arg", "++", ";", "value", "=", "atoi", "(", "arg", ")", ";", "switch", "(", "value", ")", "{", "case", "30", ":", "case", "31", ":", "case", "32", ":", "case", "33", ":", "case", "40", ":", "case", "44", ":", "c4x_cpu_version", "=", "value", ";", "return", "true", ";", "}", "return", "false", ";", "default", ":", "return", "true", ";", "}", "}", ""], "natrual_language": ["Implement", "TARGET_HANDLE_OPTION", "."], "TS_V_token": ["c4x", "30", "31", "32", "33", "40", "44", "0", "0", "30", "31", "32", "33", "40", "44"], "File": "c4x1", "Func": "c4x_handle_option", "Target": "c4x", "Target_Clf": "DSP", "Compiler_Type": "GCC", "Idx": 3819, "Length": 151, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "const", "int", "*", "SIRegisterInfo", "::", "getRegUnitPressureSets", "(", "unsigned", "RegUnit", ")", "const", "{", "static", "const", "int", "Empty", "[", "]", "=", "{", "-", "1", "}", ";", "if", "(", "RegPressureIgnoredUnits", "[", "RegUnit", "]", ")", "return", "Empty", ";", "return", "AMDGPUGenRegisterInfo", "::", "getRegUnitPressureSets", "(", "RegUnit", ")", ";", "}", ""], "natrual_language": ["Get", "the", "dimensions", "of", "register", "pressure", "impacted", "by", "this", "register", "unit", "."], "TS_V_token": ["AMDGPU", "SI", "1", "AMDGPU"], "File": "SIRegisterInfo (3)", "Func": "getRegUnitPressureSets", "Target": "AMDGPU", "Target_Clf": "GPU", "Compiler_Type": "LLVM", "Idx": 3820, "Length": 43, "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": ["RI5CY", "RISCV", "1", "0", "12", "0", "0", "5"], "File": "RISCVISelLowering", "Func": "LowerAsmOperandForConstraint", "Target": "RI5CY", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 3821, "Length": 246, "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": 3822, "Length": 411, "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": 3823, "Length": 373, "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": 3824, "Length": 56, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "static", "void", "setup_incoming_varargs", "(", "CUMULATIVE_ARGS", "*", "cum", ",", "enum", "machine_mode", "mode", "ATTRIBUTE_UNUSED", ",", "tree", "type", "ATTRIBUTE_UNUSED", ",", "int", "*", "pretend_size", ",", "int", "no_rtl", ")", "{", "rtx", "mem", ";", "int", "i", ";", "if", "(", "no_rtl", ")", "return", ";", "for", "(", "i", "=", "cum", "->", "words", "+", "1", ";", "i", "<", "max_arg_registers", ";", "i", "++", ")", "{", "mem", "=", "gen_rtx_MEM", "(", "Pmode", ",", "plus_constant", "(", "arg_pointer_rtx", ",", "(", "i", "*", "UNITS_PER_WORD", ")", ")", ")", ";", "emit_move_insn", "(", "mem", ",", "gen_rtx_REG", "(", "Pmode", ",", "i", ")", ")", ";", "}", "*", "pretend_size", "=", "0", ";", "}", ""], "natrual_language": ["Perform", "any", "needed", "actions", "needed", "for", "a", "function", "that", "is", "receiving", "a", "variable", "number", "of", "arguments", ".", "CUM", "is", "as", "above", ".", "MODE", "and", "TYPE", "are", "the", "mode", "and", "type", "of", "the", "current", "parameter", ".", "PRETEND_SIZE", "is", "a", "variable", "that", "should", "be", "set", "to", "the", "amount", "of", "stack", "that", "must", "be", "pushed", "by", "the", "prolog", "to", "pretend", "that", "our", "caller", "pushed", "it", ".", "Normally", ",", "this", "macro", "will", "push", "all", "remaining", "incoming", "registers", "on", "the", "stack", "and", "set", "PRETEND_SIZE", "to", "the", "length", "of", "the", "registers", "pushed", "."], "TS_V_token": ["bfin", "1", "0"], "File": "bfin2", "Func": "setup_incoming_varargs", "Target": "bfin", "Target_Clf": "DSP", "Compiler_Type": "GCC", "Idx": 3825, "Length": 92, "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": ["NVPTX"], "File": "NVPTXSubtarget31", "Func": "getDataLayout", "Target": "NVPTX", "Target_Clf": "GPU", "Compiler_Type": "LLVM", "Idx": 3826, "Length": 14, "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": 3827, "Length": 341, "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": 3828, "Length": 125, "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", ",", "NULL", ")", ";", "private_data_section", "=", "get_unnamed_section", "(", "SECTION_WRITE", ",", "rs6000_xcoff_output_readwrite_section_asm_op", ",", "NULL", ")", ";", "read_only_private_data_section", "=", "get_unnamed_section", "(", "0", ",", "rs6000_xcoff_output_readonly_section_asm_op", ",", "\"\"", ")", ";", "tls_data_section", "=", "get_unnamed_section", "(", "SECTION_TLS", ",", "rs6000_xcoff_output_tls_section_asm_op", ",", "NULL", ")", ";", "tls_private_data_section", "=", "get_unnamed_section", "(", "SECTION_TLS", ",", "rs6000_xcoff_output_tls_section_asm_op", ",", "\"\"", ")", ";", "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": "rs6000", "Func": "rs6000_xcoff_asm_init_sections", "Target": "rs6000", "Target_Clf": "CPU", "Compiler_Type": "GCC", "Idx": 3829, "Length": 78, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "MachineInstrBuilder", "SIInstrInfo", "::", "getAddNoCarry", "(", "MachineBasicBlock", "&", "MBB", ",", "MachineBasicBlock", "::", "iterator", "I", ",", "const", "DebugLoc", "&", "DL", ",", "Register", "DestReg", ",", "RegScavenger", "&", "RS", ")", "const", "{", "if", "(", "ST", ".", "hasAddNoCarry", "(", ")", ")", "return", "BuildMI", "(", "MBB", ",", "I", ",", "DL", ",", "get", "(", "AMDGPU", "::", "V_ADD_U32_e32", ")", ",", "DestReg", ")", ";", "Register", "UnusedCarry", "=", "!", "RS", ".", "isRegUsed", "(", "AMDGPU", "::", "VCC", ")", "?", "Register", "(", "RI", ".", "getVCC", "(", ")", ")", ":", "RS", ".", "scavengeRegister", "(", "RI", ".", "getBoolRC", "(", ")", ",", "I", ",", "0", ",", "false", ")", ";", "if", "(", "!", "UnusedCarry", ".", "isValid", "(", ")", ")", "return", "MachineInstrBuilder", "(", ")", ";", "return", "BuildMI", "(", "MBB", ",", "I", ",", "DL", ",", "get", "(", "AMDGPU", "::", "V_ADD_CO_U32_e64", ")", ",", "DestReg", ")", ".", "addReg", "(", "UnusedCarry", ",", "RegState", "::", "Define", "|", "RegState", "::", "Dead", ")", ";", "}", ""], "natrual_language": ["Return", "a", "partially", "built", "integer", "add", "instruction", "without", "carry", "."], "TS_V_token": ["AMDGPU", "SI", "AMDGPU::V_ADD_U32_e32", "AMDGPU::VCC", "0", "AMDGPU::V_ADD_CO_U32_e64"], "File": "SIInstrInfo11", "Func": "getAddNoCarry", "Target": "AMDGPU", "Target_Clf": "GPU", "Compiler_Type": "LLVM", "Idx": 3830, "Length": 141, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "SDValue", "AMDGPUTargetLowering", "::", "LowerOperation", "(", "SDValue", "Op", ",", "SelectionDAG", "&", "DAG", ")", "const", "{", "switch", "(", "Op", ".", "getOpcode", "(", ")", ")", "{", "default", ":", "Op", "->", "print", "(", "errs", "(", ")", ",", "&", "DAG", ")", ";", "llvm_unreachable", "(", "\"Custom lowering code for this \"", "\"instruction is not implemented yet!\"", ")", ";", "break", ";", "case", "ISD", "::", "SIGN_EXTEND_INREG", ":", "return", "LowerSIGN_EXTEND_INREG", "(", "Op", ",", "DAG", ")", ";", "case", "ISD", "::", "CONCAT_VECTORS", ":", "return", "LowerCONCAT_VECTORS", "(", "Op", ",", "DAG", ")", ";", "case", "ISD", "::", "EXTRACT_SUBVECTOR", ":", "return", "LowerEXTRACT_SUBVECTOR", "(", "Op", ",", "DAG", ")", ";", "case", "ISD", "::", "UDIVREM", ":", "return", "LowerUDIVREM", "(", "Op", ",", "DAG", ")", ";", "case", "ISD", "::", "SDIVREM", ":", "return", "LowerSDIVREM", "(", "Op", ",", "DAG", ")", ";", "case", "ISD", "::", "FREM", ":", "return", "LowerFREM", "(", "Op", ",", "DAG", ")", ";", "case", "ISD", "::", "FCEIL", ":", "return", "LowerFCEIL", "(", "Op", ",", "DAG", ")", ";", "case", "ISD", "::", "FTRUNC", ":", "return", "LowerFTRUNC", "(", "Op", ",", "DAG", ")", ";", "case", "ISD", "::", "FRINT", ":", "return", "LowerFRINT", "(", "Op", ",", "DAG", ")", ";", "case", "ISD", "::", "FNEARBYINT", ":", "return", "LowerFNEARBYINT", "(", "Op", ",", "DAG", ")", ";", "case", "ISD", "::", "FROUND", ":", "return", "LowerFROUND", "(", "Op", ",", "DAG", ")", ";", "case", "ISD", "::", "FFLOOR", ":", "return", "LowerFFLOOR", "(", "Op", ",", "DAG", ")", ";", "case", "ISD", "::", "FLOG", ":", "return", "LowerFLOG", "(", "Op", ",", "DAG", ",", "numbers", "::", "ln2f", ")", ";", "case", "ISD", "::", "FLOG10", ":", "return", "LowerFLOG", "(", "Op", ",", "DAG", ",", "numbers", "::", "ln2f", "/", "numbers", "::", "ln10f", ")", ";", "case", "ISD", "::", "FEXP", ":", "return", "lowerFEXP", "(", "Op", ",", "DAG", ")", ";", "case", "ISD", "::", "SINT_TO_FP", ":", "return", "LowerSINT_TO_FP", "(", "Op", ",", "DAG", ")", ";", "case", "ISD", "::", "UINT_TO_FP", ":", "return", "LowerUINT_TO_FP", "(", "Op", ",", "DAG", ")", ";", "case", "ISD", "::", "FP_TO_FP16", ":", "return", "LowerFP_TO_FP16", "(", "Op", ",", "DAG", ")", ";", "case", "ISD", "::", "FP_TO_SINT", ":", "case", "ISD", "::", "FP_TO_UINT", ":", "return", "LowerFP_TO_INT", "(", "Op", ",", "DAG", ")", ";", "case", "ISD", "::", "CTTZ", ":", "case", "ISD", "::", "CTTZ_ZERO_UNDEF", ":", "case", "ISD", "::", "CTLZ", ":", "case", "ISD", "::", "CTLZ_ZERO_UNDEF", ":", "return", "LowerCTLZ_CTTZ", "(", "Op", ",", "DAG", ")", ";", "case", "ISD", "::", "DYNAMIC_STACKALLOC", ":", "return", "LowerDYNAMIC_STACKALLOC", "(", "Op", ",", "DAG", ")", ";", "}", "return", "Op", ";", "}", ""], "natrual_language": ["LowerOperation", "-", "Provide", "custom", "lowering", "hooks", "for", "some", "operations", "."], "TS_V_token": ["AMDGPU", "AMDGPU", "\"Custom lowering code for this \"", "\"instruction is not implemented yet!\"", "ISD::SIGN_EXTEND_INREG", "SI", "ISD::CONCAT_VECTORS", "ISD::EXTRACT_SUBVECTOR", "ISD::UDIVREM", "ISD::SDIVREM", "ISD::FREM", "ISD::FCEIL", "ISD::FTRUNC", "ISD::FRINT", "ISD::FNEARBYINT", "ISD::FROUND", "ISD::FFLOOR", "ISD::FLOG", "ISD::FLOG10", "ISD::FEXP", "ISD::SINT_TO_FP", "SI", "ISD::UINT_TO_FP", "ISD::FP_TO_FP16", "ISD::FP_TO_SINT", "ISD::FP_TO_UINT", "ISD::CTTZ", "ISD::CTTZ_ZERO_UNDEF", "ISD::CTLZ", "ISD::CTLZ_ZERO_UNDEF", "ISD::DYNAMIC_STACKALLOC"], "File": "AMDGPUISelLowering (2)1", "Func": "LowerOperation", "Target": "AMDGPU", "Target_Clf": "GPU", "Compiler_Type": "LLVM", "Idx": 3831, "Length": 355, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "AMDGPUSubtarget", "&", "AMDGPUSubtarget", "::", "initializeSubtargetDependencies", "(", "const", "Triple", "&", "TT", ",", "StringRef", "GPU", ",", "StringRef", "FS", ")", "{", "SmallString", "<", "256", ">", "FullFS", "(", "\"+promote-alloca,+dx10-clamp,+load-store-opt,\"", ")", ";", "if", "(", "isAmdHsaOS", "(", ")", ")", "FullFS", "+=", "\"+flat-address-space,+flat-for-global,+unaligned-buffer-access,+trap-handler,\"", ";", "if", "(", "getGeneration", "(", ")", ">=", "AMDGPUSubtarget", "::", "SOUTHERN_ISLANDS", ")", "{", "FullFS", "+=", "\"+fp64-fp16-denormals,\"", ";", "}", "else", "{", "FullFS", "+=", "\"-fp32-denormals,\"", ";", "}", "FullFS", "+=", "FS", ";", "ParseSubtargetFeatures", "(", "GPU", ",", "FullFS", ")", ";", "assert", "(", "!", "hasFP64", "(", ")", "||", "(", "getGeneration", "(", ")", ">=", "AMDGPUSubtarget", "::", "SOUTHERN_ISLANDS", ")", ")", ";", "if", "(", "!", "hasAddr64", "(", ")", "&&", "!", "FS", ".", "contains", "(", "\"flat-for-global\"", ")", ")", "{", "FlatForGlobal", "=", "true", ";", "}", "if", "(", "MaxPrivateElementSize", "==", "0", ")", "MaxPrivateElementSize", "=", "4", ";", "if", "(", "LDSBankCount", "==", "0", ")", "LDSBankCount", "=", "32", ";", "if", "(", "TT", ".", "getArch", "(", ")", "==", "Triple", "::", "amdgcn", ")", "{", "if", "(", "LocalMemorySize", "==", "0", ")", "LocalMemorySize", "=", "32768", ";", "if", "(", "!", "HasMovrel", "&&", "!", "HasVGPRIndexMode", ")", "HasMovrel", "=", "true", ";", "}", "HasFminFmaxLegacy", "=", "getGeneration", "(", ")", "<", "AMDGPUSubtarget", "::", "VOLCANIC_ISLANDS", ";", "return", "*", "this", ";", "}", ""], "natrual_language": ["initializeSubtargetDependencies", "-", "Initializes", "using", "a", "CPU", ",", "a", "TuneCPU", ",", "and", "feature", "string", "so", "that", "we", "can", "use", "initializer", "lists", "for", "subtarget", "initialization", "."], "TS_V_token": ["AMDGPU", "AMDGPU", "AMDGPU", "256", "\"+promote-alloca,+dx10-clamp,+load-store-opt,\"", "\"+flat-address-space,+flat-for-global,+unaligned-buffer-access,+trap-handler,\"", "AMDGPU", "\"+fp64-fp16-denormals,\"", "\"-fp32-denormals,\"", "AMDGPU", "\"flat-for-global\"", "0", "4", "0", "32", "0", "32768", "AMDGPU"], "File": "AMDGPUSubtarget76", "Func": "initializeSubtargetDependencies", "Target": "AMDGPU", "Target_Clf": "GPU", "Compiler_Type": "LLVM", "Idx": 3832, "Length": 181, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "static", "unsigned", "int", "riscv_hard_regno_nregs", "(", "unsigned", "int", "regno", ",", "machine_mode", "mode", ")", "{", "if", "(", "riscv_v_ext_vector_mode_p", "(", "mode", ")", ")", "{", "if", "(", "maybe_lt", "(", "GET_MODE_SIZE", "(", "mode", ")", ",", "UNITS_PER_V_REG", ")", ")", "return", "1", ";", "return", "exact_div", "(", "GET_MODE_SIZE", "(", "mode", ")", ",", "UNITS_PER_V_REG", ")", ".", "to_constant", "(", ")", ";", "}", "if", "(", "regno", "==", "VTYPE_REGNUM", "||", "regno", "==", "VL_REGNUM", ")", "return", "1", ";", "if", "(", "V_REG_P", "(", "regno", ")", ")", "return", "1", ";", "if", "(", "FP_REG_P", "(", "regno", ")", ")", "return", "(", "GET_MODE_SIZE", "(", "mode", ")", ".", "to_constant", "(", ")", "+", "UNITS_PER_FP_REG", "-", "1", ")", "/", "UNITS_PER_FP_REG", ";", "return", "(", "GET_MODE_SIZE", "(", "mode", ")", ".", "to_constant", "(", ")", "+", "UNITS_PER_WORD", "-", "1", ")", "/", "UNITS_PER_WORD", ";", "}", ""], "natrual_language": ["Implement", "HARD_REGNO_NREGS", "."], "TS_V_token": ["riscv", "1", "1", "1", "1", "1"], "File": "riscv1", "Func": "riscv_hard_regno_nregs", "Target": "riscv", "Target_Clf": "CPU", "Compiler_Type": "GCC", "Idx": 3833, "Length": 119, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "void", "NVPTXPassConfig", "::", "addMachineSSAOptimization", "(", ")", "{", "if", "(", "addPass", "(", "&", "EarlyTailDuplicateID", ")", ")", "printAndVerify", "(", "\"After Pre-RegAlloc TailDuplicate\"", ")", ";", "addPass", "(", "&", "OptimizePHIsID", ")", ";", "addPass", "(", "&", "StackColoringID", ")", ";", "addPass", "(", "&", "LocalStackSlotAllocationID", ")", ";", "addPass", "(", "&", "DeadMachineInstructionElimID", ")", ";", "printAndVerify", "(", "\"After codegen DCE pass\"", ")", ";", "if", "(", "addILPOpts", "(", ")", ")", "printAndVerify", "(", "\"After ILP optimizations\"", ")", ";", "addPass", "(", "&", "EarlyMachineLICMID", ")", ";", "addPass", "(", "&", "MachineCSEID", ")", ";", "addPass", "(", "&", "MachineSinkingID", ")", ";", "printAndVerify", "(", "\"After Machine LICM, CSE and Sinking passes\"", ")", ";", "addPass", "(", "&", "PeepholeOptimizerID", ")", ";", "printAndVerify", "(", "\"After codegen peephole optimization pass\"", ")", ";", "}", ""], "natrual_language": ["Methods", "with", "trivial", "inline", "returns", "are", "convenient", "points", "in", "the", "common", "codegen", "pass", "pipeline", "where", "targets", "may", "insert", "passes", "."], "TS_V_token": ["NVPTX", "NVPTX", "\"After Pre-RegAlloc TailDuplicate\"", "\"After codegen DCE pass\"", "\"After ILP optimizations\"", "\"After Machine LICM, CSE and Sinking passes\"", "\"After codegen peephole optimization pass\""], "File": "NVPTXTargetMachine (2)1", "Func": "addMachineSSAOptimization", "Target": "NVPTX", "Target_Clf": "GPU", "Compiler_Type": "LLVM", "Idx": 3834, "Length": 95, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "static", "rtx", "c6x_expand_builtin", "(", "tree", "exp", ",", "rtx", "target", "ATTRIBUTE_UNUSED", ",", "rtx", "subtarget", "ATTRIBUTE_UNUSED", ",", "machine_mode", "mode", "ATTRIBUTE_UNUSED", ",", "int", "ignore", "ATTRIBUTE_UNUSED", ")", "{", "size_t", "i", ";", "const", "struct", "builtin_description", "*", "d", ";", "tree", "fndecl", "=", "TREE_OPERAND", "(", "CALL_EXPR_FN", "(", "exp", ")", ",", "0", ")", ";", "unsigned", "int", "fcode", "=", "DECL_FUNCTION_CODE", "(", "fndecl", ")", ";", "for", "(", "i", "=", "0", ",", "d", "=", "bdesc_2arg", ";", "i", "<", "ARRAY_SIZE", "(", "bdesc_2arg", ")", ";", "i", "++", ",", "d", "++", ")", "if", "(", "d", "->", "code", "==", "fcode", ")", "return", "c6x_expand_binop_builtin", "(", "d", "->", "icode", ",", "exp", ",", "target", ",", "fcode", "==", "C6X_BUILTIN_CLRR", ")", ";", "for", "(", "i", "=", "0", ",", "d", "=", "bdesc_1arg", ";", "i", "<", "ARRAY_SIZE", "(", "bdesc_1arg", ")", ";", "i", "++", ",", "d", "++", ")", "if", "(", "d", "->", "code", "==", "fcode", ")", "return", "c6x_expand_unop_builtin", "(", "d", "->", "icode", ",", "exp", ",", "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", "."], "TS_V_token": ["c6x", "0", "0", "0"], "File": "c6x2", "Func": "c6x_expand_builtin", "Target": "c6x", "Target_Clf": "VLIW", "Compiler_Type": "GCC", "Idx": 3835, "Length": 150, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "static", "rtx", "epiphany_function_arg", "(", "cumulative_args_t", "cum_v", ",", "machine_mode", "mode", ",", "const_tree", "type", ",", "bool", "named", "ATTRIBUTE_UNUSED", ")", "{", "CUMULATIVE_ARGS", "cum", "=", "*", "get_cumulative_args", "(", "cum_v", ")", ";", "if", "(", "PASS_IN_REG_P", "(", "cum", ",", "mode", ",", "type", ")", ")", "return", "gen_rtx_REG", "(", "mode", ",", "ROUND_ADVANCE_CUM", "(", "cum", ",", "mode", ",", "type", ")", ")", ";", "return", "0", ";", "}", ""], "natrual_language": ["On", "the", "EPIPHANY", "the", "first", "MAX_EPIPHANY_PARM_REGS", "args", "are", "normally", "in", "registers", "and", "the", "rest", "are", "pushed", "."], "TS_V_token": ["epiphany", "0"], "File": "epiphany2", "Func": "epiphany_function_arg", "Target": "epiphany", "Target_Clf": "MPU", "Compiler_Type": "GCC", "Idx": 3836, "Length": 57, "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": 3837, "Length": 34, "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 integer\"", ",", "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 integer\"", "0", "4", "0xffff", "\"%s%s\"", "16", "\"%sL\""], "File": "mmix", "Func": "mmix_output_shiftvalue_op_from_str", "Target": "mmix", "Target_Clf": "CPU", "Compiler_Type": "GCC", "Idx": 3838, "Length": 128, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "void", "HexagonFrameLowering", "::", "processFunctionBeforeFrameFinalized", "(", "MachineFunction", "&", "MF", ",", "RegScavenger", "*", "RS", ")", "const", "{", "MachineFrameInfo", "&", "MFI", "=", "MF", ".", "getFrameInfo", "(", ")", ";", "bool", "HasAlloca", "=", "MFI", ".", "hasVarSizedObjects", "(", ")", ";", "bool", "NeedsAlign", "=", "(", "MFI", ".", "getMaxAlignment", "(", ")", ">", "getStackAlignment", "(", ")", ")", ";", "if", "(", "!", "HasAlloca", "||", "!", "NeedsAlign", ")", "return", ";", "unsigned", "LFS", "=", "MFI", ".", "getLocalFrameSize", "(", ")", ";", "for", "(", "int", "i", "=", "0", ",", "e", "=", "MFI", ".", "getObjectIndexEnd", "(", ")", ";", "i", "!=", "e", ";", "++", "i", ")", "{", "if", "(", "!", "MFI", ".", "isSpillSlotObjectIndex", "(", "i", ")", "||", "MFI", ".", "isDeadObjectIndex", "(", "i", ")", ")", "continue", ";", "unsigned", "S", "=", "MFI", ".", "getObjectSize", "(", "i", ")", ";", "unsigned", "A", "=", "std", "::", "max", "(", "MFI", ".", "getObjectAlignment", "(", "i", ")", ",", "8U", ")", ";", "MFI", ".", "setObjectAlignment", "(", "i", ",", "8", ")", ";", "LFS", "=", "alignTo", "(", "LFS", "+", "S", ",", "A", ")", ";", "MFI", ".", "mapLocalFrameObject", "(", "i", ",", "-", "LFS", ")", ";", "}", "MFI", ".", "setLocalFrameSize", "(", "LFS", ")", ";", "unsigned", "A", "=", "MFI", ".", "getLocalFrameMaxAlign", "(", ")", ";", "assert", "(", "A", "<=", "8", "&&", "\"Unexpected local frame alignment\"", ")", ";", "if", "(", "A", "==", "0", ")", "MFI", ".", "setLocalFrameMaxAlign", "(", "8", ")", ";", "MFI", ".", "setUseLocalStackAllocationBlock", "(", "true", ")", ";", "unsigned", "AP", "=", "0", ";", "if", "(", "const", "MachineInstr", "*", "AI", "=", "getAlignaInstr", "(", "MF", ")", ")", "AP", "=", "AI", "->", "getOperand", "(", "0", ")", ".", "getReg", "(", ")", ";", "auto", "&", "HMFI", "=", "*", "MF", ".", "getInfo", "<", "HexagonMachineFunctionInfo", ">", "(", ")", ";", "HMFI", ".", "setStackAlignBasePhysReg", "(", "AP", ")", ";", "}", ""], "natrual_language": ["processFunctionBeforeFrameFinalized", "-", "This", "method", "is", "called", "immediately", "before", "the", "specified", "function", "'s", "frame", "layout", "(", "MF.getFrameInfo", "(", ")", ")", "is", "finalized", "."], "TS_V_token": ["Hexagon", "Hexagon", "0", "8U", "8", "8", "\"Unexpected local frame alignment\"", "0", "8", "0", "0", "Hexagon"], "File": "HexagonFrameLowering11", "Func": "processFunctionBeforeFrameFinalized", "Target": "Hexagon", "Target_Clf": "DSP", "Compiler_Type": "LLVM", "Idx": 3839, "Length": 265, "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": 3840, "Length": 346, "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": 3841, "Length": 56, "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": 3842, "Length": 129, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "StringRef", "getPassName", "(", ")", "const", "override", "{", "return", "\"R600 Expand special instructions pass\"", ";", "}", ""], "natrual_language": ["getPassName", "-", "Return", "a", "nice", "clean", "name", "for", "a", "pass", "."], "TS_V_token": ["AMDGPU", "\"R600 Expand special instructions pass\""], "File": "R600ExpandSpecialInstrs12", "Func": "getPassName", "Target": "AMDGPU", "Target_Clf": "GPU", "Compiler_Type": "LLVM", "Idx": 3843, "Length": 11, "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": 3844, "Length": 148, "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": 3845, "Length": 99, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "bool", "mprocPassConfig", "::", "addPreEmitPass", "(", ")", "{", "addPass", "(", "createmprocBranchSelectionPass", "(", ")", ")", ";", "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": ["mproc", "mproc", "mproc"], "File": "mprocTargetMachine", "Func": "addPreEmitPass", "Target": "mproc", "Target_Clf": "Virtual ISA", "Compiler_Type": "LLVM", "Idx": 3846, "Length": 18, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "bool", "MOSPassConfig", "::", "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": ["MOS", "MOS"], "File": "MOSTargetMachine", "Func": "addLegalizeMachineIR", "Target": "MOS", "Target_Clf": "MPU", "Compiler_Type": "LLVM", "Idx": 3847, "Length": 19, "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": 3848, "Length": 125, "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": 3849, "Length": 61, "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", "::", "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"], "File": "AArch64ISelLowering104", "Func": "CCAssignFnForCall", "Target": "AArch64", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 3850, "Length": 123, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "SDValue", "AMDGPUTargetLowering", "::", "SplitVectorLoad", "(", "const", "SDValue", "&", "Op", ",", "SelectionDAG", "&", "DAG", ")", "const", "{", "LoadSDNode", "*", "Load", "=", "dyn_cast", "<", "LoadSDNode", ">", "(", "Op", ")", ";", "EVT", "MemEltVT", "=", "Load", "->", "getMemoryVT", "(", ")", ".", "getVectorElementType", "(", ")", ";", "EVT", "EltVT", "=", "Op", ".", "getValueType", "(", ")", ".", "getVectorElementType", "(", ")", ";", "EVT", "PtrVT", "=", "Load", "->", "getBasePtr", "(", ")", ".", "getValueType", "(", ")", ";", "unsigned", "NumElts", "=", "Load", "->", "getMemoryVT", "(", ")", ".", "getVectorNumElements", "(", ")", ";", "SmallVector", "<", "SDValue", ",", "8", ">", "Loads", ";", "SDLoc", "SL", "(", "Op", ")", ";", "for", "(", "unsigned", "i", "=", "0", ",", "e", "=", "NumElts", ";", "i", "!=", "e", ";", "++", "i", ")", "{", "SDValue", "Ptr", "=", "DAG", ".", "getNode", "(", "ISD", "::", "ADD", ",", "SL", ",", "PtrVT", ",", "Load", "->", "getBasePtr", "(", ")", ",", "DAG", ".", "getConstant", "(", "i", "*", "(", "MemEltVT", ".", "getSizeInBits", "(", ")", "/", "8", ")", ",", "PtrVT", ")", ")", ";", "Loads", ".", "push_back", "(", "DAG", ".", "getExtLoad", "(", "Load", "->", "getExtensionType", "(", ")", ",", "SL", ",", "EltVT", ",", "Load", "->", "getChain", "(", ")", ",", "Ptr", ",", "MachinePointerInfo", "(", "Load", "->", "getMemOperand", "(", ")", "->", "getValue", "(", ")", ")", ",", "MemEltVT", ",", "Load", "->", "isVolatile", "(", ")", ",", "Load", "->", "isNonTemporal", "(", ")", ",", "Load", "->", "getAlignment", "(", ")", ")", ")", ";", "}", "return", "DAG", ".", "getNode", "(", "ISD", "::", "BUILD_VECTOR", ",", "SL", ",", "Op", ".", "getValueType", "(", ")", ",", "&", "Loads", "[", "0", "]", ",", "Loads", ".", "size", "(", ")", ")", ";", "}", ""], "natrual_language": ["Split", "a", "vector", "load", "into", "2", "loads", "of", "half", "the", "vector", "."], "TS_V_token": ["R600", "8", "0", "ISD::ADD", "8", "ISD::BUILD_VECTOR", "0"], "File": "AMDGPUISelLowering108", "Func": "SplitVectorLoad", "Target": "R600", "Target_Clf": "GPU", "Compiler_Type": "LLVM", "Idx": 3851, "Length": 247, "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": 3852, "Length": 466, "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": ["RI5CY", "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": "RISCVISelLowering", "Func": "EmitInstrWithCustomInserter", "Target": "RI5CY", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 3853, "Length": 214, "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": 3854, "Length": 25, "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": 3855, "Length": 253, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "void", "WebAssemblyPassConfig", "::", "addPostRegAlloc", "(", ")", "{", "disablePass", "(", "&", "PrologEpilogCodeInserterID", ")", ";", "disablePass", "(", "&", "MachineCopyPropagationID", ")", ";", "disablePass", "(", "&", "MachineBlockPlacementID", ")", ";", "}", ""], "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": ["WebAssembly", "WebAssembly"], "File": "WebAssemblyTargetMachine36", "Func": "addPostRegAlloc", "Target": "WebAssembly", "Target_Clf": "Virtual ISA", "Compiler_Type": "LLVM", "Idx": 3856, "Length": 26, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "void", "emitValueImpl", "(", "const", "MCExpr", "*", "Value", ",", "unsigned", "Size", ",", "SMLoc", "Loc", "=", "SMLoc", "(", ")", ")", "override", "{", "}", ""], "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": ["Patmos"], "File": "PatmosInstrInfo1", "Func": "emitValueImpl", "Target": "Patmos", "Target_Clf": "VLIW", "Compiler_Type": "LLVM", "Idx": 3857, "Length": 21, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "StringRef", "getPassName", "(", ")", "const", "override", "{", "return", "AVOIDCALL_DESC", ";", "}", ""], "natrual_language": ["getPassName", "-", "Return", "a", "nice", "clean", "name", "for", "a", "pass", "."], "TS_V_token": ["X86"], "File": "X86AvoidTrailingCall", "Func": "getPassName", "Target": "X86", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 3858, "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": 3859, "Length": 95, "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": 3860, "Length": 159, "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": ["Patmos"], "File": "PatmosAsmBackend", "Func": "mayNeedRelaxation", "Target": "Patmos", "Target_Clf": "VLIW", "Compiler_Type": "LLVM", "Idx": 3861, "Length": 20, "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": 3862, "Length": 32, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "void", "GCNScheduleDAGMILive", "::", "finalizeSchedule", "(", ")", "{", "GCNMaxOccupancySchedStrategy", "&", "S", "=", "(", "GCNMaxOccupancySchedStrategy", "&", ")", "*", "SchedImpl", ";", "LLVM_DEBUG", "(", "dbgs", "(", ")", "<<", "\"All regions recorded, starting actual scheduling.\\n\"", ")", ";", "LiveIns", ".", "resize", "(", "Regions", ".", "size", "(", ")", ")", ";", "Pressure", ".", "resize", "(", "Regions", ".", "size", "(", ")", ")", ";", "RescheduleRegions", ".", "resize", "(", "Regions", ".", "size", "(", ")", ")", ";", "RescheduleRegions", ".", "set", "(", ")", ";", "if", "(", "!", "Regions", ".", "empty", "(", ")", ")", "BBLiveInMap", "=", "getBBLiveInMap", "(", ")", ";", "std", "::", "vector", "<", "std", "::", "unique_ptr", "<", "ScheduleDAGMutation", ">>", "SavedMutations", ";", "do", "{", "Stage", "++", ";", "RegionIdx", "=", "0", ";", "MachineBasicBlock", "*", "MBB", "=", "nullptr", ";", "if", "(", "Stage", ">", "InitialSchedule", ")", "{", "if", "(", "!", "LIS", ")", "break", ";", "if", "(", "Stage", "==", "UnclusteredReschedule", ")", "{", "if", "(", "RescheduleRegions", ".", "none", "(", ")", ")", "continue", ";", "LLVM_DEBUG", "(", "dbgs", "(", ")", "<<", "\"Retrying function scheduling without clustering.\\n\"", ")", ";", "}", "if", "(", "Stage", "==", "ClusteredLowOccupancyReschedule", ")", "{", "if", "(", "StartingOccupancy", "<=", "MinOccupancy", ")", "break", ";", "LLVM_DEBUG", "(", "dbgs", "(", ")", "<<", "\"Retrying function scheduling with lowest recorded occupancy \"", "<<", "MinOccupancy", "<<", "\".\\n\"", ")", ";", "S", ".", "setTargetOccupancy", "(", "MinOccupancy", ")", ";", "}", "}", "if", "(", "Stage", "==", "UnclusteredReschedule", ")", "SavedMutations", ".", "swap", "(", "Mutations", ")", ";", "for", "(", "auto", "Region", ":", "Regions", ")", "{", "if", "(", "Stage", "==", "UnclusteredReschedule", "&&", "!", "RescheduleRegions", "[", "RegionIdx", "]", ")", "continue", ";", "RegionBegin", "=", "Region", ".", "first", ";", "RegionEnd", "=", "Region", ".", "second", ";", "if", "(", "RegionBegin", "->", "getParent", "(", ")", "!=", "MBB", ")", "{", "if", "(", "MBB", ")", "finishBlock", "(", ")", ";", "MBB", "=", "RegionBegin", "->", "getParent", "(", ")", ";", "startBlock", "(", "MBB", ")", ";", "if", "(", "Stage", "==", "InitialSchedule", ")", "computeBlockPressure", "(", "MBB", ")", ";", "}", "unsigned", "NumRegionInstrs", "=", "std", "::", "distance", "(", "begin", "(", ")", ",", "end", "(", ")", ")", ";", "enterRegion", "(", "MBB", ",", "begin", "(", ")", ",", "end", "(", ")", ",", "NumRegionInstrs", ")", ";", "if", "(", "begin", "(", ")", "==", "end", "(", ")", "||", "begin", "(", ")", "==", "std", "::", "prev", "(", "end", "(", ")", ")", ")", "{", "exitRegion", "(", ")", ";", "continue", ";", "}", "LLVM_DEBUG", "(", "dbgs", "(", ")", "<<", "\"********** MI Scheduling **********\\n\"", ")", ";", "LLVM_DEBUG", "(", "dbgs", "(", ")", "<<", "MF", ".", "getName", "(", ")", "<<", "\":\"", "<<", "printMBBReference", "(", "*", "MBB", ")", "<<", "\" \"", "<<", "MBB", "->", "getName", "(", ")", "<<", "\"\\n From: \"", "<<", "*", "begin", "(", ")", "<<", "\" To: \"", ";", "if", "(", "RegionEnd", "!=", "MBB", "->", "end", "(", ")", ")", "dbgs", "(", ")", "<<", "*", "RegionEnd", ";", "else", "dbgs", "(", ")", "<<", "\"End\"", ";", "dbgs", "(", ")", "<<", "\" RegionInstrs: \"", "<<", "NumRegionInstrs", "<<", "'\\n'", ")", ";", "schedule", "(", ")", ";", "exitRegion", "(", ")", ";", "++", "RegionIdx", ";", "}", "finishBlock", "(", ")", ";", "if", "(", "Stage", "==", "UnclusteredReschedule", ")", "SavedMutations", ".", "swap", "(", "Mutations", ")", ";", "}", "while", "(", "Stage", "!=", "LastStage", ")", ";", "}", ""], "natrual_language": ["After", "the", "schedule", "has", "been", "formed", ",", "call", "this", "function", "to", "combine", "the", "instructions", "from", "the", "different", "stages/cycles", "."], "TS_V_token": ["AMDGPU", "\"All regions recorded, starting actual scheduling.\\n\"", "0", "\"Retrying function scheduling without clustering.\\n\"", "\"Retrying function scheduling with lowest recorded occupancy \"", "\".\\n\"", "\"********** MI Scheduling **********\\n\"", "\":\"", "\" \"", "\"\\n From: \"", "\" To: \"", "\"End\"", "\" RegionInstrs: \""], "File": "GCNSchedStrategy14", "Func": "finalizeSchedule", "Target": "AMDGPU", "Target_Clf": "GPU", "Compiler_Type": "LLVM", "Idx": 3863, "Length": 458, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "bool", "NVPTXAsmPrinter", "::", "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": ["NVPTX", "NVPTX", "0"], "File": "NVPTXAsmPrinter15", "Func": "PrintAsmMemoryOperand", "Target": "NVPTX", "Target_Clf": "GPU", "Compiler_Type": "LLVM", "Idx": 3864, "Length": 56, "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": 3865, "Length": 127, "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": 3866, "Length": 108, "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": 3867, "Length": 410, "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": 3868, "Length": 136, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "StringRef", "getPassName", "(", ")", "const", "override", "{", "return", "\"Scalar to IRF\"", ";", "}", ""], "natrual_language": ["getPassName", "-", "Return", "a", "nice", "clean", "name", "for", "a", "pass", "."], "TS_V_token": ["TPC", "\"Scalar to IRF\""], "File": "ScalarToIRF", "Func": "getPassName", "Target": "TPC", "Target_Clf": "Virtual ISA", "Compiler_Type": "LLVM", "Idx": 3869, "Length": 11, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "const", "uint32_t", "*", "getRegMaskBits", "(", "RegisterId", "R", ")", "const", "{", "return", "RegMasks", ".", "get", "(", "Register", "::", "stackSlot2Index", "(", "R", ")", ")", ";", "}", ""], "natrual_language": ["Returns", "an", "array", "of", "register", "mask", "pointers", "corresponding", "to", "getRegMaskSlots", "(", ")", "."], "TS_V_token": ["Hexagon"], "File": "RDFRegisters1", "Func": "getRegMaskBits", "Target": "Hexagon", "Target_Clf": "DSP", "Compiler_Type": "LLVM", "Idx": 3870, "Length": 24, "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": ["Z80old", "MVT::i8"], "File": "Z80oldISelLowering", "Func": "getScalarShiftAmountTy", "Target": "Z80old", "Target_Clf": "MPU", "Compiler_Type": "LLVM", "Idx": 3871, "Length": 18, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "static", "const", "char", "*", "nios2_unspec_reloc_name", "(", "int", "unspec", ")", "{", "switch", "(", "unspec", ")", "{", "case", "UNSPEC_PIC_SYM", ":", "return", "\"got\"", ";", "case", "UNSPEC_PIC_CALL_SYM", ":", "return", "\"call\"", ";", "case", "UNSPEC_PIC_GOTOFF_SYM", ":", "return", "\"gotoff\"", ";", "case", "UNSPEC_LOAD_TLS_IE", ":", "return", "\"tls_ie\"", ";", "case", "UNSPEC_ADD_TLS_LE", ":", "return", "\"tls_le\"", ";", "case", "UNSPEC_ADD_TLS_GD", ":", "return", "\"tls_gd\"", ";", "case", "UNSPEC_ADD_TLS_LDM", ":", "return", "\"tls_ldm\"", ";", "case", "UNSPEC_ADD_TLS_LDO", ":", "return", "\"tls_ldo\"", ";", "default", ":", "return", "NULL", ";", "}", "}", ""], "natrual_language": ["Return", "the", "name", "string", "for", "a", "supported", "unspec", "reloc", "offset", "."], "TS_V_token": ["nios2", "\"got\"", "\"call\"", "\"gotoff\"", "\"tls_ie\"", "\"tls_le\"", "\"tls_gd\"", "\"tls_ldm\"", "\"tls_ldo\""], "File": "nios2", "Func": "nios2_unspec_reloc_name", "Target": "nios2", "Target_Clf": "MPU", "Compiler_Type": "GCC", "Idx": 3872, "Length": 70, "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": 3873, "Length": 105, "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": 3874, "Length": 244, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "unsigned", "Z80oldInstrInfo", "::", "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", "(", ")", "!=", "Z80old", "::", "JQ", "&&", "I", "->", "getOpcode", "(", ")", "!=", "Z80old", "::", "JQCC", ")", "{", "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": ["Z80old", "Z80old", "\"code size not handled\"", "0", "Z80old::JQ", "Z80old::JQCC"], "File": "Z80oldInstrInfo", "Func": "removeBranch", "Target": "Z80old", "Target_Clf": "MPU", "Compiler_Type": "LLVM", "Idx": 3875, "Length": 113, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "SDValue", "HexagonTargetLowering", "::", "LowerOperation", "(", "SDValue", "Op", ",", "SelectionDAG", "&", "DAG", ")", "const", "{", "switch", "(", "Op", ".", "getOpcode", "(", ")", ")", "{", "default", ":", "llvm_unreachable", "(", "\"Should not custom lower this!\"", ")", ";", "case", "ISD", "::", "ConstantPool", ":", "return", "LowerConstantPool", "(", "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 Hexagon.\"", ")", ";", "case", "ISD", "::", "MEMBARRIER", ":", "return", "LowerMEMBARRIER", "(", "Op", ",", "DAG", ")", ";", "case", "ISD", "::", "ATOMIC_FENCE", ":", "return", "LowerATOMIC_FENCE", "(", "Op", ",", "DAG", ")", ";", "case", "ISD", "::", "GlobalAddress", ":", "return", "LowerGLOBALADDRESS", "(", "Op", ",", "DAG", ")", ";", "case", "ISD", "::", "BlockAddress", ":", "return", "LowerBlockAddress", "(", "Op", ",", "DAG", ")", ";", "case", "ISD", "::", "VASTART", ":", "return", "LowerVASTART", "(", "Op", ",", "DAG", ")", ";", "case", "ISD", "::", "BR_JT", ":", "return", "LowerBR_JT", "(", "Op", ",", "DAG", ")", ";", "case", "ISD", "::", "DYNAMIC_STACKALLOC", ":", "return", "LowerDYNAMIC_STACKALLOC", "(", "Op", ",", "DAG", ")", ";", "case", "ISD", "::", "SELECT_CC", ":", "return", "LowerSELECT_CC", "(", "Op", ",", "DAG", ")", ";", "case", "ISD", "::", "SELECT", ":", "return", "Op", ";", "case", "ISD", "::", "INTRINSIC_WO_CHAIN", ":", "return", "LowerINTRINSIC_WO_CHAIN", "(", "Op", ",", "DAG", ")", ";", "case", "ISD", "::", "INLINEASM", ":", "return", "LowerINLINEASM", "(", "Op", ",", "DAG", ")", ";", "}", "}", ""], "natrual_language": ["LowerOperation", "-", "Provide", "custom", "lowering", "hooks", "for", "some", "operations", "."], "TS_V_token": ["Hexagon", "Hexagon", "\"Should not custom lower this!\"", "ISD::ConstantPool", "ISD::RETURNADDR", "ISD::FRAMEADDR", "ISD::GlobalTLSAddress", "\"TLS not implemented for Hexagon.\"", "ISD::MEMBARRIER", "ISD::ATOMIC_FENCE", "ISD::GlobalAddress", "ISD::BlockAddress", "ISD::VASTART", "ISD::BR_JT", "ISD::DYNAMIC_STACKALLOC", "ISD::SELECT_CC", "ISD::SELECT", "ISD::INTRINSIC_WO_CHAIN", "ISD::INLINEASM"], "File": "HexagonISelLowering3", "Func": "LowerOperation", "Target": "Hexagon", "Target_Clf": "DSP", "Compiler_Type": "LLVM", "Idx": 3876, "Length": 219, "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": 3877, "Length": 13, "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": 3878, "Length": 13, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "static", "bool", "ix86_expand_vec_perm_const_1", "(", "struct", "expand_vec_perm_d", "*", "d", ")", "{", "if", "(", "expand_vec_perm_1", "(", "d", ")", ")", "return", "true", ";", "if", "(", "expand_vec_perm_pshuflw_pshufhw", "(", "d", ")", ")", "return", "true", ";", "if", "(", "expand_vec_perm_palignr", "(", "d", ",", "false", ")", ")", "return", "true", ";", "if", "(", "expand_vec_perm_interleave2", "(", "d", ")", ")", "return", "true", ";", "if", "(", "expand_vec_perm_broadcast", "(", "d", ")", ")", "return", "true", ";", "if", "(", "expand_vec_perm_vpermq_perm_1", "(", "d", ")", ")", "return", "true", ";", "if", "(", "expand_vec_perm_vperm2f128", "(", "d", ")", ")", "return", "true", ";", "if", "(", "expand_vec_perm_pblendv", "(", "d", ")", ")", "return", "true", ";", "if", "(", "expand_vec_perm_even_odd_pack", "(", "d", ")", ")", "return", "true", ";", "if", "(", "expand_vec_perm_2vperm2f128_vshuf", "(", "d", ")", ")", "return", "true", ";", "if", "(", "expand_vec_perm_pshufb2", "(", "d", ")", ")", "return", "true", ";", "if", "(", "expand_vec_perm_interleave3", "(", "d", ")", ")", "return", "true", ";", "if", "(", "expand_vec_perm_vperm2f128_vblend", "(", "d", ")", ")", "return", "true", ";", "if", "(", "expand_vec_perm_even_odd_trunc", "(", "d", ")", ")", "return", "true", ";", "if", "(", "expand_vec_perm_vpshufb2_vpermq", "(", "d", ")", ")", "return", "true", ";", "if", "(", "expand_vec_perm_vpshufb2_vpermq_even_odd", "(", "d", ")", ")", "return", "true", ";", "if", "(", "expand_vec_perm_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": 3879, "Length": 256, "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": 3880, "Length": 32, "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": 3881, "Length": 376, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "MCSymbol", "*", "WebAssemblyMCInstLower", "::", "GetExternalSymbolSymbol", "(", "const", "MachineOperand", "&", "MO", ")", "const", "{", "const", "char", "*", "Name", "=", "MO", ".", "getSymbolName", "(", ")", ";", "MCSymbolWasm", "*", "WasmSym", "=", "cast", "<", "MCSymbolWasm", ">", "(", "Printer", ".", "GetExternalSymbolSymbol", "(", "Name", ")", ")", ";", "const", "WebAssemblySubtarget", "&", "Subtarget", "=", "Printer", ".", "getSubtarget", "(", ")", ";", "if", "(", "strcmp", "(", "Name", ",", "\"__stack_pointer\"", ")", "==", "0", ")", "{", "WasmSym", "->", "setType", "(", "wasm", "::", "WASM_SYMBOL_TYPE_GLOBAL", ")", ";", "WasmSym", "->", "setGlobalType", "(", "wasm", "::", "WasmGlobalType", "{", "uint8_t", "(", "Subtarget", ".", "hasAddr64", "(", ")", "?", "wasm", "::", "WASM_TYPE_I64", ":", "wasm", "::", "WASM_TYPE_I32", ")", ",", "true", "}", ")", ";", "return", "WasmSym", ";", "}", "SmallVector", "<", "wasm", "::", "ValType", ",", "4", ">", "Returns", ";", "SmallVector", "<", "wasm", "::", "ValType", ",", "4", ">", "Params", ";", "GetSignature", "(", "Subtarget", ",", "Name", ",", "Returns", ",", "Params", ")", ";", "WasmSym", "->", "setReturns", "(", "std", "::", "move", "(", "Returns", ")", ")", ";", "WasmSym", "->", "setParams", "(", "std", "::", "move", "(", "Params", ")", ")", ";", "WasmSym", "->", "setType", "(", "wasm", "::", "WASM_SYMBOL_TYPE_FUNCTION", ")", ";", "return", "WasmSym", ";", "}", ""], "natrual_language": ["Return", "the", "MCSymbol", "for", "the", "specified", "ExternalSymbol", "."], "TS_V_token": ["WebAssembly", "WebAssembly", "WebAssembly", "\"__stack_pointer\"", "0", "wasm::WASM_SYMBOL_TYPE_GLOBAL", "wasm::WasmGlobalType", "wasm::WASM_TYPE_I64", "wasm::WASM_TYPE_I32", "wasm::ValType", "4", "wasm::ValType", "4", "wasm::WASM_SYMBOL_TYPE_FUNCTION"], "File": "WebAssemblyMCInstLower10", "Func": "GetExternalSymbolSymbol", "Target": "WebAssembly", "Target_Clf": "Virtual ISA", "Compiler_Type": "LLVM", "Idx": 3882, "Length": 174, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "bool", "MCS51TargetLowering", "::", "getPreIndexedAddressParts", "(", "SDNode", "*", "N", ",", "SDValue", "&", "Base", ",", "SDValue", "&", "Offset", ",", "ISD", "::", "MemIndexedMode", "&", "AM", ",", "SelectionDAG", "&", "DAG", ")", "const", "{", "EVT", "VT", ";", "const", "SDNode", "*", "Op", ";", "SDLoc", "DL", "(", "N", ")", ";", "if", "(", "const", "LoadSDNode", "*", "LD", "=", "dyn_cast", "<", "LoadSDNode", ">", "(", "N", ")", ")", "{", "VT", "=", "LD", "->", "getMemoryVT", "(", ")", ";", "Op", "=", "LD", "->", "getBasePtr", "(", ")", ".", "getNode", "(", ")", ";", "if", "(", "LD", "->", "getExtensionType", "(", ")", "!=", "ISD", "::", "NON_EXTLOAD", ")", "return", "false", ";", "if", "(", "MCS51", "::", "isProgramMemoryAccess", "(", "LD", ")", ")", "{", "return", "false", ";", "}", "}", "else", "if", "(", "const", "StoreSDNode", "*", "ST", "=", "dyn_cast", "<", "StoreSDNode", ">", "(", "N", ")", ")", "{", "VT", "=", "ST", "->", "getMemoryVT", "(", ")", ";", "Op", "=", "ST", "->", "getBasePtr", "(", ")", ".", "getNode", "(", ")", ";", "if", "(", "MCS51", "::", "isProgramMemoryAccess", "(", "ST", ")", ")", "{", "return", "false", ";", "}", "}", "else", "{", "return", "false", ";", "}", "if", "(", "VT", "!=", "MVT", "::", "i8", "&&", "VT", "!=", "MVT", "::", "i16", ")", "{", "return", "false", ";", "}", "if", "(", "Op", "->", "getOpcode", "(", ")", "!=", "ISD", "::", "ADD", "&&", "Op", "->", "getOpcode", "(", ")", "!=", "ISD", "::", "SUB", ")", "{", "return", "false", ";", "}", "if", "(", "const", "ConstantSDNode", "*", "RHS", "=", "dyn_cast", "<", "ConstantSDNode", ">", "(", "Op", "->", "getOperand", "(", "1", ")", ")", ")", "{", "int", "RHSC", "=", "RHS", "->", "getSExtValue", "(", ")", ";", "if", "(", "Op", "->", "getOpcode", "(", ")", "==", "ISD", "::", "SUB", ")", "RHSC", "=", "-", "RHSC", ";", "if", "(", "(", "VT", "==", "MVT", "::", "i16", "&&", "RHSC", "!=", "-", "2", ")", "||", "(", "VT", "==", "MVT", "::", "i8", "&&", "RHSC", "!=", "-", "1", ")", ")", "{", "return", "false", ";", "}", "Base", "=", "Op", "->", "getOperand", "(", "0", ")", ";", "Offset", "=", "DAG", ".", "getConstant", "(", "RHSC", ",", "DL", ",", "MVT", "::", "i8", ")", ";", "AM", "=", "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": ["MCS51", "MCS51", "ISD::MemIndexedMode", "ISD::NON_EXTLOAD", "MCS51::isProgramMemoryAccess", "MCS51::isProgramMemoryAccess", "MVT::i8", "MVT::i16", "ISD::ADD", "ISD::SUB", "1", "ISD::SUB", "MVT::i16", "2", "MVT::i8", "1", "0", "MVT::i8", "ISD::PRE_DEC"], "File": "MCS51ISelLowering", "Func": "getPreIndexedAddressParts", "Target": "MCS51", "Target_Clf": "MPU", "Compiler_Type": "LLVM", "Idx": 3883, "Length": 331, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "void", "SIInstrInfo", "::", "storeRegToStackSlot", "(", "MachineBasicBlock", "&", "MBB", ",", "MachineBasicBlock", "::", "iterator", "MI", ",", "Register", "SrcReg", ",", "bool", "isKill", ",", "int", "FrameIndex", ",", "const", "TargetRegisterClass", "*", "RC", ",", "const", "TargetRegisterInfo", "*", "TRI", ")", "const", "{", "MachineFunction", "*", "MF", "=", "MBB", ".", "getParent", "(", ")", ";", "SIMachineFunctionInfo", "*", "MFI", "=", "MF", "->", "getInfo", "<", "SIMachineFunctionInfo", ">", "(", ")", ";", "MachineFrameInfo", "&", "FrameInfo", "=", "MF", "->", "getFrameInfo", "(", ")", ";", "const", "DebugLoc", "&", "DL", "=", "MBB", ".", "findDebugLoc", "(", "MI", ")", ";", "MachinePointerInfo", "PtrInfo", "=", "MachinePointerInfo", "::", "getFixedStack", "(", "*", "MF", ",", "FrameIndex", ")", ";", "MachineMemOperand", "*", "MMO", "=", "MF", "->", "getMachineMemOperand", "(", "PtrInfo", ",", "MachineMemOperand", "::", "MOStore", ",", "FrameInfo", ".", "getObjectSize", "(", "FrameIndex", ")", ",", "FrameInfo", ".", "getObjectAlign", "(", "FrameIndex", ")", ")", ";", "unsigned", "SpillSize", "=", "TRI", "->", "getSpillSize", "(", "*", "RC", ")", ";", "if", "(", "RI", ".", "isSGPRClass", "(", "RC", ")", ")", "{", "MFI", "->", "setHasSpilledSGPRs", "(", ")", ";", "assert", "(", "SrcReg", "!=", "AMDGPU", "::", "M0", "&&", "\"m0 should not be spilled\"", ")", ";", "assert", "(", "SrcReg", "!=", "AMDGPU", "::", "EXEC_LO", "&&", "SrcReg", "!=", "AMDGPU", "::", "EXEC_HI", "&&", "SrcReg", "!=", "AMDGPU", "::", "EXEC", "&&", "\"exec should not be spilled\"", ")", ";", "const", "MCInstrDesc", "&", "OpDesc", "=", "get", "(", "getSGPRSpillSaveOpcode", "(", "SpillSize", ")", ")", ";", "if", "(", "SrcReg", ".", "isVirtual", "(", ")", "&&", "SpillSize", "==", "4", ")", "{", "MachineRegisterInfo", "&", "MRI", "=", "MF", "->", "getRegInfo", "(", ")", ";", "MRI", ".", "constrainRegClass", "(", "SrcReg", ",", "&", "AMDGPU", "::", "SReg_32_XM0_XEXECRegClass", ")", ";", "}", "BuildMI", "(", "MBB", ",", "MI", ",", "DL", ",", "OpDesc", ")", ".", "addReg", "(", "SrcReg", ",", "getKillRegState", "(", "isKill", ")", ")", ".", "addFrameIndex", "(", "FrameIndex", ")", ".", "addMemOperand", "(", "MMO", ")", ".", "addReg", "(", "MFI", "->", "getStackPtrOffsetReg", "(", ")", ",", "RegState", "::", "Implicit", ")", ";", "if", "(", "RI", ".", "spillSGPRToVGPR", "(", ")", ")", "FrameInfo", ".", "setStackID", "(", "FrameIndex", ",", "TargetStackID", "::", "SGPRSpill", ")", ";", "return", ";", "}", "unsigned", "Opcode", "=", "RI", ".", "hasAGPRs", "(", "RC", ")", "?", "getAGPRSpillSaveOpcode", "(", "SpillSize", ")", ":", "getVGPRSpillSaveOpcode", "(", "SpillSize", ")", ";", "MFI", "->", "setHasSpilledVGPRs", "(", ")", ";", "BuildMI", "(", "MBB", ",", "MI", ",", "DL", ",", "get", "(", "Opcode", ")", ")", ".", "addReg", "(", "SrcReg", ",", "getKillRegState", "(", "isKill", ")", ")", ".", "addFrameIndex", "(", "FrameIndex", ")", ".", "addReg", "(", "MFI", "->", "getStackPtrOffsetReg", "(", ")", ")", ".", "addImm", "(", "0", ")", ".", "addMemOperand", "(", "MMO", ")", ";", "}", ""], "natrual_language": ["Store", "the", "specified", "register", "of", "the", "given", "register", "class", "to", "the", "specified", "stack", "frame", "index", "."], "TS_V_token": ["AMDGPU", "SI", "SI", "SI", "AMDGPU::M0", "\"m0 should not be spilled\"", "AMDGPU::EXEC_LO", "AMDGPU::EXEC_HI", "AMDGPU::EXEC", "\"exec should not be spilled\"", "4", "AMDGPU::SReg_32_XM0_XEXECRegClass", "0"], "File": "SIInstrInfo120", "Func": "storeRegToStackSlot", "Target": "AMDGPU", "Target_Clf": "GPU", "Compiler_Type": "LLVM", "Idx": 3884, "Length": 373, "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", "(", ")", "&&", "!", "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", "128", "Mips::CONSTPOOL_ENTRY", "Mips::CONSTPOOL_ENTRY", "0", "1", "Mips", "\"Pseudo opcode found in EmitInstruction()\""], "File": "MipsAsmPrinter46", "Func": "EmitInstruction", "Target": "Mips", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 3885, "Length": 292, "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", ":", "case", "InlineAsm", "::", "Constraint_o", ":", "case", "InlineAsm", "::", "Constraint_p", ":", "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": "SystemZISelDAGToDAG22", "Func": "SelectInlineAsmMemoryOperand", "Target": "SystemZ", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 3886, "Length": 333, "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": 3887, "Length": 396, "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": 3888, "Length": 168, "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": 3889, "Length": 18, "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": 3890, "Length": 288, "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": 3891, "Length": 46, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "void", "getAnalysisUsage", "(", "AnalysisUsage", "&", "AU", ")", "const", "override", "{", "AU", ".", "setPreservesCFG", "(", ")", ";", "AU", ".", "addRequired", "<", "AAResultsWrapperPass", ">", "(", ")", ";", "AU", ".", "addRequired", "<", "MachineDominatorTree", ">", "(", ")", ";", "AU", ".", "addRequired", "<", "LiveIntervals", ">", "(", ")", ";", "AU", ".", "addPreserved", "<", "MachineBlockFrequencyInfo", ">", "(", ")", ";", "AU", ".", "addPreserved", "<", "SlotIndexes", ">", "(", ")", ";", "AU", ".", "addPreserved", "<", "LiveIntervals", ">", "(", ")", ";", "AU", ".", "addPreservedID", "(", "LiveVariablesID", ")", ";", "AU", ".", "addPreserved", "<", "MachineDominatorTree", ">", "(", ")", ";", "MachineFunctionPass", "::", "getAnalysisUsage", "(", "AU", ")", ";", "}", ""], "natrual_language": ["getAnalysisUsage", "-", "Subclasses", "that", "override", "getAnalysisUsage", "must", "call", "this", "."], "TS_V_token": ["WebAssembly"], "File": "WebAssemblyRegStackify", "Func": "getAnalysisUsage", "Target": "WebAssembly", "Target_Clf": "Virtual ISA", "Compiler_Type": "LLVM", "Idx": 3892, "Length": 94, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "static", "inline", "bool", "is_interrupt_func", "(", "const_tree", "decl", ")", "{", "return", "has_func_attr", "(", "decl", ",", "\"interrupt\"", ")", "||", "has_func_attr", "(", "decl", ",", "\"brk_interrupt\"", ")", ";", "}", ""], "natrual_language": ["Returns", "true", "if", "the", "provided", "function", "has", "the", "``", "interrupt", "''", "attribute", "."], "TS_V_token": ["rl78", "\"interrupt\"", "\"brk_interrupt\""], "File": "rl78", "Func": "is_interrupt_func", "Target": "rl78", "Target_Clf": "MPU", "Compiler_Type": "GCC", "Idx": 3893, "Length": 25, "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": 3894, "Length": 80, "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": 3895, "Length": 67, "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": 3896, "Length": 11, "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", "(", "CONST_DOUBLE_P", "(", "x", ")", "&&", "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", "(", "CONST_INT_P", "(", "x", ")", "&&", "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": "aarch641", "Func": "aarch64_can_const_movi_rtx_p", "Target": "aarch64", "Target_Clf": "CPU", "Compiler_Type": "GCC", "Idx": 3897, "Length": 149, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "static", "void", "nvptx_function_arg_advance", "(", "cumulative_args_t", "cum_v", ",", "machine_mode", "ARG_UNUSED", "(", "mode", ")", ",", "const_tree", "ARG_UNUSED", "(", "type", ")", ",", "bool", "ARG_UNUSED", "(", "named", ")", ")", "{", "CUMULATIVE_ARGS", "*", "cum", "=", "get_cumulative_args", "(", "cum_v", ")", ";", "cum", "->", "count", "++", ";", "}", ""], "natrual_language": ["Implement", "TARGET_FUNCTION_ARG_ADVANCE", "."], "TS_V_token": ["nvptx"], "File": "nvptx3", "Func": "nvptx_function_arg_advance", "Target": "nvptx", "Target_Clf": "GPU", "Compiler_Type": "GCC", "Idx": 3898, "Length": 41, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "static", "void", "cris_print_index", "(", "rtx", "index", ",", "FILE", "*", "file", ")", "{", "if", "(", "!", "CONST_INT_P", "(", "index", ")", "||", "INTVAL", "(", "index", ")", ">=", "0", ")", "putc", "(", "'+'", ",", "file", ")", ";", "if", "(", "REG_P", "(", "index", ")", ")", "fprintf", "(", "file", ",", "\"$%s.b\"", ",", "reg_names", "[", "REGNO", "(", "index", ")", "]", ")", ";", "else", "if", "(", "CONSTANT_P", "(", "index", ")", ")", "cris_output_addr_const", "(", "file", ",", "index", ")", ";", "else", "if", "(", "GET_CODE", "(", "index", ")", "==", "MULT", ")", "{", "fprintf", "(", "file", ",", "\"$%s.\"", ",", "reg_names", "[", "REGNO", "(", "XEXP", "(", "index", ",", "0", ")", ")", "]", ")", ";", "putc", "(", "INTVAL", "(", "XEXP", "(", "index", ",", "1", ")", ")", "==", "2", "?", "'w'", ":", "'d'", ",", "file", ")", ";", "}", "else", "if", "(", "GET_CODE", "(", "index", ")", "==", "SIGN_EXTEND", "&&", "MEM_P", "(", "XEXP", "(", "index", ",", "0", ")", ")", ")", "{", "rtx", "inner", "=", "XEXP", "(", "index", ",", "0", ")", ";", "rtx", "inner_inner", "=", "XEXP", "(", "inner", ",", "0", ")", ";", "if", "(", "GET_CODE", "(", "inner_inner", ")", "==", "POST_INC", ")", "{", "fprintf", "(", "file", ",", "\"[$%s+].\"", ",", "reg_names", "[", "REGNO", "(", "XEXP", "(", "inner_inner", ",", "0", ")", ")", "]", ")", ";", "putc", "(", "GET_MODE", "(", "inner", ")", "==", "HImode", "?", "'w'", ":", "'b'", ",", "file", ")", ";", "}", "else", "{", "fprintf", "(", "file", ",", "\"[$%s].\"", ",", "reg_names", "[", "REGNO", "(", "inner_inner", ")", "]", ")", ";", "putc", "(", "GET_MODE", "(", "inner", ")", "==", "HImode", "?", "'w'", ":", "'b'", ",", "file", ")", ";", "}", "}", "else", "if", "(", "MEM_P", "(", "index", ")", ")", "{", "rtx", "inner", "=", "XEXP", "(", "index", ",", "0", ")", ";", "if", "(", "GET_CODE", "(", "inner", ")", "==", "POST_INC", ")", "fprintf", "(", "file", ",", "\"[$%s+].d\"", ",", "reg_names", "[", "REGNO", "(", "XEXP", "(", "inner", ",", "0", ")", ")", "]", ")", ";", "else", "fprintf", "(", "file", ",", "\"[$%s].d\"", ",", "reg_names", "[", "REGNO", "(", "inner", ")", "]", ")", ";", "}", "else", "cris_operand_lossage", "(", "\"unexpected index-type in cris_print_index\"", ",", "index", ")", ";", "}", ""], "natrual_language": ["Print", "an", "index", "part", "of", "an", "address", "to", "file", "."], "TS_V_token": ["cris", "0", "\"$%s.b\"", "\"$%s.\"", "0", "1", "2", "0", "0", "0", "\"[$%s+].\"", "0", "\"[$%s].\"", "0", "\"[$%s+].d\"", "0", "\"[$%s].d\"", "\"unexpected index-type in cris_print_index\""], "File": "cris", "Func": "cris_print_index", "Target": "cris", "Target_Clf": "MPU", "Compiler_Type": "GCC", "Idx": 3899, "Length": 321, "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": 3900, "Length": 280, "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": 3901, "Length": 167, "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": 3902, "Length": 44, "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": 3903, "Length": 82, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "static", "void", "rs6000_init_hard_regno_mode_ok", "(", "void", ")", "{", "int", "r", ",", "m", ";", "for", "(", "r", "=", "0", ";", "r", "<", "FIRST_PSEUDO_REGISTER", ";", "++", "r", ")", "for", "(", "m", "=", "0", ";", "m", "<", "NUM_MACHINE_MODES", ";", "++", "m", ")", "if", "(", "rs6000_hard_regno_mode_ok", "(", "r", ",", "m", ")", ")", "rs6000_hard_regno_mode_ok_p", "[", "m", "]", "[", "r", "]", "=", "true", ";", "}", ""], "natrual_language": ["Initialize", "rs6000_hard_regno_mode_ok_p", "table", "."], "TS_V_token": ["rs6000", "0", "0"], "File": "rs60003", "Func": "rs6000_init_hard_regno_mode_ok", "Target": "rs6000", "Target_Clf": "CPU", "Compiler_Type": "GCC", "Idx": 3904, "Length": 58, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "bool", "FixFunctionBitcasts", "::", "runOnModule", "(", "Module", "&", "M", ")", "{", "LLVM_DEBUG", "(", "dbgs", "(", ")", "<<", "\"********** Fix Function Bitcasts **********\\n\"", ")", ";", "Function", "*", "Main", "=", "nullptr", ";", "CallInst", "*", "CallMain", "=", "nullptr", ";", "SmallVector", "<", "std", "::", "pair", "<", "CallBase", "*", ",", "Function", "*", ">", ",", "0", ">", "Uses", ";", "for", "(", "Function", "&", "F", ":", "M", ")", "{", "if", "(", "F", ".", "getCallingConv", "(", ")", "==", "CallingConv", "::", "Swift", ")", "continue", ";", "findUses", "(", "&", "F", ",", "F", ",", "Uses", ")", ";", "if", "(", "F", ".", "getName", "(", ")", "==", "\"main\"", ")", "{", "Main", "=", "&", "F", ";", "LLVMContext", "&", "C", "=", "M", ".", "getContext", "(", ")", ";", "Type", "*", "MainArgTys", "[", "]", "=", "{", "Type", "::", "getInt32Ty", "(", "C", ")", ",", "PointerType", "::", "get", "(", "Type", "::", "getInt8PtrTy", "(", "C", ")", ",", "0", ")", "}", ";", "FunctionType", "*", "MainTy", "=", "FunctionType", "::", "get", "(", "Type", "::", "getInt32Ty", "(", "C", ")", ",", "MainArgTys", ",", "false", ")", ";", "if", "(", "shouldFixMainFunction", "(", "F", ".", "getFunctionType", "(", ")", ",", "MainTy", ")", ")", "{", "LLVM_DEBUG", "(", "dbgs", "(", ")", "<<", "\"Found `main` function with incorrect type: \"", "<<", "*", "F", ".", "getFunctionType", "(", ")", "<<", "\"\\n\"", ")", ";", "Value", "*", "Args", "[", "]", "=", "{", "UndefValue", "::", "get", "(", "MainArgTys", "[", "0", "]", ")", ",", "UndefValue", "::", "get", "(", "MainArgTys", "[", "1", "]", ")", "}", ";", "Value", "*", "Casted", "=", "ConstantExpr", "::", "getBitCast", "(", "Main", ",", "PointerType", "::", "get", "(", "MainTy", ",", "0", ")", ")", ";", "CallMain", "=", "CallInst", "::", "Create", "(", "MainTy", ",", "Casted", ",", "Args", ",", "\"call_main\"", ")", ";", "Uses", ".", "push_back", "(", "std", "::", "make_pair", "(", "CallMain", ",", "&", "F", ")", ")", ";", "}", "}", "}", "DenseMap", "<", "std", "::", "pair", "<", "Function", "*", ",", "FunctionType", "*", ">", ",", "Function", "*", ">", "Wrappers", ";", "for", "(", "auto", "&", "UseFunc", ":", "Uses", ")", "{", "CallBase", "*", "CB", "=", "UseFunc", ".", "first", ";", "Function", "*", "F", "=", "UseFunc", ".", "second", ";", "FunctionType", "*", "Ty", "=", "CB", "->", "getFunctionType", "(", ")", ";", "auto", "Pair", "=", "Wrappers", ".", "insert", "(", "std", "::", "make_pair", "(", "std", "::", "make_pair", "(", "F", ",", "Ty", ")", ",", "nullptr", ")", ")", ";", "if", "(", "Pair", ".", "second", ")", "Pair", ".", "first", "->", "second", "=", "createWrapper", "(", "F", ",", "Ty", ")", ";", "Function", "*", "Wrapper", "=", "Pair", ".", "first", "->", "second", ";", "if", "(", "!", "Wrapper", ")", "continue", ";", "CB", "->", "setCalledOperand", "(", "Wrapper", ")", ";", "}", "if", "(", "CallMain", ")", "{", "Main", "->", "setName", "(", "\"__original_main\"", ")", ";", "auto", "*", "MainWrapper", "=", "cast", "<", "Function", ">", "(", "CallMain", "->", "getCalledOperand", "(", ")", "->", "stripPointerCasts", "(", ")", ")", ";", "delete", "CallMain", ";", "if", "(", "Main", "->", "isDeclaration", "(", ")", ")", "{", "MainWrapper", "->", "eraseFromParent", "(", ")", ";", "}", "else", "{", "MainWrapper", "->", "setName", "(", "\"main\"", ")", ";", "MainWrapper", "->", "setLinkage", "(", "Main", "->", "getLinkage", "(", ")", ")", ";", "MainWrapper", "->", "setVisibility", "(", "Main", "->", "getVisibility", "(", ")", ")", ";", "}", "}", "return", "true", ";", "}", ""], "natrual_language": ["runOnModule", "-", "Virtual", "method", "overriden", "by", "subclasses", "to", "process", "the", "module", "being", "operated", "on", "."], "TS_V_token": ["WebAssembly", "\"********** Fix Function Bitcasts **********\\n\"", "0", "\"main\"", "0", "\"Found `main` function with incorrect type: \"", "\"\\n\"", "0", "1", "0", "\"call_main\"", "\"__original_main\"", "\"main\""], "File": "WebAssemblyFixFunctionBitcasts25", "Func": "runOnModule", "Target": "WebAssembly", "Target_Clf": "Virtual ISA", "Compiler_Type": "LLVM", "Idx": 3905, "Length": 478, "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": 3906, "Length": 428, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "static", "bool", "isKnownNonNull", "(", "SDValue", "Val", ",", "SelectionDAG", "&", "DAG", ",", "const", "AMDGPUTargetMachine", "&", "TM", ",", "unsigned", "AddrSpace", ")", "{", "if", "(", "isa", "<", "FrameIndexSDNode", ">", "(", "Val", ")", "||", "isa", "<", "GlobalAddressSDNode", ">", "(", "Val", ")", "||", "isa", "<", "BasicBlockSDNode", ">", "(", "Val", ")", ")", "return", "true", ";", "if", "(", "auto", "*", "ConstVal", "=", "dyn_cast", "<", "ConstantSDNode", ">", "(", "Val", ")", ")", "return", "ConstVal", "->", "getSExtValue", "(", ")", "!=", "TM", ".", "getNullPointerValue", "(", "AddrSpace", ")", ";", "return", "false", ";", "}", ""], "natrual_language": ["Return", "true", "if", "we", "know", "that", "underlying", "value", "is", "nonnull", "."], "TS_V_token": ["AMDGPU", "AMDGPU"], "File": "SIISelLowering10", "Func": "isKnownNonNull", "Target": "AMDGPU", "Target_Clf": "GPU", "Compiler_Type": "LLVM", "Idx": 3907, "Length": 81, "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": 3908, "Length": 37, "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": 3909, "Length": 57, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "void", "NVPTXInstrInfo", "::", "copyPhysReg", "(", "MachineBasicBlock", "&", "MBB", ",", "MachineBasicBlock", "::", "iterator", "I", ",", "DebugLoc", "DL", ",", "unsigned", "DestReg", ",", "unsigned", "SrcReg", ",", "bool", "KillSrc", ")", "const", "{", "if", "(", "NVPTX", "::", "Int32RegsRegClass", ".", "contains", "(", "DestReg", ")", "&&", "NVPTX", "::", "Int32RegsRegClass", ".", "contains", "(", "SrcReg", ")", ")", "BuildMI", "(", "MBB", ",", "I", ",", "DL", ",", "get", "(", "NVPTX", "::", "IMOV32rr", ")", ",", "DestReg", ")", ".", "addReg", "(", "SrcReg", ",", "getKillRegState", "(", "KillSrc", ")", ")", ";", "else", "if", "(", "NVPTX", "::", "Int8RegsRegClass", ".", "contains", "(", "DestReg", ")", "&&", "NVPTX", "::", "Int8RegsRegClass", ".", "contains", "(", "SrcReg", ")", ")", "BuildMI", "(", "MBB", ",", "I", ",", "DL", ",", "get", "(", "NVPTX", "::", "IMOV8rr", ")", ",", "DestReg", ")", ".", "addReg", "(", "SrcReg", ",", "getKillRegState", "(", "KillSrc", ")", ")", ";", "else", "if", "(", "NVPTX", "::", "Int1RegsRegClass", ".", "contains", "(", "DestReg", ")", "&&", "NVPTX", "::", "Int1RegsRegClass", ".", "contains", "(", "SrcReg", ")", ")", "BuildMI", "(", "MBB", ",", "I", ",", "DL", ",", "get", "(", "NVPTX", "::", "IMOV1rr", ")", ",", "DestReg", ")", ".", "addReg", "(", "SrcReg", ",", "getKillRegState", "(", "KillSrc", ")", ")", ";", "else", "if", "(", "NVPTX", "::", "Float32RegsRegClass", ".", "contains", "(", "DestReg", ")", "&&", "NVPTX", "::", "Float32RegsRegClass", ".", "contains", "(", "SrcReg", ")", ")", "BuildMI", "(", "MBB", ",", "I", ",", "DL", ",", "get", "(", "NVPTX", "::", "FMOV32rr", ")", ",", "DestReg", ")", ".", "addReg", "(", "SrcReg", ",", "getKillRegState", "(", "KillSrc", ")", ")", ";", "else", "if", "(", "NVPTX", "::", "Int16RegsRegClass", ".", "contains", "(", "DestReg", ")", "&&", "NVPTX", "::", "Int16RegsRegClass", ".", "contains", "(", "SrcReg", ")", ")", "BuildMI", "(", "MBB", ",", "I", ",", "DL", ",", "get", "(", "NVPTX", "::", "IMOV16rr", ")", ",", "DestReg", ")", ".", "addReg", "(", "SrcReg", ",", "getKillRegState", "(", "KillSrc", ")", ")", ";", "else", "if", "(", "NVPTX", "::", "Int64RegsRegClass", ".", "contains", "(", "DestReg", ")", "&&", "NVPTX", "::", "Int64RegsRegClass", ".", "contains", "(", "SrcReg", ")", ")", "BuildMI", "(", "MBB", ",", "I", ",", "DL", ",", "get", "(", "NVPTX", "::", "IMOV64rr", ")", ",", "DestReg", ")", ".", "addReg", "(", "SrcReg", ",", "getKillRegState", "(", "KillSrc", ")", ")", ";", "else", "if", "(", "NVPTX", "::", "Float64RegsRegClass", ".", "contains", "(", "DestReg", ")", "&&", "NVPTX", "::", "Float64RegsRegClass", ".", "contains", "(", "SrcReg", ")", ")", "BuildMI", "(", "MBB", ",", "I", ",", "DL", ",", "get", "(", "NVPTX", "::", "FMOV64rr", ")", ",", "DestReg", ")", ".", "addReg", "(", "SrcReg", ",", "getKillRegState", "(", "KillSrc", ")", ")", ";", "else", "{", "llvm_unreachable", "(", "\"Don't know how to copy a register\"", ")", ";", "}", "}", ""], "natrual_language": ["}", "Branch", "Analysis", "&", "Modification"], "TS_V_token": ["NVPTX", "NVPTX", "NVPTX::Int32RegsRegClass", "NVPTX::Int32RegsRegClass", "NVPTX::IMOV32rr", "NVPTX::Int8RegsRegClass", "NVPTX::Int8RegsRegClass", "NVPTX::IMOV8rr", "NVPTX::Int1RegsRegClass", "NVPTX::Int1RegsRegClass", "NVPTX::IMOV1rr", "NVPTX::Float32RegsRegClass", "NVPTX::Float32RegsRegClass", "NVPTX::FMOV32rr", "NVPTX::Int16RegsRegClass", "NVPTX::Int16RegsRegClass", "NVPTX::IMOV16rr", "NVPTX::Int64RegsRegClass", "NVPTX::Int64RegsRegClass", "NVPTX::IMOV64rr", "NVPTX::Float64RegsRegClass", "NVPTX::Float64RegsRegClass", "NVPTX::FMOV64rr", "\"Don't know how to copy a register\""], "File": "NVPTXInstrInfo", "Func": "copyPhysReg", "Target": "NVPTX", "Target_Clf": "GPU", "Compiler_Type": "LLVM", "Idx": 3910, "Length": 379, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "static", "void", "cr16_print_operand", "(", "FILE", "*", "file", ",", "rtx", "x", ",", "int", "code", ")", "{", "int", "ptr_dereference", "=", "0", ";", "switch", "(", "code", ")", "{", "case", "'d'", ":", "{", "const", "char", "*", "cr16_cmp_str", ";", "switch", "(", "GET_CODE", "(", "x", ")", ")", "{", "case", "EQ", ":", "cr16_cmp_str", "=", "\"eq\"", ";", "break", ";", "case", "NE", ":", "cr16_cmp_str", "=", "\"ne\"", ";", "break", ";", "case", "GT", ":", "cr16_cmp_str", "=", "\"lt\"", ";", "break", ";", "case", "GTU", ":", "cr16_cmp_str", "=", "\"lo\"", ";", "break", ";", "case", "LT", ":", "cr16_cmp_str", "=", "\"gt\"", ";", "break", ";", "case", "LTU", ":", "cr16_cmp_str", "=", "\"hi\"", ";", "break", ";", "case", "GE", ":", "cr16_cmp_str", "=", "\"le\"", ";", "break", ";", "case", "GEU", ":", "cr16_cmp_str", "=", "\"ls\"", ";", "break", ";", "case", "LE", ":", "cr16_cmp_str", "=", "\"ge\"", ";", "break", ";", "case", "LEU", ":", "cr16_cmp_str", "=", "\"hs\"", ";", "break", ";", "default", ":", "gcc_unreachable", "(", ")", ";", "}", "fprintf", "(", "file", ",", "\"%s\"", ",", "cr16_cmp_str", ")", ";", "return", ";", "}", "case", "'$'", ":", "putc", "(", "'$'", ",", "file", ")", ";", "return", ";", "case", "'p'", ":", "if", "(", "GET_CODE", "(", "x", ")", "==", "REG", ")", "{", "fprintf", "(", "file", ",", "\"%s\"", ",", "reg_names", "[", "REGNO", "(", "x", ")", "]", ")", ";", "return", ";", "}", "break", ";", "case", "'b'", ":", "fprintf", "(", "file", ",", "\"0x%lx\"", ",", "INTVAL", "(", "x", ")", ")", ";", "return", ";", "case", "'r'", ":", "fprintf", "(", "file", ",", "\"%d\"", ",", "cr16_operand_bit_pos", "(", "INTVAL", "(", "x", ")", ",", "0", ")", ")", ";", "return", ";", "case", "'s'", ":", "fprintf", "(", "file", ",", "\"%d\"", ",", "cr16_operand_bit_pos", "(", "INTVAL", "(", "x", ")", ",", "1", ")", ")", ";", "return", ";", "case", "'g'", ":", "ptr_dereference", "=", "1", ";", "case", "'f'", ":", "case", "0", ":", "switch", "(", "GET_CODE", "(", "x", ")", ")", "{", "case", "REG", ":", "if", "(", "GET_MODE_BITSIZE", "(", "GET_MODE", "(", "x", ")", ")", ">", "BITS_PER_WORD", ")", "{", "if", "(", "LONG_REG_P", "(", "REGNO", "(", "x", ")", ")", ")", "fprintf", "(", "file", ",", "\"(%s)\"", ",", "reg_names", "[", "REGNO", "(", "x", ")", "]", ")", ";", "else", "fprintf", "(", "file", ",", "\"(%s,%s)\"", ",", "reg_names", "[", "REGNO", "(", "x", ")", "+", "1", "]", ",", "reg_names", "[", "REGNO", "(", "x", ")", "]", ")", ";", "}", "else", "fprintf", "(", "file", ",", "\"%s\"", ",", "reg_names", "[", "REGNO", "(", "x", ")", "]", ")", ";", "return", ";", "case", "MEM", ":", "output_address", "(", "GET_MODE", "(", "x", ")", ",", "XEXP", "(", "x", ",", "0", ")", ")", ";", "return", ";", "case", "CONST_DOUBLE", ":", "{", "long", "l", ";", "REAL_VALUE_TO_TARGET_SINGLE", "(", "*", "CONST_DOUBLE_REAL_VALUE", "(", "x", ")", ",", "l", ")", ";", "fprintf", "(", "file", ",", "\"$0x%lx\"", ",", "l", ")", ";", "return", ";", "}", "case", "CONST_INT", ":", "{", "fprintf", "(", "file", ",", "\"$%ld\"", ",", "INTVAL", "(", "x", ")", ")", ";", "return", ";", "}", "case", "UNSPEC", ":", "switch", "(", "XINT", "(", "x", ",", "1", ")", ")", "{", "default", ":", "gcc_unreachable", "(", ")", ";", "}", "break", ";", "default", ":", "if", "(", "!", "ptr_dereference", ")", "{", "putc", "(", "'$'", ",", "file", ")", ";", "}", "cr16_print_operand_address", "(", "file", ",", "VOIDmode", ",", "x", ")", ";", "return", ";", "}", "default", ":", "output_operand_lossage", "(", "\"invalid %%xn code\"", ")", ";", "}", "gcc_unreachable", "(", ")", ";", "}", ""], "natrual_language": ["Implements", "the", "macro", "PRINT_OPERAND", "defined", "in", "cr16.h", "."], "TS_V_token": ["cr16", "0", "\"eq\"", "\"ne\"", "\"lt\"", "\"lo\"", "\"gt\"", "\"hi\"", "\"le\"", "\"ls\"", "\"ge\"", "\"hs\"", "\"%s\"", "\"%s\"", "\"0x%lx\"", "\"%d\"", "0", "\"%d\"", "1", "1", "0", "\"(%s)\"", "\"(%s,%s)\"", "1", "\"%s\"", "0", "\"$0x%lx\"", "\"$%ld\"", "1", "\"invalid %%xn code\""], "File": "cr163", "Func": "cr16_print_operand", "Target": "cr16", "Target_Clf": "MPU", "Compiler_Type": "GCC", "Idx": 3911, "Length": 496, "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": 3912, "Length": 50, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "bool", "Z80Operand", "::", "isReg", "(", ")", "const", "{", "return", "this", "->", "Kind", "==", "k_Register", ";", "}", ""], "natrual_language": ["isReg", "-", "Is", "this", "a", "register", "operand", "?"], "TS_V_token": ["Z80", "Z80"], "File": "Z80Operand", "Func": "isReg", "Target": "Z80", "Target_Clf": "MPU", "Compiler_Type": "LLVM", "Idx": 3913, "Length": 16, "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": 3914, "Length": 62, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "bool", "BPFAsmBackend", "::", "writeNopData", "(", "uint64_t", "Count", ",", "MCObjectWriter", "*", "OW", ")", "const", "{", "if", "(", "(", "Count", "%", "8", ")", "!=", "0", ")", "return", "false", ";", "for", "(", "uint64_t", "i", "=", "0", ";", "i", "<", "Count", ";", "i", "+=", "8", ")", "OW", "->", "Write64", "(", "0x15000000", ")", ";", "return", "true", ";", "}", ""], "natrual_language": ["Write", "an", "(", "optimal", ")", "nop", "sequence", "of", "Count", "bytes", "to", "the", "given", "output", "."], "TS_V_token": ["BPF", "BPF", "8", "0", "0", "8", "0x15000000"], "File": "BPFAsmBackend13", "Func": "writeNopData", "Target": "BPF", "Target_Clf": "Virtual ISA", "Compiler_Type": "LLVM", "Idx": 3915, "Length": 53, "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": 3916, "Length": 213, "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": 3917, "Length": 286, "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": 3918, "Length": 43, "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": 3919, "Length": 58, "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": 3920, "Length": 156, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "void", "X86InstrInfo", "::", "reMaterialize", "(", "MachineBasicBlock", "&", "MBB", ",", "MachineBasicBlock", "::", "iterator", "I", ",", "Register", "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": "X86InstrInfo143", "Func": "reMaterialize", "Target": "X86", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 3921, "Length": 220, "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": 3922, "Length": 224, "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": 3923, "Length": 284, "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", "{", "SDValue", "CCReg", ";", "if", "(", "auto", "*", "CSize", "=", "dyn_cast", "<", "ConstantSDNode", ">", "(", "Size", ")", ")", "{", "uint64_t", "Bytes", "=", "CSize", "->", "getZExtValue", "(", ")", ";", "assert", "(", "Bytes", ">", "0", "&&", "\"Caller should have handled 0-size case\"", ")", ";", "CCReg", "=", "emitMemMemImm", "(", "DAG", ",", "DL", ",", "SystemZISD", "::", "CLC", ",", "Chain", ",", "Src2", ",", "Src1", ",", "Bytes", ")", ";", "}", "else", "CCReg", "=", "emitMemMemReg", "(", "DAG", ",", "DL", ",", "SystemZISD", "::", "CLC", ",", "Chain", ",", "Src2", ",", "Src1", ",", "Size", ")", ";", "Chain", "=", "CCReg", ".", "getValue", "(", "1", ")", ";", "return", "std", "::", "make_pair", "(", "addIPMSequence", "(", "DL", ",", "CCReg", ",", "DAG", ")", ",", "Chain", ")", ";", "}", ""], "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\"", "SystemZISD::CLC", "SystemZISD::CLC", "1"], "File": "SystemZSelectionDAGInfo12", "Func": "EmitTargetCodeForMemcmp", "Target": "SystemZ", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 3924, "Length": 148, "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": 3925, "Length": 31, "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": 3926, "Length": 76, "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": 3927, "Length": 120, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "static", "void", "frv_optimize_membar_local", "(", "basic_block", "bb", ",", "struct", "frv_io", "*", "next_io", ",", "rtx_insn", "*", "*", "last_membar", ")", "{", "HARD_REG_SET", "used_regs", ";", "rtx", "set", ";", "rtx_insn", "*", "insn", ",", "*", "next_membar", ";", "bool", "next_is_end_p", ";", "memset", "(", "next_io", ",", "0", ",", "sizeof", "(", "*", "next_io", ")", ")", ";", "next_is_end_p", "=", "true", ";", "next_membar", "=", "0", ";", "CLEAR_HARD_REG_SET", "(", "used_regs", ")", ";", "for", "(", "insn", "=", "BB_END", "(", "bb", ")", ";", "insn", "!=", "BB_HEAD", "(", "bb", ")", ";", "insn", "=", "PREV_INSN", "(", "insn", ")", ")", "if", "(", "CALL_P", "(", "insn", ")", ")", "{", "memset", "(", "next_io", ",", "0", ",", "sizeof", "(", "struct", "frv_io", ")", ")", ";", "next_is_end_p", "=", "false", ";", "CLEAR_HARD_REG_SET", "(", "used_regs", ")", ";", "}", "else", "if", "(", "INSN_P", "(", "insn", ")", ")", "switch", "(", "recog_memoized", "(", "insn", ")", ")", "{", "case", "CODE_FOR_optional_membar_qi", ":", "case", "CODE_FOR_optional_membar_hi", ":", "case", "CODE_FOR_optional_membar_si", ":", "case", "CODE_FOR_optional_membar_di", ":", "next_membar", "=", "insn", ";", "if", "(", "next_is_end_p", ")", "{", "*", "last_membar", "=", "insn", ";", "frv_extract_membar", "(", "next_io", ",", "insn", ")", ";", "next_is_end_p", "=", "false", ";", "}", "else", "{", "struct", "frv_io", "prev_io", ";", "frv_extract_membar", "(", "&", "prev_io", ",", "insn", ")", ";", "if", "(", "frv_io_fixed_order_p", "(", "&", "prev_io", ",", "next_io", ")", ")", "{", "if", "(", "dump_file", ")", "fprintf", "(", "dump_file", ",", "\";; [Local] Removing membar %d since order\"", "\" of accesses is guaranteed\\n\"", ",", "INSN_UID", "(", "next_membar", ")", ")", ";", "insn", "=", "NEXT_INSN", "(", "insn", ")", ";", "delete_insn", "(", "next_membar", ")", ";", "next_membar", "=", "0", ";", "}", "*", "next_io", "=", "prev_io", ";", "}", "break", ";", "default", ":", "if", "(", "next_io", "->", "var_address", ")", "note_stores", "(", "insn", ",", "frv_io_check_address", ",", "&", "next_io", "->", "var_address", ")", ";", "set", "=", "PATTERN", "(", "insn", ")", ";", "if", "(", "next_io", "->", "type", "==", "FRV_IO_READ", "&&", "next_io", "->", "var_address", "!=", "0", "&&", "next_membar", "!=", "0", "&&", "GET_CODE", "(", "set", ")", "==", "SET", "&&", "GET_CODE", "(", "SET_DEST", "(", "set", ")", ")", "==", "REG", "&&", "TEST_HARD_REG_BIT", "(", "used_regs", ",", "REGNO", "(", "SET_DEST", "(", "set", ")", ")", ")", ")", "{", "rtx", "src", ";", "src", "=", "SET_SRC", "(", "set", ")", ";", "if", "(", "GET_CODE", "(", "src", ")", "==", "ZERO_EXTEND", ")", "src", "=", "XEXP", "(", "src", ",", "0", ")", ";", "if", "(", "GET_CODE", "(", "src", ")", "==", "MEM", "&&", "rtx_equal_p", "(", "XEXP", "(", "src", ",", "0", ")", ",", "next_io", "->", "var_address", ")", ")", "{", "if", "(", "dump_file", ")", "fprintf", "(", "dump_file", ",", "\";; [Local] Removing membar %d since the target\"", "\" of %d is used before the I/O operation\\n\"", ",", "INSN_UID", "(", "next_membar", ")", ",", "INSN_UID", "(", "insn", ")", ")", ";", "if", "(", "next_membar", "==", "*", "last_membar", ")", "*", "last_membar", "=", "0", ";", "delete_insn", "(", "next_membar", ")", ";", "next_membar", "=", "0", ";", "}", "}", "if", "(", "volatile_refs_p", "(", "PATTERN", "(", "insn", ")", ")", ")", "CLEAR_HARD_REG_SET", "(", "used_regs", ")", ";", "else", "note_stores", "(", "insn", ",", "frv_io_handle_set", ",", "&", "used_regs", ")", ";", "note_uses", "(", "&", "PATTERN", "(", "insn", ")", ",", "frv_io_handle_use", ",", "&", "used_regs", ")", ";", "break", ";", "}", "}", ""], "natrual_language": ["Go", "through", "block", "BB", "looking", "for", "membars", "to", "remove", ".", "There", "are", "two", "cases", "where", "intra-block", "analysis", "is", "enough", ":", "-", "a", "membar", "is", "redundant", "if", "it", "occurs", "between", "two", "consecutive", "I/O", "operations", "and", "if", "those", "operations", "are", "guaranteed", "to", "complete", "in", "order", ".", "-", "a", "membar", "for", "a", "__builtin_read", "is", "redundant", "if", "the", "result", "is", "used", "before", "the", "next", "I/O", "operation", "is", "issued", ".", "If", "the", "last", "membar", "in", "the", "block", "could", "not", "be", "removed", ",", "and", "there", "are", "guaranteed", "to", "be", "no", "I/O", "operations", "between", "that", "membar", "and", "the", "end", "of", "the", "block", ",", "store", "the", "membar", "in", "*", "LAST_MEMBAR", ",", "otherwise", "store", "null", ".", "Describe", "the", "block", "'s", "first", "I/O", "operation", "in", "*", "NEXT_IO", ".", "Describe", "an", "unknown", "operation", "if", "the", "block", "does", "n't", "do", "any", "I/O", "."], "TS_V_token": ["frv", "0", "0", "0", "\";; [Local] Removing membar %d since order\"", "\" of accesses is guaranteed\\n\"", "0", "0", "0", "0", "0", "\";; [Local] Removing membar %d since the target\"", "\" of %d is used before the I/O operation\\n\"", "0", "0"], "File": "frv", "Func": "frv_optimize_membar_local", "Target": "frv", "Target_Clf": "VLIW", "Compiler_Type": "GCC", "Idx": 3928, "Length": 452, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "unsigned", "AAPInstrInfo", "::", "isStoreToStackSlot", "(", "const", "MachineInstr", "&", "MI", ",", "int", "&", "FrameIndex", ")", "const", "{", "switch", "(", "MI", ".", "getOpcode", "(", ")", ")", "{", "default", ":", "return", "0", ";", "case", "AAP", "::", "STB", ":", "case", "AAP", "::", "STW", ":", "case", "AAP", "::", "STB_postinc", ":", "case", "AAP", "::", "STW_postinc", ":", "case", "AAP", "::", "STB_predec", ":", "case", "AAP", "::", "STW_predec", ":", "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": ["AAP", "AAP", "0", "AAP::STB", "AAP::STW", "AAP::STB_postinc", "AAP::STW_postinc", "AAP::STB_predec", "AAP::STW_predec", "0", "1", "1", "0", "0", "2", "0"], "File": "AAPInstrInfo", "Func": "isStoreToStackSlot", "Target": "AAP", "Target_Clf": "MPU", "Compiler_Type": "LLVM", "Idx": 3929, "Length": 131, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "Function", "*", "MBlazeIntrinsicInfo", "::", "getDeclaration", "(", "Module", "*", "M", ",", "unsigned", "IntrID", ",", "const", "Type", "*", "*", "Tys", ",", "unsigned", "numTy", ")", "const", "{", "assert", "(", "!", "isOverloaded", "(", "IntrID", ")", "&&", "\"MBlaze intrinsics are not overloaded\"", ")", ";", "AttrListPtr", "AList", "=", "getAttributes", "(", "(", "mblazeIntrinsic", "::", "ID", ")", "IntrID", ")", ";", "return", "cast", "<", "Function", ">", "(", "M", "->", "getOrInsertFunction", "(", "getName", "(", "IntrID", ")", ",", "getType", "(", "M", "->", "getContext", "(", ")", ",", "IntrID", ")", ",", "AList", ")", ")", ";", "}", ""], "natrual_language": ["Create", "or", "insert", "an", "LLVM", "Function", "declaration", "for", "an", "intrinsic", ",", "and", "return", "it", "."], "TS_V_token": ["MBlaze", "MBlaze", "\"MBlaze intrinsics are not overloaded\"", "mblazeIntrinsic::ID"], "File": "MBlazeIntrinsicInfo", "Func": "getDeclaration", "Target": "MBlaze", "Target_Clf": "MPU", "Compiler_Type": "LLVM", "Idx": 3930, "Length": 79, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "unsigned", "Z80MCCodeEmitter", "::", "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", ".", "isExpr", "(", ")", ")", "{", "if", "(", "hasRegPrefix", "(", ")", ")", "Fixups", ".", "push_back", "(", "MCFixup", "::", "Create", "(", "2", ",", "MO", ".", "getExpr", "(", ")", ",", "FK_Data_2", ")", ")", ";", "else", "Fixups", ".", "push_back", "(", "MCFixup", "::", "Create", "(", "1", ",", "MO", ".", "getExpr", "(", ")", ",", "FK_Data_2", ")", ")", ";", "}", "return", "0", ";", "}", ""], "natrual_language": ["getMachineOpValue", "-", "Return", "binary", "encoding", "of", "operand", "."], "TS_V_token": ["Z80", "Z80", "2", "1", "0"], "File": "Z80MCCodeEmitter", "Func": "getMachineOpValue", "Target": "Z80", "Target_Clf": "MPU", "Compiler_Type": "LLVM", "Idx": 3931, "Length": 146, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "bool", "TPCSetSpillBase", "::", "runOnMachineFunction", "(", "MachineFunction", "&", "MF", ")", "{", "const", "TPCSubtarget", "&", "Subtarget", "=", "MF", ".", "getSubtarget", "<", "TPCSubtarget", ">", "(", ")", ";", "TPCFrameLowering", "&", "FL", "=", "*", "const_cast", "<", "TPCFrameLowering", "*", ">", "(", "Subtarget", ".", "getFrameLowering", "(", ")", ")", ";", "unsigned", "SpillVectorSz", "=", "FL", ".", "getSpillVectorDataSize", "(", ")", ";", "if", "(", "SpillVectorSz", "&&", "Subtarget", ".", "hasAddr2", "(", ")", ")", "{", "MachineBasicBlock", "&", "MBB", "=", "*", "MF", ".", "begin", "(", ")", ";", "DebugLoc", "DL", "=", "MBB", ".", "findDebugLoc", "(", "MBB", ".", "instr_begin", "(", ")", ")", ";", "const", "MCInstrDesc", "&", "InstrDesc", "=", "Subtarget", ".", "getInstrInfo", "(", ")", "->", "get", "(", "TPC", "::", "MOV_ld_sip", ")", ";", "const", "TPCTargetLowering", "&", "TL", "=", "*", "Subtarget", ".", "getTargetLowering", "(", ")", ";", "unsigned", "ZR", "=", "TL", ".", "getZeroReg", "(", ")", ";", "BuildMI", "(", "MBB", ",", "MBB", ".", "instr_begin", "(", ")", ",", "DL", ",", "InstrDesc", ",", "ZR", ")", ".", "addImm", "(", "0", ")", ".", "addImm", "(", "TPCII", "::", "OpType", "::", "INT32", ")", ".", "addImm", "(", "0", ")", ".", "addReg", "(", "ZR", ",", "RegState", "::", "Undef", ")", ".", "addReg", "(", "TPC", "::", "SP0", ")", ".", "addImm", "(", "0", ")", ";", "return", "true", ";", "}", "return", "false", ";", "}", ""], "natrual_language": ["runOnMachineFunction", "-", "Emit", "the", "function", "body", "."], "TS_V_token": ["TPC", "TPC", "TPC", "TPC", "TPC", "TPC", "TPC::MOV_ld_sip", "TPC", "0", "TPC", "0", "TPC::SP0", "0"], "File": "TPCSetSpillBase", "Func": "runOnMachineFunction", "Target": "TPC", "Target_Clf": "Virtual ISA", "Compiler_Type": "LLVM", "Idx": 3932, "Length": 191, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "void", "ScheduleDAGPostRA", "::", "updateQueues", "(", "SUnit", "*", "SU", ",", "bool", "IsTopNode", ",", "bool", "IsBundled", ")", "{", "if", "(", "IsTopNode", ")", "releaseSuccessors", "(", "SU", ")", ";", "else", "releasePredecessors", "(", "SU", ")", ";", "SU", "->", "isScheduled", "=", "true", ";", "if", "(", "DFSResult", ")", "{", "unsigned", "SubtreeID", "=", "DFSResult", "->", "getSubtreeID", "(", "SU", ")", ";", "if", "(", "!", "ScheduledTrees", ".", "test", "(", "SubtreeID", ")", ")", "{", "ScheduledTrees", ".", "set", "(", "SubtreeID", ")", ";", "DFSResult", "->", "scheduleTree", "(", "SubtreeID", ")", ";", "SchedImpl", "->", "scheduleTree", "(", "SubtreeID", ")", ";", "}", "}", "}", ""], "natrual_language": ["Update", "scheduler", "DAG", "and", "queues", "after", "scheduling", "an", "instruction", "."], "TS_V_token": ["Patmos"], "File": "PatmosPostRAScheduler", "Func": "updateQueues", "Target": "Patmos", "Target_Clf": "VLIW", "Compiler_Type": "LLVM", "Idx": 3933, "Length": 87, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "StringRef", "getPassName", "(", ")", "const", "override", "{", "return", "\"WebAssembly Assembly Printer\"", ";", "}", ""], "natrual_language": ["getPassName", "-", "Return", "a", "nice", "clean", "name", "for", "a", "pass", "."], "TS_V_token": ["WebAssembly", "\"WebAssembly Assembly Printer\""], "File": "WebAssemblyAsmPrinter", "Func": "getPassName", "Target": "WebAssembly", "Target_Clf": "Virtual ISA", "Compiler_Type": "LLVM", "Idx": 3934, "Length": 11, "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": 3935, "Length": 215, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "SDValue", "Z80TargetLowering", "::", "LowerCallResult", "(", "SDValue", "Chain", ",", "SDValue", "Flag", ",", "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_Z80", ")", ";", "for", "(", "unsigned", "i", "=", "0", ",", "e", "=", "Ins", ".", "size", "(", ")", ";", "i", "!=", "e", ";", "i", "++", ")", "{", "Chain", "=", "DAG", ".", "getCopyFromReg", "(", "Chain", ",", "dl", ",", "RVLocs", "[", "i", "]", ".", "getLocReg", "(", ")", ",", "RVLocs", "[", "i", "]", ".", "getValVT", "(", ")", ",", "Flag", ")", ".", "getValue", "(", "1", ")", ";", "Flag", "=", "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": ["Z80", "Z80", "ISD::InputArg", "16", "Z80", "0", "1", "2", "0"], "File": "Z80ISelLowering (2)", "Func": "LowerCallResult", "Target": "Z80", "Target_Clf": "MPU", "Compiler_Type": "LLVM", "Idx": 3936, "Length": 174, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "static", "void", "rl78_reorg", "(", "void", ")", "{", "if", "(", "optimize", "<=", "0", ")", "split_all_insns", "(", ")", ";", "rl78_alloc_physical_registers", "(", ")", ";", "if", "(", "dump_file", ")", "{", "fprintf", "(", "dump_file", ",", "\"\\n================DEVIRT:=AFTER=ALLOC=PHYSICAL=REGISTERS================\\n\"", ")", ";", "print_rtl_with_bb", "(", "dump_file", ",", "get_insns", "(", ")", ",", "0", ")", ";", "}", "rl78_propogate_register_origins", "(", ")", ";", "rl78_calculate_death_notes", "(", ")", ";", "if", "(", "dump_file", ")", "{", "fprintf", "(", "dump_file", ",", "\"\\n================DEVIRT:=AFTER=PROPOGATION=============================\\n\"", ")", ";", "print_rtl_with_bb", "(", "dump_file", ",", "get_insns", "(", ")", ",", "0", ")", ";", "fprintf", "(", "dump_file", ",", "\"\\n======================================================================\\n\"", ")", ";", "}", "rl78_remove_unused_sets", "(", ")", ";", "df_finish_pass", "(", "true", ")", ";", "if", "(", "optimize", ">", "1", ")", "df_live_add_problem", "(", ")", ";", "df_scan_alloc", "(", "NULL", ")", ";", "df_scan_blocks", "(", ")", ";", "if", "(", "optimize", ")", "df_analyze", "(", ")", ";", "}", ""], "natrual_language": ["This", "is", "the", "top", "of", "the", "devritualization", "pass", "."], "TS_V_token": ["rl78", "0", "\"\\n================DEVIRT:=AFTER=ALLOC=PHYSICAL=REGISTERS================\\n\"", "0", "\"\\n================DEVIRT:=AFTER=PROPOGATION=============================\\n\"", "0", "\"\\n======================================================================\\n\"", "1"], "File": "rl782", "Func": "rl78_reorg", "Target": "rl78", "Target_Clf": "MPU", "Compiler_Type": "GCC", "Idx": 3937, "Length": 121, "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": 3938, "Length": 148, "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": 3939, "Length": 22, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "void", "HSAILPrintfInfo", "::", "addOperand", "(", "size_t", "idx", ",", "uint32_t", "size", ")", "{", "mOperands", ".", "resize", "(", "(", "unsigned", ")", "(", "idx", "+", "1", ")", ")", ";", "mOperands", "[", "(", "unsigned", ")", "idx", "]", "=", "size", ";", "}", ""], "natrual_language": ["Add", "an", "operand", "."], "TS_V_token": ["HSAIL", "HSAIL", "1"], "File": "HSAILMachineFunctionInfo", "Func": "addOperand", "Target": "HSAIL", "Target_Clf": "Virtual ISA", "Compiler_Type": "LLVM", "Idx": 3940, "Length": 37, "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": 3941, "Length": 155, "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", "::", "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", "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": "PPCISelLowering105", "Func": "LowerOperation", "Target": "PowerPC", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 3942, "Length": 389, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "RegisterBankInfo", "::", "InstructionMappings", "AMDGPURegisterBankInfo", "::", "getInstrAlternativeMappings", "(", "const", "MachineInstr", "&", "MI", ")", "const", "{", "const", "MachineFunction", "&", "MF", "=", "*", "MI", ".", "getParent", "(", ")", "->", "getParent", "(", ")", ";", "const", "MachineRegisterInfo", "&", "MRI", "=", "MF", ".", "getRegInfo", "(", ")", ";", "unsigned", "Size", "=", "getSizeInBits", "(", "MI", ".", "getOperand", "(", "0", ")", ".", "getReg", "(", ")", ",", "MRI", ",", "*", "TRI", ")", ";", "InstructionMappings", "AltMappings", ";", "switch", "(", "MI", ".", "getOpcode", "(", ")", ")", "{", "case", "TargetOpcode", "::", "G_LOAD", ":", "{", "InstructionMapping", "SSMapping", "(", "1", ",", "1", ",", "getOperandsMapping", "(", "{", "AMDGPU", "::", "getValueMapping", "(", "AMDGPU", "::", "SGPRRegBankID", ",", "Size", ")", ",", "AMDGPU", "::", "getValueMapping", "(", "AMDGPU", "::", "SGPRRegBankID", ",", "64", ")", "}", ")", ",", "2", ")", ";", "AltMappings", ".", "emplace_back", "(", "std", "::", "move", "(", "SSMapping", ")", ")", ";", "InstructionMapping", "VVMapping", "(", "2", ",", "1", ",", "getOperandsMapping", "(", "{", "AMDGPU", "::", "getValueMapping", "(", "AMDGPU", "::", "VGPRRegBankID", ",", "Size", ")", ",", "AMDGPU", "::", "getValueMapping", "(", "AMDGPU", "::", "VGPRRegBankID", ",", "64", ")", "}", ")", ",", "2", ")", ";", "AltMappings", ".", "emplace_back", "(", "std", "::", "move", "(", "VVMapping", ")", ")", ";", "InstructionMapping", "VSMapping", "(", "3", ",", "1", ",", "getOperandsMapping", "(", "{", "AMDGPU", "::", "getValueMapping", "(", "AMDGPU", "::", "VGPRRegBankID", ",", "Size", ")", ",", "AMDGPU", "::", "getValueMapping", "(", "AMDGPU", "::", "SGPRRegBankID", ",", "64", ")", "}", ")", ",", "2", ")", ";", "AltMappings", ".", "emplace_back", "(", "std", "::", "move", "(", "VSMapping", ")", ")", ";", "return", "AltMappings", ";", "}", "default", ":", "break", ";", "}", "return", "RegisterBankInfo", "::", "getInstrAlternativeMappings", "(", "MI", ")", ";", "}", ""], "natrual_language": ["Get", "the", "alternative", "mappings", "for", "MI", "."], "TS_V_token": ["AMDGPU", "AMDGPU", "0", "1", "1", "AMDGPU::getValueMapping", "AMDGPU::SGPRRegBankID", "AMDGPU::getValueMapping", "AMDGPU::SGPRRegBankID", "64", "2", "2", "1", "AMDGPU::getValueMapping", "AMDGPU::VGPRRegBankID", "AMDGPU::getValueMapping", "AMDGPU::VGPRRegBankID", "64", "2", "3", "1", "AMDGPU::getValueMapping", "AMDGPU::VGPRRegBankID", "AMDGPU::getValueMapping", "AMDGPU::SGPRRegBankID", "64", "2"], "File": "AMDGPURegisterBankInfo31", "Func": "getInstrAlternativeMappings", "Target": "AMDGPU", "Target_Clf": "GPU", "Compiler_Type": "LLVM", "Idx": 3943, "Length": 246, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "void", "trackStatistics", "(", ")", "const", "override", "{", "}", ""], "natrual_language": ["Hook", "to", "enable", "custom", "statistic", "tracking", ",", "called", "after", "manifest", "that", "resulted", "in", "a", "change", "if", "statistics", "are", "enabled", "."], "TS_V_token": ["AMDGPU"], "File": "AMDGPUAttributor", "Func": "trackStatistics", "Target": "AMDGPU", "Target_Clf": "GPU", "Compiler_Type": "LLVM", "Idx": 3944, "Length": 8, "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": 3945, "Length": 228, "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": 3946, "Length": 34, "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": ["Hexagon"], "File": "HexagonSubtarget (2)1", "Func": "getInstrItineraryData", "Target": "Hexagon", "Target_Clf": "DSP", "Compiler_Type": "LLVM", "Idx": 3947, "Length": 14, "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": 3948, "Length": 29, "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": 3949, "Length": 157, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "static", "bool", "aarch64_rtx_arith_op_extract_p", "(", "rtx", "x", ",", "scalar_int_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": "aarch64", "Func": "aarch64_rtx_arith_op_extract_p", "Target": "aarch64", "Target_Clf": "CPU", "Compiler_Type": "GCC", "Idx": 3950, "Length": 138, "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": 3951, "Length": 184, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "void", "SITargetLowering", "::", "LowerAsmOperandForConstraint", "(", "SDValue", "Op", ",", "std", "::", "string", "&", "Constraint", ",", "std", "::", "vector", "<", "SDValue", ">", "&", "Ops", ",", "SelectionDAG", "&", "DAG", ")", "const", "{", "if", "(", "Constraint", ".", "length", "(", ")", "==", "1", "&&", "Constraint", "[", "0", "]", "==", "'A'", ")", "{", "LowerAsmOperandForConstraintA", "(", "Op", ",", "Ops", ",", "DAG", ")", ";", "}", "else", "{", "TargetLowering", "::", "LowerAsmOperandForConstraint", "(", "Op", ",", "Constraint", ",", "Ops", ",", "DAG", ")", ";", "}", "}", ""], "natrual_language": ["Lower", "the", "specified", "operand", "into", "the", "Ops", "vector", "."], "TS_V_token": ["AMDGPU", "SI", "1", "0"], "File": "SIISelLowering140", "Func": "LowerAsmOperandForConstraint", "Target": "AMDGPU", "Target_Clf": "GPU", "Compiler_Type": "LLVM", "Idx": 3952, "Length": 74, "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": 3953, "Length": 74, "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": 3954, "Length": 483, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "bool", "MemSelOpt", "::", "processInstruction", "(", "MachineInstr", "*", "MI", ")", "{", "bool", "Changed", "=", "false", ";", "unsigned", "NumOperands", "=", "MI", "->", "getNumOperands", "(", ")", ";", "if", "(", "NumOperands", "==", "0", ")", "return", "false", ";", "const", "TargetInstrDesc", "&", "TID", "=", "TII", "->", "get", "(", "MI", "->", "getOpcode", "(", ")", ")", ";", "if", "(", "!", "(", "TID", ".", "isBranch", "(", ")", "||", "TID", ".", "isCall", "(", ")", "||", "TID", ".", "mayLoad", "(", ")", "||", "TID", ".", "mayStore", "(", ")", ")", ")", "return", "false", ";", "int", "MemOpPos", "=", "-", "1", ";", "for", "(", "unsigned", "i", "=", "0", ";", "i", "<", "NumOperands", ";", "i", "++", ")", "{", "MachineOperand", "Op", "=", "MI", "->", "getOperand", "(", "i", ")", ";", "if", "(", "Op", ".", "getType", "(", ")", "==", "MachineOperand", "::", "MO_GlobalAddress", "||", "Op", ".", "getType", "(", ")", "==", "MachineOperand", "::", "MO_ExternalSymbol", "||", "Op", ".", "getType", "(", ")", "==", "MachineOperand", "::", "MO_MachineBasicBlock", ")", "{", "MemOpPos", "=", "i", ";", "break", ";", "}", "}", "if", "(", "MemOpPos", "==", "-", "1", ")", "return", "Changed", ";", "MachineOperand", "&", "Op", "=", "MI", "->", "getOperand", "(", "MemOpPos", ")", ";", "if", "(", "MI", "->", "getOpcode", "(", ")", "==", "PIC16", "::", "CALL", "||", "MI", "->", "getOpcode", "(", ")", "==", "PIC16", "::", "br_uncond", ")", "{", "DebugLoc", "dl", "=", "MI", "->", "getDebugLoc", "(", ")", ";", "BuildMI", "(", "*", "MBB", ",", "MI", ",", "dl", ",", "TII", "->", "get", "(", "PIC16", "::", "pagesel", ")", ")", ".", "addOperand", "(", "Op", ")", ";", "return", "true", ";", "}", "std", "::", "string", "NewBank", "=", "CurBank", ";", "if", "(", "Op", ".", "getType", "(", ")", "==", "MachineOperand", "::", "MO_GlobalAddress", "&&", "Op", ".", "getGlobal", "(", ")", "->", "getType", "(", ")", "->", "getAddressSpace", "(", ")", "==", "PIC16ISD", "::", "RAM_SPACE", ")", "{", "NewBank", "=", "Op", ".", "getGlobal", "(", ")", "->", "getSection", "(", ")", ";", "}", "else", "if", "(", "Op", ".", "getType", "(", ")", "==", "MachineOperand", "::", "MO_ExternalSymbol", ")", "{", "std", "::", "string", "Sym", "=", "Op", ".", "getSymbolName", "(", ")", ";", "NewBank", "=", "PAN", "::", "getSectionNameForSym", "(", "Sym", ")", ";", "}", "if", "(", "NewBank", ".", "compare", "(", "CurBank", ")", "!=", "0", ")", "{", "DebugLoc", "dl", "=", "MI", "->", "getDebugLoc", "(", ")", ";", "BuildMI", "(", "*", "MBB", ",", "MI", ",", "dl", ",", "TII", "->", "get", "(", "PIC16", "::", "banksel", ")", ")", ".", "addOperand", "(", "Op", ")", ";", "Changed", "=", "true", ";", "CurBank", "=", "NewBank", ";", "}", "return", "Changed", ";", "}", ""], "natrual_language": ["Process", "a", "single", "instruction", "and", "collect", "debug", "info", "anchors", "."], "TS_V_token": ["PIC16", "0", "1", "0", "1", "PIC16::CALL", "PIC16::br_uncond", "PIC16::pagesel", "PIC16ISD::RAM_SPACE", "0", "PIC16::banksel"], "File": "PIC16MemSelOpt2", "Func": "processInstruction", "Target": "PIC16", "Target_Clf": "MPU", "Compiler_Type": "LLVM", "Idx": 3955, "Length": 378, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "SDValue", "AMDGPUTargetLowering", "::", "LowerOperation", "(", "SDValue", "Op", ",", "SelectionDAG", "&", "DAG", ")", "const", "{", "switch", "(", "Op", ".", "getOpcode", "(", ")", ")", "{", "default", ":", "Op", ".", "getNode", "(", ")", "->", "dump", "(", ")", ";", "llvm_unreachable", "(", "\"Custom lowering code for this\"", "\"instruction is not implemented yet!\"", ")", ";", "break", ";", "case", "ISD", "::", "SIGN_EXTEND_INREG", ":", "return", "LowerSIGN_EXTEND_INREG", "(", "Op", ",", "DAG", ")", ";", "case", "ISD", "::", "CONCAT_VECTORS", ":", "return", "LowerCONCAT_VECTORS", "(", "Op", ",", "DAG", ")", ";", "case", "ISD", "::", "EXTRACT_SUBVECTOR", ":", "return", "LowerEXTRACT_SUBVECTOR", "(", "Op", ",", "DAG", ")", ";", "case", "ISD", "::", "FrameIndex", ":", "return", "LowerFrameIndex", "(", "Op", ",", "DAG", ")", ";", "case", "ISD", "::", "INTRINSIC_WO_CHAIN", ":", "return", "LowerINTRINSIC_WO_CHAIN", "(", "Op", ",", "DAG", ")", ";", "case", "ISD", "::", "SDIV", ":", "return", "LowerSDIV", "(", "Op", ",", "DAG", ")", ";", "case", "ISD", "::", "SREM", ":", "return", "LowerSREM", "(", "Op", ",", "DAG", ")", ";", "case", "ISD", "::", "UDIVREM", ":", "return", "LowerUDIVREM", "(", "Op", ",", "DAG", ")", ";", "case", "ISD", "::", "SDIVREM", ":", "return", "LowerSDIVREM", "(", "Op", ",", "DAG", ")", ";", "case", "ISD", "::", "FCEIL", ":", "return", "LowerFCEIL", "(", "Op", ",", "DAG", ")", ";", "case", "ISD", "::", "FTRUNC", ":", "return", "LowerFTRUNC", "(", "Op", ",", "DAG", ")", ";", "case", "ISD", "::", "FRINT", ":", "return", "LowerFRINT", "(", "Op", ",", "DAG", ")", ";", "case", "ISD", "::", "FNEARBYINT", ":", "return", "LowerFNEARBYINT", "(", "Op", ",", "DAG", ")", ";", "case", "ISD", "::", "FFLOOR", ":", "return", "LowerFFLOOR", "(", "Op", ",", "DAG", ")", ";", "case", "ISD", "::", "UINT_TO_FP", ":", "return", "LowerUINT_TO_FP", "(", "Op", ",", "DAG", ")", ";", "}", "return", "Op", ";", "}", ""], "natrual_language": ["LowerOperation", "-", "Provide", "custom", "lowering", "hooks", "for", "some", "operations", "."], "TS_V_token": ["R600", "\"Custom lowering code for this\"", "\"instruction is not implemented yet!\"", "ISD::SIGN_EXTEND_INREG", "SI", "ISD::CONCAT_VECTORS", "ISD::EXTRACT_SUBVECTOR", "ISD::FrameIndex", "ISD::INTRINSIC_WO_CHAIN", "SI", "ISD::SDIV", "ISD::SREM", "ISD::UDIVREM", "ISD::SDIVREM", "ISD::FCEIL", "ISD::FTRUNC", "ISD::FRINT", "ISD::FNEARBYINT", "ISD::FFLOOR", "ISD::UINT_TO_FP"], "File": "AMDGPUISelLowering19", "Func": "LowerOperation", "Target": "R600", "Target_Clf": "GPU", "Compiler_Type": "LLVM", "Idx": 3956, "Length": 243, "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": 3957, "Length": 330, "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", "(", "TARGET_BONNELL", "&&", "kind", "==", "vector_stmt", "&&", "vectype", "&&", "GET_MODE_INNER", "(", "TYPE_MODE", "(", "vectype", ")", ")", "==", "DFmode", ")", "stmt_cost", "*=", "5", ";", "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", ")", "&&", "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", "5", "50", "17", "10"], "File": "i3866", "Func": "ix86_add_stmt_cost", "Target": "i386", "Target_Clf": "CPU", "Compiler_Type": "GCC", "Idx": 3958, "Length": 180, "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": 3959, "Length": 23, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "const", "char", "*", "getPassName", "(", ")", "const", "{", "return", "\"AMD IL Control Flow Graph structurizer Pass\"", ";", "}", ""], "natrual_language": ["getPassName", "-", "Return", "a", "nice", "clean", "name", "for", "a", "pass", "."], "TS_V_token": ["R600", "\"AMD IL Control Flow Graph structurizer Pass\""], "File": "AMDILCFGStructurizer33", "Func": "getPassName", "Target": "R600", "Target_Clf": "GPU", "Compiler_Type": "LLVM", "Idx": 3960, "Length": 12, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "bool", "R600TargetLowering", "::", "allowsMisalignedMemoryAccesses", "(", "EVT", "VT", ",", "unsigned", "AddrSpace", ",", "unsigned", "Align", ",", "MachineMemOperand", "::", "Flags", "Flags", ",", "bool", "*", "IsFast", ")", "const", "{", "if", "(", "IsFast", ")", "*", "IsFast", "=", "false", ";", "if", "(", "!", "VT", ".", "isSimple", "(", ")", "||", "VT", "==", "MVT", "::", "Other", ")", "return", "false", ";", "if", "(", "VT", ".", "bitsLT", "(", "MVT", "::", "i32", ")", ")", "return", "false", ";", "if", "(", "IsFast", ")", "*", "IsFast", "=", "true", ";", "return", "VT", ".", "bitsGT", "(", "MVT", "::", "i32", ")", "&&", "Align", "%", "4", "==", "0", ";", "}", ""], "natrual_language": ["Returns", "true", "if", "the", "target", "allows", "unaligned", "memory", "accesses", "of", "the", "specified", "type", "."], "TS_V_token": ["AMDGPU", "R600", "MVT::Other", "MVT::i32", "MVT::i32", "4", "0"], "File": "R600ISelLowering11", "Func": "allowsMisalignedMemoryAccesses", "Target": "AMDGPU", "Target_Clf": "GPU", "Compiler_Type": "LLVM", "Idx": 3961, "Length": 92, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "const", "TargetRegisterInfo", "&", "XtensaInstrInfo", "::", "getRegisterInfo", "(", ")", "const", "{", "return", "RI", ";", "}", ""], "natrual_language": ["getRegisterInfo", "-", "TargetInstrInfo", "is", "a", "superset", "of", "MRegister", "info", "."], "TS_V_token": ["Xtensa", "Xtensa"], "File": "XtensaInstrInfo1", "Func": "getRegisterInfo", "Target": "Xtensa", "Target_Clf": "MPU", "Compiler_Type": "LLVM", "Idx": 3962, "Length": 14, "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": 3963, "Length": 176, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "unsigned", "HexagonInstrInfo", "::", "isStoreToStackSlot", "(", "const", "MachineInstr", "*", "MI", ",", "int", "&", "FrameIndex", ")", "const", "{", "switch", "(", "MI", "->", "getOpcode", "(", ")", ")", "{", "default", ":", "break", ";", "case", "Hexagon", "::", "S2_storerb_io", ":", "case", "Hexagon", "::", "S2_storerh_io", ":", "case", "Hexagon", "::", "S2_storeri_io", ":", "case", "Hexagon", "::", "S2_storerd_io", ":", "case", "Hexagon", "::", "V6_vS32b_ai", ":", "case", "Hexagon", "::", "V6_vS32b_ai_128B", ":", "case", "Hexagon", "::", "V6_vS32Ub_ai", ":", "case", "Hexagon", "::", "V6_vS32Ub_ai_128B", ":", "case", "Hexagon", "::", "STriw_pred", ":", "case", "Hexagon", "::", "STriw_mod", ":", "case", "Hexagon", "::", "STriq_pred_V6", ":", "case", "Hexagon", "::", "STriq_pred_vec_V6", ":", "case", "Hexagon", "::", "STriv_pseudo_V6", ":", "case", "Hexagon", "::", "STrivv_pseudo_V6", ":", "case", "Hexagon", "::", "STriq_pred_V6_128B", ":", "case", "Hexagon", "::", "STriq_pred_vec_V6_128B", ":", "case", "Hexagon", "::", "STriv_pseudo_V6_128B", ":", "case", "Hexagon", "::", "STrivv_pseudo_V6_128B", ":", "{", "const", "MachineOperand", "&", "OpFI", "=", "MI", "->", "getOperand", "(", "0", ")", ";", "if", "(", "!", "OpFI", ".", "isFI", "(", ")", ")", "return", "0", ";", "const", "MachineOperand", "&", "OpOff", "=", "MI", "->", "getOperand", "(", "1", ")", ";", "if", "(", "!", "OpOff", ".", "isImm", "(", ")", "||", "OpOff", ".", "getImm", "(", ")", "!=", "0", ")", "return", "0", ";", "FrameIndex", "=", "OpFI", ".", "getIndex", "(", ")", ";", "return", "MI", "->", "getOperand", "(", "2", ")", ".", "getReg", "(", ")", ";", "}", "case", "Hexagon", "::", "S2_pstorerbt_io", ":", "case", "Hexagon", "::", "S2_pstorerbf_io", ":", "case", "Hexagon", "::", "S2_pstorerht_io", ":", "case", "Hexagon", "::", "S2_pstorerhf_io", ":", "case", "Hexagon", "::", "S2_pstorerit_io", ":", "case", "Hexagon", "::", "S2_pstorerif_io", ":", "case", "Hexagon", "::", "S2_pstorerdt_io", ":", "case", "Hexagon", "::", "S2_pstorerdf_io", ":", "{", "const", "MachineOperand", "&", "OpFI", "=", "MI", "->", "getOperand", "(", "1", ")", ";", "if", "(", "!", "OpFI", ".", "isFI", "(", ")", ")", "return", "0", ";", "const", "MachineOperand", "&", "OpOff", "=", "MI", "->", "getOperand", "(", "2", ")", ";", "if", "(", "!", "OpOff", ".", "isImm", "(", ")", "||", "OpOff", ".", "getImm", "(", ")", "!=", "0", ")", "return", "0", ";", "FrameIndex", "=", "OpFI", ".", "getIndex", "(", ")", ";", "return", "MI", "->", "getOperand", "(", "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": ["Hexagon", "Hexagon", "Hexagon::S2_storerb_io", "Hexagon::S2_storerh_io", "Hexagon::S2_storeri_io", "Hexagon::S2_storerd_io", "Hexagon::V6_vS32b_ai", "Hexagon::V6_vS32b_ai_128B", "Hexagon::V6_vS32Ub_ai", "Hexagon::V6_vS32Ub_ai_128B", "Hexagon::STriw_pred", "Hexagon::STriw_mod", "Hexagon::STriq_pred_V6", "Hexagon::STriq_pred_vec_V6", "Hexagon::STriv_pseudo_V6", "Hexagon::STrivv_pseudo_V6", "Hexagon::STriq_pred_V6_128B", "Hexagon::STriq_pred_vec_V6_128B", "Hexagon::STriv_pseudo_V6_128B", "Hexagon::STrivv_pseudo_V6_128B", "0", "0", "1", "0", "0", "2", "Hexagon::S2_pstorerbt_io", "Hexagon::S2_pstorerbf_io", "Hexagon::S2_pstorerht_io", "Hexagon::S2_pstorerhf_io", "Hexagon::S2_pstorerit_io", "Hexagon::S2_pstorerif_io", "Hexagon::S2_pstorerdt_io", "Hexagon::S2_pstorerdf_io", "1", "0", "2", "0", "0", "3", "0"], "File": "HexagonInstrInfo5", "Func": "isStoreToStackSlot", "Target": "Hexagon", "Target_Clf": "DSP", "Compiler_Type": "LLVM", "Idx": 3964, "Length": 320, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "static", "rtx", "transcode_memory_rtx", "(", "rtx", "m", ",", "rtx", "newbase", ",", "rtx", "before", ")", "{", "rtx", "base", ",", "index", ",", "addendr", ";", "int", "addend", "=", "0", ";", "int", "need_es", "=", "0", ";", "if", "(", "!", "MEM_P", "(", "m", ")", ")", "return", "m", ";", "if", "(", "GET_MODE", "(", "XEXP", "(", "m", ",", "0", ")", ")", "==", "SImode", ")", "{", "rtx", "new_m", ";", "rtx", "seg", "=", "rl78_hi8", "(", "XEXP", "(", "m", ",", "0", ")", ")", ";", "if", "(", "!", "TARGET_ES0", ")", "{", "emit_insn_before", "(", "EM", "(", "gen_movqi", "(", "A", ",", "seg", ")", ")", ",", "before", ")", ";", "emit_insn_before", "(", "EM", "(", "gen_movqi_to_es", "(", "A", ")", ")", ",", "before", ")", ";", "}", "record_content", "(", "A", ",", "NULL_RTX", ")", ";", "new_m", "=", "gen_rtx_MEM", "(", "GET_MODE", "(", "m", ")", ",", "rl78_lo16", "(", "XEXP", "(", "m", ",", "0", ")", ")", ")", ";", "MEM_COPY_ATTRIBUTES", "(", "new_m", ",", "m", ")", ";", "m", "=", "new_m", ";", "need_es", "=", "1", ";", "}", "characterize_address", "(", "XEXP", "(", "m", ",", "0", ")", ",", "&", "base", ",", "&", "index", ",", "&", "addendr", ")", ";", "gcc_assert", "(", "index", "==", "NULL_RTX", ")", ";", "if", "(", "base", "==", "NULL_RTX", ")", "return", "m", ";", "if", "(", "addendr", "&&", "GET_CODE", "(", "addendr", ")", "==", "CONST_INT", ")", "addend", "=", "INTVAL", "(", "addendr", ")", ";", "gcc_assert", "(", "REG_P", "(", "base", ")", ")", ";", "gcc_assert", "(", "REG_P", "(", "newbase", ")", ")", ";", "int", "limit", "=", "256", "-", "GET_MODE_SIZE", "(", "GET_MODE", "(", "m", ")", ")", ";", "if", "(", "REGNO", "(", "base", ")", "==", "SP_REG", ")", "{", "if", "(", "addend", ">=", "0", "&&", "addend", "<=", "limit", ")", "return", "m", ";", "}", "if", "(", "addend", "<", "0", "||", "(", "addend", ">", "limit", "&&", "REGNO", "(", "newbase", ")", "!=", "BC_REG", ")", "||", "(", "addendr", "&&", "(", "GET_CODE", "(", "addendr", ")", "!=", "CONST_INT", ")", "&&", "(", "(", "REGNO", "(", "newbase", ")", "!=", "BC_REG", ")", ")", ")", ")", "{", "EM", "(", "emit_insn_before", "(", "gen_movhi", "(", "AX", ",", "base", ")", ",", "before", ")", ")", ";", "EM", "(", "emit_insn_before", "(", "gen_addhi3", "(", "AX", ",", "AX", ",", "addendr", ")", ",", "before", ")", ")", ";", "EM", "(", "emit_insn_before", "(", "gen_movhi", "(", "newbase", ",", "AX", ")", ",", "before", ")", ")", ";", "record_content", "(", "AX", ",", "NULL_RTX", ")", ";", "record_content", "(", "newbase", ",", "NULL_RTX", ")", ";", "base", "=", "newbase", ";", "addend", "=", "0", ";", "addendr", "=", "0", ";", "}", "else", "{", "base", "=", "gen_and_emit_move", "(", "newbase", ",", "base", ",", "before", ",", "true", ")", ";", "}", "if", "(", "addend", ")", "{", "record_content", "(", "base", ",", "NULL_RTX", ")", ";", "base", "=", "gen_rtx_PLUS", "(", "HImode", ",", "base", ",", "GEN_INT", "(", "addend", ")", ")", ";", "}", "else", "if", "(", "addendr", ")", "{", "record_content", "(", "base", ",", "NULL_RTX", ")", ";", "base", "=", "gen_rtx_PLUS", "(", "HImode", ",", "base", ",", "addendr", ")", ";", "}", "if", "(", "need_es", ")", "{", "m", "=", "change_address", "(", "m", ",", "GET_MODE", "(", "m", ")", ",", "gen_es_addr", "(", "base", ")", ")", ";", "cfun", "->", "machine", "->", "uses_es", "=", "true", ";", "}", "else", "m", "=", "change_address", "(", "m", ",", "GET_MODE", "(", "m", ")", ",", "base", ")", ";", "return", "m", ";", "}", ""], "natrual_language": ["If", "M", "is", "MEM", "(", "REG", ")", "or", "MEM", "(", "PLUS", "(", "REG", ",", "INT", ")", ")", "and", "REG", "is", "virtual", "then", "copy", "it", "into", "NEWBASE", "and", "return", "the", "updated", "MEM", ".", "Otherwise", "just", "return", "M.", "Any", "needed", "insns", "are", "emitted", "before", "BEFORE", "."], "TS_V_token": ["rl78", "0", "0", "0", "0", "0", "1", "0", "256", "0", "0", "0", "0"], "File": "rl782", "Func": "transcode_memory_rtx", "Target": "rl78", "Target_Clf": "MPU", "Compiler_Type": "GCC", "Idx": 3965, "Length": 493, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "bool", "M68kOperand", "::", "isToken", "(", ")", "const", "{", "return", "Kind", "==", "KindTy", "::", "Token", ";", "}", ""], "natrual_language": ["isToken", "-", "Is", "this", "a", "token", "operand", "?"], "TS_V_token": ["M68k", "M68k"], "File": "M68kAsmParser", "Func": "isToken", "Target": "M68k", "Target_Clf": "MPU", "Compiler_Type": "LLVM", "Idx": 3966, "Length": 16, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "bool", "WebAssemblyCallIndirectFixup", "::", "runOnMachineFunction", "(", "MachineFunction", "&", "MF", ")", "{", "DEBUG", "(", "dbgs", "(", ")", "<<", "\"********** Fixing up CALL_INDIRECTs **********\\n\"", "<<", "MF", ".", "getName", "(", ")", "<<", "'\\n'", ")", ";", "bool", "Changed", "=", "false", ";", "const", "WebAssemblyInstrInfo", "*", "TII", "=", "MF", ".", "getSubtarget", "<", "WebAssemblySubtarget", ">", "(", ")", ".", "getInstrInfo", "(", ")", ";", "for", "(", "MachineBasicBlock", "&", "MBB", ":", "MF", ")", "{", "for", "(", "MachineInstr", "&", "MI", ":", "MBB", ")", "{", "if", "(", "IsPseudoCallIndirect", "(", "MI", ")", ")", "{", "DEBUG", "(", "dbgs", "(", ")", "<<", "\"Found call_indirect: \"", "<<", "MI", "<<", "'\\n'", ")", ";", "const", "MCInstrDesc", "&", "Desc", "=", "TII", "->", "get", "(", "GetNonPseudoCallIndirectOpcode", "(", "MI", ")", ")", ";", "MI", ".", "setDesc", "(", "Desc", ")", ";", "auto", "Uses", "=", "MI", ".", "explicit_uses", "(", ")", ";", "MachineInstr", "::", "mop_iterator", "it", "=", "Uses", ".", "begin", "(", ")", ";", "const", "MachineOperand", "MO", "=", "*", "it", ";", "it", "->", "ChangeToImmediate", "(", "0", ")", ";", "MI", ".", "addOperand", "(", "MF", ",", "MO", ")", ";", "DEBUG", "(", "dbgs", "(", ")", "<<", "\" After transform: \"", "<<", "MI", ")", ";", "Changed", "=", "true", ";", "}", "}", "}", "DEBUG", "(", "dbgs", "(", ")", "<<", "\"\\nDone fixing up CALL_INDIRECTs\\n\\n\"", ")", ";", "return", "Changed", ";", "}", ""], "natrual_language": ["runOnMachineFunction", "-", "Emit", "the", "function", "body", "."], "TS_V_token": ["WebAssembly", "WebAssembly", "\"********** Fixing up CALL_INDIRECTs **********\\n\"", "WebAssembly", "WebAssembly", "\"Found call_indirect: \"", "0", "\" After transform: \"", "\"\\nDone fixing up CALL_INDIRECTs\\n\\n\""], "File": "WebAssemblyCallIndirectFixup8", "Func": "runOnMachineFunction", "Target": "WebAssembly", "Target_Clf": "Virtual ISA", "Compiler_Type": "LLVM", "Idx": 3967, "Length": 185, "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": 3968, "Length": 211, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "bool", "msp430_use_f5_series_hwmult", "(", "void", ")", "{", "static", "const", "char", "*", "cached_match", "=", "NULL", ";", "static", "bool", "cached_result", ";", "if", "(", "msp430_hwmult_type", "==", "MSP430_HWMULT_F5SERIES", ")", "return", "true", ";", "if", "(", "target_mcu", "==", "NULL", "||", "msp430_hwmult_type", "!=", "MSP430_HWMULT_AUTO", ")", "return", "false", ";", "if", "(", "target_mcu", "==", "cached_match", ")", "return", "cached_result", ";", "cached_match", "=", "target_mcu", ";", "if", "(", "strncasecmp", "(", "target_mcu", ",", "\"msp430f5\"", ",", "8", ")", "==", "0", ")", "return", "cached_result", "=", "true", ";", "if", "(", "strncasecmp", "(", "target_mcu", ",", "\"msp430fr5\"", ",", "9", ")", "==", "0", ")", "return", "cached_result", "=", "true", ";", "if", "(", "strncasecmp", "(", "target_mcu", ",", "\"msp430f6\"", ",", "8", ")", "==", "0", ")", "return", "cached_result", "=", "true", ";", "msp430_extract_mcu_data", "(", "target_mcu", ")", ";", "if", "(", "extracted_mcu_data", ".", "name", "!=", "NULL", ")", "return", "cached_result", "=", "extracted_mcu_data", ".", "hwmpy", "==", "8", ";", "return", "cached_result", "=", "false", ";", "}", ""], "natrual_language": ["Returns", "true", "if", "the", "current", "MCU", "supports", "an", "F5xxx", "series", "hardware", "multiper", "."], "TS_V_token": ["msp430", "\"msp430f5\"", "8", "0", "\"msp430fr5\"", "9", "0", "\"msp430f6\"", "8", "0", "8"], "File": "msp430", "Func": "msp430_use_f5_series_hwmult", "Target": "msp430", "Target_Clf": "MPU", "Compiler_Type": "GCC", "Idx": 3969, "Length": 135, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "bool", "usesPhysRegsForValues", "(", ")", "const", "override", "{", "return", "false", ";", "}", ""], "natrual_language": ["True", "if", "the", "target", "uses", "physical", "regs", "(", "as", "nearly", "all", "targets", "do", ")", "."], "TS_V_token": ["WebAssembly"], "File": "WebAssemblyTargetMachine13", "Func": "usesPhysRegsForValues", "Target": "WebAssembly", "Target_Clf": "Virtual ISA", "Compiler_Type": "LLVM", "Idx": 3970, "Length": 11, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "int", "check_pic", "(", "int", "i", ")", "{", "rtx", "op", ";", "switch", "(", "flag_pic", ")", "{", "case", "1", ":", "op", "=", "recog_data", ".", "operand", "[", "i", "]", ";", "gcc_assert", "(", "GET_CODE", "(", "op", ")", "!=", "SYMBOL_REF", "&&", "(", "GET_CODE", "(", "op", ")", "!=", "CONST", "||", "(", "GET_CODE", "(", "XEXP", "(", "op", ",", "0", ")", ")", "==", "MINUS", "&&", "XEXP", "(", "XEXP", "(", "op", ",", "0", ")", ",", "0", ")", "==", "sparc_got", "(", ")", "&&", "GET_CODE", "(", "XEXP", "(", "XEXP", "(", "op", ",", "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": "sparc", "Func": "check_pic", "Target": "sparc", "Target_Clf": "CPU", "Compiler_Type": "GCC", "Idx": 3971, "Length": 103, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "poly_int64", "cr16_push_rounding", "(", "poly_int64", "bytes", ")", "{", "return", "(", "bytes", "+", "1", ")", "&", "~", "1", ";", "}", ""], "natrual_language": ["Implement", "PUSH_ROUNDING", "."], "TS_V_token": ["cr16", "1", "1"], "File": "cr16", "Func": "cr16_push_rounding", "Target": "cr16", "Target_Clf": "MPU", "Compiler_Type": "GCC", "Idx": 3972, "Length": 18, "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": 3973, "Length": 75, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "FunctionType", "*", "AMDGPUIntrinsicInfo", "::", "getType", "(", "LLVMContext", "&", "Context", ",", "unsigned", "ID", ",", "ArrayRef", "<", "Type", "*", ">", "Tys", ")", "const", "{", "switch", "(", "ID", ")", "{", "case", "AMDGPUIntrinsic", "::", "amdgcn_fdiv_fast", ":", "{", "Type", "*", "F32Ty", "=", "Type", "::", "getFloatTy", "(", "Context", ")", ";", "return", "FunctionType", "::", "get", "(", "F32Ty", ",", "{", "F32Ty", ",", "F32Ty", "}", ",", "false", ")", ";", "}", "default", ":", "llvm_unreachable", "(", "\"unhandled intrinsic\"", ")", ";", "}", "}", ""], "natrual_language": ["Overload", "to", "return", "most", "specific", "vector", "type", "."], "TS_V_token": ["AMDGPU", "AMDGPU", "AMDGPUIntrinsic::amdgcn_fdiv_fast", "\"unhandled intrinsic\""], "File": "AMDGPUIntrinsicInfo7", "Func": "getType", "Target": "AMDGPU", "Target_Clf": "GPU", "Compiler_Type": "LLVM", "Idx": 3974, "Length": 70, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "unsigned", "AArch64BranchFixup", "::", "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": ["AArch64", "AArch64", "\"Didn't find MI in its own basic block?\""], "File": "AArch64BranchFixupPass1", "Func": "getOffsetOf", "Target": "AArch64", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 3975, "Length": 86, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "void", "RISCVAsmPrinter", "::", "emitBasicBlockEnd", "(", "const", "MachineBasicBlock", "&", "MBB", ")", "{", "auto", "*", "RVFI", "=", "MF", "->", "getInfo", "<", "RISCVMachineFunctionInfo", ">", "(", ")", ";", "RISCVTargetStreamer", "&", "RTS", "=", "static_cast", "<", "RISCVTargetStreamer", "&", ">", "(", "*", "OutStreamer", "->", "getTargetStreamer", "(", ")", ")", ";", "if", "(", "RVFI", "->", "isHwlpBasicBlock", "(", "&", "MBB", ")", ")", "{", "RTS", ".", "emitDirectiveOptionPop", "(", ")", ";", "}", "AsmPrinter", "::", "emitBasicBlockEnd", "(", "MBB", ")", ";", "}", ""], "natrual_language": ["Targets", "can", "override", "this", "to", "emit", "stuff", "at", "the", "end", "of", "a", "basic", "block", "."], "TS_V_token": ["RISCV", "RISCV", "RISCV", "RISCV", "RISCV"], "File": "RISCVAsmPrinter1", "Func": "emitBasicBlockEnd", "Target": "RISCV", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 3976, "Length": 68, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "bool", "SIInstrInfo", "::", "isLegalFLATOffset", "(", "int64_t", "Offset", ",", "unsigned", "AddrSpace", ",", "bool", "Signed", ")", "const", "{", "if", "(", "!", "ST", ".", "hasFlatInstOffsets", "(", ")", ")", "return", "false", ";", "if", "(", "ST", ".", "hasFlatSegmentOffsetBug", "(", ")", "&&", "AddrSpace", "==", "AMDGPUAS", "::", "FLAT_ADDRESS", ")", "return", "false", ";", "if", "(", "ST", ".", "getGeneration", "(", ")", ">=", "AMDGPUSubtarget", "::", "GFX10", ")", "{", "return", "(", "Signed", "&&", "isInt", "<", "12", ">", "(", "Offset", ")", ")", "||", "(", "!", "Signed", "&&", "isUInt", "<", "11", ">", "(", "Offset", ")", ")", ";", "}", "return", "(", "Signed", "&&", "isInt", "<", "13", ">", "(", "Offset", ")", ")", "||", "(", "!", "Signed", "&&", "isUInt", "<", "12", ">", "(", "Offset", ")", ")", ";", "}", ""], "natrual_language": ["Returns", "if", "Offset", "is", "legal", "for", "the", "subtarget", "as", "the", "offset", "to", "a", "FLAT", "encoded", "instruction", "."], "TS_V_token": ["AMDGPU", "SI", "AMDGPU", "AMDGPU", "12", "11", "13", "12"], "File": "SIInstrInfo118", "Func": "isLegalFLATOffset", "Target": "AMDGPU", "Target_Clf": "GPU", "Compiler_Type": "LLVM", "Idx": 3977, "Length": 112, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "void", "WebAssemblyInstrInfo", "::", "copyPhysReg", "(", "MachineBasicBlock", "&", "MBB", ",", "MachineBasicBlock", "::", "iterator", "I", ",", "const", "DebugLoc", "&", "DL", ",", "unsigned", "DestReg", ",", "unsigned", "SrcReg", ",", "bool", "KillSrc", ")", "const", "{", "auto", "&", "MRI", "=", "MBB", ".", "getParent", "(", ")", "->", "getRegInfo", "(", ")", ";", "const", "TargetRegisterClass", "*", "RC", "=", "TargetRegisterInfo", "::", "isVirtualRegister", "(", "DestReg", ")", "?", "MRI", ".", "getRegClass", "(", "DestReg", ")", ":", "MRI", ".", "getTargetRegisterInfo", "(", ")", "->", "getMinimalPhysRegClass", "(", "DestReg", ")", ";", "unsigned", "CopyOpcode", ";", "if", "(", "RC", "==", "&", "WebAssembly", "::", "I32RegClass", ")", "CopyOpcode", "=", "WebAssembly", "::", "COPY_I32", ";", "else", "if", "(", "RC", "==", "&", "WebAssembly", "::", "I64RegClass", ")", "CopyOpcode", "=", "WebAssembly", "::", "COPY_I64", ";", "else", "if", "(", "RC", "==", "&", "WebAssembly", "::", "F32RegClass", ")", "CopyOpcode", "=", "WebAssembly", "::", "COPY_F32", ";", "else", "if", "(", "RC", "==", "&", "WebAssembly", "::", "F64RegClass", ")", "CopyOpcode", "=", "WebAssembly", "::", "COPY_F64", ";", "else", "llvm_unreachable", "(", "\"Unexpected register class\"", ")", ";", "BuildMI", "(", "MBB", ",", "I", ",", "DL", ",", "get", "(", "CopyOpcode", ")", ",", "DestReg", ")", ".", "addReg", "(", "SrcReg", ",", "KillSrc", "?", "RegState", "::", "Kill", ":", "0", ")", ";", "}", ""], "natrual_language": ["}", "Branch", "Analysis", "&", "Modification"], "TS_V_token": ["WebAssembly", "WebAssembly", "WebAssembly::I32RegClass", "WebAssembly::COPY_I32", "WebAssembly::I64RegClass", "WebAssembly::COPY_I64", "WebAssembly::F32RegClass", "WebAssembly::COPY_F32", "WebAssembly::F64RegClass", "WebAssembly::COPY_F64", "\"Unexpected register class\"", "0"], "File": "WebAssemblyInstrInfo10", "Func": "copyPhysReg", "Target": "WebAssembly", "Target_Clf": "Virtual ISA", "Compiler_Type": "LLVM", "Idx": 3978, "Length": 176, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "static", "void", "bfin_function_arg_advance", "(", "cumulative_args_t", "cum_v", ",", "const", "function_arg_info", "&", "arg", ")", "{", "CUMULATIVE_ARGS", "*", "cum", "=", "get_cumulative_args", "(", "cum_v", ")", ";", "int", "count", ",", "bytes", ",", "words", ";", "bytes", "=", "arg", ".", "promoted_size_in_bytes", "(", ")", ";", "words", "=", "(", "bytes", "+", "UNITS_PER_WORD", "-", "1", ")", "/", "UNITS_PER_WORD", ";", "cum", "->", "words", "+=", "words", ";", "cum", "->", "nregs", "-=", "words", ";", "if", "(", "cum", "->", "nregs", "<=", "0", ")", "{", "cum", "->", "nregs", "=", "0", ";", "cum", "->", "arg_regs", "=", "NULL", ";", "}", "else", "{", "for", "(", "count", "=", "1", ";", "count", "<=", "words", ";", "count", "++", ")", "cum", "->", "arg_regs", "++", ";", "}", "return", ";", "}", ""], "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": ["bfin", "1", "0", "0", "1"], "File": "bfin", "Func": "bfin_function_arg_advance", "Target": "bfin", "Target_Clf": "DSP", "Compiler_Type": "GCC", "Idx": 3979, "Length": 107, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "SDValue", "BPFSelectionDAGInfo", "::", "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", "{", "ConstantSDNode", "*", "ConstantSize", "=", "dyn_cast", "<", "ConstantSDNode", ">", "(", "Size", ")", ";", "if", "(", "!", "ConstantSize", ")", "return", "SDValue", "(", ")", ";", "unsigned", "CopyLen", "=", "ConstantSize", "->", "getZExtValue", "(", ")", ";", "unsigned", "StoresNumEstimate", "=", "alignTo", "(", "CopyLen", ",", "Alignment", ")", ">>", "Log2", "(", "Alignment", ")", ";", "if", "(", "StoresNumEstimate", ">", "getCommonMaxStoresPerMemFunc", "(", ")", ")", "return", "SDValue", "(", ")", ";", "SDVTList", "VTs", "=", "DAG", ".", "getVTList", "(", "MVT", "::", "Other", ",", "MVT", "::", "Glue", ")", ";", "Dst", "=", "DAG", ".", "getNode", "(", "BPFISD", "::", "MEMCPY", ",", "dl", ",", "VTs", ",", "Chain", ",", "Dst", ",", "Src", ",", "DAG", ".", "getConstant", "(", "CopyLen", ",", "dl", ",", "MVT", "::", "i64", ")", ",", "DAG", ".", "getConstant", "(", "Alignment", ".", "value", "(", ")", ",", "dl", ",", "MVT", "::", "i64", ")", ")", ";", "return", "Dst", ".", "getValue", "(", "0", ")", ";", "}", ""], "natrual_language": ["Emit", "target-specific", "code", "that", "performs", "a", "memcpy", "."], "TS_V_token": ["BPF", "BPF", "MVT::Other", "MVT::Glue", "BPFISD::MEMCPY", "MVT::i64", "MVT::i64", "0"], "File": "BPFSelectionDAGInfo1", "Func": "EmitTargetCodeForMemcpy", "Target": "BPF", "Target_Clf": "Virtual ISA", "Compiler_Type": "LLVM", "Idx": 3980, "Length": 178, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "TTI", "::", "PopcntSupportKind", "getPopcntSupport", "(", "unsigned", "TyWidth", ")", "{", "assert", "(", "isPowerOf2_32", "(", "TyWidth", ")", "&&", "\"Ty width must be power of 2\"", ")", ";", "return", "ST", "->", "hasBCNT", "(", "TyWidth", ")", "?", "TTI", "::", "PSK_FastHardware", ":", "TTI", "::", "PSK_Software", ";", "}", ""], "natrual_language": ["Return", "hardware", "support", "for", "population", "count", "."], "TS_V_token": ["AMDGPU", "\"Ty width must be power of 2\""], "File": "AMDGPUTargetTransformInfo (2)", "Func": "getPopcntSupport", "Target": "AMDGPU", "Target_Clf": "GPU", "Compiler_Type": "LLVM", "Idx": 3981, "Length": 36, "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": 3982, "Length": 284, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "bool", "AMDGPUCallLowering", "::", "lowerFormalArguments", "(", "MachineIRBuilder", "&", "MIRBuilder", ",", "const", "Function", "::", "ArgumentListType", "&", "Args", ",", "ArrayRef", "<", "unsigned", ">", "VRegs", ")", "const", "{", "return", "true", ";", "}", ""], "natrual_language": ["This", "hook", "must", "be", "implemented", "to", "lower", "the", "incoming", "(", "formal", ")", "arguments", ",", "described", "by", "VRegs", ",", "for", "GlobalISel", "."], "TS_V_token": ["AMDGPU", "AMDGPU"], "File": "AMDGPUCallLowering41", "Func": "lowerFormalArguments", "Target": "AMDGPU", "Target_Clf": "GPU", "Compiler_Type": "LLVM", "Idx": 3983, "Length": 28, "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": 3984, "Length": 40, "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": 3985, "Length": 27, "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": 3986, "Length": 240, "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", ":", "case", "Instruction", "::", "UDiv", ":", "case", "Instruction", "::", "SDiv", ":", "case", "Instruction", "::", "URem", ":", "case", "Instruction", "::", "SRem", ":", "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": "RISCVISelLowering80", "Func": "shouldSinkOperands", "Target": "RISCV", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 3987, "Length": 432, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "const", "HSAILSubtarget", "*", "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": ["HSAIL", "HSAIL"], "File": "HSAILTargetMachine", "Func": "getSubtargetImpl", "Target": "HSAIL", "Target_Clf": "Virtual ISA", "Compiler_Type": "LLVM", "Idx": 3988, "Length": 17, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "void", "MBlazeRegisterInfo", "::", "eliminateCallFramePseudoInstr", "(", "MachineFunction", "&", "MF", ",", "MachineBasicBlock", "&", "MBB", ",", "MachineBasicBlock", "::", "iterator", "I", ")", "const", "{", "const", "TargetFrameLowering", "*", "TFI", "=", "MF", ".", "getTarget", "(", ")", ".", "getFrameLowering", "(", ")", ";", "if", "(", "!", "TFI", "->", "hasReservedCallFrame", "(", "MF", ")", ")", "{", "MachineInstr", "*", "Old", "=", "I", ";", "int", "Amount", "=", "Old", "->", "getOperand", "(", "0", ")", ".", "getImm", "(", ")", "+", "4", ";", "if", "(", "Amount", "!=", "0", ")", "{", "unsigned", "Align", "=", "TFI", "->", "getStackAlignment", "(", ")", ";", "Amount", "=", "(", "Amount", "+", "Align", "-", "1", ")", "/", "Align", "*", "Align", ";", "MachineInstr", "*", "New", ";", "if", "(", "Old", "->", "getOpcode", "(", ")", "==", "MBlaze", "::", "ADJCALLSTACKDOWN", ")", "{", "New", "=", "BuildMI", "(", "MF", ",", "Old", "->", "getDebugLoc", "(", ")", ",", "TII", ".", "get", "(", "MBlaze", "::", "ADDIK", ")", ",", "MBlaze", "::", "R1", ")", ".", "addReg", "(", "MBlaze", "::", "R1", ")", ".", "addImm", "(", "-", "Amount", ")", ";", "}", "else", "{", "assert", "(", "Old", "->", "getOpcode", "(", ")", "==", "MBlaze", "::", "ADJCALLSTACKUP", ")", ";", "New", "=", "BuildMI", "(", "MF", ",", "Old", "->", "getDebugLoc", "(", ")", ",", "TII", ".", "get", "(", "MBlaze", "::", "ADDIK", ")", ",", "MBlaze", "::", "R1", ")", ".", "addReg", "(", "MBlaze", "::", "R1", ")", ".", "addImm", "(", "Amount", ")", ";", "}", "MBB", ".", "insert", "(", "I", ",", "New", ")", ";", "}", "}", "MBB", ".", "erase", "(", "I", ")", ";", "}", ""], "natrual_language": ["This", "method", "is", "called", "during", "prolog/epilog", "code", "insertion", "to", "eliminate", "call", "frame", "setup", "and", "destroy", "pseudo", "instructions", "(", "but", "only", "if", "the", "Target", "is", "using", "them", ")", "."], "TS_V_token": ["MBlaze", "MBlaze", "0", "4", "0", "1", "MBlaze::ADJCALLSTACKDOWN", "MBlaze::ADDIK", "MBlaze::R1", "MBlaze::R1", "MBlaze::ADJCALLSTACKUP", "MBlaze::ADDIK", "MBlaze::R1", "MBlaze::R1"], "File": "MBlazeRegisterInfo1", "Func": "eliminateCallFramePseudoInstr", "Target": "MBlaze", "Target_Clf": "MPU", "Compiler_Type": "LLVM", "Idx": 3989, "Length": 228, "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": 3990, "Length": 335, "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": 3991, "Length": 72, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "ScheduleHazardRecognizer", "::", "HazardType", "GCNHazardRecognizer", "::", "getHazardType", "(", "SUnit", "*", "SU", ",", "int", "Stalls", ")", "{", "MachineInstr", "*", "MI", "=", "SU", "->", "getInstr", "(", ")", ";", "if", "(", "MI", "->", "isBundle", "(", ")", ")", "return", "NoHazard", ";", "if", "(", "SIInstrInfo", "::", "isSMRD", "(", "*", "MI", ")", "&&", "checkSMRDHazards", "(", "MI", ")", ">", "0", ")", "return", "NoopHazard", ";", "if", "(", "(", "SIInstrInfo", "::", "isVMEM", "(", "*", "MI", ")", "||", "SIInstrInfo", "::", "isFLAT", "(", "*", "MI", ")", ")", "&&", "checkVMEMHazards", "(", "MI", ")", ">", "0", ")", "return", "NoopHazard", ";", "if", "(", "ST", ".", "hasNSAtoVMEMBug", "(", ")", "&&", "checkNSAtoVMEMHazard", "(", "MI", ")", ">", "0", ")", "return", "NoopHazard", ";", "if", "(", "checkFPAtomicToDenormModeHazard", "(", "MI", ")", ">", "0", ")", "return", "NoopHazard", ";", "if", "(", "ST", ".", "hasNoDataDepHazard", "(", ")", ")", "return", "NoHazard", ";", "if", "(", "SIInstrInfo", "::", "isVALU", "(", "*", "MI", ")", "&&", "checkVALUHazards", "(", "MI", ")", ">", "0", ")", "return", "NoopHazard", ";", "if", "(", "SIInstrInfo", "::", "isDPP", "(", "*", "MI", ")", "&&", "checkDPPHazards", "(", "MI", ")", ">", "0", ")", "return", "NoopHazard", ";", "if", "(", "isDivFMas", "(", "MI", "->", "getOpcode", "(", ")", ")", "&&", "checkDivFMasHazards", "(", "MI", ")", ">", "0", ")", "return", "NoopHazard", ";", "if", "(", "isRWLane", "(", "MI", "->", "getOpcode", "(", ")", ")", "&&", "checkRWLaneHazards", "(", "MI", ")", ">", "0", ")", "return", "NoopHazard", ";", "if", "(", "isSGetReg", "(", "MI", "->", "getOpcode", "(", ")", ")", "&&", "checkGetRegHazards", "(", "MI", ")", ">", "0", ")", "return", "NoopHazard", ";", "if", "(", "isSSetReg", "(", "MI", "->", "getOpcode", "(", ")", ")", "&&", "checkSetRegHazards", "(", "MI", ")", ">", "0", ")", "return", "NoopHazard", ";", "if", "(", "isRFE", "(", "MI", "->", "getOpcode", "(", ")", ")", "&&", "checkRFEHazards", "(", "MI", ")", ">", "0", ")", "return", "NoopHazard", ";", "if", "(", "ST", ".", "hasReadM0MovRelInterpHazard", "(", ")", "&&", "(", "TII", ".", "isVINTRP", "(", "*", "MI", ")", "||", "isSMovRel", "(", "MI", "->", "getOpcode", "(", ")", ")", ")", "&&", "checkReadM0Hazards", "(", "MI", ")", ">", "0", ")", "return", "NoopHazard", ";", "if", "(", "ST", ".", "hasReadM0SendMsgHazard", "(", ")", "&&", "isSendMsgTraceDataOrGDS", "(", "TII", ",", "*", "MI", ")", "&&", "checkReadM0Hazards", "(", "MI", ")", ">", "0", ")", "return", "NoopHazard", ";", "if", "(", "SIInstrInfo", "::", "isMAI", "(", "*", "MI", ")", "&&", "checkMAIHazards", "(", "MI", ")", ">", "0", ")", "return", "NoopHazard", ";", "if", "(", "MI", "->", "mayLoadOrStore", "(", ")", "&&", "checkMAILdStHazards", "(", "MI", ")", ">", "0", ")", "return", "NoopHazard", ";", "if", "(", "MI", "->", "isInlineAsm", "(", ")", "&&", "checkInlineAsmHazards", "(", "MI", ")", ">", "0", ")", "return", "NoopHazard", ";", "if", "(", "checkAnyInstHazards", "(", "MI", ")", ">", "0", ")", "return", "NoopHazard", ";", "return", "NoHazard", ";", "}", ""], "natrual_language": ["getHazardType", "-", "Return", "the", "hazard", "type", "of", "emitting", "this", "node", "."], "TS_V_token": ["AMDGPU", "SI", "0", "SI", "SI", "0", "0", "0", "SI", "0", "SI", "0", "0", "0", "0", "0", "0", "0", "0", "SI", "0", "0", "0", "0"], "File": "GCNHazardRecognizer25", "Func": "getHazardType", "Target": "AMDGPU", "Target_Clf": "GPU", "Compiler_Type": "LLVM", "Idx": 3992, "Length": 407, "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": 3993, "Length": 76, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "static", "pad_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", "PAD_NONE", ";", "if", "(", "TARGET_64BIT", ")", "return", "PAD_UPWARD", ";", "else", "return", "PAD_DOWNWARD", ";", "}", "if", "(", "GET_MODE_BITSIZE", "(", "mode", ")", "<", "PARM_BOUNDARY", ")", "return", "PAD_DOWNWARD", ";", "else", "return", "PAD_NONE", ";", "}", ""], "natrual_language": ["Implement", "TARGET_FUNCTION_ARG_PADDING", "."], "TS_V_token": ["pa", "0"], "File": "pa", "Func": "pa_function_arg_padding", "Target": "pa", "Target_Clf": "CPU", "Compiler_Type": "GCC", "Idx": 3994, "Length": 104, "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": 3995, "Length": 29, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "void", "CompositeHandler", "::", "dump", "(", ")", "{", "for", "(", "auto", "Ty", ":", "typeDefs", ")", "{", "LLVM_DEBUG", "(", "{", "dbgs", "(", ")", "<<", "\"Type : \"", ";", "Ty", ".", "first", "->", "dump", "(", ")", ";", "dbgs", "(", ")", "<<", "\"Values:\"", ";", "for", "(", "auto", "Val", ":", "typeValues", "[", "Ty", ".", "first", "]", ")", "Val", "->", "dump", "(", ")", ";", "dbgs", "(", ")", "<<", "\"Flattend Type :\"", ";", "if", "(", "Ty", ".", "second", ")", "Ty", ".", "second", "->", "dump", "(", ")", ";", "else", "dbgs", "(", ")", "<<", "\"\"", ";", "dbgs", "(", ")", "<<", "\"\\n\"", ";", "}", ")", ";", "}", "}", ""], "natrual_language": ["Dump", "the", "plan", "to", "stderr", "(", "for", "debugging", ")", "."], "TS_V_token": ["JVM", "\"Type : \"", "\"Values:\"", "\"Flattend Type :\"", "\"\"", "\"\\n\""], "File": "JVMCompositeHandler", "Func": "dump", "Target": "JVM", "Target_Clf": "Virtual ISA", "Compiler_Type": "LLVM", "Idx": 3996, "Length": 94, "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": 3997, "Length": 11, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "std", "::", "pair", "<", "unsigned", ",", "const", "TargetRegisterClass", "*", ">", "HexagonTargetLowering", "::", "getRegForInlineAsmConstraint", "(", "const", "TargetRegisterInfo", "*", "TRI", ",", "StringRef", "Constraint", ",", "MVT", "VT", ")", "const", "{", "bool", "UseHVX", "=", "Subtarget", ".", "useHVXOps", "(", ")", ",", "UseHVXDbl", "=", "Subtarget", ".", "useHVXDblOps", "(", ")", ";", "if", "(", "Constraint", ".", "size", "(", ")", "==", "1", ")", "{", "switch", "(", "Constraint", "[", "0", "]", ")", "{", "case", "'r'", ":", "switch", "(", "VT", ".", "SimpleTy", ")", "{", "default", ":", "llvm_unreachable", "(", "\"getRegForInlineAsmConstraint Unhandled data type\"", ")", ";", "case", "MVT", "::", "i1", ":", "case", "MVT", "::", "i8", ":", "case", "MVT", "::", "i16", ":", "case", "MVT", "::", "i32", ":", "case", "MVT", "::", "f32", ":", "return", "std", "::", "make_pair", "(", "0U", ",", "&", "Hexagon", "::", "IntRegsRegClass", ")", ";", "case", "MVT", "::", "i64", ":", "case", "MVT", "::", "f64", ":", "return", "std", "::", "make_pair", "(", "0U", ",", "&", "Hexagon", "::", "DoubleRegsRegClass", ")", ";", "}", "case", "'q'", ":", "switch", "(", "VT", ".", "getSizeInBits", "(", ")", ")", "{", "default", ":", "llvm_unreachable", "(", "\"getRegForInlineAsmConstraint Unhandled vector size\"", ")", ";", "case", "512", ":", "return", "std", "::", "make_pair", "(", "0U", ",", "&", "Hexagon", "::", "VecPredRegsRegClass", ")", ";", "case", "1024", ":", "return", "std", "::", "make_pair", "(", "0U", ",", "&", "Hexagon", "::", "VecPredRegs128BRegClass", ")", ";", "}", "case", "'v'", ":", "switch", "(", "VT", ".", "getSizeInBits", "(", ")", ")", "{", "default", ":", "llvm_unreachable", "(", "\"getRegForInlineAsmConstraint Unhandled vector size\"", ")", ";", "case", "512", ":", "return", "std", "::", "make_pair", "(", "0U", ",", "&", "Hexagon", "::", "VectorRegsRegClass", ")", ";", "case", "1024", ":", "if", "(", "Subtarget", ".", "hasV60TOps", "(", ")", "&&", "UseHVX", "&&", "UseHVXDbl", ")", "return", "std", "::", "make_pair", "(", "0U", ",", "&", "Hexagon", "::", "VectorRegs128BRegClass", ")", ";", "return", "std", "::", "make_pair", "(", "0U", ",", "&", "Hexagon", "::", "VecDblRegsRegClass", ")", ";", "case", "2048", ":", "return", "std", "::", "make_pair", "(", "0U", ",", "&", "Hexagon", "::", "VecDblRegs128BRegClass", ")", ";", "}", "default", ":", "llvm_unreachable", "(", "\"Unknown asm register class\"", ")", ";", "}", "}", "return", "TargetLowering", "::", "getRegForInlineAsmConstraint", "(", "TRI", ",", "Constraint", ",", "VT", ")", ";", "}", ""], "natrual_language": ["Given", "a", "physical", "register", "constraint", "(", "e.g", "."], "TS_V_token": ["Hexagon", "Hexagon", "1", "0", "\"getRegForInlineAsmConstraint Unhandled data type\"", "MVT::i1", "MVT::i8", "MVT::i16", "MVT::i32", "MVT::f32", "0U", "Hexagon::IntRegsRegClass", "MVT::i64", "MVT::f64", "0U", "Hexagon::DoubleRegsRegClass", "\"getRegForInlineAsmConstraint Unhandled vector size\"", "512", "0U", "Hexagon::VecPredRegsRegClass", "1024", "0U", "Hexagon::VecPredRegs128BRegClass", "\"getRegForInlineAsmConstraint Unhandled vector size\"", "512", "0U", "Hexagon::VectorRegsRegClass", "1024", "0U", "Hexagon::VectorRegs128BRegClass", "0U", "Hexagon::VecDblRegsRegClass", "2048", "0U", "Hexagon::VecDblRegs128BRegClass", "\"Unknown asm register class\""], "File": "HexagonISelLowering19", "Func": "getRegForInlineAsmConstraint", "Target": "Hexagon", "Target_Clf": "DSP", "Compiler_Type": "LLVM", "Idx": 3998, "Length": 309, "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": 3999, "Length": 47, "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": ["MSP430"], "File": "MSP430TargetMachine10", "Func": "getRegisterInfo", "Target": "MSP430", "Target_Clf": "MPU", "Compiler_Type": "LLVM", "Idx": 4000, "Length": 18, "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": 4001, "Length": 214, "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": 4002, "Length": 55, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "bool", "GBZ80InstrInfo", "::", "isUnconditionalBranch", "(", "const", "MachineInstr", "&", "I", ")", "const", "{", "return", "I", ".", "getOpcode", "(", ")", "==", "GB", "::", "JP_nn", "||", "I", ".", "getOpcode", "(", ")", "==", "GB", "::", "JR_e", ";", "}", ""], "natrual_language": ["Return", "true", "if", "this", "is", "a", "branch", "which", "always", "transfers", "control", "flow", "to", "some", "other", "block", "."], "TS_V_token": ["GBZ80", "GB", "GB::JP_nn", "GB::JR_e"], "File": "GBZ80InstrInfo", "Func": "isUnconditionalBranch", "Target": "GBZ80", "Target_Clf": "MPU", "Compiler_Type": "LLVM", "Idx": 4003, "Length": 34, "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": 4004, "Length": 499, "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": 4005, "Length": 407, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "bool", "SIFixSGPRLiveRanges", "::", "runOnMachineFunction", "(", "MachineFunction", "&", "MF", ")", "{", "MachineRegisterInfo", "&", "MRI", "=", "MF", ".", "getRegInfo", "(", ")", ";", "const", "SIRegisterInfo", "*", "TRI", "=", "static_cast", "<", "const", "SIRegisterInfo", "*", ">", "(", "MF", ".", "getSubtarget", "(", ")", ".", "getRegisterInfo", "(", ")", ")", ";", "LiveIntervals", "*", "LIS", "=", "&", "getAnalysis", "<", "LiveIntervals", ">", "(", ")", ";", "for", "(", "MachineFunction", "::", "iterator", "BI", "=", "MF", ".", "begin", "(", ")", ",", "BE", "=", "MF", ".", "end", "(", ")", ";", "BI", "!=", "BE", ";", "++", "BI", ")", "{", "MachineBasicBlock", "&", "MBB", "=", "*", "BI", ";", "for", "(", "MachineBasicBlock", "::", "iterator", "I", "=", "MBB", ".", "begin", "(", ")", ",", "E", "=", "MBB", ".", "end", "(", ")", ";", "I", "!=", "E", ";", "++", "I", ")", "{", "MachineInstr", "&", "MI", "=", "*", "I", ";", "MachineOperand", "*", "ExecUse", "=", "MI", ".", "findRegisterUseOperand", "(", "AMDGPU", "::", "EXEC", ")", ";", "if", "(", "ExecUse", ")", "continue", ";", "for", "(", "const", "MachineOperand", "&", "Def", ":", "MI", ".", "operands", "(", ")", ")", "{", "if", "(", "!", "Def", ".", "isReg", "(", ")", "||", "!", "Def", ".", "isDef", "(", ")", "||", "!", "TargetRegisterInfo", "::", "isVirtualRegister", "(", "Def", ".", "getReg", "(", ")", ")", ")", "continue", ";", "const", "TargetRegisterClass", "*", "RC", "=", "MRI", ".", "getRegClass", "(", "Def", ".", "getReg", "(", ")", ")", ";", "if", "(", "!", "TRI", "->", "isSGPRClass", "(", "RC", ")", ")", "continue", ";", "LiveInterval", "&", "LI", "=", "LIS", "->", "getInterval", "(", "Def", ".", "getReg", "(", ")", ")", ";", "for", "(", "unsigned", "i", "=", "0", ",", "e", "=", "LI", ".", "size", "(", ")", "-", "1", ";", "i", "!=", "e", ";", "++", "i", ")", "{", "LiveRange", "::", "Segment", "&", "Seg", "=", "LI", ".", "segments", "[", "i", "]", ";", "LiveRange", "::", "Segment", "&", "Next", "=", "LI", ".", "segments", "[", "i", "+", "1", "]", ";", "Seg", ".", "end", "=", "Next", ".", "start", ";", "}", "}", "}", "}", "return", "false", ";", "}", ""], "natrual_language": ["runOnMachineFunction", "-", "Emit", "the", "function", "body", "."], "TS_V_token": ["R600", "SI", "SI", "SI", "0", "1", "1"], "File": "SIFixSGPRLiveRanges7", "Func": "runOnMachineFunction", "Target": "R600", "Target_Clf": "GPU", "Compiler_Type": "LLVM", "Idx": 4006, "Length": 302, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "bool", "runOnFunction", "(", "Function", "&", "F", ")", "override", "{", "std", "::", "string", "Code", ";", "raw_string_ostream", "OS", "(", "Code", ")", ";", "Func", "=", "&", "F", ";", "return", "GenJavaClass", "(", "OS", ")", ";", "}", ""], "natrual_language": ["runOnFunction", "-", "Virtual", "method", "overriden", "by", "subclasses", "to", "do", "the", "per-function", "processing", "of", "the", "pass", "."], "TS_V_token": ["JVM"], "File": "JVMX2Java", "Func": "runOnFunction", "Target": "JVM", "Target_Clf": "Virtual ISA", "Compiler_Type": "LLVM", "Idx": 4007, "Length": 32, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "CostLeaf", "*", "getRoot", "(", ")", "{", "return", "Root", ";", "}", ""], "natrual_language": ["Similar", "to", "getMemoryRoot", ",", "but", "also", "flushes", "PendingConstrainedFP", "(", "Strict", ")", "items", "."], "TS_V_token": ["TPC"], "File": "TPCCostModelEmitter", "Func": "getRoot", "Target": "TPC", "Target_Clf": "Virtual ISA", "Compiler_Type": "LLVM", "Idx": 4008, "Length": 10, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "bool", "pop_operation_p", "(", "rtx", "op", ")", "{", "int", "i", ";", "HOST_WIDE_INT", "last_offset", "=", "-", "1", ",", "len", "=", "XVECLEN", "(", "op", ",", "0", ")", ";", "rtx", "base_reg", ",", "offset", ";", "if", "(", "len", "<", "3", "||", "GET_CODE", "(", "XVECEXP", "(", "op", ",", "0", ",", "0", ")", ")", "!=", "RETURN", "||", "!", "base_reg_adjustment_p", "(", "XVECEXP", "(", "op", ",", "0", ",", "1", ")", ",", "&", "base_reg", ",", "&", "offset", ")", "||", "!", "rtx_equal_p", "(", "base_reg", ",", "stack_pointer_rtx", ")", "||", "!", "CONST_INT_P", "(", "offset", ")", "||", "(", "INTVAL", "(", "offset", ")", "&", "3", ")", "!=", "0", ")", "return", "false", ";", "for", "(", "i", "=", "len", "-", "1", ";", "i", ">", "1", ";", "i", "--", ")", "{", "rtx", "set", "=", "XVECEXP", "(", "op", ",", "0", ",", "i", ")", ";", "rtx", "curr_base_reg", ",", "curr_offset", ";", "if", "(", "GET_CODE", "(", "set", ")", "!=", "SET", "||", "!", "MEM_P", "(", "SET_SRC", "(", "set", ")", ")", "||", "!", "split_mem_address", "(", "XEXP", "(", "SET_SRC", "(", "set", ")", ",", "0", ")", ",", "&", "curr_base_reg", ",", "&", "curr_offset", ")", "||", "!", "rtx_equal_p", "(", "base_reg", ",", "curr_base_reg", ")", "||", "!", "CONST_INT_P", "(", "curr_offset", ")", ")", "return", "false", ";", "if", "(", "i", "==", "len", "-", "1", ")", "{", "last_offset", "=", "INTVAL", "(", "curr_offset", ")", ";", "if", "(", "(", "last_offset", "&", "3", ")", "!=", "0", "||", "last_offset", ">", "60", ")", "return", "false", ";", "}", "else", "{", "last_offset", "+=", "4", ";", "if", "(", "INTVAL", "(", "curr_offset", ")", "!=", "last_offset", ")", "return", "false", ";", "}", "}", "if", "(", "last_offset", "<", "0", "||", "last_offset", "+", "4", "!=", "INTVAL", "(", "offset", ")", ")", "return", "false", ";", "return", "true", ";", "}", ""], "natrual_language": ["Main", "function", "to", "implement", "the", "pop_operation", "predicate", "that", "check", "pop.n", "insn", "pattern", "integrity", ".", "The", "CDX", "pop.n", "patterns", "mostly", "hardcode", "the", "restored", "registers", ",", "so", "the", "main", "checking", "is", "for", "the", "SP", "offsets", "."], "TS_V_token": ["nios2", "1", "0", "3", "0", "0", "0", "1", "3", "0", "1", "1", "0", "0", "1", "3", "0", "60", "4", "0", "4"], "File": "nios2", "Func": "pop_operation_p", "Target": "nios2", "Target_Clf": "MPU", "Compiler_Type": "GCC", "Idx": 4009, "Length": 261, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "bool", "WebAssemblyFastISel", "::", "fastLowerArguments", "(", ")", "{", "if", "(", "!", "FuncInfo", ".", "CanLowerReturn", ")", "return", "false", ";", "const", "Function", "*", "F", "=", "FuncInfo", ".", "Fn", ";", "if", "(", "F", "->", "isVarArg", "(", ")", ")", "return", "false", ";", "unsigned", "i", "=", "0", ";", "for", "(", "auto", "const", "&", "Arg", ":", "F", "->", "args", "(", ")", ")", "{", "const", "AttributeSet", "&", "Attrs", "=", "F", "->", "getAttributes", "(", ")", ";", "if", "(", "Attrs", ".", "hasAttribute", "(", "i", "+", "1", ",", "Attribute", "::", "ByVal", ")", "||", "Attrs", ".", "hasAttribute", "(", "i", "+", "1", ",", "Attribute", "::", "SwiftSelf", ")", "||", "Attrs", ".", "hasAttribute", "(", "i", "+", "1", ",", "Attribute", "::", "SwiftError", ")", "||", "Attrs", ".", "hasAttribute", "(", "i", "+", "1", ",", "Attribute", "::", "InAlloca", ")", "||", "Attrs", ".", "hasAttribute", "(", "i", "+", "1", ",", "Attribute", "::", "Nest", ")", ")", "return", "false", ";", "Type", "*", "ArgTy", "=", "Arg", ".", "getType", "(", ")", ";", "if", "(", "ArgTy", "->", "isStructTy", "(", ")", "||", "ArgTy", "->", "isArrayTy", "(", ")", ")", "return", "false", ";", "if", "(", "!", "Subtarget", "->", "hasSIMD128", "(", ")", "&&", "ArgTy", "->", "isVectorTy", "(", ")", ")", "return", "false", ";", "unsigned", "Opc", ";", "const", "TargetRegisterClass", "*", "RC", ";", "switch", "(", "getSimpleType", "(", "ArgTy", ")", ")", "{", "case", "MVT", "::", "i1", ":", "case", "MVT", "::", "i8", ":", "case", "MVT", "::", "i16", ":", "case", "MVT", "::", "i32", ":", "Opc", "=", "WebAssembly", "::", "ARGUMENT_I32", ";", "RC", "=", "&", "WebAssembly", "::", "I32RegClass", ";", "break", ";", "case", "MVT", "::", "i64", ":", "Opc", "=", "WebAssembly", "::", "ARGUMENT_I64", ";", "RC", "=", "&", "WebAssembly", "::", "I64RegClass", ";", "break", ";", "case", "MVT", "::", "f32", ":", "Opc", "=", "WebAssembly", "::", "ARGUMENT_F32", ";", "RC", "=", "&", "WebAssembly", "::", "F32RegClass", ";", "break", ";", "case", "MVT", "::", "f64", ":", "Opc", "=", "WebAssembly", "::", "ARGUMENT_F64", ";", "RC", "=", "&", "WebAssembly", "::", "F64RegClass", ";", "break", ";", "case", "MVT", "::", "v16i8", ":", "Opc", "=", "WebAssembly", "::", "ARGUMENT_v16i8", ";", "RC", "=", "&", "WebAssembly", "::", "V128RegClass", ";", "break", ";", "case", "MVT", "::", "v8i16", ":", "Opc", "=", "WebAssembly", "::", "ARGUMENT_v8i16", ";", "RC", "=", "&", "WebAssembly", "::", "V128RegClass", ";", "break", ";", "case", "MVT", "::", "v4i32", ":", "Opc", "=", "WebAssembly", "::", "ARGUMENT_v4i32", ";", "RC", "=", "&", "WebAssembly", "::", "V128RegClass", ";", "break", ";", "case", "MVT", "::", "v4f32", ":", "Opc", "=", "WebAssembly", "::", "ARGUMENT_v4f32", ";", "RC", "=", "&", "WebAssembly", "::", "V128RegClass", ";", "break", ";", "default", ":", "return", "false", ";", "}", "unsigned", "ResultReg", "=", "createResultReg", "(", "RC", ")", ";", "BuildMI", "(", "*", "FuncInfo", ".", "MBB", ",", "FuncInfo", ".", "InsertPt", ",", "DbgLoc", ",", "TII", ".", "get", "(", "Opc", ")", ",", "ResultReg", ")", ".", "addImm", "(", "i", ")", ";", "updateValueMap", "(", "&", "Arg", ",", "ResultReg", ")", ";", "++", "i", ";", "}", "MRI", ".", "addLiveIn", "(", "WebAssembly", "::", "ARGUMENTS", ")", ";", "auto", "*", "MFI", "=", "MF", "->", "getInfo", "<", "WebAssemblyFunctionInfo", ">", "(", ")", ";", "for", "(", "auto", "const", "&", "Arg", ":", "F", "->", "args", "(", ")", ")", "MFI", "->", "addParam", "(", "getLegalType", "(", "getSimpleType", "(", "Arg", ".", "getType", "(", ")", ")", ")", ")", ";", "return", "true", ";", "}", ""], "natrual_language": ["This", "method", "is", "called", "by", "target-independent", "code", "to", "do", "target-", "specific", "argument", "lowering", "."], "TS_V_token": ["WebAssembly", "WebAssembly", "0", "1", "1", "1", "1", "1", "MVT::i1", "MVT::i8", "MVT::i16", "MVT::i32", "WebAssembly::ARGUMENT_I32", "WebAssembly::I32RegClass", "MVT::i64", "WebAssembly::ARGUMENT_I64", "WebAssembly::I64RegClass", "MVT::f32", "WebAssembly::ARGUMENT_F32", "WebAssembly::F32RegClass", "MVT::f64", "WebAssembly::ARGUMENT_F64", "WebAssembly::F64RegClass", "MVT::v16i8", "WebAssembly::ARGUMENT_v16i8", "WebAssembly::V128RegClass", "MVT::v8i16", "WebAssembly::ARGUMENT_v8i16", "WebAssembly::V128RegClass", "MVT::v4i32", "WebAssembly::ARGUMENT_v4i32", "WebAssembly::V128RegClass", "MVT::v4f32", "WebAssembly::ARGUMENT_v4f32", "WebAssembly::V128RegClass", "WebAssembly::ARGUMENTS", "WebAssembly"], "File": "WebAssemblyFastISel", "Func": "fastLowerArguments", "Target": "WebAssembly", "Target_Clf": "Virtual ISA", "Compiler_Type": "LLVM", "Idx": 4010, "Length": 483, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "void", "TL45InstPrinter", "::", "printRegName", "(", "raw_ostream", "&", "OS", ",", "unsigned", "RegNo", ")", "const", "{", "OS", "<<", "StringRef", "(", "getRegisterName", "(", "RegNo", ")", ")", ".", "lower", "(", ")", ";", "}", ""], "natrual_language": ["Print", "the", "assembler", "register", "name", "."], "TS_V_token": ["TL45", "TL45"], "File": "TL45InstPrinter", "Func": "printRegName", "Target": "TL45", "Target_Clf": "MPU", "Compiler_Type": "LLVM", "Idx": 4011, "Length": 29, "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": 4012, "Length": 75, "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": 4013, "Length": 11, "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": 4014, "Length": 168, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "void", "HexagonPassConfig", "::", "addPostRegAlloc", "(", ")", "{", "const", "HexagonTargetMachine", "&", "TM", "=", "getHexagonTargetMachine", "(", ")", ";", "if", "(", "getOptLevel", "(", ")", "!=", "CodeGenOpt", "::", "None", ")", "if", "(", "!", "DisableHexagonCFGOpt", ")", "addPass", "(", "createHexagonCFGOptimizer", "(", "TM", ")", ",", "false", ")", ";", "}", ""], "natrual_language": ["This", "method", "may", "be", "implemented", "by", "targets", "that", "want", "to", "run", "passes", "after", "register", "allocation", "pass", "pipeline", "but", "before", "prolog-epilog", "insertion", "."], "TS_V_token": ["Hexagon", "Hexagon", "Hexagon", "Hexagon", "Hexagon", "Hexagon"], "File": "HexagonTargetMachine63", "Func": "addPostRegAlloc", "Target": "Hexagon", "Target_Clf": "DSP", "Compiler_Type": "LLVM", "Idx": 4015, "Length": 42, "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": 4016, "Length": 72, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "const", "AMDGPURegisterInfo", "&", "AMDGPUInstrInfo", "::", "getRegisterInfo", "(", ")", "const", "{", "return", "RI", ";", "}", ""], "natrual_language": ["getRegisterInfo", "-", "TargetInstrInfo", "is", "a", "superset", "of", "MRegister", "info", "."], "TS_V_token": ["AMDGPU", "AMDGPU", "AMDGPU"], "File": "AMDGPUInstrInfo", "Func": "getRegisterInfo", "Target": "AMDGPU", "Target_Clf": "GPU", "Compiler_Type": "LLVM", "Idx": 4017, "Length": 14, "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": 4018, "Length": 462, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "auto", "HexagonVectorCombine", "::", "run", "(", ")", "->", "bool", "{", "if", "(", "!", "HST", ".", "useHVXOps", "(", ")", ")", "return", "false", ";", "bool", "Changed", "=", "AlignVectors", "(", "*", "this", ")", ".", "run", "(", ")", ";", "return", "Changed", ";", "}", ""], "natrual_language": ["Run", "the", "analysis", "pass", "over", "a", "function", "and", "produce", "a", "dominator", "tree", "."], "TS_V_token": ["Hexagon", "HexagonVectorCombine::run"], "File": "HexagonVectorCombine", "Func": "run", "Target": "Hexagon", "Target_Clf": "DSP", "Compiler_Type": "LLVM", "Idx": 4019, "Length": 38, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "void", "ScheduleDAGPostRA", "::", "releasePred", "(", "SUnit", "*", "SU", ",", "SDep", "*", "PredEdge", ")", "{", "SUnit", "*", "PredSU", "=", "PredEdge", "->", "getSUnit", "(", ")", ";", "if", "(", "PredEdge", "->", "isWeak", "(", ")", ")", "{", "--", "PredSU", "->", "WeakSuccsLeft", ";", "return", ";", "}", "if", "(", "PredSU", "->", "NumSuccsLeft", "==", "0", ")", "{", "dbgs", "(", ")", "<<", "\"*** Scheduling failed! ***\\n\"", ";", "PredSU", "->", "dump", "(", "this", ")", ";", "dbgs", "(", ")", "<<", "\" has been released too many times!\\n\"", ";", "llvm_unreachable", "(", "0", ")", ";", "}", "--", "PredSU", "->", "NumSuccsLeft", ";", "if", "(", "PredSU", "->", "NumSuccsLeft", "==", "0", "&&", "PredSU", "!=", "&", "EntrySU", ")", "SchedImpl", "->", "releaseBottomNode", "(", "PredSU", ")", ";", "}", ""], "natrual_language": ["ReleasePred", "-", "Decrement", "the", "NumSuccsLeft", "count", "of", "a", "predecessor", "."], "TS_V_token": ["Patmos", "0", "\"*** Scheduling failed! ***\\n\"", "\" has been released too many times!\\n\"", "0", "0"], "File": "PatmosPostRAScheduler", "Func": "releasePred", "Target": "Patmos", "Target_Clf": "VLIW", "Compiler_Type": "LLVM", "Idx": 4020, "Length": 101, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "rtx", "alpha_need_linkage", "(", "const", "char", "*", "name", "ATTRIBUTE_UNUSED", ",", "int", "is_local", "ATTRIBUTE_UNUSED", ")", "{", "return", "NULL_RTX", ";", "}", ""], "natrual_language": ["Make", "(", "or", "fake", ")", ".linkage", "entry", "for", "function", "call", ".", "IS_LOCAL", "is", "0", "if", "name", "is", "used", "in", "call", ",", "1", "if", "name", "is", "used", "in", "definition", ".", "Return", "an", "SYMBOL_REF", "rtx", "for", "the", "linkage", "."], "TS_V_token": ["alpha"], "File": "alpha3", "Func": "alpha_need_linkage", "Target": "alpha", "Target_Clf": "MPU", "Compiler_Type": "GCC", "Idx": 4021, "Length": 18, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "unsigned", "getExceptionSelectorRegister", "(", "const", "Constant", "*", "PersonalityFn", ")", "const", "override", "{", "return", "XCore", "::", "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": ["XCore", "XCore::R1"], "File": "XCoreISelLowering (2)1", "Func": "getExceptionSelectorRegister", "Target": "XCore", "Target_Clf": "MPU", "Compiler_Type": "LLVM", "Idx": 4022, "Length": 17, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "const", "char", "*", "AMDGPUTargetLowering", "::", "getTargetNodeName", "(", "unsigned", "Opcode", ")", "const", "{", "switch", "(", "Opcode", ")", "{", "default", ":", "return", "nullptr", ";", "NODE_NAME_CASE", "(", "CALL", ")", ";", "NODE_NAME_CASE", "(", "UMUL", ")", ";", "NODE_NAME_CASE", "(", "DIV_INF", ")", ";", "NODE_NAME_CASE", "(", "RET_FLAG", ")", ";", "NODE_NAME_CASE", "(", "BRANCH_COND", ")", ";", "NODE_NAME_CASE", "(", "DWORDADDR", ")", "NODE_NAME_CASE", "(", "FRACT", ")", "NODE_NAME_CASE", "(", "FMAX", ")", "NODE_NAME_CASE", "(", "SMAX", ")", "NODE_NAME_CASE", "(", "UMAX", ")", "NODE_NAME_CASE", "(", "FMIN", ")", "NODE_NAME_CASE", "(", "SMIN", ")", "NODE_NAME_CASE", "(", "UMIN", ")", "NODE_NAME_CASE", "(", "BFE_U32", ")", "NODE_NAME_CASE", "(", "BFE_I32", ")", "NODE_NAME_CASE", "(", "BFI", ")", "NODE_NAME_CASE", "(", "BFM", ")", "NODE_NAME_CASE", "(", "MUL_U24", ")", "NODE_NAME_CASE", "(", "MUL_I24", ")", "NODE_NAME_CASE", "(", "MAD_U24", ")", "NODE_NAME_CASE", "(", "MAD_I24", ")", "NODE_NAME_CASE", "(", "URECIP", ")", "NODE_NAME_CASE", "(", "DOT4", ")", "NODE_NAME_CASE", "(", "EXPORT", ")", "NODE_NAME_CASE", "(", "CONST_ADDRESS", ")", "NODE_NAME_CASE", "(", "REGISTER_LOAD", ")", "NODE_NAME_CASE", "(", "REGISTER_STORE", ")", "NODE_NAME_CASE", "(", "LOAD_CONSTANT", ")", "NODE_NAME_CASE", "(", "LOAD_INPUT", ")", "NODE_NAME_CASE", "(", "SAMPLE", ")", "NODE_NAME_CASE", "(", "SAMPLEB", ")", "NODE_NAME_CASE", "(", "SAMPLED", ")", "NODE_NAME_CASE", "(", "SAMPLEL", ")", "NODE_NAME_CASE", "(", "STORE_MSKOR", ")", "NODE_NAME_CASE", "(", "TBUFFER_STORE_FORMAT", ")", "}", "}", ""], "natrual_language": ["getTargetNodeName", "-", "This", "method", "returns", "the", "name", "of", "a", "target", "specific"], "TS_V_token": ["R600"], "File": "AMDGPUISelLowering67", "Func": "getTargetNodeName", "Target": "R600", "Target_Clf": "GPU", "Compiler_Type": "LLVM", "Idx": 4023, "Length": 169, "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": 4024, "Length": 163, "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": 4025, "Length": 414, "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": 4026, "Length": 145, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "void", "getAnalysisUsage", "(", "AnalysisUsage", "&", "AU", ")", "const", "override", "{", "}", ""], "natrual_language": ["getAnalysisUsage", "-", "Subclasses", "that", "override", "getAnalysisUsage", "must", "call", "this", "."], "TS_V_token": ["TVM"], "File": "TVMDefineUndef", "Func": "getAnalysisUsage", "Target": "TVM", "Target_Clf": "Virtual ISA", "Compiler_Type": "LLVM", "Idx": 4027, "Length": 11, "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": 4028, "Length": 157, "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": 4029, "Length": 61, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "static", "void", "handle_flags_for_move", "(", "rtx", "*", "operands", ")", "{", "flags_compare_op0", "=", "flags_compare_op1", "=", "NULL_RTX", ";", "if", "(", "!", "ADDRESS_REG_P", "(", "operands", "[", "0", "]", ")", ")", "{", "flags_valid", "=", "FLAGS_VALID_MOVE", ";", "flags_operand1", "=", "side_effects_p", "(", "operands", "[", "0", "]", ")", "?", "NULL_RTX", ":", "operands", "[", "0", "]", ";", "if", "(", "side_effects_p", "(", "operands", "[", "1", "]", ")", "||", "modified_in_p", "(", "operands", "[", "1", "]", ",", "current_output_insn", ")", ")", "flags_operand2", "=", "NULL_RTX", ";", "else", "flags_operand2", "=", "operands", "[", "1", "]", ";", "return", ";", "}", "if", "(", "flags_operand1", "!=", "NULL_RTX", "&&", "modified_in_p", "(", "flags_operand1", ",", "current_output_insn", ")", ")", "flags_operand1", "=", "NULL_RTX", ";", "if", "(", "flags_operand2", "!=", "NULL_RTX", "&&", "modified_in_p", "(", "flags_operand2", ",", "current_output_insn", ")", ")", "flags_operand2", "=", "NULL_RTX", ";", "}", ""], "natrual_language": ["Update", "flags", "for", "a", "move", "operation", "with", "OPERANDS", ".", "Called", "for", "move", "operations", "where", "attr_flags_valid", "returns", "``", "set", "''", "."], "TS_V_token": ["m68k", "0", "0", "0", "1", "1", "1"], "File": "m68k", "Func": "handle_flags_for_move", "Target": "m68k", "Target_Clf": "MPU", "Compiler_Type": "GCC", "Idx": 4030, "Length": 118, "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": 4031, "Length": 169, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "bool", "WebAssemblySetP2AlignOperands", "::", "runOnMachineFunction", "(", "MachineFunction", "&", "MF", ")", "{", "DEBUG", "(", "{", "dbgs", "(", ")", "<<", "\"********** Set p2align Operands **********\\n\"", "<<", "\"********** Function: \"", "<<", "MF", ".", "getName", "(", ")", "<<", "'\\n'", ";", "}", ")", ";", "bool", "Changed", "=", "false", ";", "for", "(", "auto", "&", "MBB", ":", "MF", ")", "{", "for", "(", "auto", "&", "MI", ":", "MBB", ")", "{", "switch", "(", "MI", ".", "getOpcode", "(", ")", ")", "{", "case", "WebAssembly", "::", "LOAD_I32", ":", "case", "WebAssembly", "::", "LOAD_I64", ":", "case", "WebAssembly", "::", "LOAD_F32", ":", "case", "WebAssembly", "::", "LOAD_F64", ":", "case", "WebAssembly", "::", "LOAD8_S_I32", ":", "case", "WebAssembly", "::", "LOAD8_U_I32", ":", "case", "WebAssembly", "::", "LOAD16_S_I32", ":", "case", "WebAssembly", "::", "LOAD16_U_I32", ":", "case", "WebAssembly", "::", "LOAD8_S_I64", ":", "case", "WebAssembly", "::", "LOAD8_U_I64", ":", "case", "WebAssembly", "::", "LOAD16_S_I64", ":", "case", "WebAssembly", "::", "LOAD16_U_I64", ":", "case", "WebAssembly", "::", "LOAD32_S_I64", ":", "case", "WebAssembly", "::", "LOAD32_U_I64", ":", "case", "WebAssembly", "::", "ATOMIC_LOAD_I32", ":", "RewriteP2Align", "(", "MI", ",", "WebAssembly", "::", "LoadP2AlignOperandNo", ")", ";", "break", ";", "case", "WebAssembly", "::", "STORE_I32", ":", "case", "WebAssembly", "::", "STORE_I64", ":", "case", "WebAssembly", "::", "STORE_F32", ":", "case", "WebAssembly", "::", "STORE_F64", ":", "case", "WebAssembly", "::", "STORE8_I32", ":", "case", "WebAssembly", "::", "STORE16_I32", ":", "case", "WebAssembly", "::", "STORE8_I64", ":", "case", "WebAssembly", "::", "STORE16_I64", ":", "case", "WebAssembly", "::", "STORE32_I64", ":", "RewriteP2Align", "(", "MI", ",", "WebAssembly", "::", "StoreP2AlignOperandNo", ")", ";", "break", ";", "default", ":", "break", ";", "}", "}", "}", "return", "Changed", ";", "}", ""], "natrual_language": ["runOnMachineFunction", "-", "Emit", "the", "function", "body", "."], "TS_V_token": ["WebAssembly", "WebAssembly", "\"********** Set p2align Operands **********\\n\"", "\"********** Function: \"", "WebAssembly::LOAD_I32", "WebAssembly::LOAD_I64", "WebAssembly::LOAD_F32", "WebAssembly::LOAD_F64", "WebAssembly::LOAD8_S_I32", "WebAssembly::LOAD8_U_I32", "WebAssembly::LOAD16_S_I32", "WebAssembly::LOAD16_U_I32", "WebAssembly::LOAD8_S_I64", "WebAssembly::LOAD8_U_I64", "WebAssembly::LOAD16_S_I64", "WebAssembly::LOAD16_U_I64", "WebAssembly::LOAD32_S_I64", "WebAssembly::LOAD32_U_I64", "WebAssembly::ATOMIC_LOAD_I32", "WebAssembly::LoadP2AlignOperandNo", "WebAssembly::STORE_I32", "WebAssembly::STORE_I64", "WebAssembly::STORE_F32", "WebAssembly::STORE_F64", "WebAssembly::STORE8_I32", "WebAssembly::STORE16_I32", "WebAssembly::STORE8_I64", "WebAssembly::STORE16_I64", "WebAssembly::STORE32_I64", "WebAssembly::StoreP2AlignOperandNo"], "File": "WebAssemblySetP2AlignOperands8", "Func": "runOnMachineFunction", "Target": "WebAssembly", "Target_Clf": "Virtual ISA", "Compiler_Type": "LLVM", "Idx": 4032, "Length": 217, "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": 4033, "Length": 289, "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": 4034, "Length": 293, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "bool", "HexagonPassConfig", "::", "addPreRegAlloc", "(", ")", "{", "if", "(", "getOptLevel", "(", ")", "!=", "CodeGenOpt", "::", "None", ")", "if", "(", "!", "DisableHardwareLoops", ")", "addPass", "(", "createHexagonHardwareLoops", "(", ")", ")", ";", "return", "false", ";", "}", ""], "natrual_language": ["This", "method", "may", "be", "implemented", "by", "targets", "that", "want", "to", "run", "passes", "immediately", "before", "register", "allocation", "."], "TS_V_token": ["Hexagon", "Hexagon", "Hexagon"], "File": "HexagonTargetMachine16", "Func": "addPreRegAlloc", "Target": "Hexagon", "Target_Clf": "DSP", "Compiler_Type": "LLVM", "Idx": 4035, "Length": 33, "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", ")", "{", "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", ":", "return", "ix86_cost", "->", "vec_stmt_cost", "*", "(", "TYPE_VECTOR_SUBPARTS", "(", "vectype", ")", "-", "1", ")", ";", "default", ":", "gcc_unreachable", "(", ")", ";", "}", "}", ""], "natrual_language": ["Implement", "targetm.vectorize.builtin_vectorization_cost", "."], "TS_V_token": ["i386", "1"], "File": "i3866", "Func": "ix86_builtin_vectorization_cost", "Target": "i386", "Target_Clf": "CPU", "Compiler_Type": "GCC", "Idx": 4036, "Length": 146, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "static", "void", "nios2_option_override", "(", "void", ")", "{", "unsigned", "int", "i", ";", "SUBTARGET_OVERRIDE_OPTIONS", ";", "if", "(", "flag_pic", "&&", "!", "TARGET_LINUX_ABI", ")", "sorry", "(", "\"position-independent code requires the Linux ABI\"", ")", ";", "if", "(", "flag_pic", "&&", "stack_limit_rtx", "&&", "GET_CODE", "(", "stack_limit_rtx", ")", "==", "SYMBOL_REF", ")", "sorry", "(", "\"PIC support for %<-fstack-limit-symbol%>\"", ")", ";", "init_machine_status", "=", "&", "nios2_init_machine_status", ";", "nios2_section_threshold", "=", "(", "OPTION_SET_P", "(", "g_switch_value", ")", "?", "g_switch_value", ":", "NIOS2_DEFAULT_GVALUE", ")", ";", "if", "(", "nios2_gpopt_option", "==", "gpopt_unspecified", ")", "{", "if", "(", "flag_pic", ")", "nios2_gpopt_option", "=", "gpopt_none", ";", "else", "nios2_gpopt_option", "=", "gpopt_local", ";", "}", "if", "(", "flag_pic", ")", "{", "if", "(", "nios2_gpopt_option", "!=", "gpopt_none", ")", "error", "(", "\"%<-mgpopt%> not supported with PIC\"", ")", ";", "if", "(", "nios2_gprel_sec", ")", "error", "(", "\"%<-mgprel-sec=%> not supported with PIC\"", ")", ";", "if", "(", "nios2_r0rel_sec", ")", "error", "(", "\"%<-mr0rel-sec=%> not supported with PIC\"", ")", ";", "}", "if", "(", "nios2_gprel_sec", ")", "{", "if", "(", "regcomp", "(", "&", "nios2_gprel_sec_regex", ",", "nios2_gprel_sec", ",", "REG_EXTENDED", "|", "REG_NOSUB", ")", ")", "error", "(", "\"%<-mgprel-sec=%> argument is not a valid regular expression\"", ")", ";", "}", "if", "(", "nios2_r0rel_sec", ")", "{", "if", "(", "regcomp", "(", "&", "nios2_r0rel_sec_regex", ",", "nios2_r0rel_sec", ",", "REG_EXTENDED", "|", "REG_NOSUB", ")", ")", "error", "(", "\"%<-mr0rel-sec=%> argument is not a valid regular expression\"", ")", ";", "}", "if", "(", "!", "TARGET_HAS_MUL", "&&", "TARGET_HAS_MULX", ")", "target_flags", "&=", "~", "MASK_HAS_MULX", ";", "if", "(", "!", "TARGET_ARCH_R2", ")", "{", "if", "(", "TARGET_HAS_BMX", ")", "error", "(", "\"BMX instructions are only supported with R2 architecture\"", ")", ";", "if", "(", "TARGET_HAS_CDX", ")", "error", "(", "\"CDX instructions are only supported with R2 architecture\"", ")", ";", "}", "if", "(", "TARGET_ARCH_R2", "&&", "TARGET_BIG_ENDIAN", ")", "error", "(", "\"R2 architecture is little-endian only\"", ")", ";", "nios2_init_fpu_configs", "(", ")", ";", "if", "(", "nios2_custom_fpu_cfg_string", "&&", "*", "nios2_custom_fpu_cfg_string", ")", "nios2_handle_custom_fpu_cfg", "(", "nios2_custom_fpu_cfg_string", ",", "NULL", ",", "false", ")", ";", "for", "(", "i", "=", "0", ";", "i", "<", "ARRAY_SIZE", "(", "nios2_fpu_insn", ")", ";", "i", "++", ")", "nios2_handle_custom_fpu_insn_option", "(", "i", ")", ";", "nios2_custom_check_insns", "(", ")", ";", "target_option_default_node", "=", "target_option_current_node", "=", "build_target_option_node", "(", "&", "global_options", ",", "&", "global_options_set", ")", ";", "}", ""], "natrual_language": ["Implement", "TARGET_OPTION_OVERRIDE", "."], "TS_V_token": ["nios2", "\"position-independent code requires the Linux ABI\"", "\"PIC support for %<-fstack-limit-symbol%>\"", "\"%<-mgpopt%> not supported with PIC\"", "\"%<-mgprel-sec=%> not supported with PIC\"", "\"%<-mr0rel-sec=%> not supported with PIC\"", "\"%<-mgprel-sec=%> argument is not a valid regular expression\"", "\"%<-mr0rel-sec=%> argument is not a valid regular expression\"", "\"BMX instructions are only supported with R2 architecture\"", "\"CDX instructions are only supported with R2 architecture\"", "\"R2 architecture is little-endian only\"", "0"], "File": "nios2", "Func": "nios2_option_override", "Target": "nios2", "Target_Clf": "MPU", "Compiler_Type": "GCC", "Idx": 4037, "Length": 274, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "StringRef", "getPassName", "(", ")", "const", "override", "{", "return", "\"R600 Control Flow Finalizer Pass\"", ";", "}", ""], "natrual_language": ["getPassName", "-", "Return", "a", "nice", "clean", "name", "for", "a", "pass", "."], "TS_V_token": ["AMDGPU", "\"R600 Control Flow Finalizer Pass\""], "File": "R600ControlFlowFinalizer (2)1", "Func": "getPassName", "Target": "AMDGPU", "Target_Clf": "GPU", "Compiler_Type": "LLVM", "Idx": 4038, "Length": 11, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "TargetLoweringBase", "::", "AtomicRMWExpansionKind", "X86TargetLowering", "::", "shouldExpandAtomicRMWInIR", "(", "AtomicRMWInst", "*", "AI", ")", "const", "{", "unsigned", "NativeWidth", "=", "Subtarget", "->", "is64Bit", "(", ")", "?", "64", ":", "32", ";", "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": "X86ISelLowering173", "Func": "shouldExpandAtomicRMWInIR", "Target": "X86", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 4039, "Length": 168, "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": 4040, "Length": 60, "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": 4041, "Length": 65, "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": 4042, "Length": 197, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "const", "char", "*", "M68kTargetLowering", "::", "getTargetNodeName", "(", "unsigned", "Opcode", ")", "const", "{", "switch", "(", "Opcode", ")", "{", "case", "M68kISD", "::", "CALL", ":", "return", "\"M68kISD::CALL\"", ";", "case", "M68kISD", "::", "TAIL_CALL", ":", "return", "\"M68kISD::TAIL_CALL\"", ";", "case", "M68kISD", "::", "RET", ":", "return", "\"M68kISD::RET\"", ";", "case", "M68kISD", "::", "TC_RETURN", ":", "return", "\"M68kISD::TC_RETURN\"", ";", "case", "M68kISD", "::", "ADD", ":", "return", "\"M68kISD::ADD\"", ";", "case", "M68kISD", "::", "SUB", ":", "return", "\"M68kISD::SUB\"", ";", "case", "M68kISD", "::", "ADDX", ":", "return", "\"M68kISD::ADDX\"", ";", "case", "M68kISD", "::", "SUBX", ":", "return", "\"M68kISD::SUBX\"", ";", "case", "M68kISD", "::", "SMUL", ":", "return", "\"M68kISD::SMUL\"", ";", "case", "M68kISD", "::", "UMUL", ":", "return", "\"M68kISD::UMUL\"", ";", "case", "M68kISD", "::", "OR", ":", "return", "\"M68kISD::OR\"", ";", "case", "M68kISD", "::", "XOR", ":", "return", "\"M68kISD::XOR\"", ";", "case", "M68kISD", "::", "AND", ":", "return", "\"M68kISD::AND\"", ";", "case", "M68kISD", "::", "CMP", ":", "return", "\"M68kISD::CMP\"", ";", "case", "M68kISD", "::", "BT", ":", "return", "\"M68kISD::BT\"", ";", "case", "M68kISD", "::", "SELECT", ":", "return", "\"M68kISD::SELECT\"", ";", "case", "M68kISD", "::", "CMOV", ":", "return", "\"M68kISD::CMOV\"", ";", "case", "M68kISD", "::", "BRCOND", ":", "return", "\"M68kISD::BRCOND\"", ";", "case", "M68kISD", "::", "SETCC", ":", "return", "\"M68kISD::SETCC\"", ";", "case", "M68kISD", "::", "SETCC_CARRY", ":", "return", "\"M68kISD::SETCC_CARRY\"", ";", "case", "M68kISD", "::", "GLOBAL_BASE_REG", ":", "return", "\"M68kISD::GLOBAL_BASE_REG\"", ";", "case", "M68kISD", "::", "Wrapper", ":", "return", "\"M68kISD::Wrapper\"", ";", "case", "M68kISD", "::", "WrapperPC", ":", "return", "\"M68kISD::WrapperPC\"", ";", "case", "M68kISD", "::", "SEG_ALLOCA", ":", "return", "\"M68kISD::SEG_ALLOCA\"", ";", "default", ":", "return", "NULL", ";", "}", "}", ""], "natrual_language": ["getTargetNodeName", "-", "This", "method", "returns", "the", "name", "of", "a", "target", "specific"], "TS_V_token": ["M68k", "M68k", "M68kISD::CALL", "\"M68kISD::CALL\"", "M68kISD::TAIL_CALL", "\"M68kISD::TAIL_CALL\"", "M68kISD::RET", "\"M68kISD::RET\"", "M68kISD::TC_RETURN", "\"M68kISD::TC_RETURN\"", "M68kISD::ADD", "\"M68kISD::ADD\"", "M68kISD::SUB", "\"M68kISD::SUB\"", "M68kISD::ADDX", "\"M68kISD::ADDX\"", "M68kISD::SUBX", "\"M68kISD::SUBX\"", "M68kISD::SMUL", "\"M68kISD::SMUL\"", "M68kISD::UMUL", "\"M68kISD::UMUL\"", "M68kISD::OR", "\"M68kISD::OR\"", "M68kISD::XOR", "\"M68kISD::XOR\"", "M68kISD::AND", "\"M68kISD::AND\"", "M68kISD::CMP", "\"M68kISD::CMP\"", "M68kISD::BT", "\"M68kISD::BT\"", "M68kISD::SELECT", "\"M68kISD::SELECT\"", "M68kISD::CMOV", "\"M68kISD::CMOV\"", "M68kISD::BRCOND", "\"M68kISD::BRCOND\"", "M68kISD::SETCC", "\"M68kISD::SETCC\"", "M68kISD::SETCC_CARRY", "\"M68kISD::SETCC_CARRY\"", "M68kISD::GLOBAL_BASE_REG", "\"M68kISD::GLOBAL_BASE_REG\"", "M68kISD::Wrapper", "\"M68kISD::Wrapper\"", "M68kISD::WrapperPC", "\"M68kISD::WrapperPC\"", "M68kISD::SEG_ALLOCA", "\"M68kISD::SEG_ALLOCA\""], "File": "M68kISelLowering1", "Func": "getTargetNodeName", "Target": "M68k", "Target_Clf": "MPU", "Compiler_Type": "LLVM", "Idx": 4043, "Length": 216, "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": 4044, "Length": 28, "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": 4045, "Length": 22, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "bool", "legitimate_reload_constant_p", "(", "rtx", "op", ")", "{", "if", "(", "GET_CODE", "(", "op", ")", "==", "CONST_INT", "&&", "DISP_IN_RANGE", "(", "INTVAL", "(", "op", ")", ")", ")", "return", "true", ";", "if", "(", "GET_CODE", "(", "op", ")", "==", "CONST_INT", "&&", "(", "CONST_OK_FOR_K", "(", "INTVAL", "(", "op", ")", ")", "||", "CONST_OK_FOR_Os", "(", "INTVAL", "(", "op", ")", ")", ")", ")", "return", "true", ";", "if", "(", "TARGET_ZARCH", "&&", "GET_CODE", "(", "op", ")", "==", "CONST_INT", "&&", "trunc_int_for_mode", "(", "INTVAL", "(", "op", ")", ",", "word_mode", ")", "==", "INTVAL", "(", "op", ")", "&&", "s390_single_part", "(", "op", ",", "word_mode", ",", "HImode", ",", "0", ")", ">=", "0", ")", "return", "true", ";", "if", "(", "TARGET_EXTIMM", "&&", "GET_CODE", "(", "op", ")", "==", "CONST_INT", "&&", "trunc_int_for_mode", "(", "INTVAL", "(", "op", ")", ",", "word_mode", ")", "==", "INTVAL", "(", "op", ")", "&&", "s390_single_part", "(", "op", ",", "word_mode", ",", "SImode", ",", "0", ")", ">=", "0", ")", "return", "true", ";", "if", "(", "larl_operand", "(", "op", ",", "VOIDmode", ")", ")", "return", "true", ";", "if", "(", "GET_CODE", "(", "op", ")", "==", "CONST_DOUBLE", "&&", "s390_float_const_zero_p", "(", "op", ")", "&&", "GET_MODE_SIZE", "(", "GET_MODE", "(", "op", ")", ")", "<=", "UNITS_PER_WORD", ")", "return", "true", ";", "if", "(", "GET_CODE", "(", "op", ")", "==", "CONST_WIDE_INT", "||", "(", "GET_CODE", "(", "op", ")", "==", "CONST_INT", "&&", "trunc_int_for_mode", "(", "INTVAL", "(", "op", ")", ",", "word_mode", ")", "!=", "INTVAL", "(", "op", ")", ")", ")", "{", "machine_mode", "dword_mode", "=", "word_mode", "==", "SImode", "?", "DImode", ":", "TImode", ";", "rtx", "hi", "=", "operand_subword", "(", "op", ",", "0", ",", "0", ",", "dword_mode", ")", ";", "rtx", "lo", "=", "operand_subword", "(", "op", ",", "1", ",", "0", ",", "dword_mode", ")", ";", "return", "legitimate_reload_constant_p", "(", "hi", ")", "&&", "legitimate_reload_constant_p", "(", "lo", ")", ";", "}", "return", "false", ";", "}", ""], "natrual_language": ["Returns", "true", "if", "the", "constant", "value", "OP", "is", "a", "legitimate", "general", "operand", "during", "and", "after", "reload", ".", "The", "difference", "to", "legitimate_constant_p", "is", "that", "this", "function", "will", "not", "accept", "a", "constant", "that", "would", "need", "to", "be", "forced", "to", "the", "literal", "pool", "before", "it", "can", "be", "used", "as", "operand", "."], "TS_V_token": ["s390", "0", "0", "0", "0", "0", "0", "1", "0"], "File": "s390", "Func": "legitimate_reload_constant_p", "Target": "s390", "Target_Clf": "MPU", "Compiler_Type": "GCC", "Idx": 4046, "Length": 269, "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": 4047, "Length": 110, "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": 4048, "Length": 44, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "bool", "TVMPrepareForLiveIntervals", "::", "runOnMachineFunction", "(", "MachineFunction", "&", "MF", ")", "{", "LLVM_DEBUG", "(", "{", "dbgs", "(", ")", "<<", "\"********** Prepare For LiveIntervals **********\\n\"", "<<", "\"********** Function: \"", "<<", "MF", ".", "getName", "(", ")", "<<", "'\\n'", ";", "}", ")", ";", "bool", "Changed", "=", "false", ";", "MachineRegisterInfo", "&", "MRI", "=", "MF", ".", "getRegInfo", "(", ")", ";", "MachineBasicBlock", "&", "Entry", "=", "*", "MF", ".", "begin", "(", ")", ";", "assert", "(", "!", "mustPreserveAnalysisID", "(", "LiveIntervalsID", ")", "&&", "\"LiveIntervals shouldn't be active yet!\"", ")", ";", "MRI", ".", "leaveSSA", "(", ")", ";", "for", "(", "auto", "MII", "=", "Entry", ".", "begin", "(", ")", ",", "MIE", "=", "Entry", ".", "end", "(", ")", ";", "MII", "!=", "MIE", ";", ")", "{", "MachineInstr", "&", "MI", "=", "*", "MII", "++", ";", "if", "(", "TVM", "::", "isArgument", "(", "MI", ")", ")", "{", "MI", ".", "removeFromParent", "(", ")", ";", "Entry", ".", "insert", "(", "Entry", ".", "begin", "(", ")", ",", "&", "MI", ")", ";", "}", "}", "MF", ".", "getProperties", "(", ")", ".", "set", "(", "MachineFunctionProperties", "::", "Property", "::", "TracksLiveness", ")", ";", "return", "Changed", ";", "}", ""], "natrual_language": ["runOnMachineFunction", "-", "Emit", "the", "function", "body", "."], "TS_V_token": ["TVM", "TVM", "\"********** Prepare For LiveIntervals **********\\n\"", "\"********** Function: \"", "\"LiveIntervals shouldn't be active yet!\"", "TVM::isArgument"], "File": "TVMPrepareForLiveIntervals", "Func": "runOnMachineFunction", "Target": "TVM", "Target_Clf": "Virtual ISA", "Compiler_Type": "LLVM", "Idx": 4049, "Length": 159, "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": 4050, "Length": 245, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "static", "bool", "avr_addr_space_legitimate_address_p", "(", "machine_mode", "mode", ",", "rtx", "x", ",", "bool", "strict", ",", "addr_space_t", "as", ")", "{", "bool", "ok", "=", "false", ";", "switch", "(", "as", ")", "{", "default", ":", "gcc_unreachable", "(", ")", ";", "case", "ADDR_SPACE_GENERIC", ":", "return", "avr_legitimate_address_p", "(", "mode", ",", "x", ",", "strict", ")", ";", "case", "ADDR_SPACE_FLASH", ":", "case", "ADDR_SPACE_FLASH1", ":", "case", "ADDR_SPACE_FLASH2", ":", "case", "ADDR_SPACE_FLASH3", ":", "case", "ADDR_SPACE_FLASH4", ":", "case", "ADDR_SPACE_FLASH5", ":", "switch", "(", "GET_CODE", "(", "x", ")", ")", "{", "case", "REG", ":", "ok", "=", "avr_reg_ok_for_pgm_addr", "(", "x", ",", "strict", ")", ";", "break", ";", "case", "POST_INC", ":", "ok", "=", "avr_reg_ok_for_pgm_addr", "(", "XEXP", "(", "x", ",", "0", ")", ",", "strict", ")", ";", "break", ";", "default", ":", "break", ";", "}", "break", ";", "case", "ADDR_SPACE_MEMX", ":", "if", "(", "REG_P", "(", "x", ")", ")", "ok", "=", "(", "!", "strict", "&&", "can_create_pseudo_p", "(", ")", ")", ";", "if", "(", "LO_SUM", "==", "GET_CODE", "(", "x", ")", ")", "{", "rtx", "hi", "=", "XEXP", "(", "x", ",", "0", ")", ";", "rtx", "lo", "=", "XEXP", "(", "x", ",", "1", ")", ";", "ok", "=", "(", "REG_P", "(", "hi", ")", "&&", "(", "!", "strict", "||", "REGNO", "(", "hi", ")", "<", "FIRST_PSEUDO_REGISTER", ")", "&&", "REG_P", "(", "lo", ")", "&&", "REGNO", "(", "lo", ")", "==", "REG_Z", ")", ";", "}", "break", ";", "}", "if", "(", "avr_log", ".", "legitimate_address_p", ")", "{", "avr_edump", "(", "\"\\n%?: ret=%b, mode=%m strict=%d \"", "\"reload_completed=%d reload_in_progress=%d %s:\"", ",", "ok", ",", "mode", ",", "strict", ",", "reload_completed", ",", "reload_in_progress", ",", "reg_renumber", "?", "\"(reg_renumber)\"", ":", "\"\"", ")", ";", "if", "(", "GET_CODE", "(", "x", ")", "==", "PLUS", "&&", "REG_P", "(", "XEXP", "(", "x", ",", "0", ")", ")", "&&", "CONST_INT_P", "(", "XEXP", "(", "x", ",", "1", ")", ")", "&&", "IN_RANGE", "(", "INTVAL", "(", "XEXP", "(", "x", ",", "1", ")", ")", ",", "0", ",", "MAX_LD_OFFSET", "(", "mode", ")", ")", "&&", "reg_renumber", ")", "{", "avr_edump", "(", "\"(r%d ---> r%d)\"", ",", "REGNO", "(", "XEXP", "(", "x", ",", "0", ")", ")", ",", "true_regnum", "(", "XEXP", "(", "x", ",", "0", ")", ")", ")", ";", "}", "avr_edump", "(", "\"\\n%r\\n\"", ",", "x", ")", ";", "}", "return", "ok", ";", "}", ""], "natrual_language": ["Implement", "`", "TARGET_ADDR_SPACE_LEGITIMATE_ADDRESS_P", "'", "."], "TS_V_token": ["avr", "0", "0", "1", "\"\\n%?: ret=%b, mode=%m strict=%d \"", "\"reload_completed=%d reload_in_progress=%d %s:\"", "\"(reg_renumber)\"", "\"\"", "0", "1", "1", "0", "\"(r%d ---> r%d)\"", "0", "0", "\"\\n%r\\n\""], "File": "avr", "Func": "avr_addr_space_legitimate_address_p", "Target": "avr", "Target_Clf": "MPU", "Compiler_Type": "GCC", "Idx": 4051, "Length": 319, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "SDValue", "AMDGPUTargetLowering", "::", "LowerCall", "(", "CallLoweringInfo", "&", "CLI", ",", "SmallVectorImpl", "<", "SDValue", ">", "&", "InVals", ")", "const", "{", "SDValue", "Callee", "=", "CLI", ".", "Callee", ";", "SelectionDAG", "&", "DAG", "=", "CLI", ".", "DAG", ";", "const", "Function", "&", "Fn", "=", "*", "DAG", ".", "getMachineFunction", "(", ")", ".", "getFunction", "(", ")", ";", "StringRef", "FuncName", "(", "\"\"", ")", ";", "if", "(", "const", "ExternalSymbolSDNode", "*", "G", "=", "dyn_cast", "<", "ExternalSymbolSDNode", ">", "(", "Callee", ")", ")", "FuncName", "=", "G", "->", "getSymbol", "(", ")", ";", "else", "if", "(", "const", "GlobalAddressSDNode", "*", "G", "=", "dyn_cast", "<", "GlobalAddressSDNode", ">", "(", "Callee", ")", ")", "FuncName", "=", "G", "->", "getGlobal", "(", ")", "->", "getName", "(", ")", ";", "DiagnosticInfoUnsupported", "NoCalls", "(", "Fn", ",", "\"call to function \"", "+", "FuncName", ")", ";", "DAG", ".", "getContext", "(", ")", "->", "diagnose", "(", "NoCalls", ")", ";", "return", "SDValue", "(", ")", ";", "}", ""], "natrual_language": ["This", "hook", "must", "be", "implemented", "to", "lower", "calls", "into", "the", "specified", "DAG", "."], "TS_V_token": ["R600", "\"\"", "\"call to function \""], "File": "AMDGPUISelLowering100", "Func": "LowerCall", "Target": "R600", "Target_Clf": "GPU", "Compiler_Type": "LLVM", "Idx": 4052, "Length": 133, "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": 4053, "Length": 134, "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": ["R600"], "File": "AMDGPUTargetMachine20", "Func": "getInstrItineraryData", "Target": "R600", "Target_Clf": "GPU", "Compiler_Type": "LLVM", "Idx": 4054, "Length": 13, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "void", "NodeAllocator", "::", "startNewBlock", "(", ")", "{", "void", "*", "T", "=", "MemPool", ".", "Allocate", "(", "NodesPerBlock", "*", "NodeMemSize", ",", "NodeMemSize", ")", ";", "char", "*", "P", "=", "static_cast", "<", "char", "*", ">", "(", "T", ")", ";", "Blocks", ".", "push_back", "(", "P", ")", ";", "assert", "(", "(", "Blocks", ".", "size", "(", ")", "<", "(", "1U", "<<", "(", "8", "*", "sizeof", "(", "NodeId", ")", "-", "BitsPerIndex", ")", ")", ")", "&&", "\"Out of bits for block index\"", ")", ";", "ActiveEnd", "=", "P", ";", "}", ""], "natrual_language": ["Set", "the", "current", "block", "to", "which", "generated", "machine", "instructions", "will", "be", "appended", "."], "TS_V_token": ["Hexagon", "1U", "8", "\"Out of bits for block index\""], "File": "RDFGraph13", "Func": "startNewBlock", "Target": "Hexagon", "Target_Clf": "DSP", "Compiler_Type": "LLVM", "Idx": 4055, "Length": 75, "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": 4056, "Length": 115, "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": 4057, "Length": 105, "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": 4058, "Length": 155, "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": ["TL45"], "File": "TL45RegisterInfo", "Func": "requiresFrameIndexScavenging", "Target": "TL45", "Target_Clf": "MPU", "Compiler_Type": "LLVM", "Idx": 4059, "Length": 15, "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": 4060, "Length": 19, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "bool", "SIInstrInfo", "::", "areMemAccessesTriviallyDisjoint", "(", "const", "MachineInstr", "&", "MIa", ",", "const", "MachineInstr", "&", "MIb", ",", "AliasAnalysis", "*", "AA", ")", "const", "{", "assert", "(", "(", "MIa", ".", "mayLoad", "(", ")", "||", "MIa", ".", "mayStore", "(", ")", ")", "&&", "\"MIa must load from or modify a memory location\"", ")", ";", "assert", "(", "(", "MIb", ".", "mayLoad", "(", ")", "||", "MIb", ".", "mayStore", "(", ")", ")", "&&", "\"MIb must load from or modify a memory location\"", ")", ";", "if", "(", "MIa", ".", "hasUnmodeledSideEffects", "(", ")", "||", "MIb", ".", "hasUnmodeledSideEffects", "(", ")", ")", "return", "false", ";", "if", "(", "MIa", ".", "hasOrderedMemoryRef", "(", ")", "||", "MIb", ".", "hasOrderedMemoryRef", "(", ")", ")", "return", "false", ";", "if", "(", "isDS", "(", "MIa", ")", ")", "{", "if", "(", "isDS", "(", "MIb", ")", ")", "return", "checkInstOffsetsDoNotOverlap", "(", "MIa", ",", "MIb", ")", ";", "return", "!", "isFLAT", "(", "MIb", ")", "||", "isSegmentSpecificFLAT", "(", "MIb", ")", ";", "}", "if", "(", "isMUBUF", "(", "MIa", ")", "||", "isMTBUF", "(", "MIa", ")", ")", "{", "if", "(", "isMUBUF", "(", "MIb", ")", "||", "isMTBUF", "(", "MIb", ")", ")", "return", "checkInstOffsetsDoNotOverlap", "(", "MIa", ",", "MIb", ")", ";", "return", "!", "isFLAT", "(", "MIb", ")", "&&", "!", "isSMRD", "(", "MIb", ")", ";", "}", "if", "(", "isSMRD", "(", "MIa", ")", ")", "{", "if", "(", "isSMRD", "(", "MIb", ")", ")", "return", "checkInstOffsetsDoNotOverlap", "(", "MIa", ",", "MIb", ")", ";", "return", "!", "isFLAT", "(", "MIb", ")", "&&", "!", "isMUBUF", "(", "MIa", ")", "&&", "!", "isMTBUF", "(", "MIa", ")", ";", "}", "if", "(", "isFLAT", "(", "MIa", ")", ")", "{", "if", "(", "isFLAT", "(", "MIb", ")", ")", "return", "checkInstOffsetsDoNotOverlap", "(", "MIa", ",", "MIb", ")", ";", "return", "false", ";", "}", "return", "false", ";", "}", ""], "natrual_language": ["Sometimes", ",", "it", "is", "possible", "for", "the", "target", "to", "tell", ",", "even", "without", "aliasing", "information", ",", "that", "two", "MIs", "access", "different", "memory", "addresses", "."], "TS_V_token": ["AMDGPU", "SI", "\"MIa must load from or modify a memory location\"", "\"MIb must load from or modify a memory location\""], "File": "SIInstrInfo110", "Func": "areMemAccessesTriviallyDisjoint", "Target": "AMDGPU", "Target_Clf": "GPU", "Compiler_Type": "LLVM", "Idx": 4061, "Length": 250, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "AArch64TargetLowering", "::", "ConstraintType", "AArch64TargetLowering", "::", "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": ["AArch64", "AArch64", "AArch64", "1", "0"], "File": "AArch64ISelLowering116", "Func": "getConstraintType", "Target": "AArch64", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 4062, "Length": 71, "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": 4063, "Length": 29, "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": 4064, "Length": 83, "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": 4065, "Length": 75, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "static", "bool", "tilepro_function_ok_for_sibcall", "(", "tree", "decl", ",", "tree", "exp", "ATTRIBUTE_UNUSED", ")", "{", "return", "decl", "!=", "NULL", ";", "}", ""], "natrual_language": ["Implement", "TARGET_FUNCTION_OK_FOR_SIBCALL", "."], "TS_V_token": ["tilepro"], "File": "tilepro", "Func": "tilepro_function_ok_for_sibcall", "Target": "tilepro", "Target_Clf": "VLIW", "Compiler_Type": "GCC", "Idx": 4066, "Length": 18, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "BitVector", "R600RegisterInfo", "::", "getReservedRegs", "(", "const", "MachineFunction", "&", "MF", ")", "const", "{", "BitVector", "Reserved", "(", "getNumRegs", "(", ")", ")", ";", "const", "R600Subtarget", "&", "ST", "=", "MF", ".", "getSubtarget", "<", "R600Subtarget", ">", "(", ")", ";", "const", "R600InstrInfo", "*", "TII", "=", "ST", ".", "getInstrInfo", "(", ")", ";", "reserveRegisterTuples", "(", "Reserved", ",", "R600", "::", "ZERO", ")", ";", "reserveRegisterTuples", "(", "Reserved", ",", "R600", "::", "HALF", ")", ";", "reserveRegisterTuples", "(", "Reserved", ",", "R600", "::", "ONE", ")", ";", "reserveRegisterTuples", "(", "Reserved", ",", "R600", "::", "ONE_INT", ")", ";", "reserveRegisterTuples", "(", "Reserved", ",", "R600", "::", "NEG_HALF", ")", ";", "reserveRegisterTuples", "(", "Reserved", ",", "R600", "::", "NEG_ONE", ")", ";", "reserveRegisterTuples", "(", "Reserved", ",", "R600", "::", "PV_X", ")", ";", "reserveRegisterTuples", "(", "Reserved", ",", "R600", "::", "ALU_LITERAL_X", ")", ";", "reserveRegisterTuples", "(", "Reserved", ",", "R600", "::", "ALU_CONST", ")", ";", "reserveRegisterTuples", "(", "Reserved", ",", "R600", "::", "PREDICATE_BIT", ")", ";", "reserveRegisterTuples", "(", "Reserved", ",", "R600", "::", "PRED_SEL_OFF", ")", ";", "reserveRegisterTuples", "(", "Reserved", ",", "R600", "::", "PRED_SEL_ZERO", ")", ";", "reserveRegisterTuples", "(", "Reserved", ",", "R600", "::", "PRED_SEL_ONE", ")", ";", "reserveRegisterTuples", "(", "Reserved", ",", "R600", "::", "INDIRECT_BASE_ADDR", ")", ";", "for", "(", "MCPhysReg", "R", ":", "R600", "::", "R600_AddrRegClass", ")", "reserveRegisterTuples", "(", "Reserved", ",", "R", ")", ";", "TII", "->", "reserveIndirectRegisters", "(", "Reserved", ",", "MF", ",", "*", "this", ")", ";", "return", "Reserved", ";", "}", ""], "natrual_language": ["getReservedRegs", "-", "Returns", "a", "bitset", "indexed", "by", "physical", "register", "number", "indicating", "if", "a", "register", "is", "a", "special", "register", "that", "has", "particular", "uses", "and", "should", "be", "considered", "unavailable", "at", "all", "times", ",", "e.g", "."], "TS_V_token": ["AMDGPU", "R600", "R600", "R600", "R600", "R600::ZERO", "R600::HALF", "R600::ONE", "R600::ONE_INT", "R600::NEG_HALF", "R600::NEG_ONE", "R600::PV_X", "R600::ALU_LITERAL_X", "R600::ALU_CONST", "R600::PREDICATE_BIT", "R600::PRED_SEL_OFF", "R600::PRED_SEL_ZERO", "R600::PRED_SEL_ONE", "R600::INDIRECT_BASE_ADDR", "R600::R600_AddrRegClass"], "File": "R600RegisterInfo12", "Func": "getReservedRegs", "Target": "AMDGPU", "Target_Clf": "GPU", "Compiler_Type": "LLVM", "Idx": 4067, "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", "{", "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": 4068, "Length": 160, "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": 4069, "Length": 337, "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": 4070, "Length": 387, "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": 4071, "Length": 404, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "void", "WebAssemblyTargetObjectFile", "::", "Initialize", "(", "MCContext", "&", "Ctx", ",", "const", "TargetMachine", "&", "TM", ")", "{", "TargetLoweringObjectFileWasm", "::", "Initialize", "(", "Ctx", ",", "TM", ")", ";", "InitializeWasm", "(", ")", ";", "}", ""], "natrual_language": ["This", "method", "must", "be", "called", "before", "any", "actual", "lowering", "is", "done", "."], "TS_V_token": ["WebAssembly", "WebAssembly"], "File": "WebAssemblyTargetObjectFile", "Func": "Initialize", "Target": "WebAssembly", "Target_Clf": "Virtual ISA", "Compiler_Type": "LLVM", "Idx": 4072, "Length": 29, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "unsigned", "getError", "(", ")", "{", "getErrInfo", "(", ")", ";", "return", "CrntErrInfo", ".", "s", ".", "Error", ";", "}", ""], "natrual_language": ["Get", "the", "current", "error", "."], "TS_V_token": ["Hexagon"], "File": "HexagonMCChecker1", "Func": "getError", "Target": "Hexagon", "Target_Clf": "DSP", "Compiler_Type": "LLVM", "Idx": 4073, "Length": 17, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "const", "char", "*", "output_reload_inhi", "(", "rtx", "insn", "ATTRIBUTE_UNUSED", ",", "rtx", "*", "operands", ",", "int", "*", "len", ")", "{", "int", "tmp", ";", "if", "(", "!", "len", ")", "len", "=", "&", "tmp", ";", "if", "(", "GET_CODE", "(", "operands", "[", "1", "]", ")", "==", "CONST_INT", ")", "{", "int", "val", "=", "INTVAL", "(", "operands", "[", "1", "]", ")", ";", "if", "(", "(", "val", "&", "0xff", ")", "==", "0", ")", "{", "*", "len", "=", "3", ";", "return", "(", "AS2", "(", "mov", ",", "%", "A0", ",", "__zero_reg__", ")", "CR_TAB", "AS2", "(", "ldi", ",", "%", "2", ",", "hi8", "(", "%", "1", ")", ")", "CR_TAB", "AS2", "(", "mov", ",", "%", "B0", ",", "%", "2", ")", ")", ";", "}", "else", "if", "(", "(", "val", "&", "0xff00", ")", "==", "0", ")", "{", "*", "len", "=", "3", ";", "return", "(", "AS2", "(", "ldi", ",", "%", "2", ",", "lo8", "(", "%", "1", ")", ")", "CR_TAB", "AS2", "(", "mov", ",", "%", "A0", ",", "%", "2", ")", "CR_TAB", "AS2", "(", "mov", ",", "%", "B0", ",", "__zero_reg__", ")", ")", ";", "}", "else", "if", "(", "(", "val", "&", "0xff", ")", "==", "(", "(", "val", "&", "0xff00", ")", ">>", "8", ")", ")", "{", "*", "len", "=", "3", ";", "return", "(", "AS2", "(", "ldi", ",", "%", "2", ",", "lo8", "(", "%", "1", ")", ")", "CR_TAB", "AS2", "(", "mov", ",", "%", "A0", ",", "%", "2", ")", "CR_TAB", "AS2", "(", "mov", ",", "%", "B0", ",", "%", "2", ")", ")", ";", "}", "}", "*", "len", "=", "4", ";", "return", "(", "AS2", "(", "ldi", ",", "%", "2", ",", "lo8", "(", "%", "1", ")", ")", "CR_TAB", "AS2", "(", "mov", ",", "%", "A0", ",", "%", "2", ")", "CR_TAB", "AS2", "(", "ldi", ",", "%", "2", ",", "hi8", "(", "%", "1", ")", ")", "CR_TAB", "AS2", "(", "mov", ",", "%", "B0", ",", "%", "2", ")", ")", ";", "}", ""], "natrual_language": ["Reload", "the", "constant", "OP", "[", "1", "]", "into", "the", "HI", "register", "OP", "[", "0", "]", ".", "CLOBBER_REG", "is", "a", "QI", "clobber", "reg", "needed", "to", "move", "vast", "majority", "of", "consts", "into", "a", "NO_LD_REGS", "register", ".", "If", "CLOBBER_REG", "is", "NULL_RTX", "we", "either", "do", "n't", "need", "a", "clobber", "reg", "or", "have", "to", "cook", "one", "up", ".", "PLEN", "==", "NULL", ":", "Output", "instructions", ".", "PLEN", "!", "=", "NULL", ":", "Output", "nothing", ".", "Set", "*", "PLEN", "to", "number", "of", "words", "occupied", "by", "the", "insns", "printed", ".", "Return", "``", "''", "."], "TS_V_token": ["avr", "1", "1", "0xff", "0", "3", "2", "1", "2", "0xff00", "0", "3", "2", "1", "2", "0xff", "0xff00", "8", "3", "2", "1", "2", "2", "4", "2", "1", "2", "2", "1", "2"], "File": "avr3", "Func": "output_reload_inhi", "Target": "avr", "Target_Clf": "MPU", "Compiler_Type": "GCC", "Idx": 4074, "Length": 291, "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": 4075, "Length": 181, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "StringRef", "getPassName", "(", ")", "const", "override", "{", "return", "\"Patmos Single-Path Reducer\"", ";", "}", ""], "natrual_language": ["getPassName", "-", "Return", "a", "nice", "clean", "name", "for", "a", "pass", "."], "TS_V_token": ["Patmos", "\"Patmos Single-Path Reducer\""], "File": "PatmosSPReduce1", "Func": "getPassName", "Target": "Patmos", "Target_Clf": "VLIW", "Compiler_Type": "LLVM", "Idx": 4076, "Length": 11, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "static", "rtx", "arc_rewrite_small_data_1", "(", "rtx", "op", ")", "{", "rtx", "rgp", "=", "gen_rtx_REG", "(", "Pmode", ",", "SDATA_BASE_REGNUM", ")", ";", "op", "=", "copy_insn", "(", "op", ")", ";", "subrtx_ptr_iterator", "::", "array_type", "array", ";", "FOR_EACH_SUBRTX_PTR", "(", "iter", ",", "array", ",", "&", "op", ",", "ALL", ")", "{", "rtx", "*", "loc", "=", "*", "iter", ";", "if", "(", "arc_rewrite_small_data_p", "(", "*", "loc", ")", ")", "{", "*", "loc", "=", "gen_rtx_PLUS", "(", "Pmode", ",", "rgp", ",", "*", "loc", ")", ";", "iter", ".", "skip_subrtxes", "(", ")", ";", "}", "else", "if", "(", "GET_CODE", "(", "*", "loc", ")", "==", "PLUS", "&&", "rtx_equal_p", "(", "XEXP", "(", "*", "loc", ",", "0", ")", ",", "rgp", ")", ")", "iter", ".", "skip_subrtxes", "(", ")", ";", "}", "return", "op", ";", "}", ""], "natrual_language": ["If", "possible", ",", "rewrite", "OP", "so", "that", "it", "refers", "to", "small", "data", "using", "explicit", "relocations", "."], "TS_V_token": ["arc", "0"], "File": "arc7", "Func": "arc_rewrite_small_data_1", "Target": "arc", "Target_Clf": "MPU", "Compiler_Type": "GCC", "Idx": 4077, "Length": 113, "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": 4078, "Length": 26, "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": 4079, "Length": 52, "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": 4080, "Length": 130, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "Instruction", "*", "BPFCoreSharedInfo", "::", "insertPassThrough", "(", "Module", "*", "M", ",", "BasicBlock", "*", "BB", ",", "Instruction", "*", "Input", ",", "Instruction", "*", "Before", ")", "{", "Function", "*", "Fn", "=", "Intrinsic", "::", "getDeclaration", "(", "M", ",", "Intrinsic", "::", "bpf_passthrough", ",", "{", "Input", "->", "getType", "(", ")", ",", "Input", "->", "getType", "(", ")", "}", ")", ";", "Constant", "*", "SeqNumVal", "=", "ConstantInt", "::", "get", "(", "Type", "::", "getInt32Ty", "(", "BB", "->", "getContext", "(", ")", ")", ",", "BPFCoreSharedInfo", "::", "SeqNum", "++", ")", ";", "auto", "*", "NewInst", "=", "CallInst", "::", "Create", "(", "Fn", ",", "{", "SeqNumVal", ",", "Input", "}", ")", ";", "BB", "->", "getInstList", "(", ")", ".", "insert", "(", "Before", "->", "getIterator", "(", ")", ",", "NewInst", ")", ";", "return", "NewInst", ";", "}", ""], "natrual_language": ["Insert", "a", "bpf", "passthrough", "builtin", "function", "."], "TS_V_token": ["BPF", "BPFCoreSharedInfo::insertPassThrough", "Intrinsic::getDeclaration", "Intrinsic::bpf_passthrough", "BPFCoreSharedInfo::SeqNum"], "File": "BPFAbstractMemberAccess1", "Func": "insertPassThrough", "Target": "BPF", "Target_Clf": "Virtual ISA", "Compiler_Type": "LLVM", "Idx": 4081, "Length": 115, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "void", "SIFrameLowering", "::", "processFunctionBeforeFrameFinalized", "(", "MachineFunction", "&", "MF", ",", "RegScavenger", "*", "RS", ")", "const", "{", "MachineFrameInfo", "&", "MFI", "=", "MF", ".", "getFrameInfo", "(", ")", ";", "const", "GCNSubtarget", "&", "ST", "=", "MF", ".", "getSubtarget", "<", "GCNSubtarget", ">", "(", ")", ";", "const", "SIInstrInfo", "*", "TII", "=", "ST", ".", "getInstrInfo", "(", ")", ";", "const", "SIRegisterInfo", "*", "TRI", "=", "ST", ".", "getRegisterInfo", "(", ")", ";", "MachineRegisterInfo", "&", "MRI", "=", "MF", ".", "getRegInfo", "(", ")", ";", "SIMachineFunctionInfo", "*", "FuncInfo", "=", "MF", ".", "getInfo", "<", "SIMachineFunctionInfo", ">", "(", ")", ";", "const", "bool", "SpillVGPRToAGPR", "=", "ST", ".", "hasMAIInsts", "(", ")", "&&", "FuncInfo", "->", "hasSpilledVGPRs", "(", ")", "&&", "EnableSpillVGPRToAGPR", ";", "if", "(", "SpillVGPRToAGPR", ")", "{", "BitVector", "SpillFIs", "(", "MFI", ".", "getObjectIndexEnd", "(", ")", ",", "false", ")", ";", "bool", "SeenDbgInstr", "=", "false", ";", "for", "(", "MachineBasicBlock", "&", "MBB", ":", "MF", ")", "{", "for", "(", "MachineInstr", "&", "MI", ":", "llvm", "::", "make_early_inc_range", "(", "MBB", ")", ")", "{", "if", "(", "MI", ".", "isDebugInstr", "(", ")", ")", "SeenDbgInstr", "=", "true", ";", "if", "(", "TII", "->", "isVGPRSpill", "(", "MI", ")", ")", "{", "unsigned", "FIOp", "=", "AMDGPU", "::", "getNamedOperandIdx", "(", "MI", ".", "getOpcode", "(", ")", ",", "AMDGPU", "::", "OpName", "::", "vaddr", ")", ";", "int", "FI", "=", "MI", ".", "getOperand", "(", "FIOp", ")", ".", "getIndex", "(", ")", ";", "Register", "VReg", "=", "TII", "->", "getNamedOperand", "(", "MI", ",", "AMDGPU", "::", "OpName", "::", "vdata", ")", "->", "getReg", "(", ")", ";", "if", "(", "FuncInfo", "->", "allocateVGPRSpillToAGPR", "(", "MF", ",", "FI", ",", "TRI", "->", "isAGPR", "(", "MRI", ",", "VReg", ")", ")", ")", "{", "RS", "->", "enterBasicBlock", "(", "MBB", ")", ";", "TRI", "->", "eliminateFrameIndex", "(", "MI", ",", "0", ",", "FIOp", ",", "RS", ")", ";", "SpillFIs", ".", "set", "(", "FI", ")", ";", "continue", ";", "}", "}", "}", "}", "for", "(", "MachineBasicBlock", "&", "MBB", ":", "MF", ")", "{", "for", "(", "MCPhysReg", "Reg", ":", "FuncInfo", "->", "getVGPRSpillAGPRs", "(", ")", ")", "MBB", ".", "addLiveIn", "(", "Reg", ")", ";", "for", "(", "MCPhysReg", "Reg", ":", "FuncInfo", "->", "getAGPRSpillVGPRs", "(", ")", ")", "MBB", ".", "addLiveIn", "(", "Reg", ")", ";", "MBB", ".", "sortUniqueLiveIns", "(", ")", ";", "if", "(", "!", "SpillFIs", ".", "empty", "(", ")", "&&", "SeenDbgInstr", ")", "{", "for", "(", "MachineInstr", "&", "MI", ":", "MBB", ")", "{", "if", "(", "MI", ".", "isDebugValue", "(", ")", "&&", "MI", ".", "getOperand", "(", "0", ")", ".", "isFI", "(", ")", "&&", "SpillFIs", "[", "MI", ".", "getOperand", "(", "0", ")", ".", "getIndex", "(", ")", "]", ")", "{", "MI", ".", "getOperand", "(", "0", ")", ".", "ChangeToRegister", "(", "Register", "(", ")", ",", "false", ")", ";", "}", "}", "}", "}", "}", "FuncInfo", "->", "removeDeadFrameIndices", "(", "MFI", ")", ";", "assert", "(", "allSGPRSpillsAreDead", "(", "MF", ")", "&&", "\"SGPR spill should have been removed in SILowerSGPRSpills\"", ")", ";", "if", "(", "!", "allStackObjectsAreDead", "(", "MFI", ")", ")", "{", "assert", "(", "RS", "&&", "\"RegScavenger required if spilling\"", ")", ";", "RS", "->", "addScavengingFrameIndex", "(", "FuncInfo", "->", "getScavengeFI", "(", "MFI", ",", "*", "TRI", ")", ")", ";", "}", "}", ""], "natrual_language": ["processFunctionBeforeFrameFinalized", "-", "This", "method", "is", "called", "immediately", "before", "the", "specified", "function", "'s", "frame", "layout", "(", "MF.getFrameInfo", "(", ")", ")", "is", "finalized", "."], "TS_V_token": ["AMDGPU", "SI", "SI", "SI", "SI", "SI", "AMDGPU::getNamedOperandIdx", "AMDGPU::OpName", "AMDGPU::OpName", "0", "0", "0", "0", "\"SGPR spill should have been removed in SILowerSGPRSpills\"", "\"RegScavenger required if spilling\""], "File": "SIFrameLowering12", "Func": "processFunctionBeforeFrameFinalized", "Target": "AMDGPU", "Target_Clf": "GPU", "Compiler_Type": "LLVM", "Idx": 4082, "Length": 454, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "const", "WebAssemblySubtarget", "&", "getSubtarget", "(", ")", "const", "{", "return", "*", "Subtarget", ";", "}", ""], "natrual_language": ["getSubtarget", "-", "Return", "the", "subtarget", "for", "which", "this", "machine", "code", "is", "being", "compiled", "."], "TS_V_token": ["WebAssembly", "WebAssembly"], "File": "WebAssemblyAsmPrinter", "Func": "getSubtarget", "Target": "WebAssembly", "Target_Clf": "Virtual ISA", "Compiler_Type": "LLVM", "Idx": 4083, "Length": 13, "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", "->", "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", "256", "AArch64"], "File": "AArch64SelectionDAGInfo7", "Func": "EmitTargetCodeForMemset", "Target": "AArch64", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 4084, "Length": 299, "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": 4085, "Length": 120, "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": 4086, "Length": 100, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "bool", "shouldInsertFencesForAtomic", "(", "const", "Instruction", "*", "I", ")", "const", "override", "{", "return", "isa", "<", "LoadInst", ">", "(", "I", ")", "||", "isa", "<", "StoreInst", ">", "(", "I", ")", ";", "}", ""], "natrual_language": ["Helper", "functions", "for", "atomic", "operations", "."], "TS_V_token": ["RI5CY"], "File": "RISCVISelLowering", "Func": "shouldInsertFencesForAtomic", "Target": "RI5CY", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 4087, "Length": 29, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "machine_mode", "rx_select_cc_mode", "(", "enum", "rtx_code", "cmp_code", ",", "rtx", "x", ",", "rtx", "y", ")", "{", "if", "(", "GET_MODE_CLASS", "(", "GET_MODE", "(", "x", ")", ")", "==", "MODE_FLOAT", ")", "return", "CC_Fmode", ";", "if", "(", "y", "!=", "const0_rtx", ")", "return", "CCmode", ";", "return", "mode_from_flags", "(", "flags_from_code", "(", "cmp_code", ")", ")", ";", "}", ""], "natrual_language": ["Return", "the", "minimal", "CC", "mode", "needed", "to", "implement", "(", "CMP_CODE", "X", "Y", ")", "."], "TS_V_token": ["rx"], "File": "rx", "Func": "rx_select_cc_mode", "Target": "rx", "Target_Clf": "CPU", "Compiler_Type": "GCC", "Idx": 4088, "Length": 48, "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": 4089, "Length": 147, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "bool", "HexagonTargetLowering", "::", "isFPImmLegal", "(", "const", "APFloat", "&", "Imm", ",", "EVT", "VT", ")", "const", "{", "const", "HexagonRegisterInfo", "*", "QRI", "=", "TM", ".", "getRegisterInfo", "(", ")", ";", "return", "QRI", "->", "Subtarget", ".", "hasV5TOps", "(", ")", ";", "}", ""], "natrual_language": ["Returns", "true", "if", "the", "target", "can", "instruction", "select", "the", "specified", "FP", "immediate", "natively", "."], "TS_V_token": ["Hexagon", "Hexagon", "Hexagon"], "File": "HexagonISelLowering112", "Func": "isFPImmLegal", "Target": "Hexagon", "Target_Clf": "DSP", "Compiler_Type": "LLVM", "Idx": 4090, "Length": 36, "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": 4091, "Length": 125, "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": 4092, "Length": 212, "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": 4093, "Length": 174, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "int", "HexagonFrameLowering", "::", "getFrameIndexReference", "(", "const", "MachineFunction", "&", "MF", ",", "int", "FI", ",", "unsigned", "&", "FrameReg", ")", "const", "{", "auto", "&", "MFI", "=", "*", "MF", ".", "getFrameInfo", "(", ")", ";", "auto", "&", "HRI", "=", "*", "MF", ".", "getSubtarget", "<", "HexagonSubtarget", ">", "(", ")", ".", "getRegisterInfo", "(", ")", ";", "int", "Offset", "=", "MFI", ".", "getObjectOffset", "(", "FI", ")", ";", "bool", "HasAlloca", "=", "MFI", ".", "hasVarSizedObjects", "(", ")", ";", "bool", "HasExtraAlign", "=", "HRI", ".", "needsStackRealignment", "(", "MF", ")", ";", "bool", "NoOpt", "=", "MF", ".", "getTarget", "(", ")", ".", "getOptLevel", "(", ")", "==", "CodeGenOpt", "::", "None", ";", "unsigned", "SP", "=", "HRI", ".", "getStackRegister", "(", ")", ",", "FP", "=", "HRI", ".", "getFrameRegister", "(", ")", ";", "unsigned", "AP", "=", "0", ";", "if", "(", "const", "MachineInstr", "*", "AI", "=", "getAlignaInstr", "(", "MF", ")", ")", "AP", "=", "AI", "->", "getOperand", "(", "0", ")", ".", "getReg", "(", ")", ";", "unsigned", "FrameSize", "=", "MFI", ".", "getStackSize", "(", ")", ";", "bool", "UseFP", "=", "false", ",", "UseAP", "=", "false", ";", "if", "(", "NoOpt", "&&", "!", "HasExtraAlign", ")", "UseFP", "=", "true", ";", "if", "(", "MFI", ".", "isFixedObjectIndex", "(", "FI", ")", "||", "MFI", ".", "isObjectPreAllocated", "(", "FI", ")", ")", "{", "UseFP", "|=", "(", "HasAlloca", "||", "HasExtraAlign", ")", ";", "}", "else", "{", "if", "(", "HasAlloca", ")", "{", "if", "(", "HasExtraAlign", ")", "UseAP", "=", "true", ";", "else", "UseFP", "=", "true", ";", "}", "}", "bool", "HasFP", "=", "hasFP", "(", "MF", ")", ";", "assert", "(", "(", "HasFP", "||", "!", "UseFP", ")", "&&", "\"This function must have frame pointer\"", ")", ";", "if", "(", "Offset", ">", "0", "&&", "!", "HasFP", ")", "Offset", "-=", "8", ";", "if", "(", "UseFP", ")", "FrameReg", "=", "FP", ";", "else", "if", "(", "UseAP", ")", "FrameReg", "=", "AP", ";", "else", "FrameReg", "=", "SP", ";", "int", "RealOffset", "=", "Offset", ";", "if", "(", "!", "UseFP", "&&", "!", "UseAP", "&&", "HasFP", ")", "RealOffset", "=", "FrameSize", "+", "Offset", ";", "return", "RealOffset", ";", "}", ""], "natrual_language": ["getFrameIndexReference", "-", "This", "method", "should", "return", "the", "base", "register", "and", "offset", "used", "to", "reference", "a", "frame", "index", "location", "."], "TS_V_token": ["Hexagon", "Hexagon", "Hexagon", "0", "0", "\"This function must have frame pointer\"", "0", "8"], "File": "HexagonFrameLowering (2)3", "Func": "getFrameIndexReference", "Target": "Hexagon", "Target_Clf": "DSP", "Compiler_Type": "LLVM", "Idx": 4094, "Length": 298, "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": 4095, "Length": 259, "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": 4096, "Length": 106, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "EVT", "WebAssemblyTargetLowering", "::", "getSetCCResultType", "(", "const", "DataLayout", "&", "DL", ",", "LLVMContext", "&", "C", ",", "EVT", "VT", ")", "const", "{", "if", "(", "VT", ".", "isVector", "(", ")", ")", "return", "VT", ".", "changeVectorElementTypeToInteger", "(", ")", ";", "return", "EVT", "::", "getIntegerVT", "(", "C", ",", "32", ")", ";", "}", ""], "natrual_language": ["Return", "the", "value", "type", "to", "use", "for", "ISD", ":", ":SETCC", "."], "TS_V_token": ["WebAssembly", "WebAssembly", "32"], "File": "WebAssemblyISelLowering15", "Func": "getSetCCResultType", "Target": "WebAssembly", "Target_Clf": "Virtual ISA", "Compiler_Type": "LLVM", "Idx": 4097, "Length": 45, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "bool", "HexagonTargetObjectFile", "::", "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", ".", "isDataNoRel", "(", ")", "||", "Kind", ".", "isCommon", "(", ")", ")", "{", "Type", "*", "Ty", "=", "GV", "->", "getType", "(", ")", "->", "getElementType", "(", ")", ";", "return", "IsInSmallSection", "(", "TM", ".", "getSubtargetImpl", "(", ")", "->", "getDataLayout", "(", ")", "->", "getTypeAllocSize", "(", "Ty", ")", ")", ";", "}", "return", "false", ";", "}", ""], "natrual_language": ["Return", "true", "if", "this", "global", "address", "should", "be", "placed", "into", "small", "data/bss", "section", "."], "TS_V_token": ["Hexagon", "Hexagon"], "File": "HexagonTargetObjectFile33", "Func": "IsGlobalInSmallSection", "Target": "Hexagon", "Target_Clf": "DSP", "Compiler_Type": "LLVM", "Idx": 4098, "Length": 100, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "virtual", "void", "getAnalysisUsage", "(", "AnalysisUsage", "&", "AU", ")", "const", "{", "AU", ".", "addRequired", "<", "PatmosSPReduce", ">", "(", ")", ";", "MachineFunctionPass", "::", "getAnalysisUsage", "(", "AU", ")", ";", "}", ""], "natrual_language": ["getAnalysisUsage", "-", "Subclasses", "that", "override", "getAnalysisUsage", "must", "call", "this", "."], "TS_V_token": ["Patmos", "Patmos"], "File": "SPScheduler", "Func": "getAnalysisUsage", "Target": "Patmos", "Target_Clf": "VLIW", "Compiler_Type": "LLVM", "Idx": 4099, "Length": 27, "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": 4100, "Length": 496, "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": 4101, "Length": 422, "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": 4102, "Length": 67, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "void", "WebAssemblyPassConfig", "::", "addIRPasses", "(", ")", "{", "if", "(", "TM", "->", "Options", ".", "ThreadModel", "==", "ThreadModel", "::", "Single", ")", "{", "addPass", "(", "createLowerAtomicPass", "(", ")", ")", ";", "addPass", "(", "new", "StripThreadLocal", "(", ")", ")", ";", "}", "else", "{", "addPass", "(", "createAtomicExpandPass", "(", ")", ")", ";", "}", "addPass", "(", "createWebAssemblyLowerGlobalDtors", "(", ")", ")", ";", "addPass", "(", "createWebAssemblyFixFunctionBitcasts", "(", ")", ")", ";", "if", "(", "getOptLevel", "(", ")", "!=", "CodeGenOpt", "::", "None", ")", "addPass", "(", "createWebAssemblyOptimizeReturned", "(", ")", ")", ";", "if", "(", "!", "EnableEmException", "&&", "TM", "->", "Options", ".", "ExceptionModel", "==", "ExceptionHandling", "::", "None", ")", "{", "addPass", "(", "createLowerInvokePass", "(", ")", ")", ";", "addPass", "(", "createUnreachableBlockEliminationPass", "(", ")", ")", ";", "}", "if", "(", "EnableEmException", "||", "EnableEmSjLj", ")", "addPass", "(", "createWebAssemblyLowerEmscriptenEHSjLj", "(", "EnableEmException", ",", "EnableEmSjLj", ")", ")", ";", "TargetPassConfig", "::", "addIRPasses", "(", ")", ";", "}", ""], "natrual_language": ["Add", "common", "target", "configurable", "passes", "that", "perform", "LLVM", "IR", "to", "IR", "transforms", "following", "machine", "independent", "optimization", "."], "TS_V_token": ["WebAssembly", "WebAssembly", "WebAssembly", "WebAssembly", "WebAssembly", "WebAssembly"], "File": "WebAssemblyTargetMachine15", "Func": "addIRPasses", "Target": "WebAssembly", "Target_Clf": "Virtual ISA", "Compiler_Type": "LLVM", "Idx": 4103, "Length": 131, "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": 4104, "Length": 16, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "SDValue", "TPCTargetLowering", "::", "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", "(", ")", ";", "SmallVector", "<", "CCValAssign", ",", "32", ">", "ArgLocs", ";", "CCState", "CCInfo", "(", "CallConv", ",", "isVarArg", ",", "DAG", ".", "getMachineFunction", "(", ")", ",", "ArgLocs", ",", "*", "DAG", ".", "getContext", "(", ")", ")", ";", "CCInfo", ".", "AnalyzeFormalArguments", "(", "Ins", ",", "CC_TPC", ")", ";", "for", "(", "unsigned", "i", "=", "0", ";", "i", "!=", "ArgLocs", ".", "size", "(", ")", ";", "++", "i", ")", "{", "CCValAssign", "&", "ArgLoc", "=", "ArgLocs", "[", "i", "]", ";", "if", "(", "ArgLoc", ".", "isRegLoc", "(", ")", ")", "{", "unsigned", "v_reg", "=", "mf", ".", "addLiveIn", "(", "ArgLoc", ".", "getLocReg", "(", ")", ",", "&", "TPC", "::", "SRFRegClass", ")", ";", "SDValue", "copy", "=", "DAG", ".", "getCopyFromReg", "(", "chain", ",", "dl", ",", "v_reg", ",", "ArgLoc", ".", "getLocVT", "(", ")", ")", ";", "if", "(", "ArgLoc", ".", "getValVT", "(", ")", "!=", "ArgLoc", ".", "getLocVT", "(", ")", ")", "{", "assert", "(", "ArgLoc", ".", "isExtInLoc", "(", ")", ")", ";", "copy", "=", "DAG", ".", "getZExtOrTrunc", "(", "copy", ",", "dl", ",", "ArgLoc", ".", "getValVT", "(", ")", ")", ";", "}", "InVals", ".", "push_back", "(", "copy", ")", ";", "}", "else", "{", "llvm_unreachable", "(", "\"Not implemented\"", ")", ";", "}", "}", "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": ["TPC", "TPC", "ISD::InputArg", "32", "TPC", "0", "TPC::SRFRegClass", "\"Not implemented\""], "File": "TPCISelLowering", "Func": "LowerFormalArguments", "Target": "TPC", "Target_Clf": "Virtual ISA", "Compiler_Type": "LLVM", "Idx": 4105, "Length": 233, "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": 4106, "Length": 11, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "const", "RV16KRegisterInfo", "*", "getRegisterInfo", "(", ")", "const", "override", "{", "return", "&", "RegInfo", ";", "}", ""], "natrual_language": ["getRegisterInfo", "-", "TargetInstrInfo", "is", "a", "superset", "of", "MRegister", "info", "."], "TS_V_token": ["RV16K", "RV16K"], "File": "RV16KSubtarget", "Func": "getRegisterInfo", "Target": "RV16K", "Target_Clf": "Virtual ISA", "Compiler_Type": "LLVM", "Idx": 4107, "Length": 14, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "unsigned", "MipsRegisterInfo", "::", "getFrameRegister", "(", "const", "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": "MipsRegisterInfo17", "Func": "getFrameRegister", "Target": "Mips", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 4108, "Length": 27, "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": 4109, "Length": 27, "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": ["RI5CY", "RISCV"], "File": "RISCVInstPrinter", "Func": "printRegName", "Target": "RI5CY", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 4110, "Length": 22, "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": 4111, "Length": 39, "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": 4112, "Length": 491, "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": 4113, "Length": 31, "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": 4114, "Length": 385, "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": 4115, "Length": 119, "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", ";", "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"], "File": "AArch64FastISel1", "Func": "CCAssignFnForCall", "Target": "AArch64", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 4116, "Length": 36, "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": 4117, "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", ";", "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": 4118, "Length": 501, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "unsigned", "mprocRegisterInfo", "::", "getFrameRegister", "(", "const", "MachineFunction", "&", "MF", ")", "const", "{", "const", "TargetFrameLowering", "*", "TFI", "=", "MF", ".", "getTarget", "(", ")", ".", "getFrameLowering", "(", ")", ";", "return", "0", ";", "}", ""], "natrual_language": ["Debug", "information", "queries", "."], "TS_V_token": ["mproc", "mproc", "0"], "File": "mprocRegisterInfo", "Func": "getFrameRegister", "Target": "mproc", "Target_Clf": "Virtual ISA", "Compiler_Type": "LLVM", "Idx": 4119, "Length": 31, "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": 4120, "Length": 16, "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": 4121, "Length": 72, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "Function", "*", "AMDGPUIntrinsicInfo", "::", "getDeclaration", "(", "Module", "*", "M", ",", "unsigned", "IntrID", ",", "ArrayRef", "<", "Type", "*", ">", "Tys", ")", "const", "{", "FunctionType", "*", "FTy", "=", "getType", "(", "M", "->", "getContext", "(", ")", ",", "IntrID", ",", "Tys", ")", ";", "Function", "*", "F", "=", "cast", "<", "Function", ">", "(", "M", "->", "getOrInsertFunction", "(", "getName", "(", "IntrID", ",", "Tys", ")", ",", "FTy", ")", ")", ";", "AttributeSet", "AS", "=", "getAttributes", "(", "M", "->", "getContext", "(", ")", ",", "static_cast", "<", "AMDGPUIntrinsic", "::", "ID", ">", "(", "IntrID", ")", ")", ";", "F", "->", "setAttributes", "(", "AS", ")", ";", "return", "F", ";", "}", ""], "natrual_language": ["Create", "or", "insert", "an", "LLVM", "Function", "declaration", "for", "an", "intrinsic", ",", "and", "return", "it", "."], "TS_V_token": ["AMDGPU", "AMDGPU", "AMDGPUIntrinsic::ID"], "File": "AMDGPUIntrinsicInfo7", "Func": "getDeclaration", "Target": "AMDGPU", "Target_Clf": "GPU", "Compiler_Type": "LLVM", "Idx": 4122, "Length": 96, "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": ["GBZ80"], "File": "GBZ80MCExpr", "Func": "classof", "Target": "GBZ80", "Target_Clf": "MPU", "Compiler_Type": "LLVM", "Idx": 4123, "Length": 22, "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": 4124, "Length": 206, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "unsigned", "HOST_WIDE_INT", "s390_extract_part", "(", "rtx", "op", ",", "enum", "machine_mode", "mode", ",", "int", "def", ")", "{", "unsigned", "HOST_WIDE_INT", "value", "=", "0", ";", "int", "max_parts", "=", "HOST_BITS_PER_WIDE_INT", "/", "GET_MODE_BITSIZE", "(", "mode", ")", ";", "int", "part_bits", "=", "GET_MODE_BITSIZE", "(", "mode", ")", ";", "unsigned", "HOST_WIDE_INT", "part_mask", "=", "(", "(", "unsigned", "HOST_WIDE_INT", ")", "1", "<<", "part_bits", ")", "-", "1", ";", "int", "i", ";", "for", "(", "i", "=", "0", ";", "i", "<", "max_parts", ";", "i", "++", ")", "{", "if", "(", "i", "==", "0", ")", "value", "=", "(", "unsigned", "HOST_WIDE_INT", ")", "INTVAL", "(", "op", ")", ";", "else", "value", ">>=", "part_bits", ";", "if", "(", "(", "value", "&", "part_mask", ")", "!=", "(", "def", "&", "part_mask", ")", ")", "return", "value", "&", "part_mask", ";", "}", "gcc_unreachable", "(", ")", ";", "}", ""], "natrual_language": ["Return", "the", "part", "of", "op", "which", "has", "a", "value", "different", "from", "def", ".", "The", "size", "of", "the", "part", "is", "determined", "by", "mode", ".", "Use", "this", "function", "only", "if", "you", "already", "know", "that", "op", "really", "contains", "such", "a", "part", "."], "TS_V_token": ["s390", "0", "1", "1", "0", "0"], "File": "s3903", "Func": "s390_extract_part", "Target": "s390", "Target_Clf": "MPU", "Compiler_Type": "GCC", "Idx": 4125, "Length": 119, "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": 4126, "Length": 51, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "static", "void", "expand_block_move_2", "(", "rtx", "dst", ",", "rtx", "dst_reg", ",", "rtx", "src", ",", "rtx", "src_reg", ",", "rtx", "bytes_rtx", ")", "{", "unsigned", "HOST_WIDE_INT", "bytes", "=", "UINTVAL", "(", "bytes_rtx", ")", ";", "unsigned", "int", "rem", "=", "bytes", "%", "2", ";", "emit_library_call", "(", "wrd_memcpy_libfunc", ",", "LCT_NORMAL", ",", "VOIDmode", ",", "3", ",", "dst_reg", ",", "Pmode", ",", "src_reg", ",", "Pmode", ",", "convert_to_mode", "(", "TYPE_MODE", "(", "sizetype", ")", ",", "GEN_INT", "(", "bytes", ">>", "1", ")", ",", "TYPE_UNSIGNED", "(", "sizetype", ")", ")", ",", "TYPE_MODE", "(", "sizetype", ")", ")", ";", "if", "(", "rem", "==", "0", ")", "return", ";", "dst", "=", "replace_equiv_address_nv", "(", "dst", ",", "dst_reg", ")", ";", "src", "=", "replace_equiv_address_nv", "(", "src", ",", "src_reg", ")", ";", "bytes", "-=", "rem", ";", "emit_move_insn", "(", "adjust_address_nv", "(", "dst", ",", "QImode", ",", "bytes", ")", ",", "adjust_address_nv", "(", "src", ",", "QImode", ",", "bytes", ")", ")", ";", "}", ""], "natrual_language": ["Generate", "a", "call", "to", "a", "library", "function", "to", "move", "BYTES_RTX", "bytes", "from", "SRC", "with", "address", "SRC_REG", "to", "DST", "with", "address", "DST_REG", "in", "2-bytes", "chunks", "."], "TS_V_token": ["visium", "2", "3", "1", "0"], "File": "visium3", "Func": "expand_block_move_2", "Target": "visium", "Target_Clf": "Virtual ISA", "Compiler_Type": "GCC", "Idx": 4127, "Length": 133, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "MCELFStreamer", "&", "SparcTargetELFStreamer", "::", "getStreamer", "(", ")", "{", "return", "static_cast", "<", "MCELFStreamer", "&", ">", "(", "Streamer", ")", ";", "}", ""], "natrual_language": ["Return", "the", "output", "streamer", "for", "the", "assembler", "."], "TS_V_token": ["Sparc", "Sparc"], "File": "SparcTargetStreamer", "Func": "getStreamer", "Target": "Sparc", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 4128, "Length": 19, "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": 4129, "Length": 407, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "const", "uint32_t", "*", "MCS51RegisterInfo", "::", "getCallPreservedMask", "(", "const", "MachineFunction", "&", "MF", ",", "CallingConv", "::", "ID", "CC", ")", "const", "{", "const", "MCS51MachineFunctionInfo", "*", "AFI", "=", "MF", ".", "getInfo", "<", "MCS51MachineFunctionInfo", ">", "(", ")", ";", "return", "AFI", "->", "isInterruptOrSignalHandler", "(", ")", "?", "CSR_Interrupts_RegMask", ":", "CSR_Normal_RegMask", ";", "}", ""], "natrual_language": ["Return", "a", "mask", "of", "call-preserved", "registers", "for", "the", "given", "calling", "convention", "on", "the", "current", "function", "."], "TS_V_token": ["MCS51", "MCS51", "MCS51", "MCS51"], "File": "MCS51RegisterInfo", "Func": "getCallPreservedMask", "Target": "MCS51", "Target_Clf": "MPU", "Compiler_Type": "LLVM", "Idx": 4130, "Length": 45, "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": 4131, "Length": 160, "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", ";", "}", "return", "false", ";", "}", ""], "natrual_language": ["ParseInstruction", "-", "Parse", "one", "assembly", "instruction", "."], "TS_V_token": ["PowerPC", "PPC", "0", "PPC", "PPC", "PPC", "PPC", "PPC", "PPC", "PPC", "PPC"], "File": "PPCAsmParser2", "Func": "ParseInstruction", "Target": "PowerPC", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 4132, "Length": 323, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "bool", "Z80oldCallFrameOptimization", "::", "runOnMachineFunction", "(", "MachineFunction", "&", "MF", ")", "{", "if", "(", "skipFunction", "(", "MF", ".", "getFunction", "(", ")", ")", "||", "NoZ80oldCFOpt", ".", "getValue", "(", ")", ")", "{", "return", "false", ";", "}", "return", "false", ";", "}", ""], "natrual_language": ["runOnMachineFunction", "-", "Emit", "the", "function", "body", "."], "TS_V_token": ["Z80old", "Z80old", "Z80old"], "File": "Z80oldCallFrameOptimization", "Func": "runOnMachineFunction", "Target": "Z80old", "Target_Clf": "MPU", "Compiler_Type": "LLVM", "Idx": 4133, "Length": 36, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "const", "Function", "*", "PatmosSPMark", "::", "getCallTarget", "(", "const", "MachineInstr", "*", "MI", ")", "const", "{", "const", "MachineOperand", "&", "MO", "=", "MI", "->", "getOperand", "(", "2", ")", ";", "const", "Function", "*", "Target", "=", "NULL", ";", "if", "(", "MO", ".", "isGlobal", "(", ")", ")", "{", "Target", "=", "dyn_cast", "<", "Function", ">", "(", "MO", ".", "getGlobal", "(", ")", ")", ";", "}", "else", "if", "(", "MO", ".", "isSymbol", "(", ")", ")", "{", "const", "char", "*", "TargetName", "=", "MO", ".", "getSymbolName", "(", ")", ";", "const", "Module", "*", "M", "=", "MI", "->", "getParent", "(", ")", "->", "getParent", "(", ")", "->", "getFunction", "(", ")", "->", "getParent", "(", ")", ";", "Target", "=", "M", "->", "getFunction", "(", "TargetName", ")", ";", "}", "return", "Target", ";", "}", ""], "natrual_language": ["Return", "the", "target", "of", "the", "underlying", "call", "."], "TS_V_token": ["Patmos", "Patmos", "2"], "File": "PatmosSPMark", "Func": "getCallTarget", "Target": "Patmos", "Target_Clf": "VLIW", "Compiler_Type": "LLVM", "Idx": 4134, "Length": 115, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "bool", "HexagonPassConfig", "::", "addPreSched2", "(", ")", "{", "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": ["Hexagon", "Hexagon"], "File": "HexagonTargetMachine17", "Func": "addPreSched2", "Target": "Hexagon", "Target_Clf": "DSP", "Compiler_Type": "LLVM", "Idx": 4135, "Length": 16, "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": 4136, "Length": 189, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "SDValue", "AMDGPUTargetLowering", "::", "LowerFREM", "(", "SDValue", "Op", ",", "SelectionDAG", "&", "DAG", ")", "const", "{", "SDLoc", "SL", "(", "Op", ")", ";", "EVT", "VT", "=", "Op", ".", "getValueType", "(", ")", ";", "SDValue", "X", "=", "Op", ".", "getOperand", "(", "0", ")", ";", "SDValue", "Y", "=", "Op", ".", "getOperand", "(", "1", ")", ";", "SDValue", "Div", "=", "DAG", ".", "getNode", "(", "ISD", "::", "FDIV", ",", "SL", ",", "VT", ",", "X", ",", "Y", ")", ";", "SDValue", "Floor", "=", "DAG", ".", "getNode", "(", "ISD", "::", "FTRUNC", ",", "SL", ",", "VT", ",", "Div", ")", ";", "SDValue", "Mul", "=", "DAG", ".", "getNode", "(", "ISD", "::", "FMUL", ",", "SL", ",", "VT", ",", "Floor", ",", "Y", ")", ";", "return", "DAG", ".", "getNode", "(", "ISD", "::", "FSUB", ",", "SL", ",", "VT", ",", "X", ",", "Mul", ")", ";", "}", ""], "natrual_language": ["Split", "a", "vector", "store", "into", "multiple", "scalar", "stores", "."], "TS_V_token": ["R600", "0", "1", "ISD::FDIV", "ISD::FTRUNC", "ISD::FMUL", "ISD::FSUB"], "File": "AMDGPUISelLowering100", "Func": "LowerFREM", "Target": "R600", "Target_Clf": "GPU", "Compiler_Type": "LLVM", "Idx": 4137, "Length": 126, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "void", "SIInstrInfo", "::", "legalizeOperandsVOP3", "(", "MachineRegisterInfo", "&", "MRI", ",", "MachineInstr", "*", "MI", ")", "const", "{", "unsigned", "Opc", "=", "MI", "->", "getOpcode", "(", ")", ";", "int", "VOP3Idx", "[", "3", "]", "=", "{", "AMDGPU", "::", "getNamedOperandIdx", "(", "Opc", ",", "AMDGPU", "::", "OpName", "::", "src0", ")", ",", "AMDGPU", "::", "getNamedOperandIdx", "(", "Opc", ",", "AMDGPU", "::", "OpName", "::", "src1", ")", ",", "AMDGPU", "::", "getNamedOperandIdx", "(", "Opc", ",", "AMDGPU", "::", "OpName", "::", "src2", ")", "}", ";", "unsigned", "SGPRReg", "=", "findUsedSGPR", "(", "MI", ",", "VOP3Idx", ")", ";", "for", "(", "unsigned", "i", "=", "0", ";", "i", "<", "3", ";", "++", "i", ")", "{", "int", "Idx", "=", "VOP3Idx", "[", "i", "]", ";", "if", "(", "Idx", "==", "-", "1", ")", "break", ";", "MachineOperand", "&", "MO", "=", "MI", "->", "getOperand", "(", "Idx", ")", ";", "if", "(", "!", "MO", ".", "isReg", "(", ")", ")", "continue", ";", "if", "(", "!", "RI", ".", "isSGPRClass", "(", "MRI", ".", "getRegClass", "(", "MO", ".", "getReg", "(", ")", ")", ")", ")", "continue", ";", "if", "(", "SGPRReg", "==", "AMDGPU", "::", "NoRegister", "||", "SGPRReg", "==", "MO", ".", "getReg", "(", ")", ")", "{", "SGPRReg", "=", "MO", ".", "getReg", "(", ")", ";", "continue", ";", "}", "legalizeOpWithMove", "(", "MI", ",", "Idx", ")", ";", "}", "}", ""], "natrual_language": ["Fix", "operands", "in", "MI", "to", "satisfy", "constant", "bus", "requirements", "."], "TS_V_token": ["AMDGPU", "SI", "3", "AMDGPU::getNamedOperandIdx", "AMDGPU::OpName", "AMDGPU::getNamedOperandIdx", "AMDGPU::OpName", "AMDGPU::getNamedOperandIdx", "AMDGPU::OpName", "0", "3", "1", "AMDGPU::NoRegister"], "File": "SIInstrInfo (3)", "Func": "legalizeOperandsVOP3", "Target": "AMDGPU", "Target_Clf": "GPU", "Compiler_Type": "LLVM", "Idx": 4138, "Length": 193, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "void", "AGCTargetLowering", "::", "ReplaceNodeResults", "(", "SDNode", "*", "N", ",", "SmallVectorImpl", "<", "SDValue", ">", "&", "Results", ",", "SelectionDAG", "&", "DAG", ")", "const", "{", "switch", "(", "N", "->", "getOpcode", "(", ")", ")", "{", "default", ":", "SDValue", "Res", "=", "LowerOperation", "(", "SDValue", "(", "N", ",", "0", ")", ",", "DAG", ")", ";", "for", "(", "unsigned", "I", "=", "0", ",", "E", "=", "Res", "->", "getNumValues", "(", ")", ";", "I", "!=", "E", ";", "++", "I", ")", "Results", ".", "push_back", "(", "Res", ".", "getValue", "(", "I", ")", ")", ";", "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": ["AGC", "AGC", "0", "0"], "File": "AGCISelLowering", "Func": "ReplaceNodeResults", "Target": "AGC", "Target_Clf": "MPU", "Compiler_Type": "LLVM", "Idx": 4139, "Length": 86, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "GB", "::", "Fixups", "GBZ80MCExpr", "::", "getFixupKind", "(", ")", "const", "{", "GB", "::", "Fixups", "Kind", "=", "GB", "::", "Fixups", "::", "LastTargetFixupKind", ";", "switch", "(", "getKind", "(", ")", ")", "{", "case", "VK_GBZ80_LO8", ":", "Kind", "=", "isNegated", "(", ")", "?", "GB", "::", "fixup_lo8_ldi_neg", ":", "GB", "::", "fixup_lo8_ldi", ";", "break", ";", "case", "VK_GBZ80_HI8", ":", "Kind", "=", "isNegated", "(", ")", "?", "GB", "::", "fixup_hi8_ldi_neg", ":", "GB", "::", "fixup_hi8_ldi", ";", "break", ";", "case", "VK_GBZ80_HH8", ":", "Kind", "=", "isNegated", "(", ")", "?", "GB", "::", "fixup_hh8_ldi_neg", ":", "GB", "::", "fixup_hh8_ldi", ";", "break", ";", "case", "VK_GBZ80_HHI8", ":", "Kind", "=", "isNegated", "(", ")", "?", "GB", "::", "fixup_ms8_ldi_neg", ":", "GB", "::", "fixup_ms8_ldi", ";", "break", ";", "case", "VK_GBZ80_PM_LO8", ":", "Kind", "=", "isNegated", "(", ")", "?", "GB", "::", "fixup_lo8_ldi_pm_neg", ":", "GB", "::", "fixup_lo8_ldi_pm", ";", "break", ";", "case", "VK_GBZ80_PM_HI8", ":", "Kind", "=", "isNegated", "(", ")", "?", "GB", "::", "fixup_hi8_ldi_pm_neg", ":", "GB", "::", "fixup_hi8_ldi_pm", ";", "break", ";", "case", "VK_GBZ80_PM_HH8", ":", "Kind", "=", "isNegated", "(", ")", "?", "GB", "::", "fixup_hh8_ldi_pm_neg", ":", "GB", "::", "fixup_hh8_ldi_pm", ";", "break", ";", "case", "VK_GBZ80_None", ":", "llvm_unreachable", "(", "\"Uninitialized expression\"", ")", ";", "}", "return", "Kind", ";", "}", ""], "natrual_language": ["getFixupKind", "-", "Get", "the", "fixup", "kind", "of", "this", "expression", "."], "TS_V_token": ["GBZ80", "GB::Fixups", "GB", "GB::Fixups", "GB::Fixups", "GB", "GB::fixup_lo8_ldi_neg", "GB::fixup_lo8_ldi", "GB", "GB::fixup_hi8_ldi_neg", "GB::fixup_hi8_ldi", "GB", "GB::fixup_hh8_ldi_neg", "GB::fixup_hh8_ldi", "GB", "GB::fixup_ms8_ldi_neg", "GB::fixup_ms8_ldi", "GB", "GB::fixup_lo8_ldi_pm_neg", "GB::fixup_lo8_ldi_pm", "GB", "GB::fixup_hi8_ldi_pm_neg", "GB::fixup_hi8_ldi_pm", "GB", "GB::fixup_hh8_ldi_pm_neg", "GB::fixup_hh8_ldi_pm", "GB", "\"Uninitialized expression\""], "File": "GBZ80MCExpr", "Func": "getFixupKind", "Target": "GBZ80", "Target_Clf": "MPU", "Compiler_Type": "LLVM", "Idx": 4140, "Length": 174, "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": 4141, "Length": 178, "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": 4142, "Length": 23, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "bool", "RISCVPassConfig", "::", "addIRTranslator", "(", ")", "{", "addPass", "(", "new", "IRTranslator", "(", "getOptLevel", "(", ")", ")", ")", ";", "return", "false", ";", "}", ""], "natrual_language": ["This", "method", "should", "install", "an", "IR", "translator", "pass", ",", "which", "converts", "from", "LLVM", "code", "to", "machine", "instructions", "with", "possibly", "generic", "opcodes", "."], "TS_V_token": ["RI5CY", "RISCV"], "File": "RISCVTargetMachine", "Func": "addIRTranslator", "Target": "RI5CY", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 4143, "Length": 22, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "bool", "XCoreFTAOElim", "::", "runOnMachineFunction", "(", "MachineFunction", "&", "MF", ")", "{", "const", "XCoreInstrInfo", "&", "TII", "=", "*", "static_cast", "<", "const", "XCoreInstrInfo", "*", ">", "(", "MF", ".", "getSubtarget", "(", ")", ".", "getInstrInfo", "(", ")", ")", ";", "unsigned", "StackSize", "=", "MF", ".", "getFrameInfo", "(", ")", ".", "getStackSize", "(", ")", ";", "for", "(", "MachineBasicBlock", "&", "MBB", ":", "MF", ")", "{", "for", "(", "MachineBasicBlock", "::", "iterator", "MBBI", "=", "MBB", ".", "begin", "(", ")", ",", "EE", "=", "MBB", ".", "end", "(", ")", ";", "MBBI", "!=", "EE", ";", "++", "MBBI", ")", "{", "if", "(", "MBBI", "->", "getOpcode", "(", ")", "==", "XCore", "::", "FRAME_TO_ARGS_OFFSET", ")", "{", "MachineInstr", "&", "OldInst", "=", "*", "MBBI", ";", "Register", "Reg", "=", "OldInst", ".", "getOperand", "(", "0", ")", ".", "getReg", "(", ")", ";", "MBBI", "=", "TII", ".", "loadImmediate", "(", "MBB", ",", "MBBI", ",", "Reg", ",", "StackSize", ")", ";", "OldInst", ".", "eraseFromParent", "(", ")", ";", "}", "}", "}", "return", "true", ";", "}", ""], "natrual_language": ["runOnMachineFunction", "-", "Emit", "the", "function", "body", "."], "TS_V_token": ["XCore", "XCore", "XCore", "XCore", "XCore::FRAME_TO_ARGS_OFFSET", "0"], "File": "XCoreFrameToArgsOffsetElim6", "Func": "runOnMachineFunction", "Target": "XCore", "Target_Clf": "MPU", "Compiler_Type": "LLVM", "Idx": 4144, "Length": 147, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "BitVector", "SIRegisterInfo", "::", "getReservedRegs", "(", "const", "MachineFunction", "&", "MF", ")", "const", "{", "BitVector", "Reserved", "(", "getNumRegs", "(", ")", ")", ";", "return", "Reserved", ";", "}", ""], "natrual_language": ["getReservedRegs", "-", "Returns", "a", "bitset", "indexed", "by", "physical", "register", "number", "indicating", "if", "a", "register", "is", "a", "special", "register", "that", "has", "particular", "uses", "and", "should", "be", "considered", "unavailable", "at", "all", "times", ",", "e.g", "."], "TS_V_token": ["R600", "SI"], "File": "SIRegisterInfo116", "Func": "getReservedRegs", "Target": "R600", "Target_Clf": "GPU", "Compiler_Type": "LLVM", "Idx": 4145, "Length": 24, "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": ["Videocore", "0", "0"], "File": "VideocoreAsmParser", "Func": "addExpr", "Target": "Videocore", "Target_Clf": "DSP", "Compiler_Type": "LLVM", "Idx": 4146, "Length": 78, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "bool", "GCNPassConfig", "::", "addPreRewrite", "(", ")", "{", "if", "(", "EnableRegReassign", ")", "{", "addPass", "(", "&", "GCNNSAReassignID", ")", ";", "addPass", "(", "&", "GCNRegBankReassignID", ")", ";", "}", "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": ["AMDGPU"], "File": "AMDGPUTargetMachine10", "Func": "addPreRewrite", "Target": "AMDGPU", "Target_Clf": "GPU", "Compiler_Type": "LLVM", "Idx": 4147, "Length": 29, "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": 4148, "Length": 114, "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": 4149, "Length": 56, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "bool", "PPCAsmParser", "::", "ParseDirective", "(", "AsmToken", "DirectiveID", ")", "{", "StringRef", "IDVal", "=", "DirectiveID", ".", "getIdentifier", "(", ")", ";", "if", "(", "!", "isDarwin", "(", ")", ")", "{", "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", "(", ")", ")", ";", "if", "(", "IDVal", "==", "\".abiversion\"", ")", "return", "ParseDirectiveAbiVersion", "(", "DirectiveID", ".", "getLoc", "(", ")", ")", ";", "if", "(", "IDVal", "==", "\".localentry\"", ")", "return", "ParseDirectiveLocalEntry", "(", "DirectiveID", ".", "getLoc", "(", ")", ")", ";", "}", "else", "{", "if", "(", "IDVal", "==", "\".machine\"", ")", "return", "ParseDarwinDirectiveMachine", "(", "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\"", "\".abiversion\"", "\".localentry\"", "\".machine\""], "File": "PPCAsmParser (2)1", "Func": "ParseDirective", "Target": "PowerPC", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 4150, "Length": 158, "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": 4151, "Length": 256, "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": 4152, "Length": 98, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "static", "bool", "aarch64_return_in_memory_1", "(", "const_tree", "type", ")", "{", "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", ",", "false", ")", ")", "return", "false", ";", "size", "=", "int_size_in_bytes", "(", "type", ")", ";", "return", "(", "size", "<", "0", "||", "size", ">", "2", "*", "UNITS_PER_WORD", ")", ";", "}", ""], "natrual_language": ["Subroutine", "for", "aarch64_return_in_memory", "for", "types", "that", "are", "not", "returned", "in", "SVE", "registers", "."], "TS_V_token": ["aarch64", "0", "2"], "File": "aarch64", "Func": "aarch64_return_in_memory_1", "Target": "aarch64", "Target_Clf": "CPU", "Compiler_Type": "GCC", "Idx": 4153, "Length": 88, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "void", "mapip_expand_prologue", "(", ")", "{", "long", "framesize", ";", "long", "adjust", ";", "rtx", "sp", "=", "NULL_RTX", ";", "rtx", "fp", "=", "NULL_RTX", ";", "framesize", "=", "(", "frame_info", ".", "valid", "?", "frame_info", ".", "total_size", ":", "compute_frame_size", "(", "get_frame_size", "(", ")", ")", ")", ";", "if", "(", "framesize", ">", "0", "||", "frame_pointer_needed", ")", "sp", "=", "gen_rtx_REG", "(", "SImode", ",", "SP_REGNUM", ")", ";", "if", "(", "frame_pointer_needed", ")", "fp", "=", "gen_rtx_REG", "(", "SImode", ",", "FP_REGNUM", ")", ";", "if", "(", "SHOULD_COMBINE_STORE_RESTORE", ")", "{", "emit_insn", "(", "gen_store_regs", "(", "gen_rtx_REG", "(", "SImode", ",", "frame_info", ".", "first_reg", ")", ",", "gen_rtx_REG", "(", "SImode", ",", "frame_info", ".", "last_reg", ")", ")", ")", ";", "}", "else", "{", "int", "rmask", "=", "frame_info", ".", "rmask", ";", "int", "i", ",", "j", ";", "for", "(", "i", "=", "0", ";", "rmask", "!=", "0", ";", ")", "{", "if", "(", "rmask", "&", "1", ")", "{", "for", "(", "j", "=", "i", ";", "rmask", "&", "1", ";", "j", "++", ")", "rmask", ">>=", "1", ";", "emit_insn", "(", "gen_store_regs", "(", "gen_rtx_REG", "(", "SImode", ",", "i", ")", ",", "gen_rtx_REG", "(", "SImode", ",", "j", "-", "1", ")", ")", ")", ";", "i", "=", "j", ";", "}", "else", "{", "rmask", ">>=", "1", ";", "i", "++", ";", "}", "}", "}", "adjust", "=", "framesize", "-", "frame_info", ".", "regs", ";", "if", "(", "adjust", "!=", "0", ")", "{", "emit_insn", "(", "gen_subsi3", "(", "sp", ",", "sp", ",", "GEN_INT", "(", "adjust", ")", ")", ")", ";", "}", "if", "(", "frame_pointer_needed", ")", "{", "if", "(", "framesize", ">", "0", ")", "{", "emit_move_insn", "(", "fp", ",", "sp", ")", ";", "emit_insn", "(", "gen_addsi3", "(", "fp", ",", "fp", ",", "GEN_INT", "(", "framesize", ")", ")", ")", ";", "}", "else", "{", "emit_move_insn", "(", "fp", ",", "sp", ")", ";", "}", "}", "}", ""], "natrual_language": ["Output", "assembler", "code", "for", "a", "function", "prologue"], "TS_V_token": ["mapip", "0", "0", "0", "1", "1", "1", "1", "1", "0", "0"], "File": "mapip", "Func": "mapip_expand_prologue", "Target": "mapip", "Target_Clf": "Virtual ISA", "Compiler_Type": "GCC", "Idx": 4154, "Length": 267, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "void", "BTFDebug", "::", "beginFunctionImpl", "(", "const", "MachineFunction", "*", "MF", ")", "{", "auto", "*", "SP", "=", "MF", "->", "getFunction", "(", ")", ".", "getSubprogram", "(", ")", ";", "auto", "*", "Unit", "=", "SP", "->", "getUnit", "(", ")", ";", "if", "(", "Unit", "->", "getEmissionKind", "(", ")", "==", "DICompileUnit", "::", "NoDebug", ")", "{", "SkipInstruction", "=", "true", ";", "return", ";", "}", "SkipInstruction", "=", "false", ";", "if", "(", "MapDefNotCollected", ")", "{", "processGlobals", "(", "true", ")", ";", "MapDefNotCollected", "=", "false", ";", "}", "std", "::", "unordered_map", "<", "uint32_t", ",", "StringRef", ">", "FuncArgNames", ";", "for", "(", "const", "DINode", "*", "DN", ":", "SP", "->", "getRetainedNodes", "(", ")", ")", "{", "if", "(", "const", "auto", "*", "DV", "=", "dyn_cast", "<", "DILocalVariable", ">", "(", "DN", ")", ")", "{", "uint32_t", "Arg", "=", "DV", "->", "getArg", "(", ")", ";", "if", "(", "Arg", ")", "{", "visitTypeEntry", "(", "DV", "->", "getType", "(", ")", ")", ";", "FuncArgNames", "[", "Arg", "]", "=", "DV", "->", "getName", "(", ")", ";", "}", "}", "}", "uint32_t", "ProtoTypeId", ";", "visitSubroutineType", "(", "SP", "->", "getType", "(", ")", ",", "true", ",", "FuncArgNames", ",", "ProtoTypeId", ")", ";", "uint8_t", "Scope", "=", "SP", "->", "isLocalToUnit", "(", ")", "?", "BTF", "::", "FUNC_STATIC", ":", "BTF", "::", "FUNC_GLOBAL", ";", "auto", "FuncTypeEntry", "=", "std", "::", "make_unique", "<", "BTFTypeFunc", ">", "(", "SP", "->", "getName", "(", ")", ",", "ProtoTypeId", ",", "Scope", ")", ";", "uint32_t", "FuncTypeId", "=", "addType", "(", "std", "::", "move", "(", "FuncTypeEntry", ")", ")", ";", "for", "(", "const", "auto", "&", "TypeEntry", ":", "TypeEntries", ")", "TypeEntry", "->", "completeType", "(", "*", "this", ")", ";", "MCSymbol", "*", "FuncLabel", "=", "Asm", "->", "getFunctionBegin", "(", ")", ";", "BTFFuncInfo", "FuncInfo", ";", "FuncInfo", ".", "Label", "=", "FuncLabel", ";", "FuncInfo", ".", "TypeId", "=", "FuncTypeId", ";", "if", "(", "FuncLabel", "->", "isInSection", "(", ")", ")", "{", "MCSection", "&", "Section", "=", "FuncLabel", "->", "getSection", "(", ")", ";", "const", "MCSectionELF", "*", "SectionELF", "=", "dyn_cast", "<", "MCSectionELF", ">", "(", "&", "Section", ")", ";", "assert", "(", "SectionELF", "&&", "\"Null section for Function Label\"", ")", ";", "SecNameOff", "=", "addString", "(", "SectionELF", "->", "getSectionName", "(", ")", ")", ";", "}", "else", "{", "SecNameOff", "=", "addString", "(", "\".text\"", ")", ";", "}", "FuncInfoTable", "[", "SecNameOff", "]", ".", "push_back", "(", "FuncInfo", ")", ";", "}", ""], "natrual_language": ["Gather", "pre-function", "debug", "information", "."], "TS_V_token": ["BPF", "BTF::FUNC_STATIC", "BTF::FUNC_GLOBAL", "\"Null section for Function Label\"", "\".text\""], "File": "BTFDebug18", "Func": "beginFunctionImpl", "Target": "BPF", "Target_Clf": "Virtual ISA", "Compiler_Type": "LLVM", "Idx": 4155, "Length": 335, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "LLVM_DUMP_METHOD", "void", "Coloring", "::", "dump", "(", ")", "const", "{", "dbgs", "(", ")", "<<", "\"{ Order: {\"", ";", "for", "(", "unsigned", "I", "=", "0", ";", "I", "!=", "Order", ".", "size", "(", ")", ";", "++", "I", ")", "{", "Node", "P", "=", "Order", "[", "I", "]", ";", "if", "(", "P", "!=", "Ignore", ")", "dbgs", "(", ")", "<<", "' '", "<<", "P", ";", "else", "dbgs", "(", ")", "<<", "\" -\"", ";", "}", "dbgs", "(", ")", "<<", "\" }\\n\"", ";", "dbgs", "(", ")", "<<", "\" Needed: {\"", ";", "for", "(", "Node", "N", ":", "Needed", ")", "dbgs", "(", ")", "<<", "' '", "<<", "N", ";", "dbgs", "(", ")", "<<", "\" }\\n\"", ";", "dbgs", "(", ")", "<<", "\" Edges: {\\n\"", ";", "for", "(", "auto", "E", ":", "Edges", ")", "{", "dbgs", "(", ")", "<<", "\" \"", "<<", "E", ".", "first", "<<", "\" -> {\"", ";", "for", "(", "auto", "N", ":", "E", ".", "second", ")", "dbgs", "(", ")", "<<", "' '", "<<", "N", ";", "dbgs", "(", ")", "<<", "\" }\\n\"", ";", "}", "dbgs", "(", ")", "<<", "\" }\\n\"", ";", "static", "const", "char", "*", "const", "Names", "[", "]", "=", "{", "\"None\"", ",", "\"Red\"", ",", "\"Black\"", "}", ";", "dbgs", "(", ")", "<<", "\" Colors: {\\n\"", ";", "for", "(", "auto", "C", ":", "Colors", ")", "dbgs", "(", ")", "<<", "\" \"", "<<", "C", ".", "first", "<<", "\" -> \"", "<<", "Names", "[", "C", ".", "second", "]", "<<", "\"\\n\"", ";", "dbgs", "(", ")", "<<", "\" }\\n}\\n\"", ";", "}", ""], "natrual_language": ["Dump", "the", "plan", "to", "stderr", "(", "for", "debugging", ")", "."], "TS_V_token": ["Hexagon", "\"{ Order: {\"", "0", "\" -\"", "\" }\\n\"", "\" Needed: {\"", "\" }\\n\"", "\" Edges: {\\n\"", "\" \"", "\" -> {\"", "\" }\\n\"", "\" }\\n\"", "\"None\"", "\"Red\"", "\"Black\"", "\" Colors: {\\n\"", "\" \"", "\" -> \"", "\"\\n\"", "\" }\\n}\\n\""], "File": "HexagonISelDAGToDAGHVX16", "Func": "dump", "Target": "Hexagon", "Target_Clf": "DSP", "Compiler_Type": "LLVM", "Idx": 4156, "Length": 211, "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": 4157, "Length": 163, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "void", "SIInstrInfo", "::", "storeRegToStackSlot", "(", "MachineBasicBlock", "&", "MBB", ",", "MachineBasicBlock", "::", "iterator", "MI", ",", "unsigned", "SrcReg", ",", "bool", "isKill", ",", "int", "FrameIndex", ",", "const", "TargetRegisterClass", "*", "RC", ",", "const", "TargetRegisterInfo", "*", "TRI", ")", "const", "{", "MachineFunction", "*", "MF", "=", "MBB", ".", "getParent", "(", ")", ";", "SIMachineFunctionInfo", "*", "MFI", "=", "MF", "->", "getInfo", "<", "SIMachineFunctionInfo", ">", "(", ")", ";", "MachineFrameInfo", "&", "FrameInfo", "=", "MF", "->", "getFrameInfo", "(", ")", ";", "DebugLoc", "DL", "=", "MBB", ".", "findDebugLoc", "(", "MI", ")", ";", "unsigned", "Size", "=", "FrameInfo", ".", "getObjectSize", "(", "FrameIndex", ")", ";", "unsigned", "Align", "=", "FrameInfo", ".", "getObjectAlignment", "(", "FrameIndex", ")", ";", "MachinePointerInfo", "PtrInfo", "=", "MachinePointerInfo", "::", "getFixedStack", "(", "*", "MF", ",", "FrameIndex", ")", ";", "MachineMemOperand", "*", "MMO", "=", "MF", "->", "getMachineMemOperand", "(", "PtrInfo", ",", "MachineMemOperand", "::", "MOStore", ",", "Size", ",", "Align", ")", ";", "unsigned", "SpillSize", "=", "TRI", "->", "getSpillSize", "(", "*", "RC", ")", ";", "if", "(", "RI", ".", "isSGPRClass", "(", "RC", ")", ")", "{", "MFI", "->", "setHasSpilledSGPRs", "(", ")", ";", "const", "MCInstrDesc", "&", "OpDesc", "=", "get", "(", "getSGPRSpillSaveOpcode", "(", "SpillSize", ")", ")", ";", "if", "(", "TargetRegisterInfo", "::", "isVirtualRegister", "(", "SrcReg", ")", "&&", "SpillSize", "==", "4", ")", "{", "MachineRegisterInfo", "&", "MRI", "=", "MF", "->", "getRegInfo", "(", ")", ";", "MRI", ".", "constrainRegClass", "(", "SrcReg", ",", "&", "AMDGPU", "::", "SReg_32_XM0RegClass", ")", ";", "}", "MachineInstrBuilder", "Spill", "=", "BuildMI", "(", "MBB", ",", "MI", ",", "DL", ",", "OpDesc", ")", ".", "addReg", "(", "SrcReg", ",", "getKillRegState", "(", "isKill", ")", ")", ".", "addFrameIndex", "(", "FrameIndex", ")", ".", "addMemOperand", "(", "MMO", ")", ".", "addReg", "(", "MFI", "->", "getScratchRSrcReg", "(", ")", ",", "RegState", "::", "Implicit", ")", ".", "addReg", "(", "MFI", "->", "getFrameOffsetReg", "(", ")", ",", "RegState", "::", "Implicit", ")", ";", "FrameInfo", ".", "setStackID", "(", "FrameIndex", ",", "SIStackID", "::", "SGPR_SPILL", ")", ";", "if", "(", "ST", ".", "hasScalarStores", "(", ")", ")", "{", "Spill", ".", "addReg", "(", "AMDGPU", "::", "M0", ",", "RegState", "::", "ImplicitDefine", "|", "RegState", "::", "Dead", ")", ";", "}", "return", ";", "}", "if", "(", "!", "ST", ".", "isVGPRSpillingEnabled", "(", "MF", "->", "getFunction", "(", ")", ")", ")", "{", "LLVMContext", "&", "Ctx", "=", "MF", "->", "getFunction", "(", ")", ".", "getContext", "(", ")", ";", "Ctx", ".", "emitError", "(", "\"SIInstrInfo::storeRegToStackSlot - Do not know how to\"", "\" spill register\"", ")", ";", "BuildMI", "(", "MBB", ",", "MI", ",", "DL", ",", "get", "(", "AMDGPU", "::", "KILL", ")", ")", ".", "addReg", "(", "SrcReg", ")", ";", "return", ";", "}", "assert", "(", "RI", ".", "hasVGPRs", "(", "RC", ")", "&&", "\"Only VGPR spilling expected\"", ")", ";", "unsigned", "Opcode", "=", "getVGPRSpillSaveOpcode", "(", "SpillSize", ")", ";", "MFI", "->", "setHasSpilledVGPRs", "(", ")", ";", "BuildMI", "(", "MBB", ",", "MI", ",", "DL", ",", "get", "(", "Opcode", ")", ")", ".", "addReg", "(", "SrcReg", ",", "getKillRegState", "(", "isKill", ")", ")", ".", "addFrameIndex", "(", "FrameIndex", ")", ".", "addReg", "(", "MFI", "->", "getScratchRSrcReg", "(", ")", ")", ".", "addReg", "(", "MFI", "->", "getFrameOffsetReg", "(", ")", ")", ".", "addImm", "(", "0", ")", ".", "addMemOperand", "(", "MMO", ")", ";", "}", ""], "natrual_language": ["Store", "the", "specified", "register", "of", "the", "given", "register", "class", "to", "the", "specified", "stack", "frame", "index", "."], "TS_V_token": ["AMDGPU", "SI", "SI", "SI", "4", "AMDGPU::SReg_32_XM0RegClass", "SIStackID::SGPR_SPILL", "AMDGPU::M0", "\"SIInstrInfo::storeRegToStackSlot - Do not know how to\"", "\" spill register\"", "AMDGPU::KILL", "\"Only VGPR spilling expected\"", "0"], "File": "SIInstrInfo17", "Func": "storeRegToStackSlot", "Target": "AMDGPU", "Target_Clf": "GPU", "Compiler_Type": "LLVM", "Idx": 4158, "Length": 453, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "static", "int", "c4x_label_ref_used_p", "(", "rtx", "x", ",", "rtx", "code_label", ")", "{", "enum", "rtx_code", "code", ";", "int", "i", ",", "j", ";", "const", "char", "*", "fmt", ";", "if", "(", "x", "==", "0", ")", "return", "0", ";", "code", "=", "GET_CODE", "(", "x", ")", ";", "if", "(", "code", "==", "LABEL_REF", ")", "return", "INSN_UID", "(", "XEXP", "(", "x", ",", "0", ")", ")", "==", "INSN_UID", "(", "code_label", ")", ";", "fmt", "=", "GET_RTX_FORMAT", "(", "code", ")", ";", "for", "(", "i", "=", "GET_RTX_LENGTH", "(", "code", ")", "-", "1", ";", "i", ">=", "0", ";", "i", "--", ")", "{", "if", "(", "fmt", "[", "i", "]", "==", "'e'", ")", "{", "if", "(", "c4x_label_ref_used_p", "(", "XEXP", "(", "x", ",", "i", ")", ",", "code_label", ")", ")", "return", "1", ";", "}", "else", "if", "(", "fmt", "[", "i", "]", "==", "'E'", ")", "for", "(", "j", "=", "XVECLEN", "(", "x", ",", "i", ")", "-", "1", ";", "j", ">=", "0", ";", "j", "--", ")", "if", "(", "c4x_label_ref_used_p", "(", "XVECEXP", "(", "x", ",", "i", ",", "j", ")", ",", "code_label", ")", ")", "return", "1", ";", "}", "return", "0", ";", "}", ""], "natrual_language": ["The", "C4x", "looping", "instruction", "needs", "to", "be", "emitted", "at", "the", "top", "of", "the", "loop", ".", "Emitting", "the", "true", "RTL", "for", "a", "looping", "instruction", "at", "the", "top", "of", "the", "loop", "can", "cause", "problems", "with", "flow", "analysis", ".", "So", "instead", ",", "a", "dummy", "doloop", "insn", "is", "emitted", "at", "the", "end", "of", "the", "loop", ".", "This", "routine", "checks", "for", "the", "presence", "of", "this", "doloop", "insn", "and", "then", "searches", "back", "to", "the", "top", "of", "the", "loop", ",", "where", "it", "inserts", "the", "true", "looping", "insn", "(", "provided", "there", "are", "no", "instructions", "in", "the", "loop", "which", "would", "cause", "problems", ")", ".", "Any", "additional", "labels", "can", "be", "emitted", "at", "this", "point", ".", "In", "addition", ",", "if", "the", "desired", "loop", "count", "register", "was", "not", "allocated", ",", "this", "routine", "does", "nothing", ".", "Before", "we", "can", "create", "a", "repeat", "block", "looping", "instruction", "we", "have", "to", "verify", "that", "there", "are", "no", "jumps", "outside", "the", "loop", "and", "no", "jumps", "outside", "the", "loop", "go", "into", "this", "loop", ".", "This", "can", "happen", "in", "the", "basic", "blocks", "reorder", "pass", ".", "The", "C4x", "cpu", "can", "not", "handle", "this", "."], "TS_V_token": ["c4x", "0", "0", "0", "1", "0", "1", "1", "0", "1", "0"], "File": "c4x1", "Func": "c4x_label_ref_used_p", "Target": "c4x", "Target_Clf": "DSP", "Compiler_Type": "GCC", "Idx": 4159, "Length": 171, "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": 4160, "Length": 38, "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", "||", "cfun", "->", "machine", "->", "interrupt_handler_p", ")", "return", "false", ";", "return", "frame", "->", "save_libcall_adjustment", "!=", "0", ";", "}", ""], "natrual_language": ["Determine", "whether", "to", "call", "GPR", "save/restore", "routines", "."], "TS_V_token": ["riscv", "0"], "File": "riscv", "Func": "riscv_use_save_libcall", "Target": "riscv", "Target_Clf": "CPU", "Compiler_Type": "GCC", "Idx": 4161, "Length": 39, "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": 4162, "Length": 97, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "static", "void", "arc_autovectorize_vector_sizes", "(", "vector_sizes", "*", "sizes", ")", "{", "if", "(", "TARGET_PLUS_QMACW", ")", "{", "sizes", "->", "quick_push", "(", "8", ")", ";", "sizes", "->", "quick_push", "(", "4", ")", ";", "}", "}", ""], "natrual_language": ["Implements", "target", "hook", "TARGET_VECTORIZE_AUTOVECTORIZE_VECTOR_SIZES", "."], "TS_V_token": ["arc", "8", "4"], "File": "arc7", "Func": "arc_autovectorize_vector_sizes", "Target": "arc", "Target_Clf": "MPU", "Compiler_Type": "GCC", "Idx": 4163, "Length": 30, "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": 4164, "Length": 102, "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": 4165, "Length": 54, "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": 4166, "Length": 344, "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": 4167, "Length": 20, "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": 4168, "Length": 212, "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": 4169, "Length": 56, "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": 4170, "Length": 40, "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": 4171, "Length": 44, "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": ["NVPTX", "MVT::i32"], "File": "NVPTXISelLowering", "Func": "getScalarShiftAmountTy", "Target": "NVPTX", "Target_Clf": "GPU", "Compiler_Type": "LLVM", "Idx": 4172, "Length": 18, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "static", "bool", "mips_small_register_classes_for_mode_p", "(", "machine_mode", "mode", "ATTRIBUTE_UNUSED", ")", "{", "return", "TARGET_MIPS16", ";", "}", ""], "natrual_language": ["Implement", "target", "hook", "small_register_classes_for_mode_p", "."], "TS_V_token": ["mips"], "File": "mips", "Func": "mips_small_register_classes_for_mode_p", "Target": "mips", "Target_Clf": "CPU", "Compiler_Type": "GCC", "Idx": 4173, "Length": 13, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "bool", "TVMAsmPrinter", "::", "runOnMachineFunction", "(", "MachineFunction", "&", "MF", ")", "{", "MFI", "=", "MF", ".", "getInfo", "<", "TVMFunctionInfo", ">", "(", ")", ";", "return", "AsmPrinter", "::", "runOnMachineFunction", "(", "MF", ")", ";", "}", ""], "natrual_language": ["runOnMachineFunction", "-", "Emit", "the", "function", "body", "."], "TS_V_token": ["TVM", "TVM", "TVM"], "File": "TVMAsmPrinter", "Func": "runOnMachineFunction", "Target": "TVM", "Target_Clf": "Virtual ISA", "Compiler_Type": "LLVM", "Idx": 4174, "Length": 30, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "bool", "ARCompactInstrInfo", "::", "isPredicable", "(", "MachineInstr", "*", "MI", ")", "const", "{", "if", "(", "!", "MI", "->", "getDesc", "(", ")", ".", "isPredicable", "(", ")", ")", "{", "return", "false", ";", "}", "if", "(", "MI", "->", "getOperand", "(", "0", ")", ".", "getReg", "(", ")", "!=", "MI", "->", "getOperand", "(", "1", ")", ".", "getReg", "(", ")", ")", "{", "return", "false", ";", "}", "return", "true", ";", "}", ""], "natrual_language": ["Return", "true", "if", "the", "specified", "instruction", "can", "be", "predicated", "."], "TS_V_token": ["ARCompact", "ARC", "0", "1"], "File": "ARCompactInstrInfo", "Func": "isPredicable", "Target": "ARCompact", "Target_Clf": "MPU", "Compiler_Type": "LLVM", "Idx": 4175, "Length": 62, "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": 4176, "Length": 66, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "void", "WebAssemblyAsmBackend", "::", "applyFixup", "(", "const", "MCAssembler", "&", "Asm", ",", "const", "MCFixup", "&", "Fixup", ",", "const", "MCValue", "&", "Target", ",", "MutableArrayRef", "<", "char", ">", "Data", ",", "uint64_t", "Value", ",", "bool", "IsPCRel", ")", "const", "{", "const", "MCFixupKindInfo", "&", "Info", "=", "getFixupKindInfo", "(", "Fixup", ".", "getKind", "(", ")", ")", ";", "assert", "(", "Info", ".", "Flags", "==", "0", "&&", "\"WebAssembly does not use MCFixupKindInfo flags\"", ")", ";", "unsigned", "NumBytes", "=", "alignTo", "(", "Info", ".", "TargetSize", ",", "8", ")", "/", "8", ";", "if", "(", "Value", "==", "0", ")", "return", ";", "Value", "<<=", "Info", ".", "TargetOffset", ";", "unsigned", "Offset", "=", "Fixup", ".", "getOffset", "(", ")", ";", "assert", "(", "Offset", "+", "NumBytes", "<=", "Data", ".", "size", "(", ")", "&&", "\"Invalid fixup offset!\"", ")", ";", "for", "(", "unsigned", "i", "=", "0", ";", "i", "!=", "NumBytes", ";", "++", "i", ")", "Data", "[", "Offset", "+", "i", "]", "|=", "uint8_t", "(", "(", "Value", ">>", "(", "i", "*", "8", ")", ")", "&", "0xff", ")", ";", "}", ""], "natrual_language": ["Apply", "the", "Value", "for", "given", "Fixup", "into", "the", "provided", "data", "fragment", ",", "at", "the", "offset", "specified", "by", "the", "fixup", "and", "following", "the", "fixup", "kind", "as", "appropriate", "."], "TS_V_token": ["WebAssembly", "WebAssembly", "0", "\"WebAssembly does not use MCFixupKindInfo flags\"", "8", "8", "0", "\"Invalid fixup offset!\"", "0", "8", "0xff"], "File": "WebAssemblyAsmBackend26", "Func": "applyFixup", "Target": "WebAssembly", "Target_Clf": "Virtual ISA", "Compiler_Type": "LLVM", "Idx": 4177, "Length": 148, "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": 4178, "Length": 73, "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": 4179, "Length": 105, "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": 4180, "Length": 19, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "bool", "SIFoldOperands", "::", "runOnMachineFunction", "(", "MachineFunction", "&", "MF", ")", "{", "if", "(", "skipFunction", "(", "MF", ".", "getFunction", "(", ")", ")", ")", "return", "false", ";", "MRI", "=", "&", "MF", ".", "getRegInfo", "(", ")", ";", "ST", "=", "&", "MF", ".", "getSubtarget", "<", "GCNSubtarget", ">", "(", ")", ";", "TII", "=", "ST", "->", "getInstrInfo", "(", ")", ";", "TRI", "=", "&", "TII", "->", "getRegisterInfo", "(", ")", ";", "MFI", "=", "MF", ".", "getInfo", "<", "SIMachineFunctionInfo", ">", "(", ")", ";", "bool", "IsIEEEMode", "=", "MFI", "->", "getMode", "(", ")", ".", "IEEE", ";", "bool", "HasNSZ", "=", "MFI", "->", "hasNoSignedZerosFPMath", "(", ")", ";", "for", "(", "MachineBasicBlock", "*", "MBB", ":", "depth_first", "(", "&", "MF", ")", ")", "{", "MachineBasicBlock", "::", "iterator", "I", ",", "Next", ";", "for", "(", "I", "=", "MBB", "->", "begin", "(", ")", ";", "I", "!=", "MBB", "->", "end", "(", ")", ";", "I", "=", "Next", ")", "{", "Next", "=", "std", "::", "next", "(", "I", ")", ";", "MachineInstr", "&", "MI", "=", "*", "I", ";", "tryFoldInst", "(", "TII", ",", "&", "MI", ")", ";", "if", "(", "!", "TII", "->", "isFoldableCopy", "(", "MI", ")", ")", "{", "if", "(", "IsIEEEMode", "||", "(", "!", "HasNSZ", "&&", "!", "MI", ".", "getFlag", "(", "MachineInstr", "::", "FmNsz", ")", ")", "||", "!", "tryFoldOMod", "(", "MI", ")", ")", "tryFoldClamp", "(", "MI", ")", ";", "continue", ";", "}", "MachineOperand", "&", "OpToFold", "=", "MI", ".", "getOperand", "(", "1", ")", ";", "bool", "FoldingImm", "=", "OpToFold", ".", "isImm", "(", ")", "||", "OpToFold", ".", "isFI", "(", ")", "||", "OpToFold", ".", "isGlobal", "(", ")", ";", "if", "(", "!", "FoldingImm", "&&", "!", "OpToFold", ".", "isReg", "(", ")", ")", "continue", ";", "if", "(", "OpToFold", ".", "isReg", "(", ")", "&&", "!", "Register", "::", "isVirtualRegister", "(", "OpToFold", ".", "getReg", "(", ")", ")", ")", "continue", ";", "MachineOperand", "&", "Dst", "=", "MI", ".", "getOperand", "(", "0", ")", ";", "if", "(", "Dst", ".", "isReg", "(", ")", "&&", "!", "Register", "::", "isVirtualRegister", "(", "Dst", ".", "getReg", "(", ")", ")", ")", "continue", ";", "foldInstOperand", "(", "MI", ",", "OpToFold", ")", ";", "}", "}", "return", "false", ";", "}", ""], "natrual_language": ["runOnMachineFunction", "-", "Emit", "the", "function", "body", "."], "TS_V_token": ["AMDGPU", "SI", "SI", "1", "0"], "File": "SIFoldOperands23", "Func": "runOnMachineFunction", "Target": "AMDGPU", "Target_Clf": "GPU", "Compiler_Type": "LLVM", "Idx": 4181, "Length": 318, "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": 4182, "Length": 52, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "unsigned", "HexagonInstrInfo", "::", "isLoadFromStackSlot", "(", "const", "MachineInstr", "&", "MI", ",", "int", "&", "FrameIndex", ")", "const", "{", "switch", "(", "MI", ".", "getOpcode", "(", ")", ")", "{", "default", ":", "break", ";", "case", "Hexagon", "::", "L2_loadrb_io", ":", "case", "Hexagon", "::", "L2_loadrub_io", ":", "case", "Hexagon", "::", "L2_loadrh_io", ":", "case", "Hexagon", "::", "L2_loadruh_io", ":", "case", "Hexagon", "::", "L2_loadri_io", ":", "case", "Hexagon", "::", "L2_loadrd_io", ":", "case", "Hexagon", "::", "V6_vL32b_ai", ":", "case", "Hexagon", "::", "V6_vL32b_ai_128B", ":", "case", "Hexagon", "::", "V6_vL32Ub_ai", ":", "case", "Hexagon", "::", "V6_vL32Ub_ai_128B", ":", "case", "Hexagon", "::", "LDriw_pred", ":", "case", "Hexagon", "::", "LDriw_mod", ":", "case", "Hexagon", "::", "LDriq_pred_V6", ":", "case", "Hexagon", "::", "LDriq_pred_vec_V6", ":", "case", "Hexagon", "::", "LDriv_pseudo_V6", ":", "case", "Hexagon", "::", "LDrivv_pseudo_V6", ":", "case", "Hexagon", "::", "LDriq_pred_V6_128B", ":", "case", "Hexagon", "::", "LDriq_pred_vec_V6_128B", ":", "case", "Hexagon", "::", "LDriv_pseudo_V6_128B", ":", "case", "Hexagon", "::", "LDrivv_pseudo_V6_128B", ":", "{", "const", "MachineOperand", "OpFI", "=", "MI", ".", "getOperand", "(", "1", ")", ";", "if", "(", "!", "OpFI", ".", "isFI", "(", ")", ")", "return", "0", ";", "const", "MachineOperand", "OpOff", "=", "MI", ".", "getOperand", "(", "2", ")", ";", "if", "(", "!", "OpOff", ".", "isImm", "(", ")", "||", "OpOff", ".", "getImm", "(", ")", "!=", "0", ")", "return", "0", ";", "FrameIndex", "=", "OpFI", ".", "getIndex", "(", ")", ";", "return", "MI", ".", "getOperand", "(", "0", ")", ".", "getReg", "(", ")", ";", "}", "case", "Hexagon", "::", "L2_ploadrbt_io", ":", "case", "Hexagon", "::", "L2_ploadrbf_io", ":", "case", "Hexagon", "::", "L2_ploadrubt_io", ":", "case", "Hexagon", "::", "L2_ploadrubf_io", ":", "case", "Hexagon", "::", "L2_ploadrht_io", ":", "case", "Hexagon", "::", "L2_ploadrhf_io", ":", "case", "Hexagon", "::", "L2_ploadruht_io", ":", "case", "Hexagon", "::", "L2_ploadruhf_io", ":", "case", "Hexagon", "::", "L2_ploadrit_io", ":", "case", "Hexagon", "::", "L2_ploadrif_io", ":", "case", "Hexagon", "::", "L2_ploadrdt_io", ":", "case", "Hexagon", "::", "L2_ploadrdf_io", ":", "{", "const", "MachineOperand", "OpFI", "=", "MI", ".", "getOperand", "(", "2", ")", ";", "if", "(", "!", "OpFI", ".", "isFI", "(", ")", ")", "return", "0", ";", "const", "MachineOperand", "OpOff", "=", "MI", ".", "getOperand", "(", "3", ")", ";", "if", "(", "!", "OpOff", ".", "isImm", "(", ")", "||", "OpOff", ".", "getImm", "(", ")", "!=", "0", ")", "return", "0", ";", "FrameIndex", "=", "OpFI", ".", "getIndex", "(", ")", ";", "return", "MI", ".", "getOperand", "(", "0", ")", ".", "getReg", "(", ")", ";", "}", "}", "return", "0", ";", "}", ""], "natrual_language": ["isLoadFromStackSlot", "-", "If", "the", "specified", "machine", "instruction", "is", "a", "direct", "load", "from", "a", "stack", "slot", ",", "return", "the", "virtual", "or", "physical", "register", "number", "of", "the", "destination", "along", "with", "the", "FrameIndex", "of", "the", "loaded", "stack", "slot", "."], "TS_V_token": ["Hexagon", "Hexagon", "Hexagon::L2_loadrb_io", "Hexagon::L2_loadrub_io", "Hexagon::L2_loadrh_io", "Hexagon::L2_loadruh_io", "Hexagon::L2_loadri_io", "Hexagon::L2_loadrd_io", "Hexagon::V6_vL32b_ai", "Hexagon::V6_vL32b_ai_128B", "Hexagon::V6_vL32Ub_ai", "Hexagon::V6_vL32Ub_ai_128B", "Hexagon::LDriw_pred", "Hexagon::LDriw_mod", "Hexagon::LDriq_pred_V6", "Hexagon::LDriq_pred_vec_V6", "Hexagon::LDriv_pseudo_V6", "Hexagon::LDrivv_pseudo_V6", "Hexagon::LDriq_pred_V6_128B", "Hexagon::LDriq_pred_vec_V6_128B", "Hexagon::LDriv_pseudo_V6_128B", "Hexagon::LDrivv_pseudo_V6_128B", "1", "0", "2", "0", "0", "0", "Hexagon::L2_ploadrbt_io", "Hexagon::L2_ploadrbf_io", "Hexagon::L2_ploadrubt_io", "Hexagon::L2_ploadrubf_io", "Hexagon::L2_ploadrht_io", "Hexagon::L2_ploadrhf_io", "Hexagon::L2_ploadruht_io", "Hexagon::L2_ploadruhf_io", "Hexagon::L2_ploadrit_io", "Hexagon::L2_ploadrif_io", "Hexagon::L2_ploadrdt_io", "Hexagon::L2_ploadrdf_io", "2", "0", "3", "0", "0", "0", "0"], "File": "HexagonInstrInfo (2)", "Func": "isLoadFromStackSlot", "Target": "Hexagon", "Target_Clf": "DSP", "Compiler_Type": "LLVM", "Idx": 4183, "Length": 346, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "void", "OR1KInstrInfo", "::", "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", "==", "&", "OR1K", "::", "GPRRegClass", ")", "BuildMI", "(", "MBB", ",", "I", ",", "DL", ",", "get", "(", "OR1K", "::", "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": ["OR1K", "OR1K", "OR1K::GPRRegClass", "OR1K::SW", "0", "\"Can't store this register to stack slot\""], "File": "OR1KInstrInfo", "Func": "storeRegToStackSlot", "Target": "OR1K", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 4184, "Length": 108, "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": 4185, "Length": 26, "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": 4186, "Length": 197, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "bool", "tilegx_legitimate_pic_operand_p", "(", "rtx", "x", ")", "{", "if", "(", "tilegx_pic_address_needs_scratch", "(", "x", ")", ")", "return", "false", ";", "if", "(", "tilegx_tls_referenced_p", "(", "x", ")", ")", "return", "false", ";", "return", "true", ";", "}", ""], "natrual_language": ["Return", "true", "if", "the", "constant", "value", "X", "is", "a", "legitimate", "general", "operand", "when", "generating", "PIC", "code", ".", "It", "is", "given", "that", "flag_pic", "is", "on", "and", "that", "X", "satisfies", "CONSTANT_P", "."], "TS_V_token": ["tilegx"], "File": "tilegx", "Func": "tilegx_legitimate_pic_operand_p", "Target": "tilegx", "Target_Clf": "VLIW", "Compiler_Type": "GCC", "Idx": 4187, "Length": 31, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "void", "MipsTargetELFStreamer", "::", "emitLabel", "(", "MCSymbol", "*", "S", ")", "{", "auto", "*", "Symbol", "=", "cast", "<", "MCSymbolELF", ">", "(", "S", ")", ";", "getStreamer", "(", ")", ".", "getAssembler", "(", ")", ".", "registerSymbol", "(", "*", "Symbol", ")", ";", "uint8_t", "Type", "=", "Symbol", "->", "getType", "(", ")", ";", "if", "(", "Type", "!=", "ELF", "::", "STT_FUNC", ")", "return", ";", "if", "(", "isMicroMipsEnabled", "(", ")", ")", "Symbol", "->", "setOther", "(", "ELF", "::", "STO_MIPS_MICROMIPS", ")", ";", "}", ""], "natrual_language": ["Emit", "a", "label", "for", "Symbol", "into", "the", "current", "section", "."], "TS_V_token": ["Mips", "Mips", "Mips"], "File": "MipsTargetStreamer (2)1", "Func": "emitLabel", "Target": "Mips", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 4188, "Length": 71, "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": 4189, "Length": 93, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "static", "bool", "avr_frame_pointer_required_p", "(", "void", ")", "{", "return", "(", "cfun", "->", "calls_alloca", "||", "cfun", "->", "calls_setjmp", "||", "cfun", "->", "has_nonlocal_label", "||", "crtl", "->", "args", ".", "info", ".", "nregs", "==", "0", "||", "get_frame_size", "(", ")", ">", "0", ")", ";", "}", ""], "natrual_language": ["Return", "1", "if", "frame", "pointer", "for", "current", "function", "required", "."], "TS_V_token": ["avr", "0", "0"], "File": "avr", "Func": "avr_frame_pointer_required_p", "Target": "avr", "Target_Clf": "MPU", "Compiler_Type": "GCC", "Idx": 4190, "Length": 39, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "unsigned", "HexagonTTIImpl", "::", "getNumberOfRegisters", "(", "bool", "Vector", ")", "const", "{", "if", "(", "Vector", ")", "return", "HexagonAutoHVX", "&&", "getST", "(", ")", "->", "useHVXOps", "(", ")", "?", "32", ":", "0", ";", "return", "32", ";", "}", ""], "natrual_language": ["\ufffd", "?", "Vector", "TTI", "begin", "\ufffd", "?"], "TS_V_token": ["Hexagon", "Hexagon", "Hexagon", "32", "0", "32"], "File": "HexagonTargetTransformInfo29", "Func": "getNumberOfRegisters", "Target": "Hexagon", "Target_Clf": "DSP", "Compiler_Type": "LLVM", "Idx": 4191, "Length": 33, "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": 4192, "Length": 50, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "const", "CallLowering", "*", "getCallLowering", "(", ")", "const", "override", "{", "assert", "(", "GISel", "&&", "\"Access to GlobalISel APIs not set\"", ")", ";", "return", "GISel", "->", "getCallLowering", "(", ")", ";", "}", ""], "natrual_language": ["Methods", "used", "by", "Global", "ISel", "."], "TS_V_token": ["AMDGPU", "\"Access to GlobalISel APIs not set\""], "File": "AMDGPUSubtarget10", "Func": "getCallLowering", "Target": "AMDGPU", "Target_Clf": "GPU", "Compiler_Type": "LLVM", "Idx": 4193, "Length": 24, "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": 4194, "Length": 39, "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": 4195, "Length": 64, "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": 4196, "Length": 267, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "void", "MSP430RegisterInfo", "::", "eliminateFrameIndex", "(", "MachineBasicBlock", "::", "iterator", "II", ",", "int", "SPAdj", ",", "unsigned", "FIOperandNum", ",", "RegScavenger", "*", "RS", ")", "const", "{", "assert", "(", "SPAdj", "==", "0", "&&", "\"Unexpected\"", ")", ";", "MachineInstr", "&", "MI", "=", "*", "II", ";", "MachineBasicBlock", "&", "MBB", "=", "*", "MI", ".", "getParent", "(", ")", ";", "MachineFunction", "&", "MF", "=", "*", "MBB", ".", "getParent", "(", ")", ";", "const", "TargetFrameLowering", "*", "TFI", "=", "MF", ".", "getTarget", "(", ")", ".", "getFrameLowering", "(", ")", ";", "DebugLoc", "dl", "=", "MI", ".", "getDebugLoc", "(", ")", ";", "int", "FrameIndex", "=", "MI", ".", "getOperand", "(", "FIOperandNum", ")", ".", "getIndex", "(", ")", ";", "unsigned", "BasePtr", "=", "(", "TFI", "->", "hasFP", "(", "MF", ")", "?", "MSP430", "::", "FPW", ":", "MSP430", "::", "SPW", ")", ";", "int", "Offset", "=", "MF", ".", "getFrameInfo", "(", ")", "->", "getObjectOffset", "(", "FrameIndex", ")", ";", "Offset", "+=", "2", ";", "if", "(", "!", "TFI", "->", "hasFP", "(", "MF", ")", ")", "Offset", "+=", "MF", ".", "getFrameInfo", "(", ")", "->", "getStackSize", "(", ")", ";", "else", "Offset", "+=", "2", ";", "Offset", "+=", "MI", ".", "getOperand", "(", "FIOperandNum", "+", "1", ")", ".", "getImm", "(", ")", ";", "if", "(", "MI", ".", "getOpcode", "(", ")", "==", "MSP430", "::", "ADD16ri", ")", "{", "const", "TargetInstrInfo", "&", "TII", "=", "*", "MF", ".", "getTarget", "(", ")", ".", "getInstrInfo", "(", ")", ";", "MI", ".", "setDesc", "(", "TII", ".", "get", "(", "MSP430", "::", "MOV16rr", ")", ")", ";", "MI", ".", "getOperand", "(", "FIOperandNum", ")", ".", "ChangeToRegister", "(", "BasePtr", ",", "false", ")", ";", "if", "(", "Offset", "==", "0", ")", "return", ";", "unsigned", "DstReg", "=", "MI", ".", "getOperand", "(", "0", ")", ".", "getReg", "(", ")", ";", "if", "(", "Offset", "<", "0", ")", "BuildMI", "(", "MBB", ",", "std", "::", "next", "(", "II", ")", ",", "dl", ",", "TII", ".", "get", "(", "MSP430", "::", "SUB16ri", ")", ",", "DstReg", ")", ".", "addReg", "(", "DstReg", ")", ".", "addImm", "(", "-", "Offset", ")", ";", "else", "BuildMI", "(", "MBB", ",", "std", "::", "next", "(", "II", ")", ",", "dl", ",", "TII", ".", "get", "(", "MSP430", "::", "ADD16ri", ")", ",", "DstReg", ")", ".", "addReg", "(", "DstReg", ")", ".", "addImm", "(", "Offset", ")", ";", "return", ";", "}", "MI", ".", "getOperand", "(", "FIOperandNum", ")", ".", "ChangeToRegister", "(", "BasePtr", ",", "false", ")", ";", "MI", ".", "getOperand", "(", "FIOperandNum", "+", "1", ")", ".", "ChangeToImmediate", "(", "Offset", ")", ";", "}", ""], "natrual_language": ["This", "method", "must", "be", "overriden", "to", "eliminate", "abstract", "frame", "indices", "from", "instructions", "which", "may", "use", "them", "."], "TS_V_token": ["MSP430", "MSP430", "0", "\"Unexpected\"", "MSP430::FPW", "MSP430::SPW", "2", "2", "1", "MSP430::ADD16ri", "MSP430::MOV16rr", "0", "0", "0", "MSP430::SUB16ri", "MSP430::ADD16ri", "1"], "File": "MSP430RegisterInfo", "Func": "eliminateFrameIndex", "Target": "MSP430", "Target_Clf": "MPU", "Compiler_Type": "LLVM", "Idx": 4197, "Length": 367, "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": 4198, "Length": 88, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "bool", "NVPTXAsmPrinter", "::", "doInitialization", "(", "Module", "&", "M", ")", "{", "SmallString", "<", "128", ">", "Str1", ";", "raw_svector_ostream", "OS1", "(", "Str1", ")", ";", "MMI", "=", "getAnalysisIfAvailable", "<", "MachineModuleInfo", ">", "(", ")", ";", "MMI", "->", "AnalyzeModule", "(", "M", ")", ";", "const_cast", "<", "TargetLoweringObjectFile", "&", ">", "(", "getObjFileLowering", "(", ")", ")", ".", "Initialize", "(", "OutContext", ",", "TM", ")", ";", "Mang", "=", "new", "Mangler", "(", "OutContext", ",", "&", "TM", ")", ";", "emitHeader", "(", "M", ",", "OS1", ")", ";", "OutStreamer", ".", "EmitRawText", "(", "OS1", ".", "str", "(", ")", ")", ";", "if", "(", "nvptxSubtarget", ".", "getDrvInterface", "(", ")", "==", "NVPTX", "::", "CUDA", ")", "recordAndEmitFilenames", "(", "M", ")", ";", "GlobalsEmitted", "=", "false", ";", "return", "false", ";", "}", ""], "natrual_language": ["Set", "up", "the", "AsmPrinter", "when", "we", "are", "working", "on", "a", "new", "module", "."], "TS_V_token": ["NVPTX", "NVPTX", "128", "NVPTX::CUDA"], "File": "NVPTXAsmPrinter88", "Func": "doInitialization", "Target": "NVPTX", "Target_Clf": "GPU", "Compiler_Type": "LLVM", "Idx": 4199, "Length": 110, "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": 4200, "Length": 16, "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": 4201, "Length": 38, "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": 4202, "Length": 302, "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": 4203, "Length": 321, "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": 4204, "Length": 120, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "static", "int", "microblaze_address_insns", "(", "rtx", "x", ",", "machine_mode", "mode", ")", "{", "struct", "microblaze_address_info", "addr", ";", "if", "(", "microblaze_classify_address", "(", "&", "addr", ",", "x", ",", "mode", ",", "false", ")", ")", "{", "switch", "(", "addr", ".", "type", ")", "{", "case", "ADDRESS_REG", ":", "if", "(", "SMALL_INT", "(", "addr", ".", "offset", ")", ")", "return", "1", ";", "else", "return", "2", ";", "case", "ADDRESS_CONST_INT", ":", "if", "(", "SMALL_INT", "(", "x", ")", ")", "return", "1", ";", "else", "return", "2", ";", "case", "ADDRESS_REG_INDEX", ":", "return", "1", ";", "case", "ADDRESS_SYMBOLIC", ":", "case", "ADDRESS_SYMBOLIC_TXT_REL", ":", "case", "ADDRESS_GOTOFF", ":", "return", "2", ";", "case", "ADDRESS_TLS", ":", "switch", "(", "addr", ".", "tls_type", ")", "{", "case", "TLS_GD", ":", "return", "2", ";", "case", "TLS_LDM", ":", "return", "2", ";", "case", "TLS_DTPREL", ":", "return", "1", ";", "default", ":", "abort", "(", ")", ";", "}", "default", ":", "break", ";", "}", "}", "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", "."], "TS_V_token": ["microblaze", "1", "2", "1", "2", "1", "2", "2", "2", "1", "0"], "File": "microblaze", "Func": "microblaze_address_insns", "Target": "microblaze", "Target_Clf": "MPU", "Compiler_Type": "GCC", "Idx": 4205, "Length": 136, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "bool", "ix86_expand_pinsr", "(", "rtx", "*", "operands", ")", "{", "rtx", "dst", "=", "operands", "[", "0", "]", ";", "rtx", "src", "=", "operands", "[", "3", "]", ";", "unsigned", "int", "size", "=", "INTVAL", "(", "operands", "[", "1", "]", ")", ";", "unsigned", "int", "pos", "=", "INTVAL", "(", "operands", "[", "2", "]", ")", ";", "if", "(", "SUBREG_P", "(", "dst", ")", ")", "{", "pos", "+=", "SUBREG_BYTE", "(", "dst", ")", "*", "BITS_PER_UNIT", ";", "dst", "=", "SUBREG_REG", "(", "dst", ")", ";", "}", "switch", "(", "GET_MODE", "(", "dst", ")", ")", "{", "case", "V16QImode", ":", "case", "V8HImode", ":", "case", "V4SImode", ":", "case", "V2DImode", ":", "case", "V1TImode", ":", "case", "TImode", ":", "{", "machine_mode", "srcmode", ",", "dstmode", ";", "rtx", "(", "*", "pinsr", ")", "(", "rtx", ",", "rtx", ",", "rtx", ",", "rtx", ")", ";", "rtx", "d", ";", "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", ";", "}", "if", "(", "pos", "&", "(", "size", "-", "1", ")", ")", "return", "false", ";", "if", "(", "SUBREG_P", "(", "src", ")", ")", "{", "unsigned", "int", "srcpos", "=", "SUBREG_BYTE", "(", "src", ")", ";", "if", "(", "srcpos", ">", "0", ")", "{", "rtx", "extr_ops", "[", "4", "]", ";", "extr_ops", "[", "0", "]", "=", "gen_reg_rtx", "(", "srcmode", ")", ";", "extr_ops", "[", "1", "]", "=", "gen_lowpart", "(", "srcmode", ",", "SUBREG_REG", "(", "src", ")", ")", ";", "extr_ops", "[", "2", "]", "=", "GEN_INT", "(", "size", ")", ";", "extr_ops", "[", "3", "]", "=", "GEN_INT", "(", "srcpos", "*", "BITS_PER_UNIT", ")", ";", "if", "(", "!", "ix86_expand_pextr", "(", "extr_ops", ")", ")", "return", "false", ";", "src", "=", "extr_ops", "[", "0", "]", ";", "}", "else", "src", "=", "gen_lowpart", "(", "srcmode", ",", "SUBREG_REG", "(", "src", ")", ")", ";", "}", "if", "(", "GET_MODE", "(", "dst", ")", "==", "dstmode", ")", "d", "=", "dst", ";", "else", "d", "=", "gen_reg_rtx", "(", "dstmode", ")", ";", "emit_insn", "(", "pinsr", "(", "d", ",", "gen_lowpart", "(", "dstmode", ",", "dst", ")", ",", "gen_lowpart", "(", "srcmode", ",", "src", ")", ",", "GEN_INT", "(", "1", "<<", "(", "pos", "/", "size", ")", ")", ")", ")", ";", "if", "(", "d", "!=", "dst", ")", "emit_move_insn", "(", "dst", ",", "gen_lowpart", "(", "GET_MODE", "(", "dst", ")", ",", "d", ")", ")", ";", "return", "true", ";", "}", "default", ":", "return", "false", ";", "}", "}", ""], "natrual_language": ["Expand", "an", "insert", "into", "a", "vector", "register", "through", "pinsr", "insn", ".", "Return", "true", "if", "successful", "."], "TS_V_token": ["i386", "0", "3", "1", "2", "0", "1", "0", "4", "0", "1", "2", "3", "0", "1"], "File": "i3865", "Func": "ix86_expand_pinsr", "Target": "i386", "Target_Clf": "CPU", "Compiler_Type": "GCC", "Idx": 4206, "Length": 443, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "const", "uint32_t", "*", "SIRegisterInfo", "::", "getCallPreservedMask", "(", "const", "MachineFunction", "&", "MF", ",", "CallingConv", "::", "ID", "CC", ")", "const", "{", "switch", "(", "CC", ")", "{", "case", "CallingConv", "::", "C", ":", "case", "CallingConv", "::", "Fast", ":", "case", "CallingConv", "::", "Cold", ":", "return", "MF", ".", "getSubtarget", "<", "GCNSubtarget", ">", "(", ")", ".", "hasGFX90AInsts", "(", ")", "?", "CSR_AMDGPU_HighRegs_With_AGPRs_RegMask", ":", "CSR_AMDGPU_HighRegs_RegMask", ";", "case", "CallingConv", "::", "AMDGPU_Gfx", ":", "return", "MF", ".", "getSubtarget", "<", "GCNSubtarget", ">", "(", ")", ".", "hasGFX90AInsts", "(", ")", "?", "CSR_AMDGPU_SI_Gfx_With_AGPRs_RegMask", ":", "CSR_AMDGPU_SI_Gfx_RegMask", ";", "default", ":", "return", "nullptr", ";", "}", "}", ""], "natrual_language": ["Return", "a", "mask", "of", "call-preserved", "registers", "for", "the", "given", "calling", "convention", "on", "the", "current", "function", "."], "TS_V_token": ["AMDGPU", "SI", "AMDGPU", "AMDGPU", "AMDGPU", "SI", "SI"], "File": "SIRegisterInfo24", "Func": "getCallPreservedMask", "Target": "AMDGPU", "Target_Clf": "GPU", "Compiler_Type": "LLVM", "Idx": 4207, "Length": 87, "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": 4208, "Length": 120, "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": ["Hexagon"], "File": "HexagonCopyToCombine (2)", "Func": "getAnalysisUsage", "Target": "Hexagon", "Target_Clf": "DSP", "Compiler_Type": "LLVM", "Idx": 4209, "Length": 18, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "void", "ARMTargetLowering", "::", "ReplaceNodeResults", "(", "SDNode", "*", "N", ",", "SmallVectorImpl", "<", "SDValue", ">", "&", "Results", ",", "SelectionDAG", "&", "DAG", ")", "{", "switch", "(", "N", "->", "getOpcode", "(", ")", ")", "{", "default", ":", "llvm_unreachable", "(", "\"Don't know how to custom expand this!\"", ")", ";", "return", ";", "case", "ISD", "::", "BIT_CONVERT", ":", "Results", ".", "push_back", "(", "ExpandBIT_CONVERT", "(", "N", ",", "DAG", ")", ")", ";", "return", ";", "case", "ISD", "::", "SRL", ":", "case", "ISD", "::", "SRA", ":", "{", "SDValue", "Res", "=", "LowerShift", "(", "N", ",", "DAG", ",", "Subtarget", ")", ";", "if", "(", "Res", ".", "getNode", "(", ")", ")", "Results", ".", "push_back", "(", "Res", ")", ";", "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": ["ARM", "ARM", "\"Don't know how to custom expand this!\"", "ISD::BIT_CONVERT", "ISD::SRL", "ISD::SRA"], "File": "ARMISelLowering109", "Func": "ReplaceNodeResults", "Target": "ARM", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 4210, "Length": 101, "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": 4211, "Length": 467, "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": "SystemZInstrInfo38", "Func": "PredicateInstruction", "Target": "SystemZ", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 4212, "Length": 158, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "bool", "AMDGPUResourceUsageAnalysis", "::", "runOnModule", "(", "Module", "&", "M", ")", "{", "auto", "*", "TPC", "=", "getAnalysisIfAvailable", "<", "TargetPassConfig", ">", "(", ")", ";", "if", "(", "!", "TPC", ")", "return", "false", ";", "MachineModuleInfo", "&", "MMI", "=", "getAnalysis", "<", "MachineModuleInfoWrapperPass", ">", "(", ")", ".", "getMMI", "(", ")", ";", "const", "TargetMachine", "&", "TM", "=", "TPC", "->", "getTM", "<", "TargetMachine", ">", "(", ")", ";", "bool", "HasIndirectCall", "=", "false", ";", "for", "(", "Function", "&", "F", ":", "M", ")", "{", "if", "(", "F", ".", "isDeclaration", "(", ")", ")", "continue", ";", "MachineFunction", "*", "MF", "=", "MMI", ".", "getMachineFunction", "(", "F", ")", ";", "assert", "(", "MF", "&&", "\"function must have been generated already\"", ")", ";", "auto", "CI", "=", "CallGraphResourceInfo", ".", "insert", "(", "std", "::", "make_pair", "(", "&", "F", ",", "SIFunctionResourceInfo", "(", ")", ")", ")", ";", "SIFunctionResourceInfo", "&", "Info", "=", "CI", ".", "first", "->", "second", ";", "assert", "(", "CI", ".", "second", "&&", "\"should only be called once per function\"", ")", ";", "Info", "=", "analyzeResourceUsage", "(", "*", "MF", ",", "TM", ")", ";", "HasIndirectCall", "|=", "Info", ".", "HasIndirectCall", ";", "}", "if", "(", "HasIndirectCall", ")", "propagateIndirectCallRegisterUsage", "(", ")", ";", "return", "false", ";", "}", ""], "natrual_language": ["runOnModule", "-", "Virtual", "method", "overriden", "by", "subclasses", "to", "process", "the", "module", "being", "operated", "on", "."], "TS_V_token": ["AMDGPU", "AMDGPU", "\"function must have been generated already\"", "SI", "SI", "\"should only be called once per function\""], "File": "AMDGPUResourceUsageAnalysis1", "Func": "runOnModule", "Target": "AMDGPU", "Target_Clf": "GPU", "Compiler_Type": "LLVM", "Idx": 4213, "Length": 168, "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": 4214, "Length": 40, "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": 4215, "Length": 223, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "static", "rtx", "microblaze_function_arg", "(", "cumulative_args_t", "cum_v", ",", "const", "function_arg_info", "&", "arg", ")", "{", "CUMULATIVE_ARGS", "*", "cum", "=", "get_cumulative_args", "(", "cum_v", ")", ";", "rtx", "ret", ";", "int", "regbase", "=", "-", "1", ";", "int", "*", "arg_words", "=", "&", "cum", "->", "arg_words", ";", "cum", "->", "last_arg_fp", "=", "0", ";", "switch", "(", "arg", ".", "mode", ")", "{", "case", "E_SFmode", ":", "case", "E_DFmode", ":", "case", "E_VOIDmode", ":", "case", "E_QImode", ":", "case", "E_HImode", ":", "case", "E_SImode", ":", "case", "E_DImode", ":", "case", "E_TImode", ":", "regbase", "=", "GP_ARG_FIRST", ";", "break", ";", "default", ":", "gcc_assert", "(", "GET_MODE_CLASS", "(", "arg", ".", "mode", ")", "==", "MODE_COMPLEX_INT", "||", "GET_MODE_CLASS", "(", "arg", ".", "mode", ")", "==", "MODE_COMPLEX_FLOAT", ")", ";", "case", "E_BLKmode", ":", "regbase", "=", "GP_ARG_FIRST", ";", "break", ";", "}", "if", "(", "*", "arg_words", ">=", "MAX_ARGS_IN_REGISTERS", ")", "ret", "=", "0", ";", "else", "{", "gcc_assert", "(", "regbase", "!=", "-", "1", ")", ";", "ret", "=", "gen_rtx_REG", "(", "arg", ".", "mode", ",", "regbase", "+", "*", "arg_words", ")", ";", "}", "if", "(", "arg", ".", "end_marker_p", "(", ")", ")", "{", "if", "(", "cum", "->", "num_adjusts", ">", "0", ")", "ret", "=", "gen_rtx_PARALLEL", "(", "(", "machine_mode", ")", "cum", "->", "fp_code", ",", "gen_rtvec_v", "(", "cum", "->", "num_adjusts", ",", "cum", "->", "adjust", ")", ")", ";", "}", "return", "ret", ";", "}", ""], "natrual_language": ["Return", "an", "RTL", "expression", "containing", "the", "register", "for", "the", "given", "mode", ",", "or", "0", "if", "the", "argument", "is", "to", "be", "passed", "on", "the", "stack", "."], "TS_V_token": ["microblaze", "1", "0", "0", "1", "0"], "File": "microblaze", "Func": "microblaze_function_arg", "Target": "microblaze", "Target_Clf": "MPU", "Compiler_Type": "GCC", "Idx": 4216, "Length": 197, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "unsigned", "SIInstrInfo", "::", "readlaneVGPRToSGPR", "(", "unsigned", "SrcReg", ",", "MachineInstr", "&", "UseMI", ",", "MachineRegisterInfo", "&", "MRI", ")", "const", "{", "const", "TargetRegisterClass", "*", "VRC", "=", "MRI", ".", "getRegClass", "(", "SrcReg", ")", ";", "const", "TargetRegisterClass", "*", "SRC", "=", "RI", ".", "getEquivalentSGPRClass", "(", "VRC", ")", ";", "unsigned", "DstReg", "=", "MRI", ".", "createVirtualRegister", "(", "SRC", ")", ";", "unsigned", "SubRegs", "=", "RI", ".", "getRegSizeInBits", "(", "*", "VRC", ")", "/", "32", ";", "SmallVector", "<", "unsigned", ",", "8", ">", "SRegs", ";", "for", "(", "unsigned", "i", "=", "0", ";", "i", "<", "SubRegs", ";", "++", "i", ")", "{", "unsigned", "SGPR", "=", "MRI", ".", "createVirtualRegister", "(", "&", "AMDGPU", "::", "SGPR_32RegClass", ")", ";", "BuildMI", "(", "*", "UseMI", ".", "getParent", "(", ")", ",", "UseMI", ",", "UseMI", ".", "getDebugLoc", "(", ")", ",", "get", "(", "AMDGPU", "::", "V_READFIRSTLANE_B32", ")", ",", "SGPR", ")", ".", "addReg", "(", "SrcReg", ",", "0", ",", "RI", ".", "getSubRegFromChannel", "(", "i", ")", ")", ";", "SRegs", ".", "push_back", "(", "SGPR", ")", ";", "}", "MachineInstrBuilder", "MIB", "=", "BuildMI", "(", "*", "UseMI", ".", "getParent", "(", ")", ",", "UseMI", ",", "UseMI", ".", "getDebugLoc", "(", ")", ",", "get", "(", "AMDGPU", "::", "REG_SEQUENCE", ")", ",", "DstReg", ")", ";", "for", "(", "unsigned", "i", "=", "0", ";", "i", "<", "SubRegs", ";", "++", "i", ")", "{", "MIB", ".", "addReg", "(", "SRegs", "[", "i", "]", ")", ";", "MIB", ".", "addImm", "(", "RI", ".", "getSubRegFromChannel", "(", "i", ")", ")", ";", "}", "return", "DstReg", ";", "}", ""], "natrual_language": ["Copy", "a", "value", "from", "a", "VGPR", "(", "SrcReg", ")", "to", "SGPR", "."], "TS_V_token": ["AMDGPU", "SI", "32", "8", "0", "AMDGPU::SGPR_32RegClass", "AMDGPU::V_READFIRSTLANE_B32", "0", "AMDGPU::REG_SEQUENCE", "0"], "File": "SIInstrInfo (2)", "Func": "readlaneVGPRToSGPR", "Target": "AMDGPU", "Target_Clf": "GPU", "Compiler_Type": "LLVM", "Idx": 4217, "Length": 222, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "TargetLowering", "::", "AtomicExpansionKind", "HexagonTargetLowering", "::", "shouldExpandAtomicLoadInIR", "(", "LoadInst", "*", "LI", ")", "const", "{", "return", "LI", "->", "getType", "(", ")", "->", "getPrimitiveSizeInBits", "(", ")", ">", "64", "?", "AtomicExpansionKind", "::", "LLSC", ":", "AtomicExpansionKind", "::", "None", ";", "}", ""], "natrual_language": ["Returns", "how", "the", "given", "(", "atomic", ")", "load", "should", "be", "expanded", "by", "the", "IR-level", "AtomicExpand", "pass", "."], "TS_V_token": ["Hexagon", "Hexagon", "64"], "File": "HexagonISelLowering", "Func": "shouldExpandAtomicLoadInIR", "Target": "Hexagon", "Target_Clf": "DSP", "Compiler_Type": "LLVM", "Idx": 4218, "Length": 35, "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": 4219, "Length": 85, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "bool", "WebAssemblyOptimizeLiveIntervals", "::", "runOnMachineFunction", "(", "MachineFunction", "&", "MF", ")", "{", "LLVM_DEBUG", "(", "dbgs", "(", ")", "<<", "\"********** Optimize LiveIntervals **********\\n\"", "\"********** Function: \"", "<<", "MF", ".", "getName", "(", ")", "<<", "'\\n'", ")", ";", "MachineRegisterInfo", "&", "MRI", "=", "MF", ".", "getRegInfo", "(", ")", ";", "LiveIntervals", "&", "LIS", "=", "getAnalysis", "<", "LiveIntervals", ">", "(", ")", ";", "MRI", ".", "leaveSSA", "(", ")", ";", "assert", "(", "MRI", ".", "tracksLiveness", "(", ")", "&&", "\"OptimizeLiveIntervals expects liveness\"", ")", ";", "SmallVector", "<", "LiveInterval", "*", ",", "4", ">", "SplitLIs", ";", "for", "(", "unsigned", "i", "=", "0", ",", "e", "=", "MRI", ".", "getNumVirtRegs", "(", ")", ";", "i", "<", "e", ";", "++", "i", ")", "{", "unsigned", "Reg", "=", "TargetRegisterInfo", "::", "index2VirtReg", "(", "i", ")", ";", "if", "(", "MRI", ".", "reg_nodbg_empty", "(", "Reg", ")", ")", "continue", ";", "LIS", ".", "splitSeparateComponents", "(", "LIS", ".", "getInterval", "(", "Reg", ")", ",", "SplitLIs", ")", ";", "SplitLIs", ".", "clear", "(", ")", ";", "}", "for", "(", "auto", "MII", "=", "MF", ".", "begin", "(", ")", "->", "begin", "(", ")", ",", "MIE", "=", "MF", ".", "begin", "(", ")", "->", "end", "(", ")", ";", "MII", "!=", "MIE", ";", ")", "{", "MachineInstr", "*", "MI", "=", "&", "*", "MII", "++", ";", "if", "(", "MI", "->", "isImplicitDef", "(", ")", "&&", "MI", "->", "getOperand", "(", "0", ")", ".", "isDead", "(", ")", ")", "{", "LiveInterval", "&", "LI", "=", "LIS", ".", "getInterval", "(", "MI", "->", "getOperand", "(", "0", ")", ".", "getReg", "(", ")", ")", ";", "LIS", ".", "removeVRegDefAt", "(", "LI", ",", "LIS", ".", "getInstructionIndex", "(", "*", "MI", ")", ".", "getRegSlot", "(", ")", ")", ";", "LIS", ".", "RemoveMachineInstrFromMaps", "(", "*", "MI", ")", ";", "MI", "->", "eraseFromParent", "(", ")", ";", "}", "}", "return", "false", ";", "}", ""], "natrual_language": ["runOnMachineFunction", "-", "Emit", "the", "function", "body", "."], "TS_V_token": ["WebAssembly", "WebAssembly", "\"********** Optimize LiveIntervals **********\\n\"", "\"********** Function: \"", "\"OptimizeLiveIntervals expects liveness\"", "4", "0", "0", "0"], "File": "WebAssemblyOptimizeLiveIntervals", "Func": "runOnMachineFunction", "Target": "WebAssembly", "Target_Clf": "Virtual ISA", "Compiler_Type": "LLVM", "Idx": 4220, "Length": 261, "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": 4221, "Length": 24, "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)3", "Func": "isFMAFasterThanFMulAndFAdd", "Target": "X86", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 4222, "Length": 75, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "bool", "spillCalleeSavedRegisters", "(", "MachineBasicBlock", "&", "MBB", ",", "MachineBasicBlock", "::", "iterator", "MI", ",", "ArrayRef", "<", "CalleeSavedInfo", ">", "CSI", ",", "const", "TargetRegisterInfo", "*", "TRI", ")", "const", "override", "{", "return", "true", ";", "}", ""], "natrual_language": ["spillCalleeSavedRegisters", "-", "Issues", "instruction", "(", "s", ")", "to", "spill", "all", "callee", "saved", "registers", "and", "returns", "true", "if", "it", "is", "n't", "possible", "/", "profitable", "to", "do", "so", "by", "issuing", "a", "series", "of", "store", "instructions", "via", "storeRegToStackSlot", "(", ")", "."], "TS_V_token": ["Hexagon"], "File": "HexagonFrameLowering17", "Func": "spillCalleeSavedRegisters", "Target": "Hexagon", "Target_Clf": "DSP", "Compiler_Type": "LLVM", "Idx": 4223, "Length": 30, "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": 4224, "Length": 45, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "StringRef", "getPassName", "(", ")", "const", "override", "{", "return", "\"TPC Packetizer\"", ";", "}", ""], "natrual_language": ["getPassName", "-", "Return", "a", "nice", "clean", "name", "for", "a", "pass", "."], "TS_V_token": ["TPC", "\"TPC Packetizer\""], "File": "TPCVLIWPacketizer", "Func": "getPassName", "Target": "TPC", "Target_Clf": "Virtual ISA", "Compiler_Type": "LLVM", "Idx": 4225, "Length": 11, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "void", "SIInstrInfo", "::", "storeRegToStackSlot", "(", "MachineBasicBlock", "&", "MBB", ",", "MachineBasicBlock", "::", "iterator", "MI", ",", "unsigned", "SrcReg", ",", "bool", "isKill", ",", "int", "FrameIndex", ",", "const", "TargetRegisterClass", "*", "RC", ",", "const", "TargetRegisterInfo", "*", "TRI", ")", "const", "{", "MachineFunction", "*", "MF", "=", "MBB", ".", "getParent", "(", ")", ";", "SIMachineFunctionInfo", "*", "MFI", "=", "MF", "->", "getInfo", "<", "SIMachineFunctionInfo", ">", "(", ")", ";", "MachineFrameInfo", "*", "FrameInfo", "=", "MF", "->", "getFrameInfo", "(", ")", ";", "DebugLoc", "DL", "=", "MBB", ".", "findDebugLoc", "(", "MI", ")", ";", "unsigned", "Size", "=", "FrameInfo", "->", "getObjectSize", "(", "FrameIndex", ")", ";", "unsigned", "Align", "=", "FrameInfo", "->", "getObjectAlignment", "(", "FrameIndex", ")", ";", "MachinePointerInfo", "PtrInfo", "=", "MachinePointerInfo", "::", "getFixedStack", "(", "*", "MF", ",", "FrameIndex", ")", ";", "MachineMemOperand", "*", "MMO", "=", "MF", "->", "getMachineMemOperand", "(", "PtrInfo", ",", "MachineMemOperand", "::", "MOStore", ",", "Size", ",", "Align", ")", ";", "if", "(", "RI", ".", "isSGPRClass", "(", "RC", ")", ")", "{", "MFI", "->", "setHasSpilledSGPRs", "(", ")", ";", "if", "(", "TargetRegisterInfo", "::", "isVirtualRegister", "(", "SrcReg", ")", "&&", "RC", "->", "getSize", "(", ")", "==", "4", ")", "{", "MachineRegisterInfo", "&", "MRI", "=", "MF", "->", "getRegInfo", "(", ")", ";", "MRI", ".", "constrainRegClass", "(", "SrcReg", ",", "&", "AMDGPU", "::", "SReg_32_XM0RegClass", ")", ";", "}", "unsigned", "Opcode", "=", "getSGPRSpillSaveOpcode", "(", "RC", "->", "getSize", "(", ")", ")", ";", "BuildMI", "(", "MBB", ",", "MI", ",", "DL", ",", "get", "(", "Opcode", ")", ")", ".", "addReg", "(", "SrcReg", ",", "getKillRegState", "(", "isKill", ")", ")", ".", "addFrameIndex", "(", "FrameIndex", ")", ".", "addMemOperand", "(", "MMO", ")", ";", "return", ";", "}", "if", "(", "!", "ST", ".", "isVGPRSpillingEnabled", "(", "*", "MF", "->", "getFunction", "(", ")", ")", ")", "{", "LLVMContext", "&", "Ctx", "=", "MF", "->", "getFunction", "(", ")", "->", "getContext", "(", ")", ";", "Ctx", ".", "emitError", "(", "\"SIInstrInfo::storeRegToStackSlot - Do not know how to\"", "\" spill register\"", ")", ";", "BuildMI", "(", "MBB", ",", "MI", ",", "DL", ",", "get", "(", "AMDGPU", "::", "KILL", ")", ")", ".", "addReg", "(", "SrcReg", ")", ";", "return", ";", "}", "assert", "(", "RI", ".", "hasVGPRs", "(", "RC", ")", "&&", "\"Only VGPR spilling expected\"", ")", ";", "unsigned", "Opcode", "=", "getVGPRSpillSaveOpcode", "(", "RC", "->", "getSize", "(", ")", ")", ";", "MFI", "->", "setHasSpilledVGPRs", "(", ")", ";", "BuildMI", "(", "MBB", ",", "MI", ",", "DL", ",", "get", "(", "Opcode", ")", ")", ".", "addReg", "(", "SrcReg", ",", "getKillRegState", "(", "isKill", ")", ")", ".", "addFrameIndex", "(", "FrameIndex", ")", ".", "addReg", "(", "MFI", "->", "getScratchRSrcReg", "(", ")", ")", ".", "addReg", "(", "MFI", "->", "getScratchWaveOffsetReg", "(", ")", ")", ".", "addImm", "(", "0", ")", ".", "addMemOperand", "(", "MMO", ")", ";", "}", ""], "natrual_language": ["Store", "the", "specified", "register", "of", "the", "given", "register", "class", "to", "the", "specified", "stack", "frame", "index", "."], "TS_V_token": ["AMDGPU", "SI", "SI", "SI", "4", "AMDGPU::SReg_32_XM0RegClass", "\"SIInstrInfo::storeRegToStackSlot - Do not know how to\"", "\" spill register\"", "AMDGPU::KILL", "\"Only VGPR spilling expected\"", "0"], "File": "SIInstrInfo100", "Func": "storeRegToStackSlot", "Target": "AMDGPU", "Target_Clf": "GPU", "Compiler_Type": "LLVM", "Idx": 4226, "Length": 386, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "static", "void", "aarch64_emit_unop", "(", "rtx", "dest", ",", "optab", "unoptab", ",", "rtx", "op", ")", "{", "rtx", "tmp", "=", "expand_unop", "(", "GET_MODE", "(", "dest", ")", ",", "unoptab", ",", "op", ",", "dest", ",", "0", ")", ";", "if", "(", "dest", "!=", "tmp", ")", "emit_move_insn", "(", "dest", ",", "tmp", ")", ";", "}", ""], "natrual_language": ["Apply", "UNOPTAB", "to", "OP", "and", "store", "the", "result", "in", "DEST", "."], "TS_V_token": ["aarch64", "0"], "File": "aarch64", "Func": "aarch64_emit_unop", "Target": "aarch64", "Target_Clf": "CPU", "Compiler_Type": "GCC", "Idx": 4227, "Length": 47, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "TargetTransformInfo", "AMDGPUTargetMachine", "::", "getTargetTransformInfo", "(", "const", "Function", "&", "F", ")", "{", "return", "TargetTransformInfo", "(", "AMDGPUTTIImpl", "(", "this", ",", "F", ")", ")", ";", "}", ""], "natrual_language": ["Get", "a", "TargetTransformInfo", "implementation", "for", "the", "target", "."], "TS_V_token": ["AMDGPU", "AMDGPU", "AMDGPU"], "File": "AMDGPUTargetMachine114", "Func": "getTargetTransformInfo", "Target": "AMDGPU", "Target_Clf": "GPU", "Compiler_Type": "LLVM", "Idx": 4228, "Length": 23, "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": 4229, "Length": 186, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "DenseSet", "<", "unsigned", ">", "*", "LinearizedRegion", "::", "getLiveOuts", "(", ")", "{", "return", "&", "LiveOuts", ";", "}", ""], "natrual_language": ["Search", "MBB", "for", "a", "definition", "of", "PhysReg", "and", "insert", "it", "into", "Defs", "."], "TS_V_token": ["AMDGPU"], "File": "AMDGPUMachineCFGStructurizer", "Func": "getLiveOuts", "Target": "AMDGPU", "Target_Clf": "GPU", "Compiler_Type": "LLVM", "Idx": 4230, "Length": 16, "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": 4231, "Length": 121, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "bool", "MSP430AsmPrinter", "::", "runOnMachineFunction", "(", "MachineFunction", "&", "MF", ")", "{", "SetupMachineFunction", "(", "MF", ")", ";", "O", "<<", "\"\\n\\n\"", ";", "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'", ";", "O", ".", "flush", "(", ")", ";", "return", "false", ";", "}", ""], "natrual_language": ["runOnMachineFunction", "-", "Emit", "the", "function", "body", "."], "TS_V_token": ["MSP430", "MSP430", "\"\\n\\n\"", "\"\\t.size\\t\"", "\", .-\""], "File": "MSP430AsmPrinter8", "Func": "runOnMachineFunction", "Target": "MSP430", "Target_Clf": "MPU", "Compiler_Type": "LLVM", "Idx": 4232, "Length": 156, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "static", "cpp_hashnode", "*", "s390_macro_to_expand", "(", "cpp_reader", "*", "pfile", ",", "const", "cpp_token", "*", "tok", ")", "{", "cpp_hashnode", "*", "expand_this", "=", "tok", "->", "val", ".", "node", ".", "node", ";", "cpp_hashnode", "*", "ident", ";", "static", "bool", "expand_bool_p", "=", "false", ";", "int", "idx", "=", "0", ";", "enum", "rid", "rid_code", ";", "if", "(", "!", "TARGET_ZVECTOR", ")", "return", "NULL", ";", "ident", "=", "s390_categorize_keyword", "(", "tok", ")", ";", "if", "(", "ident", "!=", "expand_this", ")", "expand_this", "=", "NULL", ";", "if", "(", "expand_bool_p", "&&", "ident", "==", "C_CPP_HASHNODE", "(", "__bool_keyword", ")", ")", "{", "expand_bool_p", "=", "false", ";", "return", "ident", ";", "}", "if", "(", "ident", "!=", "C_CPP_HASHNODE", "(", "__vector_keyword", ")", ")", "return", "expand_this", ";", "do", "tok", "=", "cpp_peek_token", "(", "pfile", ",", "idx", "++", ")", ";", "while", "(", "tok", "->", "type", "==", "CPP_PADDING", ")", ";", "ident", "=", "s390_categorize_keyword", "(", "tok", ")", ";", "if", "(", "!", "ident", ")", "return", "expand_this", ";", "if", "(", "ident", "==", "C_CPP_HASHNODE", "(", "__bool_keyword", ")", ")", "{", "expand_bool_p", "=", "true", ";", "return", "C_CPP_HASHNODE", "(", "__vector_keyword", ")", ";", "}", "if", "(", "ident", "==", "C_CPP_HASHNODE", "(", "__vector_keyword", ")", ")", "return", "expand_this", ";", "rid_code", "=", "(", "enum", "rid", ")", "(", "ident", "->", "rid_code", ")", ";", "if", "(", "ident", "->", "type", "==", "NT_MACRO", ")", "{", "do", "(", "void", ")", "cpp_get_token", "(", "pfile", ")", ";", "while", "(", "--", "idx", ">", "0", ")", ";", "do", "tok", "=", "cpp_peek_token", "(", "pfile", ",", "idx", "++", ")", ";", "while", "(", "tok", "->", "type", "==", "CPP_PADDING", ")", ";", "ident", "=", "s390_categorize_keyword", "(", "tok", ")", ";", "if", "(", "ident", "==", "C_CPP_HASHNODE", "(", "__bool_keyword", ")", ")", "{", "expand_bool_p", "=", "true", ";", "return", "C_CPP_HASHNODE", "(", "__vector_keyword", ")", ";", "}", "else", "if", "(", "ident", ")", "rid_code", "=", "(", "enum", "rid", ")", "(", "ident", "->", "rid_code", ")", ";", "}", "if", "(", "rid_code", "==", "RID_UNSIGNED", "||", "rid_code", "==", "RID_LONG", "||", "rid_code", "==", "RID_SHORT", "||", "rid_code", "==", "RID_SIGNED", "||", "rid_code", "==", "RID_INT", "||", "rid_code", "==", "RID_CHAR", "||", "rid_code", "==", "RID_DOUBLE", ")", "{", "expand_this", "=", "C_CPP_HASHNODE", "(", "__vector_keyword", ")", ";", "do", "tok", "=", "cpp_peek_token", "(", "pfile", ",", "idx", "++", ")", ";", "while", "(", "tok", "->", "type", "==", "CPP_PADDING", ")", ";", "ident", "=", "s390_categorize_keyword", "(", "tok", ")", ";", "if", "(", "ident", "==", "C_CPP_HASHNODE", "(", "__bool_keyword", ")", ")", "expand_bool_p", "=", "true", ";", "else", "{", "do", "tok", "=", "cpp_peek_token", "(", "pfile", ",", "idx", "++", ")", ";", "while", "(", "tok", "->", "type", "==", "CPP_PADDING", ")", ";", "ident", "=", "s390_categorize_keyword", "(", "tok", ")", ";", "if", "(", "ident", "==", "C_CPP_HASHNODE", "(", "__bool_keyword", ")", ")", "expand_bool_p", "=", "true", ";", "}", "}", "return", "expand_this", ";", "}", ""], "natrual_language": ["Called", "to", "decide", "whether", "a", "conditional", "macro", "should", "be", "expanded", ".", "Since", "we", "have", "exactly", "one", "such", "macro", "(", "i.e", ",", "'vector", "'", ")", ",", "we", "do", "not", "need", "to", "examine", "the", "'tok", "'", "parameter", "."], "TS_V_token": ["s390", "0", "0"], "File": "s390-c2", "Func": "s390_macro_to_expand", "Target": "s390", "Target_Clf": "MPU", "Compiler_Type": "GCC", "Idx": 4233, "Length": 401, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "bool", "BPFTargetLowering", "::", "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": ["BPF", "BPF"], "File": "BPFISelLowering", "Func": "isOffsetFoldingLegal", "Target": "BPF", "Target_Clf": "Virtual ISA", "Compiler_Type": "LLVM", "Idx": 4234, "Length": 16, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "const", "std", "::", "string", "getName", "(", ")", "const", "override", "{", "return", "\"AAAMDFlatWorkGroupSize\"", ";", "}", ""], "natrual_language": ["Return", "a", "string", "with", "the", "name", "of", "the", "plan", "and", "the", "applicable", "VFs", "and", "UFs", "."], "TS_V_token": ["AMDGPU", "\"AAAMDFlatWorkGroupSize\""], "File": "AMDGPUAttributor", "Func": "getName", "Target": "AMDGPU", "Target_Clf": "GPU", "Compiler_Type": "LLVM", "Idx": 4235, "Length": 14, "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": 4236, "Length": 204, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "static", "void", "arc_file_start", "(", "void", ")", "{", "default_file_start", "(", ")", ";", "fprintf", "(", "asm_out_file", ",", "\"\\t.cpu %s\\n\"", ",", "arc_cpu_string", ")", ";", "asm_fprintf", "(", "asm_out_file", ",", "\"\\t.arc_attribute Tag_ARC_PCS_config, %d\\n\"", ",", "ATTRIBUTE_PCS", ")", ";", "asm_fprintf", "(", "asm_out_file", ",", "\"\\t.arc_attribute Tag_ARC_ABI_rf16, %d\\n\"", ",", "TARGET_RF16", "?", "1", ":", "0", ")", ";", "asm_fprintf", "(", "asm_out_file", ",", "\"\\t.arc_attribute Tag_ARC_ABI_pic, %d\\n\"", ",", "flag_pic", "?", "2", ":", "0", ")", ";", "asm_fprintf", "(", "asm_out_file", ",", "\"\\t.arc_attribute Tag_ARC_ABI_tls, %d\\n\"", ",", "(", "arc_tp_regno", "!=", "-", "1", ")", "?", "1", ":", "0", ")", ";", "asm_fprintf", "(", "asm_out_file", ",", "\"\\t.arc_attribute Tag_ARC_ABI_sda, %d\\n\"", ",", "TARGET_NO_SDATA_SET", "?", "0", ":", "2", ")", ";", "asm_fprintf", "(", "asm_out_file", ",", "\"\\t.arc_attribute Tag_ARC_ABI_exceptions, %d\\n\"", ",", "TARGET_OPTFPE", "?", "1", ":", "0", ")", ";", "if", "(", "TARGET_V2", ")", "asm_fprintf", "(", "asm_out_file", ",", "\"\\t.arc_attribute Tag_ARC_CPU_variation, %d\\n\"", ",", "arc_tune", "==", "ARC_TUNE_CORE_3", "?", "3", ":", "2", ")", ";", "}", ""], "natrual_language": ["Set", "the", "cpu", "type", "and", "print", "out", "other", "fancy", "things", ",", "at", "the", "top", "of", "the", "file", "."], "TS_V_token": ["arc", "\"\\t.cpu %s\\n\"", "\"\\t.arc_attribute Tag_ARC_PCS_config, %d\\n\"", "\"\\t.arc_attribute Tag_ARC_ABI_rf16, %d\\n\"", "1", "0", "\"\\t.arc_attribute Tag_ARC_ABI_pic, %d\\n\"", "2", "0", "\"\\t.arc_attribute Tag_ARC_ABI_tls, %d\\n\"", "1", "1", "0", "\"\\t.arc_attribute Tag_ARC_ABI_sda, %d\\n\"", "0", "2", "\"\\t.arc_attribute Tag_ARC_ABI_exceptions, %d\\n\"", "1", "0", "\"\\t.arc_attribute Tag_ARC_CPU_variation, %d\\n\"", "3", "2"], "File": "arc7", "Func": "arc_file_start", "Target": "arc", "Target_Clf": "MPU", "Compiler_Type": "GCC", "Idx": 4237, "Length": 119, "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": 4238, "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", ")", ";", "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": 4239, "Length": 462, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "const", "char", "*", "R600ClauseMergePass", "::", "getPassName", "(", ")", "const", "{", "return", "\"R600 Merge Clause Markers Pass\"", ";", "}", ""], "natrual_language": ["getPassName", "-", "Return", "a", "nice", "clean", "name", "for", "a", "pass", "."], "TS_V_token": ["R600", "\"R600 Merge Clause Markers Pass\""], "File": "R600ClauseMergePass12", "Func": "getPassName", "Target": "R600", "Target_Clf": "GPU", "Compiler_Type": "LLVM", "Idx": 4240, "Length": 14, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "void", "Z80InstrInfo", "::", "storeRegToStackSlot", "(", "MachineBasicBlock", "&", "MBB", ",", "MachineBasicBlock", "::", "iterator", "MI", ",", "unsigned", "SrcReg", ",", "bool", "IsKill", ",", "int", "FI", ",", "const", "TargetRegisterClass", "*", "TRC", ",", "const", "TargetRegisterInfo", "*", "TRI", ")", "const", "{", "unsigned", "Opc", ";", "switch", "(", "TRI", "->", "getSpillSize", "(", "*", "TRC", ")", ")", "{", "default", ":", "llvm_unreachable", "(", "\"Unexpected regclass size\"", ")", ";", "case", "1", ":", "Opc", "=", "Z80", "::", "LD8or", ";", "break", ";", "case", "2", ":", "Opc", "=", "Subtarget", ".", "has16BitEZ80Ops", "(", ")", "?", "Z80", "::", "LD16or", ":", "Z80", "::", "LD88or", ";", "break", ";", "case", "3", ":", "assert", "(", "Subtarget", ".", "is24Bit", "(", ")", "&&", "\"Only 24-bit should have 3 byte stack slots\"", ")", ";", "Opc", "=", "Z80", "::", "LD24or", ";", "break", ";", "}", "BuildMI", "(", "MBB", ",", "MI", ",", "MBB", ".", "findDebugLoc", "(", "MI", ")", ",", "get", "(", "Opc", ")", ")", ".", "addFrameIndex", "(", "FI", ")", ".", "addImm", "(", "0", ")", ".", "addReg", "(", "SrcReg", ",", "getKillRegState", "(", "IsKill", ")", ")", ";", "return", ";", "unsigned", "RC", ",", "LoOpc", ",", "LoIdx", ",", "HiOpc", ",", "HiIdx", ",", "HiOff", ";", "bool", "Split", "=", "Z80", "::", "splitReg", "(", "TRI", "->", "getSpillSize", "(", "*", "TRC", ")", ",", "Z80", "::", "LD8or", ",", "Z80", "::", "LD16or", ",", "Z80", "::", "LD24or", ",", "RC", ",", "LoOpc", ",", "LoIdx", ",", "HiOpc", ",", "HiIdx", ",", "HiOff", ",", "Subtarget", ".", "has16BitEZ80Ops", "(", ")", ")", ";", "MachineInstrBuilder", "LoMIB", "=", "addSubReg", "(", "BuildMI", "(", "MBB", ",", "MI", ",", "MBB", ".", "findDebugLoc", "(", "MI", ")", ",", "get", "(", "LoOpc", ")", ")", ".", "addFrameIndex", "(", "FI", ")", ".", "addImm", "(", "0", ")", ",", "SrcReg", ",", "LoIdx", ",", "TRI", ",", "getKillRegState", "(", "IsKill", ")", ")", ";", "if", "(", "Split", ")", "{", "MachineInstrBuilder", "HiMIB", "=", "addSubReg", "(", "BuildMI", "(", "MBB", ",", "MI", ",", "MBB", ".", "findDebugLoc", "(", "MI", ")", ",", "get", "(", "HiOpc", ")", ")", ".", "addFrameIndex", "(", "FI", ")", ".", "addImm", "(", "HiOff", ")", ",", "SrcReg", ",", "HiIdx", ",", "TRI", ",", "getKillRegState", "(", "IsKill", ")", ")", ";", "if", "(", "IsKill", ")", "HiMIB", "->", "addRegisterKilled", "(", "SrcReg", ",", "TRI", ",", "true", ")", ";", "}", "}", ""], "natrual_language": ["Store", "the", "specified", "register", "of", "the", "given", "register", "class", "to", "the", "specified", "stack", "frame", "index", "."], "TS_V_token": ["Z80", "Z80", "\"Unexpected regclass size\"", "1", "Z80::LD8or", "2", "Z80", "Z80::LD16or", "Z80::LD88or", "3", "\"Only 24-bit should have 3 byte stack slots\"", "Z80::LD24or", "0", "Z80::splitReg", "Z80::LD8or", "Z80::LD16or", "Z80::LD24or", "Z80", "0"], "File": "Z80InstrInfo2", "Func": "storeRegToStackSlot", "Target": "Z80", "Target_Clf": "MPU", "Compiler_Type": "LLVM", "Idx": 4241, "Length": 325, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "const", "MCSymbol", "*", "NVPTXAsmPrinter", "::", "getFunctionFrameSymbol", "(", ")", "const", "{", "SmallString", "<", "128", ">", "Str", ";", "raw_svector_ostream", "(", "Str", ")", "<<", "DEPOTNAME", "<<", "getFunctionNumber", "(", ")", ";", "return", "OutContext", ".", "getOrCreateSymbol", "(", "Str", ")", ";", "}", ""], "natrual_language": ["Return", "symbol", "for", "the", "function", "pseudo", "stack", "if", "the", "stack", "frame", "is", "not", "a", "register", "based", "."], "TS_V_token": ["NVPTX", "NVPTX", "128"], "File": "NVPTXAsmPrinter15", "Func": "getFunctionFrameSymbol", "Target": "NVPTX", "Target_Clf": "GPU", "Compiler_Type": "LLVM", "Idx": 4242, "Length": 36, "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": 4243, "Length": 32, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "int", "floating_exact_log2", "(", "rtx", "x", ")", "{", "REAL_VALUE_TYPE", "r", ",", "r1", ";", "int", "exp", ";", "REAL_VALUE_FROM_CONST_DOUBLE", "(", "r", ",", "x", ")", ";", "if", "(", "REAL_VALUES_LESS", "(", "r", ",", "dconst1", ")", ")", "return", "0", ";", "exp", "=", "real_exponent", "(", "&", "r", ")", ";", "real_2expN", "(", "&", "r1", ",", "exp", ")", ";", "if", "(", "REAL_VALUES_EQUAL", "(", "r1", ",", "r", ")", ")", "return", "exp", ";", "return", "0", ";", "}", ""], "natrual_language": ["If", "X", "is", "a", "floating-point", "constant", ",", "return", "the", "logarithm", "of", "X", "base", "2", ",", "or", "0", "if", "X", "is", "not", "a", "power", "of", "2", "."], "TS_V_token": ["m68k", "0", "0"], "File": "m68k3", "Func": "floating_exact_log2", "Target": "m68k", "Target_Clf": "MPU", "Compiler_Type": "GCC", "Idx": 4244, "Length": 66, "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": 4245, "Length": 80, "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": 4246, "Length": 291, "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": 4247, "Length": 90, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "unsigned", "char", "M68kSubtarget", "::", "classifyLocalReference", "(", "const", "GlobalValue", "*", "GV", ")", "const", "{", "switch", "(", "TM", ".", "getCodeModel", "(", ")", ")", "{", "default", ":", "llvm_unreachable", "(", "\"Unsupported code model\"", ")", ";", "case", "CodeModel", "::", "Small", ":", "case", "CodeModel", "::", "Kernel", ":", "{", "return", "M68kII", "::", "MO_PC_RELATIVE_ADDRESS", ";", "}", "case", "CodeModel", "::", "Medium", ":", "{", "if", "(", "isPositionIndependent", "(", ")", ")", "{", "if", "(", "atLeastM68020", "(", ")", ")", "{", "return", "M68kII", "::", "MO_PC_RELATIVE_ADDRESS", ";", "}", "return", "M68kII", "::", "MO_GOTOFF", ";", "}", "else", "{", "if", "(", "atLeastM68020", "(", ")", ")", "{", "return", "M68kII", "::", "MO_PC_RELATIVE_ADDRESS", ";", "}", "return", "M68kII", "::", "MO_ABSOLUTE_ADDRESS", ";", "}", "}", "}", "}", ""], "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": ["M68k", "M68k", "\"Unsupported code model\"", "M68kII::MO_PC_RELATIVE_ADDRESS", "M68kII::MO_PC_RELATIVE_ADDRESS", "M68kII::MO_GOTOFF", "M68kII::MO_PC_RELATIVE_ADDRESS", "M68kII::MO_ABSOLUTE_ADDRESS"], "File": "M68kSubtarget", "Func": "classifyLocalReference", "Target": "M68k", "Target_Clf": "MPU", "Compiler_Type": "LLVM", "Idx": 4248, "Length": 102, "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": 4249, "Length": 28, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "bool", "isUnknown", "(", ")", "const", "{", "return", "MF", "==", "NULL", ";", "}", ""], "natrual_language": ["Tests", "if", "this", "MemDepResult", "represents", "a", "query", "which", "can", "not", "and/or", "will", "not", "be", "computed", "."], "TS_V_token": ["Patmos"], "File": "PatmosCallGraphBuilder", "Func": "isUnknown", "Target": "Patmos", "Target_Clf": "VLIW", "Compiler_Type": "LLVM", "Idx": 4250, "Length": 12, "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": 4251, "Length": 111, "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": 4252, "Length": 226, "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": 4253, "Length": 28, "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": 4254, "Length": 186, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "bool", "HexagonTTIImpl", "::", "isLegalMaskedStore", "(", "Type", "*", "DataType", ",", "Align", ")", "{", "return", "HexagonMaskedVMem", "&&", "isTypeForHVX", "(", "DataType", ")", ";", "}", ""], "natrual_language": ["Return", "true", "if", "the", "target", "supports", "masked", "store", "."], "TS_V_token": ["Hexagon", "Hexagon", "Hexagon"], "File": "HexagonTargetTransformInfo23", "Func": "isLegalMaskedStore", "Target": "Hexagon", "Target_Clf": "DSP", "Compiler_Type": "LLVM", "Idx": 4255, "Length": 21, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "LLVM_DUMP_METHOD", "void", "ValueEnumerator", "::", "dump", "(", ")", "const", "{", "print", "(", "dbgs", "(", ")", ",", "ValueMap", ",", "\"Default\"", ")", ";", "dbgs", "(", ")", "<<", "'\\n'", ";", "print", "(", "dbgs", "(", ")", ",", "MetadataMap", ",", "\"MetaData\"", ")", ";", "dbgs", "(", ")", "<<", "'\\n'", ";", "}", ""], "natrual_language": ["Dump", "the", "plan", "to", "stderr", "(", "for", "debugging", ")", "."], "TS_V_token": ["DirectX", "\"Default\"", "\"MetaData\""], "File": "DXILValueEnumerator", "Func": "dump", "Target": "DirectX", "Target_Clf": "Virtual ISA", "Compiler_Type": "LLVM", "Idx": 4256, "Length": 44, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "void", "arm_order_regs_for_local_alloc", "(", "void", ")", "{", "const", "int", "arm_reg_alloc_order", "[", "]", "=", "REG_ALLOC_ORDER", ";", "memcpy", "(", "reg_alloc_order", ",", "arm_reg_alloc_order", ",", "sizeof", "(", "reg_alloc_order", ")", ")", ";", "if", "(", "TARGET_THUMB", ")", "memcpy", "(", "reg_alloc_order", ",", "thumb_core_reg_alloc_order", ",", "sizeof", "(", "thumb_core_reg_alloc_order", ")", ")", ";", "}", ""], "natrual_language": ["Adjust", "register", "allocation", "order", "when", "compiling", "for", "Thumb", "."], "TS_V_token": ["arm"], "File": "arm", "Func": "arm_order_regs_for_local_alloc", "Target": "arm", "Target_Clf": "CPU", "Compiler_Type": "GCC", "Idx": 4257, "Length": 43, "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": 4258, "Length": 63, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "SDValue", "AMDGPUTargetLowering", "::", "LowerOperation", "(", "SDValue", "Op", ",", "SelectionDAG", "&", "DAG", ")", "const", "{", "switch", "(", "Op", ".", "getOpcode", "(", ")", ")", "{", "default", ":", "Op", "->", "print", "(", "errs", "(", ")", ",", "&", "DAG", ")", ";", "llvm_unreachable", "(", "\"Custom lowering code for this\"", "\"instruction is not implemented yet!\"", ")", ";", "break", ";", "case", "ISD", "::", "SIGN_EXTEND_INREG", ":", "return", "LowerSIGN_EXTEND_INREG", "(", "Op", ",", "DAG", ")", ";", "case", "ISD", "::", "CONCAT_VECTORS", ":", "return", "LowerCONCAT_VECTORS", "(", "Op", ",", "DAG", ")", ";", "case", "ISD", "::", "EXTRACT_SUBVECTOR", ":", "return", "LowerEXTRACT_SUBVECTOR", "(", "Op", ",", "DAG", ")", ";", "case", "ISD", "::", "INTRINSIC_WO_CHAIN", ":", "return", "LowerINTRINSIC_WO_CHAIN", "(", "Op", ",", "DAG", ")", ";", "case", "ISD", "::", "UDIVREM", ":", "return", "LowerUDIVREM", "(", "Op", ",", "DAG", ")", ";", "case", "ISD", "::", "SDIVREM", ":", "return", "LowerSDIVREM", "(", "Op", ",", "DAG", ")", ";", "case", "ISD", "::", "FREM", ":", "return", "LowerFREM", "(", "Op", ",", "DAG", ")", ";", "case", "ISD", "::", "FCEIL", ":", "return", "LowerFCEIL", "(", "Op", ",", "DAG", ")", ";", "case", "ISD", "::", "FTRUNC", ":", "return", "LowerFTRUNC", "(", "Op", ",", "DAG", ")", ";", "case", "ISD", "::", "FRINT", ":", "return", "LowerFRINT", "(", "Op", ",", "DAG", ")", ";", "case", "ISD", "::", "FNEARBYINT", ":", "return", "LowerFNEARBYINT", "(", "Op", ",", "DAG", ")", ";", "case", "ISD", "::", "FROUND", ":", "return", "LowerFROUND", "(", "Op", ",", "DAG", ")", ";", "case", "ISD", "::", "FFLOOR", ":", "return", "LowerFFLOOR", "(", "Op", ",", "DAG", ")", ";", "case", "ISD", "::", "SINT_TO_FP", ":", "return", "LowerSINT_TO_FP", "(", "Op", ",", "DAG", ")", ";", "case", "ISD", "::", "UINT_TO_FP", ":", "return", "LowerUINT_TO_FP", "(", "Op", ",", "DAG", ")", ";", "case", "ISD", "::", "FP_TO_FP16", ":", "return", "LowerFP_TO_FP16", "(", "Op", ",", "DAG", ")", ";", "case", "ISD", "::", "FP_TO_SINT", ":", "return", "LowerFP_TO_SINT", "(", "Op", ",", "DAG", ")", ";", "case", "ISD", "::", "FP_TO_UINT", ":", "return", "LowerFP_TO_UINT", "(", "Op", ",", "DAG", ")", ";", "case", "ISD", "::", "CTLZ", ":", "case", "ISD", "::", "CTLZ_ZERO_UNDEF", ":", "return", "LowerCTLZ", "(", "Op", ",", "DAG", ")", ";", "case", "ISD", "::", "DYNAMIC_STACKALLOC", ":", "return", "LowerDYNAMIC_STACKALLOC", "(", "Op", ",", "DAG", ")", ";", "}", "return", "Op", ";", "}", ""], "natrual_language": ["LowerOperation", "-", "Provide", "custom", "lowering", "hooks", "for", "some", "operations", "."], "TS_V_token": ["AMDGPU", "AMDGPU", "\"Custom lowering code for this\"", "\"instruction is not implemented yet!\"", "ISD::SIGN_EXTEND_INREG", "SI", "ISD::CONCAT_VECTORS", "ISD::EXTRACT_SUBVECTOR", "ISD::INTRINSIC_WO_CHAIN", "SI", "ISD::UDIVREM", "ISD::SDIVREM", "ISD::FREM", "ISD::FCEIL", "ISD::FTRUNC", "ISD::FRINT", "ISD::FNEARBYINT", "ISD::FROUND", "ISD::FFLOOR", "ISD::SINT_TO_FP", "SI", "ISD::UINT_TO_FP", "ISD::FP_TO_FP16", "ISD::FP_TO_SINT", "SI", "ISD::FP_TO_UINT", "ISD::CTLZ", "ISD::CTLZ_ZERO_UNDEF", "ISD::DYNAMIC_STACKALLOC"], "File": "AMDGPUISelLowering134", "Func": "LowerOperation", "Target": "AMDGPU", "Target_Clf": "GPU", "Compiler_Type": "LLVM", "Idx": 4259, "Length": 315, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "void", "frv_function_arg_advance", "(", "CUMULATIVE_ARGS", "*", "cum", ",", "enum", "machine_mode", "mode", ",", "tree", "type", "ATTRIBUTE_UNUSED", ",", "int", "named", ")", "{", "enum", "machine_mode", "xmode", "=", "(", "mode", "==", "BLKmode", ")", "?", "SImode", ":", "mode", ";", "int", "bytes", "=", "GET_MODE_SIZE", "(", "xmode", ")", ";", "int", "words", "=", "(", "bytes", "+", "UNITS_PER_WORD", "-", "1", ")", "/", "UNITS_PER_WORD", ";", "int", "arg_num", "=", "*", "cum", ";", "*", "cum", "=", "arg_num", "+", "words", ";", "if", "(", "TARGET_DEBUG_ARG", ")", "fprintf", "(", "stderr", ",", "\"function_adv: words = %2d, mode = %4s, named = %d, size = %3d\\n\"", ",", "arg_num", ",", "GET_MODE_NAME", "(", "mode", ")", ",", "named", ",", "words", "*", "UNITS_PER_WORD", ")", ";", "}", ""], "natrual_language": ["A", "C", "statement", "(", "sans", "semicolon", ")", "to", "update", "the", "summarizer", "variable", "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", "`", "FUNCTION_ARG", "'", ",", "etc", ".", "This", "macro", "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", "."], "TS_V_token": ["frv", "1", "\"function_adv: words = %2d, mode = %4s, named = %d, size = %3d\\n\""], "File": "frv2", "Func": "frv_function_arg_advance", "Target": "frv", "Target_Clf": "VLIW", "Compiler_Type": "GCC", "Idx": 4260, "Length": 92, "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": 4261, "Length": 199, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "void", "EmitInstruction", "(", "const", "MachineInstr", "*", "MI", ")", "{", "printInstruction", "(", "MI", ")", ";", "O", "<<", "'\\n'", ";", "}", ""], "natrual_language": ["EmitInstruction", "-", "This", "callback", "is", "invoked", "when", "an", "instruction", "is", "emitted", ",", "to", "advance", "the", "hazard", "state", "."], "TS_V_token": ["MBlaze"], "File": "MBlazeAsmPrinter14", "Func": "EmitInstruction", "Target": "MBlaze", "Target_Clf": "MPU", "Compiler_Type": "LLVM", "Idx": 4262, "Length": 19, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "int", "fix_bit_operand", "(", "rtx", "*", "operands", ",", "enum", "rtx_code", "code", ")", "{", "if", "(", "code", "==", "AND", "?", "single_zero_operand", "(", "operands", "[", "2", "]", ",", "QImode", ")", ":", "single_one_operand", "(", "operands", "[", "2", "]", ",", "QImode", ")", ")", "{", "if", "(", "GET_CODE", "(", "operands", "[", "0", "]", ")", "==", "MEM", "&&", "!", "satisfies_constraint_U", "(", "operands", "[", "0", "]", ")", ")", "{", "rtx", "mem", "=", "gen_rtx_MEM", "(", "GET_MODE", "(", "operands", "[", "0", "]", ")", ",", "copy_to_mode_reg", "(", "Pmode", ",", "XEXP", "(", "operands", "[", "0", "]", ",", "0", ")", ")", ")", ";", "MEM_COPY_ATTRIBUTES", "(", "mem", ",", "operands", "[", "0", "]", ")", ";", "operands", "[", "0", "]", "=", "mem", ";", "}", "if", "(", "GET_CODE", "(", "operands", "[", "1", "]", ")", "==", "MEM", "&&", "!", "satisfies_constraint_U", "(", "operands", "[", "1", "]", ")", ")", "{", "rtx", "mem", "=", "gen_rtx_MEM", "(", "GET_MODE", "(", "operands", "[", "1", "]", ")", ",", "copy_to_mode_reg", "(", "Pmode", ",", "XEXP", "(", "operands", "[", "1", "]", ",", "0", ")", ")", ")", ";", "MEM_COPY_ATTRIBUTES", "(", "mem", ",", "operands", "[", "0", "]", ")", ";", "operands", "[", "1", "]", "=", "mem", ";", "}", "return", "0", ";", "}", "operands", "[", "1", "]", "=", "force_reg", "(", "QImode", ",", "operands", "[", "1", "]", ")", ";", "{", "rtx", "res", "=", "gen_reg_rtx", "(", "QImode", ")", ";", "switch", "(", "code", ")", "{", "case", "AND", ":", "emit_insn", "(", "gen_andqi3_1", "(", "res", ",", "operands", "[", "1", "]", ",", "operands", "[", "2", "]", ")", ")", ";", "break", ";", "case", "IOR", ":", "emit_insn", "(", "gen_iorqi3_1", "(", "res", ",", "operands", "[", "1", "]", ",", "operands", "[", "2", "]", ")", ")", ";", "break", ";", "case", "XOR", ":", "emit_insn", "(", "gen_xorqi3_1", "(", "res", ",", "operands", "[", "1", "]", ",", "operands", "[", "2", "]", ")", ")", ";", "break", ";", "default", ":", "gcc_unreachable", "(", ")", ";", "}", "emit_insn", "(", "gen_movqi", "(", "operands", "[", "0", "]", ",", "res", ")", ")", ";", "}", "return", "1", ";", "}", ""], "natrual_language": ["Fix", "the", "operands", "of", "a", "gen_xxx", "so", "that", "it", "could", "become", "a", "bit", "operating", "insn", "."], "TS_V_token": ["h8300", "2", "2", "0", "0", "0", "0", "0", "0", "0", "1", "1", "1", "1", "0", "0", "1", "0", "1", "1", "1", "2", "1", "2", "1", "2", "0", "1"], "File": "h8300", "Func": "fix_bit_operand", "Target": "h8300", "Target_Clf": "MPU", "Compiler_Type": "GCC", "Idx": 4263, "Length": 304, "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": 4264, "Length": 28, "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": 4265, "Length": 31, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "static", "bool", "s390_hard_regno_call_part_clobbered", "(", "unsigned", "int", ",", "unsigned", "int", "regno", ",", "machine_mode", "mode", ")", "{", "if", "(", "!", "TARGET_64BIT", "&&", "TARGET_ZARCH", "&&", "GET_MODE_SIZE", "(", "mode", ")", ">", "4", "&&", "(", "!", "flag_pic", "||", "regno", "!=", "PIC_OFFSET_TABLE_REGNUM", ")", "&&", "(", "(", "regno", ">=", "6", "&&", "regno", "<=", "15", ")", "||", "regno", "==", "32", ")", ")", "return", "true", ";", "if", "(", "TARGET_VX", "&&", "GET_MODE_SIZE", "(", "mode", ")", ">", "8", "&&", "(", "(", "(", "TARGET_64BIT", "&&", "regno", ">=", "24", "&&", "regno", "<=", "31", ")", ")", "||", "(", "!", "TARGET_64BIT", "&&", "(", "regno", "==", "18", "||", "regno", "==", "19", ")", ")", ")", ")", "return", "true", ";", "return", "false", ";", "}", ""], "natrual_language": ["Implement", "TARGET_HARD_REGNO_CALL_PART_CLOBBERED", ".", "When", "generating", "code", "that", "runs", "in", "z/Architecture", "mode", ",", "but", "conforms", "to", "the", "31-bit", "ABI", ",", "GPRs", "can", "hold", "8", "bytes", ";", "the", "ABI", "guarantees", "only", "that", "the", "lower", "4", "bytes", "are", "saved", "across", "calls", ",", "however", "."], "TS_V_token": ["s390", "4", "6", "15", "32", "8", "24", "31", "18", "19"], "File": "s390", "Func": "s390_hard_regno_call_part_clobbered", "Target": "s390", "Target_Clf": "MPU", "Compiler_Type": "GCC", "Idx": 4266, "Length": 106, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "static", "int", "tilepro_saved_regs_size", "(", "void", ")", "{", "int", "reg_save_size", "=", "0", ";", "int", "regno", ";", "int", "offset_to_frame", ";", "int", "align_mask", ";", "for", "(", "regno", "=", "0", ";", "regno", "<", "FIRST_PSEUDO_REGISTER", ";", "regno", "++", ")", "if", "(", "need_to_save_reg", "(", "regno", ")", ")", "reg_save_size", "+=", "UNITS_PER_WORD", ";", "offset_to_frame", "=", "crtl", "->", "args", ".", "pretend_args_size", "+", "reg_save_size", ";", "align_mask", "=", "(", "STACK_BOUNDARY", "/", "BITS_PER_UNIT", ")", "-", "1", ";", "reg_save_size", "+=", "(", "-", "offset_to_frame", ")", "&", "align_mask", ";", "return", "reg_save_size", ";", "}", ""], "natrual_language": ["Return", "the", "size", "of", "the", "register", "savev", "area", ".", "This", "function", "is", "only", "correct", "starting", "with", "local", "register", "allocation"], "TS_V_token": ["tilepro", "0", "0", "1"], "File": "tilepro", "Func": "tilepro_saved_regs_size", "Target": "tilepro", "Target_Clf": "VLIW", "Compiler_Type": "GCC", "Idx": 4267, "Length": 78, "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": 4268, "Length": 306, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "static", "bool", "signed_compare_p", "(", "enum", "rtx_code", "code", ")", "{", "return", "(", "code", "==", "EQ", "||", "code", "==", "NE", "||", "code", "==", "LT", "||", "code", "==", "LE", "||", "code", "==", "GT", "||", "code", "==", "GE", ")", ";", "}", ""], "natrual_language": ["Return", "whether", "CODE", "is", "a", "signed", "comparison", "."], "TS_V_token": ["tilegx"], "File": "tilegx", "Func": "signed_compare_p", "Target": "tilegx", "Target_Clf": "VLIW", "Compiler_Type": "GCC", "Idx": 4269, "Length": 37, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "void", "getAnalysisUsage", "(", "AnalysisUsage", "&", "AU", ")", "const", "override", "{", "AU", ".", "addRequired", "<", "MachineLoopInfo", ">", "(", ")", ";", "AsmPrinter", "::", "getAnalysisUsage", "(", "AU", ")", ";", "}", ""], "natrual_language": ["getAnalysisUsage", "-", "Subclasses", "that", "override", "getAnalysisUsage", "must", "call", "this", "."], "TS_V_token": ["NVPTX"], "File": "NVPTXAsmPrinter", "Func": "getAnalysisUsage", "Target": "NVPTX", "Target_Clf": "GPU", "Compiler_Type": "LLVM", "Idx": 4270, "Length": 27, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "void", "ARMCodeEmitter", "::", "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", "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": "ARMCodeEmitter19", "Func": "emitInstruction", "Target": "ARM", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 4271, "Length": 282, "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": 4272, "Length": 38, "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": 4273, "Length": 107, "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": 4274, "Length": 257, "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": 4275, "Length": 35, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "rtx", "s390_expand_merge_perm_const", "(", "machine_mode", "mode", ",", "bool", "high_p", ")", "{", "int", "nelts", "=", "GET_MODE_NUNITS", "(", "mode", ")", ";", "rtx", "perm", "[", "16", "]", ";", "int", "addend", "=", "high_p", "?", "0", ":", "nelts", ";", "for", "(", "int", "i", "=", "0", ";", "i", "<", "nelts", ";", "i", "++", ")", "perm", "[", "i", "]", "=", "GEN_INT", "(", "(", "i", "+", "addend", ")", "/", "2", "+", "(", "i", "%", "2", ")", "*", "nelts", ")", ";", "return", "gen_rtx_PARALLEL", "(", "VOIDmode", ",", "gen_rtvec_v", "(", "nelts", ",", "perm", ")", ")", ";", "}", ""], "natrual_language": ["Return", "a", "parallel", "of", "constant", "integers", "to", "be", "used", "as", "permutation", "vector", "for", "a", "vector", "merge", "operation", "in", "MODE", ".", "If", "HIGH_P", "is", "true", "the", "left-most", "elements", "of", "the", "source", "vectors", "are", "merged", "otherwise", "the", "right-most", "elements", "."], "TS_V_token": ["s390", "16", "0", "0", "2", "2"], "File": "s390", "Func": "s390_expand_merge_perm_const", "Target": "s390", "Target_Clf": "MPU", "Compiler_Type": "GCC", "Idx": 4276, "Length": 85, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "SDValue", "AMDGPUTargetLowering", "::", "SplitVectorStore", "(", "SDValue", "Op", ",", "SelectionDAG", "&", "DAG", ")", "const", "{", "StoreSDNode", "*", "Store", "=", "cast", "<", "StoreSDNode", ">", "(", "Op", ")", ";", "SDValue", "Val", "=", "Store", "->", "getValue", "(", ")", ";", "EVT", "VT", "=", "Val", ".", "getValueType", "(", ")", ";", "if", "(", "VT", ".", "getVectorNumElements", "(", ")", "==", "2", ")", "return", "scalarizeVectorStore", "(", "Store", ",", "DAG", ")", ";", "EVT", "MemVT", "=", "Store", "->", "getMemoryVT", "(", ")", ";", "SDValue", "Chain", "=", "Store", "->", "getChain", "(", ")", ";", "SDValue", "BasePtr", "=", "Store", "->", "getBasePtr", "(", ")", ";", "SDLoc", "SL", "(", "Op", ")", ";", "EVT", "LoVT", ",", "HiVT", ";", "EVT", "LoMemVT", ",", "HiMemVT", ";", "SDValue", "Lo", ",", "Hi", ";", "std", "::", "tie", "(", "LoVT", ",", "HiVT", ")", "=", "DAG", ".", "GetSplitDestVTs", "(", "VT", ")", ";", "std", "::", "tie", "(", "LoMemVT", ",", "HiMemVT", ")", "=", "DAG", ".", "GetSplitDestVTs", "(", "MemVT", ")", ";", "std", "::", "tie", "(", "Lo", ",", "Hi", ")", "=", "DAG", ".", "SplitVector", "(", "Val", ",", "SL", ",", "LoVT", ",", "HiVT", ")", ";", "SDValue", "HiPtr", "=", "DAG", ".", "getObjectPtrOffset", "(", "SL", ",", "BasePtr", ",", "LoMemVT", ".", "getStoreSize", "(", ")", ")", ";", "const", "MachinePointerInfo", "&", "SrcValue", "=", "Store", "->", "getMemOperand", "(", ")", "->", "getPointerInfo", "(", ")", ";", "unsigned", "BaseAlign", "=", "Store", "->", "getAlignment", "(", ")", ";", "unsigned", "Size", "=", "LoMemVT", ".", "getStoreSize", "(", ")", ";", "unsigned", "HiAlign", "=", "MinAlign", "(", "BaseAlign", ",", "Size", ")", ";", "SDValue", "LoStore", "=", "DAG", ".", "getTruncStore", "(", "Chain", ",", "SL", ",", "Lo", ",", "BasePtr", ",", "SrcValue", ",", "LoMemVT", ",", "BaseAlign", ",", "Store", "->", "getMemOperand", "(", ")", "->", "getFlags", "(", ")", ")", ";", "SDValue", "HiStore", "=", "DAG", ".", "getTruncStore", "(", "Chain", ",", "SL", ",", "Hi", ",", "HiPtr", ",", "SrcValue", ".", "getWithOffset", "(", "Size", ")", ",", "HiMemVT", ",", "HiAlign", ",", "Store", "->", "getMemOperand", "(", ")", "->", "getFlags", "(", ")", ")", ";", "return", "DAG", ".", "getNode", "(", "ISD", "::", "TokenFactor", ",", "SL", ",", "MVT", "::", "Other", ",", "LoStore", ",", "HiStore", ")", ";", "}", ""], "natrual_language": ["Split", "a", "vector", "store", "into", "2", "stores", "of", "half", "the", "vector", "."], "TS_V_token": ["AMDGPU", "AMDGPU", "2", "ISD::TokenFactor", "MVT::Other"], "File": "AMDGPUISelLowering", "Func": "SplitVectorStore", "Target": "AMDGPU", "Target_Clf": "GPU", "Compiler_Type": "LLVM", "Idx": 4277, "Length": 315, "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": 4278, "Length": 401, "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": 4279, "Length": 55, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "bool", "SIRegisterInfo", "::", "needsFrameBaseReg", "(", "MachineInstr", "*", "MI", ",", "int64_t", "Offset", ")", "const", "{", "if", "(", "!", "MI", "->", "mayLoadOrStore", "(", ")", ")", "return", "false", ";", "int64_t", "FullOffset", "=", "Offset", "+", "getScratchInstrOffset", "(", "MI", ")", ";", "if", "(", "SIInstrInfo", "::", "isMUBUF", "(", "*", "MI", ")", ")", "return", "!", "SIInstrInfo", "::", "isLegalMUBUFImmOffset", "(", "FullOffset", ")", ";", "const", "SIInstrInfo", "*", "TII", "=", "ST", ".", "getInstrInfo", "(", ")", ";", "return", "TII", "->", "isLegalFLATOffset", "(", "FullOffset", ",", "AMDGPUAS", "::", "PRIVATE_ADDRESS", ",", "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": ["AMDGPU", "SI", "SI", "SI", "SI", "AMDGPU"], "File": "SIRegisterInfo113", "Func": "needsFrameBaseReg", "Target": "AMDGPU", "Target_Clf": "GPU", "Compiler_Type": "LLVM", "Idx": 4280, "Length": 81, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "void", "s390_narrow_logical_operator", "(", "enum", "rtx_code", "code", ",", "rtx", "*", "memop", ",", "rtx", "*", "immop", ")", "{", "int", "def", "=", "code", "==", "AND", "?", "-", "1", ":", "0", ";", "HOST_WIDE_INT", "mask", ";", "int", "part", ";", "gcc_assert", "(", "GET_CODE", "(", "*", "memop", ")", "==", "MEM", ")", ";", "gcc_assert", "(", "!", "MEM_VOLATILE_P", "(", "*", "memop", ")", ")", ";", "mask", "=", "s390_extract_part", "(", "*", "immop", ",", "QImode", ",", "def", ")", ";", "part", "=", "s390_single_part", "(", "*", "immop", ",", "GET_MODE", "(", "*", "memop", ")", ",", "QImode", ",", "def", ")", ";", "gcc_assert", "(", "part", ">=", "0", ")", ";", "*", "memop", "=", "adjust_address", "(", "*", "memop", ",", "QImode", ",", "part", ")", ";", "*", "immop", "=", "gen_int_mode", "(", "mask", ",", "QImode", ")", ";", "}", ""], "natrual_language": ["Narrow", "logical", "operation", "CODE", "of", "memory", "operand", "MEMOP", "with", "immediate", "operand", "IMMOP", "to", "switch", "from", "SS", "to", "SI", "type", "instructions", "."], "TS_V_token": ["s390", "1", "0", "0"], "File": "s390", "Func": "s390_narrow_logical_operator", "Target": "s390", "Target_Clf": "MPU", "Compiler_Type": "GCC", "Idx": 4281, "Length": 116, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "int", "m32c_expand_cpymemhi", "(", "rtx", "*", "operands", ")", "{", "rtx", "desta", ",", "srca", ",", "count", ";", "rtx", "desto", ",", "srco", ",", "counto", ";", "desta", "=", "XEXP", "(", "operands", "[", "0", "]", ",", "0", ")", ";", "srca", "=", "XEXP", "(", "operands", "[", "1", "]", ",", "0", ")", ";", "count", "=", "operands", "[", "2", "]", ";", "desto", "=", "gen_reg_rtx", "(", "Pmode", ")", ";", "srco", "=", "gen_reg_rtx", "(", "Pmode", ")", ";", "counto", "=", "gen_reg_rtx", "(", "HImode", ")", ";", "if", "(", "GET_CODE", "(", "desta", ")", "!=", "REG", "||", "REGNO", "(", "desta", ")", "<", "FIRST_PSEUDO_REGISTER", ")", "desta", "=", "copy_to_mode_reg", "(", "Pmode", ",", "desta", ")", ";", "if", "(", "GET_CODE", "(", "srca", ")", "!=", "REG", "||", "REGNO", "(", "srca", ")", "<", "FIRST_PSEUDO_REGISTER", ")", "srca", "=", "copy_to_mode_reg", "(", "Pmode", ",", "srca", ")", ";", "if", "(", "GET_CODE", "(", "count", ")", "==", "CONST_INT", "&&", "!", "(", "INTVAL", "(", "count", ")", "&", "1", ")", "&&", "(", "INTVAL", "(", "count", ")", ">", "1", ")", ")", "{", "count", "=", "copy_to_mode_reg", "(", "HImode", ",", "GEN_INT", "(", "INTVAL", "(", "count", ")", "/", "2", ")", ")", ";", "if", "(", "TARGET_A16", ")", "emit_insn", "(", "gen_cpymemhi_whi_op", "(", "desto", ",", "srco", ",", "counto", ",", "desta", ",", "srca", ",", "count", ")", ")", ";", "else", "emit_insn", "(", "gen_cpymemhi_wpsi_op", "(", "desto", ",", "srco", ",", "counto", ",", "desta", ",", "srca", ",", "count", ")", ")", ";", "return", "1", ";", "}", "if", "(", "GET_CODE", "(", "count", ")", "!=", "REG", "||", "REGNO", "(", "count", ")", "<", "FIRST_PSEUDO_REGISTER", ")", "count", "=", "copy_to_mode_reg", "(", "HImode", ",", "count", ")", ";", "if", "(", "TARGET_A16", ")", "emit_insn", "(", "gen_cpymemhi_bhi_op", "(", "desto", ",", "srco", ",", "counto", ",", "desta", ",", "srca", ",", "count", ")", ")", ";", "else", "emit_insn", "(", "gen_cpymemhi_bpsi_op", "(", "desto", ",", "srco", ",", "counto", ",", "desta", ",", "srca", ",", "count", ")", ")", ";", "return", "1", ";", "}", ""], "natrual_language": ["This", "is", "a", "memcpy", "(", ")", "opcode", ".", "All", "operands", "are", "implied", ",", "so", "we", "need", "to", "arrange", "for", "them", "to", "be", "in", "the", "right", "registers", ".", "The", "opcode", "wants", "addresses", ",", "not", "[", "mem", "]", "syntax", ".", "$", "0", "is", "the", "destination", "(", "MEM", ":", "BLK", ")", ",", "$", "1", "is", "the", "source", "(", "MEM", ":", "BLK", ")", ",", "and", "$", "2", "the", "count", "(", "HI", ")", "."], "TS_V_token": ["m32c", "0", "0", "1", "0", "2", "1", "1", "2", "1", "1"], "File": "m32c", "Func": "m32c_expand_cpymemhi", "Target": "m32c", "Target_Clf": "MPU", "Compiler_Type": "GCC", "Idx": 4282, "Length": 285, "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": 4283, "Length": 44, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "enum", "machine_mode", "visium_select_cc_mode", "(", "enum", "rtx_code", "code", ",", "rtx", "op0", ",", "rtx", "op1", ")", "{", "if", "(", "GET_MODE_CLASS", "(", "GET_MODE", "(", "op0", ")", ")", "==", "MODE_FLOAT", ")", "{", "switch", "(", "code", ")", "{", "case", "EQ", ":", "case", "NE", ":", "case", "ORDERED", ":", "case", "UNORDERED", ":", "case", "UNLT", ":", "case", "UNLE", ":", "case", "UNGT", ":", "case", "UNGE", ":", "return", "CCFPmode", ";", "case", "LT", ":", "case", "LE", ":", "case", "GT", ":", "case", "GE", ":", "return", "CCFPEmode", ";", "case", "UNEQ", ":", "case", "LTGT", ":", "default", ":", "gcc_unreachable", "(", ")", ";", "}", "}", "if", "(", "op1", "!=", "const0_rtx", ")", "return", "CCmode", ";", "switch", "(", "GET_CODE", "(", "op0", ")", ")", "{", "case", "PLUS", ":", "case", "MINUS", ":", "case", "NEG", ":", "case", "ASHIFT", ":", "case", "LTU", ":", "case", "LT", ":", "return", "CC_NOOVmode", ";", "case", "ZERO_EXTRACT", ":", "return", "CC_BTSTmode", ";", "case", "CONST_INT", ":", "gcc_assert", "(", "op0", "==", "constm1_rtx", ")", ";", "case", "REG", ":", "case", "AND", ":", "case", "IOR", ":", "case", "XOR", ":", "case", "NOT", ":", "case", "ASHIFTRT", ":", "case", "LSHIFTRT", ":", "case", "TRUNCATE", ":", "case", "SIGN_EXTEND", ":", "return", "CCmode", ";", "default", ":", "gcc_unreachable", "(", ")", ";", "}", "}", ""], "natrual_language": ["Given", "a", "comparison", "code", "(", "EQ", ",", "NE", ",", "etc", ".", ")", "and", "the", "operands", "of", "a", "COMPARE", ",", "return", "the", "mode", "to", "be", "used", "for", "the", "comparison", "."], "TS_V_token": ["visium"], "File": "visium2", "Func": "visium_select_cc_mode", "Target": "visium", "Target_Clf": "Virtual ISA", "Compiler_Type": "GCC", "Idx": 4284, "Length": 181, "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": 4285, "Length": 261, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "const", "std", "::", "string", "getAsStr", "(", ")", "const", "override", "{", "std", "::", "string", "Str", ";", "raw_string_ostream", "OS", "(", "Str", ")", ";", "OS", "<<", "\"AMDFlatWorkGroupSize[\"", ";", "OS", "<<", "getAssumed", "(", ")", ".", "getLower", "(", ")", "<<", "','", "<<", "getAssumed", "(", ")", ".", "getUpper", "(", ")", "-", "1", ";", "OS", "<<", "']'", ";", "return", "OS", ".", "str", "(", ")", ";", "}", ""], "natrual_language": ["See", "AbstractState", ":", ":getAsStr", "(", "Attributor", ")", "."], "TS_V_token": ["AMDGPU", "\"AMDFlatWorkGroupSize[\"", "1"], "File": "AMDGPUAttributor", "Func": "getAsStr", "Target": "AMDGPU", "Target_Clf": "GPU", "Compiler_Type": "LLVM", "Idx": 4286, "Length": 59, "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": 4287, "Length": 277, "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": 4288, "Length": 186, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "const", "Nios2RegisterInfo", "&", "Nios2InstrInfo", "::", "getRegisterInfo", "(", ")", "const", "{", "return", "RI", ";", "}", ""], "natrual_language": ["getRegisterInfo", "-", "TargetInstrInfo", "is", "a", "superset", "of", "MRegister", "info", "."], "TS_V_token": ["Nios2", "Nios2", "Nios2"], "File": "Nios2InstrInfo1", "Func": "getRegisterInfo", "Target": "Nios2", "Target_Clf": "MPU", "Compiler_Type": "LLVM", "Idx": 4289, "Length": 14, "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": 4290, "Length": 13, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "const", "char", "*", "cris_op_str", "(", "rtx", "x", ")", "{", "cris_output_insn_is_bound", "=", "0", ";", "switch", "(", "GET_CODE", "(", "x", ")", ")", "{", "case", "PLUS", ":", "return", "\"add\"", ";", "break", ";", "case", "MINUS", ":", "return", "\"sub\"", ";", "break", ";", "case", "MULT", ":", "internal_error", "(", "\"MULT case in cris_op_str\"", ")", ";", "break", ";", "case", "DIV", ":", "return", "\"div\"", ";", "break", ";", "case", "AND", ":", "return", "\"and\"", ";", "break", ";", "case", "IOR", ":", "return", "\"or\"", ";", "break", ";", "case", "XOR", ":", "return", "\"xor\"", ";", "break", ";", "case", "NOT", ":", "return", "\"not\"", ";", "break", ";", "case", "ASHIFT", ":", "return", "\"lsl\"", ";", "break", ";", "case", "LSHIFTRT", ":", "return", "\"lsr\"", ";", "break", ";", "case", "ASHIFTRT", ":", "return", "\"asr\"", ";", "break", ";", "case", "UMIN", ":", "cris_output_insn_is_bound", "=", "1", ";", "return", "\"bound\"", ";", "break", ";", "default", ":", "return", "\"Unknown operator\"", ";", "break", ";", "}", "}", ""], "natrual_language": ["Given", "an", "rtx", ",", "return", "the", "text", "string", "corresponding", "to", "the", "CODE", "of", "X", ".", "Intended", "for", "use", "in", "the", "assembly", "language", "output", "section", "of", "a", "define_insn", "."], "TS_V_token": ["cris", "0", "\"add\"", "\"sub\"", "\"MULT case in cris_op_str\"", "\"div\"", "\"and\"", "\"or\"", "\"xor\"", "\"not\"", "\"lsl\"", "\"lsr\"", "\"asr\"", "1", "\"bound\"", "\"Unknown operator\""], "File": "cris3", "Func": "cris_op_str", "Target": "cris", "Target_Clf": "MPU", "Compiler_Type": "GCC", "Idx": 4291, "Length": 132, "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": 4292, "Length": 220, "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": 4293, "Length": 177, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "void", "AMDGPUMCInstLower", "::", "lower", "(", "const", "MachineInstr", "*", "MI", ",", "MCInst", "&", "OutMI", ")", "const", "{", "int", "MCOpcode", "=", "ST", ".", "getInstrInfo", "(", ")", "->", "pseudoToMCOpcode", "(", "MI", "->", "getOpcode", "(", ")", ")", ";", "if", "(", "MCOpcode", "==", "-", "1", ")", "{", "LLVMContext", "&", "C", "=", "MI", "->", "getParent", "(", ")", "->", "getParent", "(", ")", "->", "getFunction", "(", ")", "->", "getContext", "(", ")", ";", "C", ".", "emitError", "(", "\"AMDGPUMCInstLower::lower - Pseudo instruction doesn't have \"", "\"a target-specific version: \"", "+", "Twine", "(", "MI", "->", "getOpcode", "(", ")", ")", ")", ";", "}", "OutMI", ".", "setOpcode", "(", "MCOpcode", ")", ";", "for", "(", "const", "MachineOperand", "&", "MO", ":", "MI", "->", "explicit_operands", "(", ")", ")", "{", "MCOperand", "MCOp", ";", "switch", "(", "MO", ".", "getType", "(", ")", ")", "{", "default", ":", "llvm_unreachable", "(", "\"unknown operand type\"", ")", ";", "case", "MachineOperand", "::", "MO_Immediate", ":", "MCOp", "=", "MCOperand", "::", "createImm", "(", "MO", ".", "getImm", "(", ")", ")", ";", "break", ";", "case", "MachineOperand", "::", "MO_Register", ":", "MCOp", "=", "MCOperand", "::", "createReg", "(", "AMDGPU", "::", "getMCReg", "(", "MO", ".", "getReg", "(", ")", ",", "ST", ")", ")", ";", "break", ";", "case", "MachineOperand", "::", "MO_MachineBasicBlock", ":", "MCOp", "=", "MCOperand", "::", "createExpr", "(", "MCSymbolRefExpr", "::", "create", "(", "MO", ".", "getMBB", "(", ")", "->", "getSymbol", "(", ")", ",", "Ctx", ")", ")", ";", "break", ";", "case", "MachineOperand", "::", "MO_GlobalAddress", ":", "{", "const", "GlobalValue", "*", "GV", "=", "MO", ".", "getGlobal", "(", ")", ";", "MCSymbol", "*", "Sym", "=", "Ctx", ".", "getOrCreateSymbol", "(", "StringRef", "(", "GV", "->", "getName", "(", ")", ")", ")", ";", "MCOp", "=", "MCOperand", "::", "createExpr", "(", "MCSymbolRefExpr", "::", "create", "(", "Sym", ",", "Ctx", ")", ")", ";", "break", ";", "}", "case", "MachineOperand", "::", "MO_ExternalSymbol", ":", "{", "MCSymbol", "*", "Sym", "=", "Ctx", ".", "getOrCreateSymbol", "(", "StringRef", "(", "MO", ".", "getSymbolName", "(", ")", ")", ")", ";", "const", "MCSymbolRefExpr", "*", "Expr", "=", "MCSymbolRefExpr", "::", "create", "(", "Sym", ",", "Ctx", ")", ";", "MCOp", "=", "MCOperand", "::", "createExpr", "(", "Expr", ")", ";", "break", ";", "}", "}", "OutMI", ".", "addOperand", "(", "MCOp", ")", ";", "}", "}", ""], "natrual_language": ["The", "instruction", "is", "lowered", "."], "TS_V_token": ["AMDGPU", "AMDGPU", "1", "\"AMDGPUMCInstLower::lower - Pseudo instruction doesn't have \"", "\"a target-specific version: \"", "\"unknown operand type\"", "AMDGPU::getMCReg"], "File": "AMDGPUMCInstLower (2)", "Func": "lower", "Target": "AMDGPU", "Target_Clf": "GPU", "Compiler_Type": "LLVM", "Idx": 4294, "Length": 314, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "static", "void", "run", "(", "uint64_t", "kernel", ",", "void", "*", "kernargs", ")", "{", "hsa_signal_t", "signal", ";", "XHSA", "(", "hsa_fns", ".", "hsa_signal_create_fn", "(", "1", ",", "0", ",", "NULL", ",", "&", "signal", ")", ",", "\"Create signal\"", ")", ";", "uint64_t", "index", "=", "hsa_fns", ".", "hsa_queue_load_write_index_relaxed_fn", "(", "queue", ")", ";", "const", "uint32_t", "queueMask", "=", "queue", "->", "size", "-", "1", ";", "hsa_kernel_dispatch_packet_t", "*", "dispatch_packet", "=", "&", "(", "(", "(", "hsa_kernel_dispatch_packet_t", "*", ")", "(", "queue", "->", "base_address", ")", ")", "[", "index", "&", "queueMask", "]", ")", ";", "dispatch_packet", "->", "setup", "|=", "3", "<<", "HSA_KERNEL_DISPATCH_PACKET_SETUP_DIMENSIONS", ";", "dispatch_packet", "->", "workgroup_size_x", "=", "(", "uint16_t", ")", "1", ";", "dispatch_packet", "->", "workgroup_size_y", "=", "(", "uint16_t", ")", "64", ";", "dispatch_packet", "->", "workgroup_size_z", "=", "(", "uint16_t", ")", "1", ";", "dispatch_packet", "->", "grid_size_x", "=", "1", ";", "dispatch_packet", "->", "grid_size_y", "=", "64", ";", "dispatch_packet", "->", "grid_size_z", "=", "1", ";", "dispatch_packet", "->", "completion_signal", "=", "signal", ";", "dispatch_packet", "->", "kernel_object", "=", "kernel", ";", "dispatch_packet", "->", "kernarg_address", "=", "(", "void", "*", ")", "kernargs", ";", "dispatch_packet", "->", "private_segment_size", "=", "private_segment_size", ";", "dispatch_packet", "->", "group_segment_size", "=", "group_segment_size", ";", "uint16_t", "header", "=", "0", ";", "header", "|=", "HSA_FENCE_SCOPE_SYSTEM", "<<", "HSA_PACKET_HEADER_ACQUIRE_FENCE_SCOPE", ";", "header", "|=", "HSA_FENCE_SCOPE_SYSTEM", "<<", "HSA_PACKET_HEADER_RELEASE_FENCE_SCOPE", ";", "header", "|=", "HSA_PACKET_TYPE_KERNEL_DISPATCH", "<<", "HSA_PACKET_HEADER_TYPE", ";", "__atomic_store_n", "(", "(", "uint32_t", "*", ")", "dispatch_packet", ",", "header", "|", "(", "dispatch_packet", "->", "setup", "<<", "16", ")", ",", "__ATOMIC_RELEASE", ")", ";", "if", "(", "debug", ")", "fprintf", "(", "stderr", ",", "\"Launch kernel\\n\"", ")", ";", "hsa_fns", ".", "hsa_queue_store_write_index_relaxed_fn", "(", "queue", ",", "index", "+", "1", ")", ";", "hsa_fns", ".", "hsa_signal_store_relaxed_fn", "(", "queue", "->", "doorbell_signal", ",", "index", ")", ";", "while", "(", "hsa_fns", ".", "hsa_signal_wait_relaxed_fn", "(", "signal", ",", "HSA_SIGNAL_CONDITION_LT", ",", "1", ",", "1000000", ",", "HSA_WAIT_STATE_ACTIVE", ")", "!=", "0", ")", "{", "usleep", "(", "10000", ")", ";", "gomp_print_output", "(", "kernargs", ",", "false", ")", ";", "}", "gomp_print_output", "(", "kernargs", ",", "true", ")", ";", "if", "(", "debug", ")", "fprintf", "(", "stderr", ",", "\"Kernel exited\\n\"", ")", ";", "XHSA", "(", "hsa_fns", ".", "hsa_signal_destroy_fn", "(", "signal", ")", ",", "\"Clean up signal\"", ")", ";", "}", ""], "natrual_language": ["Execute", "an", "already-loaded", "kernel", "on", "the", "device", "."], "TS_V_token": ["gcn", "1", "0", "\"Create signal\"", "1", "3", "1", "64", "1", "1", "64", "1", "0", "16", "\"Launch kernel\\n\"", "1", "1", "1000000", "0", "10000", "\"Kernel exited\\n\"", "\"Clean up signal\""], "File": "gcn-run", "Func": "run", "Target": "gcn", "Target_Clf": "GPU", "Compiler_Type": "GCC", "Idx": 4295, "Length": 306, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "int64_t", "TeakRegisterInfo", "::", "getFrameIndexInstrOffset", "(", "const", "MachineInstr", "*", "MI", ",", "int", "Idx", ")", "const", "{", "switch", "(", "MI", "->", "getOpcode", "(", ")", ")", "{", "default", ":", "return", "0", ";", "case", "Teak", "::", "STORE_REG_TO_STACK_PSEUDO_16", ":", "case", "Teak", "::", "STORE_REG_TO_STACK_PSEUDO_TRUNC16", ":", "case", "Teak", "::", "STORE_REG_TO_STACK_PSEUDO_32", ":", "case", "Teak", "::", "LOAD_REG_FROM_STACK_PSEUDO_16", ":", "case", "Teak", "::", "LOAD_REG_FROM_STACK_PSEUDO_16_SEXT40", ":", "case", "Teak", "::", "LOAD_REG_FROM_STACK_PSEUDO_16_ZEXT40", ":", "case", "Teak", "::", "LOAD_REG_FROM_STACK_PSEUDO_32_SEXT40", ":", "return", "MI", "->", "getOperand", "(", "Idx", "+", "1", ")", ".", "getImm", "(", ")", ";", "}", "}", ""], "natrual_language": ["Get", "the", "offset", "from", "the", "referenced", "frame", "index", "in", "the", "instruction", ",", "if", "there", "is", "one", "."], "TS_V_token": ["Teak", "Teak", "0", "Teak::STORE_REG_TO_STACK_PSEUDO_16", "Teak::STORE_REG_TO_STACK_PSEUDO_TRUNC16", "Teak::STORE_REG_TO_STACK_PSEUDO_32", "Teak::LOAD_REG_FROM_STACK_PSEUDO_16", "Teak::LOAD_REG_FROM_STACK_PSEUDO_16_SEXT40", "Teak::LOAD_REG_FROM_STACK_PSEUDO_16_ZEXT40", "Teak::LOAD_REG_FROM_STACK_PSEUDO_32_SEXT40", "1"], "File": "TeakRegisterInfo", "Func": "getFrameIndexInstrOffset", "Target": "Teak", "Target_Clf": "DSP", "Compiler_Type": "LLVM", "Idx": 4296, "Length": 80, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "static", "tree", "rl78_handle_func_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", "``", "interrupt", "''", "attributes", "."], "TS_V_token": ["rl78", "\"%qE attribute only applies to functions\""], "File": "rl782", "Func": "rl78_handle_func_attribute", "Target": "rl78", "Target_Clf": "MPU", "Compiler_Type": "GCC", "Idx": 4297, "Length": 69, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "bool", "AVRAsmParser", "::", "MatchAndEmitInstruction", "(", "SMLoc", "Loc", ",", "unsigned", "&", "Opcode", ",", "OperandVector", "&", "Operands", ",", "MCStreamer", "&", "Out", ",", "uint64_t", "&", "ErrorInfo", ",", "bool", "MatchingInlineAsm", ")", "{", "MCInst", "Inst", ";", "unsigned", "MatchResult", "=", "MatchInstructionImpl", "(", "Operands", ",", "Inst", ",", "ErrorInfo", ",", "MatchingInlineAsm", ")", ";", "switch", "(", "MatchResult", ")", "{", "case", "Match_Success", ":", "return", "emit", "(", "Inst", ",", "Loc", ",", "Out", ")", ";", "case", "Match_MissingFeature", ":", "return", "missingFeature", "(", "Loc", ",", "ErrorInfo", ")", ";", "case", "Match_InvalidOperand", ":", "return", "invalidOperand", "(", "Loc", ",", "Operands", ",", "ErrorInfo", ")", ";", "case", "Match_MnemonicFail", ":", "return", "Error", "(", "Loc", ",", "\"invalid instruction\"", ")", ";", "default", ":", "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": ["AVR", "AVR", "\"invalid instruction\""], "File": "AVRAsmParser", "Func": "MatchAndEmitInstruction", "Target": "AVR", "Target_Clf": "MPU", "Compiler_Type": "LLVM", "Idx": 4298, "Length": 105, "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": 4299, "Length": 26, "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": 4300, "Length": 40, "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": 4301, "Length": 88, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "bool", "SIInstrInfo", "::", "isInlineConstant", "(", "const", "MachineOperand", "&", "MO", ")", "const", "{", "if", "(", "MO", ".", "isImm", "(", ")", ")", "return", "isInlineConstant", "(", "APInt", "(", "32", ",", "MO", ".", "getImm", "(", ")", ",", "true", ")", ")", ";", "if", "(", "MO", ".", "isFPImm", "(", ")", ")", "{", "APFloat", "FpImm", "=", "MO", ".", "getFPImm", "(", ")", "->", "getValueAPF", "(", ")", ";", "return", "isInlineConstant", "(", "FpImm", ".", "bitcastToAPInt", "(", ")", ")", ";", "}", "return", "false", ";", "}", ""], "natrual_language": ["returns", "true", "if", "the", "operand", "OpIdx", "in", "MI", "is", "a", "valid", "inline", "immediate", "."], "TS_V_token": ["R600", "SI", "32"], "File": "SIInstrInfo116", "Func": "isInlineConstant", "Target": "R600", "Target_Clf": "GPU", "Compiler_Type": "LLVM", "Idx": 4302, "Length": 74, "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": 4303, "Length": 25, "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": 4304, "Length": 84, "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": ["AVR"], "File": "AVRELFStreamer", "Func": "getStreamer", "Target": "AVR", "Target_Clf": "MPU", "Compiler_Type": "LLVM", "Idx": 4305, "Length": 17, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "static", "unsigned", "int", "mips_global_pointer", "(", "void", ")", "{", "unsigned", "int", "regno", ";", "if", "(", "!", "TARGET_ABICALLS", ")", "return", "GLOBAL_POINTER_REGNUM", ";", "if", "(", "!", "TARGET_EXPLICIT_RELOCS", ")", "return", "GLOBAL_POINTER_REGNUM", ";", "if", "(", "current_function_profile", ")", "return", "GLOBAL_POINTER_REGNUM", ";", "if", "(", "current_function_has_nonlocal_goto", ")", "return", "GLOBAL_POINTER_REGNUM", ";", "if", "(", "!", "regs_ever_live", "[", "GLOBAL_POINTER_REGNUM", "]", "&&", "!", "current_function_uses_const_pool", "&&", "!", "mips_function_has_gp_insn", "(", ")", ")", "return", "0", ";", "if", "(", "TARGET_NEWABI", "&&", "current_function_is_leaf", ")", "for", "(", "regno", "=", "GP_REG_FIRST", ";", "regno", "<=", "GP_REG_LAST", ";", "regno", "++", ")", "if", "(", "!", "regs_ever_live", "[", "regno", "]", "&&", "call_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", "0"], "File": "mips3", "Func": "mips_global_pointer", "Target": "mips", "Target_Clf": "CPU", "Compiler_Type": "GCC", "Idx": 4306, "Length": 110, "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": 4307, "Length": 60, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "static", "int", "getMaxValue", "(", "uint64_t", "TSFlags", ")", "{", "unsigned", "isSigned", "=", "(", "TSFlags", ">>", "HexagonII", "::", "ExtentSignedPos", ")", "&", "HexagonII", "::", "ExtentSignedMask", ";", "unsigned", "bits", "=", "(", "TSFlags", ">>", "HexagonII", "::", "ExtentBitsPos", ")", "&", "HexagonII", "::", "ExtentBitsMask", ";", "if", "(", "isSigned", ")", "return", "~", "(", "-", "1U", "<<", "(", "bits", "-", "1", ")", ")", ";", "return", "~", "(", "-", "1U", "<<", "bits", ")", ";", "}", ""], "natrual_language": ["Return", "the", "maximal", "unsigned", "value", "possible", "given", "these", "KnownBits", "."], "TS_V_token": ["Hexagon", "HexagonII::ExtentSignedPos", "HexagonII::ExtentSignedMask", "HexagonII::ExtentBitsPos", "HexagonII::ExtentBitsMask", "1U", "1", "1U"], "File": "HexagonInstPrinter11", "Func": "getMaxValue", "Target": "Hexagon", "Target_Clf": "DSP", "Compiler_Type": "LLVM", "Idx": 4308, "Length": 65, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "bool", "isMem", "(", ")", "const", "override", "{", "return", "Kind", "==", "k_Memri", ";", "}", ""], "natrual_language": ["isMem", "-", "Is", "this", "a", "memory", "operand", "?"], "TS_V_token": ["AVR"], "File": "AVRAsmParser10", "Func": "isMem", "Target": "AVR", "Target_Clf": "MPU", "Compiler_Type": "LLVM", "Idx": 4309, "Length": 13, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "void", "ARMConstantPoolMBB", "::", "print", "(", "raw_ostream", "&", "O", ")", "const", "{", "ARMConstantPoolValue", "::", "print", "(", "O", ")", ";", "}", ""], "natrual_language": ["print", "-", "Print", "a", "debug", "representation", "of", "the", "operand", "to", "the", "given", "stream", "."], "TS_V_token": ["ARM", "ARM", "ARM"], "File": "ARMConstantPoolValue35", "Func": "print", "Target": "ARM", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 4310, "Length": 19, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "bool", "HexagonExpandCondsets", "::", "runOnMachineFunction", "(", "MachineFunction", "&", "MF", ")", "{", "if", "(", "skipFunction", "(", "MF", ".", "getFunction", "(", ")", ")", ")", "return", "false", ";", "HII", "=", "static_cast", "<", "const", "HexagonInstrInfo", "*", ">", "(", "MF", ".", "getSubtarget", "(", ")", ".", "getInstrInfo", "(", ")", ")", ";", "TRI", "=", "MF", ".", "getSubtarget", "(", ")", ".", "getRegisterInfo", "(", ")", ";", "MDT", "=", "&", "getAnalysis", "<", "MachineDominatorTree", ">", "(", ")", ";", "LIS", "=", "&", "getAnalysis", "<", "LiveIntervals", ">", "(", ")", ";", "MRI", "=", "&", "MF", ".", "getRegInfo", "(", ")", ";", "LLVM_DEBUG", "(", "LIS", "->", "print", "(", "dbgs", "(", ")", "<<", "\"Before expand-condsets\\n\"", ",", "MF", ".", "getFunction", "(", ")", ".", "getParent", "(", ")", ")", ")", ";", "bool", "Changed", "=", "false", ";", "std", "::", "set", "<", "Register", ">", "CoalUpd", ",", "PredUpd", ";", "SmallVector", "<", "MachineInstr", "*", ",", "16", ">", "Condsets", ";", "for", "(", "auto", "&", "B", ":", "MF", ")", "for", "(", "auto", "&", "I", ":", "B", ")", "if", "(", "isCondset", "(", "I", ")", ")", "Condsets", ".", "push_back", "(", "&", "I", ")", ";", "Changed", "|=", "coalesceSegments", "(", "Condsets", ",", "CoalUpd", ")", ";", "std", "::", "set", "<", "Register", ">", "KillUpd", ";", "for", "(", "MachineInstr", "*", "MI", ":", "Condsets", ")", "for", "(", "MachineOperand", "&", "Op", ":", "MI", "->", "operands", "(", ")", ")", "if", "(", "Op", ".", "isReg", "(", ")", "&&", "Op", ".", "isUse", "(", ")", ")", "if", "(", "!", "CoalUpd", ".", "count", "(", "Op", ".", "getReg", "(", ")", ")", ")", "KillUpd", ".", "insert", "(", "Op", ".", "getReg", "(", ")", ")", ";", "updateLiveness", "(", "KillUpd", ",", "false", ",", "true", ",", "false", ")", ";", "LLVM_DEBUG", "(", "LIS", "->", "print", "(", "dbgs", "(", ")", "<<", "\"After coalescing\\n\"", ",", "MF", ".", "getFunction", "(", ")", ".", "getParent", "(", ")", ")", ")", ";", "for", "(", "MachineInstr", "*", "MI", ":", "Condsets", ")", "Changed", "|=", "split", "(", "*", "MI", ",", "PredUpd", ")", ";", "Condsets", ".", "clear", "(", ")", ";", "LLVM_DEBUG", "(", "LIS", "->", "print", "(", "dbgs", "(", ")", "<<", "\"After splitting\\n\"", ",", "MF", ".", "getFunction", "(", ")", ".", "getParent", "(", ")", ")", ")", ";", "for", "(", "auto", "&", "B", ":", "MF", ")", "Changed", "|=", "predicateInBlock", "(", "B", ",", "PredUpd", ")", ";", "LLVM_DEBUG", "(", "LIS", "->", "print", "(", "dbgs", "(", ")", "<<", "\"After predicating\\n\"", ",", "MF", ".", "getFunction", "(", ")", ".", "getParent", "(", ")", ")", ")", ";", "PredUpd", ".", "insert", "(", "CoalUpd", ".", "begin", "(", ")", ",", "CoalUpd", ".", "end", "(", ")", ")", ";", "updateLiveness", "(", "PredUpd", ",", "true", ",", "true", ",", "true", ")", ";", "LLVM_DEBUG", "(", "{", "if", "(", "Changed", ")", "LIS", "->", "print", "(", "dbgs", "(", ")", "<<", "\"After expand-condsets\\n\"", ",", "MF", ".", "getFunction", "(", ")", ".", "getParent", "(", ")", ")", ";", "}", ")", ";", "return", "Changed", ";", "}", ""], "natrual_language": ["runOnMachineFunction", "-", "Emit", "the", "function", "body", "."], "TS_V_token": ["Hexagon", "Hexagon", "Hexagon", "\"Before expand-condsets\\n\"", "16", "\"After coalescing\\n\"", "\"After splitting\\n\"", "\"After predicating\\n\"", "\"After expand-condsets\\n\""], "File": "HexagonExpandCondsets16", "Func": "runOnMachineFunction", "Target": "Hexagon", "Target_Clf": "DSP", "Compiler_Type": "LLVM", "Idx": 4311, "Length": 427, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "virtual", "const", "HexagonRegisterInfo", "*", "getRegisterInfo", "(", ")", "const", "{", "return", "&", "InstrInfo", ".", "getRegisterInfo", "(", ")", ";", "}", ""], "natrual_language": ["getRegisterInfo", "-", "TargetInstrInfo", "is", "a", "superset", "of", "MRegister", "info", "."], "TS_V_token": ["Hexagon", "Hexagon"], "File": "HexagonTargetMachine10", "Func": "getRegisterInfo", "Target": "Hexagon", "Target_Clf": "DSP", "Compiler_Type": "LLVM", "Idx": 4312, "Length": 18, "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": 4313, "Length": 13, "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": 4314, "Length": 148, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "static", "int", "alpha_compute_xfloating_mode_arg", "(", "enum", "rtx_code", "code", ",", "enum", "alpha_fp_rounding_mode", "round", ")", "{", "int", "mode", ";", "switch", "(", "round", ")", "{", "case", "ALPHA_FPRM_NORM", ":", "mode", "=", "2", ";", "break", ";", "case", "ALPHA_FPRM_MINF", ":", "mode", "=", "1", ";", "break", ";", "case", "ALPHA_FPRM_CHOP", ":", "mode", "=", "0", ";", "break", ";", "case", "ALPHA_FPRM_DYN", ":", "mode", "=", "4", ";", "break", ";", "default", ":", "gcc_unreachable", "(", ")", ";", "}", "if", "(", "code", "==", "FLOAT_TRUNCATE", "&&", "alpha_fptm", "==", "ALPHA_FPTM_N", ")", "mode", "|=", "0x10000", ";", "return", "mode", ";", "}", ""], "natrual_language": ["Most", "X_floating", "operations", "take", "the", "rounding", "mode", "as", "an", "argument", ".", "Compute", "that", "here", "."], "TS_V_token": ["alpha", "2", "1", "0", "4", "0x10000"], "File": "alpha", "Func": "alpha_compute_xfloating_mode_arg", "Target": "alpha", "Target_Clf": "MPU", "Compiler_Type": "GCC", "Idx": 4315, "Length": 82, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "bool", "ARCInstrInfo", "::", "analyzeBranch", "(", "MachineBasicBlock", "&", "MBB", ",", "MachineBasicBlock", "*", "&", "TBB", ",", "MachineBasicBlock", "*", "&", "FBB", ",", "SmallVectorImpl", "<", "MachineOperand", ">", "&", "Cond", ",", "bool", "AllowModify", ")", "const", "{", "TBB", "=", "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", "(", "isJumpOpcode", "(", "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", ")", ")", ";", "Cond", ".", "push_back", "(", "I", "->", "getOperand", "(", "3", ")", ")", ";", "}", "else", "if", "(", "I", "->", "isReturn", "(", ")", ")", "{", "CantAnalyze", "=", "!", "isPredicated", "(", "*", "I", ")", ";", "}", "else", "{", "return", "true", ";", "}", "if", "(", "!", "isPredicated", "(", "*", "I", ")", "&&", "(", "isUncondBranchOpcode", "(", "I", "->", "getOpcode", "(", ")", ")", "||", "isJumpOpcode", "(", "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": ["ARC", "ARC", "0", "\"FBB should have been null.\"", "0", "1", "2", "3"], "File": "ARCInstrInfo", "Func": "analyzeBranch", "Target": "ARC", "Target_Clf": "MPU", "Compiler_Type": "LLVM", "Idx": 4316, "Length": 401, "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": ["Hexagon"], "File": "HexagonAsmParser", "Func": "getEndLoc", "Target": "Hexagon", "Target_Clf": "DSP", "Compiler_Type": "LLVM", "Idx": 4317, "Length": 11, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "int", "h8300_expand_movsi", "(", "rtx", "operands", "[", "]", ")", "{", "rtx", "src", "=", "operands", "[", "1", "]", ";", "rtx", "dst", "=", "operands", "[", "0", "]", ";", "if", "(", "!", "reload_in_progress", "&&", "!", "reload_completed", ")", "{", "if", "(", "!", "register_operand", "(", "dst", ",", "GET_MODE", "(", "dst", ")", ")", ")", "{", "rtx", "tmp", "=", "gen_reg_rtx", "(", "GET_MODE", "(", "dst", ")", ")", ";", "emit_move_insn", "(", "tmp", ",", "src", ")", ";", "operands", "[", "1", "]", "=", "tmp", ";", "}", "}", "return", "0", ";", "}", ""], "natrual_language": ["Prepare", "for", "an", "SI", "sized", "move", "."], "TS_V_token": ["h8300", "1", "0", "1", "0"], "File": "h8300", "Func": "h8300_expand_movsi", "Target": "h8300", "Target_Clf": "MPU", "Compiler_Type": "GCC", "Idx": 4318, "Length": 79, "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", "{", "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", ")", "{", "assert", "(", "VA", ".", "isRegLoc", "(", ")", "&&", "\"Expected return via registers\"", ")", ";", "SDValue", "SplitF64", "=", "DAG", ".", "getNode", "(", "RISCVISD", "::", "SplitF64", ",", "DL", ",", "DAG", ".", "getVTList", "(", "MVT", "::", "i32", ",", "MVT", "::", "i32", ")", ",", "Val", ")", ";", "SDValue", "Lo", "=", "SplitF64", ".", "getValue", "(", "0", ")", ";", "SDValue", "Hi", "=", "SplitF64", ".", "getValue", "(", "1", ")", ";", "unsigned", "RegLo", "=", "VA", ".", "getLocReg", "(", ")", ";", "unsigned", "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", "=", "packIntoRegLoc", "(", "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", ")", ";", "}", "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", "4", "1", "0", "\"Can only return in registers!\"", "MVT::i32", "MVT::f64", "\"Expected return via registers\"", "RISCVISD::SplitF64", "MVT::i32", "MVT::i32", "0", "1", "1", "1", "MVT::i32", "1", "MVT::i32", "1", "0", "RISCVISD::RET_FLAG", "MVT::Other"], "File": "RISCVISelLowering10", "Func": "LowerReturn", "Target": "RISCV", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 4319, "Length": 456, "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": 4320, "Length": 427, "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": 4321, "Length": 25, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "static", "bool", "m68k_legitimate_mem_p", "(", "rtx", "x", ",", "struct", "m68k_address", "*", "address", ")", "{", "return", "(", "MEM_P", "(", "x", ")", "&&", "m68k_decompose_address", "(", "GET_MODE", "(", "x", ")", ",", "XEXP", "(", "x", ",", "0", ")", ",", "reload_in_progress", "||", "reload_completed", ",", "address", ")", ")", ";", "}", ""], "natrual_language": ["Return", "true", "if", "X", "is", "a", "memory", ",", "describing", "its", "address", "in", "ADDRESS", "if", "so", ".", "Apply", "strict", "checking", "if", "called", "during", "or", "after", "reload", "."], "TS_V_token": ["m68k", "0"], "File": "m68k", "Func": "m68k_legitimate_mem_p", "Target": "m68k", "Target_Clf": "MPU", "Compiler_Type": "GCC", "Idx": 4322, "Length": 43, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "void", "WebAssemblyAsmPrinter", "::", "emitInstruction", "(", "const", "MachineInstr", "*", "MI", ")", "{", "LLVM_DEBUG", "(", "dbgs", "(", ")", "<<", "\"EmitInstruction: \"", "<<", "*", "MI", "<<", "'\\n'", ")", ";", "switch", "(", "MI", "->", "getOpcode", "(", ")", ")", "{", "case", "WebAssembly", "::", "ARGUMENT_i32", ":", "case", "WebAssembly", "::", "ARGUMENT_i32_S", ":", "case", "WebAssembly", "::", "ARGUMENT_i64", ":", "case", "WebAssembly", "::", "ARGUMENT_i64_S", ":", "case", "WebAssembly", "::", "ARGUMENT_f32", ":", "case", "WebAssembly", "::", "ARGUMENT_f32_S", ":", "case", "WebAssembly", "::", "ARGUMENT_f64", ":", "case", "WebAssembly", "::", "ARGUMENT_f64_S", ":", "case", "WebAssembly", "::", "ARGUMENT_v16i8", ":", "case", "WebAssembly", "::", "ARGUMENT_v16i8_S", ":", "case", "WebAssembly", "::", "ARGUMENT_v8i16", ":", "case", "WebAssembly", "::", "ARGUMENT_v8i16_S", ":", "case", "WebAssembly", "::", "ARGUMENT_v4i32", ":", "case", "WebAssembly", "::", "ARGUMENT_v4i32_S", ":", "case", "WebAssembly", "::", "ARGUMENT_v2i64", ":", "case", "WebAssembly", "::", "ARGUMENT_v2i64_S", ":", "case", "WebAssembly", "::", "ARGUMENT_v4f32", ":", "case", "WebAssembly", "::", "ARGUMENT_v4f32_S", ":", "case", "WebAssembly", "::", "ARGUMENT_v2f64", ":", "case", "WebAssembly", "::", "ARGUMENT_v2f64_S", ":", "break", ";", "case", "WebAssembly", "::", "FALLTHROUGH_RETURN", ":", "{", "if", "(", "isVerbose", "(", ")", ")", "{", "OutStreamer", "->", "AddComment", "(", "\"fallthrough-return\"", ")", ";", "OutStreamer", "->", "AddBlankLine", "(", ")", ";", "}", "break", ";", "}", "case", "WebAssembly", "::", "COMPILER_FENCE", ":", "break", ";", "case", "WebAssembly", "::", "EXTRACT_EXCEPTION_I32", ":", "case", "WebAssembly", "::", "EXTRACT_EXCEPTION_I32_S", ":", "if", "(", "!", "WasmKeepRegisters", ")", "break", ";", "LLVM_FALLTHROUGH", ";", "default", ":", "{", "WebAssemblyMCInstLower", "MCInstLowering", "(", "OutContext", ",", "*", "this", ")", ";", "MCInst", "TmpInst", ";", "MCInstLowering", ".", "lower", "(", "MI", ",", "TmpInst", ")", ";", "EmitToStreamer", "(", "*", "OutStreamer", ",", "TmpInst", ")", ";", "break", ";", "}", "}", "}", ""], "natrual_language": ["Targets", "should", "implement", "this", "to", "emit", "instructions", "."], "TS_V_token": ["WebAssembly", "WebAssembly", "\"EmitInstruction: \"", "WebAssembly::ARGUMENT_i32", "WebAssembly::ARGUMENT_i32_S", "WebAssembly::ARGUMENT_i64", "WebAssembly::ARGUMENT_i64_S", "WebAssembly::ARGUMENT_f32", "WebAssembly::ARGUMENT_f32_S", "WebAssembly::ARGUMENT_f64", "WebAssembly::ARGUMENT_f64_S", "WebAssembly::ARGUMENT_v16i8", "WebAssembly::ARGUMENT_v16i8_S", "WebAssembly::ARGUMENT_v8i16", "WebAssembly::ARGUMENT_v8i16_S", "WebAssembly::ARGUMENT_v4i32", "WebAssembly::ARGUMENT_v4i32_S", "WebAssembly::ARGUMENT_v2i64", "WebAssembly::ARGUMENT_v2i64_S", "WebAssembly::ARGUMENT_v4f32", "WebAssembly::ARGUMENT_v4f32_S", "WebAssembly::ARGUMENT_v2f64", "WebAssembly::ARGUMENT_v2f64_S", "WebAssembly::FALLTHROUGH_RETURN", "\"fallthrough-return\"", "WebAssembly::COMPILER_FENCE", "WebAssembly::EXTRACT_EXCEPTION_I32", "WebAssembly::EXTRACT_EXCEPTION_I32_S", "WebAssembly"], "File": "WebAssemblyAsmPrinter31", "Func": "emitInstruction", "Target": "WebAssembly", "Target_Clf": "Virtual ISA", "Compiler_Type": "LLVM", "Idx": 4323, "Length": 229, "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": 4324, "Length": 161, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "ScheduleHazardRecognizer", "::", "HazardType", "SPUHazardRecognizer", "::", "getHazardType", "(", "SUnit", "*", "SU", ")", "{", "const", "SDNode", "*", "Node", "=", "SU", "->", "getNode", "(", ")", "->", "getFlaggedMachineNode", "(", ")", ";", "ScheduleHazardRecognizer", "::", "HazardType", "retval", "=", "NoHazard", ";", "bool", "mustBeOdd", "=", "false", ";", "switch", "(", "Node", "->", "getOpcode", "(", ")", ")", "{", "case", "SPU", "::", "LQDv16i8", ":", "case", "SPU", "::", "LQDv8i16", ":", "case", "SPU", "::", "LQDv4i32", ":", "case", "SPU", "::", "LQDv4f32", ":", "case", "SPU", "::", "LQDv2f64", ":", "case", "SPU", "::", "LQDr128", ":", "case", "SPU", "::", "LQDr64", ":", "case", "SPU", "::", "LQDr32", ":", "case", "SPU", "::", "LQDr16", ":", "case", "SPU", "::", "LQAv16i8", ":", "case", "SPU", "::", "LQAv8i16", ":", "case", "SPU", "::", "LQAv4i32", ":", "case", "SPU", "::", "LQAv4f32", ":", "case", "SPU", "::", "LQAv2f64", ":", "case", "SPU", "::", "LQAr128", ":", "case", "SPU", "::", "LQAr64", ":", "case", "SPU", "::", "LQAr32", ":", "case", "SPU", "::", "LQXv4i32", ":", "case", "SPU", "::", "LQXr128", ":", "case", "SPU", "::", "LQXr64", ":", "case", "SPU", "::", "LQXr32", ":", "case", "SPU", "::", "LQXr16", ":", "case", "SPU", "::", "STQDv16i8", ":", "case", "SPU", "::", "STQDv8i16", ":", "case", "SPU", "::", "STQDv4i32", ":", "case", "SPU", "::", "STQDv4f32", ":", "case", "SPU", "::", "STQDv2f64", ":", "case", "SPU", "::", "STQDr128", ":", "case", "SPU", "::", "STQDr64", ":", "case", "SPU", "::", "STQDr32", ":", "case", "SPU", "::", "STQDr16", ":", "case", "SPU", "::", "STQDr8", ":", "case", "SPU", "::", "STQAv16i8", ":", "case", "SPU", "::", "STQAv8i16", ":", "case", "SPU", "::", "STQAv4i32", ":", "case", "SPU", "::", "STQAv4f32", ":", "case", "SPU", "::", "STQAv2f64", ":", "case", "SPU", "::", "STQAr128", ":", "case", "SPU", "::", "STQAr64", ":", "case", "SPU", "::", "STQAr32", ":", "case", "SPU", "::", "STQAr16", ":", "case", "SPU", "::", "STQAr8", ":", "case", "SPU", "::", "STQXv16i8", ":", "case", "SPU", "::", "STQXv8i16", ":", "case", "SPU", "::", "STQXv4i32", ":", "case", "SPU", "::", "STQXv4f32", ":", "case", "SPU", "::", "STQXv2f64", ":", "case", "SPU", "::", "STQXr128", ":", "case", "SPU", "::", "STQXr64", ":", "case", "SPU", "::", "STQXr32", ":", "case", "SPU", "::", "STQXr16", ":", "case", "SPU", "::", "STQXr8", ":", "case", "SPU", "::", "RET", ":", "mustBeOdd", "=", "true", ";", "break", ";", "default", ":", "break", ";", "}", "if", "(", "mustBeOdd", "&&", "!", "EvenOdd", ")", "retval", "=", "Hazard", ";", "DEBUG", "(", "errs", "(", ")", "<<", "\"SPUHazardRecognizer EvenOdd \"", "<<", "EvenOdd", "<<", "\" Hazard \"", "<<", "retval", "<<", "\"\\n\"", ")", ";", "EvenOdd", "^=", "1", ";", "return", "retval", ";", "return", "NoHazard", ";", "}", ""], "natrual_language": ["getHazardType", "-", "Return", "the", "hazard", "type", "of", "emitting", "this", "node", "."], "TS_V_token": ["CellSPU", "SPU", "SPU::LQDv16i8", "SPU::LQDv8i16", "SPU::LQDv4i32", "SPU::LQDv4f32", "SPU::LQDv2f64", "SPU::LQDr128", "SPU::LQDr64", "SPU::LQDr32", "SPU::LQDr16", "SPU::LQAv16i8", "SPU::LQAv8i16", "SPU::LQAv4i32", "SPU::LQAv4f32", "SPU::LQAv2f64", "SPU::LQAr128", "SPU::LQAr64", "SPU::LQAr32", "SPU::LQXv4i32", "SPU::LQXr128", "SPU::LQXr64", "SPU::LQXr32", "SPU::LQXr16", "SPU::STQDv16i8", "SPU::STQDv8i16", "SPU::STQDv4i32", "SPU::STQDv4f32", "SPU::STQDv2f64", "SPU::STQDr128", "SPU::STQDr64", "SPU::STQDr32", "SPU::STQDr16", "SPU::STQDr8", "SPU::STQAv16i8", "SPU::STQAv8i16", "SPU::STQAv4i32", "SPU::STQAv4f32", "SPU::STQAv2f64", "SPU::STQAr128", "SPU::STQAr64", "SPU::STQAr32", "SPU::STQAr16", "SPU::STQAr8", "SPU::STQXv16i8", "SPU::STQXv8i16", "SPU::STQXv4i32", "SPU::STQXv4f32", "SPU::STQXv2f64", "SPU::STQXr128", "SPU::STQXr64", "SPU::STQXr32", "SPU::STQXr16", "SPU::STQXr8", "SPU::RET", "\"SPUHazardRecognizer EvenOdd \"", "\" Hazard \"", "\"\\n\"", "1"], "File": "SPUHazardRecognizers5", "Func": "getHazardType", "Target": "CellSPU", "Target_Clf": "MPU", "Compiler_Type": "LLVM", "Idx": 4325, "Length": 363, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "void", "AlphaInstrInfo", "::", "storeRegToStackSlot", "(", "MachineBasicBlock", "&", "MBB", ",", "MachineBasicBlock", "::", "iterator", "MI", ",", "unsigned", "SrcReg", ",", "bool", "isKill", ",", "int", "FrameIdx", ",", "const", "TargetRegisterClass", "*", "RC", ")", "const", "{", "DebugLoc", "DL", ";", "if", "(", "MI", "!=", "MBB", ".", "end", "(", ")", ")", "DL", "=", "MI", "->", "getDebugLoc", "(", ")", ";", "if", "(", "RC", "==", "Alpha", "::", "F4RCRegisterClass", ")", "BuildMI", "(", "MBB", ",", "MI", ",", "DL", ",", "get", "(", "Alpha", "::", "STS", ")", ")", ".", "addReg", "(", "SrcReg", ",", "getKillRegState", "(", "isKill", ")", ")", ".", "addFrameIndex", "(", "FrameIdx", ")", ".", "addReg", "(", "Alpha", "::", "F31", ")", ";", "else", "if", "(", "RC", "==", "Alpha", "::", "F8RCRegisterClass", ")", "BuildMI", "(", "MBB", ",", "MI", ",", "DL", ",", "get", "(", "Alpha", "::", "STT", ")", ")", ".", "addReg", "(", "SrcReg", ",", "getKillRegState", "(", "isKill", ")", ")", ".", "addFrameIndex", "(", "FrameIdx", ")", ".", "addReg", "(", "Alpha", "::", "F31", ")", ";", "else", "if", "(", "RC", "==", "Alpha", "::", "GPRCRegisterClass", ")", "BuildMI", "(", "MBB", ",", "MI", ",", "DL", ",", "get", "(", "Alpha", "::", "STQ", ")", ")", ".", "addReg", "(", "SrcReg", ",", "getKillRegState", "(", "isKill", ")", ")", ".", "addFrameIndex", "(", "FrameIdx", ")", ".", "addReg", "(", "Alpha", "::", "F31", ")", ";", "else", "llvm_unreachable", "(", "\"Unhandled register class\"", ")", ";", "}", ""], "natrual_language": ["Store", "the", "specified", "register", "of", "the", "given", "register", "class", "to", "the", "specified", "stack", "frame", "index", "."], "TS_V_token": ["Alpha", "Alpha", "Alpha::F4RCRegisterClass", "Alpha::STS", "Alpha::F31", "Alpha::F8RCRegisterClass", "Alpha::STT", "Alpha::F31", "Alpha::GPRCRegisterClass", "Alpha::STQ", "Alpha::F31", "\"Unhandled register class\""], "File": "AlphaInstrInfo1", "Func": "storeRegToStackSlot", "Target": "Alpha", "Target_Clf": "MPU", "Compiler_Type": "LLVM", "Idx": 4326, "Length": 198, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "int", "R600InstrInfo", "::", "getOperandIdx", "(", "unsigned", "Opcode", ",", "R600Operands", "::", "Ops", "Op", ")", "const", "{", "const", "static", "int", "OpTable", "[", "3", "]", "[", "R600Operands", "::", "COUNT", "]", "=", "{", "{", "0", ",", "-", "1", ",", "-", "1", ",", "1", ",", "2", ",", "3", ",", "4", ",", "5", ",", "6", ",", "7", ",", "8", ",", "-", "1", ",", "-", "1", ",", "-", "1", ",", "-", "1", ",", "-", "1", ",", "-", "1", ",", "-", "1", ",", "9", ",", "10", ",", "11", "}", ",", "{", "0", ",", "1", ",", "2", ",", "3", ",", "4", ",", "5", ",", "6", ",", "7", ",", "8", ",", "9", ",", "10", ",", "11", ",", "12", ",", "-", "1", ",", "-", "1", ",", "-", "1", ",", "13", ",", "14", ",", "15", ",", "16", ",", "17", "}", ",", "{", "0", ",", "-", "1", ",", "-", "1", ",", "-", "1", ",", "-", "1", ",", "1", ",", "2", ",", "3", ",", "4", ",", "5", ",", "-", "1", ",", "6", ",", "7", ",", "8", ",", "-", "1", ",", "9", ",", "10", ",", "11", ",", "12", ",", "13", ",", "14", "}", "}", ";", "unsigned", "TargetFlags", "=", "get", "(", "Opcode", ")", ".", "TSFlags", ";", "unsigned", "OpTableIdx", ";", "if", "(", "!", "HAS_NATIVE_OPERANDS", "(", "TargetFlags", ")", ")", "{", "switch", "(", "Op", ")", "{", "case", "R600Operands", "::", "DST", ":", "return", "0", ";", "case", "R600Operands", "::", "SRC0", ":", "return", "1", ";", "case", "R600Operands", "::", "SRC1", ":", "return", "2", ";", "case", "R600Operands", "::", "SRC2", ":", "return", "3", ";", "default", ":", "assert", "(", "!", "\"Unknown operand type for instruction\"", ")", ";", "return", "-", "1", ";", "}", "}", "if", "(", "TargetFlags", "&", "R600_InstFlag", "::", "OP1", ")", "{", "OpTableIdx", "=", "0", ";", "}", "else", "if", "(", "TargetFlags", "&", "R600_InstFlag", "::", "OP2", ")", "{", "OpTableIdx", "=", "1", ";", "}", "else", "{", "assert", "(", "(", "TargetFlags", "&", "R600_InstFlag", "::", "OP3", ")", "&&", "\"OP1, OP2, or OP3 not defined \"", "\"for this instruction\"", ")", ";", "OpTableIdx", "=", "2", ";", "}", "return", "OpTable", "[", "OpTableIdx", "]", "[", "Op", "]", ";", "}", ""], "natrual_language": ["Get", "the", "index", "of", "Op", "for", "the", "given", "Opcode", "."], "TS_V_token": ["R600", "R600Operands::Ops", "3", "R600Operands::COUNT", "0", "1", "1", "1", "2", "3", "4", "5", "6", "7", "8", "1", "1", "1", "1", "1", "1", "1", "9", "10", "11", "0", "1", "2", "3", "4", "5", "6", "7", "8", "9", "10", "11", "12", "1", "1", "1", "13", "14", "15", "16", "17", "0", "1", "1", "1", "1", "1", "2", "3", "4", "5", "1", "6", "7", "8", "1", "9", "10", "11", "12", "13", "14", "R600Operands::DST", "0", "R600Operands::SRC0", "1", "R600Operands::SRC1", "2", "R600Operands::SRC2", "3", "\"Unknown operand type for instruction\"", "1", "R600_InstFlag::OP1", "0", "R600_InstFlag::OP2", "1", "R600_InstFlag::OP3", "\"OP1, OP2, or OP3 not defined \"", "\"for this instruction\"", "2"], "File": "R600InstrInfo28", "Func": "getOperandIdx", "Target": "R600", "Target_Clf": "GPU", "Compiler_Type": "LLVM", "Idx": 4327, "Length": 313, "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": 4328, "Length": 25, "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": 4329, "Length": 235, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "bool", "Z80CallFrameOptimization", "::", "runOnMachineFunction", "(", "MachineFunction", "&", "MF", ")", "{", "if", "(", "skipFunction", "(", "MF", ".", "getFunction", "(", ")", ")", "||", "NoZ80CFOpt", ".", "getValue", "(", ")", ")", "{", "return", "false", ";", "}", "return", "false", ";", "}", ""], "natrual_language": ["runOnMachineFunction", "-", "Emit", "the", "function", "body", "."], "TS_V_token": ["Z80", "Z80", "Z80"], "File": "Z80CallFrameOptimization", "Func": "runOnMachineFunction", "Target": "Z80", "Target_Clf": "MPU", "Compiler_Type": "LLVM", "Idx": 4330, "Length": 36, "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": 4331, "Length": 363, "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": 4332, "Length": 122, "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": 4333, "Length": 234, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "static", "void", "AnalyzeArguments", "(", "CCState", "&", "State", ",", "SmallVectorImpl", "<", "CCValAssign", ">", "&", "ArgLocs", ",", "const", "SmallVectorImpl", "<", "ArgT", ">", "&", "Args", ")", "{", "static", "const", "MCPhysReg", "RegList", "[", "]", "=", "{", "MSP430", "::", "R12", ",", "MSP430", "::", "R13", ",", "MSP430", "::", "R14", ",", "MSP430", "::", "R15", "}", ";", "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", "UsedStack", "=", "false", ";", "unsigned", "ValNo", "=", "0", ";", "for", "(", "unsigned", "i", "=", "0", ",", "e", "=", "ArgsParts", ".", "size", "(", ")", ";", "i", "!=", "e", ";", "i", "++", ")", "{", "MVT", "ArgVT", "=", "Args", "[", "ValNo", "]", ".", "VT", ";", "ISD", "::", "ArgFlagsTy", "ArgFlags", "=", "Args", "[", "ValNo", "]", ".", "Flags", ";", "MVT", "LocVT", "=", "ArgVT", ";", "CCValAssign", "::", "LocInfo", "LocInfo", "=", "CCValAssign", "::", "Full", ";", "if", "(", "LocVT", "==", "MVT", "::", "i8", ")", "{", "LocVT", "=", "MVT", "::", "i16", ";", "if", "(", "ArgFlags", ".", "isSExt", "(", ")", ")", "LocInfo", "=", "CCValAssign", "::", "SExt", ";", "else", "if", "(", "ArgFlags", ".", "isZExt", "(", ")", ")", "LocInfo", "=", "CCValAssign", "::", "ZExt", ";", "else", "LocInfo", "=", "CCValAssign", "::", "AExt", ";", "}", "if", "(", "ArgFlags", ".", "isByVal", "(", ")", ")", "{", "State", ".", "HandleByVal", "(", "ValNo", "++", ",", "ArgVT", ",", "LocVT", ",", "LocInfo", ",", "2", ",", "2", ",", "ArgFlags", ")", ";", "continue", ";", "}", "unsigned", "Parts", "=", "ArgsParts", "[", "i", "]", ";", "if", "(", "!", "UsedStack", "&&", "Parts", "==", "2", "&&", "RegsLeft", "==", "1", ")", "{", "unsigned", "Reg", "=", "State", ".", "AllocateReg", "(", "RegList", ")", ";", "State", ".", "addLoc", "(", "CCValAssign", "::", "getReg", "(", "ValNo", "++", ",", "ArgVT", ",", "Reg", ",", "LocVT", ",", "LocInfo", ")", ")", ";", "RegsLeft", "-=", "1", ";", "UsedStack", "=", "true", ";", "CC_MSP430_AssignStack", "(", "ValNo", "++", ",", "ArgVT", ",", "LocVT", ",", "LocInfo", ",", "ArgFlags", ",", "State", ")", ";", "}", "else", "if", "(", "Parts", "<=", "RegsLeft", ")", "{", "for", "(", "unsigned", "j", "=", "0", ";", "j", "<", "Parts", ";", "j", "++", ")", "{", "unsigned", "Reg", "=", "State", ".", "AllocateReg", "(", "RegList", ")", ";", "State", ".", "addLoc", "(", "CCValAssign", "::", "getReg", "(", "ValNo", "++", ",", "ArgVT", ",", "Reg", ",", "LocVT", ",", "LocInfo", ")", ")", ";", "RegsLeft", "--", ";", "}", "}", "else", "{", "UsedStack", "=", "true", ";", "for", "(", "unsigned", "j", "=", "0", ";", "j", "<", "Parts", ";", "j", "++", ")", "CC_MSP430_AssignStack", "(", "ValNo", "++", ",", "ArgVT", ",", "LocVT", ",", "LocInfo", ",", "ArgFlags", ",", "State", ")", ";", "}", "}", "}", ""], "natrual_language": ["The", "function", "will", "invoke", "AnalyzeCallOperands", "."], "TS_V_token": ["MSP430", "MSP430::R12", "MSP430::R13", "MSP430::R14", "MSP430::R15", "4", "0", "0", "ISD::ArgFlagsTy", "MVT::i8", "MVT::i16", "2", "2", "2", "1", "1", "MSP430", "0", "0", "MSP430"], "File": "MSP430ISelLowering62", "Func": "AnalyzeArguments", "Target": "MSP430", "Target_Clf": "MPU", "Compiler_Type": "LLVM", "Idx": 4334, "Length": 427, "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": 4335, "Length": 13, "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": 4336, "Length": 14, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "bool", "R600InstrInfo", "::", "isPredicated", "(", "const", "MachineInstr", "&", "MI", ")", "const", "{", "int", "idx", "=", "MI", ".", "findFirstPredOperandIdx", "(", ")", ";", "if", "(", "idx", "<", "0", ")", "return", "false", ";", "unsigned", "Reg", "=", "MI", ".", "getOperand", "(", "idx", ")", ".", "getReg", "(", ")", ";", "switch", "(", "Reg", ")", "{", "default", ":", "return", "false", ";", "case", "AMDGPU", "::", "PRED_SEL_ONE", ":", "case", "AMDGPU", "::", "PRED_SEL_ZERO", ":", "case", "AMDGPU", "::", "PREDICATE_BIT", ":", "return", "true", ";", "}", "}", ""], "natrual_language": ["Returns", "true", "if", "the", "instruction", "is", "already", "predicated", "."], "TS_V_token": ["AMDGPU", "R600", "0", "AMDGPU::PRED_SEL_ONE", "AMDGPU::PRED_SEL_ZERO", "AMDGPU::PREDICATE_BIT"], "File": "R600InstrInfo10", "Func": "isPredicated", "Target": "AMDGPU", "Target_Clf": "GPU", "Compiler_Type": "LLVM", "Idx": 4337, "Length": 74, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "bool", "AMDGPUAsmPrinter", "::", "runOnMachineFunction", "(", "MachineFunction", "&", "MF", ")", "{", "MF", ".", "setAlignment", "(", "8", ")", ";", "SetupMachineFunction", "(", "MF", ")", ";", "MCContext", "&", "Context", "=", "getObjFileLowering", "(", ")", ".", "getContext", "(", ")", ";", "MCSectionELF", "*", "ConfigSection", "=", "Context", ".", "getELFSection", "(", "\".AMDGPU.config\"", ",", "ELF", "::", "SHT_PROGBITS", ",", "0", ")", ";", "OutStreamer", "->", "SwitchSection", "(", "ConfigSection", ")", ";", "const", "AMDGPUSubtarget", "&", "STM", "=", "MF", ".", "getSubtarget", "<", "AMDGPUSubtarget", ">", "(", ")", ";", "SIProgramInfo", "KernelInfo", ";", "if", "(", "STM", ".", "isAmdHsaOS", "(", ")", ")", "{", "getSIProgramInfo", "(", "KernelInfo", ",", "MF", ")", ";", "EmitAmdKernelCodeT", "(", "MF", ",", "KernelInfo", ")", ";", "OutStreamer", "->", "EmitCodeAlignment", "(", "2", "<<", "(", "MF", ".", "getAlignment", "(", ")", "-", "1", ")", ")", ";", "}", "else", "if", "(", "STM", ".", "getGeneration", "(", ")", ">=", "AMDGPUSubtarget", "::", "SOUTHERN_ISLANDS", ")", "{", "getSIProgramInfo", "(", "KernelInfo", ",", "MF", ")", ";", "EmitProgramInfoSI", "(", "MF", ",", "KernelInfo", ")", ";", "}", "else", "{", "EmitProgramInfoR600", "(", "MF", ")", ";", "}", "DisasmLines", ".", "clear", "(", ")", ";", "HexLines", ".", "clear", "(", ")", ";", "DisasmLineMaxLen", "=", "0", ";", "EmitFunctionBody", "(", ")", ";", "if", "(", "isVerbose", "(", ")", ")", "{", "MCSectionELF", "*", "CommentSection", "=", "Context", ".", "getELFSection", "(", "\".AMDGPU.csdata\"", ",", "ELF", "::", "SHT_PROGBITS", ",", "0", ")", ";", "OutStreamer", "->", "SwitchSection", "(", "CommentSection", ")", ";", "if", "(", "STM", ".", "getGeneration", "(", ")", ">=", "AMDGPUSubtarget", "::", "SOUTHERN_ISLANDS", ")", "{", "OutStreamer", "->", "emitRawComment", "(", "\" Kernel info:\"", ",", "false", ")", ";", "OutStreamer", "->", "emitRawComment", "(", "\" codeLenInByte = \"", "+", "Twine", "(", "KernelInfo", ".", "CodeLen", ")", ",", "false", ")", ";", "OutStreamer", "->", "emitRawComment", "(", "\" NumSgprs: \"", "+", "Twine", "(", "KernelInfo", ".", "NumSGPR", ")", ",", "false", ")", ";", "OutStreamer", "->", "emitRawComment", "(", "\" NumVgprs: \"", "+", "Twine", "(", "KernelInfo", ".", "NumVGPR", ")", ",", "false", ")", ";", "OutStreamer", "->", "emitRawComment", "(", "\" FloatMode: \"", "+", "Twine", "(", "KernelInfo", ".", "FloatMode", ")", ",", "false", ")", ";", "OutStreamer", "->", "emitRawComment", "(", "\" IeeeMode: \"", "+", "Twine", "(", "KernelInfo", ".", "IEEEMode", ")", ",", "false", ")", ";", "OutStreamer", "->", "emitRawComment", "(", "\" ScratchSize: \"", "+", "Twine", "(", "KernelInfo", ".", "ScratchSize", ")", ",", "false", ")", ";", "}", "else", "{", "R600MachineFunctionInfo", "*", "MFI", "=", "MF", ".", "getInfo", "<", "R600MachineFunctionInfo", ">", "(", ")", ";", "OutStreamer", "->", "emitRawComment", "(", "Twine", "(", "\"SQ_PGM_RESOURCES:STACK_SIZE = \"", "+", "Twine", "(", "MFI", "->", "StackSize", ")", ")", ")", ";", "}", "}", "if", "(", "STM", ".", "dumpCode", "(", ")", ")", "{", "OutStreamer", "->", "SwitchSection", "(", "Context", ".", "getELFSection", "(", "\".AMDGPU.disasm\"", ",", "ELF", "::", "SHT_NOTE", ",", "0", ")", ")", ";", "for", "(", "size_t", "i", "=", "0", ";", "i", "<", "DisasmLines", ".", "size", "(", ")", ";", "++", "i", ")", "{", "std", "::", "string", "Comment", "(", "DisasmLineMaxLen", "-", "DisasmLines", "[", "i", "]", ".", "size", "(", ")", ",", "' '", ")", ";", "Comment", "+=", "\" ; \"", "+", "HexLines", "[", "i", "]", "+", "\"\\n\"", ";", "OutStreamer", "->", "EmitBytes", "(", "StringRef", "(", "DisasmLines", "[", "i", "]", ")", ")", ";", "OutStreamer", "->", "EmitBytes", "(", "StringRef", "(", "Comment", ")", ")", ";", "}", "}", "return", "false", ";", "}", ""], "natrual_language": ["runOnMachineFunction", "-", "Emit", "the", "function", "body", "."], "TS_V_token": ["R600", "8", "\".AMDGPU.config\"", "0", "SI", "SI", "2", "1", "SI", "SI", "0", "\".AMDGPU.csdata\"", "0", "\" Kernel info:\"", "\" codeLenInByte = \"", "\" NumSgprs: \"", "\" NumVgprs: \"", "\" FloatMode: \"", "\" IeeeMode: \"", "\" ScratchSize: \"", "\"SQ_PGM_RESOURCES:STACK_SIZE = \"", "\".AMDGPU.disasm\"", "0", "0", "\" ; \"", "\"\\n\""], "File": "AMDGPUAsmPrinter72", "Func": "runOnMachineFunction", "Target": "R600", "Target_Clf": "GPU", "Compiler_Type": "LLVM", "Idx": 4338, "Length": 462, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "void", "GCNPassConfig", "::", "addMachineSSAOptimization", "(", ")", "{", "TargetPassConfig", "::", "addMachineSSAOptimization", "(", ")", ";", "addPass", "(", "&", "SIFoldOperandsID", ")", ";", "addPass", "(", "&", "DeadMachineInstructionElimID", ")", ";", "addPass", "(", "&", "SILoadStoreOptimizerID", ")", ";", "addPass", "(", "createSIShrinkInstructionsPass", "(", ")", ")", ";", "if", "(", "EnableSDWAPeephole", ")", "{", "addPass", "(", "&", "SIPeepholeSDWAID", ")", ";", "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": ["AMDGPU", "SI", "SI", "SI", "SI"], "File": "AMDGPUTargetMachine30", "Func": "addMachineSSAOptimization", "Target": "AMDGPU", "Target_Clf": "GPU", "Compiler_Type": "LLVM", "Idx": 4339, "Length": 57, "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": 4340, "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", "]", ")", "{", "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": 4341, "Length": 216, "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": 4342, "Length": 90, "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": 4343, "Length": 109, "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": ["P2", "\"Imm<\"", "\">\"", "\"Mem<\"", "\", \"", "\">\"", "\"Register<\"", "\">\""], "File": "P2AsmParser", "Func": "print", "Target": "P2", "Target_Clf": "MPU", "Compiler_Type": "LLVM", "Idx": 4344, "Length": 93, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "void", "NVPTXInstrInfo", "::", "copyPhysReg", "(", "MachineBasicBlock", "&", "MBB", ",", "MachineBasicBlock", "::", "iterator", "I", ",", "DebugLoc", "DL", ",", "unsigned", "DestReg", ",", "unsigned", "SrcReg", ",", "bool", "KillSrc", ")", "const", "{", "const", "MachineRegisterInfo", "&", "MRI", "=", "MBB", ".", "getParent", "(", ")", "->", "getRegInfo", "(", ")", ";", "const", "TargetRegisterClass", "*", "DestRC", "=", "MRI", ".", "getRegClass", "(", "DestReg", ")", ";", "const", "TargetRegisterClass", "*", "SrcRC", "=", "MRI", ".", "getRegClass", "(", "SrcReg", ")", ";", "if", "(", "DestRC", "!=", "SrcRC", ")", "report_fatal_error", "(", "\"Attempted to created cross-class register copy\"", ")", ";", "if", "(", "DestRC", "==", "&", "NVPTX", "::", "Int32RegsRegClass", ")", "BuildMI", "(", "MBB", ",", "I", ",", "DL", ",", "get", "(", "NVPTX", "::", "IMOV32rr", ")", ",", "DestReg", ")", ".", "addReg", "(", "SrcReg", ",", "getKillRegState", "(", "KillSrc", ")", ")", ";", "else", "if", "(", "DestRC", "==", "&", "NVPTX", "::", "Int1RegsRegClass", ")", "BuildMI", "(", "MBB", ",", "I", ",", "DL", ",", "get", "(", "NVPTX", "::", "IMOV1rr", ")", ",", "DestReg", ")", ".", "addReg", "(", "SrcReg", ",", "getKillRegState", "(", "KillSrc", ")", ")", ";", "else", "if", "(", "DestRC", "==", "&", "NVPTX", "::", "Float32RegsRegClass", ")", "BuildMI", "(", "MBB", ",", "I", ",", "DL", ",", "get", "(", "NVPTX", "::", "FMOV32rr", ")", ",", "DestReg", ")", ".", "addReg", "(", "SrcReg", ",", "getKillRegState", "(", "KillSrc", ")", ")", ";", "else", "if", "(", "DestRC", "==", "&", "NVPTX", "::", "Int16RegsRegClass", ")", "BuildMI", "(", "MBB", ",", "I", ",", "DL", ",", "get", "(", "NVPTX", "::", "IMOV16rr", ")", ",", "DestReg", ")", ".", "addReg", "(", "SrcReg", ",", "getKillRegState", "(", "KillSrc", ")", ")", ";", "else", "if", "(", "DestRC", "==", "&", "NVPTX", "::", "Int64RegsRegClass", ")", "BuildMI", "(", "MBB", ",", "I", ",", "DL", ",", "get", "(", "NVPTX", "::", "IMOV64rr", ")", ",", "DestReg", ")", ".", "addReg", "(", "SrcReg", ",", "getKillRegState", "(", "KillSrc", ")", ")", ";", "else", "if", "(", "DestRC", "==", "&", "NVPTX", "::", "Float64RegsRegClass", ")", "BuildMI", "(", "MBB", ",", "I", ",", "DL", ",", "get", "(", "NVPTX", "::", "FMOV64rr", ")", ",", "DestReg", ")", ".", "addReg", "(", "SrcReg", ",", "getKillRegState", "(", "KillSrc", ")", ")", ";", "else", "{", "llvm_unreachable", "(", "\"Bad register copy\"", ")", ";", "}", "}", ""], "natrual_language": ["}", "Branch", "Analysis", "&", "Modification"], "TS_V_token": ["NVPTX", "NVPTX", "\"Attempted to created cross-class register copy\"", "NVPTX::Int32RegsRegClass", "NVPTX::IMOV32rr", "NVPTX::Int1RegsRegClass", "NVPTX::IMOV1rr", "NVPTX::Float32RegsRegClass", "NVPTX::FMOV32rr", "NVPTX::Int16RegsRegClass", "NVPTX::IMOV16rr", "NVPTX::Int64RegsRegClass", "NVPTX::IMOV64rr", "NVPTX::Float64RegsRegClass", "NVPTX::FMOV64rr", "\"Bad register copy\""], "File": "NVPTXInstrInfo11", "Func": "copyPhysReg", "Target": "NVPTX", "Target_Clf": "GPU", "Compiler_Type": "LLVM", "Idx": 4345, "Length": 314, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "HOST_WIDE_INT", "alpha_initial_elimination_offset", "(", "unsigned", "int", "from", ",", "unsigned", "int", "to", "ATTRIBUTE_UNUSED", ")", "{", "HOST_WIDE_INT", "ret", ";", "ret", "=", "alpha_sa_size", "(", ")", ";", "ret", "+=", "ALPHA_ROUND", "(", "crtl", "->", "outgoing_args_size", ")", ";", "switch", "(", "from", ")", "{", "case", "FRAME_POINTER_REGNUM", ":", "break", ";", "case", "ARG_POINTER_REGNUM", ":", "ret", "+=", "(", "ALPHA_ROUND", "(", "get_frame_size", "(", ")", "+", "crtl", "->", "args", ".", "pretend_args_size", ")", "-", "crtl", "->", "args", ".", "pretend_args_size", ")", ";", "break", ";", "default", ":", "gcc_unreachable", "(", ")", ";", "}", "return", "ret", ";", "}", ""], "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": ["alpha"], "File": "alpha4", "Func": "alpha_initial_elimination_offset", "Target": "alpha", "Target_Clf": "MPU", "Compiler_Type": "GCC", "Idx": 4346, "Length": 80, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "bool", "Z80TargetLowering", "::", "isZExtFree", "(", "EVT", "VT1", ",", "EVT", "VT2", ")", "const", "{", "return", "VT1", "==", "MVT", "::", "i16", "&&", "VT2", "==", "MVT", "::", "i24", "&&", "Subtarget", ".", "is24Bit", "(", ")", ";", "}", ""], "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": ["Z80", "Z80", "MVT::i16", "MVT::i24"], "File": "Z80ISelLowering2", "Func": "isZExtFree", "Target": "Z80", "Target_Clf": "MPU", "Compiler_Type": "LLVM", "Idx": 4347, "Length": 33, "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": 4348, "Length": 422, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "void", "getAnalysisUsage", "(", "AnalysisUsage", "&", "AU", ")", "const", "override", "{", "AU", ".", "addRequired", "<", "ProfileSummaryInfoWrapperPass", ">", "(", ")", ";", "AU", ".", "addRequired", "<", "LazyMachineBlockFrequencyInfoPass", ">", "(", ")", ";", "MachineFunctionPass", "::", "getAnalysisUsage", "(", "AU", ")", ";", "}", ""], "natrual_language": ["getAnalysisUsage", "-", "Subclasses", "that", "override", "getAnalysisUsage", "must", "call", "this", "."], "TS_V_token": ["X86"], "File": "X86FixupLEAs1", "Func": "getAnalysisUsage", "Target": "X86", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 4349, "Length": 36, "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": 4350, "Length": 70, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "bool", "GCNPreRAOptimizations", "::", "runOnMachineFunction", "(", "MachineFunction", "&", "MF", ")", "{", "if", "(", "skipFunction", "(", "MF", ".", "getFunction", "(", ")", ")", ")", "return", "false", ";", "const", "GCNSubtarget", "&", "ST", "=", "MF", ".", "getSubtarget", "<", "GCNSubtarget", ">", "(", ")", ";", "TII", "=", "ST", ".", "getInstrInfo", "(", ")", ";", "MRI", "=", "&", "MF", ".", "getRegInfo", "(", ")", ";", "LIS", "=", "&", "getAnalysis", "<", "LiveIntervals", ">", "(", ")", ";", "TRI", "=", "ST", ".", "getRegisterInfo", "(", ")", ";", "bool", "Changed", "=", "false", ";", "for", "(", "unsigned", "I", "=", "0", ",", "E", "=", "MRI", "->", "getNumVirtRegs", "(", ")", ";", "I", "!=", "E", ";", "++", "I", ")", "{", "Register", "Reg", "=", "Register", "::", "index2VirtReg", "(", "I", ")", ";", "if", "(", "!", "LIS", "->", "hasInterval", "(", "Reg", ")", ")", "continue", ";", "const", "TargetRegisterClass", "*", "RC", "=", "MRI", "->", "getRegClass", "(", "Reg", ")", ";", "if", "(", "(", "RC", "->", "MC", "->", "getSizeInBits", "(", ")", "!=", "64", "||", "!", "TRI", "->", "isSGPRClass", "(", "RC", ")", ")", "&&", "(", "ST", ".", "hasGFX90AInsts", "(", ")", "||", "!", "TRI", "->", "isAGPRClass", "(", "RC", ")", ")", ")", "continue", ";", "Changed", "|=", "processReg", "(", "Reg", ")", ";", "}", "return", "Changed", ";", "}", ""], "natrual_language": ["runOnMachineFunction", "-", "Emit", "the", "function", "body", "."], "TS_V_token": ["AMDGPU", "0", "64"], "File": "GCNPreRAOptimizations", "Func": "runOnMachineFunction", "Target": "AMDGPU", "Target_Clf": "GPU", "Compiler_Type": "LLVM", "Idx": 4351, "Length": 187, "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": 4352, "Length": 165, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "void", "NVPTXPassConfig", "::", "addIRPasses", "(", ")", "{", "disablePass", "(", "&", "PrologEpilogCodeInserterID", ")", ";", "disablePass", "(", "&", "MachineCopyPropagationID", ")", ";", "disablePass", "(", "&", "BranchFolderPassID", ")", ";", "disablePass", "(", "&", "TailDuplicateID", ")", ";", "addPass", "(", "createNVPTXImageOptimizerPass", "(", ")", ")", ";", "TargetPassConfig", "::", "addIRPasses", "(", ")", ";", "addPass", "(", "createNVPTXAssignValidGlobalNamesPass", "(", ")", ")", ";", "addPass", "(", "createGenericToNVVMPass", "(", ")", ")", ";", "addPass", "(", "createNVPTXFavorNonGenericAddrSpacesPass", "(", ")", ")", ";", "addPass", "(", "createSeparateConstOffsetFromGEPPass", "(", ")", ")", ";", "if", "(", "getOptLevel", "(", ")", "==", "CodeGenOpt", "::", "Aggressive", ")", "addPass", "(", "createGVNPass", "(", ")", ")", ";", "else", "addPass", "(", "createEarlyCSEPass", "(", ")", ")", ";", "addPass", "(", "createDeadCodeEliminationPass", "(", ")", ")", ";", "}", ""], "natrual_language": ["Add", "common", "target", "configurable", "passes", "that", "perform", "LLVM", "IR", "to", "IR", "transforms", "following", "machine", "independent", "optimization", "."], "TS_V_token": ["NVPTX", "NVPTX", "NVPTX", "NVPTX", "NVPTX"], "File": "NVPTXTargetMachine1", "Func": "addIRPasses", "Target": "NVPTX", "Target_Clf": "GPU", "Compiler_Type": "LLVM", "Idx": 4353, "Length": 105, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "bool", "ARMPagerandoOptimizer", "::", "runOnMachineFunction", "(", "MachineFunction", "&", "MF", ")", "{", "auto", "&", "F", "=", "MF", ".", "getFunction", "(", ")", ";", "if", "(", "!", "F", ".", "isPagerando", "(", ")", "||", "skipFunction", "(", "F", ")", ")", "{", "return", "false", ";", "}", "auto", "BinPrefix", "=", "F", ".", "getSectionPrefix", "(", ")", ".", "getValue", "(", ")", ";", "auto", "&", "CPEntries", "=", "MF", ".", "getConstantPool", "(", ")", "->", "getConstants", "(", ")", ";", "SmallSet", "<", "int", ",", "8", ">", "CPIndices", ";", "int", "Index", "=", "0", ";", "for", "(", "auto", "&", "E", ":", "CPEntries", ")", "{", "if", "(", "isIntraBin", "(", "E", ",", "BinPrefix", ")", ")", "CPIndices", ".", "insert", "(", "Index", ")", ";", "Index", "++", ";", "}", "if", "(", "CPIndices", ".", "empty", "(", ")", ")", "return", "false", ";", "std", "::", "vector", "<", "MachineInstr", "*", ">", "Uses", ";", "for", "(", "auto", "&", "BB", ":", "MF", ")", "{", "for", "(", "auto", "&", "MI", ":", "BB", ")", "{", "int", "Index", "=", "getCPIndex", "(", "MI", ")", ";", "if", "(", "CPIndices", ".", "count", "(", "Index", ")", ")", "Uses", ".", "push_back", "(", "&", "MI", ")", ";", "}", "}", "for", "(", "auto", "*", "MI", ":", "Uses", ")", "{", "int", "Index", "=", "getCPIndex", "(", "*", "MI", ")", ";", "auto", "*", "Callee", "=", "getCallee", "(", "CPEntries", "[", "Index", "]", ")", ";", "optimizeCalls", "(", "MI", ",", "Callee", ")", ";", "}", "deleteCPEntries", "(", "MF", ",", "CPIndices", ")", ";", "return", "true", ";", "}", ""], "natrual_language": ["runOnMachineFunction", "-", "Emit", "the", "function", "body", "."], "TS_V_token": ["ARM", "ARM", "8", "0"], "File": "ARMPagerandoOptimizer", "Func": "runOnMachineFunction", "Target": "ARM", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 4354, "Length": 222, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "SDValue", "R600TargetLowering", "::", "LowerFormalArguments", "(", "SDValue", "Chain", ",", "CallingConv", "::", "ID", "CallConv", ",", "bool", "isVarArg", ",", "const", "SmallVectorImpl", "<", "ISD", "::", "InputArg", ">", "&", "Ins", ",", "SDLoc", "DL", ",", "SelectionDAG", "&", "DAG", ",", "SmallVectorImpl", "<", "SDValue", ">", "&", "InVals", ")", "const", "{", "SmallVector", "<", "CCValAssign", ",", "16", ">", "ArgLocs", ";", "CCState", "CCInfo", "(", "CallConv", ",", "isVarArg", ",", "DAG", ".", "getMachineFunction", "(", ")", ",", "ArgLocs", ",", "*", "DAG", ".", "getContext", "(", ")", ")", ";", "MachineFunction", "&", "MF", "=", "DAG", ".", "getMachineFunction", "(", ")", ";", "unsigned", "ShaderType", "=", "MF", ".", "getInfo", "<", "R600MachineFunctionInfo", ">", "(", ")", "->", "getShaderType", "(", ")", ";", "SmallVector", "<", "ISD", "::", "InputArg", ",", "8", ">", "LocalIns", ";", "getOriginalFunctionArgs", "(", "DAG", ",", "MF", ".", "getFunction", "(", ")", ",", "Ins", ",", "LocalIns", ")", ";", "AnalyzeFormalArguments", "(", "CCInfo", ",", "LocalIns", ")", ";", "for", "(", "unsigned", "i", "=", "0", ",", "e", "=", "Ins", ".", "size", "(", ")", ";", "i", "<", "e", ";", "++", "i", ")", "{", "CCValAssign", "&", "VA", "=", "ArgLocs", "[", "i", "]", ";", "const", "ISD", "::", "InputArg", "&", "In", "=", "Ins", "[", "i", "]", ";", "EVT", "VT", "=", "In", ".", "VT", ";", "EVT", "MemVT", "=", "VA", ".", "getLocVT", "(", ")", ";", "if", "(", "!", "VT", ".", "isVector", "(", ")", "&&", "MemVT", ".", "isVector", "(", ")", ")", "{", "MemVT", "=", "MemVT", ".", "getVectorElementType", "(", ")", ";", "}", "if", "(", "ShaderType", "!=", "ShaderType", "::", "COMPUTE", ")", "{", "unsigned", "Reg", "=", "MF", ".", "addLiveIn", "(", "VA", ".", "getLocReg", "(", ")", ",", "&", "AMDGPU", "::", "R600_Reg128RegClass", ")", ";", "SDValue", "Register", "=", "DAG", ".", "getCopyFromReg", "(", "Chain", ",", "DL", ",", "Reg", ",", "VT", ")", ";", "InVals", ".", "push_back", "(", "Register", ")", ";", "continue", ";", "}", "PointerType", "*", "PtrTy", "=", "PointerType", "::", "get", "(", "VT", ".", "getTypeForEVT", "(", "*", "DAG", ".", "getContext", "(", ")", ")", ",", "AMDGPUAS", "::", "CONSTANT_BUFFER_0", ")", ";", "ISD", "::", "LoadExtType", "Ext", "=", "ISD", "::", "NON_EXTLOAD", ";", "if", "(", "MemVT", ".", "getScalarSizeInBits", "(", ")", "!=", "VT", ".", "getScalarSizeInBits", "(", ")", ")", "{", "Ext", "=", "ISD", "::", "SEXTLOAD", ";", "}", "unsigned", "ValBase", "=", "ArgLocs", "[", "In", ".", "OrigArgIndex", "]", ".", "getLocMemOffset", "(", ")", ";", "unsigned", "PartOffset", "=", "VA", ".", "getLocMemOffset", "(", ")", ";", "MachinePointerInfo", "PtrInfo", "(", "UndefValue", "::", "get", "(", "PtrTy", ")", ",", "PartOffset", "-", "ValBase", ")", ";", "SDValue", "Arg", "=", "DAG", ".", "getLoad", "(", "ISD", "::", "UNINDEXED", ",", "Ext", ",", "VT", ",", "DL", ",", "Chain", ",", "DAG", ".", "getConstant", "(", "36", "+", "PartOffset", ",", "MVT", "::", "i32", ")", ",", "DAG", ".", "getUNDEF", "(", "MVT", "::", "i32", ")", ",", "PtrInfo", ",", "MemVT", ",", "false", ",", "true", ",", "true", ",", "4", ")", ";", "InVals", ".", "push_back", "(", "Arg", ")", ";", "}", "return", "Chain", ";", "}", ""], "natrual_language": ["This", "hook", "must", "be", "implemented", "to", "lower", "the", "incoming", "(", "formal", ")", "arguments", ",", "described", "by", "the", "Ins", "array", ",", "into", "the", "specified", "DAG", "."], "TS_V_token": ["R600", "ISD::InputArg", "16", "ISD::InputArg", "8", "0", "ISD::InputArg", "AMDGPUAS::CONSTANT_BUFFER_0", "ISD::LoadExtType", "ISD::NON_EXTLOAD", "ISD::SEXTLOAD", "ISD::UNINDEXED", "36", "MVT::i32", "MVT::i32", "4"], "File": "R600ISelLowering80", "Func": "LowerFormalArguments", "Target": "R600", "Target_Clf": "GPU", "Compiler_Type": "LLVM", "Idx": 4355, "Length": 430, "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": 4356, "Length": 203, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "void", "SIRegisterInfo", "::", "materializeFrameBaseRegister", "(", "MachineBasicBlock", "*", "MBB", ",", "unsigned", "BaseReg", ",", "int", "FrameIdx", ",", "int64_t", "Offset", ")", "const", "{", "MachineBasicBlock", "::", "iterator", "Ins", "=", "MBB", "->", "begin", "(", ")", ";", "DebugLoc", "DL", ";", "if", "(", "Ins", "!=", "MBB", "->", "end", "(", ")", ")", "DL", "=", "Ins", "->", "getDebugLoc", "(", ")", ";", "MachineFunction", "*", "MF", "=", "MBB", "->", "getParent", "(", ")", ";", "const", "GCNSubtarget", "&", "Subtarget", "=", "MF", "->", "getSubtarget", "<", "GCNSubtarget", ">", "(", ")", ";", "const", "SIInstrInfo", "*", "TII", "=", "Subtarget", ".", "getInstrInfo", "(", ")", ";", "if", "(", "Offset", "==", "0", ")", "{", "BuildMI", "(", "*", "MBB", ",", "Ins", ",", "DL", ",", "TII", "->", "get", "(", "AMDGPU", "::", "V_MOV_B32_e32", ")", ",", "BaseReg", ")", ".", "addFrameIndex", "(", "FrameIdx", ")", ";", "return", ";", "}", "MachineRegisterInfo", "&", "MRI", "=", "MF", "->", "getRegInfo", "(", ")", ";", "unsigned", "OffsetReg", "=", "MRI", ".", "createVirtualRegister", "(", "&", "AMDGPU", "::", "SReg_32_XM0RegClass", ")", ";", "unsigned", "FIReg", "=", "MRI", ".", "createVirtualRegister", "(", "&", "AMDGPU", "::", "VGPR_32RegClass", ")", ";", "BuildMI", "(", "*", "MBB", ",", "Ins", ",", "DL", ",", "TII", "->", "get", "(", "AMDGPU", "::", "S_MOV_B32", ")", ",", "OffsetReg", ")", ".", "addImm", "(", "Offset", ")", ";", "BuildMI", "(", "*", "MBB", ",", "Ins", ",", "DL", ",", "TII", "->", "get", "(", "AMDGPU", "::", "V_MOV_B32_e32", ")", ",", "FIReg", ")", ".", "addFrameIndex", "(", "FrameIdx", ")", ";", "TII", "->", "getAddNoCarry", "(", "*", "MBB", ",", "Ins", ",", "DL", ",", "BaseReg", ")", ".", "addReg", "(", "OffsetReg", ",", "RegState", "::", "Kill", ")", ".", "addReg", "(", "FIReg", ")", ".", "addImm", "(", "0", ")", ";", "}", ""], "natrual_language": ["Insert", "defining", "instruction", "(", "s", ")", "for", "a", "pointer", "to", "FrameIdx", "before", "insertion", "point", "I", "."], "TS_V_token": ["AMDGPU", "SI", "SI", "0", "AMDGPU::V_MOV_B32_e32", "AMDGPU::SReg_32_XM0RegClass", "AMDGPU::VGPR_32RegClass", "AMDGPU::S_MOV_B32", "AMDGPU::V_MOV_B32_e32", "0"], "File": "SIRegisterInfo10", "Func": "materializeFrameBaseRegister", "Target": "AMDGPU", "Target_Clf": "GPU", "Compiler_Type": "LLVM", "Idx": 4357, "Length": 245, "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": 4358, "Length": 101, "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": 4359, "Length": 22, "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": ["RI5CY", "RISCV", "\"0(\"", "RISCV", "\")\""], "File": "RISCVAsmPrinter", "Func": "PrintAsmMemoryOperand", "Target": "RI5CY", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 4360, "Length": 89, "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": 4361, "Length": 52, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "static", "rtx", "nios2_expand_rdwrctl_builtin", "(", "tree", "exp", ",", "rtx", "target", ",", "const", "struct", "nios2_builtin_desc", "*", "d", ")", "{", "bool", "has_target_p", "=", "(", "insn_data", "[", "d", "->", "icode", "]", ".", "operand", "[", "0", "]", ".", "predicate", "==", "register_operand", ")", ";", "rtx", "ctlcode", "=", "expand_normal", "(", "CALL_EXPR_ARG", "(", "exp", ",", "0", ")", ")", ";", "struct", "expand_operand", "ops", "[", "MAX_RECOG_OPERANDS", "]", ";", "if", "(", "!", "rdwrctl_operand", "(", "ctlcode", ",", "VOIDmode", ")", ")", "{", "error", "(", "\"control register number must be in range 0-31 for %s\"", ",", "d", "->", "name", ")", ";", "return", "has_target_p", "?", "gen_reg_rtx", "(", "SImode", ")", ":", "const0_rtx", ";", "}", "if", "(", "has_target_p", ")", "{", "create_output_operand", "(", "&", "ops", "[", "0", "]", ",", "target", ",", "SImode", ")", ";", "create_integer_operand", "(", "&", "ops", "[", "1", "]", ",", "INTVAL", "(", "ctlcode", ")", ")", ";", "}", "else", "{", "rtx", "val", "=", "expand_normal", "(", "CALL_EXPR_ARG", "(", "exp", ",", "1", ")", ")", ";", "create_integer_operand", "(", "&", "ops", "[", "0", "]", ",", "INTVAL", "(", "ctlcode", ")", ")", ";", "create_input_operand", "(", "&", "ops", "[", "1", "]", ",", "val", ",", "SImode", ")", ";", "}", "return", "nios2_expand_builtin_insn", "(", "d", ",", "2", ",", "ops", ",", "has_target_p", ")", ";", "}", ""], "natrual_language": ["Expand", "rdctl/wrctl", "builtins", "."], "TS_V_token": ["nios2", "0", "0", "\"control register number must be in range 0-31 for %s\"", "0", "1", "1", "0", "1", "2"], "File": "nios2", "Func": "nios2_expand_rdwrctl_builtin", "Target": "nios2", "Target_Clf": "MPU", "Compiler_Type": "GCC", "Idx": 4362, "Length": 178, "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": 4363, "Length": 116, "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": 4364, "Length": 305, "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": 4365, "Length": 464, "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": 4366, "Length": 239, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "StringRef", "getPassName", "(", ")", "const", "override", "{", "return", "\"WebAssembly Prepare For LiveIntervals\"", ";", "}", ""], "natrual_language": ["getPassName", "-", "Return", "a", "nice", "clean", "name", "for", "a", "pass", "."], "TS_V_token": ["WebAssembly", "\"WebAssembly Prepare For LiveIntervals\""], "File": "WebAssemblyPrepareForLiveIntervals1", "Func": "getPassName", "Target": "WebAssembly", "Target_Clf": "Virtual ISA", "Compiler_Type": "LLVM", "Idx": 4367, "Length": 11, "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": 4368, "Length": 20, "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": 4369, "Length": 61, "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": 4370, "Length": 69, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "bool", "MSP430DAGToDAGISel", "::", "runOnMachineFunction", "(", "MachineFunction", "&", "MF", ")", "{", "Subtarget", "=", "&", "MF", ".", "getSubtarget", "<", "MSP430Subtarget", ">", "(", ")", ";", "return", "SelectionDAGISel", "::", "runOnMachineFunction", "(", "MF", ")", ";", "}", ""], "natrual_language": ["runOnMachineFunction", "-", "Emit", "the", "function", "body", "."], "TS_V_token": ["MSP430", "MSP430", "MSP430"], "File": "MSP430ISelDAGToDAG42", "Func": "runOnMachineFunction", "Target": "MSP430", "Target_Clf": "MPU", "Compiler_Type": "LLVM", "Idx": 4371, "Length": 31, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "SDValue", "AMDGPUTargetLowering", "::", "SplitVectorStore", "(", "SDValue", "Op", ",", "SelectionDAG", "&", "DAG", ")", "const", "{", "StoreSDNode", "*", "Store", "=", "cast", "<", "StoreSDNode", ">", "(", "Op", ")", ";", "SDValue", "Val", "=", "Store", "->", "getValue", "(", ")", ";", "EVT", "VT", "=", "Val", ".", "getValueType", "(", ")", ";", "if", "(", "VT", ".", "getVectorNumElements", "(", ")", "==", "2", ")", "return", "ScalarizeVectorStore", "(", "Op", ",", "DAG", ")", ";", "EVT", "MemVT", "=", "Store", "->", "getMemoryVT", "(", ")", ";", "SDValue", "Chain", "=", "Store", "->", "getChain", "(", ")", ";", "SDValue", "BasePtr", "=", "Store", "->", "getBasePtr", "(", ")", ";", "SDLoc", "SL", "(", "Op", ")", ";", "EVT", "LoVT", ",", "HiVT", ";", "EVT", "LoMemVT", ",", "HiMemVT", ";", "SDValue", "Lo", ",", "Hi", ";", "std", "::", "tie", "(", "LoVT", ",", "HiVT", ")", "=", "DAG", ".", "GetSplitDestVTs", "(", "VT", ")", ";", "std", "::", "tie", "(", "LoMemVT", ",", "HiMemVT", ")", "=", "DAG", ".", "GetSplitDestVTs", "(", "MemVT", ")", ";", "std", "::", "tie", "(", "Lo", ",", "Hi", ")", "=", "DAG", ".", "SplitVector", "(", "Val", ",", "SL", ",", "LoVT", ",", "HiVT", ")", ";", "EVT", "PtrVT", "=", "BasePtr", ".", "getValueType", "(", ")", ";", "SDValue", "HiPtr", "=", "DAG", ".", "getNode", "(", "ISD", "::", "ADD", ",", "SL", ",", "PtrVT", ",", "BasePtr", ",", "DAG", ".", "getConstant", "(", "LoMemVT", ".", "getStoreSize", "(", ")", ",", "SL", ",", "PtrVT", ")", ")", ";", "MachinePointerInfo", "SrcValue", "(", "Store", "->", "getMemOperand", "(", ")", "->", "getValue", "(", ")", ")", ";", "SDValue", "LoStore", "=", "DAG", ".", "getTruncStore", "(", "Chain", ",", "SL", ",", "Lo", ",", "BasePtr", ",", "SrcValue", ",", "LoMemVT", ",", "Store", "->", "isNonTemporal", "(", ")", ",", "Store", "->", "isVolatile", "(", ")", ",", "Store", "->", "getAlignment", "(", ")", ")", ";", "SDValue", "HiStore", "=", "DAG", ".", "getTruncStore", "(", "Chain", ",", "SL", ",", "Hi", ",", "HiPtr", ",", "SrcValue", ".", "getWithOffset", "(", "LoMemVT", ".", "getStoreSize", "(", ")", ")", ",", "HiMemVT", ",", "Store", "->", "isNonTemporal", "(", ")", ",", "Store", "->", "isVolatile", "(", ")", ",", "Store", "->", "getAlignment", "(", ")", ")", ";", "return", "DAG", ".", "getNode", "(", "ISD", "::", "TokenFactor", ",", "SL", ",", "MVT", "::", "Other", ",", "LoStore", ",", "HiStore", ")", ";", "}", ""], "natrual_language": ["Split", "a", "vector", "store", "into", "2", "stores", "of", "half", "the", "vector", "."], "TS_V_token": ["R600", "2", "ISD::ADD", "ISD::TokenFactor", "MVT::Other"], "File": "AMDGPUISelLowering98", "Func": "SplitVectorStore", "Target": "R600", "Target_Clf": "GPU", "Compiler_Type": "LLVM", "Idx": 4372, "Length": 326, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "CCAssignFn", "*", "XtensaTargetLowering", "::", "CCAssignFnForCall", "(", "CallingConv", "::", "ID", "CC", ",", "bool", "IsVarArg", ")", "const", "{", "assert", "(", "!", "IsVarArg", "&&", "\"We don't support variadic arguments\"", ")", ";", "return", "CC_Xtensa", ";", "}", ""], "natrual_language": ["Selects", "the", "correct", "CCAssignFn", "for", "a", "given", "CallingConvention", "value", "."], "TS_V_token": ["Xtensa", "Xtensa", "\"We don't support variadic arguments\"", "Xtensa"], "File": "XtensaISelLowering", "Func": "CCAssignFnForCall", "Target": "Xtensa", "Target_Clf": "MPU", "Compiler_Type": "LLVM", "Idx": 4373, "Length": 28, "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": 4374, "Length": 186, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "static", "bool", "nios2_r0rel_section_name_p", "(", "const", "char", "*", "section", ")", "{", "return", "(", "nios2_r0rel_sec", "&&", "regexec", "(", "&", "nios2_r0rel_sec_regex", ",", "section", ",", "0", ",", "NULL", ",", "0", ")", "==", "0", ")", ";", "}", ""], "natrual_language": ["Return", "true", "if", "SECTION", "is", "a", "r0-relative", "section", "name", "."], "TS_V_token": ["nios2", "0", "0", "0"], "File": "nios2", "Func": "nios2_r0rel_section_name_p", "Target": "nios2", "Target_Clf": "MPU", "Compiler_Type": "GCC", "Idx": 4375, "Length": 32, "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": 4376, "Length": 76, "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": 4377, "Length": 108, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "static", "void", "diagnose_openacc_conflict", "(", "bool", "optval", ",", "const", "char", "*", "optname", ")", "{", "if", "(", "flag_openacc", "&&", "optval", ")", "error", "(", "\"option %s is not supported together with -fopenacc\"", ",", "optname", ")", ";", "}", ""], "natrual_language": ["Issue", "a", "diagnostic", "when", "option", "OPTNAME", "is", "enabled", "(", "as", "indicated", "by", "OPTVAL", ")", "and", "-fopenacc", "is", "also", "enabled", "."], "TS_V_token": ["nvptx", "\"option %s is not supported together with -fopenacc\""], "File": "nvptx4", "Func": "diagnose_openacc_conflict", "Target": "nvptx", "Target_Clf": "GPU", "Compiler_Type": "GCC", "Idx": 4378, "Length": 27, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "bool", "HexagonTargetMachine", "::", "addPreEmitPass", "(", "PassManagerBase", "&", "PM", ")", "{", "if", "(", "!", "DisableHardwareLoops", ")", "{", "PM", ".", "add", "(", "createHexagonFixupHwLoops", "(", ")", ")", ";", "}", "PM", ".", "add", "(", "createHexagonExpandPredSpillCode", "(", "*", "this", ")", ")", ";", "PM", ".", "add", "(", "createHexagonSplitTFRCondSets", "(", "*", "this", ")", ")", ";", "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": ["Hexagon", "Hexagon", "Hexagon", "Hexagon", "Hexagon"], "File": "HexagonTargetMachine44", "Func": "addPreEmitPass", "Target": "Hexagon", "Target_Clf": "DSP", "Compiler_Type": "LLVM", "Idx": 4379, "Length": 52, "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", ")", ",", "HasNEONVFPv4", "(", "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", "(", ")", ";", "const", "Triple", "&", "T", "=", "getTargetTriple", "(", ")", ";", "SupportsTailCall", "=", "!", "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": "ARMSubtarget54", "Func": "ARMSubtarget", "Target": "ARM", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 4380, "Length": 440, "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": ["ARM64"], "File": "ARM64PromoteConstant1", "Func": "getAnalysisUsage", "Target": "ARM64", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 4381, "Length": 35, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "void", "XCoreInstrInfo", "::", "loadRegFromStackSlot", "(", "MachineBasicBlock", "&", "MBB", ",", "MachineBasicBlock", "::", "iterator", "I", ",", "unsigned", "DestReg", ",", "int", "FrameIndex", ",", "const", "TargetRegisterClass", "*", "RC", ",", "const", "TargetRegisterInfo", "*", "TRI", ")", "const", "{", "DebugLoc", "DL", ";", "if", "(", "I", "!=", "MBB", ".", "end", "(", ")", "&&", "!", "I", "->", "isDebugInstr", "(", ")", ")", "DL", "=", "I", "->", "getDebugLoc", "(", ")", ";", "MachineFunction", "*", "MF", "=", "MBB", ".", "getParent", "(", ")", ";", "const", "MachineFrameInfo", "&", "MFI", "=", "MF", "->", "getFrameInfo", "(", ")", ";", "MachineMemOperand", "*", "MMO", "=", "MF", "->", "getMachineMemOperand", "(", "MachinePointerInfo", "::", "getFixedStack", "(", "*", "MF", ",", "FrameIndex", ")", ",", "MachineMemOperand", "::", "MOLoad", ",", "MFI", ".", "getObjectSize", "(", "FrameIndex", ")", ",", "MFI", ".", "getObjectAlignment", "(", "FrameIndex", ")", ")", ";", "BuildMI", "(", "MBB", ",", "I", ",", "DL", ",", "get", "(", "XCore", "::", "LDWFI", ")", ",", "DestReg", ")", ".", "addFrameIndex", "(", "FrameIndex", ")", ".", "addImm", "(", "0", ")", ".", "addMemOperand", "(", "MMO", ")", ";", "}", ""], "natrual_language": ["Load", "the", "specified", "register", "of", "the", "given", "register", "class", "from", "the", "specified", "stack", "frame", "index", "."], "TS_V_token": ["XCore", "XCore", "XCore::LDWFI", "0"], "File": "XCoreInstrInfo20", "Func": "loadRegFromStackSlot", "Target": "XCore", "Target_Clf": "MPU", "Compiler_Type": "LLVM", "Idx": 4382, "Length": 152, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "void", "AMDGPUFrameLowering", "::", "emitPrologue", "(", "MachineFunction", "&", "MF", ",", "MachineBasicBlock", "&", "MBB", ")", "const", "{", "}", ""], "natrual_language": ["emitProlog/emitEpilog", "-", "These", "methods", "insert", "prolog", "and", "epilog", "code", "into", "the", "function", "."], "TS_V_token": ["AMDGPU", "AMDGPU"], "File": "AMDGPUFrameLowering (2)", "Func": "emitPrologue", "Target": "AMDGPU", "Target_Clf": "GPU", "Compiler_Type": "LLVM", "Idx": 4383, "Length": 16, "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", "{", "SmallVector", "<", "CCValAssign", ",", "16", ">", "RVLocs", ";", "CCState", "CCInfo", "(", "CallConv", ",", "IsVarArg", ",", "DAG", ".", "getMachineFunction", "(", ")", ",", "RVLocs", ",", "*", "DAG", ".", "getContext", "(", ")", ")", ";", "analyzeOutputArgs", "(", "DAG", ".", "getMachineFunction", "(", ")", ",", "CCInfo", ",", "Outs", ",", "true", ",", "nullptr", ")", ";", "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!\"", ")", ";", "Val", "=", "packIntoRegLoc", "(", "DAG", ",", "Val", ",", "VA", ",", "DL", ")", ";", "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", "16", "4", "1", "0", "\"Can only return in registers!\"", "1", "0", "RISCVISD::RET_FLAG", "MVT::Other"], "File": "RISCVISelLowering31", "Func": "LowerReturn", "Target": "RISCV", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 4384, "Length": 269, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "bool", "X86TargetMachine", "::", "addInstSelector", "(", "PassManagerBase", "&", "PM", ",", "CodeGenOpt", "::", "Level", "OptLevel", ")", "{", "PM", ".", "add", "(", "createX86ISelDag", "(", "*", "this", ",", "OptLevel", ")", ")", ";", "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": "X86TargetMachine122", "Func": "addInstSelector", "Target": "X86", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 4385, "Length": 50, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "static", "void", "nvptx_reorg", "(", "void", ")", "{", "compute_bb_for_insn", "(", ")", ";", "thread_prologue_and_epilogue_insns", "(", ")", ";", "bb_insn_map_t", "bb_insn_map", ";", "nvptx_split_blocks", "(", "&", "bb_insn_map", ")", ";", "df_clear_flags", "(", "DF_LR_RUN_DCE", ")", ";", "df_set_flags", "(", "DF_NO_INSN_RESCAN", "|", "DF_NO_HARD_REGS", ")", ";", "df_live_add_problem", "(", ")", ";", "df_live_set_all_dirty", "(", ")", ";", "df_analyze", "(", ")", ";", "regstat_init_n_sets_and_refs", "(", ")", ";", "if", "(", "dump_file", ")", "df_dump", "(", "dump_file", ")", ";", "int", "max_regs", "=", "max_reg_num", "(", ")", ";", "for", "(", "int", "i", "=", "LAST_VIRTUAL_REGISTER", "+", "1", ";", "i", "<", "max_regs", ";", "i", "++", ")", "if", "(", "REG_N_SETS", "(", "i", ")", "==", "0", "&&", "REG_N_REFS", "(", "i", ")", "==", "0", ")", "regno_reg_rtx", "[", "i", "]", "=", "const0_rtx", ";", "tree", "attr", "=", "oacc_get_fn_attrib", "(", "current_function_decl", ")", ";", "if", "(", "attr", ")", "{", "unsigned", "mask", "=", "0", ";", "tree", "dims", "=", "TREE_VALUE", "(", "attr", ")", ";", "unsigned", "ix", ";", "for", "(", "ix", "=", "0", ";", "ix", "!=", "GOMP_DIM_MAX", ";", "ix", "++", ",", "dims", "=", "TREE_CHAIN", "(", "dims", ")", ")", "{", "int", "size", "=", "TREE_INT_CST_LOW", "(", "TREE_VALUE", "(", "dims", ")", ")", ";", "tree", "allowed", "=", "TREE_PURPOSE", "(", "dims", ")", ";", "if", "(", "size", "!=", "1", "&&", "!", "(", "allowed", "&&", "integer_zerop", "(", "allowed", ")", ")", ")", "mask", "|=", "GOMP_DIM_MASK", "(", "ix", ")", ";", "}", "gcc_assert", "(", "!", "(", "mask", "&", "GOMP_DIM_MASK", "(", "GOMP_DIM_WORKER", ")", ")", "||", "(", "mask", "&", "GOMP_DIM_MASK", "(", "GOMP_DIM_VECTOR", ")", ")", ")", ";", "parallel", "*", "pars", "=", "nvptx_discover_pars", "(", "&", "bb_insn_map", ")", ";", "nvptx_process_pars", "(", "pars", ")", ";", "nvptx_neuter_pars", "(", "pars", ",", "mask", ",", "0", ")", ";", "delete", "pars", ";", "}", "nvptx_reorg_subreg", "(", ")", ";", "if", "(", "TARGET_UNIFORM_SIMT", ")", "nvptx_reorg_uniform_simt", "(", ")", ";", "prevent_branch_around_nothing", "(", ")", ";", "regstat_free_n_sets_and_refs", "(", ")", ";", "df_finish_pass", "(", "true", ")", ";", "}", ""], "natrual_language": ["Clean", "up", "subreg", "operands", ".", "In", "ptx", "assembly", ",", "everything", "is", "typed", ",", "and", "the", "presence", "of", "subregs", "would", "break", "the", "rules", "for", "most", "instructions", ".", "Replace", "them", "with", "a", "suitable", "new", "register", "of", "the", "right", "size", ",", "plus", "conversion", "copyin/copyout", "instructions", "."], "TS_V_token": ["nvptx", "1", "0", "0", "0", "0", "1", "0"], "File": "nvptx5", "Func": "nvptx_reorg", "Target": "nvptx", "Target_Clf": "GPU", "Compiler_Type": "GCC", "Idx": 4386, "Length": 276, "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": 4387, "Length": 94, "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": 4388, "Length": 341, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "int", "m32c_print_operand_punct_valid_p", "(", "int", "c", ")", "{", "if", "(", "c", "==", "'&'", "||", "c", "==", "'!'", ")", "return", "1", ";", "return", "0", ";", "}", ""], "natrual_language": ["Implements", "PRINT_OPERAND_PUNCT_VALID_P", ".", "See", "m32c_print_operand", "above", "for", "descriptions", "of", "what", "these", "do", "."], "TS_V_token": ["m32c", "1", "0"], "File": "m32c2", "Func": "m32c_print_operand_punct_valid_p", "Target": "m32c", "Target_Clf": "MPU", "Compiler_Type": "GCC", "Idx": 4389, "Length": 24, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "void", "MSP430FrameLowering", "::", "processFunctionBeforeFrameFinalized", "(", "MachineFunction", "&", "MF", ",", "RegScavenger", "*", ")", "const", "{", "if", "(", "hasFP", "(", "MF", ")", ")", "{", "int", "FrameIdx", "=", "MF", ".", "getFrameInfo", "(", ")", "->", "CreateFixedObject", "(", "2", ",", "-", "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": ["MSP430", "MSP430", "2", "4", "\"Slot for FP register must be last in order to be found!\""], "File": "MSP430FrameLowering25", "Func": "processFunctionBeforeFrameFinalized", "Target": "MSP430", "Target_Clf": "MPU", "Compiler_Type": "LLVM", "Idx": 4390, "Length": 65, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "void", "HexagonTargetLowering", "::", "ReplaceNodeResults", "(", "SDNode", "*", "N", ",", "SmallVectorImpl", "<", "SDValue", ">", "&", "Results", ",", "SelectionDAG", "&", "DAG", ")", "const", "{", "const", "SDLoc", "&", "dl", "(", "N", ")", ";", "switch", "(", "N", "->", "getOpcode", "(", ")", ")", "{", "case", "ISD", "::", "SRL", ":", "case", "ISD", "::", "SRA", ":", "case", "ISD", "::", "SHL", ":", "return", ";", "case", "ISD", "::", "BITCAST", ":", "if", "(", "N", "->", "getValueType", "(", "0", ")", "==", "MVT", "::", "i8", ")", "{", "SDValue", "P", "=", "getInstr", "(", "Hexagon", "::", "C2_tfrpr", ",", "dl", ",", "MVT", "::", "i32", ",", "N", "->", "getOperand", "(", "0", ")", ",", "DAG", ")", ";", "SDValue", "T", "=", "DAG", ".", "getAnyExtOrTrunc", "(", "P", ",", "dl", ",", "MVT", "::", "i8", ")", ";", "Results", ".", "push_back", "(", "T", ")", ";", "}", "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": ["Hexagon", "Hexagon", "ISD::SRL", "ISD::SRA", "ISD::SHL", "ISD::BITCAST", "0", "MVT::i8", "Hexagon::C2_tfrpr", "MVT::i32", "0", "MVT::i8"], "File": "HexagonISelLowering109", "Func": "ReplaceNodeResults", "Target": "Hexagon", "Target_Clf": "DSP", "Compiler_Type": "LLVM", "Idx": 4391, "Length": 128, "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": 4392, "Length": 223, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "bool", "HexagonOptAddrMode", "::", "processBlock", "(", "NodeAddr", "<", "BlockNode", "*", ">", "BA", ")", "{", "bool", "Changed", "=", "false", ";", "for", "(", "auto", "IA", ":", "BA", ".", "Addr", "->", "members", "(", "*", "DFG", ")", ")", "{", "if", "(", "!", "DFG", "->", "IsCode", "<", "NodeAttrs", "::", "Stmt", ">", "(", "IA", ")", ")", "continue", ";", "NodeAddr", "<", "StmtNode", "*", ">", "SA", "=", "IA", ";", "MachineInstr", "*", "MI", "=", "SA", ".", "Addr", "->", "getCode", "(", ")", ";", "if", "(", "MI", "->", "getOpcode", "(", ")", "!=", "Hexagon", "::", "A2_tfrsi", "||", "!", "MI", "->", "getOperand", "(", "1", ")", ".", "isGlobal", "(", ")", ")", "continue", ";", "DEBUG", "(", "dbgs", "(", ")", "<<", "\"[Analyzing A2_tfrsi]: \"", "<<", "*", "MI", "<<", "\"\\n\"", ")", ";", "DEBUG", "(", "dbgs", "(", ")", "<<", "\"\\t[InstrNode]: \"", "<<", "Print", "<", "NodeAddr", "<", "InstrNode", "*", ">>", "(", "IA", ",", "*", "DFG", ")", "<<", "\"\\n\"", ")", ";", "NodeList", "UNodeList", ";", "getAllRealUses", "(", "SA", ",", "UNodeList", ")", ";", "if", "(", "!", "allValidCandidates", "(", "SA", ",", "UNodeList", ")", ")", "continue", ";", "short", "SizeInc", "=", "0", ";", "unsigned", "DefR", "=", "MI", "->", "getOperand", "(", "0", ")", ".", "getReg", "(", ")", ";", "InstrEvalMap", "InstrEvalResult", ";", "if", "(", "!", "analyzeUses", "(", "DefR", ",", "UNodeList", ",", "InstrEvalResult", ",", "SizeInc", ")", ")", "continue", ";", "if", "(", "SizeInc", ">", "CodeGrowthLimit", ")", "continue", ";", "bool", "KeepTfr", "=", "false", ";", "DEBUG", "(", "dbgs", "(", ")", "<<", "\"\\t[Total reached uses] : \"", "<<", "UNodeList", ".", "size", "(", ")", "<<", "\"\\n\"", ")", ";", "DEBUG", "(", "dbgs", "(", ")", "<<", "\"\\t[Processing Reached Uses] ===\\n\"", ")", ";", "for", "(", "auto", "I", "=", "UNodeList", ".", "rbegin", "(", ")", ",", "E", "=", "UNodeList", ".", "rend", "(", ")", ";", "I", "!=", "E", ";", "++", "I", ")", "{", "NodeAddr", "<", "UseNode", "*", ">", "UseN", "=", "*", "I", ";", "assert", "(", "!", "(", "UseN", ".", "Addr", "->", "getFlags", "(", ")", "&", "NodeAttrs", "::", "PhiRef", ")", "&&", "\"Found a PhiRef node as a real reached use!!\"", ")", ";", "NodeAddr", "<", "StmtNode", "*", ">", "OwnerN", "=", "UseN", ".", "Addr", "->", "getOwner", "(", "*", "DFG", ")", ";", "MachineInstr", "*", "UseMI", "=", "OwnerN", ".", "Addr", "->", "getCode", "(", ")", ";", "DEBUG", "(", "dbgs", "(", ")", "<<", "\"\\t\\t[MI ", "getParent", "(", ")", "->", "getNumber", "(", ")", "<<", "\">]: \"", "<<", "*", "UseMI", "<<", "\"\\n\"", ")", ";", "int", "UseMOnum", "=", "-", "1", ";", "unsigned", "NumOperands", "=", "UseMI", "->", "getNumOperands", "(", ")", ";", "for", "(", "unsigned", "j", "=", "0", ";", "j", "<", "NumOperands", "-", "1", ";", "++", "j", ")", "{", "const", "MachineOperand", "&", "op", "=", "UseMI", "->", "getOperand", "(", "j", ")", ";", "if", "(", "op", ".", "isReg", "(", ")", "&&", "op", ".", "isUse", "(", ")", "&&", "DefR", "==", "op", ".", "getReg", "(", ")", ")", "UseMOnum", "=", "j", ";", "}", "assert", "(", "UseMOnum", ">=", "0", "&&", "\"Invalid reached use!\"", ")", ";", "if", "(", "InstrEvalResult", "[", "UseMI", "]", ")", "Changed", "|=", "xformUseMI", "(", "MI", ",", "UseMI", ",", "UseN", ",", "UseMOnum", ")", ";", "else", "KeepTfr", "=", "true", ";", "}", "if", "(", "!", "KeepTfr", ")", "Deleted", ".", "insert", "(", "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": ["Hexagon", "Hexagon", "Hexagon::A2_tfrsi", "1", "\"[Analyzing A2_tfrsi]: \"", "\"\\n\"", "\"\\t[InstrNode]: \"", "\"\\n\"", "0", "0", "\"\\t[Total reached uses] : \"", "\"\\n\"", "\"\\t[Processing Reached Uses] ===\\n\"", "\"Found a PhiRef node as a real reached use!!\"", "\"\\t\\t[MI ]: \"", "\"\\n\"", "1", "0", "1", "0", "\"Invalid reached use!\""], "File": "HexagonOptAddrMode", "Func": "processBlock", "Target": "Hexagon", "Target_Clf": "DSP", "Compiler_Type": "LLVM", "Idx": 4393, "Length": 471, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "bool", "XCoreFTAOElim", "::", "runOnMachineFunction", "(", "MachineFunction", "&", "MF", ")", "{", "const", "XCoreInstrInfo", "&", "TII", "=", "*", "static_cast", "<", "const", "XCoreInstrInfo", "*", ">", "(", "MF", ".", "getSubtarget", "(", ")", ".", "getInstrInfo", "(", ")", ")", ";", "unsigned", "StackSize", "=", "MF", ".", "getFrameInfo", "(", ")", ".", "getStackSize", "(", ")", ";", "for", "(", "MachineFunction", "::", "iterator", "MFI", "=", "MF", ".", "begin", "(", ")", ",", "E", "=", "MF", ".", "end", "(", ")", ";", "MFI", "!=", "E", ";", "++", "MFI", ")", "{", "MachineBasicBlock", "&", "MBB", "=", "*", "MFI", ";", "for", "(", "MachineBasicBlock", "::", "iterator", "MBBI", "=", "MBB", ".", "begin", "(", ")", ",", "EE", "=", "MBB", ".", "end", "(", ")", ";", "MBBI", "!=", "EE", ";", "++", "MBBI", ")", "{", "if", "(", "MBBI", "->", "getOpcode", "(", ")", "==", "XCore", "::", "FRAME_TO_ARGS_OFFSET", ")", "{", "MachineInstr", "&", "OldInst", "=", "*", "MBBI", ";", "unsigned", "Reg", "=", "OldInst", ".", "getOperand", "(", "0", ")", ".", "getReg", "(", ")", ";", "MBBI", "=", "TII", ".", "loadImmediate", "(", "MBB", ",", "MBBI", ",", "Reg", ",", "StackSize", ")", ";", "OldInst", ".", "eraseFromParent", "(", ")", ";", "}", "}", "}", "return", "true", ";", "}", ""], "natrual_language": ["runOnMachineFunction", "-", "Emit", "the", "function", "body", "."], "TS_V_token": ["XCore", "XCore", "XCore", "XCore", "XCore::FRAME_TO_ARGS_OFFSET", "0"], "File": "XCoreFrameToArgsOffsetElim12", "Func": "runOnMachineFunction", "Target": "XCore", "Target_Clf": "MPU", "Compiler_Type": "LLVM", "Idx": 4394, "Length": 174, "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": 4395, "Length": 23, "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": 4396, "Length": 249, "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": ["MBlaze"], "File": "MBlazeAsmParser1", "Func": "Warning", "Target": "MBlaze", "Target_Clf": "MPU", "Compiler_Type": "LLVM", "Idx": 4397, "Length": 22, "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": 4398, "Length": 337, "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": 4399, "Length": 233, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "void", "m32c_init_expanders", "(", "void", ")", "{", "init_machine_status", "=", "m32c_init_machine_status", ";", "}", ""], "natrual_language": ["Implements", "INIT_EXPANDERS", ".", "We", "just", "set", "up", "to", "call", "the", "above", "function", "."], "TS_V_token": ["m32c"], "File": "m32c", "Func": "m32c_init_expanders", "Target": "m32c", "Target_Clf": "MPU", "Compiler_Type": "GCC", "Idx": 4400, "Length": 11, "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": 4401, "Length": 138, "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": 4402, "Length": 424, "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": 4403, "Length": 40, "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": 4404, "Length": 35, "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": 4405, "Length": 396, "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": 4406, "Length": 189, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "bool", "AVRTargetLowering", "::", "isOffsetFoldingLegal", "(", "const", "GlobalAddressSDNode", "*", "GA", ")", "const", "{", "return", "true", ";", "}", ""], "natrual_language": ["Return", "true", "if", "folding", "a", "constant", "offset", "with", "the", "given", "GlobalAddress", "is", "legal", "."], "TS_V_token": ["AVR", "AVR"], "File": "AVRISelLowering", "Func": "isOffsetFoldingLegal", "Target": "AVR", "Target_Clf": "MPU", "Compiler_Type": "LLVM", "Idx": 4407, "Length": 16, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "static", "int", "visium_compute_frame_size", "(", "int", "size", ")", "{", "const", "int", "save_area_size", "=", "visium_reg_parm_save_area_size", ";", "const", "int", "var_size", "=", "VISIUM_STACK_ALIGN", "(", "size", ")", ";", "const", "int", "save_fp", "=", "frame_pointer_needed", "||", "df_regs_ever_live_p", "(", "HARD_FRAME_POINTER_REGNUM", ")", ";", "const", "int", "save_lr", "=", "frame_pointer_needed", "||", "!", "crtl", "->", "is_leaf", ";", "const", "int", "lr_slot", "=", "!", "save_lr", "&&", "df_regs_ever_live_p", "(", "long_branch_regnum", ")", ";", "const", "int", "local_frame_offset", "=", "(", "save_fp", "+", "save_lr", "+", "lr_slot", ")", "*", "UNITS_PER_WORD", ";", "const", "int", "interrupt", "=", "visium_interrupt_function_p", "(", ")", ";", "unsigned", "int", "mask", "[", "last_type", "]", ";", "int", "reg_size1", "=", "0", ";", "int", "max_reg1", "=", "0", ";", "int", "reg_size2", "=", "0", ";", "int", "reg_size", ";", "int", "combine", ";", "int", "frame_size", ";", "int", "regno", ";", "memset", "(", "mask", ",", "0", ",", "last_type", "*", "sizeof", "(", "unsigned", "int", ")", ")", ";", "for", "(", "regno", "=", "0", ";", "regno", "<", "FIRST_PSEUDO_REGISTER", ";", "regno", "++", ")", "{", "if", "(", "visium_save_reg_p", "(", "interrupt", ",", "regno", ")", ")", "{", "enum", "reg_type", "reg_type", "=", "GET_REG_TYPE", "(", "regno", ")", ";", "int", "mask_bit", "=", "1", "<<", "(", "regno", "-", "first_regno", "[", "reg_type", "]", ")", ";", "int", "nbytes", "=", "reg_type_size", "[", "reg_type", "]", ";", "if", "(", "reg_size1", "+", "nbytes", ">", "32", "*", "UNITS_PER_WORD", ")", "break", ";", "reg_size1", "+=", "nbytes", ";", "max_reg1", "=", "regno", ";", "mask", "[", "reg_type", "]", "|=", "mask_bit", ";", "}", "}", "for", "(", "regno", "=", "max_reg1", "+", "1", ";", "regno", "<", "FIRST_PSEUDO_REGISTER", ";", "regno", "++", ")", "{", "if", "(", "visium_save_reg_p", "(", "interrupt", ",", "regno", ")", ")", "{", "enum", "reg_type", "reg_type", "=", "GET_REG_TYPE", "(", "regno", ")", ";", "int", "mask_bit", "=", "1", "<<", "(", "regno", "-", "first_regno", "[", "reg_type", "]", ")", ";", "int", "nbytes", "=", "reg_type_size", "[", "reg_type", "]", ";", "reg_size2", "+=", "nbytes", ";", "mask", "[", "reg_type", "]", "|=", "mask_bit", ";", "}", "}", "reg_size", "=", "reg_size2", "?", "reg_size2", ":", "reg_size1", ";", "combine", "=", "(", "local_frame_offset", "+", "var_size", "+", "reg_size", ")", "<=", "32", "*", "UNITS_PER_WORD", ";", "frame_size", "=", "local_frame_offset", "+", "var_size", "+", "reg_size2", "+", "reg_size1", "+", "save_area_size", ";", "current_frame_info", ".", "save_area_size", "=", "save_area_size", ";", "current_frame_info", ".", "reg_size1", "=", "reg_size1", ";", "current_frame_info", ".", "max_reg1", "=", "max_reg1", ";", "current_frame_info", ".", "reg_size2", "=", "reg_size2", ";", "current_frame_info", ".", "var_size", "=", "var_size", ";", "current_frame_info", ".", "save_fp", "=", "save_fp", ";", "current_frame_info", ".", "save_lr", "=", "save_lr", ";", "current_frame_info", ".", "lr_slot", "=", "lr_slot", ";", "current_frame_info", ".", "combine", "=", "combine", ";", "current_frame_info", ".", "interrupt", "=", "interrupt", ";", "memcpy", "(", "current_frame_info", ".", "mask", ",", "mask", ",", "last_type", "*", "sizeof", "(", "unsigned", "int", ")", ")", ";", "return", "frame_size", ";", "}", ""], "natrual_language": ["Compute", "the", "frame", "size", "required", "by", "the", "function", ".", "This", "function", "is", "called", "during", "the", "reload", "pass", "and", "also", "by", "visium_expand_prologue", "."], "TS_V_token": ["visium", "0", "0", "0", "0", "0", "1", "32", "1", "1", "32"], "File": "visium", "Func": "visium_compute_frame_size", "Target": "visium", "Target_Clf": "Virtual ISA", "Compiler_Type": "GCC", "Idx": 4408, "Length": 397, "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": 4409, "Length": 236, "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": 4410, "Length": 82, "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", "(", "GENERAL_REGNO_P", "(", "regno", ")", "&&", "ix86_save_reg", "(", "regno", ",", "true", ",", "true", ")", ")", "nregs", "++", ";", "return", "nregs", ";", "}", ""], "natrual_language": ["Return", "number", "of", "registers", "to", "be", "saved", "on", "the", "stack", "."], "TS_V_token": ["i386", "0", "0"], "File": "i386", "Func": "ix86_nsaved_regs", "Target": "i386", "Target_Clf": "CPU", "Compiler_Type": "GCC", "Idx": 4411, "Length": 51, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "void", "GCNPassConfig", "::", "addMachineSSAOptimization", "(", ")", "{", "TargetPassConfig", "::", "addMachineSSAOptimization", "(", ")", ";", "addPass", "(", "&", "SIFoldOperandsID", ")", ";", "addPass", "(", "&", "DeadMachineInstructionElimID", ")", ";", "addPass", "(", "&", "SILoadStoreOptimizerID", ")", ";", "}", ""], "natrual_language": ["Methods", "with", "trivial", "inline", "returns", "are", "convenient", "points", "in", "the", "common", "codegen", "pass", "pipeline", "where", "targets", "may", "insert", "passes", "."], "TS_V_token": ["AMDGPU", "SI", "SI"], "File": "AMDGPUTargetMachine113", "Func": "addMachineSSAOptimization", "Target": "AMDGPU", "Target_Clf": "GPU", "Compiler_Type": "LLVM", "Idx": 4412, "Length": 32, "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": 4413, "Length": 24, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "static", "unsigned", "getReg", "(", "const", "void", "*", "D", ",", "unsigned", "RC", ",", "unsigned", "RegNo", ")", "{", "const", "XCoreDisassembler", "*", "Dis", "=", "static_cast", "<", "const", "XCoreDisassembler", "*", ">", "(", "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": ["XCore", "XCore", "XCore"], "File": "XCoreDisassembler", "Func": "getReg", "Target": "XCore", "Target_Clf": "MPU", "Compiler_Type": "LLVM", "Idx": 4414, "Length": 64, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "void", "s390_load_address", "(", "rtx", "dst", ",", "rtx", "src", ")", "{", "if", "(", "TARGET_64BIT", ")", "emit_move_insn", "(", "dst", ",", "src", ")", ";", "else", "emit_insn", "(", "gen_force_la_31", "(", "dst", ",", "src", ")", ")", ";", "}", ""], "natrual_language": ["Emit", "a", "forced", "load-address", "operation", "to", "load", "SRC", "into", "DST", ".", "This", "will", "use", "the", "LOAD", "ADDRESS", "instruction", "even", "in", "situations", "where", "legitimate_la_operand_p", "(", "SRC", ")", "returns", "false", "."], "TS_V_token": ["s390"], "File": "s390", "Func": "s390_load_address", "Target": "s390", "Target_Clf": "MPU", "Compiler_Type": "GCC", "Idx": 4415, "Length": 33, "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": 4416, "Length": 18, "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": 4417, "Length": 42, "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": 4418, "Length": 211, "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": 4419, "Length": 84, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "bool", "NVPTXAsmPrinter", "::", "lowerOperand", "(", "const", "MachineOperand", "&", "MO", ",", "MCOperand", "&", "MCOp", ")", "{", "switch", "(", "MO", ".", "getType", "(", ")", ")", "{", "default", ":", "llvm_unreachable", "(", "\"unknown operand type\"", ")", ";", "case", "MachineOperand", "::", "MO_Register", ":", "MCOp", "=", "MCOperand", "::", "CreateReg", "(", "encodeVirtualRegister", "(", "MO", ".", "getReg", "(", ")", ")", ")", ";", "break", ";", "case", "MachineOperand", "::", "MO_Immediate", ":", "MCOp", "=", "MCOperand", "::", "CreateImm", "(", "MO", ".", "getImm", "(", ")", ")", ";", "break", ";", "case", "MachineOperand", "::", "MO_MachineBasicBlock", ":", "MCOp", "=", "MCOperand", "::", "CreateExpr", "(", "MCSymbolRefExpr", "::", "Create", "(", "MO", ".", "getMBB", "(", ")", "->", "getSymbol", "(", ")", ",", "OutContext", ")", ")", ";", "break", ";", "case", "MachineOperand", "::", "MO_ExternalSymbol", ":", "MCOp", "=", "GetSymbolRef", "(", "MO", ",", "GetExternalSymbolSymbol", "(", "MO", ".", "getSymbolName", "(", ")", ")", ")", ";", "break", ";", "case", "MachineOperand", "::", "MO_GlobalAddress", ":", "MCOp", "=", "GetSymbolRef", "(", "MO", ",", "Mang", "->", "getSymbol", "(", "MO", ".", "getGlobal", "(", ")", ")", ")", ";", "break", ";", "case", "MachineOperand", "::", "MO_FPImmediate", ":", "{", "const", "ConstantFP", "*", "Cnt", "=", "MO", ".", "getFPImm", "(", ")", ";", "APFloat", "Val", "=", "Cnt", "->", "getValueAPF", "(", ")", ";", "switch", "(", "Cnt", "->", "getType", "(", ")", "->", "getTypeID", "(", ")", ")", "{", "default", ":", "report_fatal_error", "(", "\"Unsupported FP type\"", ")", ";", "break", ";", "case", "Type", "::", "FloatTyID", ":", "MCOp", "=", "MCOperand", "::", "CreateExpr", "(", "NVPTXFloatMCExpr", "::", "CreateConstantFPSingle", "(", "Val", ",", "OutContext", ")", ")", ";", "break", ";", "case", "Type", "::", "DoubleTyID", ":", "MCOp", "=", "MCOperand", "::", "CreateExpr", "(", "NVPTXFloatMCExpr", "::", "CreateConstantFPDouble", "(", "Val", ",", "OutContext", ")", ")", ";", "break", ";", "}", "break", ";", "}", "}", "return", "true", ";", "}", ""], "natrual_language": ["Wrapper", "for", "MCInstLowering.lowerOperand", "(", ")", "for", "the", "tblgen'erated", "pseudo", "lowering", "."], "TS_V_token": ["NVPTX", "NVPTX", "\"unknown operand type\"", "\"Unsupported FP type\"", "NVPTX", "NVPTX"], "File": "NVPTXAsmPrinter10", "Func": "lowerOperand", "Target": "NVPTX", "Target_Clf": "GPU", "Compiler_Type": "LLVM", "Idx": 4420, "Length": 256, "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": 4421, "Length": 62, "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": 4422, "Length": 191, "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": 4423, "Length": 408, "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", ",", "\"%qs attribute only applies to functions\"", ",", "IDENTIFIER_POINTER", "(", "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", "\"%qs attribute only applies to functions\"", "\"attribute interrupt_handler is not compatible with -m5-compact\""], "File": "sh3", "Func": "sh_handle_interrupt_handler_attribute", "Target": "sh", "Target_Clf": "CPU", "Compiler_Type": "GCC", "Idx": 4424, "Length": 74, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "void", "JVMPassConfig", "::", "addOptimizedRegAlloc", "(", "FunctionPass", "*", "RegAllocPass", ")", "{", "disablePass", "(", "&", "RegisterCoalescerID", ")", ";", "TargetPassConfig", "::", "addOptimizedRegAlloc", "(", "RegAllocPass", ")", ";", "}", ""], "natrual_language": ["addOptimizedRegAlloc", "-", "Add", "passes", "related", "to", "register", "allocation", "."], "TS_V_token": ["JVM", "JVM"], "File": "JVMTargetMachine", "Func": "addOptimizedRegAlloc", "Target": "JVM", "Target_Clf": "Virtual ISA", "Compiler_Type": "LLVM", "Idx": 4425, "Length": 24, "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": 4426, "Length": 114, "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": 4427, "Length": 50, "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", "::", "SETB_C8r", ":", "return", "Expand2AddrUndef", "(", "MI", ",", "get", "(", "X86", "::", "SBB8rr", ")", ")", ";", "case", "X86", "::", "SETB_C16r", ":", "return", "Expand2AddrUndef", "(", "MI", ",", "get", "(", "X86", "::", "SBB16rr", ")", ")", ";", "case", "X86", "::", "SETB_C32r", ":", "return", "Expand2AddrUndef", "(", "MI", ",", "get", "(", "X86", "::", "SBB32rr", ")", ")", ";", "case", "X86", "::", "SETB_C64r", ":", "return", "Expand2AddrUndef", "(", "MI", ",", "get", "(", "X86", "::", "SBB64rr", ")", ")", ";", "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::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": "X86InstrInfo120", "Func": "expandPostRAPseudo", "Target": "X86", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 4428, "Length": 235, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "uint32_t", "BTFStringTable", "::", "addString", "(", "StringRef", "S", ")", "{", "for", "(", "auto", "&", "OffsetM", ":", "OffsetToIdMap", ")", "{", "if", "(", "Table", "[", "OffsetM", ".", "second", "]", "==", "S", ")", "return", "OffsetM", ".", "first", ";", "}", "uint32_t", "Offset", "=", "Size", ";", "OffsetToIdMap", "[", "Offset", "]", "=", "Table", ".", "size", "(", ")", ";", "Table", ".", "push_back", "(", "std", "::", "string", "(", "S", ")", ")", ";", "Size", "+=", "S", ".", "size", "(", ")", "+", "1", ";", "return", "Offset", ";", "}", ""], "natrual_language": ["Adds", "path", "Path", "to", "the", "line", "string", "."], "TS_V_token": ["BPF", "BTFStringTable::addString", "1"], "File": "BTFDebug1", "Func": "addString", "Target": "BPF", "Target_Clf": "Virtual ISA", "Compiler_Type": "LLVM", "Idx": 4429, "Length": 77, "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": ["CellSPU"], "File": "SPUSubtarget", "Func": "getInstrItineraryData", "Target": "CellSPU", "Target_Clf": "MPU", "Compiler_Type": "LLVM", "Idx": 4430, "Length": 12, "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": 4431, "Length": 13, "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": 4432, "Length": 132, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "bool", "AMDGPUDAGToDAGISel", "::", "runOnMachineFunction", "(", "MachineFunction", "&", "MF", ")", "{", "Subtarget", "=", "&", "static_cast", "<", "const", "AMDGPUSubtarget", "&", ">", "(", "MF", ".", "getSubtarget", "(", ")", ")", ";", "return", "SelectionDAGISel", "::", "runOnMachineFunction", "(", "MF", ")", ";", "}", ""], "natrual_language": ["runOnMachineFunction", "-", "Emit", "the", "function", "body", "."], "TS_V_token": ["AMDGPU", "AMDGPU", "AMDGPU"], "File": "AMDGPUISelDAGToDAG (2)", "Func": "runOnMachineFunction", "Target": "AMDGPU", "Target_Clf": "GPU", "Compiler_Type": "LLVM", "Idx": 4433, "Length": 36, "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": 4434, "Length": 348, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "void", "AMDGPUCallLowering", "::", "splitToValueTypes", "(", "const", "ArgInfo", "&", "OrigArg", ",", "SmallVectorImpl", "<", "ArgInfo", ">", "&", "SplitArgs", ",", "const", "DataLayout", "&", "DL", ",", "MachineRegisterInfo", "&", "MRI", ",", "CallingConv", "::", "ID", "CallConv", ",", "SplitArgTy", "PerformArgSplit", ")", "const", "{", "const", "SITargetLowering", "&", "TLI", "=", "*", "getTLI", "<", "SITargetLowering", ">", "(", ")", ";", "LLVMContext", "&", "Ctx", "=", "OrigArg", ".", "Ty", "->", "getContext", "(", ")", ";", "if", "(", "OrigArg", ".", "Ty", "->", "isVoidTy", "(", ")", ")", "return", ";", "SmallVector", "<", "EVT", ",", "4", ">", "SplitVTs", ";", "ComputeValueVTs", "(", "TLI", ",", "DL", ",", "OrigArg", ".", "Ty", ",", "SplitVTs", ")", ";", "assert", "(", "OrigArg", ".", "Regs", ".", "size", "(", ")", "==", "SplitVTs", ".", "size", "(", ")", ")", ";", "int", "SplitIdx", "=", "0", ";", "for", "(", "EVT", "VT", ":", "SplitVTs", ")", "{", "unsigned", "NumParts", "=", "TLI", ".", "getNumRegistersForCallingConv", "(", "Ctx", ",", "CallConv", ",", "VT", ")", ";", "Type", "*", "Ty", "=", "VT", ".", "getTypeForEVT", "(", "Ctx", ")", ";", "if", "(", "NumParts", "==", "1", ")", "{", "SplitArgs", ".", "emplace_back", "(", "OrigArg", ".", "Regs", "[", "SplitIdx", "]", ",", "Ty", ",", "OrigArg", ".", "Flags", ",", "OrigArg", ".", "IsFixed", ")", ";", "++", "SplitIdx", ";", "continue", ";", "}", "LLT", "LLTy", "=", "getLLTForType", "(", "*", "Ty", ",", "DL", ")", ";", "SmallVector", "<", "Register", ",", "8", ">", "SplitRegs", ";", "EVT", "PartVT", "=", "TLI", ".", "getRegisterTypeForCallingConv", "(", "Ctx", ",", "CallConv", ",", "VT", ")", ";", "Type", "*", "PartTy", "=", "PartVT", ".", "getTypeForEVT", "(", "Ctx", ")", ";", "LLT", "PartLLT", "=", "getLLTForType", "(", "*", "PartTy", ",", "DL", ")", ";", "for", "(", "unsigned", "i", "=", "0", ";", "i", "<", "NumParts", ";", "++", "i", ")", "{", "Register", "PartReg", "=", "MRI", ".", "createGenericVirtualRegister", "(", "PartLLT", ")", ";", "SplitRegs", ".", "push_back", "(", "PartReg", ")", ";", "SplitArgs", ".", "emplace_back", "(", "ArrayRef", "<", "Register", ">", "(", "PartReg", ")", ",", "PartTy", ",", "OrigArg", ".", "Flags", ")", ";", "}", "PerformArgSplit", "(", "SplitRegs", ",", "LLTy", ",", "PartLLT", ",", "SplitIdx", ")", ";", "++", "SplitIdx", ";", "}", "}", ""], "natrual_language": ["Break", "OrigArgInfo", "into", "one", "or", "more", "pieces", "the", "calling", "convention", "can", "process", ",", "returned", "in", "SplitArgs", "."], "TS_V_token": ["AMDGPU", "AMDGPU", "SI", "SI", "4", "0", "1", "8", "0"], "File": "AMDGPUCallLowering1", "Func": "splitToValueTypes", "Target": "AMDGPU", "Target_Clf": "GPU", "Compiler_Type": "LLVM", "Idx": 4435, "Length": 307, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "StringRef", "getPassName", "(", ")", "const", "override", "{", "return", "\"AMDGPU OpenCL Image Type Pass\"", ";", "}", ""], "natrual_language": ["getPassName", "-", "Return", "a", "nice", "clean", "name", "for", "a", "pass", "."], "TS_V_token": ["AMDGPU", "\"AMDGPU OpenCL Image Type Pass\""], "File": "AMDGPUOpenCLImageTypeLoweringPass2", "Func": "getPassName", "Target": "AMDGPU", "Target_Clf": "GPU", "Compiler_Type": "LLVM", "Idx": 4436, "Length": 11, "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": 4437, "Length": 113, "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": 4438, "Length": 90, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "bool", "HexagonTargetLowering", "::", "allowsMemoryAccess", "(", "LLVMContext", "&", "Context", ",", "const", "DataLayout", "&", "DL", ",", "EVT", "VT", ",", "unsigned", "AddrSpace", ",", "unsigned", "Alignment", ",", "MachineMemOperand", "::", "Flags", "Flags", ",", "bool", "*", "Fast", ")", "const", "{", "MVT", "SVT", "=", "VT", ".", "getSimpleVT", "(", ")", ";", "if", "(", "Subtarget", ".", "isHVXVectorType", "(", "SVT", ",", "true", ")", ")", "return", "allowsHvxMemoryAccess", "(", "SVT", ",", "Alignment", ",", "Flags", ",", "Fast", ")", ";", "return", "TargetLoweringBase", "::", "allowsMemoryAccess", "(", "Context", ",", "DL", ",", "VT", ",", "AddrSpace", ",", "Alignment", ",", "Flags", ",", "Fast", ")", ";", "}", ""], "natrual_language": ["This", "function", "returns", "true", "if", "the", "memory", "access", "is", "aligned", "or", "if", "the", "target", "allows", "this", "specific", "unaligned", "memory", "access", "."], "TS_V_token": ["Hexagon", "Hexagon"], "File": "HexagonISelLowering103", "Func": "allowsMemoryAccess", "Target": "Hexagon", "Target_Clf": "DSP", "Compiler_Type": "LLVM", "Idx": 4439, "Length": 87, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "static", "void", "avr_conditional_register_usage", "(", "void", ")", "{", "if", "(", "AVR_TINY", ")", "{", "unsigned", "int", "i", ";", "const", "int", "tiny_reg_alloc_order", "[", "]", "=", "{", "24", ",", "25", ",", "22", ",", "23", ",", "30", ",", "31", ",", "26", ",", "27", ",", "28", ",", "29", ",", "21", ",", "20", ",", "19", ",", "18", ",", "16", ",", "17", ",", "32", ",", "33", ",", "34", ",", "35", ",", "15", ",", "14", ",", "13", ",", "12", ",", "11", ",", "10", ",", "9", ",", "8", ",", "7", ",", "6", ",", "5", ",", "4", ",", "3", ",", "2", ",", "1", ",", "0", "}", ";", "for", "(", "i", "=", "0", ";", "i", "<=", "17", ";", "i", "++", ")", "{", "fixed_regs", "[", "i", "]", "=", "1", ";", "call_used_regs", "[", "i", "]", "=", "1", ";", "}", "for", "(", "i", "=", "18", ";", "i", "<=", "LAST_CALLEE_SAVED_REG", ";", "i", "++", ")", "{", "call_used_regs", "[", "i", "]", "=", "0", ";", "}", "for", "(", "i", "=", "0", ";", "i", "<", "ARRAY_SIZE", "(", "tiny_reg_alloc_order", ")", ";", "i", "++", ")", "{", "reg_alloc_order", "[", "i", "]", "=", "tiny_reg_alloc_order", "[", "i", "]", ";", "}", "CLEAR_HARD_REG_SET", "(", "reg_class_contents", "[", "(", "int", ")", "ADDW_REGS", "]", ")", ";", "CLEAR_HARD_REG_SET", "(", "reg_class_contents", "[", "(", "int", ")", "NO_LD_REGS", "]", ")", ";", "}", "}", ""], "natrual_language": ["Implement", "`", "TARGET_CONDITIONAL_REGISTER_USAGE", "'", "."], "TS_V_token": ["avr", "24", "25", "22", "23", "30", "31", "26", "27", "28", "29", "21", "20", "19", "18", "16", "17", "32", "33", "34", "35", "15", "14", "13", "12", "11", "10", "9", "8", "7", "6", "5", "4", "3", "2", "1", "0", "0", "17", "1", "1", "18", "0", "0"], "File": "avr4", "Func": "avr_conditional_register_usage", "Target": "avr", "Target_Clf": "MPU", "Compiler_Type": "GCC", "Idx": 4440, "Length": 199, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "print_operand_address", "(", "FILE", ",", "ADDR", ")", "{", "\\", "extern", "void", "__gcc_cleanup", "(", ")", ";", "\\", "if", "(", "__gcc_cleanup", "!=", "_cleanup", ")", "\\", "__gcc_cleanup", "(", ")", ";", "\\", "_cleanup", "(", ")", ";", "\\", "}", ""], "natrual_language": ["Print", "the", "operand", "address", "represented", "by", "the", "rtx", "addr"], "TS_V_token": ["convex"], "File": "convex", "Func": "print_operand_address", "Target": "convex", "Target_Clf": "VLIW", "Compiler_Type": "GCC", "Idx": 4441, "Length": 33, "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": 4442, "Length": 484, "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": 4443, "Length": 21, "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": 4444, "Length": 104, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "static", "HOST_WIDE_INT", "xtensa_starting_frame_offset", "(", "void", ")", "{", "if", "(", "FRAME_GROWS_DOWNWARD", ")", "return", "0", ";", "return", "crtl", "->", "outgoing_args_size", ";", "}", ""], "natrual_language": ["Implement", "TARGET_STARTING_FRAME_OFFSET", "."], "TS_V_token": ["xtensa", "0"], "File": "xtensa", "Func": "xtensa_starting_frame_offset", "Target": "xtensa", "Target_Clf": "MPU", "Compiler_Type": "GCC", "Idx": 4445, "Length": 20, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "const", "MSP430InstrInfo", "*", "getInstrInfo", "(", ")", "const", "override", "{", "return", "getSubtargetImpl", "(", ")", "->", "getInstrInfo", "(", ")", ";", "}", ""], "natrual_language": ["TargetInstrInfo", "getter", "."], "TS_V_token": ["MSP430", "MSP430"], "File": "MSP430TargetMachine", "Func": "getInstrInfo", "Target": "MSP430", "Target_Clf": "MPU", "Compiler_Type": "LLVM", "Idx": 4446, "Length": 19, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "void", "GCNPassConfig", "::", "addPreRegAlloc", "(", ")", "{", "const", "AMDGPUSubtarget", "&", "ST", "=", "*", "getAMDGPUTargetMachine", "(", ")", ".", "getSubtargetImpl", "(", ")", ";", "if", "(", "getOptLevel", "(", ")", ">", "CodeGenOpt", "::", "None", ")", "{", "initializeSIFixControlFlowLiveIntervalsPass", "(", "*", "PassRegistry", "::", "getPassRegistry", "(", ")", ")", ";", "insertPass", "(", "&", "MachineSchedulerID", ",", "&", "SIFixControlFlowLiveIntervalsID", ")", ";", "}", "if", "(", "getOptLevel", "(", ")", ">", "CodeGenOpt", "::", "None", "&&", "ST", ".", "loadStoreOptEnabled", "(", ")", ")", "{", "initializeSILoadStoreOptimizerPass", "(", "*", "PassRegistry", "::", "getPassRegistry", "(", ")", ")", ";", "insertPass", "(", "&", "MachineSchedulerID", ",", "&", "SILoadStoreOptimizerID", ")", ";", "insertPass", "(", "&", "MachineSchedulerID", ",", "&", "RegisterCoalescerID", ")", ";", "}", "addPass", "(", "createSIShrinkInstructionsPass", "(", ")", ",", "false", ")", ";", "addPass", "(", "createSIFixSGPRLiveRangesPass", "(", ")", ")", ";", "}", ""], "natrual_language": ["This", "method", "may", "be", "implemented", "by", "targets", "that", "want", "to", "run", "passes", "immediately", "before", "register", "allocation", "."], "TS_V_token": ["AMDGPU", "AMDGPU", "AMDGPU", "SI", "SI", "SI", "SI", "SI", "SI"], "File": "AMDGPUTargetMachine87", "Func": "addPreRegAlloc", "Target": "AMDGPU", "Target_Clf": "GPU", "Compiler_Type": "LLVM", "Idx": 4447, "Length": 115, "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": 4448, "Length": 254, "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": 4449, "Length": 18, "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": 4450, "Length": 187, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "static", "FunctionType", "*", "getType", "(", "LLVMContext", "&", "Context", ",", "unsigned", "id", ")", "{", "Type", "*", "ResultTy", "=", "NULL", ";", "SmallVector", "<", "Type", "*", ",", "8", ">", "ArgTys", ";", "bool", "IsVarArg", "=", "false", ";", "return", "FunctionType", "::", "get", "(", "ResultTy", ",", "ArgTys", ",", "IsVarArg", ")", ";", "}", ""], "natrual_language": ["Overload", "to", "return", "most", "specific", "vector", "type", "."], "TS_V_token": ["Blackfin", "8"], "File": "BlackfinIntrinsicInfo3", "Func": "getType", "Target": "Blackfin", "Target_Clf": "DSP", "Compiler_Type": "LLVM", "Idx": 4451, "Length": 46, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "static", "bool", "c6x_call_saved_register_used", "(", "tree", "call_expr", ")", "{", "CUMULATIVE_ARGS", "cum_v", ";", "cumulative_args_t", "cum", ";", "HARD_REG_SET", "call_saved_regset", ";", "tree", "parameter", ";", "rtx", "parm_rtx", ";", "int", "i", ";", "INIT_CUMULATIVE_ARGS", "(", "cum_v", ",", "NULL", ",", "NULL", ",", "0", ",", "0", ")", ";", "cum", "=", "pack_cumulative_args", "(", "&", "cum_v", ")", ";", "call_saved_regset", "=", "~", "call_used_or_fixed_regs", ";", "for", "(", "i", "=", "0", ";", "i", "<", "call_expr_nargs", "(", "call_expr", ")", ";", "i", "++", ")", "{", "parameter", "=", "CALL_EXPR_ARG", "(", "call_expr", ",", "i", ")", ";", "gcc_assert", "(", "parameter", ")", ";", "if", "(", "TREE_CODE", "(", "parameter", ")", "==", "ERROR_MARK", ")", "return", "true", ";", "function_arg_info", "arg", "(", "TREE_TYPE", "(", "parameter", ")", ",", "true", ")", ";", "apply_pass_by_reference_rules", "(", "&", "cum_v", ",", "arg", ")", ";", "parm_rtx", "=", "c6x_function_arg", "(", "cum", ",", "arg", ")", ";", "c6x_function_arg_advance", "(", "cum", ",", "arg", ")", ";", "if", "(", "!", "parm_rtx", ")", "continue", ";", "if", "(", "REG_P", "(", "parm_rtx", ")", "&&", "overlaps_hard_reg_set_p", "(", "call_saved_regset", ",", "GET_MODE", "(", "parm_rtx", ")", ",", "REGNO", "(", "parm_rtx", ")", ")", ")", "return", "true", ";", "if", "(", "GET_CODE", "(", "parm_rtx", ")", "==", "PARALLEL", ")", "{", "int", "n", "=", "XVECLEN", "(", "parm_rtx", ",", "0", ")", ";", "while", "(", "n", "--", ">", "0", ")", "{", "rtx", "x", "=", "XEXP", "(", "XVECEXP", "(", "parm_rtx", ",", "0", ",", "n", ")", ",", "0", ")", ";", "if", "(", "REG_P", "(", "x", ")", "&&", "overlaps_hard_reg_set_p", "(", "call_saved_regset", ",", "GET_MODE", "(", "x", ")", ",", "REGNO", "(", "x", ")", ")", ")", "return", "true", ";", "}", "}", "}", "return", "false", ";", "}", ""], "natrual_language": ["Checks", "whether", "the", "given", "CALL_EXPR", "would", "use", "a", "caller", "saved", "register", ".", "This", "is", "used", "to", "decide", "whether", "sibling", "call", "optimization", "could", "be", "performed", "on", "the", "respective", "function", "call", "."], "TS_V_token": ["c6x", "0", "0", "0", "0", "0", "0", "0"], "File": "c6x", "Func": "c6x_call_saved_register_used", "Target": "c6x", "Target_Clf": "VLIW", "Compiler_Type": "GCC", "Idx": 4452, "Length": 239, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "MachineBasicBlock", "*", "WebAssemblyTargetLowering", "::", "EmitInstrWithCustomInserter", "(", "MachineInstr", "&", "MI", ",", "MachineBasicBlock", "*", "BB", ")", "const", "{", "const", "TargetInstrInfo", "&", "TII", "=", "*", "Subtarget", "->", "getInstrInfo", "(", ")", ";", "DebugLoc", "DL", "=", "MI", ".", "getDebugLoc", "(", ")", ";", "switch", "(", "MI", ".", "getOpcode", "(", ")", ")", "{", "default", ":", "llvm_unreachable", "(", "\"Unexpected instr type to insert\"", ")", ";", "case", "WebAssembly", "::", "FP_TO_SINT_I32_F32", ":", "return", "LowerFPToInt", "(", "MI", ",", "DL", ",", "BB", ",", "TII", ",", "false", ",", "false", ",", "false", ",", "WebAssembly", "::", "I32_TRUNC_S_F32", ")", ";", "case", "WebAssembly", "::", "FP_TO_UINT_I32_F32", ":", "return", "LowerFPToInt", "(", "MI", ",", "DL", ",", "BB", ",", "TII", ",", "true", ",", "false", ",", "false", ",", "WebAssembly", "::", "I32_TRUNC_U_F32", ")", ";", "case", "WebAssembly", "::", "FP_TO_SINT_I64_F32", ":", "return", "LowerFPToInt", "(", "MI", ",", "DL", ",", "BB", ",", "TII", ",", "false", ",", "true", ",", "false", ",", "WebAssembly", "::", "I64_TRUNC_S_F32", ")", ";", "case", "WebAssembly", "::", "FP_TO_UINT_I64_F32", ":", "return", "LowerFPToInt", "(", "MI", ",", "DL", ",", "BB", ",", "TII", ",", "true", ",", "true", ",", "false", ",", "WebAssembly", "::", "I64_TRUNC_U_F32", ")", ";", "case", "WebAssembly", "::", "FP_TO_SINT_I32_F64", ":", "return", "LowerFPToInt", "(", "MI", ",", "DL", ",", "BB", ",", "TII", ",", "false", ",", "false", ",", "true", ",", "WebAssembly", "::", "I32_TRUNC_S_F64", ")", ";", "case", "WebAssembly", "::", "FP_TO_UINT_I32_F64", ":", "return", "LowerFPToInt", "(", "MI", ",", "DL", ",", "BB", ",", "TII", ",", "true", ",", "false", ",", "true", ",", "WebAssembly", "::", "I32_TRUNC_U_F64", ")", ";", "case", "WebAssembly", "::", "FP_TO_SINT_I64_F64", ":", "return", "LowerFPToInt", "(", "MI", ",", "DL", ",", "BB", ",", "TII", ",", "false", ",", "true", ",", "true", ",", "WebAssembly", "::", "I64_TRUNC_S_F64", ")", ";", "case", "WebAssembly", "::", "FP_TO_UINT_I64_F64", ":", "return", "LowerFPToInt", "(", "MI", ",", "DL", ",", "BB", ",", "TII", ",", "true", ",", "true", ",", "true", ",", "WebAssembly", "::", "I64_TRUNC_U_F64", ")", ";", "case", "WebAssembly", "::", "CALL_RESULTS", ":", "case", "WebAssembly", "::", "RET_CALL_RESULTS", ":", "return", "LowerCallResults", "(", "MI", ",", "DL", ",", "BB", ",", "TII", ")", ";", "}", "}", ""], "natrual_language": ["This", "method", "should", "be", "implemented", "by", "targets", "that", "mark", "instructions", "with", "the", "'usesCustomInserter", "'", "flag", "."], "TS_V_token": ["WebAssembly", "WebAssembly", "\"Unexpected instr type to insert\"", "WebAssembly::FP_TO_SINT_I32_F32", "WebAssembly::I32_TRUNC_S_F32", "WebAssembly::FP_TO_UINT_I32_F32", "WebAssembly::I32_TRUNC_U_F32", "WebAssembly::FP_TO_SINT_I64_F32", "WebAssembly::I64_TRUNC_S_F32", "WebAssembly::FP_TO_UINT_I64_F32", "WebAssembly::I64_TRUNC_U_F32", "WebAssembly::FP_TO_SINT_I32_F64", "WebAssembly::I32_TRUNC_S_F64", "WebAssembly::FP_TO_UINT_I32_F64", "WebAssembly::I32_TRUNC_U_F64", "WebAssembly::FP_TO_SINT_I64_F64", "WebAssembly::I64_TRUNC_S_F64", "WebAssembly::FP_TO_UINT_I64_F64", "WebAssembly::I64_TRUNC_U_F64", "WebAssembly::CALL_RESULTS", "WebAssembly::RET_CALL_RESULTS"], "File": "WebAssemblyISelLowering12", "Func": "EmitInstrWithCustomInserter", "Target": "WebAssembly", "Target_Clf": "Virtual ISA", "Compiler_Type": "LLVM", "Idx": 4453, "Length": 293, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "void", "MSP430RegisterInfo", "::", "eliminateFrameIndex", "(", "MachineBasicBlock", "::", "iterator", "II", ",", "int", "SPAdj", ",", "unsigned", "FIOperandNum", ",", "RegScavenger", "*", "RS", ")", "const", "{", "assert", "(", "SPAdj", "==", "0", "&&", "\"Unexpected\"", ")", ";", "MachineInstr", "&", "MI", "=", "*", "II", ";", "MachineBasicBlock", "&", "MBB", "=", "*", "MI", ".", "getParent", "(", ")", ";", "MachineFunction", "&", "MF", "=", "*", "MBB", ".", "getParent", "(", ")", ";", "const", "MSP430FrameLowering", "*", "TFI", "=", "getFrameLowering", "(", "MF", ")", ";", "DebugLoc", "dl", "=", "MI", ".", "getDebugLoc", "(", ")", ";", "int", "FrameIndex", "=", "MI", ".", "getOperand", "(", "FIOperandNum", ")", ".", "getIndex", "(", ")", ";", "unsigned", "BasePtr", "=", "(", "TFI", "->", "hasFP", "(", "MF", ")", "?", "MSP430", "::", "FP", ":", "MSP430", "::", "SP", ")", ";", "int", "Offset", "=", "MF", ".", "getFrameInfo", "(", ")", ".", "getObjectOffset", "(", "FrameIndex", ")", ";", "Offset", "+=", "2", ";", "if", "(", "!", "TFI", "->", "hasFP", "(", "MF", ")", ")", "Offset", "+=", "MF", ".", "getFrameInfo", "(", ")", ".", "getStackSize", "(", ")", ";", "else", "Offset", "+=", "2", ";", "Offset", "+=", "MI", ".", "getOperand", "(", "FIOperandNum", "+", "1", ")", ".", "getImm", "(", ")", ";", "if", "(", "MI", ".", "getOpcode", "(", ")", "==", "MSP430", "::", "ADDframe", ")", "{", "const", "TargetInstrInfo", "&", "TII", "=", "*", "MF", ".", "getSubtarget", "(", ")", ".", "getInstrInfo", "(", ")", ";", "MI", ".", "setDesc", "(", "TII", ".", "get", "(", "MSP430", "::", "MOV16rr", ")", ")", ";", "MI", ".", "getOperand", "(", "FIOperandNum", ")", ".", "ChangeToRegister", "(", "BasePtr", ",", "false", ")", ";", "if", "(", "Offset", "==", "0", ")", "return", ";", "Register", "DstReg", "=", "MI", ".", "getOperand", "(", "0", ")", ".", "getReg", "(", ")", ";", "if", "(", "Offset", "<", "0", ")", "BuildMI", "(", "MBB", ",", "std", "::", "next", "(", "II", ")", ",", "dl", ",", "TII", ".", "get", "(", "MSP430", "::", "SUB16ri", ")", ",", "DstReg", ")", ".", "addReg", "(", "DstReg", ")", ".", "addImm", "(", "-", "Offset", ")", ";", "else", "BuildMI", "(", "MBB", ",", "std", "::", "next", "(", "II", ")", ",", "dl", ",", "TII", ".", "get", "(", "MSP430", "::", "ADD16ri", ")", ",", "DstReg", ")", ".", "addReg", "(", "DstReg", ")", ".", "addImm", "(", "Offset", ")", ";", "return", ";", "}", "MI", ".", "getOperand", "(", "FIOperandNum", ")", ".", "ChangeToRegister", "(", "BasePtr", ",", "false", ")", ";", "MI", ".", "getOperand", "(", "FIOperandNum", "+", "1", ")", ".", "ChangeToImmediate", "(", "Offset", ")", ";", "}", ""], "natrual_language": ["This", "method", "must", "be", "overriden", "to", "eliminate", "abstract", "frame", "indices", "from", "instructions", "which", "may", "use", "them", "."], "TS_V_token": ["MSP430", "MSP430", "0", "\"Unexpected\"", "MSP430", "MSP430::FP", "MSP430::SP", "2", "2", "1", "MSP430::ADDframe", "MSP430::MOV16rr", "0", "0", "0", "MSP430::SUB16ri", "MSP430::ADD16ri", "1"], "File": "MSP430RegisterInfo28", "Func": "eliminateFrameIndex", "Target": "MSP430", "Target_Clf": "MPU", "Compiler_Type": "LLVM", "Idx": 4454, "Length": 362, "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": 4455, "Length": 241, "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": 4456, "Length": 38, "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": 4457, "Length": 216, "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": 4458, "Length": 264, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "OffsetRange", "&", "intersect", "(", "OffsetRange", "A", ")", "{", "Align", "=", "std", "::", "max", "(", "Align", ",", "A", ".", "Align", ")", ";", "Min", "=", "std", "::", "max", "(", "Min", ",", "A", ".", "Min", ")", ";", "Max", "=", "std", "::", "min", "(", "Max", ",", "A", ".", "Max", ")", ";", "if", "(", "Min", ">", "Max", ")", "std", "::", "tie", "(", "Min", ",", "Max", ",", "Align", ")", "=", "std", "::", "make_tuple", "(", "0", ",", "-", "1", ",", "1", ")", ";", "return", "*", "this", ";", "}", ""], "natrual_language": ["Intersect", "this", "set", "with", "a", "temporary", "other", "set", "in", "place", "."], "TS_V_token": ["Hexagon", "0", "1", "1"], "File": "HexagonConstExtenders14", "Func": "intersect", "Target": "Hexagon", "Target_Clf": "DSP", "Compiler_Type": "LLVM", "Idx": 4459, "Length": 81, "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-builtins2", "Func": "register_svprfop", "Target": "aarch64", "Target_Clf": "CPU", "Compiler_Type": "GCC", "Idx": 4460, "Length": 49, "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", ":", "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", "0", "613", "2", "3", "613", "0", "613", "1231", "613", "613", "0", "613"], "File": "rs60004", "Func": "rs6000_hash_constant", "Target": "rs6000", "Target_Clf": "CPU", "Compiler_Type": "GCC", "Idx": 4461, "Length": 404, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "void", "NVPTXAsmPrinter", "::", "EmitInstruction", "(", "const", "MachineInstr", "*", "MI", ")", "{", "SmallString", "<", "128", ">", "Str", ";", "raw_svector_ostream", "OS", "(", "Str", ")", ";", "if", "(", "nvptxSubtarget", ".", "getDrvInterface", "(", ")", "==", "NVPTX", "::", "CUDA", ")", "emitLineNumberAsDotLoc", "(", "*", "MI", ")", ";", "MCInst", "Inst", ";", "lowerToMCInst", "(", "MI", ",", "Inst", ")", ";", "EmitToStreamer", "(", "OutStreamer", ",", "Inst", ")", ";", "}", ""], "natrual_language": ["EmitInstruction", "-", "This", "callback", "is", "invoked", "when", "an", "instruction", "is", "emitted", ",", "to", "advance", "the", "hazard", "state", "."], "TS_V_token": ["NVPTX", "NVPTX", "128", "NVPTX::CUDA"], "File": "NVPTXAsmPrinter1", "Func": "EmitInstruction", "Target": "NVPTX", "Target_Clf": "GPU", "Compiler_Type": "LLVM", "Idx": 4462, "Length": 59, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "void", "AVRMCCodeEmitter", "::", "emitInstruction", "(", "uint64_t", "Val", ",", "unsigned", "Size", ",", "const", "MCSubtargetInfo", "&", "STI", ",", "raw_ostream", "&", "OS", ")", "const", "{", "size_t", "WordCount", "=", "Size", "/", "2", ";", "for", "(", "int64_t", "i", "=", "WordCount", "-", "1", ";", "i", ">=", "0", ";", "--", "i", ")", "{", "uint16_t", "Word", "=", "(", "Val", ">>", "(", "i", "*", "16", ")", ")", "&", "0xFFFF", ";", "support", "::", "endian", "::", "write", "(", "OS", ",", "Word", ",", "support", "::", "endianness", "::", "little", ")", ";", "}", "}", ""], "natrual_language": ["Targets", "should", "implement", "this", "to", "emit", "instructions", "."], "TS_V_token": ["AVR", "AVR", "2", "1", "0", "16", "0xFFFF", "support::endian", "support::endianness"], "File": "AVRMCCodeEmitter", "Func": "emitInstruction", "Target": "AVR", "Target_Clf": "MPU", "Compiler_Type": "LLVM", "Idx": 4463, "Length": 80, "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": 4464, "Length": 452, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "Register", "MOSRegisterInfo", "::", "getFrameRegister", "(", "const", "MachineFunction", "&", "MF", ")", "const", "{", "const", "TargetFrameLowering", "*", "TFI", "=", "getFrameLowering", "(", "MF", ")", ";", "return", "TFI", "->", "hasFP", "(", "MF", ")", "?", "MOS", "::", "RS15", ":", "MOS", "::", "RS0", ";", "}", ""], "natrual_language": ["Debug", "information", "queries", "."], "TS_V_token": ["MOS", "MOS", "MOS::RS15", "MOS::RS0"], "File": "MOSRegisterInfo", "Func": "getFrameRegister", "Target": "MOS", "Target_Clf": "MPU", "Compiler_Type": "LLVM", "Idx": 4465, "Length": 39, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "bool", "MOSFrameLowering", "::", "assignCalleeSavedSpillSlots", "(", "MachineFunction", "&", "MF", ",", "const", "TargetRegisterInfo", "*", "TRI", ",", "std", "::", "vector", "<", "CalleeSavedInfo", ">", "&", "CSI", ")", "const", "{", "MachineFrameInfo", "&", "MFI", "=", "MF", ".", "getFrameInfo", "(", ")", ";", "for", "(", "const", "auto", "&", "Info", ":", "enumerate", "(", "CSI", ")", ")", "{", "if", "(", "Info", ".", "index", "(", ")", "<", "4", ")", "Info", ".", "value", "(", ")", ".", "setTargetSpilled", "(", ")", ";", "else", "Info", ".", "value", "(", ")", ".", "setFrameIdx", "(", "MFI", ".", "CreateSpillStackObject", "(", "1", ",", "Align", "(", ")", ")", ")", ";", "}", "return", "true", ";", "}", ""], "natrual_language": ["This", "function", "will", "assign", "callee", "saved", "gprs", "to", "volatile", "vector", "registers", "for", "prologue", "spills", "when", "applicable", "."], "TS_V_token": ["MOS", "MOS", "4", "1"], "File": "MOSFrameLowering", "Func": "assignCalleeSavedSpillSlots", "Target": "MOS", "Target_Clf": "MPU", "Compiler_Type": "LLVM", "Idx": 4466, "Length": 94, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "static", "rtx", "frv_ifcvt_rewrite_mem", "(", "rtx", "mem", ",", "enum", "machine_mode", "mode", ",", "rtx", "insn", ")", "{", "rtx", "addr", "=", "XEXP", "(", "mem", ",", "0", ")", ";", "if", "(", "!", "frv_legitimate_address_p", "(", "mode", ",", "addr", ",", "reload_completed", ",", "TRUE", ",", "FALSE", ")", ")", "{", "if", "(", "GET_CODE", "(", "addr", ")", "==", "PLUS", ")", "{", "rtx", "addr_op0", "=", "XEXP", "(", "addr", ",", "0", ")", ";", "rtx", "addr_op1", "=", "XEXP", "(", "addr", ",", "1", ")", ";", "if", "(", "GET_CODE", "(", "addr_op0", ")", "==", "REG", "&&", "CONSTANT_P", "(", "addr_op1", ")", ")", "{", "rtx", "reg", "=", "frv_ifcvt_load_value", "(", "addr_op1", ",", "insn", ")", ";", "if", "(", "!", "reg", ")", "return", "NULL_RTX", ";", "addr", "=", "gen_rtx_PLUS", "(", "Pmode", ",", "addr_op0", ",", "reg", ")", ";", "}", "else", "return", "NULL_RTX", ";", "}", "else", "if", "(", "CONSTANT_P", "(", "addr", ")", ")", "addr", "=", "frv_ifcvt_load_value", "(", "addr", ",", "insn", ")", ";", "else", "return", "NULL_RTX", ";", "if", "(", "addr", "==", "NULL_RTX", ")", "return", "NULL_RTX", ";", "else", "if", "(", "XEXP", "(", "mem", ",", "0", ")", "!=", "addr", ")", "return", "change_address", "(", "mem", ",", "mode", ",", "addr", ")", ";", "}", "return", "mem", ";", "}", ""], "natrual_language": ["Update", "a", "MEM", "used", "in", "conditional", "code", "that", "might", "contain", "an", "offset", "to", "put", "the", "offset", "into", "a", "scratch", "register", ",", "so", "that", "the", "conditional", "load/store", "operations", "can", "be", "used", ".", "This", "function", "returns", "the", "original", "pointer", "if", "the", "MEM", "is", "valid", "to", "use", "in", "conditional", "code", ",", "NULL", "if", "we", "ca", "n't", "load", "up", "the", "offset", "into", "a", "temporary", "register", ",", "or", "the", "new", "MEM", "if", "we", "were", "successful", "."], "TS_V_token": ["frv", "0", "0", "1", "0"], "File": "frv2", "Func": "frv_ifcvt_rewrite_mem", "Target": "frv", "Target_Clf": "VLIW", "Compiler_Type": "GCC", "Idx": 4467, "Length": 179, "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": 4468, "Length": 210, "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": 4469, "Length": 173, "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": 4470, "Length": 134, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "bool", "GCNTTIImpl", "::", "isSourceOfDivergence", "(", "const", "Value", "*", "V", ")", "const", "{", "if", "(", "const", "Argument", "*", "A", "=", "dyn_cast", "<", "Argument", ">", "(", "V", ")", ")", "return", "!", "isArgPassedInSGPR", "(", "A", ")", ";", "if", "(", "const", "LoadInst", "*", "Load", "=", "dyn_cast", "<", "LoadInst", ">", "(", "V", ")", ")", "return", "Load", "->", "getPointerAddressSpace", "(", ")", "==", "AMDGPUAS", "::", "PRIVATE_ADDRESS", "||", "Load", "->", "getPointerAddressSpace", "(", ")", "==", "AMDGPUAS", "::", "FLAT_ADDRESS", ";", "if", "(", "isa", "<", "AtomicRMWInst", ">", "(", "V", ")", "||", "isa", "<", "AtomicCmpXchgInst", ">", "(", "V", ")", ")", "return", "true", ";", "if", "(", "const", "IntrinsicInst", "*", "Intrinsic", "=", "dyn_cast", "<", "IntrinsicInst", ">", "(", "V", ")", ")", "return", "AMDGPU", "::", "isIntrinsicSourceOfDivergence", "(", "Intrinsic", "->", "getIntrinsicID", "(", ")", ")", ";", "if", "(", "const", "CallInst", "*", "CI", "=", "dyn_cast", "<", "CallInst", ">", "(", "V", ")", ")", "{", "if", "(", "isa", "<", "InlineAsm", ">", "(", "CI", "->", "getCalledValue", "(", ")", ")", ")", "return", "isInlineAsmSourceOfDivergence", "(", "CI", ")", ";", "return", "true", ";", "}", "if", "(", "isa", "<", "InvokeInst", ">", "(", "V", ")", ")", "return", "true", ";", "return", "false", ";", "}", ""], "natrual_language": ["Returns", "whether", "V", "is", "a", "source", "of", "divergence", "."], "TS_V_token": ["AMDGPU", "AMDGPU", "AMDGPU", "AMDGPU::isIntrinsicSourceOfDivergence"], "File": "AMDGPUTargetTransformInfo41", "Func": "isSourceOfDivergence", "Target": "AMDGPU", "Target_Clf": "GPU", "Compiler_Type": "LLVM", "Idx": 4471, "Length": 175, "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": 4472, "Length": 165, "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": ["DLX"], "File": "DLXAsmParser", "Func": "isToken", "Target": "DLX", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 4473, "Length": 13, "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": 4474, "Length": 31, "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": 4475, "Length": 58, "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": 4476, "Length": 64, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "uint64_t", "SIMCCodeEmitter", "::", "getMachineOpValue", "(", "const", "MCInst", "&", "MI", ",", "const", "MCOperand", "&", "MO", ",", "SmallVectorImpl", "<", "MCFixup", ">", "&", "Fixups", ",", "const", "MCSubtargetInfo", "&", "STI", ")", "const", "{", "if", "(", "MO", ".", "isReg", "(", ")", ")", "return", "MRI", ".", "getEncodingValue", "(", "MO", ".", "getReg", "(", ")", ")", ";", "if", "(", "MO", ".", "isExpr", "(", ")", ")", "{", "const", "MCSymbolRefExpr", "*", "Expr", "=", "cast", "<", "MCSymbolRefExpr", ">", "(", "MO", ".", "getExpr", "(", ")", ")", ";", "MCFixupKind", "Kind", ";", "const", "MCSymbol", "*", "Sym", "=", "Ctx", ".", "GetOrCreateSymbol", "(", "StringRef", "(", "END_OF_TEXT_LABEL_NAME", ")", ")", ";", "if", "(", "&", "Expr", "->", "getSymbol", "(", ")", "==", "Sym", ")", "{", "Kind", "=", "(", "MCFixupKind", ")", "AMDGPU", "::", "fixup_si_end_of_text", ";", "}", "else", "{", "Kind", "=", "(", "MCFixupKind", ")", "AMDGPU", "::", "fixup_si_rodata", ";", "}", "Fixups", ".", "push_back", "(", "MCFixup", "::", "Create", "(", "4", ",", "Expr", ",", "Kind", ",", "MI", ".", "getLoc", "(", ")", ")", ")", ";", "}", "unsigned", "OpNo", "=", "0", ";", "for", "(", "unsigned", "e", "=", "MI", ".", "getNumOperands", "(", ")", ";", "OpNo", "<", "e", ";", "++", "OpNo", ")", "{", "if", "(", "&", "MO", "==", "&", "MI", ".", "getOperand", "(", "OpNo", ")", ")", "break", ";", "}", "const", "MCInstrDesc", "&", "Desc", "=", "MCII", ".", "get", "(", "MI", ".", "getOpcode", "(", ")", ")", ";", "if", "(", "isSrcOperand", "(", "Desc", ",", "OpNo", ")", ")", "{", "int", "RCID", "=", "Desc", ".", "OpInfo", "[", "OpNo", "]", ".", "RegClass", ";", "const", "MCRegisterClass", "&", "RC", "=", "MRI", ".", "getRegClass", "(", "RCID", ")", ";", "uint32_t", "Enc", "=", "getLitEncoding", "(", "MO", ",", "RC", ".", "getSize", "(", ")", ")", ";", "if", "(", "Enc", "!=", "~", "0U", "&&", "(", "Enc", "!=", "255", "||", "Desc", ".", "getSize", "(", ")", "==", "4", ")", ")", "return", "Enc", ";", "}", "else", "if", "(", "MO", ".", "isImm", "(", ")", ")", "return", "MO", ".", "getImm", "(", ")", ";", "llvm_unreachable", "(", "\"Encoding of this operand type is not supported yet.\"", ")", ";", "return", "0", ";", "}", ""], "natrual_language": ["getMachineOpValue", "-", "Return", "binary", "encoding", "of", "operand", "."], "TS_V_token": ["R600", "SI", "4", "0", "0U", "255", "4", "\"Encoding of this operand type is not supported yet.\"", "0"], "File": "SIMCCodeEmitter12", "Func": "getMachineOpValue", "Target": "R600", "Target_Clf": "GPU", "Compiler_Type": "LLVM", "Idx": 4477, "Length": 304, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "void", "s390_expand_vec_compare", "(", "rtx", "target", ",", "enum", "rtx_code", "cond", ",", "rtx", "cmp_op1", ",", "rtx", "cmp_op2", ")", "{", "machine_mode", "mode", "=", "GET_MODE", "(", "target", ")", ";", "bool", "neg_p", "=", "false", ",", "swap_p", "=", "false", ";", "rtx", "tmp", ";", "if", "(", "GET_MODE", "(", "cmp_op1", ")", "==", "V2DFmode", ")", "{", "switch", "(", "cond", ")", "{", "case", "NE", ":", "cond", "=", "EQ", ";", "neg_p", "=", "true", ";", "break", ";", "case", "UNGT", ":", "cond", "=", "GE", ";", "neg_p", "=", "true", ";", "swap_p", "=", "true", ";", "break", ";", "case", "UNGE", ":", "cond", "=", "GT", ";", "neg_p", "=", "true", ";", "swap_p", "=", "true", ";", "break", ";", "case", "LE", ":", "cond", "=", "GE", ";", "swap_p", "=", "true", ";", "break", ";", "case", "UNLE", ":", "cond", "=", "GT", ";", "neg_p", "=", "true", ";", "break", ";", "case", "LT", ":", "cond", "=", "GT", ";", "swap_p", "=", "true", ";", "break", ";", "case", "UNLT", ":", "cond", "=", "GE", ";", "neg_p", "=", "true", ";", "break", ";", "case", "UNEQ", ":", "emit_insn", "(", "gen_vec_cmpuneqv2df", "(", "target", ",", "cmp_op1", ",", "cmp_op2", ")", ")", ";", "return", ";", "case", "LTGT", ":", "emit_insn", "(", "gen_vec_cmpltgtv2df", "(", "target", ",", "cmp_op1", ",", "cmp_op2", ")", ")", ";", "return", ";", "case", "ORDERED", ":", "emit_insn", "(", "gen_vec_orderedv2df", "(", "target", ",", "cmp_op1", ",", "cmp_op2", ")", ")", ";", "return", ";", "case", "UNORDERED", ":", "emit_insn", "(", "gen_vec_unorderedv2df", "(", "target", ",", "cmp_op1", ",", "cmp_op2", ")", ")", ";", "return", ";", "default", ":", "break", ";", "}", "}", "else", "{", "switch", "(", "cond", ")", "{", "case", "NE", ":", "cond", "=", "EQ", ";", "neg_p", "=", "true", ";", "break", ";", "case", "GE", ":", "cond", "=", "GT", ";", "neg_p", "=", "true", ";", "swap_p", "=", "true", ";", "break", ";", "case", "GEU", ":", "cond", "=", "GTU", ";", "neg_p", "=", "true", ";", "swap_p", "=", "true", ";", "break", ";", "case", "LE", ":", "cond", "=", "GT", ";", "neg_p", "=", "true", ";", "break", ";", "case", "LEU", ":", "cond", "=", "GTU", ";", "neg_p", "=", "true", ";", "break", ";", "case", "LT", ":", "cond", "=", "GT", ";", "swap_p", "=", "true", ";", "break", ";", "case", "LTU", ":", "cond", "=", "GTU", ";", "swap_p", "=", "true", ";", "break", ";", "default", ":", "break", ";", "}", "}", "if", "(", "swap_p", ")", "{", "tmp", "=", "cmp_op1", ";", "cmp_op1", "=", "cmp_op2", ";", "cmp_op2", "=", "tmp", ";", "}", "emit_insn", "(", "gen_rtx_SET", "(", "target", ",", "gen_rtx_fmt_ee", "(", "cond", ",", "mode", ",", "cmp_op1", ",", "cmp_op2", ")", ")", ")", ";", "if", "(", "neg_p", ")", "emit_insn", "(", "gen_rtx_SET", "(", "target", ",", "gen_rtx_NOT", "(", "mode", ",", "target", ")", ")", ")", ";", "}", ""], "natrual_language": ["Generate", "a", "vector", "comparison", "COND", "of", "CMP_OP1", "and", "CMP_OP2", "and", "store", "the", "result", "in", "TARGET", "."], "TS_V_token": ["s390"], "File": "s3905", "Func": "s390_expand_vec_compare", "Target": "s390", "Target_Clf": "MPU", "Compiler_Type": "GCC", "Idx": 4478, "Length": 394, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "bool", "WebAssemblyArgumentMove", "::", "runOnMachineFunction", "(", "MachineFunction", "&", "MF", ")", "{", "DEBUG", "(", "{", "dbgs", "(", ")", "<<", "\"********** Argument Move **********\\n\"", "<<", "\"********** Function: \"", "<<", "MF", ".", "getName", "(", ")", "<<", "'\\n'", ";", "}", ")", ";", "bool", "Changed", "=", "false", ";", "MachineBasicBlock", "&", "EntryMBB", "=", "MF", ".", "front", "(", ")", ";", "MachineBasicBlock", "::", "iterator", "InsertPt", "=", "EntryMBB", ".", "end", "(", ")", ";", "for", "(", "MachineInstr", "&", "MI", ":", "EntryMBB", ")", "{", "if", "(", "!", "WebAssembly", "::", "isArgument", "(", "MI", ")", ")", "{", "InsertPt", "=", "MI", ";", "break", ";", "}", "}", "for", "(", "MachineInstr", "&", "MI", ":", "llvm", "::", "make_range", "(", "InsertPt", ",", "EntryMBB", ".", "end", "(", ")", ")", ")", "{", "if", "(", "WebAssembly", "::", "isArgument", "(", "MI", ")", ")", "{", "EntryMBB", ".", "insert", "(", "InsertPt", ",", "MI", ".", "removeFromParent", "(", ")", ")", ";", "Changed", "=", "true", ";", "}", "}", "return", "Changed", ";", "}", ""], "natrual_language": ["runOnMachineFunction", "-", "Emit", "the", "function", "body", "."], "TS_V_token": ["WebAssembly", "WebAssembly", "\"********** Argument Move **********\\n\"", "\"********** Function: \"", "WebAssembly::isArgument", "WebAssembly::isArgument"], "File": "WebAssemblyArgumentMove8", "Func": "runOnMachineFunction", "Target": "WebAssembly", "Target_Clf": "Virtual ISA", "Compiler_Type": "LLVM", "Idx": 4479, "Length": 139, "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": 4480, "Length": 114, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "SDValue", "HexagonTargetLowering", "::", "LowerOperation", "(", "SDValue", "Op", ",", "SelectionDAG", "&", "DAG", ")", "const", "{", "unsigned", "Opc", "=", "Op", ".", "getOpcode", "(", ")", ";", "switch", "(", "Opc", ")", "{", "default", ":", "Op", ".", "getNode", "(", ")", "->", "dumpr", "(", "&", "DAG", ")", ";", "if", "(", "Opc", ">", "HexagonISD", "::", "OP_BEGIN", "&&", "Opc", "<", "HexagonISD", "::", "OP_END", ")", "errs", "(", ")", "<<", "\"Check for a non-legal type in this operation\\n\"", ";", "llvm_unreachable", "(", "\"Should not custom lower this!\"", ")", ";", "case", "ISD", "::", "CONCAT_VECTORS", ":", "return", "LowerCONCAT_VECTORS", "(", "Op", ",", "DAG", ")", ";", "case", "ISD", "::", "INSERT_SUBVECTOR", ":", "return", "LowerINSERT_VECTOR", "(", "Op", ",", "DAG", ")", ";", "case", "ISD", "::", "INSERT_VECTOR_ELT", ":", "return", "LowerINSERT_VECTOR", "(", "Op", ",", "DAG", ")", ";", "case", "ISD", "::", "EXTRACT_SUBVECTOR", ":", "return", "LowerEXTRACT_VECTOR", "(", "Op", ",", "DAG", ")", ";", "case", "ISD", "::", "EXTRACT_VECTOR_ELT", ":", "return", "LowerEXTRACT_VECTOR", "(", "Op", ",", "DAG", ")", ";", "case", "ISD", "::", "BUILD_VECTOR", ":", "return", "LowerBUILD_VECTOR", "(", "Op", ",", "DAG", ")", ";", "case", "ISD", "::", "VECTOR_SHUFFLE", ":", "return", "LowerVECTOR_SHUFFLE", "(", "Op", ",", "DAG", ")", ";", "case", "ISD", "::", "SRA", ":", "case", "ISD", "::", "SHL", ":", "case", "ISD", "::", "SRL", ":", "return", "LowerVECTOR_SHIFT", "(", "Op", ",", "DAG", ")", ";", "case", "ISD", "::", "ConstantPool", ":", "return", "LowerConstantPool", "(", "Op", ",", "DAG", ")", ";", "case", "ISD", "::", "EH_RETURN", ":", "return", "LowerEH_RETURN", "(", "Op", ",", "DAG", ")", ";", "case", "ISD", "::", "RETURNADDR", ":", "return", "LowerRETURNADDR", "(", "Op", ",", "DAG", ")", ";", "case", "ISD", "::", "FRAMEADDR", ":", "return", "LowerFRAMEADDR", "(", "Op", ",", "DAG", ")", ";", "case", "ISD", "::", "ATOMIC_FENCE", ":", "return", "LowerATOMIC_FENCE", "(", "Op", ",", "DAG", ")", ";", "case", "ISD", "::", "GlobalAddress", ":", "return", "LowerGLOBALADDRESS", "(", "Op", ",", "DAG", ")", ";", "case", "ISD", "::", "BlockAddress", ":", "return", "LowerBlockAddress", "(", "Op", ",", "DAG", ")", ";", "case", "ISD", "::", "VASTART", ":", "return", "LowerVASTART", "(", "Op", ",", "DAG", ")", ";", "case", "ISD", "::", "BR_JT", ":", "return", "LowerBR_JT", "(", "Op", ",", "DAG", ")", ";", "case", "ISD", "::", "LOAD", ":", "return", "LowerLOAD", "(", "Op", ",", "DAG", ")", ";", "case", "ISD", "::", "DYNAMIC_STACKALLOC", ":", "return", "LowerDYNAMIC_STACKALLOC", "(", "Op", ",", "DAG", ")", ";", "case", "ISD", "::", "SETCC", ":", "return", "LowerSETCC", "(", "Op", ",", "DAG", ")", ";", "case", "ISD", "::", "VSELECT", ":", "return", "LowerVSELECT", "(", "Op", ",", "DAG", ")", ";", "case", "ISD", "::", "CTPOP", ":", "return", "LowerCTPOP", "(", "Op", ",", "DAG", ")", ";", "case", "ISD", "::", "INTRINSIC_WO_CHAIN", ":", "return", "LowerINTRINSIC_WO_CHAIN", "(", "Op", ",", "DAG", ")", ";", "case", "ISD", "::", "INLINEASM", ":", "return", "LowerINLINEASM", "(", "Op", ",", "DAG", ")", ";", "}", "}", ""], "natrual_language": ["LowerOperation", "-", "Provide", "custom", "lowering", "hooks", "for", "some", "operations", "."], "TS_V_token": ["Hexagon", "Hexagon", "HexagonISD::OP_BEGIN", "HexagonISD::OP_END", "\"Check for a non-legal type in this operation\\n\"", "\"Should not custom lower this!\"", "ISD::CONCAT_VECTORS", "ISD::INSERT_SUBVECTOR", "ISD::INSERT_VECTOR_ELT", "ISD::EXTRACT_SUBVECTOR", "ISD::EXTRACT_VECTOR_ELT", "ISD::BUILD_VECTOR", "ISD::VECTOR_SHUFFLE", "ISD::SRA", "ISD::SHL", "ISD::SRL", "ISD::ConstantPool", "ISD::EH_RETURN", "ISD::RETURNADDR", "ISD::FRAMEADDR", "ISD::ATOMIC_FENCE", "ISD::GlobalAddress", "ISD::BlockAddress", "ISD::VASTART", "ISD::BR_JT", "ISD::LOAD", "ISD::DYNAMIC_STACKALLOC", "ISD::SETCC", "ISD::VSELECT", "ISD::CTPOP", "ISD::INTRINSIC_WO_CHAIN", "ISD::INLINEASM"], "File": "HexagonISelLowering", "Func": "LowerOperation", "Target": "Hexagon", "Target_Clf": "DSP", "Compiler_Type": "LLVM", "Idx": 4481, "Length": 391, "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": 4482, "Length": 78, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "SDValue", "XCoreTargetLowering", "::", "LowerReturn", "(", "SDValue", "Chain", ",", "CallingConv", "::", "ID", "CallConv", ",", "bool", "isVarArg", ",", "const", "SmallVectorImpl", "<", "ISD", "::", "OutputArg", ">", "&", "Outs", ",", "const", "SmallVectorImpl", "<", "SDValue", ">", "&", "OutVals", ",", "DebugLoc", "dl", ",", "SelectionDAG", "&", "DAG", ")", "const", "{", "SmallVector", "<", "CCValAssign", ",", "16", ">", "RVLocs", ";", "CCState", "CCInfo", "(", "CallConv", ",", "isVarArg", ",", "getTargetMachine", "(", ")", ",", "RVLocs", ",", "*", "DAG", ".", "getContext", "(", ")", ")", ";", "CCInfo", ".", "AnalyzeReturn", "(", "Outs", ",", "RetCC_XCore", ")", ";", "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", "(", "XCoreISD", "::", "RETSP", ",", "dl", ",", "MVT", "::", "Other", ",", "Chain", ",", "DAG", ".", "getConstant", "(", "0", ",", "MVT", "::", "i32", ")", ",", "Flag", ")", ";", "else", "return", "DAG", ".", "getNode", "(", "XCoreISD", "::", "RETSP", ",", "dl", ",", "MVT", "::", "Other", ",", "Chain", ",", "DAG", ".", "getConstant", "(", "0", ",", "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": ["XCore", "XCore", "ISD::OutputArg", "16", "XCore", "0", "0", "\"Can only return in registers!\"", "1", "XCoreISD::RETSP", "MVT::Other", "0", "MVT::i32", "XCoreISD::RETSP", "MVT::Other", "0", "MVT::i32"], "File": "XCoreISelLowering15", "Func": "LowerReturn", "Target": "XCore", "Target_Clf": "MPU", "Compiler_Type": "LLVM", "Idx": 4483, "Length": 296, "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", "(", "peep2_reg_dead_p", "(", "nops", ",", "base_reg_rtx", ")", ")", ";", "gcc_assert", "(", "ldm_case", "==", "1", "||", "ldm_case", "==", "5", ")", ";", "write_back", "=", "TRUE", ";", "}", "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", ";", "if", "(", "!", "TARGET_THUMB1", ")", "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", "5", "0", "0", "0", "4", "0", "4", "0"], "File": "arm7", "Func": "gen_ldm_seq", "Target": "arm", "Target_Clf": "CPU", "Compiler_Type": "GCC", "Idx": 4484, "Length": 334, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "bool", "TLCS900AsmPrinter", "::", "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": ["TLCS900", "TLCS900", "0"], "File": "TLCS900AsmPrinter", "Func": "PrintAsmMemoryOperand", "Target": "TLCS900", "Target_Clf": "MPU", "Compiler_Type": "LLVM", "Idx": 4485, "Length": 53, "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": 4486, "Length": 291, "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": 4487, "Length": 11, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "void", "init", "(", "VLIWMachineScheduler", "*", "dag", ",", "const", "TargetSchedModel", "*", "smodel", ")", "{", "DAG", "=", "dag", ";", "SchedModel", "=", "smodel", ";", "IssueCount", "=", "0", ";", "}", ""], "natrual_language": ["Initialize", "the", "machine", "model", "for", "instruction", "scheduling", "."], "TS_V_token": ["Hexagon", "0"], "File": "HexagonMachineScheduler14", "Func": "init", "Target": "Hexagon", "Target_Clf": "DSP", "Compiler_Type": "LLVM", "Idx": 4488, "Length": 26, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "bool", "HexagonTargetMachine", "::", "addPostRegAlloc", "(", "PassManagerBase", "&", "PM", ")", "{", "PM", ".", "add", "(", "createHexagonCFGOptimizer", "(", "*", "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": ["Hexagon", "Hexagon", "Hexagon"], "File": "HexagonTargetMachine44", "Func": "addPostRegAlloc", "Target": "Hexagon", "Target_Clf": "DSP", "Compiler_Type": "LLVM", "Idx": 4489, "Length": 25, "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": 4490, "Length": 11, "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": 4491, "Length": 120, "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": 4492, "Length": 429, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "std", "::", "pair", "<", "unsigned", ",", "const", "TargetRegisterClass", "*", ">", "PatmosTargetLowering", "::", "getRegForInlineAsmConstraint", "(", "const", "TargetRegisterInfo", "*", "TRI", ",", "StringRef", "Constraint", ",", "MVT", "VT", ")", "const", "{", "if", "(", "Constraint", ".", "size", "(", ")", "==", "1", ")", "{", "switch", "(", "Constraint", "[", "0", "]", ")", "{", "case", "'R'", ":", "case", "'r'", ":", "return", "std", "::", "make_pair", "(", "0U", ",", "&", "Patmos", "::", "RRegsRegClass", ")", ";", "case", "'S'", ":", "if", "(", "VT", "==", "MVT", "::", "i32", ")", "{", "return", "std", "::", "make_pair", "(", "0U", ",", "&", "Patmos", "::", "SRegsRegClass", ")", ";", "}", "assert", "(", "\"Unexpected register type\"", ")", ";", "return", "std", "::", "make_pair", "(", "0U", ",", "static_cast", "<", "const", "TargetRegisterClass", "*", ">", "(", "0", ")", ")", ";", "case", "'P'", ":", "if", "(", "VT", "==", "MVT", "::", "i1", ")", "{", "return", "std", "::", "make_pair", "(", "0U", ",", "&", "Patmos", "::", "PRegsRegClass", ")", ";", "}", "assert", "(", "\"Unexpected register type\"", ")", ";", "return", "std", "::", "make_pair", "(", "0U", ",", "static_cast", "<", "const", "TargetRegisterClass", "*", ">", "(", "0", ")", ")", ";", "}", "}", "if", "(", "Constraint", ".", "size", "(", ")", ">", "2", "&&", "Constraint", "[", "0", "]", "==", "'{'", "&&", "Constraint", "[", "1", "]", "==", "'$'", ")", "{", "report_fatal_error", "(", "\"Inline assembly clobbers cannot have '$' preceding clobbered registers\"", ")", ";", "}", "return", "TargetLowering", "::", "getRegForInlineAsmConstraint", "(", "TRI", ",", "Constraint", ",", "VT", ")", ";", "}", ""], "natrual_language": ["Given", "a", "physical", "register", "constraint", "(", "e.g", "."], "TS_V_token": ["Patmos", "Patmos", "1", "0", "0U", "Patmos::RRegsRegClass", "MVT::i32", "0U", "Patmos::SRegsRegClass", "\"Unexpected register type\"", "0U", "0", "MVT::i1", "0U", "Patmos::PRegsRegClass", "\"Unexpected register type\"", "0U", "0", "2", "0", "1", "\"Inline assembly clobbers cannot have '$' preceding clobbered registers\""], "File": "PatmosISelLowering1", "Func": "getRegForInlineAsmConstraint", "Target": "Patmos", "Target_Clf": "VLIW", "Compiler_Type": "LLVM", "Idx": 4493, "Length": 209, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "unsigned", "BlackfinIntrinsicInfo", "::", "lookupName", "(", "const", "char", "*", "Name", ",", "unsigned", "Len", ")", "const", "{", "return", "0", ";", "}", ""], "natrual_language": ["Look", "up", "target", "intrinsic", "by", "name", "."], "TS_V_token": ["Blackfin", "0"], "File": "BlackfinIntrinsicInfo", "Func": "lookupName", "Target": "Blackfin", "Target_Clf": "DSP", "Compiler_Type": "LLVM", "Idx": 4494, "Length": 19, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "static", "HOST_WIDE_INT", "microblaze_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": ["microblaze"], "File": "microblaze", "Func": "microblaze_constant_alignment", "Target": "microblaze", "Target_Clf": "MPU", "Compiler_Type": "GCC", "Idx": 4495, "Length": 39, "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": 4496, "Length": 68, "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": 4497, "Length": 121, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "Z80TargetLowering", "::", "ConstraintType", "Z80TargetLowering", "::", "getConstraintType", "(", "const", "std", "::", "string", "&", "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": ["Z80", "Z80", "Z80", "1", "0"], "File": "Z80ISelLowering (2)", "Func": "getConstraintType", "Target": "Z80", "Target_Clf": "MPU", "Compiler_Type": "LLVM", "Idx": 4498, "Length": 62, "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": 4499, "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": 4500, "Length": 107, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "TargetLowering", "::", "AtomicExpansionKind", "HexagonTargetLowering", "::", "shouldExpandAtomicLoadInIR", "(", "LoadInst", "*", "LI", ")", "const", "{", "return", "LI", "->", "getType", "(", ")", "->", "getPrimitiveSizeInBits", "(", ")", ">", "64", "?", "AtomicExpansionKind", "::", "LLOnly", ":", "AtomicExpansionKind", "::", "None", ";", "}", ""], "natrual_language": ["Returns", "how", "the", "given", "(", "atomic", ")", "load", "should", "be", "expanded", "by", "the", "IR-level", "AtomicExpand", "pass", "."], "TS_V_token": ["Hexagon", "Hexagon", "64"], "File": "HexagonISelLowering (2)", "Func": "shouldExpandAtomicLoadInIR", "Target": "Hexagon", "Target_Clf": "DSP", "Compiler_Type": "LLVM", "Idx": 4501, "Length": 35, "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": 4502, "Length": 224, "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": 4503, "Length": 122, "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": 4504, "Length": 237, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "static", "rtx", "frv_read_iacc_argument", "(", "enum", "machine_mode", "mode", ",", "tree", "*", "arglistptr", ")", "{", "int", "i", ",", "regno", ";", "rtx", "op", ";", "op", "=", "frv_read_argument", "(", "arglistptr", ")", ";", "if", "(", "GET_CODE", "(", "op", ")", "!=", "CONST_INT", "||", "INTVAL", "(", "op", ")", "<", "0", "||", "INTVAL", "(", "op", ")", ">", "IACC_LAST", "-", "IACC_FIRST", "||", "(", "(", "INTVAL", "(", "op", ")", "*", "4", ")", "&", "(", "GET_MODE_SIZE", "(", "mode", ")", "-", "1", ")", ")", "!=", "0", ")", "{", "error", "(", "\"invalid IACC argument\"", ")", ";", "op", "=", "const0_rtx", ";", "}", "regno", "=", "INTVAL", "(", "op", ")", "+", "IACC_FIRST", ";", "for", "(", "i", "=", "0", ";", "i", "<", "HARD_REGNO_NREGS", "(", "regno", ",", "mode", ")", ";", "i", "++", ")", "global_regs", "[", "regno", "+", "i", "]", "=", "1", ";", "return", "gen_rtx_REG", "(", "mode", ",", "regno", ")", ";", "}", ""], "natrual_language": ["Like", "frv_read_argument", ",", "but", "interpret", "the", "argument", "as", "the", "number", "of", "an", "IACC", "register", "and", "return", "a", "(", "reg", ":", "MODE", "...", ")", "rtx", "for", "it", "."], "TS_V_token": ["frv", "0", "4", "1", "0", "\"invalid IACC argument\"", "0", "1"], "File": "frv2", "Func": "frv_read_iacc_argument", "Target": "frv", "Target_Clf": "VLIW", "Compiler_Type": "GCC", "Idx": 4505, "Length": 131, "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": 4506, "Length": 31, "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": 4507, "Length": 476, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "bool", "canAddEdge", "(", "const", "SUnit", "*", "Succ", ",", "const", "SUnit", "*", "Pred", ")", "const", "{", "if", "(", "Pred", "->", "NodeNum", "<", "Succ", "->", "NodeNum", ")", "return", "true", ";", "SmallVector", "<", "const", "SUnit", "*", ",", "64", ">", "Succs", "(", "{", "Succ", "}", ")", ",", "Preds", "(", "{", "Pred", "}", ")", ";", "for", "(", "unsigned", "I", "=", "0", ";", "I", "<", "Succs", ".", "size", "(", ")", ";", "++", "I", ")", "{", "for", "(", "const", "SDep", "&", "SI", ":", "Succs", "[", "I", "]", "->", "Succs", ")", "{", "const", "SUnit", "*", "SU", "=", "SI", ".", "getSUnit", "(", ")", ";", "if", "(", "SU", "!=", "Succs", "[", "I", "]", "&&", "!", "llvm", "::", "is_contained", "(", "Succs", ",", "SU", ")", ")", "Succs", ".", "push_back", "(", "SU", ")", ";", "}", "}", "SmallPtrSet", "<", "const", "SUnit", "*", ",", "32", ">", "Visited", ";", "while", "(", "!", "Preds", ".", "empty", "(", ")", ")", "{", "const", "SUnit", "*", "SU", "=", "Preds", ".", "pop_back_val", "(", ")", ";", "if", "(", "llvm", "::", "is_contained", "(", "Succs", ",", "SU", ")", ")", "return", "false", ";", "Visited", ".", "insert", "(", "SU", ")", ";", "for", "(", "const", "SDep", "&", "SI", ":", "SU", "->", "Preds", ")", "if", "(", "SI", ".", "getSUnit", "(", ")", "!=", "SU", "&&", "!", "Visited", ".", "count", "(", "SI", ".", "getSUnit", "(", ")", ")", ")", "Preds", ".", "push_back", "(", "SI", ".", "getSUnit", "(", ")", ")", ";", "}", "return", "true", ";", "}", ""], "natrual_language": ["True", "if", "an", "edge", "can", "be", "added", "from", "PredSU", "to", "SuccSU", "without", "creating", "a", "cycle", "."], "TS_V_token": ["AMDGPU", "64", "0", "SI", "SI", "32", "SI", "SI", "SI", "SI"], "File": "AMDGPUSubtarget1", "Func": "canAddEdge", "Target": "AMDGPU", "Target_Clf": "GPU", "Compiler_Type": "LLVM", "Idx": 4508, "Length": 224, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "static", "machine_mode", "s390_secondary_memory_needed_mode", "(", "machine_mode", "mode", ")", "{", "if", "(", "GET_MODE_BITSIZE", "(", "mode", ")", "<", "32", ")", "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", "its", "argument", "to", "BITS_PER_WORD", "which", "loses", "on", "64bit", "because", "the", "movsi", "and", "movsf", "patterns", "do", "n't", "handle", "r/f", "moves", "."], "TS_V_token": ["s390", "32", "32", "0"], "File": "s390", "Func": "s390_secondary_memory_needed_mode", "Target": "s390", "Target_Clf": "MPU", "Compiler_Type": "GCC", "Idx": 4509, "Length": 38, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "bool", "Mips16RegisterInfo", "::", "requiresRegisterScavenging", "(", "const", "MachineFunction", "&", "MF", ")", "const", "{", "return", "false", ";", "}", ""], "natrual_language": ["Returns", "true", "if", "the", "target", "requires", "(", "and", "can", "make", "use", "of", ")", "the", "register", "scavenger", "."], "TS_V_token": ["Mips", "Mips"], "File": "Mips16RegisterInfo", "Func": "requiresRegisterScavenging", "Target": "Mips", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 4510, "Length": 16, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "void", "WebAssemblyTargetAsmStreamer", "::", "emitExportName", "(", "const", "MCSymbolWasm", "*", "Sym", ",", "StringRef", "ExportName", ")", "{", "OS", "<<", "\"\\t.export_name\\t\"", "<<", "Sym", "->", "getName", "(", ")", "<<", "\", \"", "<<", "ExportName", "<<", "'\\n'", ";", "}", ""], "natrual_language": [".export_name"], "TS_V_token": ["WebAssembly", "WebAssembly", "\"\\t.export_name\\t\"", "\", \""], "File": "WebAssemblyTargetStreamer12", "Func": "emitExportName", "Target": "WebAssembly", "Target_Clf": "Virtual ISA", "Compiler_Type": "LLVM", "Idx": 4511, "Length": 31, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "R600Subtarget", "&", "R600Subtarget", "::", "initializeSubtargetDependencies", "(", "const", "Triple", "&", "TT", ",", "StringRef", "GPU", ",", "StringRef", "FS", ")", "{", "SmallString", "<", "256", ">", "FullFS", "(", "\"+promote-alloca,\"", ")", ";", "FullFS", "+=", "FS", ";", "ParseSubtargetFeatures", "(", "GPU", ",", "GPU", ",", "FullFS", ")", ";", "HasMulU24", "=", "getGeneration", "(", ")", ">=", "EVERGREEN", ";", "HasMulI24", "=", "hasCaymanISA", "(", ")", ";", "return", "*", "this", ";", "}", ""], "natrual_language": ["initializeSubtargetDependencies", "-", "Initializes", "using", "a", "CPU", ",", "a", "TuneCPU", ",", "and", "feature", "string", "so", "that", "we", "can", "use", "initializer", "lists", "for", "subtarget", "initialization", "."], "TS_V_token": ["AMDGPU", "R600", "R600", "256", "\"+promote-alloca,\""], "File": "R600Subtarget", "Func": "initializeSubtargetDependencies", "Target": "AMDGPU", "Target_Clf": "GPU", "Compiler_Type": "LLVM", "Idx": 4512, "Length": 59, "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": 4513, "Length": 265, "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": 4514, "Length": 25, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "std", "::", "string", "InstructionForLatencyDetermination", "::", "str", "(", ")", "const", "{", "std", "::", "stringstream", "ss", ";", "ss", "<<", "*", "this", ";", "return", "ss", ".", "str", "(", ")", ";", "}", ""], "natrual_language": ["Return", "the", "twine", "contents", "as", "a", "std", ":", ":string", "."], "TS_V_token": ["TPC"], "File": "latencies", "Func": "str", "Target": "TPC", "Target_Clf": "Virtual ISA", "Compiler_Type": "LLVM", "Idx": 4515, "Length": 28, "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": 4516, "Length": 35, "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": 4517, "Length": 438, "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": 4518, "Length": 102, "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": 4519, "Length": 32, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "BPFSubtarget", "&", "BPFSubtarget", "::", "initializeSubtargetDependencies", "(", "StringRef", "CPU", ",", "StringRef", "FS", ")", "{", "initializeEnvironment", "(", ")", ";", "initSubtargetFeatures", "(", "CPU", ",", "FS", ")", ";", "ParseSubtargetFeatures", "(", "CPU", ",", "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": ["BPF", "BPF", "BPF"], "File": "BPFSubtarget1", "Func": "initializeSubtargetDependencies", "Target": "BPF", "Target_Clf": "Virtual ISA", "Compiler_Type": "LLVM", "Idx": 4520, "Length": 38, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "bool", "SILoadStoreOptimizer", "::", "runOnMachineFunction", "(", "MachineFunction", "&", "MF", ")", "{", "if", "(", "skipFunction", "(", "*", "MF", ".", "getFunction", "(", ")", ")", ")", "return", "false", ";", "const", "SISubtarget", "&", "STM", "=", "MF", ".", "getSubtarget", "<", "SISubtarget", ">", "(", ")", ";", "if", "(", "!", "STM", ".", "loadStoreOptEnabled", "(", ")", ")", "return", "false", ";", "TII", "=", "STM", ".", "getInstrInfo", "(", ")", ";", "TRI", "=", "&", "TII", "->", "getRegisterInfo", "(", ")", ";", "MRI", "=", "&", "MF", ".", "getRegInfo", "(", ")", ";", "LIS", "=", "&", "getAnalysis", "<", "LiveIntervals", ">", "(", ")", ";", "DEBUG", "(", "dbgs", "(", ")", "<<", "\"Running SILoadStoreOptimizer\\n\"", ")", ";", "assert", "(", "!", "MRI", "->", "isSSA", "(", ")", ")", ";", "bool", "Modified", "=", "false", ";", "for", "(", "MachineBasicBlock", "&", "MBB", ":", "MF", ")", "Modified", "|=", "optimizeBlock", "(", "MBB", ")", ";", "return", "Modified", ";", "}", ""], "natrual_language": ["runOnMachineFunction", "-", "Emit", "the", "function", "body", "."], "TS_V_token": ["AMDGPU", "SI", "SI", "SI", "\"Running SILoadStoreOptimizer\\n\""], "File": "SILoadStoreOptimizer48", "Func": "runOnMachineFunction", "Target": "AMDGPU", "Target_Clf": "GPU", "Compiler_Type": "LLVM", "Idx": 4521, "Length": 130, "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": 4522, "Length": 38, "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": 4523, "Length": 25, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "void", "SPUInstrInfo", "::", "loadRegFromStackSlot", "(", "MachineBasicBlock", "&", "MBB", ",", "MachineBasicBlock", "::", "iterator", "MI", ",", "unsigned", "DestReg", ",", "int", "FrameIdx", ",", "const", "TargetRegisterClass", "*", "RC", ")", "const", "{", "unsigned", "opc", ";", "bool", "isValidFrameIdx", "=", "(", "FrameIdx", "<", "SPUFrameInfo", "::", "maxFrameOffset", "(", ")", ")", ";", "if", "(", "RC", "==", "SPU", "::", "GPRCRegisterClass", ")", "{", "opc", "=", "(", "isValidFrameIdx", "?", "SPU", "::", "LQDr128", ":", "SPU", "::", "LQXr128", ")", ";", "}", "else", "if", "(", "RC", "==", "SPU", "::", "R64CRegisterClass", ")", "{", "opc", "=", "(", "isValidFrameIdx", "?", "SPU", "::", "LQDr64", ":", "SPU", "::", "LQXr64", ")", ";", "}", "else", "if", "(", "RC", "==", "SPU", "::", "R64FPRegisterClass", ")", "{", "opc", "=", "(", "isValidFrameIdx", "?", "SPU", "::", "LQDr64", ":", "SPU", "::", "LQXr64", ")", ";", "}", "else", "if", "(", "RC", "==", "SPU", "::", "R32CRegisterClass", ")", "{", "opc", "=", "(", "isValidFrameIdx", "?", "SPU", "::", "LQDr32", ":", "SPU", "::", "LQXr32", ")", ";", "}", "else", "if", "(", "RC", "==", "SPU", "::", "R32FPRegisterClass", ")", "{", "opc", "=", "(", "isValidFrameIdx", "?", "SPU", "::", "LQDr32", ":", "SPU", "::", "LQXr32", ")", ";", "}", "else", "if", "(", "RC", "==", "SPU", "::", "R16CRegisterClass", ")", "{", "opc", "=", "(", "isValidFrameIdx", "?", "SPU", "::", "LQDr16", ":", "SPU", "::", "LQXr16", ")", ";", "}", "else", "if", "(", "RC", "==", "SPU", "::", "R8CRegisterClass", ")", "{", "opc", "=", "(", "isValidFrameIdx", "?", "SPU", "::", "LQDr8", ":", "SPU", "::", "LQXr8", ")", ";", "}", "else", "if", "(", "RC", "==", "SPU", "::", "VECREGRegisterClass", ")", "{", "opc", "=", "(", "isValidFrameIdx", ")", "?", "SPU", "::", "LQDv16i8", ":", "SPU", "::", "LQXv16i8", ";", "}", "else", "{", "assert", "(", "0", "&&", "\"Unknown regclass in loadRegFromStackSlot!\"", ")", ";", "abort", "(", ")", ";", "}", "DebugLoc", "DL", "=", "DebugLoc", "::", "getUnknownLoc", "(", ")", ";", "if", "(", "MI", "!=", "MBB", ".", "end", "(", ")", ")", "DL", "=", "MI", "->", "getDebugLoc", "(", ")", ";", "addFrameReference", "(", "BuildMI", "(", "MBB", ",", "MI", ",", "DL", ",", "get", "(", "opc", ")", ")", ".", "addReg", "(", "DestReg", ")", ",", "FrameIdx", ")", ";", "}", ""], "natrual_language": ["Load", "the", "specified", "register", "of", "the", "given", "register", "class", "from", "the", "specified", "stack", "frame", "index", "."], "TS_V_token": ["CellSPU", "SPU", "SPU", "SPU::GPRCRegisterClass", "SPU::LQDr128", "SPU::LQXr128", "SPU::R64CRegisterClass", "SPU::LQDr64", "SPU::LQXr64", "SPU::R64FPRegisterClass", "SPU::LQDr64", "SPU::LQXr64", "SPU::R32CRegisterClass", "SPU::LQDr32", "SPU::LQXr32", "SPU::R32FPRegisterClass", "SPU::LQDr32", "SPU::LQXr32", "SPU::R16CRegisterClass", "SPU::LQDr16", "SPU::LQXr16", "SPU::R8CRegisterClass", "SPU::LQDr8", "SPU::LQXr8", "SPU::VECREGRegisterClass", "SPU::LQDv16i8", "SPU::LQXv16i8", "0", "\"Unknown regclass in loadRegFromStackSlot!\""], "File": "SPUInstrInfo9", "Func": "loadRegFromStackSlot", "Target": "CellSPU", "Target_Clf": "MPU", "Compiler_Type": "LLVM", "Idx": 4524, "Length": 308, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "bool", "SITargetLowering", "::", "isOffsetFoldingLegal", "(", "const", "GlobalAddressSDNode", "*", "GA", ")", "const", "{", "return", "(", "GA", "->", "getAddressSpace", "(", ")", "==", "AMDGPUASI", ".", "GLOBAL_ADDRESS", "||", "GA", "->", "getAddressSpace", "(", ")", "==", "AMDGPUASI", ".", "CONSTANT_ADDRESS", "||", "GA", "->", "getAddressSpace", "(", ")", "==", "AMDGPUASI", ".", "CONSTANT_ADDRESS_32BIT", ")", "&&", "!", "shouldEmitGOTReloc", "(", "GA", "->", "getGlobal", "(", ")", ")", ";", "}", ""], "natrual_language": ["Return", "true", "if", "folding", "a", "constant", "offset", "with", "the", "given", "GlobalAddress", "is", "legal", "."], "TS_V_token": ["AMDGPU", "SI", "SI", "SI", "SI"], "File": "SIISelLowering", "Func": "isOffsetFoldingLegal", "Target": "AMDGPU", "Target_Clf": "GPU", "Compiler_Type": "LLVM", "Idx": 4525, "Length": 56, "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": 4526, "Length": 215, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "unsigned", "AMDGPURegisterInfo", "::", "getFrameRegister", "(", "const", "MachineFunction", "&", "MF", ")", "const", "{", "assert", "(", "!", "\"Subroutines not supported yet\"", ")", ";", "return", "0", ";", "}", ""], "natrual_language": ["Debug", "information", "queries", "."], "TS_V_token": ["R600", "\"Subroutines not supported yet\"", "0"], "File": "AMDGPURegisterInfo", "Func": "getFrameRegister", "Target": "R600", "Target_Clf": "GPU", "Compiler_Type": "LLVM", "Idx": 4527, "Length": 22, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "SDValue", "NVPTXTargetLowering", "::", "LowerOperation", "(", "SDValue", "Op", ",", "SelectionDAG", "&", "DAG", ")", "const", "{", "switch", "(", "Op", ".", "getOpcode", "(", ")", ")", "{", "case", "ISD", "::", "RETURNADDR", ":", "return", "SDValue", "(", ")", ";", "case", "ISD", "::", "FRAMEADDR", ":", "return", "SDValue", "(", ")", ";", "case", "ISD", "::", "GlobalAddress", ":", "return", "LowerGlobalAddress", "(", "Op", ",", "DAG", ")", ";", "case", "ISD", "::", "INTRINSIC_W_CHAIN", ":", "return", "Op", ";", "case", "ISD", "::", "BUILD_VECTOR", ":", "return", "LowerBUILD_VECTOR", "(", "Op", ",", "DAG", ")", ";", "case", "ISD", "::", "EXTRACT_SUBVECTOR", ":", "return", "Op", ";", "case", "ISD", "::", "EXTRACT_VECTOR_ELT", ":", "return", "LowerEXTRACT_VECTOR_ELT", "(", "Op", ",", "DAG", ")", ";", "case", "ISD", "::", "CONCAT_VECTORS", ":", "return", "LowerCONCAT_VECTORS", "(", "Op", ",", "DAG", ")", ";", "case", "ISD", "::", "STORE", ":", "return", "LowerSTORE", "(", "Op", ",", "DAG", ")", ";", "case", "ISD", "::", "LOAD", ":", "return", "LowerLOAD", "(", "Op", ",", "DAG", ")", ";", "case", "ISD", "::", "SHL_PARTS", ":", "return", "LowerShiftLeftParts", "(", "Op", ",", "DAG", ")", ";", "case", "ISD", "::", "SRA_PARTS", ":", "case", "ISD", "::", "SRL_PARTS", ":", "return", "LowerShiftRightParts", "(", "Op", ",", "DAG", ")", ";", "case", "ISD", "::", "SELECT", ":", "return", "LowerSelect", "(", "Op", ",", "DAG", ")", ";", "case", "ISD", "::", "FROUND", ":", "return", "LowerFROUND", "(", "Op", ",", "DAG", ")", ";", "default", ":", "llvm_unreachable", "(", "\"Custom lowering not defined for operation\"", ")", ";", "}", "}", ""], "natrual_language": ["LowerOperation", "-", "Provide", "custom", "lowering", "hooks", "for", "some", "operations", "."], "TS_V_token": ["NVPTX", "NVPTX", "ISD::RETURNADDR", "ISD::FRAMEADDR", "ISD::GlobalAddress", "ISD::INTRINSIC_W_CHAIN", "ISD::BUILD_VECTOR", "ISD::EXTRACT_SUBVECTOR", "ISD::EXTRACT_VECTOR_ELT", "ISD::CONCAT_VECTORS", "ISD::STORE", "ISD::LOAD", "ISD::SHL_PARTS", "ISD::SRA_PARTS", "ISD::SRL_PARTS", "ISD::SELECT", "ISD::FROUND", "\"Custom lowering not defined for operation\""], "File": "NVPTXISelLowering (2)2", "Func": "LowerOperation", "Target": "NVPTX", "Target_Clf": "GPU", "Compiler_Type": "LLVM", "Idx": 4528, "Length": 203, "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": ["Hexagon"], "File": "HexagonSubtarget1", "Func": "getDataLayout", "Target": "Hexagon", "Target_Clf": "DSP", "Compiler_Type": "LLVM", "Idx": 4529, "Length": 13, "Cover_Rate": 1.0, "Template_token": []}