{"Template_token": ["", "Value", ">>=", "", ";", "case", "", ":", "unsigned", "Hi4", "=", "(", "Value", "&", "", ")", ">>", "", ";", "unsigned", "Lo12", "=", "Value", "&", "", ";", "Value", "=", "(", "Hi4", "<<", "", ")", "|", "(", "Lo12", ")", ";", "return", "Value", ";"], "ground_truth": ["}"], "File": "LC3AsmBackend", "Func": "adjustFixupValue", "Target": "LC3", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 115196, "Length": 41, "Cover_Rate": 0.44565217391304346} {"Template_token": ["", "void", "AsmBackend", "::", "applyFixup", "(", "const", "MCFixup", "&", "Fixup", ",", "char", "*", "Data", ",", "unsigned", "DataSize", ",", "uint64_t", "Value", ",", "bool", "isPCRel", ")", "const", "{", "unsigned", "NumBytes", "=", "", ";", "Value", "=", "adjustFixupValue", "(", "Fixup", ",", "Value", ")", ";"], "ground_truth": ["if", "(", "!", "Value", ")", "{"], "File": "LC3AsmBackend", "Func": "applyFixup", "Target": "LC3", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 115197, "Length": 45, "Cover_Rate": 0.4205607476635514} {"Template_token": ["", "for", "(", "unsigned", "i", "=", "", ";", "i", "!=", "NumBytes", ";", "++", "i", ")", "{"], "ground_truth": ["Data", "[", "Offset", "+", "i", "]", "|=", "uint8_t", "(", "(", "Value", ">>", "(", "i", "*", "", ")", ")", "&", "", ")", ";"], "File": "LC3AsmBackend", "Func": "applyFixup", "Target": "LC3", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 115198, "Length": 37, "Cover_Rate": 0.34579439252336447} {"Template_token": ["", "const", "uint8_t", "ABI", "=", "MCELFObjectTargetWriter", "::", "getOSABI", "(", "TT", ".", "getOS", "(", ")", ")", ";"], "ground_truth": ["return", "new", "ELFAsmBackend", "(", "T", ",", "TT", ".", "getTriple", "(", ")", ",", "ABI", ")", ";"], "File": "LC3AsmBackend", "Func": "createLC3AsmBackend", "Target": "LC3", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 115199, "Length": 30, "Cover_Rate": 0.5357142857142857} {"Template_token": ["", "ELFAsmBackend", "(", "const", "Target", "&", "T", ",", "const", "StringRef", "TT", ",", "uint8_t", "_OSABI", ")", ":", "AsmBackend", "(", "T", ",", "TT", ")", ",", "OSABI", "(", "_OSABI", ")", "{"], "ground_truth": ["}"], "File": "LC3AsmBackend", "Func": "ELFLC3AsmBackend", "Target": "LC3", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 115202, "Length": 28, "Cover_Rate": 1.0} {"Template_token": ["", "ELFAsmBackend", "(", "const", "Target", "&", "T", ",", "const", "StringRef", "TT", ",", "uint8_t", "_OSABI", ")", ":", "AsmBackend", "(", "T", ",", "TT", ")", ",", "OSABI", "(", "_OSABI", ")", "{"], "ground_truth": ["}"], "File": "LC3AsmBackend", "Func": "ELFLC3AsmBackend", "Target": "LC3", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 115203, "Length": 28, "Cover_Rate": 1.0} {"Template_token": ["", "bool", "fixupNeedsRelaxation", "(", "const", "MCFixup", "&", "Fixup", ",", "uint64_t", "Value", ",", "const", "MCRelaxableFragment", "*", "DF", ",", "const", "MCAsmLayout", "&", "Layout", ")", "const", "override", "{", "return", "false", ";"], "ground_truth": ["}"], "File": "LC3AsmBackend", "Func": "fixupNeedsRelaxation", "Target": "LC3", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 115204, "Length": 28, "Cover_Rate": 1.0} {"Template_token": ["", "const", "static", "MCFixupKindInfo", "Infos", "[", "", "]", "=", "{", "{", "", ",", "", ",", "", ",", "MCFixupKindInfo", "::", "FKF_IsPCRel", "}", ",", "{", "", ",", "", ",", "", ",", "MCFixupKindInfo", "::", "FKF_IsPCRel", "}", ",", "}", ";", "if", "(", "Kind", "<", "FirstTargetFixupKind", ")", "{", "return", "MCAsmBackend", "::", "getFixupKindInfo", "(", "Kind", ")", ";", "}"], "ground_truth": ["assert", "(", "unsigned", "(", "Kind", "-", "FirstTargetFixupKind", ")", "<", "getNumFixupKinds", "(", ")", "&&", "", ")", ";"], "File": "LC3AsmBackend", "Func": "getFixupKindInfo", "Target": "LC3", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 115206, "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": 115207, "Length": 11, "Cover_Rate": 0.8461538461538461} {"Template_token": ["", "unsigned", "getNumFixupKinds", "(", ")", "const", "override", "{"], "ground_truth": ["return", "", ";"], "File": "LC3AsmBackend", "Func": "getNumFixupKinds", "Target": "LC3", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 115208, "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": 115209, "Length": 10, "Cover_Rate": 1.0} {"Template_token": ["", "unsigned", "getPointerSize", "(", ")", "const", "{"], "ground_truth": ["return", "", ";"], "File": "LC3AsmBackend", "Func": "getPointerSize", "Target": "LC3", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 115210, "Length": 9, "Cover_Rate": 0.9} {"Template_token": ["", "AsmBackend", "(", "const", "Target", "&", "T", ",", "const", "StringRef", "TT", ")", ":", "MCAsmBackend", "(", ")", "{"], "ground_truth": ["}"], "File": "LC3AsmBackend", "Func": "LC3AsmBackend", "Target": "LC3", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 115211, "Length": 17, "Cover_Rate": 1.0} {"Template_token": ["", "AsmBackend", "(", "const", "Target", "&", "T", ",", "const", "StringRef", "TT", ")", ":", "MCAsmBackend", "(", ")", "{"], "ground_truth": ["}"], "File": "LC3AsmBackend", "Func": "LC3AsmBackend", "Target": "LC3", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 115212, "Length": 17, "Cover_Rate": 1.0} {"Template_token": ["", "ELFObjectWriter", "(", "uint8_t", "OSABI", ")", ":", "MCELFObjectTargetWriter", "(", "false", ",", "OSABI", ",", "ELF", "::", "EM_ARM", ",", "false", ")", "{"], "ground_truth": ["}"], "File": "LC3AsmBackend", "Func": "LC3ELFObjectWriter", "Target": "LC3", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 115213, "Length": 20, "Cover_Rate": 1.0} {"Template_token": ["", "ELFObjectWriter", "(", "uint8_t", "OSABI", ")", ":", "MCELFObjectTargetWriter", "(", "false", ",", "OSABI", ",", "ELF", "::", "EM_ARM", ",", "false", ")", "{"], "ground_truth": ["}"], "File": "LC3AsmBackend", "Func": "LC3ELFObjectWriter", "Target": "LC3", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 115214, "Length": 20, "Cover_Rate": 1.0} {"Template_token": ["", "bool", "mayNeedRelaxation", "(", "const", "MCInst", "&", "Inst", ")", "const", "override", "{"], "ground_truth": ["return", "false", ";"], "File": "LC3AsmBackend", "Func": "mayNeedRelaxation", "Target": "LC3", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 115215, "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", ";"], "ground_truth": ["(", "void", ")", "adjustFixupValue", "(", "Fixup", ",", "Value", ",", "&", "Asm", ".", "getContext", "(", ")", ")", ";"], "File": "LC3AsmBackend", "Func": "processFixupValue", "Target": "LC3", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 115216, "Length": 60, "Cover_Rate": 0.9836065573770492} {"Template_token": ["", "void", "relaxInstruction", "(", "const", "MCInst", "&", "Inst", ",", "MCInst", "&", "Res", ")", "const", "override", "{"], "ground_truth": ["}"], "File": "LC3AsmBackend", "Func": "relaxInstruction", "Target": "LC3", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 115217, "Length": 16, "Cover_Rate": 1.0} {"Template_token": ["", "void", "relaxInstruction", "(", "const", "MCInst", "&", "Inst", ",", "MCInst", "&", "Res", ")", "const", "override", "{"], "ground_truth": ["}"], "File": "LC3AsmBackend", "Func": "relaxInstruction", "Target": "LC3", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 115218, "Length": 16, "Cover_Rate": 1.0} {"Template_token": ["", "bool", "writeNopData", "(", "uint64_t", "Count", ",", "MCObjectWriter", "*", "OW", ")", "const", "override", "{", "if", "(", "Count", "==", "", ")", "{", "return", "true", ";", "}"], "ground_truth": ["return", "false", ";"], "File": "LC3AsmBackend", "Func": "writeNopData", "Target": "LC3", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 115219, "Length": 27, "Cover_Rate": 0.9642857142857143} {"Template_token": ["", "~", "AsmBackend", "(", ")", "{"], "ground_truth": ["}"], "File": "LC3AsmBackend", "Func": "~LC3AsmBackend", "Target": "LC3", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 115220, "Length": 6, "Cover_Rate": 1.0} {"Template_token": ["", "~", "AsmBackend", "(", ")", "{"], "ground_truth": ["}"], "File": "LC3AsmBackend", "Func": "~LC3AsmBackend", "Target": "LC3", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 115221, "Length": 6, "Cover_Rate": 1.0} {"Template_token": ["", "MCInstLowering", ".", "Initialize", "(", "Mang", ",", "&", "MF", "->", "getContext", "(", ")", ")", ";"], "ground_truth": ["}"], "File": "LC3AsmPrinter", "Func": "EmitFunctionBodyStart", "Target": "LC3", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 115223, "Length": 15, "Cover_Rate": 0.6818181818181818} {"Template_token": ["", "OutStreamer", "->", "EmitLabel", "(", "CurrentFnSym", ")", ";"], "ground_truth": ["}"], "File": "LC3AsmPrinter", "Func": "EmitFunctionEntryLabel", "Target": "LC3", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 115224, "Length": 8, "Cover_Rate": 0.5333333333333333} {"Template_token": ["", "void", "AsmPrinter", "::", "EmitInstruction", "(", "const", "MachineInstr", "*", "MI", ")", "{"], "ground_truth": ["MCInst", "TmpInst", ";"], "File": "LC3AsmPrinter", "Func": "EmitInstruction", "Target": "LC3", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 115226, "Length": 14, "Cover_Rate": 0.4375} {"Template_token": ["", "virtual", "const", "char", "*", "getPassName", "(", ")", "const", "{", "return", "", ";"], "ground_truth": ["}"], "File": "LC3AsmPrinter", "Func": "getPassName", "Target": "LC3", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 115227, "Length": 13, "Cover_Rate": 1.0} {"Template_token": ["", "return", "", ";"], "ground_truth": ["}"], "File": "LC3AsmPrinter", "Func": "getPassName", "Target": "LC3", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 115228, "Length": 4, "Cover_Rate": 0.3076923076923077} {"Template_token": ["", "explicit", "AsmPrinter", "(", "TargetMachine", "&", "TM", ",", "std", "::", "unique_ptr", "<", "MCStreamer", ">", "Streamer", ")", ":", "AsmPrinter", "(", "TM", ",", "std", "::", "move", "(", "Streamer", ")", ")", ",", "MCInstLowering", "(", "*", "this", ")", "{"], "ground_truth": ["}"], "File": "LC3AsmPrinter", "Func": "LC3AsmPrinter", "Target": "LC3", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 115229, "Length": 35, "Cover_Rate": 1.0} {"Template_token": ["", "explicit", "AsmPrinter", "(", "TargetMachine", "&", "TM", ",", "std", "::", "unique_ptr", "<", "MCStreamer", ">", "Streamer", ")", ":", "AsmPrinter", "(", "TM", ",", "std", "::", "move", "(", "Streamer", ")", ")", ",", "MCInstLowering", "(", "*", "this", ")", "{"], "ground_truth": ["}"], "File": "LC3AsmPrinter", "Func": "LC3AsmPrinter", "Target": "LC3", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 115230, "Length": 35, "Cover_Rate": 1.0} {"Template_token": ["", "RegisterAsmPrinter", "<", "AsmPrinter", ">", "X", "(", "TheTarget", ")", ";"], "ground_truth": ["}"], "File": "LC3AsmPrinter", "Func": "LLVMInitializeLC3AsmPrinter", "Target": "LC3", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 115231, "Length": 10, "Cover_Rate": 0.6666666666666666} {"Template_token": ["", "void", "LLVMInitializeAsmPrinter", "(", ")", "{", "RegisterAsmPrinter", "<", "AsmPrinter", ">", "X", "(", "TheTarget", ")", ";"], "ground_truth": ["}"], "File": "LC3AsmPrinter", "Func": "LLVMInitializeLC3AsmPrinter", "Target": "LC3", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 115232, "Length": 15, "Cover_Rate": 1.0} {"Template_token": ["", "MCELFObjectTargetWriter", "*", "MOTW", "=", "new", "ELFObjectWriter", "(", "OSABI", ")", ";"], "ground_truth": ["return", "createELFObjectWriter", "(", "MOTW", ",", "OS", ",", "true", ")", ";"], "File": "LC3ELFObjectWriter", "Func": "createLC3ELFObjectWriter", "Target": "LC3", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 115233, "Length": 20, "Cover_Rate": 0.5714285714285714} {"Template_token": ["", "ELFObjectWriter", "::", "ELFObjectWriter", "(", "uint8_t", "OSABI", ")", ":", "MCELFObjectTargetWriter", "(", "false", ",", "OSABI", ",", "ELF", "::", "EM_ARM", ",", "false", ")", "{"], "ground_truth": ["}"], "File": "LC3ELFObjectWriter", "Func": "LC3ELFObjectWriter", "Target": "LC3", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 115234, "Length": 22, "Cover_Rate": 1.0} {"Template_token": ["", "ELFObjectWriter", "::", "ELFObjectWriter", "(", "uint8_t", "OSABI", ")", ":", "MCELFObjectTargetWriter", "(", "false", ",", "OSABI", ",", "ELF", "::", "EM_ARM", ",", "false", ")", "{"], "ground_truth": ["}"], "File": "LC3ELFObjectWriter", "Func": "LC3ELFObjectWriter", "Target": "LC3", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 115235, "Length": 22, "Cover_Rate": 1.0} {"Template_token": ["", "ELFObjectWriter", "::", "~", "ELFObjectWriter", "(", ")", "{"], "ground_truth": ["}"], "File": "LC3ELFObjectWriter", "Func": "~LC3ELFObjectWriter", "Target": "LC3", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 115236, "Length": 8, "Cover_Rate": 1.0} {"Template_token": ["", "ELFObjectWriter", "::", "~", "ELFObjectWriter", "(", ")", "{"], "ground_truth": ["}"], "File": "LC3ELFObjectWriter", "Func": "~LC3ELFObjectWriter", "Target": "LC3", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 115237, "Length": 8, "Cover_Rate": 1.0} {"Template_token": ["", "void", "FrameLowering", "::", "eliminateCallFramePseudoInstr", "(", "MachineFunction", "&", "MF", ",", "MachineBasicBlock", "&", "MBB", ",", "MachineBasicBlock", "::", "iterator", "I", ")", "const", "{", "if", "(", "I", "->", "getOpcode", "(", ")", "==", "", "||", "I", "->", "getOpcode", "(", ")", "==", "", ")", "{", "MBB", ".", "erase", "(", "I", ")", ";"], "ground_truth": ["}"], "File": "LC3FrameLowering", "Func": "eliminateCallFramePseudoInstr", "Target": "LC3", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 115239, "Length": 47, "Cover_Rate": 0.8703703703703703} {"Template_token": ["", "return", ";", "}", "unsigned", "StackReg", "=", "", ";", "unsigned", "OffsetReg", "=", "materializeOffset", "(", "MF", ",", "MBB", ",", "MBBI", ",", "(", "unsigned", ")", "StackSize", ")", ";", "if", "(", "OffsetReg", ")", "{"], "ground_truth": ["BuildMI", "(", "MBB", ",", "MBBI", ",", "dl", ",", "TII", ".", "get", "(", "", ")", ",", "StackReg", ")", ".", "addReg", "(", "StackReg", ")", ".", "addReg", "(", "OffsetReg", ")", ".", "setMIFlag", "(", "MachineInstr", "::", "FrameSetup", ")", ";"], "File": "LC3FrameLowering", "Func": "emitEpilogue", "Target": "LC3", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 115240, "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", ")", ";"], "ground_truth": ["}", "else", "{"], "File": "LC3FrameLowering", "Func": "emitPrologue", "Target": "LC3", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 115241, "Length": 82, "Cover_Rate": 0.43386243386243384} {"Template_token": ["", "FrameLowering", "::", "FrameLowering", "(", ")", ":", "TargetFrameLowering", "(", "TargetFrameLowering", "::", "StackGrowsDown", ",", "", ",", "", ")", "{"], "ground_truth": ["}"], "File": "LC3FrameLowering", "Func": "LC3FrameLowering", "Target": "LC3", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 115244, "Length": 18, "Cover_Rate": 1.0} {"Template_token": ["", "FrameLowering", "::", "FrameLowering", "(", ")", ":", "TargetFrameLowering", "(", "TargetFrameLowering", "::", "StackGrowsDown", ",", "", ",", "", ")", "{"], "ground_truth": ["}"], "File": "LC3FrameLowering", "Func": "LC3FrameLowering", "Target": "LC3", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 115245, "Length": 18, "Cover_Rate": 1.0} {"Template_token": ["", "return", "", ";", "}", "else", "{", "unsigned", "OffsetReg", "=", "", ";", "unsigned", "OffsetLo", "=", "(", "unsigned", ")", "(", "Offset", "&", "", ")", ";", "unsigned", "OffsetHi", "=", "(", "unsigned", ")", "(", "(", "Offset", "&", "", ")", ">>", "", ")", ";", "while", "(", "OffsetLo", ")", "{", "while", "(", "OffsetHi", "&&", "OffsetLo", "<=", "", ")", "{", "OffsetLo", "=", "OffsetLo", "<<", "", ";", "OffsetHi", "=", "OffsetHi", ">>", "", ";", "}", "BuildMI", "(", "MBB", ",", "MBBI", ",", "dl", ",", "TII", ".", "get", "(", "", ")", ",", "OffsetReg", ")", ".", "addReg", "(", "OffsetReg", ")", ".", "addImm", "(", "OffsetLo", ")", ".", "setMIFlag", "(", "MachineInstr", "::", "FrameSetup", ")", ";", "OffsetLo", "=", "OffsetHi", ";", "OffsetHi", "=", "OffsetHi", ">>", "", ";", "if", "(", "OffsetLo", ")", "{", "for", "(", "int", "i", "=", "", ";", "i", "<", "", ";", "i", "++", ")", "{", "BuildMI", "(", "MBB", ",", "MBBI", ",", "dl", ",", "TII", ".", "get", "(", "", ")", ",", "OffsetReg", ")", ".", "addReg", "(", "OffsetReg", ")", ".", "addReg", "(", "OffsetReg", ")", ".", "setMIFlag", "(", "MachineInstr", "::", "FrameSetup", ")", ";", "}", "}"], "ground_truth": ["}"], "File": "LC3FrameLowering", "Func": "materializeOffset", "Target": "LC3", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 115246, "Length": 169, "Cover_Rate": 0.6733067729083665} {"Template_token": ["", "return", "", ";"], "ground_truth": ["}"], "File": "LC3FrameLowering", "Func": "stackSlotSize", "Target": "LC3", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 115248, "Length": 4, "Cover_Rate": 0.4} {"Template_token": ["", "case", "", ":", "case", "", ":", "case", "", ":", "case", "", ":", "case", "", ":", "case", "", ":", "case", "", ":", "case", "", ":", "case", "", ":", "case", "", ":", "case", "", ":", "case", "", ":", "case", "", ":", "case", "", ":", "case", "", ":", "case", "", ":", "llvm_unreachable", "(", "", ")", ";", "return", "nullptr", ";", "case", "", ":", "case", "", ":", "return", "", ";", "case", "", ":", "return", "", ";", "case", "", ":", "return", "", ";", "case", "", ":", "return", "", ";", "case", "", ":", "return", "", ";", "case", "", ":", "return", "", ";", "case", "", ":", "return", "", ";", "}"], "ground_truth": ["}"], "File": "LC3InstPrinter", "Func": "condCodeToString", "Target": "LC3", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 115249, "Length": 103, "Cover_Rate": 0.5919540229885057} {"Template_token": ["", "InstPrinter", "(", "const", "MCAsmInfo", "&", "MAI", ",", "const", "MCInstrInfo", "&", "MII", ",", "const", "MCRegisterInfo", "&", "MRI", ")", ":", "MCInstPrinter", "(", "MAI", ",", "MII", ",", "MRI", ")", "{"], "ground_truth": ["}"], "File": "LC3InstPrinter", "Func": "LC3InstPrinter", "Target": "LC3", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 115250, "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": "LC3InstPrinter", "Func": "LC3InstPrinter", "Target": "LC3", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 115251, "Length": 28, "Cover_Rate": 1.0} {"Template_token": ["", "printRegName", "(", "O", ",", "Op1", ".", "getReg", "(", ")", ")", ";", "unsigned", "Offset", "=", "Op2", ".", "getImm", "(", ")", ";", "O", "<<", "", "<<", "(", "Offset", "/", "", ")", ";"], "ground_truth": ["}"], "File": "LC3InstPrinter", "Func": "printAddrModeMemSrc", "Target": "LC3", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 115252, "Length": 31, "Cover_Rate": 0.41333333333333333} {"Template_token": ["", "void", "InstPrinter", "::", "printAddrModeMemSrc", "(", "const", "MCInst", "*", "MI", ",", "unsigned", "OpNum", ",", "raw_ostream", "&", "O", ")", "{"], "ground_truth": ["const", "MCOperand", "&", "Op1", "=", "MI", "->", "getOperand", "(", "OpNum", ")", ";"], "File": "LC3InstPrinter", "Func": "printAddrModeMemSrc", "Target": "LC3", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 115253, "Length": 30, "Cover_Rate": 0.4} {"Template_token": ["", "const", "MCOperand", "&", "Op", "=", "MI", "->", "getOperand", "(", "OpNum", ")", ";", "", "CC", "=", "(", "", ")", "Op", ".", "getImm", "(", ")", ";"], "ground_truth": ["const", "char", "*", "Str", "=", "condCodeToString", "(", "CC", ")", ";"], "File": "LC3InstPrinter", "Func": "printCondCode", "Target": "LC3", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 115254, "Length": 34, "Cover_Rate": 0.5573770491803278} {"Template_token": ["", "", "CC", "=", "(", "", ")", "Op", ".", "getImm", "(", ")", ";"], "ground_truth": ["const", "char", "*", "Str", "=", "condCodeToString", "(", "CC", ")", ";"], "File": "LC3InstPrinter", "Func": "printCondCode", "Target": "LC3", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 115255, "Length": 22, "Cover_Rate": 0.36065573770491804} {"Template_token": ["", "const", "MCSymbolRefExpr", "*", "SRE", ";", "if", "(", "const", "MCBinaryExpr", "*", "BE", "=", "dyn_cast", "<", "MCBinaryExpr", ">", "(", "Expr", ")", ")", "{", "SRE", "=", "dyn_cast", "<", "MCSymbolRefExpr", ">", "(", "BE", "->", "getLHS", "(", ")", ")", ";", "const", "MCConstantExpr", "*", "CE", "=", "dyn_cast", "<", "MCConstantExpr", ">", "(", "BE", "->", "getRHS", "(", ")", ")", ";", "assert", "(", "SRE", "&&", "CE", "&&", "", ")", ";", "Offset", "=", "CE", "->", "getValue", "(", ")", ";", "}", "else", "{", "SRE", "=", "dyn_cast", "<", "MCSymbolRefExpr", ">", "(", "Expr", ")", ";", "assert", "(", "SRE", "&&", "", ")", ";", "}", "const", "MCSymbolRefExpr", "::", "VariantKind", "Kind", "=", "SRE", "->", "getKind", "(", ")", ";", "assert", "(", "Kind", "==", "MCSymbolRefExpr", "::", "VK_None", "||", "Kind", "==", "MCSymbolRefExpr", "::", "VK__LO", "||", "Kind", "==", "MCSymbolRefExpr", "::", "VK__HI", ")", ";", "OS", "<<", "SRE", "->", "getSymbol", "(", ")", ";", "if", "(", "Offset", ")", "{", "if", "(", "Offset", ">", "", ")", "{", "OS", "<<", "'+'", ";"], "ground_truth": ["}"], "File": "LC3InstPrinter", "Func": "printExpr", "Target": "LC3", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 115256, "Length": 148, "Cover_Rate": 0.8554913294797688} {"Template_token": ["", "printInstruction", "(", "MI", ",", "O", ")", ";", "printAnnotation", "(", "O", ",", "Annot", ")", ";"], "ground_truth": ["}"], "File": "LC3InstPrinter", "Func": "printInst", "Target": "LC3", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 115257, "Length": 15, "Cover_Rate": 0.39473684210526316} {"Template_token": ["", "void", "InstPrinter", "::", "printInst", "(", "const", "MCInst", "*", "MI", ",", "raw_ostream", "&", "O", ",", "StringRef", "Annot", ",", "const", "MCSubtargetInfo", "&", "STI", ")", "{"], "ground_truth": ["printInstruction", "(", "MI", ",", "O", ")", ";"], "File": "LC3InstPrinter", "Func": "printInst", "Target": "LC3", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 115258, "Length": 30, "Cover_Rate": 0.7894736842105263} {"Template_token": ["", "return", ";", "}", "if", "(", "Op", ".", "isImm", "(", ")", ")", "{", "if", "(", "getOpcodeName", "(", "MI", "->", "getOpcode", "(", ")", ")", "==", "", "||", "getOpcodeName", "(", "MI", "->", "getOpcode", "(", ")", ")", "==", "", ")", "O", "<<", "", "<<", "MCInstPrinter", "::", "formatHex", "(", "Op", ".", "getImm", "(", ")", ")", ";", "else", "O", "<<", "", "<<", "Op", ".", "getImm", "(", ")", ";"], "ground_truth": ["return", ";"], "File": "LC3InstPrinter", "Func": "printOperand", "Target": "LC3", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 115259, "Length": 64, "Cover_Rate": 0.463768115942029} {"Template_token": ["", "}", "if", "(", "Op", ".", "isImm", "(", ")", ")", "{", "if", "(", "getOpcodeName", "(", "MI", "->", "getOpcode", "(", ")", ")", "==", "", "||", "getOpcodeName", "(", "MI", "->", "getOpcode", "(", ")", ")", "==", "", ")", "O", "<<", "", "<<", "MCInstPrinter", "::", "formatHex", "(", "Op", ".", "getImm", "(", ")", ")", ";", "else", "O", "<<", "", "<<", "Op", ".", "getImm", "(", ")", ";", "return", ";", "}"], "ground_truth": ["assert", "(", "Op", ".", "isExpr", "(", ")", "&&", "", ")", ";"], "File": "LC3InstPrinter", "Func": "printOperand", "Target": "LC3", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 115260, "Length": 74, "Cover_Rate": 0.5362318840579711} {"Template_token": ["", "OS", "<<", "StringRef", "(", "getRegisterName", "(", "RegNo", ")", ")", ".", "lower", "(", ")", ";"], "ground_truth": ["}"], "File": "LC3InstPrinter", "Func": "printRegName", "Target": "LC3", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 115261, "Length": 15, "Cover_Rate": 0.5172413793103449} {"Template_token": ["", "OS", "<<", "StringRef", "(", "getRegisterName", "(", "RegNo", ")", ")", ".", "lower", "(", ")", ";"], "ground_truth": ["}"], "File": "LC3InstPrinter", "Func": "printRegName", "Target": "LC3", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 115262, "Length": 15, "Cover_Rate": 0.5172413793103449} {"Template_token": ["", "FBB", "=", "nullptr", ";", "for", "(", "MachineInstr", "&", "MI", ":", "MBB", ")", "{", "if", "(", "MI", ".", "getOpcode", "(", ")", "==", "", ")", "{", "MachineBasicBlock", "*", "TargetBB", "=", "MI", ".", "getOperand", "(", "", ")", ".", "getMBB", "(", ")", ";", "if", "(", "HasCondBranch", ")", "{", "FBB", "=", "TargetBB", ";", "}", "else", "{", "TBB", "=", "TargetBB", ";", "}", "}", "else", "if", "(", "MI", ".", "getOpcode", "(", ")", "==", "", ")", "{", "MachineBasicBlock", "*", "TargetBB", "=", "MI", ".", "getOperand", "(", "", ")", ".", "getMBB", "(", ")", ";", "TBB", "=", "TargetBB", ";", "Cond", ".", "push_back", "(", "MI", ".", "getOperand", "(", "", ")", ")", ";", "HasCondBranch", "=", "true", ";", "}", "}", "return", "false", ";"], "ground_truth": ["}"], "File": "LC3InstrInfo", "Func": "AnalyzeBranch", "Target": "LC3", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 115263, "Length": 110, "Cover_Rate": 0.7142857142857143} {"Template_token": ["", "void", "InstrInfo", "::", "anchor", "(", ")", "{"], "ground_truth": ["}"], "File": "LC3InstrInfo", "Func": "anchor", "Target": "LC3", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 115264, "Length": 8, "Cover_Rate": 1.0} {"Template_token": ["", "void", "InstrInfo", "::", "anchor", "(", ")", "{"], "ground_truth": ["}"], "File": "LC3InstrInfo", "Func": "anchor", "Target": "LC3", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 115265, "Length": 8, "Cover_Rate": 1.0} {"Template_token": ["", "return", "RI", ";"], "ground_truth": ["}"], "File": "LC3InstrInfo", "Func": "getRegisterInfo", "Target": "LC3", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 115268, "Length": 4, "Cover_Rate": 0.3333333333333333} {"Template_token": ["", "const", "RegisterInfo", "&", "getRegisterInfo", "(", ")", "const", "{"], "ground_truth": ["return", "RI", ";"], "File": "LC3InstrInfo", "Func": "getRegisterInfo", "Target": "LC3", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 115269, "Length": 11, "Cover_Rate": 0.9166666666666666} {"Template_token": ["", "NumInserted", "++", ";", "}", "if", "(", "Cond", ".", "empty", "(", ")", "||", "FBB", ")", "{", "BuildMI", "(", "MBB", ",", "MBB", ".", "end", "(", ")", ",", "DL", ",", "get", "(", "", ")", ")", ".", "addMBB", "(", "Cond", ".", "empty", "(", ")", "?", "TBB", ":", "FBB", ")", ";", "NumInserted", "++", ";", "}", "return", "NumInserted", ";"], "ground_truth": ["}"], "File": "LC3InstrInfo", "Func": "InsertBranch", "Target": "LC3", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 115270, "Length": 54, "Cover_Rate": 0.40601503759398494} {"Template_token": ["", "unsigned", "InstrInfo", "::", "isLoadFromStackSlot", "(", "const", "MachineInstr", "*", "MI", ",", "int", "&", "FrameIndex", ")", "const", "{"], "ground_truth": ["return", "", ";"], "File": "LC3InstrInfo", "Func": "isLoadFromStackSlot", "Target": "LC3", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 115272, "Length": 19, "Cover_Rate": 0.95} {"Template_token": ["", "unsigned", "InstrInfo", "::", "isStoreToStackSlot", "(", "const", "MachineInstr", "*", "MI", ",", "int", "&", "FrameIndex", ")", "const", "{", "return", "", ";"], "ground_truth": ["}"], "File": "LC3InstrInfo", "Func": "isStoreToStackSlot", "Target": "LC3", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 115274, "Length": 20, "Cover_Rate": 1.0} {"Template_token": ["", "InstrInfo", "::", "InstrInfo", "(", ")", ":", "GenInstrInfo", "(", "", ",", "", ")", ",", "RI", "(", ")", "{"], "ground_truth": ["}"], "File": "LC3InstrInfo", "Func": "LC3InstrInfo", "Target": "LC3", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 115275, "Length": 18, "Cover_Rate": 0.8181818181818182} {"Template_token": ["", "InstrInfo", "::", "InstrInfo", "(", ")", ":", "GenInstrInfo", "(", "", ",", "", ")", ",", "RI", "(", ")", "{"], "ground_truth": ["}"], "File": "LC3InstrInfo", "Func": "LC3InstrInfo", "Target": "LC3", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 115276, "Length": 18, "Cover_Rate": 0.8181818181818182} {"Template_token": ["", "BuildMI", "(", "MBB", ",", "I", ",", "I", "->", "getDebugLoc", "(", ")", ",", "get", "(", "", ")", ",", "DestReg", ")", ".", "addFrameIndex", "(", "FrameIndex", ")", ".", "addImm", "(", "", ")", ";"], "ground_truth": ["}"], "File": "LC3InstrInfo", "Func": "loadRegFromStackSlot", "Target": "LC3", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 115278, "Length": 31, "Cover_Rate": 0.47692307692307695} {"Template_token": ["", "unsigned", "InstrInfo", "::", "RemoveBranch", "(", "MachineBasicBlock", "&", "MBB", ")", "const", "{", "if", "(", "MBB", ".", "empty", "(", ")", ")", "return", "", ";", "unsigned", "NumRemoved", "=", "", ";", "auto", "I", "=", "MBB", ".", "end", "(", ")", ";", "do", "{"], "ground_truth": ["--", "I", ";"], "File": "LC3InstrInfo", "Func": "RemoveBranch", "Target": "LC3", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 115279, "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", "(", ")", ")", ";"], "ground_truth": ["return", "NumRemoved", ";"], "File": "LC3InstrInfo", "Func": "RemoveBranch", "Target": "LC3", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 115280, "Length": 58, "Cover_Rate": 0.5576923076923077} {"Template_token": ["", "return", "new", "DAGToDAGISel", "(", "TM", ",", "OptLevel", ")", ";"], "ground_truth": ["}"], "File": "LC3ISelDAGToDAG", "Func": "createLC3ISelDag", "Target": "LC3", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 115283, "Length": 10, "Cover_Rate": 0.38461538461538464} {"Template_token": ["", "virtual", "const", "char", "*", "getPassName", "(", ")", "const", "{"], "ground_truth": ["return", "", ";"], "File": "LC3ISelDAGToDAG", "Func": "getPassName", "Target": "LC3", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 115285, "Length": 12, "Cover_Rate": 0.9230769230769231} {"Template_token": ["", "explicit", "DAGToDAGISel", "(", "TargetMachine", "&", "TM", ",", "CodeGenOpt", "::", "Level", "OptLevel", ")", ":", "SelectionDAGISel", "(", "TM", ",", "OptLevel", ")", ",", "Subtarget", "(", "*", "TM", ".", "getSubtargetImpl", "(", ")", ")", "{"], "ground_truth": ["}"], "File": "LC3ISelDAGToDAG", "Func": "LC3DAGToDAGISel", "Target": "LC3", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 115287, "Length": 31, "Cover_Rate": 1.0} {"Template_token": ["", "explicit", "DAGToDAGISel", "(", "TargetMachine", "&", "TM", ",", "CodeGenOpt", "::", "Level", "OptLevel", ")", ":", "SelectionDAGISel", "(", "TM", ",", "OptLevel", ")", ",", "Subtarget", "(", "*", "TM", ".", "getSubtargetImpl", "(", ")", ")", "{"], "ground_truth": ["}"], "File": "LC3ISelDAGToDAG", "Func": "LC3DAGToDAGISel", "Target": "LC3", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 115288, "Length": 31, "Cover_Rate": 1.0} {"Template_token": ["", "switch", "(", "N", "->", "getOpcode", "(", ")", ")", "{", "case", "", ":", "return", "SelectMoveImmediate", "(", "N", ")", ";", "case", "", ":", "return", "SelectConditionalBranch", "(", "N", ")", ";", "}", "return", "SelectCode", "(", "N", ")", ";"], "ground_truth": ["}"], "File": "LC3ISelDAGToDAG", "Func": "Select", "Target": "LC3", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 115289, "Length": 35, "Cover_Rate": 0.7} {"Template_token": ["", "SDNode", "*", "DAGToDAGISel", "::", "Select", "(", "SDNode", "*", "N", ")", "{", "switch", "(", "N", "->", "getOpcode", "(", ")", ")", "{"], "ground_truth": ["case", "", ":"], "File": "LC3ISelDAGToDAG", "Func": "Select", "Target": "LC3", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 115290, "Length": 23, "Cover_Rate": 0.46} {"Template_token": ["", "if", "(", "FrameIndexSDNode", "*", "FIN", "=", "dyn_cast", "<", "FrameIndexSDNode", ">", "(", "Addr", ")", ")", "{", "EVT", "PtrVT", "=", "getTargetLowering", "(", ")", "->", "getPointerTy", "(", "*", "TM", ".", "getDataLayout", "(", ")", ")", ";", "Base", "=", "CurDAG", "->", "getTargetFrameIndex", "(", "FIN", "->", "getIndex", "(", ")", ",", "PtrVT", ")", ";", "Offset", "=", "CurDAG", "->", "getTargetConstant", "(", "", ",", "Addr", ",", "", ")", ";", "return", "true", ";", "}", "if", "(", "Addr", ".", "getOpcode", "(", ")", "==", "", "||", "Addr", ".", "getOpcode", "(", ")", "==", "", "||", "Addr", ".", "getOpcode", "(", ")", "==", "", ")", "{", "return", "false", ";"], "ground_truth": ["}"], "File": "LC3ISelDAGToDAG", "Func": "SelectAddr", "Target": "LC3", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 115291, "Length": 95, "Cover_Rate": 0.6643356643356644} {"Template_token": ["", "EVT", "PtrVT", "=", "getTargetLowering", "(", ")", "->", "getPointerTy", "(", "*", "TM", ".", "getDataLayout", "(", ")", ")", ";", "Base", "=", "CurDAG", "->", "getTargetFrameIndex", "(", "FIN", "->", "getIndex", "(", ")", ",", "PtrVT", ")", ";", "Offset", "=", "CurDAG", "->", "getTargetConstant", "(", "", ",", "Addr", ",", "", ")", ";", "return", "true", ";", "}"], "ground_truth": ["if", "(", "Addr", ".", "getOpcode", "(", ")", "==", "", "||", "Addr", ".", "getOpcode", "(", ")", "==", "", "||", "Addr", ".", "getOpcode", "(", ")", "==", "", ")", "{"], "File": "LC3ISelDAGToDAG", "Func": "SelectAddr", "Target": "LC3", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 115292, "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", "(", ")", ")", ";"], "ground_truth": ["SDValue", "CCVal", "=", "CurDAG", "->", "getTargetConstant", "(", "CC", "->", "get", "(", ")", ",", "N", ",", "", ")", ";"], "File": "LC3ISelDAGToDAG", "Func": "SelectConditionalBranch", "Target": "LC3", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 115293, "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", ",", "", ")", ";"], "ground_truth": ["MachineSDNode", "*", "Move", "=", "CurDAG", "->", "getMachineNode", "(", "", ",", "N", ",", "", ",", "ConstLo", ")", ";"], "File": "LC3ISelDAGToDAG", "Func": "SelectMoveImmediate", "Target": "LC3", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 115294, "Length": 103, "Cover_Rate": 0.5919540229885057} {"Template_token": ["", "SmallVector", "<", "CCValAssign", ",", "", ">", "RVLocs", ";", "CCState", "CCInfo", "(", "CallConv", ",", "isVarArg", ",", "MF", ",", "RVLocs", ",", "Context", ")", ";", "if", "(", "!", "CCInfo", ".", "CheckReturn", "(", "Outs", ",", "RetCC_", ")", ")", "{", "return", "false", ";", "}", "if", "(", "CCInfo", ".", "getNextStackOffset", "(", ")", "!=", "", "&&", "isVarArg", ")", "{", "return", "false", ";"], "ground_truth": ["}"], "File": "LC3ISelLowering", "Func": "CanLowerReturn", "Target": "LC3", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 115295, "Length": 56, "Cover_Rate": 0.6021505376344086} {"Template_token": ["", "if", "(", "!", "CCInfo", ".", "CheckReturn", "(", "Outs", ",", "RetCC_", ")", ")", "{", "return", "false", ";", "}", "if", "(", "CCInfo", ".", "getNextStackOffset", "(", ")", "!=", "", "&&", "isVarArg", ")", "{"], "ground_truth": ["return", "false", ";"], "File": "LC3ISelLowering", "Func": "CanLowerReturn", "Target": "LC3", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 115296, "Length": 33, "Cover_Rate": 0.3548387096774194} {"Template_token": ["", "default", ":", "return", "NULL", ";", "case", "", ":", "return", "", ";"], "ground_truth": ["case", "", ":", "return", "", ";"], "File": "LC3ISelLowering", "Func": "getTargetNodeName", "Target": "LC3", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 115297, "Length": 17, "Cover_Rate": 0.30357142857142855} {"Template_token": ["", "return", "NULL", ";", "case", "", ":", "return", "", ";", "case", "", ":", "return", "", ";", "case", "", ":", "return", "", ";"], "ground_truth": ["case", "", ":", "return", "", ";"], "File": "LC3ISelLowering", "Func": "getTargetNodeName", "Target": "LC3", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 115298, "Length": 27, "Cover_Rate": 0.48214285714285715} {"Template_token": ["", "addRegisterClass", "(", "", ",", "&", "", ")", ";", "computeRegisterProperties", "(", "Subtarget", ".", "getRegisterInfo", "(", ")", ")", ";", "setStackPointerRegisterToSaveRestore", "(", "", ")", ";", "setSchedulingPreference", "(", "Sched", "::", "Source", ")", ";"], "ground_truth": ["setOperationAction", "(", "", ",", "", ",", "Custom", ")", ";"], "File": "LC3ISelLowering", "Func": "LC3TargetLowering", "Target": "LC3", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 115299, "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", ")", ";"], "ground_truth": ["setOperationAction", "(", "", ",", "", ",", "Expand", ")", ";"], "File": "LC3ISelLowering", "Func": "LC3TargetLowering", "Target": "LC3", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 115300, "Length": 71, "Cover_Rate": 0.8255813953488372} {"Template_token": ["", "GlobalAddressSDNode", "*", "G", "=", "dyn_cast", "<", "GlobalAddressSDNode", ">", "(", "Callee", ")", ";", "assert", "(", "G", "&&", "", ")", ";", "EVT", "PtrVT", "=", "getPointerTy", "(", "DAG", ".", "getDataLayout", "(", ")", ")", ";", "Callee", "=", "DAG", ".", "getGlobalAddress", "(", "G", "->", "getGlobal", "(", ")", ",", "Loc", ",", "PtrVT", ",", "", ")", ";", "std", "::", "vector", "<", "SDValue", ">", "Ops", ";", "Ops", ".", "push_back", "(", "Chain", ")", ";", "Ops", ".", "push_back", "(", "Callee", ")", ";", "for", "(", "auto", "&", "Reg", ":", "RegsToPass", ")", "{", "Ops", ".", "push_back", "(", "DAG", ".", "getRegister", "(", "Reg", ".", "first", ",", "Reg", ".", "second", ".", "getValueType", "(", ")", ")", ")", ";", "}", "const", "uint32_t", "*", "Mask", ";", "const", "TargetRegisterInfo", "*", "TRI", "=", "DAG", ".", "getSubtarget", "(", ")", ".", "getRegisterInfo", "(", ")", ";", "Mask", "=", "TRI", "->", "getCallPreservedMask", "(", "DAG", ".", "getMachineFunction", "(", ")", ",", "CallConv", ")", ";", "assert", "(", "Mask", "&&", "", ")", ";", "Ops", ".", "push_back", "(", "DAG", ".", "getRegisterMask", "(", "Mask", ")", ")", ";", "if", "(", "InFlag", ".", "getNode", "(", ")", ")", "{", "Ops", ".", "push_back", "(", "InFlag", ")", ";", "}", "SDVTList", "NodeTys", "=", "DAG", ".", "getVTList", "(", "", ",", "", ")", ";", "Chain", "=", "DAG", ".", "getNode", "(", "", ",", "Loc", ",", "NodeTys", ",", "Ops", ")", ";", "InFlag", "=", "Chain", ".", "getValue", "(", "", ")", ";", "Chain", "=", "DAG", ".", "getCALLSEQ_END", "(", "Chain", ",", "DAG", ".", "getIntPtrConstant", "(", "NumBytes", ",", "Loc", ",", "true", ")", ",", "DAG", ".", "getIntPtrConstant", "(", "", ",", "Loc", ",", "true", ")", ",", "InFlag", ",", "Loc", ")", ";", "if", "(", "!", "Ins", ".", "empty", "(", ")", ")", "{", "InFlag", "=", "Chain", ".", "getValue", "(", "", ")", ";"], "ground_truth": ["}"], "File": "LC3ISelLowering", "Func": "LowerCall", "Target": "LC3", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 115301, "Length": 266, "Cover_Rate": 0.35} {"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", "(", "", ")", ")", ";", "}"], "ground_truth": ["return", "Chain", ";"], "File": "LC3ISelLowering", "Func": "LowerCallResult", "Target": "LC3", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 115302, "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", ")", ";"], "ground_truth": ["assert", "(", "VA", ".", "getValVT", "(", ")", "==", "", "&&", "", ")", ";"], "File": "LC3ISelLowering", "Func": "LowerFormalArguments", "Target": "LC3", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 115303, "Length": 152, "Cover_Rate": 0.46060606060606063} {"Template_token": ["", "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", "(", ")", "==", "", "&&", "", ")", ";", "SDValue", "Load", "=", "DAG", ".", "getLoad", "(", "VA", ".", "getValVT", "(", ")", ",", "dl", ",", "Chain", ",", "FIPtr", ",", "MachinePointerInfo", "(", ")", ",", "false", ",", "false", ",", "false", ",", "", ")", ";", "InVals", ".", "push_back", "(", "Load", ")", ";"], "ground_truth": ["}"], "File": "LC3ISelLowering", "Func": "LowerFormalArguments", "Target": "LC3", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 115304, "Length": 120, "Cover_Rate": 0.36363636363636365} {"Template_token": ["", "SDValue", "TargetLowering", "::", "LowerGlobalAddress", "(", "SDValue", "Op", ",", "SelectionDAG", "&", "DAG", ")", "const", "{", "EVT", "VT", "=", "Op", ".", "getValueType", "(", ")", ";", "GlobalAddressSDNode", "*", "GlobalAddr", "=", "cast", "<", "GlobalAddressSDNode", ">", "(", "Op", ".", "getNode", "(", ")", ")", ";", "SDValue", "TargetAddr", "=", "DAG", ".", "getTargetGlobalAddress", "(", "GlobalAddr", "->", "getGlobal", "(", ")", ",", "Op", ",", "", ")", ";", "return", "DAG", ".", "getNode", "(", "", ",", "Op", ",", "VT", ",", "TargetAddr", ")", ";"], "ground_truth": ["}"], "File": "LC3ISelLowering", "Func": "LowerGlobalAddress", "Target": "LC3", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 115305, "Length": 72, "Cover_Rate": 0.9473684210526315} {"Template_token": ["", "default", ":", "llvm_unreachable", "(", "", ")", ";", "case", "", ":", "return", "LowerGlobalAddress", "(", "Op", ",", "DAG", ")", ";", "}"], "ground_truth": ["}"], "File": "LC3ISelLowering", "Func": "LowerOperation", "Target": "LC3", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 115306, "Length": 20, "Cover_Rate": 0.4444444444444444} {"Template_token": ["", "SmallVector", "<", "CCValAssign", ",", "", ">", "RVLocs", ";", "CCState", "CCInfo", "(", "CallConv", ",", "isVarArg", ",", "DAG", ".", "getMachineFunction", "(", ")", ",", "RVLocs", ",", "*", "DAG", ".", "getContext", "(", ")", ")", ";", "CCInfo", ".", "AnalyzeReturn", "(", "Outs", ",", "RetCC_", ")", ";", "SDValue", "Flag", ";", "SmallVector", "<", "SDValue", ",", "", ">", "RetOps", "(", "", ",", "Chain", ")", ";", "for", "(", "unsigned", "i", "=", "", ",", "e", "=", "RVLocs", ".", "size", "(", ")", ";", "i", "<", "e", ";", "++", "i", ")", "{", "CCValAssign", "&", "VA", "=", "RVLocs", "[", "i", "]", ";", "assert", "(", "VA", ".", "isRegLoc", "(", ")", "&&", "", ")", ";", "Chain", "=", "DAG", ".", "getCopyToReg", "(", "Chain", ",", "dl", ",", "VA", ".", "getLocReg", "(", ")", ",", "OutVals", "[", "i", "]", ",", "Flag", ")", ";", "Flag", "=", "Chain", ".", "getValue", "(", "", ")", ";", "RetOps", ".", "push_back", "(", "DAG", ".", "getRegister", "(", "VA", ".", "getLocReg", "(", ")", ",", "VA", ".", "getLocVT", "(", ")", ")", ")", ";", "}", "RetOps", "[", "", "]", "=", "Chain", ";", "if", "(", "Flag", ".", "getNode", "(", ")", ")", "{", "RetOps", ".", "push_back", "(", "Flag", ")", ";"], "ground_truth": ["}"], "File": "LC3ISelLowering", "Func": "LowerReturn", "Target": "LC3", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 115307, "Length": 179, "Cover_Rate": 0.7103174603174603} {"Template_token": ["", "FunctionInfo", "(", ")", "{"], "ground_truth": ["}"], "File": "LC3MachineFunctionInfo", "Func": "LC3FunctionInfo", "Target": "LC3", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 115308, "Length": 5, "Cover_Rate": 1.0} {"Template_token": ["", "FunctionInfo", "(", ")", "{"], "ground_truth": ["}"], "File": "LC3MachineFunctionInfo", "Func": "LC3FunctionInfo", "Target": "LC3", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 115309, "Length": 5, "Cover_Rate": 1.0} {"Template_token": ["", "~", "FunctionInfo", "(", ")", "{"], "ground_truth": ["}"], "File": "LC3MachineFunctionInfo", "Func": "~LC3FunctionInfo", "Target": "LC3", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 115310, "Length": 6, "Cover_Rate": 1.0} {"Template_token": ["", "~", "FunctionInfo", "(", ")", "{"], "ground_truth": ["}"], "File": "LC3MachineFunctionInfo", "Func": "~LC3FunctionInfo", "Target": "LC3", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 115311, "Length": 6, "Cover_Rate": 1.0} {"Template_token": ["", "void", "MCAsmInfo", "::", "anchor", "(", ")", "{"], "ground_truth": ["}"], "File": "LC3MCAsmInfo", "Func": "anchor", "Target": "LC3", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 115312, "Length": 8, "Cover_Rate": 1.0} {"Template_token": ["", "void", "MCAsmInfo", "::", "anchor", "(", ")", "{"], "ground_truth": ["}"], "File": "LC3MCAsmInfo", "Func": "anchor", "Target": "LC3", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 115313, "Length": 8, "Cover_Rate": 1.0} {"Template_token": ["", "MCAsmInfo", "::", "MCAsmInfo", "(", "const", "Triple", "&", "TT", ")", "{", "SupportsDebugInformation", "=", "true", ";", "Data16bitsDirective", "=", "", ";", "Data32bitsDirective", "=", "", ";", "Data64bitsDirective", "=", "", ";", "ZeroDirective", "=", "", ";"], "ground_truth": ["CommentString", "=", "", ";"], "File": "LC3MCAsmInfo", "Func": "LC3MCAsmInfo", "Target": "LC3", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 115314, "Length": 34, "Cover_Rate": 0.6666666666666666} {"Template_token": ["", "MCCodeEmitter", "*", "llvm", "::", "createMCCodeEmitter", "(", "const", "MCInstrInfo", "&", "MCII", ",", "const", "MCRegisterInfo", "&", "MRI", ",", "MCContext", "&", "Ctx", ")", "{", "return", "new", "MCCodeEmitter", "(", "MCII", ",", "Ctx", ")", ";"], "ground_truth": ["}"], "File": "LC3MCCodeEmitter", "Func": "createLC3MCCodeEmitter", "Target": "LC3", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 115315, "Length": 31, "Cover_Rate": 1.0} {"Template_token": ["", "return", "new", "MCCodeEmitter", "(", "MCII", ",", "Ctx", ")", ";"], "ground_truth": ["}"], "File": "LC3MCCodeEmitter", "Func": "createLC3MCCodeEmitter", "Target": "LC3", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 115316, "Length": 10, "Cover_Rate": 0.3225806451612903} {"Template_token": ["", "void", "EmitByte", "(", "unsigned", "char", "C", ",", "raw_ostream", "&", "OS", ")", "const", "{"], "ground_truth": ["OS", "<<", "(", "char", ")", "C", ";"], "File": "LC3MCCodeEmitter", "Func": "EmitByte", "Target": "LC3", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 115317, "Length": 20, "Cover_Rate": 0.9523809523809523} {"Template_token": ["", "void", "EmitConstant", "(", "uint64_t", "Val", ",", "unsigned", "Size", ",", "raw_ostream", "&", "OS", ")", "const", "{", "for", "(", "unsigned", "i", "=", "", ";", "i", "!=", "Size", ";", "++", "i", ")", "{", "EmitByte", "(", "Val", "&", "", ",", "OS", ")", ";", "Val", ">>=", "", ";"], "ground_truth": ["}"], "File": "LC3MCCodeEmitter", "Func": "EmitConstant", "Target": "LC3", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 115319, "Length": 44, "Cover_Rate": 0.9777777777777777} {"Template_token": ["", "if", "(", "Desc", ".", "getSize", "(", ")", "!=", "", ")", "{", "llvm_unreachable", "(", "", ")", ";", "}", "const", "uint32_t", "Binary", "=", "getBinaryCodeForInstr", "(", "MI", ",", "Fixups", ",", "STI", ")", ";"], "ground_truth": ["EmitConstant", "(", "Binary", ",", "Desc", ".", "getSize", "(", ")", ",", "OS", ")", ";"], "File": "LC3MCCodeEmitter", "Func": "encodeInstruction", "Target": "LC3", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 115320, "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", "(", ")", "!=", "", ")", "{"], "ground_truth": ["llvm_unreachable", "(", "", ")", ";"], "File": "LC3MCCodeEmitter", "Func": "encodeInstruction", "Target": "LC3", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 115321, "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", "(", ")", ";"], "ground_truth": ["if", "(", "Kind", "==", "MCExpr", "::", "Binary", ")", "{"], "File": "LC3MCCodeEmitter", "Func": "getMachineOpValue", "Target": "LC3", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 115322, "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", ";"], "ground_truth": ["switch", "(", "cast", "<", "MCSymbolRefExpr", ">", "(", "Expr", ")", "->", "getKind", "(", ")", ")", "{"], "File": "LC3MCCodeEmitter", "Func": "getMachineOpValue", "Target": "LC3", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 115323, "Length": 95, "Cover_Rate": 0.4008438818565401} {"Template_token": ["", "assert", "(", "ImmMO", ".", "getImm", "(", ")", ">=", "", ")", ";", "Bits", "|=", "(", "getMachineOpValue", "(", "MI", ",", "RegMO", ",", "Fixups", ",", "STI", ")", "<<", "", ")", ";", "Bits", "|=", "(", "unsigned", ")", "ImmMO", ".", "getImm", "(", ")", "&", "", ";"], "ground_truth": ["return", "Bits", ";"], "File": "LC3MCCodeEmitter", "Func": "getMemSrcValue", "Target": "LC3", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 115324, "Length": 44, "Cover_Rate": 0.42718446601941745} {"Template_token": ["", "MCCodeEmitter", "(", "const", "MCInstrInfo", "&", "mcii", ",", "MCContext", "&", "ctx", ")", ":", "MCII", "(", "mcii", ")", ",", "CTX", "(", "ctx", ")", "{"], "ground_truth": ["}"], "File": "LC3MCCodeEmitter", "Func": "LC3MCCodeEmitter", "Target": "LC3", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 115325, "Length": 23, "Cover_Rate": 1.0} {"Template_token": ["", "MCCodeEmitter", "(", "const", "MCInstrInfo", "&", "mcii", ",", "MCContext", "&", "ctx", ")", ":", "MCII", "(", "mcii", ")", ",", "CTX", "(", "ctx", ")", "{"], "ground_truth": ["}"], "File": "LC3MCCodeEmitter", "Func": "LC3MCCodeEmitter", "Target": "LC3", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 115326, "Length": 23, "Cover_Rate": 1.0} {"Template_token": ["", "~", "MCCodeEmitter", "(", ")", "{"], "ground_truth": ["}"], "File": "LC3MCCodeEmitter", "Func": "~LC3MCCodeEmitter", "Target": "LC3", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 115327, "Length": 6, "Cover_Rate": 1.0} {"Template_token": ["", "~", "MCCodeEmitter", "(", ")", "{"], "ground_truth": ["}"], "File": "LC3MCCodeEmitter", "Func": "~LC3MCCodeEmitter", "Target": "LC3", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 115328, "Length": 6, "Cover_Rate": 1.0} {"Template_token": ["", "void", "MCInstLower", "::", "Initialize", "(", "Mangler", "*", "M", ",", "MCContext", "*", "C", ")", "{", "Mang", "=", "M", ";"], "ground_truth": ["Ctx", "=", "C", ";"], "File": "LC3MCInstLower", "Func": "Initialize", "Target": "LC3", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 115329, "Length": 22, "Cover_Rate": 0.9565217391304348} {"Template_token": ["", "MCInstLower", "::", "MCInstLower", "(", "class", "AsmPrinter", "&", "asmprinter", ")", ":", "Printer", "(", "asmprinter", ")", "{"], "ground_truth": ["}"], "File": "LC3MCInstLower", "Func": "LC3MCInstLower", "Target": "LC3", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 115330, "Length": 16, "Cover_Rate": 1.0} {"Template_token": ["", "MCInstLower", "::", "MCInstLower", "(", "class", "AsmPrinter", "&", "asmprinter", ")", ":", "Printer", "(", "asmprinter", ")", "{"], "ground_truth": ["}"], "File": "LC3MCInstLower", "Func": "LC3MCInstLower", "Target": "LC3", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 115331, "Length": 16, "Cover_Rate": 1.0} {"Template_token": ["", "void", "MCInstLower", "::", "Lower", "(", "const", "MachineInstr", "*", "MI", ",", "MCInst", "&", "OutMI", ")", "const", "{", "OutMI", ".", "setOpcode", "(", "MI", "->", "getOpcode", "(", ")", ")", ";"], "ground_truth": ["for", "(", "auto", "&", "MO", ":", "MI", "->", "operands", "(", ")", ")", "{"], "File": "LC3MCInstLower", "Func": "Lower", "Target": "LC3", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 115332, "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", ";", "}"], "ground_truth": ["return", "MCOperand", "(", ")", ";"], "File": "LC3MCInstLower", "Func": "LowerOperand", "Target": "LC3", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 115333, "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", ":"], "ground_truth": ["case", "MachineOperand", "::", "MO_GlobalAddress", ":"], "File": "LC3MCInstLower", "Func": "LowerOperand", "Target": "LC3", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 115334, "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", "(", "", ")", ";", "}"], "ground_truth": ["const", "unsigned", "Option", "=", "MO", ".", "getTargetFlags", "(", ")", "&", "", ";"], "File": "LC3MCInstLower", "Func": "LowerSymbolOperand", "Target": "LC3", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 115335, "Length": 134, "Cover_Rate": 0.4110429447852761} {"Template_token": ["", "static", "MCAsmInfo", "*", "createMCAsmInfo", "(", "const", "MCRegisterInfo", "&", "MRI", ",", "const", "Triple", "&", "TT", ")", "{", "return", "new", "MCAsmInfo", "(", "TT", ")", ";"], "ground_truth": ["}"], "File": "LC3MCTargetDesc", "Func": "createLC3MCAsmInfo", "Target": "LC3", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 115336, "Length": 24, "Cover_Rate": 1.0} {"Template_token": ["", "static", "MCInstPrinter", "*", "createMCInstPrinter", "(", "const", "Triple", "&", "TT", ",", "unsigned", "SyntaxVariant", ",", "const", "MCAsmInfo", "&", "MAI", ",", "const", "MCInstrInfo", "&", "MII", ",", "const", "MCRegisterInfo", "&", "MRI", ")", "{"], "ground_truth": ["return", "new", "InstPrinter", "(", "MAI", ",", "MII", ",", "MRI", ")", ";"], "File": "LC3MCTargetDesc", "Func": "createLC3MCInstPrinter", "Target": "LC3", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 115337, "Length": 40, "Cover_Rate": 0.975609756097561} {"Template_token": ["", "InitMCInstrInfo", "(", "X", ")", ";"], "ground_truth": ["return", "X", ";"], "File": "LC3MCTargetDesc", "Func": "createLC3MCInstrInfo", "Target": "LC3", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 115338, "Length": 8, "Cover_Rate": 0.32} {"Template_token": ["", "InitMCInstrInfo", "(", "X", ")", ";"], "ground_truth": ["return", "X", ";"], "File": "LC3MCTargetDesc", "Func": "createLC3MCInstrInfo", "Target": "LC3", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 115339, "Length": 8, "Cover_Rate": 0.32} {"Template_token": ["", "MCRegisterInfo", "*", "X", "=", "new", "MCRegisterInfo", "(", ")", ";", "InitMCRegisterInfo", "(", "X", ",", "", ")", ";", "return", "X", ";"], "ground_truth": ["}"], "File": "LC3MCTargetDesc", "Func": "createLC3MCRegisterInfo", "Target": "LC3", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 115340, "Length": 20, "Cover_Rate": 0.6060606060606061} {"Template_token": ["", "InitMCRegisterInfo", "(", "X", ",", "", ")", ";"], "ground_truth": ["return", "X", ";"], "File": "LC3MCTargetDesc", "Func": "createLC3MCRegisterInfo", "Target": "LC3", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 115341, "Length": 10, "Cover_Rate": 0.30303030303030304} {"Template_token": ["", "void", "LLVMInitializeTargetMC", "(", ")", "{", "RegisterMCAsmInfoFn", "X", "(", "TheTarget", ",", "createMCAsmInfo", ")", ";", "TargetRegistry", "::", "RegisterMCCodeGenInfo", "(", "TheTarget", ",", "createMCCodeGenInfo", ")", ";", "TargetRegistry", "::", "RegisterMCInstrInfo", "(", "TheTarget", ",", "createMCInstrInfo", ")", ";", "TargetRegistry", "::", "RegisterMCRegInfo", "(", "TheTarget", ",", "createMCRegisterInfo", ")", ";"], "ground_truth": ["TargetRegistry", "::", "RegisterMCSubtargetInfo", "(", "TheTarget", ",", "createMCSubtargetInfo", ")", ";"], "File": "LC3MCTargetDesc", "Func": "LLVMInitializeLC3TargetMC", "Target": "LC3", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 115344, "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": 115345, "Length": 27, "Cover_Rate": 0.5094339622641509} {"Template_token": ["", "static", "const", "uint16_t", "CalleeSavedRegs", "[", "]", "=", "{", "", ",", "", ",", "", ",", "", ",", "", ",", "", ",", "", "}", ";"], "ground_truth": ["return", "CalleeSavedRegs", ";"], "File": "LC3RegisterInfo", "Func": "getCalleeSavedRegs", "Target": "LC3", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 115346, "Length": 26, "Cover_Rate": 0.49056603773584906} {"Template_token": ["", "const", "uint32_t", "*", "RegisterInfo", "::", "getCallPreservedMask", "(", "const", "MachineFunction", "&", "MF", ",", "CallingConv", "::", "ID", ")", "const", "{"], "ground_truth": ["return", "CC_Save_RegMask", ";"], "File": "LC3RegisterInfo", "Func": "getCallPreservedMask", "Target": "LC3", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 115347, "Length": 21, "Cover_Rate": 0.9545454545454546} {"Template_token": ["", "unsigned", "RegisterInfo", "::", "getFrameRegister", "(", "const", "MachineFunction", "&", "MF", ")", "const", "{", "return", "", ";"], "ground_truth": ["}"], "File": "LC3RegisterInfo", "Func": "getFrameRegister", "Target": "LC3", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 115348, "Length": 16, "Cover_Rate": 0.8888888888888888} {"Template_token": ["", "BitVector", "RegisterInfo", "::", "getReservedRegs", "(", "const", "MachineFunction", "&", "MF", ")", "const", "{", "BitVector", "Reserved", "(", "getNumRegs", "(", ")", ")", ";", "Reserved", ".", "set", "(", "", ")", ";", "Reserved", ".", "set", "(", "", ")", ";", "return", "Reserved", ";"], "ground_truth": ["}"], "File": "LC3RegisterInfo", "Func": "getReservedRegs", "Target": "LC3", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 115349, "Length": 38, "Cover_Rate": 0.9047619047619048} {"Template_token": ["", "RegisterInfo", "::", "RegisterInfo", "(", ")", ":", "GenRegisterInfo", "(", "", ")", "{"], "ground_truth": ["}"], "File": "LC3RegisterInfo", "Func": "LC3RegisterInfo", "Target": "LC3", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 115350, "Length": 12, "Cover_Rate": 0.8571428571428571} {"Template_token": ["", "RegisterInfo", "::", "RegisterInfo", "(", ")", ":", "GenRegisterInfo", "(", "", ")", "{"], "ground_truth": ["}"], "File": "LC3RegisterInfo", "Func": "LC3RegisterInfo", "Target": "LC3", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 115351, "Length": 12, "Cover_Rate": 0.8571428571428571} {"Template_token": ["", "bool", "RegisterInfo", "::", "requiresRegisterScavenging", "(", "const", "MachineFunction", "&", "MF", ")", "const", "{", "return", "true", ";"], "ground_truth": ["}"], "File": "LC3RegisterInfo", "Func": "requiresRegisterScavenging", "Target": "LC3", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 115352, "Length": 16, "Cover_Rate": 1.0} {"Template_token": ["", "bool", "RegisterInfo", "::", "trackLivenessAfterRegAlloc", "(", "const", "MachineFunction", "&", "MF", ")", "const", "{", "return", "true", ";"], "ground_truth": ["}"], "File": "LC3RegisterInfo", "Func": "trackLivenessAfterRegAlloc", "Target": "LC3", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 115353, "Length": 16, "Cover_Rate": 1.0} {"Template_token": ["", "bool", "RegisterInfo", "::", "useFPForScavengingIndex", "(", "const", "MachineFunction", "&", "MF", ")", "const", "{", "return", "false", ";"], "ground_truth": ["}"], "File": "LC3RegisterInfo", "Func": "useFPForScavengingIndex", "Target": "LC3", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 115354, "Length": 16, "Cover_Rate": 1.0} {"Template_token": ["", "SelectionDAGInfo", "::", "~", "SelectionDAGInfo", "(", ")", "{"], "ground_truth": ["}"], "File": "LC3SelectionDAGInfo", "Func": "~LC3SelectionDAGInfo", "Target": "LC3", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 115355, "Length": 8, "Cover_Rate": 1.0} {"Template_token": ["", "SelectionDAGInfo", "::", "~", "SelectionDAGInfo", "(", ")", "{"], "ground_truth": ["}"], "File": "LC3SelectionDAGInfo", "Func": "~LC3SelectionDAGInfo", "Target": "LC3", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 115356, "Length": 8, "Cover_Rate": 1.0} {"Template_token": ["", "void", "Subtarget", "::", "anchor", "(", ")", "{"], "ground_truth": ["}"], "File": "LC3Subtarget", "Func": "anchor", "Target": "LC3", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 115357, "Length": 8, "Cover_Rate": 1.0} {"Template_token": ["", "void", "Subtarget", "::", "anchor", "(", ")", "{"], "ground_truth": ["}"], "File": "LC3Subtarget", "Func": "anchor", "Target": "LC3", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 115358, "Length": 8, "Cover_Rate": 1.0} {"Template_token": ["", "const", "FrameLowering", "*", "getFrameLowering", "(", ")", "const", "override", "{", "return", "&", "FrameLowering", ";"], "ground_truth": ["}"], "File": "LC3Subtarget", "Func": "getFrameLowering", "Target": "LC3", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 115359, "Length": 14, "Cover_Rate": 1.0} {"Template_token": ["", "return", "&", "FrameLowering", ";"], "ground_truth": ["}"], "File": "LC3Subtarget", "Func": "getFrameLowering", "Target": "LC3", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 115360, "Length": 5, "Cover_Rate": 0.35714285714285715} {"Template_token": ["", "return", "&", "InstrInfo", ";"], "ground_truth": ["}"], "File": "LC3Subtarget", "Func": "getInstrInfo", "Target": "LC3", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 115361, "Length": 5, "Cover_Rate": 0.35714285714285715} {"Template_token": ["", "const", "InstrInfo", "*", "getInstrInfo", "(", ")", "const", "override", "{"], "ground_truth": ["return", "&", "InstrInfo", ";"], "File": "LC3Subtarget", "Func": "getInstrInfo", "Target": "LC3", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 115362, "Length": 13, "Cover_Rate": 0.9285714285714286} {"Template_token": ["", "return", "&", "InstrItins", ";"], "ground_truth": ["}"], "File": "LC3Subtarget", "Func": "getInstrItineraryData", "Target": "LC3", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 115363, "Length": 5, "Cover_Rate": 0.35714285714285715} {"Template_token": ["", "const", "InstrItineraryData", "*", "getInstrItineraryData", "(", ")", "const", "override", "{", "return", "&", "InstrItins", ";"], "ground_truth": ["}"], "File": "LC3Subtarget", "Func": "getInstrItineraryData", "Target": "LC3", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 115364, "Length": 14, "Cover_Rate": 1.0} {"Template_token": ["", "const", "RegisterInfo", "*", "getRegisterInfo", "(", ")", "const", "override", "{"], "ground_truth": ["return", "&", "InstrInfo", ".", "getRegisterInfo", "(", ")", ";"], "File": "LC3Subtarget", "Func": "getRegisterInfo", "Target": "LC3", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 115366, "Length": 17, "Cover_Rate": 0.9444444444444444} {"Template_token": ["", "const", "SelectionDAGInfo", "*", "getSelectionDAGInfo", "(", ")", "const", "override", "{"], "ground_truth": ["return", "&", "TSInfo", ";"], "File": "LC3Subtarget", "Func": "getSelectionDAGInfo", "Target": "LC3", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 115367, "Length": 13, "Cover_Rate": 0.9285714285714286} {"Template_token": ["", "const", "TargetLowering", "*", "getTargetLowering", "(", ")", "const", "override", "{"], "ground_truth": ["return", "&", "TLInfo", ";"], "File": "LC3Subtarget", "Func": "getTargetLowering", "Target": "LC3", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 115368, "Length": 13, "Cover_Rate": 0.9285714285714286} {"Template_token": ["", "const", "TargetLowering", "*", "getTargetLowering", "(", ")", "const", "override", "{"], "ground_truth": ["return", "&", "TLInfo", ";"], "File": "LC3Subtarget", "Func": "getTargetLowering", "Target": "LC3", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 115369, "Length": 13, "Cover_Rate": 0.9285714285714286} {"Template_token": ["", "Subtarget", "::", "Subtarget", "(", "const", "Triple", "&", "TT", ",", "StringRef", "CPU", ",", "StringRef", "FS", ",", "TargetMachine", "&", "TM", ")", ":", "GenSubtargetInfo", "(", "TT", ",", "CPU", ",", "FS", ")", ",", "DL", "(", "", ")", ",", "InstrInfo", "(", ")", ",", "TLInfo", "(", "TM", ")", ",", "TSInfo", "(", ")", ",", "FrameLowering", "(", ")", "{"], "ground_truth": ["}"], "File": "LC3Subtarget", "Func": "LC3Subtarget", "Target": "LC3", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 115370, "Length": 52, "Cover_Rate": 1.0} {"Template_token": ["", "Subtarget", "::", "Subtarget", "(", "const", "Triple", "&", "TT", ",", "StringRef", "CPU", ",", "StringRef", "FS", ",", "TargetMachine", "&", "TM", ")", ":", "GenSubtargetInfo", "(", "TT", ",", "CPU", ",", "FS", ")", ",", "DL", "(", "", ")", ",", "InstrInfo", "(", ")", ",", "TLInfo", "(", "TM", ")", ",", "TSInfo", "(", ")", ",", "FrameLowering", "(", ")", "{"], "ground_truth": ["}"], "File": "LC3Subtarget", "Func": "LC3Subtarget", "Target": "LC3", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 115371, "Length": 52, "Cover_Rate": 1.0} {"Template_token": ["", "bool", "PassConfig", "::", "addInstSelector", "(", ")", "{", "addPass", "(", "createISelDag", "(", "getTargetMachine", "(", ")", ",", "getOptLevel", "(", ")", ")", ")", ";"], "ground_truth": ["return", "false", ";"], "File": "LC3TargetMachine", "Func": "addInstSelector", "Target": "LC3", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 115374, "Length": 24, "Cover_Rate": 0.96} {"Template_token": ["", "void", "PassConfig", "::", "addPreEmitPass", "(", ")", "{"], "ground_truth": ["}"], "File": "LC3TargetMachine", "Func": "addPreEmitPass", "Target": "LC3", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 115375, "Length": 8, "Cover_Rate": 1.0} {"Template_token": ["", "void", "PassConfig", "::", "addPreEmitPass", "(", ")", "{"], "ground_truth": ["}"], "File": "LC3TargetMachine", "Func": "addPreEmitPass", "Target": "LC3", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 115376, "Length": 8, "Cover_Rate": 1.0} {"Template_token": ["", "return", "false", ";"], "ground_truth": ["}"], "File": "LC3TargetMachine", "Func": "addPreISel", "Target": "LC3", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 115377, "Length": 4, "Cover_Rate": 0.36363636363636365} {"Template_token": ["", "bool", "PassConfig", "::", "addPreISel", "(", ")", "{"], "ground_truth": ["return", "false", ";"], "File": "LC3TargetMachine", "Func": "addPreISel", "Target": "LC3", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 115378, "Length": 10, "Cover_Rate": 0.9090909090909091} {"Template_token": ["", "static", "std", "::", "string", "computeDataLayout", "(", "const", "Triple", "&", "TT", ",", "StringRef", "CPU", ",", "const", "TargetOptions", "&", "Options", ")", "{", "return", "", ";"], "ground_truth": ["}"], "File": "LC3TargetMachine", "Func": "computeDataLayout", "Target": "LC3", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 115379, "Length": 24, "Cover_Rate": 1.0} {"Template_token": ["", "return", "new", "PassConfig", "(", "this", ",", "PM", ")", ";"], "ground_truth": ["}"], "File": "LC3TargetMachine", "Func": "createPassConfig", "Target": "LC3", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 115381, "Length": 10, "Cover_Rate": 0.47619047619047616} {"Template_token": ["", "TargetMachine", "&", "getTargetMachine", "(", ")", "const", "{"], "ground_truth": ["return", "getTM", "<", "TargetMachine", ">", "(", ")", ";"], "File": "LC3TargetMachine", "Func": "getLC3TargetMachine", "Target": "LC3", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 115382, "Length": 15, "Cover_Rate": 0.9375} {"Template_token": ["", "virtual", "const", "TargetSubtargetInfo", "*", "getSubtargetImpl", "(", "const", "Function", "&", ")", "const", "override", "{"], "ground_truth": ["return", "&", "Subtarget", ";"], "File": "LC3TargetMachine", "Func": "getSubtargetImpl", "Target": "LC3", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 115386, "Length": 17, "Cover_Rate": 0.9444444444444444} {"Template_token": ["", "PassConfig", "(", "TargetMachine", "*", "TM", ",", "PassManagerBase", "&", "PM", ")", ":", "TargetPassConfig", "(", "TM", ",", "PM", ")", "{"], "ground_truth": ["}"], "File": "LC3TargetMachine", "Func": "LC3PassConfig", "Target": "LC3", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 115387, "Length": 19, "Cover_Rate": 1.0} {"Template_token": ["", "PassConfig", "(", "TargetMachine", "*", "TM", ",", "PassManagerBase", "&", "PM", ")", ":", "TargetPassConfig", "(", "TM", ",", "PM", ")", "{"], "ground_truth": ["}"], "File": "LC3TargetMachine", "Func": "LC3PassConfig", "Target": "LC3", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 115388, "Length": 19, "Cover_Rate": 1.0} {"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", ">", "(", ")", ")", "{"], "ground_truth": ["initAsmInfo", "(", ")", ";"], "File": "LC3TargetMachine", "Func": "LC3TargetMachine", "Target": "LC3", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 115389, "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", ">", "(", ")", ")", "{"], "ground_truth": ["initAsmInfo", "(", ")", ";"], "File": "LC3TargetMachine", "Func": "LC3TargetMachine", "Target": "LC3", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 115390, "Length": 95, "Cover_Rate": 0.9895833333333334} {"Template_token": ["", "void", "LLVMInitializeTarget", "(", ")", "{", "RegisterTargetMachine", "<", "TargetMachine", ">", "X", "(", "TheTarget", ")", ";"], "ground_truth": ["}"], "File": "LC3TargetMachine", "Func": "LLVMInitializeLC3Target", "Target": "LC3", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 115391, "Length": 15, "Cover_Rate": 1.0} {"Template_token": ["", "void", "LLVMInitializeTarget", "(", ")", "{", "RegisterTargetMachine", "<", "TargetMachine", ">", "X", "(", "TheTarget", ")", ";"], "ground_truth": ["}"], "File": "LC3TargetMachine", "Func": "LLVMInitializeLC3Target", "Target": "LC3", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 115392, "Length": 15, "Cover_Rate": 1.0}