{"Template_token": ["", "AsmPrinter", "(", "TargetMachine", "&", "TM", ",", "MCStreamer", "&", "Streamer", ")", ":", "AsmPrinter", "(", "TM", ",", "Streamer", ")", "{"], "ground_truth": ["}"], "File": "Dcpu16AsmPrinter", "Func": "DCPU16AsmPrinter", "Target": "Dcpu16", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 118018, "Length": 19, "Cover_Rate": 1.0} {"Template_token": ["", "AsmPrinter", "(", "TargetMachine", "&", "TM", ",", "MCStreamer", "&", "Streamer", ")", ":", "AsmPrinter", "(", "TM", ",", "Streamer", ")", "{"], "ground_truth": ["}"], "File": "Dcpu16AsmPrinter", "Func": "DCPU16AsmPrinter", "Target": "Dcpu16", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 118019, "Length": 19, "Cover_Rate": 1.0} {"Template_token": ["", "MCInstLower", "MCInstLowering", "(", "OutContext", ",", "*", "Mang", ",", "*", "this", ")", ";", "MCInst", "TmpInst", ";", "MCInstLowering", ".", "Lower", "(", "MI", ",", "TmpInst", ")", ";"], "ground_truth": ["OutStreamer", ".", "EmitInstruction", "(", "TmpInst", ")", ";"], "File": "Dcpu16AsmPrinter", "Func": "EmitInstruction", "Target": "Dcpu16", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 118020, "Length": 31, "Cover_Rate": 0.7209302325581395} {"Template_token": ["", "MCInstLowering", ".", "Lower", "(", "MI", ",", "TmpInst", ")", ";"], "ground_truth": ["OutStreamer", ".", "EmitInstruction", "(", "TmpInst", ")", ";"], "File": "Dcpu16AsmPrinter", "Func": "EmitInstruction", "Target": "Dcpu16", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 118021, "Length": 16, "Cover_Rate": 0.37209302325581395} {"Template_token": ["", "virtual", "const", "char", "*", "getPassName", "(", ")", "const", "{", "return", "", ";"], "ground_truth": ["}"], "File": "Dcpu16AsmPrinter", "Func": "getPassName", "Target": "Dcpu16", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 118022, "Length": 13, "Cover_Rate": 1.0} {"Template_token": ["", "switch", "(", "MO", ".", "getType", "(", ")", ")", "{", "default", ":", "llvm_unreachable", "(", "", ")", ";", "case", "MachineOperand", "::", "MO_Register", ":", "O", "<<", "InstPrinter", "::", "getRegisterName", "(", "MO", ".", "getReg", "(", ")", ")", ";", "return", ";", "case", "MachineOperand", "::", "MO_Immediate", ":", "O", "<<", "MO", ".", "getImm", "(", ")", ";", "return", ";", "case", "MachineOperand", "::", "MO_MachineBasicBlock", ":", "O", "<<", "*", "MO", ".", "getMBB", "(", ")", "->", "getSymbol", "(", ")", ";", "return", ";", "case", "MachineOperand", "::", "MO_GlobalAddress", ":", "{", "bool", "isMemOp", "=", "Modifier", "&&", "!", "strcmp", "(", "Modifier", ",", "", ")", ";", "uint64_t", "Offset", "=", "MO", ".", "getOffset", "(", ")", ";", "if", "(", "isMemOp", ")", "O", "<<", "'['", ";", "O", "<<", "*", "Mang", "->", "getSymbol", "(", "MO", ".", "getGlobal", "(", ")", ")", ";", "if", "(", "Offset", ")", "O", "<<", "'+'", "<<", "Offset", ";", "if", "(", "isMemOp", ")", "O", "<<", "']'", ";", "return", ";", "}", "case", "MachineOperand", "::", "MO_ExternalSymbol", ":", "{"], "ground_truth": ["bool", "isMemOp", "=", "Modifier", "&&", "!", "strcmp", "(", "Modifier", ",", "", ")", ";"], "File": "Dcpu16AsmPrinter", "Func": "printOperand", "Target": "Dcpu16", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 118026, "Length": 161, "Cover_Rate": 0.696969696969697} {"Template_token": ["", "return", ";", "case", "MachineOperand", "::", "MO_Immediate", ":", "O", "<<", "MO", ".", "getImm", "(", ")", ";", "return", ";", "case", "MachineOperand", "::", "MO_MachineBasicBlock", ":", "O", "<<", "*", "MO", ".", "getMBB", "(", ")", "->", "getSymbol", "(", ")", ";", "return", ";", "case", "MachineOperand", "::", "MO_GlobalAddress", ":", "{", "bool", "isMemOp", "=", "Modifier", "&&", "!", "strcmp", "(", "Modifier", ",", "", ")", ";", "uint64_t", "Offset", "=", "MO", ".", "getOffset", "(", ")", ";", "if", "(", "isMemOp", ")", "O", "<<", "'['", ";", "O", "<<", "*", "Mang", "->", "getSymbol", "(", "MO", ".", "getGlobal", "(", ")", ")", ";", "if", "(", "Offset", ")", "O", "<<", "'+'", "<<", "Offset", ";", "if", "(", "isMemOp", ")", "O", "<<", "']'", ";", "return", ";", "}", "case", "MachineOperand", "::", "MO_ExternalSymbol", ":", "{", "bool", "isMemOp", "=", "Modifier", "&&", "!", "strcmp", "(", "Modifier", ",", "", ")", ";", "if", "(", "isMemOp", ")", "O", "<<", "'['", ";", "O", "<<", "MAI", "->", "getGlobalPrefix", "(", ")", "<<", "MO", ".", "getSymbolName", "(", ")", ";", "if", "(", "isMemOp", ")", "O", "<<", "']'", ";"], "ground_truth": ["return", ";"], "File": "Dcpu16AsmPrinter", "Func": "printOperand", "Target": "Dcpu16", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 118027, "Length": 159, "Cover_Rate": 0.6883116883116883} {"Template_token": ["", "if", "(", "Disp", ".", "isImm", "(", ")", ")", "{", "if", "(", "Disp", ".", "getImm", "(", ")", "==", "", ")", "{", "O", "<<", "", ";", "}", "else", "{", "O", "<<", "", ";", "O", ".", "write_hex", "(", "Disp", ".", "getImm", "(", ")", "&", "", ")", ";", "}", "}", "else", "{", "llvm_unreachable", "(", "", ")", ";", "}", "return", ";", "}", "O", "<<", "'['", ";", "if", "(", "Base", ".", "getReg", "(", ")", ")", "{", "O", "<<", "InstPrinter", "::", "getRegisterName", "(", "Base", ".", "getReg", "(", ")", ")", ";", "}", "if", "(", "Base", ".", "getReg", "(", ")", ")", "{"], "ground_truth": ["if", "(", "Disp", ".", "getImm", "(", ")", "!=", "", ")", "{"], "File": "Dcpu16AsmPrinter", "Func": "printSrcMemOperand", "Target": "Dcpu16", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 118028, "Length": 104, "Cover_Rate": 0.49760765550239233} {"Template_token": ["", "explicit", "FrameLowering", "(", "const", "Subtarget", "&", "sti", ")", ":", "TargetFrameLowering", "(", "TargetFrameLowering", "::", "StackGrowsDown", ",", "", ",", "-", "", ")", ",", "STI", "(", "sti", ")", "{"], "ground_truth": ["}"], "File": "Dcpu16FrameLowering", "Func": "DCPU16FrameLowering", "Target": "Dcpu16", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 118029, "Length": 27, "Cover_Rate": 1.0} {"Template_token": ["", "explicit", "FrameLowering", "(", "const", "Subtarget", "&", "sti", ")", ":", "TargetFrameLowering", "(", "TargetFrameLowering", "::", "StackGrowsDown", ",", "", ",", "-", "", ")", ",", "STI", "(", "sti", ")", "{"], "ground_truth": ["}"], "File": "Dcpu16FrameLowering", "Func": "DCPU16FrameLowering", "Target": "Dcpu16", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 118030, "Length": 27, "Cover_Rate": 1.0} {"Template_token": ["", "MachineFunctionInfo", "*", "FI", "=", "MF", ".", "getInfo", "<", "MachineFunctionInfo", ">", "(", ")", ";", "const", "InstrInfo", "&", "TII", "=", "*", "static_cast", "<", "const", "InstrInfo", "*", ">", "(", "MF", ".", "getTarget", "(", ")", ".", "getInstrInfo", "(", ")", ")", ";", "MachineBasicBlock", "::", "iterator", "MBBI", "=", "MBB", ".", "getLastNonDebugInstr", "(", ")", ";", "unsigned", "RetOpcode", "=", "MBBI", "->", "getOpcode", "(", ")", ";", "DebugLoc", "DL", "=", "MBBI", "->", "getDebugLoc", "(", ")", ";", "switch", "(", "RetOpcode", ")", "{", "case", "", ":", "case", "", ":", "break", ";", "default", ":", "llvm_unreachable", "(", "", ")", ";", "}", "uint64_t", "StackSize", "=", "MFI", "->", "getStackSize", "(", ")", ";", "unsigned", "CSSize", "=", "FI", "->", "getCalleeSavedFrameSize", "(", ")", ";", "uint64_t", "NumBytes", "=", "StackSize", "-", "CSSize", ";", "if", "(", "hasFP", "(", "MF", ")", ")", "{", "BuildMI", "(", "MBB", ",", "MBBI", ",", "DL", ",", "TII", ".", "get", "(", "", ")", ",", "", ")", ";", "}", "while", "(", "MBBI", "!=", "MBB", ".", "begin", "(", ")", ")", "{", "MachineBasicBlock", "::", "iterator", "PI", "=", "prior", "(", "MBBI", ")", ";", "unsigned", "Opc", "=", "PI", "->", "getOpcode", "(", ")", ";"], "ground_truth": ["if", "(", "Opc", "!=", "", "&&", "!", "PI", "->", "isTerminator", "(", ")", ")", "break", ";"], "File": "Dcpu16FrameLowering", "Func": "emitEpilogue", "Target": "Dcpu16", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 118031, "Length": 184, "Cover_Rate": 0.4779220779220779} {"Template_token": ["", "void", "FrameLowering", "::", "emitEpilogue", "(", "MachineFunction", "&", "MF", ",", "MachineBasicBlock", "&", "MBB", ")", "const", "{", "const", "MachineFrameInfo", "*", "MFI", "=", "MF", ".", "getFrameInfo", "(", ")", ";", "MachineFunctionInfo", "*", "FI", "=", "MF", ".", "getInfo", "<", "MachineFunctionInfo", ">", "(", ")", ";", "const", "InstrInfo", "&", "TII", "=", "*", "static_cast", "<", "const", "InstrInfo", "*", ">", "(", "MF", ".", "getTarget", "(", ")", ".", "getInstrInfo", "(", ")", ")", ";", "MachineBasicBlock", "::", "iterator", "MBBI", "=", "MBB", ".", "getLastNonDebugInstr", "(", ")", ";", "unsigned", "RetOpcode", "=", "MBBI", "->", "getOpcode", "(", ")", ";", "DebugLoc", "DL", "=", "MBBI", "->", "getDebugLoc", "(", ")", ";", "switch", "(", "RetOpcode", ")", "{", "case", "", ":", "case", "", ":", "break", ";", "default", ":", "llvm_unreachable", "(", "", ")", ";", "}", "uint64_t", "StackSize", "=", "MFI", "->", "getStackSize", "(", ")", ";", "unsigned", "CSSize", "=", "FI", "->", "getCalleeSavedFrameSize", "(", ")", ";", "uint64_t", "NumBytes", "=", "StackSize", "-", "CSSize", ";", "if", "(", "hasFP", "(", "MF", ")", ")", "{", "BuildMI", "(", "MBB", ",", "MBBI", ",", "DL", ",", "TII", ".", "get", "(", "", ")", ",", "", ")", ";", "}", "while", "(", "MBBI", "!=", "MBB", ".", "begin", "(", ")", ")", "{", "MachineBasicBlock", "::", "iterator", "PI", "=", "prior", "(", "MBBI", ")", ";", "unsigned", "Opc", "=", "PI", "->", "getOpcode", "(", ")", ";", "if", "(", "Opc", "!=", "", "&&", "!", "PI", "->", "isTerminator", "(", ")", ")", "break", ";", "--", "MBBI", ";", "}", "DL", "=", "MBBI", "->", "getDebugLoc", "(", ")", ";", "if", "(", "MFI", "->", "hasVarSizedObjects", "(", ")", ")", "{", "BuildMI", "(", "MBB", ",", "MBBI", ",", "DL", ",", "TII", ".", "get", "(", "", ")", ",", "", ")", ".", "addReg", "(", "", ")", ";", "if", "(", "CSSize", ")", "{", "MachineInstr", "*", "MI", "=", "BuildMI", "(", "MBB", ",", "MBBI", ",", "DL", ",", "TII", ".", "get", "(", "", ")", ",", "", ")", ".", "addReg", "(", "", ")", ".", "addImm", "(", "CSSize", ")", ";", "MI", "->", "getOperand", "(", "", ")", ".", "setIsDead", "(", ")", ";", "}", "}", "else", "{", "if", "(", "NumBytes", ")", "{", "MachineInstr", "*", "MI", "=", "BuildMI", "(", "MBB", ",", "MBBI", ",", "DL", ",", "TII", ".", "get", "(", "", ")", ",", "", ")", ".", "addReg", "(", "", ")", ".", "addImm", "(", "NumBytes", ")", ";"], "ground_truth": ["MI", "->", "getOperand", "(", "", ")", ".", "setIsDead", "(", ")", ";"], "File": "Dcpu16FrameLowering", "Func": "emitEpilogue", "Target": "Dcpu16", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 118032, "Length": 354, "Cover_Rate": 0.9194805194805195} {"Template_token": ["", "void", "FrameLowering", "::", "emitPrologue", "(", "MachineFunction", "&", "MF", ")", "const", "{", "MachineBasicBlock", "&", "MBB", "=", "MF", ".", "front", "(", ")", ";", "MachineFrameInfo", "*", "MFI", "=", "MF", ".", "getFrameInfo", "(", ")", ";", "MachineFunctionInfo", "*", "FI", "=", "MF", ".", "getInfo", "<", "MachineFunctionInfo", ">", "(", ")", ";", "const", "InstrInfo", "&", "TII", "=", "*", "static_cast", "<", "const", "InstrInfo", "*", ">", "(", "MF", ".", "getTarget", "(", ")", ".", "getInstrInfo", "(", ")", ")", ";", "MachineBasicBlock", "::", "iterator", "MBBI", "=", "MBB", ".", "begin", "(", ")", ";", "DebugLoc", "DL", "=", "MBBI", "!=", "MBB", ".", "end", "(", ")", "?", "MBBI", "->", "getDebugLoc", "(", ")", ":", "DebugLoc", "(", ")", ";", "uint64_t", "StackSize", "=", "MFI", "->", "getStackSize", "(", ")", ";", "uint64_t", "NumBytes", "=", "StackSize", "-", "FI", "->", "getCalleeSavedFrameSize", "(", ")", ";", "if", "(", "hasFP", "(", "MF", ")", ")", "{", "MFI", "->", "setOffsetAdjustment", "(", "-", "NumBytes", ")", ";"], "ground_truth": ["BuildMI", "(", "MBB", ",", "MBBI", ",", "DL", ",", "TII", ".", "get", "(", "", ")", ")", ".", "addReg", "(", "", ",", "RegState", "::", "Kill", ")", ";"], "File": "Dcpu16FrameLowering", "Func": "emitPrologue", "Target": "Dcpu16", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 118033, "Length": 161, "Cover_Rate": 0.47076023391812866} {"Template_token": ["", "const", "MachineFrameInfo", "*", "MFI", "=", "MF", ".", "getFrameInfo", "(", ")", ";", "return", "(", "MF", ".", "getTarget", "(", ")", ".", "Options", ".", "DisableFramePointerElim", "(", "MF", ")", "||", "MF", ".", "getFrameInfo", "(", ")", "->", "hasVarSizedObjects", "(", ")", "||", "MFI", "->", "isFrameAddressTaken", "(", ")", ")", ";"], "ground_truth": ["}"], "File": "Dcpu16FrameLowering", "Func": "hasFP", "Target": "Dcpu16", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 118035, "Length": 44, "Cover_Rate": 0.7857142857142857} {"Template_token": ["", "bool", "FrameLowering", "::", "hasReservedCallFrame", "(", "const", "MachineFunction", "&", "MF", ")", "const", "{", "return", "!", "MF", ".", "getFrameInfo", "(", ")", "->", "hasVarSizedObjects", "(", ")", ";"], "ground_truth": ["}"], "File": "Dcpu16FrameLowering", "Func": "hasReservedCallFrame", "Target": "Dcpu16", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 118036, "Length": 25, "Cover_Rate": 1.0} {"Template_token": ["", "void", "FrameLowering", "::", "processFunctionBeforeFrameFinalized", "(", "MachineFunction", "&", "MF", ")", "const", "{", "if", "(", "hasFP", "(", "MF", ")", ")", "{"], "ground_truth": ["int", "FrameIdx", "=", "MF", ".", "getFrameInfo", "(", ")", "->", "CreateFixedObject", "(", "", ",", "-", "", ",", "true", ")", ";"], "File": "Dcpu16FrameLowering", "Func": "processFunctionBeforeFrameFinalized", "Target": "Dcpu16", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 118039, "Length": 38, "Cover_Rate": 0.6129032258064516} {"Template_token": ["", "if", "(", "CSI", ".", "empty", "(", ")", ")", "return", "false", ";", "DebugLoc", "DL", ";", "if", "(", "MI", "!=", "MBB", ".", "end", "(", ")", ")", "DL", "=", "MI", "->", "getDebugLoc", "(", ")", ";", "MachineFunction", "&", "MF", "=", "*", "MBB", ".", "getParent", "(", ")", ";", "const", "TargetInstrInfo", "&", "TII", "=", "*", "MF", ".", "getTarget", "(", ")", ".", "getInstrInfo", "(", ")", ";", "MachineFunctionInfo", "*", "MFI", "=", "MF", ".", "getInfo", "<", "MachineFunctionInfo", ">", "(", ")", ";", "MFI", "->", "setCalleeSavedFrameSize", "(", "CSI", ".", "size", "(", ")", ")", ";"], "ground_truth": ["for", "(", "unsigned", "i", "=", "CSI", ".", "size", "(", ")", ";", "i", "!=", "", ";", "--", "i", ")", "{"], "File": "Dcpu16FrameLowering", "Func": "spillCalleeSavedRegisters", "Target": "Dcpu16", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 118041, "Length": 102, "Cover_Rate": 0.5483870967741935} {"Template_token": ["", "InstPrinter", "(", "const", "MCAsmInfo", "&", "MAI", ",", "const", "MCInstrInfo", "&", "MII", ",", "const", "MCRegisterInfo", "&", "MRI", ")", ":", "MCInstPrinter", "(", "MAI", ",", "MII", ",", "MRI", ")", "{"], "ground_truth": ["}"], "File": "DCPU16InstPrinter", "Func": "DCPU16InstPrinter", "Target": "Dcpu16", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 118042, "Length": 28, "Cover_Rate": 1.0} {"Template_token": ["", "InstPrinter", "(", "const", "MCAsmInfo", "&", "MAI", ",", "const", "MCInstrInfo", "&", "MII", ",", "const", "MCRegisterInfo", "&", "MRI", ")", ":", "MCInstPrinter", "(", "MAI", ",", "MII", ",", "MRI", ")", "{"], "ground_truth": ["}"], "File": "DCPU16InstPrinter", "Func": "DCPU16InstPrinter", "Target": "Dcpu16", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 118043, "Length": 28, "Cover_Rate": 1.0} {"Template_token": ["", "case", "", ":", "O", "<<", "", ";", "break", ";", "case", "", ":", "O", "<<", "", ";", "break", ";", "case", "", ":", "O", "<<", "", ";", "break", ";", "case", "", ":", "O", "<<", "", ";", "break", ";", "case", "", ":", "O", "<<", "", ";", "break", ";", "case", "", ":", "O", "<<", "", ";", "break", ";", "case", "", ":", "O", "<<", "", ";", "break", ";", "}"], "ground_truth": ["}"], "File": "DCPU16InstPrinter", "Func": "printCCOperand", "Target": "Dcpu16", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 118044, "Length": 65, "Cover_Rate": 0.48507462686567165} {"Template_token": ["", "void", "InstPrinter", "::", "printInst", "(", "const", "MCInst", "*", "MI", ",", "raw_ostream", "&", "O", ",", "StringRef", "Annot", ")", "{", "printInstruction", "(", "MI", ",", "O", ")", ";", "printAnnotation", "(", "O", ",", "Annot", ")", ";"], "ground_truth": ["}"], "File": "DCPU16InstPrinter", "Func": "printInst", "Target": "Dcpu16", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 118046, "Length": 33, "Cover_Rate": 1.0} {"Template_token": ["", "void", "InstPrinter", "::", "printOperand", "(", "const", "MCInst", "*", "MI", ",", "unsigned", "OpNo", ",", "raw_ostream", "&", "O", ",", "const", "char", "*", "Modifier", ")", "{", "assert", "(", "(", "Modifier", "==", "", "||", "Modifier", "[", "", "]", "==", "", ")", "&&", "", ")", ";", "const", "MCOperand", "&", "Op", "=", "MI", "->", "getOperand", "(", "OpNo", ")", ";", "if", "(", "Op", ".", "isReg", "(", ")", ")", "{", "O", "<<", "getRegisterName", "(", "Op", ".", "getReg", "(", ")", ")", ";"], "ground_truth": ["}", "else", "if", "(", "Op", ".", "isImm", "(", ")", ")", "{"], "File": "DCPU16InstPrinter", "Func": "printOperand", "Target": "Dcpu16", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 118047, "Length": 84, "Cover_Rate": 0.6666666666666666} {"Template_token": ["", "O", "<<", "getRegisterName", "(", "Op", ".", "getReg", "(", ")", ")", ";", "}", "else", "if", "(", "Op", ".", "isImm", "(", ")", ")", "{", "O", "<<", "", ";", "O", ".", "write_hex", "(", "Op", ".", "getImm", "(", ")", "&", "", ")", ";", "}", "else", "{"], "ground_truth": ["assert", "(", "Op", ".", "isExpr", "(", ")", "&&", "", ")", ";"], "File": "DCPU16InstPrinter", "Func": "printOperand", "Target": "Dcpu16", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 118048, "Length": 53, "Cover_Rate": 0.42063492063492064} {"Template_token": ["", "void", "InstPrinter", "::", "printPCRelImmOperand", "(", "const", "MCInst", "*", "MI", ",", "unsigned", "OpNo", ",", "raw_ostream", "&", "O", ")", "{", "const", "MCOperand", "&", "Op", "=", "MI", "->", "getOperand", "(", "OpNo", ")", ";", "if", "(", "Op", ".", "isImm", "(", ")", ")", "{", "O", "<<", "", ";", "O", ".", "write_hex", "(", "(", "Op", ".", "getImm", "(", ")", ")", "&", "", ")", ";", "}", "else", "{", "assert", "(", "Op", ".", "isExpr", "(", ")", "&&", "", ")", ";"], "ground_truth": ["O", "<<", "*", "Op", ".", "getExpr", "(", ")", ";"], "File": "DCPU16InstPrinter", "Func": "printPCRelImmOperand", "Target": "Dcpu16", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 118049, "Length": 81, "Cover_Rate": 0.9759036144578314} {"Template_token": ["", "if", "(", "Disp", ".", "isExpr", "(", ")", ")", "{", "if", "(", "Base", ".", "getReg", "(", ")", ")", "O", "<<", "", ";", "O", "<<", "*", "Disp", ".", "getExpr", "(", ")", ";", "}", "else", "{", "assert", "(", "Disp", ".", "isImm", "(", ")", "&&", "", ")", ";", "if", "(", "Base", ".", "getReg", "(", ")", ")", "{", "if", "(", "Disp", ".", "getImm", "(", ")", "!=", "", ")", "{", "O", "<<", "", ";", "O", "<<", "", ";", "O", ".", "write_hex", "(", "Disp", ".", "getImm", "(", ")", "&", "", ")", ";", "}"], "ground_truth": ["}", "else", "{"], "File": "DCPU16InstPrinter", "Func": "printSrcMemOperand", "Target": "Dcpu16", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 118050, "Length": 89, "Cover_Rate": 0.322463768115942} {"Template_token": ["", "case", "", ":", "*", "complexCC", "=", "", ";", "return", "true", ";", "case", "", ":", "*", "complexCC", "=", "", ";", "return", "true", ";", "case", "", ":", "*", "complexCC", "=", "", ";", "return", "true", ";", "case", "", ":", "*", "complexCC", "=", "", ";", "return", "true", ";", "}"], "ground_truth": ["}"], "File": "Dcpu16InstrInfo", "Func": "AcceptsAdditionalEqualityCheck", "Target": "Dcpu16", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 118051, "Length": 46, "Cover_Rate": 0.32167832167832167} {"Template_token": ["", "void", "InstrInfo", "::", "copyPhysReg", "(", "MachineBasicBlock", "&", "MBB", ",", "MachineBasicBlock", "::", "iterator", "I", ",", "DebugLoc", "DL", ",", "unsigned", "DestReg", ",", "unsigned", "SrcReg", ",", "bool", "KillSrc", ")", "const", "{", "unsigned", "Opc", "=", "", ";"], "ground_truth": ["BuildMI", "(", "MBB", ",", "I", ",", "DL", ",", "get", "(", "Opc", ")", ",", "DestReg", ")", ".", "addReg", "(", "SrcReg", ",", "getKillRegState", "(", "KillSrc", ")", ")", ";"], "File": "Dcpu16InstrInfo", "Func": "copyPhysReg", "Target": "Dcpu16", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 118052, "Length": 59, "Cover_Rate": 0.9516129032258065} {"Template_token": ["", "InstrInfo", "::", "InstrInfo", "(", "TargetMachine", "&", "tm", ")", ":", "GenInstrInfo", "(", "", ",", "", ")", ",", "RI", "(", "tm", ",", "*", "this", ")", ",", "TM", "(", "tm", ")", "{"], "ground_truth": ["}"], "File": "Dcpu16InstrInfo", "Func": "DCPU16InstrInfo", "Target": "Dcpu16", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 118054, "Length": 30, "Cover_Rate": 0.8823529411764706} {"Template_token": ["", "InstrInfo", "::", "InstrInfo", "(", "TargetMachine", "&", "tm", ")", ":", "GenInstrInfo", "(", "", ",", "", ")", ",", "RI", "(", "tm", ",", "*", "this", ")", ",", "TM", "(", "tm", ")", "{"], "ground_truth": ["}"], "File": "Dcpu16InstrInfo", "Func": "DCPU16InstrInfo", "Target": "Dcpu16", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 118055, "Length": 30, "Cover_Rate": 0.8823529411764706} {"Template_token": ["", "case", "TargetOpcode", "::", "IMPLICIT_DEF", ":", "case", "TargetOpcode", "::", "KILL", ":", "case", "TargetOpcode", "::", "DBG_VALUE", ":", "return", "", ";", "case", "TargetOpcode", "::", "INLINEASM", ":", "{", "const", "MachineFunction", "*", "MF", "=", "MI", "->", "getParent", "(", ")", "->", "getParent", "(", ")", ";", "const", "TargetInstrInfo", "&", "TII", "=", "*", "MF", "->", "getTarget", "(", ")", ".", "getInstrInfo", "(", ")", ";"], "ground_truth": ["return", "TII", ".", "getInlineAsmLength", "(", "MI", "->", "getOperand", "(", "", ")", ".", "getSymbolName", "(", ")", ",", "*", "MF", "->", "getTarget", "(", ")", ".", "getMCAsmInfo", "(", ")", ")", ";"], "File": "Dcpu16InstrInfo", "Func": "GetInstSizeInBytes", "Target": "Dcpu16", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 118056, "Length": 83, "Cover_Rate": 0.4797687861271676} {"Template_token": ["", "return", "RI", ";"], "ground_truth": ["}"], "File": "Dcpu16InstrInfo", "Func": "getRegisterInfo", "Target": "Dcpu16", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 118058, "Length": 4, "Cover_Rate": 0.3076923076923077} {"Template_token": ["", "assert", "(", "(", "Cond", ".", "size", "(", ")", "==", "", "||", "Cond", ".", "size", "(", ")", "==", "", ")", "&&", "", ")", ";", "if", "(", "Cond", ".", "empty", "(", ")", ")", "{", "assert", "(", "!", "FBB", "&&", "", ")", ";", "BuildMI", "(", "&", "MBB", ",", "DL", ",", "get", "(", "", ")", ")", ".", "addMBB", "(", "TBB", ")", ";", "return", "", ";", "}", "unsigned", "Count", "=", "", ";", "unsigned", "Opcode", "=", "Cond", "[", "", "]", ".", "getImm", "(", ")", ";", "", "CC", "=", "(", "", ")", "Cond", "[", "", "]", ".", "getImm", "(", ")", ";"], "ground_truth": ["MachineOperand", "LHS", "=", "Cond", "[", "", "]", ";"], "File": "Dcpu16InstrInfo", "Func": "InsertBranch", "Target": "Dcpu16", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 118059, "Length": 102, "Cover_Rate": 0.36298932384341637} {"Template_token": ["", "static", "bool", "isBR_CC", "(", "unsigned", "Opcode", ")", "{", "switch", "(", "Opcode", ")", "{", "default", ":", "return", "false", ";"], "ground_truth": ["case", "", ":"], "File": "Dcpu16InstrInfo", "Func": "isBR_CC", "Target": "Dcpu16", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 118060, "Length": 21, "Cover_Rate": 0.4883720930232558} {"Template_token": ["", "if", "(", "MI", "->", "getOperand", "(", "", ")", ".", "isFI", "(", ")", ")", "{", "FrameIndex", "=", "MI", "->", "getOperand", "(", "", ")", ".", "getIndex", "(", ")", ";", "return", "MI", "->", "getOperand", "(", "", ")", ".", "getReg", "(", ")", ";", "}", "}", "return", "", ";"], "ground_truth": ["}"], "File": "Dcpu16InstrInfo", "Func": "isLoadFromStackSlot", "Target": "Dcpu16", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 118061, "Length": 45, "Cover_Rate": 0.6081081081081081} {"Template_token": ["", "if", "(", "MI", "->", "getOperand", "(", "", ")", ".", "isFI", "(", ")", ")", "{"], "ground_truth": ["FrameIndex", "=", "MI", "->", "getOperand", "(", "", ")", ".", "getIndex", "(", ")", ";"], "File": "Dcpu16InstrInfo", "Func": "isStoreToStackSlot", "Target": "Dcpu16", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 118062, "Length": 27, "Cover_Rate": 0.36486486486486486} {"Template_token": ["", "if", "(", "MI", "->", "isBranch", "(", ")", "&&", "!", "MI", "->", "isBarrier", "(", ")", ")", "return", "true", ";"], "ground_truth": ["if", "(", "!", "MI", "->", "isPredicable", "(", ")", ")", "return", "true", ";"], "File": "Dcpu16InstrInfo", "Func": "isUnpredicatedTerminator", "Target": "Dcpu16", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 118063, "Length": 30, "Cover_Rate": 0.4838709677419355} {"Template_token": ["", "DebugLoc", "DL", ";", "if", "(", "MI", "!=", "MBB", ".", "end", "(", ")", ")", "DL", "=", "MI", "->", "getDebugLoc", "(", ")", ";", "MachineFunction", "&", "MF", "=", "*", "MBB", ".", "getParent", "(", ")", ";", "MachineFrameInfo", "&", "MFI", "=", "*", "MF", ".", "getFrameInfo", "(", ")", ";", "MachineMemOperand", "*", "MMO", "=", "MF", ".", "getMachineMemOperand", "(", "MachinePointerInfo", "::", "getFixedStack", "(", "FrameIdx", ")", ",", "MachineMemOperand", "::", "MOLoad", ",", "MFI", ".", "getObjectSize", "(", "FrameIdx", ")", ",", "MFI", ".", "getObjectAlignment", "(", "FrameIdx", ")", ")", ";", "if", "(", "RC", "==", "&", "", "||", "RC", "==", "&", "", ")", "BuildMI", "(", "MBB", ",", "MI", ",", "DL", ",", "get", "(", "", ")", ",", "DestReg", ")", ".", "addFrameIndex", "(", "FrameIdx", ")", ".", "addImm", "(", "", ")", ".", "addMemOperand", "(", "MMO", ")", ";"], "ground_truth": ["else", "llvm_unreachable", "(", "", ")", ";"], "File": "Dcpu16InstrInfo", "Func": "loadRegFromStackSlot", "Target": "Dcpu16", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 118064, "Length": 126, "Cover_Rate": 0.7636363636363637} {"Template_token": ["", "MachineMemOperand", "*", "MMO", "=", "MF", ".", "getMachineMemOperand", "(", "MachinePointerInfo", "::", "getFixedStack", "(", "FrameIdx", ")", ",", "MachineMemOperand", "::", "MOLoad", ",", "MFI", ".", "getObjectSize", "(", "FrameIdx", ")", ",", "MFI", ".", "getObjectAlignment", "(", "FrameIdx", ")", ")", ";"], "ground_truth": ["if", "(", "RC", "==", "&", "", "||", "RC", "==", "&", "", ")", "BuildMI", "(", "MBB", ",", "MI", ",", "DL", ",", "get", "(", "", ")", ",", "DestReg", ")", ".", "addFrameIndex", "(", "FrameIdx", ")", ".", "addImm", "(", "", ")", ".", "addMemOperand", "(", "MMO", ")", ";"], "File": "Dcpu16InstrInfo", "Func": "loadRegFromStackSlot", "Target": "Dcpu16", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 118065, "Length": 77, "Cover_Rate": 0.4666666666666667} {"Template_token": ["", "MachineBasicBlock", "::", "iterator", "I", "=", "MBB", ".", "end", "(", ")", ";", "unsigned", "Count", "=", "", ";", "while", "(", "I", "!=", "MBB", ".", "begin", "(", ")", ")", "{", "--", "I", ";", "if", "(", "I", "->", "isDebugValue", "(", ")", ")", "continue", ";", "if", "(", "I", "->", "getOpcode", "(", ")", "!=", "", "&&", "!", "isBR_CC", "(", "I", "->", "getOpcode", "(", ")", ")", "&&", "I", "->", "getOpcode", "(", ")", "!=", "", "&&", "I", "->", "getOpcode", "(", ")", "!=", "", ")", "break", ";"], "ground_truth": ["I", "->", "eraseFromParent", "(", ")", ";"], "File": "Dcpu16InstrInfo", "Func": "RemoveBranch", "Target": "Dcpu16", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 118066, "Length": 84, "Cover_Rate": 0.717948717948718} {"Template_token": ["", "CC", "=", "", ";", "break", ";", "case", "", ":", "CC", "=", "", ";", "break", ";", "case", "", ":", "CC", "=", "", ";", "break", ";", "case", "", ":", "CC", "=", "", ";", "break", ";", "case", "", ":", "CC", "=", "", ";", "break", ";", "case", "", ":", "CC", "=", "", ";", "break", ";", "case", "", ":", "CC", "=", "", ";", "break", ";", "case", "", ":", "CC", "=", "", ";", "break", ";", "}", "Cond", "[", "", "]", ".", "setImm", "(", "CC", ")", ";", "return", "false", ";"], "ground_truth": ["}"], "File": "Dcpu16InstrInfo", "Func": "ReverseBranchCondition", "Target": "Dcpu16", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 118067, "Length": 84, "Cover_Rate": 0.3620689655172414} {"Template_token": ["", "void", "InstrInfo", "::", "storeRegToStackSlot", "(", "MachineBasicBlock", "&", "MBB", ",", "MachineBasicBlock", "::", "iterator", "MI", ",", "unsigned", "SrcReg", ",", "bool", "isKill", ",", "int", "FrameIdx", ",", "const", "TargetRegisterClass", "*", "RC", ",", "const", "TargetRegisterInfo", "*", "TRI", ")", "const", "{", "DebugLoc", "DL", ";", "if", "(", "MI", "!=", "MBB", ".", "end", "(", ")", ")", "DL", "=", "MI", "->", "getDebugLoc", "(", ")", ";", "MachineFunction", "&", "MF", "=", "*", "MBB", ".", "getParent", "(", ")", ";", "MachineFrameInfo", "&", "MFI", "=", "*", "MF", ".", "getFrameInfo", "(", ")", ";"], "ground_truth": ["MachineMemOperand", "*", "MMO", "=", "MF", ".", "getMachineMemOperand", "(", "MachinePointerInfo", "::", "getFixedStack", "(", "FrameIdx", ")", ",", "MachineMemOperand", "::", "MOStore", ",", "MFI", ".", "getObjectSize", "(", "FrameIdx", ")", ",", "MFI", ".", "getObjectAlignment", "(", "FrameIdx", ")", ")", ";"], "File": "Dcpu16InstrInfo", "Func": "storeRegToStackSlot", "Target": "Dcpu16", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 118068, "Length": 112, "Cover_Rate": 0.6363636363636364} {"Template_token": ["", "return", "new", "DAGToDAGISel", "(", "TM", ",", "OptLevel", ")", ";"], "ground_truth": ["}"], "File": "Dcpu16ISelDAGToDAG", "Func": "createDCPU16ISelDag", "Target": "Dcpu16", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 118070, "Length": 10, "Cover_Rate": 0.38461538461538464} {"Template_token": ["", "DAGToDAGISel", "(", "TargetMachine", "&", "TM", ",", "CodeGenOpt", "::", "Level", "OptLevel", ")", ":", "SelectionDAGISel", "(", "TM", ",", "OptLevel", ")", ",", "Lowering", "(", "*", "TM", ".", "getTargetLowering", "(", ")", ")", ",", "Subtarget", "(", "*", "TM", ".", "getSubtargetImpl", "(", ")", ")", "{"], "ground_truth": ["}"], "File": "Dcpu16ISelDAGToDAG", "Func": "DCPU16DAGToDAGISel", "Target": "Dcpu16", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 118071, "Length": 40, "Cover_Rate": 1.0} {"Template_token": ["", "DAGToDAGISel", "(", "TargetMachine", "&", "TM", ",", "CodeGenOpt", "::", "Level", "OptLevel", ")", ":", "SelectionDAGISel", "(", "TM", ",", "OptLevel", ")", ",", "Lowering", "(", "*", "TM", ".", "getTargetLowering", "(", ")", ")", ",", "Subtarget", "(", "*", "TM", ".", "getSubtargetImpl", "(", ")", ")", "{"], "ground_truth": ["}"], "File": "Dcpu16ISelDAGToDAG", "Func": "DCPU16DAGToDAGISel", "Target": "Dcpu16", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 118072, "Length": 40, "Cover_Rate": 1.0} {"Template_token": ["", "ISelAddressMode", "(", ")", ":", "BaseType", "(", "RegBase", ")", ",", "Disp", "(", "", ")", ",", "GV", "(", "", ")", ",", "CP", "(", "", ")", ",", "BlockAddr", "(", "", ")", ",", "ES", "(", "", ")", ",", "JT", "(", "-", "", ")", ",", "Align", "(", "", ")", "{"], "ground_truth": ["}"], "File": "Dcpu16ISelDAGToDAG", "Func": "DCPU16ISelAddressMode", "Target": "Dcpu16", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 118073, "Length": 46, "Cover_Rate": 1.0} {"Template_token": ["", "ISelAddressMode", "(", ")", ":", "BaseType", "(", "RegBase", ")", ",", "Disp", "(", "", ")", ",", "GV", "(", "", ")", ",", "CP", "(", "", ")", ",", "BlockAddr", "(", "", ")", ",", "ES", "(", "", ")", ",", "JT", "(", "-", "", ")", ",", "Align", "(", "", ")", "{"], "ground_truth": ["}"], "File": "Dcpu16ISelDAGToDAG", "Func": "DCPU16ISelAddressMode", "Target": "Dcpu16", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 118074, "Length": 46, "Cover_Rate": 1.0} {"Template_token": ["", "errs", "(", ")", "<<", "", ";", "GV", "->", "dump", "(", ")", ";", "}", "else", "if", "(", "CP", ")", "{", "errs", "(", ")", "<<", "", ";", "CP", "->", "dump", "(", ")", ";", "errs", "(", ")", "<<", "", "<<", "Align", "<<", "'\\n'", ";", "}", "else", "if", "(", "ES", ")", "{", "errs", "(", ")", "<<", "", ";", "errs", "(", ")", "<<", "ES", "<<", "'\\n'", ";", "}", "else", "if", "(", "JT", "!=", "-", "", ")", "errs", "(", ")", "<<", "", "<<", "JT", "<<", "", "<<", "Align", "<<", "'\\n'", ";"], "ground_truth": ["}"], "File": "Dcpu16ISelDAGToDAG", "Func": "dump", "Target": "Dcpu16", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 118075, "Length": 86, "Cover_Rate": 0.49710982658959535} {"Template_token": ["", "errs", "(", ")", "<<", "", "<<", "Base", ".", "FrameIndex", "<<", "'\\n'", ";", "}", "errs", "(", ")", "<<", "", "<<", "Disp", "<<", "'\\n'", ";", "if", "(", "GV", ")", "{", "errs", "(", ")", "<<", "", ";", "GV", "->", "dump", "(", ")", ";", "}", "else", "if", "(", "CP", ")", "{", "errs", "(", ")", "<<", "", ";", "CP", "->", "dump", "(", ")", ";", "errs", "(", ")", "<<", "", "<<", "Align", "<<", "'\\n'", ";", "}", "else", "if", "(", "ES", ")", "{", "errs", "(", ")", "<<", "", ";", "errs", "(", ")", "<<", "ES", "<<", "'\\n'", ";"], "ground_truth": ["}", "else", "if", "(", "JT", "!=", "-", "", ")", "errs", "(", ")", "<<", "", "<<", "JT", "<<", "", "<<", "Align", "<<", "'\\n'", ";"], "File": "Dcpu16ISelDAGToDAG", "Func": "dump", "Target": "Dcpu16", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 118076, "Length": 113, "Cover_Rate": 0.653179190751445} {"Template_token": ["", "virtual", "const", "char", "*", "getPassName", "(", ")", "const", "{"], "ground_truth": ["return", "", ";"], "File": "Dcpu16ISelDAGToDAG", "Func": "getPassName", "Target": "Dcpu16", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 118077, "Length": 12, "Cover_Rate": 0.9230769230769231} {"Template_token": ["", "virtual", "const", "char", "*", "getPassName", "(", ")", "const", "{"], "ground_truth": ["return", "", ";"], "File": "Dcpu16ISelDAGToDAG", "Func": "getPassName", "Target": "Dcpu16", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 118078, "Length": 12, "Cover_Rate": 0.9230769230769231} {"Template_token": ["", "return", "GV", "!=", "", "||", "CP", "!=", "", "||", "ES", "!=", "", "||", "JT", "!=", "-", "", ";"], "ground_truth": ["}"], "File": "Dcpu16ISelDAGToDAG", "Func": "hasSymbolicDisplacement", "Target": "Dcpu16", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 118079, "Length": 19, "Cover_Rate": 0.76} {"Template_token": ["", "return", "GV", "!=", "", "||", "CP", "!=", "", "||", "ES", "!=", "", "||", "JT", "!=", "-", "", ";"], "ground_truth": ["}"], "File": "Dcpu16ISelDAGToDAG", "Func": "hasSymbolicDisplacement", "Target": "Dcpu16", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 118080, "Length": 19, "Cover_Rate": 0.76} {"Template_token": ["", "DEBUG", "(", "errs", "(", ")", "<<", "", ";", "AM", ".", "dump", "(", ")", ")", ";", "switch", "(", "N", ".", "getOpcode", "(", ")", ")", "{", "default", ":", "break", ";", "case", "", ":", "{", "uint64_t", "Val", "=", "cast", "<", "ConstantSDNode", ">", "(", "N", ")", "->", "getSExtValue", "(", ")", ";", "AM", ".", "Disp", "+=", "Val", ";", "return", "false", ";", "}", "case", "", ":", "if", "(", "!", "MatchWrapper", "(", "N", ",", "AM", ")", ")", "return", "false", ";", "break", ";", "case", "", ":", "if", "(", "AM", ".", "BaseType", "==", "ISelAddressMode", "::", "RegBase", "&&", "AM", ".", "Base", ".", "Reg", ".", "getNode", "(", ")", "==", "", ")", "{", "AM", ".", "BaseType", "=", "ISelAddressMode", "::", "FrameIndexBase", ";", "AM", ".", "Base", ".", "FrameIndex", "=", "cast", "<", "FrameIndexSDNode", ">", "(", "N", ")", "->", "getIndex", "(", ")", ";", "return", "false", ";", "}", "break", ";", "case", "", ":", "{", "ISelAddressMode", "Backup", "=", "AM", ";", "if", "(", "!", "MatchAddress", "(", "N", ".", "getNode", "(", ")", "->", "getOperand", "(", "", ")", ",", "AM", ")", "&&", "!", "MatchAddress", "(", "N", ".", "getNode", "(", ")", "->", "getOperand", "(", "", ")", ",", "AM", ")", ")", "return", "false", ";", "AM", "=", "Backup", ";", "if", "(", "!", "MatchAddress", "(", "N", ".", "getNode", "(", ")", "->", "getOperand", "(", "", ")", ",", "AM", ")", "&&", "!", "MatchAddress", "(", "N", ".", "getNode", "(", ")", "->", "getOperand", "(", "", ")", ",", "AM", ")", ")", "return", "false", ";", "AM", "=", "Backup", ";", "break", ";", "}", "case", "", ":"], "ground_truth": ["if", "(", "ConstantSDNode", "*", "CN", "=", "dyn_cast", "<", "ConstantSDNode", ">", "(", "N", ".", "getOperand", "(", "", ")", ")", ")", "{"], "File": "Dcpu16ISelDAGToDAG", "Func": "MatchAddress", "Target": "Dcpu16", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 118081, "Length": 254, "Cover_Rate": 0.7094972067039106} {"Template_token": ["", "}", "AM", ".", "BaseType", "=", "ISelAddressMode", "::", "RegBase", ";", "AM", ".", "Base", ".", "Reg", "=", "N", ";"], "ground_truth": ["return", "false", ";"], "File": "Dcpu16ISelDAGToDAG", "Func": "MatchAddressBase", "Target": "Dcpu16", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 118082, "Length": 20, "Cover_Rate": 0.3448275862068966} {"Template_token": ["", "}", "else", "if", "(", "ExternalSymbolSDNode", "*", "S", "=", "dyn_cast", "<", "ExternalSymbolSDNode", ">", "(", "N0", ")", ")", "{", "AM", ".", "ES", "=", "S", "->", "getSymbol", "(", ")", ";", "}", "else", "if", "(", "JumpTableSDNode", "*", "J", "=", "dyn_cast", "<", "JumpTableSDNode", ">", "(", "N0", ")", ")", "{", "AM", ".", "JT", "=", "J", "->", "getIndex", "(", ")", ";", "}", "else", "{", "AM", ".", "BlockAddr", "=", "cast", "<", "BlockAddressSDNode", ">", "(", "N0", ")", "->", "getBlockAddress", "(", ")", ";", "}"], "ground_truth": ["return", "false", ";"], "File": "Dcpu16ISelDAGToDAG", "Func": "MatchWrapper", "Target": "Dcpu16", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 118083, "Length": 77, "Cover_Rate": 0.39690721649484534} {"Template_token": ["", "SDNode", "*", "DAGToDAGISel", "::", "Select", "(", "SDNode", "*", "Node", ")", "{", "DebugLoc", "dl", "=", "Node", "->", "getDebugLoc", "(", ")", ";", "DEBUG", "(", "errs", "(", ")", "<<", "", ")", ";", "DEBUG", "(", "Node", "->", "dump", "(", "CurDAG", ")", ")", ";", "DEBUG", "(", "errs", "(", ")", "<<", "", ")", ";", "if", "(", "Node", "->", "isMachineOpcode", "(", ")", ")", "{", "DEBUG", "(", "errs", "(", ")", "<<", "", ";", "Node", "->", "dump", "(", "CurDAG", ")", ";", "errs", "(", ")", "<<", "", ")", ";", "return", "NULL", ";", "}", "switch", "(", "Node", "->", "getOpcode", "(", ")", ")", "{", "default", ":", "break", ";", "case", "", ":", "{", "assert", "(", "Node", "->", "getValueType", "(", "", ")", "==", "", ")", ";", "int", "FI", "=", "cast", "<", "FrameIndexSDNode", ">", "(", "Node", ")", "->", "getIndex", "(", ")", ";", "SDValue", "TFI", "=", "CurDAG", "->", "getTargetFrameIndex", "(", "FI", ",", "", ")", ";", "if", "(", "Node", "->", "hasOneUse", "(", ")", ")", "return", "CurDAG", "->", "SelectNodeTo", "(", "Node", ",", "", ",", "", ",", "TFI", ",", "CurDAG", "->", "getTargetConstant", "(", "", ",", "", ")", ")", ";", "return", "CurDAG", "->", "getMachineNode", "(", "", ",", "dl", ",", "", ",", "TFI", ",", "CurDAG", "->", "getTargetConstant", "(", "", ",", "", ")", ")", ";", "}", "}", "SDNode", "*", "ResNode", "=", "SelectCode", "(", "Node", ")", ";", "DEBUG", "(", "errs", "(", ")", "<<", "", ")", ";", "if", "(", "ResNode", "==", "NULL", "||", "ResNode", "==", "Node", ")", "DEBUG", "(", "Node", "->", "dump", "(", "CurDAG", ")", ")", ";", "else", "DEBUG", "(", "ResNode", "->", "dump", "(", "CurDAG", ")", ")", ";", "DEBUG", "(", "errs", "(", ")", "<<", "", ")", ";"], "ground_truth": ["return", "ResNode", ";"], "File": "Dcpu16ISelDAGToDAG", "Func": "Select", "Target": "Dcpu16", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 118084, "Length": 256, "Cover_Rate": 0.9309090909090909} {"Template_token": ["", "if", "(", "AM", ".", "BaseType", "==", "ISelAddressMode", "::", "RegBase", ")", "{", "if", "(", "!", "AM", ".", "Base", ".", "Reg", ".", "getNode", "(", ")", ")", "AM", ".", "Base", ".", "Reg", "=", "CurDAG", "->", "getRegister", "(", "", ",", "VT", ")", ";", "}", "Base", "=", "(", "AM", ".", "BaseType", "==", "ISelAddressMode", "::", "FrameIndexBase", ")", "?", "CurDAG", "->", "getTargetFrameIndex", "(", "AM", ".", "Base", ".", "FrameIndex", ",", "TLI", ".", "getPointerTy", "(", ")", ")", ":", "AM", ".", "Base", ".", "Reg", ";", "if", "(", "AM", ".", "GV", ")", "Disp", "=", "CurDAG", "->", "getTargetGlobalAddress", "(", "AM", ".", "GV", ",", "N", "->", "getDebugLoc", "(", ")", ",", "", ",", "AM", ".", "Disp", ",", "", ")", ";", "else", "if", "(", "AM", ".", "CP", ")", "Disp", "=", "CurDAG", "->", "getTargetConstantPool", "(", "AM", ".", "CP", ",", "", ",", "AM", ".", "Align", ",", "AM", ".", "Disp", ",", "", ")", ";", "else", "if", "(", "AM", ".", "ES", ")", "Disp", "=", "CurDAG", "->", "getTargetExternalSymbol", "(", "AM", ".", "ES", ",", "", ",", "", ")", ";", "else", "if", "(", "AM", ".", "JT", "!=", "-", "", ")", "Disp", "=", "CurDAG", "->", "getTargetJumpTable", "(", "AM", ".", "JT", ",", "", ",", "", ")", ";", "else", "if", "(", "AM", ".", "BlockAddr", ")", "Disp", "=", "CurDAG", "->", "getBlockAddress", "(", "AM", ".", "BlockAddr", ",", "", ",", "true", ",", "", ")", ";"], "ground_truth": ["else", "Disp", "=", "CurDAG", "->", "getTargetConstant", "(", "AM", ".", "Disp", ",", "", ")", ";"], "File": "Dcpu16ISelDAGToDAG", "Func": "SelectAddr", "Target": "Dcpu16", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 118085, "Length": 221, "Cover_Rate": 0.7949640287769785} {"Template_token": ["", "switch", "(", "ConstraintCode", ")", "{", "default", ":", "return", "true", ";", "case", "'m'", ":", "if", "(", "!", "SelectAddr", "(", "Op", ",", "Op0", ",", "Op1", ")", ")", "return", "true", ";"], "ground_truth": ["break", ";"], "File": "Dcpu16ISelDAGToDAG", "Func": "SelectInlineAsmMemoryOperand", "Target": "Dcpu16", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 118086, "Length": 30, "Cover_Rate": 0.38961038961038963} {"Template_token": ["", "setStackPointerRegisterToSaveRestore", "(", "", ")", ";", "setBooleanContents", "(", "ZeroOrOneBooleanContent", ")", ";", "setBooleanVectorContents", "(", "ZeroOrOneBooleanContent", ")", ";", "setLoadExtAction", "(", "", ",", "", ",", "Promote", ")", ";", "setLoadExtAction", "(", "", ",", "", ",", "Promote", ")", ";", "setLoadExtAction", "(", "", ",", "", ",", "Promote", ")", ";", "setLoadExtAction", "(", "", ",", "", ",", "Expand", ")", ";", "setOperationAction", "(", "", ",", "", ",", "Custom", ")", ";", "setOperationAction", "(", "", ",", "", ",", "Custom", ")", ";", "setOperationAction", "(", "", ",", "", ",", "Expand", ")", ";", "setOperationAction", "(", "", ",", "", ",", "Custom", ")", ";", "setOperationAction", "(", "", ",", "", ",", "Custom", ")", ";", "setOperationAction", "(", "", ",", "", ",", "Custom", ")", ";", "setOperationAction", "(", "", ",", "", ",", "Expand", ")", ";", "setOperationAction", "(", "", ",", "", ",", "Custom", ")", ";", "setOperationAction", "(", "", ",", "", ",", "Custom", ")", ";", "setOperationAction", "(", "", ",", "", ",", "Expand", ")", ";", "setOperationAction", "(", "", ",", "", ",", "Expand", ")", ";", "setOperationAction", "(", "", ",", "", ",", "Expand", ")", ";", "setOperationAction", "(", "", ",", "", ",", "Custom", ")", ";", "setOperationAction", "(", "", ",", "", ",", "Custom", ")", ";", "setOperationAction", "(", "", ",", "", ",", "Expand", ")", ";", "setOperationAction", "(", "", ",", "", ",", "Expand", ")", ";", "setOperationAction", "(", "", ",", "", ",", "Expand", ")", ";", "setOperationAction", "(", "", ",", "", ",", "Expand", ")", ";"], "ground_truth": ["setOperationAction", "(", "", ",", "", ",", "Expand", ")", ";"], "File": "Dcpu16ISelLowering", "Func": "DCPU16TargetLowering", "Target": "Dcpu16", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 118087, "Length": 222, "Cover_Rate": 0.4051094890510949} {"Template_token": ["", "return", "C_RegisterClass", ";", "default", ":", "break", ";", "}", "}", "return", "TargetLowering", "::", "getConstraintType", "(", "Constraint", ")", ";"], "ground_truth": ["}"], "File": "Dcpu16ISelLowering", "Func": "getConstraintType", "Target": "Dcpu16", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 118088, "Length": 18, "Cover_Rate": 0.32142857142857145} {"Template_token": ["", "if", "(", "Constraint", ".", "size", "(", ")", "==", "", ")", "{", "switch", "(", "Constraint", "[", "", "]", ")", "{", "case", "'r'", ":", "return", "C_RegisterClass", ";", "default", ":"], "ground_truth": ["break", ";"], "File": "Dcpu16ISelLowering", "Func": "getConstraintType", "Target": "Dcpu16", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 118089, "Length": 29, "Cover_Rate": 0.5178571428571429} {"Template_token": ["", "getRegForInlineAsmConstraint", "(", "const", "std", "::", "string", "&", "Constraint", ",", "EVT", "VT", ")", "const", "{"], "ground_truth": ["if", "(", "Constraint", ".", "size", "(", ")", "==", "", ")", "{"], "File": "Dcpu16ISelLowering", "Func": "getRegForInlineAsmConstraint", "Target": "Dcpu16", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 118090, "Length": 25, "Cover_Rate": 0.32051282051282054} {"Template_token": ["", "if", "(", "ReturnAddrIndex", "==", "", ")", "{", "ReturnAddrIndex", "=", "MF", ".", "getFrameInfo", "(", ")", "->", "CreateFixedObject", "(", "", ",", "-", "", ",", "true", ")", ";", "FuncInfo", "->", "setRAIndex", "(", "ReturnAddrIndex", ")", ";"], "ground_truth": ["}"], "File": "Dcpu16ISelLowering", "Func": "getReturnAddressFrameIndex", "Target": "Dcpu16", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 118091, "Length": 33, "Cover_Rate": 0.3707865168539326} {"Template_token": ["", "virtual", "MVT", "getShiftAmountTy", "(", "EVT", "LHSTy", ")", "const", "{", "return", "", ";"], "ground_truth": ["}"], "File": "Dcpu16ISelLowering", "Func": "getShiftAmountTy", "Target": "Dcpu16", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 118093, "Length": 13, "Cover_Rate": 0.8666666666666667} {"Template_token": ["", "llvm_unreachable", "(", "", ")", ";", "case", "", ":", "return", "", ";", "case", "", ":", "return", "", ";", "case", "", ":", "return", "", ";", "case", "", ":", "return", "", ";", "case", "", ":", "return", "", ";", "case", "", ":", "return", "", ";", "}"], "ground_truth": ["}"], "File": "Dcpu16ISelLowering", "Func": "GetSimpleCC", "Target": "Dcpu16", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 118094, "Length": 43, "Cover_Rate": 0.38738738738738737} {"Template_token": ["", "default", ":", "return", "NULL", ";", "case", "", ":", "return", "", ";", "case", "", ":", "return", "", ";", "case", "", ":", "return", "", ";", "case", "", ":", "return", "", ";", "case", "", ":", "return", "", ";", "case", "", ":", "return", "", ";", "case", "", ":", "return", "", ";", "case", "", ":", "return", "", ";"], "ground_truth": ["}"], "File": "Dcpu16ISelLowering", "Func": "getTargetNodeName", "Target": "Dcpu16", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 118095, "Length": 54, "Cover_Rate": 0.6136363636363636} {"Template_token": ["", "SDValue", "TargetLowering", "::", "LowerBlockAddress", "(", "SDValue", "Op", ",", "SelectionDAG", "&", "DAG", ")", "const", "{", "DebugLoc", "dl", "=", "Op", ".", "getDebugLoc", "(", ")", ";", "const", "BlockAddress", "*", "BA", "=", "cast", "<", "BlockAddressSDNode", ">", "(", "Op", ")", "->", "getBlockAddress", "(", ")", ";", "SDValue", "Result", "=", "DAG", ".", "getBlockAddress", "(", "BA", ",", "getPointerTy", "(", ")", ",", "true", ")", ";", "return", "DAG", ".", "getNode", "(", "", ",", "dl", ",", "getPointerTy", "(", ")", ",", "Result", ")", ";"], "ground_truth": ["}"], "File": "Dcpu16ISelLowering", "Func": "LowerBlockAddress", "Target": "Dcpu16", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 118096, "Length": 73, "Cover_Rate": 0.9733333333333334} {"Template_token": ["", "SDValue", "TargetLowering", "::", "LowerBlockAddress", "(", "SDValue", "Op", ",", "SelectionDAG", "&", "DAG", ")", "const", "{", "DebugLoc", "dl", "=", "Op", ".", "getDebugLoc", "(", ")", ";"], "ground_truth": ["const", "BlockAddress", "*", "BA", "=", "cast", "<", "BlockAddressSDNode", ">", "(", "Op", ")", "->", "getBlockAddress", "(", ")", ";"], "File": "Dcpu16ISelLowering", "Func": "LowerBlockAddress", "Target": "Dcpu16", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 118097, "Length": 40, "Cover_Rate": 0.5333333333333333} {"Template_token": ["", "DebugLoc", "dl", "=", "Op", ".", "getDebugLoc", "(", ")", ";", "", "nonEqualCC", ";", "if", "(", "NeedsAdditionalEqualityCC", "(", "CC", ",", "&", "nonEqualCC", ",", "NULL", ")", ")", "{", "SDValue", "eqCC", "=", "DAG", ".", "getConstant", "(", "", ",", "", ")", ";", "Chain", "=", "DAG", ".", "getNode", "(", "", ",", "dl", ",", "Op", ".", "getValueType", "(", ")", ",", "Chain", ",", "eqCC", ",", "LHS", ",", "RHS", ",", "Dest", ")", ";"], "ground_truth": ["}"], "File": "Dcpu16ISelLowering", "Func": "LowerBR_CC", "Target": "Dcpu16", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 118098, "Length": 65, "Cover_Rate": 0.3299492385786802} {"Template_token": ["", "SelectionDAG", "&", "DAG", "=", "CLI", ".", "DAG", ";", "DebugLoc", "&", "dl", "=", "CLI", ".", "DL", ";", "SmallVector", "<", "", ",", "", ">", "&", "Outs", "=", "CLI", ".", "Outs", ";", "SmallVector", "<", "SDValue", ",", "", ">", "&", "OutVals", "=", "CLI", ".", "OutVals", ";", "SmallVector", "<", "", ",", "", ">", "&", "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", "(", "", ")", ";", "case", "CallingConv", "::", "Fast", ":", "case", "CallingConv", "::", "C", ":", "return", "LowerCCCCallTo", "(", "Chain", ",", "Callee", ",", "CallConv", ",", "isVarArg", ",", "isTailCall", ",", "Outs", ",", "OutVals", ",", "Ins", ",", "dl", ",", "DAG", ",", "InVals", ")", ";", "case", "CallingConv", "::", "_INTR", ":", "report_fatal_error", "(", "", ")", ";"], "ground_truth": ["}"], "File": "Dcpu16ISelLowering", "Func": "LowerCall", "Target": "Dcpu16", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 118099, "Length": 156, "Cover_Rate": 0.861878453038674} {"Template_token": ["", "for", "(", "unsigned", "i", "=", "", ";", "i", "!=", "RVLocs", ".", "size", "(", ")", ";", "++", "i", ")", "{"], "ground_truth": ["Chain", "=", "DAG", ".", "getCopyFromReg", "(", "Chain", ",", "dl", ",", "RVLocs", "[", "i", "]", ".", "getLocReg", "(", ")", ",", "RVLocs", "[", "i", "]", ".", "getValVT", "(", ")", ",", "InFlag", ")", ".", "getValue", "(", "", ")", ";"], "File": "Dcpu16ISelLowering", "Func": "LowerCallResult", "Target": "Dcpu16", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 118100, "Length": 55, "Cover_Rate": 0.3235294117647059} {"Template_token": ["", "Chain", "=", "DAG", ".", "getCopyFromReg", "(", "Chain", ",", "dl", ",", "RVLocs", "[", "i", "]", ".", "getLocReg", "(", ")", ",", "RVLocs", "[", "i", "]", ".", "getValVT", "(", ")", ",", "InFlag", ")", ".", "getValue", "(", "", ")", ";", "InFlag", "=", "Chain", ".", "getValue", "(", "", ")", ";", "InVals", ".", "push_back", "(", "Chain", ".", "getValue", "(", "", ")", ")", ";"], "ground_truth": ["}"], "File": "Dcpu16ISelLowering", "Func": "LowerCallResult", "Target": "Dcpu16", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 118101, "Length": 58, "Cover_Rate": 0.3411764705882353} {"Template_token": ["", "MachineFrameInfo", "*", "MFI", "=", "MF", ".", "getFrameInfo", "(", ")", ";", "MachineRegisterInfo", "&", "RegInfo", "=", "MF", ".", "getRegInfo", "(", ")", ";", "SmallVector", "<", "CCValAssign", ",", "", ">", "ArgLocs", ";", "CCState", "CCInfo", "(", "CallConv", ",", "isVarArg", ",", "DAG", ".", "getMachineFunction", "(", ")", ",", "getTargetMachine", "(", ")", ",", "ArgLocs", ",", "*", "DAG", ".", "getContext", "(", ")", ")", ";", "CCInfo", ".", "AnalyzeFormalArguments", "(", "Ins", ",", "CC_", ")", ";", "assert", "(", "!", "isVarArg", "&&", "", ")", ";", "for", "(", "unsigned", "i", "=", "", ",", "e", "=", "ArgLocs", ".", "size", "(", ")", ";", "i", "!=", "e", ";", "++", "i", ")", "{", "CCValAssign", "&", "VA", "=", "ArgLocs", "[", "i", "]", ";", "if", "(", "VA", ".", "isRegLoc", "(", ")", ")", "{", "EVT", "RegVT", "=", "VA", ".", "getLocVT", "(", ")", ";", "switch", "(", "RegVT", ".", "getSimpleVT", "(", ")", ".", "SimpleTy", ")", "{", "default", ":", "{", "errs", "(", ")", "<<", "", "<<", "RegVT", ".", "getSimpleVT", "(", ")", ".", "SimpleTy", "<<", "", ";"], "ground_truth": ["llvm_unreachable", "(", "", ")", ";"], "File": "Dcpu16ISelLowering", "Func": "LowerCCCArguments", "Target": "Dcpu16", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 118102, "Length": 157, "Cover_Rate": 0.307843137254902} {"Template_token": ["", "CCValAssign", "&", "VA", "=", "ArgLocs", "[", "i", "]", ";", "if", "(", "VA", ".", "isRegLoc", "(", ")", ")", "{", "EVT", "RegVT", "=", "VA", ".", "getLocVT", "(", ")", ";", "switch", "(", "RegVT", ".", "getSimpleVT", "(", ")", ".", "SimpleTy", ")", "{", "default", ":", "{", "errs", "(", ")", "<<", "", "<<", "RegVT", ".", "getSimpleVT", "(", ")", ".", "SimpleTy", "<<", "", ";", "llvm_unreachable", "(", "", ")", ";", "}", "case", "", ":", "unsigned", "VReg", "=", "RegInfo", ".", "createVirtualRegister", "(", "&", "", ")", ";", "RegInfo", ".", "addLiveIn", "(", "VA", ".", "getLocReg", "(", ")", ",", "VReg", ")", ";", "SDValue", "ArgValue", "=", "DAG", ".", "getCopyFromReg", "(", "Chain", ",", "dl", ",", "VReg", ",", "RegVT", ")", ";", "if", "(", "VA", ".", "getLocInfo", "(", ")", "==", "CCValAssign", "::", "SExt", ")", "ArgValue", "=", "DAG", ".", "getNode", "(", "", ",", "dl", ",", "RegVT", ",", "ArgValue", ",", "DAG", ".", "getValueType", "(", "VA", ".", "getValVT", "(", ")", ")", ")", ";", "else", "if", "(", "VA", ".", "getLocInfo", "(", ")", "==", "CCValAssign", "::", "ZExt", ")", "ArgValue", "=", "DAG", ".", "getNode", "(", "", ",", "dl", ",", "RegVT", ",", "ArgValue", ",", "DAG", ".", "getValueType", "(", "VA", ".", "getValVT", "(", ")", ")", ")", ";", "if", "(", "VA", ".", "getLocInfo", "(", ")", "!=", "CCValAssign", "::", "Full", ")", "ArgValue", "=", "DAG", ".", "getNode", "(", "", ",", "dl", ",", "VA", ".", "getValVT", "(", ")", ",", "ArgValue", ")", ";", "InVals", ".", "push_back", "(", "ArgValue", ")", ";", "}", "}", "else", "{", "assert", "(", "VA", ".", "isMemLoc", "(", ")", ")", ";", "unsigned", "ObjSize", "=", "VA", ".", "getLocVT", "(", ")", ".", "getSizeInBits", "(", ")", "/", "", ";", "if", "(", "ObjSize", "!=", "", ")", "{", "errs", "(", ")", "<<", "", "<<", "EVT", "(", "VA", ".", "getLocVT", "(", ")", ")", ".", "getEVTString", "(", ")", "<<", "", ";", "}", "int", "FI", "=", "MFI", "->", "CreateFixedObject", "(", "ObjSize", ",", "VA", ".", "getLocMemOffset", "(", ")", ",", "true", ")", ";", "SDValue", "FIN", "=", "DAG", ".", "getFrameIndex", "(", "FI", ",", "", ")", ";", "InVals", ".", "push_back", "(", "DAG", ".", "getLoad", "(", "VA", ".", "getLocVT", "(", ")", ",", "dl", ",", "Chain", ",", "FIN", ",", "MachinePointerInfo", "::", "getFixedStack", "(", "FI", ")", ",", "false", ",", "false", ",", "false", ",", "", ")", ")", ";"], "ground_truth": ["}"], "File": "Dcpu16ISelLowering", "Func": "LowerCCCArguments", "Target": "Dcpu16", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 118103, "Length": 346, "Cover_Rate": 0.6784313725490196} {"Template_token": ["", "const", "char", "*", "Sym", "=", "cast", "<", "ExternalSymbolSDNode", ">", "(", "Op", ")", "->", "getSymbol", "(", ")", ";", "SDValue", "Result", "=", "DAG", ".", "getTargetExternalSymbol", "(", "Sym", ",", "getPointerTy", "(", ")", ")", ";"], "ground_truth": ["return", "DAG", ".", "getNode", "(", "", ",", "dl", ",", "getPointerTy", "(", ")", ",", "Result", ")", ";"], "File": "Dcpu16ISelLowering", "Func": "LowerExternalSymbol", "Target": "Dcpu16", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 118104, "Length": 47, "Cover_Rate": 0.6438356164383562} {"Template_token": ["", "SDValue", "TargetLowering", "::", "LowerExternalSymbol", "(", "SDValue", "Op", ",", "SelectionDAG", "&", "DAG", ")", "const", "{"], "ground_truth": ["DebugLoc", "dl", "=", "Op", ".", "getDebugLoc", "(", ")", ";"], "File": "Dcpu16ISelLowering", "Func": "LowerExternalSymbol", "Target": "Dcpu16", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 118105, "Length": 23, "Cover_Rate": 0.3150684931506849} {"Template_token": ["", "llvm_unreachable", "(", "", ")", ";", "case", "CallingConv", "::", "C", ":", "case", "CallingConv", "::", "Fast", ":", "return", "LowerCCCArguments", "(", "Chain", ",", "CallConv", ",", "isVarArg", ",", "Ins", ",", "dl", ",", "DAG", ",", "InVals", ")", ";", "case", "CallingConv", "::", "_INTR", ":", "{", "if", "(", "Ins", ".", "size", "(", ")", "!=", "", "||", "Ins", "[", "", "]", ".", "VT", "!=", "", ")", "report_fatal_error", "(", "", ")", ";"], "ground_truth": ["MachineRegisterInfo", "&", "RegInfo", "=", "DAG", ".", "getMachineFunction", "(", ")", ".", "getRegInfo", "(", ")", ";"], "File": "Dcpu16ISelLowering", "Func": "LowerFormalArguments", "Target": "Dcpu16", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 118106, "Length": 77, "Cover_Rate": 0.4207650273224044} {"Template_token": ["", "MachineFrameInfo", "*", "MFI", "=", "DAG", ".", "getMachineFunction", "(", ")", ".", "getFrameInfo", "(", ")", ";", "MFI", "->", "setFrameAddressIsTaken", "(", "true", ")", ";", "EVT", "VT", "=", "Op", ".", "getValueType", "(", ")", ";", "DebugLoc", "dl", "=", "Op", ".", "getDebugLoc", "(", ")", ";", "unsigned", "Depth", "=", "cast", "<", "ConstantSDNode", ">", "(", "Op", ".", "getOperand", "(", "", ")", ")", "->", "getZExtValue", "(", ")", ";"], "ground_truth": ["SDValue", "FrameAddr", "=", "DAG", ".", "getCopyFromReg", "(", "DAG", ".", "getEntryNode", "(", ")", ",", "dl", ",", "", ",", "VT", ")", ";"], "File": "Dcpu16ISelLowering", "Func": "LowerFRAMEADDR", "Target": "Dcpu16", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 118107, "Length": 79, "Cover_Rate": 0.5851851851851851} {"Template_token": ["", "const", "GlobalValue", "*", "GV", "=", "cast", "<", "GlobalAddressSDNode", ">", "(", "Op", ")", "->", "getGlobal", "(", ")", ";", "int64_t", "Offset", "=", "cast", "<", "GlobalAddressSDNode", ">", "(", "Op", ")", "->", "getOffset", "(", ")", ";", "SDValue", "Result", "=", "DAG", ".", "getTargetGlobalAddress", "(", "GV", ",", "Op", ".", "getDebugLoc", "(", ")", ",", "getPointerTy", "(", ")", ",", "Offset", ")", ";"], "ground_truth": ["return", "DAG", ".", "getNode", "(", "", ",", "Op", ".", "getDebugLoc", "(", ")", ",", "getPointerTy", "(", ")", ",", "Result", ")", ";"], "File": "Dcpu16ISelLowering", "Func": "LowerGlobalAddress", "Target": "Dcpu16", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 118108, "Length": 74, "Cover_Rate": 0.8131868131868132} {"Template_token": ["", "int64_t", "Offset", "=", "cast", "<", "GlobalAddressSDNode", ">", "(", "Op", ")", "->", "getOffset", "(", ")", ";"], "ground_truth": ["SDValue", "Result", "=", "DAG", ".", "getTargetGlobalAddress", "(", "GV", ",", "Op", ".", "getDebugLoc", "(", ")", ",", "getPointerTy", "(", ")", ",", "Offset", ")", ";"], "File": "Dcpu16ISelLowering", "Func": "LowerGlobalAddress", "Target": "Dcpu16", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 118109, "Length": 37, "Cover_Rate": 0.4065934065934066} {"Template_token": ["", "SDValue", "TargetLowering", "::", "LowerJumpTable", "(", "SDValue", "Op", ",", "SelectionDAG", "&", "DAG", ")", "const", "{"], "ground_truth": ["JumpTableSDNode", "*", "JT", "=", "cast", "<", "JumpTableSDNode", ">", "(", "Op", ")", ";"], "File": "Dcpu16ISelLowering", "Func": "LowerJumpTable", "Target": "Dcpu16", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 118110, "Length": 26, "Cover_Rate": 0.3611111111111111} {"Template_token": ["", "SDValue", "Chain", "=", "DAG", ".", "getEntryNode", "(", ")", ";", "EVT", "VT", "=", "Op", ".", "getValueType", "(", ")", ";", "DebugLoc", "dl", "=", "Op", ".", "getDebugLoc", "(", ")", ";", "SDValue", "LHS", "=", "Op", ".", "getOperand", "(", "", ")", ";", "SDValue", "RHS", "=", "Op", ".", "getOperand", "(", "", ")", ";", "SDVTList", "VTs", "=", "DAG", ".", "getVTList", "(", "VT", ",", "", ",", "", ")", ";", "SDValue", "Ops", "[", "]", "=", "{", "Chain", ",", "LHS", ",", "RHS", "}", ";"], "ground_truth": ["SDValue", "Lo", "=", "DAG", ".", "getNode", "(", "Signed", "?", "", ":", "", ",", "dl", ",", "VTs", ",", "Ops", ",", "array_lengthof", "(", "Ops", ")", ")", ";"], "File": "Dcpu16ISelLowering", "Func": "LowerMUL_LOHI", "Target": "Dcpu16", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 118111, "Length": 99, "Cover_Rate": 0.5561797752808989} {"Template_token": ["", "EVT", "VT", "=", "Op", ".", "getValueType", "(", ")", ";", "DebugLoc", "dl", "=", "Op", ".", "getDebugLoc", "(", ")", ";", "SDValue", "LHS", "=", "Op", ".", "getOperand", "(", "", ")", ";", "SDValue", "RHS", "=", "Op", ".", "getOperand", "(", "", ")", ";", "SDVTList", "VTs", "=", "DAG", ".", "getVTList", "(", "VT", ",", "", ",", "", ")", ";", "SDValue", "Ops", "[", "]", "=", "{", "Chain", ",", "LHS", ",", "RHS", "}", ";"], "ground_truth": ["SDValue", "Lo", "=", "DAG", ".", "getNode", "(", "Signed", "?", "", ":", "", ",", "dl", ",", "VTs", ",", "Ops", ",", "array_lengthof", "(", "Ops", ")", ")", ";"], "File": "Dcpu16ISelLowering", "Func": "LowerMUL_LOHI", "Target": "Dcpu16", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 118112, "Length": 90, "Cover_Rate": 0.5056179775280899} {"Template_token": ["", "case", "", ":", "return", "LowerROT", "(", "Op", ",", "DAG", ",", "true", ")", ";", "case", "", ":", "return", "LowerROT", "(", "Op", ",", "DAG", ",", "false", ")", ";", "case", "", ":", "return", "LowerMUL_LOHI", "(", "Op", ",", "DAG", ",", "true", ")", ";", "case", "", ":", "return", "LowerMUL_LOHI", "(", "Op", ",", "DAG", ",", "false", ")", ";", "case", "", ":", "return", "LowerJumpTable", "(", "Op", ",", "DAG", ")", ";", "default", ":", "llvm_unreachable", "(", "", ")", ";"], "ground_truth": ["}"], "File": "Dcpu16ISelLowering", "Func": "LowerOperation", "Target": "Dcpu16", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 118113, "Length": 71, "Cover_Rate": 0.3397129186602871} {"Template_token": ["", "case", "", ":", "return", "LowerRETURNADDR", "(", "Op", ",", "DAG", ")", ";", "case", "", ":", "return", "LowerFRAMEADDR", "(", "Op", ",", "DAG", ")", ";", "case", "", ":", "return", "LowerROT", "(", "Op", ",", "DAG", ",", "true", ")", ";", "case", "", ":", "return", "LowerROT", "(", "Op", ",", "DAG", ",", "false", ")", ";", "case", "", ":", "return", "LowerMUL_LOHI", "(", "Op", ",", "DAG", ",", "true", ")", ";", "case", "", ":", "return", "LowerMUL_LOHI", "(", "Op", ",", "DAG", ",", "false", ")", ";", "case", "", ":", "return", "LowerJumpTable", "(", "Op", ",", "DAG", ")", ";", "default", ":", "llvm_unreachable", "(", "", ")", ";"], "ground_truth": ["}"], "File": "Dcpu16ISelLowering", "Func": "LowerOperation", "Target": "Dcpu16", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 118114, "Length": 93, "Cover_Rate": 0.4449760765550239} {"Template_token": ["", "if", "(", "DAG", ".", "getMachineFunction", "(", ")", ".", "getRegInfo", "(", ")", ".", "liveout_empty", "(", ")", ")", "{", "for", "(", "unsigned", "i", "=", "", ";", "i", "!=", "RVLocs", ".", "size", "(", ")", ";", "++", "i", ")", "if", "(", "RVLocs", "[", "i", "]", ".", "isRegLoc", "(", ")", ")", "DAG", ".", "getMachineFunction", "(", ")", ".", "getRegInfo", "(", ")", ".", "addLiveOut", "(", "RVLocs", "[", "i", "]", ".", "getLocReg", "(", ")", ")", ";", "}", "SDValue", "Flag", ";", "for", "(", "unsigned", "i", "=", "", ";", "i", "!=", "RVLocs", ".", "size", "(", ")", ";", "++", "i", ")", "{", "CCValAssign", "&", "VA", "=", "RVLocs", "[", "i", "]", ";", "assert", "(", "VA", ".", "isRegLoc", "(", ")", "&&", "", ")", ";"], "ground_truth": ["Chain", "=", "DAG", ".", "getCopyToReg", "(", "Chain", ",", "dl", ",", "VA", ".", "getLocReg", "(", ")", ",", "OutVals", "[", "i", "]", ",", "Flag", ")", ";"], "File": "Dcpu16ISelLowering", "Func": "LowerReturn", "Target": "Dcpu16", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 118115, "Length": 135, "Cover_Rate": 0.4299363057324841} {"Template_token": ["", "SDValue", "TargetLowering", "::", "LowerReturn", "(", "SDValue", "Chain", ",", "CallingConv", "::", "ID", "CallConv", ",", "bool", "isVarArg", ",", "const", "SmallVectorImpl", "<", "", ">", "&", "Outs", ",", "const", "SmallVectorImpl", "<", "SDValue", ">", "&", "OutVals", ",", "DebugLoc", "dl", ",", "SelectionDAG", "&", "DAG", ")", "const", "{", "SmallVector", "<", "CCValAssign", ",", "", ">", "RVLocs", ";", "if", "(", "CallConv", "==", "CallingConv", "::", "_INTR", "&&", "!", "Outs", ".", "empty", "(", ")", ")", "report_fatal_error", "(", "", ")", ";", "CCState", "CCInfo", "(", "CallConv", ",", "isVarArg", ",", "DAG", ".", "getMachineFunction", "(", ")", ",", "getTargetMachine", "(", ")", ",", "RVLocs", ",", "*", "DAG", ".", "getContext", "(", ")", ")", ";", "CCInfo", ".", "AnalyzeReturn", "(", "Outs", ",", "RetCC_", ")", ";", "if", "(", "DAG", ".", "getMachineFunction", "(", ")", ".", "getRegInfo", "(", ")", ".", "liveout_empty", "(", ")", ")", "{", "for", "(", "unsigned", "i", "=", "", ";", "i", "!=", "RVLocs", ".", "size", "(", ")", ";", "++", "i", ")", "if", "(", "RVLocs", "[", "i", "]", ".", "isRegLoc", "(", ")", ")", "DAG", ".", "getMachineFunction", "(", ")", ".", "getRegInfo", "(", ")", ".", "addLiveOut", "(", "RVLocs", "[", "i", "]", ".", "getLocReg", "(", ")", ")", ";", "}", "SDValue", "Flag", ";", "for", "(", "unsigned", "i", "=", "", ";", "i", "!=", "RVLocs", ".", "size", "(", ")", ";", "++", "i", ")", "{"], "ground_truth": ["CCValAssign", "&", "VA", "=", "RVLocs", "[", "i", "]", ";"], "File": "Dcpu16ISelLowering", "Func": "LowerReturn", "Target": "Dcpu16", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 118116, "Length": 205, "Cover_Rate": 0.6528662420382165} {"Template_token": ["", "SDValue", "TargetLowering", "::", "LowerRETURNADDR", "(", "SDValue", "Op", ",", "SelectionDAG", "&", "DAG", ")", "const", "{", "MachineFrameInfo", "*", "MFI", "=", "DAG", ".", "getMachineFunction", "(", ")", ".", "getFrameInfo", "(", ")", ";", "MFI", "->", "setReturnAddressIsTaken", "(", "true", ")", ";", "unsigned", "Depth", "=", "cast", "<", "ConstantSDNode", ">", "(", "Op", ".", "getOperand", "(", "", ")", ")", "->", "getZExtValue", "(", ")", ";", "DebugLoc", "dl", "=", "Op", ".", "getDebugLoc", "(", ")", ";", "if", "(", "Depth", ">", "", ")", "{", "SDValue", "FrameAddr", "=", "LowerFRAMEADDR", "(", "Op", ",", "DAG", ")", ";", "SDValue", "Offset", "=", "DAG", ".", "getConstant", "(", "TD", "->", "getPointerSize", "(", ")", ",", "", ")", ";", "return", "DAG", ".", "getLoad", "(", "getPointerTy", "(", ")", ",", "dl", ",", "DAG", ".", "getEntryNode", "(", ")", ",", "DAG", ".", "getNode", "(", "", ",", "dl", ",", "getPointerTy", "(", ")", ",", "FrameAddr", ",", "Offset", ")", ",", "MachinePointerInfo", "(", ")", ",", "false", ",", "false", ",", "false", ",", "", ")", ";"], "ground_truth": ["}"], "File": "Dcpu16ISelLowering", "Func": "LowerRETURNADDR", "Target": "Dcpu16", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 118117, "Length": 145, "Cover_Rate": 0.7631578947368421} {"Template_token": ["", "SDValue", "Offset", "=", "DAG", ".", "getConstant", "(", "TD", "->", "getPointerSize", "(", ")", ",", "", ")", ";", "return", "DAG", ".", "getLoad", "(", "getPointerTy", "(", ")", ",", "dl", ",", "DAG", ".", "getEntryNode", "(", ")", ",", "DAG", ".", "getNode", "(", "", ",", "dl", ",", "getPointerTy", "(", ")", ",", "FrameAddr", ",", "Offset", ")", ",", "MachinePointerInfo", "(", ")", ",", "false", ",", "false", ",", "false", ",", "", ")", ";"], "ground_truth": ["}"], "File": "Dcpu16ISelLowering", "Func": "LowerRETURNADDR", "Target": "Dcpu16", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 118118, "Length": 64, "Cover_Rate": 0.3368421052631579} {"Template_token": ["", "SDValue", "TargetLowering", "::", "LowerROT", "(", "SDValue", "Op", ",", "SelectionDAG", "&", "DAG", ",", "bool", "IsLeft", ")", "const", "{", "EVT", "VT", "=", "Op", ".", "getValueType", "(", ")", ";", "DebugLoc", "dl", "=", "Op", ".", "getDebugLoc", "(", ")", ";", "SDValue", "LHS", "=", "Op", ".", "getOperand", "(", "", ")", ";", "SDValue", "RHS", "=", "Op", ".", "getOperand", "(", "", ")", ";", "unsigned", "Opc", "=", "IsLeft", "?", "", ":", "", ";"], "ground_truth": ["SDVTList", "VTs", "=", "DAG", ".", "getVTList", "(", "VT", ",", "", ")", ";"], "File": "Dcpu16ISelLowering", "Func": "LowerROT", "Target": "Dcpu16", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 118119, "Length": 76, "Cover_Rate": 0.41530054644808745} {"Template_token": ["", "SDValue", "LHS", "=", "Op", ".", "getOperand", "(", "", ")", ";", "SDValue", "RHS", "=", "Op", ".", "getOperand", "(", "", ")", ";", "SDValue", "TrueV", "=", "Op", ".", "getOperand", "(", "", ")", ";", "SDValue", "FalseV", "=", "Op", ".", "getOperand", "(", "", ")", ";", "", "CC", "=", "cast", "<", "CondCodeSDNode", ">", "(", "Op", ".", "getOperand", "(", "", ")", ")", "->", "get", "(", ")", ";", "DebugLoc", "dl", "=", "Op", ".", "getDebugLoc", "(", ")", ";", "", "reverseCC", ";", "if", "(", "NeedsAdditionalEqualityCC", "(", "CC", ",", "NULL", ",", "&", "reverseCC", ")", ")", "{", "std", "::", "swap", "(", "TrueV", ",", "FalseV", ")", ";", "}", "", "simpleCC", "=", "GetSimpleCC", "(", "reverseCC", ")", ";", "SDVTList", "VTs", "=", "DAG", ".", "getVTList", "(", "Op", ".", "getValueType", "(", ")", ")", ";", "SmallVector", "<", "SDValue", ",", "", ">", "Ops", ";", "Ops", ".", "push_back", "(", "DAG", ".", "getConstant", "(", "simpleCC", ",", "", ")", ")", ";"], "ground_truth": ["Ops", ".", "push_back", "(", "LHS", ")", ";"], "File": "Dcpu16ISelLowering", "Func": "LowerSELECT_CC", "Target": "Dcpu16", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 118120, "Length": 146, "Cover_Rate": 0.6759259259259259} {"Template_token": ["", "case", "", ":", "case", "", ":", "return", "false", ";", "case", "", ":", "if", "(", "simpleCC", ")", "*", "simpleCC", "=", "", ";", "if", "(", "reverseCC", ")", "*", "reverseCC", "=", "", ";", "return", "true", ";", "case", "", ":", "if", "(", "simpleCC", ")", "*", "simpleCC", "=", "", ";", "if", "(", "reverseCC", ")", "*", "reverseCC", "=", "", ";", "return", "true", ";", "case", "", ":", "if", "(", "simpleCC", ")", "*", "simpleCC", "=", "", ";"], "ground_truth": ["if", "(", "reverseCC", ")", "*", "reverseCC", "=", "", ";"], "File": "Dcpu16ISelLowering", "Func": "NeedsAdditionalEqualityCC", "Target": "Dcpu16", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 118122, "Length": 78, "Cover_Rate": 0.36792452830188677} {"Template_token": ["", "void", "MachineFunctionInfo", "::", "anchor", "(", ")", "{"], "ground_truth": ["}"], "File": "Dcpu16MachineFunctionInfo", "Func": "anchor", "Target": "Dcpu16", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 118123, "Length": 8, "Cover_Rate": 1.0} {"Template_token": ["", "void", "MachineFunctionInfo", "::", "anchor", "(", ")", "{"], "ground_truth": ["}"], "File": "Dcpu16MachineFunctionInfo", "Func": "anchor", "Target": "Dcpu16", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 118124, "Length": 8, "Cover_Rate": 1.0} {"Template_token": ["", "explicit", "MachineFunctionInfo", "(", "MachineFunction", "&", "MF", ")", ":", "CalleeSavedFrameSize", "(", "", ")", ",", "ReturnAddrIndex", "(", "", ")", "{"], "ground_truth": ["}"], "File": "Dcpu16MachineFunctionInfo", "Func": "DCPU16MachineFunctionInfo", "Target": "Dcpu16", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 118125, "Length": 19, "Cover_Rate": 1.0} {"Template_token": ["", "explicit", "MachineFunctionInfo", "(", "MachineFunction", "&", "MF", ")", ":", "CalleeSavedFrameSize", "(", "", ")", ",", "ReturnAddrIndex", "(", "", ")", "{"], "ground_truth": ["}"], "File": "Dcpu16MachineFunctionInfo", "Func": "DCPU16MachineFunctionInfo", "Target": "Dcpu16", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 118126, "Length": 19, "Cover_Rate": 1.0} {"Template_token": ["", "unsigned", "getCalleeSavedFrameSize", "(", ")", "const", "{"], "ground_truth": ["return", "CalleeSavedFrameSize", ";"], "File": "Dcpu16MachineFunctionInfo", "Func": "getCalleeSavedFrameSize", "Target": "Dcpu16", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 118127, "Length": 9, "Cover_Rate": 0.9} {"Template_token": ["", "unsigned", "getCalleeSavedFrameSize", "(", ")", "const", "{", "return", "CalleeSavedFrameSize", ";"], "ground_truth": ["}"], "File": "Dcpu16MachineFunctionInfo", "Func": "getCalleeSavedFrameSize", "Target": "Dcpu16", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 118128, "Length": 10, "Cover_Rate": 1.0} {"Template_token": ["", "return", "ReturnAddrIndex", ";"], "ground_truth": ["}"], "File": "Dcpu16MachineFunctionInfo", "Func": "getRAIndex", "Target": "Dcpu16", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 118129, "Length": 4, "Cover_Rate": 0.4} {"Template_token": ["", "int", "getRAIndex", "(", ")", "const", "{", "return", "ReturnAddrIndex", ";"], "ground_truth": ["}"], "File": "Dcpu16MachineFunctionInfo", "Func": "getRAIndex", "Target": "Dcpu16", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 118130, "Length": 10, "Cover_Rate": 1.0} {"Template_token": ["", "void", "setCalleeSavedFrameSize", "(", "unsigned", "bytes", ")", "{", "CalleeSavedFrameSize", "=", "bytes", ";"], "ground_truth": ["}"], "File": "Dcpu16MachineFunctionInfo", "Func": "setCalleeSavedFrameSize", "Target": "Dcpu16", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 118131, "Length": 12, "Cover_Rate": 1.0} {"Template_token": ["", "void", "setCalleeSavedFrameSize", "(", "unsigned", "bytes", ")", "{"], "ground_truth": ["CalleeSavedFrameSize", "=", "bytes", ";"], "File": "Dcpu16MachineFunctionInfo", "Func": "setCalleeSavedFrameSize", "Target": "Dcpu16", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 118132, "Length": 11, "Cover_Rate": 0.9166666666666666} {"Template_token": ["", "void", "Dcpu16ELFMCAsmInfo", "::", "anchor", "(", ")", "{"], "ground_truth": ["}"], "File": "Dcpu16MCAsmInfo (2)", "Func": "anchor", "Target": "Dcpu16", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 118135, "Length": 8, "Cover_Rate": 1.0} {"Template_token": ["", "void", "Dcpu16ELFMCAsmInfo", "::", "anchor", "(", ")", "{"], "ground_truth": ["}"], "File": "Dcpu16MCAsmInfo (2)", "Func": "anchor", "Target": "Dcpu16", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 118136, "Length": 8, "Cover_Rate": 1.0} {"Template_token": ["", "void", "MCAsmInfo", "::", "anchor", "(", ")", "{"], "ground_truth": ["}"], "File": "Dcpu16MCAsmInfo", "Func": "anchor", "Target": "Dcpu16", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 118137, "Length": 8, "Cover_Rate": 1.0} {"Template_token": ["", "void", "MCAsmInfo", "::", "anchor", "(", ")", "{"], "ground_truth": ["}"], "File": "Dcpu16MCAsmInfo", "Func": "anchor", "Target": "Dcpu16", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 118138, "Length": 8, "Cover_Rate": 1.0} {"Template_token": ["", "AlignDirective", "=", "", ";", "AllowNameToStartWithDigit", "=", "true", ";", "UsesELFSectionDirectiveForBSS", "=", "false", ";", "HasDotTypeDotSizeDirective", "=", "false", ";", "LCOMMDirectiveType", "=", "LCOMM", "::", "NoAlignment", ";"], "ground_truth": ["}"], "File": "Dcpu16MCAsmInfo", "Func": "DCPU16MCAsmInfo", "Target": "Dcpu16", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 118139, "Length": 23, "Cover_Rate": 0.3382352941176471} {"Template_token": ["", "raw_svector_ostream", "(", "Name", ")", "<<", "Printer", ".", "MAI", "->", "getPrivateGlobalPrefix", "(", ")", "<<", "", "<<", "Printer", ".", "getFunctionNumber", "(", ")", "<<", "'_'", "<<", "MO", ".", "getIndex", "(", ")", ";", "switch", "(", "MO", ".", "getTargetFlags", "(", ")", ")", "{"], "ground_truth": ["default", ":", "llvm_unreachable", "(", "", ")", ";"], "File": "DCPU16MCInstLower", "Func": "GetConstantPoolIndexSymbol", "Target": "Dcpu16", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 118140, "Length": 45, "Cover_Rate": 0.5421686746987951} {"Template_token": ["", "raw_svector_ostream", "(", "Name", ")", "<<", "Printer", ".", "MAI", "->", "getPrivateGlobalPrefix", "(", ")", "<<", "", "<<", "Printer", ".", "getFunctionNumber", "(", ")", "<<", "'_'", "<<", "MO", ".", "getIndex", "(", ")", ";", "switch", "(", "MO", ".", "getTargetFlags", "(", ")", ")", "{"], "ground_truth": ["default", ":", "llvm_unreachable", "(", "", ")", ";"], "File": "DCPU16MCInstLower", "Func": "GetConstantPoolIndexSymbol", "Target": "Dcpu16", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 118141, "Length": 45, "Cover_Rate": 0.5421686746987951} {"Template_token": ["", "MCSymbol", "*", "MCInstLower", "::", "GetExternalSymbolSymbol", "(", "const", "MachineOperand", "&", "MO", ")", "const", "{", "switch", "(", "MO", ".", "getTargetFlags", "(", ")", ")", "{"], "ground_truth": ["default", ":", "llvm_unreachable", "(", "", ")", ";"], "File": "DCPU16MCInstLower", "Func": "GetExternalSymbolSymbol", "Target": "Dcpu16", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 118142, "Length": 29, "Cover_Rate": 0.6041666666666666} {"Template_token": ["", "MCSymbol", "*", "GetGlobalAddressSymbol", "(", "const", "MachineOperand", "&", "MO", ")", "const", ";", "MCSymbol", "*", "GetExternalSymbolSymbol", "(", "const", "MachineOperand", "&", "MO", ")", "const", ";", "MCSymbol", "*", "GetJumpTableSymbol", "(", "const", "MachineOperand", "&", "MO", ")", "const", ";"], "ground_truth": ["MCSymbol", "*", "GetConstantPoolIndexSymbol", "(", "const", "MachineOperand", "&", "MO", ")", "const", ";"], "File": "DCPU16MCInstLower", "Func": "GetGlobalAddressSymbol", "Target": "Dcpu16", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 118143, "Length": 44, "Cover_Rate": 0.3308270676691729} {"Template_token": ["", "Mangler", "&", "Mang", ";", "AsmPrinter", "&", "Printer", ";", "public", ":", "MCInstLower", "(", "MCContext", "&", "ctx", ",", "Mangler", "&", "mang", ",", "AsmPrinter", "&", "printer", ")", ":", "Ctx", "(", "ctx", ")", ",", "Mang", "(", "mang", ")", ",", "Printer", "(", "printer", ")", "{", "}"], "ground_truth": ["void", "Lower", "(", "const", "MachineInstr", "*", "MI", ",", "MCInst", "&", "OutMI", ")", "const", ";"], "File": "DCPU16MCInstLower", "Func": "GetGlobalAddressSymbol", "Target": "Dcpu16", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 118144, "Length": 55, "Cover_Rate": 0.41353383458646614} {"Template_token": ["", "default", ":", "llvm_unreachable", "(", "", ")", ";", "case", "", ":", "break", ";", "}"], "ground_truth": ["return", "Ctx", ".", "GetOrCreateSymbol", "(", "Name", ".", "str", "(", ")", ")", ";"], "File": "DCPU16MCInstLower", "Func": "GetJumpTableSymbol", "Target": "Dcpu16", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 118145, "Length": 25, "Cover_Rate": 0.30120481927710846} {"Template_token": ["", "const", "MachineOperand", "&", "MO", "=", "MI", "->", "getOperand", "(", "i", ")", ";", "MCOperand", "MCOp", ";", "switch", "(", "MO", ".", "getType", "(", ")", ")", "{", "default", ":", "MI", "->", "dump", "(", ")", ";", "llvm_unreachable", "(", "", ")", ";", "case", "MachineOperand", "::", "MO_Register", ":", "if", "(", "MO", ".", "isImplicit", "(", ")", ")", "continue", ";", "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", "(", ")", ",", "Ctx", ")", ")", ";"], "ground_truth": ["break", ";"], "File": "DCPU16MCInstLower", "Func": "Lower", "Target": "Dcpu16", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 118146, "Length": 118, "Cover_Rate": 0.42142857142857143} {"Template_token": ["", "case", "", ":", "break", ";", "}"], "ground_truth": ["if", "(", "!", "MO", ".", "isJTI", "(", ")", "&&", "MO", ".", "getOffset", "(", ")", ")", "Expr", "=", "MCBinaryExpr", "::", "CreateAdd", "(", "Expr", ",", "MCConstantExpr", "::", "Create", "(", "MO", ".", "getOffset", "(", ")", ",", "Ctx", ")", ",", "Ctx", ")", ";"], "File": "DCPU16MCInstLower", "Func": "LowerSymbolOperand", "Target": "Dcpu16", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 118147, "Length": 45, "Cover_Rate": 0.45} {"Template_token": ["", "switch", "(", "MO", ".", "getTargetFlags", "(", ")", ")", "{", "default", ":", "llvm_unreachable", "(", "", ")", ";", "case", "", ":", "break", ";", "}", "if", "(", "!", "MO", ".", "isJTI", "(", ")", "&&", "MO", ".", "getOffset", "(", ")", ")", "Expr", "=", "MCBinaryExpr", "::", "CreateAdd", "(", "Expr", ",", "MCConstantExpr", "::", "Create", "(", "MO", ".", "getOffset", "(", ")", ",", "Ctx", ")", ",", "Ctx", ")", ";", "return", "MCOperand", "::", "CreateExpr", "(", "Expr", ")", ";"], "ground_truth": ["}"], "File": "DCPU16MCInstLower", "Func": "LowerSymbolOperand", "Target": "Dcpu16", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 118148, "Length": 70, "Cover_Rate": 0.7} {"Template_token": ["", "MCCodeGenInfo", "*", "X", "=", "new", "MCCodeGenInfo", "(", ")", ";", "X", "->", "InitMCCodeGenInfo", "(", "RM", ",", "CM", ",", "OL", ")", ";", "return", "X", ";"], "ground_truth": ["}"], "File": "Dcpu16MCTargetDesc (2)", "Func": "createDcpu16MCCodeGenInfo", "Target": "Dcpu16", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 118149, "Length": 24, "Cover_Rate": 0.5} {"Template_token": ["", "InitDcpu16MCInstrInfo", "(", "X", ")", ";", "return", "X", ";"], "ground_truth": ["}"], "File": "Dcpu16MCTargetDesc (2)", "Func": "createDcpu16MCInstrInfo", "Target": "Dcpu16", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 118150, "Length": 9, "Cover_Rate": 0.36} {"Template_token": ["", "static", "MCInstrInfo", "*", "createDcpu16MCInstrInfo", "(", ")", "{"], "ground_truth": ["MCInstrInfo", "*", "X", "=", "new", "MCInstrInfo", "(", ")", ";"], "File": "Dcpu16MCTargetDesc (2)", "Func": "createDcpu16MCInstrInfo", "Target": "Dcpu16", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 118151, "Length": 16, "Cover_Rate": 0.64} {"Template_token": ["", "MCRegisterInfo", "*", "X", "=", "new", "MCRegisterInfo", "(", ")", ";", "InitDcpu16MCRegisterInfo", "(", "X", ",", "", ")", ";", "return", "X", ";"], "ground_truth": ["}"], "File": "Dcpu16MCTargetDesc (2)", "Func": "createDcpu16MCRegisterInfo", "Target": "Dcpu16", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 118152, "Length": 20, "Cover_Rate": 0.6451612903225806} {"Template_token": ["", "static", "MCRegisterInfo", "*", "createDcpu16MCRegisterInfo", "(", "StringRef", "TT", ")", "{", "MCRegisterInfo", "*", "X", "=", "new", "MCRegisterInfo", "(", ")", ";"], "ground_truth": ["InitDcpu16MCRegisterInfo", "(", "X", ",", "", ")", ";"], "File": "Dcpu16MCTargetDesc (2)", "Func": "createDcpu16MCRegisterInfo", "Target": "Dcpu16", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 118153, "Length": 25, "Cover_Rate": 0.8064516129032258} {"Template_token": ["", "void", "LLVMInitializeDcpu16TargetMC", "(", ")", "{", "RegisterMCAsmInfo", "<", "Dcpu16ELFMCAsmInfo", ">", "X", "(", "TheDcpu16Target", ")", ";", "TargetRegistry", "::", "RegisterMCCodeGenInfo", "(", "TheDcpu16Target", ",", "createDcpu16MCCodeGenInfo", ")", ";"], "ground_truth": ["TargetRegistry", "::", "RegisterMCInstrInfo", "(", "TheDcpu16Target", ",", "createDcpu16MCInstrInfo", ")", ";"], "File": "Dcpu16MCTargetDesc (2)", "Func": "LLVMInitializeDcpu16TargetMC", "Target": "Dcpu16", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 118154, "Length": 32, "Cover_Rate": 0.7619047619047619} {"Template_token": ["", "static", "MCInstPrinter", "*", "createMCInstPrinter", "(", "const", "Target", "&", "T", ",", "unsigned", "SyntaxVariant", ",", "const", "MCAsmInfo", "&", "MAI", ",", "const", "MCInstrInfo", "&", "MII", ",", "const", "MCRegisterInfo", "&", "MRI", ",", "const", "MCSubtargetInfo", "&", "STI", ")", "{"], "ground_truth": ["if", "(", "SyntaxVariant", "==", "", ")", "return", "new", "InstPrinter", "(", "MAI", ",", "MII", ",", "MRI", ")", ";"], "File": "Dcpu16MCTargetDesc", "Func": "createDCPU16MCInstPrinter", "Target": "Dcpu16", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 118157, "Length": 51, "Cover_Rate": 0.9272727272727272} {"Template_token": ["", "if", "(", "SyntaxVariant", "==", "", ")", "return", "new", "InstPrinter", "(", "MAI", ",", "MII", ",", "MRI", ")", ";"], "ground_truth": ["return", "", ";"], "File": "Dcpu16MCTargetDesc", "Func": "createDCPU16MCInstPrinter", "Target": "Dcpu16", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 118158, "Length": 20, "Cover_Rate": 0.36363636363636365} {"Template_token": ["", "InitMCInstrInfo", "(", "X", ")", ";", "return", "X", ";"], "ground_truth": ["}"], "File": "Dcpu16MCTargetDesc", "Func": "createDCPU16MCInstrInfo", "Target": "Dcpu16", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 118159, "Length": 9, "Cover_Rate": 0.36} {"Template_token": ["", "static", "MCInstrInfo", "*", "createMCInstrInfo", "(", ")", "{", "MCInstrInfo", "*", "X", "=", "new", "MCInstrInfo", "(", ")", ";"], "ground_truth": ["InitMCInstrInfo", "(", "X", ")", ";"], "File": "Dcpu16MCTargetDesc", "Func": "createDCPU16MCInstrInfo", "Target": "Dcpu16", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 118160, "Length": 21, "Cover_Rate": 0.84} {"Template_token": ["", "InitMCRegisterInfo", "(", "X", ",", "", ")", ";", "return", "X", ";"], "ground_truth": ["}"], "File": "Dcpu16MCTargetDesc", "Func": "createDCPU16MCRegisterInfo", "Target": "Dcpu16", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 118161, "Length": 11, "Cover_Rate": 0.3548387096774194} {"Template_token": ["", "static", "MCRegisterInfo", "*", "createMCRegisterInfo", "(", "StringRef", "TT", ")", "{", "MCRegisterInfo", "*", "X", "=", "new", "MCRegisterInfo", "(", ")", ";", "InitMCRegisterInfo", "(", "X", ",", "", ")", ";", "return", "X", ";"], "ground_truth": ["}"], "File": "Dcpu16MCTargetDesc", "Func": "createDCPU16MCRegisterInfo", "Target": "Dcpu16", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 118162, "Length": 29, "Cover_Rate": 0.9354838709677419} {"Template_token": ["", "MCSubtargetInfo", "*", "X", "=", "new", "MCSubtargetInfo", "(", ")", ";", "InitMCSubtargetInfo", "(", "X", ",", "TT", ",", "CPU", ",", "FS", ")", ";"], "ground_truth": ["return", "X", ";"], "File": "Dcpu16MCTargetDesc", "Func": "createDCPU16MCSubtargetInfo", "Target": "Dcpu16", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 118163, "Length": 23, "Cover_Rate": 0.5897435897435898} {"Template_token": ["", "static", "MCSubtargetInfo", "*", "createMCSubtargetInfo", "(", "StringRef", "TT", ",", "StringRef", "CPU", ",", "StringRef", "FS", ")", "{", "MCSubtargetInfo", "*", "X", "=", "new", "MCSubtargetInfo", "(", ")", ";", "InitMCSubtargetInfo", "(", "X", ",", "TT", ",", "CPU", ",", "FS", ")", ";"], "ground_truth": ["return", "X", ";"], "File": "Dcpu16MCTargetDesc", "Func": "createDCPU16MCSubtargetInfo", "Target": "Dcpu16", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 118164, "Length": 38, "Cover_Rate": 0.9743589743589743} {"Template_token": ["", "TargetRegistry", "::", "RegisterMCRegInfo", "(", "TheTarget", ",", "createMCRegisterInfo", ")", ";", "TargetRegistry", "::", "RegisterMCSubtargetInfo", "(", "TheTarget", ",", "createMCSubtargetInfo", ")", ";", "TargetRegistry", "::", "RegisterMCInstPrinter", "(", "TheTarget", ",", "createMCInstPrinter", ")", ";"], "ground_truth": ["}"], "File": "Dcpu16MCTargetDesc", "Func": "LLVMInitializeDCPU16TargetMC", "Target": "Dcpu16", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 118165, "Length": 28, "Cover_Rate": 0.4666666666666667} {"Template_token": ["", "Peephole", "(", ")", ":", "MachineFunctionPass", "(", "ID", ")", "{"], "ground_truth": ["}"], "File": "DCPU16Peephole", "Func": "DCPU16Peephole", "Target": "Dcpu16", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 118168, "Length": 10, "Cover_Rate": 1.0} {"Template_token": ["", "Peephole", "(", ")", ":", "MachineFunctionPass", "(", "ID", ")", "{"], "ground_truth": ["}"], "File": "DCPU16Peephole", "Func": "DCPU16Peephole", "Target": "Dcpu16", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 118169, "Length": 10, "Cover_Rate": 1.0} {"Template_token": ["", "const", "char", "*", "getPassName", "(", ")", "const", "{"], "ground_truth": ["return", "", ";"], "File": "DCPU16Peephole", "Func": "getPassName", "Target": "Dcpu16", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 118172, "Length": 11, "Cover_Rate": 0.9166666666666666} {"Template_token": ["", "for", "(", "MachineFunction", "::", "iterator", "mbbIter", "=", "MF", ".", "begin", "(", ")", ";", "mbbIter", "!=", "MF", ".", "end", "(", ")", ";", "++", "mbbIter", ")", "{", "MachineBasicBlock", "*", "mbb", "=", "mbbIter", ";", "if", "(", "!", "DisableOptBrcc", ")", "runOptBrcc", "(", "mbb", ")", ";", "}"], "ground_truth": ["return", "true", ";"], "File": "DCPU16Peephole", "Func": "runOnMachineFunction", "Target": "Dcpu16", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 118174, "Length": 45, "Cover_Rate": 0.4017857142857143} {"Template_token": ["", "MachineInstr", "*", "instruction", "=", "miiIter", ";", "switch", "(", "instruction", "->", "getOpcode", "(", ")", ")", "{", "case", "", ":", "case", "", ":", "{", "assert", "(", "instruction", "->", "getNumOperands", "(", ")", "==", "", ")", ";", "MachineOperand", "&", "result", "=", "instruction", "->", "getOperand", "(", "", ")", ";", "unsigned", "resultReg", "=", "result", ".", "getReg", "(", ")", ";", "if", "(", "TargetRegisterInfo", "::", "isVirtualRegister", "(", "resultReg", ")", ")", "peepholeMap", "[", "resultReg", "]", "=", "instruction", ";", "break", ";", "}", "case", "", ":", "{", "assert", "(", "instruction", "->", "getNumOperands", "(", ")", "==", "", ")", ";", "if", "(", "instruction", "->", "getOperand", "(", "", ")", ".", "getImm", "(", ")", "!=", "", ")", "break", ";", "MachineOperand", "&", "activeOperand", "=", "instruction", "->", "getOperand", "(", "", ")", ";", "unsigned", "activeReg", "=", "activeOperand", ".", "getReg", "(", ")", ";", "if", "(", "!", "activeOperand", ".", "isKill", "(", ")", "&&", "!", "activeOperand", ".", "isDead", "(", ")", ")", "break", ";", "if", "(", "MachineInstr", "*", "peepholeSource", "=", "peepholeMap", ".", "lookup", "(", "activeReg", ")", ")", "{", "if", "(", "instruction", "->", "getOperand", "(", "", ")", ".", "getImm", "(", ")", "==", "", ")", "{", "instruction", "->", "getOperand", "(", "", ")", ".", "setImm", "(", "", ")", ";", "}", "else", "if", "(", "instruction", "->", "getOperand", "(", "", ")", ".", "getImm", "(", ")", "==", "", ")", "{", "instruction", "->", "getOperand", "(", "", ")", ".", "setImm", "(", "", ")", ";", "}", "else", "{", "peepholeMap", ".", "erase", "(", "activeReg", ")", ";", "break", ";", "}", "swapOptBrcc", "(", "instruction", ",", "peepholeSource", ")", ";", "peepholeSource", "->", "eraseFromParent", "(", ")", ";", "}", "}", "}"], "ground_truth": ["}"], "File": "DCPU16Peephole", "Func": "runOptBrcc", "Target": "Dcpu16", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 118175, "Length": 244, "Cover_Rate": 0.8052805280528053} {"Template_token": ["", "MachineOperand", "&", "brA", "=", "brInstr", "->", "getOperand", "(", "", ")", ";", "MachineOperand", "&", "brB", "=", "brInstr", "->", "getOperand", "(", "", ")", ";", "MachineOperand", "&", "andA", "=", "andInstr", "->", "getOperand", "(", "", ")", ";", "MachineOperand", "&", "andB", "=", "andInstr", "->", "getOperand", "(", "", ")", ";", "if", "(", "andB", ".", "isReg", "(", ")", ")", "{", "brA", ".", "ChangeToRegister", "(", "andA", ".", "getReg", "(", ")", ",", "andA", ".", "isDef", "(", ")", ",", "andA", ".", "isImplicit", "(", ")", ",", "andA", ".", "isKill", "(", ")", ",", "andA", ".", "isDead", "(", ")", ",", "andA", ".", "isUndef", "(", ")", ",", "andA", ".", "isDebug", "(", ")", ")", ";", "brB", ".", "ChangeToRegister", "(", "andB", ".", "getReg", "(", ")", ",", "andB", ".", "isDef", "(", ")", ",", "andB", ".", "isImplicit", "(", ")", ",", "andB", ".", "isKill", "(", ")", ",", "andB", ".", "isDead", "(", ")", ",", "andB", ".", "isUndef", "(", ")", ",", "andB", ".", "isDebug", "(", ")", ")", ";", "return", "true", ";"], "ground_truth": ["}", "else", "if", "(", "andB", ".", "isImm", "(", ")", ")", "{"], "File": "DCPU16Peephole", "Func": "swapOptBrcc", "Target": "Dcpu16", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 118176, "Length": 161, "Cover_Rate": 0.6465863453815262} {"Template_token": ["", "Dcpu16RegisterInfo", "::", "Dcpu16RegisterInfo", "(", "const", "TargetInstrInfo", "&", "tii", ")", ":", "Dcpu16GenRegisterInfo", "(", "", ")", ",", "TII", "(", "tii", ")", "{"], "ground_truth": ["}"], "File": "Dcpu16RegisterInfo (2)", "Func": "Dcpu16RegisterInfo", "Target": "Dcpu16", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 118177, "Length": 21, "Cover_Rate": 0.9130434782608695} {"Template_token": ["", "Dcpu16RegisterInfo", "::", "Dcpu16RegisterInfo", "(", "const", "TargetInstrInfo", "&", "tii", ")", ":", "Dcpu16GenRegisterInfo", "(", "", ")", ",", "TII", "(", "tii", ")", "{"], "ground_truth": ["}"], "File": "Dcpu16RegisterInfo (2)", "Func": "Dcpu16RegisterInfo", "Target": "Dcpu16", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 118178, "Length": 21, "Cover_Rate": 0.9130434782608695} {"Template_token": ["", "static", "const", "uint16_t", "CalleeSavedRegs", "[", "]", "=", "{", "", "}", ";"], "ground_truth": ["return", "CalleeSavedRegs", ";"], "File": "Dcpu16RegisterInfo (2)", "Func": "getCalleeSavedRegs", "Target": "Dcpu16", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 118179, "Length": 14, "Cover_Rate": 0.4827586206896552} {"Template_token": ["", "llvm_unreachable", "(", "", ")", ";"], "ground_truth": ["}"], "File": "Dcpu16RegisterInfo (2)", "Func": "getEHExceptionRegister", "Target": "Dcpu16", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 118181, "Length": 6, "Cover_Rate": 0.42857142857142855} {"Template_token": ["", "unsigned", "Dcpu16RegisterInfo", "::", "getEHExceptionRegister", "(", ")", "const", "{"], "ground_truth": ["llvm_unreachable", "(", "", ")", ";"], "File": "Dcpu16RegisterInfo (2)", "Func": "getEHExceptionRegister", "Target": "Dcpu16", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 118182, "Length": 13, "Cover_Rate": 0.9285714285714286} {"Template_token": ["", "llvm_unreachable", "(", "", ")", ";"], "ground_truth": ["}"], "File": "Dcpu16RegisterInfo (2)", "Func": "getEHHandlerRegister", "Target": "Dcpu16", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 118183, "Length": 6, "Cover_Rate": 0.42857142857142855} {"Template_token": ["", "RegisterInfo", "::", "RegisterInfo", "(", "TargetMachine", "&", "tm", ",", "const", "TargetInstrInfo", "&", "tii", ")", ":", "GenRegisterInfo", "(", "", ")", ",", "TM", "(", "tm", ")", ",", "TII", "(", "tii", ")", "{", "StackAlign", "=", "TM", ".", "getFrameLowering", "(", ")", "->", "getStackAlignment", "(", ")", ";"], "ground_truth": ["}"], "File": "Dcpu16RegisterInfo", "Func": "DCPU16RegisterInfo", "Target": "Dcpu16", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 118186, "Length": 42, "Cover_Rate": 0.9545454545454546} {"Template_token": ["", "uint64_t", "Amount", "=", "Old", "->", "getOperand", "(", "", ")", ".", "getImm", "(", ")", ";", "if", "(", "Amount", "!=", "", ")", "{", "Amount", "=", "(", "Amount", "+", "StackAlign", "-", "", ")", "/", "StackAlign", "*", "StackAlign", ";", "MachineInstr", "*", "New", "=", "", ";", "if", "(", "Old", "->", "getOpcode", "(", ")", "==", "TII", ".", "getCallFrameSetupOpcode", "(", ")", ")", "{", "New", "=", "BuildMI", "(", "MF", ",", "Old", "->", "getDebugLoc", "(", ")", ",", "TII", ".", "get", "(", "", ")", ",", "", ")", ".", "addReg", "(", "", ")", ".", "addImm", "(", "Amount", ")", ";", "}", "else", "{", "assert", "(", "Old", "->", "getOpcode", "(", ")", "==", "TII", ".", "getCallFrameDestroyOpcode", "(", ")", ")", ";", "uint64_t", "CalleeAmt", "=", "Old", "->", "getOperand", "(", "", ")", ".", "getImm", "(", ")", ";", "Amount", "-=", "CalleeAmt", ";", "if", "(", "Amount", ")", "New", "=", "BuildMI", "(", "MF", ",", "Old", "->", "getDebugLoc", "(", ")", ",", "TII", ".", "get", "(", "", ")", ",", "", ")", ".", "addReg", "(", "", ")", ".", "addImm", "(", "Amount", ")", ";", "}", "if", "(", "New", ")", "{", "New", "->", "getOperand", "(", "", ")", ".", "setIsDead", "(", ")", ";", "MBB", ".", "insert", "(", "I", ",", "New", ")", ";", "}"], "ground_truth": ["}"], "File": "Dcpu16RegisterInfo", "Func": "eliminateCallFramePseudoInstr", "Target": "Dcpu16", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 118187, "Length": 188, "Cover_Rate": 0.5193370165745856} {"Template_token": ["", "unsigned", "i", "=", "", ";", "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", "(", ")", "&&", "", ")", ";", "}", "int", "FrameIndex", "=", "MI", ".", "getOperand", "(", "i", ")", ".", "getIndex", "(", ")", ";", "unsigned", "BasePtr", "=", "(", "TFI", "->", "hasFP", "(", "MF", ")", "?", "", ":", "", ")", ";", "int", "Offset", "=", "MF", ".", "getFrameInfo", "(", ")", "->", "getObjectOffset", "(", "FrameIndex", ")", ";", "Offset", "+=", "", ";", "if", "(", "!", "TFI", "->", "hasFP", "(", "MF", ")", ")", "Offset", "+=", "MF", ".", "getFrameInfo", "(", ")", "->", "getStackSize", "(", ")", ";", "Offset", "+=", "MI", ".", "getOperand", "(", "i", "+", "", ")", ".", "getImm", "(", ")", ";", "if", "(", "MI", ".", "getOpcode", "(", ")", "==", "", ")", "{", "MI", ".", "setDesc", "(", "TII", ".", "get", "(", "", ")", ")", ";"], "ground_truth": ["MI", ".", "getOperand", "(", "i", ")", ".", "ChangeToRegister", "(", "BasePtr", ",", "false", ")", ";"], "File": "Dcpu16RegisterInfo", "Func": "eliminateFrameIndex", "Target": "Dcpu16", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 118188, "Length": 212, "Cover_Rate": 0.5578947368421052} {"Template_token": ["", "", ",", "", ",", "", ",", "", ",", "", ",", "", "}", ";", "static", "const", "uint16_t", "CalleeSavedRegsIntr", "[", "]", "=", "{", "", ",", "", ",", "", ",", "", ",", "", ",", "", ",", "", ",", "", ",", "", "}", ";", "return", "(", "F", "->", "getCallingConv", "(", ")", "==", "CallingConv", "::", "_INTR", "?", "CalleeSavedRegsIntr", ":", "CalleeSavedRegs", ")", ";"], "ground_truth": ["}"], "File": "Dcpu16RegisterInfo", "Func": "getCalleeSavedRegs", "Target": "Dcpu16", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 118189, "Length": 58, "Cover_Rate": 0.49572649572649574} {"Template_token": ["", "const", "uint16_t", "*", "RegisterInfo", "::", "getCalleeSavedRegs", "(", "const", "MachineFunction", "*", "MF", ")", "const", "{", "const", "Function", "*", "F", "=", "MF", "->", "getFunction", "(", ")", ";", "static", "const", "uint16_t", "CalleeSavedRegs", "[", "]", "=", "{", "", ",", "", ",", "", ",", "", ",", "", ",", "", "}", ";"], "ground_truth": ["static", "const", "uint16_t", "CalleeSavedRegsIntr", "[", "]", "=", "{"], "File": "Dcpu16RegisterInfo", "Func": "getCalleeSavedRegs", "Target": "Dcpu16", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 118190, "Length": 54, "Cover_Rate": 0.46153846153846156} {"Template_token": ["", "switch", "(", "CallConv", ")", "{", "default", ":", "llvm_unreachable", "(", "", ")", ";", "case", "CallingConv", "::", "C", ":", "case", "CallingConv", "::", "Fast", ":", "return", "CSR__RegMask", ";"], "ground_truth": ["}"], "File": "Dcpu16RegisterInfo", "Func": "getCallPreservedMask", "Target": "Dcpu16", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 118191, "Length": 26, "Cover_Rate": 0.6341463414634146} {"Template_token": ["", "const", "uint32_t", "*", "RegisterInfo", "::", "getCallPreservedMask", "(", "CallingConv", "::", "ID", "CallConv", ")", "const", "{", "switch", "(", "CallConv", ")", "{", "default", ":", "llvm_unreachable", "(", "", ")", ";", "case", "CallingConv", "::", "C", ":", "case", "CallingConv", "::", "Fast", ":", "return", "CSR__RegMask", ";", "}"], "ground_truth": ["}"], "File": "Dcpu16RegisterInfo", "Func": "getCallPreservedMask", "Target": "Dcpu16", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 118192, "Length": 41, "Cover_Rate": 1.0} {"Template_token": ["", "const", "TargetFrameLowering", "*", "TFI", "=", "MF", ".", "getTarget", "(", ")", ".", "getFrameLowering", "(", ")", ";", "return", "TFI", "->", "hasFP", "(", "MF", ")", "?", "", ":", "", ";"], "ground_truth": ["}"], "File": "Dcpu16RegisterInfo", "Func": "getFrameRegister", "Target": "Dcpu16", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 118194, "Length": 28, "Cover_Rate": 0.6363636363636364} {"Template_token": ["", "Reserved", ".", "set", "(", "", ")", ";"], "ground_truth": ["if", "(", "TFI", "->", "hasFP", "(", "MF", ")", ")", "Reserved", ".", "set", "(", "", ")", ";"], "File": "Dcpu16RegisterInfo", "Func": "getReservedRegs", "Target": "Dcpu16", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 118197, "Length": 23, "Cover_Rate": 0.30666666666666664} {"Template_token": ["", "BitVector", "RegisterInfo", "::", "getReservedRegs", "(", "const", "MachineFunction", "&", "MF", ")", "const", "{", "BitVector", "Reserved", "(", "getNumRegs", "(", ")", ")", ";", "const", "TargetFrameLowering", "*", "TFI", "=", "MF", ".", "getTarget", "(", ")", ".", "getFrameLowering", "(", ")", ";", "Reserved", ".", "set", "(", "", ")", ";", "Reserved", ".", "set", "(", "", ")", ";", "if", "(", "TFI", "->", "hasFP", "(", "MF", ")", ")", "Reserved", ".", "set", "(", "", ")", ";"], "ground_truth": ["return", "Reserved", ";"], "File": "Dcpu16RegisterInfo", "Func": "getReservedRegs", "Target": "Dcpu16", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 118198, "Length": 68, "Cover_Rate": 0.9066666666666666} {"Template_token": ["", "SelectionDAGInfo", "::", "SelectionDAGInfo", "(", "const", "TargetMachine", "&", "TM", ")", ":", "TargetSelectionDAGInfo", "(", "TM", ")", "{"], "ground_truth": ["}"], "File": "Dcpu16SelectionDAGInfo", "Func": "DCPU16SelectionDAGInfo", "Target": "Dcpu16", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 118199, "Length": 16, "Cover_Rate": 1.0} {"Template_token": ["", "SelectionDAGInfo", "::", "SelectionDAGInfo", "(", "const", "TargetMachine", "&", "TM", ")", ":", "TargetSelectionDAGInfo", "(", "TM", ")", "{"], "ground_truth": ["}"], "File": "Dcpu16SelectionDAGInfo", "Func": "DCPU16SelectionDAGInfo", "Target": "Dcpu16", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 118200, "Length": 16, "Cover_Rate": 1.0} {"Template_token": ["", "SelectionDAGInfo", "::", "~", "SelectionDAGInfo", "(", ")", "{"], "ground_truth": ["}"], "File": "Dcpu16SelectionDAGInfo", "Func": "~DCPU16SelectionDAGInfo", "Target": "Dcpu16", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 118201, "Length": 8, "Cover_Rate": 1.0} {"Template_token": ["", "SelectionDAGInfo", "::", "~", "SelectionDAGInfo", "(", ")", "{"], "ground_truth": ["}"], "File": "Dcpu16SelectionDAGInfo", "Func": "~DCPU16SelectionDAGInfo", "Target": "Dcpu16", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 118202, "Length": 8, "Cover_Rate": 1.0} {"Template_token": ["", "void", "Subtarget", "::", "anchor", "(", ")", "{"], "ground_truth": ["}"], "File": "Dcpu16Subtarget", "Func": "anchor", "Target": "Dcpu16", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 118203, "Length": 8, "Cover_Rate": 1.0} {"Template_token": ["", "void", "Subtarget", "::", "anchor", "(", ")", "{"], "ground_truth": ["}"], "File": "Dcpu16Subtarget", "Func": "anchor", "Target": "Dcpu16", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 118204, "Length": 8, "Cover_Rate": 1.0} {"Template_token": ["", "Subtarget", "::", "Subtarget", "(", "const", "std", "::", "string", "&", "TT", ",", "const", "std", "::", "string", "&", "CPU", ",", "const", "std", "::", "string", "&", "FS", ")", ":"], "ground_truth": ["GenSubtargetInfo", "(", "TT", ",", "CPU", ",", "FS", ")", "{"], "File": "Dcpu16Subtarget", "Func": "DCPU16Subtarget", "Target": "Dcpu16", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 118205, "Length": 35, "Cover_Rate": 0.7} {"Template_token": ["", "GenSubtargetInfo", "(", "TT", ",", "CPU", ",", "FS", ")", "{", "std", "::", "string", "CPUName", "=", "", ";"], "ground_truth": ["ParseSubtargetFeatures", "(", "CPUName", ",", "FS", ")", ";"], "File": "Dcpu16Subtarget", "Func": "DCPU16Subtarget", "Target": "Dcpu16", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 118206, "Length": 23, "Cover_Rate": 0.46} {"Template_token": ["", "RegisterTarget", "<", "Triple", "::", "dcpu16", ">", "X", "(", "TheDcpu16Target", ",", "", ",", "", ")", ";"], "ground_truth": ["}"], "File": "Dcpu16TargetInfo (2)", "Func": "LLVMInitializeDcpu16TargetInfo", "Target": "Dcpu16", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 118207, "Length": 16, "Cover_Rate": 0.7619047619047619} {"Template_token": ["", "void", "LLVMInitializeDcpu16TargetInfo", "(", ")", "{", "RegisterTarget", "<", "Triple", "::", "dcpu16", ">", "X", "(", "TheDcpu16Target", ",", "", ",", "", ")", ";"], "ground_truth": ["}"], "File": "Dcpu16TargetInfo (2)", "Func": "LLVMInitializeDcpu16TargetInfo", "Target": "Dcpu16", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 118208, "Length": 21, "Cover_Rate": 1.0} {"Template_token": ["", "RegisterTarget", "<", "Triple", "::", "dcpu16", ">", "X", "(", "TheTarget", ",", "", ",", "", ")", ";"], "ground_truth": ["}"], "File": "Dcpu16TargetInfo", "Func": "LLVMInitializeDCPU16TargetInfo", "Target": "Dcpu16", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 118209, "Length": 16, "Cover_Rate": 0.7619047619047619} {"Template_token": ["", "RegisterTarget", "<", "Triple", "::", "dcpu16", ">", "X", "(", "TheTarget", ",", "", ",", "", ")", ";"], "ground_truth": ["}"], "File": "Dcpu16TargetInfo", "Func": "LLVMInitializeDCPU16TargetInfo", "Target": "Dcpu16", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 118210, "Length": 16, "Cover_Rate": 0.7619047619047619} {"Template_token": ["", "bool", "Dcpu16PassConfig", "::", "addInstSelector", "(", ")", "{", "PM", ".", "add", "(", "createDcpu16ISelDag", "(", "getDcpu16TargetMachine", "(", ")", ")", ")", ";", "return", "false", ";"], "ground_truth": ["}"], "File": "Dcpu16TargetMachine (2)", "Func": "addInstSelector", "Target": "Dcpu16", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 118211, "Length": 23, "Cover_Rate": 1.0} {"Template_token": ["", "bool", "Dcpu16PassConfig", "::", "addPreEmitPass", "(", ")", "{", "return", "false", ";"], "ground_truth": ["}"], "File": "Dcpu16TargetMachine (2)", "Func": "addPreEmitPass", "Target": "Dcpu16", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 118213, "Length": 11, "Cover_Rate": 1.0} {"Template_token": ["", "return", "new", "Dcpu16PassConfig", "(", "this", ",", "PM", ")", ";"], "ground_truth": ["}"], "File": "Dcpu16TargetMachine (2)", "Func": "createPassConfig", "Target": "Dcpu16", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 118214, "Length": 10, "Cover_Rate": 0.47619047619047616} {"Template_token": ["", "Dcpu16PassConfig", "(", "Dcpu16TargetMachine", "*", "TM", ",", "PassManagerBase", "&", "PM", ")", ":", "TargetPassConfig", "(", "TM", ",", "PM", ")", "{"], "ground_truth": ["}"], "File": "Dcpu16TargetMachine (2)", "Func": "Dcpu16PassConfig", "Target": "Dcpu16", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 118216, "Length": 19, "Cover_Rate": 1.0} {"Template_token": ["", "Dcpu16PassConfig", "(", "Dcpu16TargetMachine", "*", "TM", ",", "PassManagerBase", "&", "PM", ")", ":", "TargetPassConfig", "(", "TM", ",", "PM", ")", "{"], "ground_truth": ["}"], "File": "Dcpu16TargetMachine (2)", "Func": "Dcpu16PassConfig", "Target": "Dcpu16", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 118217, "Length": 19, "Cover_Rate": 1.0} {"Template_token": ["", "Dcpu16TargetMachine", "(", "const", "Target", "&", "T", ",", "StringRef", "TT", ",", "StringRef", "CPU", ",", "StringRef", "FS", ",", "const", "TargetOptions", "&", "Options", ",", "Reloc", "::", "Model", "RM", ",", "CodeModel", "::", "Model", "CM", ",", "CodeGenOpt", "::", "Level", "OL", ")", ":", "LLVMTargetMachine", "(", "T", ",", "TT", ",", "CPU", ",", "FS", ",", "Options", ",", "RM", ",", "CM", ",", "OL", ")", ",", "DataLayout", "(", "", ")", ",", "TLInfo", "(", "*", "this", ")", ",", "TSInfo", "(", "*", "this", ")", ",", "InstrInfo", "(", "*", "this", ")", ",", "FrameLowering", "(", ")", "{"], "ground_truth": ["}"], "File": "Dcpu16TargetMachine (2)", "Func": "Dcpu16TargetMachine", "Target": "Dcpu16", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 118218, "Length": 84, "Cover_Rate": 0.9767441860465116} {"Template_token": ["", "virtual", "const", "TargetFrameLowering", "*", "getFrameLowering", "(", ")", "const", "{"], "ground_truth": ["return", "&", "FrameLowering", ";"], "File": "Dcpu16TargetMachine (2)", "Func": "getFrameLowering", "Target": "Dcpu16", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 118223, "Length": 13, "Cover_Rate": 0.9285714285714286} {"Template_token": ["", "virtual", "const", "Dcpu16InstrInfo", "*", "getInstrInfo", "(", ")", "const", "{", "return", "&", "InstrInfo", ";"], "ground_truth": ["}"], "File": "Dcpu16TargetMachine (2)", "Func": "getInstrInfo", "Target": "Dcpu16", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 118224, "Length": 14, "Cover_Rate": 1.0} {"Template_token": ["", "virtual", "const", "Dcpu16InstrInfo", "*", "getInstrInfo", "(", ")", "const", "{", "return", "&", "InstrInfo", ";"], "ground_truth": ["}"], "File": "Dcpu16TargetMachine (2)", "Func": "getInstrInfo", "Target": "Dcpu16", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 118225, "Length": 14, "Cover_Rate": 1.0} {"Template_token": ["", "return", "&", "TSInfo", ";"], "ground_truth": ["}"], "File": "Dcpu16TargetMachine (2)", "Func": "getSelectionDAGInfo", "Target": "Dcpu16", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 118228, "Length": 5, "Cover_Rate": 0.35714285714285715} {"Template_token": ["", "return", "&", "TSInfo", ";"], "ground_truth": ["}"], "File": "Dcpu16TargetMachine (2)", "Func": "getSelectionDAGInfo", "Target": "Dcpu16", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 118229, "Length": 5, "Cover_Rate": 0.35714285714285715} {"Template_token": ["", "return", "&", "DataLayout", ";"], "ground_truth": ["}"], "File": "Dcpu16TargetMachine (2)", "Func": "getTargetData", "Target": "Dcpu16", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 118230, "Length": 5, "Cover_Rate": 0.35714285714285715} {"Template_token": ["", "virtual", "const", "TargetData", "*", "getTargetData", "(", ")", "const", "{", "return", "&", "DataLayout", ";"], "ground_truth": ["}"], "File": "Dcpu16TargetMachine (2)", "Func": "getTargetData", "Target": "Dcpu16", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 118231, "Length": 14, "Cover_Rate": 1.0} {"Template_token": ["", "return", "&", "TLInfo", ";"], "ground_truth": ["}"], "File": "Dcpu16TargetMachine (2)", "Func": "getTargetLowering", "Target": "Dcpu16", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 118232, "Length": 5, "Cover_Rate": 0.35714285714285715} {"Template_token": ["", "return", "&", "TLInfo", ";"], "ground_truth": ["}"], "File": "Dcpu16TargetMachine (2)", "Func": "getTargetLowering", "Target": "Dcpu16", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 118233, "Length": 5, "Cover_Rate": 0.35714285714285715} {"Template_token": ["", "void", "LLVMInitializeDcpu16Target", "(", ")", "{"], "ground_truth": ["RegisterTargetMachine", "<", "Dcpu16TargetMachine", ">", "X", "(", "TheDcpu16Target", ")", ";"], "File": "Dcpu16TargetMachine (2)", "Func": "LLVMInitializeDcpu16Target", "Target": "Dcpu16", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 118234, "Length": 14, "Cover_Rate": 0.9333333333333333} {"Template_token": ["", "void", "LLVMInitializeDcpu16Target", "(", ")", "{", "RegisterTargetMachine", "<", "Dcpu16TargetMachine", ">", "X", "(", "TheDcpu16Target", ")", ";"], "ground_truth": ["}"], "File": "Dcpu16TargetMachine (2)", "Func": "LLVMInitializeDcpu16Target", "Target": "Dcpu16", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 118235, "Length": 15, "Cover_Rate": 1.0} {"Template_token": ["", "bool", "PassConfig", "::", "addInstSelector", "(", ")", "{"], "ground_truth": ["addPass", "(", "createISelDag", "(", "getTargetMachine", "(", ")", ",", "getOptLevel", "(", ")", ")", ")", ";"], "File": "Dcpu16TargetMachine", "Func": "addInstSelector", "Target": "Dcpu16", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 118236, "Length": 21, "Cover_Rate": 0.65625} {"Template_token": ["", "PassConfig", "(", "TargetMachine", "*", "TM", ",", "PassManagerBase", "&", "PM", ")", ":", "TargetPassConfig", "(", "TM", ",", "PM", ")", "{"], "ground_truth": ["}"], "File": "Dcpu16TargetMachine", "Func": "DCPU16PassConfig", "Target": "Dcpu16", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 118239, "Length": 19, "Cover_Rate": 1.0} {"Template_token": ["", "PassConfig", "(", "TargetMachine", "*", "TM", ",", "PassManagerBase", "&", "PM", ")", ":", "TargetPassConfig", "(", "TM", ",", "PM", ")", "{"], "ground_truth": ["}"], "File": "Dcpu16TargetMachine", "Func": "DCPU16PassConfig", "Target": "Dcpu16", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 118240, "Length": 19, "Cover_Rate": 1.0} {"Template_token": ["", "TargetMachine", "::", "TargetMachine", "(", "const", "Target", "&", "T", ",", "StringRef", "TT", ",", "StringRef", "CPU", ",", "StringRef", "FS", ",", "const", "TargetOptions", "&", "Options", ",", "Reloc", "::", "Model", "RM", ",", "CodeModel", "::", "Model", "CM", ",", "CodeGenOpt", "::", "Level", "OL", ")", ":", "LLVMTargetMachine", "(", "T", ",", "TT", ",", "CPU", ",", "FS", ",", "Options", ",", "RM", ",", "CM", ",", "OL", ")", ",", "Subtarget", "(", "TT", ",", "CPU", ",", "FS", ")", ",", "DataLayout", "(", "", ",", "", ")", ",", "InstrInfo", "(", "*", "this", ")", ",", "TLInfo", "(", "*", "this", ")", ",", "TSInfo", "(", "*", "this", ")", ",", "FrameLowering", "(", "Subtarget", ")", "{"], "ground_truth": ["}"], "File": "Dcpu16TargetMachine", "Func": "DCPU16TargetMachine", "Target": "Dcpu16", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 118241, "Length": 98, "Cover_Rate": 1.0} {"Template_token": ["", "TargetMachine", "::", "TargetMachine", "(", "const", "Target", "&", "T", ",", "StringRef", "TT", ",", "StringRef", "CPU", ",", "StringRef", "FS", ",", "const", "TargetOptions", "&", "Options", ",", "Reloc", "::", "Model", "RM", ",", "CodeModel", "::", "Model", "CM", ",", "CodeGenOpt", "::", "Level", "OL", ")", ":", "LLVMTargetMachine", "(", "T", ",", "TT", ",", "CPU", ",", "FS", ",", "Options", ",", "RM", ",", "CM", ",", "OL", ")", ",", "Subtarget", "(", "TT", ",", "CPU", ",", "FS", ")", ",", "DataLayout", "(", "", ",", "", ")", ",", "InstrInfo", "(", "*", "this", ")", ",", "TLInfo", "(", "*", "this", ")", ",", "TSInfo", "(", "*", "this", ")", ",", "FrameLowering", "(", "Subtarget", ")", "{"], "ground_truth": ["}"], "File": "Dcpu16TargetMachine", "Func": "DCPU16TargetMachine", "Target": "Dcpu16", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 118242, "Length": 98, "Cover_Rate": 1.0} {"Template_token": ["", "return", "getTM", "<", "TargetMachine", ">", "(", ")", ";"], "ground_truth": ["}"], "File": "Dcpu16TargetMachine", "Func": "getDCPU16TargetMachine", "Target": "Dcpu16", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 118243, "Length": 9, "Cover_Rate": 0.5625} {"Template_token": ["", "return", "&", "InstrInfo", ";"], "ground_truth": ["}"], "File": "Dcpu16TargetMachine", "Func": "getInstrInfo", "Target": "Dcpu16", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 118245, "Length": 5, "Cover_Rate": 0.35714285714285715} {"Template_token": ["", "virtual", "const", "InstrInfo", "*", "getInstrInfo", "(", ")", "const", "{", "return", "&", "InstrInfo", ";"], "ground_truth": ["}"], "File": "Dcpu16TargetMachine", "Func": "getInstrInfo", "Target": "Dcpu16", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 118246, "Length": 14, "Cover_Rate": 1.0} {"Template_token": ["", "return", "&", "InstrInfo", ".", "getRegisterInfo", "(", ")", ";"], "ground_truth": ["}"], "File": "Dcpu16TargetMachine", "Func": "getRegisterInfo", "Target": "Dcpu16", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 118247, "Length": 9, "Cover_Rate": 0.5} {"Template_token": ["", "return", "&", "TSInfo", ";"], "ground_truth": ["}"], "File": "Dcpu16TargetMachine", "Func": "getSelectionDAGInfo", "Target": "Dcpu16", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 118249, "Length": 5, "Cover_Rate": 0.35714285714285715} {"Template_token": ["", "return", "&", "TSInfo", ";"], "ground_truth": ["}"], "File": "Dcpu16TargetMachine", "Func": "getSelectionDAGInfo", "Target": "Dcpu16", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 118250, "Length": 5, "Cover_Rate": 0.35714285714285715} {"Template_token": ["", "virtual", "const", "Subtarget", "*", "getSubtargetImpl", "(", ")", "const", "{"], "ground_truth": ["return", "&", "Subtarget", ";"], "File": "Dcpu16TargetMachine", "Func": "getSubtargetImpl", "Target": "Dcpu16", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 118251, "Length": 13, "Cover_Rate": 0.9285714285714286} {"Template_token": ["", "virtual", "const", "TargetData", "*", "getTargetData", "(", ")", "const", "{"], "ground_truth": ["return", "&", "DataLayout", ";"], "File": "Dcpu16TargetMachine", "Func": "getTargetData", "Target": "Dcpu16", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 118252, "Length": 13, "Cover_Rate": 0.9285714285714286} {"Template_token": ["", "return", "&", "DataLayout", ";"], "ground_truth": ["}"], "File": "Dcpu16TargetMachine", "Func": "getTargetData", "Target": "Dcpu16", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 118253, "Length": 5, "Cover_Rate": 0.35714285714285715} {"Template_token": ["", "return", "&", "TLInfo", ";"], "ground_truth": ["}"], "File": "Dcpu16TargetMachine", "Func": "getTargetLowering", "Target": "Dcpu16", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 118254, "Length": 5, "Cover_Rate": 0.35714285714285715} {"Template_token": ["", "RegisterTargetMachine", "<", "TargetMachine", ">", "X", "(", "TheTarget", ")", ";"], "ground_truth": ["}"], "File": "Dcpu16TargetMachine", "Func": "LLVMInitializeDCPU16Target", "Target": "Dcpu16", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 118256, "Length": 10, "Cover_Rate": 0.6666666666666666} {"Template_token": ["", "RegisterTargetMachine", "<", "TargetMachine", ">", "X", "(", "TheTarget", ")", ";"], "ground_truth": ["}"], "File": "Dcpu16TargetMachine", "Func": "LLVMInitializeDCPU16Target", "Target": "Dcpu16", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 118257, "Length": 10, "Cover_Rate": 0.6666666666666666}