{"Template_token": ["", "default", ":", "llvm_unreachable", "(", "", ")", ";", "case", "", ":", "llvm_unreachable", "(", "", ")", ";", "case", "", ":", "llvm_unreachable", "(", "", ")", ";", "case", "", ":", "*", "(", "data", "+", "", ")", "=", "uint8_t", "(", "Value", ")", ";", "*", "(", "data", "+", "", ")", "=", "uint8_t", "(", "Value", ">>", "", ")", ";", "*", "(", "data", "+", "", ")", "=", "uint8_t", "(", "Value", ">>", "", ")", ";", "*", "(", "data", "+", "", ")", "=", "uint8_t", "(", "Value", ">>", "", ")", ";", "break", ";", "case", "", ":"], "ground_truth": ["*", "(", "data", "+", "", ")", "=", "uint8_t", "(", "Value", ">>", "", ")", ";"], "File": "MBlazeAsmBackend1", "Func": "applyFixup", "Target": "MBlaze", "Target_Clf": "MPU", "Compiler_Type": "LLVM", "Idx": 136371, "Length": 99, "Cover_Rate": 0.5469613259668509} {"Template_token": ["", "if", "(", "TheTriple", ".", "isOSDarwin", "(", ")", ")", "assert", "(", "", "&&", "", ")", ";", "if", "(", "TheTriple", ".", "isOSWindows", "(", ")", ")", "assert", "(", "", "&&", "", ")", ";", "uint8_t", "OSABI", "=", "MCELFObjectTargetWriter", "::", "getOSABI", "(", "TheTriple", ".", "getOS", "(", ")", ")", ";", "return", "new", "ELFAsmBackend", "(", "T", ",", "OSABI", ")", ";"], "ground_truth": ["}"], "File": "MBlazeAsmBackend1", "Func": "createMBlazeAsmBackend", "Target": "MBlaze", "Target_Clf": "MPU", "Compiler_Type": "LLVM", "Idx": 136372, "Length": 54, "Cover_Rate": 0.6923076923076923} {"Template_token": ["", "return", "createELFObjectWriter", "(", "OS", ",", "OSABI", ")", ";"], "ground_truth": ["}"], "File": "MBlazeAsmBackend1", "Func": "createObjectWriter", "Target": "MBlaze", "Target_Clf": "MPU", "Compiler_Type": "LLVM", "Idx": 136373, "Length": 9, "Cover_Rate": 0.47368421052631576} {"Template_token": ["", "MCObjectWriter", "*", "createObjectWriter", "(", "raw_ostream", "&", "OS", ")", "const", "{", "return", "createELFObjectWriter", "(", "OS", ",", "OSABI", ")", ";"], "ground_truth": ["}"], "File": "MBlazeAsmBackend1", "Func": "createObjectWriter", "Target": "MBlaze", "Target_Clf": "MPU", "Compiler_Type": "LLVM", "Idx": 136374, "Length": 19, "Cover_Rate": 1.0} {"Template_token": ["", "ELFAsmBackend", "(", "const", "Target", "&", "T", ",", "uint8_t", "_OSABI", ")", ":", "AsmBackend", "(", "T", ")", ",", "OSABI", "(", "_OSABI", ")", "{"], "ground_truth": ["}"], "File": "MBlazeAsmBackend1", "Func": "ELFMBlazeAsmBackend", "Target": "MBlaze", "Target_Clf": "MPU", "Compiler_Type": "LLVM", "Idx": 136375, "Length": 22, "Cover_Rate": 1.0} {"Template_token": ["", "ELFAsmBackend", "(", "const", "Target", "&", "T", ",", "uint8_t", "_OSABI", ")", ":", "AsmBackend", "(", "T", ")", ",", "OSABI", "(", "_OSABI", ")", "{"], "ground_truth": ["}"], "File": "MBlazeAsmBackend1", "Func": "ELFMBlazeAsmBackend", "Target": "MBlaze", "Target_Clf": "MPU", "Compiler_Type": "LLVM", "Idx": 136376, "Length": 22, "Cover_Rate": 1.0} {"Template_token": ["", "bool", "AsmBackend", "::", "fixupNeedsRelaxation", "(", "const", "MCFixup", "&", "Fixup", ",", "uint64_t", "Value", ",", "const", "MCInstFragment", "*", "DF", ",", "const", "MCAsmLayout", "&", "Layout", ")", "const", "{"], "ground_truth": ["return", "int64_t", "(", "Value", ")", "!=", "int64_t", "(", "int8_t", "(", "Value", ")", ")", ";"], "File": "MBlazeAsmBackend1", "Func": "fixupNeedsRelaxation", "Target": "MBlaze", "Target_Clf": "MPU", "Compiler_Type": "LLVM", "Idx": 136377, "Length": 39, "Cover_Rate": 0.975} {"Template_token": ["", "static", "unsigned", "getFixupKindSize", "(", "unsigned", "Kind", ")", "{", "switch", "(", "Kind", ")", "{", "default", ":", "llvm_unreachable", "(", "", ")", ";", "case", "FK_Data_1", ":", "return", "", ";", "case", "FK_PCRel_2", ":", "case", "FK_Data_2", ":", "return", "", ";", "case", "FK_PCRel_4", ":"], "ground_truth": ["case", "FK_Data_4", ":", "return", "", ";"], "File": "MBlazeAsmBackend1", "Func": "getFixupKindSize", "Target": "MBlaze", "Target_Clf": "MPU", "Compiler_Type": "LLVM", "Idx": 136379, "Length": 44, "Cover_Rate": 0.8461538461538461} {"Template_token": ["", "case", "FK_PCRel_2", ":", "case", "FK_Data_2", ":", "return", "", ";", "case", "FK_PCRel_4", ":", "case", "FK_Data_4", ":", "return", "", ";", "case", "FK_Data_8", ":", "return", "", ";", "}"], "ground_truth": ["}"], "File": "MBlazeAsmBackend1", "Func": "getFixupKindSize", "Target": "MBlaze", "Target_Clf": "MPU", "Compiler_Type": "LLVM", "Idx": 136380, "Length": 26, "Cover_Rate": 0.5} {"Template_token": ["", "unsigned", "getNumFixupKinds", "(", ")", "const", "{", "return", "", ";"], "ground_truth": ["}"], "File": "MBlazeAsmBackend1", "Func": "getNumFixupKinds", "Target": "MBlaze", "Target_Clf": "MPU", "Compiler_Type": "LLVM", "Idx": 136381, "Length": 10, "Cover_Rate": 1.0} {"Template_token": ["", "unsigned", "getNumFixupKinds", "(", ")", "const", "{", "return", "", ";"], "ground_truth": ["}"], "File": "MBlazeAsmBackend1", "Func": "getNumFixupKinds", "Target": "MBlaze", "Target_Clf": "MPU", "Compiler_Type": "LLVM", "Idx": 136382, "Length": 10, "Cover_Rate": 1.0} {"Template_token": ["", "unsigned", "getPointerSize", "(", ")", "const", "{", "return", "", ";"], "ground_truth": ["}"], "File": "MBlazeAsmBackend1", "Func": "getPointerSize", "Target": "MBlaze", "Target_Clf": "MPU", "Compiler_Type": "LLVM", "Idx": 136383, "Length": 10, "Cover_Rate": 1.0} {"Template_token": ["", "unsigned", "getPointerSize", "(", ")", "const", "{"], "ground_truth": ["return", "", ";"], "File": "MBlazeAsmBackend1", "Func": "getPointerSize", "Target": "MBlaze", "Target_Clf": "MPU", "Compiler_Type": "LLVM", "Idx": 136384, "Length": 9, "Cover_Rate": 0.9} {"Template_token": ["", "case", "", ":", "return", "", ";", "case", "", ":", "return", "", ";", "case", "", ":", "return", "", ";"], "ground_truth": ["}"], "File": "MBlazeAsmBackend1", "Func": "getRelaxedOpcode", "Target": "MBlaze", "Target_Clf": "MPU", "Compiler_Type": "LLVM", "Idx": 136385, "Length": 19, "Cover_Rate": 0.38} {"Template_token": ["", "if", "(", "getRelaxedOpcode", "(", "Inst", ".", "getOpcode", "(", ")", ")", "==", "Inst", ".", "getOpcode", "(", ")", ")", "return", "false", ";", "bool", "hasExprOrImm", "=", "false", ";", "for", "(", "unsigned", "i", "=", "", ";", "i", "<", "Inst", ".", "getNumOperands", "(", ")", ";", "++", "i", ")", "hasExprOrImm", "|=", "Inst", ".", "getOperand", "(", "i", ")", ".", "isExpr", "(", ")", ";", "return", "hasExprOrImm", ";"], "ground_truth": ["}"], "File": "MBlazeAsmBackend1", "Func": "mayNeedRelaxation", "Target": "MBlaze", "Target_Clf": "MPU", "Compiler_Type": "LLVM", "Idx": 136386, "Length": 60, "Cover_Rate": 0.8333333333333334} {"Template_token": ["", "bool", "hasExprOrImm", "=", "false", ";", "for", "(", "unsigned", "i", "=", "", ";", "i", "<", "Inst", ".", "getNumOperands", "(", ")", ";", "++", "i", ")", "hasExprOrImm", "|=", "Inst", ".", "getOperand", "(", "i", ")", ".", "isExpr", "(", ")", ";"], "ground_truth": ["return", "hasExprOrImm", ";"], "File": "MBlazeAsmBackend1", "Func": "mayNeedRelaxation", "Target": "MBlaze", "Target_Clf": "MPU", "Compiler_Type": "LLVM", "Idx": 136387, "Length": 39, "Cover_Rate": 0.5416666666666666} {"Template_token": ["", "AsmBackend", "(", "const", "Target", "&", "T", ")", ":", "MCAsmBackend", "(", ")", "{"], "ground_truth": ["}"], "File": "MBlazeAsmBackend1", "Func": "MBlazeAsmBackend", "Target": "MBlaze", "Target_Clf": "MPU", "Compiler_Type": "LLVM", "Idx": 136388, "Length": 13, "Cover_Rate": 1.0} {"Template_token": ["", "AsmBackend", "(", "const", "Target", "&", "T", ")", ":", "MCAsmBackend", "(", ")", "{"], "ground_truth": ["}"], "File": "MBlazeAsmBackend1", "Func": "MBlazeAsmBackend", "Target": "MBlaze", "Target_Clf": "MPU", "Compiler_Type": "LLVM", "Idx": 136389, "Length": 13, "Cover_Rate": 1.0} {"Template_token": ["", "if", "(", "(", "Count", "%", "", ")", "!=", "", ")", "return", "false", ";"], "ground_truth": ["for", "(", "uint64_t", "i", "=", "", ";", "i", "<", "Count", ";", "i", "+=", "", ")", "OW", "->", "Write32", "(", "", ")", ";"], "File": "MBlazeAsmBackend1", "Func": "writeNopData", "Target": "MBlaze", "Target_Clf": "MPU", "Compiler_Type": "LLVM", "Idx": 136392, "Length": 35, "Cover_Rate": 0.660377358490566} {"Template_token": ["", "case", "", ":", "llvm_unreachable", "(", "", ")", ";", "case", "", ":", "*", "(", "data", "+", "", ")", "=", "uint8_t", "(", "Value", ")", ";", "*", "(", "data", "+", "", ")", "=", "uint8_t", "(", "Value", ">>", "", ")", ";", "*", "(", "data", "+", "", ")", "=", "uint8_t", "(", "Value", ">>", "", ")", ";", "*", "(", "data", "+", "", ")", "=", "uint8_t", "(", "Value", ">>", "", ")", ";", "break", ";", "case", "", ":", "*", "(", "data", "+", "", ")", "=", "uint8_t", "(", "Value", ">>", "", ")", ";", "*", "(", "data", "+", "", ")", "=", "uint8_t", "(", "Value", ">>", "", ")", ";", "}"], "ground_truth": ["}"], "File": "MBlazeAsmBackend2", "Func": "ApplyFixup", "Target": "MBlaze", "Target_Clf": "MPU", "Compiler_Type": "LLVM", "Idx": 136393, "Length": 100, "Cover_Rate": 0.5524861878453039} {"Template_token": ["", "if", "(", "TheTriple", ".", "isOSDarwin", "(", ")", ")", "assert", "(", "", "&&", "", ")", ";", "if", "(", "TheTriple", ".", "isOSWindows", "(", ")", ")", "assert", "(", "", "&&", "", ")", ";"], "ground_truth": ["return", "new", "ELFAsmBackend", "(", "T", ",", "TheTriple", ".", "getOS", "(", ")", ")", ";"], "File": "MBlazeAsmBackend2", "Func": "createMBlazeAsmBackend", "Target": "MBlaze", "Target_Clf": "MPU", "Compiler_Type": "LLVM", "Idx": 136394, "Length": 43, "Cover_Rate": 0.6231884057971014} {"Template_token": ["", "MCObjectWriter", "*", "createObjectWriter", "(", "raw_ostream", "&", "OS", ")", "const", "{"], "ground_truth": ["return", "createELFObjectWriter", "(", "new", "ELFObjectWriter", "(", "OSType", ")", ",", "OS", ",", "false", ")", ";"], "File": "MBlazeAsmBackend2", "Func": "createObjectWriter", "Target": "MBlaze", "Target_Clf": "MPU", "Compiler_Type": "LLVM", "Idx": 136396, "Length": 24, "Cover_Rate": 0.96} {"Template_token": ["", "ELFAsmBackend", "(", "const", "Target", "&", "T", ",", "Triple", "::", "OSType", "_OSType", ")", ":", "AsmBackend", "(", "T", ")", ",", "OSType", "(", "_OSType", ")", "{"], "ground_truth": ["}"], "File": "MBlazeAsmBackend2", "Func": "ELFMBlazeAsmBackend", "Target": "MBlaze", "Target_Clf": "MPU", "Compiler_Type": "LLVM", "Idx": 136397, "Length": 24, "Cover_Rate": 1.0} {"Template_token": ["", "ELFAsmBackend", "(", "const", "Target", "&", "T", ",", "Triple", "::", "OSType", "_OSType", ")", ":", "AsmBackend", "(", "T", ")", ",", "OSType", "(", "_OSType", ")", "{"], "ground_truth": ["}"], "File": "MBlazeAsmBackend2", "Func": "ELFMBlazeAsmBackend", "Target": "MBlaze", "Target_Clf": "MPU", "Compiler_Type": "LLVM", "Idx": 136398, "Length": 24, "Cover_Rate": 1.0} {"Template_token": ["", "case", "FK_Data_1", ":", "return", "", ";", "case", "FK_PCRel_2", ":", "case", "FK_Data_2", ":", "return", "", ";", "case", "FK_PCRel_4", ":"], "ground_truth": ["case", "FK_Data_4", ":", "return", "", ";"], "File": "MBlazeAsmBackend2", "Func": "getFixupKindSize", "Target": "MBlaze", "Target_Clf": "MPU", "Compiler_Type": "LLVM", "Idx": 136399, "Length": 24, "Cover_Rate": 0.4444444444444444} {"Template_token": ["", "static", "unsigned", "getFixupKindSize", "(", "unsigned", "Kind", ")", "{", "switch", "(", "Kind", ")", "{", "default", ":", "assert", "(", "", "&&", "", ")", ";"], "ground_truth": ["case", "FK_Data_1", ":", "return", "", ";"], "File": "MBlazeAsmBackend2", "Func": "getFixupKindSize", "Target": "MBlaze", "Target_Clf": "MPU", "Compiler_Type": "LLVM", "Idx": 136400, "Length": 28, "Cover_Rate": 0.5185185185185185} {"Template_token": ["", "bool", "AsmBackend", "::", "MayNeedRelaxation", "(", "const", "MCInst", "&", "Inst", ")", "const", "{", "if", "(", "getRelaxedOpcode", "(", "Inst", ".", "getOpcode", "(", ")", ")", "==", "Inst", ".", "getOpcode", "(", ")", ")", "return", "false", ";"], "ground_truth": ["bool", "hasExprOrImm", "=", "false", ";"], "File": "MBlazeAsmBackend2", "Func": "MayNeedRelaxation", "Target": "MBlaze", "Target_Clf": "MPU", "Compiler_Type": "LLVM", "Idx": 136401, "Length": 37, "Cover_Rate": 0.5138888888888888} {"Template_token": ["", "for", "(", "unsigned", "i", "=", "", ";", "i", "<", "Inst", ".", "getNumOperands", "(", ")", ";", "++", "i", ")", "hasExprOrImm", "|=", "Inst", ".", "getOperand", "(", "i", ")", ".", "isExpr", "(", ")", ";"], "ground_truth": ["return", "hasExprOrImm", ";"], "File": "MBlazeAsmBackend2", "Func": "MayNeedRelaxation", "Target": "MBlaze", "Target_Clf": "MPU", "Compiler_Type": "LLVM", "Idx": 136402, "Length": 34, "Cover_Rate": 0.4722222222222222} {"Template_token": ["", "AsmBackend", "(", "const", "Target", "&", "T", ")", ":", "TargetAsmBackend", "(", ")", "{"], "ground_truth": ["}"], "File": "MBlazeAsmBackend2", "Func": "MBlazeAsmBackend", "Target": "MBlaze", "Target_Clf": "MPU", "Compiler_Type": "LLVM", "Idx": 136403, "Length": 13, "Cover_Rate": 1.0} {"Template_token": ["", "AsmBackend", "(", "const", "Target", "&", "T", ")", ":", "TargetAsmBackend", "(", ")", "{"], "ground_truth": ["}"], "File": "MBlazeAsmBackend2", "Func": "MBlazeAsmBackend", "Target": "MBlaze", "Target_Clf": "MPU", "Compiler_Type": "LLVM", "Idx": 136404, "Length": 13, "Cover_Rate": 1.0} {"Template_token": ["", "ELFObjectWriter", "(", "Triple", "::", "OSType", "OSType", ")", ":", "MCELFObjectTargetWriter", "(", "false", ",", "OSType", ",", "ELF", "::", "EM_MBLAZE", ",", "true", ")", "{"], "ground_truth": ["}"], "File": "MBlazeAsmBackend2", "Func": "MBlazeELFObjectWriter", "Target": "MBlaze", "Target_Clf": "MPU", "Compiler_Type": "LLVM", "Idx": 136405, "Length": 22, "Cover_Rate": 1.0} {"Template_token": ["", "ELFObjectWriter", "(", "Triple", "::", "OSType", "OSType", ")", ":", "MCELFObjectTargetWriter", "(", "false", ",", "OSType", ",", "ELF", "::", "EM_MBLAZE", ",", "true", ")", "{"], "ground_truth": ["}"], "File": "MBlazeAsmBackend2", "Func": "MBlazeELFObjectWriter", "Target": "MBlaze", "Target_Clf": "MPU", "Compiler_Type": "LLVM", "Idx": 136406, "Length": 22, "Cover_Rate": 1.0} {"Template_token": ["", "void", "AsmBackend", "::", "RelaxInstruction", "(", "const", "MCInst", "&", "Inst", ",", "MCInst", "&", "Res", ")", "const", "{"], "ground_truth": ["Res", "=", "Inst", ";"], "File": "MBlazeAsmBackend2", "Func": "RelaxInstruction", "Target": "MBlaze", "Target_Clf": "MPU", "Compiler_Type": "LLVM", "Idx": 136407, "Length": 20, "Cover_Rate": 0.5714285714285714} {"Template_token": ["", "Res", "=", "Inst", ";"], "ground_truth": ["Res", ".", "setOpcode", "(", "getRelaxedOpcode", "(", "Inst", ".", "getOpcode", "(", ")", ")", ")", ";"], "File": "MBlazeAsmBackend2", "Func": "RelaxInstruction", "Target": "MBlaze", "Target_Clf": "MPU", "Compiler_Type": "LLVM", "Idx": 136408, "Length": 18, "Cover_Rate": 0.5142857142857142} {"Template_token": ["", "if", "(", "(", "Count", "%", "", ")", "!=", "", ")", "return", "false", ";", "for", "(", "uint64_t", "i", "=", "", ";", "i", "<", "Count", ";", "i", "+=", "", ")", "OW", "->", "Write32", "(", "", ")", ";"], "ground_truth": ["return", "true", ";"], "File": "MBlazeAsmBackend2", "Func": "WriteNopData", "Target": "MBlaze", "Target_Clf": "MPU", "Compiler_Type": "LLVM", "Idx": 136409, "Length": 38, "Cover_Rate": 0.7169811320754716} {"Template_token": ["", "switch", "(", "Triple", "(", "TT", ")", ".", "getOS", "(", ")", ")", "{", "case", "Triple", "::", "Darwin", ":", "assert", "(", "", "&&", "", ")", ";", "case", "Triple", "::", "MinGW32", ":", "case", "Triple", "::", "Cygwin", ":"], "ground_truth": ["case", "Triple", "::", "Win32", ":"], "File": "MBlazeAsmBackend3", "Func": "createMBlazeAsmBackend", "Target": "MBlaze", "Target_Clf": "MPU", "Compiler_Type": "LLVM", "Idx": 136410, "Length": 39, "Cover_Rate": 0.4588235294117647} {"Template_token": ["", "MCObjectWriter", "*", "createObjectWriter", "(", "raw_ostream", "&", "OS", ")", "const", "{", "return", "createELFObjectWriter", "(", "OS", ",", "false", ",", "OSType", ",", "ELF", "::", "EM_MBLAZE", ",", "false", ",", "true", ")", ";"], "ground_truth": ["}"], "File": "MBlazeAsmBackend3", "Func": "createObjectWriter", "Target": "MBlaze", "Target_Clf": "MPU", "Compiler_Type": "LLVM", "Idx": 136412, "Length": 29, "Cover_Rate": 1.0} {"Template_token": ["", "ELFAsmBackend", "(", "const", "Target", "&", "T", ",", "Triple", "::", "OSType", "_OSType", ")", ":", "AsmBackend", "(", "T", ")", ",", "OSType", "(", "_OSType", ")", "{"], "ground_truth": ["HasScatteredSymbols", "=", "true", ";"], "File": "MBlazeAsmBackend3", "Func": "ELFMBlazeAsmBackend", "Target": "MBlaze", "Target_Clf": "MPU", "Compiler_Type": "LLVM", "Idx": 136413, "Length": 27, "Cover_Rate": 0.9642857142857143} {"Template_token": ["", "return", "Format", ";"], "ground_truth": ["}"], "File": "MBlazeAsmBackend3", "Func": "getObjectFormat", "Target": "MBlaze", "Target_Clf": "MPU", "Compiler_Type": "LLVM", "Idx": 136415, "Length": 4, "Cover_Rate": 0.3076923076923077} {"Template_token": ["", "return", "Format", ";"], "ground_truth": ["}"], "File": "MBlazeAsmBackend3", "Func": "getObjectFormat", "Target": "MBlaze", "Target_Clf": "MPU", "Compiler_Type": "LLVM", "Idx": 136416, "Length": 4, "Cover_Rate": 0.3076923076923077} {"Template_token": ["", "case", "", ":", "return", "", ";", "case", "", ":", "return", "", ";", "case", "", ":", "return", "", ";"], "ground_truth": ["}"], "File": "MBlazeAsmBackend3", "Func": "getRelaxedOpcode", "Target": "MBlaze", "Target_Clf": "MPU", "Compiler_Type": "LLVM", "Idx": 136417, "Length": 19, "Cover_Rate": 0.38} {"Template_token": ["", "static", "unsigned", "getRelaxedOpcode", "(", "unsigned", "Op", ")", "{", "switch", "(", "Op", ")", "{", "default", ":", "return", "Op", ";", "case", "", ":", "return", "", ";", "case", "", ":", "return", "", ";", "case", "", ":", "return", "", ";", "}"], "ground_truth": ["}"], "File": "MBlazeAsmBackend3", "Func": "getRelaxedOpcode", "Target": "MBlaze", "Target_Clf": "MPU", "Compiler_Type": "LLVM", "Idx": 136418, "Length": 38, "Cover_Rate": 0.76} {"Template_token": ["", "MCAsmBackend", "*", "llvm", "::", "createAsmBackend", "(", "const", "Target", "&", "T", ",", "StringRef", "TT", ")", "{", "Triple", "TheTriple", "(", "TT", ")", ";", "if", "(", "TheTriple", ".", "isOSDarwin", "(", ")", ")", "assert", "(", "", "&&", "", ")", ";"], "ground_truth": ["if", "(", "TheTriple", ".", "isOSWindows", "(", ")", ")", "assert", "(", "", "&&", "", ")", ";"], "File": "MBlazeAsmBackend6", "Func": "createMBlazeAsmBackend", "Target": "MBlaze", "Target_Clf": "MPU", "Compiler_Type": "LLVM", "Idx": 136419, "Length": 51, "Cover_Rate": 0.68} {"Template_token": ["", "uint8_t", "OSABI", "=", "MCELFObjectTargetWriter", "::", "getOSABI", "(", "TheTriple", ".", "getOS", "(", ")", ")", ";"], "ground_truth": ["return", "new", "ELFAsmBackend", "(", "T", ",", "OSABI", ")", ";"], "File": "MBlazeAsmBackend6", "Func": "createMBlazeAsmBackend", "Target": "MBlaze", "Target_Clf": "MPU", "Compiler_Type": "LLVM", "Idx": 136420, "Length": 23, "Cover_Rate": 0.30666666666666664} {"Template_token": ["", "if", "(", "TheTriple", ".", "isOSWindows", "(", ")", ")", "assert", "(", "", "&&", "", ")", ";"], "ground_truth": ["return", "new", "ELFAsmBackend", "(", "T", ",", "TheTriple", ".", "getOS", "(", ")", ")", ";"], "File": "MBlazeAsmBackend8", "Func": "createMBlazeAsmBackend", "Target": "MBlaze", "Target_Clf": "MPU", "Compiler_Type": "LLVM", "Idx": 136421, "Length": 28, "Cover_Rate": 0.4307692307692308} {"Template_token": ["", "if", "(", "TheTriple", ".", "isOSDarwin", "(", ")", ")", "assert", "(", "", "&&", "", ")", ";", "if", "(", "TheTriple", ".", "isOSWindows", "(", ")", ")", "assert", "(", "", "&&", "", ")", ";", "return", "new", "ELFAsmBackend", "(", "T", ",", "TheTriple", ".", "getOS", "(", ")", ")", ";"], "ground_truth": ["}"], "File": "MBlazeAsmBackend8", "Func": "createMBlazeAsmBackend", "Target": "MBlaze", "Target_Clf": "MPU", "Compiler_Type": "LLVM", "Idx": 136422, "Length": 44, "Cover_Rate": 0.676923076923077} {"Template_token": ["", "const", "char", "*", "regName", "=", "info", "->", "getName", "(", "i", ")", ";"], "ground_truth": ["if", "(", "regName", ")", "RegisterMap", "[", "regName", "]", "=", "i", ";"], "File": "MBlazeAsmLexer1", "Func": "InitRegisterMap", "Target": "MBlaze", "Target_Clf": "MPU", "Compiler_Type": "LLVM", "Idx": 136423, "Length": 23, "Cover_Rate": 0.39655172413793105} {"Template_token": ["", "void", "InitRegisterMap", "(", "const", "MCRegisterInfo", "*", "info", ")", "{", "unsigned", "numRegs", "=", "info", "->", "getNumRegs", "(", ")", ";", "for", "(", "unsigned", "i", "=", "", ";", "i", "<", "numRegs", ";", "++", "i", ")", "{", "const", "char", "*", "regName", "=", "info", "->", "getName", "(", "i", ")", ";", "if", "(", "regName", ")", "RegisterMap", "[", "regName", "]", "=", "i", ";", "}"], "ground_truth": ["}"], "File": "MBlazeAsmLexer1", "Func": "InitRegisterMap", "Target": "MBlaze", "Target_Clf": "MPU", "Compiler_Type": "LLVM", "Idx": 136424, "Length": 58, "Cover_Rate": 1.0} {"Template_token": ["", "switch", "(", "lexedToken", ".", "getKind", "(", ")", ")", "{", "default", ":", "return", "AsmToken", "(", "lexedToken", ")", ";", "case", "AsmToken", "::", "Error", ":"], "ground_truth": ["SetError", "(", "Lexer", "->", "getErrLoc", "(", ")", ",", "Lexer", "->", "getErr", "(", ")", ")", ";"], "File": "MBlazeAsmLexer1", "Func": "LexTokenUAL", "Target": "MBlaze", "Target_Clf": "MPU", "Compiler_Type": "LLVM", "Idx": 136425, "Length": 37, "Cover_Rate": 0.30578512396694213} {"Template_token": ["", "const", "AsmToken", "&", "lexedToken", "=", "lexDefinite", "(", ")", ";", "switch", "(", "lexedToken", ".", "getKind", "(", ")", ")", "{", "default", ":", "return", "AsmToken", "(", "lexedToken", ")", ";", "case", "AsmToken", "::", "Error", ":", "SetError", "(", "Lexer", "->", "getErrLoc", "(", ")", ",", "Lexer", "->", "getErr", "(", ")", ")", ";", "return", "AsmToken", "(", "lexedToken", ")", ";", "case", "AsmToken", "::", "Identifier", ":", "{", "unsigned", "regID", "=", "MatchRegisterName", "(", "lexedToken", ".", "getString", "(", ")", ".", "lower", "(", ")", ")", ";", "if", "(", "regID", ")", "{", "return", "AsmToken", "(", "AsmToken", "::", "Register", ",", "lexedToken", ".", "getString", "(", ")", ",", "static_cast", "<", "int64_t", ">", "(", "regID", ")", ")", ";", "}", "else", "{"], "ground_truth": ["return", "AsmToken", "(", "lexedToken", ")", ";"], "File": "MBlazeAsmLexer1", "Func": "LexTokenUAL", "Target": "MBlaze", "Target_Clf": "MPU", "Compiler_Type": "LLVM", "Idx": 136426, "Length": 110, "Cover_Rate": 0.9090909090909091} {"Template_token": ["", "RegisterMCAsmLexer", "<", "AsmLexer", ">", "X", "(", "TheTarget", ")", ";"], "ground_truth": ["}"], "File": "MBlazeAsmLexer1", "Func": "LLVMInitializeMBlazeAsmLexer", "Target": "MBlaze", "Target_Clf": "MPU", "Compiler_Type": "LLVM", "Idx": 136427, "Length": 10, "Cover_Rate": 0.6666666666666666} {"Template_token": ["", "BaseAsmLexer", "(", "const", "Target", "&", "T", ",", "const", "MCAsmInfo", "&", "MAI", ")", ":", "MCTargetAsmLexer", "(", "T", ")", ",", "AsmInfo", "(", "MAI", ")", "{"], "ground_truth": ["}"], "File": "MBlazeAsmLexer1", "Func": "MBlazeBaseAsmLexer", "Target": "MBlaze", "Target_Clf": "MPU", "Compiler_Type": "LLVM", "Idx": 136431, "Length": 24, "Cover_Rate": 1.0} {"Template_token": ["", "BaseAsmLexer", "(", "const", "Target", "&", "T", ",", "const", "MCAsmInfo", "&", "MAI", ")", ":", "MCTargetAsmLexer", "(", "T", ")", ",", "AsmInfo", "(", "MAI", ")", "{"], "ground_truth": ["}"], "File": "MBlazeAsmLexer1", "Func": "MBlazeBaseAsmLexer", "Target": "MBlaze", "Target_Clf": "MPU", "Compiler_Type": "LLVM", "Idx": 136432, "Length": 24, "Cover_Rate": 1.0} {"Template_token": ["", "unsigned", "numRegs", "=", "info", "->", "getNumRegs", "(", ")", ";", "for", "(", "unsigned", "i", "=", "", ";", "i", "<", "numRegs", ";", "++", "i", ")", "{"], "ground_truth": ["const", "char", "*", "regName", "=", "info", "->", "getName", "(", "i", ")", ";"], "File": "MBlazeAsmLexer", "Func": "InitRegisterMap", "Target": "MBlaze", "Target_Clf": "MPU", "Compiler_Type": "LLVM", "Idx": 136433, "Length": 36, "Cover_Rate": 0.6206896551724138} {"Template_token": ["", "unsigned", "numRegs", "=", "info", "->", "getNumRegs", "(", ")", ";", "for", "(", "unsigned", "i", "=", "", ";", "i", "<", "numRegs", ";", "++", "i", ")", "{", "const", "char", "*", "regName", "=", "info", "->", "getName", "(", "i", ")", ";", "if", "(", "regName", ")", "RegisterMap", "[", "regName", "]", "=", "i", ";", "}"], "ground_truth": ["}"], "File": "MBlazeAsmLexer", "Func": "InitRegisterMap", "Target": "MBlaze", "Target_Clf": "MPU", "Compiler_Type": "LLVM", "Idx": 136434, "Length": 49, "Cover_Rate": 0.8448275862068966} {"Template_token": ["", "return", "getLexer", "(", ")", "->", "Lex", "(", ")", ";"], "ground_truth": ["}"], "File": "MBlazeAsmLexer", "Func": "lexDefinite", "Target": "MBlaze", "Target_Clf": "MPU", "Compiler_Type": "LLVM", "Idx": 136435, "Length": 10, "Cover_Rate": 0.5882352941176471} {"Template_token": ["", "const", "AsmToken", "&", "lexDefinite", "(", ")", "{"], "ground_truth": ["return", "getLexer", "(", ")", "->", "Lex", "(", ")", ";"], "File": "MBlazeAsmLexer", "Func": "lexDefinite", "Target": "MBlaze", "Target_Clf": "MPU", "Compiler_Type": "LLVM", "Idx": 136436, "Length": 16, "Cover_Rate": 0.9411764705882353} {"Template_token": ["", "default", ":", "SetError", "(", "SMLoc", "(", ")", ",", "", ")", ";", "return", "AsmToken", "(", "AsmToken", "::", "Error", ",", "", ",", "", ")", ";"], "ground_truth": ["case", "", ":"], "File": "MBlazeAsmLexer", "Func": "LexToken", "Target": "MBlaze", "Target_Clf": "MPU", "Compiler_Type": "LLVM", "Idx": 136437, "Length": 26, "Cover_Rate": 0.3466666666666667} {"Template_token": ["", "return", "AsmToken", "(", "AsmToken", "::", "Error", ",", "", ",", "", ")", ";", "}", "switch", "(", "AsmInfo", ".", "getAssemblerDialect", "(", ")", ")", "{", "default", ":", "SetError", "(", "SMLoc", "(", ")", ",", "", ")", ";", "return", "AsmToken", "(", "AsmToken", "::", "Error", ",", "", ",", "", ")", ";", "case", "", ":", "return", "LexTokenUAL", "(", ")", ";"], "ground_truth": ["}"], "File": "MBlazeAsmLexer", "Func": "LexToken", "Target": "MBlaze", "Target_Clf": "MPU", "Compiler_Type": "LLVM", "Idx": 136438, "Length": 54, "Cover_Rate": 0.72} {"Template_token": ["", "std", "::", "string", "lowerCase", "=", "LowercaseString", "(", "upperCase", ")", ";", "StringRef", "lowerRef", "(", "lowerCase", ")", ";", "unsigned", "regID", "=", "MatchRegisterName", "(", "lowerRef", ")", ";", "if", "(", "regID", ")", "{", "return", "AsmToken", "(", "AsmToken", "::", "Register", ",", "lexedToken", ".", "getString", "(", ")", ",", "static_cast", "<", "int64_t", ">", "(", "regID", ")", ")", ";", "}", "else", "{", "return", "AsmToken", "(", "lexedToken", ")", ";"], "ground_truth": ["}"], "File": "MBlazeAsmLexer", "Func": "LexTokenUAL", "Target": "MBlaze", "Target_Clf": "MPU", "Compiler_Type": "LLVM", "Idx": 136439, "Length": 61, "Cover_Rate": 0.4236111111111111} {"Template_token": ["", "AsmToken", "", "(", ")", "{", "const", "AsmToken", "&", "lexedToken", "=", "lexDefinite", "(", ")", ";", "switch", "(", "lexedToken", ".", "getKind", "(", ")", ")", "{", "default", ":", "return", "AsmToken", "(", "lexedToken", ")", ";", "case", "AsmToken", "::", "Error", ":", "SetError", "(", "Lexer", "->", "getErrLoc", "(", ")", ",", "Lexer", "->", "getErr", "(", ")", ")", ";", "return", "AsmToken", "(", "lexedToken", ")", ";", "case", "AsmToken", "::", "Identifier", ":", "{", "std", "::", "string", "upperCase", "=", "lexedToken", ".", "getString", "(", ")", ".", "str", "(", ")", ";", "std", "::", "string", "lowerCase", "=", "LowercaseString", "(", "upperCase", ")", ";", "StringRef", "lowerRef", "(", "lowerCase", ")", ";", "unsigned", "regID", "=", "MatchRegisterName", "(", "lowerRef", ")", ";", "if", "(", "regID", ")", "{", "return", "AsmToken", "(", "AsmToken", "::", "Register", ",", "lexedToken", ".", "getString", "(", ")", ",", "static_cast", "<", "int64_t", ">", "(", "regID", ")", ")", ";", "}", "else", "{"], "ground_truth": ["return", "AsmToken", "(", "lexedToken", ")", ";"], "File": "MBlazeAsmLexer", "Func": "LexTokenUAL", "Target": "MBlaze", "Target_Clf": "MPU", "Compiler_Type": "LLVM", "Idx": 136440, "Length": 138, "Cover_Rate": 0.9583333333333334} {"Template_token": ["", "RegisterAsmLexer", "<", "AsmLexer", ">", "X", "(", "TheTarget", ")", ";"], "ground_truth": ["}"], "File": "MBlazeAsmLexer", "Func": "LLVMInitializeMBlazeAsmLexer", "Target": "MBlaze", "Target_Clf": "MPU", "Compiler_Type": "LLVM", "Idx": 136441, "Length": 10, "Cover_Rate": 0.6666666666666666} {"Template_token": ["", "void", "LLVMInitializeAsmLexer", "(", ")", "{", "RegisterAsmLexer", "<", "AsmLexer", ">", "X", "(", "TheTarget", ")", ";"], "ground_truth": ["}"], "File": "MBlazeAsmLexer", "Func": "LLVMInitializeMBlazeAsmLexer", "Target": "MBlaze", "Target_Clf": "MPU", "Compiler_Type": "LLVM", "Idx": 136442, "Length": 15, "Cover_Rate": 1.0} {"Template_token": ["", "rmap_ty", "::", "iterator", "iter", "=", "RegisterMap", ".", "find", "(", "Name", ".", "str", "(", ")", ")", ";", "if", "(", "iter", "!=", "RegisterMap", ".", "end", "(", ")", ")", "return", "iter", "->", "second", ";"], "ground_truth": ["else", "return", "", ";"], "File": "MBlazeAsmLexer", "Func": "MatchRegisterName", "Target": "MBlaze", "Target_Clf": "MPU", "Compiler_Type": "LLVM", "Idx": 136443, "Length": 35, "Cover_Rate": 0.813953488372093} {"Template_token": ["", "std", "::", "string", "featureString", ";", "OwningPtr", "<", "const", "TargetMachine", ">", "targetMachine", "(", "T", ".", "createTargetMachine", "(", "tripleString", ",", "featureString", ")", ")", ";"], "ground_truth": ["InitRegisterMap", "(", "targetMachine", "->", "getRegisterInfo", "(", ")", ")", ";"], "File": "MBlazeAsmLexer", "Func": "MBlazeAsmLexer", "Target": "MBlaze", "Target_Clf": "MPU", "Compiler_Type": "LLVM", "Idx": 136446, "Length": 31, "Cover_Rate": 0.5166666666666667} {"Template_token": ["", "BaseAsmLexer", "(", "const", "Target", "&", "T", ",", "const", "MCAsmInfo", "&", "MAI", ")", ":", "TargetAsmLexer", "(", "T", ")", ",", "AsmInfo", "(", "MAI", ")", "{"], "ground_truth": ["}"], "File": "MBlazeAsmLexer", "Func": "MBlazeBaseAsmLexer", "Target": "MBlaze", "Target_Clf": "MPU", "Compiler_Type": "LLVM", "Idx": 136447, "Length": 24, "Cover_Rate": 1.0} {"Template_token": ["", "BaseAsmLexer", "(", "const", "Target", "&", "T", ",", "const", "MCAsmInfo", "&", "MAI", ")", ":", "TargetAsmLexer", "(", "T", ")", ",", "AsmInfo", "(", "MAI", ")", "{"], "ground_truth": ["}"], "File": "MBlazeAsmLexer", "Func": "MBlazeBaseAsmLexer", "Target": "MBlaze", "Target_Clf": "MPU", "Compiler_Type": "LLVM", "Idx": 136448, "Length": 24, "Cover_Rate": 1.0} {"Template_token": ["", "case", "Match_MissingFeature", ":", "return", "Error", "(", "IDLoc", ",", "", ")", ";", "case", "Match_MnemonicFail", ":", "return", "Error", "(", "IDLoc", ",", "", ")", ";", "case", "Match_ConversionFail", ":", "return", "Error", "(", "IDLoc", ",", "", ")", ";", "case", "Match_InvalidOperand", ":", "ErrorLoc", "=", "IDLoc", ";", "if", "(", "ErrorInfo", "!=", "~", "", ")", "{", "if", "(", "ErrorInfo", ">=", "Operands", ".", "size", "(", ")", ")", "return", "Error", "(", "IDLoc", ",", "", ")", ";"], "ground_truth": ["ErrorLoc", "=", "(", "(", "Operand", "*", ")", "Operands", "[", "ErrorInfo", "]", ")", "->", "getStartLoc", "(", ")", ";"], "File": "MBlazeAsmParser10", "Func": "MatchAndEmitInstruction", "Target": "MBlaze", "Target_Clf": "MPU", "Compiler_Type": "LLVM", "Idx": 136449, "Length": 83, "Cover_Rate": 0.4797687861271676} {"Template_token": ["", "if", "(", "!", "ParseOperand", "(", "Operands", ")", ")", "return", "true", ";", "}"], "ground_truth": ["if", "(", "Name", ".", "startswith", "(", "", ")", "||", "Name", ".", "startswith", "(", "", ")", "||", "Name", ".", "startswith", "(", "", ")", "||", "Name", ".", "startswith", "(", "", ")", "||", "Name", ".", "startswith", "(", "", ")", "||", "Name", ".", "startswith", "(", "", ")", ")", "return", "(", "ParseMemory", "(", "Operands", ")", "==", "NULL", ")", ";"], "File": "MBlazeAsmParser10", "Func": "ParseInstruction", "Target": "MBlaze", "Target_Clf": "MPU", "Compiler_Type": "LLVM", "Idx": 136450, "Length": 66, "Cover_Rate": 0.3142857142857143} {"Template_token": ["", "ParseInstruction", "(", "StringRef", "Name", ",", "SMLoc", "NameLoc", ",", "SmallVectorImpl", "<", "MCParsedAsmOperand", "*", ">", "&", "Operands", ")", "{", "size_t", "dotLoc", "=", "Name", ".", "find", "(", "'.'", ")", ";", "Operands", ".", "push_back", "(", "Operand", "::", "CreateToken", "(", "Name", ".", "substr", "(", "", ",", "dotLoc", ")", ",", "NameLoc", ")", ")", ";", "if", "(", "dotLoc", "<", "Name", ".", "size", "(", ")", ")", "Operands", ".", "push_back", "(", "Operand", "::", "CreateToken", "(", "Name", ".", "substr", "(", "dotLoc", ")", ",", "NameLoc", ")", ")", ";", "if", "(", "getLexer", "(", ")", ".", "is", "(", "AsmToken", "::", "EndOfStatement", ")", ")", "return", "false", ";", "if", "(", "!", "ParseOperand", "(", "Operands", ")", ")", "return", "true", ";"], "ground_truth": ["while", "(", "getLexer", "(", ")", ".", "isNot", "(", "AsmToken", "::", "EndOfStatement", ")", "&&", "getLexer", "(", ")", ".", "is", "(", "AsmToken", "::", "Comma", ")", ")", "{"], "File": "MBlazeAsmParser10", "Func": "ParseInstruction", "Target": "MBlaze", "Target_Clf": "MPU", "Compiler_Type": "LLVM", "Idx": 136451, "Length": 129, "Cover_Rate": 0.6142857142857143} {"Template_token": ["", "bool", "AsmParser", "::", "MatchAndEmitInstruction", "(", "SMLoc", "IDLoc", ",", "SmallVectorImpl", "<", "MCParsedAsmOperand", "*", ">", "&", "Operands", ",", "MCStreamer", "&", "Out", ")", "{", "MCInst", "Inst", ";", "SMLoc", "ErrorLoc", ";", "unsigned", "ErrorInfo", ";", "switch", "(", "MatchInstructionImpl", "(", "Operands", ",", "Inst", ",", "ErrorInfo", ")", ")", "{", "default", ":", "break", ";", "case", "Match_Success", ":", "Out", ".", "EmitInstruction", "(", "Inst", ")", ";"], "ground_truth": ["return", "false", ";"], "File": "MBlazeAsmParser11", "Func": "MatchAndEmitInstruction", "Target": "MBlaze", "Target_Clf": "MPU", "Compiler_Type": "LLVM", "Idx": 136452, "Length": 59, "Cover_Rate": 0.34705882352941175} {"Template_token": ["", "void", "addExpr", "(", "MCInst", "&", "Inst", ",", "const", "MCExpr", "*", "Expr", ")", "const", "{", "if", "(", "Expr", "==", "", ")", "Inst", ".", "addOperand", "(", "MCOperand", "::", "CreateImm", "(", "", ")", ")", ";", "else", "if", "(", "const", "MCConstantExpr", "*", "CE", "=", "dyn_cast", "<", "MCConstantExpr", ">", "(", "Expr", ")", ")", "Inst", ".", "addOperand", "(", "MCOperand", "::", "CreateImm", "(", "CE", "->", "getValue", "(", ")", ")", ")", ";"], "ground_truth": ["else", "Inst", ".", "addOperand", "(", "MCOperand", "::", "CreateExpr", "(", "Expr", ")", ")", ";"], "File": "MBlazeAsmParser1", "Func": "addExpr", "Target": "MBlaze", "Target_Clf": "MPU", "Compiler_Type": "LLVM", "Idx": 136453, "Length": 77, "Cover_Rate": 0.9871794871794872} {"Template_token": ["", "if", "(", "Expr", "==", "", ")", "Inst", ".", "addOperand", "(", "MCOperand", "::", "CreateImm", "(", "", ")", ")", ";", "else", "if", "(", "const", "MCConstantExpr", "*", "CE", "=", "dyn_cast", "<", "MCConstantExpr", ">", "(", "Expr", ")", ")", "Inst", ".", "addOperand", "(", "MCOperand", "::", "CreateImm", "(", "CE", "->", "getValue", "(", ")", ")", ")", ";", "else", "Inst", ".", "addOperand", "(", "MCOperand", "::", "CreateExpr", "(", "Expr", ")", ")", ";"], "ground_truth": ["}"], "File": "MBlazeAsmParser1", "Func": "addExpr", "Target": "MBlaze", "Target_Clf": "MPU", "Compiler_Type": "LLVM", "Idx": 136454, "Length": 64, "Cover_Rate": 0.8205128205128205} {"Template_token": ["", "assert", "(", "N", "==", "", "&&", "", ")", ";", "addExpr", "(", "Inst", ",", "getFslImm", "(", ")", ")", ";"], "ground_truth": ["}"], "File": "MBlazeAsmParser1", "Func": "addFslOperands", "Target": "MBlaze", "Target_Clf": "MPU", "Compiler_Type": "LLVM", "Idx": 136455, "Length": 19, "Cover_Rate": 0.6129032258064516} {"Template_token": ["", "addExpr", "(", "Inst", ",", "getImm", "(", ")", ")", ";"], "ground_truth": ["}"], "File": "MBlazeAsmParser1", "Func": "addImmOperands", "Target": "MBlaze", "Target_Clf": "MPU", "Compiler_Type": "LLVM", "Idx": 136457, "Length": 10, "Cover_Rate": 0.3225806451612903} {"Template_token": ["", "if", "(", "RegOff", ")", "Inst", ".", "addOperand", "(", "MCOperand", "::", "CreateReg", "(", "RegOff", ")", ")", ";"], "ground_truth": ["else", "addExpr", "(", "Inst", ",", "getMemOff", "(", ")", ")", ";"], "File": "MBlazeAsmParser1", "Func": "addMemOperands", "Target": "MBlaze", "Target_Clf": "MPU", "Compiler_Type": "LLVM", "Idx": 136458, "Length": 26, "Cover_Rate": 0.37681159420289856} {"Template_token": ["", "assert", "(", "N", "==", "", "&&", "", ")", ";"], "ground_truth": ["Inst", ".", "addOperand", "(", "MCOperand", "::", "CreateReg", "(", "getReg", "(", ")", ")", ")", ";"], "File": "MBlazeAsmParser1", "Func": "addRegOperands", "Target": "MBlaze", "Target_Clf": "MPU", "Compiler_Type": "LLVM", "Idx": 136460, "Length": 23, "Cover_Rate": 0.6388888888888888} {"Template_token": ["", "static", "Operand", "*", "CreateFslImm", "(", "const", "MCExpr", "*", "Val", ",", "SMLoc", "S", ",", "SMLoc", "E", ")", "{", "Operand", "*", "Op", "=", "new", "Operand", "(", "Fsl", ")", ";", "Op", "->", "Imm", ".", "Val", "=", "Val", ";", "Op", "->", "StartLoc", "=", "S", ";", "Op", "->", "EndLoc", "=", "E", ";"], "ground_truth": ["return", "Op", ";"], "File": "MBlazeAsmParser1", "Func": "CreateFslImm", "Target": "MBlaze", "Target_Clf": "MPU", "Compiler_Type": "LLVM", "Idx": 136461, "Length": 50, "Cover_Rate": 0.9803921568627451} {"Template_token": ["", "static", "Operand", "*", "CreateImm", "(", "const", "MCExpr", "*", "Val", ",", "SMLoc", "S", ",", "SMLoc", "E", ")", "{"], "ground_truth": ["Operand", "*", "Op", "=", "new", "Operand", "(", "Immediate", ")", ";"], "File": "MBlazeAsmParser1", "Func": "CreateImm", "Target": "MBlaze", "Target_Clf": "MPU", "Compiler_Type": "LLVM", "Idx": 136462, "Length": 27, "Cover_Rate": 0.5294117647058824} {"Template_token": ["", "Op", "->", "Imm", ".", "Val", "=", "Val", ";", "Op", "->", "StartLoc", "=", "S", ";", "Op", "->", "EndLoc", "=", "E", ";", "return", "Op", ";"], "ground_truth": ["}"], "File": "MBlazeAsmParser1", "Func": "CreateImm", "Target": "MBlaze", "Target_Clf": "MPU", "Compiler_Type": "LLVM", "Idx": 136463, "Length": 24, "Cover_Rate": 0.47058823529411764} {"Template_token": ["", "Operand", "*", "Op", "=", "new", "Operand", "(", "Memory", ")", ";", "Op", "->", "Mem", ".", "Base", "=", "Base", ";", "Op", "->", "Mem", ".", "OffReg", "=", "Off", ";", "Op", "->", "Mem", ".", "Off", "=", "", ";", "Op", "->", "StartLoc", "=", "S", ";"], "ground_truth": ["Op", "->", "EndLoc", "=", "E", ";"], "File": "MBlazeAsmParser1", "Func": "CreateMem", "Target": "MBlaze", "Target_Clf": "MPU", "Compiler_Type": "LLVM", "Idx": 136464, "Length": 46, "Cover_Rate": 0.6764705882352942} {"Template_token": ["", "Op", "->", "Mem", ".", "OffReg", "=", "Off", ";", "Op", "->", "Mem", ".", "Off", "=", "", ";", "Op", "->", "StartLoc", "=", "S", ";", "Op", "->", "EndLoc", "=", "E", ";", "return", "Op", ";"], "ground_truth": ["}"], "File": "MBlazeAsmParser1", "Func": "CreateMem", "Target": "MBlaze", "Target_Clf": "MPU", "Compiler_Type": "LLVM", "Idx": 136465, "Length": 32, "Cover_Rate": 0.47058823529411764} {"Template_token": ["", "Op", "->", "Tok", ".", "Data", "=", "Str", ".", "data", "(", ")", ";", "Op", "->", "Tok", ".", "Length", "=", "Str", ".", "size", "(", ")", ";"], "ground_truth": ["Op", "->", "StartLoc", "=", "S", ";"], "File": "MBlazeAsmParser1", "Func": "CreateToken", "Target": "MBlaze", "Target_Clf": "MPU", "Compiler_Type": "LLVM", "Idx": 136466, "Length": 30, "Cover_Rate": 0.4838709677419355} {"Template_token": ["", "Op", "->", "Tok", ".", "Data", "=", "Str", ".", "data", "(", ")", ";", "Op", "->", "Tok", ".", "Length", "=", "Str", ".", "size", "(", ")", ";"], "ground_truth": ["Op", "->", "StartLoc", "=", "S", ";"], "File": "MBlazeAsmParser1", "Func": "CreateToken", "Target": "MBlaze", "Target_Clf": "MPU", "Compiler_Type": "LLVM", "Idx": 136467, "Length": 30, "Cover_Rate": 0.4838709677419355} {"Template_token": ["", "bool", "Error", "(", "SMLoc", "L", ",", "const", "Twine", "&", "Msg", ")", "{"], "ground_truth": ["return", "Parser", ".", "Error", "(", "L", ",", "Msg", ")", ";"], "File": "MBlazeAsmParser1", "Func": "Error", "Target": "MBlaze", "Target_Clf": "MPU", "Compiler_Type": "LLVM", "Idx": 136469, "Length": 22, "Cover_Rate": 0.9565217391304348} {"Template_token": ["", "return", "EndLoc", ";"], "ground_truth": ["}"], "File": "MBlazeAsmParser1", "Func": "getEndLoc", "Target": "MBlaze", "Target_Clf": "MPU", "Compiler_Type": "LLVM", "Idx": 136470, "Length": 4, "Cover_Rate": 0.4} {"Template_token": ["", "return", "EndLoc", ";"], "ground_truth": ["}"], "File": "MBlazeAsmParser1", "Func": "getEndLoc", "Target": "MBlaze", "Target_Clf": "MPU", "Compiler_Type": "LLVM", "Idx": 136471, "Length": 4, "Cover_Rate": 0.4} {"Template_token": ["", "assert", "(", "Kind", "==", "Fsl", "&&", "", ")", ";"], "ground_truth": ["return", "FslImm", ".", "Val", ";"], "File": "MBlazeAsmParser1", "Func": "getFslImm", "Target": "MBlaze", "Target_Clf": "MPU", "Compiler_Type": "LLVM", "Idx": 136472, "Length": 14, "Cover_Rate": 0.6086956521739131} {"Template_token": ["", "assert", "(", "Kind", "==", "Fsl", "&&", "", ")", ";", "return", "FslImm", ".", "Val", ";"], "ground_truth": ["}"], "File": "MBlazeAsmParser1", "Func": "getFslImm", "Target": "MBlaze", "Target_Clf": "MPU", "Compiler_Type": "LLVM", "Idx": 136473, "Length": 15, "Cover_Rate": 0.6521739130434783} {"Template_token": ["", "assert", "(", "Kind", "==", "Immediate", "&&", "", ")", ";"], "ground_truth": ["return", "Imm", ".", "Val", ";"], "File": "MBlazeAsmParser1", "Func": "getImm", "Target": "MBlaze", "Target_Clf": "MPU", "Compiler_Type": "LLVM", "Idx": 136474, "Length": 14, "Cover_Rate": 0.6086956521739131} {"Template_token": ["", "assert", "(", "Kind", "==", "Immediate", "&&", "", ")", ";"], "ground_truth": ["return", "Imm", ".", "Val", ";"], "File": "MBlazeAsmParser1", "Func": "getImm", "Target": "MBlaze", "Target_Clf": "MPU", "Compiler_Type": "LLVM", "Idx": 136475, "Length": 14, "Cover_Rate": 0.6086956521739131} {"Template_token": ["", "MCAsmLexer", "&", "getLexer", "(", ")", "const", "{", "return", "Parser", ".", "getLexer", "(", ")", ";"], "ground_truth": ["}"], "File": "MBlazeAsmParser1", "Func": "getLexer", "Target": "MBlaze", "Target_Clf": "MPU", "Compiler_Type": "LLVM", "Idx": 136476, "Length": 15, "Cover_Rate": 1.0} {"Template_token": ["", "assert", "(", "Kind", "==", "Memory", "&&", "", ")", ";"], "ground_truth": ["return", "Mem", ".", "Base", ";"], "File": "MBlazeAsmParser1", "Func": "getMemBase", "Target": "MBlaze", "Target_Clf": "MPU", "Compiler_Type": "LLVM", "Idx": 136478, "Length": 14, "Cover_Rate": 0.6666666666666666} {"Template_token": ["", "const", "MCExpr", "*", "getMemOff", "(", ")", "const", "{", "assert", "(", "Kind", "==", "Memory", "&&", "", ")", ";"], "ground_truth": ["return", "Mem", ".", "Off", ";"], "File": "MBlazeAsmParser1", "Func": "getMemOff", "Target": "MBlaze", "Target_Clf": "MPU", "Compiler_Type": "LLVM", "Idx": 136479, "Length": 22, "Cover_Rate": 0.9565217391304348} {"Template_token": ["", "unsigned", "getMemOffReg", "(", ")", "const", "{", "assert", "(", "Kind", "==", "Memory", "&&", "", ")", ";"], "ground_truth": ["return", "Mem", ".", "OffReg", ";"], "File": "MBlazeAsmParser1", "Func": "getMemOffReg", "Target": "MBlaze", "Target_Clf": "MPU", "Compiler_Type": "LLVM", "Idx": 136482, "Length": 20, "Cover_Rate": 0.9523809523809523} {"Template_token": ["", "return", "Parser", ";"], "ground_truth": ["}"], "File": "MBlazeAsmParser1", "Func": "getParser", "Target": "MBlaze", "Target_Clf": "MPU", "Compiler_Type": "LLVM", "Idx": 136483, "Length": 4, "Cover_Rate": 0.36363636363636365} {"Template_token": ["", "return", "Parser", ";"], "ground_truth": ["}"], "File": "MBlazeAsmParser1", "Func": "getParser", "Target": "MBlaze", "Target_Clf": "MPU", "Compiler_Type": "LLVM", "Idx": 136484, "Length": 4, "Cover_Rate": 0.36363636363636365} {"Template_token": ["", "unsigned", "getReg", "(", ")", "const", "{", "assert", "(", "Kind", "==", "Register", "&&", "", ")", ";"], "ground_truth": ["return", "Reg", ".", "RegNum", ";"], "File": "MBlazeAsmParser1", "Func": "getReg", "Target": "MBlaze", "Target_Clf": "MPU", "Compiler_Type": "LLVM", "Idx": 136485, "Length": 20, "Cover_Rate": 0.9523809523809523} {"Template_token": ["", "unsigned", "getReg", "(", ")", "const", "{", "assert", "(", "Kind", "==", "Register", "&&", "", ")", ";"], "ground_truth": ["return", "Reg", ".", "RegNum", ";"], "File": "MBlazeAsmParser1", "Func": "getReg", "Target": "MBlaze", "Target_Clf": "MPU", "Compiler_Type": "LLVM", "Idx": 136486, "Length": 20, "Cover_Rate": 0.9523809523809523} {"Template_token": ["", "SMLoc", "getStartLoc", "(", ")", "const", "{", "return", "StartLoc", ";"], "ground_truth": ["}"], "File": "MBlazeAsmParser1", "Func": "getStartLoc", "Target": "MBlaze", "Target_Clf": "MPU", "Compiler_Type": "LLVM", "Idx": 136487, "Length": 10, "Cover_Rate": 1.0} {"Template_token": ["", "StringRef", "getToken", "(", ")", "const", "{", "assert", "(", "Kind", "==", "Token", "&&", "", ")", ";", "return", "StringRef", "(", "Tok", ".", "Data", ",", "Tok", ".", "Length", ")", ";"], "ground_truth": ["}"], "File": "MBlazeAsmParser1", "Func": "getToken", "Target": "MBlaze", "Target_Clf": "MPU", "Compiler_Type": "LLVM", "Idx": 136488, "Length": 28, "Cover_Rate": 1.0} {"Template_token": ["", "bool", "isFsl", "(", ")", "const", "{", "return", "Kind", "==", "Fsl", ";"], "ground_truth": ["}"], "File": "MBlazeAsmParser1", "Func": "isFsl", "Target": "MBlaze", "Target_Clf": "MPU", "Compiler_Type": "LLVM", "Idx": 136490, "Length": 12, "Cover_Rate": 1.0} {"Template_token": ["", "return", "Kind", "==", "Immediate", ";"], "ground_truth": ["}"], "File": "MBlazeAsmParser1", "Func": "isImm", "Target": "MBlaze", "Target_Clf": "MPU", "Compiler_Type": "LLVM", "Idx": 136492, "Length": 6, "Cover_Rate": 0.5} {"Template_token": ["", "return", "Kind", "==", "Memory", ";"], "ground_truth": ["}"], "File": "MBlazeAsmParser1", "Func": "isMem", "Target": "MBlaze", "Target_Clf": "MPU", "Compiler_Type": "LLVM", "Idx": 136493, "Length": 6, "Cover_Rate": 0.5} {"Template_token": ["", "return", "Kind", "==", "Register", ";"], "ground_truth": ["}"], "File": "MBlazeAsmParser1", "Func": "isReg", "Target": "MBlaze", "Target_Clf": "MPU", "Compiler_Type": "LLVM", "Idx": 136496, "Length": 6, "Cover_Rate": 0.5} {"Template_token": ["", "bool", "isToken", "(", ")", "const", "{", "return", "Kind", "==", "Token", ";"], "ground_truth": ["}"], "File": "MBlazeAsmParser1", "Func": "isToken", "Target": "MBlaze", "Target_Clf": "MPU", "Compiler_Type": "LLVM", "Idx": 136498, "Length": 12, "Cover_Rate": 1.0} {"Template_token": ["", "RegisterMCAsmParser", "<", "AsmParser", ">", "X", "(", "TheTarget", ")", ";", "LLVMInitializeAsmLexer", "(", ")", ";"], "ground_truth": ["}"], "File": "MBlazeAsmParser1", "Func": "LLVMInitializeMBlazeAsmParser", "Target": "MBlaze", "Target_Clf": "MPU", "Compiler_Type": "LLVM", "Idx": 136499, "Length": 14, "Cover_Rate": 0.7368421052631579} {"Template_token": ["", "void", "LLVMInitializeAsmParser", "(", ")", "{", "RegisterMCAsmParser", "<", "AsmParser", ">", "X", "(", "TheTarget", ")", ";", "LLVMInitializeAsmLexer", "(", ")", ";"], "ground_truth": ["}"], "File": "MBlazeAsmParser1", "Func": "LLVMInitializeMBlazeAsmParser", "Target": "MBlaze", "Target_Clf": "MPU", "Compiler_Type": "LLVM", "Idx": 136500, "Length": 19, "Cover_Rate": 1.0} {"Template_token": ["", "switch", "(", "MatchInstructionImpl", "(", "Operands", ",", "Inst", ",", "ErrorInfo", ",", "MatchingInlineAsm", ")", ")", "{", "default", ":", "break", ";", "case", "Match_Success", ":", "Out", ".", "EmitInstruction", "(", "Inst", ")", ";", "return", "false", ";", "case", "Match_MissingFeature", ":", "return", "Error", "(", "IDLoc", ",", "", ")", ";", "case", "Match_MnemonicFail", ":", "return", "Error", "(", "IDLoc", ",", "", ")", ";", "case", "Match_InvalidOperand", ":", "{", "SMLoc", "ErrorLoc", "=", "IDLoc", ";", "if", "(", "ErrorInfo", "!=", "~", "", ")", "{", "if", "(", "ErrorInfo", ">=", "Operands", ".", "size", "(", ")", ")", "return", "Error", "(", "IDLoc", ",", "", ")", ";", "ErrorLoc", "=", "(", "(", "Operand", "*", ")", "Operands", "[", "ErrorInfo", "]", ")", "->", "getStartLoc", "(", ")", ";", "if", "(", "ErrorLoc", "==", "SMLoc", "(", ")", ")", "ErrorLoc", "=", "IDLoc", ";", "}", "return", "Error", "(", "ErrorLoc", ",", "", ")", ";", "}", "}"], "ground_truth": ["llvm_unreachable", "(", "", ")", ";"], "File": "MBlazeAsmParser1", "Func": "MatchAndEmitInstruction", "Target": "MBlaze", "Target_Clf": "MPU", "Compiler_Type": "LLVM", "Idx": 136501, "Length": 133, "Cover_Rate": 0.7869822485207101} {"Template_token": ["", "if", "(", "String", ".", "substr", "(", "", ")", ".", "getAsInteger", "(", "", ",", "regNum", ")", ")", "return", "-", "", ";", "return", "regNum", ";"], "ground_truth": ["}"], "File": "MBlazeAsmParser1", "Func": "MatchFslRegister", "Target": "MBlaze", "Target_Clf": "MPU", "Compiler_Type": "LLVM", "Idx": 136502, "Length": 24, "Cover_Rate": 0.4897959183673469} {"Template_token": ["", "if", "(", "!", "String", ".", "startswith", "(", "", ")", ")", "return", "-", "", ";", "unsigned", "regNum", ";", "if", "(", "String", ".", "substr", "(", "", ")", ".", "getAsInteger", "(", "", ",", "regNum", ")", ")", "return", "-", "", ";"], "ground_truth": ["return", "regNum", ";"], "File": "MBlazeAsmParser1", "Func": "MatchFslRegister", "Target": "MBlaze", "Target_Clf": "MPU", "Compiler_Type": "LLVM", "Idx": 136503, "Length": 40, "Cover_Rate": 0.8163265306122449} {"Template_token": ["", "AsmParser", "(", "MCSubtargetInfo", "&", "_STI", ",", "MCAsmParser", "&", "_Parser", ")", ":", "MCTargetAsmParser", "(", ")", ",", "Parser", "(", "_Parser", ")", "{"], "ground_truth": ["}"], "File": "MBlazeAsmParser1", "Func": "MBlazeAsmParser", "Target": "MBlaze", "Target_Clf": "MPU", "Compiler_Type": "LLVM", "Idx": 136504, "Length": 21, "Cover_Rate": 1.0} {"Template_token": ["", "AsmParser", "(", "MCSubtargetInfo", "&", "_STI", ",", "MCAsmParser", "&", "_Parser", ")", ":", "MCTargetAsmParser", "(", ")", ",", "Parser", "(", "_Parser", ")", "{"], "ground_truth": ["}"], "File": "MBlazeAsmParser1", "Func": "MBlazeAsmParser", "Target": "MBlaze", "Target_Clf": "MPU", "Compiler_Type": "LLVM", "Idx": 136505, "Length": 21, "Cover_Rate": 1.0} {"Template_token": ["", "case", "Immediate", ":", "Imm", "=", "o", ".", "Imm", ";", "break", ";", "case", "Token", ":", "Tok", "=", "o", ".", "Tok", ";", "break", ";", "case", "Memory", ":", "Mem", "=", "o", ".", "Mem", ";", "break", ";"], "ground_truth": ["case", "Fsl", ":"], "File": "MBlazeAsmParser1", "Func": "MBlazeOperand", "Target": "MBlaze", "Target_Clf": "MPU", "Compiler_Type": "LLVM", "Idx": 136506, "Length": 36, "Cover_Rate": 0.391304347826087} {"Template_token": ["", "case", "Register", ":", "Reg", "=", "o", ".", "Reg", ";", "break", ";", "case", "Immediate", ":", "Imm", "=", "o", ".", "Imm", ";", "break", ";", "case", "Token", ":", "Tok", "=", "o", ".", "Tok", ";", "break", ";", "case", "Memory", ":", "Mem", "=", "o", ".", "Mem", ";"], "ground_truth": ["break", ";"], "File": "MBlazeAsmParser1", "Func": "MBlazeOperand", "Target": "MBlaze", "Target_Clf": "MPU", "Compiler_Type": "LLVM", "Idx": 136507, "Length": 44, "Cover_Rate": 0.4782608695652174} {"Template_token": ["", "bool", "AsmParser", "::", "ParseDirective", "(", "AsmToken", "DirectiveID", ")", "{", "StringRef", "IDVal", "=", "DirectiveID", ".", "getIdentifier", "(", ")", ";"], "ground_truth": ["if", "(", "IDVal", "==", "", ")", "return", "ParseDirectiveWord", "(", "", ",", "DirectiveID", ".", "getLoc", "(", ")", ")", ";"], "File": "MBlazeAsmParser1", "Func": "ParseDirective", "Target": "MBlaze", "Target_Clf": "MPU", "Compiler_Type": "LLVM", "Idx": 136508, "Length": 36, "Cover_Rate": 0.9} {"Template_token": ["", "StringRef", "IDVal", "=", "DirectiveID", ".", "getIdentifier", "(", ")", ";", "if", "(", "IDVal", "==", "", ")", "return", "ParseDirectiveWord", "(", "", ",", "DirectiveID", ".", "getLoc", "(", ")", ")", ";", "return", "true", ";"], "ground_truth": ["}"], "File": "MBlazeAsmParser1", "Func": "ParseDirective", "Target": "MBlaze", "Target_Clf": "MPU", "Compiler_Type": "LLVM", "Idx": 136509, "Length": 31, "Cover_Rate": 0.775} {"Template_token": ["", "for", "(", ";", ";", ")", "{", "const", "MCExpr", "*", "Value", ";", "if", "(", "getParser", "(", ")", ".", "ParseExpression", "(", "Value", ")", ")", "return", "true", ";", "getParser", "(", ")", ".", "getStreamer", "(", ")", ".", "EmitValue", "(", "Value", ",", "Size", ",", "", ")", ";", "if", "(", "getLexer", "(", ")", ".", "is", "(", "AsmToken", "::", "EndOfStatement", ")", ")", "break", ";"], "ground_truth": ["if", "(", "getLexer", "(", ")", ".", "isNot", "(", "AsmToken", "::", "Comma", ")", ")", "return", "Error", "(", "L", ",", "", ")", ";"], "File": "MBlazeAsmParser1", "Func": "ParseDirectiveWord", "Target": "MBlaze", "Target_Clf": "MPU", "Compiler_Type": "LLVM", "Idx": 136510, "Length": 78, "Cover_Rate": 0.639344262295082} {"Template_token": ["", "default", ":", "return", "", ";", "case", "AsmToken", "::", "LParen", ":", "case", "AsmToken", "::", "Plus", ":", "case", "AsmToken", "::", "Minus", ":", "case", "AsmToken", "::", "Integer", ":", "case", "AsmToken", "::", "Identifier", ":"], "ground_truth": ["if", "(", "getParser", "(", ")", ".", "ParseExpression", "(", "EVal", ")", ")", "return", "", ";"], "File": "MBlazeAsmParser1", "Func": "ParseImmediate", "Target": "MBlaze", "Target_Clf": "MPU", "Compiler_Type": "LLVM", "Idx": 136511, "Length": 44, "Cover_Rate": 0.3697478991596639} {"Template_token": ["", "size_t", "dotLoc", "=", "Name", ".", "find", "(", "'.'", ")", ";", "Operands", ".", "push_back", "(", "Operand", "::", "CreateToken", "(", "Name", ".", "substr", "(", "", ",", "dotLoc", ")", ",", "NameLoc", ")", ")", ";", "if", "(", "dotLoc", "<", "Name", ".", "size", "(", ")", ")", "Operands", ".", "push_back", "(", "Operand", "::", "CreateToken", "(", "Name", ".", "substr", "(", "dotLoc", ")", ",", "NameLoc", ")", ")", ";", "if", "(", "getLexer", "(", ")", ".", "is", "(", "AsmToken", "::", "EndOfStatement", ")", ")", "return", "false", ";", "if", "(", "!", "ParseOperand", "(", "Operands", ")", ")", "return", "true", ";", "while", "(", "getLexer", "(", ")", ".", "isNot", "(", "AsmToken", "::", "EndOfStatement", ")", "&&", "getLexer", "(", ")", ".", "is", "(", "AsmToken", "::", "Comma", ")", ")", "{"], "ground_truth": ["getLexer", "(", ")", ".", "Lex", "(", ")", ";"], "File": "MBlazeAsmParser1", "Func": "ParseInstruction", "Target": "MBlaze", "Target_Clf": "MPU", "Compiler_Type": "LLVM", "Idx": 136512, "Length": 120, "Cover_Rate": 0.5607476635514018} {"Template_token": ["", "if", "(", "!", "Base", ".", "isReg", "(", ")", ")", "{", "Error", "(", "S", ",", "", ")", ";", "return", "", ";", "}", "if", "(", "!", "Offset", ".", "isReg", "(", ")", "&&", "!", "Offset", ".", "isImm", "(", ")", ")", "{", "Error", "(", "O", ",", "", ")", ";", "return", "", ";", "}", "Operand", "*", "Op", ";", "if", "(", "Offset", ".", "isReg", "(", ")", ")", "Op", "=", "Operand", "::", "CreateMem", "(", "Base", ".", "getReg", "(", ")", ",", "Offset", ".", "getReg", "(", ")", ",", "S", ",", "E", ")", ";"], "ground_truth": ["else", "Op", "=", "Operand", "::", "CreateMem", "(", "Base", ".", "getReg", "(", ")", ",", "Offset", ".", "getImm", "(", ")", ",", "S", ",", "E", ")", ";"], "File": "MBlazeAsmParser1", "Func": "ParseMemory", "Target": "MBlaze", "Target_Clf": "MPU", "Compiler_Type": "LLVM", "Idx": 136513, "Length": 108, "Cover_Rate": 0.5} {"Template_token": ["", "Operand", "*", "Op", ";", "if", "(", "Offset", ".", "isReg", "(", ")", ")", "Op", "=", "Operand", "::", "CreateMem", "(", "Base", ".", "getReg", "(", ")", ",", "Offset", ".", "getReg", "(", ")", ",", "S", ",", "E", ")", ";", "else", "Op", "=", "Operand", "::", "CreateMem", "(", "Base", ".", "getReg", "(", ")", ",", "Offset", ".", "getImm", "(", ")", ",", "S", ",", "E", ")", ";"], "ground_truth": ["delete", "Operands", ".", "pop_back_val", "(", ")", ";"], "File": "MBlazeAsmParser1", "Func": "ParseMemory", "Target": "MBlaze", "Target_Clf": "MPU", "Compiler_Type": "LLVM", "Idx": 136514, "Length": 66, "Cover_Rate": 0.3055555555555556} {"Template_token": ["", "SMLoc", "E", "=", "SMLoc", "::", "getFromPointer", "(", "Parser", ".", "getTok", "(", ")", ".", "getLoc", "(", ")", ".", "getPointer", "(", ")", "-", "", ")", ";", "switch", "(", "getLexer", "(", ")", ".", "getKind", "(", ")", ")", "{", "default", ":", "return", "", ";", "case", "AsmToken", "::", "Identifier", ":", "RegNo", "=", "MatchRegisterName", "(", "getLexer", "(", ")", ".", "getTok", "(", ")", ".", "getIdentifier", "(", ")", ")", ";"], "ground_truth": ["if", "(", "RegNo", "==", "", ")", "return", "", ";"], "File": "MBlazeAsmParser1", "Func": "ParseRegister", "Target": "MBlaze", "Target_Clf": "MPU", "Compiler_Type": "LLVM", "Idx": 136515, "Length": 71, "Cover_Rate": 0.6068376068376068} {"Template_token": ["", "Operand", "*", "AsmParser", "::", "ParseRegister", "(", "unsigned", "&", "RegNo", ")", "{", "SMLoc", "S", "=", "Parser", ".", "getTok", "(", ")", ".", "getLoc", "(", ")", ";", "SMLoc", "E", "=", "SMLoc", "::", "getFromPointer", "(", "Parser", ".", "getTok", "(", ")", ".", "getLoc", "(", ")", ".", "getPointer", "(", ")", "-", "", ")", ";", "switch", "(", "getLexer", "(", ")", ".", "getKind", "(", ")", ")", "{", "default", ":", "return", "", ";", "case", "AsmToken", "::", "Identifier", ":", "RegNo", "=", "MatchRegisterName", "(", "getLexer", "(", ")", ".", "getTok", "(", ")", ".", "getIdentifier", "(", ")", ")", ";", "if", "(", "RegNo", "==", "", ")", "return", "", ";", "getLexer", "(", ")", ".", "Lex", "(", ")", ";", "return", "Operand", "::", "CreateReg", "(", "RegNo", ",", "S", ",", "E", ")", ";"], "ground_truth": ["}"], "File": "MBlazeAsmParser1", "Func": "ParseRegister", "Target": "MBlaze", "Target_Clf": "MPU", "Compiler_Type": "LLVM", "Idx": 136516, "Length": 116, "Cover_Rate": 0.9914529914529915} {"Template_token": ["", "switch", "(", "Kind", ")", "{", "case", "Immediate", ":", "getImm", "(", ")", "->", "print", "(", "OS", ")", ";", "break", ";", "case", "Register", ":", "OS", "<<", "", ";", "OS", "<<", "getRegisterNumbering", "(", "getReg", "(", ")", ")", "<<", "", ";", "break", ";", "case", "Token", ":", "OS", "<<", "", "<<", "getToken", "(", ")", "<<", "", ";", "break", ";", "case", "Memory", ":", "{", "OS", "<<", "", ";", "OS", "<<", "getRegisterNumbering", "(", "getMemBase", "(", ")", ")", ";", "OS", "<<", "", ";", "unsigned", "RegOff", "=", "getMemOffReg", "(", ")", ";", "if", "(", "RegOff", ")", "OS", "<<", "", "<<", "getRegisterNumbering", "(", "RegOff", ")", ";", "else", "OS", "<<", "getMemOff", "(", ")", ";", "OS", "<<", "", ";", "}", "break", ";", "case", "Fsl", ":", "getFslImm", "(", ")", "->", "print", "(", "OS", ")", ";", "break", ";", "}"], "ground_truth": ["}"], "File": "MBlazeAsmParser1", "Func": "print", "Target": "MBlaze", "Target_Clf": "MPU", "Compiler_Type": "LLVM", "Idx": 136517, "Length": 125, "Cover_Rate": 0.9191176470588235} {"Template_token": ["", "void", "Warning", "(", "SMLoc", "L", ",", "const", "Twine", "&", "Msg", ")", "{"], "ground_truth": ["Parser", ".", "Warning", "(", "L", ",", "Msg", ")", ";"], "File": "MBlazeAsmParser1", "Func": "Warning", "Target": "MBlaze", "Target_Clf": "MPU", "Compiler_Type": "LLVM", "Idx": 136518, "Length": 21, "Cover_Rate": 0.9545454545454546} {"Template_token": ["", "Parser", ".", "Warning", "(", "L", ",", "Msg", ")", ";"], "ground_truth": ["}"], "File": "MBlazeAsmParser1", "Func": "Warning", "Target": "MBlaze", "Target_Clf": "MPU", "Compiler_Type": "LLVM", "Idx": 136519, "Length": 10, "Cover_Rate": 0.45454545454545453} {"Template_token": ["", "void", "LLVMInitializeAsmParser", "(", ")", "{"], "ground_truth": ["RegisterMCAsmParser", "<", "AsmParser", ">", "X", "(", "TheTarget", ")", ";"], "File": "MBlazeAsmParser2", "Func": "LLVMInitializeMBlazeAsmParser", "Target": "MBlaze", "Target_Clf": "MPU", "Compiler_Type": "LLVM", "Idx": 136520, "Length": 14, "Cover_Rate": 0.9333333333333333} {"Template_token": ["", "void", "LLVMInitializeAsmParser", "(", ")", "{"], "ground_truth": ["RegisterMCAsmParser", "<", "AsmParser", ">", "X", "(", "TheTarget", ")", ";"], "File": "MBlazeAsmParser2", "Func": "LLVMInitializeMBlazeAsmParser", "Target": "MBlaze", "Target_Clf": "MPU", "Compiler_Type": "LLVM", "Idx": 136521, "Length": 14, "Cover_Rate": 0.9333333333333333} {"Template_token": ["", "const", "MCExpr", "*", "Value", ";", "if", "(", "getParser", "(", ")", ".", "parseExpression", "(", "Value", ")", ")", "return", "true", ";", "getParser", "(", ")", ".", "getStreamer", "(", ")", ".", "EmitValue", "(", "Value", ",", "Size", ")", ";", "if", "(", "getLexer", "(", ")", ".", "is", "(", "AsmToken", "::", "EndOfStatement", ")", ")", "break", ";", "if", "(", "getLexer", "(", ")", ".", "isNot", "(", "AsmToken", "::", "Comma", ")", ")", "return", "Error", "(", "L", ",", "", ")", ";"], "ground_truth": ["Parser", ".", "Lex", "(", ")", ";"], "File": "MBlazeAsmParser2", "Func": "ParseDirectiveWord", "Target": "MBlaze", "Target_Clf": "MPU", "Compiler_Type": "LLVM", "Idx": 136522, "Length": 76, "Cover_Rate": 0.6333333333333333} {"Template_token": ["", "getParser", "(", ")", ".", "getStreamer", "(", ")", ".", "EmitValue", "(", "Value", ",", "Size", ")", ";", "if", "(", "getLexer", "(", ")", ".", "is", "(", "AsmToken", "::", "EndOfStatement", ")", ")", "break", ";", "if", "(", "getLexer", "(", ")", ".", "isNot", "(", "AsmToken", "::", "Comma", ")", ")", "return", "Error", "(", "L", ",", "", ")", ";", "Parser", ".", "Lex", "(", ")", ";"], "ground_truth": ["}"], "File": "MBlazeAsmParser2", "Func": "ParseDirectiveWord", "Target": "MBlaze", "Target_Clf": "MPU", "Compiler_Type": "LLVM", "Idx": 136523, "Length": 58, "Cover_Rate": 0.48333333333333334} {"Template_token": ["", "default", ":", "return", "", ";", "case", "AsmToken", "::", "Identifier", ":", "unsigned", "reg", "=", "MatchFslRegister", "(", "getLexer", "(", ")", ".", "getTok", "(", ")", ".", "getIdentifier", "(", ")", ")", ";", "if", "(", "reg", ">=", "", ")", "return", "", ";", "getLexer", "(", ")", ".", "Lex", "(", ")", ";"], "ground_truth": ["const", "MCExpr", "*", "EVal", "=", "MCConstantExpr", "::", "Create", "(", "reg", ",", "getContext", "(", ")", ")", ";"], "File": "MBlazeAsmParser2", "Func": "ParseFsl", "Target": "MBlaze", "Target_Clf": "MPU", "Compiler_Type": "LLVM", "Idx": 136524, "Length": 61, "Cover_Rate": 0.5083333333333333} {"Template_token": ["", "const", "MCExpr", "*", "EVal", ";", "switch", "(", "getLexer", "(", ")", ".", "getKind", "(", ")", ")", "{", "default", ":", "return", "", ";", "case", "AsmToken", "::", "LParen", ":", "case", "AsmToken", "::", "Plus", ":"], "ground_truth": ["case", "AsmToken", "::", "Minus", ":"], "File": "MBlazeAsmParser2", "Func": "ParseImmediate", "Target": "MBlaze", "Target_Clf": "MPU", "Compiler_Type": "LLVM", "Idx": 136525, "Length": 36, "Cover_Rate": 0.3333333333333333} {"Template_token": ["", "Operand", "*", "AsmParser", "::", "ParseImmediate", "(", ")", "{", "SMLoc", "S", "=", "Parser", ".", "getTok", "(", ")", ".", "getLoc", "(", ")", ";", "SMLoc", "E", "=", "Parser", ".", "getTok", "(", ")", ".", "getEndLoc", "(", ")", ";", "const", "MCExpr", "*", "EVal", ";", "switch", "(", "getLexer", "(", ")", ".", "getKind", "(", ")", ")", "{", "default", ":", "return", "", ";"], "ground_truth": ["case", "AsmToken", "::", "LParen", ":"], "File": "MBlazeAsmParser2", "Func": "ParseImmediate", "Target": "MBlaze", "Target_Clf": "MPU", "Compiler_Type": "LLVM", "Idx": 136526, "Length": 60, "Cover_Rate": 0.5555555555555556} {"Template_token": ["", "ParseOperand", "(", "SmallVectorImpl", "<", "MCParsedAsmOperand", "*", ">", "&", "Operands", ")", "{", "Operand", "*", "Op", ";", "Op", "=", "ParseRegister", "(", ")", ";", "if", "(", "!", "Op", ")", "Op", "=", "ParseFsl", "(", ")", ";"], "ground_truth": ["if", "(", "!", "Op", ")", "Op", "=", "ParseImmediate", "(", ")", ";"], "File": "MBlazeAsmParser2", "Func": "ParseOperand", "Target": "MBlaze", "Target_Clf": "MPU", "Compiler_Type": "LLVM", "Idx": 136527, "Length": 43, "Cover_Rate": 0.5180722891566265} {"Template_token": ["", "Op", "=", "ParseRegister", "(", ")", ";", "if", "(", "!", "Op", ")", "Op", "=", "ParseFsl", "(", ")", ";", "if", "(", "!", "Op", ")", "Op", "=", "ParseImmediate", "(", ")", ";", "if", "(", "!", "Op", ")", "{", "Error", "(", "Parser", ".", "getTok", "(", ")", ".", "getLoc", "(", ")", ",", "", ")", ";", "return", "", ";", "}", "Operands", ".", "push_back", "(", "Op", ")", ";"], "ground_truth": ["return", "Op", ";"], "File": "MBlazeAsmParser2", "Func": "ParseOperand", "Target": "MBlaze", "Target_Clf": "MPU", "Compiler_Type": "LLVM", "Idx": 136528, "Length": 63, "Cover_Rate": 0.7590361445783133} {"Template_token": ["", "Operand", "*", "AsmParser", "::", "ParseRegister", "(", "SMLoc", "&", "StartLoc", ",", "SMLoc", "&", "EndLoc", ")", "{", "StartLoc", "=", "Parser", ".", "getTok", "(", ")", ".", "getLoc", "(", ")", ";", "EndLoc", "=", "Parser", ".", "getTok", "(", ")", ".", "getEndLoc", "(", ")", ";"], "ground_truth": ["if", "(", "getLexer", "(", ")", ".", "getKind", "(", ")", "!=", "AsmToken", "::", "Identifier", ")", "return", "", ";"], "File": "MBlazeAsmParser2", "Func": "ParseRegister", "Target": "MBlaze", "Target_Clf": "MPU", "Compiler_Type": "LLVM", "Idx": 136529, "Length": 56, "Cover_Rate": 0.5384615384615384} {"Template_token": ["", "OS", "<<", "RegisterInfo", "::", "getRegisterNumbering", "(", "getMemBase", "(", ")", ")", ";", "OS", "<<", "", ";", "unsigned", "RegOff", "=", "getMemOffReg", "(", ")", ";", "if", "(", "RegOff", ")", "OS", "<<", "", "<<", "RegisterInfo", "::", "getRegisterNumbering", "(", "RegOff", ")", ";", "else", "OS", "<<", "getMemOff", "(", ")", ";", "OS", "<<", "", ";"], "ground_truth": ["}"], "File": "MBlazeAsmParser3", "Func": "dump", "Target": "MBlaze", "Target_Clf": "MPU", "Compiler_Type": "LLVM", "Idx": 136530, "Length": 49, "Cover_Rate": 0.34507042253521125} {"Template_token": ["", "RegisterAsmParser", "<", "AsmParser", ">", "X", "(", "TheTarget", ")", ";"], "ground_truth": ["LLVMInitializeAsmLexer", "(", ")", ";"], "File": "MBlazeAsmParser3", "Func": "LLVMInitializeMBlazeAsmParser", "Target": "MBlaze", "Target_Clf": "MPU", "Compiler_Type": "LLVM", "Idx": 136531, "Length": 13, "Cover_Rate": 0.6842105263157895} {"Template_token": ["", "switch", "(", "MatchInstructionImpl", "(", "Operands", ",", "Inst", ",", "ErrorInfo", ")", ")", "{", "case", "Match_Success", ":", "Out", ".", "EmitInstruction", "(", "Inst", ")", ";", "return", "false", ";", "case", "Match_MissingFeature", ":", "return", "Error", "(", "IDLoc", ",", "", ")", ";", "case", "Match_MnemonicFail", ":", "return", "Error", "(", "IDLoc", ",", "", ")", ";", "case", "Match_InvalidOperand", ":", "ErrorLoc", "=", "IDLoc", ";", "if", "(", "ErrorInfo", "!=", "~", "", ")", "{", "if", "(", "ErrorInfo", ">=", "Operands", ".", "size", "(", ")", ")", "return", "Error", "(", "IDLoc", ",", "", ")", ";", "ErrorLoc", "=", "(", "(", "Operand", "*", ")", "Operands", "[", "ErrorInfo", "]", ")", "->", "getStartLoc", "(", ")", ";", "if", "(", "ErrorLoc", "==", "SMLoc", "(", ")", ")", "ErrorLoc", "=", "IDLoc", ";", "}"], "ground_truth": ["return", "Error", "(", "ErrorLoc", ",", "", ")", ";"], "File": "MBlazeAsmParser3", "Func": "MatchAndEmitInstruction", "Target": "MBlaze", "Target_Clf": "MPU", "Compiler_Type": "LLVM", "Idx": 136532, "Length": 118, "Cover_Rate": 0.7468354430379747} {"Template_token": ["", "if", "(", "!", "String", ".", "startswith", "(", "", ")", ")", "return", "-", "", ";", "unsigned", "regNum", ";", "if", "(", "String", ".", "substr", "(", "", ")", ".", "getAsInteger", "(", "", ",", "regNum", ")", ")", "return", "-", "", ";", "return", "regNum", ";"], "ground_truth": ["}"], "File": "MBlazeAsmParser3", "Func": "MatchFslRegister", "Target": "MBlaze", "Target_Clf": "MPU", "Compiler_Type": "LLVM", "Idx": 136533, "Length": 41, "Cover_Rate": 0.803921568627451} {"Template_token": ["", "unsigned", "regNum", ";", "if", "(", "String", ".", "substr", "(", "", ")", ".", "getAsInteger", "(", "", ",", "regNum", ")", ")", "return", "-", "", ";", "return", "regNum", ";"], "ground_truth": ["}"], "File": "MBlazeAsmParser3", "Func": "MatchFslRegister", "Target": "MBlaze", "Target_Clf": "MPU", "Compiler_Type": "LLVM", "Idx": 136534, "Length": 27, "Cover_Rate": 0.5294117647058824} {"Template_token": ["", "AsmParser", "(", "const", "Target", "&", "T", ",", "MCAsmParser", "&", "_Parser", ",", "TargetMachine", "&", "_TM", ")", ":", "TargetAsmParser", "(", "T", ")", ",", "Parser", "(", "_Parser", ")", ",", "TM", "(", "_TM", ")", "{"], "ground_truth": ["}"], "File": "MBlazeAsmParser3", "Func": "MBlazeAsmParser", "Target": "MBlaze", "Target_Clf": "MPU", "Compiler_Type": "LLVM", "Idx": 136535, "Length": 32, "Cover_Rate": 1.0} {"Template_token": ["", "AsmParser", "(", "const", "Target", "&", "T", ",", "MCAsmParser", "&", "_Parser", ",", "TargetMachine", "&", "_TM", ")", ":", "TargetAsmParser", "(", "T", ")", ",", "Parser", "(", "_Parser", ")", ",", "TM", "(", "_TM", ")", "{"], "ground_truth": ["}"], "File": "MBlazeAsmParser3", "Func": "MBlazeAsmParser", "Target": "MBlaze", "Target_Clf": "MPU", "Compiler_Type": "LLVM", "Idx": 136536, "Length": 32, "Cover_Rate": 1.0} {"Template_token": ["", "unsigned", "RegNo", "=", "MatchRegisterName", "(", "getLexer", "(", ")", ".", "getTok", "(", ")", ".", "getIdentifier", "(", ")", ")", ";", "if", "(", "RegNo", "==", "", ")", "return", "", ";", "getLexer", "(", ")", ".", "Lex", "(", ")", ";", "return", "Operand", "::", "CreateReg", "(", "RegNo", ",", "S", ",", "E", ")", ";", "}"], "ground_truth": ["}"], "File": "MBlazeAsmParser3", "Func": "ParseRegister", "Target": "MBlaze", "Target_Clf": "MPU", "Compiler_Type": "LLVM", "Idx": 136537, "Length": 49, "Cover_Rate": 0.4260869565217391} {"Template_token": ["", "unsigned", "Kind", ";", "unsigned", "ErrorInfo", ";", "SmallVector", "<", "std", "::", "pair", "<", "unsigned", ",", "std", "::", "string", ">", ",", "", ">", "MapAndConstraints", ";", "switch", "(", "MatchInstructionImpl", "(", "Operands", ",", "Kind", ",", "Inst", ",", "MapAndConstraints", ",", "ErrorInfo", ",", "false", ")", ")", "{", "default", ":", "break", ";", "case", "Match_Success", ":", "Out", ".", "EmitInstruction", "(", "Inst", ")", ";", "return", "false", ";", "case", "Match_MissingFeature", ":", "return", "Error", "(", "IDLoc", ",", "", ")", ";", "case", "Match_MnemonicFail", ":", "return", "Error", "(", "IDLoc", ",", "", ")", ";", "case", "Match_InvalidOperand", ":", "{", "SMLoc", "ErrorLoc", "=", "IDLoc", ";", "if", "(", "ErrorInfo", "!=", "~", "", ")", "{", "if", "(", "ErrorInfo", ">=", "Operands", ".", "size", "(", ")", ")", "return", "Error", "(", "IDLoc", ",", "", ")", ";", "ErrorLoc", "=", "(", "(", "Operand", "*", ")", "Operands", "[", "ErrorInfo", "]", ")", "->", "getStartLoc", "(", ")", ";", "if", "(", "ErrorLoc", "==", "SMLoc", "(", ")", ")", "ErrorLoc", "=", "IDLoc", ";"], "ground_truth": ["}"], "File": "MBlazeAsmParser5", "Func": "MatchAndEmitInstruction", "Target": "MBlaze", "Target_Clf": "MPU", "Compiler_Type": "LLVM", "Idx": 136538, "Length": 145, "Cover_Rate": 0.7837837837837838} {"Template_token": ["", "case", "Match_MnemonicFail", ":", "return", "Error", "(", "IDLoc", ",", "", ")", ";", "case", "Match_InvalidOperand", ":", "{", "SMLoc", "ErrorLoc", "=", "IDLoc", ";", "if", "(", "ErrorInfo", "!=", "~", "", ")", "{", "if", "(", "ErrorInfo", ">=", "Operands", ".", "size", "(", ")", ")", "return", "Error", "(", "IDLoc", ",", "", ")", ";", "ErrorLoc", "=", "(", "(", "Operand", "*", ")", "Operands", "[", "ErrorInfo", "]", ")", "->", "getStartLoc", "(", ")", ";", "if", "(", "ErrorLoc", "==", "SMLoc", "(", ")", ")", "ErrorLoc", "=", "IDLoc", ";", "}", "return", "Error", "(", "ErrorLoc", ",", "", ")", ";", "}", "}", "llvm_unreachable", "(", "", ")", ";"], "ground_truth": ["}"], "File": "MBlazeAsmParser5", "Func": "MatchAndEmitInstruction", "Target": "MBlaze", "Target_Clf": "MPU", "Compiler_Type": "LLVM", "Idx": 136539, "Length": 92, "Cover_Rate": 0.4972972972972973} {"Template_token": ["", "if", "(", "getLexer", "(", ")", ".", "isNot", "(", "AsmToken", "::", "EndOfStatement", ")", ")", "{", "for", "(", ";", ";", ")", "{", "const", "MCExpr", "*", "Value", ";", "if", "(", "getParser", "(", ")", ".", "ParseExpression", "(", "Value", ")", ")", "return", "true", ";", "getParser", "(", ")", ".", "getStreamer", "(", ")", ".", "EmitValue", "(", "Value", ",", "Size", ")", ";", "if", "(", "getLexer", "(", ")", ".", "is", "(", "AsmToken", "::", "EndOfStatement", ")", ")", "break", ";", "if", "(", "getLexer", "(", ")", ".", "isNot", "(", "AsmToken", "::", "Comma", ")", ")", "return", "Error", "(", "L", ",", "", ")", ";", "Parser", ".", "Lex", "(", ")", ";", "}", "}", "Parser", ".", "Lex", "(", ")", ";"], "ground_truth": ["return", "false", ";"], "File": "MBlazeAsmParser7", "Func": "ParseDirectiveWord", "Target": "MBlaze", "Target_Clf": "MPU", "Compiler_Type": "LLVM", "Idx": 136540, "Length": 107, "Cover_Rate": 0.8916666666666667} {"Template_token": ["", "case", "AsmToken", "::", "Plus", ":", "case", "AsmToken", "::", "Minus", ":", "case", "AsmToken", "::", "Integer", ":", "case", "AsmToken", "::", "Identifier", ":", "if", "(", "getParser", "(", ")", ".", "ParseExpression", "(", "EVal", ")", ")", "return", "", ";", "return", "Operand", "::", "CreateImm", "(", "EVal", ",", "S", ",", "E", ")", ";", "}"], "ground_truth": ["}"], "File": "MBlazeAsmParser7", "Func": "ParseImmediate", "Target": "MBlaze", "Target_Clf": "MPU", "Compiler_Type": "LLVM", "Idx": 136541, "Length": 48, "Cover_Rate": 0.4444444444444444} {"Template_token": ["", "case", "AsmToken", "::", "Integer", ":", "case", "AsmToken", "::", "Identifier", ":", "if", "(", "getParser", "(", ")", ".", "ParseExpression", "(", "EVal", ")", ")", "return", "", ";", "return", "Operand", "::", "CreateImm", "(", "EVal", ",", "S", ",", "E", ")", ";", "}"], "ground_truth": ["}"], "File": "MBlazeAsmParser7", "Func": "ParseImmediate", "Target": "MBlaze", "Target_Clf": "MPU", "Compiler_Type": "LLVM", "Idx": 136542, "Length": 38, "Cover_Rate": 0.35185185185185186} {"Template_token": ["", "TargetRegistry", "::", "RegisterMCInstPrinter", "(", "TheTarget", ",", "createMCInstPrinter", ")", ";"], "ground_truth": ["}"], "File": "MBlazeAsmPrinter10", "Func": "LLVMInitializeMBlazeAsmPrinter", "Target": "MBlaze", "Target_Clf": "MPU", "Compiler_Type": "LLVM", "Idx": 136544, "Length": 10, "Cover_Rate": 0.4166666666666667} {"Template_token": ["", "for", "(", "unsigned", "i", "=", "", ",", "e", "=", "CSI", ".", "size", "(", ")", ";", "i", "!=", "e", ";", "++", "i", ")", "{", "unsigned", "Reg", "=", "CSI", "[", "i", "]", ".", "getReg", "(", ")", ";", "unsigned", "RegNum", "=", "RegisterInfo", "::", "getRegisterNumbering", "(", "Reg", ")", ";", "if", "(", "", "->", "contains", "(", "Reg", ")", ")", "CPUBitmask", "|=", "(", "", "<<", "RegNum", ")", ";", "}"], "ground_truth": ["if", "(", "TFI", "->", "hasFP", "(", "*", "MF", ")", ")", "CPUBitmask", "|=", "(", "", "<<", "RegisterInfo", "::"], "File": "MBlazeAsmPrinter10", "Func": "printSavedRegsBitmask", "Target": "MBlaze", "Target_Clf": "MPU", "Compiler_Type": "LLVM", "Idx": 136546, "Length": 80, "Cover_Rate": 0.40609137055837563} {"Template_token": ["", "unsigned", "RegNum", "=", "RegisterInfo", "::", "getRegisterNumbering", "(", "Reg", ")", ";", "if", "(", "", "->", "contains", "(", "Reg", ")", ")", "CPUBitmask", "|=", "(", "", "<<", "RegNum", ")", ";", "}", "if", "(", "TFI", "->", "hasFP", "(", "*", "MF", ")", ")", "CPUBitmask", "|=", "(", "", "<<", "RegisterInfo", "::", "getRegisterNumbering", "(", "RI", ".", "getFrameRegister", "(", "*", "MF", ")", ")", ")", ";", "if", "(", "MFI", "->", "adjustsStack", "(", ")", ")", "CPUBitmask", "|=", "(", "", "<<", "RegisterInfo", "::"], "ground_truth": ["getRegisterNumbering", "(", "RI", ".", "getRARegister", "(", ")", ")", ")", ";"], "File": "MBlazeAsmPrinter10", "Func": "printSavedRegsBitmask", "Target": "MBlaze", "Target_Clf": "MPU", "Compiler_Type": "LLVM", "Idx": 136547, "Length": 82, "Cover_Rate": 0.41624365482233505} {"Template_token": ["", "MCInstLower", "MCInstLowering", "(", "OutContext", ",", "*", "this", ")", ";", "MCInst", "TmpInst", ";"], "ground_truth": ["MCInstLowering", ".", "Lower", "(", "MI", ",", "TmpInst", ")", ";"], "File": "MBlazeAsmPrinter11", "Func": "EmitInstruction", "Target": "MBlaze", "Target_Clf": "MPU", "Compiler_Type": "LLVM", "Idx": 136548, "Length": 21, "Cover_Rate": 0.525} {"Template_token": ["", "void", "AsmPrinter", "::", "EmitInstruction", "(", "const", "MachineInstr", "*", "MI", ")", "{", "MCInstLower", "MCInstLowering", "(", "OutContext", ",", "*", "this", ")", ";", "MCInst", "TmpInst", ";"], "ground_truth": ["MCInstLowering", ".", "Lower", "(", "MI", ",", "TmpInst", ")", ";"], "File": "MBlazeAsmPrinter11", "Func": "EmitInstruction", "Target": "MBlaze", "Target_Clf": "MPU", "Compiler_Type": "LLVM", "Idx": 136549, "Length": 32, "Cover_Rate": 0.8} {"Template_token": ["", "if", "(", "!", "Pred", "->", "isLayoutSuccessor", "(", "MBB", ")", ")", "return", "false", ";", "if", "(", "Pred", "->", "empty", "(", ")", ")", "return", "true", ";", "MachineBasicBlock", "::", "const_iterator", "I", "=", "Pred", "->", "end", "(", ")", ";", "while", "(", "I", "!=", "Pred", "->", "begin", "(", ")", "&&", "!", "(", "--", "I", ")", "->", "isTerminator", "(", ")", ")", ";", "return", "I", "==", "Pred", "->", "end", "(", ")", "||", "!", "I", "->", "isBarrier", "(", ")", ";"], "ground_truth": ["}"], "File": "MBlazeAsmPrinter11", "Func": "isBlockOnlyReachableByFallthrough", "Target": "MBlaze", "Target_Clf": "MPU", "Compiler_Type": "LLVM", "Idx": 136550, "Length": 73, "Cover_Rate": 0.5177304964539007} {"Template_token": ["", "bool", "AsmPrinter", "::", "PrintAsmOperand", "(", "const", "MachineInstr", "*", "MI", ",", "unsigned", "OpNo", ",", "unsigned", "AsmVariant", ",", "const", "char", "*", "ExtraCode", ",", "raw_ostream", "&", "O", ")", "{", "if", "(", "ExtraCode", "&&", "ExtraCode", "[", "", "]", ")", "if", "(", "ExtraCode", "[", "", "]", "!=", "", ")", "return", "true", ";", "switch", "(", "ExtraCode", "[", "", "]", ")", "{", "default", ":", "return", "AsmPrinter", "::", "PrintAsmOperand", "(", "MI", ",", "OpNo", ",", "AsmVariant", ",", "ExtraCode", ",", "O", ")", ";", "}", "printOperand", "(", "MI", ",", "OpNo", ",", "O", ")", ";"], "ground_truth": ["return", "false", ";"], "File": "MBlazeAsmPrinter11", "Func": "PrintAsmOperand", "Target": "MBlaze", "Target_Clf": "MPU", "Compiler_Type": "LLVM", "Idx": 136551, "Length": 86, "Cover_Rate": 0.9885057471264368} {"Template_token": ["", "O", "<<", "", ";"], "ground_truth": ["for", "(", "int", "i", "=", "", ";", "i", ">=", "", ";", "i", "--", ")", "O", ".", "write_hex", "(", "(", "Value", "&", "(", "", "<<", "(", "i", "*", "", ")", ")", ")", ">>", "(", "i", "*", "", ")", ")", ";"], "File": "MBlazeAsmPrinter11", "Func": "printHex32", "Target": "MBlaze", "Target_Clf": "MPU", "Compiler_Type": "LLVM", "Idx": 136552, "Length": 43, "Cover_Rate": 0.7543859649122807} {"Template_token": ["", "for", "(", "int", "i", "=", "", ";", "i", ">=", "", ";", "i", "--", ")", "O", ".", "write_hex", "(", "(", "Value", "&", "(", "", "<<", "(", "i", "*", "", ")", ")", ")", ">>", "(", "i", "*", "", ")", ")", ";"], "ground_truth": ["}"], "File": "MBlazeAsmPrinter11", "Func": "printHex32", "Target": "MBlaze", "Target_Clf": "MPU", "Compiler_Type": "LLVM", "Idx": 136553, "Length": 40, "Cover_Rate": 0.7017543859649122} {"Template_token": ["", "const", "std", "::", "vector", "<", "CalleeSavedInfo", ">", "&", "CSI", "=", "MFI", "->", "getCalleeSavedInfo", "(", ")", ";", "for", "(", "unsigned", "i", "=", "", ",", "e", "=", "CSI", ".", "size", "(", ")", ";", "i", "!=", "e", ";", "++", "i", ")", "{", "unsigned", "Reg", "=", "CSI", "[", "i", "]", ".", "getReg", "(", ")", ";"], "ground_truth": ["unsigned", "RegNum", "=", "getRegisterNumbering", "(", "Reg", ")", ";"], "File": "MBlazeAsmPrinter11", "Func": "printSavedRegsBitmask", "Target": "MBlaze", "Target_Clf": "MPU", "Compiler_Type": "LLVM", "Idx": 136554, "Length": 59, "Cover_Rate": 0.3089005235602094} {"Template_token": ["", "const", "TargetRegisterInfo", "&", "RI", "=", "*", "TM", ".", "getRegisterInfo", "(", ")", ";", "unsigned", "stackReg", "=", "RI", ".", "getFrameRegister", "(", "*", "MF", ")", ";", "unsigned", "returnReg", "=", "RI", ".", "getRARegister", "(", ")", ";", "unsigned", "stackSize", "=", "MF", "->", "getFrameInfo", "(", ")", "->", "getStackSize", "(", ")", ";", "O", "<<", "", "<<", "getRegisterName", "(", "stackReg", ")", "<<", "','", "<<", "stackSize", "<<", "','", "<<", "getRegisterName", "(", "returnReg", ")", "<<", "'\\n'", ";"], "ground_truth": ["}"], "File": "MBlazeAsmPrinter14", "Func": "emitFrameDirective", "Target": "MBlaze", "Target_Clf": "MPU", "Compiler_Type": "LLVM", "Idx": 136555, "Length": 68, "Cover_Rate": 0.9066666666666666} {"Template_token": ["", "void", "AsmPrinter", "::", "EmitFunctionBodyEnd", "(", ")", "{", "O", "<<", "", "<<", "*", "CurrentFnSym", "<<", "'\\n'", ";"], "ground_truth": ["}"], "File": "MBlazeAsmPrinter14", "Func": "EmitFunctionBodyEnd", "Target": "MBlaze", "Target_Clf": "MPU", "Compiler_Type": "LLVM", "Idx": 136556, "Length": 17, "Cover_Rate": 1.0} {"Template_token": ["", "void", "AsmPrinter", "::", "EmitFunctionBodyStart", "(", ")", "{", "emitFrameDirective", "(", ")", ";"], "ground_truth": ["printSavedRegsBitmask", "(", ")", ";"], "File": "MBlazeAsmPrinter14", "Func": "EmitFunctionBodyStart", "Target": "MBlaze", "Target_Clf": "MPU", "Compiler_Type": "LLVM", "Idx": 136558, "Length": 15, "Cover_Rate": 0.9375} {"Template_token": ["", "emitFrameDirective", "(", ")", ";", "printSavedRegsBitmask", "(", ")", ";"], "ground_truth": ["}"], "File": "MBlazeAsmPrinter14", "Func": "EmitFunctionBodyStart", "Target": "MBlaze", "Target_Clf": "MPU", "Compiler_Type": "LLVM", "Idx": 136559, "Length": 9, "Cover_Rate": 0.5625} {"Template_token": ["", "void", "AsmPrinter", "::", "EmitFunctionEntryLabel", "(", ")", "{"], "ground_truth": ["O", "<<", "", "<<", "*", "CurrentFnSym", "<<", "'\\n'", ";"], "File": "MBlazeAsmPrinter14", "Func": "EmitFunctionEntryLabel", "Target": "MBlaze", "Target_Clf": "MPU", "Compiler_Type": "LLVM", "Idx": 136560, "Length": 16, "Cover_Rate": 0.6666666666666666} {"Template_token": ["", "void", "AsmPrinter", "::", "EmitFunctionEntryLabel", "(", ")", "{"], "ground_truth": ["O", "<<", "", "<<", "*", "CurrentFnSym", "<<", "'\\n'", ";"], "File": "MBlazeAsmPrinter14", "Func": "EmitFunctionEntryLabel", "Target": "MBlaze", "Target_Clf": "MPU", "Compiler_Type": "LLVM", "Idx": 136561, "Length": 16, "Cover_Rate": 0.6666666666666666} {"Template_token": ["", "void", "EmitInstruction", "(", "const", "MachineInstr", "*", "MI", ")", "{"], "ground_truth": ["printInstruction", "(", "MI", ")", ";"], "File": "MBlazeAsmPrinter14", "Func": "EmitInstruction", "Target": "MBlaze", "Target_Clf": "MPU", "Compiler_Type": "LLVM", "Idx": 136562, "Length": 14, "Cover_Rate": 0.7368421052631579} {"Template_token": ["", "printInstruction", "(", "MI", ")", ";", "O", "<<", "'\\n'", ";"], "ground_truth": ["}"], "File": "MBlazeAsmPrinter14", "Func": "EmitInstruction", "Target": "MBlaze", "Target_Clf": "MPU", "Compiler_Type": "LLVM", "Idx": 136563, "Length": 10, "Cover_Rate": 0.5263157894736842} {"Template_token": ["", "void", "AsmPrinter", "::", "EmitStartOfAsmFile", "(", "Module", "&", "M", ")", "{"], "ground_truth": ["}"], "File": "MBlazeAsmPrinter14", "Func": "EmitStartOfAsmFile", "Target": "MBlaze", "Target_Clf": "MPU", "Compiler_Type": "LLVM", "Idx": 136564, "Length": 11, "Cover_Rate": 1.0} {"Template_token": ["", "void", "AsmPrinter", "::", "EmitStartOfAsmFile", "(", "Module", "&", "M", ")", "{"], "ground_truth": ["}"], "File": "MBlazeAsmPrinter14", "Func": "EmitStartOfAsmFile", "Target": "MBlaze", "Target_Clf": "MPU", "Compiler_Type": "LLVM", "Idx": 136565, "Length": 11, "Cover_Rate": 1.0} {"Template_token": ["", "explicit", "AsmPrinter", "(", "formatted_raw_ostream", "&", "O", ",", "TargetMachine", "&", "TM", ",", "MCStreamer", "&", "Streamer", ")", ":", "AsmPrinter", "(", "O", ",", "TM", ",", "Streamer", ")", "{"], "ground_truth": ["Subtarget", "=", "&", "TM", ".", "getSubtarget", "<", "Subtarget", ">", "(", ")", ";"], "File": "MBlazeAsmPrinter14", "Func": "MBlazeAsmPrinter", "Target": "MBlaze", "Target_Clf": "MPU", "Compiler_Type": "LLVM", "Idx": 136566, "Length": 37, "Cover_Rate": 0.9736842105263158} {"Template_token": ["", "explicit", "AsmPrinter", "(", "formatted_raw_ostream", "&", "O", ",", "TargetMachine", "&", "TM", ",", "MCStreamer", "&", "Streamer", ")", ":", "AsmPrinter", "(", "O", ",", "TM", ",", "Streamer", ")", "{"], "ground_truth": ["Subtarget", "=", "&", "TM", ".", "getSubtarget", "<", "Subtarget", ">", "(", ")", ";"], "File": "MBlazeAsmPrinter14", "Func": "MBlazeAsmPrinter", "Target": "MBlaze", "Target_Clf": "MPU", "Compiler_Type": "LLVM", "Idx": 136567, "Length": 37, "Cover_Rate": 0.9736842105263158} {"Template_token": ["", "bool", "AsmPrinter", "::", "PrintAsmOperand", "(", "const", "MachineInstr", "*", "MI", ",", "unsigned", "OpNo", ",", "unsigned", "AsmVariant", ",", "const", "char", "*", "ExtraCode", ")", "{", "if", "(", "ExtraCode", "&&", "ExtraCode", "[", "", "]", ")", "return", "true", ";", "printOperand", "(", "MI", ",", "OpNo", ")", ";"], "ground_truth": ["return", "false", ";"], "File": "MBlazeAsmPrinter14", "Func": "PrintAsmOperand", "Target": "MBlaze", "Target_Clf": "MPU", "Compiler_Type": "LLVM", "Idx": 136568, "Length": 44, "Cover_Rate": 0.9777777777777777} {"Template_token": ["", "PrintAsmOperand", "(", "const", "MachineInstr", "*", "MI", ",", "unsigned", "OpNo", ",", "unsigned", "AsmVariant", ",", "const", "char", "*", "ExtraCode", ")", "{", "if", "(", "ExtraCode", "&&", "ExtraCode", "[", "", "]", ")", "return", "true", ";", "printOperand", "(", "MI", ",", "OpNo", ")", ";", "return", "false", ";"], "ground_truth": ["}"], "File": "MBlazeAsmPrinter14", "Func": "PrintAsmOperand", "Target": "MBlaze", "Target_Clf": "MPU", "Compiler_Type": "LLVM", "Idx": 136569, "Length": 42, "Cover_Rate": 0.9333333333333333} {"Template_token": ["", "void", "AsmPrinter", "::", "printFCCOperand", "(", "const", "MachineInstr", "*", "MI", ",", "int", "opNum", ",", "const", "char", "*", "Modifier", ")", "{"], "ground_truth": ["const", "MachineOperand", "&", "MO", "=", "MI", "->", "getOperand", "(", "opNum", ")", ";"], "File": "MBlazeAsmPrinter14", "Func": "printFCCOperand", "Target": "MBlaze", "Target_Clf": "MPU", "Compiler_Type": "LLVM", "Idx": 136571, "Length": 31, "Cover_Rate": 0.62} {"Template_token": ["", "const", "MachineOperand", "&", "MO", "=", "MI", "->", "getOperand", "(", "opNum", ")", ";", "if", "(", "MO", ".", "getType", "(", ")", "==", "MachineOperand", "::", "MO_Immediate", ")", "O", "<<", "", "<<", "(", "unsigned", "int", ")", "MO", ".", "getImm", "(", ")", ";", "else", "printOperand", "(", "MI", ",", "opNum", ")", ";"], "ground_truth": ["}"], "File": "MBlazeAsmPrinter14", "Func": "printFSLImm", "Target": "MBlaze", "Target_Clf": "MPU", "Compiler_Type": "LLVM", "Idx": 136572, "Length": 47, "Cover_Rate": 0.7704918032786885} {"Template_token": ["", "if", "(", "MO", ".", "getType", "(", ")", "==", "MachineOperand", "::", "MO_Immediate", ")", "O", "<<", "", "<<", "(", "unsigned", "int", ")", "MO", ".", "getImm", "(", ")", ";", "else", "printOperand", "(", "MI", ",", "opNum", ")", ";"], "ground_truth": ["}"], "File": "MBlazeAsmPrinter14", "Func": "printFSLImm", "Target": "MBlaze", "Target_Clf": "MPU", "Compiler_Type": "LLVM", "Idx": 136573, "Length": 35, "Cover_Rate": 0.5737704918032787} {"Template_token": ["", "O", "<<", "", ";"], "ground_truth": ["for", "(", "int", "i", "=", "", ";", "i", ">=", "", ";", "i", "--", ")", "O", "<<", "utohexstr", "(", "(", "Value", "&", "(", "", "<<", "(", "i", "*", "", ")", ")", ")", ">>", "(", "i", "*", "", ")", ")", ";"], "File": "MBlazeAsmPrinter14", "Func": "printHex32", "Target": "MBlaze", "Target_Clf": "MPU", "Compiler_Type": "LLVM", "Idx": 136574, "Length": 43, "Cover_Rate": 0.7962962962962963} {"Template_token": ["", "printOperand", "(", "MI", ",", "opNum", "+", "", ")", ";"], "ground_truth": ["O", "<<", "", ";"], "File": "MBlazeAsmPrinter14", "Func": "printMemOperand", "Target": "MBlaze", "Target_Clf": "MPU", "Compiler_Type": "LLVM", "Idx": 136576, "Length": 13, "Cover_Rate": 0.325} {"Template_token": ["", "printOperand", "(", "MI", ",", "opNum", "+", "", ")", ";", "O", "<<", "", ";"], "ground_truth": ["printOperand", "(", "MI", ",", "opNum", ")", ";"], "File": "MBlazeAsmPrinter14", "Func": "printMemOperand", "Target": "MBlaze", "Target_Clf": "MPU", "Compiler_Type": "LLVM", "Idx": 136577, "Length": 20, "Cover_Rate": 0.5} {"Template_token": ["", "O", "<<", "*", "GetExternalSymbolSymbol", "(", "MO", ".", "getSymbolName", "(", ")", ")", ";", "break", ";", "case", "MachineOperand", "::", "MO_JumpTableIndex", ":", "O", "<<", "MAI", "->", "getPrivateGlobalPrefix", "(", ")", "<<", "", "<<", "getFunctionNumber", "(", ")", "<<", "'_'", "<<", "MO", ".", "getIndex", "(", ")", ";", "break", ";", "case", "MachineOperand", "::", "MO_ConstantPoolIndex", ":", "O", "<<", "MAI", "->", "getPrivateGlobalPrefix", "(", ")", "<<", "", "<<", "getFunctionNumber", "(", ")", "<<", "", "<<", "MO", ".", "getIndex", "(", ")", ";", "if", "(", "MO", ".", "getOffset", "(", ")", ")", "O", "<<", "", "<<", "MO", ".", "getOffset", "(", ")", ";", "break", ";", "default", ":", "llvm_unreachable", "(", "", ")", ";", "}"], "ground_truth": ["}"], "File": "MBlazeAsmPrinter14", "Func": "printOperand", "Target": "MBlaze", "Target_Clf": "MPU", "Compiler_Type": "LLVM", "Idx": 136578, "Length": 99, "Cover_Rate": 0.38076923076923075} {"Template_token": ["", "O", "<<", "*", "GetExternalSymbolSymbol", "(", "MO", ".", "getSymbolName", "(", ")", ")", ";", "break", ";", "case", "MachineOperand", "::", "MO_JumpTableIndex", ":", "O", "<<", "MAI", "->", "getPrivateGlobalPrefix", "(", ")", "<<", "", "<<", "getFunctionNumber", "(", ")", "<<", "'_'", "<<", "MO", ".", "getIndex", "(", ")", ";", "break", ";", "case", "MachineOperand", "::", "MO_ConstantPoolIndex", ":", "O", "<<", "MAI", "->", "getPrivateGlobalPrefix", "(", ")", "<<", "", "<<", "getFunctionNumber", "(", ")", "<<", "", "<<", "MO", ".", "getIndex", "(", ")", ";"], "ground_truth": ["if", "(", "MO", ".", "getOffset", "(", ")", ")", "O", "<<", "", "<<", "MO", ".", "getOffset", "(", ")", ";"], "File": "MBlazeAsmPrinter14", "Func": "printOperand", "Target": "MBlaze", "Target_Clf": "MPU", "Compiler_Type": "LLVM", "Idx": 136579, "Length": 88, "Cover_Rate": 0.3384615384615385} {"Template_token": ["", "const", "FunctionInfo", "*", "FI", "=", "MF", "->", "getInfo", "<", "FunctionInfo", ">", "(", ")", ";", "unsigned", "int", "CPUBitmask", "=", "", ";", "const", "MachineFrameInfo", "*", "MFI", "=", "MF", "->", "getFrameInfo", "(", ")", ";", "const", "std", "::", "vector", "<", "CalleeSavedInfo", ">", "&", "CSI", "=", "MFI", "->", "getCalleeSavedInfo", "(", ")", ";", "for", "(", "unsigned", "i", "=", "", ",", "e", "=", "CSI", ".", "size", "(", ")", ";", "i", "!=", "e", ";", "++", "i", ")", "{", "unsigned", "RegNum", "=", "RegisterInfo", "::", "getRegisterNumbering", "(", "CSI", "[", "i", "]", ".", "getReg", "(", ")", ")", ";", "if", "(", "CSI", "[", "i", "]", ".", "getRegClass", "(", ")", "==", "", ")", "CPUBitmask", "|=", "(", "", "<<", "RegNum", ")", ";", "}", "if", "(", "RI", ".", "hasFP", "(", "*", "MF", ")", ")", "CPUBitmask", "|=", "(", "", "<<", "RegisterInfo", "::", "getRegisterNumbering", "(", "RI", ".", "getFrameRegister", "(", "*", "MF", ")", ")", ")", ";", "if", "(", "MFI", "->", "hasCalls", "(", ")", ")", "CPUBitmask", "|=", "(", "", "<<", "RegisterInfo", "::"], "ground_truth": ["getRegisterNumbering", "(", "RI", ".", "getRARegister", "(", ")", ")", ")", ";"], "File": "MBlazeAsmPrinter14", "Func": "printSavedRegsBitmask", "Target": "MBlaze", "Target_Clf": "MPU", "Compiler_Type": "LLVM", "Idx": 136580, "Length": 163, "Cover_Rate": 0.7912621359223301} {"Template_token": ["", "void", "AsmPrinter", "::", "printUnsignedImm", "(", "const", "MachineInstr", "*", "MI", ",", "int", "opNum", ")", "{"], "ground_truth": ["const", "MachineOperand", "&", "MO", "=", "MI", "->", "getOperand", "(", "opNum", ")", ";"], "File": "MBlazeAsmPrinter14", "Func": "printUnsignedImm", "Target": "MBlaze", "Target_Clf": "MPU", "Compiler_Type": "LLVM", "Idx": 136581, "Length": 26, "Cover_Rate": 0.4406779661016949} {"Template_token": ["", "const", "MachineOperand", "&", "MO", "=", "MI", "->", "getOperand", "(", "opNum", ")", ";", "if", "(", "MO", ".", "getType", "(", ")", "==", "MachineOperand", "::", "MO_Immediate", ")", "O", "<<", "(", "unsigned", "int", ")", "MO", ".", "getImm", "(", ")", ";", "else", "printOperand", "(", "MI", ",", "opNum", ")", ";"], "ground_truth": ["}"], "File": "MBlazeAsmPrinter14", "Func": "printUnsignedImm", "Target": "MBlaze", "Target_Clf": "MPU", "Compiler_Type": "LLVM", "Idx": 136582, "Length": 45, "Cover_Rate": 0.7627118644067796} {"Template_token": ["", "const", "TargetRegisterInfo", "&", "RI", "=", "*", "TM", ".", "getRegisterInfo", "(", ")", ";", "unsigned", "stackReg", "=", "RI", ".", "getFrameRegister", "(", "*", "MF", ")", ";", "unsigned", "returnReg", "=", "RI", ".", "getRARegister", "(", ")", ";", "unsigned", "stackSize", "=", "MF", "->", "getFrameInfo", "(", ")", "->", "getStackSize", "(", ")", ";"], "ground_truth": ["OutStreamer", ".", "EmitRawText", "(", "", "+", "Twine", "(", "getRegisterName", "(", "stackReg", ")", ")", "+", "", "+", "Twine", "(", "stackSize", ")", "+", "", "+", "Twine", "(", "getRegisterName", "(", "returnReg", ")", ")", ")", ";"], "File": "MBlazeAsmPrinter1", "Func": "emitFrameDirective", "Target": "MBlaze", "Target_Clf": "MPU", "Compiler_Type": "LLVM", "Idx": 136583, "Length": 77, "Cover_Rate": 0.9058823529411765} {"Template_token": ["", "void", "AsmPrinter", "::", "emitFrameDirective", "(", ")", "{", "const", "TargetRegisterInfo", "&", "RI", "=", "*", "TM", ".", "getRegisterInfo", "(", ")", ";", "unsigned", "stackReg", "=", "RI", ".", "getFrameRegister", "(", "*", "MF", ")", ";", "unsigned", "returnReg", "=", "RI", ".", "getRARegister", "(", ")", ";"], "ground_truth": ["unsigned", "stackSize", "=", "MF", "->", "getFrameInfo", "(", ")", "->", "getStackSize", "(", ")", ";"], "File": "MBlazeAsmPrinter1", "Func": "emitFrameDirective", "Target": "MBlaze", "Target_Clf": "MPU", "Compiler_Type": "LLVM", "Idx": 136584, "Length": 52, "Cover_Rate": 0.611764705882353} {"Template_token": ["", "OutStreamer", ".", "EmitRawText", "(", "", "+", "Twine", "(", "CurrentFnSym", "->", "getName", "(", ")", ")", ")", ";"], "ground_truth": ["}"], "File": "MBlazeAsmPrinter1", "Func": "EmitFunctionBodyEnd", "Target": "MBlaze", "Target_Clf": "MPU", "Compiler_Type": "LLVM", "Idx": 136586, "Length": 17, "Cover_Rate": 0.7083333333333334} {"Template_token": ["", "SmallString", "<", "", ">", "Str", ";", "raw_svector_ostream", "OS", "(", "Str", ")", ";"], "ground_truth": ["printSavedRegsBitmask", "(", "OS", ")", ";"], "File": "MBlazeAsmPrinter1", "Func": "EmitFunctionBodyStart", "Target": "MBlaze", "Target_Clf": "MPU", "Compiler_Type": "LLVM", "Idx": 136587, "Length": 17, "Cover_Rate": 0.425} {"Template_token": ["", "void", "AsmPrinter", "::", "EmitFunctionEntryLabel", "(", ")", "{", "OutStreamer", ".", "EmitRawText", "(", "", "+", "Twine", "(", "CurrentFnSym", "->", "getName", "(", ")", ")", ")", ";", "OutStreamer", ".", "EmitLabel", "(", "CurrentFnSym", ")", ";"], "ground_truth": ["}"], "File": "MBlazeAsmPrinter1", "Func": "EmitFunctionEntryLabel", "Target": "MBlaze", "Target_Clf": "MPU", "Compiler_Type": "LLVM", "Idx": 136588, "Length": 31, "Cover_Rate": 1.0} {"Template_token": ["", "void", "EmitInstruction", "(", "const", "MachineInstr", "*", "MI", ")", "{", "SmallString", "<", "", ">", "Str", ";", "raw_svector_ostream", "OS", "(", "Str", ")", ";", "printInstruction", "(", "MI", ",", "OS", ")", ";"], "ground_truth": ["OutStreamer", ".", "EmitRawText", "(", "OS", ".", "str", "(", ")", ")", ";"], "File": "MBlazeAsmPrinter1", "Func": "EmitInstruction", "Target": "MBlaze", "Target_Clf": "MPU", "Compiler_Type": "LLVM", "Idx": 136589, "Length": 39, "Cover_Rate": 0.975} {"Template_token": ["", "const", "MachineOperand", "&", "MO", "=", "MI", "->", "getOperand", "(", "opNum", ")", ";"], "ground_truth": ["O", "<<", "", "(", "(", "", ")", "MO", ".", "getImm", "(", ")", ")", ";"], "File": "MBlazeAsmPrinter1", "Func": "printFCCOperand", "Target": "MBlaze", "Target_Clf": "MPU", "Compiler_Type": "LLVM", "Idx": 136590, "Length": 26, "Cover_Rate": 0.48148148148148145} {"Template_token": ["", "const", "MachineOperand", "&", "MO", "=", "MI", "->", "getOperand", "(", "opNum", ")", ";"], "ground_truth": ["if", "(", "MO", ".", "getType", "(", ")", "==", "MachineOperand", "::", "MO_Immediate", ")", "O", "<<", "", "<<", "(", "unsigned", "int", ")", "MO", ".", "getImm", "(", ")", ";"], "File": "MBlazeAsmPrinter1", "Func": "printFSLImm", "Target": "MBlaze", "Target_Clf": "MPU", "Compiler_Type": "LLVM", "Idx": 136591, "Length": 38, "Cover_Rate": 0.5671641791044776} {"Template_token": ["", "if", "(", "MO", ".", "getType", "(", ")", "==", "MachineOperand", "::", "MO_Immediate", ")", "O", "<<", "", "<<", "(", "unsigned", "int", ")", "MO", ".", "getImm", "(", ")", ";", "else", "printOperand", "(", "MI", ",", "opNum", ",", "O", ")", ";"], "ground_truth": ["}"], "File": "MBlazeAsmPrinter1", "Func": "printFSLImm", "Target": "MBlaze", "Target_Clf": "MPU", "Compiler_Type": "LLVM", "Idx": 136592, "Length": 37, "Cover_Rate": 0.5522388059701493} {"Template_token": ["", "printOperand", "(", "MI", ",", "opNum", "+", "", ",", "O", ")", ";", "O", "<<", "", ";", "printOperand", "(", "MI", ",", "opNum", ",", "O", ")", ";"], "ground_truth": ["}"], "File": "MBlazeAsmPrinter1", "Func": "printMemOperand", "Target": "MBlaze", "Target_Clf": "MPU", "Compiler_Type": "LLVM", "Idx": 136593, "Length": 25, "Cover_Rate": 0.5208333333333334} {"Template_token": ["", "void", "AsmPrinter", "::", "printMemOperand", "(", "const", "MachineInstr", "*", "MI", ",", "int", "opNum", ",", "raw_ostream", "&", "O", ",", "const", "char", "*", "Modifier", ")", "{", "printOperand", "(", "MI", ",", "opNum", "+", "", ",", "O", ")", ";", "O", "<<", "", ";", "printOperand", "(", "MI", ",", "opNum", ",", "O", ")", ";"], "ground_truth": ["}"], "File": "MBlazeAsmPrinter1", "Func": "printMemOperand", "Target": "MBlaze", "Target_Clf": "MPU", "Compiler_Type": "LLVM", "Idx": 136594, "Length": 48, "Cover_Rate": 1.0} {"Template_token": ["", "switch", "(", "MO", ".", "getType", "(", ")", ")", "{", "case", "MachineOperand", "::", "MO_Register", ":", "O", "<<", "getRegisterName", "(", "MO", ".", "getReg", "(", ")", ")", ";", "break", ";", "case", "MachineOperand", "::", "MO_Immediate", ":", "O", "<<", "(", "int", ")", "MO", ".", "getImm", "(", ")", ";", "break", ";", "case", "MachineOperand", "::", "MO_FPImmediate", ":", "{", "const", "ConstantFP", "*", "fp", "=", "MO", ".", "getFPImm", "(", ")", ";", "printHex32", "(", "fp", "->", "getValueAPF", "(", ")", ".", "bitcastToAPInt", "(", ")", ".", "getZExtValue", "(", ")", ",", "O", ")", ";", "O", "<<", "", "<<", "*", "fp", ";", "break", ";", "}", "case", "MachineOperand", "::", "MO_MachineBasicBlock", ":", "O", "<<", "*", "MO", ".", "getMBB", "(", ")", "->", "getSymbol", "(", ")", ";", "return", ";", "case", "MachineOperand", "::", "MO_GlobalAddress", ":", "O", "<<", "*", "Mang", "->", "getSymbol", "(", "MO", ".", "getGlobal", "(", ")", ")", ";", "break", ";", "case", "MachineOperand", "::", "MO_ExternalSymbol", ":", "O", "<<", "*", "GetExternalSymbolSymbol", "(", "MO", ".", "getSymbolName", "(", ")", ")", ";", "break", ";", "case", "MachineOperand", "::", "MO_JumpTableIndex", ":", "O", "<<", "MAI", "->", "getPrivateGlobalPrefix", "(", ")", "<<", "", "<<", "getFunctionNumber", "(", ")", "<<", "'_'", "<<", "MO", ".", "getIndex", "(", ")", ";", "break", ";", "case", "MachineOperand", "::", "MO_ConstantPoolIndex", ":", "O", "<<", "MAI", "->", "getPrivateGlobalPrefix", "(", ")", "<<", "", "<<", "getFunctionNumber", "(", ")", "<<", "", "<<", "MO", ".", "getIndex", "(", ")", ";", "if", "(", "MO", ".", "getOffset", "(", ")", ")", "O", "<<", "", "<<", "MO", ".", "getOffset", "(", ")", ";", "break", ";", "default", ":", "llvm_unreachable", "(", "", ")", ";", "}"], "ground_truth": ["}"], "File": "MBlazeAsmPrinter1", "Func": "printOperand", "Target": "MBlaze", "Target_Clf": "MPU", "Compiler_Type": "LLVM", "Idx": 136595, "Length": 236, "Cover_Rate": 0.8872180451127819} {"Template_token": ["", "}", "if", "(", "RI", ".", "hasFP", "(", "*", "MF", ")", ")", "CPUBitmask", "|=", "(", "", "<<", "RegisterInfo", "::", "getRegisterNumbering", "(", "RI", ".", "getFrameRegister", "(", "*", "MF", ")", ")", ")", ";", "if", "(", "MFI", "->", "hasCalls", "(", ")", ")", "CPUBitmask", "|=", "(", "", "<<", "RegisterInfo", "::", "getRegisterNumbering", "(", "RI", ".", "getRARegister", "(", ")", ")", ")", ";", "O", "<<", "", ";", "printHex32", "(", "CPUBitmask", ",", "O", ")", ";"], "ground_truth": ["O", "<<", "','", "<<", "FI", "->", "getCPUTopSavedRegOff", "(", ")", "<<", "'\\n'", ";"], "File": "MBlazeAsmPrinter1", "Func": "printSavedRegsBitmask", "Target": "MBlaze", "Target_Clf": "MPU", "Compiler_Type": "LLVM", "Idx": 136596, "Length": 78, "Cover_Rate": 0.3696682464454976} {"Template_token": ["", "for", "(", "unsigned", "i", "=", "", ",", "e", "=", "CSI", ".", "size", "(", ")", ";", "i", "!=", "e", ";", "++", "i", ")", "{", "unsigned", "RegNum", "=", "RegisterInfo", "::", "getRegisterNumbering", "(", "CSI", "[", "i", "]", ".", "getReg", "(", ")", ")", ";", "if", "(", "CSI", "[", "i", "]", ".", "getRegClass", "(", ")", "==", "", ")", "CPUBitmask", "|=", "(", "", "<<", "RegNum", ")", ";", "}", "if", "(", "RI", ".", "hasFP", "(", "*", "MF", ")", ")", "CPUBitmask", "|=", "(", "", "<<", "RegisterInfo", "::"], "ground_truth": ["getRegisterNumbering", "(", "RI", ".", "getFrameRegister", "(", "*", "MF", ")", ")", ")", ";"], "File": "MBlazeAsmPrinter1", "Func": "printSavedRegsBitmask", "Target": "MBlaze", "Target_Clf": "MPU", "Compiler_Type": "LLVM", "Idx": 136597, "Length": 91, "Cover_Rate": 0.4312796208530806} {"Template_token": ["", "const", "MachineOperand", "&", "MO", "=", "MI", "->", "getOperand", "(", "opNum", ")", ";", "if", "(", "MO", ".", "getType", "(", ")", "==", "MachineOperand", "::", "MO_Immediate", ")", "O", "<<", "(", "unsigned", "int", ")", "MO", ".", "getImm", "(", ")", ";"], "ground_truth": ["else", "printOperand", "(", "MI", ",", "opNum", ",", "O", ")", ";"], "File": "MBlazeAsmPrinter1", "Func": "printUnsignedImm", "Target": "MBlaze", "Target_Clf": "MPU", "Compiler_Type": "LLVM", "Idx": 136598, "Length": 46, "Cover_Rate": 0.7076923076923077} {"Template_token": ["", "const", "MachineOperand", "&", "MO", "=", "MI", "->", "getOperand", "(", "opNum", ")", ";", "if", "(", "MO", ".", "getType", "(", ")", "==", "MachineOperand", "::", "MO_Immediate", ")", "O", "<<", "(", "unsigned", "int", ")", "MO", ".", "getImm", "(", ")", ";"], "ground_truth": ["else", "printOperand", "(", "MI", ",", "opNum", ",", "O", ")", ";"], "File": "MBlazeAsmPrinter1", "Func": "printUnsignedImm", "Target": "MBlaze", "Target_Clf": "MPU", "Compiler_Type": "LLVM", "Idx": 136599, "Length": 46, "Cover_Rate": 0.7076923076923077} {"Template_token": ["", "const", "MachineOperand", "&", "MO", "=", "MI", "->", "getOperand", "(", "opNum", ")", ";"], "ground_truth": ["if", "(", "MO", ".", "isImm", "(", ")", ")", "O", "<<", "(", "unsigned", "int", ")", "MO", ".", "getImm", "(", ")", ";"], "File": "MBlazeAsmPrinter3", "Func": "printUnsignedImm", "Target": "MBlaze", "Target_Clf": "MPU", "Compiler_Type": "LLVM", "Idx": 136601, "Length": 32, "Cover_Rate": 0.5245901639344263} {"Template_token": ["", "static", "MCInstPrinter", "*", "createMCInstPrinter", "(", "const", "Target", "&", "T", ",", "TargetMachine", "&", "TM", ",", "unsigned", "SyntaxVariant", ",", "const", "MCAsmInfo", "&", "MAI", ")", "{"], "ground_truth": ["if", "(", "SyntaxVariant", "==", "", ")", "return", "new", "InstPrinter", "(", "TM", ",", "MAI", ")", ";"], "File": "MBlazeAsmPrinter4", "Func": "createMBlazeMCInstPrinter", "Target": "MBlaze", "Target_Clf": "MPU", "Compiler_Type": "LLVM", "Idx": 136602, "Length": 38, "Cover_Rate": 0.9047619047619048} {"Template_token": ["", "static", "MCInstPrinter", "*", "createMCInstPrinter", "(", "const", "Target", "&", "T", ",", "TargetMachine", "&", "TM", ",", "unsigned", "SyntaxVariant", ",", "const", "MCAsmInfo", "&", "MAI", ")", "{", "if", "(", "SyntaxVariant", "==", "", ")", "return", "new", "InstPrinter", "(", "TM", ",", "MAI", ")", ";", "return", "", ";"], "ground_truth": ["}"], "File": "MBlazeAsmPrinter4", "Func": "createMBlazeMCInstPrinter", "Target": "MBlaze", "Target_Clf": "MPU", "Compiler_Type": "LLVM", "Idx": 136603, "Length": 42, "Cover_Rate": 1.0} {"Template_token": ["", "const", "std", "::", "vector", "<", "CalleeSavedInfo", ">", "&", "CSI", "=", "MFI", "->", "getCalleeSavedInfo", "(", ")", ";", "for", "(", "unsigned", "i", "=", "", ",", "e", "=", "CSI", ".", "size", "(", ")", ";", "i", "!=", "e", ";", "++", "i", ")", "{", "unsigned", "Reg", "=", "CSI", "[", "i", "]", ".", "getReg", "(", ")", ";", "unsigned", "RegNum", "=", "RegisterInfo", "::", "getRegisterNumbering", "(", "Reg", ")", ";", "if", "(", "", "->", "contains", "(", "Reg", ")", ")", "CPUBitmask", "|=", "(", "", "<<", "RegNum", ")", ";", "}", "if", "(", "TFI", "->", "hasFP", "(", "*", "MF", ")", ")", "CPUBitmask", "|=", "(", "", "<<", "RegisterInfo", "::", "getRegisterNumbering", "(", "RI", ".", "getFrameRegister", "(", "*", "MF", ")", ")", ")", ";", "if", "(", "MFI", "->", "adjustsStack", "(", ")", ")", "CPUBitmask", "|=", "(", "", "<<", "RegisterInfo", "::", "getRegisterNumbering", "(", "RI", ".", "getRARegister", "(", ")", ")", ")", ";"], "ground_truth": ["OutStreamer", ".", "EmitRawText", "(", "", "+", "Twine", "::", "utohexstr", "(", "CPUBitmask", ")", ")", ";"], "File": "MBlazeAsmPrinter6", "Func": "printSavedRegsBitmask", "Target": "MBlaze", "Target_Clf": "MPU", "Compiler_Type": "LLVM", "Idx": 136604, "Length": 147, "Cover_Rate": 0.7461928934010152} {"Template_token": ["", "unsigned", "Reg", "=", "CSI", "[", "i", "]", ".", "getReg", "(", ")", ";", "unsigned", "RegNum", "=", "RegisterInfo", "::", "getRegisterNumbering", "(", "Reg", ")", ";", "if", "(", "", "->", "contains", "(", "Reg", ")", ")", "CPUBitmask", "|=", "(", "", "<<", "RegNum", ")", ";", "}", "if", "(", "TFI", "->", "hasFP", "(", "*", "MF", ")", ")", "CPUBitmask", "|=", "(", "", "<<", "RegisterInfo", "::", "getRegisterNumbering", "(", "RI", ".", "getFrameRegister", "(", "*", "MF", ")", ")", ")", ";", "if", "(", "MFI", "->", "adjustsStack", "(", ")", ")", "CPUBitmask", "|=", "(", "", "<<", "RegisterInfo", "::", "getRegisterNumbering", "(", "RI", ".", "getRARegister", "(", ")", ")", ")", ";", "OutStreamer", ".", "EmitRawText", "(", "", "+", "Twine", "::", "utohexstr", "(", "CPUBitmask", ")", ")", ";"], "ground_truth": ["}"], "File": "MBlazeAsmPrinter6", "Func": "printSavedRegsBitmask", "Target": "MBlaze", "Target_Clf": "MPU", "Compiler_Type": "LLVM", "Idx": 136605, "Length": 109, "Cover_Rate": 0.5532994923857868} {"Template_token": ["", "explicit", "AsmPrinter", "(", "formatted_raw_ostream", "&", "O", ",", "TargetMachine", "&", "TM", ",", "MCContext", "&", "Ctx", ",", "MCStreamer", "&", "Streamer", ",", "const", "MCAsmInfo", "*", "T", ")", ":", "AsmPrinter", "(", "O", ",", "TM", ",", "Ctx", ",", "Streamer", ",", "T", ")", "{", "Subtarget", "=", "&", "TM", ".", "getSubtarget", "<", "Subtarget", ">", "(", ")", ";"], "ground_truth": ["}"], "File": "MBlazeAsmPrinter7", "Func": "MBlazeAsmPrinter", "Target": "MBlaze", "Target_Clf": "MPU", "Compiler_Type": "LLVM", "Idx": 136606, "Length": 51, "Cover_Rate": 1.0} {"Template_token": ["", "case", "MachineOperand", "::", "MO_MachineBasicBlock", ":", "O", "<<", "*", "MO", ".", "getMBB", "(", ")", "->", "getSymbol", "(", "OutContext", ")", ";", "return", ";", "case", "MachineOperand", "::", "MO_GlobalAddress", ":", "O", "<<", "*", "GetGlobalValueSymbol", "(", "MO", ".", "getGlobal", "(", ")", ")", ";", "break", ";", "case", "MachineOperand", "::", "MO_ExternalSymbol", ":", "O", "<<", "*", "GetExternalSymbolSymbol", "(", "MO", ".", "getSymbolName", "(", ")", ")", ";", "break", ";", "case", "MachineOperand", "::", "MO_JumpTableIndex", ":", "O", "<<", "MAI", "->", "getPrivateGlobalPrefix", "(", ")", "<<", "", "<<", "getFunctionNumber", "(", ")", "<<", "'_'", "<<", "MO", ".", "getIndex", "(", ")", ";", "break", ";", "case", "MachineOperand", "::", "MO_ConstantPoolIndex", ":"], "ground_truth": ["O", "<<", "MAI", "->", "getPrivateGlobalPrefix", "(", ")", "<<", "", "<<", "getFunctionNumber", "(", ")", "<<", "", "<<", "MO", ".", "getIndex", "(", ")", ";"], "File": "MBlazeAsmPrinter7", "Func": "printOperand", "Target": "MBlaze", "Target_Clf": "MPU", "Compiler_Type": "LLVM", "Idx": 136607, "Length": 115, "Cover_Rate": 0.444015444015444} {"Template_token": ["", "const", "TargetRegisterInfo", "&", "RI", "=", "*", "TM", ".", "getRegisterInfo", "(", ")", ";", "unsigned", "stkReg", "=", "RI", ".", "getFrameRegister", "(", "*", "MF", ")", ";", "unsigned", "retReg", "=", "RI", ".", "getRARegister", "(", ")", ";"], "ground_truth": ["unsigned", "stkSze", "=", "MF", "->", "getFrameInfo", "(", ")", "->", "getStackSize", "(", ")", ";"], "File": "MBlazeAsmPrinter", "Func": "emitFrameDirective", "Target": "MBlaze", "Target_Clf": "MPU", "Compiler_Type": "LLVM", "Idx": 136608, "Length": 45, "Cover_Rate": 0.45} {"Template_token": ["", "const", "TargetRegisterInfo", "&", "RI", "=", "*", "TM", ".", "getRegisterInfo", "(", ")", ";", "unsigned", "stkReg", "=", "RI", ".", "getFrameRegister", "(", "*", "MF", ")", ";", "unsigned", "retReg", "=", "RI", ".", "getRARegister", "(", ")", ";"], "ground_truth": ["unsigned", "stkSze", "=", "MF", "->", "getFrameInfo", "(", ")", "->", "getStackSize", "(", ")", ";"], "File": "MBlazeAsmPrinter", "Func": "emitFrameDirective", "Target": "MBlaze", "Target_Clf": "MPU", "Compiler_Type": "LLVM", "Idx": 136609, "Length": 45, "Cover_Rate": 0.45} {"Template_token": ["", "void", "AsmPrinter", "::", "EmitFunctionBodyEnd", "(", ")", "{"], "ground_truth": ["if", "(", "OutStreamer", ".", "hasRawTextSupport", "(", ")", ")", "OutStreamer", ".", "EmitRawText", "(", "", "+", "Twine", "(", "CurrentFnSym", "->", "getName", "(", ")", ")", ")", ";"], "File": "MBlazeAsmPrinter", "Func": "EmitFunctionBodyEnd", "Target": "MBlaze", "Target_Clf": "MPU", "Compiler_Type": "LLVM", "Idx": 136611, "Length": 31, "Cover_Rate": 0.96875} {"Template_token": ["", "if", "(", "!", "OutStreamer", ".", "hasRawTextSupport", "(", ")", ")", "return", ";"], "ground_truth": ["emitFrameDirective", "(", ")", ";"], "File": "MBlazeAsmPrinter", "Func": "EmitFunctionBodyStart", "Target": "MBlaze", "Target_Clf": "MPU", "Compiler_Type": "LLVM", "Idx": 136612, "Length": 15, "Cover_Rate": 0.5555555555555556} {"Template_token": ["", "if", "(", "OutStreamer", ".", "hasRawTextSupport", "(", ")", ")", "OutStreamer", ".", "EmitRawText", "(", "", "+", "Twine", "(", "CurrentFnSym", "->", "getName", "(", ")", ")", ")", ";", "AsmPrinter", "::", "EmitFunctionEntryLabel", "(", ")", ";"], "ground_truth": ["}"], "File": "MBlazeAsmPrinter", "Func": "EmitFunctionEntryLabel", "Target": "MBlaze", "Target_Clf": "MPU", "Compiler_Type": "LLVM", "Idx": 136614, "Length": 31, "Cover_Rate": 0.8157894736842105} {"Template_token": ["", "MCInstLowering", ".", "Lower", "(", "MI", ",", "TmpInst", ")", ";"], "ground_truth": ["OutStreamer", ".", "EmitInstruction", "(", "TmpInst", ")", ";"], "File": "MBlazeAsmPrinter", "Func": "EmitInstruction", "Target": "MBlaze", "Target_Clf": "MPU", "Compiler_Type": "LLVM", "Idx": 136615, "Length": 16, "Cover_Rate": 0.37209302325581395} {"Template_token": ["", "virtual", "const", "char", "*", "getPassName", "(", ")", "const", "{", "return", "", ";"], "ground_truth": ["}"], "File": "MBlazeAsmPrinter", "Func": "getPassName", "Target": "MBlaze", "Target_Clf": "MPU", "Compiler_Type": "LLVM", "Idx": 136616, "Length": 13, "Cover_Rate": 1.0} {"Template_token": ["", "virtual", "const", "char", "*", "getPassName", "(", ")", "const", "{", "return", "", ";"], "ground_truth": ["}"], "File": "MBlazeAsmPrinter", "Func": "getPassName", "Target": "MBlaze", "Target_Clf": "MPU", "Compiler_Type": "LLVM", "Idx": 136617, "Length": 13, "Cover_Rate": 1.0} {"Template_token": ["", "if", "(", "MBB", "->", "isLandingPad", "(", ")", "||", "MBB", "->", "pred_empty", "(", ")", ")", "return", "false", ";", "MachineBasicBlock", "::", "const_pred_iterator", "PI", "=", "MBB", "->", "pred_begin", "(", ")", ",", "PI2", "=", "PI", ";", "++", "PI2", ";", "if", "(", "PI2", "!=", "MBB", "->", "pred_end", "(", ")", ")", "return", "false", ";", "const", "MachineBasicBlock", "*", "Pred", "=", "*", "PI", ";", "if", "(", "!", "Pred", "->", "isLayoutSuccessor", "(", "MBB", ")", ")", "return", "false", ";", "if", "(", "Pred", "->", "empty", "(", ")", ")", "return", "true", ";"], "ground_truth": ["MachineBasicBlock", "::", "const_iterator", "I", "=", "Pred", "->", "end", "(", ")", ";"], "File": "MBlazeAsmPrinter", "Func": "isBlockOnlyReachableByFallthrough", "Target": "MBlaze", "Target_Clf": "MPU", "Compiler_Type": "LLVM", "Idx": 136618, "Length": 91, "Cover_Rate": 0.610738255033557} {"Template_token": ["", "++", "PI2", ";", "if", "(", "PI2", "!=", "MBB", "->", "pred_end", "(", ")", ")", "return", "false", ";", "const", "MachineBasicBlock", "*", "Pred", "=", "*", "PI", ";", "if", "(", "!", "Pred", "->", "isLayoutSuccessor", "(", "MBB", ")", ")", "return", "false", ";", "if", "(", "Pred", "->", "empty", "(", ")", ")", "return", "true", ";", "MachineBasicBlock", "::", "const_iterator", "I", "=", "Pred", "->", "end", "(", ")", ";", "while", "(", "I", "!=", "Pred", "->", "begin", "(", ")", "&&", "!", "(", "--", "I", ")", "->", "getDesc", "(", ")", ".", "isTerminator", "(", ")", ")", ";", "return", "I", "==", "Pred", "->", "end", "(", ")", "||", "!", "I", "->", "getDesc", "(", ")", ".", "isBarrier", "(", ")", ";"], "ground_truth": ["}"], "File": "MBlazeAsmPrinter", "Func": "isBlockOnlyReachableByFallthrough", "Target": "MBlaze", "Target_Clf": "MPU", "Compiler_Type": "LLVM", "Idx": 136619, "Length": 105, "Cover_Rate": 0.7046979865771812} {"Template_token": ["", "void", "LLVMInitializeAsmPrinter", "(", ")", "{", "RegisterAsmPrinter", "<", "AsmPrinter", ">", "X", "(", "TheTarget", ")", ";"], "ground_truth": ["}"], "File": "MBlazeAsmPrinter", "Func": "LLVMInitializeMBlazeAsmPrinter", "Target": "MBlaze", "Target_Clf": "MPU", "Compiler_Type": "LLVM", "Idx": 136621, "Length": 15, "Cover_Rate": 1.0} {"Template_token": ["", "explicit", "AsmPrinter", "(", "TargetMachine", "&", "TM", ",", "MCStreamer", "&", "Streamer", ")", ":", "AsmPrinter", "(", "TM", ",", "Streamer", ")", "{", "Subtarget", "=", "&", "TM", ".", "getSubtarget", "<", "Subtarget", ">", "(", ")", ";"], "ground_truth": ["}"], "File": "MBlazeAsmPrinter", "Func": "MBlazeAsmPrinter", "Target": "MBlaze", "Target_Clf": "MPU", "Compiler_Type": "LLVM", "Idx": 136622, "Length": 32, "Cover_Rate": 1.0} {"Template_token": ["", "explicit", "AsmPrinter", "(", "TargetMachine", "&", "TM", ",", "MCStreamer", "&", "Streamer", ")", ":", "AsmPrinter", "(", "TM", ",", "Streamer", ")", "{"], "ground_truth": ["Subtarget", "=", "&", "TM", ".", "getSubtarget", "<", "Subtarget", ">", "(", ")", ";"], "File": "MBlazeAsmPrinter", "Func": "MBlazeAsmPrinter", "Target": "MBlaze", "Target_Clf": "MPU", "Compiler_Type": "LLVM", "Idx": 136623, "Length": 31, "Cover_Rate": 0.96875} {"Template_token": ["", "if", "(", "ExtraCode", "&&", "ExtraCode", "[", "", "]", ")", "return", "true", ";"], "ground_truth": ["printOperand", "(", "MI", ",", "OpNo", ",", "O", ")", ";"], "File": "MBlazeAsmPrinter", "Func": "PrintAsmOperand", "Target": "MBlaze", "Target_Clf": "MPU", "Compiler_Type": "LLVM", "Idx": 136624, "Length": 21, "Cover_Rate": 0.4117647058823529} {"Template_token": ["", "const", "MachineOperand", "&", "MO", "=", "MI", "->", "getOperand", "(", "opNum", ")", ";", "if", "(", "MO", ".", "isImm", "(", ")", ")", "O", "<<", "", "<<", "(", "unsigned", "int", ")", "MO", ".", "getImm", "(", ")", ";", "else", "printOperand", "(", "MI", ",", "opNum", ",", "O", ")", ";"], "ground_truth": ["}"], "File": "MBlazeAsmPrinter", "Func": "printFSLImm", "Target": "MBlaze", "Target_Clf": "MPU", "Compiler_Type": "LLVM", "Idx": 136625, "Length": 45, "Cover_Rate": 0.7142857142857143} {"Template_token": ["", "void", "AsmPrinter", "::", "printFSLImm", "(", "const", "MachineInstr", "*", "MI", ",", "int", "opNum", ",", "raw_ostream", "&", "O", ")", "{", "const", "MachineOperand", "&", "MO", "=", "MI", "->", "getOperand", "(", "opNum", ")", ";", "if", "(", "MO", ".", "isImm", "(", ")", ")", "O", "<<", "", "<<", "(", "unsigned", "int", ")", "MO", ".", "getImm", "(", ")", ";"], "ground_truth": ["else", "printOperand", "(", "MI", ",", "opNum", ",", "O", ")", ";"], "File": "MBlazeAsmPrinter", "Func": "printFSLImm", "Target": "MBlaze", "Target_Clf": "MPU", "Compiler_Type": "LLVM", "Idx": 136626, "Length": 62, "Cover_Rate": 0.9841269841269841} {"Template_token": ["", "static", "void", "printHex32", "(", "unsigned", "int", "Value", ",", "raw_ostream", "&", "O", ")", "{", "O", "<<", "", ";"], "ground_truth": ["for", "(", "int", "i", "=", "", ";", "i", ">=", "", ";", "i", "--", ")", "O", "<<", "utohexstr", "(", "(", "Value", "&", "(", "", "<<", "(", "i", "*", "", ")", ")", ")", ">>", "(", "i", "*", "", ")", ")", ";"], "File": "MBlazeAsmPrinter", "Func": "printHex32", "Target": "MBlaze", "Target_Clf": "MPU", "Compiler_Type": "LLVM", "Idx": 136627, "Length": 56, "Cover_Rate": 0.9824561403508771} {"Template_token": ["", "printOperand", "(", "MI", ",", "opNum", ",", "O", ")", ";", "O", "<<", "", ";", "printOperand", "(", "MI", ",", "opNum", "+", "", ",", "O", ")", ";"], "ground_truth": ["}"], "File": "MBlazeAsmPrinter", "Func": "printMemOperand", "Target": "MBlaze", "Target_Clf": "MPU", "Compiler_Type": "LLVM", "Idx": 136628, "Length": 25, "Cover_Rate": 0.5208333333333334} {"Template_token": ["", "void", "AsmPrinter", "::"], "ground_truth": ["printMemOperand", "(", "const", "MachineInstr", "*", "MI", ",", "int", "opNum", ",", "raw_ostream", "&", "O", ",", "const", "char", "*", "Modifier", ")", "{"], "File": "MBlazeAsmPrinter", "Func": "printMemOperand", "Target": "MBlaze", "Target_Clf": "MPU", "Compiler_Type": "LLVM", "Idx": 136629, "Length": 23, "Cover_Rate": 0.4791666666666667} {"Template_token": ["", "case", "MachineOperand", "::", "MO_FPImmediate", ":", "{", "const", "ConstantFP", "*", "fp", "=", "MO", ".", "getFPImm", "(", ")", ";", "printHex32", "(", "fp", "->", "getValueAPF", "(", ")", ".", "bitcastToAPInt", "(", ")", ".", "getZExtValue", "(", ")", ",", "O", ")", ";", "O", "<<", "", "<<", "*", "fp", ";", "break", ";", "}", "case", "MachineOperand", "::", "MO_MachineBasicBlock", ":", "O", "<<", "*", "MO", ".", "getMBB", "(", ")", "->", "getSymbol", "(", ")", ";", "return", ";", "case", "MachineOperand", "::", "MO_GlobalAddress", ":", "O", "<<", "*", "Mang", "->", "getSymbol", "(", "MO", ".", "getGlobal", "(", ")", ")", ";", "break", ";", "case", "MachineOperand", "::", "MO_ExternalSymbol", ":", "O", "<<", "*", "GetExternalSymbolSymbol", "(", "MO", ".", "getSymbolName", "(", ")", ")", ";"], "ground_truth": ["break", ";"], "File": "MBlazeAsmPrinter", "Func": "printOperand", "Target": "MBlaze", "Target_Clf": "MPU", "Compiler_Type": "LLVM", "Idx": 136630, "Length": 106, "Cover_Rate": 0.39552238805970147} {"Template_token": ["", "const", "MachineFrameInfo", "*", "MFI", "=", "MF", "->", "getFrameInfo", "(", ")", ";", "const", "std", "::", "vector", "<", "CalleeSavedInfo", ">", "&", "CSI", "=", "MFI", "->", "getCalleeSavedInfo", "(", ")", ";", "for", "(", "unsigned", "i", "=", "", ",", "e", "=", "CSI", ".", "size", "(", ")", ";", "i", "!=", "e", ";", "++", "i", ")", "{"], "ground_truth": ["unsigned", "Reg", "=", "CSI", "[", "i", "]", ".", "getReg", "(", ")", ";"], "File": "MBlazeAsmPrinter", "Func": "printSavedRegsBitmask", "Target": "MBlaze", "Target_Clf": "MPU", "Compiler_Type": "LLVM", "Idx": 136631, "Length": 62, "Cover_Rate": 0.32460732984293195} {"Template_token": ["", "const", "std", "::", "vector", "<", "CalleeSavedInfo", ">", "&", "CSI", "=", "MFI", "->", "getCalleeSavedInfo", "(", ")", ";", "for", "(", "unsigned", "i", "=", "", ",", "e", "=", "CSI", ".", "size", "(", ")", ";", "i", "!=", "e", ";", "++", "i", ")", "{", "unsigned", "Reg", "=", "CSI", "[", "i", "]", ".", "getReg", "(", ")", ";"], "ground_truth": ["unsigned", "RegNum", "=", "getRegisterNumbering", "(", "Reg", ")", ";"], "File": "MBlazeAsmPrinter", "Func": "printSavedRegsBitmask", "Target": "MBlaze", "Target_Clf": "MPU", "Compiler_Type": "LLVM", "Idx": 136632, "Length": 59, "Cover_Rate": 0.3089005235602094} {"Template_token": ["", "void", "AsmPrinter", "::", "printUnsignedImm", "(", "const", "MachineInstr", "*", "MI", ",", "int", "opNum", ",", "raw_ostream", "&", "O", ")", "{", "const", "MachineOperand", "&", "MO", "=", "MI", "->", "getOperand", "(", "opNum", ")", ";", "if", "(", "MO", ".", "isImm", "(", ")", ")", "O", "<<", "(", "uint32_t", ")", "MO", ".", "getImm", "(", ")", ";", "else", "printOperand", "(", "MI", ",", "opNum", ",", "O", ")", ";"], "ground_truth": ["}"], "File": "MBlazeAsmPrinter", "Func": "printUnsignedImm", "Target": "MBlaze", "Target_Clf": "MPU", "Compiler_Type": "LLVM", "Idx": 136633, "Length": 60, "Cover_Rate": 1.0} {"Template_token": ["", "const", "MachineOperand", "&", "MO", "=", "MI", "->", "getOperand", "(", "opNum", ")", ";"], "ground_truth": ["if", "(", "MO", ".", "isImm", "(", ")", ")", "O", "<<", "(", "uint32_t", ")", "MO", ".", "getImm", "(", ")", ";"], "File": "MBlazeAsmPrinter", "Func": "printUnsignedImm", "Target": "MBlaze", "Target_Clf": "MPU", "Compiler_Type": "LLVM", "Idx": 136634, "Length": 31, "Cover_Rate": 0.5166666666666667} {"Template_token": ["", "case", "", ":", "return", "", ";", "case", "", ":", "return", "", ";", "case", "", ":", "return", "", ";", "case", "", ":", "return", "", ";", "case", "", ":", "return", "", ";", "case", "", ":", "return", "", ";", "case", "", ":", "return", "", ";", "case", "", ":", "return", "", ";", "case", "", ":", "return", "", ";", "case", "", ":", "return", "", ";", "case", "", ":", "return", "", ";", "case", "", ":", "return", "", ";", "case", "", ":", "return", "", ";", "case", "", ":", "return", "", ";", "case", "", ":", "return", "", ";", "case", "", ":", "return", "", ";", "case", "", ":", "return", "", ";", "case", "", ":", "return", "", ";", "case", "", ":", "return", "", ";", "case", "", ":", "return", "", ";", "case", "", ":", "return", "", ";", "case", "", ":", "return", "", ";", "case", "", ":", "return", "", ";", "case", "", ":", "return", "", ";", "case", "", ":", "return", "", ";", "case", "", ":", "return", "", ";", "case", "", ":", "return", "", ";", "case", "", ":", "return", "", ";", "case", "", ":", "return", "", ";", "case", "", ":", "return", "", ";", "case", "", ":", "return", "", ";", "case", "", ":", "return", "", ";"], "ground_truth": ["default", ":", "llvm_unreachable", "(", "", ")", ";"], "File": "MBlazeBaseInfo1", "Func": "getMBlazeRegisterFromNumbering", "Target": "MBlaze", "Target_Clf": "MPU", "Compiler_Type": "LLVM", "Idx": 136635, "Length": 199, "Cover_Rate": 0.7056737588652482} {"Template_token": ["", "case", "", ":", "return", "", ";", "case", "", ":", "return", "", ";", "case", "", ":", "return", "", ";", "case", "", ":", "return", "", ";", "case", "", ":", "return", "", ";", "case", "", ":", "return", "", ";", "case", "", ":", "return", "", ";", "case", "", ":", "return", "", ";", "case", "", ":", "return", "", ";", "case", "", ":", "return", "", ";", "case", "", ":", "return", "", ";", "case", "", ":", "return", "", ";", "case", "", ":", "return", "", ";", "case", "", ":", "return", "", ";", "case", "", ":", "return", "", ";", "case", "", ":", "return", "", ";", "case", "", ":", "return", "", ";", "case", "", ":", "return", "", ";", "case", "", ":", "return", "", ";", "case", "", ":", "return", "", ";", "case", "", ":", "return", "", ";", "case", "", ":", "return", "", ";", "case", "", ":", "return", "", ";", "case", "", ":", "return", "", ";", "case", "", ":", "return", "", ";", "case", "", ":", "return", "", ";", "case", "", ":", "return", "", ";", "case", "", ":", "return", "", ";", "case", "", ":", "return", "", ";", "case", "", ":", "return", "", ";"], "ground_truth": ["case", "", ":", "return", "", ";"], "File": "MBlazeBaseInfo1", "Func": "getMBlazeRegisterFromNumbering", "Target": "MBlaze", "Target_Clf": "MPU", "Compiler_Type": "LLVM", "Idx": 136636, "Length": 186, "Cover_Rate": 0.6595744680851063} {"Template_token": ["", "case", "", ":", "return", "", ";", "case", "", ":", "return", "", ";", "case", "", ":", "return", "", ";", "case", "", ":", "return", "", ";", "case", "", ":", "return", "", ";", "case", "", ":", "return", "", ";", "case", "", ":", "return", "", ";", "case", "", ":", "return", "", ";", "case", "", ":", "return", "", ";", "case", "", ":", "return", "", ";", "case", "", ":", "return", "", ";", "case", "", ":", "return", "", ";", "case", "", ":", "return", "", ";", "case", "", ":", "return", "", ";", "case", "", ":", "return", "", ";", "case", "", ":", "return", "", ";", "case", "", ":", "return", "", ";", "case", "", ":", "return", "", ";", "case", "", ":", "return", "", ";", "case", "", ":", "return", "", ";", "case", "", ":", "return", "", ";", "case", "", ":", "return", "", ";", "case", "", ":", "return", "", ";", "case", "", ":", "return", "", ";", "case", "", ":", "return", "", ";", "case", "", ":", "return", "", ";"], "ground_truth": ["case", "", ":", "return", "", ";"], "File": "MBlazeBaseInfo1", "Func": "getMBlazeRegisterNumbering", "Target": "MBlaze", "Target_Clf": "MPU", "Compiler_Type": "LLVM", "Idx": 136637, "Length": 162, "Cover_Rate": 0.34177215189873417} {"Template_token": ["", "case", "", ":", "return", "", ";", "case", "", ":", "return", "", ";", "case", "", ":", "return", "", ";", "case", "", ":", "return", "", ";", "case", "", ":", "return", "", ";", "case", "", ":", "return", "", ";", "case", "", ":", "return", "", ";", "case", "", ":", "return", "", ";", "case", "", ":", "return", "", ";", "case", "", ":", "return", "", ";", "case", "", ":", "return", "", ";", "case", "", ":", "return", "", ";", "case", "", ":", "return", "", ";", "case", "", ":", "return", "", ";", "default", ":", "llvm_unreachable", "(", "", ")", ";", "}", "return", "", ";"], "ground_truth": ["}"], "File": "MBlazeBaseInfo1", "Func": "getSpecialMBlazeRegisterFromNumbering", "Target": "MBlaze", "Target_Clf": "MPU", "Compiler_Type": "LLVM", "Idx": 136638, "Length": 96, "Cover_Rate": 0.44036697247706424} {"Template_token": ["", "case", "", ":", "return", "", ";", "case", "", ":", "return", "", ";", "case", "", ":", "return", "", ";", "case", "", ":", "return", "", ";", "case", "", ":", "return", "", ";", "case", "", ":", "return", "", ";", "case", "", ":", "return", "", ";", "case", "", ":", "return", "", ";", "case", "", ":", "return", "", ";", "case", "", ":", "return", "", ";"], "ground_truth": ["case", "", ":", "return", "", ";"], "File": "MBlazeBaseInfo1", "Func": "getSpecialMBlazeRegisterFromNumbering", "Target": "MBlaze", "Target_Clf": "MPU", "Compiler_Type": "LLVM", "Idx": 136639, "Length": 66, "Cover_Rate": 0.30275229357798167} {"Template_token": ["", "static", "inline", "bool", "isRegister", "(", "unsigned", "Reg", ")", "{", "return", "Reg", "<=", "", ";"], "ground_truth": ["}"], "File": "MBlazeBaseInfo1", "Func": "isMBlazeRegister", "Target": "MBlaze", "Target_Clf": "MPU", "Compiler_Type": "LLVM", "Idx": 136640, "Length": 15, "Cover_Rate": 1.0} {"Template_token": ["", "static", "inline", "bool", "isSpecialRegister", "(", "unsigned", "Reg", ")", "{", "switch", "(", "Reg", ")", "{", "case", "", ":", "case", "", ":", "case", "", ":", "case", "", ":", "case", "", ":", "case", "", ":", "case", "", ":", "case", "", ":", "case", "", ":", "case", "", ":", "case", "", ":", "case", "", ":", "case", "", ":", "case", "", ":", "case", "", ":", "case", "", ":", "case", "", ":", "case", "", ":", "case", "", ":", "case", "", ":", "case", "", ":", "case", "", ":", "case", "", ":", "case", "", ":", "return", "true", ";", "default", ":", "return", "false", ";", "}"], "ground_truth": ["return", "false", ";"], "File": "MBlazeBaseInfo1", "Func": "isSpecialMBlazeRegister", "Target": "MBlaze", "Target_Clf": "MPU", "Compiler_Type": "LLVM", "Idx": 136642, "Length": 98, "Cover_Rate": 0.98989898989899} {"Template_token": ["", "switch", "(", "Reg", ")", "{", "case", "", ":", "case", "", ":", "case", "", ":", "case", "", ":", "case", "", ":", "case", "", ":", "case", "", ":", "case", "", ":", "case", "", ":", "case", "", ":", "case", "", ":", "case", "", ":", "case", "", ":", "case", "", ":", "case", "", ":", "case", "", ":", "case", "", ":", "case", "", ":", "case", "", ":", "case", "", ":", "case", "", ":", "case", "", ":", "case", "", ":", "case", "", ":", "return", "true", ";", "default", ":", "return", "false", ";"], "ground_truth": ["}"], "File": "MBlazeBaseInfo1", "Func": "isSpecialMBlazeRegister", "Target": "MBlaze", "Target_Clf": "MPU", "Compiler_Type": "LLVM", "Idx": 136643, "Length": 86, "Cover_Rate": 0.8686868686868687} {"Template_token": ["", "Filler", "(", "TargetMachine", "&", "tm", ")", ":", "MachineFunctionPass", "(", "ID", ")", ",", "TM", "(", "tm", ")", ",", "TII", "(", "tm", ".", "getInstrInfo", "(", ")", ")", "{"], "ground_truth": ["}"], "File": "MBlazeDelaySlotFiller1", "Func": "Filler", "Target": "MBlaze", "Target_Clf": "MPU", "Compiler_Type": "LLVM", "Idx": 136644, "Length": 27, "Cover_Rate": 1.0} {"Template_token": ["", "Filler", "(", "TargetMachine", "&", "tm", ")", ":", "MachineFunctionPass", "(", "ID", ")", ",", "TM", "(", "tm", ")", ",", "TII", "(", "tm", ".", "getInstrInfo", "(", ")", ")", "{"], "ground_truth": ["}"], "File": "MBlazeDelaySlotFiller1", "Func": "Filler", "Target": "MBlaze", "Target_Clf": "MPU", "Compiler_Type": "LLVM", "Idx": 136645, "Length": 27, "Cover_Rate": 1.0} {"Template_token": ["", "MachineBasicBlock", "::", "iterator", "J", "=", "I", ";", "++", "J", ";", "BuildMI", "(", "MBB", ",", "J", ",", "I", "->", "getDebugLoc", "(", ")", ",", "TII", "->", "get", "(", "", ")", ")", ";", "++", "FilledSlots", ";", "Changed", "=", "true", ";"], "ground_truth": ["}"], "File": "MBlazeDelaySlotFiller1", "Func": "runOnMachineBasicBlock", "Target": "MBlaze", "Target_Clf": "MPU", "Compiler_Type": "LLVM", "Idx": 136646, "Length": 38, "Cover_Rate": 0.3958333333333333} {"Template_token": ["", "BuildMI", "(", "MBB", ",", "J", ",", "I", "->", "getDebugLoc", "(", ")", ",", "TII", "->", "get", "(", "", ")", ")", ";", "++", "FilledSlots", ";", "Changed", "=", "true", ";", "}"], "ground_truth": ["return", "Changed", ";"], "File": "MBlazeDelaySlotFiller1", "Func": "runOnMachineBasicBlock", "Target": "MBlaze", "Target_Clf": "MPU", "Compiler_Type": "LLVM", "Idx": 136647, "Length": 31, "Cover_Rate": 0.3229166666666667} {"Template_token": ["", "for", "(", "MachineBasicBlock", "::", "iterator", "I", "=", "MBB", ".", "begin", "(", ")", ";", "I", "!=", "MBB", ".", "end", "(", ")", ";", "++", "I", ")", "if", "(", "I", "->", "hasDelaySlot", "(", ")", ")", "{", "MachineBasicBlock", "::", "iterator", "D", "=", "MBB", ".", "end", "(", ")", ";", "MachineBasicBlock", "::", "iterator", "J", "=", "I", ";", "if", "(", "!", "MBDisableDelaySlotFiller", ")", "D", "=", "findDelayInstr", "(", "MBB", ",", "I", ")", ";", "++", "FilledSlots", ";", "Changed", "=", "true", ";", "if", "(", "D", "==", "MBB", ".", "end", "(", ")", ")", "BuildMI", "(", "MBB", ",", "++", "J", ",", "I", "->", "getDebugLoc", "(", ")", ",", "TII", "->", "get", "(", "", ")", ")", ";", "else", "MBB", ".", "splice", "(", "++", "J", ",", "&", "MBB", ",", "D", ")", ";"], "ground_truth": ["}"], "File": "MBlazeDelaySlotFiller2", "Func": "runOnMachineBasicBlock", "Target": "MBlaze", "Target_Clf": "MPU", "Compiler_Type": "LLVM", "Idx": 136648, "Length": 118, "Cover_Rate": 0.8489208633093526} {"Template_token": ["", "MachineBasicBlock", "::", "iterator", "J", "=", "I", ";", "if", "(", "!", "MBDisableDelaySlotFiller", ")", "D", "=", "findDelayInstr", "(", "MBB", ",", "I", ")", ";", "++", "FilledSlots", ";", "Changed", "=", "true", ";", "if", "(", "D", "==", "MBB", ".", "end", "(", ")", ")", "BuildMI", "(", "MBB", ",", "++", "J", ",", "I", "->", "getDebugLoc", "(", ")", ",", "TII", "->", "get", "(", "", ")", ")", ";", "else", "MBB", ".", "splice", "(", "++", "J", ",", "&", "MBB", ",", "D", ")", ";"], "ground_truth": ["}"], "File": "MBlazeDelaySlotFiller2", "Func": "runOnMachineBasicBlock", "Target": "MBlaze", "Target_Clf": "MPU", "Compiler_Type": "LLVM", "Idx": 136649, "Length": 74, "Cover_Rate": 0.5323741007194245} {"Template_token": ["", "if", "(", "a_is_memory", "&&", "m", "->", "getDesc", "(", ")", ".", "mayStore", "(", ")", ")", "return", "true", ";", "}", "for", "(", "unsigned", "aop", "=", "", ",", "aend", "=", "a", "->", "getNumOperands", "(", ")", ";", "aop", "<", "aend", ";", "++", "aop", ")", "{", "if", "(", "a", "->", "getOperand", "(", "aop", ")", ".", "isReg", "(", ")", ")", "{", "unsigned", "aop_reg", "=", "a", "->", "getOperand", "(", "aop", ")", ".", "getReg", "(", ")", ";", "for", "(", "unsigned", "bop", "=", "", ",", "bend", "=", "b", "->", "getNumOperands", "(", ")", ";", "bop", "<", "bend", ";", "++", "bop", ")", "{", "if", "(", "b", "->", "getOperand", "(", "bop", ")", ".", "isReg", "(", ")", "&&", "(", "!", "b", "->", "getOperand", "(", "bop", ")", ".", "isImplicit", "(", ")", ")", ")", "{"], "ground_truth": ["unsigned", "bop_reg", "=", "b", "->", "getOperand", "(", "bop", ")", ".", "getReg", "(", ")", ";"], "File": "MBlazeDelaySlotFiller3", "Func": "delayHasHazard", "Target": "MBlaze", "Target_Clf": "MPU", "Compiler_Type": "LLVM", "Idx": 136650, "Length": 134, "Cover_Rate": 0.3358395989974937} {"Template_token": ["", "if", "(", "I", "==", "MBB", ".", "begin", "(", ")", ")", "break", ";", "--", "I", ";", "TargetInstrDesc", "desc", "=", "I", "->", "getDesc", "(", ")", ";", "if", "(", "desc", ".", "hasDelaySlot", "(", ")", "||", "desc", ".", "isBranch", "(", ")", "||", "isDelayFiller", "(", "MBB", ",", "I", ")", "||", "desc", ".", "isCall", "(", ")", "||", "desc", ".", "isReturn", "(", ")", "||", "desc", ".", "isBarrier", "(", ")", "||", "desc", ".", "hasUnmodeledSideEffects", "(", ")", ")", "break", ";", "if", "(", "hasImmInstruction", "(", "I", ")", "||", "delayHasHazard", "(", "I", ",", "slot", ")", ")", "continue", ";", "return", "I", ";", "}"], "ground_truth": ["return", "MBB", ".", "end", "(", ")", ";"], "File": "MBlazeDelaySlotFiller3", "Func": "findDelayInstr", "Target": "MBlaze", "Target_Clf": "MPU", "Compiler_Type": "LLVM", "Idx": 136651, "Length": 98, "Cover_Rate": 0.7716535433070866} {"Template_token": ["", "if", "(", "desc", ".", "hasDelaySlot", "(", ")", "||", "desc", ".", "isBranch", "(", ")", "||", "isDelayFiller", "(", "MBB", ",", "I", ")", "||", "desc", ".", "isCall", "(", ")", "||", "desc", ".", "isReturn", "(", ")", "||", "desc", ".", "isBarrier", "(", ")", "||", "desc", ".", "hasUnmodeledSideEffects", "(", ")", ")", "break", ";"], "ground_truth": ["if", "(", "hasImmInstruction", "(", "I", ")", "||", "delayHasHazard", "(", "I", ",", "slot", ")", ")", "continue", ";"], "File": "MBlazeDelaySlotFiller3", "Func": "findDelayInstr", "Target": "MBlaze", "Target_Clf": "MPU", "Compiler_Type": "LLVM", "Idx": 136652, "Length": 63, "Cover_Rate": 0.49606299212598426} {"Template_token": ["", "MachineOperand", "&", "mop", "=", "candidate", "->", "getOperand", "(", "op", ")", ";", "if", "(", "mop", ".", "isImm", "(", ")", "&&", "(", "mop", ".", "getImm", "(", ")", "<", "-", "", "||", "mop", ".", "getImm", "(", ")", ">", "", ")", ")", "return", "true", ";", "if", "(", "mop", ".", "isGlobal", "(", ")", "||", "mop", ".", "isSymbol", "(", ")", ")", "return", "true", ";", "if", "(", "mop", ".", "isFPImm", "(", ")", ")", "return", "true", ";", "}", "return", "false", ";"], "ground_truth": ["}"], "File": "MBlazeDelaySlotFiller3", "Func": "hasImmInstruction", "Target": "MBlaze", "Target_Clf": "MPU", "Compiler_Type": "LLVM", "Idx": 136653, "Length": 74, "Cover_Rate": 0.6788990825688074} {"Template_token": ["", "static", "bool", "isDelayFiller", "(", "MachineBasicBlock", "&", "MBB", ",", "MachineBasicBlock", "::", "iterator", "candidate", ")", "{", "if", "(", "candidate", "==", "MBB", ".", "begin", "(", ")", ")", "return", "false", ";", "TargetInstrDesc", "brdesc", "=", "(", "--", "candidate", ")", "->", "getDesc", "(", ")", ";"], "ground_truth": ["return", "(", "brdesc", ".", "hasDelaySlot", "(", ")", ")", ";"], "File": "MBlazeDelaySlotFiller3", "Func": "isDelayFiller", "Target": "MBlaze", "Target_Clf": "MPU", "Compiler_Type": "LLVM", "Idx": 136654, "Length": 48, "Cover_Rate": 0.9795918367346939} {"Template_token": ["", "static", "bool", "isDelayFiller", "(", "MachineBasicBlock", "&", "MBB", ",", "MachineBasicBlock", "::", "iterator", "candidate", ")", "{", "if", "(", "candidate", "==", "MBB", ".", "begin", "(", ")", ")", "return", "false", ";"], "ground_truth": ["TargetInstrDesc", "brdesc", "=", "(", "--", "candidate", ")", "->", "getDesc", "(", ")", ";"], "File": "MBlazeDelaySlotFiller3", "Func": "isDelayFiller", "Target": "MBlaze", "Target_Clf": "MPU", "Compiler_Type": "LLVM", "Idx": 136655, "Length": 39, "Cover_Rate": 0.7959183673469388} {"Template_token": ["", "++", "FilledSlots", ";", "Changed", "=", "true", ";", "if", "(", "D", "==", "MBB", ".", "end", "(", ")", ")", "BuildMI", "(", "MBB", ",", "++", "J", ",", "I", "->", "getDebugLoc", "(", ")", ",", "TII", "->", "get", "(", "", ")", ")", ";", "else", "MBB", ".", "splice", "(", "++", "J", ",", "&", "MBB", ",", "D", ")", ";"], "ground_truth": ["}"], "File": "MBlazeDelaySlotFiller3", "Func": "runOnMachineBasicBlock", "Target": "MBlaze", "Target_Clf": "MPU", "Compiler_Type": "LLVM", "Idx": 136656, "Length": 53, "Cover_Rate": 0.3706293706293706} {"Template_token": ["", "bool", "a_is_memory", "=", "desc", ".", "mayLoad", "(", ")", "||", "desc", ".", "mayStore", "(", ")", ";", "const", "unsigned", "aend", "=", "getLastRealOperand", "(", "a", ")", ";", "const", "unsigned", "bend", "=", "getLastRealOperand", "(", "b", ")", ";", "MachineBasicBlock", "::", "iterator", "m", "=", "a", ";", "for", "(", "++", "m", ";", "m", "!=", "b", ";", "++", "m", ")", "{", "for", "(", "unsigned", "aop", "=", "", ";", "aop", "<", "aend", ";", "++", "aop", ")", "{", "bool", "aop_is_reg", "=", "a", "->", "getOperand", "(", "aop", ")", ".", "isReg", "(", ")", ";", "if", "(", "!", "aop_is_reg", ")", "continue", ";", "bool", "aop_is_def", "=", "a", "->", "getOperand", "(", "aop", ")", ".", "isDef", "(", ")", ";", "unsigned", "aop_reg", "=", "a", "->", "getOperand", "(", "aop", ")", ".", "getReg", "(", ")", ";", "const", "unsigned", "mend", "=", "getLastRealOperand", "(", "m", ")", ";", "for", "(", "unsigned", "mop", "=", "", ";", "mop", "<", "mend", ";", "++", "mop", ")", "{", "bool", "mop_is_reg", "=", "m", "->", "getOperand", "(", "mop", ")", ".", "isReg", "(", ")", ";", "if", "(", "!", "mop_is_reg", ")", "continue", ";", "bool", "mop_is_def", "=", "m", "->", "getOperand", "(", "mop", ")", ".", "isDef", "(", ")", ";", "unsigned", "mop_reg", "=", "m", "->", "getOperand", "(", "mop", ")", ".", "getReg", "(", ")", ";", "if", "(", "aop_is_def", "&&", "(", "mop_reg", "==", "aop_reg", ")", ")", "return", "true", ";", "else", "if", "(", "mop_is_def", "&&", "(", "mop_reg", "==", "aop_reg", ")", ")", "return", "true", ";", "}", "}", "if", "(", "a_is_memory", "&&", "m", "->", "getDesc", "(", ")", ".", "mayStore", "(", ")", ")", "return", "true", ";"], "ground_truth": ["}"], "File": "MBlazeDelaySlotFiller4", "Func": "delayHasHazard", "Target": "MBlaze", "Target_Clf": "MPU", "Compiler_Type": "LLVM", "Idx": 136657, "Length": 237, "Cover_Rate": 0.6045918367346939} {"Template_token": ["", "TargetInstrDesc", "desc", "=", "I", "->", "getDesc", "(", ")", ";", "if", "(", "desc", ".", "hasDelaySlot", "(", ")", "||", "desc", ".", "isBranch", "(", ")", "||", "isDelayFiller", "(", "MBB", ",", "I", ")", "||", "desc", ".", "isCall", "(", ")", "||", "desc", ".", "isReturn", "(", ")", "||", "desc", ".", "isBarrier", "(", ")", "||", "hasUnknownSideEffects", "(", "I", ")", ")", "break", ";", "if", "(", "hasImmInstruction", "(", "I", ")", "||", "delayHasHazard", "(", "I", ",", "slot", ")", ")", "continue", ";", "return", "I", ";", "}"], "ground_truth": ["return", "MBB", ".", "end", "(", ")", ";"], "File": "MBlazeDelaySlotFiller4", "Func": "findDelayInstr", "Target": "MBlaze", "Target_Clf": "MPU", "Compiler_Type": "LLVM", "Idx": 136658, "Length": 82, "Cover_Rate": 0.6507936507936508} {"Template_token": ["", "unsigned", "aop_reg", "=", "a", "->", "getOperand", "(", "aop", ")", ".", "getReg", "(", ")", ";", "const", "unsigned", "mend", "=", "getLastRealOperand", "(", "m", ")", ";", "for", "(", "unsigned", "mop", "=", "", ";", "mop", "<", "mend", ";", "++", "mop", ")", "{", "bool", "mop_is_reg", "=", "m", "->", "getOperand", "(", "mop", ")", ".", "isReg", "(", ")", ";", "if", "(", "!", "mop_is_reg", ")", "continue", ";", "bool", "mop_is_def", "=", "m", "->", "getOperand", "(", "mop", ")", ".", "isDef", "(", ")", ";", "unsigned", "mop_reg", "=", "m", "->", "getOperand", "(", "mop", ")", ".", "getReg", "(", ")", ";", "if", "(", "aop_is_def", "&&", "(", "mop_reg", "==", "aop_reg", ")", ")", "return", "true", ";", "else", "if", "(", "mop_is_def", "&&", "(", "mop_reg", "==", "aop_reg", ")", ")", "return", "true", ";", "}", "}", "if", "(", "a_is_memory", "&&", "m", "->", "getDesc", "(", ")", ".", "mayStore", "(", ")", ")", "return", "true", ";", "}", "for", "(", "unsigned", "aop", "=", "", ";", "aop", "<", "aend", ";", "++", "aop", ")", "{", "if", "(", "a", "->", "getOperand", "(", "aop", ")", ".", "isReg", "(", ")", ")", "{", "unsigned", "aop_reg", "=", "a", "->", "getOperand", "(", "aop", ")", ".", "getReg", "(", ")", ";", "for", "(", "unsigned", "bop", "=", "", ";", "bop", "<", "bend", ";", "++", "bop", ")", "{", "if", "(", "b", "->", "getOperand", "(", "bop", ")", ".", "isReg", "(", ")", "&&", "!", "b", "->", "getOperand", "(", "bop", ")", ".", "isImplicit", "(", ")", ")", "{", "unsigned", "bop_reg", "=", "b", "->", "getOperand", "(", "bop", ")", ".", "getReg", "(", ")", ";", "if", "(", "aop_reg", "==", "bop_reg", ")", "return", "true", ";", "}", "}", "}"], "ground_truth": ["}"], "File": "MBlazeDelaySlotFiller6", "Func": "delayHasHazard", "Target": "MBlaze", "Target_Clf": "MPU", "Compiler_Type": "LLVM", "Idx": 136659, "Length": 245, "Cover_Rate": 0.625} {"Template_token": ["", "}", "}", "if", "(", "a_is_memory", "&&", "m", "->", "getDesc", "(", ")", ".", "mayStore", "(", ")", ")", "return", "true", ";", "}", "for", "(", "unsigned", "aop", "=", "", ";", "aop", "<", "aend", ";", "++", "aop", ")", "{", "if", "(", "a", "->", "getOperand", "(", "aop", ")", ".", "isReg", "(", ")", ")", "{", "unsigned", "aop_reg", "=", "a", "->", "getOperand", "(", "aop", ")", ".", "getReg", "(", ")", ";", "for", "(", "unsigned", "bop", "=", "", ";", "bop", "<", "bend", ";", "++", "bop", ")", "{", "if", "(", "b", "->", "getOperand", "(", "bop", ")", ".", "isReg", "(", ")", "&&", "!", "b", "->", "getOperand", "(", "bop", ")", ".", "isImplicit", "(", ")", ")", "{"], "ground_truth": ["unsigned", "bop_reg", "=", "b", "->", "getOperand", "(", "bop", ")", ".", "getReg", "(", ")", ";"], "File": "MBlazeDelaySlotFiller6", "Func": "delayHasHazard", "Target": "MBlaze", "Target_Clf": "MPU", "Compiler_Type": "LLVM", "Idx": 136660, "Length": 118, "Cover_Rate": 0.3010204081632653} {"Template_token": ["", "--", "I", ";", "MCInstrDesc", "desc", "=", "I", "->", "getDesc", "(", ")", ";", "if", "(", "desc", ".", "hasDelaySlot", "(", ")", "||", "desc", ".", "isBranch", "(", ")", "||", "isDelayFiller", "(", "MBB", ",", "I", ")", "||", "desc", ".", "isCall", "(", ")", "||", "desc", ".", "isReturn", "(", ")", "||", "desc", ".", "isBarrier", "(", ")", "||", "hasUnknownSideEffects", "(", "I", ")", ")", "break", ";", "if", "(", "hasImmInstruction", "(", "I", ")", "||", "delayHasHazard", "(", "I", ",", "slot", ")", ")", "continue", ";", "return", "I", ";"], "ground_truth": ["}"], "File": "MBlazeDelaySlotFiller6", "Func": "findDelayInstr", "Target": "MBlaze", "Target_Clf": "MPU", "Compiler_Type": "LLVM", "Idx": 136661, "Length": 78, "Cover_Rate": 0.6190476190476191} {"Template_token": ["", "MachineBasicBlock", "::", "iterator", "I", "=", "slot", ";", "while", "(", "true", ")", "{", "if", "(", "I", "==", "MBB", ".", "begin", "(", ")", ")", "break", ";", "--", "I", ";", "MCInstrDesc", "desc", "=", "I", "->", "getDesc", "(", ")", ";", "if", "(", "desc", ".", "hasDelaySlot", "(", ")", "||", "desc", ".", "isBranch", "(", ")", "||", "isDelayFiller", "(", "MBB", ",", "I", ")", "||", "desc", ".", "isCall", "(", ")", "||", "desc", ".", "isReturn", "(", ")", "||", "desc", ".", "isBarrier", "(", ")", "||", "hasUnknownSideEffects", "(", "I", ")", ")", "break", ";", "if", "(", "hasImmInstruction", "(", "I", ")", "||", "delayHasHazard", "(", "I", ",", "slot", ")", ")", "continue", ";"], "ground_truth": ["return", "I", ";"], "File": "MBlazeDelaySlotFiller6", "Func": "findDelayInstr", "Target": "MBlaze", "Target_Clf": "MPU", "Compiler_Type": "LLVM", "Idx": 136662, "Length": 101, "Cover_Rate": 0.8015873015873016} {"Template_token": ["", "if", "(", "candidate", "==", "MBB", ".", "begin", "(", ")", ")", "return", "false", ";", "MCInstrDesc", "brdesc", "=", "(", "--", "candidate", ")", "->", "getDesc", "(", ")", ";"], "ground_truth": ["return", "(", "brdesc", ".", "hasDelaySlot", "(", ")", ")", ";"], "File": "MBlazeDelaySlotFiller6", "Func": "isDelayFiller", "Target": "MBlaze", "Target_Clf": "MPU", "Compiler_Type": "LLVM", "Idx": 136663, "Length": 34, "Cover_Rate": 0.6938775510204082} {"Template_token": ["", "MachineBasicBlock", "::", "iterator", "J", "=", "I", ";", "if", "(", "!", "MBDisableDelaySlotFiller", ")", "D", "=", "findDelayInstr", "(", "MBB", ",", "I", ")", ";", "++", "FilledSlots", ";", "Changed", "=", "true", ";", "if", "(", "D", "==", "MBB", ".", "end", "(", ")", ")", "BuildMI", "(", "MBB", ",", "++", "J", ",", "I", "->", "getDebugLoc", "(", ")", ",", "TII", "->", "get", "(", "", ")", ")", ";", "else", "MBB", ".", "splice", "(", "++", "J", ",", "&", "MBB", ",", "D", ")", ";", "}"], "ground_truth": ["return", "Changed", ";"], "File": "MBlazeDelaySlotFiller6", "Func": "runOnMachineBasicBlock", "Target": "MBlaze", "Target_Clf": "MPU", "Compiler_Type": "LLVM", "Idx": 136664, "Length": 77, "Cover_Rate": 0.5384615384615384} {"Template_token": ["", "if", "(", "!", "MBDisableDelaySlotFiller", ")", "D", "=", "findDelayInstr", "(", "MBB", ",", "I", ")", ";", "++", "FilledSlots", ";", "Changed", "=", "true", ";", "if", "(", "D", "==", "MBB", ".", "end", "(", ")", ")", "BuildMI", "(", "MBB", ",", "++", "J", ",", "I", "->", "getDebugLoc", "(", ")", ",", "TII", "->", "get", "(", "", ")", ")", ";"], "ground_truth": ["else", "MBB", ".", "splice", "(", "++", "J", ",", "&", "MBB", ",", "D", ")", ";"], "File": "MBlazeDelaySlotFiller6", "Func": "runOnMachineBasicBlock", "Target": "MBlaze", "Target_Clf": "MPU", "Compiler_Type": "LLVM", "Idx": 136665, "Length": 66, "Cover_Rate": 0.46153846153846156} {"Template_token": ["", "Filler", "(", "TargetMachine", "&", "tm", ")", ":", "MachineFunctionPass", "(", "&", "ID", ")", ",", "TM", "(", "tm", ")", ",", "TII", "(", "tm", ".", "getInstrInfo", "(", ")", ")", "{"], "ground_truth": ["}"], "File": "MBlazeDelaySlotFiller7", "Func": "Filler", "Target": "MBlaze", "Target_Clf": "MPU", "Compiler_Type": "LLVM", "Idx": 136666, "Length": 28, "Cover_Rate": 1.0} {"Template_token": ["", "Filler", "(", "TargetMachine", "&", "tm", ")", ":", "MachineFunctionPass", "(", "&", "ID", ")", ",", "TM", "(", "tm", ")", ",", "TII", "(", "tm", ".", "getInstrInfo", "(", ")", ")", "{"], "ground_truth": ["}"], "File": "MBlazeDelaySlotFiller7", "Func": "Filler", "Target": "MBlaze", "Target_Clf": "MPU", "Compiler_Type": "LLVM", "Idx": 136667, "Length": 28, "Cover_Rate": 1.0} {"Template_token": ["", "bool", "a_is_memory", "=", "candidate", "->", "mayLoad", "(", ")", "||", "candidate", "->", "mayStore", "(", ")", ";", "const", "unsigned", "aend", "=", "getLastRealOperand", "(", "a", ")", ";", "const", "unsigned", "bend", "=", "getLastRealOperand", "(", "b", ")", ";", "MachineBasicBlock", "::", "iterator", "m", "=", "a", ";", "for", "(", "++", "m", ";", "m", "!=", "b", ";", "++", "m", ")", "{", "for", "(", "unsigned", "aop", "=", "", ";", "aop", "<", "aend", ";", "++", "aop", ")", "{", "bool", "aop_is_reg", "=", "a", "->", "getOperand", "(", "aop", ")", ".", "isReg", "(", ")", ";", "if", "(", "!", "aop_is_reg", ")", "continue", ";", "bool", "aop_is_def", "=", "a", "->", "getOperand", "(", "aop", ")", ".", "isDef", "(", ")", ";", "unsigned", "aop_reg", "=", "a", "->", "getOperand", "(", "aop", ")", ".", "getReg", "(", ")", ";", "const", "unsigned", "mend", "=", "getLastRealOperand", "(", "m", ")", ";", "for", "(", "unsigned", "mop", "=", "", ";", "mop", "<", "mend", ";", "++", "mop", ")", "{", "bool", "mop_is_reg", "=", "m", "->", "getOperand", "(", "mop", ")", ".", "isReg", "(", ")", ";"], "ground_truth": ["if", "(", "!", "mop_is_reg", ")", "continue", ";"], "File": "MBlazeDelaySlotFiller", "Func": "delayHasHazard", "Target": "MBlaze", "Target_Clf": "MPU", "Compiler_Type": "LLVM", "Idx": 136670, "Length": 162, "Cover_Rate": 0.42744063324538256} {"Template_token": ["", "if", "(", "!", "mop_is_reg", ")", "continue", ";", "bool", "mop_is_def", "=", "m", "->", "getOperand", "(", "mop", ")", ".", "isDef", "(", ")", ";", "unsigned", "mop_reg", "=", "m", "->", "getOperand", "(", "mop", ")", ".", "getReg", "(", ")", ";", "if", "(", "aop_is_def", "&&", "(", "mop_reg", "==", "aop_reg", ")", ")", "return", "true", ";", "else", "if", "(", "mop_is_def", "&&", "(", "mop_reg", "==", "aop_reg", ")", ")", "return", "true", ";", "}", "}", "if", "(", "a_is_memory", "&&", "m", "->", "mayStore", "(", ")", ")", "return", "true", ";", "}", "for", "(", "unsigned", "aop", "=", "", ";", "aop", "<", "aend", ";", "++", "aop", ")", "{", "if", "(", "a", "->", "getOperand", "(", "aop", ")", ".", "isReg", "(", ")", ")", "{", "unsigned", "aop_reg", "=", "a", "->", "getOperand", "(", "aop", ")", ".", "getReg", "(", ")", ";", "for", "(", "unsigned", "bop", "=", "", ";", "bop", "<", "bend", ";", "++", "bop", ")", "{", "if", "(", "b", "->", "getOperand", "(", "bop", ")", ".", "isReg", "(", ")", "&&", "!", "b", "->", "getOperand", "(", "bop", ")", ".", "isImplicit", "(", ")", ")", "{", "unsigned", "bop_reg", "=", "b", "->", "getOperand", "(", "bop", ")", ".", "getReg", "(", ")", ";", "if", "(", "aop_reg", "==", "bop_reg", ")", "return", "true", ";", "}", "}", "}"], "ground_truth": ["}"], "File": "MBlazeDelaySlotFiller", "Func": "delayHasHazard", "Target": "MBlaze", "Target_Clf": "MPU", "Compiler_Type": "LLVM", "Idx": 136671, "Length": 189, "Cover_Rate": 0.49868073878627966} {"Template_token": ["", "Filler", "(", "TargetMachine", "&", "tm", ")", ":", "MachineFunctionPass", "(", "ID", ")", ",", "TM", "(", "tm", ")", "{"], "ground_truth": ["}"], "File": "MBlazeDelaySlotFiller", "Func": "Filler", "Target": "MBlaze", "Target_Clf": "MPU", "Compiler_Type": "LLVM", "Idx": 136672, "Length": 18, "Cover_Rate": 1.0} {"Template_token": ["", "Filler", "(", "TargetMachine", "&", "tm", ")", ":", "MachineFunctionPass", "(", "ID", ")", ",", "TM", "(", "tm", ")", "{"], "ground_truth": ["}"], "File": "MBlazeDelaySlotFiller", "Func": "Filler", "Target": "MBlaze", "Target_Clf": "MPU", "Compiler_Type": "LLVM", "Idx": 136673, "Length": 18, "Cover_Rate": 1.0} {"Template_token": ["", "static", "MachineBasicBlock", "::", "iterator", "findDelayInstr", "(", "MachineBasicBlock", "&", "MBB", ",", "MachineBasicBlock", "::", "iterator", "slot", ")", "{", "MachineBasicBlock", "::", "iterator", "I", "=", "slot", ";", "while", "(", "true", ")", "{"], "ground_truth": ["if", "(", "I", "==", "MBB", ".", "begin", "(", ")", ")", "break", ";"], "File": "MBlazeDelaySlotFiller", "Func": "findDelayInstr", "Target": "MBlaze", "Target_Clf": "MPU", "Compiler_Type": "LLVM", "Idx": 136674, "Length": 40, "Cover_Rate": 0.3418803418803419} {"Template_token": ["", "virtual", "const", "char", "*", "getPassName", "(", ")", "const", "{", "return", "", ";"], "ground_truth": ["}"], "File": "MBlazeDelaySlotFiller", "Func": "getPassName", "Target": "MBlaze", "Target_Clf": "MPU", "Compiler_Type": "LLVM", "Idx": 136675, "Length": 13, "Cover_Rate": 1.0} {"Template_token": ["", "if", "(", "mop", ".", "isImm", "(", ")", "&&", "(", "mop", ".", "getImm", "(", ")", "<", "-", "", "||", "mop", ".", "getImm", "(", ")", ">", "", ")", ")", "return", "true", ";", "if", "(", "mop", ".", "isGlobal", "(", ")", "||", "mop", ".", "isSymbol", "(", ")", "||", "mop", ".", "isJTI", "(", ")", "||", "mop", ".", "isCPI", "(", ")", ")", "return", "true", ";"], "ground_truth": ["if", "(", "mop", ".", "isFPImm", "(", ")", ")", "return", "true", ";"], "File": "MBlazeDelaySlotFiller", "Func": "hasImmInstruction", "Target": "MBlaze", "Target_Clf": "MPU", "Compiler_Type": "LLVM", "Idx": 136677, "Length": 70, "Cover_Rate": 0.5785123966942148} {"Template_token": ["", "unsigned", "numOper", "=", "candidate", "->", "getNumOperands", "(", ")", ";", "for", "(", "unsigned", "op", "=", "", ";", "op", "<", "numOper", ";", "++", "op", ")", "{", "MachineOperand", "&", "mop", "=", "candidate", "->", "getOperand", "(", "op", ")", ";", "if", "(", "mop", ".", "isImm", "(", ")", "&&", "(", "mop", ".", "getImm", "(", ")", "<", "-", "", "||", "mop", ".", "getImm", "(", ")", ">", "", ")", ")", "return", "true", ";", "if", "(", "mop", ".", "isGlobal", "(", ")", "||", "mop", ".", "isSymbol", "(", ")", "||", "mop", ".", "isJTI", "(", ")", "||", "mop", ".", "isCPI", "(", ")", ")", "return", "true", ";", "if", "(", "mop", ".", "isFPImm", "(", ")", ")", "return", "true", ";", "}"], "ground_truth": ["return", "false", ";"], "File": "MBlazeDelaySlotFiller", "Func": "hasImmInstruction", "Target": "MBlaze", "Target_Clf": "MPU", "Compiler_Type": "LLVM", "Idx": 136678, "Length": 109, "Cover_Rate": 0.9008264462809917} {"Template_token": ["", "if", "(", "op", "==", "", "||", "op", "==", "", "||", "op", "==", "", "||", "op", "==", "", "||", "op", "==", "", "||", "op", "==", "", "||", "op", "==", "", "||", "op", "==", "", "||", "op", "==", "", "||", "op", "==", "", "||", "op", "==", "", "||", "op", "==", "", ")", "return", "false", ";", "return", "true", ";"], "ground_truth": ["}"], "File": "MBlazeDelaySlotFiller", "Func": "hasUnknownSideEffects", "Target": "MBlaze", "Target_Clf": "MPU", "Compiler_Type": "LLVM", "Idx": 136679, "Length": 57, "Cover_Rate": 0.504424778761062} {"Template_token": ["", "--", "candidate", ";", "return", "(", "candidate", "->", "hasDelaySlot", "(", ")", ")", ";"], "ground_truth": ["}"], "File": "MBlazeDelaySlotFiller", "Func": "isDelayFiller", "Target": "MBlaze", "Target_Clf": "MPU", "Compiler_Type": "LLVM", "Idx": 136681, "Length": 13, "Cover_Rate": 0.325} {"Template_token": ["", "bool", "Changed", "=", "false", ";", "for", "(", "MachineBasicBlock", "::", "iterator", "I", "=", "MBB", ".", "begin", "(", ")", ";", "I", "!=", "MBB", ".", "end", "(", ")", ";", "++", "I", ")", "if", "(", "I", "->", "hasDelaySlot", "(", ")", ")", "{", "MachineBasicBlock", "::", "iterator", "D", "=", "MBB", ".", "end", "(", ")", ";", "MachineBasicBlock", "::", "iterator", "J", "=", "I", ";", "if", "(", "!", "MBDisableDelaySlotFiller", ")", "D", "=", "findDelayInstr", "(", "MBB", ",", "I", ")", ";", "++", "FilledSlots", ";", "Changed", "=", "true", ";", "if", "(", "D", "==", "MBB", ".", "end", "(", ")", ")", "BuildMI", "(", "MBB", ",", "++", "J", ",", "I", "->", "getDebugLoc", "(", ")", ",", "TM", ".", "getInstrInfo", "(", ")", "->", "get", "(", "", ")", ")", ";", "else", "MBB", ".", "splice", "(", "++", "J", ",", "&", "MBB", ",", "D", ")", ";", "}", "return", "Changed", ";"], "ground_truth": ["}"], "File": "MBlazeDelaySlotFiller", "Func": "runOnMachineBasicBlock", "Target": "MBlaze", "Target_Clf": "MPU", "Compiler_Type": "LLVM", "Idx": 136682, "Length": 131, "Cover_Rate": 0.916083916083916} {"Template_token": ["", "for", "(", "MachineBasicBlock", "::", "iterator", "I", "=", "MBB", ".", "begin", "(", ")", ";", "I", "!=", "MBB", ".", "end", "(", ")", ";", "++", "I", ")", "if", "(", "I", "->", "hasDelaySlot", "(", ")", ")", "{", "MachineBasicBlock", "::", "iterator", "D", "=", "MBB", ".", "end", "(", ")", ";", "MachineBasicBlock", "::", "iterator", "J", "=", "I", ";", "if", "(", "!", "MBDisableDelaySlotFiller", ")", "D", "=", "findDelayInstr", "(", "MBB", ",", "I", ")", ";", "++", "FilledSlots", ";"], "ground_truth": ["Changed", "=", "true", ";"], "File": "MBlazeDelaySlotFiller", "Func": "runOnMachineBasicBlock", "Target": "MBlaze", "Target_Clf": "MPU", "Compiler_Type": "LLVM", "Idx": 136683, "Length": 72, "Cover_Rate": 0.5034965034965035} {"Template_token": ["", "for", "(", "MachineFunction", "::", "iterator", "FI", "=", "F", ".", "begin", "(", ")", ",", "FE", "=", "F", ".", "end", "(", ")", ";", "FI", "!=", "FE", ";", "++", "FI", ")", "Changed", "|=", "runOnMachineBasicBlock", "(", "*", "FI", ")", ";"], "ground_truth": ["return", "Changed", ";"], "File": "MBlazeDelaySlotFiller", "Func": "runOnMachineFunction", "Target": "MBlaze", "Target_Clf": "MPU", "Compiler_Type": "LLVM", "Idx": 136684, "Length": 39, "Cover_Rate": 0.7358490566037735} {"Template_token": ["", "switch", "(", "(", "insn", ">>", "", ")", "&", "", ")", "{", "default", ":", "return", "UNSUPPORTED", ";", "case", "", ":", "return", "", ";", "case", "", ":", "return", "", ";", "case", "", ":", "return", "", ";", "case", "", ":", "return", "", ";", "case", "", ":", "return", "", ";", "case", "", ":", "return", "", ";", "case", "", ":", "return", "", ";"], "ground_truth": ["}"], "File": "MBlazeDisassembler1", "Func": "decodeBRI", "Target": "MBlaze", "Target_Clf": "MPU", "Compiler_Type": "LLVM", "Idx": 136685, "Length": 59, "Cover_Rate": 0.5} {"Template_token": ["", "switch", "(", "insn", "&", "", ")", "{", "default", ":", "return", "UNSUPPORTED", ";", "case", "", ":", "return", "", ";", "case", "", ":", "return", "", ";", "case", "", ":", "return", "", ";", "case", "", ":", "return", "", ";", "case", "", ":", "return", "", ";", "case", "", ":", "return", "", ";"], "ground_truth": ["case", "", ":", "return", "", ";"], "File": "MBlazeDisassembler1", "Func": "decodeSEXT", "Target": "MBlaze", "Target_Clf": "MPU", "Compiler_Type": "LLVM", "Idx": 136686, "Length": 54, "Cover_Rate": 0.5294117647058824} {"Template_token": ["", "const", "EDInstInfo", "*", "Disassembler", "::", "getEDInfo", "(", ")", "const", "{"], "ground_truth": ["return", "instInfo", ";"], "File": "MBlazeDisassembler1", "Func": "getEDInfo", "Target": "MBlaze", "Target_Clf": "MPU", "Compiler_Type": "LLVM", "Idx": 136687, "Length": 13, "Cover_Rate": 0.9285714285714286} {"Template_token": ["", "return", "new", "Disassembler", ";"], "ground_truth": ["}"], "File": "MBlazeDisassembler2", "Func": "createMBlazeDisassembler", "Target": "MBlaze", "Target_Clf": "MPU", "Compiler_Type": "LLVM", "Idx": 136688, "Length": 5, "Cover_Rate": 0.3125} {"Template_token": ["", "return", "new", "Disassembler", ";"], "ground_truth": ["}"], "File": "MBlazeDisassembler2", "Func": "createMBlazeDisassembler", "Target": "MBlaze", "Target_Clf": "MPU", "Compiler_Type": "LLVM", "Idx": 136689, "Length": 5, "Cover_Rate": 0.3125} {"Template_token": ["", "return", "RegisterInfo", "::", "getRegisterFromNumbering", "(", "(", "insn", ">>", "", ")", "&", "", ")", ";"], "ground_truth": ["}"], "File": "MBlazeDisassembler2", "Func": "getRA", "Target": "MBlaze", "Target_Clf": "MPU", "Compiler_Type": "LLVM", "Idx": 136691, "Length": 15, "Cover_Rate": 0.6521739130434783} {"Template_token": ["", "static", "unsigned", "getRA", "(", "uint32_t", "insn", ")", "{", "return", "RegisterInfo", "::", "getRegisterFromNumbering", "(", "(", "insn", ">>", "", ")", "&", "", ")", ";"], "ground_truth": ["}"], "File": "MBlazeDisassembler2", "Func": "getRA", "Target": "MBlaze", "Target_Clf": "MPU", "Compiler_Type": "LLVM", "Idx": 136692, "Length": 23, "Cover_Rate": 1.0} {"Template_token": ["", "static", "unsigned", "getRB", "(", "uint32_t", "insn", ")", "{", "return", "RegisterInfo", "::", "getRegisterFromNumbering", "(", "(", "insn", ">>", "", ")", "&", "", ")", ";"], "ground_truth": ["}"], "File": "MBlazeDisassembler2", "Func": "getRB", "Target": "MBlaze", "Target_Clf": "MPU", "Compiler_Type": "LLVM", "Idx": 136693, "Length": 23, "Cover_Rate": 1.0} {"Template_token": ["", "return", "RegisterInfo", "::", "getRegisterFromNumbering", "(", "(", "insn", ">>", "", ")", "&", "", ")", ";"], "ground_truth": ["}"], "File": "MBlazeDisassembler2", "Func": "getRB", "Target": "MBlaze", "Target_Clf": "MPU", "Compiler_Type": "LLVM", "Idx": 136694, "Length": 15, "Cover_Rate": 0.6521739130434783} {"Template_token": ["", "return", "RegisterInfo", "::", "getRegisterFromNumbering", "(", "(", "insn", ">>", "", ")", "&", "", ")", ";"], "ground_truth": ["}"], "File": "MBlazeDisassembler2", "Func": "getRD", "Target": "MBlaze", "Target_Clf": "MPU", "Compiler_Type": "LLVM", "Idx": 136695, "Length": 15, "Cover_Rate": 0.6521739130434783} {"Template_token": ["", "return", "RegisterInfo", "::", "getRegisterFromNumbering", "(", "(", "insn", ">>", "", ")", "&", "", ")", ";"], "ground_truth": ["}"], "File": "MBlazeDisassembler2", "Func": "getRD", "Target": "MBlaze", "Target_Clf": "MPU", "Compiler_Type": "LLVM", "Idx": 136696, "Length": 15, "Cover_Rate": 0.6521739130434783} {"Template_token": ["", "int16_t", "val", "=", "(", "insn", "&", "", ")", ";", "return", "val", ";"], "ground_truth": ["}"], "File": "MBlazeDisassembler2", "Func": "getRS", "Target": "MBlaze", "Target_Clf": "MPU", "Compiler_Type": "LLVM", "Idx": 136697, "Length": 13, "Cover_Rate": 0.6190476190476191} {"Template_token": ["", "MCDisassembler", "(", ")", "{"], "ground_truth": ["}"], "File": "MBlazeDisassembler2", "Func": "MBlazeDisassembler", "Target": "MBlaze", "Target_Clf": "MPU", "Compiler_Type": "LLVM", "Idx": 136699, "Length": 5, "Cover_Rate": 0.5555555555555556} {"Template_token": ["", "return", "RegisterInfo", "::", "getSpecialRegisterFromNumbering", "(", "insn", "&", "", ")", ";"], "ground_truth": ["}"], "File": "MBlazeDisassembler4", "Func": "getRS", "Target": "MBlaze", "Target_Clf": "MPU", "Compiler_Type": "LLVM", "Idx": 136701, "Length": 11, "Cover_Rate": 0.5789473684210527} {"Template_token": ["", "case", "", ":", "case", "", ":", "instr", ".", "addOperand", "(", "MCOperand", "::", "CreateImm", "(", "insn", "&", "", ")", ")", ";", "break", ";", "}", "break", ";", "case", "", ":", "if", "(", "RA", "==", "UNSUPPORTED", "||", "RB", "==", "UNSUPPORTED", ")", "return", "Fail", ";", "instr", ".", "addOperand", "(", "MCOperand", "::", "CreateReg", "(", "RA", ")", ")", ";", "instr", ".", "addOperand", "(", "MCOperand", "::", "CreateReg", "(", "RB", ")", ")", ";", "break", ";", "case", "", ":", "if", "(", "RA", "==", "UNSUPPORTED", ")", "return", "Fail", ";", "instr", ".", "addOperand", "(", "MCOperand", "::", "CreateReg", "(", "RA", ")", ")", ";", "instr", ".", "addOperand", "(", "MCOperand", "::", "CreateImm", "(", "getIMM", "(", "insn", ")", ")", ")", ";", "break", ";", "case", "", ":", "if", "(", "RD", "==", "UNSUPPORTED", "||", "RB", "==", "UNSUPPORTED", ")", "return", "Fail", ";", "instr", ".", "addOperand", "(", "MCOperand", "::", "CreateReg", "(", "RD", ")", ")", ";", "instr", ".", "addOperand", "(", "MCOperand", "::", "CreateReg", "(", "RB", ")", ")", ";", "break", ";", "case", "", ":", "if", "(", "RD", "==", "UNSUPPORTED", ")", "return", "Fail", ";", "instr", ".", "addOperand", "(", "MCOperand", "::", "CreateReg", "(", "RD", ")", ")", ";", "instr", ".", "addOperand", "(", "MCOperand", "::", "CreateImm", "(", "getIMM", "(", "insn", ")", ")", ")", ";", "break", ";", "case", "", ":", "if", "(", "RB", "==", "UNSUPPORTED", ")", "return", "Fail", ";", "instr", ".", "addOperand", "(", "MCOperand", "::", "CreateReg", "(", "RB", ")", ")", ";", "break", ";", "case", "", ":", "instr", ".", "addOperand", "(", "MCOperand", "::", "CreateImm", "(", "getIMM", "(", "insn", ")", ")", ")", ";", "break", ";", "case", "", ":", "if", "(", "RD", "==", "UNSUPPORTED", "||", "RA", "==", "UNSUPPORTED", ")", "return", "Fail", ";", "instr", ".", "addOperand", "(", "MCOperand", "::", "CreateReg", "(", "RD", ")", ")", ";", "instr", ".", "addOperand", "(", "MCOperand", "::", "CreateReg", "(", "RA", ")", ")", ";", "instr", ".", "addOperand", "(", "MCOperand", "::", "CreateImm", "(", "getSHT", "(", "insn", ")", ")", ")", ";", "break", ";", "case", "", ":", "if", "(", "RD", "==", "UNSUPPORTED", "||", "RA", "==", "UNSUPPORTED", ")", "return", "Fail", ";", "instr", ".", "addOperand", "(", "MCOperand", "::", "CreateReg", "(", "RD", ")", ")", ";", "instr", ".", "addOperand", "(", "MCOperand", "::", "CreateReg", "(", "RA", ")", ")", ";", "break", ";", "case", "", ":", "if", "(", "RD", "==", "UNSUPPORTED", ")", "return", "Fail", ";", "instr", ".", "addOperand", "(", "MCOperand", "::", "CreateReg", "(", "RD", ")", ")", ";", "instr", ".", "addOperand", "(", "MCOperand", "::", "CreateImm", "(", "getFSL", "(", "insn", ")", ")", ")", ";", "break", ";", "case", "", ":", "if", "(", "RD", "==", "UNSUPPORTED", "||", "RS", "==", "UNSUPPORTED", ")", "return", "Fail", ";", "instr", ".", "addOperand", "(", "MCOperand", "::", "CreateReg", "(", "RD", ")", ")", ";", "instr", ".", "addOperand", "(", "MCOperand", "::", "CreateReg", "(", "RS", ")", ")", ";", "break", ";", "case", "", ":", "if", "(", "RS", "==", "UNSUPPORTED", "||", "RA", "==", "UNSUPPORTED", ")", "return", "Fail", ";", "instr", ".", "addOperand", "(", "MCOperand", "::", "CreateReg", "(", "RS", ")", ")", ";"], "ground_truth": ["instr", ".", "addOperand", "(", "MCOperand", "::", "CreateReg", "(", "RA", ")", ")", ";"], "File": "MBlazeDisassembler8", "Func": "getInstruction", "Target": "MBlaze", "Target_Clf": "MPU", "Compiler_Type": "LLVM", "Idx": 136702, "Length": 459, "Cover_Rate": 0.375} {"Template_token": ["", "return", "new", "Disassembler", "(", "STI", ")", ";"], "ground_truth": ["}"], "File": "MBlazeDisassembler", "Func": "createMBlazeDisassembler", "Target": "MBlaze", "Target_Clf": "MPU", "Compiler_Type": "LLVM", "Idx": 136704, "Length": 8, "Cover_Rate": 0.3333333333333333} {"Template_token": ["", "static", "unsigned", "decodeANDN", "(", "uint32_t", "insn", ")", "{", "switch", "(", "getFLAGS", "(", "insn", ")", ")", "{", "default", ":", "return", "UNSUPPORTED", ";"], "ground_truth": ["case", "", ":", "return", "", ";"], "File": "MBlazeDisassembler", "Func": "decodeANDN", "Target": "MBlaze", "Target_Clf": "MPU", "Compiler_Type": "LLVM", "Idx": 136705, "Length": 27, "Cover_Rate": 0.6923076923076923} {"Template_token": ["", "default", ":", "return", "UNSUPPORTED", ";", "case", "", ":", "return", "", ";", "case", "", ":", "return", "", ";", "case", "", ":", "return", "", ";", "case", "", ":", "return", "", ";", "case", "", ":", "return", "", ";", "case", "", ":", "return", "", ";", "case", "", ":", "return", "", ";", "case", "", ":", "return", "", ";", "case", "", ":", "return", "", ";", "case", "", ":", "return", "", ";", "case", "", ":", "return", "", ";", "case", "", ":", "return", "", ";", "}"], "ground_truth": ["}"], "File": "MBlazeDisassembler", "Func": "decodeBEQI", "Target": "MBlaze", "Target_Clf": "MPU", "Compiler_Type": "LLVM", "Idx": 136706, "Length": 79, "Cover_Rate": 0.6475409836065574} {"Template_token": ["", "switch", "(", "(", "insn", ">>", "", ")", "&", "", ")", "{", "default", ":", "return", "UNSUPPORTED", ";", "case", "", ":", "return", "", ";", "case", "", ":", "return", "", ";", "case", "", ":", "return", "", ";", "case", "", ":", "return", "", ";", "case", "", ":", "return", "", ";", "case", "", ":", "return", "", ";", "case", "", ":", "return", "", ";", "case", "", ":", "return", "", ";"], "ground_truth": ["case", "", ":", "return", "", ";"], "File": "MBlazeDisassembler", "Func": "decodeBEQI", "Target": "MBlaze", "Target_Clf": "MPU", "Compiler_Type": "LLVM", "Idx": 136707, "Length": 70, "Cover_Rate": 0.5737704918032787} {"Template_token": ["", "static", "unsigned", "decodeBR", "(", "uint32_t", "insn", ")", "{", "switch", "(", "(", "insn", ">>", "", ")", "&", "", ")", "{", "default", ":", "return", "UNSUPPORTED", ";", "case", "", ":", "return", "", ";", "case", "", ":", "return", "", ";", "case", "", ":", "return", "", ";", "case", "", ":", "return", "", ";"], "ground_truth": ["case", "", ":", "return", "", ";"], "File": "MBlazeDisassembler", "Func": "decodeBR", "Target": "MBlaze", "Target_Clf": "MPU", "Compiler_Type": "LLVM", "Idx": 136708, "Length": 54, "Cover_Rate": 0.6585365853658537} {"Template_token": ["", "case", "", ":", "return", "", ";", "case", "", ":", "return", "", ";", "case", "", ":", "return", "", ";", "case", "", ":", "return", "", ";"], "ground_truth": ["case", "", ":", "return", "", ";"], "File": "MBlazeDisassembler", "Func": "decodeBRI", "Target": "MBlaze", "Target_Clf": "MPU", "Compiler_Type": "LLVM", "Idx": 136709, "Length": 30, "Cover_Rate": 0.36585365853658536} {"Template_token": ["", "default", ":", "return", "UNSUPPORTED", ";", "case", "", ":", "return", "", ";"], "ground_truth": ["case", "", ":", "return", "", ";"], "File": "MBlazeDisassembler", "Func": "decodeBSRL", "Target": "MBlaze", "Target_Clf": "MPU", "Compiler_Type": "LLVM", "Idx": 136710, "Length": 17, "Cover_Rate": 0.34} {"Template_token": ["", "default", ":", "return", "UNSUPPORTED", ";", "case", "", ":", "return", "", ";", "case", "", ":", "return", "", ";", "case", "", ":", "return", "", ";", "}"], "ground_truth": ["}"], "File": "MBlazeDisassembler", "Func": "decodeBSRLI", "Target": "MBlaze", "Target_Clf": "MPU", "Compiler_Type": "LLVM", "Idx": 136711, "Length": 25, "Cover_Rate": 0.5} {"Template_token": ["", "case", "", ":", "return", "", ";", "case", "", ":", "return", "", ";", "case", "", ":", "return", "", ";", "case", "", ":", "return", "", ";", "case", "", ":", "return", "", ";", "case", "", ":", "return", "", ";", "case", "", ":", "return", "", ";", "case", "", ":", "return", "", ";", "case", "", ":", "return", "", ";", "case", "", ":", "return", "", ";", "case", "", ":", "return", "", ";", "case", "", ":", "return", "", ";", "case", "", ":", "return", "", ";", "case", "", ":", "return", "", ";", "case", "", ":", "return", "", ";", "case", "", ":", "return", "", ";", "case", "", ":", "return", "", ";", "case", "", ":", "return", "", ";", "case", "", ":", "return", "", ";", "case", "", ":", "return", "", ";", "case", "", ":", "return", "", ";", "case", "", ":", "return", "", ";", "case", "", ":", "return", "", ";", "case", "", ":", "return", "", ";", "case", "", ":", "return", "", ";", "case", "", ":", "return", "", ";", "case", "", ":", "return", "", ";", "case", "", ":", "return", "", ";"], "ground_truth": ["case", "", ":", "return", "", ";"], "File": "MBlazeDisassembler", "Func": "decodeGETD", "Target": "MBlaze", "Target_Clf": "MPU", "Compiler_Type": "LLVM", "Idx": 136712, "Length": 174, "Cover_Rate": 0.424390243902439} {"Template_token": ["", "switch", "(", "insn", "&", "", ")", "{", "default", ":", "return", "UNSUPPORTED", ";"], "ground_truth": ["case", "", ":", "return", "", ";"], "File": "MBlazeDisassembler", "Func": "decodeIDIV", "Target": "MBlaze", "Target_Clf": "MPU", "Compiler_Type": "LLVM", "Idx": 136713, "Length": 18, "Cover_Rate": 0.47368421052631576} {"Template_token": ["", "switch", "(", "insn", "&", "", ")", "{", "default", ":", "return", "UNSUPPORTED", ";", "case", "", ":", "return", "", ";", "case", "", ":", "return", "", ";", "}"], "ground_truth": ["}"], "File": "MBlazeDisassembler", "Func": "decodeIDIV", "Target": "MBlaze", "Target_Clf": "MPU", "Compiler_Type": "LLVM", "Idx": 136714, "Length": 26, "Cover_Rate": 0.6842105263157895} {"Template_token": ["", "switch", "(", "(", "insn", ">>", "", ")", "&", "", ")", "{", "default", ":", "return", "UNSUPPORTED", ";", "case", "", ":", "return", "", ";", "case", "", ":", "return", "", ";"], "ground_truth": ["}"], "File": "MBlazeDisassembler", "Func": "decodeLBU", "Target": "MBlaze", "Target_Clf": "MPU", "Compiler_Type": "LLVM", "Idx": 136715, "Length": 29, "Cover_Rate": 0.6904761904761905} {"Template_token": ["", "static", "unsigned", "decodeLHU", "(", "uint32_t", "insn", ")", "{", "switch", "(", "(", "insn", ">>", "", ")", "&", "", ")", "{", "default", ":", "return", "UNSUPPORTED", ";", "case", "", ":", "return", "", ";", "case", "", ":", "return", "", ";", "}"], "ground_truth": ["}"], "File": "MBlazeDisassembler", "Func": "decodeLHU", "Target": "MBlaze", "Target_Clf": "MPU", "Compiler_Type": "LLVM", "Idx": 136716, "Length": 38, "Cover_Rate": 0.9047619047619048} {"Template_token": ["", "static", "unsigned", "decodeMFS", "(", "uint32_t", "insn", ")", "{", "switch", "(", "(", "insn", ">>", "", ")", "&", "", ")", "{", "default", ":", "return", "UNSUPPORTED", ";", "case", "", ":", "switch", "(", "(", "insn", ">>", "", ")", "&", "", ")", "{", "default", ":", "return", "UNSUPPORTED", ";", "case", "", ":", "return", "", ";", "case", "", ":", "return", "", ";", "}", "case", "", ":", "switch", "(", "(", "insn", ">>", "", ")", "&", "", ")", "{", "default", ":", "return", "UNSUPPORTED", ";", "case", "", ":", "return", "", ";", "case", "", ":", "return", "", ";"], "ground_truth": ["}"], "File": "MBlazeDisassembler", "Func": "decodeMFS", "Target": "MBlaze", "Target_Clf": "MPU", "Compiler_Type": "LLVM", "Idx": 136717, "Length": 88, "Cover_Rate": 0.8979591836734694} {"Template_token": ["", "static", "unsigned", "decodeMFS", "(", "uint32_t", "insn", ")", "{", "switch", "(", "(", "insn", ">>", "", ")", "&", "", ")", "{", "default", ":", "return", "UNSUPPORTED", ";", "case", "", ":", "switch", "(", "(", "insn", ">>", "", ")", "&", "", ")", "{", "default", ":", "return", "UNSUPPORTED", ";", "case", "", ":", "return", "", ";", "case", "", ":", "return", "", ";", "}"], "ground_truth": ["case", "", ":"], "File": "MBlazeDisassembler", "Func": "decodeMFS", "Target": "MBlaze", "Target_Clf": "MPU", "Compiler_Type": "LLVM", "Idx": 136718, "Length": 59, "Cover_Rate": 0.6020408163265306} {"Template_token": ["", "case", "", ":", "return", "", ";", "case", "", ":", "return", "", ";", "case", "", ":", "return", "", ";", "case", "", ":", "return", "", ";", "}"], "ground_truth": ["}"], "File": "MBlazeDisassembler", "Func": "decodeMUL", "Target": "MBlaze", "Target_Clf": "MPU", "Compiler_Type": "LLVM", "Idx": 136719, "Length": 26, "Cover_Rate": 0.4727272727272727} {"Template_token": ["", "default", ":", "return", "UNSUPPORTED", ";", "case", "", ":", "return", "", ";", "case", "", ":", "return", "", ";", "case", "", ":", "return", "", ";", "case", "", ":", "return", "", ";", "}"], "ground_truth": ["}"], "File": "MBlazeDisassembler", "Func": "decodeMUL", "Target": "MBlaze", "Target_Clf": "MPU", "Compiler_Type": "LLVM", "Idx": 136720, "Length": 31, "Cover_Rate": 0.5636363636363636} {"Template_token": ["", "case", "", ":", "return", "", ";"], "ground_truth": ["case", "", ":", "return", "", ";"], "File": "MBlazeDisassembler", "Func": "decodeOR", "Target": "MBlaze", "Target_Clf": "MPU", "Compiler_Type": "LLVM", "Idx": 136721, "Length": 12, "Cover_Rate": 0.3076923076923077} {"Template_token": ["", "case", "", ":", "return", "", ";", "case", "", ":", "return", "", ";"], "ground_truth": ["}"], "File": "MBlazeDisassembler", "Func": "decodeOR", "Target": "MBlaze", "Target_Clf": "MPU", "Compiler_Type": "LLVM", "Idx": 136722, "Length": 13, "Cover_Rate": 0.3333333333333333} {"Template_token": ["", "static", "unsigned", "decodeRSUBK", "(", "uint32_t", "insn", ")", "{", "switch", "(", "getFLAGS", "(", "insn", ")", ")", "{", "default", ":", "return", "UNSUPPORTED", ";", "case", "", ":", "return", "", ";", "case", "", ":", "return", "", ";", "case", "", ":", "return", "", ";"], "ground_truth": ["}"], "File": "MBlazeDisassembler", "Func": "decodeRSUBK", "Target": "MBlaze", "Target_Clf": "MPU", "Compiler_Type": "LLVM", "Idx": 136723, "Length": 40, "Cover_Rate": 0.851063829787234} {"Template_token": ["", "static", "unsigned", "decodeRTSD", "(", "uint32_t", "insn", ")", "{", "switch", "(", "(", "insn", ">>", "", ")", "&", "", ")", "{", "default", ":", "return", "UNSUPPORTED", ";", "case", "", ":", "return", "", ";"], "ground_truth": ["case", "", ":", "return", "", ";"], "File": "MBlazeDisassembler", "Func": "decodeRTSD", "Target": "MBlaze", "Target_Clf": "MPU", "Compiler_Type": "LLVM", "Idx": 136724, "Length": 36, "Cover_Rate": 0.6206896551724138} {"Template_token": ["", "switch", "(", "(", "insn", ">>", "", ")", "&", "", ")", "{"], "ground_truth": ["default", ":", "return", "UNSUPPORTED", ";"], "File": "MBlazeDisassembler", "Func": "decodeSB", "Target": "MBlaze", "Target_Clf": "MPU", "Compiler_Type": "LLVM", "Idx": 136725, "Length": 16, "Cover_Rate": 0.38095238095238093} {"Template_token": ["", "static", "unsigned", "decodeSB", "(", "uint32_t", "insn", ")", "{", "switch", "(", "(", "insn", ">>", "", ")", "&", "", ")", "{", "default", ":", "return", "UNSUPPORTED", ";", "case", "", ":", "return", "", ";"], "ground_truth": ["case", "", ":", "return", "", ";"], "File": "MBlazeDisassembler", "Func": "decodeSB", "Target": "MBlaze", "Target_Clf": "MPU", "Compiler_Type": "LLVM", "Idx": 136726, "Length": 36, "Cover_Rate": 0.8571428571428571} {"Template_token": ["", "case", "", ":", "return", "", ";", "case", "", ":", "return", "", ";", "case", "", ":", "return", "", ";", "case", "", ":", "return", "", ";"], "ground_truth": ["case", "", ":", "return", "", ";"], "File": "MBlazeDisassembler", "Func": "decodeSEXT", "Target": "MBlaze", "Target_Clf": "MPU", "Compiler_Type": "LLVM", "Idx": 136727, "Length": 30, "Cover_Rate": 0.3191489361702128} {"Template_token": ["", "static", "unsigned", "decodeSEXT", "(", "uint32_t", "insn", ")", "{", "switch", "(", "insn", "&", "", ")", "{", "default", ":", "return", "UNSUPPORTED", ";", "case", "", ":", "return", "", ";", "case", "", ":", "return", "", ";", "case", "", ":", "return", "", ";", "case", "", ":", "return", "", ";"], "ground_truth": ["case", "", ":", "return", "", ";"], "File": "MBlazeDisassembler", "Func": "decodeSEXT", "Target": "MBlaze", "Target_Clf": "MPU", "Compiler_Type": "LLVM", "Idx": 136728, "Length": 50, "Cover_Rate": 0.5319148936170213} {"Template_token": ["", "static", "unsigned", "decodeSH", "(", "uint32_t", "insn", ")", "{"], "ground_truth": ["switch", "(", "(", "insn", ">>", "", ")", "&", "", ")", "{"], "File": "MBlazeDisassembler", "Func": "decodeSH", "Target": "MBlaze", "Target_Clf": "MPU", "Compiler_Type": "LLVM", "Idx": 136729, "Length": 19, "Cover_Rate": 0.4523809523809524} {"Template_token": ["", "static", "unsigned", "decodeSH", "(", "uint32_t", "insn", ")", "{", "switch", "(", "(", "insn", ">>", "", ")", "&", "", ")", "{", "default", ":", "return", "UNSUPPORTED", ";", "case", "", ":", "return", "", ";", "case", "", ":", "return", "", ";"], "ground_truth": ["}"], "File": "MBlazeDisassembler", "Func": "decodeSH", "Target": "MBlaze", "Target_Clf": "MPU", "Compiler_Type": "LLVM", "Idx": 136730, "Length": 37, "Cover_Rate": 0.8809523809523809} {"Template_token": ["", "default", ":", "return", "UNSUPPORTED", ";", "case", "", ":", "return", "", ";"], "ground_truth": ["case", "", ":", "return", "", ";"], "File": "MBlazeDisassembler", "Func": "decodeSW", "Target": "MBlaze", "Target_Clf": "MPU", "Compiler_Type": "LLVM", "Idx": 136731, "Length": 17, "Cover_Rate": 0.34} {"Template_token": ["", "switch", "(", "getFLAGS", "(", "insn", ")", ")", "{", "default", ":", "return", "UNSUPPORTED", ";"], "ground_truth": ["case", "", ":", "return", "", ";"], "File": "MBlazeDisassembler", "Func": "decodeXOR", "Target": "MBlaze", "Target_Clf": "MPU", "Compiler_Type": "LLVM", "Idx": 136732, "Length": 19, "Cover_Rate": 0.48717948717948717} {"Template_token": ["", "static", "unsigned", "decodeXOR", "(", "uint32_t", "insn", ")", "{", "switch", "(", "getFLAGS", "(", "insn", ")", ")", "{", "default", ":", "return", "UNSUPPORTED", ";", "case", "", ":", "return", "", ";", "case", "", ":", "return", "", ";"], "ground_truth": ["}"], "File": "MBlazeDisassembler", "Func": "decodeXOR", "Target": "MBlaze", "Target_Clf": "MPU", "Compiler_Type": "LLVM", "Idx": 136733, "Length": 34, "Cover_Rate": 0.8717948717948718} {"Template_token": ["", "return", "(", "insn", "&", "", ")", ";"], "ground_truth": ["}"], "File": "MBlazeDisassembler", "Func": "getFLAGS", "Target": "MBlaze", "Target_Clf": "MPU", "Compiler_Type": "LLVM", "Idx": 136736, "Length": 8, "Cover_Rate": 0.5} {"Template_token": ["", "int16_t", "val", "=", "(", "insn", "&", "", ")", ";", "return", "val", ";"], "ground_truth": ["}"], "File": "MBlazeDisassembler", "Func": "getFSL", "Target": "MBlaze", "Target_Clf": "MPU", "Compiler_Type": "LLVM", "Idx": 136738, "Length": 13, "Cover_Rate": 0.6190476190476191} {"Template_token": ["", "int16_t", "val", "=", "(", "insn", "&", "", ")", ";", "return", "val", ";"], "ground_truth": ["}"], "File": "MBlazeDisassembler", "Func": "getIMM", "Target": "MBlaze", "Target_Clf": "MPU", "Compiler_Type": "LLVM", "Idx": 136740, "Length": 13, "Cover_Rate": 0.6190476190476191} {"Template_token": ["", "case", "", ":", "return", "decodeBRI", "(", "insn", ")", ";", "case", "", ":", "return", "decodeBSRL", "(", "insn", ")", ";", "case", "", ":", "return", "decodeBSRLI", "(", "insn", ")", ";", "case", "", ":", "return", "decodeRSUBK", "(", "insn", ")", ";", "case", "", ":", "return", "decodeFADD", "(", "insn", ")", ";", "case", "", ":", "return", "decodeGET", "(", "insn", ")", ";", "case", "", ":", "return", "decodeGETD", "(", "insn", ")", ";", "case", "", ":", "return", "decodeIDIV", "(", "insn", ")", ";", "case", "", ":", "return", "decodeLBU", "(", "insn", ")", ";", "case", "", ":", "return", "decodeLHU", "(", "insn", ")", ";", "case", "", ":", "return", "decodeLW", "(", "insn", ")", ";"], "ground_truth": ["case", "", ":", "return", "decodeSB", "(", "insn", ")", ";"], "File": "MBlazeDisassembler", "Func": "getOPCODE", "Target": "MBlaze", "Target_Clf": "MPU", "Compiler_Type": "LLVM", "Idx": 136742, "Length": 108, "Cover_Rate": 0.3624161073825503} {"Template_token": ["", "case", "", ":", "return", "decodeBR", "(", "insn", ")", ";", "case", "", ":", "return", "decodeBRI", "(", "insn", ")", ";", "case", "", ":", "return", "decodeBSRL", "(", "insn", ")", ";", "case", "", ":", "return", "decodeBSRLI", "(", "insn", ")", ";", "case", "", ":", "return", "decodeRSUBK", "(", "insn", ")", ";", "case", "", ":", "return", "decodeFADD", "(", "insn", ")", ";", "case", "", ":", "return", "decodeGET", "(", "insn", ")", ";", "case", "", ":", "return", "decodeGETD", "(", "insn", ")", ";", "case", "", ":", "return", "decodeIDIV", "(", "insn", ")", ";", "case", "", ":", "return", "decodeLBU", "(", "insn", ")", ";", "case", "", ":", "return", "decodeLHU", "(", "insn", ")", ";", "case", "", ":", "return", "decodeLW", "(", "insn", ")", ";", "case", "", ":", "return", "decodeSB", "(", "insn", ")", ";", "case", "", ":", "return", "decodeSH", "(", "insn", ")", ";", "case", "", ":", "return", "decodeSW", "(", "insn", ")", ";", "case", "", ":", "return", "decodeMFS", "(", "insn", ")", ";", "case", "", ":", "return", "decodeOR", "(", "insn", ")", ";", "case", "", ":", "return", "decodeXOR", "(", "insn", ")", ";", "case", "", ":", "return", "decodeANDN", "(", "insn", ")", ";", "case", "", ":", "return", "decodeRTSD", "(", "insn", ")", ";", "default", ":", "return", "opcode", ";", "}"], "ground_truth": ["}"], "File": "MBlazeDisassembler", "Func": "getOPCODE", "Target": "MBlaze", "Target_Clf": "MPU", "Compiler_Type": "LLVM", "Idx": 136743, "Length": 187, "Cover_Rate": 0.62751677852349} {"Template_token": ["", "return", "getRegisterFromNumbering", "(", "(", "insn", ">>", "", ")", "&", "", ")", ";"], "ground_truth": ["}"], "File": "MBlazeDisassembler", "Func": "getRA", "Target": "MBlaze", "Target_Clf": "MPU", "Compiler_Type": "LLVM", "Idx": 136744, "Length": 13, "Cover_Rate": 0.34210526315789475} {"Template_token": ["", "return", "getRegisterFromNumbering", "(", "(", "insn", ">>", "", ")", "&", "", ")", ";"], "ground_truth": ["}"], "File": "MBlazeDisassembler", "Func": "getRA", "Target": "MBlaze", "Target_Clf": "MPU", "Compiler_Type": "LLVM", "Idx": 136745, "Length": 13, "Cover_Rate": 0.34210526315789475} {"Template_token": ["", "static", "unsigned", "getRB", "(", "uint32_t", "insn", ")", "{"], "ground_truth": ["if", "(", "!", "getRegisterFromNumbering", "(", "(", "insn", ">>", "", ")", "&", "", ")", ")", "return", "UNSUPPORTED", ";"], "File": "MBlazeDisassembler", "Func": "getRB", "Target": "MBlaze", "Target_Clf": "MPU", "Compiler_Type": "LLVM", "Idx": 136746, "Length": 25, "Cover_Rate": 0.6578947368421053} {"Template_token": ["", "if", "(", "!", "isRegister", "(", "(", "insn", ">>", "", ")", "&", "", ")", ")", "return", "UNSUPPORTED", ";"], "ground_truth": ["return", "getRegisterFromNumbering", "(", "(", "insn", ">>", "", ")", "&", "", ")", ";"], "File": "MBlazeDisassembler", "Func": "getRD", "Target": "MBlaze", "Target_Clf": "MPU", "Compiler_Type": "LLVM", "Idx": 136747, "Length": 29, "Cover_Rate": 0.7631578947368421} {"Template_token": ["", "if", "(", "!", "isSpecialRegister", "(", "insn", "&", "", ")", ")", "return", "UNSUPPORTED", ";", "return", "getSpecialRegisterFromNumbering", "(", "insn", "&", "", ")", ";"], "ground_truth": ["}"], "File": "MBlazeDisassembler", "Func": "getRS", "Target": "MBlaze", "Target_Clf": "MPU", "Compiler_Type": "LLVM", "Idx": 136750, "Length": 22, "Cover_Rate": 0.7333333333333333} {"Template_token": ["", "TargetRegistry", "::", "RegisterMCDisassembler", "(", "TheTarget", ",", "createDisassembler", ")", ";"], "ground_truth": ["}"], "File": "MBlazeDisassembler", "Func": "LLVMInitializeMBlazeDisassembler", "Target": "MBlaze", "Target_Clf": "MPU", "Compiler_Type": "LLVM", "Idx": 136753, "Length": 10, "Cover_Rate": 0.6666666666666666} {"Template_token": ["", "MCDisassembler", "(", "STI", ")", "{"], "ground_truth": ["}"], "File": "MBlazeDisassembler", "Func": "MBlazeDisassembler", "Target": "MBlaze", "Target_Clf": "MPU", "Compiler_Type": "LLVM", "Idx": 136756, "Length": 6, "Cover_Rate": 0.42857142857142855} {"Template_token": ["", "~", "Disassembler", "(", ")", "{"], "ground_truth": ["}"], "File": "MBlazeDisassembler", "Func": "~MBlazeDisassembler", "Target": "MBlaze", "Target_Clf": "MPU", "Compiler_Type": "LLVM", "Idx": 136757, "Length": 6, "Cover_Rate": 1.0} {"Template_token": ["", "~", "Disassembler", "(", ")", "{"], "ground_truth": ["}"], "File": "MBlazeDisassembler", "Func": "~MBlazeDisassembler", "Target": "MBlaze", "Target_Clf": "MPU", "Compiler_Type": "LLVM", "Idx": 136758, "Length": 6, "Cover_Rate": 1.0} {"Template_token": ["", "switch", "(", "(", "unsigned", ")", "Fixup", ".", "getKind", "(", ")", ")", "{", "default", ":", "llvm_unreachable", "(", "", ")", ";", "case", "FK_PCRel_4", ":", "Type", "=", "ELF", "::", "R_MICROBLAZE_64_PCREL", ";", "break", ";", "case", "FK_PCRel_2", ":", "Type", "=", "ELF", "::", "R_MICROBLAZE_32_PCREL", ";", "break", ";", "}", "}", "else", "{", "switch", "(", "(", "unsigned", ")", "Fixup", ".", "getKind", "(", ")", ")", "{", "default", ":", "llvm_unreachable", "(", "", ")", ";", "case", "FK_Data_4", ":", "Type", "=", "(", "(", "IsRelocWithSymbol", "||", "Addend", "!=", "", ")", "?", "ELF", "::", "R_MICROBLAZE_32", ":", "ELF", "::", "R_MICROBLAZE_64", ")", ";", "break", ";", "case", "FK_Data_2", ":", "Type", "=", "ELF", "::", "R_MICROBLAZE_32", ";", "break", ";", "}", "}", "return", "Type", ";"], "ground_truth": ["}"], "File": "MBlazeELFObjectWriter", "Func": "GetRelocType", "Target": "MBlaze", "Target_Clf": "MPU", "Compiler_Type": "LLVM", "Idx": 136761, "Length": 106, "Cover_Rate": 0.7571428571428571} {"Template_token": ["", "ELFObjectWriter", "::", "ELFObjectWriter", "(", "uint8_t", "OSABI", ")", ":", "MCELFObjectTargetWriter", "(", "false", ",", "OSABI", ",", "ELF", "::", "EM_MBLAZE", ",", "false", ")", "{"], "ground_truth": ["}"], "File": "MBlazeELFObjectWriter", "Func": "MBlazeELFObjectWriter", "Target": "MBlaze", "Target_Clf": "MPU", "Compiler_Type": "LLVM", "Idx": 136762, "Length": 22, "Cover_Rate": 1.0} {"Template_token": ["", "ELFObjectWriter", "::", "ELFObjectWriter", "(", "uint8_t", "OSABI", ")", ":", "MCELFObjectTargetWriter", "(", "false", ",", "OSABI", ",", "ELF", "::", "EM_MBLAZE", ",", "false", ")", "{"], "ground_truth": ["}"], "File": "MBlazeELFObjectWriter", "Func": "MBlazeELFObjectWriter", "Target": "MBlaze", "Target_Clf": "MPU", "Compiler_Type": "LLVM", "Idx": 136763, "Length": 22, "Cover_Rate": 1.0} {"Template_token": ["", "ELFObjectWriter", "::", "~", "ELFObjectWriter", "(", ")", "{"], "ground_truth": ["}"], "File": "MBlazeELFObjectWriter", "Func": "~MBlazeELFObjectWriter", "Target": "MBlaze", "Target_Clf": "MPU", "Compiler_Type": "LLVM", "Idx": 136764, "Length": 8, "Cover_Rate": 1.0} {"Template_token": ["", "ELFObjectWriter", "::", "~", "ELFObjectWriter", "(", ")", "{"], "ground_truth": ["}"], "File": "MBlazeELFObjectWriter", "Func": "~MBlazeELFObjectWriter", "Target": "MBlaze", "Target_Clf": "MPU", "Compiler_Type": "LLVM", "Idx": 136765, "Length": 8, "Cover_Rate": 1.0} {"Template_token": ["", "case", "ELF", "::", "R_MICROBLAZE_32_PCREL", ":", "return", "Modifier", "-", "", ";", "case", "ELF", "::", "R_MICROBLAZE_32", ":", "return", "Modifier", ";"], "ground_truth": ["default", ":"], "File": "MBlazeELFWriterInfo1", "Func": "getDefaultAddendForRelTy", "Target": "MBlaze", "Target_Clf": "MPU", "Compiler_Type": "LLVM", "Idx": 136768, "Length": 20, "Cover_Rate": 0.425531914893617} {"Template_token": ["", "switch", "(", "RelTy", ")", "{", "case", "ELF", "::", "R_MICROBLAZE_32_PCREL", ":", "return", "Modifier", "-", "", ";", "case", "ELF", "::", "R_MICROBLAZE_32", ":", "return", "Modifier", ";", "default", ":", "llvm_unreachable", "(", "", ")", ";", "}"], "ground_truth": ["}"], "File": "MBlazeELFWriterInfo1", "Func": "getDefaultAddendForRelTy", "Target": "MBlaze", "Target_Clf": "MPU", "Compiler_Type": "LLVM", "Idx": 136769, "Length": 32, "Cover_Rate": 0.6808510638297872} {"Template_token": ["", "return", "ELF", "::", "R_MICROBLAZE_64_PCREL", ";", "case", "", ":", "return", "ELF", "::", "R_MICROBLAZE_NONE", ";", "default", ":"], "ground_truth": ["llvm_unreachable", "(", "", ")", ";"], "File": "MBlazeELFWriterInfo1", "Func": "getRelocationType", "Target": "MBlaze", "Target_Clf": "MPU", "Compiler_Type": "LLVM", "Idx": 136770, "Length": 20, "Cover_Rate": 0.45454545454545453} {"Template_token": ["", "if", "(", "RelTy", "==", "ELF", "::", "R_MICROBLAZE_32_PCREL", "||", "ELF", "::", "R_MICROBLAZE_64_PCREL", ")", "return", "SymOffset", "-", "(", "RelOffset", "+", "", ")", ";"], "ground_truth": ["else", "assert", "(", "", "&&", "", ")", ";"], "File": "MBlazeELFWriterInfo3", "Func": "computeRelocation", "Target": "MBlaze", "Target_Clf": "MPU", "Compiler_Type": "LLVM", "Idx": 136772, "Length": 29, "Cover_Rate": 0.58} {"Template_token": ["", "assert", "(", "(", "RelTy", "==", "ELF", "::", "R_MICROBLAZE_32_PCREL", "||", "RelTy", "==", "ELF", "::", "R_MICROBLAZE_64_PCREL", ")", "&&", "", ")", ";"], "ground_truth": ["return", "SymOffset", "-", "(", "RelOffset", "+", "", ")", ";"], "File": "MBlazeELFWriterInfo4", "Func": "computeRelocation", "Target": "MBlaze", "Target_Clf": "MPU", "Compiler_Type": "LLVM", "Idx": 136773, "Length": 28, "Cover_Rate": 0.6086956521739131} {"Template_token": ["", "long", "int", "ELFWriterInfo", "::", "computeRelocation", "(", "unsigned", "SymOffset", ",", "unsigned", "RelOffset", ",", "unsigned", "RelTy", ")", "const", "{"], "ground_truth": ["if", "(", "RelTy", "==", "ELF", "::", "R_MICROBLAZE_32_PCREL", "||", "ELF", "::", "R_MICROBLAZE_64_PCREL", ")", "return", "SymOffset", "-", "(", "RelOffset", "+", "", ")", ";"], "File": "MBlazeELFWriterInfo", "Func": "computeRelocation", "Target": "MBlaze", "Target_Clf": "MPU", "Compiler_Type": "LLVM", "Idx": 136774, "Length": 38, "Cover_Rate": 0.7916666666666666} {"Template_token": ["", "unsigned", "ELFWriterInfo", "::", "getAbsoluteLabelMachineRelTy", "(", ")", "const", "{", "return", "", ";"], "ground_truth": ["}"], "File": "MBlazeELFWriterInfo", "Func": "getAbsoluteLabelMachineRelTy", "Target": "MBlaze", "Target_Clf": "MPU", "Compiler_Type": "LLVM", "Idx": 136775, "Length": 12, "Cover_Rate": 0.8571428571428571} {"Template_token": ["", "switch", "(", "RelTy", ")", "{", "case", "ELF", "::", "R_MICROBLAZE_32_PCREL", ":", "return", "Modifier", "-", "", ";", "case", "ELF", "::", "R_MICROBLAZE_32", ":", "return", "Modifier", ";"], "ground_truth": ["default", ":"], "File": "MBlazeELFWriterInfo", "Func": "getDefaultAddendForRelTy", "Target": "MBlaze", "Target_Clf": "MPU", "Compiler_Type": "LLVM", "Idx": 136776, "Length": 25, "Cover_Rate": 0.5} {"Template_token": ["", "unsigned", "ELFWriterInfo", "::", "getRelocationType", "(", "unsigned", "MachineRelTy", ")", "const", "{", "switch", "(", "MachineRelTy", ")", "{", "case", "", ":", "return", "ELF", "::", "R_MICROBLAZE_64_PCREL", ";", "case", "", ":", "return", "ELF", "::", "R_MICROBLAZE_NONE", ";", "default", ":", "llvm_unreachable", "(", "", ")", ";", "}", "return", "", ";"], "ground_truth": ["}"], "File": "MBlazeELFWriterInfo", "Func": "getRelocationType", "Target": "MBlaze", "Target_Clf": "MPU", "Compiler_Type": "LLVM", "Idx": 136777, "Length": 43, "Cover_Rate": 0.9148936170212766} {"Template_token": ["", "case", "", ":", "return", "ELF", "::", "R_MICROBLAZE_NONE", ";", "default", ":"], "ground_truth": ["llvm_unreachable", "(", "", ")", ";"], "File": "MBlazeELFWriterInfo", "Func": "getRelocationType", "Target": "MBlaze", "Target_Clf": "MPU", "Compiler_Type": "LLVM", "Idx": 136778, "Length": 15, "Cover_Rate": 0.3191489361702128} {"Template_token": ["", "case", "ELF", "::", "R_MICROBLAZE_SRO32", ":", "case", "ELF", "::", "R_MICROBLAZE_SRW32", ":", "case", "ELF", "::", "R_MICROBLAZE_32_SYM_OP_SYM", ":", "case", "ELF", "::", "R_MICROBLAZE_GOTOFF_32", ":", "return", "", ";", "case", "ELF", "::", "R_MICROBLAZE_64_PCREL", ":", "case", "ELF", "::", "R_MICROBLAZE_64", ":", "case", "ELF", "::", "R_MICROBLAZE_GOTPC_64", ":"], "ground_truth": ["case", "ELF", "::", "R_MICROBLAZE_GOT_64", ":"], "File": "MBlazeELFWriterInfo", "Func": "getRelocationTySize", "Target": "MBlaze", "Target_Clf": "MPU", "Compiler_Type": "LLVM", "Idx": 136779, "Length": 43, "Cover_Rate": 0.4479166666666667} {"Template_token": ["", "case", "ELF", "::", "R_MICROBLAZE_32_PCREL", ":", "case", "ELF", "::", "R_MICROBLAZE_32_PCREL_LO", ":", "case", "ELF", "::", "R_MICROBLAZE_32_LO", ":", "case", "ELF", "::", "R_MICROBLAZE_SRO32", ":", "case", "ELF", "::", "R_MICROBLAZE_SRW32", ":", "case", "ELF", "::", "R_MICROBLAZE_32_SYM_OP_SYM", ":", "case", "ELF", "::", "R_MICROBLAZE_GOTOFF_32", ":", "return", "", ";", "case", "ELF", "::", "R_MICROBLAZE_64_PCREL", ":", "case", "ELF", "::", "R_MICROBLAZE_64", ":", "case", "ELF", "::", "R_MICROBLAZE_GOTPC_64", ":", "case", "ELF", "::", "R_MICROBLAZE_GOT_64", ":", "case", "ELF", "::", "R_MICROBLAZE_PLT_64", ":", "case", "ELF", "::", "R_MICROBLAZE_GOTOFF_64", ":"], "ground_truth": ["return", "", ";"], "File": "MBlazeELFWriterInfo", "Func": "getRelocationTySize", "Target": "MBlaze", "Target_Clf": "MPU", "Compiler_Type": "LLVM", "Idx": 136780, "Length": 71, "Cover_Rate": 0.7395833333333334} {"Template_token": ["", "virtual", "bool", "hasRelocationAddend", "(", ")", "const", "{", "return", "false", ";"], "ground_truth": ["}"], "File": "MBlazeELFWriterInfo", "Func": "hasRelocationAddend", "Target": "MBlaze", "Target_Clf": "MPU", "Compiler_Type": "LLVM", "Idx": 136781, "Length": 11, "Cover_Rate": 1.0} {"Template_token": ["", "switch", "(", "RelTy", ")", "{", "case", "ELF", "::", "R_MICROBLAZE_32_PCREL", ":", "case", "ELF", "::", "R_MICROBLAZE_64_PCREL", ":", "case", "ELF", "::", "R_MICROBLAZE_32_PCREL_LO", ":"], "ground_truth": ["case", "ELF", "::", "R_MICROBLAZE_GOTPC_64", ":"], "File": "MBlazeELFWriterInfo", "Func": "isPCRelativeRel", "Target": "MBlaze", "Target_Clf": "MPU", "Compiler_Type": "LLVM", "Idx": 136783, "Length": 25, "Cover_Rate": 0.5813953488372093} {"Template_token": ["", "ELFWriterInfo", "::", "ELFWriterInfo", "(", "TargetMachine", "&", "TM", ")", ":", "TargetELFWriterInfo", "(", "TM", ".", "getTargetData", "(", ")", "->", "getPointerSizeInBits", "(", ")", "==", "", ",", "TM", ".", "getTargetData", "(", ")", "->", "isLittleEndian", "(", ")", ")", "{"], "ground_truth": ["}"], "File": "MBlazeELFWriterInfo", "Func": "MBlazeELFWriterInfo", "Target": "MBlaze", "Target_Clf": "MPU", "Compiler_Type": "LLVM", "Idx": 136784, "Length": 35, "Cover_Rate": 1.0} {"Template_token": ["", "ELFWriterInfo", "::", "ELFWriterInfo", "(", "TargetMachine", "&", "TM", ")", ":", "TargetELFWriterInfo", "(", "TM", ".", "getTargetData", "(", ")", "->", "getPointerSizeInBits", "(", ")", "==", "", ",", "TM", ".", "getTargetData", "(", ")", "->", "isLittleEndian", "(", ")", ")", "{"], "ground_truth": ["}"], "File": "MBlazeELFWriterInfo", "Func": "MBlazeELFWriterInfo", "Target": "MBlaze", "Target_Clf": "MPU", "Compiler_Type": "LLVM", "Idx": 136785, "Length": 35, "Cover_Rate": 1.0} {"Template_token": ["", "ELFWriterInfo", "::", "~", "ELFWriterInfo", "(", ")", "{"], "ground_truth": ["}"], "File": "MBlazeELFWriterInfo", "Func": "~MBlazeELFWriterInfo", "Target": "MBlaze", "Target_Clf": "MPU", "Compiler_Type": "LLVM", "Idx": 136786, "Length": 8, "Cover_Rate": 1.0} {"Template_token": ["", "ELFWriterInfo", "::", "~", "ELFWriterInfo", "(", ")", "{"], "ground_truth": ["}"], "File": "MBlazeELFWriterInfo", "Func": "~MBlazeELFWriterInfo", "Target": "MBlaze", "Target_Clf": "MPU", "Compiler_Type": "LLVM", "Idx": 136787, "Length": 8, "Cover_Rate": 1.0} {"Template_token": ["", "FunctionInfo", "*", "FI", "=", "MF", ".", "getInfo", "<", "FunctionInfo", ">", "(", ")", ";", "const", "InstrInfo", "&", "TII", "=", "*", "static_cast", "<", "const", "InstrInfo", "*", ">", "(", "MF", ".", "getTarget", "(", ")", ".", "getInstrInfo", "(", ")", ")", ";", "DebugLoc", "dl", "=", "MBBI", "->", "getDebugLoc", "(", ")", ";", "int", "FPOffset", "=", "FI", "->", "getFPStackOffset", "(", ")", ";", "int", "RAOffset", "=", "FI", "->", "getRAStackOffset", "(", ")", ";", "if", "(", "hasFP", "(", "MF", ")", ")", "{", "BuildMI", "(", "MBB", ",", "MBBI", ",", "dl", ",", "TII", ".", "get", "(", "", ")", ",", "", ")", ".", "addReg", "(", "", ")", ".", "addReg", "(", "", ")", ";"], "ground_truth": ["BuildMI", "(", "MBB", ",", "MBBI", ",", "dl", ",", "TII", ".", "get", "(", "", ")", ",", "", ")", ".", "addReg", "(", "", ")", ".", "addImm", "(", "FPOffset", ")", ";"], "File": "MBlazeFrameInfo", "Func": "emitEpilogue", "Target": "MBlaze", "Target_Clf": "MPU", "Compiler_Type": "LLVM", "Idx": 136788, "Length": 128, "Cover_Rate": 0.45878136200716846} {"Template_token": ["", "BuildMI", "(", "MBB", ",", "MBBI", ",", "dl", ",", "TII", ".", "get", "(", "", ")", ",", "", ")", ".", "addReg", "(", "", ")", ".", "addReg", "(", "", ")", ";", "BuildMI", "(", "MBB", ",", "MBBI", ",", "dl", ",", "TII", ".", "get", "(", "", ")", ",", "", ")", ".", "addReg", "(", "", ")", ".", "addImm", "(", "FPOffset", ")", ";", "}", "if", "(", "MFI", "->", "adjustsStack", "(", ")", ")", "{"], "ground_truth": ["BuildMI", "(", "MBB", ",", "MBBI", ",", "dl", ",", "TII", ".", "get", "(", "", ")", ",", "", ")", ".", "addReg", "(", "", ")", ".", "addImm", "(", "RAOffset", ")", ";"], "File": "MBlazeFrameInfo", "Func": "emitEpilogue", "Target": "MBlaze", "Target_Clf": "MPU", "Compiler_Type": "LLVM", "Idx": 136789, "Length": 94, "Cover_Rate": 0.33691756272401435} {"Template_token": ["", "FunctionInfo", "*", "FI", "=", "MF", ".", "getInfo", "<", "FunctionInfo", ">", "(", ")", ";", "MachineBasicBlock", "::", "iterator", "MBBI", "=", "MBB", ".", "begin", "(", ")", ";", "DebugLoc", "DL", "=", "MBBI", "!=", "MBB", ".", "end", "(", ")", "?", "MBBI", "->", "getDebugLoc", "(", ")", ":", "DebugLoc", "(", ")", ";", "FI", "->", "adjustLoadArgsFI", "(", "MFI", ")", ";", "FI", "->", "adjustStoreVarArgsFI", "(", "MFI", ")", ";", "unsigned", "StackSize", "=", "MFI", "->", "getStackSize", "(", ")", ";", "if", "(", "StackSize", "==", "", "&&", "!", "MFI", "->", "adjustsStack", "(", ")", ")", "return", ";", "int", "FPOffset", "=", "FI", "->", "getFPStackOffset", "(", ")", ";", "int", "RAOffset", "=", "FI", "->", "getRAStackOffset", "(", ")", ";", "BuildMI", "(", "MBB", ",", "MBBI", ",", "DL", ",", "TII", ".", "get", "(", "", ")", ",", "", ")", ".", "addReg", "(", "", ")", ".", "addImm", "(", "-", "StackSize", ")", ";"], "ground_truth": ["if", "(", "MFI", "->", "adjustsStack", "(", ")", ")", "{"], "File": "MBlazeFrameInfo", "Func": "emitPrologue", "Target": "MBlaze", "Target_Clf": "MPU", "Compiler_Type": "LLVM", "Idx": 136790, "Length": 139, "Cover_Rate": 0.43302180685358255} {"Template_token": ["", "BuildMI", "(", "MBB", ",", "MBBI", ",", "DL", ",", "TII", ".", "get", "(", "", ")", ")", ".", "addReg", "(", "", ")", ".", "addReg", "(", "", ")", ".", "addImm", "(", "RAOffset", ")", ";", "}", "if", "(", "hasFP", "(", "MF", ")", ")", "{", "BuildMI", "(", "MBB", ",", "MBBI", ",", "DL", ",", "TII", ".", "get", "(", "", ")", ")", ".", "addReg", "(", "", ")", ".", "addReg", "(", "", ")", ".", "addImm", "(", "FPOffset", ")", ";"], "ground_truth": ["BuildMI", "(", "MBB", ",", "MBBI", ",", "DL", ",", "TII", ".", "get", "(", "", ")", ",", "", ")", ".", "addReg", "(", "", ")", ".", "addReg", "(", "", ")", ";"], "File": "MBlazeFrameInfo", "Func": "emitPrologue", "Target": "MBlaze", "Target_Clf": "MPU", "Compiler_Type": "LLVM", "Idx": 136791, "Length": 99, "Cover_Rate": 0.308411214953271} {"Template_token": ["", "const", "MachineFrameInfo", "*", "MFI", "=", "MF", ".", "getFrameInfo", "(", ")", ";"], "ground_truth": ["return", "DisableFramePointerElim", "(", "MF", ")", "||", "MFI", "->", "hasVarSizedObjects", "(", ")", ";"], "File": "MBlazeFrameInfo", "Func": "hasFP", "Target": "MBlaze", "Target_Clf": "MPU", "Compiler_Type": "LLVM", "Idx": 136792, "Length": 23, "Cover_Rate": 0.6388888888888888} {"Template_token": ["", "const", "MachineFrameInfo", "*", "MFI", "=", "MF", ".", "getFrameInfo", "(", ")", ";", "return", "DisableFramePointerElim", "(", "MF", ")", "||", "MFI", "->", "hasVarSizedObjects", "(", ")", ";"], "ground_truth": ["}"], "File": "MBlazeFrameInfo", "Func": "hasFP", "Target": "MBlaze", "Target_Clf": "MPU", "Compiler_Type": "LLVM", "Idx": 136793, "Length": 24, "Cover_Rate": 0.6666666666666666} {"Template_token": ["", "explicit", "FrameInfo", "(", "const", "Subtarget", "&", "sti", ")", ":", "TargetFrameInfo", "(", "TargetFrameInfo", "::", "StackGrowsUp", ",", "", ",", "", ")", ",", "STI", "(", "sti", ")", "{"], "ground_truth": ["}"], "File": "MBlazeFrameInfo", "Func": "MBlazeFrameInfo", "Target": "MBlaze", "Target_Clf": "MPU", "Compiler_Type": "LLVM", "Idx": 136794, "Length": 26, "Cover_Rate": 1.0} {"Template_token": ["", "explicit", "FrameInfo", "(", "const", "Subtarget", "&", "sti", ")", ":", "TargetFrameInfo", "(", "TargetFrameInfo", "::", "StackGrowsUp", ",", "", ",", "", ")", ",", "STI", "(", "sti", ")", "{"], "ground_truth": ["}"], "File": "MBlazeFrameInfo", "Func": "MBlazeFrameInfo", "Target": "MBlaze", "Target_Clf": "MPU", "Compiler_Type": "LLVM", "Idx": 136795, "Length": 26, "Cover_Rate": 1.0} {"Template_token": ["", "return", "true", ";"], "ground_truth": ["}"], "File": "MBlazeFrameInfo", "Func": "targetHandlesStackFrameRounding", "Target": "MBlaze", "Target_Clf": "MPU", "Compiler_Type": "LLVM", "Idx": 136797, "Length": 4, "Cover_Rate": 0.4} {"Template_token": ["", "BuildMI", "(", "MBB", ",", "MBBI", ",", "dl", ",", "TII", ".", "get", "(", "", ")", ",", "", ")", ".", "addReg", "(", "", ")", ".", "addImm", "(", "FPOffset", ")", ";", "}", "if", "(", "MFI", "->", "adjustsStack", "(", ")", "||", "requiresRA", ")", "{", "BuildMI", "(", "MBB", ",", "MBBI", ",", "dl", ",", "TII", ".", "get", "(", "", ")", ",", "", ")", ".", "addReg", "(", "", ")", ".", "addImm", "(", "RAOffset", ")", ";", "}", "int", "StackSize", "=", "(", "int", ")", "MFI", "->", "getStackSize", "(", ")", ";", "if", "(", "StackSize", ")", "{"], "ground_truth": ["BuildMI", "(", "MBB", ",", "MBBI", ",", "dl", ",", "TII", ".", "get", "(", "", ")", ",", "", ")", ".", "addReg", "(", "", ")", ".", "addImm", "(", "StackSize", ")", ";"], "File": "MBlazeFrameLowering10", "Func": "emitEpilogue", "Target": "MBlaze", "Target_Clf": "MPU", "Compiler_Type": "LLVM", "Idx": 136798, "Length": 114, "Cover_Rate": 0.37254901960784315} {"Template_token": ["", "llvm", "::", "CallingConv", "::", "ID", "CallConv", "=", "MF", ".", "getFunction", "(", ")", "->", "getCallingConv", "(", ")", ";", "bool", "requiresRA", "=", "CallConv", "==", "llvm", "::", "CallingConv", "::", "MBLAZE_INTR", ";", "determineFrameLayout", "(", "MF", ")", ";", "unsigned", "StackSize", "=", "MFI", "->", "getStackSize", "(", ")", ";", "if", "(", "StackSize", "==", "", "&&", "!", "MFI", "->", "adjustsStack", "(", ")", "&&", "!", "requiresRA", ")", "return", ";", "int", "FPOffset", "=", "FI", "->", "getFPStackOffset", "(", ")", ";", "int", "RAOffset", "=", "FI", "->", "getRAStackOffset", "(", ")", ";"], "ground_truth": ["BuildMI", "(", "MBB", ",", "MBBI", ",", "DL", ",", "TII", ".", "get", "(", "", ")", ",", "", ")", ".", "addReg", "(", "", ")", ".", "addImm", "(", "-", "StackSize", ")", ";"], "File": "MBlazeFrameLowering10", "Func": "emitPrologue", "Target": "MBlaze", "Target_Clf": "MPU", "Compiler_Type": "LLVM", "Idx": 136799, "Length": 107, "Cover_Rate": 0.3101449275362319} {"Template_token": ["", "if", "(", "isIntr", ")", "{", "int", "MSRFI", "=", "MFI", "->", "CreateStackObject", "(", "", ",", "", ",", "false", ",", "false", ")", ";", "BuildMI", "(", "MENT", ",", "MENTI", ",", "ENTDL", ",", "TII", ".", "get", "(", "", ")", ",", "", ")", ".", "addReg", "(", "", ")", ";", "BuildMI", "(", "MENT", ",", "MENTI", ",", "ENTDL", ",", "TII", ".", "get", "(", "", ")", ",", "", ")", ".", "addFrameIndex", "(", "MSRFI", ")", ".", "addImm", "(", "", ")", ";", "BuildMI", "(", "MEXT", ",", "MEXTI", ",", "EXTDL", ",", "TII", ".", "get", "(", "", ")", ",", "", ")", ".", "addFrameIndex", "(", "MSRFI", ")", ".", "addImm", "(", "", ")", ";", "BuildMI", "(", "MEXT", ",", "MEXTI", ",", "EXTDL", ",", "TII", ".", "get", "(", "", ")", ",", "", ")", ".", "addReg", "(", "", ")", ";", "}", "BuildMI", "(", "MEXT", ",", "MEXTI", ",", "EXTDL", ",", "TII", ".", "get", "(", "", ")", ",", "", ")", ".", "addFrameIndex", "(", "R18FI", ")", ".", "addImm", "(", "", ")", ";", "BuildMI", "(", "MEXT", ",", "MEXTI", ",", "EXTDL", ",", "TII", ".", "get", "(", "", ")", ",", "", ")", ".", "addFrameIndex", "(", "R17FI", ")", ".", "addImm", "(", "", ")", ";", "for", "(", "unsigned", "r", "=", "", ",", "i", "=", "VFI", ".", "size", "(", ")", ";", "r", ">=", "", ";", "--", "r", ")", "{"], "ground_truth": ["if", "(", "!", "MRI", ".", "isPhysRegUsed", "(", "r", ")", ")", "continue", ";"], "File": "MBlazeFrameLowering10", "Func": "interruptFrameLayout", "Target": "MBlaze", "Target_Clf": "MPU", "Compiler_Type": "LLVM", "Idx": 136800, "Length": 215, "Cover_Rate": 0.3166421207658321} {"Template_token": ["", "BuildMI", "(", "MENT", ",", "MENTI", ",", "ENTDL", ",", "TII", ".", "get", "(", "", ")", ",", "r", ")", ".", "addFrameIndex", "(", "FI", ")", ".", "addImm", "(", "", ")", ";", "}", "int", "R17FI", "=", "MFI", "->", "CreateStackObject", "(", "", ",", "", ",", "false", ",", "false", ")", ";", "int", "R18FI", "=", "MFI", "->", "CreateStackObject", "(", "", ",", "", ",", "false", ",", "false", ")", ";", "BuildMI", "(", "MENT", ",", "MENTI", ",", "ENTDL", ",", "TII", ".", "get", "(", "", ")", ",", "", ")", ".", "addFrameIndex", "(", "R17FI", ")", ".", "addImm", "(", "", ")", ";", "BuildMI", "(", "MENT", ",", "MENTI", ",", "ENTDL", ",", "TII", ".", "get", "(", "", ")", ",", "", ")", ".", "addFrameIndex", "(", "R18FI", ")", ".", "addImm", "(", "", ")", ";", "if", "(", "isIntr", ")", "{", "int", "MSRFI", "=", "MFI", "->", "CreateStackObject", "(", "", ",", "", ",", "false", ",", "false", ")", ";", "BuildMI", "(", "MENT", ",", "MENTI", ",", "ENTDL", ",", "TII", ".", "get", "(", "", ")", ",", "", ")", ".", "addReg", "(", "", ")", ";", "BuildMI", "(", "MENT", ",", "MENTI", ",", "ENTDL", ",", "TII", ".", "get", "(", "", ")", ",", "", ")", ".", "addFrameIndex", "(", "MSRFI", ")", ".", "addImm", "(", "", ")", ";"], "ground_truth": ["BuildMI", "(", "MEXT", ",", "MEXTI", ",", "EXTDL", ",", "TII", ".", "get", "(", "", ")", ",", "", ")", ".", "addFrameIndex", "(", "MSRFI", ")", ".", "addImm", "(", "", ")", ";"], "File": "MBlazeFrameLowering10", "Func": "interruptFrameLayout", "Target": "MBlaze", "Target_Clf": "MPU", "Compiler_Type": "LLVM", "Idx": 136801, "Length": 217, "Cover_Rate": 0.31958762886597936} {"Template_token": ["", "MachineFrameInfo", "*", "MFI", "=", "MF", ".", "getFrameInfo", "(", ")", ";", "FunctionInfo", "*", "FI", "=", "MF", ".", "getInfo", "<", "FunctionInfo", ">", "(", ")", ";", "llvm", "::", "CallingConv", "::", "ID", "CallConv", "=", "MF", ".", "getFunction", "(", ")", "->", "getCallingConv", "(", ")", ";", "bool", "requiresRA", "=", "CallConv", "==", "llvm", "::", "CallingConv", "::", "MBLAZE_INTR", ";", "if", "(", "MFI", "->", "adjustsStack", "(", ")", "||", "requiresRA", ")", "{", "FI", "->", "setRAStackOffset", "(", "", ")", ";", "MFI", "->", "CreateFixedObject", "(", "", ",", "", ",", "true", ")", ";", "}", "if", "(", "hasFP", "(", "MF", ")", ")", "{"], "ground_truth": ["FI", "->", "setFPStackOffset", "(", "", ")", ";"], "File": "MBlazeFrameLowering10", "Func": "processFunctionBeforeCalleeSavedScan", "Target": "MBlaze", "Target_Clf": "MPU", "Compiler_Type": "LLVM", "Idx": 136802, "Length": 96, "Cover_Rate": 0.7164179104477612} {"Template_token": ["", "if", "(", "I", "->", "getOpcode", "(", ")", "!=", "", "||", "I", "->", "getNumOperands", "(", ")", "!=", "", "||", "!", "I", "->", "getOperand", "(", "", ")", ".", "isFI", "(", ")", "||", "!", "I", "->", "getOperand", "(", "", ")", ".", "isReg", "(", ")", "||", "I", "->", "getOperand", "(", "", ")", ".", "getIndex", "(", ")", "!=", "LiveInFI", "[", "i", "]", ")", "continue", ";", "unsigned", "FIReg", "=", "I", "->", "getOperand", "(", "", ")", ".", "getReg", "(", ")", ";", "MachineBasicBlock", "::", "iterator", "SI", "=", "I", ";", "for", "(", "SI", "++", ";", "SI", "!=", "MIE", ";", "++", "SI", ")", "{", "if", "(", "!", "SI", "->", "getOperand", "(", "", ")", ".", "isReg", "(", ")", "||", "!", "SI", "->", "getOperand", "(", "", ")", ".", "isFI", "(", ")", "||", "SI", "->", "getOpcode", "(", ")", "!=", "", ")", "continue", ";", "int", "FI", "=", "SI", "->", "getOperand", "(", "", ")", ".", "getIndex", "(", ")", ";", "if", "(", "SI", "->", "getOperand", "(", "", ")", ".", "getReg", "(", ")", "!=", "FIReg", "||", "MFI", "->", "isFixedObjectIndex", "(", "FI", ")", "||", "MFI", "->", "getObjectSize", "(", "FI", ")", "!=", "", ")", "continue", ";", "if", "(", "SI", "->", "getOperand", "(", "", ")", ".", "isDef", "(", ")", ")", "break", ";", "if", "(", "SI", "->", "getOperand", "(", "", ")", ".", "isKill", "(", ")", ")", "{", "DEBUG", "(", "dbgs", "(", ")", "<<", "", "<<", "I", "->", "getOperand", "(", "", ")", ".", "getIndex", "(", ")", "<<", "", ")", ";", "EraseInstr", ".", "push_back", "(", "I", ")", ";", "}", "EraseInstr", ".", "push_back", "(", "SI", ")", ";", "DEBUG", "(", "dbgs", "(", ")", "<<", "", "<<", "FI", "<<", "", ")", ";", "FrameRelocate", ".", "push_back", "(", "std", "::", "make_pair", "(", "FI", ",", "StackOffset", ")", ")", ";", "DEBUG", "(", "dbgs", "(", ")", "<<", "", "<<", "FI", "<<", "", "<<", "StackOffset", "<<", "", ")", ";", "StackOffset", "-=", "", ";", "StackAdjust", "+=", "", ";", "break", ";", "}", "}", "}", "for", "(", "MachineRegisterInfo", "::", "livein_iterator", "LI", "=", "LII", ";", "LI", "!=", "LIE", ";", "++", "LI", ")", "{", "for", "(", "MachineBasicBlock", "::", "iterator", "I", "=", "MIB", ";", "I", "!=", "MIE", ";", "++", "I", ")", "{", "if", "(", "I", "->", "definesRegister", "(", "LI", "->", "first", ")", ")", "break", ";", "if", "(", "I", "->", "getOpcode", "(", ")", "!=", "", "||", "I", "->", "getNumOperands", "(", ")", "!=", "", "||", "!", "I", "->", "getOperand", "(", "", ")", ".", "isFI", "(", ")", "||", "!", "I", "->", "getOperand", "(", "", ")", ".", "isReg", "(", ")", "||", "I", "->", "getOperand", "(", "", ")", ".", "getIndex", "(", ")", "<", "", ")", "continue", ";"], "ground_truth": ["if", "(", "I", "->", "getOperand", "(", "", ")", ".", "getReg", "(", ")", "==", "LI", "->", "first", ")", "{"], "File": "MBlazeFrameLowering1", "Func": "analyzeFrameIndexes", "Target": "MBlaze", "Target_Clf": "MPU", "Compiler_Type": "LLVM", "Idx": 136803, "Length": 422, "Cover_Rate": 0.5171568627450981} {"Template_token": ["", "int", "NFI", "=", "MFI", "->", "CreateFixedObject", "(", "", ",", "FRI", "->", "second", ",", "true", ")", ";", "FI", "->", "recordReplacement", "(", "FRI", "->", "first", ",", "NFI", ")", ";", "for", "(", "MachineFunction", "::", "iterator", "MB", "=", "MF", ".", "begin", "(", ")", ",", "ME", "=", "MF", ".", "end", "(", ")", ";", "MB", "!=", "ME", ";", "++", "MB", ")", "{", "MachineBasicBlock", "::", "iterator", "MBB", "=", "MB", "->", "begin", "(", ")", ";", "const", "MachineBasicBlock", "::", "iterator", "MBE", "=", "MB", "->", "end", "(", ")", ";", "for", "(", ";", "MBB", "!=", "MBE", ";", "++", "MBB", ")", "{", "MachineInstr", "::", "mop_iterator", "MIB", "=", "MBB", "->", "operands_begin", "(", ")", ";", "const", "MachineInstr", "::", "mop_iterator", "MIE", "=", "MBB", "->", "operands_end", "(", ")", ";", "for", "(", "MachineInstr", "::", "mop_iterator", "MII", "=", "MIB", ";", "MII", "!=", "MIE", ";", "++", "MII", ")", "{", "if", "(", "!", "MII", "->", "isFI", "(", ")", "||", "MII", "->", "getIndex", "(", ")", "!=", "FRI", "->", "first", ")", "continue", ";"], "ground_truth": ["DEBUG", "(", "dbgs", "(", ")", "<<", "", "<<", "MII", "->", "getIndex", "(", ")", "<<", "", ")", ";"], "File": "MBlazeFrameLowering1", "Func": "replaceFrameIndexes", "Target": "MBlaze", "Target_Clf": "MPU", "Compiler_Type": "LLVM", "Idx": 136804, "Length": 168, "Cover_Rate": 0.5333333333333333} {"Template_token": ["", "FI", "->", "recordReplacement", "(", "FRI", "->", "first", ",", "NFI", ")", ";", "for", "(", "MachineFunction", "::", "iterator", "MB", "=", "MF", ".", "begin", "(", ")", ",", "ME", "=", "MF", ".", "end", "(", ")", ";", "MB", "!=", "ME", ";", "++", "MB", ")", "{", "MachineBasicBlock", "::", "iterator", "MBB", "=", "MB", "->", "begin", "(", ")", ";", "const", "MachineBasicBlock", "::", "iterator", "MBE", "=", "MB", "->", "end", "(", ")", ";", "for", "(", ";", "MBB", "!=", "MBE", ";", "++", "MBB", ")", "{", "MachineInstr", "::", "mop_iterator", "MIB", "=", "MBB", "->", "operands_begin", "(", ")", ";", "const", "MachineInstr", "::", "mop_iterator", "MIE", "=", "MBB", "->", "operands_end", "(", ")", ";", "for", "(", "MachineInstr", "::", "mop_iterator", "MII", "=", "MIB", ";", "MII", "!=", "MIE", ";", "++", "MII", ")", "{", "if", "(", "!", "MII", "->", "isFI", "(", ")", "||", "MII", "->", "getIndex", "(", ")", "!=", "FRI", "->", "first", ")", "continue", ";", "DEBUG", "(", "dbgs", "(", ")", "<<", "", "<<", "MII", "->", "getIndex", "(", ")", "<<", "", ")", ";", "MII", "->", "setIndex", "(", "NFI", ")", ";", "}"], "ground_truth": ["}"], "File": "MBlazeFrameLowering1", "Func": "replaceFrameIndexes", "Target": "MBlaze", "Target_Clf": "MPU", "Compiler_Type": "LLVM", "Idx": 136805, "Length": 161, "Cover_Rate": 0.5111111111111111} {"Template_token": ["", "explicit", "FrameLowering", "(", "const", "Subtarget", "&", "sti", ")", ":", "TargetFrameLowering", "(", "TargetFrameLowering", "::", "StackGrowsUp", ",", "", ",", "", ")", ",", "STI", "(", "sti", ")", "{"], "ground_truth": ["}"], "File": "MBlazeFrameLowering2", "Func": "MBlazeFrameLowering", "Target": "MBlaze", "Target_Clf": "MPU", "Compiler_Type": "LLVM", "Idx": 136806, "Length": 26, "Cover_Rate": 1.0} {"Template_token": ["", "explicit", "FrameLowering", "(", "const", "Subtarget", "&", "sti", ")", ":", "TargetFrameLowering", "(", "TargetFrameLowering", "::", "StackGrowsUp", ",", "", ",", "", ")", ",", "STI", "(", "sti", ")", "{"], "ground_truth": ["}"], "File": "MBlazeFrameLowering2", "Func": "MBlazeFrameLowering", "Target": "MBlaze", "Target_Clf": "MPU", "Compiler_Type": "LLVM", "Idx": 136807, "Length": 26, "Cover_Rate": 1.0} {"Template_token": ["", "const", "MachineFrameInfo", "*", "MFI", "=", "MF", ".", "getFrameInfo", "(", ")", ";"], "ground_truth": ["return", "DisableFramePointerElim", "(", "MF", ")", "||", "MFI", "->", "hasVarSizedObjects", "(", ")", ";"], "File": "MBlazeFrameLowering8", "Func": "hasFP", "Target": "MBlaze", "Target_Clf": "MPU", "Compiler_Type": "LLVM", "Idx": 136808, "Length": 23, "Cover_Rate": 0.6388888888888888} {"Template_token": ["", "bool", "FrameLowering", "::", "hasFP", "(", "const", "MachineFunction", "&", "MF", ")", "const", "{", "const", "MachineFrameInfo", "*", "MFI", "=", "MF", ".", "getFrameInfo", "(", ")", ";", "return", "DisableFramePointerElim", "(", "MF", ")", "||", "MFI", "->", "hasVarSizedObjects", "(", ")", ";"], "ground_truth": ["}"], "File": "MBlazeFrameLowering8", "Func": "hasFP", "Target": "MBlaze", "Target_Clf": "MPU", "Compiler_Type": "LLVM", "Idx": 136809, "Length": 36, "Cover_Rate": 1.0} {"Template_token": ["", "if", "(", "I", "->", "definesRegister", "(", "LI", "->", "first", ")", ")", "break", ";", "if", "(", "I", "->", "getOpcode", "(", ")", "!=", "", "||", "I", "->", "getNumOperands", "(", ")", "!=", "", "||", "!", "I", "->", "getOperand", "(", "", ")", ".", "isFI", "(", ")", "||", "!", "I", "->", "getOperand", "(", "", ")", ".", "isReg", "(", ")", "||", "I", "->", "getOperand", "(", "", ")", ".", "getIndex", "(", ")", "<", "", ")", "continue", ";", "if", "(", "I", "->", "getOperand", "(", "", ")", ".", "getReg", "(", ")", "==", "LI", "->", "first", ")", "{", "int", "FI", "=", "I", "->", "getOperand", "(", "", ")", ".", "getIndex", "(", ")", ";", "FI", "->", "recordLiveIn", "(", "FI", ")", ";", "int", "FILoc", "=", "", ";", "switch", "(", "LI", "->", "first", ")", "{", "default", ":", "llvm_unreachable", "(", "", ")", ";", "case", "", ":", "FILoc", "=", "-", "", ";", "break", ";", "case", "", ":", "FILoc", "=", "-", "", ";", "break", ";", "case", "", ":", "FILoc", "=", "-", "", ";", "break", ";", "case", "", ":", "FILoc", "=", "-", "", ";", "break", ";", "case", "", ":", "FILoc", "=", "-", "", ";", "break", ";", "case", "", ":", "FILoc", "=", "-", "", ";", "break", ";", "}", "StackAdjust", "+=", "", ";", "FrameRelocate", ".", "push_back", "(", "std", "::", "make_pair", "(", "FI", ",", "FILoc", ")", ")", ";", "DEBUG", "(", "dbgs", "(", ")", "<<", "", "<<", "FI", "<<", "", "<<", "FILoc", "<<", "", ")", ";", "break", ";", "}", "}", "}"], "ground_truth": ["for", "(", "int", "i", "=", "", ",", "e", "=", "EraseInstr", ".", "size", "(", ")", ";", "i", "<", "e", ";", "++", "i", ")", "MBB", "->", "erase", "(", "EraseInstr", "[", "i", "]", ")", ";"], "File": "MBlazeFrameLowering9", "Func": "analyzeFrameIndexes", "Target": "MBlaze", "Target_Clf": "MPU", "Compiler_Type": "LLVM", "Idx": 136810, "Length": 261, "Cover_Rate": 0.31985294117647056} {"Template_token": ["", "int", "FI", "=", "SI", "->", "getOperand", "(", "", ")", ".", "getIndex", "(", ")", ";", "if", "(", "SI", "->", "getOperand", "(", "", ")", ".", "getReg", "(", ")", "!=", "FIReg", "||", "MFI", "->", "isFixedObjectIndex", "(", "FI", ")", "||", "MFI", "->", "getObjectSize", "(", "FI", ")", "!=", "", ")", "continue", ";", "if", "(", "SI", "->", "getOperand", "(", "", ")", ".", "isDef", "(", ")", ")", "break", ";", "if", "(", "SI", "->", "getOperand", "(", "", ")", ".", "isKill", "(", ")", ")", "{", "DEBUG", "(", "dbgs", "(", ")", "<<", "", "<<", "I", "->", "getOperand", "(", "", ")", ".", "getIndex", "(", ")", "<<", "", ")", ";", "EraseInstr", ".", "push_back", "(", "I", ")", ";", "}", "EraseInstr", ".", "push_back", "(", "SI", ")", ";", "DEBUG", "(", "dbgs", "(", ")", "<<", "", "<<", "FI", "<<", "", ")", ";", "FrameRelocate", ".", "push_back", "(", "std", "::", "make_pair", "(", "FI", ",", "StackOffset", ")", ")", ";", "DEBUG", "(", "dbgs", "(", ")", "<<", "", "<<", "FI", "<<", "", "<<", "StackOffset", "<<", "", ")", ";", "StackOffset", "-=", "", ";", "StackAdjust", "+=", "", ";", "break", ";", "}", "}", "}", "for", "(", "MachineRegisterInfo", "::", "livein_iterator", "LI", "=", "LII", ";", "LI", "!=", "LIE", ";", "++", "LI", ")", "{", "for", "(", "MachineBasicBlock", "::", "iterator", "I", "=", "MIB", ";", "I", "!=", "MIE", ";", "++", "I", ")", "{", "if", "(", "I", "->", "definesRegister", "(", "LI", "->", "first", ")", ")", "break", ";", "if", "(", "I", "->", "getOpcode", "(", ")", "!=", "", "||", "I", "->", "getNumOperands", "(", ")", "!=", "", "||", "!", "I", "->", "getOperand", "(", "", ")", ".", "isFI", "(", ")", "||", "!", "I", "->", "getOperand", "(", "", ")", ".", "isReg", "(", ")", "||", "I", "->", "getOperand", "(", "", ")", ".", "getIndex", "(", ")", "<", "", ")", "continue", ";", "if", "(", "I", "->", "getOperand", "(", "", ")", ".", "getReg", "(", ")", "==", "LI", "->", "first", ")", "{", "int", "FI", "=", "I", "->", "getOperand", "(", "", ")", ".", "getIndex", "(", ")", ";", "FI", "->", "recordLiveIn", "(", "FI", ")", ";", "int", "FILoc", "=", "", ";", "switch", "(", "LI", "->", "first", ")", "{", "default", ":", "llvm_unreachable", "(", "", ")", ";", "case", "", ":", "FILoc", "=", "-", "", ";", "break", ";", "case", "", ":", "FILoc", "=", "-", "", ";", "break", ";", "case", "", ":", "FILoc", "=", "-", "", ";", "break", ";", "case", "", ":", "FILoc", "=", "-", "", ";", "break", ";", "case", "", ":", "FILoc", "=", "-", "", ";", "break", ";", "case", "", ":", "FILoc", "=", "-", "", ";", "break", ";"], "ground_truth": ["}"], "File": "MBlazeFrameLowering", "Func": "analyzeFrameIndexes", "Target": "MBlaze", "Target_Clf": "MPU", "Compiler_Type": "LLVM", "Idx": 136811, "Length": 393, "Cover_Rate": 0.4828009828009828} {"Template_token": ["", "MachineFrameInfo", "*", "MFI", "=", "MF", ".", "getFrameInfo", "(", ")", ";", "FunctionInfo", "*", "FI", "=", "MF", ".", "getInfo", "<", "FunctionInfo", ">", "(", ")", ";", "FI", "->", "adjustLoadArgsFI", "(", "MFI", ")", ";", "FI", "->", "adjustStoreVarArgsFI", "(", "MFI", ")", ";", "unsigned", "FrameSize", "=", "MFI", "->", "getStackSize", "(", ")", ";", "DEBUG", "(", "dbgs", "(", ")", "<<", "", "<<", "FrameSize", "<<", "", ")", ";", "unsigned", "TargetAlign", "=", "MF", ".", "getTarget", "(", ")", ".", "getFrameLowering", "(", ")", "->", "getStackAlignment", "(", ")", ";"], "ground_truth": ["unsigned", "AlignMask", "=", "TargetAlign", "-", "", ";"], "File": "MBlazeFrameLowering", "Func": "determineFrameLayout", "Target": "MBlaze", "Target_Clf": "MPU", "Compiler_Type": "LLVM", "Idx": 136812, "Length": 83, "Cover_Rate": 0.6693548387096774} {"Template_token": ["", "FunctionInfo", "*", "FI", "=", "MF", ".", "getInfo", "<", "FunctionInfo", ">", "(", ")", ";", "FI", "->", "adjustLoadArgsFI", "(", "MFI", ")", ";", "FI", "->", "adjustStoreVarArgsFI", "(", "MFI", ")", ";", "unsigned", "FrameSize", "=", "MFI", "->", "getStackSize", "(", ")", ";", "DEBUG", "(", "dbgs", "(", ")", "<<", "", "<<", "FrameSize", "<<", "", ")", ";", "unsigned", "TargetAlign", "=", "MF", ".", "getTarget", "(", ")", ".", "getFrameLowering", "(", ")", "->", "getStackAlignment", "(", ")", ";"], "ground_truth": ["unsigned", "AlignMask", "=", "TargetAlign", "-", "", ";"], "File": "MBlazeFrameLowering", "Func": "determineFrameLayout", "Target": "MBlaze", "Target_Clf": "MPU", "Compiler_Type": "LLVM", "Idx": 136813, "Length": 73, "Cover_Rate": 0.5887096774193549} {"Template_token": ["", "if", "(", "!", "hasReservedCallFrame", "(", "MF", ")", ")", "{", "MachineInstr", "*", "Old", "=", "I", ";", "int", "Amount", "=", "Old", "->", "getOperand", "(", "", ")", ".", "getImm", "(", ")", "+", "", ";", "if", "(", "Amount", "!=", "", ")", "{", "unsigned", "Align", "=", "getStackAlignment", "(", ")", ";", "Amount", "=", "(", "Amount", "+", "Align", "-", "", ")", "/", "Align", "*", "Align", ";", "MachineInstr", "*", "New", ";", "if", "(", "Old", "->", "getOpcode", "(", ")", "==", "", ")", "{", "New", "=", "BuildMI", "(", "MF", ",", "Old", "->", "getDebugLoc", "(", ")", ",", "TII", ".", "get", "(", "", ")", ",", "", ")", ".", "addReg", "(", "", ")", ".", "addImm", "(", "-", "Amount", ")", ";"], "ground_truth": ["}", "else", "{"], "File": "MBlazeFrameLowering", "Func": "eliminateCallFramePseudoInstr", "Target": "MBlaze", "Target_Clf": "MPU", "Compiler_Type": "LLVM", "Idx": 136814, "Length": 110, "Cover_Rate": 0.4721030042918455} {"Template_token": ["", "int", "RAOffset", "=", "FI", "->", "getRAStackOffset", "(", ")", ";", "if", "(", "hasFP", "(", "MF", ")", ")", "{", "BuildMI", "(", "MBB", ",", "MBBI", ",", "dl", ",", "TII", ".", "get", "(", "", ")", ",", "", ")", ".", "addReg", "(", "", ")", ".", "addReg", "(", "", ")", ";", "BuildMI", "(", "MBB", ",", "MBBI", ",", "dl", ",", "TII", ".", "get", "(", "", ")", ",", "", ")", ".", "addReg", "(", "", ")", ".", "addImm", "(", "FPOffset", ")", ";", "}", "if", "(", "MFI", "->", "adjustsStack", "(", ")", "||", "requiresRA", ")", "{", "BuildMI", "(", "MBB", ",", "MBBI", ",", "dl", ",", "TII", ".", "get", "(", "", ")", ",", "", ")", ".", "addReg", "(", "", ")", ".", "addImm", "(", "RAOffset", ")", ";", "}", "int", "StackSize", "=", "(", "int", ")", "MFI", "->", "getStackSize", "(", ")", ";", "if", "(", "StackSize", ")", "{", "BuildMI", "(", "MBB", ",", "MBBI", ",", "dl", ",", "TII", ".", "get", "(", "", ")", ",", "", ")", ".", "addReg", "(", "", ")", ".", "addImm", "(", "StackSize", ")", ";", "}"], "ground_truth": ["}"], "File": "MBlazeFrameLowering", "Func": "emitEpilogue", "Target": "MBlaze", "Target_Clf": "MPU", "Compiler_Type": "LLVM", "Idx": 136815, "Length": 161, "Cover_Rate": 0.5331125827814569} {"Template_token": ["", "if", "(", "MFI", "->", "adjustsStack", "(", ")", "||", "requiresRA", ")", "{", "BuildMI", "(", "MBB", ",", "MBBI", ",", "DL", ",", "TII", ".", "get", "(", "", ")", ")", ".", "addReg", "(", "", ")", ".", "addReg", "(", "", ")", ".", "addImm", "(", "RAOffset", ")", ";", "}", "if", "(", "hasFP", "(", "MF", ")", ")", "{", "BuildMI", "(", "MBB", ",", "MBBI", ",", "DL", ",", "TII", ".", "get", "(", "", ")", ")", ".", "addReg", "(", "", ")", ".", "addReg", "(", "", ")", ".", "addImm", "(", "FPOffset", ")", ";", "BuildMI", "(", "MBB", ",", "MBBI", ",", "DL", ",", "TII", ".", "get", "(", "", ")", ",", "", ")", ".", "addReg", "(", "", ")", ".", "addReg", "(", "", ")", ";"], "ground_truth": ["}"], "File": "MBlazeFrameLowering", "Func": "emitPrologue", "Target": "MBlaze", "Target_Clf": "MPU", "Compiler_Type": "LLVM", "Idx": 136816, "Length": 111, "Cover_Rate": 0.3255131964809384} {"Template_token": ["", "const", "FunctionInfo", "*", "FI", "=", "MF", ".", "getInfo", "<", "FunctionInfo", ">", "(", ")", ";", "if", "(", "FI", "->", "hasReplacement", "(", "FI", ")", ")", "FI", "=", "FI", "->", "getReplacement", "(", "FI", ")", ";", "return", "TargetFrameLowering", "::", "getFrameIndexOffset", "(", "MF", ",", "FI", ")", ";"], "ground_truth": ["}"], "File": "MBlazeFrameLowering", "Func": "getFrameIndexOffset", "Target": "MBlaze", "Target_Clf": "MPU", "Compiler_Type": "LLVM", "Idx": 136817, "Length": 43, "Cover_Rate": 0.7413793103448276} {"Template_token": ["", "const", "MachineFrameInfo", "*", "MFI", "=", "MF", ".", "getFrameInfo", "(", ")", ";"], "ground_truth": ["return", "MF", ".", "getTarget", "(", ")", ".", "Options", ".", "DisableFramePointerElim", "(", "MF", ")", "||", "MFI", "->", "hasVarSizedObjects", "(", ")", ";"], "File": "MBlazeFrameLowering", "Func": "hasFP", "Target": "MBlaze", "Target_Clf": "MPU", "Compiler_Type": "LLVM", "Idx": 136819, "Length": 31, "Cover_Rate": 0.7045454545454546} {"Template_token": ["", "CallingConv", "::", "ID", "CallConv", "=", "F", "->", "getCallingConv", "(", ")", ";", "if", "(", "CallConv", "!=", "CallingConv", "::", "MBLAZE_INTR", "&&", "CallConv", "!=", "CallingConv", "::", "MBLAZE_SVOL", ")", "return", ";", "MachineFrameInfo", "*", "MFI", "=", "MF", ".", "getFrameInfo", "(", ")", ";", "const", "MachineRegisterInfo", "&", "MRI", "=", "MF", ".", "getRegInfo", "(", ")", ";", "const", "InstrInfo", "&", "TII", "=", "*", "static_cast", "<", "const", "InstrInfo", "*", ">", "(", "MF", ".", "getTarget", "(", ")", ".", "getInstrInfo", "(", ")", ")", ";", "bool", "isIntr", "=", "CallConv", "==", "CallingConv", "::", "MBLAZE_INTR", ";", "MachineBasicBlock", "&", "MENT", "=", "MF", ".", "front", "(", ")", ";", "MachineBasicBlock", "&", "MEXT", "=", "MF", ".", "back", "(", ")", ";", "MachineBasicBlock", "::", "iterator", "MENTI", "=", "MENT", ".", "begin", "(", ")", ";", "MachineBasicBlock", "::", "iterator", "MEXTI", "=", "prior", "(", "MEXT", ".", "end", "(", ")", ")", ";", "DebugLoc", "ENTDL", "=", "MENTI", "!=", "MENT", ".", "end", "(", ")", "?", "MENTI", "->", "getDebugLoc", "(", ")", ":", "DebugLoc", "(", ")", ";", "DebugLoc", "EXTDL", "=", "MEXTI", "!=", "MEXT", ".", "end", "(", ")", "?", "MEXTI", "->", "getDebugLoc", "(", ")", ":", "DebugLoc", "(", ")", ";", "SmallVector", "<", "int", ",", "", ">", "VFI", ";", "for", "(", "unsigned", "r", "=", "", ";", "r", "<=", "", ";", "++", "r", ")", "{", "if", "(", "!", "MRI", ".", "isPhysRegUsed", "(", "r", ")", "&&", "!", "(", "isIntr", "&&", "r", "==", "", ")", ")", "continue", ";", "int", "FI", "=", "MFI", "->", "CreateStackObject", "(", "", ",", "", ",", "false", ",", "false", ")", ";", "VFI", ".", "push_back", "(", "FI", ")", ";", "BuildMI", "(", "MENT", ",", "MENTI", ",", "ENTDL", ",", "TII", ".", "get", "(", "", ")", ",", "r", ")", ".", "addFrameIndex", "(", "FI", ")", ".", "addImm", "(", "", ")", ";", "}", "int", "R17FI", "=", "MFI", "->", "CreateStackObject", "(", "", ",", "", ",", "false", ",", "false", ")", ";", "int", "R18FI", "=", "MFI", "->", "CreateStackObject", "(", "", ",", "", ",", "false", ",", "false", ")", ";", "BuildMI", "(", "MENT", ",", "MENTI", ",", "ENTDL", ",", "TII", ".", "get", "(", "", ")", ",", "", ")", ".", "addFrameIndex", "(", "R17FI", ")", ".", "addImm", "(", "", ")", ";", "BuildMI", "(", "MENT", ",", "MENTI", ",", "ENTDL", ",", "TII", ".", "get", "(", "", ")", ",", "", ")", ".", "addFrameIndex", "(", "R18FI", ")", ".", "addImm", "(", "", ")", ";", "if", "(", "isIntr", ")", "{", "int", "MSRFI", "=", "MFI", "->", "CreateStackObject", "(", "", ",", "", ",", "false", ",", "false", ")", ";"], "ground_truth": ["BuildMI", "(", "MENT", ",", "MENTI", ",", "ENTDL", ",", "TII", ".", "get", "(", "", ")", ",", "", ")", ".", "addReg", "(", "", ")", ";"], "File": "MBlazeFrameLowering", "Func": "interruptFrameLayout", "Target": "MBlaze", "Target_Clf": "MPU", "Compiler_Type": "LLVM", "Idx": 136820, "Length": 396, "Cover_Rate": 0.5901639344262295} {"Template_token": ["", "static", "void", "interruptFrameLayout", "(", "MachineFunction", "&", "MF", ")", "{", "const", "Function", "*", "F", "=", "MF", ".", "getFunction", "(", ")", ";", "CallingConv", "::", "ID", "CallConv", "=", "F", "->", "getCallingConv", "(", ")", ";", "if", "(", "CallConv", "!=", "CallingConv", "::", "MBLAZE_INTR", "&&", "CallConv", "!=", "CallingConv", "::", "MBLAZE_SVOL", ")", "return", ";", "MachineFrameInfo", "*", "MFI", "=", "MF", ".", "getFrameInfo", "(", ")", ";", "const", "MachineRegisterInfo", "&", "MRI", "=", "MF", ".", "getRegInfo", "(", ")", ";", "const", "InstrInfo", "&", "TII", "=", "*", "static_cast", "<", "const", "InstrInfo", "*", ">", "(", "MF", ".", "getTarget", "(", ")", ".", "getInstrInfo", "(", ")", ")", ";", "bool", "isIntr", "=", "CallConv", "==", "CallingConv", "::", "MBLAZE_INTR", ";", "MachineBasicBlock", "&", "MENT", "=", "MF", ".", "front", "(", ")", ";", "MachineBasicBlock", "&", "MEXT", "=", "MF", ".", "back", "(", ")", ";", "MachineBasicBlock", "::", "iterator", "MENTI", "=", "MENT", ".", "begin", "(", ")", ";", "MachineBasicBlock", "::", "iterator", "MEXTI", "=", "prior", "(", "MEXT", ".", "end", "(", ")", ")", ";", "DebugLoc", "ENTDL", "=", "MENTI", "!=", "MENT", ".", "end", "(", ")", "?", "MENTI", "->", "getDebugLoc", "(", ")", ":", "DebugLoc", "(", ")", ";", "DebugLoc", "EXTDL", "=", "MEXTI", "!=", "MEXT", ".", "end", "(", ")", "?", "MEXTI", "->", "getDebugLoc", "(", ")", ":", "DebugLoc", "(", ")", ";", "SmallVector", "<", "int", ",", "", ">", "VFI", ";", "for", "(", "unsigned", "r", "=", "", ";", "r", "<=", "", ";", "++", "r", ")", "{", "if", "(", "!", "MRI", ".", "isPhysRegUsed", "(", "r", ")", "&&", "!", "(", "isIntr", "&&", "r", "==", "", ")", ")", "continue", ";", "int", "FI", "=", "MFI", "->", "CreateStackObject", "(", "", ",", "", ",", "false", ",", "false", ")", ";", "VFI", ".", "push_back", "(", "FI", ")", ";", "BuildMI", "(", "MENT", ",", "MENTI", ",", "ENTDL", ",", "TII", ".", "get", "(", "", ")", ",", "r", ")", ".", "addFrameIndex", "(", "FI", ")", ".", "addImm", "(", "", ")", ";", "}", "int", "R17FI", "=", "MFI", "->", "CreateStackObject", "(", "", ",", "", ",", "false", ",", "false", ")", ";", "int", "R18FI", "=", "MFI", "->", "CreateStackObject", "(", "", ",", "", ",", "false", ",", "false", ")", ";", "BuildMI", "(", "MENT", ",", "MENTI", ",", "ENTDL", ",", "TII", ".", "get", "(", "", ")", ",", "", ")", ".", "addFrameIndex", "(", "R17FI", ")", ".", "addImm", "(", "", ")", ";"], "ground_truth": ["BuildMI", "(", "MENT", ",", "MENTI", ",", "ENTDL", ",", "TII", ".", "get", "(", "", ")", ",", "", ")", ".", "addFrameIndex", "(", "R18FI", ")", ".", "addImm", "(", "", ")", ";"], "File": "MBlazeFrameLowering", "Func": "interruptFrameLayout", "Target": "MBlaze", "Target_Clf": "MPU", "Compiler_Type": "LLVM", "Idx": 136821, "Length": 372, "Cover_Rate": 0.5543964232488823} {"Template_token": ["", "FunctionInfo", "*", "FI", "=", "MF", ".", "getInfo", "<", "FunctionInfo", ">", "(", ")", ";", "CallingConv", "::", "ID", "CallConv", "=", "MF", ".", "getFunction", "(", ")", "->", "getCallingConv", "(", ")", ";", "bool", "requiresRA", "=", "CallConv", "==", "CallingConv", "::", "MBLAZE_INTR", ";", "if", "(", "MFI", "->", "adjustsStack", "(", ")", "||", "requiresRA", ")", "{", "FI", "->", "setRAStackOffset", "(", "", ")", ";", "MFI", "->", "CreateFixedObject", "(", "", ",", "", ",", "true", ")", ";", "}", "if", "(", "hasFP", "(", "MF", ")", ")", "{"], "ground_truth": ["FI", "->", "setFPStackOffset", "(", "", ")", ";"], "File": "MBlazeFrameLowering", "Func": "processFunctionBeforeCalleeSavedScan", "Target": "MBlaze", "Target_Clf": "MPU", "Compiler_Type": "LLVM", "Idx": 136822, "Length": 82, "Cover_Rate": 0.6307692307692307} {"Template_token": ["", "FI", "->", "setRAStackOffset", "(", "", ")", ";", "MFI", "->", "CreateFixedObject", "(", "", ",", "", ",", "true", ")", ";", "}", "if", "(", "hasFP", "(", "MF", ")", ")", "{", "FI", "->", "setFPStackOffset", "(", "", ")", ";", "MFI", "->", "CreateFixedObject", "(", "", ",", "", ",", "true", ")", ";", "}", "interruptFrameLayout", "(", "MF", ")", ";", "analyzeFrameIndexes", "(", "MF", ")", ";"], "ground_truth": ["}"], "File": "MBlazeFrameLowering", "Func": "processFunctionBeforeCalleeSavedScan", "Target": "MBlaze", "Target_Clf": "MPU", "Compiler_Type": "LLVM", "Idx": 136823, "Length": 57, "Cover_Rate": 0.43846153846153846} {"Template_token": ["", "int", "NFI", "=", "MFI", "->", "CreateFixedObject", "(", "", ",", "FRI", "->", "second", ",", "true", ")", ";", "FI", "->", "recordReplacement", "(", "FRI", "->", "first", ",", "NFI", ")", ";", "for", "(", "MachineFunction", "::", "iterator", "MB", "=", "MF", ".", "begin", "(", ")", ",", "ME", "=", "MF", ".", "end", "(", ")", ";", "MB", "!=", "ME", ";", "++", "MB", ")", "{", "MachineBasicBlock", "::", "iterator", "MBB", "=", "MB", "->", "begin", "(", ")", ";", "const", "MachineBasicBlock", "::", "iterator", "MBE", "=", "MB", "->", "end", "(", ")", ";", "for", "(", ";", "MBB", "!=", "MBE", ";", "++", "MBB", ")", "{", "MachineInstr", "::", "mop_iterator", "MIB", "=", "MBB", "->", "operands_begin", "(", ")", ";", "const", "MachineInstr", "::", "mop_iterator", "MIE", "=", "MBB", "->", "operands_end", "(", ")", ";", "for", "(", "MachineInstr", "::", "mop_iterator", "MII", "=", "MIB", ";", "MII", "!=", "MIE", ";", "++", "MII", ")", "{", "if", "(", "!", "MII", "->", "isFI", "(", ")", "||", "MII", "->", "getIndex", "(", ")", "!=", "FRI", "->", "first", ")", "continue", ";", "DEBUG", "(", "dbgs", "(", ")", "<<", "", "<<", "MII", "->", "getIndex", "(", ")", "<<", "", ")", ";", "MII", "->", "setIndex", "(", "NFI", ")", ";", "}", "}", "}", "}"], "ground_truth": ["}"], "File": "MBlazeFrameLowering", "Func": "replaceFrameIndexes", "Target": "MBlaze", "Target_Clf": "MPU", "Compiler_Type": "LLVM", "Idx": 136824, "Length": 180, "Cover_Rate": 0.5863192182410424} {"Template_token": ["", "FunctionInfo", "*", "FI", "=", "MF", ".", "getInfo", "<", "FunctionInfo", ">", "(", ")", ";", "const", "SmallVectorImpl", "<", "std", "::", "pair", "<", "int", ",", "int64_t", ">", ">", "::", "iterator", "FRB", "=", "FR", ".", "begin", "(", ")", ";", "const", "SmallVectorImpl", "<", "std", "::", "pair", "<", "int", ",", "int64_t", ">", ">", "::", "iterator", "FRE", "=", "FR", ".", "end", "(", ")", ";", "SmallVectorImpl", "<", "std", "::", "pair", "<", "int", ",", "int64_t", ">", ">", "::", "iterator", "FRI", "=", "FRB", ";", "for", "(", ";", "FRI", "!=", "FRE", ";", "++", "FRI", ")", "{"], "ground_truth": ["MFI", "->", "RemoveStackObject", "(", "FRI", "->", "first", ")", ";"], "File": "MBlazeFrameLowering", "Func": "replaceFrameIndexes", "Target": "MBlaze", "Target_Clf": "MPU", "Compiler_Type": "LLVM", "Idx": 136825, "Length": 94, "Cover_Rate": 0.30618892508143325} {"Template_token": ["", "InstPrinter", "(", "const", "MCAsmInfo", "&", "MAI", ")", ":", "MCInstPrinter", "(", "MAI", ")", "{"], "ground_truth": ["}"], "File": "MBlazeInstPrinter1", "Func": "MBlazeInstPrinter", "Target": "MBlaze", "Target_Clf": "MPU", "Compiler_Type": "LLVM", "Idx": 136826, "Length": 14, "Cover_Rate": 1.0} {"Template_token": ["", "InstPrinter", "(", "const", "MCAsmInfo", "&", "MAI", ")", ":", "MCInstPrinter", "(", "MAI", ")", "{"], "ground_truth": ["}"], "File": "MBlazeInstPrinter1", "Func": "MBlazeInstPrinter", "Target": "MBlaze", "Target_Clf": "MPU", "Compiler_Type": "LLVM", "Idx": 136827, "Length": 14, "Cover_Rate": 1.0} {"Template_token": ["", "InstPrinter", "(", "const", "MCAsmInfo", "&", "MAI", ")", ":", "MCInstPrinter", "(", "MAI", ")", "{"], "ground_truth": ["}"], "File": "MBlazeInstPrinter2", "Func": "MBlazeInstPrinter", "Target": "MBlaze", "Target_Clf": "MPU", "Compiler_Type": "LLVM", "Idx": 136828, "Length": 14, "Cover_Rate": 1.0} {"Template_token": ["", "InstPrinter", "(", "const", "MCAsmInfo", "&", "MAI", ")", ":", "MCInstPrinter", "(", "MAI", ")", "{"], "ground_truth": ["}"], "File": "MBlazeInstPrinter2", "Func": "MBlazeInstPrinter", "Target": "MBlaze", "Target_Clf": "MPU", "Compiler_Type": "LLVM", "Idx": 136829, "Length": 14, "Cover_Rate": 1.0} {"Template_token": ["", "InstPrinter", "(", "const", "MCAsmInfo", "&", "MAI", ",", "const", "MCRegisterInfo", "&", "MRI", ")", ":", "MCInstPrinter", "(", "MAI", ",", "MRI", ")", "{"], "ground_truth": ["}"], "File": "MBlazeInstPrinter5", "Func": "MBlazeInstPrinter", "Target": "MBlaze", "Target_Clf": "MPU", "Compiler_Type": "LLVM", "Idx": 136830, "Length": 21, "Cover_Rate": 1.0} {"Template_token": ["", "InstPrinter", "(", "const", "MCAsmInfo", "&", "MAI", ",", "const", "MCRegisterInfo", "&", "MRI", ")", ":", "MCInstPrinter", "(", "MAI", ",", "MRI", ")", "{"], "ground_truth": ["}"], "File": "MBlazeInstPrinter5", "Func": "MBlazeInstPrinter", "Target": "MBlaze", "Target_Clf": "MPU", "Compiler_Type": "LLVM", "Idx": 136831, "Length": 21, "Cover_Rate": 1.0} {"Template_token": ["", "if", "(", "MO", ".", "isImm", "(", ")", ")", "O", "<<", "", "<<", "MO", ".", "getImm", "(", ")", ";"], "ground_truth": ["else", "printOperand", "(", "MI", ",", "OpNo", ",", "O", ",", "NULL", ")", ";"], "File": "MBlazeInstPrinter", "Func": "printFSLImm", "Target": "MBlaze", "Target_Clf": "MPU", "Compiler_Type": "LLVM", "Idx": 136832, "Length": 30, "Cover_Rate": 0.4918032786885246} {"Template_token": ["", "void", "InstPrinter", "::", "printFSLImm", "(", "const", "MCInst", "*", "MI", ",", "int", "OpNo", ",", "raw_ostream", "&", "O", ")", "{"], "ground_truth": ["const", "MCOperand", "&", "MO", "=", "MI", "->", "getOperand", "(", "OpNo", ")", ";"], "File": "MBlazeInstPrinter", "Func": "printFSLImm", "Target": "MBlaze", "Target_Clf": "MPU", "Compiler_Type": "LLVM", "Idx": 136833, "Length": 30, "Cover_Rate": 0.4918032786885246} {"Template_token": ["", "printInstruction", "(", "MI", ",", "O", ")", ";", "printAnnotation", "(", "O", ",", "Annot", ")", ";"], "ground_truth": ["}"], "File": "MBlazeInstPrinter", "Func": "printInst", "Target": "MBlaze", "Target_Clf": "MPU", "Compiler_Type": "LLVM", "Idx": 136834, "Length": 15, "Cover_Rate": 0.45454545454545453} {"Template_token": ["", "printInstruction", "(", "MI", ",", "O", ")", ";", "printAnnotation", "(", "O", ",", "Annot", ")", ";"], "ground_truth": ["}"], "File": "MBlazeInstPrinter", "Func": "printInst", "Target": "MBlaze", "Target_Clf": "MPU", "Compiler_Type": "LLVM", "Idx": 136835, "Length": 15, "Cover_Rate": 0.45454545454545453} {"Template_token": ["", "printOperand", "(", "MI", ",", "OpNo", ",", "O", ",", "NULL", ")", ";", "O", "<<", "", ";", "printOperand", "(", "MI", ",", "OpNo", "+", "", ",", "O", ",", "NULL", ")", ";"], "ground_truth": ["}"], "File": "MBlazeInstPrinter", "Func": "printMemOperand", "Target": "MBlaze", "Target_Clf": "MPU", "Compiler_Type": "LLVM", "Idx": 136836, "Length": 29, "Cover_Rate": 0.5576923076923077} {"Template_token": ["", "void", "InstPrinter", "::", "printOperand", "(", "const", "MCInst", "*", "MI", ",", "unsigned", "OpNo", ",", "raw_ostream", "&", "O", ",", "const", "char", "*", "Modifier", ")", "{", "assert", "(", "(", "Modifier", "==", "", "||", "Modifier", "[", "", "]", "==", "", ")", "&&", "", ")", ";", "const", "MCOperand", "&", "Op", "=", "MI", "->", "getOperand", "(", "OpNo", ")", ";", "if", "(", "Op", ".", "isReg", "(", ")", ")", "{", "O", "<<", "getRegisterName", "(", "Op", ".", "getReg", "(", ")", ")", ";"], "ground_truth": ["}", "else", "if", "(", "Op", ".", "isImm", "(", ")", ")", "{"], "File": "MBlazeInstPrinter", "Func": "printOperand", "Target": "MBlaze", "Target_Clf": "MPU", "Compiler_Type": "LLVM", "Idx": 136837, "Length": 84, "Cover_Rate": 0.7} {"Template_token": ["", "O", "<<", "getRegisterName", "(", "Op", ".", "getReg", "(", ")", ")", ";", "}", "else", "if", "(", "Op", ".", "isImm", "(", ")", ")", "{", "O", "<<", "(", "int32_t", ")", "Op", ".", "getImm", "(", ")", ";", "}", "else", "{", "assert", "(", "Op", ".", "isExpr", "(", ")", "&&", "", ")", ";", "O", "<<", "*", "Op", ".", "getExpr", "(", ")", ";", "}"], "ground_truth": ["}"], "File": "MBlazeInstPrinter", "Func": "printOperand", "Target": "MBlaze", "Target_Clf": "MPU", "Compiler_Type": "LLVM", "Idx": 136838, "Length": 58, "Cover_Rate": 0.48333333333333334} {"Template_token": ["", "if", "(", "MO", ".", "isImm", "(", ")", ")", "O", "<<", "(", "uint32_t", ")", "MO", ".", "getImm", "(", ")", ";", "else", "printOperand", "(", "MI", ",", "OpNo", ",", "O", ",", "NULL", ")", ";"], "ground_truth": ["}"], "File": "MBlazeInstPrinter", "Func": "printUnsignedImm", "Target": "MBlaze", "Target_Clf": "MPU", "Compiler_Type": "LLVM", "Idx": 136839, "Length": 32, "Cover_Rate": 0.5161290322580645} {"Template_token": ["", "unsigned", "InstrInfo", "::", "getGlobalBaseReg", "(", "MachineFunction", "*", "MF", ")", "const", "{", "FunctionInfo", "*", "FI", "=", "MF", "->", "getInfo", "<", "FunctionInfo", ">", "(", ")", ";", "unsigned", "GlobalBaseReg", "=", "FI", "->", "getGlobalBaseReg", "(", ")", ";", "if", "(", "GlobalBaseReg", "!=", "", ")", "return", "GlobalBaseReg", ";", "MachineBasicBlock", "&", "FirstMBB", "=", "MF", "->", "front", "(", ")", ";", "MachineBasicBlock", "::", "iterator", "MBBI", "=", "FirstMBB", ".", "begin", "(", ")", ";"], "ground_truth": ["MachineRegisterInfo", "&", "RegInfo", "=", "MF", "->", "getRegInfo", "(", ")", ";"], "File": "MBlazeInstrInfo10", "Func": "getGlobalBaseReg", "Target": "MBlaze", "Target_Clf": "MPU", "Compiler_Type": "LLVM", "Idx": 136840, "Length": 73, "Cover_Rate": 0.4899328859060403} {"Template_token": ["", "BuildMI", "(", "FirstMBB", ",", "MBBI", ",", "DebugLoc", "(", ")", ",", "TII", "->", "get", "(", "TargetOpcode", "::", "COPY", ")", ",", "GlobalBaseReg", ")", ".", "addReg", "(", "", ")", ";", "RegInfo", ".", "addLiveIn", "(", "", ")", ";", "FI", "->", "setGlobalBaseReg", "(", "GlobalBaseReg", ")", ";", "return", "GlobalBaseReg", ";"], "ground_truth": ["}"], "File": "MBlazeInstrInfo10", "Func": "getGlobalBaseReg", "Target": "MBlaze", "Target_Clf": "MPU", "Compiler_Type": "LLVM", "Idx": 136841, "Length": 45, "Cover_Rate": 0.30201342281879195} {"Template_token": ["", "InstrInfo", "::", "InstrInfo", "(", "TargetMachine", "&", "tm", ")", ":", "GenInstrInfo", "(", "", ",", "", ")", ",", "TM", "(", "tm", ")", ",", "RI", "(", "*", "TM", ".", "getSubtargetImpl", "(", ")", ")", "{"], "ground_truth": ["}"], "File": "MBlazeInstrInfo10", "Func": "MBlazeInstrInfo", "Target": "MBlaze", "Target_Clf": "MPU", "Compiler_Type": "LLVM", "Idx": 136842, "Length": 32, "Cover_Rate": 0.8888888888888888} {"Template_token": ["", "InstrInfo", "::", "InstrInfo", "(", "TargetMachine", "&", "tm", ")", ":", "GenInstrInfo", "(", "", ",", "", ")", ",", "TM", "(", "tm", ")", ",", "RI", "(", "*", "TM", ".", "getSubtargetImpl", "(", ")", ")", "{"], "ground_truth": ["}"], "File": "MBlazeInstrInfo10", "Func": "MBlazeInstrInfo", "Target": "MBlaze", "Target_Clf": "MPU", "Compiler_Type": "LLVM", "Idx": 136843, "Length": 32, "Cover_Rate": 0.8888888888888888} {"Template_token": ["", "MachineBasicBlock", "::", "iterator", "I", "=", "MBB", ".", "end", "(", ")", ";", "if", "(", "I", "==", "MBB", ".", "begin", "(", ")", ")", "return", "false", ";", "--", "I", ";", "while", "(", "I", "->", "isDebugValue", "(", ")", ")", "{", "if", "(", "I", "==", "MBB", ".", "begin", "(", ")", ")", "return", "false", ";", "--", "I", ";", "}", "if", "(", "!", "isUnpredicatedTerminator", "(", "I", ")", ")", "return", "false", ";", "MachineInstr", "*", "LastInst", "=", "I", ";", "unsigned", "LastOpc", "=", "LastInst", "->", "getOpcode", "(", ")", ";", "if", "(", "I", "==", "MBB", ".", "begin", "(", ")", "||", "!", "isUnpredicatedTerminator", "(", "--", "I", ")", ")", "{", "if", "(", "", "(", "LastOpc", ")", ")", "{", "TBB", "=", "LastInst", "->", "getOperand", "(", "", ")", ".", "getMBB", "(", ")", ";", "return", "false", ";", "}", "if", "(", "", "(", "LastOpc", ")", ")", "{", "TBB", "=", "LastInst", "->", "getOperand", "(", "", ")", ".", "getMBB", "(", ")", ";", "Cond", ".", "push_back", "(", "MachineOperand", "::", "CreateImm", "(", "LastInst", "->", "getOpcode", "(", ")", ")", ")", ";", "Cond", ".", "push_back", "(", "LastInst", "->", "getOperand", "(", "", ")", ")", ";", "return", "false", ";", "}", "return", "true", ";", "}", "MachineInstr", "*", "SecondLastInst", "=", "I", ";", "if", "(", "SecondLastInst", "&&", "I", "!=", "MBB", ".", "begin", "(", ")", "&&", "isUnpredicatedTerminator", "(", "--", "I", ")", ")", "return", "true", ";", "if", "(", "", "(", "SecondLastInst", "->", "getOpcode", "(", ")", ")", "&&", "", "(", "LastInst", "->", "getOpcode", "(", ")", ")", ")", "{", "TBB", "=", "SecondLastInst", "->", "getOperand", "(", "", ")", ".", "getMBB", "(", ")", ";", "Cond", ".", "push_back", "(", "MachineOperand", "::", "CreateImm", "(", "SecondLastInst", "->", "getOpcode", "(", ")", ")", ")", ";", "Cond", ".", "push_back", "(", "SecondLastInst", "->", "getOperand", "(", "", ")", ")", ";", "FBB", "=", "LastInst", "->", "getOperand", "(", "", ")", ".", "getMBB", "(", ")", ";", "return", "false", ";", "}", "if", "(", "", "(", "SecondLastInst", "->", "getOpcode", "(", ")", ")", "&&", "", "(", "LastInst", "->", "getOpcode", "(", ")", ")", ")", "{", "TBB", "=", "SecondLastInst", "->", "getOperand", "(", "", ")", ".", "getMBB", "(", ")", ";", "I", "=", "LastInst", ";", "if", "(", "AllowModify", ")", "I", "->", "eraseFromParent", "(", ")", ";"], "ground_truth": ["return", "false", ";"], "File": "MBlazeInstrInfo1", "Func": "AnalyzeBranch", "Target": "MBlaze", "Target_Clf": "MPU", "Compiler_Type": "LLVM", "Idx": 136844, "Length": 336, "Cover_Rate": 0.875} {"Template_token": ["", "return", "true", ";", "}", "MachineInstr", "*", "SecondLastInst", "=", "I", ";", "if", "(", "SecondLastInst", "&&", "I", "!=", "MBB", ".", "begin", "(", ")", "&&", "isUnpredicatedTerminator", "(", "--", "I", ")", ")", "return", "true", ";", "if", "(", "", "(", "SecondLastInst", "->", "getOpcode", "(", ")", ")", "&&", "", "(", "LastInst", "->", "getOpcode", "(", ")", ")", ")", "{", "TBB", "=", "SecondLastInst", "->", "getOperand", "(", "", ")", ".", "getMBB", "(", ")", ";", "Cond", ".", "push_back", "(", "MachineOperand", "::", "CreateImm", "(", "SecondLastInst", "->", "getOpcode", "(", ")", ")", ")", ";", "Cond", ".", "push_back", "(", "SecondLastInst", "->", "getOperand", "(", "", ")", ")", ";", "FBB", "=", "LastInst", "->", "getOperand", "(", "", ")", ".", "getMBB", "(", ")", ";", "return", "false", ";", "}", "if", "(", "", "(", "SecondLastInst", "->", "getOpcode", "(", ")", ")", "&&", "", "(", "LastInst", "->", "getOpcode", "(", ")", ")", ")", "{", "TBB", "=", "SecondLastInst", "->", "getOperand", "(", "", ")", ".", "getMBB", "(", ")", ";", "I", "=", "LastInst", ";", "if", "(", "AllowModify", ")", "I", "->", "eraseFromParent", "(", ")", ";", "return", "false", ";"], "ground_truth": ["}"], "File": "MBlazeInstrInfo1", "Func": "AnalyzeBranch", "Target": "MBlaze", "Target_Clf": "MPU", "Compiler_Type": "LLVM", "Idx": 136845, "Length": 162, "Cover_Rate": 0.421875} {"Template_token": ["", "llvm", "::", "BuildMI", "(", "MBB", ",", "I", ",", "DL", ",", "get", "(", "", ")", ",", "DestReg", ")", ".", "addReg", "(", "SrcReg", ",", "getKillRegState", "(", "KillSrc", ")", ")", ".", "addReg", "(", "", ")", ";"], "ground_truth": ["}"], "File": "MBlazeInstrInfo1", "Func": "copyPhysReg", "Target": "MBlaze", "Target_Clf": "MPU", "Compiler_Type": "LLVM", "Idx": 136846, "Length": 34, "Cover_Rate": 0.5151515151515151} {"Template_token": ["", "copyPhysReg", "(", "MachineBasicBlock", "&", "MBB", ",", "MachineBasicBlock", "::", "iterator", "I", ",", "DebugLoc", "DL", ",", "unsigned", "DestReg", ",", "unsigned", "SrcReg", ",", "bool", "KillSrc", ")", "const", "{", "llvm", "::", "BuildMI", "(", "MBB", ",", "I", ",", "DL", ",", "get", "(", "", ")", ",", "DestReg", ")", ".", "addReg", "(", "SrcReg", ",", "getKillRegState", "(", "KillSrc", ")", ")", ".", "addReg", "(", "", ")", ";"], "ground_truth": ["}"], "File": "MBlazeInstrInfo1", "Func": "copyPhysReg", "Target": "MBlaze", "Target_Clf": "MPU", "Compiler_Type": "LLVM", "Idx": 136847, "Length": 59, "Cover_Rate": 0.8939393939393939} {"Template_token": ["", "switch", "(", "CC", ")", "{", "default", ":", "llvm_unreachable", "(", "", ")", ";", "case", "COND_EQ", ":", "return", "", ";", "case", "COND_NE", ":", "return", "", ";", "case", "COND_GT", ":", "return", "", ";", "case", "COND_GE", ":", "return", "", ";"], "ground_truth": ["case", "COND_LT", ":", "return", "", ";"], "File": "MBlazeInstrInfo1", "Func": "GetCondBranchFromCond", "Target": "MBlaze", "Target_Clf": "MPU", "Compiler_Type": "LLVM", "Idx": 136848, "Length": 42, "Cover_Rate": 0.5915492957746479} {"Template_token": ["", "switch", "(", "CC", ")", "{", "default", ":", "llvm_unreachable", "(", "", ")", ";", "case", "COND_EQ", ":", "return", "", ";", "case", "COND_NE", ":", "return", "", ";", "case", "COND_GT", ":", "return", "", ";", "case", "COND_GE", ":", "return", "", ";", "case", "COND_LT", ":", "return", "", ";", "case", "COND_LE", ":", "return", "", ";", "}"], "ground_truth": ["}"], "File": "MBlazeInstrInfo1", "Func": "GetCondBranchFromCond", "Target": "MBlaze", "Target_Clf": "MPU", "Compiler_Type": "LLVM", "Idx": 136849, "Length": 50, "Cover_Rate": 0.704225352112676} {"Template_token": ["", "MachineBasicBlock", "::", "iterator", "MBBI", "=", "FirstMBB", ".", "begin", "(", ")", ";", "MachineRegisterInfo", "&", "RegInfo", "=", "MF", "->", "getRegInfo", "(", ")", ";", "const", "TargetInstrInfo", "*", "TII", "=", "MF", "->", "getTarget", "(", ")", ".", "getInstrInfo", "(", ")", ";", "GlobalBaseReg", "=", "RegInfo", ".", "createVirtualRegister", "(", "", ")", ";", "BuildMI", "(", "FirstMBB", ",", "MBBI", ",", "DebugLoc", "(", ")", ",", "TII", "->", "get", "(", "TargetOpcode", "::", "COPY", ")", ",", "GlobalBaseReg", ")", ".", "addReg", "(", "", ")", ";", "RegInfo", ".", "addLiveIn", "(", "", ")", ";", "FI", "->", "setGlobalBaseReg", "(", "GlobalBaseReg", ")", ";"], "ground_truth": ["return", "GlobalBaseReg", ";"], "File": "MBlazeInstrInfo1", "Func": "getGlobalBaseReg", "Target": "MBlaze", "Target_Clf": "MPU", "Compiler_Type": "LLVM", "Idx": 136850, "Length": 89, "Cover_Rate": 0.6013513513513513} {"Template_token": ["", "InsertBranch", "(", "MachineBasicBlock", "&", "MBB", ",", "MachineBasicBlock", "*", "TBB", ",", "MachineBasicBlock", "*", "FBB", ",", "const", "SmallVectorImpl", "<", "MachineOperand", ">", "&", "Cond", ",", "DebugLoc", "DL", ")", "const", "{", "assert", "(", "TBB", "&&", "", ")", ";", "assert", "(", "(", "Cond", ".", "size", "(", ")", "==", "", "||", "Cond", ".", "size", "(", ")", "==", "", ")", "&&", "", ")", ";", "unsigned", "Opc", "=", "", ";", "if", "(", "!", "Cond", ".", "empty", "(", ")", ")", "Opc", "=", "(", "unsigned", ")", "Cond", "[", "", "]", ".", "getImm", "(", ")", ";", "if", "(", "FBB", "==", "", ")", "{", "if", "(", "Cond", ".", "empty", "(", ")", ")", "BuildMI", "(", "&", "MBB", ",", "DL", ",", "get", "(", "Opc", ")", ")", ".", "addMBB", "(", "TBB", ")", ";", "else", "BuildMI", "(", "&", "MBB", ",", "DL", ",", "get", "(", "Opc", ")", ")", ".", "addReg", "(", "Cond", "[", "", "]", ".", "getReg", "(", ")", ")", ".", "addMBB", "(", "TBB", ")", ";", "return", "", ";"], "ground_truth": ["}"], "File": "MBlazeInstrInfo1", "Func": "InsertBranch", "Target": "MBlaze", "Target_Clf": "MPU", "Compiler_Type": "LLVM", "Idx": 136851, "Length": 153, "Cover_Rate": 0.7216981132075472} {"Template_token": ["", "if", "(", "!", "Cond", ".", "empty", "(", ")", ")", "Opc", "=", "(", "unsigned", ")", "Cond", "[", "", "]", ".", "getImm", "(", ")", ";", "if", "(", "FBB", "==", "", ")", "{", "if", "(", "Cond", ".", "empty", "(", ")", ")", "BuildMI", "(", "&", "MBB", ",", "DL", ",", "get", "(", "Opc", ")", ")", ".", "addMBB", "(", "TBB", ")", ";", "else", "BuildMI", "(", "&", "MBB", ",", "DL", ",", "get", "(", "Opc", ")", ")", ".", "addReg", "(", "Cond", "[", "", "]", ".", "getReg", "(", ")", ")", ".", "addMBB", "(", "TBB", ")", ";", "return", "", ";"], "ground_truth": ["}"], "File": "MBlazeInstrInfo1", "Func": "InsertBranch", "Target": "MBlaze", "Target_Clf": "MPU", "Compiler_Type": "LLVM", "Idx": 136852, "Length": 91, "Cover_Rate": 0.42924528301886794} {"Template_token": ["", "insertNoop", "(", "MachineBasicBlock", "&", "MBB", ",", "MachineBasicBlock", "::", "iterator", "MI", ")", "const", "{", "DebugLoc", "DL", ";"], "ground_truth": ["BuildMI", "(", "MBB", ",", "MI", ",", "DL", ",", "get", "(", "", ")", ")", ";"], "File": "MBlazeInstrInfo1", "Func": "insertNoop", "Target": "MBlaze", "Target_Clf": "MPU", "Compiler_Type": "LLVM", "Idx": 136853, "Length": 30, "Cover_Rate": 0.8333333333333334} {"Template_token": ["", "if", "(", "(", "MI", "->", "getOperand", "(", "", ")", ".", "isFI", "(", ")", ")", "&&", "(", "MI", "->", "getOperand", "(", "", ")", ".", "isImm", "(", ")", ")", "&&", "(", "isZeroImm", "(", "MI", "->", "getOperand", "(", "", ")", ")", ")", ")", "{", "FrameIndex", "=", "MI", "->", "getOperand", "(", "", ")", ".", "getIndex", "(", ")", ";"], "ground_truth": ["return", "MI", "->", "getOperand", "(", "", ")", ".", "getReg", "(", ")", ";"], "File": "MBlazeInstrInfo1", "Func": "isLoadFromStackSlot", "Target": "MBlaze", "Target_Clf": "MPU", "Compiler_Type": "LLVM", "Idx": 136854, "Length": 66, "Cover_Rate": 0.6534653465346535} {"Template_token": ["", "isStoreToStackSlot", "(", "const", "MachineInstr", "*", "MI", ",", "int", "&", "FrameIndex", ")", "const", "{", "if", "(", "MI", "->", "getOpcode", "(", ")", "==", "", ")", "{", "if", "(", "(", "MI", "->", "getOperand", "(", "", ")", ".", "isFI", "(", ")", ")", "&&", "(", "MI", "->", "getOperand", "(", "", ")", ".", "isImm", "(", ")", ")", "&&", "(", "isZeroImm", "(", "MI", "->", "getOperand", "(", "", ")", ")", ")", ")", "{", "FrameIndex", "=", "MI", "->", "getOperand", "(", "", ")", ".", "getIndex", "(", ")", ";", "return", "MI", "->", "getOperand", "(", "", ")", ".", "getReg", "(", ")", ";", "}", "}"], "ground_truth": ["return", "", ";"], "File": "MBlazeInstrInfo1", "Func": "isStoreToStackSlot", "Target": "MBlaze", "Target_Clf": "MPU", "Compiler_Type": "LLVM", "Idx": 136855, "Length": 95, "Cover_Rate": 0.9405940594059405} {"Template_token": ["", "void", "InstrInfo", "::"], "ground_truth": ["loadRegFromStackSlot", "(", "MachineBasicBlock", "&", "MBB", ",", "MachineBasicBlock", "::", "iterator", "I", ",", "unsigned", "DestReg", ",", "int", "FI", ",", "const", "TargetRegisterClass", "*", "RC", ",", "const", "TargetRegisterInfo", "*", "TRI", ")", "const", "{"], "File": "MBlazeInstrInfo1", "Func": "loadRegFromStackSlot", "Target": "MBlaze", "Target_Clf": "MPU", "Compiler_Type": "LLVM", "Idx": 136856, "Length": 32, "Cover_Rate": 0.5} {"Template_token": ["", "MachineBasicBlock", "::", "iterator", "I", "=", "MBB", ".", "end", "(", ")", ";", "if", "(", "I", "==", "MBB", ".", "begin", "(", ")", ")", "return", "", ";", "--", "I", ";", "while", "(", "I", "->", "isDebugValue", "(", ")", ")", "{", "if", "(", "I", "==", "MBB", ".", "begin", "(", ")", ")", "return", "", ";", "--", "I", ";", "}", "if", "(", "!", "", "(", "I", "->", "getOpcode", "(", ")", ")", "&&", "!", "", "(", "I", "->", "getOpcode", "(", ")", ")", ")", "return", "", ";", "I", "->", "eraseFromParent", "(", ")", ";"], "ground_truth": ["I", "=", "MBB", ".", "end", "(", ")", ";"], "File": "MBlazeInstrInfo1", "Func": "RemoveBranch", "Target": "MBlaze", "Target_Clf": "MPU", "Compiler_Type": "LLVM", "Idx": 136857, "Length": 92, "Cover_Rate": 0.6133333333333333} {"Template_token": ["", "}", "if", "(", "!", "", "(", "I", "->", "getOpcode", "(", ")", ")", "&&", "!", "", "(", "I", "->", "getOpcode", "(", ")", ")", ")", "return", "", ";", "I", "->", "eraseFromParent", "(", ")", ";", "I", "=", "MBB", ".", "end", "(", ")", ";", "if", "(", "I", "==", "MBB", ".", "begin", "(", ")", ")", "return", "", ";", "--", "I", ";", "if", "(", "!", "", "(", "I", "->", "getOpcode", "(", ")", ")", ")", "return", "", ";"], "ground_truth": ["I", "->", "eraseFromParent", "(", ")", ";"], "File": "MBlazeInstrInfo1", "Func": "RemoveBranch", "Target": "MBlaze", "Target_Clf": "MPU", "Compiler_Type": "LLVM", "Idx": 136858, "Length": 77, "Cover_Rate": 0.5133333333333333} {"Template_token": ["", "case", "", ":", "Cond", "[", "", "]", ".", "setImm", "(", "", ")", ";", "return", "false", ";", "case", "", ":", "Cond", "[", "", "]", ".", "setImm", "(", "", ")", ";", "return", "false", ";", "case", "", ":", "Cond", "[", "", "]", ".", "setImm", "(", "", ")", ";", "return", "false", ";", "case", "", ":", "Cond", "[", "", "]", ".", "setImm", "(", "", ")", ";", "return", "false", ";", "case", "", ":", "Cond", "[", "", "]", ".", "setImm", "(", "", ")", ";", "return", "false", ";", "case", "", ":", "Cond", "[", "", "]", ".", "setImm", "(", "", ")", ";", "return", "false", ";", "case", "", ":", "Cond", "[", "", "]", ".", "setImm", "(", "", ")", ";", "return", "false", ";", "case", "", ":", "Cond", "[", "", "]", ".", "setImm", "(", "", ")", ";", "return", "false", ";", "case", "", ":", "Cond", "[", "", "]", ".", "setImm", "(", "", ")", ";", "return", "false", ";", "case", "", ":", "Cond", "[", "", "]", ".", "setImm", "(", "", ")", ";", "return", "false", ";", "case", "", ":", "Cond", "[", "", "]", ".", "setImm", "(", "", ")", ";", "return", "false", ";", "case", "", ":", "Cond", "[", "", "]", ".", "setImm", "(", "", ")", ";", "return", "false", ";", "case", "", ":", "Cond", "[", "", "]", ".", "setImm", "(", "", ")", ";", "return", "false", ";", "case", "", ":", "Cond", "[", "", "]", ".", "setImm", "(", "", ")", ";", "return", "false", ";", "case", "", ":", "Cond", "[", "", "]", ".", "setImm", "(", "", ")", ";", "return", "false", ";", "case", "", ":", "Cond", "[", "", "]", ".", "setImm", "(", "", ")", ";", "return", "false", ";", "case", "", ":", "Cond", "[", "", "]", ".", "setImm", "(", "", ")", ";", "return", "false", ";", "case", "", ":", "Cond", "[", "", "]", ".", "setImm", "(", "", ")", ";", "return", "false", ";", "case", "", ":", "Cond", "[", "", "]", ".", "setImm", "(", "", ")", ";", "return", "false", ";"], "ground_truth": ["}"], "File": "MBlazeInstrInfo1", "Func": "ReverseBranchCondition", "Target": "MBlaze", "Target_Clf": "MPU", "Compiler_Type": "LLVM", "Idx": 136859, "Length": 305, "Cover_Rate": 0.5798479087452472} {"Template_token": ["", "BuildMI", "(", "MBB", ",", "I", ",", "DL", ",", "get", "(", "", ")", ")", ".", "addReg", "(", "SrcReg", ",", "getKillRegState", "(", "isKill", ")", ")", ".", "addFrameIndex", "(", "FI", ")", ".", "addImm", "(", "", ")", ";"], "ground_truth": ["}"], "File": "MBlazeInstrInfo1", "Func": "storeRegToStackSlot", "Target": "MBlaze", "Target_Clf": "MPU", "Compiler_Type": "LLVM", "Idx": 136860, "Length": 35, "Cover_Rate": 0.4666666666666667} {"Template_token": ["", "llvm", "::", "BuildMI", "(", "MBB", ",", "I", ",", "DL", ",", "get", "(", "", ")", ",", "DestReg", ")", ".", "addReg", "(", "SrcReg", ",", "getKillRegState", "(", "KillSrc", ")", ")", ".", "addReg", "(", "", ")", ";"], "ground_truth": ["}"], "File": "MBlazeInstrInfo2", "Func": "copyPhysReg", "Target": "MBlaze", "Target_Clf": "MPU", "Compiler_Type": "LLVM", "Idx": 136862, "Length": 34, "Cover_Rate": 0.5151515151515151} {"Template_token": ["", "const", "TargetInstrInfo", "*", "TII", "=", "MF", "->", "getTarget", "(", ")", ".", "getInstrInfo", "(", ")", ";", "GlobalBaseReg", "=", "RegInfo", ".", "createVirtualRegister", "(", "", ")", ";", "BuildMI", "(", "FirstMBB", ",", "MBBI", ",", "DebugLoc", "(", ")", ",", "TII", "->", "get", "(", "TargetOpcode", "::", "COPY", ")", ",", "GlobalBaseReg", ")", ".", "addReg", "(", "", ")", ";", "RegInfo", ".", "addLiveIn", "(", "", ")", ";", "FI", "->", "setGlobalBaseReg", "(", "GlobalBaseReg", ")", ";", "return", "GlobalBaseReg", ";"], "ground_truth": ["}"], "File": "MBlazeInstrInfo2", "Func": "getGlobalBaseReg", "Target": "MBlaze", "Target_Clf": "MPU", "Compiler_Type": "LLVM", "Idx": 136864, "Length": 69, "Cover_Rate": 0.46621621621621623} {"Template_token": ["", "assert", "(", "Cond", ".", "empty", "(", ")", "&&", "!", "FBB", "&&", "TBB", "&&", "", ")", ";"], "ground_truth": ["BuildMI", "(", "&", "MBB", ",", "DL", ",", "get", "(", "", ")", ")", ".", "addMBB", "(", "TBB", ")", ";"], "File": "MBlazeInstrInfo2", "Func": "InsertBranch", "Target": "MBlaze", "Target_Clf": "MPU", "Compiler_Type": "LLVM", "Idx": 136866, "Length": 34, "Cover_Rate": 0.4857142857142857} {"Template_token": ["", "loadRegFromStackSlot", "(", "MachineBasicBlock", "&", "MBB", ",", "MachineBasicBlock", "::", "iterator", "I", ",", "unsigned", "DestReg", ",", "int", "FI", ",", "const", "TargetRegisterClass", "*", "RC", ",", "const", "TargetRegisterInfo", "*", "TRI", ")", "const", "{", "DebugLoc", "DL", ";", "BuildMI", "(", "MBB", ",", "I", ",", "DL", ",", "get", "(", "", ")", ",", "DestReg", ")", ".", "addImm", "(", "", ")", ".", "addFrameIndex", "(", "FI", ")", ";"], "ground_truth": ["}"], "File": "MBlazeInstrInfo2", "Func": "loadRegFromStackSlot", "Target": "MBlaze", "Target_Clf": "MPU", "Compiler_Type": "LLVM", "Idx": 136867, "Length": 59, "Cover_Rate": 0.921875} {"Template_token": ["", "BuildMI", "(", "MBB", ",", "I", ",", "DL", ",", "get", "(", "", ")", ",", "DestReg", ")", ".", "addImm", "(", "", ")", ".", "addFrameIndex", "(", "FI", ")", ";"], "ground_truth": ["}"], "File": "MBlazeInstrInfo2", "Func": "loadRegFromStackSlot", "Target": "MBlaze", "Target_Clf": "MPU", "Compiler_Type": "LLVM", "Idx": 136868, "Length": 27, "Cover_Rate": 0.421875} {"Template_token": ["", "void", "InstrInfo", "::"], "ground_truth": ["storeRegToStackSlot", "(", "MachineBasicBlock", "&", "MBB", ",", "MachineBasicBlock", "::", "iterator", "I", ",", "unsigned", "SrcReg", ",", "bool", "isKill", ",", "int", "FI", ",", "const", "TargetRegisterClass", "*", "RC", ",", "const", "TargetRegisterInfo", "*", "TRI", ")", "const", "{"], "File": "MBlazeInstrInfo2", "Func": "storeRegToStackSlot", "Target": "MBlaze", "Target_Clf": "MPU", "Compiler_Type": "LLVM", "Idx": 136869, "Length": 35, "Cover_Rate": 0.4666666666666667} {"Template_token": ["", "storeRegToStackSlot", "(", "MachineBasicBlock", "&", "MBB", ",", "MachineBasicBlock", "::", "iterator", "I", ",", "unsigned", "SrcReg", ",", "bool", "isKill", ",", "int", "FI", ",", "const", "TargetRegisterClass", "*", "RC", ",", "const", "TargetRegisterInfo", "*", "TRI", ")", "const", "{", "DebugLoc", "DL", ";"], "ground_truth": ["BuildMI", "(", "MBB", ",", "I", ",", "DL", ",", "get", "(", "", ")", ")", ".", "addReg", "(", "SrcReg", ",", "getKillRegState", "(", "isKill", ")", ")", ".", "addImm", "(", "", ")", ".", "addFrameIndex", "(", "FI", ")", ";"], "File": "MBlazeInstrInfo2", "Func": "storeRegToStackSlot", "Target": "MBlaze", "Target_Clf": "MPU", "Compiler_Type": "LLVM", "Idx": 136870, "Length": 69, "Cover_Rate": 0.92} {"Template_token": ["", "virtual", "MachineInstr", "*", "foldMemoryOperandImpl", "(", "MachineFunction", "&", "MF", ",", "MachineInstr", "*", "MI", ",", "const", "SmallVectorImpl", "<", "unsigned", ">", "&", "Ops", ",", "MachineInstr", "*", "LoadMI", ")", "const", "{", "return", "", ";"], "ground_truth": ["}"], "File": "MBlazeInstrInfo3", "Func": "foldMemoryOperandImpl", "Target": "MBlaze", "Target_Clf": "MPU", "Compiler_Type": "LLVM", "Idx": 136871, "Length": 31, "Cover_Rate": 1.0} {"Template_token": ["", "InstrInfo", "::", "InstrInfo", "(", "TargetMachine", "&", "tm", ")", ":", "GenInstrInfo", "(", "", ",", "", ")", ",", "TM", "(", "tm", ")", ",", "RI", "(", "*", "TM", ".", "getSubtargetImpl", "(", ")", ",", "*", "this", ")", "{"], "ground_truth": ["}"], "File": "MBlazeInstrInfo3", "Func": "MBlazeInstrInfo", "Target": "MBlaze", "Target_Clf": "MPU", "Compiler_Type": "LLVM", "Idx": 136873, "Length": 35, "Cover_Rate": 0.8974358974358975} {"Template_token": ["", "InstrInfo", "::", "InstrInfo", "(", "TargetMachine", "&", "tm", ")", ":", "GenInstrInfo", "(", "", ",", "", ")", ",", "TM", "(", "tm", ")", ",", "RI", "(", "*", "TM", ".", "getSubtargetImpl", "(", ")", ",", "*", "this", ")", "{"], "ground_truth": ["}"], "File": "MBlazeInstrInfo3", "Func": "MBlazeInstrInfo", "Target": "MBlaze", "Target_Clf": "MPU", "Compiler_Type": "LLVM", "Idx": 136874, "Length": 35, "Cover_Rate": 0.8974358974358975} {"Template_token": ["", "copyRegToReg", "(", "MachineBasicBlock", "&", "MBB", ",", "MachineBasicBlock", "::", "iterator", "I", ",", "unsigned", "DestReg", ",", "unsigned", "SrcReg", ",", "const", "TargetRegisterClass", "*", "DestRC", ",", "const", "TargetRegisterClass", "*", "SrcRC", ")", "const", "{", "DebugLoc", "dl", "=", "DebugLoc", "::", "getUnknownLoc", "(", ")", ";", "llvm", "::", "BuildMI", "(", "MBB", ",", "I", ",", "dl", ",", "get", "(", "", ")", ",", "DestReg", ")", ".", "addReg", "(", "SrcReg", ")", ".", "addReg", "(", "", ")", ";"], "ground_truth": ["return", "true", ";"], "File": "MBlazeInstrInfo5", "Func": "copyRegToReg", "Target": "MBlaze", "Target_Clf": "MPU", "Compiler_Type": "LLVM", "Idx": 136876, "Length": 69, "Cover_Rate": 0.8961038961038961} {"Template_token": ["", "DebugLoc", "dl", "=", "DebugLoc", "::", "getUnknownLoc", "(", ")", ";"], "ground_truth": ["assert", "(", "Cond", ".", "empty", "(", ")", "&&", "!", "FBB", "&&", "TBB", "&&", "", ")", ";"], "File": "MBlazeInstrInfo5", "Func": "InsertBranch", "Target": "MBlaze", "Target_Clf": "MPU", "Compiler_Type": "LLVM", "Idx": 136877, "Length": 25, "Cover_Rate": 0.32894736842105265} {"Template_token": ["", "DebugLoc", "dl", "=", "DebugLoc", "::", "getUnknownLoc", "(", ")", ";", "assert", "(", "Cond", ".", "empty", "(", ")", "&&", "!", "FBB", "&&", "TBB", "&&", "", ")", ";", "BuildMI", "(", "&", "MBB", ",", "dl", ",", "get", "(", "", ")", ")", ".", "addMBB", "(", "TBB", ")", ";", "return", "", ";"], "ground_truth": ["}"], "File": "MBlazeInstrInfo5", "Func": "InsertBranch", "Target": "MBlaze", "Target_Clf": "MPU", "Compiler_Type": "LLVM", "Idx": 136878, "Length": 47, "Cover_Rate": 0.618421052631579} {"Template_token": ["", "if", "(", "MI", "!=", "MBB", ".", "end", "(", ")", ")", "DL", "=", "MI", "->", "getDebugLoc", "(", ")", ";", "BuildMI", "(", "MBB", ",", "MI", ",", "DL", ",", "get", "(", "", ")", ")", ";"], "ground_truth": ["}"], "File": "MBlazeInstrInfo5", "Func": "insertNoop", "Target": "MBlaze", "Target_Clf": "MPU", "Compiler_Type": "LLVM", "Idx": 136879, "Length": 33, "Cover_Rate": 0.55} {"Template_token": ["", "if", "(", "MI", "!=", "MBB", ".", "end", "(", ")", ")", "DL", "=", "MI", "->", "getDebugLoc", "(", ")", ";"], "ground_truth": ["BuildMI", "(", "MBB", ",", "MI", ",", "DL", ",", "get", "(", "", ")", ")", ";"], "File": "MBlazeInstrInfo5", "Func": "insertNoop", "Target": "MBlaze", "Target_Clf": "MPU", "Compiler_Type": "LLVM", "Idx": 136880, "Length": 32, "Cover_Rate": 0.5333333333333333} {"Template_token": ["", "loadRegFromStackSlot", "(", "MachineBasicBlock", "&", "MBB", ",", "MachineBasicBlock", "::", "iterator", "I", ",", "unsigned", "DestReg", ",", "int", "FI", ",", "const", "TargetRegisterClass", "*", "RC", ")", "const", "{", "DebugLoc", "dl", "=", "DebugLoc", "::", "getUnknownLoc", "(", ")", ";", "BuildMI", "(", "MBB", ",", "I", ",", "dl", ",", "get", "(", "", ")", ",", "DestReg", ")", ".", "addImm", "(", "", ")", ".", "addFrameIndex", "(", "FI", ")", ";"], "ground_truth": ["}"], "File": "MBlazeInstrInfo5", "Func": "loadRegFromStackSlot", "Target": "MBlaze", "Target_Clf": "MPU", "Compiler_Type": "LLVM", "Idx": 136881, "Length": 60, "Cover_Rate": 0.9230769230769231} {"Template_token": ["", "bool", "InstrInfo", "::"], "ground_truth": ["copyRegToReg", "(", "MachineBasicBlock", "&", "MBB", ",", "MachineBasicBlock", "::", "iterator", "I", ",", "unsigned", "DestReg", ",", "unsigned", "SrcReg", ",", "const", "TargetRegisterClass", "*", "DestRC", ",", "const", "TargetRegisterClass", "*", "SrcRC", ")", "const", "{"], "File": "MBlazeInstrInfo", "Func": "copyRegToReg", "Target": "MBlaze", "Target_Clf": "MPU", "Compiler_Type": "LLVM", "Idx": 136885, "Length": 32, "Cover_Rate": 0.4507042253521127} {"Template_token": ["", "DebugLoc", "DL", ";", "llvm", "::", "BuildMI", "(", "MBB", ",", "I", ",", "DL", ",", "get", "(", "", ")", ",", "DestReg", ")", ".", "addReg", "(", "SrcReg", ")", ".", "addReg", "(", "", ")", ";"], "ground_truth": ["return", "true", ";"], "File": "MBlazeInstrInfo", "Func": "copyRegToReg", "Target": "MBlaze", "Target_Clf": "MPU", "Compiler_Type": "LLVM", "Idx": 136886, "Length": 34, "Cover_Rate": 0.4788732394366197} {"Template_token": ["", "bool", "isUndef", "=", "MI", "->", "getOperand", "(", "", ")", ".", "isUndef", "(", ")", ";", "NewMI", "=", "BuildMI", "(", "MF", ",", "MI", "->", "getDebugLoc", "(", ")", ",", "get", "(", "", ")", ")", ".", "addReg", "(", "SrcReg", ",", "getKillRegState", "(", "isKill", ")", "|", "getUndefRegState", "(", "isUndef", ")", ")", ".", "addImm", "(", "", ")", ".", "addFrameIndex", "(", "FI", ")", ";", "}", "else", "{", "unsigned", "DstReg", "=", "MI", "->", "getOperand", "(", "", ")", ".", "getReg", "(", ")", ";", "bool", "isDead", "=", "MI", "->", "getOperand", "(", "", ")", ".", "isDead", "(", ")", ";", "bool", "isUndef", "=", "MI", "->", "getOperand", "(", "", ")", ".", "isUndef", "(", ")", ";", "NewMI", "=", "BuildMI", "(", "MF", ",", "MI", "->", "getDebugLoc", "(", ")", ",", "get", "(", "", ")", ")", ".", "addReg", "(", "DstReg", ",", "RegState", "::", "Define", "|", "getDeadRegState", "(", "isDead", ")", "|", "getUndefRegState", "(", "isUndef", ")", ")", ".", "addImm", "(", "", ")", ".", "addFrameIndex", "(", "FI", ")", ";", "}", "}", "break", ";"], "ground_truth": ["}"], "File": "MBlazeInstrInfo", "Func": "foldMemoryOperandImpl", "Target": "MBlaze", "Target_Clf": "MPU", "Compiler_Type": "LLVM", "Idx": 136887, "Length": 154, "Cover_Rate": 0.47530864197530864} {"Template_token": ["", "case", "", ":", "if", "(", "(", "MI", "->", "getOperand", "(", "", ")", ".", "isReg", "(", ")", ")", "&&", "(", "MI", "->", "getOperand", "(", "", ")", ".", "isReg", "(", ")", ")", "&&", "(", "MI", "->", "getOperand", "(", "", ")", ".", "getReg", "(", ")", "==", "", ")", "&&", "(", "MI", "->", "getOperand", "(", "", ")", ".", "isReg", "(", ")", ")", ")", "{", "if", "(", "Ops", "[", "", "]", "==", "", ")", "{", "unsigned", "SrcReg", "=", "MI", "->", "getOperand", "(", "", ")", ".", "getReg", "(", ")", ";", "bool", "isKill", "=", "MI", "->", "getOperand", "(", "", ")", ".", "isKill", "(", ")", ";", "bool", "isUndef", "=", "MI", "->", "getOperand", "(", "", ")", ".", "isUndef", "(", ")", ";", "NewMI", "=", "BuildMI", "(", "MF", ",", "MI", "->", "getDebugLoc", "(", ")", ",", "get", "(", "", ")", ")", ".", "addReg", "(", "SrcReg", ",", "getKillRegState", "(", "isKill", ")", "|", "getUndefRegState", "(", "isUndef", ")", ")", ".", "addImm", "(", "", ")", ".", "addFrameIndex", "(", "FI", ")", ";", "}", "else", "{", "unsigned", "DstReg", "=", "MI", "->", "getOperand", "(", "", ")", ".", "getReg", "(", ")", ";", "bool", "isDead", "=", "MI", "->", "getOperand", "(", "", ")", ".", "isDead", "(", ")", ";", "bool", "isUndef", "=", "MI", "->", "getOperand", "(", "", ")", ".", "isUndef", "(", ")", ";", "NewMI", "=", "BuildMI", "(", "MF", ",", "MI", "->", "getDebugLoc", "(", ")", ",", "get", "(", "", ")", ")", ".", "addReg", "(", "DstReg", ",", "RegState", "::", "Define", "|", "getDeadRegState", "(", "isDead", ")", "|", "getUndefRegState", "(", "isUndef", ")", ")", ".", "addImm", "(", "", ")", ".", "addFrameIndex", "(", "FI", ")", ";", "}", "}", "break", ";", "}"], "ground_truth": ["return", "NewMI", ";"], "File": "MBlazeInstrInfo", "Func": "foldMemoryOperandImpl", "Target": "MBlaze", "Target_Clf": "MPU", "Compiler_Type": "LLVM", "Idx": 136888, "Length": 255, "Cover_Rate": 0.7870370370370371} {"Template_token": ["", "MachineRegisterInfo", "&", "RegInfo", "=", "MF", "->", "getRegInfo", "(", ")", ";", "const", "TargetInstrInfo", "*", "TII", "=", "MF", "->", "getTarget", "(", ")", ".", "getInstrInfo", "(", ")", ";", "GlobalBaseReg", "=", "RegInfo", ".", "createVirtualRegister", "(", "", ")", ";"], "ground_truth": ["bool", "Ok", "=", "TII", "->", "copyRegToReg", "(", "FirstMBB", ",", "MBBI", ",", "GlobalBaseReg", ",", "", ",", "", ",", "", ")", ";"], "File": "MBlazeInstrInfo", "Func": "getGlobalBaseReg", "Target": "MBlaze", "Target_Clf": "MPU", "Compiler_Type": "LLVM", "Idx": 136889, "Length": 54, "Cover_Rate": 0.34615384615384615} {"Template_token": ["", "return", "RI", ";"], "ground_truth": ["}"], "File": "MBlazeInstrInfo", "Func": "getRegisterInfo", "Target": "MBlaze", "Target_Clf": "MPU", "Compiler_Type": "LLVM", "Idx": 136890, "Length": 4, "Cover_Rate": 0.3076923076923077} {"Template_token": ["", "virtual", "const", "RegisterInfo", "&", "getRegisterInfo", "(", ")", "const", "{", "return", "RI", ";"], "ground_truth": ["}"], "File": "MBlazeInstrInfo", "Func": "getRegisterInfo", "Target": "MBlaze", "Target_Clf": "MPU", "Compiler_Type": "LLVM", "Idx": 136891, "Length": 13, "Cover_Rate": 1.0} {"Template_token": ["", "unsigned", "InstrInfo", "::", "InsertBranch", "(", "MachineBasicBlock", "&", "MBB", ",", "MachineBasicBlock", "*", "TBB", ",", "MachineBasicBlock", "*", "FBB", ",", "const", "SmallVectorImpl", "<", "MachineOperand", ">", "&", "Cond", ")", "const", "{", "assert", "(", "Cond", ".", "empty", "(", ")", "&&", "!", "FBB", "&&", "TBB", "&&", "", ")", ";"], "ground_truth": ["BuildMI", "(", "&", "MBB", ",", "DebugLoc", "(", ")", ",", "get", "(", "", ")", ")", ".", "addMBB", "(", "TBB", ")", ";"], "File": "MBlazeInstrInfo", "Func": "InsertBranch", "Target": "MBlaze", "Target_Clf": "MPU", "Compiler_Type": "LLVM", "Idx": 136892, "Length": 63, "Cover_Rate": 0.9130434782608695} {"Template_token": ["", "InsertBranch", "(", "MachineBasicBlock", "&", "MBB", ",", "MachineBasicBlock", "*", "TBB", ",", "MachineBasicBlock", "*", "FBB", ",", "const", "SmallVectorImpl", "<", "MachineOperand", ">", "&", "Cond", ")", "const", "{", "assert", "(", "Cond", ".", "empty", "(", ")", "&&", "!", "FBB", "&&", "TBB", "&&", "", ")", ";", "BuildMI", "(", "&", "MBB", ",", "DebugLoc", "(", ")", ",", "get", "(", "", ")", ")", ".", "addMBB", "(", "TBB", ")", ";"], "ground_truth": ["return", "", ";"], "File": "MBlazeInstrInfo", "Func": "InsertBranch", "Target": "MBlaze", "Target_Clf": "MPU", "Compiler_Type": "LLVM", "Idx": 136893, "Length": 63, "Cover_Rate": 0.9130434782608695} {"Template_token": ["", "DebugLoc", "DL", ";", "if", "(", "MI", "!=", "MBB", ".", "end", "(", ")", ")", "DL", "=", "MI", "->", "getDebugLoc", "(", ")", ";"], "ground_truth": ["BuildMI", "(", "MBB", ",", "MI", ",", "DL", ",", "get", "(", "", ")", ")", ";"], "File": "MBlazeInstrInfo", "Func": "insertNoop", "Target": "MBlaze", "Target_Clf": "MPU", "Compiler_Type": "LLVM", "Idx": 136894, "Length": 35, "Cover_Rate": 0.6481481481481481} {"Template_token": ["", "insertNoop", "(", "MachineBasicBlock", "&", "MBB", ",", "MachineBasicBlock", "::", "iterator", "MI", ")", "const", "{", "DebugLoc", "DL", ";"], "ground_truth": ["if", "(", "MI", "!=", "MBB", ".", "end", "(", ")", ")", "DL", "=", "MI", "->", "getDebugLoc", "(", ")", ";"], "File": "MBlazeInstrInfo", "Func": "insertNoop", "Target": "MBlaze", "Target_Clf": "MPU", "Compiler_Type": "LLVM", "Idx": 136895, "Length": 34, "Cover_Rate": 0.6296296296296297} {"Template_token": ["", "isLoadFromStackSlot", "(", "const", "MachineInstr", "*", "MI", ",", "int", "&", "FrameIndex", ")", "const", "{", "if", "(", "MI", "->", "getOpcode", "(", ")", "==", "", ")", "{", "if", "(", "(", "MI", "->", "getOperand", "(", "", ")", ".", "isFI", "(", ")", ")", "&&", "(", "MI", "->", "getOperand", "(", "", ")", ".", "isImm", "(", ")", ")", "&&", "(", "isZeroImm", "(", "MI", "->", "getOperand", "(", "", ")", ")", ")", ")", "{", "FrameIndex", "=", "MI", "->", "getOperand", "(", "", ")", ".", "getIndex", "(", ")", ";", "return", "MI", "->", "getOperand", "(", "", ")", ".", "getReg", "(", ")", ";", "}", "}", "return", "", ";"], "ground_truth": ["}"], "File": "MBlazeInstrInfo", "Func": "isLoadFromStackSlot", "Target": "MBlaze", "Target_Clf": "MPU", "Compiler_Type": "LLVM", "Idx": 136896, "Length": 96, "Cover_Rate": 0.9504950495049505} {"Template_token": ["", "if", "(", "MI", ".", "getOperand", "(", "", ")", ".", "isReg", "(", ")", "&&", "MI", ".", "getOperand", "(", "", ")", ".", "getReg", "(", ")", "==", "", ")", "{", "DstReg", "=", "MI", ".", "getOperand", "(", "", ")", ".", "getReg", "(", ")", ";", "SrcReg", "=", "MI", ".", "getOperand", "(", "", ")", ".", "getReg", "(", ")", ";", "return", "true", ";", "}", "else", "if", "(", "MI", ".", "getOperand", "(", "", ")", ".", "isReg", "(", ")", "&&", "MI", ".", "getOperand", "(", "", ")", ".", "getReg", "(", ")", "==", "", ")", "{", "DstReg", "=", "MI", ".", "getOperand", "(", "", ")", ".", "getReg", "(", ")", ";", "SrcReg", "=", "MI", ".", "getOperand", "(", "", ")", ".", "getReg", "(", ")", ";", "return", "true", ";"], "ground_truth": ["}"], "File": "MBlazeInstrInfo", "Func": "isMoveInstr", "Target": "MBlaze", "Target_Clf": "MPU", "Compiler_Type": "LLVM", "Idx": 136897, "Length": 115, "Cover_Rate": 0.42435424354243545} {"Template_token": ["", "if", "(", "MI", "->", "getOpcode", "(", ")", "==", "", ")", "{", "if", "(", "(", "MI", "->", "getOperand", "(", "", ")", ".", "isFI", "(", ")", ")", "&&", "(", "MI", "->", "getOperand", "(", "", ")", ".", "isImm", "(", ")", ")", "&&", "(", "isZeroImm", "(", "MI", "->", "getOperand", "(", "", ")", ")", ")", ")", "{", "FrameIndex", "=", "MI", "->", "getOperand", "(", "", ")", ".", "getIndex", "(", ")", ";", "return", "MI", "->", "getOperand", "(", "", ")", ".", "getReg", "(", ")", ";", "}", "}"], "ground_truth": ["return", "", ";"], "File": "MBlazeInstrInfo", "Func": "isStoreToStackSlot", "Target": "MBlaze", "Target_Clf": "MPU", "Compiler_Type": "LLVM", "Idx": 136898, "Length": 82, "Cover_Rate": 0.8118811881188119} {"Template_token": ["", "static", "bool", "isZeroImm", "(", "const", "MachineOperand", "&", "op", ")", "{", "return", "op", ".", "isImm", "(", ")", "&&", "op", ".", "getImm", "(", ")", "==", "", ";"], "ground_truth": ["}"], "File": "MBlazeInstrInfo", "Func": "isZeroImm", "Target": "MBlaze", "Target_Clf": "MPU", "Compiler_Type": "LLVM", "Idx": 136900, "Length": 26, "Cover_Rate": 1.0} {"Template_token": ["", "void", "InstrInfo", "::", "loadRegFromStackSlot", "(", "MachineBasicBlock", "&", "MBB", ",", "MachineBasicBlock", "::", "iterator", "I", ",", "unsigned", "DestReg", ",", "int", "FI", ",", "const", "TargetRegisterClass", "*", "RC", ")", "const", "{", "DebugLoc", "DL", ";", "BuildMI", "(", "MBB", ",", "I", ",", "DL", ",", "get", "(", "", ")", ",", "DestReg", ")", ".", "addImm", "(", "", ")", ".", "addFrameIndex", "(", "FI", ")", ";"], "ground_truth": ["}"], "File": "MBlazeInstrInfo", "Func": "loadRegFromStackSlot", "Target": "MBlaze", "Target_Clf": "MPU", "Compiler_Type": "LLVM", "Idx": 136901, "Length": 57, "Cover_Rate": 0.9661016949152542} {"Template_token": ["", "case", "FCOND_OR", ":", "return", "", ";", "case", "FCOND_EQ", ":", "case", "FCOND_NEQ", ":", "return", "", ";", "case", "FCOND_UEQ", ":", "case", "FCOND_OGL", ":", "return", "", ";", "case", "FCOND_OLT", ":", "case", "FCOND_UGE", ":", "return", "", ";", "case", "FCOND_ULT", ":", "case", "FCOND_OGE", ":", "return", "", ";", "case", "FCOND_OLE", ":", "case", "FCOND_UGT", ":", "return", "", ";", "case", "FCOND_ULE", ":", "case", "FCOND_OGT", ":", "return", "", ";"], "ground_truth": ["case", "FCOND_SF", ":"], "File": "MBlazeInstrInfo", "Func": "MBlazeFCCToString", "Target": "MBlaze", "Target_Clf": "MPU", "Compiler_Type": "LLVM", "Idx": 136903, "Length": 63, "Cover_Rate": 0.3684210526315789} {"Template_token": ["", "case", "FCOND_F", ":", "case", "FCOND_T", ":", "return", "", ";", "case", "FCOND_UN", ":", "case", "FCOND_OR", ":", "return", "", ";", "case", "FCOND_EQ", ":", "case", "FCOND_NEQ", ":", "return", "", ";", "case", "FCOND_UEQ", ":", "case", "FCOND_OGL", ":", "return", "", ";", "case", "FCOND_OLT", ":", "case", "FCOND_UGE", ":", "return", "", ";", "case", "FCOND_ULT", ":", "case", "FCOND_OGE", ":", "return", "", ";", "case", "FCOND_OLE", ":", "case", "FCOND_UGT", ":", "return", "", ";", "case", "FCOND_ULE", ":", "case", "FCOND_OGT", ":", "return", "", ";"], "ground_truth": ["case", "FCOND_SF", ":"], "File": "MBlazeInstrInfo", "Func": "MBlazeFCCToString", "Target": "MBlaze", "Target_Clf": "MPU", "Compiler_Type": "LLVM", "Idx": 136904, "Length": 75, "Cover_Rate": 0.43859649122807015} {"Template_token": ["", "InstrInfo", "::", "InstrInfo", "(", "TargetMachine", "&", "tm", ")", ":", "TargetInstrInfoImpl", "(", "Insts", ",", "array_lengthof", "(", "Insts", ")", ")", ",", "TM", "(", "tm", ")", ",", "RI", "(", "*", "TM", ".", "getSubtargetImpl", "(", ")", ",", "*", "this", ")", "{"], "ground_truth": ["}"], "File": "MBlazeInstrInfo", "Func": "MBlazeInstrInfo", "Target": "MBlaze", "Target_Clf": "MPU", "Compiler_Type": "LLVM", "Idx": 136905, "Length": 38, "Cover_Rate": 1.0} {"Template_token": ["", "InstrInfo", "::", "InstrInfo", "(", "TargetMachine", "&", "tm", ")", ":", "TargetInstrInfoImpl", "(", "Insts", ",", "array_lengthof", "(", "Insts", ")", ")", ",", "TM", "(", "tm", ")", ",", "RI", "(", "*", "TM", ".", "getSubtargetImpl", "(", ")", ",", "*", "this", ")", "{"], "ground_truth": ["}"], "File": "MBlazeInstrInfo", "Func": "MBlazeInstrInfo", "Target": "MBlaze", "Target_Clf": "MPU", "Compiler_Type": "LLVM", "Idx": 136906, "Length": 38, "Cover_Rate": 1.0} {"Template_token": ["", "void", "InstrInfo", "::", "storeRegToStackSlot", "(", "MachineBasicBlock", "&", "MBB", ",", "MachineBasicBlock", "::", "iterator", "I", ",", "unsigned", "SrcReg", ",", "bool", "isKill", ",", "int", "FI", ",", "const", "TargetRegisterClass", "*", "RC", ")", "const", "{", "DebugLoc", "DL", ";", "BuildMI", "(", "MBB", ",", "I", ",", "DL", ",", "get", "(", "", ")", ")", ".", "addReg", "(", "SrcReg", ",", "getKillRegState", "(", "isKill", ")", ")", ".", "addImm", "(", "", ")", ".", "addFrameIndex", "(", "FI", ")", ";"], "ground_truth": ["}"], "File": "MBlazeInstrInfo", "Func": "storeRegToStackSlot", "Target": "MBlaze", "Target_Clf": "MPU", "Compiler_Type": "LLVM", "Idx": 136907, "Length": 68, "Cover_Rate": 0.9714285714285714} {"Template_token": ["", "BuildMI", "(", "MBB", ",", "I", ",", "DL", ",", "get", "(", "", ")", ")", ".", "addReg", "(", "SrcReg", ",", "getKillRegState", "(", "isKill", ")", ")", ".", "addImm", "(", "", ")", ".", "addFrameIndex", "(", "FI", ")", ";"], "ground_truth": ["}"], "File": "MBlazeInstrInfo", "Func": "storeRegToStackSlot", "Target": "MBlaze", "Target_Clf": "MPU", "Compiler_Type": "LLVM", "Idx": 136908, "Length": 35, "Cover_Rate": 0.5} {"Template_token": ["", "assert", "(", "!", "isOverloaded", "(", "IntrID", ")", "&&", "", ")", ";", "AttributeSet", "AList", "=", "getAttributes", "(", "M", "->", "getContext", "(", ")", ",", "(", "", ")", "IntrID", ")", ";"], "ground_truth": ["return", "cast", "<", "Function", ">", "(", "M", "->", "getOrInsertFunction", "(", "getName", "(", "IntrID", ")", ",", "getType", "(", "M", "->", "getContext", "(", ")", ",", "IntrID", ")", ",", "AList", ")", ")", ";"], "File": "MBlazeIntrinsicInfo1", "Func": "getDeclaration", "Target": "MBlaze", "Target_Clf": "MPU", "Compiler_Type": "LLVM", "Idx": 136909, "Length": 58, "Cover_Rate": 0.6904761904761905} {"Template_token": ["", "}", ";", "assert", "(", "!", "isOverloaded", "(", "IntrID", ")", "&&", "", ")", ";", "if", "(", "IntrID", "<", "", ")", "return", "", ";", "assert", "(", "IntrID", "<", "", "&&", "", ")", ";", "std", "::", "string", "Result", "(", "names", "[", "IntrID", "-", "", "]", ")", ";", "return", "Result", ";"], "ground_truth": ["}"], "File": "MBlazeIntrinsicInfo1", "Func": "getName", "Target": "MBlaze", "Target_Clf": "MPU", "Compiler_Type": "LLVM", "Idx": 136910, "Length": 48, "Cover_Rate": 0.5714285714285714} {"Template_token": ["", "bool", "IsVarArg", "=", "false", ";"], "ground_truth": ["return", "FunctionType", "::", "get", "(", "ResultTy", ",", "ArgTys", ",", "IsVarArg", ")", ";"], "File": "MBlazeIntrinsicInfo1", "Func": "getType", "Target": "MBlaze", "Target_Clf": "MPU", "Compiler_Type": "LLVM", "Idx": 136911, "Length": 17, "Cover_Rate": 0.3695652173913043} {"Template_token": ["", "bool", "IntrinsicInfo", "::", "isOverloaded", "(", "unsigned", "IntrID", ")", "const", "{", "if", "(", "IntrID", "==", "", ")", "return", "false", ";", "unsigned", "id", "=", "IntrID", "-", "", "+", "", ";"], "ground_truth": ["}"], "File": "MBlazeIntrinsicInfo1", "Func": "isOverloaded", "Target": "MBlaze", "Target_Clf": "MPU", "Compiler_Type": "LLVM", "Idx": 136912, "Length": 29, "Cover_Rate": 0.9354838709677419} {"Template_token": ["", "if", "(", "IntrID", "==", "", ")", "return", "false", ";", "unsigned", "id", "=", "IntrID", "-", "", "+", "", ";"], "ground_truth": ["}"], "File": "MBlazeIntrinsicInfo1", "Func": "isOverloaded", "Target": "MBlaze", "Target_Clf": "MPU", "Compiler_Type": "LLVM", "Idx": 136913, "Length": 19, "Cover_Rate": 0.6129032258064516} {"Template_token": ["", "if", "(", "!", "StringRef", "(", "Name", ",", "Len", ")", ".", "startswith", "(", "", ")", ")", "return", "", ";", "return", "", ";"], "ground_truth": ["}"], "File": "MBlazeIntrinsicInfo1", "Func": "lookupName", "Target": "MBlaze", "Target_Clf": "MPU", "Compiler_Type": "LLVM", "Idx": 136914, "Length": 22, "Cover_Rate": 0.5945945945945946} {"Template_token": ["", "AttrListPtr", "AList", "=", "getAttributes", "(", "M", "->", "getContext", "(", ")", ",", "(", "", ")", "IntrID", ")", ";"], "ground_truth": ["return", "cast", "<", "Function", ">", "(", "M", "->", "getOrInsertFunction", "(", "getName", "(", "IntrID", ")", ",", "getType", "(", "M", "->", "getContext", "(", ")", ",", "IntrID", ")", ",", "AList", ")", ")", ";"], "File": "MBlazeIntrinsicInfo2", "Func": "getDeclaration", "Target": "MBlaze", "Target_Clf": "MPU", "Compiler_Type": "LLVM", "Idx": 136915, "Length": 47, "Cover_Rate": 0.5595238095238095} {"Template_token": ["", "assert", "(", "!", "isOverloaded", "(", "IntrID", ")", "&&", "", ")", ";"], "ground_truth": ["AttrListPtr", "AList", "=", "getAttributes", "(", "M", "->", "getContext", "(", ")", ",", "(", "", ")", "IntrID", ")", ";"], "File": "MBlazeIntrinsicInfo2", "Func": "getDeclaration", "Target": "MBlaze", "Target_Clf": "MPU", "Compiler_Type": "LLVM", "Idx": 136916, "Length": 28, "Cover_Rate": 0.3333333333333333} {"Template_token": ["", "lookupName", "(", "const", "char", "*", "Name", ",", "unsigned", "Len", ")", "const", "{", "return", "", ";"], "ground_truth": ["}"], "File": "MBlazeIntrinsicInfo3", "Func": "lookupName", "Target": "MBlaze", "Target_Clf": "MPU", "Compiler_Type": "LLVM", "Idx": 136917, "Length": 16, "Cover_Rate": 0.8421052631578947} {"Template_token": ["", "return", "cast", "<", "Function", ">", "(", "M", "->", "getOrInsertFunction", "(", "getName", "(", "IntrID", ")", ",", "getType", "(", "M", "->", "getContext", "(", ")", ",", "IntrID", ")", ",", "AList", ")", ")", ";"], "ground_truth": ["}"], "File": "MBlazeIntrinsicInfo6", "Func": "getDeclaration", "Target": "MBlaze", "Target_Clf": "MPU", "Compiler_Type": "LLVM", "Idx": 136918, "Length": 31, "Cover_Rate": 0.3974358974358974} {"Template_token": ["", "assert", "(", "!", "isOverloaded", "(", "IntrID", ")", "&&", "", ")", ";", "AttrListPtr", "AList", "=", "getAttributes", "(", "(", "", ")", "IntrID", ")", ";", "return", "cast", "<", "Function", ">", "(", "M", "->", "getOrInsertFunction", "(", "getName", "(", "IntrID", ")", ",", "getType", "(", "M", "->", "getContext", "(", ")", ",", "IntrID", ")", ",", "AList", ")", ")", ";"], "ground_truth": ["}"], "File": "MBlazeIntrinsicInfo6", "Func": "getDeclaration", "Target": "MBlaze", "Target_Clf": "MPU", "Compiler_Type": "LLVM", "Idx": 136919, "Length": 53, "Cover_Rate": 0.6794871794871795} {"Template_token": ["", "Type", "*", "ResultTy", "=", "NULL", ";", "std", "::", "vector", "<", "Type", "*", ">", "ArgTys", ";"], "ground_truth": ["bool", "IsVarArg", "=", "false", ";"], "File": "MBlazeIntrinsicInfo8", "Func": "getType", "Target": "MBlaze", "Target_Clf": "MPU", "Compiler_Type": "LLVM", "Idx": 136920, "Length": 20, "Cover_Rate": 0.43478260869565216} {"Template_token": ["", "AttrListPtr", "AList", "=", "getAttributes", "(", "(", "", ")", "IntrID", ")", ";", "return", "cast", "<", "Function", ">", "(", "M", "->", "getOrInsertFunction", "(", "getName", "(", "IntrID", ")", ",", "getType", "(", "M", "->", "getContext", "(", ")", ",", "IntrID", ")", ",", "AList", ")", ")", ";"], "ground_truth": ["}"], "File": "MBlazeIntrinsicInfo", "Func": "getDeclaration", "Target": "MBlaze", "Target_Clf": "MPU", "Compiler_Type": "LLVM", "Idx": 136921, "Length": 42, "Cover_Rate": 0.5316455696202531} {"Template_token": ["", "AttrListPtr", "AList", "=", "getAttributes", "(", "(", "", ")", "IntrID", ")", ";", "return", "cast", "<", "Function", ">", "(", "M", "->", "getOrInsertFunction", "(", "getName", "(", "IntrID", ")", ",", "getType", "(", "M", "->", "getContext", "(", ")", ",", "IntrID", ")", ",", "AList", ")", ")", ";"], "ground_truth": ["}"], "File": "MBlazeIntrinsicInfo", "Func": "getDeclaration", "Target": "MBlaze", "Target_Clf": "MPU", "Compiler_Type": "LLVM", "Idx": 136922, "Length": 42, "Cover_Rate": 0.5316455696202531} {"Template_token": ["", "}", ";", "assert", "(", "!", "isOverloaded", "(", "IntrID", ")", "&&", "", ")", ";", "if", "(", "IntrID", "<", "", ")", "return", "", ";", "assert", "(", "IntrID", "<", "", "&&", "", ")", ";", "std", "::", "string", "Result", "(", "names", "[", "IntrID", "-", "", "]", ")", ";"], "ground_truth": ["return", "Result", ";"], "File": "MBlazeIntrinsicInfo", "Func": "getName", "Target": "MBlaze", "Target_Clf": "MPU", "Compiler_Type": "LLVM", "Idx": 136923, "Length": 47, "Cover_Rate": 0.5529411764705883} {"Template_token": ["", "std", "::", "string", "IntrinsicInfo", "::", "getName", "(", "unsigned", "IntrID", ",", "const", "Type", "*", "*", "Tys", ",", "unsigned", "numTys", ")", "const", "{", "static", "const", "char", "*", "const", "names", "[", "]", "=", "{", "}", ";"], "ground_truth": ["assert", "(", "!", "isOverloaded", "(", "IntrID", ")", "&&", "", ")", ";"], "File": "MBlazeIntrinsicInfo", "Func": "getName", "Target": "MBlaze", "Target_Clf": "MPU", "Compiler_Type": "LLVM", "Idx": 136924, "Length": 44, "Cover_Rate": 0.5176470588235295} {"Template_token": ["", "static", "const", "FunctionType", "*", "getType", "(", "LLVMContext", "&", "Context", ",", "unsigned", "id", ")", "{", "const", "Type", "*", "ResultTy", "=", "NULL", ";", "std", "::", "vector", "<", "const", "Type", "*", ">", "ArgTys", ";", "bool", "IsVarArg", "=", "false", ";"], "ground_truth": ["return", "FunctionType", "::", "get", "(", "ResultTy", ",", "ArgTys", ",", "IsVarArg", ")", ";"], "File": "MBlazeIntrinsicInfo", "Func": "getType", "Target": "MBlaze", "Target_Clf": "MPU", "Compiler_Type": "LLVM", "Idx": 136925, "Length": 48, "Cover_Rate": 0.9795918367346939} {"Template_token": ["", "std", "::", "vector", "<", "const", "Type", "*", ">", "ArgTys", ";", "bool", "IsVarArg", "=", "false", ";", "return", "FunctionType", "::", "get", "(", "ResultTy", ",", "ArgTys", ",", "IsVarArg", ")", ";"], "ground_truth": ["}"], "File": "MBlazeIntrinsicInfo", "Func": "getType", "Target": "MBlaze", "Target_Clf": "MPU", "Compiler_Type": "LLVM", "Idx": 136926, "Length": 28, "Cover_Rate": 0.5714285714285714} {"Template_token": ["", "bool", "IntrinsicInfo", "::", "isOverloaded", "(", "unsigned", "IntrID", ")", "const", "{", "const", "bool", "OTable", "[", "]", "=", "{"], "ground_truth": ["}", ";"], "File": "MBlazeIntrinsicInfo", "Func": "isOverloaded", "Target": "MBlaze", "Target_Clf": "MPU", "Compiler_Type": "LLVM", "Idx": 136927, "Length": 19, "Cover_Rate": 0.475} {"Template_token": ["", "bool", "IntrinsicInfo", "::", "isOverloaded", "(", "unsigned", "IntrID", ")", "const", "{", "const", "bool", "OTable", "[", "]", "=", "{", "}", ";"], "ground_truth": ["if", "(", "IntrID", "==", "", ")", "return", "false", ";"], "File": "MBlazeIntrinsicInfo", "Func": "isOverloaded", "Target": "MBlaze", "Target_Clf": "MPU", "Compiler_Type": "LLVM", "Idx": 136928, "Length": 28, "Cover_Rate": 0.7} {"Template_token": ["", "lookupGCCName", "(", "const", "char", "*", "Name", ")", "const", "{"], "ground_truth": ["return", "", "(", "", ",", "Name", ")", ";"], "File": "MBlazeIntrinsicInfo", "Func": "lookupGCCName", "Target": "MBlaze", "Target_Clf": "MPU", "Compiler_Type": "LLVM", "Idx": 136929, "Length": 17, "Cover_Rate": 0.7391304347826086} {"Template_token": ["", "return", "", "(", "", ",", "Name", ")", ";"], "ground_truth": ["}"], "File": "MBlazeIntrinsicInfo", "Func": "lookupGCCName", "Target": "MBlaze", "Target_Clf": "MPU", "Compiler_Type": "LLVM", "Idx": 136930, "Length": 9, "Cover_Rate": 0.391304347826087} {"Template_token": ["", "if", "(", "Len", "<", "", "||", "Name", "[", "", "]", "!=", "'.'", "||", "Name", "[", "", "]", "!=", "'l'", "||", "Name", "[", "", "]", "!=", "'l'", "||", "Name", "[", "", "]", "!=", "'v'", "||", "Name", "[", "", "]", "!=", "'m'", ")", "return", "", ";"], "ground_truth": ["return", "", ";"], "File": "MBlazeIntrinsicInfo", "Func": "lookupName", "Target": "MBlaze", "Target_Clf": "MPU", "Compiler_Type": "LLVM", "Idx": 136931, "Length": 47, "Cover_Rate": 0.746031746031746} {"Template_token": ["", "SDNode", "*", "DAGToDAGISel", "::", "getGlobalBaseReg", "(", ")", "{", "unsigned", "GlobalBaseReg", "=", "getInstrInfo", "(", ")", "->", "getGlobalBaseReg", "(", "MF", ")", ";", "return", "CurDAG", "->", "getRegister", "(", "GlobalBaseReg", ",", "TLI", ".", "getPointerTy", "(", ")", ")", ".", "getNode", "(", ")", ";"], "ground_truth": ["}"], "File": "MBlazeISelDAGToDAG1", "Func": "getGlobalBaseReg", "Target": "MBlaze", "Target_Clf": "MPU", "Compiler_Type": "LLVM", "Idx": 136932, "Length": 39, "Cover_Rate": 1.0} {"Template_token": ["", "return", "CurDAG", "->", "getRegister", "(", "GlobalBaseReg", ",", "TLI", ".", "getPointerTy", "(", ")", ")", ".", "getNode", "(", ")", ";"], "ground_truth": ["}"], "File": "MBlazeISelDAGToDAG1", "Func": "getGlobalBaseReg", "Target": "MBlaze", "Target_Clf": "MPU", "Compiler_Type": "LLVM", "Idx": 136933, "Length": 19, "Cover_Rate": 0.48717948717948717} {"Template_token": ["", "return", "getGlobalBaseReg", "(", ")", ";", "case", "", ":", "{", "SDValue", "imm", "=", "CurDAG", "->", "getTargetConstant", "(", "", ",", "", ")", ";", "int", "FI", "=", "dyn_cast", "<", "FrameIndexSDNode", ">", "(", "Node", ")", "->", "getIndex", "(", ")", ";", "EVT", "VT", "=", "Node", "->", "getValueType", "(", "", ")", ";", "SDValue", "TFI", "=", "CurDAG", "->", "getTargetFrameIndex", "(", "FI", ",", "VT", ")", ";", "unsigned", "Opc", "=", "", ";", "if", "(", "Node", "->", "hasOneUse", "(", ")", ")", "return", "CurDAG", "->", "SelectNodeTo", "(", "Node", ",", "Opc", ",", "VT", ",", "TFI", ",", "imm", ")", ";", "return", "CurDAG", "->", "getMachineNode", "(", "Opc", ",", "dl", ",", "VT", ",", "TFI", ",", "imm", ")", ";", "}", "case", "", ":", "{", "if", "(", "TM", ".", "getRelocationModel", "(", ")", "==", "Reloc", "::", "PIC_", ")", "{", "SDValue", "Chain", "=", "Node", "->", "getOperand", "(", "", ")", ";", "SDValue", "Callee", "=", "Node", "->", "getOperand", "(", "", ")", ";", "SDValue", "R20Reg", "=", "CurDAG", "->", "getRegister", "(", "", ",", "", ")", ";", "SDValue", "InFlag", "(", "", ",", "", ")", ";", "if", "(", "(", "isa", "<", "GlobalAddressSDNode", ">", "(", "Callee", ")", ")", "||", "(", "isa", "<", "ExternalSymbolSDNode", ">", "(", "Callee", ")", ")", ")", "{", "SDValue", "GPReg", "=", "CurDAG", "->", "getRegister", "(", "", ",", "", ")", ";"], "ground_truth": ["SDValue", "Ops", "[", "]", "=", "{", "Callee", ",", "GPReg", ",", "Chain", "}", ";"], "File": "MBlazeISelDAGToDAG1", "Func": "Select", "Target": "MBlaze", "Target_Clf": "MPU", "Compiler_Type": "LLVM", "Idx": 136934, "Length": 209, "Cover_Rate": 0.38847583643122674} {"Template_token": ["", "SDNode", "*", "DAGToDAGISel", "::", "Select", "(", "SDNode", "*", "Node", ")", "{", "unsigned", "Opcode", "=", "Node", "->", "getOpcode", "(", ")", ";", "DebugLoc", "dl", "=", "Node", "->", "getDebugLoc", "(", ")", ";", "DEBUG", "(", "errs", "(", ")", "<<", "", ";", "Node", "->", "dump", "(", "CurDAG", ")", ";", "errs", "(", ")", "<<", "", ")", ";", "if", "(", "Node", "->", "isMachineOpcode", "(", ")", ")", "{", "DEBUG", "(", "errs", "(", ")", "<<", "", ";", "Node", "->", "dump", "(", "CurDAG", ")", ";", "errs", "(", ")", "<<", "", ")", ";", "return", "NULL", ";", "}", "switch", "(", "Opcode", ")", "{", "default", ":", "break", ";", "case", "", ":", "return", "getGlobalBaseReg", "(", ")", ";", "case", "", ":", "{", "SDValue", "imm", "=", "CurDAG", "->", "getTargetConstant", "(", "", ",", "", ")", ";", "int", "FI", "=", "dyn_cast", "<", "FrameIndexSDNode", ">", "(", "Node", ")", "->", "getIndex", "(", ")", ";", "EVT", "VT", "=", "Node", "->", "getValueType", "(", "", ")", ";", "SDValue", "TFI", "=", "CurDAG", "->", "getTargetFrameIndex", "(", "FI", ",", "VT", ")", ";", "unsigned", "Opc", "=", "", ";", "if", "(", "Node", "->", "hasOneUse", "(", ")", ")", "return", "CurDAG", "->", "SelectNodeTo", "(", "Node", ",", "Opc", ",", "VT", ",", "TFI", ",", "imm", ")", ";", "return", "CurDAG", "->", "getMachineNode", "(", "Opc", ",", "dl", ",", "VT", ",", "TFI", ",", "imm", ")", ";", "}", "case", "", ":", "{", "if", "(", "TM", ".", "getRelocationModel", "(", ")", "==", "Reloc", "::", "PIC_", ")", "{", "SDValue", "Chain", "=", "Node", "->", "getOperand", "(", "", ")", ";", "SDValue", "Callee", "=", "Node", "->", "getOperand", "(", "", ")", ";", "SDValue", "R20Reg", "=", "CurDAG", "->", "getRegister", "(", "", ",", "", ")", ";", "SDValue", "InFlag", "(", "", ",", "", ")", ";", "if", "(", "(", "isa", "<", "GlobalAddressSDNode", ">", "(", "Callee", ")", ")", "||", "(", "isa", "<", "ExternalSymbolSDNode", ">", "(", "Callee", ")", ")", ")", "{", "SDValue", "GPReg", "=", "CurDAG", "->", "getRegister", "(", "", ",", "", ")", ";", "SDValue", "Ops", "[", "]", "=", "{", "Callee", ",", "GPReg", ",", "Chain", "}", ";", "SDValue", "Load", "=", "SDValue", "(", "CurDAG", "->", "getMachineNode", "(", "", ",", "dl", ",", "", ",", "", ",", "Ops", ",", "", ")", ",", "", ")", ";", "Chain", "=", "Load", ".", "getValue", "(", "", ")", ";", "Chain", "=", "CurDAG", "->", "getCopyToReg", "(", "Chain", ",", "dl", ",", "R20Reg", ",", "Load", ",", "InFlag", ")", ";", "}", "else", "Chain", "=", "CurDAG", "->", "getCopyToReg", "(", "Chain", ",", "dl", ",", "R20Reg", ",", "Callee", ",", "InFlag", ")", ";", "SDNode", "*", "ResNode", "=", "CurDAG", "->", "getMachineNode", "(", "", ",", "dl", ",", "", ",", "", ",", "R20Reg", ",", "Chain", ")", ";"], "ground_truth": ["Chain", "=", "SDValue", "(", "ResNode", ",", "", ")", ";"], "File": "MBlazeISelDAGToDAG1", "Func": "Select", "Target": "MBlaze", "Target_Clf": "MPU", "Compiler_Type": "LLVM", "Idx": 136935, "Length": 407, "Cover_Rate": 0.7565055762081785} {"Template_token": ["", "}", "else", "{", "if", "(", "(", "Addr", ".", "getOpcode", "(", ")", "==", "", "||", "Addr", ".", "getOpcode", "(", ")", "==", "", ")", ")", "return", "false", ";", "}", "if", "(", "Addr", ".", "getOpcode", "(", ")", "==", "", ")", "{", "if", "(", "ConstantSDNode", "*", "CN", "=", "dyn_cast", "<", "ConstantSDNode", ">", "(", "Addr", ".", "getOperand", "(", "", ")", ")", ")", "{", "if", "(", "isUInt", "<", "", ">", "(", "CN", "->", "getZExtValue", "(", ")", ")", ")", "{", "if", "(", "FrameIndexSDNode", "*", "FIN", "=", "dyn_cast", "<", "FrameIndexSDNode", ">", "(", "Addr", ".", "getOperand", "(", "", ")", ")", ")", "{", "Base", "=", "CurDAG", "->", "getTargetFrameIndex", "(", "FIN", "->", "getIndex", "(", ")", ",", "", ")", ";", "}", "else", "{", "Base", "=", "Addr", ".", "getOperand", "(", "", ")", ";", "}", "Offset", "=", "CurDAG", "->", "getTargetConstant", "(", "CN", "->", "getZExtValue", "(", ")", ",", "", ")", ";", "return", "true", ";", "}", "}", "}", "Base", "=", "Addr", ";", "Offset", "=", "CurDAG", "->", "getTargetConstant", "(", "", ",", "", ")", ";"], "ground_truth": ["return", "true", ";"], "File": "MBlazeISelDAGToDAG1", "Func": "SelectAddr", "Target": "MBlaze", "Target_Clf": "MPU", "Compiler_Type": "LLVM", "Idx": 136936, "Length": 160, "Cover_Rate": 0.5031446540880503} {"Template_token": ["", "return", "true", ";", "}", "}", "else", "if", "(", "ConstantSDNode", "*", "CN", "=", "dyn_cast", "<", "ConstantSDNode", ">", "(", "N", ")", ")", "{", "uint32_t", "Imm", "=", "CN", "->", "getZExtValue", "(", ")", ";", "Disp", "=", "CurDAG", "->", "getTargetConstant", "(", "Imm", ",", "CN", "->", "getValueType", "(", "", ")", ")", ";", "Base", "=", "CurDAG", "->", "getRegister", "(", "", ",", "CN", "->", "getValueType", "(", "", ")", ")", ";", "DEBUG", "(", "errs", "(", ")", "<<", "", ")", ";", "return", "true", ";", "}", "Disp", "=", "CurDAG", "->", "getTargetConstant", "(", "", ",", "TM", ".", "getTargetLowering", "(", ")", "->", "getPointerTy", "(", ")", ")", ";"], "ground_truth": ["if", "(", "FrameIndexSDNode", "*", "FI", "=", "dyn_cast", "<", "FrameIndexSDNode", ">", "(", "N", ")", ")", "Base", "=", "CurDAG", "->", "getTargetFrameIndex", "(", "FI", "->", "getIndex", "(", ")", ",", "N", ".", "getValueType", "(", ")", ")", ";"], "File": "MBlazeISelDAGToDAG1", "Func": "SelectAddrRegImm", "Target": "MBlaze", "Target_Clf": "MPU", "Compiler_Type": "LLVM", "Idx": 136937, "Length": 127, "Cover_Rate": 0.4349315068493151} {"Template_token": ["", "unsigned", "Opcode", "=", "Node", "->", "getOpcode", "(", ")", ";", "DebugLoc", "dl", "=", "Node", "->", "getDebugLoc", "(", ")", ";", "if", "(", "Node", "->", "isMachineOpcode", "(", ")", ")", "return", "NULL", ";", "switch", "(", "Opcode", ")", "{", "default", ":", "break", ";", "case", "", ":", "return", "getGlobalBaseReg", "(", ")", ";", "case", "", ":", "{", "SDValue", "imm", "=", "CurDAG", "->", "getTargetConstant", "(", "", ",", "", ")", ";", "int", "FI", "=", "dyn_cast", "<", "FrameIndexSDNode", ">", "(", "Node", ")", "->", "getIndex", "(", ")", ";", "EVT", "VT", "=", "Node", "->", "getValueType", "(", "", ")", ";", "SDValue", "TFI", "=", "CurDAG", "->", "getTargetFrameIndex", "(", "FI", ",", "VT", ")", ";", "unsigned", "Opc", "=", "", ";", "if", "(", "Node", "->", "hasOneUse", "(", ")", ")", "return", "CurDAG", "->", "SelectNodeTo", "(", "Node", ",", "Opc", ",", "VT", ",", "TFI", ",", "imm", ")", ";", "return", "CurDAG", "->", "getMachineNode", "(", "Opc", ",", "dl", ",", "VT", ",", "TFI", ",", "imm", ")", ";", "}", "case", "", ":", "{", "if", "(", "TM", ".", "getRelocationModel", "(", ")", "==", "Reloc", "::", "PIC_", ")", "{", "SDValue", "Chain", "=", "Node", "->", "getOperand", "(", "", ")", ";", "SDValue", "Callee", "=", "Node", "->", "getOperand", "(", "", ")", ";", "SDValue", "R20Reg", "=", "CurDAG", "->", "getRegister", "(", "", ",", "", ")", ";", "SDValue", "InFlag", "(", "", ",", "", ")", ";", "if", "(", "(", "isa", "<", "GlobalAddressSDNode", ">", "(", "Callee", ")", ")", "||", "(", "isa", "<", "ExternalSymbolSDNode", ">", "(", "Callee", ")", ")", ")", "{", "SDValue", "GPReg", "=", "CurDAG", "->", "getRegister", "(", "", ",", "", ")", ";", "SDValue", "Ops", "[", "]", "=", "{", "Callee", ",", "GPReg", ",", "Chain", "}", ";", "SDValue", "Load", "=", "SDValue", "(", "CurDAG", "->", "getMachineNode", "(", "", ",", "dl", ",", "", ",", "", ",", "Ops", ",", "", ")", ",", "", ")", ";"], "ground_truth": ["Chain", "=", "Load", ".", "getValue", "(", "", ")", ";"], "File": "MBlazeISelDAGToDAG2", "Func": "Select", "Target": "MBlaze", "Target_Clf": "MPU", "Compiler_Type": "LLVM", "Idx": 136938, "Length": 284, "Cover_Rate": 0.5772357723577236} {"Template_token": ["", "unsigned", "Opc", "=", "", ";", "if", "(", "Node", "->", "hasOneUse", "(", ")", ")", "return", "CurDAG", "->", "SelectNodeTo", "(", "Node", ",", "Opc", ",", "VT", ",", "TFI", ",", "imm", ")", ";", "return", "CurDAG", "->", "getMachineNode", "(", "Opc", ",", "dl", ",", "VT", ",", "TFI", ",", "imm", ")", ";", "}", "case", "", ":", "{", "if", "(", "TM", ".", "getRelocationModel", "(", ")", "==", "Reloc", "::", "PIC_", ")", "{", "SDValue", "Chain", "=", "Node", "->", "getOperand", "(", "", ")", ";", "SDValue", "Callee", "=", "Node", "->", "getOperand", "(", "", ")", ";", "SDValue", "R20Reg", "=", "CurDAG", "->", "getRegister", "(", "", ",", "", ")", ";", "SDValue", "InFlag", "(", "", ",", "", ")", ";", "if", "(", "(", "isa", "<", "GlobalAddressSDNode", ">", "(", "Callee", ")", ")", "||", "(", "isa", "<", "ExternalSymbolSDNode", ">", "(", "Callee", ")", ")", ")", "{", "SDValue", "GPReg", "=", "CurDAG", "->", "getRegister", "(", "", ",", "", ")", ";", "SDValue", "Ops", "[", "]", "=", "{", "Callee", ",", "GPReg", ",", "Chain", "}", ";", "SDValue", "Load", "=", "SDValue", "(", "CurDAG", "->", "getMachineNode", "(", "", ",", "dl", ",", "", ",", "", ",", "Ops", ")", ",", "", ")", ";", "Chain", "=", "Load", ".", "getValue", "(", "", ")", ";", "Chain", "=", "CurDAG", "->", "getCopyToReg", "(", "Chain", ",", "dl", ",", "R20Reg", ",", "Load", ",", "InFlag", ")", ";", "}", "else", "Chain", "=", "CurDAG", "->", "getCopyToReg", "(", "Chain", ",", "dl", ",", "R20Reg", ",", "Callee", ",", "InFlag", ")", ";", "SDNode", "*", "ResNode", "=", "CurDAG", "->", "getMachineNode", "(", "", ",", "dl", ",", "", ",", "", ",", "R20Reg", ",", "Chain", ")", ";", "Chain", "=", "SDValue", "(", "ResNode", ",", "", ")", ";", "InFlag", "=", "SDValue", "(", "ResNode", ",", "", ")", ";", "ReplaceUses", "(", "SDValue", "(", "Node", ",", "", ")", ",", "Chain", ")", ";", "ReplaceUses", "(", "SDValue", "(", "Node", ",", "", ")", ",", "InFlag", ")", ";", "return", "ResNode", ";", "}", "}", "}", "SDNode", "*", "ResNode", "=", "SelectCode", "(", "Node", ")", ";", "DEBUG", "(", "errs", "(", ")", "<<", "", ")", ";", "if", "(", "ResNode", "==", "NULL", "||", "ResNode", "==", "Node", ")", "DEBUG", "(", "Node", "->", "dump", "(", "CurDAG", ")", ")", ";", "else", "DEBUG", "(", "ResNode", "->", "dump", "(", "CurDAG", ")", ")", ";", "DEBUG", "(", "errs", "(", ")", "<<", "", ")", ";"], "ground_truth": ["return", "ResNode", ";"], "File": "MBlazeISelDAGToDAG4", "Func": "Select", "Target": "MBlaze", "Target_Clf": "MPU", "Compiler_Type": "LLVM", "Idx": 136939, "Length": 349, "Cover_Rate": 0.7122448979591837} {"Template_token": ["", "}", "if", "(", "Addr", ".", "getOpcode", "(", ")", "==", "", ")", "{", "if", "(", "ConstantSDNode", "*", "CN", "=", "dyn_cast", "<", "ConstantSDNode", ">", "(", "Addr", ".", "getOperand", "(", "", ")", ")", ")", "{", "if", "(", "Predicate_immSExt16", "(", "CN", ")", ")", "{", "if", "(", "FrameIndexSDNode", "*", "FIN", "=", "dyn_cast", "<", "FrameIndexSDNode", ">", "(", "Addr", ".", "getOperand", "(", "", ")", ")", ")", "{", "Base", "=", "CurDAG", "->", "getTargetFrameIndex", "(", "FIN", "->", "getIndex", "(", ")", ",", "", ")", ";", "}", "else", "{", "Base", "=", "Addr", ".", "getOperand", "(", "", ")", ";", "}", "Offset", "=", "CurDAG", "->", "getTargetConstant", "(", "CN", "->", "getZExtValue", "(", ")", ",", "", ")", ";", "return", "true", ";", "}", "}", "}", "Base", "=", "Addr", ";", "Offset", "=", "CurDAG", "->", "getTargetConstant", "(", "", ",", "", ")", ";"], "ground_truth": ["return", "true", ";"], "File": "MBlazeISelDAGToDAG7", "Func": "SelectAddr", "Target": "MBlaze", "Target_Clf": "MPU", "Compiler_Type": "LLVM", "Idx": 136940, "Length": 127, "Cover_Rate": 0.40836012861736337} {"Template_token": ["", "SDNode", "*", "DAGToDAGISel", "::", "getGlobalBaseReg", "(", ")", "{", "unsigned", "GlobalBaseReg", "=", "getInstrInfo", "(", ")", "->", "getGlobalBaseReg", "(", "MF", ")", ";", "return", "CurDAG", "->", "getRegister", "(", "GlobalBaseReg", ",", "TLI", "->", "getPointerTy", "(", ")", ")", ".", "getNode", "(", ")", ";"], "ground_truth": ["}"], "File": "MBlazeISelDAGToDAG8", "Func": "getGlobalBaseReg", "Target": "MBlaze", "Target_Clf": "MPU", "Compiler_Type": "LLVM", "Idx": 136941, "Length": 39, "Cover_Rate": 1.0} {"Template_token": ["", "SDNode", "*", "DAGToDAGISel", "::", "getGlobalBaseReg", "(", ")", "{", "unsigned", "GlobalBaseReg", "=", "getInstrInfo", "(", ")", "->", "getGlobalBaseReg", "(", "MF", ")", ";"], "ground_truth": ["return", "CurDAG", "->", "getRegister", "(", "GlobalBaseReg", ",", "TLI", "->", "getPointerTy", "(", ")", ")", ".", "getNode", "(", ")", ";"], "File": "MBlazeISelDAGToDAG8", "Func": "getGlobalBaseReg", "Target": "MBlaze", "Target_Clf": "MPU", "Compiler_Type": "LLVM", "Idx": 136942, "Length": 38, "Cover_Rate": 0.9743589743589743} {"Template_token": ["", "FunctionPass", "*", "llvm", "::", "createISelDag", "(", "TargetMachine", "&", "TM", ")", "{"], "ground_truth": ["return", "new", "DAGToDAGISel", "(", "TM", ")", ";"], "File": "MBlazeISelDAGToDAG", "Func": "createMBlazeISelDag", "Target": "MBlaze", "Target_Clf": "MPU", "Compiler_Type": "LLVM", "Idx": 136943, "Length": 18, "Cover_Rate": 0.9473684210526315} {"Template_token": ["", "FunctionPass", "*", "llvm", "::", "createISelDag", "(", "TargetMachine", "&", "TM", ")", "{"], "ground_truth": ["return", "new", "DAGToDAGISel", "(", "TM", ")", ";"], "File": "MBlazeISelDAGToDAG", "Func": "createMBlazeISelDag", "Target": "MBlaze", "Target_Clf": "MPU", "Compiler_Type": "LLVM", "Idx": 136944, "Length": 18, "Cover_Rate": 0.9473684210526315} {"Template_token": ["", "unsigned", "GlobalBaseReg", "=", "getInstrInfo", "(", ")", "->", "getGlobalBaseReg", "(", "MF", ")", ";"], "ground_truth": ["return", "CurDAG", "->", "getRegister", "(", "GlobalBaseReg", ",", "getTargetLowering", "(", ")", "->", "getPointerTy", "(", ")", ")", ".", "getNode", "(", ")", ";"], "File": "MBlazeISelDAGToDAG", "Func": "getGlobalBaseReg", "Target": "MBlaze", "Target_Clf": "MPU", "Compiler_Type": "LLVM", "Idx": 136945, "Length": 32, "Cover_Rate": 0.7804878048780488} {"Template_token": ["", "return", "CurDAG", "->", "getRegister", "(", "GlobalBaseReg", ",", "getTargetLowering", "(", ")", "->", "getPointerTy", "(", ")", ")", ".", "getNode", "(", ")", ";"], "ground_truth": ["}"], "File": "MBlazeISelDAGToDAG", "Func": "getGlobalBaseReg", "Target": "MBlaze", "Target_Clf": "MPU", "Compiler_Type": "LLVM", "Idx": 136946, "Length": 21, "Cover_Rate": 0.5121951219512195} {"Template_token": ["", "return", "CurDAG", "->", "getTargetConstant", "(", "Imm", ",", "", ")", ";"], "ground_truth": ["}"], "File": "MBlazeISelDAGToDAG", "Func": "getI32Imm", "Target": "MBlaze", "Target_Clf": "MPU", "Compiler_Type": "LLVM", "Idx": 136947, "Length": 11, "Cover_Rate": 0.5238095238095238} {"Template_token": ["", "inline", "SDValue", "getI32Imm", "(", "unsigned", "Imm", ")", "{", "return", "CurDAG", "->", "getTargetConstant", "(", "Imm", ",", "", ")", ";"], "ground_truth": ["}"], "File": "MBlazeISelDAGToDAG", "Func": "getI32Imm", "Target": "MBlaze", "Target_Clf": "MPU", "Compiler_Type": "LLVM", "Idx": 136948, "Length": 19, "Cover_Rate": 0.9047619047619048} {"Template_token": ["", "return", "getTargetMachine", "(", ")", ".", "getInstrInfo", "(", ")", ";"], "ground_truth": ["}"], "File": "MBlazeISelDAGToDAG", "Func": "getInstrInfo", "Target": "MBlaze", "Target_Clf": "MPU", "Compiler_Type": "LLVM", "Idx": 136949, "Length": 10, "Cover_Rate": 0.5882352941176471} {"Template_token": ["", "return", "getTargetMachine", "(", ")", ".", "getInstrInfo", "(", ")", ";"], "ground_truth": ["}"], "File": "MBlazeISelDAGToDAG", "Func": "getInstrInfo", "Target": "MBlaze", "Target_Clf": "MPU", "Compiler_Type": "LLVM", "Idx": 136950, "Length": 10, "Cover_Rate": 0.5882352941176471} {"Template_token": ["", "virtual", "const", "char", "*", "getPassName", "(", ")", "const", "{"], "ground_truth": ["return", "", ";"], "File": "MBlazeISelDAGToDAG", "Func": "getPassName", "Target": "MBlaze", "Target_Clf": "MPU", "Compiler_Type": "LLVM", "Idx": 136951, "Length": 12, "Cover_Rate": 0.9230769230769231} {"Template_token": ["", "const", "TargetMachine", "&", "getTargetMachine", "(", ")", "{"], "ground_truth": ["return", "static_cast", "<", "const", "TargetMachine", "&", ">", "(", "TM", ")", ";"], "File": "MBlazeISelDAGToDAG", "Func": "getTargetMachine", "Target": "MBlaze", "Target_Clf": "MPU", "Compiler_Type": "LLVM", "Idx": 136953, "Length": 18, "Cover_Rate": 0.9473684210526315} {"Template_token": ["", "return", "isIntS32Immediate", "(", "Op", ".", "getNode", "(", ")", ",", "Imm", ")", ";"], "ground_truth": ["}"], "File": "MBlazeISelDAGToDAG", "Func": "isIntS32Immediate", "Target": "MBlaze", "Target_Clf": "MPU", "Compiler_Type": "LLVM", "Idx": 136955, "Length": 13, "Cover_Rate": 0.52} {"Template_token": ["", "explicit", "DAGToDAGISel", "(", "TargetMachine", "&", "tm", ")", ":"], "ground_truth": ["SelectionDAGISel", "(", "tm", ")", ",", "TM", "(", "tm", ")", ",", "Subtarget", "(", "tm", ".", "getSubtarget", "<", "Subtarget", ">", "(", ")", ")", "{"], "File": "MBlazeISelDAGToDAG", "Func": "MBlazeDAGToDAGISel", "Target": "MBlaze", "Target_Clf": "MPU", "Compiler_Type": "LLVM", "Idx": 136956, "Length": 30, "Cover_Rate": 0.967741935483871} {"Template_token": ["", "SelectionDAGISel", "(", "tm", ")", ",", "TM", "(", "tm", ")", ",", "Subtarget", "(", "tm", ".", "getSubtarget", "<", "Subtarget", ">", "(", ")", ")", "{"], "ground_truth": ["}"], "File": "MBlazeISelDAGToDAG", "Func": "MBlazeDAGToDAGISel", "Target": "MBlaze", "Target_Clf": "MPU", "Compiler_Type": "LLVM", "Idx": 136957, "Length": 23, "Cover_Rate": 0.7419354838709677} {"Template_token": ["", "if", "(", "TM", ".", "getRelocationModel", "(", ")", "==", "Reloc", "::", "PIC_", ")", "{", "SDValue", "Chain", "=", "Node", "->", "getOperand", "(", "", ")", ";", "SDValue", "Callee", "=", "Node", "->", "getOperand", "(", "", ")", ";", "SDValue", "R20Reg", "=", "CurDAG", "->", "getRegister", "(", "", ",", "", ")", ";", "SDValue", "InFlag", "(", "", ",", "", ")", ";", "if", "(", "(", "isa", "<", "GlobalAddressSDNode", ">", "(", "Callee", ")", ")", "||", "(", "isa", "<", "ExternalSymbolSDNode", ">", "(", "Callee", ")", ")", ")", "{", "SDValue", "GPReg", "=", "CurDAG", "->", "getRegister", "(", "", ",", "", ")", ";", "SDValue", "Ops", "[", "]", "=", "{", "Callee", ",", "GPReg", ",", "Chain", "}", ";", "SDValue", "Load", "=", "SDValue", "(", "CurDAG", "->", "getMachineNode", "(", "", ",", "dl", ",", "", ",", "", ",", "Ops", ")", ",", "", ")", ";", "Chain", "=", "Load", ".", "getValue", "(", "", ")", ";", "Chain", "=", "CurDAG", "->", "getCopyToReg", "(", "Chain", ",", "dl", ",", "R20Reg", ",", "Load", ",", "InFlag", ")", ";", "}", "else", "Chain", "=", "CurDAG", "->", "getCopyToReg", "(", "Chain", ",", "dl", ",", "R20Reg", ",", "Callee", ",", "InFlag", ")", ";", "SDNode", "*", "ResNode", "=", "CurDAG", "->", "getMachineNode", "(", "", ",", "dl", ",", "", ",", "", ",", "R20Reg", ",", "Chain", ")", ";", "Chain", "=", "SDValue", "(", "ResNode", ",", "", ")", ";", "InFlag", "=", "SDValue", "(", "ResNode", ",", "", ")", ";", "ReplaceUses", "(", "SDValue", "(", "Node", ",", "", ")", ",", "Chain", ")", ";", "ReplaceUses", "(", "SDValue", "(", "Node", ",", "", ")", ",", "InFlag", ")", ";", "return", "ResNode", ";", "}", "}", "}", "SDNode", "*", "ResNode", "=", "SelectCode", "(", "Node", ")", ";", "DEBUG", "(", "errs", "(", ")", "<<", "", ")", ";", "if", "(", "ResNode", "==", "NULL", "||", "ResNode", "==", "Node", ")", "DEBUG", "(", "Node", "->", "dump", "(", "CurDAG", ")", ")", ";", "else", "DEBUG", "(", "ResNode", "->", "dump", "(", "CurDAG", ")", ")", ";", "DEBUG", "(", "errs", "(", ")", "<<", "", ")", ";"], "ground_truth": ["return", "ResNode", ";"], "File": "MBlazeISelDAGToDAG", "Func": "Select", "Target": "MBlaze", "Target_Clf": "MPU", "Compiler_Type": "LLVM", "Idx": 136958, "Length": 299, "Cover_Rate": 0.6139630390143738} {"Template_token": ["", "if", "(", "SelectAddrRegReg", "(", "N", ",", "Base", ",", "Disp", ")", ")", "return", "false", ";", "if", "(", "N", ".", "getOpcode", "(", ")", "==", "", "||", "N", ".", "getOpcode", "(", ")", "==", "", ")", "{", "int32_t", "imm", "=", "", ";", "if", "(", "isIntS32Immediate", "(", "N", ".", "getOperand", "(", "", ")", ",", "imm", ")", ")", "{", "Disp", "=", "CurDAG", "->", "getTargetConstant", "(", "imm", ",", "", ")", ";", "if", "(", "FrameIndexSDNode", "*", "FI", "=", "dyn_cast", "<", "FrameIndexSDNode", ">", "(", "N", ".", "getOperand", "(", "", ")", ")", ")", "{", "Base", "=", "CurDAG", "->", "getTargetFrameIndex", "(", "FI", "->", "getIndex", "(", ")", ",", "N", ".", "getValueType", "(", ")", ")", ";", "}", "else", "{", "Base", "=", "N", ".", "getOperand", "(", "", ")", ";"], "ground_truth": ["}"], "File": "MBlazeISelDAGToDAG", "Func": "SelectAddrRegImm", "Target": "MBlaze", "Target_Clf": "MPU", "Compiler_Type": "LLVM", "Idx": 136959, "Length": 116, "Cover_Rate": 0.43283582089552236} {"Template_token": ["", "if", "(", "N", ".", "getOpcode", "(", ")", "==", "", "||", "N", ".", "getOpcode", "(", ")", "==", "", ")", "{", "if", "(", "isIntS32Immediate", "(", "N", ".", "getOperand", "(", "", ")", ",", "imm", ")", ")", "return", "false", ";", "if", "(", "N", ".", "getOperand", "(", "", ")", ".", "getOpcode", "(", ")", "==", "", "||", "N", ".", "getOperand", "(", "", ")", ".", "getOpcode", "(", ")", "==", "", ")", "return", "false", ";", "Base", "=", "N", ".", "getOperand", "(", "", ")", ";", "Index", "=", "N", ".", "getOperand", "(", "", ")", ";"], "ground_truth": ["return", "true", ";"], "File": "MBlazeISelDAGToDAG", "Func": "SelectAddrRegReg", "Target": "MBlaze", "Target_Clf": "MPU", "Compiler_Type": "LLVM", "Idx": 136960, "Length": 88, "Cover_Rate": 0.5398773006134969} {"Template_token": ["", "std", "::", "pair", "<", "unsigned", ",", "const", "TargetRegisterClass", "*", ">", "TargetLowering", "::", "getRegForInlineAsmConstraint", "(", "const", "std", "::", "string", "&", "Constraint", ",", "EVT", "VT", ")", "const", "{", "if", "(", "Constraint", ".", "size", "(", ")", "==", "", ")", "{", "switch", "(", "Constraint", "[", "", "]", ")", "{", "case", "'r'", ":"], "ground_truth": ["return", "std", "::", "make_pair", "(", "", ",", "&", "", ")", ";"], "File": "MBlazeISelLowering10", "Func": "getRegForInlineAsmConstraint", "Target": "MBlaze", "Target_Clf": "MPU", "Compiler_Type": "LLVM", "Idx": 136961, "Length": 59, "Cover_Rate": 0.5673076923076923} {"Template_token": ["", "case", "'y'", ":", "case", "'f'", ":", "if", "(", "VT", "==", "", ")", "return", "std", "::", "make_pair", "(", "", ",", "&", "", ")", ";", "}", "}", "return", "TargetLowering", "::", "getRegForInlineAsmConstraint", "(", "Constraint", ",", "VT", ")", ";"], "ground_truth": ["}"], "File": "MBlazeISelLowering10", "Func": "getRegForInlineAsmConstraint", "Target": "MBlaze", "Target_Clf": "MPU", "Compiler_Type": "LLVM", "Idx": 136962, "Length": 36, "Cover_Rate": 0.34615384615384615} {"Template_token": ["", "EVT", "TargetLowering", "::", "getSetCCResultType", "(", "EVT", "VT", ")", "const", "{"], "ground_truth": ["return", "", ";"], "File": "MBlazeISelLowering10", "Func": "getSetCCResultType", "Target": "MBlaze", "Target_Clf": "MPU", "Compiler_Type": "LLVM", "Idx": 136963, "Length": 13, "Cover_Rate": 0.8125} {"Template_token": ["", "SelectionDAG", "&", "DAG", "=", "CLI", ".", "DAG", ";", "DebugLoc", "&", "dl", "=", "CLI", ".", "DL", ";", "SmallVector", "<", "", ",", "", ">", "&", "Outs", "=", "CLI", ".", "Outs", ";", "SmallVector", "<", "SDValue", ",", "", ">", "&", "OutVals", "=", "CLI", ".", "OutVals", ";", "SmallVector", "<", "", ",", "", ">", "&", "Ins", "=", "CLI", ".", "Ins", ";", "SDValue", "Chain", "=", "CLI", ".", "Chain", ";", "SDValue", "Callee", "=", "CLI", ".", "Callee", ";", "bool", "&", "isTailCall", "=", "CLI", ".", "IsTailCall", ";", "CallingConv", "::", "ID", "CallConv", "=", "CLI", ".", "CallConv", ";", "bool", "isVarArg", "=", "CLI", ".", "IsVarArg", ";", "isTailCall", "=", "false", ";", "bool", "needsRegArgSlots", "=", "isVarArg", ";", "MachineFunction", "&", "MF", "=", "DAG", ".", "getMachineFunction", "(", ")", ";", "MachineFrameInfo", "*", "MFI", "=", "MF", ".", "getFrameInfo", "(", ")", ";", "const", "TargetFrameLowering", "&", "TFI", "=", "*", "MF", ".", "getTarget", "(", ")", ".", "getFrameLowering", "(", ")", ";", "SmallVector", "<", "CCValAssign", ",", "", ">", "ArgLocs", ";", "CCState", "CCInfo", "(", "CallConv", ",", "isVarArg", ",", "DAG", ".", "getMachineFunction", "(", ")", ",", "getTargetMachine", "(", ")", ",", "ArgLocs", ",", "*", "DAG", ".", "getContext", "(", ")", ")", ";", "CCInfo", ".", "AnalyzeCallOperands", "(", "Outs", ",", "CC_", ")", ";", "unsigned", "NumBytes", "=", "CCInfo", ".", "getNextStackOffset", "(", ")", ";", "if", "(", "isVarArg", "&&", "NumBytes", "<", "", ")", "NumBytes", "=", "", ";", "Chain", "=", "DAG", ".", "getCALLSEQ_START", "(", "Chain", ",", "DAG", ".", "getIntPtrConstant", "(", "NumBytes", ",", "true", ")", ")", ";", "SmallVector", "<", "std", "::", "pair", "<", "unsigned", ",", "SDValue", ">", ",", "", ">", "RegsToPass", ";", "SmallVector", "<", "SDValue", ",", "", ">", "MemOpChains", ";", "for", "(", "unsigned", "i", "=", "", ",", "e", "=", "ArgLocs", ".", "size", "(", ")", ";", "i", "!=", "e", ";", "++", "i", ")", "{", "CCValAssign", "&", "VA", "=", "ArgLocs", "[", "i", "]", ";", "MVT", "RegVT", "=", "VA", ".", "getLocVT", "(", ")", ";", "SDValue", "Arg", "=", "OutVals", "[", "i", "]", ";", "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", ")", ";"], "ground_truth": ["break", ";"], "File": "MBlazeISelLowering10", "Func": "LowerCall", "Target": "MBlaze", "Target_Clf": "MPU", "Compiler_Type": "LLVM", "Idx": 136964, "Length": 360, "Cover_Rate": 0.38176033934252385} {"Template_token": ["", "for", "(", "unsigned", "i", "=", "", ";", "i", "!=", "RVLocs", ".", "size", "(", ")", ";", "++", "i", ")", "{", "Chain", "=", "DAG", ".", "getCopyFromReg", "(", "Chain", ",", "dl", ",", "RVLocs", "[", "i", "]", ".", "getLocReg", "(", ")", ",", "RVLocs", "[", "i", "]", ".", "getValVT", "(", ")", ",", "InFlag", ")", ".", "getValue", "(", "", ")", ";", "InFlag", "=", "Chain", ".", "getValue", "(", "", ")", ";", "InVals", ".", "push_back", "(", "Chain", ".", "getValue", "(", "", ")", ")", ";"], "ground_truth": ["}"], "File": "MBlazeISelLowering10", "Func": "LowerCallResult", "Target": "MBlaze", "Target_Clf": "MPU", "Compiler_Type": "LLVM", "Idx": 136965, "Length": 77, "Cover_Rate": 0.45294117647058824} {"Template_token": ["", "LowerConstantPool", "(", "SDValue", "Op", ",", "SelectionDAG", "&", "DAG", ")", "const", "{", "SDValue", "ResNode", ";", "ConstantPoolSDNode", "*", "N", "=", "cast", "<", "ConstantPoolSDNode", ">", "(", "Op", ")", ";"], "ground_truth": ["const", "Constant", "*", "C", "=", "N", "->", "getConstVal", "(", ")", ";"], "File": "MBlazeISelLowering10", "Func": "LowerConstantPool", "Target": "MBlaze", "Target_Clf": "MPU", "Compiler_Type": "LLVM", "Idx": 136966, "Length": 37, "Cover_Rate": 0.3854166666666667} {"Template_token": ["", "std", "::", "vector", "<", "SDValue", ">", "OutChains", ";", "unsigned", "ArgRegEnd", "=", "", ";", "SmallVector", "<", "CCValAssign", ",", "", ">", "ArgLocs", ";", "CCState", "CCInfo", "(", "CallConv", ",", "isVarArg", ",", "DAG", ".", "getMachineFunction", "(", ")", ",", "getTargetMachine", "(", ")", ",", "ArgLocs", ",", "*", "DAG", ".", "getContext", "(", ")", ")", ";", "CCInfo", ".", "AnalyzeFormalArguments", "(", "Ins", ",", "CC_", ")", ";", "SDValue", "StackPtr", ";", "for", "(", "unsigned", "i", "=", "", ",", "e", "=", "ArgLocs", ".", "size", "(", ")", ";", "i", "!=", "e", ";", "++", "i", ")", "{", "CCValAssign", "&", "VA", "=", "ArgLocs", "[", "i", "]", ";", "if", "(", "VA", ".", "isRegLoc", "(", ")", ")", "{", "MVT", "RegVT", "=", "VA", ".", "getLocVT", "(", ")", ";", "ArgRegEnd", "=", "VA", ".", "getLocReg", "(", ")", ";", "const", "TargetRegisterClass", "*", "RC", ";", "if", "(", "RegVT", "==", "", ")", "RC", "=", "&", "", ";", "else", "if", "(", "RegVT", "==", "", ")", "RC", "=", "&", "", ";", "else", "llvm_unreachable", "(", "", ")", ";", "unsigned", "Reg", "=", "MF", ".", "addLiveIn", "(", "ArgRegEnd", ",", "RC", ")", ";", "SDValue", "ArgValue", "=", "DAG", ".", "getCopyFromReg", "(", "Chain", ",", "dl", ",", "Reg", ",", "RegVT", ")", ";", "if", "(", "VA", ".", "getLocInfo", "(", ")", "!=", "CCValAssign", "::", "Full", ")", "{", "unsigned", "Opcode", "=", "", ";", "if", "(", "VA", ".", "getLocInfo", "(", ")", "==", "CCValAssign", "::", "SExt", ")", "Opcode", "=", "", ";", "else", "if", "(", "VA", ".", "getLocInfo", "(", ")", "==", "CCValAssign", "::", "ZExt", ")", "Opcode", "=", "", ";", "if", "(", "Opcode", ")", "ArgValue", "=", "DAG", ".", "getNode", "(", "Opcode", ",", "dl", ",", "RegVT", ",", "ArgValue", ",", "DAG", ".", "getValueType", "(", "VA", ".", "getValVT", "(", ")", ")", ")", ";", "ArgValue", "=", "DAG", ".", "getNode", "(", "", ",", "dl", ",", "VA", ".", "getValVT", "(", ")", ",", "ArgValue", ")", ";", "}", "InVals", ".", "push_back", "(", "ArgValue", ")", ";", "}", "else", "{", "assert", "(", "VA", ".", "isMemLoc", "(", ")", ")", ";", "ArgRegEnd", "=", "", ";"], "ground_truth": ["unsigned", "ArgSize", "=", "VA", ".", "getLocVT", "(", ")", ".", "getSizeInBits", "(", ")", "/", "", ";"], "File": "MBlazeISelLowering10", "Func": "LowerFormalArguments", "Target": "MBlaze", "Target_Clf": "MPU", "Compiler_Type": "LLVM", "Idx": 136967, "Length": 319, "Cover_Rate": 0.39875} {"Template_token": ["", "LowerGlobalAddress", "(", "SDValue", "Op", ",", "SelectionDAG", "&", "DAG", ")", "const", "{", "DebugLoc", "dl", "=", "Op", ".", "getDebugLoc", "(", ")", ";", "const", "GlobalValue", "*", "GV", "=", "cast", "<", "GlobalAddressSDNode", ">", "(", "Op", ")", "->", "getGlobal", "(", ")", ";", "SDValue", "GA", "=", "DAG", ".", "getTargetGlobalAddress", "(", "GV", ",", "dl", ",", "", ")", ";"], "ground_truth": ["return", "DAG", ".", "getNode", "(", "", ",", "dl", ",", "", ",", "GA", ")", ";"], "File": "MBlazeISelLowering10", "Func": "LowerGlobalAddress", "Target": "MBlaze", "Target_Clf": "MPU", "Compiler_Type": "LLVM", "Idx": 136968, "Length": 65, "Cover_Rate": 0.8666666666666667} {"Template_token": ["", "LowerGlobalAddress", "(", "SDValue", "Op", ",", "SelectionDAG", "&", "DAG", ")", "const", "{", "DebugLoc", "dl", "=", "Op", ".", "getDebugLoc", "(", ")", ";", "const", "GlobalValue", "*", "GV", "=", "cast", "<", "GlobalAddressSDNode", ">", "(", "Op", ")", "->", "getGlobal", "(", ")", ";", "SDValue", "GA", "=", "DAG", ".", "getTargetGlobalAddress", "(", "GV", ",", "dl", ",", "", ")", ";"], "ground_truth": ["return", "DAG", ".", "getNode", "(", "", ",", "dl", ",", "", ",", "GA", ")", ";"], "File": "MBlazeISelLowering10", "Func": "LowerGlobalAddress", "Target": "MBlaze", "Target_Clf": "MPU", "Compiler_Type": "LLVM", "Idx": 136969, "Length": 65, "Cover_Rate": 0.8666666666666667} {"Template_token": ["", "JumpTableSDNode", "*", "JT", "=", "cast", "<", "JumpTableSDNode", ">", "(", "Op", ")", ";"], "ground_truth": ["SDValue", "JTI", "=", "DAG", ".", "getTargetJumpTable", "(", "JT", "->", "getIndex", "(", ")", ",", "PtrVT", ",", "", ")", ";"], "File": "MBlazeISelLowering10", "Func": "LowerJumpTable", "Target": "MBlaze", "Target_Clf": "MPU", "Compiler_Type": "LLVM", "Idx": 136970, "Length": 30, "Cover_Rate": 0.3448275862068966} {"Template_token": ["", "Chain", "=", "DAG", ".", "getCopyToReg", "(", "Chain", ",", "dl", ",", "VA", ".", "getLocReg", "(", ")", ",", "OutVals", "[", "i", "]", ",", "Flag", ")", ";", "Flag", "=", "Chain", ".", "getValue", "(", "", ")", ";", "}", "unsigned", "Ret", "=", "(", "CallConv", "==", "CallingConv", "::", "MBLAZE_INTR", ")", "?", "", ":", "", ";", "unsigned", "Reg", "=", "(", "CallConv", "==", "CallingConv", "::", "MBLAZE_INTR", ")", "?", "", ":", "", ";", "SDValue", "DReg", "=", "DAG", ".", "getRegister", "(", "Reg", ",", "", ")", ";", "if", "(", "Flag", ".", "getNode", "(", ")", ")", "return", "DAG", ".", "getNode", "(", "Ret", ",", "dl", ",", "", ",", "Chain", ",", "DReg", ",", "Flag", ")", ";", "return", "DAG", ".", "getNode", "(", "Ret", ",", "dl", ",", "", ",", "Chain", ",", "DReg", ")", ";"], "ground_truth": ["}"], "File": "MBlazeISelLowering10", "Func": "LowerReturn", "Target": "MBlaze", "Target_Clf": "MPU", "Compiler_Type": "LLVM", "Idx": 136971, "Length": 119, "Cover_Rate": 0.3595166163141994} {"Template_token": ["", "if", "(", "DAG", ".", "getMachineFunction", "(", ")", ".", "getRegInfo", "(", ")", ".", "liveout_empty", "(", ")", ")", "{", "for", "(", "unsigned", "i", "=", "", ";", "i", "!=", "RVLocs", ".", "size", "(", ")", ";", "++", "i", ")", "if", "(", "RVLocs", "[", "i", "]", ".", "isRegLoc", "(", ")", ")", "DAG", ".", "getMachineFunction", "(", ")", ".", "getRegInfo", "(", ")", ".", "addLiveOut", "(", "RVLocs", "[", "i", "]", ".", "getLocReg", "(", ")", ")", ";", "}", "SDValue", "Flag", ";", "for", "(", "unsigned", "i", "=", "", ";", "i", "!=", "RVLocs", ".", "size", "(", ")", ";", "++", "i", ")", "{", "CCValAssign", "&", "VA", "=", "RVLocs", "[", "i", "]", ";", "assert", "(", "VA", ".", "isRegLoc", "(", ")", "&&", "", ")", ";", "Chain", "=", "DAG", ".", "getCopyToReg", "(", "Chain", ",", "dl", ",", "VA", ".", "getLocReg", "(", ")", ",", "OutVals", "[", "i", "]", ",", "Flag", ")", ";", "Flag", "=", "Chain", ".", "getValue", "(", "", ")", ";", "}", "unsigned", "Ret", "=", "(", "CallConv", "==", "CallingConv", "::", "MBLAZE_INTR", ")", "?", "", ":", "", ";", "unsigned", "Reg", "=", "(", "CallConv", "==", "CallingConv", "::", "MBLAZE_INTR", ")", "?", "", ":", "", ";"], "ground_truth": ["SDValue", "DReg", "=", "DAG", ".", "getRegister", "(", "Reg", ",", "", ")", ";"], "File": "MBlazeISelLowering10", "Func": "LowerReturn", "Target": "MBlaze", "Target_Clf": "MPU", "Compiler_Type": "LLVM", "Idx": 136972, "Length": 187, "Cover_Rate": 0.5649546827794562} {"Template_token": ["", "SDValue", "RHS", "=", "Op", ".", "getOperand", "(", "", ")", ";", "SDValue", "TrueVal", "=", "Op", ".", "getOperand", "(", "", ")", ";", "SDValue", "FalseVal", "=", "Op", ".", "getOperand", "(", "", ")", ";", "DebugLoc", "dl", "=", "Op", ".", "getDebugLoc", "(", ")", ";", "unsigned", "Opc", ";"], "ground_truth": ["SDValue", "CompareFlag", ";"], "File": "MBlazeISelLowering10", "Func": "LowerSELECT_CC", "Target": "MBlaze", "Target_Clf": "MPU", "Compiler_Type": "LLVM", "Idx": 136973, "Length": 45, "Cover_Rate": 0.3082191780821918} {"Template_token": ["", "const", "Value", "*", "SV", "=", "cast", "<", "SrcValueSDNode", ">", "(", "Op", ".", "getOperand", "(", "", ")", ")", "->", "getValue", "(", ")", ";", "return", "DAG", ".", "getStore", "(", "Op", ".", "getOperand", "(", "", ")", ",", "dl", ",", "FI", ",", "Op", ".", "getOperand", "(", "", ")", ",", "MachinePointerInfo", "(", "SV", ")", ",", "false", ",", "false", ",", "", ")", ";"], "ground_truth": ["}"], "File": "MBlazeISelLowering10", "Func": "LowerVASTART", "Target": "MBlaze", "Target_Clf": "MPU", "Compiler_Type": "LLVM", "Idx": 136974, "Length": 58, "Cover_Rate": 0.47540983606557374} {"Template_token": ["", "const", "unsigned", "NumArgRegs", "=", "array_lengthof", "(", "ArgRegs", ")", ";", "unsigned", "Reg", "=", "State", ".", "AllocateReg", "(", "ArgRegs", ",", "NumArgRegs", ")", ";", "if", "(", "!", "Reg", ")", "return", "false", ";", "unsigned", "SizeInBytes", "=", "ValVT", ".", "getSizeInBits", "(", ")", ">>", "", ";", "State", ".", "AllocateStack", "(", "SizeInBytes", ",", "SizeInBytes", ")", ";"], "ground_truth": ["State", ".", "addLoc", "(", "CCValAssign", "::", "getReg", "(", "ValNo", ",", "ValVT", ",", "Reg", ",", "LocVT", ",", "LocInfo", ")", ")", ";"], "File": "MBlazeISelLowering14", "Func": "CC_MBlaze_AssignReg", "Target": "MBlaze", "Target_Clf": "MPU", "Compiler_Type": "LLVM", "Idx": 136975, "Length": 69, "Cover_Rate": 0.49640287769784175} {"Template_token": ["", "const", "unsigned", "NumArgRegs", "=", "array_lengthof", "(", "ArgRegs", ")", ";", "unsigned", "Reg", "=", "State", ".", "AllocateReg", "(", "ArgRegs", ",", "NumArgRegs", ")", ";", "if", "(", "!", "Reg", ")", "return", "false", ";", "unsigned", "SizeInBytes", "=", "ValVT", ".", "getSizeInBits", "(", ")", ">>", "", ";", "State", ".", "AllocateStack", "(", "SizeInBytes", ",", "SizeInBytes", ")", ";"], "ground_truth": ["State", ".", "addLoc", "(", "CCValAssign", "::", "getReg", "(", "ValNo", ",", "ValVT", ",", "Reg", ",", "LocVT", ",", "LocInfo", ")", ")", ";"], "File": "MBlazeISelLowering14", "Func": "CC_MBlaze_AssignReg", "Target": "MBlaze", "Target_Clf": "MPU", "Compiler_Type": "LLVM", "Idx": 136976, "Length": 69, "Cover_Rate": 0.49640287769784175} {"Template_token": ["", "MachineBasicBlock", "*", "finish", "=", "F", "->", "CreateMachineBasicBlock", "(", "LLVM_BB", ")", ";", "F", "->", "insert", "(", "It", ",", "loop", ")", ";", "F", "->", "insert", "(", "It", ",", "finish", ")", ";", "finish", "->", "splice", "(", "finish", "->", "begin", "(", ")", ",", "MBB", ",", "llvm", "::", "next", "(", "MachineBasicBlock", "::", "iterator", "(", "MI", ")", ")", ",", "MBB", "->", "end", "(", ")", ")", ";", "finish", "->", "transferSuccessorsAndUpdatePHIs", "(", "MBB", ")", ";", "MBB", "->", "addSuccessor", "(", "loop", ")", ";", "MBB", "->", "addSuccessor", "(", "finish", ")", ";", "loop", "->", "addSuccessor", "(", "finish", ")", ";", "loop", "->", "addSuccessor", "(", "loop", ")", ";", "unsigned", "IAMT", "=", "R", ".", "createVirtualRegister", "(", "", ")", ";", "BuildMI", "(", "MBB", ",", "dl", ",", "TII", "->", "get", "(", "", ")", ",", "IAMT", ")", ".", "addReg", "(", "MI", "->", "getOperand", "(", "", ")", ".", "getReg", "(", ")", ")", ".", "addImm", "(", "", ")", ";", "unsigned", "IVAL", "=", "R", ".", "createVirtualRegister", "(", "", ")", ";", "BuildMI", "(", "MBB", ",", "dl", ",", "TII", "->", "get", "(", "", ")", ",", "IVAL", ")", ".", "addReg", "(", "MI", "->", "getOperand", "(", "", ")", ".", "getReg", "(", ")", ")", ".", "addImm", "(", "", ")", ";", "BuildMI", "(", "MBB", ",", "dl", ",", "TII", "->", "get", "(", "", ")", ")", ".", "addReg", "(", "IAMT", ")", ".", "addMBB", "(", "finish", ")", ";", "unsigned", "DST", "=", "R", ".", "createVirtualRegister", "(", "", ")", ";", "unsigned", "NDST", "=", "R", ".", "createVirtualRegister", "(", "", ")", ";", "BuildMI", "(", "loop", ",", "dl", ",", "TII", "->", "get", "(", "", ")", ",", "DST", ")", ".", "addReg", "(", "IVAL", ")", ".", "addMBB", "(", "MBB", ")", ".", "addReg", "(", "NDST", ")", ".", "addMBB", "(", "loop", ")", ";", "unsigned", "SAMT", "=", "R", ".", "createVirtualRegister", "(", "", ")", ";", "unsigned", "NAMT", "=", "R", ".", "createVirtualRegister", "(", "", ")", ";"], "ground_truth": ["BuildMI", "(", "loop", ",", "dl", ",", "TII", "->", "get", "(", "", ")", ",", "SAMT", ")", ".", "addReg", "(", "IAMT", ")", ".", "addMBB", "(", "MBB", ")", ".", "addReg", "(", "NAMT", ")", ".", "addMBB", "(", "loop", ")", ";"], "File": "MBlazeISelLowering14", "Func": "EmitCustomShift", "Target": "MBlaze", "Target_Clf": "MPU", "Compiler_Type": "LLVM", "Idx": 136977, "Length": 321, "Cover_Rate": 0.4791044776119403} {"Template_token": ["", "std", "::", "pair", "<", "unsigned", ",", "const", "TargetRegisterClass", "*", ">", "TargetLowering", "::", "getRegForInlineAsmConstraint", "(", "const", "std", "::", "string", "&", "Constraint", ",", "EVT", "VT", ")", "const", "{", "if", "(", "Constraint", ".", "size", "(", ")", "==", "", ")", "{", "switch", "(", "Constraint", "[", "", "]", ")", "{", "case", "'r'", ":", "return", "std", "::", "make_pair", "(", "", ",", "", ")", ";", "case", "'d'", ":", "case", "'y'", ":", "case", "'f'", ":", "if", "(", "VT", "==", "", ")", "return", "std", "::", "make_pair", "(", "", ",", "", ")", ";", "}"], "ground_truth": ["}"], "File": "MBlazeISelLowering14", "Func": "getRegForInlineAsmConstraint", "Target": "MBlaze", "Target_Clf": "MPU", "Compiler_Type": "LLVM", "Idx": 136978, "Length": 85, "Cover_Rate": 0.8333333333333334} {"Template_token": ["", "MemOpChains", ".", "push_back", "(", "DAG", ".", "getStore", "(", "Chain", ",", "dl", ",", "Arg", ",", "PtrOff", ",", "MachinePointerInfo", "(", ")", ",", "false", ",", "false", ",", "", ")", ")", ";", "}", "}", "if", "(", "needsRegArgSlots", "&&", "TFI", ".", "hasReservedCallFrame", "(", "MF", ")", ")", "MFI", "->", "CreateFixedObject", "(", "", ",", "", ",", "true", ")", ";", "if", "(", "!", "MemOpChains", ".", "empty", "(", ")", ")", "Chain", "=", "DAG", ".", "getNode", "(", "", ",", "dl", ",", "", ",", "&", "MemOpChains", "[", "", "]", ",", "MemOpChains", ".", "size", "(", ")", ")", ";", "SDValue", "InFlag", ";", "for", "(", "unsigned", "i", "=", "", ",", "e", "=", "RegsToPass", ".", "size", "(", ")", ";", "i", "!=", "e", ";", "++", "i", ")", "{", "Chain", "=", "DAG", ".", "getCopyToReg", "(", "Chain", ",", "dl", ",", "RegsToPass", "[", "i", "]", ".", "first", ",", "RegsToPass", "[", "i", "]", ".", "second", ",", "InFlag", ")", ";", "InFlag", "=", "Chain", ".", "getValue", "(", "", ")", ";", "}", "if", "(", "GlobalAddressSDNode", "*", "G", "=", "dyn_cast", "<", "GlobalAddressSDNode", ">", "(", "Callee", ")", ")", "Callee", "=", "DAG", ".", "getTargetGlobalAddress", "(", "G", "->", "getGlobal", "(", ")", ",", "dl", ",", "getPointerTy", "(", ")", ",", "", ",", "", ")", ";", "else", "if", "(", "ExternalSymbolSDNode", "*", "S", "=", "dyn_cast", "<", "ExternalSymbolSDNode", ">", "(", "Callee", ")", ")", "Callee", "=", "DAG", ".", "getTargetExternalSymbol", "(", "S", "->", "getSymbol", "(", ")", ",", "getPointerTy", "(", ")", ",", "", ")", ";", "SDVTList", "NodeTys", "=", "DAG", ".", "getVTList", "(", "", ",", "", ")", ";", "SmallVector", "<", "SDValue", ",", "", ">", "Ops", ";", "Ops", ".", "push_back", "(", "Chain", ")", ";", "Ops", ".", "push_back", "(", "Callee", ")", ";", "for", "(", "unsigned", "i", "=", "", ",", "e", "=", "RegsToPass", ".", "size", "(", ")", ";", "i", "!=", "e", ";", "++", "i", ")", "{", "Ops", ".", "push_back", "(", "DAG", ".", "getRegister", "(", "RegsToPass", "[", "i", "]", ".", "first", ",", "RegsToPass", "[", "i", "]", ".", "second", ".", "getValueType", "(", ")", ")", ")", ";", "}"], "ground_truth": ["if", "(", "InFlag", ".", "getNode", "(", ")", ")", "Ops", ".", "push_back", "(", "InFlag", ")", ";"], "File": "MBlazeISelLowering14", "Func": "LowerCall", "Target": "MBlaze", "Target_Clf": "MPU", "Compiler_Type": "LLVM", "Idx": 136979, "Length": 321, "Cover_Rate": 0.3594624860022396} {"Template_token": ["", "if", "(", "VA", ".", "getLocInfo", "(", ")", "!=", "CCValAssign", "::", "Full", ")", "{", "unsigned", "Opcode", "=", "", ";", "if", "(", "VA", ".", "getLocInfo", "(", ")", "==", "CCValAssign", "::", "SExt", ")", "Opcode", "=", "", ";", "else", "if", "(", "VA", ".", "getLocInfo", "(", ")", "==", "CCValAssign", "::", "ZExt", ")", "Opcode", "=", "", ";", "if", "(", "Opcode", ")", "ArgValue", "=", "DAG", ".", "getNode", "(", "Opcode", ",", "dl", ",", "RegVT", ",", "ArgValue", ",", "DAG", ".", "getValueType", "(", "VA", ".", "getValVT", "(", ")", ")", ")", ";", "ArgValue", "=", "DAG", ".", "getNode", "(", "", ",", "dl", ",", "VA", ".", "getValVT", "(", ")", ",", "ArgValue", ")", ";", "}", "InVals", ".", "push_back", "(", "ArgValue", ")", ";", "}", "else", "{", "assert", "(", "VA", ".", "isMemLoc", "(", ")", ")", ";", "ArgRegEnd", "=", "", ";", "unsigned", "ArgSize", "=", "VA", ".", "getLocVT", "(", ")", ".", "getSizeInBits", "(", ")", "/", "", ";", "unsigned", "StackLoc", "=", "VA", ".", "getLocMemOffset", "(", ")", "+", "", ";", "int", "FI", "=", "MFI", "->", "CreateFixedObject", "(", "ArgSize", ",", "", ",", "true", ")", ";", "FI", "->", "recordLoadArgsFI", "(", "FI", ",", "-", "StackLoc", ")", ";", "FI", "->", "recordLiveIn", "(", "FI", ")", ";", "SDValue", "FIN", "=", "DAG", ".", "getFrameIndex", "(", "FI", ",", "getPointerTy", "(", ")", ")", ";", "InVals", ".", "push_back", "(", "DAG", ".", "getLoad", "(", "VA", ".", "getValVT", "(", ")", ",", "dl", ",", "Chain", ",", "FIN", ",", "MachinePointerInfo", "::", "getFixedStack", "(", "FI", ")", ",", "false", ",", "false", ",", "false", ",", "", ")", ")", ";", "}", "}", "if", "(", "(", "isVarArg", ")", "&&", "ArgRegEnd", ")", "{", "if", "(", "StackPtr", ".", "getNode", "(", ")", "==", "", ")", "StackPtr", "=", "DAG", ".", "getRegister", "(", "StackReg", ",", "getPointerTy", "(", ")", ")", ";", "TargetRegisterClass", "*", "RC", "=", "", ";", "unsigned", "Begin", "=", "getRegisterNumbering", "(", "", ")", ";", "unsigned", "Start", "=", "getRegisterNumbering", "(", "ArgRegEnd", "+", "", ")", ";", "unsigned", "End", "=", "getRegisterNumbering", "(", "", ")", ";", "unsigned", "StackLoc", "=", "Start", "-", "Begin", "+", "", ";", "for", "(", ";", "Start", "<=", "End", ";", "++", "Start", ",", "++", "StackLoc", ")", "{", "unsigned", "Reg", "=", "getRegisterFromNumbering", "(", "Start", ")", ";", "unsigned", "LiveReg", "=", "MF", ".", "addLiveIn", "(", "Reg", ",", "RC", ")", ";", "SDValue", "ArgValue", "=", "DAG", ".", "getCopyFromReg", "(", "Chain", ",", "dl", ",", "LiveReg", ",", "", ")", ";", "int", "FI", "=", "MFI", "->", "CreateFixedObject", "(", "", ",", "", ",", "true", ")", ";", "FI", "->", "recordStoreVarArgsFI", "(", "FI", ",", "-", "(", "StackLoc", "*", "", ")", ")", ";", "SDValue", "PtrOff", "=", "DAG", ".", "getFrameIndex", "(", "FI", ",", "getPointerTy", "(", ")", ")", ";", "OutChains", ".", "push_back", "(", "DAG", ".", "getStore", "(", "Chain", ",", "dl", ",", "ArgValue", ",", "PtrOff", ",", "MachinePointerInfo", "(", ")", ",", "false", ",", "false", ",", "", ")", ")", ";"], "ground_truth": ["if", "(", "!", "FI", "->", "getVarArgsFrameIndex", "(", ")", ")", "FI", "->", "setVarArgsFrameIndex", "(", "FI", ")", ";"], "File": "MBlazeISelLowering14", "Func": "LowerFormalArguments", "Target": "MBlaze", "Target_Clf": "MPU", "Compiler_Type": "LLVM", "Idx": 136980, "Length": 443, "Cover_Rate": 0.5558343789209536} {"Template_token": ["", "LowerGlobalTLSAddress", "(", "SDValue", "Op", ",", "SelectionDAG", "&", "DAG", ")", "const", "{", "llvm_unreachable", "(", "", ")", ";"], "ground_truth": ["return", "SDValue", "(", ")", ";"], "File": "MBlazeISelLowering14", "Func": "LowerGlobalTLSAddress", "Target": "MBlaze", "Target_Clf": "MPU", "Compiler_Type": "LLVM", "Idx": 136982, "Length": 21, "Cover_Rate": 0.84} {"Template_token": ["", "llvm_unreachable", "(", "", ")", ";"], "ground_truth": ["return", "SDValue", "(", ")", ";"], "File": "MBlazeISelLowering14", "Func": "LowerGlobalTLSAddress", "Target": "MBlaze", "Target_Clf": "MPU", "Compiler_Type": "LLVM", "Idx": 136983, "Length": 10, "Cover_Rate": 0.4} {"Template_token": ["", "SDValue", "Flag", ";", "for", "(", "unsigned", "i", "=", "", ";", "i", "!=", "RVLocs", ".", "size", "(", ")", ";", "++", "i", ")", "{", "CCValAssign", "&", "VA", "=", "RVLocs", "[", "i", "]", ";", "assert", "(", "VA", ".", "isRegLoc", "(", ")", "&&", "", ")", ";", "Chain", "=", "DAG", ".", "getCopyToReg", "(", "Chain", ",", "dl", ",", "VA", ".", "getLocReg", "(", ")", ",", "OutVals", "[", "i", "]", ",", "Flag", ")", ";", "Flag", "=", "Chain", ".", "getValue", "(", "", ")", ";", "}", "unsigned", "Ret", "=", "(", "CallConv", "==", "llvm", "::", "CallingConv", "::", "MBLAZE_INTR", ")", "?", "", ":", "", ";"], "ground_truth": ["unsigned", "Reg", "=", "(", "CallConv", "==", "llvm", "::", "CallingConv", "::", "MBLAZE_INTR", ")", "?", "", ":", "", ";"], "File": "MBlazeISelLowering14", "Func": "LowerReturn", "Target": "MBlaze", "Target_Clf": "MPU", "Compiler_Type": "LLVM", "Idx": 136984, "Length": 110, "Cover_Rate": 0.3283582089552239} {"Template_token": ["", "Constant", "*", "C", "=", "N", "->", "getConstVal", "(", ")", ";", "SDValue", "Zero", "=", "DAG", ".", "getConstant", "(", "", ",", "PtrVT", ")", ";", "DebugLoc", "dl", "=", "Op", ".", "getDebugLoc", "(", ")", ";", "SDValue", "CP", "=", "DAG", ".", "getTargetConstantPool", "(", "C", ",", "", ",", "N", "->", "getAlignment", "(", ")", ",", "N", "->", "getOffset", "(", ")", ",", "", ")", ";", "return", "DAG", ".", "getNode", "(", "", ",", "dl", ",", "", ",", "CP", ")", ";"], "ground_truth": ["}"], "File": "MBlazeISelLowering15", "Func": "LowerConstantPool", "Target": "MBlaze", "Target_Clf": "MPU", "Compiler_Type": "LLVM", "Idx": 136985, "Length": 72, "Cover_Rate": 0.6153846153846154} {"Template_token": ["", "SDValue", "CP", "=", "DAG", ".", "getTargetConstantPool", "(", "C", ",", "", ",", "N", "->", "getAlignment", "(", ")", ",", "N", "->", "getOffset", "(", ")", ",", "", ")", ";", "return", "DAG", ".", "getNode", "(", "", ",", "dl", ",", "", ",", "CP", ")", ";"], "ground_truth": ["}"], "File": "MBlazeISelLowering15", "Func": "LowerConstantPool", "Target": "MBlaze", "Target_Clf": "MPU", "Compiler_Type": "LLVM", "Idx": 136986, "Length": 41, "Cover_Rate": 0.3504273504273504} {"Template_token": ["", "SDValue", "TargetLowering", "::", "LowerGlobalAddress", "(", "SDValue", "Op", ",", "SelectionDAG", "&", "DAG", ")", "{", "DebugLoc", "dl", "=", "Op", ".", "getDebugLoc", "(", ")", ";", "GlobalValue", "*", "GV", "=", "cast", "<", "GlobalAddressSDNode", ">", "(", "Op", ")", "->", "getGlobal", "(", ")", ";", "SDValue", "GA", "=", "DAG", ".", "getTargetGlobalAddress", "(", "GV", ",", "", ")", ";", "return", "DAG", ".", "getNode", "(", "", ",", "dl", ",", "", ",", "GA", ")", ";"], "ground_truth": ["}"], "File": "MBlazeISelLowering15", "Func": "LowerGlobalAddress", "Target": "MBlaze", "Target_Clf": "MPU", "Compiler_Type": "LLVM", "Idx": 136987, "Length": 65, "Cover_Rate": 0.9154929577464789} {"Template_token": ["", "LowerGlobalAddress", "(", "SDValue", "Op", ",", "SelectionDAG", "&", "DAG", ")", "{", "DebugLoc", "dl", "=", "Op", ".", "getDebugLoc", "(", ")", ";", "GlobalValue", "*", "GV", "=", "cast", "<", "GlobalAddressSDNode", ">", "(", "Op", ")", "->", "getGlobal", "(", ")", ";", "SDValue", "GA", "=", "DAG", ".", "getTargetGlobalAddress", "(", "GV", ",", "", ")", ";", "return", "DAG", ".", "getNode", "(", "", ",", "dl", ",", "", ",", "GA", ")", ";"], "ground_truth": ["}"], "File": "MBlazeISelLowering15", "Func": "LowerGlobalAddress", "Target": "MBlaze", "Target_Clf": "MPU", "Compiler_Type": "LLVM", "Idx": 136988, "Length": 62, "Cover_Rate": 0.8732394366197183} {"Template_token": ["", "if", "(", "Opcode", ")", "ArgValue", "=", "DAG", ".", "getNode", "(", "Opcode", ",", "dl", ",", "RegVT", ",", "ArgValue", ",", "DAG", ".", "getValueType", "(", "VA", ".", "getValVT", "(", ")", ")", ")", ";", "ArgValue", "=", "DAG", ".", "getNode", "(", "", ",", "dl", ",", "VA", ".", "getValVT", "(", ")", ",", "ArgValue", ")", ";", "}", "InVals", ".", "push_back", "(", "ArgValue", ")", ";", "}", "else", "{", "assert", "(", "VA", ".", "isMemLoc", "(", ")", ")", ";", "ArgRegEnd", "=", "", ";", "unsigned", "ArgSize", "=", "VA", ".", "getLocVT", "(", ")", ".", "getSizeInBits", "(", ")", "/", "", ";", "unsigned", "StackLoc", "=", "VA", ".", "getLocMemOffset", "(", ")", "+", "", ";", "int", "FI", "=", "MFI", "->", "CreateFixedObject", "(", "ArgSize", ",", "", ",", "true", ")", ";", "FI", "->", "recordLoadArgsFI", "(", "FI", ",", "-", "StackLoc", ")", ";", "FI", "->", "recordLiveIn", "(", "FI", ")", ";", "SDValue", "FIN", "=", "DAG", ".", "getFrameIndex", "(", "FI", ",", "getPointerTy", "(", ")", ")", ";", "InVals", ".", "push_back", "(", "DAG", ".", "getLoad", "(", "VA", ".", "getValVT", "(", ")", ",", "dl", ",", "Chain", ",", "FIN", ",", "MachinePointerInfo", "::", "getFixedStack", "(", "FI", ")", ",", "false", ",", "false", ",", "", ")", ")", ";", "}", "}", "if", "(", "(", "isVarArg", ")", "&&", "ArgRegEnd", ")", "{", "if", "(", "StackPtr", ".", "getNode", "(", ")", "==", "", ")", "StackPtr", "=", "DAG", ".", "getRegister", "(", "StackReg", ",", "getPointerTy", "(", ")", ")", ";", "TargetRegisterClass", "*", "RC", "=", "", ";", "unsigned", "Begin", "=", "getRegisterNumbering", "(", "", ")", ";", "unsigned", "Start", "=", "getRegisterNumbering", "(", "ArgRegEnd", "+", "", ")", ";", "unsigned", "End", "=", "getRegisterNumbering", "(", "", ")", ";", "unsigned", "StackLoc", "=", "Start", "-", "Begin", "+", "", ";", "for", "(", ";", "Start", "<=", "End", ";", "++", "Start", ",", "++", "StackLoc", ")", "{", "unsigned", "Reg", "=", "getRegisterFromNumbering", "(", "Start", ")", ";", "unsigned", "LiveReg", "=", "MF", ".", "addLiveIn", "(", "Reg", ",", "RC", ")", ";", "SDValue", "ArgValue", "=", "DAG", ".", "getCopyFromReg", "(", "Chain", ",", "dl", ",", "LiveReg", ",", "", ")", ";"], "ground_truth": ["int", "FI", "=", "MFI", "->", "CreateFixedObject", "(", "", ",", "", ",", "true", ")", ";"], "File": "MBlazeISelLowering16", "Func": "LowerFormalArguments", "Target": "MBlaze", "Target_Clf": "MPU", "Compiler_Type": "LLVM", "Idx": 136989, "Length": 318, "Cover_Rate": 0.4} {"Template_token": ["", "unsigned", "StackReg", "=", "MF", ".", "getTarget", "(", ")", ".", "getRegisterInfo", "(", ")", "->", "getFrameRegister", "(", "MF", ")", ";", "FI", "->", "setVarArgsFrameIndex", "(", "", ")", ";", "std", "::", "vector", "<", "SDValue", ">", "OutChains", ";", "unsigned", "ArgRegEnd", "=", "", ";", "SmallVector", "<", "CCValAssign", ",", "", ">", "ArgLocs", ";", "CCState", "CCInfo", "(", "CallConv", ",", "isVarArg", ",", "DAG", ".", "getMachineFunction", "(", ")", ",", "getTargetMachine", "(", ")", ",", "ArgLocs", ",", "*", "DAG", ".", "getContext", "(", ")", ")", ";", "CCInfo", ".", "AnalyzeFormalArguments", "(", "Ins", ",", "CC_", ")", ";", "SDValue", "StackPtr", ";", "for", "(", "unsigned", "i", "=", "", ",", "e", "=", "ArgLocs", ".", "size", "(", ")", ";", "i", "!=", "e", ";", "++", "i", ")", "{", "CCValAssign", "&", "VA", "=", "ArgLocs", "[", "i", "]", ";", "if", "(", "VA", ".", "isRegLoc", "(", ")", ")", "{", "MVT", "RegVT", "=", "VA", ".", "getLocVT", "(", ")", ";", "ArgRegEnd", "=", "VA", ".", "getLocReg", "(", ")", ";", "const", "TargetRegisterClass", "*", "RC", ";", "if", "(", "RegVT", "==", "", ")", "RC", "=", "", ";", "else", "if", "(", "RegVT", "==", "", ")", "RC", "=", "", ";", "else", "llvm_unreachable", "(", "", ")", ";", "unsigned", "Reg", "=", "MF", ".", "addLiveIn", "(", "ArgRegEnd", ",", "RC", ")", ";", "SDValue", "ArgValue", "=", "DAG", ".", "getCopyFromReg", "(", "Chain", ",", "dl", ",", "Reg", ",", "RegVT", ")", ";", "if", "(", "VA", ".", "getLocInfo", "(", ")", "!=", "CCValAssign", "::", "Full", ")", "{", "unsigned", "Opcode", "=", "", ";", "if", "(", "VA", ".", "getLocInfo", "(", ")", "==", "CCValAssign", "::", "SExt", ")", "Opcode", "=", "", ";", "else", "if", "(", "VA", ".", "getLocInfo", "(", ")", "==", "CCValAssign", "::", "ZExt", ")", "Opcode", "=", "", ";", "if", "(", "Opcode", ")", "ArgValue", "=", "DAG", ".", "getNode", "(", "Opcode", ",", "dl", ",", "RegVT", ",", "ArgValue", ",", "DAG", ".", "getValueType", "(", "VA", ".", "getValVT", "(", ")", ")", ")", ";", "ArgValue", "=", "DAG", ".", "getNode", "(", "", ",", "dl", ",", "VA", ".", "getValVT", "(", ")", ",", "ArgValue", ")", ";", "}", "InVals", ".", "push_back", "(", "ArgValue", ")", ";", "}", "else", "{", "assert", "(", "VA", ".", "isMemLoc", "(", ")", ")", ";", "ArgRegEnd", "=", "", ";", "unsigned", "ArgSize", "=", "VA", ".", "getLocVT", "(", ")", ".", "getSizeInBits", "(", ")", "/", "", ";", "unsigned", "StackLoc", "=", "VA", ".", "getLocMemOffset", "(", ")", "+", "", ";", "int", "FI", "=", "MFI", "->", "CreateFixedObject", "(", "ArgSize", ",", "", ",", "true", ")", ";", "FI", "->", "recordLoadArgsFI", "(", "FI", ",", "-", "StackLoc", ")", ";", "FI", "->", "recordLiveIn", "(", "FI", ")", ";", "SDValue", "FIN", "=", "DAG", ".", "getFrameIndex", "(", "FI", ",", "getPointerTy", "(", ")", ")", ";", "InVals", ".", "push_back", "(", "DAG", ".", "getLoad", "(", "VA", ".", "getValVT", "(", ")", ",", "dl", ",", "Chain", ",", "FIN", ",", "MachinePointerInfo", "::", "getFixedStack", "(", "FI", ")", ",", "false", ",", "false", ",", "false", ",", "", ")", ")", ";", "}", "}", "if", "(", "(", "isVarArg", ")", "&&", "ArgRegEnd", ")", "{", "if", "(", "StackPtr", ".", "getNode", "(", ")", "==", "", ")", "StackPtr", "=", "DAG", ".", "getRegister", "(", "StackReg", ",", "getPointerTy", "(", ")", ")", ";"], "ground_truth": ["const", "TargetRegisterClass", "*", "RC", "=", "", ";"], "File": "MBlazeISelLowering18", "Func": "LowerFormalArguments", "Target": "MBlaze", "Target_Clf": "MPU", "Compiler_Type": "LLVM", "Idx": 136990, "Length": 476, "Cover_Rate": 0.5972396486825596} {"Template_token": ["", "setOperationAction", "(", "", ",", "", ",", "Expand", ")", ";", "setOperationAction", "(", "", ",", "", ",", "Expand", ")", ";", "setOperationAction", "(", "", ",", "", ",", "Expand", ")", ";", "setOperationAction", "(", "", ",", "", ",", "Expand", ")", ";", "if", "(", "!", "Subtarget", "->", "hasMul", "(", ")", ")", "{", "setOperationAction", "(", "", ",", "", ",", "Expand", ")", ";", "}", "if", "(", "!", "Subtarget", "->", "hasMul", "(", ")", "||", "!", "Subtarget", "->", "hasMul64", "(", ")", ")", "{", "setOperationAction", "(", "", ",", "", ",", "Expand", ")", ";", "setOperationAction", "(", "", ",", "", ",", "Expand", ")", ";", "setOperationAction", "(", "", ",", "", ",", "Expand", ")", ";", "setOperationAction", "(", "", ",", "", ",", "Expand", ")", ";", "}", "if", "(", "!", "Subtarget", "->", "hasDiv", "(", ")", ")", "{", "setOperationAction", "(", "", ",", "", ",", "Expand", ")", ";", "setOperationAction", "(", "", ",", "", ",", "Expand", ")", ";", "}", "setOperationAction", "(", "", ",", "", ",", "Expand", ")", ";", "setOperationAction", "(", "", ",", "", ",", "Expand", ")", ";", "setOperationAction", "(", "", ",", "", ",", "Expand", ")", ";", "setOperationAction", "(", "", ",", "", ",", "Expand", ")", ";", "setOperationAction", "(", "", ",", "", ",", "Expand", ")", ";", "setOperationAction", "(", "", ",", "", ",", "Expand", ")", ";", "setOperationAction", "(", "", ",", "", ",", "Expand", ")", ";", "AddPromotedToType", "(", "", ",", "", ",", "", ")", ";", "AddPromotedToType", "(", "", ",", "", ",", "", ")", ";", "AddPromotedToType", "(", "", ",", "", ",", "", ")", ";", "setOperationAction", "(", "", ",", "", ",", "Custom", ")", ";", "setOperationAction", "(", "", ",", "", ",", "Custom", ")", ";", "setOperationAction", "(", "", ",", "", ",", "Custom", ")", ";", "setOperationAction", "(", "", ",", "", ",", "Custom", ")", ";", "setOperationAction", "(", "", ",", "", ",", "Custom", ")", ";", "setOperationAction", "(", "", ",", "", ",", "Expand", ")", ";", "setOperationAction", "(", "", ",", "", ",", "Expand", ")", ";", "setOperationAction", "(", "", ",", "", ",", "Expand", ")", ";", "setOperationAction", "(", "", ",", "", ",", "Expand", ")", ";", "setOperationAction", "(", "", ",", "", ",", "Expand", ")", ";"], "ground_truth": ["setOperationAction", "(", "", ",", "", ",", "Expand", ")", ";"], "File": "MBlazeISelLowering18", "Func": "MBlazeTargetLowering", "Target": "MBlaze", "Target_Clf": "MPU", "Compiler_Type": "LLVM", "Idx": 136991, "Length": 328, "Cover_Rate": 0.30230414746543777} {"Template_token": ["", "TargetLowering", "::", "ConstraintType", "TargetLowering", "::", "getConstraintType", "(", "const", "std", "::", "string", "&", "Constraint", ")", "const", "{", "if", "(", "Constraint", ".", "size", "(", ")", "==", "", ")", "{", "switch", "(", "Constraint", "[", "", "]", ")", "{", "default", ":", "break", ";", "case", "'d'", ":", "case", "'y'", ":", "case", "'f'", ":", "return", "C_RegisterClass", ";", "break", ";"], "ground_truth": ["}"], "File": "MBlazeISelLowering1", "Func": "getConstraintType", "Target": "MBlaze", "Target_Clf": "MPU", "Compiler_Type": "LLVM", "Idx": 136993, "Length": 54, "Cover_Rate": 0.84375} {"Template_token": ["", "unsigned", "TargetLowering", "::", "getFunctionAlignment", "(", "const", "Function", "*", ")", "const", "{", "return", "", ";"], "ground_truth": ["}"], "File": "MBlazeISelLowering1", "Func": "getFunctionAlignment", "Target": "MBlaze", "Target_Clf": "MPU", "Compiler_Type": "LLVM", "Idx": 136994, "Length": 15, "Cover_Rate": 1.0} {"Template_token": ["", "return", "std", "::", "make_pair", "(", "", ",", "", ")", ";", "case", "'f'", ":"], "ground_truth": ["if", "(", "VT", "==", "", ")", "return", "std", "::", "make_pair", "(", "", ",", "", ")", ";"], "File": "MBlazeISelLowering1", "Func": "getRegForInlineAsmConstraint", "Target": "MBlaze", "Target_Clf": "MPU", "Compiler_Type": "LLVM", "Idx": 136996, "Length": 29, "Cover_Rate": 0.3020833333333333} {"Template_token": ["", "return", "std", "::", "make_pair", "(", "", ",", "", ")", ";", "case", "'f'", ":", "if", "(", "VT", "==", "", ")", "return", "std", "::", "make_pair", "(", "", ",", "", ")", ";"], "ground_truth": ["}"], "File": "MBlazeISelLowering1", "Func": "getRegForInlineAsmConstraint", "Target": "MBlaze", "Target_Clf": "MPU", "Compiler_Type": "LLVM", "Idx": 136997, "Length": 30, "Cover_Rate": 0.3125} {"Template_token": ["", "", "TargetLowering", "::", "getSetCCResultType", "(", "EVT", "VT", ")", "const", "{"], "ground_truth": ["return", "", ";"], "File": "MBlazeISelLowering1", "Func": "getSetCCResultType", "Target": "MBlaze", "Target_Clf": "MPU", "Compiler_Type": "LLVM", "Idx": 136999, "Length": 13, "Cover_Rate": 0.7222222222222222} {"Template_token": ["", "SDValue", "TargetLowering", "::", "LowerCall", "(", "SDValue", "Chain", ",", "SDValue", "Callee", ",", "CallingConv", "::", "ID", "CallConv", ",", "bool", "isVarArg", ",", "bool", "&", "isTailCall", ",", "const", "SmallVectorImpl", "<", "", ">", "&", "Outs", ",", "const", "SmallVectorImpl", "<", "", ">", "&", "Ins", ",", "DebugLoc", "dl", ",", "SelectionDAG", "&", "DAG", ",", "SmallVectorImpl", "<", "SDValue", ">", "&", "InVals", ")", "{", "isTailCall", "=", "false", ";", "MachineFunction", "&", "MF", "=", "DAG", ".", "getMachineFunction", "(", ")", ";", "MachineFrameInfo", "*", "MFI", "=", "MF", ".", "getFrameInfo", "(", ")", ";", "SmallVector", "<", "CCValAssign", ",", "", ">", "ArgLocs", ";", "CCState", "CCInfo", "(", "CallConv", ",", "isVarArg", ",", "getTargetMachine", "(", ")", ",", "ArgLocs", ",", "*", "DAG", ".", "getContext", "(", ")", ")", ";", "CCInfo", ".", "AnalyzeCallOperands", "(", "Outs", ",", "CC_2", ")", ";", "unsigned", "NumBytes", "=", "CCInfo", ".", "getNextStackOffset", "(", ")", ";", "Chain", "=", "DAG", ".", "getCALLSEQ_START", "(", "Chain", ",", "DAG", ".", "getIntPtrConstant", "(", "NumBytes", ",", "true", ")", ")", ";", "SmallVector", "<", "std", "::", "pair", "<", "unsigned", ",", "SDValue", ">", ",", "", ">", "RegsToPass", ";", "SmallVector", "<", "SDValue", ",", "", ">", "MemOpChains", ";", "int", "LastArgStackLoc", "=", "", ";", "unsigned", "FirstStackArgLoc", "=", "", ";", "for", "(", "unsigned", "i", "=", "", ",", "e", "=", "ArgLocs", ".", "size", "(", ")", ";", "i", "!=", "e", ";", "++", "i", ")", "{", "CCValAssign", "&", "VA", "=", "ArgLocs", "[", "i", "]", ";", "EVT", "RegVT", "=", "VA", ".", "getLocVT", "(", ")", ";", "SDValue", "Arg", "=", "Outs", "[", "i", "]", ".", "Val", ";", "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", ";", "}", "if", "(", "VA", ".", "isRegLoc", "(", ")", ")", "{", "RegsToPass", ".", "push_back", "(", "std", "::", "make_pair", "(", "VA", ".", "getLocReg", "(", ")", ",", "Arg", ")", ")", ";", "}", "else", "{", "assert", "(", "VA", ".", "isMemLoc", "(", ")", ")", ";", "LastArgStackLoc", "=", "(", "FirstStackArgLoc", "+", "VA", ".", "getLocMemOffset", "(", ")", ")", ";", "int", "FI", "=", "MFI", "->", "CreateFixedObject", "(", "VA", ".", "getValVT", "(", ")", ".", "getSizeInBits", "(", ")", "/", "", ",", "LastArgStackLoc", ",", "true", ",", "false", ")", ";", "SDValue", "PtrOff", "=", "DAG", ".", "getFrameIndex", "(", "FI", ",", "getPointerTy", "(", ")", ")", ";", "MemOpChains", ".", "push_back", "(", "DAG", ".", "getStore", "(", "Chain", ",", "dl", ",", "Arg", ",", "PtrOff", ",", "NULL", ",", "", ",", "false", ",", "false", ",", "", ")", ")", ";"], "ground_truth": ["}"], "File": "MBlazeISelLowering1", "Func": "LowerCall", "Target": "MBlaze", "Target_Clf": "MPU", "Compiler_Type": "LLVM", "Idx": 137000, "Length": 437, "Cover_Rate": 0.5233532934131736} {"Template_token": ["", "RegsToPass", ".", "push_back", "(", "std", "::", "make_pair", "(", "VA", ".", "getLocReg", "(", ")", ",", "Arg", ")", ")", ";", "}", "else", "{", "assert", "(", "VA", ".", "isMemLoc", "(", ")", ")", ";", "LastArgStackLoc", "=", "(", "FirstStackArgLoc", "+", "VA", ".", "getLocMemOffset", "(", ")", ")", ";", "int", "FI", "=", "MFI", "->", "CreateFixedObject", "(", "VA", ".", "getValVT", "(", ")", ".", "getSizeInBits", "(", ")", "/", "", ",", "LastArgStackLoc", ",", "true", ",", "false", ")", ";", "SDValue", "PtrOff", "=", "DAG", ".", "getFrameIndex", "(", "FI", ",", "getPointerTy", "(", ")", ")", ";", "MemOpChains", ".", "push_back", "(", "DAG", ".", "getStore", "(", "Chain", ",", "dl", ",", "Arg", ",", "PtrOff", ",", "NULL", ",", "", ",", "false", ",", "false", ",", "", ")", ")", ";", "}", "}", "if", "(", "!", "MemOpChains", ".", "empty", "(", ")", ")", "Chain", "=", "DAG", ".", "getNode", "(", "", ",", "dl", ",", "", ",", "&", "MemOpChains", "[", "", "]", ",", "MemOpChains", ".", "size", "(", ")", ")", ";", "SDValue", "InFlag", ";", "for", "(", "unsigned", "i", "=", "", ",", "e", "=", "RegsToPass", ".", "size", "(", ")", ";", "i", "!=", "e", ";", "++", "i", ")", "{", "Chain", "=", "DAG", ".", "getCopyToReg", "(", "Chain", ",", "dl", ",", "RegsToPass", "[", "i", "]", ".", "first", ",", "RegsToPass", "[", "i", "]", ".", "second", ",", "InFlag", ")", ";", "InFlag", "=", "Chain", ".", "getValue", "(", "", ")", ";", "}", "unsigned", "char", "OpFlag", "=", "", ";", "if", "(", "GlobalAddressSDNode", "*", "G", "=", "dyn_cast", "<", "GlobalAddressSDNode", ">", "(", "Callee", ")", ")", "Callee", "=", "DAG", ".", "getTargetGlobalAddress", "(", "G", "->", "getGlobal", "(", ")", ",", "getPointerTy", "(", ")", ",", "", ",", "OpFlag", ")", ";", "else", "if", "(", "ExternalSymbolSDNode", "*", "S", "=", "dyn_cast", "<", "ExternalSymbolSDNode", ">", "(", "Callee", ")", ")", "Callee", "=", "DAG", ".", "getTargetExternalSymbol", "(", "S", "->", "getSymbol", "(", ")", ",", "getPointerTy", "(", ")", ",", "OpFlag", ")", ";", "SDVTList", "NodeTys", "=", "DAG", ".", "getVTList", "(", "", ",", "", ")", ";", "SmallVector", "<", "SDValue", ",", "", ">", "Ops", ";", "Ops", ".", "push_back", "(", "Chain", ")", ";", "Ops", ".", "push_back", "(", "Callee", ")", ";", "for", "(", "unsigned", "i", "=", "", ",", "e", "=", "RegsToPass", ".", "size", "(", ")", ";", "i", "!=", "e", ";", "++", "i", ")", "{", "Ops", ".", "push_back", "(", "DAG", ".", "getRegister", "(", "RegsToPass", "[", "i", "]", ".", "first", ",", "RegsToPass", "[", "i", "]", ".", "second", ".", "getValueType", "(", ")", ")", ")", ";", "}", "if", "(", "InFlag", ".", "getNode", "(", ")", ")", "Ops", ".", "push_back", "(", "InFlag", ")", ";", "Chain", "=", "DAG", ".", "getNode", "(", "", ",", "dl", ",", "NodeTys", ",", "&", "Ops", "[", "", "]", ",", "Ops", ".", "size", "(", ")", ")", ";", "InFlag", "=", "Chain", ".", "getValue", "(", "", ")", ";", "Chain", "=", "DAG", ".", "getCALLSEQ_END", "(", "Chain", ",", "DAG", ".", "getIntPtrConstant", "(", "NumBytes", ",", "true", ")", ",", "DAG", ".", "getIntPtrConstant", "(", "", ",", "true", ")", ",", "InFlag", ")", ";", "if", "(", "!", "Ins", ".", "empty", "(", ")", ")", "InFlag", "=", "Chain", ".", "getValue", "(", "", ")", ";"], "ground_truth": ["return", "LowerCallResult", "(", "Chain", ",", "InFlag", ",", "CallConv", ",", "isVarArg", ",", "Ins", ",", "dl", ",", "DAG", ",", "InVals", ")", ";"], "File": "MBlazeISelLowering1", "Func": "LowerCall", "Target": "MBlaze", "Target_Clf": "MPU", "Compiler_Type": "LLVM", "Idx": 137001, "Length": 486, "Cover_Rate": 0.5820359281437125} {"Template_token": ["", "for", "(", "unsigned", "i", "=", "", ";", "i", "!=", "RVLocs", ".", "size", "(", ")", ";", "++", "i", ")", "{", "Chain", "=", "DAG", ".", "getCopyFromReg", "(", "Chain", ",", "dl", ",", "RVLocs", "[", "i", "]", ".", "getLocReg", "(", ")", ",", "RVLocs", "[", "i", "]", ".", "getValVT", "(", ")", ",", "InFlag", ")", ".", "getValue", "(", "", ")", ";", "InFlag", "=", "Chain", ".", "getValue", "(", "", ")", ";", "InVals", ".", "push_back", "(", "Chain", ".", "getValue", "(", "", ")", ")", ";", "}"], "ground_truth": ["return", "Chain", ";"], "File": "MBlazeISelLowering1", "Func": "LowerCallResult", "Target": "MBlaze", "Target_Clf": "MPU", "Compiler_Type": "LLVM", "Idx": 137002, "Length": 80, "Cover_Rate": 0.49079754601226994} {"Template_token": ["", "CCState", "CCInfo", "(", "CallConv", ",", "isVarArg", ",", "getTargetMachine", "(", ")", ",", "RVLocs", ",", "*", "DAG", ".", "getContext", "(", ")", ")", ";", "CCInfo", ".", "AnalyzeCallResult", "(", "Ins", ",", "RetCC_", ")", ";", "for", "(", "unsigned", "i", "=", "", ";", "i", "!=", "RVLocs", ".", "size", "(", ")", ";", "++", "i", ")", "{", "Chain", "=", "DAG", ".", "getCopyFromReg", "(", "Chain", ",", "dl", ",", "RVLocs", "[", "i", "]", ".", "getLocReg", "(", ")", ",", "RVLocs", "[", "i", "]", ".", "getValVT", "(", ")", ",", "InFlag", ")", ".", "getValue", "(", "", ")", ";", "InFlag", "=", "Chain", ".", "getValue", "(", "", ")", ";"], "ground_truth": ["InVals", ".", "push_back", "(", "Chain", ".", "getValue", "(", "", ")", ")", ";"], "File": "MBlazeISelLowering1", "Func": "LowerCallResult", "Target": "MBlaze", "Target_Clf": "MPU", "Compiler_Type": "LLVM", "Idx": 137003, "Length": 106, "Cover_Rate": 0.6503067484662577} {"Template_token": ["", "ConstantPoolSDNode", "*", "N", "=", "cast", "<", "ConstantPoolSDNode", ">", "(", "Op", ")", ";", "const", "Constant", "*", "C", "=", "N", "->", "getConstVal", "(", ")", ";", "SDValue", "Zero", "=", "DAG", ".", "getConstant", "(", "", ",", "PtrVT", ")", ";", "DebugLoc", "dl", "=", "Op", ".", "getDebugLoc", "(", ")", ";", "SDValue", "CP", "=", "DAG", ".", "getTargetConstantPool", "(", "C", ",", "", ",", "N", "->", "getAlignment", "(", ")", ",", "N", "->", "getOffset", "(", ")", ",", "", ")", ";", "return", "DAG", ".", "getNode", "(", "", ",", "dl", ",", "", ",", "CP", ")", ";"], "ground_truth": ["}"], "File": "MBlazeISelLowering1", "Func": "LowerConstantPool", "Target": "MBlaze", "Target_Clf": "MPU", "Compiler_Type": "LLVM", "Idx": 137004, "Length": 85, "Cover_Rate": 0.7203389830508474} {"Template_token": ["", "DebugLoc", "dl", "=", "Op", ".", "getDebugLoc", "(", ")", ";", "const", "GlobalValue", "*", "GV", "=", "cast", "<", "GlobalAddressSDNode", ">", "(", "Op", ")", "->", "getGlobal", "(", ")", ";"], "ground_truth": ["SDValue", "GA", "=", "DAG", ".", "getTargetGlobalAddress", "(", "GV", ",", "", ")", ";"], "File": "MBlazeISelLowering1", "Func": "LowerGlobalAddress", "Target": "MBlaze", "Target_Clf": "MPU", "Compiler_Type": "LLVM", "Idx": 137006, "Length": 38, "Cover_Rate": 0.5277777777777778} {"Template_token": ["", "SDValue", "TargetLowering", "::", "LowerGlobalTLSAddress", "(", "SDValue", "Op", ",", "SelectionDAG", "&", "DAG", ")", "{", "llvm_unreachable", "(", "", ")", ";"], "ground_truth": ["return", "SDValue", "(", ")", ";"], "File": "MBlazeISelLowering1", "Func": "LowerGlobalTLSAddress", "Target": "MBlaze", "Target_Clf": "MPU", "Compiler_Type": "LLVM", "Idx": 137007, "Length": 23, "Cover_Rate": 0.9583333333333334} {"Template_token": ["", "llvm_unreachable", "(", "", ")", ";"], "ground_truth": ["return", "SDValue", "(", ")", ";"], "File": "MBlazeISelLowering1", "Func": "LowerGlobalTLSAddress", "Target": "MBlaze", "Target_Clf": "MPU", "Compiler_Type": "LLVM", "Idx": 137008, "Length": 10, "Cover_Rate": 0.4166666666666667} {"Template_token": ["", "SDValue", "HiPart", ";", "DebugLoc", "dl", "=", "Op", ".", "getDebugLoc", "(", ")", ";", "bool", "IsPIC", "=", "getTargetMachine", "(", ")", ".", "getRelocationModel", "(", ")", "==", "Reloc", "::", "PIC_", ";", "unsigned", "char", "OpFlag", "=", "IsPIC", "?", "", ":", "", ";"], "ground_truth": ["EVT", "PtrVT", "=", "Op", ".", "getValueType", "(", ")", ";"], "File": "MBlazeISelLowering1", "Func": "LowerJumpTable", "Target": "MBlaze", "Target_Clf": "MPU", "Compiler_Type": "LLVM", "Idx": 137009, "Length": 46, "Cover_Rate": 0.4} {"Template_token": ["", "case", "", ":", "return", "LowerConstantPool", "(", "Op", ",", "DAG", ")", ";", "case", "", ":", "return", "LowerGlobalAddress", "(", "Op", ",", "DAG", ")", ";", "case", "", ":", "return", "LowerGlobalTLSAddress", "(", "Op", ",", "DAG", ")", ";", "case", "", ":", "return", "LowerJumpTable", "(", "Op", ",", "DAG", ")", ";", "case", "", ":", "return", "LowerSELECT_CC", "(", "Op", ",", "DAG", ")", ";", "case", "", ":", "return", "LowerVASTART", "(", "Op", ",", "DAG", ")", ";"], "ground_truth": ["}"], "File": "MBlazeISelLowering1", "Func": "LowerOperation", "Target": "MBlaze", "Target_Clf": "MPU", "Compiler_Type": "LLVM", "Idx": 137010, "Length": 67, "Cover_Rate": 0.6261682242990654} {"Template_token": ["", "SDValue", "FalseVal", "=", "Op", ".", "getOperand", "(", "", ")", ";", "DebugLoc", "dl", "=", "Op", ".", "getDebugLoc", "(", ")", ";", "unsigned", "Opc", ";", "SDValue", "CompareFlag", ";", "if", "(", "LHS", ".", "getValueType", "(", ")", "==", "", ")", "{", "Opc", "=", "", ";"], "ground_truth": ["CompareFlag", "=", "DAG", ".", "getNode", "(", "", ",", "dl", ",", "", ",", "LHS", ",", "RHS", ")", ".", "getValue", "(", "", ")", ";"], "File": "MBlazeISelLowering1", "Func": "LowerSELECT_CC", "Target": "MBlaze", "Target_Clf": "MPU", "Compiler_Type": "LLVM", "Idx": 137011, "Length": 62, "Cover_Rate": 0.42758620689655175} {"Template_token": ["", "SDValue", "FI", "=", "DAG", ".", "getFrameIndex", "(", "VarArgsFrameIndex", ",", "getPointerTy", "(", ")", ")", ";"], "ground_truth": ["const", "Value", "*", "SV", "=", "cast", "<", "SrcValueSDNode", ">", "(", "Op", ".", "getOperand", "(", "", ")", ")", "->", "getValue", "(", ")", ";"], "File": "MBlazeISelLowering1", "Func": "LowerVASTART", "Target": "MBlaze", "Target_Clf": "MPU", "Compiler_Type": "LLVM", "Idx": 137012, "Length": 36, "Cover_Rate": 0.3870967741935484} {"Template_token": ["", "return", "DAG", ".", "getStore", "(", "Op", ".", "getOperand", "(", "", ")", ",", "dl", ",", "FI", ",", "Op", ".", "getOperand", "(", "", ")", ",", "SV", ",", "", ",", "false", ",", "false", ",", "", ")", ";"], "ground_truth": ["}"], "File": "MBlazeISelLowering1", "Func": "LowerVASTART", "Target": "MBlaze", "Target_Clf": "MPU", "Compiler_Type": "LLVM", "Idx": 137013, "Length": 35, "Cover_Rate": 0.3763440860215054} {"Template_token": ["", "}", "setOperationAction", "(", "", ",", "", ",", "Expand", ")", ";", "setOperationAction", "(", "", ",", "", ",", "Expand", ")", ";", "setOperationAction", "(", "", ",", "", ",", "Expand", ")", ";", "setOperationAction", "(", "", ",", "", ",", "Expand", ")", ";", "setOperationAction", "(", "", ",", "", ",", "Expand", ")", ";", "setOperationAction", "(", "", ",", "", ",", "Expand", ")", ";", "setOperationAction", "(", "", ",", "", ",", "Expand", ")", ";", "setOperationAction", "(", "", ",", "", ",", "Expand", ")", ";", "setOperationAction", "(", "", ",", "", ",", "Expand", ")", ";", "setOperationAction", "(", "", ",", "", ",", "Expand", ")", ";", "setOperationAction", "(", "", ",", "", ",", "Expand", ")", ";", "setOperationAction", "(", "", ",", "", ",", "Expand", ")", ";", "setOperationAction", "(", "", ",", "", ",", "Expand", ")", ";", "setOperationAction", "(", "", ",", "", ",", "Expand", ")", ";", "setOperationAction", "(", "", ",", "", ",", "Expand", ")", ";", "setOperationAction", "(", "", ",", "", ",", "Expand", ")", ";", "setOperationAction", "(", "", ",", "", ",", "Expand", ")", ";", "setLoadExtAction", "(", "", ",", "", ",", "Promote", ")", ";", "setLoadExtAction", "(", "", ",", "", ",", "Promote", ")", ";", "setLoadExtAction", "(", "", ",", "", ",", "Promote", ")", ";", "setOperationAction", "(", "", ",", "", ",", "Expand", ")", ";", "setOperationAction", "(", "", ",", "", ",", "Expand", ")", ";", "setOperationAction", "(", "", ",", "", ",", "Expand", ")", ";", "setOperationAction", "(", "", ",", "", ",", "Expand", ")", ";", "if", "(", "!", "Subtarget", "->", "hasMul", "(", ")", ")", "{", "setOperationAction", "(", "", ",", "", ",", "Expand", ")", ";", "}", "if", "(", "!", "Subtarget", "->", "hasMul", "(", ")", "||", "!", "Subtarget", "->", "hasMul64", "(", ")", ")", "{", "setOperationAction", "(", "", ",", "", ",", "Expand", ")", ";", "setOperationAction", "(", "", ",", "", ",", "Expand", ")", ";", "setOperationAction", "(", "", ",", "", ",", "Expand", ")", ";", "setOperationAction", "(", "", ",", "", ",", "Expand", ")", ";", "}", "if", "(", "!", "Subtarget", "->", "hasDiv", "(", ")", ")", "{", "setOperationAction", "(", "", ",", "", ",", "Expand", ")", ";", "setOperationAction", "(", "", ",", "", ",", "Expand", ")", ";", "}", "setOperationAction", "(", "", ",", "", ",", "Expand", ")", ";", "setOperationAction", "(", "", ",", "", ",", "Expand", ")", ";", "setOperationAction", "(", "", ",", "", ",", "Expand", ")", ";", "setOperationAction", "(", "", ",", "", ",", "Expand", ")", ";", "setOperationAction", "(", "", ",", "", ",", "Expand", ")", ";", "setOperationAction", "(", "", ",", "", ",", "Expand", ")", ";", "setOperationAction", "(", "", ",", "", ",", "Expand", ")", ";", "AddPromotedToType", "(", "", ",", "", ",", "", ")", ";", "AddPromotedToType", "(", "", ",", "", ",", "", ")", ";", "AddPromotedToType", "(", "", ",", "", ",", "", ")", ";", "setOperationAction", "(", "", ",", "", ",", "Custom", ")", ";"], "ground_truth": ["setOperationAction", "(", "", ",", "", ",", "Custom", ")", ";"], "File": "MBlazeISelLowering1", "Func": "MBlazeTargetLowering", "Target": "MBlaze", "Target_Clf": "MPU", "Compiler_Type": "LLVM", "Idx": 137014, "Length": 428, "Cover_Rate": 0.41837732160312807} {"Template_token": ["", "}", "}", "if", "(", "needsRegArgSlots", "&&", "TFI", ".", "hasReservedCallFrame", "(", "MF", ")", ")", "MFI", "->", "CreateFixedObject", "(", "", ",", "", ",", "true", ")", ";", "if", "(", "!", "MemOpChains", ".", "empty", "(", ")", ")", "Chain", "=", "DAG", ".", "getNode", "(", "", ",", "dl", ",", "", ",", "&", "MemOpChains", "[", "", "]", ",", "MemOpChains", ".", "size", "(", ")", ")", ";", "SDValue", "InFlag", ";", "for", "(", "unsigned", "i", "=", "", ",", "e", "=", "RegsToPass", ".", "size", "(", ")", ";", "i", "!=", "e", ";", "++", "i", ")", "{", "Chain", "=", "DAG", ".", "getCopyToReg", "(", "Chain", ",", "dl", ",", "RegsToPass", "[", "i", "]", ".", "first", ",", "RegsToPass", "[", "i", "]", ".", "second", ",", "InFlag", ")", ";", "InFlag", "=", "Chain", ".", "getValue", "(", "", ")", ";", "}", "if", "(", "GlobalAddressSDNode", "*", "G", "=", "dyn_cast", "<", "GlobalAddressSDNode", ">", "(", "Callee", ")", ")", "Callee", "=", "DAG", ".", "getTargetGlobalAddress", "(", "G", "->", "getGlobal", "(", ")", ",", "dl", ",", "getPointerTy", "(", ")", ",", "", ",", "", ")", ";", "else", "if", "(", "ExternalSymbolSDNode", "*", "S", "=", "dyn_cast", "<", "ExternalSymbolSDNode", ">", "(", "Callee", ")", ")", "Callee", "=", "DAG", ".", "getTargetExternalSymbol", "(", "S", "->", "getSymbol", "(", ")", ",", "getPointerTy", "(", ")", ",", "", ")", ";", "SDVTList", "NodeTys", "=", "DAG", ".", "getVTList", "(", "", ",", "", ")", ";", "SmallVector", "<", "SDValue", ",", "", ">", "Ops", ";", "Ops", ".", "push_back", "(", "Chain", ")", ";", "Ops", ".", "push_back", "(", "Callee", ")", ";", "for", "(", "unsigned", "i", "=", "", ",", "e", "=", "RegsToPass", ".", "size", "(", ")", ";", "i", "!=", "e", ";", "++", "i", ")", "{", "Ops", ".", "push_back", "(", "DAG", ".", "getRegister", "(", "RegsToPass", "[", "i", "]", ".", "first", ",", "RegsToPass", "[", "i", "]", ".", "second", ".", "getValueType", "(", ")", ")", ")", ";", "}", "if", "(", "InFlag", ".", "getNode", "(", ")", ")", "Ops", ".", "push_back", "(", "InFlag", ")", ";", "Chain", "=", "DAG", ".", "getNode", "(", "", ",", "dl", ",", "NodeTys", ",", "&", "Ops", "[", "", "]", ",", "Ops", ".", "size", "(", ")", ")", ";", "InFlag", "=", "Chain", ".", "getValue", "(", "", ")", ";", "Chain", "=", "DAG", ".", "getCALLSEQ_END", "(", "Chain", ",", "DAG", ".", "getIntPtrConstant", "(", "NumBytes", ",", "true", ")", ",", "DAG", ".", "getIntPtrConstant", "(", "", ",", "true", ")", ",", "InFlag", ",", "dl", ")", ";", "if", "(", "!", "Ins", ".", "empty", "(", ")", ")", "InFlag", "=", "Chain", ".", "getValue", "(", "", ")", ";"], "ground_truth": ["return", "LowerCallResult", "(", "Chain", ",", "InFlag", ",", "CallConv", ",", "isVarArg", ",", "Ins", ",", "dl", ",", "DAG", ",", "InVals", ")", ";"], "File": "MBlazeISelLowering4", "Func": "LowerCall", "Target": "MBlaze", "Target_Clf": "MPU", "Compiler_Type": "LLVM", "Idx": 137015, "Length": 396, "Cover_Rate": 0.42127659574468085} {"Template_token": ["", "BB", "->", "addSuccessor", "(", "loop", ")", ";", "BB", "->", "addSuccessor", "(", "finish", ")", ";", "loop", "->", "addSuccessor", "(", "finish", ")", ";", "loop", "->", "addSuccessor", "(", "loop", ")", ";", "unsigned", "IAMT", "=", "R", ".", "createVirtualRegister", "(", "", ")", ";", "BuildMI", "(", "BB", ",", "dl", ",", "TII", "->", "get", "(", "", ")", ",", "IAMT", ")", ".", "addReg", "(", "MI", "->", "getOperand", "(", "", ")", ".", "getReg", "(", ")", ")", ".", "addImm", "(", "", ")", ";", "unsigned", "IVAL", "=", "R", ".", "createVirtualRegister", "(", "", ")", ";", "BuildMI", "(", "BB", ",", "dl", ",", "TII", "->", "get", "(", "", ")", ",", "IVAL", ")", ".", "addReg", "(", "MI", "->", "getOperand", "(", "", ")", ".", "getReg", "(", ")", ")", ".", "addImm", "(", "", ")", ";", "BuildMI", "(", "BB", ",", "dl", ",", "TII", "->", "get", "(", "", ")", ")", ".", "addReg", "(", "IAMT", ")", ".", "addMBB", "(", "finish", ")", ";", "unsigned", "DST", "=", "R", ".", "createVirtualRegister", "(", "", ")", ";", "unsigned", "NDST", "=", "R", ".", "createVirtualRegister", "(", "", ")", ";", "BuildMI", "(", "loop", ",", "dl", ",", "TII", "->", "get", "(", "", ")", ",", "DST", ")", ".", "addReg", "(", "IVAL", ")", ".", "addMBB", "(", "BB", ")", ".", "addReg", "(", "NDST", ")", ".", "addMBB", "(", "loop", ")", ";", "unsigned", "SAMT", "=", "R", ".", "createVirtualRegister", "(", "", ")", ";", "unsigned", "NAMT", "=", "R", ".", "createVirtualRegister", "(", "", ")", ";", "BuildMI", "(", "loop", ",", "dl", ",", "TII", "->", "get", "(", "", ")", ",", "SAMT", ")", ".", "addReg", "(", "IAMT", ")", ".", "addMBB", "(", "BB", ")", ".", "addReg", "(", "NAMT", ")", ".", "addMBB", "(", "loop", ")", ";", "if", "(", "MI", "->", "getOpcode", "(", ")", "==", "", ")", "BuildMI", "(", "loop", ",", "dl", ",", "TII", "->", "get", "(", "", ")", ",", "NDST", ")", ".", "addReg", "(", "DST", ")", ".", "addReg", "(", "DST", ")", ";", "else", "if", "(", "MI", "->", "getOpcode", "(", ")", "==", "", ")", "BuildMI", "(", "loop", ",", "dl", ",", "TII", "->", "get", "(", "", ")", ",", "NDST", ")", ".", "addReg", "(", "DST", ")", ";", "else", "if", "(", "MI", "->", "getOpcode", "(", ")", "==", "", ")", "BuildMI", "(", "loop", ",", "dl", ",", "TII", "->", "get", "(", "", ")", ",", "NDST", ")", ".", "addReg", "(", "DST", ")", ";", "else", "llvm_unreachable", "(", "", ")", ";"], "ground_truth": ["BuildMI", "(", "loop", ",", "dl", ",", "TII", "->", "get", "(", "", ")", ",", "NAMT", ")", ".", "addReg", "(", "SAMT", ")", ".", "addImm", "(", "-", "", ")", ";"], "File": "MBlazeISelLowering5", "Func": "EmitInstrWithCustomInserter", "Target": "MBlaze", "Target_Clf": "MPU", "Compiler_Type": "LLVM", "Idx": 137016, "Length": 387, "Cover_Rate": 0.36338028169014086} {"Template_token": ["", "Chain", "=", "DAG", ".", "getCALLSEQ_START", "(", "Chain", ",", "DAG", ".", "getIntPtrConstant", "(", "NumBytes", ",", "true", ")", ")", ";", "SmallVector", "<", "std", "::", "pair", "<", "unsigned", ",", "SDValue", ">", ",", "", ">", "RegsToPass", ";", "SmallVector", "<", "SDValue", ",", "", ">", "MemOpChains", ";", "int", "LastArgStackLoc", "=", "", ";", "unsigned", "FirstStackArgLoc", "=", "", ";", "for", "(", "unsigned", "i", "=", "", ",", "e", "=", "ArgLocs", ".", "size", "(", ")", ";", "i", "!=", "e", ";", "++", "i", ")", "{", "CCValAssign", "&", "VA", "=", "ArgLocs", "[", "i", "]", ";", "EVT", "RegVT", "=", "VA", ".", "getLocVT", "(", ")", ";", "SDValue", "Arg", "=", "OutVals", "[", "i", "]", ";", "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", ";", "}", "if", "(", "VA", ".", "isRegLoc", "(", ")", ")", "{", "RegsToPass", ".", "push_back", "(", "std", "::", "make_pair", "(", "VA", ".", "getLocReg", "(", ")", ",", "Arg", ")", ")", ";", "}", "else", "{", "assert", "(", "VA", ".", "isMemLoc", "(", ")", ")", ";", "LastArgStackLoc", "=", "(", "FirstStackArgLoc", "+", "VA", ".", "getLocMemOffset", "(", ")", ")", ";", "int", "FI", "=", "MFI", "->", "CreateFixedObject", "(", "VA", ".", "getValVT", "(", ")", ".", "getSizeInBits", "(", ")", "/", "", ",", "LastArgStackLoc", ",", "true", ")", ";", "SDValue", "PtrOff", "=", "DAG", ".", "getFrameIndex", "(", "FI", ",", "getPointerTy", "(", ")", ")", ";", "MemOpChains", ".", "push_back", "(", "DAG", ".", "getStore", "(", "Chain", ",", "dl", ",", "Arg", ",", "PtrOff", ",", "NULL", ",", "", ",", "false", ",", "false", ",", "", ")", ")", ";", "}", "}", "if", "(", "!", "MemOpChains", ".", "empty", "(", ")", ")", "Chain", "=", "DAG", ".", "getNode", "(", "", ",", "dl", ",", "", ",", "&", "MemOpChains", "[", "", "]", ",", "MemOpChains", ".", "size", "(", ")", ")", ";", "SDValue", "InFlag", ";", "for", "(", "unsigned", "i", "=", "", ",", "e", "=", "RegsToPass", ".", "size", "(", ")", ";", "i", "!=", "e", ";", "++", "i", ")", "{", "Chain", "=", "DAG", ".", "getCopyToReg", "(", "Chain", ",", "dl", ",", "RegsToPass", "[", "i", "]", ".", "first", ",", "RegsToPass", "[", "i", "]", ".", "second", ",", "InFlag", ")", ";", "InFlag", "=", "Chain", ".", "getValue", "(", "", ")", ";", "}", "unsigned", "char", "OpFlag", "=", "", ";"], "ground_truth": ["if", "(", "GlobalAddressSDNode", "*", "G", "=", "dyn_cast", "<", "GlobalAddressSDNode", ">", "(", "Callee", ")", ")", "Callee", "=", "DAG", ".", "getTargetGlobalAddress", "(", "G", "->", "getGlobal", "(", ")", ",", "dl", ",", "getPointerTy", "(", ")", ",", "", ",", "OpFlag", ")", ";"], "File": "MBlazeISelLowering5", "Func": "LowerCall", "Target": "MBlaze", "Target_Clf": "MPU", "Compiler_Type": "LLVM", "Idx": 137017, "Length": 449, "Cover_Rate": 0.5332541567695962} {"Template_token": ["", "SDValue", "TargetLowering", "::", "LowerCallResult", "(", "SDValue", "Chain", ",", "SDValue", "InFlag", ",", "CallingConv", "::", "ID", "CallConv", ",", "bool", "isVarArg", ",", "const", "SmallVectorImpl", "<", "", ">", "&", "Ins", ",", "DebugLoc", "dl", ",", "SelectionDAG", "&", "DAG", ",", "SmallVectorImpl", "<", "SDValue", ">", "&", "InVals", ")", "const", "{", "SmallVector", "<", "CCValAssign", ",", "", ">", "RVLocs", ";", "CCState", "CCInfo", "(", "CallConv", ",", "isVarArg", ",", "getTargetMachine", "(", ")", ",", "RVLocs", ",", "*", "DAG", ".", "getContext", "(", ")", ")", ";", "CCInfo", ".", "AnalyzeCallResult", "(", "Ins", ",", "RetCC_", ")", ";", "for", "(", "unsigned", "i", "=", "", ";", "i", "!=", "RVLocs", ".", "size", "(", ")", ";", "++", "i", ")", "{", "Chain", "=", "DAG", ".", "getCopyFromReg", "(", "Chain", ",", "dl", ",", "RVLocs", "[", "i", "]", ".", "getLocReg", "(", ")", ",", "RVLocs", "[", "i", "]", ".", "getValVT", "(", ")", ",", "InFlag", ")", ".", "getValue", "(", "", ")", ";"], "ground_truth": ["InFlag", "=", "Chain", ".", "getValue", "(", "", ")", ";"], "File": "MBlazeISelLowering5", "Func": "LowerCallResult", "Target": "MBlaze", "Target_Clf": "MPU", "Compiler_Type": "LLVM", "Idx": 137019, "Length": 145, "Cover_Rate": 0.8841463414634146} {"Template_token": ["", "LowerCallResult", "(", "SDValue", "Chain", ",", "SDValue", "InFlag", ",", "CallingConv", "::", "ID", "CallConv", ",", "bool", "isVarArg", ",", "const", "SmallVectorImpl", "<", "", ">", "&", "Ins", ",", "DebugLoc", "dl", ",", "SelectionDAG", "&", "DAG", ",", "SmallVectorImpl", "<", "SDValue", ">", "&", "InVals", ")", "const", "{", "SmallVector", "<", "CCValAssign", ",", "", ">", "RVLocs", ";", "CCState", "CCInfo", "(", "CallConv", ",", "isVarArg", ",", "getTargetMachine", "(", ")", ",", "RVLocs", ",", "*", "DAG", ".", "getContext", "(", ")", ")", ";", "CCInfo", ".", "AnalyzeCallResult", "(", "Ins", ",", "RetCC_", ")", ";", "for", "(", "unsigned", "i", "=", "", ";", "i", "!=", "RVLocs", ".", "size", "(", ")", ";", "++", "i", ")", "{", "Chain", "=", "DAG", ".", "getCopyFromReg", "(", "Chain", ",", "dl", ",", "RVLocs", "[", "i", "]", ".", "getLocReg", "(", ")", ",", "RVLocs", "[", "i", "]", ".", "getValVT", "(", ")", ",", "InFlag", ")", ".", "getValue", "(", "", ")", ";", "InFlag", "=", "Chain", ".", "getValue", "(", "", ")", ";"], "ground_truth": ["InVals", ".", "push_back", "(", "Chain", ".", "getValue", "(", "", ")", ")", ";"], "File": "MBlazeISelLowering5", "Func": "LowerCallResult", "Target": "MBlaze", "Target_Clf": "MPU", "Compiler_Type": "LLVM", "Idx": 137020, "Length": 154, "Cover_Rate": 0.9390243902439024} {"Template_token": ["", "SDValue", "CP", "=", "DAG", ".", "getTargetConstantPool", "(", "C", ",", "", ",", "N", "->", "getAlignment", "(", ")", ",", "N", "->", "getOffset", "(", ")", ",", "", ")", ";"], "ground_truth": ["return", "DAG", ".", "getNode", "(", "", ",", "dl", ",", "", ",", "CP", ")", ";"], "File": "MBlazeISelLowering5", "Func": "LowerConstantPool", "Target": "MBlaze", "Target_Clf": "MPU", "Compiler_Type": "LLVM", "Idx": 137021, "Length": 40, "Cover_Rate": 0.40816326530612246} {"Template_token": ["", "DebugLoc", "dl", "=", "Op", ".", "getDebugLoc", "(", ")", ";", "bool", "IsPIC", "=", "getTargetMachine", "(", ")", ".", "getRelocationModel", "(", ")", "==", "Reloc", "::", "PIC_", ";", "unsigned", "char", "OpFlag", "=", "IsPIC", "?", "", ":", "", ";", "EVT", "PtrVT", "=", "Op", ".", "getValueType", "(", ")", ";", "JumpTableSDNode", "*", "JT", "=", "cast", "<", "JumpTableSDNode", ">", "(", "Op", ")", ";", "SDValue", "JTI", "=", "DAG", ".", "getTargetJumpTable", "(", "JT", "->", "getIndex", "(", ")", ",", "PtrVT", ",", "OpFlag", ")", ";", "return", "DAG", ".", "getNode", "(", "", ",", "dl", ",", "", ",", "JTI", ")", ";"], "ground_truth": ["}"], "File": "MBlazeISelLowering5", "Func": "LowerJumpTable", "Target": "MBlaze", "Target_Clf": "MPU", "Compiler_Type": "LLVM", "Idx": 137023, "Length": 88, "Cover_Rate": 0.7586206896551724} {"Template_token": ["", "unsigned", "char", "OpFlag", "=", "IsPIC", "?", "", ":", "", ";", "EVT", "PtrVT", "=", "Op", ".", "getValueType", "(", ")", ";", "JumpTableSDNode", "*", "JT", "=", "cast", "<", "JumpTableSDNode", ">", "(", "Op", ")", ";", "SDValue", "JTI", "=", "DAG", ".", "getTargetJumpTable", "(", "JT", "->", "getIndex", "(", ")", ",", "PtrVT", ",", "OpFlag", ")", ";"], "ground_truth": ["return", "DAG", ".", "getNode", "(", "", ",", "dl", ",", "", ",", "JTI", ")", ";"], "File": "MBlazeISelLowering5", "Func": "LowerJumpTable", "Target": "MBlaze", "Target_Clf": "MPU", "Compiler_Type": "LLVM", "Idx": 137024, "Length": 63, "Cover_Rate": 0.5431034482758621} {"Template_token": ["", "SmallVector", "<", "CCValAssign", ",", "", ">", "RVLocs", ";", "CCState", "CCInfo", "(", "CallConv", ",", "isVarArg", ",", "getTargetMachine", "(", ")", ",", "RVLocs", ",", "*", "DAG", ".", "getContext", "(", ")", ")", ";", "CCInfo", ".", "AnalyzeReturn", "(", "Outs", ",", "RetCC_", ")", ";", "if", "(", "DAG", ".", "getMachineFunction", "(", ")", ".", "getRegInfo", "(", ")", ".", "liveout_empty", "(", ")", ")", "{", "for", "(", "unsigned", "i", "=", "", ";", "i", "!=", "RVLocs", ".", "size", "(", ")", ";", "++", "i", ")", "if", "(", "RVLocs", "[", "i", "]", ".", "isRegLoc", "(", ")", ")", "DAG", ".", "getMachineFunction", "(", ")", ".", "getRegInfo", "(", ")", ".", "addLiveOut", "(", "RVLocs", "[", "i", "]", ".", "getLocReg", "(", ")", ")", ";", "}", "SDValue", "Flag", ";", "for", "(", "unsigned", "i", "=", "", ";", "i", "!=", "RVLocs", ".", "size", "(", ")", ";", "++", "i", ")", "{", "CCValAssign", "&", "VA", "=", "RVLocs", "[", "i", "]", ";", "assert", "(", "VA", ".", "isRegLoc", "(", ")", "&&", "", ")", ";"], "ground_truth": ["Chain", "=", "DAG", ".", "getCopyToReg", "(", "Chain", ",", "dl", ",", "VA", ".", "getLocReg", "(", ")", ",", "OutVals", "[", "i", "]", ",", "Flag", ")", ";"], "File": "MBlazeISelLowering5", "Func": "LowerReturn", "Target": "MBlaze", "Target_Clf": "MPU", "Compiler_Type": "LLVM", "Idx": 137025, "Length": 173, "Cover_Rate": 0.5766666666666667} {"Template_token": ["", "SDValue", "RHS", "=", "Op", ".", "getOperand", "(", "", ")", ";", "SDValue", "TrueVal", "=", "Op", ".", "getOperand", "(", "", ")", ";", "SDValue", "FalseVal", "=", "Op", ".", "getOperand", "(", "", ")", ";", "DebugLoc", "dl", "=", "Op", ".", "getDebugLoc", "(", ")", ";", "unsigned", "Opc", ";", "SDValue", "CompareFlag", ";", "if", "(", "LHS", ".", "getValueType", "(", ")", "==", "", ")", "{"], "ground_truth": ["Opc", "=", "", ";"], "File": "MBlazeISelLowering5", "Func": "LowerSELECT_CC", "Target": "MBlaze", "Target_Clf": "MPU", "Compiler_Type": "LLVM", "Idx": 137026, "Length": 60, "Cover_Rate": 0.410958904109589} {"Template_token": ["", "MachineFunction", "&", "MF", "=", "DAG", ".", "getMachineFunction", "(", ")", ";", "FunctionInfo", "*", "FuncInfo", "=", "MF", ".", "getInfo", "<", "FunctionInfo", ">", "(", ")", ";", "DebugLoc", "dl", "=", "Op", ".", "getDebugLoc", "(", ")", ";"], "ground_truth": ["SDValue", "FI", "=", "DAG", ".", "getFrameIndex", "(", "FuncInfo", "->", "getVarArgsFrameIndex", "(", ")", ",", "getPointerTy", "(", ")", ")", ";"], "File": "MBlazeISelLowering5", "Func": "LowerVASTART", "Target": "MBlaze", "Target_Clf": "MPU", "Compiler_Type": "LLVM", "Idx": 137027, "Length": 50, "Cover_Rate": 0.4132231404958678} {"Template_token": ["", "case", "'y'", ":", "case", "'f'", ":", "return", "make_vector", "<", "unsigned", ">", "(", "", ",", "", ",", "", ",", "", ",", "", ",", "", ",", "", ",", "", ",", "", ",", "", ",", "", ",", "", ",", "", ",", "", ",", "", ",", "", ",", "", ",", "", ",", "", ",", "", ",", "", ",", "", ",", "", ")", ";", "}", "return", "std", "::", "vector", "<", "unsigned", ">", "(", ")", ";"], "ground_truth": ["}"], "File": "MBlazeISelLowering7", "Func": "getRegClassForInlineAsmConstraint", "Target": "MBlaze", "Target_Clf": "MPU", "Compiler_Type": "LLVM", "Idx": 137028, "Length": 71, "Cover_Rate": 0.4057142857142857} {"Template_token": ["", "case", "'r'", ":", "return", "std", "::", "make_pair", "(", "", ",", "", ")", ";", "case", "'f'", ":"], "ground_truth": ["if", "(", "VT", "==", "", ")", "return", "std", "::", "make_pair", "(", "", ",", "", ")", ";"], "File": "MBlazeISelLowering7", "Func": "getRegForInlineAsmConstraint", "Target": "MBlaze", "Target_Clf": "MPU", "Compiler_Type": "LLVM", "Idx": 137029, "Length": 32, "Cover_Rate": 0.3333333333333333} {"Template_token": ["", "case", "'r'", ":", "return", "std", "::", "make_pair", "(", "", ",", "", ")", ";", "case", "'f'", ":", "if", "(", "VT", "==", "", ")", "return", "std", "::", "make_pair", "(", "", ",", "", ")", ";", "}"], "ground_truth": ["}"], "File": "MBlazeISelLowering7", "Func": "getRegForInlineAsmConstraint", "Target": "MBlaze", "Target_Clf": "MPU", "Compiler_Type": "LLVM", "Idx": 137030, "Length": 34, "Cover_Rate": 0.3541666666666667} {"Template_token": ["", "ConstraintWeight", "weight", "=", "CW_Invalid", ";", "Value", "*", "CallOperandVal", "=", "info", ".", "CallOperandVal", ";", "if", "(", "CallOperandVal", "==", "NULL", ")", "return", "CW_Default", ";", "const", "Type", "*", "type", "=", "CallOperandVal", "->", "getType", "(", ")", ";", "switch", "(", "*", "constraint", ")", "{", "default", ":", "weight", "=", "TargetLowering", "::", "getSingleConstraintMatchWeight", "(", "info", ",", "constraint", ")", ";", "break", ";", "case", "'d'", ":", "case", "'y'", ":", "if", "(", "type", "->", "isIntegerTy", "(", ")", ")", "weight", "=", "CW_Register", ";"], "ground_truth": ["break", ";"], "File": "MBlazeISelLowering7", "Func": "getSingleConstraintMatchWeight", "Target": "MBlaze", "Target_Clf": "MPU", "Compiler_Type": "LLVM", "Idx": 137031, "Length": 74, "Cover_Rate": 0.6491228070175439} {"Template_token": ["", "break", ";", "case", "CCValAssign", "::", "ZExt", ":", "Arg", "=", "DAG", ".", "getNode", "(", "", ",", "dl", ",", "RegVT", ",", "Arg", ")", ";", "break", ";", "case", "CCValAssign", "::", "AExt", ":", "Arg", "=", "DAG", ".", "getNode", "(", "", ",", "dl", ",", "RegVT", ",", "Arg", ")", ";", "break", ";", "}", "if", "(", "VA", ".", "isRegLoc", "(", ")", ")", "{", "RegsToPass", ".", "push_back", "(", "std", "::", "make_pair", "(", "VA", ".", "getLocReg", "(", ")", ",", "Arg", ")", ")", ";", "}", "else", "{", "assert", "(", "VA", ".", "isMemLoc", "(", ")", ")", ";", "needsRegArgSlots", "=", "false", ";", "unsigned", "ArgSize", "=", "VA", ".", "getValVT", "(", ")", ".", "getSizeInBits", "(", ")", "/", "", ";", "unsigned", "StackLoc", "=", "VA", ".", "getLocMemOffset", "(", ")", "+", "", ";", "int", "FI", "=", "MFI", "->", "CreateFixedObject", "(", "ArgSize", ",", "StackLoc", ",", "true", ")", ";", "SDValue", "PtrOff", "=", "DAG", ".", "getFrameIndex", "(", "FI", ",", "getPointerTy", "(", ")", ")", ";", "MemOpChains", ".", "push_back", "(", "DAG", ".", "getStore", "(", "Chain", ",", "dl", ",", "Arg", ",", "PtrOff", ",", "MachinePointerInfo", "(", ")", ",", "false", ",", "false", ",", "", ")", ")", ";", "}", "}", "if", "(", "needsRegArgSlots", "&&", "TFI", ".", "hasReservedCallFrame", "(", "MF", ")", ")", "MFI", "->", "CreateFixedObject", "(", "", ",", "", ",", "true", ")", ";", "if", "(", "!", "MemOpChains", ".", "empty", "(", ")", ")", "Chain", "=", "DAG", ".", "getNode", "(", "", ",", "dl", ",", "", ",", "&", "MemOpChains", "[", "", "]", ",", "MemOpChains", ".", "size", "(", ")", ")", ";", "SDValue", "InFlag", ";", "for", "(", "unsigned", "i", "=", "", ",", "e", "=", "RegsToPass", ".", "size", "(", ")", ";", "i", "!=", "e", ";", "++", "i", ")", "{", "Chain", "=", "DAG", ".", "getCopyToReg", "(", "Chain", ",", "dl", ",", "RegsToPass", "[", "i", "]", ".", "first", ",", "RegsToPass", "[", "i", "]", ".", "second", ",", "InFlag", ")", ";", "InFlag", "=", "Chain", ".", "getValue", "(", "", ")", ";", "}"], "ground_truth": ["if", "(", "GlobalAddressSDNode", "*", "G", "=", "dyn_cast", "<", "GlobalAddressSDNode", ">", "(", "Callee", ")", ")", "Callee", "=", "DAG", ".", "getTargetGlobalAddress", "(", "G", "->", "getGlobal", "(", ")", ",", "dl", ",", "getPointerTy", "(", ")", ",", "", ",", "", ")", ";"], "File": "MBlazeISelLowering7", "Func": "LowerCall", "Target": "MBlaze", "Target_Clf": "MPU", "Compiler_Type": "LLVM", "Idx": 137032, "Length": 330, "Cover_Rate": 0.37204058624577224} {"Template_token": ["", "if", "(", "Opcode", ")", "ArgValue", "=", "DAG", ".", "getNode", "(", "Opcode", ",", "dl", ",", "RegVT", ",", "ArgValue", ",", "DAG", ".", "getValueType", "(", "VA", ".", "getValVT", "(", ")", ")", ")", ";", "ArgValue", "=", "DAG", ".", "getNode", "(", "", ",", "dl", ",", "VA", ".", "getValVT", "(", ")", ",", "ArgValue", ")", ";", "}", "InVals", ".", "push_back", "(", "ArgValue", ")", ";", "}", "else", "{", "assert", "(", "VA", ".", "isMemLoc", "(", ")", ")", ";", "ArgRegEnd", "=", "", ";", "unsigned", "ArgSize", "=", "VA", ".", "getLocVT", "(", ")", ".", "getSizeInBits", "(", ")", "/", "", ";", "unsigned", "StackLoc", "=", "VA", ".", "getLocMemOffset", "(", ")", "+", "", ";", "int", "FI", "=", "MFI", "->", "CreateFixedObject", "(", "ArgSize", ",", "", ",", "true", ")", ";", "FI", "->", "recordLoadArgsFI", "(", "FI", ",", "-", "StackLoc", ")", ";", "SDValue", "FIN", "=", "DAG", ".", "getFrameIndex", "(", "FI", ",", "getPointerTy", "(", ")", ")", ";", "InVals", ".", "push_back", "(", "DAG", ".", "getLoad", "(", "VA", ".", "getValVT", "(", ")", ",", "dl", ",", "Chain", ",", "FIN", ",", "MachinePointerInfo", "::", "getFixedStack", "(", "FI", ")", ",", "false", ",", "false", ",", "", ")", ")", ";", "}", "}", "if", "(", "(", "isVarArg", ")", "&&", "ArgRegEnd", ")", "{", "if", "(", "StackPtr", ".", "getNode", "(", ")", "==", "", ")", "StackPtr", "=", "DAG", ".", "getRegister", "(", "StackReg", ",", "getPointerTy", "(", ")", ")", ";", "TargetRegisterClass", "*", "RC", "=", "", ";", "unsigned", "Begin", "=", "RegisterInfo", "::", "getRegisterNumbering", "(", "", ")", ";", "unsigned", "Start", "=", "RegisterInfo", "::", "getRegisterNumbering", "(", "ArgRegEnd", "+", "", ")", ";", "unsigned", "End", "=", "RegisterInfo", "::", "getRegisterNumbering", "(", "", ")", ";", "unsigned", "StackLoc", "=", "Start", "-", "Begin", "+", "", ";", "for", "(", ";", "Start", "<=", "End", ";", "++", "Start", ",", "++", "StackLoc", ")", "{", "unsigned", "Reg", "=", "RegisterInfo", "::", "getRegisterFromNumbering", "(", "Start", ")", ";", "unsigned", "LiveReg", "=", "MF", ".", "addLiveIn", "(", "Reg", ",", "RC", ")", ";", "SDValue", "ArgValue", "=", "DAG", ".", "getCopyFromReg", "(", "Chain", ",", "dl", ",", "LiveReg", ",", "", ")", ";", "int", "FI", "=", "MFI", "->", "CreateFixedObject", "(", "", ",", "", ",", "true", ")", ";", "FI", "->", "recordStoreVarArgsFI", "(", "FI", ",", "-", "(", "StackLoc", "*", "", ")", ")", ";", "SDValue", "PtrOff", "=", "DAG", ".", "getFrameIndex", "(", "FI", ",", "getPointerTy", "(", ")", ")", ";", "OutChains", ".", "push_back", "(", "DAG", ".", "getStore", "(", "Chain", ",", "dl", ",", "ArgValue", ",", "PtrOff", ",", "MachinePointerInfo", "(", ")", ",", "false", ",", "false", ",", "", ")", ")", ";"], "ground_truth": ["if", "(", "!", "FI", "->", "getVarArgsFrameIndex", "(", ")", ")", "FI", "->", "setVarArgsFrameIndex", "(", "FI", ")", ";"], "File": "MBlazeISelLowering7", "Func": "LowerFormalArguments", "Target": "MBlaze", "Target_Clf": "MPU", "Compiler_Type": "LLVM", "Idx": 137033, "Length": 391, "Cover_Rate": 0.49493670886075947} {"Template_token": ["", "setOperationAction", "(", "", ",", "", ",", "Expand", ")", ";", "setOperationAction", "(", "", ",", "", ",", "Expand", ")", ";", "setOperationAction", "(", "", ",", "", ",", "Expand", ")", ";", "setOperationAction", "(", "", ",", "", ",", "Expand", ")", ";", "}", "if", "(", "!", "Subtarget", "->", "hasDiv", "(", ")", ")", "{", "setOperationAction", "(", "", ",", "", ",", "Expand", ")", ";", "setOperationAction", "(", "", ",", "", ",", "Expand", ")", ";", "}", "setOperationAction", "(", "", ",", "", ",", "Expand", ")", ";", "setOperationAction", "(", "", ",", "", ",", "Expand", ")", ";", "setOperationAction", "(", "", ",", "", ",", "Expand", ")", ";", "setOperationAction", "(", "", ",", "", ",", "Expand", ")", ";", "setOperationAction", "(", "", ",", "", ",", "Expand", ")", ";", "setOperationAction", "(", "", ",", "", ",", "Expand", ")", ";", "setOperationAction", "(", "", ",", "", ",", "Expand", ")", ";", "AddPromotedToType", "(", "", ",", "", ",", "", ")", ";", "AddPromotedToType", "(", "", ",", "", ",", "", ")", ";", "AddPromotedToType", "(", "", ",", "", ",", "", ")", ";", "setOperationAction", "(", "", ",", "", ",", "Custom", ")", ";", "setOperationAction", "(", "", ",", "", ",", "Custom", ")", ";", "setOperationAction", "(", "", ",", "", ",", "Custom", ")", ";", "setOperationAction", "(", "", ",", "", ",", "Custom", ")", ";", "setOperationAction", "(", "", ",", "", ",", "Custom", ")", ";", "setOperationAction", "(", "", ",", "", ",", "Expand", ")", ";", "setOperationAction", "(", "", ",", "", ",", "Expand", ")", ";", "setOperationAction", "(", "", ",", "", ",", "Expand", ")", ";", "setOperationAction", "(", "", ",", "", ",", "Expand", ")", ";", "setOperationAction", "(", "", ",", "", ",", "Expand", ")", ";", "setOperationAction", "(", "", ",", "", ",", "Expand", ")", ";", "setOperationAction", "(", "", ",", "", ",", "Expand", ")", ";", "setOperationAction", "(", "", ",", "", ",", "Expand", ")", ";", "setOperationAction", "(", "", ",", "", ",", "Expand", ")", ";", "setOperationAction", "(", "", ",", "", ",", "Expand", ")", ";", "setOperationAction", "(", "", ",", "", ",", "Expand", ")", ";", "setOperationAction", "(", "", ",", "", ",", "Expand", ")", ";", "setOperationAction", "(", "", ",", "", ",", "Expand", ")", ";", "setOperationAction", "(", "", ",", "", ",", "Expand", ")", ";", "setOperationAction", "(", "", ",", "", ",", "Expand", ")", ";", "setOperationAction", "(", "", ",", "", ",", "Expand", ")", ";", "setOperationAction", "(", "", ",", "", ",", "Expand", ")", ";", "setOperationAction", "(", "", ",", "", ",", "Expand", ")", ";", "setOperationAction", "(", "", ",", "", ",", "Expand", ")", ";"], "ground_truth": ["setOperationAction", "(", "", ",", "", ",", "Expand", ")", ";"], "File": "MBlazeISelLowering7", "Func": "MBlazeTargetLowering", "Target": "MBlaze", "Target_Clf": "MPU", "Compiler_Type": "LLVM", "Idx": 137034, "Length": 381, "Cover_Rate": 0.36320305052430885} {"Template_token": ["", "unsigned", "SizeInBytes", "=", "ValVT", ".", "getSizeInBits", "(", ")", ">>", "", ";", "State", ".", "AllocateStack", "(", "SizeInBytes", ",", "SizeInBytes", ")", ";", "State", ".", "addLoc", "(", "CCValAssign", "::", "getReg", "(", "ValNo", ",", "ValVT", ",", "Reg", ",", "LocVT", ",", "LocInfo", ")", ")", ";"], "ground_truth": ["return", "true", ";"], "File": "MBlazeISelLowering", "Func": "CC_MBlaze_AssignReg", "Target": "MBlaze", "Target_Clf": "MPU", "Compiler_Type": "LLVM", "Idx": 137035, "Length": 43, "Cover_Rate": 0.30935251798561153} {"Template_token": ["", "static", "const", "uint16_t", "ArgRegs", "[", "]", "=", "{", "", ",", "", ",", "", ",", "", ",", "", ",", "", "}", ";", "const", "unsigned", "NumArgRegs", "=", "array_lengthof", "(", "ArgRegs", ")", ";"], "ground_truth": ["unsigned", "Reg", "=", "State", ".", "AllocateReg", "(", "ArgRegs", ",", "NumArgRegs", ")", ";"], "File": "MBlazeISelLowering", "Func": "CC_MBlaze_AssignReg", "Target": "MBlaze", "Target_Clf": "MPU", "Compiler_Type": "LLVM", "Idx": 137036, "Length": 42, "Cover_Rate": 0.302158273381295} {"Template_token": ["", "case", "", ":", "Opc", "=", "", ";", "break", ";", "case", "", ":", "Opc", "=", "", ";", "break", ";", "case", "", ":", "Opc", "=", "", ";", "break", ";", "case", "", ":", "Opc", "=", "", ";", "break", ";", "case", "", ":", "Opc", "=", "", ";", "break", ";", "}", "F", "->", "insert", "(", "It", ",", "flsBB", ")", ";", "F", "->", "insert", "(", "It", ",", "dneBB", ")", ";", "dneBB", "->", "splice", "(", "dneBB", "->", "begin", "(", ")", ",", "MBB", ",", "llvm", "::", "next", "(", "MachineBasicBlock", "::", "iterator", "(", "MI", ")", ")", ",", "MBB", "->", "end", "(", ")", ")", ";", "dneBB", "->", "transferSuccessorsAndUpdatePHIs", "(", "MBB", ")", ";", "MBB", "->", "addSuccessor", "(", "flsBB", ")", ";", "MBB", "->", "addSuccessor", "(", "dneBB", ")", ";", "flsBB", "->", "addSuccessor", "(", "dneBB", ")", ";"], "ground_truth": ["BuildMI", "(", "MBB", ",", "dl", ",", "TII", "->", "get", "(", "Opc", ")", ")", ".", "addReg", "(", "MI", "->", "getOperand", "(", "", ")", ".", "getReg", "(", ")", ")", ".", "addMBB", "(", "dneBB", ")", ";"], "File": "MBlazeISelLowering", "Func": "EmitCustomSelect", "Target": "MBlaze", "Target_Clf": "MPU", "Compiler_Type": "LLVM", "Idx": 137037, "Length": 156, "Cover_Rate": 0.40414507772020725} {"Template_token": ["", "case", "", ":", "return", "EmitCustomSelect", "(", "MI", ",", "MBB", ")", ";", "case", "", ":", "case", "", ":", "case", "", ":", "case", "", ":", "case", "", ":", "case", "", ":", "case", "", ":", "case", "", ":", "return", "EmitCustomAtomic", "(", "MI", ",", "MBB", ")", ";", "case", "", ":", "MI", "->", "eraseFromParent", "(", ")", ";", "return", "MBB", ";", "}"], "ground_truth": ["}"], "File": "MBlazeISelLowering", "Func": "EmitInstrWithCustomInserter", "Target": "MBlaze", "Target_Clf": "MPU", "Compiler_Type": "LLVM", "Idx": 137038, "Length": 57, "Cover_Rate": 0.41605839416058393} {"Template_token": ["", "TargetLowering", "::", "ConstraintType", "TargetLowering", "::", "getConstraintType", "(", "const", "std", "::", "string", "&", "Constraint", ")", "const", "{", "if", "(", "Constraint", ".", "size", "(", ")", "==", "", ")", "{", "switch", "(", "Constraint", "[", "", "]", ")", "{", "default", ":", "break", ";", "case", "'d'", ":", "case", "'y'", ":", "case", "'f'", ":", "return", "C_RegisterClass", ";", "}", "}"], "ground_truth": ["return", "TargetLowering", "::", "getConstraintType", "(", "Constraint", ")", ";"], "File": "MBlazeISelLowering", "Func": "getConstraintType", "Target": "MBlaze", "Target_Clf": "MPU", "Compiler_Type": "LLVM", "Idx": 137039, "Length": 61, "Cover_Rate": 0.9838709677419355} {"Template_token": ["", "case", "'d'", ":", "case", "'y'", ":", "case", "'f'", ":", "return", "C_RegisterClass", ";", "}", "}", "return", "TargetLowering", "::", "getConstraintType", "(", "Constraint", ")", ";"], "ground_truth": ["}"], "File": "MBlazeISelLowering", "Func": "getConstraintType", "Target": "MBlaze", "Target_Clf": "MPU", "Compiler_Type": "LLVM", "Idx": 137040, "Length": 23, "Cover_Rate": 0.3709677419354839} {"Template_token": ["", "case", "LT", ":", "return", "GE", ";", "case", "GE", ":", "return", "LT", ";"], "ground_truth": ["case", "LE", ":", "return", "GE", ";"], "File": "MBlazeISelLowering", "Func": "getOppositeCondition", "Target": "MBlaze", "Target_Clf": "MPU", "Compiler_Type": "LLVM", "Idx": 137041, "Length": 18, "Cover_Rate": 0.3050847457627119} {"Template_token": ["", "case", "GT", ":", "return", "LE", ";", "case", "LT", ":", "return", "GE", ";"], "ground_truth": ["case", "GE", ":", "return", "LT", ";"], "File": "MBlazeISelLowering", "Func": "getOppositeCondition", "Target": "MBlaze", "Target_Clf": "MPU", "Compiler_Type": "LLVM", "Idx": 137042, "Length": 18, "Cover_Rate": 0.3050847457627119} {"Template_token": ["", "case", "'y'", ":", "case", "'f'", ":", "if", "(", "VT", "==", "", ")", "return", "std", "::", "make_pair", "(", "", ",", "&", "", ")", ";", "}", "}", "return", "TargetLowering", "::", "getRegForInlineAsmConstraint", "(", "Constraint", ",", "VT", ")", ";"], "ground_truth": ["}"], "File": "MBlazeISelLowering", "Func": "getRegForInlineAsmConstraint", "Target": "MBlaze", "Target_Clf": "MPU", "Compiler_Type": "LLVM", "Idx": 137043, "Length": 36, "Cover_Rate": 0.34615384615384615} {"Template_token": ["", "std", "::", "pair", "<", "unsigned", ",", "const", "TargetRegisterClass", "*", ">", "TargetLowering", "::", "getRegForInlineAsmConstraint", "(", "const", "std", "::", "string", "&", "Constraint", ",", "MVT", "VT", ")", "const", "{", "if", "(", "Constraint", ".", "size", "(", ")", "==", "", ")", "{", "switch", "(", "Constraint", "[", "", "]", ")", "{", "case", "'r'", ":", "return", "std", "::", "make_pair", "(", "", ",", "&", "", ")", ";", "case", "'d'", ":"], "ground_truth": ["case", "'y'", ":"], "File": "MBlazeISelLowering", "Func": "getRegForInlineAsmConstraint", "Target": "MBlaze", "Target_Clf": "MPU", "Compiler_Type": "LLVM", "Idx": 137044, "Length": 65, "Cover_Rate": 0.625} {"Template_token": ["", "EVT", "TargetLowering", "::", "getSetCCResultType", "(", "LLVMContext", "&", ",", "EVT", ")", "const", "{", "return", "", ";"], "ground_truth": ["}"], "File": "MBlazeISelLowering", "Func": "getSetCCResultType", "Target": "MBlaze", "Target_Clf": "MPU", "Compiler_Type": "LLVM", "Idx": 137045, "Length": 16, "Cover_Rate": 0.8888888888888888} {"Template_token": ["", "EVT", "TargetLowering", "::", "getSetCCResultType", "(", "LLVMContext", "&", ",", "EVT", ")", "const", "{"], "ground_truth": ["return", "", ";"], "File": "MBlazeISelLowering", "Func": "getSetCCResultType", "Target": "MBlaze", "Target_Clf": "MPU", "Compiler_Type": "LLVM", "Idx": 137046, "Length": 15, "Cover_Rate": 0.8333333333333334} {"Template_token": ["", "TargetLowering", "::", "ConstraintWeight", "TargetLowering", "::", "getSingleConstraintMatchWeight", "(", "AsmOperandInfo", "&", "info", ",", "const", "char", "*", "constraint", ")", "const", "{", "ConstraintWeight", "weight", "=", "CW_Invalid", ";", "Value", "*", "CallOperandVal", "=", "info", ".", "CallOperandVal", ";", "if", "(", "CallOperandVal", "==", "NULL", ")", "return", "CW_Default", ";", "Type", "*", "type", "=", "CallOperandVal", "->", "getType", "(", ")", ";", "switch", "(", "*", "constraint", ")", "{", "default", ":", "weight", "=", "TargetLowering", "::", "getSingleConstraintMatchWeight", "(", "info", ",", "constraint", ")", ";", "break", ";", "case", "'d'", ":", "case", "'y'", ":", "if", "(", "type", "->", "isIntegerTy", "(", ")", ")", "weight", "=", "CW_Register", ";", "break", ";", "case", "'f'", ":", "if", "(", "type", "->", "isFloatTy", "(", ")", ")", "weight", "=", "CW_Register", ";", "break", ";", "}", "return", "weight", ";"], "ground_truth": ["}"], "File": "MBlazeISelLowering", "Func": "getSingleConstraintMatchWeight", "Target": "MBlaze", "Target_Clf": "MPU", "Compiler_Type": "LLVM", "Idx": 137047, "Length": 113, "Cover_Rate": 1.0} {"Template_token": ["", "TargetLowering", "::", "ConstraintWeight", "TargetLowering", "::", "getSingleConstraintMatchWeight", "(", "AsmOperandInfo", "&", "info", ",", "const", "char", "*", "constraint", ")", "const", "{", "ConstraintWeight", "weight", "=", "CW_Invalid", ";", "Value", "*", "CallOperandVal", "=", "info", ".", "CallOperandVal", ";", "if", "(", "CallOperandVal", "==", "NULL", ")", "return", "CW_Default", ";", "Type", "*", "type", "=", "CallOperandVal", "->", "getType", "(", ")", ";", "switch", "(", "*", "constraint", ")", "{", "default", ":", "weight", "=", "TargetLowering", "::", "getSingleConstraintMatchWeight", "(", "info", ",", "constraint", ")", ";", "break", ";", "case", "'d'", ":", "case", "'y'", ":", "if", "(", "type", "->", "isIntegerTy", "(", ")", ")", "weight", "=", "CW_Register", ";", "break", ";", "case", "'f'", ":", "if", "(", "type", "->", "isFloatTy", "(", ")", ")", "weight", "=", "CW_Register", ";", "break", ";"], "ground_truth": ["}"], "File": "MBlazeISelLowering", "Func": "getSingleConstraintMatchWeight", "Target": "MBlaze", "Target_Clf": "MPU", "Compiler_Type": "LLVM", "Idx": 137048, "Length": 109, "Cover_Rate": 0.9646017699115044} {"Template_token": ["", "switch", "(", "Opcode", ")", "{", "case", "", ":", "return", "", ";", "case", "", ":", "return", "", ";", "case", "", ":", "return", "", ";", "case", "", ":", "return", "", ";"], "ground_truth": ["case", "", ":", "return", "", ";"], "File": "MBlazeISelLowering", "Func": "getTargetNodeName", "Target": "MBlaze", "Target_Clf": "MPU", "Compiler_Type": "LLVM", "Idx": 137049, "Length": 35, "Cover_Rate": 0.4861111111111111} {"Template_token": ["", "bool", "TargetLowering", "::"], "ground_truth": ["isOffsetFoldingLegal", "(", "const", "GlobalAddressSDNode", "*", "GA", ")", "const", "{"], "File": "MBlazeISelLowering", "Func": "isOffsetFoldingLegal", "Target": "MBlaze", "Target_Clf": "MPU", "Compiler_Type": "LLVM", "Idx": 137051, "Length": 12, "Cover_Rate": 0.75} {"Template_token": ["", "bool", "&", "isTailCall", "=", "CLI", ".", "IsTailCall", ";", "CallingConv", "::", "ID", "CallConv", "=", "CLI", ".", "CallConv", ";", "bool", "isVarArg", "=", "CLI", ".", "IsVarArg", ";", "isTailCall", "=", "false", ";", "bool", "needsRegArgSlots", "=", "isVarArg", ";", "MachineFunction", "&", "MF", "=", "DAG", ".", "getMachineFunction", "(", ")", ";", "MachineFrameInfo", "*", "MFI", "=", "MF", ".", "getFrameInfo", "(", ")", ";", "const", "TargetFrameLowering", "&", "TFI", "=", "*", "MF", ".", "getTarget", "(", ")", ".", "getFrameLowering", "(", ")", ";", "SmallVector", "<", "CCValAssign", ",", "", ">", "ArgLocs", ";", "CCState", "CCInfo", "(", "CallConv", ",", "isVarArg", ",", "DAG", ".", "getMachineFunction", "(", ")", ",", "getTargetMachine", "(", ")", ",", "ArgLocs", ",", "*", "DAG", ".", "getContext", "(", ")", ")", ";", "CCInfo", ".", "AnalyzeCallOperands", "(", "Outs", ",", "CC_", ")", ";", "unsigned", "NumBytes", "=", "CCInfo", ".", "getNextStackOffset", "(", ")", ";", "if", "(", "isVarArg", "&&", "NumBytes", "<", "", ")", "NumBytes", "=", "", ";", "Chain", "=", "DAG", ".", "getCALLSEQ_START", "(", "Chain", ",", "DAG", ".", "getIntPtrConstant", "(", "NumBytes", ",", "true", ")", ",", "dl", ")", ";", "SmallVector", "<", "std", "::", "pair", "<", "unsigned", ",", "SDValue", ">", ",", "", ">", "RegsToPass", ";", "SmallVector", "<", "SDValue", ",", "", ">", "MemOpChains", ";", "for", "(", "unsigned", "i", "=", "", ",", "e", "=", "ArgLocs", ".", "size", "(", ")", ";", "i", "!=", "e", ";", "++", "i", ")", "{", "CCValAssign", "&", "VA", "=", "ArgLocs", "[", "i", "]", ";", "MVT", "RegVT", "=", "VA", ".", "getLocVT", "(", ")", ";", "SDValue", "Arg", "=", "OutVals", "[", "i", "]", ";", "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", ";", "}", "if", "(", "VA", ".", "isRegLoc", "(", ")", ")", "{", "RegsToPass", ".", "push_back", "(", "std", "::", "make_pair", "(", "VA", ".", "getLocReg", "(", ")", ",", "Arg", ")", ")", ";", "}", "else", "{", "assert", "(", "VA", ".", "isMemLoc", "(", ")", ")", ";", "needsRegArgSlots", "=", "false", ";", "unsigned", "ArgSize", "=", "VA", ".", "getValVT", "(", ")", ".", "getSizeInBits", "(", ")", "/", "", ";", "unsigned", "StackLoc", "=", "VA", ".", "getLocMemOffset", "(", ")", "+", "", ";", "int", "FI", "=", "MFI", "->", "CreateFixedObject", "(", "ArgSize", ",", "StackLoc", ",", "true", ")", ";", "SDValue", "PtrOff", "=", "DAG", ".", "getFrameIndex", "(", "FI", ",", "getPointerTy", "(", ")", ")", ";"], "ground_truth": ["MemOpChains", ".", "push_back", "(", "DAG", ".", "getStore", "(", "Chain", ",", "dl", ",", "Arg", ",", "PtrOff", ",", "MachinePointerInfo", "(", ")", ",", "false", ",", "false", ",", "", ")", ")", ";"], "File": "MBlazeISelLowering", "Func": "LowerCall", "Target": "MBlaze", "Target_Clf": "MPU", "Compiler_Type": "LLVM", "Idx": 137053, "Length": 441, "Cover_Rate": 0.46617336152219874} {"Template_token": ["", "SmallVector", "<", "CCValAssign", ",", "", ">", "RVLocs", ";", "CCState", "CCInfo", "(", "CallConv", ",", "isVarArg", ",", "DAG", ".", "getMachineFunction", "(", ")", ",", "getTargetMachine", "(", ")", ",", "RVLocs", ",", "*", "DAG", ".", "getContext", "(", ")", ")", ";", "CCInfo", ".", "AnalyzeCallResult", "(", "Ins", ",", "RetCC_", ")", ";", "for", "(", "unsigned", "i", "=", "", ";", "i", "!=", "RVLocs", ".", "size", "(", ")", ";", "++", "i", ")", "{", "Chain", "=", "DAG", ".", "getCopyFromReg", "(", "Chain", ",", "dl", ",", "RVLocs", "[", "i", "]", ".", "getLocReg", "(", ")", ",", "RVLocs", "[", "i", "]", ".", "getValVT", "(", ")", ",", "InFlag", ")", ".", "getValue", "(", "", ")", ";", "InFlag", "=", "Chain", ".", "getValue", "(", "", ")", ";", "InVals", ".", "push_back", "(", "Chain", ".", "getValue", "(", "", ")", ")", ";"], "ground_truth": ["}"], "File": "MBlazeISelLowering", "Func": "LowerCallResult", "Target": "MBlaze", "Target_Clf": "MPU", "Compiler_Type": "LLVM", "Idx": 137054, "Length": 121, "Cover_Rate": 0.711764705882353} {"Template_token": ["", "LowerConstantPool", "(", "SDValue", "Op", ",", "SelectionDAG", "&", "DAG", ")", "const", "{", "SDValue", "ResNode", ";", "ConstantPoolSDNode", "*", "N", "=", "cast", "<", "ConstantPoolSDNode", ">", "(", "Op", ")", ";", "const", "Constant", "*", "C", "=", "N", "->", "getConstVal", "(", ")", ";", "SDLoc", "dl", "(", "Op", ")", ";", "SDValue", "CP", "=", "DAG", ".", "getTargetConstantPool", "(", "C", ",", "", ",", "N", "->", "getAlignment", "(", ")", ",", "N", "->", "getOffset", "(", ")", ",", "", ")", ";", "return", "DAG", ".", "getNode", "(", "", ",", "dl", ",", "", ",", "CP", ")", ";"], "ground_truth": ["}"], "File": "MBlazeISelLowering", "Func": "LowerConstantPool", "Target": "MBlaze", "Target_Clf": "MPU", "Compiler_Type": "LLVM", "Idx": 137055, "Length": 84, "Cover_Rate": 0.9032258064516129} {"Template_token": ["", "ConstantPoolSDNode", "*", "N", "=", "cast", "<", "ConstantPoolSDNode", ">", "(", "Op", ")", ";", "const", "Constant", "*", "C", "=", "N", "->", "getConstVal", "(", ")", ";"], "ground_truth": ["SDLoc", "dl", "(", "Op", ")", ";"], "File": "MBlazeISelLowering", "Func": "LowerConstantPool", "Target": "MBlaze", "Target_Clf": "MPU", "Compiler_Type": "LLVM", "Idx": 137056, "Length": 29, "Cover_Rate": 0.3118279569892473} {"Template_token": ["", "const", "GlobalValue", "*", "GV", "=", "cast", "<", "GlobalAddressSDNode", ">", "(", "Op", ")", "->", "getGlobal", "(", ")", ";"], "ground_truth": ["SDValue", "GA", "=", "DAG", ".", "getTargetGlobalAddress", "(", "GV", ",", "dl", ",", "", ")", ";"], "File": "MBlazeISelLowering", "Func": "LowerGlobalAddress", "Target": "MBlaze", "Target_Clf": "MPU", "Compiler_Type": "LLVM", "Idx": 137058, "Length": 31, "Cover_Rate": 0.4305555555555556} {"Template_token": ["", "SDLoc", "dl", "(", "Op", ")", ";", "const", "GlobalValue", "*", "GV", "=", "cast", "<", "GlobalAddressSDNode", ">", "(", "Op", ")", "->", "getGlobal", "(", ")", ";"], "ground_truth": ["SDValue", "GA", "=", "DAG", ".", "getTargetGlobalAddress", "(", "GV", ",", "dl", ",", "", ")", ";"], "File": "MBlazeISelLowering", "Func": "LowerGlobalAddress", "Target": "MBlaze", "Target_Clf": "MPU", "Compiler_Type": "LLVM", "Idx": 137059, "Length": 37, "Cover_Rate": 0.5138888888888888} {"Template_token": ["", "LowerGlobalTLSAddress", "(", "SDValue", "Op", ",", "SelectionDAG", "&", "DAG", ")", "const", "{", "llvm_unreachable", "(", "", ")", ";"], "ground_truth": ["}"], "File": "MBlazeISelLowering", "Func": "LowerGlobalTLSAddress", "Target": "MBlaze", "Target_Clf": "MPU", "Compiler_Type": "LLVM", "Idx": 137060, "Length": 17, "Cover_Rate": 0.85} {"Template_token": ["", "LowerJumpTable", "(", "SDValue", "Op", ",", "SelectionDAG", "&", "DAG", ")", "const", "{", "SDValue", "ResNode", ";", "SDValue", "HiPart", ";", "SDLoc", "dl", "(", "Op", ")", ";", "EVT", "PtrVT", "=", "Op", ".", "getValueType", "(", ")", ";", "JumpTableSDNode", "*", "JT", "=", "cast", "<", "JumpTableSDNode", ">", "(", "Op", ")", ";", "SDValue", "JTI", "=", "DAG", ".", "getTargetJumpTable", "(", "JT", "->", "getIndex", "(", ")", ",", "PtrVT", ",", "", ")", ";"], "ground_truth": ["return", "DAG", ".", "getNode", "(", "", ",", "dl", ",", "", ",", "JTI", ")", ";"], "File": "MBlazeISelLowering", "Func": "LowerJumpTable", "Target": "MBlaze", "Target_Clf": "MPU", "Compiler_Type": "LLVM", "Idx": 137061, "Length": 76, "Cover_Rate": 0.9047619047619048} {"Template_token": ["", "SDValue", "ResNode", ";", "SDValue", "HiPart", ";", "SDLoc", "dl", "(", "Op", ")", ";", "EVT", "PtrVT", "=", "Op", ".", "getValueType", "(", ")", ";", "JumpTableSDNode", "*", "JT", "=", "cast", "<", "JumpTableSDNode", ">", "(", "Op", ")", ";"], "ground_truth": ["SDValue", "JTI", "=", "DAG", ".", "getTargetJumpTable", "(", "JT", "->", "getIndex", "(", ")", ",", "PtrVT", ",", "", ")", ";"], "File": "MBlazeISelLowering", "Func": "LowerJumpTable", "Target": "MBlaze", "Target_Clf": "MPU", "Compiler_Type": "LLVM", "Idx": 137062, "Length": 51, "Cover_Rate": 0.6071428571428571} {"Template_token": ["", "case", "", ":", "return", "LowerGlobalAddress", "(", "Op", ",", "DAG", ")", ";", "case", "", ":", "return", "LowerGlobalTLSAddress", "(", "Op", ",", "DAG", ")", ";", "case", "", ":", "return", "LowerJumpTable", "(", "Op", ",", "DAG", ")", ";", "case", "", ":", "return", "LowerSELECT_CC", "(", "Op", ",", "DAG", ")", ";", "case", "", ":", "return", "LowerVASTART", "(", "Op", ",", "DAG", ")", ";", "}", "return", "SDValue", "(", ")", ";"], "ground_truth": ["}"], "File": "MBlazeISelLowering", "Func": "LowerOperation", "Target": "MBlaze", "Target_Clf": "MPU", "Compiler_Type": "LLVM", "Idx": 137063, "Length": 62, "Cover_Rate": 0.5740740740740741} {"Template_token": ["", "RetOps", ".", "push_back", "(", "DAG", ".", "getRegister", "(", "Reg", ",", "", ")", ")", ";", "for", "(", "unsigned", "i", "=", "", ";", "i", "!=", "RVLocs", ".", "size", "(", ")", ";", "++", "i", ")", "{", "CCValAssign", "&", "VA", "=", "RVLocs", "[", "i", "]", ";", "assert", "(", "VA", ".", "isRegLoc", "(", ")", "&&", "", ")", ";", "Chain", "=", "DAG", ".", "getCopyToReg", "(", "Chain", ",", "dl", ",", "VA", ".", "getLocReg", "(", ")", ",", "OutVals", "[", "i", "]", ",", "Flag", ")", ";", "Flag", "=", "Chain", ".", "getValue", "(", "", ")", ";", "RetOps", ".", "push_back", "(", "DAG", ".", "getRegister", "(", "VA", ".", "getLocReg", "(", ")", ",", "VA", ".", "getLocVT", "(", ")", ")", ")", ";", "}", "RetOps", "[", "", "]", "=", "Chain", ";", "if", "(", "Flag", ".", "getNode", "(", ")", ")", "RetOps", ".", "push_back", "(", "Flag", ")", ";", "return", "DAG", ".", "getNode", "(", "Ret", ",", "dl", ",", "", ",", "&", "RetOps", "[", "", "]", ",", "RetOps", ".", "size", "(", ")", ")", ";"], "ground_truth": ["}"], "File": "MBlazeISelLowering", "Func": "LowerReturn", "Target": "MBlaze", "Target_Clf": "MPU", "Compiler_Type": "LLVM", "Idx": 137064, "Length": 156, "Cover_Rate": 0.5182724252491694} {"Template_token": ["", "for", "(", "unsigned", "i", "=", "", ";", "i", "!=", "RVLocs", ".", "size", "(", ")", ";", "++", "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": "MBlazeISelLowering", "Func": "LowerReturn", "Target": "MBlaze", "Target_Clf": "MPU", "Compiler_Type": "LLVM", "Idx": 137065, "Length": 94, "Cover_Rate": 0.3122923588039867} {"Template_token": ["", "SDLoc", "dl", "(", "Op", ")", ";", "unsigned", "Opc", ";", "SDValue", "CompareFlag", ";", "if", "(", "LHS", ".", "getValueType", "(", ")", "==", "", ")", "{", "Opc", "=", "", ";", "CompareFlag", "=", "DAG", ".", "getNode", "(", "", ",", "dl", ",", "", ",", "LHS", ",", "RHS", ")", ".", "getValue", "(", "", ")", ";", "}", "else", "{", "llvm_unreachable", "(", "", ")", ";", "}", "return", "DAG", ".", "getNode", "(", "Opc", ",", "dl", ",", "TrueVal", ".", "getValueType", "(", ")", ",", "TrueVal", ",", "FalseVal", ",", "CompareFlag", ")", ";"], "ground_truth": ["}"], "File": "MBlazeISelLowering", "Func": "LowerSELECT_CC", "Target": "MBlaze", "Target_Clf": "MPU", "Compiler_Type": "LLVM", "Idx": 137066, "Length": 81, "Cover_Rate": 0.5664335664335665} {"Template_token": ["", "FunctionInfo", "*", "FuncInfo", "=", "MF", ".", "getInfo", "<", "FunctionInfo", ">", "(", ")", ";", "SDLoc", "dl", "(", "Op", ")", ";", "SDValue", "FI", "=", "DAG", ".", "getFrameIndex", "(", "FuncInfo", "->", "getVarArgsFrameIndex", "(", ")", ",", "getPointerTy", "(", ")", ")", ";", "const", "Value", "*", "SV", "=", "cast", "<", "SrcValueSDNode", ">", "(", "Op", ".", "getOperand", "(", "", ")", ")", "->", "getValue", "(", ")", ";"], "ground_truth": ["return", "DAG", ".", "getStore", "(", "Op", ".", "getOperand", "(", "", ")", ",", "dl", ",", "FI", ",", "Op", ".", "getOperand", "(", "", ")", ",", "MachinePointerInfo", "(", "SV", ")", ",", "false", ",", "false", ",", "", ")", ";"], "File": "MBlazeISelLowering", "Func": "LowerVASTART", "Target": "MBlaze", "Target_Clf": "MPU", "Compiler_Type": "LLVM", "Idx": 137067, "Length": 94, "Cover_Rate": 0.7899159663865546} {"Template_token": ["", "switch", "(", "cc", ")", "{", "default", ":", "llvm_unreachable", "(", "", ")", ";", "case", "EQ", ":", "return", "", ";", "case", "NE", ":", "return", "", ";", "case", "GT", ":", "return", "", ";", "case", "LT", ":", "return", "", ";"], "ground_truth": ["case", "GE", ":", "return", "", ";"], "File": "MBlazeISelLowering", "Func": "MBlazeCCToString", "Target": "MBlaze", "Target_Clf": "MPU", "Compiler_Type": "LLVM", "Idx": 137068, "Length": 42, "Cover_Rate": 0.6885245901639344} {"Template_token": ["", "for", "(", "unsigned", "i", "=", "", ",", "e", "=", "FnLoadArgs", ".", "size", "(", ")", ";", "i", "!=", "e", ";", "++", "i", ")", "MFI", "->", "setObjectOffset", "(", "FnLoadArgs", "[", "i", "]", ".", "FI", ",", "FnLoadArgs", "[", "i", "]", ".", "SPOffset", ")", ";"], "ground_truth": ["}"], "File": "MBlazeMachineFunction1", "Func": "adjustLoadArgsFI", "Target": "MBlaze", "Target_Clf": "MPU", "Compiler_Type": "LLVM", "Idx": 137070, "Length": 42, "Cover_Rate": 0.7} {"Template_token": ["", "for", "(", "unsigned", "i", "=", "", ",", "e", "=", "FnLoadArgs", ".", "size", "(", ")", ";", "i", "!=", "e", ";", "++", "i", ")", "MFI", "->", "setObjectOffset", "(", "FnLoadArgs", "[", "i", "]", ".", "FI", ",", "FnLoadArgs", "[", "i", "]", ".", "SPOffset", ")", ";"], "ground_truth": ["}"], "File": "MBlazeMachineFunction1", "Func": "adjustLoadArgsFI", "Target": "MBlaze", "Target_Clf": "MPU", "Compiler_Type": "LLVM", "Idx": 137071, "Length": 42, "Cover_Rate": 0.7} {"Template_token": ["", "void", "adjustStoreVarArgsFI", "(", "MachineFrameInfo", "*", "MFI", ")", "const", "{", "if", "(", "!", "hasStoreVarArgs", "(", ")", ")", "return", ";"], "ground_truth": ["for", "(", "unsigned", "i", "=", "", ",", "e", "=", "FnStoreVarArgs", ".", "size", "(", ")", ";", "i", "!=", "e", ";", "++", "i", ")", "MFI", "->", "setObjectOffset", "(", "FnStoreVarArgs", "[", "i", "]", ".", "FI", ",", "FnStoreVarArgs", "[", "i", "]", ".", "SPOffset", ")", ";"], "File": "MBlazeMachineFunction1", "Func": "adjustStoreVarArgsFI", "Target": "MBlaze", "Target_Clf": "MPU", "Compiler_Type": "LLVM", "Idx": 137072, "Length": 59, "Cover_Rate": 0.9833333333333333} {"Template_token": ["", "void", "adjustStoreVarArgsFI", "(", "MachineFrameInfo", "*", "MFI", ")", "const", "{", "if", "(", "!", "hasStoreVarArgs", "(", ")", ")", "return", ";"], "ground_truth": ["for", "(", "unsigned", "i", "=", "", ",", "e", "=", "FnStoreVarArgs", ".", "size", "(", ")", ";", "i", "!=", "e", ";", "++", "i", ")", "MFI", "->", "setObjectOffset", "(", "FnStoreVarArgs", "[", "i", "]", ".", "FI", ",", "FnStoreVarArgs", "[", "i", "]", ".", "SPOffset", ")", ";"], "File": "MBlazeMachineFunction1", "Func": "adjustStoreVarArgsFI", "Target": "MBlaze", "Target_Clf": "MPU", "Compiler_Type": "LLVM", "Idx": 137073, "Length": 59, "Cover_Rate": 0.9833333333333333} {"Template_token": ["", "return", "CPUTopSavedRegOff", ";"], "ground_truth": ["}"], "File": "MBlazeMachineFunction1", "Func": "getCPUTopSavedRegOff", "Target": "MBlaze", "Target_Clf": "MPU", "Compiler_Type": "LLVM", "Idx": 137074, "Length": 4, "Cover_Rate": 0.4} {"Template_token": ["", "return", "FPStackOffset", ";"], "ground_truth": ["}"], "File": "MBlazeMachineFunction1", "Func": "getFPStackOffset", "Target": "MBlaze", "Target_Clf": "MPU", "Compiler_Type": "LLVM", "Idx": 137075, "Length": 4, "Cover_Rate": 0.4} {"Template_token": ["", "int", "getFPStackOffset", "(", ")", "const", "{", "return", "FPStackOffset", ";"], "ground_truth": ["}"], "File": "MBlazeMachineFunction1", "Func": "getFPStackOffset", "Target": "MBlaze", "Target_Clf": "MPU", "Compiler_Type": "LLVM", "Idx": 137076, "Length": 10, "Cover_Rate": 1.0} {"Template_token": ["", "return", "GlobalBaseReg", ";"], "ground_truth": ["}"], "File": "MBlazeMachineFunction1", "Func": "getGlobalBaseReg", "Target": "MBlaze", "Target_Clf": "MPU", "Compiler_Type": "LLVM", "Idx": 137077, "Length": 4, "Cover_Rate": 0.4} {"Template_token": ["", "return", "GPHolder", ".", "FI", ";"], "ground_truth": ["}"], "File": "MBlazeMachineFunction1", "Func": "getGPFI", "Target": "MBlaze", "Target_Clf": "MPU", "Compiler_Type": "LLVM", "Idx": 137078, "Length": 6, "Cover_Rate": 0.5} {"Template_token": ["", "int", "getGPStackOffset", "(", ")", "const", "{", "return", "GPHolder", ".", "SPOffset", ";"], "ground_truth": ["}"], "File": "MBlazeMachineFunction1", "Func": "getGPStackOffset", "Target": "MBlaze", "Target_Clf": "MPU", "Compiler_Type": "LLVM", "Idx": 137081, "Length": 12, "Cover_Rate": 1.0} {"Template_token": ["", "int", "getRAStackOffset", "(", ")", "const", "{"], "ground_truth": ["return", "RAStackOffset", ";"], "File": "MBlazeMachineFunction1", "Func": "getRAStackOffset", "Target": "MBlaze", "Target_Clf": "MPU", "Compiler_Type": "LLVM", "Idx": 137082, "Length": 9, "Cover_Rate": 0.9} {"Template_token": ["", "unsigned", "getSRetReturnReg", "(", ")", "const", "{", "return", "SRetReturnReg", ";"], "ground_truth": ["}"], "File": "MBlazeMachineFunction1", "Func": "getSRetReturnReg", "Target": "MBlaze", "Target_Clf": "MPU", "Compiler_Type": "LLVM", "Idx": 137083, "Length": 10, "Cover_Rate": 1.0} {"Template_token": ["", "unsigned", "getSRetReturnReg", "(", ")", "const", "{"], "ground_truth": ["return", "SRetReturnReg", ";"], "File": "MBlazeMachineFunction1", "Func": "getSRetReturnReg", "Target": "MBlaze", "Target_Clf": "MPU", "Compiler_Type": "LLVM", "Idx": 137084, "Length": 9, "Cover_Rate": 0.9} {"Template_token": ["", "return", "HasStoreVarArgs", ";"], "ground_truth": ["}"], "File": "MBlazeMachineFunction1", "Func": "hasStoreVarArgs", "Target": "MBlaze", "Target_Clf": "MPU", "Compiler_Type": "LLVM", "Idx": 137086, "Length": 4, "Cover_Rate": 0.4} {"Template_token": ["", "FIHolder", "(", "int", "FrameIndex", ",", "int", "StackPointerOffset", ")", ":", "FI", "(", "FrameIndex", ")", ",", "SPOffset", "(", "StackPointerOffset", ")", "{"], "ground_truth": ["}"], "File": "MBlazeMachineFunction1", "Func": "MBlazeFIHolder", "Target": "MBlaze", "Target_Clf": "MPU", "Compiler_Type": "LLVM", "Idx": 137087, "Length": 20, "Cover_Rate": 1.0} {"Template_token": ["", "FIHolder", "(", "int", "FrameIndex", ",", "int", "StackPointerOffset", ")", ":", "FI", "(", "FrameIndex", ")", ",", "SPOffset", "(", "StackPointerOffset", ")", "{"], "ground_truth": ["}"], "File": "MBlazeMachineFunction1", "Func": "MBlazeFIHolder", "Target": "MBlaze", "Target_Clf": "MPU", "Compiler_Type": "LLVM", "Idx": 137088, "Length": 20, "Cover_Rate": 1.0} {"Template_token": ["", "FunctionInfo", "(", "MachineFunction", "&", "MF", ")", ":", "FPStackOffset", "(", "", ")", ",", "RAStackOffset", "(", "", ")", ",", "CPUTopSavedRegOff", "(", "", ")", ",", "GPHolder", "(", "-", "", ",", "-", "", ")", ",", "HasLoadArgs", "(", "false", ")", ",", "HasStoreVarArgs", "(", "false", ")", ",", "SRetReturnReg", "(", "", ")", ",", "GlobalBaseReg", "(", "", ")", "{"], "ground_truth": ["}"], "File": "MBlazeMachineFunction1", "Func": "MBlazeFunctionInfo", "Target": "MBlaze", "Target_Clf": "MPU", "Compiler_Type": "LLVM", "Idx": 137089, "Length": 52, "Cover_Rate": 1.0} {"Template_token": ["", "FunctionInfo", "(", "MachineFunction", "&", "MF", ")", ":", "FPStackOffset", "(", "", ")", ",", "RAStackOffset", "(", "", ")", ",", "CPUTopSavedRegOff", "(", "", ")", ",", "GPHolder", "(", "-", "", ",", "-", "", ")", ",", "HasLoadArgs", "(", "false", ")", ",", "HasStoreVarArgs", "(", "false", ")", ",", "SRetReturnReg", "(", "", ")", ",", "GlobalBaseReg", "(", "", ")", "{"], "ground_truth": ["}"], "File": "MBlazeMachineFunction1", "Func": "MBlazeFunctionInfo", "Target": "MBlaze", "Target_Clf": "MPU", "Compiler_Type": "LLVM", "Idx": 137090, "Length": 52, "Cover_Rate": 1.0} {"Template_token": ["", "bool", "needGPSaveRestore", "(", ")", "const", "{"], "ground_truth": ["return", "GPHolder", ".", "SPOffset", "!=", "-", "", ";"], "File": "MBlazeMachineFunction1", "Func": "needGPSaveRestore", "Target": "MBlaze", "Target_Clf": "MPU", "Compiler_Type": "LLVM", "Idx": 137091, "Length": 14, "Cover_Rate": 0.9333333333333333} {"Template_token": ["", "bool", "needGPSaveRestore", "(", ")", "const", "{", "return", "GPHolder", ".", "SPOffset", "!=", "-", "", ";"], "ground_truth": ["}"], "File": "MBlazeMachineFunction1", "Func": "needGPSaveRestore", "Target": "MBlaze", "Target_Clf": "MPU", "Compiler_Type": "LLVM", "Idx": 137092, "Length": 15, "Cover_Rate": 1.0} {"Template_token": ["", "void", "recordLoadArgsFI", "(", "int", "FI", ",", "int", "SPOffset", ")", "{", "if", "(", "!", "HasLoadArgs", ")", "HasLoadArgs", "=", "true", ";", "FnLoadArgs", ".", "push_back", "(", "FIHolder", "(", "FI", ",", "SPOffset", ")", ")", ";"], "ground_truth": ["}"], "File": "MBlazeMachineFunction1", "Func": "recordLoadArgsFI", "Target": "MBlaze", "Target_Clf": "MPU", "Compiler_Type": "LLVM", "Idx": 137093, "Length": 32, "Cover_Rate": 1.0} {"Template_token": ["", "FnLoadArgs", ".", "push_back", "(", "FIHolder", "(", "FI", ",", "SPOffset", ")", ")", ";"], "ground_truth": ["}"], "File": "MBlazeMachineFunction1", "Func": "recordLoadArgsFI", "Target": "MBlaze", "Target_Clf": "MPU", "Compiler_Type": "LLVM", "Idx": 137094, "Length": 13, "Cover_Rate": 0.40625} {"Template_token": ["", "void", "recordStoreVarArgsFI", "(", "int", "FI", ",", "int", "SPOffset", ")", "{", "if", "(", "!", "HasStoreVarArgs", ")", "HasStoreVarArgs", "=", "true", ";", "FnStoreVarArgs", ".", "push_back", "(", "FIHolder", "(", "FI", ",", "SPOffset", ")", ")", ";"], "ground_truth": ["}"], "File": "MBlazeMachineFunction1", "Func": "recordStoreVarArgsFI", "Target": "MBlaze", "Target_Clf": "MPU", "Compiler_Type": "LLVM", "Idx": 137095, "Length": 32, "Cover_Rate": 1.0} {"Template_token": ["", "if", "(", "!", "HasStoreVarArgs", ")", "HasStoreVarArgs", "=", "true", ";"], "ground_truth": ["FnStoreVarArgs", ".", "push_back", "(", "FIHolder", "(", "FI", ",", "SPOffset", ")", ")", ";"], "File": "MBlazeMachineFunction1", "Func": "recordStoreVarArgsFI", "Target": "MBlaze", "Target_Clf": "MPU", "Compiler_Type": "LLVM", "Idx": 137096, "Length": 21, "Cover_Rate": 0.65625} {"Template_token": ["", "CPUTopSavedRegOff", "=", "Off", ";"], "ground_truth": ["}"], "File": "MBlazeMachineFunction1", "Func": "setCPUTopSavedRegOff", "Target": "MBlaze", "Target_Clf": "MPU", "Compiler_Type": "LLVM", "Idx": 137097, "Length": 5, "Cover_Rate": 0.4166666666666667} {"Template_token": ["", "CPUTopSavedRegOff", "=", "Off", ";"], "ground_truth": ["}"], "File": "MBlazeMachineFunction1", "Func": "setCPUTopSavedRegOff", "Target": "MBlaze", "Target_Clf": "MPU", "Compiler_Type": "LLVM", "Idx": 137098, "Length": 5, "Cover_Rate": 0.4166666666666667} {"Template_token": ["", "FPStackOffset", "=", "Off", ";"], "ground_truth": ["}"], "File": "MBlazeMachineFunction1", "Func": "setFPStackOffset", "Target": "MBlaze", "Target_Clf": "MPU", "Compiler_Type": "LLVM", "Idx": 137100, "Length": 5, "Cover_Rate": 0.4166666666666667} {"Template_token": ["", "GlobalBaseReg", "=", "Reg", ";"], "ground_truth": ["}"], "File": "MBlazeMachineFunction1", "Func": "setGlobalBaseReg", "Target": "MBlaze", "Target_Clf": "MPU", "Compiler_Type": "LLVM", "Idx": 137101, "Length": 5, "Cover_Rate": 0.4166666666666667} {"Template_token": ["", "void", "setGPFI", "(", "int", "FI", ")", "{", "GPHolder", ".", "FI", "=", "FI", ";"], "ground_truth": ["}"], "File": "MBlazeMachineFunction1", "Func": "setGPFI", "Target": "MBlaze", "Target_Clf": "MPU", "Compiler_Type": "LLVM", "Idx": 137103, "Length": 14, "Cover_Rate": 1.0} {"Template_token": ["", "void", "setGPFI", "(", "int", "FI", ")", "{", "GPHolder", ".", "FI", "=", "FI", ";"], "ground_truth": ["}"], "File": "MBlazeMachineFunction1", "Func": "setGPFI", "Target": "MBlaze", "Target_Clf": "MPU", "Compiler_Type": "LLVM", "Idx": 137104, "Length": 14, "Cover_Rate": 1.0} {"Template_token": ["", "GPHolder", ".", "SPOffset", "=", "Off", ";"], "ground_truth": ["}"], "File": "MBlazeMachineFunction1", "Func": "setGPStackOffset", "Target": "MBlaze", "Target_Clf": "MPU", "Compiler_Type": "LLVM", "Idx": 137105, "Length": 7, "Cover_Rate": 0.5} {"Template_token": ["", "void", "setGPStackOffset", "(", "int", "Off", ")", "{"], "ground_truth": ["GPHolder", ".", "SPOffset", "=", "Off", ";"], "File": "MBlazeMachineFunction1", "Func": "setGPStackOffset", "Target": "MBlaze", "Target_Clf": "MPU", "Compiler_Type": "LLVM", "Idx": 137106, "Length": 13, "Cover_Rate": 0.9285714285714286} {"Template_token": ["", "if", "(", "!", "hasLoadArgs", "(", ")", ")", "return", ";", "for", "(", "unsigned", "i", "=", "", ",", "e", "=", "FnLoadArgs", ".", "size", "(", ")", ";", "i", "!=", "e", ";", "++", "i", ")", "MFI", "->", "setObjectOffset", "(", "FnLoadArgs", "[", "i", "]", ".", "FI", ",", "FnLoadArgs", "[", "i", "]", ".", "SPOffset", ")", ";"], "ground_truth": ["}"], "File": "MBlazeMachineFunction2", "Func": "adjustLoadArgsFI", "Target": "MBlaze", "Target_Clf": "MPU", "Compiler_Type": "LLVM", "Idx": 137111, "Length": 51, "Cover_Rate": 0.85} {"Template_token": ["", "void", "adjustStoreVarArgsFI", "(", "MachineFrameInfo", "*", "MFI", ")", "const", "{", "if", "(", "!", "hasStoreVarArgs", "(", ")", ")", "return", ";"], "ground_truth": ["for", "(", "unsigned", "i", "=", "", ",", "e", "=", "FnStoreVarArgs", ".", "size", "(", ")", ";", "i", "!=", "e", ";", "++", "i", ")", "MFI", "->", "setObjectOffset", "(", "FnStoreVarArgs", "[", "i", "]", ".", "FI", ",", "FnStoreVarArgs", "[", "i", "]", ".", "SPOffset", ")", ";"], "File": "MBlazeMachineFunction2", "Func": "adjustStoreVarArgsFI", "Target": "MBlaze", "Target_Clf": "MPU", "Compiler_Type": "LLVM", "Idx": 137113, "Length": 59, "Cover_Rate": 0.9833333333333333} {"Template_token": ["", "const", "SmallVector", "<", "int", ",", "", ">", "&", "getLiveIn", "(", ")", "const", "{", "return", "LiveInFI", ";"], "ground_truth": ["}"], "File": "MBlazeMachineFunction2", "Func": "getLiveIn", "Target": "MBlaze", "Target_Clf": "MPU", "Compiler_Type": "LLVM", "Idx": 137115, "Length": 17, "Cover_Rate": 1.0} {"Template_token": ["", "return", "FIReplacements", ".", "lookup", "(", "OFI", ")", ";"], "ground_truth": ["}"], "File": "MBlazeMachineFunction2", "Func": "getReplacement", "Target": "MBlaze", "Target_Clf": "MPU", "Compiler_Type": "LLVM", "Idx": 137116, "Length": 9, "Cover_Rate": 0.5294117647058824} {"Template_token": ["", "return", "FIReplacements", ".", "lookup", "(", "OFI", ")", ";"], "ground_truth": ["}"], "File": "MBlazeMachineFunction2", "Func": "getReplacement", "Target": "MBlaze", "Target_Clf": "MPU", "Compiler_Type": "LLVM", "Idx": 137117, "Length": 9, "Cover_Rate": 0.5294117647058824} {"Template_token": ["", "return", "VarArgsFrameIndex", ";"], "ground_truth": ["}"], "File": "MBlazeMachineFunction2", "Func": "getVarArgsFrameIndex", "Target": "MBlaze", "Target_Clf": "MPU", "Compiler_Type": "LLVM", "Idx": 137118, "Length": 4, "Cover_Rate": 0.4} {"Template_token": ["", "int", "getVarArgsFrameIndex", "(", ")", "const", "{", "return", "VarArgsFrameIndex", ";"], "ground_truth": ["}"], "File": "MBlazeMachineFunction2", "Func": "getVarArgsFrameIndex", "Target": "MBlaze", "Target_Clf": "MPU", "Compiler_Type": "LLVM", "Idx": 137119, "Length": 10, "Cover_Rate": 1.0} {"Template_token": ["", "bool", "hasReplacement", "(", "int", "OFI", ")", "const", "{"], "ground_truth": ["return", "FIReplacements", ".", "find", "(", "OFI", ")", "!=", "FIReplacements", ".", "end", "(", ")", ";"], "File": "MBlazeMachineFunction2", "Func": "hasReplacement", "Target": "MBlaze", "Target_Clf": "MPU", "Compiler_Type": "LLVM", "Idx": 137120, "Length": 22, "Cover_Rate": 0.9565217391304348} {"Template_token": ["", "return", "FIReplacements", ".", "find", "(", "OFI", ")", "!=", "FIReplacements", ".", "end", "(", ")", ";"], "ground_truth": ["}"], "File": "MBlazeMachineFunction2", "Func": "hasReplacement", "Target": "MBlaze", "Target_Clf": "MPU", "Compiler_Type": "LLVM", "Idx": 137121, "Length": 15, "Cover_Rate": 0.6521739130434783} {"Template_token": ["", "for", "(", "unsigned", "i", "=", "", ",", "e", "=", "LiveInFI", ".", "size", "(", ")", ";", "i", "<", "e", ";", "++", "i", ")", "if", "(", "FI", "==", "LiveInFI", "[", "i", "]", ")", "return", "true", ";", "return", "false", ";"], "ground_truth": ["}"], "File": "MBlazeMachineFunction2", "Func": "isLiveIn", "Target": "MBlaze", "Target_Clf": "MPU", "Compiler_Type": "LLVM", "Idx": 137123, "Length": 38, "Cover_Rate": 0.8444444444444444} {"Template_token": ["", "FunctionInfo", "(", "MachineFunction", "&", "MF", ")", ":", "FPStackOffset", "(", "", ")", ",", "RAStackOffset", "(", "", ")", ",", "GPHolder", "(", "-", "", ",", "-", "", ")", ",", "HasLoadArgs", "(", "false", ")", ",", "HasStoreVarArgs", "(", "false", ")", ",", "SRetReturnReg", "(", "", ")", ",", "GlobalBaseReg", "(", "", ")", ",", "VarArgsFrameIndex", "(", "", ")", ",", "LiveInFI", "(", ")", "{"], "ground_truth": ["}"], "File": "MBlazeMachineFunction2", "Func": "MBlazeFunctionInfo", "Target": "MBlaze", "Target_Clf": "MPU", "Compiler_Type": "LLVM", "Idx": 137124, "Length": 56, "Cover_Rate": 1.0} {"Template_token": ["", "FunctionInfo", "(", "MachineFunction", "&", "MF", ")", ":", "FPStackOffset", "(", "", ")", ",", "RAStackOffset", "(", "", ")", ",", "GPHolder", "(", "-", "", ",", "-", "", ")", ",", "HasLoadArgs", "(", "false", ")", ",", "HasStoreVarArgs", "(", "false", ")", ",", "SRetReturnReg", "(", "", ")", ",", "GlobalBaseReg", "(", "", ")", ",", "VarArgsFrameIndex", "(", "", ")", ",", "LiveInFI", "(", ")", "{"], "ground_truth": ["}"], "File": "MBlazeMachineFunction2", "Func": "MBlazeFunctionInfo", "Target": "MBlaze", "Target_Clf": "MPU", "Compiler_Type": "LLVM", "Idx": 137125, "Length": 56, "Cover_Rate": 1.0} {"Template_token": ["", "void", "recordLiveIn", "(", "int", "FI", ")", "{"], "ground_truth": ["LiveInFI", ".", "push_back", "(", "FI", ")", ";"], "File": "MBlazeMachineFunction2", "Func": "recordLiveIn", "Target": "MBlaze", "Target_Clf": "MPU", "Compiler_Type": "LLVM", "Idx": 137127, "Length": 14, "Cover_Rate": 0.9333333333333333} {"Template_token": ["", "void", "recordReplacement", "(", "int", "OFI", ",", "int", "NFI", ")", "{"], "ground_truth": ["FIReplacements", ".", "insert", "(", "std", "::", "make_pair", "(", "OFI", ",", "NFI", ")", ")", ";"], "File": "MBlazeMachineFunction2", "Func": "recordReplacement", "Target": "MBlaze", "Target_Clf": "MPU", "Compiler_Type": "LLVM", "Idx": 137129, "Length": 24, "Cover_Rate": 0.96} {"Template_token": ["", "void", "setVarArgsFrameIndex", "(", "int", "Index", ")", "{", "VarArgsFrameIndex", "=", "Index", ";"], "ground_truth": ["}"], "File": "MBlazeMachineFunction2", "Func": "setVarArgsFrameIndex", "Target": "MBlaze", "Target_Clf": "MPU", "Compiler_Type": "LLVM", "Idx": 137131, "Length": 12, "Cover_Rate": 1.0} {"Template_token": ["", "const", "SmallVectorImpl", "<", "int", ">", "&", "getLiveIn", "(", ")", "const", "{"], "ground_truth": ["return", "LiveInFI", ";"], "File": "MBlazeMachineFunction3", "Func": "getLiveIn", "Target": "MBlaze", "Target_Clf": "MPU", "Compiler_Type": "LLVM", "Idx": 137132, "Length": 14, "Cover_Rate": 0.9333333333333333} {"Template_token": ["", "const", "SmallVectorImpl", "<", "int", ">", "&", "getLiveIn", "(", ")", "const", "{", "return", "LiveInFI", ";"], "ground_truth": ["}"], "File": "MBlazeMachineFunction3", "Func": "getLiveIn", "Target": "MBlaze", "Target_Clf": "MPU", "Compiler_Type": "LLVM", "Idx": 137133, "Length": 15, "Cover_Rate": 1.0} {"Template_token": ["", "FunctionInfo", "(", "MachineFunction", "&", "MF", ")", ":", "FPStackOffset", "(", "", ")", ",", "RAStackOffset", "(", "", ")", ",", "CPUTopSavedRegOff", "(", "", ")", ",", "GPHolder", "(", "-", "", ",", "-", "", ")", ",", "HasLoadArgs", "(", "false", ")", ",", "HasStoreVarArgs", "(", "false", ")", ",", "SRetReturnReg", "(", "", ")", ",", "GlobalBaseReg", "(", "", ")", ",", "VarArgsFrameIndex", "(", "", ")", "{"], "ground_truth": ["}"], "File": "MBlazeMachineFunction4", "Func": "MBlazeFunctionInfo", "Target": "MBlaze", "Target_Clf": "MPU", "Compiler_Type": "LLVM", "Idx": 137134, "Length": 57, "Cover_Rate": 1.0} {"Template_token": ["", "FunctionInfo", "(", "MachineFunction", "&", "MF", ")", ":", "FPStackOffset", "(", "", ")", ",", "RAStackOffset", "(", "", ")", ",", "CPUTopSavedRegOff", "(", "", ")", ",", "GPHolder", "(", "-", "", ",", "-", "", ")", ",", "HasLoadArgs", "(", "false", ")", ",", "HasStoreVarArgs", "(", "false", ")", ",", "SRetReturnReg", "(", "", ")", ",", "GlobalBaseReg", "(", "", ")", ",", "VarArgsFrameIndex", "(", "", ")", "{"], "ground_truth": ["}"], "File": "MBlazeMachineFunction4", "Func": "MBlazeFunctionInfo", "Target": "MBlaze", "Target_Clf": "MPU", "Compiler_Type": "LLVM", "Idx": 137135, "Length": 57, "Cover_Rate": 1.0} {"Template_token": ["", "FunctionInfo", "(", "MachineFunction", "&", "MF", ")", ":", "FPStackOffset", "(", "", ")", ",", "RAStackOffset", "(", "", ")", ",", "GPHolder", "(", "-", "", ",", "-", "", ")", ",", "HasLoadArgs", "(", "false", ")", ",", "HasStoreVarArgs", "(", "false", ")", ",", "SRetReturnReg", "(", "", ")", ",", "GlobalBaseReg", "(", "", ")", ",", "VarArgsFrameIndex", "(", "", ")", "{"], "ground_truth": ["}"], "File": "MBlazeMachineFunction5", "Func": "MBlazeFunctionInfo", "Target": "MBlaze", "Target_Clf": "MPU", "Compiler_Type": "LLVM", "Idx": 137136, "Length": 52, "Cover_Rate": 1.0} {"Template_token": ["", "FunctionInfo", "(", "MachineFunction", "&", "MF", ")", ":", "FPStackOffset", "(", "", ")", ",", "RAStackOffset", "(", "", ")", ",", "GPHolder", "(", "-", "", ",", "-", "", ")", ",", "HasLoadArgs", "(", "false", ")", ",", "HasStoreVarArgs", "(", "false", ")", ",", "SRetReturnReg", "(", "", ")", ",", "GlobalBaseReg", "(", "", ")", ",", "VarArgsFrameIndex", "(", "", ")", "{"], "ground_truth": ["}"], "File": "MBlazeMachineFunction5", "Func": "MBlazeFunctionInfo", "Target": "MBlaze", "Target_Clf": "MPU", "Compiler_Type": "LLVM", "Idx": 137137, "Length": 52, "Cover_Rate": 1.0} {"Template_token": ["", "void", "FunctionInfo", "::", "anchor", "(", ")", "{"], "ground_truth": ["}"], "File": "MBlazeMachineFunction", "Func": "anchor", "Target": "MBlaze", "Target_Clf": "MPU", "Compiler_Type": "LLVM", "Idx": 137138, "Length": 8, "Cover_Rate": 1.0} {"Template_token": ["", "void", "FunctionInfo", "::", "anchor", "(", ")", "{"], "ground_truth": ["}"], "File": "MBlazeMachineFunction", "Func": "anchor", "Target": "MBlaze", "Target_Clf": "MPU", "Compiler_Type": "LLVM", "Idx": 137139, "Length": 8, "Cover_Rate": 1.0} {"Template_token": ["", "AlignmentIsInBytes", "=", "false", ";", "PrivateGlobalPrefix", "=", "", ";", "GPRel32Directive", "=", "", ";"], "ground_truth": ["}"], "File": "MBlazeMCAsmInfo2", "Func": "MBlazeMCAsmInfo", "Target": "MBlaze", "Target_Clf": "MPU", "Compiler_Type": "LLVM", "Idx": 137140, "Length": 13, "Cover_Rate": 0.5652173913043478} {"Template_token": ["", "MCAsmInfo", "::", "MCAsmInfo", "(", ")", "{", "SupportsDebugInformation", "=", "true", ";"], "ground_truth": ["AlignmentIsInBytes", "=", "false", ";"], "File": "MBlazeMCAsmInfo2", "Func": "MBlazeMCAsmInfo", "Target": "MBlaze", "Target_Clf": "MPU", "Compiler_Type": "LLVM", "Idx": 137141, "Length": 14, "Cover_Rate": 0.6086956521739131} {"Template_token": ["", "AlignmentIsInBytes", "=", "false", ";", "Data16bitsDirective", "=", "", ";", "Data32bitsDirective", "=", "", ";", "Data64bitsDirective", "=", "", ";", "PrivateGlobalPrefix", "=", "", ";", "CommentString", "=", "", ";"], "ground_truth": ["ZeroDirective", "=", "", ";"], "File": "MBlazeMCAsmInfo3", "Func": "MBlazeMCAsmInfo", "Target": "MBlaze", "Target_Clf": "MPU", "Compiler_Type": "LLVM", "Idx": 137142, "Length": 28, "Cover_Rate": 0.5384615384615384} {"Template_token": ["", "IsLittleEndian", "=", "false", ";", "StackGrowsUp", "=", "false", ";", "SupportsDebugInformation", "=", "true", ";", "AlignmentIsInBytes", "=", "false", ";", "PrivateGlobalPrefix", "=", "", ";"], "ground_truth": ["GPRel32Directive", "=", "", ";"], "File": "MBlazeMCAsmInfo4", "Func": "MBlazeMCAsmInfo", "Target": "MBlaze", "Target_Clf": "MPU", "Compiler_Type": "LLVM", "Idx": 137143, "Length": 24, "Cover_Rate": 0.7741935483870968} {"Template_token": ["", "AlignmentIsInBytes", "=", "false", ";", "PrivateGlobalPrefix", "=", "", ";"], "ground_truth": ["GPRel32Directive", "=", "", ";"], "File": "MBlazeMCAsmInfo4", "Func": "MBlazeMCAsmInfo", "Target": "MBlaze", "Target_Clf": "MPU", "Compiler_Type": "LLVM", "Idx": 137144, "Length": 12, "Cover_Rate": 0.3870967741935484} {"Template_token": ["", "Data64bitsDirective", "=", "", ";", "PrivateGlobalPrefix", "=", "", ";", "CommentString", "=", "", ";"], "ground_truth": ["ZeroDirective", "=", "", ";"], "File": "MBlazeMCAsmInfo", "Func": "MBlazeMCAsmInfo", "Target": "MBlaze", "Target_Clf": "MPU", "Compiler_Type": "LLVM", "Idx": 137145, "Length": 16, "Cover_Rate": 0.32} {"Template_token": ["", "Data64bitsDirective", "=", "", ";", "PrivateGlobalPrefix", "=", "", ";", "CommentString", "=", "", ";", "ZeroDirective", "=", "", ";"], "ground_truth": ["GPRel32Directive", "=", "", ";"], "File": "MBlazeMCAsmInfo", "Func": "MBlazeMCAsmInfo", "Target": "MBlaze", "Target_Clf": "MPU", "Compiler_Type": "LLVM", "Idx": 137146, "Length": 20, "Cover_Rate": 0.4} {"Template_token": ["", "return", "new", "MCCodeEmitter", "(", "MCII", ",", "STI", ",", "Ctx", ")", ";"], "ground_truth": ["}"], "File": "MBlazeMCCodeEmitter1", "Func": "createMBlazeMCCodeEmitter", "Target": "MBlaze", "Target_Clf": "MPU", "Compiler_Type": "LLVM", "Idx": 137147, "Length": 12, "Cover_Rate": 0.3157894736842105} {"Template_token": ["", "if", "(", "MO", ".", "isImm", "(", ")", ")", "return", "static_cast", "<", "unsigned", ">", "(", "MO", ".", "getImm", "(", ")", ")", ";", "if", "(", "MO", ".", "isExpr", "(", ")", ")", "return", "", ";"], "ground_truth": ["errs", "(", ")", "<<", "MO", ";"], "File": "MBlazeMCCodeEmitter1", "Func": "getMachineOpValue", "Target": "MBlaze", "Target_Clf": "MPU", "Compiler_Type": "LLVM", "Idx": 137149, "Length": 38, "Cover_Rate": 0.4810126582278481} {"Template_token": ["", "static", "unsigned", "GetRegNum", "(", "const", "MCOperand", "&", "MO", ")", "{", "llvm_unreachable", "(", "", "", ")", ";"], "ground_truth": ["}"], "File": "MBlazeMCCodeEmitter1", "Func": "GetMBlazeRegNum", "Target": "MBlaze", "Target_Clf": "MPU", "Compiler_Type": "LLVM", "Idx": 137150, "Length": 17, "Cover_Rate": 1.0} {"Template_token": ["", "llvm_unreachable", "(", "", "", ")", ";"], "ground_truth": ["}"], "File": "MBlazeMCCodeEmitter1", "Func": "GetMBlazeRegNum", "Target": "MBlaze", "Target_Clf": "MPU", "Compiler_Type": "LLVM", "Idx": 137151, "Length": 7, "Cover_Rate": 0.4117647058823529} {"Template_token": ["", "case", "", ":", "case", "", ":", "EmitByte", "(", "", ",", "CurByte", ",", "OS", ")", ";", "EmitByte", "(", "", ",", "CurByte", ",", "OS", ")", ";"], "ground_truth": ["EmitRawByte", "(", "", ",", "CurByte", ",", "OS", ")", ";"], "File": "MBlazeMCCodeEmitter2", "Func": "EmitIMM", "Target": "MBlaze", "Target_Clf": "MPU", "Compiler_Type": "LLVM", "Idx": 137154, "Length": 33, "Cover_Rate": 0.38372093023255816} {"Template_token": ["", "EmitIMM", "(", "const", "MCInst", "&", "MI", ",", "unsigned", "&", "CurByte", ",", "raw_ostream", "&", "OS", ")", "const", "{", "switch", "(", "MI", ".", "getOpcode", "(", ")", ")", "{"], "ground_truth": ["default", ":", "break", ";"], "File": "MBlazeMCCodeEmitter2", "Func": "EmitIMM", "Target": "MBlaze", "Target_Clf": "MPU", "Compiler_Type": "LLVM", "Idx": 137155, "Length": 30, "Cover_Rate": 0.3488372093023256} {"Template_token": ["", "break", ";", "case", "", ":", "EmitImmediate", "(", "MI", ",", "", ",", "true", ",", "CurByte", ",", "OS", ",", "Fixups", ")", ";", "break", ";", "case", "", ":", "EmitImmediate", "(", "MI", ",", "", ",", "true", ",", "CurByte", ",", "OS", ",", "Fixups", ")", ";", "case", "", ":", "EmitImmediate", "(", "MI", ",", "", ",", "true", ",", "CurByte", ",", "OS", ",", "Fixups", ")", ";", "break", ";", "}", "++", "MCNumEmitted", ";", "unsigned", "Value", "=", "getBinaryCodeForInstr", "(", "MI", ")", ";"], "ground_truth": ["EmitConstant", "(", "Value", ",", "", ",", "CurByte", ",", "OS", ")", ";"], "File": "MBlazeMCCodeEmitter2", "Func": "EncodeInstruction", "Target": "MBlaze", "Target_Clf": "MPU", "Compiler_Type": "LLVM", "Idx": 137156, "Length": 83, "Cover_Rate": 0.3789954337899543} {"Template_token": ["", "uint64_t", "TSFlags", "=", "Desc", ".", "TSFlags", ";", "unsigned", "CurByte", "=", "", ";", "EmitIMM", "(", "MI", ",", "CurByte", ",", "OS", ")", ";", "switch", "(", "(", "TSFlags", "&", "", ")", ")", "{", "default", ":", "break", ";", "case", "", ":", "return", ";", "case", "", ":", "EmitImmediate", "(", "MI", ",", "", ",", "false", ",", "CurByte", ",", "OS", ",", "Fixups", ")", ";", "break", ";", "case", "", ":", "EmitImmediate", "(", "MI", ",", "", ",", "false", ",", "CurByte", ",", "OS", ",", "Fixups", ")", ";", "break", ";", "case", "", ":", "EmitImmediate", "(", "MI", ",", "", ",", "true", ",", "CurByte", ",", "OS", ",", "Fixups", ")", ";", "break", ";", "case", "", ":", "EmitImmediate", "(", "MI", ",", "", ",", "true", ",", "CurByte", ",", "OS", ",", "Fixups", ")", ";", "case", "", ":", "EmitImmediate", "(", "MI", ",", "", ",", "true", ",", "CurByte", ",", "OS", ",", "Fixups", ")", ";"], "ground_truth": ["break", ";"], "File": "MBlazeMCCodeEmitter2", "Func": "EncodeInstruction", "Target": "MBlaze", "Target_Clf": "MPU", "Compiler_Type": "LLVM", "Idx": 137157, "Length": 137, "Cover_Rate": 0.6255707762557078} {"Template_token": ["", "MCCodeEmitter", "(", "TargetMachine", "&", "tm", ",", "MCContext", "&", "ctx", ")", ":", "TM", "(", "tm", ")", ",", "TII", "(", "*", "TM", ".", "getInstrInfo", "(", ")", ")", ",", "Ctx", "(", "ctx", ")", "{"], "ground_truth": ["}"], "File": "MBlazeMCCodeEmitter2", "Func": "MBlazeMCCodeEmitter", "Target": "MBlaze", "Target_Clf": "MPU", "Compiler_Type": "LLVM", "Idx": 137158, "Length": 32, "Cover_Rate": 1.0} {"Template_token": ["", "MCCodeEmitter", "(", "TargetMachine", "&", "tm", ",", "MCContext", "&", "ctx", ")", ":", "TM", "(", "tm", ")", ",", "TII", "(", "*", "TM", ".", "getInstrInfo", "(", ")", ")", ",", "Ctx", "(", "ctx", ")", "{"], "ground_truth": ["}"], "File": "MBlazeMCCodeEmitter2", "Func": "MBlazeMCCodeEmitter", "Target": "MBlaze", "Target_Clf": "MPU", "Compiler_Type": "LLVM", "Idx": 137159, "Length": 32, "Cover_Rate": 1.0} {"Template_token": ["", "MCCodeEmitter", "*", "llvm", "::", "createMCCodeEmitter", "(", "const", "MCInstrInfo", "&", "MCII", ",", "const", "MCSubtargetInfo", "&", "STI", ",", "MCContext", "&", "Ctx", ")", "{"], "ground_truth": ["return", "new", "MCCodeEmitter", "(", "MCII", ",", "STI", ",", "Ctx", ")", ";"], "File": "MBlazeMCCodeEmitter", "Func": "createMBlazeMCCodeEmitter", "Target": "MBlaze", "Target_Clf": "MPU", "Compiler_Type": "LLVM", "Idx": 137160, "Length": 32, "Cover_Rate": 0.9696969696969697} {"Template_token": ["", "MCCodeEmitter", "*", "llvm", "::", "createMCCodeEmitter", "(", "const", "MCInstrInfo", "&", "MCII", ",", "const", "MCSubtargetInfo", "&", "STI", ",", "MCContext", "&", "Ctx", ")", "{"], "ground_truth": ["return", "new", "MCCodeEmitter", "(", "MCII", ",", "STI", ",", "Ctx", ")", ";"], "File": "MBlazeMCCodeEmitter", "Func": "createMBlazeMCCodeEmitter", "Target": "MBlaze", "Target_Clf": "MPU", "Compiler_Type": "LLVM", "Idx": 137161, "Length": 32, "Cover_Rate": 0.9696969696969697} {"Template_token": ["", "C", "=", "(", "(", "C", "*", "", ")", "&", "", ")", "*", "", ">>", "", ";"], "ground_truth": ["OS", "<<", "(", "char", ")", "C", ";"], "File": "MBlazeMCCodeEmitter", "Func": "EmitByte", "Target": "MBlaze", "Target_Clf": "MPU", "Compiler_Type": "LLVM", "Idx": 137162, "Length": 23, "Cover_Rate": 0.5227272727272727} {"Template_token": ["", "void", "EmitByte", "(", "unsigned", "char", "C", ",", "unsigned", "&", "CurByte", ",", "raw_ostream", "&", "OS", ")", "const", "{", "C", "=", "(", "(", "C", "*", "", ")", "&", "", ")", "*", "", ">>", "", ";", "OS", "<<", "(", "char", ")", "C", ";", "++", "CurByte", ";"], "ground_truth": ["}"], "File": "MBlazeMCCodeEmitter", "Func": "EmitByte", "Target": "MBlaze", "Target_Clf": "MPU", "Compiler_Type": "LLVM", "Idx": 137163, "Length": 44, "Cover_Rate": 1.0} {"Template_token": ["", "void", "MCCodeEmitter", "::", "EmitIMM", "(", "const", "MCInst", "&", "MI", ",", "unsigned", "&", "CurByte", ",", "raw_ostream", "&", "OS", ")", "const", "{", "switch", "(", "MI", ".", "getOpcode", "(", ")", ")", "{", "default", ":", "break", ";", "case", "", ":", "case", "", ":", "case", "", ":", "EmitByte", "(", "", ",", "CurByte", ",", "OS", ")", ";", "EmitByte", "(", "", ",", "CurByte", ",", "OS", ")", ";"], "ground_truth": ["EmitRawByte", "(", "", ",", "CurByte", ",", "OS", ")", ";"], "File": "MBlazeMCCodeEmitter", "Func": "EmitIMM", "Target": "MBlaze", "Target_Clf": "MPU", "Compiler_Type": "LLVM", "Idx": 137164, "Length": 69, "Cover_Rate": 0.8023255813953488} {"Template_token": ["", "void", "MCCodeEmitter", "::", "EmitImmediate", "(", "const", "MCInst", "&", "MI", ",", "unsigned", "opNo", ",", "bool", "pcrel", ",", "unsigned", "&", "CurByte", ",", "raw_ostream", "&", "OS", ",", "SmallVectorImpl", "<", "MCFixup", ">", "&", "Fixups", ")", "const", "{", "assert", "(", "MI", ".", "getNumOperands", "(", ")", ">", "opNo", "&&", "", ")", ";", "MCOperand", "oper", "=", "MI", ".", "getOperand", "(", "opNo", ")", ";", "if", "(", "oper", ".", "isImm", "(", ")", ")", "{", "EmitIMM", "(", "oper", ",", "CurByte", ",", "OS", ")", ";", "}", "else", "if", "(", "oper", ".", "isExpr", "(", ")", ")", "{", "MCFixupKind", "FixupKind", ";", "switch", "(", "MI", ".", "getOpcode", "(", ")", ")", "{", "default", ":", "FixupKind", "=", "pcrel", "?", "FK_PCRel_2", ":", "FK_Data_2", ";", "Fixups", ".", "push_back", "(", "MCFixup", "::", "Create", "(", "", ",", "oper", ".", "getExpr", "(", ")", ",", "FixupKind", ")", ")", ";", "break", ";", "case", "", ":", "case", "", ":"], "ground_truth": ["case", "", ":"], "File": "MBlazeMCCodeEmitter", "Func": "EmitImmediate", "Target": "MBlaze", "Target_Clf": "MPU", "Compiler_Type": "LLVM", "Idx": 137165, "Length": 138, "Cover_Rate": 0.7796610169491526} {"Template_token": ["", "void", "EmitRawByte", "(", "unsigned", "char", "C", ",", "unsigned", "&", "CurByte", ",", "raw_ostream", "&", "OS", ")", "const", "{", "OS", "<<", "(", "char", ")", "C", ";"], "ground_truth": ["++", "CurByte", ";"], "File": "MBlazeMCCodeEmitter", "Func": "EmitRawByte", "Target": "MBlaze", "Target_Clf": "MPU", "Compiler_Type": "LLVM", "Idx": 137166, "Length": 27, "Cover_Rate": 0.9642857142857143} {"Template_token": ["", "unsigned", "Opcode", "=", "MI", ".", "getOpcode", "(", ")", ";", "const", "MCInstrDesc", "&", "Desc", "=", "MCII", ".", "get", "(", "Opcode", ")", ";", "uint64_t", "TSFlags", "=", "Desc", ".", "TSFlags", ";", "unsigned", "CurByte", "=", "", ";", "EmitIMM", "(", "MI", ",", "CurByte", ",", "OS", ")", ";", "switch", "(", "(", "TSFlags", "&", "", ")", ")", "{", "default", ":", "break", ";", "case", "", ":", "return", ";", "case", "", ":", "EmitImmediate", "(", "MI", ",", "", ",", "false", ",", "CurByte", ",", "OS", ",", "Fixups", ")", ";", "break", ";", "case", "", ":"], "ground_truth": ["EmitImmediate", "(", "MI", ",", "", ",", "false", ",", "CurByte", ",", "OS", ",", "Fixups", ")", ";"], "File": "MBlazeMCCodeEmitter", "Func": "EncodeInstruction", "Target": "MBlaze", "Target_Clf": "MPU", "Compiler_Type": "LLVM", "Idx": 137168, "Length": 98, "Cover_Rate": 0.4474885844748858} {"Template_token": ["", "case", "", ":", "EmitImmediate", "(", "MI", ",", "", ",", "true", ",", "CurByte", ",", "OS", ",", "Fixups", ")", ";", "break", ";", "case", "", ":", "EmitImmediate", "(", "MI", ",", "", ",", "true", ",", "CurByte", ",", "OS", ",", "Fixups", ")", ";", "case", "", ":", "EmitImmediate", "(", "MI", ",", "", ",", "true", ",", "CurByte", ",", "OS", ",", "Fixups", ")", ";", "break", ";", "}", "++", "MCNumEmitted", ";", "unsigned", "Value", "=", "getBinaryCodeForInstr", "(", "MI", ")", ";", "EmitConstant", "(", "Value", ",", "", ",", "CurByte", ",", "OS", ")", ";"], "ground_truth": ["}"], "File": "MBlazeMCCodeEmitter", "Func": "EncodeInstruction", "Target": "MBlaze", "Target_Clf": "MPU", "Compiler_Type": "LLVM", "Idx": 137169, "Length": 82, "Cover_Rate": 0.3744292237442922} {"Template_token": ["", "unsigned", "MCCodeEmitter", "::", "getMachineOpValue", "(", "const", "MCInst", "&", "MI", ",", "const", "MCOperand", "&", "MO", ")", "const", "{", "if", "(", "MO", ".", "isReg", "(", ")", ")", "return", "RegisterInfo", "::", "getRegisterNumbering", "(", "MO", ".", "getReg", "(", ")", ")", ";", "else", "if", "(", "MO", ".", "isImm", "(", ")", ")", "return", "static_cast", "<", "unsigned", ">", "(", "MO", ".", "getImm", "(", ")", ")", ";", "else", "if", "(", "MO", ".", "isExpr", "(", ")", ")", "return", "", ";"], "ground_truth": ["else", "{"], "File": "MBlazeMCCodeEmitter", "Func": "getMachineOpValue", "Target": "MBlaze", "Target_Clf": "MPU", "Compiler_Type": "LLVM", "Idx": 137170, "Length": 73, "Cover_Rate": 0.8202247191011236} {"Template_token": ["", "assert", "(", "", "&&", "", ")", ";"], "ground_truth": ["return", "", ";"], "File": "MBlazeMCCodeEmitter", "Func": "GetMBlazeRegNum", "Target": "MBlaze", "Target_Clf": "MPU", "Compiler_Type": "LLVM", "Idx": 137171, "Length": 10, "Cover_Rate": 0.47619047619047616} {"Template_token": ["", "MCCodeEmitter", "(", "const", "MCInstrInfo", "&", "mcii", ",", "const", "MCSubtargetInfo", "&", "sti", ",", "MCContext", "&", "ctx", ")", ":", "MCII", "(", "mcii", ")", "{"], "ground_truth": ["}"], "File": "MBlazeMCCodeEmitter", "Func": "MBlazeMCCodeEmitter", "Target": "MBlaze", "Target_Clf": "MPU", "Compiler_Type": "LLVM", "Idx": 137173, "Length": 23, "Cover_Rate": 1.0} {"Template_token": ["", "MCCodeEmitter", "(", "const", "MCInstrInfo", "&", "mcii", ",", "const", "MCSubtargetInfo", "&", "sti", ",", "MCContext", "&", "ctx", ")", ":", "MCII", "(", "mcii", ")", "{"], "ground_truth": ["}"], "File": "MBlazeMCCodeEmitter", "Func": "MBlazeMCCodeEmitter", "Target": "MBlaze", "Target_Clf": "MPU", "Compiler_Type": "LLVM", "Idx": 137174, "Length": 23, "Cover_Rate": 1.0} {"Template_token": ["", "~", "MCCodeEmitter", "(", ")", "{"], "ground_truth": ["}"], "File": "MBlazeMCCodeEmitter", "Func": "~MBlazeMCCodeEmitter", "Target": "MBlaze", "Target_Clf": "MPU", "Compiler_Type": "LLVM", "Idx": 137175, "Length": 6, "Cover_Rate": 1.0} {"Template_token": ["", "~", "MCCodeEmitter", "(", ")", "{"], "ground_truth": ["}"], "File": "MBlazeMCCodeEmitter", "Func": "~MBlazeMCCodeEmitter", "Target": "MBlaze", "Target_Clf": "MPU", "Compiler_Type": "LLVM", "Idx": 137176, "Length": 6, "Cover_Rate": 1.0} {"Template_token": ["", "MCSymbol", "*", "MCInstLower", "::", "GetBlockAddressSymbol", "(", "const", "MachineOperand", "&", "MO", ")", "const", "{", "switch", "(", "MO", ".", "getTargetFlags", "(", ")", ")", "{", "default", ":", "assert", "(", "", "&&", "", ")", ";", "case", "", ":", "break", ";"], "ground_truth": ["}"], "File": "MBlazeMCInstLower1", "Func": "GetBlockAddressSymbol", "Target": "MBlaze", "Target_Clf": "MPU", "Compiler_Type": "LLVM", "Idx": 137177, "Length": 37, "Cover_Rate": 0.74} {"Template_token": ["", "assert", "(", "", "&&", "", ")", ";", "case", "", ":", "break", ";", "}"], "ground_truth": ["return", "Printer", ".", "GetBlockAddressSymbol", "(", "MO", ".", "getBlockAddress", "(", ")", ")", ";"], "File": "MBlazeMCInstLower1", "Func": "GetBlockAddressSymbol", "Target": "MBlaze", "Target_Clf": "MPU", "Compiler_Type": "LLVM", "Idx": 137178, "Length": 25, "Cover_Rate": 0.5} {"Template_token": ["", "MCOperand", "LowerSymbolOperand", "(", "const", "MachineOperand", "&", "MO", ",", "MCSymbol", "*", "Sym", ")", "const", ";", "MCSymbol", "*", "GetGlobalAddressSymbol", "(", "const", "MachineOperand", "&", "MO", ")", "const", ";", "MCSymbol", "*", "GetExternalSymbolSymbol", "(", "const", "MachineOperand", "&", "MO", ")", "const", ";", "MCSymbol", "*", "GetJumpTableSymbol", "(", "const", "MachineOperand", "&", "MO", ")", "const", ";", "MCSymbol", "*", "GetConstantPoolIndexSymbol", "(", "const", "MachineOperand", "&", "MO", ")", "const", ";", "MCSymbol", "*", "GetBlockAddressSymbol", "(", "const", "MachineOperand", "&", "MO", ")", "const", ";"], "ground_truth": ["}"], "File": "MBlazeMCInstLower2", "Func": "GetGlobalAddressSymbol", "Target": "MBlaze", "Target_Clf": "MPU", "Compiler_Type": "LLVM", "Idx": 137179, "Length": 70, "Cover_Rate": 0.5833333333333334} {"Template_token": ["", "for", "(", "unsigned", "i", "=", "", ",", "e", "=", "MI", "->", "getNumOperands", "(", ")", ";", "i", "!=", "e", ";", "++", "i", ")", "{", "const", "MachineOperand", "&", "MO", "=", "MI", "->", "getOperand", "(", "i", ")", ";", "MCOperand", "MCOp", ";", "switch", "(", "MO", ".", "getType", "(", ")", ")", "{", "default", ":", "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_MachineBasicBlock", ":", "MCOp", "=", "MCOperand", "::", "CreateExpr", "(", "MCSymbolRefExpr", "::", "Create", "(", "MO", ".", "getMBB", "(", ")", "->", "getSymbol", "(", ")", ",", "Ctx", ")", ")", ";", "break", ";", "case", "MachineOperand", "::", "MO_GlobalAddress", ":", "MCOp", "=", "LowerSymbolOperand", "(", "MO", ",", "GetGlobalAddressSymbol", "(", "MO", ")", ")", ";", "break", ";", "case", "MachineOperand", "::", "MO_ExternalSymbol", ":", "MCOp", "=", "LowerSymbolOperand", "(", "MO", ",", "GetExternalSymbolSymbol", "(", "MO", ")", ")", ";", "break", ";", "case", "MachineOperand", "::", "MO_JumpTableIndex", ":", "MCOp", "=", "LowerSymbolOperand", "(", "MO", ",", "GetJumpTableSymbol", "(", "MO", ")", ")", ";", "break", ";", "case", "MachineOperand", "::", "MO_ConstantPoolIndex", ":", "MCOp", "=", "LowerSymbolOperand", "(", "MO", ",", "GetConstantPoolIndexSymbol", "(", "MO", ")", ")", ";", "break", ";"], "ground_truth": ["case", "MachineOperand", "::", "MO_BlockAddress", ":"], "File": "MBlazeMCInstLower2", "Func": "Lower", "Target": "MBlaze", "Target_Clf": "MPU", "Compiler_Type": "LLVM", "Idx": 137180, "Length": 216, "Cover_Rate": 0.6467065868263473} {"Template_token": ["", "raw_svector_ostream", "(", "Name", ")", "<<", "Printer", ".", "MAI", "->", "getPrivateGlobalPrefix", "(", ")", "<<", "", "<<", "Printer", ".", "getFunctionNumber", "(", ")", "<<", "'_'", "<<", "MO", ".", "getIndex", "(", ")", ";", "switch", "(", "MO", ".", "getTargetFlags", "(", ")", ")", "{", "default", ":", "llvm_unreachable", "(", "", ")", ";", "case", "", ":", "break", ";", "}", "return", "Ctx", ".", "GetOrCreateSymbol", "(", "Name", ".", "str", "(", ")", ")", ";"], "ground_truth": ["}"], "File": "MBlazeMCInstLower", "Func": "GetConstantPoolIndexSymbol", "Target": "MBlaze", "Target_Clf": "MPU", "Compiler_Type": "LLVM", "Idx": 137181, "Length": 64, "Cover_Rate": 0.7710843373493976} {"Template_token": ["", "GetExternalSymbolSymbol", "(", "const", "MachineOperand", "&", "MO", ")", "const", "{", "switch", "(", "MO", ".", "getTargetFlags", "(", ")", ")", "{", "default", ":", "llvm_unreachable", "(", "", ")", ";", "case", "", ":", "break", ";", "}", "return", "Printer", ".", "GetExternalSymbolSymbol", "(", "MO", ".", "getSymbolName", "(", ")", ")", ";"], "ground_truth": ["}"], "File": "MBlazeMCInstLower", "Func": "GetExternalSymbolSymbol", "Target": "MBlaze", "Target_Clf": "MPU", "Compiler_Type": "LLVM", "Idx": 137182, "Length": 44, "Cover_Rate": 0.9166666666666666} {"Template_token": ["", "MCSymbol", "*", "MCInstLower", "::", "GetExternalSymbolSymbol", "(", "const", "MachineOperand", "&", "MO", ")", "const", "{", "switch", "(", "MO", ".", "getTargetFlags", "(", ")", ")", "{", "default", ":", "llvm_unreachable", "(", "", ")", ";", "case", "", ":", "break", ";", "}"], "ground_truth": ["return", "Printer", ".", "GetExternalSymbolSymbol", "(", "MO", ".", "getSymbolName", "(", ")", ")", ";"], "File": "MBlazeMCInstLower", "Func": "GetExternalSymbolSymbol", "Target": "MBlaze", "Target_Clf": "MPU", "Compiler_Type": "LLVM", "Idx": 137183, "Length": 47, "Cover_Rate": 0.9791666666666666} {"Template_token": ["", "MCContext", "&", "Ctx", ";", "Mangler", "&", "Mang", ";", "AsmPrinter", "&", "Printer", ";", "public", ":", "MCInstLower", "(", "MCContext", "&", "ctx", ",", "Mangler", "&", "mang", ",", "AsmPrinter", "&", "printer", ")", ":", "Ctx", "(", "ctx", ")", ",", "Mang", "(", "mang", ")", ",", "Printer", "(", "printer", ")", "{", "}", "void", "Lower", "(", "const", "MachineInstr", "*", "MI", ",", "MCInst", "&", "OutMI", ")", "const", ";"], "ground_truth": ["MCOperand", "LowerSymbolOperand", "(", "const", "MachineOperand", "&", "MO", ",", "MCSymbol", "*", "Sym", ")", "const", ";"], "File": "MBlazeMCInstLower", "Func": "GetGlobalAddressSymbol", "Target": "MBlaze", "Target_Clf": "MPU", "Compiler_Type": "LLVM", "Idx": 137184, "Length": 73, "Cover_Rate": 0.5488721804511278} {"Template_token": ["", "AsmPrinter", "&", "Printer", ";", "public", ":", "MCInstLower", "(", "MCContext", "&", "ctx", ",", "Mangler", "&", "mang", ",", "AsmPrinter", "&", "printer", ")", ":", "Ctx", "(", "ctx", ")", ",", "Mang", "(", "mang", ")", ",", "Printer", "(", "printer", ")", "{", "}", "void", "Lower", "(", "const", "MachineInstr", "*", "MI", ",", "MCInst", "&", "OutMI", ")", "const", ";", "MCOperand", "LowerSymbolOperand", "(", "const", "MachineOperand", "&", "MO", ",", "MCSymbol", "*", "Sym", ")", "const", ";", "MCSymbol", "*", "GetGlobalAddressSymbol", "(", "const", "MachineOperand", "&", "MO", ")", "const", ";", "MCSymbol", "*", "GetExternalSymbolSymbol", "(", "const", "MachineOperand", "&", "MO", ")", "const", ";", "MCSymbol", "*", "GetJumpTableSymbol", "(", "const", "MachineOperand", "&", "MO", ")", "const", ";", "MCSymbol", "*", "GetConstantPoolIndexSymbol", "(", "const", "MachineOperand", "&", "MO", ")", "const", ";", "MCSymbol", "*", "GetBlockAddressSymbol", "(", "const", "MachineOperand", "&", "MO", ")", "const", ";"], "ground_truth": ["}"], "File": "MBlazeMCInstLower", "Func": "GetGlobalAddressSymbol", "Target": "MBlaze", "Target_Clf": "MPU", "Compiler_Type": "LLVM", "Idx": 137185, "Length": 121, "Cover_Rate": 0.9097744360902256} {"Template_token": ["", "raw_svector_ostream", "(", "Name", ")", "<<", "Printer", ".", "MAI", "->", "getPrivateGlobalPrefix", "(", ")", "<<", "", "<<", "Printer", ".", "getFunctionNumber", "(", ")", "<<", "'_'", "<<", "MO", ".", "getIndex", "(", ")", ";", "switch", "(", "MO", ".", "getTargetFlags", "(", ")", ")", "{", "default", ":", "llvm_unreachable", "(", "", ")", ";", "case", "", ":", "break", ";", "}", "return", "Ctx", ".", "GetOrCreateSymbol", "(", "Name", ".", "str", "(", ")", ")", ";"], "ground_truth": ["}"], "File": "MBlazeMCInstLower", "Func": "GetJumpTableSymbol", "Target": "MBlaze", "Target_Clf": "MPU", "Compiler_Type": "LLVM", "Idx": 137186, "Length": 64, "Cover_Rate": 0.7710843373493976} {"Template_token": ["", "raw_svector_ostream", "(", "Name", ")", "<<", "Printer", ".", "MAI", "->", "getPrivateGlobalPrefix", "(", ")", "<<", "", "<<", "Printer", ".", "getFunctionNumber", "(", ")", "<<", "'_'", "<<", "MO", ".", "getIndex", "(", ")", ";", "switch", "(", "MO", ".", "getTargetFlags", "(", ")", ")", "{"], "ground_truth": ["default", ":", "llvm_unreachable", "(", "", ")", ";"], "File": "MBlazeMCInstLower", "Func": "GetJumpTableSymbol", "Target": "MBlaze", "Target_Clf": "MPU", "Compiler_Type": "LLVM", "Idx": 137187, "Length": 45, "Cover_Rate": 0.5421686746987951} {"Template_token": ["", "OutMI", ".", "setOpcode", "(", "MI", "->", "getOpcode", "(", ")", ")", ";", "for", "(", "unsigned", "i", "=", "", ",", "e", "=", "MI", "->", "getNumOperands", "(", ")", ";", "i", "!=", "e", ";", "++", "i", ")", "{", "const", "MachineOperand", "&", "MO", "=", "MI", "->", "getOperand", "(", "i", ")", ";", "MCOperand", "MCOp", ";", "switch", "(", "MO", ".", "getType", "(", ")", ")", "{", "default", ":", "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_MachineBasicBlock", ":", "MCOp", "=", "MCOperand", "::", "CreateExpr", "(", "MCSymbolRefExpr", "::", "Create", "(", "MO", ".", "getMBB", "(", ")", "->", "getSymbol", "(", ")", ",", "Ctx", ")", ")", ";", "break", ";", "case", "MachineOperand", "::", "MO_GlobalAddress", ":", "MCOp", "=", "LowerSymbolOperand", "(", "MO", ",", "GetGlobalAddressSymbol", "(", "MO", ")", ")", ";", "break", ";", "case", "MachineOperand", "::", "MO_ExternalSymbol", ":", "MCOp", "=", "LowerSymbolOperand", "(", "MO", ",", "GetExternalSymbolSymbol", "(", "MO", ")", ")", ";", "break", ";", "case", "MachineOperand", "::", "MO_JumpTableIndex", ":", "MCOp", "=", "LowerSymbolOperand", "(", "MO", ",", "GetJumpTableSymbol", "(", "MO", ")", ")", ";", "break", ";", "case", "MachineOperand", "::", "MO_ConstantPoolIndex", ":", "MCOp", "=", "LowerSymbolOperand", "(", "MO", ",", "GetConstantPoolIndexSymbol", "(", "MO", ")", ")", ";", "break", ";", "case", "MachineOperand", "::", "MO_BlockAddress", ":"], "ground_truth": ["MCOp", "=", "LowerSymbolOperand", "(", "MO", ",", "GetBlockAddressSymbol", "(", "MO", ")", ")", ";"], "File": "MBlazeMCInstLower", "Func": "Lower", "Target": "MBlaze", "Target_Clf": "MPU", "Compiler_Type": "LLVM", "Idx": 137188, "Length": 239, "Cover_Rate": 0.6967930029154519} {"Template_token": ["", "if", "(", "!", "MO", ".", "isJTI", "(", ")", "&&", "MO", ".", "getOffset", "(", ")", ")", "Expr", "=", "MCBinaryExpr", "::", "CreateAdd", "(", "Expr", ",", "MCConstantExpr", "::", "Create", "(", "MO", ".", "getOffset", "(", ")", ",", "Ctx", ")", ",", "Ctx", ")", ";"], "ground_truth": ["return", "MCOperand", "::", "CreateExpr", "(", "Expr", ")", ";"], "File": "MBlazeMCInstLower", "Func": "LowerSymbolOperand", "Target": "MBlaze", "Target_Clf": "MPU", "Compiler_Type": "LLVM", "Idx": 137189, "Length": 47, "Cover_Rate": 0.47} {"Template_token": ["", "MCOperand", "MCInstLower", "::", "LowerSymbolOperand", "(", "const", "MachineOperand", "&", "MO", ",", "MCSymbol", "*", "Sym", ")", "const", "{", "const", "MCExpr", "*", "Expr", "=", "MCSymbolRefExpr", "::", "Create", "(", "Sym", ",", "Ctx", ")", ";"], "ground_truth": ["switch", "(", "MO", ".", "getTargetFlags", "(", ")", ")", "{"], "File": "MBlazeMCInstLower", "Func": "LowerSymbolOperand", "Target": "MBlaze", "Target_Clf": "MPU", "Compiler_Type": "LLVM", "Idx": 137190, "Length": 39, "Cover_Rate": 0.39} {"Template_token": ["", "static", "MCInstPrinter", "*", "createMCInstPrinter", "(", "const", "Target", "&", "T", ",", "unsigned", "SyntaxVariant", ",", "const", "MCAsmInfo", "&", "MAI", ",", "const", "MCSubtargetInfo", "&", "STI", ")", "{", "if", "(", "SyntaxVariant", "==", "", ")", "return", "new", "InstPrinter", "(", "MAI", ")", ";"], "ground_truth": ["return", "", ";"], "File": "MBlazeMCTargetDesc1", "Func": "createMBlazeMCInstPrinter", "Target": "MBlaze", "Target_Clf": "MPU", "Compiler_Type": "LLVM", "Idx": 137192, "Length": 40, "Cover_Rate": 0.975609756097561} {"Template_token": ["", "switch", "(", "TheTriple", ".", "getOS", "(", ")", ")", "{", "default", ":"], "ground_truth": ["return", "new", "MCAsmInfo", "(", ")", ";"], "File": "MBlazeMCTargetDesc1", "Func": "createMCAsmInfo", "Target": "MBlaze", "Target_Clf": "MPU", "Compiler_Type": "LLVM", "Idx": 137193, "Length": 17, "Cover_Rate": 0.4358974358974359} {"Template_token": ["", "Triple", "TheTriple", "(", "TT", ")", ";", "switch", "(", "TheTriple", ".", "getOS", "(", ")", ")", "{", "default", ":"], "ground_truth": ["return", "new", "MCAsmInfo", "(", ")", ";"], "File": "MBlazeMCTargetDesc1", "Func": "createMCAsmInfo", "Target": "MBlaze", "Target_Clf": "MPU", "Compiler_Type": "LLVM", "Idx": 137194, "Length": 23, "Cover_Rate": 0.5897435897435898} {"Template_token": ["", "return", "NULL", ";", "}", "if", "(", "TheTriple", ".", "isOSWindows", "(", ")", ")", "{", "llvm_unreachable", "(", "", ")", ";", "return", "NULL", ";", "}"], "ground_truth": ["return", "createELFStreamer", "(", "Ctx", ",", "MAB", ",", "_OS", ",", "_Emitter", ",", "RelaxAll", ",", "NoExecStack", ")", ";"], "File": "MBlazeMCTargetDesc1", "Func": "createMCStreamer", "Target": "MBlaze", "Target_Clf": "MPU", "Compiler_Type": "LLVM", "Idx": 137195, "Length": 38, "Cover_Rate": 0.4} {"Template_token": ["", "return", "new", "MCAsmInfo", "(", ")", ";"], "ground_truth": ["}"], "File": "MBlazeMCTargetDesc2", "Func": "createMCAsmInfo", "Target": "MBlaze", "Target_Clf": "MPU", "Compiler_Type": "LLVM", "Idx": 137197, "Length": 7, "Cover_Rate": 0.3333333333333333} {"Template_token": ["", "if", "(", "RM", "==", "Reloc", "::", "Default", ")", "RM", "=", "Reloc", "::", "Static", ";", "if", "(", "CM", "==", "CodeModel", "::", "Default", ")", "CM", "=", "CodeModel", "::", "Small", ";", "X", "->", "InitMCCodeGenInfo", "(", "RM", ",", "CM", ")", ";"], "ground_truth": ["return", "X", ";"], "File": "MBlazeMCTargetDesc5", "Func": "createMBlazeMCCodeGenInfo", "Target": "MBlaze", "Target_Clf": "MPU", "Compiler_Type": "LLVM", "Idx": 137198, "Length": 40, "Cover_Rate": 0.5797101449275363} {"Template_token": ["", "if", "(", "CM", "==", "CodeModel", "::", "Default", ")", "CM", "=", "CodeModel", "::", "Small", ";", "X", "->", "InitMCCodeGenInfo", "(", "RM", ",", "CM", ")", ";"], "ground_truth": ["return", "X", ";"], "File": "MBlazeMCTargetDesc5", "Func": "createMBlazeMCCodeGenInfo", "Target": "MBlaze", "Target_Clf": "MPU", "Compiler_Type": "LLVM", "Idx": 137199, "Length": 26, "Cover_Rate": 0.37681159420289856} {"Template_token": ["", "static", "MCInstPrinter", "*", "createMCInstPrinter", "(", "const", "Target", "&", "T", ",", "unsigned", "SyntaxVariant", ",", "const", "MCAsmInfo", "&", "MAI", ",", "const", "MCRegisterInfo", "&", "MRI", ",", "const", "MCSubtargetInfo", "&", "STI", ")", "{", "if", "(", "SyntaxVariant", "==", "", ")", "return", "new", "InstPrinter", "(", "MAI", ",", "MRI", ")", ";", "return", "", ";"], "ground_truth": ["}"], "File": "MBlazeMCTargetDesc6", "Func": "createMBlazeMCInstPrinter", "Target": "MBlaze", "Target_Clf": "MPU", "Compiler_Type": "LLVM", "Idx": 137200, "Length": 48, "Cover_Rate": 1.0} {"Template_token": ["", "if", "(", "RM", "==", "Reloc", "::", "Default", ")", "RM", "=", "Reloc", "::", "Static", ";", "if", "(", "CM", "==", "CodeModel", "::", "Default", ")", "CM", "=", "CodeModel", "::", "Small", ";", "X", "->", "InitMCCodeGenInfo", "(", "RM", ",", "CM", ",", "OL", ")", ";"], "ground_truth": ["return", "X", ";"], "File": "MBlazeMCTargetDesc", "Func": "createMBlazeMCCodeGenInfo", "Target": "MBlaze", "Target_Clf": "MPU", "Compiler_Type": "LLVM", "Idx": 137201, "Length": 42, "Cover_Rate": 0.5526315789473685} {"Template_token": ["", "static", "MCInstPrinter", "*", "createMCInstPrinter", "(", "const", "Target", "&", "T", ",", "unsigned", "SyntaxVariant", ",", "const", "MCAsmInfo", "&", "MAI", ",", "const", "MCInstrInfo", "&", "MII", ",", "const", "MCRegisterInfo", "&", "MRI", ",", "const", "MCSubtargetInfo", "&", "STI", ")", "{", "if", "(", "SyntaxVariant", "==", "", ")", "return", "new", "InstPrinter", "(", "MAI", ",", "MII", ",", "MRI", ")", ";"], "ground_truth": ["return", "", ";"], "File": "MBlazeMCTargetDesc", "Func": "createMBlazeMCInstPrinter", "Target": "MBlaze", "Target_Clf": "MPU", "Compiler_Type": "LLVM", "Idx": 137202, "Length": 54, "Cover_Rate": 0.9818181818181818} {"Template_token": ["", "MCInstrInfo", "*", "X", "=", "new", "MCInstrInfo", "(", ")", ";", "InitMCInstrInfo", "(", "X", ")", ";"], "ground_truth": ["return", "X", ";"], "File": "MBlazeMCTargetDesc", "Func": "createMBlazeMCInstrInfo", "Target": "MBlaze", "Target_Clf": "MPU", "Compiler_Type": "LLVM", "Idx": 137203, "Length": 17, "Cover_Rate": 0.68} {"Template_token": ["", "MCRegisterInfo", "*", "X", "=", "new", "MCRegisterInfo", "(", ")", ";"], "ground_truth": ["InitMCRegisterInfo", "(", "X", ",", "", ")", ";"], "File": "MBlazeMCTargetDesc", "Func": "createMBlazeMCRegisterInfo", "Target": "MBlaze", "Target_Clf": "MPU", "Compiler_Type": "LLVM", "Idx": 137204, "Length": 16, "Cover_Rate": 0.5161290322580645} {"Template_token": ["", "static", "MCSubtargetInfo", "*", "createMCSubtargetInfo", "(", "StringRef", "TT", ",", "StringRef", "CPU", ",", "StringRef", "FS", ")", "{", "MCSubtargetInfo", "*", "X", "=", "new", "MCSubtargetInfo", "(", ")", ";", "InitMCSubtargetInfo", "(", "X", ",", "TT", ",", "CPU", ",", "FS", ")", ";"], "ground_truth": ["return", "X", ";"], "File": "MBlazeMCTargetDesc", "Func": "createMBlazeMCSubtargetInfo", "Target": "MBlaze", "Target_Clf": "MPU", "Compiler_Type": "LLVM", "Idx": 137205, "Length": 38, "Cover_Rate": 0.9743589743589743} {"Template_token": ["", "MCSubtargetInfo", "*", "X", "=", "new", "MCSubtargetInfo", "(", ")", ";", "InitMCSubtargetInfo", "(", "X", ",", "TT", ",", "CPU", ",", "FS", ")", ";"], "ground_truth": ["return", "X", ";"], "File": "MBlazeMCTargetDesc", "Func": "createMBlazeMCSubtargetInfo", "Target": "MBlaze", "Target_Clf": "MPU", "Compiler_Type": "LLVM", "Idx": 137206, "Length": 23, "Cover_Rate": 0.5897435897435898} {"Template_token": ["", "Triple", "TheTriple", "(", "TT", ")", ";", "switch", "(", "TheTriple", ".", "getOS", "(", ")", ")", "{"], "ground_truth": ["default", ":"], "File": "MBlazeMCTargetDesc", "Func": "createMCAsmInfo", "Target": "MBlaze", "Target_Clf": "MPU", "Compiler_Type": "LLVM", "Idx": 137207, "Length": 17, "Cover_Rate": 0.4358974358974359} {"Template_token": ["", "TargetRegistry", "::", "RegisterMCSubtargetInfo", "(", "TheTarget", ",", "createMCSubtargetInfo", ")", ";", "TargetRegistry", "::", "RegisterMCCodeEmitter", "(", "TheTarget", ",", "llvm", "::", "createMCCodeEmitter", ")", ";", "TargetRegistry", "::", "RegisterMCAsmBackend", "(", "TheTarget", ",", "createAsmBackend", ")", ";", "TargetRegistry", "::", "RegisterMCObjectStreamer", "(", "TheTarget", ",", "createMCStreamer", ")", ";", "TargetRegistry", "::", "RegisterMCInstPrinter", "(", "TheTarget", ",", "createMCInstPrinter", ")", ";"], "ground_truth": ["}"], "File": "MBlazeMCTargetDesc", "Func": "LLVMInitializeMBlazeTargetMC", "Target": "MBlaze", "Target_Clf": "MPU", "Compiler_Type": "LLVM", "Idx": 137208, "Length": 48, "Cover_Rate": 0.5454545454545454} {"Template_token": ["", "TargetRegistry", "::", "RegisterMCCodeGenInfo", "(", "TheTarget", ",", "createMCCodeGenInfo", ")", ";", "TargetRegistry", "::", "RegisterMCInstrInfo", "(", "TheTarget", ",", "createMCInstrInfo", ")", ";", "TargetRegistry", "::", "RegisterMCRegInfo", "(", "TheTarget", ",", "createMCRegisterInfo", ")", ";", "TargetRegistry", "::", "RegisterMCSubtargetInfo", "(", "TheTarget", ",", "createMCSubtargetInfo", ")", ";", "TargetRegistry", "::", "RegisterMCCodeEmitter", "(", "TheTarget", ",", "llvm", "::", "createMCCodeEmitter", ")", ";", "TargetRegistry", "::", "RegisterMCAsmBackend", "(", "TheTarget", ",", "createAsmBackend", ")", ";", "TargetRegistry", "::", "RegisterMCObjectStreamer", "(", "TheTarget", ",", "createMCStreamer", ")", ";"], "ground_truth": ["TargetRegistry", "::", "RegisterMCInstPrinter", "(", "TheTarget", ",", "createMCInstPrinter", ")", ";"], "File": "MBlazeMCTargetDesc", "Func": "LLVMInitializeMBlazeTargetMC", "Target": "MBlaze", "Target_Clf": "MPU", "Compiler_Type": "LLVM", "Idx": 137209, "Length": 74, "Cover_Rate": 0.8409090909090909} {"Template_token": ["", "RegisterInfo", "(", "const", "Subtarget", "&", "ST", ",", "const", "TargetInstrInfo", "&", "tii", ")", ":", "GenRegisterInfo", "(", "", ")", ",", "Subtarget", "(", "ST", ")", ",", "TII", "(", "tii", ")", "{"], "ground_truth": ["}"], "File": "MBlazeRegisterInfo10", "Func": "MBlazeRegisterInfo", "Target": "MBlaze", "Target_Clf": "MPU", "Compiler_Type": "LLVM", "Idx": 137210, "Length": 29, "Cover_Rate": 0.8787878787878788} {"Template_token": ["", "RegisterInfo", "(", "const", "Subtarget", "&", "ST", ",", "const", "TargetInstrInfo", "&", "tii", ")", ":", "GenRegisterInfo", "(", "", ")", ",", "Subtarget", "(", "ST", ")", ",", "TII", "(", "tii", ")", "{"], "ground_truth": ["}"], "File": "MBlazeRegisterInfo10", "Func": "MBlazeRegisterInfo", "Target": "MBlaze", "Target_Clf": "MPU", "Compiler_Type": "LLVM", "Idx": 137211, "Length": 29, "Cover_Rate": 0.8787878787878788} {"Template_token": ["", "unsigned", "StackOffset", "=", "MFI", "->", "getStackSize", "(", ")", ";", "unsigned", "RegSize", "=", "", ";", "FI", "->", "adjustLoadArgsFI", "(", "MFI", ")", ";", "FI", "->", "adjustStoreVarArgsFI", "(", "MFI", ")", ";", "if", "(", "hasFP", "(", "MF", ")", ")", "{", "MFI", "->", "setObjectOffset", "(", "MFI", "->", "CreateStackObject", "(", "RegSize", ",", "RegSize", ",", "true", ")", ",", "StackOffset", ")", ";", "FI", "->", "setFPStackOffset", "(", "StackOffset", ")", ";"], "ground_truth": ["TopCPUSavedRegOff", "=", "StackOffset", ";"], "File": "MBlazeRegisterInfo12", "Func": "adjustMBlazeStackFrame", "Target": "MBlaze", "Target_Clf": "MPU", "Compiler_Type": "LLVM", "Idx": 137212, "Length": 65, "Cover_Rate": 0.3693181818181818} {"Template_token": ["", "void", "RegisterInfo", "::", "eliminateCallFramePseudoInstr", "(", "MachineFunction", "&", "MF", ",", "MachineBasicBlock", "&", "MBB", ",", "MachineBasicBlock", "::", "iterator", "I", ")", "const", "{"], "ground_truth": ["MBB", ".", "erase", "(", "I", ")", ";"], "File": "MBlazeRegisterInfo12", "Func": "eliminateCallFramePseudoInstr", "Target": "MBlaze", "Target_Clf": "MPU", "Compiler_Type": "LLVM", "Idx": 137213, "Length": 27, "Cover_Rate": 0.9642857142857143} {"Template_token": ["", "int", "spOffset", "=", "MF", ".", "getFrameInfo", "(", ")", "->", "getObjectOffset", "(", "FrameIndex", ")", ";", "DEBUG", "(", "errs", "(", ")", "<<", "", "<<", "FrameIndex", "<<", "", "<<", "", "<<", "spOffset", "<<", "", "<<", "", "<<", "stackSize", "<<", "", ")", ";", "int", "Offset", "=", "(", "spOffset", "<", "", ")", "?", "(", "stackSize", "-", "spOffset", ")", ":", "(", "spOffset", "+", "", ")", ";", "Offset", "+=", "MI", ".", "getOperand", "(", "oi", ")", ".", "getImm", "(", ")", ";", "DEBUG", "(", "errs", "(", ")", "<<", "", "<<", "Offset", "<<", "", "<<", "", ")", ";", "MI", ".", "getOperand", "(", "oi", ")", ".", "ChangeToImmediate", "(", "Offset", ")", ";", "MI", ".", "getOperand", "(", "i", ")", ".", "ChangeToRegister", "(", "getFrameRegister", "(", "MF", ")", ",", "false", ")", ";", "return", "", ";"], "ground_truth": ["}"], "File": "MBlazeRegisterInfo12", "Func": "eliminateFrameIndex", "Target": "MBlaze", "Target_Clf": "MPU", "Compiler_Type": "LLVM", "Idx": 137214, "Length": 121, "Cover_Rate": 0.44814814814814813} {"Template_token": ["", "DEBUG", "(", "errs", "(", ")", "<<", "", "<<", "MF", ".", "getFunction", "(", ")", "->", "getName", "(", ")", "<<", "", ";", "errs", "(", ")", "<<", "", "<<", "MI", ")", ";", "int", "FrameIndex", "=", "MI", ".", "getOperand", "(", "i", ")", ".", "getIndex", "(", ")", ";", "int", "stackSize", "=", "MF", ".", "getFrameInfo", "(", ")", "->", "getStackSize", "(", ")", ";", "int", "spOffset", "=", "MF", ".", "getFrameInfo", "(", ")", "->", "getObjectOffset", "(", "FrameIndex", ")", ";", "DEBUG", "(", "errs", "(", ")", "<<", "", "<<", "FrameIndex", "<<", "", "<<", "", "<<", "spOffset", "<<", "", "<<", "", "<<", "stackSize", "<<", "", ")", ";", "int", "Offset", "=", "(", "spOffset", "<", "", ")", "?", "(", "stackSize", "-", "spOffset", ")", ":", "(", "spOffset", "+", "", ")", ";", "Offset", "+=", "MI", ".", "getOperand", "(", "oi", ")", ".", "getImm", "(", ")", ";", "DEBUG", "(", "errs", "(", ")", "<<", "", "<<", "Offset", "<<", "", "<<", "", ")", ";", "MI", ".", "getOperand", "(", "oi", ")", ".", "ChangeToImmediate", "(", "Offset", ")", ";"], "ground_truth": ["MI", ".", "getOperand", "(", "i", ")", ".", "ChangeToRegister", "(", "getFrameRegister", "(", "MF", ")", ",", "false", ")", ";"], "File": "MBlazeRegisterInfo12", "Func": "eliminateFrameIndex", "Target": "MBlaze", "Target_Clf": "MPU", "Compiler_Type": "LLVM", "Idx": 137215, "Length": 173, "Cover_Rate": 0.6407407407407407} {"Template_token": ["", "emitEpilogue", "(", "MachineFunction", "&", "MF", ",", "MachineBasicBlock", "&", "MBB", ")", "const", "{", "MachineBasicBlock", "::", "iterator", "MBBI", "=", "prior", "(", "MBB", ".", "end", "(", ")", ")", ";", "MachineFrameInfo", "*", "MFI", "=", "MF", ".", "getFrameInfo", "(", ")", ";", "FunctionInfo", "*", "FI", "=", "MF", ".", "getInfo", "<", "FunctionInfo", ">", "(", ")", ";", "DebugLoc", "dl", "=", "MBBI", "->", "getDebugLoc", "(", ")", ";", "int", "FPOffset", "=", "FI", "->", "getFPStackOffset", "(", ")", ";", "int", "RAOffset", "=", "FI", "->", "getRAStackOffset", "(", ")", ";"], "ground_truth": ["if", "(", "hasFP", "(", "MF", ")", ")", "{"], "File": "MBlazeRegisterInfo12", "Func": "emitEpilogue", "Target": "MBlaze", "Target_Clf": "MPU", "Compiler_Type": "LLVM", "Idx": 137216, "Length": 84, "Cover_Rate": 0.30996309963099633} {"Template_token": ["", "static", "const", "TargetRegisterClass", "*", "const", "CalleeSavedRC", "[", "]", "=", "{", "&", "", ",", "&", "", ",", "&", "", ",", "&", "", ",", "&", "", ",", "&", "", ",", "&", "", ",", "&", "", ",", "&", "", ",", "&", "", ",", "&", "", ",", "&", "", ",", "", "}", ";", "return", "CalleeSavedRC", ";"], "ground_truth": ["}"], "File": "MBlazeRegisterInfo12", "Func": "getCalleeSavedRegClasses", "Target": "MBlaze", "Target_Clf": "MPU", "Compiler_Type": "LLVM", "Idx": 137217, "Length": 53, "Cover_Rate": 0.5698924731182796} {"Template_token": ["", "int", "RegisterInfo", "::", "getDwarfRegNum", "(", "unsigned", "RegNum", ",", "bool", "isEH", ")", "const", "{"], "ground_truth": ["llvm_unreachable", "(", "", ")", ";"], "File": "MBlazeRegisterInfo12", "Func": "getDwarfRegNum", "Target": "MBlaze", "Target_Clf": "MPU", "Compiler_Type": "LLVM", "Idx": 137218, "Length": 18, "Cover_Rate": 0.782608695652174} {"Template_token": ["", "unsigned", "RegisterInfo", "::", "getEHExceptionRegister", "(", ")", "const", "{", "llvm_unreachable", "(", "", ")", ";", "return", "", ";"], "ground_truth": ["}"], "File": "MBlazeRegisterInfo12", "Func": "getEHExceptionRegister", "Target": "MBlaze", "Target_Clf": "MPU", "Compiler_Type": "LLVM", "Idx": 137219, "Length": 17, "Cover_Rate": 1.0} {"Template_token": ["", "unsigned", "RegisterInfo", "::", "getEHHandlerRegister", "(", ")", "const", "{", "llvm_unreachable", "(", "", ")", ";", "return", "", ";"], "ground_truth": ["}"], "File": "MBlazeRegisterInfo12", "Func": "getEHHandlerRegister", "Target": "MBlaze", "Target_Clf": "MPU", "Compiler_Type": "LLVM", "Idx": 137220, "Length": 17, "Cover_Rate": 1.0} {"Template_token": ["", "unsigned", "RegisterInfo", "::", "getRARegister", "(", ")", "const", "{"], "ground_truth": ["return", "", ";"], "File": "MBlazeRegisterInfo12", "Func": "getRARegister", "Target": "MBlaze", "Target_Clf": "MPU", "Compiler_Type": "LLVM", "Idx": 137223, "Length": 11, "Cover_Rate": 0.7857142857142857} {"Template_token": ["", "case", "", ":", "case", "", ":", "return", "", ";", "case", "", ":", "case", "", ":", "return", "", ";", "case", "", ":", "case", "", ":", "return", "", ";", "case", "", ":", "case", "", ":", "return", "", ";", "case", "", ":", "case", "", ":", "return", "", ";", "case", "", ":", "case", "", ":", "return", "", ";", "case", "", ":", "case", "", ":", "return", "", ";", "case", "", ":", "case", "", ":", "return", "", ";", "case", "", ":", "case", "", ":", "return", "", ";", "case", "", ":", "case", "", ":", "return", "", ";", "case", "", ":", "case", "", ":", "return", "", ";", "case", "", ":", "case", "", ":", "return", "", ";", "case", "", ":", "case", "", ":", "return", "", ";", "case", "", ":", "case", "", ":", "return", "", ";", "case", "", ":", "case", "", ":", "return", "", ";", "case", "", ":", "case", "", ":", "return", "", ";", "case", "", ":", "case", "", ":", "return", "", ";", "case", "", ":", "case", "", ":", "return", "", ";", "case", "", ":", "case", "", ":", "return", "", ";", "case", "", ":", "case", "", ":", "return", "", ";", "case", "", ":", "case", "", ":", "return", "", ";", "case", "", ":", "case", "", ":", "return", "", ";", "case", "", ":", "case", "", ":", "return", "", ";"], "ground_truth": ["case", "", ":", "case", "", ":", "return", "", ";"], "File": "MBlazeRegisterInfo12", "Func": "getRegisterNumbering", "Target": "MBlaze", "Target_Clf": "MPU", "Compiler_Type": "LLVM", "Idx": 137224, "Length": 216, "Cover_Rate": 0.48868778280542985} {"Template_token": ["", "case", "", ":", "case", "", ":", "return", "", ";", "case", "", ":", "case", "", ":", "return", "", ";", "case", "", ":", "case", "", ":", "return", "", ";", "case", "", ":", "case", "", ":", "return", "", ";", "case", "", ":", "case", "", ":", "return", "", ";", "case", "", ":", "case", "", ":", "return", "", ";", "case", "", ":", "case", "", ":", "return", "", ";", "case", "", ":", "case", "", ":", "return", "", ";", "case", "", ":", "case", "", ":", "return", "", ";", "case", "", ":", "case", "", ":", "return", "", ";", "case", "", ":", "case", "", ":", "return", "", ";", "case", "", ":", "case", "", ":", "return", "", ";", "case", "", ":", "case", "", ":", "return", "", ";", "case", "", ":", "case", "", ":", "return", "", ";", "case", "", ":", "case", "", ":", "return", "", ";", "case", "", ":", "case", "", ":", "return", "", ";", "case", "", ":", "case", "", ":", "return", "", ";", "case", "", ":", "case", "", ":", "return", "", ";", "case", "", ":", "case", "", ":", "return", "", ";", "case", "", ":", "case", "", ":", "return", "", ";", "case", "", ":", "case", "", ":", "return", "", ";", "case", "", ":", "case", "", ":", "return", "", ";", "default", ":", "llvm_unreachable", "(", "", ")", ";", "}"], "ground_truth": ["return", "", ";"], "File": "MBlazeRegisterInfo12", "Func": "getRegisterNumbering", "Target": "MBlaze", "Target_Clf": "MPU", "Compiler_Type": "LLVM", "Idx": 137225, "Length": 209, "Cover_Rate": 0.47285067873303166} {"Template_token": ["", "const", "MachineFrameInfo", "*", "MFI", "=", "MF", ".", "getFrameInfo", "(", ")", ";"], "ground_truth": ["return", "NoFramePointerElim", "||", "MFI", "->", "hasVarSizedObjects", "(", ")", ";"], "File": "MBlazeRegisterInfo12", "Func": "hasFP", "Target": "MBlaze", "Target_Clf": "MPU", "Compiler_Type": "LLVM", "Idx": 137226, "Length": 20, "Cover_Rate": 0.6060606060606061} {"Template_token": ["", "processFunctionBeforeFrameFinalized", "(", "MachineFunction", "&", "MF", ")", "const", "{", "MachineFrameInfo", "*", "MFI", "=", "MF", ".", "getFrameInfo", "(", ")", ";", "FunctionInfo", "*", "FI", "=", "MF", ".", "getInfo", "<", "FunctionInfo", ">", "(", ")", ";"], "ground_truth": ["if", "(", "FI", "->", "needGPSaveRestore", "(", ")", ")", "MFI", "->", "setObjectOffset", "(", "FI", "->", "getGPFI", "(", ")", ",", "FI", "->", "getGPStackOffset", "(", ")", ")", ";"], "File": "MBlazeRegisterInfo12", "Func": "processFunctionBeforeFrameFinalized", "Target": "MBlaze", "Target_Clf": "MPU", "Compiler_Type": "LLVM", "Idx": 137228, "Length": 56, "Cover_Rate": 0.9333333333333333} {"Template_token": ["", "if", "(", "FI", "->", "needGPSaveRestore", "(", ")", ")", "MFI", "->", "setObjectOffset", "(", "FI", "->", "getGPFI", "(", ")", ",", "FI", "->", "getGPStackOffset", "(", ")", ")", ";"], "ground_truth": ["}"], "File": "MBlazeRegisterInfo12", "Func": "processFunctionBeforeFrameFinalized", "Target": "MBlaze", "Target_Clf": "MPU", "Compiler_Type": "LLVM", "Idx": 137229, "Length": 26, "Cover_Rate": 0.43333333333333335} {"Template_token": ["", "Amount", "=", "(", "Amount", "+", "Align", "-", "", ")", "/", "Align", "*", "Align", ";", "MachineInstr", "*", "New", ";", "if", "(", "Old", "->", "getOpcode", "(", ")", "==", "", ")", "{", "New", "=", "BuildMI", "(", "MF", ",", "Old", "->", "getDebugLoc", "(", ")", ",", "TII", ".", "get", "(", "", ")", ",", "", ")", ".", "addReg", "(", "", ")", ".", "addImm", "(", "-", "Amount", ")", ";", "}", "else", "{", "assert", "(", "Old", "->", "getOpcode", "(", ")", "==", "", ")", ";", "New", "=", "BuildMI", "(", "MF", ",", "Old", "->", "getDebugLoc", "(", ")", ",", "TII", ".", "get", "(", "", ")", ",", "", ")", ".", "addReg", "(", "", ")", ".", "addImm", "(", "Amount", ")", ";", "}"], "ground_truth": ["MBB", ".", "insert", "(", "I", ",", "New", ")", ";"], "File": "MBlazeRegisterInfo1", "Func": "eliminateCallFramePseudoInstr", "Target": "MBlaze", "Target_Clf": "MPU", "Compiler_Type": "LLVM", "Idx": 137230, "Length": 118, "Cover_Rate": 0.5175438596491229} {"Template_token": ["", "unsigned", "Align", "=", "TFI", "->", "getStackAlignment", "(", ")", ";", "Amount", "=", "(", "Amount", "+", "Align", "-", "", ")", "/", "Align", "*", "Align", ";", "MachineInstr", "*", "New", ";", "if", "(", "Old", "->", "getOpcode", "(", ")", "==", "", ")", "{"], "ground_truth": ["New", "=", "BuildMI", "(", "MF", ",", "Old", "->", "getDebugLoc", "(", ")", ",", "TII", ".", "get", "(", "", ")", ",", "", ")", ".", "addReg", "(", "", ")", ".", "addImm", "(", "-", "Amount", ")", ";"], "File": "MBlazeRegisterInfo1", "Func": "eliminateCallFramePseudoInstr", "Target": "MBlaze", "Target_Clf": "MPU", "Compiler_Type": "LLVM", "Idx": 137231, "Length": 71, "Cover_Rate": 0.31140350877192985} {"Template_token": ["", "", ",", "", ",", "", ",", "", ",", "", ",", "", ",", "", ",", "", ",", "", ",", "", ",", "", ",", "", ",", "", "}", ";"], "ground_truth": ["return", "CalleeSavedRegs", ";"], "File": "MBlazeRegisterInfo1", "Func": "getCalleeSavedRegs", "Target": "MBlaze", "Target_Clf": "MPU", "Compiler_Type": "LLVM", "Idx": 137232, "Length": 30, "Cover_Rate": 0.38961038961038963} {"Template_token": ["", "static", "const", "unsigned", "CalleeSavedRegs", "[", "]", "=", "{"], "ground_truth": ["", ",", "", ",", "", ",", "", ",", "", ",", "", ",", "", ",", "", ",", "", ",", "", ",", "", ",", "", ",", "", "}", ";"], "File": "MBlazeRegisterInfo1", "Func": "getCalleeSavedRegs", "Target": "MBlaze", "Target_Clf": "MPU", "Compiler_Type": "LLVM", "Idx": 137233, "Length": 35, "Cover_Rate": 0.45454545454545453} {"Template_token": ["", "case", "", ":", "return", "", ";", "case", "", ":", "return", "", ";", "case", "", ":", "return", "", ";", "case", "", ":", "return", "", ";", "case", "", ":", "return", "", ";", "case", "", ":", "return", "", ";", "case", "", ":", "return", "", ";", "case", "", ":", "return", "", ";", "case", "", ":", "return", "", ";", "case", "", ":", "return", "", ";", "case", "", ":", "return", "", ";", "case", "", ":", "return", "", ";", "case", "", ":", "return", "", ";", "case", "", ":", "return", "", ";", "case", "", ":", "return", "", ";", "case", "", ":", "return", "", ";"], "ground_truth": ["case", "", ":", "return", "", ";"], "File": "MBlazeRegisterInfo1", "Func": "getRegisterFromNumbering", "Target": "MBlaze", "Target_Clf": "MPU", "Compiler_Type": "LLVM", "Idx": 137234, "Length": 102, "Cover_Rate": 0.3617021276595745} {"Template_token": ["", "case", "", ":", "return", "", ";", "case", "", ":", "return", "", ";", "case", "", ":", "return", "", ";", "case", "", ":", "return", "", ";", "case", "", ":", "return", "", ";", "case", "", ":", "return", "", ";", "case", "", ":", "return", "", ";", "case", "", ":", "return", "", ";", "case", "", ":", "return", "", ";", "case", "", ":", "return", "", ";", "case", "", ":", "return", "", ";", "case", "", ":", "return", "", ";", "case", "", ":", "return", "", ";", "case", "", ":", "return", "", ";", "case", "", ":", "return", "", ";", "case", "", ":", "return", "", ";", "case", "", ":", "return", "", ";", "case", "", ":", "return", "", ";", "case", "", ":", "return", "", ";", "case", "", ":", "return", "", ";", "case", "", ":", "return", "", ";", "case", "", ":", "return", "", ";", "case", "", ":", "return", "", ";", "case", "", ":", "return", "", ";", "case", "", ":", "return", "", ";", "case", "", ":", "return", "", ";", "case", "", ":", "return", "", ";", "case", "", ":", "return", "", ";", "case", "", ":", "return", "", ";", "case", "", ":", "return", "", ";", "case", "", ":", "return", "", ";", "case", "", ":", "return", "", ";", "case", "", ":", "return", "", ";", "case", "", ":", "return", "", ";", "case", "", ":", "return", "", ";", "case", "", ":", "return", "", ";", "case", "", ":", "return", "", ";", "case", "", ":", "return", "", ";", "case", "", ":", "return", "", ";", "case", "", ":", "return", "", ";", "case", "", ":", "return", "", ";", "case", "", ":", "return", "", ";", "case", "", ":", "return", "", ";", "case", "", ":", "return", "", ";", "case", "", ":", "return", "", ";", "case", "", ":", "return", "", ";", "case", "", ":", "return", "", ";"], "ground_truth": ["case", "", ":", "return", "", ";"], "File": "MBlazeRegisterInfo1", "Func": "getRegisterNumbering", "Target": "MBlaze", "Target_Clf": "MPU", "Compiler_Type": "LLVM", "Idx": 137235, "Length": 288, "Cover_Rate": 0.6075949367088608} {"Template_token": ["", "RegisterInfo", "(", "const", "Subtarget", "&", "ST", ",", "const", "TargetInstrInfo", "&", "tii", ")", ":", "GenRegisterInfo", "(", "", ",", "", ")", ",", "Subtarget", "(", "ST", ")", ",", "TII", "(", "tii", ")", "{"], "ground_truth": ["}"], "File": "MBlazeRegisterInfo1", "Func": "MBlazeRegisterInfo", "Target": "MBlaze", "Target_Clf": "MPU", "Compiler_Type": "LLVM", "Idx": 137236, "Length": 31, "Cover_Rate": 0.8378378378378378} {"Template_token": ["", "RegisterInfo", "(", "const", "Subtarget", "&", "ST", ",", "const", "TargetInstrInfo", "&", "tii", ")", ":", "GenRegisterInfo", "(", "", ",", "", ")", ",", "Subtarget", "(", "ST", ")", ",", "TII", "(", "tii", ")", "{"], "ground_truth": ["}"], "File": "MBlazeRegisterInfo1", "Func": "MBlazeRegisterInfo", "Target": "MBlaze", "Target_Clf": "MPU", "Compiler_Type": "LLVM", "Idx": 137237, "Length": 31, "Cover_Rate": 0.8378378378378378} {"Template_token": ["", "adjustStackFrame", "(", "MF", ")", ";", "unsigned", "StackSize", "=", "MFI", "->", "getStackSize", "(", ")", ";", "if", "(", "StackSize", "==", "", "&&", "!", "MFI", "->", "hasCalls", "(", ")", ")", "return", ";", "if", "(", "StackSize", "<", "", "&&", "MFI", "->", "hasCalls", "(", ")", ")", "StackSize", "=", "", ";", "int", "FPOffset", "=", "FI", "->", "getFPStackOffset", "(", ")", ";", "int", "RAOffset", "=", "FI", "->", "getRAStackOffset", "(", ")", ";", "BuildMI", "(", "MBB", ",", "MBBI", ",", "DL", ",", "TII", ".", "get", "(", "", ")", ",", "", ")", ".", "addReg", "(", "", ")", ".", "addImm", "(", "-", "StackSize", ")", ";", "if", "(", "MFI", "->", "hasCalls", "(", ")", ")", "{", "BuildMI", "(", "MBB", ",", "MBBI", ",", "DL", ",", "TII", ".", "get", "(", "", ")", ")", ".", "addReg", "(", "", ")", ".", "addImm", "(", "RAOffset", ")", ".", "addReg", "(", "", ")", ";", "}", "if", "(", "hasFP", "(", "MF", ")", ")", "{"], "ground_truth": ["BuildMI", "(", "MBB", ",", "MBBI", ",", "DL", ",", "TII", ".", "get", "(", "", ")", ")", ".", "addReg", "(", "", ")", ".", "addImm", "(", "FPOffset", ")", ".", "addReg", "(", "", ")", ";"], "File": "MBlazeRegisterInfo2", "Func": "emitPrologue", "Target": "MBlaze", "Target_Clf": "MPU", "Compiler_Type": "LLVM", "Idx": 137238, "Length": 172, "Cover_Rate": 0.5657894736842105} {"Template_token": ["", "int", "FPOffset", "=", "FI", "->", "getFPStackOffset", "(", ")", ";", "int", "RAOffset", "=", "FI", "->", "getRAStackOffset", "(", ")", ";", "BuildMI", "(", "MBB", ",", "MBBI", ",", "DL", ",", "TII", ".", "get", "(", "", ")", ",", "", ")", ".", "addReg", "(", "", ")", ".", "addImm", "(", "-", "StackSize", ")", ";", "if", "(", "MFI", "->", "hasCalls", "(", ")", ")", "{", "BuildMI", "(", "MBB", ",", "MBBI", ",", "DL", ",", "TII", ".", "get", "(", "", ")", ")", ".", "addReg", "(", "", ")", ".", "addImm", "(", "RAOffset", ")", ".", "addReg", "(", "", ")", ";", "}", "if", "(", "hasFP", "(", "MF", ")", ")", "{"], "ground_truth": ["BuildMI", "(", "MBB", ",", "MBBI", ",", "DL", ",", "TII", ".", "get", "(", "", ")", ")", ".", "addReg", "(", "", ")", ".", "addImm", "(", "FPOffset", ")", ".", "addReg", "(", "", ")", ";"], "File": "MBlazeRegisterInfo2", "Func": "emitPrologue", "Target": "MBlaze", "Target_Clf": "MPU", "Compiler_Type": "LLVM", "Idx": 137239, "Length": 127, "Cover_Rate": 0.41776315789473684} {"Template_token": ["", "unsigned", "RegSize", "=", "", ";", "FI", "->", "adjustLoadArgsFI", "(", "MFI", ")", ";", "FI", "->", "adjustStoreVarArgsFI", "(", "MFI", ")", ";", "if", "(", "hasFP", "(", "MF", ")", ")", "{", "MFI", "->", "setObjectOffset", "(", "MFI", "->", "CreateStackObject", "(", "RegSize", ",", "RegSize", ",", "true", ")", ",", "StackOffset", ")", ";", "FI", "->", "setFPStackOffset", "(", "StackOffset", ")", ";", "TopCPUSavedRegOff", "=", "StackOffset", ";", "StackOffset", "+=", "RegSize", ";", "}"], "ground_truth": ["if", "(", "MFI", "->", "adjustsStack", "(", ")", ")", "{"], "File": "MBlazeRegisterInfo3", "Func": "adjustMBlazeStackFrame", "Target": "MBlaze", "Target_Clf": "MPU", "Compiler_Type": "LLVM", "Idx": 137240, "Length": 70, "Cover_Rate": 0.3977272727272727} {"Template_token": ["", "StackOffset", "+=", "RegSize", ";", "}", "if", "(", "MFI", "->", "adjustsStack", "(", ")", ")", "{", "FI", "->", "setRAStackOffset", "(", "", ")", ";", "MFI", "->", "setObjectOffset", "(", "MFI", "->", "CreateStackObject", "(", "RegSize", ",", "RegSize", ",", "true", ")", ",", "StackOffset", ")", ";", "TopCPUSavedRegOff", "=", "StackOffset", ";", "StackOffset", "+=", "RegSize", ";", "}"], "ground_truth": ["MFI", "->", "setStackSize", "(", "StackOffset", ")", ";"], "File": "MBlazeRegisterInfo3", "Func": "adjustMBlazeStackFrame", "Target": "MBlaze", "Target_Clf": "MPU", "Compiler_Type": "LLVM", "Idx": 137241, "Length": 55, "Cover_Rate": 0.3125} {"Template_token": ["", "unsigned", "i", "=", "", ";", "while", "(", "!", "MI", ".", "getOperand", "(", "i", ")", ".", "isFI", "(", ")", ")", "{", "++", "i", ";", "assert", "(", "i", "<", "MI", ".", "getNumOperands", "(", ")", "&&", "", ")", ";", "}", "unsigned", "oi", "=", "i", "==", "", "?", "", ":", "", ";", "DEBUG", "(", "errs", "(", ")", "<<", "", "<<", "MF", ".", "getFunction", "(", ")", "->", "getName", "(", ")", "<<", "", ";", "errs", "(", ")", "<<", "", "<<", "MI", ")", ";", "int", "FrameIndex", "=", "MI", ".", "getOperand", "(", "i", ")", ".", "getIndex", "(", ")", ";"], "ground_truth": ["int", "stackSize", "=", "MF", ".", "getFrameInfo", "(", ")", "->", "getStackSize", "(", ")", ";"], "File": "MBlazeRegisterInfo3", "Func": "eliminateFrameIndex", "Target": "MBlaze", "Target_Clf": "MPU", "Compiler_Type": "LLVM", "Idx": 137242, "Length": 104, "Cover_Rate": 0.39543726235741444} {"Template_token": ["", "int", "RAOffset", "=", "FI", "->", "getRAStackOffset", "(", ")", ";", "if", "(", "hasFP", "(", "MF", ")", ")", "{", "BuildMI", "(", "MBB", ",", "MBBI", ",", "dl", ",", "TII", ".", "get", "(", "", ")", ",", "", ")", ".", "addReg", "(", "", ")", ".", "addReg", "(", "", ")", ";", "BuildMI", "(", "MBB", ",", "MBBI", ",", "dl", ",", "TII", ".", "get", "(", "", ")", ",", "", ")", ".", "addImm", "(", "FPOffset", ")", ".", "addReg", "(", "", ")", ";", "}", "if", "(", "MFI", "->", "adjustsStack", "(", ")", ")", "{", "BuildMI", "(", "MBB", ",", "MBBI", ",", "dl", ",", "TII", ".", "get", "(", "", ")", ",", "", ")", ".", "addImm", "(", "RAOffset", ")", ".", "addReg", "(", "", ")", ";"], "ground_truth": ["}"], "File": "MBlazeRegisterInfo3", "Func": "emitEpilogue", "Target": "MBlaze", "Target_Clf": "MPU", "Compiler_Type": "LLVM", "Idx": 137243, "Length": 112, "Cover_Rate": 0.4132841328413284} {"Template_token": ["", "BuildMI", "(", "MBB", ",", "MBBI", ",", "dl", ",", "TII", ".", "get", "(", "", ")", ",", "", ")", ".", "addImm", "(", "FPOffset", ")", ".", "addReg", "(", "", ")", ";", "}", "if", "(", "MFI", "->", "adjustsStack", "(", ")", ")", "{", "BuildMI", "(", "MBB", ",", "MBBI", ",", "dl", ",", "TII", ".", "get", "(", "", ")", ",", "", ")", ".", "addImm", "(", "RAOffset", ")", ".", "addReg", "(", "", ")", ";", "}", "int", "StackSize", "=", "(", "int", ")", "MFI", "->", "getStackSize", "(", ")", ";", "if", "(", "StackSize", "<", "", "&&", "MFI", "->", "adjustsStack", "(", ")", ")", "StackSize", "=", "", ";", "if", "(", "StackSize", ")", "{"], "ground_truth": ["BuildMI", "(", "MBB", ",", "MBBI", ",", "dl", ",", "TII", ".", "get", "(", "", ")", ",", "", ")", ".", "addReg", "(", "", ")", ".", "addImm", "(", "StackSize", ")", ";"], "File": "MBlazeRegisterInfo3", "Func": "emitEpilogue", "Target": "MBlaze", "Target_Clf": "MPU", "Compiler_Type": "LLVM", "Idx": 137244, "Length": 128, "Cover_Rate": 0.47232472324723246} {"Template_token": ["", "int", "RAOffset", "=", "FI", "->", "getRAStackOffset", "(", ")", ";", "BuildMI", "(", "MBB", ",", "MBBI", ",", "DL", ",", "TII", ".", "get", "(", "", ")", ",", "", ")", ".", "addReg", "(", "", ")", ".", "addImm", "(", "-", "StackSize", ")", ";", "if", "(", "MFI", "->", "adjustsStack", "(", ")", ")", "{", "BuildMI", "(", "MBB", ",", "MBBI", ",", "DL", ",", "TII", ".", "get", "(", "", ")", ")", ".", "addReg", "(", "", ")", ".", "addImm", "(", "RAOffset", ")", ".", "addReg", "(", "", ")", ";", "}", "if", "(", "hasFP", "(", "MF", ")", ")", "{"], "ground_truth": ["BuildMI", "(", "MBB", ",", "MBBI", ",", "DL", ",", "TII", ".", "get", "(", "", ")", ")", ".", "addReg", "(", "", ")", ".", "addImm", "(", "FPOffset", ")", ".", "addReg", "(", "", ")", ";"], "File": "MBlazeRegisterInfo3", "Func": "emitPrologue", "Target": "MBlaze", "Target_Clf": "MPU", "Compiler_Type": "LLVM", "Idx": 137245, "Length": 118, "Cover_Rate": 0.3881578947368421} {"Template_token": ["", "bool", "RegisterInfo", "::", "hasFP", "(", "const", "MachineFunction", "&", "MF", ")", "const", "{", "const", "MachineFrameInfo", "*", "MFI", "=", "MF", ".", "getFrameInfo", "(", ")", ";"], "ground_truth": ["return", "DisableFramePointerElim", "(", "MF", ")", "||", "MFI", "->", "hasVarSizedObjects", "(", ")", ";"], "File": "MBlazeRegisterInfo3", "Func": "hasFP", "Target": "MBlaze", "Target_Clf": "MPU", "Compiler_Type": "LLVM", "Idx": 137246, "Length": 35, "Cover_Rate": 0.9722222222222222} {"Template_token": ["", "if", "(", "Old", "->", "getOpcode", "(", ")", "==", "", ")", "{", "New", "=", "BuildMI", "(", "MF", ",", "Old", "->", "getDebugLoc", "(", ")", ",", "TII", ".", "get", "(", "", ")", ",", "", ")", ".", "addReg", "(", "", ")", ".", "addImm", "(", "-", "Amount", ")", ";", "}", "else", "{", "assert", "(", "Old", "->", "getOpcode", "(", ")", "==", "", ")", ";"], "ground_truth": ["New", "=", "BuildMI", "(", "MF", ",", "Old", "->", "getDebugLoc", "(", ")", ",", "TII", ".", "get", "(", "", ")", ",", "", ")", ".", "addReg", "(", "", ")", ".", "addImm", "(", "Amount", ")", ";"], "File": "MBlazeRegisterInfo5", "Func": "eliminateCallFramePseudoInstr", "Target": "MBlaze", "Target_Clf": "MPU", "Compiler_Type": "LLVM", "Idx": 137248, "Length": 90, "Cover_Rate": 0.3813559322033898} {"Template_token": ["", "unsigned", "Align", "=", "MF", ".", "getTarget", "(", ")", ".", "getFrameInfo", "(", ")", "->", "getStackAlignment", "(", ")", ";", "Amount", "=", "(", "Amount", "+", "Align", "-", "", ")", "/", "Align", "*", "Align", ";", "MachineInstr", "*", "New", ";", "if", "(", "Old", "->", "getOpcode", "(", ")", "==", "", ")", "{", "New", "=", "BuildMI", "(", "MF", ",", "Old", "->", "getDebugLoc", "(", ")", ",", "TII", ".", "get", "(", "", ")", ",", "", ")", ".", "addReg", "(", "", ")", ".", "addImm", "(", "-", "Amount", ")", ";", "}", "else", "{", "assert", "(", "Old", "->", "getOpcode", "(", ")", "==", "", ")", ";", "New", "=", "BuildMI", "(", "MF", ",", "Old", "->", "getDebugLoc", "(", ")", ",", "TII", ".", "get", "(", "", ")", ",", "", ")", ".", "addReg", "(", "", ")", ".", "addImm", "(", "Amount", ")", ";", "}", "MBB", ".", "insert", "(", "I", ",", "New", ")", ";"], "ground_truth": ["}"], "File": "MBlazeRegisterInfo5", "Func": "eliminateCallFramePseudoInstr", "Target": "MBlaze", "Target_Clf": "MPU", "Compiler_Type": "LLVM", "Idx": 137249, "Length": 136, "Cover_Rate": 0.576271186440678} {"Template_token": ["", "assert", "(", "i", "<", "MI", ".", "getNumOperands", "(", ")", "&&", "", ")", ";", "}", "unsigned", "oi", "=", "i", "==", "", "?", "", ":", "", ";", "DEBUG", "(", "errs", "(", ")", "<<", "", "<<", "MF", ".", "getFunction", "(", ")", "->", "getName", "(", ")", "<<", "", ";", "errs", "(", ")", "<<", "", "<<", "MI", ")", ";", "int", "FrameIndex", "=", "MI", ".", "getOperand", "(", "i", ")", ".", "getIndex", "(", ")", ";", "int", "stackSize", "=", "MF", ".", "getFrameInfo", "(", ")", "->", "getStackSize", "(", ")", ";"], "ground_truth": ["int", "spOffset", "=", "MF", ".", "getFrameInfo", "(", ")", "->", "getObjectOffset", "(", "FrameIndex", ")", ";"], "File": "MBlazeRegisterInfo5", "Func": "eliminateFrameIndex", "Target": "MBlaze", "Target_Clf": "MPU", "Compiler_Type": "LLVM", "Idx": 137250, "Length": 95, "Cover_Rate": 0.3682170542635659} {"Template_token": ["", "return", "GenRegisterInfo", "::", "getDwarfRegNumFull", "(", "RegNo", ",", "", ")", ";"], "ground_truth": ["}"], "File": "MBlazeRegisterInfo5", "Func": "getDwarfRegNum", "Target": "MBlaze", "Target_Clf": "MPU", "Compiler_Type": "LLVM", "Idx": 137251, "Length": 11, "Cover_Rate": 0.4583333333333333} {"Template_token": ["", "return", "GenRegisterInfo", "::", "getDwarfRegNumFull", "(", "RegNo", ",", "", ")", ";"], "ground_truth": ["}"], "File": "MBlazeRegisterInfo5", "Func": "getDwarfRegNum", "Target": "MBlaze", "Target_Clf": "MPU", "Compiler_Type": "LLVM", "Idx": 137252, "Length": 11, "Cover_Rate": 0.4583333333333333} {"Template_token": ["", "unsigned", "RegisterInfo", "::", "getFrameRegister", "(", "const", "MachineFunction", "&", "MF", ")", "const", "{", "const", "TargetFrameInfo", "*", "TFI", "=", "MF", ".", "getTarget", "(", ")", ".", "getFrameInfo", "(", ")", ";", "return", "TFI", "->", "hasFP", "(", "MF", ")", "?", "", ":", "", ";"], "ground_truth": ["}"], "File": "MBlazeRegisterInfo5", "Func": "getFrameRegister", "Target": "MBlaze", "Target_Clf": "MPU", "Compiler_Type": "LLVM", "Idx": 137253, "Length": 40, "Cover_Rate": 0.9090909090909091} {"Template_token": ["", "case", "", ":", "return", "", ";", "case", "", ":", "return", "", ";", "case", "", ":", "return", "", ";", "case", "", ":", "return", "", ";", "case", "", ":", "return", "", ";", "case", "", ":", "return", "", ";", "case", "", ":", "return", "", ";", "case", "", ":", "return", "", ";", "case", "", ":", "return", "", ";", "case", "", ":", "return", "", ";", "case", "", ":", "return", "", ";", "case", "", ":", "return", "", ";", "case", "", ":", "return", "", ";", "case", "", ":", "return", "", ";", "case", "", ":", "return", "", ";", "case", "", ":", "return", "", ";", "case", "", ":", "return", "", ";", "case", "", ":", "return", "", ";", "case", "", ":", "return", "", ";", "case", "", ":", "return", "", ";", "case", "", ":", "return", "", ";", "case", "", ":", "return", "", ";", "default", ":", "llvm_unreachable", "(", "", ")", ";"], "ground_truth": ["}"], "File": "MBlazeRegisterInfo5", "Func": "getRegisterNumbering", "Target": "MBlaze", "Target_Clf": "MPU", "Compiler_Type": "LLVM", "Idx": 137255, "Length": 140, "Cover_Rate": 0.49645390070921985} {"Template_token": ["", "int", "spOffset", "=", "MF", ".", "getFrameInfo", "(", ")", "->", "getObjectOffset", "(", "FrameIndex", ")", ";", "DEBUG", "(", "errs", "(", ")", "<<", "", "<<", "FrameIndex", "<<", "", "<<", "", "<<", "spOffset", "<<", "", "<<", "", "<<", "stackSize", "<<", "", ")", ";", "int", "Offset", "=", "(", "spOffset", "<", "", ")", "?", "(", "stackSize", "-", "spOffset", ")", ":", "(", "spOffset", "+", "", ")", ";", "Offset", "+=", "MI", ".", "getOperand", "(", "oi", ")", ".", "getImm", "(", ")", ";", "DEBUG", "(", "errs", "(", ")", "<<", "", "<<", "Offset", "<<", "", "<<", "", ")", ";", "MI", ".", "getOperand", "(", "oi", ")", ".", "ChangeToImmediate", "(", "Offset", ")", ";", "MI", ".", "getOperand", "(", "i", ")", ".", "ChangeToRegister", "(", "getFrameRegister", "(", "MF", ")", ",", "false", ")", ";"], "ground_truth": ["return", "", ";"], "File": "MBlazeRegisterInfo7", "Func": "eliminateFrameIndex", "Target": "MBlaze", "Target_Clf": "MPU", "Compiler_Type": "LLVM", "Idx": 137256, "Length": 120, "Cover_Rate": 0.4444444444444444} {"Template_token": ["", "return", "", ";"], "ground_truth": ["}"], "File": "MBlazeRegisterInfo", "Func": "getPICCallReg", "Target": "MBlaze", "Target_Clf": "MPU", "Compiler_Type": "LLVM", "Idx": 137258, "Length": 4, "Cover_Rate": 0.3076923076923077} {"Template_token": ["", "getReservedRegs", "(", "const", "MachineFunction", "&", "MF", ")", "const", "{", "BitVector", "Reserved", "(", "getNumRegs", "(", ")", ")", ";", "Reserved", ".", "set", "(", "", ")", ";", "Reserved", ".", "set", "(", "", ")", ";", "Reserved", ".", "set", "(", "", ")", ";", "Reserved", ".", "set", "(", "", ")", ";"], "ground_truth": ["Reserved", ".", "set", "(", "", ")", ";"], "File": "MBlazeRegisterInfo", "Func": "getReservedRegs", "Target": "MBlaze", "Target_Clf": "MPU", "Compiler_Type": "LLVM", "Idx": 137259, "Length": 52, "Cover_Rate": 0.45614035087719296} {"Template_token": ["", "RegisterInfo", "::"], "ground_truth": ["RegisterInfo", "(", "const", "Subtarget", "&", "ST", ")", ":", "GenRegisterInfo", "(", "", ")", ",", "Subtarget", "(", "ST", ")", "{"], "File": "MBlazeRegisterInfo", "Func": "MBlazeRegisterInfo", "Target": "MBlaze", "Target_Clf": "MPU", "Compiler_Type": "LLVM", "Idx": 137260, "Length": 20, "Cover_Rate": 0.8695652173913043} {"Template_token": ["", "RegisterInfo", "(", "const", "Subtarget", "&", "ST", ")", ":", "GenRegisterInfo", "(", "", ")", ",", "Subtarget", "(", "ST", ")", "{"], "ground_truth": ["}"], "File": "MBlazeRegisterInfo", "Func": "MBlazeRegisterInfo", "Target": "MBlaze", "Target_Clf": "MPU", "Compiler_Type": "LLVM", "Idx": 137261, "Length": 19, "Cover_Rate": 0.8260869565217391} {"Template_token": ["", "InstrItins", ".", "IssueWidth", "=", "", ";"], "ground_truth": ["}"], "File": "MBlazeSubtarget", "Func": "computeIssueWidth", "Target": "MBlaze", "Target_Clf": "MPU", "Compiler_Type": "LLVM", "Idx": 137263, "Length": 7, "Cover_Rate": 0.5} {"Template_token": ["", "CriticalPathRCs", ".", "clear", "(", ")", ";", "CriticalPathRCs", ".", "push_back", "(", "&", "", ")", ";", "return", "HasItin", "&&", "OptLevel", ">=", "CodeGenOpt", "::", "Default", ";"], "ground_truth": ["}"], "File": "MBlazeSubtarget", "Func": "enablePostRAScheduler", "Target": "MBlaze", "Target_Clf": "MPU", "Compiler_Type": "LLVM", "Idx": 137264, "Length": 24, "Cover_Rate": 0.4444444444444444} {"Template_token": ["", "return", "InstrItins", ";"], "ground_truth": ["}"], "File": "MBlazeSubtarget", "Func": "getInstrItineraryData", "Target": "MBlaze", "Target_Clf": "MPU", "Compiler_Type": "LLVM", "Idx": 137265, "Length": 4, "Cover_Rate": 0.3333333333333333} {"Template_token": ["", "return", "InstrItins", ";"], "ground_truth": ["}"], "File": "MBlazeSubtarget", "Func": "getInstrItineraryData", "Target": "MBlaze", "Target_Clf": "MPU", "Compiler_Type": "LLVM", "Idx": 137266, "Length": 4, "Cover_Rate": 0.3333333333333333} {"Template_token": ["", "return", "HasBarrel", ";"], "ground_truth": ["}"], "File": "MBlazeSubtarget", "Func": "hasBarrel", "Target": "MBlaze", "Target_Clf": "MPU", "Compiler_Type": "LLVM", "Idx": 137267, "Length": 4, "Cover_Rate": 0.4} {"Template_token": ["", "return", "HasDiv", ";"], "ground_truth": ["}"], "File": "MBlazeSubtarget", "Func": "hasDiv", "Target": "MBlaze", "Target_Clf": "MPU", "Compiler_Type": "LLVM", "Idx": 137269, "Length": 4, "Cover_Rate": 0.4} {"Template_token": ["", "bool", "hasItin", "(", ")", "const", "{", "return", "HasItin", ";"], "ground_truth": ["}"], "File": "MBlazeSubtarget", "Func": "hasItin", "Target": "MBlaze", "Target_Clf": "MPU", "Compiler_Type": "LLVM", "Idx": 137271, "Length": 10, "Cover_Rate": 1.0} {"Template_token": ["", "bool", "hasMul", "(", ")", "const", "{", "return", "HasMul", ";"], "ground_truth": ["}"], "File": "MBlazeSubtarget", "Func": "hasMul", "Target": "MBlaze", "Target_Clf": "MPU", "Compiler_Type": "LLVM", "Idx": 137273, "Length": 10, "Cover_Rate": 1.0} {"Template_token": ["", "return", "HasMul", ";"], "ground_truth": ["}"], "File": "MBlazeSubtarget", "Func": "hasMul", "Target": "MBlaze", "Target_Clf": "MPU", "Compiler_Type": "LLVM", "Idx": 137274, "Length": 4, "Cover_Rate": 0.4} {"Template_token": ["", "return", "HasMul64", ";"], "ground_truth": ["}"], "File": "MBlazeSubtarget", "Func": "hasMul64", "Target": "MBlaze", "Target_Clf": "MPU", "Compiler_Type": "LLVM", "Idx": 137275, "Length": 4, "Cover_Rate": 0.4} {"Template_token": ["", "return", "HasMul64", ";"], "ground_truth": ["}"], "File": "MBlazeSubtarget", "Func": "hasMul64", "Target": "MBlaze", "Target_Clf": "MPU", "Compiler_Type": "LLVM", "Idx": 137276, "Length": 4, "Cover_Rate": 0.4} {"Template_token": ["", "bool", "hasPCMP", "(", ")", "const", "{"], "ground_truth": ["return", "HasPatCmp", ";"], "File": "MBlazeSubtarget", "Func": "hasPCMP", "Target": "MBlaze", "Target_Clf": "MPU", "Compiler_Type": "LLVM", "Idx": 137277, "Length": 9, "Cover_Rate": 0.9} {"Template_token": ["", "bool", "hasPCMP", "(", ")", "const", "{"], "ground_truth": ["return", "HasPatCmp", ";"], "File": "MBlazeSubtarget", "Func": "hasPCMP", "Target": "MBlaze", "Target_Clf": "MPU", "Compiler_Type": "LLVM", "Idx": 137278, "Length": 9, "Cover_Rate": 0.9} {"Template_token": ["", "return", "HasSqrt", ";"], "ground_truth": ["}"], "File": "MBlazeSubtarget", "Func": "hasSqrt", "Target": "MBlaze", "Target_Clf": "MPU", "Compiler_Type": "LLVM", "Idx": 137279, "Length": 4, "Cover_Rate": 0.4} {"Template_token": ["", "bool", "hasSqrt", "(", ")", "const", "{", "return", "HasSqrt", ";"], "ground_truth": ["}"], "File": "MBlazeSubtarget", "Func": "hasSqrt", "Target": "MBlaze", "Target_Clf": "MPU", "Compiler_Type": "LLVM", "Idx": 137280, "Length": 10, "Cover_Rate": 1.0} {"Template_token": ["", "RegisterTarget", "<", "Triple", "::", "mblaze", ">", "X", "(", "TheTarget", ",", "", ",", "", ")", ";"], "ground_truth": ["}"], "File": "MBlazeTargetInfo", "Func": "LLVMInitializeMBlazeTargetInfo", "Target": "MBlaze", "Target_Clf": "MPU", "Compiler_Type": "LLVM", "Idx": 137281, "Length": 16, "Cover_Rate": 0.7619047619047619} {"Template_token": ["", "void", "LLVMInitializeTargetInfo", "(", ")", "{", "RegisterTarget", "<", "Triple", "::", "mblaze", ">", "X", "(", "TheTarget", ",", "", ",", "", ")", ";"], "ground_truth": ["}"], "File": "MBlazeTargetInfo", "Func": "LLVMInitializeMBlazeTargetInfo", "Target": "MBlaze", "Target_Clf": "MPU", "Compiler_Type": "LLVM", "Idx": 137282, "Length": 21, "Cover_Rate": 1.0} {"Template_token": ["", "virtual", "const", "ScalarTargetTransformInfo", "*", "getScalarTargetTransformInfo", "(", ")", "const", "{"], "ground_truth": ["return", "&", "STTI", ";"], "File": "MBlazeTargetMachine10", "Func": "getScalarTargetTransformInfo", "Target": "MBlaze", "Target_Clf": "MPU", "Compiler_Type": "LLVM", "Idx": 137284, "Length": 13, "Cover_Rate": 0.9285714285714286} {"Template_token": ["", "return", "&", "STTI", ";"], "ground_truth": ["}"], "File": "MBlazeTargetMachine10", "Func": "getScalarTargetTransformInfo", "Target": "MBlaze", "Target_Clf": "MPU", "Compiler_Type": "LLVM", "Idx": 137285, "Length": 5, "Cover_Rate": 0.35714285714285715} {"Template_token": ["", "virtual", "const", "VectorTargetTransformInfo", "*", "getVectorTargetTransformInfo", "(", ")", "const", "{", "return", "&", "VTTI", ";"], "ground_truth": ["}"], "File": "MBlazeTargetMachine10", "Func": "getVectorTargetTransformInfo", "Target": "MBlaze", "Target_Clf": "MPU", "Compiler_Type": "LLVM", "Idx": 137286, "Length": 14, "Cover_Rate": 1.0} {"Template_token": ["", "virtual", "const", "VectorTargetTransformInfo", "*", "getVectorTargetTransformInfo", "(", ")", "const", "{", "return", "&", "VTTI", ";"], "ground_truth": ["}"], "File": "MBlazeTargetMachine10", "Func": "getVectorTargetTransformInfo", "Target": "MBlaze", "Target_Clf": "MPU", "Compiler_Type": "LLVM", "Idx": 137287, "Length": 14, "Cover_Rate": 1.0} {"Template_token": ["", "TargetMachine", "::", "TargetMachine", "(", "const", "Target", "&", "T", ",", "StringRef", "TT", ",", "StringRef", "CPU", ",", "StringRef", "FS", ",", "const", "TargetOptions", "&", "Options", ",", "Reloc", "::", "Model", "RM", ",", "CodeModel", "::", "Model", "CM", ",", "CodeGenOpt", "::", "Level", "OL", ")", ":", "LLVMTargetMachine", "(", "T", ",", "TT", ",", "CPU", ",", "FS", ",", "Options", ",", "RM", ",", "CM", ",", "OL", ")", ",", "Subtarget", "(", "TT", ",", "CPU", ",", "FS", ")", ",", "DataLayout", "(", "", ")", ",", "InstrInfo", "(", "*", "this", ")", ",", "FrameLowering", "(", "Subtarget", ")", ",", "TLInfo", "(", "*", "this", ")", ",", "TSInfo", "(", "*", "this", ")", ",", "ELFWriterInfo", "(", "*", "this", ")", ",", "InstrItins", "(", "Subtarget", ".", "getInstrItineraryData", "(", ")", ")", "{"], "ground_truth": ["}"], "File": "MBlazeTargetMachine10", "Func": "MBlazeTargetMachine", "Target": "MBlaze", "Target_Clf": "MPU", "Compiler_Type": "LLVM", "Idx": 137288, "Length": 111, "Cover_Rate": 1.0} {"Template_token": ["", "TargetMachine", "(", "const", "Target", "&", "T", ",", "StringRef", "TT", ",", "StringRef", "CPU", ",", "StringRef", "FS", ",", "const", "TargetOptions", "&", "Options", ",", "Reloc", "::", "Model", "RM", ",", "CodeModel", "::", "Model", "CM", ",", "CodeGenOpt", "::", "Level", "OL", ")", ":", "LLVMTargetMachine", "(", "T", ",", "TT", ",", "CPU", ",", "FS", ",", "Options", ",", "RM", ",", "CM", ",", "OL", ")", ",", "Subtarget", "(", "TT", ",", "CPU", ",", "FS", ")", ",", "DataLayout", "(", "", ")", ",", "InstrInfo", "(", "*", "this", ")", ",", "FrameLowering", "(", "Subtarget", ")", ",", "TLInfo", "(", "*", "this", ")", ",", "TSInfo", "(", "*", "this", ")", ",", "ELFWriterInfo", "(", "*", "this", ")", ",", "InstrItins", "(", "Subtarget", ".", "getInstrItineraryData", "(", ")", ")", "{"], "ground_truth": ["}"], "File": "MBlazeTargetMachine10", "Func": "MBlazeTargetMachine", "Target": "MBlaze", "Target_Clf": "MPU", "Compiler_Type": "LLVM", "Idx": 137289, "Length": 109, "Cover_Rate": 0.9819819819819819} {"Template_token": ["", "TargetMachine", "(", "const", "Target", "&", "T", ",", "StringRef", "TT", ",", "StringRef", "CPU", ",", "StringRef", "FS", ",", "const", "TargetOptions", "&", "Options", ",", "Reloc", "::", "Model", "RM", ",", "CodeModel", "::", "Model", "CM", ",", "CodeGenOpt", "::", "Level", "OL", ")", ":", "LLVMTargetMachine", "(", "T", ",", "TT", ",", "CPU", ",", "FS", ",", "Options", ",", "RM", ",", "CM", ",", "OL", ")", ",", "Subtarget", "(", "TT", ",", "CPU", ",", "FS", ")", ",", "DL", "(", "", ")", ",", "InstrInfo", "(", "*", "this", ")", ",", "FrameLowering", "(", "Subtarget", ")", ",", "TLInfo", "(", "*", "this", ")", ",", "TSInfo", "(", "*", "this", ")", ",", "InstrItins", "(", "Subtarget", ".", "getInstrItineraryData", "(", ")", ")", ",", "STTI", "(", "&", "TLInfo", ")", ",", "VTTI", "(", "&", "TLInfo", ")", "{"], "ground_truth": ["}"], "File": "MBlazeTargetMachine11", "Func": "MBlazeTargetMachine", "Target": "MBlaze", "Target_Clf": "MPU", "Compiler_Type": "LLVM", "Idx": 137290, "Length": 115, "Cover_Rate": 0.9829059829059829} {"Template_token": ["", "PM", ".", "add", "(", "createISelDag", "(", "*", "this", ")", ")", ";"], "ground_truth": ["return", "false", ";"], "File": "MBlazeTargetMachine12", "Func": "addInstSelector", "Target": "MBlaze", "Target_Clf": "MPU", "Compiler_Type": "LLVM", "Idx": 137293, "Length": 14, "Cover_Rate": 0.56} {"Template_token": ["", "bool", "TargetMachine", "::", "addPreEmitPass", "(", "PassManagerBase", "&", "PM", ")", "{", "PM", ".", "add", "(", "createDelaySlotFillerPass", "(", "*", "this", ")", ")", ";"], "ground_truth": ["return", "true", ";"], "File": "MBlazeTargetMachine12", "Func": "addPreEmitPass", "Target": "MBlaze", "Target_Clf": "MPU", "Compiler_Type": "LLVM", "Idx": 137294, "Length": 24, "Cover_Rate": 0.96} {"Template_token": ["", "bool", "TargetMachine", "::", "addPreEmitPass", "(", "PassManagerBase", "&", "PM", ")", "{", "PM", ".", "add", "(", "createDelaySlotFillerPass", "(", "*", "this", ")", ")", ";"], "ground_truth": ["return", "true", ";"], "File": "MBlazeTargetMachine12", "Func": "addPreEmitPass", "Target": "MBlaze", "Target_Clf": "MPU", "Compiler_Type": "LLVM", "Idx": 137295, "Length": 24, "Cover_Rate": 0.96} {"Template_token": ["", "TargetMachine", "::"], "ground_truth": ["TargetMachine", "(", "const", "Target", "&", "T", ",", "StringRef", "TT", ",", "StringRef", "CPU", ",", "StringRef", "FS", ",", "Reloc", "::", "Model", "RM", ",", "CodeModel", "::", "Model", "CM", ",", "CodeGenOpt", "::", "Level", "OL", ")", ":"], "File": "MBlazeTargetMachine12", "Func": "MBlazeTargetMachine", "Target": "MBlaze", "Target_Clf": "MPU", "Compiler_Type": "LLVM", "Idx": 137296, "Length": 34, "Cover_Rate": 0.3269230769230769} {"Template_token": ["", "TargetMachine", "::", "TargetMachine", "(", "const", "Target", "&", "T", ",", "StringRef", "TT", ",", "StringRef", "CPU", ",", "StringRef", "FS", ",", "Reloc", "::", "Model", "RM", ",", "CodeModel", "::", "Model", "CM", ",", "CodeGenOpt", "::", "Level", "OL", ")", ":"], "ground_truth": ["LLVMTargetMachine", "(", "T", ",", "TT", ",", "CPU", ",", "FS", ",", "RM", ",", "CM", ",", "OL", ")", ",", "Subtarget", "(", "TT", ",", "CPU", ",", "FS", ")", ",", "DataLayout", "(", "", ")", ",", "InstrInfo", "(", "*", "this", ")", ",", "FrameLowering", "(", "Subtarget", ")", ",", "TLInfo", "(", "*", "this", ")", ",", "TSInfo", "(", "*", "this", ")", ",", "ELFWriterInfo", "(", "*", "this", ")", ",", "InstrItins", "(", "Subtarget", ".", "getInstrItineraryData", "(", ")", ")", "{"], "File": "MBlazeTargetMachine12", "Func": "MBlazeTargetMachine", "Target": "MBlaze", "Target_Clf": "MPU", "Compiler_Type": "LLVM", "Idx": 137297, "Length": 103, "Cover_Rate": 0.9903846153846154} {"Template_token": ["", "bool", "TargetMachine", "::", "addInstSelector", "(", "PassManagerBase", "&", "PM", ",", "CodeGenOpt", "::", "Level", "OptLevel", ")", "{", "PM", ".", "add", "(", "createISelDag", "(", "*", "this", ")", ")", ";", "return", "false", ";"], "ground_truth": ["}"], "File": "MBlazeTargetMachine13", "Func": "addInstSelector", "Target": "MBlaze", "Target_Clf": "MPU", "Compiler_Type": "LLVM", "Idx": 137298, "Length": 30, "Cover_Rate": 1.0} {"Template_token": ["", "PM", ".", "add", "(", "createDelaySlotFillerPass", "(", "*", "this", ")", ")", ";", "return", "true", ";"], "ground_truth": ["}"], "File": "MBlazeTargetMachine13", "Func": "addPreEmitPass", "Target": "MBlaze", "Target_Clf": "MPU", "Compiler_Type": "LLVM", "Idx": 137299, "Length": 15, "Cover_Rate": 0.5} {"Template_token": ["", "bool", "TargetMachine", "::", "addPreEmitPass", "(", "PassManagerBase", "&", "PM", ",", "CodeGenOpt", "::", "Level", "OptLevel", ")", "{", "PM", ".", "add", "(", "createDelaySlotFillerPass", "(", "*", "this", ")", ")", ";"], "ground_truth": ["return", "true", ";"], "File": "MBlazeTargetMachine13", "Func": "addPreEmitPass", "Target": "MBlaze", "Target_Clf": "MPU", "Compiler_Type": "LLVM", "Idx": 137300, "Length": 29, "Cover_Rate": 0.9666666666666667} {"Template_token": ["", "TargetMachine", "(", "const", "Target", "&", "T", ",", "StringRef", "TT", ",", "StringRef", "CPU", ",", "StringRef", "FS", ",", "Reloc", "::", "Model", "RM", ",", "CodeModel", "::", "Model", "CM", ")", ":", "LLVMTargetMachine", "(", "T", ",", "TT", ",", "CPU", ",", "FS", ",", "RM", ",", "CM", ")", ",", "Subtarget", "(", "TT", ",", "CPU", ",", "FS", ")", ",", "DataLayout", "(", "", ")", ",", "InstrInfo", "(", "*", "this", ")", ",", "FrameLowering", "(", "Subtarget", ")", ",", "TLInfo", "(", "*", "this", ")", ",", "TSInfo", "(", "*", "this", ")", ",", "ELFWriterInfo", "(", "*", "this", ")", ",", "InstrItins", "(", "Subtarget", ".", "getInstrItineraryData", "(", ")", ")", "{"], "ground_truth": ["}"], "File": "MBlazeTargetMachine13", "Func": "MBlazeTargetMachine", "Target": "MBlaze", "Target_Clf": "MPU", "Compiler_Type": "LLVM", "Idx": 137302, "Length": 95, "Cover_Rate": 0.979381443298969} {"Template_token": ["", "PM", ".", "add", "(", "createISelDag", "(", "*", "this", ")", ")", ";"], "ground_truth": ["return", "false", ";"], "File": "MBlazeTargetMachine1", "Func": "addInstSelector", "Target": "MBlaze", "Target_Clf": "MPU", "Compiler_Type": "LLVM", "Idx": 137303, "Length": 14, "Cover_Rate": 0.4666666666666667} {"Template_token": ["", "PM", ".", "add", "(", "createISelDag", "(", "*", "this", ")", ")", ";"], "ground_truth": ["return", "false", ";"], "File": "MBlazeTargetMachine1", "Func": "addInstSelector", "Target": "MBlaze", "Target_Clf": "MPU", "Compiler_Type": "LLVM", "Idx": 137304, "Length": 14, "Cover_Rate": 0.4666666666666667} {"Template_token": ["", "bool", "TargetMachine", "::", "addPreEmitPass", "(", "PassManagerBase", "&", "PM", ",", "CodeGenOpt", "::", "Level", "OptLevel", ")", "{", "PM", ".", "add", "(", "createDelaySlotFillerPass", "(", "*", "this", ")", ")", ";", "return", "true", ";"], "ground_truth": ["}"], "File": "MBlazeTargetMachine1", "Func": "addPreEmitPass", "Target": "MBlaze", "Target_Clf": "MPU", "Compiler_Type": "LLVM", "Idx": 137305, "Length": 30, "Cover_Rate": 1.0} {"Template_token": ["", "addPreEmitPass", "(", "PassManagerBase", "&", "PM", ",", "CodeGenOpt", "::", "Level", "OptLevel", ")", "{", "PM", ".", "add", "(", "createDelaySlotFillerPass", "(", "*", "this", ")", ")", ";"], "ground_truth": ["return", "true", ";"], "File": "MBlazeTargetMachine1", "Func": "addPreEmitPass", "Target": "MBlaze", "Target_Clf": "MPU", "Compiler_Type": "LLVM", "Idx": 137306, "Length": 26, "Cover_Rate": 0.8666666666666667} {"Template_token": ["", "return", "&", "ELFWriterInfo", ";"], "ground_truth": ["}"], "File": "MBlazeTargetMachine1", "Func": "getELFWriterInfo", "Target": "MBlaze", "Target_Clf": "MPU", "Compiler_Type": "LLVM", "Idx": 137307, "Length": 5, "Cover_Rate": 0.35714285714285715} {"Template_token": ["", "return", "&", "ELFWriterInfo", ";"], "ground_truth": ["}"], "File": "MBlazeTargetMachine1", "Func": "getELFWriterInfo", "Target": "MBlaze", "Target_Clf": "MPU", "Compiler_Type": "LLVM", "Idx": 137308, "Length": 5, "Cover_Rate": 0.35714285714285715} {"Template_token": ["", "return", "&", "FrameLowering", ";"], "ground_truth": ["}"], "File": "MBlazeTargetMachine1", "Func": "getFrameLowering", "Target": "MBlaze", "Target_Clf": "MPU", "Compiler_Type": "LLVM", "Idx": 137309, "Length": 5, "Cover_Rate": 0.35714285714285715} {"Template_token": ["", "return", "&", "InstrItins", ";"], "ground_truth": ["}"], "File": "MBlazeTargetMachine1", "Func": "getInstrItineraryData", "Target": "MBlaze", "Target_Clf": "MPU", "Compiler_Type": "LLVM", "Idx": 137311, "Length": 5, "Cover_Rate": 0.35714285714285715} {"Template_token": ["", "virtual", "const", "InstrItineraryData", "*", "getInstrItineraryData", "(", ")", "const", "{"], "ground_truth": ["return", "&", "InstrItins", ";"], "File": "MBlazeTargetMachine1", "Func": "getInstrItineraryData", "Target": "MBlaze", "Target_Clf": "MPU", "Compiler_Type": "LLVM", "Idx": 137312, "Length": 13, "Cover_Rate": 0.9285714285714286} {"Template_token": ["", "virtual", "const", "SelectionDAGInfo", "*", "getSelectionDAGInfo", "(", ")", "const", "{"], "ground_truth": ["return", "&", "TSInfo", ";"], "File": "MBlazeTargetMachine1", "Func": "getSelectionDAGInfo", "Target": "MBlaze", "Target_Clf": "MPU", "Compiler_Type": "LLVM", "Idx": 137313, "Length": 13, "Cover_Rate": 0.9285714285714286} {"Template_token": ["", "return", "&", "TSInfo", ";"], "ground_truth": ["}"], "File": "MBlazeTargetMachine1", "Func": "getSelectionDAGInfo", "Target": "MBlaze", "Target_Clf": "MPU", "Compiler_Type": "LLVM", "Idx": 137314, "Length": 5, "Cover_Rate": 0.35714285714285715} {"Template_token": ["", "return", "&", "TLInfo", ";"], "ground_truth": ["}"], "File": "MBlazeTargetMachine1", "Func": "getTargetLowering", "Target": "MBlaze", "Target_Clf": "MPU", "Compiler_Type": "LLVM", "Idx": 137315, "Length": 5, "Cover_Rate": 0.35714285714285715} {"Template_token": ["", "virtual", "const", "TargetLowering", "*", "getTargetLowering", "(", ")", "const", "{", "return", "&", "TLInfo", ";"], "ground_truth": ["}"], "File": "MBlazeTargetMachine1", "Func": "getTargetLowering", "Target": "MBlaze", "Target_Clf": "MPU", "Compiler_Type": "LLVM", "Idx": 137316, "Length": 14, "Cover_Rate": 1.0} {"Template_token": ["", "RegisterTargetMachine", "<", "TargetMachine", ">", "X", "(", "TheTarget", ")", ";", "RegisterAsmInfo", "<", "MCAsmInfo", ">", "A", "(", "TheTarget", ")", ";"], "ground_truth": ["}"], "File": "MBlazeTargetMachine1", "Func": "LLVMInitializeMBlazeTarget", "Target": "MBlaze", "Target_Clf": "MPU", "Compiler_Type": "LLVM", "Idx": 137318, "Length": 19, "Cover_Rate": 0.7916666666666666} {"Template_token": ["", "TargetMachine", "::", "TargetMachine", "(", "const", "Target", "&", "T", ",", "const", "std", "::", "string", "&", "TT", ",", "const", "std", "::", "string", "&", "FS", ")", ":", "LLVMTargetMachine", "(", "T", ",", "TT", ")", ",", "Subtarget", "(", "TT", ",", "FS", ")", ",", "DataLayout", "(", "", "", ")", ",", "InstrInfo", "(", "*", "this", ")", ",", "FrameInfo", "(", "TargetFrameInfo", "::", "StackGrowsUp", ",", "", ",", "", ")", ",", "TLInfo", "(", "*", "this", ")", "{", "if", "(", "getRelocationModel", "(", ")", "==", "Reloc", "::", "Default", ")", "{", "setRelocationModel", "(", "Reloc", "::", "Static", ")", ";"], "ground_truth": ["}"], "File": "MBlazeTargetMachine1", "Func": "MBlazeTargetMachine", "Target": "MBlaze", "Target_Clf": "MPU", "Compiler_Type": "LLVM", "Idx": 137319, "Length": 86, "Cover_Rate": 0.8269230769230769} {"Template_token": ["", "PM", ".", "add", "(", "createISelDag", "(", "getTargetMachine", "(", ")", ")", ")", ";", "return", "false", ";"], "ground_truth": ["}"], "File": "MBlazeTargetMachine2", "Func": "addInstSelector", "Target": "MBlaze", "Target_Clf": "MPU", "Compiler_Type": "LLVM", "Idx": 137320, "Length": 16, "Cover_Rate": 0.6956521739130435} {"Template_token": ["", "bool", "PassConfig", "::", "addInstSelector", "(", ")", "{"], "ground_truth": ["PM", ".", "add", "(", "createISelDag", "(", "getTargetMachine", "(", ")", ")", ")", ";"], "File": "MBlazeTargetMachine2", "Func": "addInstSelector", "Target": "MBlaze", "Target_Clf": "MPU", "Compiler_Type": "LLVM", "Idx": 137321, "Length": 19, "Cover_Rate": 0.8260869565217391} {"Template_token": ["", "PM", ".", "add", "(", "createDelaySlotFillerPass", "(", "getTargetMachine", "(", ")", ")", ")", ";"], "ground_truth": ["return", "true", ";"], "File": "MBlazeTargetMachine2", "Func": "addPreEmitPass", "Target": "MBlaze", "Target_Clf": "MPU", "Compiler_Type": "LLVM", "Idx": 137322, "Length": 15, "Cover_Rate": 0.6521739130434783} {"Template_token": ["", "TargetMachine", "::", "TargetMachine", "(", "const", "Target", "&", "T", ",", "const", "std", "::", "string", "&", "TT", ",", "const", "std", "::", "string", "&", "FS", ")", ":", "LLVMTargetMachine", "(", "T", ",", "TT", ")", ",", "Subtarget", "(", "TT", ",", "FS", ")", ",", "DataLayout", "(", "", "", ")", ",", "InstrInfo", "(", "*", "this", ")", ",", "FrameInfo", "(", "TargetFrameInfo", "::", "StackGrowsUp", ",", "", ",", "", ")", ",", "TLInfo", "(", "*", "this", ")", ",", "TSInfo", "(", "*", "this", ")", "{"], "ground_truth": ["if", "(", "getRelocationModel", "(", ")", "==", "Reloc", "::", "Default", ")", "{"], "File": "MBlazeTargetMachine5", "Func": "MBlazeTargetMachine", "Target": "MBlaze", "Target_Clf": "MPU", "Compiler_Type": "LLVM", "Idx": 137323, "Length": 84, "Cover_Rate": 0.7636363636363637} {"Template_token": ["", "case", "Triple", "::", "Darwin", ":", "llvm_unreachable", "(", "", ")", ";", "return", "NULL", ";", "case", "Triple", "::", "MinGW32", ":", "case", "Triple", "::", "MinGW64", ":", "case", "Triple", "::", "Cygwin", ":", "case", "Triple", "::", "Win32", ":", "llvm_unreachable", "(", "", ")", ";", "return", "NULL", ";", "default", ":"], "ground_truth": ["return", "createELFStreamer", "(", "Ctx", ",", "TAB", ",", "_OS", ",", "_Emitter", ",", "RelaxAll", ")", ";"], "File": "MBlazeTargetMachine6", "Func": "createMCStreamer", "Target": "MBlaze", "Target_Clf": "MPU", "Compiler_Type": "LLVM", "Idx": 137324, "Length": 57, "Cover_Rate": 0.5135135135135135} {"Template_token": ["", "RegisterTargetMachine", "<", "TargetMachine", ">", "X", "(", "TheTarget", ")", ";"], "ground_truth": ["RegisterAsmInfoFn", "A", "(", "TheTarget", ",", "createMCAsmInfo", ")", ";"], "File": "MBlazeTargetMachine6", "Func": "LLVMInitializeMBlazeTarget", "Target": "MBlaze", "Target_Clf": "MPU", "Compiler_Type": "LLVM", "Idx": 137325, "Length": 17, "Cover_Rate": 0.3269230769230769} {"Template_token": ["", "RegisterAsmInfoFn", "A", "(", "TheTarget", ",", "createMCAsmInfo", ")", ";", "TargetRegistry", "::", "RegisterCodeEmitter", "(", "TheTarget", ",", "llvm", "::", "createMCCodeEmitter", ")", ";", "TargetRegistry", "::", "RegisterAsmBackend", "(", "TheTarget", ",", "createAsmBackend", ")", ";"], "ground_truth": ["TargetRegistry", "::", "RegisterObjectStreamer", "(", "TheTarget", ",", "createMCStreamer", ")", ";"], "File": "MBlazeTargetMachine6", "Func": "LLVMInitializeMBlazeTarget", "Target": "MBlaze", "Target_Clf": "MPU", "Compiler_Type": "LLVM", "Idx": 137326, "Length": 37, "Cover_Rate": 0.7115384615384616} {"Template_token": ["", "TargetMachine", "::", "TargetMachine", "(", "const", "Target", "&", "T", ",", "const", "std", "::", "string", "&", "TT", ",", "const", "std", "::", "string", "&", "FS", ")", ":"], "ground_truth": ["LLVMTargetMachine", "(", "T", ",", "TT", ")", ",", "Subtarget", "(", "TT", ",", "FS", ")", ",", "DataLayout", "(", "", ")", ",", "InstrInfo", "(", "*", "this", ")", ",", "FrameInfo", "(", "Subtarget", ")", ",", "TLInfo", "(", "*", "this", ")", ",", "TSInfo", "(", "*", "this", ")", ",", "ELFWriterInfo", "(", "*", "this", ")", "{"], "File": "MBlazeTargetMachine6", "Func": "MBlazeTargetMachine", "Target": "MBlaze", "Target_Clf": "MPU", "Compiler_Type": "LLVM", "Idx": 137327, "Length": 72, "Cover_Rate": 0.6605504587155964} {"Template_token": ["", "PM", "->", "add", "(", "createISelDag", "(", "getTargetMachine", "(", ")", ")", ")", ";", "return", "false", ";"], "ground_truth": ["}"], "File": "MBlazeTargetMachine8", "Func": "addInstSelector", "Target": "MBlaze", "Target_Clf": "MPU", "Compiler_Type": "LLVM", "Idx": 137329, "Length": 16, "Cover_Rate": 0.6956521739130435} {"Template_token": ["", "bool", "PassConfig", "::", "addPreEmitPass", "(", ")", "{", "PM", "->", "add", "(", "createDelaySlotFillerPass", "(", "getTargetMachine", "(", ")", ")", ")", ";", "return", "true", ";"], "ground_truth": ["}"], "File": "MBlazeTargetMachine8", "Func": "addPreEmitPass", "Target": "MBlaze", "Target_Clf": "MPU", "Compiler_Type": "LLVM", "Idx": 137330, "Length": 23, "Cover_Rate": 1.0} {"Template_token": ["", "PM", "->", "add", "(", "createDelaySlotFillerPass", "(", "getTargetMachine", "(", ")", ")", ")", ";", "return", "true", ";"], "ground_truth": ["}"], "File": "MBlazeTargetMachine8", "Func": "addPreEmitPass", "Target": "MBlaze", "Target_Clf": "MPU", "Compiler_Type": "LLVM", "Idx": 137331, "Length": 16, "Cover_Rate": 0.6956521739130435} {"Template_token": ["", "addPass", "(", "createISelDag", "(", "getTargetMachine", "(", ")", ")", ")", ";"], "ground_truth": ["return", "false", ";"], "File": "MBlazeTargetMachine", "Func": "addInstSelector", "Target": "MBlaze", "Target_Clf": "MPU", "Compiler_Type": "LLVM", "Idx": 137332, "Length": 13, "Cover_Rate": 0.6190476190476191} {"Template_token": ["", "addPass", "(", "createISelDag", "(", "getTargetMachine", "(", ")", ")", ")", ";"], "ground_truth": ["return", "false", ";"], "File": "MBlazeTargetMachine", "Func": "addInstSelector", "Target": "MBlaze", "Target_Clf": "MPU", "Compiler_Type": "LLVM", "Idx": 137333, "Length": 13, "Cover_Rate": 0.6190476190476191} {"Template_token": ["", "addPass", "(", "createDelaySlotFillerPass", "(", "getTargetMachine", "(", ")", ")", ")", ";"], "ground_truth": ["return", "true", ";"], "File": "MBlazeTargetMachine", "Func": "addPreEmitPass", "Target": "MBlaze", "Target_Clf": "MPU", "Compiler_Type": "LLVM", "Idx": 137334, "Length": 13, "Cover_Rate": 0.6190476190476191} {"Template_token": ["", "addPass", "(", "createDelaySlotFillerPass", "(", "getTargetMachine", "(", ")", ")", ")", ";", "return", "true", ";"], "ground_truth": ["}"], "File": "MBlazeTargetMachine", "Func": "addPreEmitPass", "Target": "MBlaze", "Target_Clf": "MPU", "Compiler_Type": "LLVM", "Idx": 137335, "Length": 14, "Cover_Rate": 0.6666666666666666} {"Template_token": ["", "return", "new", "PassConfig", "(", "this", ",", "PM", ")", ";"], "ground_truth": ["}"], "File": "MBlazeTargetMachine", "Func": "createPassConfig", "Target": "MBlaze", "Target_Clf": "MPU", "Compiler_Type": "LLVM", "Idx": 137337, "Length": 10, "Cover_Rate": 0.47619047619047616} {"Template_token": ["", "return", "&", "FrameInfo", ";"], "ground_truth": ["}"], "File": "MBlazeTargetMachine", "Func": "getFrameInfo", "Target": "MBlaze", "Target_Clf": "MPU", "Compiler_Type": "LLVM", "Idx": 137338, "Length": 5, "Cover_Rate": 0.35714285714285715} {"Template_token": ["", "virtual", "const", "TargetFrameInfo", "*", "getFrameInfo", "(", ")", "const", "{"], "ground_truth": ["return", "&", "FrameInfo", ";"], "File": "MBlazeTargetMachine", "Func": "getFrameInfo", "Target": "MBlaze", "Target_Clf": "MPU", "Compiler_Type": "LLVM", "Idx": 137339, "Length": 13, "Cover_Rate": 0.9285714285714286} {"Template_token": ["", "virtual", "const", "InstrInfo", "*", "getInstrInfo", "(", ")", "const", "{", "return", "&", "InstrInfo", ";"], "ground_truth": ["}"], "File": "MBlazeTargetMachine", "Func": "getInstrInfo", "Target": "MBlaze", "Target_Clf": "MPU", "Compiler_Type": "LLVM", "Idx": 137340, "Length": 14, "Cover_Rate": 1.0} {"Template_token": ["", "virtual", "const", "InstrInfo", "*", "getInstrInfo", "(", ")", "const", "{", "return", "&", "InstrInfo", ";"], "ground_truth": ["}"], "File": "MBlazeTargetMachine", "Func": "getInstrInfo", "Target": "MBlaze", "Target_Clf": "MPU", "Compiler_Type": "LLVM", "Idx": 137341, "Length": 14, "Cover_Rate": 1.0} {"Template_token": ["", "return", "&", "IntrinsicInfo", ";"], "ground_truth": ["}"], "File": "MBlazeTargetMachine", "Func": "getIntrinsicInfo", "Target": "MBlaze", "Target_Clf": "MPU", "Compiler_Type": "LLVM", "Idx": 137342, "Length": 5, "Cover_Rate": 0.38461538461538464} {"Template_token": ["", "const", "TargetIntrinsicInfo", "*", "getIntrinsicInfo", "(", ")", "const", "{", "return", "&", "IntrinsicInfo", ";"], "ground_truth": ["}"], "File": "MBlazeTargetMachine", "Func": "getIntrinsicInfo", "Target": "MBlaze", "Target_Clf": "MPU", "Compiler_Type": "LLVM", "Idx": 137343, "Length": 13, "Cover_Rate": 1.0} {"Template_token": ["", "TargetMachine", "&", "getTargetMachine", "(", ")", "const", "{", "return", "getTM", "<", "TargetMachine", ">", "(", ")", ";"], "ground_truth": ["}"], "File": "MBlazeTargetMachine", "Func": "getMBlazeTargetMachine", "Target": "MBlaze", "Target_Clf": "MPU", "Compiler_Type": "LLVM", "Idx": 137344, "Length": 16, "Cover_Rate": 1.0} {"Template_token": ["", "return", "&", "InstrInfo", ".", "getRegisterInfo", "(", ")", ";"], "ground_truth": ["}"], "File": "MBlazeTargetMachine", "Func": "getRegisterInfo", "Target": "MBlaze", "Target_Clf": "MPU", "Compiler_Type": "LLVM", "Idx": 137346, "Length": 9, "Cover_Rate": 0.5} {"Template_token": ["", "return", "&", "InstrInfo", ".", "getRegisterInfo", "(", ")", ";"], "ground_truth": ["}"], "File": "MBlazeTargetMachine", "Func": "getRegisterInfo", "Target": "MBlaze", "Target_Clf": "MPU", "Compiler_Type": "LLVM", "Idx": 137347, "Length": 9, "Cover_Rate": 0.5} {"Template_token": ["", "virtual", "const", "Subtarget", "*", "getSubtargetImpl", "(", ")", "const", "{", "return", "&", "Subtarget", ";"], "ground_truth": ["}"], "File": "MBlazeTargetMachine", "Func": "getSubtargetImpl", "Target": "MBlaze", "Target_Clf": "MPU", "Compiler_Type": "LLVM", "Idx": 137348, "Length": 14, "Cover_Rate": 1.0} {"Template_token": ["", "virtual", "const", "TargetData", "*", "getTargetData", "(", ")", "const", "{", "return", "&", "DataLayout", ";"], "ground_truth": ["}"], "File": "MBlazeTargetMachine", "Func": "getTargetData", "Target": "MBlaze", "Target_Clf": "MPU", "Compiler_Type": "LLVM", "Idx": 137349, "Length": 14, "Cover_Rate": 1.0} {"Template_token": ["", "return", "const_cast", "<", "TargetLowering", "*", ">", "(", "&", "TLInfo", ")", ";"], "ground_truth": ["}"], "File": "MBlazeTargetMachine", "Func": "getTargetLowering", "Target": "MBlaze", "Target_Clf": "MPU", "Compiler_Type": "LLVM", "Idx": 137351, "Length": 12, "Cover_Rate": 0.6} {"Template_token": ["", "RegisterTargetMachine", "<", "TargetMachine", ">", "X", "(", "TheTarget", ")", ";"], "ground_truth": ["}"], "File": "MBlazeTargetMachine", "Func": "LLVMInitializeMBlazeTarget", "Target": "MBlaze", "Target_Clf": "MPU", "Compiler_Type": "LLVM", "Idx": 137352, "Length": 10, "Cover_Rate": 0.6666666666666666} {"Template_token": ["", "RegisterTargetMachine", "<", "TargetMachine", ">", "X", "(", "TheTarget", ")", ";"], "ground_truth": ["}"], "File": "MBlazeTargetMachine", "Func": "LLVMInitializeMBlazeTarget", "Target": "MBlaze", "Target_Clf": "MPU", "Compiler_Type": "LLVM", "Idx": 137353, "Length": 10, "Cover_Rate": 0.6666666666666666} {"Template_token": ["", "PassConfig", "(", "TargetMachine", "*", "TM", ",", "PassManagerBase", "&", "PM", ")", ":", "TargetPassConfig", "(", "TM", ",", "PM", ")", "{"], "ground_truth": ["}"], "File": "MBlazeTargetMachine", "Func": "MBlazePassConfig", "Target": "MBlaze", "Target_Clf": "MPU", "Compiler_Type": "LLVM", "Idx": 137354, "Length": 19, "Cover_Rate": 1.0} {"Template_token": ["", "PassConfig", "(", "TargetMachine", "*", "TM", ",", "PassManagerBase", "&", "PM", ")", ":", "TargetPassConfig", "(", "TM", ",", "PM", ")", "{"], "ground_truth": ["}"], "File": "MBlazeTargetMachine", "Func": "MBlazePassConfig", "Target": "MBlaze", "Target_Clf": "MPU", "Compiler_Type": "LLVM", "Idx": 137355, "Length": 19, "Cover_Rate": 1.0} {"Template_token": ["", "TargetMachine", "::", "TargetMachine", "(", "const", "Target", "&", "T", ",", "StringRef", "TT", ",", "StringRef", "CPU", ",", "StringRef", "FS", ",", "const", "TargetOptions", "&", "Options", ",", "Reloc", "::", "Model", "RM", ",", "CodeModel", "::", "Model", "CM", ",", "CodeGenOpt", "::", "Level", "OL", ")", ":", "LLVMTargetMachine", "(", "T", ",", "TT", ",", "CPU", ",", "FS", ",", "Options", ",", "RM", ",", "CM", ",", "OL", ")", ",", "Subtarget", "(", "TT", ",", "CPU", ",", "FS", ")", ",", "DL", "(", "", ")", ",", "InstrInfo", "(", "*", "this", ")", ",", "FrameLowering", "(", "Subtarget", ")", ",", "TLInfo", "(", "*", "this", ")", ",", "TSInfo", "(", "*", "this", ")", ",", "InstrItins", "(", "Subtarget", ".", "getInstrItineraryData", "(", ")", ")", "{"], "ground_truth": ["initAsmInfo", "(", ")", ";"], "File": "MBlazeTargetMachine", "Func": "MBlazeTargetMachine", "Target": "MBlaze", "Target_Clf": "MPU", "Compiler_Type": "LLVM", "Idx": 137356, "Length": 108, "Cover_Rate": 0.9908256880733946} {"Template_token": ["", "TargetMachine", "(", "const", "Target", "&", "T", ",", "StringRef", "TT", ",", "StringRef", "CPU", ",", "StringRef", "FS", ",", "const", "TargetOptions", "&", "Options", ",", "Reloc", "::", "Model", "RM", ",", "CodeModel", "::", "Model", "CM", ",", "CodeGenOpt", "::", "Level", "OL", ")", ":", "LLVMTargetMachine", "(", "T", ",", "TT", ",", "CPU", ",", "FS", ",", "Options", ",", "RM", ",", "CM", ",", "OL", ")", ",", "Subtarget", "(", "TT", ",", "CPU", ",", "FS", ")", ",", "DL", "(", "", ")", ",", "InstrInfo", "(", "*", "this", ")", ",", "FrameLowering", "(", "Subtarget", ")", ",", "TLInfo", "(", "*", "this", ")", ",", "TSInfo", "(", "*", "this", ")", ",", "InstrItins", "(", "Subtarget", ".", "getInstrItineraryData", "(", ")", ")", "{"], "ground_truth": ["initAsmInfo", "(", ")", ";"], "File": "MBlazeTargetMachine", "Func": "MBlazeTargetMachine", "Target": "MBlaze", "Target_Clf": "MPU", "Compiler_Type": "LLVM", "Idx": 137357, "Length": 106, "Cover_Rate": 0.9724770642201835} {"Template_token": ["", "SmallBSSSection", "=", "getContext", "(", ")", ".", "getELFSection", "(", "", ",", "ELF", "::", "SHT_NOBITS", ",", "ELF", "::", "SHF_WRITE", "|", "ELF", "::", "SHF_ALLOC", ",", "SectionKind", "::", "getBSS", "(", ")", ")", ";"], "ground_truth": ["}"], "File": "MBlazeTargetObjectFile1", "Func": "Initialize", "Target": "MBlaze", "Target_Clf": "MPU", "Compiler_Type": "LLVM", "Idx": 137358, "Length": 30, "Cover_Rate": 0.3614457831325301} {"Template_token": ["", "Initialize", "(", "MCContext", "&", "Ctx", ",", "const", "TargetMachine", "&", "TM", ")", "{", "TargetLoweringObjectFileELF", "::", "Initialize", "(", "Ctx", ",", "TM", ")", ";"], "ground_truth": ["SmallDataSection", "=", "getContext", "(", ")", ".", "getELFSection", "(", "", ",", "ELF", "::", "SHT_PROGBITS", ",", "ELF", "::", "SHF_WRITE", "|", "ELF", "::", "SHF_ALLOC", ",", "SectionKind", "::", "getDataRel", "(", ")", ")", ";"], "File": "MBlazeTargetObjectFile1", "Func": "Initialize", "Target": "MBlaze", "Target_Clf": "MPU", "Compiler_Type": "LLVM", "Idx": 137359, "Length": 50, "Cover_Rate": 0.6024096385542169} {"Template_token": ["", "bool", "TargetObjectFile", "::", "IsGlobalInSmallSection", "(", "const", "GlobalValue", "*", "GV", ",", "const", "TargetMachine", "&", "TM", ",", "SectionKind", "Kind", ")", "const", "{"], "ground_truth": ["const", "GlobalVariable", "*", "GVA", "=", "dyn_cast", "<", "GlobalVariable", ">", "(", "GV", ")", ";"], "File": "MBlazeTargetObjectFile1", "Func": "IsGlobalInSmallSection", "Target": "MBlaze", "Target_Clf": "MPU", "Compiler_Type": "LLVM", "Idx": 137360, "Length": 33, "Cover_Rate": 0.32673267326732675} {"Template_token": ["", "if", "(", "!", "Kind", ".", "isBSS", "(", ")", "&&", "!", "Kind", ".", "isDataRel", "(", ")", ")", "return", "false", ";", "if", "(", "Kind", ".", "isMergeable1ByteCString", "(", ")", ")", "return", "false", ";"], "ground_truth": ["Type", "*", "Ty", "=", "GV", "->", "getType", "(", ")", "->", "getElementType", "(", ")", ";"], "File": "MBlazeTargetObjectFile1", "Func": "IsGlobalInSmallSection", "Target": "MBlaze", "Target_Clf": "MPU", "Compiler_Type": "LLVM", "Idx": 137361, "Length": 44, "Cover_Rate": 0.43564356435643564} {"Template_token": ["", "static", "bool", "IsInSmallSection", "(", "uint64_t", "Size", ")", "{", "return", "Size", ">", "", "&&", "Size", "<=", "", ";"], "ground_truth": ["}"], "File": "MBlazeTargetObjectFile1", "Func": "IsInSmallSection", "Target": "MBlaze", "Target_Clf": "MPU", "Compiler_Type": "LLVM", "Idx": 137362, "Length": 18, "Cover_Rate": 1.0} {"Template_token": ["", "if", "(", "Kind", ".", "isBSS", "(", ")", "&&", "IsGlobalInSmallSection", "(", "GV", ",", "TM", ",", "Kind", ")", ")", "return", "SmallBSSSection", ";"], "ground_truth": ["if", "(", "Kind", ".", "isDataNoRel", "(", ")", "&&", "IsGlobalInSmallSection", "(", "GV", ",", "TM", ",", "Kind", ")", ")", "return", "SmallDataSection", ";"], "File": "MBlazeTargetObjectFile1", "Func": "SelectSectionForGlobal", "Target": "MBlaze", "Target_Clf": "MPU", "Compiler_Type": "LLVM", "Idx": 137364, "Length": 40, "Cover_Rate": 0.49382716049382713} {"Template_token": ["", "SmallDataSection", "=", "getContext", "(", ")", ".", "getELFSection", "(", "", ",", "MCSectionELF", "::", "SHT_PROGBITS", ",", "MCSectionELF", "::", "SHF_WRITE", "|", "MCSectionELF", "::", "SHF_ALLOC", ",", "SectionKind", "::", "getDataRel", "(", ")", ")", ";"], "ground_truth": ["SmallBSSSection", "=", "getContext", "(", ")", ".", "getELFSection", "(", "", ",", "MCSectionELF", "::", "SHT_NOBITS", ",", "MCSectionELF", "::", "SHF_WRITE", "|", "MCSectionELF", "::", "SHF_ALLOC", ",", "SectionKind", "::", "getBSS", "(", ")", ")", ";"], "File": "MBlazeTargetObjectFile2", "Func": "Initialize", "Target": "MBlaze", "Target_Clf": "MPU", "Compiler_Type": "LLVM", "Idx": 137365, "Length": 58, "Cover_Rate": 0.6987951807228916} {"Template_token": ["", "void", "TargetObjectFile", "::", "Initialize", "(", "MCContext", "&", "Ctx", ",", "const", "TargetMachine", "&", "TM", ")", "{"], "ground_truth": ["TargetLoweringObjectFileELF", "::", "Initialize", "(", "Ctx", ",", "TM", ")", ";"], "File": "MBlazeTargetObjectFile3", "Func": "Initialize", "Target": "MBlaze", "Target_Clf": "MPU", "Compiler_Type": "LLVM", "Idx": 137366, "Length": 24, "Cover_Rate": 0.32} {"Template_token": ["", "if", "(", "Kind", ".", "isMergeable1ByteCString", "(", ")", ")", "return", "false", ";", "Type", "*", "Ty", "=", "GV", "->", "getType", "(", ")", "->", "getElementType", "(", ")", ";", "return", "IsInSmallSection", "(", "TM", ".", "getTargetData", "(", ")", "->", "getTypeAllocSize", "(", "Ty", ")", ")", ";"], "ground_truth": ["}"], "File": "MBlazeTargetObjectFile6", "Func": "IsGlobalInSmallSection", "Target": "MBlaze", "Target_Clf": "MPU", "Compiler_Type": "LLVM", "Idx": 137368, "Length": 41, "Cover_Rate": 0.40594059405940597} {"Template_token": ["", "if", "(", "!", "Kind", ".", "isBSS", "(", ")", "&&", "!", "Kind", ".", "isDataRel", "(", ")", ")", "return", "false", ";", "if", "(", "Kind", ".", "isMergeable1ByteCString", "(", ")", ")", "return", "false", ";"], "ground_truth": ["Type", "*", "Ty", "=", "GV", "->", "getType", "(", ")", "->", "getElementType", "(", ")", ";"], "File": "MBlazeTargetObjectFile6", "Func": "IsGlobalInSmallSection", "Target": "MBlaze", "Target_Clf": "MPU", "Compiler_Type": "LLVM", "Idx": 137369, "Length": 44, "Cover_Rate": 0.43564356435643564}