{"Template_token": ["", "const", "uint8_t", "ABI", "=", "MCELFObjectTargetWriter", "::", "getOSABI", "(", "TT", ".", "getOS", "(", ")", ")", ";", "return", "new", "ELFAsmBackend", "(", "T", ",", "TT", ".", "getTriple", "(", ")", ",", "ABI", ")", ";"], "ground_truth": ["}"], "File": "LEGAsmBackend1", "Func": "createLEGAsmBackend", "Target": "LEG", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 116841, "Length": 31, "Cover_Rate": 0.5535714285714286} {"Template_token": ["", "void", "relaxInstruction", "(", "const", "MCInst", "&", "Inst", ",", "MCInst", "&", "Res", ")", "const", "override", "{"], "ground_truth": ["}"], "File": "LEGAsmBackend1", "Func": "relaxInstruction", "Target": "LEG", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 116843, "Length": 16, "Cover_Rate": 1.0} {"Template_token": ["", "void", "relaxInstruction", "(", "const", "MCInst", "&", "Inst", ",", "MCInst", "&", "Res", ")", "const", "override", "{"], "ground_truth": ["}"], "File": "LEGAsmBackend1", "Func": "relaxInstruction", "Target": "LEG", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 116844, "Length": 16, "Cover_Rate": 1.0} {"Template_token": ["", "Triple", "TheTriple", "(", "TT", ")", ";"], "ground_truth": ["const", "uint8_t", "ABI", "=", "MCELFObjectTargetWriter", "::", "getOSABI", "(", "Triple", "(", "TT", ")", ".", "getOS", "(", ")", ")", ";"], "File": "LEGAsmBackend2", "Func": "createLEGAsmBackend", "Target": "LEG", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 116846, "Length": 24, "Cover_Rate": 0.4067796610169492} {"Template_token": ["", "MCObjectWriter", "*", "createObjectWriter", "(", "raw_ostream", "&", "OS", ")", "const", "override", "{", "return", "createELFObjectWriter", "(", "OS", ",", "OSABI", ")", ";"], "ground_truth": ["}"], "File": "LEGAsmBackend2", "Func": "createObjectWriter", "Target": "LEG", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 116847, "Length": 20, "Cover_Rate": 1.0} {"Template_token": ["", "return", "createELFObjectWriter", "(", "OS", ",", "OSABI", ")", ";"], "ground_truth": ["}"], "File": "LEGAsmBackend2", "Func": "createObjectWriter", "Target": "LEG", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 116848, "Length": 9, "Cover_Rate": 0.45} {"Template_token": ["", "switch", "(", "Kind", ")", "{", "default", ":", "llvm_unreachable", "(", "", ")", ";", "case", "", ":", "Value", ">>=", "", ";", "case", "", ":", "unsigned", "Hi4", "=", "(", "Value", "&", "", ")", ">>", "", ";", "unsigned", "Lo12", "=", "Value", "&", "", ";", "Value", "=", "(", "Hi4", "<<", "", ")", "|", "(", "Lo12", ")", ";", "return", "Value", ";", "}"], "ground_truth": ["return", "Value", ";"], "File": "LEGAsmBackend", "Func": "adjustFixupValue", "Target": "LEG", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 116849, "Length": 59, "Cover_Rate": 0.6413043478260869} {"Template_token": ["", "for", "(", "unsigned", "i", "=", "", ";", "i", "!=", "NumBytes", ";", "++", "i", ")", "{"], "ground_truth": ["Data", "[", "Offset", "+", "i", "]", "|=", "uint8_t", "(", "(", "Value", ">>", "(", "i", "*", "", ")", ")", "&", "", ")", ";"], "File": "LEGAsmBackend", "Func": "applyFixup", "Target": "LEG", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 116850, "Length": 37, "Cover_Rate": 0.34579439252336447} {"Template_token": ["", "unsigned", "Offset", "=", "Fixup", ".", "getOffset", "(", ")", ";", "assert", "(", "Offset", "+", "NumBytes", "<=", "DataSize", "&&", "", ")", ";"], "ground_truth": ["for", "(", "unsigned", "i", "=", "", ";", "i", "!=", "NumBytes", ";", "++", "i", ")", "{"], "File": "LEGAsmBackend", "Func": "applyFixup", "Target": "LEG", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 116851, "Length": 35, "Cover_Rate": 0.32710280373831774} {"Template_token": ["", "MCAsmBackend", "*", "llvm", "::", "createAsmBackend", "(", "const", "Target", "&", "T", ",", "const", "MCRegisterInfo", "&", "MRI", ",", "const", "Triple", "&", "TT", ",", "StringRef", "CPU", ",", "const", "MCTargetOptions", "&", "Options", ")", "{", "const", "uint8_t", "ABI", "=", "MCELFObjectTargetWriter", "::", "getOSABI", "(", "TT", ".", "getOS", "(", ")", ")", ";", "return", "new", "ELFAsmBackend", "(", "T", ",", "TT", ".", "getTriple", "(", ")", ",", "ABI", ")", ";"], "ground_truth": ["}"], "File": "LEGAsmBackend", "Func": "createLEGAsmBackend", "Target": "LEG", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 116852, "Length": 61, "Cover_Rate": 1.0} {"Template_token": ["", "ELFAsmBackend", "(", "const", "Target", "&", "T", ",", "const", "StringRef", "TT", ",", "uint8_t", "_OSABI", ")", ":", "AsmBackend", "(", "T", ",", "TT", ")", ",", "OSABI", "(", "_OSABI", ")", "{"], "ground_truth": ["}"], "File": "LEGAsmBackend", "Func": "ELFLEGAsmBackend", "Target": "LEG", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 116856, "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": "LEGAsmBackend", "Func": "ELFLEGAsmBackend", "Target": "LEG", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 116857, "Length": 28, "Cover_Rate": 1.0} {"Template_token": ["", "bool", "fixupNeedsRelaxation", "(", "const", "MCFixup", "&", "Fixup", ",", "uint64_t", "Value", ",", "const", "MCRelaxableFragment", "*", "DF", ",", "const", "MCAsmLayout", "&", "Layout", ")", "const", "override", "{"], "ground_truth": ["return", "false", ";"], "File": "LEGAsmBackend", "Func": "fixupNeedsRelaxation", "Target": "LEG", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 116858, "Length": 27, "Cover_Rate": 0.9642857142857143} {"Template_token": ["", "const", "static", "MCFixupKindInfo", "Infos", "[", "", "]", "=", "{", "{", "", ",", "", ",", "", ",", "MCFixupKindInfo", "::", "FKF_IsPCRel", "}", ",", "{", "", ",", "", ",", "", ",", "MCFixupKindInfo", "::", "FKF_IsPCRel", "}", ",", "}", ";", "if", "(", "Kind", "<", "FirstTargetFixupKind", ")", "{", "return", "MCAsmBackend", "::", "getFixupKindInfo", "(", "Kind", ")", ";", "}", "assert", "(", "unsigned", "(", "Kind", "-", "FirstTargetFixupKind", ")", "<", "getNumFixupKinds", "(", ")", "&&", "", ")", ";", "return", "Infos", "[", "Kind", "-", "FirstTargetFixupKind", "]", ";"], "ground_truth": ["}"], "File": "LEGAsmBackend", "Func": "getFixupKindInfo", "Target": "LEG", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 116859, "Length": 76, "Cover_Rate": 0.8539325842696629} {"Template_token": ["", "unsigned", "getNumFixupKinds", "(", ")", "const", "override", "{", "return", "", ";"], "ground_truth": ["}"], "File": "LEGAsmBackend", "Func": "getNumFixupKinds", "Target": "LEG", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 116860, "Length": 11, "Cover_Rate": 0.8461538461538461} {"Template_token": ["", "return", "", ";"], "ground_truth": ["}"], "File": "LEGAsmBackend", "Func": "getNumFixupKinds", "Target": "LEG", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 116861, "Length": 4, "Cover_Rate": 0.3076923076923077} {"Template_token": ["", "return", "", ";"], "ground_truth": ["}"], "File": "LEGAsmBackend", "Func": "getPointerSize", "Target": "LEG", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 116862, "Length": 4, "Cover_Rate": 0.4} {"Template_token": ["", "return", "", ";"], "ground_truth": ["}"], "File": "LEGAsmBackend", "Func": "getPointerSize", "Target": "LEG", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 116863, "Length": 4, "Cover_Rate": 0.4} {"Template_token": ["", "AsmBackend", "(", "const", "Target", "&", "T", ",", "const", "StringRef", "TT", ")", ":", "MCAsmBackend", "(", ")", "{"], "ground_truth": ["}"], "File": "LEGAsmBackend", "Func": "LEGAsmBackend", "Target": "LEG", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 116864, "Length": 17, "Cover_Rate": 1.0} {"Template_token": ["", "AsmBackend", "(", "const", "Target", "&", "T", ",", "const", "StringRef", "TT", ")", ":", "MCAsmBackend", "(", ")", "{"], "ground_truth": ["}"], "File": "LEGAsmBackend", "Func": "LEGAsmBackend", "Target": "LEG", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 116865, "Length": 17, "Cover_Rate": 1.0} {"Template_token": ["", "ELFObjectWriter", "(", "uint8_t", "OSABI", ")", ":", "MCELFObjectTargetWriter", "(", "false", ",", "OSABI", ",", "ELF", "::", "EM_ARM", ",", "false", ")", "{"], "ground_truth": ["}"], "File": "LEGAsmBackend", "Func": "LEGELFObjectWriter", "Target": "LEG", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 116866, "Length": 20, "Cover_Rate": 1.0} {"Template_token": ["", "ELFObjectWriter", "(", "uint8_t", "OSABI", ")", ":", "MCELFObjectTargetWriter", "(", "false", ",", "OSABI", ",", "ELF", "::", "EM_ARM", ",", "false", ")", "{"], "ground_truth": ["}"], "File": "LEGAsmBackend", "Func": "LEGELFObjectWriter", "Target": "LEG", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 116867, "Length": 20, "Cover_Rate": 1.0} {"Template_token": ["", "IsResolved", "=", "true", ";", "(", "void", ")", "adjustFixupValue", "(", "Fixup", ",", "Value", ",", "&", "Asm", ".", "getContext", "(", ")", ")", ";"], "ground_truth": ["}"], "File": "LEGAsmBackend", "Func": "processFixupValue", "Target": "LEG", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 116869, "Length": 22, "Cover_Rate": 0.36065573770491804} {"Template_token": ["", "void", "relaxInstruction", "(", "const", "MCInst", "&", "Inst", ",", "const", "MCSubtargetInfo", "&", "STI", ",", "MCInst", "&", "Res", ")", "const", "override", "{"], "ground_truth": ["}"], "File": "LEGAsmBackend", "Func": "relaxInstruction", "Target": "LEG", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 116870, "Length": 21, "Cover_Rate": 1.0} {"Template_token": ["", "void", "relaxInstruction", "(", "const", "MCInst", "&", "Inst", ",", "const", "MCSubtargetInfo", "&", "STI", ",", "MCInst", "&", "Res", ")", "const", "override", "{"], "ground_truth": ["}"], "File": "LEGAsmBackend", "Func": "relaxInstruction", "Target": "LEG", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 116871, "Length": 21, "Cover_Rate": 1.0} {"Template_token": ["", "bool", "writeNopData", "(", "uint64_t", "Count", ",", "MCObjectWriter", "*", "OW", ")", "const", "override", "{", "if", "(", "Count", "==", "", ")", "{", "return", "true", ";", "}"], "ground_truth": ["return", "false", ";"], "File": "LEGAsmBackend", "Func": "writeNopData", "Target": "LEG", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 116872, "Length": 27, "Cover_Rate": 0.9642857142857143} {"Template_token": ["", "~", "AsmBackend", "(", ")", "{"], "ground_truth": ["}"], "File": "LEGAsmBackend", "Func": "~LEGAsmBackend", "Target": "LEG", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 116873, "Length": 6, "Cover_Rate": 1.0} {"Template_token": ["", "~", "AsmBackend", "(", ")", "{"], "ground_truth": ["}"], "File": "LEGAsmBackend", "Func": "~LEGAsmBackend", "Target": "LEG", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 116874, "Length": 6, "Cover_Rate": 1.0} {"Template_token": ["", "void", "AsmPrinter", "::", "EmitFunctionBodyStart", "(", ")", "{", "MCInstLowering", ".", "Initialize", "(", "Mang", ",", "&", "MF", "->", "getContext", "(", ")", ")", ";"], "ground_truth": ["}"], "File": "LEGAsmPrinter1", "Func": "EmitFunctionBodyStart", "Target": "LEG", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 116875, "Length": 22, "Cover_Rate": 1.0} {"Template_token": ["", "return", "", ";"], "ground_truth": ["}"], "File": "LEGAsmPrinter1", "Func": "getPassName", "Target": "LEG", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 116877, "Length": 4, "Cover_Rate": 0.3076923076923077} {"Template_token": ["", "virtual", "const", "char", "*", "getPassName", "(", ")", "const", "{"], "ground_truth": ["return", "", ";"], "File": "LEGAsmPrinter1", "Func": "getPassName", "Target": "LEG", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 116878, "Length": 12, "Cover_Rate": 0.9230769230769231} {"Template_token": ["", "void", "AsmPrinter", "::", "EmitFunctionEntryLabel", "(", ")", "{"], "ground_truth": ["OutStreamer", ".", "EmitLabel", "(", "CurrentFnSym", ")", ";"], "File": "LEGAsmPrinter2", "Func": "EmitFunctionEntryLabel", "Target": "LEG", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 116880, "Length": 14, "Cover_Rate": 0.9333333333333333} {"Template_token": ["", "MCInst", "TmpInst", ";"], "ground_truth": ["MCInstLowering", ".", "Lower", "(", "MI", ",", "TmpInst", ")", ";"], "File": "LEGAsmPrinter2", "Func": "EmitInstruction", "Target": "LEG", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 116881, "Length": 12, "Cover_Rate": 0.3870967741935484} {"Template_token": ["", "explicit", "AsmPrinter", "(", "TargetMachine", "&", "TM", ",", "MCStreamer", "&", "Streamer", ")", ":", "AsmPrinter", "(", "TM", ",", "Streamer", ")", ",", "Subtarget", "(", "TM", ".", "getSubtarget", "<", "Subtarget", ">", "(", ")", ")", ",", "MCInstLowering", "(", "*", "this", ")", "{"], "ground_truth": ["}"], "File": "LEGAsmPrinter2", "Func": "LEGAsmPrinter", "Target": "LEG", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 116882, "Length": 38, "Cover_Rate": 1.0} {"Template_token": ["", "explicit", "AsmPrinter", "(", "TargetMachine", "&", "TM", ",", "MCStreamer", "&", "Streamer", ")", ":", "AsmPrinter", "(", "TM", ",", "Streamer", ")", ",", "Subtarget", "(", "TM", ".", "getSubtarget", "<", "Subtarget", ">", "(", ")", ")", ",", "MCInstLowering", "(", "*", "this", ")", "{"], "ground_truth": ["}"], "File": "LEGAsmPrinter2", "Func": "LEGAsmPrinter", "Target": "LEG", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 116883, "Length": 38, "Cover_Rate": 1.0} {"Template_token": ["", "MCInstLowering", ".", "Initialize", "(", "&", "TM", ".", "getObjFileLowering", "(", ")", "->", "getMangler", "(", ")", ",", "&", "MF", "->", "getContext", "(", ")", ")", ";"], "ground_truth": ["}"], "File": "LEGAsmPrinter", "Func": "EmitFunctionBodyStart", "Target": "LEG", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 116884, "Length": 24, "Cover_Rate": 0.7741935483870968} {"Template_token": ["", "OutStreamer", "->", "EmitLabel", "(", "CurrentFnSym", ")", ";"], "ground_truth": ["}"], "File": "LEGAsmPrinter", "Func": "EmitFunctionEntryLabel", "Target": "LEG", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 116885, "Length": 8, "Cover_Rate": 0.5333333333333333} {"Template_token": ["", "OutStreamer", "->", "EmitLabel", "(", "CurrentFnSym", ")", ";"], "ground_truth": ["}"], "File": "LEGAsmPrinter", "Func": "EmitFunctionEntryLabel", "Target": "LEG", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 116886, "Length": 8, "Cover_Rate": 0.5333333333333333} {"Template_token": ["", "MCInst", "TmpInst", ";"], "ground_truth": ["MCInstLowering", ".", "Lower", "(", "MI", ",", "TmpInst", ")", ";"], "File": "LEGAsmPrinter", "Func": "EmitInstruction", "Target": "LEG", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 116887, "Length": 12, "Cover_Rate": 0.375} {"Template_token": ["", "virtual", "StringRef", "getPassName", "(", ")", "const", "{", "return", "StringRef", "(", "", ")", ";"], "ground_truth": ["}"], "File": "LEGAsmPrinter", "Func": "getPassName", "Target": "LEG", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 116889, "Length": 14, "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": "LEGAsmPrinter", "Func": "LEGAsmPrinter", "Target": "LEG", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 116890, "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": "LEGAsmPrinter", "Func": "LEGAsmPrinter", "Target": "LEG", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 116891, "Length": 35, "Cover_Rate": 1.0} {"Template_token": ["", "void", "LLVMInitializeAsmPrinter", "(", ")", "{", "RegisterAsmPrinter", "<", "AsmPrinter", ">", "X", "(", "TheTarget", ")", ";"], "ground_truth": ["}"], "File": "LEGAsmPrinter", "Func": "LLVMInitializeLEGAsmPrinter", "Target": "LEG", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 116892, "Length": 15, "Cover_Rate": 1.0} {"Template_token": ["", "unsigned", "ELFObjectWriter", "::", "GetRelocType", "(", "const", "MCValue", "&", "Target", ",", "const", "MCFixup", "&", "Fixup", ",", "bool", "IsPCRel", ")", "const", "{", "if", "(", "!", "IsPCRel", ")", "{", "llvm_unreachable", "(", "", ")", ";", "}", "unsigned", "Type", "=", "", ";", "switch", "(", "(", "unsigned", ")", "Fixup", ".", "getKind", "(", ")", ")", "{", "default", ":", "llvm_unreachable", "(", "", ")", ";"], "ground_truth": ["case", "", ":"], "File": "LEGELFObjectWriter1", "Func": "GetRelocType", "Target": "LEG", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 116894, "Length": 59, "Cover_Rate": 0.6781609195402298} {"Template_token": ["", "unsigned", "ELFObjectWriter", "::", "GetRelocType", "(", "const", "MCValue", "&", "Target", ",", "const", "MCFixup", "&", "Fixup", ",", "bool", "IsPCRel", ")", "const", "{", "if", "(", "!", "IsPCRel", ")", "{", "llvm_unreachable", "(", "", ")", ";", "}", "unsigned", "Type", "=", "", ";", "switch", "(", "(", "unsigned", ")", "Fixup", ".", "getKind", "(", ")", ")", "{", "default", ":", "llvm_unreachable", "(", "", ")", ";"], "ground_truth": ["case", "", ":"], "File": "LEGELFObjectWriter1", "Func": "GetRelocType", "Target": "LEG", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 116895, "Length": 59, "Cover_Rate": 0.6781609195402298} {"Template_token": ["", "MCELFObjectTargetWriter", "*", "MOTW", "=", "new", "ELFObjectWriter", "(", "OSABI", ")", ";"], "ground_truth": ["return", "createELFObjectWriter", "(", "MOTW", ",", "OS", ",", "true", ")", ";"], "File": "LEGELFObjectWriter2", "Func": "createLEGELFObjectWriter", "Target": "LEG", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 116896, "Length": 20, "Cover_Rate": 0.5714285714285714} {"Template_token": ["", "MCELFObjectTargetWriter", "*", "MOTW", "=", "new", "ELFObjectWriter", "(", "OSABI", ")", ";", "return", "createELFObjectWriter", "(", "MOTW", ",", "OS", ",", "true", ")", ";"], "ground_truth": ["}"], "File": "LEGELFObjectWriter", "Func": "createLEGELFObjectWriter", "Target": "LEG", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 116898, "Length": 21, "Cover_Rate": 0.6} {"Template_token": ["", "MCELFObjectTargetWriter", "*", "MOTW", "=", "new", "ELFObjectWriter", "(", "OSABI", ")", ";"], "ground_truth": ["return", "createELFObjectWriter", "(", "MOTW", ",", "OS", ",", "true", ")", ";"], "File": "LEGELFObjectWriter", "Func": "createLEGELFObjectWriter", "Target": "LEG", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 116899, "Length": 20, "Cover_Rate": 0.5714285714285714} {"Template_token": ["", "if", "(", "!", "IsPCRel", ")", "{", "llvm_unreachable", "(", "", ")", ";", "}", "unsigned", "Type", "=", "", ";", "switch", "(", "(", "unsigned", ")", "Fixup", ".", "getKind", "(", ")", ")", "{", "default", ":", "llvm_unreachable", "(", "", ")", ";", "case", "", ":", "Type", "=", "ELF", "::", "R_ARM_MOVT_PREL", ";", "break", ";", "case", "", ":", "Type", "=", "ELF", "::", "R_ARM_MOVW_PREL_NC", ";", "break", ";", "}", "return", "Type", ";"], "ground_truth": ["}"], "File": "LEGELFObjectWriter", "Func": "getRelocType", "Target": "LEG", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 116900, "Length": 63, "Cover_Rate": 0.6923076923076923} {"Template_token": ["", "unsigned", "ELFObjectWriter", "::", "getRelocType", "(", "MCContext", "&", "Ctx", ",", "const", "MCValue", "&", "Target", ",", "const", "MCFixup", "&", "Fixup", ",", "bool", "IsPCRel", ")", "const", "{", "if", "(", "!", "IsPCRel", ")", "{", "llvm_unreachable", "(", "", ")", ";"], "ground_truth": ["}"], "File": "LEGELFObjectWriter", "Func": "getRelocType", "Target": "LEG", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 116901, "Length": 36, "Cover_Rate": 0.3956043956043956} {"Template_token": ["", "ELFObjectWriter", "::", "ELFObjectWriter", "(", "uint8_t", "OSABI", ")", ":", "MCELFObjectTargetWriter", "(", "false", ",", "OSABI", ",", "ELF", "::", "EM_ARM", ",", "false", ")", "{"], "ground_truth": ["}"], "File": "LEGELFObjectWriter", "Func": "LEGELFObjectWriter", "Target": "LEG", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 116902, "Length": 22, "Cover_Rate": 1.0} {"Template_token": ["", "ELFObjectWriter", "::", "ELFObjectWriter", "(", "uint8_t", "OSABI", ")", ":", "MCELFObjectTargetWriter", "(", "false", ",", "OSABI", ",", "ELF", "::", "EM_ARM", ",", "false", ")", "{"], "ground_truth": ["}"], "File": "LEGELFObjectWriter", "Func": "LEGELFObjectWriter", "Target": "LEG", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 116903, "Length": 22, "Cover_Rate": 1.0} {"Template_token": ["", "ELFObjectWriter", "::", "~", "ELFObjectWriter", "(", ")", "{"], "ground_truth": ["}"], "File": "LEGELFObjectWriter", "Func": "~LEGELFObjectWriter", "Target": "LEG", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 116904, "Length": 8, "Cover_Rate": 1.0} {"Template_token": ["", "ELFObjectWriter", "::", "~", "ELFObjectWriter", "(", ")", "{"], "ground_truth": ["}"], "File": "LEGELFObjectWriter", "Func": "~LEGELFObjectWriter", "Target": "LEG", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 116905, "Length": 8, "Cover_Rate": 1.0} {"Template_token": ["", "if", "(", "StackAlign", ">", "", ")", "{", "StackSize", "=", "RoundUpToAlignment", "(", "StackSize", ",", "StackAlign", ")", ";", "}"], "ground_truth": ["return", "StackSize", ";"], "File": "LEGFrameLowering1", "Func": "computeStackSize", "Target": "LEG", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 116906, "Length": 20, "Cover_Rate": 0.3448275862068966} {"Template_token": ["", "MachineFrameInfo", "*", "MFI", "=", "MF", ".", "getFrameInfo", "(", ")", ";", "uint64_t", "StackSize", "=", "MFI", "->", "getStackSize", "(", ")", ";", "unsigned", "StackAlign", "=", "getStackAlignment", "(", ")", ";"], "ground_truth": ["if", "(", "StackAlign", ">", "", ")", "{"], "File": "LEGFrameLowering1", "Func": "computeStackSize", "Target": "LEG", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 116907, "Length": 33, "Cover_Rate": 0.5689655172413793} {"Template_token": ["", "void", "FrameLowering", "::", "eliminateCallFramePseudoInstr", "(", "MachineFunction", "&", "MF", ",", "MachineBasicBlock", "&", "MBB", ",", "MachineBasicBlock", "::", "iterator", "I", ")", "const", "{", "if", "(", "I", "->", "getOpcode", "(", ")", "==", "", "||", "I", "->", "getOpcode", "(", ")", "==", "", ")", "{", "MBB", ".", "erase", "(", "I", ")", ";"], "ground_truth": ["}"], "File": "LEGFrameLowering1", "Func": "eliminateCallFramePseudoInstr", "Target": "LEG", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 116908, "Length": 47, "Cover_Rate": 0.8703703703703703} {"Template_token": ["", "bool", "FrameLowering", "::", "hasFP", "(", "const", "MachineFunction", "&", "MF", ")", "const", "{"], "ground_truth": ["return", "MF", ".", "getTarget", "(", ")", ".", "Options", ".", "DisableFramePointerElim", "(", "MF", ")", "||", "MF", ".", "getFrameInfo", "(", ")", "->", "hasVarSizedObjects", "(", ")", ";"], "File": "LEGFrameLowering1", "Func": "hasFP", "Target": "LEG", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 116909, "Length": 36, "Cover_Rate": 0.972972972972973} {"Template_token": ["", "bool", "FrameLowering", "::", "hasFP", "(", "const", "MachineFunction", "&", "MF", ")", "const", "{", "return", "MF", ".", "getTarget", "(", ")", ".", "Options", ".", "DisableFramePointerElim", "(", "MF", ")", "||", "MF", ".", "getFrameInfo", "(", ")", "->", "hasVarSizedObjects", "(", ")", ";"], "ground_truth": ["}"], "File": "LEGFrameLowering1", "Func": "hasFP", "Target": "LEG", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 116910, "Length": 37, "Cover_Rate": 1.0} {"Template_token": ["", "void", "FrameLowering", "::", "emitPrologue", "(", "MachineFunction", "&", "MF", ")", "const", "{", "const", "TargetInstrInfo", "&", "TII", "=", "*", "MF", ".", "getSubtarget", "(", ")", ".", "getInstrInfo", "(", ")", ";", "MachineBasicBlock", "&", "MBB", "=", "MF", ".", "front", "(", ")", ";", "MachineBasicBlock", "::", "iterator", "MBBI", "=", "MBB", ".", "begin", "(", ")", ";", "DebugLoc", "dl", "=", "MBBI", "!=", "MBB", ".", "end", "(", ")", "?", "MBBI", "->", "getDebugLoc", "(", ")", ":", "DebugLoc", "(", ")", ";", "uint64_t", "StackSize", "=", "computeStackSize", "(", "MF", ")", ";", "if", "(", "!", "StackSize", ")", "{", "return", ";"], "ground_truth": ["}"], "File": "LEGFrameLowering2", "Func": "emitPrologue", "Target": "LEG", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 116911, "Length": 86, "Cover_Rate": 0.44329896907216493} {"Template_token": ["", "unsigned", "StackAlign", "=", "getStackAlignment", "(", ")", ";", "if", "(", "StackAlign", ">", "", ")", "{", "StackSize", "=", "alignTo", "(", "StackSize", ",", "StackAlign", ")", ";", "}", "return", "StackSize", ";"], "ground_truth": ["}"], "File": "LEGFrameLowering", "Func": "computeStackSize", "Target": "LEG", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 116912, "Length": 28, "Cover_Rate": 0.49122807017543857} {"Template_token": ["", "if", "(", "I", "->", "getOpcode", "(", ")", "==", "", "||", "I", "->", "getOpcode", "(", ")", "==", "", ")", "{", "return", "MBB", ".", "erase", "(", "I", ")", ";"], "ground_truth": ["}"], "File": "LEGFrameLowering", "Func": "eliminateCallFramePseudoInstr", "Target": "LEG", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 116913, "Length": 28, "Cover_Rate": 0.4827586206896552} {"Template_token": ["", "if", "(", "OffsetReg", ")", "{", "BuildMI", "(", "MBB", ",", "MBBI", ",", "dl", ",", "TII", ".", "get", "(", "", ")", ",", "StackReg", ")", ".", "addReg", "(", "StackReg", ")", ".", "addReg", "(", "OffsetReg", ")", ".", "setMIFlag", "(", "MachineInstr", "::", "FrameSetup", ")", ";", "}", "else", "{", "BuildMI", "(", "MBB", ",", "MBBI", ",", "dl", ",", "TII", ".", "get", "(", "", ")", ",", "StackReg", ")", ".", "addReg", "(", "StackReg", ")", ".", "addImm", "(", "StackSize", ")", ".", "setMIFlag", "(", "MachineInstr", "::", "FrameSetup", ")", ";"], "ground_truth": ["}"], "File": "LEGFrameLowering", "Func": "emitEpilogue", "Target": "LEG", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 116914, "Length": 79, "Cover_Rate": 0.44886363636363635} {"Template_token": ["", "BuildMI", "(", "MBB", ",", "MBBI", ",", "dl", ",", "TII", ".", "get", "(", "", ")", ",", "StackReg", ")", ".", "addReg", "(", "StackReg", ")", ".", "addReg", "(", "OffsetReg", ")", ".", "setMIFlag", "(", "MachineInstr", "::", "FrameSetup", ")", ";", "}", "else", "{"], "ground_truth": ["BuildMI", "(", "MBB", ",", "MBBI", ",", "dl", ",", "TII", ".", "get", "(", "", ")", ",", "StackReg", ")", ".", "addReg", "(", "StackReg", ")", ".", "addImm", "(", "StackSize", ")", ".", "setMIFlag", "(", "MachineInstr", "::", "FrameSetup", ")", ";"], "File": "LEGFrameLowering", "Func": "emitPrologue", "Target": "LEG", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 116915, "Length": 73, "Cover_Rate": 0.3882978723404255} {"Template_token": ["", "return", "MF", ".", "getTarget", "(", ")", ".", "Options", ".", "DisableFramePointerElim", "(", "MF", ")", "||", "MF", ".", "getFrameInfo", "(", ")", ".", "hasVarSizedObjects", "(", ")", ";"], "ground_truth": ["}"], "File": "LEGFrameLowering", "Func": "hasFP", "Target": "LEG", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 116916, "Length": 25, "Cover_Rate": 0.6756756756756757} {"Template_token": ["", "FrameLowering", "::", "FrameLowering", "(", ")", ":", "TargetFrameLowering", "(", "TargetFrameLowering", "::", "StackGrowsDown", ",", "", ",", "", ")", "{"], "ground_truth": ["}"], "File": "LEGFrameLowering", "Func": "LEGFrameLowering", "Target": "LEG", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 116918, "Length": 18, "Cover_Rate": 1.0} {"Template_token": ["", "FrameLowering", "::", "FrameLowering", "(", ")", ":", "TargetFrameLowering", "(", "TargetFrameLowering", "::", "StackGrowsDown", ",", "", ",", "", ")", "{"], "ground_truth": ["}"], "File": "LEGFrameLowering", "Func": "LEGFrameLowering", "Target": "LEG", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 116919, "Length": 18, "Cover_Rate": 1.0} {"Template_token": ["", "}", "else", "{", "unsigned", "OffsetReg", "=", "", ";", "unsigned", "OffsetLo", "=", "(", "unsigned", ")", "(", "Offset", "&", "", ")", ";", "unsigned", "OffsetHi", "=", "(", "unsigned", ")", "(", "(", "Offset", "&", "", ")", ">>", "", ")", ";", "BuildMI", "(", "MBB", ",", "MBBI", ",", "dl", ",", "TII", ".", "get", "(", "", ")", ",", "OffsetReg", ")", ".", "addImm", "(", "OffsetLo", ")", ".", "setMIFlag", "(", "MachineInstr", "::", "FrameSetup", ")", ";", "if", "(", "OffsetHi", ")", "{", "BuildMI", "(", "MBB", ",", "MBBI", ",", "dl", ",", "TII", ".", "get", "(", "", ")", ",", "OffsetReg", ")", ".", "addReg", "(", "OffsetReg", ")", ".", "addImm", "(", "OffsetHi", ")", ".", "setMIFlag", "(", "MachineInstr", "::", "FrameSetup", ")", ";", "}"], "ground_truth": ["return", "OffsetReg", ";"], "File": "LEGFrameLowering", "Func": "materializeOffset", "Target": "LEG", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 116920, "Length": 110, "Cover_Rate": 0.5729166666666666} {"Template_token": ["", "static", "int", "stackSlotSize", "(", ")", "{", "return", "", ";"], "ground_truth": ["}"], "File": "LEGFrameLowering", "Func": "stackSlotSize", "Target": "LEG", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 116922, "Length": 10, "Cover_Rate": 1.0} {"Template_token": ["", "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", "&&", "", ")", ";"], "ground_truth": ["Offset", "=", "CE", "->", "getValue", "(", ")", ";"], "File": "LEGInstPrinter1", "Func": "printExpr", "Target": "LEG", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 116923, "Length": 64, "Cover_Rate": 0.38323353293413176} {"Template_token": ["", "void", "InstPrinter", "::", "printInst", "(", "const", "MCInst", "*", "MI", ",", "raw_ostream", "&", "O", ",", "StringRef", "Annot", ")", "{"], "ground_truth": ["printInstruction", "(", "MI", ",", "O", ")", ";"], "File": "LEGInstPrinter1", "Func": "printInst", "Target": "LEG", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 116925, "Length": 25, "Cover_Rate": 0.7575757575757576} {"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", "", ";"], "ground_truth": ["case", "", ":"], "File": "LEGInstPrinter", "Func": "condCodeToString", "Target": "LEG", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 116926, "Length": 92, "Cover_Rate": 0.5287356321839081} {"Template_token": ["", "InstPrinter", "(", "const", "MCAsmInfo", "&", "MAI", ",", "const", "MCInstrInfo", "&", "MII", ",", "const", "MCRegisterInfo", "&", "MRI", ")", ":", "MCInstPrinter", "(", "MAI", ",", "MII", ",", "MRI", ")", "{"], "ground_truth": ["}"], "File": "LEGInstPrinter", "Func": "LEGInstPrinter", "Target": "LEG", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 116927, "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": "LEGInstPrinter", "Func": "LEGInstPrinter", "Target": "LEG", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 116928, "Length": 28, "Cover_Rate": 1.0} {"Template_token": ["", "const", "MCOperand", "&", "Op1", "=", "MI", "->", "getOperand", "(", "OpNum", ")", ";", "const", "MCOperand", "&", "Op2", "=", "MI", "->", "getOperand", "(", "OpNum", "+", "", ")", ";", "O", "<<", "", ";", "printRegName", "(", "O", ",", "Op1", ".", "getReg", "(", ")", ")", ";", "unsigned", "Offset", "=", "Op2", ".", "getImm", "(", ")", ";", "if", "(", "Offset", ")", "{"], "ground_truth": ["O", "<<", "", "<<", "Offset", ";"], "File": "LEGInstPrinter", "Func": "printAddrModeMemSrc", "Target": "LEG", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 116929, "Length": 61, "Cover_Rate": 0.7176470588235294} {"Template_token": ["", "void", "InstPrinter", "::", "printAddrModeMemSrc", "(", "const", "MCInst", "*", "MI", ",", "unsigned", "OpNum", ",", "raw_ostream", "&", "O", ")", "{", "const", "MCOperand", "&", "Op1", "=", "MI", "->", "getOperand", "(", "OpNum", ")", ";", "const", "MCOperand", "&", "Op2", "=", "MI", "->", "getOperand", "(", "OpNum", "+", "", ")", ";", "O", "<<", "", ";"], "ground_truth": ["printRegName", "(", "O", ",", "Op1", ".", "getReg", "(", ")", ")", ";"], "File": "LEGInstPrinter", "Func": "printAddrModeMemSrc", "Target": "LEG", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 116930, "Length": 59, "Cover_Rate": 0.6941176470588235} {"Template_token": ["", "void", "InstPrinter", "::", "printCondCode", "(", "const", "MCInst", "*", "MI", ",", "unsigned", "OpNum", ",", "raw_ostream", "&", "O", ")", "{", "const", "MCOperand", "&", "Op", "=", "MI", "->", "getOperand", "(", "OpNum", ")", ";", "", "CC", "=", "(", "", ")", "Op", ".", "getImm", "(", ")", ";", "const", "char", "*", "Str", "=", "condCodeToString", "(", "CC", ")", ";"], "ground_truth": ["O", "<<", "Str", ";"], "File": "LEGInstPrinter", "Func": "printCondCode", "Target": "LEG", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 116931, "Length": 56, "Cover_Rate": 0.9180327868852459} {"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", "(", ")", ";"], "ground_truth": ["if", "(", "Offset", ")", "{"], "File": "LEGInstPrinter", "Func": "printExpr", "Target": "LEG", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 116932, "Length": 136, "Cover_Rate": 0.7861271676300579} {"Template_token": ["", "static", "void", "printExpr", "(", "const", "MCExpr", "*", "Expr", ",", "raw_ostream", "&", "OS", ")", "{", "int", "Offset", "=", "", ";", "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", ")", ";"], "ground_truth": ["assert", "(", "SRE", "&&", "", ")", ";"], "File": "LEGInstPrinter", "Func": "printExpr", "Target": "LEG", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 116933, "Length": 108, "Cover_Rate": 0.6242774566473989} {"Template_token": ["", "void", "InstPrinter", "::", "printInst", "(", "const", "MCInst", "*", "MI", ",", "raw_ostream", "&", "O", ",", "StringRef", "Annot", ",", "const", "MCSubtargetInfo", "&", "STI", ")", "{", "printInstruction", "(", "MI", ",", "O", ")", ";"], "ground_truth": ["printAnnotation", "(", "O", ",", "Annot", ")", ";"], "File": "LEGInstPrinter", "Func": "printInst", "Target": "LEG", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 116934, "Length": 37, "Cover_Rate": 0.9736842105263158} {"Template_token": ["", "printInstruction", "(", "MI", ",", "O", ")", ";"], "ground_truth": ["printAnnotation", "(", "O", ",", "Annot", ")", ";"], "File": "LEGInstPrinter", "Func": "printInst", "Target": "LEG", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 116935, "Length": 14, "Cover_Rate": 0.3684210526315789} {"Template_token": ["", "TBB", "=", "nullptr", ";", "FBB", "=", "nullptr", ";", "for", "(", "MachineInstr", "&", "MI", ":", "MBB", ")", "{", "if", "(", "MI", ".", "getOpcode", "(", ")", "==", "", ")", "{", "MachineBasicBlock", "*", "TargetBB", "=", "MI", ".", "getOperand", "(", "", ")", ".", "getMBB", "(", ")", ";", "if", "(", "HasCondBranch", ")", "{", "FBB", "=", "TargetBB", ";"], "ground_truth": ["}", "else", "{"], "File": "LEGInstrInfo1", "Func": "AnalyzeBranch", "Target": "LEG", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 116938, "Length": 55, "Cover_Rate": 0.35714285714285715} {"Template_token": ["", "FBB", "=", "nullptr", ";", "for", "(", "MachineInstr", "&", "MI", ":", "MBB", ")", "{", "if", "(", "MI", ".", "getOpcode", "(", ")", "==", "", ")", "{", "MachineBasicBlock", "*", "TargetBB", "=", "MI", ".", "getOperand", "(", "", ")", ".", "getMBB", "(", ")", ";", "if", "(", "HasCondBranch", ")", "{", "FBB", "=", "TargetBB", ";", "}", "else", "{", "TBB", "=", "TargetBB", ";", "}"], "ground_truth": ["}", "else", "if", "(", "MI", ".", "getOpcode", "(", ")", "==", "", ")", "{"], "File": "LEGInstrInfo1", "Func": "AnalyzeBranch", "Target": "LEG", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 116939, "Length": 69, "Cover_Rate": 0.44805194805194803} {"Template_token": ["", "void", "InstrInfo", "::", "copyPhysReg", "(", "MachineBasicBlock", "&", "MBB", ",", "MachineBasicBlock", "::", "iterator", "I", ",", "DebugLoc", "DL", ",", "unsigned", "DestReg", ",", "unsigned", "SrcReg", ",", "bool", "KillSrc", ")", "const", "{"], "ground_truth": ["BuildMI", "(", "MBB", ",", "I", ",", "I", "->", "getDebugLoc", "(", ")", ",", "get", "(", "", ")", ",", "DestReg", ")", ".", "addReg", "(", "SrcReg", ",", "getKillRegState", "(", "KillSrc", ")", ")", ";"], "File": "LEGInstrInfo1", "Func": "copyPhysReg", "Target": "LEG", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 116941, "Length": 58, "Cover_Rate": 0.9508196721311475} {"Template_token": ["", "if", "(", "MO", ".", "isImm", "(", ")", ")", "{", "const", "unsigned", "Imm", "=", "MO", ".", "getImm", "(", ")", ";", "const", "unsigned", "Lo16", "=", "Imm", "&", "", ";", "const", "unsigned", "Hi16", "=", "(", "Imm", ">>", "", ")", "&", "", ";", "LO16", "=", "LO16", ".", "addImm", "(", "Lo16", ")", ";", "HI16", "=", "HI16", ".", "addImm", "(", "Hi16", ")", ";", "}", "else", "{", "const", "GlobalValue", "*", "GV", "=", "MO", ".", "getGlobal", "(", ")", ";", "const", "unsigned", "TF", "=", "MO", ".", "getTargetFlags", "(", ")", ";", "LO16", "=", "LO16", ".", "addGlobalAddress", "(", "GV", ",", "MO", ".", "getOffset", "(", ")", ",", "TF", "|", "", ")", ";", "HI16", "=", "HI16", ".", "addGlobalAddress", "(", "GV", ",", "MO", ".", "getOffset", "(", ")", ",", "TF", "|", "", ")", ";", "}"], "ground_truth": ["MBB", ".", "erase", "(", "MI", ")", ";"], "File": "LEGInstrInfo1", "Func": "expandPostRAPseudo", "Target": "LEG", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 116942, "Length": 127, "Cover_Rate": 0.4379310344827586} {"Template_token": ["", "return", "false", ";", "case", "", ":", "{", "DebugLoc", "DL", "=", "MI", "->", "getDebugLoc", "(", ")", ";", "MachineBasicBlock", "&", "MBB", "=", "*", "MI", "->", "getParent", "(", ")", ";", "const", "unsigned", "DstReg", "=", "MI", "->", "getOperand", "(", "", ")", ".", "getReg", "(", ")", ";", "const", "bool", "DstIsDead", "=", "MI", "->", "getOperand", "(", "", ")", ".", "isDead", "(", ")", ";", "const", "MachineOperand", "&", "MO", "=", "MI", "->", "getOperand", "(", "", ")", ";", "auto", "LO16", "=", "BuildMI", "(", "MBB", ",", "MI", ",", "DL", ",", "get", "(", "", ")", ",", "DstReg", ")", ";", "auto", "HI16", "=", "BuildMI", "(", "MBB", ",", "MI", ",", "DL", ",", "get", "(", "", ")", ")", ".", "addReg", "(", "DstReg", ",", "RegState", "::", "Define", "|", "getDeadRegState", "(", "DstIsDead", ")", ")", ".", "addReg", "(", "DstReg", ")", ";", "if", "(", "MO", ".", "isImm", "(", ")", ")", "{", "const", "unsigned", "Imm", "=", "MO", ".", "getImm", "(", ")", ";", "const", "unsigned", "Lo16", "=", "Imm", "&", "", ";", "const", "unsigned", "Hi16", "=", "(", "Imm", ">>", "", ")", "&", "", ";", "LO16", "=", "LO16", ".", "addImm", "(", "Lo16", ")", ";", "HI16", "=", "HI16", ".", "addImm", "(", "Hi16", ")", ";"], "ground_truth": ["}", "else", "{"], "File": "LEGInstrInfo1", "Func": "expandPostRAPseudo", "Target": "LEG", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 116943, "Length": 184, "Cover_Rate": 0.6344827586206897} {"Template_token": ["", "NumInserted", "++", ";", "}", "if", "(", "Cond", ".", "empty", "(", ")", "||", "FBB", ")", "{", "BuildMI", "(", "MBB", ",", "MBB", ".", "end", "(", ")", ",", "DL", ",", "get", "(", "", ")", ")", ".", "addMBB", "(", "Cond", ".", "empty", "(", ")", "?", "TBB", ":", "FBB", ")", ";", "NumInserted", "++", ";", "}"], "ground_truth": ["return", "NumInserted", ";"], "File": "LEGInstrInfo1", "Func": "InsertBranch", "Target": "LEG", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 116944, "Length": 53, "Cover_Rate": 0.39849624060150374} {"Template_token": ["", "assert", "(", "", "&&", "", ")", ";"], "ground_truth": ["return", "", ";"], "File": "LEGInstrInfo1", "Func": "isLoadFromStackSlot", "Target": "LEG", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 116945, "Length": 10, "Cover_Rate": 0.37037037037037035} {"Template_token": ["", "unsigned", "InstrInfo", "::", "isLoadFromStackSlot", "(", "const", "MachineInstr", "*", "MI", ",", "int", "&", "FrameIndex", ")", "const", "{", "assert", "(", "", "&&", "", ")", ";"], "ground_truth": ["return", "", ";"], "File": "LEGInstrInfo1", "Func": "isLoadFromStackSlot", "Target": "LEG", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 116946, "Length": 26, "Cover_Rate": 0.9629629629629629} {"Template_token": ["", "assert", "(", "", "&&", "", ")", ";"], "ground_truth": ["return", "", ";"], "File": "LEGInstrInfo1", "Func": "isStoreToStackSlot", "Target": "LEG", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 116947, "Length": 10, "Cover_Rate": 0.37037037037037035} {"Template_token": ["", "if", "(", "(", "Opc", "==", "", ")", "||", "(", "Opc", "==", "", ")", ")", "{", "auto", "ToDelete", "=", "I", ";", "++", "I", ";", "MBB", ".", "erase", "(", "ToDelete", ")", ";", "NumRemoved", "++", ";"], "ground_truth": ["}"], "File": "LEGInstrInfo1", "Func": "RemoveBranch", "Target": "LEG", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 116948, "Length": 34, "Cover_Rate": 0.3269230769230769} {"Template_token": ["", "unsigned", "InstrInfo", "::", "RemoveBranch", "(", "MachineBasicBlock", "&", "MBB", ")", "const", "{", "assert", "(", "", "&&", "", ")", ";"], "ground_truth": ["return", "", ";"], "File": "LEGInstrInfo2", "Func": "RemoveBranch", "Target": "LEG", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 116951, "Length": 21, "Cover_Rate": 0.9545454545454546} {"Template_token": ["", "for", "(", "MachineInstr", "&", "MI", ":", "MBB", ")", "{", "if", "(", "MI", ".", "getOpcode", "(", ")", "==", "", ")", "{", "MachineBasicBlock", "*", "TargetBB", "=", "MI", ".", "getOperand", "(", "", ")", ".", "getMBB", "(", ")", ";", "if", "(", "HasCondBranch", ")", "{", "FBB", "=", "TargetBB", ";", "}", "else", "{", "TBB", "=", "TargetBB", ";", "}"], "ground_truth": ["}", "else", "if", "(", "MI", ".", "getOpcode", "(", ")", "==", "", ")", "{"], "File": "LEGInstrInfo", "Func": "analyzeBranch", "Target": "LEG", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 116952, "Length": 65, "Cover_Rate": 0.42207792207792205} {"Template_token": ["", "void", "InstrInfo", "::", "anchor", "(", ")", "{"], "ground_truth": ["}"], "File": "LEGInstrInfo", "Func": "anchor", "Target": "LEG", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 116953, "Length": 8, "Cover_Rate": 1.0} {"Template_token": ["", "void", "InstrInfo", "::", "anchor", "(", ")", "{"], "ground_truth": ["}"], "File": "LEGInstrInfo", "Func": "anchor", "Target": "LEG", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 116954, "Length": 8, "Cover_Rate": 1.0} {"Template_token": ["", "void", "InstrInfo", "::", "copyPhysReg", "(", "MachineBasicBlock", "&", "MBB", ",", "MachineBasicBlock", "::", "iterator", "I", ",", "const", "DebugLoc", "&", "DL", ",", "unsigned", "DestReg", ",", "unsigned", "SrcReg", ",", "bool", "KillSrc", ")", "const", "{", "BuildMI", "(", "MBB", ",", "I", ",", "I", "->", "getDebugLoc", "(", ")", ",", "get", "(", "", ")", ",", "DestReg", ")", ".", "addReg", "(", "SrcReg", ",", "getKillRegState", "(", "KillSrc", ")", ")", ";"], "ground_truth": ["}"], "File": "LEGInstrInfo", "Func": "copyPhysReg", "Target": "LEG", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 116955, "Length": 61, "Cover_Rate": 0.9682539682539683} {"Template_token": ["", "DebugLoc", "DL", "=", "MI", ".", "getDebugLoc", "(", ")", ";", "MachineBasicBlock", "&", "MBB", "=", "*", "MI", ".", "getParent", "(", ")", ";", "const", "unsigned", "DstReg", "=", "MI", ".", "getOperand", "(", "", ")", ".", "getReg", "(", ")", ";", "const", "bool", "DstIsDead", "=", "MI", ".", "getOperand", "(", "", ")", ".", "isDead", "(", ")", ";", "const", "MachineOperand", "&", "MO", "=", "MI", ".", "getOperand", "(", "", ")", ";", "auto", "LO16", "=", "BuildMI", "(", "MBB", ",", "MI", ",", "DL", ",", "get", "(", "", ")", ",", "DstReg", ")", ";", "auto", "HI16", "=", "BuildMI", "(", "MBB", ",", "MI", ",", "DL", ",", "get", "(", "", ")", ")", ".", "addReg", "(", "DstReg", ",", "RegState", "::", "Define", "|", "getDeadRegState", "(", "DstIsDead", ")", ")", ".", "addReg", "(", "DstReg", ")", ";", "if", "(", "MO", ".", "isImm", "(", ")", ")", "{", "const", "unsigned", "Imm", "=", "MO", ".", "getImm", "(", ")", ";"], "ground_truth": ["const", "unsigned", "Lo16", "=", "Imm", "&", "", ";"], "File": "LEGInstrInfo", "Func": "expandPostRAPseudo", "Target": "LEG", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 116957, "Length": 144, "Cover_Rate": 0.4982698961937716} {"Template_token": ["", "const", "RegisterInfo", "&", "getRegisterInfo", "(", ")", "const", "{", "return", "RI", ";"], "ground_truth": ["}"], "File": "LEGInstrInfo", "Func": "getRegisterInfo", "Target": "LEG", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 116958, "Length": 12, "Cover_Rate": 1.0} {"Template_token": ["", "const", "RegisterInfo", "&", "getRegisterInfo", "(", ")", "const", "{"], "ground_truth": ["return", "RI", ";"], "File": "LEGInstrInfo", "Func": "getRegisterInfo", "Target": "LEG", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 116959, "Length": 11, "Cover_Rate": 0.9166666666666666} {"Template_token": ["", "if", "(", "Cond", ".", "size", "(", ")", ">", "", ")", "{", "BuildMI", "(", "MBB", ",", "MBB", ".", "end", "(", ")", ",", "DL", ",", "get", "(", "", ")", ")", ".", "addOperand", "(", "Cond", "[", "", "]", ")", ".", "addMBB", "(", "TBB", ")", ";", "NumInserted", "++", ";", "}", "if", "(", "Cond", ".", "empty", "(", ")", "||", "FBB", ")", "{", "BuildMI", "(", "MBB", ",", "MBB", ".", "end", "(", ")", ",", "DL", ",", "get", "(", "", ")", ")", ".", "addMBB", "(", "Cond", ".", "empty", "(", ")", "?", "TBB", ":", "FBB", ")", ";", "NumInserted", "++", ";"], "ground_truth": ["}"], "File": "LEGInstrInfo", "Func": "insertBranch", "Target": "LEG", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 116960, "Length": 92, "Cover_Rate": 0.6618705035971223} {"Template_token": ["", "BuildMI", "(", "MBB", ",", "MBB", ".", "end", "(", ")", ",", "DL", ",", "get", "(", "", ")", ")", ".", "addOperand", "(", "Cond", "[", "", "]", ")", ".", "addMBB", "(", "TBB", ")", ";", "NumInserted", "++", ";", "}", "if", "(", "Cond", ".", "empty", "(", ")", "||", "FBB", ")", "{", "BuildMI", "(", "MBB", ",", "MBB", ".", "end", "(", ")", ",", "DL", ",", "get", "(", "", ")", ")", ".", "addMBB", "(", "Cond", ".", "empty", "(", ")", "?", "TBB", ":", "FBB", ")", ";", "NumInserted", "++", ";"], "ground_truth": ["}"], "File": "LEGInstrInfo", "Func": "insertBranch", "Target": "LEG", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 116961, "Length": 81, "Cover_Rate": 0.5827338129496403} {"Template_token": ["", "assert", "(", "", "&&", "", ")", ";", "return", "", ";"], "ground_truth": ["}"], "File": "LEGInstrInfo", "Func": "isLoadFromStackSlot", "Target": "LEG", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 116962, "Length": 11, "Cover_Rate": 0.4074074074074074} {"Template_token": ["", "assert", "(", "", "&&", "", ")", ";", "return", "", ";"], "ground_truth": ["}"], "File": "LEGInstrInfo", "Func": "isStoreToStackSlot", "Target": "LEG", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 116963, "Length": 11, "Cover_Rate": 0.4074074074074074} {"Template_token": ["", "assert", "(", "", "&&", "", ")", ";"], "ground_truth": ["return", "", ";"], "File": "LEGInstrInfo", "Func": "isStoreToStackSlot", "Target": "LEG", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 116964, "Length": 10, "Cover_Rate": 0.37037037037037035} {"Template_token": ["", "InstrInfo", "::", "InstrInfo", "(", ")", ":", "GenInstrInfo", "(", "", ",", "", ")", ",", "RI", "(", ")", "{"], "ground_truth": ["}"], "File": "LEGInstrInfo", "Func": "LEGInstrInfo", "Target": "LEG", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 116965, "Length": 18, "Cover_Rate": 0.8181818181818182} {"Template_token": ["", "InstrInfo", "::", "InstrInfo", "(", ")", ":", "GenInstrInfo", "(", "", ",", "", ")", ",", "RI", "(", ")", "{"], "ground_truth": ["}"], "File": "LEGInstrInfo", "Func": "LEGInstrInfo", "Target": "LEG", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 116966, "Length": 18, "Cover_Rate": 0.8181818181818182} {"Template_token": ["", "BuildMI", "(", "MBB", ",", "I", ",", "I", "->", "getDebugLoc", "(", ")", ",", "get", "(", "", ")", ",", "DestReg", ")", ".", "addFrameIndex", "(", "FrameIndex", ")", ".", "addImm", "(", "", ")", ";"], "ground_truth": ["}"], "File": "LEGInstrInfo", "Func": "loadRegFromStackSlot", "Target": "LEG", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 116968, "Length": 31, "Cover_Rate": 0.47692307692307695} {"Template_token": ["", "auto", "I", "=", "MBB", ".", "end", "(", ")", ";", "do", "{", "--", "I", ";", "unsigned", "Opc", "=", "I", "->", "getOpcode", "(", ")", ";", "if", "(", "(", "Opc", "==", "", ")", "||", "(", "Opc", "==", "", ")", ")", "{", "auto", "ToDelete", "=", "I", ";", "++", "I", ";"], "ground_truth": ["MBB", ".", "erase", "(", "ToDelete", ")", ";"], "File": "LEGInstrInfo", "Func": "removeBranch", "Target": "LEG", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 116969, "Length": 53, "Cover_Rate": 0.49074074074074076} {"Template_token": ["", "BuildMI", "(", "MBB", ",", "I", ",", "I", "->", "getDebugLoc", "(", ")", ",", "get", "(", "", ")", ")", ".", "addReg", "(", "SrcReg", ",", "getKillRegState", "(", "isKill", ")", ")", ".", "addFrameIndex", "(", "FrameIndex", ")", ".", "addImm", "(", "", ")", ";"], "ground_truth": ["}"], "File": "LEGInstrInfo", "Func": "storeRegToStackSlot", "Target": "LEG", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 116970, "Length": 39, "Cover_Rate": 0.5131578947368421} {"Template_token": ["", "void", "InstrInfo", "::", "storeRegToStackSlot", "(", "MachineBasicBlock", "&", "MBB", ",", "MachineBasicBlock", "::", "iterator", "I", ",", "unsigned", "SrcReg", ",", "bool", "isKill", ",", "int", "FrameIndex", ",", "const", "TargetRegisterClass", "*", "RC", ",", "const", "TargetRegisterInfo", "*", "TRI", ")", "const", "{", "BuildMI", "(", "MBB", ",", "I", ",", "I", "->", "getDebugLoc", "(", ")", ",", "get", "(", "", ")", ")", ".", "addReg", "(", "SrcReg", ",", "getKillRegState", "(", "isKill", ")", ")", ".", "addFrameIndex", "(", "FrameIndex", ")", ".", "addImm", "(", "", ")", ";"], "ground_truth": ["}"], "File": "LEGInstrInfo", "Func": "storeRegToStackSlot", "Target": "LEG", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 116971, "Length": 74, "Cover_Rate": 0.9736842105263158} {"Template_token": ["", "virtual", "const", "char", "*", "getPassName", "(", ")", "const", "override", "{", "return", "", ";"], "ground_truth": ["}"], "File": "LEGISelDAGToDAG1", "Func": "getPassName", "Target": "LEG", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 116972, "Length": 14, "Cover_Rate": 1.0} {"Template_token": ["", "case", "", ":", "return", "SelectConditionalBranch", "(", "N", ")", ";", "}"], "ground_truth": ["return", "SelectCode", "(", "N", ")", ";"], "File": "LEGISelDAGToDAG1", "Func": "Select", "Target": "LEG", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 116974, "Length": 16, "Cover_Rate": 0.32} {"Template_token": ["", "virtual", "const", "char", "*", "getPassName", "(", ")", "const", "{", "return", "", ";"], "ground_truth": ["}"], "File": "LEGISelDAGToDAG2", "Func": "getPassName", "Target": "LEG", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 116975, "Length": 13, "Cover_Rate": 1.0} {"Template_token": ["", "return", "", ";"], "ground_truth": ["}"], "File": "LEGISelDAGToDAG2", "Func": "getPassName", "Target": "LEG", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 116976, "Length": 4, "Cover_Rate": 0.3076923076923077} {"Template_token": ["", "case", "", ":", "return", "SelectMoveImmediate", "(", "N", ")", ";", "}"], "ground_truth": ["return", "SelectCode", "(", "N", ")", ";"], "File": "LEGISelDAGToDAG2", "Func": "Select", "Target": "LEG", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 116977, "Length": 16, "Cover_Rate": 0.41025641025641024} {"Template_token": ["", "SDNode", "*", "DAGToDAGISel", "::", "Select", "(", "SDNode", "*", "N", ")", "{", "switch", "(", "N", "->", "getOpcode", "(", ")", ")", "{", "case", "", ":", "return", "SelectMoveImmediate", "(", "N", ")", ";"], "ground_truth": ["}"], "File": "LEGISelDAGToDAG2", "Func": "Select", "Target": "LEG", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 116978, "Length": 30, "Cover_Rate": 0.7692307692307693} {"Template_token": ["", "bool", "DAGToDAGISel", "::", "SelectAddr", "(", "SDValue", "Addr", ",", "SDValue", "&", "Base", ",", "SDValue", "&", "Offset", ")", "{", "if", "(", "FrameIndexSDNode", "*", "FIN", "=", "dyn_cast", "<", "FrameIndexSDNode", ">", "(", "Addr", ")", ")", "{", "Base", "=", "CurDAG", "->", "getTargetFrameIndex", "(", "FIN", "->", "getIndex", "(", ")", ",", "getTargetLowering", "(", ")", "->", "getPointerTy", "(", ")", ")", ";", "Offset", "=", "CurDAG", "->", "getTargetConstant", "(", "", ",", "", ")", ";", "return", "true", ";", "}", "if", "(", "Addr", ".", "getOpcode", "(", ")", "==", "", "||", "Addr", ".", "getOpcode", "(", ")", "==", "", "||", "Addr", ".", "getOpcode", "(", ")", "==", "", ")", "{"], "ground_truth": ["return", "false", ";"], "File": "LEGISelDAGToDAG2", "Func": "SelectAddr", "Target": "LEG", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 116979, "Length": 98, "Cover_Rate": 0.765625} {"Template_token": ["", "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", ",", "", ")", ";", "MachineSDNode", "*", "Move", "=", "CurDAG", "->", "getMachineNode", "(", "", ",", "N", ",", "", ",", "ConstLo", ")", ";", "if", "(", "ImmHi", ")", "{"], "ground_truth": ["SDValue", "ConstHi", "=", "CurDAG", "->", "getTargetConstant", "(", "ImmHi", ">>", "", ",", "", ")", ";"], "File": "LEGISelDAGToDAG2", "Func": "SelectMoveImmediate", "Target": "LEG", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 116980, "Length": 94, "Cover_Rate": 0.5529411764705883} {"Template_token": ["", "uint64_t", "LoMask", "=", "", ";", "uint64_t", "HiMask", "=", "", ";", "uint64_t", "ImmLo", "=", "(", "ImmVal", "&", "LoMask", ")", ";", "uint64_t", "ImmHi", "=", "(", "ImmVal", "&", "HiMask", ")", ";", "SDValue", "ConstLo", "=", "CurDAG", "->", "getTargetConstant", "(", "ImmLo", ",", "", ")", ";", "MachineSDNode", "*", "Move", "=", "CurDAG", "->", "getMachineNode", "(", "", ",", "N", ",", "", ",", "ConstLo", ")", ";", "if", "(", "ImmHi", ")", "{", "SDValue", "ConstHi", "=", "CurDAG", "->", "getTargetConstant", "(", "ImmHi", ">>", "", ",", "", ")", ";", "Move", "=", "CurDAG", "->", "getMachineNode", "(", "", ",", "N", ",", "", ",", "SDValue", "(", "Move", ",", "", ")", ",", "ConstHi", ")", ";"], "ground_truth": ["}"], "File": "LEGISelDAGToDAG2", "Func": "SelectMoveImmediate", "Target": "LEG", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 116981, "Length": 99, "Cover_Rate": 0.5823529411764706} {"Template_token": ["", "FunctionPass", "*", "llvm", "::", "createISelDag", "(", "TargetMachine", "&", "TM", ",", "CodeGenOpt", "::", "Level", "OptLevel", ")", "{", "return", "new", "DAGToDAGISel", "(", "TM", ",", "OptLevel", ")", ";"], "ground_truth": ["}"], "File": "LEGISelDAGToDAG", "Func": "createLEGISelDag", "Target": "LEG", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 116983, "Length": 26, "Cover_Rate": 1.0} {"Template_token": ["", "virtual", "StringRef", "getPassName", "(", ")", "const", "override", "{", "return", "StringRef", "(", "", ")", ";"], "ground_truth": ["}"], "File": "LEGISelDAGToDAG", "Func": "getPassName", "Target": "LEG", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 116984, "Length": 15, "Cover_Rate": 1.0} {"Template_token": ["", "virtual", "StringRef", "getPassName", "(", ")", "const", "override", "{"], "ground_truth": ["return", "StringRef", "(", "", ")", ";"], "File": "LEGISelDAGToDAG", "Func": "getPassName", "Target": "LEG", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 116985, "Length": 14, "Cover_Rate": 0.9333333333333333} {"Template_token": ["", "explicit", "DAGToDAGISel", "(", "TargetMachine", "&", "TM", ",", "CodeGenOpt", "::", "Level", "OptLevel", ")", ":", "SelectionDAGISel", "(", "TM", ",", "OptLevel", ")", ",", "Subtarget", "(", "*", "TM", ".", "getSubtargetImpl", "(", ")", ")", "{"], "ground_truth": ["}"], "File": "LEGISelDAGToDAG", "Func": "LEGDAGToDAGISel", "Target": "LEG", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 116986, "Length": 31, "Cover_Rate": 1.0} {"Template_token": ["", "explicit", "DAGToDAGISel", "(", "TargetMachine", "&", "TM", ",", "CodeGenOpt", "::", "Level", "OptLevel", ")", ":", "SelectionDAGISel", "(", "TM", ",", "OptLevel", ")", ",", "Subtarget", "(", "*", "TM", ".", "getSubtargetImpl", "(", ")", ")", "{"], "ground_truth": ["}"], "File": "LEGISelDAGToDAG", "Func": "LEGDAGToDAGISel", "Target": "LEG", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 116987, "Length": 31, "Cover_Rate": 1.0} {"Template_token": ["", "switch", "(", "N", "->", "getOpcode", "(", ")", ")", "{", "case", "", ":", "SelectMoveImmediate", "(", "N", ")", ";", "return", ";", "case", "", ":", "SelectConditionalBranch", "(", "N", ")", ";", "return", ";", "}", "SelectCode", "(", "N", ")", ";"], "ground_truth": ["}"], "File": "LEGISelDAGToDAG", "Func": "Select", "Target": "LEG", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 116988, "Length": 36, "Cover_Rate": 0.72} {"Template_token": ["", "EVT", "PtrVT", "=", "getTargetLowering", "(", ")", "->", "getPointerTy", "(", "CurDAG", "->", "getDataLayout", "(", ")", ")", ";", "Base", "=", "CurDAG", "->", "getTargetFrameIndex", "(", "FIN", "->", "getIndex", "(", ")", ",", "PtrVT", ")", ";"], "ground_truth": ["Offset", "=", "CurDAG", "->", "getTargetConstant", "(", "", ",", "Addr", ",", "", ")", ";"], "File": "LEGISelDAGToDAG", "Func": "SelectAddr", "Target": "LEG", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 116989, "Length": 44, "Cover_Rate": 0.30985915492957744} {"Template_token": ["", "SDValue", "Chain", "=", "N", "->", "getOperand", "(", "", ")", ";", "SDValue", "Cond", "=", "N", "->", "getOperand", "(", "", ")", ";", "SDValue", "LHS", "=", "N", "->", "getOperand", "(", "", ")", ";", "SDValue", "RHS", "=", "N", "->", "getOperand", "(", "", ")", ";", "SDValue", "Target", "=", "N", "->", "getOperand", "(", "", ")", ";", "EVT", "CompareTys", "[", "]", "=", "{", "", ",", "", "}", ";"], "ground_truth": ["SDVTList", "CompareVT", "=", "CurDAG", "->", "getVTList", "(", "CompareTys", ")", ";"], "File": "LEGISelDAGToDAG", "Func": "SelectConditionalBranch", "Target": "LEG", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 116990, "Length": 71, "Cover_Rate": 0.35858585858585856} {"Template_token": ["", "}", "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", "(", "", ",", "N", ",", "", ",", "ConstLo", ")", ";"], "ground_truth": ["if", "(", "ImmHi", ")", "{"], "File": "LEGISelDAGToDAG", "Func": "SelectMoveImmediate", "Target": "LEG", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 116991, "Length": 65, "Cover_Rate": 0.3735632183908046} {"Template_token": ["", "CCState", "CCInfo", "(", "CallConv", ",", "isVarArg", ",", "DAG", ".", "getMachineFunction", "(", ")", ",", "ArgLocs", ",", "*", "DAG", ".", "getContext", "(", ")", ")", ";", "CCInfo", ".", "AnalyzeCallOperands", "(", "Outs", ",", "CC_", ")", ";", "const", "unsigned", "NumBytes", "=", "CCInfo", ".", "getNextStackOffset", "(", ")", ";", "Chain", "=", "DAG", ".", "getCALLSEQ_START", "(", "Chain", ",", "DAG", ".", "getIntPtrConstant", "(", "NumBytes", ",", "Loc", ",", "true", ")", ",", "Loc", ")", ";", "SmallVector", "<", "std", "::", "pair", "<", "unsigned", ",", "SDValue", ">", ",", "", ">", "RegsToPass", ";", "SmallVector", "<", "SDValue", ",", "", ">", "MemOpChains", ";", "for", "(", "unsigned", "i", "=", "", ",", "e", "=", "ArgLocs", ".", "size", "(", ")", ";", "i", "!=", "e", ";", "++", "i", ")", "{", "CCValAssign", "&", "VA", "=", "ArgLocs", "[", "i", "]", ";", "SDValue", "Arg", "=", "OutVals", "[", "i", "]", ";", "assert", "(", "VA", ".", "getLocInfo", "(", ")", "==", "CCValAssign", "::", "Full", "&&", "", ")", ";", "if", "(", "VA", ".", "isRegLoc", "(", ")", ")", "{", "RegsToPass", ".", "push_back", "(", "std", "::", "make_pair", "(", "VA", ".", "getLocReg", "(", ")", ",", "Arg", ")", ")", ";", "continue", ";", "}", "assert", "(", "VA", ".", "isMemLoc", "(", ")", "&&", "", ")", ";", "SDValue", "StackPtr", "=", "DAG", ".", "getRegister", "(", "", ",", "", ")", ";", "SDValue", "PtrOff", "=", "DAG", ".", "getIntPtrConstant", "(", "VA", ".", "getLocMemOffset", "(", ")", ",", "Loc", ")", ";", "PtrOff", "=", "DAG", ".", "getNode", "(", "", ",", "Loc", ",", "", ",", "StackPtr", ",", "PtrOff", ")", ";", "MemOpChains", ".", "push_back", "(", "DAG", ".", "getStore", "(", "Chain", ",", "Loc", ",", "Arg", ",", "PtrOff", ",", "MachinePointerInfo", "(", ")", ",", "false", ",", "false", ",", "", ")", ")", ";"], "ground_truth": ["}"], "File": "LEGISelLowering1", "Func": "LowerCall", "Target": "LEG", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 116992, "Length": 257, "Cover_Rate": 0.3381578947368421} {"Template_token": ["", "SDValue", "TargetLowering", "::", "LowerCallResult", "(", "SDValue", "Chain", ",", "SDValue", "InGlue", ",", "CallingConv", "::", "ID", "CallConv", ",", "bool", "isVarArg", ",", "const", "SmallVectorImpl", "<", "", ">", "&", "Ins", ",", "SDLoc", "dl", ",", "SelectionDAG", "&", "DAG", ",", "SmallVectorImpl", "<", "SDValue", ">", "&", "InVals", ")", "const", "{", "assert", "(", "!", "isVarArg", "&&", "", ")", ";", "SmallVector", "<", "CCValAssign", ",", "", ">", "RVLocs", ";"], "ground_truth": ["CCState", "CCInfo", "(", "CallConv", ",", "isVarArg", ",", "DAG", ".", "getMachineFunction", "(", ")", ",", "RVLocs", ",", "*", "DAG", ".", "getContext", "(", ")", ")", ";"], "File": "LEGISelLowering1", "Func": "LowerCallResult", "Target": "LEG", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 116993, "Length": 82, "Cover_Rate": 0.5189873417721519} {"Template_token": ["", "CCState", "CCInfo", "(", "CallConv", ",", "isVarArg", ",", "DAG", ".", "getMachineFunction", "(", ")", ",", "RVLocs", ",", "*", "DAG", ".", "getContext", "(", ")", ")", ";", "CCInfo", ".", "AnalyzeCallResult", "(", "Ins", ",", "RetCC_", ")", ";", "for", "(", "auto", "&", "Loc", ":", "RVLocs", ")", "{", "Chain", "=", "DAG", ".", "getCopyFromReg", "(", "Chain", ",", "dl", ",", "Loc", ".", "getLocReg", "(", ")", ",", "Loc", ".", "getValVT", "(", ")", ",", "InGlue", ")", ".", "getValue", "(", "", ")", ";", "InGlue", "=", "Chain", ".", "getValue", "(", "", ")", ";"], "ground_truth": ["InVals", ".", "push_back", "(", "Chain", ".", "getValue", "(", "", ")", ")", ";"], "File": "LEGISelLowering1", "Func": "LowerCallResult", "Target": "LEG", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 116994, "Length": 92, "Cover_Rate": 0.5822784810126582} {"Template_token": ["", "if", "(", "VA", ".", "isRegLoc", "(", ")", ")", "{", "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", "(", ")", ")", ";"], "ground_truth": ["SDValue", "FIPtr", "=", "DAG", ".", "getFrameIndex", "(", "FI", ",", "PtrTy", ")", ";"], "File": "LEGISelLowering1", "Func": "LowerFormalArguments", "Target": "LEG", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 116995, "Length": 148, "Cover_Rate": 0.4484848484848485} {"Template_token": ["", "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", ")", "{"], "ground_truth": ["CCValAssign", "&", "VA", "=", "RVLocs", "[", "i", "]", ";"], "File": "LEGISelLowering1", "Func": "LowerReturn", "Target": "LEG", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 116996, "Length": 80, "Cover_Rate": 0.31746031746031744} {"Template_token": ["", "MemOpChains", ".", "push_back", "(", "DAG", ".", "getStore", "(", "Chain", ",", "dl", ",", "Arg", ",", "PtrOff", ",", "MachinePointerInfo", "(", ")", ",", "false", ",", "false", ",", "", ")", ")", ";", "}", "if", "(", "!", "MemOpChains", ".", "empty", "(", ")", ")", "{", "Chain", "=", "DAG", ".", "getNode", "(", "", ",", "dl", ",", "", ",", "MemOpChains", ")", ";", "}", "SDValue", "InFlag", ";", "for", "(", "auto", "&", "Reg", ":", "RegsToPass", ")", "{", "Chain", "=", "DAG", ".", "getCopyToReg", "(", "Chain", ",", "dl", ",", "Reg", ".", "first", ",", "Reg", ".", "second", ",", "InFlag", ")", ";", "InFlag", "=", "Chain", ".", "getValue", "(", "", ")", ";", "}", "GlobalAddressSDNode", "*", "G", "=", "dyn_cast", "<", "GlobalAddressSDNode", ">", "(", "Callee", ")", ";", "assert", "(", "G", "&&", "", ")", ";", "Callee", "=", "DAG", ".", "getGlobalAddress", "(", "G", "->", "getGlobal", "(", ")", ",", "dl", ",", "getPointerTy", "(", ")", ",", "", ")", ";", "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", "=", "getTargetMachine", "(", ")", ".", "getSubtargetImpl", "(", ")", "->", "getRegisterInfo", "(", ")", ";", "Mask", "=", "TRI", "->", "getCallPreservedMask", "(", "CallConv", ")", ";", "assert", "(", "Mask", "&&", "", ")", ";", "Ops", ".", "push_back", "(", "DAG", ".", "getRegisterMask", "(", "Mask", ")", ")", ";", "if", "(", "InFlag", ".", "getNode", "(", ")", ")", "{", "Ops", ".", "push_back", "(", "InFlag", ")", ";", "}", "SDVTList", "NodeTys", "=", "DAG", ".", "getVTList", "(", "", ",", "", ")", ";", "Chain", "=", "DAG", ".", "getNode", "(", "", ",", "dl", ",", "NodeTys", ",", "Ops", ")", ";", "InFlag", "=", "Chain", ".", "getValue", "(", "", ")", ";", "Chain", "=", "DAG", ".", "getCALLSEQ_END", "(", "Chain", ",", "DAG", ".", "getIntPtrConstant", "(", "NumBytes", ",", "true", ")", ",", "DAG", ".", "getIntPtrConstant", "(", "", ",", "true", ")", ",", "InFlag", ",", "dl", ")", ";", "if", "(", "!", "Ins", ".", "empty", "(", ")", ")", "{", "InFlag", "=", "Chain", ".", "getValue", "(", "", ")", ";", "}", "return", "LowerCallResult", "(", "Chain", ",", "InFlag", ",", "CallConv", ",", "isVarArg", ",", "Ins", ",", "dl", ",", "DAG", ",", "InVals", ")", ";"], "ground_truth": ["}"], "File": "LEGISelLowering2", "Func": "LowerCall", "Target": "LEG", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 116997, "Length": 367, "Cover_Rate": 0.497289972899729} {"Template_token": ["", "SDValue", "TargetLowering", "::", "LowerFormalArguments", "(", "SDValue", "Chain", ",", "CallingConv", "::", "ID", "CallConv", ",", "bool", "isVarArg", ",", "const", "SmallVectorImpl", "<", "", ">", "&", "Ins", ",", "SDLoc", "dl", ",", "SelectionDAG", "&", "DAG", ",", "SmallVectorImpl", "<", "SDValue", ">", "&", "InVals", ")", "const", "{", "MachineFunction", "&", "MF", "=", "DAG", ".", "getMachineFunction", "(", ")", ";", "MachineRegisterInfo", "&", "RegInfo", "=", "MF", ".", "getRegInfo", "(", ")", ";", "assert", "(", "!", "isVarArg", "&&", "", ")", ";", "SmallVector", "<", "CCValAssign", ",", "", ">", "ArgLocs", ";", "CCState", "CCInfo", "(", "CallConv", ",", "isVarArg", ",", "DAG", ".", "getMachineFunction", "(", ")", ",", "ArgLocs", ",", "*", "DAG", ".", "getContext", "(", ")", ")", ";", "CCInfo", ".", "AnalyzeFormalArguments", "(", "Ins", ",", "CC_", ")", ";", "for", "(", "auto", "&", "VA", ":", "ArgLocs", ")", "{", "if", "(", "VA", ".", "isRegLoc", "(", ")", ")", "{", "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", ")", ";", "SDValue", "FIPtr", "=", "DAG", ".", "getFrameIndex", "(", "FI", ",", "getPointerTy", "(", ")", ")", ";", "assert", "(", "VA", ".", "getValVT", "(", ")", "==", "", "&&", "", ")", ";", "SDValue", "Load", "=", "DAG", ".", "getLoad", "(", "VA", ".", "getValVT", "(", ")", ",", "dl", ",", "Chain", ",", "FIPtr", ",", "MachinePointerInfo", "(", ")", ",", "false", ",", "false", ",", "false", ",", "", ")", ";", "InVals", ".", "push_back", "(", "Load", ")", ";"], "ground_truth": ["}"], "File": "LEGISelLowering2", "Func": "LowerFormalArguments", "Target": "LEG", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 116998, "Length": 308, "Cover_Rate": 0.9625} {"Template_token": ["", "CCInfo", ".", "AnalyzeFormalArguments", "(", "Ins", ",", "CC_", ")", ";", "for", "(", "auto", "&", "VA", ":", "ArgLocs", ")", "{", "if", "(", "VA", ".", "isRegLoc", "(", ")", ")", "{", "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", ")", ";"], "ground_truth": ["continue", ";"], "File": "LEGISelLowering2", "Func": "LowerFormalArguments", "Target": "LEG", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 116999, "Length": 101, "Cover_Rate": 0.315625} {"Template_token": ["", "SmallVector", "<", "CCValAssign", ",", "", ">", "RVLocs", ";", "CCState", "CCInfo", "(", "CallConv", ",", "isVarArg", ",", "MF", ",", "RVLocs", ",", "Context", ")", ";"], "ground_truth": ["if", "(", "!", "CCInfo", ".", "CheckReturn", "(", "Outs", ",", "RetCC_", ")", ")", "{"], "File": "LEGISelLowering", "Func": "CanLowerReturn", "Target": "LEG", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 117000, "Length": 35, "Cover_Rate": 0.3763440860215054} {"Template_token": ["", "default", ":", "return", "NULL", ";", "case", "", ":", "return", "", ";", "case", "", ":", "return", "", ";", "case", "", ":", "return", "", ";", "case", "", ":", "return", "", ";", "}"], "ground_truth": ["}"], "File": "LEGISelLowering", "Func": "getTargetNodeName", "Target": "LEG", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 117001, "Length": 31, "Cover_Rate": 0.5535714285714286} {"Template_token": ["", "return", "NULL", ";", "case", "", ":", "return", "", ";", "case", "", ":", "return", "", ";"], "ground_truth": ["case", "", ":", "return", "", ";"], "File": "LEGISelLowering", "Func": "getTargetNodeName", "Target": "LEG", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 117002, "Length": 21, "Cover_Rate": 0.375} {"Template_token": ["", "computeRegisterProperties", "(", "Subtarget", ".", "getRegisterInfo", "(", ")", ")", ";", "setStackPointerRegisterToSaveRestore", "(", "", ")", ";", "setSchedulingPreference", "(", "Sched", "::", "Source", ")", ";"], "ground_truth": ["setOperationAction", "(", "", ",", "", ",", "Custom", ")", ";"], "File": "LEGISelLowering", "Func": "LEGTargetLowering", "Target": "LEG", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 117003, "Length": 30, "Cover_Rate": 0.410958904109589} {"Template_token": ["", "computeRegisterProperties", "(", "Subtarget", ".", "getRegisterInfo", "(", ")", ")", ";", "setStackPointerRegisterToSaveRestore", "(", "", ")", ";", "setSchedulingPreference", "(", "Sched", "::", "Source", ")", ";", "setOperationAction", "(", "", ",", "", ",", "Custom", ")", ";"], "ground_truth": ["}"], "File": "LEGISelLowering", "Func": "LEGTargetLowering", "Target": "LEG", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 117004, "Length": 31, "Cover_Rate": 0.4246575342465753} {"Template_token": ["", "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": "LEGISelLowering", "Func": "LowerCallResult", "Target": "LEG", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 117006, "Length": 64, "Cover_Rate": 0.4025157232704403} {"Template_token": ["", "GlobalAddressSDNode", "*", "GlobalAddr", "=", "cast", "<", "GlobalAddressSDNode", ">", "(", "Op", ".", "getNode", "(", ")", ")", ";"], "ground_truth": ["SDValue", "TargetAddr", "=", "DAG", ".", "getTargetGlobalAddress", "(", "GlobalAddr", "->", "getGlobal", "(", ")", ",", "Op", ",", "", ")", ";"], "File": "LEGISelLowering", "Func": "LowerGlobalAddress", "Target": "LEG", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 117007, "Length": 34, "Cover_Rate": 0.4473684210526316} {"Template_token": ["", "default", ":", "llvm_unreachable", "(", "", ")", ";", "case", "", ":", "return", "LowerGlobalAddress", "(", "Op", ",", "DAG", ")", ";", "}"], "ground_truth": ["}"], "File": "LEGISelLowering", "Func": "LowerOperation", "Target": "LEG", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 117008, "Length": 20, "Cover_Rate": 0.4444444444444444} {"Template_token": ["", "SDValue", "TargetLowering", "::", "LowerReturn", "(", "SDValue", "Chain", ",", "CallingConv", "::", "ID", "CallConv", ",", "bool", "isVarArg", ",", "const", "SmallVectorImpl", "<", "", ">", "&", "Outs", ",", "const", "SmallVectorImpl", "<", "SDValue", ">", "&", "OutVals", ",", "const", "SDLoc", "&", "dl", ",", "SelectionDAG", "&", "DAG", ")", "const", "{", "if", "(", "isVarArg", ")", "{", "report_fatal_error", "(", "", ")", ";", "}", "SmallVector", "<", "CCValAssign", ",", "", ">", "RVLocs", ";", "CCState", "CCInfo", "(", "CallConv", ",", "isVarArg", ",", "DAG", ".", "getMachineFunction", "(", ")", ",", "RVLocs", ",", "*", "DAG", ".", "getContext", "(", ")", ")", ";", "CCInfo", ".", "AnalyzeReturn", "(", "Outs", ",", "RetCC_", ")", ";", "SDValue", "Flag", ";", "SmallVector", "<", "SDValue", ",", "", ">", "RetOps", "(", "", ",", "Chain", ")", ";"], "ground_truth": ["for", "(", "unsigned", "i", "=", "", ",", "e", "=", "RVLocs", ".", "size", "(", ")", ";", "i", "<", "e", ";", "++", "i", ")", "{"], "File": "LEGISelLowering", "Func": "LowerReturn", "Target": "LEG", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 117009, "Length": 133, "Cover_Rate": 0.5236220472440944} {"Template_token": ["", "report_fatal_error", "(", "", ")", ";", "}", "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", "(", ")", ")", ")", ";", "}"], "ground_truth": ["RetOps", "[", "", "]", "=", "Chain", ";"], "File": "LEGISelLowering", "Func": "LowerReturn", "Target": "LEG", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 117010, "Length": 168, "Cover_Rate": 0.6614173228346457} {"Template_token": ["", "FunctionInfo", "(", ")", "{"], "ground_truth": ["}"], "File": "LEGMachineFunctionInfo", "Func": "LEGFunctionInfo", "Target": "LEG", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 117011, "Length": 5, "Cover_Rate": 1.0} {"Template_token": ["", "FunctionInfo", "(", ")", "{"], "ground_truth": ["}"], "File": "LEGMachineFunctionInfo", "Func": "LEGFunctionInfo", "Target": "LEG", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 117012, "Length": 5, "Cover_Rate": 1.0} {"Template_token": ["", "~", "FunctionInfo", "(", ")", "{"], "ground_truth": ["}"], "File": "LEGMachineFunctionInfo", "Func": "~LEGFunctionInfo", "Target": "LEG", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 117013, "Length": 6, "Cover_Rate": 1.0} {"Template_token": ["", "~", "FunctionInfo", "(", ")", "{"], "ground_truth": ["}"], "File": "LEGMachineFunctionInfo", "Func": "~LEGFunctionInfo", "Target": "LEG", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 117014, "Length": 6, "Cover_Rate": 1.0} {"Template_token": ["", "Data64bitsDirective", "=", "", ";", "ZeroDirective", "=", "", ";", "CommentString", "=", "", ";", "AscizDirective", "=", "", ";", "HiddenVisibilityAttr", "=", "MCSA_Invalid", ";"], "ground_truth": ["HiddenDeclarationVisibilityAttr", "=", "MCSA_Invalid", ";"], "File": "LEGMCAsmInfo1", "Func": "LEGMCAsmInfo", "Target": "LEG", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 117015, "Length": 24, "Cover_Rate": 0.4897959183673469} {"Template_token": ["", "AscizDirective", "=", "", ";", "HiddenVisibilityAttr", "=", "MCSA_Invalid", ";", "HiddenDeclarationVisibilityAttr", "=", "MCSA_Invalid", ";"], "ground_truth": ["ProtectedVisibilityAttr", "=", "MCSA_Invalid", ";"], "File": "LEGMCAsmInfo1", "Func": "LEGMCAsmInfo", "Target": "LEG", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 117016, "Length": 16, "Cover_Rate": 0.32653061224489793} {"Template_token": ["", "void", "MCAsmInfo", "::", "anchor", "(", ")", "{"], "ground_truth": ["}"], "File": "LEGMCAsmInfo", "Func": "anchor", "Target": "LEG", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 117017, "Length": 8, "Cover_Rate": 1.0} {"Template_token": ["", "void", "MCAsmInfo", "::", "anchor", "(", ")", "{"], "ground_truth": ["}"], "File": "LEGMCAsmInfo", "Func": "anchor", "Target": "LEG", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 117018, "Length": 8, "Cover_Rate": 1.0} {"Template_token": ["", "SupportsDebugInformation", "=", "true", ";", "Data16bitsDirective", "=", "", ";", "Data32bitsDirective", "=", "", ";", "Data64bitsDirective", "=", "", ";", "ZeroDirective", "=", "", ";", "CommentString", "=", "", ";"], "ground_truth": ["AscizDirective", "=", "", ";"], "File": "LEGMCAsmInfo", "Func": "LEGMCAsmInfo", "Target": "LEG", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 117019, "Length": 28, "Cover_Rate": 0.5490196078431373} {"Template_token": ["", "ZeroDirective", "=", "", ";", "CommentString", "=", "", ";", "AscizDirective", "=", "", ";", "HiddenVisibilityAttr", "=", "MCSA_Invalid", ";", "HiddenDeclarationVisibilityAttr", "=", "MCSA_Invalid", ";", "ProtectedVisibilityAttr", "=", "MCSA_Invalid", ";"], "ground_truth": ["}"], "File": "LEGMCAsmInfo", "Func": "LEGMCAsmInfo", "Target": "LEG", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 117020, "Length": 25, "Cover_Rate": 0.49019607843137253} {"Template_token": ["", "MCCodeEmitter", "*", "llvm", "::", "createMCCodeEmitter", "(", "const", "MCInstrInfo", "&", "MCII", ",", "const", "MCRegisterInfo", "&", "MRI", ",", "const", "MCSubtargetInfo", "&", "STI", ",", "MCContext", "&", "Ctx", ")", "{"], "ground_truth": ["return", "new", "MCCodeEmitter", "(", "MCII", ",", "Ctx", ")", ";"], "File": "LEGMCCodeEmitter1", "Func": "createLEGMCCodeEmitter", "Target": "LEG", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 117022, "Length": 35, "Cover_Rate": 0.9722222222222222} {"Template_token": ["", "llvm_unreachable", "(", "", ")", ";", "}", "const", "uint32_t", "Binary", "=", "getBinaryCodeForInstr", "(", "MI", ",", "Fixups", ",", "STI", ")", ";"], "ground_truth": ["EmitConstant", "(", "Binary", ",", "Desc", ".", "getSize", "(", ")", ",", "OS", ")", ";"], "File": "LEGMCCodeEmitter1", "Func": "EncodeInstruction", "Target": "LEG", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 117023, "Length": 32, "Cover_Rate": 0.3516483516483517} {"Template_token": ["", "unsigned", "MCCodeEmitter", "::", "getMachineOpValue", "(", "const", "MCInst", "&", "MI", ",", "const", "MCOperand", "&", "MO", ",", "SmallVectorImpl", "<", "MCFixup", ">", "&", "Fixups", ",", "const", "MCSubtargetInfo", "&", "STI", ")", "const", "{", "if", "(", "MO", ".", "isReg", "(", ")", ")", "{", "return", "CTX", ".", "getRegisterInfo", "(", ")", "->", "getEncodingValue", "(", "MO", ".", "getReg", "(", ")", ")", ";", "}", "if", "(", "MO", ".", "isImm", "(", ")", ")", "{", "return", "static_cast", "<", "unsigned", ">", "(", "MO", ".", "getImm", "(", ")", ")", ";", "}", "assert", "(", "MO", ".", "isExpr", "(", ")", "&&", "", ")", ";"], "ground_truth": ["const", "MCExpr", "*", "Expr", "=", "MO", ".", "getExpr", "(", ")", ";"], "File": "LEGMCCodeEmitter1", "Func": "getMachineOpValue", "Target": "LEG", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 117025, "Length": 100, "Cover_Rate": 0.4219409282700422} {"Template_token": ["", "MCCodeEmitter", "*", "llvm", "::", "createMCCodeEmitter", "(", "const", "MCInstrInfo", "&", "MCII", ",", "const", "MCRegisterInfo", "&", "MRI", ",", "MCContext", "&", "Ctx", ")", "{"], "ground_truth": ["return", "new", "MCCodeEmitter", "(", "MCII", ",", "Ctx", ")", ";"], "File": "LEGMCCodeEmitter", "Func": "createLEGMCCodeEmitter", "Target": "LEG", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 117026, "Length": 30, "Cover_Rate": 0.967741935483871} {"Template_token": ["", "OS", "<<", "(", "char", ")", "C", ";"], "ground_truth": ["}"], "File": "LEGMCCodeEmitter", "Func": "EmitByte", "Target": "LEG", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 117027, "Length": 8, "Cover_Rate": 0.38095238095238093} {"Template_token": ["", "EmitByte", "(", "Val", "&", "", ",", "OS", ")", ";", "Val", ">>=", "", ";"], "ground_truth": ["}"], "File": "LEGMCCodeEmitter", "Func": "EmitConstant", "Target": "LEG", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 117029, "Length": 14, "Cover_Rate": 0.3111111111111111} {"Template_token": ["", "const", "MCExpr", "*", "Expr", "=", "MO", ".", "getExpr", "(", ")", ";", "MCExpr", "::", "ExprKind", "Kind", "=", "Expr", "->", "getKind", "(", ")", ";", "if", "(", "Kind", "==", "MCExpr", "::", "Binary", ")", "{", "Expr", "=", "static_cast", "<", "const", "MCBinaryExpr", "*", ">", "(", "Expr", ")", "->", "getLHS", "(", ")", ";", "Kind", "=", "Expr", "->", "getKind", "(", ")", ";", "}", "assert", "(", "Kind", "==", "MCExpr", "::", "SymbolRef", ")", ";", "unsigned", "FixupKind", ";", "switch", "(", "cast", "<", "MCSymbolRefExpr", ">", "(", "Expr", ")", "->", "getKind", "(", ")", ")", "{", "default", ":"], "ground_truth": ["llvm_unreachable", "(", "", ")", ";"], "File": "LEGMCCodeEmitter", "Func": "getMachineOpValue", "Target": "LEG", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 117031, "Length": 90, "Cover_Rate": 0.379746835443038} {"Template_token": ["", "}", "if", "(", "MO", ".", "isImm", "(", ")", ")", "{", "return", "static_cast", "<", "unsigned", ">", "(", "MO", ".", "getImm", "(", ")", ")", ";", "}", "assert", "(", "MO", ".", "isExpr", "(", ")", "&&", "", ")", ";", "const", "MCExpr", "*", "Expr", "=", "MO", ".", "getExpr", "(", ")", ";", "MCExpr", "::", "ExprKind", "Kind", "=", "Expr", "->", "getKind", "(", ")", ";", "if", "(", "Kind", "==", "MCExpr", "::", "Binary", ")", "{", "Expr", "=", "static_cast", "<", "const", "MCBinaryExpr", "*", ">", "(", "Expr", ")", "->", "getLHS", "(", ")", ";", "Kind", "=", "Expr", "->", "getKind", "(", ")", ";", "}", "assert", "(", "Kind", "==", "MCExpr", "::", "SymbolRef", ")", ";", "unsigned", "FixupKind", ";", "switch", "(", "cast", "<", "MCSymbolRefExpr", ">", "(", "Expr", ")", "->", "getKind", "(", ")", ")", "{", "default", ":", "llvm_unreachable", "(", "", ")", ";"], "ground_truth": ["case", "MCSymbolRefExpr", "::", "VK__LO", ":", "{"], "File": "LEGMCCodeEmitter", "Func": "getMachineOpValue", "Target": "LEG", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 117032, "Length": 131, "Cover_Rate": 0.5527426160337553} {"Template_token": ["", "unsigned", "MCCodeEmitter", "::", "getMemSrcValue", "(", "const", "MCInst", "&", "MI", ",", "unsigned", "OpIdx", ",", "SmallVectorImpl", "<", "MCFixup", ">", "&", "Fixups", ",", "const", "MCSubtargetInfo", "&", "STI", ")", "const", "{"], "ground_truth": ["unsigned", "Bits", "=", "", ";"], "File": "LEGMCCodeEmitter", "Func": "getMemSrcValue", "Target": "LEG", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 117033, "Length": 32, "Cover_Rate": 0.3106796116504854} {"Template_token": ["", "MCCodeEmitter", "(", "const", "MCInstrInfo", "&", "mcii", ",", "MCContext", "&", "ctx", ")", ":", "MCII", "(", "mcii", ")", ",", "CTX", "(", "ctx", ")", "{"], "ground_truth": ["}"], "File": "LEGMCCodeEmitter", "Func": "LEGMCCodeEmitter", "Target": "LEG", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 117034, "Length": 23, "Cover_Rate": 1.0} {"Template_token": ["", "MCCodeEmitter", "(", "const", "MCInstrInfo", "&", "mcii", ",", "MCContext", "&", "ctx", ")", ":", "MCII", "(", "mcii", ")", ",", "CTX", "(", "ctx", ")", "{"], "ground_truth": ["}"], "File": "LEGMCCodeEmitter", "Func": "LEGMCCodeEmitter", "Target": "LEG", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 117035, "Length": 23, "Cover_Rate": 1.0} {"Template_token": ["", "~", "MCCodeEmitter", "(", ")", "{"], "ground_truth": ["}"], "File": "LEGMCCodeEmitter", "Func": "~LEGMCCodeEmitter", "Target": "LEG", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 117036, "Length": 6, "Cover_Rate": 1.0} {"Template_token": ["", "~", "MCCodeEmitter", "(", ")", "{"], "ground_truth": ["}"], "File": "LEGMCCodeEmitter", "Func": "~LEGMCCodeEmitter", "Target": "LEG", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 117037, "Length": 6, "Cover_Rate": 1.0} {"Template_token": ["", "MCOperand", "MCInstLower", "::", "LowerOperand", "(", "const", "MachineOperand", "&", "MO", ",", "unsigned", "offset", ")", "const", "{", "MachineOperandType", "MOTy", "=", "MO", ".", "getType", "(", ")", ";", "switch", "(", "MOTy", ")", "{", "default", ":", "llvm_unreachable", "(", "", ")", ";", "case", "MachineOperand", "::", "MO_Register", ":", "if", "(", "MO", ".", "isImplicit", "(", ")", ")", "{", "break", ";", "}", "return", "MCOperand", "::", "CreateReg", "(", "MO", ".", "getReg", "(", ")", ")", ";", "case", "MachineOperand", "::", "MO_Immediate", ":"], "ground_truth": ["return", "MCOperand", "::", "CreateImm", "(", "MO", ".", "getImm", "(", ")", "+", "offset", ")", ";"], "File": "LEGMCInstLower1", "Func": "LowerOperand", "Target": "LEG", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 117038, "Length": 84, "Cover_Rate": 0.6086956521739131} {"Template_token": ["", "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": "LEGMCInstLower1", "Func": "LowerOperand", "Target": "LEG", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 117039, "Length": 44, "Cover_Rate": 0.3188405797101449} {"Template_token": ["", "MCInstLower", "::", "MCInstLower", "(", "class", "AsmPrinter", "&", "asmprinter", ")", ":", "Printer", "(", "asmprinter", ")", "{"], "ground_truth": ["}"], "File": "LEGMCInstLower", "Func": "LEGMCInstLower", "Target": "LEG", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 117040, "Length": 16, "Cover_Rate": 1.0} {"Template_token": ["", "MCInstLower", "::", "MCInstLower", "(", "class", "AsmPrinter", "&", "asmprinter", ")", ":", "Printer", "(", "asmprinter", ")", "{"], "ground_truth": ["}"], "File": "LEGMCInstLower", "Func": "LEGMCInstLower", "Target": "LEG", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 117041, "Length": 16, "Cover_Rate": 1.0} {"Template_token": ["", "for", "(", "auto", "&", "MO", ":", "MI", "->", "operands", "(", ")", ")", "{", "const", "MCOperand", "MCOp", "=", "LowerOperand", "(", "MO", ")", ";"], "ground_truth": ["if", "(", "MCOp", ".", "isValid", "(", ")", ")", "{"], "File": "LEGMCInstLower", "Func": "Lower", "Target": "LEG", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 117042, "Length": 31, "Cover_Rate": 0.45588235294117646} {"Template_token": ["", "OutMI", ".", "setOpcode", "(", "MI", "->", "getOpcode", "(", ")", ")", ";", "for", "(", "auto", "&", "MO", ":", "MI", "->", "operands", "(", ")", ")", "{", "const", "MCOperand", "MCOp", "=", "LowerOperand", "(", "MO", ")", ";", "if", "(", "MCOp", ".", "isValid", "(", ")", ")", "{", "OutMI", ".", "addOperand", "(", "MCOp", ")", ";", "}", "}"], "ground_truth": ["}"], "File": "LEGMCInstLower", "Func": "Lower", "Target": "LEG", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 117043, "Length": 52, "Cover_Rate": 0.7647058823529411} {"Template_token": ["", "MCOperand", "MCInstLower", "::", "LowerOperand", "(", "const", "MachineOperand", "&", "MO", ",", "unsigned", "offset", ")", "const", "{", "MachineOperandType", "MOTy", "=", "MO", ".", "getType", "(", ")", ";", "switch", "(", "MOTy", ")", "{", "default", ":", "llvm_unreachable", "(", "", ")", ";", "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", "::", "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", ":"], "ground_truth": ["break", ";"], "File": "LEGMCInstLower", "Func": "LowerOperand", "Target": "LEG", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 117044, "Length": 131, "Cover_Rate": 0.9492753623188406} {"Template_token": ["", "break", ";", "case", "MachineOperand", "::", "MO_GlobalAddress", ":", "Symbol", "=", "Printer", ".", "getSymbol", "(", "MO", ".", "getGlobal", "(", ")", ")", ";", "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", "(", ")", "&", "", ";", "MCSymbolRefExpr", "::", "VariantKind", "Kind", "=", "MCSymbolRefExpr", "::", "VK_None", ";", "switch", "(", "Option", ")", "{", "default", ":", "break", ";", "case", "", ":", "Kind", "=", "MCSymbolRefExpr", "::", "VK__LO", ";", "break", ";", "case", "", ":", "Kind", "=", "MCSymbolRefExpr", "::", "VK__HI", ";", "break", ";", "}", "const", "MCSymbolRefExpr", "*", "MCSym", "=", "MCSymbolRefExpr", "::", "create", "(", "Symbol", ",", "Kind", ",", "*", "Ctx", ")", ";", "if", "(", "!", "Offset", ")", "{", "return", "MCOperand", "::", "createExpr", "(", "MCSym", ")", ";", "}", "assert", "(", "Offset", ">", "", ")", ";", "const", "MCConstantExpr", "*", "OffsetExpr", "=", "MCConstantExpr", "::", "create", "(", "Offset", ",", "*", "Ctx", ")", ";"], "ground_truth": ["const", "MCBinaryExpr", "*", "Add", "=", "MCBinaryExpr", "::", "createAdd", "(", "MCSym", ",", "OffsetExpr", ",", "*", "Ctx", ")", ";"], "File": "LEGMCInstLower", "Func": "LowerSymbolOperand", "Target": "LEG", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 117045, "Length": 266, "Cover_Rate": 0.8159509202453987} {"Template_token": ["", "CM", "=", "CodeModel", "::", "Small", ";", "}", "if", "(", "CM", "!=", "CodeModel", "::", "Small", "&&", "CM", "!=", "CodeModel", "::", "Large", ")", "{", "report_fatal_error", "(", "", ")", ";", "}", "X", "->", "initMCCodeGenInfo", "(", "RM", ",", "CM", ",", "OL", ")", ";"], "ground_truth": ["return", "X", ";"], "File": "LEGMCTargetDesc1", "Func": "createLEGMCCodeGenInfo", "Target": "LEG", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 117046, "Length": 42, "Cover_Rate": 0.4077669902912621} {"Template_token": ["", "RM", "=", "Reloc", "::", "Static", ";", "}", "if", "(", "CM", "==", "CodeModel", "::", "Default", ")", "{", "CM", "=", "CodeModel", "::", "Small", ";", "}", "if", "(", "CM", "!=", "CodeModel", "::", "Small", "&&", "CM", "!=", "CodeModel", "::", "Large", ")", "{", "report_fatal_error", "(", "", ")", ";", "}"], "ground_truth": ["X", "->", "initMCCodeGenInfo", "(", "RM", ",", "CM", ",", "OL", ")", ";"], "File": "LEGMCTargetDesc1", "Func": "createLEGMCCodeGenInfo", "Target": "LEG", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 117047, "Length": 55, "Cover_Rate": 0.5339805825242718} {"Template_token": ["", "TargetRegistry", "::", "RegisterMCRegInfo", "(", "TheTarget", ",", "createMCRegisterInfo", ")", ";", "TargetRegistry", "::", "RegisterMCSubtargetInfo", "(", "TheTarget", ",", "createMCSubtargetInfo", ")", ";", "TargetRegistry", "::", "RegisterMCInstPrinter", "(", "TheTarget", ",", "createMCInstPrinter", ")", ";", "TargetRegistry", "::", "RegisterMCAsmBackend", "(", "TheTarget", ",", "createAsmBackend", ")", ";"], "ground_truth": ["TargetRegistry", "::", "RegisterMCCodeEmitter", "(", "TheTarget", ",", "createMCCodeEmitter", ")", ";"], "File": "LEGMCTargetDesc1", "Func": "LLVMInitializeLEGTargetMC", "Target": "LEG", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 117048, "Length": 45, "Cover_Rate": 0.5844155844155844} {"Template_token": ["", "RegisterMCAsmInfoFn", "X", "(", "TheTarget", ",", "createMCAsmInfo", ")", ";", "TargetRegistry", "::", "RegisterMCCodeGenInfo", "(", "TheTarget", ",", "createMCCodeGenInfo", ")", ";", "TargetRegistry", "::", "RegisterMCInstrInfo", "(", "TheTarget", ",", "createMCInstrInfo", ")", ";", "TargetRegistry", "::", "RegisterMCRegInfo", "(", "TheTarget", ",", "createMCRegisterInfo", ")", ";", "TargetRegistry", "::", "RegisterMCSubtargetInfo", "(", "TheTarget", ",", "createMCSubtargetInfo", ")", ";", "TargetRegistry", "::", "RegisterMCInstPrinter", "(", "TheTarget", ",", "createMCInstPrinter", ")", ";", "TargetRegistry", "::", "RegisterMCAsmBackend", "(", "TheTarget", ",", "createAsmBackend", ")", ";"], "ground_truth": ["TargetRegistry", "::", "RegisterMCCodeEmitter", "(", "TheTarget", ",", "createMCCodeEmitter", ")", ";"], "File": "LEGMCTargetDesc1", "Func": "LLVMInitializeLEGTargetMC", "Target": "LEG", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 117049, "Length": 71, "Cover_Rate": 0.922077922077922} {"Template_token": ["", "static", "MCAsmInfo", "*", "createMCAsmInfo", "(", "const", "MCRegisterInfo", "&", "MRI", ",", "StringRef", "TT", ")", "{", "MCAsmInfo", "*", "MAI", "=", "new", "MCAsmInfo", "(", "TT", ")", ";", "return", "MAI", ";"], "ground_truth": ["}"], "File": "LEGMCTargetDesc2", "Func": "createLEGMCAsmInfo", "Target": "LEG", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 117050, "Length": 28, "Cover_Rate": 1.0} {"Template_token": ["", "}", "if", "(", "CM", "!=", "CodeModel", "::", "Small", "&&", "CM", "!=", "CodeModel", "::", "Large", ")", "{", "report_fatal_error", "(", "", ")", ";", "}"], "ground_truth": ["X", "->", "InitMCCodeGenInfo", "(", "RM", ",", "CM", ",", "OL", ")", ";"], "File": "LEGMCTargetDesc2", "Func": "createLEGMCCodeGenInfo", "Target": "LEG", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 117051, "Length": 33, "Cover_Rate": 0.32673267326732675} {"Template_token": ["", "static", "MCInstPrinter", "*", "createMCInstPrinter", "(", "const", "Target", "&", "T", ",", "unsigned", "SyntaxVariant", ",", "const", "MCAsmInfo", "&", "MAI", ",", "const", "MCInstrInfo", "&", "MII", ",", "const", "MCRegisterInfo", "&", "MRI", ",", "const", "MCSubtargetInfo", "&", "STI", ")", "{"], "ground_truth": ["return", "new", "InstPrinter", "(", "MAI", ",", "MII", ",", "MRI", ")", ";"], "File": "LEGMCTargetDesc2", "Func": "createLEGMCInstPrinter", "Target": "LEG", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 117052, "Length": 45, "Cover_Rate": 0.9782608695652174} {"Template_token": ["", "static", "MCInstPrinter", "*", "createMCInstPrinter", "(", "const", "Target", "&", "T", ",", "unsigned", "SyntaxVariant", ",", "const", "MCAsmInfo", "&", "MAI", ",", "const", "MCInstrInfo", "&", "MII", ",", "const", "MCRegisterInfo", "&", "MRI", ",", "const", "MCSubtargetInfo", "&", "STI", ")", "{", "return", "new", "InstPrinter", "(", "MAI", ",", "MII", ",", "MRI", ")", ";"], "ground_truth": ["}"], "File": "LEGMCTargetDesc2", "Func": "createLEGMCInstPrinter", "Target": "LEG", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 117053, "Length": 46, "Cover_Rate": 1.0} {"Template_token": ["", "MCRegisterInfo", "*", "X", "=", "new", "MCRegisterInfo", "(", ")", ";"], "ground_truth": ["InitMCRegisterInfo", "(", "X", ",", "", ")", ";"], "File": "LEGMCTargetDesc2", "Func": "createLEGMCRegisterInfo", "Target": "LEG", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 117054, "Length": 16, "Cover_Rate": 0.5161290322580645} {"Template_token": ["", "InitMCRegisterInfo", "(", "X", ",", "", ")", ";"], "ground_truth": ["return", "X", ";"], "File": "LEGMCTargetDesc2", "Func": "createLEGMCRegisterInfo", "Target": "LEG", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 117055, "Length": 10, "Cover_Rate": 0.3225806451612903} {"Template_token": ["", "static", "MCStreamer", "*", "createMCStreamer", "(", "const", "Target", "&", "T", ",", "StringRef", "TT", ",", "MCContext", "&", "Ctx", ",", "MCAsmBackend", "&", "MAB", ",", "raw_ostream", "&", "OS", ",", "MCCodeEmitter", "*", "Emitter", ",", "const", "MCSubtargetInfo", "&", "STI", ",", "bool", "RelaxAll", ",", "bool", "NoExecStack", ")", "{", "return", "createELFStreamer", "(", "Ctx", ",", "MAB", ",", "OS", ",", "Emitter", ",", "false", ",", "NoExecStack", ")", ";"], "ground_truth": ["}"], "File": "LEGMCTargetDesc2", "Func": "createMCStreamer", "Target": "LEG", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 117060, "Length": 58, "Cover_Rate": 1.0} {"Template_token": ["", "TargetRegistry", "::", "RegisterMCCodeGenInfo", "(", "TheTarget", ",", "createMCCodeGenInfo", ")", ";", "TargetRegistry", "::", "RegisterMCInstrInfo", "(", "TheTarget", ",", "createMCInstrInfo", ")", ";", "TargetRegistry", "::", "RegisterMCRegInfo", "(", "TheTarget", ",", "createMCRegisterInfo", ")", ";", "TargetRegistry", "::", "RegisterMCSubtargetInfo", "(", "TheTarget", ",", "createMCSubtargetInfo", ")", ";", "TargetRegistry", "::", "RegisterMCInstPrinter", "(", "TheTarget", ",", "createMCInstPrinter", ")", ";"], "ground_truth": ["TargetRegistry", "::", "RegisterMCAsmBackend", "(", "TheTarget", ",", "createAsmBackend", ")", ";"], "File": "LEGMCTargetDesc2", "Func": "LLVMInitializeLEGTargetMC", "Target": "LEG", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 117061, "Length": 54, "Cover_Rate": 0.5684210526315789} {"Template_token": ["", "static", "MCAsmInfo", "*", "createMCAsmInfo", "(", "const", "MCRegisterInfo", "&", "MRI", ",", "const", "Triple", "&", "TT", ")", "{", "return", "new", "MCAsmInfo", "(", "TT", ")", ";"], "ground_truth": ["}"], "File": "LEGMCTargetDesc", "Func": "createLEGMCAsmInfo", "Target": "LEG", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 117062, "Length": 24, "Cover_Rate": 1.0} {"Template_token": ["", "return", "new", "MCAsmInfo", "(", "TT", ")", ";"], "ground_truth": ["}"], "File": "LEGMCTargetDesc", "Func": "createLEGMCAsmInfo", "Target": "LEG", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 117063, "Length": 8, "Cover_Rate": 0.3333333333333333} {"Template_token": ["", "static", "MCInstPrinter", "*", "createMCInstPrinter", "(", "const", "Triple", "&", "TT", ",", "unsigned", "SyntaxVariant", ",", "const", "MCAsmInfo", "&", "MAI", ",", "const", "MCInstrInfo", "&", "MII", ",", "const", "MCRegisterInfo", "&", "MRI", ")", "{", "return", "new", "InstPrinter", "(", "MAI", ",", "MII", ",", "MRI", ")", ";"], "ground_truth": ["}"], "File": "LEGMCTargetDesc", "Func": "createLEGMCInstPrinter", "Target": "LEG", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 117064, "Length": 41, "Cover_Rate": 1.0} {"Template_token": ["", "static", "MCInstPrinter", "*", "createMCInstPrinter", "(", "const", "Triple", "&", "TT", ",", "unsigned", "SyntaxVariant", ",", "const", "MCAsmInfo", "&", "MAI", ",", "const", "MCInstrInfo", "&", "MII", ",", "const", "MCRegisterInfo", "&", "MRI", ")", "{", "return", "new", "InstPrinter", "(", "MAI", ",", "MII", ",", "MRI", ")", ";"], "ground_truth": ["}"], "File": "LEGMCTargetDesc", "Func": "createLEGMCInstPrinter", "Target": "LEG", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 117065, "Length": 41, "Cover_Rate": 1.0} {"Template_token": ["", "static", "MCInstrInfo", "*", "createMCInstrInfo", "(", ")", "{", "MCInstrInfo", "*", "X", "=", "new", "MCInstrInfo", "(", ")", ";"], "ground_truth": ["InitMCInstrInfo", "(", "X", ")", ";"], "File": "LEGMCTargetDesc", "Func": "createLEGMCInstrInfo", "Target": "LEG", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 117066, "Length": 21, "Cover_Rate": 0.84} {"Template_token": ["", "static", "MCInstrInfo", "*", "createMCInstrInfo", "(", ")", "{", "MCInstrInfo", "*", "X", "=", "new", "MCInstrInfo", "(", ")", ";"], "ground_truth": ["InitMCInstrInfo", "(", "X", ")", ";"], "File": "LEGMCTargetDesc", "Func": "createLEGMCInstrInfo", "Target": "LEG", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 117067, "Length": 21, "Cover_Rate": 0.84} {"Template_token": ["", "return", "createMCSubtargetInfoImpl", "(", "TT", ",", "CPU", ",", "FS", ")", ";"], "ground_truth": ["}"], "File": "LEGMCTargetDesc", "Func": "createLEGMCSubtargetInfo", "Target": "LEG", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 117069, "Length": 11, "Cover_Rate": 0.39285714285714285} {"Template_token": ["", "return", "createMCSubtargetInfoImpl", "(", "TT", ",", "CPU", ",", "FS", ")", ";"], "ground_truth": ["}"], "File": "LEGMCTargetDesc", "Func": "createLEGMCSubtargetInfo", "Target": "LEG", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 117070, "Length": 11, "Cover_Rate": 0.39285714285714285} {"Template_token": ["", "void", "LLVMInitializeTargetMC", "(", ")", "{", "RegisterMCAsmInfoFn", "X", "(", "TheTarget", ",", "createMCAsmInfo", ")", ";", "TargetRegistry", "::", "RegisterMCInstrInfo", "(", "TheTarget", ",", "createMCInstrInfo", ")", ";", "TargetRegistry", "::", "RegisterMCRegInfo", "(", "TheTarget", ",", "createMCRegisterInfo", ")", ";"], "ground_truth": ["TargetRegistry", "::", "RegisterMCSubtargetInfo", "(", "TheTarget", ",", "createMCSubtargetInfo", ")", ";"], "File": "LEGMCTargetDesc", "Func": "LLVMInitializeLEGTargetMC", "Target": "LEG", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 117071, "Length": 40, "Cover_Rate": 0.5882352941176471} {"Template_token": ["", "MachineOperand", "&", "FIOp", "=", "MI", ".", "getOperand", "(", "FIOperandNum", ")", ";", "unsigned", "FI", "=", "FIOp", ".", "getIndex", "(", ")", ";", "unsigned", "ImmOpIdx", "=", "", ";", "switch", "(", "MI", ".", "getOpcode", "(", ")", ")", "{", "default", ":", "return", ";", "case", "", ":", "case", "", ":", "ImmOpIdx", "=", "FIOperandNum", "+", "", ";", "break", ";", "}", "MachineOperand", "&", "ImmOp", "=", "MI", ".", "getOperand", "(", "ImmOpIdx", ")", ";"], "ground_truth": ["int", "Offset", "=", "MFI", ".", "getObjectOffset", "(", "FI", ")", "+", "MFI", ".", "getStackSize", "(", ")", "+", "ImmOp", ".", "getImm", "(", ")", ";"], "File": "LEGRegisterInfo", "Func": "eliminateFrameIndex", "Target": "LEG", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 117073, "Length": 86, "Cover_Rate": 0.524390243902439} {"Template_token": ["", "const", "uint16_t", "*", "RegisterInfo", "::", "getCalleeSavedRegs", "(", "const", "MachineFunction", "*", "MF", ")", "const", "{", "static", "const", "uint16_t", "CalleeSavedRegs", "[", "]", "=", "{", "", ",", "", ",", "", ",", "", ",", "", ",", "", ",", "", "}", ";"], "ground_truth": ["return", "CalleeSavedRegs", ";"], "File": "LEGRegisterInfo", "Func": "getCalleeSavedRegs", "Target": "LEG", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 117074, "Length": 40, "Cover_Rate": 0.7547169811320755} {"Template_token": ["", "const", "uint32_t", "*", "RegisterInfo", "::", "getCallPreservedMask", "(", "const", "MachineFunction", "&", "MF", ",", "CallingConv", "::", "ID", ")", "const", "{"], "ground_truth": ["return", "CC_Save_RegMask", ";"], "File": "LEGRegisterInfo", "Func": "getCallPreservedMask", "Target": "LEG", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 117075, "Length": 21, "Cover_Rate": 0.9545454545454546} {"Template_token": ["", "unsigned", "RegisterInfo", "::", "getFrameRegister", "(", "const", "MachineFunction", "&", "MF", ")", "const", "{", "return", "", ";"], "ground_truth": ["}"], "File": "LEGRegisterInfo", "Func": "getFrameRegister", "Target": "LEG", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 117077, "Length": 16, "Cover_Rate": 0.8888888888888888} {"Template_token": ["", "unsigned", "RegisterInfo", "::", "getFrameRegister", "(", "const", "MachineFunction", "&", "MF", ")", "const", "{", "return", "", ";"], "ground_truth": ["}"], "File": "LEGRegisterInfo", "Func": "getFrameRegister", "Target": "LEG", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 117078, "Length": 16, "Cover_Rate": 0.8888888888888888} {"Template_token": ["", "Reserved", ".", "set", "(", "", ")", ";"], "ground_truth": ["Reserved", ".", "set", "(", "", ")", ";"], "File": "LEGRegisterInfo", "Func": "getReservedRegs", "Target": "LEG", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 117079, "Length": 14, "Cover_Rate": 0.3333333333333333} {"Template_token": ["", "RegisterInfo", "::", "RegisterInfo", "(", ")", ":", "GenRegisterInfo", "(", "", ")", "{"], "ground_truth": ["}"], "File": "LEGRegisterInfo", "Func": "LEGRegisterInfo", "Target": "LEG", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 117080, "Length": 12, "Cover_Rate": 0.8571428571428571} {"Template_token": ["", "RegisterInfo", "::", "RegisterInfo", "(", ")", ":", "GenRegisterInfo", "(", "", ")", "{"], "ground_truth": ["}"], "File": "LEGRegisterInfo", "Func": "LEGRegisterInfo", "Target": "LEG", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 117081, "Length": 12, "Cover_Rate": 0.8571428571428571} {"Template_token": ["", "bool", "RegisterInfo", "::", "requiresRegisterScavenging", "(", "const", "MachineFunction", "&", "MF", ")", "const", "{"], "ground_truth": ["return", "true", ";"], "File": "LEGRegisterInfo", "Func": "requiresRegisterScavenging", "Target": "LEG", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 117082, "Length": 15, "Cover_Rate": 0.9375} {"Template_token": ["", "bool", "RegisterInfo", "::", "useFPForScavengingIndex", "(", "const", "MachineFunction", "&", "MF", ")", "const", "{", "return", "false", ";"], "ground_truth": ["}"], "File": "LEGRegisterInfo", "Func": "useFPForScavengingIndex", "Target": "LEG", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 117085, "Length": 16, "Cover_Rate": 1.0} {"Template_token": ["", "SelectionDAGInfo", "::", "SelectionDAGInfo", "(", "const", "DataLayout", "&", "DL", ")", ":", "TargetSelectionDAGInfo", "(", "&", "DL", ")", "{"], "ground_truth": ["}"], "File": "LEGSelectionDAGInfo1", "Func": "LEGSelectionDAGInfo", "Target": "LEG", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 117086, "Length": 17, "Cover_Rate": 1.0} {"Template_token": ["", "SelectionDAGInfo", "::", "SelectionDAGInfo", "(", "const", "DataLayout", "&", "DL", ")", ":", "TargetSelectionDAGInfo", "(", "&", "DL", ")", "{"], "ground_truth": ["}"], "File": "LEGSelectionDAGInfo1", "Func": "LEGSelectionDAGInfo", "Target": "LEG", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 117087, "Length": 17, "Cover_Rate": 1.0} {"Template_token": ["", "SelectionDAGInfo", "::", "~", "SelectionDAGInfo", "(", ")", "{"], "ground_truth": ["}"], "File": "LEGSelectionDAGInfo", "Func": "~LEGSelectionDAGInfo", "Target": "LEG", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 117088, "Length": 8, "Cover_Rate": 1.0} {"Template_token": ["", "SelectionDAGInfo", "::", "~", "SelectionDAGInfo", "(", ")", "{"], "ground_truth": ["}"], "File": "LEGSelectionDAGInfo", "Func": "~LEGSelectionDAGInfo", "Target": "LEG", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 117089, "Length": 8, "Cover_Rate": 1.0} {"Template_token": ["", "const", "DataLayout", "*", "getDataLayout", "(", ")", "const", "override", "{"], "ground_truth": ["return", "&", "DL", ";"], "File": "LEGSubtarget1", "Func": "getDataLayout", "Target": "LEG", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 117090, "Length": 13, "Cover_Rate": 0.9285714285714286} {"Template_token": ["", "return", "&", "DL", ";"], "ground_truth": ["}"], "File": "LEGSubtarget1", "Func": "getDataLayout", "Target": "LEG", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 117091, "Length": 5, "Cover_Rate": 0.35714285714285715} {"Template_token": ["", "Subtarget", "::", "Subtarget", "(", "const", "std", "::", "string", "&", "TT", ",", "const", "std", "::", "string", "&", "CPU", ",", "const", "std", "::", "string", "&", "FS", ",", "TargetMachine", "&", "TM", ")", ":", "GenSubtargetInfo", "(", "TT", ",", "CPU", ",", "FS", ")", ",", "DL", "(", "", ")", ",", "InstrInfo", "(", ")", ",", "TLInfo", "(", "TM", ")", ",", "TSInfo", "(", "DL", ")", ",", "FrameLowering", "(", ")", "{"], "ground_truth": ["}"], "File": "LEGSubtarget1", "Func": "LEGSubtarget", "Target": "LEG", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 117092, "Length": 63, "Cover_Rate": 1.0} {"Template_token": ["", "Subtarget", "::", "Subtarget", "(", "const", "std", "::", "string", "&", "TT", ",", "const", "std", "::", "string", "&", "CPU", ",", "const", "std", "::", "string", "&", "FS", ",", "TargetMachine", "&", "TM", ")", ":", "GenSubtargetInfo", "(", "TT", ",", "CPU", ",", "FS", ")", ",", "DL", "(", "", ")", ",", "InstrInfo", "(", ")", ",", "TLInfo", "(", "TM", ")", ",", "TSInfo", "(", "DL", ")", ",", "FrameLowering", "(", ")", "{"], "ground_truth": ["}"], "File": "LEGSubtarget1", "Func": "LEGSubtarget", "Target": "LEG", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 117093, "Length": 63, "Cover_Rate": 1.0} {"Template_token": ["", "void", "Subtarget", "::", "anchor", "(", ")", "{"], "ground_truth": ["}"], "File": "LEGSubtarget", "Func": "anchor", "Target": "LEG", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 117094, "Length": 8, "Cover_Rate": 1.0} {"Template_token": ["", "void", "Subtarget", "::", "anchor", "(", ")", "{"], "ground_truth": ["}"], "File": "LEGSubtarget", "Func": "anchor", "Target": "LEG", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 117095, "Length": 8, "Cover_Rate": 1.0} {"Template_token": ["", "const", "FrameLowering", "*", "getFrameLowering", "(", ")", "const", "override", "{"], "ground_truth": ["return", "&", "FrameLowering", ";"], "File": "LEGSubtarget", "Func": "getFrameLowering", "Target": "LEG", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 117096, "Length": 13, "Cover_Rate": 0.9285714285714286} {"Template_token": ["", "const", "InstrInfo", "*", "getInstrInfo", "(", ")", "const", "override", "{"], "ground_truth": ["return", "&", "InstrInfo", ";"], "File": "LEGSubtarget", "Func": "getInstrInfo", "Target": "LEG", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 117097, "Length": 13, "Cover_Rate": 0.9285714285714286} {"Template_token": ["", "return", "&", "InstrInfo", ".", "getRegisterInfo", "(", ")", ";"], "ground_truth": ["}"], "File": "LEGSubtarget", "Func": "getRegisterInfo", "Target": "LEG", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 117100, "Length": 9, "Cover_Rate": 0.5} {"Template_token": ["", "const", "RegisterInfo", "*", "getRegisterInfo", "(", ")", "const", "override", "{", "return", "&", "InstrInfo", ".", "getRegisterInfo", "(", ")", ";"], "ground_truth": ["}"], "File": "LEGSubtarget", "Func": "getRegisterInfo", "Target": "LEG", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 117101, "Length": 18, "Cover_Rate": 1.0} {"Template_token": ["", "return", "&", "TSInfo", ";"], "ground_truth": ["}"], "File": "LEGSubtarget", "Func": "getSelectionDAGInfo", "Target": "LEG", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 117102, "Length": 5, "Cover_Rate": 0.35714285714285715} {"Template_token": ["", "return", "&", "TSInfo", ";"], "ground_truth": ["}"], "File": "LEGSubtarget", "Func": "getSelectionDAGInfo", "Target": "LEG", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 117103, "Length": 5, "Cover_Rate": 0.35714285714285715} {"Template_token": ["", "const", "TargetLowering", "*", "getTargetLowering", "(", ")", "const", "override", "{", "return", "&", "TLInfo", ";"], "ground_truth": ["}"], "File": "LEGSubtarget", "Func": "getTargetLowering", "Target": "LEG", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 117104, "Length": 14, "Cover_Rate": 1.0} {"Template_token": ["", "const", "TargetLowering", "*", "getTargetLowering", "(", ")", "const", "override", "{", "return", "&", "TLInfo", ";"], "ground_truth": ["}"], "File": "LEGSubtarget", "Func": "getTargetLowering", "Target": "LEG", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 117105, "Length": 14, "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": "LEGSubtarget", "Func": "LEGSubtarget", "Target": "LEG", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 117106, "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": "LEGSubtarget", "Func": "LEGSubtarget", "Target": "LEG", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 117107, "Length": 52, "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": "LEGTargetMachine1", "Func": "LEGTargetMachine", "Target": "LEG", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 117110, "Length": 95, "Cover_Rate": 0.9895833333333334} {"Template_token": ["", "void", "TargetMachine", "::", "addAnalysisPasses", "(", "PassManagerBase", "&", "PM", ")", "{"], "ground_truth": ["}"], "File": "LEGTargetMachine2", "Func": "addAnalysisPasses", "Target": "LEG", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 117111, "Length": 11, "Cover_Rate": 1.0} {"Template_token": ["", "void", "TargetMachine", "::", "addAnalysisPasses", "(", "PassManagerBase", "&", "PM", ")", "{"], "ground_truth": ["}"], "File": "LEGTargetMachine2", "Func": "addAnalysisPasses", "Target": "LEG", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 117112, "Length": 11, "Cover_Rate": 1.0} {"Template_token": ["", "bool", "PassConfig", "::", "addPreEmitPass", "(", ")", "{"], "ground_truth": ["return", "false", ";"], "File": "LEGTargetMachine2", "Func": "addPreEmitPass", "Target": "LEG", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 117113, "Length": 10, "Cover_Rate": 0.9090909090909091} {"Template_token": ["", "bool", "PassConfig", "::", "addPreEmitPass", "(", ")", "{"], "ground_truth": ["return", "false", ";"], "File": "LEGTargetMachine2", "Func": "addPreEmitPass", "Target": "LEG", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 117114, "Length": 10, "Cover_Rate": 0.9090909090909091} {"Template_token": ["", "virtual", "const", "Subtarget", "*", "getSubtargetImpl", "(", ")", "const", "{", "return", "&", "Subtarget", ";"], "ground_truth": ["}"], "File": "LEGTargetMachine2", "Func": "getSubtargetImpl", "Target": "LEG", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 117115, "Length": 14, "Cover_Rate": 1.0} {"Template_token": ["", "return", "&", "Subtarget", ";"], "ground_truth": ["}"], "File": "LEGTargetMachine2", "Func": "getSubtargetImpl", "Target": "LEG", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 117116, "Length": 5, "Cover_Rate": 0.35714285714285715} {"Template_token": ["", "TargetMachine", "::", "TargetMachine", "(", "const", "Target", "&", "T", ",", "StringRef", "TT", ",", "StringRef", "CPU", ",", "StringRef", "FS", ",", "const", "TargetOptions", "&", "Options", ",", "Reloc", "::", "Model", "RM", ",", "CodeModel", "::", "Model", "CM", ",", "CodeGenOpt", "::", "Level", "OL", ")", ":", "LLVMTargetMachine", "(", "T", ",", "TT", ",", "CPU", ",", "FS", ",", "Options", ",", "RM", ",", "CM", ",", "OL", ")", ",", "Subtarget", "(", "TT", ",", "CPU", ",", "FS", ",", "*", "this", ")", "{"], "ground_truth": ["initAsmInfo", "(", ")", ";"], "File": "LEGTargetMachine2", "Func": "LEGTargetMachine", "Target": "LEG", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 117117, "Length": 74, "Cover_Rate": 0.9866666666666667} {"Template_token": ["", "TargetMachine", "::", "TargetMachine", "(", "const", "Target", "&", "T", ",", "StringRef", "TT", ",", "StringRef", "CPU", ",", "StringRef", "FS", ",", "const", "TargetOptions", "&", "Options", ",", "Reloc", "::", "Model", "RM", ",", "CodeModel", "::", "Model", "CM", ",", "CodeGenOpt", "::", "Level", "OL", ")", ":", "LLVMTargetMachine", "(", "T", ",", "TT", ",", "CPU", ",", "FS", ",", "Options", ",", "RM", ",", "CM", ",", "OL", ")", ",", "Subtarget", "(", "TT", ",", "CPU", ",", "FS", ",", "*", "this", ")", "{"], "ground_truth": ["initAsmInfo", "(", ")", ";"], "File": "LEGTargetMachine2", "Func": "LEGTargetMachine", "Target": "LEG", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 117118, "Length": 74, "Cover_Rate": 0.9866666666666667} {"Template_token": ["", "bool", "PassConfig", "::", "addInstSelector", "(", ")", "{"], "ground_truth": ["addPass", "(", "createISelDag", "(", "getTargetMachine", "(", ")", ",", "getOptLevel", "(", ")", ")", ")", ";"], "File": "LEGTargetMachine", "Func": "addInstSelector", "Target": "LEG", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 117119, "Length": 21, "Cover_Rate": 0.84} {"Template_token": ["", "addPass", "(", "createISelDag", "(", "getTargetMachine", "(", ")", ",", "getOptLevel", "(", ")", ")", ")", ";", "return", "false", ";"], "ground_truth": ["}"], "File": "LEGTargetMachine", "Func": "addInstSelector", "Target": "LEG", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 117120, "Length": 18, "Cover_Rate": 0.72} {"Template_token": ["", "void", "PassConfig", "::", "addPreEmitPass", "(", ")", "{"], "ground_truth": ["}"], "File": "LEGTargetMachine", "Func": "addPreEmitPass", "Target": "LEG", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 117121, "Length": 8, "Cover_Rate": 1.0} {"Template_token": ["", "void", "PassConfig", "::", "addPreEmitPass", "(", ")", "{"], "ground_truth": ["}"], "File": "LEGTargetMachine", "Func": "addPreEmitPass", "Target": "LEG", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 117122, "Length": 8, "Cover_Rate": 1.0} {"Template_token": ["", "bool", "PassConfig", "::", "addPreISel", "(", ")", "{"], "ground_truth": ["return", "false", ";"], "File": "LEGTargetMachine", "Func": "addPreISel", "Target": "LEG", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 117123, "Length": 10, "Cover_Rate": 0.9090909090909091} {"Template_token": ["", "return", "false", ";"], "ground_truth": ["}"], "File": "LEGTargetMachine", "Func": "addPreISel", "Target": "LEG", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 117124, "Length": 4, "Cover_Rate": 0.36363636363636365} {"Template_token": ["", "static", "std", "::", "string", "computeDataLayout", "(", "const", "Triple", "&", "TT", ",", "StringRef", "CPU", ",", "const", "TargetOptions", "&", "Options", ")", "{"], "ground_truth": ["return", "", ";"], "File": "LEGTargetMachine", "Func": "computeDataLayout", "Target": "LEG", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 117125, "Length": 23, "Cover_Rate": 0.9583333333333334} {"Template_token": ["", "return", "new", "PassConfig", "(", "this", ",", "PM", ")", ";"], "ground_truth": ["}"], "File": "LEGTargetMachine", "Func": "createPassConfig", "Target": "LEG", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 117127, "Length": 10, "Cover_Rate": 0.47619047619047616} {"Template_token": ["", "static", "Reloc", "::", "Model", "getEffectiveRelocModel", "(", "const", "Triple", "&", "TT", ",", "Optional", "<", "Reloc", "::", "Model", ">", "RM", ")", "{", "if", "(", "!", "RM", ".", "hasValue", "(", ")", ")", "return", "TT", ".", "isOSBinFormatMachO", "(", ")", "?", "Reloc", "::", "PIC_", ":", "Reloc", "::", "Static", ";", "if", "(", "*", "RM", "==", "Reloc", "::", "DynamicNoPIC", "&&", "!", "TT", ".", "isOSDarwin", "(", ")", ")", "return", "Reloc", "::", "Static", ";"], "ground_truth": ["return", "*", "RM", ";"], "File": "LEGTargetMachine", "Func": "getEffectiveRelocModel", "Target": "LEG", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 117128, "Length": 69, "Cover_Rate": 0.9857142857142858} {"Template_token": ["", "if", "(", "*", "RM", "==", "Reloc", "::", "DynamicNoPIC", "&&", "!", "TT", ".", "isOSDarwin", "(", ")", ")", "return", "Reloc", "::", "Static", ";"], "ground_truth": ["return", "*", "RM", ";"], "File": "LEGTargetMachine", "Func": "getEffectiveRelocModel", "Target": "LEG", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 117129, "Length": 25, "Cover_Rate": 0.35714285714285715} {"Template_token": ["", "return", "getTM", "<", "TargetMachine", ">", "(", ")", ";"], "ground_truth": ["}"], "File": "LEGTargetMachine", "Func": "getLEGTargetMachine", "Target": "LEG", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 117130, "Length": 9, "Cover_Rate": 0.5625} {"Template_token": ["", "TargetMachine", "&", "getTargetMachine", "(", ")", "const", "{", "return", "getTM", "<", "TargetMachine", ">", "(", ")", ";"], "ground_truth": ["}"], "File": "LEGTargetMachine", "Func": "getLEGTargetMachine", "Target": "LEG", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 117131, "Length": 16, "Cover_Rate": 1.0} {"Template_token": ["", "return", "TLOF", ".", "get", "(", ")", ";"], "ground_truth": ["}"], "File": "LEGTargetMachine", "Func": "getObjFileLowering", "Target": "LEG", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 117132, "Length": 8, "Cover_Rate": 0.5} {"Template_token": ["", "PassConfig", "(", "TargetMachine", "*", "TM", ",", "PassManagerBase", "&", "PM", ")", ":", "TargetPassConfig", "(", "TM", ",", "PM", ")", "{"], "ground_truth": ["}"], "File": "LEGTargetMachine", "Func": "LEGPassConfig", "Target": "LEG", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 117135, "Length": 19, "Cover_Rate": 1.0} {"Template_token": ["", "PassConfig", "(", "TargetMachine", "*", "TM", ",", "PassManagerBase", "&", "PM", ")", ":", "TargetPassConfig", "(", "TM", ",", "PM", ")", "{"], "ground_truth": ["}"], "File": "LEGTargetMachine", "Func": "LEGPassConfig", "Target": "LEG", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 117136, "Length": 19, "Cover_Rate": 1.0} {"Template_token": ["", "TargetMachine", "::", "TargetMachine", "(", "const", "Target", "&", "T", ",", "const", "Triple", "&", "TT", ",", "StringRef", "CPU", ",", "StringRef", "FS", ",", "const", "TargetOptions", "&", "Options", ",", "Optional", "<", "Reloc", "::", "Model", ">", "RM", ",", "CodeModel", "::", "Model", "CM", ",", "CodeGenOpt", "::", "Level", "OL", ")", ":", "LLVMTargetMachine", "(", "T", ",", "computeDataLayout", "(", "TT", ",", "CPU", ",", "Options", ")", ",", "TT", ",", "CPU", ",", "FS", ",", "Options", ",", "getEffectiveRelocModel", "(", "TT", ",", "RM", ")", ",", "CM", ",", "OL", ")", ",", "Subtarget", "(", "TT", ",", "CPU", ",", "FS", ",", "*", "this", ")", ",", "TLOF", "(", "make_unique", "<", "TargetLoweringObjectFileELF", ">", "(", ")", ")", "{", "initAsmInfo", "(", ")", ";"], "ground_truth": ["}"], "File": "LEGTargetMachine", "Func": "LEGTargetMachine", "Target": "LEG", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 117137, "Length": 104, "Cover_Rate": 1.0}