{"Template_token": ["", "inline", "bool", "isProgramMemoryAccess", "(", "MemSDNode", "const", "*", "N", ")", "{", "auto", "V", "=", "N", "->", "getMemOperand", "(", ")", "->", "getValue", "(", ")", ";"], "ground_truth": ["return", "(", "V", "!=", "nullptr", ")", "?", "isProgramMemoryAddress", "(", "V", ")", ":", "false", ";"], "File": "AVR1", "Func": "isProgramMemoryAccess", "Target": "AVR", "Target_Clf": "MPU", "Compiler_Type": "LLVM", "Idx": 112283, "Length": 37, "Cover_Rate": 0.9736842105263158} {"Template_token": ["", "return", "(", "V", "!=", "nullptr", ")", "?", "isProgramMemoryAddress", "(", "V", ")", ":", "false", ";"], "ground_truth": ["}"], "File": "AVR1", "Func": "isProgramMemoryAccess", "Target": "AVR", "Target_Clf": "MPU", "Compiler_Type": "LLVM", "Idx": 112284, "Length": 15, "Cover_Rate": 0.39473684210526316} {"Template_token": ["", "bool", "isProgramMemoryAddress", "(", "T", "*", "V", ")", "{"], "ground_truth": ["return", "cast", "<", "PointerType", ">", "(", "V", "->", "getType", "(", ")", ")", "->", "getAddressSpace", "(", ")", "==", "ProgramMemory", ";"], "File": "AVR1", "Func": "isProgramMemoryAddress", "Target": "AVR", "Target_Clf": "MPU", "Compiler_Type": "LLVM", "Idx": 112286, "Length": 27, "Cover_Rate": 0.9642857142857143} {"Template_token": ["", "adjust", "::", "pm", "(", "Value", ")", ";", "adjust", "::", "", "(", "Size", ",", "Fixup", ",", "Value", ",", "Ctx", ")", ";", "break", ";", "case", "", ":", "case", "", ":", "if", "(", "Kind", "==", "", ")", "adjust", "::", "pm", "(", "Value", ")", ";", "adjust", "::", "", "(", "Size", ",", "Fixup", ",", "Value", ",", "Ctx", ")", ";", "break", ";", "case", "", ":", "adjust", "::", "", "(", "Size", ",", "Fixup", ",", "Value", ",", "Ctx", ")", ";", "break", ";", "case", "", ":", "case", "", ":", "if", "(", "Kind", "==", "", ")", "adjust", "::", "pm", "(", "Value", ")", ";", "adjust", "::", "", "(", "Value", ")", ";", "adjust", "::", "", "(", "Size", ",", "Fixup", ",", "Value", ",", "Ctx", ")", ";", "break", ";", "case", "", ":", "case", "", ":", "if", "(", "Kind", "==", "", ")", "adjust", "::", "pm", "(", "Value", ")", ";", "adjust", "::", "", "(", "Value", ")", ";", "adjust", "::", "", "(", "Size", ",", "Fixup", ",", "Value", ",", "Ctx", ")", ";", "break", ";", "case", "", ":", "case", "", ":", "if", "(", "Kind", "==", "", ")", "adjust", "::", "pm", "(", "Value", ")", ";", "adjust", "::", "", "(", "Value", ")", ";", "adjust", "::", "", "(", "Size", ",", "Fixup", ",", "Value", ",", "Ctx", ")", ";", "break", ";", "case", "", ":", "adjust", "::", "", "(", "Value", ")", ";", "adjust", "::", "", "(", "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", "", ":"], "ground_truth": ["adjust", "::", "fixup_port5", "(", "Fixup", ",", "Value", ",", "Ctx", ")", ";"], "File": "AVRAsmBackend11", "Func": "adjustFixupValue", "Target": "AVR", "Target_Clf": "MPU", "Compiler_Type": "LLVM", "Idx": 112287, "Length": 330, "Cover_Rate": 0.4940119760479042} {"Template_token": ["", "static", "void", "adjustRelativeBranch", "(", "unsigned", "Size", ",", "const", "MCFixup", "&", "Fixup", ",", "uint64_t", "&", "Value", ",", "MCContext", "*", "Ctx", "=", "nullptr", ")", "{"], "ground_truth": ["signed_width", "(", "Size", "+", "", ",", "Value", ",", "std", "::", "string", "(", "", ")", ",", "Fixup", ",", "Ctx", ")", ";"], "File": "AVRAsmBackend11", "Func": "adjustRelativeBranch", "Target": "AVR", "Target_Clf": "MPU", "Compiler_Type": "LLVM", "Idx": 112288, "Length": 43, "Cover_Rate": 0.8113207547169812} {"Template_token": ["", "static", "void", "adjustRelativeBranch", "(", "unsigned", "Size", ",", "const", "MCFixup", "&", "Fixup", ",", "uint64_t", "&", "Value", ",", "MCContext", "*", "Ctx", "=", "nullptr", ")", "{", "signed_width", "(", "Size", "+", "", ",", "Value", ",", "std", "::", "string", "(", "", ")", ",", "Fixup", ",", "Ctx", ")", ";", "", "::", "adjustBranchTarget", "(", "Value", ")", ";"], "ground_truth": ["}"], "File": "AVRAsmBackend11", "Func": "adjustRelativeBranch", "Target": "AVR", "Target_Clf": "MPU", "Compiler_Type": "LLVM", "Idx": 112289, "Length": 51, "Cover_Rate": 0.9622641509433962} {"Template_token": ["", "static", "void", "fixup_6", "(", "const", "MCFixup", "&", "Fixup", ",", "uint64_t", "&", "Value", ",", "MCContext", "*", "Ctx", "=", "nullptr", ")", "{"], "ground_truth": ["unsigned_width", "(", "", ",", "Value", ",", "std", "::", "string", "(", "", ")", ",", "Fixup", ",", "Ctx", ")", ";"], "File": "AVRAsmBackend11", "Func": "fixup_6", "Target": "AVR", "Target_Clf": "MPU", "Compiler_Type": "LLVM", "Idx": 112290, "Length": 38, "Cover_Rate": 0.5671641791044776} {"Template_token": ["", "Value", "=", "(", "(", "Value", "&", "", ")", "<<", "", ")", "|", "(", "(", "Value", "&", "", ")", "<<", "", ")", "|", "(", "Value", "&", "", ")", ";"], "ground_truth": ["}"], "File": "AVRAsmBackend11", "Func": "fixup_6", "Target": "AVR", "Target_Clf": "MPU", "Compiler_Type": "LLVM", "Idx": 112291, "Length": 29, "Cover_Rate": 0.43283582089552236} {"Template_token": ["", "assert", "(", "(", "Count", "%", "", ")", "==", "", "&&", "", ")", ";"], "ground_truth": ["OS", ".", "write_zeros", "(", "Count", ")", ";"], "File": "AVRAsmBackend11", "Func": "writeNopData", "Target": "AVR", "Target_Clf": "MPU", "Compiler_Type": "LLVM", "Idx": 112292, "Length": 20, "Cover_Rate": 0.46511627906976744} {"Template_token": ["", "break", ";", "case", "", ":", "case", "", ":", "if", "(", "Kind", "==", "", ")", "adjust", "::", "pm", "(", "Value", ")", ";", "adjust", "::", "", "(", "Size", ",", "Fixup", ",", "Value", ",", "Ctx", ")", ";", "break", ";", "case", "", ":", "case", "", ":", "if", "(", "Kind", "==", "", ")", "adjust", "::", "pm", "(", "Value", ")", ";", "adjust", "::", "", "(", "Size", ",", "Fixup", ",", "Value", ",", "Ctx", ")", ";", "break", ";", "case", "", ":", "case", "", ":", "if", "(", "Kind", "==", "", ")", "adjust", "::", "pm", "(", "Value", ")", ";", "adjust", "::", "", "(", "Size", ",", "Fixup", ",", "Value", ",", "Ctx", ")", ";", "break", ";", "case", "", ":", "adjust", "::", "", "(", "Size", ",", "Fixup", ",", "Value", ",", "Ctx", ")", ";", "break", ";", "case", "", ":", "case", "", ":", "if", "(", "Kind", "==", "", ")", "adjust", "::", "pm", "(", "Value", ")", ";", "adjust", "::", "", "(", "Value", ")", ";", "adjust", "::", "", "(", "Size", ",", "Fixup", ",", "Value", ",", "Ctx", ")", ";", "break", ";", "case", "", ":", "case", "", ":", "if", "(", "Kind", "==", "", ")", "adjust", "::", "pm", "(", "Value", ")", ";", "adjust", "::", "", "(", "Value", ")", ";", "adjust", "::", "", "(", "Size", ",", "Fixup", ",", "Value", ",", "Ctx", ")", ";", "break", ";", "case", "", ":", "case", "", ":", "if", "(", "Kind", "==", "", ")", "adjust", "::", "pm", "(", "Value", ")", ";", "adjust", "::", "", "(", "Value", ")", ";", "adjust", "::", "", "(", "Size", ",", "Fixup", ",", "Value", ",", "Ctx", ")", ";", "break", ";", "case", "", ":", "adjust", "::", "", "(", "Value", ")", ";", "adjust", "::", "", "(", "Size", ",", "Fixup", ",", "Value", ",", "Ctx", ")", ";", "break", ";", "case", "", ":", "adjust", "::", "unsigned_width", "(", "", ",", "Value", ",", "std", "::", "string", "(", "", ")", ",", "Fixup", ",", "Ctx", ")", ";", "Value", "&=", "", ";", "break", ";"], "ground_truth": ["case", "", ":"], "File": "AVRAsmBackend13", "Func": "adjustFixupValue", "Target": "AVR", "Target_Clf": "MPU", "Compiler_Type": "LLVM", "Idx": 112293, "Length": 302, "Cover_Rate": 0.49105691056910566} {"Template_token": ["", "MCFixupKindInfo", "const", "&", "AsmBackend", "::", "getFixupKindInfo", "(", "MCFixupKind", "Kind", ")", "const", "{", "const", "static", "MCFixupKindInfo", "Infos", "[", "", "]", "=", "{", "{", "", ",", "", ",", "", ",", "", "}", ",", "{", "", ",", "", ",", "", ",", "MCFixupKindInfo", "::", "FKF_IsPCRel", "}", ",", "{", "", ",", "", ",", "", ",", "MCFixupKindInfo", "::", "FKF_IsPCRel", "}", ",", "{", "", ",", "", ",", "", ",", "", "}", ",", "{", "", ",", "", ",", "", ",", "", "}", ",", "{", "", ",", "", ",", "", ",", "", "}", ",", "{", "", ",", "", ",", "", ",", "", "}", ",", "{", "", ",", "", ",", "", ",", "", "}", ",", "{", "", ",", "", ",", "", ",", "", "}", ",", "{", "", ",", "", ",", "", ",", "", "}", ",", "{", "", ",", "", ",", "", ",", "", "}", ",", "{", "", ",", "", ",", "", ",", "", "}", ",", "{", "", ",", "", ",", "", ",", "", "}", ",", "{", "", ",", "", ",", "", ",", "", "}", ",", "{", "", ",", "", ",", "", ",", "", "}", ",", "{", "", ",", "", ",", "", ",", "", "}", ",", "{", "", ",", "", ",", "", ",", "", "}", ",", "{", "", ",", "", ",", "", ",", "", "}", ",", "{", "", ",", "", ",", "", ",", "", "}", ",", "{", "", ",", "", ",", "", ",", "", "}", ",", "{", "", ",", "", ",", "", ",", "", "}", ",", "{", "", ",", "", ",", "", ",", "", "}", ",", "{", "", ",", "", ",", "", ",", "", "}", ",", "{", "", ",", "", ",", "", ",", "", "}", ",", "{", "", ",", "", ",", "", ",", "", "}", ",", "{", "", ",", "", ",", "", ",", "", "}", ",", "{", "", ",", "", ",", "", ",", "", "}", ",", "{", "", ",", "", ",", "", ",", "", "}", ",", "{", "", ",", "", ",", "", ",", "", "}", ",", "{", "", ",", "", ",", "", ",", "", "}", ",", "{", "", ",", "", ",", "", ",", "", "}", ",", "{", "", ",", "", ",", "", ",", "", "}", ",", "{", "", ",", "", ",", "", ",", "", "}", ",", "{", "", ",", "", ",", "", ",", "", "}", ",", "}", ";", "if", "(", "Kind", "<", "FirstTargetFixupKind", ")", "return", "MCAsmBackend", "::", "getFixupKindInfo", "(", "Kind", ")", ";", "assert", "(", "unsigned", "(", "Kind", "-", "FirstTargetFixupKind", ")", "<", "getNumFixupKinds", "(", ")", "&&", "", ")", ";"], "ground_truth": ["return", "Infos", "[", "Kind", "-", "FirstTargetFixupKind", "]", ";"], "File": "AVRAsmBackend13", "Func": "getFixupKindInfo", "Target": "AVR", "Target_Clf": "MPU", "Compiler_Type": "LLVM", "Idx": 112295, "Length": 405, "Cover_Rate": 0.9926470588235294} {"Template_token": ["", "MCObjectWriter", "*", "AsmBackend", "::", "createObjectWriter", "(", "raw_pwrite_stream", "&", "OS", ")", "const", "{", "return", "createELFObjectWriter", "(", "OS", ",", "MCELFObjectTargetWriter", "::", "getOSABI", "(", "OSType", ")", ")", ";"], "ground_truth": ["}"], "File": "AVRAsmBackend14", "Func": "createObjectWriter", "Target": "AVR", "Target_Clf": "MPU", "Compiler_Type": "LLVM", "Idx": 112296, "Length": 26, "Cover_Rate": 1.0} {"Template_token": ["", "adjust", "::", "", "(", "Size", ",", "Fixup", ",", "Value", ",", "Ctx", ")", ";", "break", ";", "case", "", ":", "case", "", ":", "adjust", "::", "pm", "(", "Value", ")", ";", "adjust", "::", "", "(", "Size", ",", "Fixup", ",", "Value", ",", "Ctx", ")", ";", "break", ";", "case", "", ":", "case", "", ":", "if", "(", "Kind", "==", "", ")", "adjust", "::", "pm", "(", "Value", ")", ";", "adjust", "::", "", "(", "Size", ",", "Fixup", ",", "Value", ",", "Ctx", ")", ";", "break", ";", "case", "", ":", "adjust", "::", "", "(", "Size", ",", "Fixup", ",", "Value", ",", "Ctx", ")", ";", "break", ";", "case", "", ":", "case", "", ":", "if", "(", "Kind", "==", "", ")", "adjust", "::", "pm", "(", "Value", ")", ";", "adjust", "::", "", "(", "Value", ")", ";", "adjust", "::", "", "(", "Size", ",", "Fixup", ",", "Value", ",", "Ctx", ")", ";", "break", ";", "case", "", ":", "case", "", ":", "if", "(", "Kind", "==", "", ")", "adjust", "::", "pm", "(", "Value", ")", ";", "adjust", "::", "", "(", "Value", ")", ";", "adjust", "::", "", "(", "Size", ",", "Fixup", ",", "Value", ",", "Ctx", ")", ";", "break", ";", "case", "", ":", "case", "", ":", "if", "(", "Kind", "==", "", ")", "adjust", "::", "pm", "(", "Value", ")", ";", "adjust", "::", "", "(", "Value", ")", ";", "adjust", "::", "", "(", "Size", ",", "Fixup", ",", "Value", ",", "Ctx", ")", ";"], "ground_truth": ["break", ";"], "File": "AVRAsmBackend19", "Func": "adjustFixupValue", "Target": "AVR", "Target_Clf": "MPU", "Compiler_Type": "LLVM", "Idx": 112298, "Length": 218, "Cover_Rate": 0.301521438450899} {"Template_token": ["", "void", "adjustBranch", "(", "unsigned", "Size", ",", "const", "MCFixup", "&", "Fixup", ",", "uint64_t", "&", "Value", ",", "MCContext", "*", "Ctx", "=", "nullptr", ")", "{", "unsigned_width", "(", "Size", "+", "", ",", "Value", ",", "std", "::", "string", "(", "", ")", ",", "Fixup", ",", "Ctx", ")", ";", "", "::", "adjustBranchTarget", "(", "Value", ")", ";"], "ground_truth": ["}"], "File": "AVRAsmBackend1", "Func": "adjustBranch", "Target": "AVR", "Target_Clf": "MPU", "Compiler_Type": "LLVM", "Idx": 112300, "Length": 50, "Cover_Rate": 0.9615384615384616} {"Template_token": ["", "switch", "(", "Kind", ")", "{", "default", ":", "llvm_unreachable", "(", "", ")", ";", "case", "", ":", "adjust", "::", "fixup_7_pcrel", "(", "Size", ",", "Fixup", ",", "Value", ",", "Ctx", ")", ";", "break", ";", "case", "", ":", "adjust", "::", "fixup_13_pcrel", "(", "Size", ",", "Fixup", ",", "Value", ",", "Ctx", ")", ";", "break", ";", "case", "", ":", "adjust", "::", "fixup_call", "(", "Size", ",", "Fixup", ",", "Value", ",", "Ctx", ")", ";", "break", ";", "case", "", ":", "adjust", "::", "", "(", "Size", ",", "Fixup", ",", "Value", ",", "Ctx", ")", ";", "break", ";", "case", "", ":", "adjust", "::", "", "(", "Size", ",", "Fixup", ",", "Value", ",", "Ctx", ")", ";", "break", ";", "case", "", ":", "case", "", ":", "adjust", "::", "pm", "(", "Value", ")", ";", "adjust", "::", "", "(", "Size", ",", "Fixup", ",", "Value", ",", "Ctx", ")", ";", "break", ";", "case", "", ":", "adjust", "::", "", "(", "Size", ",", "Fixup", ",", "Value", ",", "Ctx", ")", ";", "break", ";", "case", "", ":", "case", "", ":", "adjust", "::", "pm", "(", "Value", ")", ";", "adjust", "::", "", "(", "Size", ",", "Fixup", ",", "Value", ",", "Ctx", ")", ";", "break", ";", "case", "", ":", "case", "", ":", "if", "(", "Kind", "==", "", ")", "adjust", "::", "pm", "(", "Value", ")", ";", "adjust", "::", "", "(", "Size", ",", "Fixup", ",", "Value", ",", "Ctx", ")", ";", "break", ";", "case", "", ":", "adjust", "::", "", "(", "Size", ",", "Fixup", ",", "Value", ",", "Ctx", ")", ";", "break", ";", "case", "", ":", "case", "", ":", "if", "(", "Kind", "==", "", ")", "adjust", "::", "pm", "(", "Value", ")", ";", "adjust", "::", "", "(", "Value", ")", ";", "adjust", "::", "", "(", "Size", ",", "Fixup", ",", "Value", ",", "Ctx", ")", ";", "break", ";"], "ground_truth": ["case", "", ":"], "File": "AVRAsmBackend1", "Func": "adjustFixupValue", "Target": "AVR", "Target_Clf": "MPU", "Compiler_Type": "LLVM", "Idx": 112301, "Length": 272, "Cover_Rate": 0.39941262848751835} {"Template_token": ["", "void", "adjustRelativeBranch", "(", "unsigned", "Size", ",", "const", "MCFixup", "&", "Fixup", ",", "uint64_t", "&", "Value", ",", "MCContext", "*", "Ctx", "=", "nullptr", ")", "{", "signed_width", "(", "Size", "+", "", ",", "Value", ",", "std", "::", "string", "(", "", ")", ",", "Fixup", ",", "Ctx", ")", ";", "Value", "-=", "", ";", "", "::", "adjustBranchTarget", "(", "Value", ")", ";"], "ground_truth": ["}"], "File": "AVRAsmBackend1", "Func": "adjustRelativeBranch", "Target": "AVR", "Target_Clf": "MPU", "Compiler_Type": "LLVM", "Idx": 112302, "Length": 54, "Cover_Rate": 0.9642857142857143} {"Template_token": ["", "auto", "NumBytes", "=", "(", "NumBits", "/", "", ")", "+", "(", "(", "NumBits", "%", "", ")", "==", "", "?", "", ":", "", ")", ";", "Value", "<<=", "Info", ".", "TargetOffset", ";", "unsigned", "Offset", "=", "Fixup", ".", "getOffset", "(", ")", ";", "assert", "(", "Offset", "+", "NumBytes", "<=", "Data", ".", "size", "(", ")", "&&", "", ")", ";"], "ground_truth": ["for", "(", "unsigned", "i", "=", "", ";", "i", "<", "NumBytes", ";", "++", "i", ")", "{"], "File": "AVRAsmBackend1", "Func": "applyFixup", "Target": "AVR", "Target_Clf": "MPU", "Compiler_Type": "LLVM", "Idx": 112303, "Length": 68, "Cover_Rate": 0.37988826815642457} {"Template_token": ["", "AsmBackend", "(", "Triple", "::", "OSType", "OSType", ")", ":", "MCAsmBackend", "(", ")", ",", "OSType", "(", "OSType", ")", "{"], "ground_truth": ["}"], "File": "AVRAsmBackend1", "Func": "AVRAsmBackend", "Target": "AVR", "Target_Clf": "MPU", "Compiler_Type": "LLVM", "Idx": 112304, "Length": 18, "Cover_Rate": 1.0} {"Template_token": ["", "AsmBackend", "(", "Triple", "::", "OSType", "OSType", ")", ":", "MCAsmBackend", "(", ")", ",", "OSType", "(", "OSType", ")", "{"], "ground_truth": ["}"], "File": "AVRAsmBackend1", "Func": "AVRAsmBackend", "Target": "AVR", "Target_Clf": "MPU", "Compiler_Type": "LLVM", "Idx": 112305, "Length": 18, "Cover_Rate": 1.0} {"Template_token": ["", "std", "::", "unique_ptr", "<", "MCObjectWriter", ">", "AsmBackend", "::", "createObjectWriter", "(", "raw_pwrite_stream", "&", "OS", ")", "const", "{"], "ground_truth": ["return", "createELFObjectWriter", "(", "OS", ",", "MCELFObjectTargetWriter", "::", "getOSABI", "(", "OSType", ")", ")", ";"], "File": "AVRAsmBackend1", "Func": "createObjectWriter", "Target": "AVR", "Target_Clf": "MPU", "Compiler_Type": "LLVM", "Idx": 112308, "Length": 29, "Cover_Rate": 0.9666666666666667} {"Template_token": ["", "uint64_t", "lower", "=", "Value", "&", "", ";"], "ground_truth": ["Value", "=", "(", "upper", "<<", "", ")", "|", "lower", ";"], "File": "AVRAsmBackend1", "Func": "fixup", "Target": "AVR", "Target_Clf": "MPU", "Compiler_Type": "LLVM", "Idx": 112309, "Length": 17, "Cover_Rate": 0.3617021276595745} {"Template_token": ["", "void", "fixup_13_pcrel", "(", "unsigned", "Size", ",", "const", "MCFixup", "&", "Fixup", ",", "uint64_t", "&", "Value", ",", "MCContext", "*", "Ctx", "=", "nullptr", ")", "{", "adjustRelativeBranch", "(", "Size", ",", "Fixup", ",", "Value", ",", "Ctx", ")", ";", "Value", "&=", "", ";"], "ground_truth": ["}"], "File": "AVRAsmBackend1", "Func": "fixup_13_pcrel", "Target": "AVR", "Target_Clf": "MPU", "Compiler_Type": "LLVM", "Idx": 112310, "Length": 38, "Cover_Rate": 1.0} {"Template_token": ["", "void", "fixup_6_adiw", "(", "const", "MCFixup", "&", "Fixup", ",", "uint64_t", "&", "Value", ",", "MCContext", "*", "Ctx", "=", "nullptr", ")", "{", "unsigned_width", "(", "", ",", "Value", ",", "std", "::", "string", "(", "", ")", ",", "Fixup", ",", "Ctx", ")", ";", "Value", "=", "(", "(", "Value", "&", "", ")", "<<", "", ")", "|", "(", "Value", "&", "", ")", ";"], "ground_truth": ["}"], "File": "AVRAsmBackend1", "Func": "fixup_6_adiw", "Target": "AVR", "Target_Clf": "MPU", "Compiler_Type": "LLVM", "Idx": 112311, "Length": 56, "Cover_Rate": 1.0} {"Template_token": ["", "void", "fixup_7_pcrel", "(", "unsigned", "Size", ",", "const", "MCFixup", "&", "Fixup", ",", "uint64_t", "&", "Value", ",", "MCContext", "*", "Ctx", "=", "nullptr", ")", "{"], "ground_truth": ["adjustRelativeBranch", "(", "Size", ",", "Fixup", ",", "Value", ",", "Ctx", ")", ";"], "File": "AVRAsmBackend1", "Func": "fixup_7_pcrel", "Target": "AVR", "Target_Clf": "MPU", "Compiler_Type": "LLVM", "Idx": 112313, "Length": 33, "Cover_Rate": 0.868421052631579} {"Template_token": ["", "void", "fixup_7_pcrel", "(", "unsigned", "Size", ",", "const", "MCFixup", "&", "Fixup", ",", "uint64_t", "&", "Value", ",", "MCContext", "*", "Ctx", "=", "nullptr", ")", "{", "adjustRelativeBranch", "(", "Size", ",", "Fixup", ",", "Value", ",", "Ctx", ")", ";", "Value", "&=", "", ";"], "ground_truth": ["}"], "File": "AVRAsmBackend1", "Func": "fixup_7_pcrel", "Target": "AVR", "Target_Clf": "MPU", "Compiler_Type": "LLVM", "Idx": 112314, "Length": 38, "Cover_Rate": 1.0} {"Template_token": ["", "auto", "top", "=", "Value", "&", "(", "", "<<", "", ")", ";", "auto", "middle", "=", "Value", "&", "(", "", "<<", "", ")", ";", "auto", "bottom", "=", "Value", "&", "", ";", "Value", "=", "(", "top", "<<", "", ")", "|", "(", "middle", "<<", "", ")", "|", "(", "bottom", "<<", "", ")", ";"], "ground_truth": ["}"], "File": "AVRAsmBackend1", "Func": "fixup_call", "Target": "AVR", "Target_Clf": "MPU", "Compiler_Type": "LLVM", "Idx": 112315, "Length": 50, "Cover_Rate": 0.6024096385542169} {"Template_token": ["", "auto", "bottom", "=", "Value", "&", "", ";"], "ground_truth": ["Value", "=", "(", "top", "<<", "", ")", "|", "(", "middle", "<<", "", ")", "|", "(", "bottom", "<<", "", ")", ";"], "File": "AVRAsmBackend1", "Func": "fixup_call", "Target": "AVR", "Target_Clf": "MPU", "Compiler_Type": "LLVM", "Idx": 112316, "Length": 27, "Cover_Rate": 0.3253012048192771} {"Template_token": ["", "unsigned_width", "(", "", ",", "Value", ",", "std", "::", "string", "(", "", ")", ",", "Fixup", ",", "Ctx", ")", ";", "Value", "&=", "", ";"], "ground_truth": ["Value", "<<=", "", ";"], "File": "AVRAsmBackend1", "Func": "fixup_port5", "Target": "AVR", "Target_Clf": "MPU", "Compiler_Type": "LLVM", "Idx": 112317, "Length": 26, "Cover_Rate": 0.5652173913043478} {"Template_token": ["", "unsigned_width", "(", "", ",", "Value", ",", "std", "::", "string", "(", "", ")", ",", "Fixup", ",", "Ctx", ")", ";", "Value", "=", "(", "(", "Value", "&", "", ")", "<<", "", ")", "|", "(", "Value", "&", "", ")", ";"], "ground_truth": ["}"], "File": "AVRAsmBackend1", "Func": "fixup_port6", "Target": "AVR", "Target_Clf": "MPU", "Compiler_Type": "LLVM", "Idx": 112319, "Length": 37, "Cover_Rate": 0.6607142857142857} {"Template_token": ["", "void", "hh8", "(", "unsigned", "Size", ",", "const", "MCFixup", "&", "Fixup", ",", "uint64_t", "&", "Value", ",", "MCContext", "*", "Ctx", "=", "nullptr", ")", "{", "Value", "=", "(", "Value", "&", "", ")", ">>", "", ";", "", "(", "Size", ",", "Fixup", ",", "Value", ",", "Ctx", ")", ";"], "ground_truth": ["}"], "File": "AVRAsmBackend1", "Func": "hh8", "Target": "AVR", "Target_Clf": "MPU", "Compiler_Type": "LLVM", "Idx": 112320, "Length": 44, "Cover_Rate": 0.9565217391304348} {"Template_token": ["", "Value", "=", "(", "Value", "&", "", ")", ">>", "", ";", "", "(", "Size", ",", "Fixup", ",", "Value", ",", "Ctx", ")", ";"], "ground_truth": ["}"], "File": "AVRAsmBackend1", "Func": "hi8", "Target": "AVR", "Target_Clf": "MPU", "Compiler_Type": "LLVM", "Idx": 112322, "Length": 22, "Cover_Rate": 0.4782608695652174} {"Template_token": ["", "Value", "&=", "", ";"], "ground_truth": ["", "(", "Size", ",", "Fixup", ",", "Value", ",", "Ctx", ")", ";"], "File": "AVRAsmBackend1", "Func": "lo8", "Target": "AVR", "Target_Clf": "MPU", "Compiler_Type": "LLVM", "Idx": 112323, "Length": 15, "Cover_Rate": 0.375} {"Template_token": ["", "bool", "mayNeedRelaxation", "(", "const", "MCInst", "&", "Inst", ")", "const", "override", "{"], "ground_truth": ["return", "false", ";"], "File": "AVRAsmBackend1", "Func": "mayNeedRelaxation", "Target": "AVR", "Target_Clf": "MPU", "Compiler_Type": "LLVM", "Idx": 112325, "Length": 14, "Cover_Rate": 0.9333333333333333} {"Template_token": ["", "void", "ms8", "(", "unsigned", "Size", ",", "const", "MCFixup", "&", "Fixup", ",", "uint64_t", "&", "Value", ",", "MCContext", "*", "Ctx", "=", "nullptr", ")", "{"], "ground_truth": ["Value", "=", "(", "Value", "&", "", ")", ">>", "", ";"], "File": "AVRAsmBackend1", "Func": "ms8", "Target": "AVR", "Target_Clf": "MPU", "Compiler_Type": "LLVM", "Idx": 112326, "Length": 32, "Cover_Rate": 0.6956521739130435} {"Template_token": ["", "void", "neg", "(", "uint64_t", "&", "Value", ")", "{", "Value", "*=", "-", "", ";"], "ground_truth": ["}"], "File": "AVRAsmBackend1", "Func": "neg", "Target": "AVR", "Target_Clf": "MPU", "Compiler_Type": "LLVM", "Idx": 112328, "Length": 14, "Cover_Rate": 1.0} {"Template_token": ["", "Value", ">>=", "", ";"], "ground_truth": ["}"], "File": "AVRAsmBackend1", "Func": "pm", "Target": "AVR", "Target_Clf": "MPU", "Compiler_Type": "LLVM", "Idx": 112329, "Length": 5, "Cover_Rate": 0.38461538461538464} {"Template_token": ["", "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": "AVRAsmBackend1", "Func": "signed_width", "Target": "AVR", "Target_Clf": "MPU", "Compiler_Type": "LLVM", "Idx": 112331, "Length": 54, "Cover_Rate": 0.46153846153846156} {"Template_token": ["", "std", "::", "string", "Diagnostic", "=", "", "+", "Description", ";", "int64_t", "Max", "=", "maxUIntN", "(", "Width", ")", ";", "Diagnostic", "+=", "", "+", "std", "::", "to_string", "(", "Max", ")", "+", "", ";", "if", "(", "Ctx", ")", "{", "Ctx", "->", "reportFatalError", "(", "Fixup", ".", "getLoc", "(", ")", ",", "Diagnostic", ")", ";", "}", "else", "{", "llvm_unreachable", "(", "Diagnostic", ".", "c_str", "(", ")", ")", ";", "}", "}"], "ground_truth": ["}"], "File": "AVRAsmBackend1", "Func": "unsigned_width", "Target": "AVR", "Target_Clf": "MPU", "Compiler_Type": "LLVM", "Idx": 112332, "Length": 63, "Cover_Rate": 0.63} {"Template_token": ["", "bool", "AsmBackend", "::", "writeNopData", "(", "uint64_t", "Count", ",", "MCObjectWriter", "*", "OW", ")", "const", "{", "assert", "(", "(", "Count", "%", "", ")", "==", "", "&&", "", ")", ";", "OW", "->", "WriteZeros", "(", "Count", ")", ";", "return", "true", ";"], "ground_truth": ["}"], "File": "AVRAsmBackend1", "Func": "writeNopData", "Target": "AVR", "Target_Clf": "MPU", "Compiler_Type": "LLVM", "Idx": 112333, "Length": 38, "Cover_Rate": 1.0} {"Template_token": ["", "bool", "AsmBackend", "::", "writeNopData", "(", "uint64_t", "Count", ",", "MCObjectWriter", "*", "OW", ")", "const", "{", "assert", "(", "(", "Count", "%", "", ")", "==", "", "&&", "", ")", ";", "OW", "->", "WriteZeros", "(", "Count", ")", ";"], "ground_truth": ["return", "true", ";"], "File": "AVRAsmBackend1", "Func": "writeNopData", "Target": "AVR", "Target_Clf": "MPU", "Compiler_Type": "LLVM", "Idx": 112334, "Length": 37, "Cover_Rate": 0.9736842105263158} {"Template_token": ["", "case", "", ":", "if", "(", "Kind", "==", "", ")", "adjust", "::", "pm", "(", "Value", ")", ";", "adjust", "::", "", "(", "Size", ",", "Fixup", ",", "Value", ",", "Ctx", ")", ";", "break", ";", "case", "", ":", "adjust", "::", "", "(", "Size", ",", "Fixup", ",", "Value", ",", "Ctx", ")", ";", "break", ";", "case", "", ":", "case", "", ":", "if", "(", "Kind", "==", "", ")", "adjust", "::", "pm", "(", "Value", ")", ";", "adjust", "::", "", "(", "Value", ")", ";", "adjust", "::", "", "(", "Size", ",", "Fixup", ",", "Value", ",", "Ctx", ")", ";", "break", ";", "case", "", ":", "case", "", ":", "if", "(", "Kind", "==", "", ")", "adjust", "::", "pm", "(", "Value", ")", ";", "adjust", "::", "", "(", "Value", ")", ";", "adjust", "::", "", "(", "Size", ",", "Fixup", ",", "Value", ",", "Ctx", ")", ";", "break", ";", "case", "", ":", "case", "", ":", "if", "(", "Kind", "==", "", ")", "adjust", "::", "pm", "(", "Value", ")", ";", "adjust", "::", "", "(", "Value", ")", ";", "adjust", "::", "", "(", "Size", ",", "Fixup", ",", "Value", ",", "Ctx", ")", ";", "break", ";", "case", "", ":", "adjust", "::", "", "(", "Value", ")", ";", "adjust", "::", "", "(", "Size", ",", "Fixup", ",", "Value", ",", "Ctx", ")", ";"], "ground_truth": ["break", ";"], "File": "AVRAsmBackend21", "Func": "adjustFixupValue", "Target": "AVR", "Target_Clf": "MPU", "Compiler_Type": "LLVM", "Idx": 112335, "Length": 197, "Cover_Rate": 0.34024179620034545} {"Template_token": ["", "auto", "NumBytes", "=", "(", "NumBits", "/", "", ")", "+", "(", "(", "NumBits", "%", "", ")", "==", "", "?", "", ":", "", ")", ";", "Value", "<<=", "Info", ".", "TargetOffset", ";", "unsigned", "Offset", "=", "Fixup", ".", "getOffset", "(", ")", ";", "assert", "(", "Offset", "+", "NumBytes", "<=", "DataSize", "&&", "", ")", ";", "for", "(", "unsigned", "i", "=", "", ";", "i", "<", "NumBytes", ";", "++", "i", ")", "{", "uint8_t", "mask", "=", "(", "(", "(", "Value", ">>", "(", "i", "*", "", ")", ")", "&", "", ")", ")", ";", "Data", "[", "Offset", "+", "i", "]", "|=", "mask", ";", "}"], "ground_truth": ["}"], "File": "AVRAsmBackend21", "Func": "applyFixup", "Target": "AVR", "Target_Clf": "MPU", "Compiler_Type": "LLVM", "Idx": 112336, "Length": 94, "Cover_Rate": 0.6266666666666667} {"Template_token": ["", "case", "", ":", "case", "", ":", "case", "", ":", "IsResolved", "=", "false", ";", "break", ";", "default", ":"], "ground_truth": ["if", "(", "Target", ".", "getSymA", "(", ")", "->", "getSymbol", "(", ")", ".", "isTemporary", "(", ")", ")", "Value", "+=", "", ";"], "File": "AVRAsmBackend21", "Func": "processFixupValue", "Target": "AVR", "Target_Clf": "MPU", "Compiler_Type": "LLVM", "Idx": 112337, "Length": 37, "Cover_Rate": 0.33035714285714285} {"Template_token": ["", "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", "->", "reportError", "(", "Fixup", ".", "getLoc", "(", ")", ",", "Diagnostic", ")", ";", "}", "else", "{"], "ground_truth": ["llvm_unreachable", "(", "Diagnostic", ".", "c_str", "(", ")", ")", ";"], "File": "AVRAsmBackend4", "Func": "signed_width", "Target": "AVR", "Target_Clf": "MPU", "Compiler_Type": "LLVM", "Idx": 112338, "Length": 77, "Cover_Rate": 0.652542372881356} {"Template_token": ["", "if", "(", "!", "isUIntN", "(", "Width", ",", "Value", ")", ")", "{", "std", "::", "string", "Diagnostic", "=", "", "+", "Description", ";", "int64_t", "Max", "=", "maxUIntN", "(", "Width", ")", ";", "Diagnostic", "+=", "", "+", "std", "::", "to_string", "(", "Max", ")", "+", "", ";", "if", "(", "Ctx", ")", "{", "Ctx", "->", "reportError", "(", "Fixup", ".", "getLoc", "(", ")", ",", "Diagnostic", ")", ";", "}", "else", "{", "llvm_unreachable", "(", "Diagnostic", ".", "c_str", "(", ")", ")", ";", "}", "}"], "ground_truth": ["}"], "File": "AVRAsmBackend4", "Func": "unsigned_width", "Target": "AVR", "Target_Clf": "MPU", "Compiler_Type": "LLVM", "Idx": 112339, "Length": 74, "Cover_Rate": 0.7326732673267327} {"Template_token": ["", "auto", "NumBits", "=", "Info", ".", "TargetSize", "+", "Info", ".", "TargetOffset", ";", "auto", "NumBytes", "=", "(", "NumBits", "/", "", ")", "+", "(", "(", "NumBits", "%", "", ")", "==", "", "?", "", ":", "", ")", ";", "Value", "<<=", "Info", ".", "TargetOffset", ";", "unsigned", "Offset", "=", "Fixup", ".", "getOffset", "(", ")", ";", "assert", "(", "Offset", "+", "NumBytes", "<=", "DataSize", "&&", "", ")", ";", "for", "(", "unsigned", "i", "=", "", ";", "i", "<", "NumBytes", ";", "++", "i", ")", "{", "uint8_t", "mask", "=", "(", "(", "(", "Value", ">>", "(", "i", "*", "", ")", ")", "&", "", ")", ")", ";", "Data", "[", "Offset", "+", "i", "]", "|=", "mask", ";"], "ground_truth": ["}"], "File": "AVRAsmBackend5", "Func": "applyFixup", "Target": "AVR", "Target_Clf": "MPU", "Compiler_Type": "LLVM", "Idx": 112340, "Length": 104, "Cover_Rate": 0.6753246753246753} {"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": "AVRAsmBackend", "Func": "adjustBranch", "Target": "AVR", "Target_Clf": "MPU", "Compiler_Type": "LLVM", "Idx": 112341, "Length": 43, "Cover_Rate": 0.8113207547169812} {"Template_token": ["", "adjust", "::", "fixup_13_pcrel", "(", "Size", ",", "Fixup", ",", "Value", ",", "Ctx", ")", ";", "break", ";", "case", "", ":", "adjust", "::", "fixup_call", "(", "Size", ",", "Fixup", ",", "Value", ",", "Ctx", ")", ";", "break", ";", "case", "", ":", "adjust", "::", "", "(", "Size", ",", "Fixup", ",", "Value", ",", "Ctx", ")", ";", "break", ";", "case", "", ":", "adjust", "::", "", "(", "Size", ",", "Fixup", ",", "Value", ",", "Ctx", ")", ";", "break", ";", "case", "", ":", "case", "", ":", "adjust", "::", "pm", "(", "Value", ")", ";", "adjust", "::", "", "(", "Size", ",", "Fixup", ",", "Value", ",", "Ctx", ")", ";", "break", ";", "case", "", ":", "adjust", "::", "", "(", "Size", ",", "Fixup", ",", "Value", ",", "Ctx", ")", ";", "break", ";", "case", "", ":", "case", "", ":", "adjust", "::", "pm", "(", "Value", ")", ";", "adjust", "::", "", "(", "Size", ",", "Fixup", ",", "Value", ",", "Ctx", ")", ";", "break", ";", "case", "", ":", "case", "", ":", "if", "(", "Kind", "==", "", ")", "adjust", "::", "pm", "(", "Value", ")", ";", "adjust", "::", "", "(", "Size", ",", "Fixup", ",", "Value", ",", "Ctx", ")", ";", "break", ";", "case", "", ":", "adjust", "::", "", "(", "Size", ",", "Fixup", ",", "Value", ",", "Ctx", ")", ";", "break", ";", "case", "", ":", "case", "", ":", "if", "(", "Kind", "==", "", ")", "adjust", "::", "pm", "(", "Value", ")", ";", "adjust", "::", "", "(", "Value", ")", ";", "adjust", "::", "", "(", "Size", ",", "Fixup", ",", "Value", ",", "Ctx", ")", ";", "break", ";", "case", "", ":", "case", "", ":", "if", "(", "Kind", "==", "", ")", "adjust", "::", "pm", "(", "Value", ")", ";", "adjust", "::", "", "(", "Value", ")", ";", "adjust", "::", "", "(", "Size", ",", "Fixup", ",", "Value", ",", "Ctx", ")", ";", "break", ";"], "ground_truth": ["case", "", ":"], "File": "AVRAsmBackend", "Func": "adjustFixupValue", "Target": "AVR", "Target_Clf": "MPU", "Compiler_Type": "LLVM", "Idx": 112342, "Length": 280, "Cover_Rate": 0.3971631205673759} {"Template_token": ["", "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": "AVRAsmBackend", "Func": "applyFixup", "Target": "AVR", "Target_Clf": "MPU", "Compiler_Type": "LLVM", "Idx": 112344, "Length": 120, "Cover_Rate": 0.6521739130434783} {"Template_token": ["", "AsmBackend", "(", "Triple", "::", "OSType", "OSType", ")", ":", "MCAsmBackend", "(", "", ")", ",", "OSType", "(", "OSType", ")", "{"], "ground_truth": ["}"], "File": "AVRAsmBackend", "Func": "AVRAsmBackend", "Target": "AVR", "Target_Clf": "MPU", "Compiler_Type": "LLVM", "Idx": 112345, "Length": 19, "Cover_Rate": 0.9047619047619048} {"Template_token": ["", "AsmBackend", "(", "Triple", "::", "OSType", "OSType", ")", ":", "MCAsmBackend", "(", "", ")", ",", "OSType", "(", "OSType", ")", "{"], "ground_truth": ["}"], "File": "AVRAsmBackend", "Func": "AVRAsmBackend", "Target": "AVR", "Target_Clf": "MPU", "Compiler_Type": "LLVM", "Idx": 112346, "Length": 19, "Cover_Rate": 0.9047619047619048} {"Template_token": ["", "return", "new", "AsmBackend", "(", "STI", ".", "getTargetTriple", "(", ")", ".", "getOS", "(", ")", ")", ";"], "ground_truth": ["}"], "File": "AVRAsmBackend", "Func": "createAVRAsmBackend", "Target": "AVR", "Target_Clf": "MPU", "Compiler_Type": "LLVM", "Idx": 112347, "Length": 16, "Cover_Rate": 0.37209302325581395} {"Template_token": ["", "return", "new", "AsmBackend", "(", "STI", ".", "getTargetTriple", "(", ")", ".", "getOS", "(", ")", ")", ";"], "ground_truth": ["}"], "File": "AVRAsmBackend", "Func": "createAVRAsmBackend", "Target": "AVR", "Target_Clf": "MPU", "Compiler_Type": "LLVM", "Idx": 112348, "Length": 16, "Cover_Rate": 0.37209302325581395} {"Template_token": ["", "return", "createELFObjectWriter", "(", "MCELFObjectTargetWriter", "::", "getOSABI", "(", "OSType", ")", ")", ";"], "ground_truth": ["}"], "File": "AVRAsmBackend", "Func": "createObjectTargetWriter", "Target": "AVR", "Target_Clf": "MPU", "Compiler_Type": "LLVM", "Idx": 112350, "Length": 12, "Cover_Rate": 0.48} {"Template_token": ["", "uint64_t", "lower", "=", "Value", "&", "", ";", "Value", "=", "(", "upper", "<<", "", ")", "|", "lower", ";"], "ground_truth": ["}"], "File": "AVRAsmBackend", "Func": "fixup", "Target": "AVR", "Target_Clf": "MPU", "Compiler_Type": "LLVM", "Idx": 112351, "Length": 18, "Cover_Rate": 0.375} {"Template_token": ["", "uint64_t", "upper", "=", "Value", "&", "", ";", "uint64_t", "lower", "=", "Value", "&", "", ";", "Value", "=", "(", "upper", "<<", "", ")", "|", "lower", ";"], "ground_truth": ["}"], "File": "AVRAsmBackend", "Func": "fixup", "Target": "AVR", "Target_Clf": "MPU", "Compiler_Type": "LLVM", "Idx": 112352, "Length": 25, "Cover_Rate": 0.5208333333333334} {"Template_token": ["", "bool", "fixupNeedsRelaxation", "(", "const", "MCFixup", "&", "Fixup", ",", "uint64_t", "Value", ",", "const", "MCRelaxableFragment", "*", "DF", ",", "const", "MCAsmLayout", "&", "Layout", ")", "const", "override", "{", "llvm_unreachable", "(", "", ")", ";", "return", "false", ";"], "ground_truth": ["}"], "File": "AVRAsmBackend", "Func": "fixupNeedsRelaxation", "Target": "AVR", "Target_Clf": "MPU", "Compiler_Type": "LLVM", "Idx": 112353, "Length": 33, "Cover_Rate": 1.0} {"Template_token": ["", "adjustRelativeBranch", "(", "Size", ",", "Fixup", ",", "Value", ",", "Ctx", ")", ";"], "ground_truth": ["Value", "&=", "", ";"], "File": "AVRAsmBackend", "Func": "fixup_13_pcrel", "Target": "AVR", "Target_Clf": "MPU", "Compiler_Type": "LLVM", "Idx": 112355, "Length": 15, "Cover_Rate": 0.38461538461538464} {"Template_token": ["", "adjustRelativeBranch", "(", "Size", ",", "Fixup", ",", "Value", ",", "Ctx", ")", ";"], "ground_truth": ["Value", "&=", "", ";"], "File": "AVRAsmBackend", "Func": "fixup_7_pcrel", "Target": "AVR", "Target_Clf": "MPU", "Compiler_Type": "LLVM", "Idx": 112359, "Length": 15, "Cover_Rate": 0.38461538461538464} {"Template_token": ["", "static", "void", "fixup_7_pcrel", "(", "unsigned", "Size", ",", "const", "MCFixup", "&", "Fixup", ",", "uint64_t", "&", "Value", ",", "MCContext", "*", "Ctx", "=", "nullptr", ")", "{", "adjustRelativeBranch", "(", "Size", ",", "Fixup", ",", "Value", ",", "Ctx", ")", ";", "Value", "&=", "", ";"], "ground_truth": ["}"], "File": "AVRAsmBackend", "Func": "fixup_7_pcrel", "Target": "AVR", "Target_Clf": "MPU", "Compiler_Type": "LLVM", "Idx": 112360, "Length": 39, "Cover_Rate": 1.0} {"Template_token": ["", "auto", "top", "=", "Value", "&", "(", "", "<<", "", ")", ";", "auto", "middle", "=", "Value", "&", "(", "", "<<", "", ")", ";"], "ground_truth": ["auto", "bottom", "=", "Value", "&", "", ";"], "File": "AVRAsmBackend", "Func": "fixup_call", "Target": "AVR", "Target_Clf": "MPU", "Compiler_Type": "LLVM", "Idx": 112361, "Length": 29, "Cover_Rate": 0.34523809523809523} {"Template_token": ["", "static", "void", "fixup_port5", "(", "const", "MCFixup", "&", "Fixup", ",", "uint64_t", "&", "Value", ",", "MCContext", "*", "Ctx", "=", "nullptr", ")", "{", "unsigned_width", "(", "", ",", "Value", ",", "std", "::", "string", "(", "", ")", ",", "Fixup", ",", "Ctx", ")", ";", "Value", "&=", "", ";"], "ground_truth": ["Value", "<<=", "", ";"], "File": "AVRAsmBackend", "Func": "fixup_port5", "Target": "AVR", "Target_Clf": "MPU", "Compiler_Type": "LLVM", "Idx": 112362, "Length": 46, "Cover_Rate": 0.9787234042553191} {"Template_token": ["", "static", "void", "fixup_port6", "(", "const", "MCFixup", "&", "Fixup", ",", "uint64_t", "&", "Value", ",", "MCContext", "*", "Ctx", "=", "nullptr", ")", "{"], "ground_truth": ["unsigned_width", "(", "", ",", "Value", ",", "std", "::", "string", "(", "", ")", ",", "Fixup", ",", "Ctx", ")", ";"], "File": "AVRAsmBackend", "Func": "fixup_port6", "Target": "AVR", "Target_Clf": "MPU", "Compiler_Type": "LLVM", "Idx": 112364, "Length": 38, "Cover_Rate": 0.6666666666666666} {"Template_token": ["", "MCFixupKindInfo", "const", "&", "AsmBackend", "::", "getFixupKindInfo", "(", "MCFixupKind", "Kind", ")", "const", "{", "const", "static", "MCFixupKindInfo", "Infos", "[", "", "]", "=", "{", "{", "", ",", "", ",", "", ",", "", "}", ",", "{", "", ",", "", ",", "", ",", "MCFixupKindInfo", "::", "FKF_IsPCRel", "}", ",", "{", "", ",", "", ",", "", ",", "MCFixupKindInfo", "::", "FKF_IsPCRel", "}", ",", "{", "", ",", "", ",", "", ",", "", "}", ",", "{", "", ",", "", ",", "", ",", "", "}", ",", "{", "", ",", "", ",", "", ",", "", "}", ",", "{", "", ",", "", ",", "", ",", "", "}", ",", "{", "", ",", "", ",", "", ",", "", "}", ",", "{", "", ",", "", ",", "", ",", "", "}", ",", "{", "", ",", "", ",", "", ",", "", "}", ",", "{", "", ",", "", ",", "", ",", "", "}", ",", "{", "", ",", "", ",", "", ",", "", "}", ",", "{", "", ",", "", ",", "", ",", "", "}", ",", "{", "", ",", "", ",", "", ",", "", "}", ",", "{", "", ",", "", ",", "", ",", "", "}", ",", "{", "", ",", "", ",", "", ",", "", "}", ",", "{", "", ",", "", ",", "", ",", "", "}", ",", "{", "", ",", "", ",", "", ",", "", "}", ",", "{", "", ",", "", ",", "", ",", "", "}", ",", "{", "", ",", "", ",", "", ",", "", "}", ",", "{", "", ",", "", ",", "", ",", "", "}", ",", "{", "", ",", "", ",", "", ",", "", "}", ",", "{", "", ",", "", ",", "", ",", "", "}", ",", "{", "", ",", "", ",", "", ",", "", "}", ",", "{", "", ",", "", ",", "", ",", "", "}", ",", "{", "", ",", "", ",", "", ",", "", "}", ",", "{", "", ",", "", ",", "", ",", "", "}", ",", "{", "", ",", "", ",", "", ",", "", "}", ",", "{", "", ",", "", ",", "", ",", "", "}", ",", "{", "", ",", "", ",", "", ",", "", "}", ",", "{", "", ",", "", ",", "", ",", "", "}", ",", "{", "", ",", "", ",", "", ",", "", "}", ",", "{", "", ",", "", ",", "", ",", "", "}", ",", "{", "", ",", "", ",", "", ",", "", "}", ",", "{", "", ",", "", ",", "", ",", "", "}", ",", "}", ";"], "ground_truth": ["if", "(", "Kind", "<", "FirstTargetFixupKind", ")", "return", "MCAsmBackend", "::", "getFixupKindInfo", "(", "Kind", ")", ";"], "File": "AVRAsmBackend", "Func": "getFixupKindInfo", "Target": "AVR", "Target_Clf": "MPU", "Compiler_Type": "LLVM", "Idx": 112365, "Length": 391, "Cover_Rate": 0.9354066985645934} {"Template_token": ["", "{", "", ",", "", ",", "", ",", "", "}", ",", "{", "", ",", "", ",", "", ",", "MCFixupKindInfo", "::", "FKF_IsPCRel", "}", ",", "{", "", ",", "", ",", "", ",", "MCFixupKindInfo", "::", "FKF_IsPCRel", "}", ",", "{", "", ",", "", ",", "", ",", "", "}", ",", "{", "", ",", "", ",", "", ",", "", "}", ",", "{", "", ",", "", ",", "", ",", "", "}", ",", "{", "", ",", "", ",", "", ",", "", "}", ",", "{", "", ",", "", ",", "", ",", "", "}", ",", "{", "", ",", "", ",", "", ",", "", "}", ",", "{", "", ",", "", ",", "", ",", "", "}", ",", "{", "", ",", "", ",", "", ",", "", "}", ",", "{", "", ",", "", ",", "", ",", "", "}", ",", "{", "", ",", "", ",", "", ",", "", "}", ",", "{", "", ",", "", ",", "", ",", "", "}", ",", "{", "", ",", "", ",", "", ",", "", "}", ",", "{", "", ",", "", ",", "", ",", "", "}", ",", "{", "", ",", "", ",", "", ",", "", "}", ",", "{", "", ",", "", ",", "", ",", "", "}", ",", "{", "", ",", "", ",", "", ",", "", "}", ",", "{", "", ",", "", ",", "", ",", "", "}", ",", "{", "", ",", "", ",", "", ",", "", "}", ",", "{", "", ",", "", ",", "", ",", "", "}", ",", "{", "", ",", "", ",", "", ",", "", "}", ",", "{", "", ",", "", ",", "", ",", "", "}", ",", "{", "", ",", "", ",", "", ",", "", "}", ",", "{", "", ",", "", ",", "", ",", "", "}", ",", "{", "", ",", "", ",", "", ",", "", "}", ",", "{", "", ",", "", ",", "", ",", "", "}", ",", "{", "", ",", "", ",", "", ",", "", "}", ",", "{", "", ",", "", ",", "", ",", "", "}", ",", "{", "", ",", "", ",", "", ",", "", "}", ",", "{", "", ",", "", ",", "", ",", "", "}", ",", "{", "", ",", "", ",", "", ",", "", "}", ",", "{", "", ",", "", ",", "", ",", "", "}", ",", "{", "", ",", "", ",", "", ",", "", "}", ",", "}", ";", "if", "(", "Kind", "<", "FirstTargetFixupKind", ")", "return", "MCAsmBackend", "::", "getFixupKindInfo", "(", "Kind", ")", ";", "assert", "(", "unsigned", "(", "Kind", "-", "FirstTargetFixupKind", ")", "<", "getNumFixupKinds", "(", ")", "&&", "", ")", ";", "return", "Infos", "[", "Kind", "-", "FirstTargetFixupKind", "]", ";"], "ground_truth": ["}"], "File": "AVRAsmBackend", "Func": "getFixupKindInfo", "Target": "AVR", "Target_Clf": "MPU", "Compiler_Type": "LLVM", "Idx": 112366, "Length": 395, "Cover_Rate": 0.9449760765550239} {"Template_token": ["", "return", "", ";"], "ground_truth": ["}"], "File": "AVRAsmBackend", "Func": "getNumFixupKinds", "Target": "AVR", "Target_Clf": "MPU", "Compiler_Type": "LLVM", "Idx": 112367, "Length": 4, "Cover_Rate": 0.3076923076923077} {"Template_token": ["", "Value", "=", "(", "Value", "&", "", ")", ">>", "", ";"], "ground_truth": ["", "(", "Size", ",", "Fixup", ",", "Value", ",", "Ctx", ")", ";"], "File": "AVRAsmBackend", "Func": "hh8", "Target": "AVR", "Target_Clf": "MPU", "Compiler_Type": "LLVM", "Idx": 112368, "Length": 21, "Cover_Rate": 0.44680851063829785} {"Template_token": ["", "static", "void", "hi8", "(", "unsigned", "Size", ",", "const", "MCFixup", "&", "Fixup", ",", "uint64_t", "&", "Value", ",", "MCContext", "*", "Ctx", "=", "nullptr", ")", "{"], "ground_truth": ["Value", "=", "(", "Value", "&", "", ")", ">>", "", ";"], "File": "AVRAsmBackend", "Func": "hi8", "Target": "AVR", "Target_Clf": "MPU", "Compiler_Type": "LLVM", "Idx": 112369, "Length": 33, "Cover_Rate": 0.7021276595744681} {"Template_token": ["", "Value", "&=", "", ";"], "ground_truth": ["", "(", "Size", ",", "Fixup", ",", "Value", ",", "Ctx", ")", ";"], "File": "AVRAsmBackend", "Func": "lo8", "Target": "AVR", "Target_Clf": "MPU", "Compiler_Type": "LLVM", "Idx": 112371, "Length": 15, "Cover_Rate": 0.36585365853658536} {"Template_token": ["", "bool", "mayNeedRelaxation", "(", "const", "MCInst", "&", "Inst", ",", "const", "MCSubtargetInfo", "&", "STI", ")", "const", "override", "{", "return", "false", ";"], "ground_truth": ["}"], "File": "AVRAsmBackend", "Func": "mayNeedRelaxation", "Target": "AVR", "Target_Clf": "MPU", "Compiler_Type": "LLVM", "Idx": 112372, "Length": 20, "Cover_Rate": 1.0} {"Template_token": ["", "bool", "mayNeedRelaxation", "(", "const", "MCInst", "&", "Inst", ",", "const", "MCSubtargetInfo", "&", "STI", ")", "const", "override", "{", "return", "false", ";"], "ground_truth": ["}"], "File": "AVRAsmBackend", "Func": "mayNeedRelaxation", "Target": "AVR", "Target_Clf": "MPU", "Compiler_Type": "LLVM", "Idx": 112373, "Length": 20, "Cover_Rate": 1.0} {"Template_token": ["", "static", "void", "ms8", "(", "unsigned", "Size", ",", "const", "MCFixup", "&", "Fixup", ",", "uint64_t", "&", "Value", ",", "MCContext", "*", "Ctx", "=", "nullptr", ")", "{", "Value", "=", "(", "Value", "&", "", ")", ">>", "", ";"], "ground_truth": ["", "(", "Size", ",", "Fixup", ",", "Value", ",", "Ctx", ")", ";"], "File": "AVRAsmBackend", "Func": "ms8", "Target": "AVR", "Target_Clf": "MPU", "Compiler_Type": "LLVM", "Idx": 112375, "Length": 44, "Cover_Rate": 0.9361702127659575} {"Template_token": ["", "Value", "*=", "-", "", ";"], "ground_truth": ["}"], "File": "AVRAsmBackend", "Func": "neg", "Target": "AVR", "Target_Clf": "MPU", "Compiler_Type": "LLVM", "Idx": 112376, "Length": 6, "Cover_Rate": 0.4} {"Template_token": ["", "Value", "*=", "-", "", ";"], "ground_truth": ["}"], "File": "AVRAsmBackend", "Func": "neg", "Target": "AVR", "Target_Clf": "MPU", "Compiler_Type": "LLVM", "Idx": 112377, "Length": 6, "Cover_Rate": 0.4} {"Template_token": ["", "Value", ">>=", "", ";"], "ground_truth": ["}"], "File": "AVRAsmBackend", "Func": "pm", "Target": "AVR", "Target_Clf": "MPU", "Compiler_Type": "LLVM", "Idx": 112378, "Length": 5, "Cover_Rate": 0.35714285714285715} {"Template_token": ["", "static", "void", "pm", "(", "uint64_t", "&", "Value", ")", "{"], "ground_truth": ["Value", ">>=", "", ";"], "File": "AVRAsmBackend", "Func": "pm", "Target": "AVR", "Target_Clf": "MPU", "Compiler_Type": "LLVM", "Idx": 112379, "Length": 13, "Cover_Rate": 0.9285714285714286} {"Template_token": ["", "void", "relaxInstruction", "(", "const", "MCInst", "&", "Inst", ",", "const", "MCSubtargetInfo", "&", "STI", ",", "MCInst", "&", "Res", ")", "const", "override", "{"], "ground_truth": ["}"], "File": "AVRAsmBackend", "Func": "relaxInstruction", "Target": "AVR", "Target_Clf": "MPU", "Compiler_Type": "LLVM", "Idx": 112380, "Length": 21, "Cover_Rate": 1.0} {"Template_token": ["", "void", "relaxInstruction", "(", "const", "MCInst", "&", "Inst", ",", "const", "MCSubtargetInfo", "&", "STI", ",", "MCInst", "&", "Res", ")", "const", "override", "{"], "ground_truth": ["}"], "File": "AVRAsmBackend", "Func": "relaxInstruction", "Target": "AVR", "Target_Clf": "MPU", "Compiler_Type": "LLVM", "Idx": 112381, "Length": 21, "Cover_Rate": 1.0} {"Template_token": ["", "static", "void", "signed_width", "(", "unsigned", "Width", ",", "uint64_t", "Value", ",", "std", "::", "string", "Description", ",", "const", "MCFixup", "&", "Fixup", ",", "MCContext", "*", "Ctx", "=", "nullptr", ")", "{", "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": "AVRAsmBackend", "Func": "signed_width", "Target": "AVR", "Target_Clf": "MPU", "Compiler_Type": "LLVM", "Idx": 112382, "Length": 116, "Cover_Rate": 0.9830508474576272} {"Template_token": ["", "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", "{"], "ground_truth": ["llvm_unreachable", "(", "Diagnostic", ".", "c_str", "(", ")", ")", ";"], "File": "AVRAsmBackend", "Func": "signed_width", "Target": "AVR", "Target_Clf": "MPU", "Compiler_Type": "LLVM", "Idx": 112383, "Length": 77, "Cover_Rate": 0.652542372881356} {"Template_token": ["", "int64_t", "Max", "=", "maxUIntN", "(", "Width", ")", ";", "Diagnostic", "+=", "", "+", "std", "::", "to_string", "(", "Max", ")", "+", "", ";", "if", "(", "Ctx", ")", "{", "Ctx", "->", "reportFatalError", "(", "Fixup", ".", "getLoc", "(", ")", ",", "Diagnostic", ")", ";", "}", "else", "{", "llvm_unreachable", "(", "Diagnostic", ".", "c_str", "(", ")", ")", ";", "}", "}"], "ground_truth": ["}"], "File": "AVRAsmBackend", "Func": "unsigned_width", "Target": "AVR", "Target_Clf": "MPU", "Compiler_Type": "LLVM", "Idx": 112384, "Length": 54, "Cover_Rate": 0.5346534653465347} {"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", ")", "+", "", ";"], "ground_truth": ["if", "(", "Ctx", ")", "{"], "File": "AVRAsmBackend", "Func": "unsigned_width", "Target": "AVR", "Target_Clf": "MPU", "Compiler_Type": "LLVM", "Idx": 112385, "Length": 73, "Cover_Rate": 0.7227722772277227} {"Template_token": ["", "void", "addImmCom8Operands", "(", "MCInst", "&", "Inst", ",", "unsigned", "N", ")", "const", "{", "assert", "(", "N", "==", "", "&&", "", ")", ";"], "ground_truth": ["const", "auto", "*", "CE", "=", "cast", "<", "MCConstantExpr", ">", "(", "getImm", "(", ")", ")", ";"], "File": "AVRAsmParser10", "Func": "addImmCom8Operands", "Target": "AVR", "Target_Clf": "MPU", "Compiler_Type": "LLVM", "Idx": 112386, "Length": 36, "Cover_Rate": 0.631578947368421} {"Template_token": ["", "return", "End", ";"], "ground_truth": ["}"], "File": "AVRAsmParser10", "Func": "getEndLoc", "Target": "AVR", "Target_Clf": "MPU", "Compiler_Type": "LLVM", "Idx": 112388, "Length": 4, "Cover_Rate": 0.36363636363636365} {"Template_token": ["", "assert", "(", "(", "Kind", "==", "k_Register", "||", "Kind", "==", "k_Memri", ")", "&&", "", ")", ";", "return", "RegImm", ".", "Reg", ";"], "ground_truth": ["}"], "File": "AVRAsmParser10", "Func": "getReg", "Target": "AVR", "Target_Clf": "MPU", "Compiler_Type": "LLVM", "Idx": 112390, "Length": 21, "Cover_Rate": 0.75} {"Template_token": ["", "bool", "isImm", "(", ")", "const", "override", "{", "return", "Kind", "==", "k_Immediate", ";"], "ground_truth": ["}"], "File": "AVRAsmParser10", "Func": "isImm", "Target": "AVR", "Target_Clf": "MPU", "Compiler_Type": "LLVM", "Idx": 112393, "Length": 13, "Cover_Rate": 1.0} {"Template_token": ["", "if", "(", "!", "isImm", "(", ")", ")", "return", "false", ";", "const", "auto", "*", "CE", "=", "dyn_cast", "<", "MCConstantExpr", ">", "(", "getImm", "(", ")", ")", ";"], "ground_truth": ["if", "(", "!", "CE", ")", "return", "false", ";"], "File": "AVRAsmParser10", "Func": "isImmCom8", "Target": "AVR", "Target_Clf": "MPU", "Compiler_Type": "LLVM", "Idx": 112395, "Length": 33, "Cover_Rate": 0.5689655172413793} {"Template_token": ["", "bool", "isImmCom8", "(", ")", "const", "{", "if", "(", "!", "isImm", "(", ")", ")", "return", "false", ";", "const", "auto", "*", "CE", "=", "dyn_cast", "<", "MCConstantExpr", ">", "(", "getImm", "(", ")", ")", ";", "if", "(", "!", "CE", ")", "return", "false", ";", "int64_t", "Value", "=", "CE", "->", "getValue", "(", ")", ";"], "ground_truth": ["return", "isUInt", "<", "", ">", "(", "Value", ")", ";"], "File": "AVRAsmParser10", "Func": "isImmCom8", "Target": "AVR", "Target_Clf": "MPU", "Compiler_Type": "LLVM", "Idx": 112396, "Length": 57, "Cover_Rate": 0.9827586206896551} {"Template_token": ["", "return", "Kind", "==", "k_Memri", ";"], "ground_truth": ["}"], "File": "AVRAsmParser10", "Func": "isMem", "Target": "AVR", "Target_Clf": "MPU", "Compiler_Type": "LLVM", "Idx": 112398, "Length": 6, "Cover_Rate": 0.46153846153846156} {"Template_token": ["", "bool", "isReg", "(", ")", "const", "override", "{"], "ground_truth": ["return", "Kind", "==", "k_Register", ";"], "File": "AVRAsmParser10", "Func": "isReg", "Target": "AVR", "Target_Clf": "MPU", "Compiler_Type": "LLVM", "Idx": 112399, "Length": 12, "Cover_Rate": 0.9230769230769231} {"Template_token": ["", "bool", "isToken", "(", ")", "const", "override", "{"], "ground_truth": ["return", "Kind", "==", "k_Token", ";"], "File": "AVRAsmParser10", "Func": "isToken", "Target": "AVR", "Target_Clf": "MPU", "Compiler_Type": "LLVM", "Idx": 112401, "Length": 12, "Cover_Rate": 0.9230769230769231} {"Template_token": ["", "bool", "isToken", "(", ")", "const", "override", "{", "return", "Kind", "==", "k_Token", ";"], "ground_truth": ["}"], "File": "AVRAsmParser10", "Func": "isToken", "Target": "AVR", "Target_Clf": "MPU", "Compiler_Type": "LLVM", "Idx": 112402, "Length": 13, "Cover_Rate": 1.0} {"Template_token": ["", "void", "print", "(", "raw_ostream", "&", "O", ")", "const", "override", "{", "switch", "(", "Kind", ")", "{", "case", "k_Token", ":", "O", "<<", "", "<<", "getToken", "(", ")", "<<", "", ";", "break", ";", "case", "k_Register", ":", "O", "<<", "", "<<", "getReg", "(", ")", ";", "break", ";", "case", "k_Immediate", ":"], "ground_truth": ["O", "<<", "", "<<", "*", "getImm", "(", ")", "<<", "", ";"], "File": "AVRAsmParser10", "Func": "print", "Target": "AVR", "Target_Clf": "MPU", "Compiler_Type": "LLVM", "Idx": 112403, "Length": 57, "Cover_Rate": 0.6404494382022472} {"Template_token": ["", "LLVM_FALLTHROUGH", ";", "case", "AsmToken", "::", "LParen", ":", "case", "AsmToken", "::", "Integer", ":", "case", "AsmToken", "::", "Dot", ":", "return", "tryParseExpression", "(", "Operands", ")", ";", "case", "AsmToken", "::", "Plus", ":", "case", "AsmToken", "::", "Minus", ":", "{", "switch", "(", "getLexer", "(", ")", ".", "peekTok", "(", ")", ".", "getKind", "(", ")", ")", "{", "case", "AsmToken", "::", "Integer", ":", "case", "AsmToken", "::", "BigNum", ":", "case", "AsmToken", "::", "Identifier", ":"], "ground_truth": ["case", "AsmToken", "::", "Real", ":"], "File": "AVRAsmParser12", "Func": "parseOperand", "Target": "AVR", "Target_Clf": "MPU", "Compiler_Type": "LLVM", "Idx": 112404, "Length": 69, "Cover_Rate": 0.3520408163265306} {"Template_token": ["", "bool", "AsmParser", "::", "parseOperand", "(", "OperandVector", "&", "Operands", ")", "{", "DEBUG", "(", "dbgs", "(", ")", "<<", "", ")", ";", "switch", "(", "getLexer", "(", ")", ".", "getKind", "(", ")", ")", "{", "default", ":", "return", "Error", "(", "Parser", ".", "getTok", "(", ")", ".", "getLoc", "(", ")", ",", "", ")", ";", "case", "AsmToken", "::", "Identifier", ":", "if", "(", "!", "tryParseRegisterOperand", "(", "Operands", ")", ")", "{", "return", "false", ";", "}", "LLVM_FALLTHROUGH", ";", "case", "AsmToken", "::", "LParen", ":"], "ground_truth": ["case", "AsmToken", "::", "Integer", ":"], "File": "AVRAsmParser12", "Func": "parseOperand", "Target": "AVR", "Target_Clf": "MPU", "Compiler_Type": "LLVM", "Idx": 112405, "Length": 78, "Cover_Rate": 0.3979591836734694} {"Template_token": ["", "}", "StringRef", "ModifierName", "=", "Parser", ".", "getTok", "(", ")", ".", "getString", "(", ")", ";", "ModifierKind", "=", "MCExpr", "::", "getKindByName", "(", "ModifierName", ")", ";", "if", "(", "ModifierKind", "!=", "MCExpr", "::", "VK__None", ")", "{", "Parser", ".", "Lex", "(", ")", ";", "Parser", ".", "Lex", "(", ")", ";", "if", "(", "Parser", ".", "getTok", "(", ")", ".", "getString", "(", ")", "==", "GENERATE_STUBS", "&&", "Parser", ".", "getTok", "(", ")", ".", "getKind", "(", ")", "==", "AsmToken", "::", "Identifier", ")", "{", "std", "::", "string", "GSModName", "=", "ModifierName", ".", "str", "(", ")", "+", "", "+", "GENERATE_STUBS", ";", "ModifierKind", "=", "MCExpr", "::", "getKindByName", "(", "GSModName", ")", ";", "if", "(", "ModifierKind", "!=", "MCExpr", "::", "VK__None", ")", "Parser", ".", "Lex", "(", ")", ";", "}", "}", "else", "{", "return", "Error", "(", "Parser", ".", "getTok", "(", ")", ".", "getLoc", "(", ")", ",", "", ")", ";", "}", "if", "(", "tokens", "[", "", "]", ".", "getKind", "(", ")", "==", "AsmToken", "::", "Minus", "||", "tokens", "[", "", "]", ".", "getKind", "(", ")", "==", "AsmToken", "::", "Plus", ")", "{", "Parser", ".", "Lex", "(", ")", ";", "assert", "(", "Parser", ".", "getTok", "(", ")", ".", "getKind", "(", ")", "==", "AsmToken", "::", "LParen", ")", ";", "Parser", ".", "Lex", "(", ")", ";", "}", "MCExpr", "const", "*", "InnerExpression", ";", "if", "(", "getParser", "(", ")", ".", "parseExpression", "(", "InnerExpression", ")", ")", "return", "true", ";", "if", "(", "tokens", "[", "", "]", ".", "getKind", "(", ")", "==", "AsmToken", "::", "Minus", "||", "tokens", "[", "", "]", ".", "getKind", "(", ")", "==", "AsmToken", "::", "Plus", ")", "{", "assert", "(", "Parser", ".", "getTok", "(", ")", ".", "getKind", "(", ")", "==", "AsmToken", "::", "RParen", ")", ";", "Parser", ".", "Lex", "(", ")", ";", "}", "assert", "(", "Parser", ".", "getTok", "(", ")", ".", "getKind", "(", ")", "==", "AsmToken", "::", "RParen", ")", ";", "Parser", ".", "Lex", "(", ")", ";", "MCExpr", "const", "*", "Expression", "=", "MCExpr", "::", "create", "(", "ModifierKind", ",", "InnerExpression", ",", "isNegated", ",", "getContext", "(", ")", ")", ";", "SMLoc", "E", "=", "SMLoc", "::", "getFromPointer", "(", "Parser", ".", "getTok", "(", ")", ".", "getLoc", "(", ")", ".", "getPointer", "(", ")", "-", "", ")", ";", "Operands", ".", "push_back", "(", "", "(", "Expression", ",", "S", ",", "E", ")", ")", ";"], "ground_truth": ["return", "false", ";"], "File": "AVRAsmParser13", "Func": "tryParseRelocExpression", "Target": "AVR", "Target_Clf": "MPU", "Compiler_Type": "LLVM", "Idx": 112406, "Length": 347, "Cover_Rate": 0.5871404399323181} {"Template_token": ["", "std", "::", "ostringstream", "RegName", ";", "RegName", "<<", "", "<<", "RegNum", ";", "RegNum", "=", "MatchRegisterName", "(", "RegName", ".", "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", ")", ";", "return", "validateOperandClass", "(", "Op", ",", "Expected", ")", ";", "}", "}"], "ground_truth": ["}"], "File": "AVRAsmParser13", "Func": "validateTargetOperandClass", "Target": "AVR", "Target_Clf": "MPU", "Compiler_Type": "LLVM", "Idx": 112407, "Length": 111, "Cover_Rate": 0.5721649484536082} {"Template_token": ["", "if", "(", "ReadCount", "==", "", "&&", "Parser", ".", "getTok", "(", ")", ".", "getKind", "(", ")", "==", "AsmToken", "::", "Identifier", "&&", "Tokens", "[", "", "]", ".", "getKind", "(", ")", "==", "AsmToken", "::", "Minus", "&&", "Tokens", "[", "", "]", ".", "getKind", "(", ")", "==", "AsmToken", "::", "Identifier", ")", "{", "MCSymbol", "*", "Symbol", "=", "getContext", "(", ")", ".", "getOrCreateSymbol", "(", "", ")", ";", "Streamer", ".", "EmitValueForModiferKind", "(", "Symbol", ",", "SizeInBytes", ",", "L", ",", "MCExpr", "::", "VK__None", ")", ";", "return", "false", ";", "}", "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", ";", "}", "auto", "parseOne", "=", "[", "&", "]", "(", ")", "->", "bool", "{", "const", "MCExpr", "*", "Value", ";", "if", "(", "Parser", ".", "parseExpression", "(", "Value", ")", ")", "return", "true", ";", "Parser", ".", "getStreamer", "(", ")", ".", "EmitValue", "(", "Value", ",", "SizeInBytes", ",", "L", ")", ";", "return", "false", ";", "}", ";"], "ground_truth": ["return", "(", "parseMany", "(", "parseOne", ")", ")", ";"], "File": "AVRAsmParser15", "Func": "parseLiteralValues", "Target": "AVR", "Target_Clf": "MPU", "Compiler_Type": "LLVM", "Idx": 112408, "Length": 282, "Cover_Rate": 0.8294117647058824} {"Template_token": ["", "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", ";", "}", "auto", "parseOne", "=", "[", "&", "]", "(", ")", "->", "bool", "{"], "ground_truth": ["const", "MCExpr", "*", "Value", ";"], "File": "AVRAsmParser15", "Func": "parseLiteralValues", "Target": "AVR", "Target_Clf": "MPU", "Compiler_Type": "LLVM", "Idx": 112409, "Length": 128, "Cover_Rate": 0.3764705882352941} {"Template_token": ["", "Operand", "(", "unsigned", "Reg", ",", "MCExpr", "const", "*", "Imm", ",", "SMLoc", "const", "&", "S", ",", "SMLoc", "const", "&", "E", ")", ":", "Kind", "(", "k_Memri", ")", ",", "RegImm", "(", "{"], "ground_truth": ["Reg", ",", "Imm", ")", ",", "Start", "(", "S", ")", ",", "End", "(", "E", ")", "{"], "File": "AVRAsmParser19", "Func": "AVROperand", "Target": "AVR", "Target_Clf": "MPU", "Compiler_Type": "LLVM", "Idx": 112410, "Length": 44, "Cover_Rate": 0.9777777777777777} {"Template_token": ["", "SMLoc", "ErrorLoc", "=", "Loc", ";", "char", "const", "*", "Diag", "=", "nullptr", ";", "if", "(", "ErrorInfo", "!=", "~", "", ")", "{", "if", "(", "ErrorInfo", ">=", "Operands", ".", "size", "(", ")", ")", "{", "Diag", "=", "", ";", "}", "else", "{", "Operand", "const", "&", "Op", "=", "(", "Operand", "const", "&", ")", "*", "Operands", "[", "ErrorInfo", "]", ";"], "ground_truth": ["if", "(", "Op", ".", "getStartLoc", "(", ")", "!=", "SMLoc", "(", ")", ")", "{"], "File": "AVRAsmParser19", "Func": "invalidOperand", "Target": "AVR", "Target_Clf": "MPU", "Compiler_Type": "LLVM", "Idx": 112412, "Length": 67, "Cover_Rate": 0.5630252100840336} {"Template_token": ["", "if", "(", "ErrorInfo", "!=", "~", "", ")", "{", "if", "(", "ErrorInfo", ">=", "Operands", ".", "size", "(", ")", ")", "{", "Diag", "=", "", ";", "}", "else", "{", "Operand", "const", "&", "Op", "=", "(", "Operand", "const", "&", ")", "*", "Operands", "[", "ErrorInfo", "]", ";"], "ground_truth": ["if", "(", "Op", ".", "getStartLoc", "(", ")", "!=", "SMLoc", "(", ")", ")", "{"], "File": "AVRAsmParser19", "Func": "invalidOperand", "Target": "AVR", "Target_Clf": "MPU", "Compiler_Type": "LLVM", "Idx": 112413, "Length": 55, "Cover_Rate": 0.46218487394957986} {"Template_token": ["", "MCAsmParserExtension", "::", "Initialize", "(", "Parser", ")", ";", "MRI", "=", "getContext", "(", ")", ".", "getRegisterInfo", "(", ")", ";"], "ground_truth": ["setAvailableFeatures", "(", "ComputeAvailableFeatures", "(", "STI", ".", "getFeatureBits", "(", ")", ")", ")", ";"], "File": "AVRAsmParser1", "Func": "AVRAsmParser", "Target": "AVR", "Target_Clf": "MPU", "Compiler_Type": "LLVM", "Idx": 112414, "Length": 29, "Cover_Rate": 0.42028985507246375} {"Template_token": ["", "MRI", "=", "getContext", "(", ")", ".", "getRegisterInfo", "(", ")", ";", "setAvailableFeatures", "(", "ComputeAvailableFeatures", "(", "STI", ".", "getFeatureBits", "(", ")", ")", ")", ";"], "ground_truth": ["}"], "File": "AVRAsmParser1", "Func": "AVRAsmParser", "Target": "AVR", "Target_Clf": "MPU", "Compiler_Type": "LLVM", "Idx": 112415, "Length": 23, "Cover_Rate": 0.3333333333333333} {"Template_token": ["", "static", "std", "::", "unique_ptr", "<", "Operand", ">", "CreateImm", "(", "const", "MCExpr", "*", "Val", ",", "SMLoc", "S", ",", "SMLoc", "E", ")", "{", "return", "make_unique", "<", "Operand", ">", "(", "Val", ",", "S", ",", "E", ")", ";"], "ground_truth": ["}"], "File": "AVRAsmParser1", "Func": "CreateImm", "Target": "AVR", "Target_Clf": "MPU", "Compiler_Type": "LLVM", "Idx": 112417, "Length": 35, "Cover_Rate": 1.0} {"Template_token": ["", "return", "make_unique", "<", "Operand", ">", "(", "RegNum", ",", "Val", ",", "S", ",", "E", ")", ";"], "ground_truth": ["}"], "File": "AVRAsmParser1", "Func": "CreateMemri", "Target": "AVR", "Target_Clf": "MPU", "Compiler_Type": "LLVM", "Idx": 112418, "Length": 16, "Cover_Rate": 0.4} {"Template_token": ["", "static", "std", "::", "unique_ptr", "<", "Operand", ">", "CreateMemri", "(", "unsigned", "RegNum", ",", "const", "MCExpr", "*", "Val", ",", "SMLoc", "S", ",", "SMLoc", "E", ")", "{"], "ground_truth": ["return", "make_unique", "<", "Operand", ">", "(", "RegNum", ",", "Val", ",", "S", ",", "E", ")", ";"], "File": "AVRAsmParser1", "Func": "CreateMemri", "Target": "AVR", "Target_Clf": "MPU", "Compiler_Type": "LLVM", "Idx": 112419, "Length": 39, "Cover_Rate": 0.975} {"Template_token": ["", "static", "std", "::", "unique_ptr", "<", "Operand", ">", "CreateToken", "(", "StringRef", "Str", ",", "SMLoc", "S", ")", "{"], "ground_truth": ["return", "make_unique", "<", "Operand", ">", "(", "Str", ",", "S", ")", ";"], "File": "AVRAsmParser1", "Func": "CreateToken", "Target": "AVR", "Target_Clf": "MPU", "Compiler_Type": "LLVM", "Idx": 112422, "Length": 27, "Cover_Rate": 0.9642857142857143} {"Template_token": ["", "static", "std", "::", "unique_ptr", "<", "Operand", ">", "CreateToken", "(", "StringRef", "Str", ",", "SMLoc", "S", ")", "{", "return", "make_unique", "<", "Operand", ">", "(", "Str", ",", "S", ")", ";"], "ground_truth": ["}"], "File": "AVRAsmParser1", "Func": "CreateToken", "Target": "AVR", "Target_Clf": "MPU", "Compiler_Type": "LLVM", "Idx": 112423, "Length": 28, "Cover_Rate": 1.0} {"Template_token": ["", "Out", ".", "EmitInstruction", "(", "Inst", ",", "STI", ")", ";", "return", "false", ";"], "ground_truth": ["}"], "File": "AVRAsmParser1", "Func": "emit", "Target": "AVR", "Target_Clf": "MPU", "Compiler_Type": "LLVM", "Idx": 112424, "Length": 13, "Cover_Rate": 0.325} {"Template_token": ["", "void", "LLVMInitializeAsmParser", "(", ")", "{", "RegisterMCAsmParser", "<", "AsmParser", ">", "X", "(", "getTheTarget", "(", ")", ")", ";"], "ground_truth": ["}"], "File": "AVRAsmParser1", "Func": "LLVMInitializeAVRAsmParser", "Target": "AVR", "Target_Clf": "MPU", "Compiler_Type": "LLVM", "Idx": 112425, "Length": 17, "Cover_Rate": 1.0} {"Template_token": ["", "void", "LLVMInitializeAsmParser", "(", ")", "{", "RegisterMCAsmParser", "<", "AsmParser", ">", "X", "(", "getTheTarget", "(", ")", ")", ";"], "ground_truth": ["}"], "File": "AVRAsmParser1", "Func": "LLVMInitializeAVRAsmParser", "Target": "AVR", "Target_Clf": "MPU", "Compiler_Type": "LLVM", "Idx": 112426, "Length": 17, "Cover_Rate": 1.0} {"Template_token": ["", "bool", "AsmParser", "::", "ParseDirective", "(", "llvm", "::", "AsmToken", "DirectiveID", ")", "{", "return", "true", ";"], "ground_truth": ["}"], "File": "AVRAsmParser1", "Func": "ParseDirective", "Target": "AVR", "Target_Clf": "MPU", "Compiler_Type": "LLVM", "Idx": 112427, "Length": 15, "Cover_Rate": 1.0} {"Template_token": ["", "OperandMatchResultTy", "AsmParser", "::", "parseMemriOperand", "(", "OperandVector", "&", "Operands", ")", "{", "DEBUG", "(", "dbgs", "(", ")", "<<", "", ")", ";", "SMLoc", "E", ",", "S", ";", "MCExpr", "const", "*", "Expression", ";", "int", "RegNo", ";", "{", "RegNo", "=", "parseRegister", "(", ")", ";", "if", "(", "RegNo", "==", "", ")", "return", "MatchOperand_ParseFail", ";", "S", "=", "SMLoc", "::", "getFromPointer", "(", "Parser", ".", "getTok", "(", ")", ".", "getLoc", "(", ")", ".", "getPointer", "(", ")", "-", "", ")", ";", "Parser", ".", "Lex", "(", ")", ";", "}"], "ground_truth": ["{"], "File": "AVRAsmParser1", "Func": "parseMemriOperand", "Target": "AVR", "Target_Clf": "MPU", "Compiler_Type": "LLVM", "Idx": 112429, "Length": 79, "Cover_Rate": 0.5602836879432624} {"Template_token": ["", "DEBUG", "(", "dbgs", "(", ")", "<<", "", ")", ";", "SMLoc", "E", ",", "S", ";", "MCExpr", "const", "*", "Expression", ";", "int", "RegNo", ";", "{", "RegNo", "=", "parseRegister", "(", ")", ";", "if", "(", "RegNo", "==", "", ")", "return", "MatchOperand_ParseFail", ";", "S", "=", "SMLoc", "::", "getFromPointer", "(", "Parser", ".", "getTok", "(", ")", ".", "getLoc", "(", ")", ".", "getPointer", "(", ")", "-", "", ")", ";", "Parser", ".", "Lex", "(", ")", ";", "}", "{", "if", "(", "getParser", "(", ")", ".", "parseExpression", "(", "Expression", ")", ")", "return", "MatchOperand_ParseFail", ";", "E", "=", "SMLoc", "::", "getFromPointer", "(", "Parser", ".", "getTok", "(", ")", ".", "getLoc", "(", ")", ".", "getPointer", "(", ")", "-", "", ")", ";", "}"], "ground_truth": ["Operands", ".", "push_back", "(", "", "(", "RegNo", ",", "Expression", ",", "S", ",", "E", ")", ")", ";"], "File": "AVRAsmParser1", "Func": "parseMemriOperand", "Target": "AVR", "Target_Clf": "MPU", "Compiler_Type": "LLVM", "Idx": 112430, "Length": 123, "Cover_Rate": 0.8723404255319149} {"Template_token": ["", "RegNo", "=", "parseRegister", "(", ")", ";"], "ground_truth": ["EndLoc", "=", "Parser", ".", "getTok", "(", ")", ".", "getLoc", "(", ")", ";"], "File": "AVRAsmParser1", "Func": "parseRegister", "Target": "AVR", "Target_Clf": "MPU", "Compiler_Type": "LLVM", "Idx": 112431, "Length": 18, "Cover_Rate": 0.3103448275862069} {"Template_token": ["", "StartLoc", "=", "Parser", ".", "getTok", "(", ")", ".", "getLoc", "(", ")", ";", "RegNo", "=", "parseRegister", "(", ")", ";", "EndLoc", "=", "Parser", ".", "getTok", "(", ")", ".", "getLoc", "(", ")", ";", "return", "(", "RegNo", "==", "", ")", ";"], "ground_truth": ["}"], "File": "AVRAsmParser1", "Func": "parseRegister", "Target": "AVR", "Target_Clf": "MPU", "Compiler_Type": "LLVM", "Idx": 112432, "Length": 38, "Cover_Rate": 0.6551724137931034} {"Template_token": ["", "return", "Error", "(", "Parser", ".", "getTok", "(", ")", ".", "getLoc", "(", ")", ",", "", ")", ";", "}", "MCExpr", "const", "*", "InnerExpression", ";", "if", "(", "getParser", "(", ")", ".", "parseExpression", "(", "InnerExpression", ")", ")", "return", "true", ";", "assert", "(", "Parser", ".", "getTok", "(", ")", ".", "getKind", "(", ")", "==", "AsmToken", "::", "RParen", ")", ";", "Parser", ".", "Lex", "(", ")", ";", "MCExpr", "const", "*", "Expression", "=", "MCExpr", "::", "create", "(", "ModifierKind", ",", "InnerExpression", ",", "isNegated", ",", "getContext", "(", ")", ")", ";", "SMLoc", "E", "=", "SMLoc", "::", "getFromPointer", "(", "Parser", ".", "getTok", "(", ")", ".", "getLoc", "(", ")", ".", "getPointer", "(", ")", "-", "", ")", ";", "Operands", ".", "push_back", "(", "", "(", "Expression", ",", "S", ",", "E", ")", ")", ";"], "ground_truth": ["return", "false", ";"], "File": "AVRAsmParser1", "Func": "tryParseRelocExpression", "Target": "AVR", "Target_Clf": "MPU", "Compiler_Type": "LLVM", "Idx": 112433, "Length": 120, "Cover_Rate": 0.3314917127071823} {"Template_token": ["", "unsigned", "MatchResult", "=", "MatchInstructionImpl", "(", "Operands", ",", "Inst", ",", "ErrorInfo", ",", "MatchingInlineAsm", ")", ";", "switch", "(", "MatchResult", ")", "{", "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", ":"], "ground_truth": ["return", "Error", "(", "Loc", ",", "", ")", ";"], "File": "AVRAsmParser5", "Func": "MatchAndEmitInstruction", "Target": "AVR", "Target_Clf": "MPU", "Compiler_Type": "LLVM", "Idx": 112434, "Length": 67, "Cover_Rate": 0.5775862068965517} {"Template_token": ["", "AsmToken", "const", "&", "T", "=", "Parser", ".", "getTok", "(", ")", ";", "Operands", ".", "push_back", "(", "", "(", "RegNo", ",", "T", ".", "getLoc", "(", ")", ",", "T", ".", "getEndLoc", "(", ")", ")", ")", ";", "Parser", ".", "Lex", "(", ")", ";", "return", "false", ";"], "ground_truth": ["}"], "File": "AVRAsmParser5", "Func": "tryParseRegisterOperand", "Target": "AVR", "Target_Clf": "MPU", "Compiler_Type": "LLVM", "Idx": 112435, "Length": 43, "Cover_Rate": 0.38392857142857145} {"Template_token": ["", "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", ":", "{", "switch", "(", "getLexer", "(", ")", ".", "peekTok", "(", ")", ".", "getKind", "(", ")", ")", "{", "case", "AsmToken", "::", "Integer", ":", "case", "AsmToken", "::", "BigNum", ":", "case", "AsmToken", "::", "Identifier", ":"], "ground_truth": ["case", "AsmToken", "::", "Real", ":"], "File": "AVRAsmParser8", "Func": "parseOperand", "Target": "AVR", "Target_Clf": "MPU", "Compiler_Type": "LLVM", "Idx": 112436, "Length": 105, "Cover_Rate": 0.5357142857142857} {"Template_token": ["", "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", ":", "{", "switch", "(", "getLexer", "(", ")", ".", "peekTok", "(", ")", ".", "getKind", "(", ")", ")", "{", "case", "AsmToken", "::", "Integer", ":", "case", "AsmToken", "::", "BigNum", ":", "case", "AsmToken", "::", "Identifier", ":", "case", "AsmToken", "::", "Real", ":", "if", "(", "!", "tryParseExpression", "(", "Operands", ")", ")", "return", "false", ";", "default", ":", "break", ";", "}"], "ground_truth": ["Operands", ".", "push_back", "(", "", "(", "Parser", ".", "getTok", "(", ")", ".", "getString", "(", ")", ",", "Parser", ".", "getTok", "(", ")", ".", "getLoc", "(", ")", ")", ")", ";"], "File": "AVRAsmParser8", "Func": "parseOperand", "Target": "AVR", "Target_Clf": "MPU", "Compiler_Type": "LLVM", "Idx": 112437, "Length": 147, "Cover_Rate": 0.75} {"Template_token": ["", "void", "addExpr", "(", "MCInst", "&", "Inst", ",", "const", "MCExpr", "*", "Expr", ")", "const", "{", "if", "(", "!", "Expr", ")", "Inst", ".", "addOperand", "(", "MCOperand", "::", "createImm", "(", "", ")", ")", ";"], "ground_truth": ["else", "if", "(", "const", "MCConstantExpr", "*", "CE", "=", "dyn_cast", "<", "MCConstantExpr", ">", "(", "Expr", ")", ")", "Inst", ".", "addOperand", "(", "MCOperand", "::", "createImm", "(", "CE", "->", "getValue", "(", ")", ")", ")", ";"], "File": "AVRAsmParser", "Func": "addExpr", "Target": "AVR", "Target_Clf": "MPU", "Compiler_Type": "LLVM", "Idx": 112438, "Length": 63, "Cover_Rate": 0.8181818181818182} {"Template_token": ["", "const", "MCConstantExpr", "*", "CE", "=", "dyn_cast", "<", "MCConstantExpr", ">", "(", "getImm", "(", ")", ")", ";", "Inst", ".", "addOperand", "(", "MCOperand", "::", "createImm", "(", "~", "(", "uint8_t", ")", "CE", "->", "getValue", "(", ")", ")", ")", ";"], "ground_truth": ["}"], "File": "AVRAsmParser", "Func": "addImmCom8Operands", "Target": "AVR", "Target_Clf": "MPU", "Compiler_Type": "LLVM", "Idx": 112439, "Length": 36, "Cover_Rate": 0.631578947368421} {"Template_token": ["", "assert", "(", "N", "==", "", "&&", "", ")", ";"], "ground_truth": ["const", "MCExpr", "*", "Expr", "=", "getImm", "(", ")", ";"], "File": "AVRAsmParser", "Func": "addImmOperands", "Target": "AVR", "Target_Clf": "MPU", "Compiler_Type": "LLVM", "Idx": 112440, "Length": 18, "Cover_Rate": 0.3829787234042553} {"Template_token": ["", "assert", "(", "N", "==", "", "&&", "", ")", ";"], "ground_truth": ["Inst", ".", "addOperand", "(", "MCOperand", "::", "createReg", "(", "getReg", "(", ")", ")", ")", ";"], "File": "AVRAsmParser", "Func": "addMemriOperands", "Target": "AVR", "Target_Clf": "MPU", "Compiler_Type": "LLVM", "Idx": 112441, "Length": 23, "Cover_Rate": 0.42592592592592593} {"Template_token": ["", "Inst", ".", "addOperand", "(", "MCOperand", "::", "createReg", "(", "getReg", "(", ")", ")", ")", ";"], "ground_truth": ["}"], "File": "AVRAsmParser", "Func": "addRegOperands", "Target": "AVR", "Target_Clf": "MPU", "Compiler_Type": "LLVM", "Idx": 112442, "Length": 15, "Cover_Rate": 0.3333333333333333} {"Template_token": ["", "assert", "(", "N", "==", "", "&&", "", ")", ";"], "ground_truth": ["Inst", ".", "addOperand", "(", "MCOperand", "::", "createReg", "(", "getReg", "(", ")", ")", ")", ";"], "File": "AVRAsmParser", "Func": "addRegOperands", "Target": "AVR", "Target_Clf": "MPU", "Compiler_Type": "LLVM", "Idx": 112443, "Length": 23, "Cover_Rate": 0.5111111111111111} {"Template_token": ["", "MCAsmParserExtension", "::", "Initialize", "(", "Parser", ")", ";", "MRI", "=", "getContext", "(", ")", ".", "getRegisterInfo", "(", ")", ";", "setAvailableFeatures", "(", "ComputeAvailableFeatures", "(", "STI", ".", "getFeatureBits", "(", ")", ")", ")", ";"], "ground_truth": ["}"], "File": "AVRAsmParser", "Func": "AVRAsmParser", "Target": "AVR", "Target_Clf": "MPU", "Compiler_Type": "LLVM", "Idx": 112444, "Length": 30, "Cover_Rate": 0.4225352112676056} {"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": "AVRAsmParser", "Func": "CreateImm", "Target": "AVR", "Target_Clf": "MPU", "Compiler_Type": "LLVM", "Idx": 112447, "Length": 36, "Cover_Rate": 0.972972972972973} {"Template_token": ["", "return", "std", "::", "make_unique", "<", "Operand", ">", "(", "Val", ",", "S", ",", "E", ")", ";"], "ground_truth": ["}"], "File": "AVRAsmParser", "Func": "CreateImm", "Target": "AVR", "Target_Clf": "MPU", "Compiler_Type": "LLVM", "Idx": 112448, "Length": 16, "Cover_Rate": 0.43243243243243246} {"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": "AVRAsmParser", "Func": "CreateMemri", "Target": "AVR", "Target_Clf": "MPU", "Compiler_Type": "LLVM", "Idx": 112449, "Length": 41, "Cover_Rate": 0.9761904761904762} {"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": "AVRAsmParser", "Func": "CreateMemri", "Target": "AVR", "Target_Clf": "MPU", "Compiler_Type": "LLVM", "Idx": 112450, "Length": 41, "Cover_Rate": 0.9761904761904762} {"Template_token": ["", "return", "std", "::", "make_unique", "<", "Operand", ">", "(", "RegNum", ",", "S", ",", "E", ")", ";"], "ground_truth": ["}"], "File": "AVRAsmParser", "Func": "CreateReg", "Target": "AVR", "Target_Clf": "MPU", "Compiler_Type": "LLVM", "Idx": 112451, "Length": 16, "Cover_Rate": 0.45714285714285713} {"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": "AVRAsmParser", "Func": "CreateReg", "Target": "AVR", "Target_Clf": "MPU", "Compiler_Type": "LLVM", "Idx": 112452, "Length": 35, "Cover_Rate": 1.0} {"Template_token": ["", "return", "std", "::", "make_unique", "<", "Operand", ">", "(", "Str", ",", "S", ")", ";"], "ground_truth": ["}"], "File": "AVRAsmParser", "Func": "CreateToken", "Target": "AVR", "Target_Clf": "MPU", "Compiler_Type": "LLVM", "Idx": 112453, "Length": 14, "Cover_Rate": 0.4666666666666667} {"Template_token": ["", "static", "std", "::", "unique_ptr", "<", "Operand", ">", "CreateToken", "(", "StringRef", "Str", ",", "SMLoc", "S", ")", "{", "return", "std", "::", "make_unique", "<", "Operand", ">", "(", "Str", ",", "S", ")", ";"], "ground_truth": ["}"], "File": "AVRAsmParser", "Func": "CreateToken", "Target": "AVR", "Target_Clf": "MPU", "Compiler_Type": "LLVM", "Idx": 112454, "Length": 30, "Cover_Rate": 1.0} {"Template_token": ["", "Parser", ".", "Lex", "(", ")", ";", "}", "else", "{", "}"], "ground_truth": ["}"], "File": "AVRAsmParser", "Func": "eatComma", "Target": "AVR", "Target_Clf": "MPU", "Compiler_Type": "LLVM", "Idx": 112455, "Length": 11, "Cover_Rate": 0.34375} {"Template_token": ["", "void", "AsmParser", "::", "eatComma", "(", ")", "{"], "ground_truth": ["if", "(", "getLexer", "(", ")", ".", "is", "(", "AsmToken", "::", "Comma", ")", ")", "{"], "File": "AVRAsmParser", "Func": "eatComma", "Target": "AVR", "Target_Clf": "MPU", "Compiler_Type": "LLVM", "Idx": 112456, "Length": 21, "Cover_Rate": 0.65625} {"Template_token": ["", "Inst", ".", "setLoc", "(", "Loc", ")", ";", "Out", ".", "emitInstruction", "(", "Inst", ",", "STI", ")", ";", "return", "false", ";"], "ground_truth": ["}"], "File": "AVRAsmParser", "Func": "emit", "Target": "AVR", "Target_Clf": "MPU", "Compiler_Type": "LLVM", "Idx": 112457, "Length": 20, "Cover_Rate": 0.5} {"Template_token": ["", "SMLoc", "getEndLoc", "(", ")", "const", "{", "return", "End", ";"], "ground_truth": ["}"], "File": "AVRAsmParser", "Func": "getEndLoc", "Target": "AVR", "Target_Clf": "MPU", "Compiler_Type": "LLVM", "Idx": 112458, "Length": 10, "Cover_Rate": 1.0} {"Template_token": ["", "SMLoc", "getEndLoc", "(", ")", "const", "{"], "ground_truth": ["return", "End", ";"], "File": "AVRAsmParser", "Func": "getEndLoc", "Target": "AVR", "Target_Clf": "MPU", "Compiler_Type": "LLVM", "Idx": 112459, "Length": 9, "Cover_Rate": 0.9} {"Template_token": ["", "const", "MCExpr", "*", "getImm", "(", ")", "const", "{", "assert", "(", "(", "Kind", "==", "k_Immediate", "||", "Kind", "==", "k_Memri", ")", "&&", "", ")", ";", "return", "RegImm", ".", "Imm", ";"], "ground_truth": ["}"], "File": "AVRAsmParser", "Func": "getImm", "Target": "AVR", "Target_Clf": "MPU", "Compiler_Type": "LLVM", "Idx": 112461, "Length": 29, "Cover_Rate": 1.0} {"Template_token": ["", "return", "Parser", ".", "getLexer", "(", ")", ";"], "ground_truth": ["}"], "File": "AVRAsmParser", "Func": "getLexer", "Target": "AVR", "Target_Clf": "MPU", "Compiler_Type": "LLVM", "Idx": 112462, "Length": 8, "Cover_Rate": 0.5333333333333333} {"Template_token": ["", "unsigned", "getReg", "(", ")", "const", "{", "assert", "(", "(", "Kind", "==", "k_Register", "||", "Kind", "==", "k_Memri", ")", "&&", "", ")", ";"], "ground_truth": ["return", "RegImm", ".", "Reg", ";"], "File": "AVRAsmParser", "Func": "getReg", "Target": "AVR", "Target_Clf": "MPU", "Compiler_Type": "LLVM", "Idx": 112465, "Length": 26, "Cover_Rate": 0.9629629629629629} {"Template_token": ["", "SMLoc", "getStartLoc", "(", ")", "const", "{", "return", "Start", ";"], "ground_truth": ["}"], "File": "AVRAsmParser", "Func": "getStartLoc", "Target": "AVR", "Target_Clf": "MPU", "Compiler_Type": "LLVM", "Idx": 112466, "Length": 10, "Cover_Rate": 1.0} {"Template_token": ["", "return", "Start", ";"], "ground_truth": ["}"], "File": "AVRAsmParser", "Func": "getStartLoc", "Target": "AVR", "Target_Clf": "MPU", "Compiler_Type": "LLVM", "Idx": 112467, "Length": 4, "Cover_Rate": 0.4} {"Template_token": ["", "StringRef", "getToken", "(", ")", "const", "{", "assert", "(", "Kind", "==", "k_Token", "&&", "", ")", ";", "return", "Tok", ";"], "ground_truth": ["}"], "File": "AVRAsmParser", "Func": "getToken", "Target": "AVR", "Target_Clf": "MPU", "Compiler_Type": "LLVM", "Idx": 112468, "Length": 19, "Cover_Rate": 1.0} {"Template_token": ["", "StringRef", "getToken", "(", ")", "const", "{", "assert", "(", "Kind", "==", "k_Token", "&&", "", ")", ";"], "ground_truth": ["return", "Tok", ";"], "File": "AVRAsmParser", "Func": "getToken", "Target": "AVR", "Target_Clf": "MPU", "Compiler_Type": "LLVM", "Idx": 112469, "Length": 18, "Cover_Rate": 0.9473684210526315} {"Template_token": ["", "bool", "isImm", "(", ")", "const", "{", "return", "Kind", "==", "k_Immediate", ";"], "ground_truth": ["}"], "File": "AVRAsmParser", "Func": "isImm", "Target": "AVR", "Target_Clf": "MPU", "Compiler_Type": "LLVM", "Idx": 112470, "Length": 12, "Cover_Rate": 1.0} {"Template_token": ["", "const", "MCConstantExpr", "*", "CE", "=", "dyn_cast", "<", "MCConstantExpr", ">", "(", "getImm", "(", ")", ")", ";"], "ground_truth": ["if", "(", "!", "CE", ")", "return", "false", ";"], "File": "AVRAsmParser", "Func": "isImmCom8", "Target": "AVR", "Target_Clf": "MPU", "Compiler_Type": "LLVM", "Idx": 112472, "Length": 23, "Cover_Rate": 0.39655172413793105} {"Template_token": ["", "const", "MCConstantExpr", "*", "CE", "=", "dyn_cast", "<", "MCConstantExpr", ">", "(", "getImm", "(", ")", ")", ";", "if", "(", "!", "CE", ")", "return", "false", ";", "int64_t", "Value", "=", "CE", "->", "getValue", "(", ")", ";", "return", "isUInt", "<", "", ">", "(", "Value", ")", ";"], "ground_truth": ["}"], "File": "AVRAsmParser", "Func": "isImmCom8", "Target": "AVR", "Target_Clf": "MPU", "Compiler_Type": "LLVM", "Idx": 112473, "Length": 42, "Cover_Rate": 0.7241379310344828} {"Template_token": ["", "bool", "isMem", "(", ")", "const", "{"], "ground_truth": ["return", "Kind", "==", "k_Memri", ";"], "File": "AVRAsmParser", "Func": "isMem", "Target": "AVR", "Target_Clf": "MPU", "Compiler_Type": "LLVM", "Idx": 112474, "Length": 11, "Cover_Rate": 0.9166666666666666} {"Template_token": ["", "bool", "isMemri", "(", ")", "const", "{"], "ground_truth": ["return", "Kind", "==", "k_Memri", ";"], "File": "AVRAsmParser", "Func": "isMemri", "Target": "AVR", "Target_Clf": "MPU", "Compiler_Type": "LLVM", "Idx": 112476, "Length": 11, "Cover_Rate": 0.9166666666666666} {"Template_token": ["", "return", "Kind", "==", "k_Memri", ";"], "ground_truth": ["}"], "File": "AVRAsmParser", "Func": "isMemri", "Target": "AVR", "Target_Clf": "MPU", "Compiler_Type": "LLVM", "Idx": 112477, "Length": 6, "Cover_Rate": 0.5} {"Template_token": ["", "bool", "isReg", "(", ")", "const", "{"], "ground_truth": ["return", "Kind", "==", "k_Register", ";"], "File": "AVRAsmParser", "Func": "isReg", "Target": "AVR", "Target_Clf": "MPU", "Compiler_Type": "LLVM", "Idx": 112479, "Length": 11, "Cover_Rate": 0.9166666666666666} {"Template_token": ["", "bool", "isToken", "(", ")", "const", "{", "return", "Kind", "==", "k_Token", ";"], "ground_truth": ["}"], "File": "AVRAsmParser", "Func": "isToken", "Target": "AVR", "Target_Clf": "MPU", "Compiler_Type": "LLVM", "Idx": 112480, "Length": 12, "Cover_Rate": 1.0} {"Template_token": ["", "RegisterMCAsmParser", "<", "AsmParser", ">", "X", "(", "getTheTarget", "(", ")", ")", ";"], "ground_truth": ["}"], "File": "AVRAsmParser", "Func": "LLVMInitializeAVRAsmParser", "Target": "AVR", "Target_Clf": "MPU", "Compiler_Type": "LLVM", "Idx": 112482, "Length": 12, "Cover_Rate": 0.6666666666666666} {"Template_token": ["", "LLVM_EXTERNAL_VISIBILITY", "void", "LLVMInitializeAsmParser", "(", ")", "{"], "ground_truth": ["RegisterMCAsmParser", "<", "AsmParser", ">", "X", "(", "getTheTarget", "(", ")", ")", ";"], "File": "AVRAsmParser", "Func": "LLVMInitializeAVRAsmParser", "Target": "AVR", "Target_Clf": "MPU", "Compiler_Type": "LLVM", "Idx": 112483, "Length": 17, "Cover_Rate": 0.9444444444444444} {"Template_token": ["", "RegImm", "=", "{", "RegNo", ",", "Imm", "}", ";"], "ground_truth": ["}"], "File": "AVRAsmParser", "Func": "makeMemri", "Target": "AVR", "Target_Clf": "MPU", "Compiler_Type": "LLVM", "Idx": 112486, "Length": 9, "Cover_Rate": 0.36} {"Template_token": ["", "Kind", "=", "k_Memri", ";"], "ground_truth": ["RegImm", "=", "{", "RegNo", ",", "Imm", "}", ";"], "File": "AVRAsmParser", "Func": "makeMemri", "Target": "AVR", "Target_Clf": "MPU", "Compiler_Type": "LLVM", "Idx": 112487, "Length": 12, "Cover_Rate": 0.48} {"Template_token": ["", "Kind", "=", "k_Register", ";"], "ground_truth": ["RegImm", "=", "{", "RegNo", ",", "nullptr", "}", ";"], "File": "AVRAsmParser", "Func": "makeReg", "Target": "AVR", "Target_Clf": "MPU", "Compiler_Type": "LLVM", "Idx": 112488, "Length": 12, "Cover_Rate": 0.6} {"Template_token": ["", "void", "makeToken", "(", "StringRef", "Token", ")", "{", "Kind", "=", "k_Token", ";", "Tok", "=", "Token", ";"], "ground_truth": ["}"], "File": "AVRAsmParser", "Func": "makeToken", "Target": "AVR", "Target_Clf": "MPU", "Compiler_Type": "LLVM", "Idx": 112490, "Length": 16, "Cover_Rate": 1.0} {"Template_token": ["", "void", "makeToken", "(", "StringRef", "Token", ")", "{", "Kind", "=", "k_Token", ";", "Tok", "=", "Token", ";"], "ground_truth": ["}"], "File": "AVRAsmParser", "Func": "makeToken", "Target": "AVR", "Target_Clf": "MPU", "Compiler_Type": "LLVM", "Idx": 112491, "Length": 16, "Cover_Rate": 1.0} {"Template_token": ["", "MCInst", "Inst", ";", "unsigned", "MatchResult", "=", "MatchInstructionImpl", "(", "Operands", ",", "Inst", ",", "ErrorInfo", ",", "MatchingInlineAsm", ")", ";", "switch", "(", "MatchResult", ")", "{", "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", ",", "", ")", ";"], "ground_truth": ["default", ":", "return", "true", ";"], "File": "AVRAsmParser", "Func": "MatchAndEmitInstruction", "Target": "AVR", "Target_Clf": "MPU", "Compiler_Type": "LLVM", "Idx": 112492, "Length": 75, "Cover_Rate": 0.7142857142857143} {"Template_token": ["", "bool", "AsmParser", "::", "missingFeature", "(", "llvm", "::", "SMLoc", "const", "&", "Loc", ",", "uint64_t", "const", "&", "ErrorInfo", ")", "{"], "ground_truth": ["return", "Error", "(", "Loc", ",", "", ")", ";"], "File": "AVRAsmParser", "Func": "missingFeature", "Target": "AVR", "Target_Clf": "MPU", "Compiler_Type": "LLVM", "Idx": 112493, "Length": 26, "Cover_Rate": 0.9629629629629629} {"Template_token": ["", "bool", "AsmParser", "::", "missingFeature", "(", "llvm", "::", "SMLoc", "const", "&", "Loc", ",", "uint64_t", "const", "&", "ErrorInfo", ")", "{"], "ground_truth": ["return", "Error", "(", "Loc", ",", "", ")", ";"], "File": "AVRAsmParser", "Func": "missingFeature", "Target": "AVR", "Target_Clf": "MPU", "Compiler_Type": "LLVM", "Idx": 112494, "Length": 26, "Cover_Rate": 0.9629629629629629} {"Template_token": ["", "parseLiteralValues", "(", "SIZE_LONG", ",", "DirectiveID", ".", "getLoc", "(", ")", ")", ";"], "ground_truth": ["}", "else", "if", "(", "IDVal", ".", "lower", "(", ")", "==", "", "||", "IDVal", ".", "lower", "(", ")", "==", "", ")", "{"], "File": "AVRAsmParser", "Func": "ParseDirective", "Target": "AVR", "Target_Clf": "MPU", "Compiler_Type": "LLVM", "Idx": 112495, "Length": 32, "Cover_Rate": 0.3106796116504854} {"Template_token": ["", "parseLiteralValues", "(", "SIZE_LONG", ",", "DirectiveID", ".", "getLoc", "(", ")", ")", ";", "}", "else", "if", "(", "IDVal", ".", "lower", "(", ")", "==", "", "||", "IDVal", ".", "lower", "(", ")", "==", "", ")", "{", "parseLiteralValues", "(", "SIZE_WORD", ",", "DirectiveID", ".", "getLoc", "(", ")", ")", ";"], "ground_truth": ["}", "else", "if", "(", "IDVal", ".", "lower", "(", ")", "==", "", ")", "{"], "File": "AVRAsmParser", "Func": "ParseDirective", "Target": "AVR", "Target_Clf": "MPU", "Compiler_Type": "LLVM", "Idx": 112496, "Length": 56, "Cover_Rate": 0.5436893203883495} {"Template_token": ["", "auto", "MatchResult", "=", "MatchOperandParserImpl", "(", "Operands", ",", "Mnemonic", ")", ";", "if", "(", "MatchResult", "==", "MatchOperand_Success", ")", "{", "continue", ";", "}", "if", "(", "MatchResult", "==", "MatchOperand_ParseFail", ")", "{", "SMLoc", "Loc", "=", "getLexer", "(", ")", ".", "getLoc", "(", ")", ";", "Parser", ".", "eatToEndOfStatement", "(", ")", ";", "return", "Error", "(", "Loc", ",", "", ")", ";", "}", "if", "(", "parseOperand", "(", "Operands", ")", ")", "{", "SMLoc", "Loc", "=", "getLexer", "(", ")", ".", "getLoc", "(", ")", ";", "Parser", ".", "eatToEndOfStatement", "(", ")", ";", "return", "Error", "(", "Loc", ",", "", ")", ";"], "ground_truth": ["}"], "File": "AVRAsmParser", "Func": "ParseInstruction", "Target": "AVR", "Target_Clf": "MPU", "Compiler_Type": "LLVM", "Idx": 112497, "Length": 87, "Cover_Rate": 0.5304878048780488} {"Template_token": ["", "continue", ";", "}", "if", "(", "MatchResult", "==", "MatchOperand_ParseFail", ")", "{", "SMLoc", "Loc", "=", "getLexer", "(", ")", ".", "getLoc", "(", ")", ";", "Parser", ".", "eatToEndOfStatement", "(", ")", ";", "return", "Error", "(", "Loc", ",", "", ")", ";", "}", "if", "(", "parseOperand", "(", "Operands", ")", ")", "{", "SMLoc", "Loc", "=", "getLexer", "(", ")", ".", "getLoc", "(", ")", ";", "Parser", ".", "eatToEndOfStatement", "(", ")", ";", "return", "Error", "(", "Loc", ",", "", ")", ";", "}", "}", "Parser", ".", "Lex", "(", ")", ";", "return", "false", ";"], "ground_truth": ["}"], "File": "AVRAsmParser", "Func": "ParseInstruction", "Target": "AVR", "Target_Clf": "MPU", "Compiler_Type": "LLVM", "Idx": 112498, "Length": 81, "Cover_Rate": 0.49390243902439024} {"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", ";", "}", "auto", "parseOne", "=", "[", "&", "]", "(", ")", "->", "bool", "{", "const", "MCExpr", "*", "Value", ";", "if", "(", "Parser", ".", "parseExpression", "(", "Value", ")", ")", "return", "true", ";", "Parser", ".", "getStreamer", "(", ")", ".", "emitValue", "(", "Value", ",", "SizeInBytes", ",", "L", ")", ";", "return", "false", ";", "}", ";", "return", "(", "parseMany", "(", "parseOne", ")", ")", ";"], "ground_truth": ["}"], "File": "AVRAsmParser", "Func": "parseLiteralValues", "Target": "AVR", "Target_Clf": "MPU", "Compiler_Type": "LLVM", "Idx": 112499, "Length": 204, "Cover_Rate": 0.6} {"Template_token": ["", "AsmToken", "Tokens", "[", "", "]", ";", "size_t", "ReadCount", "=", "Parser", ".", "getLexer", "(", ")", ".", "peekTokens", "(", "Tokens", ")", ";", "if", "(", "ReadCount", "==", "", "&&", "Parser", ".", "getTok", "(", ")", ".", "getKind", "(", ")", "==", "AsmToken", "::", "Identifier", "&&", "Tokens", "[", "", "]", ".", "getKind", "(", ")", "==", "AsmToken", "::", "Minus", "&&", "Tokens", "[", "", "]", ".", "getKind", "(", ")", "==", "AsmToken", "::", "Identifier", ")", "{", "MCSymbol", "*", "Symbol", "=", "getContext", "(", ")", ".", "getOrCreateSymbol", "(", "", ")", ";", "Streamer", ".", "emitValueForModiferKind", "(", "Symbol", ",", "SizeInBytes", ",", "L", ",", "MCExpr", "::", "VK__None", ")", ";", "return", "false", ";", "}"], "ground_truth": ["if", "(", "Parser", ".", "getTok", "(", ")", ".", "getKind", "(", ")", "==", "AsmToken", "::", "Identifier", "&&", "Parser", ".", "getLexer", "(", ")", ".", "peekTok", "(", ")", ".", "getKind", "(", ")", "==", "AsmToken", "::", "LParen", ")", "{"], "File": "AVRAsmParser", "Func": "parseLiteralValues", "Target": "AVR", "Target_Clf": "MPU", "Compiler_Type": "LLVM", "Idx": 112500, "Length": 134, "Cover_Rate": 0.3941176470588235} {"Template_token": ["", "if", "(", "getParser", "(", ")", ".", "parseExpression", "(", "Expression", ")", ")", "return", "MatchOperand_ParseFail", ";", "E", "=", "SMLoc", "::", "getFromPointer", "(", "Parser", ".", "getTok", "(", ")", ".", "getLoc", "(", ")", ".", "getPointer", "(", ")", "-", "", ")", ";", "}"], "ground_truth": ["Operands", ".", "push_back", "(", "", "(", "RegNo", ",", "Expression", ",", "S", ",", "E", ")", ")", ";"], "File": "AVRAsmParser", "Func": "parseMemriOperand", "Target": "AVR", "Target_Clf": "MPU", "Compiler_Type": "LLVM", "Idx": 112501, "Length": 54, "Cover_Rate": 0.3829787234042553} {"Template_token": ["", "E", "=", "SMLoc", "::", "getFromPointer", "(", "Parser", ".", "getTok", "(", ")", ".", "getLoc", "(", ")", ".", "getPointer", "(", ")", "-", "", ")", ";", "}", "Operands", ".", "push_back", "(", "", "(", "RegNo", ",", "Expression", ",", "S", ",", "E", ")", ")", ";", "return", "MatchOperand_Success", ";"], "ground_truth": ["}"], "File": "AVRAsmParser", "Func": "parseMemriOperand", "Target": "AVR", "Target_Clf": "MPU", "Compiler_Type": "LLVM", "Idx": 112502, "Length": 44, "Cover_Rate": 0.3120567375886525} {"Template_token": ["", "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", ":", "{", "switch", "(", "getLexer", "(", ")", ".", "peekTok", "(", ")", ".", "getKind", "(", ")", ")", "{", "case", "AsmToken", "::", "Integer", ":", "case", "AsmToken", "::", "BigNum", ":", "case", "AsmToken", "::", "Identifier", ":", "case", "AsmToken", "::", "Real", ":", "if", "(", "!", "tryParseExpression", "(", "Operands", ")", ")", "return", "false", ";", "break", ";", "default", ":", "break", ";", "}", "Operands", ".", "push_back", "(", "", "(", "Parser", ".", "getTok", "(", ")", ".", "getString", "(", ")", ",", "Parser", ".", "getTok", "(", ")", ".", "getLoc", "(", ")", ")", ")", ";"], "ground_truth": ["Parser", ".", "Lex", "(", ")", ";"], "File": "AVRAsmParser", "Func": "parseOperand", "Target": "AVR", "Target_Clf": "MPU", "Compiler_Type": "LLVM", "Idx": 112503, "Length": 177, "Cover_Rate": 0.8939393939393939} {"Template_token": ["", "StartLoc", "=", "Parser", ".", "getTok", "(", ")", ".", "getLoc", "(", ")", ";", "RegNo", "=", "parseRegister", "(", "false", ")", ";", "EndLoc", "=", "Parser", ".", "getTok", "(", ")", ".", "getLoc", "(", ")", ";"], "ground_truth": ["return", "(", "RegNo", "==", "", ")", ";"], "File": "AVRAsmParser", "Func": "parseRegister", "Target": "AVR", "Target_Clf": "MPU", "Compiler_Type": "LLVM", "Idx": 112504, "Length": 38, "Cover_Rate": 0.6440677966101694} {"Template_token": ["", "RegNo", "=", "parseRegister", "(", "false", ")", ";", "EndLoc", "=", "Parser", ".", "getTok", "(", ")", ".", "getLoc", "(", ")", ";", "return", "(", "RegNo", "==", "", ")", ";"], "ground_truth": ["}"], "File": "AVRAsmParser", "Func": "parseRegister", "Target": "AVR", "Target_Clf": "MPU", "Compiler_Type": "LLVM", "Idx": 112505, "Length": 27, "Cover_Rate": 0.4576271186440678} {"Template_token": ["", "int", "AsmParser", "::", "parseRegisterName", "(", ")", "{", "int", "RegNum", "=", "parseRegisterName", "(", "&", "MatchRegisterName", ")", ";", "if", "(", "RegNum", "==", "", ")", "RegNum", "=", "parseRegisterName", "(", "&", "MatchRegisterAltName", ")", ";"], "ground_truth": ["return", "RegNum", ";"], "File": "AVRAsmParser", "Func": "parseRegisterName", "Target": "AVR", "Target_Clf": "MPU", "Compiler_Type": "LLVM", "Idx": 112506, "Length": 33, "Cover_Rate": 0.9166666666666666} {"Template_token": ["", "O", "<<", "", "<<", "getReg", "(", ")", ";", "break", ";", "case", "k_Immediate", ":", "O", "<<", "", "<<", "*", "getImm", "(", ")", "<<", "", ";", "break", ";", "case", "k_Memri", ":", "{", "O", "<<", "", "<<", "getReg", "(", ")", "<<", "'+'", "<<", "*", "getImm", "(", ")", "<<", "", ";", "break", ";", "}"], "ground_truth": ["}"], "File": "AVRAsmParser", "Func": "print", "Target": "AVR", "Target_Clf": "MPU", "Compiler_Type": "LLVM", "Idx": 112507, "Length": 51, "Cover_Rate": 0.5730337078651685} {"Template_token": ["", "break", ";", "case", "k_Register", ":", "O", "<<", "", "<<", "getReg", "(", ")", ";", "break", ";", "case", "k_Immediate", ":", "O", "<<", "", "<<", "*", "getImm", "(", ")", "<<", "", ";", "break", ";", "case", "k_Memri", ":", "{", "O", "<<", "", "<<", "getReg", "(", ")", "<<", "'+'", "<<", "*", "getImm", "(", ")", "<<", "", ";", "break", ";"], "ground_truth": ["}"], "File": "AVRAsmParser", "Func": "print", "Target": "AVR", "Target_Clf": "MPU", "Compiler_Type": "LLVM", "Idx": 112508, "Length": 55, "Cover_Rate": 0.6179775280898876} {"Template_token": ["", "unsigned", "toDREG", "(", "unsigned", "Reg", ",", "unsigned", "From", "=", "", ")", "{"], "ground_truth": ["MCRegisterClass", "const", "*", "Class", "=", "&", "MCRegisterClasses", "[", "", "]", ";"], "File": "AVRAsmParser", "Func": "toDREG", "Target": "AVR", "Target_Clf": "MPU", "Compiler_Type": "LLVM", "Idx": 112509, "Length": 23, "Cover_Rate": 0.575} {"Template_token": ["", "if", "(", "getParser", "(", ")", ".", "parseExpression", "(", "Expression", ")", ")", "return", "true", ";", "SMLoc", "E", "=", "SMLoc", "::", "getFromPointer", "(", "Parser", ".", "getTok", "(", ")", ".", "getLoc", "(", ")", ".", "getPointer", "(", ")", "-", "", ")", ";"], "ground_truth": ["Operands", ".", "push_back", "(", "", "(", "Expression", ",", "S", ",", "E", ")", ")", ";"], "File": "AVRAsmParser", "Func": "tryParseExpression", "Target": "AVR", "Target_Clf": "MPU", "Compiler_Type": "LLVM", "Idx": 112510, "Length": 52, "Cover_Rate": 0.34210526315789475} {"Template_token": ["", "SMLoc", "S", "=", "Parser", ".", "getTok", "(", ")", ".", "getLoc", "(", ")", ";", "if", "(", "!", "tryParseRelocExpression", "(", "Operands", ")", ")", "return", "false", ";", "if", "(", "(", "Parser", ".", "getTok", "(", ")", ".", "getKind", "(", ")", "==", "AsmToken", "::", "Plus", "||", "Parser", ".", "getTok", "(", ")", ".", "getKind", "(", ")", "==", "AsmToken", "::", "Minus", ")", "&&", "Parser", ".", "getLexer", "(", ")", ".", "peekTok", "(", ")", ".", "getKind", "(", ")", "==", "AsmToken", "::", "Identifier", ")", "{", "return", "true", ";", "}", "MCExpr", "const", "*", "Expression", ";"], "ground_truth": ["if", "(", "getParser", "(", ")", ".", "parseExpression", "(", "Expression", ")", ")", "return", "true", ";"], "File": "AVRAsmParser", "Func": "tryParseExpression", "Target": "AVR", "Target_Clf": "MPU", "Compiler_Type": "LLVM", "Idx": 112511, "Length": 98, "Cover_Rate": 0.6447368421052632} {"Template_token": ["", "OperandMatchResultTy", "AsmParser", "::", "tryParseRegister", "(", "unsigned", "&", "RegNo", ",", "SMLoc", "&", "StartLoc", ",", "SMLoc", "&", "EndLoc", ")", "{", "StartLoc", "=", "Parser", ".", "getTok", "(", ")", ".", "getLoc", "(", ")", ";", "RegNo", "=", "parseRegister", "(", "true", ")", ";", "EndLoc", "=", "Parser", ".", "getTok", "(", ")", ".", "getLoc", "(", ")", ";"], "ground_truth": ["if", "(", "RegNo", "==", "", ")", "return", "MatchOperand_NoMatch", ";"], "File": "AVRAsmParser", "Func": "tryParseRegister", "Target": "AVR", "Target_Clf": "MPU", "Compiler_Type": "LLVM", "Idx": 112512, "Length": 58, "Cover_Rate": 0.90625} {"Template_token": ["", "if", "(", "RegNo", "==", "", ")", "return", "true", ";", "AsmToken", "const", "&", "T", "=", "Parser", ".", "getTok", "(", ")", ";", "Operands", ".", "push_back", "(", "", "(", "RegNo", ",", "T", ".", "getLoc", "(", ")", ",", "T", ".", "getEndLoc", "(", ")", ")", ")", ";", "Parser", ".", "Lex", "(", ")", ";", "return", "false", ";"], "ground_truth": ["}"], "File": "AVRAsmParser", "Func": "tryParseRegisterOperand", "Target": "AVR", "Target_Clf": "MPU", "Compiler_Type": "LLVM", "Idx": 112513, "Length": 52, "Cover_Rate": 0.7123287671232876} {"Template_token": ["", "isNegated", "=", "false", ";", "}", "if", "(", "CurTok", "==", "AsmToken", "::", "Minus", "||", "CurTok", "==", "AsmToken", "::", "Plus", ")", "Parser", ".", "Lex", "(", ")", ";", "}", "}", "if", "(", "Parser", ".", "getTok", "(", ")", ".", "getKind", "(", ")", "!=", "AsmToken", "::", "Identifier", "||", "Parser", ".", "getLexer", "(", ")", ".", "peekTok", "(", ")", ".", "getKind", "(", ")", "!=", "AsmToken", "::", "LParen", ")", "{", "return", "true", ";", "}", "StringRef", "ModifierName", "=", "Parser", ".", "getTok", "(", ")", ".", "getString", "(", ")", ";", "ModifierKind", "=", "MCExpr", "::", "getKindByName", "(", "ModifierName", ".", "str", "(", ")", ".", "c_str", "(", ")", ")", ";", "if", "(", "ModifierKind", "!=", "MCExpr", "::", "VK__None", ")", "{", "Parser", ".", "Lex", "(", ")", ";", "Parser", ".", "Lex", "(", ")", ";", "if", "(", "Parser", ".", "getTok", "(", ")", ".", "getString", "(", ")", "==", "GENERATE_STUBS", "&&", "Parser", ".", "getTok", "(", ")", ".", "getKind", "(", ")", "==", "AsmToken", "::", "Identifier", ")", "{", "std", "::", "string", "GSModName", "=", "ModifierName", ".", "str", "(", ")", "+", "", "+", "GENERATE_STUBS", ";", "ModifierKind", "=", "MCExpr", "::", "getKindByName", "(", "GSModName", ".", "c_str", "(", ")", ")", ";", "if", "(", "ModifierKind", "!=", "MCExpr", "::", "VK__None", ")", "Parser", ".", "Lex", "(", ")", ";", "}", "}", "else", "{", "return", "Error", "(", "Parser", ".", "getTok", "(", ")", ".", "getLoc", "(", ")", ",", "", ")", ";", "}", "if", "(", "tokens", "[", "", "]", ".", "getKind", "(", ")", "==", "AsmToken", "::", "Minus", "||", "tokens", "[", "", "]", ".", "getKind", "(", ")", "==", "AsmToken", "::", "Plus", ")", "{", "Parser", ".", "Lex", "(", ")", ";", "assert", "(", "Parser", ".", "getTok", "(", ")", ".", "getKind", "(", ")", "==", "AsmToken", "::", "LParen", ")", ";", "Parser", ".", "Lex", "(", ")", ";", "}", "MCExpr", "const", "*", "InnerExpression", ";", "if", "(", "getParser", "(", ")", ".", "parseExpression", "(", "InnerExpression", ")", ")", "return", "true", ";", "if", "(", "tokens", "[", "", "]", ".", "getKind", "(", ")", "==", "AsmToken", "::", "Minus", "||", "tokens", "[", "", "]", ".", "getKind", "(", ")", "==", "AsmToken", "::", "Plus", ")", "{", "assert", "(", "Parser", ".", "getTok", "(", ")", ".", "getKind", "(", ")", "==", "AsmToken", "::", "RParen", ")", ";"], "ground_truth": ["Parser", ".", "Lex", "(", ")", ";"], "File": "AVRAsmParser", "Func": "tryParseRelocExpression", "Target": "AVR", "Target_Clf": "MPU", "Compiler_Type": "LLVM", "Idx": 112514, "Length": 339, "Cover_Rate": 0.5621890547263682} {"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", ";", "}", "}", "}", "}", "if", "(", "Op", ".", "isReg", "(", ")", ")", "{", "if", "(", "isSubclass", "(", "Expected", ",", "MCK_DREGS", ")", ")", "{", "unsigned", "correspondingDREG", "=", "toDREG", "(", "Op", ".", "getReg", "(", ")", ")", ";", "if", "(", "correspondingDREG", "!=", "", ")", "{"], "ground_truth": ["Op", ".", "makeReg", "(", "correspondingDREG", ")", ";"], "File": "AVRAsmParser", "Func": "validateTargetOperandClass", "Target": "AVR", "Target_Clf": "MPU", "Compiler_Type": "LLVM", "Idx": 112515, "Length": 153, "Cover_Rate": 0.7727272727272727} {"Template_token": ["", "bool", "Error", "=", "AsmPrinter", "::", "PrintAsmOperand", "(", "MI", ",", "OpNum", ",", "AsmVariant", ",", "ExtraCode", ",", "O", ")", ";", "if", "(", "Error", "&&", "ExtraCode", "&&", "ExtraCode", "[", "", "]", ")", "{", "if", "(", "ExtraCode", "[", "", "]", "!=", "", ")", "return", "true", ";", "if", "(", "ExtraCode", "[", "", "]", ">=", "'A'", "&&", "ExtraCode", "[", "", "]", "<=", "'Z'", ")", "{", "const", "MachineOperand", "&", "RegOp", "=", "MI", "->", "getOperand", "(", "OpNum", ")", ";", "assert", "(", "RegOp", ".", "isReg", "(", ")", "&&", "", "", ")", ";", "unsigned", "Reg", "=", "RegOp", ".", "getReg", "(", ")", ";", "unsigned", "ByteNumber", "=", "ExtraCode", "[", "", "]", "-", "'A'", ";", "unsigned", "OpFlags", "=", "MI", "->", "getOperand", "(", "OpNum", "-", "", ")", ".", "getImm", "(", ")", ";", "unsigned", "NumOpRegs", "=", "InlineAsm", "::", "getNumOperandRegisters", "(", "OpFlags", ")", ";", "(", "void", ")", "NumOpRegs", ";", "const", "Subtarget", "&", "STI", "=", "MF", "->", "getSubtarget", "<", "Subtarget", ">", "(", ")", ";", "const", "TargetRegisterInfo", "&", "TRI", "=", "*", "STI", ".", "getRegisterInfo", "(", ")", ";", "unsigned", "BytesPerReg", "=", "TRI", ".", "getMinimalPhysRegClass", "(", "Reg", ")", "->", "getSize", "(", ")", ";", "assert", "(", "BytesPerReg", "<=", "", "&&", "", ")", ";", "unsigned", "RegIdx", "=", "ByteNumber", "/", "BytesPerReg", ";", "assert", "(", "RegIdx", "<", "NumOpRegs", "&&", "", ")", ";", "Reg", "=", "MI", "->", "getOperand", "(", "OpNum", "+", "RegIdx", ")", ".", "getReg", "(", ")", ";", "if", "(", "BytesPerReg", "==", "", ")", "{"], "ground_truth": ["Reg", "=", "TRI", ".", "getSubReg", "(", "Reg", ",", "ByteNumber", "%", "BytesPerReg", "?", "", ":", "", ")", ";"], "File": "AVRAsmPrinter13", "Func": "PrintAsmOperand", "Target": "AVR", "Target_Clf": "MPU", "Compiler_Type": "LLVM", "Idx": 112516, "Length": 237, "Cover_Rate": 0.797979797979798} {"Template_token": ["", "unsigned", "NumOpRegs", "=", "InlineAsm", "::", "getNumOperandRegisters", "(", "OpFlags", ")", ";", "(", "void", ")", "NumOpRegs", ";", "const", "Subtarget", "&", "STI", "=", "MF", "->", "getSubtarget", "<", "Subtarget", ">", "(", ")", ";", "const", "TargetRegisterInfo", "&", "TRI", "=", "*", "STI", ".", "getRegisterInfo", "(", ")", ";", "unsigned", "BytesPerReg", "=", "TRI", ".", "getMinimalPhysRegClass", "(", "Reg", ")", "->", "getSize", "(", ")", ";", "assert", "(", "BytesPerReg", "<=", "", "&&", "", ")", ";", "unsigned", "RegIdx", "=", "ByteNumber", "/", "BytesPerReg", ";", "assert", "(", "RegIdx", "<", "NumOpRegs", "&&", "", ")", ";", "Reg", "=", "MI", "->", "getOperand", "(", "OpNum", "+", "RegIdx", ")", ".", "getReg", "(", ")", ";", "if", "(", "BytesPerReg", "==", "", ")", "{", "Reg", "=", "TRI", ".", "getSubReg", "(", "Reg", ",", "ByteNumber", "%", "BytesPerReg", "?", "", ":", "", ")", ";", "}", "O", "<<", "InstPrinter", "::", "getPrettyRegisterName", "(", "Reg", ",", "MRI", ")", ";", "return", "false", ";", "}", "}"], "ground_truth": ["if", "(", "Error", ")", "printOperand", "(", "MI", ",", "OpNum", ",", "O", ")", ";"], "File": "AVRAsmPrinter14", "Func": "PrintAsmOperand", "Target": "AVR", "Target_Clf": "MPU", "Compiler_Type": "LLVM", "Idx": 112517, "Length": 149, "Cover_Rate": 0.4950166112956811} {"Template_token": ["", "(", "void", ")", "MO", ";", "assert", "(", "MO", ".", "isReg", "(", ")", "&&", "", ")", ";", "if", "(", "MI", "->", "getOperand", "(", "OpNum", ")", ".", "getReg", "(", ")", "==", "", ")", "{", "O", "<<", "", ";", "}", "else", "{", "assert", "(", "MI", "->", "getOperand", "(", "OpNum", ")", ".", "getReg", "(", ")", "==", "", "&&", "", ")", ";", "O", "<<", "", ";", "}"], "ground_truth": ["unsigned", "OpFlags", "=", "MI", "->", "getOperand", "(", "OpNum", "-", "", ")", ".", "getImm", "(", ")", ";"], "File": "AVRAsmPrinter15", "Func": "PrintAsmMemoryOperand", "Target": "AVR", "Target_Clf": "MPU", "Compiler_Type": "LLVM", "Idx": 112518, "Length": 78, "Cover_Rate": 0.4642857142857143} {"Template_token": ["", "}", "unsigned", "OpFlags", "=", "MI", "->", "getOperand", "(", "OpNum", "-", "", ")", ".", "getImm", "(", ")", ";", "unsigned", "NumOpRegs", "=", "InlineAsm", "::", "getNumOperandRegisters", "(", "OpFlags", ")", ";", "if", "(", "NumOpRegs", "==", "", ")", "{"], "ground_truth": ["O", "<<", "'+'", "<<", "MI", "->", "getOperand", "(", "OpNum", "+", "", ")", ".", "getImm", "(", ")", ";"], "File": "AVRAsmPrinter15", "Func": "PrintAsmMemoryOperand", "Target": "AVR", "Target_Clf": "MPU", "Compiler_Type": "LLVM", "Idx": 112519, "Length": 51, "Cover_Rate": 0.30357142857142855} {"Template_token": ["", "MCInst", "I", ";", "MCInstLowering", ".", "lowerInstruction", "(", "*", "MI", ",", "I", ")", ";", "EmitToStreamer", "(", "*", "OutStreamer", ",", "I", ")", ";"], "ground_truth": ["}"], "File": "AVRAsmPrinter1", "Func": "EmitInstruction", "Target": "AVR", "Target_Clf": "MPU", "Compiler_Type": "LLVM", "Idx": 112520, "Length": 22, "Cover_Rate": 0.5238095238095238} {"Template_token": ["", "MCInstLowering", ".", "lowerInstruction", "(", "*", "MI", ",", "I", ")", ";", "EmitToStreamer", "(", "*", "OutStreamer", ",", "I", ")", ";"], "ground_truth": ["}"], "File": "AVRAsmPrinter1", "Func": "EmitInstruction", "Target": "AVR", "Target_Clf": "MPU", "Compiler_Type": "LLVM", "Idx": 112521, "Length": 19, "Cover_Rate": 0.4523809523809524} {"Template_token": ["", "bool", "AsmPrinter", "::", "PrintAsmMemoryOperand", "(", "const", "MachineInstr", "*", "MI", ",", "unsigned", "OpNum", ",", "unsigned", "AsmVariant", ",", "const", "char", "*", "ExtraCode", ",", "raw_ostream", "&", "O", ")", "{", "if", "(", "ExtraCode", "&&", "ExtraCode", "[", "", "]", ")", "{", "llvm_unreachable", "(", "", ")", ";", "}", "const", "MachineOperand", "&", "MO", "=", "MI", "->", "getOperand", "(", "OpNum", ")", ";", "(", "void", ")", "MO", ";", "assert", "(", "MO", ".", "isReg", "(", ")", "&&", "", ")", ";"], "ground_truth": ["if", "(", "MI", "->", "getOperand", "(", "OpNum", ")", ".", "getReg", "(", ")", "==", "", ")", "{"], "File": "AVRAsmPrinter1", "Func": "PrintAsmMemoryOperand", "Target": "AVR", "Target_Clf": "MPU", "Compiler_Type": "LLVM", "Idx": 112523, "Length": 86, "Cover_Rate": 0.49142857142857144} {"Template_token": ["", "case", "MachineOperand", "::", "MO_ExternalSymbol", ":", "O", "<<", "*", "GetExternalSymbolSymbol", "(", "MO", ".", "getSymbolName", "(", ")", ")", ";", "break", ";", "case", "MachineOperand", "::", "MO_MachineBasicBlock", ":", "O", "<<", "*", "MO", ".", "getMBB", "(", ")", "->", "getSymbol", "(", ")", ";", "break", ";", "default", ":", "llvm_unreachable", "(", "", ")", ";"], "ground_truth": ["}"], "File": "AVRAsmPrinter1", "Func": "printOperand", "Target": "AVR", "Target_Clf": "MPU", "Compiler_Type": "LLVM", "Idx": 112524, "Length": 47, "Cover_Rate": 0.3197278911564626} {"Template_token": ["", "const", "TargetRegisterClass", "*", "RC", "=", "TRI", ".", "getMinimalPhysRegClass", "(", "Reg", ")", ";", "unsigned", "BytesPerReg", "=", "TRI", ".", "getRegSizeInBits", "(", "*", "RC", ")", "/", "", ";", "assert", "(", "BytesPerReg", "<=", "", "&&", "", ")", ";", "unsigned", "RegIdx", "=", "ByteNumber", "/", "BytesPerReg", ";", "assert", "(", "RegIdx", "<", "NumOpRegs", "&&", "", ")", ";", "Reg", "=", "MI", "->", "getOperand", "(", "OpNum", "+", "RegIdx", ")", ".", "getReg", "(", ")", ";", "if", "(", "BytesPerReg", "==", "", ")", "{", "Reg", "=", "TRI", ".", "getSubReg", "(", "Reg", ",", "ByteNumber", "%", "BytesPerReg", "?", "", ":", "", ")", ";", "}", "O", "<<", "InstPrinter", "::", "getPrettyRegisterName", "(", "Reg", ",", "MRI", ")", ";", "return", "false", ";", "}", "}"], "ground_truth": ["if", "(", "Error", ")", "printOperand", "(", "MI", ",", "OpNum", ",", "O", ")", ";"], "File": "AVRAsmPrinter5", "Func": "PrintAsmOperand", "Target": "AVR", "Target_Clf": "MPU", "Compiler_Type": "LLVM", "Idx": 112525, "Length": 119, "Cover_Rate": 0.38762214983713356} {"Template_token": ["", "OutStreamer", "->", "emitAssignment", "(", "MMI", "->", "getContext", "(", ")", ".", "getOrCreateSymbol", "(", "StringRef", "(", "", ")", ")", ",", "MCConstantExpr", "::", "create", "(", "SubTM", "->", "getIORegSPL", "(", ")", ",", "MMI", "->", "getContext", "(", ")", ")", ")", ";", "if", "(", "SubTM", "->", "hasEIJMPCALL", "(", ")", ")", "OutStreamer", "->", "emitAssignment", "(", "MMI", "->", "getContext", "(", ")", ".", "getOrCreateSymbol", "(", "StringRef", "(", "", ")", ")", ",", "MCConstantExpr", "::", "create", "(", "SubTM", "->", "getIORegEIND", "(", ")", ",", "MMI", "->", "getContext", "(", ")", ")", ")", ";", "if", "(", "SubTM", "->", "hasELPM", "(", ")", ")", "OutStreamer", "->", "emitAssignment", "(", "MMI", "->", "getContext", "(", ")", ".", "getOrCreateSymbol", "(", "StringRef", "(", "", ")", ")", ",", "MCConstantExpr", "::", "create", "(", "SubTM", "->", "getIORegRAMPZ", "(", ")", ",", "MMI", "->", "getContext", "(", ")", ")", ")", ";"], "ground_truth": ["}"], "File": "AVRAsmPrinter8", "Func": "emitStartOfAsmFile", "Target": "AVR", "Target_Clf": "MPU", "Compiler_Type": "LLVM", "Idx": 112526, "Length": 125, "Cover_Rate": 0.382262996941896} {"Template_token": ["", "OutStreamer", "->", "emitAssignment", "(", "MMI", "->", "getContext", "(", ")", ".", "getOrCreateSymbol", "(", "StringRef", "(", "", ")", ")", ",", "MCConstantExpr", "::", "create", "(", "SubTM", "->", "getRegZeroIndex", "(", ")", ",", "MMI", "->", "getContext", "(", ")", ")", ")", ";", "OutStreamer", "->", "emitAssignment", "(", "MMI", "->", "getContext", "(", ")", ".", "getOrCreateSymbol", "(", "StringRef", "(", "", ")", ")", ",", "MCConstantExpr", "::", "create", "(", "SubTM", "->", "getIORegSREG", "(", ")", ",", "MMI", "->", "getContext", "(", ")", ")", ")", ";", "if", "(", "!", "SubTM", "->", "hasSmallStack", "(", ")", ")", "OutStreamer", "->", "emitAssignment", "(", "MMI", "->", "getContext", "(", ")", ".", "getOrCreateSymbol", "(", "StringRef", "(", "", ")", ")", ",", "MCConstantExpr", "::", "create", "(", "SubTM", "->", "getIORegSPH", "(", ")", ",", "MMI", "->", "getContext", "(", ")", ")", ")", ";"], "ground_truth": ["OutStreamer", "->", "emitAssignment", "(", "MMI", "->", "getContext", "(", ")", ".", "getOrCreateSymbol", "(", "StringRef", "(", "", ")", ")", ",", "MCConstantExpr", "::", "create", "(", "SubTM", "->", "getIORegSPL", "(", ")", ",", "MMI", "->", "getContext", "(", ")", ")", ")", ";"], "File": "AVRAsmPrinter8", "Func": "emitStartOfAsmFile", "Target": "AVR", "Target_Clf": "MPU", "Compiler_Type": "LLVM", "Idx": 112527, "Length": 153, "Cover_Rate": 0.46788990825688076} {"Template_token": ["", "AsmPrinter", "(", "TargetMachine", "&", "TM", ",", "std", "::", "unique_ptr", "<", "MCStreamer", ">", "Streamer", ")", ":", "AsmPrinter", "(", "TM", ",", "std", "::", "move", "(", "Streamer", ")", ")", ",", "MRI", "(", "*", "TM", ".", "getMCRegisterInfo", "(", ")", ")", "{"], "ground_truth": ["}"], "File": "AVRAsmPrinter", "Func": "AVRAsmPrinter", "Target": "AVR", "Target_Clf": "MPU", "Compiler_Type": "LLVM", "Idx": 112528, "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": "AVRAsmPrinter", "Func": "AVRAsmPrinter", "Target": "AVR", "Target_Clf": "MPU", "Compiler_Type": "LLVM", "Idx": 112529, "Length": 38, "Cover_Rate": 1.0} {"Template_token": ["", "MCSymbol", "*", "DoCopyData", "=", "OutContext", ".", "getOrCreateSymbol", "(", "", ")", ";", "MCSymbol", "*", "DoClearBss", "=", "OutContext", ".", "getOrCreateSymbol", "(", "", ")", ";"], "ground_truth": ["OutStreamer", "->", "emitRawComment", "(", "", ")", ";"], "File": "AVRAsmPrinter", "Func": "doFinalization", "Target": "AVR", "Target_Clf": "MPU", "Compiler_Type": "LLVM", "Idx": 112530, "Length": 29, "Cover_Rate": 0.3333333333333333} {"Template_token": ["", "MCInst", "I", ";", "MCInstLowering", ".", "lowerInstruction", "(", "*", "MI", ",", "I", ")", ";"], "ground_truth": ["EmitToStreamer", "(", "*", "OutStreamer", ",", "I", ")", ";"], "File": "AVRAsmPrinter", "Func": "emitInstruction", "Target": "AVR", "Target_Clf": "MPU", "Compiler_Type": "LLVM", "Idx": 112531, "Length": 21, "Cover_Rate": 0.5} {"Template_token": ["", "MCInstLowering", ".", "lowerInstruction", "(", "*", "MI", ",", "I", ")", ";", "EmitToStreamer", "(", "*", "OutStreamer", ",", "I", ")", ";"], "ground_truth": ["}"], "File": "AVRAsmPrinter", "Func": "emitInstruction", "Target": "AVR", "Target_Clf": "MPU", "Compiler_Type": "LLVM", "Idx": 112532, "Length": 19, "Cover_Rate": 0.4523809523809524} {"Template_token": ["", "void", "AsmPrinter", "::", "emitXXStructor", "(", "const", "DataLayout", "&", "DL", ",", "const", "Constant", "*", "CV", ")", "{", "if", "(", "!", "EmittedStructorSymbolAttrs", ")", "{", "OutStreamer", "->", "emitRawComment", "(", "", "", ")", ";", "OutStreamer", "->", "emitRawComment", "(", "", ")", ";", "MCSymbol", "*", "CtorsSym", "=", "OutContext", ".", "getOrCreateSymbol", "(", "", ")", ";", "OutStreamer", "->", "emitSymbolAttribute", "(", "CtorsSym", ",", "MCSA_Global", ")", ";", "MCSymbol", "*", "DtorsSym", "=", "OutContext", ".", "getOrCreateSymbol", "(", "", ")", ";", "OutStreamer", "->", "emitSymbolAttribute", "(", "DtorsSym", ",", "MCSA_Global", ")", ";", "EmittedStructorSymbolAttrs", "=", "true", ";", "}"], "ground_truth": ["AsmPrinter", "::", "emitXXStructor", "(", "DL", ",", "CV", ")", ";"], "File": "AVRAsmPrinter", "Func": "emitXXStructor", "Target": "AVR", "Target_Clf": "MPU", "Compiler_Type": "LLVM", "Idx": 112533, "Length": 91, "Cover_Rate": 0.9891304347826086} {"Template_token": ["", "return", "", ";"], "ground_truth": ["}"], "File": "AVRAsmPrinter", "Func": "getPassName", "Target": "AVR", "Target_Clf": "MPU", "Compiler_Type": "LLVM", "Idx": 112534, "Length": 4, "Cover_Rate": 0.36363636363636365} {"Template_token": ["", "LLVM_EXTERNAL_VISIBILITY", "void", "LLVMInitializeAsmPrinter", "(", ")", "{", "llvm", "::", "RegisterAsmPrinter", "<", "llvm", "::", "AsmPrinter", ">", "X", "(", "llvm", "::", "getTheTarget", "(", ")", ")", ";"], "ground_truth": ["}"], "File": "AVRAsmPrinter", "Func": "LLVMInitializeAVRAsmPrinter", "Target": "AVR", "Target_Clf": "MPU", "Compiler_Type": "LLVM", "Idx": 112536, "Length": 24, "Cover_Rate": 1.0} {"Template_token": ["", "const", "MCExpr", "*", "Expr", "=", "MCSymbolRefExpr", "::", "create", "(", "getSymbol", "(", "GV", ")", ",", "Ctx", ")", ";", "return", "MCExpr", "::", "create", "(", "MCExpr", "::", "VK__PM", ",", "Expr", ",", "false", ",", "Ctx", ")", ";", "}"], "ground_truth": ["}"], "File": "AVRAsmPrinter", "Func": "lowerConstant", "Target": "AVR", "Target_Clf": "MPU", "Compiler_Type": "LLVM", "Idx": 112537, "Length": 35, "Cover_Rate": 0.36082474226804123} {"Template_token": ["", "}", "else", "{", "assert", "(", "MI", "->", "getOperand", "(", "OpNum", ")", ".", "getReg", "(", ")", "==", "", "&&", "", ")", ";", "O", "<<", "", ";", "}", "unsigned", "OpFlags", "=", "MI", "->", "getOperand", "(", "OpNum", "-", "", ")", ".", "getImm", "(", ")", ";", "unsigned", "NumOpRegs", "=", "InlineAsm", "::", "getNumOperandRegisters", "(", "OpFlags", ")", ";", "if", "(", "NumOpRegs", "==", "", ")", "{"], "ground_truth": ["O", "<<", "'+'", "<<", "MI", "->", "getOperand", "(", "OpNum", "+", "", ")", ".", "getImm", "(", ")", ";"], "File": "AVRAsmPrinter", "Func": "PrintAsmMemoryOperand", "Target": "AVR", "Target_Clf": "MPU", "Compiler_Type": "LLVM", "Idx": 112538, "Length": 76, "Cover_Rate": 0.4418604651162791} {"Template_token": ["", "if", "(", "ExtraCode", "[", "", "]", "!=", "", ")", "return", "true", ";", "if", "(", "ExtraCode", "[", "", "]", ">=", "'A'", "&&", "ExtraCode", "[", "", "]", "<=", "'Z'", ")", "{", "const", "MachineOperand", "&", "RegOp", "=", "MI", "->", "getOperand", "(", "OpNum", ")", ";", "assert", "(", "RegOp", ".", "isReg", "(", ")", "&&", "", "", ")", ";", "Register", "Reg", "=", "RegOp", ".", "getReg", "(", ")", ";", "unsigned", "ByteNumber", "=", "ExtraCode", "[", "", "]", "-", "'A'", ";", "unsigned", "OpFlags", "=", "MI", "->", "getOperand", "(", "OpNum", "-", "", ")", ".", "getImm", "(", ")", ";", "unsigned", "NumOpRegs", "=", "InlineAsm", "::", "getNumOperandRegisters", "(", "OpFlags", ")", ";", "(", "void", ")", "NumOpRegs", ";", "const", "Subtarget", "&", "STI", "=", "MF", "->", "getSubtarget", "<", "Subtarget", ">", "(", ")", ";"], "ground_truth": ["const", "TargetRegisterInfo", "&", "TRI", "=", "*", "STI", ".", "getRegisterInfo", "(", ")", ";"], "File": "AVRAsmPrinter", "Func": "PrintAsmOperand", "Target": "AVR", "Target_Clf": "MPU", "Compiler_Type": "LLVM", "Idx": 112539, "Length": 129, "Cover_Rate": 0.4201954397394137} {"Template_token": ["", "Disassembler", "(", "const", "MCSubtargetInfo", "&", "STI", ",", "MCContext", "&", "Ctx", ")", ":", "MCDisassembler", "(", "STI", ",", "Ctx", ")", "{"], "ground_truth": ["}"], "File": "AVRDisassembler (2)", "Func": "AVRDisassembler", "Target": "AVR", "Target_Clf": "MPU", "Compiler_Type": "LLVM", "Idx": 112540, "Length": 20, "Cover_Rate": 1.0} {"Template_token": ["", "Disassembler", "(", "const", "MCSubtargetInfo", "&", "STI", ",", "MCContext", "&", "Ctx", ")", ":", "MCDisassembler", "(", "STI", ",", "Ctx", ")", "{"], "ground_truth": ["}"], "File": "AVRDisassembler (2)", "Func": "AVRDisassembler", "Target": "AVR", "Target_Clf": "MPU", "Compiler_Type": "LLVM", "Idx": 112541, "Length": 20, "Cover_Rate": 1.0} {"Template_token": ["", "return", "new", "Disassembler", "(", "STI", ",", "Ctx", ")", ";"], "ground_truth": ["}"], "File": "AVRDisassembler (2)", "Func": "createAVRDisassembler", "Target": "AVR", "Target_Clf": "MPU", "Compiler_Type": "LLVM", "Idx": 112542, "Length": 10, "Cover_Rate": 0.3333333333333333} {"Template_token": ["", "static", "MCDisassembler", "*", "createDisassembler", "(", "const", "Target", "&", "T", ",", "const", "MCSubtargetInfo", "&", "STI", ",", "MCContext", "&", "Ctx", ")", "{", "return", "new", "Disassembler", "(", "STI", ",", "Ctx", ")", ";"], "ground_truth": ["}"], "File": "AVRDisassembler (2)", "Func": "createAVRDisassembler", "Target": "AVR", "Target_Clf": "MPU", "Compiler_Type": "LLVM", "Idx": 112543, "Length": 30, "Cover_Rate": 1.0} {"Template_token": ["", "Inst", ".", "addOperand", "(", "MCOperand", "::", "createImm", "(", "Field", "<<", "", ")", ")", ";"], "ground_truth": ["return", "MCDisassembler", "::", "Success", ";"], "File": "AVRDisassembler (2)", "Func": "decodeCallTarget", "Target": "AVR", "Target_Clf": "MPU", "Compiler_Type": "LLVM", "Idx": 112544, "Length": 19, "Cover_Rate": 0.475} {"Template_token": ["", "Inst", ".", "addOperand", "(", "MCOperand", "::", "createImm", "(", "Field", "<<", "", ")", ")", ";"], "ground_truth": ["return", "MCDisassembler", "::", "Success", ";"], "File": "AVRDisassembler (2)", "Func": "decodeCallTarget", "Target": "AVR", "Target_Clf": "MPU", "Compiler_Type": "LLVM", "Idx": 112545, "Length": 19, "Cover_Rate": 0.475} {"Template_token": ["", "unsigned", "r", "=", "fieldFromInstruction", "(", "Insn", ",", "", ",", "", ")", "+", "", ";"], "ground_truth": ["if", "(", "DecodeGPR8RegisterClass", "(", "Inst", ",", "d", ",", "Address", ",", "Decoder", ")", "==", "MCDisassembler", "::", "Fail", ")", "return", "MCDisassembler", "::", "Fail", ";"], "File": "AVRDisassembler (2)", "Func": "decodeFFMULRdRr", "Target": "AVR", "Target_Clf": "MPU", "Compiler_Type": "LLVM", "Idx": 112546, "Length": 36, "Cover_Rate": 0.3673469387755102} {"Template_token": ["", "unsigned", "addr", "=", "", ";", "addr", "|=", "fieldFromInstruction", "(", "Insn", ",", "", ",", "", ")", ";", "addr", "|=", "fieldFromInstruction", "(", "Insn", ",", "", ",", "", ")", "<<", "", ";", "unsigned", "reg", "=", "fieldFromInstruction", "(", "Insn", ",", "", ",", "", ")", ";"], "ground_truth": ["Inst", ".", "addOperand", "(", "MCOperand", "::", "createImm", "(", "addr", ")", ")", ";"], "File": "AVRDisassembler (2)", "Func": "decodeFIOARr", "Target": "AVR", "Target_Clf": "MPU", "Compiler_Type": "LLVM", "Idx": 112547, "Length": 53, "Cover_Rate": 0.5247524752475248} {"Template_token": ["", "static", "DecodeStatus", "decodeFIOBIT", "(", "MCInst", "&", "Inst", ",", "unsigned", "Insn", ",", "uint64_t", "Address", ",", "const", "MCDisassembler", "*", "Decoder", ")", "{", "unsigned", "addr", "=", "fieldFromInstruction", "(", "Insn", ",", "", ",", "", ")", ";"], "ground_truth": ["unsigned", "b", "=", "fieldFromInstruction", "(", "Insn", ",", "", ",", "", ")", ";"], "File": "AVRDisassembler (2)", "Func": "decodeFIOBIT", "Target": "AVR", "Target_Clf": "MPU", "Compiler_Type": "LLVM", "Idx": 112548, "Length": 44, "Cover_Rate": 0.5945945945945946} {"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": "AVRDisassembler (2)", "Func": "decodeFIORdA", "Target": "AVR", "Target_Clf": "MPU", "Compiler_Type": "LLVM", "Idx": 112549, "Length": 81, "Cover_Rate": 0.801980198019802} {"Template_token": ["", "static", "DecodeStatus", "decodeFLPMX", "(", "MCInst", "&", "Inst", ",", "unsigned", "Insn", ",", "uint64_t", "Address", ",", "const", "MCDisassembler", "*", "Decoder", ")", "{", "if", "(", "decodeFRd", "(", "Inst", ",", "Insn", ",", "Address", ",", "Decoder", ")", "==", "MCDisassembler", "::", "Fail", ")", "return", "MCDisassembler", "::", "Fail", ";", "Inst", ".", "addOperand", "(", "MCOperand", "::", "createReg", "(", "", ")", ")", ";"], "ground_truth": ["return", "MCDisassembler", "::", "Success", ";"], "File": "AVRDisassembler (2)", "Func": "decodeFLPMX", "Target": "AVR", "Target_Clf": "MPU", "Compiler_Type": "LLVM", "Idx": 112551, "Length": 59, "Cover_Rate": 0.9516129032258065} {"Template_token": ["", "if", "(", "DecodeGPR8RegisterClass", "(", "Inst", ",", "r", ",", "Address", ",", "Decoder", ")", "==", "MCDisassembler", "::", "Fail", ")", "return", "MCDisassembler", "::", "Fail", ";"], "ground_truth": ["if", "(", "DecodeGPR8RegisterClass", "(", "Inst", ",", "d", ",", "Address", ",", "Decoder", ")", "==", "MCDisassembler", "::", "Fail", ")", "return", "MCDisassembler", "::", "Fail", ";"], "File": "AVRDisassembler (2)", "Func": "decodeFMOVWRdRr", "Target": "AVR", "Target_Clf": "MPU", "Compiler_Type": "LLVM", "Idx": 112552, "Length": 44, "Cover_Rate": 0.4489795918367347} {"Template_token": ["", "static", "DecodeStatus", "decodeFMUL2RdRr", "(", "MCInst", "&", "Inst", ",", "unsigned", "Insn", ",", "uint64_t", "Address", ",", "const", "MCDisassembler", "*", "Decoder", ")", "{"], "ground_truth": ["unsigned", "rd", "=", "fieldFromInstruction", "(", "Insn", ",", "", ",", "", ")", "+", "", ";"], "File": "AVRDisassembler (2)", "Func": "decodeFMUL2RdRr", "Target": "AVR", "Target_Clf": "MPU", "Compiler_Type": "LLVM", "Idx": 112553, "Length": 34, "Cover_Rate": 0.3469387755102041} {"Template_token": ["", "k", "|=", "fieldFromInstruction", "(", "Insn", ",", "", ",", "", ")", ";", "k", "|=", "fieldFromInstruction", "(", "Insn", ",", "", ",", "", ")", "<<", "", ";", "if", "(", "DecodeGPR8RegisterClass", "(", "Inst", ",", "d", ",", "Address", ",", "Decoder", ")", "==", "MCDisassembler", "::", "Fail", ")", "return", "MCDisassembler", "::", "Fail", ";", "if", "(", "DecodeGPR8RegisterClass", "(", "Inst", ",", "d", ",", "Address", ",", "Decoder", ")", "==", "MCDisassembler", "::", "Fail", ")", "return", "MCDisassembler", "::", "Fail", ";", "Inst", ".", "addOperand", "(", "MCOperand", "::", "createImm", "(", "k", ")", ")", ";"], "ground_truth": ["return", "MCDisassembler", "::", "Success", ";"], "File": "AVRDisassembler (2)", "Func": "decodeFWRdK", "Target": "AVR", "Target_Clf": "MPU", "Compiler_Type": "LLVM", "Idx": 112556, "Length": 85, "Cover_Rate": 0.6692913385826772} {"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": "AVRDisassembler (2)", "Func": "decodeFWRdK", "Target": "AVR", "Target_Clf": "MPU", "Compiler_Type": "LLVM", "Idx": 112557, "Length": 44, "Cover_Rate": 0.3464566929133858} {"Template_token": ["", "if", "(", "RegNo", ">", "", ")", "return", "MCDisassembler", "::", "Fail", ";"], "ground_truth": ["unsigned", "Register", "=", "GPRDecoderTable", "[", "RegNo", "]", ";"], "File": "AVRDisassembler (2)", "Func": "DecodeGPR8RegisterClass", "Target": "AVR", "Target_Clf": "MPU", "Compiler_Type": "LLVM", "Idx": 112558, "Length": 19, "Cover_Rate": 0.3333333333333333} {"Template_token": ["", "static", "DecodeStatus", "DecodeLD8RegisterClass", "(", "MCInst", "&", "Inst", ",", "unsigned", "RegNo", ",", "uint64_t", "Address", ",", "const", "MCDisassembler", "*", "Decoder", ")", "{", "if", "(", "RegNo", ">", "", ")", "return", "MCDisassembler", "::", "Fail", ";", "unsigned", "Register", "=", "GPRDecoderTable", "[", "RegNo", "+", "", "]", ";"], "ground_truth": ["Inst", ".", "addOperand", "(", "MCOperand", "::", "createReg", "(", "Register", ")", ")", ";"], "File": "AVRDisassembler (2)", "Func": "DecodeLD8RegisterClass", "Target": "AVR", "Target_Clf": "MPU", "Compiler_Type": "LLVM", "Idx": 112559, "Length": 53, "Cover_Rate": 0.8983050847457628} {"Template_token": ["", "Inst", ".", "addOperand", "(", "MCOperand", "::", "createReg", "(", "(", "Insn", "&", "", ")", "?", "", ":", "", ")", ")", ";", "Inst", ".", "addOperand", "(", "MCOperand", "::", "createImm", "(", "Insn", "&", "", ")", ")", ";", "return", "MCDisassembler", "::", "Success", ";"], "ground_truth": ["}"], "File": "AVRDisassembler (2)", "Func": "decodeMemri", "Target": "AVR", "Target_Clf": "MPU", "Compiler_Type": "LLVM", "Idx": 112560, "Length": 40, "Cover_Rate": 0.5333333333333333} {"Template_token": ["", "switch", "(", "Size", ")", "{", "case", "", ":", "return", "DecoderTable16", ";", "case", "", ":", "return", "DecoderTable32", ";"], "ground_truth": ["default", ":"], "File": "AVRDisassembler (2)", "Func": "getDecoderTable", "Target": "AVR", "Target_Clf": "MPU", "Compiler_Type": "LLVM", "Idx": 112561, "Length": 19, "Cover_Rate": 0.5277777777777778} {"Template_token": ["", "case", "", ":", "return", "DecoderTable16", ";", "case", "", ":"], "ground_truth": ["return", "DecoderTable32", ";"], "File": "AVRDisassembler (2)", "Func": "getDecoderTable", "Target": "AVR", "Target_Clf": "MPU", "Compiler_Type": "LLVM", "Idx": 112562, "Length": 12, "Cover_Rate": 0.3333333333333333} {"Template_token": ["", "{", "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", "=", "decodeLoadStore", "(", "Instr", ",", "Insn", ",", "Address", ",", "this", ")", ";", "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", ")", ";"], "ground_truth": ["if", "(", "Result", "!=", "MCDisassembler", "::", "Fail", ")", "{"], "File": "AVRDisassembler (2)", "Func": "getInstruction", "Target": "AVR", "Target_Clf": "MPU", "Compiler_Type": "LLVM", "Idx": 112563, "Length": 139, "Cover_Rate": 0.7554347826086957} {"Template_token": ["", "TargetRegistry", "::", "RegisterMCDisassembler", "(", "getTheTarget", "(", ")", ",", "createDisassembler", ")", ";"], "ground_truth": ["}"], "File": "AVRDisassembler (2)", "Func": "LLVMInitializeAVRDisassembler", "Target": "AVR", "Target_Clf": "MPU", "Compiler_Type": "LLVM", "Idx": 112564, "Length": 12, "Cover_Rate": 0.6666666666666666} {"Template_token": ["", "TargetRegistry", "::", "RegisterMCDisassembler", "(", "getTheTarget", "(", ")", ",", "createDisassembler", ")", ";"], "ground_truth": ["}"], "File": "AVRDisassembler (2)", "Func": "LLVMInitializeAVRDisassembler", "Target": "AVR", "Target_Clf": "MPU", "Compiler_Type": "LLVM", "Idx": 112565, "Length": 12, "Cover_Rate": 0.6666666666666666} {"Template_token": ["", "Size", "=", "", ";", "Insn", "=", "(", "Bytes", "[", "", "]", "<<", "", ")", "|", "(", "Bytes", "[", "", "]", "<<", "", ")", ";", "return", "MCDisassembler", "::", "Success", ";"], "ground_truth": ["}"], "File": "AVRDisassembler (2)", "Func": "readInstruction16", "Target": "AVR", "Target_Clf": "MPU", "Compiler_Type": "LLVM", "Idx": 112566, "Length": 30, "Cover_Rate": 0.410958904109589} {"Template_token": ["", "static", "DecodeStatus", "readInstruction32", "(", "ArrayRef", "<", "uint8_t", ">", "Bytes", ",", "uint64_t", "Address", ",", "uint64_t", "&", "Size", ",", "uint32_t", "&", "Insn", ")", "{", "if", "(", "Bytes", ".", "size", "(", ")", "<", "", ")", "{", "Size", "=", "", ";", "return", "MCDisassembler", "::", "Fail", ";", "}", "Size", "=", "", ";"], "ground_truth": ["Insn", "=", "(", "Bytes", "[", "", "]", "<<", "", ")", "|", "(", "Bytes", "[", "", "]", "<<", "", ")", "|", "(", "Bytes", "[", "", "]", "<<", "", ")", "|", "(", "Bytes", "[", "", "]", "<<", "", ")", ";"], "File": "AVRDisassembler (2)", "Func": "readInstruction32", "Target": "AVR", "Target_Clf": "MPU", "Compiler_Type": "LLVM", "Idx": 112567, "Length": 85, "Cover_Rate": 0.9340659340659341} {"Template_token": ["", "static", "DecodeStatus", "decodeFFMULRdRr", "(", "MCInst", "&", "Inst", ",", "unsigned", "Insn", ",", "uint64_t", "Address", ",", "const", "void", "*", "Decoder", ")", "{"], "ground_truth": ["unsigned", "d", "=", "fieldFromInstruction", "(", "Insn", ",", "", ",", "", ")", "+", "", ";"], "File": "AVRDisassembler13", "Func": "decodeFFMULRdRr", "Target": "AVR", "Target_Clf": "MPU", "Compiler_Type": "LLVM", "Idx": 112568, "Length": 34, "Cover_Rate": 0.3469387755102041} {"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", ";"], "ground_truth": ["Inst", ".", "addOperand", "(", "MCOperand", "::", "createReg", "(", "", ")", ")", ";"], "File": "AVRDisassembler13", "Func": "decodeFLPMX", "Target": "AVR", "Target_Clf": "MPU", "Compiler_Type": "LLVM", "Idx": 112569, "Length": 54, "Cover_Rate": 0.8709677419354839} {"Template_token": ["", "if", "(", "DecodeGPR8RegisterClass", "(", "Inst", ",", "r", ",", "Address", ",", "Decoder", ")", "==", "MCDisassembler", "::", "Fail", ")", "return", "MCDisassembler", "::", "Fail", ";"], "ground_truth": ["if", "(", "DecodeGPR8RegisterClass", "(", "Inst", ",", "d", ",", "Address", ",", "Decoder", ")", "==", "MCDisassembler", "::", "Fail", ")", "return", "MCDisassembler", "::", "Fail", ";"], "File": "AVRDisassembler13", "Func": "decodeFMOVWRdRr", "Target": "AVR", "Target_Clf": "MPU", "Compiler_Type": "LLVM", "Idx": 112570, "Length": 44, "Cover_Rate": 0.4489795918367347} {"Template_token": ["", "unsigned", "rd", "=", "fieldFromInstruction", "(", "Insn", ",", "", ",", "", ")", "+", "", ";", "unsigned", "rr", "=", "fieldFromInstruction", "(", "Insn", ",", "", ",", "", ")", "+", "", ";", "if", "(", "DecodeGPR8RegisterClass", "(", "Inst", ",", "rd", ",", "Address", ",", "Decoder", ")", "==", "MCDisassembler", "::", "Fail", ")", "return", "MCDisassembler", "::", "Fail", ";", "if", "(", "DecodeGPR8RegisterClass", "(", "Inst", ",", "rr", ",", "Address", ",", "Decoder", ")", "==", "MCDisassembler", "::", "Fail", ")", "return", "MCDisassembler", "::", "Fail", ";", "return", "MCDisassembler", "::", "Success", ";"], "ground_truth": ["}"], "File": "AVRDisassembler13", "Func": "decodeFMUL2RdRr", "Target": "AVR", "Target_Clf": "MPU", "Compiler_Type": "LLVM", "Idx": 112571, "Length": 78, "Cover_Rate": 0.7959183673469388} {"Template_token": ["", "if", "(", "DecodeGPR8RegisterClass", "(", "Inst", ",", "d", ",", "Address", ",", "Decoder", ")", "==", "MCDisassembler", "::", "Fail", ")", "return", "MCDisassembler", "::", "Fail", ";", "Inst", ".", "addOperand", "(", "MCOperand", "::", "createImm", "(", "k", ")", ")", ";"], "ground_truth": ["return", "MCDisassembler", "::", "Success", ";"], "File": "AVRDisassembler13", "Func": "decodeFWRdK", "Target": "AVR", "Target_Clf": "MPU", "Compiler_Type": "LLVM", "Idx": 112573, "Length": 39, "Cover_Rate": 0.30708661417322836} {"Template_token": ["", "unsigned", "d", "=", "fieldFromInstruction", "(", "Insn", ",", "", ",", "", ")", "*", "", "+", "", ";", "unsigned", "k", "=", "", ";", "k", "|=", "fieldFromInstruction", "(", "Insn", ",", "", ",", "", ")", ";", "k", "|=", "fieldFromInstruction", "(", "Insn", ",", "", ",", "", ")", "<<", "", ";"], "ground_truth": ["if", "(", "DecodeGPR8RegisterClass", "(", "Inst", ",", "d", ",", "Address", ",", "Decoder", ")", "==", "MCDisassembler", "::", "Fail", ")", "return", "MCDisassembler", "::", "Fail", ";"], "File": "AVRDisassembler13", "Func": "decodeFWRdK", "Target": "AVR", "Target_Clf": "MPU", "Compiler_Type": "LLVM", "Idx": 112574, "Length": 67, "Cover_Rate": 0.5275590551181102} {"Template_token": ["", "if", "(", "RegNo", ">", "", ")", "return", "MCDisassembler", "::", "Fail", ";", "unsigned", "Register", "=", "GPRDecoderTable", "[", "RegNo", "+", "", "]", ";", "Inst", ".", "addOperand", "(", "MCOperand", "::", "createReg", "(", "Register", ")", ")", ";"], "ground_truth": ["return", "MCDisassembler", "::", "Success", ";"], "File": "AVRDisassembler13", "Func": "DecodeLD8RegisterClass", "Target": "AVR", "Target_Clf": "MPU", "Compiler_Type": "LLVM", "Idx": 112575, "Length": 38, "Cover_Rate": 0.6440677966101694} {"Template_token": ["", "static", "DecodeStatus", "DecodeLD8RegisterClass", "(", "MCInst", "&", "Inst", ",", "unsigned", "RegNo", ",", "uint64_t", "Address", ",", "const", "void", "*", "Decoder", ")", "{", "if", "(", "RegNo", ">", "", ")", "return", "MCDisassembler", "::", "Fail", ";", "unsigned", "Register", "=", "GPRDecoderTable", "[", "RegNo", "+", "", "]", ";", "Inst", ".", "addOperand", "(", "MCOperand", "::", "createReg", "(", "Register", ")", ")", ";", "return", "MCDisassembler", "::", "Success", ";"], "ground_truth": ["}"], "File": "AVRDisassembler13", "Func": "DecodeLD8RegisterClass", "Target": "AVR", "Target_Clf": "MPU", "Compiler_Type": "LLVM", "Idx": 112576, "Length": 59, "Cover_Rate": 1.0} {"Template_token": ["", "static", "DecodeStatus", "DecodeLD8RegisterClass", "(", "MCInst", "&", "Inst", ",", "unsigned", "RegNo", ",", "uint64_t", "Address", ",", "const", "void", "*", "Decoder", ")", "{"], "ground_truth": ["return", "MCDisassembler", "::", "Success", ";"], "File": "AVRDisassembler1", "Func": "DecodeLD8RegisterClass", "Target": "AVR", "Target_Clf": "MPU", "Compiler_Type": "LLVM", "Idx": 112577, "Length": 25, "Cover_Rate": 0.9615384615384616} {"Template_token": ["", "static", "DecodeStatus", "DecodeLD8RegisterClass", "(", "MCInst", "&", "Inst", ",", "unsigned", "RegNo", ",", "uint64_t", "Address", ",", "const", "void", "*", "Decoder", ")", "{"], "ground_truth": ["return", "MCDisassembler", "::", "Success", ";"], "File": "AVRDisassembler1", "Func": "DecodeLD8RegisterClass", "Target": "AVR", "Target_Clf": "MPU", "Compiler_Type": "LLVM", "Idx": 112578, "Length": 25, "Cover_Rate": 0.9615384615384616} {"Template_token": ["", "static", "DecodeStatus", "DecodePTRREGSRegisterClass", "(", "MCInst", "&", "Inst", ",", "unsigned", "RegNo", ",", "uint64_t", "Address", ",", "const", "void", "*", "Decoder", ")", "{", "return", "MCDisassembler", "::", "Success", ";"], "ground_truth": ["}"], "File": "AVRDisassembler1", "Func": "DecodePTRREGSRegisterClass", "Target": "AVR", "Target_Clf": "MPU", "Compiler_Type": "LLVM", "Idx": 112579, "Length": 26, "Cover_Rate": 1.0} {"Template_token": ["", "static", "DecodeStatus", "DecodePTRREGSRegisterClass", "(", "MCInst", "&", "Inst", ",", "unsigned", "RegNo", ",", "uint64_t", "Address", ",", "const", "void", "*", "Decoder", ")", "{", "return", "MCDisassembler", "::", "Success", ";"], "ground_truth": ["}"], "File": "AVRDisassembler1", "Func": "DecodePTRREGSRegisterClass", "Target": "AVR", "Target_Clf": "MPU", "Compiler_Type": "LLVM", "Idx": 112580, "Length": 26, "Cover_Rate": 1.0} {"Template_token": ["", "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", ";"], "ground_truth": ["}"], "File": "AVRDisassembler1", "Func": "getInstruction", "Target": "AVR", "Target_Clf": "MPU", "Compiler_Type": "LLVM", "Idx": 112581, "Length": 58, "Cover_Rate": 0.35365853658536583} {"Template_token": ["", "void", "LLVMInitializeDisassembler", "(", ")", "{"], "ground_truth": ["TargetRegistry", "::", "RegisterMCDisassembler", "(", "getTheTarget", "(", ")", ",", "createDisassembler", ")", ";"], "File": "AVRDisassembler1", "Func": "LLVMInitializeAVRDisassembler", "Target": "AVR", "Target_Clf": "MPU", "Compiler_Type": "LLVM", "Idx": 112583, "Length": 16, "Cover_Rate": 0.9411764705882353} {"Template_token": ["", "Size", "=", "", ";", "return", "MCDisassembler", "::", "Fail", ";", "}", "Size", "=", "", ";", "Insn", "=", "(", "Bytes", "[", "", "]", "<<", "", ")", "|", "(", "Bytes", "[", "", "]", "<<", "", ")", "|", "(", "Bytes", "[", "", "]", "<<", "", ")", "|", "(", "Bytes", "[", "", "]", "<<", "", ")", ";"], "ground_truth": ["return", "MCDisassembler", "::", "Success", ";"], "File": "AVRDisassembler1", "Func": "readInstruction32", "Target": "AVR", "Target_Clf": "MPU", "Compiler_Type": "LLVM", "Idx": 112584, "Length": 57, "Cover_Rate": 0.6263736263736264} {"Template_token": ["", "return", "MCDisassembler", "::", "Fail", ";", "}", "Size", "=", "", ";"], "ground_truth": ["Insn", "=", "(", "Bytes", "[", "", "]", "<<", "", ")", "|", "(", "Bytes", "[", "", "]", "<<", "", ")", "|", "(", "Bytes", "[", "", "]", "<<", "", ")", "|", "(", "Bytes", "[", "", "]", "<<", "", ")", ";"], "File": "AVRDisassembler1", "Func": "readInstruction32", "Target": "AVR", "Target_Clf": "MPU", "Compiler_Type": "LLVM", "Idx": 112585, "Length": 48, "Cover_Rate": 0.5274725274725275} {"Template_token": ["", "static", "DecodeStatus", "DecodePTRREGSRegisterClass", "(", "MCInst", "&", "Inst", ",", "unsigned", "RegNo", ",", "uint64_t", "Address", ",", "const", "MCDisassembler", "*", "Decoder", ")", "{"], "ground_truth": ["assert", "(", "false", "&&", "", ")", ";"], "File": "AVRDisassembler5", "Func": "DecodePTRREGSRegisterClass", "Target": "AVR", "Target_Clf": "MPU", "Compiler_Type": "LLVM", "Idx": 112586, "Length": 27, "Cover_Rate": 0.8181818181818182} {"Template_token": ["", "Inst", ".", "addOperand", "(", "MCOperand", "::", "createImm", "(", "Field", "<<", "", ")", ")", ";", "return", "MCDisassembler", "::", "Success", ";"], "ground_truth": ["}"], "File": "AVRDisassembler", "Func": "decodeCallTarget", "Target": "AVR", "Target_Clf": "MPU", "Compiler_Type": "LLVM", "Idx": 112587, "Length": 20, "Cover_Rate": 0.5} {"Template_token": ["", "addr", "|=", "fieldFromInstruction", "(", "Insn", ",", "", ",", "", ")", ";", "addr", "|=", "fieldFromInstruction", "(", "Insn", ",", "", ",", "", ")", "<<", "", ";", "unsigned", "reg", "=", "fieldFromInstruction", "(", "Insn", ",", "", ",", "", ")", ";"], "ground_truth": ["Inst", ".", "addOperand", "(", "MCOperand", "::", "createImm", "(", "addr", ")", ")", ";"], "File": "AVRDisassembler", "Func": "decodeFIOARr", "Target": "AVR", "Target_Clf": "MPU", "Compiler_Type": "LLVM", "Idx": 112588, "Length": 48, "Cover_Rate": 0.4752475247524752} {"Template_token": ["", "Inst", ".", "addOperand", "(", "MCOperand", "::", "createImm", "(", "addr", ")", ")", ";"], "ground_truth": ["if", "(", "DecodeGPR8RegisterClass", "(", "Inst", ",", "reg", ",", "Address", ",", "Decoder", ")", "==", "MCDisassembler", "::", "Fail", ")", "return", "MCDisassembler", "::", "Fail", ";"], "File": "AVRDisassembler", "Func": "decodeFIOARr", "Target": "AVR", "Target_Clf": "MPU", "Compiler_Type": "LLVM", "Idx": 112589, "Length": 34, "Cover_Rate": 0.33663366336633666} {"Template_token": ["", "unsigned", "b", "=", "fieldFromInstruction", "(", "Insn", ",", "", ",", "", ")", ";", "Inst", ".", "addOperand", "(", "MCOperand", "::", "createImm", "(", "addr", ")", ")", ";", "Inst", ".", "addOperand", "(", "MCOperand", "::", "createImm", "(", "b", ")", ")", ";"], "ground_truth": ["return", "MCDisassembler", "::", "Success", ";"], "File": "AVRDisassembler", "Func": "decodeFIOBIT", "Target": "AVR", "Target_Clf": "MPU", "Compiler_Type": "LLVM", "Idx": 112590, "Length": 41, "Cover_Rate": 0.5540540540540541} {"Template_token": ["", "Inst", ".", "addOperand", "(", "MCOperand", "::", "createImm", "(", "addr", ")", ")", ";", "Inst", ".", "addOperand", "(", "MCOperand", "::", "createImm", "(", "b", ")", ")", ";"], "ground_truth": ["return", "MCDisassembler", "::", "Success", ";"], "File": "AVRDisassembler", "Func": "decodeFIOBIT", "Target": "AVR", "Target_Clf": "MPU", "Compiler_Type": "LLVM", "Idx": 112591, "Length": 29, "Cover_Rate": 0.3918918918918919} {"Template_token": ["", "if", "(", "DecodeGPR8RegisterClass", "(", "Inst", ",", "reg", ",", "Address", ",", "Decoder", ")", "==", "MCDisassembler", "::", "Fail", ")", "return", "MCDisassembler", "::", "Fail", ";", "Inst", ".", "addOperand", "(", "MCOperand", "::", "createImm", "(", "addr", ")", ")", ";"], "ground_truth": ["return", "MCDisassembler", "::", "Success", ";"], "File": "AVRDisassembler", "Func": "decodeFIORdA", "Target": "AVR", "Target_Clf": "MPU", "Compiler_Type": "LLVM", "Idx": 112592, "Length": 39, "Cover_Rate": 0.38613861386138615} {"Template_token": ["", "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", ")", ")", ";"], "ground_truth": ["return", "MCDisassembler", "::", "Success", ";"], "File": "AVRDisassembler", "Func": "decodeFIORdA", "Target": "AVR", "Target_Clf": "MPU", "Compiler_Type": "LLVM", "Idx": 112593, "Length": 75, "Cover_Rate": 0.7425742574257426} {"Template_token": ["", "static", "DecodeStatus", "DecodeGPR8RegisterClass", "(", "MCInst", "&", "Inst", ",", "unsigned", "RegNo", ",", "uint64_t", "Address", ",", "const", "void", "*", "Decoder", ")", "{", "if", "(", "RegNo", ">", "", ")", "return", "MCDisassembler", "::", "Fail", ";", "unsigned", "Register", "=", "GPRDecoderTable", "[", "RegNo", "]", ";", "Inst", ".", "addOperand", "(", "MCOperand", "::", "createReg", "(", "Register", ")", ")", ";", "return", "MCDisassembler", "::", "Success", ";"], "ground_truth": ["}"], "File": "AVRDisassembler", "Func": "DecodeGPR8RegisterClass", "Target": "AVR", "Target_Clf": "MPU", "Compiler_Type": "LLVM", "Idx": 112594, "Length": 57, "Cover_Rate": 1.0} {"Template_token": ["", "if", "(", "RegNo", ">", "", ")", "return", "MCDisassembler", "::", "Fail", ";", "unsigned", "Register", "=", "GPRDecoderTable", "[", "RegNo", "+", "", "]", ";"], "ground_truth": ["Inst", ".", "addOperand", "(", "MCOperand", "::", "createReg", "(", "Register", ")", ")", ";"], "File": "AVRDisassembler", "Func": "DecodeLD8RegisterClass", "Target": "AVR", "Target_Clf": "MPU", "Compiler_Type": "LLVM", "Idx": 112595, "Length": 33, "Cover_Rate": 0.559322033898305} {"Template_token": ["", "static", "DecodeStatus", "DecodePTRREGSRegisterClass", "(", "MCInst", "&", "Inst", ",", "unsigned", "RegNo", ",", "uint64_t", "Address", ",", "const", "void", "*", "Decoder", ")", "{", "assert", "(", "false", "&&", "", ")", ";", "return", "MCDisassembler", "::", "Success", ";"], "ground_truth": ["}"], "File": "AVRDisassembler", "Func": "DecodePTRREGSRegisterClass", "Target": "AVR", "Target_Clf": "MPU", "Compiler_Type": "LLVM", "Idx": 112597, "Length": 33, "Cover_Rate": 1.0} {"Template_token": ["", "case", "", ":", "return", "DecoderTable32", ";", "default", ":", "llvm_unreachable", "(", "", ")", ";", "}"], "ground_truth": ["}"], "File": "AVRDisassembler", "Func": "getDecoderTable", "Target": "AVR", "Target_Clf": "MPU", "Compiler_Type": "LLVM", "Idx": 112598, "Length": 15, "Cover_Rate": 0.4166666666666667} {"Template_token": ["", "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", ";"], "ground_truth": ["Result", "=", "decodeInstruction", "(", "getDecoderTable", "(", "Size", ")", ",", "Instr", ",", "Insn", ",", "Address", ",", "this", ",", "STI", ")", ";"], "File": "AVRDisassembler", "Func": "getInstruction", "Target": "AVR", "Target_Clf": "MPU", "Compiler_Type": "LLVM", "Idx": 112599, "Length": 105, "Cover_Rate": 0.65625} {"Template_token": ["", "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": "AVRDisassembler", "Func": "getInstruction", "Target": "AVR", "Target_Clf": "MPU", "Compiler_Type": "LLVM", "Idx": 112600, "Length": 99, "Cover_Rate": 0.61875} {"Template_token": ["", "virtual", "~", "Disassembler", "(", ")", "{"], "ground_truth": ["}"], "File": "AVRDisassembler", "Func": "~AVRDisassembler", "Target": "AVR", "Target_Clf": "MPU", "Compiler_Type": "LLVM", "Idx": 112601, "Length": 7, "Cover_Rate": 1.0} {"Template_token": ["", "virtual", "~", "Disassembler", "(", ")", "{"], "ground_truth": ["}"], "File": "AVRDisassembler", "Func": "~AVRDisassembler", "Target": "AVR", "Target_Clf": "MPU", "Compiler_Type": "LLVM", "Idx": 112602, "Length": 7, "Cover_Rate": 1.0} {"Template_token": ["", "std", "::", "unique_ptr", "<", "MCELFObjectTargetWriter", ">", "MOTW", "(", "new", "ELFObjectWriter", "(", "OSABI", ")", ")", ";"], "ground_truth": ["return", "createELFObjectWriter", "(", "std", "::", "move", "(", "MOTW", ")", ",", "OS", ",", "true", ")", ";"], "File": "AVRELFObjectWriter12", "Func": "createAVRELFObjectWriter", "Target": "AVR", "Target_Clf": "MPU", "Compiler_Type": "LLVM", "Idx": 112603, "Length": 30, "Cover_Rate": 0.6382978723404256} {"Template_token": ["", "ELFObjectWriter", "::", "ELFObjectWriter", "(", "uint8_t", "OSABI", ")", ":", "MCELFObjectTargetWriter", "(", "false", ",", "OSABI", ",", "ELF", "::", "EM_", ",", "true", ",", "false", ")", "{"], "ground_truth": ["}"], "File": "AVRELFObjectWriter16", "Func": "AVRELFObjectWriter", "Target": "AVR", "Target_Clf": "MPU", "Compiler_Type": "LLVM", "Idx": 112605, "Length": 24, "Cover_Rate": 1.0} {"Template_token": ["", "ELFObjectWriter", "::", "ELFObjectWriter", "(", "uint8_t", "OSABI", ")", ":", "MCELFObjectTargetWriter", "(", "false", ",", "OSABI", ",", "ELF", "::", "EM_", ",", "true", ",", "false", ")", "{"], "ground_truth": ["}"], "File": "AVRELFObjectWriter16", "Func": "AVRELFObjectWriter", "Target": "AVR", "Target_Clf": "MPU", "Compiler_Type": "LLVM", "Idx": 112606, "Length": 24, "Cover_Rate": 1.0} {"Template_token": ["", "return", "createELFObjectWriter", "(", "MOTW", ",", "OS", ",", "true", ")", ";"], "ground_truth": ["}"], "File": "AVRELFObjectWriter16", "Func": "createAVRELFObjectWriter", "Target": "AVR", "Target_Clf": "MPU", "Compiler_Type": "LLVM", "Idx": 112607, "Length": 11, "Cover_Rate": 0.3333333333333333} {"Template_token": ["", "return", "createELFObjectWriter", "(", "MOTW", ",", "OS", ",", "true", ")", ";"], "ground_truth": ["}"], "File": "AVRELFObjectWriter16", "Func": "createAVRELFObjectWriter", "Target": "AVR", "Target_Clf": "MPU", "Compiler_Type": "LLVM", "Idx": 112608, "Length": 11, "Cover_Rate": 0.3333333333333333} {"Template_token": ["", "std", "::", "unique_ptr", "<", "MCObjectTargetWriter", ">", "createELFObjectWriter", "(", "uint8_t", "OSABI", ")", "{", "return", "make_unique", "<", "ELFObjectWriter", ">", "(", "OSABI", ")", ";"], "ground_truth": ["}"], "File": "AVRELFObjectWriter1", "Func": "createAVRELFObjectWriter", "Target": "AVR", "Target_Clf": "MPU", "Compiler_Type": "LLVM", "Idx": 112610, "Length": 22, "Cover_Rate": 1.0} {"Template_token": ["", "return", "ELF", "::", "R__32", ";", "case", "", ":", "return", "ELF", "::", "R__7_PCREL", ";", "case", "", ":", "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", ";"], "ground_truth": ["case", "", ":"], "File": "AVRELFObjectWriter1", "Func": "getRelocType", "Target": "AVR", "Target_Clf": "MPU", "Compiler_Type": "LLVM", "Idx": 112611, "Length": 168, "Cover_Rate": 0.30324909747292417} {"Template_token": ["", "default", ":", "llvm_unreachable", "(", "", ")", ";", "case", "MCSymbolRefExpr", "::", "VK_None", ":", "return", "ELF", "::", "R__8", ";", "case", "MCSymbolRefExpr", "::", "VK__DIFF8", ":", "return", "ELF", "::", "R__DIFF8", ";", "case", "MCSymbolRefExpr", "::", "VK__LO8", ":", "return", "ELF", "::", "R__8_LO8", ";", "case", "MCSymbolRefExpr", "::", "VK__HI8", ":", "return", "ELF", "::", "R__8_HI8", ";", "case", "MCSymbolRefExpr", "::", "VK__HLO8", ":", "return", "ELF", "::", "R__8_HLO8", ";", "}", "case", "FK_Data_4", ":", "switch", "(", "Modifier", ")", "{", "default", ":", "llvm_unreachable", "(", "", ")", ";", "case", "MCSymbolRefExpr", "::", "VK_None", ":", "return", "ELF", "::", "R__32", ";", "case", "MCSymbolRefExpr", "::", "VK__DIFF32", ":", "return", "ELF", "::", "R__DIFF32", ";", "}", "case", "FK_Data_2", ":", "switch", "(", "Modifier", ")", "{", "default", ":", "llvm_unreachable", "(", "", ")", ";", "case", "MCSymbolRefExpr", "::", "VK_None", ":", "return", "ELF", "::", "R__16", ";", "case", "MCSymbolRefExpr", "::", "VK__NONE", ":", "case", "MCSymbolRefExpr", "::", "VK__PM", ":", "return", "ELF", "::", "R__16_PM", ";", "case", "MCSymbolRefExpr", "::", "VK__DIFF16", ":", "return", "ELF", "::", "R__DIFF16", ";", "}", "case", "", ":", "return", "ELF", "::", "R__32", ";", "case", "", ":", "return", "ELF", "::", "R__7_PCREL", ";", "case", "", ":", "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", "", ":"], "ground_truth": ["return", "ELF", "::", "R__HI8_LDI_NEG", ";"], "File": "AVRELFObjectWriter5", "Func": "getRelocType", "Target": "AVR", "Target_Clf": "MPU", "Compiler_Type": "LLVM", "Idx": 112612, "Length": 225, "Cover_Rate": 0.40250447227191416} {"Template_token": ["", "ELFObjectWriter", "::", "ELFObjectWriter", "(", "uint8_t", "OSABI", ")", ":", "MCELFObjectTargetWriter", "(", "false", ",", "OSABI", ",", "ELF", "::", "EM_", ",", "true", ")", "{"], "ground_truth": ["}"], "File": "AVRELFObjectWriter", "Func": "AVRELFObjectWriter", "Target": "AVR", "Target_Clf": "MPU", "Compiler_Type": "LLVM", "Idx": 112613, "Length": 22, "Cover_Rate": 1.0} {"Template_token": ["", "ELFObjectWriter", "::", "ELFObjectWriter", "(", "uint8_t", "OSABI", ")", ":", "MCELFObjectTargetWriter", "(", "false", ",", "OSABI", ",", "ELF", "::", "EM_", ",", "true", ")", "{"], "ground_truth": ["}"], "File": "AVRELFObjectWriter", "Func": "AVRELFObjectWriter", "Target": "AVR", "Target_Clf": "MPU", "Compiler_Type": "LLVM", "Idx": 112614, "Length": 22, "Cover_Rate": 1.0} {"Template_token": ["", "}", "case", "", ":", "return", "ELF", "::", "R__32", ";", "case", "", ":", "return", "ELF", "::", "R__7_PCREL", ";", "case", "", ":", "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": "AVRELFObjectWriter", "Func": "getRelocType", "Target": "AVR", "Target_Clf": "MPU", "Compiler_Type": "LLVM", "Idx": 112617, "Length": 201, "Cover_Rate": 0.3595706618962433} {"Template_token": ["", "virtual", "~", "ELFObjectWriter", "(", ")", "{"], "ground_truth": ["}"], "File": "AVRELFObjectWriter", "Func": "~AVRELFObjectWriter", "Target": "AVR", "Target_Clf": "MPU", "Compiler_Type": "LLVM", "Idx": 112618, "Length": 7, "Cover_Rate": 1.0} {"Template_token": ["", "virtual", "~", "ELFObjectWriter", "(", ")", "{"], "ground_truth": ["}"], "File": "AVRELFObjectWriter", "Func": "~AVRELFObjectWriter", "Target": "AVR", "Target_Clf": "MPU", "Compiler_Type": "LLVM", "Idx": 112619, "Length": 7, "Cover_Rate": 1.0} {"Template_token": ["", "if", "(", "Features", "[", "", "]", ")", "EFlags", "|=", "ELF", "::", "EF__ARCH_1", ";", "else", "if", "(", "Features", "[", "", "]", ")", "EFlags", "|=", "ELF", "::", "EF__ARCH_2", ";", "else", "if", "(", "Features", "[", "", "]", ")", "EFlags", "|=", "ELF", "::", "EF__ARCH_25", ";", "else", "if", "(", "Features", "[", "", "]", ")", "EFlags", "|=", "ELF", "::", "EF__ARCH_3", ";", "else", "if", "(", "Features", "[", "", "]", ")", "EFlags", "|=", "ELF", "::", "EF__ARCH_31", ";", "else", "if", "(", "Features", "[", "", "]", ")", "EFlags", "|=", "ELF", "::", "EF__ARCH_35", ";", "else", "if", "(", "Features", "[", "", "]", ")", "EFlags", "|=", "ELF", "::", "EF__ARCH_4", ";", "else", "if", "(", "Features", "[", "", "]", ")", "EFlags", "|=", "ELF", "::", "EF__ARCH_5", ";"], "ground_truth": ["else", "if", "(", "Features", "[", "", "]", ")", "EFlags", "|=", "ELF", "::", "EF__ARCH_51", ";"], "File": "AVRELFStreamer1", "Func": "getEFlagsForFeatureSet", "Target": "AVR", "Target_Clf": "MPU", "Compiler_Type": "LLVM", "Idx": 112620, "Length": 125, "Cover_Rate": 0.4084967320261438} {"Template_token": ["", "unsigned", "EFlags", "=", "MCA", ".", "getELFHeaderEFlags", "(", ")", ";", "EFlags", "|=", "getEFlagsForFeatureSet", "(", "STI", ".", "getFeatureBits", "(", ")", ")", ";"], "ground_truth": ["MCA", ".", "setELFHeaderEFlags", "(", "EFlags", ")", ";"], "File": "AVRELFStreamer", "Func": "AVRELFStreamer", "Target": "AVR", "Target_Clf": "MPU", "Compiler_Type": "LLVM", "Idx": 112621, "Length": 27, "Cover_Rate": 0.4576271186440678} {"Template_token": ["", "MCAssembler", "&", "MCA", "=", "getStreamer", "(", ")", ".", "getAssembler", "(", ")", ";"], "ground_truth": ["unsigned", "EFlags", "=", "MCA", ".", "getELFHeaderEFlags", "(", ")", ";"], "File": "AVRELFStreamer", "Func": "AVRELFStreamer", "Target": "AVR", "Target_Clf": "MPU", "Compiler_Type": "LLVM", "Idx": 112622, "Length": 21, "Cover_Rate": 0.3559322033898305} {"Template_token": ["", "else", "if", "(", "Features", "[", "", "]", ")", "EFlags", "|=", "ELF", "::", "EF__ARCH_31", ";", "else", "if", "(", "Features", "[", "", "]", ")", "EFlags", "|=", "ELF", "::", "EF__ARCH_35", ";", "else", "if", "(", "Features", "[", "", "]", ")", "EFlags", "|=", "ELF", "::", "EF__ARCH_4", ";", "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", ";"], "ground_truth": ["else", "if", "(", "Features", "[", "", "]", ")", "EFlags", "|=", "ELF", "::", "EF__ARCH_XMEGA4", ";"], "File": "AVRELFStreamer", "Func": "getEFlagsForFeatureSet", "Target": "AVR", "Target_Clf": "MPU", "Compiler_Type": "LLVM", "Idx": 112623, "Length": 154, "Cover_Rate": 0.5032679738562091} {"Template_token": ["", "ExpandPseudo", "(", ")", ":", "MachineFunctionPass", "(", "ID", ")", "{"], "ground_truth": ["initializeExpandPseudoPass", "(", "*", "PassRegistry", "::", "getPassRegistry", "(", ")", ")", ";"], "File": "AVRExpandPseudoInsts (2)", "Func": "AVRExpandPseudo", "Target": "AVR", "Target_Clf": "MPU", "Compiler_Type": "LLVM", "Idx": 112626, "Length": 19, "Cover_Rate": 0.95} {"Template_token": ["", "ExpandPseudo", "(", ")", ":", "MachineFunctionPass", "(", "ID", ")", "{"], "ground_truth": ["initializeExpandPseudoPass", "(", "*", "PassRegistry", "::", "getPassRegistry", "(", ")", ")", ";"], "File": "AVRExpandPseudoInsts (2)", "Func": "AVRExpandPseudo", "Target": "AVR", "Target_Clf": "MPU", "Compiler_Type": "LLVM", "Idx": 112627, "Length": 19, "Cover_Rate": 0.95} {"Template_token": ["", "MachineInstrBuilder", "buildMI", "(", "Block", "&", "MBB", ",", "BlockIt", "MBBI", ",", "unsigned", "Opcode", ",", "unsigned", "DstReg", ")", "{", "return", "BuildMI", "(", "MBB", ",", "MBBI", ",", "MBBI", "->", "getDebugLoc", "(", ")", ",", "TII", "->", "get", "(", "Opcode", ")", ",", "DstReg", ")", ";"], "ground_truth": ["}"], "File": "AVRExpandPseudoInsts (2)", "Func": "buildMI", "Target": "AVR", "Target_Clf": "MPU", "Compiler_Type": "LLVM", "Idx": 112628, "Length": 41, "Cover_Rate": 1.0} {"Template_token": ["", "return", "new", "ExpandPseudo", "(", ")", ";"], "ground_truth": ["}"], "File": "AVRExpandPseudoInsts (2)", "Func": "createAVRExpandPseudoPass", "Target": "AVR", "Target_Clf": "MPU", "Compiler_Type": "LLVM", "Idx": 112631, "Length": 7, "Cover_Rate": 0.5384615384615384} {"Template_token": ["", "unsigned", "SrcLoReg", ",", "SrcHiReg", ",", "DstLoReg", ",", "DstHiReg", ";", "unsigned", "DstReg", "=", "MI", ".", "getOperand", "(", "", ")", ".", "getReg", "(", ")", ";", "unsigned", "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", ")", ";", "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", ")", ")", ";"], "ground_truth": ["if", "(", "ImpIsDead", ")", "MIBHI", "->", "getOperand", "(", "", ")", ".", "setIsDead", "(", ")", ";"], "File": "AVRExpandPseudoInsts (2)", "Func": "expandArith", "Target": "AVR", "Target_Clf": "MPU", "Compiler_Type": "LLVM", "Idx": 112632, "Length": 219, "Cover_Rate": 0.8233082706766918} {"Template_token": ["", "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": "AVRExpandPseudoInsts (2)", "Func": "expandArith", "Target": "AVR", "Target_Clf": "MPU", "Compiler_Type": "LLVM", "Idx": 112633, "Length": 82, "Cover_Rate": 0.3082706766917293} {"Template_token": ["", "buildMI", "(", "MBB", ",", "MBBI", ",", "", ")", ".", "addReg", "(", "SCRATCH_REGISTER", ",", "RegState", "::", "Define", ")", ".", "addImm", "(", "SREG_ADDR", ")", ";", "buildMI", "(", "MBB", ",", "MBBI", ",", "", ")", ".", "addImm", "(", "", ")", ";"], "ground_truth": ["f", "(", "MI", ")", ";"], "File": "AVRExpandPseudoInsts (2)", "Func": "expandAtomic", "Target": "AVR", "Target_Clf": "MPU", "Compiler_Type": "LLVM", "Idx": 112634, "Length": 42, "Cover_Rate": 0.42} {"Template_token": ["", "buildMI", "(", "MBB", ",", "MBBI", ",", "", ")", ".", "addImm", "(", "", ")", ";", "f", "(", "MI", ")", ";"], "ground_truth": ["buildMI", "(", "MBB", ",", "MBBI", ",", "", ")", ".", "addImm", "(", "SREG_ADDR", ")", ".", "addReg", "(", "SCRATCH_REGISTER", ")", ";"], "File": "AVRExpandPseudoInsts (2)", "Func": "expandAtomic", "Target": "AVR", "Target_Clf": "MPU", "Compiler_Type": "LLVM", "Idx": 112635, "Length": 38, "Cover_Rate": 0.38} {"Template_token": ["", "auto", "Op1", "=", "MI", ".", "getOperand", "(", "", ")", ";", "auto", "Op2", "=", "MI", ".", "getOperand", "(", "", ")", ";", "unsigned", "LoadOpcode", "=", "(", "Width", "==", "", ")", "?", "", ":", "", ";", "unsigned", "StoreOpcode", "=", "(", "Width", "==", "", ")", "?", "", ":", "", ";"], "ground_truth": ["buildMI", "(", "MBB", ",", "MBBI", ",", "LoadOpcode", ")", ".", "add", "(", "Op1", ")", ".", "add", "(", "Op2", ")", ";"], "File": "AVRExpandPseudoInsts (2)", "Func": "expandAtomicArithmeticOp", "Target": "AVR", "Target_Clf": "MPU", "Compiler_Type": "LLVM", "Idx": 112636, "Length": 65, "Cover_Rate": 0.41935483870967744} {"Template_token": ["", "bool", "ExpandPseudo", "::", "expandAtomicBinaryOp", "(", "unsigned", "Opcode", ",", "Block", "&", "MBB", ",", "BlockIt", "MBBI", ")", "{"], "ground_truth": ["return", "expandAtomicBinaryOp", "(", "Opcode", ",", "MBB", ",", "MBBI", ",", "[", "]", "(", "MachineInstr", "&", "MI", ")", "{", "}", ")", ";"], "File": "AVRExpandPseudoInsts (2)", "Func": "expandAtomicBinaryOp", "Target": "AVR", "Target_Clf": "MPU", "Compiler_Type": "LLVM", "Idx": 112637, "Length": 36, "Cover_Rate": 0.972972972972973} {"Template_token": ["", "return", "expandAtomicBinaryOp", "(", "Opcode", ",", "MBB", ",", "MBBI", ",", "[", "]", "(", "MachineInstr", "&", "MI", ")", "{", "}", ")", ";"], "ground_truth": ["}"], "File": "AVRExpandPseudoInsts (2)", "Func": "expandAtomicBinaryOp", "Target": "AVR", "Target_Clf": "MPU", "Compiler_Type": "LLVM", "Idx": 112638, "Length": 21, "Cover_Rate": 0.5675675675675675} {"Template_token": ["", "auto", "MIBLO", "=", "buildMI", "(", "MBB", ",", "MBBI", ",", "Op", ")", ".", "addReg", "(", "DstLoReg", ",", "RegState", "::", "Define", "|", "getDeadRegState", "(", "DstIsDead", ")", ")", ".", "addReg", "(", "DstLoReg", ",", "getKillRegState", "(", "DstIsKill", ")", ")", ".", "addReg", "(", "SrcLoReg", ",", "getKillRegState", "(", "SrcIsKill", ")", ")", ";", "MIBLO", "->", "getOperand", "(", "", ")", ".", "setIsDead", "(", ")", ";", "auto", "MIBHI", "=", "buildMI", "(", "MBB", ",", "MBBI", ",", "Op", ")", ".", "addReg", "(", "DstHiReg", ",", "RegState", "::", "Define", "|", "getDeadRegState", "(", "DstIsDead", ")", ")", ".", "addReg", "(", "DstHiReg", ",", "getKillRegState", "(", "DstIsKill", ")", ")", ".", "addReg", "(", "SrcHiReg", ",", "getKillRegState", "(", "SrcIsKill", ")", ")", ";", "if", "(", "ImpIsDead", ")", "MIBHI", "->", "getOperand", "(", "", ")", ".", "setIsDead", "(", ")", ";", "MI", ".", "eraseFromParent", "(", ")", ";"], "ground_truth": ["return", "true", ";"], "File": "AVRExpandPseudoInsts (2)", "Func": "expandLogic", "Target": "AVR", "Target_Clf": "MPU", "Compiler_Type": "LLVM", "Idx": 112639, "Length": 127, "Cover_Rate": 0.4774436090225564} {"Template_token": ["", "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", ")", ";"], "ground_truth": ["if", "(", "!", "isLogicImmOpRedundant", "(", "Op", ",", "Lo8", ")", ")", "{"], "File": "AVRExpandPseudoInsts (2)", "Func": "expandLogicImm", "Target": "AVR", "Target_Clf": "MPU", "Compiler_Type": "LLVM", "Idx": 112640, "Length": 82, "Cover_Rate": 0.3048327137546468} {"Template_token": ["", "bool", "Modified", "=", "false", ";", "BlockIt", "MBBI", "=", "MBB", ".", "begin", "(", ")", ",", "E", "=", "MBB", ".", "end", "(", ")", ";", "while", "(", "MBBI", "!=", "E", ")", "{", "BlockIt", "NMBBI", "=", "std", "::", "next", "(", "MBBI", ")", ";", "Modified", "|=", "expandMI", "(", "MBB", ",", "MBBI", ")", ";", "MBBI", "=", "NMBBI", ";"], "ground_truth": ["}"], "File": "AVRExpandPseudoInsts (2)", "Func": "expandMBB", "Target": "AVR", "Target_Clf": "MPU", "Compiler_Type": "LLVM", "Idx": 112641, "Length": 53, "Cover_Rate": 0.7910447761194029} {"Template_token": ["", "StringRef", "getPassName", "(", ")", "const", "override", "{"], "ground_truth": ["return", "_EXPAND_PSEUDO_NAME", ";"], "File": "AVRExpandPseudoInsts (2)", "Func": "getPassName", "Target": "AVR", "Target_Clf": "MPU", "Compiler_Type": "LLVM", "Idx": 112642, "Length": 10, "Cover_Rate": 0.9090909090909091} {"Template_token": ["", "StringRef", "getPassName", "(", ")", "const", "override", "{"], "ground_truth": ["return", "_EXPAND_PSEUDO_NAME", ";"], "File": "AVRExpandPseudoInsts (2)", "Func": "getPassName", "Target": "AVR", "Target_Clf": "MPU", "Compiler_Type": "LLVM", "Idx": 112643, "Length": 10, "Cover_Rate": 0.9090909090909091} {"Template_token": ["", "bool", "ExpandPseudo", "::", "isLogicImmOpRedundant", "(", "unsigned", "Op", ",", "unsigned", "ImmVal", ")", "const", "{", "if", "(", "Op", "==", "", "&&", "ImmVal", "==", "", ")", "return", "true", ";", "if", "(", "Op", "==", "", "&&", "ImmVal", "==", "", ")", "return", "true", ";", "return", "false", ";"], "ground_truth": ["}"], "File": "AVRExpandPseudoInsts (2)", "Func": "isLogicImmOpRedundant", "Target": "AVR", "Target_Clf": "MPU", "Compiler_Type": "LLVM", "Idx": 112646, "Length": 43, "Cover_Rate": 0.9148936170212766} {"Template_token": ["", "isLogicImmOpRedundant", "(", "unsigned", "Op", ",", "unsigned", "ImmVal", ")", "const", "{", "if", "(", "Op", "==", "", "&&", "ImmVal", "==", "", ")", "return", "true", ";", "if", "(", "Op", "==", "", "&&", "ImmVal", "==", "", ")", "return", "true", ";", "return", "false", ";"], "ground_truth": ["}"], "File": "AVRExpandPseudoInsts (2)", "Func": "isLogicImmOpRedundant", "Target": "AVR", "Target_Clf": "MPU", "Compiler_Type": "LLVM", "Idx": 112647, "Length": 40, "Cover_Rate": 0.851063829787234} {"Template_token": ["", "TRI", "=", "STI", ".", "getRegisterInfo", "(", ")", ";", "TII", "=", "STI", ".", "getInstrInfo", "(", ")", ";", "MF", ".", "getProperties", "(", ")", ".", "set", "(", "MachineFunctionProperties", "::", "Property", "::", "TracksLiveness", ")", ";", "for", "(", "Block", "&", "MBB", ":", "MF", ")", "{", "bool", "ContinueExpanding", "=", "true", ";", "unsigned", "ExpandCount", "=", "", ";"], "ground_truth": ["do", "{"], "File": "AVRExpandPseudoInsts (2)", "Func": "runOnMachineFunction", "Target": "AVR", "Target_Clf": "MPU", "Compiler_Type": "LLVM", "Idx": 112648, "Length": 52, "Cover_Rate": 0.43333333333333335} {"Template_token": ["", "MachineBasicBlock", "&", "MBB", "=", "*", "MI", ".", "getParent", "(", ")", ";", "RegScavenger", "RS", ";", "RS", ".", "enterBasicBlock", "(", "MBB", ")", ";", "RS", ".", "forward", "(", "MI", ")", ";", "BitVector", "Candidates", "=", "TRI", "->", "getAllocatableSet", "(", "*", "MBB", ".", "getParent", "(", ")", ",", "&", "", ")", ";"], "ground_truth": ["for", "(", "MachineOperand", "&", "MO", ":", "MI", ".", "operands", "(", ")", ")", "{"], "File": "AVRExpandPseudoInsts (2)", "Func": "scavengeGPR8", "Target": "AVR", "Target_Clf": "MPU", "Compiler_Type": "LLVM", "Idx": 112649, "Length": 59, "Cover_Rate": 0.37341772151898733} {"Template_token": ["", "for", "(", "MachineOperand", "&", "MO", ":", "MI", ".", "operands", "(", ")", ")", "{", "if", "(", "MO", ".", "isReg", "(", ")", "&&", "MO", ".", "getReg", "(", ")", "!=", "", "&&", "!", "MO", ".", "isDef", "(", ")", "&&", "!", "TargetRegisterInfo", "::", "isVirtualRegister", "(", "MO", ".", "getReg", "(", ")", ")", ")", "Candidates", ".", "reset", "(", "MO", ".", "getReg", "(", ")", ")", ";", "}", "BitVector", "Available", "=", "RS", ".", "getRegsAvailable", "(", "&", "", ")", ";", "Available", "&=", "Candidates", ";", "signed", "Reg", "=", "Available", ".", "find_first", "(", ")", ";"], "ground_truth": ["assert", "(", "Reg", "!=", "-", "", "&&", "", ")", ";"], "File": "AVRExpandPseudoInsts (2)", "Func": "scavengeGPR8", "Target": "AVR", "Target_Clf": "MPU", "Compiler_Type": "LLVM", "Idx": 112650, "Length": 94, "Cover_Rate": 0.5949367088607594} {"Template_token": ["", "bool", "DstIsDead", "=", "MI", ".", "getOperand", "(", "", ")", ".", "isDead", "(", ")", ";", "bool", "DstIsKill", "=", "MI", ".", "getOperand", "(", "", ")", ".", "isKill", "(", ")", ";", "buildMI", "(", "MBB", ",", "MBBI", ",", "", ")", ".", "addReg", "(", "DstReg", ")", ".", "addImm", "(", "", ")", "->", "getOperand", "(", "", ")", ".", "setIsUndef", "(", "true", ")", ";", "buildMI", "(", "MBB", ",", "MBBI", ",", "", ")", ".", "addReg", "(", "DstReg", ",", "RegState", "::", "Define", "|", "getDeadRegState", "(", "DstIsDead", ")", ")", ".", "addReg", "(", "DstReg", ",", "RegState", "::", "Kill", ")", ".", "addReg", "(", "DstReg", ",", "RegState", "::", "Kill", ")", ";", "buildMI", "(", "MBB", ",", "MBBI", ",", "", ")", ".", "addReg", "(", "DstReg", ",", "RegState", "::", "Define", "|", "getDeadRegState", "(", "DstIsDead", ")", ")", ".", "addReg", "(", "DstReg", ",", "RegState", "::", "Kill", ")", ".", "addReg", "(", "DstReg", ",", "RegState", "::", "Kill", ")", ";"], "ground_truth": ["buildMI", "(", "MBB", ",", "MBBI", ",", "", ")", ".", "addReg", "(", "DstReg", ",", "RegState", "::", "Define", "|", "getDeadRegState", "(", "DstIsDead", ")", ")", ".", "addReg", "(", "DstReg", ",", "getKillRegState", "(", "DstIsKill", ")", ")", ".", "addImm", "(", "", ")", "->", "getOperand", "(", "", ")", ".", "setIsKill", "(", ")", ";"], "File": "AVRExpandPseudoInsts11", "Func": "expandASRB6Rd", "Target": "AVR", "Target_Clf": "MPU", "Compiler_Type": "LLVM", "Idx": 112651, "Length": 186, "Cover_Rate": 0.7815126050420168} {"Template_token": ["", "bool", "DstIsKill", "=", "MI", ".", "getOperand", "(", "", ")", ".", "isKill", "(", ")", ";", "buildMI", "(", "MBB", ",", "MBBI", ",", "", ")", ".", "addReg", "(", "DstReg", ")", ".", "addImm", "(", "", ")", "->", "getOperand", "(", "", ")", ".", "setIsUndef", "(", "true", ")", ";", "buildMI", "(", "MBB", ",", "MBBI", ",", "", ")", ".", "addReg", "(", "DstReg", ",", "RegState", "::", "Define", "|", "getDeadRegState", "(", "DstIsDead", ")", ")", ".", "addReg", "(", "DstReg", ",", "RegState", "::", "Kill", ")", ".", "addReg", "(", "DstReg", ",", "RegState", "::", "Kill", ")", ";", "buildMI", "(", "MBB", ",", "MBBI", ",", "", ")", ".", "addReg", "(", "DstReg", ",", "RegState", "::", "Define", "|", "getDeadRegState", "(", "DstIsDead", ")", ")", ".", "addReg", "(", "DstReg", ",", "RegState", "::", "Kill", ")", ".", "addReg", "(", "DstReg", ",", "RegState", "::", "Kill", ")", ";", "buildMI", "(", "MBB", ",", "MBBI", ",", "", ")", ".", "addReg", "(", "DstReg", ",", "RegState", "::", "Define", "|", "getDeadRegState", "(", "DstIsDead", ")", ")", ".", "addReg", "(", "DstReg", ",", "getKillRegState", "(", "DstIsKill", ")", ")", ".", "addImm", "(", "", ")", "->", "getOperand", "(", "", ")", ".", "setIsKill", "(", ")", ";", "MI", ".", "eraseFromParent", "(", ")", ";"], "ground_truth": ["return", "true", ";"], "File": "AVRExpandPseudoInsts11", "Func": "expandASRB6Rd", "Target": "AVR", "Target_Clf": "MPU", "Compiler_Type": "LLVM", "Idx": 112652, "Length": 181, "Cover_Rate": 0.7605042016806722} {"Template_token": ["", "bool", "ExpandPseudo", "::", "expandASRB7Rd", "(", "Block", "&", "MBB", ",", "BlockIt", "MBBI", ")", "{", "MachineInstr", "&", "MI", "=", "*", "MBBI", ";", "Register", "DstReg", "=", "MI", ".", "getOperand", "(", "", ")", ".", "getReg", "(", ")", ";", "bool", "DstIsDead", "=", "MI", ".", "getOperand", "(", "", ")", ".", "isDead", "(", ")", ";"], "ground_truth": ["bool", "DstIsKill", "=", "MI", ".", "getOperand", "(", "", ")", ".", "isKill", "(", ")", ";"], "File": "AVRExpandPseudoInsts11", "Func": "expandASRB7Rd", "Target": "AVR", "Target_Clf": "MPU", "Compiler_Type": "LLVM", "Idx": 112653, "Length": 62, "Cover_Rate": 0.3054187192118227} {"Template_token": ["", "buildMI", "(", "MBB", ",", "MBBI", ",", "", ")", ".", "addReg", "(", "DstReg", ",", "RegState", "::", "Define", "|", "getDeadRegState", "(", "DstIsDead", ")", ")", ".", "addReg", "(", "DstReg", ",", "RegState", "::", "Kill", ")", ".", "addReg", "(", "DstReg", ",", "RegState", "::", "Kill", ")", ";", "auto", "MIRRC", "=", "buildMI", "(", "MBB", ",", "MBBI", ",", "", ")", ".", "addReg", "(", "DstReg", ",", "RegState", "::", "Define", "|", "getDeadRegState", "(", "DstIsDead", ")", ")", ".", "addReg", "(", "DstReg", ",", "getKillRegState", "(", "DstIsKill", ")", ")", ".", "addReg", "(", "DstReg", ",", "getKillRegState", "(", "DstIsKill", ")", ")", ";"], "ground_truth": ["if", "(", "ImpIsDead", ")", "MIRRC", "->", "getOperand", "(", "", ")", ".", "setIsDead", "(", ")", ";"], "File": "AVRExpandPseudoInsts11", "Func": "expandASRB7Rd", "Target": "AVR", "Target_Clf": "MPU", "Compiler_Type": "LLVM", "Idx": 112654, "Length": 102, "Cover_Rate": 0.5024630541871922} {"Template_token": ["", "buildMI", "(", "MBB", ",", "MBBI", ",", "", ")", ".", "addReg", "(", "DstHiReg", ",", "RegState", "::", "Define", "|", "getDeadRegState", "(", "DstIsDead", ")", ")", ".", "addReg", "(", "DstHiReg", ",", "RegState", "::", "Kill", ")", ".", "addReg", "(", "DstHiReg", ",", "RegState", "::", "Kill", ")", ";", "buildMI", "(", "MBB", ",", "MBBI", ",", "", ")", ".", "addReg", "(", "DstLoReg", ",", "RegState", "::", "Define", "|", "getDeadRegState", "(", "DstIsDead", ")", ")", ".", "addReg", "(", "DstLoReg", ",", "RegState", "::", "Kill", ")", ".", "addReg", "(", "DstLoReg", ",", "RegState", "::", "Kill", ")", ";", "buildMI", "(", "MBB", ",", "MBBI", ",", "", ")", ".", "addReg", "(", "DstHiReg", ",", "RegState", "::", "Define", "|", "getDeadRegState", "(", "DstIsDead", ")", ")", ".", "addReg", "(", "DstHiReg", ",", "RegState", "::", "Kill", ")", ".", "addReg", "(", "DstHiReg", ",", "RegState", "::", "Kill", ")", ";", "buildMI", "(", "MBB", ",", "MBBI", ",", "", ")", ".", "addReg", "(", "DstHiReg", ",", "RegState", "::", "Define", "|", "getDeadRegState", "(", "DstIsDead", ")", ")", ".", "addReg", "(", "DstLoReg", ")", ";", "auto", "MIROL", "=", "buildMI", "(", "MBB", ",", "MBBI", ",", "", ")", ".", "addReg", "(", "DstLoReg", ",", "RegState", "::", "Define", "|", "getDeadRegState", "(", "DstIsDead", ")", ")", ".", "addReg", "(", "DstLoReg", ",", "getKillRegState", "(", "DstIsKill", ")", ")", ".", "addReg", "(", "DstLoReg", ",", "getKillRegState", "(", "DstIsKill", ")", ")", ";", "if", "(", "ImpIsDead", ")", "MIROL", "->", "getOperand", "(", "", ")", ".", "setIsDead", "(", ")", ";"], "ground_truth": ["MIROL", "->", "getOperand", "(", "", ")", ".", "setIsKill", "(", ")", ";"], "File": "AVRExpandPseudoInsts11", "Func": "expandASRW14Rd", "Target": "AVR", "Target_Clf": "MPU", "Compiler_Type": "LLVM", "Idx": 112655, "Length": 223, "Cover_Rate": 0.6656716417910448} {"Template_token": ["", "buildMI", "(", "MBB", ",", "MBBI", ",", "", ")", ".", "addReg", "(", "DstHiReg", ",", "RegState", "::", "Define", ")", ".", "addReg", "(", "DstHiReg", ",", "RegState", "::", "Kill", ")", ".", "addReg", "(", "DstHiReg", ",", "RegState", "::", "Kill", ")", ";", "auto", "MISBC", "=", "buildMI", "(", "MBB", ",", "MBBI", ",", "", ")", ".", "addReg", "(", "DstHiReg", ",", "RegState", "::", "Define", "|", "getDeadRegState", "(", "DstIsDead", ")", ")", ".", "addReg", "(", "DstHiReg", ",", "RegState", "::", "Kill", ")", ".", "addReg", "(", "DstHiReg", ",", "RegState", "::", "Kill", ")", ";", "if", "(", "ImpIsDead", ")", "MISBC", "->", "getOperand", "(", "", ")", ".", "setIsDead", "(", ")", ";", "MISBC", "->", "getOperand", "(", "", ")", ".", "setIsKill", "(", ")", ";", "buildMI", "(", "MBB", ",", "MBBI", ",", "", ")", ".", "addReg", "(", "DstLoReg", ",", "RegState", "::", "Define", "|", "getDeadRegState", "(", "DstIsDead", ")", ")", ".", "addReg", "(", "DstHiReg", ")", ";"], "ground_truth": ["MI", ".", "eraseFromParent", "(", ")", ";"], "File": "AVRExpandPseudoInsts11", "Func": "expandASRW15Rd", "Target": "AVR", "Target_Clf": "MPU", "Compiler_Type": "LLVM", "Idx": 112656, "Length": 140, "Cover_Rate": 0.6140350877192983} {"Template_token": ["", "bool", "ExpandPseudo", "::", "expandASRW15Rd", "(", "Block", "&", "MBB", ",", "BlockIt", "MBBI", ")", "{", "MachineInstr", "&", "MI", "=", "*", "MBBI", ";", "Register", "DstLoReg", ",", "DstHiReg", ";", "Register", "DstReg", "=", "MI", ".", "getOperand", "(", "", ")", ".", "getReg", "(", ")", ";", "bool", "DstIsDead", "=", "MI", ".", "getOperand", "(", "", ")", ".", "isDead", "(", ")", ";", "bool", "ImpIsDead", "=", "MI", ".", "getOperand", "(", "", ")", ".", "isDead", "(", ")", ";"], "ground_truth": ["TRI", "->", "splitReg", "(", "DstReg", ",", "DstLoReg", ",", "DstHiReg", ")", ";"], "File": "AVRExpandPseudoInsts11", "Func": "expandASRW15Rd", "Target": "AVR", "Target_Clf": "MPU", "Compiler_Type": "LLVM", "Idx": 112657, "Length": 78, "Cover_Rate": 0.34210526315789475} {"Template_token": ["", "bool", "ExpandPseudo", "::", "expandASRW7Rd", "(", "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", ")", ";", "buildMI", "(", "MBB", ",", "MBBI", ",", "", ")", ".", "addReg", "(", "DstLoReg", ",", "RegState", "::", "Define", "|", "getDeadRegState", "(", "DstIsDead", ")", ")", ".", "addReg", "(", "DstLoReg", ",", "RegState", "::", "Kill", ")", ".", "addReg", "(", "DstLoReg", ",", "RegState", "::", "Kill", ")", ";", "buildMI", "(", "MBB", ",", "MBBI", ",", "", ")", ".", "addReg", "(", "DstLoReg", ",", "RegState", "::", "Define", "|", "getDeadRegState", "(", "DstIsDead", ")", ")", ".", "addReg", "(", "DstHiReg", ")", ";"], "ground_truth": ["buildMI", "(", "MBB", ",", "MBBI", ",", "", ")", ".", "addReg", "(", "DstLoReg", ",", "RegState", "::", "Define", "|", "getDeadRegState", "(", "DstIsDead", ")", ")", ".", "addReg", "(", "DstLoReg", ",", "getKillRegState", "(", "DstIsKill", ")", ")", ".", "addReg", "(", "DstLoReg", ",", "getKillRegState", "(", "DstIsKill", ")", ")", ";"], "File": "AVRExpandPseudoInsts11", "Func": "expandASRW7Rd", "Target": "AVR", "Target_Clf": "MPU", "Compiler_Type": "LLVM", "Idx": 112658, "Length": 204, "Cover_Rate": 0.6938775510204082} {"Template_token": ["", "const", "Subtarget", "&", "STI", "=", "MBB", ".", "getParent", "(", ")", "->", "getSubtarget", "<", "Subtarget", ">", "(", ")", ";", "buildMI", "(", "MBB", ",", "MBBI", ",", "", ")", ".", "addReg", "(", "SCRATCH_REGISTER", ",", "RegState", "::", "Define", ")", ".", "addImm", "(", "STI", ".", "getIORegSREG", "(", ")", ")", ";", "buildMI", "(", "MBB", ",", "MBBI", ",", "", ")", ".", "addImm", "(", "", ")", ";", "f", "(", "MI", ")", ";", "buildMI", "(", "MBB", ",", "MBBI", ",", "", ")", ".", "addImm", "(", "STI", ".", "getIORegSREG", "(", ")", ")", ".", "addReg", "(", "SCRATCH_REGISTER", ")", ";", "MI", ".", "eraseFromParent", "(", ")", ";", "return", "true", ";"], "ground_truth": ["}"], "File": "AVRExpandPseudoInsts11", "Func": "expandAtomic", "Target": "AVR", "Target_Clf": "MPU", "Compiler_Type": "LLVM", "Idx": 112659, "Length": 97, "Cover_Rate": 0.7698412698412699} {"Template_token": ["", "Register", "Bank", "=", "MI", ".", "getOperand", "(", "", ")", ".", "getReg", "(", ")", ";", "buildMI", "(", "MBB", ",", "MBBI", ",", "", ")", ".", "addImm", "(", "STI", ".", "getIORegRAMPZ", "(", ")", ")", ".", "addReg", "(", "Bank", ")", ";", "}", "if", "(", "DstReg", "==", "SrcReg", ")", "TmpReg", "=", "scavengeGPR8", "(", "MI", ")", ";", "Register", "CurDstLoReg", "=", "(", "DstReg", "==", "SrcReg", ")", "?", "TmpReg", ":", "DstLoReg", ";", "Register", "CurDstHiReg", "=", "(", "DstReg", "==", "SrcReg", ")", "?", "TmpReg", ":", "DstHiReg", ";", "auto", "MIBLO", "=", "buildMI", "(", "MBB", ",", "MBBI", ",", "OpLo", ")", ".", "addReg", "(", "CurDstLoReg", ",", "RegState", "::", "Define", ")", ".", "addReg", "(", "SrcReg", ")", ";", "if", "(", "TmpReg", ")", "buildMI", "(", "MBB", ",", "MBBI", ",", "", ")", ".", "addReg", "(", "TmpReg", ")", ";"], "ground_truth": ["auto", "MIBHI", "=", "buildMI", "(", "MBB", ",", "MBBI", ",", "OpHi", ")", ".", "addReg", "(", "CurDstHiReg", ",", "RegState", "::", "Define", ")", ".", "addReg", "(", "SrcReg", ",", "getKillRegState", "(", "SrcIsKill", ")", ")", ";"], "File": "AVRExpandPseudoInsts11", "Func": "expandLPMWELPMW", "Target": "AVR", "Target_Clf": "MPU", "Compiler_Type": "LLVM", "Idx": 112660, "Length": 152, "Cover_Rate": 0.4222222222222222} {"Template_token": ["", "bool", "ImpIsDead", "=", "MI", ".", "getOperand", "(", "", ")", ".", "isDead", "(", ")", ";", "buildMI", "(", "MBB", ",", "MBBI", ",", "", ")", ".", "addReg", "(", "DstReg", ",", "RegState", "::", "Define", "|", "getDeadRegState", "(", "DstIsDead", ")", ")", ".", "addReg", "(", "DstReg", ",", "RegState", "::", "Kill", ")", "->", "getOperand", "(", "", ")", ".", "setIsUndef", "(", "true", ")", ";", "buildMI", "(", "MBB", ",", "MBBI", ",", "", ")", ".", "addReg", "(", "DstReg", ",", "RegState", "::", "Define", "|", "getDeadRegState", "(", "DstIsDead", ")", ")", ".", "addReg", "(", "DstReg", ",", "RegState", "::", "Kill", ")", ".", "addReg", "(", "DstReg", ",", "RegState", "::", "Kill", ")", ";", "auto", "MIRRC", "=", "buildMI", "(", "MBB", ",", "MBBI", ",", "", ")", ".", "addReg", "(", "DstReg", ",", "RegState", "::", "Define", "|", "getDeadRegState", "(", "DstIsDead", ")", ")", ".", "addReg", "(", "DstReg", ",", "getKillRegState", "(", "DstIsKill", ")", ")", ";", "if", "(", "ImpIsDead", ")", "MIRRC", "->", "getOperand", "(", "", ")", ".", "setIsDead", "(", ")", ";", "MIRRC", "->", "getOperand", "(", "", ")", ".", "setIsKill", "(", ")", ";"], "ground_truth": ["MI", ".", "eraseFromParent", "(", ")", ";"], "File": "AVRExpandPseudoInsts11", "Func": "expandLSLB7Rd", "Target": "AVR", "Target_Clf": "MPU", "Compiler_Type": "LLVM", "Idx": 112661, "Length": 165, "Cover_Rate": 0.6962025316455697} {"Template_token": ["", "buildMI", "(", "MBB", ",", "MBBI", ",", "", ")", ".", "addReg", "(", "DstReg", ",", "RegState", "::", "Define", "|", "getDeadRegState", "(", "DstIsDead", ")", ")", ".", "addReg", "(", "DstReg", ",", "RegState", "::", "Kill", ")", ".", "addReg", "(", "DstReg", ",", "RegState", "::", "Kill", ")", ";", "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": "AVRExpandPseudoInsts11", "Func": "expandLSLB7Rd", "Target": "AVR", "Target_Clf": "MPU", "Compiler_Type": "LLVM", "Idx": 112662, "Length": 112, "Cover_Rate": 0.47257383966244726} {"Template_token": ["", "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", "(", "DstLoReg", ")", ";", "buildMI", "(", "MBB", ",", "MBBI", ",", "", ")", ".", "addReg", "(", "DstHiReg", ",", "RegState", "::", "Define", "|", "getDeadRegState", "(", "DstIsDead", ")", ")", ".", "addReg", "(", "DstHiReg", ",", "RegState", "::", "Kill", ")", ";", "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", "(", "DstLoReg", ",", "RegState", "::", "Define", "|", "getDeadRegState", "(", "DstIsDead", ")", ")", ".", "addReg", "(", "DstLoReg", ",", "getKillRegState", "(", "DstIsKill", ")", ")", ".", "addReg", "(", "DstLoReg", ",", "getKillRegState", "(", "DstIsKill", ")", ")", ";", "if", "(", "ImpIsDead", ")", "MI1", "->", "getOperand", "(", "", ")", ".", "setIsDead", "(", ")", ";", "MI", ".", "eraseFromParent", "(", ")", ";", "return", "true", ";"], "ground_truth": ["}"], "File": "AVRExpandPseudoInsts11", "Func": "expandLSLW12Rd", "Target": "AVR", "Target_Clf": "MPU", "Compiler_Type": "LLVM", "Idx": 112663, "Length": 236, "Cover_Rate": 0.833922261484099} {"Template_token": ["", "buildMI", "(", "MBB", ",", "MBBI", ",", "", ")", ".", "addReg", "(", "DstReg", ",", "RegState", "::", "Define", "|", "getDeadRegState", "(", "DstIsDead", ")", ")", ".", "addReg", "(", "DstReg", ",", "RegState", "::", "Kill", ")", ".", "addReg", "(", "DstReg", ",", "RegState", "::", "Kill", ")", "->", "getOperand", "(", "", ")", ".", "setIsUndef", "(", "true", ")", ";", "buildMI", "(", "MBB", ",", "MBBI", ",", "", ")", ".", "addReg", "(", "DstReg", ",", "RegState", "::", "Define", "|", "getDeadRegState", "(", "DstIsDead", ")", ")", ".", "addReg", "(", "DstReg", ",", "RegState", "::", "Kill", ")", ".", "addReg", "(", "DstReg", ",", "RegState", "::", "Kill", ")", ";", "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", "(", ")", ";"], "ground_truth": ["MI", ".", "eraseFromParent", "(", ")", ";"], "File": "AVRExpandPseudoInsts11", "Func": "expandLSRB7Rd", "Target": "AVR", "Target_Clf": "MPU", "Compiler_Type": "LLVM", "Idx": 112664, "Length": 170, "Cover_Rate": 0.6640625} {"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", "(", ")", ";"], "ground_truth": ["buildMI", "(", "MBB", ",", "MBBI", ",", "", ")", ".", "addReg", "(", "DstReg", ",", "RegState", "::", "Define", "|", "getDeadRegState", "(", "DstIsDead", ")", ")", ".", "addReg", "(", "DstReg", ",", "RegState", "::", "Kill", ")", ".", "addReg", "(", "DstReg", ",", "RegState", "::", "Kill", ")", "->", "getOperand", "(", "", ")", ".", "setIsUndef", "(", "true", ")", ";"], "File": "AVRExpandPseudoInsts11", "Func": "expandLSRB7Rd", "Target": "AVR", "Target_Clf": "MPU", "Compiler_Type": "LLVM", "Idx": 112665, "Length": 127, "Cover_Rate": 0.49609375} {"Template_token": ["", "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", ")", ";", "buildMI", "(", "MBB", ",", "MBBI", ",", "", ")", ".", "addReg", "(", "DstLoReg", ",", "RegState", "::", "Define", "|", "getDeadRegState", "(", "DstIsDead", ")", ")", ".", "addReg", "(", "DstHiReg", ")", ";", "buildMI", "(", "MBB", ",", "MBBI", ",", "", ")", ".", "addReg", "(", "DstLoReg", ",", "RegState", "::", "Define", "|", "getDeadRegState", "(", "DstIsDead", ")", ")", ".", "addReg", "(", "DstLoReg", ",", "RegState", "::", "Kill", ")", ";"], "ground_truth": ["auto", "MI0", "=", "buildMI", "(", "MBB", ",", "MBBI", ",", "", ")", ".", "addReg", "(", "DstLoReg", ",", "RegState", "::", "Define", "|", "getDeadRegState", "(", "DstIsDead", ")", ")", ".", "addReg", "(", "DstLoReg", ",", "getKillRegState", "(", "DstIsKill", ")", ")", ".", "addImm", "(", "", ")", ";"], "File": "AVRExpandPseudoInsts11", "Func": "expandLSRW12Rd", "Target": "AVR", "Target_Clf": "MPU", "Compiler_Type": "LLVM", "Idx": 112666, "Length": 173, "Cover_Rate": 0.6113074204946997} {"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", "(", "DstLoReg", ",", "RegState", "::", "Define", "|", "getDeadRegState", "(", "DstIsDead", ")", ")", ".", "addReg", "(", "DstHiReg", ")", ";", "buildMI", "(", "MBB", ",", "MBBI", ",", "", ")", ".", "addReg", "(", "DstLoReg", ",", "RegState", "::", "Define", "|", "getDeadRegState", "(", "DstIsDead", ")", ")", ".", "addReg", "(", "DstLoReg", ",", "RegState", "::", "Kill", ")", ";", "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", ")", ")", ";"], "ground_truth": ["if", "(", "ImpIsDead", ")", "MIBHI", "->", "getOperand", "(", "", ")", ".", "setIsDead", "(", ")", ";"], "File": "AVRExpandPseudoInsts11", "Func": "expandLSRW12Rd", "Target": "AVR", "Target_Clf": "MPU", "Compiler_Type": "LLVM", "Idx": 112667, "Length": 240, "Cover_Rate": 0.8480565371024735} {"Template_token": ["", "buildMI", "(", "MBB", ",", "MBBI", ",", "", ")", ".", "addReg", "(", "DstLoReg", ",", "RegState", "::", "Define", "|", "getDeadRegState", "(", "DstIsDead", ")", ")", ".", "addReg", "(", "DstLoReg", ",", "RegState", "::", "Kill", ")", ";", "auto", "MI0", "=", "buildMI", "(", "MBB", ",", "MBBI", ",", "", ")", ".", "addReg", "(", "DstLoReg", ",", "RegState", "::", "Define", "|", "getDeadRegState", "(", "DstIsDead", ")", ")", ".", "addReg", "(", "DstLoReg", ",", "RegState", "::", "Kill", ")", ".", "addImm", "(", "", ")", ";", "MI0", "->", "getOperand", "(", "", ")", ".", "setIsDead", "(", ")", ";", "auto", "MI1", "=", "buildMI", "(", "MBB", ",", "MBBI", ",", "", ")", ".", "addReg", "(", "DstLoReg", ",", "RegState", "::", "Define", "|", "getDeadRegState", "(", "DstIsDead", ")", ")", ".", "addReg", "(", "DstLoReg", ",", "RegState", "::", "Kill", ")", ".", "addReg", "(", "DstHiReg", ")", ";"], "ground_truth": ["MI1", "->", "getOperand", "(", "", ")", ".", "setIsDead", "(", ")", ";"], "File": "AVRExpandPseudoInsts11", "Func": "expandLSRW4Rd", "Target": "AVR", "Target_Clf": "MPU", "Compiler_Type": "LLVM", "Idx": 112668, "Length": 134, "Cover_Rate": 0.34536082474226804} {"Template_token": ["", "unsigned", "ExpandCount", "=", "", ";", "do", "{", "assert", "(", "ExpandCount", "<", "", "&&", "", ")", ";", "(", "void", ")", "ExpandCount", ";", "bool", "BlockModified", "=", "expandMBB", "(", "MBB", ")", ";", "Modified", "|=", "BlockModified", ";", "ExpandCount", "++", ";", "ContinueExpanding", "=", "BlockModified", ";", "}", "while", "(", "ContinueExpanding", ")", ";", "}"], "ground_truth": ["return", "Modified", ";"], "File": "AVRExpandPseudoInsts11", "Func": "runOnMachineFunction", "Target": "AVR", "Target_Clf": "MPU", "Compiler_Type": "LLVM", "Idx": 112669, "Length": 50, "Cover_Rate": 0.4} {"Template_token": ["", "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": "AVRExpandPseudoInsts12", "Func": "expandArith", "Target": "AVR", "Target_Clf": "MPU", "Compiler_Type": "LLVM", "Idx": 112670, "Length": 135, "Cover_Rate": 0.5075187969924813} {"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", ")", ";", "auto", "MIBLO", "=", "buildMI", "(", "MBB", ",", "MBBI", ",", "Op", ")", ".", "addReg", "(", "DstLoReg", ",", "RegState", "::", "Define", "|", "getDeadRegState", "(", "DstIsDead", ")", ")", ".", "addReg", "(", "DstLoReg", ",", "getKillRegState", "(", "DstIsKill", ")", ")", ".", "addReg", "(", "SrcLoReg", ",", "getKillRegState", "(", "SrcIsKill", ")", ")", ";", "MIBLO", "->", "getOperand", "(", "", ")", ".", "setIsDead", "(", ")", ";", "auto", "MIBHI", "=", "buildMI", "(", "MBB", ",", "MBBI", ",", "Op", ")", ".", "addReg", "(", "DstHiReg", ",", "RegState", "::", "Define", "|", "getDeadRegState", "(", "DstIsDead", ")", ")", ".", "addReg", "(", "DstHiReg", ",", "getKillRegState", "(", "DstIsKill", ")", ")", ".", "addReg", "(", "SrcHiReg", ",", "getKillRegState", "(", "SrcIsKill", ")", ")", ";", "if", "(", "ImpIsDead", ")", "MIBHI", "->", "getOperand", "(", "", ")", ".", "setIsDead", "(", ")", ";"], "ground_truth": ["MI", ".", "eraseFromParent", "(", ")", ";"], "File": "AVRExpandPseudoInsts12", "Func": "expandLogic", "Target": "AVR", "Target_Clf": "MPU", "Compiler_Type": "LLVM", "Idx": 112671, "Length": 239, "Cover_Rate": 0.8984962406015038} {"Template_token": ["", "auto", "MIBLO", "=", "buildMI", "(", "MBB", ",", "MBBI", ",", "Op", ")", ".", "addReg", "(", "DstLoReg", ",", "RegState", "::", "Define", "|", "getDeadRegState", "(", "DstIsDead", ")", ")", ".", "addReg", "(", "DstLoReg", ",", "getKillRegState", "(", "SrcIsKill", ")", ")", ".", "addImm", "(", "Lo8", ")", ";", "MIBLO", "->", "getOperand", "(", "", ")", ".", "setIsDead", "(", ")", ";", "}", "if", "(", "!", "isLogicImmOpRedundant", "(", "Op", ",", "Hi8", ")", ")", "{", "auto", "MIBHI", "=", "buildMI", "(", "MBB", ",", "MBBI", ",", "Op", ")", ".", "addReg", "(", "DstHiReg", ",", "RegState", "::", "Define", "|", "getDeadRegState", "(", "DstIsDead", ")", ")", ".", "addReg", "(", "DstHiReg", ",", "getKillRegState", "(", "SrcIsKill", ")", ")", ".", "addImm", "(", "Hi8", ")", ";", "if", "(", "ImpIsDead", ")", "MIBHI", "->", "getOperand", "(", "", ")", ".", "setIsDead", "(", ")", ";", "}", "MI", ".", "eraseFromParent", "(", ")", ";", "return", "true", ";"], "ground_truth": ["}"], "File": "AVRExpandPseudoInsts12", "Func": "expandLogicImm", "Target": "AVR", "Target_Clf": "MPU", "Compiler_Type": "LLVM", "Idx": 112672, "Length": 131, "Cover_Rate": 0.48698884758364314} {"Template_token": ["", "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", "&", "", ";", "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", ")", ";", "MIBLO", "->", "getOperand", "(", "", ")", ".", "setIsDead", "(", ")", ";", "}", "if", "(", "!", "isLogicImmOpRedundant", "(", "Op", ",", "Hi8", ")", ")", "{", "auto", "MIBHI", "=", "buildMI", "(", "MBB", ",", "MBBI", ",", "Op", ")", ".", "addReg", "(", "DstHiReg", ",", "RegState", "::", "Define", "|", "getDeadRegState", "(", "DstIsDead", ")", ")", ".", "addReg", "(", "DstHiReg", ",", "getKillRegState", "(", "SrcIsKill", ")", ")", ".", "addImm", "(", "Hi8", ")", ";"], "ground_truth": ["if", "(", "ImpIsDead", ")", "MIBHI", "->", "getOperand", "(", "", ")", ".", "setIsDead", "(", ")", ";"], "File": "AVRExpandPseudoInsts12", "Func": "expandLogicImm", "Target": "AVR", "Target_Clf": "MPU", "Compiler_Type": "LLVM", "Idx": 112673, "Length": 230, "Cover_Rate": 0.8550185873605948} {"Template_token": ["", "EXPAND", "(", "", ")", ";", "EXPAND", "(", "", ")", ";", "EXPAND", "(", "", ")", ";", "EXPAND", "(", "", ")", ";", "EXPAND", "(", "", ")", ";", "EXPAND", "(", "", ")", ";", "EXPAND", "(", "", ")", ";", "EXPAND", "(", "", ")", ";", "EXPAND", "(", "", ")", ";", "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", "(", "", ")", ";", "EXPAND", "(", "", ")", ";", "EXPAND", "(", "", ")", ";", "EXPAND", "(", "", ")", ";", "EXPAND", "(", "", ")", ";"], "ground_truth": ["EXPAND", "(", "", ")", ";"], "File": "AVRExpandPseudoInsts12", "Func": "expandMI", "Target": "AVR", "Target_Clf": "MPU", "Compiler_Type": "LLVM", "Idx": 112674, "Length": 263, "Cover_Rate": 0.5754923413566739} {"Template_token": ["", "if", "(", "MO", ".", "isReg", "(", ")", "&&", "MO", ".", "getReg", "(", ")", "!=", "", "&&", "!", "MO", ".", "isDef", "(", ")", "&&", "!", "Register", "::", "isVirtualRegister", "(", "MO", ".", "getReg", "(", ")", ")", ")", "Candidates", ".", "reset", "(", "MO", ".", "getReg", "(", ")", ")", ";", "}", "BitVector", "Available", "=", "RS", ".", "getRegsAvailable", "(", "&", "", ")", ";", "Available", "&=", "Candidates", ";"], "ground_truth": ["signed", "Reg", "=", "Available", ".", "find_first", "(", ")", ";"], "File": "AVRExpandPseudoInsts12", "Func": "scavengeGPR8", "Target": "AVR", "Target_Clf": "MPU", "Compiler_Type": "LLVM", "Idx": 112675, "Length": 71, "Cover_Rate": 0.44936708860759494} {"Template_token": ["", "for", "(", "MachineOperand", "&", "MO", ":", "MI", ".", "operands", "(", ")", ")", "{", "if", "(", "MO", ".", "isReg", "(", ")", "&&", "MO", ".", "getReg", "(", ")", "!=", "", "&&", "!", "MO", ".", "isDef", "(", ")", "&&", "!", "Register", "::", "isVirtualRegister", "(", "MO", ".", "getReg", "(", ")", ")", ")", "Candidates", ".", "reset", "(", "MO", ".", "getReg", "(", ")", ")", ";", "}", "BitVector", "Available", "=", "RS", ".", "getRegsAvailable", "(", "&", "", ")", ";", "Available", "&=", "Candidates", ";", "signed", "Reg", "=", "Available", ".", "find_first", "(", ")", ";"], "ground_truth": ["assert", "(", "Reg", "!=", "-", "", "&&", "", ")", ";"], "File": "AVRExpandPseudoInsts12", "Func": "scavengeGPR8", "Target": "AVR", "Target_Clf": "MPU", "Compiler_Type": "LLVM", "Idx": 112676, "Length": 94, "Cover_Rate": 0.5949367088607594} {"Template_token": ["", "expandArith", "(", "unsigned", "OpLo", ",", "unsigned", "OpHi", ",", "Block", "&", "MBB", ",", "BlockIt", "MBBI", ")", "{", "MachineInstr", "&", "MI", "=", "*", "MBBI", ";", "unsigned", "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", ")", ";", "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": "AVRExpandPseudoInsts14", "Func": "expandArith", "Target": "AVR", "Target_Clf": "MPU", "Compiler_Type": "LLVM", "Idx": 112677, "Length": 263, "Cover_Rate": 0.9887218045112782} {"Template_token": ["", "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", "(", ")", ";", "auto", "MIBHI", "=", "buildMI", "(", "MBB", ",", "MBBI", ",", "Op", ")", ".", "addReg", "(", "DstHiReg", ",", "RegState", "::", "Define", "|", "getDeadRegState", "(", "DstIsDead", ")", ")", ".", "addReg", "(", "DstHiReg", ",", "getKillRegState", "(", "DstIsKill", ")", ")", ".", "addReg", "(", "SrcHiReg", ",", "getKillRegState", "(", "SrcIsKill", ")", ")", ";", "if", "(", "ImpIsDead", ")", "MIBHI", "->", "getOperand", "(", "", ")", ".", "setIsDead", "(", ")", ";", "MI", ".", "eraseFromParent", "(", ")", ";"], "ground_truth": ["return", "true", ";"], "File": "AVRExpandPseudoInsts14", "Func": "expandLogic", "Target": "AVR", "Target_Clf": "MPU", "Compiler_Type": "LLVM", "Idx": 112678, "Length": 138, "Cover_Rate": 0.518796992481203} {"Template_token": ["", "MIBLO", "->", "getOperand", "(", "", ")", ".", "setIsDead", "(", ")", ";", "}", "if", "(", "!", "isLogicImmOpRedundant", "(", "Op", ",", "Hi8", ")", ")", "{", "auto", "MIBHI", "=", "buildMI", "(", "MBB", ",", "MBBI", ",", "Op", ")", ".", "addReg", "(", "DstHiReg", ",", "RegState", "::", "Define", "|", "getDeadRegState", "(", "DstIsDead", ")", ")", ".", "addReg", "(", "DstHiReg", ",", "getKillRegState", "(", "SrcIsKill", ")", ")", ".", "addImm", "(", "Hi8", ")", ";", "if", "(", "ImpIsDead", ")", "MIBHI", "->", "getOperand", "(", "", ")", ".", "setIsDead", "(", ")", ";", "}"], "ground_truth": ["MI", ".", "eraseFromParent", "(", ")", ";"], "File": "AVRExpandPseudoInsts14", "Func": "expandLogicImm", "Target": "AVR", "Target_Clf": "MPU", "Compiler_Type": "LLVM", "Idx": 112679, "Length": 86, "Cover_Rate": 0.31970260223048325} {"Template_token": ["", "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", "(", ")", ")", ";", "}", "BitVector", "Available", "=", "RS", ".", "getRegsAvailable", "(", "&", "", ")", ";", "Available", "&=", "Candidates", ";", "signed", "Reg", "=", "Available", ".", "find_first", "(", ")", ";", "assert", "(", "Reg", "!=", "-", "", "&&", "", ")", ";"], "ground_truth": ["return", "Reg", ";"], "File": "AVRExpandPseudoInsts14", "Func": "scavengeGPR8", "Target": "AVR", "Target_Clf": "MPU", "Compiler_Type": "LLVM", "Idx": 112680, "Length": 115, "Cover_Rate": 0.7278481012658228} {"Template_token": ["", "bool", "ExpandPseudo", "::", "expandMI", "(", "Block", "&", "MBB", ",", "BlockIt", "MBBI", ")", "{", "MachineInstr", "&", "MI", "=", "*", "MBBI", ";", "int", "Opcode", "=", "MBBI", "->", "getOpcode", "(", ")", ";", "case", "Op", ":", "\\", "return", "expand", "<", "Op", ">", "(", "MBB", ",", "MI", ")", "switch", "(", "Opcode", ")", "{", "EXPAND", "(", "", ")", ";", "EXPAND", "(", "", ")", ";", "EXPAND", "(", "", ")", ";", "EXPAND", "(", "", ")", ";", "EXPAND", "(", "", ")", ";", "EXPAND", "(", "", ")", ";", "EXPAND", "(", "", ")", ";", "EXPAND", "(", "", ")", ";", "EXPAND", "(", "", ")", ";", "EXPAND", "(", "", ")", ";", "EXPAND", "(", "", ")", ";", "EXPAND", "(", "", ")", ";", "EXPAND", "(", "", ")", ";", "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", "(", "", ")", ";", "EXPAND", "(", "", ")", ";", "EXPAND", "(", "", ")", ";", "EXPAND", "(", "", ")", ";", "EXPAND", "(", "", ")", ";", "EXPAND", "(", "", ")", ";", "EXPAND", "(", "", ")", ";", "EXPAND", "(", "", ")", ";", "EXPAND", "(", "", ")", ";", "EXPAND", "(", "", ")", ";"], "ground_truth": ["EXPAND", "(", "", ")", ";"], "File": "AVRExpandPseudoInsts16", "Func": "expandMI", "Target": "AVR", "Target_Clf": "MPU", "Compiler_Type": "LLVM", "Idx": 112681, "Length": 356, "Cover_Rate": 0.6666666666666666} {"Template_token": ["", "case", "Op", ":", "\\", "return", "expand", "<", "Op", ">", "(", "MBB", ",", "MI", ")", "switch", "(", "Opcode", ")", "{", "EXPAND", "(", "", ")", ";", "EXPAND", "(", "", ")", ";", "EXPAND", "(", "", ")", ";", "EXPAND", "(", "", ")", ";", "EXPAND", "(", "", ")", ";", "EXPAND", "(", "", ")", ";", "EXPAND", "(", "", ")", ";", "EXPAND", "(", "", ")", ";", "EXPAND", "(", "", ")", ";", "EXPAND", "(", "", ")", ";", "EXPAND", "(", "", ")", ";", "EXPAND", "(", "", ")", ";", "EXPAND", "(", "", ")", ";", "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", "(", "", ")", ";", "EXPAND", "(", "", ")", ";", "EXPAND", "(", "", ")", ";", "EXPAND", "(", "", ")", ";", "EXPAND", "(", "", ")", ";", "EXPAND", "(", "", ")", ";", "EXPAND", "(", "", ")", ";"], "ground_truth": ["EXPAND", "(", "", ")", ";"], "File": "AVRExpandPseudoInsts16", "Func": "expandMI", "Target": "AVR", "Target_Clf": "MPU", "Compiler_Type": "LLVM", "Idx": 112682, "Length": 312, "Cover_Rate": 0.5842696629213483} {"Template_token": ["", "bool", "ExpandPseudo", "::", "expandAtomicArithmeticOp", "(", "unsigned", "Width", ",", "unsigned", "ArithOpcode", ",", "Block", "&", "MBB", ",", "BlockIt", "MBBI", ")", "{", "return", "expandAtomic", "(", "MBB", ",", "MBBI", ",", "[", "&", "]", "(", "MachineInstr", "&", "MI", ")", "{", "auto", "Op1", "=", "MI", ".", "getOperand", "(", "", ")", ";", "auto", "Op2", "=", "MI", ".", "getOperand", "(", "", ")", ";", "unsigned", "LoadOpcode", "=", "(", "Width", "==", "", ")", "?", "", ":", "", ";", "unsigned", "StoreOpcode", "=", "(", "Width", "==", "", ")", "?", "", ":", "", ";", "buildMI", "(", "MBB", ",", "MBBI", ",", "LoadOpcode", ")", ".", "addOperand", "(", "Op1", ")", ".", "addOperand", "(", "Op2", ")", ";", "buildMI", "(", "MBB", ",", "MBBI", ",", "ArithOpcode", ")", ".", "addOperand", "(", "Op1", ")", ".", "addOperand", "(", "Op1", ")", ".", "addOperand", "(", "Op2", ")", ";", "buildMI", "(", "MBB", ",", "MBBI", ",", "StoreOpcode", ")", ".", "addOperand", "(", "Op2", ")", ".", "addOperand", "(", "Op1", ")", ";"], "ground_truth": ["}", ")", ";"], "File": "AVRExpandPseudoInsts17", "Func": "expandAtomicArithmeticOp", "Target": "AVR", "Target_Clf": "MPU", "Compiler_Type": "LLVM", "Idx": 112683, "Length": 146, "Cover_Rate": 0.9419354838709677} {"Template_token": ["", "auto", "Op1", "=", "MI", ".", "getOperand", "(", "", ")", ";", "auto", "Op2", "=", "MI", ".", "getOperand", "(", "", ")", ";"], "ground_truth": ["MachineInstr", "&", "NewInst", "=", "*", "buildMI", "(", "MBB", ",", "MBBI", ",", "Opcode", ")", ".", "addOperand", "(", "Op1", ")", ".", "addOperand", "(", "Op2", ")", ".", "getInstr", "(", ")", ";"], "File": "AVRExpandPseudoInsts17", "Func": "expandAtomicBinaryOp", "Target": "AVR", "Target_Clf": "MPU", "Compiler_Type": "LLVM", "Idx": 112684, "Length": 48, "Cover_Rate": 0.5217391304347826} {"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": "AVRExpandPseudoInsts1", "Func": "buildMI", "Target": "AVR", "Target_Clf": "MPU", "Compiler_Type": "LLVM", "Idx": 112685, "Length": 40, "Cover_Rate": 0.975609756097561} {"Template_token": ["", "MachineInstrBuilder", "buildMI", "(", "Block", "&", "MBB", ",", "BlockIt", "MBBI", ",", "unsigned", "Opcode", ",", "Register", "DstReg", ")", "{", "return", "BuildMI", "(", "MBB", ",", "MBBI", ",", "MBBI", "->", "getDebugLoc", "(", ")", ",", "TII", "->", "get", "(", "Opcode", ")", ",", "DstReg", ")", ";"], "ground_truth": ["}"], "File": "AVRExpandPseudoInsts1", "Func": "buildMI", "Target": "AVR", "Target_Clf": "MPU", "Compiler_Type": "LLVM", "Idx": 112686, "Length": 41, "Cover_Rate": 1.0} {"Template_token": ["", "bool", "SrcIsKill", "=", "MI", ".", "getOperand", "(", "", ")", ".", "isKill", "(", ")", ";", "bool", "ImpIsDead", "=", "MI", ".", "getOperand", "(", "", ")", ".", "isDead", "(", ")", ";", "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", "(", ")", ";"], "ground_truth": ["MIBHI", "->", "getOperand", "(", "", ")", ".", "setIsKill", "(", ")", ";"], "File": "AVRExpandPseudoInsts1", "Func": "expandArith", "Target": "AVR", "Target_Clf": "MPU", "Compiler_Type": "LLVM", "Idx": 112687, "Length": 165, "Cover_Rate": 0.6203007518796992} {"Template_token": ["", "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", ")", ")", ";", "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", "(", ")", ";"], "ground_truth": ["MI", ".", "eraseFromParent", "(", ")", ";"], "File": "AVRExpandPseudoInsts1", "Func": "expandASRB7Rd", "Target": "AVR", "Target_Clf": "MPU", "Compiler_Type": "LLVM", "Idx": 112688, "Length": 149, "Cover_Rate": 0.7268292682926829} {"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", ")", ")", ".", "addReg", "(", "DstReg", ",", "getKillRegState", "(", "DstIsKill", ")", ")", ";", "if", "(", "ImpIsDead", ")", "MIRRC", "->", "getOperand", "(", "", ")", ".", "setIsDead", "(", ")", ";"], "ground_truth": ["MIRRC", "->", "getOperand", "(", "", ")", ".", "setIsKill", "(", ")", ";"], "File": "AVRExpandPseudoInsts1", "Func": "expandASRB7Rd", "Target": "AVR", "Target_Clf": "MPU", "Compiler_Type": "LLVM", "Idx": 112689, "Length": 115, "Cover_Rate": 0.5609756097560976} {"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": "AVRExpandPseudoInsts1", "Func": "expandASRW8Rd", "Target": "AVR", "Target_Clf": "MPU", "Compiler_Type": "LLVM", "Idx": 112690, "Length": 119, "Cover_Rate": 0.4857142857142857} {"Template_token": ["", "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", ")", ";", "buildMI", "(", "MBB", ",", "MBBI", ",", "", ")", ".", "addReg", "(", "DstLoReg", ",", "RegState", "::", "Define", "|", "getDeadRegState", "(", "DstIsDead", ")", ")", ".", "addReg", "(", "DstHiReg", ")", ";", "buildMI", "(", "MBB", ",", "MBBI", ",", "", ")", ".", "addReg", "(", "DstHiReg", ",", "RegState", "::", "Define", ",", "getDeadRegState", "(", "DstIsDead", ")", ")", ".", "addReg", "(", "DstHiReg", ",", "getKillRegState", "(", "DstIsKill", ")", "|", "getDeadRegState", "(", "DstIsDead", ")", ")", ".", "addReg", "(", "DstHiReg", ",", "getKillRegState", "(", "DstIsKill", ")", ")", ";"], "ground_truth": ["auto", "MIBHI", "=", "buildMI", "(", "MBB", ",", "MBBI", ",", "", ")", ".", "addReg", "(", "DstHiReg", ",", "RegState", "::", "Define", "|", "getDeadRegState", "(", "DstIsDead", ")", ")", ".", "addReg", "(", "DstHiReg", ",", "getKillRegState", "(", "DstIsKill", ")", ")", ".", "addReg", "(", "DstHiReg", ",", "getKillRegState", "(", "DstIsKill", ")", ")", ";"], "File": "AVRExpandPseudoInsts1", "Func": "expandASRW8Rd", "Target": "AVR", "Target_Clf": "MPU", "Compiler_Type": "LLVM", "Idx": 112691, "Length": 201, "Cover_Rate": 0.8204081632653061} {"Template_token": ["", "f", "(", "MI", ")", ";", "buildMI", "(", "MBB", ",", "MBBI", ",", "", ")", ".", "addImm", "(", "SREG_ADDR", ")", ".", "addReg", "(", "SCRATCH_REGISTER", ")", ";", "MI", ".", "eraseFromParent", "(", ")", ";", "return", "true", ";"], "ground_truth": ["}"], "File": "AVRExpandPseudoInsts1", "Func": "expandAtomic", "Target": "AVR", "Target_Clf": "MPU", "Compiler_Type": "LLVM", "Idx": 112692, "Length": 34, "Cover_Rate": 0.34} {"Template_token": ["", "f", "(", "MI", ")", ";", "buildMI", "(", "MBB", ",", "MBBI", ",", "", ")", ".", "addImm", "(", "SREG_ADDR", ")", ".", "addReg", "(", "SCRATCH_REGISTER", ")", ";", "MI", ".", "eraseFromParent", "(", ")", ";"], "ground_truth": ["return", "true", ";"], "File": "AVRExpandPseudoInsts1", "Func": "expandAtomic", "Target": "AVR", "Target_Clf": "MPU", "Compiler_Type": "LLVM", "Idx": 112693, "Length": 33, "Cover_Rate": 0.33} {"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", "(", ")", ")", ";", "buildMI", "(", "MBB", ",", "MBBI", ",", "ArithOpcode", ",", "DstReg", ")", ".", "addReg", "(", "DstReg", ")", ".", "addReg", "(", "SrcReg", ")", ";", "buildMI", "(", "MBB", ",", "MBBI", ",", "StoreOpcode", ")", ".", "add", "(", "PtrOp", ")", ".", "addReg", "(", "DstReg", ")", ";", "}", ")", ";"], "ground_truth": ["}"], "File": "AVRExpandPseudoInsts1", "Func": "expandAtomicArithmeticOp", "Target": "AVR", "Target_Clf": "MPU", "Compiler_Type": "LLVM", "Idx": 112694, "Length": 144, "Cover_Rate": 0.8421052631578947} {"Template_token": ["", "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", ")", ";", "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": "AVRExpandPseudoInsts1", "Func": "expandLogic", "Target": "AVR", "Target_Clf": "MPU", "Compiler_Type": "LLVM", "Idx": 112695, "Length": 195, "Cover_Rate": 0.7330827067669173} {"Template_token": ["", "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", ")", ";", "MIBLO", "->", "getOperand", "(", "", ")", ".", "setIsDead", "(", ")", ";", "}", "if", "(", "!", "isLogicImmOpRedundant", "(", "Op", ",", "Hi8", ")", ")", "{", "auto", "MIBHI", "=", "buildMI", "(", "MBB", ",", "MBBI", ",", "Op", ")", ".", "addReg", "(", "DstHiReg", ",", "RegState", "::", "Define", "|", "getDeadRegState", "(", "DstIsDead", ")", ")", ".", "addReg", "(", "DstHiReg", ",", "getKillRegState", "(", "SrcIsKill", ")", ")", ".", "addImm", "(", "Hi8", ")", ";", "if", "(", "ImpIsDead", ")", "MIBHI", "->", "getOperand", "(", "", ")", ".", "setIsDead", "(", ")", ";", "}", "MI", ".", "eraseFromParent", "(", ")", ";"], "ground_truth": ["return", "true", ";"], "File": "AVRExpandPseudoInsts1", "Func": "expandLogicImm", "Target": "AVR", "Target_Clf": "MPU", "Compiler_Type": "LLVM", "Idx": 112696, "Length": 163, "Cover_Rate": 0.6059479553903345} {"Template_token": ["", "buildMI", "(", "MBB", ",", "MBBI", ",", "", ")", ".", "addReg", "(", "DstReg", ",", "RegState", "::", "Define", "|", "getDeadRegState", "(", "DstIsDead", ")", ")", ".", "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", ")", ")", ";", "if", "(", "ImpIsDead", ")", "MIRRC", "->", "getOperand", "(", "", ")", ".", "setIsDead", "(", ")", ";", "MIRRC", "->", "getOperand", "(", "", ")", ".", "setIsKill", "(", ")", ";", "MI", ".", "eraseFromParent", "(", ")", ";", "return", "true", ";"], "ground_truth": ["}"], "File": "AVRExpandPseudoInsts1", "Func": "expandLSLB7Rd", "Target": "AVR", "Target_Clf": "MPU", "Compiler_Type": "LLVM", "Idx": 112697, "Length": 158, "Cover_Rate": 0.6583333333333333} {"Template_token": ["", "bool", "ExpandPseudo", "::", "expandLSLB7Rd", "(", "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", ")", ")", "->", "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", ")", ")", ";"], "ground_truth": ["if", "(", "ImpIsDead", ")", "MIRRC", "->", "getOperand", "(", "", ")", ".", "setIsDead", "(", ")", ";"], "File": "AVRExpandPseudoInsts1", "Func": "expandLSLB7Rd", "Target": "AVR", "Target_Clf": "MPU", "Compiler_Type": "LLVM", "Idx": 112698, "Length": 213, "Cover_Rate": 0.8875} {"Template_token": ["", "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", "(", "DstLoReg", ")", ";"], "ground_truth": ["buildMI", "(", "MBB", ",", "MBBI", ",", "", ")", ".", "addReg", "(", "DstHiReg", ",", "RegState", "::", "Define", "|", "getDeadRegState", "(", "DstIsDead", ")", ")", ".", "addReg", "(", "DstHiReg", ",", "getKillRegState", "(", "DstIsKill", ")", ")", ";"], "File": "AVRExpandPseudoInsts1", "Func": "expandLSLW12Rd", "Target": "AVR", "Target_Clf": "MPU", "Compiler_Type": "LLVM", "Idx": 112699, "Length": 114, "Cover_Rate": 0.4014084507042254} {"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", "(", "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": "AVRExpandPseudoInsts1", "Func": "expandLSLW4Rd", "Target": "AVR", "Target_Clf": "MPU", "Compiler_Type": "LLVM", "Idx": 112700, "Length": 261, "Cover_Rate": 0.6658163265306123} {"Template_token": ["", "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", "(", ")", ";"], "ground_truth": ["auto", "MI1", "=", "buildMI", "(", "MBB", ",", "MBBI", ",", "", ")", ".", "addReg", "(", "DstHiReg", ",", "RegState", "::", "Define", "|", "getDeadRegState", "(", "DstIsDead", ")", ")", ".", "addReg", "(", "DstHiReg", ",", "getKillRegState", "(", "DstIsKill", ")", ")", ".", "addReg", "(", "DstLoReg", ")", ";"], "File": "AVRExpandPseudoInsts1", "Func": "expandLSLW4Rd", "Target": "AVR", "Target_Clf": "MPU", "Compiler_Type": "LLVM", "Idx": 112701, "Length": 170, "Cover_Rate": 0.4336734693877551} {"Template_token": ["", "buildMI", "(", "MBB", ",", "MBBI", ",", "", ")", ".", "addReg", "(", "DstHiReg", ",", "RegState", "::", "Define", "|", "getDeadRegState", "(", "DstIsDead", ")", ")", ".", "addReg", "(", "DstLoReg", ")", ";", "auto", "MIBLO", "=", "buildMI", "(", "MBB", ",", "MBBI", ",", "", ")", ".", "addReg", "(", "DstLoReg", ",", "RegState", "::", "Define", "|", "getDeadRegState", "(", "DstIsDead", ")", ")", ".", "addReg", "(", "DstLoReg", ",", "getKillRegState", "(", "DstIsKill", ")", ")", ".", "addReg", "(", "DstLoReg", ",", "getKillRegState", "(", "DstIsKill", ")", ")", ";", "if", "(", "ImpIsDead", ")", "MIBLO", "->", "getOperand", "(", "", ")", ".", "setIsDead", "(", ")", ";", "MI", ".", "eraseFromParent", "(", ")", ";"], "ground_truth": ["return", "true", ";"], "File": "AVRExpandPseudoInsts1", "Func": "expandLSLW8Rd", "Target": "AVR", "Target_Clf": "MPU", "Compiler_Type": "LLVM", "Idx": 112702, "Length": 98, "Cover_Rate": 0.5025641025641026} {"Template_token": ["", "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", ")", ";"], "ground_truth": ["buildMI", "(", "MBB", ",", "MBBI", ",", "", ")", ".", "addReg", "(", "DstReg", ",", "RegState", "::", "Define", "|", "getDeadRegState", "(", "DstIsDead", ")", ")", ".", "addReg", "(", "DstReg", ",", "getKillRegState", "(", "DstIsKill", ")", ")", ".", "addReg", "(", "DstReg", ",", "getKillRegState", "(", "DstIsKill", ")", ")", ";"], "File": "AVRExpandPseudoInsts1", "Func": "expandLSRB7Rd", "Target": "AVR", "Target_Clf": "MPU", "Compiler_Type": "LLVM", "Idx": 112703, "Length": 110, "Cover_Rate": 0.4230769230769231} {"Template_token": ["", "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": "AVRExpandPseudoInsts1", "Func": "expandLSRW12Rd", "Target": "AVR", "Target_Clf": "MPU", "Compiler_Type": "LLVM", "Idx": 112704, "Length": 194, "Cover_Rate": 0.6830985915492958} {"Template_token": ["", "MI1", "->", "getOperand", "(", "", ")", ".", "setIsDead", "(", ")", ";", "auto", "MI2", "=", "buildMI", "(", "MBB", ",", "MBBI", ",", "", ")", ".", "addReg", "(", "DstHiReg", ",", "RegState", "::", "Define", "|", "getDeadRegState", "(", "DstIsDead", ")", ")", ".", "addReg", "(", "DstHiReg", ",", "getKillRegState", "(", "DstIsKill", ")", ")", ".", "addImm", "(", "", ")", ";", "MI2", "->", "getOperand", "(", "", ")", ".", "setIsDead", "(", ")", ";", "auto", "MI3", "=", "buildMI", "(", "MBB", ",", "MBBI", ",", "", ")", ".", "addReg", "(", "DstLoReg", ",", "RegState", "::", "Define", "|", "getDeadRegState", "(", "DstIsDead", ")", ")", ".", "addReg", "(", "DstLoReg", ",", "getKillRegState", "(", "DstIsKill", ")", ")", ".", "addReg", "(", "DstHiReg", ")", ";", "if", "(", "ImpIsDead", ")", "MI3", "->", "getOperand", "(", "", ")", ".", "setIsDead", "(", ")", ";"], "ground_truth": ["MI", ".", "eraseFromParent", "(", ")", ";"], "File": "AVRExpandPseudoInsts1", "Func": "expandLSRW4Rd", "Target": "AVR", "Target_Clf": "MPU", "Compiler_Type": "LLVM", "Idx": 112705, "Length": 125, "Cover_Rate": 0.31887755102040816} {"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", ")", ";", "auto", "MIBHI", "=", "buildMI", "(", "MBB", ",", "MBBI", ",", "", ")", ".", "addReg", "(", "DstHiReg", ",", "RegState", "::", "Define", "|", "getDeadRegState", "(", "DstIsDead", ")", ")", ".", "addReg", "(", "DstHiReg", ",", "getKillRegState", "(", "DstIsKill", ")", ")", ".", "addReg", "(", "DstHiReg", ",", "getKillRegState", "(", "DstIsKill", ")", ")", ";"], "ground_truth": ["if", "(", "ImpIsDead", ")", "MIBHI", "->", "getOperand", "(", "", ")", ".", "setIsDead", "(", ")", ";"], "File": "AVRExpandPseudoInsts1", "Func": "expandLSRW8Rd", "Target": "AVR", "Target_Clf": "MPU", "Compiler_Type": "LLVM", "Idx": 112706, "Length": 128, "Cover_Rate": 0.6564102564102564} {"Template_token": ["", "EXPAND", "(", "", ")", ";", "EXPAND", "(", "", ")", ";", "EXPAND", "(", "", ")", ";", "EXPAND", "(", "", ")", ";", "EXPAND", "(", "", ")", ";", "EXPAND", "(", "", ")", ";", "EXPAND", "(", "", ")", ";", "EXPAND", "(", "", ")", ";", "EXPAND", "(", "", ")", ";", "EXPAND", "(", "", ")", ";", "EXPAND", "(", "", ")", ";", "EXPAND", "(", "", ")", ";", "EXPAND", "(", "", ")", ";", "EXPAND", "(", "", ")", ";", "EXPAND", "(", "", ")", ";", "EXPAND", "(", "", ")", ";", "EXPAND", "(", "", ")", ";", "EXPAND", "(", "", ")", ";", "EXPAND", "(", "", ")", ";", "EXPAND", "(", "", ")", ";", "case", "", ":", "EXPAND", "(", "", ")", ";", "EXPAND", "(", "", ")", ";", "EXPAND", "(", "", ")", ";", "EXPAND", "(", "", ")", ";", "EXPAND", "(", "", ")", ";", "EXPAND", "(", "", ")", ";", "EXPAND", "(", "", ")", ";", "EXPAND", "(", "", ")", ";", "EXPAND", "(", "", ")", ";", "EXPAND", "(", "", ")", ";", "EXPAND", "(", "", ")", ";", "EXPAND", "(", "", ")", ";", "EXPAND", "(", "", ")", ";", "EXPAND", "(", "", ")", ";"], "ground_truth": ["EXPAND", "(", "", ")", ";"], "File": "AVRExpandPseudoInsts1", "Func": "expandMI", "Target": "AVR", "Target_Clf": "MPU", "Compiler_Type": "LLVM", "Idx": 112707, "Length": 178, "Cover_Rate": 0.35177865612648224} {"Template_token": ["", "if", "(", "Op", "==", "", "&&", "ImmVal", "==", "", ")", "return", "true", ";", "return", "false", ";"], "ground_truth": ["}"], "File": "AVRExpandPseudoInsts1", "Func": "isLogicImmOpRedundant", "Target": "AVR", "Target_Clf": "MPU", "Compiler_Type": "LLVM", "Idx": 112708, "Length": 17, "Cover_Rate": 0.3617021276595745} {"Template_token": ["", "bool", "ExpandPseudo", "::", "isLogicImmOpRedundant", "(", "unsigned", "Op", ",", "unsigned", "ImmVal", ")", "const", "{", "if", "(", "Op", "==", "", "&&", "ImmVal", "==", "", ")", "return", "true", ";", "if", "(", "Op", "==", "", "&&", "ImmVal", "==", "", ")", "return", "true", ";"], "ground_truth": ["return", "false", ";"], "File": "AVRExpandPseudoInsts1", "Func": "isLogicImmOpRedundant", "Target": "AVR", "Target_Clf": "MPU", "Compiler_Type": "LLVM", "Idx": 112709, "Length": 42, "Cover_Rate": 0.8936170212765957} {"Template_token": ["", "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": "AVRExpandPseudoInsts1", "Func": "scavengeGPR8", "Target": "AVR", "Target_Clf": "MPU", "Compiler_Type": "LLVM", "Idx": 112710, "Length": 89, "Cover_Rate": 0.5632911392405063} {"Template_token": ["", "EXPAND", "(", "", ")", ";", "EXPAND", "(", "", ")", ";", "EXPAND", "(", "", ")", ";", "EXPAND", "(", "", ")", ";", "EXPAND", "(", "", ")", ";", "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", "(", "", ")", ";"], "ground_truth": ["EXPAND", "(", "", ")", ";"], "File": "AVRExpandPseudoInsts24", "Func": "expandMI", "Target": "AVR", "Target_Clf": "MPU", "Compiler_Type": "LLVM", "Idx": 112711, "Length": 163, "Cover_Rate": 0.35129310344827586} {"Template_token": ["", "buildMI", "(", "MBB", ",", "MBBI", ",", "", ")", ".", "addReg", "(", "DstReg", ",", "RegState", "::", "Define", "|", "getDeadRegState", "(", "DstIsDead", ")", ")", ".", "addReg", "(", "DstReg", ",", "getKillRegState", "(", "DstIsKill", ")", ")", ".", "addReg", "(", "DstReg", ",", "getKillRegState", "(", "DstIsKill", ")", ")", ";"], "ground_truth": ["buildMI", "(", "MBB", ",", "MBBI", ",", "", ")", ".", "addReg", "(", "DstReg", ",", "RegState", "::", "Define", "|", "getDeadRegState", "(", "DstIsDead", ")", ")", ".", "addReg", "(", "DstReg", ",", "getKillRegState", "(", "DstIsKill", ")", ")", ".", "addImm", "(", "", ")", "->", "getOperand", "(", "", ")", ".", "setIsKill", "(", ")", ";"], "File": "AVRExpandPseudoInsts3", "Func": "expandASRB6Rd", "Target": "AVR", "Target_Clf": "MPU", "Compiler_Type": "LLVM", "Idx": 112712, "Length": 90, "Cover_Rate": 0.371900826446281} {"Template_token": ["", "EXPAND", "(", "", ")", ";", "EXPAND", "(", "", ")", ";", "EXPAND", "(", "", ")", ";", "EXPAND", "(", "", ")", ";", "EXPAND", "(", "", ")", ";", "EXPAND", "(", "", ")", ";", "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": "AVRExpandPseudoInsts3", "Func": "expandMI", "Target": "AVR", "Target_Clf": "MPU", "Compiler_Type": "LLVM", "Idx": 112713, "Length": 228, "Cover_Rate": 0.41081081081081083} {"Template_token": ["", "EXPAND", "(", "", ")", ";", "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", "(", "", ")", ";"], "ground_truth": ["EXPAND", "(", "", ")", ";"], "File": "AVRExpandPseudoInsts5", "Func": "expandMI", "Target": "AVR", "Target_Clf": "MPU", "Compiler_Type": "LLVM", "Idx": 112714, "Length": 178, "Cover_Rate": 0.3670103092783505} {"Template_token": ["", "EXPAND", "(", "", ")", ";", "EXPAND", "(", "", ")", ";", "EXPAND", "(", "", ")", ";", "EXPAND", "(", "", ")", ";", "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", "(", "", ")", ";", "EXPAND", "(", "", ")", ";", "EXPAND", "(", "", ")", ";"], "ground_truth": ["EXPAND", "(", "", ")", ";"], "File": "AVRExpandPseudoInsts7", "Func": "expandMI", "Target": "AVR", "Target_Clf": "MPU", "Compiler_Type": "LLVM", "Idx": 112715, "Length": 228, "Cover_Rate": 0.47010309278350515} {"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", "(", ")", ";", "return", "true", ";"], "ground_truth": ["}"], "File": "AVRExpandPseudoInsts8", "Func": "expandLSLB7Rd", "Target": "AVR", "Target_Clf": "MPU", "Compiler_Type": "LLVM", "Idx": 112716, "Length": 115, "Cover_Rate": 0.4791666666666667} {"Template_token": ["", "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", ")", ")", "->", "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", ")", ")", ";"], "ground_truth": ["if", "(", "ImpIsDead", ")", "MIRRC", "->", "getOperand", "(", "", ")", ".", "setIsDead", "(", ")", ";"], "File": "AVRExpandPseudoInsts8", "Func": "expandLSLB7Rd", "Target": "AVR", "Target_Clf": "MPU", "Compiler_Type": "LLVM", "Idx": 112717, "Length": 193, "Cover_Rate": 0.8041666666666667} {"Template_token": ["", "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", ")", ")", ";"], "ground_truth": ["auto", "MIRRC", "=", "buildMI", "(", "MBB", ",", "MBBI", ",", "", ")", ".", "addReg", "(", "DstReg", ",", "RegState", "::", "Define", "|", "getDeadRegState", "(", "DstIsDead", ")", ")", ".", "addReg", "(", "DstReg", ",", "getKillRegState", "(", "DstIsKill", ")", ")", ".", "addReg", "(", "DstReg", ",", "getKillRegState", "(", "DstIsKill", ")", ")", ";"], "File": "AVRExpandPseudoInsts8", "Func": "expandLSRB7Rd", "Target": "AVR", "Target_Clf": "MPU", "Compiler_Type": "LLVM", "Idx": 112718, "Length": 205, "Cover_Rate": 0.7884615384615384} {"Template_token": ["", "EXPAND", "(", "", ")", ";", "EXPAND", "(", "", ")", ";", "EXPAND", "(", "", ")", ";", "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", "(", "", ")", ";"], "ground_truth": ["EXPAND", "(", "", ")", ";"], "File": "AVRExpandPseudoInsts8", "Func": "expandMI", "Target": "AVR", "Target_Clf": "MPU", "Compiler_Type": "LLVM", "Idx": 112719, "Length": 198, "Cover_Rate": 0.391304347826087} {"Template_token": ["", "inline", "void", "adjustBranchTarget", "(", "T", "&", "val", ")", "{", "val", ">>=", "", ";"], "ground_truth": ["}"], "File": "AVRFixupKinds", "Func": "adjustBranchTarget", "Target": "AVR", "Target_Clf": "MPU", "Compiler_Type": "LLVM", "Idx": 112720, "Length": 14, "Cover_Rate": 1.0} {"Template_token": ["", "FrameAnalyzer", "(", ")", ":", "MachineFunctionPass", "(", "ID", ")", "{"], "ground_truth": ["}"], "File": "AVRFrameLowering (2)", "Func": "AVRFrameAnalyzer", "Target": "AVR", "Target_Clf": "MPU", "Compiler_Type": "LLVM", "Idx": 112722, "Length": 10, "Cover_Rate": 1.0} {"Template_token": ["", "FrameAnalyzer", "(", ")", ":", "MachineFunctionPass", "(", "ID", ")", "{"], "ground_truth": ["}"], "File": "AVRFrameLowering (2)", "Func": "AVRFrameAnalyzer", "Target": "AVR", "Target_Clf": "MPU", "Compiler_Type": "LLVM", "Idx": 112723, "Length": 10, "Cover_Rate": 1.0} {"Template_token": ["", "FrameLowering", "::", "FrameLowering", "(", ")", ":", "TargetFrameLowering", "(", "TargetFrameLowering", "::", "StackGrowsDown", ",", "Align", "(", "", ")", ",", "-", "", ")", "{"], "ground_truth": ["}"], "File": "AVRFrameLowering (2)", "Func": "AVRFrameLowering", "Target": "AVR", "Target_Clf": "MPU", "Compiler_Type": "LLVM", "Idx": 112724, "Length": 22, "Cover_Rate": 1.0} {"Template_token": ["", "FrameLowering", "::", "FrameLowering", "(", ")", ":", "TargetFrameLowering", "(", "TargetFrameLowering", "::", "StackGrowsDown", ",", "Align", "(", "", ")", ",", "-", "", ")", "{"], "ground_truth": ["}"], "File": "AVRFrameLowering (2)", "Func": "AVRFrameLowering", "Target": "AVR", "Target_Clf": "MPU", "Compiler_Type": "LLVM", "Idx": 112725, "Length": 22, "Cover_Rate": 1.0} {"Template_token": ["", "FunctionPass", "*", "createFrameAnalyzerPass", "(", ")", "{", "return", "new", "FrameAnalyzer", "(", ")", ";"], "ground_truth": ["}"], "File": "AVRFrameLowering (2)", "Func": "createAVRFrameAnalyzerPass", "Target": "AVR", "Target_Clf": "MPU", "Compiler_Type": "LLVM", "Idx": 112727, "Length": 13, "Cover_Rate": 1.0} {"Template_token": ["", "if", "(", "hasFP", "(", "MF", ")", ")", "{", "SavedRegs", ".", "set", "(", "", ")", ";", "SavedRegs", ".", "set", "(", "", ")", ";", "}"], "ground_truth": ["}"], "File": "AVRFrameLowering (2)", "Func": "determineCalleeSaves", "Target": "AVR", "Target_Clf": "MPU", "Compiler_Type": "LLVM", "Idx": 112729, "Length": 24, "Cover_Rate": 0.41379310344827586} {"Template_token": ["", "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", ";"], "ground_truth": ["if", "(", "isUInt", "<", "", ">", "(", "Amount", ")", ")", "{"], "File": "AVRFrameLowering (2)", "Func": "eliminateCallFramePseudoInstr", "Target": "AVR", "Target_Clf": "MPU", "Compiler_Type": "LLVM", "Idx": 112730, "Length": 130, "Cover_Rate": 0.3037383177570093} {"Template_token": ["", "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": ["return", "MBB", ".", "erase", "(", "MI", ")", ";"], "File": "AVRFrameLowering (2)", "Func": "eliminateCallFramePseudoInstr", "Target": "AVR", "Target_Clf": "MPU", "Compiler_Type": "LLVM", "Idx": 112731, "Length": 148, "Cover_Rate": 0.34579439252336447} {"Template_token": ["", "const", "InstrInfo", "&", "TII", "=", "*", "STI", ".", "getInstrInfo", "(", ")", ";", "if", "(", "!", "FrameSize", "&&", "!", "MF", ".", "getFrameInfo", "(", ")", ".", "hasVarSizedObjects", "(", ")", ")", "{", "restoreStatusRegister", "(", "MF", ",", "MBB", ")", ";", "return", ";", "}", "while", "(", "MBBI", "!=", "MBB", ".", "begin", "(", ")", ")", "{", "MachineBasicBlock", "::", "iterator", "PI", "=", "std", "::", "prev", "(", "MBBI", ")", ";", "int", "Opc", "=", "PI", "->", "getOpcode", "(", ")", ";", "if", "(", "Opc", "!=", "", "&&", "Opc", "!=", "", "&&", "!", "PI", "->", "isTerminator", "(", ")", ")", "{", "break", ";", "}", "--", "MBBI", ";", "}", "if", "(", "FrameSize", ")", "{", "unsigned", "Opcode", ";", "if", "(", "isUInt", "<", "", ">", "(", "FrameSize", ")", ")", "{"], "ground_truth": ["Opcode", "=", "", ";"], "File": "AVRFrameLowering (2)", "Func": "emitEpilogue", "Target": "AVR", "Target_Clf": "MPU", "Compiler_Type": "LLVM", "Idx": 112732, "Length": 119, "Cover_Rate": 0.3342696629213483} {"Template_token": ["", "if", "(", "AFI", "->", "isInterruptOrSignalHandler", "(", ")", ")", "{", "BuildMI", "(", "MBB", ",", "MBBI", ",", "DL", ",", "TII", ".", "get", "(", "", ")", ")", ".", "addReg", "(", "", ",", "RegState", "::", "Kill", ")", ".", "setMIFlag", "(", "MachineInstr", "::", "FrameSetup", ")", ";", "BuildMI", "(", "MBB", ",", "MBBI", ",", "DL", ",", "TII", ".", "get", "(", "", ")", ",", "", ")", ".", "addImm", "(", "STI", ".", "getIORegSREG", "(", ")", ")", ".", "setMIFlag", "(", "MachineInstr", "::", "FrameSetup", ")", ";", "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", ")", ";", "}", "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", ")", ";"], "ground_truth": ["for", "(", "MachineBasicBlock", "&", "MBBJ", ":", "llvm", "::", "drop_begin", "(", "MF", ")", ")", "{"], "File": "AVRFrameLowering (2)", "Func": "emitPrologue", "Target": "AVR", "Target_Clf": "MPU", "Compiler_Type": "LLVM", "Idx": 112733, "Length": 281, "Cover_Rate": 0.48198970840480276} {"Template_token": ["", "bool", "HasFP", "=", "hasFP", "(", "MF", ")", ";", "if", "(", "AFI", "->", "isInterruptHandler", "(", ")", ")", "{", "BuildMI", "(", "MBB", ",", "MBBI", ",", "DL", ",", "TII", ".", "get", "(", "", ")", ")", ".", "addImm", "(", "", ")", ".", "setMIFlag", "(", "MachineInstr", "::", "FrameSetup", ")", ";", "}", "if", "(", "AFI", "->", "isInterruptOrSignalHandler", "(", ")", ")", "{", "BuildMI", "(", "MBB", ",", "MBBI", ",", "DL", ",", "TII", ".", "get", "(", "", ")", ")", ".", "addReg", "(", "", ",", "RegState", "::", "Kill", ")", ".", "setMIFlag", "(", "MachineInstr", "::", "FrameSetup", ")", ";", "BuildMI", "(", "MBB", ",", "MBBI", ",", "DL", ",", "TII", ".", "get", "(", "", ")", ",", "", ")", ".", "addImm", "(", "STI", ".", "getIORegSREG", "(", ")", ")", ".", "setMIFlag", "(", "MachineInstr", "::", "FrameSetup", ")", ";", "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", ")", ";", "}", "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", "(", "MachineBasicBlock", "&", "MBBJ", ":", "llvm", "::", "drop_begin", "(", "MF", ")", ")", "{", "MBBJ", ".", "addLiveIn", "(", "", ")", ";", "}", "if", "(", "!", "FrameSize", ")", "{", "return", ";", "}", "unsigned", "Opcode", "=", "(", "isUInt", "<", "", ">", "(", "FrameSize", ")", ")", "?", "", ":", "", ";", "MachineInstr", "*", "MI", "=", "BuildMI", "(", "MBB", ",", "MBBI", ",", "DL", ",", "TII", ".", "get", "(", "Opcode", ")", ",", "", ")", ".", "addReg", "(", "", ",", "RegState", "::", "Kill", ")", ".", "addImm", "(", "FrameSize", ")", ".", "setMIFlag", "(", "MachineInstr", "::", "FrameSetup", ")", ";"], "ground_truth": ["MI", "->", "getOperand", "(", "", ")", ".", "setIsDead", "(", ")", ";"], "File": "AVRFrameLowering (2)", "Func": "emitPrologue", "Target": "AVR", "Target_Clf": "MPU", "Compiler_Type": "LLVM", "Idx": 112734, "Length": 415, "Cover_Rate": 0.7118353344768439} {"Template_token": ["", "for", "(", "MachineInstr", "&", "MI", ":", "llvm", "::", "make_early_inc_range", "(", "llvm", "::", "make_range", "(", "StartMI", ",", "MBB", ".", "end", "(", ")", ")", ")", ")", "{", "if", "(", "MI", ".", "isCall", "(", ")", ")", "break", ";", "unsigned", "Opcode", "=", "MI", ".", "getOpcode", "(", ")", ";", "if", "(", "Opcode", "!=", "", "&&", "Opcode", "!=", "", ")", "continue", ";", "assert", "(", "MI", ".", "getOperand", "(", "", ")", ".", "getReg", "(", ")", "==", "", "&&", "", ")", ";", "unsigned", "STOpc", "=", "(", "Opcode", "==", "", ")", "?", "", ":", "", ";", "MI", ".", "setDesc", "(", "TII", ".", "get", "(", "STOpc", ")", ")", ";", "MI", ".", "getOperand", "(", "", ")", ".", "setReg", "(", "", ")", ";", "}"], "ground_truth": ["}"], "File": "AVRFrameLowering (2)", "Func": "fixStackStores", "Target": "AVR", "Target_Clf": "MPU", "Compiler_Type": "LLVM", "Idx": 112735, "Length": 113, "Cover_Rate": 0.773972602739726} {"Template_token": ["", "StringRef", "getPassName", "(", ")", "const", "override", "{", "return", "", ";"], "ground_truth": ["}"], "File": "AVRFrameLowering (2)", "Func": "getPassName", "Target": "AVR", "Target_Clf": "MPU", "Compiler_Type": "LLVM", "Idx": 112736, "Length": 11, "Cover_Rate": 1.0} {"Template_token": ["", "StringRef", "getPassName", "(", ")", "const", "override", "{", "return", "", ";"], "ground_truth": ["}"], "File": "AVRFrameLowering (2)", "Func": "getPassName", "Target": "AVR", "Target_Clf": "MPU", "Compiler_Type": "LLVM", "Idx": 112737, "Length": 11, "Cover_Rate": 1.0} {"Template_token": ["", "bool", "FrameLowering", "::", "hasFP", "(", "const", "MachineFunction", "&", "MF", ")", "const", "{", "const", "MachineFunctionInfo", "*", "FuncInfo", "=", "MF", ".", "getInfo", "<", "MachineFunctionInfo", ">", "(", ")", ";"], "ground_truth": ["return", "(", "FuncInfo", "->", "getHasSpills", "(", ")", "||", "FuncInfo", "->", "getHasAllocas", "(", ")", "||", "FuncInfo", "->", "getHasStackArgs", "(", ")", "||", "MF", ".", "getFrameInfo", "(", ")", ".", "hasVarSizedObjects", "(", ")", ")", ";"], "File": "AVRFrameLowering (2)", "Func": "hasFP", "Target": "AVR", "Target_Clf": "MPU", "Compiler_Type": "LLVM", "Idx": 112738, "Length": 57, "Cover_Rate": 0.9827586206896551} {"Template_token": ["", "bool", "FrameLowering", "::", "hasFP", "(", "const", "MachineFunction", "&", "MF", ")", "const", "{", "const", "MachineFunctionInfo", "*", "FuncInfo", "=", "MF", ".", "getInfo", "<", "MachineFunctionInfo", ">", "(", ")", ";", "return", "(", "FuncInfo", "->", "getHasSpills", "(", ")", "||", "FuncInfo", "->", "getHasAllocas", "(", ")", "||", "FuncInfo", "->", "getHasStackArgs", "(", ")", "||", "MF", ".", "getFrameInfo", "(", ")", ".", "hasVarSizedObjects", "(", ")", ")", ";"], "ground_truth": ["}"], "File": "AVRFrameLowering (2)", "Func": "hasFP", "Target": "AVR", "Target_Clf": "MPU", "Compiler_Type": "LLVM", "Idx": 112739, "Length": 58, "Cover_Rate": 1.0} {"Template_token": ["", "return", "hasFP", "(", "MF", ")", "&&", "!", "MFI", ".", "hasVarSizedObjects", "(", ")", ";"], "ground_truth": ["}"], "File": "AVRFrameLowering (2)", "Func": "hasReservedCallFrame", "Target": "AVR", "Target_Clf": "MPU", "Compiler_Type": "LLVM", "Idx": 112740, "Length": 14, "Cover_Rate": 0.3783783783783784} {"Template_token": ["", "}", "DebugLoc", "DL", "=", "MBB", ".", "findDebugLoc", "(", "MI", ")", ";", "const", "MachineFunction", "&", "MF", "=", "*", "MBB", ".", "getParent", "(", ")", ";", "const", "Subtarget", "&", "STI", "=", "MF", ".", "getSubtarget", "<", "Subtarget", ">", "(", ")", ";", "const", "TargetInstrInfo", "&", "TII", "=", "*", "STI", ".", "getInstrInfo", "(", ")", ";", "for", "(", "const", "CalleeSavedInfo", "&", "CCSI", ":", "CSI", ")", "{", "Register", "Reg", "=", "CCSI", ".", "getReg", "(", ")", ";", "assert", "(", "TRI", "->", "getRegSizeInBits", "(", "*", "TRI", "->", "getMinimalPhysRegClass", "(", "Reg", ")", ")", "==", "", "&&", "", ")", ";"], "ground_truth": ["BuildMI", "(", "MBB", ",", "MI", ",", "DL", ",", "TII", ".", "get", "(", "", ")", ",", "Reg", ")", ";"], "File": "AVRFrameLowering (2)", "Func": "restoreCalleeSavedRegisters", "Target": "AVR", "Target_Clf": "MPU", "Compiler_Type": "LLVM", "Idx": 112741, "Length": 106, "Cover_Rate": 0.6973684210526315} {"Template_token": ["", "const", "TargetInstrInfo", "&", "TII", "=", "*", "STI", ".", "getInstrInfo", "(", ")", ";", "for", "(", "const", "CalleeSavedInfo", "&", "CCSI", ":", "CSI", ")", "{", "Register", "Reg", "=", "CCSI", ".", "getReg", "(", ")", ";", "assert", "(", "TRI", "->", "getRegSizeInBits", "(", "*", "TRI", "->", "getMinimalPhysRegClass", "(", "Reg", ")", ")", "==", "", "&&", "", ")", ";", "BuildMI", "(", "MBB", ",", "MI", ",", "DL", ",", "TII", ".", "get", "(", "", ")", ",", "Reg", ")", ";", "}", "return", "true", ";"], "ground_truth": ["}"], "File": "AVRFrameLowering (2)", "Func": "restoreCalleeSavedRegisters", "Target": "AVR", "Target_Clf": "MPU", "Compiler_Type": "LLVM", "Idx": 112742, "Length": 74, "Cover_Rate": 0.4868421052631579} {"Template_token": ["", "const", "MachineFunctionInfo", "*", "AFI", "=", "MF", ".", "getInfo", "<", "MachineFunctionInfo", ">", "(", ")", ";", "MachineBasicBlock", "::", "iterator", "MBBI", "=", "MBB", ".", "getLastNonDebugInstr", "(", ")", ";", "DebugLoc", "DL", "=", "MBBI", "->", "getDebugLoc", "(", ")", ";", "const", "Subtarget", "&", "STI", "=", "MF", ".", "getSubtarget", "<", "Subtarget", ">", "(", ")", ";", "const", "InstrInfo", "&", "TII", "=", "*", "STI", ".", "getInstrInfo", "(", ")", ";", "if", "(", "AFI", "->", "isInterruptOrSignalHandler", "(", ")", ")", "{"], "ground_truth": ["BuildMI", "(", "MBB", ",", "MBBI", ",", "DL", ",", "TII", ".", "get", "(", "", ")", ",", "", ")", ";"], "File": "AVRFrameLowering (2)", "Func": "restoreStatusRegister", "Target": "AVR", "Target_Clf": "MPU", "Compiler_Type": "LLVM", "Idx": 112743, "Length": 87, "Cover_Rate": 0.5240963855421686} {"Template_token": ["", "const", "Subtarget", "&", "STI", "=", "MF", ".", "getSubtarget", "<", "Subtarget", ">", "(", ")", ";", "const", "InstrInfo", "&", "TII", "=", "*", "STI", ".", "getInstrInfo", "(", ")", ";", "if", "(", "AFI", "->", "isInterruptOrSignalHandler", "(", ")", ")", "{", "BuildMI", "(", "MBB", ",", "MBBI", ",", "DL", ",", "TII", ".", "get", "(", "", ")", ",", "", ")", ";"], "ground_truth": ["BuildMI", "(", "MBB", ",", "MBBI", ",", "DL", ",", "TII", ".", "get", "(", "", ")", ")", ".", "addImm", "(", "STI", ".", "getIORegSREG", "(", ")", ")", ".", "addReg", "(", "", ",", "RegState", "::", "Kill", ")", ";"], "File": "AVRFrameLowering (2)", "Func": "restoreStatusRegister", "Target": "AVR", "Target_Clf": "MPU", "Compiler_Type": "LLVM", "Idx": 112744, "Length": 87, "Cover_Rate": 0.5240963855421686} {"Template_token": ["", "}", "for", "(", "const", "MachineBasicBlock", "&", "BB", ":", "MF", ")", "{", "for", "(", "const", "MachineInstr", "&", "MI", ":", "BB", ")", "{", "int", "Opcode", "=", "MI", ".", "getOpcode", "(", ")", ";", "if", "(", "(", "Opcode", "!=", "", ")", "&&", "(", "Opcode", "!=", "", ")", "&&", "(", "Opcode", "!=", "", ")", "&&", "(", "Opcode", "!=", "", ")", ")", "{", "continue", ";", "}", "for", "(", "const", "MachineOperand", "&", "MO", ":", "MI", ".", "operands", "(", ")", ")", "{", "if", "(", "!", "MO", ".", "isFI", "(", ")", ")", "{", "continue", ";", "}"], "ground_truth": ["if", "(", "MFI", ".", "isFixedObjectIndex", "(", "MO", ".", "getIndex", "(", ")", ")", ")", "{"], "File": "AVRFrameLowering (2)", "Func": "runOnMachineFunction", "Target": "AVR", "Target_Clf": "MPU", "Compiler_Type": "LLVM", "Idx": 112745, "Length": 101, "Cover_Rate": 0.43162393162393164} {"Template_token": ["", "const", "TargetInstrInfo", "&", "TII", "=", "*", "STI", ".", "getInstrInfo", "(", ")", ";", "MachineFunctionInfo", "*", "FI", "=", "MF", ".", "getInfo", "<", "MachineFunctionInfo", ">", "(", ")", ";", "for", "(", "const", "CalleeSavedInfo", "&", "I", ":", "llvm", "::", "reverse", "(", "CSI", ")", ")", "{", "Register", "Reg", "=", "I", ".", "getReg", "(", ")", ";", "bool", "IsNotLiveIn", "=", "!", "MBB", ".", "isLiveIn", "(", "Reg", ")", ";", "assert", "(", "TRI", "->", "getRegSizeInBits", "(", "*", "TRI", "->", "getMinimalPhysRegClass", "(", "Reg", ")", ")", "==", "", "&&", "", ")", ";"], "ground_truth": ["if", "(", "IsNotLiveIn", ")", "{"], "File": "AVRFrameLowering (2)", "Func": "spillCalleeSavedRegisters", "Target": "AVR", "Target_Clf": "MPU", "Compiler_Type": "LLVM", "Idx": 112746, "Length": 85, "Cover_Rate": 0.3811659192825112} {"Template_token": ["", "FrameLowering", "::", "FrameLowering", "(", ")", ":", "TargetFrameLowering", "(", "TargetFrameLowering", "::", "StackGrowsDown", ",", "Align", "::", "None", "(", ")", ",", "-", "", ")", "{"], "ground_truth": ["}"], "File": "AVRFrameLowering11", "Func": "AVRFrameLowering", "Target": "AVR", "Target_Clf": "MPU", "Compiler_Type": "LLVM", "Idx": 112747, "Length": 23, "Cover_Rate": 1.0} {"Template_token": ["", "FrameLowering", "::", "FrameLowering", "(", ")", ":", "TargetFrameLowering", "(", "TargetFrameLowering", "::", "StackGrowsDown", ",", "Align", "::", "None", "(", ")", ",", "-", "", ")", "{"], "ground_truth": ["}"], "File": "AVRFrameLowering11", "Func": "AVRFrameLowering", "Target": "AVR", "Target_Clf": "MPU", "Compiler_Type": "LLVM", "Idx": 112748, "Length": 23, "Cover_Rate": 1.0} {"Template_token": ["", "return", "MBB", ".", "erase", "(", "MI", ")", ";", "}", "DebugLoc", "DL", "=", "MI", "->", "getDebugLoc", "(", ")", ";", "unsigned", "int", "Opcode", "=", "MI", "->", "getOpcode", "(", ")", ";", "int", "Amount", "=", "TII", ".", "getFrameSize", "(", "*", "MI", ")", ";", "if", "(", "Amount", "!=", "", ")", "{", "assert", "(", "getStackAlignment", "(", ")", "==", "", "&&", "", ")", ";", "if", "(", "Opcode", "==", "TII", ".", "getCallFrameSetupOpcode", "(", ")", ")", "{", "fixStackStores", "(", "MBB", ",", "MI", ",", "TII", ",", "true", ")", ";", "}", "else", "{", "assert", "(", "Opcode", "==", "TII", ".", "getCallFrameDestroyOpcode", "(", ")", ")", ";", "unsigned", "addOpcode", ";", "if", "(", "isUInt", "<", "", ">", "(", "Amount", ")", ")", "{"], "ground_truth": ["addOpcode", "=", "", ";"], "File": "AVRFrameLowering11", "Func": "eliminateCallFramePseudoInstr", "Target": "AVR", "Target_Clf": "MPU", "Compiler_Type": "LLVM", "Idx": 112749, "Length": 111, "Cover_Rate": 0.34796238244514105} {"Template_token": ["", "fixStackStores", "(", "MBB", ",", "MI", ",", "TII", ",", "false", ")", ";", "return", "MBB", ".", "erase", "(", "MI", ")", ";", "}", "DebugLoc", "DL", "=", "MI", "->", "getDebugLoc", "(", ")", ";", "unsigned", "int", "Opcode", "=", "MI", "->", "getOpcode", "(", ")", ";", "int", "Amount", "=", "TII", ".", "getFrameSize", "(", "*", "MI", ")", ";", "if", "(", "Amount", "!=", "", ")", "{", "assert", "(", "getStackAlignment", "(", ")", "==", "", "&&", "", ")", ";", "if", "(", "Opcode", "==", "TII", ".", "getCallFrameSetupOpcode", "(", ")", ")", "{", "fixStackStores", "(", "MBB", ",", "MI", ",", "TII", ",", "true", ")", ";", "}", "else", "{", "assert", "(", "Opcode", "==", "TII", ".", "getCallFrameDestroyOpcode", "(", ")", ")", ";"], "ground_truth": ["unsigned", "addOpcode", ";"], "File": "AVRFrameLowering11", "Func": "eliminateCallFramePseudoInstr", "Target": "AVR", "Target_Clf": "MPU", "Compiler_Type": "LLVM", "Idx": 112750, "Length": 107, "Cover_Rate": 0.335423197492163} {"Template_token": ["", "bool", "SrcIsKill", "=", "MI", ".", "getOperand", "(", "", ")", ".", "isKill", "(", ")", ";", "if", "(", "Opcode", "==", "", ")", "{", "BuildMI", "(", "MBB", ",", "I", ",", "MI", ".", "getDebugLoc", "(", ")", ",", "TII", ".", "get", "(", "", ")", ")", ".", "addReg", "(", "TRI", ".", "getSubReg", "(", "SrcReg", ",", "", ")", ",", "getKillRegState", "(", "SrcIsKill", ")", ")", ";", "BuildMI", "(", "MBB", ",", "I", ",", "MI", ".", "getDebugLoc", "(", ")", ",", "TII", ".", "get", "(", "", ")", ")", ".", "addReg", "(", "TRI", ".", "getSubReg", "(", "SrcReg", ",", "", ")", ",", "getKillRegState", "(", "SrcIsKill", ")", ")", ";", "}", "else", "{", "BuildMI", "(", "MBB", ",", "I", ",", "MI", ".", "getDebugLoc", "(", ")", ",", "TII", ".", "get", "(", "", ")", ")", ".", "addReg", "(", "SrcReg", ",", "getKillRegState", "(", "SrcIsKill", ")", ")", ";", "}", "MI", ".", "eraseFromParent", "(", ")", ";", "I", "=", "NextMI", ";", "continue", ";", "}", "unsigned", "STOpc", "=", "(", "Opcode", "==", "", ")", "?", "", ":", "", ";", "MI", ".", "setDesc", "(", "TII", ".", "get", "(", "STOpc", ")", ")", ";", "MI", ".", "getOperand", "(", "", ")", ".", "setReg", "(", "", ")", ";", "I", "=", "NextMI", ";"], "ground_truth": ["}"], "File": "AVRFrameLowering11", "Func": "fixStackStores", "Target": "AVR", "Target_Clf": "MPU", "Compiler_Type": "LLVM", "Idx": 112751, "Length": 184, "Cover_Rate": 0.4919786096256685} {"Template_token": ["", "const", "TargetRegisterInfo", "&", "TRI", "=", "*", "STI", ".", "getRegisterInfo", "(", ")", ";", "for", "(", "auto", "I", "=", "MI", ",", "E", "=", "MBB", ".", "end", "(", ")", ";", "I", "!=", "E", "&&", "!", "I", "->", "isCall", "(", ")", ";", ")", "{", "MachineBasicBlock", "::", "iterator", "NextMI", "=", "std", "::", "next", "(", "I", ")", ";", "MachineInstr", "&", "MI", "=", "*", "I", ";", "unsigned", "Opcode", "=", "I", "->", "getOpcode", "(", ")", ";", "if", "(", "Opcode", "!=", "", "&&", "Opcode", "!=", "", ")", "{", "I", "=", "NextMI", ";", "continue", ";", "}", "assert", "(", "MI", ".", "getOperand", "(", "", ")", ".", "getReg", "(", ")", "==", "", "&&", "", ")", ";", "if", "(", "insertPushes", ")", "{", "Register", "SrcReg", "=", "MI", ".", "getOperand", "(", "", ")", ".", "getReg", "(", ")", ";", "bool", "SrcIsKill", "=", "MI", ".", "getOperand", "(", "", ")", ".", "isKill", "(", ")", ";", "if", "(", "Opcode", "==", "", ")", "{", "BuildMI", "(", "MBB", ",", "I", ",", "MI", ".", "getDebugLoc", "(", ")", ",", "TII", ".", "get", "(", "", ")", ")", ".", "addReg", "(", "TRI", ".", "getSubReg", "(", "SrcReg", ",", "", ")", ",", "getKillRegState", "(", "SrcIsKill", ")", ")", ";", "BuildMI", "(", "MBB", ",", "I", ",", "MI", ".", "getDebugLoc", "(", ")", ",", "TII", ".", "get", "(", "", ")", ")", ".", "addReg", "(", "TRI", ".", "getSubReg", "(", "SrcReg", ",", "", ")", ",", "getKillRegState", "(", "SrcIsKill", ")", ")", ";"], "ground_truth": ["}", "else", "{"], "File": "AVRFrameLowering11", "Func": "fixStackStores", "Target": "AVR", "Target_Clf": "MPU", "Compiler_Type": "LLVM", "Idx": 112752, "Length": 221, "Cover_Rate": 0.5909090909090909} {"Template_token": ["", "void", "FrameLowering", "::", "determineCalleeSaves", "(", "MachineFunction", "&", "MF", ",", "BitVector", "&", "SavedRegs", ",", "RegScavenger", "*", "RS", ")", "const", "{", "TargetFrameLowering", "::", "determineCalleeSaves", "(", "MF", ",", "SavedRegs", ",", "RS", ")", ";", "if", "(", "hasFP", "(", "MF", ")", ")", "{"], "ground_truth": ["SavedRegs", ".", "set", "(", "", ")", ";"], "File": "AVRFrameLowering12", "Func": "determineCalleeSaves", "Target": "AVR", "Target_Clf": "MPU", "Compiler_Type": "LLVM", "Idx": 112753, "Length": 45, "Cover_Rate": 0.6716417910447762} {"Template_token": ["", "TargetFrameLowering", "::", "determineCalleeSaves", "(", "MF", ",", "SavedRegs", ",", "RS", ")", ";", "if", "(", "hasFP", "(", "MF", ")", ")", "{", "SavedRegs", ".", "set", "(", "", ")", ";", "SavedRegs", ".", "set", "(", "", ")", ";", "SavedRegs", ".", "set", "(", "", ")", ";"], "ground_truth": ["}"], "File": "AVRFrameLowering12", "Func": "determineCalleeSaves", "Target": "AVR", "Target_Clf": "MPU", "Compiler_Type": "LLVM", "Idx": 112754, "Length": 41, "Cover_Rate": 0.6119402985074627} {"Template_token": ["", "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": ["return", "MBB", ".", "erase", "(", "MI", ")", ";"], "File": "AVRFrameLowering12", "Func": "eliminateCallFramePseudoInstr", "Target": "AVR", "Target_Clf": "MPU", "Compiler_Type": "LLVM", "Idx": 112755, "Length": 113, "Cover_Rate": 0.3343195266272189} {"Template_token": ["", "BuildMI", "(", "MBB", ",", "MBBI", ",", "DL", ",", "TII", ".", "get", "(", "", ")", ",", "", ")", ";", "BuildMI", "(", "MBB", ",", "MBBI", ",", "DL", ",", "TII", ".", "get", "(", "", ")", ")", ".", "addImm", "(", "", ")", ".", "addReg", "(", "", ",", "RegState", "::", "Kill", ")", ";", "BuildMI", "(", "MBB", ",", "MBBI", ",", "DL", ",", "TII", ".", "get", "(", "", ")", ",", "", ")", ";", "}", "if", "(", "!", "FrameSize", ")", "{", "return", ";", "}", "while", "(", "MBBI", "!=", "MBB", ".", "begin", "(", ")", ")", "{", "MachineBasicBlock", "::", "iterator", "PI", "=", "std", "::", "prev", "(", "MBBI", ")", ";", "int", "Opc", "=", "PI", "->", "getOpcode", "(", ")", ";", "if", "(", "Opc", "!=", "", "&&", "Opc", "!=", "", "&&", "!", "PI", "->", "isTerminator", "(", ")", ")", "{", "break", ";", "}", "--", "MBBI", ";"], "ground_truth": ["}"], "File": "AVRFrameLowering12", "Func": "emitEpilogue", "Target": "AVR", "Target_Clf": "MPU", "Compiler_Type": "LLVM", "Idx": 112756, "Length": 133, "Cover_Rate": 0.30434782608695654} {"Template_token": ["", "BuildMI", "(", "MBB", ",", "MBBI", ",", "DL", ",", "TII", ".", "get", "(", "", ")", ")", ".", "addReg", "(", "", ",", "RegState", "::", "Define", ")", ".", "addReg", "(", "", ",", "RegState", "::", "Kill", ")", ".", "addReg", "(", "", ",", "RegState", "::", "Kill", ")", ".", "setMIFlag", "(", "MachineInstr", "::", "FrameSetup", ")", ";", "}", "if", "(", "!", "hasFP", "(", "MF", ")", ")", "{", "return", ";", "}", "const", "MachineFrameInfo", "&", "MFI", "=", "MF", ".", "getFrameInfo", "(", ")", ";", "const", "MachineFunctionInfo", "*", "AFI", "=", "MF", ".", "getInfo", "<", "MachineFunctionInfo", ">", "(", ")", ";", "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", "(", "", ")", ";", "}"], "ground_truth": ["if", "(", "!", "FrameSize", ")", "{"], "File": "AVRFrameLowering12", "Func": "emitPrologue", "Target": "AVR", "Target_Clf": "MPU", "Compiler_Type": "LLVM", "Idx": 112757, "Length": 225, "Cover_Rate": 0.36585365853658536} {"Template_token": ["", "bool", "FrameLowering", "::", "restoreCalleeSavedRegisters", "(", "MachineBasicBlock", "&", "MBB", ",", "MachineBasicBlock", "::", "iterator", "MI", ",", "const", "std", "::", "vector", "<", "CalleeSavedInfo", ">", "&", "CSI", ",", "const", "TargetRegisterInfo", "*", "TRI", ")", "const", "{", "if", "(", "CSI", ".", "empty", "(", ")", ")", "{", "return", "false", ";", "}", "DebugLoc", "DL", "=", "MBB", ".", "findDebugLoc", "(", "MI", ")", ";", "const", "MachineFunction", "&", "MF", "=", "*", "MBB", ".", "getParent", "(", ")", ";", "const", "Subtarget", "&", "STI", "=", "MF", ".", "getSubtarget", "<", "Subtarget", ">", "(", ")", ";", "const", "TargetInstrInfo", "&", "TII", "=", "*", "STI", ".", "getInstrInfo", "(", ")", ";", "for", "(", "const", "CalleeSavedInfo", "&", "CCSI", ":", "CSI", ")", "{"], "ground_truth": ["unsigned", "Reg", "=", "CCSI", ".", "getReg", "(", ")", ";"], "File": "AVRFrameLowering12", "Func": "restoreCalleeSavedRegisters", "Target": "AVR", "Target_Clf": "MPU", "Compiler_Type": "LLVM", "Idx": 112758, "Length": 111, "Cover_Rate": 0.7207792207792207} {"Template_token": ["", "const", "MachineFunction", "&", "MF", "=", "*", "MBB", ".", "getParent", "(", ")", ";", "const", "Subtarget", "&", "STI", "=", "MF", ".", "getSubtarget", "<", "Subtarget", ">", "(", ")", ";", "const", "TargetInstrInfo", "&", "TII", "=", "*", "STI", ".", "getInstrInfo", "(", ")", ";", "for", "(", "const", "CalleeSavedInfo", "&", "CCSI", ":", "CSI", ")", "{", "unsigned", "Reg", "=", "CCSI", ".", "getReg", "(", ")", ";", "assert", "(", "TRI", "->", "getMinimalPhysRegClass", "(", "Reg", ")", "->", "getSize", "(", ")", "==", "", "&&", "", ")", ";", "BuildMI", "(", "MBB", ",", "MI", ",", "DL", ",", "TII", ".", "get", "(", "", ")", ",", "Reg", ")", ";", "}"], "ground_truth": ["return", "true", ";"], "File": "AVRFrameLowering12", "Func": "restoreCalleeSavedRegisters", "Target": "AVR", "Target_Clf": "MPU", "Compiler_Type": "LLVM", "Idx": 112759, "Length": 97, "Cover_Rate": 0.6298701298701299} {"Template_token": ["", "bool", "FrameLowering", "::", "spillCalleeSavedRegisters", "(", "MachineBasicBlock", "&", "MBB", ",", "MachineBasicBlock", "::", "iterator", "MI", ",", "const", "std", "::", "vector", "<", "CalleeSavedInfo", ">", "&", "CSI", ",", "const", "TargetRegisterInfo", "*", "TRI", ")", "const", "{", "if", "(", "CSI", ".", "empty", "(", ")", ")", "{", "return", "false", ";", "}", "unsigned", "CalleeFrameSize", "=", "", ";", "DebugLoc", "DL", "=", "MBB", ".", "findDebugLoc", "(", "MI", ")", ";", "MachineFunction", "&", "MF", "=", "*", "MBB", ".", "getParent", "(", ")", ";", "const", "Subtarget", "&", "STI", "=", "MF", ".", "getSubtarget", "<", "Subtarget", ">", "(", ")", ";", "const", "TargetInstrInfo", "&", "TII", "=", "*", "STI", ".", "getInstrInfo", "(", ")", ";", "MachineFunctionInfo", "*", "FI", "=", "MF", ".", "getInfo", "<", "MachineFunctionInfo", ">", "(", ")", ";", "for", "(", "unsigned", "i", "=", "CSI", ".", "size", "(", ")", ";", "i", "!=", "", ";", "--", "i", ")", "{"], "ground_truth": ["unsigned", "Reg", "=", "CSI", "[", "i", "-", "", "]", ".", "getReg", "(", ")", ";"], "File": "AVRFrameLowering12", "Func": "spillCalleeSavedRegisters", "Target": "AVR", "Target_Clf": "MPU", "Compiler_Type": "LLVM", "Idx": 112760, "Length": 142, "Cover_Rate": 0.6068376068376068} {"Template_token": ["", "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", ",", "", ")", ";"], "ground_truth": ["}", "else", "{"], "File": "AVRFrameLowering16", "Func": "eliminateCallFramePseudoInstr", "Target": "AVR", "Target_Clf": "MPU", "Compiler_Type": "LLVM", "Idx": 112761, "Length": 139, "Cover_Rate": 0.3180778032036613} {"Template_token": ["", "}", "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", ";", "}", "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", ")", ")", "{"], "ground_truth": ["Opcode", "=", "", ";"], "File": "AVRFrameLowering16", "Func": "emitEpilogue", "Target": "AVR", "Target_Clf": "MPU", "Compiler_Type": "LLVM", "Idx": 112762, "Length": 179, "Cover_Rate": 0.528023598820059} {"Template_token": ["", "const", "Subtarget", "&", "STI", "=", "MF", ".", "getSubtarget", "<", "Subtarget", ">", "(", ")", ";", "const", "InstrInfo", "&", "TII", "=", "*", "STI", ".", "getInstrInfo", "(", ")", ";", "const", "MachineFunctionInfo", "*", "AFI", "=", "MF", ".", "getInfo", "<", "MachineFunctionInfo", ">", "(", ")", ";", "bool", "HasFP", "=", "hasFP", "(", "MF", ")", ";", "if", "(", "AFI", "->", "isInterruptHandler", "(", ")", ")", "{", "BuildMI", "(", "MBB", ",", "MBBI", ",", "DL", ",", "TII", ".", "get", "(", "", ")", ")", ".", "addImm", "(", "", ")", ".", "setMIFlag", "(", "MachineInstr", "::", "FrameSetup", ")", ";", "}", "if", "(", "AFI", "->", "isInterruptOrSignalHandler", "(", ")", ")", "{", "BuildMI", "(", "MBB", ",", "MBBI", ",", "DL", ",", "TII", ".", "get", "(", "", ")", ")", ".", "addReg", "(", "", ",", "RegState", "::", "Kill", ")", ".", "setMIFlag", "(", "MachineInstr", "::", "FrameSetup", ")", ";", "BuildMI", "(", "MBB", ",", "MBBI", ",", "DL", ",", "TII", ".", "get", "(", "", ")", ",", "", ")", ".", "addImm", "(", "", ")", ".", "setMIFlag", "(", "MachineInstr", "::", "FrameSetup", ")", ";", "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", "(", ")", ";"], "ground_truth": ["unsigned", "FrameSize", "=", "MFI", ".", "getStackSize", "(", ")", "-", "AFI", "->", "getCalleeSavedFrameSize", "(", ")", ";"], "File": "AVRFrameLowering16", "Func": "emitPrologue", "Target": "AVR", "Target_Clf": "MPU", "Compiler_Type": "LLVM", "Idx": 112763, "Length": 325, "Cover_Rate": 0.4946727549467275} {"Template_token": ["", "return", "", ";"], "ground_truth": ["}"], "File": "AVRFrameLowering16", "Func": "getPassName", "Target": "AVR", "Target_Clf": "MPU", "Compiler_Type": "LLVM", "Idx": 112765, "Length": 4, "Cover_Rate": 0.36363636363636365} {"Template_token": ["", "BuildMI", "(", "MBB", ",", "MBBI", ",", "DL", ",", "TII", ".", "get", "(", "", ")", ",", "", ")", ";", "BuildMI", "(", "MBB", ",", "MBBI", ",", "DL", ",", "TII", ".", "get", "(", "", ")", ")", ".", "addImm", "(", "", ")", ".", "addReg", "(", "", ",", "RegState", "::", "Kill", ")", ";", "BuildMI", "(", "MBB", ",", "MBBI", ",", "DL", ",", "TII", ".", "get", "(", "", ")", ",", "", ")", ";", "}"], "ground_truth": ["}"], "File": "AVRFrameLowering16", "Func": "restoreStatusRegister", "Target": "AVR", "Target_Clf": "MPU", "Compiler_Type": "LLVM", "Idx": 112766, "Length": 68, "Cover_Rate": 0.41975308641975306} {"Template_token": ["", "const", "Subtarget", "&", "STI", "=", "MF", ".", "getSubtarget", "<", "Subtarget", ">", "(", ")", ";", "const", "TargetInstrInfo", "&", "TII", "=", "*", "STI", ".", "getInstrInfo", "(", ")", ";", "MachineBasicBlock", "&", "EntryMBB", "=", "MF", ".", "front", "(", ")", ";", "MachineBasicBlock", "::", "iterator", "MBBI", "=", "EntryMBB", ".", "begin", "(", ")", ";", "DebugLoc", "DL", "=", "EntryMBB", ".", "findDebugLoc", "(", "MBBI", ")", ";"], "ground_truth": ["Register", "SPCopy", "=", "MF", ".", "getRegInfo", "(", ")", ".", "createVirtualRegister", "(", "&", "", ")", ";"], "File": "AVRFrameLowering16", "Func": "runOnMachineFunction", "Target": "AVR", "Target_Clf": "MPU", "Compiler_Type": "LLVM", "Idx": 112767, "Length": 72, "Cover_Rate": 0.34285714285714286} {"Template_token": ["", "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", "(", ")", ";", "BuildMI", "(", "MBB", ",", "MBBI", ",", "DL", ",", "TII", ".", "get", "(", "", ")", ",", "", ")", ".", "addReg", "(", "SPCopy", ",", "RegState", "::", "Kill", ")", ";", "}", "}"], "ground_truth": ["return", "true", ";"], "File": "AVRFrameLowering16", "Func": "runOnMachineFunction", "Target": "AVR", "Target_Clf": "MPU", "Compiler_Type": "LLVM", "Idx": 112768, "Length": 115, "Cover_Rate": 0.5476190476190477} {"Template_token": ["", "assert", "(", "MBBI", "->", "getDesc", "(", ")", ".", "isReturn", "(", ")", "&&", "", ")", ";", "DebugLoc", "DL", "=", "MBBI", "->", "getDebugLoc", "(", ")", ";", "const", "MachineFrameInfo", "&", "MFI", "=", "MF", ".", "getFrameInfo", "(", ")", ";", "const", "MachineFunctionInfo", "*", "AFI", "=", "MF", ".", "getInfo", "<", "MachineFunctionInfo", ">", "(", ")", ";", "unsigned", "FrameSize", "=", "MFI", ".", "getStackSize", "(", ")", "-", "AFI", "->", "getCalleeSavedFrameSize", "(", ")", ";", "const", "Subtarget", "&", "STI", "=", "MF", ".", "getSubtarget", "<", "Subtarget", ">", "(", ")", ";", "const", "InstrInfo", "&", "TII", "=", "*", "STI", ".", "getInstrInfo", "(", ")", ";", "if", "(", "isHandler", ")", "{", "BuildMI", "(", "MBB", ",", "MBBI", ",", "DL", ",", "TII", ".", "get", "(", "", ")", ",", "", ")", ";", "BuildMI", "(", "MBB", ",", "MBBI", ",", "DL", ",", "TII", ".", "get", "(", "", ")", ")", ".", "addImm", "(", "", ")", ".", "addReg", "(", "", ",", "RegState", "::", "Kill", ")", ";", "BuildMI", "(", "MBB", ",", "MBBI", ",", "DL", ",", "TII", ".", "get", "(", "", ")", ",", "", ")", ";", "}", "if", "(", "hasFP", "(", "MF", ")", ")", "BuildMI", "(", "MBB", ",", "MBBI", ",", "DL", ",", "TII", ".", "get", "(", "", ")", ",", "", ")", ";", "if", "(", "!", "FrameSize", ")", "{", "return", ";"], "ground_truth": ["}"], "File": "AVRFrameLowering17", "Func": "emitEpilogue", "Target": "AVR", "Target_Clf": "MPU", "Compiler_Type": "LLVM", "Idx": 112769, "Length": 196, "Cover_Rate": 0.4206008583690987} {"Template_token": ["", "bool", "isHandler", "=", "(", "CallConv", "==", "CallingConv", "::", "_INTR", "||", "CallConv", "==", "CallingConv", "::", "_SIGNAL", ")", ";", "if", "(", "!", "hasFP", "(", "MF", ")", "&&", "!", "isHandler", ")", "{", "return", ";", "}", "MachineBasicBlock", "::", "iterator", "MBBI", "=", "MBB", ".", "getLastNonDebugInstr", "(", ")", ";", "assert", "(", "MBBI", "->", "getDesc", "(", ")", ".", "isReturn", "(", ")", "&&", "", ")", ";", "DebugLoc", "DL", "=", "MBBI", "->", "getDebugLoc", "(", ")", ";", "const", "MachineFrameInfo", "&", "MFI", "=", "MF", ".", "getFrameInfo", "(", ")", ";", "const", "MachineFunctionInfo", "*", "AFI", "=", "MF", ".", "getInfo", "<", "MachineFunctionInfo", ">", "(", ")", ";", "unsigned", "FrameSize", "=", "MFI", ".", "getStackSize", "(", ")", "-", "AFI", "->", "getCalleeSavedFrameSize", "(", ")", ";", "const", "Subtarget", "&", "STI", "=", "MF", ".", "getSubtarget", "<", "Subtarget", ">", "(", ")", ";", "const", "InstrInfo", "&", "TII", "=", "*", "STI", ".", "getInstrInfo", "(", ")", ";", "if", "(", "isHandler", ")", "{", "BuildMI", "(", "MBB", ",", "MBBI", ",", "DL", ",", "TII", ".", "get", "(", "", ")", ",", "", ")", ";", "BuildMI", "(", "MBB", ",", "MBBI", ",", "DL", ",", "TII", ".", "get", "(", "", ")", ")", ".", "addImm", "(", "", ")", ".", "addReg", "(", "", ",", "RegState", "::", "Kill", ")", ";", "BuildMI", "(", "MBB", ",", "MBBI", ",", "DL", ",", "TII", ".", "get", "(", "", ")", ",", "", ")", ";", "}", "if", "(", "hasFP", "(", "MF", ")", ")", "BuildMI", "(", "MBB", ",", "MBBI", ",", "DL", ",", "TII", ".", "get", "(", "", ")", ",", "", ")", ";", "if", "(", "!", "FrameSize", ")", "{", "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", "(", ")", ";", "BuildMI", "(", "MBB", ",", "MBBI", ",", "DL", ",", "TII", ".", "get", "(", "", ")", ",", "", ")", ".", "addReg", "(", "", ",", "RegState", "::", "Kill", ")", ";"], "ground_truth": ["}"], "File": "AVRFrameLowering17", "Func": "emitEpilogue", "Target": "AVR", "Target_Clf": "MPU", "Compiler_Type": "LLVM", "Idx": 112770, "Length": 402, "Cover_Rate": 0.8626609442060086} {"Template_token": ["", "const", "Subtarget", "&", "STI", "=", "MF", ".", "getSubtarget", "<", "Subtarget", ">", "(", ")", ";", "const", "InstrInfo", "&", "TII", "=", "*", "STI", ".", "getInstrInfo", "(", ")", ";", "bool", "HasFP", "=", "hasFP", "(", "MF", ")", ";", "if", "(", "CallConv", "==", "CallingConv", "::", "_INTR", ")", "{", "BuildMI", "(", "MBB", ",", "MBBI", ",", "DL", ",", "TII", ".", "get", "(", "", ")", ")", ".", "addImm", "(", "", ")", ".", "setMIFlag", "(", "MachineInstr", "::", "FrameSetup", ")", ";", "}", "if", "(", "HasFP", ")", "{", "BuildMI", "(", "MBB", ",", "MBBI", ",", "DL", ",", "TII", ".", "get", "(", "", ")", ")", ".", "addReg", "(", "", ",", "RegState", "::", "Kill", ")", ".", "setMIFlag", "(", "MachineInstr", "::", "FrameSetup", ")", ";", "}", "if", "(", "CallConv", "==", "CallingConv", "::", "_INTR", "||", "CallConv", "==", "CallingConv", "::", "_SIGNAL", ")", "{", "BuildMI", "(", "MBB", ",", "MBBI", ",", "DL", ",", "TII", ".", "get", "(", "", ")", ")", ".", "addReg", "(", "", ",", "RegState", "::", "Kill", ")", ".", "setMIFlag", "(", "MachineInstr", "::", "FrameSetup", ")", ";", "BuildMI", "(", "MBB", ",", "MBBI", ",", "DL", ",", "TII", ".", "get", "(", "", ")", ",", "", ")", ".", "addImm", "(", "", ")", ".", "setMIFlag", "(", "MachineInstr", "::", "FrameSetup", ")", ";", "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", ")", ";", "}", "if", "(", "!", "HasFP", ")", "{", "return", ";", "}", "const", "MachineFrameInfo", "&", "MFI", "=", "MF", ".", "getFrameInfo", "(", ")", ";", "const", "MachineFunctionInfo", "*", "AFI", "=", "MF", ".", "getInfo", "<", "MachineFunctionInfo", ">", "(", ")", ";", "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", "(", ")", ";"], "ground_truth": ["I", "!=", "E", ";", "++", "I", ")", "{"], "File": "AVRFrameLowering17", "Func": "emitPrologue", "Target": "AVR", "Target_Clf": "MPU", "Compiler_Type": "LLVM", "Idx": 112771, "Length": 427, "Cover_Rate": 0.6450151057401813} {"Template_token": ["", "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": "AVRFrameLowering17", "Func": "restoreCalleeSavedRegisters", "Target": "AVR", "Target_Clf": "MPU", "Compiler_Type": "LLVM", "Idx": 112772, "Length": 57, "Cover_Rate": 0.36538461538461536} {"Template_token": ["", "return", "MBB", ".", "erase", "(", "MI", ")", ";", "}", "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", "=", "", ";"], "ground_truth": ["}", "else", "{"], "File": "AVRFrameLowering19", "Func": "eliminateCallFramePseudoInstr", "Target": "AVR", "Target_Clf": "MPU", "Compiler_Type": "LLVM", "Idx": 112773, "Length": 210, "Cover_Rate": 0.4805491990846682} {"Template_token": ["", "BuildMI", "(", "MBB", ",", "MBBI", ",", "DL", ",", "TII", ".", "get", "(", "", ")", ")", ".", "addImm", "(", "", ")", ".", "setMIFlag", "(", "MachineInstr", "::", "FrameSetup", ")", ";", "}", "if", "(", "AFI", "->", "isInterruptOrSignalHandler", "(", ")", ")", "{", "BuildMI", "(", "MBB", ",", "MBBI", ",", "DL", ",", "TII", ".", "get", "(", "", ")", ")", ".", "addReg", "(", "", ",", "RegState", "::", "Kill", ")", ".", "setMIFlag", "(", "MachineInstr", "::", "FrameSetup", ")", ";", "BuildMI", "(", "MBB", ",", "MBBI", ",", "DL", ",", "TII", ".", "get", "(", "", ")", ",", "", ")", ".", "addImm", "(", "", ")", ".", "setMIFlag", "(", "MachineInstr", "::", "FrameSetup", ")", ";", "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", "(", "MachineBasicBlock", "&", "MBBJ", ":", "llvm", "::", "drop_begin", "(", "MF", ")", ")", "{", "MBBJ", ".", "addLiveIn", "(", "", ")", ";", "}"], "ground_truth": ["if", "(", "!", "FrameSize", ")", "{"], "File": "AVRFrameLowering19", "Func": "emitPrologue", "Target": "AVR", "Target_Clf": "MPU", "Compiler_Type": "LLVM", "Idx": 112774, "Length": 370, "Cover_Rate": 0.5808477237048666} {"Template_token": ["", "const", "Subtarget", "&", "STI", "=", "MF", ".", "getSubtarget", "<", "Subtarget", ">", "(", ")", ";", "const", "InstrInfo", "&", "TII", "=", "*", "STI", ".", "getInstrInfo", "(", ")", ";", "const", "MachineFunctionInfo", "*", "AFI", "=", "MF", ".", "getInfo", "<", "MachineFunctionInfo", ">", "(", ")", ";", "bool", "HasFP", "=", "hasFP", "(", "MF", ")", ";", "if", "(", "AFI", "->", "isInterruptHandler", "(", ")", ")", "{", "BuildMI", "(", "MBB", ",", "MBBI", ",", "DL", ",", "TII", ".", "get", "(", "", ")", ")", ".", "addImm", "(", "", ")", ".", "setMIFlag", "(", "MachineInstr", "::", "FrameSetup", ")", ";", "}", "if", "(", "AFI", "->", "isInterruptOrSignalHandler", "(", ")", ")", "{", "BuildMI", "(", "MBB", ",", "MBBI", ",", "DL", ",", "TII", ".", "get", "(", "", ")", ")", ".", "addReg", "(", "", ",", "RegState", "::", "Kill", ")", ".", "setMIFlag", "(", "MachineInstr", "::", "FrameSetup", ")", ";", "BuildMI", "(", "MBB", ",", "MBBI", ",", "DL", ",", "TII", ".", "get", "(", "", ")", ",", "", ")", ".", "addImm", "(", "", ")", ".", "setMIFlag", "(", "MachineInstr", "::", "FrameSetup", ")", ";", "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", ")", "{"], "ground_truth": ["return", ";"], "File": "AVRFrameLowering19", "Func": "emitPrologue", "Target": "AVR", "Target_Clf": "MPU", "Compiler_Type": "LLVM", "Idx": 112775, "Length": 298, "Cover_Rate": 0.46781789638932497} {"Template_token": ["", "FrameLowering", "::", "FrameLowering", "(", ")", ":", "TargetFrameLowering", "(", "TargetFrameLowering", "::", "StackGrowsDown", ",", "", ",", "-", "", ")", "{"], "ground_truth": ["}"], "File": "AVRFrameLowering1", "Func": "AVRFrameLowering", "Target": "AVR", "Target_Clf": "MPU", "Compiler_Type": "LLVM", "Idx": 112776, "Length": 19, "Cover_Rate": 1.0} {"Template_token": ["", "FrameLowering", "::", "FrameLowering", "(", ")", ":", "TargetFrameLowering", "(", "TargetFrameLowering", "::", "StackGrowsDown", ",", "", ",", "-", "", ")", "{"], "ground_truth": ["}"], "File": "AVRFrameLowering1", "Func": "AVRFrameLowering", "Target": "AVR", "Target_Clf": "MPU", "Compiler_Type": "LLVM", "Idx": 112777, "Length": 19, "Cover_Rate": 1.0} {"Template_token": ["", "TargetFrameLowering", "::", "determineCalleeSaves", "(", "MF", ",", "SavedRegs", ",", "RS", ")", ";"], "ground_truth": ["}"], "File": "AVRFrameLowering1", "Func": "determineCalleeSaves", "Target": "AVR", "Target_Clf": "MPU", "Compiler_Type": "LLVM", "Idx": 112778, "Length": 12, "Cover_Rate": 0.3870967741935484} {"Template_token": ["", "void", "FrameLowering", "::", "determineCalleeSaves", "(", "MachineFunction", "&", "MF", ",", "BitVector", "&", "SavedRegs", ",", "RegScavenger", "*", "RS", ")", "const", "{", "TargetFrameLowering", "::", "determineCalleeSaves", "(", "MF", ",", "SavedRegs", ",", "RS", ")", ";"], "ground_truth": ["}"], "File": "AVRFrameLowering1", "Func": "determineCalleeSaves", "Target": "AVR", "Target_Clf": "MPU", "Compiler_Type": "LLVM", "Idx": 112779, "Length": 31, "Cover_Rate": 1.0} {"Template_token": ["", "void", "FrameLowering", "::", "emitEpilogue", "(", "MachineFunction", "&", "MF", ",", "MachineBasicBlock", "&", "MBB", ")", "const", "{", "CallingConv", "::", "ID", "CallConv", "=", "MF", ".", "getFunction", "(", ")", ".", "getCallingConv", "(", ")", ";", "bool", "isHandler", "=", "(", "CallConv", "==", "CallingConv", "::", "_INTR", "||", "CallConv", "==", "CallingConv", "::", "_SIGNAL", ")", ";", "if", "(", "!", "hasFP", "(", "MF", ")", "&&", "!", "isHandler", ")", "{", "return", ";", "}", "MachineBasicBlock", "::", "iterator", "MBBI", "=", "MBB", ".", "getLastNonDebugInstr", "(", ")", ";", "assert", "(", "MBBI", "->", "getDesc", "(", ")", ".", "isReturn", "(", ")", "&&", "", ")", ";", "DebugLoc", "DL", "=", "MBBI", "->", "getDebugLoc", "(", ")", ";", "const", "MachineFrameInfo", "&", "MFI", "=", "MF", ".", "getFrameInfo", "(", ")", ";", "const", "MachineFunctionInfo", "*", "AFI", "=", "MF", ".", "getInfo", "<", "MachineFunctionInfo", ">", "(", ")", ";", "unsigned", "FrameSize", "=", "MFI", ".", "getStackSize", "(", ")", "-", "AFI", "->", "getCalleeSavedFrameSize", "(", ")", ";", "const", "Subtarget", "&", "STI", "=", "MF", ".", "getSubtarget", "<", "Subtarget", ">", "(", ")", ";", "const", "InstrInfo", "&", "TII", "=", "*", "STI", ".", "getInstrInfo", "(", ")", ";", "if", "(", "isHandler", ")", "{", "BuildMI", "(", "MBB", ",", "MBBI", ",", "DL", ",", "TII", ".", "get", "(", "", ")", ",", "", ")", ";", "BuildMI", "(", "MBB", ",", "MBBI", ",", "DL", ",", "TII", ".", "get", "(", "", ")", ")", ".", "addImm", "(", "", ")", ".", "addReg", "(", "", ",", "RegState", "::", "Kill", ")", ";", "BuildMI", "(", "MBB", ",", "MBBI", ",", "DL", ",", "TII", ".", "get", "(", "", ")", ",", "", ")", ";", "}", "if", "(", "hasFP", "(", "MF", ")", ")", "BuildMI", "(", "MBB", ",", "MBBI", ",", "DL", ",", "TII", ".", "get", "(", "", ")", ",", "", ")", ";", "if", "(", "!", "FrameSize", ")", "{", "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", "=", "", ";"], "ground_truth": ["FrameSize", "=", "-", "FrameSize", ";"], "File": "AVRFrameLowering1", "Func": "emitEpilogue", "Target": "AVR", "Target_Clf": "MPU", "Compiler_Type": "LLVM", "Idx": 112780, "Length": 356, "Cover_Rate": 0.7639484978540773} {"Template_token": ["", "MachineInstr", "&", "MI", "=", "*", "I", ";", "unsigned", "Opcode", "=", "I", "->", "getOpcode", "(", ")", ";", "if", "(", "Opcode", "!=", "", "&&", "Opcode", "!=", "", ")", "{", "I", "=", "NextMI", ";", "continue", ";", "}", "assert", "(", "MI", ".", "getOperand", "(", "", ")", ".", "getReg", "(", ")", "==", "", "&&", "", ")", ";", "if", "(", "insertPushes", ")", "{", "unsigned", "SrcReg", "=", "MI", ".", "getOperand", "(", "", ")", ".", "getReg", "(", ")", ";", "bool", "SrcIsKill", "=", "MI", ".", "getOperand", "(", "", ")", ".", "isKill", "(", ")", ";", "if", "(", "Opcode", "==", "", ")", "{", "BuildMI", "(", "MBB", ",", "I", ",", "MI", ".", "getDebugLoc", "(", ")", ",", "TII", ".", "get", "(", "", ")", ")", ".", "addReg", "(", "TRI", ".", "getSubReg", "(", "SrcReg", ",", "", ")", ",", "getKillRegState", "(", "SrcIsKill", ")", ")", ";", "BuildMI", "(", "MBB", ",", "I", ",", "MI", ".", "getDebugLoc", "(", ")", ",", "TII", ".", "get", "(", "", ")", ")", ".", "addReg", "(", "TRI", ".", "getSubReg", "(", "SrcReg", ",", "", ")", ",", "getKillRegState", "(", "SrcIsKill", ")", ")", ";", "}", "else", "{", "BuildMI", "(", "MBB", ",", "I", ",", "MI", ".", "getDebugLoc", "(", ")", ",", "TII", ".", "get", "(", "", ")", ")", ".", "addReg", "(", "SrcReg", ",", "getKillRegState", "(", "SrcIsKill", ")", ")", ";", "}", "MI", ".", "eraseFromParent", "(", ")", ";"], "ground_truth": ["I", "=", "NextMI", ";"], "File": "AVRFrameLowering1", "Func": "fixStackStores", "Target": "AVR", "Target_Clf": "MPU", "Compiler_Type": "LLVM", "Idx": 112781, "Length": 210, "Cover_Rate": 0.5614973262032086} {"Template_token": ["", "}", "DebugLoc", "DL", "=", "MBB", ".", "findDebugLoc", "(", "MI", ")", ";", "const", "MachineFunction", "&", "MF", "=", "*", "MBB", ".", "getParent", "(", ")", ";", "const", "Subtarget", "&", "STI", "=", "MF", ".", "getSubtarget", "<", "Subtarget", ">", "(", ")", ";", "const", "TargetInstrInfo", "&", "TII", "=", "*", "STI", ".", "getInstrInfo", "(", ")", ";", "for", "(", "const", "CalleeSavedInfo", "&", "CCSI", ":", "CSI", ")", "{", "unsigned", "Reg", "=", "CCSI", ".", "getReg", "(", ")", ";", "assert", "(", "TRI", "->", "getRegSizeInBits", "(", "*", "TRI", "->", "getMinimalPhysRegClass", "(", "Reg", ")", ")", "==", "", "&&", "", ")", ";", "BuildMI", "(", "MBB", ",", "MI", ",", "DL", ",", "TII", ".", "get", "(", "", ")", ",", "Reg", ")", ";", "}"], "ground_truth": ["return", "true", ";"], "File": "AVRFrameLowering1", "Func": "restoreCalleeSavedRegisters", "Target": "AVR", "Target_Clf": "MPU", "Compiler_Type": "LLVM", "Idx": 112782, "Length": 110, "Cover_Rate": 0.7096774193548387} {"Template_token": ["", "MachineBasicBlock", "::", "iterator", "MBBI", "=", "EntryMBB", ".", "begin", "(", ")", ";", "DebugLoc", "DL", "=", "EntryMBB", ".", "findDebugLoc", "(", "MBBI", ")", ";", "unsigned", "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", "(", ")", ";"], "ground_truth": ["DL", "=", "MBBI", "->", "getDebugLoc", "(", ")", ";"], "File": "AVRFrameLowering1", "Func": "runOnMachineFunction", "Target": "AVR", "Target_Clf": "MPU", "Compiler_Type": "LLVM", "Idx": 112783, "Length": 104, "Cover_Rate": 0.49760765550239233} {"Template_token": ["", "unsigned", "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", "(", ")", ";", "BuildMI", "(", "MBB", ",", "MBBI", ",", "DL", ",", "TII", ".", "get", "(", "", ")", ",", "", ")", ".", "addReg", "(", "SPCopy", ",", "RegState", "::", "Kill", ")", ";"], "ground_truth": ["}"], "File": "AVRFrameLowering1", "Func": "runOnMachineFunction", "Target": "AVR", "Target_Clf": "MPU", "Compiler_Type": "LLVM", "Idx": 112784, "Length": 111, "Cover_Rate": 0.5311004784688995} {"Template_token": ["", "const", "Subtarget", "&", "STI", "=", "MF", ".", "getSubtarget", "<", "Subtarget", ">", "(", ")", ";", "const", "TargetInstrInfo", "&", "TII", "=", "*", "STI", ".", "getInstrInfo", "(", ")", ";", "MachineFunctionInfo", "*", "FI", "=", "MF", ".", "getInfo", "<", "MachineFunctionInfo", ">", "(", ")", ";", "for", "(", "unsigned", "i", "=", "CSI", ".", "size", "(", ")", ";", "i", "!=", "", ";", "--", "i", ")", "{", "unsigned", "Reg", "=", "CSI", "[", "i", "-", "", "]", ".", "getReg", "(", ")", ";", "bool", "IsNotLiveIn", "=", "!", "MBB", ".", "isLiveIn", "(", "Reg", ")", ";", "assert", "(", "TRI", "->", "getRegSizeInBits", "(", "*", "TRI", "->", "getMinimalPhysRegClass", "(", "Reg", ")", ")", "==", "", "&&", "", ")", ";", "if", "(", "IsNotLiveIn", ")", "{"], "ground_truth": ["MBB", ".", "addLiveIn", "(", "Reg", ")", ";"], "File": "AVRFrameLowering1", "Func": "spillCalleeSavedRegisters", "Target": "AVR", "Target_Clf": "MPU", "Compiler_Type": "LLVM", "Idx": 112785, "Length": 115, "Cover_Rate": 0.4872881355932203} {"Template_token": ["", "DebugLoc", "DL", "=", "MBB", ".", "findDebugLoc", "(", "MI", ")", ";", "MachineFunction", "&", "MF", "=", "*", "MBB", ".", "getParent", "(", ")", ";", "const", "Subtarget", "&", "STI", "=", "MF", ".", "getSubtarget", "<", "Subtarget", ">", "(", ")", ";", "const", "TargetInstrInfo", "&", "TII", "=", "*", "STI", ".", "getInstrInfo", "(", ")", ";", "MachineFunctionInfo", "*", "FI", "=", "MF", ".", "getInfo", "<", "MachineFunctionInfo", ">", "(", ")", ";", "for", "(", "unsigned", "i", "=", "CSI", ".", "size", "(", ")", ";", "i", "!=", "", ";", "--", "i", ")", "{", "unsigned", "Reg", "=", "CSI", "[", "i", "-", "", "]", ".", "getReg", "(", ")", ";"], "ground_truth": ["bool", "IsNotLiveIn", "=", "!", "MBB", ".", "isLiveIn", "(", "Reg", ")", ";"], "File": "AVRFrameLowering1", "Func": "spillCalleeSavedRegisters", "Target": "AVR", "Target_Clf": "MPU", "Compiler_Type": "LLVM", "Idx": 112786, "Length": 104, "Cover_Rate": 0.4406779661016949} {"Template_token": ["", "}", "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", "(", "MachineBasicBlock", "&", "MBBJ", ":", "llvm", "::", "drop_begin", "(", "MF", ")", ")", "{", "MBBJ", ".", "addLiveIn", "(", "", ")", ";", "}", "if", "(", "!", "FrameSize", ")", "{", "return", ";", "}", "unsigned", "Opcode", "=", "(", "isUInt", "<", "", ">", "(", "FrameSize", ")", ")", "?", "", ":", "", ";", "MachineInstr", "*", "MI", "=", "BuildMI", "(", "MBB", ",", "MBBI", ",", "DL", ",", "TII", ".", "get", "(", "Opcode", ")", ",", "", ")", ".", "addReg", "(", "", ",", "RegState", "::", "Kill", ")", ".", "addImm", "(", "FrameSize", ")", ".", "setMIFlag", "(", "MachineInstr", "::", "FrameSetup", ")", ";", "MI", "->", "getOperand", "(", "", ")", ".", "setIsDead", "(", ")", ";"], "ground_truth": ["BuildMI", "(", "MBB", ",", "MBBI", ",", "DL", ",", "TII", ".", "get", "(", "", ")", ",", "", ")", ".", "addReg", "(", "", ")", ".", "setMIFlag", "(", "MachineInstr", "::", "FrameSetup", ")", ";"], "File": "AVRFrameLowering20", "Func": "emitPrologue", "Target": "AVR", "Target_Clf": "MPU", "Compiler_Type": "LLVM", "Idx": 112787, "Length": 233, "Cover_Rate": 0.40241796200345425} {"Template_token": ["", "static", "void", "fixStackStores", "(", "MachineBasicBlock", "&", "MBB", ",", "MachineBasicBlock", "::", "iterator", "StartMI", ",", "const", "TargetInstrInfo", "&", "TII", ",", "Register", "FP", ")", "{", "for", "(", "MachineInstr", "&", "MI", ":"], "ground_truth": ["llvm", "::", "make_early_inc_range", "(", "llvm", "::", "make_range", "(", "StartMI", ",", "MBB", ".", "end", "(", ")", ")", ")", ")", "{"], "File": "AVRFrameLowering20", "Func": "fixStackStores", "Target": "AVR", "Target_Clf": "MPU", "Compiler_Type": "LLVM", "Idx": 112788, "Length": 47, "Cover_Rate": 0.3197278911564626} {"Template_token": ["", "static", "void", "fixStackStores", "(", "MachineBasicBlock", "&", "MBB", ",", "MachineBasicBlock", "::", "iterator", "StartMI", ",", "const", "TargetInstrInfo", "&", "TII", ",", "Register", "FP", ")", "{", "for", "(", "MachineInstr", "&", "MI", ":", "llvm", "::", "make_early_inc_range", "(", "llvm", "::", "make_range", "(", "StartMI", ",", "MBB", ".", "end", "(", ")", ")", ")", ")", "{", "if", "(", "MI", ".", "isCall", "(", ")", ")", "break", ";", "unsigned", "Opcode", "=", "MI", ".", "getOpcode", "(", ")", ";", "if", "(", "Opcode", "!=", "", "&&", "Opcode", "!=", "", ")", "continue", ";", "assert", "(", "MI", ".", "getOperand", "(", "", ")", ".", "getReg", "(", ")", "==", "", "&&", "", ")", ";", "unsigned", "STOpc", "=", "(", "Opcode", "==", "", ")", "?", "", ":", "", ";", "MI", ".", "setDesc", "(", "TII", ".", "get", "(", "STOpc", ")", ")", ";", "MI", ".", "getOperand", "(", "", ")", ".", "setReg", "(", "FP", ")", ";", "}"], "ground_truth": ["}"], "File": "AVRFrameLowering20", "Func": "fixStackStores", "Target": "AVR", "Target_Clf": "MPU", "Compiler_Type": "LLVM", "Idx": 112789, "Length": 135, "Cover_Rate": 0.9183673469387755} {"Template_token": ["", "const", "Subtarget", "&", "STI", "=", "MF", ".", "getSubtarget", "<", "Subtarget", ">", "(", ")", ";", "const", "InstrInfo", "&", "TII", "=", "*", "STI", ".", "getInstrInfo", "(", ")", ";", "if", "(", "hasReservedCallFrame", "(", "MF", ")", ")", "{", "fixStackStores", "(", "MBB", ",", "MI", ",", "TII", ",", "false", ")", ";", "return", "MBB", ".", "erase", "(", "MI", ")", ";", "}", "DebugLoc", "DL", "=", "MI", "->", "getDebugLoc", "(", ")", ";", "unsigned", "int", "Opcode", "=", "MI", "->", "getOpcode", "(", ")", ";", "int", "Amount", "=", "TII", ".", "getFrameSize", "(", "*", "MI", ")", ";", "if", "(", "Amount", "!=", "", ")", "{", "assert", "(", "getStackAlign", "(", ")", "==", "Align", "(", "", ")", "&&", "", ")", ";", "if", "(", "Opcode", "==", "TII", ".", "getCallFrameSetupOpcode", "(", ")", ")", "{", "fixStackStores", "(", "MBB", ",", "MI", ",", "TII", ",", "true", ")", ";", "}", "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", ")", ";", "}", "}", "return", "MBB", ".", "erase", "(", "MI", ")", ";"], "ground_truth": ["}"], "File": "AVRFrameLowering24", "Func": "eliminateCallFramePseudoInstr", "Target": "AVR", "Target_Clf": "MPU", "Compiler_Type": "LLVM", "Idx": 112790, "Length": 280, "Cover_Rate": 0.8695652173913043} {"Template_token": ["", "}", "if", "(", "hasFP", "(", "MF", ")", ")", "BuildMI", "(", "MBB", ",", "MBBI", ",", "DL", ",", "TII", ".", "get", "(", "", ")", ",", "", ")", ";", "if", "(", "!", "FrameSize", ")", "{", "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", ")", ";"], "ground_truth": ["MI", "->", "getOperand", "(", "", ")", ".", "setIsDead", "(", ")", ";"], "File": "AVRFrameLowering24", "Func": "emitEpilogue", "Target": "AVR", "Target_Clf": "MPU", "Compiler_Type": "LLVM", "Idx": 112791, "Length": 170, "Cover_Rate": 0.38461538461538464} {"Template_token": ["", "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", ";", "}", "unsigned", "Opcode", "=", "(", "isUInt", "<", "", ">", "(", "FrameSize", ")", ")", "?", "", ":", "", ";", "MachineInstr", "*", "MI", "=", "BuildMI", "(", "MBB", ",", "MBBI", ",", "DL", ",", "TII", ".", "get", "(", "Opcode", ")", ",", "", ")", ".", "addReg", "(", "", ",", "RegState", "::", "Kill", ")", ".", "addImm", "(", "FrameSize", ")", ".", "setMIFlag", "(", "MachineInstr", "::", "FrameSetup", ")", ";", "MI", "->", "getOperand", "(", "", ")", ".", "setIsDead", "(", ")", ";", "BuildMI", "(", "MBB", ",", "MBBI", ",", "DL", ",", "TII", ".", "get", "(", "", ")", ",", "", ")", ".", "addReg", "(", "", ")", ".", "setMIFlag", "(", "MachineInstr", "::", "FrameSetup", ")", ";"], "ground_truth": ["}"], "File": "AVRFrameLowering24", "Func": "emitPrologue", "Target": "AVR", "Target_Clf": "MPU", "Compiler_Type": "LLVM", "Idx": 112792, "Length": 227, "Cover_Rate": 0.3541341653666147} {"Template_token": ["", "}", "if", "(", "AFI", "->", "isInterruptOrSignalHandler", "(", ")", ")", "{", "BuildMI", "(", "MBB", ",", "MBBI", ",", "DL", ",", "TII", ".", "get", "(", "", ")", ")", ".", "addReg", "(", "", ",", "RegState", "::", "Kill", ")", ".", "setMIFlag", "(", "MachineInstr", "::", "FrameSetup", ")", ";", "BuildMI", "(", "MBB", ",", "MBBI", ",", "DL", ",", "TII", ".", "get", "(", "", ")", ",", "", ")", ".", "addImm", "(", "", ")", ".", "setMIFlag", "(", "MachineInstr", "::", "FrameSetup", ")", ";", "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", ")", ";", "}", "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", "(", ")", ";"], "ground_truth": ["I", "!=", "E", ";", "++", "I", ")", "{"], "File": "AVRFrameLowering24", "Func": "emitPrologue", "Target": "AVR", "Target_Clf": "MPU", "Compiler_Type": "LLVM", "Idx": 112793, "Length": 298, "Cover_Rate": 0.46489859594383776} {"Template_token": ["", "for", "(", "const", "CalleeSavedInfo", "&", "I", ":", "llvm", "::", "reverse", "(", "CSI", ")", ")", "{", "unsigned", "Reg", "=", "I", ".", "getReg", "(", ")", ";", "bool", "IsNotLiveIn", "=", "!", "MBB", ".", "isLiveIn", "(", "Reg", ")", ";", "assert", "(", "TRI", "->", "getRegSizeInBits", "(", "*", "TRI", "->", "getMinimalPhysRegClass", "(", "Reg", ")", ")", "==", "", "&&", "", ")", ";", "if", "(", "IsNotLiveIn", ")", "{", "MBB", ".", "addLiveIn", "(", "Reg", ")", ";", "}", "BuildMI", "(", "MBB", ",", "MI", ",", "DL", ",", "TII", ".", "get", "(", "", ")", ")", ".", "addReg", "(", "Reg", ",", "getKillRegState", "(", "IsNotLiveIn", ")", ")", ".", "setMIFlag", "(", "MachineInstr", "::", "FrameSetup", ")", ";", "++", "CalleeFrameSize", ";", "}", "FI", "->", "setCalleeSavedFrameSize", "(", "CalleeFrameSize", ")", ";", "return", "true", ";"], "ground_truth": ["}"], "File": "AVRFrameLowering29", "Func": "spillCalleeSavedRegisters", "Target": "AVR", "Target_Clf": "MPU", "Compiler_Type": "LLVM", "Idx": 112794, "Length": 116, "Cover_Rate": 0.5201793721973094} {"Template_token": ["", "if", "(", "MI", ".", "isCall", "(", ")", ")", "break", ";", "unsigned", "Opcode", "=", "MI", ".", "getOpcode", "(", ")", ";", "if", "(", "Opcode", "!=", "", "&&", "Opcode", "!=", "", ")", "continue", ";"], "ground_truth": ["assert", "(", "MI", ".", "getOperand", "(", "", ")", ".", "getReg", "(", ")", "==", "", "&&", "", ")", ";"], "File": "AVRFrameLowering2", "Func": "fixStackStores", "Target": "AVR", "Target_Clf": "MPU", "Compiler_Type": "LLVM", "Idx": 112795, "Length": 49, "Cover_Rate": 0.3333333333333333} {"Template_token": ["", "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": ["return", "MBB", ".", "erase", "(", "MI", ")", ";"], "File": "AVRFrameLowering9", "Func": "eliminateCallFramePseudoInstr", "Target": "AVR", "Target_Clf": "MPU", "Compiler_Type": "LLVM", "Idx": 112796, "Length": 107, "Cover_Rate": 0.3333333333333333} {"Template_token": ["", "DynAllocaSR", "(", ")", ":", "MachineFunctionPass", "(", "ID", ")", "{"], "ground_truth": ["}"], "File": "AVRFrameLowering", "Func": "AVRDynAllocaSR", "Target": "AVR", "Target_Clf": "MPU", "Compiler_Type": "LLVM", "Idx": 112797, "Length": 10, "Cover_Rate": 1.0} {"Template_token": ["", "DynAllocaSR", "(", ")", ":", "MachineFunctionPass", "(", "ID", ")", "{"], "ground_truth": ["}"], "File": "AVRFrameLowering", "Func": "AVRDynAllocaSR", "Target": "AVR", "Target_Clf": "MPU", "Compiler_Type": "LLVM", "Idx": 112798, "Length": 10, "Cover_Rate": 1.0} {"Template_token": ["", "return", "new", "DynAllocaSR", "(", ")", ";"], "ground_truth": ["}"], "File": "AVRFrameLowering", "Func": "createAVRDynAllocaSRPass", "Target": "AVR", "Target_Clf": "MPU", "Compiler_Type": "LLVM", "Idx": 112799, "Length": 7, "Cover_Rate": 0.5384615384615384} {"Template_token": ["", "FunctionPass", "*", "createDynAllocaSRPass", "(", ")", "{", "return", "new", "DynAllocaSR", "(", ")", ";"], "ground_truth": ["}"], "File": "AVRFrameLowering", "Func": "createAVRDynAllocaSRPass", "Target": "AVR", "Target_Clf": "MPU", "Compiler_Type": "LLVM", "Idx": 112800, "Length": 13, "Cover_Rate": 1.0} {"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", "(", "", ",", "RegState", "::", "Kill", ")", ";", "fixStackStores", "(", "MBB", ",", "MI", ",", "TII", ",", "", ")", ";", "}", "else", "{"], "ground_truth": ["assert", "(", "Opcode", "==", "TII", ".", "getCallFrameDestroyOpcode", "(", ")", ")", ";"], "File": "AVRFrameLowering", "Func": "eliminateCallFramePseudoInstr", "Target": "AVR", "Target_Clf": "MPU", "Compiler_Type": "LLVM", "Idx": 112801, "Length": 185, "Cover_Rate": 0.41950113378684806} {"Template_token": ["", "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", "(", "", ",", "RegState", "::", "Kill", ")", ";", "fixStackStores", "(", "MBB", ",", "MI", ",", "TII", ",", "", ")", ";", "}", "else", "{", "assert", "(", "Opcode", "==", "TII", ".", "getCallFrameDestroyOpcode", "(", ")", ")", ";", "unsigned", "addOpcode", ";", "if", "(", "isUInt", "<", "", ">", "(", "Amount", ")", ")", "{", "addOpcode", "=", "", ";", "}", "else", "{", "addOpcode", "=", "", ";", "Amount", "=", "-", "Amount", ";", "}"], "ground_truth": ["BuildMI", "(", "MBB", ",", "MI", ",", "DL", ",", "TII", ".", "get", "(", "", ")", ",", "", ")", ".", "addReg", "(", "", ")", ";"], "File": "AVRFrameLowering", "Func": "eliminateCallFramePseudoInstr", "Target": "AVR", "Target_Clf": "MPU", "Compiler_Type": "LLVM", "Idx": 112802, "Length": 176, "Cover_Rate": 0.39909297052154197} {"Template_token": ["", "const", "MachineFrameInfo", "&", "MFI", "=", "MF", ".", "getFrameInfo", "(", ")", ";", "unsigned", "FrameSize", "=", "MFI", ".", "getStackSize", "(", ")", "-", "AFI", "->", "getCalleeSavedFrameSize", "(", ")", ";", "const", "Subtarget", "&", "STI", "=", "MF", ".", "getSubtarget", "<", "Subtarget", ">", "(", ")", ";", "const", "InstrInfo", "&", "TII", "=", "*", "STI", ".", "getInstrInfo", "(", ")", ";", "if", "(", "AFI", "->", "isInterruptOrSignalHandler", "(", ")", ")", "{", "BuildMI", "(", "MBB", ",", "MBBI", ",", "DL", ",", "TII", ".", "get", "(", "", ")", ",", "", ")", ";", "BuildMI", "(", "MBB", ",", "MBBI", ",", "DL", ",", "TII", ".", "get", "(", "", ")", ")", ".", "addImm", "(", "", ")", ".", "addReg", "(", "", ",", "RegState", "::", "Kill", ")", ";", "BuildMI", "(", "MBB", ",", "MBBI", ",", "DL", ",", "TII", ".", "get", "(", "", ")", ",", "", ")", ";", "}", "if", "(", "!", "FrameSize", ")", "{", "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", "=", "", ";"], "ground_truth": ["FrameSize", "=", "-", "FrameSize", ";"], "File": "AVRFrameLowering", "Func": "emitEpilogue", "Target": "AVR", "Target_Clf": "MPU", "Compiler_Type": "LLVM", "Idx": 112803, "Length": 224, "Cover_Rate": 0.5423728813559322} {"Template_token": ["", "const", "Subtarget", "&", "STI", "=", "MF", ".", "getSubtarget", "<", "Subtarget", ">", "(", ")", ";", "const", "InstrInfo", "&", "TII", "=", "*", "STI", ".", "getInstrInfo", "(", ")", ";", "const", "MachineFunctionInfo", "*", "AFI", "=", "MF", ".", "getInfo", "<", "MachineFunctionInfo", ">", "(", ")", ";", "bool", "HasFP", "=", "hasFP", "(", "MF", ")", ";", "if", "(", "AFI", "->", "isInterruptHandler", "(", ")", ")", "{", "BuildMI", "(", "MBB", ",", "MBBI", ",", "DL", ",", "TII", ".", "get", "(", "", ")", ")", ".", "addImm", "(", "", ")", ".", "setMIFlag", "(", "MachineInstr", "::", "FrameSetup", ")", ";", "}", "if", "(", "AFI", "->", "isInterruptOrSignalHandler", "(", ")", ")", "{", "BuildMI", "(", "MBB", ",", "MBBI", ",", "DL", ",", "TII", ".", "get", "(", "", ")", ")", ".", "addReg", "(", "", ",", "RegState", "::", "Kill", ")", ".", "setMIFlag", "(", "MachineInstr", "::", "FrameSetup", ")", ";", "BuildMI", "(", "MBB", ",", "MBBI", ",", "DL", ",", "TII", ".", "get", "(", "", ")", ",", "", ")", ".", "addImm", "(", "", ")", ".", "setMIFlag", "(", "MachineInstr", "::", "FrameSetup", ")", ";", "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", ")", ";"], "ground_truth": ["}"], "File": "AVRFrameLowering", "Func": "emitPrologue", "Target": "AVR", "Target_Clf": "MPU", "Compiler_Type": "LLVM", "Idx": 112804, "Length": 240, "Cover_Rate": 0.4006677796327212} {"Template_token": ["", "}", "assert", "(", "MI", ".", "getOperand", "(", "", ")", ".", "getReg", "(", ")", "==", "", "&&", "", ")", ";", "unsigned", "STOpc", "=", "(", "Opcode", "==", "", ")", "?", "", ":", "", ";", "MI", ".", "setDesc", "(", "TII", ".", "get", "(", "STOpc", ")", ")", ";", "MI", ".", "getOperand", "(", "", ")", ".", "setReg", "(", "FP", ")", ";"], "ground_truth": ["I", "=", "NextMI", ";"], "File": "AVRFrameLowering", "Func": "fixStackStores", "Target": "AVR", "Target_Clf": "MPU", "Compiler_Type": "LLVM", "Idx": 112805, "Length": 60, "Cover_Rate": 0.35502958579881655} {"Template_token": ["", "return", "", ";"], "ground_truth": ["}"], "File": "AVRFrameLowering", "Func": "getPassName", "Target": "AVR", "Target_Clf": "MPU", "Compiler_Type": "LLVM", "Idx": 112806, "Length": 4, "Cover_Rate": 0.4} {"Template_token": ["", "return", "", ";"], "ground_truth": ["}"], "File": "AVRFrameLowering", "Func": "getPassName", "Target": "AVR", "Target_Clf": "MPU", "Compiler_Type": "LLVM", "Idx": 112807, "Length": 4, "Cover_Rate": 0.4} {"Template_token": ["", "bool", "FrameLowering", "::", "hasFP", "(", "const", "MachineFunction", "&", "MF", ")", "const", "{"], "ground_truth": ["const", "MachineFunctionInfo", "*", "FuncInfo", "=", "MF", ".", "getInfo", "<", "MachineFunctionInfo", ">", "(", ")", ";"], "File": "AVRFrameLowering", "Func": "hasFP", "Target": "AVR", "Target_Clf": "MPU", "Compiler_Type": "LLVM", "Idx": 112808, "Length": 26, "Cover_Rate": 0.5416666666666666} {"Template_token": ["", "return", "(", "FuncInfo", "->", "getHasSpills", "(", ")", "||", "FuncInfo", "->", "getHasAllocas", "(", ")", "||", "FuncInfo", "->", "getHasStackArgs", "(", ")", ")", ";"], "ground_truth": ["}"], "File": "AVRFrameLowering", "Func": "hasFP", "Target": "AVR", "Target_Clf": "MPU", "Compiler_Type": "LLVM", "Idx": 112809, "Length": 22, "Cover_Rate": 0.4583333333333333} {"Template_token": ["", "if", "(", "CSI", ".", "empty", "(", ")", ")", "{", "return", "false", ";", "}", "DebugLoc", "DL", "=", "MBB", ".", "findDebugLoc", "(", "MI", ")", ";", "const", "MachineFunction", "&", "MF", "=", "*", "MBB", ".", "getParent", "(", ")", ";", "const", "Subtarget", "&", "STI", "=", "MF", ".", "getSubtarget", "<", "Subtarget", ">", "(", ")", ";", "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": "AVRFrameLowering", "Func": "restoreCalleeSavedRegisters", "Target": "AVR", "Target_Clf": "MPU", "Compiler_Type": "LLVM", "Idx": 112810, "Length": 118, "Cover_Rate": 0.7763157894736842} {"Template_token": ["", "if", "(", "!", "MBB", ".", "empty", "(", ")", "&&", "MBB", ".", "back", "(", ")", ".", "isReturn", "(", ")", ")", "{", "MBBI", "=", "MBB", ".", "getLastNonDebugInstr", "(", ")", ";", "DL", "=", "MBBI", "->", "getDebugLoc", "(", ")", ";", "BuildMI", "(", "MBB", ",", "MBBI", ",", "DL", ",", "TII", ".", "get", "(", "", ")", ",", "", ")", ".", "addReg", "(", "SPCopy", ",", "RegState", "::", "Kill", ")", ";", "}", "}", "return", "true", ";"], "ground_truth": ["}"], "File": "AVRFrameLowering", "Func": "runOnMachineFunction", "Target": "AVR", "Target_Clf": "MPU", "Compiler_Type": "LLVM", "Idx": 112811, "Length": 69, "Cover_Rate": 0.33014354066985646} {"Template_token": ["", "MachineFunctionInfo", "*", "FI", "=", "MF", ".", "getInfo", "<", "MachineFunctionInfo", ">", "(", ")", ";", "for", "(", "unsigned", "i", "=", "CSI", ".", "size", "(", ")", ";", "i", "!=", "", ";", "--", "i", ")", "{", "unsigned", "Reg", "=", "CSI", "[", "i", "-", "", "]", ".", "getReg", "(", ")", ";", "bool", "IsNotLiveIn", "=", "!", "MBB", ".", "isLiveIn", "(", "Reg", ")", ";", "assert", "(", "TRI", "->", "getRegSizeInBits", "(", "*", "TRI", "->", "getMinimalPhysRegClass", "(", "Reg", ")", ")", "==", "", "&&", "", ")", ";", "if", "(", "IsNotLiveIn", ")", "{", "MBB", ".", "addLiveIn", "(", "Reg", ")", ";"], "ground_truth": ["}"], "File": "AVRFrameLowering", "Func": "spillCalleeSavedRegisters", "Target": "AVR", "Target_Clf": "MPU", "Compiler_Type": "LLVM", "Idx": 112812, "Length": 90, "Cover_Rate": 0.3879310344827586} {"Template_token": ["", "for", "(", "unsigned", "i", "=", "CSI", ".", "size", "(", ")", ";", "i", "!=", "", ";", "--", "i", ")", "{", "unsigned", "Reg", "=", "CSI", "[", "i", "-", "", "]", ".", "getReg", "(", ")", ";", "bool", "IsNotLiveIn", "=", "!", "MBB", ".", "isLiveIn", "(", "Reg", ")", ";", "assert", "(", "TRI", "->", "getRegSizeInBits", "(", "*", "TRI", "->", "getMinimalPhysRegClass", "(", "Reg", ")", ")", "==", "", "&&", "", ")", ";", "if", "(", "IsNotLiveIn", ")", "{", "MBB", ".", "addLiveIn", "(", "Reg", ")", ";", "}"], "ground_truth": ["BuildMI", "(", "MBB", ",", "MI", ",", "DL", ",", "TII", ".", "get", "(", "", ")", ")", ".", "addReg", "(", "Reg", ",", "getKillRegState", "(", "IsNotLiveIn", ")", ")", ".", "setMIFlag", "(", "MachineInstr", "::", "FrameSetup", ")", ";"], "File": "AVRFrameLowering", "Func": "spillCalleeSavedRegisters", "Target": "AVR", "Target_Clf": "MPU", "Compiler_Type": "LLVM", "Idx": 112813, "Length": 110, "Cover_Rate": 0.47413793103448276} {"Template_token": ["", "printPCRelImm", "(", "MI", ",", "OpNo", ",", "O", ")", ";"], "ground_truth": ["}"], "File": "AVRInstPrinter1", "Func": "printPCRelImm", "Target": "AVR", "Target_Clf": "MPU", "Compiler_Type": "LLVM", "Idx": 112816, "Length": 10, "Cover_Rate": 0.35714285714285715} {"Template_token": ["", "O", "<<", "", ";", "printOperand", "(", "MI", ",", "", ",", "O", ")", ";", "break", ";", "case", "", ":", "case", "", ":", "O", "<<", "", ";", "if", "(", "Opcode", "==", "", ")", "O", "<<", "'-'", ";", "printOperand", "(", "MI", ",", "", ",", "O", ")", ";", "if", "(", "Opcode", "==", "", ")", "O", "<<", "'+'", ";", "O", "<<", "", ";", "printOperand", "(", "MI", ",", "", ",", "O", ")", ";", "break", ";", "default", ":", "if", "(", "!", "printAliasInstr", "(", "MI", ",", "O", ")", ")", "printInstruction", "(", "MI", ",", "Address", ",", "O", ")", ";", "printAnnotation", "(", "O", ",", "Annot", ")", ";", "break", ";"], "ground_truth": ["}"], "File": "AVRInstPrinter3", "Func": "printInst", "Target": "AVR", "Target_Clf": "MPU", "Compiler_Type": "LLVM", "Idx": 112818, "Length": 100, "Cover_Rate": 0.42735042735042733} {"Template_token": ["", "const", "MCOperandInfo", "&", "MOI", "=", "this", "->", "MII", ".", "get", "(", "MI", "->", "getOpcode", "(", ")", ")", ".", "OpInfo", "[", "OpNo", "]", ";", "if", "(", "Op", ".", "isReg", "(", ")", ")", "{", "bool", "isPtrReg", "=", "(", "MOI", ".", "RegClass", "==", "", ")", "||", "(", "MOI", ".", "RegClass", "==", "", ")", "||", "(", "MOI", ".", "RegClass", "==", "", ")", ";", "if", "(", "isPtrReg", ")", "{", "O", "<<", "getRegisterName", "(", "Op", ".", "getReg", "(", ")", ",", "", ")", ";", "}", "else", "{"], "ground_truth": ["O", "<<", "getPrettyRegisterName", "(", "Op", ".", "getReg", "(", ")", ",", "MRI", ")", ";"], "File": "AVRInstPrinter3", "Func": "printOperand", "Target": "AVR", "Target_Clf": "MPU", "Compiler_Type": "LLVM", "Idx": 112819, "Length": 93, "Cover_Rate": 0.4793814432989691} {"Template_token": ["", "const", "MCOperandInfo", "&", "MOI", "=", "this", "->", "MII", ".", "get", "(", "MI", "->", "getOpcode", "(", ")", ")", ".", "OpInfo", "[", "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", "<<", "Op", ".", "getImm", "(", ")", ";", "}", "else", "{", "assert", "(", "Op", ".", "isExpr", "(", ")", "&&", "", ")", ";"], "ground_truth": ["O", "<<", "*", "Op", ".", "getExpr", "(", ")", ";"], "File": "AVRInstPrinter3", "Func": "printOperand", "Target": "AVR", "Target_Clf": "MPU", "Compiler_Type": "LLVM", "Idx": 112820, "Length": 136, "Cover_Rate": 0.7010309278350515} {"Template_token": ["", "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", "<<", "Op", ".", "getImm", "(", ")", ";", "}", "else", "{", "assert", "(", "Op", ".", "isExpr", "(", ")", "&&", "", ")", ";"], "ground_truth": ["O", "<<", "*", "Op", ".", "getExpr", "(", ")", ";"], "File": "AVRInstPrinter5", "Func": "printOperand", "Target": "AVR", "Target_Clf": "MPU", "Compiler_Type": "LLVM", "Idx": 112821, "Length": 113, "Cover_Rate": 0.6420454545454546} {"Template_token": ["", "if", "(", "Op", ".", "isReg", "(", ")", ")", "{", "bool", "isPtrReg", "=", "(", "MOI", ".", "RegClass", "==", "", ")", "||", "(", "MOI", ".", "RegClass", "==", "", ")", "||", "(", "MOI", ".", "RegClass", "==", "", ")", ";", "if", "(", "isPtrReg", ")", "{"], "ground_truth": ["O", "<<", "getRegisterName", "(", "Op", ".", "getReg", "(", ")", ",", "", ")", ";"], "File": "AVRInstPrinter5", "Func": "printOperand", "Target": "AVR", "Target_Clf": "MPU", "Compiler_Type": "LLVM", "Idx": 112822, "Length": 54, "Cover_Rate": 0.3068181818181818} {"Template_token": ["", "if", "(", "Opcode", "==", "", ")", "O", "<<", "'+'", ";", "break", ";", "case", "", ":", "O", "<<", "", ";", "printOperand", "(", "MI", ",", "", ",", "O", ")", ";", "O", "<<", "", ";", "printOperand", "(", "MI", ",", "", ",", "O", ")", ";", "break", ";", "case", "", ":", "case", "", ":", "O", "<<", "", ";", "if", "(", "Opcode", "==", "", ")", "O", "<<", "'-'", ";", "printOperand", "(", "MI", ",", "", ",", "O", ")", ";", "if", "(", "Opcode", "==", "", ")", "O", "<<", "'+'", ";", "O", "<<", "", ";", "printOperand", "(", "MI", ",", "", ",", "O", ")", ";", "break", ";", "default", ":"], "ground_truth": ["if", "(", "!", "printAliasInstr", "(", "MI", ",", "O", ")", ")", "printInstruction", "(", "MI", ",", "O", ")", ";"], "File": "AVRInstPrinter7", "Func": "printInst", "Target": "AVR", "Target_Clf": "MPU", "Compiler_Type": "LLVM", "Idx": 112823, "Length": 116, "Cover_Rate": 0.5065502183406113} {"Template_token": ["", "void", "InstPrinter", "::", "printOperand", "(", "const", "MCInst", "*", "MI", ",", "unsigned", "OpNo", ",", "raw_ostream", "&", "O", ")", "{", "const", "MCOperand", "&", "Op", "=", "MI", "->", "getOperand", "(", "OpNo", ")", ";", "const", "MCOperandInfo", "&", "MOI", "=", "this", "->", "MII", ".", "get", "(", "MI", "->", "getOpcode", "(", ")", ")", ".", "OpInfo", "[", "OpNo", "]", ";", "if", "(", "Op", ".", "isReg", "(", ")", ")", "{"], "ground_truth": ["bool", "isPtrReg", "=", "(", "MOI", ".", "RegClass", "==", "", ")", "||", "(", "MOI", ".", "RegClass", "==", "", ")", "||", "(", "MOI", ".", "RegClass", "==", "", ")", ";"], "File": "AVRInstPrinter7", "Func": "printOperand", "Target": "AVR", "Target_Clf": "MPU", "Compiler_Type": "LLVM", "Idx": 112824, "Length": 89, "Cover_Rate": 0.5056818181818182} {"Template_token": ["", "InstPrinter", "(", "const", "MCAsmInfo", "&", "MAI", ",", "const", "MCInstrInfo", "&", "MII", ",", "const", "MCRegisterInfo", "&", "MRI", ")", ":", "MCInstPrinter", "(", "MAI", ",", "MII", ",", "MRI", ")", "{"], "ground_truth": ["}"], "File": "AVRInstPrinter", "Func": "AVRInstPrinter", "Target": "AVR", "Target_Clf": "MPU", "Compiler_Type": "LLVM", "Idx": 112825, "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": "AVRInstPrinter", "Func": "AVRInstPrinter", "Target": "AVR", "Target_Clf": "MPU", "Compiler_Type": "LLVM", "Idx": 112826, "Length": 28, "Cover_Rate": 1.0} {"Template_token": ["", "unsigned", "RegLoNum", "=", "MRI", ".", "getSubReg", "(", "RegNum", ",", "", ")", ";", "RegNum", "=", "(", "RegLoNum", "!=", "", ")", "?", "RegLoNum", ":", "RegNum", ";"], "ground_truth": ["}"], "File": "AVRInstPrinter", "Func": "getPrettyRegisterName", "Target": "AVR", "Target_Clf": "MPU", "Compiler_Type": "LLVM", "Idx": 112827, "Length": 25, "Cover_Rate": 0.3968253968253968} {"Template_token": ["", "unsigned", "Opcode", "=", "MI", "->", "getOpcode", "(", ")", ";", "switch", "(", "Opcode", ")", "{", "case", "", ":", "case", "", ":", "case", "", ":", "O", "<<", "", ";", "printOperand", "(", "MI", ",", "", ",", "O", ")", ";", "O", "<<", "", ";", "if", "(", "Opcode", "==", "", ")", "O", "<<", "'-'", ";", "printOperand", "(", "MI", ",", "", ",", "O", ")", ";", "if", "(", "Opcode", "==", "", ")", "O", "<<", "'+'", ";", "break", ";", "case", "", ":", "O", "<<", "", ";"], "ground_truth": ["printOperand", "(", "MI", ",", "", ",", "O", ")", ";"], "File": "AVRInstPrinter", "Func": "printInst", "Target": "AVR", "Target_Clf": "MPU", "Compiler_Type": "LLVM", "Idx": 112828, "Length": 87, "Cover_Rate": 0.3686440677966102} {"Template_token": ["", "O", "<<", "", ";", "if", "(", "Opcode", "==", "", ")", "O", "<<", "'-'", ";", "printOperand", "(", "MI", ",", "", ",", "O", ")", ";", "if", "(", "Opcode", "==", "", ")", "O", "<<", "'+'", ";", "break", ";", "case", "", ":", "O", "<<", "", ";", "printOperand", "(", "MI", ",", "", ",", "O", ")", ";", "O", "<<", "", ";", "printOperand", "(", "MI", ",", "", ",", "O", ")", ";", "break", ";", "case", "", ":", "case", "", ":", "O", "<<", "", ";", "if", "(", "Opcode", "==", "", ")", "O", "<<", "'-'", ";", "printOperand", "(", "MI", ",", "", ",", "O", ")", ";"], "ground_truth": ["if", "(", "Opcode", "==", "", ")", "O", "<<", "'+'", ";"], "File": "AVRInstPrinter", "Func": "printInst", "Target": "AVR", "Target_Clf": "MPU", "Compiler_Type": "LLVM", "Idx": 112829, "Length": 105, "Cover_Rate": 0.4449152542372881} {"Template_token": ["", "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", "(", ")", ";"], "ground_truth": ["}", "else", "{"], "File": "AVRInstPrinter", "Func": "printMemri", "Target": "AVR", "Target_Clf": "MPU", "Compiler_Type": "LLVM", "Idx": 112830, "Length": 78, "Cover_Rate": 0.6554621848739496} {"Template_token": ["", "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", "(", ")", ")", ";", "}", "else", "{", "assert", "(", "Op", ".", "isExpr", "(", ")", "&&", "", ")", ";"], "ground_truth": ["O", "<<", "*", "Op", ".", "getExpr", "(", ")", ";"], "File": "AVRInstPrinter", "Func": "printOperand", "Target": "AVR", "Target_Clf": "MPU", "Compiler_Type": "LLVM", "Idx": 112831, "Length": 116, "Cover_Rate": 0.5395348837209303} {"Template_token": ["", "if", "(", "OpNo", ">=", "MI", "->", "size", "(", ")", ")", "{", "O", "<<", "", ";", "return", ";", "}", "const", "MCOperand", "&", "Op", "=", "MI", "->", "getOperand", "(", "OpNo", ")", ";", "if", "(", "Op", ".", "isImm", "(", ")", ")", "{", "int64_t", "Imm", "=", "Op", ".", "getImm", "(", ")", ";", "O", "<<", "'.'", ";", "if", "(", "Imm", ">=", "", ")", "O", "<<", "'+'", ";", "O", "<<", "Imm", ";", "}", "else", "{", "assert", "(", "Op", ".", "isExpr", "(", ")", "&&", "", ")", ";", "O", "<<", "*", "Op", ".", "getExpr", "(", ")", ";", "}"], "ground_truth": ["}"], "File": "AVRInstPrinter", "Func": "printPCRelImm", "Target": "AVR", "Target_Clf": "MPU", "Compiler_Type": "LLVM", "Idx": 112832, "Length": 91, "Cover_Rate": 0.8348623853211009} {"Template_token": ["", "BuildMI", "(", "MBB", ",", "MI", ",", "DL", ",", "get", "(", "", ")", ",", "DestReg", ")", ".", "addReg", "(", "SrcReg", ",", "getKillRegState", "(", "KillSrc", ")", ")", ";", "}", "else", "{", "unsigned", "DestLo", ",", "DestHi", ",", "SrcLo", ",", "SrcHi", ";", "TRI", ".", "splitReg", "(", "DestReg", ",", "DestLo", ",", "DestHi", ")", ";", "TRI", ".", "splitReg", "(", "SrcReg", ",", "SrcLo", ",", "SrcHi", ")", ";", "BuildMI", "(", "MBB", ",", "MI", ",", "DL", ",", "get", "(", "", ")", ",", "DestLo", ")", ".", "addReg", "(", "SrcLo", ",", "getKillRegState", "(", "KillSrc", ")", ")", ";", "BuildMI", "(", "MBB", ",", "MI", ",", "DL", ",", "get", "(", "", ")", ",", "DestHi", ")", ".", "addReg", "(", "SrcHi", ",", "getKillRegState", "(", "KillSrc", ")", ")", ";", "}", "}", "else", "{", "if", "(", "", ".", "contains", "(", "DestReg", ",", "SrcReg", ")", ")", "{", "Opc", "=", "", ";", "}", "else", "if", "(", "SrcReg", "==", "", "&&", "", ".", "contains", "(", "DestReg", ")", ")", "{", "Opc", "=", "", ";", "}", "else", "if", "(", "DestReg", "==", "", "&&", "", ".", "contains", "(", "SrcReg", ")", ")", "{", "Opc", "=", "", ";", "}", "else", "{"], "ground_truth": ["llvm_unreachable", "(", "", ")", ";"], "File": "AVRInstrInfo12", "Func": "copyPhysReg", "Target": "AVR", "Target_Clf": "MPU", "Compiler_Type": "LLVM", "Idx": 112833, "Length": 180, "Cover_Rate": 0.5678233438485805} {"Template_token": ["", "const", "MCInstrDesc", "&", "Desc", "=", "get", "(", "Opcode", ")", ";", "return", "Desc", ".", "getSize", "(", ")", ";", "}", "case", "TargetOpcode", "::", "EH_LABEL", ":", "case", "TargetOpcode", "::", "IMPLICIT_DEF", ":", "case", "TargetOpcode", "::", "KILL", ":", "case", "TargetOpcode", "::", "DBG_VALUE", ":", "return", "", ";", "case", "TargetOpcode", "::", "INLINEASM", ":", "{", "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", "(", ")", ";", "return", "TII", ".", "getInlineAsmLength", "(", "MI", ".", "getOperand", "(", "", ")", ".", "getSymbolName", "(", ")", ",", "*", "TM", ".", "getMCAsmInfo", "(", ")", ")", ";", "}"], "ground_truth": ["}"], "File": "AVRInstrInfo12", "Func": "getInstSizeInBytes", "Target": "AVR", "Target_Clf": "MPU", "Compiler_Type": "LLVM", "Idx": 112834, "Length": 134, "Cover_Rate": 0.8170731707317073} {"Template_token": ["", "case", "TargetOpcode", "::", "INLINEASM", ":", "{", "const", "MachineFunction", "&", "MF", "=", "*", "MI", ".", "getParent", "(", ")", "->", "getParent", "(", ")", ";", "const", "TargetMachine", "&", "TM", "=", "static_cast", "<", "const", "TargetMachine", "&", ">", "(", "MF", ".", "getTarget", "(", ")", ")", ";"], "ground_truth": ["const", "Subtarget", "&", "STI", "=", "MF", ".", "getSubtarget", "<", "Subtarget", ">", "(", ")", ";"], "File": "AVRInstrInfo12", "Func": "getInstSizeInBytes", "Target": "AVR", "Target_Clf": "MPU", "Compiler_Type": "LLVM", "Idx": 112835, "Length": 55, "Cover_Rate": 0.3353658536585366} {"Template_token": ["", "DL", "=", "MI", "->", "getDebugLoc", "(", ")", ";", "}", "MachineFunction", "&", "MF", "=", "*", "MBB", ".", "getParent", "(", ")", ";", "const", "MachineFrameInfo", "&", "MFI", "=", "MF", ".", "getFrameInfo", "(", ")", ";"], "ground_truth": ["MachineMemOperand", "*", "MMO", "=", "MF", ".", "getMachineMemOperand", "(", "MachinePointerInfo", "::", "getFixedStack", "(", "MF", ",", "FrameIndex", ")", ",", "MachineMemOperand", "::", "MOLoad", ",", "MFI", ".", "getObjectSize", "(", "FrameIndex", ")", ",", "MFI", ".", "getObjectAlignment", "(", "FrameIndex", ")", ")", ";"], "File": "AVRInstrInfo12", "Func": "loadRegFromStackSlot", "Target": "AVR", "Target_Clf": "MPU", "Compiler_Type": "LLVM", "Idx": 112836, "Length": 67, "Cover_Rate": 0.33004926108374383} {"Template_token": ["", "}", "const", "MachineFrameInfo", "&", "MFI", "=", "MF", ".", "getFrameInfo", "(", ")", ";", "MachineMemOperand", "*", "MMO", "=", "MF", ".", "getMachineMemOperand", "(", "MachinePointerInfo", "::", "getFixedStack", "(", "MF", ",", "FrameIndex", ")", ",", "MachineMemOperand", "::", "MOStore", ",", "MFI", ".", "getObjectSize", "(", "FrameIndex", ")", ",", "MFI", ".", "getObjectAlignment", "(", "FrameIndex", ")", ")", ";", "unsigned", "Opcode", "=", "", ";", "if", "(", "TRI", "->", "isTypeLegalForClass", "(", "*", "RC", ",", "", ")", ")", "{", "Opcode", "=", "", ";", "}", "else", "if", "(", "TRI", "->", "isTypeLegalForClass", "(", "*", "RC", ",", "", ")", ")", "{", "Opcode", "=", "", ";", "}", "else", "{", "llvm_unreachable", "(", "", ")", ";", "}", "BuildMI", "(", "MBB", ",", "MI", ",", "DL", ",", "get", "(", "Opcode", ")", ")", ".", "addFrameIndex", "(", "FrameIndex", ")", ".", "addImm", "(", "", ")", ".", "addReg", "(", "SrcReg", ",", "getKillRegState", "(", "isKill", ")", ")", ".", "addMemOperand", "(", "MMO", ")", ";"], "ground_truth": ["}"], "File": "AVRInstrInfo12", "Func": "storeRegToStackSlot", "Target": "AVR", "Target_Clf": "MPU", "Compiler_Type": "LLVM", "Idx": 112837, "Length": 138, "Cover_Rate": 0.5897435897435898} {"Template_token": ["", "void", "InstrInfo", "::", "copyPhysReg", "(", "MachineBasicBlock", "&", "MBB", ",", "MachineBasicBlock", "::", "iterator", "MI", ",", "const", "DebugLoc", "&", "DL", ",", "MCRegister", "DestReg", ",", "MCRegister", "SrcReg", ",", "bool", "KillSrc", ")", "const", "{", "const", "Subtarget", "&", "STI", "=", "MBB", ".", "getParent", "(", ")", "->", "getSubtarget", "<", "Subtarget", ">", "(", ")", ";", "const", "RegisterInfo", "&", "TRI", "=", "*", "STI", ".", "getRegisterInfo", "(", ")", ";", "unsigned", "Opc", ";", "if", "(", "", ".", "contains", "(", "DestReg", ",", "SrcReg", ")", ")", "{", "if", "(", "STI", ".", "hasMOVW", "(", ")", ")", "{", "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", ")", ";", "BuildMI", "(", "MBB", ",", "MI", ",", "DL", ",", "get", "(", "", ")", ",", "DestLo", ")", ".", "addReg", "(", "SrcLo", ",", "getKillRegState", "(", "KillSrc", ")", ")", ";", "BuildMI", "(", "MBB", ",", "MI", ",", "DL", ",", "get", "(", "", ")", ",", "DestHi", ")", ".", "addReg", "(", "SrcHi", ",", "getKillRegState", "(", "KillSrc", ")", ")", ";", "}", "}", "else", "{", "if", "(", "", ".", "contains", "(", "DestReg", ",", "SrcReg", ")", ")", "{", "Opc", "=", "", ";", "}", "else", "if", "(", "SrcReg", "==", "", "&&", "", ".", "contains", "(", "DestReg", ")", ")", "{", "Opc", "=", "", ";", "}", "else", "if", "(", "DestReg", "==", "", "&&", "", ".", "contains", "(", "SrcReg", ")", ")", "{", "Opc", "=", "", ";", "}", "else", "{", "llvm_unreachable", "(", "", ")", ";"], "ground_truth": ["}"], "File": "AVRInstrInfo14", "Func": "copyPhysReg", "Target": "AVR", "Target_Clf": "MPU", "Compiler_Type": "LLVM", "Idx": 112838, "Length": 265, "Cover_Rate": 0.8359621451104101} {"Template_token": ["", "case", "TargetOpcode", "::", "EH_LABEL", ":", "case", "TargetOpcode", "::", "IMPLICIT_DEF", ":", "case", "TargetOpcode", "::", "KILL", ":", "case", "TargetOpcode", "::", "DBG_VALUE", ":", "return", "", ";", "case", "TargetOpcode", "::", "INLINEASM", ":", "case", "TargetOpcode", "::", "INLINEASM_BR", ":", "{", "const", "MachineFunction", "&", "MF", "=", "*", "MI", ".", "getParent", "(", ")", "->", "getParent", "(", ")", ";"], "ground_truth": ["const", "TargetMachine", "&", "TM", "=", "static_cast", "<", "const", "TargetMachine", "&", ">", "(", "MF", ".", "getTarget", "(", ")", ")", ";"], "File": "AVRInstrInfo14", "Func": "getInstSizeInBytes", "Target": "AVR", "Target_Clf": "MPU", "Compiler_Type": "LLVM", "Idx": 112839, "Length": 69, "Cover_Rate": 0.40828402366863903} {"Template_token": ["", "case", "TargetOpcode", "::", "IMPLICIT_DEF", ":", "case", "TargetOpcode", "::", "KILL", ":", "case", "TargetOpcode", "::", "DBG_VALUE", ":", "return", "", ";", "case", "TargetOpcode", "::", "INLINEASM", ":", "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", "(", ")", ";", "return", "TII", ".", "getInlineAsmLength", "(", "MI", ".", "getOperand", "(", "", ")", ".", "getSymbolName", "(", ")", ",", "*", "TM", ".", "getMCAsmInfo", "(", ")", ")", ";", "}", "}"], "ground_truth": ["}"], "File": "AVRInstrInfo14", "Func": "getInstSizeInBytes", "Target": "AVR", "Target_Clf": "MPU", "Compiler_Type": "LLVM", "Idx": 112840, "Length": 117, "Cover_Rate": 0.6923076923076923} {"Template_token": ["", "void", "InstrInfo", "::", "loadRegFromStackSlot", "(", "MachineBasicBlock", "&", "MBB", ",", "MachineBasicBlock", "::", "iterator", "MI", ",", "Register", "DestReg", ",", "int", "FrameIndex", ",", "const", "TargetRegisterClass", "*", "RC", ",", "const", "TargetRegisterInfo", "*", "TRI", ")", "const", "{", "DebugLoc", "DL", ";", "if", "(", "MI", "!=", "MBB", ".", "end", "(", ")", ")", "{", "DL", "=", "MI", "->", "getDebugLoc", "(", ")", ";", "}", "MachineFunction", "&", "MF", "=", "*", "MBB", ".", "getParent", "(", ")", ";", "const", "MachineFrameInfo", "&", "MFI", "=", "MF", ".", "getFrameInfo", "(", ")", ";", "MachineMemOperand", "*", "MMO", "=", "MF", ".", "getMachineMemOperand", "(", "MachinePointerInfo", "::", "getFixedStack", "(", "MF", ",", "FrameIndex", ")", ",", "MachineMemOperand", "::", "MOLoad", ",", "MFI", ".", "getObjectSize", "(", "FrameIndex", ")", ",", "MFI", ".", "getObjectAlignment", "(", "FrameIndex", ")", ")", ";", "unsigned", "Opcode", "=", "", ";", "if", "(", "TRI", "->", "isTypeLegalForClass", "(", "*", "RC", ",", "", ")", ")", "{", "Opcode", "=", "", ";"], "ground_truth": ["}", "else", "if", "(", "TRI", "->", "isTypeLegalForClass", "(", "*", "RC", ",", "", ")", ")", "{"], "File": "AVRInstrInfo14", "Func": "loadRegFromStackSlot", "Target": "AVR", "Target_Clf": "MPU", "Compiler_Type": "LLVM", "Idx": 112841, "Length": 150, "Cover_Rate": 0.7389162561576355} {"Template_token": ["", "DL", "=", "MI", "->", "getDebugLoc", "(", ")", ";", "}", "const", "MachineFrameInfo", "&", "MFI", "=", "MF", ".", "getFrameInfo", "(", ")", ";", "MachineMemOperand", "*", "MMO", "=", "MF", ".", "getMachineMemOperand", "(", "MachinePointerInfo", "::", "getFixedStack", "(", "MF", ",", "FrameIndex", ")", ",", "MachineMemOperand", "::", "MOStore", ",", "MFI", ".", "getObjectSize", "(", "FrameIndex", ")", ",", "MFI", ".", "getObjectAlignment", "(", "FrameIndex", ")", ")", ";", "unsigned", "Opcode", "=", "", ";", "if", "(", "TRI", "->", "isTypeLegalForClass", "(", "*", "RC", ",", "", ")", ")", "{"], "ground_truth": ["Opcode", "=", "", ";"], "File": "AVRInstrInfo14", "Func": "storeRegToStackSlot", "Target": "AVR", "Target_Clf": "MPU", "Compiler_Type": "LLVM", "Idx": 112842, "Length": 78, "Cover_Rate": 0.3333333333333333} {"Template_token": ["", "}", "else", "if", "(", "DestReg", "==", "", "&&", "", ".", "contains", "(", "SrcReg", ")", ")", "{", "Opc", "=", "", ";", "}", "else", "{", "llvm_unreachable", "(", "", ")", ";", "}"], "ground_truth": ["BuildMI", "(", "MBB", ",", "MI", ",", "DL", ",", "get", "(", "Opc", ")", ",", "DestReg", ")", ".", "addReg", "(", "SrcReg", ",", "getKillRegState", "(", "KillSrc", ")", ")", ";"], "File": "AVRInstrInfo15", "Func": "copyPhysReg", "Target": "AVR", "Target_Clf": "MPU", "Compiler_Type": "LLVM", "Idx": 112843, "Length": 55, "Cover_Rate": 0.3416149068322981} {"Template_token": ["", "const", "TargetMachine", "&", "TM", "=", "static_cast", "<", "const", "TargetMachine", "&", ">", "(", "MF", "->", "getTarget", "(", ")", ")", ";", "const", "TargetInstrInfo", "&", "TII", "=", "*", "TM", ".", "getSubtargetImpl", "(", ")", "->", "getInstrInfo", "(", ")", ";", "return", "TII", ".", "getInlineAsmLength", "(", "MI", "->", "getOperand", "(", "", ")", ".", "getSymbolName", "(", ")", ",", "*", "TM", ".", "getMCAsmInfo", "(", ")", ")", ";", "}"], "ground_truth": ["}"], "File": "AVRInstrInfo15", "Func": "GetInstSizeInBytes", "Target": "AVR", "Target_Clf": "MPU", "Compiler_Type": "LLVM", "Idx": 112844, "Length": 61, "Cover_Rate": 0.39869281045751637} {"Template_token": ["", "const", "MCInstrDesc", "&", "Desc", "=", "get", "(", "Opcode", ")", ";", "return", "Desc", ".", "getSize", "(", ")", ";", "}", "case", "TargetOpcode", "::", "EH_LABEL", ":", "case", "TargetOpcode", "::", "IMPLICIT_DEF", ":", "case", "TargetOpcode", "::", "KILL", ":", "case", "TargetOpcode", "::", "DBG_VALUE", ":", "return", "", ";", "case", "TargetOpcode", "::", "INLINEASM", ":", "{", "const", "MachineFunction", "*", "MF", "=", "MI", "->", "getParent", "(", ")", "->", "getParent", "(", ")", ";", "const", "TargetMachine", "&", "TM", "=", "static_cast", "<", "const", "TargetMachine", "&", ">", "(", "MF", "->", "getTarget", "(", ")", ")", ";", "const", "TargetInstrInfo", "&", "TII", "=", "*", "TM", ".", "getSubtargetImpl", "(", ")", "->", "getInstrInfo", "(", ")", ";"], "ground_truth": ["return", "TII", ".", "getInlineAsmLength", "(", "MI", "->", "getOperand", "(", "", ")", ".", "getSymbolName", "(", ")", ",", "*", "TM", ".", "getMCAsmInfo", "(", ")", ")", ";"], "File": "AVRInstrInfo15", "Func": "GetInstSizeInBytes", "Target": "AVR", "Target_Clf": "MPU", "Compiler_Type": "LLVM", "Idx": 112845, "Length": 121, "Cover_Rate": 0.7908496732026143} {"Template_token": ["", "if", "(", "Cond", ".", "empty", "(", ")", ")", "{", "assert", "(", "!", "FBB", "&&", "", ")", ";", "BuildMI", "(", "&", "MBB", ",", "DL", ",", "get", "(", "", ")", ")", ".", "addMBB", "(", "TBB", ")", ";", "return", "", ";", "}", "unsigned", "Count", "=", "", ";", "", "CC", "=", "(", "", ")", "Cond", "[", "", "]", ".", "getImm", "(", ")", ";", "BuildMI", "(", "&", "MBB", ",", "DL", ",", "getBrCond", "(", "CC", ")", ")", ".", "addMBB", "(", "TBB", ")", ";"], "ground_truth": ["++", "Count", ";"], "File": "AVRInstrInfo15", "Func": "InsertBranch", "Target": "AVR", "Target_Clf": "MPU", "Compiler_Type": "LLVM", "Idx": 112846, "Length": 80, "Cover_Rate": 0.4519774011299435} {"Template_token": ["", "BuildMI", "(", "&", "MBB", ",", "DL", ",", "get", "(", "", ")", ")", ".", "addMBB", "(", "TBB", ")", ";", "return", "", ";", "}", "unsigned", "Count", "=", "", ";", "", "CC", "=", "(", "", ")", "Cond", "[", "", "]", ".", "getImm", "(", ")", ";", "BuildMI", "(", "&", "MBB", ",", "DL", ",", "getBrCond", "(", "CC", ")", ")", ".", "addMBB", "(", "TBB", ")", ";"], "ground_truth": ["++", "Count", ";"], "File": "AVRInstrInfo15", "Func": "InsertBranch", "Target": "AVR", "Target_Clf": "MPU", "Compiler_Type": "LLVM", "Idx": 112847, "Length": 63, "Cover_Rate": 0.3559322033898305} {"Template_token": ["", "switch", "(", "MI", "->", "getOpcode", "(", ")", ")", "{", "case", "", ":", "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": "AVRInstrInfo15", "Func": "isLoadFromStackSlot", "Target": "AVR", "Target_Clf": "MPU", "Compiler_Type": "LLVM", "Idx": 112848, "Length": 98, "Cover_Rate": 0.8305084745762712} {"Template_token": ["", "case", "", ":", "{", "if", "(", "(", "MI", "->", "getOperand", "(", "", ")", ".", "isFI", "(", ")", ")", "&&", "(", "MI", "->", "getOperand", "(", "", ")", ".", "isImm", "(", ")", ")", "&&", "(", "MI", "->", "getOperand", "(", "", ")", ".", "getImm", "(", ")", "==", "", ")", ")", "{", "FrameIndex", "=", "MI", "->", "getOperand", "(", "", ")", ".", "getIndex", "(", ")", ";", "return", "MI", "->", "getOperand", "(", "", ")", ".", "getReg", "(", ")", ";", "}", "break", ";", "}", "default", ":", "break", ";", "}"], "ground_truth": ["return", "", ";"], "File": "AVRInstrInfo15", "Func": "isStoreToStackSlot", "Target": "AVR", "Target_Clf": "MPU", "Compiler_Type": "LLVM", "Idx": 112849, "Length": 85, "Cover_Rate": 0.7203389830508474} {"Template_token": ["", "unsigned", "InstrInfo", "::", "isStoreToStackSlot", "(", "const", "MachineInstr", "*", "MI", ",", "int", "&", "FrameIndex", ")", "const", "{", "switch", "(", "MI", "->", "getOpcode", "(", ")", ")", "{", "case", "", ":", "case", "", ":", "{", "if", "(", "(", "MI", "->", "getOperand", "(", "", ")", ".", "isFI", "(", ")", ")", "&&", "(", "MI", "->", "getOperand", "(", "", ")", ".", "isImm", "(", ")", ")", "&&", "(", "MI", "->", "getOperand", "(", "", ")", ".", "getImm", "(", ")", "==", "", ")", ")", "{", "FrameIndex", "=", "MI", "->", "getOperand", "(", "", ")", ".", "getIndex", "(", ")", ";", "return", "MI", "->", "getOperand", "(", "", ")", ".", "getReg", "(", ")", ";", "}", "break", ";", "}", "default", ":", "break", ";", "}"], "ground_truth": ["return", "", ";"], "File": "AVRInstrInfo15", "Func": "isStoreToStackSlot", "Target": "AVR", "Target_Clf": "MPU", "Compiler_Type": "LLVM", "Idx": 112850, "Length": 113, "Cover_Rate": 0.9576271186440678} {"Template_token": ["", "if", "(", "MI", "!=", "MBB", ".", "end", "(", ")", ")", "{", "DL", "=", "MI", "->", "getDebugLoc", "(", ")", ";", "}", "MachineFunction", "&", "MF", "=", "*", "MBB", ".", "getParent", "(", ")", ";", "const", "MachineFrameInfo", "&", "MFI", "=", "*", "MF", ".", "getFrameInfo", "(", ")", ";", "MachineMemOperand", "*", "MMO", "=", "MF", ".", "getMachineMemOperand", "(", "MachinePointerInfo", "::", "getFixedStack", "(", "MF", ",", "FrameIndex", ")", ",", "MachineMemOperand", "::", "MOLoad", ",", "MFI", ".", "getObjectSize", "(", "FrameIndex", ")", ",", "MFI", ".", "getObjectAlignment", "(", "FrameIndex", ")", ")", ";"], "ground_truth": ["unsigned", "Opcode", "=", "", ";"], "File": "AVRInstrInfo15", "Func": "loadRegFromStackSlot", "Target": "AVR", "Target_Clf": "MPU", "Compiler_Type": "LLVM", "Idx": 112851, "Length": 84, "Cover_Rate": 0.42424242424242425} {"Template_token": ["", "}", "MachineFunction", "&", "MF", "=", "*", "MBB", ".", "getParent", "(", ")", ";", "const", "MachineFrameInfo", "&", "MFI", "=", "*", "MF", ".", "getFrameInfo", "(", ")", ";", "MachineMemOperand", "*", "MMO", "=", "MF", ".", "getMachineMemOperand", "(", "MachinePointerInfo", "::", "getFixedStack", "(", "MF", ",", "FrameIndex", ")", ",", "MachineMemOperand", "::", "MOLoad", ",", "MFI", ".", "getObjectSize", "(", "FrameIndex", ")", ",", "MFI", ".", "getObjectAlignment", "(", "FrameIndex", ")", ")", ";", "unsigned", "Opcode", "=", "", ";"], "ground_truth": ["if", "(", "RC", "->", "hasType", "(", "", ")", ")", "{"], "File": "AVRInstrInfo15", "Func": "loadRegFromStackSlot", "Target": "AVR", "Target_Clf": "MPU", "Compiler_Type": "LLVM", "Idx": 112852, "Length": 75, "Cover_Rate": 0.3787878787878788} {"Template_token": ["", "}", "const", "MachineFrameInfo", "&", "MFI", "=", "*", "MF", ".", "getFrameInfo", "(", ")", ";", "MachineMemOperand", "*", "MMO", "=", "MF", ".", "getMachineMemOperand", "(", "MachinePointerInfo", "::", "getFixedStack", "(", "MF", ",", "FrameIndex", ")", ",", "MachineMemOperand", "::", "MOStore", ",", "MFI", ".", "getObjectSize", "(", "FrameIndex", ")", ",", "MFI", ".", "getObjectAlignment", "(", "FrameIndex", ")", ")", ";", "unsigned", "Opcode", "=", "", ";", "if", "(", "RC", "->", "hasType", "(", "", ")", ")", "{", "Opcode", "=", "", ";", "}", "else", "if", "(", "RC", "->", "hasType", "(", "", ")", ")", "{", "Opcode", "=", "", ";", "}", "else", "{", "llvm_unreachable", "(", "", ")", ";", "}"], "ground_truth": ["BuildMI", "(", "MBB", ",", "MI", ",", "DL", ",", "get", "(", "Opcode", ")", ")", ".", "addFrameIndex", "(", "FrameIndex", ")", ".", "addImm", "(", "", ")", ".", "addReg", "(", "SrcReg", ",", "getKillRegState", "(", "isKill", ")", ")", ".", "addMemOperand", "(", "MMO", ")", ";"], "File": "AVRInstrInfo15", "Func": "storeRegToStackSlot", "Target": "AVR", "Target_Clf": "MPU", "Compiler_Type": "LLVM", "Idx": 112853, "Length": 132, "Cover_Rate": 0.631578947368421} {"Template_token": ["", "DL", "=", "MI", "->", "getDebugLoc", "(", ")", ";", "}", "const", "MachineFrameInfo", "&", "MFI", "=", "*", "MF", ".", "getFrameInfo", "(", ")", ";", "MachineMemOperand", "*", "MMO", "=", "MF", ".", "getMachineMemOperand", "(", "MachinePointerInfo", "::", "getFixedStack", "(", "MF", ",", "FrameIndex", ")", ",", "MachineMemOperand", "::", "MOStore", ",", "MFI", ".", "getObjectSize", "(", "FrameIndex", ")", ",", "MFI", ".", "getObjectAlignment", "(", "FrameIndex", ")", ")", ";", "unsigned", "Opcode", "=", "", ";", "if", "(", "RC", "->", "hasType", "(", "", ")", ")", "{", "Opcode", "=", "", ";", "}", "else", "if", "(", "RC", "->", "hasType", "(", "", ")", ")", "{", "Opcode", "=", "", ";", "}", "else", "{", "llvm_unreachable", "(", "", ")", ";"], "ground_truth": ["}"], "File": "AVRInstrInfo15", "Func": "storeRegToStackSlot", "Target": "AVR", "Target_Clf": "MPU", "Compiler_Type": "LLVM", "Idx": 112854, "Length": 101, "Cover_Rate": 0.48325358851674644} {"Template_token": ["", "}", "else", "{", "Register", "DestLo", ",", "DestHi", ",", "SrcLo", ",", "SrcHi", ";", "TRI", ".", "splitReg", "(", "DestReg", ",", "DestLo", ",", "DestHi", ")", ";", "TRI", ".", "splitReg", "(", "SrcReg", ",", "SrcLo", ",", "SrcHi", ")", ";", "BuildMI", "(", "MBB", ",", "MI", ",", "DL", ",", "get", "(", "", ")", ",", "DestLo", ")", ".", "addReg", "(", "SrcLo", ",", "getKillRegState", "(", "KillSrc", ")", ")", ";", "BuildMI", "(", "MBB", ",", "MI", ",", "DL", ",", "get", "(", "", ")", ",", "DestHi", ")", ".", "addReg", "(", "SrcHi", ",", "getKillRegState", "(", "KillSrc", ")", ")", ";", "}", "}", "else", "{", "if", "(", "", ".", "contains", "(", "DestReg", ",", "SrcReg", ")", ")", "{", "Opc", "=", "", ";", "}", "else", "if", "(", "SrcReg", "==", "", "&&", "", ".", "contains", "(", "DestReg", ")", ")", "{", "Opc", "=", "", ";"], "ground_truth": ["}", "else", "if", "(", "DestReg", "==", "", "&&", "", ".", "contains", "(", "SrcReg", ")", ")", "{"], "File": "AVRInstrInfo16", "Func": "copyPhysReg", "Target": "AVR", "Target_Clf": "MPU", "Compiler_Type": "LLVM", "Idx": 112855, "Length": 142, "Cover_Rate": 0.4329268292682927} {"Template_token": ["", "unsigned", "Opc", ";", "if", "(", "", ".", "contains", "(", "DestReg", ",", "SrcReg", ")", ")", "{", "if", "(", "STI", ".", "hasMOVW", "(", ")", ")", "{", "BuildMI", "(", "MBB", ",", "MI", ",", "DL", ",", "get", "(", "", ")", ",", "DestReg", ")", ".", "addReg", "(", "SrcReg", ",", "getKillRegState", "(", "KillSrc", ")", ")", ";", "}", "else", "{", "unsigned", "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": "AVRInstrInfo17", "Func": "copyPhysReg", "Target": "AVR", "Target_Clf": "MPU", "Compiler_Type": "LLVM", "Idx": 112856, "Length": 110, "Cover_Rate": 0.3470031545741325} {"Template_token": ["", "unsigned", "InstrInfo", "::", "insertBranch", "(", "MachineBasicBlock", "&", "MBB", ",", "MachineBasicBlock", "*", "TBB", ",", "MachineBasicBlock", "*", "FBB", ",", "ArrayRef", "<", "MachineOperand", ">", "Cond", ",", "const", "DebugLoc", "&", "DL", ",", "int", "*", "BytesAdded", ")", "const", "{", "assert", "(", "!", "BytesAdded", "&&", "", ")", ";", "assert", "(", "TBB", "&&", "", ")", ";", "assert", "(", "(", "Cond", ".", "size", "(", ")", "==", "", "||", "Cond", ".", "size", "(", ")", "==", "", ")", "&&", "", ")", ";", "if", "(", "Cond", ".", "empty", "(", ")", ")", "{", "assert", "(", "!", "FBB", "&&", "", ")", ";", "BuildMI", "(", "&", "MBB", ",", "DL", ",", "get", "(", "", ")", ")", ".", "addMBB", "(", "TBB", ")", ";", "return", "", ";"], "ground_truth": ["}"], "File": "AVRInstrInfo19", "Func": "insertBranch", "Target": "AVR", "Target_Clf": "MPU", "Compiler_Type": "LLVM", "Idx": 112857, "Length": 111, "Cover_Rate": 0.581151832460733} {"Template_token": ["", "assert", "(", "!", "BytesAdded", "&&", "", ")", ";", "assert", "(", "TBB", "&&", "", ")", ";", "assert", "(", "(", "Cond", ".", "size", "(", ")", "==", "", "||", "Cond", ".", "size", "(", ")", "==", "", ")", "&&", "", ")", ";", "if", "(", "Cond", ".", "empty", "(", ")", ")", "{", "assert", "(", "!", "FBB", "&&", "", ")", ";", "BuildMI", "(", "&", "MBB", ",", "DL", ",", "get", "(", "", ")", ")", ".", "addMBB", "(", "TBB", ")", ";", "return", "", ";", "}"], "ground_truth": ["unsigned", "Count", "=", "", ";"], "File": "AVRInstrInfo19", "Func": "insertBranch", "Target": "AVR", "Target_Clf": "MPU", "Compiler_Type": "LLVM", "Idx": 112858, "Length": 82, "Cover_Rate": 0.4293193717277487} {"Template_token": ["", "}", "if", "(", "I", "->", "getOpcode", "(", ")", "!=", "", "&&", "getCondFromBranchOpc", "(", "I", "->", "getOpcode", "(", ")", ")", "==", "", ")", "{", "break", ";", "}", "I", "->", "eraseFromParent", "(", ")", ";", "I", "=", "MBB", ".", "end", "(", ")", ";"], "ground_truth": ["++", "Count", ";"], "File": "AVRInstrInfo19", "Func": "removeBranch", "Target": "AVR", "Target_Clf": "MPU", "Compiler_Type": "LLVM", "Idx": 112859, "Length": 43, "Cover_Rate": 0.3706896551724138} {"Template_token": ["", "if", "(", "I", "->", "isDebugValue", "(", ")", ")", "{", "continue", ";", "}", "if", "(", "I", "->", "getOpcode", "(", ")", "!=", "", "&&", "getCondFromBranchOpc", "(", "I", "->", "getOpcode", "(", ")", ")", "==", "", ")", "{", "break", ";"], "ground_truth": ["}"], "File": "AVRInstrInfo19", "Func": "removeBranch", "Target": "AVR", "Target_Clf": "MPU", "Compiler_Type": "LLVM", "Idx": 112860, "Length": 37, "Cover_Rate": 0.31896551724137934} {"Template_token": ["", "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", ";", "}", "assert", "(", "Cond", ".", "size", "(", ")", "==", "", ")", ";", "assert", "(", "TBB", ")", ";", "if", "(", "TBB", "!=", "I", "->", "getOperand", "(", "", ")", ".", "getMBB", "(", ")", ")", "{", "return", "true", ";", "}", "", "OldBranchCode", "=", "(", "", ")", "Cond", "[", "", "]", ".", "getImm", "(", ")", ";"], "ground_truth": ["if", "(", "OldBranchCode", "==", "BranchCode", ")", "{"], "File": "AVRInstrInfo1", "Func": "analyzeBranch", "Target": "AVR", "Target_Clf": "MPU", "Compiler_Type": "LLVM", "Idx": 112861, "Length": 389, "Cover_Rate": 0.716390423572744} {"Template_token": ["", "void", "InstrInfo", "::", "copyPhysReg", "(", "MachineBasicBlock", "&", "MBB", ",", "MachineBasicBlock", "::", "iterator", "MI", ",", "const", "DebugLoc", "&", "DL", ",", "unsigned", "DestReg", ",", "unsigned", "SrcReg", ",", "bool", "KillSrc", ")", "const", "{", "unsigned", "Opc", ";", "if", "(", "", ".", "contains", "(", "DestReg", ",", "SrcReg", ")", ")", "{", "Opc", "=", "", ";"], "ground_truth": ["}", "else", "if", "(", "", ".", "contains", "(", "DestReg", ",", "SrcReg", ")", ")", "{"], "File": "AVRInstrInfo1", "Func": "copyPhysReg", "Target": "AVR", "Target_Clf": "MPU", "Compiler_Type": "LLVM", "Idx": 112862, "Length": 63, "Cover_Rate": 0.38650306748466257} {"Template_token": ["", "default", ":", "{", "const", "MCInstrDesc", "&", "Desc", "=", "get", "(", "Opcode", ")", ";", "return", "Desc", ".", "getSize", "(", ")", ";", "}", "case", "TargetOpcode", "::", "EH_LABEL", ":", "case", "TargetOpcode", "::", "IMPLICIT_DEF", ":", "case", "TargetOpcode", "::", "KILL", ":", "case", "TargetOpcode", "::", "DBG_VALUE", ":", "return", "", ";", "case", "TargetOpcode", "::", "INLINEASM", ":", "{", "const", "MachineFunction", "*", "MF", "=", "MI", "->", "getParent", "(", ")", "->", "getParent", "(", ")", ";", "const", "TargetMachine", "&", "TM", "=", "static_cast", "<", "const", "TargetMachine", "&", ">", "(", "MF", "->", "getTarget", "(", ")", ")", ";", "const", "TargetInstrInfo", "&", "TII", "=", "*", "TM", ".", "getSubtargetImpl", "(", ")", "->", "getInstrInfo", "(", ")", ";"], "ground_truth": ["return", "TII", ".", "getInlineAsmLength", "(", "MI", "->", "getOperand", "(", "", ")", ".", "getSymbolName", "(", ")", ",", "*", "TM", ".", "getMCAsmInfo", "(", ")", ")", ";"], "File": "AVRInstrInfo1", "Func": "getInstSizeInBytes", "Target": "AVR", "Target_Clf": "MPU", "Compiler_Type": "LLVM", "Idx": 112863, "Length": 124, "Cover_Rate": 0.8104575163398693} {"Template_token": ["", "const", "MachineFunction", "*", "MF", "=", "MI", "->", "getParent", "(", ")", "->", "getParent", "(", ")", ";", "const", "TargetMachine", "&", "TM", "=", "static_cast", "<", "const", "TargetMachine", "&", ">", "(", "MF", "->", "getTarget", "(", ")", ")", ";", "const", "TargetInstrInfo", "&", "TII", "=", "*", "TM", ".", "getSubtargetImpl", "(", ")", "->", "getInstrInfo", "(", ")", ";", "return", "TII", ".", "getInlineAsmLength", "(", "MI", "->", "getOperand", "(", "", ")", ".", "getSymbolName", "(", ")", ",", "*", "TM", ".", "getMCAsmInfo", "(", ")", ")", ";", "}"], "ground_truth": ["}"], "File": "AVRInstrInfo1", "Func": "getInstSizeInBytes", "Target": "AVR", "Target_Clf": "MPU", "Compiler_Type": "LLVM", "Idx": 112864, "Length": 76, "Cover_Rate": 0.49673202614379086} {"Template_token": ["", "}", "unsigned", "Count", "=", "", ";", "", "CC", "=", "(", "", ")", "Cond", "[", "", "]", ".", "getImm", "(", ")", ";", "BuildMI", "(", "&", "MBB", ",", "DL", ",", "getBrCond", "(", "CC", ")", ")", ".", "addMBB", "(", "TBB", ")", ";", "++", "Count", ";", "if", "(", "FBB", ")", "{", "BuildMI", "(", "&", "MBB", ",", "DL", ",", "get", "(", "", ")", ")", ".", "addMBB", "(", "FBB", ")", ";", "++", "Count", ";"], "ground_truth": ["}"], "File": "AVRInstrInfo1", "Func": "InsertBranch", "Target": "AVR", "Target_Clf": "MPU", "Compiler_Type": "LLVM", "Idx": 112865, "Length": 69, "Cover_Rate": 0.3854748603351955} {"Template_token": ["", "if", "(", "RC", "->", "hasType", "(", "", ")", ")", "{", "Opcode", "=", "", ";", "}", "else", "if", "(", "RC", "->", "hasType", "(", "", ")", ")", "{", "Opcode", "=", "", ";", "}", "else", "{", "llvm_unreachable", "(", "", ")", ";", "}"], "ground_truth": ["BuildMI", "(", "MBB", ",", "MI", ",", "DL", ",", "get", "(", "Opcode", ")", ",", "DestReg", ")", ".", "addFrameIndex", "(", "FrameIndex", ")", ".", "addImm", "(", "", ")", ".", "addMemOperand", "(", "MMO", ")", ";"], "File": "AVRInstrInfo1", "Func": "loadRegFromStackSlot", "Target": "AVR", "Target_Clf": "MPU", "Compiler_Type": "LLVM", "Idx": 112866, "Length": 70, "Cover_Rate": 0.3553299492385787} {"Template_token": ["", "MachineBasicBlock", "::", "iterator", "I", "=", "MBB", ".", "end", "(", ")", ";", "unsigned", "Count", "=", "", ";", "while", "(", "I", "!=", "MBB", ".", "begin", "(", ")", ")", "{", "--", "I", ";", "if", "(", "I", "->", "isDebugValue", "(", ")", ")", "{", "continue", ";", "}", "if", "(", "I", "->", "getOpcode", "(", ")", "!=", "", "&&", "getCondFromBranchOpc", "(", "I", "->", "getOpcode", "(", ")", ")", "==", "", ")", "{", "break", ";", "}", "I", "->", "eraseFromParent", "(", ")", ";", "I", "=", "MBB", ".", "end", "(", ")", ";", "++", "Count", ";"], "ground_truth": ["}"], "File": "AVRInstrInfo1", "Func": "RemoveBranch", "Target": "AVR", "Target_Clf": "MPU", "Compiler_Type": "LLVM", "Idx": 112867, "Length": 85, "Cover_Rate": 0.8173076923076923} {"Template_token": ["", "bool", "InstrInfo", "::", "ReverseBranchCondition", "(", "SmallVectorImpl", "<", "MachineOperand", ">", "&", "Cond", ")", "const", "{", "assert", "(", "Cond", ".", "size", "(", ")", "==", "", "&&", "", ")", ";", "", "CC", "=", "static_cast", "<", "", ">", "(", "Cond", "[", "", "]", ".", "getImm", "(", ")", ")", ";", "Cond", "[", "", "]", ".", "setImm", "(", "getOppositeCondition", "(", "CC", ")", ")", ";"], "ground_truth": ["return", "false", ";"], "File": "AVRInstrInfo1", "Func": "ReverseBranchCondition", "Target": "AVR", "Target_Clf": "MPU", "Compiler_Type": "LLVM", "Idx": 112868, "Length": 61, "Cover_Rate": 0.9242424242424242} {"Template_token": ["", "assert", "(", "Cond", ".", "size", "(", ")", "==", "", "&&", "", ")", ";", "", "CC", "=", "static_cast", "<", "", ">", "(", "Cond", "[", "", "]", ".", "getImm", "(", ")", ")", ";"], "ground_truth": ["Cond", "[", "", "]", ".", "setImm", "(", "getOppositeCondition", "(", "CC", ")", ")", ";"], "File": "AVRInstrInfo1", "Func": "ReverseBranchCondition", "Target": "AVR", "Target_Clf": "MPU", "Compiler_Type": "LLVM", "Idx": 112869, "Length": 44, "Cover_Rate": 0.6666666666666666} {"Template_token": ["", "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", ".", "getObjectAlignment", "(", "FrameIndex", ")", ")", ";", "unsigned", "Opcode", "=", "", ";", "if", "(", "RC", "->", "hasType", "(", "", ")", ")", "{", "Opcode", "=", "", ";"], "ground_truth": ["}", "else", "if", "(", "RC", "->", "hasType", "(", "", ")", ")", "{"], "File": "AVRInstrInfo1", "Func": "storeRegToStackSlot", "Target": "AVR", "Target_Clf": "MPU", "Compiler_Type": "LLVM", "Idx": 112870, "Length": 98, "Cover_Rate": 0.47115384615384615} {"Template_token": ["", "}", "if", "(", "I", "->", "getOpcode", "(", ")", "!=", "", "&&", "getCondFromBranchOpc", "(", "I", "->", "getOpcode", "(", ")", ")", "==", "", ")", "{", "break", ";", "}", "if", "(", "BytesRemoved", ")", "*", "BytesRemoved", "+=", "getInstSizeInBytes", "(", "*", "I", ")", ";", "I", "->", "eraseFromParent", "(", ")", ";"], "ground_truth": ["I", "=", "MBB", ".", "end", "(", ")", ";"], "File": "AVRInstrInfo20", "Func": "removeBranch", "Target": "AVR", "Target_Clf": "MPU", "Compiler_Type": "LLVM", "Idx": 112871, "Length": 53, "Cover_Rate": 0.4076923076923077} {"Template_token": ["", "UnCondBrIter", "=", "I", ";", "if", "(", "!", "AllowModify", ")", "{", "TBB", "=", "I", "->", "getOperand", "(", "", ")", ".", "getMBB", "(", ")", ";", "continue", ";", "}", "while", "(", "std", "::", "next", "(", "I", ")", "!=", "MBB", ".", "end", "(", ")", ")", "{", "std", "::", "next", "(", "I", ")", "->", "eraseFromParent", "(", ")", ";", "}", "Cond", ".", "clear", "(", ")", ";", "FBB", "=", "nullptr", ";", "if", "(", "MBB", ".", "isLayoutSuccessor", "(", "I", "->", "getOperand", "(", "", ")", ".", "getMBB", "(", ")", ")", ")", "{", "TBB", "=", "nullptr", ";", "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", ";"], "ground_truth": ["BuildMI", "(", "MBB", ",", "UnCondBrIter", ",", "MBB", ".", "findDebugLoc", "(", "I", ")", ",", "get", "(", "JNCC", ")", ")", ".", "addMBB", "(", "UnCondBrIter", "->", "getOperand", "(", "", ")", ".", "getMBB", "(", ")", ")", ";"], "File": "AVRInstrInfo21", "Func": "analyzeBranch", "Target": "AVR", "Target_Clf": "MPU", "Compiler_Type": "LLVM", "Idx": 112872, "Length": 254, "Cover_Rate": 0.4677716390423573} {"Template_token": ["", "continue", ";", "}", "while", "(", "std", "::", "next", "(", "I", ")", "!=", "MBB", ".", "end", "(", ")", ")", "{", "std", "::", "next", "(", "I", ")", "->", "eraseFromParent", "(", ")", ";", "}", "Cond", ".", "clear", "(", ")", ";", "FBB", "=", "nullptr", ";", "if", "(", "MBB", ".", "isLayoutSuccessor", "(", "I", "->", "getOperand", "(", "", ")", ".", "getMBB", "(", ")", ")", ")", "{", "TBB", "=", "nullptr", ";", "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", ";"], "ground_truth": ["}"], "File": "AVRInstrInfo21", "Func": "analyzeBranch", "Target": "AVR", "Target_Clf": "MPU", "Compiler_Type": "LLVM", "Idx": 112873, "Length": 286, "Cover_Rate": 0.5267034990791897} {"Template_token": ["", "BuildMI", "(", "&", "MBB", ",", "DL", ",", "get", "(", "", ")", ")", ".", "addMBB", "(", "&", "NewDestBB", ")", ";"], "ground_truth": ["}"], "File": "AVRInstrInfo21", "Func": "insertIndirectBranch", "Target": "AVR", "Target_Clf": "MPU", "Compiler_Type": "LLVM", "Idx": 112874, "Length": 20, "Cover_Rate": 0.37735849056603776} {"Template_token": ["", "BuildMI", "(", "&", "MBB", ",", "DL", ",", "get", "(", "", ")", ")", ".", "addMBB", "(", "&", "NewDestBB", ")", ";"], "ground_truth": ["}"], "File": "AVRInstrInfo21", "Func": "insertIndirectBranch", "Target": "AVR", "Target_Clf": "MPU", "Compiler_Type": "LLVM", "Idx": 112875, "Length": 20, "Cover_Rate": 0.37735849056603776} {"Template_token": ["", "}", "case", "TargetOpcode", "::", "EH_LABEL", ":", "case", "TargetOpcode", "::", "IMPLICIT_DEF", ":", "case", "TargetOpcode", "::", "KILL", ":", "case", "TargetOpcode", "::", "DBG_VALUE", ":", "return", "", ";", "case", "TargetOpcode", "::", "INLINEASM", ":", "{", "const", "MachineFunction", "*", "MF", "=", "MI", ".", "getParent", "(", ")", "->", "getParent", "(", ")", ";", "const", "TargetMachine", "&", "TM", "=", "static_cast", "<", "const", "TargetMachine", "&", ">", "(", "MF", "->", "getTarget", "(", ")", ")", ";", "const", "TargetInstrInfo", "&", "TII", "=", "*", "TM", ".", "getSubtargetImpl", "(", ")", "->", "getInstrInfo", "(", ")", ";", "return", "TII", ".", "getInlineAsmLength", "(", "MI", ".", "getOperand", "(", "", ")", ".", "getSymbolName", "(", ")", ",", "*", "TM", ".", "getMCAsmInfo", "(", ")", ")", ";", "}", "}"], "ground_truth": ["}"], "File": "AVRInstrInfo23", "Func": "getInstSizeInBytes", "Target": "AVR", "Target_Clf": "MPU", "Compiler_Type": "LLVM", "Idx": 112876, "Length": 107, "Cover_Rate": 0.6993464052287581} {"Template_token": ["", "bool", "InstrInfo", "::", "isBranchOffsetInRange", "(", "unsigned", "BranchOp", ",", "int64_t", "BrOffset", ")", "const", "{", "switch", "(", "BranchOp", ")", "{", "default", ":", "llvm_unreachable", "(", "", ")", ";", "case", "", ":", "case", "", ":"], "ground_truth": ["assert", "(", "BrOffset", ">=", "", "&&", "", ")", ";"], "File": "AVRInstrInfo6", "Func": "isBranchOffsetInRange", "Target": "AVR", "Target_Clf": "MPU", "Compiler_Type": "LLVM", "Idx": 112877, "Length": 40, "Cover_Rate": 0.3076923076923077} {"Template_token": ["", "BuildMI", "(", "&", "MBB", ",", "DL", ",", "get", "(", "", ")", ")", ".", "addMBB", "(", "&", "NewDestBB", ")", ";", "return", ";"], "ground_truth": ["}"], "File": "AVRInstrInfo7", "Func": "insertIndirectBranch", "Target": "AVR", "Target_Clf": "MPU", "Compiler_Type": "LLVM", "Idx": 112878, "Length": 22, "Cover_Rate": 0.4} {"Template_token": ["", "void", "InstrInfo", "::", "insertIndirectBranch", "(", "MachineBasicBlock", "&", "MBB", ",", "MachineBasicBlock", "&", "NewDestBB", ",", "MachineBasicBlock", "&", "RestoreBB", ",", "const", "DebugLoc", "&", "DL", ",", "int64_t", "BrOffset", ",", "RegScavenger", "*", "RS", ")", "const", "{", "BuildMI", "(", "&", "MBB", ",", "DL", ",", "get", "(", "", ")", ")", ".", "addMBB", "(", "&", "NewDestBB", ")", ";"], "ground_truth": ["return", ";"], "File": "AVRInstrInfo7", "Func": "insertIndirectBranch", "Target": "AVR", "Target_Clf": "MPU", "Compiler_Type": "LLVM", "Idx": 112879, "Length": 52, "Cover_Rate": 0.9454545454545454} {"Template_token": ["", "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", ";", "}", "assert", "(", "Cond", ".", "size", "(", ")", "==", "", ")", ";", "assert", "(", "TBB", ")", ";", "if", "(", "TBB", "!=", "I", "->", "getOperand", "(", "", ")", ".", "getMBB", "(", ")", ")", "{"], "ground_truth": ["return", "true", ";"], "File": "AVRInstrInfo", "Func": "analyzeBranch", "Target": "AVR", "Target_Clf": "MPU", "Compiler_Type": "LLVM", "Idx": 112880, "Length": 181, "Cover_Rate": 0.3333333333333333} {"Template_token": ["", "}", "", "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", ";", "}", "assert", "(", "Cond", ".", "size", "(", ")", "==", "", ")", ";", "assert", "(", "TBB", ")", ";", "if", "(", "TBB", "!=", "I", "->", "getOperand", "(", "", ")", ".", "getMBB", "(", ")", ")", "{", "return", "true", ";", "}", "", "OldBranchCode", "=", "(", "", ")", "Cond", "[", "", "]", ".", "getImm", "(", ")", ";", "if", "(", "OldBranchCode", "==", "BranchCode", ")", "{", "continue", ";", "}", "return", "true", ";", "}"], "ground_truth": ["return", "false", ";"], "File": "AVRInstrInfo", "Func": "analyzeBranch", "Target": "AVR", "Target_Clf": "MPU", "Compiler_Type": "LLVM", "Idx": 112881, "Length": 282, "Cover_Rate": 0.5193370165745856} {"Template_token": ["", "InstrInfo", "::", "InstrInfo", "(", ")", ":", "GenInstrInfo", "(", "", ",", "", ")", ",", "RI", "(", ")", "{"], "ground_truth": ["}"], "File": "AVRInstrInfo", "Func": "AVRInstrInfo", "Target": "AVR", "Target_Clf": "MPU", "Compiler_Type": "LLVM", "Idx": 112882, "Length": 18, "Cover_Rate": 0.8181818181818182} {"Template_token": ["", "InstrInfo", "::", "InstrInfo", "(", ")", ":", "GenInstrInfo", "(", "", ",", "", ")", ",", "RI", "(", ")", "{"], "ground_truth": ["}"], "File": "AVRInstrInfo", "Func": "AVRInstrInfo", "Target": "AVR", "Target_Clf": "MPU", "Compiler_Type": "LLVM", "Idx": 112883, "Length": 18, "Cover_Rate": 0.8181818181818182} {"Template_token": ["", "const", "RegisterInfo", "&", "TRI", "=", "*", "STI", ".", "getRegisterInfo", "(", ")", ";", "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", ")", ";", "BuildMI", "(", "MBB", ",", "MI", ",", "DL", ",", "get", "(", "", ")", ",", "DestLo", ")", ".", "addReg", "(", "SrcLo", ",", "getKillRegState", "(", "KillSrc", ")", ")", ";", "BuildMI", "(", "MBB", ",", "MI", ",", "DL", ",", "get", "(", "", ")", ",", "DestHi", ")", ".", "addReg", "(", "SrcHi", ",", "getKillRegState", "(", "KillSrc", ")", ")", ";", "}", "}", "else", "{"], "ground_truth": ["if", "(", "", ".", "contains", "(", "DestReg", ",", "SrcReg", ")", ")", "{"], "File": "AVRInstrInfo", "Func": "copyPhysReg", "Target": "AVR", "Target_Clf": "MPU", "Compiler_Type": "LLVM", "Idx": 112884, "Length": 173, "Cover_Rate": 0.5274390243902439} {"Template_token": ["", "case", "", ":", "case", "", ":", "case", "", ":", "case", "", ":", "case", "", ":", "case", "", ":", "case", "", ":", "case", "", ":", "case", "", ":", "case", "", ":", "return", "MI", ".", "getOperand", "(", "", ")", ".", "getMBB", "(", ")", ";", "case", "", ":"], "ground_truth": ["case", "", ":"], "File": "AVRInstrInfo", "Func": "getBranchDestBlock", "Target": "AVR", "Target_Clf": "MPU", "Compiler_Type": "LLVM", "Idx": 112885, "Length": 48, "Cover_Rate": 0.32} {"Template_token": ["", "case", "", ":", "case", "", ":", "case", "", ":", "return", "MI", ".", "getOperand", "(", "", ")", ".", "getMBB", "(", ")", ";", "case", "", ":", "case", "", ":", "return", "MI", ".", "getOperand", "(", "", ")", ".", "getMBB", "(", ")", ";", "case", "", ":", "case", "", ":", "case", "", ":", "case", "", ":", "llvm_unreachable", "(", "", ")", ";", "}"], "ground_truth": ["}"], "File": "AVRInstrInfo", "Func": "getBranchDestBlock", "Target": "AVR", "Target_Clf": "MPU", "Compiler_Type": "LLVM", "Idx": 112886, "Length": 58, "Cover_Rate": 0.38666666666666666} {"Template_token": ["", "return", "get", "(", "", ")", ";", "case", "", ":", "return", "get", "(", "", ")", ";", "case", "", ":", "return", "get", "(", "", ")", ";", "case", "", ":", "return", "get", "(", "", ")", ";", "case", "", ":", "return", "get", "(", "", ")", ";", "case", "", ":", "return", "get", "(", "", ")", ";", "case", "", ":"], "ground_truth": ["return", "get", "(", "", ")", ";"], "File": "AVRInstrInfo", "Func": "getBrCond", "Target": "AVR", "Target_Clf": "MPU", "Compiler_Type": "LLVM", "Idx": 112887, "Length": 60, "Cover_Rate": 0.45454545454545453} {"Template_token": ["", "case", "", ":", "return", "", ";", "case", "", ":", "return", "", ";", "case", "", ":", "return", "", ";", "case", "", ":", "return", "", ";", "case", "", ":", "return", "", ";", "case", "", ":", "return", "", ";", "case", "", ":", "return", "", ";", "case", "", ":"], "ground_truth": ["return", "", ";"], "File": "AVRInstrInfo", "Func": "getCondFromBranchOpc", "Target": "AVR", "Target_Clf": "MPU", "Compiler_Type": "LLVM", "Idx": 112888, "Length": 48, "Cover_Rate": 0.4528301886792453} {"Template_token": ["", "unsigned", "InstrInfo", "::", "getInstSizeInBytes", "(", "const", "MachineInstr", "&", "MI", ")", "const", "{", "unsigned", "Opcode", "=", "MI", ".", "getOpcode", "(", ")", ";", "switch", "(", "Opcode", ")", "{", "default", ":", "{", "const", "MCInstrDesc", "&", "Desc", "=", "get", "(", "Opcode", ")", ";", "return", "Desc", ".", "getSize", "(", ")", ";", "}", "case", "TargetOpcode", "::", "EH_LABEL", ":", "case", "TargetOpcode", "::", "IMPLICIT_DEF", ":", "case", "TargetOpcode", "::", "KILL", ":", "case", "TargetOpcode", "::", "DBG_VALUE", ":", "return", "", ";", "case", "TargetOpcode", "::", "INLINEASM", ":", "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": "AVRInstrInfo", "Func": "getInstSizeInBytes", "Target": "AVR", "Target_Clf": "MPU", "Compiler_Type": "LLVM", "Idx": 112889, "Length": 166, "Cover_Rate": 0.9822485207100592} {"Template_token": ["", "unsigned", "InstrInfo", "::", "getInstSizeInBytes", "(", "const", "MachineInstr", "&", "MI", ")", "const", "{", "unsigned", "Opcode", "=", "MI", ".", "getOpcode", "(", ")", ";", "switch", "(", "Opcode", ")", "{", "default", ":", "{", "const", "MCInstrDesc", "&", "Desc", "=", "get", "(", "Opcode", ")", ";", "return", "Desc", ".", "getSize", "(", ")", ";", "}", "case", "TargetOpcode", "::", "EH_LABEL", ":", "case", "TargetOpcode", "::", "IMPLICIT_DEF", ":", "case", "TargetOpcode", "::", "KILL", ":", "case", "TargetOpcode", "::", "DBG_VALUE", ":", "return", "", ";", "case", "TargetOpcode", "::", "INLINEASM", ":", "case", "TargetOpcode", "::", "INLINEASM_BR", ":", "{"], "ground_truth": ["const", "MachineFunction", "&", "MF", "=", "*", "MI", ".", "getParent", "(", ")", "->", "getParent", "(", ")", ";"], "File": "AVRInstrInfo", "Func": "getInstSizeInBytes", "Target": "AVR", "Target_Clf": "MPU", "Compiler_Type": "LLVM", "Idx": 112890, "Length": 97, "Cover_Rate": 0.5739644970414202} {"Template_token": ["", "switch", "(", "CC", ")", "{", "default", ":", "llvm_unreachable", "(", "", ")", ";", "case", "", ":", "return", "", ";", "case", "", ":", "return", "", ";", "case", "", ":", "return", "", ";", "case", "", ":", "return", "", ";", "case", "", ":", "return", "", ";", "case", "", ":", "return", "", ";", "case", "", ":", "return", "", ";", "case", "", ":", "return", "", ";"], "ground_truth": ["}"], "File": "AVRInstrInfo", "Func": "getOppositeCondition", "Target": "AVR", "Target_Clf": "MPU", "Compiler_Type": "LLVM", "Idx": 112891, "Length": 61, "Cover_Rate": 0.5648148148148148} {"Template_token": ["", "return", "RI", ";"], "ground_truth": ["}"], "File": "AVRInstrInfo", "Func": "getRegisterInfo", "Target": "AVR", "Target_Clf": "MPU", "Compiler_Type": "LLVM", "Idx": 112892, "Length": 4, "Cover_Rate": 0.3333333333333333} {"Template_token": ["", "return", "RI", ";"], "ground_truth": ["}"], "File": "AVRInstrInfo", "Func": "getRegisterInfo", "Target": "AVR", "Target_Clf": "MPU", "Compiler_Type": "LLVM", "Idx": 112893, "Length": 4, "Cover_Rate": 0.3333333333333333} {"Template_token": ["", "if", "(", "BytesAdded", ")", "*", "BytesAdded", "=", "", ";", "assert", "(", "TBB", "&&", "", ")", ";", "assert", "(", "(", "Cond", ".", "size", "(", ")", "==", "", "||", "Cond", ".", "size", "(", ")", "==", "", ")", "&&", "", ")", ";", "if", "(", "Cond", ".", "empty", "(", ")", ")", "{", "assert", "(", "!", "FBB", "&&", "", ")", ";", "auto", "&", "MI", "=", "*", "BuildMI", "(", "&", "MBB", ",", "DL", ",", "get", "(", "", ")", ")", ".", "addMBB", "(", "TBB", ")", ";", "if", "(", "BytesAdded", ")", "*", "BytesAdded", "+=", "getInstSizeInBytes", "(", "MI", ")", ";", "return", "", ";"], "ground_truth": ["}"], "File": "AVRInstrInfo", "Func": "insertBranch", "Target": "AVR", "Target_Clf": "MPU", "Compiler_Type": "LLVM", "Idx": 112894, "Length": 95, "Cover_Rate": 0.39094650205761317} {"Template_token": ["", "auto", "&", "MI", "=", "*", "BuildMI", "(", "&", "MBB", ",", "DL", ",", "get", "(", "", ")", ")", ".", "addMBB", "(", "&", "NewDestBB", ")", ";"], "ground_truth": ["return", "getInstSizeInBytes", "(", "MI", ")", ";"], "File": "AVRInstrInfo", "Func": "insertIndirectBranch", "Target": "AVR", "Target_Clf": "MPU", "Compiler_Type": "LLVM", "Idx": 112895, "Length": 30, "Cover_Rate": 0.5} {"Template_token": ["", "auto", "&", "MI", "=", "*", "BuildMI", "(", "&", "MBB", ",", "DL", ",", "get", "(", "", ")", ")", ".", "addMBB", "(", "&", "NewDestBB", ")", ";"], "ground_truth": ["return", "getInstSizeInBytes", "(", "MI", ")", ";"], "File": "AVRInstrInfo", "Func": "insertIndirectBranch", "Target": "AVR", "Target_Clf": "MPU", "Compiler_Type": "LLVM", "Idx": 112896, "Length": 30, "Cover_Rate": 0.5} {"Template_token": ["", "case", "", ":", "return", "true", ";", "case", "", ":", "case", "", ":", "return", "isIntN", "(", "", ",", "BrOffset", ")", ";", "case", "", ":", "case", "", ":", "case", "", ":", "case", "", ":", "case", "", ":"], "ground_truth": ["case", "", ":"], "File": "AVRInstrInfo", "Func": "isBranchOffsetInRange", "Target": "AVR", "Target_Clf": "MPU", "Compiler_Type": "LLVM", "Idx": 112897, "Length": 38, "Cover_Rate": 0.3275862068965517} {"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", "", ":"], "ground_truth": ["case", "", ":"], "File": "AVRInstrInfo", "Func": "isBranchOffsetInRange", "Target": "AVR", "Target_Clf": "MPU", "Compiler_Type": "LLVM", "Idx": 112898, "Length": 69, "Cover_Rate": 0.5948275862068966} {"Template_token": ["", "case", "", ":", "{", "if", "(", "MI", ".", "getOperand", "(", "", ")", ".", "isFI", "(", ")", "&&", "MI", ".", "getOperand", "(", "", ")", ".", "isImm", "(", ")", "&&", "MI", ".", "getOperand", "(", "", ")", ".", "getImm", "(", ")", "==", "", ")", "{", "FrameIndex", "=", "MI", ".", "getOperand", "(", "", ")", ".", "getIndex", "(", ")", ";", "return", "MI", ".", "getOperand", "(", "", ")", ".", "getReg", "(", ")", ";", "}", "break", ";", "}"], "ground_truth": ["default", ":"], "File": "AVRInstrInfo", "Func": "isLoadFromStackSlot", "Target": "AVR", "Target_Clf": "MPU", "Compiler_Type": "LLVM", "Idx": 112899, "Length": 73, "Cover_Rate": 0.6517857142857143} {"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": "AVRInstrInfo", "Func": "isLoadFromStackSlot", "Target": "AVR", "Target_Clf": "MPU", "Compiler_Type": "LLVM", "Idx": 112900, "Length": 70, "Cover_Rate": 0.625} {"Template_token": ["", "case", "", ":", "case", "", ":", "{"], "ground_truth": ["if", "(", "MI", ".", "getOperand", "(", "", ")", ".", "isFI", "(", ")", "&&", "MI", ".", "getOperand", "(", "", ")", ".", "isImm", "(", ")", "&&", "MI", ".", "getOperand", "(", "", ")", ".", "getImm", "(", ")", "==", "", ")", "{"], "File": "AVRInstrInfo", "Func": "isStoreToStackSlot", "Target": "AVR", "Target_Clf": "MPU", "Compiler_Type": "LLVM", "Idx": 112901, "Length": 45, "Cover_Rate": 0.4017857142857143} {"Template_token": ["", "if", "(", "MI", "!=", "MBB", ".", "end", "(", ")", ")", "{", "DL", "=", "MI", "->", "getDebugLoc", "(", ")", ";", "}", "MachineFunction", "&", "MF", "=", "*", "MBB", ".", "getParent", "(", ")", ";", "const", "MachineFrameInfo", "&", "MFI", "=", "MF", ".", "getFrameInfo", "(", ")", ";", "MachineMemOperand", "*", "MMO", "=", "MF", ".", "getMachineMemOperand", "(", "MachinePointerInfo", "::", "getFixedStack", "(", "MF", ",", "FrameIndex", ")", ",", "MachineMemOperand", "::", "MOLoad", ",", "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": "AVRInstrInfo", "Func": "loadRegFromStackSlot", "Target": "AVR", "Target_Clf": "MPU", "Compiler_Type": "LLVM", "Idx": 112902, "Length": 127, "Cover_Rate": 0.625615763546798} {"Template_token": ["", "unsigned", "InstrInfo", "::", "removeBranch", "(", "MachineBasicBlock", "&", "MBB", ",", "int", "*", "BytesRemoved", ")", "const", "{", "if", "(", "BytesRemoved", ")", "*", "BytesRemoved", "=", "", ";", "MachineBasicBlock", "::", "iterator", "I", "=", "MBB", ".", "end", "(", ")", ";", "unsigned", "Count", "=", "", ";", "while", "(", "I", "!=", "MBB", ".", "begin", "(", ")", ")", "{", "--", "I", ";", "if", "(", "I", "->", "isDebugInstr", "(", ")", ")", "{"], "ground_truth": ["continue", ";"], "File": "AVRInstrInfo", "Func": "removeBranch", "Target": "AVR", "Target_Clf": "MPU", "Compiler_Type": "LLVM", "Idx": 112903, "Length": 65, "Cover_Rate": 0.5} {"Template_token": ["", "continue", ";", "}", "if", "(", "I", "->", "getOpcode", "(", ")", "!=", "", "&&", "getCondFromBranchOpc", "(", "I", "->", "getOpcode", "(", ")", ")", "==", "", ")", "{", "break", ";", "}", "if", "(", "BytesRemoved", ")", "*", "BytesRemoved", "+=", "getInstSizeInBytes", "(", "*", "I", ")", ";", "I", "->", "eraseFromParent", "(", ")", ";", "I", "=", "MBB", ".", "end", "(", ")", ";"], "ground_truth": ["++", "Count", ";"], "File": "AVRInstrInfo", "Func": "removeBranch", "Target": "AVR", "Target_Clf": "MPU", "Compiler_Type": "LLVM", "Idx": 112904, "Length": 58, "Cover_Rate": 0.4461538461538462} {"Template_token": ["", "", "CC", "=", "static_cast", "<", "", ">", "(", "Cond", "[", "", "]", ".", "getImm", "(", ")", ")", ";", "Cond", "[", "", "]", ".", "setImm", "(", "getOppositeCondition", "(", "CC", ")", ")", ";"], "ground_truth": ["return", "false", ";"], "File": "AVRInstrInfo", "Func": "reverseBranchCondition", "Target": "AVR", "Target_Clf": "MPU", "Compiler_Type": "LLVM", "Idx": 112905, "Length": 34, "Cover_Rate": 0.5151515151515151} {"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", "=", "", ";"], "ground_truth": ["}", "else", "{"], "File": "AVRInstrInfo", "Func": "storeRegToStackSlot", "Target": "AVR", "Target_Clf": "MPU", "Compiler_Type": "LLVM", "Idx": 112906, "Length": 180, "Cover_Rate": 0.7692307692307693} {"Template_token": ["", "Constant", "*", "Fn", "=", "F", ".", "getParent", "(", ")", "->", "getOrInsertFunction", "(", "SymName", ",", "FnType", ")", ";", "Value", "*", "FunctionName", "=", "CreateStringPtr", "(", "BB", ",", "F", ".", "getName", "(", ")", ")", ";", "Value", "*", "Args", "[", "]", "=", "{", "FunctionName", ",", "ConstantInt", "::", "get", "(", "I16", ",", "F", ".", "arg_size", "(", ")", ")", "}", ";", "CallInst", "::", "Create", "(", "Fn", ",", "Args", ",", "", ",", "&", "BB", ")", ";"], "ground_truth": ["}"], "File": "AVRInstrumentFunctions1", "Func": "BuildSignatureCall", "Target": "AVR", "Target_Clf": "MPU", "Compiler_Type": "LLVM", "Idx": 112907, "Length": 70, "Cover_Rate": 0.5147058823529411} {"Template_token": ["", "Value", "*", "FunctionName", "=", "CreateStringPtr", "(", "BB", ",", "F", ".", "getName", "(", ")", ")", ";", "Value", "*", "Args", "[", "]", "=", "{", "FunctionName", ",", "ConstantInt", "::", "get", "(", "I16", ",", "F", ".", "arg_size", "(", ")", ")", "}", ";", "CallInst", "::", "Create", "(", "Fn", ",", "Args", ",", "", ",", "&", "BB", ")", ";"], "ground_truth": ["}"], "File": "AVRInstrumentFunctions1", "Func": "BuildSignatureCall", "Target": "AVR", "Target_Clf": "MPU", "Compiler_Type": "LLVM", "Idx": 112908, "Length": 53, "Cover_Rate": 0.3897058823529412} {"Template_token": ["", "InstrumentFunctions", "(", ")", ":", "FunctionPass", "(", "ID", ")", "{"], "ground_truth": ["initializeInstrumentFunctionsPass", "(", "*", "PassRegistry", "::", "getPassRegistry", "(", ")", ")", ";"], "File": "AVRInstrumentFunctions", "Func": "AVRInstrumentFunctions", "Target": "AVR", "Target_Clf": "MPU", "Compiler_Type": "LLVM", "Idx": 112909, "Length": 19, "Cover_Rate": 0.95} {"Template_token": ["", "initializeInstrumentFunctionsPass", "(", "*", "PassRegistry", "::", "getPassRegistry", "(", ")", ")", ";"], "ground_truth": ["}"], "File": "AVRInstrumentFunctions", "Func": "AVRInstrumentFunctions", "Target": "AVR", "Target_Clf": "MPU", "Compiler_Type": "LLVM", "Idx": 112910, "Length": 11, "Cover_Rate": 0.55} {"Template_token": ["", "Type", "*", "I8", "=", "Type", "::", "getInt8Ty", "(", "Ctx", ")", ";", "FunctionType", "*", "FnType", "=", "FunctionType", "::", "get", "(", "Type", "::", "getVoidTy", "(", "Ctx", ")", ",", "{", "Type", "::", "getInt8PtrTy", "(", "Ctx", ")", ",", "I8", ",", "Arg", ".", "getType", "(", ")", "}", ",", "false", ")", ";", "Constant", "*", "Fn", "=", "F", ".", "getParent", "(", ")", "->", "getOrInsertFunction", "(", "GetArgumentSymbolName", "(", "Arg", ")", ",", "FnType", ")", ";", "Value", "*", "ArgName", "=", "CreateStringPtr", "(", "BB", ",", "Arg", ".", "getName", "(", ")", ")", ";", "Value", "*", "Args", "[", "]", "=", "{", "ArgName", ",", "ConstantInt", "::", "get", "(", "I8", ",", "Arg", ".", "getArgNo", "(", ")", ")", ",", "&", "Arg", "}", ";", "CallInst", "::", "Create", "(", "Fn", ",", "Args", ",", "", ",", "&", "BB", ")", ";"], "ground_truth": ["}"], "File": "AVRInstrumentFunctions", "Func": "BuildArgument", "Target": "AVR", "Target_Clf": "MPU", "Compiler_Type": "LLVM", "Idx": 112911, "Length": 122, "Cover_Rate": 0.782051282051282} {"Template_token": ["", "static", "void", "BuildBeginSignature", "(", "BasicBlock", "&", "BB", ",", "Function", "&", "F", ")", "{", "return", "BuildSignatureCall", "(", "", ",", "BB", ",", "F", ")", ";"], "ground_truth": ["}"], "File": "AVRInstrumentFunctions", "Func": "BuildBeginSignature", "Target": "AVR", "Target_Clf": "MPU", "Compiler_Type": "LLVM", "Idx": 112912, "Length": 24, "Cover_Rate": 0.9230769230769231} {"Template_token": ["", "return", "BuildSignatureCall", "(", "", ",", "BB", ",", "F", ")", ";"], "ground_truth": ["}"], "File": "AVRInstrumentFunctions", "Func": "BuildEndSignature", "Target": "AVR", "Target_Clf": "MPU", "Compiler_Type": "LLVM", "Idx": 112914, "Length": 11, "Cover_Rate": 0.4230769230769231} {"Template_token": ["", "static", "void", "BuildEntryBlock", "(", "Function", "&", "F", ")", "{", "BasicBlock", "&", "EntryBlock", "=", "F", ".", "getEntryBlock", "(", ")", ";", "BasicBlock", "*", "BB", "=", "BasicBlock", "::", "Create", "(", "F", ".", "getContext", "(", ")", ",", "", ",", "&", "F", ",", "&", "EntryBlock", ")", ";", "BuildSignature", "(", "*", "BB", ",", "F", ")", ";"], "ground_truth": ["BranchInst", "::", "Create", "(", "&", "EntryBlock", ",", "BB", ")", ";"], "File": "AVRInstrumentFunctions", "Func": "BuildEntryBlock", "Target": "AVR", "Target_Clf": "MPU", "Compiler_Type": "LLVM", "Idx": 112916, "Length": 60, "Cover_Rate": 0.9836065573770492} {"Template_token": ["", "static", "void", "BuildEntryBlock", "(", "Function", "&", "F", ")", "{", "BasicBlock", "&", "EntryBlock", "=", "F", ".", "getEntryBlock", "(", ")", ";", "BasicBlock", "*", "BB", "=", "BasicBlock", "::", "Create", "(", "F", ".", "getContext", "(", ")", ",", "", ",", "&", "F", ",", "&", "EntryBlock", ")", ";", "BuildSignature", "(", "*", "BB", ",", "F", ")", ";"], "ground_truth": ["BranchInst", "::", "Create", "(", "&", "EntryBlock", ",", "BB", ")", ";"], "File": "AVRInstrumentFunctions", "Func": "BuildEntryBlock", "Target": "AVR", "Target_Clf": "MPU", "Compiler_Type": "LLVM", "Idx": 112917, "Length": 60, "Cover_Rate": 0.9836065573770492} {"Template_token": ["", "Function", "&", "F", "=", "*", "I", ".", "getParent", "(", ")", "->", "getParent", "(", ")", ";", "LLVMContext", "&", "Ctx", "=", "F", ".", "getContext", "(", ")", ";", "if", "(", "auto", "*", "Ret", "=", "dyn_cast", "<", "ReturnInst", ">", "(", "&", "I", ")", ")", "{", "Value", "*", "RetVal", "=", "Ret", "->", "getReturnValue", "(", ")", ";", "assert", "(", "RetVal", "&&", "", ")", ";", "FunctionType", "*", "FnType", "=", "FunctionType", "::", "get", "(", "Type", "::", "getVoidTy", "(", "Ctx", ")", ",", "{", "RetVal", "->", "getType", "(", ")", "}", ",", "false", ")", ";", "Constant", "*", "Fn", "=", "F", ".", "getParent", "(", ")", "->", "getOrInsertFunction", "(", "GetReturnSymbolName", "(", "*", "RetVal", ")", ",", "FnType", ")", ";"], "ground_truth": ["CallInst", "::", "Create", "(", "Fn", ",", "{", "RetVal", "}", ",", "", ",", "&", "I", ")", ";"], "File": "AVRInstrumentFunctions", "Func": "BuildExitHook", "Target": "AVR", "Target_Clf": "MPU", "Compiler_Type": "LLVM", "Idx": 112918, "Length": 121, "Cover_Rate": 0.9166666666666666} {"Template_token": ["", "static", "void", "BuildExitHooks", "(", "Function", "&", "F", ")", "{", "for", "(", "BasicBlock", "&", "BB", ":", "F", ")", "{", "auto", "BBI", "=", "BB", ".", "begin", "(", ")", ",", "E", "=", "BB", ".", "end", "(", ")", ";", "while", "(", "BBI", "!=", "E", ")", "{", "auto", "NBBI", "=", "std", "::", "next", "(", "BBI", ")", ";", "BuildExitHook", "(", "*", "BBI", ")", ";", "BBI", "=", "NBBI", ";"], "ground_truth": ["}"], "File": "AVRInstrumentFunctions", "Func": "BuildExitHooks", "Target": "AVR", "Target_Clf": "MPU", "Compiler_Type": "LLVM", "Idx": 112919, "Length": 63, "Cover_Rate": 0.9692307692307692} {"Template_token": ["", "BuildBeginSignature", "(", "BB", ",", "F", ")", ";", "for", "(", "Argument", "&", "Arg", ":", "F", ".", "args", "(", ")", ")", "{"], "ground_truth": ["BuildArgument", "(", "BB", ",", "Arg", ")", ";"], "File": "AVRInstrumentFunctions", "Func": "BuildSignature", "Target": "AVR", "Target_Clf": "MPU", "Compiler_Type": "LLVM", "Idx": 112920, "Length": 27, "Cover_Rate": 0.5510204081632653} {"Template_token": ["", "static", "void", "BuildSignature", "(", "BasicBlock", "&", "BB", ",", "Function", "&", "F", ")", "{", "BuildBeginSignature", "(", "BB", ",", "F", ")", ";", "for", "(", "Argument", "&", "Arg", ":", "F", ".", "args", "(", ")", ")", "{", "BuildArgument", "(", "BB", ",", "Arg", ")", ";"], "ground_truth": ["}"], "File": "AVRInstrumentFunctions", "Func": "BuildSignature", "Target": "AVR", "Target_Clf": "MPU", "Compiler_Type": "LLVM", "Idx": 112921, "Length": 41, "Cover_Rate": 0.8367346938775511} {"Template_token": ["", "static", "void", "BuildSignatureCall", "(", "StringRef", "SymName", ",", "BasicBlock", "&", "BB", ",", "Function", "&", "F", ")", "{", "LLVMContext", "&", "Ctx", "=", "F", ".", "getContext", "(", ")", ";", "IntegerType", "*", "I16", "=", "Type", "::", "getInt16Ty", "(", "Ctx", ")", ";", "FunctionType", "*", "FnType", "=", "FunctionType", "::", "get", "(", "Type", "::", "getVoidTy", "(", "Ctx", ")", ",", "{", "Type", "::", "getInt8PtrTy", "(", "Ctx", ")", ",", "I16", "}", ",", "false", ")", ";"], "ground_truth": ["Constant", "*", "Fn", "=", "F", ".", "getParent", "(", ")", "->", "getOrInsertFunction", "(", "SymName", ",", "FnType", ")", ";"], "File": "AVRInstrumentFunctions", "Func": "BuildSignatureCall", "Target": "AVR", "Target_Clf": "MPU", "Compiler_Type": "LLVM", "Idx": 112922, "Length": 83, "Cover_Rate": 0.5928571428571429} {"Template_token": ["", "Constant", "*", "Fn", "=", "F", ".", "getParent", "(", ")", "->", "getOrInsertFunction", "(", "SymName", ",", "FnType", ")", ";", "Value", "*", "FunctionName", "=", "CreateStringPtr", "(", "BB", ",", "F", ".", "getName", "(", ")", ")", ";", "Value", "*", "Args", "[", "]", "=", "{", "FunctionName", ",", "ConstantInt", "::", "get", "(", "I16", ",", "F", ".", "getArgumentList", "(", ")", ".", "size", "(", ")", ")", "}", ";"], "ground_truth": ["CallInst", "::", "Create", "(", "Fn", ",", "Args", ",", "", ",", "&", "BB", ")", ";"], "File": "AVRInstrumentFunctions", "Func": "BuildSignatureCall", "Target": "AVR", "Target_Clf": "MPU", "Compiler_Type": "LLVM", "Idx": 112923, "Length": 73, "Cover_Rate": 0.5214285714285715} {"Template_token": ["", "FunctionPass", "*", "createInstrumentFunctionsPass", "(", ")", "{", "return", "new", "InstrumentFunctions", "(", ")", ";"], "ground_truth": ["}"], "File": "AVRInstrumentFunctions", "Func": "createAVRInstrumentFunctionsPass", "Target": "AVR", "Target_Clf": "MPU", "Compiler_Type": "LLVM", "Idx": 112925, "Length": 13, "Cover_Rate": 1.0} {"Template_token": ["", "Constant", "*", "ConstantStr", "=", "", "(", "Ctx", ",", "Str", ")", ";", "GlobalVariable", "*", "GlobalStr", "=", "new", "GlobalVariable", "(", "*", "BB", ".", "getParent", "(", ")", "->", "getParent", "(", ")", ",", "ConstantStr", "->", "getType", "(", ")", ",", "true", ",", "GlobalValue", "::", "PrivateLinkage", ",", "ConstantStr", ")", ";", "return", "GetElementPtrInst", "::", "CreateInBounds", "(", "GlobalStr", ",", "{", "ConstantInt", "::", "get", "(", "I8", ",", "", ")", ",", "ConstantInt", "::", "get", "(", "I8", ",", "", ")", "}", ",", "", ",", "&", "BB", ")", ";"], "ground_truth": ["}"], "File": "AVRInstrumentFunctions", "Func": "CreateStringPtr", "Target": "AVR", "Target_Clf": "MPU", "Compiler_Type": "LLVM", "Idx": 112926, "Length": 78, "Cover_Rate": 0.6842105263157895} {"Template_token": ["", "return", "(", "", "+", "", "+", "GetTypeName", "(", "*", "Arg", ".", "getType", "(", ")", ")", ")", ".", "str", "(", ")", ";"], "ground_truth": ["}"], "File": "AVRInstrumentFunctions", "Func": "GetArgumentSymbolName", "Target": "AVR", "Target_Clf": "MPU", "Compiler_Type": "LLVM", "Idx": 112927, "Length": 22, "Cover_Rate": 0.6285714285714286} {"Template_token": ["", "return", "(", "", "+", "", "+", "GetTypeName", "(", "*", "Arg", ".", "getType", "(", ")", ")", ")", ".", "str", "(", ")", ";"], "ground_truth": ["}"], "File": "AVRInstrumentFunctions", "Func": "GetArgumentSymbolName", "Target": "AVR", "Target_Clf": "MPU", "Compiler_Type": "LLVM", "Idx": 112928, "Length": 22, "Cover_Rate": 0.6285714285714286} {"Template_token": ["", "StringRef", "getPassName", "(", ")", "const", "override", "{", "return", "_INSTRUMENT_FUNCTIONS_NAME", ";"], "ground_truth": ["}"], "File": "AVRInstrumentFunctions", "Func": "getPassName", "Target": "AVR", "Target_Clf": "MPU", "Compiler_Type": "LLVM", "Idx": 112929, "Length": 11, "Cover_Rate": 1.0} {"Template_token": ["", "return", "(", "", "+", "", "+", "GetTypeName", "(", "*", "Val", ".", "getType", "(", ")", ")", ")", ".", "str", "(", ")", ";"], "ground_truth": ["}"], "File": "AVRInstrumentFunctions", "Func": "GetReturnSymbolName", "Target": "AVR", "Target_Clf": "MPU", "Compiler_Type": "LLVM", "Idx": 112931, "Length": 22, "Cover_Rate": 0.6285714285714286} {"Template_token": ["", "if", "(", "auto", "*", "IntTy", "=", "dyn_cast", "<", "IntegerType", ">", "(", "&", "Ty", ")", ")", "{", "return", "std", "::", "string", "(", "", ")", "+", "std", "::", "to_string", "(", "IntTy", "->", "getBitWidth", "(", ")", ")", ";", "}"], "ground_truth": ["if", "(", "Ty", ".", "isFloatingPointTy", "(", ")", ")", "{"], "File": "AVRInstrumentFunctions", "Func": "GetTypeName", "Target": "AVR", "Target_Clf": "MPU", "Compiler_Type": "LLVM", "Idx": 112932, "Length": 45, "Cover_Rate": 0.5487804878048781} {"Template_token": ["", "static", "std", "::", "string", "GetTypeName", "(", "Type", "&", "Ty", ")", "{", "if", "(", "auto", "*", "IntTy", "=", "dyn_cast", "<", "IntegerType", ">", "(", "&", "Ty", ")", ")", "{", "return", "std", "::", "string", "(", "", ")", "+", "std", "::", "to_string", "(", "IntTy", "->", "getBitWidth", "(", ")", ")", ";"], "ground_truth": ["}"], "File": "AVRInstrumentFunctions", "Func": "GetTypeName", "Target": "AVR", "Target_Clf": "MPU", "Compiler_Type": "LLVM", "Idx": 112933, "Length": 47, "Cover_Rate": 0.573170731707317} {"Template_token": ["", "BuildEntryBlock", "(", "F", ")", ";", "BuildExitHooks", "(", "F", ")", ";", "}", "return", "true", ";"], "ground_truth": ["}"], "File": "AVRInstrumentFunctions", "Func": "runOnFunction", "Target": "AVR", "Target_Clf": "MPU", "Compiler_Type": "LLVM", "Idx": 112934, "Length": 15, "Cover_Rate": 0.45454545454545453} {"Template_token": ["", "static", "bool", "ShouldInstrument", "(", "Function", "&", "F", ")", "{"], "ground_truth": ["return", "!", "F", ".", "getReturnType", "(", ")", "->", "isVoidTy", "(", ")", ";"], "File": "AVRInstrumentFunctions", "Func": "ShouldInstrument", "Target": "AVR", "Target_Clf": "MPU", "Compiler_Type": "LLVM", "Idx": 112935, "Length": 21, "Cover_Rate": 0.9545454545454546} {"Template_token": ["", "static", "bool", "ShouldInstrument", "(", "Function", "&", "F", ")", "{"], "ground_truth": ["return", "!", "F", ".", "getReturnType", "(", ")", "->", "isVoidTy", "(", ")", ";"], "File": "AVRInstrumentFunctions", "Func": "ShouldInstrument", "Target": "AVR", "Target_Clf": "MPU", "Compiler_Type": "LLVM", "Idx": 112936, "Length": 21, "Cover_Rate": 0.9545454545454546} {"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", "{"], "ground_truth": ["Base", "=", "CopyFromRegOp", ";"], "File": "AVRISelDAGToDAG12", "Func": "SelectInlineAsmMemoryOperand", "Target": "AVR", "Target_Clf": "MPU", "Compiler_Type": "LLVM", "Idx": 112937, "Length": 169, "Cover_Rate": 0.30505415162454874} {"Template_token": ["", "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", "(", "", ")", ";", "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", ")", ";"], "ground_truth": ["return", "false", ";"], "File": "AVRISelDAGToDAG12", "Func": "SelectInlineAsmMemoryOperand", "Target": "AVR", "Target_Clf": "MPU", "Compiler_Type": "LLVM", "Idx": 112938, "Length": 335, "Cover_Rate": 0.6046931407942239} {"Template_token": ["", "}", "if", "(", "Op", "->", "getOpcode", "(", ")", "==", "", "||", "Op", "->", "getOpcode", "(", ")", "==", "", ")", "{", "SDValue", "CopyFromRegOp", "=", "Op", "->", "getOperand", "(", "", ")", ";", "SDValue", "ImmOp", "=", "Op", "->", "getOperand", "(", "", ")", ";", "ConstantSDNode", "*", "ImmNode", "=", "dyn_cast", "<", "ConstantSDNode", ">", "(", "ImmOp", ")", ";", "unsigned", "Reg", ";", "bool", "CanHandleRegImmOpt", "=", "true", ";", "CanHandleRegImmOpt", "&=", "ImmNode", "!=", "", ";", "CanHandleRegImmOpt", "&=", "ImmNode", "->", "getAPIntValue", "(", ")", ".", "getZExtValue", "(", ")", "<", "", ";", "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", ")", ";", "unsigned", "VReg", "=", "RI", ".", "createVirtualRegister", "(", "&", "", ")", ";", "SDValue", "CopyToReg", "=", "CurDAG", "->", "getCopyToReg", "(", "CopyFromRegOp", ",", "dl", ",", "VReg", ",", "CopyFromRegOp", ")", ";", "SDValue", "NewCopyFromRegOp", "=", "CurDAG", "->", "getCopyFromReg", "(", "CopyToReg", ",", "dl", ",", "VReg", ",", "TL", ".", "getPointerTy", "(", "DL", ")", ")", ";", "Base", "=", "NewCopyFromRegOp", ";", "}", "else", "{"], "ground_truth": ["Base", "=", "CopyFromRegOp", ";"], "File": "AVRISelDAGToDAG13", "Func": "SelectInlineAsmMemoryOperand", "Target": "AVR", "Target_Clf": "MPU", "Compiler_Type": "LLVM", "Idx": 112939, "Length": 230, "Cover_Rate": 0.40852575488454707} {"Template_token": ["", "case", "", ":", "if", "(", "Offs", "==", "", ")", "Opcode", "=", "Bank", ">", "", "?", "", ":", "", ";", "break", ";", "case", "", ":", "if", "(", "Offs", "==", "", ")", "Opcode", "=", "Bank", ">", "", "?", "", ":", "", ";", "break", ";", "default", ":", "break", ";", "}", "return", "Opcode", ";"], "ground_truth": ["}"], "File": "AVRISelDAGToDAG1", "Func": "selectIndexedProgMemLoad", "Target": "AVR", "Target_Clf": "MPU", "Compiler_Type": "LLVM", "Idx": 112940, "Length": 51, "Cover_Rate": 0.3333333333333333} {"Template_token": ["", "case", "", ":", "return", "select", "<", "", ">", "(", "N", ")", ";", "case", "", ":", "return", "select", "<", "", ">", "(", "N", ")", ";", "case", "", ":", "case", "", ":", "return", "selectMultiplication", "(", "N", ")", ";", "case", "", ":", "return", "select", "<", "", ">", "(", "N", ")", ";"], "ground_truth": ["case", "", ":"], "File": "AVRISelDAGToDAG1", "Func": "trySelect", "Target": "AVR", "Target_Clf": "MPU", "Compiler_Type": "LLVM", "Idx": 112941, "Length": 51, "Cover_Rate": 0.38345864661654133} {"Template_token": ["", "return", "selectMultiplication", "(", "N", ")", ";", "case", "", ":", "return", "select", "<", "", ">", "(", "N", ")", ";", "case", "", ":", "return", "select", "<", "", ">", "(", "N", ")", ";", "case", "", ":", "return", "select", "<", "", ">", "(", "N", ")", ";", "default", ":"], "ground_truth": ["return", "false", ";"], "File": "AVRISelDAGToDAG1", "Func": "trySelect", "Target": "AVR", "Target_Clf": "MPU", "Compiler_Type": "LLVM", "Idx": 112942, "Length": 47, "Cover_Rate": 0.3533834586466165} {"Template_token": ["", "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", "=", "true", ";", "CanHandleRegImmOpt", "&=", "ImmNode", "!=", "", ";", "CanHandleRegImmOpt", "&=", "ImmNode", "->", "getAPIntValue", "(", ")", ".", "getZExtValue", "(", ")", "<", "", ";", "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", "(", "", ")", "!=", "", ")", "{"], "ground_truth": ["Disp", "=", "CurDAG", "->", "getTargetConstant", "(", "ImmNode", "->", "getAPIntValue", "(", ")", ".", "getZExtValue", "(", ")", ",", "dl", ",", "", ")", ";"], "File": "AVRISelDAGToDAG5", "Func": "SelectInlineAsmMemoryOperand", "Target": "AVR", "Target_Clf": "MPU", "Compiler_Type": "LLVM", "Idx": 112943, "Length": 308, "Cover_Rate": 0.5470692717584369} {"Template_token": ["", "DEBUG", "(", "errs", "(", ")", "<<", "", ";", "N", "->", "dump", "(", "CurDAG", ")", ";", "errs", "(", ")", "<<", "", ")", ";"], "ground_truth": ["N", "->", "setNodeId", "(", "-", "", ")", ";"], "File": "AVRISelDAGToDAG6", "Func": "Select", "Target": "AVR", "Target_Clf": "MPU", "Compiler_Type": "LLVM", "Idx": 112944, "Length": 30, "Cover_Rate": 0.33707865168539325} {"Template_token": ["", "void", "DAGToDAGISel", "::", "Select", "(", "SDNode", "*", "N", ")", "{", "DEBUG", "(", "errs", "(", ")", "<<", "", ";", "N", "->", "dump", "(", "CurDAG", ")", ";", "errs", "(", ")", "<<", "", ")", ";"], "ground_truth": ["if", "(", "N", "->", "isMachineOpcode", "(", ")", ")", "{"], "File": "AVRISelDAGToDAG6", "Func": "Select", "Target": "AVR", "Target_Clf": "MPU", "Compiler_Type": "LLVM", "Idx": 112945, "Length": 41, "Cover_Rate": 0.4606741573033708} {"Template_token": ["", "void", "DAGToDAGISel", "::", "Select", "(", "SDNode", "*", "N", ")", "{", "if", "(", "N", "->", "isMachineOpcode", "(", ")", ")", "{", "DEBUG", "(", "errs", "(", ")", "<<", "", ";", "N", "->", "dump", "(", "CurDAG", ")", ";", "errs", "(", ")", "<<", "", ")", ";", "N", "->", "setNodeId", "(", "-", "", ")", ";", "return", ";"], "ground_truth": ["}"], "File": "AVRISelDAGToDAG8", "Func": "Select", "Target": "AVR", "Target_Clf": "MPU", "Compiler_Type": "LLVM", "Idx": 112946, "Length": 52, "Cover_Rate": 0.7761194029850746} {"Template_token": ["", "DAGToDAGISel", "(", "TargetMachine", "&", "TM", ",", "CodeGenOpt", "::", "Level", "OptLevel", ")", ":", "SelectionDAGISel", "(", "TM", ",", "OptLevel", ")", ",", "Subtarget", "(", "nullptr", ")", "{"], "ground_truth": ["}"], "File": "AVRISelDAGToDAG", "Func": "AVRDAGToDAGISel", "Target": "AVR", "Target_Clf": "MPU", "Compiler_Type": "LLVM", "Idx": 112947, "Length": 25, "Cover_Rate": 1.0} {"Template_token": ["", "DAGToDAGISel", "(", "TargetMachine", "&", "TM", ",", "CodeGenOpt", "::", "Level", "OptLevel", ")", ":", "SelectionDAGISel", "(", "TM", ",", "OptLevel", ")", ",", "Subtarget", "(", "nullptr", ")", "{"], "ground_truth": ["}"], "File": "AVRISelDAGToDAG", "Func": "AVRDAGToDAGISel", "Target": "AVR", "Target_Clf": "MPU", "Compiler_Type": "LLVM", "Idx": 112948, "Length": 25, "Cover_Rate": 1.0} {"Template_token": ["", "StringRef", "getPassName", "(", ")", "const", "override", "{", "return", "", ";"], "ground_truth": ["}"], "File": "AVRISelDAGToDAG", "Func": "getPassName", "Target": "AVR", "Target_Clf": "MPU", "Compiler_Type": "LLVM", "Idx": 112951, "Length": 11, "Cover_Rate": 1.0} {"Template_token": ["", "StringRef", "getPassName", "(", ")", "const", "override", "{", "return", "", ";"], "ground_truth": ["}"], "File": "AVRISelDAGToDAG", "Func": "getPassName", "Target": "AVR", "Target_Clf": "MPU", "Compiler_Type": "LLVM", "Idx": 112952, "Length": 11, "Cover_Rate": 1.0} {"Template_token": ["", "Subtarget", "=", "&", "MF", ".", "getSubtarget", "<", "Subtarget", ">", "(", ")", ";"], "ground_truth": ["return", "SelectionDAGISel", "::", "runOnMachineFunction", "(", "MF", ")", ";"], "File": "AVRISelDAGToDAG", "Func": "runOnMachineFunction", "Target": "AVR", "Target_Clf": "MPU", "Compiler_Type": "LLVM", "Idx": 112953, "Length": 20, "Cover_Rate": 0.6451612903225806} {"Template_token": ["", "bool", "DAGToDAGISel", "::", "runOnMachineFunction", "(", "MachineFunction", "&", "MF", ")", "{", "Subtarget", "=", "&", "MF", ".", "getSubtarget", "<", "Subtarget", ">", "(", ")", ";"], "ground_truth": ["return", "SelectionDAGISel", "::", "runOnMachineFunction", "(", "MF", ")", ";"], "File": "AVRISelDAGToDAG", "Func": "runOnMachineFunction", "Target": "AVR", "Target_Clf": "MPU", "Compiler_Type": "LLVM", "Idx": 112954, "Length": 30, "Cover_Rate": 0.967741935483871} {"Template_token": ["", "N", "->", "setNodeId", "(", "-", "", ")", ";", "return", ";", "}", "if", "(", "trySelect", "(", "N", ")", ")", "return", ";"], "ground_truth": ["SelectCode", "(", "N", ")", ";"], "File": "AVRISelDAGToDAG", "Func": "Select", "Target": "AVR", "Target_Clf": "MPU", "Compiler_Type": "LLVM", "Idx": 112955, "Length": 25, "Cover_Rate": 0.373134328358209} {"Template_token": ["", "LLVM_DEBUG", "(", "errs", "(", ")", "<<", "", ";", "N", "->", "dump", "(", "CurDAG", ")", ";", "errs", "(", ")", "<<", "", ")", ";", "N", "->", "setNodeId", "(", "-", "", ")", ";"], "ground_truth": ["return", ";"], "File": "AVRISelDAGToDAG", "Func": "Select", "Target": "AVR", "Target_Clf": "MPU", "Compiler_Type": "LLVM", "Idx": 112956, "Length": 32, "Cover_Rate": 0.47761194029850745} {"Template_token": ["", "}", "if", "(", "N", ".", "getOperand", "(", "", ")", ".", "getOpcode", "(", ")", "==", "", ")", "{", "int", "FI", "=", "cast", "<", "FrameIndexSDNode", ">", "(", "N", ".", "getOperand", "(", "", ")", ")", "->", "getIndex", "(", ")", ";", "Base", "=", "CurDAG", "->", "getTargetFrameIndex", "(", "FI", ",", "PtrVT", ")", ";", "Disp", "=", "CurDAG", "->", "getTargetConstant", "(", "RHSC", ",", "dl", ",", "", ")", ";", "return", "true", ";", "}", "MVT", "VT", "=", "cast", "<", "MemSDNode", ">", "(", "Op", ")", "->", "getMemoryVT", "(", ")", ".", "getSimpleVT", "(", ")", ";", "if", "(", "isUInt", "<", "", ">", "(", "RHSC", ")", "&&", "(", "VT", "==", "", "||", "VT", "==", "", ")", ")", "{", "Base", "=", "N", ".", "getOperand", "(", "", ")", ";", "Disp", "=", "CurDAG", "->", "getTargetConstant", "(", "RHSC", ",", "dl", ",", "", ")", ";", "return", "true", ";", "}", "}"], "ground_truth": ["return", "false", ";"], "File": "AVRISelDAGToDAG", "Func": "SelectAddr", "Target": "AVR", "Target_Clf": "MPU", "Compiler_Type": "LLVM", "Idx": 112957, "Length": 135, "Cover_Rate": 0.4090909090909091} {"Template_token": ["", "return", "false", ";", "}", "Opcode", "=", "(", "isPre", ")", "?", "", ":", "", ";", "break", ";", "}", "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", "(", ")", ")", ";", "ReplaceUses", "(", "N", ",", "ResNode", ")", ";", "CurDAG", "->", "RemoveDeadNode", "(", "N", ")", ";"], "ground_truth": ["return", "true", ";"], "File": "AVRISelDAGToDAG", "Func": "selectIndexedLoad", "Target": "AVR", "Target_Clf": "MPU", "Compiler_Type": "LLVM", "Idx": 112958, "Length": 116, "Cover_Rate": 0.3945578231292517} {"Template_token": ["", "bool", "isPre", "=", "(", "AM", "==", "", ")", ";", "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", "!=", "-", "", ")", ")", "{", "return", "false", ";", "}", "Opcode", "=", "(", "isPre", ")", "?", "", ":", "", ";", "break", ";", "}"], "ground_truth": ["default", ":"], "File": "AVRISelDAGToDAG", "Func": "selectIndexedLoad", "Target": "AVR", "Target_Clf": "MPU", "Compiler_Type": "LLVM", "Idx": 112959, "Length": 121, "Cover_Rate": 0.41156462585034015} {"Template_token": ["", "}", "unsigned", "Opcode", "=", "", ";", "int", "Offs", "=", "cast", "<", "ConstantSDNode", ">", "(", "LD", "->", "getOffset", "(", ")", ")", "->", "getSExtValue", "(", ")", ";", "switch", "(", "VT", ".", "SimpleTy", ")", "{", "case", "", ":", "{", "if", "(", "Offs", "!=", "", ")", "{", "return", "", ";", "}", "Opcode", "=", "", ";", "break", ";"], "ground_truth": ["}"], "File": "AVRISelDAGToDAG", "Func": "selectIndexedProgMemLoad", "Target": "AVR", "Target_Clf": "MPU", "Compiler_Type": "LLVM", "Idx": 112960, "Length": 54, "Cover_Rate": 0.3829787234042553} {"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", "=", "", ";"], "ground_truth": ["break", ";"], "File": "AVRISelDAGToDAG", "Func": "selectIndexedProgMemLoad", "Target": "AVR", "Target_Clf": "MPU", "Compiler_Type": "LLVM", "Idx": 112961, "Length": 80, "Cover_Rate": 0.5673758865248227} {"Template_token": ["", "Reg", "=", "RegNode", "->", "getReg", "(", ")", ";", "CanHandleRegImmOpt", "&=", "(", "TargetRegisterInfo", "::", "isVirtualRegister", "(", "Reg", ")", "||", "", ".", "contains", "(", "Reg", ")", ")", ";", "}", "else", "{", "CanHandleRegImmOpt", "=", "false", ";", "}", "if", "(", "CanHandleRegImmOpt", ")", "{", "SDValue", "Base", ",", "Disp", ";", "if", "(", "RI", ".", "getRegClass", "(", "Reg", ")", "!=", "&", "", ")", "{", "SDLoc", "dl", "(", "CopyFromRegOp", ")", ";", "unsigned", "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", ";", "}"], "ground_truth": ["OutOps", ".", "push_back", "(", "Base", ")", ";"], "File": "AVRISelDAGToDAG", "Func": "SelectInlineAsmMemoryOperand", "Target": "AVR", "Target_Clf": "MPU", "Compiler_Type": "LLVM", "Idx": 112962, "Length": 171, "Cover_Rate": 0.3037300177619893} {"Template_token": ["", "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", "=", "true", ";", "CanHandleRegImmOpt", "&=", "ImmNode", "!=", "", ";", "CanHandleRegImmOpt", "&=", "ImmNode", "->", "getAPIntValue", "(", ")", ".", "getZExtValue", "(", ")", "<", "", ";", "if", "(", "CopyFromRegOp", "->", "getOpcode", "(", ")", "==", "", ")", "{", "RegisterSDNode", "*", "RegNode", "=", "cast", "<", "RegisterSDNode", ">", "(", "CopyFromRegOp", "->", "getOperand", "(", "", ")", ")", ";", "Reg", "=", "RegNode", "->", "getReg", "(", ")", ";", "CanHandleRegImmOpt", "&=", "(", "TargetRegisterInfo", "::", "isVirtualRegister", "(", "Reg", ")", "||", "", ".", "contains", "(", "Reg", ")", ")", ";", "}", "else", "{", "CanHandleRegImmOpt", "=", "false", ";", "}", "if", "(", "CanHandleRegImmOpt", ")", "{", "SDValue", "Base", ",", "Disp", ";", "if", "(", "RI", ".", "getRegClass", "(", "Reg", ")", "!=", "&", "", ")", "{", "SDLoc", "dl", "(", "CopyFromRegOp", ")", ";", "unsigned", "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", ";"], "ground_truth": ["}"], "File": "AVRISelDAGToDAG", "Func": "SelectInlineAsmMemoryOperand", "Target": "AVR", "Target_Clf": "MPU", "Compiler_Type": "LLVM", "Idx": 112963, "Length": 327, "Cover_Rate": 0.5808170515097691} {"Template_token": ["", "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", ")", ";", "SDValue", "InChain", "=", "CurDAG", "->", "getEntryNode", "(", ")", ";", "SDValue", "InGlue", "=", "SDValue", "(", "Mul", ",", "", ")", ";", "if", "(", "N", "->", "hasAnyUseOfValue", "(", "", ")", ")", "{", "SDValue", "CopyFromLo", "=", "CurDAG", "->", "getCopyFromReg", "(", "InChain", ",", "DL", ",", "", ",", "Type", ",", "InGlue", ")", ";", "ReplaceUses", "(", "SDValue", "(", "N", ",", "", ")", ",", "CopyFromLo", ")", ";", "InChain", "=", "CopyFromLo", ".", "getValue", "(", "", ")", ";"], "ground_truth": ["InGlue", "=", "CopyFromLo", ".", "getValue", "(", "", ")", ";"], "File": "AVRISelDAGToDAG", "Func": "selectMultiplication", "Target": "AVR", "Target_Clf": "MPU", "Compiler_Type": "LLVM", "Idx": 112964, "Length": 155, "Cover_Rate": 0.6007751937984496} {"Template_token": ["", "unsigned", "Opcode", "=", "N", "->", "getOpcode", "(", ")", ";", "SDLoc", "DL", "(", "N", ")", ";", "switch", "(", "Opcode", ")", "{", "case", "", ":", "return", "select", "<", "", ">", "(", "N", ")", ";", "case", "", ":", "return", "select", "<", "", ">", "(", "N", ")", ";", "case", "", ":", "case", "", ":", "return", "selectMultiplication", "(", "N", ")", ";"], "ground_truth": ["case", "", ":", "return", "select", "<", "", ">", "(", "N", ")", ";"], "File": "AVRISelDAGToDAG", "Func": "trySelect", "Target": "AVR", "Target_Clf": "MPU", "Compiler_Type": "LLVM", "Idx": 112965, "Length": 68, "Cover_Rate": 0.5112781954887218} {"Template_token": ["", "switch", "(", "Opcode", ")", "{", "case", "", ":", "return", "select", "<", "", ">", "(", "N", ")", ";", "case", "", ":", "return", "select", "<", "", ">", "(", "N", ")", ";", "case", "", ":", "case", "", ":", "return", "selectMultiplication", "(", "N", ")", ";", "case", "", ":", "return", "select", "<", "", ">", "(", "N", ")", ";", "case", "", ":", "return", "select", "<", "", ">", "(", "N", ")", ";", "case", "", ":", "return", "select", "<", "", ">", "(", "N", ")", ";", "default", ":", "return", "false", ";", "}"], "ground_truth": ["}"], "File": "AVRISelDAGToDAG", "Func": "trySelect", "Target": "AVR", "Target_Clf": "MPU", "Compiler_Type": "LLVM", "Idx": 112966, "Length": 84, "Cover_Rate": 0.631578947368421} {"Template_token": ["", "", "getCmpLibcallReturnType", "(", ")", "const", "override", "{", "return", "", ";"], "ground_truth": ["}"], "File": "AVRISelLowering (2)", "Func": "getCmpLibcallReturnType", "Target": "AVR", "Target_Clf": "MPU", "Compiler_Type": "LLVM", "Idx": 112967, "Length": 11, "Cover_Rate": 0.7333333333333333} {"Template_token": ["", "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", "*", "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", ")", ";", "MF", "->", "insert", "(", "I", ",", "falseMBB", ")", ";", "trueMBB", "->", "splice", "(", "trueMBB", "->", "begin", "(", ")", ",", "MBB", ",", "std", "::", "next", "(", "MachineBasicBlock", "::", "iterator", "(", "MI", ")", ")", ",", "MBB", "->", "end", "(", ")", ")", ";", "trueMBB", "->", "transferSuccessorsAndUpdatePHIs", "(", "MBB", ")", ";"], "ground_truth": ["", "CC", "=", "(", "", ")", "MI", ".", "getOperand", "(", "", ")", ".", "getImm", "(", ")", ";"], "File": "AVRISelLowering10", "Func": "EmitInstrWithCustomInserter", "Target": "AVR", "Target_Clf": "MPU", "Compiler_Type": "LLVM", "Idx": 112969, "Length": 240, "Cover_Rate": 0.4838709677419355} {"Template_token": ["", "case", "'l'", ":", "return", "std", "::", "make_pair", "(", "", ",", "&", "", ")", ";", "case", "'e'", ":", "return", "std", "::", "make_pair", "(", "", ",", "&", "", ")", ";", "case", "'q'", ":", "return", "std", "::", "make_pair", "(", "", ",", "&", "", ")", ";", "case", "'r'", ":", "if", "(", "VT", "==", "", ")", "return", "std", "::", "make_pair", "(", "", ",", "&", "", ")", ";", "assert", "(", "VT", "==", "", "&&", "", ")", ";", "return", "std", "::", "make_pair", "(", "", ",", "&", "", ")", ";", "case", "'t'", ":", "return", "std", "::", "make_pair", "(", "unsigned", "(", "", ")", ",", "&", "", ")", ";", "case", "'w'", ":", "return", "std", "::", "make_pair", "(", "", ",", "&", "", ")", ";", "case", "'x'", ":", "case", "'X'", ":", "return", "std", "::", "make_pair", "(", "unsigned", "(", "", ")", ",", "&", "", ")", ";", "case", "'y'", ":", "case", "'Y'", ":", "return", "std", "::", "make_pair", "(", "unsigned", "(", "", ")", ",", "&", "", ")", ";"], "ground_truth": ["case", "'z'", ":"], "File": "AVRISelLowering10", "Func": "getRegForInlineAsmConstraint", "Target": "AVR", "Target_Clf": "MPU", "Compiler_Type": "LLVM", "Idx": 112970, "Length": 156, "Cover_Rate": 0.45481049562682213} {"Template_token": ["", "const", "TargetMachine", "&", "TM", "=", "(", "const", "TargetMachine", "&", ")", "getTargetMachine", "(", ")", ";", "const", "TargetInstrInfo", "&", "TII", "=", "*", "TM", ".", "getSubtargetImpl", "(", ")", "->", "getInstrInfo", "(", ")", ";", "MachineBasicBlock", "::", "iterator", "I", "(", "MI", ")", ";", "++", "I", ";", "if", "(", "isCopyMulResult", "(", "I", ")", ")", "++", "I", ";"], "ground_truth": ["if", "(", "isCopyMulResult", "(", "I", ")", ")", "++", "I", ";"], "File": "AVRISelLowering10", "Func": "insertMul", "Target": "AVR", "Target_Clf": "MPU", "Compiler_Type": "LLVM", "Idx": 112971, "Length": 61, "Cover_Rate": 0.5} {"Template_token": ["", "case", "", ":", "Opc", "=", "", ";", "RC", "=", "&", "", ";", "break", ";", "case", "", ":", "Opc", "=", "", ";", "RC", "=", "&", "", ";", "break", ";", "case", "", ":", "Opc", "=", "", ";", "RC", "=", "&", "", ";", "break", ";", "case", "", ":", "Opc", "=", "", ";", "RC", "=", "&", "", ";", "break", ";", "}", "const", "BasicBlock", "*", "LLVM_BB", "=", "BB", "->", "getBasicBlock", "(", ")", ";", "MachineFunction", "::", "iterator", "I", ";", "for", "(", "I", "=", "BB", "->", "getIterator", "(", ")", ";", "I", "!=", "F", "->", "end", "(", ")", "&&", "&", "(", "*", "I", ")", "!=", "BB", ";", "++", "I", ")", ";", "if", "(", "I", "!=", "F", "->", "end", "(", ")", ")", "++", "I", ";", "MachineBasicBlock", "*", "LoopBB", "=", "F", "->", "CreateMachineBasicBlock", "(", "LLVM_BB", ")", ";", "MachineBasicBlock", "*", "RemBB", "=", "F", "->", "CreateMachineBasicBlock", "(", "LLVM_BB", ")", ";", "F", "->", "insert", "(", "I", ",", "LoopBB", ")", ";", "F", "->", "insert", "(", "I", ",", "RemBB", ")", ";", "RemBB", "->", "splice", "(", "RemBB", "->", "begin", "(", ")", ",", "BB", ",", "std", "::", "next", "(", "MachineBasicBlock", "::", "iterator", "(", "MI", ")", ")", ",", "BB", "->", "end", "(", ")", ")", ";", "RemBB", "->", "transferSuccessorsAndUpdatePHIs", "(", "BB", ")", ";", "BB", "->", "addSuccessor", "(", "LoopBB", ")", ";", "BB", "->", "addSuccessor", "(", "RemBB", ")", ";", "LoopBB", "->", "addSuccessor", "(", "RemBB", ")", ";", "LoopBB", "->", "addSuccessor", "(", "LoopBB", ")", ";", "unsigned", "ShiftAmtReg", "=", "RI", ".", "createVirtualRegister", "(", "&", "", ")", ";", "unsigned", "ShiftAmtReg2", "=", "RI", ".", "createVirtualRegister", "(", "&", "", ")", ";", "unsigned", "ShiftReg", "=", "RI", ".", "createVirtualRegister", "(", "RC", ")", ";", "unsigned", "ShiftReg2", "=", "RI", ".", "createVirtualRegister", "(", "RC", ")", ";", "unsigned", "ShiftAmtSrcReg", "=", "MI", ".", "getOperand", "(", "", ")", ".", "getReg", "(", ")", ";", "unsigned", "SrcReg", "=", "MI", ".", "getOperand", "(", "", ")", ".", "getReg", "(", ")", ";", "unsigned", "DstReg", "=", "MI", ".", "getOperand", "(", "", ")", ".", "getReg", "(", ")", ";", "BuildMI", "(", "BB", ",", "dl", ",", "TII", ".", "get", "(", "", ")", ")", ".", "addReg", "(", "ShiftAmtSrcReg", ")", ".", "addImm", "(", "", ")", ";", "BuildMI", "(", "BB", ",", "dl", ",", "TII", ".", "get", "(", "", ")", ")", ".", "addMBB", "(", "RemBB", ")", ";", "BuildMI", "(", "LoopBB", ",", "dl", ",", "TII", ".", "get", "(", "", ")", ",", "ShiftReg", ")", ".", "addReg", "(", "SrcReg", ")", ".", "addMBB", "(", "BB", ")", ".", "addReg", "(", "ShiftReg2", ")", ".", "addMBB", "(", "LoopBB", ")", ";", "BuildMI", "(", "LoopBB", ",", "dl", ",", "TII", ".", "get", "(", "", ")", ",", "ShiftAmtReg", ")", ".", "addReg", "(", "ShiftAmtSrcReg", ")", ".", "addMBB", "(", "BB", ")", ".", "addReg", "(", "ShiftAmtReg2", ")", ".", "addMBB", "(", "LoopBB", ")", ";"], "ground_truth": ["BuildMI", "(", "LoopBB", ",", "dl", ",", "TII", ".", "get", "(", "Opc", ")", ",", "ShiftReg2", ")", ".", "addReg", "(", "ShiftReg", ")", ";"], "File": "AVRISelLowering10", "Func": "insertShift", "Target": "AVR", "Target_Clf": "MPU", "Compiler_Type": "LLVM", "Idx": 112972, "Length": 442, "Cover_Rate": 0.5518102372034956} {"Template_token": ["", "}", "RegsToPass", ".", "push_back", "(", "std", "::", "make_pair", "(", "VA", ".", "getLocReg", "(", ")", ",", "Arg", ")", ")", ";", "}", "if", "(", "HasStackArgs", ")", "{", "for", "(", "AE", "=", "AI", ",", "AI", "=", "ArgLocs", ".", "size", "(", ")", ";", "AI", "!=", "AE", ";", "--", "AI", ")", "{", "unsigned", "Loc", "=", "AI", "-", "", ";", "CCValAssign", "&", "VA", "=", "ArgLocs", "[", "Loc", "]", ";", "SDValue", "Arg", "=", "OutVals", "[", "Loc", "]", ";", "assert", "(", "VA", ".", "isMemLoc", "(", ")", ")", ";", "SDValue", "PtrOff", "=", "DAG", ".", "getNode", "(", "", ",", "DL", ",", "getPointerTy", "(", "DAG", ".", "getDataLayout", "(", ")", ")", ",", "DAG", ".", "getRegister", "(", "", ",", "getPointerTy", "(", "DAG", ".", "getDataLayout", "(", ")", ")", ")", ",", "DAG", ".", "getIntPtrConstant", "(", "VA", ".", "getLocMemOffset", "(", ")", "+", "", ",", "DL", ")", ")", ";", "Chain", "=", "DAG", ".", "getStore", "(", "Chain", ",", "DL", ",", "Arg", ",", "PtrOff", ",", "MachinePointerInfo", "::", "getStack", "(", "MF", ",", "VA", ".", "getLocMemOffset", "(", ")", ")", ",", "", ")", ";", "}", "}", "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", ")", "{", "Ops", ".", "push_back", "(", "DAG", ".", "getRegister", "(", "Reg", ".", "first", ",", "Reg", ".", "second", ".", "getValueType", "(", ")", ")", ")", ";", "}", "const", "TargetMachine", "&", "TM", "=", "(", "const", "TargetMachine", "&", ")", "getTargetMachine", "(", ")", ";", "const", "TargetRegisterInfo", "*", "TRI", "=", "TM", ".", "getSubtargetImpl", "(", ")", "->", "getRegisterInfo", "(", ")", ";", "const", "uint32_t", "*", "Mask", "=", "TRI", "->", "getCallPreservedMask", "(", "DAG", ".", "getMachineFunction", "(", ")", ",", "CallConv", ")", ";", "assert", "(", "Mask", "&&", "", ")", ";", "Ops", ".", "push_back", "(", "DAG", ".", "getRegisterMask", "(", "Mask", ")", ")", ";", "if", "(", "InFlag", ".", "getNode", "(", ")", ")", "{", "Ops", ".", "push_back", "(", "InFlag", ")", ";", "}", "Chain", "=", "DAG", ".", "getNode", "(", "", ",", "DL", ",", "NodeTys", ",", "Ops", ")", ";", "InFlag", "=", "Chain", ".", "getValue", "(", "", ")", ";", "Chain", "=", "DAG", ".", "getCALLSEQ_END", "(", "Chain", ",", "DAG", ".", "getIntPtrConstant", "(", "NumBytes", ",", "DL", ",", "true", ")", ",", "DAG", ".", "getIntPtrConstant", "(", "", ",", "DL", ",", "true", ")", ",", "InFlag", ",", "DL", ")", ";"], "ground_truth": ["if", "(", "!", "Ins", ".", "empty", "(", ")", ")", "{"], "File": "AVRISelLowering10", "Func": "LowerCall", "Target": "AVR", "Target_Clf": "MPU", "Compiler_Type": "LLVM", "Idx": 112973, "Length": 423, "Cover_Rate": 0.42857142857142855} {"Template_token": ["", "assert", "(", "(", "Opcode", "==", "", "||", "Opcode", "==", "", ")", "&&", "", ")", ";", "bool", "IsSigned", "=", "(", "Opcode", "==", "", ")", ";", "EVT", "VT", "=", "Op", "->", "getValueType", "(", "", ")", ";", "Type", "*", "Ty", "=", "VT", ".", "getTypeForEVT", "(", "*", "DAG", ".", "getContext", "(", ")", ")", ";", "RTLIB", "::", "Libcall", "LC", ";", "switch", "(", "VT", ".", "getSimpleVT", "(", ")", ".", "SimpleTy", ")", "{", "default", ":", "llvm_unreachable", "(", "", ")", ";", "case", "", ":", "LC", "=", "IsSigned", "?", "RTLIB", "::", "SDIVREM_I8", ":", "RTLIB", "::", "UDIVREM_I8", ";", "break", ";", "case", "", ":", "LC", "=", "IsSigned", "?", "RTLIB", "::", "SDIVREM_I16", ":", "RTLIB", "::", "UDIVREM_I16", ";", "break", ";", "case", "", ":", "LC", "=", "IsSigned", "?", "RTLIB", "::", "SDIVREM_I32", ":", "RTLIB", "::", "UDIVREM_I32", ";", "break", ";", "case", "", ":", "LC", "=", "IsSigned", "?", "RTLIB", "::", "SDIVREM_I64", ":", "RTLIB", "::", "UDIVREM_I64", ";", "break", ";", "}", "SDValue", "InChain", "=", "DAG", ".", "getEntryNode", "(", ")", ";", "TargetLowering", "::", "ArgListTy", "Args", ";", "TargetLowering", "::", "ArgListEntry", "Entry", ";"], "ground_truth": ["for", "(", "SDValue", "const", "&", "Value", ":", "Op", "->", "op_values", "(", ")", ")", "{"], "File": "AVRISelLowering10", "Func": "LowerDivRem", "Target": "AVR", "Target_Clf": "MPU", "Compiler_Type": "LLVM", "Idx": 112974, "Length": 175, "Cover_Rate": 0.46174142480211083} {"Template_token": ["", "assert", "(", "TotalBytes", "<=", "", "&&", "", ")", ";", "if", "(", "TotalBytes", ">", "", ")", "{", "TotalBytes", "=", "", ";", "}", "else", "{", "TotalBytes", "=", "alignTo", "(", "TotalBytes", ",", "", ")", ";", "}", "int", "RegIdx", "=", "TotalBytes", "-", "", ";", "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", "(", "", ")", ";", "}"], "ground_truth": ["assert", "(", "Reg", "&&", "", ")", ";"], "File": "AVRISelLowering11", "Func": "analyzeReturnValues", "Target": "AVR", "Target_Clf": "MPU", "Compiler_Type": "LLVM", "Idx": 112975, "Length": 124, "Cover_Rate": 0.6391752577319587} {"Template_token": ["", "if", "(", "TotalBytes", ">", "", ")", "{", "TotalBytes", "=", "", ";", "}", "else", "{", "TotalBytes", "=", "alignTo", "(", "TotalBytes", ",", "", ")", ";", "}", "int", "RegIdx", "=", "TotalBytes", "-", "", ";", "for", "(", "unsigned", "i", "=", "", ";", "i", "!=", "NumArgs", ";", "++", "i", ")", "{", "MVT", "VT", "=", "Args", "[", "i", "]", ".", "VT", ";", "unsigned", "Reg", ";"], "ground_truth": ["if", "(", "VT", "==", "", ")", "{"], "File": "AVRISelLowering11", "Func": "analyzeReturnValues", "Target": "AVR", "Target_Clf": "MPU", "Compiler_Type": "LLVM", "Idx": 112976, "Length": 66, "Cover_Rate": 0.3402061855670103} {"Template_token": ["", "std", "::", "pair", "<", "unsigned", ",", "const", "TargetRegisterClass", "*", ">", "TargetLowering", "::", "getRegForInlineAsmConstraint", "(", "const", "TargetRegisterInfo", "*", "TRI", ",", "StringRef", "Constraint", ",", "MVT", "VT", ")", "const", "{", "if", "(", "Constraint", ".", "size", "(", ")", "==", "", ")", "{", "switch", "(", "Constraint", "[", "", "]", ")", "{", "case", "'a'", ":", "if", "(", "VT", "==", "", ")", "return", "std", "::", "make_pair", "(", "", ",", "&", "", ")", ";", "else", "if", "(", "VT", "==", "", ")", "return", "std", "::", "make_pair", "(", "", ",", "&", "", ")", ";", "break", ";", "case", "'b'", ":", "if", "(", "VT", "==", "", "||", "VT", "==", "", ")", "return", "std", "::", "make_pair", "(", "", ",", "&", "", ")", ";", "break", ";", "case", "'d'", ":", "if", "(", "VT", "==", "", ")", "return", "std", "::", "make_pair", "(", "", ",", "&", "", ")", ";", "else", "if", "(", "VT", "==", "", ")", "return", "std", "::", "make_pair", "(", "", ",", "&", "", ")", ";", "break", ";", "case", "'l'", ":", "if", "(", "VT", "==", "", ")", "return", "std", "::", "make_pair", "(", "", ",", "&", "", ")", ";", "else", "if", "(", "VT", "==", "", ")", "return", "std", "::", "make_pair", "(", "", ",", "&", "", ")", ";", "break", ";", "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'", ":", "if", "(", "VT", "==", "", "||", "VT", "==", "", ")", "return", "std", "::", "make_pair", "(", "unsigned", "(", "", ")", ",", "&", "", ")", ";", "break", ";"], "ground_truth": ["case", "'z'", ":"], "File": "AVRISelLowering11", "Func": "getRegForInlineAsmConstraint", "Target": "AVR", "Target_Clf": "MPU", "Compiler_Type": "LLVM", "Idx": 112978, "Length": 390, "Cover_Rate": 0.7442748091603053} {"Template_token": ["", "if", "(", "VT", "==", "", "||", "VT", "==", "", ")", "return", "std", "::", "make_pair", "(", "", ",", "&", "", ")", ";", "break", ";", "case", "'d'", ":", "if", "(", "VT", "==", "", ")", "return", "std", "::", "make_pair", "(", "", ",", "&", "", ")", ";", "else", "if", "(", "VT", "==", "", ")", "return", "std", "::", "make_pair", "(", "", ",", "&", "", ")", ";", "break", ";", "case", "'l'", ":", "if", "(", "VT", "==", "", ")", "return", "std", "::", "make_pair", "(", "", ",", "&", "", ")", ";", "else", "if", "(", "VT", "==", "", ")", "return", "std", "::", "make_pair", "(", "", ",", "&", "", ")", ";", "break", ";", "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'", ":", "if", "(", "VT", "==", "", "||", "VT", "==", "", ")", "return", "std", "::", "make_pair", "(", "unsigned", "(", "", ")", ",", "&", "", ")", ";", "break", ";", "case", "'z'", ":", "case", "'Z'", ":", "if", "(", "VT", "==", "", "||", "VT", "==", "", ")", "return", "std", "::", "make_pair", "(", "unsigned", "(", "", ")", ",", "&", "", ")", ";", "break", ";", "default", ":", "break", ";"], "ground_truth": ["}"], "File": "AVRISelLowering11", "Func": "getRegForInlineAsmConstraint", "Target": "AVR", "Target_Clf": "MPU", "Compiler_Type": "LLVM", "Idx": 112979, "Length": 335, "Cover_Rate": 0.6393129770992366} {"Template_token": ["", "Register", "Reg", ";", "if", "(", "VT", "==", "LLT", "::", "scalar", "(", "", ")", ")", "{", "Reg", "=", "StringSwitch", "<", "unsigned", ">", "(", "RegName", ")", ".", "Case", "(", "", ",", "", ")", ".", "Case", "(", "", ",", "", ")", ".", "Default", "(", "", ")", ";"], "ground_truth": ["}", "else", "{"], "File": "AVRISelLowering11", "Func": "getRegisterByName", "Target": "AVR", "Target_Clf": "MPU", "Compiler_Type": "LLVM", "Idx": 112980, "Length": 47, "Cover_Rate": 0.3671875} {"Template_token": ["", "Register", "TargetLowering", "::", "getRegisterByName", "(", "const", "char", "*", "RegName", ",", "LLT", "VT", ",", "const", "MachineFunction", "&", "MF", ")", "const", "{", "Register", "Reg", ";", "if", "(", "VT", "==", "LLT", "::", "scalar", "(", "", ")", ")", "{", "Reg", "=", "StringSwitch", "<", "unsigned", ">", "(", "RegName", ")", ".", "Case", "(", "", ",", "", ")", ".", "Case", "(", "", ",", "", ")", ".", "Default", "(", "", ")", ";", "}", "else", "{", "Reg", "=", "StringSwitch", "<", "unsigned", ">", "(", "RegName", ")", ".", "Case", "(", "", ",", "", ")", ".", "Case", "(", "", ",", "", ")", ".", "Default", "(", "", ")", ";", "}", "if", "(", "Reg", ")", "return", "Reg", ";", "report_fatal_error", "(", "Twine", "(", "", "+", "StringRef", "(", "RegName", ")", "+", "", ")", ")", ";"], "ground_truth": ["}"], "File": "AVRISelLowering11", "Func": "getRegisterByName", "Target": "AVR", "Target_Clf": "MPU", "Compiler_Type": "LLVM", "Idx": 112981, "Length": 120, "Cover_Rate": 0.9375} {"Template_token": ["", "for", "(", "const", "ArgT", "&", "Arg", ":", "Args", ")", "{", "TotalBytes", "+=", "Arg", ".", "VT", ".", "getStoreSize", "(", ")", ";", "}", "return", "TotalBytes", ";"], "ground_truth": ["}"], "File": "AVRISelLowering11", "Func": "getTotalArgumentsSizeInBytes", "Target": "AVR", "Target_Clf": "MPU", "Compiler_Type": "LLVM", "Idx": 112982, "Length": 25, "Cover_Rate": 0.5813953488372093} {"Template_token": ["", "RC", "=", "&", "", ";", "break", ";", "case", "", ":", "Opc", "=", "", ";", "RC", "=", "&", "", ";", "break", ";", "case", "", ":", "Opc", "=", "", ";", "RC", "=", "&", "", ";", "break", ";", "}", "const", "BasicBlock", "*", "LLVM_BB", "=", "BB", "->", "getBasicBlock", "(", ")", ";", "MachineFunction", "::", "iterator", "I", ";", "for", "(", "I", "=", "BB", "->", "getIterator", "(", ")", ";", "I", "!=", "F", "->", "end", "(", ")", "&&", "&", "(", "*", "I", ")", "!=", "BB", ";", "++", "I", ")", ";", "if", "(", "I", "!=", "F", "->", "end", "(", ")", ")", "++", "I", ";", "MachineBasicBlock", "*", "LoopBB", "=", "F", "->", "CreateMachineBasicBlock", "(", "LLVM_BB", ")", ";", "MachineBasicBlock", "*", "CheckBB", "=", "F", "->", "CreateMachineBasicBlock", "(", "LLVM_BB", ")", ";", "MachineBasicBlock", "*", "RemBB", "=", "F", "->", "CreateMachineBasicBlock", "(", "LLVM_BB", ")", ";", "F", "->", "insert", "(", "I", ",", "LoopBB", ")", ";", "F", "->", "insert", "(", "I", ",", "CheckBB", ")", ";", "F", "->", "insert", "(", "I", ",", "RemBB", ")", ";", "RemBB", "->", "splice", "(", "RemBB", "->", "begin", "(", ")", ",", "BB", ",", "std", "::", "next", "(", "MachineBasicBlock", "::", "iterator", "(", "MI", ")", ")", ",", "BB", "->", "end", "(", ")", ")", ";", "RemBB", "->", "transferSuccessorsAndUpdatePHIs", "(", "BB", ")", ";", "BB", "->", "addSuccessor", "(", "CheckBB", ")", ";", "LoopBB", "->", "addSuccessor", "(", "CheckBB", ")", ";", "CheckBB", "->", "addSuccessor", "(", "LoopBB", ")", ";", "CheckBB", "->", "addSuccessor", "(", "RemBB", ")", ";", "Register", "ShiftAmtReg", "=", "RI", ".", "createVirtualRegister", "(", "&", "", ")", ";", "Register", "ShiftAmtReg2", "=", "RI", ".", "createVirtualRegister", "(", "&", "", ")", ";", "Register", "ShiftReg", "=", "RI", ".", "createVirtualRegister", "(", "RC", ")", ";", "Register", "ShiftReg2", "=", "RI", ".", "createVirtualRegister", "(", "RC", ")", ";", "Register", "ShiftAmtSrcReg", "=", "MI", ".", "getOperand", "(", "", ")", ".", "getReg", "(", ")", ";", "Register", "SrcReg", "=", "MI", ".", "getOperand", "(", "", ")", ".", "getReg", "(", ")", ";", "Register", "DstReg", "=", "MI", ".", "getOperand", "(", "", ")", ".", "getReg", "(", ")", ";", "BuildMI", "(", "BB", ",", "dl", ",", "TII", ".", "get", "(", "", ")", ")", ".", "addMBB", "(", "CheckBB", ")", ";", "auto", "ShiftMI", "=", "BuildMI", "(", "LoopBB", ",", "dl", ",", "TII", ".", "get", "(", "Opc", ")", ",", "ShiftReg2", ")", ".", "addReg", "(", "ShiftReg", ")", ";", "if", "(", "HasRepeatedOperand", ")", "ShiftMI", ".", "addReg", "(", "ShiftReg", ")", ";", "BuildMI", "(", "CheckBB", ",", "dl", ",", "TII", ".", "get", "(", "", ")", ",", "ShiftReg", ")", ".", "addReg", "(", "SrcReg", ")", ".", "addMBB", "(", "BB", ")", ".", "addReg", "(", "ShiftReg2", ")", ".", "addMBB", "(", "LoopBB", ")", ";"], "ground_truth": ["BuildMI", "(", "CheckBB", ",", "dl", ",", "TII", ".", "get", "(", "", ")", ",", "ShiftAmtReg", ")", ".", "addReg", "(", "ShiftAmtSrcReg", ")", ".", "addMBB", "(", "BB", ")", ".", "addReg", "(", "ShiftAmtReg2", ")", ".", "addMBB", "(", "LoopBB", ")", ";"], "File": "AVRISelLowering11", "Func": "insertShift", "Target": "AVR", "Target_Clf": "MPU", "Compiler_Type": "LLVM", "Idx": 112983, "Length": 431, "Cover_Rate": 0.5469543147208121} {"Template_token": ["", "Register", "SrcReg", "=", "MI", ".", "getOperand", "(", "", ")", ".", "getReg", "(", ")", ";", "Register", "DstReg", "=", "MI", ".", "getOperand", "(", "", ")", ".", "getReg", "(", ")", ";", "BuildMI", "(", "BB", ",", "dl", ",", "TII", ".", "get", "(", "", ")", ")", ".", "addMBB", "(", "CheckBB", ")", ";", "auto", "ShiftMI", "=", "BuildMI", "(", "LoopBB", ",", "dl", ",", "TII", ".", "get", "(", "Opc", ")", ",", "ShiftReg2", ")", ".", "addReg", "(", "ShiftReg", ")", ";", "if", "(", "HasRepeatedOperand", ")", "ShiftMI", ".", "addReg", "(", "ShiftReg", ")", ";", "BuildMI", "(", "CheckBB", ",", "dl", ",", "TII", ".", "get", "(", "", ")", ",", "ShiftReg", ")", ".", "addReg", "(", "SrcReg", ")", ".", "addMBB", "(", "BB", ")", ".", "addReg", "(", "ShiftReg2", ")", ".", "addMBB", "(", "LoopBB", ")", ";", "BuildMI", "(", "CheckBB", ",", "dl", ",", "TII", ".", "get", "(", "", ")", ",", "ShiftAmtReg", ")", ".", "addReg", "(", "ShiftAmtSrcReg", ")", ".", "addMBB", "(", "BB", ")", ".", "addReg", "(", "ShiftAmtReg2", ")", ".", "addMBB", "(", "LoopBB", ")", ";", "BuildMI", "(", "CheckBB", ",", "dl", ",", "TII", ".", "get", "(", "", ")", ",", "DstReg", ")", ".", "addReg", "(", "SrcReg", ")", ".", "addMBB", "(", "BB", ")", ".", "addReg", "(", "ShiftReg2", ")", ".", "addMBB", "(", "LoopBB", ")", ";", "BuildMI", "(", "CheckBB", ",", "dl", ",", "TII", ".", "get", "(", "", ")", ",", "ShiftAmtReg2", ")", ".", "addReg", "(", "ShiftAmtReg", ")", ";", "BuildMI", "(", "CheckBB", ",", "dl", ",", "TII", ".", "get", "(", "", ")", ")", ".", "addMBB", "(", "LoopBB", ")", ";", "MI", ".", "eraseFromParent", "(", ")", ";", "return", "RemBB", ";"], "ground_truth": ["}"], "File": "AVRISelLowering11", "Func": "insertShift", "Target": "AVR", "Target_Clf": "MPU", "Compiler_Type": "LLVM", "Idx": 112984, "Length": 240, "Cover_Rate": 0.30456852791878175} {"Template_token": ["", "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": ["return", "Chain", ";"], "File": "AVRISelLowering11", "Func": "LowerCallResult", "Target": "AVR", "Target_Clf": "MPU", "Compiler_Type": "LLVM", "Idx": 112986, "Length": 73, "Cover_Rate": 0.42196531791907516} {"Template_token": ["", "SDValue", "TargetLowering", "::", "LowerFormalArguments", "(", "SDValue", "Chain", ",", "CallingConv", "::", "ID", "CallConv", ",", "bool", "isVarArg", ",", "const", "SmallVectorImpl", "<", "", ">", "&", "Ins", ",", "const", "SDLoc", "&", "dl", ",", "SelectionDAG", "&", "DAG", ",", "SmallVectorImpl", "<", "SDValue", ">", "&", "InVals", ")", "const", "{", "MachineFunction", "&", "MF", "=", "DAG", ".", "getMachineFunction", "(", ")", ";", "MachineFrameInfo", "&", "MFI", "=", "MF", ".", "getFrameInfo", "(", ")", ";", "auto", "DL", "=", "DAG", ".", "getDataLayout", "(", ")", ";", "SmallVector", "<", "CCValAssign", ",", "", ">", "ArgLocs", ";", "CCState", "CCInfo", "(", "CallConv", ",", "isVarArg", ",", "DAG", ".", "getMachineFunction", "(", ")", ",", "ArgLocs", ",", "*", "DAG", ".", "getContext", "(", ")", ")", ";", "if", "(", "isVarArg", ")", "{", "CCInfo", ".", "AnalyzeFormalArguments", "(", "Ins", ",", "ArgCC__Vararg", ")", ";", "}", "else", "{", "analyzeArguments", "(", "nullptr", ",", "&", "MF", ".", "getFunction", "(", ")", ",", "&", "DL", ",", "Ins", ",", "ArgLocs", ",", "CCInfo", ")", ";", "}", "SDValue", "ArgValue", ";", "for", "(", "CCValAssign", "&", "VA", ":", "ArgLocs", ")", "{", "if", "(", "VA", ".", "isRegLoc", "(", ")", ")", "{", "EVT", "RegVT", "=", "VA", ".", "getLocVT", "(", ")", ";", "const", "TargetRegisterClass", "*", "RC", ";", "if", "(", "RegVT", "==", "", ")", "{", "RC", "=", "&", "", ";", "}", "else", "if", "(", "RegVT", "==", "", ")", "{", "RC", "=", "&", "", ";", "}", "else", "{", "llvm_unreachable", "(", "", ")", ";", "}", "unsigned", "Reg", "=", "MF", ".", "addLiveIn", "(", "VA", ".", "getLocReg", "(", ")", ",", "RC", ")", ";"], "ground_truth": ["ArgValue", "=", "DAG", ".", "getCopyFromReg", "(", "Chain", ",", "dl", ",", "Reg", ",", "RegVT", ")", ";"], "File": "AVRISelLowering11", "Func": "LowerFormalArguments", "Target": "AVR", "Target_Clf": "MPU", "Compiler_Type": "LLVM", "Idx": 112987, "Length": 242, "Cover_Rate": 0.43214285714285716} {"Template_token": ["", "Flag", "=", "Chain", ".", "getValue", "(", "", ")", ";", "RetOps", ".", "push_back", "(", "DAG", ".", "getRegister", "(", "VA", ".", "getLocReg", "(", ")", ",", "VA", ".", "getLocVT", "(", ")", ")", ")", ";", "}", "if", "(", "MF", ".", "getFunction", "(", ")", ".", "getAttributes", "(", ")", ".", "hasFnAttr", "(", "Attribute", "::", "Naked", ")", ")", "{", "return", "Chain", ";", "}", "const", "MachineFunctionInfo", "*", "AFI", "=", "MF", ".", "getInfo", "<", "MachineFunctionInfo", ">", "(", ")", ";", "unsigned", "RetOpc", "=", "AFI", "->", "isInterruptOrSignalHandler", "(", ")", "?", "", ":", "", ";", "RetOps", "[", "", "]", "=", "Chain", ";"], "ground_truth": ["if", "(", "Flag", ".", "getNode", "(", ")", ")", "{"], "File": "AVRISelLowering11", "Func": "LowerReturn", "Target": "AVR", "Target_Clf": "MPU", "Compiler_Type": "LLVM", "Idx": 112988, "Length": 99, "Cover_Rate": 0.30368098159509205} {"Template_token": ["", "break", ";", "case", "", ":", "Opc8", "=", "", ";", "ShiftAmount", "=", "ShiftAmount", "%", "VT", ".", "getSizeInBits", "(", ")", ";", "break", ";", "case", "", ":", "Opc8", "=", "", ";", "ShiftAmount", "=", "ShiftAmount", "%", "VT", ".", "getSizeInBits", "(", ")", ";", "break", ";", "case", "", ":", "Opc8", "=", "", ";", "break", ";", "case", "", ":", "Opc8", "=", "", ";", "break", ";", "default", ":", "llvm_unreachable", "(", "", ")", ";", "}", "if", "(", "VT", ".", "getSizeInBits", "(", ")", "==", "", ")", "{", "if", "(", "Op", ".", "getOpcode", "(", ")", "==", "", "&&", "", "<=", "ShiftAmount", "&&", "ShiftAmount", "<", "", ")", "{", "Victim", "=", "DAG", ".", "getNode", "(", "", ",", "dl", ",", "VT", ",", "Victim", ")", ";", "Victim", "=", "DAG", ".", "getNode", "(", "", ",", "dl", ",", "VT", ",", "Victim", ",", "DAG", ".", "getConstant", "(", "", ",", "dl", ",", "VT", ")", ")", ";", "ShiftAmount", "-=", "", ";", "}", "else", "if", "(", "Op", ".", "getOpcode", "(", ")", "==", "", "&&", "", "<=", "ShiftAmount", "&&", "ShiftAmount", "<", "", ")", "{", "Victim", "=", "DAG", ".", "getNode", "(", "", ",", "dl", ",", "VT", ",", "Victim", ")", ";", "Victim", "=", "DAG", ".", "getNode", "(", "", ",", "dl", ",", "VT", ",", "Victim", ",", "DAG", ".", "getConstant", "(", "", ",", "dl", ",", "VT", ")", ")", ";", "ShiftAmount", "-=", "", ";", "}", "else", "if", "(", "Op", ".", "getOpcode", "(", ")", "==", "", "&&", "ShiftAmount", "==", "", ")", "{", "Victim", "=", "DAG", ".", "getNode", "(", "", ",", "dl", ",", "VT", ",", "Victim", ",", "DAG", ".", "getConstant", "(", "", ",", "dl", ",", "VT", ")", ")", ";", "ShiftAmount", "=", "", ";", "}", "else", "if", "(", "Op", ".", "getOpcode", "(", ")", "==", "", "&&", "ShiftAmount", "==", "", ")", "{", "Victim", "=", "DAG", ".", "getNode", "(", "", ",", "dl", ",", "VT", ",", "Victim", ",", "DAG", ".", "getConstant", "(", "", ",", "dl", ",", "VT", ")", ")", ";", "ShiftAmount", "=", "", ";", "}", "else", "if", "(", "Op", ".", "getOpcode", "(", ")", "==", "", "&&", "ShiftAmount", "==", "", ")", "{", "Victim", "=", "DAG", ".", "getNode", "(", "", ",", "dl", ",", "VT", ",", "Victim", ",", "DAG", ".", "getConstant", "(", "", ",", "dl", ",", "VT", ")", ")", ";", "ShiftAmount", "=", "", ";", "}", "}", "else", "if", "(", "VT", ".", "getSizeInBits", "(", ")", "==", "", ")", "{", "if", "(", "", "<=", "ShiftAmount", "&&", "ShiftAmount", "<", "", ")", "switch", "(", "Op", ".", "getOpcode", "(", ")", ")", "{", "case", "", ":", "Victim", "=", "DAG", ".", "getNode", "(", "", ",", "dl", ",", "VT", ",", "Victim", ",", "DAG", ".", "getConstant", "(", "", ",", "dl", ",", "VT", ")", ")", ";", "ShiftAmount", "-=", "", ";", "break", ";", "case", "", ":", "Victim", "=", "DAG", ".", "getNode", "(", "", ",", "dl", ",", "VT", ",", "Victim", ",", "DAG", ".", "getConstant", "(", "", ",", "dl", ",", "VT", ")", ")", ";", "ShiftAmount", "-=", "", ";", "break", ";", "default", ":", "break", ";", "}", "else", "if", "(", "", "<=", "ShiftAmount", "&&", "ShiftAmount", "<", "", ")", "switch", "(", "Op", ".", "getOpcode", "(", ")", ")", "{", "case", "", ":", "Victim", "=", "DAG", ".", "getNode", "(", "", ",", "dl", ",", "VT", ",", "Victim", ",", "DAG", ".", "getConstant", "(", "", ",", "dl", ",", "VT", ")", ")", ";"], "ground_truth": ["ShiftAmount", "-=", "", ";"], "File": "AVRISelLowering11", "Func": "LowerShifts", "Target": "AVR", "Target_Clf": "MPU", "Compiler_Type": "LLVM", "Idx": 112989, "Length": 509, "Cover_Rate": 0.43172179813401185} {"Template_token": ["", "SDValue", "TargetLowering", "::", "LowerVASTART", "(", "SDValue", "Op", ",", "SelectionDAG", "&", "DAG", ")", "const", "{", "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": "AVRISelLowering11", "Func": "LowerVASTART", "Target": "AVR", "Target_Clf": "MPU", "Compiler_Type": "LLVM", "Idx": 112990, "Length": 70, "Cover_Rate": 0.56} {"Template_token": ["", "const", "MachineFunction", "&", "MF", "=", "DAG", ".", "getMachineFunction", "(", ")", ";", "const", "MachineFunctionInfo", "*", "AFI", "=", "MF", ".", "getInfo", "<", "MachineFunctionInfo", ">", "(", ")", ";", "const", "Value", "*", "SV", "=", "cast", "<", "SrcValueSDNode", ">", "(", "Op", ".", "getOperand", "(", "", ")", ")", "->", "getValue", "(", ")", ";", "auto", "DL", "=", "DAG", ".", "getDataLayout", "(", ")", ";", "SDLoc", "dl", "(", "Op", ")", ";", "SDValue", "FI", "=", "DAG", ".", "getFrameIndex", "(", "AFI", "->", "getVarArgsFrameIndex", "(", ")", ",", "getPointerTy", "(", "DL", ")", ")", ";"], "ground_truth": ["return", "DAG", ".", "getStore", "(", "Op", ".", "getOperand", "(", "", ")", ",", "dl", ",", "FI", ",", "Op", ".", "getOperand", "(", "", ")", ",", "MachinePointerInfo", "(", "SV", ")", ")", ";"], "File": "AVRISelLowering11", "Func": "LowerVASTART", "Target": "AVR", "Target_Clf": "MPU", "Compiler_Type": "LLVM", "Idx": 112991, "Length": 110, "Cover_Rate": 0.88} {"Template_token": ["", "bool", "UseStack", "=", "false", ";", "for", "(", "unsigned", "i", "=", "", ";", "i", "!=", "NumArgs", ";", ")", "{", "MVT", "VT", "=", "Args", "[", "i", "]", ".", "VT", ";", "unsigned", "ArgIndex", "=", "Args", "[", "i", "]", ".", "OrigArgIndex", ";", "unsigned", "TotalBytes", "=", "VT", ".", "getStoreSize", "(", ")", ";", "unsigned", "j", "=", "i", "+", "", ";", "for", "(", ";", "j", "!=", "NumArgs", ";", "++", "j", ")", "{", "if", "(", "Args", "[", "j", "]", ".", "OrigArgIndex", "!=", "ArgIndex", ")", "break", ";", "TotalBytes", "+=", "Args", "[", "j", "]", ".", "VT", ".", "getStoreSize", "(", ")", ";", "}", "TotalBytes", "=", "alignTo", "(", "TotalBytes", ",", "", ")", ";", "if", "(", "TotalBytes", "==", "", ")", "continue", ";", "unsigned", "RegIdx", "=", "RegLastIdx", "+", "TotalBytes", ";", "RegLastIdx", "=", "RegIdx", ";", "if", "(", "RegIdx", ">=", "RegList8", ".", "size", "(", ")", ")", "{", "UseStack", "=", "true", ";", "}", "for", "(", ";", "i", "!=", "j", ";", "++", "i", ")", "{"], "ground_truth": ["MVT", "VT", "=", "Args", "[", "i", "]", ".", "VT", ";"], "File": "AVRISelLowering12", "Func": "analyzeArguments", "Target": "AVR", "Target_Clf": "MPU", "Compiler_Type": "LLVM", "Idx": 112992, "Length": 157, "Cover_Rate": 0.3488888888888889} {"Template_token": ["", "TotalBytes", "=", "alignTo", "(", "TotalBytes", ",", "", ")", ";", "if", "(", "TotalBytes", "==", "", ")", "continue", ";", "unsigned", "RegIdx", "=", "RegLastIdx", "+", "TotalBytes", ";", "RegLastIdx", "=", "RegIdx", ";", "if", "(", "RegIdx", ">=", "RegList8", ".", "size", "(", ")", ")", "{", "UseStack", "=", "true", ";", "}", "for", "(", ";", "i", "!=", "j", ";", "++", "i", ")", "{", "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", ";"], "ground_truth": ["if", "(", "VT", "==", "", ")", "{"], "File": "AVRISelLowering12", "Func": "analyzeArguments", "Target": "AVR", "Target_Clf": "MPU", "Compiler_Type": "LLVM", "Idx": 112993, "Length": 144, "Cover_Rate": 0.32} {"Template_token": ["", "}", "else", "{", "RegList8", "=", "makeArrayRef", "(", "RegList8", ",", "array_lengthof", "(", "RegList8", ")", ")", ";", "RegList16", "=", "makeArrayRef", "(", "RegList16", ",", "array_lengthof", "(", "RegList16", ")", ")", ";", "}", "if", "(", "TotalBytes", ">", "", ")", "{", "TotalBytes", "=", "", ";", "}", "else", "{", "TotalBytes", "=", "alignTo", "(", "TotalBytes", ",", "", ")", ";", "}", "int", "RegIdx", "=", "TotalBytes", "-", "", ";", "for", "(", "unsigned", "i", "=", "", ";", "i", "!=", "NumArgs", ";", "++", "i", ")", "{"], "ground_truth": ["MVT", "VT", "=", "Args", "[", "i", "]", ".", "VT", ";"], "File": "AVRISelLowering12", "Func": "analyzeReturnValues", "Target": "AVR", "Target_Clf": "MPU", "Compiler_Type": "LLVM", "Idx": 112994, "Length": 84, "Cover_Rate": 0.3157894736842105} {"Template_token": ["", "int", "RegIdx", "=", "TotalBytes", "-", "", ";", "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", ")", ")", ";", "RegIdx", "-=", "VT", ".", "getStoreSize", "(", ")", ";", "}"], "ground_truth": ["}"], "File": "AVRISelLowering12", "Func": "analyzeReturnValues", "Target": "AVR", "Target_Clf": "MPU", "Compiler_Type": "LLVM", "Idx": 112995, "Length": 123, "Cover_Rate": 0.462406015037594} {"Template_token": ["", "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", ";", "}", "}", "break", ";", "case", "'K'", ":", "if", "(", "const", "ConstantInt", "*", "C", "=", "dyn_cast", "<", "ConstantInt", ">", "(", "CallOperandVal", ")", ")", "{", "if", "(", "C", "->", "getZExtValue", "(", ")", "==", "", ")", "{", "weight", "=", "CW_Constant", ";", "}", "}", "break", ";", "case", "'L'", ":", "if", "(", "const", "ConstantInt", "*", "C", "=", "dyn_cast", "<", "ConstantInt", ">", "(", "CallOperandVal", ")", ")", "{", "if", "(", "C", "->", "getZExtValue", "(", ")", "==", "", ")", "{", "weight", "=", "CW_Constant", ";", "}", "}"], "ground_truth": ["break", ";"], "File": "AVRISelLowering12", "Func": "getSingleConstraintMatchWeight", "Target": "AVR", "Target_Clf": "MPU", "Compiler_Type": "LLVM", "Idx": 112996, "Length": 205, "Cover_Rate": 0.3609154929577465} {"Template_token": ["", "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", ";", "}", "}", "break", ";", "case", "'K'", ":", "if", "(", "const", "ConstantInt", "*", "C", "=", "dyn_cast", "<", "ConstantInt", ">", "(", "CallOperandVal", ")", ")", "{", "if", "(", "C", "->", "getZExtValue", "(", ")", "==", "", ")", "{", "weight", "=", "CW_Constant", ";", "}", "}", "break", ";", "case", "'L'", ":", "if", "(", "const", "ConstantInt", "*", "C", "=", "dyn_cast", "<", "ConstantInt", ">", "(", "CallOperandVal", ")", ")", "{", "if", "(", "C", "->", "getZExtValue", "(", ")", "==", "", ")", "{", "weight", "=", "CW_Constant", ";", "}", "}", "break", ";", "case", "'M'", ":", "if", "(", "const", "ConstantInt", "*", "C", "=", "dyn_cast", "<", "ConstantInt", ">", "(", "CallOperandVal", ")", ")", "{", "if", "(", "isUInt", "<", "", ">", "(", "C", "->", "getZExtValue", "(", ")", ")", ")", "{", "weight", "=", "CW_Constant", ";", "}", "}", "break", ";", "case", "'N'", ":", "if", "(", "const", "ConstantInt", "*", "C", "=", "dyn_cast", "<", "ConstantInt", ">", "(", "CallOperandVal", ")", ")", "{", "if", "(", "C", "->", "getSExtValue", "(", ")", "==", "-", "", ")", "{", "weight", "=", "CW_Constant", ";", "}", "}", "break", ";", "case", "'O'", ":", "if", "(", "const", "ConstantInt", "*", "C", "=", "dyn_cast", "<", "ConstantInt", ">", "(", "CallOperandVal", ")", ")", "{", "if", "(", "(", "C", "->", "getZExtValue", "(", ")", "==", "", ")", "||", "(", "C", "->", "getZExtValue", "(", ")", "==", "", ")", "||", "(", "C", "->", "getZExtValue", "(", ")", "==", "", ")", ")", "{", "weight", "=", "CW_Constant", ";", "}", "}", "break", ";", "case", "'P'", ":", "if", "(", "const", "ConstantInt", "*", "C", "=", "dyn_cast", "<", "ConstantInt", ">", "(", "CallOperandVal", ")", ")", "{", "if", "(", "C", "->", "getZExtValue", "(", ")", "==", "", ")", "{", "weight", "=", "CW_Constant", ";", "}", "}", "break", ";", "case", "'R'", ":", "if", "(", "const", "ConstantInt", "*", "C", "=", "dyn_cast", "<", "ConstantInt", ">", "(", "CallOperandVal", ")", ")", "{", "if", "(", "(", "C", "->", "getSExtValue", "(", ")", ">=", "-", "", ")", "&&", "(", "C", "->", "getSExtValue", "(", ")", "<=", "", ")", ")", "{", "weight", "=", "CW_Constant", ";"], "ground_truth": ["}"], "File": "AVRISelLowering12", "Func": "getSingleConstraintMatchWeight", "Target": "AVR", "Target_Clf": "MPU", "Compiler_Type": "LLVM", "Idx": 112997, "Length": 441, "Cover_Rate": 0.7764084507042254} {"Template_token": ["", "for", "(", "const", "ArgT", "&", "Arg", ":", "Args", ")", "{", "TotalBytes", "+=", "Arg", ".", "VT", ".", "getStoreSize", "(", ")", ";", "}", "return", "TotalBytes", ";"], "ground_truth": ["}"], "File": "AVRISelLowering12", "Func": "getTotalArgumentsSizeInBytes", "Target": "AVR", "Target_Clf": "MPU", "Compiler_Type": "LLVM", "Idx": 112998, "Length": 25, "Cover_Rate": 0.5813953488372093} {"Template_token": ["", "unsigned", "TotalBytes", "=", "", ";", "for", "(", "const", "ArgT", "&", "Arg", ":", "Args", ")", "{"], "ground_truth": ["TotalBytes", "+=", "Arg", ".", "VT", ".", "getStoreSize", "(", ")", ";"], "File": "AVRISelLowering12", "Func": "getTotalArgumentsSizeInBytes", "Target": "AVR", "Target_Clf": "MPU", "Compiler_Type": "LLVM", "Idx": 112999, "Length": 25, "Cover_Rate": 0.5813953488372093} {"Template_token": ["", "const", "TargetRegisterClass", "*", "RC", "=", "(", "Width", "==", "", ")", "?", "&", "", ":", "&", "", ";", "unsigned", "LoadOpcode", "=", "(", "Width", "==", "", ")", "?", "", ":", "", ";", "unsigned", "StoreOpcode", "=", "(", "Width", "==", "", ")", "?", "", ":", "", ";", "BuildMI", "(", "*", "BB", ",", "I", ",", "dl", ",", "TII", ".", "get", "(", "", ")", ",", "SCRATCH_REGISTER", ")", ".", "addImm", "(", "Subtarget", ".", "getIORegSREG", "(", ")", ")", ";", "BuildMI", "(", "*", "BB", ",", "I", ",", "dl", ",", "TII", ".", "get", "(", "", ")", ")", ".", "addImm", "(", "", ")", ";", "BuildMI", "(", "*", "BB", ",", "I", ",", "dl", ",", "TII", ".", "get", "(", "LoadOpcode", ")", ",", "MI", ".", "getOperand", "(", "", ")", ".", "getReg", "(", ")", ")", ".", "add", "(", "MI", ".", "getOperand", "(", "", ")", ")", ";", "Register", "Result", "=", "MRI", ".", "createVirtualRegister", "(", "RC", ")", ";", "BuildMI", "(", "*", "BB", ",", "I", ",", "dl", ",", "TII", ".", "get", "(", "Opcode", ")", ",", "Result", ")", ".", "addReg", "(", "MI", ".", "getOperand", "(", "", ")", ".", "getReg", "(", ")", ")", ".", "add", "(", "MI", ".", "getOperand", "(", "", ")", ")", ";"], "ground_truth": ["BuildMI", "(", "*", "BB", ",", "I", ",", "dl", ",", "TII", ".", "get", "(", "StoreOpcode", ")", ")", ".", "add", "(", "MI", ".", "getOperand", "(", "", ")", ")", ".", "addReg", "(", "Result", ")", ";"], "File": "AVRISelLowering12", "Func": "insertAtomicArithmeticOp", "Target": "AVR", "Target_Clf": "MPU", "Compiler_Type": "LLVM", "Idx": 113000, "Length": 216, "Cover_Rate": 0.6206896551724138} {"Template_token": ["", "const", "TargetInstrInfo", "&", "TII", "=", "*", "Subtarget", ".", "getInstrInfo", "(", ")", ";", "MachineBasicBlock", "::", "iterator", "I", "(", "MI", ")", ";"], "ground_truth": ["BuildMI", "(", "*", "BB", ",", "I", ",", "MI", ".", "getDebugLoc", "(", ")", ",", "TII", ".", "get", "(", "", ")", ")", ".", "add", "(", "MI", ".", "getOperand", "(", "", ")", ")", ".", "addReg", "(", "", ")", ";"], "File": "AVRISelLowering12", "Func": "insertCopyR1", "Target": "AVR", "Target_Clf": "MPU", "Compiler_Type": "LLVM", "Idx": 113001, "Length": 56, "Cover_Rate": 0.6511627906976745} {"Template_token": ["", "const", "TargetRegisterClass", "*", "RC", ";", "bool", "HasRepeatedOperand", "=", "false", ";", "MachineFunction", "*", "F", "=", "BB", "->", "getParent", "(", ")", ";", "MachineRegisterInfo", "&", "RI", "=", "F", "->", "getRegInfo", "(", ")", ";", "const", "TargetInstrInfo", "&", "TII", "=", "*", "Subtarget", ".", "getInstrInfo", "(", ")", ";", "DebugLoc", "dl", "=", "MI", ".", "getDebugLoc", "(", ")", ";", "switch", "(", "MI", ".", "getOpcode", "(", ")", ")", "{", "default", ":", "llvm_unreachable", "(", "", ")", ";", "case", "", ":", "Opc", "=", "", ";", "RC", "=", "&", "", ";", "HasRepeatedOperand", "=", "true", ";", "break", ";", "case", "", ":", "Opc", "=", "", ";", "RC", "=", "&", "", ";", "break", ";", "case", "", ":", "Opc", "=", "", ";", "RC", "=", "&", "", ";", "break", ";", "case", "", ":", "Opc", "=", "", ";", "RC", "=", "&", "", ";", "break", ";", "case", "", ":", "Opc", "=", "", ";", "RC", "=", "&", "", ";", "break", ";", "case", "", ":", "Opc", "=", "", ";", "RC", "=", "&", "", ";", "break", ";", "case", "", ":", "Opc", "=", "", ";", "RC", "=", "&", "", ";", "break", ";", "case", "", ":", "Opc", "=", "", ";", "RC", "=", "&", "", ";", "break", ";", "case", "", ":", "Opc", "=", "", ";", "RC", "=", "&", "", ";", "break", ";", "case", "", ":", "Opc", "=", "", ";", "RC", "=", "&", "", ";", "break", ";", "}", "const", "BasicBlock", "*", "LLVM_BB", "=", "BB", "->", "getBasicBlock", "(", ")", ";", "MachineFunction", "::", "iterator", "I", ";", "for", "(", "I", "=", "BB", "->", "getIterator", "(", ")", ";", "I", "!=", "F", "->", "end", "(", ")", "&&", "&", "(", "*", "I", ")", "!=", "BB", ";", "++", "I", ")", ";", "if", "(", "I", "!=", "F", "->", "end", "(", ")", ")", "++", "I", ";", "MachineBasicBlock", "*", "LoopBB", "=", "F", "->", "CreateMachineBasicBlock", "(", "LLVM_BB", ")", ";", "MachineBasicBlock", "*", "CheckBB", "=", "F", "->", "CreateMachineBasicBlock", "(", "LLVM_BB", ")", ";", "MachineBasicBlock", "*", "RemBB", "=", "F", "->", "CreateMachineBasicBlock", "(", "LLVM_BB", ")", ";", "F", "->", "insert", "(", "I", ",", "LoopBB", ")", ";", "F", "->", "insert", "(", "I", ",", "CheckBB", ")", ";", "F", "->", "insert", "(", "I", ",", "RemBB", ")", ";", "RemBB", "->", "splice", "(", "RemBB", "->", "begin", "(", ")", ",", "BB", ",", "std", "::", "next", "(", "MachineBasicBlock", "::", "iterator", "(", "MI", ")", ")", ",", "BB", "->", "end", "(", ")", ")", ";", "RemBB", "->", "transferSuccessorsAndUpdatePHIs", "(", "BB", ")", ";", "BB", "->", "addSuccessor", "(", "CheckBB", ")", ";", "LoopBB", "->", "addSuccessor", "(", "CheckBB", ")", ";", "CheckBB", "->", "addSuccessor", "(", "LoopBB", ")", ";", "CheckBB", "->", "addSuccessor", "(", "RemBB", ")", ";", "Register", "ShiftAmtReg", "=", "RI", ".", "createVirtualRegister", "(", "&", "", ")", ";"], "ground_truth": ["Register", "ShiftAmtReg2", "=", "RI", ".", "createVirtualRegister", "(", "&", "", ")", ";"], "File": "AVRISelLowering12", "Func": "insertShift", "Target": "AVR", "Target_Clf": "MPU", "Compiler_Type": "LLVM", "Idx": 113002, "Length": 419, "Cover_Rate": 0.5317258883248731} {"Template_token": ["", "}", "if", "(", "Offs", "<", "", ")", "Offs", "=", "-", "Offs", ";", "if", "(", "AM", ".", "BaseGV", "==", "nullptr", "&&", "AM", ".", "HasBaseReg", "&&", "AM", ".", "Scale", "==", "", "&&", "isUInt", "<", "", ">", "(", "Offs", ")", ")", "{", "return", "true", ";"], "ground_truth": ["}"], "File": "AVRISelLowering12", "Func": "isLegalAddressingMode", "Target": "AVR", "Target_Clf": "MPU", "Compiler_Type": "LLVM", "Idx": 113003, "Length": 43, "Cover_Rate": 0.3359375} {"Template_token": ["", "return", "true", ";", "}", "if", "(", "isa", "<", "PointerType", ">", "(", "Ty", ")", "&&", "AS", "==", "", ")", "{", "return", "false", ";", "}", "if", "(", "Offs", "<", "", ")", "Offs", "=", "-", "Offs", ";", "if", "(", "AM", ".", "BaseGV", "==", "nullptr", "&&", "AM", ".", "HasBaseReg", "&&", "AM", ".", "Scale", "==", "", "&&", "isUInt", "<", "", ">", "(", "Offs", ")", ")", "{", "return", "true", ";", "}", "return", "false", ";"], "ground_truth": ["}"], "File": "AVRISelLowering12", "Func": "isLegalAddressingMode", "Target": "AVR", "Target_Clf": "MPU", "Compiler_Type": "LLVM", "Idx": 113004, "Length": 69, "Cover_Rate": 0.5390625} {"Template_token": ["", "case", "'L'", ":", "case", "'M'", ":", "case", "'N'", ":", "case", "'O'", ":", "case", "'P'", ":", "case", "'R'", ":", "{", "const", "ConstantSDNode", "*", "C", "=", "dyn_cast", "<", "ConstantSDNode", ">", "(", "Op", ")", ";", "if", "(", "!", "C", ")", "{", "return", ";", "}", "int64_t", "CVal64", "=", "C", "->", "getSExtValue", "(", ")", ";", "uint64_t", "CUVal64", "=", "C", "->", "getZExtValue", "(", ")", ";", "switch", "(", "ConstraintLetter", ")", "{", "case", "'I'", ":", "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", ";"], "ground_truth": ["case", "'P'", ":"], "File": "AVRISelLowering12", "Func": "LowerAsmOperandForConstraint", "Target": "AVR", "Target_Clf": "MPU", "Compiler_Type": "LLVM", "Idx": 113005, "Length": 289, "Cover_Rate": 0.5557692307692308} {"Template_token": ["", "switch", "(", "ConstraintLetter", ")", "{", "case", "'I'", ":", "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", ";"], "ground_truth": ["case", "'R'", ":"], "File": "AVRISelLowering12", "Func": "LowerAsmOperandForConstraint", "Target": "AVR", "Target_Clf": "MPU", "Compiler_Type": "LLVM", "Idx": 113006, "Length": 256, "Cover_Rate": 0.49230769230769234} {"Template_token": ["", "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", ")", ";"], "ground_truth": ["for", "(", "auto", "Reg", ":", "RegsToPass", ")", "{"], "File": "AVRISelLowering12", "Func": "LowerCall", "Target": "AVR", "Target_Clf": "MPU", "Compiler_Type": "LLVM", "Idx": 113007, "Length": 340, "Cover_Rate": 0.33563672260612043} {"Template_token": ["", "if", "(", "CallConv", "==", "CallingConv", "::", "_BUILTIN", ")", "{", "CCInfo", ".", "AnalyzeCallResult", "(", "Ins", ",", "RetCC__BUILTIN", ")", ";", "}", "else", "{", "analyzeReturnValues", "(", "Ins", ",", "CCInfo", ",", "Subtarget", ".", "hasTinyEncoding", "(", ")", ")", ";", "}", "for", "(", "CCValAssign", "const", "&", "RVLoc", ":", "RVLocs", ")", "{", "Chain", "=", "DAG", ".", "getCopyFromReg", "(", "Chain", ",", "dl", ",", "RVLoc", ".", "getLocReg", "(", ")", ",", "RVLoc", ".", "getValVT", "(", ")", ",", "InFlag", ")", ".", "getValue", "(", "", ")", ";"], "ground_truth": ["InFlag", "=", "Chain", ".", "getValue", "(", "", ")", ";"], "File": "AVRISelLowering12", "Func": "LowerCallResult", "Target": "AVR", "Target_Clf": "MPU", "Compiler_Type": "LLVM", "Idx": 113008, "Length": 84, "Cover_Rate": 0.4692737430167598} {"Template_token": ["", "RC", "=", "&", "", ";", "}", "else", "{", "llvm_unreachable", "(", "", ")", ";", "}", "Register", "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", ")", ")", ")", ";", "}"], "ground_truth": ["}"], "File": "AVRISelLowering12", "Func": "LowerFormalArguments", "Target": "AVR", "Target_Clf": "MPU", "Compiler_Type": "LLVM", "Idx": 113009, "Length": 295, "Cover_Rate": 0.5212014134275619} {"Template_token": ["", "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", "(", ")", ")", ")", ";", "}", "if", "(", "MF", ".", "getFunction", "(", ")", ".", "getAttributes", "(", ")", ".", "hasFnAttr", "(", "Attribute", "::", "Naked", ")", ")", "{", "return", "Chain", ";", "}", "const", "MachineFunctionInfo", "*", "AFI", "=", "MF", ".", "getInfo", "<", "MachineFunctionInfo", ">", "(", ")", ";"], "ground_truth": ["unsigned", "RetOpc", "=", "AFI", "->", "isInterruptOrSignalHandler", "(", ")", "?", "", ":", "", ";"], "File": "AVRISelLowering12", "Func": "LowerReturn", "Target": "AVR", "Target_Clf": "MPU", "Compiler_Type": "LLVM", "Idx": 113010, "Length": 127, "Cover_Rate": 0.3825301204819277} {"Template_token": ["", "CCState", "CCInfo", "(", "CallConv", ",", "isVarArg", ",", "DAG", ".", "getMachineFunction", "(", ")", ",", "RVLocs", ",", "*", "DAG", ".", "getContext", "(", ")", ")", ";", "MachineFunction", "&", "MF", "=", "DAG", ".", "getMachineFunction", "(", ")", ";", "if", "(", "CallConv", "==", "CallingConv", "::", "_BUILTIN", ")", "{", "CCInfo", ".", "AnalyzeReturn", "(", "Outs", ",", "RetCC__BUILTIN", ")", ";", "}", "else", "{", "analyzeReturnValues", "(", "Outs", ",", "CCInfo", ",", "Subtarget", ".", "hasTinyEncoding", "(", ")", ")", ";", "}", "SDValue", "Flag", ";", "SmallVector", "<", "SDValue", ",", "", ">", "RetOps", "(", "", ",", "Chain", ")", ";", "for", "(", "unsigned", "i", "=", "", ",", "e", "=", "RVLocs", ".", "size", "(", ")", ";", "i", "!=", "e", ";", "++", "i", ")", "{", "CCValAssign", "&", "VA", "=", "RVLocs", "[", "i", "]", ";", "assert", "(", "VA", ".", "isRegLoc", "(", ")", "&&", "", ")", ";", "Chain", "=", "DAG", ".", "getCopyToReg", "(", "Chain", ",", "dl", ",", "VA", ".", "getLocReg", "(", ")", ",", "OutVals", "[", "i", "]", ",", "Flag", ")", ";", "Flag", "=", "Chain", ".", "getValue", "(", "", ")", ";", "RetOps", ".", "push_back", "(", "DAG", ".", "getRegister", "(", "VA", ".", "getLocReg", "(", ")", ",", "VA", ".", "getLocVT", "(", ")", ")", ")", ";", "}", "if", "(", "MF", ".", "getFunction", "(", ")", ".", "getAttributes", "(", ")", ".", "hasFnAttr", "(", "Attribute", "::", "Naked", ")", ")", "{", "return", "Chain", ";", "}", "const", "MachineFunctionInfo", "*", "AFI", "=", "MF", ".", "getInfo", "<", "MachineFunctionInfo", ">", "(", ")", ";", "unsigned", "RetOpc", "=", "AFI", "->", "isInterruptOrSignalHandler", "(", ")", "?", "", ":", "", ";", "RetOps", "[", "", "]", "=", "Chain", ";", "if", "(", "Flag", ".", "getNode", "(", ")", ")", "{", "RetOps", ".", "push_back", "(", "Flag", ")", ";", "}", "return", "DAG", ".", "getNode", "(", "RetOpc", ",", "dl", ",", "", ",", "RetOps", ")", ";"], "ground_truth": ["}"], "File": "AVRISelLowering12", "Func": "LowerReturn", "Target": "AVR", "Target_Clf": "MPU", "Compiler_Type": "LLVM", "Idx": 113011, "Length": 273, "Cover_Rate": 0.822289156626506} {"Template_token": ["", "switch", "(", "Constraint", "[", "", "]", ")", "{", "case", "'a'", ":", "return", "std", "::", "make_pair", "(", "", ",", "&", "", ")", ";", "case", "'b'", ":", "return", "std", "::", "make_pair", "(", "", ",", "&", "", ")", ";", "case", "'d'", ":", "return", "std", "::", "make_pair", "(", "", ",", "&", "", ")", ";", "case", "'l'", ":", "return", "std", "::", "make_pair", "(", "", ",", "&", "", ")", ";", "case", "'e'", ":", "return", "std", "::", "make_pair", "(", "", ",", "&", "", ")", ";", "case", "'q'", ":", "return", "std", "::", "make_pair", "(", "", ",", "&", "", ")", ";", "case", "'r'", ":", "if", "(", "VT", "==", "", ")", "return", "std", "::", "make_pair", "(", "", ",", "&", "", ")", ";", "return", "std", "::", "make_pair", "(", "", ",", "&", "", ")", ";", "case", "'t'", ":", "return", "std", "::", "make_pair", "(", "unsigned", "(", "", ")", ",", "&", "", ")", ";", "case", "'w'", ":", "return", "std", "::", "make_pair", "(", "", ",", "&", "", ")", ";", "case", "'x'", ":", "case", "'X'", ":", "return", "std", "::", "make_pair", "(", "unsigned", "(", "", ")", ",", "&", "", ")", ";", "case", "'y'", ":", "case", "'Y'", ":", "return", "std", "::", "make_pair", "(", "unsigned", "(", "", ")", ",", "&", "", ")", ";", "case", "'z'", ":", "case", "'Z'", ":", "return", "std", "::", "make_pair", "(", "unsigned", "(", "", ")", ",", "&", "", ")", ";", "default", ":", "break", ";", "}", "}"], "ground_truth": ["return", "TargetLowering", "::", "getRegForInlineAsmConstraint", "(", "Subtarget", ".", "getRegisterInfo", "(", ")", ",", "Constraint", ",", "VT", ")", ";"], "File": "AVRISelLowering13", "Func": "getRegForInlineAsmConstraint", "Target": "AVR", "Target_Clf": "MPU", "Compiler_Type": "LLVM", "Idx": 113013, "Length": 236, "Cover_Rate": 0.7588424437299035} {"Template_token": ["", "SDValue", "Victim", "=", "N", "->", "getOperand", "(", "", ")", ";", "switch", "(", "Op", ".", "getOpcode", "(", ")", ")", "{", "case", "", ":", "Opc8", "=", "", ";", "break", ";", "case", "", ":", "Opc8", "=", "", ";", "ShiftAmount", "=", "ShiftAmount", "%", "VT", ".", "getSizeInBits", "(", ")", ";", "break", ";", "case", "", ":", "Opc8", "=", "", ";", "ShiftAmount", "=", "ShiftAmount", "%", "VT", ".", "getSizeInBits", "(", ")", ";", "break", ";", "case", "", ":", "Opc8", "=", "", ";", "break", ";", "case", "", ":", "Opc8", "=", "", ";", "break", ";", "default", ":", "llvm_unreachable", "(", "", ")", ";", "}", "if", "(", "VT", ".", "getSizeInBits", "(", ")", "==", "", ")", "{", "if", "(", "Op", ".", "getOpcode", "(", ")", "==", "", "&&", "", "<=", "ShiftAmount", "&&", "ShiftAmount", "<", "", ")", "{", "Victim", "=", "DAG", ".", "getNode", "(", "", ",", "dl", ",", "VT", ",", "Victim", ")", ";", "Victim", "=", "DAG", ".", "getNode", "(", "", ",", "dl", ",", "VT", ",", "Victim", ",", "DAG", ".", "getConstant", "(", "", ",", "dl", ",", "VT", ")", ")", ";", "ShiftAmount", "-=", "", ";", "}", "else", "if", "(", "Op", ".", "getOpcode", "(", ")", "==", "", "&&", "", "<=", "ShiftAmount", "&&", "ShiftAmount", "<", "", ")", "{", "Victim", "=", "DAG", ".", "getNode", "(", "", ",", "dl", ",", "VT", ",", "Victim", ")", ";", "Victim", "=", "DAG", ".", "getNode", "(", "", ",", "dl", ",", "VT", ",", "Victim", ",", "DAG", ".", "getConstant", "(", "", ",", "dl", ",", "VT", ")", ")", ";", "ShiftAmount", "-=", "", ";", "}", "else", "if", "(", "Op", ".", "getOpcode", "(", ")", "==", "", "&&", "ShiftAmount", "==", "", ")", "{", "Victim", "=", "DAG", ".", "getNode", "(", "", ",", "dl", ",", "VT", ",", "Victim", ")", ";", "ShiftAmount", "=", "", ";", "}", "else", "if", "(", "Op", ".", "getOpcode", "(", ")", "==", "", "&&", "ShiftAmount", "==", "", ")", "{", "Victim", "=", "DAG", ".", "getNode", "(", "", ",", "dl", ",", "VT", ",", "Victim", ")", ";", "ShiftAmount", "=", "", ";", "}", "else", "if", "(", "Op", ".", "getOpcode", "(", ")", "==", "", "&&", "ShiftAmount", "==", "", ")", "{", "Victim", "=", "DAG", ".", "getNode", "(", "", ",", "dl", ",", "VT", ",", "Victim", ")", ";", "ShiftAmount", "=", "", ";", "}", "}", "else", "if", "(", "VT", ".", "getSizeInBits", "(", ")", "==", "", ")", "{", "if", "(", "", "<=", "ShiftAmount", "&&", "ShiftAmount", "<", "", ")", "switch", "(", "Op", ".", "getOpcode", "(", ")", ")", "{", "case", "", ":"], "ground_truth": ["Victim", "=", "DAG", ".", "getNode", "(", "", ",", "dl", ",", "VT", ",", "Victim", ")", ";"], "File": "AVRISelLowering13", "Func": "LowerShifts", "Target": "AVR", "Target_Clf": "MPU", "Compiler_Type": "LLVM", "Idx": 113015, "Length": 392, "Cover_Rate": 0.3666978484565014} {"Template_token": ["", "CCInfo", ".", "AnalyzeFormalArguments", "(", "*", "Ins", ",", "ArgCC__Vararg", ")", ";", "}", "return", ";", "}", "SmallVector", "<", "unsigned", ",", "", ">", "Args", ";", "if", "(", "IsCall", ")", "{", "parseExternFuncCallArgs", "(", "*", "Outs", ",", "Args", ")", ";", "}", "else", "{", "assert", "(", "F", "!=", "nullptr", "&&", "", ")", ";", "parseFunctionArgs", "(", "F", ",", "TD", ",", "Args", ")", ";", "}", "unsigned", "RegsLeft", "=", "array_lengthof", "(", "RegList8", ")", ",", "ValNo", "=", "", ";", "bool", "UsesStack", "=", "false", ";", "for", "(", "unsigned", "i", "=", "", ",", "pos", "=", "", ",", "e", "=", "Args", ".", "size", "(", ")", ";", "i", "!=", "e", ";", "++", "i", ")", "{", "unsigned", "Size", "=", "Args", "[", "i", "]", ";", "if", "(", "Size", "==", "", ")", "continue", ";", "MVT", "LocVT", "=", "(", "IsCall", ")", "?", "(", "*", "Outs", ")", "[", "pos", "]", ".", "VT", ":", "(", "*", "Ins", ")", "[", "pos", "]", ".", "VT", ";", "if", "(", "!", "UsesStack", "&&", "(", "Size", "<=", "RegsLeft", ")", ")", "{", "const", "MCPhysReg", "*", "RegList", "=", "(", "LocVT", "==", "", ")", "?", "RegList16", ":", "RegList8", ";", "for", "(", "unsigned", "j", "=", "", ";", "j", "!=", "Size", ";", "++", "j", ")", "{", "unsigned", "Reg", "=", "CCInfo", ".", "AllocateReg", "(", "ArrayRef", "<", "MCPhysReg", ">", "(", "RegList", ",", "array_lengthof", "(", "RegList8", ")", ")", ")", ";", "CCInfo", ".", "addLoc", "(", "CCValAssign", "::", "getReg", "(", "ValNo", "++", ",", "LocVT", ",", "Reg", ",", "LocVT", ",", "CCValAssign", "::", "Full", ")", ")", ";", "--", "RegsLeft", ";", "}", "std", "::", "reverse", "(", "ArgLocs", ".", "begin", "(", ")", "+", "pos", ",", "ArgLocs", ".", "begin", "(", ")", "+", "pos", "+", "Size", ")", ";", "}", "else", "{", "UsesStack", "=", "true", ";"], "ground_truth": ["for", "(", "unsigned", "j", "=", "", ";", "j", "!=", "Size", ";", "++", "j", ")", "{"], "File": "AVRISelLowering16", "Func": "analyzeStandardArguments", "Target": "AVR", "Target_Clf": "MPU", "Compiler_Type": "LLVM", "Idx": 113017, "Length": 279, "Cover_Rate": 0.5224719101123596} {"Template_token": ["", "++", "I", ";", "MF", "->", "insert", "(", "I", ",", "trueMBB", ")", ";", "MF", "->", "insert", "(", "I", ",", "falseMBB", ")", ";", "trueMBB", "->", "splice", "(", "trueMBB", "->", "begin", "(", ")", ",", "MBB", ",", "std", "::", "next", "(", "MachineBasicBlock", "::", "iterator", "(", "MI", ")", ")", ",", "MBB", "->", "end", "(", ")", ")", ";", "trueMBB", "->", "transferSuccessorsAndUpdatePHIs", "(", "MBB", ")", ";", "", "CC", "=", "(", "", ")", "MI", ".", "getOperand", "(", "", ")", ".", "getImm", "(", ")", ";", "BuildMI", "(", "MBB", ",", "dl", ",", "TII", ".", "getBrCond", "(", "CC", ")", ")", ".", "addMBB", "(", "trueMBB", ")", ";", "BuildMI", "(", "MBB", ",", "dl", ",", "TII", ".", "get", "(", "", ")", ")", ".", "addMBB", "(", "falseMBB", ")", ";", "MBB", "->", "addSuccessor", "(", "falseMBB", ")", ";", "MBB", "->", "addSuccessor", "(", "trueMBB", ")", ";", "BuildMI", "(", "falseMBB", ",", "dl", ",", "TII", ".", "get", "(", "", ")", ")", ".", "addMBB", "(", "trueMBB", ")", ";", "falseMBB", "->", "addSuccessor", "(", "trueMBB", ")", ";", "BuildMI", "(", "*", "trueMBB", ",", "trueMBB", "->", "begin", "(", ")", ",", "dl", ",", "TII", ".", "get", "(", "", ")", ",", "MI", ".", "getOperand", "(", "", ")", ".", "getReg", "(", ")", ")", ".", "addReg", "(", "MI", ".", "getOperand", "(", "", ")", ".", "getReg", "(", ")", ")", ".", "addMBB", "(", "MBB", ")", ".", "addReg", "(", "MI", ".", "getOperand", "(", "", ")", ".", "getReg", "(", ")", ")", ".", "addMBB", "(", "falseMBB", ")", ";", "MI", ".", "eraseFromParent", "(", ")", ";", "return", "trueMBB", ";"], "ground_truth": ["}"], "File": "AVRISelLowering16", "Func": "EmitInstrWithCustomInserter", "Target": "AVR", "Target_Clf": "MPU", "Compiler_Type": "LLVM", "Idx": 113018, "Length": 234, "Cover_Rate": 0.5246636771300448} {"Template_token": ["", "MachineFunction", "::", "iterator", "I", "=", "BB", "->", "getParent", "(", ")", "->", "begin", "(", ")", ";", "++", "I", ";", "MachineBasicBlock", "*", "LoopBB", "=", "F", "->", "CreateMachineBasicBlock", "(", "LLVM_BB", ")", ";", "MachineBasicBlock", "*", "RemBB", "=", "F", "->", "CreateMachineBasicBlock", "(", "LLVM_BB", ")", ";", "F", "->", "insert", "(", "I", ",", "LoopBB", ")", ";", "F", "->", "insert", "(", "I", ",", "RemBB", ")", ";", "RemBB", "->", "splice", "(", "RemBB", "->", "begin", "(", ")", ",", "BB", ",", "std", "::", "next", "(", "MachineBasicBlock", "::", "iterator", "(", "MI", ")", ")", ",", "BB", "->", "end", "(", ")", ")", ";", "RemBB", "->", "transferSuccessorsAndUpdatePHIs", "(", "BB", ")", ";", "BB", "->", "addSuccessor", "(", "LoopBB", ")", ";", "BB", "->", "addSuccessor", "(", "RemBB", ")", ";", "LoopBB", "->", "addSuccessor", "(", "RemBB", ")", ";", "LoopBB", "->", "addSuccessor", "(", "LoopBB", ")", ";", "unsigned", "ShiftAmtReg", "=", "RI", ".", "createVirtualRegister", "(", "&", "", ")", ";", "unsigned", "ShiftAmtReg2", "=", "RI", ".", "createVirtualRegister", "(", "&", "", ")", ";", "unsigned", "ShiftReg", "=", "RI", ".", "createVirtualRegister", "(", "RC", ")", ";", "unsigned", "ShiftReg2", "=", "RI", ".", "createVirtualRegister", "(", "RC", ")", ";", "unsigned", "ShiftAmtSrcReg", "=", "MI", ".", "getOperand", "(", "", ")", ".", "getReg", "(", ")", ";", "unsigned", "SrcReg", "=", "MI", ".", "getOperand", "(", "", ")", ".", "getReg", "(", ")", ";", "unsigned", "DstReg", "=", "MI", ".", "getOperand", "(", "", ")", ".", "getReg", "(", ")", ";", "BuildMI", "(", "BB", ",", "dl", ",", "TII", ".", "get", "(", "", ")", ")", ".", "addReg", "(", "ShiftAmtSrcReg", ")", ".", "addReg", "(", "", ")", ";", "BuildMI", "(", "BB", ",", "dl", ",", "TII", ".", "get", "(", "", ")", ")", ".", "addMBB", "(", "RemBB", ")", ";", "BuildMI", "(", "LoopBB", ",", "dl", ",", "TII", ".", "get", "(", "", ")", ",", "ShiftReg", ")", ".", "addReg", "(", "SrcReg", ")", ".", "addMBB", "(", "BB", ")", ".", "addReg", "(", "ShiftReg2", ")", ".", "addMBB", "(", "LoopBB", ")", ";", "BuildMI", "(", "LoopBB", ",", "dl", ",", "TII", ".", "get", "(", "", ")", ",", "ShiftAmtReg", ")", ".", "addReg", "(", "ShiftAmtSrcReg", ")", ".", "addMBB", "(", "BB", ")", ".", "addReg", "(", "ShiftAmtReg2", ")", ".", "addMBB", "(", "LoopBB", ")", ";"], "ground_truth": ["BuildMI", "(", "LoopBB", ",", "dl", ",", "TII", ".", "get", "(", "Opc", ")", ",", "ShiftReg2", ")", ".", "addReg", "(", "ShiftReg", ")", ";"], "File": "AVRISelLowering16", "Func": "insertShift", "Target": "AVR", "Target_Clf": "MPU", "Compiler_Type": "LLVM", "Idx": 113019, "Length": 344, "Cover_Rate": 0.4963924963924964} {"Template_token": ["", "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": "AVRISelLowering16", "Func": "isLegalAddressingMode", "Target": "AVR", "Target_Clf": "MPU", "Compiler_Type": "LLVM", "Idx": 113020, "Length": 63, "Cover_Rate": 0.5080645161290323} {"Template_token": ["", "return", "false", ";", "}", "if", "(", "Offs", "<", "", ")", "Offs", "=", "-", "Offs", ";", "if", "(", "AM", ".", "BaseGV", "==", "", "&&", "AM", ".", "HasBaseReg", "&&", "AM", ".", "Scale", "==", "", "&&", "isUInt", "<", "", ">", "(", "Offs", ")", ")", "{", "return", "true", ";", "}"], "ground_truth": ["return", "false", ";"], "File": "AVRISelLowering16", "Func": "isLegalAddressingMode", "Target": "AVR", "Target_Clf": "MPU", "Compiler_Type": "LLVM", "Idx": 113021, "Length": 49, "Cover_Rate": 0.3951612903225806} {"Template_token": ["", "SDValue", "Callee", "=", "DAG", ".", "getExternalSymbol", "(", "getLibcallName", "(", "LC", ")", ",", "getPointerTy", "(", "DAG", ".", "getDataLayout", "(", ")", ")", ")", ";", "Type", "*", "RetTy", "=", "(", "Type", "*", ")", "StructType", "::", "get", "(", "Ty", ",", "Ty", ",", "nullptr", ")", ";", "SDLoc", "dl", "(", "Op", ")", ";", "TargetLowering", "::", "CallLoweringInfo", "CLI", "(", "DAG", ")", ";", "CLI", ".", "setDebugLoc", "(", "dl", ")", ".", "setChain", "(", "InChain", ")", ".", "setCallee", "(", "getLibcallCallingConv", "(", "LC", ")", ",", "RetTy", ",", "Callee", ",", "std", "::", "move", "(", "Args", ")", ")", ".", "setInRegister", "(", ")", ".", "setSExtResult", "(", "isSigned", ")", ".", "setZExtResult", "(", "!", "isSigned", ")", ";", "std", "::", "pair", "<", "SDValue", ",", "SDValue", ">", "CallInfo", "=", "LowerCallTo", "(", "CLI", ")", ";"], "ground_truth": ["return", "CallInfo", ".", "first", ";"], "File": "AVRISelLowering16", "Func": "LowerDivRem", "Target": "AVR", "Target_Clf": "MPU", "Compiler_Type": "LLVM", "Idx": 113023, "Length": 121, "Cover_Rate": 0.31758530183727035} {"Template_token": ["", "analyzeArguments", "(", "nullptr", ",", "MF", ".", "getFunction", "(", ")", ",", "&", "DL", ",", "", ",", "&", "Ins", ",", "CallConv", ",", "ArgLocs", ",", "CCInfo", ",", "false", ",", "isVarArg", ")", ";", "SDValue", "ArgValue", ";", "for", "(", "CCValAssign", "&", "VA", ":", "ArgLocs", ")", "{", "if", "(", "VA", ".", "isRegLoc", "(", ")", ")", "{", "EVT", "RegVT", "=", "VA", ".", "getLocVT", "(", ")", ";", "const", "TargetRegisterClass", "*", "RC", ";", "if", "(", "RegVT", "==", "", ")", "{", "RC", "=", "&", "", ";", "}", "else", "if", "(", "RegVT", "==", "", ")", "{", "RC", "=", "&", "", ";", "}", "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", "(", ")", ")", ")", ";"], "ground_truth": ["ArgValue", "=", "DAG", ".", "getNode", "(", "", ",", "dl", ",", "VA", ".", "getValVT", "(", ")", ",", "ArgValue", ")", ";"], "File": "AVRISelLowering16", "Func": "LowerFormalArguments", "Target": "AVR", "Target_Clf": "MPU", "Compiler_Type": "LLVM", "Idx": 113024, "Length": 281, "Cover_Rate": 0.5090579710144928} {"Template_token": ["", "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", ">", "(", ")", ";", "AFI", "->", "setVarArgsFrameIndex", "(", "MFI", ".", "CreateFixedObject", "(", "", ",", "StackSize", ",", "true", ")", ")", ";", "}", "return", "Chain", ";"], "ground_truth": ["}"], "File": "AVRISelLowering16", "Func": "LowerFormalArguments", "Target": "AVR", "Target_Clf": "MPU", "Compiler_Type": "LLVM", "Idx": 113025, "Length": 201, "Cover_Rate": 0.3641304347826087} {"Template_token": ["", "for", "(", "unsigned", "i", "=", "", ";", "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": ["if", "(", "MF", ".", "getFunction", "(", ")", "->", "getAttributes", "(", ")", ".", "hasAttribute", "(", "AttributeSet", "::", "FunctionIndex", ",", "Attribute", "::", "Naked", ")", ")", "{"], "File": "AVRISelLowering16", "Func": "LowerReturn", "Target": "AVR", "Target_Clf": "MPU", "Compiler_Type": "LLVM", "Idx": 113026, "Length": 115, "Cover_Rate": 0.34023668639053256} {"Template_token": ["", "case", "", ":", "return", "DAG", ".", "getNode", "(", "", ",", "dl", ",", "VT", ",", "N", "->", "getOperand", "(", "", ")", ",", "N", "->", "getOperand", "(", "", ")", ")", ";", "case", "", ":", "return", "DAG", ".", "getNode", "(", "", ",", "dl", ",", "VT", ",", "N", "->", "getOperand", "(", "", ")", ",", "N", "->", "getOperand", "(", "", ")", ")", ";", "case", "", ":", "return", "DAG", ".", "getNode", "(", "", ",", "dl", ",", "VT", ",", "N", "->", "getOperand", "(", "", ")", ",", "N", "->", "getOperand", "(", "", ")", ")", ";", "}", "}", "uint64_t", "ShiftAmount", "=", "cast", "<", "ConstantSDNode", ">", "(", "N", "->", "getOperand", "(", "", ")", ")", "->", "getZExtValue", "(", ")", ";", "SDValue", "Victim", "=", "N", "->", "getOperand", "(", "", ")", ";", "switch", "(", "Op", ".", "getOpcode", "(", ")", ")", "{", "case", "", ":", "Opc8", "=", "", ";"], "ground_truth": ["break", ";"], "File": "AVRISelLowering16", "Func": "LowerShifts", "Target": "AVR", "Target_Clf": "MPU", "Compiler_Type": "LLVM", "Idx": 113027, "Length": 137, "Cover_Rate": 0.43492063492063493} {"Template_token": ["", "for", "(", "Argument", "const", "&", "Arg", ":", "F", "->", "args", "(", ")", ")", "{", "unsigned", "Bytes", "=", "(", "TD", "->", "getTypeSizeInBits", "(", "Arg", ".", "getType", "(", ")", ")", "+", "", ")", "/", "", ";"], "ground_truth": ["Out", ".", "push_back", "(", "(", "Bytes", "+", "", ")", "/", "", ")", ";"], "File": "AVRISelLowering16", "Func": "parseFunctionArgs", "Target": "AVR", "Target_Clf": "MPU", "Compiler_Type": "LLVM", "Idx": 113028, "Length": 47, "Cover_Rate": 0.6619718309859155} {"Template_token": ["", "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", ";"], "ground_truth": ["for", "(", "I", "=", "MF", "->", "begin", "(", ")", ";", "I", "!=", "MF", "->", "end", "(", ")", "&&", "&", "(", "*", "I", ")", "!=", "MBB", ";", "++", "I", ")", ";"], "File": "AVRISelLowering17", "Func": "EmitInstrWithCustomInserter", "Target": "AVR", "Target_Clf": "MPU", "Compiler_Type": "LLVM", "Idx": 113029, "Length": 209, "Cover_Rate": 0.39065420560747666} {"Template_token": ["", "MF", "->", "insert", "(", "I", ",", "trueMBB", ")", ";", "MF", "->", "insert", "(", "I", ",", "falseMBB", ")", ";", "trueMBB", "->", "splice", "(", "trueMBB", "->", "begin", "(", ")", ",", "MBB", ",", "std", "::", "next", "(", "MachineBasicBlock", "::", "iterator", "(", "MI", ")", ")", ",", "MBB", "->", "end", "(", ")", ")", ";", "trueMBB", "->", "transferSuccessorsAndUpdatePHIs", "(", "MBB", ")", ";", "", "CC", "=", "(", "", ")", "MI", ".", "getOperand", "(", "", ")", ".", "getImm", "(", ")", ";", "BuildMI", "(", "MBB", ",", "dl", ",", "TII", ".", "getBrCond", "(", "CC", ")", ")", ".", "addMBB", "(", "trueMBB", ")", ";", "BuildMI", "(", "MBB", ",", "dl", ",", "TII", ".", "get", "(", "", ")", ")", ".", "addMBB", "(", "falseMBB", ")", ";", "MBB", "->", "addSuccessor", "(", "falseMBB", ")", ";", "MBB", "->", "addSuccessor", "(", "trueMBB", ")", ";", "BuildMI", "(", "falseMBB", ",", "dl", ",", "TII", ".", "get", "(", "", ")", ")", ".", "addMBB", "(", "trueMBB", ")", ";", "falseMBB", "->", "addSuccessor", "(", "trueMBB", ")", ";"], "ground_truth": ["BuildMI", "(", "*", "trueMBB", ",", "trueMBB", "->", "begin", "(", ")", ",", "dl", ",", "TII", ".", "get", "(", "", ")", ",", "MI", ".", "getOperand", "(", "", ")", ".", "getReg", "(", ")", ")", ".", "addReg", "(", "MI", ".", "getOperand", "(", "", ")", ".", "getReg", "(", ")", ")", ".", "addMBB", "(", "MBB", ")", ".", "addReg", "(", "MI", ".", "getOperand", "(", "", ")", ".", "getReg", "(", ")", ")", ".", "addMBB", "(", "falseMBB", ")", ";"], "File": "AVRISelLowering17", "Func": "EmitInstrWithCustomInserter", "Target": "AVR", "Target_Clf": "MPU", "Compiler_Type": "LLVM", "Idx": 113030, "Length": 221, "Cover_Rate": 0.4130841121495327} {"Template_token": ["", "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", ")", "{", "Ops", ".", "push_back", "(", "DAG", ".", "getRegister", "(", "Reg", ".", "first", ",", "Reg", ".", "second", ".", "getValueType", "(", ")", ")", ")", ";", "}", "const", "TargetRegisterInfo", "*", "TRI", "=", "Subtarget", ".", "getRegisterInfo", "(", ")", ";", "const", "uint32_t", "*", "Mask", "=", "TRI", "->", "getCallPreservedMask", "(", "DAG", ".", "getMachineFunction", "(", ")", ",", "CallConv", ")", ";", "assert", "(", "Mask", "&&", "", ")", ";", "Ops", ".", "push_back", "(", "DAG", ".", "getRegisterMask", "(", "Mask", ")", ")", ";", "if", "(", "InFlag", ".", "getNode", "(", ")", ")", "{", "Ops", ".", "push_back", "(", "InFlag", ")", ";", "}", "Chain", "=", "DAG", ".", "getNode", "(", "", ",", "DL", ",", "NodeTys", ",", "Ops", ")", ";", "InFlag", "=", "Chain", ".", "getValue", "(", "", ")", ";", "Chain", "=", "DAG", ".", "getCALLSEQ_END", "(", "Chain", ",", "DAG", ".", "getIntPtrConstant", "(", "NumBytes", ",", "DL", ",", "true", ")", ",", "DAG", ".", "getIntPtrConstant", "(", "", ",", "DL", ",", "true", ")", ",", "InFlag", ",", "DL", ")", ";", "if", "(", "!", "Ins", ".", "empty", "(", ")", ")", "{", "InFlag", "=", "Chain", ".", "getValue", "(", "", ")", ";"], "ground_truth": ["}"], "File": "AVRISelLowering18", "Func": "LowerCall", "Target": "AVR", "Target_Clf": "MPU", "Compiler_Type": "LLVM", "Idx": 113031, "Length": 386, "Cover_Rate": 0.39068825910931176} {"Template_token": ["", "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", ")", ";"], "ground_truth": ["Ops", ".", "push_back", "(", "Callee", ")", ";"], "File": "AVRISelLowering18", "Func": "LowerCall", "Target": "AVR", "Target_Clf": "MPU", "Compiler_Type": "LLVM", "Idx": 113032, "Length": 310, "Cover_Rate": 0.31376518218623484} {"Template_token": ["", "Entry", ".", "IsSExt", "=", "IsSigned", ";", "Entry", ".", "IsZExt", "=", "!", "IsSigned", ";", "Args", ".", "push_back", "(", "Entry", ")", ";", "}", "SDValue", "Callee", "=", "DAG", ".", "getExternalFunctionSymbol", "(", "getLibcallName", "(", "LC", ")", ")", ";", "Type", "*", "RetTy", "=", "(", "Type", "*", ")", "StructType", "::", "get", "(", "Ty", ",", "Ty", ")", ";", "SDLoc", "dl", "(", "Op", ")", ";", "TargetLowering", "::", "CallLoweringInfo", "CLI", "(", "DAG", ")", ";", "CLI", ".", "setDebugLoc", "(", "dl", ")", ".", "setChain", "(", "InChain", ")", ".", "setLibCallee", "(", "getLibcallCallingConv", "(", "LC", ")", ",", "RetTy", ",", "Callee", ",", "std", "::", "move", "(", "Args", ")", ")", ".", "setInRegister", "(", ")", ".", "setSExtResult", "(", "IsSigned", ")", ".", "setZExtResult", "(", "!", "IsSigned", ")", ";"], "ground_truth": ["std", "::", "pair", "<", "SDValue", ",", "SDValue", ">", "CallInfo", "=", "LowerCallTo", "(", "CLI", ")", ";"], "File": "AVRISelLowering18", "Func": "LowerDivRem", "Target": "AVR", "Target_Clf": "MPU", "Compiler_Type": "LLVM", "Idx": 113033, "Length": 126, "Cover_Rate": 0.358974358974359} {"Template_token": ["", "setSupportsUnalignedAtomics", "(", "true", ")", ";", "setOperationAction", "(", "", ",", "", ",", "Custom", ")", ";", "setOperationAction", "(", "", ",", "", ",", "Custom", ")", ";", "setOperationAction", "(", "", ",", "", ",", "Expand", ")", ";", "setOperationAction", "(", "", ",", "", ",", "Expand", ")", ";", "setOperationAction", "(", "", ",", "", ",", "Expand", ")", ";", "setOperationAction", "(", "", ",", "", ",", "Expand", ")", ";", "for", "(", "MVT", "VT", ":", "", "(", ")", ")", "{", "for", "(", "auto", "N", ":", "{", "", ",", "", ",", "", "}", ")", "{", "setLoadExtAction", "(", "N", ",", "VT", ",", "", ",", "Promote", ")", ";", "setLoadExtAction", "(", "N", ",", "VT", ",", "", ",", "Expand", ")", ";", "}", "}", "setTruncStoreAction", "(", "", ",", "", ",", "Expand", ")", ";", "for", "(", "MVT", "VT", ":", "", "(", ")", ")", "{", "setOperationAction", "(", "", ",", "VT", ",", "Legal", ")", ";", "setOperationAction", "(", "", ",", "VT", ",", "Legal", ")", ";", "setOperationAction", "(", "", ",", "VT", ",", "Legal", ")", ";", "setOperationAction", "(", "", ",", "VT", ",", "Legal", ")", ";", "}", "setOperationAction", "(", "", ",", "", ",", "Custom", ")", ";", "setOperationAction", "(", "", ",", "", ",", "Custom", ")", ";", "setOperationAction", "(", "", ",", "", ",", "Custom", ")", ";", "setOperationAction", "(", "", ",", "", ",", "Custom", ")", ";", "setOperationAction", "(", "", ",", "", ",", "Custom", ")", ";", "setOperationAction", "(", "", ",", "", ",", "Custom", ")", ";", "setOperationAction", "(", "", ",", "", ",", "Custom", ")", ";", "setOperationAction", "(", "", ",", "", ",", "Custom", ")", ";", "setOperationAction", "(", "", ",", "", ",", "Expand", ")", ";", "setOperationAction", "(", "", ",", "", ",", "Expand", ")", ";", "setOperationAction", "(", "", ",", "", ",", "Expand", ")", ";", "setOperationAction", "(", "", ",", "", ",", "Custom", ")", ";", "setOperationAction", "(", "", ",", "", ",", "Expand", ")", ";", "setOperationAction", "(", "", ",", "", ",", "Custom", ")", ";", "setOperationAction", "(", "", ",", "", ",", "Expand", ")", ";", "setOperationAction", "(", "", ",", "", ",", "Custom", ")", ";", "setOperationAction", "(", "", ",", "", ",", "Custom", ")", ";", "setOperationAction", "(", "", ",", "", ",", "Custom", ")", ";", "setOperationAction", "(", "", ",", "", ",", "Custom", ")", ";", "setOperationAction", "(", "", ",", "", ",", "Expand", ")", ";", "setOperationAction", "(", "", ",", "", ",", "Custom", ")", ";", "setOperationAction", "(", "", ",", "", ",", "Custom", ")", ";", "setOperationAction", "(", "", ",", "", ",", "Expand", ")", ";", "setOperationAction", "(", "", ",", "", ",", "Expand", ")", ";", "setOperationAction", "(", "", ",", "", ",", "Custom", ")", ";", "setOperationAction", "(", "", ",", "", ",", "Custom", ")", ";", "setOperationAction", "(", "", ",", "", ",", "Custom", ")", ";", "setOperationAction", "(", "", ",", "", ",", "Custom", ")", ";", "setOperationAction", "(", "", ",", "", ",", "Expand", ")", ";", "setOperationAction", "(", "", ",", "", ",", "Expand", ")", ";", "setOperationAction", "(", "", ",", "", ",", "Expand", ")", ";", "setIndexedLoadAction", "(", "", ",", "", ",", "Legal", ")", ";", "setIndexedLoadAction", "(", "", ",", "", ",", "Legal", ")", ";", "setIndexedLoadAction", "(", "", ",", "", ",", "Legal", ")", ";", "setIndexedLoadAction", "(", "", ",", "", ",", "Legal", ")", ";", "setIndexedStoreAction", "(", "", ",", "", ",", "Legal", ")", ";", "setIndexedStoreAction", "(", "", ",", "", ",", "Legal", ")", ";"], "ground_truth": ["setIndexedStoreAction", "(", "", ",", "", ",", "Legal", ")", ";"], "File": "AVRISelLowering19", "Func": "AVRTargetLowering", "Target": "AVR", "Target_Clf": "MPU", "Compiler_Type": "LLVM", "Idx": 113034, "Length": 505, "Cover_Rate": 0.308679706601467} {"Template_token": ["", "SmallVector", "<", "unsigned", ",", "", ">", "Args", ";", "if", "(", "IsCall", ")", "{", "parseExternFuncCallArgs", "(", "*", "Outs", ",", "Args", ")", ";", "}", "else", "{", "assert", "(", "F", "!=", "nullptr", "&&", "", ")", ";", "parseFunctionArgs", "(", "*", "Ins", ",", "Args", ")", ";", "}", "unsigned", "RegsLeft", "=", "array_lengthof", "(", "RegList8", ")", ",", "ValNo", "=", "", ";", "bool", "UsesStack", "=", "false", ";", "for", "(", "unsigned", "i", "=", "", ",", "pos", "=", "", ",", "e", "=", "Args", ".", "size", "(", ")", ";", "i", "!=", "e", ";", "++", "i", ")", "{", "unsigned", "Size", "=", "Args", "[", "i", "]", ";", "if", "(", "Size", "==", "", ")", "continue", ";", "MVT", "LocVT", "=", "(", "IsCall", ")", "?", "(", "*", "Outs", ")", "[", "pos", "]", ".", "VT", ":", "(", "*", "Ins", ")", "[", "pos", "]", ".", "VT", ";", "if", "(", "!", "UsesStack", "&&", "(", "Size", "<=", "RegsLeft", ")", ")", "{", "const", "MCPhysReg", "*", "RegList", "=", "(", "LocVT", "==", "", ")", "?", "RegList16", ":", "RegList8", ";", "for", "(", "unsigned", "j", "=", "", ";", "j", "!=", "Size", ";", "++", "j", ")", "{", "unsigned", "Reg", "=", "CCInfo", ".", "AllocateReg", "(", "ArrayRef", "<", "MCPhysReg", ">", "(", "RegList", ",", "array_lengthof", "(", "RegList8", ")", ")", ")", ";", "CCInfo", ".", "addLoc", "(", "CCValAssign", "::", "getReg", "(", "ValNo", "++", ",", "LocVT", ",", "Reg", ",", "LocVT", ",", "CCValAssign", "::", "Full", ")", ")", ";", "--", "RegsLeft", ";", "}", "std", "::", "reverse", "(", "ArgLocs", ".", "begin", "(", ")", "+", "pos", ",", "ArgLocs", ".", "begin", "(", ")", "+", "pos", "+", "Size", ")", ";", "}", "else", "{", "UsesStack", "=", "true", ";", "for", "(", "unsigned", "j", "=", "", ";", "j", "!=", "Size", ";", "++", "j", ")", "{", "unsigned", "Offset", "=", "CCInfo", ".", "AllocateStack", "(", "TD", "->", "getTypeAllocSize", "(", "EVT", "(", "LocVT", ")", ".", "getTypeForEVT", "(", "CCInfo", ".", "getContext", "(", ")", ")", ")", ",", "TD", "->", "getABITypeAlign", "(", "EVT", "(", "LocVT", ")", ".", "getTypeForEVT", "(", "CCInfo", ".", "getContext", "(", ")", ")", ")", ")", ";", "CCInfo", ".", "addLoc", "(", "CCValAssign", "::", "getMem", "(", "ValNo", "++", ",", "LocVT", ",", "Offset", ",", "LocVT", ",", "CCValAssign", "::", "Full", ")", ")", ";"], "ground_truth": ["}"], "File": "AVRISelLowering1", "Func": "analyzeStandardArguments", "Target": "AVR", "Target_Clf": "MPU", "Compiler_Type": "LLVM", "Idx": 113035, "Length": 334, "Cover_Rate": 0.626641651031895} {"Template_token": ["", "if", "(", "IsCall", ")", "{", "CCInfo", ".", "AnalyzeCallOperands", "(", "*", "Outs", ",", "ArgCC__Vararg", ")", ";", "}", "else", "{", "CCInfo", ".", "AnalyzeFormalArguments", "(", "*", "Ins", ",", "ArgCC__Vararg", ")", ";", "}", "return", ";", "}", "SmallVector", "<", "unsigned", ",", "", ">", "Args", ";", "if", "(", "IsCall", ")", "{", "parseExternFuncCallArgs", "(", "*", "Outs", ",", "Args", ")", ";", "}", "else", "{", "assert", "(", "F", "!=", "nullptr", "&&", "", ")", ";", "parseFunctionArgs", "(", "*", "Ins", ",", "Args", ")", ";", "}", "unsigned", "RegsLeft", "=", "array_lengthof", "(", "RegList8", ")", ",", "ValNo", "=", "", ";", "bool", "UsesStack", "=", "false", ";", "for", "(", "unsigned", "i", "=", "", ",", "pos", "=", "", ",", "e", "=", "Args", ".", "size", "(", ")", ";", "i", "!=", "e", ";", "++", "i", ")", "{", "unsigned", "Size", "=", "Args", "[", "i", "]", ";", "if", "(", "Size", "==", "", ")", "continue", ";", "MVT", "LocVT", "=", "(", "IsCall", ")", "?", "(", "*", "Outs", ")", "[", "pos", "]", ".", "VT", ":", "(", "*", "Ins", ")", "[", "pos", "]", ".", "VT", ";", "if", "(", "!", "UsesStack", "&&", "(", "Size", "<=", "RegsLeft", ")", ")", "{", "const", "MCPhysReg", "*", "RegList", "=", "(", "LocVT", "==", "", ")", "?", "RegList16", ":", "RegList8", ";", "for", "(", "unsigned", "j", "=", "", ";", "j", "!=", "Size", ";", "++", "j", ")", "{"], "ground_truth": ["unsigned", "Reg", "=", "CCInfo", ".", "AllocateReg", "(", "ArrayRef", "<", "MCPhysReg", ">", "(", "RegList", ",", "array_lengthof", "(", "RegList8", ")", ")", ")", ";"], "File": "AVRISelLowering1", "Func": "analyzeStandardArguments", "Target": "AVR", "Target_Clf": "MPU", "Compiler_Type": "LLVM", "Idx": 113036, "Length": 224, "Cover_Rate": 0.4202626641651032} {"Template_token": ["", "return", "C_Register", ";", "case", "'Q'", ":", "return", "C_Memory", ";", "case", "'G'", ":", "case", "'I'", ":", "case", "'J'", ":", "case", "'K'", ":", "case", "'L'", ":", "case", "'M'", ":", "case", "'N'", ":", "case", "'O'", ":", "case", "'P'", ":", "case", "'R'", ":", "return", "C_Immediate", ";", "}"], "ground_truth": ["}"], "File": "AVRISelLowering1", "Func": "getConstraintType", "Target": "AVR", "Target_Clf": "MPU", "Compiler_Type": "LLVM", "Idx": 113039, "Length": 44, "Cover_Rate": 0.3235294117647059} {"Template_token": ["", "Register", "Reg", ";", "if", "(", "VT", "==", "LLT", "::", "scalar", "(", "", ")", ")", "{", "Reg", "=", "StringSwitch", "<", "unsigned", ">", "(", "RegName", ")", ".", "Case", "(", "", ",", "", ")", ".", "Case", "(", "", ",", "", ")", ".", "Case", "(", "", ",", "", ")", ".", "Case", "(", "", ",", "", ")", ".", "Case", "(", "", ",", "", ")", ".", "Case", "(", "", ",", "", ")", ".", "Case", "(", "", ",", "", ")", ".", "Case", "(", "", ",", "", ")", ".", "Case", "(", "", ",", "", ")", ".", "Case", "(", "", ",", "", ")", ".", "Case", "(", "", ",", "", ")", ".", "Case", "(", "", ",", "", ")", ".", "Case", "(", "", ",", "", ")", ".", "Case", "(", "", ",", "", ")", ".", "Case", "(", "", ",", "", ")", ".", "Case", "(", "", ",", "", ")", ".", "Case", "(", "", ",", "", ")", ".", "Case", "(", "", ",", "", ")", ".", "Case", "(", "", ",", "", ")", ".", "Case", "(", "", ",", "", ")", ".", "Case", "(", "", ",", "", ")", ".", "Case", "(", "", ",", "", ")", ".", "Case", "(", "", ",", "", ")", ".", "Case", "(", "", ",", "", ")", ".", "Case", "(", "", ",", "", ")", ".", "Case", "(", "", ",", "", ")", ".", "Case", "(", "", ",", "", ")", ".", "Case", "(", "", ",", "", ")", ".", "Case", "(", "", ",", "", ")", ".", "Case", "(", "", ",", "", ")", ".", "Case", "(", "", ",", "", ")", ".", "Case", "(", "", ",", "", ")", ".", "Case", "(", "", ",", "", ")", ".", "Case", "(", "", ",", "", ")", ".", "Case", "(", "", ",", "", ")", ".", "Default", "(", "", ")", ";"], "ground_truth": ["}", "else", "{"], "File": "AVRISelLowering1", "Func": "getRegisterByName", "Target": "AVR", "Target_Clf": "MPU", "Compiler_Type": "LLVM", "Idx": 113040, "Length": 278, "Cover_Rate": 0.4894366197183099} {"Template_token": ["", "Reg", "=", "StringSwitch", "<", "unsigned", ">", "(", "RegName", ")", ".", "Case", "(", "", ",", "", ")", ".", "Case", "(", "", ",", "", ")", ".", "Case", "(", "", ",", "", ")", ".", "Case", "(", "", ",", "", ")", ".", "Case", "(", "", ",", "", ")", ".", "Case", "(", "", ",", "", ")", ".", "Case", "(", "", ",", "", ")", ".", "Case", "(", "", ",", "", ")", ".", "Case", "(", "", ",", "", ")", ".", "Case", "(", "", ",", "", ")", ".", "Case", "(", "", ",", "", ")", ".", "Case", "(", "", ",", "", ")", ".", "Case", "(", "", ",", "", ")", ".", "Case", "(", "", ",", "", ")", ".", "Case", "(", "", ",", "", ")", ".", "Case", "(", "", ",", "", ")", ".", "Case", "(", "", ",", "", ")", ".", "Case", "(", "", ",", "", ")", ".", "Case", "(", "", ",", "", ")", ".", "Case", "(", "", ",", "", ")", ".", "Case", "(", "", ",", "", ")", ".", "Case", "(", "", ",", "", ")", ".", "Case", "(", "", ",", "", ")", ".", "Case", "(", "", ",", "", ")", ".", "Case", "(", "", ",", "", ")", ".", "Case", "(", "", ",", "", ")", ".", "Case", "(", "", ",", "", ")", ".", "Case", "(", "", ",", "", ")", ".", "Case", "(", "", ",", "", ")", ".", "Case", "(", "", ",", "", ")", ".", "Case", "(", "", ",", "", ")", ".", "Case", "(", "", ",", "", ")", ".", "Case", "(", "", ",", "", ")", ".", "Case", "(", "", ",", "", ")", ".", "Case", "(", "", ",", "", ")", ".", "Default", "(", "", ")", ";", "}", "else", "{", "Reg", "=", "StringSwitch", "<", "unsigned", ">", "(", "RegName", ")", ".", "Case", "(", "", ",", "", ")", ".", "Case", "(", "", ",", "", ")", ".", "Case", "(", "", ",", "", ")", ".", "Case", "(", "", ",", "", ")", ".", "Case", "(", "", ",", "", ")", ".", "Case", "(", "", ",", "", ")", ".", "Case", "(", "", ",", "", ")", ".", "Case", "(", "", ",", "", ")", ".", "Case", "(", "", ",", "", ")", ".", "Case", "(", "", ",", "", ")", ".", "Case", "(", "", ",", "", ")", ".", "Case", "(", "", ",", "", ")", ".", "Case", "(", "", ",", "", ")", ".", "Case", "(", "", ",", "", ")", ".", "Case", "(", "", ",", "", ")", ".", "Case", "(", "", ",", "", ")", ".", "Case", "(", "", ",", "", ")", ".", "Case", "(", "", ",", "", ")", ".", "Case", "(", "", ",", "", ")", ".", "Default", "(", "", ")", ";", "}", "if", "(", "Reg", ")", "return", "Reg", ";"], "ground_truth": ["report_fatal_error", "(", "", ")", ";"], "File": "AVRISelLowering1", "Func": "getRegisterByName", "Target": "AVR", "Target_Clf": "MPU", "Compiler_Type": "LLVM", "Idx": 113041, "Length": 424, "Cover_Rate": 0.7464788732394366} {"Template_token": ["", "NODE", "(", "RET_FLAG", ")", ";", "NODE", "(", "RETI_FLAG", ")", ";", "NODE", "(", "CALL", ")", ";", "NODE", "(", "WRAPPER", ")", ";", "NODE", "(", "LSL", ")", ";", "NODE", "(", "LSR", ")", ";", "NODE", "(", "ROL", ")", ";", "NODE", "(", "ROR", ")", ";", "NODE", "(", "ASR", ")", ";", "NODE", "(", "LSLLOOP", ")", ";", "NODE", "(", "LSRLOOP", ")", ";"], "ground_truth": ["NODE", "(", "ROLLOOP", ")", ";"], "File": "AVRISelLowering1", "Func": "getTargetNodeName", "Target": "AVR", "Target_Clf": "MPU", "Compiler_Type": "LLVM", "Idx": 113042, "Length": 60, "Cover_Rate": 0.47244094488188976} {"Template_token": ["", "NODE", "(", "RET_FLAG", ")", ";", "NODE", "(", "RETI_FLAG", ")", ";", "NODE", "(", "CALL", ")", ";", "NODE", "(", "WRAPPER", ")", ";", "NODE", "(", "LSL", ")", ";", "NODE", "(", "LSR", ")", ";", "NODE", "(", "ROL", ")", ";"], "ground_truth": ["NODE", "(", "ROR", ")", ";"], "File": "AVRISelLowering1", "Func": "getTargetNodeName", "Target": "AVR", "Target_Clf": "MPU", "Compiler_Type": "LLVM", "Idx": 113043, "Length": 40, "Cover_Rate": 0.31496062992125984} {"Template_token": ["", "RemBB", "->", "transferSuccessorsAndUpdatePHIs", "(", "BB", ")", ";", "BB", "->", "addSuccessor", "(", "LoopBB", ")", ";", "BB", "->", "addSuccessor", "(", "RemBB", ")", ";", "LoopBB", "->", "addSuccessor", "(", "RemBB", ")", ";", "LoopBB", "->", "addSuccessor", "(", "LoopBB", ")", ";", "Register", "ShiftAmtReg", "=", "RI", ".", "createVirtualRegister", "(", "&", "", ")", ";", "Register", "ShiftAmtReg2", "=", "RI", ".", "createVirtualRegister", "(", "&", "", ")", ";", "Register", "ShiftReg", "=", "RI", ".", "createVirtualRegister", "(", "RC", ")", ";", "Register", "ShiftReg2", "=", "RI", ".", "createVirtualRegister", "(", "RC", ")", ";", "Register", "ShiftAmtSrcReg", "=", "MI", ".", "getOperand", "(", "", ")", ".", "getReg", "(", ")", ";", "Register", "SrcReg", "=", "MI", ".", "getOperand", "(", "", ")", ".", "getReg", "(", ")", ";", "Register", "DstReg", "=", "MI", ".", "getOperand", "(", "", ")", ".", "getReg", "(", ")", ";", "BuildMI", "(", "BB", ",", "dl", ",", "TII", ".", "get", "(", "", ")", ")", ".", "addReg", "(", "ShiftAmtSrcReg", ")", ".", "addImm", "(", "", ")", ";", "BuildMI", "(", "BB", ",", "dl", ",", "TII", ".", "get", "(", "", ")", ")", ".", "addMBB", "(", "RemBB", ")", ";", "BuildMI", "(", "LoopBB", ",", "dl", ",", "TII", ".", "get", "(", "", ")", ",", "ShiftReg", ")", ".", "addReg", "(", "SrcReg", ")", ".", "addMBB", "(", "BB", ")", ".", "addReg", "(", "ShiftReg2", ")", ".", "addMBB", "(", "LoopBB", ")", ";", "BuildMI", "(", "LoopBB", ",", "dl", ",", "TII", ".", "get", "(", "", ")", ",", "ShiftAmtReg", ")", ".", "addReg", "(", "ShiftAmtSrcReg", ")", ".", "addMBB", "(", "BB", ")", ".", "addReg", "(", "ShiftAmtReg2", ")", ".", "addMBB", "(", "LoopBB", ")", ";", "auto", "ShiftMI", "=", "BuildMI", "(", "LoopBB", ",", "dl", ",", "TII", ".", "get", "(", "Opc", ")", ",", "ShiftReg2", ")", ".", "addReg", "(", "ShiftReg", ")", ";"], "ground_truth": ["if", "(", "HasRepeatedOperand", ")", "ShiftMI", ".", "addReg", "(", "ShiftReg", ")", ";"], "File": "AVRISelLowering1", "Func": "insertShift", "Target": "AVR", "Target_Clf": "MPU", "Compiler_Type": "LLVM", "Idx": 113044, "Length": 269, "Cover_Rate": 0.3337468982630273} {"Template_token": ["", "Opc", "=", "", ";", "RC", "=", "&", "", ";", "HasRepeatedOperand", "=", "true", ";", "break", ";", "case", "", ":", "Opc", "=", "", ";", "RC", "=", "&", "", ";", "break", ";", "case", "", ":", "Opc", "=", "", ";", "RC", "=", "&", "", ";", "break", ";", "case", "", ":", "Opc", "=", "", ";", "RC", "=", "&", "", ";", "break", ";", "case", "", ":", "Opc", "=", "", ";", "RC", "=", "&", "", ";", "break", ";", "case", "", ":", "Opc", "=", "", ";", "RC", "=", "&", "", ";", "break", ";", "case", "", ":", "Opc", "=", "", ";", "RC", "=", "&", "", ";", "break", ";", "case", "", ":", "Opc", "=", "", ";", "RC", "=", "&", "", ";", "break", ";", "case", "", ":", "Opc", "=", "", ";", "RC", "=", "&", "", ";", "break", ";", "case", "", ":", "Opc", "=", "", ";", "RC", "=", "&", "", ";", "break", ";", "}", "const", "BasicBlock", "*", "LLVM_BB", "=", "BB", "->", "getBasicBlock", "(", ")", ";", "MachineFunction", "::", "iterator", "I", ";", "for", "(", "I", "=", "BB", "->", "getIterator", "(", ")", ";", "I", "!=", "F", "->", "end", "(", ")", "&&", "&", "(", "*", "I", ")", "!=", "BB", ";", "++", "I", ")", ";", "if", "(", "I", "!=", "F", "->", "end", "(", ")", ")", "++", "I", ";", "MachineBasicBlock", "*", "LoopBB", "=", "F", "->", "CreateMachineBasicBlock", "(", "LLVM_BB", ")", ";", "MachineBasicBlock", "*", "RemBB", "=", "F", "->", "CreateMachineBasicBlock", "(", "LLVM_BB", ")", ";", "F", "->", "insert", "(", "I", ",", "LoopBB", ")", ";", "F", "->", "insert", "(", "I", ",", "RemBB", ")", ";", "RemBB", "->", "splice", "(", "RemBB", "->", "begin", "(", ")", ",", "BB", ",", "std", "::", "next", "(", "MachineBasicBlock", "::", "iterator", "(", "MI", ")", ")", ",", "BB", "->", "end", "(", ")", ")", ";", "RemBB", "->", "transferSuccessorsAndUpdatePHIs", "(", "BB", ")", ";", "BB", "->", "addSuccessor", "(", "LoopBB", ")", ";", "BB", "->", "addSuccessor", "(", "RemBB", ")", ";", "LoopBB", "->", "addSuccessor", "(", "RemBB", ")", ";", "LoopBB", "->", "addSuccessor", "(", "LoopBB", ")", ";"], "ground_truth": ["Register", "ShiftAmtReg", "=", "RI", ".", "createVirtualRegister", "(", "&", "", ")", ";"], "File": "AVRISelLowering1", "Func": "insertShift", "Target": "AVR", "Target_Clf": "MPU", "Compiler_Type": "LLVM", "Idx": 113045, "Length": 318, "Cover_Rate": 0.3945409429280397} {"Template_token": ["", "static", "bool", "isCopyMulResult", "(", "MachineBasicBlock", "::", "iterator", "const", "&", "I", ")", "{"], "ground_truth": ["if", "(", "I", "->", "getOpcode", "(", ")", "==", "", ")", "{"], "File": "AVRISelLowering1", "Func": "isCopyMulResult", "Target": "AVR", "Target_Clf": "MPU", "Compiler_Type": "LLVM", "Idx": 113046, "Length": 23, "Cover_Rate": 0.3898305084745763} {"Template_token": ["", "static", "bool", "isCopyMulResult", "(", "MachineBasicBlock", "::", "iterator", "const", "&", "I", ")", "{", "if", "(", "I", "->", "getOpcode", "(", ")", "==", "", ")", "{", "Register", "SrcReg", "=", "I", "->", "getOperand", "(", "", ")", ".", "getReg", "(", ")", ";", "return", "(", "SrcReg", "==", "", "||", "SrcReg", "==", "", ")", ";", "}"], "ground_truth": ["return", "false", ";"], "File": "AVRISelLowering1", "Func": "isCopyMulResult", "Target": "AVR", "Target_Clf": "MPU", "Compiler_Type": "LLVM", "Idx": 113047, "Length": 52, "Cover_Rate": 0.8813559322033898} {"Template_token": ["", "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", ")", ";", "SDLoc", "dl", "(", "Op", ")", ";", "TargetLowering", "::", "CallLoweringInfo", "CLI", "(", "DAG", ")", ";", "CLI", ".", "setDebugLoc", "(", "dl", ")", ".", "setChain", "(", "InChain", ")", ".", "setLibCallee", "(", "getLibcallCallingConv", "(", "LC", ")", ",", "RetTy", ",", "Callee", ",", "std", "::", "move", "(", "Args", ")", ")", ".", "setInRegister", "(", ")", ".", "setSExtResult", "(", "IsSigned", ")", ".", "setZExtResult", "(", "!", "IsSigned", ")", ";", "std", "::", "pair", "<", "SDValue", ",", "SDValue", ">", "CallInfo", "=", "LowerCallTo", "(", "CLI", ")", ";", "return", "CallInfo", ".", "first", ";"], "ground_truth": ["}"], "File": "AVRISelLowering1", "Func": "LowerDivRem", "Target": "AVR", "Target_Clf": "MPU", "Compiler_Type": "LLVM", "Idx": 113048, "Length": 215, "Cover_Rate": 0.5972222222222222} {"Template_token": ["", "unsigned", "Opcode", "=", "Op", "->", "getOpcode", "(", ")", ";", "assert", "(", "(", "Opcode", "==", "", "||", "Opcode", "==", "", ")", "&&", "", ")", ";", "bool", "IsSigned", "=", "(", "Opcode", "==", "", ")", ";", "EVT", "VT", "=", "Op", "->", "getValueType", "(", "", ")", ";", "Type", "*", "Ty", "=", "VT", ".", "getTypeForEVT", "(", "*", "DAG", ".", "getContext", "(", ")", ")", ";", "RTLIB", "::", "Libcall", "LC", ";", "switch", "(", "VT", ".", "getSimpleVT", "(", ")", ".", "SimpleTy", ")", "{", "default", ":", "llvm_unreachable", "(", "", ")", ";", "case", "", ":", "LC", "=", "IsSigned", "?", "RTLIB", "::", "SDIVREM_I8", ":", "RTLIB", "::", "UDIVREM_I8", ";", "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", "(", ")", ")", ";"], "ground_truth": ["Entry", ".", "IsSExt", "=", "IsSigned", ";"], "File": "AVRISelLowering1", "Func": "LowerDivRem", "Target": "AVR", "Target_Clf": "MPU", "Compiler_Type": "LLVM", "Idx": 113049, "Length": 199, "Cover_Rate": 0.5527777777777778} {"Template_token": ["", "SDValue", "TargetLowering", "::", "LowerReturn", "(", "SDValue", "Chain", ",", "CallingConv", "::", "ID", "CallConv", ",", "bool", "isVarArg", ",", "const", "SmallVectorImpl", "<", "", ">", "&", "Outs", ",", "const", "SmallVectorImpl", "<", "SDValue", ">", "&", "OutVals", ",", "const", "SDLoc", "&", "dl", ",", "SelectionDAG", "&", "DAG", ")", "const", "{", "SmallVector", "<", "CCValAssign", ",", "", ">", "RVLocs", ";", "CCState", "CCInfo", "(", "CallConv", ",", "isVarArg", ",", "DAG", ".", "getMachineFunction", "(", ")", ",", "RVLocs", ",", "*", "DAG", ".", "getContext", "(", ")", ")", ";", "auto", "CCFunction", "=", "CCAssignFnForReturn", "(", "CallConv", ")", ";", "CCInfo", ".", "AnalyzeReturn", "(", "Outs", ",", "CCFunction", ")", ";", "MachineFunction", "&", "MF", "=", "DAG", ".", "getMachineFunction", "(", ")", ";", "unsigned", "e", "=", "RVLocs", ".", "size", "(", ")", ";", "if", "(", "e", ">", "", ")", "{", "std", "::", "reverse", "(", "RVLocs", ".", "begin", "(", ")", ",", "RVLocs", ".", "end", "(", ")", ")", ";", "}", "SDValue", "Flag", ";", "SmallVector", "<", "SDValue", ",", "", ">", "RetOps", "(", "", ",", "Chain", ")", ";", "for", "(", "unsigned", "i", "=", "", ";", "i", "!=", "e", ";", "++", "i", ")", "{", "CCValAssign", "&", "VA", "=", "RVLocs", "[", "i", "]", ";", "assert", "(", "VA", ".", "isRegLoc", "(", ")", "&&", "", ")", ";", "Chain", "=", "DAG", ".", "getCopyToReg", "(", "Chain", ",", "dl", ",", "VA", ".", "getLocReg", "(", ")", ",", "OutVals", "[", "i", "]", ",", "Flag", ")", ";", "Flag", "=", "Chain", ".", "getValue", "(", "", ")", ";"], "ground_truth": ["RetOps", ".", "push_back", "(", "DAG", ".", "getRegister", "(", "VA", ".", "getLocReg", "(", ")", ",", "VA", ".", "getLocVT", "(", ")", ")", ")", ";"], "File": "AVRISelLowering1", "Func": "LowerReturn", "Target": "AVR", "Target_Clf": "MPU", "Compiler_Type": "LLVM", "Idx": 113050, "Length": 241, "Cover_Rate": 0.7005813953488372} {"Template_token": ["", "unsigned", "Opc8", ";", "const", "SDNode", "*", "N", "=", "Op", ".", "getNode", "(", ")", ";", "EVT", "VT", "=", "Op", ".", "getValueType", "(", ")", ";", "SDLoc", "dl", "(", "N", ")", ";", "assert", "(", "isPowerOf2_32", "(", "VT", ".", "getSizeInBits", "(", ")", ")", "&&", "", ")", ";", "if", "(", "!", "isa", "<", "ConstantSDNode", ">", "(", "N", "->", "getOperand", "(", "", ")", ")", ")", "{", "switch", "(", "Op", ".", "getOpcode", "(", ")", ")", "{", "default", ":", "llvm_unreachable", "(", "", ")", ";", "case", "", ":", "return", "DAG", ".", "getNode", "(", "", ",", "dl", ",", "VT", ",", "N", "->", "getOperand", "(", "", ")", ",", "N", "->", "getOperand", "(", "", ")", ")", ";", "case", "", ":", "return", "DAG", ".", "getNode", "(", "", ",", "dl", ",", "VT", ",", "N", "->", "getOperand", "(", "", ")", ",", "N", "->", "getOperand", "(", "", ")", ")", ";", "case", "", ":", "{", "SDValue", "Amt", "=", "N", "->", "getOperand", "(", "", ")", ";", "EVT", "AmtVT", "=", "Amt", ".", "getValueType", "(", ")", ";", "Amt", "=", "DAG", ".", "getNode", "(", "", ",", "dl", ",", "AmtVT", ",", "Amt", ",", "DAG", ".", "getConstant", "(", "VT", ".", "getSizeInBits", "(", ")", "-", "", ",", "dl", ",", "AmtVT", ")", ")", ";", "return", "DAG", ".", "getNode", "(", "", ",", "dl", ",", "VT", ",", "N", "->", "getOperand", "(", "", ")", ",", "Amt", ")", ";", "}", "case", "", ":", "{", "SDValue", "Amt", "=", "N", "->", "getOperand", "(", "", ")", ";"], "ground_truth": ["EVT", "AmtVT", "=", "Amt", ".", "getValueType", "(", ")", ";"], "File": "AVRISelLowering1", "Func": "LowerShifts", "Target": "AVR", "Target_Clf": "MPU", "Compiler_Type": "LLVM", "Idx": 113051, "Length": 234, "Cover_Rate": 0.45436893203883494} {"Template_token": ["", "MachineFunction", "&", "MF", "=", "DAG", ".", "getMachineFunction", "(", ")", ";", "unsigned", "e", "=", "RVLocs", ".", "size", "(", ")", ";", "if", "(", "e", ">", "", ")", "{", "std", "::", "reverse", "(", "RVLocs", ".", "begin", "(", ")", ",", "RVLocs", ".", "end", "(", ")", ")", ";", "}", "SDValue", "Flag", ";", "SmallVector", "<", "SDValue", ",", "", ">", "RetOps", "(", "", ",", "Chain", ")", ";", "for", "(", "unsigned", "i", "=", "", ";", "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", "(", ")", ")", ")", ";", "}", "if", "(", "MF", ".", "getFunction", "(", ")", "->", "getAttributes", "(", ")", ".", "hasAttribute", "(", "AttributeList", "::", "FunctionIndex", ",", "Attribute", "::", "Naked", ")", ")", "{", "return", "Chain", ";", "}", "unsigned", "RetOpc", "=", "(", "CallConv", "==", "CallingConv", "::", "_INTR", "||", "CallConv", "==", "CallingConv", "::", "_SIGNAL", ")", "?", "", ":", "", ";", "RetOps", "[", "", "]", "=", "Chain", ";", "if", "(", "Flag", ".", "getNode", "(", ")", ")", "{", "RetOps", ".", "push_back", "(", "Flag", ")", ";"], "ground_truth": ["}"], "File": "AVRISelLowering22", "Func": "LowerReturn", "Target": "AVR", "Target_Clf": "MPU", "Compiler_Type": "LLVM", "Idx": 113053, "Length": 224, "Cover_Rate": 0.6627218934911243} {"Template_token": ["", "Opc", "=", "", ";", "RC", "=", "&", "", ";", "break", ";", "case", "", ":", "Opc", "=", "", ";", "RC", "=", "&", "", ";", "break", ";", "case", "", ":", "Opc", "=", "", ";", "RC", "=", "&", "", ";", "break", ";", "case", "", ":", "Opc", "=", "", ";", "RC", "=", "&", "", ";", "break", ";", "}", "const", "BasicBlock", "*", "LLVM_BB", "=", "BB", "->", "getBasicBlock", "(", ")", ";", "MachineFunction", "::", "iterator", "I", "=", "BB", "->", "getParent", "(", ")", "->", "begin", "(", ")", ";", "++", "I", ";", "MachineBasicBlock", "*", "LoopBB", "=", "F", "->", "CreateMachineBasicBlock", "(", "LLVM_BB", ")", ";", "MachineBasicBlock", "*", "RemBB", "=", "F", "->", "CreateMachineBasicBlock", "(", "LLVM_BB", ")", ";", "F", "->", "insert", "(", "I", ",", "LoopBB", ")", ";", "F", "->", "insert", "(", "I", ",", "RemBB", ")", ";", "RemBB", "->", "splice", "(", "RemBB", "->", "begin", "(", ")", ",", "BB", ",", "std", "::", "next", "(", "MachineBasicBlock", "::", "iterator", "(", "MI", ")", ")", ",", "BB", "->", "end", "(", ")", ")", ";", "RemBB", "->", "transferSuccessorsAndUpdatePHIs", "(", "BB", ")", ";", "BB", "->", "addSuccessor", "(", "LoopBB", ")", ";", "BB", "->", "addSuccessor", "(", "RemBB", ")", ";", "LoopBB", "->", "addSuccessor", "(", "RemBB", ")", ";", "LoopBB", "->", "addSuccessor", "(", "LoopBB", ")", ";", "unsigned", "ShiftAmtReg", "=", "RI", ".", "createVirtualRegister", "(", "&", "", ")", ";", "unsigned", "ShiftAmtReg2", "=", "RI", ".", "createVirtualRegister", "(", "&", "", ")", ";", "unsigned", "ShiftReg", "=", "RI", ".", "createVirtualRegister", "(", "RC", ")", ";", "unsigned", "ShiftReg2", "=", "RI", ".", "createVirtualRegister", "(", "RC", ")", ";", "unsigned", "ShiftAmtSrcReg", "=", "MI", ".", "getOperand", "(", "", ")", ".", "getReg", "(", ")", ";", "unsigned", "SrcReg", "=", "MI", ".", "getOperand", "(", "", ")", ".", "getReg", "(", ")", ";", "unsigned", "DstReg", "=", "MI", ".", "getOperand", "(", "", ")", ".", "getReg", "(", ")", ";", "BuildMI", "(", "BB", ",", "dl", ",", "TII", ".", "get", "(", "", ")", ")", ".", "addReg", "(", "ShiftAmtSrcReg", ")", ".", "addImm", "(", "", ")", ";", "BuildMI", "(", "BB", ",", "dl", ",", "TII", ".", "get", "(", "", ")", ")", ".", "addMBB", "(", "RemBB", ")", ";", "BuildMI", "(", "LoopBB", ",", "dl", ",", "TII", ".", "get", "(", "", ")", ",", "ShiftReg", ")", ".", "addReg", "(", "SrcReg", ")", ".", "addMBB", "(", "BB", ")", ".", "addReg", "(", "ShiftReg2", ")", ".", "addMBB", "(", "LoopBB", ")", ";"], "ground_truth": ["BuildMI", "(", "LoopBB", ",", "dl", ",", "TII", ".", "get", "(", "", ")", ",", "ShiftAmtReg", ")", ".", "addReg", "(", "ShiftAmtSrcReg", ")", ".", "addMBB", "(", "BB", ")", ".", "addReg", "(", "ShiftAmtReg2", ")", ".", "addMBB", "(", "LoopBB", ")", ";"], "File": "AVRISelLowering23", "Func": "insertShift", "Target": "AVR", "Target_Clf": "MPU", "Compiler_Type": "LLVM", "Idx": 113055, "Length": 388, "Cover_Rate": 0.503242542153048} {"Template_token": ["", "}", "const", "BasicBlock", "*", "LLVM_BB", "=", "BB", "->", "getBasicBlock", "(", ")", ";", "MachineFunction", "::", "iterator", "I", ";", "for", "(", "I", "=", "BB", "->", "getIterator", "(", ")", ";", "I", "!=", "F", "->", "end", "(", ")", "&&", "&", "(", "*", "I", ")", "!=", "BB", ";", "++", "I", ")", ";", "if", "(", "I", "!=", "F", "->", "end", "(", ")", ")", "++", "I", ";", "MachineBasicBlock", "*", "LoopBB", "=", "F", "->", "CreateMachineBasicBlock", "(", "LLVM_BB", ")", ";", "MachineBasicBlock", "*", "RemBB", "=", "F", "->", "CreateMachineBasicBlock", "(", "LLVM_BB", ")", ";", "F", "->", "insert", "(", "I", ",", "LoopBB", ")", ";", "F", "->", "insert", "(", "I", ",", "RemBB", ")", ";", "RemBB", "->", "splice", "(", "RemBB", "->", "begin", "(", ")", ",", "BB", ",", "std", "::", "next", "(", "MachineBasicBlock", "::", "iterator", "(", "MI", ")", ")", ",", "BB", "->", "end", "(", ")", ")", ";", "RemBB", "->", "transferSuccessorsAndUpdatePHIs", "(", "BB", ")", ";", "BB", "->", "addSuccessor", "(", "LoopBB", ")", ";", "BB", "->", "addSuccessor", "(", "RemBB", ")", ";", "LoopBB", "->", "addSuccessor", "(", "RemBB", ")", ";", "LoopBB", "->", "addSuccessor", "(", "LoopBB", ")", ";", "unsigned", "ShiftAmtReg", "=", "RI", ".", "createVirtualRegister", "(", "&", "", ")", ";", "unsigned", "ShiftAmtReg2", "=", "RI", ".", "createVirtualRegister", "(", "&", "", ")", ";", "Register", "ShiftReg", "=", "RI", ".", "createVirtualRegister", "(", "RC", ")", ";", "Register", "ShiftReg2", "=", "RI", ".", "createVirtualRegister", "(", "RC", ")", ";", "Register", "ShiftAmtSrcReg", "=", "MI", ".", "getOperand", "(", "", ")", ".", "getReg", "(", ")", ";", "Register", "SrcReg", "=", "MI", ".", "getOperand", "(", "", ")", ".", "getReg", "(", ")", ";", "Register", "DstReg", "=", "MI", ".", "getOperand", "(", "", ")", ".", "getReg", "(", ")", ";", "BuildMI", "(", "BB", ",", "dl", ",", "TII", ".", "get", "(", "", ")", ")", ".", "addReg", "(", "ShiftAmtSrcReg", ")", ".", "addImm", "(", "", ")", ";", "BuildMI", "(", "BB", ",", "dl", ",", "TII", ".", "get", "(", "", ")", ")", ".", "addMBB", "(", "RemBB", ")", ";", "BuildMI", "(", "LoopBB", ",", "dl", ",", "TII", ".", "get", "(", "", ")", ",", "ShiftReg", ")", ".", "addReg", "(", "SrcReg", ")", ".", "addMBB", "(", "BB", ")", ".", "addReg", "(", "ShiftReg2", ")", ".", "addMBB", "(", "LoopBB", ")", ";", "BuildMI", "(", "LoopBB", ",", "dl", ",", "TII", ".", "get", "(", "", ")", ",", "ShiftAmtReg", ")", ".", "addReg", "(", "ShiftAmtSrcReg", ")", ".", "addMBB", "(", "BB", ")", ".", "addReg", "(", "ShiftAmtReg2", ")", ".", "addMBB", "(", "LoopBB", ")", ";", "auto", "ShiftMI", "=", "BuildMI", "(", "LoopBB", ",", "dl", ",", "TII", ".", "get", "(", "Opc", ")", ",", "ShiftReg2", ")", ".", "addReg", "(", "ShiftReg", ")", ";", "if", "(", "HasRepeatedOperand", ")", "ShiftMI", ".", "addReg", "(", "ShiftReg", ")", ";"], "ground_truth": ["BuildMI", "(", "LoopBB", ",", "dl", ",", "TII", ".", "get", "(", "", ")", ",", "ShiftAmtReg2", ")", ".", "addReg", "(", "ShiftAmtReg", ")", ".", "addImm", "(", "", ")", ";"], "File": "AVRISelLowering24", "Func": "insertShift", "Target": "AVR", "Target_Clf": "MPU", "Compiler_Type": "LLVM", "Idx": 113057, "Length": 426, "Cover_Rate": 0.5259259259259259} {"Template_token": ["", "Opc", "=", "", ";", "RC", "=", "&", "", ";", "break", ";", "case", "", ":", "Opc", "=", "", ";", "RC", "=", "&", "", ";", "break", ";", "case", "", ":", "Opc", "=", "", ";", "RC", "=", "&", "", ";", "break", ";", "}", "const", "BasicBlock", "*", "LLVM_BB", "=", "BB", "->", "getBasicBlock", "(", ")", ";", "MachineFunction", "::", "iterator", "I", ";", "for", "(", "I", "=", "BB", "->", "getIterator", "(", ")", ";", "I", "!=", "F", "->", "end", "(", ")", "&&", "&", "(", "*", "I", ")", "!=", "BB", ";", "++", "I", ")", ";", "if", "(", "I", "!=", "F", "->", "end", "(", ")", ")", "++", "I", ";", "MachineBasicBlock", "*", "LoopBB", "=", "F", "->", "CreateMachineBasicBlock", "(", "LLVM_BB", ")", ";", "MachineBasicBlock", "*", "RemBB", "=", "F", "->", "CreateMachineBasicBlock", "(", "LLVM_BB", ")", ";", "F", "->", "insert", "(", "I", ",", "LoopBB", ")", ";", "F", "->", "insert", "(", "I", ",", "RemBB", ")", ";", "RemBB", "->", "splice", "(", "RemBB", "->", "begin", "(", ")", ",", "BB", ",", "std", "::", "next", "(", "MachineBasicBlock", "::", "iterator", "(", "MI", ")", ")", ",", "BB", "->", "end", "(", ")", ")", ";", "RemBB", "->", "transferSuccessorsAndUpdatePHIs", "(", "BB", ")", ";", "BB", "->", "addSuccessor", "(", "LoopBB", ")", ";", "BB", "->", "addSuccessor", "(", "RemBB", ")", ";", "LoopBB", "->", "addSuccessor", "(", "RemBB", ")", ";", "LoopBB", "->", "addSuccessor", "(", "LoopBB", ")", ";", "unsigned", "ShiftAmtReg", "=", "RI", ".", "createVirtualRegister", "(", "&", "", ")", ";", "unsigned", "ShiftAmtReg2", "=", "RI", ".", "createVirtualRegister", "(", "&", "", ")", ";", "unsigned", "ShiftReg", "=", "RI", ".", "createVirtualRegister", "(", "RC", ")", ";", "unsigned", "ShiftReg2", "=", "RI", ".", "createVirtualRegister", "(", "RC", ")", ";", "unsigned", "ShiftAmtSrcReg", "=", "MI", ".", "getOperand", "(", "", ")", ".", "getReg", "(", ")", ";", "unsigned", "SrcReg", "=", "MI", ".", "getOperand", "(", "", ")", ".", "getReg", "(", ")", ";", "unsigned", "DstReg", "=", "MI", ".", "getOperand", "(", "", ")", ".", "getReg", "(", ")", ";", "BuildMI", "(", "BB", ",", "dl", ",", "TII", ".", "get", "(", "", ")", ")", ".", "addReg", "(", "ShiftAmtSrcReg", ")", ".", "addImm", "(", "", ")", ";", "BuildMI", "(", "BB", ",", "dl", ",", "TII", ".", "get", "(", "", ")", ")", ".", "addMBB", "(", "RemBB", ")", ";", "BuildMI", "(", "LoopBB", ",", "dl", ",", "TII", ".", "get", "(", "", ")", ",", "ShiftReg", ")", ".", "addReg", "(", "SrcReg", ")", ".", "addMBB", "(", "BB", ")", ".", "addReg", "(", "ShiftReg2", ")", ".", "addMBB", "(", "LoopBB", ")", ";", "BuildMI", "(", "LoopBB", ",", "dl", ",", "TII", ".", "get", "(", "", ")", ",", "ShiftAmtReg", ")", ".", "addReg", "(", "ShiftAmtSrcReg", ")", ".", "addMBB", "(", "BB", ")", ".", "addReg", "(", "ShiftAmtReg2", ")", ".", "addMBB", "(", "LoopBB", ")", ";", "auto", "ShiftMI", "=", "BuildMI", "(", "LoopBB", ",", "dl", ",", "TII", ".", "get", "(", "Opc", ")", ",", "ShiftReg2", ")", ".", "addReg", "(", "ShiftReg", ")", ";", "if", "(", "HasRepeatedOperand", ")", "ShiftMI", ".", "addReg", "(", "ShiftReg", ")", ";", "BuildMI", "(", "LoopBB", ",", "dl", ",", "TII", ".", "get", "(", "", ")", ",", "ShiftAmtReg2", ")", ".", "addReg", "(", "ShiftAmtReg", ")", ".", "addImm", "(", "", ")", ";", "BuildMI", "(", "LoopBB", ",", "dl", ",", "TII", ".", "get", "(", "", ")", ")", ".", "addMBB", "(", "LoopBB", ")", ";"], "ground_truth": ["BuildMI", "(", "*", "RemBB", ",", "RemBB", "->", "begin", "(", ")", ",", "dl", ",", "TII", ".", "get", "(", "", ")", ",", "DstReg", ")", ".", "addReg", "(", "SrcReg", ")", ".", "addMBB", "(", "BB", ")", ".", "addReg", "(", "ShiftReg2", ")", ".", "addMBB", "(", "LoopBB", ")", ";"], "File": "AVRISelLowering29", "Func": "insertShift", "Target": "AVR", "Target_Clf": "MPU", "Compiler_Type": "LLVM", "Idx": 113058, "Length": 527, "Cover_Rate": 0.6364734299516909} {"Template_token": ["", "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": "AVRISelLowering32", "Func": "insertMul", "Target": "AVR", "Target_Clf": "MPU", "Compiler_Type": "LLVM", "Idx": 113059, "Length": 68, "Cover_Rate": 0.576271186440678} {"Template_token": ["", "unsigned", "Opc", ";", "const", "TargetRegisterClass", "*", "RC", ";", "bool", "HasRepeatedOperand", "=", "false", ";", "MachineFunction", "*", "F", "=", "BB", "->", "getParent", "(", ")", ";", "MachineRegisterInfo", "&", "RI", "=", "F", "->", "getRegInfo", "(", ")", ";", "const", "TargetMachine", "&", "TM", "=", "(", "const", "TargetMachine", "&", ")", "getTargetMachine", "(", ")", ";", "const", "TargetInstrInfo", "&", "TII", "=", "*", "Subtarget", ".", "getInstrInfo", "(", ")", ";", "DebugLoc", "dl", "=", "MI", ".", "getDebugLoc", "(", ")", ";", "switch", "(", "MI", ".", "getOpcode", "(", ")", ")", "{", "default", ":", "llvm_unreachable", "(", "", ")", ";", "case", "", ":", "Opc", "=", "", ";", "RC", "=", "&", "", ";", "HasRepeatedOperand", "=", "true", ";", "break", ";", "case", "", ":", "Opc", "=", "", ";", "RC", "=", "&", "", ";", "break", ";", "case", "", ":", "Opc", "=", "", ";", "RC", "=", "&", "", ";", "break", ";", "case", "", ":", "Opc", "=", "", ";", "RC", "=", "&", "", ";", "break", ";", "case", "", ":", "Opc", "=", "", ";", "RC", "=", "&", "", ";", "break", ";", "case", "", ":", "Opc", "=", "", ";", "RC", "=", "&", "", ";", "break", ";", "case", "", ":", "Opc", "=", "", ";", "RC", "=", "&", "", ";", "HasRepeatedOperand", "=", "true", ";", "break", ";", "case", "", ":", "Opc", "=", "", ";", "RC", "=", "&", "", ";", "break", ";", "case", "", ":", "Opc", "=", "", ";", "RC", "=", "&", "", ";", "break", ";", "case", "", ":", "Opc", "=", "", ";", "RC", "=", "&", "", ";", "break", ";", "}", "const", "BasicBlock", "*", "LLVM_BB", "=", "BB", "->", "getBasicBlock", "(", ")", ";", "MachineFunction", "::", "iterator", "I", ";", "for", "(", "I", "=", "BB", "->", "getIterator", "(", ")", ";", "I", "!=", "F", "->", "end", "(", ")", "&&", "&", "(", "*", "I", ")", "!=", "BB", ";", "++", "I", ")", ";", "if", "(", "I", "!=", "F", "->", "end", "(", ")", ")", "++", "I", ";", "MachineBasicBlock", "*", "LoopBB", "=", "F", "->", "CreateMachineBasicBlock", "(", "LLVM_BB", ")", ";", "MachineBasicBlock", "*", "RemBB", "=", "F", "->", "CreateMachineBasicBlock", "(", "LLVM_BB", ")", ";", "F", "->", "insert", "(", "I", ",", "LoopBB", ")", ";", "F", "->", "insert", "(", "I", ",", "RemBB", ")", ";", "RemBB", "->", "splice", "(", "RemBB", "->", "begin", "(", ")", ",", "BB", ",", "std", "::", "next", "(", "MachineBasicBlock", "::", "iterator", "(", "MI", ")", ")", ",", "BB", "->", "end", "(", ")", ")", ";", "RemBB", "->", "transferSuccessorsAndUpdatePHIs", "(", "BB", ")", ";", "BB", "->", "addSuccessor", "(", "LoopBB", ")", ";"], "ground_truth": ["BB", "->", "addSuccessor", "(", "RemBB", ")", ";"], "File": "AVRISelLowering32", "Func": "insertShift", "Target": "AVR", "Target_Clf": "MPU", "Compiler_Type": "LLVM", "Idx": 113060, "Length": 384, "Cover_Rate": 0.46601941747572817} {"Template_token": ["", "RC", "=", "&", "", ";", "break", ";", "}", "const", "BasicBlock", "*", "LLVM_BB", "=", "BB", "->", "getBasicBlock", "(", ")", ";", "MachineFunction", "::", "iterator", "I", ";", "for", "(", "I", "=", "BB", "->", "getIterator", "(", ")", ";", "I", "!=", "F", "->", "end", "(", ")", "&&", "&", "(", "*", "I", ")", "!=", "BB", ";", "++", "I", ")", ";", "if", "(", "I", "!=", "F", "->", "end", "(", ")", ")", "++", "I", ";", "MachineBasicBlock", "*", "LoopBB", "=", "F", "->", "CreateMachineBasicBlock", "(", "LLVM_BB", ")", ";", "MachineBasicBlock", "*", "RemBB", "=", "F", "->", "CreateMachineBasicBlock", "(", "LLVM_BB", ")", ";", "F", "->", "insert", "(", "I", ",", "LoopBB", ")", ";", "F", "->", "insert", "(", "I", ",", "RemBB", ")", ";", "RemBB", "->", "splice", "(", "RemBB", "->", "begin", "(", ")", ",", "BB", ",", "std", "::", "next", "(", "MachineBasicBlock", "::", "iterator", "(", "MI", ")", ")", ",", "BB", "->", "end", "(", ")", ")", ";", "RemBB", "->", "transferSuccessorsAndUpdatePHIs", "(", "BB", ")", ";", "BB", "->", "addSuccessor", "(", "LoopBB", ")", ";", "BB", "->", "addSuccessor", "(", "RemBB", ")", ";", "LoopBB", "->", "addSuccessor", "(", "RemBB", ")", ";", "LoopBB", "->", "addSuccessor", "(", "LoopBB", ")", ";", "unsigned", "ShiftAmtReg", "=", "RI", ".", "createVirtualRegister", "(", "&", "", ")", ";", "unsigned", "ShiftAmtReg2", "=", "RI", ".", "createVirtualRegister", "(", "&", "", ")", ";", "unsigned", "ShiftReg", "=", "RI", ".", "createVirtualRegister", "(", "RC", ")", ";", "unsigned", "ShiftReg2", "=", "RI", ".", "createVirtualRegister", "(", "RC", ")", ";", "unsigned", "ShiftAmtSrcReg", "=", "MI", ".", "getOperand", "(", "", ")", ".", "getReg", "(", ")", ";", "unsigned", "SrcReg", "=", "MI", ".", "getOperand", "(", "", ")", ".", "getReg", "(", ")", ";", "unsigned", "DstReg", "=", "MI", ".", "getOperand", "(", "", ")", ".", "getReg", "(", ")", ";", "BuildMI", "(", "BB", ",", "dl", ",", "TII", ".", "get", "(", "", ")", ")", ".", "addReg", "(", "ShiftAmtSrcReg", ")", ".", "addImm", "(", "", ")", ";", "BuildMI", "(", "BB", ",", "dl", ",", "TII", ".", "get", "(", "", ")", ")", ".", "addMBB", "(", "RemBB", ")", ";", "BuildMI", "(", "LoopBB", ",", "dl", ",", "TII", ".", "get", "(", "", ")", ",", "ShiftReg", ")", ".", "addReg", "(", "SrcReg", ")", ".", "addMBB", "(", "BB", ")", ".", "addReg", "(", "ShiftReg2", ")", ".", "addMBB", "(", "LoopBB", ")", ";", "BuildMI", "(", "LoopBB", ",", "dl", ",", "TII", ".", "get", "(", "", ")", ",", "ShiftAmtReg", ")", ".", "addReg", "(", "ShiftAmtSrcReg", ")", ".", "addMBB", "(", "BB", ")", ".", "addReg", "(", "ShiftAmtReg2", ")", ".", "addMBB", "(", "LoopBB", ")", ";", "auto", "ShiftMI", "=", "BuildMI", "(", "LoopBB", ",", "dl", ",", "TII", ".", "get", "(", "Opc", ")", ",", "ShiftReg2", ")", ".", "addReg", "(", "ShiftReg", ")", ";", "if", "(", "HasRepeatedOperand", ")", "ShiftMI", ".", "addReg", "(", "ShiftReg", ")", ";", "BuildMI", "(", "LoopBB", ",", "dl", ",", "TII", ".", "get", "(", "", ")", ",", "ShiftAmtReg2", ")", ".", "addReg", "(", "ShiftAmtReg", ")", ".", "addImm", "(", "", ")", ";", "BuildMI", "(", "LoopBB", ",", "dl", ",", "TII", ".", "get", "(", "", ")", ")", ".", "addMBB", "(", "LoopBB", ")", ";", "BuildMI", "(", "*", "RemBB", ",", "RemBB", "->", "begin", "(", ")", ",", "dl", ",", "TII", ".", "get", "(", "", ")", ",", "DstReg", ")", ".", "addReg", "(", "SrcReg", ")", ".", "addMBB", "(", "BB", ")", ".", "addReg", "(", "ShiftReg2", ")", ".", "addMBB", "(", "LoopBB", ")", ";", "MI", ".", "eraseFromParent", "(", ")", ";", "return", "RemBB", ";"], "ground_truth": ["}"], "File": "AVRISelLowering32", "Func": "insertShift", "Target": "AVR", "Target_Clf": "MPU", "Compiler_Type": "LLVM", "Idx": 113061, "Length": 505, "Cover_Rate": 0.6128640776699029} {"Template_token": ["", "SDValue", "TargetLowering", "::", "LowerDivRem", "(", "SDValue", "Op", ",", "SelectionDAG", "&", "DAG", ")", "const", "{", "unsigned", "Opcode", "=", "Op", "->", "getOpcode", "(", ")", ";", "assert", "(", "(", "Opcode", "==", "", "||", "Opcode", "==", "", ")", "&&", "", ")", ";", "bool", "IsSigned", "=", "(", "Opcode", "==", "", ")", ";", "EVT", "VT", "=", "Op", "->", "getValueType", "(", "", ")", ";", "Type", "*", "Ty", "=", "VT", ".", "getTypeForEVT", "(", "*", "DAG", ".", "getContext", "(", ")", ")", ";", "RTLIB", "::", "Libcall", "LC", ";", "switch", "(", "VT", ".", "getSimpleVT", "(", ")", ".", "SimpleTy", ")", "{", "default", ":", "llvm_unreachable", "(", "", ")", ";", "case", "", ":", "LC", "=", "IsSigned", "?", "RTLIB", "::", "SDIVREM_I8", ":", "RTLIB", "::", "UDIVREM_I8", ";", "break", ";", "case", "", ":", "LC", "=", "IsSigned", "?", "RTLIB", "::", "SDIVREM_I16", ":", "RTLIB", "::", "UDIVREM_I16", ";", "break", ";", "case", "", ":", "LC", "=", "IsSigned", "?", "RTLIB", "::", "SDIVREM_I32", ":", "RTLIB", "::", "UDIVREM_I32", ";", "break", ";", "case", "", ":", "LC", "=", "IsSigned", "?", "RTLIB", "::", "SDIVREM_I64", ":", "RTLIB", "::", "UDIVREM_I64", ";", "break", ";", "}", "SDValue", "InChain", "=", "DAG", ".", "getEntryNode", "(", ")", ";"], "ground_truth": ["TargetLowering", "::", "ArgListTy", "Args", ";"], "File": "AVRISelLowering33", "Func": "LowerDivRem", "Target": "AVR", "Target_Clf": "MPU", "Compiler_Type": "LLVM", "Idx": 113063, "Length": 179, "Cover_Rate": 0.46981627296587924} {"Template_token": ["", "assert", "(", "(", "LHS", ".", "getSimpleValueType", "(", ")", "==", "RHS", ".", "getSimpleValueType", "(", ")", ")", "&&", "", ")", ";", "assert", "(", "(", "(", "LHS", ".", "getSimpleValueType", "(", ")", "==", "", ")", "||", "(", "LHS", ".", "getSimpleValueType", "(", ")", "==", "", ")", ")", "&&", "", ")", ";", "SDValue", "Cmp", ";", "if", "(", "LHS", ".", "getSimpleValueType", "(", ")", "==", "", "&&", "dyn_cast", "<", "ConstantSDNode", ">", "(", "RHS", ")", ")", "{", "SDValue", "LHSlo", "=", "DAG", ".", "getNode", "(", "", ",", "DL", ",", "", ",", "LHS", ",", "DAG", ".", "getIntPtrConstant", "(", "", ",", "DL", ")", ")", ";"], "ground_truth": ["SDValue", "LHShi", "=", "DAG", ".", "getNode", "(", "", ",", "DL", ",", "", ",", "LHS", ",", "DAG", ".", "getIntPtrConstant", "(", "", ",", "DL", ")", ")", ";"], "File": "AVRISelLowering35", "Func": "getAVRCmp", "Target": "AVR", "Target_Clf": "MPU", "Compiler_Type": "LLVM", "Idx": 113064, "Length": 118, "Cover_Rate": 0.4169611307420495} {"Template_token": ["", "SDValue", "LHSlo", "=", "DAG", ".", "getNode", "(", "", ",", "DL", ",", "", ",", "LHS", ",", "DAG", ".", "getIntPtrConstant", "(", "", ",", "DL", ")", ")", ";", "SDValue", "LHShi", "=", "DAG", ".", "getNode", "(", "", ",", "DL", ",", "", ",", "LHS", ",", "DAG", ".", "getIntPtrConstant", "(", "", ",", "DL", ")", ")", ";", "SDValue", "RHSlo", "=", "DAG", ".", "getNode", "(", "", ",", "DL", ",", "", ",", "RHS", ",", "DAG", ".", "getIntPtrConstant", "(", "", ",", "DL", ")", ")", ";", "SDValue", "RHShi", "=", "DAG", ".", "getNode", "(", "", ",", "DL", ",", "", ",", "RHS", ",", "DAG", ".", "getIntPtrConstant", "(", "", ",", "DL", ")", ")", ";", "Cmp", "=", "DAG", ".", "getNode", "(", "", ",", "DL", ",", "", ",", "LHSlo", ",", "RHSlo", ")", ";", "Cmp", "=", "DAG", ".", "getNode", "(", "", ",", "DL", ",", "", ",", "LHShi", ",", "RHShi", ",", "Cmp", ")", ";", "}", "else", "{"], "ground_truth": ["Cmp", "=", "DAG", ".", "getNode", "(", "", ",", "DL", ",", "", ",", "LHS", ",", "RHS", ")", ";"], "File": "AVRISelLowering35", "Func": "getAVRCmp", "Target": "AVR", "Target_Clf": "MPU", "Compiler_Type": "LLVM", "Idx": 113065, "Length": 156, "Cover_Rate": 0.5512367491166078} {"Template_token": ["", "case", "", ":", "Opc8", "=", "", ";", "ShiftAmount", "=", "ShiftAmount", "%", "VT", ".", "getSizeInBits", "(", ")", ";", "break", ";", "case", "", ":", "Opc8", "=", "", ";", "break", ";", "case", "", ":", "Opc8", "=", "", ";", "break", ";", "default", ":", "llvm_unreachable", "(", "", ")", ";", "}", "if", "(", "VT", ".", "getSizeInBits", "(", ")", "==", "", ")", "{", "if", "(", "Op", ".", "getOpcode", "(", ")", "==", "", "&&", "", "<=", "ShiftAmount", "&&", "ShiftAmount", "<", "", ")", "{", "Victim", "=", "DAG", ".", "getNode", "(", "", ",", "dl", ",", "VT", ",", "Victim", ")", ";", "Victim", "=", "DAG", ".", "getNode", "(", "", ",", "dl", ",", "VT", ",", "Victim", ",", "DAG", ".", "getConstant", "(", "", ",", "dl", ",", "VT", ")", ")", ";", "ShiftAmount", "-=", "", ";", "}", "else", "if", "(", "Op", ".", "getOpcode", "(", ")", "==", "", "&&", "", "<=", "ShiftAmount", "&&", "ShiftAmount", "<", "", ")", "{", "Victim", "=", "DAG", ".", "getNode", "(", "", ",", "dl", ",", "VT", ",", "Victim", ")", ";", "Victim", "=", "DAG", ".", "getNode", "(", "", ",", "dl", ",", "VT", ",", "Victim", ",", "DAG", ".", "getConstant", "(", "", ",", "dl", ",", "VT", ")", ")", ";", "ShiftAmount", "-=", "", ";", "}", "else", "if", "(", "Op", ".", "getOpcode", "(", ")", "==", "", "&&", "ShiftAmount", "==", "", ")", "{", "Victim", "=", "DAG", ".", "getNode", "(", "", ",", "dl", ",", "VT", ",", "Victim", ")", ";", "ShiftAmount", "=", "", ";", "}", "else", "if", "(", "Op", ".", "getOpcode", "(", ")", "==", "", "&&", "ShiftAmount", "==", "", ")", "{", "Victim", "=", "DAG", ".", "getNode", "(", "", ",", "dl", ",", "VT", ",", "Victim", ")", ";", "ShiftAmount", "=", "", ";", "}", "else", "if", "(", "Op", ".", "getOpcode", "(", ")", "==", "", "&&", "ShiftAmount", "==", "", ")", "{", "Victim", "=", "DAG", ".", "getNode", "(", "", ",", "dl", ",", "VT", ",", "Victim", ")", ";", "ShiftAmount", "=", "", ";", "}", "}", "while", "(", "ShiftAmount", "--", ")", "{", "Victim", "=", "DAG", ".", "getNode", "(", "Opc8", ",", "dl", ",", "VT", ",", "Victim", ")", ";", "}"], "ground_truth": ["return", "Victim", ";"], "File": "AVRISelLowering35", "Func": "LowerShifts", "Target": "AVR", "Target_Clf": "MPU", "Compiler_Type": "LLVM", "Idx": 113066, "Length": 321, "Cover_Rate": 0.40632911392405063} {"Template_token": ["", "Register", "Reg", ";", "if", "(", "VT", "==", "", ")", "{", "Reg", "=", "StringSwitch", "<", "unsigned", ">", "(", "RegName", ")", ".", "Case", "(", "", ",", "", ")", ".", "Case", "(", "", ",", "", ")", ".", "Case", "(", "", ",", "", ")", ".", "Case", "(", "", ",", "", ")", ".", "Case", "(", "", ",", "", ")", ".", "Case", "(", "", ",", "", ")", ".", "Case", "(", "", ",", "", ")", ".", "Case", "(", "", ",", "", ")", ".", "Case", "(", "", ",", "", ")", ".", "Case", "(", "", ",", "", ")", ".", "Case", "(", "", ",", "", ")", ".", "Case", "(", "", ",", "", ")", ".", "Case", "(", "", ",", "", ")", ".", "Case", "(", "", ",", "", ")", ".", "Case", "(", "", ",", "", ")", ".", "Case", "(", "", ",", "", ")", ".", "Case", "(", "", ",", "", ")", ".", "Case", "(", "", ",", "", ")", ".", "Case", "(", "", ",", "", ")", ".", "Case", "(", "", ",", "", ")", ".", "Case", "(", "", ",", "", ")", ".", "Case", "(", "", ",", "", ")", ".", "Case", "(", "", ",", "", ")", ".", "Case", "(", "", ",", "", ")", ".", "Case", "(", "", ",", "", ")", ".", "Case", "(", "", ",", "", ")", ".", "Case", "(", "", ",", "", ")", ".", "Case", "(", "", ",", "", ")", ".", "Case", "(", "", ",", "", ")", ".", "Case", "(", "", ",", "", ")", ".", "Case", "(", "", ",", "", ")", ".", "Case", "(", "", ",", "", ")", ".", "Case", "(", "", ",", "", ")", ".", "Case", "(", "", ",", "", ")", ".", "Case", "(", "", ",", "", ")", ".", "Default", "(", "", ")", ";", "}", "else", "{", "Reg", "=", "StringSwitch", "<", "unsigned", ">", "(", "RegName", ")", ".", "Case", "(", "", ",", "", ")", ".", "Case", "(", "", ",", "", ")", ".", "Case", "(", "", ",", "", ")", ".", "Case", "(", "", ",", "", ")", ".", "Case", "(", "", ",", "", ")", ".", "Case", "(", "", ",", "", ")", ".", "Case", "(", "", ",", "", ")", ".", "Case", "(", "", ",", "", ")", ".", "Case", "(", "", ",", "", ")", ".", "Case", "(", "", ",", "", ")", ".", "Case", "(", "", ",", "", ")", ".", "Case", "(", "", ",", "", ")", ".", "Case", "(", "", ",", "", ")", ".", "Case", "(", "", ",", "", ")", ".", "Case", "(", "", ",", "", ")", ".", "Case", "(", "", ",", "", ")", ".", "Case", "(", "", ",", "", ")", ".", "Case", "(", "", ",", "", ")", ".", "Case", "(", "", ",", "", ")", ".", "Default", "(", "", ")", ";", "}"], "ground_truth": ["if", "(", "Reg", ")", "return", "Reg", ";"], "File": "AVRISelLowering40", "Func": "getRegisterByName", "Target": "AVR", "Target_Clf": "MPU", "Compiler_Type": "LLVM", "Idx": 113068, "Length": 429, "Cover_Rate": 0.7592920353982301} {"Template_token": ["", "if", "(", "VT", "==", "", ")", "{", "Reg", "=", "StringSwitch", "<", "unsigned", ">", "(", "RegName", ")", ".", "Case", "(", "", ",", "", ")", ".", "Case", "(", "", ",", "", ")", ".", "Case", "(", "", ",", "", ")", ".", "Case", "(", "", ",", "", ")", ".", "Case", "(", "", ",", "", ")", ".", "Case", "(", "", ",", "", ")", ".", "Case", "(", "", ",", "", ")", ".", "Case", "(", "", ",", "", ")", ".", "Case", "(", "", ",", "", ")", ".", "Case", "(", "", ",", "", ")", ".", "Case", "(", "", ",", "", ")", ".", "Case", "(", "", ",", "", ")", ".", "Case", "(", "", ",", "", ")", ".", "Case", "(", "", ",", "", ")", ".", "Case", "(", "", ",", "", ")", ".", "Case", "(", "", ",", "", ")", ".", "Case", "(", "", ",", "", ")", ".", "Case", "(", "", ",", "", ")", ".", "Case", "(", "", ",", "", ")", ".", "Case", "(", "", ",", "", ")", ".", "Case", "(", "", ",", "", ")", ".", "Case", "(", "", ",", "", ")", ".", "Case", "(", "", ",", "", ")", ".", "Case", "(", "", ",", "", ")", ".", "Case", "(", "", ",", "", ")", ".", "Case", "(", "", ",", "", ")", ".", "Case", "(", "", ",", "", ")", ".", "Case", "(", "", ",", "", ")", ".", "Case", "(", "", ",", "", ")", ".", "Case", "(", "", ",", "", ")", ".", "Case", "(", "", ",", "", ")", ".", "Case", "(", "", ",", "", ")", ".", "Case", "(", "", ",", "", ")", ".", "Case", "(", "", ",", "", ")", ".", "Case", "(", "", ",", "", ")", ".", "Default", "(", "", ")", ";", "}", "else", "{", "Reg", "=", "StringSwitch", "<", "unsigned", ">", "(", "RegName", ")", ".", "Case", "(", "", ",", "", ")", ".", "Case", "(", "", ",", "", ")", ".", "Case", "(", "", ",", "", ")", ".", "Case", "(", "", ",", "", ")", ".", "Case", "(", "", ",", "", ")", ".", "Case", "(", "", ",", "", ")", ".", "Case", "(", "", ",", "", ")", ".", "Case", "(", "", ",", "", ")", ".", "Case", "(", "", ",", "", ")", ".", "Case", "(", "", ",", "", ")", ".", "Case", "(", "", ",", "", ")", ".", "Case", "(", "", ",", "", ")", ".", "Case", "(", "", ",", "", ")", ".", "Case", "(", "", ",", "", ")", ".", "Case", "(", "", ",", "", ")", ".", "Case", "(", "", ",", "", ")", ".", "Case", "(", "", ",", "", ")", ".", "Case", "(", "", ",", "", ")", ".", "Case", "(", "", ",", "", ")", ".", "Default", "(", "", ")", ";", "}", "if", "(", "Reg", ")", "return", "Reg", ";", "report_fatal_error", "(", "", ")", ";"], "ground_truth": ["}"], "File": "AVRISelLowering40", "Func": "getRegisterByName", "Target": "AVR", "Target_Clf": "MPU", "Compiler_Type": "LLVM", "Idx": 113069, "Length": 432, "Cover_Rate": 0.7646017699115044} {"Template_token": ["", "SDValue", "Chain", "=", "CLI", ".", "Chain", ";", "SDValue", "Callee", "=", "CLI", ".", "Callee", ";", "bool", "&", "isTailCall", "=", "CLI", ".", "IsTailCall", ";", "CallingConv", "::", "ID", "CallConv", "=", "CLI", ".", "CallConv", ";", "bool", "isVarArg", "=", "CLI", ".", "IsVarArg", ";", "MachineFunction", "&", "MF", "=", "DAG", ".", "getMachineFunction", "(", ")", ";", "isTailCall", "=", "false", ";", "SmallVector", "<", "CCValAssign", ",", "", ">", "ArgLocs", ";", "CCState", "CCInfo", "(", "CallConv", ",", "isVarArg", ",", "DAG", ".", "getMachineFunction", "(", ")", ",", "ArgLocs", ",", "*", "DAG", ".", "getContext", "(", ")", ")", ";", "const", "Function", "*", "F", "=", "nullptr", ";", "if", "(", "const", "GlobalAddressSDNode", "*", "G", "=", "dyn_cast", "<", "GlobalAddressSDNode", ">", "(", "Callee", ")", ")", "{", "const", "GlobalValue", "*", "GV", "=", "G", "->", "getGlobal", "(", ")", ";", "F", "=", "cast", "<", "Function", ">", "(", "GV", ")", ";", "Callee", "=", "DAG", ".", "getTargetGlobalAddress", "(", "GV", ",", "DL", ",", "getPointerTy", "(", "DAG", ".", "getDataLayout", "(", ")", ")", ")", ";", "}", "else", "if", "(", "const", "ExternalSymbolSDNode", "*", "ES", "=", "dyn_cast", "<", "ExternalSymbolSDNode", ">", "(", "Callee", ")", ")", "{", "Callee", "=", "DAG", ".", "getTargetExternalSymbol", "(", "ES", "->", "getSymbol", "(", ")", ",", "getPointerTy", "(", "DAG", ".", "getDataLayout", "(", ")", ")", ")", ";", "}", "if", "(", "isVarArg", ")", "{", "CCInfo", ".", "AnalyzeCallOperands", "(", "Outs", ",", "ArgCC__Vararg", ")", ";", "}", "else", "{", "analyzeArguments", "(", "&", "CLI", ",", "F", ",", "&", "DAG", ".", "getDataLayout", "(", ")", ",", "Outs", ",", "ArgLocs", ",", "CCInfo", ")", ";", "}", "unsigned", "NumBytes", "=", "CCInfo", ".", "getNextStackOffset", "(", ")", ";", "Chain", "=", "DAG", ".", "getCALLSEQ_START", "(", "Chain", ",", "NumBytes", ",", "", ",", "DL", ")", ";", "SmallVector", "<", "std", "::", "pair", "<", "unsigned", ",", "SDValue", ">", ",", "", ">", "RegsToPass", ";", "unsigned", "AI", ",", "AE", ";", "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", ":"], "ground_truth": ["Arg", "=", "DAG", ".", "getNode", "(", "", ",", "DL", ",", "RegVT", ",", "Arg", ")", ";"], "File": "AVRISelLowering41", "Func": "LowerCall", "Target": "AVR", "Target_Clf": "MPU", "Compiler_Type": "LLVM", "Idx": 113070, "Length": 433, "Cover_Rate": 0.4427402862985685} {"Template_token": ["", "MachineFrameInfo", "&", "MFI", "=", "MF", ".", "getFrameInfo", "(", ")", ";", "auto", "DL", "=", "DAG", ".", "getDataLayout", "(", ")", ";", "SmallVector", "<", "CCValAssign", ",", "", ">", "ArgLocs", ";", "CCState", "CCInfo", "(", "CallConv", ",", "isVarArg", ",", "DAG", ".", "getMachineFunction", "(", ")", ",", "ArgLocs", ",", "*", "DAG", ".", "getContext", "(", ")", ")", ";", "if", "(", "isVarArg", ")", "{", "CCInfo", ".", "AnalyzeFormalArguments", "(", "Ins", ",", "ArgCC__Vararg", ")", ";", "}", "else", "{", "analyzeArguments", "(", "nullptr", ",", "&", "MF", ".", "getFunction", "(", ")", ",", "&", "DL", ",", "Ins", ",", "ArgLocs", ",", "CCInfo", ")", ";", "}", "SDValue", "ArgValue", ";", "for", "(", "CCValAssign", "&", "VA", ":", "ArgLocs", ")", "{", "if", "(", "VA", ".", "isRegLoc", "(", ")", ")", "{", "EVT", "RegVT", "=", "VA", ".", "getLocVT", "(", ")", ";", "const", "TargetRegisterClass", "*", "RC", ";", "if", "(", "RegVT", "==", "", ")", "{", "RC", "=", "&", "", ";", "}", "else", "if", "(", "RegVT", "==", "", ")", "{", "RC", "=", "&", "", ";", "}", "else", "{", "llvm_unreachable", "(", "", ")", ";", "}", "unsigned", "Reg", "=", "MF", ".", "addLiveIn", "(", "VA", ".", "getLocReg", "(", ")", ",", "RC", ")", ";", "ArgValue", "=", "DAG", ".", "getCopyFromReg", "(", "Chain", ",", "dl", ",", "Reg", ",", "RegVT", ")", ";", "switch", "(", "VA", ".", "getLocInfo", "(", ")", ")", "{", "default", ":", "llvm_unreachable", "(", "", ")", ";"], "ground_truth": ["case", "CCValAssign", "::", "Full", ":"], "File": "AVRISelLowering41", "Func": "LowerFormalArguments", "Target": "AVR", "Target_Clf": "MPU", "Compiler_Type": "LLVM", "Idx": 113071, "Length": 211, "Cover_Rate": 0.37544483985765126} {"Template_token": ["", "case", "", ":", "case", "", ":", "case", "", ":", "return", "insertShift", "(", "MI", ",", "MBB", ")", ";", "case", "", ":", "case", "", ":", "return", "insertMul", "(", "MI", ",", "MBB", ")", ";", "case", "", ":", "return", "insertCopyR1", "(", "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", ")", ";", "MF", "->", "insert", "(", "I", ",", "falseMBB", ")", ";", "trueMBB", "->", "splice", "(", "trueMBB", "->", "begin", "(", ")", ",", "MBB", ",", "std", "::", "next", "(", "MachineBasicBlock", "::", "iterator", "(", "MI", ")", ")", ",", "MBB", "->", "end", "(", ")", ")", ";"], "ground_truth": ["trueMBB", "->", "transferSuccessorsAndUpdatePHIs", "(", "MBB", ")", ";"], "File": "AVRISelLowering5", "Func": "EmitInstrWithCustomInserter", "Target": "AVR", "Target_Clf": "MPU", "Compiler_Type": "LLVM", "Idx": 113073, "Length": 280, "Cover_Rate": 0.5109489051094891} {"Template_token": ["", "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", ">", "(", ")", ";", "AFI", "->", "setVarArgsFrameIndex", "(", "MFI", ".", "CreateFixedObject", "(", "", ",", "StackSize", ",", "true", ")", ")", ";", "}"], "ground_truth": ["return", "Chain", ";"], "File": "AVRISelLowering5", "Func": "LowerFormalArguments", "Target": "AVR", "Target_Clf": "MPU", "Compiler_Type": "LLVM", "Idx": 113074, "Length": 243, "Cover_Rate": 0.43392857142857144} {"Template_token": ["", "if", "(", "VT", ".", "getSizeInBits", "(", ")", "==", "", ")", "{", "if", "(", "Op", ".", "getOpcode", "(", ")", "==", "", "&&", "", "<=", "ShiftAmount", "&&", "ShiftAmount", "<", "", ")", "{", "Victim", "=", "DAG", ".", "getNode", "(", "", ",", "dl", ",", "VT", ",", "Victim", ")", ";", "Victim", "=", "DAG", ".", "getNode", "(", "", ",", "dl", ",", "VT", ",", "Victim", ",", "DAG", ".", "getConstant", "(", "", ",", "dl", ",", "VT", ")", ")", ";", "ShiftAmount", "-=", "", ";", "}", "else", "if", "(", "Op", ".", "getOpcode", "(", ")", "==", "", "&&", "", "<=", "ShiftAmount", "&&", "ShiftAmount", "<", "", ")", "{", "Victim", "=", "DAG", ".", "getNode", "(", "", ",", "dl", ",", "VT", ",", "Victim", ")", ";", "Victim", "=", "DAG", ".", "getNode", "(", "", ",", "dl", ",", "VT", ",", "Victim", ",", "DAG", ".", "getConstant", "(", "", ",", "dl", ",", "VT", ")", ")", ";", "ShiftAmount", "-=", "", ";", "}", "else", "if", "(", "Op", ".", "getOpcode", "(", ")", "==", "", "&&", "ShiftAmount", "==", "", ")", "{", "Victim", "=", "DAG", ".", "getNode", "(", "", ",", "dl", ",", "VT", ",", "Victim", ",", "DAG", ".", "getConstant", "(", "", ",", "dl", ",", "VT", ")", ")", ";", "ShiftAmount", "=", "", ";", "}", "else", "if", "(", "Op", ".", "getOpcode", "(", ")", "==", "", "&&", "ShiftAmount", "==", "", ")", "{", "Victim", "=", "DAG", ".", "getNode", "(", "", ",", "dl", ",", "VT", ",", "Victim", ",", "DAG", ".", "getConstant", "(", "", ",", "dl", ",", "VT", ")", ")", ";", "ShiftAmount", "=", "", ";", "}", "else", "if", "(", "Op", ".", "getOpcode", "(", ")", "==", "", "&&", "ShiftAmount", "==", "", ")", "{", "Victim", "=", "DAG", ".", "getNode", "(", "", ",", "dl", ",", "VT", ",", "Victim", ",", "DAG", ".", "getConstant", "(", "", ",", "dl", ",", "VT", ")", ")", ";", "ShiftAmount", "=", "", ";", "}", "else", "if", "(", "Op", ".", "getOpcode", "(", ")", "==", "", "&&", "ShiftAmount", "==", "", ")", "{", "Victim", "=", "DAG", ".", "getNode", "(", "", ",", "dl", ",", "VT", ",", "Victim", ",", "DAG", ".", "getConstant", "(", "", ",", "dl", ",", "VT", ")", ")", ";", "ShiftAmount", "=", "", ";", "}", "}", "else", "if", "(", "VT", ".", "getSizeInBits", "(", ")", "==", "", ")", "{", "if", "(", "", "<=", "ShiftAmount", "&&", "ShiftAmount", "<", "", ")", "switch", "(", "Op", ".", "getOpcode", "(", ")", ")", "{", "case", "", ":", "Victim", "=", "DAG", ".", "getNode", "(", "", ",", "dl", ",", "VT", ",", "Victim", ",", "DAG", ".", "getConstant", "(", "", ",", "dl", ",", "VT", ")", ")", ";", "ShiftAmount", "-=", "", ";", "break", ";", "case", "", ":", "Victim", "=", "DAG", ".", "getNode", "(", "", ",", "dl", ",", "VT", ",", "Victim", ",", "DAG", ".", "getConstant", "(", "", ",", "dl", ",", "VT", ")", ")", ";", "ShiftAmount", "-=", "", ";", "break", ";", "default", ":", "break", ";", "}", "else", "if", "(", "", "<=", "ShiftAmount", "&&", "ShiftAmount", "<", "", ")", "switch", "(", "Op", ".", "getOpcode", "(", ")", ")", "{", "case", "", ":", "Victim", "=", "DAG", ".", "getNode", "(", "", ",", "dl", ",", "VT", ",", "Victim", ",", "DAG", ".", "getConstant", "(", "", ",", "dl", ",", "VT", ")", ")", ";", "ShiftAmount", "-=", "", ";", "Opc8", "=", "", ";", "break", ";", "case", "", ":"], "ground_truth": ["Victim", "=", "DAG", ".", "getNode", "(", "", ",", "dl", ",", "VT", ",", "Victim", ",", "DAG", ".", "getConstant", "(", "", ",", "dl", ",", "VT", ")", ")", ";"], "File": "AVRISelLowering5", "Func": "LowerShifts", "Target": "AVR", "Target_Clf": "MPU", "Compiler_Type": "LLVM", "Idx": 113075, "Length": 525, "Cover_Rate": 0.40229885057471265} {"Template_token": ["", "if", "(", "IsCall", ")", "{", "parseExternFuncCallArgs", "(", "*", "Outs", ",", "Args", ")", ";", "}", "else", "{", "assert", "(", "F", "!=", "nullptr", "&&", "", ")", ";", "parseFunctionArgs", "(", "F", ",", "TD", ",", "Args", ")", ";", "}", "unsigned", "RegsLeft", "=", "array_lengthof", "(", "RegList8", ")", ",", "ValNo", "=", "", ";", "bool", "UsesStack", "=", "false", ";", "for", "(", "unsigned", "i", "=", "", ",", "pos", "=", "", ",", "e", "=", "Args", ".", "size", "(", ")", ";", "i", "!=", "e", ";", "++", "i", ")", "{", "unsigned", "Size", "=", "Args", "[", "i", "]", ";", "MVT", "LocVT", "=", "(", "IsCall", ")", "?", "(", "*", "Outs", ")", "[", "pos", "]", ".", "VT", ":", "(", "*", "Ins", ")", "[", "pos", "]", ".", "VT", ";", "if", "(", "!", "UsesStack", "&&", "(", "Size", "<=", "RegsLeft", ")", ")", "{", "const", "MCPhysReg", "*", "RegList", "=", "(", "LocVT", "==", "", ")", "?", "RegList16", ":", "RegList8", ";", "for", "(", "unsigned", "j", "=", "", ";", "j", "!=", "Size", ";", "++", "j", ")", "{", "unsigned", "Reg", "=", "CCInfo", ".", "AllocateReg", "(", "ArrayRef", "<", "MCPhysReg", ">", "(", "RegList", ",", "array_lengthof", "(", "RegList8", ")", ")", ")", ";", "CCInfo", ".", "addLoc", "(", "CCValAssign", "::", "getReg", "(", "ValNo", "++", ",", "LocVT", ",", "Reg", ",", "LocVT", ",", "CCValAssign", "::", "Full", ")", ")", ";", "--", "RegsLeft", ";", "}", "std", "::", "reverse", "(", "ArgLocs", ".", "begin", "(", ")", "+", "pos", ",", "ArgLocs", ".", "begin", "(", ")", "+", "pos", "+", "Size", ")", ";", "}", "else", "{", "UsesStack", "=", "true", ";", "for", "(", "unsigned", "j", "=", "", ";", "j", "!=", "Size", ";", "++", "j", ")", "{", "unsigned", "Offset", "=", "CCInfo", ".", "AllocateStack", "(", "TD", "->", "getTypeAllocSize", "(", "EVT", "(", "LocVT", ")", ".", "getTypeForEVT", "(", "CCInfo", ".", "getContext", "(", ")", ")", ")", ",", "TD", "->", "getABITypeAlignment", "(", "EVT", "(", "LocVT", ")", ".", "getTypeForEVT", "(", "CCInfo", ".", "getContext", "(", ")", ")", ")", ")", ";"], "ground_truth": ["CCInfo", ".", "addLoc", "(", "CCValAssign", "::", "getMem", "(", "ValNo", "++", ",", "LocVT", ",", "Offset", ",", "LocVT", ",", "CCValAssign", "::", "Full", ")", ")", ";"], "File": "AVRISelLowering6", "Func": "analyzeStandardArguments", "Target": "AVR", "Target_Clf": "MPU", "Compiler_Type": "LLVM", "Idx": 113076, "Length": 318, "Cover_Rate": 0.6045627376425855} {"Template_token": ["", "parseExternFuncCallArgs", "(", "*", "Outs", ",", "Args", ")", ";", "}", "else", "{", "assert", "(", "F", "!=", "nullptr", "&&", "", ")", ";", "parseFunctionArgs", "(", "F", ",", "TD", ",", "Args", ")", ";", "}", "unsigned", "RegsLeft", "=", "array_lengthof", "(", "RegList8", ")", ",", "ValNo", "=", "", ";", "bool", "UsesStack", "=", "false", ";", "for", "(", "unsigned", "i", "=", "", ",", "pos", "=", "", ",", "e", "=", "Args", ".", "size", "(", ")", ";", "i", "!=", "e", ";", "++", "i", ")", "{", "unsigned", "Size", "=", "Args", "[", "i", "]", ";", "MVT", "LocVT", "=", "(", "IsCall", ")", "?", "(", "*", "Outs", ")", "[", "pos", "]", ".", "VT", ":", "(", "*", "Ins", ")", "[", "pos", "]", ".", "VT", ";", "if", "(", "!", "UsesStack", "&&", "(", "Size", "<=", "RegsLeft", ")", ")", "{", "const", "MCPhysReg", "*", "RegList", "=", "(", "LocVT", "==", "", ")", "?", "RegList16", ":", "RegList8", ";", "for", "(", "unsigned", "j", "=", "", ";", "j", "!=", "Size", ";", "++", "j", ")", "{", "unsigned", "Reg", "=", "CCInfo", ".", "AllocateReg", "(", "ArrayRef", "<", "MCPhysReg", ">", "(", "RegList", ",", "array_lengthof", "(", "RegList8", ")", ")", ")", ";", "CCInfo", ".", "addLoc", "(", "CCValAssign", "::", "getReg", "(", "ValNo", "++", ",", "LocVT", ",", "Reg", ",", "LocVT", ",", "CCValAssign", "::", "Full", ")", ")", ";"], "ground_truth": ["--", "RegsLeft", ";"], "File": "AVRISelLowering6", "Func": "analyzeStandardArguments", "Target": "AVR", "Target_Clf": "MPU", "Compiler_Type": "LLVM", "Idx": 113077, "Length": 198, "Cover_Rate": 0.376425855513308} {"Template_token": ["", "break", ";", "}", "const", "BasicBlock", "*", "LLVM_BB", "=", "BB", "->", "getBasicBlock", "(", ")", ";", "MachineFunction", "::", "iterator", "I", ";", "for", "(", "I", "=", "F", "->", "begin", "(", ")", ";", "I", "!=", "F", "->", "end", "(", ")", "&&", "&", "(", "*", "I", ")", "!=", "BB", ";", "++", "I", ")", ";", "if", "(", "I", "!=", "F", "->", "end", "(", ")", ")", "++", "I", ";", "MachineBasicBlock", "*", "LoopBB", "=", "F", "->", "CreateMachineBasicBlock", "(", "LLVM_BB", ")", ";", "MachineBasicBlock", "*", "RemBB", "=", "F", "->", "CreateMachineBasicBlock", "(", "LLVM_BB", ")", ";", "F", "->", "insert", "(", "I", ",", "LoopBB", ")", ";", "F", "->", "insert", "(", "I", ",", "RemBB", ")", ";", "RemBB", "->", "splice", "(", "RemBB", "->", "begin", "(", ")", ",", "BB", ",", "std", "::", "next", "(", "MachineBasicBlock", "::", "iterator", "(", "MI", ")", ")", ",", "BB", "->", "end", "(", ")", ")", ";", "RemBB", "->", "transferSuccessorsAndUpdatePHIs", "(", "BB", ")", ";", "BB", "->", "addSuccessor", "(", "LoopBB", ")", ";", "BB", "->", "addSuccessor", "(", "RemBB", ")", ";", "LoopBB", "->", "addSuccessor", "(", "RemBB", ")", ";", "LoopBB", "->", "addSuccessor", "(", "LoopBB", ")", ";", "unsigned", "ShiftAmtReg", "=", "RI", ".", "createVirtualRegister", "(", "&", "", ")", ";", "unsigned", "ShiftAmtReg2", "=", "RI", ".", "createVirtualRegister", "(", "&", "", ")", ";", "unsigned", "ShiftReg", "=", "RI", ".", "createVirtualRegister", "(", "RC", ")", ";", "unsigned", "ShiftReg2", "=", "RI", ".", "createVirtualRegister", "(", "RC", ")", ";", "unsigned", "ShiftAmtSrcReg", "=", "MI", ".", "getOperand", "(", "", ")", ".", "getReg", "(", ")", ";", "unsigned", "SrcReg", "=", "MI", ".", "getOperand", "(", "", ")", ".", "getReg", "(", ")", ";", "unsigned", "DstReg", "=", "MI", ".", "getOperand", "(", "", ")", ".", "getReg", "(", ")", ";", "BuildMI", "(", "BB", ",", "dl", ",", "TII", ".", "get", "(", "", ")", ")", ".", "addReg", "(", "ShiftAmtSrcReg", ")", ".", "addImm", "(", "", ")", ";", "BuildMI", "(", "BB", ",", "dl", ",", "TII", ".", "get", "(", "", ")", ")", ".", "addMBB", "(", "RemBB", ")", ";", "BuildMI", "(", "LoopBB", ",", "dl", ",", "TII", ".", "get", "(", "", ")", ",", "ShiftReg", ")", ".", "addReg", "(", "SrcReg", ")", ".", "addMBB", "(", "BB", ")", ".", "addReg", "(", "ShiftReg2", ")", ".", "addMBB", "(", "LoopBB", ")", ";", "BuildMI", "(", "LoopBB", ",", "dl", ",", "TII", ".", "get", "(", "", ")", ",", "ShiftAmtReg", ")", ".", "addReg", "(", "ShiftAmtSrcReg", ")", ".", "addMBB", "(", "BB", ")", ".", "addReg", "(", "ShiftAmtReg2", ")", ".", "addMBB", "(", "LoopBB", ")", ";", "BuildMI", "(", "LoopBB", ",", "dl", ",", "TII", ".", "get", "(", "Opc", ")", ",", "ShiftReg2", ")", ".", "addReg", "(", "ShiftReg", ")", ";", "BuildMI", "(", "LoopBB", ",", "dl", ",", "TII", ".", "get", "(", "", ")", ",", "ShiftAmtReg2", ")", ".", "addReg", "(", "ShiftAmtReg", ")", ".", "addImm", "(", "", ")", ";", "BuildMI", "(", "LoopBB", ",", "dl", ",", "TII", ".", "get", "(", "", ")", ")", ".", "addMBB", "(", "LoopBB", ")", ";"], "ground_truth": ["BuildMI", "(", "*", "RemBB", ",", "RemBB", "->", "begin", "(", ")", ",", "dl", ",", "TII", ".", "get", "(", "", ")", ",", "DstReg", ")", ".", "addReg", "(", "SrcReg", ")", ".", "addMBB", "(", "BB", ")", ".", "addReg", "(", "ShiftReg2", ")", ".", "addMBB", "(", "LoopBB", ")", ";"], "File": "AVRISelLowering7", "Func": "insertShift", "Target": "AVR", "Target_Clf": "MPU", "Compiler_Type": "LLVM", "Idx": 113079, "Length": 476, "Cover_Rate": 0.5942571785268415} {"Template_token": ["", "Args", ".", "push_back", "(", "Entry", ")", ";", "}", "SDValue", "Callee", "=", "DAG", ".", "getExternalSymbol", "(", "getLibcallName", "(", "LC", ")", ",", "getPointerTy", "(", "DAG", ".", "getDataLayout", "(", ")", ")", ")", ";", "Type", "*", "RetTy", "=", "(", "Type", "*", ")", "StructType", "::", "get", "(", "Ty", ",", "Ty", ",", "nullptr", ")", ";", "SDLoc", "dl", "(", "Op", ")", ";", "TargetLowering", "::", "CallLoweringInfo", "CLI", "(", "DAG", ")", ";", "CLI", ".", "setDebugLoc", "(", "dl", ")", ".", "setChain", "(", "InChain", ")", ".", "setLibCallee", "(", "getLibcallCallingConv", "(", "LC", ")", ",", "RetTy", ",", "Callee", ",", "std", "::", "move", "(", "Args", ")", ")", ".", "setInRegister", "(", ")", ".", "setSExtResult", "(", "isSigned", ")", ".", "setZExtResult", "(", "!", "isSigned", ")", ";", "std", "::", "pair", "<", "SDValue", ",", "SDValue", ">", "CallInfo", "=", "LowerCallTo", "(", "CLI", ")", ";"], "ground_truth": ["return", "CallInfo", ".", "first", ";"], "File": "AVRISelLowering9", "Func": "LowerDivRem", "Target": "AVR", "Target_Clf": "MPU", "Compiler_Type": "LLVM", "Idx": 113080, "Length": 129, "Cover_Rate": 0.33858267716535434} {"Template_token": ["", "analyzeBuiltinArguments", "(", "*", "CLI", ",", "F", ",", "TD", ",", "Outs", ",", "Ins", ",", "CallConv", ",", "ArgLocs", ",", "CCInfo", ",", "IsCall", ",", "IsVarArg", ")", ";", "return", ";", "}", "default", ":", "{"], "ground_truth": ["analyzeStandardArguments", "(", "CLI", ",", "F", ",", "TD", ",", "Outs", ",", "Ins", ",", "CallConv", ",", "ArgLocs", ",", "CCInfo", ",", "IsCall", ",", "IsVarArg", ")", ";"], "File": "AVRISelLowering", "Func": "analyzeArguments", "Target": "AVR", "Target_Clf": "MPU", "Compiler_Type": "LLVM", "Idx": 113081, "Length": 53, "Cover_Rate": 0.4015151515151515} {"Template_token": ["", "}", "return", ";", "}", "SmallVector", "<", "unsigned", ",", "", ">", "Args", ";", "if", "(", "IsCall", ")", "{", "parseExternFuncCallArgs", "(", "*", "Outs", ",", "Args", ")", ";", "}", "else", "{", "assert", "(", "F", "!=", "nullptr", "&&", "", ")", ";", "parseFunctionArgs", "(", "*", "Ins", ",", "Args", ")", ";", "}", "unsigned", "RegsLeft", "=", "array_lengthof", "(", "RegList8", ")", ",", "ValNo", "=", "", ";", "bool", "UsesStack", "=", "false", ";", "for", "(", "unsigned", "i", "=", "", ",", "pos", "=", "", ",", "e", "=", "Args", ".", "size", "(", ")", ";", "i", "!=", "e", ";", "++", "i", ")", "{", "unsigned", "Size", "=", "Args", "[", "i", "]", ";", "if", "(", "Size", "==", "", ")", "continue", ";", "MVT", "LocVT", "=", "(", "IsCall", ")", "?", "(", "*", "Outs", ")", "[", "pos", "]", ".", "VT", ":", "(", "*", "Ins", ")", "[", "pos", "]", ".", "VT", ";", "if", "(", "!", "UsesStack", "&&", "(", "Size", "<=", "RegsLeft", ")", ")", "{", "const", "MCPhysReg", "*", "RegList", "=", "(", "LocVT", "==", "", ")", "?", "RegList16", ":", "RegList8", ";", "for", "(", "unsigned", "j", "=", "", ";", "j", "!=", "Size", ";", "++", "j", ")", "{", "unsigned", "Reg", "=", "CCInfo", ".", "AllocateReg", "(", "ArrayRef", "<", "MCPhysReg", ">", "(", "RegList", ",", "array_lengthof", "(", "RegList8", ")", ")", ")", ";", "CCInfo", ".", "addLoc", "(", "CCValAssign", "::", "getReg", "(", "ValNo", "++", ",", "LocVT", ",", "Reg", ",", "LocVT", ",", "CCValAssign", "::", "Full", ")", ")", ";", "--", "RegsLeft", ";"], "ground_truth": ["}"], "File": "AVRISelLowering", "Func": "analyzeStandardArguments", "Target": "AVR", "Target_Clf": "MPU", "Compiler_Type": "LLVM", "Idx": 113083, "Length": 223, "Cover_Rate": 0.41838649155722324} {"Template_token": ["", "SmallVector", "<", "CCValAssign", ",", "", ">", "RVLocs", ";", "CCState", "CCInfo", "(", "CallConv", ",", "isVarArg", ",", "MF", ",", "RVLocs", ",", "Context", ")", ";"], "ground_truth": ["auto", "CCFunction", "=", "CCAssignFnForReturn", "(", "CallConv", ")", ";"], "File": "AVRISelLowering", "Func": "CanLowerReturn", "Target": "AVR", "Target_Clf": "MPU", "Compiler_Type": "LLVM", "Idx": 113085, "Length": 30, "Cover_Rate": 0.40540540540540543} {"Template_token": ["", "SmallVector", "<", "CCValAssign", ",", "", ">", "RVLocs", ";", "CCState", "CCInfo", "(", "CallConv", ",", "isVarArg", ",", "MF", ",", "RVLocs", ",", "Context", ")", ";", "auto", "CCFunction", "=", "CCAssignFnForReturn", "(", "CallConv", ")", ";", "return", "CCInfo", ".", "CheckReturn", "(", "Outs", ",", "CCFunction", ")", ";"], "ground_truth": ["}"], "File": "AVRISelLowering", "Func": "CanLowerReturn", "Target": "AVR", "Target_Clf": "MPU", "Compiler_Type": "LLVM", "Idx": 113086, "Length": 41, "Cover_Rate": 0.5540540540540541} {"Template_token": ["", "switch", "(", "CC", ")", "{", "case", "CallingConv", "::", "_BUILTIN", ":", "return", "RetCC__BUILTIN", ";", "default", ":"], "ground_truth": ["return", "RetCC_", ";"], "File": "AVRISelLowering", "Func": "CCAssignFnForReturn", "Target": "AVR", "Target_Clf": "MPU", "Compiler_Type": "LLVM", "Idx": 113087, "Length": 18, "Cover_Rate": 0.5454545454545454} {"Template_token": ["", "int", "Opc", "=", "MI", ".", "getOpcode", "(", ")", ";", "switch", "(", "Opc", ")", "{", "case", "", ":", "case", "", ":", "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", ")", ";", "MF", "->", "insert", "(", "I", ",", "falseMBB", ")", ";", "trueMBB", "->", "splice", "(", "trueMBB", "->", "begin", "(", ")", ",", "MBB", ",", "std", "::", "next", "(", "MachineBasicBlock", "::", "iterator", "(", "MI", ")", ")", ",", "MBB", "->", "end", "(", ")", ")", ";", "trueMBB", "->", "transferSuccessorsAndUpdatePHIs", "(", "MBB", ")", ";", "", "CC", "=", "(", "", ")", "MI", ".", "getOperand", "(", "", ")", ".", "getImm", "(", ")", ";", "BuildMI", "(", "MBB", ",", "dl", ",", "TII", ".", "getBrCond", "(", "CC", ")", ")", ".", "addMBB", "(", "trueMBB", ")", ";", "BuildMI", "(", "MBB", ",", "dl", ",", "TII", ".", "get", "(", "", ")", ")", ".", "addMBB", "(", "falseMBB", ")", ";", "MBB", "->", "addSuccessor", "(", "falseMBB", ")", ";", "MBB", "->", "addSuccessor", "(", "trueMBB", ")", ";", "BuildMI", "(", "falseMBB", ",", "dl", ",", "TII", ".", "get", "(", "", ")", ")", ".", "addMBB", "(", "trueMBB", ")", ";", "falseMBB", "->", "addSuccessor", "(", "trueMBB", ")", ";", "BuildMI", "(", "*", "trueMBB", ",", "trueMBB", "->", "begin", "(", ")", ",", "dl", ",", "TII", ".", "get", "(", "", ")", ",", "MI", ".", "getOperand", "(", "", ")", ".", "getReg", "(", ")", ")", ".", "addReg", "(", "MI", ".", "getOperand", "(", "", ")", ".", "getReg", "(", ")", ")", ".", "addMBB", "(", "MBB", ")", ".", "addReg", "(", "MI", ".", "getOperand", "(", "", ")", ".", "getReg", "(", ")", ")", ".", "addMBB", "(", "falseMBB", ")", ";", "MI", ".", "eraseFromParent", "(", ")", ";"], "ground_truth": ["return", "trueMBB", ";"], "File": "AVRISelLowering", "Func": "EmitInstrWithCustomInserter", "Target": "AVR", "Target_Clf": "MPU", "Compiler_Type": "LLVM", "Idx": 113088, "Length": 478, "Cover_Rate": 0.8934579439252337} {"Template_token": ["", "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", ")", ";"], "ground_truth": ["MachineFunction", "::", "iterator", "I", ";"], "File": "AVRISelLowering", "Func": "EmitInstrWithCustomInserter", "Target": "AVR", "Target_Clf": "MPU", "Compiler_Type": "LLVM", "Idx": 113089, "Length": 161, "Cover_Rate": 0.30093457943925234} {"Template_token": ["", "SDValue", "LHS3", "=", "DAG", ".", "getNode", "(", "", ",", "DL", ",", "", ",", "LHS_1", ",", "DAG", ".", "getIntPtrConstant", "(", "", ",", "DL", ")", ")", ";", "SDValue", "RHS_0", "=", "DAG", ".", "getNode", "(", "", ",", "DL", ",", "", ",", "RHS", ",", "DAG", ".", "getIntPtrConstant", "(", "", ",", "DL", ")", ")", ";", "SDValue", "RHS_1", "=", "DAG", ".", "getNode", "(", "", ",", "DL", ",", "", ",", "RHS", ",", "DAG", ".", "getIntPtrConstant", "(", "", ",", "DL", ")", ")", ";", "SDValue", "RHS0", "=", "DAG", ".", "getNode", "(", "", ",", "DL", ",", "", ",", "RHS_0", ",", "DAG", ".", "getIntPtrConstant", "(", "", ",", "DL", ")", ")", ";", "SDValue", "RHS1", "=", "DAG", ".", "getNode", "(", "", ",", "DL", ",", "", ",", "RHS_0", ",", "DAG", ".", "getIntPtrConstant", "(", "", ",", "DL", ")", ")", ";", "SDValue", "RHS2", "=", "DAG", ".", "getNode", "(", "", ",", "DL", ",", "", ",", "RHS_1", ",", "DAG", ".", "getIntPtrConstant", "(", "", ",", "DL", ")", ")", ";", "SDValue", "RHS3", "=", "DAG", ".", "getNode", "(", "", ",", "DL", ",", "", ",", "RHS_1", ",", "DAG", ".", "getIntPtrConstant", "(", "", ",", "DL", ")", ")", ";", "if", "(", "UseTest", ")", "{", "SDValue", "Top", "=", "DAG", ".", "getNode", "(", "", ",", "DL", ",", "", ",", "LHS3", ",", "DAG", ".", "getIntPtrConstant", "(", "", ",", "DL", ")", ")", ";", "Cmp", "=", "DAG", ".", "getNode", "(", "", ",", "DL", ",", "", ",", "Top", ")", ";", "}", "else", "{", "Cmp", "=", "DAG", ".", "getNode", "(", "", ",", "DL", ",", "", ",", "LHS0", ",", "RHS0", ")", ";", "Cmp", "=", "DAG", ".", "getNode", "(", "", ",", "DL", ",", "", ",", "LHS1", ",", "RHS1", ",", "Cmp", ")", ";", "Cmp", "=", "DAG", ".", "getNode", "(", "", ",", "DL", ",", "", ",", "LHS2", ",", "RHS2", ",", "Cmp", ")", ";", "Cmp", "=", "DAG", ".", "getNode", "(", "", ",", "DL", ",", "", ",", "LHS3", ",", "RHS3", ",", "Cmp", ")", ";", "}", "}", "else", "if", "(", "VT", "==", "", "||", "VT", "==", "", ")", "{", "if", "(", "UseTest", ")", "{", "Cmp", "=", "DAG", ".", "getNode", "(", "", ",", "DL", ",", "", ",", "(", "VT", "==", "", ")", "?", "LHS", ":", "DAG", ".", "getNode", "(", "", ",", "DL", ",", "", ",", "LHS", ",", "DAG", ".", "getIntPtrConstant", "(", "", ",", "DL", ")", ")", ")", ";", "}", "else", "{", "Cmp", "=", "DAG", ".", "getNode", "(", "", ",", "DL", ",", "", ",", "LHS", ",", "RHS", ")", ";", "}", "}", "else", "{", "llvm_unreachable", "(", "", ")", ";", "}", "if", "(", "!", "UseTest", ")", "{"], "ground_truth": ["cc", "=", "DAG", ".", "getConstant", "(", "intCCToCC", "(", "CC", ")", ",", "DL", ",", "", ")", ";"], "File": "AVRISelLowering", "Func": "getAVRCmp", "Target": "AVR", "Target_Clf": "MPU", "Compiler_Type": "LLVM", "Idx": 113090, "Length": 411, "Cover_Rate": 0.32134480062548865} {"Template_token": ["", "SDValue", "Callee", "=", "CLI", ".", "Callee", ";", "if", "(", "const", "ExternalSymbolSDNode", "*", "G", "=", "dyn_cast", "<", "ExternalSymbolSDNode", ">", "(", "Callee", ")", ")", "{", "return", "G", "->", "getSymbol", "(", ")", ";", "}", "if", "(", "const", "GlobalAddressSDNode", "*", "G", "=", "dyn_cast", "<", "GlobalAddressSDNode", ">", "(", "Callee", ")", ")", "{", "return", "G", "->", "getGlobal", "(", ")", "->", "getName", "(", ")", ";", "}"], "ground_truth": ["llvm_unreachable", "(", "", ")", ";"], "File": "AVRISelLowering", "Func": "getFunctionName", "Target": "AVR", "Target_Clf": "MPU", "Compiler_Type": "LLVM", "Idx": 113091, "Length": 64, "Cover_Rate": 0.8421052631578947} {"Template_token": ["", "switch", "(", "ConstraintCode", "[", "", "]", ")", "{", "case", "'Q'", ":", "return", "InlineAsm", "::", "Constraint_Q", ";", "}", "return", "TargetLowering", "::", "getInlineAsmMemConstraint", "(", "ConstraintCode", ")", ";"], "ground_truth": ["}"], "File": "AVRISelLowering", "Func": "getInlineAsmMemConstraint", "Target": "AVR", "Target_Clf": "MPU", "Compiler_Type": "LLVM", "Idx": 113092, "Length": 26, "Cover_Rate": 0.7222222222222222} {"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", "(", "", ")", ";", "Offset", "=", "DAG", ".", "getConstant", "(", "RHSC", ",", "DL", ",", "", ")", ";", "AM", "=", "", ";"], "ground_truth": ["return", "true", ";"], "File": "AVRISelLowering", "Func": "getPostIndexedAddressParts", "Target": "AVR", "Target_Clf": "MPU", "Compiler_Type": "LLVM", "Idx": 113093, "Length": 124, "Cover_Rate": 0.42758620689655175} {"Template_token": ["", "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", ";", "if", "(", "(", "VT", "==", "", "&&", "RHSC", "!=", "-", "", ")", "||", "(", "VT", "==", "", "&&", "RHSC", "!=", "-", "", ")", ")", "{"], "ground_truth": ["return", "false", ";"], "File": "AVRISelLowering", "Func": "getPreIndexedAddressParts", "Target": "AVR", "Target_Clf": "MPU", "Compiler_Type": "LLVM", "Idx": 113094, "Length": 180, "Cover_Rate": 0.5438066465256798} {"Template_token": ["", "case", "'a'", ":", "return", "std", "::", "make_pair", "(", "", ",", "&", "", ")", ";", "case", "'b'", ":", "return", "std", "::", "make_pair", "(", "", ",", "&", "", ")", ";", "case", "'d'", ":", "return", "std", "::", "make_pair", "(", "", ",", "&", "", ")", ";", "case", "'l'", ":", "return", "std", "::", "make_pair", "(", "", ",", "&", "", ")", ";", "case", "'e'", ":", "return", "std", "::", "make_pair", "(", "", ",", "&", "", ")", ";", "case", "'q'", ":", "return", "std", "::", "make_pair", "(", "", ",", "&", "", ")", ";", "case", "'r'", ":", "if", "(", "VT", "==", "", ")", "return", "std", "::", "make_pair", "(", "", ",", "&", "", ")", ";", "assert", "(", "VT", "==", "", "&&", "", ")", ";", "return", "std", "::", "make_pair", "(", "", ",", "&", "", ")", ";", "case", "'t'", ":", "return", "std", "::", "make_pair", "(", "unsigned", "(", "", ")", ",", "&", "", ")", ";", "case", "'w'", ":", "return", "std", "::", "make_pair", "(", "", ",", "&", "", ")", ";", "case", "'x'", ":", "case", "'X'", ":", "return", "std", "::", "make_pair", "(", "unsigned", "(", "", ")", ",", "&", "", ")", ";", "case", "'y'", ":", "case", "'Y'", ":", "return", "std", "::", "make_pair", "(", "unsigned", "(", "", ")", ",", "&", "", ")", ";", "case", "'z'", ":", "case", "'Z'", ":", "return", "std", "::", "make_pair", "(", "unsigned", "(", "", ")", ",", "&", "", ")", ";"], "ground_truth": ["default", ":"], "File": "AVRISelLowering", "Func": "getRegForInlineAsmConstraint", "Target": "AVR", "Target_Clf": "MPU", "Compiler_Type": "LLVM", "Idx": 113095, "Length": 217, "Cover_Rate": 0.6739130434782609} {"Template_token": ["", "Reg", "=", "StringSwitch", "<", "unsigned", ">", "(", "RegName", ")", ".", "Case", "(", "", ",", "", ")", ".", "Case", "(", "", ",", "", ")", ".", "Case", "(", "", ",", "", ")", ".", "Case", "(", "", ",", "", ")", ".", "Case", "(", "", ",", "", ")", ".", "Case", "(", "", ",", "", ")", ".", "Case", "(", "", ",", "", ")", ".", "Case", "(", "", ",", "", ")", ".", "Case", "(", "", ",", "", ")", ".", "Case", "(", "", ",", "", ")", ".", "Case", "(", "", ",", "", ")", ".", "Case", "(", "", ",", "", ")", ".", "Case", "(", "", ",", "", ")", ".", "Case", "(", "", ",", "", ")", ".", "Case", "(", "", ",", "", ")", ".", "Case", "(", "", ",", "", ")", ".", "Case", "(", "", ",", "", ")", ".", "Case", "(", "", ",", "", ")", ".", "Case", "(", "", ",", "", ")", ".", "Case", "(", "", ",", "", ")", ".", "Case", "(", "", ",", "", ")", ".", "Case", "(", "", ",", "", ")", ".", "Case", "(", "", ",", "", ")", ".", "Case", "(", "", ",", "", ")", ".", "Case", "(", "", ",", "", ")", ".", "Case", "(", "", ",", "", ")", ".", "Case", "(", "", ",", "", ")", ".", "Case", "(", "", ",", "", ")", ".", "Case", "(", "", ",", "", ")", ".", "Case", "(", "", ",", "", ")", ".", "Case", "(", "", ",", "", ")", ".", "Case", "(", "", ",", "", ")", ".", "Case", "(", "", ",", "", ")", ".", "Case", "(", "", ",", "", ")", ".", "Case", "(", "", ",", "", ")", ".", "Default", "(", "", ")", ";", "}", "else", "{", "Reg", "=", "StringSwitch", "<", "unsigned", ">", "(", "RegName", ")", ".", "Case", "(", "", ",", "", ")", ".", "Case", "(", "", ",", "", ")", ".", "Case", "(", "", ",", "", ")", ".", "Case", "(", "", ",", "", ")", ".", "Case", "(", "", ",", "", ")", ".", "Case", "(", "", ",", "", ")", ".", "Case", "(", "", ",", "", ")", ".", "Case", "(", "", ",", "", ")", ".", "Case", "(", "", ",", "", ")", ".", "Case", "(", "", ",", "", ")", ".", "Case", "(", "", ",", "", ")", ".", "Case", "(", "", ",", "", ")", ".", "Case", "(", "", ",", "", ")", ".", "Case", "(", "", ",", "", ")", ".", "Case", "(", "", ",", "", ")", ".", "Case", "(", "", ",", "", ")", ".", "Case", "(", "", ",", "", ")", ".", "Case", "(", "", ",", "", ")", ".", "Case", "(", "", ",", "", ")", ".", "Default", "(", "", ")", ";"], "ground_truth": ["}"], "File": "AVRISelLowering", "Func": "getRegisterByName", "Target": "AVR", "Target_Clf": "MPU", "Compiler_Type": "LLVM", "Idx": 113096, "Length": 412, "Cover_Rate": 0.7304964539007093} {"Template_token": ["", "assert", "(", "!", "VT", ".", "isVector", "(", ")", "&&", "", ")", ";"], "ground_truth": ["return", "", ";"], "File": "AVRISelLowering", "Func": "getSetCCResultType", "Target": "AVR", "Target_Clf": "MPU", "Compiler_Type": "LLVM", "Idx": 113097, "Length": 15, "Cover_Rate": 0.4166666666666667} {"Template_token": ["", "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", ";", "}", "}", "break", ";", "case", "'K'", ":", "if", "(", "const", "ConstantInt", "*", "C", "=", "dyn_cast", "<", "ConstantInt", ">", "(", "CallOperandVal", ")", ")", "{", "if", "(", "C", "->", "getZExtValue", "(", ")", "==", "", ")", "{", "weight", "=", "CW_Constant", ";", "}", "}", "break", ";", "case", "'L'", ":", "if", "(", "const", "ConstantInt", "*", "C", "=", "dyn_cast", "<", "ConstantInt", ">", "(", "CallOperandVal", ")", ")", "{", "if", "(", "C", "->", "getZExtValue", "(", ")", "==", "", ")", "{", "weight", "=", "CW_Constant", ";", "}", "}", "break", ";", "case", "'M'", ":", "if", "(", "const", "ConstantInt", "*", "C", "=", "dyn_cast", "<", "ConstantInt", ">", "(", "CallOperandVal", ")", ")", "{", "if", "(", "isUInt", "<", "", ">", "(", "C", "->", "getZExtValue", "(", ")", ")", ")", "{", "weight", "=", "CW_Constant", ";", "}", "}", "break", ";", "case", "'N'", ":", "if", "(", "const", "ConstantInt", "*", "C", "=", "dyn_cast", "<", "ConstantInt", ">", "(", "CallOperandVal", ")", ")", "{", "if", "(", "C", "->", "getSExtValue", "(", ")", "==", "-", "", ")", "{", "weight", "=", "CW_Constant", ";", "}", "}", "break", ";", "case", "'O'", ":", "if", "(", "const", "ConstantInt", "*", "C", "=", "dyn_cast", "<", "ConstantInt", ">", "(", "CallOperandVal", ")", ")", "{"], "ground_truth": ["if", "(", "(", "C", "->", "getZExtValue", "(", ")", "==", "", ")", "||", "(", "C", "->", "getZExtValue", "(", ")", "==", "", ")", "||", "(", "C", "->", "getZExtValue", "(", ")", "==", "", ")", ")", "{"], "File": "AVRISelLowering", "Func": "getSingleConstraintMatchWeight", "Target": "AVR", "Target_Clf": "MPU", "Compiler_Type": "LLVM", "Idx": 113098, "Length": 374, "Cover_Rate": 0.6584507042253521} {"Template_token": ["", "weight", "=", "CW_Constant", ";", "}", "}", "break", ";", "case", "'M'", ":", "if", "(", "const", "ConstantInt", "*", "C", "=", "dyn_cast", "<", "ConstantInt", ">", "(", "CallOperandVal", ")", ")", "{", "if", "(", "isUInt", "<", "", ">", "(", "C", "->", "getZExtValue", "(", ")", ")", ")", "{", "weight", "=", "CW_Constant", ";", "}", "}", "break", ";", "case", "'N'", ":", "if", "(", "const", "ConstantInt", "*", "C", "=", "dyn_cast", "<", "ConstantInt", ">", "(", "CallOperandVal", ")", ")", "{", "if", "(", "C", "->", "getSExtValue", "(", ")", "==", "-", "", ")", "{", "weight", "=", "CW_Constant", ";", "}", "}", "break", ";", "case", "'O'", ":", "if", "(", "const", "ConstantInt", "*", "C", "=", "dyn_cast", "<", "ConstantInt", ">", "(", "CallOperandVal", ")", ")", "{", "if", "(", "(", "C", "->", "getZExtValue", "(", ")", "==", "", ")", "||", "(", "C", "->", "getZExtValue", "(", ")", "==", "", ")", "||", "(", "C", "->", "getZExtValue", "(", ")", "==", "", ")", ")", "{", "weight", "=", "CW_Constant", ";", "}", "}", "break", ";", "case", "'P'", ":", "if", "(", "const", "ConstantInt", "*", "C", "=", "dyn_cast", "<", "ConstantInt", ">", "(", "CallOperandVal", ")", ")", "{", "if", "(", "C", "->", "getZExtValue", "(", ")", "==", "", ")", "{", "weight", "=", "CW_Constant", ";", "}", "}", "break", ";", "case", "'R'", ":", "if", "(", "const", "ConstantInt", "*", "C", "=", "dyn_cast", "<", "ConstantInt", ">", "(", "CallOperandVal", ")", ")", "{", "if", "(", "(", "C", "->", "getSExtValue", "(", ")", ">=", "-", "", ")", "&&", "(", "C", "->", "getSExtValue", "(", ")", "<=", "", ")", ")", "{", "weight", "=", "CW_Constant", ";", "}", "}"], "ground_truth": ["break", ";"], "File": "AVRISelLowering", "Func": "getSingleConstraintMatchWeight", "Target": "AVR", "Target_Clf": "MPU", "Compiler_Type": "LLVM", "Idx": 113099, "Length": 238, "Cover_Rate": 0.41901408450704225} {"Template_token": ["", "NODE", "(", "ROR", ")", ";", "NODE", "(", "ASR", ")", ";", "NODE", "(", "LSLLOOP", ")", ";", "NODE", "(", "LSRLOOP", ")", ";", "NODE", "(", "ASRLOOP", ")", ";", "NODE", "(", "BRCOND", ")", ";", "NODE", "(", "CMP", ")", ";", "NODE", "(", "CMPC", ")", ";", "NODE", "(", "TST", ")", ";", "NODE", "(", "SELECT_CC", ")", ";"], "ground_truth": ["}"], "File": "AVRISelLowering", "Func": "getTargetNodeName", "Target": "AVR", "Target_Clf": "MPU", "Compiler_Type": "LLVM", "Idx": 113100, "Length": 51, "Cover_Rate": 0.4358974358974359} {"Template_token": ["", "if", "(", "isCopyMulResult", "(", "I", ")", ")", "++", "I", ";", "BuildMI", "(", "*", "BB", ",", "I", ",", "MI", ".", "getDebugLoc", "(", ")", ",", "TII", ".", "get", "(", "", ")", ",", "", ")", ".", "addReg", "(", "", ")", ".", "addReg", "(", "", ")", ";", "return", "BB", ";"], "ground_truth": ["}"], "File": "AVRISelLowering", "Func": "insertMul", "Target": "AVR", "Target_Clf": "MPU", "Compiler_Type": "LLVM", "Idx": 113101, "Length": 47, "Cover_Rate": 0.4519230769230769} {"Template_token": ["", "Opc", "=", "", ";", "RC", "=", "&", "", ";", "break", ";", "case", "", ":", "Opc", "=", "", ";", "RC", "=", "&", "", ";", "break", ";", "case", "", ":", "Opc", "=", "", ";", "RC", "=", "&", "", ";", "break", ";", "case", "", ":", "Opc", "=", "", ";", "RC", "=", "&", "", ";", "break", ";", "case", "", ":", "Opc", "=", "", ";", "RC", "=", "&", "", ";", "break", ";", "case", "", ":", "Opc", "=", "", ";", "RC", "=", "&", "", ";", "HasRepeatedOperand", "=", "true", ";", "break", ";", "case", "", ":", "Opc", "=", "", ";", "RC", "=", "&", "", ";", "break", ";", "case", "", ":", "Opc", "=", "", ";", "RC", "=", "&", "", ";", "break", ";", "case", "", ":", "Opc", "=", "", ";", "RC", "=", "&", "", ";", "break", ";", "}", "const", "BasicBlock", "*", "LLVM_BB", "=", "BB", "->", "getBasicBlock", "(", ")", ";", "MachineFunction", "::", "iterator", "I", ";", "for", "(", "I", "=", "BB", "->", "getIterator", "(", ")", ";", "I", "!=", "F", "->", "end", "(", ")", "&&", "&", "(", "*", "I", ")", "!=", "BB", ";", "++", "I", ")", ";", "if", "(", "I", "!=", "F", "->", "end", "(", ")", ")", "++", "I", ";", "MachineBasicBlock", "*", "LoopBB", "=", "F", "->", "CreateMachineBasicBlock", "(", "LLVM_BB", ")", ";", "MachineBasicBlock", "*", "RemBB", "=", "F", "->", "CreateMachineBasicBlock", "(", "LLVM_BB", ")", ";", "F", "->", "insert", "(", "I", ",", "LoopBB", ")", ";", "F", "->", "insert", "(", "I", ",", "RemBB", ")", ";", "RemBB", "->", "splice", "(", "RemBB", "->", "begin", "(", ")", ",", "BB", ",", "std", "::", "next", "(", "MachineBasicBlock", "::", "iterator", "(", "MI", ")", ")", ",", "BB", "->", "end", "(", ")", ")", ";", "RemBB", "->", "transferSuccessorsAndUpdatePHIs", "(", "BB", ")", ";", "BB", "->", "addSuccessor", "(", "LoopBB", ")", ";", "BB", "->", "addSuccessor", "(", "RemBB", ")", ";", "LoopBB", "->", "addSuccessor", "(", "RemBB", ")", ";", "LoopBB", "->", "addSuccessor", "(", "LoopBB", ")", ";", "unsigned", "ShiftAmtReg", "=", "RI", ".", "createVirtualRegister", "(", "&", "", ")", ";", "unsigned", "ShiftAmtReg2", "=", "RI", ".", "createVirtualRegister", "(", "&", "", ")", ";", "unsigned", "ShiftReg", "=", "RI", ".", "createVirtualRegister", "(", "RC", ")", ";", "unsigned", "ShiftReg2", "=", "RI", ".", "createVirtualRegister", "(", "RC", ")", ";", "unsigned", "ShiftAmtSrcReg", "=", "MI", ".", "getOperand", "(", "", ")", ".", "getReg", "(", ")", ";", "unsigned", "SrcReg", "=", "MI", ".", "getOperand", "(", "", ")", ".", "getReg", "(", ")", ";", "unsigned", "DstReg", "=", "MI", ".", "getOperand", "(", "", ")", ".", "getReg", "(", ")", ";", "BuildMI", "(", "BB", ",", "dl", ",", "TII", ".", "get", "(", "", ")", ")", ".", "addReg", "(", "ShiftAmtSrcReg", ")", ".", "addImm", "(", "", ")", ";", "BuildMI", "(", "BB", ",", "dl", ",", "TII", ".", "get", "(", "", ")", ")", ".", "addMBB", "(", "RemBB", ")", ";"], "ground_truth": ["BuildMI", "(", "LoopBB", ",", "dl", ",", "TII", ".", "get", "(", "", ")", ",", "ShiftReg", ")", ".", "addReg", "(", "SrcReg", ")", ".", "addMBB", "(", "BB", ")", ".", "addReg", "(", "ShiftReg2", ")", ".", "addMBB", "(", "LoopBB", ")", ";"], "File": "AVRISelLowering", "Func": "insertShift", "Target": "AVR", "Target_Clf": "MPU", "Compiler_Type": "LLVM", "Idx": 113103, "Length": 456, "Cover_Rate": 0.562962962962963} {"Template_token": ["", "default", ":", "llvm_unreachable", "(", "", ")", ";", "case", "", ":", "return", "", ";", "case", "", ":", "return", "", ";", "case", "", ":", "return", "", ";", "case", "", ":", "return", "", ";", "case", "", ":", "return", "", ";", "case", "", ":"], "ground_truth": ["return", "", ";"], "File": "AVRISelLowering", "Func": "intCCToAVRCC", "Target": "AVR", "Target_Clf": "MPU", "Compiler_Type": "LLVM", "Idx": 113104, "Length": 43, "Cover_Rate": 0.5} {"Template_token": ["", "unsigned", "SrcReg", "=", "I", "->", "getOperand", "(", "", ")", ".", "getReg", "(", ")", ";", "return", "(", "SrcReg", "==", "", "||", "SrcReg", "==", "", ")", ";", "}", "return", "false", ";"], "ground_truth": ["}"], "File": "AVRISelLowering", "Func": "isCopyMulResult", "Target": "AVR", "Target_Clf": "MPU", "Compiler_Type": "LLVM", "Idx": 113105, "Length": 30, "Cover_Rate": 0.5084745762711864} {"Template_token": ["", "if", "(", "isa", "<", "PointerType", ">", "(", "Ty", ")", "&&", "AS", "==", "", ")", "{", "return", "false", ";", "}", "if", "(", "Offs", "<", "", ")", "Offs", "=", "-", "Offs", ";", "if", "(", "AM", ".", "BaseGV", "==", "", "&&", "AM", ".", "HasBaseReg", "&&", "AM", ".", "Scale", "==", "", "&&", "isUInt", "<", "", ">", "(", "Offs", ")", ")", "{", "return", "true", ";", "}", "return", "false", ";"], "ground_truth": ["}"], "File": "AVRISelLowering", "Func": "isLegalAddressingMode", "Target": "AVR", "Target_Clf": "MPU", "Compiler_Type": "LLVM", "Idx": 113106, "Length": 65, "Cover_Rate": 0.5078125} {"Template_token": ["", "bool", "TargetLowering", "::", "isOffsetFoldingLegal", "(", "const", "GlobalAddressSDNode", "*", "GA", ")", "const", "{", "return", "true", ";"], "ground_truth": ["}"], "File": "AVRISelLowering", "Func": "isOffsetFoldingLegal", "Target": "AVR", "Target_Clf": "MPU", "Compiler_Type": "LLVM", "Idx": 113107, "Length": 16, "Cover_Rate": 1.0} {"Template_token": ["", "bool", "TargetLowering", "::", "isOffsetFoldingLegal", "(", "const", "GlobalAddressSDNode", "*", "GA", ")", "const", "{"], "ground_truth": ["return", "true", ";"], "File": "AVRISelLowering", "Func": "isOffsetFoldingLegal", "Target": "AVR", "Target_Clf": "MPU", "Compiler_Type": "LLVM", "Idx": 113108, "Length": 15, "Cover_Rate": 0.9375} {"Template_token": ["", "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", ";", "}", "case", "'G'", ":", "const", "ConstantFPSDNode", "*", "FC", "=", "dyn_cast", "<", "ConstantFPSDNode", ">", "(", "Op", ")", ";", "if", "(", "!", "FC", "||", "!", "FC", "->", "isZero", "(", ")", ")", "return", ";", "Result", "=", "DAG", ".", "getTargetConstant", "(", "", ",", "DL", ",", "", ")", ";"], "ground_truth": ["break", ";"], "File": "AVRISelLowering", "Func": "LowerAsmOperandForConstraint", "Target": "AVR", "Target_Clf": "MPU", "Compiler_Type": "LLVM", "Idx": 113109, "Length": 167, "Cover_Rate": 0.3180952380952381} {"Template_token": ["", "const", "BlockAddress", "*", "BA", "=", "cast", "<", "BlockAddressSDNode", ">", "(", "Op", ")", "->", "getBlockAddress", "(", ")", ";"], "ground_truth": ["SDValue", "Result", "=", "DAG", ".", "getTargetBlockAddress", "(", "BA", ",", "getPointerTy", "(", "DL", ")", ")", ";"], "File": "AVRISelLowering", "Func": "LowerBlockAddress", "Target": "AVR", "Target_Clf": "MPU", "Compiler_Type": "LLVM", "Idx": 113110, "Length": 32, "Cover_Rate": 0.41025641025641024} {"Template_token": ["", "const", "BlockAddress", "*", "BA", "=", "cast", "<", "BlockAddressSDNode", ">", "(", "Op", ")", "->", "getBlockAddress", "(", ")", ";", "SDValue", "Result", "=", "DAG", ".", "getTargetBlockAddress", "(", "BA", ",", "getPointerTy", "(", "DL", ")", ")", ";", "return", "DAG", ".", "getNode", "(", "", ",", "SDLoc", "(", "Op", ")", ",", "getPointerTy", "(", "DL", ")", ",", "Result", ")", ";"], "ground_truth": ["}"], "File": "AVRISelLowering", "Func": "LowerBlockAddress", "Target": "AVR", "Target_Clf": "MPU", "Compiler_Type": "LLVM", "Idx": 113111, "Length": 53, "Cover_Rate": 0.6794871794871795} {"Template_token": ["", "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": "AVRISelLowering", "Func": "LowerBR_CC", "Target": "AVR", "Target_Clf": "MPU", "Compiler_Type": "LLVM", "Idx": 113112, "Length": 87, "Cover_Rate": 0.6796875} {"Template_token": ["", "MachineFunction", "&", "MF", "=", "DAG", ".", "getMachineFunction", "(", ")", ";", "isTailCall", "=", "false", ";", "SmallVector", "<", "CCValAssign", ",", "", ">", "ArgLocs", ";", "CCState", "CCInfo", "(", "CallConv", ",", "isVarArg", ",", "DAG", ".", "getMachineFunction", "(", ")", ",", "ArgLocs", ",", "*", "DAG", ".", "getContext", "(", ")", ")", ";", "const", "Function", "*", "F", "=", "nullptr", ";", "if", "(", "const", "GlobalAddressSDNode", "*", "G", "=", "dyn_cast", "<", "GlobalAddressSDNode", ">", "(", "Callee", ")", ")", "{", "const", "GlobalValue", "*", "GV", "=", "G", "->", "getGlobal", "(", ")", ";", "F", "=", "cast", "<", "Function", ">", "(", "GV", ")", ";", "Callee", "=", "DAG", ".", "getTargetGlobalAddress", "(", "GV", ",", "DL", ",", "getPointerTy", "(", "DAG", ".", "getDataLayout", "(", ")", ")", ")", ";", "}", "else", "if", "(", "const", "ExternalSymbolSDNode", "*", "ES", "=", "dyn_cast", "<", "ExternalSymbolSDNode", ">", "(", "Callee", ")", ")", "{", "Callee", "=", "DAG", ".", "getTargetExternalSymbol", "(", "ES", "->", "getSymbol", "(", ")", ",", "getPointerTy", "(", "DAG", ".", "getDataLayout", "(", ")", ")", ")", ";", "}", "analyzeArguments", "(", "&", "CLI", ",", "F", ",", "&", "DAG", ".", "getDataLayout", "(", ")", ",", "&", "Outs", ",", "", ",", "CallConv", ",", "ArgLocs", ",", "CCInfo", ",", "true", ",", "isVarArg", ")", ";", "unsigned", "NumBytes", "=", "CCInfo", ".", "getNextStackOffset", "(", ")", ";", "Chain", "=", "DAG", ".", "getCALLSEQ_START", "(", "Chain", ",", "NumBytes", ",", "", ",", "DL", ")", ";", "SmallVector", "<", "std", "::", "pair", "<", "unsigned", ",", "SDValue", ">", ",", "", ">", "RegsToPass", ";", "unsigned", "AI", ",", "AE", ";", "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", ")", "{", "for", "(", "AE", "=", "AI", ",", "AI", "=", "ArgLocs", ".", "size", "(", ")", ";", "AI", "!=", "AE", ";", "--", "AI", ")", "{", "unsigned", "Loc", "=", "AI", "-", "", ";", "CCValAssign", "&", "VA", "=", "ArgLocs", "[", "Loc", "]", ";", "SDValue", "Arg", "=", "OutVals", "[", "Loc", "]", ";", "assert", "(", "VA", ".", "isMemLoc", "(", ")", ")", ";"], "ground_truth": ["SDValue", "PtrOff", "=", "DAG", ".", "getNode", "(", "", ",", "DL", ",", "getPointerTy", "(", "DAG", ".", "getDataLayout", "(", ")", ")", ",", "DAG", ".", "getRegister", "(", "", ",", "getPointerTy", "(", "DAG", ".", "getDataLayout", "(", ")", ")", ")", ",", "DAG", ".", "getIntPtrConstant", "(", "VA", ".", "getLocMemOffset", "(", ")", "+", "", ",", "DL", ")", ")", ";"], "File": "AVRISelLowering", "Func": "LowerCall", "Target": "AVR", "Target_Clf": "MPU", "Compiler_Type": "LLVM", "Idx": 113113, "Length": 536, "Cover_Rate": 0.5531475748194015} {"Template_token": ["", "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", ")", "{", "for", "(", "AE", "=", "AI", ",", "AI", "=", "ArgLocs", ".", "size", "(", ")", ";", "AI", "!=", "AE", ";", "--", "AI", ")", "{", "unsigned", "Loc", "=", "AI", "-", "", ";", "CCValAssign", "&", "VA", "=", "ArgLocs", "[", "Loc", "]", ";", "SDValue", "Arg", "=", "OutVals", "[", "Loc", "]", ";", "assert", "(", "VA", ".", "isMemLoc", "(", ")", ")", ";", "SDValue", "PtrOff", "=", "DAG", ".", "getNode", "(", "", ",", "DL", ",", "getPointerTy", "(", "DAG", ".", "getDataLayout", "(", ")", ")", ",", "DAG", ".", "getRegister", "(", "", ",", "getPointerTy", "(", "DAG", ".", "getDataLayout", "(", ")", ")", ")", ",", "DAG", ".", "getIntPtrConstant", "(", "VA", ".", "getLocMemOffset", "(", ")", "+", "", ",", "DL", ")", ")", ";", "Chain", "=", "DAG", ".", "getStore", "(", "Chain", ",", "DL", ",", "Arg", ",", "PtrOff", ",", "MachinePointerInfo", "::", "getStack", "(", "MF", ",", "VA", ".", "getLocMemOffset", "(", ")", ")", ",", "", ")", ";", "}", "}", "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", ")", "{", "Ops", ".", "push_back", "(", "DAG", ".", "getRegister", "(", "Reg", ".", "first", ",", "Reg", ".", "second", ".", "getValueType", "(", ")", ")", ")", ";", "}", "const", "TargetRegisterInfo", "*", "TRI", "=", "Subtarget", ".", "getRegisterInfo", "(", ")", ";", "const", "uint32_t", "*", "Mask", "=", "TRI", "->", "getCallPreservedMask", "(", "DAG", ".", "getMachineFunction", "(", ")", ",", "CallConv", ")", ";", "assert", "(", "Mask", "&&", "", ")", ";", "Ops", ".", "push_back", "(", "DAG", ".", "getRegisterMask", "(", "Mask", ")", ")", ";", "if", "(", "InFlag", ".", "getNode", "(", ")", ")", "{", "Ops", ".", "push_back", "(", "InFlag", ")", ";", "}", "Chain", "=", "DAG", ".", "getNode", "(", "", ",", "DL", ",", "NodeTys", ",", "Ops", ")", ";", "InFlag", "=", "Chain", ".", "getValue", "(", "", ")", ";", "Chain", "=", "DAG", ".", "getCALLSEQ_END", "(", "Chain", ",", "DAG", ".", "getIntPtrConstant", "(", "NumBytes", ",", "DL", ",", "true", ")", ",", "DAG", ".", "getIntPtrConstant", "(", "", ",", "DL", ",", "true", ")", ",", "InFlag", ",", "DL", ")", ";", "if", "(", "!", "Ins", ".", "empty", "(", ")", ")", "{", "InFlag", "=", "Chain", ".", "getValue", "(", "", ")", ";", "}"], "ground_truth": ["return", "LowerCallResult", "(", "Chain", ",", "InFlag", ",", "CallConv", ",", "isVarArg", ",", "Ins", ",", "DL", ",", "DAG", ",", "InVals", ")", ";"], "File": "AVRISelLowering", "Func": "LowerCall", "Target": "AVR", "Target_Clf": "MPU", "Compiler_Type": "LLVM", "Idx": 113114, "Length": 490, "Cover_Rate": 0.5056759545923633} {"Template_token": ["", "SDValue", "Callee", "=", "DAG", ".", "getExternalSymbol", "(", "getLibcallName", "(", "LC", ")", ",", "getPointerTy", "(", "DAG", ".", "getDataLayout", "(", ")", ")", ")", ";", "Type", "*", "RetTy", "=", "(", "Type", "*", ")", "StructType", "::", "get", "(", "Ty", ",", "Ty", ")", ";", "SDLoc", "dl", "(", "Op", ")", ";", "TargetLowering", "::", "CallLoweringInfo", "CLI", "(", "DAG", ")", ";", "CLI", ".", "setDebugLoc", "(", "dl", ")", ".", "setChain", "(", "InChain", ")", ".", "setLibCallee", "(", "getLibcallCallingConv", "(", "LC", ")", ",", "RetTy", ",", "Callee", ",", "std", "::", "move", "(", "Args", ")", ")", ".", "setInRegister", "(", ")", ".", "setSExtResult", "(", "IsSigned", ")", ".", "setZExtResult", "(", "!", "IsSigned", ")", ";", "std", "::", "pair", "<", "SDValue", ",", "SDValue", ">", "CallInfo", "=", "LowerCallTo", "(", "CLI", ")", ";", "return", "CallInfo", ".", "first", ";"], "ground_truth": ["}"], "File": "AVRISelLowering", "Func": "LowerDivRem", "Target": "AVR", "Target_Clf": "MPU", "Compiler_Type": "LLVM", "Idx": 113115, "Length": 120, "Cover_Rate": 0.3015075376884422} {"Template_token": ["", "break", ";", "case", "", ":", "LC", "=", "IsSigned", "?", "RTLIB", "::", "SDIVREM_I64", ":", "RTLIB", "::", "UDIVREM_I64", ";", "break", ";", "case", "", ":", "LC", "=", "IsSigned", "?", "RTLIB", "::", "SDIVREM_I128", ":", "RTLIB", "::", "UDIVREM_I128", ";", "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", ")", ";", "SDLoc", "dl", "(", "Op", ")", ";", "TargetLowering", "::", "CallLoweringInfo", "CLI", "(", "DAG", ")", ";", "CLI", ".", "setDebugLoc", "(", "dl", ")", ".", "setChain", "(", "InChain", ")", ".", "setLibCallee", "(", "getLibcallCallingConv", "(", "LC", ")", ",", "RetTy", ",", "Callee", ",", "std", "::", "move", "(", "Args", ")", ")", ".", "setInRegister", "(", ")", ".", "setSExtResult", "(", "IsSigned", ")", ".", "setZExtResult", "(", "!", "IsSigned", ")", ";", "std", "::", "pair", "<", "SDValue", ",", "SDValue", ">", "CallInfo", "=", "LowerCallTo", "(", "CLI", ")", ";"], "ground_truth": ["return", "CallInfo", ".", "first", ";"], "File": "AVRISelLowering", "Func": "LowerDivRem", "Target": "AVR", "Target_Clf": "MPU", "Compiler_Type": "LLVM", "Idx": 113116, "Length": 236, "Cover_Rate": 0.592964824120603} {"Template_token": ["", "}", "else", "if", "(", "RegVT", "==", "", ")", "{", "RC", "=", "&", "", ";", "}", "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", ";", "}"], "ground_truth": ["InVals", ".", "push_back", "(", "ArgValue", ")", ";"], "File": "AVRISelLowering", "Func": "LowerFormalArguments", "Target": "AVR", "Target_Clf": "MPU", "Compiler_Type": "LLVM", "Idx": 113117, "Length": 215, "Cover_Rate": 0.3887884267631103} {"Template_token": ["", "const", "TargetRegisterClass", "*", "RC", ";", "if", "(", "RegVT", "==", "", ")", "{", "RC", "=", "&", "", ";", "}", "else", "if", "(", "RegVT", "==", "", ")", "{", "RC", "=", "&", "", ";", "}", "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", ")", ",", "", ")", ")", ";", "}", "}"], "ground_truth": ["if", "(", "isVarArg", ")", "{"], "File": "AVRISelLowering", "Func": "LowerFormalArguments", "Target": "AVR", "Target_Clf": "MPU", "Compiler_Type": "LLVM", "Idx": 113118, "Length": 328, "Cover_Rate": 0.593128390596745} {"Template_token": ["", "const", "GlobalValue", "*", "GV", "=", "cast", "<", "GlobalAddressSDNode", ">", "(", "Op", ")", "->", "getGlobal", "(", ")", ";"], "ground_truth": ["int64_t", "Offset", "=", "cast", "<", "GlobalAddressSDNode", ">", "(", "Op", ")", "->", "getOffset", "(", ")", ";"], "File": "AVRISelLowering", "Func": "LowerGlobalAddress", "Target": "AVR", "Target_Clf": "MPU", "Compiler_Type": "LLVM", "Idx": 113119, "Length": 32, "Cover_Rate": 0.32} {"Template_token": ["", "}", "SDValue", "Flag", ";", "SmallVector", "<", "SDValue", ",", "", ">", "RetOps", "(", "", ",", "Chain", ")", ";", "for", "(", "unsigned", "i", "=", "", ";", "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", "(", ")", ")", ")", ";", "}", "if", "(", "MF", ".", "getFunction", "(", ")", ".", "getAttributes", "(", ")", ".", "hasAttribute", "(", "AttributeList", "::", "FunctionIndex", ",", "Attribute", "::", "Naked", ")", ")", "{", "return", "Chain", ";", "}"], "ground_truth": ["unsigned", "RetOpc", "=", "(", "CallConv", "==", "CallingConv", "::", "_INTR", "||", "CallConv", "==", "CallingConv", "::", "_SIGNAL", ")", "?", "", ":", "", ";"], "File": "AVRISelLowering", "Func": "LowerReturn", "Target": "AVR", "Target_Clf": "MPU", "Compiler_Type": "LLVM", "Idx": 113120, "Length": 157, "Cover_Rate": 0.46449704142011833} {"Template_token": ["", "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", "(", ")", ")", ")", ";", "}", "if", "(", "MF", ".", "getFunction", "(", ")", ".", "getAttributes", "(", ")", ".", "hasAttribute", "(", "AttributeList", "::", "FunctionIndex", ",", "Attribute", "::", "Naked", ")", ")", "{", "return", "Chain", ";", "}", "unsigned", "RetOpc", "=", "(", "CallConv", "==", "CallingConv", "::", "_INTR", "||", "CallConv", "==", "CallingConv", "::", "_SIGNAL", ")", "?", "", ":", "", ";", "RetOps", "[", "", "]", "=", "Chain", ";", "if", "(", "Flag", ".", "getNode", "(", ")", ")", "{", "RetOps", ".", "push_back", "(", "Flag", ")", ";", "}", "return", "DAG", ".", "getNode", "(", "RetOpc", ",", "dl", ",", "", ",", "RetOps", ")", ";"], "ground_truth": ["}"], "File": "AVRISelLowering", "Func": "LowerReturn", "Target": "AVR", "Target_Clf": "MPU", "Compiler_Type": "LLVM", "Idx": 113121, "Length": 164, "Cover_Rate": 0.48520710059171596} {"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", "}", ";", "return", "DAG", ".", "getNode", "(", "", ",", "dl", ",", "VTs", ",", "Ops", ")", ";"], "ground_truth": ["}"], "File": "AVRISelLowering", "Func": "LowerSELECT_CC", "Target": "AVR", "Target_Clf": "MPU", "Compiler_Type": "LLVM", "Idx": 113122, "Length": 73, "Cover_Rate": 0.477124183006536} {"Template_token": ["", "SDValue", "TargetCC", ";", "SDValue", "Cmp", "=", "getCmp", "(", "LHS", ",", "RHS", ",", "CC", ",", "TargetCC", ",", "DAG", ",", "DL", ")", ";", "SDValue", "TrueV", "=", "DAG", ".", "getConstant", "(", "", ",", "DL", ",", "Op", ".", "getValueType", "(", ")", ")", ";", "SDValue", "FalseV", "=", "DAG", ".", "getConstant", "(", "", ",", "DL", ",", "Op", ".", "getValueType", "(", ")", ")", ";"], "ground_truth": ["SDVTList", "VTs", "=", "DAG", ".", "getVTList", "(", "Op", ".", "getValueType", "(", ")", ",", "", ")", ";"], "File": "AVRISelLowering", "Func": "LowerSETCC", "Target": "AVR", "Target_Clf": "MPU", "Compiler_Type": "LLVM", "Idx": 113123, "Length": 73, "Cover_Rate": 0.4319526627218935} {"Template_token": ["", "SDValue", "Cmp", "=", "getCmp", "(", "LHS", ",", "RHS", ",", "CC", ",", "TargetCC", ",", "DAG", ",", "DL", ")", ";", "SDValue", "TrueV", "=", "DAG", ".", "getConstant", "(", "", ",", "DL", ",", "Op", ".", "getValueType", "(", ")", ")", ";", "SDValue", "FalseV", "=", "DAG", ".", "getConstant", "(", "", ",", "DL", ",", "Op", ".", "getValueType", "(", ")", ")", ";"], "ground_truth": ["SDVTList", "VTs", "=", "DAG", ".", "getVTList", "(", "Op", ".", "getValueType", "(", ")", ",", "", ")", ";"], "File": "AVRISelLowering", "Func": "LowerSETCC", "Target": "AVR", "Target_Clf": "MPU", "Compiler_Type": "LLVM", "Idx": 113124, "Length": 70, "Cover_Rate": 0.41420118343195267} {"Template_token": ["", "const", "SDNode", "*", "N", "=", "Op", ".", "getNode", "(", ")", ";", "EVT", "VT", "=", "Op", ".", "getValueType", "(", ")", ";", "SDLoc", "dl", "(", "N", ")", ";", "if", "(", "!", "isa", "<", "ConstantSDNode", ">", "(", "N", "->", "getOperand", "(", "", ")", ")", ")", "{", "switch", "(", "Op", ".", "getOpcode", "(", ")", ")", "{", "default", ":", "llvm_unreachable", "(", "", ")", ";", "case", "", ":", "return", "DAG", ".", "getNode", "(", "", ",", "dl", ",", "VT", ",", "N", "->", "getOperand", "(", "", ")", ",", "N", "->", "getOperand", "(", "", ")", ")", ";", "case", "", ":", "return", "DAG", ".", "getNode", "(", "", ",", "dl", ",", "VT", ",", "N", "->", "getOperand", "(", "", ")", ",", "N", "->", "getOperand", "(", "", ")", ")", ";", "case", "", ":", "return", "DAG", ".", "getNode", "(", "", ",", "dl", ",", "VT", ",", "N", "->", "getOperand", "(", "", ")", ",", "N", "->", "getOperand", "(", "", ")", ")", ";", "case", "", ":", "return", "DAG", ".", "getNode", "(", "", ",", "dl", ",", "VT", ",", "N", "->", "getOperand", "(", "", ")", ",", "N", "->", "getOperand", "(", "", ")", ")", ";", "case", "", ":", "return", "DAG", ".", "getNode", "(", "", ",", "dl", ",", "VT", ",", "N", "->", "getOperand", "(", "", ")", ",", "N", "->", "getOperand", "(", "", ")", ")", ";", "}"], "ground_truth": ["}"], "File": "AVRISelLowering", "Func": "LowerShifts", "Target": "AVR", "Target_Clf": "MPU", "Compiler_Type": "LLVM", "Idx": 113125, "Length": 206, "Cover_Rate": 0.5406824146981627} {"Template_token": ["", "const", "MachineFunctionInfo", "*", "AFI", "=", "MF", ".", "getInfo", "<", "MachineFunctionInfo", ">", "(", ")", ";", "const", "Value", "*", "SV", "=", "cast", "<", "SrcValueSDNode", ">", "(", "Op", ".", "getOperand", "(", "", ")", ")", "->", "getValue", "(", ")", ";", "auto", "DL", "=", "DAG", ".", "getDataLayout", "(", ")", ";", "SDLoc", "dl", "(", "Op", ")", ";", "SDValue", "FI", "=", "DAG", ".", "getFrameIndex", "(", "AFI", "->", "getVarArgsFrameIndex", "(", ")", ",", "getPointerTy", "(", "DL", ")", ")", ";"], "ground_truth": ["return", "DAG", ".", "getStore", "(", "Op", ".", "getOperand", "(", "", ")", ",", "dl", ",", "FI", ",", "Op", ".", "getOperand", "(", "", ")", ",", "MachinePointerInfo", "(", "SV", ")", ",", "", ")", ";"], "File": "AVRISelLowering", "Func": "LowerVASTART", "Target": "AVR", "Target_Clf": "MPU", "Compiler_Type": "LLVM", "Idx": 113126, "Length": 101, "Cover_Rate": 0.7952755905511811} {"Template_token": ["", "unsigned", "Size", "=", "", ";", "unsigned", "Offset", "=", "", ";", "while", "(", "(", "i", "!=", "e", ")", "&&", "(", "In", "[", "i", "]", ".", "PartOffset", "==", "Offset", ")", ")", "{"], "ground_truth": ["Offset", "+=", "In", "[", "i", "]", ".", "VT", ".", "getStoreSize", "(", ")", ";"], "File": "AVRISelLowering", "Func": "parseExternFuncCallArgs", "Target": "AVR", "Target_Clf": "MPU", "Compiler_Type": "LLVM", "Idx": 113127, "Length": 43, "Cover_Rate": 0.4215686274509804} {"Template_token": ["", "unsigned", "Size", "=", "", ";", "unsigned", "Offset", "=", "", ";", "while", "(", "(", "i", "!=", "e", ")", "&&", "(", "In", "[", "i", "]", ".", "PartOffset", "==", "Offset", ")", ")", "{", "Offset", "+=", "In", "[", "i", "]", ".", "VT", ".", "getStoreSize", "(", ")", ";", "++", "i", ";", "++", "Size", ";", "}", "Out", ".", "push_back", "(", "Size", ")", ";", "}"], "ground_truth": ["}"], "File": "AVRISelLowering", "Func": "parseExternFuncCallArgs", "Target": "AVR", "Target_Clf": "MPU", "Compiler_Type": "LLVM", "Idx": 113128, "Length": 59, "Cover_Rate": 0.5784313725490197} {"Template_token": ["", "for", "(", "const", "", "&", "Arg", ":", "Ins", ")", "{", "if", "(", "Arg", ".", "PartOffset", ">", "", ")", "continue", ";", "unsigned", "Bytes", "=", "(", "(", "Arg", ".", "ArgVT", ".", "getSizeInBits", "(", ")", ")", "+", "", ")", "/", "", ";", "Out", ".", "push_back", "(", "(", "Bytes", "+", "", ")", "/", "", ")", ";", "}"], "ground_truth": ["}"], "File": "AVRISelLowering", "Func": "parseFunctionArgs", "Target": "AVR", "Target_Clf": "MPU", "Compiler_Type": "LLVM", "Idx": 113129, "Length": 54, "Cover_Rate": 0.6923076923076923} {"Template_token": ["", "switch", "(", "N", "->", "getOpcode", "(", ")", ")", "{", "case", "", ":", "{", "if", "(", "const", "ConstantSDNode", "*", "C", "=", "dyn_cast", "<", "ConstantSDNode", ">", "(", "N", "->", "getOperand", "(", "", ")", ")", ")", "{", "SDValue", "Sub", "=", "DAG", ".", "getNode", "(", "", ",", "DL", ",", "N", "->", "getValueType", "(", "", ")", ",", "N", "->", "getOperand", "(", "", ")", ",", "DAG", ".", "getConstant", "(", "-", "C", "->", "getAPIntValue", "(", ")", ",", "DL", ",", "C", "->", "getValueType", "(", "", ")", ")", ")", ";"], "ground_truth": ["Results", ".", "push_back", "(", "Sub", ")", ";"], "File": "AVRISelLowering", "Func": "ReplaceNodeResults", "Target": "AVR", "Target_Clf": "MPU", "Compiler_Type": "LLVM", "Idx": 113130, "Length": 88, "Cover_Rate": 0.4861878453038674} {"Template_token": ["", "bool", "shouldSplitFunctionArgumentsAsLittleEndian", "(", "const", "DataLayout", "&", "DL", ")", "const", "override", "{"], "ground_truth": ["return", "false", ";"], "File": "AVRISelLowering", "Func": "shouldSplitFunctionArgumentsAsLittleEndian", "Target": "AVR", "Target_Clf": "MPU", "Compiler_Type": "LLVM", "Idx": 113131, "Length": 14, "Cover_Rate": 0.9333333333333333} {"Template_token": ["", "explicit", "MachineFunctionInfo", "(", "MachineFunction", "&", "MF", ")", ":", "HasSpills", "(", "false", ")", ",", "HasAllocas", "(", "false", ")", ",", "HasStackArgs", "(", "false", ")", ",", "CalleeSavedFrameSize", "(", "", ")", ",", "VarArgsFrameIndex", "(", "", ")", "{", "unsigned", "CallConv", "=", "MF", ".", "getFunction", "(", ")", ".", "getCallingConv", "(", ")", ";", "this", "->", "IsInterruptHandler", "=", "CallConv", "==", "CallingConv", "::", "_INTR", "||", "MF", ".", "getFunction", "(", ")", ".", "hasFnAttribute", "(", "", ")", ";", "this", "->", "IsSignalHandler", "=", "CallConv", "==", "CallingConv", "::", "_SIGNAL", "||", "MF", ".", "getFunction", "(", ")", ".", "hasFnAttribute", "(", "", ")", ";"], "ground_truth": ["}"], "File": "AVRMachineFunctionInfo2", "Func": "AVRMachineFunctionInfo", "Target": "AVR", "Target_Clf": "MPU", "Compiler_Type": "LLVM", "Idx": 113133, "Length": 89, "Cover_Rate": 1.0} {"Template_token": ["", "explicit", "MachineFunctionInfo", "(", "MachineFunction", "&", "MF", ")", ":", "HasSpills", "(", "false", ")", ",", "HasAllocas", "(", "false", ")", ",", "HasStackArgs", "(", "false", ")", ",", "CalleeSavedFrameSize", "(", "", ")", ",", "VarArgsFrameIndex", "(", "", ")", "{"], "ground_truth": ["unsigned", "CallConv", "=", "MF", ".", "getFunction", "(", ")", ".", "getCallingConv", "(", ")", ";"], "File": "AVRMachineFunctionInfo2", "Func": "AVRMachineFunctionInfo", "Target": "AVR", "Target_Clf": "MPU", "Compiler_Type": "LLVM", "Idx": 113134, "Length": 46, "Cover_Rate": 0.5168539325842697} {"Template_token": ["", "bool", "isInterruptHandler", "(", ")", "const", "{", "return", "IsInterruptHandler", ";"], "ground_truth": ["}"], "File": "AVRMachineFunctionInfo2", "Func": "isInterruptHandler", "Target": "AVR", "Target_Clf": "MPU", "Compiler_Type": "LLVM", "Idx": 113135, "Length": 10, "Cover_Rate": 1.0} {"Template_token": ["", "bool", "isSignalHandler", "(", ")", "const", "{"], "ground_truth": ["return", "IsSignalHandler", ";"], "File": "AVRMachineFunctionInfo2", "Func": "isSignalHandler", "Target": "AVR", "Target_Clf": "MPU", "Compiler_Type": "LLVM", "Idx": 113138, "Length": 9, "Cover_Rate": 0.9} {"Template_token": ["", "return", "IsSignalHandler", ";"], "ground_truth": ["}"], "File": "AVRMachineFunctionInfo2", "Func": "isSignalHandler", "Target": "AVR", "Target_Clf": "MPU", "Compiler_Type": "LLVM", "Idx": 113139, "Length": 4, "Cover_Rate": 0.4} {"Template_token": ["", "explicit", "MachineFunctionInfo", "(", "MachineFunction", "&", "MF", ")", ":", "HasSpills", "(", "false", ")", ",", "HasAllocas", "(", "false", ")", ",", "HasStackArgs", "(", "false", ")", ",", "CalleeSavedFrameSize", "(", "", ")", ",", "VarArgsFrameIndex", "(", "", ")", "{"], "ground_truth": ["}"], "File": "AVRMachineFunctionInfo", "Func": "AVRMachineFunctionInfo", "Target": "AVR", "Target_Clf": "MPU", "Compiler_Type": "LLVM", "Idx": 113140, "Length": 34, "Cover_Rate": 1.0} {"Template_token": ["", "explicit", "MachineFunctionInfo", "(", "MachineFunction", "&", "MF", ")", ":", "HasSpills", "(", "false", ")", ",", "HasAllocas", "(", "false", ")", ",", "HasStackArgs", "(", "false", ")", ",", "CalleeSavedFrameSize", "(", "", ")", ",", "VarArgsFrameIndex", "(", "", ")", "{"], "ground_truth": ["}"], "File": "AVRMachineFunctionInfo", "Func": "AVRMachineFunctionInfo", "Target": "AVR", "Target_Clf": "MPU", "Compiler_Type": "LLVM", "Idx": 113141, "Length": 34, "Cover_Rate": 1.0} {"Template_token": ["", "unsigned", "getCalleeSavedFrameSize", "(", ")", "const", "{", "return", "CalleeSavedFrameSize", ";"], "ground_truth": ["}"], "File": "AVRMachineFunctionInfo", "Func": "getCalleeSavedFrameSize", "Target": "AVR", "Target_Clf": "MPU", "Compiler_Type": "LLVM", "Idx": 113142, "Length": 10, "Cover_Rate": 1.0} {"Template_token": ["", "return", "HasAllocas", ";"], "ground_truth": ["}"], "File": "AVRMachineFunctionInfo", "Func": "getHasAllocas", "Target": "AVR", "Target_Clf": "MPU", "Compiler_Type": "LLVM", "Idx": 113143, "Length": 4, "Cover_Rate": 0.4} {"Template_token": ["", "return", "HasAllocas", ";"], "ground_truth": ["}"], "File": "AVRMachineFunctionInfo", "Func": "getHasAllocas", "Target": "AVR", "Target_Clf": "MPU", "Compiler_Type": "LLVM", "Idx": 113144, "Length": 4, "Cover_Rate": 0.4} {"Template_token": ["", "bool", "getHasSpills", "(", ")", "const", "{", "return", "HasSpills", ";"], "ground_truth": ["}"], "File": "AVRMachineFunctionInfo", "Func": "getHasSpills", "Target": "AVR", "Target_Clf": "MPU", "Compiler_Type": "LLVM", "Idx": 113145, "Length": 10, "Cover_Rate": 1.0} {"Template_token": ["", "bool", "getHasSpills", "(", ")", "const", "{", "return", "HasSpills", ";"], "ground_truth": ["}"], "File": "AVRMachineFunctionInfo", "Func": "getHasSpills", "Target": "AVR", "Target_Clf": "MPU", "Compiler_Type": "LLVM", "Idx": 113146, "Length": 10, "Cover_Rate": 1.0} {"Template_token": ["", "return", "HasStackArgs", ";"], "ground_truth": ["}"], "File": "AVRMachineFunctionInfo", "Func": "getHasStackArgs", "Target": "AVR", "Target_Clf": "MPU", "Compiler_Type": "LLVM", "Idx": 113147, "Length": 4, "Cover_Rate": 0.4} {"Template_token": ["", "CalleeSavedFrameSize", "=", "Bytes", ";"], "ground_truth": ["}"], "File": "AVRMachineFunctionInfo", "Func": "setCalleeSavedFrameSize", "Target": "AVR", "Target_Clf": "MPU", "Compiler_Type": "LLVM", "Idx": 113150, "Length": 5, "Cover_Rate": 0.4166666666666667} {"Template_token": ["", "void", "setHasAllocas", "(", "bool", "B", ")", "{", "HasAllocas", "=", "B", ";"], "ground_truth": ["}"], "File": "AVRMachineFunctionInfo", "Func": "setHasAllocas", "Target": "AVR", "Target_Clf": "MPU", "Compiler_Type": "LLVM", "Idx": 113152, "Length": 12, "Cover_Rate": 1.0} {"Template_token": ["", "void", "setHasSpills", "(", "bool", "B", ")", "{", "HasSpills", "=", "B", ";"], "ground_truth": ["}"], "File": "AVRMachineFunctionInfo", "Func": "setHasSpills", "Target": "AVR", "Target_Clf": "MPU", "Compiler_Type": "LLVM", "Idx": 113154, "Length": 12, "Cover_Rate": 1.0} {"Template_token": ["", "void", "setHasSpills", "(", "bool", "B", ")", "{", "HasSpills", "=", "B", ";"], "ground_truth": ["}"], "File": "AVRMachineFunctionInfo", "Func": "setHasSpills", "Target": "AVR", "Target_Clf": "MPU", "Compiler_Type": "LLVM", "Idx": 113155, "Length": 12, "Cover_Rate": 1.0} {"Template_token": ["", "void", "setHasStackArgs", "(", "bool", "B", ")", "{"], "ground_truth": ["HasStackArgs", "=", "B", ";"], "File": "AVRMachineFunctionInfo", "Func": "setHasStackArgs", "Target": "AVR", "Target_Clf": "MPU", "Compiler_Type": "LLVM", "Idx": 113156, "Length": 11, "Cover_Rate": 0.9166666666666666} {"Template_token": ["", "void", "setHasStackArgs", "(", "bool", "B", ")", "{"], "ground_truth": ["HasStackArgs", "=", "B", ";"], "File": "AVRMachineFunctionInfo", "Func": "setHasStackArgs", "Target": "AVR", "Target_Clf": "MPU", "Compiler_Type": "LLVM", "Idx": 113157, "Length": 11, "Cover_Rate": 0.9166666666666666} {"Template_token": ["", "VarArgsFrameIndex", "=", "Idx", ";"], "ground_truth": ["}"], "File": "AVRMachineFunctionInfo", "Func": "setVarArgsFrameIndex", "Target": "AVR", "Target_Clf": "MPU", "Compiler_Type": "LLVM", "Idx": 113158, "Length": 5, "Cover_Rate": 0.4166666666666667} {"Template_token": ["", "void", "setVarArgsFrameIndex", "(", "int", "Idx", ")", "{"], "ground_truth": ["VarArgsFrameIndex", "=", "Idx", ";"], "File": "AVRMachineFunctionInfo", "Func": "setVarArgsFrameIndex", "Target": "AVR", "Target_Clf": "MPU", "Compiler_Type": "LLVM", "Idx": 113159, "Length": 11, "Cover_Rate": 0.9166666666666666} {"Template_token": ["", "CodePointerSize", "=", "", ";", "CalleeSaveStackSlotSize", "=", "", ";", "CommentString", "=", "", ";", "PrivateGlobalPrefix", "=", "", ";", "UsesELFSectionDirectiveForBSS", "=", "true", ";", "UseIntegratedAssembler", "=", "true", ";", "SupportsDebugInformation", "=", "true", ";"], "ground_truth": ["}"], "File": "AVRMCAsmInfo10", "Func": "AVRMCAsmInfo", "Target": "AVR", "Target_Clf": "MPU", "Compiler_Type": "LLVM", "Idx": 113160, "Length": 29, "Cover_Rate": 0.6590909090909091} {"Template_token": ["", "CommentString", "=", "", ";", "PrivateGlobalPrefix", "=", "", ";", "UsesELFSectionDirectiveForBSS", "=", "true", ";", "UseIntegratedAssembler", "=", "true", ";", "SupportsDebugInformation", "=", "true", ";"], "ground_truth": ["}"], "File": "AVRMCAsmInfo10", "Func": "AVRMCAsmInfo", "Target": "AVR", "Target_Clf": "MPU", "Compiler_Type": "LLVM", "Idx": 113161, "Length": 21, "Cover_Rate": 0.4772727272727273} {"Template_token": ["", "PrivateGlobalPrefix", "=", "", ";", "PrivateLabelPrefix", "=", "", ";", "UsesELFSectionDirectiveForBSS", "=", "true", ";", "SupportsDebugInformation", "=", "true", ";"], "ground_truth": ["}"], "File": "AVRMCAsmInfo3", "Func": "AVRMCAsmInfo", "Target": "AVR", "Target_Clf": "MPU", "Compiler_Type": "LLVM", "Idx": 113162, "Length": 17, "Cover_Rate": 0.38636363636363635} {"Template_token": ["", "CalleeSaveStackSlotSize", "=", "", ";", "CommentString", "=", "", ";", "PrivateGlobalPrefix", "=", "", ";", "UsesELFSectionDirectiveForBSS", "=", "true", ";", "UseIntegratedAssembler", "=", "true", ";"], "ground_truth": ["}"], "File": "AVRMCAsmInfo4", "Func": "AVRMCAsmInfo", "Target": "AVR", "Target_Clf": "MPU", "Compiler_Type": "LLVM", "Idx": 113163, "Length": 21, "Cover_Rate": 0.6} {"Template_token": ["", "PrivateLabelPrefix", "=", "", ";", "UsesELFSectionDirectiveForBSS", "=", "true", ";", "UseIntegratedAssembler", "=", "true", ";"], "ground_truth": ["SupportsDebugInformation", "=", "true", ";"], "File": "AVRMCAsmInfo6", "Func": "AVRMCAsmInfo", "Target": "AVR", "Target_Clf": "MPU", "Compiler_Type": "LLVM", "Idx": 113164, "Length": 16, "Cover_Rate": 0.3333333333333333} {"Template_token": ["", "MCAsmInfo", "::", "MCAsmInfo", "(", "const", "Triple", "&", "TT", ",", "const", "MCTargetOptions", "&", "Options", ")", "{", "CodePointerSize", "=", "", ";", "CalleeSaveStackSlotSize", "=", "", ";", "CommentString", "=", "", ";"], "ground_truth": ["PrivateGlobalPrefix", "=", "", ";"], "File": "AVRMCAsmInfo6", "Func": "AVRMCAsmInfo", "Target": "AVR", "Target_Clf": "MPU", "Compiler_Type": "LLVM", "Idx": 113165, "Length": 31, "Cover_Rate": 0.6458333333333334} {"Template_token": ["", "CalleeSaveStackSlotSize", "=", "", ";", "CommentString", "=", "", ";", "PrivateGlobalPrefix", "=", "", ";", "UsesELFSectionDirectiveForBSS", "=", "true", ";"], "ground_truth": ["}"], "File": "AVRMCAsmInfo7", "Func": "AVRMCAsmInfo", "Target": "AVR", "Target_Clf": "MPU", "Compiler_Type": "LLVM", "Idx": 113166, "Length": 17, "Cover_Rate": 0.5483870967741935} {"Template_token": ["", "CalleeSaveStackSlotSize", "=", "", ";", "CommentString", "=", "", ";", "PrivateGlobalPrefix", "=", "", ";"], "ground_truth": ["UsesELFSectionDirectiveForBSS", "=", "true", ";"], "File": "AVRMCAsmInfo8", "Func": "AVRMCAsmInfo", "Target": "AVR", "Target_Clf": "MPU", "Compiler_Type": "LLVM", "Idx": 113167, "Length": 16, "Cover_Rate": 0.41025641025641024} {"Template_token": ["", "CalleeSaveStackSlotSize", "=", "", ";", "CommentString", "=", "", ";", "PrivateGlobalPrefix", "=", "", ";", "UsesELFSectionDirectiveForBSS", "=", "true", ";", "UseIntegratedAssembler", "=", "true", ";"], "ground_truth": ["}"], "File": "AVRMCAsmInfo", "Func": "AVRMCAsmInfo", "Target": "AVR", "Target_Clf": "MPU", "Compiler_Type": "LLVM", "Idx": 113168, "Length": 21, "Cover_Rate": 0.6} {"Template_token": ["", "const", "uint16_t", "*", "Words", "=", "reinterpret_cast", "<", "uint16_t", "const", "*", ">", "(", "&", "Val", ")", ";", "size_t", "WordCount", "=", "Size", "/", "", ";", "for", "(", "int64_t", "i", "=", "WordCount", "-", "", ";", "i", ">=", "", ";", "--", "i", ")", "{"], "ground_truth": ["uint16_t", "Word", "=", "Words", "[", "i", "]", ";"], "File": "AVRMCCodeEmitter10", "Func": "emitInstruction", "Target": "AVR", "Target_Clf": "MPU", "Compiler_Type": "LLVM", "Idx": 113169, "Length": 48, "Cover_Rate": 0.47058823529411764} {"Template_token": ["", "return", "getExprOpValue", "(", "MO", ".", "getExpr", "(", ")", ",", "Fixups", ",", "STI", ")", ";", "}", "MCFixupKind", "FixupKind", "=", "static_cast", "<", "MCFixupKind", ">", "(", "Fixup", ")", ";"], "ground_truth": ["Fixups", ".", "push_back", "(", "MCFixup", "::", "create", "(", "Offset", ",", "MO", ".", "getExpr", "(", ")", ",", "FixupKind", ",", "MI", ".", "getLoc", "(", ")", ")", ")", ";"], "File": "AVRMCCodeEmitter10", "Func": "encodeImm", "Target": "AVR", "Target_Clf": "MPU", "Compiler_Type": "LLVM", "Idx": 113170, "Length": 52, "Cover_Rate": 0.3880597014925373} {"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": "AVRMCCodeEmitter10", "Func": "encodeImm", "Target": "AVR", "Target_Clf": "MPU", "Compiler_Type": "LLVM", "Idx": 113171, "Length": 117, "Cover_Rate": 0.8731343283582089} {"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", "(", ")", ")", ";", "switch", "(", "MO", ".", "getReg", "(", ")", ")", "{", "case", "", ":", "return", "", ";", "case", "", ":", "return", "", ";", "case", "", ":", "return", "", ";"], "ground_truth": ["default", ":"], "File": "AVRMCCodeEmitter10", "Func": "encodeLDSTPtrReg", "Target": "AVR", "Target_Clf": "MPU", "Compiler_Type": "LLVM", "Idx": 113172, "Length": 75, "Cover_Rate": 0.8522727272727273} {"Template_token": ["", "unsigned", "MCCodeEmitter", "::", "encodeRelCondBrTarget", "(", "const", "MCInst", "&", "MI", ",", "unsigned", "OpNo", ",", "SmallVectorImpl", "<", "MCFixup", ">", "&", "Fixups", ",", "const", "MCSubtargetInfo", "&", "STI", ")", "const", "{", "const", "MCOperand", "&", "MO", "=", "MI", ".", "getOperand", "(", "OpNo", ")", ";", "if", "(", "MO", ".", "isExpr", "(", ")", ")", "{", "Fixups", ".", "push_back", "(", "MCFixup", "::", "create", "(", "", ",", "MO", ".", "getExpr", "(", ")", ",", "MCFixupKind", "(", "Fixup", ")", ",", "MI", ".", "getLoc", "(", ")", ")", ")", ";", "return", "", ";", "}", "assert", "(", "MO", ".", "isImm", "(", ")", ")", ";"], "ground_truth": ["auto", "target", "=", "MO", ".", "getImm", "(", ")", ";"], "File": "AVRMCCodeEmitter10", "Func": "encodeRelCondBrTarget", "Target": "AVR", "Target_Clf": "MPU", "Compiler_Type": "LLVM", "Idx": 113173, "Length": 99, "Cover_Rate": 0.8839285714285714} {"Template_token": ["", "Fixups", ".", "push_back", "(", "MCFixup", "::", "create", "(", "", ",", "MO", ".", "getExpr", "(", ")", ",", "MCFixupKind", "(", "Fixup", ")", ",", "MI", ".", "getLoc", "(", ")", ")", ")", ";", "return", "", ";", "}", "assert", "(", "MO", ".", "isImm", "(", ")", ")", ";", "auto", "target", "=", "MO", ".", "getImm", "(", ")", ";", "", "::", "adjustBranchTarget", "(", "target", ")", ";"], "ground_truth": ["return", "target", ";"], "File": "AVRMCCodeEmitter10", "Func": "encodeRelCondBrTarget", "Target": "AVR", "Target_Clf": "MPU", "Compiler_Type": "LLVM", "Idx": 113174, "Length": 61, "Cover_Rate": 0.5446428571428571} {"Template_token": ["", "if", "(", "MO", ".", "isFPImm", "(", ")", ")", "return", "static_cast", "<", "unsigned", ">", "(", "APFloat", "(", "MO", ".", "getFPImm", "(", ")", ")", ".", "bitcastToAPInt", "(", ")", ".", "getHiBits", "(", "", ")", ".", "getLimitedValue", "(", ")", ")", ";", "assert", "(", "MO", ".", "isExpr", "(", ")", ")", ";"], "ground_truth": ["return", "getExprOpValue", "(", "MO", ".", "getExpr", "(", ")", ",", "Fixups", ",", "STI", ")", ";"], "File": "AVRMCCodeEmitter10", "Func": "getMachineOpValue", "Target": "AVR", "Target_Clf": "MPU", "Compiler_Type": "LLVM", "Idx": 113175, "Length": 60, "Cover_Rate": 0.4444444444444444} {"Template_token": ["", "return", "new", "MCCodeEmitter", "(", "MCII", ",", "Ctx", ")", ";"], "ground_truth": ["}"], "File": "AVRMCCodeEmitter1", "Func": "createAVRMCCodeEmitter", "Target": "AVR", "Target_Clf": "MPU", "Compiler_Type": "LLVM", "Idx": 113176, "Length": 10, "Cover_Rate": 0.4166666666666667} {"Template_token": ["", "return", "new", "MCCodeEmitter", "(", "MCII", ",", "Ctx", ")", ";"], "ground_truth": ["}"], "File": "AVRMCCodeEmitter1", "Func": "createAVRMCCodeEmitter", "Target": "AVR", "Target_Clf": "MPU", "Compiler_Type": "LLVM", "Idx": 113177, "Length": 10, "Cover_Rate": 0.4166666666666667} {"Template_token": ["", "return", "getExprOpValue", "(", "MO", ".", "getExpr", "(", ")", ",", "Fixups", ",", "STI", ")", ";", "}", "MCFixupKind", "FixupKind", "=", "static_cast", "<", "MCFixupKind", ">", "(", "Fixup", ")", ";", "Fixups", ".", "push_back", "(", "MCFixup", "::", "create", "(", "", ",", "MO", ".", "getExpr", "(", ")", ",", "FixupKind", ",", "MI", ".", "getLoc", "(", ")", ")", ")", ";"], "ground_truth": ["return", "", ";"], "File": "AVRMCCodeEmitter5", "Func": "encodeImm", "Target": "AVR", "Target_Clf": "MPU", "Compiler_Type": "LLVM", "Idx": 113178, "Length": 55, "Cover_Rate": 0.41044776119402987} {"Template_token": ["", "MCCodeEmitter", "(", "const", "MCInstrInfo", "&", "MCII", ",", "MCContext", "&", "Ctx", ")", ":", "MCII", "(", "MCII", ")", ",", "Ctx", "(", "Ctx", ")", "{"], "ground_truth": ["}"], "File": "AVRMCCodeEmitter", "Func": "AVRMCCodeEmitter", "Target": "AVR", "Target_Clf": "MPU", "Compiler_Type": "LLVM", "Idx": 113179, "Length": 23, "Cover_Rate": 1.0} {"Template_token": ["", "MCCodeEmitter", "(", "const", "MCInstrInfo", "&", "MCII", ",", "MCContext", "&", "Ctx", ")", ":", "MCII", "(", "MCII", ")", ",", "Ctx", "(", "Ctx", ")", "{"], "ground_truth": ["}"], "File": "AVRMCCodeEmitter", "Func": "AVRMCCodeEmitter", "Target": "AVR", "Target_Clf": "MPU", "Compiler_Type": "LLVM", "Idx": 113180, "Length": 23, "Cover_Rate": 1.0} {"Template_token": ["", "MCCodeEmitter", "*", "createMCCodeEmitter", "(", "const", "MCInstrInfo", "&", "MCII", ",", "const", "MCRegisterInfo", "&", "MRI", ",", "MCContext", "&", "Ctx", ")", "{", "return", "new", "MCCodeEmitter", "(", "MCII", ",", "Ctx", ")", ";"], "ground_truth": ["}"], "File": "AVRMCCodeEmitter", "Func": "createAVRMCCodeEmitter", "Target": "AVR", "Target_Clf": "MPU", "Compiler_Type": "LLVM", "Idx": 113181, "Length": 29, "Cover_Rate": 1.0} {"Template_token": ["", "MCCodeEmitter", "*", "createMCCodeEmitter", "(", "const", "MCInstrInfo", "&", "MCII", ",", "const", "MCRegisterInfo", "&", "MRI", ",", "MCContext", "&", "Ctx", ")", "{"], "ground_truth": ["return", "new", "MCCodeEmitter", "(", "MCII", ",", "Ctx", ")", ";"], "File": "AVRMCCodeEmitter", "Func": "createAVRMCCodeEmitter", "Target": "AVR", "Target_Clf": "MPU", "Compiler_Type": "LLVM", "Idx": 113182, "Length": 28, "Cover_Rate": 0.9655172413793104} {"Template_token": ["", "void", "MCCodeEmitter", "::", "emitInstruction", "(", "uint64_t", "Val", ",", "unsigned", "Size", ",", "const", "MCSubtargetInfo", "&", "STI", ",", "raw_ostream", "&", "OS", ")", "const", "{", "size_t", "WordCount", "=", "Size", "/", "", ";", "for", "(", "int64_t", "i", "=", "WordCount", "-", "", ";", "i", ">=", "", ";", "--", "i", ")", "{", "uint16_t", "Word", "=", "(", "Val", ">>", "(", "i", "*", "", ")", ")", "&", "", ";", "", "::", "write", "(", "OS", ",", "Word", ",", "", "::", "little", ")", ";"], "ground_truth": ["}"], "File": "AVRMCCodeEmitter", "Func": "emitInstruction", "Target": "AVR", "Target_Clf": "MPU", "Compiler_Type": "LLVM", "Idx": 113183, "Length": 75, "Cover_Rate": 0.9375} {"Template_token": ["", "unsigned", "MCCodeEmitter", "::", "encodeCallTarget", "(", "const", "MCInst", "&", "MI", ",", "unsigned", "OpNo", ",", "SmallVectorImpl", "<", "MCFixup", ">", "&", "Fixups", ",", "const", "MCSubtargetInfo", "&", "STI", ")", "const", "{", "auto", "MO", "=", "MI", ".", "getOperand", "(", "OpNo", ")", ";", "if", "(", "MO", ".", "isExpr", "(", ")", ")", "{", "MCFixupKind", "FixupKind", "=", "static_cast", "<", "MCFixupKind", ">", "(", "", ")", ";", "Fixups", ".", "push_back", "(", "MCFixup", "::", "create", "(", "", ",", "MO", ".", "getExpr", "(", ")", ",", "FixupKind", ",", "MI", ".", "getLoc", "(", ")", ")", ")", ";"], "ground_truth": ["return", "", ";"], "File": "AVRMCCodeEmitter", "Func": "encodeCallTarget", "Target": "AVR", "Target_Clf": "MPU", "Compiler_Type": "LLVM", "Idx": 113184, "Length": 86, "Cover_Rate": 0.7166666666666667} {"Template_token": ["", "if", "(", "MO", ".", "isExpr", "(", ")", ")", "{", "MCFixupKind", "FixupKind", "=", "static_cast", "<", "MCFixupKind", ">", "(", "", ")", ";", "Fixups", ".", "push_back", "(", "MCFixup", "::", "create", "(", "", ",", "MO", ".", "getExpr", "(", ")", ",", "FixupKind", ",", "MI", ".", "getLoc", "(", ")", ")", ")", ";", "return", "", ";"], "ground_truth": ["}"], "File": "AVRMCCodeEmitter", "Func": "encodeCallTarget", "Target": "AVR", "Target_Clf": "MPU", "Compiler_Type": "LLVM", "Idx": 113185, "Length": 50, "Cover_Rate": 0.4166666666666667} {"Template_token": ["", "assert", "(", "MI", ".", "getOperand", "(", "OpNo", ")", ".", "isImm", "(", ")", ")", ";", "auto", "Imm", "=", "MI", ".", "getOperand", "(", "OpNo", ")", ".", "getImm", "(", ")", ";"], "ground_truth": ["return", "(", "~", "", ")", "-", "Imm", ";"], "File": "AVRMCCodeEmitter", "Func": "encodeComplement", "Target": "AVR", "Target_Clf": "MPU", "Compiler_Type": "LLVM", "Idx": 113186, "Length": 36, "Cover_Rate": 0.5625} {"Template_token": ["", "unsigned", "MCCodeEmitter", "::", "encodeComplement", "(", "const", "MCInst", "&", "MI", ",", "unsigned", "OpNo", ",", "SmallVectorImpl", "<", "MCFixup", ">", "&", "Fixups", ",", "const", "MCSubtargetInfo", "&", "STI", ")", "const", "{"], "ground_truth": ["assert", "(", "MI", ".", "getOperand", "(", "OpNo", ")", ".", "isImm", "(", ")", ")", ";"], "File": "AVRMCCodeEmitter", "Func": "encodeComplement", "Target": "AVR", "Target_Clf": "MPU", "Compiler_Type": "LLVM", "Idx": 113187, "Length": 41, "Cover_Rate": 0.640625} {"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", "(", ")", ")", ")", ";"], "ground_truth": ["return", "", ";"], "File": "AVRMCCodeEmitter", "Func": "encodeImm", "Target": "AVR", "Target_Clf": "MPU", "Compiler_Type": "LLVM", "Idx": 113188, "Length": 116, "Cover_Rate": 0.8656716417910447} {"Template_token": ["", "const", "MCInstrDesc", "&", "Desc", "=", "MCII", ".", "get", "(", "MI", ".", "getOpcode", "(", ")", ")", ";", "unsigned", "Size", "=", "Desc", ".", "getSize", "(", ")", ";"], "ground_truth": ["assert", "(", "Size", ">", "", "&&", "", ")", ";"], "File": "AVRMCCodeEmitter", "Func": "encodeInstruction", "Target": "AVR", "Target_Clf": "MPU", "Compiler_Type": "LLVM", "Idx": 113189, "Length": 34, "Cover_Rate": 0.3953488372093023} {"Template_token": ["", "const", "MCInstrDesc", "&", "Desc", "=", "MCII", ".", "get", "(", "MI", ".", "getOpcode", "(", ")", ")", ";", "unsigned", "Size", "=", "Desc", ".", "getSize", "(", ")", ";", "assert", "(", "Size", ">", "", "&&", "", ")", ";", "uint64_t", "BinaryOpCode", "=", "getBinaryCodeForInstr", "(", "MI", ",", "Fixups", ",", "STI", ")", ";"], "ground_truth": ["emitInstruction", "(", "BinaryOpCode", ",", "Size", ",", "STI", ",", "OS", ")", ";"], "File": "AVRMCCodeEmitter", "Func": "encodeInstruction", "Target": "AVR", "Target_Clf": "MPU", "Compiler_Type": "LLVM", "Idx": 113190, "Length": 57, "Cover_Rate": 0.6627906976744186} {"Template_token": ["", "assert", "(", "MO", ".", "isReg", "(", ")", ")", ";", "switch", "(", "MO", ".", "getReg", "(", ")", ")", "{", "case", "", ":", "return", "", ";"], "ground_truth": ["case", "", ":"], "File": "AVRMCCodeEmitter", "Func": "encodeLDSTPtrReg", "Target": "AVR", "Target_Clf": "MPU", "Compiler_Type": "LLVM", "Idx": 113191, "Length": 27, "Cover_Rate": 0.3068181818181818} {"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", "(", ")", ")", "{", "OffsetBits", "=", "", ";", "Fixups", ".", "push_back", "(", "MCFixup", "::", "create", "(", "", ",", "OffsetOp", ".", "getExpr", "(", ")", ",", "MCFixupKind", "(", "", ")", ",", "MI", ".", "getLoc", "(", ")", ")", ")", ";", "}", "else", "{"], "ground_truth": ["llvm_unreachable", "(", "", ")", ";"], "File": "AVRMCCodeEmitter", "Func": "encodeMemri", "Target": "AVR", "Target_Clf": "MPU", "Compiler_Type": "LLVM", "Idx": 113192, "Length": 112, "Cover_Rate": 0.5925925925925926} {"Template_token": ["", "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": "AVRMCCodeEmitter", "Func": "encodeMemri", "Target": "AVR", "Target_Clf": "MPU", "Compiler_Type": "LLVM", "Idx": 113193, "Length": 60, "Cover_Rate": 0.31746031746031744} {"Template_token": ["", "unsigned", "MCCodeEmitter", "::", "encodeRelCondBrTarget", "(", "const", "MCInst", "&", "MI", ",", "unsigned", "OpNo", ",", "SmallVectorImpl", "<", "MCFixup", ">", "&", "Fixups", ",", "const", "MCSubtargetInfo", "&", "STI", ")", "const", "{", "const", "MCOperand", "&", "MO", "=", "MI", ".", "getOperand", "(", "OpNo", ")", ";", "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": "AVRMCCodeEmitter", "Func": "encodeRelCondBrTarget", "Target": "AVR", "Target_Clf": "MPU", "Compiler_Type": "LLVM", "Idx": 113194, "Length": 106, "Cover_Rate": 0.9464285714285714} {"Template_token": ["", "if", "(", "MO", ".", "isExpr", "(", ")", ")", "{"], "ground_truth": ["Fixups", ".", "push_back", "(", "MCFixup", "::", "create", "(", "", ",", "MO", ".", "getExpr", "(", ")", ",", "MCFixupKind", "(", "Fixup", ")", ",", "MI", ".", "getLoc", "(", ")", ")", ")", ";"], "File": "AVRMCCodeEmitter", "Func": "encodeRelCondBrTarget", "Target": "AVR", "Target_Clf": "MPU", "Compiler_Type": "LLVM", "Idx": 113195, "Length": 38, "Cover_Rate": 0.3392857142857143} {"Template_token": ["", "Kind", "=", "Expr", "->", "getKind", "(", ")", ";", "}", "if", "(", "Kind", "==", "MCExpr", "::", "Target", ")", "{", "MCExpr", "const", "*", "Expr", "=", "cast", "<", "MCExpr", ">", "(", "Expr", ")", ";", "int64_t", "Result", ";", "if", "(", "Expr", "->", "evaluateAsConstant", "(", "Result", ")", ")", "{", "return", "Result", ";", "}"], "ground_truth": ["MCFixupKind", "FixupKind", "=", "static_cast", "<", "MCFixupKind", ">", "(", "Expr", "->", "getFixupKind", "(", ")", ")", ";"], "File": "AVRMCCodeEmitter", "Func": "getExprOpValue", "Target": "AVR", "Target_Clf": "MPU", "Compiler_Type": "LLVM", "Idx": 113196, "Length": 63, "Cover_Rate": 0.40384615384615385} {"Template_token": ["", "if", "(", "MO", ".", "isImm", "(", ")", ")", "return", "static_cast", "<", "unsigned", ">", "(", "MO", ".", "getImm", "(", ")", ")", ";", "if", "(", "MO", ".", "isDFPImm", "(", ")", ")", "return", "static_cast", "<", "unsigned", ">", "(", "bit_cast", "<", "double", ">", "(", "MO", ".", "getDFPImm", "(", ")", ")", ")", ";", "assert", "(", "MO", ".", "isExpr", "(", ")", ")", ";", "return", "getExprOpValue", "(", "MO", ".", "getExpr", "(", ")", ",", "Fixups", ",", "STI", ")", ";"], "ground_truth": ["}"], "File": "AVRMCCodeEmitter", "Func": "getMachineOpValue", "Target": "AVR", "Target_Clf": "MPU", "Compiler_Type": "LLVM", "Idx": 113197, "Length": 72, "Cover_Rate": 0.576} {"Template_token": ["", "unsigned", "MCCodeEmitter", "::", "getMachineOpValue", "(", "const", "MCInst", "&", "MI", ",", "const", "MCOperand", "&", "MO", ",", "SmallVectorImpl", "<", "MCFixup", ">", "&", "Fixups", ",", "const", "MCSubtargetInfo", "&", "STI", ")", "const", "{", "if", "(", "MO", ".", "isReg", "(", ")", ")", "return", "Ctx", ".", "getRegisterInfo", "(", ")", "->", "getEncodingValue", "(", "MO", ".", "getReg", "(", ")", ")", ";", "if", "(", "MO", ".", "isImm", "(", ")", ")", "return", "static_cast", "<", "unsigned", ">", "(", "MO", ".", "getImm", "(", ")", ")", ";", "if", "(", "MO", ".", "isDFPImm", "(", ")", ")", "return", "static_cast", "<", "unsigned", ">", "(", "bit_cast", "<", "double", ">", "(", "MO", ".", "getDFPImm", "(", ")", ")", ")", ";", "assert", "(", "MO", ".", "isExpr", "(", ")", ")", ";", "return", "getExprOpValue", "(", "MO", ".", "getExpr", "(", ")", ",", "Fixups", ",", "STI", ")", ";"], "ground_truth": ["}"], "File": "AVRMCCodeEmitter", "Func": "getMachineOpValue", "Target": "AVR", "Target_Clf": "MPU", "Compiler_Type": "LLVM", "Idx": 113198, "Length": 125, "Cover_Rate": 1.0} {"Template_token": ["", "unsigned", "MCCodeEmitter", "::", "loadStorePostEncoder", "(", "const", "MCInst", "&", "MI", ",", "unsigned", "EncodedValue", ",", "const", "MCSubtargetInfo", "&", "STI", ")", "const", "{", "assert", "(", "MI", ".", "getOperand", "(", "", ")", ".", "isReg", "(", ")", "&&", "MI", ".", "getOperand", "(", "", ")", ".", "isReg", "(", ")", "&&", "", ")", ";"], "ground_truth": ["unsigned", "Opcode", "=", "MI", ".", "getOpcode", "(", ")", ";"], "File": "AVRMCCodeEmitter", "Func": "loadStorePostEncoder", "Target": "AVR", "Target_Clf": "MPU", "Compiler_Type": "LLVM", "Idx": 113199, "Length": 56, "Cover_Rate": 0.3971631205673759} {"Template_token": ["", "unsigned", "MCCodeEmitter", "::", "loadStorePostEncoder", "(", "const", "MCInst", "&", "MI", ",", "unsigned", "EncodedValue", ",", "const", "MCSubtargetInfo", "&", "STI", ")", "const", "{", "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": "AVRMCCodeEmitter", "Func": "loadStorePostEncoder", "Target": "AVR", "Target_Clf": "MPU", "Compiler_Type": "LLVM", "Idx": 113200, "Length": 129, "Cover_Rate": 0.9148936170212766} {"Template_token": ["", "return", "new", "MCELFStreamer", "(", "Context", ",", "std", "::", "move", "(", "MAB", ")", ",", "std", "::", "move", "(", "OW", ")", ",", "std", "::", "move", "(", "CE", ")", ")", ";"], "ground_truth": ["}"], "File": "AVRMCELFStreamer1", "Func": "createAVRELFStreamer", "Target": "AVR", "Target_Clf": "MPU", "Compiler_Type": "LLVM", "Idx": 113201, "Length": 29, "Cover_Rate": 0.43283582089552236} {"Template_token": ["", "return", "new", "MCELFStreamer", "(", "Context", ",", "std", "::", "move", "(", "MAB", ")", ",", "std", "::", "move", "(", "OW", ")", ",", "std", "::", "move", "(", "CE", ")", ")", ";"], "ground_truth": ["}"], "File": "AVRMCELFStreamer1", "Func": "createAVRELFStreamer", "Target": "AVR", "Target_Clf": "MPU", "Compiler_Type": "LLVM", "Idx": 113202, "Length": 29, "Cover_Rate": 0.43283582089552236} {"Template_token": ["", "void", "MCELFStreamer", "::", "emitValueForModiferKind", "(", "const", "MCSymbol", "*", "Sym", ",", "unsigned", "SizeInBytes", ",", "SMLoc", "Loc", ",", "MCExpr", "::", "VariantKind", "ModifierKind", ")", "{", "MCSymbolRefExpr", "::", "VariantKind", "Kind", "=", "MCSymbolRefExpr", "::", "VK__NONE", ";", "if", "(", "ModifierKind", "==", "MCExpr", "::", "VK__None", ")", "{", "Kind", "=", "MCSymbolRefExpr", "::", "VK__DIFF8", ";"], "ground_truth": ["if", "(", "SizeInBytes", "==", "SIZE_LONG", ")", "Kind", "=", "MCSymbolRefExpr", "::", "VK__DIFF32", ";"], "File": "AVRMCELFStreamer1", "Func": "emitValueForModiferKind", "Target": "AVR", "Target_Clf": "MPU", "Compiler_Type": "LLVM", "Idx": 113203, "Length": 58, "Cover_Rate": 0.4142857142857143} {"Template_token": ["", "else", "if", "(", "SizeInBytes", "==", "SIZE_WORD", ")", "Kind", "=", "MCSymbolRefExpr", "::", "VK__DIFF16", ";", "}", "else", "if", "(", "ModifierKind", "==", "MCExpr", "::", "VK__LO8", ")", "Kind", "=", "MCSymbolRefExpr", "::", "VK__LO8", ";", "else", "if", "(", "ModifierKind", "==", "MCExpr", "::", "VK__HI8", ")", "Kind", "=", "MCSymbolRefExpr", "::", "VK__HI8", ";", "else", "if", "(", "ModifierKind", "==", "MCExpr", "::", "VK__HH8", ")", "Kind", "=", "MCSymbolRefExpr", "::", "VK__HLO8", ";", "MCELFStreamer", "::", "emitValue", "(", "MCSymbolRefExpr", "::", "create", "(", "Sym", ",", "Kind", ",", "getContext", "(", ")", ")", ",", "SizeInBytes", ",", "Loc", ")", ";"], "ground_truth": ["}"], "File": "AVRMCELFStreamer1", "Func": "emitValueForModiferKind", "Target": "AVR", "Target_Clf": "MPU", "Compiler_Type": "LLVM", "Idx": 113204, "Length": 82, "Cover_Rate": 0.5857142857142857} {"Template_token": ["", "MCELFStreamer", "(", "MCContext", "&", "Context", ",", "std", "::", "unique_ptr", "<", "MCAsmBackend", ">", "TAB", ",", "raw_pwrite_stream", "&", "OS", ",", "std", "::", "unique_ptr", "<", "MCCodeEmitter", ">", "Emitter", ",", "MCAssembler", "*", "Assembler", ")", ":", "MCELFStreamer", "(", "Context", ",", "std", "::", "move", "(", "TAB", ")", ",", "OS", ",", "std", "::", "move", "(", "Emitter", ")", ")", ",", "MCII", "(", "createMCInstrInfo", "(", ")", ")", "{"], "ground_truth": ["}"], "File": "AVRMCELFStreamer3", "Func": "AVRMCELFStreamer", "Target": "AVR", "Target_Clf": "MPU", "Compiler_Type": "LLVM", "Idx": 113205, "Length": 60, "Cover_Rate": 1.0} {"Template_token": ["", "MCELFStreamer", "(", "MCContext", "&", "Context", ",", "std", "::", "unique_ptr", "<", "MCAsmBackend", ">", "TAB", ",", "raw_pwrite_stream", "&", "OS", ",", "std", "::", "unique_ptr", "<", "MCCodeEmitter", ">", "Emitter", ",", "MCAssembler", "*", "Assembler", ")", ":", "MCELFStreamer", "(", "Context", ",", "std", "::", "move", "(", "TAB", ")", ",", "OS", ",", "std", "::", "move", "(", "Emitter", ")", ")", ",", "MCII", "(", "createMCInstrInfo", "(", ")", ")", "{"], "ground_truth": ["}"], "File": "AVRMCELFStreamer3", "Func": "AVRMCELFStreamer", "Target": "AVR", "Target_Clf": "MPU", "Compiler_Type": "LLVM", "Idx": 113206, "Length": 60, "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": "AVRMCELFStreamer", "Func": "AVRMCELFStreamer", "Target": "AVR", "Target_Clf": "MPU", "Compiler_Type": "LLVM", "Idx": 113207, "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": "AVRMCELFStreamer", "Func": "AVRMCELFStreamer", "Target": "AVR", "Target_Clf": "MPU", "Compiler_Type": "LLVM", "Idx": 113208, "Length": 69, "Cover_Rate": 1.0} {"Template_token": ["", "return", "new", "MCELFStreamer", "(", "Context", ",", "std", "::", "move", "(", "MAB", ")", ",", "OS", ",", "std", "::", "move", "(", "CE", ")", ")", ";"], "ground_truth": ["}"], "File": "AVRMCELFStreamer", "Func": "createAVRELFStreamer", "Target": "AVR", "Target_Clf": "MPU", "Compiler_Type": "LLVM", "Idx": 113209, "Length": 24, "Cover_Rate": 0.41379310344827586} {"Template_token": ["", "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", ";", "else", "if", "(", "ModifierKind", "==", "MCExpr", "::", "VK__HI8", ")", "Kind", "=", "MCSymbolRefExpr", "::", "VK__HI8", ";"], "ground_truth": ["else", "if", "(", "ModifierKind", "==", "MCExpr", "::", "VK__HH8", ")", "Kind", "=", "MCSymbolRefExpr", "::", "VK__HLO8", ";"], "File": "AVRMCELFStreamer", "Func": "EmitValueForModiferKind", "Target": "AVR", "Target_Clf": "MPU", "Compiler_Type": "LLVM", "Idx": 113211, "Length": 95, "Cover_Rate": 0.6785714285714286} {"Template_token": ["", "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", ";", "else", "if", "(", "ModifierKind", "==", "MCExpr", "::", "VK__HI8", ")", "Kind", "=", "MCSymbolRefExpr", "::", "VK__HI8", ";", "else", "if", "(", "ModifierKind", "==", "MCExpr", "::", "VK__HH8", ")", "Kind", "=", "MCSymbolRefExpr", "::", "VK__HLO8", ";", "MCELFStreamer", "::", "EmitValue", "(", "MCSymbolRefExpr", "::", "create", "(", "Sym", ",", "Kind", ",", "getContext", "(", ")", ")", ",", "SizeInBytes", ",", "Loc", ")", ";"], "ground_truth": ["}"], "File": "AVRMCELFStreamer", "Func": "EmitValueForModiferKind", "Target": "AVR", "Target_Clf": "MPU", "Compiler_Type": "LLVM", "Idx": 113212, "Length": 109, "Cover_Rate": 0.7785714285714286} {"Template_token": ["", "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", ":"], "ground_truth": ["case", "MCExpr", "::", "VK__LO8_GS", ":"], "File": "AVRMCExpr10", "Func": "evaluateAsInt64", "Target": "AVR", "Target_Clf": "MPU", "Compiler_Type": "LLVM", "Idx": 113213, "Length": 66, "Cover_Rate": 0.3728813559322034} {"Template_token": ["", "break", ";", "case", "MCExpr", "::", "VK__PM_LO8", ":", "case", "MCExpr", "::", "VK__LO8_GS", ":", "Value", ">>=", "", ";", "Value", "&=", "", ";", "break", ";", "case", "MCExpr", "::", "VK__PM_HI8", ":", "case", "MCExpr", "::", "VK__HI8_GS", ":", "Value", ">>=", "", ";", "Value", "&=", "", ";", "Value", ">>=", "", ";", "break", ";", "case", "MCExpr", "::", "VK__PM_HH8", ":", "Value", ">>=", "", ";", "Value", "&=", "", ";", "Value", ">>=", "", ";"], "ground_truth": ["break", ";"], "File": "AVRMCExpr10", "Func": "evaluateAsInt64", "Target": "AVR", "Target_Clf": "MPU", "Compiler_Type": "LLVM", "Idx": 113214, "Length": 65, "Cover_Rate": 0.3672316384180791} {"Template_token": ["", "break", ";", "case", "VK__HI8", ":", "Kind", "=", "isNegated", "(", ")", "?", "", ":", "", ";", "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", ";"], "ground_truth": ["case", "VK__GS", ":"], "File": "AVRMCExpr10", "Func": "getFixupKind", "Target": "AVR", "Target_Clf": "MPU", "Compiler_Type": "LLVM", "Idx": 113215, "Length": 95, "Cover_Rate": 0.45893719806763283} {"Template_token": ["", "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__GS", ":"], "ground_truth": ["Kind", "=", "", ";"], "File": "AVRMCExpr10", "Func": "getFixupKind", "Target": "AVR", "Target_Clf": "MPU", "Compiler_Type": "LLVM", "Idx": 113216, "Length": 64, "Cover_Rate": 0.30917874396135264} {"Template_token": ["", "Value", ">>=", "", ";", "break", ";", "case", "MCExpr", "::", "VK__PM_LO8", ":", "case", "MCExpr", "::", "VK__LO8_GS", ":", "Value", ">>=", "", ";", "Value", "&=", "", ";", "break", ";", "case", "MCExpr", "::", "VK__PM_HI8", ":", "case", "MCExpr", "::", "VK__HI8_GS", ":", "Value", ">>=", "", ";", "Value", "&=", "", ";", "Value", ">>=", "", ";", "break", ";", "case", "MCExpr", "::", "VK__PM_HH8", ":", "Value", ">>=", "", ";", "Value", "&=", "", ";", "Value", ">>=", "", ";"], "ground_truth": ["break", ";"], "File": "AVRMCExpr1", "Func": "evaluateAsInt64", "Target": "AVR", "Target_Clf": "MPU", "Compiler_Type": "LLVM", "Idx": 113217, "Length": 69, "Cover_Rate": 0.3791208791208791} {"Template_token": ["", "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", ":"], "ground_truth": ["case", "MCExpr", "::", "VK__LO8_GS", ":"], "File": "AVRMCExpr1", "Func": "evaluateAsInt64", "Target": "AVR", "Target_Clf": "MPU", "Compiler_Type": "LLVM", "Idx": 113218, "Length": 57, "Cover_Rate": 0.3131868131868132} {"Template_token": ["", "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__PM", ";"], "ground_truth": ["}"], "File": "AVRMCExpr1", "Func": "evaluateAsRelocatableImpl", "Target": "AVR", "Target_Clf": "MPU", "Compiler_Type": "LLVM", "Idx": 113219, "Length": 88, "Cover_Rate": 0.47058823529411764} {"Template_token": ["", "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__PM", ";", "}", "Sym", "=", "MCSymbolRefExpr", "::", "create", "(", "&", "Sym", "->", "getSymbol", "(", ")", ",", "Modifier", ",", "Context", ")", ";", "Result", "=", "MCValue", "::", "get", "(", "Sym", ",", "Value", ".", "getSymB", "(", ")", ",", "Value", ".", "getConstant", "(", ")", ")", ";", "}", "return", "true", ";"], "ground_truth": ["}"], "File": "AVRMCExpr1", "Func": "evaluateAsRelocatableImpl", "Target": "AVR", "Target_Clf": "MPU", "Compiler_Type": "LLVM", "Idx": 113220, "Length": 113, "Cover_Rate": 0.6042780748663101} {"Template_token": ["", "case", "VK__HI8", ":", "Kind", "=", "isNegated", "(", ")", "?", "", ":", "", ";", "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", "=", "", ";"], "ground_truth": ["break", ";"], "File": "AVRMCExpr1", "Func": "getFixupKind", "Target": "AVR", "Target_Clf": "MPU", "Compiler_Type": "LLVM", "Idx": 113221, "Length": 120, "Cover_Rate": 0.5714285714285714} {"Template_token": ["", "return", "Mod", ".", "Spelling", "==", "Name", ";", "}", ")", ";", "if", "(", "Modifier", "!=", "std", "::", "end", "(", "ModifierNames", ")", ")", "{", "return", "Modifier", "->", "VariantKind", ";", "}"], "ground_truth": ["return", "VK__None", ";"], "File": "AVRMCExpr1", "Func": "getKindByName", "Target": "AVR", "Target_Clf": "MPU", "Compiler_Type": "LLVM", "Idx": 113222, "Length": 31, "Cover_Rate": 0.47692307692307695} {"Template_token": ["", "return", "Mod", ".", "Spelling", "==", "Name", ";", "}", ")", ";", "if", "(", "Modifier", "!=", "std", "::", "end", "(", "ModifierNames", ")", ")", "{"], "ground_truth": ["return", "Modifier", "->", "VariantKind", ";"], "File": "AVRMCExpr1", "Func": "getKindByName", "Target": "AVR", "Target_Clf": "MPU", "Compiler_Type": "LLVM", "Idx": 113223, "Length": 27, "Cover_Rate": 0.4153846153846154} {"Template_token": ["", "return", "Mod", ".", "VariantKind", "==", "Kind", ";", "}", ")", ";", "if", "(", "Modifier", "!=", "std", "::", "end", "(", "ModifierNames", ")", ")", "{"], "ground_truth": ["return", "Modifier", "->", "Spelling", ";"], "File": "AVRMCExpr1", "Func": "getName", "Target": "AVR", "Target_Clf": "MPU", "Compiler_Type": "LLVM", "Idx": 113224, "Length": 27, "Cover_Rate": 0.42857142857142855} {"Template_token": ["", "const", "char", "*", "MCExpr", "::", "getName", "(", ")", "const", "{", "const", "auto", "&", "Modifier", "=", "llvm", "::", "find_if", "(", "ModifierNames", ",", "[", "this", "]", "(", "ModifierEntry", "const", "&", "Mod", ")", "{", "return", "Mod", ".", "VariantKind", "==", "Kind", ";"], "ground_truth": ["}", ")", ";"], "File": "AVRMCExpr1", "Func": "getName", "Target": "AVR", "Target_Clf": "MPU", "Compiler_Type": "LLVM", "Idx": 113225, "Length": 41, "Cover_Rate": 0.6507936507936508} {"Template_token": ["", "explicit", "MCExpr", "(", "VariantKind", "Kind", ",", "const", "MCExpr", "*", "Expr", ",", "bool", "Negated", ")", ":", "Kind", "(", "Kind", ")", ",", "SubExpr", "(", "Expr", ")", ",", "Negated", "(", "Negated", ")", "{"], "ground_truth": ["}"], "File": "AVRMCExpr", "Func": "AVRMCExpr", "Target": "AVR", "Target_Clf": "MPU", "Compiler_Type": "LLVM", "Idx": 113226, "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": "AVRMCExpr", "Func": "AVRMCExpr", "Target": "AVR", "Target_Clf": "MPU", "Compiler_Type": "LLVM", "Idx": 113227, "Length": 31, "Cover_Rate": 1.0} {"Template_token": ["", "static", "bool", "classof", "(", "const", "MCExpr", "*", "E", ")", "{", "return", "E", "->", "getKind", "(", ")", "==", "MCExpr", "::", "Target", ";"], "ground_truth": ["}"], "File": "AVRMCExpr", "Func": "classof", "Target": "AVR", "Target_Clf": "MPU", "Compiler_Type": "LLVM", "Idx": 113229, "Length": 22, "Cover_Rate": 1.0} {"Template_token": ["", "return", "new", "(", "Ctx", ")", "MCExpr", "(", "Kind", ",", "Expr", ",", "Negated", ")", ";"], "ground_truth": ["}"], "File": "AVRMCExpr", "Func": "create", "Target": "AVR", "Target_Clf": "MPU", "Compiler_Type": "LLVM", "Idx": 113230, "Length": 15, "Cover_Rate": 0.39473684210526316} {"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": "AVRMCExpr", "Func": "create", "Target": "AVR", "Target_Clf": "MPU", "Compiler_Type": "LLVM", "Idx": 113231, "Length": 38, "Cover_Rate": 1.0} {"Template_token": ["", "if", "(", "!", "isRelocatable", ")", "return", "false", ";", "if", "(", "Value", ".", "isAbsolute", "(", ")", ")", "{", "Result", "=", "evaluateAsInt64", "(", "Value", ".", "getConstant", "(", ")", ")", ";", "return", "true", ";"], "ground_truth": ["}"], "File": "AVRMCExpr", "Func": "evaluateAsConstant", "Target": "AVR", "Target_Clf": "MPU", "Compiler_Type": "LLVM", "Idx": 113232, "Length": 32, "Cover_Rate": 0.48484848484848486} {"Template_token": ["", "if", "(", "!", "isRelocatable", ")", "return", "false", ";", "if", "(", "Value", ".", "isAbsolute", "(", ")", ")", "{"], "ground_truth": ["Result", "=", "evaluateAsInt64", "(", "Value", ".", "getConstant", "(", ")", ")", ";"], "File": "AVRMCExpr", "Func": "evaluateAsConstant", "Target": "AVR", "Target_Clf": "MPU", "Compiler_Type": "LLVM", "Idx": 113233, "Length": 28, "Cover_Rate": 0.42424242424242425} {"Template_token": ["", "case", "MCExpr", "::", "VK__HH8", ":", "Value", ">>=", "", ";", "break", ";", "case", "MCExpr", "::", "VK__HHI8", ":", "Value", ">>=", "", ";", "break", ";", "case", "MCExpr", "::", "VK__PM_LO8", ":", "Value", ">>=", "", ";", "break", ";", "case", "MCExpr", "::", "VK__PM_HI8", ":", "Value", ">>=", "", ";", "break", ";", "case", "MCExpr", "::", "VK__PM_HH8", ":", "Value", ">>=", "", ";"], "ground_truth": ["break", ";"], "File": "AVRMCExpr", "Func": "evaluateAsInt64", "Target": "AVR", "Target_Clf": "MPU", "Compiler_Type": "LLVM", "Idx": 113234, "Length": 55, "Cover_Rate": 0.4583333333333333} {"Template_token": ["", "switch", "(", "Kind", ")", "{", "case", "MCExpr", "::", "VK__LO8", ":", "break", ";", "case", "MCExpr", "::", "VK__HI8", ":", "Value", ">>=", "", ";", "break", ";", "case", "MCExpr", "::", "VK__HH8", ":", "Value", ">>=", "", ";", "break", ";", "case", "MCExpr", "::", "VK__HHI8", ":", "Value", ">>=", "", ";", "break", ";"], "ground_truth": ["case", "MCExpr", "::", "VK__PM_LO8", ":"], "File": "AVRMCExpr", "Func": "evaluateAsInt64", "Target": "AVR", "Target_Clf": "MPU", "Compiler_Type": "LLVM", "Idx": 113235, "Length": 50, "Cover_Rate": 0.4166666666666667} {"Template_token": ["", "MCValue", "Value", ";", "bool", "isRelocatable", "=", "SubExpr", "->", "evaluateAsRelocatable", "(", "Value", ",", "Layout", ",", "Fixup", ")", ";", "if", "(", "!", "isRelocatable", ")", "return", "false", ";", "if", "(", "Value", ".", "isAbsolute", "(", ")", ")", "{", "Result", "=", "MCValue", "::", "get", "(", "evaluateAsInt64", "(", "Value", ".", "getConstant", "(", ")", ")", ")", ";", "}", "else", "{", "if", "(", "!", "Layout", ")", "return", "false", ";", "MCContext", "&", "Context", "=", "Layout", "->", "getAssembler", "(", ")", ".", "getContext", "(", ")", ";"], "ground_truth": ["const", "MCSymbolRefExpr", "*", "Sym", "=", "Value", ".", "getSymA", "(", ")", ";"], "File": "AVRMCExpr", "Func": "evaluateAsRelocatableImpl", "Target": "AVR", "Target_Clf": "MPU", "Compiler_Type": "LLVM", "Idx": 113236, "Length": 86, "Cover_Rate": 0.49710982658959535} {"Template_token": ["", "return", "getSubExpr", "(", ")", "->", "findAssociatedFragment", "(", ")", ";"], "ground_truth": ["}"], "File": "AVRMCExpr", "Func": "findAssociatedFragment", "Target": "AVR", "Target_Clf": "MPU", "Compiler_Type": "LLVM", "Idx": 113237, "Length": 10, "Cover_Rate": 0.5555555555555556} {"Template_token": ["", "void", "fixELFSymbolsInTLSFixups", "(", "MCAssembler", "&", "Asm", ")", "const", "override", "{"], "ground_truth": ["}"], "File": "AVRMCExpr", "Func": "fixELFSymbolsInTLSFixups", "Target": "AVR", "Target_Clf": "MPU", "Compiler_Type": "LLVM", "Idx": 113239, "Length": 11, "Cover_Rate": 1.0} {"Template_token": ["", "void", "fixELFSymbolsInTLSFixups", "(", "MCAssembler", "&", "Asm", ")", "const", "override", "{"], "ground_truth": ["}"], "File": "AVRMCExpr", "Func": "fixELFSymbolsInTLSFixups", "Target": "AVR", "Target_Clf": "MPU", "Compiler_Type": "LLVM", "Idx": 113240, "Length": 11, "Cover_Rate": 1.0} {"Template_token": ["", "case", "VK__HI8", ":", "Kind", "=", "isNegated", "(", ")", "?", "", ":", "", ";", "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", ";"], "ground_truth": ["case", "VK__None", ":"], "File": "AVRMCExpr", "Func": "getFixupKind", "Target": "AVR", "Target_Clf": "MPU", "Compiler_Type": "LLVM", "Idx": 113241, "Length": 93, "Cover_Rate": 0.5344827586206896} {"Template_token": ["", "VariantKind", "getKind", "(", ")", "const", "{", "return", "Kind", ";"], "ground_truth": ["}"], "File": "AVRMCExpr", "Func": "getKind", "Target": "AVR", "Target_Clf": "MPU", "Compiler_Type": "LLVM", "Idx": 113242, "Length": 10, "Cover_Rate": 1.0} {"Template_token": ["", "const", "char", "*", "MCExpr", "::", "getName", "(", ")", "const", "{", "const", "auto", "&", "Modifier", "=", "std", "::", "find_if", "(", "std", "::", "begin", "(", "ModifierNames", ")", ",", "std", "::", "end", "(", "ModifierNames", ")", ",", "[", "this", "]", "(", "ModifierEntry", "const", "&", "Mod", ")", "{", "return", "Mod", ".", "VariantKind", "==", "Kind", ";", "}", ")", ";", "if", "(", "Modifier", "!=", "std", "::", "end", "(", "ModifierNames", ")", ")", "{", "return", "Modifier", "->", "Spelling", ";"], "ground_truth": ["}"], "File": "AVRMCExpr", "Func": "getName", "Target": "AVR", "Target_Clf": "MPU", "Compiler_Type": "LLVM", "Idx": 113245, "Length": 71, "Cover_Rate": 0.9466666666666667} {"Template_token": ["", "bool", "isNegated", "(", ")", "const", "{", "return", "Negated", ";"], "ground_truth": ["}"], "File": "AVRMCExpr", "Func": "isNegated", "Target": "AVR", "Target_Clf": "MPU", "Compiler_Type": "LLVM", "Idx": 113248, "Length": 10, "Cover_Rate": 1.0} {"Template_token": ["", "if", "(", "isNegated", "(", ")", ")", "OS", "<<", "'-'", ";"], "ground_truth": ["OS", "<<", "getName", "(", ")", "<<", "'('", ";"], "File": "AVRMCExpr", "Func": "printImpl", "Target": "AVR", "Target_Clf": "MPU", "Compiler_Type": "LLVM", "Idx": 113249, "Length": 18, "Cover_Rate": 0.3157894736842105} {"Template_token": ["", "Negated", "=", "negated", ";"], "ground_truth": ["}"], "File": "AVRMCExpr", "Func": "setNegated", "Target": "AVR", "Target_Clf": "MPU", "Compiler_Type": "LLVM", "Idx": 113250, "Length": 5, "Cover_Rate": 0.35714285714285715} {"Template_token": ["", "void", "setNegated", "(", "bool", "negated", "=", "true", ")", "{", "Negated", "=", "negated", ";"], "ground_truth": ["}"], "File": "AVRMCExpr", "Func": "setNegated", "Target": "AVR", "Target_Clf": "MPU", "Compiler_Type": "LLVM", "Idx": 113251, "Length": 14, "Cover_Rate": 1.0} {"Template_token": ["", "~", "MCExpr", "(", ")", "{"], "ground_truth": ["}"], "File": "AVRMCExpr", "Func": "~AVRMCExpr", "Target": "AVR", "Target_Clf": "MPU", "Compiler_Type": "LLVM", "Idx": 113254, "Length": 6, "Cover_Rate": 1.0} {"Template_token": ["", "~", "MCExpr", "(", ")", "{"], "ground_truth": ["}"], "File": "AVRMCExpr", "Func": "~AVRMCExpr", "Target": "AVR", "Target_Clf": "MPU", "Compiler_Type": "LLVM", "Idx": 113255, "Length": 6, "Cover_Rate": 1.0} {"Template_token": ["", "MI", ".", "dump", "(", ")", ";", "llvm_unreachable", "(", "", ")", ";", "case", "MachineOperand", "::", "MO_Register", ":", "if", "(", "MO", ".", "isImplicit", "(", ")", ")", "continue", ";", "MCOp", "=", "MCOperand", "::", "createReg", "(", "MO", ".", "getReg", "(", ")", ")", ";", "break", ";", "case", "MachineOperand", "::", "MO_Immediate", ":", "MCOp", "=", "MCOperand", "::", "createImm", "(", "MO", ".", "getImm", "(", ")", ")", ";", "break", ";", "case", "MachineOperand", "::", "MO_GlobalAddress", ":", "MCOp", "=", "lowerSymbolOperand", "(", "MO", ",", "Printer", ".", "getSymbol", "(", "MO", ".", "getGlobal", "(", ")", ")", ")", ";", "break", ";", "case", "MachineOperand", "::", "MO_ExternalSymbol", ":", "MCOp", "=", "lowerSymbolOperand", "(", "MO", ",", "Printer", ".", "GetExternalSymbolSymbol", "(", "MO", ".", "getSymbolName", "(", ")", ")", ")", ";", "break", ";", "case", "MachineOperand", "::", "MO_MachineBasicBlock", ":", "MCOp", "=", "MCOperand", "::", "createExpr", "(", "MCSymbolRefExpr", "::", "create", "(", "MO", ".", "getMBB", "(", ")", "->", "getSymbol", "(", ")", ",", "Ctx", ")", ")", ";", "break", ";", "case", "MachineOperand", "::", "MO_RegisterMask", ":", "continue", ";", "case", "MachineOperand", "::", "MO_BlockAddress", ":"], "ground_truth": ["MCOp", "=", "lowerSymbolOperand", "(", "MO", ",", "Printer", ".", "GetBlockAddressSymbol", "(", "MO", ".", "getBlockAddress", "(", ")", ")", ")", ";"], "File": "AVRMCInstLower3", "Func": "lowerInstruction", "Target": "AVR", "Target_Clf": "MPU", "Compiler_Type": "LLVM", "Idx": 113256, "Length": 172, "Cover_Rate": 0.5951557093425606} {"Template_token": ["", "if", "(", "TF", "&", "", ")", "{", "Expr", "=", "MCExpr", "::", "create", "(", "MCExpr", "::", "VK__LO8", ",", "Expr", ",", "IsNegated", ",", "Ctx", ")", ";", "}", "else", "if", "(", "TF", "&", "", ")", "{", "Expr", "=", "MCExpr", "::", "create", "(", "MCExpr", "::", "VK__HI8", ",", "Expr", ",", "IsNegated", ",", "Ctx", ")", ";", "}", "else", "if", "(", "TF", "!=", "", ")", "{", "llvm_unreachable", "(", "", ")", ";", "}"], "ground_truth": ["return", "MCOperand", "::", "createExpr", "(", "Expr", ")", ";"], "File": "AVRMCInstLower3", "Func": "lowerSymbolOperand", "Target": "AVR", "Target_Clf": "MPU", "Compiler_Type": "LLVM", "Idx": 113257, "Length": 73, "Cover_Rate": 0.4101123595505618} {"Template_token": ["", "MCInstLower", "(", "MCContext", "&", "Ctx", ",", "AsmPrinter", "&", "Printer", ")", ":", "Ctx", "(", "Ctx", ")", ",", "Printer", "(", "Printer", ")", "{"], "ground_truth": ["}"], "File": "AVRMCInstLower", "Func": "AVRMCInstLower", "Target": "AVR", "Target_Clf": "MPU", "Compiler_Type": "LLVM", "Idx": 113258, "Length": 22, "Cover_Rate": 1.0} {"Template_token": ["", "MCInstLower", "(", "MCContext", "&", "Ctx", ",", "AsmPrinter", "&", "Printer", ")", ":", "Ctx", "(", "Ctx", ")", ",", "Printer", "(", "Printer", ")", "{"], "ground_truth": ["}"], "File": "AVRMCInstLower", "Func": "AVRMCInstLower", "Target": "AVR", "Target_Clf": "MPU", "Compiler_Type": "LLVM", "Idx": 113259, "Length": 22, "Cover_Rate": 1.0} {"Template_token": ["", "break", ";", "case", "MachineOperand", "::", "MO_MachineBasicBlock", ":", "MCOp", "=", "MCOperand", "::", "createExpr", "(", "MCSymbolRefExpr", "::", "create", "(", "MO", ".", "getMBB", "(", ")", "->", "getSymbol", "(", ")", ",", "Ctx", ")", ")", ";", "break", ";", "case", "MachineOperand", "::", "MO_RegisterMask", ":", "continue", ";", "case", "MachineOperand", "::", "MO_BlockAddress", ":", "MCOp", "=", "lowerSymbolOperand", "(", "MO", ",", "Printer", ".", "GetBlockAddressSymbol", "(", "MO", ".", "getBlockAddress", "(", ")", ")", ")", ";", "break", ";", "case", "MachineOperand", "::", "MO_JumpTableIndex", ":", "MCOp", "=", "lowerSymbolOperand", "(", "MO", ",", "Printer", ".", "GetJTISymbol", "(", "MO", ".", "getIndex", "(", ")", ")", ")", ";", "break", ";", "case", "MachineOperand", "::", "MO_ConstantPoolIndex", ":"], "ground_truth": ["MCOp", "=", "lowerSymbolOperand", "(", "MO", ",", "Printer", ".", "GetCPISymbol", "(", "MO", ".", "getIndex", "(", ")", ")", ")", ";"], "File": "AVRMCInstLower", "Func": "lowerInstruction", "Target": "AVR", "Target_Clf": "MPU", "Compiler_Type": "LLVM", "Idx": 113260, "Length": 113, "Cover_Rate": 0.386986301369863} {"Template_token": ["", "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", "{", "Expr", "=", "MCExpr", "::", "create", "(", "MCExpr", "::", "VK__HI8", ",", "Expr", ",", "IsNegated", ",", "Ctx", ")", ";", "}", "}", "else", "if", "(", "TF", "!=", "", ")", "{", "llvm_unreachable", "(", "", ")", ";"], "ground_truth": ["}"], "File": "AVRMCInstLower", "Func": "lowerSymbolOperand", "Target": "AVR", "Target_Clf": "MPU", "Compiler_Type": "LLVM", "Idx": 113261, "Length": 163, "Cover_Rate": 0.649402390438247} {"Template_token": ["", "static", "MCInstrInfo", "*", "createMCInstrInfo", "(", ")", "{"], "ground_truth": ["MCInstrInfo", "*", "X", "=", "new", "MCInstrInfo", "(", ")", ";"], "File": "AVRMCTargetDesc10", "Func": "createAVRMCInstrInfo", "Target": "AVR", "Target_Clf": "MPU", "Compiler_Type": "LLVM", "Idx": 113262, "Length": 16, "Cover_Rate": 0.64} {"Template_token": ["", "MCInstrInfo", "*", "X", "=", "new", "MCInstrInfo", "(", ")", ";", "InitMCInstrInfo", "(", "X", ")", ";", "return", "X", ";"], "ground_truth": ["}"], "File": "AVRMCTargetDesc10", "Func": "createAVRMCInstrInfo", "Target": "AVR", "Target_Clf": "MPU", "Compiler_Type": "LLVM", "Idx": 113263, "Length": 18, "Cover_Rate": 0.72} {"Template_token": ["", "static", "MCStreamer", "*", "createMCStreamer", "(", "const", "Triple", "&", "T", ",", "MCContext", "&", "Context", ",", "std", "::", "unique_ptr", "<", "MCAsmBackend", ">", "&&", "MAB", ",", "std", "::", "unique_ptr", "<", "MCObjectWriter", ">", "&&", "OW", ",", "std", "::", "unique_ptr", "<", "MCCodeEmitter", ">", "&&", "Emitter", ",", "bool", "RelaxAll", ")", "{"], "ground_truth": ["return", "createELFStreamer", "(", "Context", ",", "std", "::", "move", "(", "MAB", ")", ",", "std", "::", "move", "(", "OW", ")", ",", "std", "::", "move", "(", "Emitter", ")", ",", "RelaxAll", ")", ";"], "File": "AVRMCTargetDesc11", "Func": "createMCStreamer", "Target": "AVR", "Target_Clf": "MPU", "Compiler_Type": "LLVM", "Idx": 113264, "Length": 74, "Cover_Rate": 0.9866666666666667} {"Template_token": ["", "return", "createELFStreamer", "(", "Context", ",", "std", "::", "move", "(", "MAB", ")", ",", "std", "::", "move", "(", "OW", ")", ",", "std", "::", "move", "(", "Emitter", ")", ",", "RelaxAll", ")", ";"], "ground_truth": ["}"], "File": "AVRMCTargetDesc11", "Func": "createMCStreamer", "Target": "AVR", "Target_Clf": "MPU", "Compiler_Type": "LLVM", "Idx": 113265, "Length": 30, "Cover_Rate": 0.4} {"Template_token": ["", "static", "MCSubtargetInfo", "*", "createMCSubtargetInfo", "(", "const", "Triple", "&", "TT", ",", "StringRef", "CPU", ",", "StringRef", "FS", ")", "{", "return", "createMCSubtargetInfoImpl", "(", "TT", ",", "CPU", ",", "CPU", ",", "FS", ")", ";"], "ground_truth": ["}"], "File": "AVRMCTargetDesc12", "Func": "createAVRMCSubtargetInfo", "Target": "AVR", "Target_Clf": "MPU", "Compiler_Type": "LLVM", "Idx": 113266, "Length": 30, "Cover_Rate": 1.0} {"Template_token": ["", "return", "createMCSubtargetInfoImpl", "(", "TT", ",", "CPU", ",", "CPU", ",", "FS", ")", ";"], "ground_truth": ["}"], "File": "AVRMCTargetDesc12", "Func": "createAVRMCSubtargetInfo", "Target": "AVR", "Target_Clf": "MPU", "Compiler_Type": "LLVM", "Idx": 113267, "Length": 13, "Cover_Rate": 0.43333333333333335} {"Template_token": ["", "TargetRegistry", "::", "RegisterELFStreamer", "(", "getTheTarget", "(", ")", ",", "createMCStreamer", ")", ";", "TargetRegistry", "::", "RegisterObjectTargetStreamer", "(", "getTheTarget", "(", ")", ",", "createObjectTargetStreamer", ")", ";", "TargetRegistry", "::", "RegisterAsmTargetStreamer", "(", "getTheTarget", "(", ")", ",", "createMCAsmTargetStreamer", ")", ";"], "ground_truth": ["TargetRegistry", "::", "RegisterMCAsmBackend", "(", "getTheTarget", "(", ")", ",", "createAsmBackend", ")", ";"], "File": "AVRMCTargetDesc12", "Func": "LLVMInitializeAVRTargetMC", "Target": "AVR", "Target_Clf": "MPU", "Compiler_Type": "LLVM", "Idx": 113268, "Length": 44, "Cover_Rate": 0.37606837606837606} {"Template_token": ["", "TargetRegistry", "::", "RegisterMCInstPrinter", "(", "getTheTarget", "(", ")", ",", "createMCInstPrinter", ")", ";", "TargetRegistry", "::", "RegisterMCCodeEmitter", "(", "getTheTarget", "(", ")", ",", "createMCCodeEmitter", ")", ";", "TargetRegistry", "::", "RegisterELFStreamer", "(", "getTheTarget", "(", ")", ",", "createMCStreamer", ")", ";", "TargetRegistry", "::", "RegisterObjectTargetStreamer", "(", "getTheTarget", "(", ")", ",", "createObjectTargetStreamer", ")", ";", "TargetRegistry", "::", "RegisterAsmTargetStreamer", "(", "getTheTarget", "(", ")", ",", "createMCAsmTargetStreamer", ")", ";"], "ground_truth": ["TargetRegistry", "::", "RegisterMCAsmBackend", "(", "getTheTarget", "(", ")", ",", "createAsmBackend", ")", ";"], "File": "AVRMCTargetDesc12", "Func": "LLVMInitializeAVRTargetMC", "Target": "AVR", "Target_Clf": "MPU", "Compiler_Type": "LLVM", "Idx": 113269, "Length": 66, "Cover_Rate": 0.5641025641025641} {"Template_token": ["", "static", "MCRegisterInfo", "*", "createMCRegisterInfo", "(", "const", "Triple", "&", "TT", ",", "const", "MCTargetOptions", "&", "Options", ")", "{", "MCRegisterInfo", "*", "X", "=", "new", "MCRegisterInfo", "(", ")", ";", "InitMCRegisterInfo", "(", "X", ",", "", ")", ";"], "ground_truth": ["return", "X", ";"], "File": "AVRMCTargetDesc9", "Func": "createAVRMCRegisterInfo", "Target": "AVR", "Target_Clf": "MPU", "Compiler_Type": "LLVM", "Idx": 113272, "Length": 35, "Cover_Rate": 0.9722222222222222} {"Template_token": ["", "static", "MCInstPrinter", "*", "createMCInstPrinter", "(", "const", "Triple", "&", "T", ",", "unsigned", "SyntaxVariant", ",", "const", "MCAsmInfo", "&", "MAI", ",", "const", "MCInstrInfo", "&", "MII", ",", "const", "MCRegisterInfo", "&", "MRI", ")", "{", "if", "(", "SyntaxVariant", "==", "", ")", "{"], "ground_truth": ["return", "new", "InstPrinter", "(", "MAI", ",", "MII", ",", "MRI", ")", ";"], "File": "AVRMCTargetDesc", "Func": "createAVRMCInstPrinter", "Target": "AVR", "Target_Clf": "MPU", "Compiler_Type": "LLVM", "Idx": 113273, "Length": 47, "Cover_Rate": 0.9038461538461539} {"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", ")", ";"], "ground_truth": ["}"], "File": "AVRMCTargetDesc", "Func": "createAVRMCInstPrinter", "Target": "AVR", "Target_Clf": "MPU", "Compiler_Type": "LLVM", "Idx": 113274, "Length": 48, "Cover_Rate": 0.9230769230769231} {"Template_token": ["", "MCInstrInfo", "*", "X", "=", "new", "MCInstrInfo", "(", ")", ";", "InitMCInstrInfo", "(", "X", ")", ";"], "ground_truth": ["return", "X", ";"], "File": "AVRMCTargetDesc", "Func": "createAVRMCInstrInfo", "Target": "AVR", "Target_Clf": "MPU", "Compiler_Type": "LLVM", "Idx": 113275, "Length": 17, "Cover_Rate": 0.6538461538461539} {"Template_token": ["", "MCRegisterInfo", "*", "X", "=", "new", "MCRegisterInfo", "(", ")", ";"], "ground_truth": ["InitMCRegisterInfo", "(", "X", ",", "", ")", ";"], "File": "AVRMCTargetDesc", "Func": "createAVRMCRegisterInfo", "Target": "AVR", "Target_Clf": "MPU", "Compiler_Type": "LLVM", "Idx": 113277, "Length": 16, "Cover_Rate": 0.5161290322580645} {"Template_token": ["", "static", "MCSubtargetInfo", "*", "createMCSubtargetInfo", "(", "const", "Triple", "&", "TT", ",", "StringRef", "CPU", ",", "StringRef", "FS", ")", "{"], "ground_truth": ["return", "createMCSubtargetInfoImpl", "(", "TT", ",", "CPU", ",", "FS", ")", ";"], "File": "AVRMCTargetDesc", "Func": "createAVRMCSubtargetInfo", "Target": "AVR", "Target_Clf": "MPU", "Compiler_Type": "LLVM", "Idx": 113278, "Length": 27, "Cover_Rate": 0.9642857142857143} {"Template_token": ["", "static", "MCSubtargetInfo", "*", "createMCSubtargetInfo", "(", "const", "Triple", "&", "TT", ",", "StringRef", "CPU", ",", "StringRef", "FS", ")", "{"], "ground_truth": ["return", "createMCSubtargetInfoImpl", "(", "TT", ",", "CPU", ",", "FS", ")", ";"], "File": "AVRMCTargetDesc", "Func": "createAVRMCSubtargetInfo", "Target": "AVR", "Target_Clf": "MPU", "Compiler_Type": "LLVM", "Idx": 113279, "Length": 27, "Cover_Rate": 0.9642857142857143} {"Template_token": ["", "static", "MCTargetStreamer", "*", "createObjectTargetStreamer", "(", "MCStreamer", "&", "S", ",", "const", "MCSubtargetInfo", "&", "STI", ")", "{"], "ground_truth": ["return", "new", "ELFStreamer", "(", "S", ",", "STI", ")", ";"], "File": "AVRMCTargetDesc", "Func": "createAVRObjectTargetStreamer", "Target": "AVR", "Target_Clf": "MPU", "Compiler_Type": "LLVM", "Idx": 113280, "Length": 24, "Cover_Rate": 0.96} {"Template_token": ["", "static", "MCTargetStreamer", "*", "createObjectTargetStreamer", "(", "MCStreamer", "&", "S", ",", "const", "MCSubtargetInfo", "&", "STI", ")", "{", "return", "new", "ELFStreamer", "(", "S", ",", "STI", ")", ";"], "ground_truth": ["}"], "File": "AVRMCTargetDesc", "Func": "createAVRObjectTargetStreamer", "Target": "AVR", "Target_Clf": "MPU", "Compiler_Type": "LLVM", "Idx": 113281, "Length": 25, "Cover_Rate": 1.0} {"Template_token": ["", "static", "MCTargetStreamer", "*", "createMCAsmTargetStreamer", "(", "MCStreamer", "&", "S", ",", "formatted_raw_ostream", "&", "OS", ",", "MCInstPrinter", "*", "InstPrint", ",", "bool", "isVerboseAsm", ")", "{", "return", "new", "TargetAsmStreamer", "(", "S", ")", ";"], "ground_truth": ["}"], "File": "AVRMCTargetDesc", "Func": "createMCAsmTargetStreamer", "Target": "AVR", "Target_Clf": "MPU", "Compiler_Type": "LLVM", "Idx": 113282, "Length": 29, "Cover_Rate": 1.0} {"Template_token": ["", "static", "MCStreamer", "*", "createMCStreamer", "(", "const", "Triple", "&", "T", ",", "MCContext", "&", "Context", ",", "std", "::", "unique_ptr", "<", "MCAsmBackend", ">", "&&", "MAB", ",", "raw_pwrite_stream", "&", "OS", ",", "std", "::", "unique_ptr", "<", "MCCodeEmitter", ">", "&&", "Emitter", ",", "bool", "RelaxAll", ")", "{", "return", "createELFStreamer", "(", "Context", ",", "std", "::", "move", "(", "MAB", ")", ",", "OS", ",", "std", "::", "move", "(", "Emitter", ")", ",", "RelaxAll", ")", ";"], "ground_truth": ["}"], "File": "AVRMCTargetDesc", "Func": "createMCStreamer", "Target": "AVR", "Target_Clf": "MPU", "Compiler_Type": "LLVM", "Idx": 113283, "Length": 65, "Cover_Rate": 1.0} {"Template_token": ["", "static", "MCStreamer", "*", "createMCStreamer", "(", "const", "Triple", "&", "T", ",", "MCContext", "&", "Context", ",", "std", "::", "unique_ptr", "<", "MCAsmBackend", ">", "&&", "MAB", ",", "raw_pwrite_stream", "&", "OS", ",", "std", "::", "unique_ptr", "<", "MCCodeEmitter", ">", "&&", "Emitter", ",", "bool", "RelaxAll", ")", "{"], "ground_truth": ["return", "createELFStreamer", "(", "Context", ",", "std", "::", "move", "(", "MAB", ")", ",", "OS", ",", "std", "::", "move", "(", "Emitter", ")", ",", "RelaxAll", ")", ";"], "File": "AVRMCTargetDesc", "Func": "createMCStreamer", "Target": "AVR", "Target_Clf": "MPU", "Compiler_Type": "LLVM", "Idx": 113284, "Length": 64, "Cover_Rate": 0.9846153846153847} {"Template_token": ["", "TargetRegistry", "::", "RegisterMCInstPrinter", "(", "getTheTarget", "(", ")", ",", "createMCInstPrinter", ")", ";", "TargetRegistry", "::", "RegisterMCCodeEmitter", "(", "getTheTarget", "(", ")", ",", "createMCCodeEmitter", ")", ";", "TargetRegistry", "::", "RegisterELFStreamer", "(", "getTheTarget", "(", ")", ",", "createMCStreamer", ")", ";"], "ground_truth": ["TargetRegistry", "::", "RegisterObjectTargetStreamer", "(", "getTheTarget", "(", ")", ",", "createObjectTargetStreamer", ")", ";"], "File": "AVRMCTargetDesc", "Func": "LLVMInitializeAVRTargetMC", "Target": "AVR", "Target_Clf": "MPU", "Compiler_Type": "LLVM", "Idx": 113285, "Length": 44, "Cover_Rate": 0.3793103448275862} {"Template_token": ["", "TargetRegistry", "::", "RegisterMCSubtargetInfo", "(", "getTheTarget", "(", ")", ",", "createMCSubtargetInfo", ")", ";", "TargetRegistry", "::", "RegisterMCInstPrinter", "(", "getTheTarget", "(", ")", ",", "createMCInstPrinter", ")", ";", "TargetRegistry", "::", "RegisterMCCodeEmitter", "(", "getTheTarget", "(", ")", ",", "createMCCodeEmitter", ")", ";", "TargetRegistry", "::", "RegisterELFStreamer", "(", "getTheTarget", "(", ")", ",", "createMCStreamer", ")", ";", "TargetRegistry", "::", "RegisterObjectTargetStreamer", "(", "getTheTarget", "(", ")", ",", "createObjectTargetStreamer", ")", ";", "TargetRegistry", "::", "RegisterAsmTargetStreamer", "(", "getTheTarget", "(", ")", ",", "createMCAsmTargetStreamer", ")", ";"], "ground_truth": ["TargetRegistry", "::", "RegisterMCAsmBackend", "(", "getTheTarget", "(", ")", ",", "createAsmBackend", ")", ";"], "File": "AVRMCTargetDesc", "Func": "LLVMInitializeAVRTargetMC", "Target": "AVR", "Target_Clf": "MPU", "Compiler_Type": "LLVM", "Idx": 113286, "Length": 77, "Cover_Rate": 0.6637931034482759} {"Template_token": ["", "const", "MachineFunctionInfo", "*", "AFI", "=", "MF", "->", "getInfo", "<", "MachineFunctionInfo", ">", "(", ")", ";"], "ground_truth": ["return", "AFI", "->", "isInterruptOrSignalHandler", "(", ")", "?", "CSR_Interrupts_SaveList", ":", "CSR_Normal_SaveList", ";"], "File": "AVRRegisterInfo10", "Func": "getCalleeSavedRegs", "Target": "AVR", "Target_Clf": "MPU", "Compiler_Type": "LLVM", "Idx": 113287, "Length": 25, "Cover_Rate": 0.625} {"Template_token": ["", "const", "MachineFunctionInfo", "*", "AFI", "=", "MF", ".", "getInfo", "<", "MachineFunctionInfo", ">", "(", ")", ";"], "ground_truth": ["return", "AFI", "->", "isInterruptOrSignalHandler", "(", ")", "?", "CSR_Interrupts_RegMask", ":", "CSR_Normal_RegMask", ";"], "File": "AVRRegisterInfo10", "Func": "getCallPreservedMask", "Target": "AVR", "Target_Clf": "MPU", "Compiler_Type": "LLVM", "Idx": 113288, "Length": 25, "Cover_Rate": 0.5555555555555556} {"Template_token": ["", "const", "uint32_t", "*", "RegisterInfo", "::", "getCallPreservedMask", "(", "const", "MachineFunction", "&", "MF", ",", "CallingConv", "::", "ID", "CC", ")", "const", "{"], "ground_truth": ["const", "MachineFunctionInfo", "*", "AFI", "=", "MF", ".", "getInfo", "<", "MachineFunctionInfo", ">", "(", ")", ";"], "File": "AVRRegisterInfo10", "Func": "getCallPreservedMask", "Target": "AVR", "Target_Clf": "MPU", "Compiler_Type": "LLVM", "Idx": 113289, "Length": 33, "Cover_Rate": 0.7333333333333333} {"Template_token": ["", "return", "false", ";", "}", "return", "TargetRegisterInfo", "::", "shouldCoalesce", "(", "MI", ",", "SrcRC", ",", "SubReg", ",", "DstRC", ",", "DstSubReg", ",", "NewRC", ",", "LIS", ")", ";"], "ground_truth": ["}"], "File": "AVRRegisterInfo10", "Func": "shouldCoalesce", "Target": "AVR", "Target_Clf": "MPU", "Compiler_Type": "LLVM", "Idx": 113290, "Length": 25, "Cover_Rate": 0.32051282051282054} {"Template_token": ["", "LoReg", "=", "getSubReg", "(", "Reg", ",", "", ")", ";", "HiReg", "=", "getSubReg", "(", "Reg", ",", "", ")", ";"], "ground_truth": ["}"], "File": "AVRRegisterInfo10", "Func": "splitReg", "Target": "AVR", "Target_Clf": "MPU", "Compiler_Type": "LLVM", "Idx": 113291, "Length": 19, "Cover_Rate": 0.34545454545454546} {"Template_token": ["", "assert", "(", "", ".", "contains", "(", "Reg", ")", "&&", "", ")", ";"], "ground_truth": ["LoReg", "=", "getSubReg", "(", "Reg", ",", "", ")", ";"], "File": "AVRRegisterInfo10", "Func": "splitReg", "Target": "AVR", "Target_Clf": "MPU", "Compiler_Type": "LLVM", "Idx": 113292, "Length": 21, "Cover_Rate": 0.38181818181818183} {"Template_token": ["", "bool", "RegisterInfo", "::", "shouldCoalesce", "(", "MachineInstr", "*", "MI", ",", "const", "TargetRegisterClass", "*", "SrcRC", ",", "unsigned", "SubReg", ",", "const", "TargetRegisterClass", "*", "DstRC", ",", "unsigned", "DstSubReg", ",", "const", "TargetRegisterClass", "*", "NewRC", ",", "LiveIntervals", "&", "LIS", ")", "const", "{", "if", "(", "this", "->", "getRegClass", "(", "", ")", "->", "hasSubClassEq", "(", "NewRC", ")", ")", "{", "return", "false", ";"], "ground_truth": ["}"], "File": "AVRRegisterInfo11", "Func": "shouldCoalesce", "Target": "AVR", "Target_Clf": "MPU", "Compiler_Type": "LLVM", "Idx": 113293, "Length": 55, "Cover_Rate": 0.7051282051282052} {"Template_token": ["", "const", "uint16_t", "*", "RegisterInfo", "::", "getCalleeSavedRegs", "(", "const", "MachineFunction", "*", "MF", ")", "const", "{", "CallingConv", "::", "ID", "CC", "=", "MF", "->", "getFunction", "(", ")", ".", "getCallingConv", "(", ")", ";"], "ground_truth": ["return", "(", "(", "CC", "==", "CallingConv", "::", "_INTR", "||", "CC", "==", "CallingConv", "::", "_SIGNAL", ")", "?", "CSR_Interrupts_SaveList", ":", "CSR_Normal_SaveList", ")", ";"], "File": "AVRRegisterInfo12", "Func": "getCalleeSavedRegs", "Target": "AVR", "Target_Clf": "MPU", "Compiler_Type": "LLVM", "Idx": 113294, "Length": 50, "Cover_Rate": 0.9803921568627451} {"Template_token": ["", "CallingConv", "::", "ID", "CC", "=", "MF", "->", "getFunction", "(", ")", ".", "getCallingConv", "(", ")", ";", "return", "(", "(", "CC", "==", "CallingConv", "::", "_INTR", "||", "CC", "==", "CallingConv", "::", "_SIGNAL", ")", "?", "CSR_Interrupts_SaveList", ":", "CSR_Normal_SaveList", ")", ";"], "ground_truth": ["}"], "File": "AVRRegisterInfo12", "Func": "getCalleeSavedRegs", "Target": "AVR", "Target_Clf": "MPU", "Compiler_Type": "LLVM", "Idx": 113295, "Length": 37, "Cover_Rate": 0.7254901960784313} {"Template_token": ["", "int", "Opcode", "=", "MI", ".", "getOpcode", "(", ")", ";", "if", "(", "(", "Opcode", "!=", "", ")", "&&", "(", "Opcode", "!=", "", ")", ")", "{", "return", ";", "}", "if", "(", "DstReg", "!=", "MI", ".", "getOperand", "(", "", ")", ".", "getReg", "(", ")", ")", "{", "return", ";", "}", "switch", "(", "Opcode", ")", "{", "case", "", ":", "Offset", "+=", "-", "MI", ".", "getOperand", "(", "", ")", ".", "getImm", "(", ")", ";", "break", ";"], "ground_truth": ["case", "", ":"], "File": "AVRRegisterInfo13", "Func": "foldFrameOffset", "Target": "AVR", "Target_Clf": "MPU", "Compiler_Type": "LLVM", "Idx": 113296, "Length": 73, "Cover_Rate": 0.553030303030303} {"Template_token": ["", "}", "switch", "(", "Opcode", ")", "{", "case", "", ":", "Offset", "+=", "-", "MI", ".", "getOperand", "(", "", ")", ".", "getImm", "(", ")", ";", "break", ";", "case", "", ":", "Offset", "+=", "MI", ".", "getOperand", "(", "", ")", ".", "getImm", "(", ")", ";", "break", ";"], "ground_truth": ["}"], "File": "AVRRegisterInfo13", "Func": "foldFrameOffset", "Target": "AVR", "Target_Clf": "MPU", "Compiler_Type": "LLVM", "Idx": 113297, "Length": 44, "Cover_Rate": 0.3333333333333333} {"Template_token": ["", "const", "TargetMachine", "&", "TM", "=", "(", "const", "TargetMachine", "&", ")", "MF", ".", "getTarget", "(", ")", ";", "const", "TargetInstrInfo", "&", "TII", "=", "*", "TM", ".", "getSubtargetImpl", "(", ")", "->", "getInstrInfo", "(", ")", ";", "const", "MachineFrameInfo", "&", "MFI", "=", "MF", ".", "getFrameInfo", "(", ")", ";", "const", "TargetFrameLowering", "*", "TFI", "=", "TM", ".", "getSubtargetImpl", "(", ")", "->", "getFrameLowering", "(", ")", ";", "int", "FrameIndex", "=", "MI", ".", "getOperand", "(", "FIOperandNum", ")", ".", "getIndex", "(", ")", ";", "int", "Offset", "=", "MFI", ".", "getObjectOffset", "(", "FrameIndex", ")", ";", "Offset", "+=", "MFI", ".", "getStackSize", "(", ")", "-", "TFI", "->", "getOffsetOfLocalArea", "(", ")", "+", "", ";", "Offset", "+=", "MI", ".", "getOperand", "(", "FIOperandNum", "+", "", ")", ".", "getImm", "(", ")", ";", "if", "(", "MI", ".", "getOpcode", "(", ")", "==", "", ")", "{", "MI", ".", "setDesc", "(", "TII", ".", "get", "(", "", ")", ")", ";", "MI", ".", "getOperand", "(", "FIOperandNum", ")", ".", "ChangeToRegister", "(", "", ",", "false", ")", ";", "assert", "(", "Offset", ">", "", "&&", "", ")", ";", "unsigned", "Opcode", ";", "unsigned", "DstReg", "=", "MI", ".", "getOperand", "(", "", ")", ".", "getReg", "(", ")", ";", "assert", "(", "DstReg", "!=", "", "&&", "", ")", ";", "II", "++", ";", "if", "(", "II", "!=", "MBB", ".", "end", "(", ")", ")", "foldFrameOffset", "(", "II", ",", "Offset", ",", "DstReg", ")", ";", "switch", "(", "DstReg", ")", "{", "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", "=", "", ";"], "ground_truth": ["int", "AddOffset", "=", "Offset", "-", "", "+", "", ";"], "File": "AVRRegisterInfo14", "Func": "eliminateFrameIndex", "Target": "AVR", "Target_Clf": "MPU", "Compiler_Type": "LLVM", "Idx": 113298, "Length": 334, "Cover_Rate": 0.49850746268656715} {"Template_token": ["", "unsigned", "DstReg", "=", "MI", ".", "getOperand", "(", "", ")", ".", "getReg", "(", ")", ";", "assert", "(", "DstReg", "!=", "", "&&", "", ")", ";", "II", "++", ";", "if", "(", "II", "!=", "MBB", ".", "end", "(", ")", ")", "foldFrameOffset", "(", "II", ",", "Offset", ",", "DstReg", ")", ";", "switch", "(", "DstReg", ")", "{", "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", ")", ";", "New", "=", "BuildMI", "(", "MBB", ",", "std", "::", "next", "(", "II", ")", ",", "dl", ",", "TII", ".", "get", "(", "SubOpc", ")", ",", "", ")", ".", "addReg", "(", "", ",", "RegState", "::", "Kill", ")", ".", "addImm", "(", "Offset", "-", "", "+", "", ")", ";", "Offset", "=", "", ";"], "ground_truth": ["}"], "File": "AVRRegisterInfo14", "Func": "eliminateFrameIndex", "Target": "AVR", "Target_Clf": "MPU", "Compiler_Type": "LLVM", "Idx": 113299, "Length": 352, "Cover_Rate": 0.5253731343283582} {"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", ")", ";", "assert", "(", "isUInt", "<", "", ">", "(", "Offset", ")", "&&", "", ")", ";", "MI", ".", "getOperand", "(", "FIOperandNum", "+", "", ")", ".", "ChangeToImmediate", "(", "Offset", ")", ";"], "ground_truth": ["}"], "File": "AVRRegisterInfo19", "Func": "eliminateFrameIndex", "Target": "AVR", "Target_Clf": "MPU", "Compiler_Type": "LLVM", "Idx": 113300, "Length": 229, "Cover_Rate": 0.33925925925925926} {"Template_token": ["", "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", ")", ";", "New", "=", "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": "AVRRegisterInfo1", "Func": "eliminateFrameIndex", "Target": "AVR", "Target_Clf": "MPU", "Compiler_Type": "LLVM", "Idx": 113301, "Length": 232, "Cover_Rate": 0.3473053892215569} {"Template_token": ["", "const", "TargetRegisterClass", "*", "RegisterInfo", "::", "getLargestLegalSuperClass", "(", "const", "TargetRegisterClass", "*", "RC", ",", "const", "MachineFunction", "&", "MF", ")", "const", "{", "const", "TargetRegisterInfo", "*", "TRI", "=", "MF", ".", "getSubtarget", "(", ")", ".", "getRegisterInfo", "(", ")", ";", "if", "(", "TRI", "->", "isTypeLegalForClass", "(", "*", "RC", ",", "", ")", ")", "{", "return", "&", "", ";"], "ground_truth": ["}"], "File": "AVRRegisterInfo1", "Func": "getLargestLegalSuperClass", "Target": "AVR", "Target_Clf": "MPU", "Compiler_Type": "LLVM", "Idx": 113302, "Length": 52, "Cover_Rate": 0.6190476190476191} {"Template_token": ["", "BitVector", "RegisterInfo", "::", "getReservedRegs", "(", "const", "MachineFunction", "&", "MF", ")", "const", "{", "BitVector", "Reserved", "(", "getNumRegs", "(", ")", ")", ";", "Reserved", ".", "set", "(", "", ")", ";"], "ground_truth": ["Reserved", ".", "set", "(", "", ")", ";"], "File": "AVRRegisterInfo1", "Func": "getReservedRegs", "Target": "AVR", "Target_Clf": "MPU", "Compiler_Type": "LLVM", "Idx": 113303, "Length": 34, "Cover_Rate": 0.3238095238095238} {"Template_token": ["", "void", "RegisterInfo", "::", "splitReg", "(", "unsigned", "Reg", ",", "unsigned", "&", "LoReg", ",", "unsigned", "&", "HiReg", ")", "const", "{", "assert", "(", "", ".", "contains", "(", "Reg", ")", "&&", "", ")", ";"], "ground_truth": ["LoReg", "=", "getSubReg", "(", "Reg", ",", "", ")", ";"], "File": "AVRRegisterInfo1", "Func": "splitReg", "Target": "AVR", "Target_Clf": "MPU", "Compiler_Type": "LLVM", "Idx": 113304, "Length": 39, "Cover_Rate": 0.7090909090909091} {"Template_token": ["", "LoReg", "=", "getSubReg", "(", "Reg", ",", "", ")", ";"], "ground_truth": ["HiReg", "=", "getSubReg", "(", "Reg", ",", "", ")", ";"], "File": "AVRRegisterInfo1", "Func": "splitReg", "Target": "AVR", "Target_Clf": "MPU", "Compiler_Type": "LLVM", "Idx": 113305, "Length": 18, "Cover_Rate": 0.32727272727272727} {"Template_token": ["", "bool", "trackLivenessAfterRegAlloc", "(", "const", "MachineFunction", "&", ")", "const", "override", "{"], "ground_truth": ["return", "true", ";"], "File": "AVRRegisterInfo1", "Func": "trackLivenessAfterRegAlloc", "Target": "AVR", "Target_Clf": "MPU", "Compiler_Type": "LLVM", "Idx": 113306, "Length": 13, "Cover_Rate": 0.9285714285714286} {"Template_token": ["", "assert", "(", "DstReg", "!=", "", "&&", "", ")", ";", "foldFrameOffset", "(", "*", "std", "::", "next", "(", "II", ")", ",", "Offset", ",", "DstReg", ")", ";", "switch", "(", "DstReg", ")", "{", "case", "", ":", "case", "", ":", "case", "", ":", "{", "if", "(", "isUInt", "<", "", ">", "(", "Offset", ")", ")", "{", "Opcode", "=", "", ";", "break", ";", "}", "LLVM_FALLTHROUGH", ";", "}", "default", ":", "{", "Opcode", "=", "", ";", "Offset", "=", "-", "Offset", ";", "break", ";", "}", "}", "MachineInstr", "*", "New", "=", "BuildMI", "(", "MBB", ",", "std", "::", "next", "(", "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", ")", ";"], "ground_truth": ["New", "=", "BuildMI", "(", "MBB", ",", "std", "::", "next", "(", "II", ")", ",", "dl", ",", "TII", ".", "get", "(", "SubOpc", ")", ",", "", ")", ".", "addReg", "(", "", ",", "RegState", "::", "Kill", ")", ".", "addImm", "(", "Offset", "-", "", "+", "", ")", ";"], "File": "AVRRegisterInfo20", "Func": "eliminateFrameIndex", "Target": "AVR", "Target_Clf": "MPU", "Compiler_Type": "LLVM", "Idx": 113308, "Length": 331, "Cover_Rate": 0.49550898203592814} {"Template_token": ["", "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", ")", ";", "New", "=", "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": "AVRRegisterInfo22", "Func": "eliminateFrameIndex", "Target": "AVR", "Target_Clf": "MPU", "Compiler_Type": "LLVM", "Idx": 113309, "Length": 221, "Cover_Rate": 0.33183183183183185} {"Template_token": ["", "}", "default", ":", "{", "Opcode", "=", "", ";", "Offset", "=", "-", "Offset", ";", "break", ";", "}", "}", "MachineInstr", "*", "New", "=", "BuildMI", "(", "MBB", ",", "std", "::", "next", "(", "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", ")", ";", "New", "=", "BuildMI", "(", "MBB", ",", "std", "::", "next", "(", "II", ")", ",", "dl", ",", "TII", ".", "get", "(", "SubOpc", ")", ",", "", ")", ".", "addReg", "(", "", ",", "RegState", "::", "Kill", ")", ".", "addImm", "(", "Offset", "-", "", "+", "", ")", ";", "Offset", "=", "", ";"], "ground_truth": ["}"], "File": "AVRRegisterInfo22", "Func": "eliminateFrameIndex", "Target": "AVR", "Target_Clf": "MPU", "Compiler_Type": "LLVM", "Idx": 113310, "Length": 277, "Cover_Rate": 0.4159159159159159} {"Template_token": ["", "const", "uint32_t", "*", "RegisterInfo", "::", "getCallPreservedMask", "(", "const", "MachineFunction", "&", "MF", ",", "CallingConv", "::", "ID", "CC", ")", "const", "{", "return", "CSR_Normal_RegMask", ";"], "ground_truth": ["}"], "File": "AVRRegisterInfo4", "Func": "getCallPreservedMask", "Target": "AVR", "Target_Clf": "MPU", "Compiler_Type": "LLVM", "Idx": 113311, "Length": 23, "Cover_Rate": 1.0} {"Template_token": ["", "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", "(", "STI", ".", "getIORegSREG", "(", ")", ")", ";", "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", "(", "STI", ".", "getIORegSREG", "(", ")", ")", ".", "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", ")", "&&", "", ")", ";", "MI", ".", "getOperand", "(", "FIOperandNum", "+", "", ")", ".", "ChangeToImmediate", "(", "Offset", ")", ";"], "ground_truth": ["}"], "File": "AVRRegisterInfo8", "Func": "eliminateFrameIndex", "Target": "AVR", "Target_Clf": "MPU", "Compiler_Type": "LLVM", "Idx": 113312, "Length": 307, "Cover_Rate": 0.44045911047345765} {"Template_token": ["", "const", "MachineFunctionInfo", "*", "AFI", "=", "MF", "->", "getInfo", "<", "MachineFunctionInfo", ">", "(", ")", ";", "const", "Subtarget", "&", "STI", "=", "MF", "->", "getSubtarget", "<", "Subtarget", ">", "(", ")", ";"], "ground_truth": ["if", "(", "STI", ".", "hasTinyEncoding", "(", ")", ")", "return", "AFI", "->", "isInterruptOrSignalHandler", "(", ")", "?", "CSR_InterruptsTiny_SaveList", ":", "CSR_NormalTiny_SaveList", ";"], "File": "AVRRegisterInfo8", "Func": "getCalleeSavedRegs", "Target": "AVR", "Target_Clf": "MPU", "Compiler_Type": "LLVM", "Idx": 113313, "Length": 47, "Cover_Rate": 0.6351351351351351} {"Template_token": ["", "const", "Subtarget", "&", "STI", "=", "MF", ".", "getSubtarget", "<", "Subtarget", ">", "(", ")", ";", "return", "STI", ".", "hasTinyEncoding", "(", ")", "?", "CSR_NormalTiny_RegMask", ":", "CSR_Normal_RegMask", ";"], "ground_truth": ["}"], "File": "AVRRegisterInfo8", "Func": "getCallPreservedMask", "Target": "AVR", "Target_Clf": "MPU", "Compiler_Type": "LLVM", "Idx": 113314, "Length": 26, "Cover_Rate": 0.5777777777777777} {"Template_token": ["", "Reserved", ".", "set", "(", "", ")", ";", "if", "(", "MF", ".", "getSubtarget", "<", "Subtarget", ">", "(", ")", ".", "hasTinyEncoding", "(", ")", ")", "{", "for", "(", "unsigned", "Reg", "=", "", ";", "Reg", "<=", "", ";", "Reg", "++", ")", "Reserved", ".", "set", "(", "Reg", ")", ";", "for", "(", "unsigned", "Reg", "=", "", ";", "Reg", "<=", "", ";", "Reg", "++", ")", "Reserved", ".", "set", "(", "Reg", ")", ";"], "ground_truth": ["}"], "File": "AVRRegisterInfo8", "Func": "getReservedRegs", "Target": "AVR", "Target_Clf": "MPU", "Compiler_Type": "LLVM", "Idx": 113315, "Length": 66, "Cover_Rate": 0.38372093023255816} {"Template_token": ["", "RegisterInfo", "::", "RegisterInfo", "(", ")", ":", "GenRegisterInfo", "(", "", ")", "{"], "ground_truth": ["}"], "File": "AVRRegisterInfo", "Func": "AVRRegisterInfo", "Target": "AVR", "Target_Clf": "MPU", "Compiler_Type": "LLVM", "Idx": 113316, "Length": 12, "Cover_Rate": 1.0} {"Template_token": ["", "RegisterInfo", "::", "RegisterInfo", "(", ")", ":", "GenRegisterInfo", "(", "", ")", "{"], "ground_truth": ["}"], "File": "AVRRegisterInfo", "Func": "AVRRegisterInfo", "Target": "AVR", "Target_Clf": "MPU", "Compiler_Type": "LLVM", "Idx": 113317, "Length": 12, "Cover_Rate": 1.0} {"Template_token": ["", "DebugLoc", "dl", "=", "MI", ".", "getDebugLoc", "(", ")", ";", "MachineBasicBlock", "&", "MBB", "=", "*", "MI", ".", "getParent", "(", ")", ";", "const", "MachineFunction", "&", "MF", "=", "*", "MBB", ".", "getParent", "(", ")", ";", "const", "TargetMachine", "&", "TM", "=", "(", "const", "TargetMachine", "&", ")", "MF", ".", "getTarget", "(", ")", ";", "const", "TargetInstrInfo", "&", "TII", "=", "*", "TM", ".", "getSubtargetImpl", "(", ")", "->", "getInstrInfo", "(", ")", ";", "const", "MachineFrameInfo", "&", "MFI", "=", "MF", ".", "getFrameInfo", "(", ")", ";", "const", "TargetFrameLowering", "*", "TFI", "=", "TM", ".", "getSubtargetImpl", "(", ")", "->", "getFrameLowering", "(", ")", ";", "int", "FrameIndex", "=", "MI", ".", "getOperand", "(", "FIOperandNum", ")", ".", "getIndex", "(", ")", ";", "int", "Offset", "=", "MFI", ".", "getObjectOffset", "(", "FrameIndex", ")", ";", "Offset", "+=", "MFI", ".", "getStackSize", "(", ")", "-", "TFI", "->", "getOffsetOfLocalArea", "(", ")", "+", "", ";", "Offset", "+=", "MI", ".", "getOperand", "(", "FIOperandNum", "+", "", ")", ".", "getImm", "(", ")", ";", "if", "(", "MI", ".", "getOpcode", "(", ")", "==", "", ")", "{", "MI", ".", "setDesc", "(", "TII", ".", "get", "(", "", ")", ")", ";", "MI", ".", "getOperand", "(", "FIOperandNum", ")", ".", "ChangeToRegister", "(", "", ",", "false", ")", ";", "assert", "(", "Offset", ">", "", "&&", "", ")", ";", "unsigned", "Opcode", ";", "unsigned", "DstReg", "=", "MI", ".", "getOperand", "(", "", ")", ".", "getReg", "(", ")", ";", "assert", "(", "DstReg", "!=", "", "&&", "", ")", ";", "foldFrameOffset", "(", "*", "std", "::", "next", "(", "II", ")", ",", "Offset", ",", "DstReg", ")", ";", "switch", "(", "DstReg", ")", "{", "case", "", ":", "case", "", ":", "case", "", ":", "{", "if", "(", "isUInt", "<", "", ">", "(", "Offset", ")", ")", "{", "Opcode", "=", "", ";", "break", ";", "}"], "ground_truth": ["}"], "File": "AVRRegisterInfo", "Func": "eliminateFrameIndex", "Target": "AVR", "Target_Clf": "MPU", "Compiler_Type": "LLVM", "Idx": 113318, "Length": 266, "Cover_Rate": 0.3993993993993994} {"Template_token": ["", "assert", "(", "Offset", ">", "", "&&", "", ")", ";", "unsigned", "Opcode", ";", "unsigned", "DstReg", "=", "MI", ".", "getOperand", "(", "", ")", ".", "getReg", "(", ")", ";", "assert", "(", "DstReg", "!=", "", "&&", "", ")", ";", "foldFrameOffset", "(", "*", "std", "::", "next", "(", "II", ")", ",", "Offset", ",", "DstReg", ")", ";", "switch", "(", "DstReg", ")", "{", "case", "", ":", "case", "", ":", "case", "", ":", "{", "if", "(", "isUInt", "<", "", ">", "(", "Offset", ")", ")", "{", "Opcode", "=", "", ";", "break", ";", "}", "}", "default", ":", "{", "Opcode", "=", "", ";", "Offset", "=", "-", "Offset", ";", "break", ";", "}", "}", "MachineInstr", "*", "New", "=", "BuildMI", "(", "MBB", ",", "std", "::", "next", "(", "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", ")", ";", "New", "=", "BuildMI", "(", "MBB", ",", "std", "::", "next", "(", "II", ")", ",", "dl", ",", "TII", ".", "get", "(", "SubOpc", ")", ",", "", ")", ".", "addReg", "(", "", ",", "RegState", "::", "Kill", ")", ".", "addImm", "(", "Offset", "-", "", "+", "", ")", ";", "Offset", "=", "", ";"], "ground_truth": ["}"], "File": "AVRRegisterInfo", "Func": "eliminateFrameIndex", "Target": "AVR", "Target_Clf": "MPU", "Compiler_Type": "LLVM", "Idx": 113319, "Length": 360, "Cover_Rate": 0.5405405405405406} {"Template_token": ["", "int", "Opcode", "=", "MI", ".", "getOpcode", "(", ")", ";", "if", "(", "(", "Opcode", "!=", "", ")", "&&", "(", "Opcode", "!=", "", ")", ")", "{", "return", ";", "}", "if", "(", "DstReg", "!=", "MI", ".", "getOperand", "(", "", ")", ".", "getReg", "(", ")", ")", "{", "return", ";", "}", "switch", "(", "Opcode", ")", "{", "case", "", ":", "Offset", "+=", "-", "MI", ".", "getOperand", "(", "", ")", ".", "getImm", "(", ")", ";", "break", ";", "case", "", ":"], "ground_truth": ["Offset", "+=", "MI", ".", "getOperand", "(", "", ")", ".", "getImm", "(", ")", ";"], "File": "AVRRegisterInfo", "Func": "foldFrameOffset", "Target": "AVR", "Target_Clf": "MPU", "Compiler_Type": "LLVM", "Idx": 113320, "Length": 86, "Cover_Rate": 0.7166666666666667} {"Template_token": ["", "CallingConv", "::", "ID", "CC", "=", "MF", "->", "getFunction", "(", ")", "->", "getCallingConv", "(", ")", ";", "return", "(", "(", "CC", "==", "CallingConv", "::", "_INTR", "||", "CC", "==", "CallingConv", "::", "_SIGNAL", ")", "?", "CSR_Interrupts_SaveList", ":", "CSR_Normal_SaveList", ")", ";"], "ground_truth": ["}"], "File": "AVRRegisterInfo", "Func": "getCalleeSavedRegs", "Target": "AVR", "Target_Clf": "MPU", "Compiler_Type": "LLVM", "Idx": 113321, "Length": 37, "Cover_Rate": 0.7254901960784313} {"Template_token": ["", "const", "uint16_t", "*", "RegisterInfo", "::", "getCalleeSavedRegs", "(", "const", "MachineFunction", "*", "MF", ")", "const", "{"], "ground_truth": ["CallingConv", "::", "ID", "CC", "=", "MF", "->", "getFunction", "(", ")", "->", "getCallingConv", "(", ")", ";"], "File": "AVRRegisterInfo", "Func": "getCalleeSavedRegs", "Target": "AVR", "Target_Clf": "MPU", "Compiler_Type": "LLVM", "Idx": 113322, "Length": 29, "Cover_Rate": 0.5686274509803921} {"Template_token": ["", "return", "(", "(", "CC", "==", "CallingConv", "::", "_INTR", "||", "CC", "==", "CallingConv", "::", "_SIGNAL", ")", "?", "CSR_Interrupts_RegMask", ":", "CSR_Normal_RegMask", ")", ";"], "ground_truth": ["}"], "File": "AVRRegisterInfo", "Func": "getCallPreservedMask", "Target": "AVR", "Target_Clf": "MPU", "Compiler_Type": "LLVM", "Idx": 113323, "Length": 22, "Cover_Rate": 0.5365853658536586} {"Template_token": ["", "unsigned", "RegisterInfo", "::", "getFrameRegister", "(", "const", "MachineFunction", "&", "MF", ")", "const", "{", "const", "TargetFrameLowering", "*", "TFI", "=", "MF", ".", "getSubtarget", "(", ")", ".", "getFrameLowering", "(", ")", ";", "if", "(", "TFI", "->", "hasFP", "(", "MF", ")", ")", "{"], "ground_truth": ["return", "", ";"], "File": "AVRRegisterInfo", "Func": "getFrameRegister", "Target": "AVR", "Target_Clf": "MPU", "Compiler_Type": "LLVM", "Idx": 113326, "Length": 40, "Cover_Rate": 0.8163265306122449} {"Template_token": ["", "if", "(", "RC", "->", "hasType", "(", "", ")", ")", "{", "return", "&", "", ";", "}", "if", "(", "RC", "->", "hasType", "(", "", ")", ")", "{", "return", "&", "", ";"], "ground_truth": ["}"], "File": "AVRRegisterInfo", "Func": "getLargestLegalSuperClass", "Target": "AVR", "Target_Clf": "MPU", "Compiler_Type": "LLVM", "Idx": 113327, "Length": 30, "Cover_Rate": 0.47619047619047616} {"Template_token": ["", "if", "(", "RC", "->", "hasType", "(", "", ")", ")", "{", "return", "&", "", ";", "}", "llvm_unreachable", "(", "", ")", ";"], "ground_truth": ["}"], "File": "AVRRegisterInfo", "Func": "getLargestLegalSuperClass", "Target": "AVR", "Target_Clf": "MPU", "Compiler_Type": "LLVM", "Idx": 113328, "Length": 21, "Cover_Rate": 0.3333333333333333} {"Template_token": ["", "const", "TargetRegisterClass", "*", "RegisterInfo", "::", "getPointerRegClass", "(", "const", "MachineFunction", "&", "MF", ",", "unsigned", "Kind", ")", "const", "{"], "ground_truth": ["return", "&", "", ";"], "File": "AVRRegisterInfo", "Func": "getPointerRegClass", "Target": "AVR", "Target_Clf": "MPU", "Compiler_Type": "LLVM", "Idx": 113329, "Length": 21, "Cover_Rate": 0.875} {"Template_token": ["", "BitVector", "Reserved", "(", "getNumRegs", "(", ")", ")", ";", "const", "TargetMachine", "&", "TM", "=", "static_cast", "<", "const", "TargetMachine", "&", ">", "(", "MF", ".", "getTarget", "(", ")", ")", ";", "const", "TargetFrameLowering", "*", "TFI", "=", "TM", ".", "getSubtargetImpl", "(", ")", "->", "getFrameLowering", "(", ")", ";", "Reserved", ".", "set", "(", "", ")", ";", "Reserved", ".", "set", "(", "", ")", ";", "Reserved", ".", "set", "(", "", ")", ";", "Reserved", ".", "set", "(", "", ")", ";", "Reserved", ".", "set", "(", "", ")", ";", "Reserved", ".", "set", "(", "", ")", ";", "if", "(", "TFI", "->", "hasFP", "(", "MF", ")", ")", "{", "Reserved", ".", "set", "(", "", ")", ";", "Reserved", ".", "set", "(", "", ")", ";", "Reserved", ".", "set", "(", "", ")", ";"], "ground_truth": ["}"], "File": "AVRRegisterInfo", "Func": "getReservedRegs", "Target": "AVR", "Target_Clf": "MPU", "Compiler_Type": "LLVM", "Idx": 113330, "Length": 116, "Cover_Rate": 0.7733333333333333} {"Template_token": ["", "bool", "RelaxMem", "::", "runOnInstruction", "(", "Block", "&", "MBB", ",", "BlockIt", "MBBI", ")", "{", "MachineInstr", "&", "MI", "=", "*", "MBBI", ";", "int", "Opcode", "=", "MBBI", "->", "getOpcode", "(", ")", ";"], "ground_truth": ["case", "Op", ":", "\\", "return", "relax", "<", "Op", ">", "(", "MBB", ",", "MI", ")", "switch", "(", "Opcode", ")", "{"], "File": "AVRRelaxMemOperations2", "Func": "runOnInstruction", "Target": "AVR", "Target_Clf": "MPU", "Compiler_Type": "LLVM", "Idx": 113331, "Length": 48, "Cover_Rate": 0.8} {"Template_token": ["", "bool", "RelaxMem", "::", "runOnInstruction", "(", "Block", "&", "MBB", ",", "BlockIt", "MBBI", ")", "{", "MachineInstr", "&", "MI", "=", "*", "MBBI", ";", "int", "Opcode", "=", "MBBI", "->", "getOpcode", "(", ")", ";", "case", "Op", ":", "\\", "return", "relax", "<", "Op", ">", "(", "MBB", ",", "MI", ")", "switch", "(", "Opcode", ")", "{", "RELAX", "(", "", ")", ";", "}", "return", "false", ";"], "ground_truth": ["}"], "File": "AVRRelaxMemOperations2", "Func": "runOnInstruction", "Target": "AVR", "Target_Clf": "MPU", "Compiler_Type": "LLVM", "Idx": 113332, "Length": 58, "Cover_Rate": 0.9666666666666667} {"Template_token": ["", "RelaxMem", "(", ")", ":", "MachineFunctionPass", "(", "ID", ")", "{"], "ground_truth": ["initializeRelaxMemPass", "(", "*", "PassRegistry", "::", "getPassRegistry", "(", ")", ")", ";"], "File": "AVRRelaxMemOperations", "Func": "AVRRelaxMem", "Target": "AVR", "Target_Clf": "MPU", "Compiler_Type": "LLVM", "Idx": 113333, "Length": 19, "Cover_Rate": 0.95} {"Template_token": ["", "return", "new", "RelaxMem", "(", ")", ";"], "ground_truth": ["}"], "File": "AVRRelaxMemOperations", "Func": "createAVRRelaxMemPass", "Target": "AVR", "Target_Clf": "MPU", "Compiler_Type": "LLVM", "Idx": 113335, "Length": 7, "Cover_Rate": 0.5384615384615384} {"Template_token": ["", "FunctionPass", "*", "createRelaxMemPass", "(", ")", "{", "return", "new", "RelaxMem", "(", ")", ";"], "ground_truth": ["}"], "File": "AVRRelaxMemOperations", "Func": "createAVRRelaxMemPass", "Target": "AVR", "Target_Clf": "MPU", "Compiler_Type": "LLVM", "Idx": 113336, "Length": 13, "Cover_Rate": 1.0} {"Template_token": ["", "StringRef", "getPassName", "(", ")", "const", "override", "{"], "ground_truth": ["return", "_RELAX_MEM_OPS_NAME", ";"], "File": "AVRRelaxMemOperations", "Func": "getPassName", "Target": "AVR", "Target_Clf": "MPU", "Compiler_Type": "LLVM", "Idx": 113337, "Length": 10, "Cover_Rate": 0.9090909090909091} {"Template_token": ["", "StringRef", "getPassName", "(", ")", "const", "override", "{", "return", "_RELAX_MEM_OPS_NAME", ";"], "ground_truth": ["}"], "File": "AVRRelaxMemOperations", "Func": "getPassName", "Target": "AVR", "Target_Clf": "MPU", "Compiler_Type": "LLVM", "Idx": 113338, "Length": 11, "Cover_Rate": 1.0} {"Template_token": ["", "bool", "RelaxMem", "::", "runOnBasicBlock", "(", "Block", "&", "MBB", ")", "{", "bool", "Modified", "=", "false", ";", "BlockIt", "MBBI", "=", "MBB", ".", "begin", "(", ")", ",", "E", "=", "MBB", ".", "end", "(", ")", ";", "while", "(", "MBBI", "!=", "E", ")", "{", "BlockIt", "NMBBI", "=", "std", "::", "next", "(", "MBBI", ")", ";", "Modified", "|=", "runOnInstruction", "(", "MBB", ",", "MBBI", ")", ";"], "ground_truth": ["MBBI", "=", "NMBBI", ";"], "File": "AVRRelaxMemOperations", "Func": "runOnBasicBlock", "Target": "AVR", "Target_Clf": "MPU", "Compiler_Type": "LLVM", "Idx": 113339, "Length": 62, "Cover_Rate": 0.9253731343283582} {"Template_token": ["", "MachineInstr", "&", "MI", "=", "*", "MBBI", ";", "int", "Opcode", "=", "MBBI", "->", "getOpcode", "(", ")", ";", "case", "Op", ":", "\\", "return", "relax", "<", "Op", ">", "(", "MBB", ",", "MI", ")", "switch", "(", "Opcode", ")", "{", "RELAX", "(", "", ")", ";", "}"], "ground_truth": ["return", "false", ";"], "File": "AVRRelaxMemOperations", "Func": "runOnInstruction", "Target": "AVR", "Target_Clf": "MPU", "Compiler_Type": "LLVM", "Idx": 113340, "Length": 44, "Cover_Rate": 0.7333333333333333} {"Template_token": ["", "bool", "RelaxMem", "::", "runOnMachineFunction", "(", "MachineFunction", "&", "MF", ")", "{", "bool", "Modified", "=", "false", ";", "const", "Subtarget", "&", "STI", "=", "MF", ".", "getSubtarget", "<", "Subtarget", ">", "(", ")", ";"], "ground_truth": ["TII", "=", "STI", ".", "getInstrInfo", "(", ")", ";"], "File": "AVRRelaxMemOperations", "Func": "runOnMachineFunction", "Target": "AVR", "Target_Clf": "MPU", "Compiler_Type": "LLVM", "Idx": 113341, "Length": 37, "Cover_Rate": 0.5873015873015873} {"Template_token": ["", "ShiftExpand", "(", ")", ":", "FunctionPass", "(", "ID", ")", "{"], "ground_truth": ["}"], "File": "AVRShiftExpand", "Func": "AVRShiftExpand", "Target": "AVR", "Target_Clf": "MPU", "Compiler_Type": "LLVM", "Idx": 113342, "Length": 10, "Cover_Rate": 1.0} {"Template_token": ["", "ShiftExpand", "(", ")", ":", "FunctionPass", "(", "ID", ")", "{"], "ground_truth": ["}"], "File": "AVRShiftExpand", "Func": "AVRShiftExpand", "Target": "AVR", "Target_Clf": "MPU", "Compiler_Type": "LLVM", "Idx": 113343, "Length": 10, "Cover_Rate": 1.0} {"Template_token": ["", "return", "new", "ShiftExpand", "(", ")", ";"], "ground_truth": ["}"], "File": "AVRShiftExpand", "Func": "createAVRShiftExpandPass", "Target": "AVR", "Target_Clf": "MPU", "Compiler_Type": "LLVM", "Idx": 113345, "Length": 7, "Cover_Rate": 0.4666666666666667} {"Template_token": ["", "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", ":", "ValueShifted", "=", "Builder", ".", "CreateAShr", "(", "ValuePHI", ",", "ConstantInt", "::", "get", "(", "Int32Ty", ",", "", ")", ")", ";", "break", ";", "default", ":", "llvm_unreachable", "(", "", ")", ";", "}", "ValuePHI", "->", "addIncoming", "(", "ValueShifted", ",", "LoopBB", ")", ";", "Value", "*", "Cmp2", "=", "Builder", ".", "CreateICmpEQ", "(", "ShiftAmountSub", ",", "Int8Zero", ")", ";", "Builder", ".", "CreateCondBr", "(", "Cmp2", ",", "EndBB", ",", "LoopBB", ")", ";", "Builder", ".", "SetInsertPoint", "(", "BI", ")", ";", "PHINode", "*", "Result", "=", "Builder", ".", "CreatePHI", "(", "Int32Ty", ",", "", ")", ";"], "ground_truth": ["Result", "->", "addIncoming", "(", "BI", "->", "getOperand", "(", "", ")", ",", "BB", ")", ";"], "File": "AVRShiftExpand", "Func": "expand", "Target": "AVR", "Target_Clf": "MPU", "Compiler_Type": "LLVM", "Idx": 113346, "Length": 150, "Cover_Rate": 0.33482142857142855} {"Template_token": ["", "return", "", ";"], "ground_truth": ["}"], "File": "AVRShiftExpand", "Func": "getPassName", "Target": "AVR", "Target_Clf": "MPU", "Compiler_Type": "LLVM", "Idx": 113347, "Length": 4, "Cover_Rate": 0.36363636363636365} {"Template_token": ["", "auto", "&", "Ctx", "=", "F", ".", "getContext", "(", ")", ";", "for", "(", "Instruction", "&", "I", ":", "instructions", "(", "F", ")", ")", "{", "if", "(", "!", "I", ".", "isShift", "(", ")", ")", "continue", ";", "if", "(", "I", ".", "getType", "(", ")", "!=", "Type", "::", "getInt32Ty", "(", "Ctx", ")", ")", "continue", ";", "if", "(", "isa", "<", "ConstantInt", ">", "(", "I", ".", "getOperand", "(", "", ")", ")", ")", "continue", ";", "ShiftInsts", ".", "push_back", "(", "cast", "<", "BinaryOperator", ">", "(", "&", "I", ")", ")", ";", "}", "for", "(", "auto", "*", "I", ":", "ShiftInsts", ")", "{", "expand", "(", "I", ")", ";", "}", "return", "ShiftInsts", ".", "size", "(", ")", ">", "", ";"], "ground_truth": ["}"], "File": "AVRShiftExpand", "Func": "runOnFunction", "Target": "AVR", "Target_Clf": "MPU", "Compiler_Type": "LLVM", "Idx": 113348, "Length": 107, "Cover_Rate": 0.8492063492063492} {"Template_token": ["", "if", "(", "!", "I", ".", "isShift", "(", ")", ")", "continue", ";", "if", "(", "I", ".", "getType", "(", ")", "!=", "Type", "::", "getInt32Ty", "(", "Ctx", ")", ")", "continue", ";", "if", "(", "isa", "<", "ConstantInt", ">", "(", "I", ".", "getOperand", "(", "", ")", ")", ")", "continue", ";", "ShiftInsts", ".", "push_back", "(", "cast", "<", "BinaryOperator", ">", "(", "&", "I", ")", ")", ";", "}", "for", "(", "auto", "*", "I", ":", "ShiftInsts", ")", "{", "expand", "(", "I", ")", ";", "}"], "ground_truth": ["return", "ShiftInsts", ".", "size", "(", ")", ">", "", ";"], "File": "AVRShiftExpand", "Func": "runOnFunction", "Target": "AVR", "Target_Clf": "MPU", "Compiler_Type": "LLVM", "Idx": 113349, "Length": 84, "Cover_Rate": 0.6666666666666666} {"Template_token": ["", "Subtarget", "::", "Subtarget", "(", "const", "Triple", "&", "TT", ",", "const", "std", "::", "string", "&", "CPU", ",", "const", "std", "::", "string", "&", "FS", ",", "const", "TargetMachine", "&", "TM", ")", ":", "GenSubtargetInfo", "(", "TT", ",", "CPU", ",", "FS", ")", ",", "InstrInfo", "(", ")", ",", "FrameLowering", "(", ")", ",", "TLInfo", "(", "TM", ",", "initializeSubtargetDependencies", "(", "CPU", ",", "FS", ",", "TM", ")", ")", ",", "TSInfo", "(", ")", ",", "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", ")", ",", "ELFArch", "(", "false", ")", ",", "m_FeatureSetDummy", "(", "false", ")", "{"], "ground_truth": ["ParseSubtargetFeatures", "(", "CPU", ",", "FS", ")", ";"], "File": "AVRSubtarget (2)", "Func": "AVRSubtarget", "Target": "AVR", "Target_Clf": "MPU", "Compiler_Type": "LLVM", "Idx": 113350, "Length": 171, "Cover_Rate": 0.9941860465116279} {"Template_token": ["", "ParseSubtargetFeatures", "(", "CPU", ",", "FS", ")", ";", "return", "*", "this", ";"], "ground_truth": ["}"], "File": "AVRSubtarget (2)", "Func": "initializeSubtargetDependencies", "Target": "AVR", "Target_Clf": "MPU", "Compiler_Type": "LLVM", "Idx": 113351, "Length": 12, "Cover_Rate": 0.4} {"Template_token": ["", "ParseSubtargetFeatures", "(", "CPU", ",", "FS", ")", ";", "return", "*", "this", ";"], "ground_truth": ["}"], "File": "AVRSubtarget (2)", "Func": "initializeSubtargetDependencies", "Target": "AVR", "Target_Clf": "MPU", "Compiler_Type": "LLVM", "Idx": 113352, "Length": 12, "Cover_Rate": 0.4} {"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", ")", ",", "TLInfo", "(", "TM", ",", "initializeSubtargetDependencies", "(", "CPU", ",", "FS", ",", "TM", ")", ")", "{"], "ground_truth": ["ParseSubtargetFeatures", "(", "CPU", ",", "CPU", ",", "FS", ")", ";"], "File": "AVRSubtarget10", "Func": "AVRSubtarget", "Target": "AVR", "Target_Clf": "MPU", "Compiler_Type": "LLVM", "Idx": 113353, "Length": 168, "Cover_Rate": 0.9940828402366864} {"Template_token": ["", "int", "getIORegEIND", "(", "void", ")", "const", "{", "return", "hasEIJMPCALL", "(", ")", "?", "", ":", "-", "", ";"], "ground_truth": ["}"], "File": "AVRSubtarget11", "Func": "getIORegEIND", "Target": "AVR", "Target_Clf": "MPU", "Compiler_Type": "LLVM", "Idx": 113356, "Length": 18, "Cover_Rate": 1.0} {"Template_token": ["", "int", "getIORegSPH", "(", "void", ")", "const", "{"], "ground_truth": ["return", "hasSmallStack", "(", ")", "?", "-", "", ":", "", ";"], "File": "AVRSubtarget11", "Func": "getIORegSPH", "Target": "AVR", "Target_Clf": "MPU", "Compiler_Type": "LLVM", "Idx": 113359, "Length": 17, "Cover_Rate": 0.9444444444444444} {"Template_token": ["", "return", "hasSmallStack", "(", ")", "?", "-", "", ":", "", ";"], "ground_truth": ["}"], "File": "AVRSubtarget11", "Func": "getIORegSPH", "Target": "AVR", "Target_Clf": "MPU", "Compiler_Type": "LLVM", "Idx": 113360, "Length": 11, "Cover_Rate": 0.6111111111111112} {"Template_token": ["", "return", "", ";"], "ground_truth": ["}"], "File": "AVRSubtarget11", "Func": "getIORegSPL", "Target": "AVR", "Target_Clf": "MPU", "Compiler_Type": "LLVM", "Idx": 113361, "Length": 4, "Cover_Rate": 0.36363636363636365} {"Template_token": ["", "int", "getIORegSPL", "(", "void", ")", "const", "{"], "ground_truth": ["return", "", ";"], "File": "AVRSubtarget11", "Func": "getIORegSPL", "Target": "AVR", "Target_Clf": "MPU", "Compiler_Type": "LLVM", "Idx": 113362, "Length": 10, "Cover_Rate": 0.9090909090909091} {"Template_token": ["", "return", "", ";"], "ground_truth": ["}"], "File": "AVRSubtarget11", "Func": "getIORegSREG", "Target": "AVR", "Target_Clf": "MPU", "Compiler_Type": "LLVM", "Idx": 113363, "Length": 4, "Cover_Rate": 0.36363636363636365} {"Template_token": ["", "return", "hasTinyEncoding", "(", ")", "?", "", ":", "", ";"], "ground_truth": ["}"], "File": "AVRSubtarget11", "Func": "getRegTmpIndex", "Target": "AVR", "Target_Clf": "MPU", "Compiler_Type": "LLVM", "Idx": 113365, "Length": 10, "Cover_Rate": 0.5882352941176471} {"Template_token": ["", "return", "hasTinyEncoding", "(", ")", "?", "", ":", "", ";"], "ground_truth": ["}"], "File": "AVRSubtarget11", "Func": "getRegZeroIndex", "Target": "AVR", "Target_Clf": "MPU", "Compiler_Type": "LLVM", "Idx": 113366, "Length": 10, "Cover_Rate": 0.5882352941176471} {"Template_token": ["", "Subtarget", "::", "Subtarget", "(", "const", "Triple", "&", "TT", ",", "const", "std", "::", "string", "&", "CPU", ",", "const", "std", "::", "string", "&", "FS", ",", "const", "TargetMachine", "&", "TM", ")", ":", "GenSubtargetInfo", "(", "TT", ",", "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", "(", ")", "{", "ParseSubtargetFeatures", "(", "CPU", ",", "FS", ")", ";"], "ground_truth": ["}"], "File": "AVRSubtarget2", "Func": "AVRSubtarget", "Target": "AVR", "Target_Clf": "MPU", "Compiler_Type": "LLVM", "Idx": 113368, "Length": 177, "Cover_Rate": 1.0} {"Template_token": ["", "int", "getIORegRAMPZ", "(", "void", ")", "const", "{"], "ground_truth": ["return", "", ";"], "File": "AVRSubtarget5", "Func": "getIORegRAMPZ", "Target": "AVR", "Target_Clf": "MPU", "Compiler_Type": "LLVM", "Idx": 113369, "Length": 10, "Cover_Rate": 0.9090909090909091} {"Template_token": ["", "int", "getIORegRAMPZ", "(", "void", ")", "const", "{"], "ground_truth": ["return", "", ";"], "File": "AVRSubtarget5", "Func": "getIORegRAMPZ", "Target": "AVR", "Target_Clf": "MPU", "Compiler_Type": "LLVM", "Idx": 113370, "Length": 10, "Cover_Rate": 0.9090909090909091} {"Template_token": ["", "Subtarget", "::", "Subtarget", "(", "const", "Triple", "&", "TT", ",", "const", "std", "::", "string", "&", "CPU", ",", "const", "std", "::", "string", "&", "FS", ",", "TargetMachine", "&", "TM", ")", ":", "GenSubtargetInfo", "(", "TT", ",", "CPU", ",", "FS", ")", ",", "InstrInfo", "(", ")", ",", "FrameLowering", "(", ")", ",", "TLInfo", "(", "TM", ")", ",", "TSInfo", "(", ")", ",", "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", ")", ",", "ELFArch", "(", "false", ")", ",", "m_FeatureSetDummy", "(", "false", ")", "{", "ParseSubtargetFeatures", "(", "CPU", ",", "FS", ")", ";"], "ground_truth": ["}"], "File": "AVRSubtarget6", "Func": "AVRSubtarget", "Target": "AVR", "Target_Clf": "MPU", "Compiler_Type": "LLVM", "Idx": 113371, "Length": 162, "Cover_Rate": 1.0} {"Template_token": ["", "Subtarget", "::", "Subtarget", "(", "const", "Triple", "&", "TT", ",", "const", "std", "::", "string", "&", "CPU", ",", "const", "std", "::", "string", "&", "FS", ",", "const", "TargetMachine", "&", "TM", ")", ":", "GenSubtargetInfo", "(", "TT", ",", "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_FeatureSetDummy", "(", "false", ")", ",", "InstrInfo", "(", ")", ",", "FrameLowering", "(", ")", ",", "TLInfo", "(", "TM", ",", "initializeSubtargetDependencies", "(", "CPU", ",", "FS", ",", "TM", ")", ")", ",", "TSInfo", "(", ")", "{", "ParseSubtargetFeatures", "(", "CPU", ",", "FS", ")", ";"], "ground_truth": ["}"], "File": "AVRSubtarget8", "Func": "AVRSubtarget", "Target": "AVR", "Target_Clf": "MPU", "Compiler_Type": "LLVM", "Idx": 113372, "Length": 172, "Cover_Rate": 1.0} {"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": "AVRSubtarget", "Func": "AVRSubtarget", "Target": "AVR", "Target_Clf": "MPU", "Compiler_Type": "LLVM", "Idx": 113373, "Length": 180, "Cover_Rate": 0.994475138121547} {"Template_token": ["", "const", "TargetFrameLowering", "*", "getFrameLowering", "(", ")", "const", "override", "{"], "ground_truth": ["return", "&", "FrameLowering", ";"], "File": "AVRSubtarget", "Func": "getFrameLowering", "Target": "AVR", "Target_Clf": "MPU", "Compiler_Type": "LLVM", "Idx": 113375, "Length": 13, "Cover_Rate": 0.9285714285714286} {"Template_token": ["", "return", "&", "FrameLowering", ";"], "ground_truth": ["}"], "File": "AVRSubtarget", "Func": "getFrameLowering", "Target": "AVR", "Target_Clf": "MPU", "Compiler_Type": "LLVM", "Idx": 113376, "Length": 5, "Cover_Rate": 0.35714285714285715} {"Template_token": ["", "return", "&", "InstrInfo", ";"], "ground_truth": ["}"], "File": "AVRSubtarget", "Func": "getInstrInfo", "Target": "AVR", "Target_Clf": "MPU", "Compiler_Type": "LLVM", "Idx": 113377, "Length": 5, "Cover_Rate": 0.35714285714285715} {"Template_token": ["", "return", "hasMemMappedGPR", "(", ")", "?", "", ":", "", ";"], "ground_truth": ["}"], "File": "AVRSubtarget", "Func": "getIORegisterOffset", "Target": "AVR", "Target_Clf": "MPU", "Compiler_Type": "LLVM", "Idx": 113378, "Length": 10, "Cover_Rate": 0.625} {"Template_token": ["", "const", "RegisterInfo", "*", "getRegisterInfo", "(", ")", "const", "override", "{", "return", "&", "InstrInfo", ".", "getRegisterInfo", "(", ")", ";"], "ground_truth": ["}"], "File": "AVRSubtarget", "Func": "getRegisterInfo", "Target": "AVR", "Target_Clf": "MPU", "Compiler_Type": "LLVM", "Idx": 113381, "Length": 18, "Cover_Rate": 1.0} {"Template_token": ["", "const", "SelectionDAGInfo", "*", "getSelectionDAGInfo", "(", ")", "const", "override", "{"], "ground_truth": ["return", "&", "TSInfo", ";"], "File": "AVRSubtarget", "Func": "getSelectionDAGInfo", "Target": "AVR", "Target_Clf": "MPU", "Compiler_Type": "LLVM", "Idx": 113382, "Length": 13, "Cover_Rate": 0.9285714285714286} {"Template_token": ["", "return", "&", "TSInfo", ";"], "ground_truth": ["}"], "File": "AVRSubtarget", "Func": "getSelectionDAGInfo", "Target": "AVR", "Target_Clf": "MPU", "Compiler_Type": "LLVM", "Idx": 113383, "Length": 5, "Cover_Rate": 0.35714285714285715} {"Template_token": ["", "return", "&", "TLInfo", ";"], "ground_truth": ["}"], "File": "AVRSubtarget", "Func": "getTargetLowering", "Target": "AVR", "Target_Clf": "MPU", "Compiler_Type": "LLVM", "Idx": 113384, "Length": 5, "Cover_Rate": 0.35714285714285715} {"Template_token": ["", "return", "&", "TLInfo", ";"], "ground_truth": ["}"], "File": "AVRSubtarget", "Func": "getTargetLowering", "Target": "AVR", "Target_Clf": "MPU", "Compiler_Type": "LLVM", "Idx": 113385, "Length": 5, "Cover_Rate": 0.35714285714285715} {"Template_token": ["", "return", "m_hasBREAK", ";"], "ground_truth": ["}"], "File": "AVRSubtarget", "Func": "hasBREAK", "Target": "AVR", "Target_Clf": "MPU", "Compiler_Type": "LLVM", "Idx": 113387, "Length": 4, "Cover_Rate": 0.4} {"Template_token": ["", "bool", "hasDES", "(", ")", "const", "{", "return", "m_hasDES", ";"], "ground_truth": ["}"], "File": "AVRSubtarget", "Func": "hasDES", "Target": "AVR", "Target_Clf": "MPU", "Compiler_Type": "LLVM", "Idx": 113388, "Length": 10, "Cover_Rate": 1.0} {"Template_token": ["", "bool", "hasEIJMPCALL", "(", ")", "const", "{", "return", "m_hasEIJMPCALL", ";"], "ground_truth": ["}"], "File": "AVRSubtarget", "Func": "hasEIJMPCALL", "Target": "AVR", "Target_Clf": "MPU", "Compiler_Type": "LLVM", "Idx": 113389, "Length": 10, "Cover_Rate": 1.0} {"Template_token": ["", "return", "m_hasEIJMPCALL", ";"], "ground_truth": ["}"], "File": "AVRSubtarget", "Func": "hasEIJMPCALL", "Target": "AVR", "Target_Clf": "MPU", "Compiler_Type": "LLVM", "Idx": 113390, "Length": 4, "Cover_Rate": 0.4} {"Template_token": ["", "return", "m_hasELPM", ";"], "ground_truth": ["}"], "File": "AVRSubtarget", "Func": "hasELPM", "Target": "AVR", "Target_Clf": "MPU", "Compiler_Type": "LLVM", "Idx": 113391, "Length": 4, "Cover_Rate": 0.4} {"Template_token": ["", "return", "m_hasELPMX", ";"], "ground_truth": ["}"], "File": "AVRSubtarget", "Func": "hasELPMX", "Target": "AVR", "Target_Clf": "MPU", "Compiler_Type": "LLVM", "Idx": 113392, "Length": 4, "Cover_Rate": 0.4} {"Template_token": ["", "return", "m_hasELPMX", ";"], "ground_truth": ["}"], "File": "AVRSubtarget", "Func": "hasELPMX", "Target": "AVR", "Target_Clf": "MPU", "Compiler_Type": "LLVM", "Idx": 113393, "Length": 4, "Cover_Rate": 0.4} {"Template_token": ["", "return", "m_hasIJMPCALL", ";"], "ground_truth": ["}"], "File": "AVRSubtarget", "Func": "hasIJMPCALL", "Target": "AVR", "Target_Clf": "MPU", "Compiler_Type": "LLVM", "Idx": 113394, "Length": 4, "Cover_Rate": 0.4} {"Template_token": ["", "bool", "hasIJMPCALL", "(", ")", "const", "{", "return", "m_hasIJMPCALL", ";"], "ground_truth": ["}"], "File": "AVRSubtarget", "Func": "hasIJMPCALL", "Target": "AVR", "Target_Clf": "MPU", "Compiler_Type": "LLVM", "Idx": 113395, "Length": 10, "Cover_Rate": 1.0} {"Template_token": ["", "bool", "hasJMPCALL", "(", ")", "const", "{"], "ground_truth": ["return", "m_hasJMPCALL", ";"], "File": "AVRSubtarget", "Func": "hasJMPCALL", "Target": "AVR", "Target_Clf": "MPU", "Compiler_Type": "LLVM", "Idx": 113396, "Length": 9, "Cover_Rate": 0.9} {"Template_token": ["", "bool", "hasJMPCALL", "(", ")", "const", "{", "return", "m_hasJMPCALL", ";"], "ground_truth": ["}"], "File": "AVRSubtarget", "Func": "hasJMPCALL", "Target": "AVR", "Target_Clf": "MPU", "Compiler_Type": "LLVM", "Idx": 113397, "Length": 10, "Cover_Rate": 1.0} {"Template_token": ["", "return", "m_hasLPM", ";"], "ground_truth": ["}"], "File": "AVRSubtarget", "Func": "hasLPM", "Target": "AVR", "Target_Clf": "MPU", "Compiler_Type": "LLVM", "Idx": 113398, "Length": 4, "Cover_Rate": 0.4} {"Template_token": ["", "bool", "hasLPMX", "(", ")", "const", "{"], "ground_truth": ["return", "m_hasLPMX", ";"], "File": "AVRSubtarget", "Func": "hasLPMX", "Target": "AVR", "Target_Clf": "MPU", "Compiler_Type": "LLVM", "Idx": 113399, "Length": 9, "Cover_Rate": 0.9} {"Template_token": ["", "bool", "hasMemMappedGPR", "(", ")", "const", "{", "return", "m_hasMemMappedGPR", ";"], "ground_truth": ["}"], "File": "AVRSubtarget", "Func": "hasMemMappedGPR", "Target": "AVR", "Target_Clf": "MPU", "Compiler_Type": "LLVM", "Idx": 113401, "Length": 10, "Cover_Rate": 1.0} {"Template_token": ["", "bool", "hasMemMappedGPR", "(", ")", "const", "{", "return", "m_hasMemMappedGPR", ";"], "ground_truth": ["}"], "File": "AVRSubtarget", "Func": "hasMemMappedGPR", "Target": "AVR", "Target_Clf": "MPU", "Compiler_Type": "LLVM", "Idx": 113402, "Length": 10, "Cover_Rate": 1.0} {"Template_token": ["", "bool", "hasMOVW", "(", ")", "const", "{"], "ground_truth": ["return", "m_hasMOVW", ";"], "File": "AVRSubtarget", "Func": "hasMOVW", "Target": "AVR", "Target_Clf": "MPU", "Compiler_Type": "LLVM", "Idx": 113403, "Length": 9, "Cover_Rate": 0.9} {"Template_token": ["", "return", "m_hasSmallStack", ";"], "ground_truth": ["}"], "File": "AVRSubtarget", "Func": "hasSmallStack", "Target": "AVR", "Target_Clf": "MPU", "Compiler_Type": "LLVM", "Idx": 113404, "Length": 4, "Cover_Rate": 0.4} {"Template_token": ["", "bool", "hasSmallStack", "(", ")", "const", "{", "return", "m_hasSmallStack", ";"], "ground_truth": ["}"], "File": "AVRSubtarget", "Func": "hasSmallStack", "Target": "AVR", "Target_Clf": "MPU", "Compiler_Type": "LLVM", "Idx": 113405, "Length": 10, "Cover_Rate": 1.0} {"Template_token": ["", "bool", "hasSPM", "(", ")", "const", "{", "return", "m_hasSPM", ";"], "ground_truth": ["}"], "File": "AVRSubtarget", "Func": "hasSPM", "Target": "AVR", "Target_Clf": "MPU", "Compiler_Type": "LLVM", "Idx": 113406, "Length": 10, "Cover_Rate": 1.0} {"Template_token": ["", "bool", "hasSPM", "(", ")", "const", "{"], "ground_truth": ["return", "m_hasSPM", ";"], "File": "AVRSubtarget", "Func": "hasSPM", "Target": "AVR", "Target_Clf": "MPU", "Compiler_Type": "LLVM", "Idx": 113407, "Length": 9, "Cover_Rate": 0.9} {"Template_token": ["", "return", "m_hasSPMX", ";"], "ground_truth": ["}"], "File": "AVRSubtarget", "Func": "hasSPMX", "Target": "AVR", "Target_Clf": "MPU", "Compiler_Type": "LLVM", "Idx": 113408, "Length": 4, "Cover_Rate": 0.4} {"Template_token": ["", "return", "m_hasSPMX", ";"], "ground_truth": ["}"], "File": "AVRSubtarget", "Func": "hasSPMX", "Target": "AVR", "Target_Clf": "MPU", "Compiler_Type": "LLVM", "Idx": 113409, "Length": 4, "Cover_Rate": 0.4} {"Template_token": ["", "bool", "hasSRAM", "(", ")", "const", "{", "return", "m_hasSRAM", ";"], "ground_truth": ["}"], "File": "AVRSubtarget", "Func": "hasSRAM", "Target": "AVR", "Target_Clf": "MPU", "Compiler_Type": "LLVM", "Idx": 113410, "Length": 10, "Cover_Rate": 1.0} {"Template_token": ["", "bool", "hasSRAM", "(", ")", "const", "{"], "ground_truth": ["return", "m_hasSRAM", ";"], "File": "AVRSubtarget", "Func": "hasSRAM", "Target": "AVR", "Target_Clf": "MPU", "Compiler_Type": "LLVM", "Idx": 113411, "Length": 9, "Cover_Rate": 0.9} {"Template_token": ["", "ParseSubtargetFeatures", "(", "CPU", ",", "CPU", ",", "FS", ")", ";", "return", "*", "this", ";"], "ground_truth": ["}"], "File": "AVRSubtarget", "Func": "initializeSubtargetDependencies", "Target": "AVR", "Target_Clf": "MPU", "Compiler_Type": "LLVM", "Idx": 113414, "Length": 14, "Cover_Rate": 0.4375} {"Template_token": ["", "bool", "supportsMultiplication", "(", ")", "const", "{"], "ground_truth": ["return", "m_supportsMultiplication", ";"], "File": "AVRSubtarget", "Func": "supportsMultiplication", "Target": "AVR", "Target_Clf": "MPU", "Compiler_Type": "LLVM", "Idx": 113415, "Length": 9, "Cover_Rate": 0.9} {"Template_token": ["", "bool", "supportsRMW", "(", ")", "const", "{"], "ground_truth": ["return", "m_supportsRMW", ";"], "File": "AVRSubtarget", "Func": "supportsRMW", "Target": "AVR", "Target_Clf": "MPU", "Compiler_Type": "LLVM", "Idx": 113417, "Length": 9, "Cover_Rate": 0.9} {"Template_token": ["", "return", "m_supportsRMW", ";"], "ground_truth": ["}"], "File": "AVRSubtarget", "Func": "supportsRMW", "Target": "AVR", "Target_Clf": "MPU", "Compiler_Type": "LLVM", "Idx": 113418, "Length": 4, "Cover_Rate": 0.4} {"Template_token": ["", "void", "LLVMInitializeTargetInfo", "(", ")", "{", "llvm", "::", "RegisterTarget", "<", "llvm", "::", "Triple", "::", "avr", ">", "X", "(", "llvm", "::", "TheTarget", ",", "", ",", "", ")", ";"], "ground_truth": ["}"], "File": "AVRTargetInfo1", "Func": "LLVMInitializeAVRTargetInfo", "Target": "AVR", "Target_Clf": "MPU", "Compiler_Type": "LLVM", "Idx": 113421, "Length": 27, "Cover_Rate": 1.0} {"Template_token": ["", "void", "LLVMInitializeTargetInfo", "(", ")", "{", "llvm", "::", "RegisterTarget", "<", "llvm", "::", "Triple", "::", "avr", ">", "X", "(", "llvm", "::", "TheTarget", ",", "", ",", "", ")", ";"], "ground_truth": ["}"], "File": "AVRTargetInfo1", "Func": "LLVMInitializeAVRTargetInfo", "Target": "AVR", "Target_Clf": "MPU", "Compiler_Type": "LLVM", "Idx": 113422, "Length": 27, "Cover_Rate": 1.0} {"Template_token": ["", "void", "LLVMInitializeTargetMC", "(", ")", "{"], "ground_truth": ["}"], "File": "AVRTargetInfo1", "Func": "LLVMInitializeAVRTargetMC", "Target": "AVR", "Target_Clf": "MPU", "Compiler_Type": "LLVM", "Idx": 113423, "Length": 6, "Cover_Rate": 1.0} {"Template_token": ["", "void", "LLVMInitializeTargetMC", "(", ")", "{"], "ground_truth": ["}"], "File": "AVRTargetInfo1", "Func": "LLVMInitializeAVRTargetMC", "Target": "AVR", "Target_Clf": "MPU", "Compiler_Type": "LLVM", "Idx": 113424, "Length": 6, "Cover_Rate": 1.0} {"Template_token": ["", "void", "LLVMInitializeTargetInfo", "(", ")", "{"], "ground_truth": ["llvm", "::", "RegisterTarget", "<", "llvm", "::", "Triple", "::", "avr", ">", "X", "(", "llvm", "::", "getTheTarget", "(", ")", ",", "", ",", "", ",", "", ")", ";"], "File": "AVRTargetInfo", "Func": "LLVMInitializeAVRTargetInfo", "Target": "AVR", "Target_Clf": "MPU", "Compiler_Type": "LLVM", "Idx": 113427, "Length": 30, "Cover_Rate": 0.967741935483871} {"Template_token": ["", "llvm", "::", "RegisterTarget", "<", "llvm", "::", "Triple", "::", "avr", ">", "X", "(", "llvm", "::", "getTheTarget", "(", ")", ",", "", ",", "", ",", "", ")", ";"], "ground_truth": ["}"], "File": "AVRTargetInfo", "Func": "LLVMInitializeAVRTargetInfo", "Target": "AVR", "Target_Clf": "MPU", "Compiler_Type": "LLVM", "Idx": 113428, "Length": 26, "Cover_Rate": 0.8387096774193549} {"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", ")", "{"], "ground_truth": ["this", "->", "TLOF", "=", "std", "::", "make_unique", "<", "TargetObjectFile", ">", "(", ")", ";"], "File": "AVRTargetMachine10", "Func": "AVRTargetMachine", "Target": "AVR", "Target_Clf": "MPU", "Compiler_Type": "LLVM", "Idx": 113429, "Length": 122, "Cover_Rate": 0.9606299212598425} {"Template_token": ["", "static", "Reloc", "::", "Model", "getEffectiveRelocModel", "(", "Optional", "<", "Reloc", "::", "Model", ">", "RM", ")", "{"], "ground_truth": ["return", "RM", ".", "getValueOr", "(", "Reloc", "::", "Static", ")", ";"], "File": "AVRTargetMachine10", "Func": "getEffectiveRelocModel", "Target": "AVR", "Target_Clf": "MPU", "Compiler_Type": "LLVM", "Idx": 113430, "Length": 25, "Cover_Rate": 0.9615384615384616} {"Template_token": ["", "static", "Reloc", "::", "Model", "getEffectiveRelocModel", "(", "Optional", "<", "Reloc", "::", "Model", ">", "RM", ")", "{", "return", "RM", ".", "getValueOr", "(", "Reloc", "::", "Static", ")", ";"], "ground_truth": ["}"], "File": "AVRTargetMachine10", "Func": "getEffectiveRelocModel", "Target": "AVR", "Target_Clf": "MPU", "Compiler_Type": "LLVM", "Idx": 113431, "Length": 26, "Cover_Rate": 1.0} {"Template_token": ["", "auto", "&", "PR", "=", "*", "PassRegistry", "::", "getPassRegistry", "(", ")", ";", "initializeExpandPseudoPass", "(", "PR", ")", ";"], "ground_truth": ["initializeRelaxMemPass", "(", "PR", ")", ";"], "File": "AVRTargetMachine10", "Func": "LLVMInitializeAVRTarget", "Target": "AVR", "Target_Clf": "MPU", "Compiler_Type": "LLVM", "Idx": 113432, "Length": 21, "Cover_Rate": 0.5384615384615384} {"Template_token": ["", "addPass", "(", "createShiftExpandPass", "(", ")", ")", ";", "TargetPassConfig", "::", "addIRPasses", "(", ")", ";"], "ground_truth": ["}"], "File": "AVRTargetMachine12", "Func": "addIRPasses", "Target": "AVR", "Target_Clf": "MPU", "Compiler_Type": "LLVM", "Idx": 113433, "Length": 14, "Cover_Rate": 0.6666666666666666} {"Template_token": ["", "TargetPassConfig", "::", "addIRPasses", "(", ")", ";"], "ground_truth": ["}"], "File": "AVRTargetMachine12", "Func": "addIRPasses", "Target": "AVR", "Target_Clf": "MPU", "Compiler_Type": "LLVM", "Idx": 113434, "Length": 7, "Cover_Rate": 0.3333333333333333} {"Template_token": ["", "void", "PassConfig", "::", "addPreSched2", "(", ")", "{", "addPass", "(", "createExpandPseudoPass", "(", ")", ")", ";"], "ground_truth": ["}"], "File": "AVRTargetMachine12", "Func": "addPreSched2", "Target": "AVR", "Target_Clf": "MPU", "Compiler_Type": "LLVM", "Idx": 113435, "Length": 15, "Cover_Rate": 1.0} {"Template_token": ["", "RegisterTargetMachine", "<", "TargetMachine", ">", "X", "(", "getTheTarget", "(", ")", ")", ";"], "ground_truth": ["auto", "&", "PR", "=", "*", "PassRegistry", "::", "getPassRegistry", "(", ")", ";"], "File": "AVRTargetMachine12", "Func": "LLVMInitializeAVRTarget", "Target": "AVR", "Target_Clf": "MPU", "Compiler_Type": "LLVM", "Idx": 113437, "Length": 22, "Cover_Rate": 0.5641025641025641} {"Template_token": ["", "RegisterTargetMachine", "<", "TargetMachine", ">", "X", "(", "getTheTarget", "(", ")", ")", ";", "auto", "&", "PR", "=", "*", "PassRegistry", "::", "getPassRegistry", "(", ")", ";", "initializeExpandPseudoPass", "(", "PR", ")", ";"], "ground_truth": ["initializeRelaxMemPass", "(", "PR", ")", ";"], "File": "AVRTargetMachine14", "Func": "LLVMInitializeAVRTarget", "Target": "AVR", "Target_Clf": "MPU", "Compiler_Type": "LLVM", "Idx": 113438, "Length": 32, "Cover_Rate": 0.7272727272727273} {"Template_token": ["", "TargetMachine", "::", "TargetMachine", "(", "const", "Target", "&", "T", ",", "const", "Triple", "&", "TT", ",", "StringRef", "CPU", ",", "StringRef", "FS", ",", "const", "TargetOptions", "&", "Options", ",", "Optional", "<", "Reloc", "::", "Model", ">", "RM", ",", "CodeModel", "::", "Model", "CM", ",", "CodeGenOpt", "::", "Level", "OL", ")", ":", "LLVMTargetMachine", "(", "T", ",", "DataLayout", ",", "TT", ",", "getCPU", "(", "CPU", ")", ",", "FS", ",", "Options", ",", "getEffectiveRelocModel", "(", "RM", ")", ",", "CM", ",", "OL", ")", ",", "SubTarget", "(", "TT", ",", "getCPU", "(", "CPU", ")", ",", "FS", ",", "*", "this", ")", "{", "this", "->", "TLOF", "=", "make_unique", "<", "TargetObjectFile", ">", "(", ")", ";", "initAsmInfo", "(", ")", ";"], "ground_truth": ["}"], "File": "AVRTargetMachine16", "Func": "AVRTargetMachine", "Target": "AVR", "Target_Clf": "MPU", "Compiler_Type": "LLVM", "Idx": 113439, "Length": 102, "Cover_Rate": 1.0} {"Template_token": ["", "RegisterTargetMachine", "<", "TargetMachine", ">", "X", "(", "getTheTarget", "(", ")", ")", ";", "auto", "&", "PR", "=", "*", "PassRegistry", "::", "getPassRegistry", "(", ")", ";", "initializeExpandPseudoPass", "(", "PR", ")", ";", "initializeInstrumentFunctionsPass", "(", "PR", ")", ";", "initializeRelaxMemPass", "(", "PR", ")", ";"], "ground_truth": ["}"], "File": "AVRTargetMachine16", "Func": "LLVMInitializeAVRTarget", "Target": "AVR", "Target_Clf": "MPU", "Compiler_Type": "LLVM", "Idx": 113440, "Length": 38, "Cover_Rate": 0.8837209302325582} {"Template_token": ["", "initializeExpandPseudoPass", "(", "PR", ")", ";", "initializeInstrumentFunctionsPass", "(", "PR", ")", ";"], "ground_truth": ["initializeRelaxMemPass", "(", "PR", ")", ";"], "File": "AVRTargetMachine16", "Func": "LLVMInitializeAVRTarget", "Target": "AVR", "Target_Clf": "MPU", "Compiler_Type": "LLVM", "Idx": 113441, "Length": 15, "Cover_Rate": 0.3488372093023256} {"Template_token": ["", "void", "PassConfig", "::", "addPreEmitPass", "(", ")", "{", "addPass", "(", "new", "TestMFP", "(", ")", ")", ";"], "ground_truth": ["}"], "File": "AVRTargetMachine17", "Func": "addPreEmitPass", "Target": "AVR", "Target_Clf": "MPU", "Compiler_Type": "LLVM", "Idx": 113442, "Length": 16, "Cover_Rate": 1.0} {"Template_token": ["", "void", "PassConfig", "::", "addPreEmitPass", "(", ")", "{", "addPass", "(", "new", "TestMFP", "(", ")", ")", ";"], "ground_truth": ["}"], "File": "AVRTargetMachine17", "Func": "addPreEmitPass", "Target": "AVR", "Target_Clf": "MPU", "Compiler_Type": "LLVM", "Idx": 113443, "Length": 16, "Cover_Rate": 1.0} {"Template_token": ["", "PassConfig", "(", "TargetMachine", "*", "TM", ",", "PassManagerBase", "&", "PM", ")", ":", "TargetPassConfig", "(", "TM", ",", "PM", ")", "{"], "ground_truth": ["}"], "File": "AVRTargetMachine17", "Func": "AVRPassConfig", "Target": "AVR", "Target_Clf": "MPU", "Compiler_Type": "LLVM", "Idx": 113444, "Length": 19, "Cover_Rate": 1.0} {"Template_token": ["", "PassConfig", "(", "TargetMachine", "*", "TM", ",", "PassManagerBase", "&", "PM", ")", ":", "TargetPassConfig", "(", "TM", ",", "PM", ")", "{"], "ground_truth": ["}"], "File": "AVRTargetMachine17", "Func": "AVRPassConfig", "Target": "AVR", "Target_Clf": "MPU", "Compiler_Type": "LLVM", "Idx": 113445, "Length": 19, "Cover_Rate": 1.0} {"Template_token": ["", "TargetPassConfig", "*", "TargetMachine", "::", "createPassConfig", "(", "PassManagerBase", "&", "PM", ")", "{"], "ground_truth": ["return", "new", "PassConfig", "(", "this", ",", "PM", ")", ";"], "File": "AVRTargetMachine17", "Func": "createPassConfig", "Target": "AVR", "Target_Clf": "MPU", "Compiler_Type": "LLVM", "Idx": 113446, "Length": 20, "Cover_Rate": 0.9523809523809523} {"Template_token": ["", "TargetPassConfig", "*", "TargetMachine", "::", "createPassConfig", "(", "PassManagerBase", "&", "PM", ")", "{"], "ground_truth": ["return", "new", "PassConfig", "(", "this", ",", "PM", ")", ";"], "File": "AVRTargetMachine17", "Func": "createPassConfig", "Target": "AVR", "Target_Clf": "MPU", "Compiler_Type": "LLVM", "Idx": 113447, "Length": 20, "Cover_Rate": 0.9523809523809523} {"Template_token": ["", "for", "(", "MachineInstr", "&", "mi", ":", "mbb", ")", "{", "dbgs", "(", ")", "<<", "", "<<", "TII", "->", "getName", "(", "mi", ".", "getOpcode", "(", ")", ")", "<<", "", ";"], "ground_truth": ["}"], "File": "AVRTargetMachine17", "Func": "runOnMachineFunction", "Target": "AVR", "Target_Clf": "MPU", "Compiler_Type": "LLVM", "Idx": 113448, "Length": 29, "Cover_Rate": 0.4142857142857143} {"Template_token": ["", "TestMFP", "(", ")", ":", "MachineFunctionPass", "(", "ID", ")", "{"], "ground_truth": ["}"], "File": "AVRTargetMachine17", "Func": "TestMFP", "Target": "AVR", "Target_Clf": "MPU", "Compiler_Type": "LLVM", "Idx": 113449, "Length": 10, "Cover_Rate": 1.0} {"Template_token": ["", "TestMFP", "(", ")", ":", "MachineFunctionPass", "(", "ID", ")", "{"], "ground_truth": ["}"], "File": "AVRTargetMachine17", "Func": "TestMFP", "Target": "AVR", "Target_Clf": "MPU", "Compiler_Type": "LLVM", "Idx": 113450, "Length": 10, "Cover_Rate": 1.0} {"Template_token": ["", "void", "LLVMInitializeTarget", "(", ")", "{"], "ground_truth": ["}"], "File": "AVRTargetMachine25", "Func": "LLVMInitializeAVRTarget", "Target": "AVR", "Target_Clf": "MPU", "Compiler_Type": "LLVM", "Idx": 113453, "Length": 6, "Cover_Rate": 1.0} {"Template_token": ["", "void", "LLVMInitializeTarget", "(", ")", "{"], "ground_truth": ["}"], "File": "AVRTargetMachine25", "Func": "LLVMInitializeAVRTarget", "Target": "AVR", "Target_Clf": "MPU", "Compiler_Type": "LLVM", "Idx": 113454, "Length": 6, "Cover_Rate": 1.0} {"Template_token": ["", "return", "false", ";"], "ground_truth": ["}"], "File": "AVRTargetMachine2", "Func": "addInstSelector", "Target": "AVR", "Target_Clf": "MPU", "Compiler_Type": "LLVM", "Idx": 113455, "Length": 4, "Cover_Rate": 0.36363636363636365} {"Template_token": ["", "return", "false", ";"], "ground_truth": ["}"], "File": "AVRTargetMachine2", "Func": "addInstSelector", "Target": "AVR", "Target_Clf": "MPU", "Compiler_Type": "LLVM", "Idx": 113456, "Length": 4, "Cover_Rate": 0.36363636363636365} {"Template_token": ["", "void", "PassConfig", "::", "addPreEmitPass", "(", ")", "{"], "ground_truth": ["}"], "File": "AVRTargetMachine2", "Func": "addPreEmitPass", "Target": "AVR", "Target_Clf": "MPU", "Compiler_Type": "LLVM", "Idx": 113457, "Length": 8, "Cover_Rate": 1.0} {"Template_token": ["", "void", "PassConfig", "::", "addPreEmitPass", "(", ")", "{"], "ground_truth": ["}"], "File": "AVRTargetMachine2", "Func": "addPreEmitPass", "Target": "AVR", "Target_Clf": "MPU", "Compiler_Type": "LLVM", "Idx": 113458, "Length": 8, "Cover_Rate": 1.0} {"Template_token": ["", "void", "PassConfig", "::", "addPreRegAlloc", "(", ")", "{"], "ground_truth": ["}"], "File": "AVRTargetMachine2", "Func": "addPreRegAlloc", "Target": "AVR", "Target_Clf": "MPU", "Compiler_Type": "LLVM", "Idx": 113459, "Length": 8, "Cover_Rate": 1.0} {"Template_token": ["", "void", "PassConfig", "::", "addPreRegAlloc", "(", ")", "{"], "ground_truth": ["}"], "File": "AVRTargetMachine2", "Func": "addPreRegAlloc", "Target": "AVR", "Target_Clf": "MPU", "Compiler_Type": "LLVM", "Idx": 113460, "Length": 8, "Cover_Rate": 1.0} {"Template_token": ["", "void", "PassConfig", "::", "addPreSched2", "(", ")", "{"], "ground_truth": ["}"], "File": "AVRTargetMachine2", "Func": "addPreSched2", "Target": "AVR", "Target_Clf": "MPU", "Compiler_Type": "LLVM", "Idx": 113461, "Length": 8, "Cover_Rate": 1.0} {"Template_token": ["", "void", "PassConfig", "::", "addPreSched2", "(", ")", "{"], "ground_truth": ["}"], "File": "AVRTargetMachine2", "Func": "addPreSched2", "Target": "AVR", "Target_Clf": "MPU", "Compiler_Type": "LLVM", "Idx": 113462, "Length": 8, "Cover_Rate": 1.0} {"Template_token": ["", "void", "LLVMInitializeTarget", "(", ")", "{"], "ground_truth": ["RegisterTargetMachine", "<", "TargetMachine", ">", "X", "(", "TheTarget", ")", ";"], "File": "AVRTargetMachine2", "Func": "LLVMInitializeAVRTarget", "Target": "AVR", "Target_Clf": "MPU", "Compiler_Type": "LLVM", "Idx": 113464, "Length": 14, "Cover_Rate": 0.9333333333333333} {"Template_token": ["", "void", "LLVMInitializeTarget", "(", ")", "{", "RegisterTargetMachine", "<", "TargetMachine", ">", "X", "(", "TheTarget", ")", ";"], "ground_truth": ["}"], "File": "AVRTargetMachine2", "Func": "LLVMInitializeAVRTarget", "Target": "AVR", "Target_Clf": "MPU", "Compiler_Type": "LLVM", "Idx": 113465, "Length": 15, "Cover_Rate": 1.0} {"Template_token": ["", "addPass", "(", "createISelDag", "(", "getTargetMachine", "(", ")", ",", "getOptLevel", "(", ")", ")", ")", ";", "addPass", "(", "createFrameAnalyzerPass", "(", ")", ")", ";", "return", "false", ";"], "ground_truth": ["}"], "File": "AVRTargetMachine", "Func": "addInstSelector", "Target": "AVR", "Target_Clf": "MPU", "Compiler_Type": "LLVM", "Idx": 113466, "Length": 25, "Cover_Rate": 0.78125} {"Template_token": ["", "bool", "PassConfig", "::", "addInstSelector", "(", ")", "{", "addPass", "(", "createISelDag", "(", "getTargetMachine", "(", ")", ",", "getOptLevel", "(", ")", ")", ")", ";"], "ground_truth": ["addPass", "(", "createFrameAnalyzerPass", "(", ")", ")", ";"], "File": "AVRTargetMachine", "Func": "addInstSelector", "Target": "AVR", "Target_Clf": "MPU", "Compiler_Type": "LLVM", "Idx": 113467, "Length": 28, "Cover_Rate": 0.875} {"Template_token": ["", "void", "PassConfig", "::", "addPreEmitPass", "(", ")", "{", "addPass", "(", "&", "BranchRelaxationPassID", ")", ";"], "ground_truth": ["}"], "File": "AVRTargetMachine", "Func": "addPreEmitPass", "Target": "AVR", "Target_Clf": "MPU", "Compiler_Type": "LLVM", "Idx": 113468, "Length": 14, "Cover_Rate": 1.0} {"Template_token": ["", "void", "PassConfig", "::", "addPreRegAlloc", "(", ")", "{"], "ground_truth": ["addPass", "(", "createDynAllocaSRPass", "(", ")", ")", ";"], "File": "AVRTargetMachine", "Func": "addPreRegAlloc", "Target": "AVR", "Target_Clf": "MPU", "Compiler_Type": "LLVM", "Idx": 113471, "Length": 14, "Cover_Rate": 0.9333333333333333} {"Template_token": ["", "addPass", "(", "createRelaxMemPass", "(", ")", ")", ";"], "ground_truth": ["addPass", "(", "createExpandPseudoPass", "(", ")", ")", ";"], "File": "AVRTargetMachine", "Func": "addPreSched2", "Target": "AVR", "Target_Clf": "MPU", "Compiler_Type": "LLVM", "Idx": 113472, "Length": 14, "Cover_Rate": 0.6363636363636364} {"Template_token": ["", "addPass", "(", "createRelaxMemPass", "(", ")", ")", ";"], "ground_truth": ["addPass", "(", "createExpandPseudoPass", "(", ")", ")", ";"], "File": "AVRTargetMachine", "Func": "addPreSched2", "Target": "AVR", "Target_Clf": "MPU", "Compiler_Type": "LLVM", "Idx": 113473, "Length": 14, "Cover_Rate": 0.6363636363636364} {"Template_token": ["", "PassConfig", "(", "TargetMachine", "&", "TM", ",", "PassManagerBase", "&", "PM", ")", ":", "TargetPassConfig", "(", "TM", ",", "PM", ")", "{"], "ground_truth": ["}"], "File": "AVRTargetMachine", "Func": "AVRPassConfig", "Target": "AVR", "Target_Clf": "MPU", "Compiler_Type": "LLVM", "Idx": 113474, "Length": 19, "Cover_Rate": 1.0} {"Template_token": ["", "PassConfig", "(", "TargetMachine", "&", "TM", ",", "PassManagerBase", "&", "PM", ")", ":", "TargetPassConfig", "(", "TM", ",", "PM", ")", "{"], "ground_truth": ["}"], "File": "AVRTargetMachine", "Func": "AVRPassConfig", "Target": "AVR", "Target_Clf": "MPU", "Compiler_Type": "LLVM", "Idx": 113475, "Length": 19, "Cover_Rate": 1.0} {"Template_token": ["", "TargetPassConfig", "*", "TargetMachine", "::", "createPassConfig", "(", "PassManagerBase", "&", "PM", ")", "{"], "ground_truth": ["return", "new", "PassConfig", "(", "*", "this", ",", "PM", ")", ";"], "File": "AVRTargetMachine", "Func": "createPassConfig", "Target": "AVR", "Target_Clf": "MPU", "Compiler_Type": "LLVM", "Idx": 113477, "Length": 21, "Cover_Rate": 0.9545454545454546} {"Template_token": ["", "TargetMachine", "&", "getTargetMachine", "(", ")", "const", "{", "return", "getTM", "<", "TargetMachine", ">", "(", ")", ";"], "ground_truth": ["}"], "File": "AVRTargetMachine", "Func": "getAVRTargetMachine", "Target": "AVR", "Target_Clf": "MPU", "Compiler_Type": "LLVM", "Idx": 113478, "Length": 16, "Cover_Rate": 1.0} {"Template_token": ["", "TargetMachine", "&", "getTargetMachine", "(", ")", "const", "{"], "ground_truth": ["return", "getTM", "<", "TargetMachine", ">", "(", ")", ";"], "File": "AVRTargetMachine", "Func": "getAVRTargetMachine", "Target": "AVR", "Target_Clf": "MPU", "Compiler_Type": "LLVM", "Idx": 113479, "Length": 15, "Cover_Rate": 0.9375} {"Template_token": ["", "if", "(", "CPU", ".", "empty", "(", ")", "||", "CPU", "==", "", ")", "{", "return", "", ";", "}"], "ground_truth": ["return", "CPU", ";"], "File": "AVRTargetMachine", "Func": "getCPU", "Target": "AVR", "Target_Clf": "MPU", "Compiler_Type": "LLVM", "Idx": 113480, "Length": 20, "Cover_Rate": 0.6896551724137931} {"Template_token": ["", "static", "StringRef", "getCPU", "(", "StringRef", "CPU", ")", "{", "if", "(", "CPU", ".", "empty", "(", ")", "||", "CPU", "==", "", ")", "{"], "ground_truth": ["return", "", ";"], "File": "AVRTargetMachine", "Func": "getCPU", "Target": "AVR", "Target_Clf": "MPU", "Compiler_Type": "LLVM", "Idx": 113481, "Length": 24, "Cover_Rate": 0.8275862068965517} {"Template_token": ["", "static", "CodeModel", "::", "Model", "getEffectiveCodeModel", "(", "Optional", "<", "CodeModel", "::", "Model", ">", "CM", ")", "{", "if", "(", "CM", ")", "return", "*", "CM", ";", "return", "CodeModel", "::", "Small", ";"], "ground_truth": ["}"], "File": "AVRTargetMachine", "Func": "getEffectiveCodeModel", "Target": "AVR", "Target_Clf": "MPU", "Compiler_Type": "LLVM", "Idx": 113483, "Length": 29, "Cover_Rate": 1.0} {"Template_token": ["", "return", "RM", ".", "hasValue", "(", ")", "?", "*", "RM", ":", "Reloc", "::", "Static", ";"], "ground_truth": ["}"], "File": "AVRTargetMachine", "Func": "getEffectiveRelocModel", "Target": "AVR", "Target_Clf": "MPU", "Compiler_Type": "LLVM", "Idx": 113484, "Length": 15, "Cover_Rate": 0.5} {"Template_token": ["", "static", "Reloc", "::", "Model", "getEffectiveRelocModel", "(", "Optional", "<", "Reloc", "::", "Model", ">", "RM", ")", "{", "return", "RM", ".", "hasValue", "(", ")", "?", "*", "RM", ":", "Reloc", "::", "Static", ";"], "ground_truth": ["}"], "File": "AVRTargetMachine", "Func": "getEffectiveRelocModel", "Target": "AVR", "Target_Clf": "MPU", "Compiler_Type": "LLVM", "Idx": 113485, "Length": 30, "Cover_Rate": 1.0} {"Template_token": ["", "TargetLoweringObjectFile", "*", "getObjFileLowering", "(", ")", "const", "override", "{", "return", "this", "->", "TLOF", ".", "get", "(", ")", ";"], "ground_truth": ["}"], "File": "AVRTargetMachine", "Func": "getObjFileLowering", "Target": "AVR", "Target_Clf": "MPU", "Compiler_Type": "LLVM", "Idx": 113486, "Length": 18, "Cover_Rate": 1.0} {"Template_token": ["", "TargetLoweringObjectFile", "*", "getObjFileLowering", "(", ")", "const", "override", "{"], "ground_truth": ["return", "this", "->", "TLOF", ".", "get", "(", ")", ";"], "File": "AVRTargetMachine", "Func": "getObjFileLowering", "Target": "AVR", "Target_Clf": "MPU", "Compiler_Type": "LLVM", "Idx": 113487, "Length": 17, "Cover_Rate": 0.9444444444444444} {"Template_token": ["", "const", "Subtarget", "*", "TargetMachine", "::", "getSubtargetImpl", "(", "const", "Function", "&", ")", "const", "{", "return", "&", "SubTarget", ";"], "ground_truth": ["}"], "File": "AVRTargetMachine", "Func": "getSubtargetImpl", "Target": "AVR", "Target_Clf": "MPU", "Compiler_Type": "LLVM", "Idx": 113488, "Length": 18, "Cover_Rate": 1.0} {"Template_token": ["", "bool", "isMachineVerifierClean", "(", ")", "const", "override", "{", "return", "false", ";"], "ground_truth": ["}"], "File": "AVRTargetMachine", "Func": "isMachineVerifierClean", "Target": "AVR", "Target_Clf": "MPU", "Compiler_Type": "LLVM", "Idx": 113490, "Length": 11, "Cover_Rate": 1.0} {"Template_token": ["", "RegisterTargetMachine", "<", "TargetMachine", ">", "X", "(", "getTheTarget", "(", ")", ")", ";"], "ground_truth": ["auto", "&", "PR", "=", "*", "PassRegistry", "::", "getPassRegistry", "(", ")", ";"], "File": "AVRTargetMachine", "Func": "LLVMInitializeAVRTarget", "Target": "AVR", "Target_Clf": "MPU", "Compiler_Type": "LLVM", "Idx": 113491, "Length": 22, "Cover_Rate": 0.5789473684210527} {"Template_token": ["", "void", "LLVMInitializeTarget", "(", ")", "{", "RegisterTargetMachine", "<", "TargetMachine", ">", "X", "(", "getTheTarget", "(", ")", ")", ";", "auto", "&", "PR", "=", "*", "PassRegistry", "::", "getPassRegistry", "(", ")", ";"], "ground_truth": ["initializeExpandPseudoPass", "(", "PR", ")", ";"], "File": "AVRTargetMachine", "Func": "LLVMInitializeAVRTarget", "Target": "AVR", "Target_Clf": "MPU", "Compiler_Type": "LLVM", "Idx": 113492, "Length": 32, "Cover_Rate": 0.8421052631578947} {"Template_token": ["", "Progmem1DataSection", "=", "Ctx", ".", "getELFSection", "(", "", ",", "ELF", "::", "SHT_PROGBITS", ",", "ELF", "::", "SHF_ALLOC", ")", ";", "Progmem2DataSection", "=", "Ctx", ".", "getELFSection", "(", "", ",", "ELF", "::", "SHT_PROGBITS", ",", "ELF", "::", "SHF_ALLOC", ")", ";", "Progmem3DataSection", "=", "Ctx", ".", "getELFSection", "(", "", ",", "ELF", "::", "SHT_PROGBITS", ",", "ELF", "::", "SHF_ALLOC", ")", ";", "Progmem4DataSection", "=", "Ctx", ".", "getELFSection", "(", "", ",", "ELF", "::", "SHT_PROGBITS", ",", "ELF", "::", "SHF_ALLOC", ")", ";"], "ground_truth": ["Progmem5DataSection", "=", "Ctx", ".", "getELFSection", "(", "", ",", "ELF", "::", "SHT_PROGBITS", ",", "ELF", "::", "SHF_ALLOC", ")", ";"], "File": "AVRTargetObjectFile4", "Func": "Initialize", "Target": "AVR", "Target_Clf": "MPU", "Compiler_Type": "LLVM", "Idx": 113493, "Length": 85, "Cover_Rate": 0.6692913385826772} {"Template_token": ["", "return", "Base", "::", "SelectSectionForGlobal", "(", "GO", ",", "Kind", ",", "TM", ")", ";", "}", "if", "(", "!", "TM", ".", "getSubtargetImpl", "(", ")", "->", "hasELPM", "(", ")", "&&", "", "(", "GO", ")", "!=", "", ")", "{", "getContext", "(", ")", ".", "reportError", "(", "SMLoc", "(", ")", ",", "", "", ")", ";", "return", "ProgmemDataSection", ";", "}", "switch", "(", "", "(", "GO", ")", ")", "{", "case", "", ":", "return", "ProgmemDataSection", ";", "case", "", ":", "return", "Progmem1DataSection", ";", "case", "", ":", "return", "Progmem2DataSection", ";", "case", "", ":", "return", "Progmem3DataSection", ";", "case", "", ":", "return", "Progmem4DataSection", ";", "case", "", ":", "return", "Progmem5DataSection", ";", "default", ":", "llvm_unreachable", "(", "", ")", ";", "}", "}"], "ground_truth": ["return", "Base", "::", "SelectSectionForGlobal", "(", "GO", ",", "Kind", ",", "TM", ")", ";"], "File": "AVRTargetObjectFile4", "Func": "SelectSectionForGlobal", "Target": "AVR", "Target_Clf": "MPU", "Compiler_Type": "LLVM", "Idx": 113494, "Length": 117, "Cover_Rate": 0.527027027027027} {"Template_token": ["", "if", "(", "!", "TM", ".", "getSubtargetImpl", "(", ")", "->", "hasLPM", "(", ")", ")", "{", "getContext", "(", ")", ".", "reportError", "(", "SMLoc", "(", ")", ",", "", ")", ";", "return", "Base", "::", "SelectSectionForGlobal", "(", "GO", ",", "Kind", ",", "TM", ")", ";", "}", "if", "(", "!", "TM", ".", "getSubtargetImpl", "(", ")", "->", "hasELPM", "(", ")", "&&", "", "(", "GO", ")", "!=", "", ")", "{", "getContext", "(", ")", ".", "reportError", "(", "SMLoc", "(", ")", ",", "", "", ")", ";", "return", "ProgmemDataSection", ";"], "ground_truth": ["}"], "File": "AVRTargetObjectFile4", "Func": "SelectSectionForGlobal", "Target": "AVR", "Target_Clf": "MPU", "Compiler_Type": "LLVM", "Idx": 113495, "Length": 79, "Cover_Rate": 0.35585585585585583} {"Template_token": ["", "MCSection", "*", "TargetObjectFile", "::", "SelectSectionForGlobal", "(", "const", "GlobalObject", "*", "GO", ",", "SectionKind", "Kind", ",", "const", "TargetMachine", "&", "TM", ")", "const", "{"], "ground_truth": ["if", "(", "", "(", "GO", ")", "&&", "!", "GO", "->", "hasSection", "(", ")", "&&", "Kind", ".", "isReadOnly", "(", ")", ")", "return", "ProgmemDataSection", ";"], "File": "AVRTargetObjectFile7", "Func": "SelectSectionForGlobal", "Target": "AVR", "Target_Clf": "MPU", "Compiler_Type": "LLVM", "Idx": 113497, "Length": 44, "Cover_Rate": 0.7457627118644068} {"Template_token": ["", "MCSection", "*", "TargetObjectFile", "::", "SelectSectionForGlobal", "(", "const", "GlobalValue", "*", "GV", ",", "SectionKind", "Kind", ",", "Mangler", "&", "Mang", ",", "const", "TargetMachine", "&", "TM", ")", "const", "{", "if", "(", "", "(", "GV", ")", "&&", "!", "GV", "->", "hasSection", "(", ")", ")", "return", "ProgmemDataSection", ";"], "ground_truth": ["return", "Base", "::", "SelectSectionForGlobal", "(", "GV", ",", "Kind", ",", "Mang", ",", "TM", ")", ";"], "File": "AVRTargetObjectFile8", "Func": "SelectSectionForGlobal", "Target": "AVR", "Target_Clf": "MPU", "Compiler_Type": "LLVM", "Idx": 113499, "Length": 56, "Cover_Rate": 0.9491525423728814} {"Template_token": ["", "MCSection", "*", "TargetObjectFile", "::", "SelectSectionForGlobal", "(", "const", "GlobalValue", "*", "GV", ",", "SectionKind", "Kind", ",", "Mangler", "&", "Mang", ",", "const", "TargetMachine", "&", "TM", ")", "const", "{"], "ground_truth": ["if", "(", "", "(", "GV", ")", "&&", "!", "GV", "->", "hasSection", "(", ")", ")", "return", "ProgmemDataSection", ";"], "File": "AVRTargetObjectFile8", "Func": "SelectSectionForGlobal", "Target": "AVR", "Target_Clf": "MPU", "Compiler_Type": "LLVM", "Idx": 113500, "Length": 42, "Cover_Rate": 0.711864406779661} {"Template_token": ["", "ProgmemDataSection", "=", "Ctx", ".", "getELFSection", "(", "", ",", "ELF", "::", "SHT_PROGBITS", ",", "ELF", "::", "SHF_ALLOC", ")", ";"], "ground_truth": ["}"], "File": "AVRTargetObjectFile", "Func": "Initialize", "Target": "AVR", "Target_Clf": "MPU", "Compiler_Type": "LLVM", "Idx": 113502, "Length": 18, "Cover_Rate": 0.42857142857142855} {"Template_token": ["", "if", "(", "", "(", "GO", ")", "&&", "!", "GO", "->", "hasSection", "(", ")", ")", "return", "ProgmemDataSection", ";", "return", "Base", "::", "SelectSectionForGlobal", "(", "GO", ",", "Kind", ",", "TM", ")", ";"], "ground_truth": ["}"], "File": "AVRTargetObjectFile", "Func": "SelectSectionForGlobal", "Target": "AVR", "Target_Clf": "MPU", "Compiler_Type": "LLVM", "Idx": 113504, "Length": 30, "Cover_Rate": 0.5660377358490566} {"Template_token": ["", "MCSymbol", "*", "DoCopyData", "=", "Context", ".", "getOrCreateSymbol", "(", "", ")", ";", "MCSymbol", "*", "DoClearBss", "=", "Context", ".", "getOrCreateSymbol", "(", "", ")", ";", "OS", ".", "emitRawComment", "(", "", ")", ";", "OS", ".", "emitRawComment", "(", "", ")", ";"], "ground_truth": ["OS", ".", "EmitSymbolAttribute", "(", "DoCopyData", ",", "MCSA_Global", ")", ";"], "File": "AVRTargetStreamer1", "Func": "finish", "Target": "AVR", "Target_Clf": "MPU", "Compiler_Type": "LLVM", "Idx": 113505, "Length": 45, "Cover_Rate": 0.4787234042553192} {"Template_token": ["", "OS", ".", "emitRawComment", "(", "", ")", ";", "OS", ".", "emitRawComment", "(", "", ")", ";", "OS", ".", "EmitSymbolAttribute", "(", "DoCopyData", ",", "MCSA_Global", ")", ";", "OS", ".", "emitRawComment", "(", "", ")", ";", "OS", ".", "emitRawComment", "(", "", ")", ";"], "ground_truth": ["OS", ".", "EmitSymbolAttribute", "(", "DoClearBss", ",", "MCSA_Global", ")", ";"], "File": "AVRTargetStreamer1", "Func": "finish", "Target": "AVR", "Target_Clf": "MPU", "Compiler_Type": "LLVM", "Idx": 113506, "Length": 46, "Cover_Rate": 0.48936170212765956} {"Template_token": ["", "MCSymbol", "*", "DoClearBss", "=", "Context", ".", "getOrCreateSymbol", "(", "", ")", ";", "OS", ".", "emitRawComment", "(", "", ")", ";", "OS", ".", "emitRawComment", "(", "", ")", ";"], "ground_truth": ["OS", ".", "emitSymbolAttribute", "(", "DoCopyData", ",", "MCSA_Global", ")", ";"], "File": "AVRTargetStreamer5", "Func": "finish", "Target": "AVR", "Target_Clf": "MPU", "Compiler_Type": "LLVM", "Idx": 113507, "Length": 34, "Cover_Rate": 0.3617021276595745} {"Template_token": ["", "MCStreamer", "&", "OS", "=", "getStreamer", "(", ")", ";", "MCContext", "&", "Context", "=", "OS", ".", "getContext", "(", ")", ";", "MCSymbol", "*", "DoCopyData", "=", "Context", ".", "getOrCreateSymbol", "(", "", ")", ";", "MCSymbol", "*", "DoClearBss", "=", "Context", ".", "getOrCreateSymbol", "(", "", ")", ";", "OS", ".", "emitRawComment", "(", "", ")", ";", "OS", ".", "emitRawComment", "(", "", ")", ";", "OS", ".", "emitSymbolAttribute", "(", "DoCopyData", ",", "MCSA_Global", ")", ";", "OS", ".", "emitRawComment", "(", "", ")", ";", "OS", ".", "emitRawComment", "(", "", ")", ";"], "ground_truth": ["OS", ".", "emitSymbolAttribute", "(", "DoClearBss", ",", "MCSA_Global", ")", ";"], "File": "AVRTargetStreamer5", "Func": "finish", "Target": "AVR", "Target_Clf": "MPU", "Compiler_Type": "LLVM", "Idx": 113508, "Length": 86, "Cover_Rate": 0.9148936170212766} {"Template_token": ["", "TargetAsmStreamer", "::", "TargetAsmStreamer", "(", "MCStreamer", "&", "S", ")", ":", "TargetStreamer", "(", "S", ")", "{"], "ground_truth": ["}"], "File": "AVRTargetStreamer", "Func": "AVRTargetAsmStreamer", "Target": "AVR", "Target_Clf": "MPU", "Compiler_Type": "LLVM", "Idx": 113509, "Length": 15, "Cover_Rate": 1.0} {"Template_token": ["", "TargetAsmStreamer", "::", "TargetAsmStreamer", "(", "MCStreamer", "&", "S", ")", ":", "TargetStreamer", "(", "S", ")", "{"], "ground_truth": ["}"], "File": "AVRTargetStreamer", "Func": "AVRTargetAsmStreamer", "Target": "AVR", "Target_Clf": "MPU", "Compiler_Type": "LLVM", "Idx": 113510, "Length": 15, "Cover_Rate": 1.0} {"Template_token": ["", "TargetStreamer", "::", "TargetStreamer", "(", "MCStreamer", "&", "S", ")", ":", "MCTargetStreamer", "(", "S", ")", "{"], "ground_truth": ["}"], "File": "AVRTargetStreamer", "Func": "AVRTargetStreamer", "Target": "AVR", "Target_Clf": "MPU", "Compiler_Type": "LLVM", "Idx": 113511, "Length": 15, "Cover_Rate": 1.0} {"Template_token": ["", "TargetStreamer", "::", "TargetStreamer", "(", "MCStreamer", "&", "S", ")", ":", "MCTargetStreamer", "(", "S", ")", "{"], "ground_truth": ["}"], "File": "AVRTargetStreamer", "Func": "AVRTargetStreamer", "Target": "AVR", "Target_Clf": "MPU", "Compiler_Type": "LLVM", "Idx": 113512, "Length": 15, "Cover_Rate": 1.0} {"Template_token": ["", "AddressSpace", "getAddressSpace", "(", "T", "*", "V", ")", "{", "auto", "*", "PT", "=", "cast", "<", "PointerType", ">", "(", "V", "->", "getType", "(", ")", ")", ";", "assert", "(", "PT", "!=", "nullptr", "&&", "", ")", ";", "unsigned", "AS", "=", "PT", "->", "getAddressSpace", "(", ")", ";", "if", "(", "AS", "<", "NumAddrSpaces", ")", "return", "static_cast", "<", "AddressSpace", ">", "(", "AS", ")", ";", "return", "NumAddrSpaces", ";"], "ground_truth": ["}"], "File": "AVR", "Func": "getAddressSpace", "Target": "AVR", "Target_Clf": "MPU", "Compiler_Type": "LLVM", "Idx": 113513, "Length": 61, "Cover_Rate": 1.0} {"Template_token": ["", "unsigned", "AS", "=", "PT", "->", "getAddressSpace", "(", ")", ";", "if", "(", "AS", "<", "NumAddrSpaces", ")", "return", "static_cast", "<", "AddressSpace", ">", "(", "AS", ")", ";"], "ground_truth": ["return", "NumAddrSpaces", ";"], "File": "AVR", "Func": "getAddressSpace", "Target": "AVR", "Target_Clf": "MPU", "Compiler_Type": "LLVM", "Idx": 113514, "Length": 27, "Cover_Rate": 0.4426229508196721} {"Template_token": ["", "inline", "int", "getProgramMemoryBank", "(", "MemSDNode", "const", "*", "N", ")", "{", "auto", "*", "V", "=", "N", "->", "getMemOperand", "(", ")", "->", "getValue", "(", ")", ";"], "ground_truth": ["if", "(", "V", "==", "nullptr", "||", "!", "isProgramMemoryAddress", "(", "V", ")", ")", "return", "-", "", ";"], "File": "AVR", "Func": "getProgramMemoryBank", "Target": "AVR", "Target_Clf": "MPU", "Compiler_Type": "LLVM", "Idx": 113515, "Length": 40, "Cover_Rate": 0.5633802816901409} {"Template_token": ["", "assert", "(", "PT", "!=", "nullptr", "&&", "", ")", ";", "return", "PT", "->", "getAddressSpace", "(", ")", "==", "ProgramMemory", "||", "PT", "->", "getAddressSpace", "(", ")", "==", "ProgramMemory1", "||", "PT", "->", "getAddressSpace", "(", ")", "==", "ProgramMemory2", "||", "PT", "->", "getAddressSpace", "(", ")", "==", "ProgramMemory3", "||", "PT", "->", "getAddressSpace", "(", ")", "==", "ProgramMemory4", "||", "PT", "->", "getAddressSpace", "(", ")", "==", "ProgramMemory5", ";"], "ground_truth": ["}"], "File": "AVR", "Func": "isProgramMemoryAddress", "Target": "AVR", "Target_Clf": "MPU", "Compiler_Type": "LLVM", "Idx": 113518, "Length": 59, "Cover_Rate": 0.7108433734939759}