{"Template_token": ["", "void", "AsmBackend", "::", "applyFixup", "(", "const", "MCFixup", "&", "Fixup", ",", "char", "*", "Data", ",", "unsigned", "DataSize", ",", "uint64_t", "Value", ",", "bool", "isPCRel", ")", "const", "{", "unsigned", "NumBytes", "=", "", ";", "Value", "=", "adjustFixupValue", "(", "Fixup", ",", "Value", ")", ";", "if", "(", "!"], "ground_truth": ["Value", ")", "{"], "File": "LC3AsmBackend", "Func": "applyFixup", "Target": "LC3", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 67768, "Length": 45, "Cover_Rate": 0.4205607476635514} {"Template_token": ["", "for", "(", "unsigned", "i", "=", "", ";", "i", "!=", "NumBytes", ";", "++", "i", ")", "{", "Data", "[", "Offset", "+", "i", "]", "|=", "uint8_t", "(", "(", "Value", ">>", "("], "ground_truth": ["i", "*", "", ")", ")", "&", "", ")", ";"], "File": "LC3AsmBackend", "Func": "applyFixup", "Target": "LC3", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 67769, "Length": 37, "Cover_Rate": 0.34579439252336447} {"Template_token": ["", "const", "uint8_t", "ABI", "=", "MCELFObjectTargetWriter", "::", "getOSABI", "(", "TT", ".", "getOS", "(", ")", ")", ";", "return", "new", "ELFAsmBackend", "(", "T", ",", "TT", ".", "getTriple", "(", ")"], "ground_truth": [",", "ABI", ")", ";"], "File": "LC3AsmBackend", "Func": "createLC3AsmBackend", "Target": "LC3", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 67770, "Length": 30, "Cover_Rate": 0.5357142857142857} {"Template_token": ["", "return", "createELFObjectWriter", "(", "OS", ","], "ground_truth": ["OSABI", ")", ";"], "File": "LC3AsmBackend", "Func": "createObjectWriter", "Target": "LC3", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 67771, "Length": 8, "Cover_Rate": 0.4} {"Template_token": ["", "return", "createELFObjectWriter", "(", "OS", ",", "OSABI", ")"], "ground_truth": [";"], "File": "LC3AsmBackend", "Func": "createObjectWriter", "Target": "LC3", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 67772, "Length": 8, "Cover_Rate": 0.4} {"Template_token": ["", "bool", "fixupNeedsRelaxation", "(", "const", "MCFixup", "&", "Fixup", ",", "uint64_t", "Value", ",", "const", "MCRelaxableFragment", "*", "DF", ",", "const"], "ground_truth": ["MCAsmLayout", "&", "Layout", ")", "const", "override", "{"], "File": "LC3AsmBackend", "Func": "fixupNeedsRelaxation", "Target": "LC3", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 67773, "Length": 24, "Cover_Rate": 0.8571428571428571} {"Template_token": ["", "const", "static", "MCFixupKindInfo", "Infos", "[", "", "]", "=", "{", "{", "", ",", "", ",", "", ",", "MCFixupKindInfo", "::", "FKF_IsPCRel", "}", ",", "{", "", ",", "", ",", "", ",", "MCFixupKindInfo", "::", "FKF_IsPCRel", "}", ",", "}", ";", "if", "(", "Kind", "<", "FirstTargetFixupKind", ")", "{", "return", "MCAsmBackend", "::", "getFixupKindInfo", "(", "Kind", ")", ";", "}", "assert", "(", "unsigned", "(", "Kind", "-", "FirstTargetFixupKind", ")", "<", "getNumFixupKinds", "("], "ground_truth": [")", "&&", "", ")", ";"], "File": "LC3AsmBackend", "Func": "getFixupKindInfo", "Target": "LC3", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 67774, "Length": 67, "Cover_Rate": 0.7528089887640449} {"Template_token": ["", "unsigned", "getNumFixupKinds", "(", ")", "const", "override", "{", "return"], "ground_truth": ["", ";"], "File": "LC3AsmBackend", "Func": "getNumFixupKinds", "Target": "LC3", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 67775, "Length": 10, "Cover_Rate": 0.7692307692307693} {"Template_token": ["", "unsigned", "getPointerSize", "(", ")", "const", "{", "return", ""], "ground_truth": [";"], "File": "LC3AsmBackend", "Func": "getPointerSize", "Target": "LC3", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 67776, "Length": 9, "Cover_Rate": 0.9} {"Template_token": ["", "bool", "mayNeedRelaxation", "(", "const", "MCInst", "&", "Inst", ")", "const", "override", "{", "return", "false"], "ground_truth": [";"], "File": "LC3AsmBackend", "Func": "mayNeedRelaxation", "Target": "LC3", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 67777, "Length": 14, "Cover_Rate": 0.9333333333333333} {"Template_token": ["", "void", "AsmBackend", "::", "processFixupValue", "(", "const", "MCAssembler", "&", "Asm", ",", "const", "MCAsmLayout", "&", "Layout", ",", "const", "MCFixup", "&", "Fixup", ",", "const", "MCFragment", "*", "DF", ",", "const", "MCValue", "&", "Target", ",", "uint64_t", "&", "Value", ",", "bool", "&", "IsResolved", ")", "{", "IsResolved", "=", "true", ";", "(", "void", ")", "adjustFixupValue", "(", "Fixup", ",", "Value", ",", "&", "Asm", ".", "getContext"], "ground_truth": ["(", ")", ")", ";"], "File": "LC3AsmBackend", "Func": "processFixupValue", "Target": "LC3", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 67778, "Length": 60, "Cover_Rate": 0.9836065573770492} {"Template_token": ["", "bool", "writeNopData", "(", "uint64_t", "Count", ",", "MCObjectWriter", "*", "OW", ")", "const", "override", "{", "if", "(", "Count", "==", "", ")", "{", "return", "true", ";", "}", "return"], "ground_truth": ["false", ";"], "File": "LC3AsmBackend", "Func": "writeNopData", "Target": "LC3", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 67779, "Length": 27, "Cover_Rate": 0.9642857142857143} {"Template_token": ["", "MCInstLowering", ".", "Initialize", "(", "Mang", ",", "&", "MF", "->", "getContext", "("], "ground_truth": [")", ")", ";"], "File": "LC3AsmPrinter", "Func": "EmitFunctionBodyStart", "Target": "LC3", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 67780, "Length": 14, "Cover_Rate": 0.6363636363636364} {"Template_token": ["", "void", "AsmPrinter", "::", "EmitFunctionEntryLabel", "("], "ground_truth": [")", "{"], "File": "LC3AsmPrinter", "Func": "EmitFunctionEntryLabel", "Target": "LC3", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 67781, "Length": 7, "Cover_Rate": 0.4666666666666667} {"Template_token": ["", "void", "AsmPrinter", "::", "EmitInstruction", "(", "const", "MachineInstr", "*", "MI", ")", "{", "MCInst", "TmpInst"], "ground_truth": [";"], "File": "LC3AsmPrinter", "Func": "EmitInstruction", "Target": "LC3", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 67782, "Length": 14, "Cover_Rate": 0.4375} {"Template_token": ["", "MCELFObjectTargetWriter", "*", "MOTW", "=", "new", "ELFObjectWriter", "(", "OSABI", ")", ";", "return", "createELFObjectWriter", "(", "MOTW", ","], "ground_truth": ["OS", ",", "true", ")", ";"], "File": "LC3ELFObjectWriter", "Func": "createLC3ELFObjectWriter", "Target": "LC3", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 67783, "Length": 20, "Cover_Rate": 0.5714285714285714} {"Template_token": ["", "void", "FrameLowering", "::", "eliminateCallFramePseudoInstr", "(", "MachineFunction", "&", "MF", ",", "MachineBasicBlock", "&", "MBB", ",", "MachineBasicBlock"], "ground_truth": ["::", "iterator", "I", ")", "const", "{"], "File": "LC3FrameLowering", "Func": "eliminateCallFramePseudoInstr", "Target": "LC3", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 67784, "Length": 20, "Cover_Rate": 0.37037037037037035} {"Template_token": ["", "return", ";", "}", "unsigned", "StackReg", "=", "", ";", "unsigned", "OffsetReg", "=", "materializeOffset", "(", "MF", ",", "MBB", ",", "MBBI", ",", "(", "unsigned", ")", "StackSize", ")", ";", "if", "(", "OffsetReg", ")", "{", "BuildMI", "(", "MBB", ",", "MBBI", ",", "dl", ",", "TII", ".", "get", "(", "", ")", ",", "StackReg", ")", ".", "addReg", "(", "StackReg", ")", ".", "addReg", "(", "OffsetReg", ")", ".", "setMIFlag", "(", "MachineInstr"], "ground_truth": ["::", "FrameSetup", ")", ";"], "File": "LC3FrameLowering", "Func": "emitEpilogue", "Target": "LC3", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 67785, "Length": 65, "Cover_Rate": 0.3693181818181818} {"Template_token": ["", "uint64_t", "StackSize", "=", "computeStackSize", "(", "MF", ")", ";", "if", "(", "!", "StackSize", ")", "{", "return", ";", "}", "unsigned", "StackReg", "=", "", ";", "unsigned", "OffsetReg", "=", "materializeOffset", "(", "MF", ",", "MBB", ",", "MBBI", ",", "(", "unsigned", ")", "StackSize", ")", ";", "if", "(", "OffsetReg", ")", "{", "BuildMI", "(", "MBB", ",", "MBBI", ",", "dl", ",", "TII", ".", "get", "(", "", ")", ",", "StackReg", ")", ".", "addReg", "(", "StackReg", ")", ".", "addReg", "(", "OffsetReg", ")", ".", "setMIFlag", "(", "MachineInstr", "::", "FrameSetup", ")", ";", "}", "else"], "ground_truth": ["{"], "File": "LC3FrameLowering", "Func": "emitPrologue", "Target": "LC3", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 67786, "Length": 82, "Cover_Rate": 0.43386243386243384} {"Template_token": ["", "bool", "FrameLowering", "::", "hasFP", "(", "const", "MachineFunction"], "ground_truth": ["&", "MF", ")", "const", "{"], "File": "LC3FrameLowering", "Func": "hasFP", "Target": "LC3", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 67787, "Length": 12, "Cover_Rate": 0.32432432432432434} {"Template_token": ["", "return", "MF", ".", "getTarget", "(", ")", ".", "Options", ".", "DisableFramePointerElim", "(", "MF", ")", "||", "MF", "."], "ground_truth": ["getFrameInfo", "(", ")", "->", "hasVarSizedObjects", "(", ")", ";"], "File": "LC3FrameLowering", "Func": "hasFP", "Target": "LC3", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 67788, "Length": 24, "Cover_Rate": 0.6486486486486487} {"Template_token": ["", "static", "int", "stackSlotSize", "("], "ground_truth": [")", "{"], "File": "LC3FrameLowering", "Func": "stackSlotSize", "Target": "LC3", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 67789, "Length": 6, "Cover_Rate": 0.6} {"Template_token": ["", "void", "InstPrinter", "::", "printAddrModeMemSrc", "(", "const", "MCInst", "*", "MI", ",", "unsigned", "OpNum", ",", "raw_ostream", "&", "O", ")", "{", "const", "MCOperand", "&", "Op1", "=", "MI", "->"], "ground_truth": ["getOperand", "(", "OpNum", ")", ";"], "File": "LC3InstPrinter", "Func": "printAddrModeMemSrc", "Target": "LC3", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 67790, "Length": 30, "Cover_Rate": 0.4} {"Template_token": ["", "const", "MCOperand", "&", "Op", "=", "MI", "->", "getOperand", "(", "OpNum", ")", ";", "", "CC", "=", "(", "", ")", "Op", ".", "getImm", "(", ")", ";", "const", "char", "*", "Str", "="], "ground_truth": ["condCodeToString", "(", "CC", ")", ";"], "File": "LC3InstPrinter", "Func": "printCondCode", "Target": "LC3", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 67791, "Length": 34, "Cover_Rate": 0.5573770491803278} {"Template_token": ["", "", "CC", "=", "(", "", ")", "Op", ".", "getImm", "(", ")", ";", "const", "char", "*", "Str", "=", "condCodeToString", "(", "CC"], "ground_truth": [")", ";"], "File": "LC3InstPrinter", "Func": "printCondCode", "Target": "LC3", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 67792, "Length": 22, "Cover_Rate": 0.36065573770491804} {"Template_token": ["", "void", "InstPrinter", "::", "printInst", "(", "const", "MCInst", "*", "MI", ",", "raw_ostream", "&", "O", ",", "StringRef", "Annot", ",", "const", "MCSubtargetInfo", "&", "STI", ")", "{", "printInstruction", "(", "MI", ",", "O"], "ground_truth": [")", ";"], "File": "LC3InstPrinter", "Func": "printInst", "Target": "LC3", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 67793, "Length": 30, "Cover_Rate": 0.7894736842105263} {"Template_token": ["", "}", "if", "(", "Op", ".", "isImm", "(", ")", ")", "{", "if", "(", "getOpcodeName", "(", "MI", "->", "getOpcode", "(", ")", ")", "==", "", "||", "getOpcodeName", "(", "MI", "->", "getOpcode", "(", ")", ")", "==", "", ")", "O", "<<", "", "<<", "MCInstPrinter", "::", "formatHex", "(", "Op", ".", "getImm", "(", ")", ")", ";", "else", "O", "<<", "", "<<", "Op", ".", "getImm", "(", ")", ";", "return", ";", "}", "assert", "(", "Op", ".", "isExpr", "(", ")", "&&"], "ground_truth": ["", ")", ";"], "File": "LC3InstPrinter", "Func": "printOperand", "Target": "LC3", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 67794, "Length": 74, "Cover_Rate": 0.5362318840579711} {"Template_token": ["", "BuildMI", "(", "MBB", ",", "I", ",", "I", "->", "getDebugLoc", "(", ")", ",", "get", "(", "", ")", ",", "DestReg", ")", ".", "addReg", "(", "SrcReg", ","], "ground_truth": ["getKillRegState", "(", "KillSrc", ")", ")", ".", "addImm", "(", "", ")", ";"], "File": "LC3InstrInfo", "Func": "copyPhysReg", "Target": "LC3", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 67795, "Length": 35, "Cover_Rate": 0.5303030303030303} {"Template_token": ["", "BuildMI", "(", "MBB", ",", "I", ",", "I", "->", "getDebugLoc", "(", ")", ",", "get", "(", "", ")", ",", "DestReg", ")", ".", "addReg", "(", "SrcReg", ",", "getKillRegState", "("], "ground_truth": ["KillSrc", ")", ")", ".", "addImm", "(", "", ")", ";"], "File": "LC3InstrInfo", "Func": "copyPhysReg", "Target": "LC3", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 67796, "Length": 35, "Cover_Rate": 0.5303030303030303} {"Template_token": ["", "const", "RegisterInfo", "&", "getRegisterInfo", "(", ")", "const", "{", "return", "RI"], "ground_truth": [";"], "File": "LC3InstrInfo", "Func": "getRegisterInfo", "Target": "LC3", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 67797, "Length": 11, "Cover_Rate": 0.9166666666666666} {"Template_token": ["", "unsigned", "InstrInfo", "::", "isLoadFromStackSlot", "(", "const", "MachineInstr", "*", "MI"], "ground_truth": [",", "int", "&", "FrameIndex", ")", "const", "{"], "File": "LC3InstrInfo", "Func": "isLoadFromStackSlot", "Target": "LC3", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 67798, "Length": 16, "Cover_Rate": 0.8} {"Template_token": ["", "unsigned", "InstrInfo", "::", "isLoadFromStackSlot", "(", "const", "MachineInstr", "*", "MI", ",", "int", "&", "FrameIndex", ")", "const", "{", "return"], "ground_truth": ["", ";"], "File": "LC3InstrInfo", "Func": "isLoadFromStackSlot", "Target": "LC3", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 67799, "Length": 19, "Cover_Rate": 0.95} {"Template_token": ["", "unsigned", "InstrInfo", "::", "isStoreToStackSlot", "(", "const", "MachineInstr", "*", "MI", ",", "int"], "ground_truth": ["&", "FrameIndex", ")", "const", "{"], "File": "LC3InstrInfo", "Func": "isStoreToStackSlot", "Target": "LC3", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 67800, "Length": 16, "Cover_Rate": 0.8} {"Template_token": ["", "void", "InstrInfo", "::", "loadRegFromStackSlot", "(", "MachineBasicBlock", "&", "MBB", ",", "MachineBasicBlock", "::", "iterator", "I", ",", "unsigned", "DestReg", ","], "ground_truth": ["int", "FrameIndex", ",", "const", "TargetRegisterClass", "*", "RC", ",", "const", "TargetRegisterInfo", "*", "TRI", ")", "const", "{"], "File": "LC3InstrInfo", "Func": "loadRegFromStackSlot", "Target": "LC3", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 67801, "Length": 32, "Cover_Rate": 0.49230769230769234} {"Template_token": ["", "unsigned", "InstrInfo", "::", "RemoveBranch", "(", "MachineBasicBlock", "&", "MBB", ")", "const", "{", "if", "(", "MBB", ".", "empty", "(", ")", ")", "return", "", ";", "unsigned", "NumRemoved", "=", "", ";", "auto", "I", "=", "MBB", ".", "end", "(", ")", ";", "do", "{", "--", "I"], "ground_truth": [";"], "File": "LC3InstrInfo", "Func": "RemoveBranch", "Target": "LC3", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 67802, "Length": 41, "Cover_Rate": 0.3942307692307692} {"Template_token": ["", "unsigned", "Opc", "=", "I", "->", "getOpcode", "(", ")", ";", "if", "(", "(", "Opc", "==", "", ")", "||", "(", "Opc", "==", "", ")", ")", "{", "auto", "ToDelete", "=", "I", ";", "++", "I", ";", "MBB", ".", "erase", "(", "ToDelete", ")", ";", "NumRemoved", "++", ";", "}", "}", "while", "(", "I", "!=", "MBB", ".", "begin", "(", ")", ")", ";", "return", "NumRemoved"], "ground_truth": [";"], "File": "LC3InstrInfo", "Func": "RemoveBranch", "Target": "LC3", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 67803, "Length": 58, "Cover_Rate": 0.5576923076923077} {"Template_token": ["", "void", "InstrInfo", "::", "storeRegToStackSlot", "(", "MachineBasicBlock", "&", "MBB", ",", "MachineBasicBlock", "::", "iterator", "I", ",", "unsigned", "SrcReg", ",", "bool", "isKill", ",", "int", "FrameIndex", ",", "const", "TargetRegisterClass"], "ground_truth": ["*", "RC", ",", "const", "TargetRegisterInfo", "*", "TRI", ")", "const", "{"], "File": "LC3InstrInfo", "Func": "storeRegToStackSlot", "Target": "LC3", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 67804, "Length": 35, "Cover_Rate": 0.4605263157894737} {"Template_token": ["", "BuildMI", "(", "MBB", ",", "I", ",", "I", "->", "getDebugLoc", "(", ")", ",", "get", "(", "", ")", ")", ".", "addReg", "(", "SrcReg", ",", "getKillRegState", "(", "isKill", ")", ")", "."], "ground_truth": ["addFrameIndex", "(", "FrameIndex", ")", ".", "addImm", "(", "", ")", ";"], "File": "LC3InstrInfo", "Func": "storeRegToStackSlot", "Target": "LC3", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 67805, "Length": 38, "Cover_Rate": 0.5} {"Template_token": ["", "return", "new", "DAGToDAGISel", "(", "TM", ",", "OptLevel", ")"], "ground_truth": [";"], "File": "LC3ISelDAGToDAG", "Func": "createLC3ISelDag", "Target": "LC3", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 67806, "Length": 9, "Cover_Rate": 0.34615384615384615} {"Template_token": ["", "virtual", "const", "char", "*", "getPassName", "(", ")", "const", "{", "return"], "ground_truth": ["", ";"], "File": "LC3ISelDAGToDAG", "Func": "getPassName", "Target": "LC3", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 67807, "Length": 12, "Cover_Rate": 0.9230769230769231} {"Template_token": ["", "virtual", "const", "char", "*"], "ground_truth": ["getPassName", "(", ")", "const", "{"], "File": "LC3ISelDAGToDAG", "Func": "getPassName", "Target": "LC3", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 67808, "Length": 9, "Cover_Rate": 0.6923076923076923} {"Template_token": ["", "SDNode", "*", "DAGToDAGISel", "::", "Select", "(", "SDNode", "*", "N", ")", "{", "switch", "(", "N", "->", "getOpcode", "(", ")", ")", "{", "case", ""], "ground_truth": [":"], "File": "LC3ISelDAGToDAG", "Func": "Select", "Target": "LC3", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 67809, "Length": 23, "Cover_Rate": 0.46} {"Template_token": ["", "EVT", "PtrVT", "=", "getTargetLowering", "(", ")", "->", "getPointerTy", "(", "*", "TM", ".", "getDataLayout", "(", ")", ")", ";", "Base", "=", "CurDAG", "->", "getTargetFrameIndex", "(", "FIN", "->", "getIndex", "(", ")", ",", "PtrVT", ")", ";", "Offset", "=", "CurDAG", "->", "getTargetConstant", "(", "", ",", "Addr", ",", "", ")", ";", "return", "true", ";", "}", "if", "(", "Addr", ".", "getOpcode", "(", ")", "==", "", "||", "Addr", ".", "getOpcode", "("], "ground_truth": [")", "==", "", "||", "Addr", ".", "getOpcode", "(", ")", "==", "", ")", "{"], "File": "LC3ISelDAGToDAG", "Func": "SelectAddr", "Target": "LC3", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 67810, "Length": 76, "Cover_Rate": 0.5314685314685315} {"Template_token": ["", "SDValue", "CompareOps", "[", "]", "=", "{", "LHS", ",", "RHS", ",", "Chain", "}", ";", "SDNode", "*", "Compare", "=", "CurDAG", "->", "getMachineNode", "(", "", ",", "N", ",", "CompareVT", ",", "CompareOps", ")", ";", "CondCodeSDNode", "*", "CC", "=", "cast", "<", "CondCodeSDNode", ">", "(", "Cond", ".", "getNode", "(", ")", ")", ";", "SDValue", "CCVal", "=", "CurDAG", "->", "getTargetConstant", "(", "CC", "->"], "ground_truth": ["get", "(", ")", ",", "N", ",", "", ")", ";"], "File": "LC3ISelDAGToDAG", "Func": "SelectConditionalBranch", "Target": "LC3", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 67811, "Length": 64, "Cover_Rate": 0.32323232323232326} {"Template_token": ["", "ConstantSDNode", "*", "ConstVal", "=", "cast", "<", "ConstantSDNode", ">", "(", "N", ")", ";", "uint64_t", "ImmVal", "=", "ConstVal", "->", "getZExtValue", "(", ")", ";", "uint64_t", "SupportedMask", "=", "", ";", "if", "(", "(", "ImmVal", "&", "SupportedMask", ")", "!=", "ImmVal", ")", "{", "return", "SelectCode", "(", "N", ")", ";", "}", "uint64_t", "LoMask", "=", "", ";", "uint64_t", "HiMask", "=", "", ";", "uint64_t", "ImmLo", "=", "(", "ImmVal", "&", "LoMask", ")", ";", "uint64_t", "ImmHi", "=", "(", "ImmVal", "&", "HiMask", ")", ";", "SDValue", "ConstLo", "=", "CurDAG", "->", "getTargetConstant", "(", "ImmLo", ",", "N", ",", "", ")", ";", "MachineSDNode", "*", "Move", "=", "CurDAG", "->", "getMachineNode", "(", ""], "ground_truth": [",", "N", ",", "", ",", "ConstLo", ")", ";"], "File": "LC3ISelDAGToDAG", "Func": "SelectMoveImmediate", "Target": "LC3", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 67812, "Length": 103, "Cover_Rate": 0.5919540229885057} {"Template_token": ["", "if", "(", "!", "CCInfo", ".", "CheckReturn", "(", "Outs", ",", "RetCC_", ")", ")", "{", "return", "false", ";", "}", "if", "(", "CCInfo", ".", "getNextStackOffset", "(", ")", "!=", "", "&&", "isVarArg", ")", "{", "return"], "ground_truth": ["false", ";"], "File": "LC3ISelLowering", "Func": "CanLowerReturn", "Target": "LC3", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 67813, "Length": 33, "Cover_Rate": 0.3548387096774194} {"Template_token": ["", "default", ":", "return", "NULL", ";", "case", "", ":", "return", "", ";", "case", "", ":"], "ground_truth": ["return", "", ";"], "File": "LC3ISelLowering", "Func": "getTargetNodeName", "Target": "LC3", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 67814, "Length": 17, "Cover_Rate": 0.30357142857142855} {"Template_token": ["", "return", "NULL", ";", "case", "", ":", "return", "", ";", "case", "", ":", "return", "", ";", "case", "", ":", "return", "", ";", "case", "", ":", "return"], "ground_truth": ["", ";"], "File": "LC3ISelLowering", "Func": "getTargetNodeName", "Target": "LC3", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 67815, "Length": 27, "Cover_Rate": 0.48214285714285715} {"Template_token": ["", "addRegisterClass", "(", "", ",", "&", "", ")", ";", "computeRegisterProperties", "(", "Subtarget", ".", "getRegisterInfo", "(", ")", ")", ";", "setStackPointerRegisterToSaveRestore", "(", "", ")", ";", "setSchedulingPreference", "(", "Sched", "::", "Source", ")", ";", "setOperationAction", "(", "", ",", ""], "ground_truth": [",", "Custom", ")", ";"], "File": "LC3ISelLowering", "Func": "LC3TargetLowering", "Target": "LC3", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 67816, "Length": 38, "Cover_Rate": 0.4418604651162791} {"Template_token": ["", "TargetLowering", "::", "TargetLowering", "(", "TargetMachine", "&", "TM", ")", ":", "TargetLowering", "(", "TM", ")", ",", "Subtarget", "(", "*", "TM", ".", "getSubtargetImpl", "(", ")", ")", "{", "addRegisterClass", "(", "", ",", "&", "", ")", ";", "computeRegisterProperties", "(", "Subtarget", ".", "getRegisterInfo", "(", ")", ")", ";", "setStackPointerRegisterToSaveRestore", "(", "", ")", ";", "setSchedulingPreference", "(", "Sched", "::", "Source", ")", ";", "setOperationAction", "(", "", ",", "", ",", "Custom", ")", ";", "setOperationAction", "(", "", ",", ""], "ground_truth": [",", "Expand", ")", ";"], "File": "LC3ISelLowering", "Func": "LC3TargetLowering", "Target": "LC3", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 67817, "Length": 71, "Cover_Rate": 0.8255813953488372} {"Template_token": ["", "CCInfo", ".", "AnalyzeCallResult", "(", "Ins", ",", "RetCC_", ")", ";", "for", "(", "auto", "&", "Loc", ":", "RVLocs", ")", "{", "Chain", "=", "DAG", ".", "getCopyFromReg", "(", "Chain", ",", "dl", ",", "Loc", ".", "getLocReg", "(", ")", ",", "Loc", ".", "getValVT", "(", ")", ",", "InGlue", ")", ".", "getValue", "(", "", ")", ";", "InGlue", "=", "Chain", ".", "getValue", "(", "", ")", ";", "InVals", ".", "push_back", "(", "Chain", ".", "getValue", "(", "", ")", ")", ";", "}", "return"], "ground_truth": ["Chain", ";"], "File": "LC3ISelLowering", "Func": "LowerCallResult", "Target": "LC3", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 67818, "Length": 73, "Cover_Rate": 0.4620253164556962} {"Template_token": ["", "EVT", "RegVT", "=", "VA", ".", "getLocVT", "(", ")", ";", "assert", "(", "RegVT", ".", "getSimpleVT", "(", ")", ".", "SimpleTy", "==", "", "&&", "", ")", ";", "const", "unsigned", "VReg", "=", "RegInfo", ".", "createVirtualRegister", "(", "&", "", ")", ";", "RegInfo", ".", "addLiveIn", "(", "VA", ".", "getLocReg", "(", ")", ",", "VReg", ")", ";", "SDValue", "ArgIn", "=", "DAG", ".", "getCopyFromReg", "(", "Chain", ",", "dl", ",", "VReg", ",", "RegVT", ")", ";", "InVals", ".", "push_back", "(", "ArgIn", ")", ";", "continue", ";", "}", "assert", "(", "VA", ".", "isMemLoc", "(", ")", "&&", "", ")", ";", "const", "unsigned", "Offset", "=", "VA", ".", "getLocMemOffset", "(", ")", ";", "const", "int", "FI", "=", "MF", ".", "getFrameInfo", "(", ")", "->", "CreateFixedObject", "(", "", ",", "Offset", ",", "true", ")", ";", "EVT", "PtrTy", "=", "getPointerTy", "(", "DAG", ".", "getDataLayout", "(", ")", ")", ";", "SDValue", "FIPtr", "=", "DAG", ".", "getFrameIndex", "(", "FI", ",", "PtrTy", ")", ";", "assert", "(", "VA", ".", "getValVT", "(", ")"], "ground_truth": ["==", "", "&&", "", ")", ";"], "File": "LC3ISelLowering", "Func": "LowerFormalArguments", "Target": "LC3", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 67819, "Length": 152, "Cover_Rate": 0.46060606060606063} {"Template_token": ["", "MCAsmInfo", "::", "MCAsmInfo", "(", "const", "Triple", "&", "TT", ")", "{", "SupportsDebugInformation", "=", "true", ";", "Data16bitsDirective", "=", "", ";", "Data32bitsDirective", "=", "", ";", "Data64bitsDirective", "=", "", ";", "ZeroDirective", "=", "", ";", "CommentString", "="], "ground_truth": ["", ";"], "File": "LC3MCAsmInfo", "Func": "LC3MCAsmInfo", "Target": "LC3", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 67820, "Length": 34, "Cover_Rate": 0.6666666666666666} {"Template_token": ["", "void", "EmitByte", "(", "unsigned", "char", "C", ",", "raw_ostream", "&", "OS", ")", "const", "{", "OS", "<<", "(", "char", ")", "C"], "ground_truth": [";"], "File": "LC3MCCodeEmitter", "Func": "EmitByte", "Target": "LC3", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 67821, "Length": 20, "Cover_Rate": 0.9523809523809523} {"Template_token": ["", "OS", "<<", "(", "char", ")"], "ground_truth": ["C", ";"], "File": "LC3MCCodeEmitter", "Func": "EmitByte", "Target": "LC3", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 67822, "Length": 7, "Cover_Rate": 0.3333333333333333} {"Template_token": ["", "if", "(", "Desc", ".", "getSize", "(", ")", "!=", "", ")", "{", "llvm_unreachable", "(", "", ")", ";", "}", "const", "uint32_t", "Binary", "=", "getBinaryCodeForInstr", "(", "MI", ",", "Fixups", ",", "STI", ")", ";", "EmitConstant", "(", "Binary", ",", "Desc", ".", "getSize", "(", ")", ","], "ground_truth": ["OS", ")", ";"], "File": "LC3MCCodeEmitter", "Func": "encodeInstruction", "Target": "LC3", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 67823, "Length": 43, "Cover_Rate": 0.4725274725274725} {"Template_token": ["", "void", "MCCodeEmitter", "::", "encodeInstruction", "(", "const", "MCInst", "&", "MI", ",", "raw_ostream", "&", "OS", ",", "SmallVectorImpl", "<", "MCFixup", ">", "&", "Fixups", ",", "const", "MCSubtargetInfo", "&", "STI", ")", "const", "{", "const", "MCInstrDesc", "&", "Desc", "=", "MCII", ".", "get", "(", "MI", ".", "getOpcode", "(", ")", ")", ";", "if", "(", "Desc", ".", "getSize", "(", ")", "!=", "", ")", "{", "llvm_unreachable", "(", ""], "ground_truth": [")", ";"], "File": "LC3MCCodeEmitter", "Func": "encodeInstruction", "Target": "LC3", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 67824, "Length": 60, "Cover_Rate": 0.6593406593406593} {"Template_token": ["", "return", "CTX", ".", "getRegisterInfo", "(", ")", "->", "getEncodingValue", "(", "MO", ".", "getReg", "(", ")", ")", ";", "}", "if", "(", "MO", ".", "isImm", "(", ")", ")", "{", "return", "static_cast", "<", "unsigned", ">", "(", "MO", ".", "getImm", "(", ")", ")", ";", "}", "assert", "(", "MO", ".", "isExpr", "(", ")", "&&", "", ")", ";", "const", "MCExpr", "*", "Expr", "=", "MO", ".", "getExpr", "(", ")", ";", "MCExpr", "::", "ExprKind", "Kind", "=", "Expr", "->", "getKind", "(", ")", ";", "if", "(", "Kind", "==", "MCExpr"], "ground_truth": ["::", "Binary", ")", "{"], "File": "LC3MCCodeEmitter", "Func": "getMachineOpValue", "Target": "LC3", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 67825, "Length": 82, "Cover_Rate": 0.3459915611814346} {"Template_token": ["", "}", "assert", "(", "MO", ".", "isExpr", "(", ")", "&&", "", ")", ";", "const", "MCExpr", "*", "Expr", "=", "MO", ".", "getExpr", "(", ")", ";", "MCExpr", "::", "ExprKind", "Kind", "=", "Expr", "->", "getKind", "(", ")", ";", "if", "(", "Kind", "==", "MCExpr", "::", "Binary", ")", "{", "Expr", "=", "static_cast", "<", "const", "MCBinaryExpr", "*", ">", "(", "Expr", ")", "->", "getLHS", "(", ")", ";", "Kind", "=", "Expr", "->", "getKind", "(", ")", ";", "}", "assert", "(", "Kind", "==", "MCExpr", "::", "SymbolRef", ")", ";", "unsigned", "FixupKind", ";", "switch", "(", "cast", "<", "MCSymbolRefExpr", ">", "(", "Expr", ")", "->"], "ground_truth": ["getKind", "(", ")", ")", "{"], "File": "LC3MCCodeEmitter", "Func": "getMachineOpValue", "Target": "LC3", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 67826, "Length": 95, "Cover_Rate": 0.4008438818565401} {"Template_token": ["", "assert", "(", "ImmMO", ".", "getImm", "(", ")", ">=", "", ")", ";", "Bits", "|=", "(", "getMachineOpValue", "(", "MI", ",", "RegMO", ",", "Fixups", ",", "STI", ")", "<<", "", ")", ";", "Bits", "|=", "(", "unsigned", ")", "ImmMO", ".", "getImm", "(", ")", "&", "", ";", "return", "Bits"], "ground_truth": [";"], "File": "LC3MCCodeEmitter", "Func": "getMemSrcValue", "Target": "LC3", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 67827, "Length": 44, "Cover_Rate": 0.42718446601941745} {"Template_token": ["", "void", "MCInstLower", "::", "Initialize", "(", "Mangler", "*", "M", ",", "MCContext", "*", "C", ")", "{", "Mang", "=", "M", ";", "Ctx", "=", "C"], "ground_truth": [";"], "File": "LC3MCInstLower", "Func": "Initialize", "Target": "LC3", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 67828, "Length": 22, "Cover_Rate": 0.9565217391304348} {"Template_token": ["", "void", "MCInstLower", "::", "Lower", "(", "const", "MachineInstr", "*", "MI", ",", "MCInst", "&", "OutMI", ")", "const", "{", "OutMI", ".", "setOpcode", "(", "MI", "->", "getOpcode", "(", ")", ")", ";", "for", "(", "auto", "&", "MO", ":", "MI", "->", "operands"], "ground_truth": ["(", ")", ")", "{"], "File": "LC3MCInstLower", "Func": "Lower", "Target": "LC3", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 67829, "Length": 40, "Cover_Rate": 0.5882352941176471} {"Template_token": ["", "if", "(", "MO", ".", "isImplicit", "(", ")", ")", "{", "break", ";", "}", "return", "MCOperand", "::", "createReg", "(", "MO", ".", "getReg", "(", ")", ")", ";", "case", "MachineOperand", "::", "MO_Immediate", ":", "return", "MCOperand", "::", "createImm", "(", "MO", ".", "getImm", "(", ")", "+", "offset", ")", ";", "case", "MachineOperand", "::", "MO_MachineBasicBlock", ":", "case", "MachineOperand", "::", "MO_GlobalAddress", ":", "case", "MachineOperand", "::", "MO_ExternalSymbol", ":", "case", "MachineOperand", "::", "MO_JumpTableIndex", ":", "case", "MachineOperand", "::", "MO_ConstantPoolIndex", ":", "case", "MachineOperand", "::", "MO_BlockAddress", ":", "return", "LowerSymbolOperand", "(", "MO", ",", "MOTy", ",", "offset", ")", ";", "case", "MachineOperand", "::", "MO_RegisterMask", ":", "break", ";", "}", "return", "MCOperand"], "ground_truth": ["(", ")", ";"], "File": "LC3MCInstLower", "Func": "LowerOperand", "Target": "LC3", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 67830, "Length": 96, "Cover_Rate": 0.6956521739130435} {"Template_token": ["", "case", "MachineOperand", "::", "MO_Register", ":", "if", "(", "MO", ".", "isImplicit", "(", ")", ")", "{", "break", ";", "}", "return", "MCOperand", "::", "createReg", "(", "MO", ".", "getReg", "(", ")", ")", ";", "case", "MachineOperand", "::", "MO_Immediate", ":", "return", "MCOperand", "::", "createImm", "(", "MO", ".", "getImm", "(", ")", "+", "offset", ")", ";", "case", "MachineOperand", "::", "MO_MachineBasicBlock", ":", "case", "MachineOperand", "::"], "ground_truth": ["MO_GlobalAddress", ":"], "File": "LC3MCInstLower", "Func": "LowerOperand", "Target": "LC3", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 67831, "Length": 58, "Cover_Rate": 0.42028985507246375} {"Template_token": ["", "Offset", "+=", "MO", ".", "getOffset", "(", ")", ";", "break", ";", "case", "MachineOperand", "::", "MO_BlockAddress", ":", "Symbol", "=", "Printer", ".", "GetBlockAddressSymbol", "(", "MO", ".", "getBlockAddress", "(", ")", ")", ";", "Offset", "+=", "MO", ".", "getOffset", "(", ")", ";", "break", ";", "case", "MachineOperand", "::", "MO_ExternalSymbol", ":", "Symbol", "=", "Printer", ".", "GetExternalSymbolSymbol", "(", "MO", ".", "getSymbolName", "(", ")", ")", ";", "Offset", "+=", "MO", ".", "getOffset", "(", ")", ";", "break", ";", "case", "MachineOperand", "::", "MO_JumpTableIndex", ":", "Symbol", "=", "Printer", ".", "GetJTISymbol", "(", "MO", ".", "getIndex", "(", ")", ")", ";", "break", ";", "case", "MachineOperand", "::", "MO_ConstantPoolIndex", ":", "Symbol", "=", "Printer", ".", "GetCPISymbol", "(", "MO", ".", "getIndex", "(", ")", ")", ";", "Offset", "+=", "MO", ".", "getOffset", "(", ")", ";", "break", ";", "default", ":", "llvm_unreachable", "(", "", ")", ";", "}", "const", "unsigned", "Option", "=", "MO", ".", "getTargetFlags"], "ground_truth": ["(", ")", "&", "", ";"], "File": "LC3MCInstLower", "Func": "LowerSymbolOperand", "Target": "LC3", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 67832, "Length": 134, "Cover_Rate": 0.4110429447852761} {"Template_token": ["", "static", "MCInstPrinter", "*", "createMCInstPrinter", "(", "const", "Triple", "&", "TT", ",", "unsigned", "SyntaxVariant", ",", "const", "MCAsmInfo", "&", "MAI", ",", "const", "MCInstrInfo", "&", "MII", ",", "const", "MCRegisterInfo", "&", "MRI", ")", "{", "return", "new", "InstPrinter", "(", "MAI"], "ground_truth": [",", "MII", ",", "MRI", ")", ";"], "File": "LC3MCTargetDesc", "Func": "createLC3MCInstPrinter", "Target": "LC3", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 67833, "Length": 40, "Cover_Rate": 0.975609756097561} {"Template_token": ["", "InitMCInstrInfo", "(", "X", ")", ";", "return", "X"], "ground_truth": [";"], "File": "LC3MCTargetDesc", "Func": "createLC3MCInstrInfo", "Target": "LC3", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 67834, "Length": 8, "Cover_Rate": 0.32} {"Template_token": ["", "InitMCInstrInfo", "(", "X", ")", ";", "return", "X"], "ground_truth": [";"], "File": "LC3MCTargetDesc", "Func": "createLC3MCInstrInfo", "Target": "LC3", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 67835, "Length": 8, "Cover_Rate": 0.32} {"Template_token": ["", "InitMCRegisterInfo", "(", "X", ",", "", ")", ";", "return", "X"], "ground_truth": [";"], "File": "LC3MCTargetDesc", "Func": "createLC3MCRegisterInfo", "Target": "LC3", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 67836, "Length": 10, "Cover_Rate": 0.30303030303030304} {"Template_token": ["", "return", "createMCSubtargetInfoImpl", "(", "TT", ",", "CPU"], "ground_truth": [",", "FS", ")", ";"], "File": "LC3MCTargetDesc", "Func": "createLC3MCSubtargetInfo", "Target": "LC3", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 67837, "Length": 10, "Cover_Rate": 0.35714285714285715} {"Template_token": ["", "return", "createMCSubtargetInfoImpl", "(", "TT", ",", "CPU", ",", "FS"], "ground_truth": [")", ";"], "File": "LC3MCTargetDesc", "Func": "createLC3MCSubtargetInfo", "Target": "LC3", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 67838, "Length": 10, "Cover_Rate": 0.35714285714285715} {"Template_token": ["", "void", "LLVMInitializeTargetMC", "(", ")", "{", "RegisterMCAsmInfoFn", "X", "(", "TheTarget", ",", "createMCAsmInfo", ")", ";", "TargetRegistry", "::", "RegisterMCCodeGenInfo", "(", "TheTarget", ",", "createMCCodeGenInfo", ")", ";", "TargetRegistry", "::", "RegisterMCInstrInfo", "(", "TheTarget", ",", "createMCInstrInfo", ")", ";", "TargetRegistry", "::", "RegisterMCRegInfo", "(", "TheTarget", ",", "createMCRegisterInfo", ")", ";", "TargetRegistry", "::", "RegisterMCSubtargetInfo", "(", "TheTarget"], "ground_truth": [",", "createMCSubtargetInfo", ")", ";"], "File": "LC3MCTargetDesc", "Func": "LLVMInitializeLC3TargetMC", "Target": "LC3", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 67839, "Length": 49, "Cover_Rate": 0.6363636363636364} {"Template_token": ["", "static", "const", "uint16_t", "CalleeSavedRegs", "[", "]", "=", "{", "", ",", "", ",", "", ",", "", ",", "", ",", "", ",", "", "}", ";", "return", "CalleeSavedRegs"], "ground_truth": [";"], "File": "LC3RegisterInfo", "Func": "getCalleeSavedRegs", "Target": "LC3", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 67840, "Length": 26, "Cover_Rate": 0.49056603773584906} {"Template_token": ["", "const", "uint32_t", "*", "RegisterInfo", "::", "getCallPreservedMask", "(", "const", "MachineFunction", "&", "MF", ",", "CallingConv", "::", "ID", ")", "const", "{", "return", "CC_Save_RegMask"], "ground_truth": [";"], "File": "LC3RegisterInfo", "Func": "getCallPreservedMask", "Target": "LC3", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 67841, "Length": 21, "Cover_Rate": 0.9545454545454546} {"Template_token": ["", "const", "InstrInfo", "*", "getInstrInfo", "(", ")", "const", "override", "{", "return", "&"], "ground_truth": ["InstrInfo", ";"], "File": "LC3Subtarget", "Func": "getInstrInfo", "Target": "LC3", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 67842, "Length": 13, "Cover_Rate": 0.9285714285714286} {"Template_token": ["", "return", "&", "InstrInfo", "."], "ground_truth": ["getRegisterInfo", "(", ")", ";"], "File": "LC3Subtarget", "Func": "getRegisterInfo", "Target": "LC3", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 67843, "Length": 8, "Cover_Rate": 0.4444444444444444} {"Template_token": ["", "const", "RegisterInfo", "*", "getRegisterInfo", "(", ")", "const", "override", "{", "return", "&", "InstrInfo", ".", "getRegisterInfo", "("], "ground_truth": [")", ";"], "File": "LC3Subtarget", "Func": "getRegisterInfo", "Target": "LC3", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 67844, "Length": 17, "Cover_Rate": 0.9444444444444444} {"Template_token": ["", "const", "SelectionDAGInfo", "*", "getSelectionDAGInfo", "(", ")", "const", "override", "{", "return", "&"], "ground_truth": ["TSInfo", ";"], "File": "LC3Subtarget", "Func": "getSelectionDAGInfo", "Target": "LC3", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 67845, "Length": 13, "Cover_Rate": 0.9285714285714286} {"Template_token": ["", "const", "TargetLowering", "*", "getTargetLowering", "(", ")", "const", "override", "{", "return", "&"], "ground_truth": ["TLInfo", ";"], "File": "LC3Subtarget", "Func": "getTargetLowering", "Target": "LC3", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 67846, "Length": 13, "Cover_Rate": 0.9285714285714286} {"Template_token": ["", "const", "TargetLowering", "*", "getTargetLowering", "(", ")", "const", "override", "{", "return", "&", "TLInfo"], "ground_truth": [";"], "File": "LC3Subtarget", "Func": "getTargetLowering", "Target": "LC3", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 67847, "Length": 13, "Cover_Rate": 0.9285714285714286} {"Template_token": ["", "RegisterTarget", "<", "Triple", "::", "lc3", ">", "X", "(", "TheTarget", ",", ""], "ground_truth": [",", "", ")", ";"], "File": "LC3TargetInfo", "Func": "LLVMInitializeLC3TargetInfo", "Target": "LC3", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 67848, "Length": 15, "Cover_Rate": 0.7142857142857143} {"Template_token": ["", "addPass", "(", "createISelDag", "(", "getTargetMachine", "(", ")", ",", "getOptLevel", "("], "ground_truth": [")", ")", ")", ";"], "File": "LC3TargetMachine", "Func": "addInstSelector", "Target": "LC3", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 67849, "Length": 14, "Cover_Rate": 0.56} {"Template_token": ["", "bool", "PassConfig", "::", "addInstSelector", "(", ")", "{", "addPass", "(", "createISelDag", "(", "getTargetMachine", "(", ")", ",", "getOptLevel", "(", ")", ")", ")", ";", "return", "false"], "ground_truth": [";"], "File": "LC3TargetMachine", "Func": "addInstSelector", "Target": "LC3", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 67850, "Length": 24, "Cover_Rate": 0.96} {"Template_token": ["", "bool", "PassConfig", "::", "addPreISel", "(", ")", "{", "return"], "ground_truth": ["false", ";"], "File": "LC3TargetMachine", "Func": "addPreISel", "Target": "LC3", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 67851, "Length": 10, "Cover_Rate": 0.9090909090909091} {"Template_token": ["", "return", "new", "PassConfig", "(", "this"], "ground_truth": [",", "PM", ")", ";"], "File": "LC3TargetMachine", "Func": "createPassConfig", "Target": "LC3", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 67852, "Length": 9, "Cover_Rate": 0.42857142857142855} {"Template_token": ["", "TargetMachine", "&", "getTargetMachine", "(", ")", "const", "{", "return", "getTM", "<", "TargetMachine", ">", "(", ")"], "ground_truth": [";"], "File": "LC3TargetMachine", "Func": "getLC3TargetMachine", "Target": "LC3", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 67853, "Length": 15, "Cover_Rate": 0.9375} {"Template_token": ["", "TargetMachine", "&", "getTargetMachine", "(", ")"], "ground_truth": ["const", "{"], "File": "LC3TargetMachine", "Func": "getLC3TargetMachine", "Target": "LC3", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 67854, "Length": 7, "Cover_Rate": 0.4375} {"Template_token": ["", "return", "TLOF", ".", "get", "("], "ground_truth": [")", ";"], "File": "LC3TargetMachine", "Func": "getObjFileLowering", "Target": "LC3", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 67855, "Length": 7, "Cover_Rate": 0.4375} {"Template_token": ["", "TargetLoweringObjectFile", "*", "getObjFileLowering", "(", ")"], "ground_truth": ["const", "override", "{"], "File": "LC3TargetMachine", "Func": "getObjFileLowering", "Target": "LC3", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 67856, "Length": 8, "Cover_Rate": 0.5} {"Template_token": ["", "virtual", "const", "TargetSubtargetInfo", "*", "getSubtargetImpl", "(", "const", "Function", "&", ")", "const", "override", "{", "return", "&", "Subtarget"], "ground_truth": [";"], "File": "LC3TargetMachine", "Func": "getSubtargetImpl", "Target": "LC3", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 67857, "Length": 17, "Cover_Rate": 0.9444444444444444} {"Template_token": ["", "TargetMachine", "::", "TargetMachine", "(", "const", "Target", "&", "T", ",", "const", "Triple", "&", "TT", ",", "StringRef", "CPU", ",", "StringRef", "FS", ",", "const", "TargetOptions", "&", "Options", ",", "Reloc", "::", "Model", "RM", ",", "CodeModel", "::", "Model", "CM", ",", "CodeGenOpt", "::", "Level", "OL", ")", ":", "LLVMTargetMachine", "(", "T", ",", "computeDataLayout", "(", "TT", ",", "CPU", ",", "Options", ")", ",", "TT", ",", "CPU", ",", "FS", ",", "Options", ",", "RM", ",", "CM", ",", "OL", ")", ",", "Subtarget", "(", "TT", ",", "CPU", ",", "FS", ",", "*", "this", ")", ",", "TLOF", "(", "make_unique", "<", "TargetLoweringObjectFileELF", ">", "(", ")", ")", "{", "initAsmInfo", "("], "ground_truth": [")", ";"], "File": "LC3TargetMachine", "Func": "LC3TargetMachine", "Target": "LC3", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 67858, "Length": 95, "Cover_Rate": 0.9895833333333334} {"Template_token": ["", "TargetMachine", "::", "TargetMachine", "(", "const", "Target", "&", "T", ",", "const", "Triple", "&", "TT", ",", "StringRef", "CPU", ",", "StringRef", "FS", ",", "const", "TargetOptions", "&", "Options", ",", "Reloc", "::", "Model", "RM", ",", "CodeModel", "::", "Model", "CM", ",", "CodeGenOpt", "::", "Level", "OL", ")", ":", "LLVMTargetMachine", "(", "T", ",", "computeDataLayout", "(", "TT", ",", "CPU", ",", "Options", ")", ",", "TT", ",", "CPU", ",", "FS", ",", "Options", ",", "RM", ",", "CM", ",", "OL", ")", ",", "Subtarget", "(", "TT", ",", "CPU", ",", "FS", ",", "*", "this", ")", ",", "TLOF", "(", "make_unique", "<", "TargetLoweringObjectFileELF", ">", "(", ")", ")", "{", "initAsmInfo", "(", ")"], "ground_truth": [";"], "File": "LC3TargetMachine", "Func": "LC3TargetMachine", "Target": "LC3", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 67859, "Length": 95, "Cover_Rate": 0.9895833333333334}