{"Template_token": ["", "static", "void", "adjustBranch", "(", "unsigned", "Size", ",", "const", "MCFixup", "&", "Fixup", ",", "uint64_t", "&", "Value", ",", "MCContext", "*", "Ctx", "=", "nullptr", ")", "{"], "ground_truth": ["unsigned_width", "(", "Size", "+", "", ",", "Value", ",", "std", "::", "string", "(", "", ")", ",", "Fixup", ",", "Ctx", ")", ";"], "File": "MCS51AsmBackend", "Func": "adjustBranch", "Target": "MCS51", "Target_Clf": "MPU", "Compiler_Type": "LLVM", "Idx": 119313, "Length": 43, "Cover_Rate": 0.8113207547169812} {"Template_token": ["", "static", "void", "adjustBranch", "(", "unsigned", "Size", ",", "const", "MCFixup", "&", "Fixup", ",", "uint64_t", "&", "Value", ",", "MCContext", "*", "Ctx", "=", "nullptr", ")", "{", "unsigned_width", "(", "Size", "+", "", ",", "Value", ",", "std", "::", "string", "(", "", ")", ",", "Fixup", ",", "Ctx", ")", ";"], "ground_truth": ["", "::", "adjustBranchTarget", "(", "Value", ")", ";"], "File": "MCS51AsmBackend", "Func": "adjustBranch", "Target": "MCS51", "Target_Clf": "MPU", "Compiler_Type": "LLVM", "Idx": 119314, "Length": 50, "Cover_Rate": 0.9433962264150944} {"Template_token": ["", "case", "", ":", "if", "(", "Kind", "==", "", ")", "adjust", "::", "pm", "(", "Value", ")", ";", "adjust", "::", "ldi", "::", "hh8", "(", "Size", ",", "Fixup", ",", "Value", ",", "Ctx", ")", ";", "break", ";", "case", "", ":", "adjust", "::", "ldi", "::", "ms8", "(", "Size", ",", "Fixup", ",", "Value", ",", "Ctx", ")", ";", "break", ";", "case", "", ":", "case", "", ":", "if", "(", "Kind", "==", "", ")", "adjust", "::", "pm", "(", "Value", ")", ";", "adjust", "::", "ldi", "::", "neg", "(", "Value", ")", ";", "adjust", "::", "ldi", "::", "lo8", "(", "Size", ",", "Fixup", ",", "Value", ",", "Ctx", ")", ";", "break", ";", "case", "", ":", "case", "", ":", "if", "(", "Kind", "==", "", ")", "adjust", "::", "pm", "(", "Value", ")", ";", "adjust", "::", "ldi", "::", "neg", "(", "Value", ")", ";", "adjust", "::", "ldi", "::", "hi8", "(", "Size", ",", "Fixup", ",", "Value", ",", "Ctx", ")", ";", "break", ";", "case", "", ":", "case", "", ":", "if", "(", "Kind", "==", "", ")", "adjust", "::", "pm", "(", "Value", ")", ";", "adjust", "::", "ldi", "::", "neg", "(", "Value", ")", ";", "adjust", "::", "ldi", "::", "hh8", "(", "Size", ",", "Fixup", ",", "Value", ",", "Ctx", ")", ";", "break", ";", "case", "", ":", "adjust", "::", "ldi", "::", "neg", "(", "Value", ")", ";", "adjust", "::", "ldi", "::", "ms8", "(", "Size", ",", "Fixup", ",", "Value", ",", "Ctx", ")", ";", "break", ";", "case", "", ":", "adjust", "::", "unsigned_width", "(", "", ",", "Value", ",", "std", "::", "string", "(", "", ")", ",", "Fixup", ",", "Ctx", ")", ";", "Value", "&=", "", ";", "break", ";", "case", "", ":", "Value", ">>=", "", ";", "adjust", "::", "unsigned_width", "(", "", ",", "Value", ",", "std", "::", "string", "(", "", ")", ",", "Fixup", ",", "Ctx", ")", ";", "Value", "&=", "", ";", "break", ";", "case", "", ":", "adjust", "::", "fixup_6", "(", "Fixup", ",", "Value", ",", "Ctx", ")", ";", "break", ";", "case", "", ":", "adjust", "::", "fixup_6_adiw", "(", "Fixup", ",", "Value", ",", "Ctx", ")", ";", "break", ";", "case", "", ":", "adjust", "::", "fixup_port5", "(", "Fixup", ",", "Value", ",", "Ctx", ")", ";", "break", ";", "case", "", ":", "adjust", "::", "fixup_port6", "(", "Fixup", ",", "Value", ",", "Ctx", ")", ";", "break", ";", "case", "FK_Data_1", ":", "case", "FK_Data_2", ":"], "ground_truth": ["case", "FK_Data_4", ":"], "File": "MCS51AsmBackend", "Func": "adjustFixupValue", "Target": "MCS51", "Target_Clf": "MPU", "Compiler_Type": "LLVM", "Idx": 119315, "Length": 352, "Cover_Rate": 0.5269461077844312} {"Template_token": ["", "break", ";", "case", "", ":", "adjust", "::", "ldi", "::", "lo8", "(", "Size", ",", "Fixup", ",", "Value", ",", "Ctx", ")", ";", "break", ";", "case", "", ":", "case", "", ":", "adjust", "::", "pm", "(", "Value", ")", ";", "adjust", "::", "ldi", "::", "lo8", "(", "Size", ",", "Fixup", ",", "Value", ",", "Ctx", ")", ";", "break", ";", "case", "", ":", "adjust", "::", "ldi", "::", "hi8", "(", "Size", ",", "Fixup", ",", "Value", ",", "Ctx", ")", ";", "break", ";", "case", "", ":", "case", "", ":", "adjust", "::", "pm", "(", "Value", ")", ";", "adjust", "::", "ldi", "::", "hi8", "(", "Size", ",", "Fixup", ",", "Value", ",", "Ctx", ")", ";", "break", ";", "case", "", ":", "case", "", ":", "if", "(", "Kind", "==", "", ")", "adjust", "::", "pm", "(", "Value", ")", ";", "adjust", "::", "ldi", "::", "hh8", "(", "Size", ",", "Fixup", ",", "Value", ",", "Ctx", ")", ";", "break", ";", "case", "", ":", "adjust", "::", "ldi", "::", "ms8", "(", "Size", ",", "Fixup", ",", "Value", ",", "Ctx", ")", ";", "break", ";", "case", "", ":", "case", "", ":", "if", "(", "Kind", "==", "", ")", "adjust", "::", "pm", "(", "Value", ")", ";", "adjust", "::", "ldi", "::", "neg", "(", "Value", ")", ";", "adjust", "::", "ldi", "::", "lo8", "(", "Size", ",", "Fixup", ",", "Value", ",", "Ctx", ")", ";", "break", ";", "case", "", ":", "case", "", ":", "if", "(", "Kind", "==", "", ")", "adjust", "::", "pm", "(", "Value", ")", ";", "adjust", "::", "ldi", "::", "neg", "(", "Value", ")", ";", "adjust", "::", "ldi", "::", "hi8", "(", "Size", ",", "Fixup", ",", "Value", ",", "Ctx", ")", ";", "break", ";", "case", "", ":", "case", "", ":", "if", "(", "Kind", "==", "", ")", "adjust", "::", "pm", "(", "Value", ")", ";", "adjust", "::", "ldi", "::", "neg", "(", "Value", ")", ";", "adjust", "::", "ldi", "::", "hh8", "(", "Size", ",", "Fixup", ",", "Value", ",", "Ctx", ")", ";", "break", ";", "case", "", ":", "adjust", "::", "ldi", "::", "neg", "(", "Value", ")", ";", "adjust", "::", "ldi", "::", "ms8", "(", "Size", ",", "Fixup", ",", "Value", ",", "Ctx", ")", ";", "break", ";", "case", "", ":", "adjust", "::", "unsigned_width", "(", "", ",", "Value", ",", "std", "::", "string", "(", "", ")", ",", "Fixup", ",", "Ctx", ")", ";", "Value", "&=", "", ";", "break", ";", "case", "", ":", "Value", ">>=", "", ";", "adjust", "::", "unsigned_width", "(", "", ",", "Value", ",", "std", "::", "string", "(", "", ")", ",", "Fixup", ",", "Ctx", ")", ";", "Value", "&=", "", ";", "break", ";", "case", "", ":", "adjust", "::", "fixup_6", "(", "Fixup", ",", "Value", ",", "Ctx", ")", ";", "break", ";"], "ground_truth": ["case", "", ":"], "File": "MCS51AsmBackend", "Func": "adjustFixupValue", "Target": "MCS51", "Target_Clf": "MPU", "Compiler_Type": "LLVM", "Idx": 119316, "Length": 403, "Cover_Rate": 0.6032934131736527} {"Template_token": ["", "static", "void", "adjustRelativeBranch", "(", "unsigned", "Size", ",", "const", "MCFixup", "&", "Fixup", ",", "uint64_t", "&", "Value", ",", "MCContext", "*", "Ctx", "=", "nullptr", ")", "{", "signed_width", "(", "Size", "+", "", ",", "Value", ",", "std", "::", "string", "(", "", ")", ",", "Fixup", ",", "Ctx", ")", ";"], "ground_truth": ["", "::", "adjustBranchTarget", "(", "Value", ")", ";"], "File": "MCS51AsmBackend", "Func": "adjustRelativeBranch", "Target": "MCS51", "Target_Clf": "MPU", "Compiler_Type": "LLVM", "Idx": 119318, "Length": 50, "Cover_Rate": 0.9433962264150944} {"Template_token": ["", "if", "(", "Value", "==", "", ")", "return", ";", "MCFixupKindInfo", "Info", "=", "getFixupKindInfo", "(", "Fixup", ".", "getKind", "(", ")", ")", ";", "auto", "NumBits", "=", "Info", ".", "TargetSize", "+", "Info", ".", "TargetOffset", ";", "auto", "NumBytes", "=", "(", "NumBits", "/", "", ")", "+", "(", "(", "NumBits", "%", "", ")", "==", "", "?", "", ":", "", ")", ";", "Value", "<<=", "Info", ".", "TargetOffset", ";", "unsigned", "Offset", "=", "Fixup", ".", "getOffset", "(", ")", ";", "assert", "(", "Offset", "+", "NumBytes", "<=", "Data", ".", "size", "(", ")", "&&", "", ")", ";", "for", "(", "unsigned", "i", "=", "", ";", "i", "<", "NumBytes", ";", "++", "i", ")", "{", "uint8_t", "mask", "=", "(", "(", "(", "Value", ">>", "(", "i", "*", "", ")", ")", "&", "", ")", ")", ";", "Data", "[", "Offset", "+", "i", "]", "|=", "mask", ";", "}"], "ground_truth": ["}"], "File": "MCS51AsmBackend", "Func": "applyFixup", "Target": "MCS51", "Target_Clf": "MPU", "Compiler_Type": "LLVM", "Idx": 119319, "Length": 129, "Cover_Rate": 0.7010869565217391} {"Template_token": ["", "std", "::", "unique_ptr", "<", "MCObjectTargetWriter", ">", "AsmBackend", "::", "createObjectTargetWriter", "(", ")", "const", "{"], "ground_truth": ["return", "createELFObjectWriter", "(", "MCELFObjectTargetWriter", "::", "getOSABI", "(", "OSType", ")", ")", ";"], "File": "MCS51AsmBackend", "Func": "createObjectTargetWriter", "Target": "MCS51", "Target_Clf": "MPU", "Compiler_Type": "LLVM", "Idx": 119322, "Length": 24, "Cover_Rate": 0.96} {"Template_token": ["", "static", "void", "fixup", "(", "unsigned", "Size", ",", "const", "MCFixup", "&", "Fixup", ",", "uint64_t", "&", "Value", ",", "MCContext", "*", "Ctx", "=", "nullptr", ")", "{", "uint64_t", "upper", "=", "Value", "&", "", ";", "uint64_t", "lower", "=", "Value", "&", "", ";", "Value", "=", "(", "upper", "<<", "", ")", "|", "lower", ";"], "ground_truth": ["}"], "File": "MCS51AsmBackend", "Func": "fixup", "Target": "MCS51", "Target_Clf": "MPU", "Compiler_Type": "LLVM", "Idx": 119324, "Length": 48, "Cover_Rate": 1.0} {"Template_token": ["", "uint64_t", "lower", "=", "Value", "&", "", ";"], "ground_truth": ["Value", "=", "(", "upper", "<<", "", ")", "|", "lower", ";"], "File": "MCS51AsmBackend", "Func": "fixup", "Target": "MCS51", "Target_Clf": "MPU", "Compiler_Type": "LLVM", "Idx": 119325, "Length": 17, "Cover_Rate": 0.3541666666666667} {"Template_token": ["", "adjustRelativeBranch", "(", "Size", ",", "Fixup", ",", "Value", ",", "Ctx", ")", ";", "Value", "&=", "", ";"], "ground_truth": ["}"], "File": "MCS51AsmBackend", "Func": "fixup_13_pcrel", "Target": "MCS51", "Target_Clf": "MPU", "Compiler_Type": "LLVM", "Idx": 119327, "Length": 16, "Cover_Rate": 0.41025641025641024} {"Template_token": ["", "adjustRelativeBranch", "(", "Size", ",", "Fixup", ",", "Value", ",", "Ctx", ")", ";", "Value", "&=", "", ";"], "ground_truth": ["}"], "File": "MCS51AsmBackend", "Func": "fixup_13_pcrel", "Target": "MCS51", "Target_Clf": "MPU", "Compiler_Type": "LLVM", "Idx": 119328, "Length": 16, "Cover_Rate": 0.41025641025641024} {"Template_token": ["", "unsigned_width", "(", "", ",", "Value", ",", "std", "::", "string", "(", "", ")", ",", "Fixup", ",", "Ctx", ")", ";"], "ground_truth": ["Value", "=", "(", "(", "Value", "&", "", ")", "<<", "", ")", "|", "(", "(", "Value", "&", "", ")", "<<", "", ")", "|", "(", "Value", "&", "", ")", ";"], "File": "MCS51AsmBackend", "Func": "fixup_6", "Target": "MCS51", "Target_Clf": "MPU", "Compiler_Type": "LLVM", "Idx": 119329, "Length": 46, "Cover_Rate": 0.6865671641791045} {"Template_token": ["", "Value", "=", "(", "(", "Value", "&", "", ")", "<<", "", ")", "|", "(", "(", "Value", "&", "", ")", "<<", "", ")", "|", "(", "Value", "&", "", ")", ";"], "ground_truth": ["}"], "File": "MCS51AsmBackend", "Func": "fixup_6", "Target": "MCS51", "Target_Clf": "MPU", "Compiler_Type": "LLVM", "Idx": 119330, "Length": 29, "Cover_Rate": 0.43283582089552236} {"Template_token": ["", "unsigned_width", "(", "", ",", "Value", ",", "std", "::", "string", "(", "", ")", ",", "Fixup", ",", "Ctx", ")", ";", "Value", "=", "(", "(", "Value", "&", "", ")", "<<", "", ")", "|", "(", "Value", "&", "", ")", ";"], "ground_truth": ["}"], "File": "MCS51AsmBackend", "Func": "fixup_6_adiw", "Target": "MCS51", "Target_Clf": "MPU", "Compiler_Type": "LLVM", "Idx": 119331, "Length": 37, "Cover_Rate": 0.6491228070175439} {"Template_token": ["", "static", "void", "fixup_6_adiw", "(", "const", "MCFixup", "&", "Fixup", ",", "uint64_t", "&", "Value", ",", "MCContext", "*", "Ctx", "=", "nullptr", ")", "{", "unsigned_width", "(", "", ",", "Value", ",", "std", "::", "string", "(", "", ")", ",", "Fixup", ",", "Ctx", ")", ";"], "ground_truth": ["Value", "=", "(", "(", "Value", "&", "", ")", "<<", "", ")", "|", "(", "Value", "&", "", ")", ";"], "File": "MCS51AsmBackend", "Func": "fixup_6_adiw", "Target": "MCS51", "Target_Clf": "MPU", "Compiler_Type": "LLVM", "Idx": 119332, "Length": 56, "Cover_Rate": 0.9824561403508771} {"Template_token": ["", "adjustRelativeBranch", "(", "Size", ",", "Fixup", ",", "Value", ",", "Ctx", ")", ";"], "ground_truth": ["Value", "&=", "", ";"], "File": "MCS51AsmBackend", "Func": "fixup_7_pcrel", "Target": "MCS51", "Target_Clf": "MPU", "Compiler_Type": "LLVM", "Idx": 119333, "Length": 15, "Cover_Rate": 0.38461538461538464} {"Template_token": ["", "adjustRelativeBranch", "(", "Size", ",", "Fixup", ",", "Value", ",", "Ctx", ")", ";", "Value", "&=", "", ";"], "ground_truth": ["}"], "File": "MCS51AsmBackend", "Func": "fixup_7_pcrel", "Target": "MCS51", "Target_Clf": "MPU", "Compiler_Type": "LLVM", "Idx": 119334, "Length": 16, "Cover_Rate": 0.41025641025641024} {"Template_token": ["", "static", "void", "fixup_port5", "(", "const", "MCFixup", "&", "Fixup", ",", "uint64_t", "&", "Value", ",", "MCContext", "*", "Ctx", "=", "nullptr", ")", "{", "unsigned_width", "(", "", ",", "Value", ",", "std", "::", "string", "(", "", ")", ",", "Fixup", ",", "Ctx", ")", ";"], "ground_truth": ["Value", "&=", "", ";"], "File": "MCS51AsmBackend", "Func": "fixup_port5", "Target": "MCS51", "Target_Clf": "MPU", "Compiler_Type": "LLVM", "Idx": 119335, "Length": 42, "Cover_Rate": 0.8936170212765957} {"Template_token": ["", "Value", "=", "(", "(", "Value", "&", "", ")", "<<", "", ")", "|", "(", "Value", "&", "", ")", ";"], "ground_truth": ["}"], "File": "MCS51AsmBackend", "Func": "fixup_port6", "Target": "MCS51", "Target_Clf": "MPU", "Compiler_Type": "LLVM", "Idx": 119337, "Length": 19, "Cover_Rate": 0.3333333333333333} {"Template_token": ["", "unsigned", "getNumFixupKinds", "(", ")", "const", "override", "{", "return", "", ";"], "ground_truth": ["}"], "File": "MCS51AsmBackend", "Func": "getNumFixupKinds", "Target": "MCS51", "Target_Clf": "MPU", "Compiler_Type": "LLVM", "Idx": 119339, "Length": 11, "Cover_Rate": 0.8461538461538461} {"Template_token": ["", "return", "", ";"], "ground_truth": ["}"], "File": "MCS51AsmBackend", "Func": "getNumFixupKinds", "Target": "MCS51", "Target_Clf": "MPU", "Compiler_Type": "LLVM", "Idx": 119340, "Length": 4, "Cover_Rate": 0.3076923076923077} {"Template_token": ["", "Value", "=", "(", "Value", "&", "", ")", ">>", "", ";"], "ground_truth": ["ldi", "::", "fixup", "(", "Size", ",", "Fixup", ",", "Value", ",", "Ctx", ")", ";"], "File": "MCS51AsmBackend", "Func": "hh8", "Target": "MCS51", "Target_Clf": "MPU", "Compiler_Type": "LLVM", "Idx": 119341, "Length": 23, "Cover_Rate": 0.48936170212765956} {"Template_token": ["", "Value", "=", "(", "Value", "&", "", ")", ">>", "", ";"], "ground_truth": ["ldi", "::", "fixup", "(", "Size", ",", "Fixup", ",", "Value", ",", "Ctx", ")", ";"], "File": "MCS51AsmBackend", "Func": "hi8", "Target": "MCS51", "Target_Clf": "MPU", "Compiler_Type": "LLVM", "Idx": 119343, "Length": 23, "Cover_Rate": 0.48936170212765956} {"Template_token": ["", "static", "void", "lo8", "(", "unsigned", "Size", ",", "const", "MCFixup", "&", "Fixup", ",", "uint64_t", "&", "Value", ",", "MCContext", "*", "Ctx", "=", "nullptr", ")", "{", "Value", "&=", "", ";", "ldi", "::", "fixup", "(", "Size", ",", "Fixup", ",", "Value", ",", "Ctx", ")", ";"], "ground_truth": ["}"], "File": "MCS51AsmBackend", "Func": "lo8", "Target": "MCS51", "Target_Clf": "MPU", "Compiler_Type": "LLVM", "Idx": 119344, "Length": 41, "Cover_Rate": 1.0} {"Template_token": ["", "static", "void", "lo8", "(", "unsigned", "Size", ",", "const", "MCFixup", "&", "Fixup", ",", "uint64_t", "&", "Value", ",", "MCContext", "*", "Ctx", "=", "nullptr", ")", "{"], "ground_truth": ["Value", "&=", "", ";"], "File": "MCS51AsmBackend", "Func": "lo8", "Target": "MCS51", "Target_Clf": "MPU", "Compiler_Type": "LLVM", "Idx": 119345, "Length": 27, "Cover_Rate": 0.6585365853658537} {"Template_token": ["", "AsmBackend", "(", "Triple", "::", "OSType", "OSType", ")", ":", "MCAsmBackend", "(", "", ")", ",", "OSType", "(", "OSType", ")", "{"], "ground_truth": ["}"], "File": "MCS51AsmBackend", "Func": "MCS51AsmBackend", "Target": "MCS51", "Target_Clf": "MPU", "Compiler_Type": "LLVM", "Idx": 119346, "Length": 19, "Cover_Rate": 0.9047619047619048} {"Template_token": ["", "AsmBackend", "(", "Triple", "::", "OSType", "OSType", ")", ":", "MCAsmBackend", "(", "", ")", ",", "OSType", "(", "OSType", ")", "{"], "ground_truth": ["}"], "File": "MCS51AsmBackend", "Func": "MCS51AsmBackend", "Target": "MCS51", "Target_Clf": "MPU", "Compiler_Type": "LLVM", "Idx": 119347, "Length": 19, "Cover_Rate": 0.9047619047619048} {"Template_token": ["", "Value", "=", "(", "Value", "&", "", ")", ">>", "", ";", "ldi", "::", "fixup", "(", "Size", ",", "Fixup", ",", "Value", ",", "Ctx", ")", ";"], "ground_truth": ["}"], "File": "MCS51AsmBackend", "Func": "ms8", "Target": "MCS51", "Target_Clf": "MPU", "Compiler_Type": "LLVM", "Idx": 119348, "Length": 24, "Cover_Rate": 0.5106382978723404} {"Template_token": ["", "Value", "*=", "-", "", ";"], "ground_truth": ["}"], "File": "MCS51AsmBackend", "Func": "neg", "Target": "MCS51", "Target_Clf": "MPU", "Compiler_Type": "LLVM", "Idx": 119349, "Length": 6, "Cover_Rate": 0.4} {"Template_token": ["", "Value", ">>=", "", ";"], "ground_truth": ["}"], "File": "MCS51AsmBackend", "Func": "pm", "Target": "MCS51", "Target_Clf": "MPU", "Compiler_Type": "LLVM", "Idx": 119351, "Length": 5, "Cover_Rate": 0.35714285714285715} {"Template_token": ["", "switch", "(", "(", "unsigned", ")", "Fixup", ".", "getKind", "(", ")", ")", "{", "default", ":", "return", "false", ";", "case", "", ":", "case", "", ":", "case", "", ":"], "ground_truth": ["return", "true", ";"], "File": "MCS51AsmBackend", "Func": "shouldForceRelocation", "Target": "MCS51", "Target_Clf": "MPU", "Compiler_Type": "LLVM", "Idx": 119353, "Length": 29, "Cover_Rate": 0.5} {"Template_token": ["", "if", "(", "!", "isIntN", "(", "Width", ",", "Value", ")", ")", "{", "std", "::", "string", "Diagnostic", "=", "", "+", "Description", ";", "int64_t", "Min", "=", "minIntN", "(", "Width", ")", ";", "int64_t", "Max", "=", "maxIntN", "(", "Width", ")", ";", "Diagnostic", "+=", "", "+", "std", "::", "to_string", "(", "Min", ")", "+", "", "+", "std", "::", "to_string", "(", "Max", ")", "+", "", ";", "if", "(", "Ctx", ")", "{", "Ctx", "->", "reportFatalError", "(", "Fixup", ".", "getLoc", "(", ")", ",", "Diagnostic", ")", ";", "}", "else", "{", "llvm_unreachable", "(", "Diagnostic", ".", "c_str", "(", ")", ")", ";", "}", "}"], "ground_truth": ["}"], "File": "MCS51AsmBackend", "Func": "signed_width", "Target": "MCS51", "Target_Clf": "MPU", "Compiler_Type": "LLVM", "Idx": 119354, "Length": 91, "Cover_Rate": 0.7711864406779662} {"Template_token": ["", "if", "(", "!", "isIntN", "(", "Width", ",", "Value", ")", ")", "{", "std", "::", "string", "Diagnostic", "=", "", "+", "Description", ";", "int64_t", "Min", "=", "minIntN", "(", "Width", ")", ";", "int64_t", "Max", "=", "maxIntN", "(", "Width", ")", ";", "Diagnostic", "+=", "", "+", "std", "::", "to_string", "(", "Min", ")", "+", "", "+", "std", "::", "to_string", "(", "Max", ")", "+", "", ";", "if", "(", "Ctx", ")", "{", "Ctx", "->", "reportFatalError", "(", "Fixup", ".", "getLoc", "(", ")", ",", "Diagnostic", ")", ";", "}", "else", "{", "llvm_unreachable", "(", "Diagnostic", ".", "c_str", "(", ")", ")", ";", "}", "}"], "ground_truth": ["}"], "File": "MCS51AsmBackend", "Func": "signed_width", "Target": "MCS51", "Target_Clf": "MPU", "Compiler_Type": "LLVM", "Idx": 119355, "Length": 91, "Cover_Rate": 0.7711864406779662} {"Template_token": ["", "Diagnostic", "+=", "", "+", "std", "::", "to_string", "(", "Max", ")", "+", "", ";", "if", "(", "Ctx", ")", "{", "Ctx", "->", "reportFatalError", "(", "Fixup", ".", "getLoc", "(", ")", ",", "Diagnostic", ")", ";", "}", "else", "{"], "ground_truth": ["llvm_unreachable", "(", "Diagnostic", ".", "c_str", "(", ")", ")", ";"], "File": "MCS51AsmBackend", "Func": "unsigned_width", "Target": "MCS51", "Target_Clf": "MPU", "Compiler_Type": "LLVM", "Idx": 119356, "Length": 43, "Cover_Rate": 0.42574257425742573} {"Template_token": ["", "static", "void", "unsigned_width", "(", "unsigned", "Width", ",", "uint64_t", "Value", ",", "std", "::", "string", "Description", ",", "const", "MCFixup", "&", "Fixup", ",", "MCContext", "*", "Ctx", "=", "nullptr", ")", "{", "if", "(", "!", "isUIntN", "(", "Width", ",", "Value", ")", ")", "{", "std", "::", "string", "Diagnostic", "=", "", "+", "Description", ";", "int64_t", "Max", "=", "maxUIntN", "(", "Width", ")", ";", "Diagnostic", "+=", "", "+", "std", "::", "to_string", "(", "Max", ")", "+", "", ";", "if", "(", "Ctx", ")", "{"], "ground_truth": ["Ctx", "->", "reportFatalError", "(", "Fixup", ".", "getLoc", "(", ")", ",", "Diagnostic", ")", ";"], "File": "MCS51AsmBackend", "Func": "unsigned_width", "Target": "MCS51", "Target_Clf": "MPU", "Compiler_Type": "LLVM", "Idx": 119357, "Length": 86, "Cover_Rate": 0.8514851485148515} {"Template_token": ["", "assert", "(", "(", "Count", "%", "", ")", "==", "", "&&", "", ")", ";", "OS", ".", "write_zeros", "(", "Count", ")", ";", "return", "true", ";"], "ground_truth": ["}"], "File": "MCS51AsmBackend", "Func": "writeNopData", "Target": "MCS51", "Target_Clf": "MPU", "Compiler_Type": "LLVM", "Idx": 119358, "Length": 24, "Cover_Rate": 0.631578947368421} {"Template_token": ["", "else", "if", "(", "const", "MCConstantExpr", "*", "CE", "=", "dyn_cast", "<", "MCConstantExpr", ">", "(", "Expr", ")", ")", "Inst", ".", "addOperand", "(", "MCOperand", "::", "createImm", "(", "CE", "->", "getValue", "(", ")", ")", ")", ";"], "ground_truth": ["else", "Inst", ".", "addOperand", "(", "MCOperand", "::", "createExpr", "(", "Expr", ")", ")", ";"], "File": "MCS51AsmParser", "Func": "addExpr", "Target": "MCS51", "Target_Clf": "MPU", "Compiler_Type": "LLVM", "Idx": 119360, "Length": 45, "Cover_Rate": 0.5844155844155844} {"Template_token": ["", "const", "auto", "*", "CE", "=", "cast", "<", "MCConstantExpr", ">", "(", "getImm", "(", ")", ")", ";", "Inst", ".", "addOperand", "(", "MCOperand", "::", "createImm", "(", "~", "(", "uint8_t", ")", "CE", "->", "getValue", "(", ")", ")", ")", ";"], "ground_truth": ["}"], "File": "MCS51AsmParser", "Func": "addImmCom8Operands", "Target": "MCS51", "Target_Clf": "MPU", "Compiler_Type": "LLVM", "Idx": 119361, "Length": 36, "Cover_Rate": 0.631578947368421} {"Template_token": ["", "void", "addImmCom8Operands", "(", "MCInst", "&", "Inst", ",", "unsigned", "N", ")", "const", "{", "assert", "(", "N", "==", "", "&&", "", ")", ";", "const", "auto", "*", "CE", "=", "cast", "<", "MCConstantExpr", ">", "(", "getImm", "(", ")", ")", ";", "Inst", ".", "addOperand", "(", "MCOperand", "::", "createImm", "(", "~", "(", "uint8_t", ")", "CE", "->", "getValue", "(", ")", ")", ")", ";"], "ground_truth": ["}"], "File": "MCS51AsmParser", "Func": "addImmCom8Operands", "Target": "MCS51", "Target_Clf": "MPU", "Compiler_Type": "LLVM", "Idx": 119362, "Length": 57, "Cover_Rate": 1.0} {"Template_token": ["", "const", "MCExpr", "*", "Expr", "=", "getImm", "(", ")", ";"], "ground_truth": ["addExpr", "(", "Inst", ",", "Expr", ")", ";"], "File": "MCS51AsmParser", "Func": "addImmOperands", "Target": "MCS51", "Target_Clf": "MPU", "Compiler_Type": "LLVM", "Idx": 119363, "Length": 16, "Cover_Rate": 0.3404255319148936} {"Template_token": ["", "assert", "(", "N", "==", "", "&&", "", ")", ";", "Inst", ".", "addOperand", "(", "MCOperand", "::", "createReg", "(", "getReg", "(", ")", ")", ")", ";", "addExpr", "(", "Inst", ",", "getImm", "(", ")", ")", ";"], "ground_truth": ["}"], "File": "MCS51AsmParser", "Func": "addMemriOperands", "Target": "MCS51", "Target_Clf": "MPU", "Compiler_Type": "LLVM", "Idx": 119364, "Length": 33, "Cover_Rate": 0.6111111111111112} {"Template_token": ["", "assert", "(", "Kind", "==", "k_Register", "&&", "", ")", ";", "assert", "(", "N", "==", "", "&&", "", ")", ";"], "ground_truth": ["Inst", ".", "addOperand", "(", "MCOperand", "::", "createReg", "(", "getReg", "(", ")", ")", ")", ";"], "File": "MCS51AsmParser", "Func": "addRegOperands", "Target": "MCS51", "Target_Clf": "MPU", "Compiler_Type": "LLVM", "Idx": 119365, "Length": 32, "Cover_Rate": 0.7111111111111111} {"Template_token": ["", "assert", "(", "Kind", "==", "k_Register", "&&", "", ")", ";", "assert", "(", "N", "==", "", "&&", "", ")", ";", "Inst", ".", "addOperand", "(", "MCOperand", "::", "createReg", "(", "getReg", "(", ")", ")", ")", ";"], "ground_truth": ["}"], "File": "MCS51AsmParser", "Func": "addRegOperands", "Target": "MCS51", "Target_Clf": "MPU", "Compiler_Type": "LLVM", "Idx": 119366, "Length": 33, "Cover_Rate": 0.7333333333333333} {"Template_token": ["", "return", "std", "::", "make_unique", "<", "Operand", ">", "(", "Val", ",", "S", ",", "E", ")", ";"], "ground_truth": ["}"], "File": "MCS51AsmParser", "Func": "CreateImm", "Target": "MCS51", "Target_Clf": "MPU", "Compiler_Type": "LLVM", "Idx": 119367, "Length": 16, "Cover_Rate": 0.43243243243243246} {"Template_token": ["", "static", "std", "::", "unique_ptr", "<", "Operand", ">", "CreateImm", "(", "const", "MCExpr", "*", "Val", ",", "SMLoc", "S", ",", "SMLoc", "E", ")", "{"], "ground_truth": ["return", "std", "::", "make_unique", "<", "Operand", ">", "(", "Val", ",", "S", ",", "E", ")", ";"], "File": "MCS51AsmParser", "Func": "CreateImm", "Target": "MCS51", "Target_Clf": "MPU", "Compiler_Type": "LLVM", "Idx": 119368, "Length": 36, "Cover_Rate": 0.972972972972973} {"Template_token": ["", "static", "std", "::", "unique_ptr", "<", "Operand", ">", "CreateMemri", "(", "unsigned", "RegNum", ",", "const", "MCExpr", "*", "Val", ",", "SMLoc", "S", ",", "SMLoc", "E", ")", "{"], "ground_truth": ["return", "std", "::", "make_unique", "<", "Operand", ">", "(", "RegNum", ",", "Val", ",", "S", ",", "E", ")", ";"], "File": "MCS51AsmParser", "Func": "CreateMemri", "Target": "MCS51", "Target_Clf": "MPU", "Compiler_Type": "LLVM", "Idx": 119369, "Length": 41, "Cover_Rate": 0.9761904761904762} {"Template_token": ["", "static", "std", "::", "unique_ptr", "<", "Operand", ">", "CreateReg", "(", "unsigned", "RegNum", ",", "SMLoc", "S", ",", "SMLoc", "E", ")", "{", "return", "std", "::", "make_unique", "<", "Operand", ">", "(", "RegNum", ",", "S", ",", "E", ")", ";"], "ground_truth": ["}"], "File": "MCS51AsmParser", "Func": "CreateReg", "Target": "MCS51", "Target_Clf": "MPU", "Compiler_Type": "LLVM", "Idx": 119371, "Length": 35, "Cover_Rate": 1.0} {"Template_token": ["", "void", "AsmParser", "::", "eatComma", "(", ")", "{", "if", "(", "getLexer", "(", ")", ".", "is", "(", "AsmToken", "::", "Comma", ")", ")", "{", "Parser", ".", "Lex", "(", ")", ";", "}", "else", "{", "}"], "ground_truth": ["}"], "File": "MCS51AsmParser", "Func": "eatComma", "Target": "MCS51", "Target_Clf": "MPU", "Compiler_Type": "LLVM", "Idx": 119375, "Length": 32, "Cover_Rate": 1.0} {"Template_token": ["", "Inst", ".", "setLoc", "(", "Loc", ")", ";", "Out", ".", "emitInstruction", "(", "Inst", ",", "STI", ")", ";", "return", "false", ";"], "ground_truth": ["}"], "File": "MCS51AsmParser", "Func": "emit", "Target": "MCS51", "Target_Clf": "MPU", "Compiler_Type": "LLVM", "Idx": 119376, "Length": 20, "Cover_Rate": 0.5} {"Template_token": ["", "bool", "AsmParser", "::", "emit", "(", "MCInst", "&", "Inst", ",", "SMLoc", "const", "&", "Loc", ",", "MCStreamer", "&", "Out", ")", "const", "{", "Inst", ".", "setLoc", "(", "Loc", ")", ";", "Out", ".", "emitInstruction", "(", "Inst", ",", "STI", ")", ";", "return", "false", ";"], "ground_truth": ["}"], "File": "MCS51AsmParser", "Func": "emit", "Target": "MCS51", "Target_Clf": "MPU", "Compiler_Type": "LLVM", "Idx": 119377, "Length": 40, "Cover_Rate": 1.0} {"Template_token": ["", "SMLoc", "getEndLoc", "(", ")", "const", "override", "{"], "ground_truth": ["return", "End", ";"], "File": "MCS51AsmParser", "Func": "getEndLoc", "Target": "MCS51", "Target_Clf": "MPU", "Compiler_Type": "LLVM", "Idx": 119378, "Length": 10, "Cover_Rate": 0.9090909090909091} {"Template_token": ["", "return", "End", ";"], "ground_truth": ["}"], "File": "MCS51AsmParser", "Func": "getEndLoc", "Target": "MCS51", "Target_Clf": "MPU", "Compiler_Type": "LLVM", "Idx": 119379, "Length": 4, "Cover_Rate": 0.36363636363636365} {"Template_token": ["", "const", "MCExpr", "*", "getImm", "(", ")", "const", "{", "assert", "(", "(", "Kind", "==", "k_Immediate", "||", "Kind", "==", "k_Memri", ")", "&&", "", ")", ";"], "ground_truth": ["return", "RegImm", ".", "Imm", ";"], "File": "MCS51AsmParser", "Func": "getImm", "Target": "MCS51", "Target_Clf": "MPU", "Compiler_Type": "LLVM", "Idx": 119380, "Length": 28, "Cover_Rate": 0.9655172413793104} {"Template_token": ["", "MCAsmLexer", "&", "getLexer", "(", ")", "const", "{", "return", "Parser", ".", "getLexer", "(", ")", ";"], "ground_truth": ["}"], "File": "MCS51AsmParser", "Func": "getLexer", "Target": "MCS51", "Target_Clf": "MPU", "Compiler_Type": "LLVM", "Idx": 119382, "Length": 15, "Cover_Rate": 1.0} {"Template_token": ["", "return", "Parser", ";"], "ground_truth": ["}"], "File": "MCS51AsmParser", "Func": "getParser", "Target": "MCS51", "Target_Clf": "MPU", "Compiler_Type": "LLVM", "Idx": 119383, "Length": 4, "Cover_Rate": 0.36363636363636365} {"Template_token": ["", "MCAsmParser", "&", "getParser", "(", ")", "const", "{"], "ground_truth": ["return", "Parser", ";"], "File": "MCS51AsmParser", "Func": "getParser", "Target": "MCS51", "Target_Clf": "MPU", "Compiler_Type": "LLVM", "Idx": 119384, "Length": 10, "Cover_Rate": 0.9090909090909091} {"Template_token": ["", "assert", "(", "(", "Kind", "==", "k_Register", "||", "Kind", "==", "k_Memri", ")", "&&", "", ")", ";"], "ground_truth": ["return", "RegImm", ".", "Reg", ";"], "File": "MCS51AsmParser", "Func": "getReg", "Target": "MCS51", "Target_Clf": "MPU", "Compiler_Type": "LLVM", "Idx": 119385, "Length": 20, "Cover_Rate": 0.7142857142857143} {"Template_token": ["", "return", "Start", ";"], "ground_truth": ["}"], "File": "MCS51AsmParser", "Func": "getStartLoc", "Target": "MCS51", "Target_Clf": "MPU", "Compiler_Type": "LLVM", "Idx": 119386, "Length": 4, "Cover_Rate": 0.36363636363636365} {"Template_token": ["", "assert", "(", "Kind", "==", "k_Token", "&&", "", ")", ";", "return", "Tok", ";"], "ground_truth": ["}"], "File": "MCS51AsmParser", "Func": "getToken", "Target": "MCS51", "Target_Clf": "MPU", "Compiler_Type": "LLVM", "Idx": 119388, "Length": 13, "Cover_Rate": 0.6842105263157895} {"Template_token": ["", "}", "else", "{", "Operand", "const", "&", "Op", "=", "(", "Operand", "const", "&", ")", "*", "Operands", "[", "ErrorInfo", "]", ";", "if", "(", "Op", ".", "getStartLoc", "(", ")", "!=", "SMLoc", "(", ")", ")", "{", "ErrorLoc", "=", "Op", ".", "getStartLoc", "(", ")", ";", "}", "}"], "ground_truth": ["}"], "File": "MCS51AsmParser", "Func": "invalidOperand", "Target": "MCS51", "Target_Clf": "MPU", "Compiler_Type": "LLVM", "Idx": 119389, "Length": 43, "Cover_Rate": 0.36134453781512604} {"Template_token": ["", "bool", "isImm", "(", ")", "const", "override", "{"], "ground_truth": ["return", "Kind", "==", "k_Immediate", ";"], "File": "MCS51AsmParser", "Func": "isImm", "Target": "MCS51", "Target_Clf": "MPU", "Compiler_Type": "LLVM", "Idx": 119391, "Length": 12, "Cover_Rate": 0.9230769230769231} {"Template_token": ["", "if", "(", "!", "isImm", "(", ")", ")", "return", "false", ";", "const", "auto", "*", "CE", "=", "dyn_cast", "<", "MCConstantExpr", ">", "(", "getImm", "(", ")", ")", ";", "if", "(", "!", "CE", ")", "return", "false", ";"], "ground_truth": ["int64_t", "Value", "=", "CE", "->", "getValue", "(", ")", ";"], "File": "MCS51AsmParser", "Func": "isImmCom8", "Target": "MCS51", "Target_Clf": "MPU", "Compiler_Type": "LLVM", "Idx": 119392, "Length": 42, "Cover_Rate": 0.7241379310344828} {"Template_token": ["", "bool", "isImmCom8", "(", ")", "const", "{", "if", "(", "!", "isImm", "(", ")", ")", "return", "false", ";", "const", "auto", "*", "CE", "=", "dyn_cast", "<", "MCConstantExpr", ">", "(", "getImm", "(", ")", ")", ";", "if", "(", "!", "CE", ")", "return", "false", ";"], "ground_truth": ["int64_t", "Value", "=", "CE", "->", "getValue", "(", ")", ";"], "File": "MCS51AsmParser", "Func": "isImmCom8", "Target": "MCS51", "Target_Clf": "MPU", "Compiler_Type": "LLVM", "Idx": 119393, "Length": 48, "Cover_Rate": 0.8275862068965517} {"Template_token": ["", "return", "Kind", "==", "k_Memri", ";"], "ground_truth": ["}"], "File": "MCS51AsmParser", "Func": "isMem", "Target": "MCS51", "Target_Clf": "MPU", "Compiler_Type": "LLVM", "Idx": 119394, "Length": 6, "Cover_Rate": 0.46153846153846156} {"Template_token": ["", "return", "Kind", "==", "k_Memri", ";"], "ground_truth": ["}"], "File": "MCS51AsmParser", "Func": "isMemri", "Target": "MCS51", "Target_Clf": "MPU", "Compiler_Type": "LLVM", "Idx": 119396, "Length": 6, "Cover_Rate": 0.5} {"Template_token": ["", "bool", "isMemri", "(", ")", "const", "{"], "ground_truth": ["return", "Kind", "==", "k_Memri", ";"], "File": "MCS51AsmParser", "Func": "isMemri", "Target": "MCS51", "Target_Clf": "MPU", "Compiler_Type": "LLVM", "Idx": 119397, "Length": 11, "Cover_Rate": 0.9166666666666666} {"Template_token": ["", "bool", "isReg", "(", ")", "const", "override", "{", "return", "Kind", "==", "k_Register", ";"], "ground_truth": ["}"], "File": "MCS51AsmParser", "Func": "isReg", "Target": "MCS51", "Target_Clf": "MPU", "Compiler_Type": "LLVM", "Idx": 119398, "Length": 13, "Cover_Rate": 1.0} {"Template_token": ["", "bool", "isReg", "(", ")", "const", "override", "{"], "ground_truth": ["return", "Kind", "==", "k_Register", ";"], "File": "MCS51AsmParser", "Func": "isReg", "Target": "MCS51", "Target_Clf": "MPU", "Compiler_Type": "LLVM", "Idx": 119399, "Length": 12, "Cover_Rate": 0.9230769230769231} {"Template_token": ["", "bool", "isToken", "(", ")", "const", "override", "{", "return", "Kind", "==", "k_Token", ";"], "ground_truth": ["}"], "File": "MCS51AsmParser", "Func": "isToken", "Target": "MCS51", "Target_Clf": "MPU", "Compiler_Type": "LLVM", "Idx": 119400, "Length": 13, "Cover_Rate": 1.0} {"Template_token": ["", "bool", "isToken", "(", ")", "const", "override", "{", "return", "Kind", "==", "k_Token", ";"], "ground_truth": ["}"], "File": "MCS51AsmParser", "Func": "isToken", "Target": "MCS51", "Target_Clf": "MPU", "Compiler_Type": "LLVM", "Idx": 119401, "Length": 13, "Cover_Rate": 1.0} {"Template_token": ["", "LLVM_EXTERNAL_VISIBILITY", "void", "LLVMInitializeAsmParser", "(", ")", "{", "RegisterMCAsmParser", "<", "AsmParser", ">", "X", "(", "getTheTarget", "(", ")", ")", ";"], "ground_truth": ["}"], "File": "MCS51AsmParser", "Func": "LLVMInitializeMCS51AsmParser", "Target": "MCS51", "Target_Clf": "MPU", "Compiler_Type": "LLVM", "Idx": 119402, "Length": 18, "Cover_Rate": 1.0} {"Template_token": ["", "void", "makeImm", "(", "MCExpr", "const", "*", "Ex", ")", "{", "Kind", "=", "k_Immediate", ";"], "ground_truth": ["RegImm", "=", "{", "", ",", "Ex", "}", ";"], "File": "MCS51AsmParser", "Func": "makeImm", "Target": "MCS51", "Target_Clf": "MPU", "Compiler_Type": "LLVM", "Idx": 119404, "Length": 21, "Cover_Rate": 0.9545454545454546} {"Template_token": ["", "Kind", "=", "k_Immediate", ";", "RegImm", "=", "{", "", ",", "Ex", "}", ";"], "ground_truth": ["}"], "File": "MCS51AsmParser", "Func": "makeImm", "Target": "MCS51", "Target_Clf": "MPU", "Compiler_Type": "LLVM", "Idx": 119405, "Length": 13, "Cover_Rate": 0.5909090909090909} {"Template_token": ["", "RegImm", "=", "{", "RegNo", ",", "Imm", "}", ";"], "ground_truth": ["}"], "File": "MCS51AsmParser", "Func": "makeMemri", "Target": "MCS51", "Target_Clf": "MPU", "Compiler_Type": "LLVM", "Idx": 119406, "Length": 9, "Cover_Rate": 0.36} {"Template_token": ["", "Kind", "=", "k_Register", ";"], "ground_truth": ["RegImm", "=", "{", "RegNo", ",", "nullptr", "}", ";"], "File": "MCS51AsmParser", "Func": "makeReg", "Target": "MCS51", "Target_Clf": "MPU", "Compiler_Type": "LLVM", "Idx": 119409, "Length": 12, "Cover_Rate": 0.6} {"Template_token": ["", "void", "makeToken", "(", "StringRef", "Token", ")", "{"], "ground_truth": ["Kind", "=", "k_Token", ";"], "File": "MCS51AsmParser", "Func": "makeToken", "Target": "MCS51", "Target_Clf": "MPU", "Compiler_Type": "LLVM", "Idx": 119410, "Length": 11, "Cover_Rate": 0.6875} {"Template_token": ["", "void", "makeToken", "(", "StringRef", "Token", ")", "{", "Kind", "=", "k_Token", ";", "Tok", "=", "Token", ";"], "ground_truth": ["}"], "File": "MCS51AsmParser", "Func": "makeToken", "Target": "MCS51", "Target_Clf": "MPU", "Compiler_Type": "LLVM", "Idx": 119411, "Length": 16, "Cover_Rate": 1.0} {"Template_token": ["", "case", "Match_Success", ":", "return", "emit", "(", "Inst", ",", "Loc", ",", "Out", ")", ";", "case", "Match_MissingFeature", ":", "return", "missingFeature", "(", "Loc", ",", "ErrorInfo", ")", ";", "case", "Match_InvalidOperand", ":", "return", "invalidOperand", "(", "Loc", ",", "Operands", ",", "ErrorInfo", ")", ";", "case", "Match_MnemonicFail", ":", "return", "Error", "(", "Loc", ",", "", ")", ";", "default", ":", "return", "true", ";"], "ground_truth": ["}"], "File": "MCS51AsmParser", "Func": "MatchAndEmitInstruction", "Target": "MCS51", "Target_Clf": "MPU", "Compiler_Type": "LLVM", "Idx": 119412, "Length": 54, "Cover_Rate": 0.5142857142857142} {"Template_token": ["", "MCAsmParserExtension", "::", "Initialize", "(", "Parser", ")", ";", "MRI", "=", "getContext", "(", ")", ".", "getRegisterInfo", "(", ")", ";", "setAvailableFeatures", "(", "ComputeAvailableFeatures", "(", "STI", ".", "getFeatureBits", "(", ")", ")", ")", ";"], "ground_truth": ["}"], "File": "MCS51AsmParser", "Func": "MCS51AsmParser", "Target": "MCS51", "Target_Clf": "MPU", "Compiler_Type": "LLVM", "Idx": 119413, "Length": 30, "Cover_Rate": 0.4225352112676056} {"Template_token": ["", "Operand", "(", "unsigned", "Reg", ",", "MCExpr", "const", "*", "Imm", ",", "SMLoc", "const", "&", "S", ",", "SMLoc", "const", "&", "E", ")", ":", "Base", "(", ")", ",", "Kind", "(", "k_Memri", ")", ",", "RegImm", "(", "{", "Reg", ",", "Imm", ")", ",", "Start", "(", "S", ")", ",", "End", "(", "E", ")", "{"], "ground_truth": ["}"], "File": "MCS51AsmParser", "Func": "MCS51Operand", "Target": "MCS51", "Target_Clf": "MPU", "Compiler_Type": "LLVM", "Idx": 119415, "Length": 49, "Cover_Rate": 1.0} {"Template_token": ["", "Operand", "(", "unsigned", "Reg", ",", "MCExpr", "const", "*", "Imm", ",", "SMLoc", "const", "&", "S", ",", "SMLoc", "const", "&", "E", ")", ":", "Base", "(", ")", ",", "Kind", "(", "k_Memri", ")", ",", "RegImm", "(", "{", "Reg", ",", "Imm", ")", ",", "Start", "(", "S", ")", ",", "End", "(", "E", ")", "{"], "ground_truth": ["}"], "File": "MCS51AsmParser", "Func": "MCS51Operand", "Target": "MCS51", "Target_Clf": "MPU", "Compiler_Type": "LLVM", "Idx": 119416, "Length": 49, "Cover_Rate": 1.0} {"Template_token": ["", "return", "Error", "(", "Loc", ",", "", ")", ";"], "ground_truth": ["}"], "File": "MCS51AsmParser", "Func": "missingFeature", "Target": "MCS51", "Target_Clf": "MPU", "Compiler_Type": "LLVM", "Idx": 119417, "Length": 9, "Cover_Rate": 0.3333333333333333} {"Template_token": ["", "}", "else", "if", "(", "IDVal", ".", "lower", "(", ")", "==", "", "||", "IDVal", ".", "lower", "(", ")", "==", "", ")", "{", "parseLiteralValues", "(", "SIZE_WORD", ",", "DirectiveID", ".", "getLoc", "(", ")", ")", ";"], "ground_truth": ["}", "else", "if", "(", "IDVal", ".", "lower", "(", ")", "==", "", ")", "{"], "File": "MCS51AsmParser", "Func": "ParseDirective", "Target": "MCS51", "Target_Clf": "MPU", "Compiler_Type": "LLVM", "Idx": 119419, "Length": 45, "Cover_Rate": 0.4368932038834951} {"Template_token": ["", "bool", "AsmParser", "::", "ParseDirective", "(", "llvm", "::", "AsmToken", "DirectiveID", ")", "{", "StringRef", "IDVal", "=", "DirectiveID", ".", "getIdentifier", "(", ")", ";", "if", "(", "IDVal", ".", "lower", "(", ")", "==", "", ")", "{", "parseLiteralValues", "(", "SIZE_LONG", ",", "DirectiveID", ".", "getLoc", "(", ")", ")", ";"], "ground_truth": ["}", "else", "if", "(", "IDVal", ".", "lower", "(", ")", "==", "", "||", "IDVal", ".", "lower", "(", ")", "==", "", ")", "{"], "File": "MCS51AsmParser", "Func": "ParseDirective", "Target": "MCS51", "Target_Clf": "MPU", "Compiler_Type": "LLVM", "Idx": 119420, "Length": 63, "Cover_Rate": 0.6116504854368932} {"Template_token": ["", "while", "(", "getLexer", "(", ")", ".", "isNot", "(", "AsmToken", "::", "EndOfStatement", ")", ")", "{", "if", "(", "!", "first", ")", "eatComma", "(", ")", ";", "first", "=", "false", ";", "auto", "MatchResult", "=", "MatchOperandParserImpl", "(", "Operands", ",", "Mnemonic", ")", ";", "if", "(", "MatchResult", "==", "MatchOperand_Success", ")", "{", "continue", ";", "}", "if", "(", "MatchResult", "==", "MatchOperand_ParseFail", ")", "{"], "ground_truth": ["SMLoc", "Loc", "=", "getLexer", "(", ")", ".", "getLoc", "(", ")", ";"], "File": "MCS51AsmParser", "Func": "ParseInstruction", "Target": "MCS51", "Target_Clf": "MPU", "Compiler_Type": "LLVM", "Idx": 119421, "Length": 65, "Cover_Rate": 0.39634146341463417} {"Template_token": ["", "}", "if", "(", "Parser", ".", "getTok", "(", ")", ".", "getKind", "(", ")", "==", "AsmToken", "::", "Identifier", "&&", "Parser", ".", "getLexer", "(", ")", ".", "peekTok", "(", ")", ".", "getKind", "(", ")", "==", "AsmToken", "::", "LParen", ")", "{", "StringRef", "ModifierName", "=", "Parser", ".", "getTok", "(", ")", ".", "getString", "(", ")", ";", "MCExpr", "::", "VariantKind", "ModifierKind", "=", "MCExpr", "::", "getKindByName", "(", "ModifierName", ".", "str", "(", ")", ".", "c_str", "(", ")", ")", ";", "if", "(", "ModifierKind", "!=", "MCExpr", "::", "VK__None", ")", "{", "Parser", ".", "Lex", "(", ")", ";", "Parser", ".", "Lex", "(", ")", ";", "}", "else", "{", "return", "Error", "(", "Parser", ".", "getTok", "(", ")", ".", "getLoc", "(", ")", ",", "", ")", ";", "}", "MCSymbol", "*", "Symbol", "=", "getContext", "(", ")", ".", "getOrCreateSymbol", "(", "Parser", ".", "getTok", "(", ")", ".", "getString", "(", ")", ")", ";", "Streamer", ".", "emitValueForModiferKind", "(", "Symbol", ",", "SizeInBytes", ",", "L", ",", "ModifierKind", ")", ";", "return", "false", ";", "}"], "ground_truth": ["auto", "parseOne", "=", "[", "&", "]", "(", ")", "->", "bool", "{"], "File": "MCS51AsmParser", "Func": "parseLiteralValues", "Target": "MCS51", "Target_Clf": "MPU", "Compiler_Type": "LLVM", "Idx": 119422, "Length": 159, "Cover_Rate": 0.4676470588235294} {"Template_token": ["", "}", "{", "if", "(", "getParser", "(", ")", ".", "parseExpression", "(", "Expression", ")", ")", "return", "MatchOperand_ParseFail", ";", "E", "=", "SMLoc", "::", "getFromPointer", "(", "Parser", ".", "getTok", "(", ")", ".", "getLoc", "(", ")", ".", "getPointer", "(", ")", "-", "", ")", ";", "}", "Operands", ".", "push_back", "(", "", "(", "RegNo", ",", "Expression", ",", "S", ",", "E", ")", ")", ";"], "ground_truth": ["return", "MatchOperand_Success", ";"], "File": "MCS51AsmParser", "Func": "parseMemriOperand", "Target": "MCS51", "Target_Clf": "MPU", "Compiler_Type": "LLVM", "Idx": 119423, "Length": 59, "Cover_Rate": 0.41843971631205673} {"Template_token": ["", "bool", "AsmParser", "::", "parseOperand", "(", "OperandVector", "&", "Operands", ")", "{", "LLVM_DEBUG", "(", "dbgs", "(", ")", "<<", "", ")", ";", "switch", "(", "getLexer", "(", ")", ".", "getKind", "(", ")", ")", "{", "default", ":", "return", "Error", "(", "Parser", ".", "getTok", "(", ")", ".", "getLoc", "(", ")", ",", "", ")", ";", "case", "AsmToken", "::", "Identifier", ":", "if", "(", "!", "tryParseRegisterOperand", "(", "Operands", ")", ")", "{", "return", "false", ";", "}", "LLVM_FALLTHROUGH", ";", "case", "AsmToken", "::", "LParen", ":", "case", "AsmToken", "::", "Integer", ":", "case", "AsmToken", "::", "Dot", ":", "return", "tryParseExpression", "(", "Operands", ")", ";", "case", "AsmToken", "::", "Plus", ":", "case", "AsmToken", "::", "Minus", ":", "{"], "ground_truth": ["switch", "(", "getLexer", "(", ")", ".", "peekTok", "(", ")", ".", "getKind", "(", ")", ")", "{"], "File": "MCS51AsmParser", "Func": "parseOperand", "Target": "MCS51", "Target_Clf": "MPU", "Compiler_Type": "LLVM", "Idx": 119424, "Length": 115, "Cover_Rate": 0.5808080808080808} {"Template_token": ["", "StartLoc", "=", "Parser", ".", "getTok", "(", ")", ".", "getLoc", "(", ")", ";", "RegNo", "=", "parseRegister", "(", "false", ")", ";", "EndLoc", "=", "Parser", ".", "getTok", "(", ")", ".", "getLoc", "(", ")", ";"], "ground_truth": ["return", "(", "RegNo", "==", "", ")", ";"], "File": "MCS51AsmParser", "Func": "parseRegister", "Target": "MCS51", "Target_Clf": "MPU", "Compiler_Type": "LLVM", "Idx": 119425, "Length": 38, "Cover_Rate": 0.6440677966101694} {"Template_token": ["", "int", "AsmParser", "::", "parseRegisterName", "(", ")", "{", "int", "RegNum", "=", "parseRegisterName", "(", "&", "MatchRegisterName", ")", ";"], "ground_truth": ["if", "(", "RegNum", "==", "", ")", "RegNum", "=", "parseRegisterName", "(", "&", "MatchRegisterAltName", ")", ";"], "File": "MCS51AsmParser", "Func": "parseRegisterName", "Target": "MCS51", "Target_Clf": "MPU", "Compiler_Type": "LLVM", "Idx": 119426, "Length": 30, "Cover_Rate": 0.8333333333333334} {"Template_token": ["", "int", "RegNum", "=", "parseRegisterName", "(", "&", "MatchRegisterName", ")", ";", "if", "(", "RegNum", "==", "", ")", "RegNum", "=", "parseRegisterName", "(", "&", "MatchRegisterAltName", ")", ";"], "ground_truth": ["return", "RegNum", ";"], "File": "MCS51AsmParser", "Func": "parseRegisterName", "Target": "MCS51", "Target_Clf": "MPU", "Compiler_Type": "LLVM", "Idx": 119427, "Length": 26, "Cover_Rate": 0.7222222222222222} {"Template_token": ["", "case", "k_Register", ":", "O", "<<", "", "<<", "getReg", "(", ")", ";", "break", ";", "case", "k_Immediate", ":", "O", "<<", "", "<<", "*", "getImm", "(", ")", "<<", "", ";", "break", ";", "case", "k_Memri", ":", "{", "O", "<<", "", "<<", "getReg", "(", ")", "<<", "'+'", "<<", "*", "getImm", "(", ")", "<<", "", ";", "break", ";", "}", "}"], "ground_truth": ["O", "<<", "", ";"], "File": "MCS51AsmParser", "Func": "print", "Target": "MCS51", "Target_Clf": "MPU", "Compiler_Type": "LLVM", "Idx": 119428, "Length": 58, "Cover_Rate": 0.651685393258427} {"Template_token": ["", "break", ";", "case", "k_Register", ":", "O", "<<", "", "<<", "getReg", "(", ")", ";", "break", ";", "case", "k_Immediate", ":", "O", "<<", "", "<<", "*", "getImm", "(", ")", "<<", "", ";", "break", ";", "case", "k_Memri", ":", "{", "O", "<<", "", "<<", "getReg", "(", ")", "<<", "'+'", "<<", "*", "getImm", "(", ")", "<<", "", ";"], "ground_truth": ["break", ";"], "File": "MCS51AsmParser", "Func": "print", "Target": "MCS51", "Target_Clf": "MPU", "Compiler_Type": "LLVM", "Idx": 119429, "Length": 54, "Cover_Rate": 0.6067415730337079} {"Template_token": ["", "return", "MRI", "->", "getMatchingSuperReg", "(", "Reg", ",", "From", ",", "Class", ")", ";"], "ground_truth": ["}"], "File": "MCS51AsmParser", "Func": "toDREG", "Target": "MCS51", "Target_Clf": "MPU", "Compiler_Type": "LLVM", "Idx": 119430, "Length": 13, "Cover_Rate": 0.325} {"Template_token": ["", "return", "true", ";", "}", "MCExpr", "const", "*", "Expression", ";", "if", "(", "getParser", "(", ")", ".", "parseExpression", "(", "Expression", ")", ")", "return", "true", ";", "SMLoc", "E", "=", "SMLoc", "::", "getFromPointer", "(", "Parser", ".", "getTok", "(", ")", ".", "getLoc", "(", ")", ".", "getPointer", "(", ")", "-", "", ")", ";"], "ground_truth": ["Operands", ".", "push_back", "(", "", "(", "Expression", ",", "S", ",", "E", ")", ")", ";"], "File": "MCS51AsmParser", "Func": "tryParseExpression", "Target": "MCS51", "Target_Clf": "MPU", "Compiler_Type": "LLVM", "Idx": 119431, "Length": 61, "Cover_Rate": 0.40131578947368424} {"Template_token": ["", "RegNo", "=", "parseRegister", "(", "true", ")", ";", "EndLoc", "=", "Parser", ".", "getTok", "(", ")", ".", "getLoc", "(", ")", ";"], "ground_truth": ["if", "(", "RegNo", "==", "", ")", "return", "MatchOperand_NoMatch", ";"], "File": "MCS51AsmParser", "Func": "tryParseRegister", "Target": "MCS51", "Target_Clf": "MPU", "Compiler_Type": "LLVM", "Idx": 119432, "Length": 28, "Cover_Rate": 0.4375} {"Template_token": ["", "AsmToken", "const", "&", "T", "=", "Parser", ".", "getTok", "(", ")", ";", "Operands", ".", "push_back", "(", "", "(", "RegNo", ",", "T", ".", "getLoc", "(", ")", ",", "T", ".", "getEndLoc", "(", ")", ")", ")", ";", "Parser", ".", "Lex", "(", ")", ";"], "ground_truth": ["return", "false", ";"], "File": "MCS51AsmParser", "Func": "tryParseRegisterOperand", "Target": "MCS51", "Target_Clf": "MPU", "Compiler_Type": "LLVM", "Idx": 119433, "Length": 42, "Cover_Rate": 0.5753424657534246} {"Template_token": ["", "bool", "AsmParser", "::", "tryParseRegisterOperand", "(", "OperandVector", "&", "Operands", ")", "{", "int", "RegNo", "=", "parseRegister", "(", ")", ";", "if", "(", "RegNo", "==", "", ")", "return", "true", ";", "AsmToken", "const", "&", "T", "=", "Parser", ".", "getTok", "(", ")", ";", "Operands", ".", "push_back", "(", "", "(", "RegNo", ",", "T", ".", "getLoc", "(", ")", ",", "T", ".", "getEndLoc", "(", ")", ")", ")", ";", "Parser", ".", "Lex", "(", ")", ";"], "ground_truth": ["return", "false", ";"], "File": "MCS51AsmParser", "Func": "tryParseRegisterOperand", "Target": "MCS51", "Target_Clf": "MPU", "Compiler_Type": "LLVM", "Idx": 119434, "Length": 68, "Cover_Rate": 0.9315068493150684} {"Template_token": ["", "Operand", "&", "Op", "=", "static_cast", "<", "Operand", "&", ">", "(", "AsmOp", ")", ";", "MatchClassKind", "Expected", "=", "static_cast", "<", "MatchClassKind", ">", "(", "ExpectedKind", ")", ";", "if", "(", "Op", ".", "isImm", "(", ")", ")", "{", "if", "(", "MCConstantExpr", "const", "*", "Const", "=", "dyn_cast", "<", "MCConstantExpr", ">", "(", "Op", ".", "getImm", "(", ")", ")", ")", "{", "int64_t", "RegNum", "=", "Const", "->", "getValue", "(", ")", ";", "std", "::", "ostringstream", "RegName", ";", "RegName", "<<", "", "<<", "RegNum", ";", "RegNum", "=", "MatchRegisterName", "(", "RegName", ".", "str", "(", ")", ".", "c_str", "(", ")", ")", ";", "if", "(", "RegNum", "!=", "", ")", "{", "Op", ".", "makeReg", "(", "RegNum", ")", ";", "if", "(", "validateOperandClass", "(", "Op", ",", "Expected", ")", "==", "Match_Success", ")", "{", "return", "Match_Success", ";", "}", "}", "}", "}", "if", "(", "Op", ".", "isReg", "(", ")", ")", "{", "if", "(", "isSubclass", "(", "Expected", ",", "MCK_DREGS", ")", ")", "{", "unsigned", "correspondingDREG", "=", "toDREG", "(", "Op", ".", "getReg", "(", ")", ")", ";", "if", "(", "correspondingDREG", "!=", "", ")", "{", "Op", ".", "makeReg", "(", "correspondingDREG", ")", ";"], "ground_truth": ["return", "validateOperandClass", "(", "Op", ",", "Expected", ")", ";"], "File": "MCS51AsmParser", "Func": "validateTargetOperandClass", "Target": "MCS51", "Target_Clf": "MPU", "Compiler_Type": "LLVM", "Idx": 119435, "Length": 174, "Cover_Rate": 0.8787878787878788} {"Template_token": ["", "MatchClassKind", "Expected", "=", "static_cast", "<", "MatchClassKind", ">", "(", "ExpectedKind", ")", ";", "if", "(", "Op", ".", "isImm", "(", ")", ")", "{", "if", "(", "MCConstantExpr", "const", "*", "Const", "=", "dyn_cast", "<", "MCConstantExpr", ">", "(", "Op", ".", "getImm", "(", ")", ")", ")", "{", "int64_t", "RegNum", "=", "Const", "->", "getValue", "(", ")", ";", "std", "::", "ostringstream", "RegName", ";", "RegName", "<<", "", "<<", "RegNum", ";", "RegNum", "=", "MatchRegisterName", "(", "RegName", ".", "str", "(", ")", ".", "c_str", "(", ")", ")", ";", "if", "(", "RegNum", "!=", "", ")", "{", "Op", ".", "makeReg", "(", "RegNum", ")", ";", "if", "(", "validateOperandClass", "(", "Op", ",", "Expected", ")", "==", "Match_Success", ")", "{", "return", "Match_Success", ";"], "ground_truth": ["}"], "File": "MCS51AsmParser", "Func": "validateTargetOperandClass", "Target": "MCS51", "Target_Clf": "MPU", "Compiler_Type": "LLVM", "Idx": 119436, "Length": 105, "Cover_Rate": 0.5303030303030303} {"Template_token": ["", "MCInstLower", "MCInstLowering", "(", "OutContext", ",", "*", "this", ")", ";", "MCInst", "I", ";", "MCInstLowering", ".", "lowerInstruction", "(", "*", "MI", ",", "I", ")", ";", "EmitToStreamer", "(", "*", "OutStreamer", ",", "I", ")", ";"], "ground_truth": ["}"], "File": "MCS51AsmPrinter", "Func": "emitInstruction", "Target": "MCS51", "Target_Clf": "MPU", "Compiler_Type": "LLVM", "Idx": 119437, "Length": 31, "Cover_Rate": 0.7380952380952381} {"Template_token": ["", "MCInst", "I", ";"], "ground_truth": ["MCInstLowering", ".", "lowerInstruction", "(", "*", "MI", ",", "I", ")", ";"], "File": "MCS51AsmPrinter", "Func": "emitInstruction", "Target": "MCS51", "Target_Clf": "MPU", "Compiler_Type": "LLVM", "Idx": 119438, "Length": 13, "Cover_Rate": 0.30952380952380953} {"Template_token": ["", "StringRef", "getPassName", "(", ")", "const", "override", "{"], "ground_truth": ["return", "", ";"], "File": "MCS51AsmPrinter", "Func": "getPassName", "Target": "MCS51", "Target_Clf": "MPU", "Compiler_Type": "LLVM", "Idx": 119439, "Length": 10, "Cover_Rate": 0.9090909090909091} {"Template_token": ["", "LLVM_EXTERNAL_VISIBILITY", "void", "LLVMInitializeAsmPrinter", "(", ")", "{", "llvm", "::", "RegisterAsmPrinter", "<", "llvm", "::", "AsmPrinter", ">", "X", "(", "llvm", "::", "getTheTarget", "(", ")", ")", ";"], "ground_truth": ["}"], "File": "MCS51AsmPrinter", "Func": "LLVMInitializeMCS51AsmPrinter", "Target": "MCS51", "Target_Clf": "MPU", "Compiler_Type": "LLVM", "Idx": 119441, "Length": 24, "Cover_Rate": 1.0} {"Template_token": ["", "if", "(", "const", "GlobalValue", "*", "GV", "=", "dyn_cast", "<", "GlobalValue", ">", "(", "CV", ")", ")", "{", "bool", "IsProgMem", "=", "GV", "->", "getAddressSpace", "(", ")", "==", "", ";", "if", "(", "IsProgMem", ")", "{", "const", "MCExpr", "*", "Expr", "=", "MCSymbolRefExpr", "::", "create", "(", "getSymbol", "(", "GV", ")", ",", "Ctx", ")", ";", "return", "MCExpr", "::", "create", "(", "MCExpr", "::", "VK__PM", ",", "Expr", ",", "false", ",", "Ctx", ")", ";", "}", "}"], "ground_truth": ["return", "AsmPrinter", "::", "lowerConstant", "(", "CV", ")", ";"], "File": "MCS51AsmPrinter", "Func": "lowerConstant", "Target": "MCS51", "Target_Clf": "MPU", "Compiler_Type": "LLVM", "Idx": 119442, "Length": 75, "Cover_Rate": 0.7731958762886598} {"Template_token": ["", "MCContext", "&", "Ctx", "=", "OutContext", ";", "if", "(", "const", "GlobalValue", "*", "GV", "=", "dyn_cast", "<", "GlobalValue", ">", "(", "CV", ")", ")", "{", "bool", "IsProgMem", "=", "GV", "->", "getAddressSpace", "(", ")", "==", "", ";"], "ground_truth": ["if", "(", "IsProgMem", ")", "{"], "File": "MCS51AsmPrinter", "Func": "lowerConstant", "Target": "MCS51", "Target_Clf": "MPU", "Compiler_Type": "LLVM", "Idx": 119443, "Length": 38, "Cover_Rate": 0.3917525773195876} {"Template_token": ["", "AsmPrinter", "(", "TargetMachine", "&", "TM", ",", "std", "::", "unique_ptr", "<", "MCStreamer", ">", "Streamer", ")", ":", "AsmPrinter", "(", "TM", ",", "std", "::", "move", "(", "Streamer", ")", ")", ",", "MRI", "(", "*", "TM", ".", "getMCRegisterInfo", "(", ")", ")", "{"], "ground_truth": ["}"], "File": "MCS51AsmPrinter", "Func": "MCS51AsmPrinter", "Target": "MCS51", "Target_Clf": "MPU", "Compiler_Type": "LLVM", "Idx": 119444, "Length": 38, "Cover_Rate": 1.0} {"Template_token": ["", "AsmPrinter", "(", "TargetMachine", "&", "TM", ",", "std", "::", "unique_ptr", "<", "MCStreamer", ">", "Streamer", ")", ":", "AsmPrinter", "(", "TM", ",", "std", "::", "move", "(", "Streamer", ")", ")", ",", "MRI", "(", "*", "TM", ".", "getMCRegisterInfo", "(", ")", ")", "{"], "ground_truth": ["}"], "File": "MCS51AsmPrinter", "Func": "MCS51AsmPrinter", "Target": "MCS51", "Target_Clf": "MPU", "Compiler_Type": "LLVM", "Idx": 119445, "Length": 38, "Cover_Rate": 1.0} {"Template_token": ["", "(", "void", ")", "MO", ";", "assert", "(", "MO", ".", "isReg", "(", ")", "&&", "", ")", ";", "if", "(", "MI", "->", "getOperand", "(", "OpNum", ")", ".", "getReg", "(", ")", "==", "", ")", "{", "O", "<<", "", ";", "}", "else", "{", "assert", "(", "MI", "->", "getOperand", "(", "OpNum", ")", ".", "getReg", "(", ")", "==", "", "&&", "", ")", ";"], "ground_truth": ["O", "<<", "", ";"], "File": "MCS51AsmPrinter", "Func": "PrintAsmMemoryOperand", "Target": "MCS51", "Target_Clf": "MPU", "Compiler_Type": "LLVM", "Idx": 119446, "Length": 61, "Cover_Rate": 0.3546511627906977} {"Template_token": ["", "O", "<<", "", ";", "}", "else", "{", "assert", "(", "MI", "->", "getOperand", "(", "OpNum", ")", ".", "getReg", "(", ")", "==", "", "&&", "", ")", ";", "O", "<<", "", ";", "}", "unsigned", "OpFlags", "=", "MI", "->", "getOperand", "(", "OpNum", "-", "", ")", ".", "getImm", "(", ")", ";", "unsigned", "NumOpRegs", "=", "InlineAsm", "::", "getNumOperandRegisters", "(", "OpFlags", ")", ";", "if", "(", "NumOpRegs", "==", "", ")", "{", "O", "<<", "'+'", "<<", "MI", "->", "getOperand", "(", "OpNum", "+", "", ")", ".", "getImm", "(", ")", ";", "}"], "ground_truth": ["return", "false", ";"], "File": "MCS51AsmPrinter", "Func": "PrintAsmMemoryOperand", "Target": "MCS51", "Target_Clf": "MPU", "Compiler_Type": "LLVM", "Idx": 119447, "Length": 84, "Cover_Rate": 0.4883720930232558} {"Template_token": ["", "switch", "(", "MO", ".", "getType", "(", ")", ")", "{", "case", "MachineOperand", "::", "MO_Register", ":", "O", "<<", "InstPrinter", "::", "getPrettyRegisterName", "(", "MO", ".", "getReg", "(", ")", ",", "MRI", ")", ";", "break", ";", "case", "MachineOperand", "::", "MO_Immediate", ":", "O", "<<", "MO", ".", "getImm", "(", ")", ";", "break", ";", "case", "MachineOperand", "::", "MO_GlobalAddress", ":"], "ground_truth": ["O", "<<", "getSymbol", "(", "MO", ".", "getGlobal", "(", ")", ")", ";"], "File": "MCS51AsmPrinter", "Func": "printOperand", "Target": "MCS51", "Target_Clf": "MPU", "Compiler_Type": "LLVM", "Idx": 119448, "Length": 62, "Cover_Rate": 0.43661971830985913} {"Template_token": ["", "case", "MachineOperand", "::", "MO_GlobalAddress", ":", "O", "<<", "getSymbol", "(", "MO", ".", "getGlobal", "(", ")", ")", ";", "break", ";", "case", "MachineOperand", "::", "MO_ExternalSymbol", ":", "O", "<<", "*", "GetExternalSymbolSymbol", "(", "MO", ".", "getSymbolName", "(", ")", ")", ";", "break", ";", "case", "MachineOperand", "::", "MO_MachineBasicBlock", ":", "O", "<<", "*", "MO", ".", "getMBB", "(", ")", "->", "getSymbol", "(", ")", ";", "break", ";", "default", ":", "llvm_unreachable", "(", "", ")", ";", "}"], "ground_truth": ["}"], "File": "MCS51AsmPrinter", "Func": "printOperand", "Target": "MCS51", "Target_Clf": "MPU", "Compiler_Type": "LLVM", "Idx": 119449, "Length": 66, "Cover_Rate": 0.4647887323943662} {"Template_token": ["", "static", "MCDisassembler", "*", "createDisassembler", "(", "const", "Target", "&", "T", ",", "const", "MCSubtargetInfo", "&", "STI", ",", "MCContext", "&", "Ctx", ")", "{", "return", "new", "Disassembler", "(", "STI", ",", "Ctx", ")", ";"], "ground_truth": ["}"], "File": "MCS51Disassembler", "Func": "createMCS51Disassembler", "Target": "MCS51", "Target_Clf": "MPU", "Compiler_Type": "LLVM", "Idx": 119450, "Length": 30, "Cover_Rate": 1.0} {"Template_token": ["", "Inst", ".", "addOperand", "(", "MCOperand", "::", "createImm", "(", "Field", "<<", "", ")", ")", ";"], "ground_truth": ["return", "MCDisassembler", "::", "Success", ";"], "File": "MCS51Disassembler", "Func": "decodeCallTarget", "Target": "MCS51", "Target_Clf": "MPU", "Compiler_Type": "LLVM", "Idx": 119452, "Length": 19, "Cover_Rate": 0.475} {"Template_token": ["", "Inst", ".", "addOperand", "(", "MCOperand", "::", "createImm", "(", "Field", "<<", "", ")", ")", ";"], "ground_truth": ["return", "MCDisassembler", "::", "Success", ";"], "File": "MCS51Disassembler", "Func": "decodeCallTarget", "Target": "MCS51", "Target_Clf": "MPU", "Compiler_Type": "LLVM", "Idx": 119453, "Length": 19, "Cover_Rate": 0.475} {"Template_token": ["", "static", "DecodeStatus", "decodeFFMULRdRr", "(", "MCInst", "&", "Inst", ",", "unsigned", "Insn", ",", "uint64_t", "Address", ",", "const", "void", "*", "Decoder", ")", "{", "unsigned", "d", "=", "fieldFromInstruction", "(", "Insn", ",", "", ",", "", ")", "+", "", ";", "unsigned", "r", "=", "fieldFromInstruction", "(", "Insn", ",", "", ",", "", ")", "+", "", ";", "if", "(", "DecodeGPR8RegisterClass", "(", "Inst", ",", "d", ",", "Address", ",", "Decoder", ")", "==", "MCDisassembler", "::", "Fail", ")", "return", "MCDisassembler", "::", "Fail", ";"], "ground_truth": ["if", "(", "DecodeGPR8RegisterClass", "(", "Inst", ",", "r", ",", "Address", ",", "Decoder", ")", "==", "MCDisassembler", "::", "Fail", ")", "return", "MCDisassembler", "::", "Fail", ";"], "File": "MCS51Disassembler", "Func": "decodeFFMULRdRr", "Target": "MCS51", "Target_Clf": "MPU", "Compiler_Type": "LLVM", "Idx": 119454, "Length": 92, "Cover_Rate": 0.9387755102040817} {"Template_token": ["", "if", "(", "DecodeGPR8RegisterClass", "(", "Inst", ",", "d", ",", "Address", ",", "Decoder", ")", "==", "MCDisassembler", "::", "Fail", ")", "return", "MCDisassembler", "::", "Fail", ";", "if", "(", "DecodeGPR8RegisterClass", "(", "Inst", ",", "r", ",", "Address", ",", "Decoder", ")", "==", "MCDisassembler", "::", "Fail", ")", "return", "MCDisassembler", "::", "Fail", ";"], "ground_truth": ["return", "MCDisassembler", "::", "Success", ";"], "File": "MCS51Disassembler", "Func": "decodeFFMULRdRr", "Target": "MCS51", "Target_Clf": "MPU", "Compiler_Type": "LLVM", "Idx": 119455, "Length": 49, "Cover_Rate": 0.5} {"Template_token": ["", "unsigned", "b", "=", "fieldFromInstruction", "(", "Insn", ",", "", ",", "", ")", ";", "Inst", ".", "addOperand", "(", "MCOperand", "::", "createImm", "(", "addr", ")", ")", ";"], "ground_truth": ["Inst", ".", "addOperand", "(", "MCOperand", "::", "createImm", "(", "b", ")", ")", ";"], "File": "MCS51Disassembler", "Func": "decodeFIOBIT", "Target": "MCS51", "Target_Clf": "MPU", "Compiler_Type": "LLVM", "Idx": 119456, "Length": 36, "Cover_Rate": 0.4864864864864865} {"Template_token": ["", "unsigned", "addr", "=", "", ";", "addr", "|=", "fieldFromInstruction", "(", "Insn", ",", "", ",", "", ")", ";", "addr", "|=", "fieldFromInstruction", "(", "Insn", ",", "", ",", "", ")", "<<", "", ";", "unsigned", "reg", "=", "fieldFromInstruction", "(", "Insn", ",", "", ",", "", ")", ";", "if", "(", "DecodeGPR8RegisterClass", "(", "Inst", ",", "reg", ",", "Address", ",", "Decoder", ")", "==", "MCDisassembler", "::", "Fail", ")", "return", "MCDisassembler", "::", "Fail", ";", "Inst", ".", "addOperand", "(", "MCOperand", "::", "createImm", "(", "addr", ")", ")", ";", "return", "MCDisassembler", "::", "Success", ";"], "ground_truth": ["}"], "File": "MCS51Disassembler", "Func": "decodeFIORdA", "Target": "MCS51", "Target_Clf": "MPU", "Compiler_Type": "LLVM", "Idx": 119457, "Length": 81, "Cover_Rate": 0.801980198019802} {"Template_token": ["", "if", "(", "decodeFRd", "(", "Inst", ",", "Insn", ",", "Address", ",", "Decoder", ")", "==", "MCDisassembler", "::", "Fail", ")", "return", "MCDisassembler", "::", "Fail", ";", "Inst", ".", "addOperand", "(", "MCOperand", "::", "createReg", "(", "", ")", ")", ";"], "ground_truth": ["return", "MCDisassembler", "::", "Success", ";"], "File": "MCS51Disassembler", "Func": "decodeFLPMX", "Target": "MCS51", "Target_Clf": "MPU", "Compiler_Type": "LLVM", "Idx": 119458, "Length": 39, "Cover_Rate": 0.6290322580645161} {"Template_token": ["", "static", "DecodeStatus", "decodeFLPMX", "(", "MCInst", "&", "Inst", ",", "unsigned", "Insn", ",", "uint64_t", "Address", ",", "const", "void", "*", "Decoder", ")", "{", "if", "(", "decodeFRd", "(", "Inst", ",", "Insn", ",", "Address", ",", "Decoder", ")", "==", "MCDisassembler", "::", "Fail", ")", "return", "MCDisassembler", "::", "Fail", ";", "Inst", ".", "addOperand", "(", "MCOperand", "::", "createReg", "(", "", ")", ")", ";"], "ground_truth": ["return", "MCDisassembler", "::", "Success", ";"], "File": "MCS51Disassembler", "Func": "decodeFLPMX", "Target": "MCS51", "Target_Clf": "MPU", "Compiler_Type": "LLVM", "Idx": 119459, "Length": 59, "Cover_Rate": 0.9516129032258065} {"Template_token": ["", "static", "DecodeStatus", "decodeFMOVWRdRr", "(", "MCInst", "&", "Inst", ",", "unsigned", "Insn", ",", "uint64_t", "Address", ",", "const", "void", "*", "Decoder", ")", "{", "unsigned", "r", "=", "fieldFromInstruction", "(", "Insn", ",", "", ",", "", ")", "*", "", ";", "unsigned", "d", "=", "fieldFromInstruction", "(", "Insn", ",", "", ",", "", ")", "*", "", ";", "if", "(", "DecodeGPR8RegisterClass", "(", "Inst", ",", "r", ",", "Address", ",", "Decoder", ")", "==", "MCDisassembler", "::", "Fail", ")", "return", "MCDisassembler", "::", "Fail", ";", "if", "(", "DecodeGPR8RegisterClass", "(", "Inst", ",", "d", ",", "Address", ",", "Decoder", ")", "==", "MCDisassembler", "::", "Fail", ")", "return", "MCDisassembler", "::", "Fail", ";", "return", "MCDisassembler", "::", "Success", ";"], "ground_truth": ["}"], "File": "MCS51Disassembler", "Func": "decodeFMOVWRdRr", "Target": "MCS51", "Target_Clf": "MPU", "Compiler_Type": "LLVM", "Idx": 119460, "Length": 98, "Cover_Rate": 1.0} {"Template_token": ["", "unsigned", "rr", "=", "fieldFromInstruction", "(", "Insn", ",", "", ",", "", ")", "+", "", ";", "if", "(", "DecodeGPR8RegisterClass", "(", "Inst", ",", "rd", ",", "Address", ",", "Decoder", ")", "==", "MCDisassembler", "::", "Fail", ")", "return", "MCDisassembler", "::", "Fail", ";"], "ground_truth": ["if", "(", "DecodeGPR8RegisterClass", "(", "Inst", ",", "rr", ",", "Address", ",", "Decoder", ")", "==", "MCDisassembler", "::", "Fail", ")", "return", "MCDisassembler", "::", "Fail", ";"], "File": "MCS51Disassembler", "Func": "decodeFMUL2RdRr", "Target": "MCS51", "Target_Clf": "MPU", "Compiler_Type": "LLVM", "Idx": 119461, "Length": 58, "Cover_Rate": 0.5918367346938775} {"Template_token": ["", "unsigned", "rr", "=", "fieldFromInstruction", "(", "Insn", ",", "", ",", "", ")", "+", "", ";", "if", "(", "DecodeGPR8RegisterClass", "(", "Inst", ",", "rd", ",", "Address", ",", "Decoder", ")", "==", "MCDisassembler", "::", "Fail", ")", "return", "MCDisassembler", "::", "Fail", ";"], "ground_truth": ["if", "(", "DecodeGPR8RegisterClass", "(", "Inst", ",", "rr", ",", "Address", ",", "Decoder", ")", "==", "MCDisassembler", "::", "Fail", ")", "return", "MCDisassembler", "::", "Fail", ";"], "File": "MCS51Disassembler", "Func": "decodeFMUL2RdRr", "Target": "MCS51", "Target_Clf": "MPU", "Compiler_Type": "LLVM", "Idx": 119462, "Length": 58, "Cover_Rate": 0.5918367346938775} {"Template_token": ["", "unsigned", "d", "=", "fieldFromInstruction", "(", "Insn", ",", "", ",", "", ")", ";"], "ground_truth": ["if", "(", "DecodeGPR8RegisterClass", "(", "Inst", ",", "d", ",", "Address", ",", "Decoder", ")", "==", "MCDisassembler", "::", "Fail", ")", "return", "MCDisassembler", "::", "Fail", ";"], "File": "MCS51Disassembler", "Func": "decodeFRd", "Target": "MCS51", "Target_Clf": "MPU", "Compiler_Type": "LLVM", "Idx": 119463, "Length": 34, "Cover_Rate": 0.5666666666666667} {"Template_token": ["", "if", "(", "DecodeGPR8RegisterClass", "(", "Inst", ",", "d", ",", "Address", ",", "Decoder", ")", "==", "MCDisassembler", "::", "Fail", ")", "return", "MCDisassembler", "::", "Fail", ";"], "ground_truth": ["if", "(", "DecodeGPR8RegisterClass", "(", "Inst", ",", "d", ",", "Address", ",", "Decoder", ")", "==", "MCDisassembler", "::", "Fail", ")", "return", "MCDisassembler", "::", "Fail", ";"], "File": "MCS51Disassembler", "Func": "decodeFWRdK", "Target": "MCS51", "Target_Clf": "MPU", "Compiler_Type": "LLVM", "Idx": 119465, "Length": 44, "Cover_Rate": 0.3464566929133858} {"Template_token": ["", "if", "(", "DecodeGPR8RegisterClass", "(", "Inst", ",", "d", ",", "Address", ",", "Decoder", ")", "==", "MCDisassembler", "::", "Fail", ")", "return", "MCDisassembler", "::", "Fail", ";", "Inst", ".", "addOperand", "(", "MCOperand", "::", "createImm", "(", "k", ")", ")", ";"], "ground_truth": ["return", "MCDisassembler", "::", "Success", ";"], "File": "MCS51Disassembler", "Func": "decodeFWRdK", "Target": "MCS51", "Target_Clf": "MPU", "Compiler_Type": "LLVM", "Idx": 119466, "Length": 39, "Cover_Rate": 0.30708661417322836} {"Template_token": ["", "unsigned", "Register", "=", "GPRDecoderTable", "[", "RegNo", "]", ";"], "ground_truth": ["Inst", ".", "addOperand", "(", "MCOperand", "::", "createReg", "(", "Register", ")", ")", ";"], "File": "MCS51Disassembler", "Func": "DecodeGPR8RegisterClass", "Target": "MCS51", "Target_Clf": "MPU", "Compiler_Type": "LLVM", "Idx": 119467, "Length": 20, "Cover_Rate": 0.3508771929824561} {"Template_token": ["", "static", "DecodeStatus", "DecodeGPR8RegisterClass", "(", "MCInst", "&", "Inst", ",", "unsigned", "RegNo", ",", "uint64_t", "Address", ",", "const", "void", "*", "Decoder", ")", "{", "if", "(", "RegNo", ">", "", ")", "return", "MCDisassembler", "::", "Fail", ";", "unsigned", "Register", "=", "GPRDecoderTable", "[", "RegNo", "]", ";"], "ground_truth": ["Inst", ".", "addOperand", "(", "MCOperand", "::", "createReg", "(", "Register", ")", ")", ";"], "File": "MCS51Disassembler", "Func": "DecodeGPR8RegisterClass", "Target": "MCS51", "Target_Clf": "MPU", "Compiler_Type": "LLVM", "Idx": 119468, "Length": 51, "Cover_Rate": 0.8947368421052632} {"Template_token": ["", "if", "(", "RegNo", ">", "", ")", "return", "MCDisassembler", "::", "Fail", ";", "unsigned", "Register", "=", "GPRDecoderTable", "[", "RegNo", "+", "", "]", ";"], "ground_truth": ["Inst", ".", "addOperand", "(", "MCOperand", "::", "createReg", "(", "Register", ")", ")", ";"], "File": "MCS51Disassembler", "Func": "DecodeLD8RegisterClass", "Target": "MCS51", "Target_Clf": "MPU", "Compiler_Type": "LLVM", "Idx": 119469, "Length": 33, "Cover_Rate": 0.559322033898305} {"Template_token": ["", "unsigned", "Register", "=", "GPRDecoderTable", "[", "RegNo", "+", "", "]", ";", "Inst", ".", "addOperand", "(", "MCOperand", "::", "createReg", "(", "Register", ")", ")", ";"], "ground_truth": ["return", "MCDisassembler", "::", "Success", ";"], "File": "MCS51Disassembler", "Func": "DecodeLD8RegisterClass", "Target": "MCS51", "Target_Clf": "MPU", "Compiler_Type": "LLVM", "Idx": 119470, "Length": 27, "Cover_Rate": 0.4576271186440678} {"Template_token": ["", "static", "DecodeStatus", "DecodePTRREGSRegisterClass", "(", "MCInst", "&", "Inst", ",", "unsigned", "RegNo", ",", "uint64_t", "Address", ",", "const", "void", "*", "Decoder", ")", "{"], "ground_truth": ["assert", "(", "false", "&&", "", ")", ";"], "File": "MCS51Disassembler", "Func": "DecodePTRREGSRegisterClass", "Target": "MCS51", "Target_Clf": "MPU", "Compiler_Type": "LLVM", "Idx": 119471, "Length": 27, "Cover_Rate": 0.8181818181818182} {"Template_token": ["", "static", "const", "uint8_t", "*", "getDecoderTable", "(", "uint64_t", "Size", ")", "{", "switch", "(", "Size", ")", "{", "case", "", ":", "return", "DecoderTable16", ";", "case", "", ":", "return", "DecoderTable32", ";", "default", ":", "llvm_unreachable", "(", "", ")", ";"], "ground_truth": ["}"], "File": "MCS51Disassembler", "Func": "getDecoderTable", "Target": "MCS51", "Target_Clf": "MPU", "Compiler_Type": "LLVM", "Idx": 119473, "Length": 35, "Cover_Rate": 0.9722222222222222} {"Template_token": ["", "static", "const", "uint8_t", "*", "getDecoderTable", "(", "uint64_t", "Size", ")", "{"], "ground_truth": ["switch", "(", "Size", ")", "{"], "File": "MCS51Disassembler", "Func": "getDecoderTable", "Target": "MCS51", "Target_Clf": "MPU", "Compiler_Type": "LLVM", "Idx": 119474, "Length": 15, "Cover_Rate": 0.4166666666666667} {"Template_token": ["", "DecodeStatus", "Disassembler", "::", "getInstruction", "(", "MCInst", "&", "Instr", ",", "uint64_t", "&", "Size", ",", "ArrayRef", "<", "uint8_t", ">", "Bytes", ",", "uint64_t", "Address", ",", "raw_ostream", "&", "CStream", ")", "const", "{", "uint32_t", "Insn", ";", "DecodeStatus", "Result", ";", "{", "Result", "=", "readInstruction16", "(", "Bytes", ",", "Address", ",", "Size", ",", "Insn", ")", ";", "if", "(", "Result", "==", "MCDisassembler", "::", "Fail", ")", "return", "MCDisassembler", "::", "Fail", ";", "Result", "=", "decodeInstruction", "(", "getDecoderTable", "(", "Size", ")", ",", "Instr", ",", "Insn", ",", "Address", ",", "this", ",", "STI", ")", ";", "if", "(", "Result", "!=", "MCDisassembler", "::", "Fail", ")", "return", "Result", ";", "}", "{", "Result", "=", "readInstruction32", "(", "Bytes", ",", "Address", ",", "Size", ",", "Insn", ")", ";", "if", "(", "Result", "==", "MCDisassembler", "::", "Fail", ")", "return", "MCDisassembler", "::", "Fail", ";", "Result", "=", "decodeInstruction", "(", "getDecoderTable", "(", "Size", ")", ",", "Instr", ",", "Insn", ",", "Address", ",", "this", ",", "STI", ")", ";", "if", "(", "Result", "!=", "MCDisassembler", "::", "Fail", ")", "{", "return", "Result", ";", "}", "return", "MCDisassembler", "::", "Fail", ";", "}"], "ground_truth": ["}"], "File": "MCS51Disassembler", "Func": "getInstruction", "Target": "MCS51", "Target_Clf": "MPU", "Compiler_Type": "LLVM", "Idx": 119475, "Length": 160, "Cover_Rate": 1.0} {"Template_token": ["", "DecodeStatus", "Disassembler", "::", "getInstruction", "(", "MCInst", "&", "Instr", ",", "uint64_t", "&", "Size", ",", "ArrayRef", "<", "uint8_t", ">", "Bytes", ",", "uint64_t", "Address", ",", "raw_ostream", "&", "CStream", ")", "const", "{", "uint32_t", "Insn", ";", "DecodeStatus", "Result", ";", "{", "Result", "=", "readInstruction16", "(", "Bytes", ",", "Address", ",", "Size", ",", "Insn", ")", ";", "if", "(", "Result", "==", "MCDisassembler", "::", "Fail", ")", "return", "MCDisassembler", "::", "Fail", ";", "Result", "=", "decodeInstruction", "(", "getDecoderTable", "(", "Size", ")", ",", "Instr", ",", "Insn", ",", "Address", ",", "this", ",", "STI", ")", ";", "if", "(", "Result", "!=", "MCDisassembler", "::", "Fail", ")", "return", "Result", ";", "}", "{", "Result", "=", "readInstruction32", "(", "Bytes", ",", "Address", ",", "Size", ",", "Insn", ")", ";", "if", "(", "Result", "==", "MCDisassembler", "::", "Fail", ")", "return", "MCDisassembler", "::", "Fail", ";", "Result", "=", "decodeInstruction", "(", "getDecoderTable", "(", "Size", ")", ",", "Instr", ",", "Insn", ",", "Address", ",", "this", ",", "STI", ")", ";", "if", "(", "Result", "!=", "MCDisassembler", "::", "Fail", ")", "{", "return", "Result", ";", "}", "return", "MCDisassembler", "::", "Fail", ";"], "ground_truth": ["}"], "File": "MCS51Disassembler", "Func": "getInstruction", "Target": "MCS51", "Target_Clf": "MPU", "Compiler_Type": "LLVM", "Idx": 119476, "Length": 159, "Cover_Rate": 0.99375} {"Template_token": ["", "LLVM_EXTERNAL_VISIBILITY", "void", "LLVMInitializeDisassembler", "(", ")", "{"], "ground_truth": ["TargetRegistry", "::", "RegisterMCDisassembler", "(", "getTheTarget", "(", ")", ",", "createDisassembler", ")", ";"], "File": "MCS51Disassembler", "Func": "LLVMInitializeMCS51Disassembler", "Target": "MCS51", "Target_Clf": "MPU", "Compiler_Type": "LLVM", "Idx": 119478, "Length": 17, "Cover_Rate": 0.9444444444444444} {"Template_token": ["", "Disassembler", "(", "const", "MCSubtargetInfo", "&", "STI", ",", "MCContext", "&", "Ctx", ")", ":", "MCDisassembler", "(", "STI", ",", "Ctx", ")", "{"], "ground_truth": ["}"], "File": "MCS51Disassembler", "Func": "MCS51Disassembler", "Target": "MCS51", "Target_Clf": "MPU", "Compiler_Type": "LLVM", "Idx": 119479, "Length": 20, "Cover_Rate": 1.0} {"Template_token": ["", "Disassembler", "(", "const", "MCSubtargetInfo", "&", "STI", ",", "MCContext", "&", "Ctx", ")", ":", "MCDisassembler", "(", "STI", ",", "Ctx", ")", "{"], "ground_truth": ["}"], "File": "MCS51Disassembler", "Func": "MCS51Disassembler", "Target": "MCS51", "Target_Clf": "MPU", "Compiler_Type": "LLVM", "Idx": 119480, "Length": 20, "Cover_Rate": 1.0} {"Template_token": ["", "Size", "=", "", ";", "Insn", "=", "(", "Bytes", "[", "", "]", "<<", "", ")", "|", "(", "Bytes", "[", "", "]", "<<", "", ")", ";"], "ground_truth": ["return", "MCDisassembler", "::", "Success", ";"], "File": "MCS51Disassembler", "Func": "readInstruction16", "Target": "MCS51", "Target_Clf": "MPU", "Compiler_Type": "LLVM", "Idx": 119481, "Length": 29, "Cover_Rate": 0.3972602739726027} {"Template_token": ["", "Insn", "=", "(", "Bytes", "[", "", "]", "<<", "", ")", "|", "(", "Bytes", "[", "", "]", "<<", "", ")", ";"], "ground_truth": ["return", "MCDisassembler", "::", "Success", ";"], "File": "MCS51Disassembler", "Func": "readInstruction16", "Target": "MCS51", "Target_Clf": "MPU", "Compiler_Type": "LLVM", "Idx": 119482, "Length": 25, "Cover_Rate": 0.3424657534246575} {"Template_token": ["", "Size", "=", "", ";", "return", "MCDisassembler", "::", "Fail", ";", "}", "Size", "=", "", ";"], "ground_truth": ["Insn", "=", "(", "Bytes", "[", "", "]", "<<", "", ")", "|", "(", "Bytes", "[", "", "]", "<<", "", ")", "|", "(", "Bytes", "[", "", "]", "<<", "", ")", "|", "(", "Bytes", "[", "", "]", "<<", "", ")", ";"], "File": "MCS51Disassembler", "Func": "readInstruction32", "Target": "MCS51", "Target_Clf": "MPU", "Compiler_Type": "LLVM", "Idx": 119483, "Length": 52, "Cover_Rate": 0.5714285714285714} {"Template_token": ["", "Size", "=", "", ";", "return", "MCDisassembler", "::", "Fail", ";", "}", "Size", "=", "", ";", "Insn", "=", "(", "Bytes", "[", "", "]", "<<", "", ")", "|", "(", "Bytes", "[", "", "]", "<<", "", ")", "|", "(", "Bytes", "[", "", "]", "<<", "", ")", "|", "(", "Bytes", "[", "", "]", "<<", "", ")", ";", "return", "MCDisassembler", "::", "Success", ";"], "ground_truth": ["}"], "File": "MCS51Disassembler", "Func": "readInstruction32", "Target": "MCS51", "Target_Clf": "MPU", "Compiler_Type": "LLVM", "Idx": 119484, "Length": 58, "Cover_Rate": 0.6373626373626373} {"Template_token": ["", "virtual", "~", "Disassembler", "(", ")", "{"], "ground_truth": ["}"], "File": "MCS51Disassembler", "Func": "~MCS51Disassembler", "Target": "MCS51", "Target_Clf": "MPU", "Compiler_Type": "LLVM", "Idx": 119485, "Length": 7, "Cover_Rate": 1.0} {"Template_token": ["", "virtual", "~", "Disassembler", "(", ")", "{"], "ground_truth": ["}"], "File": "MCS51Disassembler", "Func": "~MCS51Disassembler", "Target": "MCS51", "Target_Clf": "MPU", "Compiler_Type": "LLVM", "Idx": 119486, "Length": 7, "Cover_Rate": 1.0} {"Template_token": ["", "return", "ELF", "::", "R__13_PCREL", ";", "case", "", ":", "return", "ELF", "::", "R__16", ";", "case", "", ":", "return", "ELF", "::", "R__16_PM", ";", "case", "", ":", "return", "ELF", "::", "R__LO8_LDI", ";", "case", "", ":", "return", "ELF", "::", "R__HI8_LDI", ";", "case", "", ":", "return", "ELF", "::", "R__HH8_LDI", ";", "case", "", ":", "return", "ELF", "::", "R__LO8_LDI_NEG", ";", "case", "", ":", "return", "ELF", "::", "R__HI8_LDI_NEG", ";", "case", "", ":", "return", "ELF", "::", "R__HH8_LDI_NEG", ";", "case", "", ":", "return", "ELF", "::", "R__LO8_LDI_PM", ";", "case", "", ":", "return", "ELF", "::", "R__HI8_LDI_PM", ";", "case", "", ":", "return", "ELF", "::", "R__HH8_LDI_PM", ";", "case", "", ":", "return", "ELF", "::", "R__LO8_LDI_PM_NEG", ";", "case", "", ":", "return", "ELF", "::", "R__HI8_LDI_PM_NEG", ";", "case", "", ":", "return", "ELF", "::", "R__HH8_LDI_PM_NEG", ";", "case", "", ":", "return", "ELF", "::", "R__CALL", ";", "case", "", ":", "return", "ELF", "::", "R__LDI", ";", "case", "", ":", "return", "ELF", "::", "R__6", ";", "case", "", ":", "return", "ELF", "::", "R__6_ADIW", ";", "case", "", ":", "return", "ELF", "::", "R__MS8_LDI", ";", "case", "", ":", "return", "ELF", "::", "R__MS8_LDI_NEG", ";", "case", "", ":", "return", "ELF", "::", "R__LO8_LDI_GS", ";", "case", "", ":"], "ground_truth": ["return", "ELF", "::", "R__HI8_LDI_GS", ";"], "File": "MCS51ELFObjectWriter", "Func": "getRelocType", "Target": "MCS51", "Target_Clf": "MPU", "Compiler_Type": "LLVM", "Idx": 119489, "Length": 181, "Cover_Rate": 0.32092198581560283} {"Template_token": ["", "ELFObjectWriter", "::", "ELFObjectWriter", "(", "uint8_t", "OSABI", ")", ":", "MCELFObjectTargetWriter", "(", "false", ",", "OSABI", ",", "ELF", "::", "EM_IAMCU", ",", "true", ")", "{"], "ground_truth": ["}"], "File": "MCS51ELFObjectWriter", "Func": "MCS51ELFObjectWriter", "Target": "MCS51", "Target_Clf": "MPU", "Compiler_Type": "LLVM", "Idx": 119490, "Length": 22, "Cover_Rate": 1.0} {"Template_token": ["", "ELFObjectWriter", "::", "ELFObjectWriter", "(", "uint8_t", "OSABI", ")", ":", "MCELFObjectTargetWriter", "(", "false", ",", "OSABI", ",", "ELF", "::", "EM_IAMCU", ",", "true", ")", "{"], "ground_truth": ["}"], "File": "MCS51ELFObjectWriter", "Func": "MCS51ELFObjectWriter", "Target": "MCS51", "Target_Clf": "MPU", "Compiler_Type": "LLVM", "Idx": 119491, "Length": 22, "Cover_Rate": 1.0} {"Template_token": ["", "virtual", "~", "ELFObjectWriter", "(", ")", "{"], "ground_truth": ["}"], "File": "MCS51ELFObjectWriter", "Func": "~MCS51ELFObjectWriter", "Target": "MCS51", "Target_Clf": "MPU", "Compiler_Type": "LLVM", "Idx": 119492, "Length": 7, "Cover_Rate": 1.0} {"Template_token": ["", "virtual", "~", "ELFObjectWriter", "(", ")", "{"], "ground_truth": ["}"], "File": "MCS51ELFObjectWriter", "Func": "~MCS51ELFObjectWriter", "Target": "MCS51", "Target_Clf": "MPU", "Compiler_Type": "LLVM", "Idx": 119493, "Length": 7, "Cover_Rate": 1.0} {"Template_token": ["", "else", "if", "(", "Features", "[", "", "]", ")", "EFlags", "|=", "ELF", "::", "EF__ARCH_5", ";", "else", "if", "(", "Features", "[", "", "]", ")", "EFlags", "|=", "ELF", "::", "EF__ARCH_51", ";", "else", "if", "(", "Features", "[", "", "]", ")", "EFlags", "|=", "ELF", "::", "EF__ARCH_6", ";", "else", "if", "(", "Features", "[", "", "]", ")", "EFlags", "|=", "ELF", "::", "EF__ARCH_TINY", ";", "else", "if", "(", "Features", "[", "", "]", ")", "EFlags", "|=", "ELF", "::", "EF__ARCH_XMEGA1", ";", "else", "if", "(", "Features", "[", "", "]", ")", "EFlags", "|=", "ELF", "::", "EF__ARCH_XMEGA2", ";", "else", "if", "(", "Features", "[", "", "]", ")", "EFlags", "|=", "ELF", "::", "EF__ARCH_XMEGA3", ";", "else", "if", "(", "Features", "[", "", "]", ")", "EFlags", "|=", "ELF", "::", "EF__ARCH_XMEGA4", ";", "else", "if", "(", "Features", "[", "", "]", ")", "EFlags", "|=", "ELF", "::", "EF__ARCH_XMEGA5", ";", "else", "if", "(", "Features", "[", "", "]", ")", "EFlags", "|=", "ELF", "::", "EF__ARCH_XMEGA6", ";"], "ground_truth": ["else", "if", "(", "Features", "[", "", "]", ")", "EFlags", "|=", "ELF", "::", "EF__ARCH_XMEGA7", ";"], "File": "MCS51ELFStreamer", "Func": "getEFlagsForFeatureSet", "Target": "MCS51", "Target_Clf": "MPU", "Compiler_Type": "LLVM", "Idx": 119494, "Length": 154, "Cover_Rate": 0.4935897435897436} {"Template_token": ["", "MCELFStreamer", "&", "getStreamer", "(", ")", "{"], "ground_truth": ["return", "static_cast", "<", "MCELFStreamer", "&", ">", "(", "Streamer", ")", ";"], "File": "MCS51ELFStreamer", "Func": "getStreamer", "Target": "MCS51", "Target_Clf": "MPU", "Compiler_Type": "LLVM", "Idx": 119495, "Length": 16, "Cover_Rate": 0.9411764705882353} {"Template_token": ["", "return", "static_cast", "<", "MCELFStreamer", "&", ">", "(", "Streamer", ")", ";"], "ground_truth": ["}"], "File": "MCS51ELFStreamer", "Func": "getStreamer", "Target": "MCS51", "Target_Clf": "MPU", "Compiler_Type": "LLVM", "Idx": 119496, "Length": 11, "Cover_Rate": 0.6470588235294118} {"Template_token": ["", "EFlags", "|=", "getEFlagsForFeatureSet", "(", "STI", ".", "getFeatureBits", "(", ")", ")", ";", "MCA", ".", "setELFHeaderEFlags", "(", "EFlags", ")", ";"], "ground_truth": ["}"], "File": "MCS51ELFStreamer", "Func": "MCS51ELFStreamer", "Target": "MCS51", "Target_Clf": "MPU", "Compiler_Type": "LLVM", "Idx": 119497, "Length": 19, "Cover_Rate": 0.3220338983050847} {"Template_token": ["", "ELFStreamer", "::", "ELFStreamer", "(", "MCStreamer", "&", "S", ",", "const", "MCSubtargetInfo", "&", "STI", ")", ":", "TargetStreamer", "(", "S", ")", "{"], "ground_truth": ["MCAssembler", "&", "MCA", "=", "getStreamer", "(", ")", ".", "getAssembler", "(", ")", ";"], "File": "MCS51ELFStreamer", "Func": "MCS51ELFStreamer", "Target": "MCS51", "Target_Clf": "MPU", "Compiler_Type": "LLVM", "Idx": 119498, "Length": 31, "Cover_Rate": 0.5254237288135594} {"Template_token": ["", "MachineInstrBuilder", "buildMI", "(", "Block", "&", "MBB", ",", "BlockIt", "MBBI", ",", "unsigned", "Opcode", ",", "Register", "DstReg", ")", "{"], "ground_truth": ["return", "BuildMI", "(", "MBB", ",", "MBBI", ",", "MBBI", "->", "getDebugLoc", "(", ")", ",", "TII", "->", "get", "(", "Opcode", ")", ",", "DstReg", ")", ";"], "File": "MCS51ExpandPseudoInsts", "Func": "buildMI", "Target": "MCS51", "Target_Clf": "MPU", "Compiler_Type": "LLVM", "Idx": 119499, "Length": 40, "Cover_Rate": 0.975609756097561} {"Template_token": ["", "return", "BuildMI", "(", "MBB", ",", "MBBI", ",", "MBBI", "->", "getDebugLoc", "(", ")", ",", "TII", "->", "get", "(", "Opcode", ")", ",", "DstReg", ")", ";"], "ground_truth": ["}"], "File": "MCS51ExpandPseudoInsts", "Func": "buildMI", "Target": "MCS51", "Target_Clf": "MPU", "Compiler_Type": "LLVM", "Idx": 119500, "Length": 24, "Cover_Rate": 0.5853658536585366} {"Template_token": ["", "FunctionPass", "*", "createExpandPseudoPass", "(", ")", "{", "return", "new", "ExpandPseudo", "(", ")", ";"], "ground_truth": ["}"], "File": "MCS51ExpandPseudoInsts", "Func": "createMCS51ExpandPseudoPass", "Target": "MCS51", "Target_Clf": "MPU", "Compiler_Type": "LLVM", "Idx": 119501, "Length": 13, "Cover_Rate": 1.0} {"Template_token": ["", "TRI", "->", "splitReg", "(", "SrcReg", ",", "SrcLoReg", ",", "SrcHiReg", ")", ";", "TRI", "->", "splitReg", "(", "DstReg", ",", "DstLoReg", ",", "DstHiReg", ")", ";", "buildMI", "(", "MBB", ",", "MBBI", ",", "OpLo", ")", ".", "addReg", "(", "DstLoReg", ",", "RegState", "::", "Define", "|", "getDeadRegState", "(", "DstIsDead", ")", ")", ".", "addReg", "(", "DstLoReg", ",", "getKillRegState", "(", "DstIsKill", ")", ")", ".", "addReg", "(", "SrcLoReg", ",", "getKillRegState", "(", "SrcIsKill", ")", ")", ";", "auto", "MIBHI", "=", "buildMI", "(", "MBB", ",", "MBBI", ",", "OpHi", ")", ".", "addReg", "(", "DstHiReg", ",", "RegState", "::", "Define", "|", "getDeadRegState", "(", "DstIsDead", ")", ")", ".", "addReg", "(", "DstHiReg", ",", "getKillRegState", "(", "DstIsKill", ")", ")", ".", "addReg", "(", "SrcHiReg", ",", "getKillRegState", "(", "SrcIsKill", ")", ")", ";", "if", "(", "ImpIsDead", ")", "MIBHI", "->", "getOperand", "(", "", ")", ".", "setIsDead", "(", ")", ";", "MIBHI", "->", "getOperand", "(", "", ")", ".", "setIsKill", "(", ")", ";", "MI", ".", "eraseFromParent", "(", ")", ";", "return", "true", ";"], "ground_truth": ["}"], "File": "MCS51ExpandPseudoInsts", "Func": "expandArith", "Target": "MCS51", "Target_Clf": "MPU", "Compiler_Type": "LLVM", "Idx": 119503, "Length": 147, "Cover_Rate": 0.5526315789473685} {"Template_token": ["", "Register", "SrcLoReg", ",", "SrcHiReg", ",", "DstLoReg", ",", "DstHiReg", ";", "Register", "DstReg", "=", "MI", ".", "getOperand", "(", "", ")", ".", "getReg", "(", ")", ";", "Register", "SrcReg", "=", "MI", ".", "getOperand", "(", "", ")", ".", "getReg", "(", ")", ";", "bool", "DstIsDead", "=", "MI", ".", "getOperand", "(", "", ")", ".", "isDead", "(", ")", ";", "bool", "DstIsKill", "=", "MI", ".", "getOperand", "(", "", ")", ".", "isKill", "(", ")", ";", "bool", "SrcIsKill", "=", "MI", ".", "getOperand", "(", "", ")", ".", "isKill", "(", ")", ";", "bool", "ImpIsDead", "=", "MI", ".", "getOperand", "(", "", ")", ".", "isDead", "(", ")", ";", "TRI", "->", "splitReg", "(", "SrcReg", ",", "SrcLoReg", ",", "SrcHiReg", ")", ";", "TRI", "->", "splitReg", "(", "DstReg", ",", "DstLoReg", ",", "DstHiReg", ")", ";"], "ground_truth": ["buildMI", "(", "MBB", ",", "MBBI", ",", "OpLo", ")", ".", "addReg", "(", "DstLoReg", ",", "RegState", "::", "Define", "|", "getDeadRegState", "(", "DstIsDead", ")", ")", ".", "addReg", "(", "DstLoReg", ",", "getKillRegState", "(", "DstIsKill", ")", ")", ".", "addReg", "(", "SrcLoReg", ",", "getKillRegState", "(", "SrcIsKill", ")", ")", ";"], "File": "MCS51ExpandPseudoInsts", "Func": "expandArith", "Target": "MCS51", "Target_Clf": "MPU", "Compiler_Type": "LLVM", "Idx": 119504, "Length": 158, "Cover_Rate": 0.5939849624060151} {"Template_token": ["", "buildMI", "(", "MBB", ",", "MBBI", ",", "", ")", ".", "addReg", "(", "DstHiReg", ",", "RegState", "::", "Define", ",", "getDeadRegState", "(", "DstIsDead", ")", ")", ".", "addReg", "(", "DstHiReg", ",", "getKillRegState", "(", "DstIsKill", ")", "|", "getDeadRegState", "(", "DstIsDead", ")", ")", ".", "addReg", "(", "DstHiReg", ",", "getKillRegState", "(", "DstIsKill", ")", ")", ";", "auto", "MIBHI", "=", "buildMI", "(", "MBB", ",", "MBBI", ",", "", ")", ".", "addReg", "(", "DstHiReg", ",", "RegState", "::", "Define", "|", "getDeadRegState", "(", "DstIsDead", ")", ")", ".", "addReg", "(", "DstHiReg", ",", "getKillRegState", "(", "DstIsKill", ")", ")", ".", "addReg", "(", "DstHiReg", ",", "getKillRegState", "(", "DstIsKill", ")", ")", ";", "if", "(", "ImpIsDead", ")", "MIBHI", "->", "getOperand", "(", "", ")", ".", "setIsDead", "(", ")", ";", "MI", ".", "eraseFromParent", "(", ")", ";", "return", "true", ";"], "ground_truth": ["}"], "File": "MCS51ExpandPseudoInsts", "Func": "expandASRW8Rd", "Target": "MCS51", "Target_Clf": "MPU", "Compiler_Type": "LLVM", "Idx": 119505, "Length": 119, "Cover_Rate": 0.4857142857142857} {"Template_token": ["", "bool", "ExpandPseudo", "::", "expandAtomic", "(", "Block", "&", "MBB", ",", "BlockIt", "MBBI", ",", "Func", "f", ")", "{", "MachineInstr", "&", "MI", "=", "*", "MBBI", ";", "buildMI", "(", "MBB", ",", "MBBI", ",", "", ")", ".", "addReg", "(", "SCRATCH_REGISTER", ",", "RegState", "::", "Define", ")", ".", "addImm", "(", "SREG_ADDR", ")", ";"], "ground_truth": ["buildMI", "(", "MBB", ",", "MBBI", ",", "", ")", ".", "addImm", "(", "", ")", ";"], "File": "MCS51ExpandPseudoInsts", "Func": "expandAtomic", "Target": "MCS51", "Target_Clf": "MPU", "Compiler_Type": "LLVM", "Idx": 119506, "Length": 60, "Cover_Rate": 0.6} {"Template_token": ["", "return", "expandAtomic", "(", "MBB", ",", "MBBI", ",", "[", "&", "]", "(", "MachineInstr", "&", "MI", ")", "{", "auto", "DstReg", "=", "MI", ".", "getOperand", "(", "", ")", ".", "getReg", "(", ")", ";", "auto", "PtrOp", "=", "MI", ".", "getOperand", "(", "", ")", ";", "auto", "SrcReg", "=", "MI", ".", "getOperand", "(", "", ")", ".", "getReg", "(", ")", ";", "unsigned", "LoadOpcode", "=", "(", "Width", "==", "", ")", "?", "", ":", "", ";", "unsigned", "StoreOpcode", "=", "(", "Width", "==", "", ")", "?", "", ":", "", ";", "buildMI", "(", "MBB", ",", "MBBI", ",", "LoadOpcode", ",", "DstReg", ")", ".", "addReg", "(", "PtrOp", ".", "getReg", "(", ")", ")", ";"], "ground_truth": ["buildMI", "(", "MBB", ",", "MBBI", ",", "ArithOpcode", ",", "DstReg", ")", ".", "addReg", "(", "DstReg", ")", ".", "addReg", "(", "SrcReg", ")", ";"], "File": "MCS51ExpandPseudoInsts", "Func": "expandAtomicArithmeticOp", "Target": "MCS51", "Target_Clf": "MPU", "Compiler_Type": "LLVM", "Idx": 119507, "Length": 121, "Cover_Rate": 0.7076023391812866} {"Template_token": ["", "auto", "SrcReg", "=", "MI", ".", "getOperand", "(", "", ")", ".", "getReg", "(", ")", ";", "unsigned", "LoadOpcode", "=", "(", "Width", "==", "", ")", "?", "", ":", "", ";", "unsigned", "StoreOpcode", "=", "(", "Width", "==", "", ")", "?", "", ":", "", ";", "buildMI", "(", "MBB", ",", "MBBI", ",", "LoadOpcode", ",", "DstReg", ")", ".", "addReg", "(", "PtrOp", ".", "getReg", "(", ")", ")", ";"], "ground_truth": ["buildMI", "(", "MBB", ",", "MBBI", ",", "ArithOpcode", ",", "DstReg", ")", ".", "addReg", "(", "DstReg", ")", ".", "addReg", "(", "SrcReg", ")", ";"], "File": "MCS51ExpandPseudoInsts", "Func": "expandAtomicArithmeticOp", "Target": "MCS51", "Target_Clf": "MPU", "Compiler_Type": "LLVM", "Idx": 119508, "Length": 81, "Cover_Rate": 0.47368421052631576} {"Template_token": ["", "bool", "ExpandPseudo", "::", "expandAtomicBinaryOp", "(", "unsigned", "Opcode", ",", "Block", "&", "MBB", ",", "BlockIt", "MBBI", ")", "{"], "ground_truth": ["return", "expandAtomicBinaryOp", "(", "Opcode", ",", "MBB", ",", "MBBI", ",", "[", "]", "(", "MachineInstr", "&", "MI", ")", "{", "}", ")", ";"], "File": "MCS51ExpandPseudoInsts", "Func": "expandAtomicBinaryOp", "Target": "MCS51", "Target_Clf": "MPU", "Compiler_Type": "LLVM", "Idx": 119510, "Length": 36, "Cover_Rate": 0.972972972972973} {"Template_token": ["", "expandLogic", "(", "unsigned", "Op", ",", "Block", "&", "MBB", ",", "BlockIt", "MBBI", ")", "{", "MachineInstr", "&", "MI", "=", "*", "MBBI", ";", "Register", "SrcLoReg", ",", "SrcHiReg", ",", "DstLoReg", ",", "DstHiReg", ";", "Register", "DstReg", "=", "MI", ".", "getOperand", "(", "", ")", ".", "getReg", "(", ")", ";", "Register", "SrcReg", "=", "MI", ".", "getOperand", "(", "", ")", ".", "getReg", "(", ")", ";", "bool", "DstIsDead", "=", "MI", ".", "getOperand", "(", "", ")", ".", "isDead", "(", ")", ";", "bool", "DstIsKill", "=", "MI", ".", "getOperand", "(", "", ")", ".", "isKill", "(", ")", ";", "bool", "SrcIsKill", "=", "MI", ".", "getOperand", "(", "", ")", ".", "isKill", "(", ")", ";", "bool", "ImpIsDead", "=", "MI", ".", "getOperand", "(", "", ")", ".", "isDead", "(", ")", ";", "TRI", "->", "splitReg", "(", "SrcReg", ",", "SrcLoReg", ",", "SrcHiReg", ")", ";", "TRI", "->", "splitReg", "(", "DstReg", ",", "DstLoReg", ",", "DstHiReg", ")", ";"], "ground_truth": ["auto", "MIBLO", "=", "buildMI", "(", "MBB", ",", "MBBI", ",", "Op", ")", ".", "addReg", "(", "DstLoReg", ",", "RegState", "::", "Define", "|", "getDeadRegState", "(", "DstIsDead", ")", ")", ".", "addReg", "(", "DstLoReg", ",", "getKillRegState", "(", "DstIsKill", ")", ")", ".", "addReg", "(", "SrcLoReg", ",", "getKillRegState", "(", "SrcIsKill", ")", ")", ";"], "File": "MCS51ExpandPseudoInsts", "Func": "expandLogic", "Target": "MCS51", "Target_Clf": "MPU", "Compiler_Type": "LLVM", "Idx": 119511, "Length": 181, "Cover_Rate": 0.6804511278195489} {"Template_token": ["", "TRI", "->", "splitReg", "(", "SrcReg", ",", "SrcLoReg", ",", "SrcHiReg", ")", ";", "TRI", "->", "splitReg", "(", "DstReg", ",", "DstLoReg", ",", "DstHiReg", ")", ";", "auto", "MIBLO", "=", "buildMI", "(", "MBB", ",", "MBBI", ",", "Op", ")", ".", "addReg", "(", "DstLoReg", ",", "RegState", "::", "Define", "|", "getDeadRegState", "(", "DstIsDead", ")", ")", ".", "addReg", "(", "DstLoReg", ",", "getKillRegState", "(", "DstIsKill", ")", ")", ".", "addReg", "(", "SrcLoReg", ",", "getKillRegState", "(", "SrcIsKill", ")", ")", ";", "MIBLO", "->", "getOperand", "(", "", ")", ".", "setIsDead", "(", ")", ";"], "ground_truth": ["auto", "MIBHI", "=", "buildMI", "(", "MBB", ",", "MBBI", ",", "Op", ")", ".", "addReg", "(", "DstHiReg", ",", "RegState", "::", "Define", "|", "getDeadRegState", "(", "DstIsDead", ")", ")", ".", "addReg", "(", "DstHiReg", ",", "getKillRegState", "(", "DstIsKill", ")", ")", ".", "addReg", "(", "SrcHiReg", ",", "getKillRegState", "(", "SrcIsKill", ")", ")", ";"], "File": "MCS51ExpandPseudoInsts", "Func": "expandLogic", "Target": "MCS51", "Target_Clf": "MPU", "Compiler_Type": "LLVM", "Idx": 119512, "Length": 125, "Cover_Rate": 0.4699248120300752} {"Template_token": ["", "expandLogicImm", "(", "unsigned", "Op", ",", "Block", "&", "MBB", ",", "BlockIt", "MBBI", ")", "{", "MachineInstr", "&", "MI", "=", "*", "MBBI", ";", "Register", "DstLoReg", ",", "DstHiReg", ";", "Register", "DstReg", "=", "MI", ".", "getOperand", "(", "", ")", ".", "getReg", "(", ")", ";", "bool", "DstIsDead", "=", "MI", ".", "getOperand", "(", "", ")", ".", "isDead", "(", ")", ";", "bool", "SrcIsKill", "=", "MI", ".", "getOperand", "(", "", ")", ".", "isKill", "(", ")", ";", "bool", "ImpIsDead", "=", "MI", ".", "getOperand", "(", "", ")", ".", "isDead", "(", ")", ";", "unsigned", "Imm", "=", "MI", ".", "getOperand", "(", "", ")", ".", "getImm", "(", ")", ";", "unsigned", "Lo8", "=", "Imm", "&", "", ";"], "ground_truth": ["unsigned", "Hi8", "=", "(", "Imm", ">>", "", ")", "&", "", ";"], "File": "MCS51ExpandPseudoInsts", "Func": "expandLogicImm", "Target": "MCS51", "Target_Clf": "MPU", "Compiler_Type": "LLVM", "Idx": 119513, "Length": 113, "Cover_Rate": 0.4200743494423792} {"Template_token": ["", "bool", "DstIsDead", "=", "MI", ".", "getOperand", "(", "", ")", ".", "isDead", "(", ")", ";", "bool", "SrcIsKill", "=", "MI", ".", "getOperand", "(", "", ")", ".", "isKill", "(", ")", ";", "bool", "ImpIsDead", "=", "MI", ".", "getOperand", "(", "", ")", ".", "isDead", "(", ")", ";", "unsigned", "Imm", "=", "MI", ".", "getOperand", "(", "", ")", ".", "getImm", "(", ")", ";", "unsigned", "Lo8", "=", "Imm", "&", "", ";", "unsigned", "Hi8", "=", "(", "Imm", ">>", "", ")", "&", "", ";", "TRI", "->", "splitReg", "(", "DstReg", ",", "DstLoReg", ",", "DstHiReg", ")", ";", "if", "(", "!", "isLogicImmOpRedundant", "(", "Op", ",", "Lo8", ")", ")", "{", "auto", "MIBLO", "=", "buildMI", "(", "MBB", ",", "MBBI", ",", "Op", ")", ".", "addReg", "(", "DstLoReg", ",", "RegState", "::", "Define", "|", "getDeadRegState", "(", "DstIsDead", ")", ")", ".", "addReg", "(", "DstLoReg", ",", "getKillRegState", "(", "SrcIsKill", ")", ")", ".", "addImm", "(", "Lo8", ")", ";"], "ground_truth": ["MIBLO", "->", "getOperand", "(", "", ")", ".", "setIsDead", "(", ")", ";"], "File": "MCS51ExpandPseudoInsts", "Func": "expandLogicImm", "Target": "MCS51", "Target_Clf": "MPU", "Compiler_Type": "LLVM", "Idx": 119514, "Length": 148, "Cover_Rate": 0.550185873605948} {"Template_token": ["", "buildMI", "(", "MBB", ",", "MBBI", ",", "", ")", ".", "addReg", "(", "DstReg", ",", "RegState", "::", "Define", "|", "getDeadRegState", "(", "DstIsDead", ")", ")", ".", "addReg", "(", "DstReg", ",", "getKillRegState", "(", "DstIsKill", ")", ")", ".", "addReg", "(", "DstReg", ",", "getKillRegState", "(", "DstIsKill", ")", ")", ";", "auto", "MIRRC", "=", "buildMI", "(", "MBB", ",", "MBBI", ",", "", ")", ".", "addReg", "(", "DstReg", ",", "RegState", "::", "Define", "|", "getDeadRegState", "(", "DstIsDead", ")", ")", ".", "addReg", "(", "DstReg", ",", "getKillRegState", "(", "DstIsKill", ")", ")", ";", "if", "(", "ImpIsDead", ")", "MIRRC", "->", "getOperand", "(", "", ")", ".", "setIsDead", "(", ")", ";", "MIRRC", "->", "getOperand", "(", "", ")", ".", "setIsKill", "(", ")", ";", "MI", ".", "eraseFromParent", "(", ")", ";"], "ground_truth": ["return", "true", ";"], "File": "MCS51ExpandPseudoInsts", "Func": "expandLSLB7Rd", "Target": "MCS51", "Target_Clf": "MPU", "Compiler_Type": "LLVM", "Idx": 119515, "Length": 114, "Cover_Rate": 0.475} {"Template_token": ["", "bool", "ImpIsDead", "=", "MI", ".", "getOperand", "(", "", ")", ".", "isDead", "(", ")", ";", "TRI", "->", "splitReg", "(", "DstReg", ",", "DstLoReg", ",", "DstHiReg", ")", ";", "buildMI", "(", "MBB", ",", "MBBI", ",", "", ")", ".", "addReg", "(", "DstHiReg", ",", "RegState", "::", "Define", "|", "getDeadRegState", "(", "DstIsDead", ")", ")", ".", "addReg", "(", "DstLoReg", ")", ";", "buildMI", "(", "MBB", ",", "MBBI", ",", "", ")", ".", "addReg", "(", "DstHiReg", ",", "RegState", "::", "Define", "|", "getDeadRegState", "(", "DstIsDead", ")", ")", ".", "addReg", "(", "DstHiReg", ",", "getKillRegState", "(", "DstIsKill", ")", ")", ";", "auto", "MI0", "=", "buildMI", "(", "MBB", ",", "MBBI", ",", "", ")", ".", "addReg", "(", "DstHiReg", ",", "RegState", "::", "Define", "|", "getDeadRegState", "(", "DstIsDead", ")", ")", ".", "addReg", "(", "DstHiReg", ",", "getKillRegState", "(", "DstIsKill", ")", ")", ".", "addImm", "(", "", ")", ";", "MI0", "->", "getOperand", "(", "", ")", ".", "setIsDead", "(", ")", ";"], "ground_truth": ["auto", "MI1", "=", "buildMI", "(", "MBB", ",", "MBBI", ",", "", ")", ".", "addReg", "(", "DstLoReg", ",", "RegState", "::", "Define", "|", "getDeadRegState", "(", "DstIsDead", ")", ")", ".", "addReg", "(", "DstLoReg", ",", "getKillRegState", "(", "DstIsKill", ")", ")", ".", "addReg", "(", "DstLoReg", ",", "getKillRegState", "(", "DstIsKill", ")", ")", ";"], "File": "MCS51ExpandPseudoInsts", "Func": "expandLSLW12Rd", "Target": "MCS51", "Target_Clf": "MPU", "Compiler_Type": "LLVM", "Idx": 119516, "Length": 184, "Cover_Rate": 0.647887323943662} {"Template_token": ["", "Register", "DstReg", "=", "MI", ".", "getOperand", "(", "", ")", ".", "getReg", "(", ")", ";", "bool", "DstIsDead", "=", "MI", ".", "getOperand", "(", "", ")", ".", "isDead", "(", ")", ";", "bool", "DstIsKill", "=", "MI", ".", "getOperand", "(", "", ")", ".", "isKill", "(", ")", ";", "bool", "ImpIsDead", "=", "MI", ".", "getOperand", "(", "", ")", ".", "isDead", "(", ")", ";", "TRI", "->", "splitReg", "(", "DstReg", ",", "DstLoReg", ",", "DstHiReg", ")", ";", "buildMI", "(", "MBB", ",", "MBBI", ",", "", ")", ".", "addReg", "(", "DstHiReg", ",", "RegState", "::", "Define", "|", "getDeadRegState", "(", "DstIsDead", ")", ")", ".", "addReg", "(", "DstHiReg", ",", "getKillRegState", "(", "DstIsKill", ")", ")", ";", "buildMI", "(", "MBB", ",", "MBBI", ",", "", ")", ".", "addReg", "(", "DstLoReg", ",", "RegState", "::", "Define", "|", "getDeadRegState", "(", "DstIsDead", ")", ")", ".", "addReg", "(", "DstLoReg", ",", "getKillRegState", "(", "DstIsKill", ")", ")", ";", "auto", "MI0", "=", "buildMI", "(", "MBB", ",", "MBBI", ",", "", ")", ".", "addReg", "(", "DstHiReg", ",", "RegState", "::", "Define", "|", "getDeadRegState", "(", "DstIsDead", ")", ")", ".", "addReg", "(", "DstHiReg", ",", "getKillRegState", "(", "DstIsKill", ")", ")", ".", "addImm", "(", "", ")", ";", "MI0", "->", "getOperand", "(", "", ")", ".", "setIsDead", "(", ")", ";", "auto", "MI1", "=", "buildMI", "(", "MBB", ",", "MBBI", ",", "", ")", ".", "addReg", "(", "DstHiReg", ",", "RegState", "::", "Define", "|", "getDeadRegState", "(", "DstIsDead", ")", ")", ".", "addReg", "(", "DstHiReg", ",", "getKillRegState", "(", "DstIsKill", ")", ")", ".", "addReg", "(", "DstLoReg", ")", ";", "MI1", "->", "getOperand", "(", "", ")", ".", "setIsDead", "(", ")", ";", "auto", "MI2", "=", "buildMI", "(", "MBB", ",", "MBBI", ",", "", ")", ".", "addReg", "(", "DstLoReg", ",", "RegState", "::", "Define", "|", "getDeadRegState", "(", "DstIsDead", ")", ")", ".", "addReg", "(", "DstLoReg", ",", "getKillRegState", "(", "DstIsKill", ")", ")", ".", "addImm", "(", "", ")", ";"], "ground_truth": ["MI2", "->", "getOperand", "(", "", ")", ".", "setIsDead", "(", ")", ";"], "File": "MCS51ExpandPseudoInsts", "Func": "expandLSLW4Rd", "Target": "MCS51", "Target_Clf": "MPU", "Compiler_Type": "LLVM", "Idx": 119517, "Length": 289, "Cover_Rate": 0.7372448979591837} {"Template_token": ["", "bool", "ImpIsDead", "=", "MI", ".", "getOperand", "(", "", ")", ".", "isDead", "(", ")", ";", "TRI", "->", "splitReg", "(", "DstReg", ",", "DstLoReg", ",", "DstHiReg", ")", ";", "buildMI", "(", "MBB", ",", "MBBI", ",", "", ")", ".", "addReg", "(", "DstHiReg", ",", "RegState", "::", "Define", "|", "getDeadRegState", "(", "DstIsDead", ")", ")", ".", "addReg", "(", "DstHiReg", ",", "getKillRegState", "(", "DstIsKill", ")", ")", ";", "buildMI", "(", "MBB", ",", "MBBI", ",", "", ")", ".", "addReg", "(", "DstLoReg", ",", "RegState", "::", "Define", "|", "getDeadRegState", "(", "DstIsDead", ")", ")", ".", "addReg", "(", "DstLoReg", ",", "getKillRegState", "(", "DstIsKill", ")", ")", ";", "auto", "MI0", "=", "buildMI", "(", "MBB", ",", "MBBI", ",", "", ")", ".", "addReg", "(", "DstHiReg", ",", "RegState", "::", "Define", "|", "getDeadRegState", "(", "DstIsDead", ")", ")", ".", "addReg", "(", "DstHiReg", ",", "getKillRegState", "(", "DstIsKill", ")", ")", ".", "addImm", "(", "", ")", ";", "MI0", "->", "getOperand", "(", "", ")", ".", "setIsDead", "(", ")", ";", "auto", "MI1", "=", "buildMI", "(", "MBB", ",", "MBBI", ",", "", ")", ".", "addReg", "(", "DstHiReg", ",", "RegState", "::", "Define", "|", "getDeadRegState", "(", "DstIsDead", ")", ")", ".", "addReg", "(", "DstHiReg", ",", "getKillRegState", "(", "DstIsKill", ")", ")", ".", "addReg", "(", "DstLoReg", ")", ";", "MI1", "->", "getOperand", "(", "", ")", ".", "setIsDead", "(", ")", ";", "auto", "MI2", "=", "buildMI", "(", "MBB", ",", "MBBI", ",", "", ")", ".", "addReg", "(", "DstLoReg", ",", "RegState", "::", "Define", "|", "getDeadRegState", "(", "DstIsDead", ")", ")", ".", "addReg", "(", "DstLoReg", ",", "getKillRegState", "(", "DstIsKill", ")", ")", ".", "addImm", "(", "", ")", ";", "MI2", "->", "getOperand", "(", "", ")", ".", "setIsDead", "(", ")", ";", "auto", "MI3", "=", "buildMI", "(", "MBB", ",", "MBBI", ",", "", ")", ".", "addReg", "(", "DstHiReg", ",", "RegState", "::", "Define", "|", "getDeadRegState", "(", "DstIsDead", ")", ")", ".", "addReg", "(", "DstHiReg", ",", "getKillRegState", "(", "DstIsKill", ")", ")", ".", "addReg", "(", "DstLoReg", ")", ";"], "ground_truth": ["if", "(", "ImpIsDead", ")", "MI3", "->", "getOperand", "(", "", ")", ".", "setIsDead", "(", ")", ";"], "File": "MCS51ExpandPseudoInsts", "Func": "expandLSLW4Rd", "Target": "MCS51", "Target_Clf": "MPU", "Compiler_Type": "LLVM", "Idx": 119518, "Length": 303, "Cover_Rate": 0.7729591836734694} {"Template_token": ["", "bool", "ExpandPseudo", "::", "expandLSLW8Rd", "(", "Block", "&", "MBB", ",", "BlockIt", "MBBI", ")", "{", "MachineInstr", "&", "MI", "=", "*", "MBBI", ";", "Register", "DstLoReg", ",", "DstHiReg", ";", "Register", "DstReg", "=", "MI", ".", "getOperand", "(", "", ")", ".", "getReg", "(", ")", ";", "bool", "DstIsDead", "=", "MI", ".", "getOperand", "(", "", ")", ".", "isDead", "(", ")", ";", "bool", "DstIsKill", "=", "MI", ".", "getOperand", "(", "", ")", ".", "isKill", "(", ")", ";", "bool", "ImpIsDead", "=", "MI", ".", "getOperand", "(", "", ")", ".", "isDead", "(", ")", ";"], "ground_truth": ["TRI", "->", "splitReg", "(", "DstReg", ",", "DstLoReg", ",", "DstHiReg", ")", ";"], "File": "MCS51ExpandPseudoInsts", "Func": "expandLSLW8Rd", "Target": "MCS51", "Target_Clf": "MPU", "Compiler_Type": "LLVM", "Idx": 119519, "Length": 92, "Cover_Rate": 0.4717948717948718} {"Template_token": ["", "bool", "ExpandPseudo", "::", "expandLSLW8Rd", "(", "Block", "&", "MBB", ",", "BlockIt", "MBBI", ")", "{", "MachineInstr", "&", "MI", "=", "*", "MBBI", ";", "Register", "DstLoReg", ",", "DstHiReg", ";", "Register", "DstReg", "=", "MI", ".", "getOperand", "(", "", ")", ".", "getReg", "(", ")", ";", "bool", "DstIsDead", "=", "MI", ".", "getOperand", "(", "", ")", ".", "isDead", "(", ")", ";", "bool", "DstIsKill", "=", "MI", ".", "getOperand", "(", "", ")", ".", "isKill", "(", ")", ";", "bool", "ImpIsDead", "=", "MI", ".", "getOperand", "(", "", ")", ".", "isDead", "(", ")", ";", "TRI", "->", "splitReg", "(", "DstReg", ",", "DstLoReg", ",", "DstHiReg", ")", ";"], "ground_truth": ["buildMI", "(", "MBB", ",", "MBBI", ",", "", ")", ".", "addReg", "(", "DstHiReg", ",", "RegState", "::", "Define", "|", "getDeadRegState", "(", "DstIsDead", ")", ")", ".", "addReg", "(", "DstLoReg", ")", ";"], "File": "MCS51ExpandPseudoInsts", "Func": "expandLSLW8Rd", "Target": "MCS51", "Target_Clf": "MPU", "Compiler_Type": "LLVM", "Idx": 119520, "Length": 120, "Cover_Rate": 0.6153846153846154} {"Template_token": ["", "bool", "ExpandPseudo", "::", "expandLSRB7Rd", "(", "Block", "&", "MBB", ",", "BlockIt", "MBBI", ")", "{", "MachineInstr", "&", "MI", "=", "*", "MBBI", ";", "Register", "DstReg", "=", "MI", ".", "getOperand", "(", "", ")", ".", "getReg", "(", ")", ";", "bool", "DstIsDead", "=", "MI", ".", "getOperand", "(", "", ")", ".", "isDead", "(", ")", ";", "bool", "DstIsKill", "=", "MI", ".", "getOperand", "(", "", ")", ".", "isKill", "(", ")", ";", "bool", "ImpIsDead", "=", "MI", ".", "getOperand", "(", "", ")", ".", "isDead", "(", ")", ";", "buildMI", "(", "MBB", ",", "MBBI", ",", "", ")", ".", "addReg", "(", "DstReg", ",", "RegState", "::", "Define", "|", "getDeadRegState", "(", "DstIsDead", ")", ")", ".", "addReg", "(", "DstReg", ",", "getKillRegState", "(", "DstIsKill", ")", ")", ".", "addReg", "(", "DstReg", ",", "getKillRegState", "(", "DstIsKill", ")", ")", "->", "getOperand", "(", "", ")", ".", "setIsUndef", "(", "true", ")", ";", "buildMI", "(", "MBB", ",", "MBBI", ",", "", ")", ".", "addReg", "(", "DstReg", ",", "RegState", "::", "Define", "|", "getDeadRegState", "(", "DstIsDead", ")", ")", ".", "addReg", "(", "DstReg", ",", "getKillRegState", "(", "DstIsKill", ")", ")", ".", "addReg", "(", "DstReg", ",", "getKillRegState", "(", "DstIsKill", ")", ")", ";", "auto", "MIRRC", "=", "buildMI", "(", "MBB", ",", "MBBI", ",", "", ")", ".", "addReg", "(", "DstReg", ",", "RegState", "::", "Define", "|", "getDeadRegState", "(", "DstIsDead", ")", ")", ".", "addReg", "(", "DstReg", ",", "getKillRegState", "(", "DstIsKill", ")", ")", ".", "addReg", "(", "DstReg", ",", "getKillRegState", "(", "DstIsKill", ")", ")", ";", "if", "(", "ImpIsDead", ")", "MIRRC", "->", "getOperand", "(", "", ")", ".", "setIsDead", "(", ")", ";"], "ground_truth": ["MIRRC", "->", "getOperand", "(", "", ")", ".", "setIsKill", "(", ")", ";"], "File": "MCS51ExpandPseudoInsts", "Func": "expandLSRB7Rd", "Target": "MCS51", "Target_Clf": "MPU", "Compiler_Type": "LLVM", "Idx": 119521, "Length": 244, "Cover_Rate": 0.9384615384615385} {"Template_token": ["", "bool", "DstIsDead", "=", "MI", ".", "getOperand", "(", "", ")", ".", "isDead", "(", ")", ";", "bool", "DstIsKill", "=", "MI", ".", "getOperand", "(", "", ")", ".", "isKill", "(", ")", ";", "bool", "ImpIsDead", "=", "MI", ".", "getOperand", "(", "", ")", ".", "isDead", "(", ")", ";", "buildMI", "(", "MBB", ",", "MBBI", ",", "", ")", ".", "addReg", "(", "DstReg", ",", "RegState", "::", "Define", "|", "getDeadRegState", "(", "DstIsDead", ")", ")", ".", "addReg", "(", "DstReg", ",", "getKillRegState", "(", "DstIsKill", ")", ")", ".", "addReg", "(", "DstReg", ",", "getKillRegState", "(", "DstIsKill", ")", ")", "->", "getOperand", "(", "", ")", ".", "setIsUndef", "(", "true", ")", ";", "buildMI", "(", "MBB", ",", "MBBI", ",", "", ")", ".", "addReg", "(", "DstReg", ",", "RegState", "::", "Define", "|", "getDeadRegState", "(", "DstIsDead", ")", ")", ".", "addReg", "(", "DstReg", ",", "getKillRegState", "(", "DstIsKill", ")", ")", ".", "addReg", "(", "DstReg", ",", "getKillRegState", "(", "DstIsKill", ")", ")", ";", "auto", "MIRRC", "=", "buildMI", "(", "MBB", ",", "MBBI", ",", "", ")", ".", "addReg", "(", "DstReg", ",", "RegState", "::", "Define", "|", "getDeadRegState", "(", "DstIsDead", ")", ")", ".", "addReg", "(", "DstReg", ",", "getKillRegState", "(", "DstIsKill", ")", ")", ".", "addReg", "(", "DstReg", ",", "getKillRegState", "(", "DstIsKill", ")", ")", ";", "if", "(", "ImpIsDead", ")", "MIRRC", "->", "getOperand", "(", "", ")", ".", "setIsDead", "(", ")", ";", "MIRRC", "->", "getOperand", "(", "", ")", ".", "setIsKill", "(", ")", ";", "MI", ".", "eraseFromParent", "(", ")", ";"], "ground_truth": ["return", "true", ";"], "File": "MCS51ExpandPseudoInsts", "Func": "expandLSRB7Rd", "Target": "MCS51", "Target_Clf": "MPU", "Compiler_Type": "LLVM", "Idx": 119522, "Length": 219, "Cover_Rate": 0.8423076923076923} {"Template_token": ["", "bool", "DstIsKill", "=", "MI", ".", "getOperand", "(", "", ")", ".", "isKill", "(", ")", ";", "bool", "ImpIsDead", "=", "MI", ".", "getOperand", "(", "", ")", ".", "isDead", "(", ")", ";", "TRI", "->", "splitReg", "(", "DstReg", ",", "DstLoReg", ",", "DstHiReg", ")", ";", "buildMI", "(", "MBB", ",", "MBBI", ",", "", ")", ".", "addReg", "(", "DstLoReg", ",", "RegState", "::", "Define", "|", "getDeadRegState", "(", "DstIsDead", ")", ")", ".", "addReg", "(", "DstHiReg", ")", ";", "buildMI", "(", "MBB", ",", "MBBI", ",", "", ")", ".", "addReg", "(", "DstLoReg", ",", "RegState", "::", "Define", "|", "getDeadRegState", "(", "DstIsDead", ")", ")", ".", "addReg", "(", "DstLoReg", ",", "getKillRegState", "(", "DstIsKill", ")", ")", ";", "auto", "MI0", "=", "buildMI", "(", "MBB", ",", "MBBI", ",", "", ")", ".", "addReg", "(", "DstLoReg", ",", "RegState", "::", "Define", "|", "getDeadRegState", "(", "DstIsDead", ")", ")", ".", "addReg", "(", "DstLoReg", ",", "getKillRegState", "(", "DstIsKill", ")", ")", ".", "addImm", "(", "", ")", ";", "MI0", "->", "getOperand", "(", "", ")", ".", "setIsDead", "(", ")", ";", "auto", "MIBHI", "=", "buildMI", "(", "MBB", ",", "MBBI", ",", "", ")", ".", "addReg", "(", "DstHiReg", ",", "RegState", "::", "Define", "|", "getDeadRegState", "(", "DstIsDead", ")", ")", ".", "addReg", "(", "DstHiReg", ",", "getKillRegState", "(", "DstIsKill", ")", ")", ".", "addReg", "(", "DstHiReg", ",", "getKillRegState", "(", "DstIsKill", ")", ")", ";", "if", "(", "ImpIsDead", ")", "MIBHI", "->", "getOperand", "(", "", ")", ".", "setIsDead", "(", ")", ";", "MI", ".", "eraseFromParent", "(", ")", ";"], "ground_truth": ["return", "true", ";"], "File": "MCS51ExpandPseudoInsts", "Func": "expandLSRW12Rd", "Target": "MCS51", "Target_Clf": "MPU", "Compiler_Type": "LLVM", "Idx": 119523, "Length": 222, "Cover_Rate": 0.7816901408450704} {"Template_token": ["", "bool", "DstIsKill", "=", "MI", ".", "getOperand", "(", "", ")", ".", "isKill", "(", ")", ";", "bool", "ImpIsDead", "=", "MI", ".", "getOperand", "(", "", ")", ".", "isDead", "(", ")", ";", "TRI", "->", "splitReg", "(", "DstReg", ",", "DstLoReg", ",", "DstHiReg", ")", ";", "buildMI", "(", "MBB", ",", "MBBI", ",", "", ")", ".", "addReg", "(", "DstHiReg", ",", "RegState", "::", "Define", "|", "getDeadRegState", "(", "DstIsDead", ")", ")", ".", "addReg", "(", "DstHiReg", ",", "getKillRegState", "(", "DstIsKill", ")", ")", ";", "buildMI", "(", "MBB", ",", "MBBI", ",", "", ")", ".", "addReg", "(", "DstLoReg", ",", "RegState", "::", "Define", "|", "getDeadRegState", "(", "DstIsDead", ")", ")", ".", "addReg", "(", "DstLoReg", ",", "getKillRegState", "(", "DstIsKill", ")", ")", ";", "auto", "MI0", "=", "buildMI", "(", "MBB", ",", "MBBI", ",", "", ")", ".", "addReg", "(", "DstLoReg", ",", "RegState", "::", "Define", "|", "getDeadRegState", "(", "DstIsDead", ")", ")", ".", "addReg", "(", "DstLoReg", ",", "getKillRegState", "(", "DstIsKill", ")", ")", ".", "addImm", "(", "", ")", ";", "MI0", "->", "getOperand", "(", "", ")", ".", "setIsDead", "(", ")", ";", "auto", "MI1", "=", "buildMI", "(", "MBB", ",", "MBBI", ",", "", ")", ".", "addReg", "(", "DstLoReg", ",", "RegState", "::", "Define", "|", "getDeadRegState", "(", "DstIsDead", ")", ")", ".", "addReg", "(", "DstLoReg", ",", "getKillRegState", "(", "DstIsKill", ")", ")", ".", "addReg", "(", "DstHiReg", ")", ";", "MI1", "->", "getOperand", "(", "", ")", ".", "setIsDead", "(", ")", ";"], "ground_truth": ["auto", "MI2", "=", "buildMI", "(", "MBB", ",", "MBBI", ",", "", ")", ".", "addReg", "(", "DstHiReg", ",", "RegState", "::", "Define", "|", "getDeadRegState", "(", "DstIsDead", ")", ")", ".", "addReg", "(", "DstHiReg", ",", "getKillRegState", "(", "DstIsKill", ")", ")", ".", "addImm", "(", "", ")", ";"], "File": "MCS51ExpandPseudoInsts", "Func": "expandLSRW4Rd", "Target": "MCS51", "Target_Clf": "MPU", "Compiler_Type": "LLVM", "Idx": 119524, "Length": 250, "Cover_Rate": 0.6377551020408163} {"Template_token": ["", "Register", "DstLoReg", ",", "DstHiReg", ";", "Register", "DstReg", "=", "MI", ".", "getOperand", "(", "", ")", ".", "getReg", "(", ")", ";", "bool", "DstIsDead", "=", "MI", ".", "getOperand", "(", "", ")", ".", "isDead", "(", ")", ";", "bool", "DstIsKill", "=", "MI", ".", "getOperand", "(", "", ")", ".", "isKill", "(", ")", ";"], "ground_truth": ["bool", "ImpIsDead", "=", "MI", ".", "getOperand", "(", "", ")", ".", "isDead", "(", ")", ";"], "File": "MCS51ExpandPseudoInsts", "Func": "expandLSRW8Rd", "Target": "MCS51", "Target_Clf": "MPU", "Compiler_Type": "LLVM", "Idx": 119525, "Length": 61, "Cover_Rate": 0.3128205128205128} {"Template_token": ["", "bool", "ExpandPseudo", "::", "expandMBB", "(", "MachineBasicBlock", "&", "MBB", ")", "{", "bool", "Modified", "=", "false", ";"], "ground_truth": ["BlockIt", "MBBI", "=", "MBB", ".", "begin", "(", ")", ",", "E", "=", "MBB", ".", "end", "(", ")", ";"], "File": "MCS51ExpandPseudoInsts", "Func": "expandMBB", "Target": "MCS51", "Target_Clf": "MPU", "Compiler_Type": "LLVM", "Idx": 119526, "Length": 32, "Cover_Rate": 0.47761194029850745} {"Template_token": ["", "bool", "ExpandPseudo", "::", "expandMBB", "(", "MachineBasicBlock", "&", "MBB", ")", "{", "bool", "Modified", "=", "false", ";", "BlockIt", "MBBI", "=", "MBB", ".", "begin", "(", ")", ",", "E", "=", "MBB", ".", "end", "(", ")", ";", "while", "(", "MBBI", "!=", "E", ")", "{", "BlockIt", "NMBBI", "=", "std", "::", "next", "(", "MBBI", ")", ";", "Modified", "|=", "expandMI", "(", "MBB", ",", "MBBI", ")", ";", "MBBI", "=", "NMBBI", ";", "}", "return", "Modified", ";"], "ground_truth": ["}"], "File": "MCS51ExpandPseudoInsts", "Func": "expandMBB", "Target": "MCS51", "Target_Clf": "MPU", "Compiler_Type": "LLVM", "Idx": 119527, "Length": 67, "Cover_Rate": 1.0} {"Template_token": ["", "EXPAND", "(", "", ")", ";", "EXPAND", "(", "", ")", ";", "EXPAND", "(", "", ")", ";", "EXPAND", "(", "", ")", ";", "EXPAND", "(", "", ")", ";", "EXPAND", "(", "", ")", ";", "EXPAND", "(", "", ")", ";", "case", "", ":", "EXPAND", "(", "", ")", ";", "EXPAND", "(", "", ")", ";", "EXPAND", "(", "", ")", ";", "EXPAND", "(", "", ")", ";", "EXPAND", "(", "", ")", ";", "EXPAND", "(", "", ")", ";", "EXPAND", "(", "", ")", ";", "EXPAND", "(", "", ")", ";", "EXPAND", "(", "", ")", ";", "EXPAND", "(", "", ")", ";", "EXPAND", "(", "", ")", ";", "EXPAND", "(", "", ")", ";", "EXPAND", "(", "", ")", ";", "EXPAND", "(", "", ")", ";", "EXPAND", "(", "", ")", ";", "EXPAND", "(", "", ")", ";", "EXPAND", "(", "", ")", ";", "EXPAND", "(", "", ")", ";", "EXPAND", "(", "", ")", ";", "EXPAND", "(", "", ")", ";", "EXPAND", "(", "", ")", ";", "EXPAND", "(", "", ")", ";", "EXPAND", "(", "", ")", ";", "EXPAND", "(", "", ")", ";", "EXPAND", "(", "", ")", ";", "EXPAND", "(", "", ")", ";", "EXPAND", "(", "", ")", ";", "EXPAND", "(", "", ")", ";", "EXPAND", "(", "", ")", ";", "EXPAND", "(", "", ")", ";", "EXPAND", "(", "", ")", ";"], "ground_truth": ["EXPAND", "(", "", ")", ";"], "File": "MCS51ExpandPseudoInsts", "Func": "expandMI", "Target": "MCS51", "Target_Clf": "MPU", "Compiler_Type": "LLVM", "Idx": 119528, "Length": 198, "Cover_Rate": 0.391304347826087} {"Template_token": ["", "StringRef", "getPassName", "(", ")", "const", "override", "{", "return", "_EXPAND_PSEUDO_NAME", ";"], "ground_truth": ["}"], "File": "MCS51ExpandPseudoInsts", "Func": "getPassName", "Target": "MCS51", "Target_Clf": "MPU", "Compiler_Type": "LLVM", "Idx": 119529, "Length": 11, "Cover_Rate": 1.0} {"Template_token": ["", "return", "_EXPAND_PSEUDO_NAME", ";"], "ground_truth": ["}"], "File": "MCS51ExpandPseudoInsts", "Func": "getPassName", "Target": "MCS51", "Target_Clf": "MPU", "Compiler_Type": "LLVM", "Idx": 119530, "Length": 4, "Cover_Rate": 0.36363636363636365} {"Template_token": ["", "MachineRegisterInfo", "&", "getRegInfo", "(", "Block", "&", "MBB", ")", "{"], "ground_truth": ["return", "MBB", ".", "getParent", "(", ")", "->", "getRegInfo", "(", ")", ";"], "File": "MCS51ExpandPseudoInsts", "Func": "getRegInfo", "Target": "MCS51", "Target_Clf": "MPU", "Compiler_Type": "LLVM", "Idx": 119531, "Length": 20, "Cover_Rate": 0.9523809523809523} {"Template_token": ["", "MachineRegisterInfo", "&", "getRegInfo", "(", "Block", "&", "MBB", ")", "{"], "ground_truth": ["return", "MBB", ".", "getParent", "(", ")", "->", "getRegInfo", "(", ")", ";"], "File": "MCS51ExpandPseudoInsts", "Func": "getRegInfo", "Target": "MCS51", "Target_Clf": "MPU", "Compiler_Type": "LLVM", "Idx": 119532, "Length": 20, "Cover_Rate": 0.9523809523809523} {"Template_token": ["", "bool", "ExpandPseudo", "::", "isLogicImmOpRedundant", "(", "unsigned", "Op", ",", "unsigned", "ImmVal", ")", "const", "{"], "ground_truth": ["if", "(", "Op", "==", "", "&&", "ImmVal", "==", "", ")", "return", "true", ";"], "File": "MCS51ExpandPseudoInsts", "Func": "isLogicImmOpRedundant", "Target": "MCS51", "Target_Clf": "MPU", "Compiler_Type": "LLVM", "Idx": 119533, "Length": 26, "Cover_Rate": 0.5531914893617021} {"Template_token": ["", "if", "(", "Op", "==", "", "&&", "ImmVal", "==", "", ")", "return", "true", ";", "return", "false", ";"], "ground_truth": ["}"], "File": "MCS51ExpandPseudoInsts", "Func": "isLogicImmOpRedundant", "Target": "MCS51", "Target_Clf": "MPU", "Compiler_Type": "LLVM", "Idx": 119534, "Length": 17, "Cover_Rate": 0.3617021276595745} {"Template_token": ["", "ExpandPseudo", "(", ")", ":", "MachineFunctionPass", "(", "ID", ")", "{", "initializeExpandPseudoPass", "(", "*", "PassRegistry", "::", "getPassRegistry", "(", ")", ")", ";"], "ground_truth": ["}"], "File": "MCS51ExpandPseudoInsts", "Func": "MCS51ExpandPseudo", "Target": "MCS51", "Target_Clf": "MPU", "Compiler_Type": "LLVM", "Idx": 119535, "Length": 20, "Cover_Rate": 1.0} {"Template_token": ["", "MF", ".", "getProperties", "(", ")", ".", "set", "(", "MachineFunctionProperties", "::", "Property", "::", "TracksLiveness", ")", ";", "for", "(", "Block", "&", "MBB", ":", "MF", ")", "{", "bool", "ContinueExpanding", "=", "true", ";", "unsigned", "ExpandCount", "=", "", ";", "do", "{", "assert", "(", "ExpandCount", "<", "", "&&", "", ")", ";", "bool", "BlockModified", "=", "expandMBB", "(", "MBB", ")", ";", "Modified", "|=", "BlockModified", ";", "ExpandCount", "++", ";", "ContinueExpanding", "=", "BlockModified", ";", "}", "while", "(", "ContinueExpanding", ")", ";"], "ground_truth": ["}"], "File": "MCS51ExpandPseudoInsts", "Func": "runOnMachineFunction", "Target": "MCS51", "Target_Clf": "MPU", "Compiler_Type": "LLVM", "Idx": 119537, "Length": 71, "Cover_Rate": 0.5916666666666667} {"Template_token": ["", "MachineBasicBlock", "&", "MBB", "=", "*", "MI", ".", "getParent", "(", ")", ";", "RegScavenger", "RS", ";", "RS", ".", "enterBasicBlock", "(", "MBB", ")", ";", "RS", ".", "forward", "(", "MI", ")", ";", "BitVector", "Candidates", "=", "TRI", "->", "getAllocatableSet", "(", "*", "MBB", ".", "getParent", "(", ")", ",", "&", "", ")", ";", "for", "(", "MachineOperand", "&", "MO", ":", "MI", ".", "operands", "(", ")", ")", "{", "if", "(", "MO", ".", "isReg", "(", ")", "&&", "MO", ".", "getReg", "(", ")", "!=", "", "&&", "!", "MO", ".", "isDef", "(", ")", "&&", "!", "Register", "::", "isVirtualRegister", "(", "MO", ".", "getReg", "(", ")", ")", ")", "Candidates", ".", "reset", "(", "MO", ".", "getReg", "(", ")", ")", ";", "}"], "ground_truth": ["BitVector", "Available", "=", "RS", ".", "getRegsAvailable", "(", "&", "", ")", ";"], "File": "MCS51ExpandPseudoInsts", "Func": "scavengeGPR8", "Target": "MCS51", "Target_Clf": "MPU", "Compiler_Type": "LLVM", "Idx": 119538, "Length": 117, "Cover_Rate": 0.740506329113924} {"Template_token": ["", "RS", ".", "enterBasicBlock", "(", "MBB", ")", ";", "RS", ".", "forward", "(", "MI", ")", ";", "BitVector", "Candidates", "=", "TRI", "->", "getAllocatableSet", "(", "*", "MBB", ".", "getParent", "(", ")", ",", "&", "", ")", ";", "for", "(", "MachineOperand", "&", "MO", ":", "MI", ".", "operands", "(", ")", ")", "{", "if", "(", "MO", ".", "isReg", "(", ")", "&&", "MO", ".", "getReg", "(", ")", "!=", "", "&&", "!", "MO", ".", "isDef", "(", ")", "&&", "!", "Register", "::", "isVirtualRegister", "(", "MO", ".", "getReg", "(", ")", ")", ")", "Candidates", ".", "reset", "(", "MO", ".", "getReg", "(", ")", ")", ";", "}"], "ground_truth": ["BitVector", "Available", "=", "RS", ".", "getRegsAvailable", "(", "&", "", ")", ";"], "File": "MCS51ExpandPseudoInsts", "Func": "scavengeGPR8", "Target": "MCS51", "Target_Clf": "MPU", "Compiler_Type": "LLVM", "Idx": 119539, "Length": 103, "Cover_Rate": 0.6518987341772152} {"Template_token": ["", "val", ">>=", "", ";"], "ground_truth": ["}"], "File": "MCS51FixupKinds", "Func": "adjustBranchTarget", "Target": "MCS51", "Target_Clf": "MPU", "Compiler_Type": "LLVM", "Idx": 119540, "Length": 5, "Cover_Rate": 0.35714285714285715} {"Template_token": ["", "inline", "void", "adjustBranchTarget", "(", "T", "&", "val", ")", "{", "val", ">>=", "", ";"], "ground_truth": ["}"], "File": "MCS51FixupKinds", "Func": "adjustBranchTarget", "Target": "MCS51", "Target_Clf": "MPU", "Compiler_Type": "LLVM", "Idx": 119541, "Length": 14, "Cover_Rate": 1.0} {"Template_token": ["", "bool", "FrameLowering", "::", "canSimplifyCallFramePseudos", "(", "const", "MachineFunction", "&", "MF", ")", "const", "{"], "ground_truth": ["return", "true", ";"], "File": "MCS51FrameLowering", "Func": "canSimplifyCallFramePseudos", "Target": "MCS51", "Target_Clf": "MPU", "Compiler_Type": "LLVM", "Idx": 119542, "Length": 15, "Cover_Rate": 0.9375} {"Template_token": ["", "FunctionPass", "*", "createDynAllocaSRPass", "(", ")", "{", "return", "new", "DynAllocaSR", "(", ")", ";"], "ground_truth": ["}"], "File": "MCS51FrameLowering", "Func": "createMCS51DynAllocaSRPass", "Target": "MCS51", "Target_Clf": "MPU", "Compiler_Type": "LLVM", "Idx": 119545, "Length": 13, "Cover_Rate": 1.0} {"Template_token": ["", "return", "new", "FrameAnalyzer", "(", ")", ";"], "ground_truth": ["}"], "File": "MCS51FrameLowering", "Func": "createMCS51FrameAnalyzerPass", "Target": "MCS51", "Target_Clf": "MPU", "Compiler_Type": "LLVM", "Idx": 119546, "Length": 7, "Cover_Rate": 0.5384615384615384} {"Template_token": ["", "FunctionPass", "*", "createFrameAnalyzerPass", "(", ")", "{"], "ground_truth": ["return", "new", "FrameAnalyzer", "(", ")", ";"], "File": "MCS51FrameLowering", "Func": "createMCS51FrameAnalyzerPass", "Target": "MCS51", "Target_Clf": "MPU", "Compiler_Type": "LLVM", "Idx": 119547, "Length": 12, "Cover_Rate": 0.9230769230769231} {"Template_token": ["", "void", "FrameLowering", "::", "determineCalleeSaves", "(", "MachineFunction", "&", "MF", ",", "BitVector", "&", "SavedRegs", ",", "RegScavenger", "*", "RS", ")", "const", "{"], "ground_truth": ["TargetFrameLowering", "::", "determineCalleeSaves", "(", "MF", ",", "SavedRegs", ",", "RS", ")", ";"], "File": "MCS51FrameLowering", "Func": "determineCalleeSaves", "Target": "MCS51", "Target_Clf": "MPU", "Compiler_Type": "LLVM", "Idx": 119548, "Length": 30, "Cover_Rate": 0.5172413793103449} {"Template_token": ["", "if", "(", "hasFP", "(", "MF", ")", ")", "{", "SavedRegs", ".", "set", "(", "", ")", ";"], "ground_truth": ["SavedRegs", ".", "set", "(", "", ")", ";"], "File": "MCS51FrameLowering", "Func": "determineCalleeSaves", "Target": "MCS51", "Target_Clf": "MPU", "Compiler_Type": "LLVM", "Idx": 119549, "Length": 22, "Cover_Rate": 0.3793103448275862} {"Template_token": ["", "MachineInstr", "*", "New", "=", "BuildMI", "(", "MBB", ",", "MI", ",", "DL", ",", "TII", ".", "get", "(", "", ")", ",", "", ")", ".", "addReg", "(", "", ",", "RegState", "::", "Kill", ")", ".", "addImm", "(", "Amount", ")", ";", "New", "->", "getOperand", "(", "", ")", ".", "setIsDead", "(", ")", ";", "BuildMI", "(", "MBB", ",", "MI", ",", "DL", ",", "TII", ".", "get", "(", "", ")", ",", "", ")", ".", "addReg", "(", "", ")", ";", "fixStackStores", "(", "MBB", ",", "MI", ",", "TII", ",", "", ")", ";", "}", "else", "{", "assert", "(", "Opcode", "==", "TII", ".", "getCallFrameDestroyOpcode", "(", ")", ")", ";", "unsigned", "addOpcode", ";", "if", "(", "isUInt", "<", "", ">", "(", "Amount", ")", ")", "{", "addOpcode", "=", "", ";", "}", "else", "{", "addOpcode", "=", "", ";", "Amount", "=", "-", "Amount", ";", "}", "BuildMI", "(", "MBB", ",", "MI", ",", "DL", ",", "TII", ".", "get", "(", "", ")", ",", "", ")", ".", "addReg", "(", "", ")", ";", "MachineInstr", "*", "New", "=", "BuildMI", "(", "MBB", ",", "MI", ",", "DL", ",", "TII", ".", "get", "(", "addOpcode", ")", ",", "", ")", ".", "addReg", "(", "", ",", "RegState", "::", "Kill", ")", ".", "addImm", "(", "Amount", ")", ";"], "ground_truth": ["New", "->", "getOperand", "(", "", ")", ".", "setIsDead", "(", ")", ";"], "File": "MCS51FrameLowering", "Func": "eliminateCallFramePseudoInstr", "Target": "MCS51", "Target_Clf": "MPU", "Compiler_Type": "LLVM", "Idx": 119550, "Length": 196, "Cover_Rate": 0.448512585812357} {"Template_token": ["", "DebugLoc", "DL", "=", "MI", "->", "getDebugLoc", "(", ")", ";", "unsigned", "int", "Opcode", "=", "MI", "->", "getOpcode", "(", ")", ";", "int", "Amount", "=", "TII", ".", "getFrameSize", "(", "*", "MI", ")", ";", "if", "(", "Amount", "!=", "", ")", "{", "assert", "(", "getStackAlign", "(", ")", "==", "Align", "(", "", ")", "&&", "", ")", ";", "if", "(", "Opcode", "==", "TII", ".", "getCallFrameSetupOpcode", "(", ")", ")", "{", "BuildMI", "(", "MBB", ",", "MI", ",", "DL", ",", "TII", ".", "get", "(", "", ")", ",", "", ")", ".", "addReg", "(", "", ")", ";", "MachineInstr", "*", "New", "=", "BuildMI", "(", "MBB", ",", "MI", ",", "DL", ",", "TII", ".", "get", "(", "", ")", ",", "", ")", ".", "addReg", "(", "", ",", "RegState", "::", "Kill", ")", ".", "addImm", "(", "Amount", ")", ";", "New", "->", "getOperand", "(", "", ")", ".", "setIsDead", "(", ")", ";", "BuildMI", "(", "MBB", ",", "MI", ",", "DL", ",", "TII", ".", "get", "(", "", ")", ",", "", ")", ".", "addReg", "(", "", ")", ";", "fixStackStores", "(", "MBB", ",", "MI", ",", "TII", ",", "", ")", ";", "}", "else", "{", "assert", "(", "Opcode", "==", "TII", ".", "getCallFrameDestroyOpcode", "(", ")", ")", ";", "unsigned", "addOpcode", ";", "if", "(", "isUInt", "<", "", ">", "(", "Amount", ")", ")", "{", "addOpcode", "=", "", ";", "}", "else", "{", "addOpcode", "=", "", ";", "Amount", "=", "-", "Amount", ";", "}", "BuildMI", "(", "MBB", ",", "MI", ",", "DL", ",", "TII", ".", "get", "(", "", ")", ",", "", ")", ".", "addReg", "(", "", ")", ";", "MachineInstr", "*", "New", "=", "BuildMI", "(", "MBB", ",", "MI", ",", "DL", ",", "TII", ".", "get", "(", "addOpcode", ")", ",", "", ")", ".", "addReg", "(", "", ",", "RegState", "::", "Kill", ")", ".", "addImm", "(", "Amount", ")", ";", "New", "->", "getOperand", "(", "", ")", ".", "setIsDead", "(", ")", ";", "BuildMI", "(", "MBB", ",", "MI", ",", "DL", ",", "TII", ".", "get", "(", "", ")", ",", "", ")", ".", "addReg", "(", "", ",", "RegState", "::", "Kill", ")", ";", "}"], "ground_truth": ["}"], "File": "MCS51FrameLowering", "Func": "eliminateCallFramePseudoInstr", "Target": "MCS51", "Target_Clf": "MPU", "Compiler_Type": "LLVM", "Idx": 119551, "Length": 310, "Cover_Rate": 0.7093821510297483} {"Template_token": ["", "return", ";", "}", "while", "(", "MBBI", "!=", "MBB", ".", "begin", "(", ")", ")", "{", "MachineBasicBlock", "::", "iterator", "PI", "=", "std", "::", "prev", "(", "MBBI", ")", ";", "int", "Opc", "=", "PI", "->", "getOpcode", "(", ")", ";", "if", "(", "Opc", "!=", "", "&&", "Opc", "!=", "", "&&", "!", "PI", "->", "isTerminator", "(", ")", ")", "{", "break", ";", "}", "--", "MBBI", ";", "}", "unsigned", "Opcode", ";", "if", "(", "isUInt", "<", "", ">", "(", "FrameSize", ")", ")", "{", "Opcode", "=", "", ";", "}", "else", "{", "Opcode", "=", "", ";", "FrameSize", "=", "-", "FrameSize", ";", "}", "MachineInstr", "*", "MI", "=", "BuildMI", "(", "MBB", ",", "MBBI", ",", "DL", ",", "TII", ".", "get", "(", "Opcode", ")", ",", "", ")", ".", "addReg", "(", "", ",", "RegState", "::", "Kill", ")", ".", "addImm", "(", "FrameSize", ")", ";", "MI", "->", "getOperand", "(", "", ")", ".", "setIsDead", "(", ")", ";"], "ground_truth": ["BuildMI", "(", "MBB", ",", "MBBI", ",", "DL", ",", "TII", ".", "get", "(", "", ")", ",", "", ")", ".", "addReg", "(", "", ",", "RegState", "::", "Kill", ")", ";"], "File": "MCS51FrameLowering", "Func": "emitEpilogue", "Target": "MCS51", "Target_Clf": "MPU", "Compiler_Type": "LLVM", "Idx": 119552, "Length": 165, "Cover_Rate": 0.48672566371681414} {"Template_token": ["", "const", "MachineFunctionInfo", "*", "AFI", "=", "MF", ".", "getInfo", "<", "MachineFunctionInfo", ">", "(", ")", ";", "if", "(", "!", "hasFP", "(", "MF", ")", "&&", "!", "AFI", "->", "isInterruptOrSignalHandler", "(", ")", ")", "{", "return", ";", "}", "MachineBasicBlock", "::", "iterator", "MBBI", "=", "MBB", ".", "getLastNonDebugInstr", "(", ")", ";", "assert", "(", "MBBI", "->", "getDesc", "(", ")", ".", "isReturn", "(", ")", "&&", "", ")", ";", "DebugLoc", "DL", "=", "MBBI", "->", "getDebugLoc", "(", ")", ";", "const", "MachineFrameInfo", "&", "MFI", "=", "MF", ".", "getFrameInfo", "(", ")", ";", "unsigned", "FrameSize", "=", "MFI", ".", "getStackSize", "(", ")", "-", "AFI", "->", "getCalleeSavedFrameSize", "(", ")", ";", "const", "Subtarget", "&", "STI", "=", "MF", ".", "getSubtarget", "<", "Subtarget", ">", "(", ")", ";", "const", "InstrInfo", "&", "TII", "=", "*", "STI", ".", "getInstrInfo", "(", ")", ";", "if", "(", "!", "FrameSize", ")", "{", "restoreStatusRegister", "(", "MF", ",", "MBB", ")", ";", "return", ";", "}"], "ground_truth": ["while", "(", "MBBI", "!=", "MBB", ".", "begin", "(", ")", ")", "{"], "File": "MCS51FrameLowering", "Func": "emitEpilogue", "Target": "MCS51", "Target_Clf": "MPU", "Compiler_Type": "LLVM", "Idx": 119553, "Length": 147, "Cover_Rate": 0.4336283185840708} {"Template_token": ["", "BuildMI", "(", "MBB", ",", "MBBI", ",", "DL", ",", "TII", ".", "get", "(", "", ")", ")", ".", "addReg", "(", "", ",", "RegState", "::", "Kill", ")", ".", "setMIFlag", "(", "MachineInstr", "::", "FrameSetup", ")", ";", "BuildMI", "(", "MBB", ",", "MBBI", ",", "DL", ",", "TII", ".", "get", "(", "", ")", ")", ".", "addReg", "(", "", ",", "RegState", "::", "Define", ")", ".", "addReg", "(", "", ",", "RegState", "::", "Kill", ")", ".", "addReg", "(", "", ",", "RegState", "::", "Kill", ")", ".", "setMIFlag", "(", "MachineInstr", "::", "FrameSetup", ")", ";", "BuildMI", "(", "MBB", ",", "MBBI", ",", "DL", ",", "TII", ".", "get", "(", "", ")", ")", ".", "addReg", "(", "", ",", "RegState", "::", "Define", ")", ".", "addReg", "(", "", ",", "RegState", "::", "Kill", ")", ".", "addReg", "(", "", ",", "RegState", "::", "Kill", ")", ".", "setMIFlag", "(", "MachineInstr", "::", "FrameSetup", ")", ";", "}", "if", "(", "!", "HasFP", ")", "{", "return", ";", "}", "const", "MachineFrameInfo", "&", "MFI", "=", "MF", ".", "getFrameInfo", "(", ")", ";", "unsigned", "FrameSize", "=", "MFI", ".", "getStackSize", "(", ")", "-", "AFI", "->", "getCalleeSavedFrameSize", "(", ")", ";", "while", "(", "(", "MBBI", "!=", "MBB", ".", "end", "(", ")", ")", "&&", "MBBI", "->", "getFlag", "(", "MachineInstr", "::", "FrameSetup", ")", "&&", "(", "MBBI", "->", "getOpcode", "(", ")", "==", "", "||", "MBBI", "->", "getOpcode", "(", ")", "==", "", ")", ")", "{", "++", "MBBI", ";", "}", "BuildMI", "(", "MBB", ",", "MBBI", ",", "DL", ",", "TII", ".", "get", "(", "", ")", ",", "", ")", ".", "addReg", "(", "", ")", ".", "setMIFlag", "(", "MachineInstr", "::", "FrameSetup", ")", ";", "for", "(", "MachineFunction", "::", "iterator", "I", "=", "std", "::", "next", "(", "MF", ".", "begin", "(", ")", ")", ",", "E", "=", "MF", ".", "end", "(", ")", ";", "I", "!=", "E", ";", "++", "I", ")", "{", "I", "->", "addLiveIn", "(", "", ")", ";", "}", "if", "(", "!", "FrameSize", ")", "{", "return", ";", "}"], "ground_truth": ["unsigned", "Opcode", "=", "(", "isUInt", "<", "", ">", "(", "FrameSize", ")", ")", "?", "", ":", "", ";"], "File": "MCS51FrameLowering", "Func": "emitPrologue", "Target": "MCS51", "Target_Clf": "MPU", "Compiler_Type": "LLVM", "Idx": 119554, "Length": 310, "Cover_Rate": 0.471841704718417} {"Template_token": ["", "continue", ";", "}", "assert", "(", "MI", ".", "getOperand", "(", "", ")", ".", "getReg", "(", ")", "==", "", "&&", "", ")", ";", "unsigned", "STOpc", "=", "(", "Opcode", "==", "", ")", "?", "", ":", "", ";", "MI", ".", "setDesc", "(", "TII", ".", "get", "(", "STOpc", ")", ")", ";", "MI", ".", "getOperand", "(", "", ")", ".", "setReg", "(", "FP", ")", ";"], "ground_truth": ["I", "=", "NextMI", ";"], "File": "MCS51FrameLowering", "Func": "fixStackStores", "Target": "MCS51", "Target_Clf": "MPU", "Compiler_Type": "LLVM", "Idx": 119555, "Length": 62, "Cover_Rate": 0.3668639053254438} {"Template_token": ["", "StringRef", "getPassName", "(", ")", "const", "override", "{", "return", "", ";"], "ground_truth": ["}"], "File": "MCS51FrameLowering", "Func": "getPassName", "Target": "MCS51", "Target_Clf": "MPU", "Compiler_Type": "LLVM", "Idx": 119556, "Length": 11, "Cover_Rate": 1.0} {"Template_token": ["", "return", "", ";"], "ground_truth": ["}"], "File": "MCS51FrameLowering", "Func": "getPassName", "Target": "MCS51", "Target_Clf": "MPU", "Compiler_Type": "LLVM", "Idx": 119557, "Length": 4, "Cover_Rate": 0.36363636363636365} {"Template_token": ["", "return", "(", "FuncInfo", "->", "getHasSpills", "(", ")", "||", "FuncInfo", "->", "getHasAllocas", "(", ")", "||", "FuncInfo", "->", "getHasStackArgs", "(", ")", ")", ";"], "ground_truth": ["}"], "File": "MCS51FrameLowering", "Func": "hasFP", "Target": "MCS51", "Target_Clf": "MPU", "Compiler_Type": "LLVM", "Idx": 119559, "Length": 22, "Cover_Rate": 0.4583333333333333} {"Template_token": ["", "const", "MachineFrameInfo", "&", "MFI", "=", "MF", ".", "getFrameInfo", "(", ")", ";"], "ground_truth": ["return", "hasFP", "(", "MF", ")", "&&", "!", "MFI", ".", "hasVarSizedObjects", "(", ")", ";"], "File": "MCS51FrameLowering", "Func": "hasReservedCallFrame", "Target": "MCS51", "Target_Clf": "MPU", "Compiler_Type": "LLVM", "Idx": 119560, "Length": 24, "Cover_Rate": 0.6486486486486487} {"Template_token": ["", "return", "hasFP", "(", "MF", ")", "&&", "!", "MFI", ".", "hasVarSizedObjects", "(", ")", ";"], "ground_truth": ["}"], "File": "MCS51FrameLowering", "Func": "hasReservedCallFrame", "Target": "MCS51", "Target_Clf": "MPU", "Compiler_Type": "LLVM", "Idx": 119561, "Length": 14, "Cover_Rate": 0.3783783783783784} {"Template_token": ["", "DynAllocaSR", "(", ")", ":", "MachineFunctionPass", "(", "ID", ")", "{"], "ground_truth": ["}"], "File": "MCS51FrameLowering", "Func": "MCS51DynAllocaSR", "Target": "MCS51", "Target_Clf": "MPU", "Compiler_Type": "LLVM", "Idx": 119562, "Length": 10, "Cover_Rate": 1.0} {"Template_token": ["", "DynAllocaSR", "(", ")", ":", "MachineFunctionPass", "(", "ID", ")", "{"], "ground_truth": ["}"], "File": "MCS51FrameLowering", "Func": "MCS51DynAllocaSR", "Target": "MCS51", "Target_Clf": "MPU", "Compiler_Type": "LLVM", "Idx": 119563, "Length": 10, "Cover_Rate": 1.0} {"Template_token": ["", "FrameAnalyzer", "(", ")", ":", "MachineFunctionPass", "(", "ID", ")", "{"], "ground_truth": ["}"], "File": "MCS51FrameLowering", "Func": "MCS51FrameAnalyzer", "Target": "MCS51", "Target_Clf": "MPU", "Compiler_Type": "LLVM", "Idx": 119564, "Length": 10, "Cover_Rate": 1.0} {"Template_token": ["", "FrameAnalyzer", "(", ")", ":", "MachineFunctionPass", "(", "ID", ")", "{"], "ground_truth": ["}"], "File": "MCS51FrameLowering", "Func": "MCS51FrameAnalyzer", "Target": "MCS51", "Target_Clf": "MPU", "Compiler_Type": "LLVM", "Idx": 119565, "Length": 10, "Cover_Rate": 1.0} {"Template_token": ["", "FrameLowering", "::", "FrameLowering", "(", ")", ":", "TargetFrameLowering", "(", "TargetFrameLowering", "::", "StackGrowsDown", ",", "Align", "(", "", ")", ",", "-", "", ")", "{"], "ground_truth": ["}"], "File": "MCS51FrameLowering", "Func": "MCS51FrameLowering", "Target": "MCS51", "Target_Clf": "MPU", "Compiler_Type": "LLVM", "Idx": 119566, "Length": 22, "Cover_Rate": 1.0} {"Template_token": ["", "FrameLowering", "::", "FrameLowering", "(", ")", ":", "TargetFrameLowering", "(", "TargetFrameLowering", "::", "StackGrowsDown", ",", "Align", "(", "", ")", ",", "-", "", ")", "{"], "ground_truth": ["}"], "File": "MCS51FrameLowering", "Func": "MCS51FrameLowering", "Target": "MCS51", "Target_Clf": "MPU", "Compiler_Type": "LLVM", "Idx": 119567, "Length": 22, "Cover_Rate": 1.0} {"Template_token": ["", "unsigned", "Reg", "=", "CCSI", ".", "getReg", "(", ")", ";", "assert", "(", "TRI", "->", "getRegSizeInBits", "(", "*", "TRI", "->", "getMinimalPhysRegClass", "(", "Reg", ")", ")", "==", "", "&&", "", ")", ";"], "ground_truth": ["BuildMI", "(", "MBB", ",", "MI", ",", "DL", ",", "TII", ".", "get", "(", "", ")", ",", "Reg", ")", ";"], "File": "MCS51FrameLowering", "Func": "restoreCalleeSavedRegisters", "Target": "MCS51", "Target_Clf": "MPU", "Compiler_Type": "LLVM", "Idx": 119568, "Length": 47, "Cover_Rate": 0.3092105263157895} {"Template_token": ["", "const", "TargetInstrInfo", "&", "TII", "=", "*", "STI", ".", "getInstrInfo", "(", ")", ";", "for", "(", "const", "CalleeSavedInfo", "&", "CCSI", ":", "CSI", ")", "{", "unsigned", "Reg", "=", "CCSI", ".", "getReg", "(", ")", ";", "assert", "(", "TRI", "->", "getRegSizeInBits", "(", "*", "TRI", "->", "getMinimalPhysRegClass", "(", "Reg", ")", ")", "==", "", "&&", "", ")", ";"], "ground_truth": ["BuildMI", "(", "MBB", ",", "MI", ",", "DL", ",", "TII", ".", "get", "(", "", ")", ",", "Reg", ")", ";"], "File": "MCS51FrameLowering", "Func": "restoreCalleeSavedRegisters", "Target": "MCS51", "Target_Clf": "MPU", "Compiler_Type": "LLVM", "Idx": 119569, "Length": 69, "Cover_Rate": 0.45394736842105265} {"Template_token": ["", "BuildMI", "(", "MBB", ",", "MBBI", ",", "DL", ",", "TII", ".", "get", "(", "", ")", ")", ".", "addImm", "(", "", ")", ".", "addReg", "(", "", ",", "RegState", "::", "Kill", ")", ";", "BuildMI", "(", "MBB", ",", "MBBI", ",", "DL", ",", "TII", ".", "get", "(", "", ")", ",", "", ")", ";", "}"], "ground_truth": ["}"], "File": "MCS51FrameLowering", "Func": "restoreStatusRegister", "Target": "MCS51", "Target_Clf": "MPU", "Compiler_Type": "LLVM", "Idx": 119570, "Length": 50, "Cover_Rate": 0.30864197530864196} {"Template_token": ["", "DebugLoc", "DL", "=", "EntryMBB", ".", "findDebugLoc", "(", "MBBI", ")", ";", "Register", "SPCopy", "=", "MF", ".", "getRegInfo", "(", ")", ".", "createVirtualRegister", "(", "&", "", ")", ";", "BuildMI", "(", "EntryMBB", ",", "MBBI", ",", "DL", ",", "TII", ".", "get", "(", "", ")", ",", "SPCopy", ")", ".", "addReg", "(", "", ")", ";", "for", "(", "MachineBasicBlock", "&", "MBB", ":", "MF", ")", "{", "if", "(", "!", "MBB", ".", "empty", "(", ")", "&&", "MBB", ".", "back", "(", ")", ".", "isReturn", "(", ")", ")", "{", "MBBI", "=", "MBB", ".", "getLastNonDebugInstr", "(", ")", ";", "DL", "=", "MBBI", "->", "getDebugLoc", "(", ")", ";"], "ground_truth": ["BuildMI", "(", "MBB", ",", "MBBI", ",", "DL", ",", "TII", ".", "get", "(", "", ")", ",", "", ")", ".", "addReg", "(", "SPCopy", ",", "RegState", "::", "Kill", ")", ";"], "File": "MCS51FrameLowering", "Func": "runOnMachineFunction", "Target": "MCS51", "Target_Clf": "MPU", "Compiler_Type": "LLVM", "Idx": 119571, "Length": 120, "Cover_Rate": 0.5714285714285714} {"Template_token": ["", "unsigned", "RegLoNum", "=", "MRI", ".", "getSubReg", "(", "RegNum", ",", "", ")", ";"], "ground_truth": ["RegNum", "=", "(", "RegLoNum", "!=", "", ")", "?", "RegLoNum", ":", "RegNum", ";"], "File": "MCS51InstPrinter", "Func": "getPrettyRegisterName", "Target": "MCS51", "Target_Clf": "MPU", "Compiler_Type": "LLVM", "Idx": 119572, "Length": 24, "Cover_Rate": 0.38095238095238093} {"Template_token": ["", "InstPrinter", "(", "const", "MCAsmInfo", "&", "MAI", ",", "const", "MCInstrInfo", "&", "MII", ",", "const", "MCRegisterInfo", "&", "MRI", ")", ":", "MCInstPrinter", "(", "MAI", ",", "MII", ",", "MRI", ")", "{"], "ground_truth": ["}"], "File": "MCS51InstPrinter", "Func": "MCS51InstPrinter", "Target": "MCS51", "Target_Clf": "MPU", "Compiler_Type": "LLVM", "Idx": 119573, "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": "MCS51InstPrinter", "Func": "MCS51InstPrinter", "Target": "MCS51", "Target_Clf": "MPU", "Compiler_Type": "LLVM", "Idx": 119574, "Length": 28, "Cover_Rate": 1.0} {"Template_token": ["", "void", "InstPrinter", "::", "printMemri", "(", "const", "MCInst", "*", "MI", ",", "unsigned", "OpNo", ",", "raw_ostream", "&", "O", ")", "{", "assert", "(", "MI", "->", "getOperand", "(", "OpNo", ")", ".", "isReg", "(", ")", "&&", "", ")", ";", "const", "MCOperand", "&", "OffsetOp", "=", "MI", "->", "getOperand", "(", "OpNo", "+", "", ")", ";", "printOperand", "(", "MI", ",", "OpNo", ",", "O", ")", ";", "if", "(", "OffsetOp", ".", "isImm", "(", ")", ")", "{", "int64_t", "Offset", "=", "OffsetOp", ".", "getImm", "(", ")", ";", "if", "(", "Offset", ">=", "", ")", "O", "<<", "'+'", ";", "O", "<<", "Offset", ";", "}", "else", "if", "(", "OffsetOp", ".", "isExpr", "(", ")", ")", "{", "O", "<<", "*", "OffsetOp", ".", "getExpr", "(", ")", ";", "}", "else", "{", "llvm_unreachable", "(", "", ")", ";"], "ground_truth": ["}"], "File": "MCS51InstPrinter", "Func": "printMemri", "Target": "MCS51", "Target_Clf": "MPU", "Compiler_Type": "LLVM", "Idx": 119575, "Length": 118, "Cover_Rate": 0.9915966386554622} {"Template_token": ["", "assert", "(", "MI", "->", "getOperand", "(", "OpNo", ")", ".", "isReg", "(", ")", "&&", "", ")", ";", "const", "MCOperand", "&", "OffsetOp", "=", "MI", "->", "getOperand", "(", "OpNo", "+", "", ")", ";", "printOperand", "(", "MI", ",", "OpNo", ",", "O", ")", ";", "if", "(", "OffsetOp", ".", "isImm", "(", ")", ")", "{", "int64_t", "Offset", "=", "OffsetOp", ".", "getImm", "(", ")", ";", "if", "(", "Offset", ">=", "", ")", "O", "<<", "'+'", ";", "O", "<<", "Offset", ";"], "ground_truth": ["}", "else", "if", "(", "OffsetOp", ".", "isExpr", "(", ")", ")", "{"], "File": "MCS51InstPrinter", "Func": "printMemri", "Target": "MCS51", "Target_Clf": "MPU", "Compiler_Type": "LLVM", "Idx": 119576, "Length": 82, "Cover_Rate": 0.6890756302521008} {"Template_token": ["", "O", "<<", "", ";", "return", ";", "}", "if", "(", "OpNo", ">=", "MI", "->", "size", "(", ")", ")", "{", "O", "<<", "", ";", "return", ";", "}", "const", "MCOperand", "&", "Op", "=", "MI", "->", "getOperand", "(", "OpNo", ")", ";", "if", "(", "Op", ".", "isReg", "(", ")", ")", "{", "bool", "isPtrReg", "=", "(", "MOI", ".", "RegClass", "==", "", ")", "||", "(", "MOI", ".", "RegClass", "==", "", ")", "||", "(", "MOI", ".", "RegClass", "==", "", ")", ";", "if", "(", "isPtrReg", ")", "{", "O", "<<", "getRegisterName", "(", "Op", ".", "getReg", "(", ")", ",", "", ")", ";", "}", "else", "{", "O", "<<", "getPrettyRegisterName", "(", "Op", ".", "getReg", "(", ")", ",", "MRI", ")", ";", "}", "}", "else", "if", "(", "Op", ".", "isImm", "(", ")", ")", "{", "O", "<<", "formatImm", "(", "Op", ".", "getImm", "(", ")", ")", ";"], "ground_truth": ["}", "else", "{"], "File": "MCS51InstPrinter", "Func": "printOperand", "Target": "MCS51", "Target_Clf": "MPU", "Compiler_Type": "LLVM", "Idx": 119577, "Length": 133, "Cover_Rate": 0.6186046511627907} {"Template_token": ["", "while", "(", "I", "!=", "MBB", ".", "begin", "(", ")", ")", "{", "--", "I", ";", "if", "(", "I", "->", "isDebugInstr", "(", ")", ")", "{", "continue", ";", "}", "if", "(", "!", "isUnpredicatedTerminator", "(", "*", "I", ")", ")", "{", "break", ";", "}", "if", "(", "!", "I", "->", "getDesc", "(", ")", ".", "isBranch", "(", ")", ")", "{", "return", "true", ";", "}", "if", "(", "I", "->", "getOpcode", "(", ")", "==", "", ")", "{", "UnCondBrIter", "=", "I", ";", "if", "(", "!", "AllowModify", ")", "{", "TBB", "=", "I", "->", "getOperand", "(", "", ")", ".", "getMBB", "(", ")", ";", "continue", ";", "}", "while", "(", "std", "::", "next", "(", "I", ")", "!=", "MBB", ".", "end", "(", ")", ")", "{", "std", "::", "next", "(", "I", ")", "->", "eraseFromParent", "(", ")", ";", "}", "Cond", ".", "clear", "(", ")", ";", "FBB", "=", "", ";", "if", "(", "MBB", ".", "isLayoutSuccessor", "(", "I", "->", "getOperand", "(", "", ")", ".", "getMBB", "(", ")", ")", ")", "{", "TBB", "=", "", ";", "I", "->", "eraseFromParent", "(", ")", ";", "I", "=", "MBB", ".", "end", "(", ")", ";", "UnCondBrIter", "=", "MBB", ".", "end", "(", ")", ";", "continue", ";", "}", "TBB", "=", "I", "->", "getOperand", "(", "", ")", ".", "getMBB", "(", ")", ";", "continue", ";", "}", "", "BranchCode", "=", "getCondFromBranchOpc", "(", "I", "->", "getOpcode", "(", ")", ")", ";", "if", "(", "BranchCode", "==", "", ")", "{", "return", "true", ";", "}", "if", "(", "Cond", ".", "empty", "(", ")", ")", "{", "MachineBasicBlock", "*", "TargetBB", "=", "I", "->", "getOperand", "(", "", ")", ".", "getMBB", "(", ")", ";"], "ground_truth": ["if", "(", "AllowModify", "&&", "UnCondBrIter", "!=", "MBB", ".", "end", "(", ")", "&&", "MBB", ".", "isLayoutSuccessor", "(", "TargetBB", ")", ")", "{"], "File": "MCS51InstrInfo", "Func": "analyzeBranch", "Target": "MCS51", "Target_Clf": "MPU", "Compiler_Type": "LLVM", "Idx": 119580, "Length": 263, "Cover_Rate": 0.4843462246777164} {"Template_token": ["", "bool", "InstrInfo", "::", "analyzeBranch", "(", "MachineBasicBlock", "&", "MBB", ",", "MachineBasicBlock", "*", "&", "TBB", ",", "MachineBasicBlock", "*", "&", "FBB", ",", "SmallVectorImpl", "<", "MachineOperand", ">", "&", "Cond", ",", "bool", "AllowModify", ")", "const", "{", "MachineBasicBlock", "::", "iterator", "I", "=", "MBB", ".", "end", "(", ")", ";", "MachineBasicBlock", "::", "iterator", "UnCondBrIter", "=", "MBB", ".", "end", "(", ")", ";", "while", "(", "I", "!=", "MBB", ".", "begin", "(", ")", ")", "{", "--", "I", ";", "if", "(", "I", "->", "isDebugInstr", "(", ")", ")", "{", "continue", ";", "}", "if", "(", "!", "isUnpredicatedTerminator", "(", "*", "I", ")", ")", "{", "break", ";", "}", "if", "(", "!", "I", "->", "getDesc", "(", ")", ".", "isBranch", "(", ")", ")", "{", "return", "true", ";", "}", "if", "(", "I", "->", "getOpcode", "(", ")", "==", "", ")", "{", "UnCondBrIter", "=", "I", ";", "if", "(", "!", "AllowModify", ")", "{", "TBB", "=", "I", "->", "getOperand", "(", "", ")", ".", "getMBB", "(", ")", ";", "continue", ";", "}", "while", "(", "std", "::", "next", "(", "I", ")", "!=", "MBB", ".", "end", "(", ")", ")", "{", "std", "::", "next", "(", "I", ")", "->", "eraseFromParent", "(", ")", ";", "}", "Cond", ".", "clear", "(", ")", ";", "FBB", "=", "", ";", "if", "(", "MBB", ".", "isLayoutSuccessor", "(", "I", "->", "getOperand", "(", "", ")", ".", "getMBB", "(", ")", ")", ")", "{", "TBB", "=", "", ";", "I", "->", "eraseFromParent", "(", ")", ";", "I", "=", "MBB", ".", "end", "(", ")", ";", "UnCondBrIter", "=", "MBB", ".", "end", "(", ")", ";", "continue", ";", "}", "TBB", "=", "I", "->", "getOperand", "(", "", ")", ".", "getMBB", "(", ")", ";", "continue", ";", "}", "", "BranchCode", "=", "getCondFromBranchOpc", "(", "I", "->", "getOpcode", "(", ")", ")", ";", "if", "(", "BranchCode", "==", "", ")", "{", "return", "true", ";", "}", "if", "(", "Cond", ".", "empty", "(", ")", ")", "{", "MachineBasicBlock", "*", "TargetBB", "=", "I", "->", "getOperand", "(", "", ")", ".", "getMBB", "(", ")", ";", "if", "(", "AllowModify", "&&", "UnCondBrIter", "!=", "MBB", ".", "end", "(", ")", "&&", "MBB", ".", "isLayoutSuccessor", "(", "TargetBB", ")", ")", "{", "BranchCode", "=", "getOppositeCondition", "(", "BranchCode", ")", ";", "unsigned", "JNCC", "=", "getBrCond", "(", "BranchCode", ")", ".", "getOpcode", "(", ")", ";", "MachineBasicBlock", "::", "iterator", "OldInst", "=", "I", ";", "BuildMI", "(", "MBB", ",", "UnCondBrIter", ",", "MBB", ".", "findDebugLoc", "(", "I", ")", ",", "get", "(", "JNCC", ")", ")", ".", "addMBB", "(", "UnCondBrIter", "->", "getOperand", "(", "", ")", ".", "getMBB", "(", ")", ")", ";", "BuildMI", "(", "MBB", ",", "UnCondBrIter", ",", "MBB", ".", "findDebugLoc", "(", "I", ")", ",", "get", "(", "", ")", ")", ".", "addMBB", "(", "TargetBB", ")", ";", "OldInst", "->", "eraseFromParent", "(", ")", ";", "UnCondBrIter", "->", "eraseFromParent", "(", ")", ";", "UnCondBrIter", "=", "MBB", ".", "end", "(", ")", ";", "I", "=", "MBB", ".", "end", "(", ")", ";", "continue", ";", "}", "FBB", "=", "TBB", ";", "TBB", "=", "I", "->", "getOperand", "(", "", ")", ".", "getMBB", "(", ")", ";", "Cond", ".", "push_back", "(", "MachineOperand", "::", "CreateImm", "(", "BranchCode", ")", ")", ";", "continue", ";"], "ground_truth": ["}"], "File": "MCS51InstrInfo", "Func": "analyzeBranch", "Target": "MCS51", "Target_Clf": "MPU", "Compiler_Type": "LLVM", "Idx": 119581, "Length": 462, "Cover_Rate": 0.850828729281768} {"Template_token": ["", "unsigned", "Opc", ";", "if", "(", "", ".", "contains", "(", "DestReg", ",", "SrcReg", ")", ")", "{", "if", "(", "STI", ".", "hasMOVW", "(", ")", "&&", "", ".", "contains", "(", "DestReg", ",", "SrcReg", ")", ")", "{", "BuildMI", "(", "MBB", ",", "MI", ",", "DL", ",", "get", "(", "", ")", ",", "DestReg", ")", ".", "addReg", "(", "SrcReg", ",", "getKillRegState", "(", "KillSrc", ")", ")", ";", "}", "else", "{", "Register", "DestLo", ",", "DestHi", ",", "SrcLo", ",", "SrcHi", ";", "TRI", ".", "splitReg", "(", "DestReg", ",", "DestLo", ",", "DestHi", ")", ";", "TRI", ".", "splitReg", "(", "SrcReg", ",", "SrcLo", ",", "SrcHi", ")", ";"], "ground_truth": ["BuildMI", "(", "MBB", ",", "MI", ",", "DL", ",", "get", "(", "", ")", ",", "DestLo", ")", ".", "addReg", "(", "SrcLo", ",", "getKillRegState", "(", "KillSrc", ")", ")", ";"], "File": "MCS51InstrInfo", "Func": "copyPhysReg", "Target": "MCS51", "Target_Clf": "MPU", "Compiler_Type": "LLVM", "Idx": 119582, "Length": 119, "Cover_Rate": 0.3628048780487805} {"Template_token": ["", "case", "", ":", "return", "get", "(", "", ")", ";", "case", "", ":", "return", "get", "(", "", ")", ";", "case", "", ":", "return", "get", "(", "", ")", ";", "case", "", ":", "return", "get", "(", "", ")", ";", "case", "", ":", "return", "get", "(", "", ")", ";"], "ground_truth": ["case", "", ":"], "File": "MCS51InstrInfo", "Func": "getBrCond", "Target": "MCS51", "Target_Clf": "MPU", "Compiler_Type": "LLVM", "Idx": 119583, "Length": 48, "Cover_Rate": 0.36363636363636365} {"Template_token": ["", "return", "", ";", "case", "", ":", "return", "", ";", "case", "", ":", "return", "", ";", "case", "", ":", "return", "", ";", "case", "", ":", "return", "", ";", "case", "", ":", "return", "", ";"], "ground_truth": ["}"], "File": "MCS51InstrInfo", "Func": "getCondFromBranchOpc", "Target": "MCS51", "Target_Clf": "MPU", "Compiler_Type": "LLVM", "Idx": 119584, "Length": 34, "Cover_Rate": 0.32075471698113206} {"Template_token": ["", "const", "Subtarget", "&", "STI", "=", "MF", ".", "getSubtarget", "<", "Subtarget", ">", "(", ")", ";", "const", "TargetInstrInfo", "&", "TII", "=", "*", "STI", ".", "getInstrInfo", "(", ")", ";", "return", "TII", ".", "getInlineAsmLength", "(", "MI", ".", "getOperand", "(", "", ")", ".", "getSymbolName", "(", ")", ",", "*", "TM", ".", "getMCAsmInfo", "(", ")", ")", ";"], "ground_truth": ["}"], "File": "MCS51InstrInfo", "Func": "getInstSizeInBytes", "Target": "MCS51", "Target_Clf": "MPU", "Compiler_Type": "LLVM", "Idx": 119585, "Length": 51, "Cover_Rate": 0.30177514792899407} {"Template_token": ["", "case", "TargetOpcode", "::", "INLINEASM_BR", ":", "{", "const", "MachineFunction", "&", "MF", "=", "*", "MI", ".", "getParent", "(", ")", "->", "getParent", "(", ")", ";", "const", "TargetMachine", "&", "TM", "=", "static_cast", "<", "const", "TargetMachine", "&", ">", "(", "MF", ".", "getTarget", "(", ")", ")", ";", "const", "Subtarget", "&", "STI", "=", "MF", ".", "getSubtarget", "<", "Subtarget", ">", "(", ")", ";", "const", "TargetInstrInfo", "&", "TII", "=", "*", "STI", ".", "getInstrInfo", "(", ")", ";"], "ground_truth": ["return", "TII", ".", "getInlineAsmLength", "(", "MI", ".", "getOperand", "(", "", ")", ".", "getSymbolName", "(", ")", ",", "*", "TM", ".", "getMCAsmInfo", "(", ")", ")", ";"], "File": "MCS51InstrInfo", "Func": "getInstSizeInBytes", "Target": "MCS51", "Target_Clf": "MPU", "Compiler_Type": "LLVM", "Idx": 119586, "Length": 91, "Cover_Rate": 0.5384615384615384} {"Template_token": ["", "const", "RegisterInfo", "&", "getRegisterInfo", "(", ")", "const", "{"], "ground_truth": ["return", "RI", ";"], "File": "MCS51InstrInfo", "Func": "getRegisterInfo", "Target": "MCS51", "Target_Clf": "MPU", "Compiler_Type": "LLVM", "Idx": 119587, "Length": 11, "Cover_Rate": 0.9166666666666666} {"Template_token": ["", "if", "(", "Cond", ".", "empty", "(", ")", ")", "{", "assert", "(", "!", "FBB", "&&", "", ")", ";", "auto", "&", "MI", "=", "*", "BuildMI", "(", "&", "MBB", ",", "DL", ",", "get", "(", "", ")", ")", ".", "addMBB", "(", "TBB", ")", ";", "if", "(", "BytesAdded", ")", "*", "BytesAdded", "+=", "getInstSizeInBytes", "(", "MI", ")", ";", "return", "", ";", "}", "unsigned", "Count", "=", "", ";", "", "CC", "=", "(", "", ")", "Cond", "[", "", "]", ".", "getImm", "(", ")", ";", "auto", "&", "CondMI", "=", "*", "BuildMI", "(", "&", "MBB", ",", "DL", ",", "getBrCond", "(", "CC", ")", ")", ".", "addMBB", "(", "TBB", ")", ";", "if", "(", "BytesAdded", ")", "*", "BytesAdded", "+=", "getInstSizeInBytes", "(", "CondMI", ")", ";", "++", "Count", ";", "if", "(", "FBB", ")", "{", "auto", "&", "MI", "=", "*", "BuildMI", "(", "&", "MBB", ",", "DL", ",", "get", "(", "", ")", ")", ".", "addMBB", "(", "FBB", ")", ";"], "ground_truth": ["if", "(", "BytesAdded", ")", "*", "BytesAdded", "+=", "getInstSizeInBytes", "(", "MI", ")", ";"], "File": "MCS51InstrInfo", "Func": "insertBranch", "Target": "MCS51", "Target_Clf": "MPU", "Compiler_Type": "LLVM", "Idx": 119589, "Length": 154, "Cover_Rate": 0.6337448559670782} {"Template_token": ["", "auto", "&", "MI", "=", "*", "BuildMI", "(", "&", "MBB", ",", "DL", ",", "get", "(", "", ")", ")", ".", "addMBB", "(", "TBB", ")", ";", "if", "(", "BytesAdded", ")", "*", "BytesAdded", "+=", "getInstSizeInBytes", "(", "MI", ")", ";", "return", "", ";", "}", "unsigned", "Count", "=", "", ";", "", "CC", "=", "(", "", ")", "Cond", "[", "", "]", ".", "getImm", "(", ")", ";", "auto", "&", "CondMI", "=", "*", "BuildMI", "(", "&", "MBB", ",", "DL", ",", "getBrCond", "(", "CC", ")", ")", ".", "addMBB", "(", "TBB", ")", ";", "if", "(", "BytesAdded", ")", "*", "BytesAdded", "+=", "getInstSizeInBytes", "(", "CondMI", ")", ";", "++", "Count", ";"], "ground_truth": ["if", "(", "FBB", ")", "{"], "File": "MCS51InstrInfo", "Func": "insertBranch", "Target": "MCS51", "Target_Clf": "MPU", "Compiler_Type": "LLVM", "Idx": 119590, "Length": 102, "Cover_Rate": 0.41975308641975306} {"Template_token": ["", "unsigned", "InstrInfo", "::", "insertIndirectBranch", "(", "MachineBasicBlock", "&", "MBB", ",", "MachineBasicBlock", "&", "NewDestBB", ",", "const", "DebugLoc", "&", "DL", ",", "int64_t", "BrOffset", ",", "RegScavenger", "*", "RS", ")", "const", "{", "auto", "&", "MI", "=", "*", "BuildMI", "(", "&", "MBB", ",", "DL", ",", "get", "(", "", ")", ")", ".", "addMBB", "(", "&", "NewDestBB", ")", ";"], "ground_truth": ["return", "getInstSizeInBytes", "(", "MI", ")", ";"], "File": "MCS51InstrInfo", "Func": "insertIndirectBranch", "Target": "MCS51", "Target_Clf": "MPU", "Compiler_Type": "LLVM", "Idx": 119591, "Length": 57, "Cover_Rate": 0.95} {"Template_token": ["", "switch", "(", "BranchOp", ")", "{", "default", ":", "llvm_unreachable", "(", "", ")", ";", "case", "", ":", "case", "", ":", "return", "true", ";", "case", "", ":", "case", "", ":", "return", "isIntN", "(", "", ",", "BrOffset", ")", ";", "case", "", ":", "case", "", ":", "case", "", ":", "case", "", ":", "case", "", ":", "case", "", ":", "case", "", ":", "case", "", ":"], "ground_truth": ["case", "", ":"], "File": "MCS51InstrInfo", "Func": "isBranchOffsetInRange", "Target": "MCS51", "Target_Clf": "MPU", "Compiler_Type": "LLVM", "Idx": 119592, "Length": 62, "Cover_Rate": 0.5344827586206896} {"Template_token": ["", "bool", "InstrInfo", "::", "isBranchOffsetInRange", "(", "unsigned", "BranchOp", ",", "int64_t", "BrOffset", ")", "const", "{", "switch", "(", "BranchOp", ")", "{", "default", ":", "llvm_unreachable", "(", "", ")", ";", "case", "", ":", "case", "", ":", "return", "true", ";", "case", "", ":", "case", "", ":", "return", "isIntN", "(", "", ",", "BrOffset", ")", ";", "case", "", ":", "case", "", ":", "case", "", ":", "case", "", ":", "case", "", ":", "case", "", ":", "case", "", ":", "case", "", ":", "case", "", ":", "case", "", ":"], "ground_truth": ["return", "isIntN", "(", "", ",", "BrOffset", ")", ";"], "File": "MCS51InstrInfo", "Func": "isBranchOffsetInRange", "Target": "MCS51", "Target_Clf": "MPU", "Compiler_Type": "LLVM", "Idx": 119593, "Length": 86, "Cover_Rate": 0.7413793103448276} {"Template_token": ["", "case", "", ":", "{", "if", "(", "MI", ".", "getOperand", "(", "", ")", ".", "isFI", "(", ")", "&&", "MI", ".", "getOperand", "(", "", ")", ".", "isImm", "(", ")", "&&", "MI", ".", "getOperand", "(", "", ")", ".", "getImm", "(", ")", "==", "", ")", "{", "FrameIndex", "=", "MI", ".", "getOperand", "(", "", ")", ".", "getIndex", "(", ")", ";", "return", "MI", ".", "getOperand", "(", "", ")", ".", "getReg", "(", ")", ";", "}"], "ground_truth": ["break", ";"], "File": "MCS51InstrInfo", "Func": "isLoadFromStackSlot", "Target": "MCS51", "Target_Clf": "MPU", "Compiler_Type": "LLVM", "Idx": 119594, "Length": 70, "Cover_Rate": 0.625} {"Template_token": ["", "case", "", ":", "{", "if", "(", "MI", ".", "getOperand", "(", "", ")", ".", "isFI", "(", ")", "&&", "MI", ".", "getOperand", "(", "", ")", ".", "isImm", "(", ")", "&&", "MI", ".", "getOperand", "(", "", ")", ".", "getImm", "(", ")", "==", "", ")", "{", "FrameIndex", "=", "MI", ".", "getOperand", "(", "", ")", ".", "getIndex", "(", ")", ";", "return", "MI", ".", "getOperand", "(", "", ")", ".", "getReg", "(", ")", ";", "}", "break", ";", "}", "default", ":", "break", ";", "}", "return", "", ";"], "ground_truth": ["}"], "File": "MCS51InstrInfo", "Func": "isStoreToStackSlot", "Target": "MCS51", "Target_Clf": "MPU", "Compiler_Type": "LLVM", "Idx": 119595, "Length": 80, "Cover_Rate": 0.7142857142857143} {"Template_token": ["", "MachineMemOperand", "*", "MMO", "=", "MF", ".", "getMachineMemOperand", "(", "MachinePointerInfo", "::", "getFixedStack", "(", "MF", ",", "FrameIndex", ")", ",", "MachineMemOperand", "::", "MOLoad", ",", "MFI", ".", "getObjectSize", "(", "FrameIndex", ")", ",", "MFI", ".", "getObjectAlign", "(", "FrameIndex", ")", ")", ";", "unsigned", "Opcode", "=", "", ";", "if", "(", "TRI", "->", "isTypeLegalForClass", "(", "*", "RC", ",", "", ")", ")", "{", "Opcode", "=", "", ";"], "ground_truth": ["}", "else", "if", "(", "TRI", "->", "isTypeLegalForClass", "(", "*", "RC", ",", "", ")", ")", "{"], "File": "MCS51InstrInfo", "Func": "loadRegFromStackSlot", "Target": "MCS51", "Target_Clf": "MPU", "Compiler_Type": "LLVM", "Idx": 119596, "Length": 73, "Cover_Rate": 0.35960591133004927} {"Template_token": ["", "InstrInfo", "::", "InstrInfo", "(", ")", ":", "GenInstrInfo", "(", "", ",", "", ")", ",", "RI", "(", ")", "{"], "ground_truth": ["}"], "File": "MCS51InstrInfo", "Func": "MCS51InstrInfo", "Target": "MCS51", "Target_Clf": "MPU", "Compiler_Type": "LLVM", "Idx": 119597, "Length": 18, "Cover_Rate": 0.8181818181818182} {"Template_token": ["", "InstrInfo", "::", "InstrInfo", "(", ")", ":", "GenInstrInfo", "(", "", ",", "", ")", ",", "RI", "(", ")", "{"], "ground_truth": ["}"], "File": "MCS51InstrInfo", "Func": "MCS51InstrInfo", "Target": "MCS51", "Target_Clf": "MPU", "Compiler_Type": "LLVM", "Idx": 119598, "Length": 18, "Cover_Rate": 0.8181818181818182} {"Template_token": ["", "assert", "(", "Cond", ".", "size", "(", ")", "==", "", "&&", "", ")", ";"], "ground_truth": ["", "CC", "=", "static_cast", "<", "", ">", "(", "Cond", "[", "", "]", ".", "getImm", "(", ")", ")", ";"], "File": "MCS51InstrInfo", "Func": "reverseBranchCondition", "Target": "MCS51", "Target_Clf": "MPU", "Compiler_Type": "LLVM", "Idx": 119599, "Length": 31, "Cover_Rate": 0.4696969696969697} {"Template_token": ["", "const", "MachineFrameInfo", "&", "MFI", "=", "MF", ".", "getFrameInfo", "(", ")", ";", "MachineMemOperand", "*", "MMO", "=", "MF", ".", "getMachineMemOperand", "(", "MachinePointerInfo", "::", "getFixedStack", "(", "MF", ",", "FrameIndex", ")", ",", "MachineMemOperand", "::", "MOStore", ",", "MFI", ".", "getObjectSize", "(", "FrameIndex", ")", ",", "MFI", ".", "getObjectAlign", "(", "FrameIndex", ")", ")", ";", "unsigned", "Opcode", "=", "", ";", "if", "(", "TRI", "->", "isTypeLegalForClass", "(", "*", "RC", ",", "", ")", ")", "{", "Opcode", "=", "", ";", "}", "else", "if", "(", "TRI", "->", "isTypeLegalForClass", "(", "*", "RC", ",", "", ")", ")", "{", "Opcode", "=", "", ";", "}", "else", "{", "llvm_unreachable", "(", "", ")", ";"], "ground_truth": ["}"], "File": "MCS51InstrInfo", "Func": "storeRegToStackSlot", "Target": "MCS51", "Target_Clf": "MPU", "Compiler_Type": "LLVM", "Idx": 119600, "Length": 97, "Cover_Rate": 0.41452991452991456} {"Template_token": ["", "void", "InstrInfo", "::", "storeRegToStackSlot", "(", "MachineBasicBlock", "&", "MBB", ",", "MachineBasicBlock", "::", "iterator", "MI", ",", "Register", "SrcReg", ",", "bool", "isKill", ",", "int", "FrameIndex", ",", "const", "TargetRegisterClass", "*", "RC", ",", "const", "TargetRegisterInfo", "*", "TRI", ")", "const", "{", "MachineFunction", "&", "MF", "=", "*", "MBB", ".", "getParent", "(", ")", ";", "MachineFunctionInfo", "*", "AFI", "=", "MF", ".", "getInfo", "<", "MachineFunctionInfo", ">", "(", ")", ";", "AFI", "->", "setHasSpills", "(", "true", ")", ";", "DebugLoc", "DL", ";", "if", "(", "MI", "!=", "MBB", ".", "end", "(", ")", ")", "{", "DL", "=", "MI", "->", "getDebugLoc", "(", ")", ";", "}", "const", "MachineFrameInfo", "&", "MFI", "=", "MF", ".", "getFrameInfo", "(", ")", ";", "MachineMemOperand", "*", "MMO", "=", "MF", ".", "getMachineMemOperand", "(", "MachinePointerInfo", "::", "getFixedStack", "(", "MF", ",", "FrameIndex", ")", ",", "MachineMemOperand", "::", "MOStore", ",", "MFI", ".", "getObjectSize", "(", "FrameIndex", ")", ",", "MFI", ".", "getObjectAlign", "(", "FrameIndex", ")", ")", ";", "unsigned", "Opcode", "=", "", ";", "if", "(", "TRI", "->", "isTypeLegalForClass", "(", "*", "RC", ",", "", ")", ")", "{", "Opcode", "=", "", ";", "}", "else", "if", "(", "TRI", "->", "isTypeLegalForClass", "(", "*", "RC", ",", "", ")", ")", "{", "Opcode", "=", "", ";", "}", "else", "{"], "ground_truth": ["llvm_unreachable", "(", "", ")", ";"], "File": "MCS51InstrInfo", "Func": "storeRegToStackSlot", "Target": "MCS51", "Target_Clf": "MPU", "Compiler_Type": "LLVM", "Idx": 119601, "Length": 185, "Cover_Rate": 0.7905982905982906} {"Template_token": ["", "StringRef", "getPassName", "(", ")", "const", "override", "{"], "ground_truth": ["return", "", ";"], "File": "MCS51ISelDAGToDAG", "Func": "getPassName", "Target": "MCS51", "Target_Clf": "MPU", "Compiler_Type": "LLVM", "Idx": 119604, "Length": 10, "Cover_Rate": 0.9090909090909091} {"Template_token": ["", "DAGToDAGISel", "(", "TargetMachine", "&", "TM", ",", "CodeGenOpt", "::", "Level", "OptLevel", ")", ":", "SelectionDAGISel", "(", "TM", ",", "OptLevel", ")", ",", "Subtarget", "(", "nullptr", ")", "{"], "ground_truth": ["}"], "File": "MCS51ISelDAGToDAG", "Func": "MCS51DAGToDAGISel", "Target": "MCS51", "Target_Clf": "MPU", "Compiler_Type": "LLVM", "Idx": 119606, "Length": 25, "Cover_Rate": 1.0} {"Template_token": ["", "DAGToDAGISel", "(", "TargetMachine", "&", "TM", ",", "CodeGenOpt", "::", "Level", "OptLevel", ")", ":", "SelectionDAGISel", "(", "TM", ",", "OptLevel", ")", ",", "Subtarget", "(", "nullptr", ")", "{"], "ground_truth": ["}"], "File": "MCS51ISelDAGToDAG", "Func": "MCS51DAGToDAGISel", "Target": "MCS51", "Target_Clf": "MPU", "Compiler_Type": "LLVM", "Idx": 119607, "Length": 25, "Cover_Rate": 1.0} {"Template_token": ["", "LLVM_DEBUG", "(", "errs", "(", ")", "<<", "", ";", "N", "->", "dump", "(", "CurDAG", ")", ";", "errs", "(", ")", "<<", "", ")", ";", "N", "->", "setNodeId", "(", "-", "", ")", ";", "return", ";"], "ground_truth": ["}"], "File": "MCS51ISelDAGToDAG", "Func": "Select", "Target": "MCS51", "Target_Clf": "MPU", "Compiler_Type": "LLVM", "Idx": 119609, "Length": 33, "Cover_Rate": 0.4925373134328358} {"Template_token": ["", "}", "case", "", ":", "{", "if", "(", "(", "!", "isPre", "&&", "Offs", "!=", "", ")", "||", "(", "isPre", "&&", "Offs", "!=", "-", "", ")", ")", "{", "return", "false", ";", "}", "Opcode", "=", "(", "isPre", ")", "?", "", ":", "", ";", "break", ";", "}", "default", ":", "return", "false", ";", "}", "SDNode", "*", "ResNode", "=", "CurDAG", "->", "getMachineNode", "(", "Opcode", ",", "SDLoc", "(", "N", ")", ",", "VT", ",", "PtrVT", ",", "", ",", "LD", "->", "getBasePtr", "(", ")", ",", "LD", "->", "getChain", "(", ")", ")", ";"], "ground_truth": ["ReplaceUses", "(", "N", ",", "ResNode", ")", ";"], "File": "MCS51ISelDAGToDAG", "Func": "selectIndexedLoad", "Target": "MCS51", "Target_Clf": "MPU", "Compiler_Type": "LLVM", "Idx": 119610, "Length": 90, "Cover_Rate": 0.30612244897959184} {"Template_token": ["", "int", "Offs", "=", "cast", "<", "ConstantSDNode", ">", "(", "LD", "->", "getOffset", "(", ")", ")", "->", "getSExtValue", "(", ")", ";", "switch", "(", "VT", ".", "SimpleTy", ")", "{", "case", "", ":", "{", "if", "(", "(", "!", "isPre", "&&", "Offs", "!=", "", ")", "||", "(", "isPre", "&&", "Offs", "!=", "-", "", ")", ")", "{", "return", "false", ";", "}", "Opcode", "=", "(", "isPre", ")", "?", "", ":", "", ";", "break", ";", "}", "case", "", ":", "{", "if", "(", "(", "!", "isPre", "&&", "Offs", "!=", "", ")", "||", "(", "isPre", "&&", "Offs", "!=", "-", "", ")", ")", "{"], "ground_truth": ["return", "false", ";"], "File": "MCS51ISelDAGToDAG", "Func": "selectIndexedLoad", "Target": "MCS51", "Target_Clf": "MPU", "Compiler_Type": "LLVM", "Idx": 119611, "Length": 96, "Cover_Rate": 0.32653061224489793} {"Template_token": ["", "", "AM", "=", "LD", "->", "getAddressingMode", "(", ")", ";", "if", "(", "LD", "->", "getExtensionType", "(", ")", "!=", "", "||", "AM", "!=", "", ")", "{", "return", "", ";", "}", "unsigned", "Opcode", "=", "", ";", "int", "Offs", "=", "cast", "<", "ConstantSDNode", ">", "(", "LD", "->", "getOffset", "(", ")", ")", "->", "getSExtValue", "(", ")", ";", "switch", "(", "VT", ".", "SimpleTy", ")", "{", "case", "", ":", "{", "if", "(", "Offs", "!=", "", ")", "{", "return", "", ";", "}", "Opcode", "=", "", ";", "break", ";", "}", "case", "", ":", "{"], "ground_truth": ["if", "(", "Offs", "!=", "", ")", "{"], "File": "MCS51ISelDAGToDAG", "Func": "selectIndexedProgMemLoad", "Target": "MCS51", "Target_Clf": "MPU", "Compiler_Type": "LLVM", "Idx": 119612, "Length": 92, "Cover_Rate": 0.6524822695035462} {"Template_token": ["", "unsigned", "Reg", ";", "bool", "CanHandleRegImmOpt", "=", "ImmNode", "&&", "ImmNode", "->", "getAPIntValue", "(", ")", ".", "ult", "(", "", ")", ";", "if", "(", "CopyFromRegOp", "->", "getOpcode", "(", ")", "==", "", ")", "{", "RegisterSDNode", "*", "RegNode", "=", "cast", "<", "RegisterSDNode", ">", "(", "CopyFromRegOp", "->", "getOperand", "(", "", ")", ")", ";", "Reg", "=", "RegNode", "->", "getReg", "(", ")", ";", "CanHandleRegImmOpt", "&=", "(", "Register", "::", "isVirtualRegister", "(", "Reg", ")", "||", "", ".", "contains", "(", "Reg", ")", ")", ";", "}", "else", "{", "CanHandleRegImmOpt", "=", "false", ";", "}", "if", "(", "CanHandleRegImmOpt", ")", "{", "SDValue", "Base", ",", "Disp", ";", "if", "(", "RI", ".", "getRegClass", "(", "Reg", ")", "!=", "&", "", ")", "{", "SDLoc", "dl", "(", "CopyFromRegOp", ")", ";", "Register", "VReg", "=", "RI", ".", "createVirtualRegister", "(", "&", "", ")", ";", "SDValue", "CopyToReg", "=", "CurDAG", "->", "getCopyToReg", "(", "CopyFromRegOp", ",", "dl", ",", "VReg", ",", "CopyFromRegOp", ")", ";", "SDValue", "NewCopyFromRegOp", "=", "CurDAG", "->", "getCopyFromReg", "(", "CopyToReg", ",", "dl", ",", "VReg", ",", "TL", ".", "getPointerTy", "(", "DL", ")", ")", ";", "Base", "=", "NewCopyFromRegOp", ";", "}", "else", "{", "Base", "=", "CopyFromRegOp", ";", "}", "if", "(", "ImmNode", "->", "getValueType", "(", "", ")", "!=", "", ")", "{", "Disp", "=", "CurDAG", "->", "getTargetConstant", "(", "ImmNode", "->", "getAPIntValue", "(", ")", ".", "getZExtValue", "(", ")", ",", "dl", ",", "", ")", ";", "}", "else", "{", "Disp", "=", "ImmOp", ";", "}", "OutOps", ".", "push_back", "(", "Base", ")", ";", "OutOps", ".", "push_back", "(", "Disp", ")", ";", "return", "false", ";", "}", "}", "Register", "VReg", "=", "RI", ".", "createVirtualRegister", "(", "&", "", ")", ";", "SDValue", "CopyToReg", "=", "CurDAG", "->", "getCopyToReg", "(", "Op", ",", "dl", ",", "VReg", ",", "Op", ")", ";", "SDValue", "CopyFromReg", "=", "CurDAG", "->", "getCopyFromReg", "(", "CopyToReg", ",", "dl", ",", "VReg", ",", "TL", ".", "getPointerTy", "(", "DL", ")", ")", ";"], "ground_truth": ["OutOps", ".", "push_back", "(", "CopyFromReg", ")", ";"], "File": "MCS51ISelDAGToDAG", "Func": "SelectInlineAsmMemoryOperand", "Target": "MCS51", "Target_Clf": "MPU", "Compiler_Type": "LLVM", "Idx": 119613, "Length": 285, "Cover_Rate": 0.5144404332129964} {"Template_token": ["", "auto", "DL", "=", "CurDAG", "->", "getDataLayout", "(", ")", ";", "const", "RegisterSDNode", "*", "RegNode", "=", "dyn_cast", "<", "RegisterSDNode", ">", "(", "Op", ")", ";", "if", "(", "RegNode", "&&", "RI", ".", "getRegClass", "(", "RegNode", "->", "getReg", "(", ")", ")", "==", "&", "", ")", "{", "OutOps", ".", "push_back", "(", "Op", ")", ";", "return", "false", ";", "}", "if", "(", "Op", "->", "getOpcode", "(", ")", "==", "", ")", "{", "SDValue", "Base", ",", "Disp", ";", "if", "(", "SelectAddr", "(", "Op", ".", "getNode", "(", ")", ",", "Op", ",", "Base", ",", "Disp", ")", ")", "{", "OutOps", ".", "push_back", "(", "Base", ")", ";", "OutOps", ".", "push_back", "(", "Disp", ")", ";", "return", "false", ";", "}", "return", "true", ";", "}", "if", "(", "Op", "->", "getOpcode", "(", ")", "==", "", "||", "Op", "->", "getOpcode", "(", ")", "==", "", ")", "{", "SDValue", "CopyFromRegOp", "=", "Op", "->", "getOperand", "(", "", ")", ";", "SDValue", "ImmOp", "=", "Op", "->", "getOperand", "(", "", ")", ";", "ConstantSDNode", "*", "ImmNode", "=", "dyn_cast", "<", "ConstantSDNode", ">", "(", "ImmOp", ")", ";", "unsigned", "Reg", ";", "bool", "CanHandleRegImmOpt", "=", "ImmNode", "&&", "ImmNode", "->", "getAPIntValue", "(", ")", ".", "ult", "(", "", ")", ";"], "ground_truth": ["if", "(", "CopyFromRegOp", "->", "getOpcode", "(", ")", "==", "", ")", "{"], "File": "MCS51ISelDAGToDAG", "Func": "SelectInlineAsmMemoryOperand", "Target": "MCS51", "Target_Clf": "MPU", "Compiler_Type": "LLVM", "Idx": 119614, "Length": 189, "Cover_Rate": 0.34115523465703973} {"Template_token": ["", "SDLoc", "DL", "(", "N", ")", ";", "MVT", "Type", "=", "N", "->", "getSimpleValueType", "(", "", ")", ";", "assert", "(", "Type", "==", "", "&&", "", ")", ";", "bool", "isSigned", "=", "N", "->", "getOpcode", "(", ")", "==", "", ";", "unsigned", "MachineOp", "=", "isSigned", "?", "", ":", "", ";", "SDValue", "Lhs", "=", "N", "->", "getOperand", "(", "", ")", ";", "SDValue", "Rhs", "=", "N", "->", "getOperand", "(", "", ")", ";", "SDNode", "*", "Mul", "=", "CurDAG", "->", "getMachineNode", "(", "MachineOp", ",", "DL", ",", "", ",", "Lhs", ",", "Rhs", ")", ";"], "ground_truth": ["SDValue", "InChain", "=", "CurDAG", "->", "getEntryNode", "(", ")", ";"], "File": "MCS51ISelDAGToDAG", "Func": "selectMultiplication", "Target": "MCS51", "Target_Clf": "MPU", "Compiler_Type": "LLVM", "Idx": 119615, "Length": 93, "Cover_Rate": 0.36046511627906974} {"Template_token": ["", "unsigned", "Opcode", "=", "N", "->", "getOpcode", "(", ")", ";", "SDLoc", "DL", "(", "N", ")", ";", "switch", "(", "Opcode", ")", "{", "case", "", ":", "return", "select", "<", "", ">", "(", "N", ")", ";"], "ground_truth": ["case", "", ":", "return", "select", "<", "", ">", "(", "N", ")", ";"], "File": "MCS51ISelDAGToDAG", "Func": "trySelect", "Target": "MCS51", "Target_Clf": "MPU", "Compiler_Type": "LLVM", "Idx": 119616, "Length": 44, "Cover_Rate": 0.3308270676691729} {"Template_token": ["", "unsigned", "Opcode", "=", "N", "->", "getOpcode", "(", ")", ";", "SDLoc", "DL", "(", "N", ")", ";", "switch", "(", "Opcode", ")", "{", "case", "", ":", "return", "select", "<", "", ">", "(", "N", ")", ";", "case", "", ":", "return", "select", "<", "", ">", "(", "N", ")", ";", "case", "", ":", "case", "", ":", "return", "selectMultiplication", "(", "N", ")", ";", "case", "", ":", "return", "select", "<", "", ">", "(", "N", ")", ";"], "ground_truth": ["case", "", ":", "return", "select", "<", "", ">", "(", "N", ")", ";"], "File": "MCS51ISelDAGToDAG", "Func": "trySelect", "Target": "MCS51", "Target_Clf": "MPU", "Compiler_Type": "LLVM", "Idx": 119617, "Length": 80, "Cover_Rate": 0.6015037593984962} {"Template_token": ["", "MVT", "VT", "=", "Args", "[", "i", "]", ".", "VT", ";", "if", "(", "UseStack", ")", "{", "auto", "evt", "=", "EVT", "(", "VT", ")", ".", "getTypeForEVT", "(", "CCInfo", ".", "getContext", "(", ")", ")", ";", "unsigned", "Offset", "=", "CCInfo", ".", "AllocateStack", "(", "TD", "->", "getTypeAllocSize", "(", "evt", ")", ",", "TD", "->", "getABITypeAlign", "(", "evt", ")", ")", ";", "CCInfo", ".", "addLoc", "(", "CCValAssign", "::", "getMem", "(", "i", ",", "VT", ",", "Offset", ",", "VT", ",", "CCValAssign", "::", "Full", ")", ")", ";", "}", "else", "{", "unsigned", "Reg", ";", "if", "(", "VT", "==", "", ")", "{", "Reg", "=", "CCInfo", ".", "AllocateReg", "(", "RegList8", "[", "RegIdx", "]", ")", ";", "}", "else", "if", "(", "VT", "==", "", ")", "{", "Reg", "=", "CCInfo", ".", "AllocateReg", "(", "RegList16", "[", "RegIdx", "]", ")", ";", "}", "else", "{", "llvm_unreachable", "(", "", ")", ";", "}"], "ground_truth": ["assert", "(", "Reg", "&&", "", ")", ";"], "File": "MCS51ISelLowering", "Func": "analyzeArguments", "Target": "MCS51", "Target_Clf": "MPU", "Compiler_Type": "LLVM", "Idx": 119618, "Length": 138, "Cover_Rate": 0.3660477453580902} {"Template_token": ["", "for", "(", "unsigned", "i", "=", "", ";", "i", "!=", "NumArgs", ";", "++", "i", ")", "{", "MVT", "VT", "=", "Args", "[", "i", "]", ".", "VT", ";", "unsigned", "Reg", ";", "if", "(", "VT", "==", "", ")", "{", "Reg", "=", "CCInfo", ".", "AllocateReg", "(", "RegList8", "[", "RegIdx", "]", ")", ";", "}", "else", "if", "(", "VT", "==", "", ")", "{", "Reg", "=", "CCInfo", ".", "AllocateReg", "(", "RegList16", "[", "RegIdx", "]", ")", ";", "}", "else", "{", "llvm_unreachable", "(", "", ")", ";", "}", "assert", "(", "Reg", "&&", "", ")", ";", "CCInfo", ".", "addLoc", "(", "CCValAssign", "::", "getReg", "(", "i", ",", "VT", ",", "Reg", ",", "VT", ",", "CCValAssign", "::", "Full", ")", ")", ";"], "ground_truth": ["RegIdx", "-=", "VT", ".", "getStoreSize", "(", ")", ";"], "File": "MCS51ISelLowering", "Func": "analyzeReturnValues", "Target": "MCS51", "Target_Clf": "MPU", "Compiler_Type": "LLVM", "Idx": 119619, "Length": 114, "Cover_Rate": 0.5876288659793815} {"Template_token": ["", "SmallVector", "<", "CCValAssign", ",", "", ">", "RVLocs", ";", "CCState", "CCInfo", "(", "CallConv", ",", "isVarArg", ",", "MF", ",", "RVLocs", ",", "Context", ")", ";", "return", "CCInfo", ".", "CheckReturn", "(", "Outs", ",", "RetCC__BUILTIN", ")", ";", "}"], "ground_truth": ["unsigned", "TotalBytes", "=", "getTotalArgumentsSizeInBytes", "(", "Outs", ")", ";"], "File": "MCS51ISelLowering", "Func": "CanLowerReturn", "Target": "MCS51", "Target_Clf": "MPU", "Compiler_Type": "LLVM", "Idx": 119620, "Length": 41, "Cover_Rate": 0.4606741573033708} {"Template_token": ["", "case", "", ":", "case", "", ":", "case", "", ":", "case", "", ":", "case", "", ":", "case", "", ":", "case", "", ":", "case", "", ":", "return", "insertShift", "(", "MI", ",", "MBB", ")", ";", "case", "", ":", "case", "", ":", "return", "insertMul", "(", "MI", ",", "MBB", ")", ";", "}", "assert", "(", "(", "Opc", "==", "", "||", "Opc", "==", "", ")", "&&", "", ")", ";", "const", "InstrInfo", "&", "TII", "=", "(", "const", "InstrInfo", "&", ")", "*", "MI", ".", "getParent", "(", ")", "->", "getParent", "(", ")", "->", "getSubtarget", "(", ")", ".", "getInstrInfo", "(", ")", ";", "DebugLoc", "dl", "=", "MI", ".", "getDebugLoc", "(", ")", ";", "MachineFunction", "*", "MF", "=", "MBB", "->", "getParent", "(", ")", ";", "const", "BasicBlock", "*", "LLVM_BB", "=", "MBB", "->", "getBasicBlock", "(", ")", ";", "MachineBasicBlock", "*", "FallThrough", "=", "MBB", "->", "getFallThrough", "(", ")", ";", "if", "(", "FallThrough", "!=", "nullptr", ")", "{", "BuildMI", "(", "MBB", ",", "dl", ",", "TII", ".", "get", "(", "", ")", ")", ".", "addMBB", "(", "FallThrough", ")", ";", "}", "MachineBasicBlock", "*", "trueMBB", "=", "MF", "->", "CreateMachineBasicBlock", "(", "LLVM_BB", ")", ";", "MachineBasicBlock", "*", "falseMBB", "=", "MF", "->", "CreateMachineBasicBlock", "(", "LLVM_BB", ")", ";", "MachineFunction", "::", "iterator", "I", ";", "for", "(", "I", "=", "MF", "->", "begin", "(", ")", ";", "I", "!=", "MF", "->", "end", "(", ")", "&&", "&", "(", "*", "I", ")", "!=", "MBB", ";", "++", "I", ")", ";", "if", "(", "I", "!=", "MF", "->", "end", "(", ")", ")", "++", "I", ";", "MF", "->", "insert", "(", "I", ",", "trueMBB", ")", ";"], "ground_truth": ["MF", "->", "insert", "(", "I", ",", "falseMBB", ")", ";"], "File": "MCS51ISelLowering", "Func": "EmitInstrWithCustomInserter", "Target": "MCS51", "Target_Clf": "MPU", "Compiler_Type": "LLVM", "Idx": 119621, "Length": 246, "Cover_Rate": 0.45981308411214955} {"Template_token": ["", "", "getCmpLibcallReturnType", "(", ")", "const", "override", "{"], "ground_truth": ["return", "", ";"], "File": "MCS51ISelLowering", "Func": "getCmpLibcallReturnType", "Target": "MCS51", "Target_Clf": "MPU", "Compiler_Type": "LLVM", "Idx": 119622, "Length": 10, "Cover_Rate": 0.6666666666666666} {"Template_token": ["", "", "getCmpLibcallReturnType", "(", ")", "const", "override", "{"], "ground_truth": ["return", "", ";"], "File": "MCS51ISelLowering", "Func": "getCmpLibcallReturnType", "Target": "MCS51", "Target_Clf": "MPU", "Compiler_Type": "LLVM", "Idx": 119623, "Length": 10, "Cover_Rate": 0.6666666666666666} {"Template_token": ["", "unsigned", "TargetLowering", "::", "getInlineAsmMemConstraint", "(", "StringRef", "ConstraintCode", ")", "const", "{", "switch", "(", "ConstraintCode", "[", "", "]", ")", "{", "case", "'Q'", ":", "return", "InlineAsm", "::", "Constraint_Q", ";"], "ground_truth": ["}"], "File": "MCS51ISelLowering", "Func": "getInlineAsmMemConstraint", "Target": "MCS51", "Target_Clf": "MPU", "Compiler_Type": "LLVM", "Idx": 119624, "Length": 27, "Cover_Rate": 0.75} {"Template_token": ["", "unsigned", "TargetLowering", "::", "getInlineAsmMemConstraint", "(", "StringRef", "ConstraintCode", ")", "const", "{", "switch", "(", "ConstraintCode", "[", "", "]", ")", "{", "case", "'Q'", ":", "return", "InlineAsm", "::", "Constraint_Q", ";"], "ground_truth": ["}"], "File": "MCS51ISelLowering", "Func": "getInlineAsmMemConstraint", "Target": "MCS51", "Target_Clf": "MPU", "Compiler_Type": "LLVM", "Idx": 119625, "Length": 27, "Cover_Rate": 0.75} {"Template_token": ["", "if", "(", "const", "ConstantSDNode", "*", "RHS", "=", "dyn_cast", "<", "ConstantSDNode", ">", "(", "Op", "->", "getOperand", "(", "", ")", ")", ")", "{", "int", "RHSC", "=", "RHS", "->", "getSExtValue", "(", ")", ";", "if", "(", "Op", "->", "getOpcode", "(", ")", "==", "", ")", "RHSC", "=", "-", "RHSC", ";", "if", "(", "(", "VT", "==", "", "&&", "RHSC", "!=", "", ")", "||", "(", "VT", "==", "", "&&", "RHSC", "!=", "", ")", ")", "{", "return", "false", ";", "}", "Base", "=", "Op", "->", "getOperand", "(", "", ")", ";", "Offset", "=", "DAG", ".", "getConstant", "(", "RHSC", ",", "DL", ",", "", ")", ";", "AM", "=", "", ";"], "ground_truth": ["return", "true", ";"], "File": "MCS51ISelLowering", "Func": "getPostIndexedAddressParts", "Target": "MCS51", "Target_Clf": "MPU", "Compiler_Type": "LLVM", "Idx": 119628, "Length": 101, "Cover_Rate": 0.3482758620689655} {"Template_token": ["", "SDLoc", "DL", "(", "N", ")", ";", "if", "(", "const", "LoadSDNode", "*", "LD", "=", "dyn_cast", "<", "LoadSDNode", ">", "(", "N", ")", ")", "{", "VT", "=", "LD", "->", "getMemoryVT", "(", ")", ";", "Op", "=", "LD", "->", "getBasePtr", "(", ")", ".", "getNode", "(", ")", ";", "if", "(", "LD", "->", "getExtensionType", "(", ")", "!=", "", ")", "return", "false", ";", "if", "(", "", "(", "LD", ")", ")", "{", "return", "false", ";", "}", "}", "else", "if", "(", "const", "StoreSDNode", "*", "ST", "=", "dyn_cast", "<", "StoreSDNode", ">", "(", "N", ")", ")", "{", "VT", "=", "ST", "->", "getMemoryVT", "(", ")", ";", "Op", "=", "ST", "->", "getBasePtr", "(", ")", ".", "getNode", "(", ")", ";", "if", "(", "", "(", "ST", ")", ")", "{", "return", "false", ";", "}", "}", "else", "{", "return", "false", ";", "}", "if", "(", "VT", "!=", "", "&&", "VT", "!=", "", ")", "{", "return", "false", ";", "}", "if", "(", "Op", "->", "getOpcode", "(", ")", "!=", "", "&&", "Op", "->", "getOpcode", "(", ")", "!=", "", ")", "{", "return", "false", ";", "}", "if", "(", "const", "ConstantSDNode", "*", "RHS", "=", "dyn_cast", "<", "ConstantSDNode", ">", "(", "Op", "->", "getOperand", "(", "", ")", ")", ")", "{", "int", "RHSC", "=", "RHS", "->", "getSExtValue", "(", ")", ";", "if", "(", "Op", "->", "getOpcode", "(", ")", "==", "", ")", "RHSC", "=", "-", "RHSC", ";"], "ground_truth": ["if", "(", "(", "VT", "==", "", "&&", "RHSC", "!=", "-", "", ")", "||", "(", "VT", "==", "", "&&", "RHSC", "!=", "-", "", ")", ")", "{"], "File": "MCS51ISelLowering", "Func": "getPreIndexedAddressParts", "Target": "MCS51", "Target_Clf": "MPU", "Compiler_Type": "LLVM", "Idx": 119629, "Length": 232, "Cover_Rate": 0.7009063444108762} {"Template_token": ["", "}", "if", "(", "Op", "->", "getOpcode", "(", ")", "!=", "", "&&", "Op", "->", "getOpcode", "(", ")", "!=", "", ")", "{", "return", "false", ";", "}", "if", "(", "const", "ConstantSDNode", "*", "RHS", "=", "dyn_cast", "<", "ConstantSDNode", ">", "(", "Op", "->", "getOperand", "(", "", ")", ")", ")", "{", "int", "RHSC", "=", "RHS", "->", "getSExtValue", "(", ")", ";", "if", "(", "Op", "->", "getOpcode", "(", ")", "==", "", ")", "RHSC", "=", "-", "RHSC", ";", "if", "(", "(", "VT", "==", "", "&&", "RHSC", "!=", "-", "", ")", "||", "(", "VT", "==", "", "&&", "RHSC", "!=", "-", "", ")", ")", "{", "return", "false", ";", "}", "Base", "=", "Op", "->", "getOperand", "(", "", ")", ";"], "ground_truth": ["Offset", "=", "DAG", ".", "getConstant", "(", "RHSC", ",", "DL", ",", "", ")", ";"], "File": "MCS51ISelLowering", "Func": "getPreIndexedAddressParts", "Target": "MCS51", "Target_Clf": "MPU", "Compiler_Type": "LLVM", "Idx": 119630, "Length": 120, "Cover_Rate": 0.36253776435045315} {"Template_token": ["", "case", "'e'", ":", "if", "(", "VT", "==", "", "||", "VT", "==", "", ")", "return", "std", "::", "make_pair", "(", "", ",", "&", "", ")", ";", "break", ";", "case", "'q'", ":", "return", "std", "::", "make_pair", "(", "", ",", "&", "", ")", ";", "case", "'r'", ":", "if", "(", "VT", "==", "", ")", "return", "std", "::", "make_pair", "(", "", ",", "&", "", ")", ";", "else", "if", "(", "VT", "==", "", ")", "return", "std", "::", "make_pair", "(", "", ",", "&", "", ")", ";", "break", ";", "case", "'t'", ":", "if", "(", "VT", "==", "", ")", "return", "std", "::", "make_pair", "(", "unsigned", "(", "", ")", ",", "&", "", ")", ";", "break", ";", "case", "'w'", ":", "if", "(", "VT", "==", "", "||", "VT", "==", "", ")", "return", "std", "::", "make_pair", "(", "", ",", "&", "", ")", ";", "break", ";", "case", "'x'", ":", "case", "'X'", ":", "if", "(", "VT", "==", "", "||", "VT", "==", "", ")", "return", "std", "::", "make_pair", "(", "unsigned", "(", "", ")", ",", "&", "", ")", ";", "break", ";", "case", "'y'", ":", "case", "'Y'", ":"], "ground_truth": ["if", "(", "VT", "==", "", "||", "VT", "==", "", ")", "return", "std", "::", "make_pair", "(", "unsigned", "(", "", ")", ",", "&", "", ")", ";"], "File": "MCS51ISelLowering", "Func": "getRegForInlineAsmConstraint", "Target": "MCS51", "Target_Clf": "MPU", "Compiler_Type": "LLVM", "Idx": 119631, "Length": 193, "Cover_Rate": 0.3683206106870229} {"Template_token": ["", "if", "(", "VT", "==", "LLT", "::", "scalar", "(", "", ")", ")", "{", "Reg", "=", "StringSwitch", "<", "unsigned", ">", "(", "RegName", ")", ".", "Case", "(", "", ",", "", ")", ".", "Case", "(", "", ",", "", ")", ".", "Default", "(", "", ")", ";", "}", "else", "{"], "ground_truth": ["Reg", "=", "StringSwitch", "<", "unsigned", ">", "(", "RegName", ")", ".", "Case", "(", "", ",", "", ")", ".", "Case", "(", "", ",", "", ")", ".", "Default", "(", "", ")", ";"], "File": "MCS51ISelLowering", "Func": "getRegisterByName", "Target": "MCS51", "Target_Clf": "MPU", "Compiler_Type": "LLVM", "Idx": 119632, "Length": 73, "Cover_Rate": 0.5703125} {"Template_token": ["", "MVT", "getScalarShiftAmountTy", "(", "const", "DataLayout", "&", ",", "EVT", "LHSTy", ")", "const", "override", "{", "return", "", ";"], "ground_truth": ["}"], "File": "MCS51ISelLowering", "Func": "getScalarShiftAmountTy", "Target": "MCS51", "Target_Clf": "MPU", "Compiler_Type": "LLVM", "Idx": 119633, "Length": 17, "Cover_Rate": 0.8947368421052632} {"Template_token": ["", "default", ":", "weight", "=", "TargetLowering", "::", "getSingleConstraintMatchWeight", "(", "info", ",", "constraint", ")", ";", "break", ";", "case", "'d'", ":", "case", "'r'", ":", "case", "'l'", ":", "weight", "=", "CW_Register", ";", "break", ";", "case", "'a'", ":", "case", "'b'", ":", "case", "'e'", ":", "case", "'q'", ":", "case", "'t'", ":", "case", "'w'", ":", "case", "'x'", ":", "case", "'X'", ":", "case", "'y'", ":", "case", "'Y'", ":", "case", "'z'", ":", "case", "'Z'", ":", "weight", "=", "CW_SpecificReg", ";", "break", ";", "case", "'G'", ":", "if", "(", "const", "ConstantFP", "*", "C", "=", "dyn_cast", "<", "ConstantFP", ">", "(", "CallOperandVal", ")", ")", "{", "if", "(", "C", "->", "isZero", "(", ")", ")", "{", "weight", "=", "CW_Constant", ";", "}", "}", "break", ";", "case", "'I'", ":", "if", "(", "const", "ConstantInt", "*", "C", "=", "dyn_cast", "<", "ConstantInt", ">", "(", "CallOperandVal", ")", ")", "{", "if", "(", "isUInt", "<", "", ">", "(", "C", "->", "getZExtValue", "(", ")", ")", ")", "{", "weight", "=", "CW_Constant", ";", "}", "}", "break", ";", "case", "'J'", ":", "if", "(", "const", "ConstantInt", "*", "C", "=", "dyn_cast", "<", "ConstantInt", ">", "(", "CallOperandVal", ")", ")", "{", "if", "(", "(", "C", "->", "getSExtValue", "(", ")", ">=", "-", "", ")", "&&", "(", "C", "->", "getSExtValue", "(", ")", "<=", "", ")", ")", "{", "weight", "=", "CW_Constant", ";", "}", "}"], "ground_truth": ["break", ";"], "File": "MCS51ISelLowering", "Func": "getSingleConstraintMatchWeight", "Target": "MCS51", "Target_Clf": "MPU", "Compiler_Type": "LLVM", "Idx": 119636, "Length": 201, "Cover_Rate": 0.3538732394366197} {"Template_token": ["", "return", "nullptr", ";", "NODE", "(", "RET_FLAG", ")", ";", "NODE", "(", "RETI_FLAG", ")", ";", "NODE", "(", "CALL", ")", ";", "NODE", "(", "WRAPPER", ")", ";", "NODE", "(", "LSL", ")", ";", "NODE", "(", "LSR", ")", ";", "NODE", "(", "ROL", ")", ";", "NODE", "(", "ROR", ")", ";"], "ground_truth": ["NODE", "(", "ASR", ")", ";"], "File": "MCS51ISelLowering", "Func": "getTargetNodeName", "Target": "MCS51", "Target_Clf": "MPU", "Compiler_Type": "LLVM", "Idx": 119637, "Length": 48, "Cover_Rate": 0.3779527559055118} {"Template_token": ["", "for", "(", "const", "ArgT", "&", "Arg", ":", "Args", ")", "{", "TotalBytes", "+=", "Arg", ".", "VT", ".", "getStoreSize", "(", ")", ";"], "ground_truth": ["}"], "File": "MCS51ISelLowering", "Func": "getTotalArgumentsSizeInBytes", "Target": "MCS51", "Target_Clf": "MPU", "Compiler_Type": "LLVM", "Idx": 119638, "Length": 21, "Cover_Rate": 0.4883720930232558} {"Template_token": ["", "static", "unsigned", "getTotalArgumentsSizeInBytes", "(", "const", "SmallVectorImpl", "<", "ArgT", ">", "&", "Args", ")", "{"], "ground_truth": ["unsigned", "TotalBytes", "=", "", ";"], "File": "MCS51ISelLowering", "Func": "getTotalArgumentsSizeInBytes", "Target": "MCS51", "Target_Clf": "MPU", "Compiler_Type": "LLVM", "Idx": 119639, "Length": 18, "Cover_Rate": 0.4186046511627907} {"Template_token": ["", "MachineBasicBlock", "*", "TargetLowering", "::", "insertMul", "(", "MachineInstr", "&", "MI", ",", "MachineBasicBlock", "*", "BB", ")", "const", "{", "const", "TargetInstrInfo", "&", "TII", "=", "*", "Subtarget", ".", "getInstrInfo", "(", ")", ";", "MachineBasicBlock", "::", "iterator", "I", "(", "MI", ")", ";", "++", "I", ";", "if", "(", "isCopyMulResult", "(", "I", ")", ")", "++", "I", ";", "if", "(", "isCopyMulResult", "(", "I", ")", ")", "++", "I", ";", "BuildMI", "(", "*", "BB", ",", "I", ",", "MI", ".", "getDebugLoc", "(", ")", ",", "TII", ".", "get", "(", "", ")", ",", "", ")", ".", "addReg", "(", "", ")", ".", "addReg", "(", "", ")", ";", "return", "BB", ";"], "ground_truth": ["}"], "File": "MCS51ISelLowering", "Func": "insertMul", "Target": "MCS51", "Target_Clf": "MPU", "Compiler_Type": "LLVM", "Idx": 119640, "Length": 96, "Cover_Rate": 0.9230769230769231} {"Template_token": ["", "default", ":", "llvm_unreachable", "(", "", ")", ";", "case", "", ":", "return", "", ";", "case", "", ":", "return", "", ";", "case", "", ":", "return", "", ";", "case", "", ":"], "ground_truth": ["return", "", ";"], "File": "MCS51ISelLowering", "Func": "intCCToMCS51CC", "Target": "MCS51", "Target_Clf": "MPU", "Compiler_Type": "LLVM", "Idx": 119641, "Length": 31, "Cover_Rate": 0.36046511627906974} {"Template_token": ["", "if", "(", "I", "->", "getOpcode", "(", ")", "==", "", ")", "{", "Register", "SrcReg", "=", "I", "->", "getOperand", "(", "", ")", ".", "getReg", "(", ")", ";", "return", "(", "SrcReg", "==", "", "||", "SrcReg", "==", "", ")", ";", "}", "return", "false", ";"], "ground_truth": ["}"], "File": "MCS51ISelLowering", "Func": "isCopyMulResult", "Target": "MCS51", "Target_Clf": "MPU", "Compiler_Type": "LLVM", "Idx": 119642, "Length": 41, "Cover_Rate": 0.6949152542372882} {"Template_token": ["", "bool", "TargetLowering", "::", "isLegalAddressingMode", "(", "const", "DataLayout", "&", "DL", ",", "const", "AddrMode", "&", "AM", ",", "Type", "*", "Ty", ",", "unsigned", "AS", ",", "Instruction", "*", "I", ")", "const", "{", "int64_t", "Offs", "=", "AM", ".", "BaseOffs", ";", "if", "(", "AM", ".", "BaseGV", "&&", "!", "AM", ".", "HasBaseReg", "&&", "AM", ".", "Scale", "==", "", "&&", "Offs", "==", "", ")", "{", "return", "true", ";", "}", "if", "(", "isa", "<", "PointerType", ">", "(", "Ty", ")", "&&", "AS", "==", "", ")", "{", "return", "false", ";", "}"], "ground_truth": ["if", "(", "Offs", "<", "", ")", "Offs", "=", "-", "Offs", ";"], "File": "MCS51ISelLowering", "Func": "isLegalAddressingMode", "Target": "MCS51", "Target_Clf": "MPU", "Compiler_Type": "LLVM", "Idx": 119643, "Length": 91, "Cover_Rate": 0.7109375} {"Template_token": ["", "bool", "TargetLowering", "::", "isOffsetFoldingLegal", "(", "const", "GlobalAddressSDNode", "*", "GA", ")", "const", "{"], "ground_truth": ["return", "true", ";"], "File": "MCS51ISelLowering", "Func": "isOffsetFoldingLegal", "Target": "MCS51", "Target_Clf": "MPU", "Compiler_Type": "LLVM", "Idx": 119645, "Length": 15, "Cover_Rate": 0.9375} {"Template_token": ["", "if", "(", "!", "isUInt", "<", "", ">", "(", "CUVal64", ")", ")", "return", ";", "Result", "=", "DAG", ".", "getTargetConstant", "(", "CUVal64", ",", "DL", ",", "Ty", ")", ";", "break", ";", "case", "'J'", ":", "if", "(", "CVal64", "<", "-", "", "||", "CVal64", ">", "", ")", "return", ";", "Result", "=", "DAG", ".", "getTargetConstant", "(", "CVal64", ",", "DL", ",", "Ty", ")", ";", "break", ";", "case", "'K'", ":", "if", "(", "CUVal64", "!=", "", ")", "return", ";", "Result", "=", "DAG", ".", "getTargetConstant", "(", "CUVal64", ",", "DL", ",", "Ty", ")", ";", "break", ";", "case", "'L'", ":", "if", "(", "CUVal64", "!=", "", ")", "return", ";", "Result", "=", "DAG", ".", "getTargetConstant", "(", "CUVal64", ",", "DL", ",", "Ty", ")", ";", "break", ";", "case", "'M'", ":", "if", "(", "!", "isUInt", "<", "", ">", "(", "CUVal64", ")", ")", "return", ";", "if", "(", "Ty", ".", "getSimpleVT", "(", ")", "==", "", ")", "{", "Ty", "=", "", ";", "}", "Result", "=", "DAG", ".", "getTargetConstant", "(", "CUVal64", ",", "DL", ",", "Ty", ")", ";", "break", ";", "case", "'N'", ":", "if", "(", "CVal64", "!=", "-", "", ")", "return", ";", "Result", "=", "DAG", ".", "getTargetConstant", "(", "CVal64", ",", "DL", ",", "Ty", ")", ";", "break", ";", "case", "'O'", ":", "if", "(", "CUVal64", "!=", "", "&&", "CUVal64", "!=", "", "&&", "CUVal64", "!=", "", ")", "return", ";", "Result", "=", "DAG", ".", "getTargetConstant", "(", "CUVal64", ",", "DL", ",", "Ty", ")", ";", "break", ";", "case", "'P'", ":", "if", "(", "CUVal64", "!=", "", ")", "return", ";", "Result", "=", "DAG", ".", "getTargetConstant", "(", "CUVal64", ",", "DL", ",", "Ty", ")", ";", "break", ";", "case", "'R'", ":", "if", "(", "CVal64", "<", "-", "", "||", "CVal64", ">", "", ")", "return", ";", "Result", "=", "DAG", ".", "getTargetConstant", "(", "CVal64", ",", "DL", ",", "Ty", ")", ";", "break", ";", "}", "break", ";"], "ground_truth": ["}"], "File": "MCS51ISelLowering", "Func": "LowerAsmOperandForConstraint", "Target": "MCS51", "Target_Clf": "MPU", "Compiler_Type": "LLVM", "Idx": 119646, "Length": 280, "Cover_Rate": 0.5333333333333333} {"Template_token": ["", "SDValue", "TargetLowering", "::", "LowerBlockAddress", "(", "SDValue", "Op", ",", "SelectionDAG", "&", "DAG", ")", "const", "{", "auto", "DL", "=", "DAG", ".", "getDataLayout", "(", ")", ";"], "ground_truth": ["const", "BlockAddress", "*", "BA", "=", "cast", "<", "BlockAddressSDNode", ">", "(", "Op", ")", "->", "getBlockAddress", "(", ")", ";"], "File": "MCS51ISelLowering", "Func": "LowerBlockAddress", "Target": "MCS51", "Target_Clf": "MPU", "Compiler_Type": "LLVM", "Idx": 119647, "Length": 40, "Cover_Rate": 0.5128205128205128} {"Template_token": ["", "SDValue", "Result", "=", "DAG", ".", "getTargetBlockAddress", "(", "BA", ",", "getPointerTy", "(", "DL", ")", ")", ";"], "ground_truth": ["return", "DAG", ".", "getNode", "(", "", ",", "SDLoc", "(", "Op", ")", ",", "getPointerTy", "(", "DL", ")", ",", "Result", ")", ";"], "File": "MCS51ISelLowering", "Func": "LowerBlockAddress", "Target": "MCS51", "Target_Clf": "MPU", "Compiler_Type": "LLVM", "Idx": 119648, "Length": 35, "Cover_Rate": 0.44871794871794873} {"Template_token": ["", "SDValue", "Dest", "=", "Op", ".", "getOperand", "(", "", ")", ";", "SDLoc", "dl", "(", "Op", ")", ";", "SDValue", "TargetCC", ";", "SDValue", "Cmp", "=", "getCmp", "(", "LHS", ",", "RHS", ",", "CC", ",", "TargetCC", ",", "DAG", ",", "dl", ")", ";", "return", "DAG", ".", "getNode", "(", "", ",", "dl", ",", "", ",", "Chain", ",", "Dest", ",", "TargetCC", ",", "Cmp", ")", ";"], "ground_truth": ["}"], "File": "MCS51ISelLowering", "Func": "LowerBR_CC", "Target": "MCS51", "Target_Clf": "MPU", "Compiler_Type": "LLVM", "Idx": 119649, "Length": 58, "Cover_Rate": 0.453125} {"Template_token": ["", "SDValue", "TargetLowering", "::", "LowerBR_CC", "(", "SDValue", "Op", ",", "SelectionDAG", "&", "DAG", ")", "const", "{", "SDValue", "Chain", "=", "Op", ".", "getOperand", "(", "", ")", ";", "", "CC", "=", "cast", "<", "CondCodeSDNode", ">", "(", "Op", ".", "getOperand", "(", "", ")", ")", "->", "get", "(", ")", ";", "SDValue", "LHS", "=", "Op", ".", "getOperand", "(", "", ")", ";", "SDValue", "RHS", "=", "Op", ".", "getOperand", "(", "", ")", ";", "SDValue", "Dest", "=", "Op", ".", "getOperand", "(", "", ")", ";", "SDLoc", "dl", "(", "Op", ")", ";", "SDValue", "TargetCC", ";"], "ground_truth": ["SDValue", "Cmp", "=", "getCmp", "(", "LHS", ",", "RHS", ",", "CC", ",", "TargetCC", ",", "DAG", ",", "dl", ")", ";"], "File": "MCS51ISelLowering", "Func": "LowerBR_CC", "Target": "MCS51", "Target_Clf": "MPU", "Compiler_Type": "LLVM", "Idx": 119650, "Length": 101, "Cover_Rate": 0.7890625} {"Template_token": ["", "bool", "HasStackArgs", "=", "false", ";", "for", "(", "AI", "=", "", ",", "AE", "=", "ArgLocs", ".", "size", "(", ")", ";", "AI", "!=", "AE", ";", "++", "AI", ")", "{", "CCValAssign", "&", "VA", "=", "ArgLocs", "[", "AI", "]", ";", "EVT", "RegVT", "=", "VA", ".", "getLocVT", "(", ")", ";", "SDValue", "Arg", "=", "OutVals", "[", "AI", "]", ";", "switch", "(", "VA", ".", "getLocInfo", "(", ")", ")", "{", "default", ":", "llvm_unreachable", "(", "", ")", ";", "case", "CCValAssign", "::", "Full", ":", "break", ";", "case", "CCValAssign", "::", "SExt", ":", "Arg", "=", "DAG", ".", "getNode", "(", "", ",", "DL", ",", "RegVT", ",", "Arg", ")", ";", "break", ";", "case", "CCValAssign", "::", "ZExt", ":", "Arg", "=", "DAG", ".", "getNode", "(", "", ",", "DL", ",", "RegVT", ",", "Arg", ")", ";", "break", ";", "case", "CCValAssign", "::", "AExt", ":", "Arg", "=", "DAG", ".", "getNode", "(", "", ",", "DL", ",", "RegVT", ",", "Arg", ")", ";", "break", ";", "case", "CCValAssign", "::", "BCvt", ":", "Arg", "=", "DAG", ".", "getNode", "(", "", ",", "DL", ",", "RegVT", ",", "Arg", ")", ";", "break", ";", "}", "if", "(", "VA", ".", "isMemLoc", "(", ")", ")", "{", "HasStackArgs", "=", "true", ";", "break", ";", "}", "RegsToPass", ".", "push_back", "(", "std", "::", "make_pair", "(", "VA", ".", "getLocReg", "(", ")", ",", "Arg", ")", ")", ";", "}", "if", "(", "HasStackArgs", ")", "{", "SmallVector", "<", "SDValue", ",", "", ">", "MemOpChains", ";", "for", "(", ";", "AI", "!=", "AE", ";", "AI", "++", ")", "{", "CCValAssign", "&", "VA", "=", "ArgLocs", "[", "AI", "]", ";", "SDValue", "Arg", "=", "OutVals", "[", "AI", "]", ";", "assert", "(", "VA", ".", "isMemLoc", "(", ")", ")", ";", "SDValue", "PtrOff", "=", "DAG", ".", "getNode", "(", "", ",", "DL", ",", "getPointerTy", "(", "DAG", ".", "getDataLayout", "(", ")", ")", ",", "DAG", ".", "getRegister", "(", "", ",", "getPointerTy", "(", "DAG", ".", "getDataLayout", "(", ")", ")", ")", ",", "DAG", ".", "getIntPtrConstant", "(", "VA", ".", "getLocMemOffset", "(", ")", "+", "", ",", "DL", ")", ")", ";", "MemOpChains", ".", "push_back", "(", "DAG", ".", "getStore", "(", "Chain", ",", "DL", ",", "Arg", ",", "PtrOff", ",", "MachinePointerInfo", "::", "getStack", "(", "MF", ",", "VA", ".", "getLocMemOffset", "(", ")", ")", ")", ")", ";", "}", "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", "(", "", ")", ";", "}", "SDVTList", "NodeTys", "=", "DAG", ".", "getVTList", "(", "", ",", "", ")", ";", "SmallVector", "<", "SDValue", ",", "", ">", "Ops", ";", "Ops", ".", "push_back", "(", "Chain", ")", ";", "Ops", ".", "push_back", "(", "Callee", ")", ";", "for", "(", "auto", "Reg", ":", "RegsToPass", ")", "{"], "ground_truth": ["Ops", ".", "push_back", "(", "DAG", ".", "getRegister", "(", "Reg", ".", "first", ",", "Reg", ".", "second", ".", "getValueType", "(", ")", ")", ")", ";"], "File": "MCS51ISelLowering", "Func": "LowerCall", "Target": "MCS51", "Target_Clf": "MPU", "Compiler_Type": "LLVM", "Idx": 119651, "Length": 465, "Cover_Rate": 0.4663991975927783} {"Template_token": ["", "SDValue", "TargetLowering", "::", "LowerCallResult", "(", "SDValue", "Chain", ",", "SDValue", "InFlag", ",", "CallingConv", "::", "ID", "CallConv", ",", "bool", "isVarArg", ",", "const", "SmallVectorImpl", "<", "", ">", "&", "Ins", ",", "const", "SDLoc", "&", "dl", ",", "SelectionDAG", "&", "DAG", ",", "SmallVectorImpl", "<", "SDValue", ">", "&", "InVals", ")", "const", "{", "SmallVector", "<", "CCValAssign", ",", "", ">", "RVLocs", ";", "CCState", "CCInfo", "(", "CallConv", ",", "isVarArg", ",", "DAG", ".", "getMachineFunction", "(", ")", ",", "RVLocs", ",", "*", "DAG", ".", "getContext", "(", ")", ")", ";", "if", "(", "CallConv", "==", "CallingConv", "::", "_BUILTIN", ")", "{", "CCInfo", ".", "AnalyzeCallResult", "(", "Ins", ",", "RetCC__BUILTIN", ")", ";", "}", "else", "{", "analyzeReturnValues", "(", "Ins", ",", "CCInfo", ")", ";", "}", "for", "(", "CCValAssign", "const", "&", "RVLoc", ":", "RVLocs", ")", "{", "Chain", "=", "DAG", ".", "getCopyFromReg", "(", "Chain", ",", "dl", ",", "RVLoc", ".", "getLocReg", "(", ")", ",", "RVLoc", ".", "getValVT", "(", ")", ",", "InFlag", ")", ".", "getValue", "(", "", ")", ";", "InFlag", "=", "Chain", ".", "getValue", "(", "", ")", ";", "InVals", ".", "push_back", "(", "Chain", ".", "getValue", "(", "", ")", ")", ";"], "ground_truth": ["}"], "File": "MCS51ISelLowering", "Func": "LowerCallResult", "Target": "MCS51", "Target_Clf": "MPU", "Compiler_Type": "LLVM", "Idx": 119652, "Length": 167, "Cover_Rate": 0.9653179190751445} {"Template_token": ["", "break", ";", "case", "", ":", "LC", "=", "IsSigned", "?", "RTLIB", "::", "SDIVREM_I16", ":", "RTLIB", "::", "UDIVREM_I16", ";", "break", ";", "case", "", ":", "LC", "=", "IsSigned", "?", "RTLIB", "::", "SDIVREM_I32", ":", "RTLIB", "::", "UDIVREM_I32", ";", "break", ";", "}", "SDValue", "InChain", "=", "DAG", ".", "getEntryNode", "(", ")", ";", "TargetLowering", "::", "ArgListTy", "Args", ";", "TargetLowering", "::", "ArgListEntry", "Entry", ";", "for", "(", "SDValue", "const", "&", "Value", ":", "Op", "->", "op_values", "(", ")", ")", "{", "Entry", ".", "Node", "=", "Value", ";", "Entry", ".", "Ty", "=", "Value", ".", "getValueType", "(", ")", ".", "getTypeForEVT", "(", "*", "DAG", ".", "getContext", "(", ")", ")", ";", "Entry", ".", "IsSExt", "=", "IsSigned", ";", "Entry", ".", "IsZExt", "=", "!", "IsSigned", ";", "Args", ".", "push_back", "(", "Entry", ")", ";", "}", "SDValue", "Callee", "=", "DAG", ".", "getExternalSymbol", "(", "getLibcallName", "(", "LC", ")", ",", "getPointerTy", "(", "DAG", ".", "getDataLayout", "(", ")", ")", ")", ";", "Type", "*", "RetTy", "=", "(", "Type", "*", ")", "StructType", "::", "get", "(", "Ty", ",", "Ty", ")", ";"], "ground_truth": ["SDLoc", "dl", "(", "Op", ")", ";"], "File": "MCS51ISelLowering", "Func": "LowerDivRem", "Target": "MCS51", "Target_Clf": "MPU", "Compiler_Type": "LLVM", "Idx": 119653, "Length": 162, "Cover_Rate": 0.45} {"Template_token": ["", "}", "else", "{", "llvm_unreachable", "(", "", ")", ";", "}", "unsigned", "Reg", "=", "MF", ".", "addLiveIn", "(", "VA", ".", "getLocReg", "(", ")", ",", "RC", ")", ";", "ArgValue", "=", "DAG", ".", "getCopyFromReg", "(", "Chain", ",", "dl", ",", "Reg", ",", "RegVT", ")", ";", "switch", "(", "VA", ".", "getLocInfo", "(", ")", ")", "{", "default", ":", "llvm_unreachable", "(", "", ")", ";", "case", "CCValAssign", "::", "Full", ":", "break", ";", "case", "CCValAssign", "::", "BCvt", ":", "ArgValue", "=", "DAG", ".", "getNode", "(", "", ",", "dl", ",", "VA", ".", "getValVT", "(", ")", ",", "ArgValue", ")", ";", "break", ";", "case", "CCValAssign", "::", "SExt", ":", "ArgValue", "=", "DAG", ".", "getNode", "(", "", ",", "dl", ",", "RegVT", ",", "ArgValue", ",", "DAG", ".", "getValueType", "(", "VA", ".", "getValVT", "(", ")", ")", ")", ";", "ArgValue", "=", "DAG", ".", "getNode", "(", "", ",", "dl", ",", "VA", ".", "getValVT", "(", ")", ",", "ArgValue", ")", ";", "break", ";", "case", "CCValAssign", "::", "ZExt", ":", "ArgValue", "=", "DAG", ".", "getNode", "(", "", ",", "dl", ",", "RegVT", ",", "ArgValue", ",", "DAG", ".", "getValueType", "(", "VA", ".", "getValVT", "(", ")", ")", ")", ";", "ArgValue", "=", "DAG", ".", "getNode", "(", "", ",", "dl", ",", "VA", ".", "getValVT", "(", ")", ",", "ArgValue", ")", ";", "break", ";", "}", "InVals", ".", "push_back", "(", "ArgValue", ")", ";", "}", "else", "{", "assert", "(", "VA", ".", "isMemLoc", "(", ")", ")", ";", "EVT", "LocVT", "=", "VA", ".", "getLocVT", "(", ")", ";", "int", "FI", "=", "MFI", ".", "CreateFixedObject", "(", "LocVT", ".", "getSizeInBits", "(", ")", "/", "", ",", "VA", ".", "getLocMemOffset", "(", ")", ",", "true", ")", ";", "SDValue", "FIN", "=", "DAG", ".", "getFrameIndex", "(", "FI", ",", "getPointerTy", "(", "DL", ")", ")", ";", "InVals", ".", "push_back", "(", "DAG", ".", "getLoad", "(", "LocVT", ",", "dl", ",", "Chain", ",", "FIN", ",", "MachinePointerInfo", "::", "getFixedStack", "(", "MF", ",", "FI", ")", ")", ")", ";", "}", "}", "if", "(", "isVarArg", ")", "{", "unsigned", "StackSize", "=", "CCInfo", ".", "getNextStackOffset", "(", ")", ";", "MachineFunctionInfo", "*", "AFI", "=", "MF", ".", "getInfo", "<", "MachineFunctionInfo", ">", "(", ")", ";"], "ground_truth": ["AFI", "->", "setVarArgsFrameIndex", "(", "MFI", ".", "CreateFixedObject", "(", "", ",", "StackSize", ",", "true", ")", ")", ";"], "File": "MCS51ISelLowering", "Func": "LowerFormalArguments", "Target": "MCS51", "Target_Clf": "MPU", "Compiler_Type": "LLVM", "Idx": 119654, "Length": 333, "Cover_Rate": 0.5946428571428571} {"Template_token": ["", "int64_t", "Offset", "=", "cast", "<", "GlobalAddressSDNode", ">", "(", "Op", ")", "->", "getOffset", "(", ")", ";", "SDValue", "Result", "=", "DAG", ".", "getTargetGlobalAddress", "(", "GV", ",", "SDLoc", "(", "Op", ")", ",", "getPointerTy", "(", "DL", ")", ",", "Offset", ")", ";", "return", "DAG", ".", "getNode", "(", "", ",", "SDLoc", "(", "Op", ")", ",", "getPointerTy", "(", "DL", ")", ",", "Result", ")", ";"], "ground_truth": ["}"], "File": "MCS51ISelLowering", "Func": "LowerGlobalAddress", "Target": "MCS51", "Target_Clf": "MPU", "Compiler_Type": "LLVM", "Idx": 119655, "Length": 58, "Cover_Rate": 0.58} {"Template_token": ["", "SDValue", "TargetLowering", "::", "LowerGlobalAddress", "(", "SDValue", "Op", ",", "SelectionDAG", "&", "DAG", ")", "const", "{", "auto", "DL", "=", "DAG", ".", "getDataLayout", "(", ")", ";", "const", "GlobalValue", "*", "GV", "=", "cast", "<", "GlobalAddressSDNode", ">", "(", "Op", ")", "->", "getGlobal", "(", ")", ";", "int64_t", "Offset", "=", "cast", "<", "GlobalAddressSDNode", ">", "(", "Op", ")", "->", "getOffset", "(", ")", ";", "SDValue", "Result", "=", "DAG", ".", "getTargetGlobalAddress", "(", "GV", ",", "SDLoc", "(", "Op", ")", ",", "getPointerTy", "(", "DL", ")", ",", "Offset", ")", ";"], "ground_truth": ["return", "DAG", ".", "getNode", "(", "", ",", "SDLoc", "(", "Op", ")", ",", "getPointerTy", "(", "DL", ")", ",", "Result", ")", ";"], "File": "MCS51ISelLowering", "Func": "LowerGlobalAddress", "Target": "MCS51", "Target_Clf": "MPU", "Compiler_Type": "LLVM", "Idx": 119656, "Length": 97, "Cover_Rate": 0.97} {"Template_token": ["", "return", "LowerShifts", "(", "Op", ",", "DAG", ")", ";", "case", "", ":", "return", "LowerGlobalAddress", "(", "Op", ",", "DAG", ")", ";", "case", "", ":", "return", "LowerBlockAddress", "(", "Op", ",", "DAG", ")", ";", "case", "", ":", "return", "LowerBR_CC", "(", "Op", ",", "DAG", ")", ";", "case", "", ":", "return", "LowerSELECT_CC", "(", "Op", ",", "DAG", ")", ";", "case", "", ":", "return", "LowerSETCC", "(", "Op", ",", "DAG", ")", ";", "case", "", ":", "return", "LowerVASTART", "(", "Op", ",", "DAG", ")", ";", "case", "", ":"], "ground_truth": ["case", "", ":"], "File": "MCS51ISelLowering", "Func": "LowerOperation", "Target": "MCS51", "Target_Clf": "MPU", "Compiler_Type": "LLVM", "Idx": 119657, "Length": 80, "Cover_Rate": 0.4819277108433735} {"Template_token": ["", "switch", "(", "Op", ".", "getOpcode", "(", ")", ")", "{", "default", ":", "llvm_unreachable", "(", "", ")", ";", "case", "", ":", "case", "", ":", "case", "", ":", "case", "", ":", "case", "", ":", "return", "LowerShifts", "(", "Op", ",", "DAG", ")", ";", "case", "", ":", "return", "LowerGlobalAddress", "(", "Op", ",", "DAG", ")", ";", "case", "", ":", "return", "LowerBlockAddress", "(", "Op", ",", "DAG", ")", ";", "case", "", ":", "return", "LowerBR_CC", "(", "Op", ",", "DAG", ")", ";", "case", "", ":", "return", "LowerSELECT_CC", "(", "Op", ",", "DAG", ")", ";", "case", "", ":", "return", "LowerSETCC", "(", "Op", ",", "DAG", ")", ";", "case", "", ":", "return", "LowerVASTART", "(", "Op", ",", "DAG", ")", ";", "case", "", ":", "case", "", ":", "return", "LowerDivRem", "(", "Op", ",", "DAG", ")", ";"], "ground_truth": ["}"], "File": "MCS51ISelLowering", "Func": "LowerOperation", "Target": "MCS51", "Target_Clf": "MPU", "Compiler_Type": "LLVM", "Idx": 119658, "Length": 120, "Cover_Rate": 0.7228915662650602} {"Template_token": ["", "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": ["}"], "File": "MCS51ISelLowering", "Func": "LowerReturn", "Target": "MCS51", "Target_Clf": "MPU", "Compiler_Type": "LLVM", "Idx": 119659, "Length": 112, "Cover_Rate": 0.3393939393939394} {"Template_token": ["", "SDVTList", "VTs", "=", "DAG", ".", "getVTList", "(", "Op", ".", "getValueType", "(", ")", ",", "", ")", ";", "SDValue", "Ops", "[", "]", "=", "{", "TrueV", ",", "FalseV", ",", "TargetCC", ",", "Cmp", "}", ";", "return", "DAG", ".", "getNode", "(", "", ",", "dl", ",", "VTs", ",", "Ops", ")", ";"], "ground_truth": ["}"], "File": "MCS51ISelLowering", "Func": "LowerSELECT_CC", "Target": "MCS51", "Target_Clf": "MPU", "Compiler_Type": "LLVM", "Idx": 119660, "Length": 46, "Cover_Rate": 0.3006535947712418} {"Template_token": ["", "SDLoc", "dl", "(", "Op", ")", ";", "SDValue", "TargetCC", ";", "SDValue", "Cmp", "=", "getCmp", "(", "LHS", ",", "RHS", ",", "CC", ",", "TargetCC", ",", "DAG", ",", "dl", ")", ";", "SDVTList", "VTs", "=", "DAG", ".", "getVTList", "(", "Op", ".", "getValueType", "(", ")", ",", "", ")", ";", "SDValue", "Ops", "[", "]", "=", "{", "TrueV", ",", "FalseV", ",", "TargetCC", ",", "Cmp", "}", ";"], "ground_truth": ["return", "DAG", ".", "getNode", "(", "", ",", "dl", ",", "VTs", ",", "Ops", ")", ";"], "File": "MCS51ISelLowering", "Func": "LowerSELECT_CC", "Target": "MCS51", "Target_Clf": "MPU", "Compiler_Type": "LLVM", "Idx": 119661, "Length": 72, "Cover_Rate": 0.47058823529411764} {"Template_token": ["", "SDValue", "TargetLowering", "::", "LowerSETCC", "(", "SDValue", "Op", ",", "SelectionDAG", "&", "DAG", ")", "const", "{", "SDValue", "LHS", "=", "Op", ".", "getOperand", "(", "", ")", ";", "SDValue", "RHS", "=", "Op", ".", "getOperand", "(", "", ")", ";", "", "CC", "=", "cast", "<", "CondCodeSDNode", ">", "(", "Op", ".", "getOperand", "(", "", ")", ")", "->", "get", "(", ")", ";", "SDLoc", "DL", "(", "Op", ")", ";", "SDValue", "TargetCC", ";", "SDValue", "Cmp", "=", "getCmp", "(", "LHS", ",", "RHS", ",", "CC", ",", "TargetCC", ",", "DAG", ",", "DL", ")", ";", "SDValue", "TrueV", "=", "DAG", ".", "getConstant", "(", "", ",", "DL", ",", "Op", ".", "getValueType", "(", ")", ")", ";"], "ground_truth": ["SDValue", "FalseV", "=", "DAG", ".", "getConstant", "(", "", ",", "DL", ",", "Op", ".", "getValueType", "(", ")", ")", ";"], "File": "MCS51ISelLowering", "Func": "LowerSETCC", "Target": "MCS51", "Target_Clf": "MPU", "Compiler_Type": "LLVM", "Idx": 119662, "Length": 117, "Cover_Rate": 0.6923076923076923} {"Template_token": ["", "const", "MachineFunction", "&", "MF", "=", "DAG", ".", "getMachineFunction", "(", ")", ";", "const", "MachineFunctionInfo", "*", "AFI", "=", "MF", ".", "getInfo", "<", "MachineFunctionInfo", ">", "(", ")", ";", "const", "Value", "*", "SV", "=", "cast", "<", "SrcValueSDNode", ">", "(", "Op", ".", "getOperand", "(", "", ")", ")", "->", "getValue", "(", ")", ";"], "ground_truth": ["auto", "DL", "=", "DAG", ".", "getDataLayout", "(", ")", ";"], "File": "MCS51ISelLowering", "Func": "LowerVASTART", "Target": "MCS51", "Target_Clf": "MPU", "Compiler_Type": "LLVM", "Idx": 119664, "Length": 56, "Cover_Rate": 0.448} {"Template_token": ["", "Results", ".", "push_back", "(", "Sub", ")", ";", "}", "break", ";", "}", "default", ":", "{", "SDValue", "Res", "=", "LowerOperation", "(", "SDValue", "(", "N", ",", "", ")", ",", "DAG", ")", ";"], "ground_truth": ["for", "(", "unsigned", "I", "=", "", ",", "E", "=", "Res", "->", "getNumValues", "(", ")", ";", "I", "!=", "E", ";", "++", "I", ")", "Results", ".", "push_back", "(", "Res", ".", "getValue", "(", "I", ")", ")", ";"], "File": "MCS51ISelLowering", "Func": "ReplaceNodeResults", "Target": "MCS51", "Target_Clf": "MPU", "Compiler_Type": "LLVM", "Idx": 119666, "Length": 63, "Cover_Rate": 0.34806629834254144} {"Template_token": ["", "bool", "shouldSplitFunctionArgumentsAsLittleEndian", "(", "const", "DataLayout", "&", "DL", ")", "const", "override", "{", "return", "false", ";"], "ground_truth": ["}"], "File": "MCS51ISelLowering", "Func": "shouldSplitFunctionArgumentsAsLittleEndian", "Target": "MCS51", "Target_Clf": "MPU", "Compiler_Type": "LLVM", "Idx": 119667, "Length": 15, "Cover_Rate": 1.0} {"Template_token": ["", "bool", "shouldSplitFunctionArgumentsAsLittleEndian", "(", "const", "DataLayout", "&", "DL", ")", "const", "override", "{"], "ground_truth": ["return", "false", ";"], "File": "MCS51ISelLowering", "Func": "shouldSplitFunctionArgumentsAsLittleEndian", "Target": "MCS51", "Target_Clf": "MPU", "Compiler_Type": "LLVM", "Idx": 119668, "Length": 14, "Cover_Rate": 0.9333333333333333} {"Template_token": ["", "unsigned", "getCalleeSavedFrameSize", "(", ")", "const", "{", "return", "CalleeSavedFrameSize", ";"], "ground_truth": ["}"], "File": "MCS51MachineFunctionInfo", "Func": "getCalleeSavedFrameSize", "Target": "MCS51", "Target_Clf": "MPU", "Compiler_Type": "LLVM", "Idx": 119669, "Length": 10, "Cover_Rate": 1.0} {"Template_token": ["", "return", "HasAllocas", ";"], "ground_truth": ["}"], "File": "MCS51MachineFunctionInfo", "Func": "getHasAllocas", "Target": "MCS51", "Target_Clf": "MPU", "Compiler_Type": "LLVM", "Idx": 119670, "Length": 4, "Cover_Rate": 0.4} {"Template_token": ["", "bool", "getHasAllocas", "(", ")", "const", "{", "return", "HasAllocas", ";"], "ground_truth": ["}"], "File": "MCS51MachineFunctionInfo", "Func": "getHasAllocas", "Target": "MCS51", "Target_Clf": "MPU", "Compiler_Type": "LLVM", "Idx": 119671, "Length": 10, "Cover_Rate": 1.0} {"Template_token": ["", "return", "HasSpills", ";"], "ground_truth": ["}"], "File": "MCS51MachineFunctionInfo", "Func": "getHasSpills", "Target": "MCS51", "Target_Clf": "MPU", "Compiler_Type": "LLVM", "Idx": 119672, "Length": 4, "Cover_Rate": 0.4} {"Template_token": ["", "bool", "getHasSpills", "(", ")", "const", "{", "return", "HasSpills", ";"], "ground_truth": ["}"], "File": "MCS51MachineFunctionInfo", "Func": "getHasSpills", "Target": "MCS51", "Target_Clf": "MPU", "Compiler_Type": "LLVM", "Idx": 119673, "Length": 10, "Cover_Rate": 1.0} {"Template_token": ["", "bool", "getHasStackArgs", "(", ")", "const", "{", "return", "HasStackArgs", ";"], "ground_truth": ["}"], "File": "MCS51MachineFunctionInfo", "Func": "getHasStackArgs", "Target": "MCS51", "Target_Clf": "MPU", "Compiler_Type": "LLVM", "Idx": 119674, "Length": 10, "Cover_Rate": 1.0} {"Template_token": ["", "return", "HasStackArgs", ";"], "ground_truth": ["}"], "File": "MCS51MachineFunctionInfo", "Func": "getHasStackArgs", "Target": "MCS51", "Target_Clf": "MPU", "Compiler_Type": "LLVM", "Idx": 119675, "Length": 4, "Cover_Rate": 0.4} {"Template_token": ["", "int", "getVarArgsFrameIndex", "(", ")", "const", "{", "return", "VarArgsFrameIndex", ";"], "ground_truth": ["}"], "File": "MCS51MachineFunctionInfo", "Func": "getVarArgsFrameIndex", "Target": "MCS51", "Target_Clf": "MPU", "Compiler_Type": "LLVM", "Idx": 119676, "Length": 10, "Cover_Rate": 1.0} {"Template_token": ["", "int", "getVarArgsFrameIndex", "(", ")", "const", "{", "return", "VarArgsFrameIndex", ";"], "ground_truth": ["}"], "File": "MCS51MachineFunctionInfo", "Func": "getVarArgsFrameIndex", "Target": "MCS51", "Target_Clf": "MPU", "Compiler_Type": "LLVM", "Idx": 119677, "Length": 10, "Cover_Rate": 1.0} {"Template_token": ["", "return", "IsInterruptHandler", ";"], "ground_truth": ["}"], "File": "MCS51MachineFunctionInfo", "Func": "isInterruptHandler", "Target": "MCS51", "Target_Clf": "MPU", "Compiler_Type": "LLVM", "Idx": 119678, "Length": 4, "Cover_Rate": 0.4} {"Template_token": ["", "return", "isInterruptHandler", "(", ")", "||", "isSignalHandler", "(", ")", ";"], "ground_truth": ["}"], "File": "MCS51MachineFunctionInfo", "Func": "isInterruptOrSignalHandler", "Target": "MCS51", "Target_Clf": "MPU", "Compiler_Type": "LLVM", "Idx": 119679, "Length": 10, "Cover_Rate": 0.625} {"Template_token": ["", "bool", "isSignalHandler", "(", ")", "const", "{"], "ground_truth": ["return", "IsSignalHandler", ";"], "File": "MCS51MachineFunctionInfo", "Func": "isSignalHandler", "Target": "MCS51", "Target_Clf": "MPU", "Compiler_Type": "LLVM", "Idx": 119681, "Length": 9, "Cover_Rate": 0.9} {"Template_token": ["", "unsigned", "CallConv", "=", "MF", ".", "getFunction", "(", ")", ".", "getCallingConv", "(", ")", ";", "this", "->", "IsInterruptHandler", "=", "CallConv", "==", "CallingConv", "::", "X86_INTR", "||", "MF", ".", "getFunction", "(", ")", ".", "hasFnAttribute", "(", "", ")", ";"], "ground_truth": ["this", "->", "IsSignalHandler", "=", "CallConv", "==", "CallingConv", "::", "X86_INTR", "||", "MF", ".", "getFunction", "(", ")", ".", "hasFnAttribute", "(", "", ")", ";"], "File": "MCS51MachineFunctionInfo", "Func": "MCS51MachineFunctionInfo", "Target": "MCS51", "Target_Clf": "MPU", "Compiler_Type": "LLVM", "Idx": 119683, "Length": 55, "Cover_Rate": 0.6179775280898876} {"Template_token": ["", "this", "->", "IsInterruptHandler", "=", "CallConv", "==", "CallingConv", "::", "X86_INTR", "||", "MF", ".", "getFunction", "(", ")", ".", "hasFnAttribute", "(", "", ")", ";"], "ground_truth": ["this", "->", "IsSignalHandler", "=", "CallConv", "==", "CallingConv", "::", "X86_INTR", "||", "MF", ".", "getFunction", "(", ")", ".", "hasFnAttribute", "(", "", ")", ";"], "File": "MCS51MachineFunctionInfo", "Func": "MCS51MachineFunctionInfo", "Target": "MCS51", "Target_Clf": "MPU", "Compiler_Type": "LLVM", "Idx": 119684, "Length": 42, "Cover_Rate": 0.47191011235955055} {"Template_token": ["", "void", "setCalleeSavedFrameSize", "(", "unsigned", "Bytes", ")", "{"], "ground_truth": ["CalleeSavedFrameSize", "=", "Bytes", ";"], "File": "MCS51MachineFunctionInfo", "Func": "setCalleeSavedFrameSize", "Target": "MCS51", "Target_Clf": "MPU", "Compiler_Type": "LLVM", "Idx": 119685, "Length": 11, "Cover_Rate": 0.9166666666666666} {"Template_token": ["", "CalleeSavedFrameSize", "=", "Bytes", ";"], "ground_truth": ["}"], "File": "MCS51MachineFunctionInfo", "Func": "setCalleeSavedFrameSize", "Target": "MCS51", "Target_Clf": "MPU", "Compiler_Type": "LLVM", "Idx": 119686, "Length": 5, "Cover_Rate": 0.4166666666666667} {"Template_token": ["", "HasSpills", "=", "B", ";"], "ground_truth": ["}"], "File": "MCS51MachineFunctionInfo", "Func": "setHasSpills", "Target": "MCS51", "Target_Clf": "MPU", "Compiler_Type": "LLVM", "Idx": 119689, "Length": 5, "Cover_Rate": 0.4166666666666667} {"Template_token": ["", "HasSpills", "=", "B", ";"], "ground_truth": ["}"], "File": "MCS51MachineFunctionInfo", "Func": "setHasSpills", "Target": "MCS51", "Target_Clf": "MPU", "Compiler_Type": "LLVM", "Idx": 119690, "Length": 5, "Cover_Rate": 0.4166666666666667} {"Template_token": ["", "HasStackArgs", "=", "B", ";"], "ground_truth": ["}"], "File": "MCS51MachineFunctionInfo", "Func": "setHasStackArgs", "Target": "MCS51", "Target_Clf": "MPU", "Compiler_Type": "LLVM", "Idx": 119691, "Length": 5, "Cover_Rate": 0.4166666666666667} {"Template_token": ["", "void", "setVarArgsFrameIndex", "(", "int", "Idx", ")", "{", "VarArgsFrameIndex", "=", "Idx", ";"], "ground_truth": ["}"], "File": "MCS51MachineFunctionInfo", "Func": "setVarArgsFrameIndex", "Target": "MCS51", "Target_Clf": "MPU", "Compiler_Type": "LLVM", "Idx": 119693, "Length": 12, "Cover_Rate": 1.0} {"Template_token": ["", "void", "setVarArgsFrameIndex", "(", "int", "Idx", ")", "{", "VarArgsFrameIndex", "=", "Idx", ";"], "ground_truth": ["}"], "File": "MCS51MachineFunctionInfo", "Func": "setVarArgsFrameIndex", "Target": "MCS51", "Target_Clf": "MPU", "Compiler_Type": "LLVM", "Idx": 119694, "Length": 12, "Cover_Rate": 1.0} {"Template_token": ["", "CommentString", "=", "", ";", "PrivateGlobalPrefix", "=", "", ";", "PrivateLabelPrefix", "=", "", ";", "UsesELFSectionDirectiveForBSS", "=", "true", ";", "SupportsDebugInformation", "=", "true", ";"], "ground_truth": ["}"], "File": "MCS51MCAsmInfo", "Func": "MCS51MCAsmInfo", "Target": "MCS51", "Target_Clf": "MPU", "Compiler_Type": "LLVM", "Idx": 119695, "Length": 21, "Cover_Rate": 0.4772727272727273} {"Template_token": ["", "CommentString", "=", "", ";", "PrivateGlobalPrefix", "=", "", ";", "PrivateLabelPrefix", "=", "", ";", "UsesELFSectionDirectiveForBSS", "=", "true", ";"], "ground_truth": ["SupportsDebugInformation", "=", "true", ";"], "File": "MCS51MCAsmInfo", "Func": "MCS51MCAsmInfo", "Target": "MCS51", "Target_Clf": "MPU", "Compiler_Type": "LLVM", "Idx": 119696, "Length": 20, "Cover_Rate": 0.45454545454545453} {"Template_token": ["", "return", "new", "MCCodeEmitter", "(", "MCII", ",", "Ctx", ")", ";"], "ground_truth": ["}"], "File": "MCS51MCCodeEmitter", "Func": "createMCS51MCCodeEmitter", "Target": "MCS51", "Target_Clf": "MPU", "Compiler_Type": "LLVM", "Idx": 119697, "Length": 10, "Cover_Rate": 0.3448275862068966} {"Template_token": ["", "return", "new", "MCCodeEmitter", "(", "MCII", ",", "Ctx", ")", ";"], "ground_truth": ["}"], "File": "MCS51MCCodeEmitter", "Func": "createMCS51MCCodeEmitter", "Target": "MCS51", "Target_Clf": "MPU", "Compiler_Type": "LLVM", "Idx": 119698, "Length": 10, "Cover_Rate": 0.3448275862068966} {"Template_token": ["", "size_t", "WordCount", "=", "Size", "/", "", ";", "for", "(", "int64_t", "i", "=", "WordCount", "-", "", ";", "i", ">=", "", ";", "--", "i", ")", "{", "uint16_t", "Word", "=", "(", "Val", ">>", "(", "i", "*", "", ")", ")", "&", "", ";", "", "::", "write", "(", "OS", ",", "Word", ",", "", "::", "little", ")", ";"], "ground_truth": ["}"], "File": "MCS51MCCodeEmitter", "Func": "emitInstruction", "Target": "MCS51", "Target_Clf": "MPU", "Compiler_Type": "LLVM", "Idx": 119699, "Length": 53, "Cover_Rate": 0.6625} {"Template_token": ["", "Fixups", ".", "push_back", "(", "MCFixup", "::", "create", "(", "", ",", "MO", ".", "getExpr", "(", ")", ",", "FixupKind", ",", "MI", ".", "getLoc", "(", ")", ")", ")", ";", "return", "", ";", "}"], "ground_truth": ["assert", "(", "MO", ".", "isImm", "(", ")", ")", ";"], "File": "MCS51MCCodeEmitter", "Func": "encodeCallTarget", "Target": "MCS51", "Target_Clf": "MPU", "Compiler_Type": "LLVM", "Idx": 119700, "Length": 39, "Cover_Rate": 0.325} {"Template_token": ["", "assert", "(", "MI", ".", "getOperand", "(", "OpNo", ")", ".", "isImm", "(", ")", ")", ";", "auto", "Imm", "=", "MI", ".", "getOperand", "(", "OpNo", ")", ".", "getImm", "(", ")", ";"], "ground_truth": ["return", "(", "~", "", ")", "-", "Imm", ";"], "File": "MCS51MCCodeEmitter", "Func": "encodeComplement", "Target": "MCS51", "Target_Clf": "MPU", "Compiler_Type": "LLVM", "Idx": 119701, "Length": 36, "Cover_Rate": 0.5625} {"Template_token": ["", "auto", "Imm", "=", "MI", ".", "getOperand", "(", "OpNo", ")", ".", "getImm", "(", ")", ";"], "ground_truth": ["return", "(", "~", "", ")", "-", "Imm", ";"], "File": "MCS51MCCodeEmitter", "Func": "encodeComplement", "Target": "MCS51", "Target_Clf": "MPU", "Compiler_Type": "LLVM", "Idx": 119702, "Length": 22, "Cover_Rate": 0.34375} {"Template_token": ["", "unsigned", "MCCodeEmitter", "::", "encodeImm", "(", "const", "MCInst", "&", "MI", ",", "unsigned", "OpNo", ",", "SmallVectorImpl", "<", "MCFixup", ">", "&", "Fixups", ",", "const", "MCSubtargetInfo", "&", "STI", ")", "const", "{", "auto", "MO", "=", "MI", ".", "getOperand", "(", "OpNo", ")", ";", "if", "(", "MO", ".", "isExpr", "(", ")", ")", "{", "if", "(", "isa", "<", "MCExpr", ">", "(", "MO", ".", "getExpr", "(", ")", ")", ")", "{", "return", "getExprOpValue", "(", "MO", ".", "getExpr", "(", ")", ",", "Fixups", ",", "STI", ")", ";", "}", "MCFixupKind", "FixupKind", "=", "static_cast", "<", "MCFixupKind", ">", "(", "Fixup", ")", ";", "Fixups", ".", "push_back", "(", "MCFixup", "::", "create", "(", "Offset", ",", "MO", ".", "getExpr", "(", ")", ",", "FixupKind", ",", "MI", ".", "getLoc", "(", ")", ")", ")", ";", "return", "", ";"], "ground_truth": ["}"], "File": "MCS51MCCodeEmitter", "Func": "encodeImm", "Target": "MCS51", "Target_Clf": "MPU", "Compiler_Type": "LLVM", "Idx": 119703, "Length": 117, "Cover_Rate": 0.8731343283582089} {"Template_token": ["", "void", "MCCodeEmitter", "::", "encodeInstruction", "(", "const", "MCInst", "&", "MI", ",", "raw_ostream", "&", "OS", ",", "SmallVectorImpl", "<", "MCFixup", ">", "&", "Fixups", ",", "const", "MCSubtargetInfo", "&", "STI", ")", "const", "{", "const", "MCInstrDesc", "&", "Desc", "=", "MCII", ".", "get", "(", "MI", ".", "getOpcode", "(", ")", ")", ";", "unsigned", "Size", "=", "Desc", ".", "getSize", "(", ")", ";", "assert", "(", "Size", ">", "", "&&", "", ")", ";", "uint64_t", "BinaryOpCode", "=", "getBinaryCodeForInstr", "(", "MI", ",", "Fixups", ",", "STI", ")", ";", "emitInstruction", "(", "BinaryOpCode", ",", "Size", ",", "STI", ",", "OS", ")", ";"], "ground_truth": ["}"], "File": "MCS51MCCodeEmitter", "Func": "encodeInstruction", "Target": "MCS51", "Target_Clf": "MPU", "Compiler_Type": "LLVM", "Idx": 119704, "Length": 86, "Cover_Rate": 1.0} {"Template_token": ["", "unsigned", "MCCodeEmitter", "::", "encodeLDSTPtrReg", "(", "const", "MCInst", "&", "MI", ",", "unsigned", "OpNo", ",", "SmallVectorImpl", "<", "MCFixup", ">", "&", "Fixups", ",", "const", "MCSubtargetInfo", "&", "STI", ")", "const", "{", "auto", "MO", "=", "MI", ".", "getOperand", "(", "OpNo", ")", ";", "assert", "(", "MO", ".", "isReg", "(", ")", ")", ";"], "ground_truth": ["switch", "(", "MO", ".", "getReg", "(", ")", ")", "{"], "File": "MCS51MCCodeEmitter", "Func": "encodeLDSTPtrReg", "Target": "MCS51", "Target_Clf": "MPU", "Compiler_Type": "LLVM", "Idx": 119705, "Length": 55, "Cover_Rate": 0.625} {"Template_token": ["", "uint8_t", "RegBit", "=", "", ";", "switch", "(", "RegOp", ".", "getReg", "(", ")", ")", "{", "default", ":", "llvm_unreachable", "(", "", ")", ";", "case", "", ":", "RegBit", "=", "", ";", "break", ";", "case", "", ":", "RegBit", "=", "", ";", "break", ";", "}", "int8_t", "OffsetBits", ";", "if", "(", "OffsetOp", ".", "isImm", "(", ")", ")", "{", "OffsetBits", "=", "OffsetOp", ".", "getImm", "(", ")", ";", "}", "else", "if", "(", "OffsetOp", ".", "isExpr", "(", ")", ")", "{"], "ground_truth": ["OffsetBits", "=", "", ";"], "File": "MCS51MCCodeEmitter", "Func": "encodeMemri", "Target": "MCS51", "Target_Clf": "MPU", "Compiler_Type": "LLVM", "Idx": 119706, "Length": 75, "Cover_Rate": 0.3968253968253968} {"Template_token": ["", "auto", "OffsetOp", "=", "MI", ".", "getOperand", "(", "OpNo", "+", "", ")", ";", "assert", "(", "RegOp", ".", "isReg", "(", ")", "&&", "", ")", ";", "uint8_t", "RegBit", "=", "", ";", "switch", "(", "RegOp", ".", "getReg", "(", ")", ")", "{", "default", ":", "llvm_unreachable", "(", "", ")", ";", "case", "", ":", "RegBit", "=", "", ";", "break", ";", "case", "", ":", "RegBit", "=", "", ";", "break", ";", "}", "int8_t", "OffsetBits", ";", "if", "(", "OffsetOp", ".", "isImm", "(", ")", ")", "{"], "ground_truth": ["OffsetBits", "=", "OffsetOp", ".", "getImm", "(", ")", ";"], "File": "MCS51MCCodeEmitter", "Func": "encodeMemri", "Target": "MCS51", "Target_Clf": "MPU", "Compiler_Type": "LLVM", "Idx": 119707, "Length": 83, "Cover_Rate": 0.43915343915343913} {"Template_token": ["", "if", "(", "MO", ".", "isExpr", "(", ")", ")", "{", "Fixups", ".", "push_back", "(", "MCFixup", "::", "create", "(", "", ",", "MO", ".", "getExpr", "(", ")", ",", "MCFixupKind", "(", "Fixup", ")", ",", "MI", ".", "getLoc", "(", ")", ")", ")", ";", "return", "", ";", "}", "assert", "(", "MO", ".", "isImm", "(", ")", ")", ";", "auto", "target", "=", "MO", ".", "getImm", "(", ")", ";"], "ground_truth": ["", "::", "adjustBranchTarget", "(", "target", ")", ";"], "File": "MCS51MCCodeEmitter", "Func": "encodeRelCondBrTarget", "Target": "MCS51", "Target_Clf": "MPU", "Compiler_Type": "LLVM", "Idx": 119708, "Length": 67, "Cover_Rate": 0.5982142857142857} {"Template_token": ["", "if", "(", "MO", ".", "isExpr", "(", ")", ")", "{"], "ground_truth": ["Fixups", ".", "push_back", "(", "MCFixup", "::", "create", "(", "", ",", "MO", ".", "getExpr", "(", ")", ",", "MCFixupKind", "(", "Fixup", ")", ",", "MI", ".", "getLoc", "(", ")", ")", ")", ";"], "File": "MCS51MCCodeEmitter", "Func": "encodeRelCondBrTarget", "Target": "MCS51", "Target_Clf": "MPU", "Compiler_Type": "LLVM", "Idx": 119709, "Length": 38, "Cover_Rate": 0.3392857142857143} {"Template_token": ["", "MCExpr", "::", "ExprKind", "Kind", "=", "Expr", "->", "getKind", "(", ")", ";", "if", "(", "Kind", "==", "MCExpr", "::", "Binary", ")", "{", "Expr", "=", "static_cast", "<", "const", "MCBinaryExpr", "*", ">", "(", "Expr", ")", "->", "getLHS", "(", ")", ";", "Kind", "=", "Expr", "->", "getKind", "(", ")", ";", "}", "if", "(", "Kind", "==", "MCExpr", "::", "Target", ")", "{", "MCExpr", "const", "*", "Expr", "=", "cast", "<", "MCExpr", ">", "(", "Expr", ")", ";", "int64_t", "Result", ";", "if", "(", "Expr", "->", "evaluateAsConstant", "(", "Result", ")", ")", "{", "return", "Result", ";", "}", "MCFixupKind", "FixupKind", "=", "static_cast", "<", "MCFixupKind", ">", "(", "Expr", "->", "getFixupKind", "(", ")", ")", ";", "Fixups", ".", "push_back", "(", "MCFixup", "::", "create", "(", "", ",", "Expr", ",", "FixupKind", ")", ")", ";", "return", "", ";"], "ground_truth": ["}"], "File": "MCS51MCCodeEmitter", "Func": "getExprOpValue", "Target": "MCS51", "Target_Clf": "MPU", "Compiler_Type": "LLVM", "Idx": 119710, "Length": 119, "Cover_Rate": 0.7628205128205128} {"Template_token": ["", "if", "(", "MO", ".", "isDFPImm", "(", ")", ")", "return", "static_cast", "<", "unsigned", ">", "(", "bit_cast", "<", "double", ">", "(", "MO", ".", "getDFPImm", "(", ")", ")", ")", ";", "assert", "(", "MO", ".", "isExpr", "(", ")", ")", ";"], "ground_truth": ["return", "getExprOpValue", "(", "MO", ".", "getExpr", "(", ")", ",", "Fixups", ",", "STI", ")", ";"], "File": "MCS51MCCodeEmitter", "Func": "getMachineOpValue", "Target": "MCS51", "Target_Clf": "MPU", "Compiler_Type": "LLVM", "Idx": 119711, "Length": 50, "Cover_Rate": 0.4} {"Template_token": ["", "assert", "(", "MI", ".", "getOperand", "(", "", ")", ".", "isReg", "(", ")", "&&", "MI", ".", "getOperand", "(", "", ")", ".", "isReg", "(", ")", "&&", "", ")", ";", "unsigned", "Opcode", "=", "MI", ".", "getOpcode", "(", ")", ";", "bool", "IsRegX", "=", "MI", ".", "getOperand", "(", "", ")", ".", "getReg", "(", ")", "==", "", "||", "MI", ".", "getOperand", "(", "", ")", ".", "getReg", "(", ")", "==", "", ";", "bool", "IsPredec", "=", "Opcode", "==", "", "||", "Opcode", "==", "", ";", "bool", "IsPostinc", "=", "Opcode", "==", "", "||", "Opcode", "==", "", ";", "if", "(", "IsRegX", "||", "IsPredec", "||", "IsPostinc", ")", "{", "EncodedValue", "|=", "(", "", "<<", "", ")", ";", "}", "return", "EncodedValue", ";"], "ground_truth": ["}"], "File": "MCS51MCCodeEmitter", "Func": "loadStorePostEncoder", "Target": "MCS51", "Target_Clf": "MPU", "Compiler_Type": "LLVM", "Idx": 119712, "Length": 109, "Cover_Rate": 0.7730496453900709} {"Template_token": ["", "MCCodeEmitter", "(", "const", "MCInstrInfo", "&", "MCII", ",", "MCContext", "&", "Ctx", ")", ":", "MCII", "(", "MCII", ")", ",", "Ctx", "(", "Ctx", ")", "{"], "ground_truth": ["}"], "File": "MCS51MCCodeEmitter", "Func": "MCS51MCCodeEmitter", "Target": "MCS51", "Target_Clf": "MPU", "Compiler_Type": "LLVM", "Idx": 119713, "Length": 23, "Cover_Rate": 1.0} {"Template_token": ["", "MCCodeEmitter", "(", "const", "MCInstrInfo", "&", "MCII", ",", "MCContext", "&", "Ctx", ")", ":", "MCII", "(", "MCII", ")", ",", "Ctx", "(", "Ctx", ")", "{"], "ground_truth": ["}"], "File": "MCS51MCCodeEmitter", "Func": "MCS51MCCodeEmitter", "Target": "MCS51", "Target_Clf": "MPU", "Compiler_Type": "LLVM", "Idx": 119714, "Length": 23, "Cover_Rate": 1.0} {"Template_token": ["", "return", "new", "MCELFStreamer", "(", "Context", ",", "std", "::", "move", "(", "MAB", ")", ",", "std", "::", "move", "(", "OW", ")", ",", "std", "::", "move", "(", "CE", ")", ")", ";"], "ground_truth": ["}"], "File": "MCS51MCELFStreamer", "Func": "createMCS51ELFStreamer", "Target": "MCS51", "Target_Clf": "MPU", "Compiler_Type": "LLVM", "Idx": 119715, "Length": 29, "Cover_Rate": 0.43283582089552236} {"Template_token": ["", "MCStreamer", "*", "createELFStreamer", "(", "Triple", "const", "&", "TT", ",", "MCContext", "&", "Context", ",", "std", "::", "unique_ptr", "<", "MCAsmBackend", ">", "MAB", ",", "std", "::", "unique_ptr", "<", "MCObjectWriter", ">", "OW", ",", "std", "::", "unique_ptr", "<", "MCCodeEmitter", ">", "CE", ")", "{", "return", "new", "MCELFStreamer", "(", "Context", ",", "std", "::", "move", "(", "MAB", ")", ",", "std", "::", "move", "(", "OW", ")", ",", "std", "::", "move", "(", "CE", ")", ")", ";"], "ground_truth": ["}"], "File": "MCS51MCELFStreamer", "Func": "createMCS51ELFStreamer", "Target": "MCS51", "Target_Clf": "MPU", "Compiler_Type": "LLVM", "Idx": 119716, "Length": 67, "Cover_Rate": 1.0} {"Template_token": ["", "MCSymbolRefExpr", "::", "VariantKind", "Kind", "=", "MCSymbolRefExpr", "::", "VK_X86_ABS8", ";", "MCSymbolRefExpr", "::", "VariantKind", "Kind", "=", "MCSymbolRefExpr", "::", "VK__NONE", ";", "if", "(", "ModifierKind", "==", "MCExpr", "::", "VK__None", ")", "{", "Kind", "=", "MCSymbolRefExpr", "::", "VK__DIFF8", ";", "if", "(", "SizeInBytes", "==", "SIZE_LONG", ")", "Kind", "=", "MCSymbolRefExpr", "::", "VK__DIFF32", ";", "else", "if", "(", "SizeInBytes", "==", "SIZE_WORD", ")", "Kind", "=", "MCSymbolRefExpr", "::", "VK__DIFF16", ";", "}", "else", "if", "(", "ModifierKind", "==", "MCExpr", "::", "VK__LO8", ")", "Kind", "=", "MCSymbolRefExpr", "::", "VK__LO8", ";"], "ground_truth": ["else", "if", "(", "ModifierKind", "==", "MCExpr", "::", "VK__HI8", ")", "Kind", "=", "MCSymbolRefExpr", "::", "VK__HI8", ";"], "File": "MCS51MCELFStreamer", "Func": "emitValueForModiferKind", "Target": "MCS51", "Target_Clf": "MPU", "Compiler_Type": "LLVM", "Idx": 119717, "Length": 89, "Cover_Rate": 0.5973154362416108} {"Template_token": ["", "MCELFStreamer", "(", "MCContext", "&", "Context", ",", "std", "::", "unique_ptr", "<", "MCAsmBackend", ">", "TAB", ",", "std", "::", "unique_ptr", "<", "MCObjectWriter", ">", "OW", ",", "std", "::", "unique_ptr", "<", "MCCodeEmitter", ">", "Emitter", ",", "MCAssembler", "*", "Assembler", ")", ":", "MCELFStreamer", "(", "Context", ",", "std", "::", "move", "(", "TAB", ")", ",", "std", "::", "move", "(", "OW", ")", ",", "std", "::", "move", "(", "Emitter", ")", ")", ",", "MCII", "(", "createMCInstrInfo", "(", ")", ")", "{"], "ground_truth": ["}"], "File": "MCS51MCELFStreamer", "Func": "MCS51MCELFStreamer", "Target": "MCS51", "Target_Clf": "MPU", "Compiler_Type": "LLVM", "Idx": 119718, "Length": 69, "Cover_Rate": 1.0} {"Template_token": ["", "MCELFStreamer", "(", "MCContext", "&", "Context", ",", "std", "::", "unique_ptr", "<", "MCAsmBackend", ">", "TAB", ",", "std", "::", "unique_ptr", "<", "MCObjectWriter", ">", "OW", ",", "std", "::", "unique_ptr", "<", "MCCodeEmitter", ">", "Emitter", ",", "MCAssembler", "*", "Assembler", ")", ":", "MCELFStreamer", "(", "Context", ",", "std", "::", "move", "(", "TAB", ")", ",", "std", "::", "move", "(", "OW", ")", ",", "std", "::", "move", "(", "Emitter", ")", ")", ",", "MCII", "(", "createMCInstrInfo", "(", ")", ")", "{"], "ground_truth": ["}"], "File": "MCS51MCELFStreamer", "Func": "MCS51MCELFStreamer", "Target": "MCS51", "Target_Clf": "MPU", "Compiler_Type": "LLVM", "Idx": 119719, "Length": 69, "Cover_Rate": 1.0} {"Template_token": ["", "const", "MCExpr", "*", "MCExpr", "::", "create", "(", "VariantKind", "Kind", ",", "const", "MCExpr", "*", "Expr", ",", "bool", "Negated", ",", "MCContext", "&", "Ctx", ")", "{", "return", "new", "(", "Ctx", ")", "MCExpr", "(", "Kind", ",", "Expr", ",", "Negated", ")", ";"], "ground_truth": ["}"], "File": "MCS51MCExpr", "Func": "create", "Target": "MCS51", "Target_Clf": "MPU", "Compiler_Type": "LLVM", "Idx": 119723, "Length": 38, "Cover_Rate": 1.0} {"Template_token": ["", "if", "(", "!", "isRelocatable", ")", "return", "false", ";", "if", "(", "Value", ".", "isAbsolute", "(", ")", ")", "{", "Result", "=", "evaluateAsInt64", "(", "Value", ".", "getConstant", "(", ")", ")", ";"], "ground_truth": ["return", "true", ";"], "File": "MCS51MCExpr", "Func": "evaluateAsConstant", "Target": "MCS51", "Target_Clf": "MPU", "Compiler_Type": "LLVM", "Idx": 119724, "Length": 31, "Cover_Rate": 0.4696969696969697} {"Template_token": ["", "MCValue", "Value", ";", "bool", "isRelocatable", "=", "getSubExpr", "(", ")", "->", "evaluateAsRelocatable", "(", "Value", ",", "nullptr", ",", "nullptr", ")", ";", "if", "(", "!", "isRelocatable", ")", "return", "false", ";", "if", "(", "Value", ".", "isAbsolute", "(", ")", ")", "{"], "ground_truth": ["Result", "=", "evaluateAsInt64", "(", "Value", ".", "getConstant", "(", ")", ")", ";"], "File": "MCS51MCExpr", "Func": "evaluateAsConstant", "Target": "MCS51", "Target_Clf": "MPU", "Compiler_Type": "LLVM", "Idx": 119725, "Length": 47, "Cover_Rate": 0.7121212121212122} {"Template_token": ["", "if", "(", "Negated", ")", "Value", "*=", "-", "", ";", "switch", "(", "Kind", ")", "{", "case", "MCExpr", "::", "VK__LO8", ":", "Value", "&=", "", ";", "break", ";", "case", "MCExpr", "::", "VK__HI8", ":", "Value", "&=", "", ";", "Value", ">>=", "", ";", "break", ";", "case", "MCExpr", "::", "VK__HH8", ":", "Value", "&=", "", ";", "Value", ">>=", "", ";", "break", ";", "case", "MCExpr", "::", "VK__HHI8", ":", "Value", "&=", "", ";", "Value", ">>=", "", ";", "break", ";", "case", "MCExpr", "::", "VK__PM_LO8", ":", "case", "MCExpr", "::", "VK__LO8_GS", ":", "Value", ">>=", "", ";", "Value", "&=", "", ";", "break", ";"], "ground_truth": ["case", "MCExpr", "::", "VK__PM_HI8", ":"], "File": "MCS51MCExpr", "Func": "evaluateAsInt64", "Target": "MCS51", "Target_Clf": "MPU", "Compiler_Type": "LLVM", "Idx": 119726, "Length": 95, "Cover_Rate": 0.521978021978022} {"Template_token": ["", "if", "(", "Value", ".", "isAbsolute", "(", ")", ")", "{", "Result", "=", "MCValue", "::", "get", "(", "evaluateAsInt64", "(", "Value", ".", "getConstant", "(", ")", ")", ")", ";", "}", "else", "{", "if", "(", "!", "Layout", ")", "return", "false", ";", "MCContext", "&", "Context", "=", "Layout", "->", "getAssembler", "(", ")", ".", "getContext", "(", ")", ";", "const", "MCSymbolRefExpr", "*", "Sym", "=", "Value", ".", "getSymA", "(", ")", ";", "MCSymbolRefExpr", "::", "VariantKind", "Modifier", "=", "Sym", "->", "getKind", "(", ")", ";", "if", "(", "Modifier", "!=", "MCSymbolRefExpr", "::", "VK_None", ")", "return", "false", ";", "if", "(", "Kind", "==", "VK__PM", ")", "{", "Modifier", "=", "MCSymbolRefExpr", "::", "VK_X86_ABS8", ";", "}"], "ground_truth": ["Sym", "=", "MCSymbolRefExpr", "::", "create", "(", "&", "Sym", "->", "getSymbol", "(", ")", ",", "Modifier", ",", "Context", ")", ";"], "File": "MCS51MCExpr", "Func": "evaluateAsRelocatableImpl", "Target": "MCS51", "Target_Clf": "MPU", "Compiler_Type": "LLVM", "Idx": 119727, "Length": 115, "Cover_Rate": 0.6149732620320856} {"Template_token": ["", "if", "(", "Value", ".", "isAbsolute", "(", ")", ")", "{", "Result", "=", "MCValue", "::", "get", "(", "evaluateAsInt64", "(", "Value", ".", "getConstant", "(", ")", ")", ")", ";", "}", "else", "{", "if", "(", "!", "Layout", ")", "return", "false", ";", "MCContext", "&", "Context", "=", "Layout", "->", "getAssembler", "(", ")", ".", "getContext", "(", ")", ";", "const", "MCSymbolRefExpr", "*", "Sym", "=", "Value", ".", "getSymA", "(", ")", ";", "MCSymbolRefExpr", "::", "VariantKind", "Modifier", "=", "Sym", "->", "getKind", "(", ")", ";", "if", "(", "Modifier", "!=", "MCSymbolRefExpr", "::", "VK_None", ")", "return", "false", ";", "if", "(", "Kind", "==", "VK__PM", ")", "{", "Modifier", "=", "MCSymbolRefExpr", "::", "VK_X86_ABS8", ";", "}", "Sym", "=", "MCSymbolRefExpr", "::", "create", "(", "&", "Sym", "->", "getSymbol", "(", ")", ",", "Modifier", ",", "Context", ")", ";", "Result", "=", "MCValue", "::", "get", "(", "Sym", ",", "Value", ".", "getSymB", "(", ")", ",", "Value", ".", "getConstant", "(", ")", ")", ";", "}", "return", "true", ";"], "ground_truth": ["}"], "File": "MCS51MCExpr", "Func": "evaluateAsRelocatableImpl", "Target": "MCS51", "Target_Clf": "MPU", "Compiler_Type": "LLVM", "Idx": 119728, "Length": 141, "Cover_Rate": 0.7540106951871658} {"Template_token": ["", "MCFragment", "*", "findAssociatedFragment", "(", ")", "const", "override", "{"], "ground_truth": ["return", "getSubExpr", "(", ")", "->", "findAssociatedFragment", "(", ")", ";"], "File": "MCS51MCExpr", "Func": "findAssociatedFragment", "Target": "MCS51", "Target_Clf": "MPU", "Compiler_Type": "LLVM", "Idx": 119730, "Length": 17, "Cover_Rate": 0.9444444444444444} {"Template_token": ["", "void", "fixELFSymbolsInTLSFixups", "(", "MCAssembler", "&", "Asm", ")", "const", "override", "{"], "ground_truth": ["}"], "File": "MCS51MCExpr", "Func": "fixELFSymbolsInTLSFixups", "Target": "MCS51", "Target_Clf": "MPU", "Compiler_Type": "LLVM", "Idx": 119731, "Length": 11, "Cover_Rate": 1.0} {"Template_token": ["", "void", "fixELFSymbolsInTLSFixups", "(", "MCAssembler", "&", "Asm", ")", "const", "override", "{"], "ground_truth": ["}"], "File": "MCS51MCExpr", "Func": "fixELFSymbolsInTLSFixups", "Target": "MCS51", "Target_Clf": "MPU", "Compiler_Type": "LLVM", "Idx": 119732, "Length": 11, "Cover_Rate": 1.0} {"Template_token": ["", "break", ";", "case", "VK__HH8", ":", "Kind", "=", "isNegated", "(", ")", "?", "", ":", "", ";", "break", ";", "case", "VK__HHI8", ":", "Kind", "=", "isNegated", "(", ")", "?", "", ":", "", ";", "break", ";", "case", "VK__PM_LO8", ":", "Kind", "=", "isNegated", "(", ")", "?", "", ":", "", ";", "break", ";", "case", "VK__PM_HI8", ":", "Kind", "=", "isNegated", "(", ")", "?", "", ":", "", ";", "break", ";", "case", "VK__PM_HH8", ":", "Kind", "=", "isNegated", "(", ")", "?", "", ":", "", ";", "break", ";", "case", "VK__PM", ":", "case", "VK__GS", ":", "Kind", "=", "", ";", "break", ";", "case", "VK__LO8_GS", ":", "Kind", "=", "", ";", "break", ";", "case", "VK__HI8_GS", ":", "Kind", "=", "", ";", "break", ";", "case", "VK__None", ":", "llvm_unreachable", "(", "", ")", ";"], "ground_truth": ["}"], "File": "MCS51MCExpr", "Func": "getFixupKind", "Target": "MCS51", "Target_Clf": "MPU", "Compiler_Type": "LLVM", "Idx": 119733, "Length": 116, "Cover_Rate": 0.5523809523809524} {"Template_token": ["", "VariantKind", "getKind", "(", ")", "const", "{", "return", "Kind", ";"], "ground_truth": ["}"], "File": "MCS51MCExpr", "Func": "getKind", "Target": "MCS51", "Target_Clf": "MPU", "Compiler_Type": "LLVM", "Idx": 119734, "Length": 10, "Cover_Rate": 1.0} {"Template_token": ["", "VariantKind", "getKind", "(", ")", "const", "{"], "ground_truth": ["return", "Kind", ";"], "File": "MCS51MCExpr", "Func": "getKind", "Target": "MCS51", "Target_Clf": "MPU", "Compiler_Type": "LLVM", "Idx": 119735, "Length": 9, "Cover_Rate": 0.9} {"Template_token": ["", "return", "Mod", ".", "VariantKind", "==", "Kind", ";", "}", ")", ";"], "ground_truth": ["if", "(", "Modifier", "!=", "std", "::", "end", "(", "ModifierNames", ")", ")", "{"], "File": "MCS51MCExpr", "Func": "getName", "Target": "MCS51", "Target_Clf": "MPU", "Compiler_Type": "LLVM", "Idx": 119736, "Length": 22, "Cover_Rate": 0.3492063492063492} {"Template_token": ["", "}", ")", ";", "if", "(", "Modifier", "!=", "std", "::", "end", "(", "ModifierNames", ")", ")", "{", "return", "Modifier", "->", "Spelling", ";"], "ground_truth": ["}"], "File": "MCS51MCExpr", "Func": "getName", "Target": "MCS51", "Target_Clf": "MPU", "Compiler_Type": "LLVM", "Idx": 119737, "Length": 21, "Cover_Rate": 0.3333333333333333} {"Template_token": ["", "const", "MCExpr", "*", "getSubExpr", "(", ")", "const", "{"], "ground_truth": ["return", "SubExpr", ";"], "File": "MCS51MCExpr", "Func": "getSubExpr", "Target": "MCS51", "Target_Clf": "MPU", "Compiler_Type": "LLVM", "Idx": 119738, "Length": 11, "Cover_Rate": 0.9166666666666666} {"Template_token": ["", "bool", "isNegated", "(", ")", "const", "{"], "ground_truth": ["return", "Negated", ";"], "File": "MCS51MCExpr", "Func": "isNegated", "Target": "MCS51", "Target_Clf": "MPU", "Compiler_Type": "LLVM", "Idx": 119740, "Length": 9, "Cover_Rate": 0.9} {"Template_token": ["", "return", "Negated", ";"], "ground_truth": ["}"], "File": "MCS51MCExpr", "Func": "isNegated", "Target": "MCS51", "Target_Clf": "MPU", "Compiler_Type": "LLVM", "Idx": 119741, "Length": 4, "Cover_Rate": 0.4} {"Template_token": ["", "explicit", "MCExpr", "(", "VariantKind", "Kind", ",", "const", "MCExpr", "*", "Expr", ",", "bool", "Negated", ")", ":", "Kind", "(", "Kind", ")", ",", "SubExpr", "(", "Expr", ")", ",", "Negated", "(", "Negated", ")", "{"], "ground_truth": ["}"], "File": "MCS51MCExpr", "Func": "MCS51MCExpr", "Target": "MCS51", "Target_Clf": "MPU", "Compiler_Type": "LLVM", "Idx": 119742, "Length": 31, "Cover_Rate": 1.0} {"Template_token": ["", "explicit", "MCExpr", "(", "VariantKind", "Kind", ",", "const", "MCExpr", "*", "Expr", ",", "bool", "Negated", ")", ":", "Kind", "(", "Kind", ")", ",", "SubExpr", "(", "Expr", ")", ",", "Negated", "(", "Negated", ")", "{"], "ground_truth": ["}"], "File": "MCS51MCExpr", "Func": "MCS51MCExpr", "Target": "MCS51", "Target_Clf": "MPU", "Compiler_Type": "LLVM", "Idx": 119743, "Length": 31, "Cover_Rate": 1.0} {"Template_token": ["", "void", "MCExpr", "::", "printImpl", "(", "raw_ostream", "&", "OS", ",", "const", "MCAsmInfo", "*", "MAI", ")", "const", "{", "assert", "(", "Kind", "!=", "VK__None", ")", ";", "if", "(", "isNegated", "(", ")", ")", "OS", "<<", "'-'", ";", "OS", "<<", "getName", "(", ")", "<<", "'('", ";"], "ground_truth": ["getSubExpr", "(", ")", "->", "print", "(", "OS", ",", "MAI", ")", ";"], "File": "MCS51MCExpr", "Func": "printImpl", "Target": "MCS51", "Target_Clf": "MPU", "Compiler_Type": "LLVM", "Idx": 119744, "Length": 52, "Cover_Rate": 0.9122807017543859} {"Template_token": ["", "void", "setNegated", "(", "bool", "negated", "=", "true", ")", "{"], "ground_truth": ["Negated", "=", "negated", ";"], "File": "MCS51MCExpr", "Func": "setNegated", "Target": "MCS51", "Target_Clf": "MPU", "Compiler_Type": "LLVM", "Idx": 119745, "Length": 13, "Cover_Rate": 0.9285714285714286} {"Template_token": ["", "void", "MCExpr", "::", "visitUsedExpr", "(", "MCStreamer", "&", "Streamer", ")", "const", "{"], "ground_truth": ["Streamer", ".", "visitUsedExpr", "(", "*", "getSubExpr", "(", ")", ")", ";"], "File": "MCS51MCExpr", "Func": "visitUsedExpr", "Target": "MCS51", "Target_Clf": "MPU", "Compiler_Type": "LLVM", "Idx": 119747, "Length": 21, "Cover_Rate": 0.9545454545454546} {"Template_token": ["", "~", "MCExpr", "(", ")", "{"], "ground_truth": ["}"], "File": "MCS51MCExpr", "Func": "~MCS51MCExpr", "Target": "MCS51", "Target_Clf": "MPU", "Compiler_Type": "LLVM", "Idx": 119748, "Length": 6, "Cover_Rate": 1.0} {"Template_token": ["", "~", "MCExpr", "(", ")", "{"], "ground_truth": ["}"], "File": "MCS51MCExpr", "Func": "~MCS51MCExpr", "Target": "MCS51", "Target_Clf": "MPU", "Compiler_Type": "LLVM", "Idx": 119749, "Length": 6, "Cover_Rate": 1.0} {"Template_token": ["", "const", "MCExpr", "*", "Expr", "=", "MCSymbolRefExpr", "::", "create", "(", "Sym", ",", "Ctx", ")", ";", "bool", "IsNegated", "=", "false", ";", "if", "(", "TF", "&", "", ")", "{", "IsNegated", "=", "true", ";", "}", "if", "(", "!", "MO", ".", "isJTI", "(", ")", "&&", "MO", ".", "getOffset", "(", ")", ")", "{", "Expr", "=", "MCBinaryExpr", "::", "createAdd", "(", "Expr", ",", "MCConstantExpr", "::", "create", "(", "MO", ".", "getOffset", "(", ")", ",", "Ctx", ")", ",", "Ctx", ")", ";", "}", "bool", "IsFunction", "=", "MO", ".", "isGlobal", "(", ")", "&&", "isa", "<", "Function", ">", "(", "MO", ".", "getGlobal", "(", ")", ")", ";", "if", "(", "TF", "&", "", ")", "{", "if", "(", "IsFunction", ")", "{", "Expr", "=", "MCExpr", "::", "create", "(", "MCExpr", "::", "VK__PM_LO8", ",", "Expr", ",", "IsNegated", ",", "Ctx", ")", ";", "}", "else", "{", "Expr", "=", "MCExpr", "::", "create", "(", "MCExpr", "::", "VK__LO8", ",", "Expr", ",", "IsNegated", ",", "Ctx", ")", ";", "}", "}", "else", "if", "(", "TF", "&", "", ")", "{", "if", "(", "IsFunction", ")", "{", "Expr", "=", "MCExpr", "::", "create", "(", "MCExpr", "::", "VK__PM_HI8", ",", "Expr", ",", "IsNegated", ",", "Ctx", ")", ";", "}", "else", "{"], "ground_truth": ["Expr", "=", "MCExpr", "::", "create", "(", "MCExpr", "::", "VK__HI8", ",", "Expr", ",", "IsNegated", ",", "Ctx", ")", ";"], "File": "MCS51MCInstLower", "Func": "lowerSymbolOperand", "Target": "MCS51", "Target_Clf": "MPU", "Compiler_Type": "LLVM", "Idx": 119750, "Length": 194, "Cover_Rate": 0.7729083665338645} {"Template_token": ["", "MCInstLower", "(", "MCContext", "&", "Ctx", ",", "AsmPrinter", "&", "Printer", ")", ":", "Ctx", "(", "Ctx", ")", ",", "Printer", "(", "Printer", ")", "{"], "ground_truth": ["}"], "File": "MCS51MCInstLower", "Func": "MCS51MCInstLower", "Target": "MCS51", "Target_Clf": "MPU", "Compiler_Type": "LLVM", "Idx": 119751, "Length": 22, "Cover_Rate": 1.0} {"Template_token": ["", "MCInstLower", "(", "MCContext", "&", "Ctx", ",", "AsmPrinter", "&", "Printer", ")", ":", "Ctx", "(", "Ctx", ")", ",", "Printer", "(", "Printer", ")", "{"], "ground_truth": ["}"], "File": "MCS51MCInstLower", "Func": "MCS51MCInstLower", "Target": "MCS51", "Target_Clf": "MPU", "Compiler_Type": "LLVM", "Idx": 119752, "Length": 22, "Cover_Rate": 1.0} {"Template_token": ["", "static", "MCTargetStreamer", "*", "createMCAsmTargetStreamer", "(", "MCStreamer", "&", "S", ",", "formatted_raw_ostream", "&", "OS", ",", "MCInstPrinter", "*", "InstPrint", ",", "bool", "isVerboseAsm", ")", "{"], "ground_truth": ["return", "new", "TargetAsmStreamer", "(", "S", ")", ";"], "File": "MCS51MCTargetDesc", "Func": "createMCAsmTargetStreamer", "Target": "MCS51", "Target_Clf": "MPU", "Compiler_Type": "LLVM", "Idx": 119753, "Length": 28, "Cover_Rate": 0.9655172413793104} {"Template_token": ["", "static", "MCTargetStreamer", "*", "createMCAsmTargetStreamer", "(", "MCStreamer", "&", "S", ",", "formatted_raw_ostream", "&", "OS", ",", "MCInstPrinter", "*", "InstPrint", ",", "bool", "isVerboseAsm", ")", "{", "return", "new", "TargetAsmStreamer", "(", "S", ")", ";"], "ground_truth": ["}"], "File": "MCS51MCTargetDesc", "Func": "createMCAsmTargetStreamer", "Target": "MCS51", "Target_Clf": "MPU", "Compiler_Type": "LLVM", "Idx": 119754, "Length": 29, "Cover_Rate": 1.0} {"Template_token": ["", "return", "new", "InstPrinter", "(", "MAI", ",", "MII", ",", "MRI", ")", ";", "}", "return", "nullptr", ";"], "ground_truth": ["}"], "File": "MCS51MCTargetDesc", "Func": "createMCS51MCInstPrinter", "Target": "MCS51", "Target_Clf": "MPU", "Compiler_Type": "LLVM", "Idx": 119755, "Length": 16, "Cover_Rate": 0.3076923076923077} {"Template_token": ["", "static", "MCInstPrinter", "*", "createMCInstPrinter", "(", "const", "Triple", "&", "T", ",", "unsigned", "SyntaxVariant", ",", "const", "MCAsmInfo", "&", "MAI", ",", "const", "MCInstrInfo", "&", "MII", ",", "const", "MCRegisterInfo", "&", "MRI", ")", "{", "if", "(", "SyntaxVariant", "==", "", ")", "{", "return", "new", "InstPrinter", "(", "MAI", ",", "MII", ",", "MRI", ")", ";", "}", "return", "nullptr", ";"], "ground_truth": ["}"], "File": "MCS51MCTargetDesc", "Func": "createMCS51MCInstPrinter", "Target": "MCS51", "Target_Clf": "MPU", "Compiler_Type": "LLVM", "Idx": 119756, "Length": 52, "Cover_Rate": 1.0} {"Template_token": ["", "MCInstrInfo", "*", "X", "=", "new", "MCInstrInfo", "(", ")", ";", "InitMCInstrInfo", "(", "X", ")", ";"], "ground_truth": ["return", "X", ";"], "File": "MCS51MCTargetDesc", "Func": "createMCS51MCInstrInfo", "Target": "MCS51", "Target_Clf": "MPU", "Compiler_Type": "LLVM", "Idx": 119757, "Length": 17, "Cover_Rate": 0.6538461538461539} {"Template_token": ["", "MCRegisterInfo", "*", "X", "=", "new", "MCRegisterInfo", "(", ")", ";", "InitMCRegisterInfo", "(", "X", ",", "", ")", ";", "return", "X", ";"], "ground_truth": ["}"], "File": "MCS51MCTargetDesc", "Func": "createMCS51MCRegisterInfo", "Target": "MCS51", "Target_Clf": "MPU", "Compiler_Type": "LLVM", "Idx": 119758, "Length": 20, "Cover_Rate": 0.6451612903225806} {"Template_token": ["", "return", "createELFStreamer", "(", "Context", ",", "std", "::", "move", "(", "MAB", ")", ",", "std", "::", "move", "(", "OW", ")", ",", "std", "::", "move", "(", "Emitter", ")", ",", "RelaxAll", ")", ";"], "ground_truth": ["}"], "File": "MCS51MCTargetDesc", "Func": "createMCStreamer", "Target": "MCS51", "Target_Clf": "MPU", "Compiler_Type": "LLVM", "Idx": 119764, "Length": 30, "Cover_Rate": 0.4} {"Template_token": ["", "LLVM_EXTERNAL_VISIBILITY", "void", "LLVMInitializeTargetMC", "(", ")", "{", "RegisterMCAsmInfo", "<", "MCAsmInfo", ">", "X", "(", "getTheTarget", "(", ")", ")", ";", "TargetRegistry", "::", "RegisterMCInstrInfo", "(", "getTheTarget", "(", ")", ",", "createMCInstrInfo", ")", ";", "TargetRegistry", "::", "RegisterMCRegInfo", "(", "getTheTarget", "(", ")", ",", "createMCRegisterInfo", ")", ";", "TargetRegistry", "::", "RegisterMCSubtargetInfo", "(", "getTheTarget", "(", ")", ",", "createMCSubtargetInfo", ")", ";", "TargetRegistry", "::", "RegisterMCInstPrinter", "(", "getTheTarget", "(", ")", ",", "createMCInstPrinter", ")", ";"], "ground_truth": ["TargetRegistry", "::", "RegisterMCCodeEmitter", "(", "getTheTarget", "(", ")", ",", "createMCCodeEmitter", ")", ";"], "File": "MCS51MCTargetDesc", "Func": "LLVMInitializeMCS51TargetMC", "Target": "MCS51", "Target_Clf": "MPU", "Compiler_Type": "LLVM", "Idx": 119765, "Length": 72, "Cover_Rate": 0.6153846153846154} {"Template_token": ["", "case", "", ":", "case", "", ":", "case", "", ":", "{", "if", "(", "isUInt", "<", "", ">", "(", "Offset", ")", ")", "{", "Opcode", "=", "", ";", "break", ";", "}", "LLVM_FALLTHROUGH", ";", "}", "default", ":", "{", "Opcode", "=", "", ";", "Offset", "=", "-", "Offset", ";", "break", ";", "}", "}", "MachineInstr", "*", "New", "=", "BuildMI", "(", "MBB", ",", "II", ",", "dl", ",", "TII", ".", "get", "(", "Opcode", ")", ",", "DstReg", ")", ".", "addReg", "(", "DstReg", ",", "RegState", "::", "Kill", ")", ".", "addImm", "(", "Offset", ")", ";", "New", "->", "getOperand", "(", "", ")", ".", "setIsDead", "(", ")", ";", "return", ";", "}", "if", "(", "Offset", ">", "", ")", "{", "unsigned", "AddOpc", "=", "", ",", "SubOpc", "=", "", ";", "int", "AddOffset", "=", "Offset", "-", "", "+", "", ";", "if", "(", "(", "Offset", "-", "", "+", "", ")", ">", "", ")", "{", "AddOpc", "=", "", ";", "SubOpc", "=", "", ";", "AddOffset", "=", "-", "AddOffset", ";", "}", "BuildMI", "(", "MBB", ",", "II", ",", "dl", ",", "TII", ".", "get", "(", "", ")", ",", "", ")", ".", "addImm", "(", "", ")", ";", "MachineInstr", "*", "New", "=", "BuildMI", "(", "MBB", ",", "II", ",", "dl", ",", "TII", ".", "get", "(", "AddOpc", ")", ",", "", ")", ".", "addReg", "(", "", ",", "RegState", "::", "Kill", ")", ".", "addImm", "(", "AddOffset", ")", ";", "New", "->", "getOperand", "(", "", ")", ".", "setIsDead", "(", ")", ";", "BuildMI", "(", "MBB", ",", "std", "::", "next", "(", "II", ")", ",", "dl", ",", "TII", ".", "get", "(", "", ")", ")", ".", "addImm", "(", "", ")", ".", "addReg", "(", "", ",", "RegState", "::", "Kill", ")", ";", "BuildMI", "(", "MBB", ",", "std", "::", "next", "(", "II", ")", ",", "dl", ",", "TII", ".", "get", "(", "SubOpc", ")", ",", "", ")", ".", "addReg", "(", "", ",", "RegState", "::", "Kill", ")", ".", "addImm", "(", "Offset", "-", "", "+", "", ")", ";", "Offset", "=", "", ";", "}", "MI", ".", "getOperand", "(", "FIOperandNum", ")", ".", "ChangeToRegister", "(", "", ",", "false", ")", ";", "assert", "(", "isUInt", "<", "", ">", "(", "Offset", ")", "&&", "", ")", ";"], "ground_truth": ["MI", ".", "getOperand", "(", "FIOperandNum", "+", "", ")", ".", "ChangeToImmediate", "(", "Offset", ")", ";"], "File": "MCS51RegisterInfo", "Func": "eliminateFrameIndex", "Target": "MCS51", "Target_Clf": "MPU", "Compiler_Type": "LLVM", "Idx": 119766, "Length": 341, "Cover_Rate": 0.5051851851851852} {"Template_token": ["", "int", "AddOffset", "=", "Offset", "-", "", "+", "", ";", "if", "(", "(", "Offset", "-", "", "+", "", ")", ">", "", ")", "{", "AddOpc", "=", "", ";", "SubOpc", "=", "", ";", "AddOffset", "=", "-", "AddOffset", ";", "}", "BuildMI", "(", "MBB", ",", "II", ",", "dl", ",", "TII", ".", "get", "(", "", ")", ",", "", ")", ".", "addImm", "(", "", ")", ";", "MachineInstr", "*", "New", "=", "BuildMI", "(", "MBB", ",", "II", ",", "dl", ",", "TII", ".", "get", "(", "AddOpc", ")", ",", "", ")", ".", "addReg", "(", "", ",", "RegState", "::", "Kill", ")", ".", "addImm", "(", "AddOffset", ")", ";", "New", "->", "getOperand", "(", "", ")", ".", "setIsDead", "(", ")", ";", "BuildMI", "(", "MBB", ",", "std", "::", "next", "(", "II", ")", ",", "dl", ",", "TII", ".", "get", "(", "", ")", ")", ".", "addImm", "(", "", ")", ".", "addReg", "(", "", ",", "RegState", "::", "Kill", ")", ";", "BuildMI", "(", "MBB", ",", "std", "::", "next", "(", "II", ")", ",", "dl", ",", "TII", ".", "get", "(", "SubOpc", ")", ",", "", ")", ".", "addReg", "(", "", ",", "RegState", "::", "Kill", ")", ".", "addImm", "(", "Offset", "-", "", "+", "", ")", ";", "Offset", "=", "", ";", "}", "MI", ".", "getOperand", "(", "FIOperandNum", ")", ".", "ChangeToRegister", "(", "", ",", "false", ")", ";"], "ground_truth": ["assert", "(", "isUInt", "<", "", ">", "(", "Offset", ")", "&&", "", ")", ";"], "File": "MCS51RegisterInfo", "Func": "eliminateFrameIndex", "Target": "MCS51", "Target_Clf": "MPU", "Compiler_Type": "LLVM", "Idx": 119767, "Length": 214, "Cover_Rate": 0.31703703703703706} {"Template_token": ["", "static", "void", "foldFrameOffset", "(", "MachineBasicBlock", "::", "iterator", "&", "II", ",", "int", "&", "Offset", ",", "Register", "DstReg", ")", "{", "MachineInstr", "&", "MI", "=", "*", "II", ";", "int", "Opcode", "=", "MI", ".", "getOpcode", "(", ")", ";", "if", "(", "(", "Opcode", "!=", "", ")", "&&", "(", "Opcode", "!=", "", ")", ")", "{"], "ground_truth": ["return", ";"], "File": "MCS51RegisterInfo", "Func": "foldFrameOffset", "Target": "MCS51", "Target_Clf": "MPU", "Compiler_Type": "LLVM", "Idx": 119768, "Length": 51, "Cover_Rate": 0.38636363636363635} {"Template_token": ["", "const", "uint16_t", "*", "RegisterInfo", "::", "getCalleeSavedRegs", "(", "const", "MachineFunction", "*", "MF", ")", "const", "{"], "ground_truth": ["const", "MachineFunctionInfo", "*", "AFI", "=", "MF", "->", "getInfo", "<", "MachineFunctionInfo", ">", "(", ")", ";"], "File": "MCS51RegisterInfo", "Func": "getCalleeSavedRegs", "Target": "MCS51", "Target_Clf": "MPU", "Compiler_Type": "LLVM", "Idx": 119769, "Length": 28, "Cover_Rate": 0.7} {"Template_token": ["", "const", "MachineFunctionInfo", "*", "AFI", "=", "MF", ".", "getInfo", "<", "MachineFunctionInfo", ">", "(", ")", ";"], "ground_truth": ["return", "AFI", "->", "isInterruptOrSignalHandler", "(", ")", "?", "CSR_Interrupts_RegMask", ":", "CSR_Normal_RegMask", ";"], "File": "MCS51RegisterInfo", "Func": "getCallPreservedMask", "Target": "MCS51", "Target_Clf": "MPU", "Compiler_Type": "LLVM", "Idx": 119770, "Length": 25, "Cover_Rate": 0.5555555555555556} {"Template_token": ["", "if", "(", "TFI", "->", "hasFP", "(", "MF", ")", ")", "{", "return", "", ";", "}"], "ground_truth": ["return", "", ";"], "File": "MCS51RegisterInfo", "Func": "getFrameRegister", "Target": "MCS51", "Target_Clf": "MPU", "Compiler_Type": "LLVM", "Idx": 119771, "Length": 17, "Cover_Rate": 0.3469387755102041} {"Template_token": ["", "const", "TargetRegisterClass", "*", "RegisterInfo", "::", "getLargestLegalSuperClass", "(", "const", "TargetRegisterClass", "*", "RC", ",", "const", "MachineFunction", "&", "MF", ")", "const", "{", "const", "TargetRegisterInfo", "*", "TRI", "=", "MF", ".", "getSubtarget", "(", ")", ".", "getRegisterInfo", "(", ")", ";", "if", "(", "TRI", "->", "isTypeLegalForClass", "(", "*", "RC", ",", "", ")", ")", "{", "return", "&", "", ";", "}", "if", "(", "TRI", "->", "isTypeLegalForClass", "(", "*", "RC", ",", "", ")", ")", "{", "return", "&", "", ";", "}", "llvm_unreachable", "(", "", ")", ";"], "ground_truth": ["}"], "File": "MCS51RegisterInfo", "Func": "getLargestLegalSuperClass", "Target": "MCS51", "Target_Clf": "MPU", "Compiler_Type": "LLVM", "Idx": 119772, "Length": 76, "Cover_Rate": 0.9047619047619048} {"Template_token": ["", "Reserved", ".", "set", "(", "", ")", ";", "Reserved", ".", "set", "(", "", ")", ";", "Reserved", ".", "set", "(", "", ")", ";", "Reserved", ".", "set", "(", "", ")", ";", "Reserved", ".", "set", "(", "", ")", ";", "Reserved", ".", "set", "(", "", ")", ";"], "ground_truth": ["return", "Reserved", ";"], "File": "MCS51RegisterInfo", "Func": "getReservedRegs", "Target": "MCS51", "Target_Clf": "MPU", "Compiler_Type": "LLVM", "Idx": 119774, "Length": 45, "Cover_Rate": 0.42857142857142855} {"Template_token": ["", "RegisterInfo", "::", "RegisterInfo", "(", ")", ":", "GenRegisterInfo", "(", "", ")", "{"], "ground_truth": ["}"], "File": "MCS51RegisterInfo", "Func": "MCS51RegisterInfo", "Target": "MCS51", "Target_Clf": "MPU", "Compiler_Type": "LLVM", "Idx": 119775, "Length": 12, "Cover_Rate": 1.0} {"Template_token": ["", "RegisterInfo", "::", "RegisterInfo", "(", ")", ":", "GenRegisterInfo", "(", "", ")", "{"], "ground_truth": ["}"], "File": "MCS51RegisterInfo", "Func": "MCS51RegisterInfo", "Target": "MCS51", "Target_Clf": "MPU", "Compiler_Type": "LLVM", "Idx": 119776, "Length": 12, "Cover_Rate": 1.0} {"Template_token": ["", "return", "false", ";", "}"], "ground_truth": ["return", "TargetRegisterInfo", "::", "shouldCoalesce", "(", "MI", ",", "SrcRC", ",", "SubReg", ",", "DstRC", ",", "DstSubReg", ",", "NewRC", ",", "LIS", ")", ";"], "File": "MCS51RegisterInfo", "Func": "shouldCoalesce", "Target": "MCS51", "Target_Clf": "MPU", "Compiler_Type": "LLVM", "Idx": 119777, "Length": 24, "Cover_Rate": 0.3076923076923077} {"Template_token": ["", "if", "(", "this", "->", "getRegClass", "(", "", ")", "->", "hasSubClassEq", "(", "NewRC", ")", ")", "{", "return", "false", ";", "}", "return", "TargetRegisterInfo", "::", "shouldCoalesce", "(", "MI", ",", "SrcRC", ",", "SubReg", ",", "DstRC", ",", "DstSubReg", ",", "NewRC", ",", "LIS", ")", ";"], "ground_truth": ["}"], "File": "MCS51RegisterInfo", "Func": "shouldCoalesce", "Target": "MCS51", "Target_Clf": "MPU", "Compiler_Type": "LLVM", "Idx": 119778, "Length": 40, "Cover_Rate": 0.5128205128205128} {"Template_token": ["", "assert", "(", "", ".", "contains", "(", "Reg", ")", "&&", "", ")", ";", "LoReg", "=", "getSubReg", "(", "Reg", ",", "", ")", ";"], "ground_truth": ["HiReg", "=", "getSubReg", "(", "Reg", ",", "", ")", ";"], "File": "MCS51RegisterInfo", "Func": "splitReg", "Target": "MCS51", "Target_Clf": "MPU", "Compiler_Type": "LLVM", "Idx": 119779, "Length": 30, "Cover_Rate": 0.5454545454545454} {"Template_token": ["", "LoReg", "=", "getSubReg", "(", "Reg", ",", "", ")", ";", "HiReg", "=", "getSubReg", "(", "Reg", ",", "", ")", ";"], "ground_truth": ["}"], "File": "MCS51RegisterInfo", "Func": "splitReg", "Target": "MCS51", "Target_Clf": "MPU", "Compiler_Type": "LLVM", "Idx": 119780, "Length": 19, "Cover_Rate": 0.34545454545454546} {"Template_token": ["", "FunctionPass", "*", "createRelaxMemPass", "(", ")", "{"], "ground_truth": ["return", "new", "RelaxMem", "(", ")", ";"], "File": "MCS51RelaxMemOperations", "Func": "createMCS51RelaxMemPass", "Target": "MCS51", "Target_Clf": "MPU", "Compiler_Type": "LLVM", "Idx": 119781, "Length": 12, "Cover_Rate": 0.9230769230769231} {"Template_token": ["", "return", "_RELAX_MEM_OPS_NAME", ";"], "ground_truth": ["}"], "File": "MCS51RelaxMemOperations", "Func": "getPassName", "Target": "MCS51", "Target_Clf": "MPU", "Compiler_Type": "LLVM", "Idx": 119783, "Length": 4, "Cover_Rate": 0.36363636363636365} {"Template_token": ["", "RelaxMem", "(", ")", ":", "MachineFunctionPass", "(", "ID", ")", "{", "initializeRelaxMemPass", "(", "*", "PassRegistry", "::", "getPassRegistry", "(", ")", ")", ";"], "ground_truth": ["}"], "File": "MCS51RelaxMemOperations", "Func": "MCS51RelaxMem", "Target": "MCS51", "Target_Clf": "MPU", "Compiler_Type": "LLVM", "Idx": 119786, "Length": 20, "Cover_Rate": 1.0} {"Template_token": ["", "BlockIt", "MBBI", "=", "MBB", ".", "begin", "(", ")", ",", "E", "=", "MBB", ".", "end", "(", ")", ";"], "ground_truth": ["while", "(", "MBBI", "!=", "E", ")", "{"], "File": "MCS51RelaxMemOperations", "Func": "runOnBasicBlock", "Target": "MCS51", "Target_Clf": "MPU", "Compiler_Type": "LLVM", "Idx": 119787, "Length": 24, "Cover_Rate": 0.3582089552238806} {"Template_token": ["", "MachineInstr", "&", "MI", "=", "*", "MBBI", ";", "int", "Opcode", "=", "MBBI", "->", "getOpcode", "(", ")", ";", "case", "Op", ":", "\\", "return", "relax", "<", "Op", ">", "(", "MBB", ",", "MI", ")", "switch", "(", "Opcode", ")", "{"], "ground_truth": ["RELAX", "(", "", ")", ";"], "File": "MCS51RelaxMemOperations", "Func": "runOnInstruction", "Target": "MCS51", "Target_Clf": "MPU", "Compiler_Type": "LLVM", "Idx": 119789, "Length": 40, "Cover_Rate": 0.6666666666666666} {"Template_token": ["", "bool", "Modified", "=", "false", ";", "const", "Subtarget", "&", "STI", "=", "MF", ".", "getSubtarget", "<", "Subtarget", ">", "(", ")", ";", "TII", "=", "STI", ".", "getInstrInfo", "(", ")", ";", "for", "(", "Block", "&", "MBB", ":", "MF", ")", "{", "bool", "BlockModified", "=", "runOnBasicBlock", "(", "MBB", ")", ";", "Modified", "|=", "BlockModified", ";", "}", "return", "Modified", ";"], "ground_truth": ["}"], "File": "MCS51RelaxMemOperations", "Func": "runOnMachineFunction", "Target": "MCS51", "Target_Clf": "MPU", "Compiler_Type": "LLVM", "Idx": 119790, "Length": 53, "Cover_Rate": 0.8412698412698413} {"Template_token": ["", "return", "new", "ShiftExpand", "(", ")", ";"], "ground_truth": ["}"], "File": "MCS51ShiftExpand", "Func": "createMCS51ShiftExpandPass", "Target": "MCS51", "Target_Clf": "MPU", "Compiler_Type": "LLVM", "Idx": 119791, "Length": 7, "Cover_Rate": 0.4666666666666667} {"Template_token": ["", "Builder", ".", "SetInsertPoint", "(", "&", "BB", "->", "back", "(", ")", ")", ";", "Value", "*", "ShiftAmount", "=", "Builder", ".", "CreateTrunc", "(", "BI", "->", "getOperand", "(", "", ")", ",", "Int8Ty", ")", ";", "Value", "*", "Cmp1", "=", "Builder", ".", "CreateICmpEQ", "(", "ShiftAmount", ",", "Int8Zero", ")", ";", "Builder", ".", "CreateCondBr", "(", "Cmp1", ",", "EndBB", ",", "LoopBB", ")", ";", "BB", "->", "back", "(", ")", ".", "eraseFromParent", "(", ")", ";", "Builder", ".", "SetInsertPoint", "(", "LoopBB", ")", ";", "PHINode", "*", "ShiftAmountPHI", "=", "Builder", ".", "CreatePHI", "(", "Int8Ty", ",", "", ")", ";", "ShiftAmountPHI", "->", "addIncoming", "(", "ShiftAmount", ",", "BB", ")", ";", "PHINode", "*", "ValuePHI", "=", "Builder", ".", "CreatePHI", "(", "Int32Ty", ",", "", ")", ";", "ValuePHI", "->", "addIncoming", "(", "BI", "->", "getOperand", "(", "", ")", ",", "BB", ")", ";", "Value", "*", "ShiftAmountSub", "=", "Builder", ".", "CreateSub", "(", "ShiftAmountPHI", ",", "ConstantInt", "::", "get", "(", "Int8Ty", ",", "", ")", ")", ";", "ShiftAmountPHI", "->", "addIncoming", "(", "ShiftAmountSub", ",", "LoopBB", ")", ";", "Value", "*", "ValueShifted", ";", "switch", "(", "BI", "->", "getOpcode", "(", ")", ")", "{", "case", "Instruction", "::", "Shl", ":", "ValueShifted", "=", "Builder", ".", "CreateShl", "(", "ValuePHI", ",", "ConstantInt", "::", "get", "(", "Int32Ty", ",", "", ")", ")", ";", "break", ";", "case", "Instruction", "::", "LShr", ":", "ValueShifted", "=", "Builder", ".", "CreateLShr", "(", "ValuePHI", ",", "ConstantInt", "::", "get", "(", "Int32Ty", ",", "", ")", ")", ";", "break", ";", "case", "Instruction", "::", "AShr", ":"], "ground_truth": ["ValueShifted", "=", "Builder", ".", "CreateAShr", "(", "ValuePHI", ",", "ConstantInt", "::", "get", "(", "Int32Ty", ",", "", ")", ")", ";"], "File": "MCS51ShiftExpand", "Func": "expand", "Target": "MCS51", "Target_Clf": "MPU", "Compiler_Type": "LLVM", "Idx": 119793, "Length": 235, "Cover_Rate": 0.5245535714285714} {"Template_token": ["", "Function", "*", "F", "=", "BB", "->", "getParent", "(", ")", ";", "BasicBlock", "*", "EndBB", "=", "BB", "->", "splitBasicBlock", "(", "BI", ",", "", ")", ";", "BasicBlock", "*", "LoopBB", "=", "BasicBlock", "::", "Create", "(", "Ctx", ",", "", ",", "F", ",", "EndBB", ")", ";", "Builder", ".", "SetInsertPoint", "(", "&", "BB", "->", "back", "(", ")", ")", ";", "Value", "*", "ShiftAmount", "=", "Builder", ".", "CreateTrunc", "(", "BI", "->", "getOperand", "(", "", ")", ",", "Int8Ty", ")", ";", "Value", "*", "Cmp1", "=", "Builder", ".", "CreateICmpEQ", "(", "ShiftAmount", ",", "Int8Zero", ")", ";", "Builder", ".", "CreateCondBr", "(", "Cmp1", ",", "EndBB", ",", "LoopBB", ")", ";", "BB", "->", "back", "(", ")", ".", "eraseFromParent", "(", ")", ";", "Builder", ".", "SetInsertPoint", "(", "LoopBB", ")", ";", "PHINode", "*", "ShiftAmountPHI", "=", "Builder", ".", "CreatePHI", "(", "Int8Ty", ",", "", ")", ";", "ShiftAmountPHI", "->", "addIncoming", "(", "ShiftAmount", ",", "BB", ")", ";", "PHINode", "*", "ValuePHI", "=", "Builder", ".", "CreatePHI", "(", "Int32Ty", ",", "", ")", ";", "ValuePHI", "->", "addIncoming", "(", "BI", "->", "getOperand", "(", "", ")", ",", "BB", ")", ";", "Value", "*", "ShiftAmountSub", "=", "Builder", ".", "CreateSub", "(", "ShiftAmountPHI", ",", "ConstantInt", "::", "get", "(", "Int8Ty", ",", "", ")", ")", ";", "ShiftAmountPHI", "->", "addIncoming", "(", "ShiftAmountSub", ",", "LoopBB", ")", ";"], "ground_truth": ["Value", "*", "ValueShifted", ";"], "File": "MCS51ShiftExpand", "Func": "expand", "Target": "MCS51", "Target_Clf": "MPU", "Compiler_Type": "LLVM", "Idx": 119794, "Length": 193, "Cover_Rate": 0.43080357142857145} {"Template_token": ["", "StringRef", "getPassName", "(", ")", "const", "override", "{"], "ground_truth": ["return", "", ";"], "File": "MCS51ShiftExpand", "Func": "getPassName", "Target": "MCS51", "Target_Clf": "MPU", "Compiler_Type": "LLVM", "Idx": 119795, "Length": 10, "Cover_Rate": 0.9090909090909091} {"Template_token": ["", "ShiftExpand", "(", ")", ":", "FunctionPass", "(", "ID", ")", "{"], "ground_truth": ["}"], "File": "MCS51ShiftExpand", "Func": "MCS51ShiftExpand", "Target": "MCS51", "Target_Clf": "MPU", "Compiler_Type": "LLVM", "Idx": 119796, "Length": 10, "Cover_Rate": 1.0} {"Template_token": ["", "ShiftExpand", "(", ")", ":", "FunctionPass", "(", "ID", ")", "{"], "ground_truth": ["}"], "File": "MCS51ShiftExpand", "Func": "MCS51ShiftExpand", "Target": "MCS51", "Target_Clf": "MPU", "Compiler_Type": "LLVM", "Idx": 119797, "Length": 10, "Cover_Rate": 1.0} {"Template_token": ["", "if", "(", "isa", "<", "ConstantInt", ">", "(", "I", ".", "getOperand", "(", "", ")", ")", ")", "continue", ";", "ShiftInsts", ".", "push_back", "(", "cast", "<", "BinaryOperator", ">", "(", "&", "I", ")", ")", ";", "}", "for", "(", "auto", "*", "I", ":", "ShiftInsts", ")", "{", "expand", "(", "I", ")", ";"], "ground_truth": ["}"], "File": "MCS51ShiftExpand", "Func": "runOnFunction", "Target": "MCS51", "Target_Clf": "MPU", "Compiler_Type": "LLVM", "Idx": 119798, "Length": 47, "Cover_Rate": 0.373015873015873} {"Template_token": ["", "unsigned", "getELFArch", "(", ")", "const", "{", "assert", "(", "ELFArch", "!=", "", "&&", "", ")", ";", "return", "ELFArch", ";"], "ground_truth": ["}"], "File": "MCS51Subtarget", "Func": "getELFArch", "Target": "MCS51", "Target_Clf": "MPU", "Compiler_Type": "LLVM", "Idx": 119799, "Length": 19, "Cover_Rate": 1.0} {"Template_token": ["", "return", "&", "FrameLowering", ";"], "ground_truth": ["}"], "File": "MCS51Subtarget", "Func": "getFrameLowering", "Target": "MCS51", "Target_Clf": "MPU", "Compiler_Type": "LLVM", "Idx": 119801, "Length": 5, "Cover_Rate": 0.35714285714285715} {"Template_token": ["", "return", "&", "InstrInfo", ";"], "ground_truth": ["}"], "File": "MCS51Subtarget", "Func": "getInstrInfo", "Target": "MCS51", "Target_Clf": "MPU", "Compiler_Type": "LLVM", "Idx": 119802, "Length": 5, "Cover_Rate": 0.35714285714285715} {"Template_token": ["", "const", "InstrInfo", "*", "getInstrInfo", "(", ")", "const", "override", "{"], "ground_truth": ["return", "&", "InstrInfo", ";"], "File": "MCS51Subtarget", "Func": "getInstrInfo", "Target": "MCS51", "Target_Clf": "MPU", "Compiler_Type": "LLVM", "Idx": 119803, "Length": 13, "Cover_Rate": 0.9285714285714286} {"Template_token": ["", "uint8_t", "getIORegisterOffset", "(", ")", "const", "{", "return", "hasMemMappedGPR", "(", ")", "?", "", ":", "", ";"], "ground_truth": ["}"], "File": "MCS51Subtarget", "Func": "getIORegisterOffset", "Target": "MCS51", "Target_Clf": "MPU", "Compiler_Type": "LLVM", "Idx": 119804, "Length": 16, "Cover_Rate": 1.0} {"Template_token": ["", "uint8_t", "getIORegisterOffset", "(", ")", "const", "{"], "ground_truth": ["return", "hasMemMappedGPR", "(", ")", "?", "", ":", "", ";"], "File": "MCS51Subtarget", "Func": "getIORegisterOffset", "Target": "MCS51", "Target_Clf": "MPU", "Compiler_Type": "LLVM", "Idx": 119805, "Length": 15, "Cover_Rate": 0.9375} {"Template_token": ["", "return", "&", "InstrInfo", ".", "getRegisterInfo", "(", ")", ";"], "ground_truth": ["}"], "File": "MCS51Subtarget", "Func": "getRegisterInfo", "Target": "MCS51", "Target_Clf": "MPU", "Compiler_Type": "LLVM", "Idx": 119807, "Length": 9, "Cover_Rate": 0.5} {"Template_token": ["", "return", "&", "TSInfo", ";"], "ground_truth": ["}"], "File": "MCS51Subtarget", "Func": "getSelectionDAGInfo", "Target": "MCS51", "Target_Clf": "MPU", "Compiler_Type": "LLVM", "Idx": 119808, "Length": 5, "Cover_Rate": 0.35714285714285715} {"Template_token": ["", "const", "SelectionDAGInfo", "*", "getSelectionDAGInfo", "(", ")", "const", "override", "{", "return", "&", "TSInfo", ";"], "ground_truth": ["}"], "File": "MCS51Subtarget", "Func": "getSelectionDAGInfo", "Target": "MCS51", "Target_Clf": "MPU", "Compiler_Type": "LLVM", "Idx": 119809, "Length": 14, "Cover_Rate": 1.0} {"Template_token": ["", "const", "TargetLowering", "*", "getTargetLowering", "(", ")", "const", "override", "{", "return", "&", "TLInfo", ";"], "ground_truth": ["}"], "File": "MCS51Subtarget", "Func": "getTargetLowering", "Target": "MCS51", "Target_Clf": "MPU", "Compiler_Type": "LLVM", "Idx": 119810, "Length": 14, "Cover_Rate": 1.0} {"Template_token": ["", "bool", "hasADDSUBIW", "(", ")", "const", "{"], "ground_truth": ["return", "m_hasADDSUBIW", ";"], "File": "MCS51Subtarget", "Func": "hasADDSUBIW", "Target": "MCS51", "Target_Clf": "MPU", "Compiler_Type": "LLVM", "Idx": 119811, "Length": 9, "Cover_Rate": 0.9} {"Template_token": ["", "bool", "hasADDSUBIW", "(", ")", "const", "{"], "ground_truth": ["return", "m_hasADDSUBIW", ";"], "File": "MCS51Subtarget", "Func": "hasADDSUBIW", "Target": "MCS51", "Target_Clf": "MPU", "Compiler_Type": "LLVM", "Idx": 119812, "Length": 9, "Cover_Rate": 0.9} {"Template_token": ["", "bool", "hasBREAK", "(", ")", "const", "{"], "ground_truth": ["return", "m_hasBREAK", ";"], "File": "MCS51Subtarget", "Func": "hasBREAK", "Target": "MCS51", "Target_Clf": "MPU", "Compiler_Type": "LLVM", "Idx": 119813, "Length": 9, "Cover_Rate": 0.9} {"Template_token": ["", "bool", "hasDES", "(", ")", "const", "{", "return", "m_hasDES", ";"], "ground_truth": ["}"], "File": "MCS51Subtarget", "Func": "hasDES", "Target": "MCS51", "Target_Clf": "MPU", "Compiler_Type": "LLVM", "Idx": 119814, "Length": 10, "Cover_Rate": 1.0} {"Template_token": ["", "bool", "hasDES", "(", ")", "const", "{", "return", "m_hasDES", ";"], "ground_truth": ["}"], "File": "MCS51Subtarget", "Func": "hasDES", "Target": "MCS51", "Target_Clf": "MPU", "Compiler_Type": "LLVM", "Idx": 119815, "Length": 10, "Cover_Rate": 1.0} {"Template_token": ["", "bool", "hasEIJMPCALL", "(", ")", "const", "{", "return", "m_hasEIJMPCALL", ";"], "ground_truth": ["}"], "File": "MCS51Subtarget", "Func": "hasEIJMPCALL", "Target": "MCS51", "Target_Clf": "MPU", "Compiler_Type": "LLVM", "Idx": 119816, "Length": 10, "Cover_Rate": 1.0} {"Template_token": ["", "bool", "hasEIJMPCALL", "(", ")", "const", "{", "return", "m_hasEIJMPCALL", ";"], "ground_truth": ["}"], "File": "MCS51Subtarget", "Func": "hasEIJMPCALL", "Target": "MCS51", "Target_Clf": "MPU", "Compiler_Type": "LLVM", "Idx": 119817, "Length": 10, "Cover_Rate": 1.0} {"Template_token": ["", "return", "m_hasELPM", ";"], "ground_truth": ["}"], "File": "MCS51Subtarget", "Func": "hasELPM", "Target": "MCS51", "Target_Clf": "MPU", "Compiler_Type": "LLVM", "Idx": 119818, "Length": 4, "Cover_Rate": 0.4} {"Template_token": ["", "bool", "hasELPMX", "(", ")", "const", "{", "return", "m_hasELPMX", ";"], "ground_truth": ["}"], "File": "MCS51Subtarget", "Func": "hasELPMX", "Target": "MCS51", "Target_Clf": "MPU", "Compiler_Type": "LLVM", "Idx": 119819, "Length": 10, "Cover_Rate": 1.0} {"Template_token": ["", "return", "m_hasELPMX", ";"], "ground_truth": ["}"], "File": "MCS51Subtarget", "Func": "hasELPMX", "Target": "MCS51", "Target_Clf": "MPU", "Compiler_Type": "LLVM", "Idx": 119820, "Length": 4, "Cover_Rate": 0.4} {"Template_token": ["", "bool", "hasIJMPCALL", "(", ")", "const", "{"], "ground_truth": ["return", "m_hasIJMPCALL", ";"], "File": "MCS51Subtarget", "Func": "hasIJMPCALL", "Target": "MCS51", "Target_Clf": "MPU", "Compiler_Type": "LLVM", "Idx": 119821, "Length": 9, "Cover_Rate": 0.9} {"Template_token": ["", "return", "m_hasJMPCALL", ";"], "ground_truth": ["}"], "File": "MCS51Subtarget", "Func": "hasJMPCALL", "Target": "MCS51", "Target_Clf": "MPU", "Compiler_Type": "LLVM", "Idx": 119822, "Length": 4, "Cover_Rate": 0.4} {"Template_token": ["", "return", "m_hasJMPCALL", ";"], "ground_truth": ["}"], "File": "MCS51Subtarget", "Func": "hasJMPCALL", "Target": "MCS51", "Target_Clf": "MPU", "Compiler_Type": "LLVM", "Idx": 119823, "Length": 4, "Cover_Rate": 0.4} {"Template_token": ["", "bool", "hasLPM", "(", ")", "const", "{"], "ground_truth": ["return", "m_hasLPM", ";"], "File": "MCS51Subtarget", "Func": "hasLPM", "Target": "MCS51", "Target_Clf": "MPU", "Compiler_Type": "LLVM", "Idx": 119824, "Length": 9, "Cover_Rate": 0.9} {"Template_token": ["", "bool", "hasLPMX", "(", ")", "const", "{"], "ground_truth": ["return", "m_hasLPMX", ";"], "File": "MCS51Subtarget", "Func": "hasLPMX", "Target": "MCS51", "Target_Clf": "MPU", "Compiler_Type": "LLVM", "Idx": 119825, "Length": 9, "Cover_Rate": 0.9} {"Template_token": ["", "return", "m_hasMemMappedGPR", ";"], "ground_truth": ["}"], "File": "MCS51Subtarget", "Func": "hasMemMappedGPR", "Target": "MCS51", "Target_Clf": "MPU", "Compiler_Type": "LLVM", "Idx": 119826, "Length": 4, "Cover_Rate": 0.4} {"Template_token": ["", "return", "m_hasMemMappedGPR", ";"], "ground_truth": ["}"], "File": "MCS51Subtarget", "Func": "hasMemMappedGPR", "Target": "MCS51", "Target_Clf": "MPU", "Compiler_Type": "LLVM", "Idx": 119827, "Length": 4, "Cover_Rate": 0.4} {"Template_token": ["", "bool", "hasMOVW", "(", ")", "const", "{", "return", "m_hasMOVW", ";"], "ground_truth": ["}"], "File": "MCS51Subtarget", "Func": "hasMOVW", "Target": "MCS51", "Target_Clf": "MPU", "Compiler_Type": "LLVM", "Idx": 119828, "Length": 10, "Cover_Rate": 1.0} {"Template_token": ["", "bool", "hasSmallStack", "(", ")", "const", "{"], "ground_truth": ["return", "m_hasSmallStack", ";"], "File": "MCS51Subtarget", "Func": "hasSmallStack", "Target": "MCS51", "Target_Clf": "MPU", "Compiler_Type": "LLVM", "Idx": 119830, "Length": 9, "Cover_Rate": 0.9} {"Template_token": ["", "return", "m_hasSmallStack", ";"], "ground_truth": ["}"], "File": "MCS51Subtarget", "Func": "hasSmallStack", "Target": "MCS51", "Target_Clf": "MPU", "Compiler_Type": "LLVM", "Idx": 119831, "Length": 4, "Cover_Rate": 0.4} {"Template_token": ["", "return", "m_hasSPM", ";"], "ground_truth": ["}"], "File": "MCS51Subtarget", "Func": "hasSPM", "Target": "MCS51", "Target_Clf": "MPU", "Compiler_Type": "LLVM", "Idx": 119832, "Length": 4, "Cover_Rate": 0.4} {"Template_token": ["", "return", "m_hasSPM", ";"], "ground_truth": ["}"], "File": "MCS51Subtarget", "Func": "hasSPM", "Target": "MCS51", "Target_Clf": "MPU", "Compiler_Type": "LLVM", "Idx": 119833, "Length": 4, "Cover_Rate": 0.4} {"Template_token": ["", "return", "m_hasSRAM", ";"], "ground_truth": ["}"], "File": "MCS51Subtarget", "Func": "hasSRAM", "Target": "MCS51", "Target_Clf": "MPU", "Compiler_Type": "LLVM", "Idx": 119835, "Length": 4, "Cover_Rate": 0.4} {"Template_token": ["", "return", "m_hasTinyEncoding", ";"], "ground_truth": ["}"], "File": "MCS51Subtarget", "Func": "hasTinyEncoding", "Target": "MCS51", "Target_Clf": "MPU", "Compiler_Type": "LLVM", "Idx": 119837, "Length": 4, "Cover_Rate": 0.4} {"Template_token": ["", "bool", "hasTinyEncoding", "(", ")", "const", "{"], "ground_truth": ["return", "m_hasTinyEncoding", ";"], "File": "MCS51Subtarget", "Func": "hasTinyEncoding", "Target": "MCS51", "Target_Clf": "MPU", "Compiler_Type": "LLVM", "Idx": 119838, "Length": 9, "Cover_Rate": 0.9} {"Template_token": ["", "ParseSubtargetFeatures", "(", "CPU", ",", "CPU", ",", "FS", ")", ";"], "ground_truth": ["return", "*", "this", ";"], "File": "MCS51Subtarget", "Func": "initializeSubtargetDependencies", "Target": "MCS51", "Target_Clf": "MPU", "Compiler_Type": "LLVM", "Idx": 119839, "Length": 13, "Cover_Rate": 0.40625} {"Template_token": ["", "Subtarget", "&", "Subtarget", "::", "initializeSubtargetDependencies", "(", "StringRef", "CPU", ",", "StringRef", "FS", ",", "const", "TargetMachine", "&", "TM", ")", "{"], "ground_truth": ["ParseSubtargetFeatures", "(", "CPU", ",", "CPU", ",", "FS", ")", ";"], "File": "MCS51Subtarget", "Func": "initializeSubtargetDependencies", "Target": "MCS51", "Target_Clf": "MPU", "Compiler_Type": "LLVM", "Idx": 119840, "Length": 27, "Cover_Rate": 0.84375} {"Template_token": ["", "Subtarget", "::", "Subtarget", "(", "const", "Triple", "&", "TT", ",", "const", "std", "::", "string", "&", "CPU", ",", "const", "std", "::", "string", "&", "FS", ",", "const", "TargetMachine", "&", "TM", ")", ":", "GenSubtargetInfo", "(", "TT", ",", "CPU", ",", "CPU", ",", "FS", ")", ",", "ELFArch", "(", "", ")", ",", "m_hasSRAM", "(", "false", ")", ",", "m_hasJMPCALL", "(", "false", ")", ",", "m_hasIJMPCALL", "(", "false", ")", ",", "m_hasEIJMPCALL", "(", "false", ")", ",", "m_hasADDSUBIW", "(", "false", ")", ",", "m_hasSmallStack", "(", "false", ")", ",", "m_hasMOVW", "(", "false", ")", ",", "m_hasLPM", "(", "false", ")", ",", "m_hasLPMX", "(", "false", ")", ",", "m_hasELPM", "(", "false", ")", ",", "m_hasELPMX", "(", "false", ")", ",", "m_hasSPM", "(", "false", ")", ",", "m_hasSPMX", "(", "false", ")", ",", "m_hasDES", "(", "false", ")", ",", "m_supportsRMW", "(", "false", ")", ",", "m_supportsMultiplication", "(", "false", ")", ",", "m_hasBREAK", "(", "false", ")", ",", "m_hasTinyEncoding", "(", "false", ")", ",", "m_hasMemMappedGPR", "(", "false", ")", ",", "m_FeatureSetDummy", "(", "false", ")", ",", "InstrInfo", "(", ")", ",", "FrameLowering", "(", ")", ",", "TLInfo", "(", "TM", ",", "initializeSubtargetDependencies", "(", "CPU", ",", "FS", ",", "TM", ")", ")", ",", "TSInfo", "(", ")", "{"], "ground_truth": ["ParseSubtargetFeatures", "(", "CPU", ",", "CPU", ",", "FS", ")", ";"], "File": "MCS51Subtarget", "Func": "MCS51Subtarget", "Target": "MCS51", "Target_Clf": "MPU", "Compiler_Type": "LLVM", "Idx": 119841, "Length": 180, "Cover_Rate": 0.994475138121547} {"Template_token": ["", "Subtarget", "::", "Subtarget", "(", "const", "Triple", "&", "TT", ",", "const", "std", "::", "string", "&", "CPU", ",", "const", "std", "::", "string", "&", "FS", ",", "const", "TargetMachine", "&", "TM", ")", ":", "GenSubtargetInfo", "(", "TT", ",", "CPU", ",", "CPU", ",", "FS", ")", ",", "ELFArch", "(", "", ")", ",", "m_hasSRAM", "(", "false", ")", ",", "m_hasJMPCALL", "(", "false", ")", ",", "m_hasIJMPCALL", "(", "false", ")", ",", "m_hasEIJMPCALL", "(", "false", ")", ",", "m_hasADDSUBIW", "(", "false", ")", ",", "m_hasSmallStack", "(", "false", ")", ",", "m_hasMOVW", "(", "false", ")", ",", "m_hasLPM", "(", "false", ")", ",", "m_hasLPMX", "(", "false", ")", ",", "m_hasELPM", "(", "false", ")", ",", "m_hasELPMX", "(", "false", ")", ",", "m_hasSPM", "(", "false", ")", ",", "m_hasSPMX", "(", "false", ")", ",", "m_hasDES", "(", "false", ")", ",", "m_supportsRMW", "(", "false", ")", ",", "m_supportsMultiplication", "(", "false", ")", ",", "m_hasBREAK", "(", "false", ")", ",", "m_hasTinyEncoding", "(", "false", ")", ",", "m_hasMemMappedGPR", "(", "false", ")", ",", "m_FeatureSetDummy", "(", "false", ")", ",", "InstrInfo", "(", ")", ",", "FrameLowering", "(", ")", ",", "TLInfo", "(", "TM", ",", "initializeSubtargetDependencies", "(", "CPU", ",", "FS", ",", "TM", ")", ")", ",", "TSInfo", "(", ")", "{"], "ground_truth": ["ParseSubtargetFeatures", "(", "CPU", ",", "CPU", ",", "FS", ")", ";"], "File": "MCS51Subtarget", "Func": "MCS51Subtarget", "Target": "MCS51", "Target_Clf": "MPU", "Compiler_Type": "LLVM", "Idx": 119842, "Length": 180, "Cover_Rate": 0.994475138121547} {"Template_token": ["", "return", "m_supportsMultiplication", ";"], "ground_truth": ["}"], "File": "MCS51Subtarget", "Func": "supportsMultiplication", "Target": "MCS51", "Target_Clf": "MPU", "Compiler_Type": "LLVM", "Idx": 119843, "Length": 4, "Cover_Rate": 0.4} {"Template_token": ["", "return", "m_supportsRMW", ";"], "ground_truth": ["}"], "File": "MCS51Subtarget", "Func": "supportsRMW", "Target": "MCS51", "Target_Clf": "MPU", "Compiler_Type": "LLVM", "Idx": 119845, "Length": 4, "Cover_Rate": 0.4} {"Template_token": ["", "bool", "supportsRMW", "(", ")", "const", "{", "return", "m_supportsRMW", ";"], "ground_truth": ["}"], "File": "MCS51Subtarget", "Func": "supportsRMW", "Target": "MCS51", "Target_Clf": "MPU", "Compiler_Type": "LLVM", "Idx": 119846, "Length": 10, "Cover_Rate": 1.0} {"Template_token": ["", "static", "Target", "TheTarget", ";", "return", "TheTarget", ";"], "ground_truth": ["}"], "File": "MCS51TargetInfo", "Func": "getTheMCS51Target", "Target": "MCS51", "Target_Clf": "MPU", "Compiler_Type": "LLVM", "Idx": 119847, "Length": 8, "Cover_Rate": 0.5714285714285714} {"Template_token": ["", "llvm", "::", "RegisterTarget", "<", "llvm", "::", "Triple", "::", "", ">", "X", "(", "llvm", "::", "getTheTarget", "(", ")", ",", "", ",", "", ",", "", ")", ";"], "ground_truth": ["}"], "File": "MCS51TargetInfo", "Func": "LLVMInitializeMCS51TargetInfo", "Target": "MCS51", "Target_Clf": "MPU", "Compiler_Type": "LLVM", "Idx": 119848, "Length": 26, "Cover_Rate": 0.8125} {"Template_token": ["", "LLVM_EXTERNAL_VISIBILITY", "void", "LLVMInitializeTargetInfo", "(", ")", "{", "llvm", "::", "RegisterTarget", "<", "llvm", "::", "Triple", "::", "", ">", "X", "(", "llvm", "::", "getTheTarget", "(", ")", ",", "", ",", "", ",", "", ")", ";"], "ground_truth": ["}"], "File": "MCS51TargetInfo", "Func": "LLVMInitializeMCS51TargetInfo", "Target": "MCS51", "Target_Clf": "MPU", "Compiler_Type": "LLVM", "Idx": 119849, "Length": 32, "Cover_Rate": 1.0} {"Template_token": ["", "bool", "PassConfig", "::", "addInstSelector", "(", ")", "{", "addPass", "(", "createISelDag", "(", "getTargetMachine", "(", ")", ",", "getOptLevel", "(", ")", ")", ")", ";"], "ground_truth": ["addPass", "(", "createFrameAnalyzerPass", "(", ")", ")", ";"], "File": "MCS51TargetMachine", "Func": "addInstSelector", "Target": "MCS51", "Target_Clf": "MPU", "Compiler_Type": "LLVM", "Idx": 119850, "Length": 28, "Cover_Rate": 0.875} {"Template_token": ["", "addPass", "(", "createShiftExpandPass", "(", ")", ")", ";", "TargetPassConfig", "::", "addIRPasses", "(", ")", ";"], "ground_truth": ["}"], "File": "MCS51TargetMachine", "Func": "addIRPasses", "Target": "MCS51", "Target_Clf": "MPU", "Compiler_Type": "LLVM", "Idx": 119851, "Length": 14, "Cover_Rate": 0.6666666666666666} {"Template_token": ["", "addPass", "(", "createShiftExpandPass", "(", ")", ")", ";"], "ground_truth": ["TargetPassConfig", "::", "addIRPasses", "(", ")", ";"], "File": "MCS51TargetMachine", "Func": "addIRPasses", "Target": "MCS51", "Target_Clf": "MPU", "Compiler_Type": "LLVM", "Idx": 119852, "Length": 13, "Cover_Rate": 0.6190476190476191} {"Template_token": ["", "void", "PassConfig", "::", "addPreEmitPass", "(", ")", "{", "addPass", "(", "&", "BranchRelaxationPassID", ")", ";"], "ground_truth": ["}"], "File": "MCS51TargetMachine", "Func": "addPreEmitPass", "Target": "MCS51", "Target_Clf": "MPU", "Compiler_Type": "LLVM", "Idx": 119854, "Length": 14, "Cover_Rate": 1.0} {"Template_token": ["", "addPass", "(", "createDynAllocaSRPass", "(", ")", ")", ";"], "ground_truth": ["}"], "File": "MCS51TargetMachine", "Func": "addPreRegAlloc", "Target": "MCS51", "Target_Clf": "MPU", "Compiler_Type": "LLVM", "Idx": 119855, "Length": 8, "Cover_Rate": 0.5333333333333333} {"Template_token": ["", "addPass", "(", "createDynAllocaSRPass", "(", ")", ")", ";"], "ground_truth": ["}"], "File": "MCS51TargetMachine", "Func": "addPreRegAlloc", "Target": "MCS51", "Target_Clf": "MPU", "Compiler_Type": "LLVM", "Idx": 119856, "Length": 8, "Cover_Rate": 0.5333333333333333} {"Template_token": ["", "addPass", "(", "createRelaxMemPass", "(", ")", ")", ";", "addPass", "(", "createExpandPseudoPass", "(", ")", ")", ";"], "ground_truth": ["}"], "File": "MCS51TargetMachine", "Func": "addPreSched2", "Target": "MCS51", "Target_Clf": "MPU", "Compiler_Type": "LLVM", "Idx": 119857, "Length": 15, "Cover_Rate": 0.6818181818181818} {"Template_token": ["", "addPass", "(", "createExpandPseudoPass", "(", ")", ")", ";"], "ground_truth": ["}"], "File": "MCS51TargetMachine", "Func": "addPreSched2", "Target": "MCS51", "Target_Clf": "MPU", "Compiler_Type": "LLVM", "Idx": 119858, "Length": 8, "Cover_Rate": 0.36363636363636365} {"Template_token": ["", "TargetPassConfig", "*", "TargetMachine", "::", "createPassConfig", "(", "PassManagerBase", "&", "PM", ")", "{", "return", "new", "PassConfig", "(", "*", "this", ",", "PM", ")", ";"], "ground_truth": ["}"], "File": "MCS51TargetMachine", "Func": "createPassConfig", "Target": "MCS51", "Target_Clf": "MPU", "Compiler_Type": "LLVM", "Idx": 119859, "Length": 22, "Cover_Rate": 1.0} {"Template_token": ["", "static", "StringRef", "getCPU", "(", "StringRef", "CPU", ")", "{"], "ground_truth": ["if", "(", "CPU", ".", "empty", "(", ")", "||", "CPU", "==", "", ")", "{"], "File": "MCS51TargetMachine", "Func": "getCPU", "Target": "MCS51", "Target_Clf": "MPU", "Compiler_Type": "LLVM", "Idx": 119861, "Length": 21, "Cover_Rate": 0.7241379310344828} {"Template_token": ["", "static", "Reloc", "::", "Model", "getEffectiveRelocModel", "(", "Optional", "<", "Reloc", "::", "Model", ">", "RM", ")", "{"], "ground_truth": ["return", "RM", ".", "getValueOr", "(", "Reloc", "::", "Static", ")", ";"], "File": "MCS51TargetMachine", "Func": "getEffectiveRelocModel", "Target": "MCS51", "Target_Clf": "MPU", "Compiler_Type": "LLVM", "Idx": 119862, "Length": 25, "Cover_Rate": 0.9615384615384616} {"Template_token": ["", "static", "Reloc", "::", "Model", "getEffectiveRelocModel", "(", "Optional", "<", "Reloc", "::", "Model", ">", "RM", ")", "{", "return", "RM", ".", "getValueOr", "(", "Reloc", "::", "Static", ")", ";"], "ground_truth": ["}"], "File": "MCS51TargetMachine", "Func": "getEffectiveRelocModel", "Target": "MCS51", "Target_Clf": "MPU", "Compiler_Type": "LLVM", "Idx": 119863, "Length": 26, "Cover_Rate": 1.0} {"Template_token": ["", "TargetMachine", "&", "getTargetMachine", "(", ")", "const", "{"], "ground_truth": ["return", "getTM", "<", "TargetMachine", ">", "(", ")", ";"], "File": "MCS51TargetMachine", "Func": "getMCS51TargetMachine", "Target": "MCS51", "Target_Clf": "MPU", "Compiler_Type": "LLVM", "Idx": 119864, "Length": 15, "Cover_Rate": 0.9375} {"Template_token": ["", "TargetMachine", "&", "getTargetMachine", "(", ")", "const", "{", "return", "getTM", "<", "TargetMachine", ">", "(", ")", ";"], "ground_truth": ["}"], "File": "MCS51TargetMachine", "Func": "getMCS51TargetMachine", "Target": "MCS51", "Target_Clf": "MPU", "Compiler_Type": "LLVM", "Idx": 119865, "Length": 16, "Cover_Rate": 1.0} {"Template_token": ["", "return", "this", "->", "TLOF", ".", "get", "(", ")", ";"], "ground_truth": ["}"], "File": "MCS51TargetMachine", "Func": "getObjFileLowering", "Target": "MCS51", "Target_Clf": "MPU", "Compiler_Type": "LLVM", "Idx": 119866, "Length": 10, "Cover_Rate": 0.5555555555555556} {"Template_token": ["", "return", "this", "->", "TLOF", ".", "get", "(", ")", ";"], "ground_truth": ["}"], "File": "MCS51TargetMachine", "Func": "getObjFileLowering", "Target": "MCS51", "Target_Clf": "MPU", "Compiler_Type": "LLVM", "Idx": 119867, "Length": 10, "Cover_Rate": 0.5555555555555556} {"Template_token": ["", "return", "false", ";"], "ground_truth": ["}"], "File": "MCS51TargetMachine", "Func": "isMachineVerifierClean", "Target": "MCS51", "Target_Clf": "MPU", "Compiler_Type": "LLVM", "Idx": 119869, "Length": 4, "Cover_Rate": 0.36363636363636365} {"Template_token": ["", "PassConfig", "(", "TargetMachine", "&", "TM", ",", "PassManagerBase", "&", "PM", ")", ":", "TargetPassConfig", "(", "TM", ",", "PM", ")", "{"], "ground_truth": ["}"], "File": "MCS51TargetMachine", "Func": "MCS51PassConfig", "Target": "MCS51", "Target_Clf": "MPU", "Compiler_Type": "LLVM", "Idx": 119870, "Length": 19, "Cover_Rate": 1.0} {"Template_token": ["", "PassConfig", "(", "TargetMachine", "&", "TM", ",", "PassManagerBase", "&", "PM", ")", ":", "TargetPassConfig", "(", "TM", ",", "PM", ")", "{"], "ground_truth": ["}"], "File": "MCS51TargetMachine", "Func": "MCS51PassConfig", "Target": "MCS51", "Target_Clf": "MPU", "Compiler_Type": "LLVM", "Idx": 119871, "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", ",", "Optional", "<", "CodeModel", "::", "Model", ">", "CM", ",", "CodeGenOpt", "::", "Level", "OL", ",", "bool", "JIT", ")", ":", "LLVMTargetMachine", "(", "T", ",", "DataLayout", ",", "TT", ",", "getCPU", "(", "CPU", ")", ",", "FS", ",", "Options", ",", "getEffectiveRelocModel", "(", "RM", ")", ",", "getEffectiveCodeModel", "(", "CM", ",", "CodeModel", "::", "Small", ")", ",", "OL", ")", ",", "SubTarget", "(", "TT", ",", "std", "::", "string", "(", "getCPU", "(", "CPU", ")", ")", ",", "std", "::", "string", "(", "FS", ")", ",", "*", "this", ")", "{", "this", "->", "TLOF", "=", "std", "::", "make_unique", "<", "TargetObjectFile", ">", "(", ")", ";"], "ground_truth": ["initAsmInfo", "(", ")", ";"], "File": "MCS51TargetMachine", "Func": "MCS51TargetMachine", "Target": "MCS51", "Target_Clf": "MPU", "Compiler_Type": "LLVM", "Idx": 119872, "Length": 126, "Cover_Rate": 0.9921259842519685} {"Template_token": ["", "if", "(", "", "(", "GO", ")", "&&", "!", "GO", "->", "hasSection", "(", ")", "&&", "Kind", ".", "isReadOnly", "(", ")", ")", "return", "ProgmemDataSection", ";"], "ground_truth": ["return", "Base", "::", "SelectSectionForGlobal", "(", "GO", ",", "Kind", ",", "TM", ")", ";"], "File": "MCS51TargetObjectFile", "Func": "SelectSectionForGlobal", "Target": "MCS51", "Target_Clf": "MPU", "Compiler_Type": "LLVM", "Idx": 119875, "Length": 35, "Cover_Rate": 0.5932203389830508} {"Template_token": ["", "void", "TargetStreamer", "::", "finish", "(", ")", "{", "MCStreamer", "&", "OS", "=", "getStreamer", "(", ")", ";", "MCContext", "&", "Context", "=", "OS", ".", "getContext", "(", ")", ";"], "ground_truth": ["MCSymbol", "*", "DoCopyData", "=", "Context", ".", "getOrCreateSymbol", "(", "", ")", ";"], "File": "MCS51TargetStreamer", "Func": "finish", "Target": "MCS51", "Target_Clf": "MPU", "Compiler_Type": "LLVM", "Idx": 119876, "Length": 36, "Cover_Rate": 0.3829787234042553} {"Template_token": ["", "TargetAsmStreamer", "::", "TargetAsmStreamer", "(", "MCStreamer", "&", "S", ")", ":", "TargetStreamer", "(", "S", ")", "{"], "ground_truth": ["}"], "File": "MCS51TargetStreamer", "Func": "MCS51TargetAsmStreamer", "Target": "MCS51", "Target_Clf": "MPU", "Compiler_Type": "LLVM", "Idx": 119877, "Length": 15, "Cover_Rate": 1.0} {"Template_token": ["", "TargetAsmStreamer", "::", "TargetAsmStreamer", "(", "MCStreamer", "&", "S", ")", ":", "TargetStreamer", "(", "S", ")", "{"], "ground_truth": ["}"], "File": "MCS51TargetStreamer", "Func": "MCS51TargetAsmStreamer", "Target": "MCS51", "Target_Clf": "MPU", "Compiler_Type": "LLVM", "Idx": 119878, "Length": 15, "Cover_Rate": 1.0} {"Template_token": ["", "TargetStreamer", "::", "TargetStreamer", "(", "MCStreamer", "&", "S", ")", ":", "MCTargetStreamer", "(", "S", ")", "{"], "ground_truth": ["}"], "File": "MCS51TargetStreamer", "Func": "MCS51TargetStreamer", "Target": "MCS51", "Target_Clf": "MPU", "Compiler_Type": "LLVM", "Idx": 119879, "Length": 15, "Cover_Rate": 1.0} {"Template_token": ["", "TargetStreamer", "::", "TargetStreamer", "(", "MCStreamer", "&", "S", ")", ":", "MCTargetStreamer", "(", "S", ")", "{"], "ground_truth": ["}"], "File": "MCS51TargetStreamer", "Func": "MCS51TargetStreamer", "Target": "MCS51", "Target_Clf": "MPU", "Compiler_Type": "LLVM", "Idx": 119880, "Length": 15, "Cover_Rate": 1.0} {"Template_token": ["", "inline", "bool", "isProgramMemoryAccess", "(", "MemSDNode", "const", "*", "N", ")", "{"], "ground_truth": ["auto", "V", "=", "N", "->", "getMemOperand", "(", ")", "->", "getValue", "(", ")", ";"], "File": "MCS51", "Func": "isProgramMemoryAccess", "Target": "MCS51", "Target_Clf": "MPU", "Compiler_Type": "LLVM", "Idx": 119881, "Length": 23, "Cover_Rate": 0.6052631578947368} {"Template_token": ["", "bool", "isProgramMemoryAddress", "(", "T", "*", "V", ")", "{", "return", "cast", "<", "PointerType", ">", "(", "V", "->", "getType", "(", ")", ")", "->", "getAddressSpace", "(", ")", "==", "ProgramMemory", ";"], "ground_truth": ["}"], "File": "MCS51", "Func": "isProgramMemoryAddress", "Target": "MCS51", "Target_Clf": "MPU", "Compiler_Type": "LLVM", "Idx": 119883, "Length": 28, "Cover_Rate": 1.0}