{"Template_token": ["", "const", "Triple", "&", "TT", "=", "STI", ".", "getTargetTriple", "(", ")", ";", "uint8_t", "OSABI", "=", "MCELFObjectTargetWriter", "::", "getOSABI", "(", "TT", ".", "getOS", "("], "ground_truth": [")", ")", ";"], "File": "ECLairAsmBackend", "Func": "createECLairAsmBackend", "Target": "ECLair", "Target_Clf": "MPU", "Compiler_Type": "LLVM", "Idx": 51901, "Length": 25, "Cover_Rate": 0.4166666666666667} {"Template_token": ["", "unsigned", "getNumFixupKinds", "(", ")", "const", "override", "{", "return", ""], "ground_truth": [";"], "File": "ECLairAsmBackend", "Func": "getNumFixupKinds", "Target": "ECLair", "Target_Clf": "MPU", "Compiler_Type": "LLVM", "Idx": 51902, "Length": 10, "Cover_Rate": 0.9090909090909091} {"Template_token": ["", "void", "relaxInstruction", "(", "const", "MCInst", "&", "Inst", ",", "const", "MCSubtargetInfo", "&", "STI", ",", "MCInst", "&"], "ground_truth": ["Res", ")", "const", "override", "{"], "File": "ECLairAsmBackend", "Func": "relaxInstruction", "Target": "ECLair", "Target_Clf": "MPU", "Compiler_Type": "LLVM", "Idx": 51903, "Length": 20, "Cover_Rate": 0.7692307692307693} {"Template_token": ["", "for", "(", "uint64_t", "i", "=", "", ";", "i", "<", "Count", ";", "i", "+=", "", ")", "OS", ".", "write", "(", "", ")", ";", "return", "true"], "ground_truth": [";"], "File": "ECLairAsmBackend", "Func": "writeNopData", "Target": "ECLair", "Target_Clf": "MPU", "Compiler_Type": "LLVM", "Idx": 51904, "Length": 25, "Cover_Rate": 0.4716981132075472} {"Template_token": ["", "assert", "(", "Expr", "&&", "", ")", ";", "if", "(", "auto", "*", "CE", "=", "dyn_cast", "<", "MCConstantExpr", ">", "(", "Expr", ")", ")", "Inst", ".", "addOperand", "(", "MCOperand", "::", "createImm", "(", "CE", "->", "getValue", "(", ")", ")", ")", ";", "else", "Inst", ".", "addOperand", "(", "MCOperand", "::", "createExpr", "(", "Expr", ")"], "ground_truth": [")", ";"], "File": "ECLairAsmParser", "Func": "addExpr", "Target": "ECLair", "Target_Clf": "MPU", "Compiler_Type": "LLVM", "Idx": 51905, "Length": 50, "Cover_Rate": 0.7692307692307693} {"Template_token": ["", "assert", "(", "N", "==", "", "&&", "", ")", ";", "addExpr", "(", "Inst", ",", "getImm", "("], "ground_truth": [")", ")", ";"], "File": "ECLairAsmParser", "Func": "addImmOperands", "Target": "ECLair", "Target_Clf": "MPU", "Compiler_Type": "LLVM", "Idx": 51906, "Length": 18, "Cover_Rate": 0.5806451612903226} {"Template_token": ["", "Inst", ".", "addOperand", "(", "MCOperand", "::", "createReg", "(", "getReg", "(", ")"], "ground_truth": [")", ")", ";"], "File": "ECLairAsmParser", "Func": "addRegOperands", "Target": "ECLair", "Target_Clf": "MPU", "Compiler_Type": "LLVM", "Idx": 51907, "Length": 14, "Cover_Rate": 0.3888888888888889} {"Template_token": ["", "assert", "(", "N", "==", "", "&&", "", ")", ";", "Inst", ".", "addOperand", "(", "MCOperand", "::", "createReg"], "ground_truth": ["(", "getReg", "(", ")", ")", ")", ";"], "File": "ECLairAsmParser", "Func": "addRegOperands", "Target": "ECLair", "Target_Clf": "MPU", "Compiler_Type": "LLVM", "Idx": 51908, "Length": 23, "Cover_Rate": 0.6388888888888888} {"Template_token": ["", "static", "std", "::", "unique_ptr", "<", "Operand", ">", "createReg", "(", "unsigned", "RegNo", ",", "SMLoc", "S", ",", "SMLoc", "E", ")", "{", "auto", "Op", "=", "make_unique", "<", "Operand", ">", "(", "Register", ")", ";", "Op", "->", "Reg", ".", "RegNum", "=", "RegNo", ";", "Op", "->", "StartLoc"], "ground_truth": ["=", "S", ";"], "File": "ECLairAsmParser", "Func": "createReg", "Target": "ECLair", "Target_Clf": "MPU", "Compiler_Type": "LLVM", "Idx": 51909, "Length": 44, "Cover_Rate": 0.8148148148148148} {"Template_token": ["", "Op", "->", "StartLoc", "=", "S", ";", "Op", "->", "EndLoc", "=", "S", ";", "return", "Op"], "ground_truth": [";"], "File": "ECLairAsmParser", "Func": "createToken", "Target": "ECLair", "Target_Clf": "MPU", "Compiler_Type": "LLVM", "Idx": 51910, "Length": 15, "Cover_Rate": 0.30612244897959184} {"Template_token": ["", "auto", "Op", "=", "make_unique", "<", "Operand", ">", "(", "Token", ")", ";", "Op", "->", "Tok", "=", "Str", ";", "Op", "->", "StartLoc", "=", "S", ";", "Op", "->", "EndLoc", "=", "S", ";", "return", "Op"], "ground_truth": [";"], "File": "ECLairAsmParser", "Func": "createToken", "Target": "ECLair", "Target_Clf": "MPU", "Compiler_Type": "LLVM", "Idx": 51911, "Length": 32, "Cover_Rate": 0.6530612244897959} {"Template_token": ["", "return", "static_cast", "<", "const", "MCConstantExpr", "*", ">", "(", "Val"], "ground_truth": [")", "->", "getValue", "(", ")", ";"], "File": "ECLairAsmParser", "Func": "getConstantImm", "Target": "ECLair", "Target_Clf": "MPU", "Compiler_Type": "LLVM", "Idx": 51912, "Length": 15, "Cover_Rate": 0.4838709677419355} {"Template_token": ["", "return", "static_cast", "<", "const", "MCConstantExpr", "*", ">", "(", "Val", ")", "->"], "ground_truth": ["getValue", "(", ")", ";"], "File": "ECLairAsmParser", "Func": "getConstantImm", "Target": "ECLair", "Target_Clf": "MPU", "Compiler_Type": "LLVM", "Idx": 51913, "Length": 15, "Cover_Rate": 0.4838709677419355} {"Template_token": ["", "assert", "(", "Kind", "==", "Immediate", "&&", "", ")", ";", "return", "Imm", ".", "Val"], "ground_truth": [";"], "File": "ECLairAsmParser", "Func": "getImm", "Target": "ECLair", "Target_Clf": "MPU", "Compiler_Type": "LLVM", "Idx": 51914, "Length": 14, "Cover_Rate": 0.6086956521739131} {"Template_token": ["", "return", "getParser", "(", ")", ".", "getTok", "(", ")"], "ground_truth": [".", "getLoc", "(", ")", ";"], "File": "ECLairAsmParser", "Func": "getLoc", "Target": "ECLair", "Target_Clf": "MPU", "Compiler_Type": "LLVM", "Idx": 51915, "Length": 13, "Cover_Rate": 0.65} {"Template_token": ["", "SMLoc", "getLoc", "(", ")", "const", "{", "return", "getParser", "(", ")", ".", "getTok", "(", ")", ".", "getLoc"], "ground_truth": ["(", ")", ";"], "File": "ECLairAsmParser", "Func": "getLoc", "Target": "ECLair", "Target_Clf": "MPU", "Compiler_Type": "LLVM", "Idx": 51916, "Length": 19, "Cover_Rate": 0.95} {"Template_token": ["", "SMLoc", "getStartLoc", "(", ")", "const"], "ground_truth": ["override", "{"], "File": "ECLairAsmParser", "Func": "getStartLoc", "Target": "ECLair", "Target_Clf": "MPU", "Compiler_Type": "LLVM", "Idx": 51917, "Length": 7, "Cover_Rate": 0.6363636363636364} {"Template_token": ["", "SMLoc", "getStartLoc", "(", ")", "const"], "ground_truth": ["override", "{"], "File": "ECLairAsmParser", "Func": "getStartLoc", "Target": "ECLair", "Target_Clf": "MPU", "Compiler_Type": "LLVM", "Idx": 51918, "Length": 7, "Cover_Rate": 0.6363636363636364} {"Template_token": ["", "assert", "(", "Kind", "==", "Token", "&&", "", ")", ";", "return", "Tok"], "ground_truth": [";"], "File": "ECLairAsmParser", "Func": "getToken", "Target": "ECLair", "Target_Clf": "MPU", "Compiler_Type": "LLVM", "Idx": 51919, "Length": 12, "Cover_Rate": 0.631578947368421} {"Template_token": ["", "bool", "isConstantImm", "(", ")", "const", "{", "return", "isImm", "(", ")", "&&", "dyn_cast", "<", "MCConstantExpr", ">", "(", "getImm", "("], "ground_truth": [")", ")", ";"], "File": "ECLairAsmParser", "Func": "isConstantImm", "Target": "ECLair", "Target_Clf": "MPU", "Compiler_Type": "LLVM", "Idx": 51920, "Length": 21, "Cover_Rate": 0.9545454545454546} {"Template_token": ["", "bool", "isMem", "(", ")", "const"], "ground_truth": ["override", "{"], "File": "ECLairAsmParser", "Func": "isMem", "Target": "ECLair", "Target_Clf": "MPU", "Compiler_Type": "LLVM", "Idx": 51921, "Length": 7, "Cover_Rate": 0.6363636363636364} {"Template_token": ["", "return", "Kind", "=="], "ground_truth": ["Register", ";"], "File": "ECLairAsmParser", "Func": "isReg", "Target": "ECLair", "Target_Clf": "MPU", "Compiler_Type": "LLVM", "Idx": 51922, "Length": 5, "Cover_Rate": 0.38461538461538464} {"Template_token": ["", "bool", "isReg", "(", ")", "const", "override"], "ground_truth": ["{"], "File": "ECLairAsmParser", "Func": "isReg", "Target": "ECLair", "Target_Clf": "MPU", "Compiler_Type": "LLVM", "Idx": 51923, "Length": 7, "Cover_Rate": 0.5384615384615384} {"Template_token": ["", "bool", "isSImm16", "(", ")", "const", "{", "return", "(", "isConstantImm", "(", ")", "&&", "isInt", "<", "", ">", "(", "getConstantImm", "("], "ground_truth": [")", ")", ")", ";"], "File": "ECLairAsmParser", "Func": "isSImm16", "Target": "ECLair", "Target_Clf": "MPU", "Compiler_Type": "LLVM", "Idx": 51924, "Length": 23, "Cover_Rate": 0.9583333333333334} {"Template_token": ["", "bool", "isSImm16", "(", ")", "const", "{", "return", "(", "isConstantImm", "(", ")", "&&", "isInt", "<", "", ">", "("], "ground_truth": ["getConstantImm", "(", ")", ")", ")", ";"], "File": "ECLairAsmParser", "Func": "isSImm16", "Target": "ECLair", "Target_Clf": "MPU", "Compiler_Type": "LLVM", "Idx": 51925, "Length": 23, "Cover_Rate": 0.9583333333333334} {"Template_token": ["", "return", "(", "isConstantImm", "(", ")", "&&", "isInt", "<", "", ">", "(", "getConstantImm", "(", ")"], "ground_truth": [")", ")", ";"], "File": "ECLairAsmParser", "Func": "isSImm8", "Target": "ECLair", "Target_Clf": "MPU", "Compiler_Type": "LLVM", "Idx": 51926, "Length": 17, "Cover_Rate": 0.7083333333333334} {"Template_token": ["", "bool", "isToken", "(", ")", "const", "override", "{", "return", "Kind", "=="], "ground_truth": ["Token", ";"], "File": "ECLairAsmParser", "Func": "isToken", "Target": "ECLair", "Target_Clf": "MPU", "Compiler_Type": "LLVM", "Idx": 51927, "Length": 12, "Cover_Rate": 0.9230769230769231} {"Template_token": ["", "bool", "isToken", "(", ")", "const", "override", "{", "return", "Kind", "=="], "ground_truth": ["Token", ";"], "File": "ECLairAsmParser", "Func": "isToken", "Target": "ECLair", "Target_Clf": "MPU", "Compiler_Type": "LLVM", "Idx": 51928, "Length": 12, "Cover_Rate": 0.9230769230769231} {"Template_token": ["", "bool", "isUImm16", "(", ")", "const", "{", "return", "(", "isConstantImm", "(", ")", "&&", "isUInt", "<", "", ">", "(", "getConstantImm", "("], "ground_truth": [")", ")", ")", ";"], "File": "ECLairAsmParser", "Func": "isUImm16", "Target": "ECLair", "Target_Clf": "MPU", "Compiler_Type": "LLVM", "Idx": 51929, "Length": 23, "Cover_Rate": 0.9583333333333334} {"Template_token": ["", "return", "(", "isConstantImm", "(", ")", "&&", "isUInt", "<", ""], "ground_truth": [">", "(", "getConstantImm", "(", ")", ")", ")", ";"], "File": "ECLairAsmParser", "Func": "isUImm8", "Target": "ECLair", "Target_Clf": "MPU", "Compiler_Type": "LLVM", "Idx": 51930, "Length": 17, "Cover_Rate": 0.7083333333333334} {"Template_token": ["", "void", "LLVMInitializeAsmParser", "(", ")", "{", "RegisterMCAsmParser", "<", "AsmParser", ">", "X", "(", "getTheTarget", "(", ")"], "ground_truth": [")", ";"], "File": "ECLairAsmParser", "Func": "LLVMInitializeECLairAsmParser", "Target": "ECLair", "Target_Clf": "MPU", "Compiler_Type": "LLVM", "Idx": 51931, "Length": 16, "Cover_Rate": 0.9411764705882353} {"Template_token": ["", "RegisterMCAsmParser", "<", "AsmParser", ">", "X", "(", "getTheTarget", "("], "ground_truth": [")", ")", ";"], "File": "ECLairAsmParser", "Func": "LLVMInitializeECLairAsmParser", "Target": "ECLair", "Target_Clf": "MPU", "Compiler_Type": "LLVM", "Idx": 51932, "Length": 11, "Cover_Rate": 0.6470588235294118} {"Template_token": ["", "return", "Error", "(", "IDLoc", ",", "", ")", ";", "case", "Match_MnemonicFail", ":", "return", "Error", "(", "IDLoc", ",", "", ")", ";", "case", "Match_InvalidOperand", ":", "ErrorLoc", "=", "IDLoc", ";", "if", "(", "ErrorInfo", "!=", "~", "", ")", "{", "if", "(", "ErrorInfo", ">=", "Operands", ".", "size", "(", ")", ")", "return", "Error", "(", "ErrorLoc", ",", "", ")", ";", "ErrorLoc", "=", "(", "(", "Operand", "&", ")", "*", "Operands", "[", "ErrorInfo", "]", ")", ".", "getStartLoc", "(", ")", ";", "if", "(", "ErrorLoc", "==", "SMLoc", "("], "ground_truth": [")", ")", "ErrorLoc", "=", "IDLoc", ";"], "File": "ECLairAsmParser", "Func": "MatchAndEmitInstruction", "Target": "ECLair", "Target_Clf": "MPU", "Compiler_Type": "LLVM", "Idx": 51933, "Length": 82, "Cover_Rate": 0.34893617021276596} {"Template_token": ["", "bool", "AsmParser", "::", "ParseDirective", "(", "AsmToken", "DirectiveID", ")", "{", "return", "true"], "ground_truth": [";"], "File": "ECLairAsmParser", "Func": "ParseDirective", "Target": "ECLair", "Target_Clf": "MPU", "Compiler_Type": "LLVM", "Idx": 51934, "Length": 12, "Cover_Rate": 0.9230769230769231} {"Template_token": ["", "break", ";", "}", "const", "MCExpr", "*", "IdVal", ";", "SMLoc", "S", "=", "getLoc", "(", ")", ";", "if", "(", "getParser", "(", ")", ".", "parseExpression", "(", "IdVal", ")", ")", "return", "MatchOperand_ParseFail", ";", "SMLoc", "E", "=", "SMLoc", "::", "getFromPointer", "(", "S", ".", "getPointer", "(", ")", "-"], "ground_truth": ["", ")", ";"], "File": "ECLairAsmParser", "Func": "parseImmediate", "Target": "ECLair", "Target_Clf": "MPU", "Compiler_Type": "LLVM", "Idx": 51935, "Length": 45, "Cover_Rate": 0.3879310344827586} {"Template_token": ["", "case", "AsmToken", "::", "String", ":", "break", ";", "}", "const", "MCExpr", "*", "IdVal", ";", "SMLoc", "S", "=", "getLoc", "(", ")", ";", "if", "(", "getParser", "(", ")", ".", "parseExpression", "(", "IdVal", ")", ")", "return", "MatchOperand_ParseFail", ";", "SMLoc", "E", "=", "SMLoc", "::", "getFromPointer", "(", "S", ".", "getPointer", "(", ")", "-", "", ")", ";", "Operands", ".", "push_back", "(", "", "(", "IdVal", ",", "S", ",", "E", ")", ")", ";", "return"], "ground_truth": ["MatchOperand_Success", ";"], "File": "ECLairAsmParser", "Func": "parseImmediate", "Target": "ECLair", "Target_Clf": "MPU", "Compiler_Type": "LLVM", "Idx": 51936, "Length": 67, "Cover_Rate": 0.5775862068965517} {"Template_token": ["", "Operands", ".", "push_back", "(", "", "(", "Name", ",", "NameLoc", ")", ")", ";", "if", "(", "getLexer", "(", ")", ".", "is", "(", "AsmToken", "::", "EndOfStatement", ")", ")", "return", "false", ";", "if", "(", "parseOperand", "(", "Operands", ")", ")", "return", "true", ";", "while", "(", "getLexer", "(", ")", ".", "is", "(", "AsmToken", "::", "Comma", ")", ")", "{", "getLexer", "(", ")", ".", "Lex", "(", ")", ";", "if", "(", "parseOperand", "(", "Operands", ")", ")", "return", "true", ";", "}", "if", "(", "getLexer", "(", ")", ".", "isNot", "(", "AsmToken", "::", "EndOfStatement", ")", ")", "{", "SMLoc", "Loc", "=", "getLexer", "(", ")", ".", "getLoc", "(", ")", ";", "getParser", "(", ")", ".", "eatToEndOfStatement", "(", ")", ";", "return", "Error", "(", "Loc", ","], "ground_truth": ["", ")", ";"], "File": "ECLairAsmParser", "Func": "ParseInstruction", "Target": "ECLair", "Target_Clf": "MPU", "Compiler_Type": "LLVM", "Idx": 51937, "Length": 112, "Cover_Rate": 0.7619047619047619} {"Template_token": ["", "StringRef", "Name", "=", "getLexer", "(", ")", ".", "getTok", "(", ")", ".", "getIdentifier", "(", ")", ";", "unsigned", "RegNo", "=", "MatchRegisterName", "(", "Name", ")", ";", "if", "(", "RegNo", "==", "", ")", "{", "RegNo", "=", "MatchRegisterAltName", "(", "Name", ")", ";", "if", "(", "RegNo", "==", "", ")", "return", "MatchOperand_NoMatch", ";", "}", "getLexer", "(", ")", ".", "Lex", "("], "ground_truth": [")", ";"], "File": "ECLairAsmParser", "Func": "ParseRegister", "Target": "ECLair", "Target_Clf": "MPU", "Compiler_Type": "LLVM", "Idx": 51938, "Length": 55, "Cover_Rate": 0.4230769230769231} {"Template_token": ["", "return", "MatchOperand_NoMatch", ";", "case", "AsmToken", "::", "Identifier", ":", "StringRef", "Name", "=", "getLexer", "(", ")", ".", "getTok", "(", ")", ".", "getIdentifier", "(", ")", ";", "unsigned", "RegNo", "=", "MatchRegisterName", "(", "Name", ")", ";", "if", "(", "RegNo", "==", "", ")", "{", "RegNo", "=", "MatchRegisterAltName", "(", "Name", ")", ";", "if", "(", "RegNo", "==", "", ")", "return", "MatchOperand_NoMatch", ";", "}", "getLexer", "(", ")", ".", "Lex", "(", ")", ";", "Operands", ".", "push_back", "(", "", "(", "RegNo", ","], "ground_truth": ["S", ",", "E", ")", ")", ";"], "File": "ECLairAsmParser", "Func": "ParseRegister", "Target": "ECLair", "Target_Clf": "MPU", "Compiler_Type": "LLVM", "Idx": 51939, "Length": 77, "Cover_Rate": 0.5923076923076923} {"Template_token": ["", "static", "MCDisassembler", "*", "createDisassembler", "(", "const", "Target", "&", "T", ",", "const", "MCSubtargetInfo", "&", "STI"], "ground_truth": [",", "MCContext", "&", "Ctx", ")", "{"], "File": "ECLairDisassembler", "Func": "createECLairDisassembler", "Target": "ECLair", "Target_Clf": "MPU", "Compiler_Type": "LLVM", "Idx": 51940, "Length": 20, "Cover_Rate": 0.6666666666666666} {"Template_token": ["", "static", "MCDisassembler", "*", "createDisassembler", "(", "const", "Target", "&", "T", ",", "const", "MCSubtargetInfo", "&", "STI", ",", "MCContext", "&", "Ctx", ")", "{", "return", "new", "Disassembler", "(", "STI"], "ground_truth": [",", "Ctx", ")", ";"], "File": "ECLairDisassembler", "Func": "createECLairDisassembler", "Target": "ECLair", "Target_Clf": "MPU", "Compiler_Type": "LLVM", "Idx": 51941, "Length": 29, "Cover_Rate": 0.9666666666666667} {"Template_token": ["", "unsigned", "Reg", "=", "FullWidthDecoderTable", "[", "RegNo", "]", ";", "Inst", ".", "addOperand", "(", "MCOperand", "::"], "ground_truth": ["createReg", "(", "Reg", ")", ")", ";"], "File": "ECLairDisassembler", "Func": "DecodeFullWidthRegisterClass", "Target": "ECLair", "Target_Clf": "MPU", "Compiler_Type": "LLVM", "Idx": 51942, "Length": 20, "Cover_Rate": 0.3333333333333333} {"Template_token": ["", "unsigned", "Reg", "=", "HalfWidthLowDecoderTable", "[", "RegNo", "]", ";", "Inst", ".", "addOperand", "(", "MCOperand", "::", "createReg", "("], "ground_truth": ["Reg", ")", ")", ";"], "File": "ECLairDisassembler", "Func": "DecodeHalfWidthLowRegisterClass", "Target": "ECLair", "Target_Clf": "MPU", "Compiler_Type": "LLVM", "Idx": 51943, "Length": 20, "Cover_Rate": 0.3333333333333333} {"Template_token": ["", "static", "DecodeStatus", "decodeSImmOperand", "(", "MCInst", "&", "Inst", ",", "uint64_t", "Imm", ",", "int64_t", "Address", ",", "const", "void", "*", "Decoder", ")", "{", "assert", "(", "isUInt", "<", "N", ">", "(", "Imm", ")"], "ground_truth": ["&&", "", ")", ";"], "File": "ECLairDisassembler", "Func": "decodeSImmOperand", "Target": "ECLair", "Target_Clf": "MPU", "Compiler_Type": "LLVM", "Idx": 51944, "Length": 33, "Cover_Rate": 0.5789473684210527} {"Template_token": ["", "Inst", ".", "addOperand", "(", "MCOperand", "::", "createImm", "(", "SignExtend64", "<", "N", ">", "(", "Imm", "<<", "", ")", ")", ")", ";", "return", "MCDisassembler", "::"], "ground_truth": ["Success", ";"], "File": "ECLairDisassembler", "Func": "decodeSImmOperandAndLsl1", "Target": "ECLair", "Target_Clf": "MPU", "Compiler_Type": "LLVM", "Idx": 51945, "Length": 25, "Cover_Rate": 0.423728813559322} {"Template_token": ["", "static", "DecodeStatus", "decodeUImmOperand", "(", "MCInst", "&", "Inst", ",", "uint64_t", "Imm", ",", "int64_t", "Address", ",", "const"], "ground_truth": ["void", "*", "Decoder", ")", "{"], "File": "ECLairDisassembler", "Func": "decodeUImmOperand", "Target": "ECLair", "Target_Clf": "MPU", "Compiler_Type": "LLVM", "Idx": 51946, "Length": 20, "Cover_Rate": 0.39215686274509803} {"Template_token": ["", "TargetRegistry", "::", "RegisterMCDisassembler", "(", "getTheTarget"], "ground_truth": ["(", ")", ",", "createDisassembler", ")", ";"], "File": "ECLairDisassembler", "Func": "LLVMInitializeECLairDisassembler", "Target": "ECLair", "Target_Clf": "MPU", "Compiler_Type": "LLVM", "Idx": 51947, "Length": 11, "Cover_Rate": 0.6470588235294118} {"Template_token": ["", "std", "::", "unique_ptr", "<", "MCObjectTargetWriter", ">", "llvm"], "ground_truth": ["::", "createELFObjectWriter", "(", "uint8_t", "OSABI", ")", "{"], "File": "ECLairELFObjectWriter", "Func": "createECLairELFObjectWriter", "Target": "ECLair", "Target_Clf": "MPU", "Compiler_Type": "LLVM", "Idx": 51948, "Length": 14, "Cover_Rate": 0.5384615384615384} {"Template_token": ["", "return", "llvm", "::", "make_unique", "<", "ELFObjectWriter"], "ground_truth": [">", "(", "OSABI", ")", ";"], "File": "ECLairELFObjectWriter", "Func": "createECLairELFObjectWriter", "Target": "ECLair", "Target_Clf": "MPU", "Compiler_Type": "LLVM", "Idx": 51949, "Length": 11, "Cover_Rate": 0.4230769230769231} {"Template_token": ["", "unsigned", "ELFObjectWriter", "::", "getRelocType", "(", "MCContext", "&", "Ctx", ",", "const", "MCValue", "&", "Target", ",", "const"], "ground_truth": ["MCFixup", "&", "Fixup", ",", "bool", "IsPCRel", ")", "const", "{"], "File": "ECLairELFObjectWriter", "Func": "getRelocType", "Target": "ECLair", "Target_Clf": "MPU", "Compiler_Type": "LLVM", "Idx": 51950, "Length": 24, "Cover_Rate": 0.8} {"Template_token": ["", "void", "InstPrinter", "::", "printInst", "(", "const", "MCInst", "*", "MI", ",", "raw_ostream", "&", "O", ",", "StringRef", "Annot", ",", "const", "MCSubtargetInfo", "&", "STI", ")", "{", "printInstruction", "(", "MI", ","], "ground_truth": ["O", ")", ";"], "File": "ECLairInstPrinter", "Func": "printInst", "Target": "ECLair", "Target_Clf": "MPU", "Compiler_Type": "LLVM", "Idx": 51951, "Length": 30, "Cover_Rate": 0.7894736842105263} {"Template_token": ["", "assert", "(", "(", "Modifier", "==", "", "||", "Modifier", "[", "", "]", "==", "", ")", "&&", "", ")", ";", "const", "MCOperand", "&", "MO", "=", "MI", "->", "getOperand", "(", "OpNo", ")", ";", "if", "(", "MO", ".", "isReg", "(", ")", ")", "{", "printRegName", "(", "O", ",", "MO", ".", "getReg", "(", ")", ")", ";", "return", ";", "}", "if", "(", "MO", ".", "isImm", "(", ")"], "ground_truth": [")", "{"], "File": "ECLairInstPrinter", "Func": "printOperand", "Target": "ECLair", "Target_Clf": "MPU", "Compiler_Type": "LLVM", "Idx": 51952, "Length": 62, "Cover_Rate": 0.496} {"Template_token": ["", "MCAsmInfo", "::", "MCAsmInfo", "(", "const"], "ground_truth": ["Triple", "&", "TT", ")", "{"], "File": "ECLairMCAsmInfo", "Func": "ECLairMCAsmInfo", "Target": "ECLair", "Target_Clf": "MPU", "Compiler_Type": "LLVM", "Idx": 51953, "Length": 10, "Cover_Rate": 0.3448275862068966} {"Template_token": ["", "CommentString", "=", "", ";", "AlignmentIsInBytes", "=", "false", ";", "SupportsDebugInformation", "=", "true"], "ground_truth": [";"], "File": "ECLairMCAsmInfo", "Func": "ECLairMCAsmInfo", "Target": "ECLair", "Target_Clf": "MPU", "Compiler_Type": "LLVM", "Idx": 51954, "Length": 12, "Cover_Rate": 0.41379310344827586} {"Template_token": ["", "MCCodeEmitter", "*", "llvm", "::", "createMCCodeEmitter", "(", "const", "MCInstrInfo", "&", "MCII", ",", "const"], "ground_truth": ["MCRegisterInfo", "&", "MRI", ",", "MCContext", "&", "Ctx", ")", "{"], "File": "ECLairMCCodeEmitter", "Func": "createECLairMCCodeEmitter", "Target": "ECLair", "Target_Clf": "MPU", "Compiler_Type": "LLVM", "Idx": 51955, "Length": 21, "Cover_Rate": 0.6774193548387096} {"Template_token": ["", "unsigned", "Size", "=", "Desc", ".", "getSize", "(", ")", ";", "switch", "(", "Size", ")", "{", "default", ":", "llvm_unreachable", "(", "", ")", ";", "case", "", ":", "{", "uint8_t", "ByteBits", "=", "getBinaryCodeForInstr", "(", "MI", ",", "Fixups", ",", "STI", ")", ";", "", "::", "write", "(", "OS", ",", "ByteBits", ",", "", ")", ";", "break", ";", "}", "case", "", ":", "{", "uint16_t", "WordBits", "=", "getBinaryCodeForInstr", "(", "MI", ",", "Fixups", ",", "STI", ")", ";", "", "::", "write", "(", "OS", ",", "WordBits", ",", "", ")", ";", "break", ";", "}", "case", "", ":", "{", "uint32_t", "ByteWordBits", "=", "getBinaryCodeForInstr", "(", "MI", ",", "Fixups", ",", "STI", ")", ";", "uint8_t", "OpcodeBits", "=", "(", "ByteWordBits", ">>", "", ")", "&", "", ";", "uint16_t", "ArgBits", "=", "ByteWordBits", "&", "", ";", "", "::", "write", "(", "OS", ","], "ground_truth": ["OpcodeBits", ",", "", ")", ";"], "File": "ECLairMCCodeEmitter", "Func": "encodeInstruction", "Target": "ECLair", "Target_Clf": "MPU", "Compiler_Type": "LLVM", "Idx": 51956, "Length": 126, "Cover_Rate": 0.6237623762376238} {"Template_token": ["", "const", "MCInstrDesc", "&", "Desc", "=", "MCII", ".", "get", "(", "MI", ".", "getOpcode", "(", ")", ")", ";", "unsigned", "Size", "=", "Desc", ".", "getSize", "(", ")", ";", "switch", "(", "Size", ")", "{", "default", ":", "llvm_unreachable", "(", "", ")", ";", "case", "", ":", "{", "uint8_t", "ByteBits", "=", "getBinaryCodeForInstr", "(", "MI", ",", "Fixups", ",", "STI", ")", ";", "", "::", "write", "(", "OS", ",", "ByteBits", ",", "", ")", ";", "break", ";", "}", "case", "", ":", "{", "uint16_t", "WordBits", "=", "getBinaryCodeForInstr", "(", "MI", ",", "Fixups", ",", "STI"], "ground_truth": [")", ";"], "File": "ECLairMCCodeEmitter", "Func": "encodeInstruction", "Target": "ECLair", "Target_Clf": "MPU", "Compiler_Type": "LLVM", "Idx": 51957, "Length": 83, "Cover_Rate": 0.41089108910891087} {"Template_token": ["", "unsigned", "MCCodeEmitter", "::", "getImmOpValue", "(", "const", "MCInst", "&", "MI", ",", "unsigned", "OpNo", ",", "SmallVectorImpl", "<", "MCFixup", ">", "&", "Fixups", ","], "ground_truth": ["const", "MCSubtargetInfo", "&", "STI", ")", "const", "{"], "File": "ECLairMCCodeEmitter", "Func": "getImmOpValue", "Target": "ECLair", "Target_Clf": "MPU", "Compiler_Type": "LLVM", "Idx": 51958, "Length": 27, "Cover_Rate": 0.42857142857142855} {"Template_token": ["", "if", "(", "MO", ".", "isReg", "(", ")", ")", "return", "Ctx", ".", "getRegisterInfo", "(", ")", "->", "getEncodingValue", "(", "MO", ".", "getReg", "(", ")", ")", ";", "if", "(", "MO", ".", "isImm", "(", ")", ")", "return", "static_cast", "<", "unsigned", ">", "(", "MO", ".", "getImm", "(", ")", ")", ";", "llvm_unreachable", "(", "", ")", ";", "return"], "ground_truth": ["", ";"], "File": "ECLairMCCodeEmitter", "Func": "getMachineOpValue", "Target": "ECLair", "Target_Clf": "MPU", "Compiler_Type": "LLVM", "Idx": 51959, "Length": 53, "Cover_Rate": 0.6385542168674698} {"Template_token": ["", "static", "MCAsmInfo", "*", "createMCAsmInfo", "(", "const", "MCRegisterInfo", "&", "MRI"], "ground_truth": [",", "const", "Triple", "&", "TT", ")", "{"], "File": "ECLairMCTargetDesc", "Func": "createECLairMCAsmInfo", "Target": "ECLair", "Target_Clf": "MPU", "Compiler_Type": "LLVM", "Idx": 51960, "Length": 16, "Cover_Rate": 0.6666666666666666} {"Template_token": ["", "InitMCRegisterInfo", "(", "X", ",", "", ")", ";", "return"], "ground_truth": ["X", ";"], "File": "ECLairMCTargetDesc", "Func": "createECLairMCRegisterInfo", "Target": "ECLair", "Target_Clf": "MPU", "Compiler_Type": "LLVM", "Idx": 51961, "Length": 10, "Cover_Rate": 0.30303030303030304} {"Template_token": ["", "static", "MCSubtargetInfo", "*", "createMCSubtargetInfo", "(", "const", "Triple", "&", "TT", ",", "StringRef", "CPU", ",", "StringRef", "FS", ")", "{", "std", "::", "string", "CPUName", "=", "CPU"], "ground_truth": [";"], "File": "ECLairMCTargetDesc", "Func": "createECLairMCSubtargetInfo", "Target": "ECLair", "Target_Clf": "MPU", "Compiler_Type": "LLVM", "Idx": 51962, "Length": 24, "Cover_Rate": 0.5106382978723404} {"Template_token": ["", "static", "Target", "TheTarget", ";", "return"], "ground_truth": ["TheTarget", ";"], "File": "ECLairTargetInfo", "Func": "getTheECLairTarget", "Target": "ECLair", "Target_Clf": "MPU", "Compiler_Type": "LLVM", "Idx": 51963, "Length": 7, "Cover_Rate": 0.5} {"Template_token": ["", "Target", "&", "getTheTarget", "(", ")", "{", "static", "Target"], "ground_truth": ["TheTarget", ";"], "File": "ECLairTargetInfo", "Func": "getTheECLairTarget", "Target": "ECLair", "Target_Clf": "MPU", "Compiler_Type": "LLVM", "Idx": 51964, "Length": 10, "Cover_Rate": 0.7142857142857143} {"Template_token": ["", "RegisterTarget", "<", "Triple", "::", "eclair", ">", "X", "(", "getTheTarget", "(", ")", ",", "", ",", ""], "ground_truth": [",", "", ")", ";"], "File": "ECLairTargetInfo", "Func": "LLVMInitializeECLairTargetInfo", "Target": "ECLair", "Target_Clf": "MPU", "Compiler_Type": "LLVM", "Idx": 51965, "Length": 19, "Cover_Rate": 0.76} {"Template_token": ["", "RegisterTarget", "<", "Triple", "::", "eclair", ">", "X", "(", "getTheTarget", "(", ")", ",", "", ","], "ground_truth": ["", ",", "", ")", ";"], "File": "ECLairTargetInfo", "Func": "LLVMInitializeECLairTargetInfo", "Target": "ECLair", "Target_Clf": "MPU", "Compiler_Type": "LLVM", "Idx": 51966, "Length": 19, "Cover_Rate": 0.76} {"Template_token": ["", "Ret", "+=", "", ";", "Ret", "+=", "", ";", "Ret", "+=", "", ";", "Ret", "+=", "", ";", "Ret", "+=", "", ";", "return"], "ground_truth": ["Ret", ";"], "File": "ECLairTargetMachine", "Func": "computeDataLayout", "Target": "ECLair", "Target_Clf": "MPU", "Compiler_Type": "LLVM", "Idx": 51967, "Length": 23, "Cover_Rate": 0.48936170212765956} {"Template_token": ["", "TargetPassConfig", "*", "TargetMachine", "::", "createPassConfig", "(", "PassManagerBase"], "ground_truth": ["&", "PM", ")", "{"], "File": "ECLairTargetMachine", "Func": "createPassConfig", "Target": "ECLair", "Target_Clf": "MPU", "Compiler_Type": "LLVM", "Idx": 51968, "Length": 11, "Cover_Rate": 0.5} {"Template_token": ["", "TargetPassConfig", "*", "TargetMachine", "::", "createPassConfig", "(", "PassManagerBase", "&", "PM", ")", "{", "return", "new", "TargetPassConfig", "(", "*"], "ground_truth": ["this", ",", "PM", ")", ";"], "File": "ECLairTargetMachine", "Func": "createPassConfig", "Target": "ECLair", "Target_Clf": "MPU", "Compiler_Type": "LLVM", "Idx": 51969, "Length": 21, "Cover_Rate": 0.9545454545454546} {"Template_token": ["", "TargetMachine", "::", "TargetMachine", "(", "const", "Target", "&", "T", ",", "const", "Triple", "&", "TT", ",", "StringRef", "CPU", ",", "StringRef", "FS", ",", "const", "TargetOptions", "&", "Options", ",", "Optional", "<", "Reloc", "::", "Model", ">", "RM", ",", "Optional", "<", "CodeModel", "::", "Model", ">", "CM", ",", "CodeGenOpt", "::", "Level", "OL", ",", "bool", "JIT", ")", ":", "LLVMTargetMachine", "(", "T", ",", "computeDataLayout", "(", "TT", ")", ",", "TT", ",", "CPU", ",", "FS", ",", "Options", ",", "getEffectiveRelocModel", "(", "TT", ",", "RM", ")", ",", "getEffectiveCodeModel", "(", "CM", ",", "CodeModel", "::", "Small", ")", ",", "OL", ")", ",", "TLOF", "(", "make_unique", "<", "TargetLoweringObjectFileELF", ">", "(", ")", ")", "{", "initAsmInfo", "("], "ground_truth": [")", ";"], "File": "ECLairTargetMachine", "Func": "ECLairTargetMachine", "Target": "ECLair", "Target_Clf": "MPU", "Compiler_Type": "LLVM", "Idx": 51970, "Length": 100, "Cover_Rate": 0.9900990099009901} {"Template_token": ["", "return", "TLOF", ".", "get", "(", ")"], "ground_truth": [";"], "File": "ECLairTargetMachine", "Func": "getObjFileLowering", "Target": "ECLair", "Target_Clf": "MPU", "Compiler_Type": "LLVM", "Idx": 51971, "Length": 7, "Cover_Rate": 0.4375}