{"Template_token": ["", "return", "", ";", "case", "XOR", ":", "return", "", ";", "case", "SHL", ":", "return", "", ";", "case", "SRL", ":", "return", "", ";", "case", "SRA", ":", "return", "", ";", "default", ":"], "ground_truth": ["llvm_unreachable", "(", "", ")", ";"], "File": "DLXAluCode", "Func": "DLXAluCodeToString", "Target": "DLX", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 87891, "Length": 34, "Cover_Rate": 0.38636363636363635} {"Template_token": ["", "return", "", ";", "case", "SUBB", ":", "return", "", ";", "case", "AND", ":", "return", "", ";", "case", "OR", ":", "return", "", ";", "case", "XOR", ":", "return", "", ";", "case", "SHL", ":", "return", "", ";", "case", "SRL", ":"], "ground_truth": ["return", "", ";"], "File": "DLXAluCode", "Func": "DLXAluCodeToString", "Target": "DLX", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 87892, "Length": 39, "Cover_Rate": 0.4431818181818182} {"Template_token": ["", "unsigned", "const", "OP_ENCODING_MASK", "=", "", ";"], "ground_truth": ["return", "AluOp", "&", "OP_ENCODING_MASK", ";"], "File": "DLXAluCode", "Func": "encodeDLXAluCode", "Target": "DLX", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 87893, "Length": 11, "Cover_Rate": 0.5238095238095238} {"Template_token": ["", "unsigned", "const", "ALU_MASK", "=", "", ";", "return", "AluOp", "&", "ALU_MASK", ";"], "ground_truth": ["}"], "File": "DLXAluCode", "Func": "getAluOp", "Target": "DLX", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 87894, "Length": 12, "Cover_Rate": 0.5714285714285714} {"Template_token": ["", "inline", "static", "AluCode", "isdToAluCode", "(", "", "Node_type", ")", "{", "switch", "(", "Node_type", ")", "{", "case", "", ":", "return", "AluCode", "::", "ADD", ";", "case", "", ":", "return", "AluCode", "::", "ADDC", ";", "case", "", ":", "return", "AluCode", "::", "SUB", ";", "case", "", ":", "return", "AluCode", "::", "SUBB", ";", "case", "", ":", "return", "AluCode", "::", "AND", ";", "case", "", ":", "return", "AluCode", "::", "OR", ";", "case", "", ":", "return", "AluCode", "::", "XOR", ";", "case", "", ":", "return", "AluCode", "::", "SHL", ";", "case", "", ":", "return", "AluCode", "::", "SRL", ";", "case", "", ":"], "ground_truth": ["return", "AluCode", "::", "SRA", ";"], "File": "DLXAluCode", "Func": "isdToDLXAluCode", "Target": "DLX", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 87895, "Length": 94, "Cover_Rate": 0.752} {"Template_token": ["", "return", "AluOp", "&", "_PRE_OP", ";"], "ground_truth": ["}"], "File": "DLXAluCode", "Func": "isPreOp", "Target": "DLX", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 87898, "Length": 6, "Cover_Rate": 0.4} {"Template_token": ["", "return", "AluOp", "&", "_PRE_OP", ";"], "ground_truth": ["}"], "File": "DLXAluCode", "Func": "isPreOp", "Target": "DLX", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 87899, "Length": 6, "Cover_Rate": 0.4} {"Template_token": ["", "inline", "static", "unsigned", "makePostOp", "(", "unsigned", "AluOp", ")", "{", "assert", "(", "!", "isPreOp", "(", "AluOp", ")", "&&", "", ")", ";"], "ground_truth": ["return", "AluOp", "|", "_POST_OP", ";"], "File": "DLXAluCode", "Func": "makePostOp", "Target": "DLX", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 87900, "Length": 25, "Cover_Rate": 0.9615384615384616} {"Template_token": ["", "assert", "(", "!", "isPreOp", "(", "AluOp", ")", "&&", "", ")", ";"], "ground_truth": ["return", "AluOp", "|", "_POST_OP", ";"], "File": "DLXAluCode", "Func": "makePostOp", "Target": "DLX", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 87901, "Length": 16, "Cover_Rate": 0.6153846153846154} {"Template_token": ["", "return", "isPreOp", "(", "AluOp", ")", "|", "isPostOp", "(", "AluOp", ")", ";"], "ground_truth": ["}"], "File": "DLXAluCode", "Func": "modifiesOp", "Target": "DLX", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 87903, "Length": 12, "Cover_Rate": 0.5714285714285714} {"Template_token": ["", "inline", "static", "bool", "modifiesOp", "(", "unsigned", "AluOp", ")", "{", "return", "isPreOp", "(", "AluOp", ")", "|", "isPostOp", "(", "AluOp", ")", ";"], "ground_truth": ["}"], "File": "DLXAluCode", "Func": "modifiesOp", "Target": "DLX", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 87904, "Length": 21, "Cover_Rate": 1.0} {"Template_token": ["", "inline", "static", "AluCode", "stringToAluCode", "(", "StringRef", "S", ")", "{", "return", "StringSwitch", "<", "AluCode", ">", "(", "S", ")", ".", "Case", "(", "", ",", "ADD", ")", ".", "Case", "(", "", ",", "ADDC", ")", ".", "Case", "(", "", ",", "SUB", ")", ".", "Case", "(", "", ",", "SUBB", ")", ".", "Case", "(", "", ",", "AND", ")", ".", "Case", "(", "", ",", "OR", ")", ".", "Case", "(", "", ",", "XOR", ")", ".", "Case", "(", "", ",", "SHL", ")", ".", "Case", "(", "", ",", "SRL", ")", ".", "Case", "(", "", ",", "SRA", ")", ".", "Default", "(", "UNKNOWN", ")", ";"], "ground_truth": ["}"], "File": "DLXAluCode", "Func": "stringToDLXAluCode", "Target": "DLX", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 87905, "Length": 94, "Cover_Rate": 1.0} {"Template_token": ["", "MCFixupKind", "Kind", "=", "Fixup", ".", "getKind", "(", ")", ";", "Value", "=", "adjustFixupValue", "(", "static_cast", "<", "unsigned", ">", "(", "Kind", ")", ",", "Value", ")", ";", "if", "(", "!", "Value", ")", "return", ";", "unsigned", "Offset", "=", "Fixup", ".", "getOffset", "(", ")", ";", "unsigned", "NumBytes", "=", "(", "getFixupKindInfo", "(", "Kind", ")", ".", "TargetSize", "+", "", ")", "/", "", ";", "unsigned", "FullSize", "=", "", ";", "uint64_t", "CurVal", "=", "", ";", "for", "(", "unsigned", "i", "=", "", ";", "i", "!=", "NumBytes", ";", "++", "i", ")", "{", "unsigned", "Idx", "=", "(", "FullSize", "-", "", "-", "i", ")", ";", "CurVal", "|=", "static_cast", "<", "uint64_t", ">", "(", "static_cast", "<", "uint8_t", ">", "(", "Data", "[", "Offset", "+", "Idx", "]", ")", ")", "<<", "(", "i", "*", "", ")", ";", "}", "uint64_t", "Mask", "=", "(", "static_cast", "<", "uint64_t", ">", "(", "-", "", ")", ">>", "(", "", "-", "getFixupKindInfo", "(", "Kind", ")", ".", "TargetSize", ")", ")", ";", "CurVal", "|=", "Value", "&", "Mask", ";"], "ground_truth": ["for", "(", "unsigned", "i", "=", "", ";", "i", "!=", "NumBytes", ";", "++", "i", ")", "{"], "File": "DLXAsmBackend", "Func": "applyFixup", "Target": "DLX", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 87907, "Length": 166, "Cover_Rate": 0.6887966804979253} {"Template_token": ["", "MCAsmBackend", "*", "llvm", "::", "createAsmBackend", "(", "const", "Target", "&", "T", ",", "const", "MCSubtargetInfo", "&", "STI", ",", "const", "MCRegisterInfo", "&", ",", "const", "MCTargetOptions", "&", ")", "{", "const", "Triple", "&", "TT", "=", "STI", ".", "getTargetTriple", "(", ")", ";"], "ground_truth": ["if", "(", "!", "TT", ".", "isOSBinFormatELF", "(", ")", ")", "llvm_unreachable", "(", "", ")", ";"], "File": "DLXAsmBackend", "Func": "createDLXAsmBackend", "Target": "DLX", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 87908, "Length": 50, "Cover_Rate": 0.78125} {"Template_token": ["", "if", "(", "!", "TT", ".", "isOSBinFormatELF", "(", ")", ")", "llvm_unreachable", "(", "", ")", ";", "return", "new", "AsmBackend", "(", "T", ",", "TT", ".", "getOS", "(", ")", ")", ";"], "ground_truth": ["}"], "File": "DLXAsmBackend", "Func": "createDLXAsmBackend", "Target": "DLX", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 87909, "Length": 28, "Cover_Rate": 0.4375} {"Template_token": ["", "std", "::", "unique_ptr", "<", "MCObjectTargetWriter", ">", "AsmBackend", "::", "createObjectTargetWriter", "(", ")", "const", "{"], "ground_truth": ["return", "createELFObjectWriter", "(", "MCELFObjectTargetWriter", "::", "getOSABI", "(", "OSType", ")", ")", ";"], "File": "DLXAsmBackend", "Func": "createObjectTargetWriter", "Target": "DLX", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 87911, "Length": 24, "Cover_Rate": 0.96} {"Template_token": ["", "AsmBackend", "(", "const", "Target", "&", "T", ",", "Triple", "::", "OSType", "OST", ")", ":", "MCAsmBackend", "(", "", ")", ",", "OSType", "(", "OST", ")", "{"], "ground_truth": ["}"], "File": "DLXAsmBackend", "Func": "DLXAsmBackend", "Target": "DLX", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 87912, "Length": 24, "Cover_Rate": 0.9230769230769231} {"Template_token": ["", "AsmBackend", "(", "const", "Target", "&", "T", ",", "Triple", "::", "OSType", "OST", ")", ":", "MCAsmBackend", "(", "", ")", ",", "OSType", "(", "OST", ")", "{"], "ground_truth": ["}"], "File": "DLXAsmBackend", "Func": "DLXAsmBackend", "Target": "DLX", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 87913, "Length": 24, "Cover_Rate": 0.9230769230769231} {"Template_token": ["", "bool", "fixupNeedsRelaxation", "(", "const", "MCFixup", "&", ",", "uint64_t", ",", "const", "MCRelaxableFragment", "*", ",", "const", "MCAsmLayout", "&", ")", "const", "override", "{", "return", "false", ";"], "ground_truth": ["}"], "File": "DLXAsmBackend", "Func": "fixupNeedsRelaxation", "Target": "DLX", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 87915, "Length": 24, "Cover_Rate": 1.0} {"Template_token": ["", "{", "", ",", "", ",", "", ",", "", "}", ",", "{", "", ",", "", ",", "", ",", "", "}", ",", "{", "", ",", "", ",", "", ",", "", "}", ",", "{", "", ",", "", ",", "", ",", "", "}", ",", "{", "", ",", "", ",", "", ",", "", "}", ",", "{", "", ",", "", ",", "", ",", "", "}", ",", "{", "", ",", "", ",", "", ",", "", "}", "}", ";", "if", "(", "Kind", "<", "FirstTargetFixupKind", ")", "return", "MCAsmBackend", "::", "getFixupKindInfo", "(", "Kind", ")", ";"], "ground_truth": ["assert", "(", "unsigned", "(", "Kind", "-", "FirstTargetFixupKind", ")", "<", "getNumFixupKinds", "(", ")", "&&", "", ")", ";"], "File": "DLXAsmBackend", "Func": "getFixupKindInfo", "Target": "DLX", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 87916, "Length": 101, "Cover_Rate": 0.7593984962406015} {"Template_token": ["", "return", "", ";"], "ground_truth": ["}"], "File": "DLXAsmBackend", "Func": "getNumFixupKinds", "Target": "DLX", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 87917, "Length": 4, "Cover_Rate": 0.3076923076923077} {"Template_token": ["", "bool", "mayNeedRelaxation", "(", "const", "MCInst", "&", ",", "const", "MCSubtargetInfo", "&", "STI", ")", "const", "override", "{"], "ground_truth": ["return", "false", ";"], "File": "DLXAsmBackend", "Func": "mayNeedRelaxation", "Target": "DLX", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 87919, "Length": 18, "Cover_Rate": 0.9473684210526315} {"Template_token": ["", "void", "relaxInstruction", "(", "const", "MCInst", "&", ",", "const", "MCSubtargetInfo", "&", ",", "MCInst", "&", ")", "const", "override", "{"], "ground_truth": ["}"], "File": "DLXAsmBackend", "Func": "relaxInstruction", "Target": "DLX", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 87920, "Length": 18, "Cover_Rate": 1.0} {"Template_token": ["", "void", "relaxInstruction", "(", "const", "MCInst", "&", ",", "const", "MCSubtargetInfo", "&", ",", "MCInst", "&", ")", "const", "override", "{"], "ground_truth": ["}"], "File": "DLXAsmBackend", "Func": "relaxInstruction", "Target": "DLX", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 87921, "Length": 18, "Cover_Rate": 1.0} {"Template_token": ["", "void", "addBrTargetOperands", "(", "MCInst", "&", "Inst", ",", "unsigned", "N", ")", "const", "{", "assert", "(", "N", "==", "", "&&", "", ")", ";", "addExpr", "(", "Inst", ",", "getImm", "(", ")", ")", ";"], "ground_truth": ["}"], "File": "DLXAsmParser", "Func": "addBrTargetOperands", "Target": "DLX", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 87924, "Length": 31, "Cover_Rate": 1.0} {"Template_token": ["", "void", "addBrTargetOperands", "(", "MCInst", "&", "Inst", ",", "unsigned", "N", ")", "const", "{", "assert", "(", "N", "==", "", "&&", "", ")", ";", "addExpr", "(", "Inst", ",", "getImm", "(", ")", ")", ";"], "ground_truth": ["}"], "File": "DLXAsmParser", "Func": "addBrTargetOperands", "Target": "DLX", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 87925, "Length": 31, "Cover_Rate": 1.0} {"Template_token": ["", "assert", "(", "N", "==", "", "&&", "", ")", ";", "addExpr", "(", "Inst", ",", "getImm", "(", ")", ")", ";"], "ground_truth": ["}"], "File": "DLXAsmParser", "Func": "addCallTargetOperands", "Target": "DLX", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 87926, "Length": 19, "Cover_Rate": 0.6129032258064516} {"Template_token": ["", "void", "addCallTargetOperands", "(", "MCInst", "&", "Inst", ",", "unsigned", "N", ")", "const", "{", "assert", "(", "N", "==", "", "&&", "", ")", ";"], "ground_truth": ["addExpr", "(", "Inst", ",", "getImm", "(", ")", ")", ";"], "File": "DLXAsmParser", "Func": "addCallTargetOperands", "Target": "DLX", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 87927, "Length": 30, "Cover_Rate": 0.967741935483871} {"Template_token": ["", "addExpr", "(", "Inst", ",", "getImm", "(", ")", ")", ";"], "ground_truth": ["}"], "File": "DLXAsmParser", "Func": "addCondCodeOperands", "Target": "DLX", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 87928, "Length": 10, "Cover_Rate": 0.3225806451612903} {"Template_token": ["", "void", "addCondCodeOperands", "(", "MCInst", "&", "Inst", ",", "unsigned", "N", ")", "const", "{", "assert", "(", "N", "==", "", "&&", "", ")", ";"], "ground_truth": ["addExpr", "(", "Inst", ",", "getImm", "(", ")", ")", ";"], "File": "DLXAsmParser", "Func": "addCondCodeOperands", "Target": "DLX", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 87929, "Length": 30, "Cover_Rate": 0.967741935483871} {"Template_token": ["", "else", "if", "(", "const", "MCConstantExpr", "*", "ConstExpr", "=", "dyn_cast", "<", "MCConstantExpr", ">", "(", "Expr", ")", ")", "Inst", ".", "addOperand", "(", "MCOperand", "::", "createImm", "(", "static_cast", "<", "int32_t", ">", "(", "ConstExpr", "->", "getValue", "(", ")", ")", ")", ")", ";"], "ground_truth": ["else", "Inst", ".", "addOperand", "(", "MCOperand", "::", "createExpr", "(", "Expr", ")", ")", ";"], "File": "DLXAsmParser", "Func": "addExpr", "Target": "DLX", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 87930, "Length": 51, "Cover_Rate": 0.6071428571428571} {"Template_token": ["", "if", "(", "Expr", "==", "nullptr", ")", "Inst", ".", "addOperand", "(", "MCOperand", "::", "createImm", "(", "", ")", ")", ";"], "ground_truth": ["else", "if", "(", "const", "MCConstantExpr", "*", "ConstExpr", "=", "dyn_cast", "<", "MCConstantExpr", ">", "(", "Expr", ")", ")", "Inst", ".", "addOperand", "(", "MCOperand", "::", "createImm", "(", "static_cast", "<", "int32_t", ">", "(", "ConstExpr", "->", "getValue", "(", ")", ")", ")", ")", ";"], "File": "DLXAsmParser", "Func": "addExpr", "Target": "DLX", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 87931, "Length": 56, "Cover_Rate": 0.6666666666666666} {"Template_token": ["", "assert", "(", "N", "==", "", "&&", "", ")", ";", "if", "(", "const", "MCConstantExpr", "*", "ConstExpr", "=", "dyn_cast", "<", "MCConstantExpr", ">", "(", "getImm", "(", ")", ")", ")", "Inst", ".", "addOperand", "(", "MCOperand", "::", "createImm", "(", "ConstExpr", "->", "getValue", "(", ")", ">>", "", ")", ")", ";", "else", "assert", "(", "false", "&&", "", ")", ";"], "ground_truth": ["}"], "File": "DLXAsmParser", "Func": "addHiImm16AndOperands", "Target": "DLX", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 87932, "Length": 53, "Cover_Rate": 0.8153846153846154} {"Template_token": ["", "void", "addHiImm16Operands", "(", "MCInst", "&", "Inst", ",", "unsigned", "N", ")", "const", "{", "assert", "(", "N", "==", "", "&&", "", ")", ";", "if", "(", "const", "MCConstantExpr", "*", "ConstExpr", "=", "dyn_cast", "<", "MCConstantExpr", ">", "(", "getImm", "(", ")", ")", ")", "Inst", ".", "addOperand", "(", "MCOperand", "::", "createImm", "(", "ConstExpr", "->", "getValue", "(", ")", ">>", "", ")", ")", ";", "else", "if", "(", "isa", "<", "MCExpr", ">", "(", "getImm", "(", ")", ")", ")", "{", "const", "MCExpr", "*", "SymbolRefExpr", "=", "dyn_cast", "<", "MCExpr", ">", "(", "getImm", "(", ")", ")", ";", "assert", "(", "SymbolRefExpr", "->", "getKind", "(", ")", "==", "MCExpr", "::", "VK__ABS_HI", ")", ";", "Inst", ".", "addOperand", "(", "MCOperand", "::", "createExpr", "(", "getImm", "(", ")", ")", ")", ";", "}", "else", "if", "(", "isa", "<", "MCBinaryExpr", ">", "(", "getImm", "(", ")", ")", ")", "{", "const", "MCBinaryExpr", "*", "BinaryExpr", "=", "dyn_cast", "<", "MCBinaryExpr", ">", "(", "getImm", "(", ")", ")", ";", "assert", "(", "isa", "<", "MCExpr", ">", "(", "BinaryExpr", "->", "getLHS", "(", ")", ")", "&&", "cast", "<", "MCExpr", ">", "(", "BinaryExpr", "->", "getLHS", "(", ")", ")", "->", "getKind", "(", ")", "==", "MCExpr", "::", "VK__ABS_HI", ")", ";", "Inst", ".", "addOperand", "(", "MCOperand", "::", "createExpr", "(", "getImm", "(", ")", ")", ")", ";", "}", "else", "assert", "(", "false", "&&", "", ")", ";"], "ground_truth": ["}"], "File": "DLXAsmParser", "Func": "addHiImm16Operands", "Target": "DLX", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 87933, "Length": 201, "Cover_Rate": 1.0} {"Template_token": ["", "Inst", ".", "addOperand", "(", "MCOperand", "::", "createExpr", "(", "getImm", "(", ")", ")", ")", ";", "}", "else", "if", "(", "isa", "<", "MCBinaryExpr", ">", "(", "getImm", "(", ")", ")", ")", "{", "const", "MCBinaryExpr", "*", "BinaryExpr", "=", "dyn_cast", "<", "MCBinaryExpr", ">", "(", "getImm", "(", ")", ")", ";", "assert", "(", "isa", "<", "MCExpr", ">", "(", "BinaryExpr", "->", "getLHS", "(", ")", ")", "&&", "cast", "<", "MCExpr", ">", "(", "BinaryExpr", "->", "getLHS", "(", ")", ")", "->", "getKind", "(", ")", "==", "MCExpr", "::", "VK__ABS_HI", ")", ";", "Inst", ".", "addOperand", "(", "MCOperand", "::", "createExpr", "(", "getImm", "(", ")", ")", ")", ";"], "ground_truth": ["}", "else", "assert", "(", "false", "&&", "", ")", ";"], "File": "DLXAsmParser", "Func": "addHiImm16Operands", "Target": "DLX", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 87934, "Length": 102, "Cover_Rate": 0.5074626865671642} {"Template_token": ["", "addExpr", "(", "Inst", ",", "getImm", "(", ")", ")", ";"], "ground_truth": ["}"], "File": "DLXAsmParser", "Func": "addImm10Operands", "Target": "DLX", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 87935, "Length": 10, "Cover_Rate": 0.3225806451612903} {"Template_token": ["", "void", "addImmOperands", "(", "MCInst", "&", "Inst", ",", "unsigned", "N", ")", "const", "{"], "ground_truth": ["assert", "(", "N", "==", "", "&&", "", ")", ";"], "File": "DLXAsmParser", "Func": "addImmOperands", "Target": "DLX", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 87936, "Length": 21, "Cover_Rate": 0.6774193548387096} {"Template_token": ["", "assert", "(", "N", "==", "", "&&", "", ")", ";"], "ground_truth": ["addExpr", "(", "Inst", ",", "getImm", "(", ")", ")", ";"], "File": "DLXAsmParser", "Func": "addImmOperands", "Target": "DLX", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 87937, "Length": 18, "Cover_Rate": 0.5806451612903226} {"Template_token": ["", "void", "addImmShiftOperands", "(", "MCInst", "&", "Inst", ",", "unsigned", "N", ")", "const", "{", "assert", "(", "N", "==", "", "&&", "", ")", ";", "addExpr", "(", "Inst", ",", "getImm", "(", ")", ")", ";"], "ground_truth": ["}"], "File": "DLXAsmParser", "Func": "addImmShiftOperands", "Target": "DLX", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 87938, "Length": 31, "Cover_Rate": 1.0} {"Template_token": ["", "assert", "(", "N", "==", "", "&&", "", ")", ";", "if", "(", "const", "MCConstantExpr", "*", "ConstExpr", "=", "dyn_cast", "<", "MCConstantExpr", ">", "(", "getImm", "(", ")", ")", ")", "Inst", ".", "addOperand", "(", "MCOperand", "::", "createImm", "(", "ConstExpr", "->", "getValue", "(", ")", "&", "", ")", ")", ";", "else", "assert", "(", "false", "&&", "", ")", ";"], "ground_truth": ["}"], "File": "DLXAsmParser", "Func": "addLoImm16AndOperands", "Target": "DLX", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 87939, "Length": 53, "Cover_Rate": 0.8153846153846154} {"Template_token": ["", "void", "addLoImm16AndOperands", "(", "MCInst", "&", "Inst", ",", "unsigned", "N", ")", "const", "{"], "ground_truth": ["assert", "(", "N", "==", "", "&&", "", ")", ";"], "File": "DLXAsmParser", "Func": "addLoImm16AndOperands", "Target": "DLX", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 87940, "Length": 21, "Cover_Rate": 0.3230769230769231} {"Template_token": ["", "const", "MCBinaryExpr", "*", "BinaryExpr", "=", "dyn_cast", "<", "MCBinaryExpr", ">", "(", "getImm", "(", ")", ")", ";", "assert", "(", "isa", "<", "MCExpr", ">", "(", "BinaryExpr", "->", "getLHS", "(", ")", ")", "&&", "cast", "<", "MCExpr", ">", "(", "BinaryExpr", "->", "getLHS", "(", ")", ")", "->", "getKind", "(", ")", "==", "MCExpr", "::", "VK__ABS_LO", ")", ";", "Inst", ".", "addOperand", "(", "MCOperand", "::", "createExpr", "(", "getImm", "(", ")", ")", ")", ";", "}", "else", "assert", "(", "false", "&&", "", ")", ";"], "ground_truth": ["}"], "File": "DLXAsmParser", "Func": "addLoImm16Operands", "Target": "DLX", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 87941, "Length": 74, "Cover_Rate": 0.36097560975609755} {"Template_token": ["", "void", "addLoImm16Operands", "(", "MCInst", "&", "Inst", ",", "unsigned", "N", ")", "const", "{", "assert", "(", "N", "==", "", "&&", "", ")", ";", "if", "(", "const", "MCConstantExpr", "*", "ConstExpr", "=", "dyn_cast", "<", "MCConstantExpr", ">", "(", "getImm", "(", ")", ")", ")", "Inst", ".", "addOperand", "(", "MCOperand", "::", "createImm", "(", "static_cast", "<", "int32_t", ">", "(", "ConstExpr", "->", "getValue", "(", ")", ")", ")", ")", ";"], "ground_truth": ["else", "if", "(", "isa", "<", "MCExpr", ">", "(", "getImm", "(", ")", ")", ")", "{"], "File": "DLXAsmParser", "Func": "addLoImm16Operands", "Target": "DLX", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 87942, "Length": 74, "Cover_Rate": 0.36097560975609755} {"Template_token": ["", "}", "else", "if", "(", "isa", "<", "MCSymbolRefExpr", ">", "(", "getImm", "(", ")", ")", ")", "{", "const", "MCSymbolRefExpr", "*", "SymbolRefExpr", "=", "dyn_cast", "<", "MCSymbolRefExpr", ">", "(", "getImm", "(", ")", ")", ";", "assert", "(", "SymbolRefExpr", "&&", "SymbolRefExpr", "->", "getKind", "(", ")", "==", "MCSymbolRefExpr", "::", "VK_None", ")", ";", "Inst", ".", "addOperand", "(", "MCOperand", "::", "createExpr", "(", "getImm", "(", ")", ")", ")", ";", "}", "else", "if", "(", "isa", "<", "MCBinaryExpr", ">", "(", "getImm", "(", ")", ")", ")", "{", "const", "MCBinaryExpr", "*", "BinaryExpr", "=", "dyn_cast", "<", "MCBinaryExpr", ">", "(", "getImm", "(", ")", ")", ";"], "ground_truth": ["const", "MCExpr", "*", "SymbolRefExpr", "=", "dyn_cast", "<", "MCExpr", ">", "(", "BinaryExpr", "->", "getLHS", "(", ")", ")", ";"], "File": "DLXAsmParser", "Func": "addLoImm21Operands", "Target": "DLX", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 87943, "Length": 106, "Cover_Rate": 0.4092664092664093} {"Template_token": ["", "assert", "(", "N", "==", "", "&&", "", ")", ";"], "ground_truth": ["const", "MCExpr", "*", "Expr", "=", "getMemOffset", "(", ")", ";"], "File": "DLXAsmParser", "Func": "addMemImmOperands", "Target": "DLX", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 87944, "Length": 18, "Cover_Rate": 0.47368421052631576} {"Template_token": ["", "const", "MCExpr", "*", "Expr", "=", "getMemOffset", "(", ")", ";", "addExpr", "(", "Inst", ",", "Expr", ")", ";"], "ground_truth": ["}"], "File": "DLXAsmParser", "Func": "addMemImmOperands", "Target": "DLX", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 87945, "Length": 17, "Cover_Rate": 0.4473684210526316} {"Template_token": ["", "void", "addMemRegImmOperands", "(", "MCInst", "&", "Inst", ",", "unsigned", "N", ")", "const", "{", "assert", "(", "N", "==", "", "&&", "", ")", ";"], "ground_truth": ["Inst", ".", "addOperand", "(", "MCOperand", "::", "createReg", "(", "getMemBaseReg", "(", ")", ")", ")", ";"], "File": "DLXAsmParser", "Func": "addMemRegImmOperands", "Target": "DLX", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 87946, "Length": 35, "Cover_Rate": 0.5303030303030303} {"Template_token": ["", "const", "MCExpr", "*", "Expr", "=", "getMemOffset", "(", ")", ";", "addExpr", "(", "Inst", ",", "Expr", ")", ";"], "ground_truth": ["Inst", ".", "addOperand", "(", "MCOperand", "::", "createImm", "(", "getMemOp", "(", ")", ")", ")", ";"], "File": "DLXAsmParser", "Func": "addMemRegImmOperands", "Target": "DLX", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 87947, "Length": 30, "Cover_Rate": 0.45454545454545453} {"Template_token": ["", "Inst", ".", "addOperand", "(", "MCOperand", "::", "createReg", "(", "getMemBaseReg", "(", ")", ")", ")", ";", "assert", "(", "getMemOffsetReg", "(", ")", "!=", "", "&&", "", ")", ";", "Inst", ".", "addOperand", "(", "MCOperand", "::", "createReg", "(", "getMemOffsetReg", "(", ")", ")", ")", ";"], "ground_truth": ["Inst", ".", "addOperand", "(", "MCOperand", "::", "createImm", "(", "getMemOp", "(", ")", ")", ")", ";"], "File": "DLXAsmParser", "Func": "addMemRegRegOperands", "Target": "DLX", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 87948, "Length": 53, "Cover_Rate": 0.7066666666666667} {"Template_token": ["", "if", "(", "isMemRegReg", "(", ")", ")", "addMemRegRegOperands", "(", "Inst", ",", "N", ")", ";"], "ground_truth": ["}"], "File": "DLXAsmParser", "Func": "addMemSplsOperands", "Target": "DLX", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 87949, "Length": 14, "Cover_Rate": 0.358974358974359} {"Template_token": ["", "if", "(", "isMemRegImm", "(", ")", ")", "addMemRegImmOperands", "(", "Inst", ",", "N", ")", ";", "if", "(", "isMemRegReg", "(", ")", ")", "addMemRegRegOperands", "(", "Inst", ",", "N", ")", ";"], "ground_truth": ["}"], "File": "DLXAsmParser", "Func": "addMemSplsOperands", "Target": "DLX", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 87950, "Length": 27, "Cover_Rate": 0.6923076923076923} {"Template_token": ["", "void", "addRegOperands", "(", "MCInst", "&", "Inst", ",", "unsigned", "N", ")", "const", "{", "assert", "(", "N", "==", "", "&&", "", ")", ";", "Inst", ".", "addOperand", "(", "MCOperand", "::", "createReg", "(", "getReg", "(", ")", ")", ")", ";"], "ground_truth": ["}"], "File": "DLXAsmParser", "Func": "addRegOperands", "Target": "DLX", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 87952, "Length": 36, "Cover_Rate": 1.0} {"Template_token": ["", "if", "(", "PreOp", ")", "return", "LPAC", "::", "makePreOp", "(", "AluCode", ")", ";", "if", "(", "PostOp", ")", "return", "LPAC", "::", "makePostOp", "(", "AluCode", ")", ";"], "ground_truth": ["return", "AluCode", ";"], "File": "DLXAsmParser", "Func": "AluWithPrePost", "Target": "DLX", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 87953, "Length": 27, "Cover_Rate": 0.6428571428571429} {"Template_token": ["", "static", "std", "::", "unique_ptr", "<", "Operand", ">", "createReg", "(", "unsigned", "RegNum", ",", "SMLoc", "Start", ",", "SMLoc", "End", ")", "{"], "ground_truth": ["auto", "Op", "=", "make_unique", "<", "Operand", ">", "(", "REGISTER", ")", ";"], "File": "DLXAsmParser", "Func": "createReg", "Target": "DLX", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 87955, "Length": 30, "Cover_Rate": 0.5555555555555556} {"Template_token": ["", "auto", "Op", "=", "make_unique", "<", "Operand", ">", "(", "TOKEN", ")", ";", "Op", "->", "Tok", ".", "Data", "=", "Str", ".", "data", "(", ")", ";", "Op", "->", "Tok", ".", "Length", "=", "Str", ".", "size", "(", ")", ";", "Op", "->", "StartLoc", "=", "Start", ";", "Op", "->", "EndLoc", "=", "Start", ";", "return", "Op", ";"], "ground_truth": ["}"], "File": "DLXAsmParser", "Func": "CreateToken", "Target": "DLX", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 87956, "Length": 51, "Cover_Rate": 0.7611940298507462} {"Template_token": ["", "AsmParser", "(", "const", "MCSubtargetInfo", "&", "STI", ",", "MCAsmParser", "&", "Parser", ",", "const", "MCInstrInfo", "&", "MII", ",", "const", "MCTargetOptions", "&", "Options", ")", ":", "MCTargetAsmParser", "(", "Options", ",", "STI", ",", "MII", ")", ",", "Parser", "(", "Parser", ")", ",", "Lexer", "(", "Parser", ".", "getLexer", "(", ")", ")", ",", "SubtargetInfo", "(", "STI", ")", "{"], "ground_truth": ["setAvailableFeatures", "(", "ComputeAvailableFeatures", "(", "SubtargetInfo", ".", "getFeatureBits", "(", ")", ")", ")", ";"], "File": "DLXAsmParser", "Func": "DLXAsmParser", "Target": "DLX", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 87958, "Length": 62, "Cover_Rate": 0.9841269841269841} {"Template_token": ["", "explicit", "Operand", "(", "KindTy", "Kind", ")", ":", "MCParsedAsmOperand", "(", ")", ",", "Kind", "(", "Kind", ")", "{"], "ground_truth": ["}"], "File": "DLXAsmParser", "Func": "DLXOperand", "Target": "DLX", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 87959, "Length": 17, "Cover_Rate": 1.0} {"Template_token": ["", "explicit", "Operand", "(", "KindTy", "Kind", ")", ":", "MCParsedAsmOperand", "(", ")", ",", "Kind", "(", "Kind", ")", "{"], "ground_truth": ["}"], "File": "DLXAsmParser", "Func": "DLXOperand", "Target": "DLX", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 87960, "Length": 17, "Cover_Rate": 1.0} {"Template_token": ["", "return", "EndLoc", ";"], "ground_truth": ["}"], "File": "DLXAsmParser", "Func": "getEndLoc", "Target": "DLX", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 87962, "Length": 4, "Cover_Rate": 0.36363636363636365} {"Template_token": ["", "assert", "(", "isImm", "(", ")", "&&", "", ")", ";"], "ground_truth": ["return", "Imm", ".", "Value", ";"], "File": "DLXAsmParser", "Func": "getImm", "Target": "DLX", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 87964, "Length": 14, "Cover_Rate": 0.6086956521739131} {"Template_token": ["", "assert", "(", "isMem", "(", ")", "&&", "", ")", ";", "return", "Mem", ".", "BaseReg", ";"], "ground_truth": ["}"], "File": "DLXAsmParser", "Func": "getMemBaseReg", "Target": "DLX", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 87965, "Length": 15, "Cover_Rate": 0.7142857142857143} {"Template_token": ["", "const", "MCExpr", "*", "getMemOffset", "(", ")", "const", "{", "assert", "(", "isMem", "(", ")", "&&", "", ")", ";"], "ground_truth": ["return", "Mem", ".", "Offset", ";"], "File": "DLXAsmParser", "Func": "getMemOffset", "Target": "DLX", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 87966, "Length": 22, "Cover_Rate": 0.9565217391304348} {"Template_token": ["", "unsigned", "getMemOffsetReg", "(", ")", "const", "{", "assert", "(", "isMem", "(", ")", "&&", "", ")", ";"], "ground_truth": ["return", "Mem", ".", "OffsetReg", ";"], "File": "DLXAsmParser", "Func": "getMemOffsetReg", "Target": "DLX", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 87967, "Length": 20, "Cover_Rate": 0.9523809523809523} {"Template_token": ["", "unsigned", "getReg", "(", ")", "const", "override", "{", "assert", "(", "isReg", "(", ")", "&&", "", ")", ";"], "ground_truth": ["return", "Reg", ".", "RegNum", ";"], "File": "DLXAsmParser", "Func": "getReg", "Target": "DLX", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 87970, "Length": 21, "Cover_Rate": 0.9545454545454546} {"Template_token": ["", "assert", "(", "isReg", "(", ")", "&&", "", ")", ";"], "ground_truth": ["return", "Reg", ".", "RegNum", ";"], "File": "DLXAsmParser", "Func": "getReg", "Target": "DLX", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 87971, "Length": 14, "Cover_Rate": 0.6363636363636364} {"Template_token": ["", "return", "StartLoc", ";"], "ground_truth": ["}"], "File": "DLXAsmParser", "Func": "getStartLoc", "Target": "DLX", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 87972, "Length": 4, "Cover_Rate": 0.36363636363636365} {"Template_token": ["", "SMLoc", "getStartLoc", "(", ")", "const", "override", "{", "return", "StartLoc", ";"], "ground_truth": ["}"], "File": "DLXAsmParser", "Func": "getStartLoc", "Target": "DLX", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 87973, "Length": 11, "Cover_Rate": 1.0} {"Template_token": ["", "StringRef", "getToken", "(", ")", "const", "{"], "ground_truth": ["assert", "(", "isToken", "(", ")", "&&", "", ")", ";"], "File": "DLXAsmParser", "Func": "getToken", "Target": "DLX", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 87974, "Length": 15, "Cover_Rate": 0.5357142857142857} {"Template_token": ["", "assert", "(", "isToken", "(", ")", "&&", "", ")", ";", "return", "StringRef", "(", "Tok", ".", "Data", ",", "Tok", ".", "Length", ")", ";"], "ground_truth": ["}"], "File": "DLXAsmParser", "Func": "getToken", "Target": "DLX", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 87975, "Length": 22, "Cover_Rate": 0.7857142857142857} {"Template_token": ["", "int64_t", "Value", "=", "MCE", "->", "getValue", "(", ")", ";"], "ground_truth": ["return", "isShiftedUInt", "<", "", ",", "", ">", "(", "static_cast", "<", "int32_t", ">", "(", "Value", ")", ")", ";"], "File": "DLXAsmParser", "Func": "isBrImm", "Target": "DLX", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 87976, "Length": 26, "Cover_Rate": 0.4} {"Template_token": ["", "bool", "isBrTarget", "(", ")", "{"], "ground_truth": ["return", "isBrImm", "(", ")", "||", "isToken", "(", ")", ";"], "File": "DLXAsmParser", "Func": "isBrTarget", "Target": "DLX", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 87977, "Length": 14, "Cover_Rate": 0.9333333333333333} {"Template_token": ["", "bool", "isCallTarget", "(", ")", "{", "return", "isImm", "(", ")", "||", "isToken", "(", ")", ";"], "ground_truth": ["}"], "File": "DLXAsmParser", "Func": "isCallTarget", "Target": "DLX", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 87979, "Length": 15, "Cover_Rate": 1.0} {"Template_token": ["", "if", "(", "!", "ConstExpr", ")", "return", "false", ";", "uint64_t", "Value", "=", "ConstExpr", "->", "getValue", "(", ")", ";"], "ground_truth": ["return", "Value", "<", "LPCC", "::", "UNKNOWN", ";"], "File": "DLXAsmParser", "Func": "isCondCode", "Target": "DLX", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 87981, "Length": 24, "Cover_Rate": 0.43636363636363634} {"Template_token": ["", "int64_t", "Value", "=", "ConstExpr", "->", "getValue", "(", ")", ";", "return", "Value", "!=", "", "&&", "isShiftedUInt", "<", "", ",", "", ">", "(", "Value", ")", ";", "}", "if", "(", "const", "MCExpr", "*", "SymbolRefExpr", "=", "dyn_cast", "<", "MCExpr", ">", "(", "Imm", ".", "Value", ")", ")", "return", "SymbolRefExpr", "->", "getKind", "(", ")", "==", "MCExpr", "::", "VK__ABS_HI", ";", "if", "(", "const", "MCBinaryExpr", "*", "BinaryExpr", "=", "dyn_cast", "<", "MCBinaryExpr", ">", "(", "Imm", ".", "Value", ")", ")", "if", "(", "const", "MCExpr", "*", "SymbolRefExpr", "=", "dyn_cast", "<", "MCExpr", ">", "(", "BinaryExpr", "->", "getLHS", "(", ")", ")", ")", "return", "SymbolRefExpr", "->", "getKind", "(", ")", "==", "MCExpr", "::", "VK__ABS_HI", ";"], "ground_truth": ["return", "false", ";"], "File": "DLXAsmParser", "Func": "isHiImm16", "Target": "DLX", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 87983, "Length": 103, "Cover_Rate": 0.7518248175182481} {"Template_token": ["", "bool", "isHiImm16And", "(", ")", "{", "if", "(", "!", "isImm", "(", ")", ")", "return", "false", ";", "const", "MCConstantExpr", "*", "ConstExpr", "=", "dyn_cast", "<", "MCConstantExpr", ">", "(", "Imm", ".", "Value", ")", ";", "if", "(", "ConstExpr", ")", "{", "int64_t", "Value", "=", "ConstExpr", "->", "getValue", "(", ")", ";", "return", "(", "Value", "!=", "", ")", "&&", "(", "(", "Value", "&", "~", "", ")", "==", "", ")", ";", "}", "return", "false", ";"], "ground_truth": ["}"], "File": "DLXAsmParser", "Func": "isHiImm16And", "Target": "DLX", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 87984, "Length": 67, "Cover_Rate": 1.0} {"Template_token": ["", "if", "(", "!", "isImm", "(", ")", ")", "return", "false", ";", "const", "MCConstantExpr", "*", "ConstExpr", "=", "dyn_cast", "<", "MCConstantExpr", ">", "(", "Imm", ".", "Value", ")", ";", "if", "(", "ConstExpr", ")", "{", "int64_t", "Value", "=", "ConstExpr", "->", "getValue", "(", ")", ";"], "ground_truth": ["return", "(", "Value", "!=", "", ")", "&&", "(", "(", "Value", "&", "~", "", ")", "==", "", ")", ";"], "File": "DLXAsmParser", "Func": "isHiImm16And", "Target": "DLX", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 87985, "Length": 57, "Cover_Rate": 0.8507462686567164} {"Template_token": ["", "int64_t", "Value", "=", "ConstExpr", "->", "getValue", "(", ")", ";", "return", "isInt", "<", "", ">", "(", "Value", ")", ";"], "ground_truth": ["}"], "File": "DLXAsmParser", "Func": "isImm10", "Target": "DLX", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 87988, "Length": 19, "Cover_Rate": 0.3333333333333333} {"Template_token": ["", "if", "(", "!", "isImm", "(", ")", ")", "return", "false", ";", "const", "MCConstantExpr", "*", "ConstExpr", "=", "dyn_cast", "<", "MCConstantExpr", ">", "(", "Imm", ".", "Value", ")", ";", "if", "(", "!", "ConstExpr", ")", "return", "false", ";", "int64_t", "Value", "=", "ConstExpr", "->", "getValue", "(", ")", ";"], "ground_truth": ["return", "isInt", "<", "", ">", "(", "Value", ")", ";"], "File": "DLXAsmParser", "Func": "isImm10", "Target": "DLX", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 87989, "Length": 51, "Cover_Rate": 0.8947368421052632} {"Template_token": ["", "bool", "isImmShift", "(", ")", "{", "if", "(", "!", "isImm", "(", ")", ")", "return", "false", ";", "const", "MCConstantExpr", "*", "ConstExpr", "=", "dyn_cast", "<", "MCConstantExpr", ">", "(", "Imm", ".", "Value", ")", ";"], "ground_truth": ["if", "(", "!", "ConstExpr", ")", "return", "false", ";"], "File": "DLXAsmParser", "Func": "isImmShift", "Target": "DLX", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 87990, "Length": 38, "Cover_Rate": 0.6129032258064516} {"Template_token": ["", "}", "if", "(", "const", "MCExpr", "*", "SymbolRefExpr", "=", "dyn_cast", "<", "MCExpr", ">", "(", "Imm", ".", "Value", ")", ")", "return", "SymbolRefExpr", "->", "getKind", "(", ")", "==", "MCExpr", "::", "VK__ABS_LO", ";", "if", "(", "const", "MCBinaryExpr", "*", "BinaryExpr", "=", "dyn_cast", "<", "MCBinaryExpr", ">", "(", "Imm", ".", "Value", ")", ")", "if", "(", "const", "MCExpr", "*", "SymbolRefExpr", "=", "dyn_cast", "<", "MCExpr", ">", "(", "BinaryExpr", "->", "getLHS", "(", ")", ")", ")", "return", "SymbolRefExpr", "->", "getKind", "(", ")", "==", "MCExpr", "::", "VK__ABS_LO", ";"], "ground_truth": ["return", "false", ";"], "File": "DLXAsmParser", "Func": "isLoImm16", "Target": "DLX", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 87991, "Length": 79, "Cover_Rate": 0.5766423357664233} {"Template_token": ["", "if", "(", "const", "MCExpr", "*", "SymbolRefExpr", "=", "dyn_cast", "<", "MCExpr", ">", "(", "Imm", ".", "Value", ")", ")", "return", "SymbolRefExpr", "->", "getKind", "(", ")", "==", "MCExpr", "::", "VK__ABS_LO", ";"], "ground_truth": ["if", "(", "const", "MCBinaryExpr", "*", "BinaryExpr", "=", "dyn_cast", "<", "MCBinaryExpr", ">", "(", "Imm", ".", "Value", ")", ")", "if", "(", "const", "MCExpr", "*", "SymbolRefExpr", "=", "dyn_cast", "<", "MCExpr", ">", "(", "BinaryExpr", "->", "getLHS", "(", ")", ")", ")", "return", "SymbolRefExpr", "->", "getKind", "(", ")", "==", "MCExpr", "::", "VK__ABS_LO", ";"], "File": "DLXAsmParser", "Func": "isLoImm16", "Target": "DLX", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 87992, "Length": 75, "Cover_Rate": 0.5474452554744526} {"Template_token": ["", "if", "(", "!", "isImm", "(", ")", ")", "return", "false", ";", "const", "MCConstantExpr", "*", "ConstExpr", "=", "dyn_cast", "<", "MCConstantExpr", ">", "(", "Imm", ".", "Value", ")", ";", "if", "(", "ConstExpr", ")", "{", "int64_t", "Value", "=", "ConstExpr", "->", "getValue", "(", ")", ";"], "ground_truth": ["return", "(", "(", "Value", "&", "~", "", ")", "==", "", ")", ";"], "File": "DLXAsmParser", "Func": "isLoImm16And", "Target": "DLX", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 87993, "Length": 51, "Cover_Rate": 0.8360655737704918} {"Template_token": ["", "if", "(", "ConstExpr", ")", "{", "int64_t", "Value", "=", "ConstExpr", "->", "getValue", "(", ")", ";", "return", "(", "(", "Value", "&", "~", "", ")", "==", "", ")", ";", "}"], "ground_truth": ["return", "false", ";"], "File": "DLXAsmParser", "Func": "isLoImm16And", "Target": "DLX", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 87994, "Length": 30, "Cover_Rate": 0.4918032786885246} {"Template_token": ["", "}", "if", "(", "const", "MCExpr", "*", "SymbolRefExpr", "=", "dyn_cast", "<", "MCExpr", ">", "(", "Imm", ".", "Value", ")", ")", "return", "SymbolRefExpr", "->", "getKind", "(", ")", "==", "MCExpr", "::", "VK__ABS_LO", ";", "if", "(", "const", "MCBinaryExpr", "*", "BinaryExpr", "=", "dyn_cast", "<", "MCBinaryExpr", ">", "(", "Imm", ".", "Value", ")", ")", "if", "(", "const", "MCExpr", "*", "SymbolRefExpr", "=", "dyn_cast", "<", "MCExpr", ">", "(", "BinaryExpr", "->", "getLHS", "(", ")", ")", ")", "return", "SymbolRefExpr", "->", "getKind", "(", ")", "==", "MCExpr", "::", "VK__ABS_LO", ";"], "ground_truth": ["return", "false", ";"], "File": "DLXAsmParser", "Func": "isLoImm16Signed", "Target": "DLX", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 87995, "Length": 79, "Cover_Rate": 0.5766423357664233} {"Template_token": ["", "if", "(", "const", "MCExpr", "*", "SymbolRefExpr", "=", "dyn_cast", "<", "MCExpr", ">", "(", "Imm", ".", "Value", ")", ")", "return", "SymbolRefExpr", "->", "getKind", "(", ")", "==", "MCExpr", "::", "VK__ABS_LO", ";", "if", "(", "const", "MCBinaryExpr", "*", "BinaryExpr", "=", "dyn_cast", "<", "MCBinaryExpr", ">", "(", "Imm", ".", "Value", ")", ")", "if", "(", "const", "MCExpr", "*", "SymbolRefExpr", "=", "dyn_cast", "<", "MCExpr", ">", "(", "BinaryExpr", "->", "getLHS", "(", ")", ")", ")", "return", "SymbolRefExpr", "->", "getKind", "(", ")", "==", "MCExpr", "::", "VK__ABS_LO", ";", "return", "false", ";"], "ground_truth": ["}"], "File": "DLXAsmParser", "Func": "isLoImm16Signed", "Target": "DLX", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 87996, "Length": 79, "Cover_Rate": 0.5766423357664233} {"Template_token": ["", "return", "isUInt", "<", "", ">", "(", "Value", ")", ";", "}", "if", "(", "const", "MCExpr", "*", "SymbolRefExpr", "=", "dyn_cast", "<", "MCExpr", ">", "(", "Imm", ".", "Value", ")", ")", "return", "SymbolRefExpr", "->", "getKind", "(", ")", "==", "MCExpr", "::", "VK__None", ";", "if", "(", "const", "MCSymbolRefExpr", "*", "SymbolRefExpr", "=", "dyn_cast", "<", "MCSymbolRefExpr", ">", "(", "Imm", ".", "Value", ")", ")", "{", "return", "SymbolRefExpr", "->", "getKind", "(", ")", "==", "MCSymbolRefExpr", "::", "VK_None", ";", "}", "if", "(", "const", "MCBinaryExpr", "*", "BinaryExpr", "=", "dyn_cast", "<", "MCBinaryExpr", ">", "(", "Imm", ".", "Value", ")", ")", "{", "if", "(", "const", "MCExpr", "*", "SymbolRefExpr", "=", "dyn_cast", "<", "MCExpr", ">", "(", "BinaryExpr", "->", "getLHS", "(", ")", ")", ")", "return", "SymbolRefExpr", "->", "getKind", "(", ")", "==", "MCExpr", "::", "VK__None", ";", "if", "(", "const", "MCSymbolRefExpr", "*", "SymbolRefExpr", "=", "dyn_cast", "<", "MCSymbolRefExpr", ">", "(", "BinaryExpr", "->", "getLHS", "(", ")", ")", ")", "return", "SymbolRefExpr", "->", "getKind", "(", ")", "==", "MCSymbolRefExpr", "::", "VK_None", ";"], "ground_truth": ["}"], "File": "DLXAsmParser", "Func": "isLoImm21", "Target": "DLX", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 87997, "Length": 147, "Cover_Rate": 0.7616580310880829} {"Template_token": ["", "if", "(", "const", "MCBinaryExpr", "*", "BinaryExpr", "=", "dyn_cast", "<", "MCBinaryExpr", ">", "(", "Imm", ".", "Value", ")", ")", "{", "if", "(", "const", "MCExpr", "*", "SymbolRefExpr", "=", "dyn_cast", "<", "MCExpr", ">", "(", "BinaryExpr", "->", "getLHS", "(", ")", ")", ")", "return", "SymbolRefExpr", "->", "getKind", "(", ")", "==", "MCExpr", "::", "VK__None", ";", "if", "(", "const", "MCSymbolRefExpr", "*", "SymbolRefExpr", "=", "dyn_cast", "<", "MCSymbolRefExpr", ">", "(", "BinaryExpr", "->", "getLHS", "(", ")", ")", ")", "return", "SymbolRefExpr", "->", "getKind", "(", ")", "==", "MCSymbolRefExpr", "::", "VK_None", ";", "}", "return", "false", ";"], "ground_truth": ["}"], "File": "DLXAsmParser", "Func": "isLoImm21", "Target": "DLX", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 87998, "Length": 83, "Cover_Rate": 0.43005181347150256} {"Template_token": ["", "bool", "isMem", "(", ")", "const", "override", "{", "return", "isMemImm", "(", ")", "||", "isMemRegImm", "(", ")", "||", "isMemRegReg", "(", ")", ";"], "ground_truth": ["}"], "File": "DLXAsmParser", "Func": "isMem", "Target": "DLX", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 88000, "Length": 21, "Cover_Rate": 1.0} {"Template_token": ["", "return", "Kind", "==", "MEMORY_IMM", ";"], "ground_truth": ["}"], "File": "DLXAsmParser", "Func": "isMemImm", "Target": "DLX", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 88001, "Length": 6, "Cover_Rate": 0.5} {"Template_token": ["", "bool", "isMemImm", "(", ")", "const", "{"], "ground_truth": ["return", "Kind", "==", "MEMORY_IMM", ";"], "File": "DLXAsmParser", "Func": "isMemImm", "Target": "DLX", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 88002, "Length": 11, "Cover_Rate": 0.9166666666666666} {"Template_token": ["", "int", "PossibleAluOpIdx", "=", "Offset", "+", "", ";", "int", "PossibleBaseIdx", "=", "Offset", "+", "", ";", "int", "PossibleDestIdx", "=", "Offset", "+", "", ";", "if", "(", "Operand", "*", "PossibleAluOp", "=", "static_cast", "<", "Operand", "*", ">", "(", "Operands", "[", "PossibleAluOpIdx", "]", ".", "get", "(", ")", ")", ")", "if", "(", "PossibleAluOp", "->", "isImm", "(", ")", ")", "if", "(", "const", "MCConstantExpr", "*", "ConstExpr", "=", "dyn_cast", "<", "MCConstantExpr", ">", "(", "PossibleAluOp", "->", "getImm", "(", ")", ")", ")", "Modifies", "=", "LPAC", "::", "modifiesOp", "(", "ConstExpr", "->", "getValue", "(", ")", ")", ";"], "ground_truth": ["return", "Modifies", "&&", "Operands", "[", "PossibleBaseIdx", "]", "->", "isReg", "(", ")", "&&", "Operands", "[", "PossibleDestIdx", "]", "->", "isReg", "(", ")", "&&", "Operands", "[", "PossibleBaseIdx", "]", "->", "getReg", "(", ")", "==", "Operands", "[", "PossibleDestIdx", "]", "->", "getReg", "(", ")", ";"], "File": "DLXAsmParser", "Func": "IsMemoryAssignmentError", "Target": "DLX", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 88003, "Length": 122, "Cover_Rate": 0.4468864468864469} {"Template_token": ["", "bool", "isMemRegReg", "(", ")", "const", "{"], "ground_truth": ["return", "Kind", "==", "MEMORY_REG_REG", ";"], "File": "DLXAsmParser", "Func": "isMemRegReg", "Target": "DLX", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 88006, "Length": 11, "Cover_Rate": 0.9166666666666666} {"Template_token": ["", "return", "Kind", "==", "MEMORY_REG_REG", ";"], "ground_truth": ["}"], "File": "DLXAsmParser", "Func": "isMemRegReg", "Target": "DLX", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 88007, "Length": 6, "Cover_Rate": 0.5} {"Template_token": ["", "return", "isMemRegImm", "(", ")", "||", "isMemRegReg", "(", ")", ";"], "ground_truth": ["}"], "File": "DLXAsmParser", "Func": "isMemSpls", "Target": "DLX", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 88009, "Length": 10, "Cover_Rate": 0.625} {"Template_token": ["", "return", "Kind", "==", "REGISTER", ";"], "ground_truth": ["}"], "File": "DLXAsmParser", "Func": "isReg", "Target": "DLX", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 88010, "Length": 6, "Cover_Rate": 0.46153846153846156} {"Template_token": ["", "return", "Kind", "==", "REGISTER", ";"], "ground_truth": ["}"], "File": "DLXAsmParser", "Func": "isReg", "Target": "DLX", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 88011, "Length": 6, "Cover_Rate": 0.46153846153846156} {"Template_token": ["", "static", "bool", "IsRegister", "(", "const", "MCParsedAsmOperand", "&", "op", ")", "{", "return", "static_cast", "<", "const", "Operand", "&", ">", "(", "op", ")", ".", "isReg", "(", ")", ";"], "ground_truth": ["}"], "File": "DLXAsmParser", "Func": "IsRegister", "Target": "DLX", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 88013, "Length": 26, "Cover_Rate": 1.0} {"Template_token": ["", "bool", "isToken", "(", ")", "const", "override", "{"], "ground_truth": ["return", "Kind", "==", "TOKEN", ";"], "File": "DLXAsmParser", "Func": "isToken", "Target": "DLX", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 88014, "Length": 12, "Cover_Rate": 0.9230769230769231} {"Template_token": ["", "RegisterMCAsmParser", "<", "AsmParser", ">", "x", "(", "getTheTarget", "(", ")", ")", ";"], "ground_truth": ["}"], "File": "DLXAsmParser", "Func": "LLVMInitializeDLXAsmParser", "Target": "DLX", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 88016, "Length": 12, "Cover_Rate": 0.7058823529411765} {"Template_token": ["", "ErrorLoc", "=", "IdLoc", ";", "if", "(", "ErrorInfo", "!=", "~", "", ")", "{", "if", "(", "ErrorInfo", ">=", "Operands", ".", "size", "(", ")", ")", "return", "Error", "(", "IdLoc", ",", "", ")", ";", "ErrorLoc", "=", "(", "(", "Operand", "&", ")", "*", "Operands", "[", "ErrorInfo", "]", ")", ".", "getStartLoc", "(", ")", ";", "if", "(", "ErrorLoc", "==", "SMLoc", "(", ")", ")", "ErrorLoc", "=", "IdLoc", ";", "}", "return", "Error", "(", "ErrorLoc", ",", "", ")", ";", "}", "default", ":", "break", ";", "}"], "ground_truth": ["llvm_unreachable", "(", "", ")", ";"], "File": "DLXAsmParser", "Func": "MatchAndEmitInstruction", "Target": "DLX", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 88017, "Length": 80, "Cover_Rate": 0.449438202247191} {"Template_token": ["", "Out", ".", "EmitInstruction", "(", "Inst", ",", "SubtargetInfo", ")", ";", "Opcode", "=", "Inst", ".", "getOpcode", "(", ")", ";", "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", ",", "", ")", ";"], "ground_truth": ["ErrorLoc", "=", "(", "(", "Operand", "&", ")", "*", "Operands", "[", "ErrorInfo", "]", ")", ".", "getStartLoc", "(", ")", ";"], "File": "DLXAsmParser", "Func": "MatchAndEmitInstruction", "Target": "DLX", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 88018, "Length": 94, "Cover_Rate": 0.5280898876404494} {"Template_token": ["", "static", "bool", "MaybePredicatedInst", "(", "const", "OperandVector", "&", "Operands", ")", "{", "if", "(", "Operands", ".", "size", "(", ")", "<", "", "||", "!", "IsRegister", "(", "*", "Operands", "[", "", "]", ")", "||", "!", "IsRegister", "(", "*", "Operands", "[", "", "]", ")", ")", "return", "false", ";"], "ground_truth": ["return", "StringSwitch", "<", "bool", ">", "(", "static_cast", "<", "const", "Operand", "&", ">", "(", "*", "Operands", "[", "", "]", ")", ".", "getToken", "(", ")", ")", ".", "StartsWith", "(", "", ",", "true", ")", ".", "StartsWith", "(", "", ",", "true", ")", ".", "StartsWith", "(", "", ",", "true", ")", ".", "StartsWith", "(", "", ",", "true", ")", ".", "StartsWith", "(", "", ",", "true", ")", ".", "StartsWith", "(", "", ",", "true", ")", ".", "StartsWith", "(", "", ",", "true", ")", ".", "StartsWith", "(", "", ",", "true", ")", ".", "Default", "(", "false", ")", ";"], "File": "DLXAsmParser", "Func": "MaybePredicatedInst", "Target": "DLX", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 88019, "Length": 129, "Cover_Rate": 0.9923076923076923} {"Template_token": ["", "static", "bool", "MaybePredicatedInst", "(", "const", "OperandVector", "&", "Operands", ")", "{"], "ground_truth": ["if", "(", "Operands", ".", "size", "(", ")", "<", "", "||", "!", "IsRegister", "(", "*", "Operands", "[", "", "]", ")", "||", "!", "IsRegister", "(", "*", "Operands", "[", "", "]", ")", ")", "return", "false", ";"], "File": "DLXAsmParser", "Func": "MaybePredicatedInst", "Target": "DLX", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 88020, "Length": 43, "Cover_Rate": 0.33076923076923076} {"Template_token": ["", "Op", "->", "Mem", ".", "BaseReg", "=", "", ";", "Op", "->", "Mem", ".", "AluOp", "=", "LPAC", "::", "ADD", ";", "Op", "->", "Mem", ".", "OffsetReg", "=", "", ";", "Op", "->", "Mem", ".", "Offset", "=", "Imm", ";"], "ground_truth": ["return", "Op", ";"], "File": "DLXAsmParser", "Func": "MorphToMemImm", "Target": "DLX", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 88021, "Length": 37, "Cover_Rate": 0.5068493150684932} {"Template_token": ["", "Op", "->", "Mem", ".", "AluOp", "=", "LPAC", "::", "ADD", ";", "Op", "->", "Mem", ".", "OffsetReg", "=", "", ";", "Op", "->", "Mem", ".", "Offset", "=", "Imm", ";", "return", "Op", ";"], "ground_truth": ["}"], "File": "DLXAsmParser", "Func": "MorphToMemImm", "Target": "DLX", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 88022, "Length": 30, "Cover_Rate": 0.410958904109589} {"Template_token": ["", "Op", "->", "Kind", "=", "MEMORY_REG_IMM", ";", "Op", "->", "Mem", ".", "BaseReg", "=", "BaseReg", ";", "Op", "->", "Mem", ".", "AluOp", "=", "AluOp", ";", "Op", "->", "Mem", ".", "OffsetReg", "=", "", ";", "Op", "->", "Mem", ".", "Offset", "=", "Imm", ";"], "ground_truth": ["return", "Op", ";"], "File": "DLXAsmParser", "Func": "MorphToMemRegImm", "Target": "DLX", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 88023, "Length": 41, "Cover_Rate": 0.5324675324675324} {"Template_token": ["", "Op", "->", "Kind", "=", "MEMORY_REG_REG", ";", "Op", "->", "Mem", ".", "BaseReg", "=", "BaseReg", ";", "Op", "->", "Mem", ".", "AluOp", "=", "AluOp", ";", "Op", "->", "Mem", ".", "OffsetReg", "=", "OffsetReg", ";"], "ground_truth": ["Op", "->", "Mem", ".", "Offset", "=", "nullptr", ";"], "File": "DLXAsmParser", "Func": "MorphToMemRegReg", "Target": "DLX", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 88024, "Length": 38, "Cover_Rate": 0.5066666666666667} {"Template_token": ["", "Op", "->", "Mem", ".", "BaseReg", "=", "BaseReg", ";", "Op", "->", "Mem", ".", "AluOp", "=", "AluOp", ";", "Op", "->", "Mem", ".", "OffsetReg", "=", "OffsetReg", ";"], "ground_truth": ["Op", "->", "Mem", ".", "Offset", "=", "nullptr", ";"], "File": "DLXAsmParser", "Func": "MorphToMemRegReg", "Target": "DLX", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 88025, "Length": 32, "Cover_Rate": 0.4266666666666667} {"Template_token": ["", "Parser", ".", "parseIdentifier", "(", "IdString", ")", ";", "unsigned", "AluCode", "=", "LPAC", "::", "stringToAluCode", "(", "IdString", ")", ";", "if", "(", "AluCode", "==", "LPAC", "::", "UNKNOWN", ")", "{", "Error", "(", "Parser", ".", "getTok", "(", ")", ".", "getLoc", "(", ")", ",", "", ")", ";", "return", "", ";"], "ground_truth": ["}"], "File": "DLXAsmParser", "Func": "parseAluOperator", "Target": "DLX", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 88026, "Length": 45, "Cover_Rate": 0.703125} {"Template_token": ["", "return", "true", ";"], "ground_truth": ["}"], "File": "DLXAsmParser", "Func": "ParseDirective", "Target": "DLX", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 88027, "Length": 4, "Cover_Rate": 0.3333333333333333} {"Template_token": ["", "std", "::", "unique_ptr", "<", "Operand", ">", "AsmParser", "::", "parseIdentifier", "(", ")", "{", "SMLoc", "Start", "=", "Parser", ".", "getTok", "(", ")", ".", "getLoc", "(", ")", ";", "SMLoc", "End", "=", "SMLoc", "::", "getFromPointer", "(", "Parser", ".", "getTok", "(", ")", ".", "getLoc", "(", ")", ".", "getPointer", "(", ")", "-", "", ")", ";", "const", "MCExpr", "*", "Res", ",", "*", "RHS", "=", "nullptr", ";", "MCExpr", "::", "VariantKind", "Kind", "=", "MCExpr", "::", "VK__None", ";", "if", "(", "Lexer", ".", "getKind", "(", ")", "!=", "AsmToken", "::", "Identifier", ")", "return", "nullptr", ";", "StringRef", "Identifier", ";", "if", "(", "Parser", ".", "parseIdentifier", "(", "Identifier", ")", ")", "return", "nullptr", ";", "if", "(", "Identifier", ".", "equals_lower", "(", "", ")", ")", "Kind", "=", "MCExpr", "::", "VK__ABS_HI", ";"], "ground_truth": ["else", "if", "(", "Identifier", ".", "equals_lower", "(", "", ")", ")", "Kind", "=", "MCExpr", "::", "VK__ABS_LO", ";"], "File": "DLXAsmParser", "Func": "parseIdentifier", "Target": "DLX", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 88029, "Length": 129, "Cover_Rate": 0.36857142857142855} {"Template_token": ["", "SMLoc", "End", "=", "SMLoc", "::", "getFromPointer", "(", "Parser", ".", "getTok", "(", ")", ".", "getLoc", "(", ")", ".", "getPointer", "(", ")", "-", "", ")", ";", "const", "MCExpr", "*", "ExprVal", ";", "switch", "(", "Lexer", ".", "getKind", "(", ")", ")", "{", "case", "AsmToken", "::", "Identifier", ":", "return", "parseIdentifier", "(", ")", ";", "case", "AsmToken", "::", "Plus", ":", "case", "AsmToken", "::", "Minus", ":"], "ground_truth": ["case", "AsmToken", "::", "Integer", ":"], "File": "DLXAsmParser", "Func": "parseImmediate", "Target": "DLX", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 88030, "Length": 63, "Cover_Rate": 0.5080645161290323} {"Template_token": ["", "switch", "(", "Lexer", ".", "getKind", "(", ")", ")", "{", "case", "AsmToken", "::", "Identifier", ":", "return", "parseIdentifier", "(", ")", ";", "case", "AsmToken", "::", "Plus", ":", "case", "AsmToken", "::", "Minus", ":", "case", "AsmToken", "::", "Integer", ":", "case", "AsmToken", "::", "Dot", ":", "if", "(", "!", "Parser", ".", "parseExpression", "(", "ExprVal", ")", ")", "return", "", "(", "ExprVal", ",", "Start", ",", "End", ")", ";", "LLVM_FALLTHROUGH", ";"], "ground_truth": ["default", ":"], "File": "DLXAsmParser", "Func": "parseImmediate", "Target": "DLX", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 88031, "Length": 63, "Cover_Rate": 0.5080645161290323} {"Template_token": ["", "Operands", ".", "insert", "(", "Operands", ".", "begin", "(", ")", "+", "", ",", "", "(", "MCConstantExpr", "::", "create", "(", "LPCC", "::", "ICC_T", ",", "getContext", "(", ")", ")", ",", "NameLoc", ",", "NameLoc", ")", ")", ";", "}", "if", "(", "Lexer", ".", "is", "(", "AsmToken", "::", "EndOfStatement", ")", "&&", "Name", ".", "startswith", "(", "", ")", "&&", "Operands", ".", "size", "(", ")", "==", "", ")", "{", "Operands", ".", "erase", "(", "Operands", ".", "begin", "(", ")", ",", "Operands", ".", "begin", "(", ")", "+", "", ")", ";", "Operands", ".", "insert", "(", "Operands", ".", "begin", "(", ")", ",", "", "(", "", ",", "NameLoc", ")", ")", ";", "}", "while", "(", "Lexer", ".", "isNot", "(", "AsmToken", "::", "EndOfStatement", ")", "&&", "Lexer", ".", "is", "(", "AsmToken", "::", "Comma", ")", ")", "{", "Lex", "(", ")", ";", "if", "(", "parseOperand", "(", "&", "Operands", ",", "Mnemonic", ")", "!=", "MatchOperand_Success", ")", "return", "true", ";"], "ground_truth": ["}"], "File": "DLXAsmParser", "Func": "ParseInstruction", "Target": "DLX", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 88032, "Length": 140, "Cover_Rate": 0.4069767441860465} {"Template_token": ["", "OperandMatchResultTy", "AsmParser", "::", "parseOperand", "(", "OperandVector", "*", "Operands", ",", "StringRef", "Mnemonic", ")", "{", "OperandMatchResultTy", "Result", ";", "if", "(", "Result", "==", "MatchOperand_Success", ")", "return", "Result", ";", "if", "(", "Result", "==", "MatchOperand_ParseFail", ")", "{", "Parser", ".", "eatToEndOfStatement", "(", ")", ";", "return", "Result", ";", "}"], "ground_truth": ["std", "::", "unique_ptr", "<", "Operand", ">", "Op", "=", "parseRegister", "(", ")", ";"], "File": "DLXAsmParser", "Func": "parseOperand", "Target": "DLX", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 88033, "Length": 54, "Cover_Rate": 0.48214285714285715} {"Template_token": ["", "bool", "AsmParser", "::", "parsePrePost", "(", "StringRef", "Type", ",", "int", "*", "OffsetValue", ")", "{", "bool", "PreOrPost", "=", "false", ";", "if", "(", "Lexer", ".", "getKind", "(", ")", "==", "Lexer", ".", "peekTok", "(", "true", ")", ".", "getKind", "(", ")", ")", "{", "PreOrPost", "=", "true", ";", "if", "(", "Lexer", ".", "is", "(", "AsmToken", "::", "Minus", ")", ")", "*", "OffsetValue", "=", "-", "SizeForSuffix", "(", "Type", ")", ";", "else", "if", "(", "Lexer", ".", "is", "(", "AsmToken", "::", "Plus", ")", ")", "*", "OffsetValue", "=", "SizeForSuffix", "(", "Type", ")", ";", "else", "return", "false", ";", "Parser", ".", "Lex", "(", ")", ";", "Parser", ".", "Lex", "(", ")", ";", "}", "else", "if", "(", "Lexer", ".", "is", "(", "AsmToken", "::", "Star", ")", ")", "{", "Parser", ".", "Lex", "(", ")", ";"], "ground_truth": ["PreOrPost", "=", "true", ";"], "File": "DLXAsmParser", "Func": "parsePrePost", "Target": "DLX", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 88034, "Length": 122, "Cover_Rate": 0.9606299212598425} {"Template_token": ["", "StartLoc", "=", "Tok", ".", "getLoc", "(", ")", ";", "EndLoc", "=", "Tok", ".", "getEndLoc", "(", ")", ";", "std", "::", "unique_ptr", "<", "Operand", ">", "Op", "=", "parseRegister", "(", ")", ";"], "ground_truth": ["if", "(", "Op", "!=", "nullptr", ")", "RegNum", "=", "Op", "->", "getReg", "(", ")", ";"], "File": "DLXAsmParser", "Func": "parseRegister", "Target": "DLX", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 88035, "Length": 42, "Cover_Rate": 0.5185185185185185} {"Template_token": ["", "StartLoc", "=", "Tok", ".", "getLoc", "(", ")", ";", "EndLoc", "=", "Tok", ".", "getEndLoc", "(", ")", ";"], "ground_truth": ["std", "::", "unique_ptr", "<", "Operand", ">", "Op", "=", "parseRegister", "(", ")", ";"], "File": "DLXAsmParser", "Func": "parseRegister", "Target": "DLX", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 88036, "Length": 28, "Cover_Rate": 0.345679012345679} {"Template_token": ["", "case", "MEMORY_REG_IMM", ":", "OS", "<<", "", "<<", "getMemBaseReg", "(", ")", "<<", "", "<<", "*", "getMemOffset", "(", ")", "<<", "", ";", "break", ";", "case", "MEMORY_REG_REG", ":", "assert", "(", "getMemOffset", "(", ")", "==", "nullptr", ")", ";", "OS", "<<", "", "<<", "getMemBaseReg", "(", ")", "<<", "", "<<", "", "<<", "getMemOffsetReg", "(", ")", "<<", "", ";"], "ground_truth": ["break", ";"], "File": "DLXAsmParser", "Func": "print", "Target": "DLX", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 88037, "Length": 54, "Cover_Rate": 0.4090909090909091} {"Template_token": ["", "int64_t", "Value", "=", "ConstExpr", "->", "getValue", "(", ")", ";", "return", "(", "Value", "%", "", "==", "", ")", "&&", "(", "Value", ">=", "", ")", "&&", "(", "Value", "<=", "", ")", ";", "}", "if", "(", "const", "MCExpr", "*", "SymbolRefExpr", "=", "dyn_cast", "<", "MCExpr", ">", "(", "Op", ".", "getImm", "(", ")", ")", ")", "return", "SymbolRefExpr", "->", "getKind", "(", ")", "==", "MCExpr", "::", "VK__None", ";", "if", "(", "const", "MCBinaryExpr", "*", "BinaryExpr", "=", "dyn_cast", "<", "MCBinaryExpr", ">", "(", "Op", ".", "getImm", "(", ")", ")", ")", "{"], "ground_truth": ["const", "MCExpr", "*", "LHSSymbolRefExpr", "=", "dyn_cast", "<", "MCExpr", ">", "(", "BinaryExpr", "->", "getLHS", "(", ")", ")", ";"], "File": "DLXAsmParser", "Func": "shouldBeSls", "Target": "DLX", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 88038, "Length": 98, "Cover_Rate": 0.6666666666666666} {"Template_token": ["", "int64_t", "Value", "=", "ConstExpr", "->", "getValue", "(", ")", ";", "return", "(", "Value", "%", "", "==", "", ")", "&&", "(", "Value", ">=", "", ")", "&&", "(", "Value", "<=", "", ")", ";", "}", "if", "(", "const", "MCExpr", "*", "SymbolRefExpr", "=", "dyn_cast", "<", "MCExpr", ">", "(", "Op", ".", "getImm", "(", ")", ")", ")", "return", "SymbolRefExpr", "->", "getKind", "(", ")", "==", "MCExpr", "::", "VK__None", ";", "if", "(", "const", "MCBinaryExpr", "*", "BinaryExpr", "=", "dyn_cast", "<", "MCBinaryExpr", ">", "(", "Op", ".", "getImm", "(", ")", ")", ")", "{", "const", "MCExpr", "*", "LHSSymbolRefExpr", "=", "dyn_cast", "<", "MCExpr", ">", "(", "BinaryExpr", "->", "getLHS", "(", ")", ")", ";", "return", "(", "LHSSymbolRefExpr", "&&", "LHSSymbolRefExpr", "->", "getKind", "(", ")", "==", "MCExpr", "::", "VK__None", ")", ";", "}", "return", "false", ";"], "ground_truth": ["}"], "File": "DLXAsmParser", "Func": "shouldBeSls", "Target": "DLX", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 88039, "Length": 118, "Cover_Rate": 0.8027210884353742} {"Template_token": ["", "return", "StringSwitch", "<", "int", ">", "(", "T", ")", ".", "EndsWith", "(", "", ",", "", ")", ".", "EndsWith", "(", "", ",", "", ")", ".", "Default", "(", "", ")", ";"], "ground_truth": ["}"], "File": "DLXAsmParser", "Func": "SizeForSuffix", "Target": "DLX", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 88040, "Length": 29, "Cover_Rate": 0.7837837837837838} {"Template_token": ["", "Mnemonic", "=", "Name", ".", "substr", "(", "", ",", "Name", ".", "size", "(", ")", "-", "", ")", ";", "IsBRR", "=", "true", ";", "}", "if", "(", "Mnemonic", "[", "", "]", "==", "'b'", "||", "(", "Mnemonic", "[", "", "]", "==", "'s'", "&&", "!", "Mnemonic", ".", "startswith", "(", "", ")", "&&", "!", "Mnemonic", ".", "startswith", "(", "", ")", ")", ")", "{", "LPCC", "::", "CondCode", "CondCode", "=", "LPCC", "::", "suffixToCondCode", "(", "Mnemonic", ".", "substr", "(", "", ",", "Next", ")", ")", ";", "if", "(", "CondCode", "!=", "LPCC", "::", "UNKNOWN", ")", "{", "Mnemonic", "=", "Mnemonic", ".", "slice", "(", "", ",", "", ")", ";", "Operands", "->", "push_back", "(", "", "(", "Mnemonic", ",", "NameLoc", ")", ")", ";", "Operands", "->", "push_back", "(", "", "(", "MCConstantExpr", "::", "create", "(", "CondCode", ",", "getContext", "(", ")", ")", ",", "NameLoc", ",", "NameLoc", ")", ")", ";", "if", "(", "IsBRR", ")", "{", "Operands", "->", "push_back", "(", "", "(", "", ",", "NameLoc", ")", ")", ";", "}", "return", "Mnemonic", ";", "}", "}", "if", "(", "Mnemonic", ".", "startswith", "(", "", ")", "||", "(", "!", "Mnemonic", ".", "endswith", "(", "", ")", "&&", "!", "Mnemonic", ".", "startswith", "(", "", ")", ")", ")", "{", "LPCC", "::", "CondCode", "CondCode", "=", "LPCC", "::", "suffixToCondCode", "(", "Mnemonic", ")", ";", "if", "(", "CondCode", "!=", "LPCC", "::", "UNKNOWN", ")", "{", "size_t", "Next", "=", "Mnemonic", ".", "rfind", "(", "'.'", ",", "Name", ".", "size", "(", ")", ")", ";", "if", "(", "Mnemonic", ".", "startswith", "(", "", ")", ")", "{", "Mnemonic", "=", "Mnemonic", ".", "substr", "(", "", ",", "Next", "+", "", ")", ";", "}", "else", "{", "Mnemonic", "=", "Mnemonic", ".", "substr", "(", "", ",", "Next", ")", ";"], "ground_truth": ["}"], "File": "DLXAsmParser", "Func": "splitMnemonic", "Target": "DLX", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 88041, "Length": 257, "Cover_Rate": 0.6572890025575447} {"Template_token": ["", "void", "AsmPrinter", "::", "customEmitInstruction", "(", "const", "MachineInstr", "*", "MI", ")", "{"], "ground_truth": ["MCInstLower", "MCInstLowering", "(", "OutContext", ",", "*", "this", ")", ";"], "File": "DLXAsmPrinter", "Func": "customEmitInstruction", "Target": "DLX", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 88042, "Length": 20, "Cover_Rate": 0.40816326530612246} {"Template_token": ["", "MCSubtargetInfo", "STI", "=", "getSubtargetInfo", "(", ")", ";", "MCInst", "TmpInst", ";", "MCInstLowering", ".", "Lower", "(", "MI", ",", "TmpInst", ")", ";", "OutStreamer", "->", "EmitInstruction", "(", "TmpInst", ",", "STI", ")", ";"], "ground_truth": ["}"], "File": "DLXAsmPrinter", "Func": "customEmitInstruction", "Target": "DLX", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 88043, "Length": 29, "Cover_Rate": 0.5918367346938775} {"Template_token": ["", "explicit", "AsmPrinter", "(", "TargetMachine", "&", "TM", ",", "std", "::", "unique_ptr", "<", "MCStreamer", ">", "Streamer", ")", ":", "AsmPrinter", "(", "TM", ",", "std", "::", "move", "(", "Streamer", ")", ")", "{"], "ground_truth": ["}"], "File": "DLXAsmPrinter", "Func": "DLXAsmPrinter", "Target": "DLX", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 88044, "Length": 29, "Cover_Rate": 1.0} {"Template_token": ["", "explicit", "AsmPrinter", "(", "TargetMachine", "&", "TM", ",", "std", "::", "unique_ptr", "<", "MCStreamer", ">", "Streamer", ")", ":", "AsmPrinter", "(", "TM", ",", "std", "::", "move", "(", "Streamer", ")", ")", "{"], "ground_truth": ["}"], "File": "DLXAsmPrinter", "Func": "DLXAsmPrinter", "Target": "DLX", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 88045, "Length": 29, "Cover_Rate": 1.0} {"Template_token": ["", "void", "AsmPrinter", "::", "emitCallInstruction", "(", "const", "MachineInstr", "*", "MI", ")", "{"], "ground_truth": ["}"], "File": "DLXAsmPrinter", "Func": "emitCallInstruction", "Target": "DLX", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 88046, "Length": 12, "Cover_Rate": 1.0} {"Template_token": ["", "void", "AsmPrinter", "::", "emitCallInstruction", "(", "const", "MachineInstr", "*", "MI", ")", "{"], "ground_truth": ["}"], "File": "DLXAsmPrinter", "Func": "emitCallInstruction", "Target": "DLX", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 88047, "Length": 12, "Cover_Rate": 1.0} {"Template_token": ["", "continue", ";", "}", "customEmitInstruction", "(", "&", "*", "I", ")", ";", "}", "while", "(", "(", "++", "I", "!=", "E", ")", "&&", "I", "->", "isInsideBundle", "(", ")", ")", ";"], "ground_truth": ["}"], "File": "DLXAsmPrinter", "Func": "EmitInstruction", "Target": "DLX", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 88048, "Length": 28, "Cover_Rate": 0.3373493975903614} {"Template_token": ["", "emitCallInstruction", "(", "&", "*", "I", ")", ";", "continue", ";", "}", "customEmitInstruction", "(", "&", "*", "I", ")", ";", "}", "while", "(", "(", "++", "I", "!=", "E", ")", "&&", "I", "->", "isInsideBundle", "(", ")", ")", ";"], "ground_truth": ["}"], "File": "DLXAsmPrinter", "Func": "EmitInstruction", "Target": "DLX", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 88049, "Length": 35, "Cover_Rate": 0.42168674698795183} {"Template_token": ["", "return", "", ";"], "ground_truth": ["}"], "File": "DLXAsmPrinter", "Func": "getPassName", "Target": "DLX", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 88050, "Length": 4, "Cover_Rate": 0.36363636363636365} {"Template_token": ["", "const", "MachineBasicBlock", "*", "Pred", "=", "*", "MBB", "->", "pred_begin", "(", ")", ";", "if", "(", "const", "BasicBlock", "*", "B", "=", "Pred", "->", "getBasicBlock", "(", ")", ")", "if", "(", "isa", "<", "SwitchInst", ">", "(", "B", "->", "getTerminator", "(", ")", ")", ")", "return", "false", ";", "if", "(", "!", "AsmPrinter", "::", "isBlockOnlyReachableByFallthrough", "(", "MBB", ")", ")", "return", "false", ";", "MachineBasicBlock", "::", "const_iterator", "I", "=", "Pred", "->", "end", "(", ")", ";", "while", "(", "I", "!=", "Pred", "->", "begin", "(", ")", "&&", "!", "(", "--", "I", ")", "->", "isTerminator", "(", ")", ")", "{", "}"], "ground_truth": ["return", "!", "I", "->", "isBarrier", "(", ")", ";"], "File": "DLXAsmPrinter", "Func": "isBlockOnlyReachableByFallthrough", "Target": "DLX", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 88051, "Length": 96, "Cover_Rate": 0.8807339449541285} {"Template_token": ["", "void", "LLVMInitializeAsmPrinter", "(", ")", "{"], "ground_truth": ["RegisterAsmPrinter", "<", "AsmPrinter", ">", "X", "(", "getTheTarget", "(", ")", ")", ";"], "File": "DLXAsmPrinter", "Func": "LLVMInitializeDLXAsmPrinter", "Target": "DLX", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 88052, "Length": 16, "Cover_Rate": 0.9411764705882353} {"Template_token": ["", "RegisterAsmPrinter", "<", "AsmPrinter", ">", "X", "(", "getTheTarget", "(", ")", ")", ";"], "ground_truth": ["}"], "File": "DLXAsmPrinter", "Func": "LLVMInitializeDLXAsmPrinter", "Target": "DLX", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 88053, "Length": 12, "Cover_Rate": 0.7058823529411765} {"Template_token": ["", "if", "(", "OpNo", "==", "", ")", "return", "true", ";", "const", "MachineOperand", "&", "FlagsOP", "=", "MI", "->", "getOperand", "(", "OpNo", "-", "", ")", ";", "if", "(", "!", "FlagsOP", ".", "isImm", "(", ")", ")", "return", "true", ";", "unsigned", "Flags", "=", "FlagsOP", ".", "getImm", "(", ")", ";", "unsigned", "NumVals", "=", "InlineAsm", "::", "getNumOperandRegisters", "(", "Flags", ")", ";", "if", "(", "NumVals", "!=", "", ")", "return", "true", ";", "unsigned", "RegOp", "=", "OpNo", "+", "", ";", "if", "(", "RegOp", ">=", "MI", "->", "getNumOperands", "(", ")", ")", "return", "true", ";", "const", "MachineOperand", "&", "MO", "=", "MI", "->", "getOperand", "(", "RegOp", ")", ";", "if", "(", "!", "MO", ".", "isReg", "(", ")", ")", "return", "true", ";", "unsigned", "Reg", "=", "MO", ".", "getReg", "(", ")", ";", "O", "<<", "InstPrinter", "::", "getRegisterName", "(", "Reg", ")", ";"], "ground_truth": ["return", "false", ";"], "File": "DLXAsmPrinter", "Func": "PrintAsmOperand", "Target": "DLX", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 88054, "Length": 128, "Cover_Rate": 0.6213592233009708} {"Template_token": ["", "case", "MachineOperand", "::", "MO_BlockAddress", ":", "{", "MCSymbol", "*", "BA", "=", "GetBlockAddressSymbol", "(", "MO", ".", "getBlockAddress", "(", ")", ")", ";", "O", "<<", "BA", "->", "getName", "(", ")", ";", "break", ";", "}", "case", "MachineOperand", "::", "MO_ExternalSymbol", ":", "O", "<<", "*", "GetExternalSymbolSymbol", "(", "MO", ".", "getSymbolName", "(", ")", ")", ";", "break", ";", "case", "MachineOperand", "::", "MO_JumpTableIndex", ":", "O", "<<", "MAI", "->", "getPrivateGlobalPrefix", "(", ")", "<<", "", "<<", "getFunctionNumber", "(", ")", "<<", "'_'", "<<", "MO", ".", "getIndex", "(", ")", ";", "break", ";"], "ground_truth": ["case", "MachineOperand", "::", "MO_ConstantPoolIndex", ":"], "File": "DLXAsmPrinter", "Func": "printOperand", "Target": "DLX", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 88055, "Length": 83, "Cover_Rate": 0.3624454148471616} {"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", "", ":"], "ground_truth": ["return", "", ";"], "File": "DLXBaseInfo", "Func": "getDLXRegisterNumbering", "Target": "DLX", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 88056, "Length": 102, "Cover_Rate": 0.3655913978494624} {"Template_token": ["", "inline", "static", "CondCode", "suffixToCondCode", "(", "StringRef", "S", ")", "{", "return", "StringSwitch", "<", "CondCode", ">", "(", "S", ")", ".", "EndsWith", "(", "", ",", "LPCC", "::", "ICC_F", ")", ".", "EndsWith", "(", "", ",", "LPCC", "::", "ICC_HI", ")", ".", "EndsWith", "(", "", ",", "LPCC", "::", "ICC_UGT", ")", ".", "EndsWith", "(", "", ",", "LPCC", "::", "ICC_LS", ")", ".", "EndsWith", "(", "", ",", "LPCC", "::", "ICC_ULE", ")", ".", "EndsWith", "(", "", ",", "LPCC", "::", "ICC_CC", ")", ".", "EndsWith", "(", "", ",", "LPCC", "::", "ICC_ULT", ")", ".", "EndsWith", "(", "", ",", "LPCC", "::", "ICC_CS", ")", ".", "EndsWith", "(", "", ",", "LPCC", "::", "ICC_UGE", ")", ".", "EndsWith", "(", "", ",", "LPCC", "::", "ICC_NE", ")", ".", "EndsWith", "(", "", ",", "LPCC", "::", "ICC_EQ", ")", ".", "EndsWith", "(", "", ",", "LPCC", "::", "ICC_VC", ")", ".", "EndsWith", "(", "", ",", "LPCC", "::", "ICC_VS", ")", ".", "EndsWith", "(", "", ",", "LPCC", "::", "ICC_PL", ")", ".", "EndsWith", "(", "", ",", "LPCC", "::", "ICC_MI", ")", ".", "EndsWith", "(", "", ",", "LPCC", "::", "ICC_GE", ")", ".", "EndsWith", "(", "", ",", "LPCC", "::", "ICC_LT", ")", ".", "EndsWith", "(", "", ",", "LPCC", "::", "ICC_GT", ")", ".", "EndsWith", "(", "", ",", "LPCC", "::", "ICC_LE", ")", ".", "EndsWith", "(", "", ",", "LPCC", "::", "ICC_T", ")", ".", "Default", "(", "LPCC", "::", "UNKNOWN", ")", ";"], "ground_truth": ["}"], "File": "DLXCondCode", "Func": "suffixToDLXCondCode", "Target": "DLX", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 88057, "Length": 206, "Cover_Rate": 1.0} {"Template_token": ["", "inline", "static", "CondCode", "suffixToCondCode", "(", "StringRef", "S", ")", "{", "return", "StringSwitch", "<", "CondCode", ">", "(", "S", ")", ".", "EndsWith", "(", "", ",", "LPCC", "::", "ICC_F", ")", ".", "EndsWith", "(", "", ",", "LPCC", "::", "ICC_HI", ")", ".", "EndsWith", "(", "", ",", "LPCC", "::", "ICC_UGT", ")", ".", "EndsWith", "(", "", ",", "LPCC", "::", "ICC_LS", ")", ".", "EndsWith", "(", "", ",", "LPCC", "::", "ICC_ULE", ")", ".", "EndsWith", "(", "", ",", "LPCC", "::", "ICC_CC", ")", ".", "EndsWith", "(", "", ",", "LPCC", "::", "ICC_ULT", ")", ".", "EndsWith", "(", "", ",", "LPCC", "::", "ICC_CS", ")", ".", "EndsWith", "(", "", ",", "LPCC", "::", "ICC_UGE", ")", ".", "EndsWith", "(", "", ",", "LPCC", "::", "ICC_NE", ")", ".", "EndsWith", "(", "", ",", "LPCC", "::", "ICC_EQ", ")", ".", "EndsWith", "(", "", ",", "LPCC", "::", "ICC_VC", ")", ".", "EndsWith", "(", "", ",", "LPCC", "::", "ICC_VS", ")", ".", "EndsWith", "(", "", ",", "LPCC", "::", "ICC_PL", ")", ".", "EndsWith", "(", "", ",", "LPCC", "::", "ICC_MI", ")", ".", "EndsWith", "(", "", ",", "LPCC", "::", "ICC_GE", ")", ".", "EndsWith", "(", "", ",", "LPCC", "::", "ICC_LT", ")", ".", "EndsWith", "(", "", ",", "LPCC", "::", "ICC_GT", ")", ".", "EndsWith", "(", "", ",", "LPCC", "::", "ICC_LE", ")", ".", "EndsWith", "(", "", ",", "LPCC", "::", "ICC_T", ")", ".", "Default", "(", "LPCC", "::", "UNKNOWN", ")", ";"], "ground_truth": ["}"], "File": "DLXCondCode", "Func": "suffixToDLXCondCode", "Target": "DLX", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 88058, "Length": 206, "Cover_Rate": 1.0} {"Template_token": ["", "FunctionPass", "*", "llvm", "::", "createDelaySlotFillerPass", "(", "const", "TargetMachine", "&", ")", "{"], "ground_truth": ["return", "new", "Filler", "(", ")", ";"], "File": "DLXDelaySlotFiller", "Func": "createDLXDelaySlotFillerPass", "Target": "DLX", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 88059, "Length": 17, "Cover_Rate": 0.9444444444444444} {"Template_token": ["", "FunctionPass", "*", "llvm", "::", "createDelaySlotFillerPass", "(", "const", "TargetMachine", "&", ")", "{", "return", "new", "Filler", "(", ")", ";"], "ground_truth": ["}"], "File": "DLXDelaySlotFiller", "Func": "createDLXDelaySlotFillerPass", "Target": "DLX", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 88060, "Length": 18, "Cover_Rate": 1.0} {"Template_token": ["", "if", "(", "SawStore", ")", "return", "true", ";", "SawLoad", "=", "true", ";", "}", "if", "(", "MI", "->", "mayStore", "(", ")", ")", "{", "if", "(", "SawStore", ")", "return", "true", ";", "SawStore", "=", "true", ";", "if", "(", "SawLoad", ")", "return", "true", ";", "}", "assert", "(", "(", "!", "MI", "->", "isCall", "(", ")", "&&", "!", "MI", "->", "isReturn", "(", ")", ")", "&&", "", ")", ";", "for", "(", "unsigned", "I", "=", "", ",", "E", "=", "MI", "->", "getNumOperands", "(", ")", ";", "I", "!=", "E", ";", "++", "I", ")", "{", "const", "MachineOperand", "&", "MO", "=", "MI", "->", "getOperand", "(", "I", ")", ";", "unsigned", "Reg", ";", "if", "(", "!", "MO", ".", "isReg", "(", ")", "||", "!", "(", "Reg", "=", "MO", ".", "getReg", "(", ")", ")", ")", "continue", ";", "if", "(", "MO", ".", "isDef", "(", ")", ")", "{", "if", "(", "isRegInSet", "(", "RegDefs", ",", "Reg", ")", "||", "isRegInSet", "(", "RegUses", ",", "Reg", ")", ")", "return", "true", ";", "}"], "ground_truth": ["if", "(", "MO", ".", "isUse", "(", ")", ")", "{"], "File": "DLXDelaySlotFiller", "Func": "delayHasHazard", "Target": "DLX", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 88061, "Length": 159, "Cover_Rate": 0.6625} {"Template_token": ["", "explicit", "Filler", "(", ")", ":", "MachineFunctionPass", "(", "ID", ")", "{"], "ground_truth": ["}"], "File": "DLXDelaySlotFiller", "Func": "Filler", "Target": "DLX", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 88062, "Length": 11, "Cover_Rate": 1.0} {"Template_token": ["", "explicit", "Filler", "(", ")", ":", "MachineFunctionPass", "(", "ID", ")", "{"], "ground_truth": ["}"], "File": "DLXDelaySlotFiller", "Func": "Filler", "Target": "DLX", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 88063, "Length": 11, "Cover_Rate": 1.0} {"Template_token": ["", "insertDefsUses", "(", "Slot", ",", "RegDefs", ",", "RegUses", ")", ";", "bool", "SawLoad", "=", "false", ";", "bool", "SawStore", "=", "false", ";", "for", "(", "MachineBasicBlock", "::", "reverse_instr_iterator", "I", "=", "++", "Slot", ".", "getReverse", "(", ")", ";", "I", "!=", "MBB", ".", "instr_rend", "(", ")", ";", "++", "I", ")", "{", "if", "(", "I", "->", "isDebugInstr", "(", ")", ")", "continue", ";", "MachineBasicBlock", "::", "instr_iterator", "FI", "=", "I", ".", "getReverse", "(", ")", ";", "if", "(", "I", "->", "hasUnmodeledSideEffects", "(", ")", "||", "I", "->", "isInlineAsm", "(", ")", "||", "I", "->", "isLabel", "(", ")", "||", "FI", "==", "LastFiller", "||", "I", "->", "isPseudo", "(", ")", ")", "break", ";", "if", "(", "delayHasHazard", "(", "FI", ",", "SawLoad", ",", "SawStore", ",", "RegDefs", ",", "RegUses", ")", ")", "{", "insertDefsUses", "(", "FI", ",", "RegDefs", ",", "RegUses", ")", ";", "continue", ";", "}", "Filler", "=", "FI", ";"], "ground_truth": ["return", "true", ";"], "File": "DLXDelaySlotFiller", "Func": "findDelayInstr", "Target": "DLX", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 88064, "Length": 133, "Cover_Rate": 0.76} {"Template_token": ["", "return", "", ";"], "ground_truth": ["}"], "File": "DLXDelaySlotFiller", "Func": "getPassName", "Target": "DLX", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 88065, "Length": 4, "Cover_Rate": 0.36363636363636365} {"Template_token": ["", "MachineFunctionProperties", "getRequiredProperties", "(", ")", "const", "override", "{"], "ground_truth": ["return", "MachineFunctionProperties", "(", ")", ".", "set", "(", "MachineFunctionProperties", "::", "Property", "::", "NoVRegs", ")", ";"], "File": "DLXDelaySlotFiller", "Func": "getRequiredProperties", "Target": "DLX", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 88066, "Length": 21, "Cover_Rate": 0.9545454545454546} {"Template_token": ["", "MachineFunctionProperties", "getRequiredProperties", "(", ")", "const", "override", "{"], "ground_truth": ["return", "MachineFunctionProperties", "(", ")", ".", "set", "(", "MachineFunctionProperties", "::", "Property", "::", "NoVRegs", ")", ";"], "File": "DLXDelaySlotFiller", "Func": "getRequiredProperties", "Target": "DLX", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 88067, "Length": 21, "Cover_Rate": 0.9545454545454546} {"Template_token": ["", "if", "(", "MO", ".", "isDef", "(", ")", ")", "RegDefs", ".", "insert", "(", "Reg", ")", ";", "else", "if", "(", "MO", ".", "isUse", "(", ")", ")", "RegUses", ".", "insert", "(", "Reg", ")", ";", "}", "if", "(", "MI", "->", "isCall", "(", ")", "||", "MI", "->", "isReturn", "(", ")", ")", "RegDefs", ".", "insert", "(", "", ")", ";"], "ground_truth": ["}"], "File": "DLXDelaySlotFiller", "Func": "insertDefsUses", "Target": "DLX", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 88068, "Length": 54, "Cover_Rate": 0.31213872832369943} {"Template_token": ["", "const", "MachineOperand", "&", "MO", "=", "MI", "->", "getOperand", "(", "I", ")", ";", "unsigned", "Reg", ";", "if", "(", "!", "MO", ".", "isReg", "(", ")", "||", "!", "(", "Reg", "=", "MO", ".", "getReg", "(", ")", ")", ")", "continue", ";", "if", "(", "MO", ".", "isDef", "(", ")", ")", "RegDefs", ".", "insert", "(", "Reg", ")", ";"], "ground_truth": ["else", "if", "(", "MO", ".", "isUse", "(", ")", ")", "RegUses", ".", "insert", "(", "Reg", ")", ";"], "File": "DLXDelaySlotFiller", "Func": "insertDefsUses", "Target": "DLX", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 88069, "Length": 68, "Cover_Rate": 0.3930635838150289} {"Template_token": ["", "for", "(", "MCRegAliasIterator", "AI", "(", "Reg", ",", "TRI", ",", "true", ")", ";", "AI", ".", "isValid", "(", ")", ";", "++", "AI", ")", "if", "(", "RegSet", ".", "count", "(", "*", "AI", ")", ")", "return", "true", ";"], "ground_truth": ["return", "false", ";"], "File": "DLXDelaySlotFiller", "Func": "isRegInSet", "Target": "DLX", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 88070, "Length": 37, "Cover_Rate": 0.6607142857142857} {"Template_token": ["", "bool", "Filler", "::", "runOnMachineBasicBlock", "(", "MachineBasicBlock", "&", "MBB", ")", "{", "bool", "Changed", "=", "false", ";", "return", "Changed", ";"], "ground_truth": ["}"], "File": "DLXDelaySlotFiller", "Func": "runOnMachineBasicBlock", "Target": "DLX", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 88071, "Length": 19, "Cover_Rate": 1.0} {"Template_token": ["", "bool", "Filler", "::", "runOnMachineBasicBlock", "(", "MachineBasicBlock", "&", "MBB", ")", "{"], "ground_truth": ["bool", "Changed", "=", "false", ";"], "File": "DLXDelaySlotFiller", "Func": "runOnMachineBasicBlock", "Target": "DLX", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 88072, "Length": 15, "Cover_Rate": 0.7894736842105263} {"Template_token": ["", "TRI", "=", "Subtarget", ".", "getRegisterInfo", "(", ")", ";", "bool", "Changed", "=", "false", ";", "for", "(", "MachineFunction", "::", "iterator", "FI", "=", "MF", ".", "begin", "(", ")", ",", "FE", "=", "MF", ".", "end", "(", ")", ";", "FI", "!=", "FE", ";", "++", "FI", ")", "Changed", "|=", "runOnMachineBasicBlock", "(", "*", "FI", ")", ";"], "ground_truth": ["return", "Changed", ";"], "File": "DLXDelaySlotFiller", "Func": "runOnMachineFunction", "Target": "DLX", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 88073, "Length": 52, "Cover_Rate": 0.6190476190476191} {"Template_token": ["", "bool", "runOnMachineFunction", "(", "MachineFunction", "&", "MF", ")", "override", "{", "const", "Subtarget", "&", "Subtarget", "=", "MF", ".", "getSubtarget", "<", "Subtarget", ">", "(", ")", ";", "TII", "=", "Subtarget", ".", "getInstrInfo", "(", ")", ";", "TRI", "=", "Subtarget", ".", "getRegisterInfo", "(", ")", ";", "bool", "Changed", "=", "false", ";", "for", "(", "MachineFunction", "::", "iterator", "FI", "=", "MF", ".", "begin", "(", ")", ",", "FE", "=", "MF", ".", "end", "(", ")", ";", "FI", "!=", "FE", ";", "++", "FI", ")", "Changed", "|=", "runOnMachineBasicBlock", "(", "*", "FI", ")", ";", "return", "Changed", ";"], "ground_truth": ["}"], "File": "DLXDelaySlotFiller", "Func": "runOnMachineFunction", "Target": "DLX", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 88074, "Length": 84, "Cover_Rate": 1.0} {"Template_token": ["", "static", "MCDisassembler", "*", "createDisassembler", "(", "const", "Target", "&", ",", "const", "MCSubtargetInfo", "&", "STI", ",", "MCContext", "&", "Ctx", ")", "{", "return", "new", "Disassembler", "(", "STI", ",", "Ctx", ")", ";"], "ground_truth": ["}"], "File": "DLXDisassembler", "Func": "createDLXDisassembler", "Target": "DLX", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 88075, "Length": 29, "Cover_Rate": 1.0} {"Template_token": ["", "if", "(", "!", "tryAddingSymbolicOperand", "(", "Insn", "+", "Address", ",", "false", ",", "Address", ",", "", ",", "", ",", "MI", ",", "Decoder", ")", ")", "MI", ".", "addOperand", "(", "MCOperand", "::", "createImm", "(", "Insn", ")", ")", ";"], "ground_truth": ["return", "MCDisassembler", "::", "Success", ";"], "File": "DLXDisassembler", "Func": "decodeBranch", "Target": "DLX", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 88077, "Length": 39, "Cover_Rate": 0.65} {"Template_token": ["", "if", "(", "!", "tryAddingSymbolicOperand", "(", "Insn", "+", "Address", ",", "false", ",", "Address", ",", "", ",", "", ",", "MI", ",", "Decoder", ")", ")", "MI", ".", "addOperand", "(", "MCOperand", "::", "createImm", "(", "Insn", ")", ")", ";"], "ground_truth": ["return", "MCDisassembler", "::", "Success", ";"], "File": "DLXDisassembler", "Func": "decodeBranch", "Target": "DLX", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 88078, "Length": 39, "Cover_Rate": 0.65} {"Template_token": ["", "DecodeStatus", "DecodeGPRRegisterClass", "(", "MCInst", "&", "Inst", ",", "unsigned", "RegNo", ",", "uint64_t", ",", "const", "void", "*", ")", "{", "if", "(", "RegNo", ">", "", ")", "return", "MCDisassembler", "::", "Fail", ";", "unsigned", "Reg", "=", "GPRDecoderTable", "[", "RegNo", "]", ";"], "ground_truth": ["Inst", ".", "addOperand", "(", "MCOperand", "::", "createReg", "(", "Reg", ")", ")", ";"], "File": "DLXDisassembler", "Func": "DecodeGPRRegisterClass", "Target": "DLX", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 88079, "Length": 48, "Cover_Rate": 0.8888888888888888} {"Template_token": ["", "unsigned", "Reg", "=", "GPRDecoderTable", "[", "RegNo", "]", ";", "Inst", ".", "addOperand", "(", "MCOperand", "::", "createReg", "(", "Reg", ")", ")", ";", "return", "MCDisassembler", "::", "Success", ";"], "ground_truth": ["}"], "File": "DLXDisassembler", "Func": "DecodeGPRRegisterClass", "Target": "DLX", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 88080, "Length": 26, "Cover_Rate": 0.48148148148148145} {"Template_token": ["", "static", "DecodeStatus", "decodePredicateOperand", "(", "MCInst", "&", "Inst", ",", "unsigned", "Val", ",", "uint64_t", "Address", ",", "const", "void", "*", "Decoder", ")", "{", "if", "(", "Val", ">=", "LPCC", "::", "UNKNOWN", ")", "return", "MCDisassembler", "::", "Fail", ";", "Inst", ".", "addOperand", "(", "MCOperand", "::", "createImm", "(", "Val", ")", ")", ";", "return", "MCDisassembler", "::", "Success", ";"], "ground_truth": ["}"], "File": "DLXDisassembler", "Func": "decodePredicateOperand", "Target": "DLX", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 88081, "Length": 51, "Cover_Rate": 1.0} {"Template_token": ["", "unsigned", "Offset", "=", "(", "Insn", "&", "", ")", ";", "Inst", ".", "addOperand", "(", "MCOperand", "::", "createImm", "(", "SignExtend32", "<", "", ">", "(", "Offset", ")", ")", ")", ";"], "ground_truth": ["return", "MCDisassembler", "::", "Success", ";"], "File": "DLXDisassembler", "Func": "decodeRiMemoryValue", "Target": "DLX", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 88082, "Length": 32, "Cover_Rate": 0.4050632911392405} {"Template_token": ["", "unsigned", "Register", "=", "(", "Insn", ">>", "", ")", "&", "", ";"], "ground_truth": ["Inst", ".", "addOperand", "(", "MCOperand", "::", "createReg", "(", "GPRDecoderTable", "[", "Register", "]", ")", ")", ";"], "File": "DLXDisassembler", "Func": "decodeRiMemoryValue", "Target": "DLX", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 88083, "Length": 26, "Cover_Rate": 0.3291139240506329} {"Template_token": ["", "Register", "=", "(", "Insn", ">>", "", ")", "&", "", ";", "Inst", ".", "addOperand", "(", "MCOperand", "::", "createReg", "(", "GPRDecoderTable", "[", "Register", "]", ")", ")", ";", "return", "MCDisassembler", "::", "Success", ";"], "ground_truth": ["}"], "File": "DLXDisassembler", "Func": "decodeRrMemoryValue", "Target": "DLX", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 88084, "Length": 31, "Cover_Rate": 0.4025974025974026} {"Template_token": ["", "Inst", ".", "addOperand", "(", "MCOperand", "::", "createImm", "(", "SignExtend32", "<", "", ">", "(", "Offset", ")", ")", ")", ";", "return", "MCDisassembler", "::", "Success", ";"], "ground_truth": ["}"], "File": "DLXDisassembler", "Func": "decodeShiftImm", "Target": "DLX", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 88085, "Length": 24, "Cover_Rate": 0.4528301886792453} {"Template_token": ["", "static", "DecodeStatus", "decodeShiftImm", "(", "MCInst", "&", "Inst", ",", "unsigned", "Insn", ",", "uint64_t", "Address", ",", "const", "void", "*", "Decoder", ")", "{", "unsigned", "Offset", "=", "(", "Insn", "&", "", ")", ";", "Inst", ".", "addOperand", "(", "MCOperand", "::", "createImm", "(", "SignExtend32", "<", "", ">", "(", "Offset", ")", ")", ")", ";", "return", "MCDisassembler", "::", "Success", ";"], "ground_truth": ["}"], "File": "DLXDisassembler", "Func": "decodeShiftImm", "Target": "DLX", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 88086, "Length": 53, "Cover_Rate": 1.0} {"Template_token": ["", "Inst", ".", "addOperand", "(", "MCOperand", "::", "createReg", "(", "GPRDecoderTable", "[", "Register", "]", ")", ")", ";", "unsigned", "Offset", "=", "(", "Insn", "&", "", ")", ";", "Inst", ".", "addOperand", "(", "MCOperand", "::", "createImm", "(", "SignExtend32", "<", "", ">", "(", "Offset", ")", ")", ")", ";", "return", "MCDisassembler", "::", "Success", ";"], "ground_truth": ["}"], "File": "DLXDisassembler", "Func": "decodeSplsValue", "Target": "DLX", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 88087, "Length": 48, "Cover_Rate": 0.6075949367088608} {"Template_token": ["", "unsigned", "Register", "=", "(", "Insn", ">>", "", ")", "&", "", ";", "Inst", ".", "addOperand", "(", "MCOperand", "::", "createReg", "(", "GPRDecoderTable", "[", "Register", "]", ")", ")", ";"], "ground_truth": ["unsigned", "Offset", "=", "(", "Insn", "&", "", ")", ";"], "File": "DLXDisassembler", "Func": "decodeSplsValue", "Target": "DLX", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 88088, "Length": 35, "Cover_Rate": 0.4430379746835443} {"Template_token": ["", "Disassembler", "::", "Disassembler", "(", "const", "MCSubtargetInfo", "&", "STI", ",", "MCContext", "&", "Ctx", ")", ":", "MCDisassembler", "(", "STI", ",", "Ctx", ")", "{"], "ground_truth": ["}"], "File": "DLXDisassembler", "Func": "DLXDisassembler", "Target": "DLX", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 88089, "Length": 22, "Cover_Rate": 1.0} {"Template_token": ["", "Disassembler", "::", "Disassembler", "(", "const", "MCSubtargetInfo", "&", "STI", ",", "MCContext", "&", "Ctx", ")", ":", "MCDisassembler", "(", "STI", ",", "Ctx", ")", "{"], "ground_truth": ["}"], "File": "DLXDisassembler", "Func": "DLXDisassembler", "Target": "DLX", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 88090, "Length": 22, "Cover_Rate": 1.0} {"Template_token": ["", "if", "(", "Result", "==", "MCDisassembler", "::", "Fail", ")", "return", "MCDisassembler", "::", "Fail", ";", "Result", "=", "decodeInstruction", "(", "DecoderTable32", ",", "Instr", ",", "Insn", ",", "Address", ",", "this", ",", "STI", ")", ";", "if", "(", "Result", "!=", "MCDisassembler", "::", "Fail", ")", "{", "PostOperandDecodeAdjust", "(", "Instr", ",", "Insn", ")", ";", "Size", "=", "", ";", "return", "Result", ";"], "ground_truth": ["}"], "File": "DLXDisassembler", "Func": "getInstruction", "Target": "DLX", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 88091, "Length": 54, "Cover_Rate": 0.5142857142857142} {"Template_token": ["", "void", "LLVMInitializeDisassembler", "(", ")", "{", "TargetRegistry", "::", "RegisterMCDisassembler", "(", "getTheTarget", "(", ")", ",", "createDisassembler", ")", ";"], "ground_truth": ["}"], "File": "DLXDisassembler", "Func": "LLVMInitializeDLXDisassembler", "Target": "DLX", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 88092, "Length": 17, "Cover_Rate": 1.0} {"Template_token": ["", "void", "LLVMInitializeDisassembler", "(", ")", "{"], "ground_truth": ["TargetRegistry", "::", "RegisterMCDisassembler", "(", "getTheTarget", "(", ")", ",", "createDisassembler", ")", ";"], "File": "DLXDisassembler", "Func": "LLVMInitializeDLXDisassembler", "Target": "DLX", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 88093, "Length": 16, "Cover_Rate": 0.9411764705882353} {"Template_token": ["", "static", "void", "PostOperandDecodeAdjust", "(", "MCInst", "&", "Instr", ",", "uint32_t", "Insn", ")", "{"], "ground_truth": ["}"], "File": "DLXDisassembler", "Func": "PostOperandDecodeAdjust", "Target": "DLX", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 88094, "Length": 13, "Cover_Rate": 1.0} {"Template_token": ["", "static", "void", "PostOperandDecodeAdjust", "(", "MCInst", "&", "Instr", ",", "uint32_t", "Insn", ")", "{"], "ground_truth": ["}"], "File": "DLXDisassembler", "Func": "PostOperandDecodeAdjust", "Target": "DLX", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 88095, "Length": 13, "Cover_Rate": 1.0} {"Template_token": ["", "return", "MCDisassembler", "::", "Fail", ";", "}", "Insn", "=", "(", "Bytes", "[", "", "]", "<<", "", ")", "|", "(", "Bytes", "[", "", "]", "<<", "", ")", "|", "(", "Bytes", "[", "", "]", "<<", "", ")", "|", "(", "Bytes", "[", "", "]", "<<", "", ")", ";"], "ground_truth": ["return", "MCDisassembler", "::", "Success", ";"], "File": "DLXDisassembler", "Func": "readInstruction32", "Target": "DLX", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 88096, "Length": 49, "Cover_Rate": 0.5833333333333334} {"Template_token": ["", "const", "MCDisassembler", "*", "Dis", "=", "static_cast", "<", "const", "MCDisassembler", "*", ">", "(", "Decoder", ")", ";", "return", "Dis", "->", "tryAddingSymbolicOperand", "(", "MI", ",", "Value", ",", "Address", ",", "IsBranch", ",", "Offset", ",", "Width", ")", ";"], "ground_truth": ["}"], "File": "DLXDisassembler", "Func": "tryAddingSymbolicOperand", "Target": "DLX", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 88098, "Length": 34, "Cover_Rate": 0.5396825396825397} {"Template_token": ["", "const", "MCDisassembler", "*", "Dis", "=", "static_cast", "<", "const", "MCDisassembler", "*", ">", "(", "Decoder", ")", ";", "return", "Dis", "->", "tryAddingSymbolicOperand", "(", "MI", ",", "Value", ",", "Address", ",", "IsBranch", ",", "Offset", ",", "Width", ")", ";"], "ground_truth": ["}"], "File": "DLXDisassembler", "Func": "tryAddingSymbolicOperand", "Target": "DLX", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 88099, "Length": 34, "Cover_Rate": 0.5396825396825397} {"Template_token": ["", "std", "::", "unique_ptr", "<", "MCObjectTargetWriter", ">", "llvm", "::", "createELFObjectWriter", "(", "uint8_t", "OSABI", ")", "{", "return", "llvm", "::", "make_unique", "<", "ELFObjectWriter", ">", "(", "OSABI", ")", ";"], "ground_truth": ["}"], "File": "DLXELFObjectWriter", "Func": "createDLXELFObjectWriter", "Target": "DLX", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 88100, "Length": 26, "Cover_Rate": 1.0} {"Template_token": ["", "std", "::", "unique_ptr", "<", "MCObjectTargetWriter", ">", "llvm", "::", "createELFObjectWriter", "(", "uint8_t", "OSABI", ")", "{"], "ground_truth": ["return", "llvm", "::", "make_unique", "<", "ELFObjectWriter", ">", "(", "OSABI", ")", ";"], "File": "DLXELFObjectWriter", "Func": "createDLXELFObjectWriter", "Target": "DLX", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 88101, "Length": 25, "Cover_Rate": 0.9615384615384616} {"Template_token": ["", "ELFObjectWriter", "::", "ELFObjectWriter", "(", "uint8_t", "OSABI", ")", ":", "MCELFObjectTargetWriter", "(", "false", ",", "OSABI", ",", "ELF", "::", "EM_", ",", "true", ")", "{"], "ground_truth": ["}"], "File": "DLXELFObjectWriter", "Func": "DLXELFObjectWriter", "Target": "DLX", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 88102, "Length": 22, "Cover_Rate": 1.0} {"Template_token": ["", "ELFObjectWriter", "::", "ELFObjectWriter", "(", "uint8_t", "OSABI", ")", ":", "MCELFObjectTargetWriter", "(", "false", ",", "OSABI", ",", "ELF", "::", "EM_", ",", "true", ")", "{"], "ground_truth": ["}"], "File": "DLXELFObjectWriter", "Func": "DLXELFObjectWriter", "Target": "DLX", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 88103, "Length": 22, "Cover_Rate": 1.0} {"Template_token": ["", "unsigned", "Kind", "=", "static_cast", "<", "unsigned", ">", "(", "Fixup", ".", "getKind", "(", ")", ")", ";", "switch", "(", "Kind", ")", "{", "case", "", ":", "Type", "=", "ELF", "::", "R__21", ";", "break", ";", "case", "", ":", "Type", "=", "ELF", "::", "R__21_F", ";", "break", ";", "case", "", ":", "Type", "=", "ELF", "::", "R__25", ";", "break", ";", "case", "", ":", "case", "FK_Data_4", ":", "Type", "=", "ELF", "::", "R__32", ";", "break", ";", "case", "", ":", "Type", "=", "ELF", "::", "R__HI16", ";", "break", ";", "case", "", ":"], "ground_truth": ["Type", "=", "ELF", "::", "R__LO16", ";"], "File": "DLXELFObjectWriter", "Func": "getRelocType", "Target": "DLX", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 88104, "Length": 87, "Cover_Rate": 0.58} {"Template_token": ["", "case", "", ":", "case", "FK_Data_4", ":", "Type", "=", "ELF", "::", "R__32", ";", "break", ";", "case", "", ":", "Type", "=", "ELF", "::", "R__HI16", ";", "break", ";", "case", "", ":", "Type", "=", "ELF", "::", "R__LO16", ";", "break", ";", "case", "", ":", "Type", "=", "ELF", "::", "R__NONE", ";", "break", ";", "default", ":", "llvm_unreachable", "(", "", ")", ";", "}"], "ground_truth": ["return", "Type", ";"], "File": "DLXELFObjectWriter", "Func": "getRelocType", "Target": "DLX", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 88105, "Length": 58, "Cover_Rate": 0.38666666666666666} {"Template_token": ["", "case", "ELF", "::", "R__21", ":", "case", "ELF", "::", "R__21_F", ":", "case", "ELF", "::", "R__25", ":", "case", "ELF", "::", "R__32", ":", "case", "ELF", "::", "R__HI16", ":", "return", "true", ";", "default", ":", "return", "false", ";", "}"], "ground_truth": ["}"], "File": "DLXELFObjectWriter", "Func": "needsRelocateWithSymbol", "Target": "DLX", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 88106, "Length": 35, "Cover_Rate": 0.6481481481481481} {"Template_token": ["", "const", "RegisterInfo", "*", "LRI", "=", "static_cast", "<", "const", "RegisterInfo", "*", ">", "(", "STI", ".", "getRegisterInfo", "(", ")", ")", ";", "int", "Offset", "=", "-", "", ";", "MFI", ".", "CreateFixedObject", "(", "", ",", "Offset", ",", "true", ")", ";", "Offset", "-=", "", ";"], "ground_truth": ["MFI", ".", "CreateFixedObject", "(", "", ",", "Offset", ",", "true", ")", ";"], "File": "DLXFrameLowering", "Func": "determineCalleeSaves", "Target": "DLX", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 88107, "Length": 51, "Cover_Rate": 0.3953488372093023} {"Template_token": ["", "unsigned", "StackAlign", "=", "LRI", "->", "needsStackRealignment", "(", "MF", ")", "?", "MFI", ".", "getMaxAlignment", "(", ")", ":", "getStackAlignment", "(", ")", ";", "unsigned", "MaxCallFrameSize", "=", "MFI", ".", "getMaxCallFrameSize", "(", ")", ";", "if", "(", "MFI", ".", "hasVarSizedObjects", "(", ")", ")", "MaxCallFrameSize", "=", "alignTo", "(", "MaxCallFrameSize", ",", "StackAlign", ")", ";", "MFI", ".", "setMaxCallFrameSize", "(", "MaxCallFrameSize", ")", ";", "if", "(", "!", "(", "hasReservedCallFrame", "(", "MF", ")", "&&", "MFI", ".", "adjustsStack", "(", ")", ")", ")", "FrameSize", "+=", "MaxCallFrameSize", ";", "FrameSize", "=", "alignTo", "(", "FrameSize", ",", "StackAlign", ")", ";"], "ground_truth": ["MFI", ".", "setStackSize", "(", "FrameSize", ")", ";"], "File": "DLXFrameLowering", "Func": "determineFrameLayout", "Target": "DLX", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 88108, "Length": 89, "Cover_Rate": 0.6793893129770993} {"Template_token": ["", "explicit", "FrameLowering", "(", "const", "Subtarget", "&", "Subtarget", ")", ":", "TargetFrameLowering", "(", "StackGrowsDown", ",", "", ",", "", ")", ",", "STI", "(", "Subtarget", ")", "{"], "ground_truth": ["}"], "File": "DLXFrameLowering", "Func": "DLXFrameLowering", "Target": "DLX", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 88109, "Length": 24, "Cover_Rate": 1.0} {"Template_token": ["", "explicit", "FrameLowering", "(", "const", "Subtarget", "&", "Subtarget", ")", ":", "TargetFrameLowering", "(", "StackGrowsDown", ",", "", ",", "", ")", ",", "STI", "(", "Subtarget", ")", "{"], "ground_truth": ["}"], "File": "DLXFrameLowering", "Func": "DLXFrameLowering", "Target": "DLX", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 88110, "Length": 24, "Cover_Rate": 1.0} {"Template_token": ["", "MachineBasicBlock", "::", "iterator", "FrameLowering", "::", "eliminateCallFramePseudoInstr", "(", "MachineFunction", "&", ",", "MachineBasicBlock", "&", "MBB", ",", "MachineBasicBlock", "::", "iterator", "I", ")", "const", "{", "return", "MBB", ".", "erase", "(", "I", ")", ";"], "ground_truth": ["}"], "File": "DLXFrameLowering", "Func": "eliminateCallFramePseudoInstr", "Target": "DLX", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 88111, "Length": 30, "Cover_Rate": 1.0} {"Template_token": ["", "void", "FrameLowering", "::", "emitEpilogue", "(", "MachineFunction", "&", ",", "MachineBasicBlock", "&", "MBB", ")", "const", "{"], "ground_truth": ["}"], "File": "DLXFrameLowering", "Func": "emitEpilogue", "Target": "DLX", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 88112, "Length": 15, "Cover_Rate": 1.0} {"Template_token": ["", "void", "FrameLowering", "::", "emitEpilogue", "(", "MachineFunction", "&", ",", "MachineBasicBlock", "&", "MBB", ")", "const", "{"], "ground_truth": ["}"], "File": "DLXFrameLowering", "Func": "emitEpilogue", "Target": "DLX", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 88113, "Length": 15, "Cover_Rate": 1.0} {"Template_token": ["", "void", "FrameLowering", "::", "emitPrologue", "(", "MachineFunction", "&", "MF", ",", "MachineBasicBlock", "&", "MBB", ")", "const", "{"], "ground_truth": ["}"], "File": "DLXFrameLowering", "Func": "emitPrologue", "Target": "DLX", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 88114, "Length": 16, "Cover_Rate": 1.0} {"Template_token": ["", "void", "FrameLowering", "::", "emitPrologue", "(", "MachineFunction", "&", "MF", ",", "MachineBasicBlock", "&", "MBB", ")", "const", "{"], "ground_truth": ["}"], "File": "DLXFrameLowering", "Func": "emitPrologue", "Target": "DLX", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 88115, "Length": 16, "Cover_Rate": 1.0} {"Template_token": ["", "bool", "hasFP", "(", "const", "MachineFunction", "&", ")", "const", "override", "{", "return", "true", ";"], "ground_truth": ["}"], "File": "DLXFrameLowering", "Func": "hasFP", "Target": "DLX", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 88116, "Length": 14, "Cover_Rate": 1.0} {"Template_token": ["", "bool", "hasFP", "(", "const", "MachineFunction", "&", ")", "const", "override", "{"], "ground_truth": ["return", "true", ";"], "File": "DLXFrameLowering", "Func": "hasFP", "Target": "DLX", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 88117, "Length": 13, "Cover_Rate": 0.9285714285714286} {"Template_token": ["", "void", "FrameLowering", "::", "replaceAdjDynAllocPseudo", "(", "MachineFunction", "&", "MF", ")", "const", "{"], "ground_truth": ["}"], "File": "DLXFrameLowering", "Func": "replaceAdjDynAllocPseudo", "Target": "DLX", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 88118, "Length": 12, "Cover_Rate": 1.0} {"Template_token": ["", "void", "FrameLowering", "::", "replaceAdjDynAllocPseudo", "(", "MachineFunction", "&", "MF", ")", "const", "{"], "ground_truth": ["}"], "File": "DLXFrameLowering", "Func": "replaceAdjDynAllocPseudo", "Target": "DLX", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 88119, "Length": 12, "Cover_Rate": 1.0} {"Template_token": ["", "if", "(", "MI", "->", "getOperand", "(", "", ")", ".", "getImm", "(", ")", "<", "", ")", "return", "", ";"], "ground_truth": ["return", "", ";"], "File": "DLXInstPrinter", "Func": "decIncOperator", "Target": "DLX", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 88120, "Length": 21, "Cover_Rate": 0.65625} {"Template_token": ["", "InstPrinter", "(", "const", "MCAsmInfo", "&", "MAI", ",", "const", "MCInstrInfo", "&", "MII", ",", "const", "MCRegisterInfo", "&", "MRI", ")", ":", "MCInstPrinter", "(", "MAI", ",", "MII", ",", "MRI", ")", "{"], "ground_truth": ["}"], "File": "DLXInstPrinter", "Func": "DLXInstPrinter", "Target": "DLX", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 88121, "Length": 28, "Cover_Rate": 1.0} {"Template_token": ["", "InstPrinter", "(", "const", "MCAsmInfo", "&", "MAI", ",", "const", "MCInstrInfo", "&", "MII", ",", "const", "MCRegisterInfo", "&", "MRI", ")", ":", "MCInstPrinter", "(", "MAI", ",", "MII", ",", "MRI", ")", "{"], "ground_truth": ["}"], "File": "DLXInstPrinter", "Func": "DLXInstPrinter", "Target": "DLX", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 88122, "Length": 28, "Cover_Rate": 1.0} {"Template_token": ["", "unsigned", "AluCode", "=", "MI", "->", "getOperand", "(", "", ")", ".", "getImm", "(", ")", ";"], "ground_truth": ["return", "LPAC", "::", "isPostOp", "(", "AluCode", ")", "&&", "usesGivenOffset", "(", "MI", ",", "AddOffset", ")", ";"], "File": "DLXInstPrinter", "Func": "isPostIncrementForm", "Target": "DLX", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 88123, "Length": 29, "Cover_Rate": 0.6744186046511628} {"Template_token": ["", "static", "bool", "isPreIncrementForm", "(", "const", "MCInst", "*", "MI", ",", "int", "AddOffset", ")", "{", "unsigned", "AluCode", "=", "MI", "->", "getOperand", "(", "", ")", ".", "getImm", "(", ")", ";"], "ground_truth": ["return", "LPAC", "::", "isPreOp", "(", "AluCode", ")", "&&", "usesGivenOffset", "(", "MI", ",", "AddOffset", ")", ";"], "File": "DLXInstPrinter", "Func": "isPreIncrementForm", "Target": "DLX", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 88125, "Length": 42, "Cover_Rate": 0.9767441860465116} {"Template_token": ["", "if", "(", "CC", ">=", "LPCC", "::", "UNKNOWN", ")", "OS", "<<", "", ";"], "ground_truth": ["else", "OS", "<<", "CondCodeToString", "(", "CC", ")", ";"], "File": "DLXInstPrinter", "Func": "printCCOperand", "Target": "DLX", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 88129, "Length": 20, "Cover_Rate": 0.31746031746031744} {"Template_token": ["", "OS", "<<", "formatHex", "(", "(", "Op", ".", "getImm", "(", ")", "<<", "", ")", "|", "", ")", ";", "}", "else", "{"], "ground_truth": ["assert", "(", "Op", ".", "isExpr", "(", ")", "&&", "", ")", ";"], "File": "DLXInstPrinter", "Func": "printHi16AndImmOperand", "Target": "DLX", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 88130, "Length": 31, "Cover_Rate": 0.36046511627906974} {"Template_token": ["", "void", "InstPrinter", "::", "printInst", "(", "const", "MCInst", "*", "MI", ",", "raw_ostream", "&", "OS", ",", "StringRef", "Annotation", ",", "const", "MCSubtargetInfo", "&", ")", "{"], "ground_truth": ["if", "(", "!", "printAlias", "(", "MI", ",", "OS", ")", "&&", "!", "printAliasInstr", "(", "MI", ",", "OS", ")", ")", "printInstruction", "(", "MI", ",", "OS", ")", ";"], "File": "DLXInstPrinter", "Func": "printInst", "Target": "DLX", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 88131, "Length": 47, "Cover_Rate": 0.8545454545454545} {"Template_token": ["", "assert", "(", "Op", ".", "isExpr", "(", ")", "&&", "", ")", ";", "Op", ".", "getExpr", "(", ")", "->", "print", "(", "OS", ",", "&", "MAI", ")", ";"], "ground_truth": ["}"], "File": "DLXInstPrinter", "Func": "printLo16AndImmOperand", "Target": "DLX", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 88132, "Length": 26, "Cover_Rate": 0.3170731707317073} {"Template_token": ["", "const", "MCOperand", "&", "Op", "=", "MI", "->", "getOperand", "(", "OpNo", ")", ";", "if", "(", "Op", ".", "isImm", "(", ")", ")", "{", "OS", "<<", "formatHex", "(", "", "|", "Op", ".", "getImm", "(", ")", ")", ";", "}", "else", "{", "assert", "(", "Op", ".", "isExpr", "(", ")", "&&", "", ")", ";", "Op", ".", "getExpr", "(", ")", "->", "print", "(", "OS", ",", "&", "MAI", ")", ";", "}"], "ground_truth": ["}"], "File": "DLXInstPrinter", "Func": "printLo16AndImmOperand", "Target": "DLX", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 88133, "Length": 64, "Cover_Rate": 0.7804878048780488} {"Template_token": ["", "}", "else", "{", "assert", "(", "Op", ".", "isExpr", "(", ")", "&&", "", ")", ";", "OS", "<<", "'['", ";", "Op", ".", "getExpr", "(", ")", "->", "print", "(", "OS", ",", "&", "MAI", ")", ";"], "ground_truth": ["OS", "<<", "']'", ";"], "File": "DLXInstPrinter", "Func": "printMemImmOperand", "Target": "DLX", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 88134, "Length": 36, "Cover_Rate": 0.391304347826087} {"Template_token": ["", "}", "else", "{", "assert", "(", "Op", ".", "isExpr", "(", ")", "&&", "", ")", ";", "OS", "<<", "'['", ";"], "ground_truth": ["Op", ".", "getExpr", "(", ")", "->", "print", "(", "OS", ",", "&", "MAI", ")", ";"], "File": "DLXInstPrinter", "Func": "printMemImmOperand", "Target": "DLX", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 88135, "Length": 32, "Cover_Rate": 0.34782608695652173} {"Template_token": ["", "OS", "<<", "", ";", "if", "(", "LPAC", "::", "isPreOp", "(", "AluCode", ")", ")", "OS", "<<", "", ";", "OS", "<<", "", "<<", "InstPrinter", "::", "getRegisterName", "(", "RegOp", ".", "getReg", "(", ")", ")", ";"], "ground_truth": ["if", "(", "LPAC", "::", "isPostOp", "(", "AluCode", ")", ")", "OS", "<<", "", ";"], "File": "DLXInstPrinter", "Func": "printMemoryBaseRegister", "Target": "DLX", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 88136, "Length": 45, "Cover_Rate": 0.569620253164557} {"Template_token": ["", "assert", "(", "RegOp", ".", "isReg", "(", ")", "&&", "", ")", ";", "OS", "<<", "", ";"], "ground_truth": ["if", "(", "LPAC", "::", "isPreOp", "(", "AluCode", ")", ")", "OS", "<<", "", ";"], "File": "DLXInstPrinter", "Func": "printMemoryBaseRegister", "Target": "DLX", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 88137, "Length": 28, "Cover_Rate": 0.35443037974683544} {"Template_token": ["", "assert", "(", "(", "OffsetOp", ".", "isImm", "(", ")", "||", "OffsetOp", ".", "isExpr", "(", ")", ")", "&&", "", ")", ";", "if", "(", "OffsetOp", ".", "isImm", "(", ")", ")", "{", "assert", "(", "isInt", "<", "SizeInBits", ">", "(", "OffsetOp", ".", "getImm", "(", ")", ")", "&&", "", ")", ";"], "ground_truth": ["OS", "<<", "OffsetOp", ".", "getImm", "(", ")", ";"], "File": "DLXInstPrinter", "Func": "printMemoryImmediateOffset", "Target": "DLX", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 88138, "Length": 53, "Cover_Rate": 0.5955056179775281} {"Template_token": ["", "OS", "<<", "", "<<", "Opcode", "<<", "", "<<", "decIncOperator", "(", "MI", ")", "<<", "", "<<", "getRegisterName", "(", "MI", "->", "getOperand", "(", "", ")", ".", "getReg", "(", ")", ")", "<<", "", "<<", "getRegisterName", "(", "MI", "->", "getOperand", "(", "", ")", ".", "getReg", "(", ")", ")", ";", "return", "true", ";", "}"], "ground_truth": ["if", "(", "isPostIncrementForm", "(", "MI", ",", "AddOffset", ")", ")", "{"], "File": "DLXInstPrinter", "Func": "printMemoryLoadIncrement", "Target": "DLX", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 88139, "Length": 59, "Cover_Rate": 0.41843971631205673} {"Template_token": ["", "if", "(", "isPostIncrementForm", "(", "MI", ",", "AddOffset", ")", ")", "{", "OS", "<<", "", "<<", "Opcode", "<<", "", "<<", "getRegisterName", "(", "MI", "->", "getOperand", "(", "", ")", ".", "getReg", "(", ")", ")", "<<", "decIncOperator", "(", "MI", ")", "<<", "", "<<", "getRegisterName", "(", "MI", "->", "getOperand", "(", "", ")", ".", "getReg", "(", ")", ")", ";", "return", "true", ";", "}", "return", "false", ";"], "ground_truth": ["}"], "File": "DLXInstPrinter", "Func": "printMemoryLoadIncrement", "Target": "DLX", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 88140, "Length": 61, "Cover_Rate": 0.4326241134751773} {"Template_token": ["", "OS", "<<", "", "<<", "Opcode", "<<", "", "<<", "getRegisterName", "(", "MI", "->", "getOperand", "(", "", ")", ".", "getReg", "(", ")", ")", "<<", "", "<<", "decIncOperator", "(", "MI", ")", "<<", "", "<<", "getRegisterName", "(", "MI", "->", "getOperand", "(", "", ")", ".", "getReg", "(", ")", ")", "<<", "", ";", "return", "true", ";", "}", "if", "(", "isPostIncrementForm", "(", "MI", ",", "AddOffset", ")", ")", "{", "OS", "<<", "", "<<", "Opcode", "<<", "", "<<", "getRegisterName", "(", "MI", "->", "getOperand", "(", "", ")", ".", "getReg", "(", ")", ")", "<<", "", "<<", "getRegisterName", "(", "MI", "->", "getOperand", "(", "", ")", ".", "getReg", "(", ")", ")", "<<", "decIncOperator", "(", "MI", ")", "<<", "", ";", "return", "true", ";", "}"], "ground_truth": ["return", "false", ";"], "File": "DLXInstPrinter", "Func": "printMemoryStoreIncrement", "Target": "DLX", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 88141, "Length": 113, "Cover_Rate": 0.7793103448275862} {"Template_token": ["", "if", "(", "isPreIncrementForm", "(", "MI", ",", "AddOffset", ")", ")", "{"], "ground_truth": ["OS", "<<", "", "<<", "Opcode", "<<", "", "<<", "getRegisterName", "(", "MI", "->", "getOperand", "(", "", ")", ".", "getReg", "(", ")", ")", "<<", "", "<<", "decIncOperator", "(", "MI", ")", "<<", "", "<<", "getRegisterName", "(", "MI", "->", "getOperand", "(", "", ")", ".", "getReg", "(", ")", ")", "<<", "", ";"], "File": "DLXInstPrinter", "Func": "printMemoryStoreIncrement", "Target": "DLX", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 88142, "Length": 57, "Cover_Rate": 0.3931034482758621} {"Template_token": ["", "const", "MCOperand", "&", "RegOp", "=", "MI", "->", "getOperand", "(", "OpNo", ")", ";", "const", "MCOperand", "&", "OffsetOp", "=", "MI", "->", "getOperand", "(", "OpNo", "+", "", ")", ";", "const", "MCOperand", "&", "AluOp", "=", "MI", "->", "getOperand", "(", "OpNo", "+", "", ")", ";", "const", "unsigned", "AluCode", "=", "AluOp", ".", "getImm", "(", ")", ";", "printMemoryImmediateOffset", "<", "", ">", "(", "MAI", ",", "OffsetOp", ",", "OS", ")", ";", "printMemoryBaseRegister", "(", "OS", ",", "AluCode", ",", "RegOp", ")", ";"], "ground_truth": ["}"], "File": "DLXInstPrinter", "Func": "printMemRiOperand", "Target": "DLX", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 88143, "Length": 72, "Cover_Rate": 0.7659574468085106} {"Template_token": ["", "void", "InstPrinter", "::", "printMemRrOperand", "(", "const", "MCInst", "*", "MI", ",", "int", "OpNo", ",", "raw_ostream", "&", "OS", ",", "const", "char", "*", ")", "{", "const", "MCOperand", "&", "RegOp", "=", "MI", "->", "getOperand", "(", "OpNo", ")", ";", "const", "MCOperand", "&", "OffsetOp", "=", "MI", "->", "getOperand", "(", "OpNo", "+", "", ")", ";"], "ground_truth": ["const", "MCOperand", "&", "AluOp", "=", "MI", "->", "getOperand", "(", "OpNo", "+", "", ")", ";"], "File": "DLXInstPrinter", "Func": "printMemRrOperand", "Target": "DLX", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 88144, "Length": 62, "Cover_Rate": 0.3803680981595092} {"Template_token": ["", "const", "unsigned", "AluCode", "=", "AluOp", ".", "getImm", "(", ")", ";", "printMemoryImmediateOffset", "<", "", ">", "(", "MAI", ",", "OffsetOp", ",", "OS", ")", ";"], "ground_truth": ["printMemoryBaseRegister", "(", "OS", ",", "AluCode", ",", "RegOp", ")", ";"], "File": "DLXInstPrinter", "Func": "printMemSplsOperand", "Target": "DLX", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 88145, "Length": 31, "Cover_Rate": 0.32978723404255317} {"Template_token": ["", "if", "(", "Op", ".", "isReg", "(", ")", ")", "OS", "<<", "", "<<", "getRegisterName", "(", "Op", ".", "getReg", "(", ")", ")", ";"], "ground_truth": ["else", "if", "(", "Op", ".", "isImm", "(", ")", ")", "OS", "<<", "formatHex", "(", "Op", ".", "getImm", "(", ")", ")", ";"], "File": "DLXInstPrinter", "Func": "printOperand", "Target": "DLX", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 88146, "Length": 41, "Cover_Rate": 0.3333333333333333} {"Template_token": ["", "void", "InstPrinter", "::", "printPredicateOperand", "(", "const", "MCInst", "*", "MI", ",", "unsigned", "OpNo", ",", "raw_ostream", "&", "OS", ")", "{"], "ground_truth": ["LPCC", "::", "CondCode", "CC", "=", "static_cast", "<", "LPCC", "::", "CondCode", ">", "(", "MI", "->", "getOperand", "(", "OpNo", ")", ".", "getImm", "(", ")", ")", ";"], "File": "DLXInstPrinter", "Func": "printPredicateOperand", "Target": "DLX", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 88147, "Length": 42, "Cover_Rate": 0.5753424657534246} {"Template_token": ["", "if", "(", "CC", ">=", "LPCC", "::", "UNKNOWN", ")", "OS", "<<", "", ";"], "ground_truth": ["else", "if", "(", "CC", "!=", "LPCC", "::", "ICC_T", ")", "OS", "<<", "", "<<", "CondCodeToString", "(", "CC", ")", ";"], "File": "DLXInstPrinter", "Func": "printPredicateOperand", "Target": "DLX", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 88148, "Length": 30, "Cover_Rate": 0.410958904109589} {"Template_token": ["", "void", "InstPrinter", "::", "printRegName", "(", "raw_ostream", "&", "OS", ",", "unsigned", "RegNo", ")", "const", "{", "OS", "<<", "StringRef", "(", "getRegisterName", "(", "RegNo", ")", ")", ".", "lower", "(", ")", ";"], "ground_truth": ["}"], "File": "DLXInstPrinter", "Func": "printRegName", "Target": "DLX", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 88149, "Length": 29, "Cover_Rate": 1.0} {"Template_token": ["", "void", "InstPrinter", "::", "printRegName", "(", "raw_ostream", "&", "OS", ",", "unsigned", "RegNo", ")", "const", "{", "OS", "<<", "StringRef", "(", "getRegisterName", "(", "RegNo", ")", ")", ".", "lower", "(", ")", ";"], "ground_truth": ["}"], "File": "DLXInstPrinter", "Func": "printRegName", "Target": "DLX", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 88150, "Length": 29, "Cover_Rate": 1.0} {"Template_token": ["", "static", "bool", "usesGivenOffset", "(", "const", "MCInst", "*", "MI", ",", "int", "AddOffset", ")", "{", "unsigned", "AluCode", "=", "MI", "->", "getOperand", "(", "", ")", ".", "getImm", "(", ")", ";"], "ground_truth": ["return", "LPAC", "::", "encodeAluCode", "(", "AluCode", ")", "==", "LPAC", "::", "ADD", "&&", "(", "MI", "->", "getOperand", "(", "", ")", ".", "getImm", "(", ")", "==", "AddOffset", "||", "MI", "->", "getOperand", "(", "", ")", ".", "getImm", "(", ")", "==", "-", "AddOffset", ")", ";"], "File": "DLXInstPrinter", "Func": "usesGivenOffset", "Target": "DLX", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 88151, "Length": 68, "Cover_Rate": 0.9855072463768116} {"Template_token": ["", "unsigned", "AluCode", "=", "MI", "->", "getOperand", "(", "", ")", ".", "getImm", "(", ")", ";", "return", "LPAC", "::", "encodeAluCode", "(", "AluCode", ")", "==", "LPAC", "::", "ADD", "&&", "(", "MI", "->", "getOperand", "(", "", ")", ".", "getImm", "(", ")", "==", "AddOffset", "||", "MI", "->", "getOperand", "(", "", ")", ".", "getImm", "(", ")", "==", "-", "AddOffset", ")", ";"], "ground_truth": ["}"], "File": "DLXInstPrinter", "Func": "usesGivenOffset", "Target": "DLX", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 88152, "Length": 56, "Cover_Rate": 0.8115942028985508} {"Template_token": ["", "bool", "InstrInfo", "::", "analyzeBranch", "(", "MachineBasicBlock", "&", "MBB", ",", "MachineBasicBlock", "*", "&", "TrueBlock", ",", "MachineBasicBlock", "*", "&", "FalseBlock", ",", "SmallVectorImpl", "<", "MachineOperand", ">", "&", "Condition", ",", "bool", "AllowModify", ")", "const", "{", "return", "false", ";"], "ground_truth": ["}"], "File": "DLXInstrInfo", "Func": "analyzeBranch", "Target": "DLX", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 88153, "Length": 35, "Cover_Rate": 1.0} {"Template_token": ["", "bool", "InstrInfo", "::", "analyzeCompare", "(", "const", "MachineInstr", "&", "MI", ",", "unsigned", "&", "SrcReg", ",", "unsigned", "&", "SrcReg2", ",", "int", "&", "CmpMask", ",", "int", "&", "CmpValue", ")", "const", "{", "return", "false", ";"], "ground_truth": ["}"], "File": "DLXInstrInfo", "Func": "analyzeCompare", "Target": "DLX", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 88154, "Length": 32, "Cover_Rate": 1.0} {"Template_token": ["", "bool", "InstrInfo", "::", "analyzeSelect", "(", "const", "MachineInstr", "&", "MI", ",", "SmallVectorImpl", "<", "MachineOperand", ">", "&", "Cond", ",", "unsigned", "&", "TrueOp", ",", "unsigned", "&", "FalseOp", ",", "bool", "&", "Optimizable", ")", "const", "{", "return", "false", ";"], "ground_truth": ["}"], "File": "DLXInstrInfo", "Func": "analyzeSelect", "Target": "DLX", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 88155, "Length": 35, "Cover_Rate": 1.0} {"Template_token": ["", "bool", "InstrInfo", "::", "analyzeSelect", "(", "const", "MachineInstr", "&", "MI", ",", "SmallVectorImpl", "<", "MachineOperand", ">", "&", "Cond", ",", "unsigned", "&", "TrueOp", ",", "unsigned", "&", "FalseOp", ",", "bool", "&", "Optimizable", ")", "const", "{"], "ground_truth": ["return", "false", ";"], "File": "DLXInstrInfo", "Func": "analyzeSelect", "Target": "DLX", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 88156, "Length": 34, "Cover_Rate": 0.9714285714285714} {"Template_token": ["", "bool", "InstrInfo", "::", "areMemAccessesTriviallyDisjoint", "(", "MachineInstr", "&", "MIa", ",", "MachineInstr", "&", "MIb", ",", "AliasAnalysis", "*", ")", "const", "{", "return", "false", ";"], "ground_truth": ["}"], "File": "DLXInstrInfo", "Func": "areMemAccessesTriviallyDisjoint", "Target": "DLX", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 88157, "Length": 22, "Cover_Rate": 1.0} {"Template_token": ["", "void", "InstrInfo", "::", "copyPhysReg", "(", "MachineBasicBlock", "&", "MBB", ",", "MachineBasicBlock", "::", "iterator", "Position", ",", "const", "DebugLoc", "&", "DL", ",", "unsigned", "DestinationRegister", ",", "unsigned", "SourceRegister", ",", "bool", "KillSource", ")", "const", "{"], "ground_truth": ["}"], "File": "DLXInstrInfo", "Func": "copyPhysReg", "Target": "DLX", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 88158, "Length": 31, "Cover_Rate": 1.0} {"Template_token": ["", "void", "InstrInfo", "::", "copyPhysReg", "(", "MachineBasicBlock", "&", "MBB", ",", "MachineBasicBlock", "::", "iterator", "Position", ",", "const", "DebugLoc", "&", "DL", ",", "unsigned", "DestinationRegister", ",", "unsigned", "SourceRegister", ",", "bool", "KillSource", ")", "const", "{"], "ground_truth": ["}"], "File": "DLXInstrInfo", "Func": "copyPhysReg", "Target": "DLX", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 88159, "Length": 31, "Cover_Rate": 1.0} {"Template_token": ["", "std", "::", "pair", "<", "unsigned", ",", "unsigned", ">", "InstrInfo", "::", "decomposeMachineOperandsTargetFlags", "(", "unsigned", "TF", ")", "const", "{", "return", "std", "::", "make_pair", "(", "TF", ",", "", ")", ";"], "ground_truth": ["}"], "File": "DLXInstrInfo", "Func": "decomposeMachineOperandsTargetFlags", "Target": "DLX", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 88160, "Length": 28, "Cover_Rate": 1.0} {"Template_token": ["", "InstrInfo", "::", "InstrInfo", "(", ")", ":", "GenInstrInfo", "(", "", ",", "", ")", ",", "RegisterInfo", "(", ")", "{"], "ground_truth": ["}"], "File": "DLXInstrInfo", "Func": "DLXInstrInfo", "Target": "DLX", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 88162, "Length": 18, "Cover_Rate": 0.8181818181818182} {"Template_token": ["", "InstrInfo", "::", "InstrInfo", "(", ")", ":", "GenInstrInfo", "(", "", ",", "", ")", ",", "RegisterInfo", "(", ")", "{"], "ground_truth": ["}"], "File": "DLXInstrInfo", "Func": "DLXInstrInfo", "Target": "DLX", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 88163, "Length": 18, "Cover_Rate": 0.8181818181818182} {"Template_token": ["", "bool", "InstrInfo", "::", "expandPostRAPseudo", "(", "MachineInstr", "&", "MI", ")", "const", "{", "return", "false", ";"], "ground_truth": ["}"], "File": "DLXInstrInfo", "Func": "expandPostRAPseudo", "Target": "DLX", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 88164, "Length": 15, "Cover_Rate": 1.0} {"Template_token": ["", "bool", "InstrInfo", "::", "getMemOpBaseRegImmOfs", "(", "MachineInstr", "&", "LdSt", ",", "unsigned", "&", "BaseReg", ",", "int64_t", "&", "Offset", ",", "const", "TargetRegisterInfo", "*", "TRI", ")", "const", "{", "return", "false", ";"], "ground_truth": ["}"], "File": "DLXInstrInfo", "Func": "getMemOpBaseRegImmOfs", "Target": "DLX", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 88165, "Length": 28, "Cover_Rate": 1.0} {"Template_token": ["", "bool", "InstrInfo", "::", "getMemOpBaseRegImmOfs", "(", "MachineInstr", "&", "LdSt", ",", "unsigned", "&", "BaseReg", ",", "int64_t", "&", "Offset", ",", "const", "TargetRegisterInfo", "*", "TRI", ")", "const", "{"], "ground_truth": ["return", "false", ";"], "File": "DLXInstrInfo", "Func": "getMemOpBaseRegImmOfs", "Target": "DLX", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 88166, "Length": 27, "Cover_Rate": 0.9642857142857143} {"Template_token": ["", "virtual", "const", "RegisterInfo", "&", "getRegisterInfo", "(", ")", "const", "{"], "ground_truth": ["return", "RegisterInfo", ";"], "File": "DLXInstrInfo", "Func": "getRegisterInfo", "Target": "DLX", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 88167, "Length": 12, "Cover_Rate": 0.9230769230769231} {"Template_token": ["", "virtual", "const", "RegisterInfo", "&", "getRegisterInfo", "(", ")", "const", "{"], "ground_truth": ["return", "RegisterInfo", ";"], "File": "DLXInstrInfo", "Func": "getRegisterInfo", "Target": "DLX", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 88168, "Length": 12, "Cover_Rate": 0.9230769230769231} {"Template_token": ["", "ArrayRef", "<", "std", "::", "pair", "<", "unsigned", ",", "const", "char", "*", ">>", "InstrInfo", "::", "getSerializableDirectMachineOperandTargetFlags", "(", ")", "const", "{"], "ground_truth": ["static", "const", "std", "::", "pair", "<", "unsigned", ",", "const", "char", "*", ">", "TargetFlags", "[", "]", "=", "{"], "File": "DLXInstrInfo", "Func": "getSerializableDirectMachineOperandTargetFlags", "Target": "DLX", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 88169, "Length": 36, "Cover_Rate": 0.5806451612903226} {"Template_token": ["", "unsigned", "InstrInfo", "::", "insertBranch", "(", "MachineBasicBlock", "&", "MBB", ",", "MachineBasicBlock", "*", "TrueBlock", ",", "MachineBasicBlock", "*", "FalseBlock", ",", "ArrayRef", "<", "MachineOperand", ">", "Condition", ",", "const", "DebugLoc", "&", "DL", ",", "int", "*", "BytesAdded", ")", "const", "{"], "ground_truth": ["return", "", ";"], "File": "DLXInstrInfo", "Func": "insertBranch", "Target": "DLX", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 88171, "Length": 37, "Cover_Rate": 0.9736842105263158} {"Template_token": ["", "unsigned", "InstrInfo", "::", "insertBranch", "(", "MachineBasicBlock", "&", "MBB", ",", "MachineBasicBlock", "*", "TrueBlock", ",", "MachineBasicBlock", "*", "FalseBlock", ",", "ArrayRef", "<", "MachineOperand", ">", "Condition", ",", "const", "DebugLoc", "&", "DL", ",", "int", "*", "BytesAdded", ")", "const", "{", "return", "", ";"], "ground_truth": ["}"], "File": "DLXInstrInfo", "Func": "insertBranch", "Target": "DLX", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 88172, "Length": 38, "Cover_Rate": 1.0} {"Template_token": ["", "unsigned", "InstrInfo", "::", "isLoadFromStackSlot", "(", "const", "MachineInstr", "&", "MI", ",", "int", "&", "FrameIndex", ")", "const", "{", "return", "", ";"], "ground_truth": ["}"], "File": "DLXInstrInfo", "Func": "isLoadFromStackSlot", "Target": "DLX", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 88174, "Length": 20, "Cover_Rate": 1.0} {"Template_token": ["", "void", "InstrInfo", "::", "loadRegFromStackSlot", "(", "MachineBasicBlock", "&", "MBB", ",", "MachineBasicBlock", "::", "iterator", "Position", ",", "unsigned", "DestinationRegister", ",", "int", "FrameIndex", ",", "const", "TargetRegisterClass", "*", "RegisterClass", ",", "const", "TargetRegisterInfo", "*", "RegisterInfo", ")", "const", "{"], "ground_truth": ["}"], "File": "DLXInstrInfo", "Func": "loadRegFromStackSlot", "Target": "DLX", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 88177, "Length": 33, "Cover_Rate": 1.0} {"Template_token": ["", "void", "InstrInfo", "::", "loadRegFromStackSlot", "(", "MachineBasicBlock", "&", "MBB", ",", "MachineBasicBlock", "::", "iterator", "Position", ",", "unsigned", "DestinationRegister", ",", "int", "FrameIndex", ",", "const", "TargetRegisterClass", "*", "RegisterClass", ",", "const", "TargetRegisterInfo", "*", "RegisterInfo", ")", "const", "{"], "ground_truth": ["}"], "File": "DLXInstrInfo", "Func": "loadRegFromStackSlot", "Target": "DLX", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 88178, "Length": 33, "Cover_Rate": 1.0} {"Template_token": ["", "MachineInstr", "*", "InstrInfo", "::", "optimizeSelect", "(", "MachineInstr", "&", "MI", ",", "SmallPtrSetImpl", "<", "MachineInstr", "*", ">", "&", "SeenMIs", ",", "bool", "PreferFalse", ")", "const", "{"], "ground_truth": ["return", "nullptr", ";"], "File": "DLXInstrInfo", "Func": "optimizeSelect", "Target": "DLX", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 88179, "Length": 26, "Cover_Rate": 0.9629629629629629} {"Template_token": ["", "MachineInstr", "*", "InstrInfo", "::", "optimizeSelect", "(", "MachineInstr", "&", "MI", ",", "SmallPtrSetImpl", "<", "MachineInstr", "*", ">", "&", "SeenMIs", ",", "bool", "PreferFalse", ")", "const", "{", "return", "nullptr", ";"], "ground_truth": ["}"], "File": "DLXInstrInfo", "Func": "optimizeSelect", "Target": "DLX", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 88180, "Length": 27, "Cover_Rate": 1.0} {"Template_token": ["", "unsigned", "InstrInfo", "::", "removeBranch", "(", "MachineBasicBlock", "&", "MBB", ",", "int", "*", "BytesRemoved", ")", "const", "{"], "ground_truth": ["return", "false", ";"], "File": "DLXInstrInfo", "Func": "removeBranch", "Target": "DLX", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 88181, "Length": 18, "Cover_Rate": 0.9473684210526315} {"Template_token": ["", "unsigned", "InstrInfo", "::", "removeBranch", "(", "MachineBasicBlock", "&", "MBB", ",", "int", "*", "BytesRemoved", ")", "const", "{", "return", "false", ";"], "ground_truth": ["}"], "File": "DLXInstrInfo", "Func": "removeBranch", "Target": "DLX", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 88182, "Length": 19, "Cover_Rate": 1.0} {"Template_token": ["", "bool", "InstrInfo", "::", "reverseBranchCondition", "(", "SmallVectorImpl", "<", "MachineOperand", ">", "&", "Condition", ")", "const", "{", "return", "false", ";"], "ground_truth": ["}"], "File": "DLXInstrInfo", "Func": "reverseBranchCondition", "Target": "DLX", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 88183, "Length": 18, "Cover_Rate": 1.0} {"Template_token": ["", "void", "InstrInfo", "::", "storeRegToStackSlot", "(", "MachineBasicBlock", "&", "MBB", ",", "MachineBasicBlock", "::", "iterator", "Position", ",", "unsigned", "SourceRegister", ",", "bool", "IsKill", ",", "int", "FrameIndex", ",", "const", "TargetRegisterClass", "*", "RegisterClass", ",", "const", "TargetRegisterInfo", "*", "RegisterInfo", ")", "const", "{"], "ground_truth": ["}"], "File": "DLXInstrInfo", "Func": "storeRegToStackSlot", "Target": "DLX", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 88185, "Length": 36, "Cover_Rate": 1.0} {"Template_token": ["", "void", "InstrInfo", "::", "storeRegToStackSlot", "(", "MachineBasicBlock", "&", "MBB", ",", "MachineBasicBlock", "::", "iterator", "Position", ",", "unsigned", "SourceRegister", ",", "bool", "IsKill", ",", "int", "FrameIndex", ",", "const", "TargetRegisterClass", "*", "RegisterClass", ",", "const", "TargetRegisterInfo", "*", "RegisterInfo", ")", "const", "{"], "ground_truth": ["}"], "File": "DLXInstrInfo", "Func": "storeRegToStackSlot", "Target": "DLX", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 88186, "Length": 36, "Cover_Rate": 1.0} {"Template_token": ["", "bool", "canBeRepresentedAsSls", "(", "const", "ConstantSDNode", "&", "CN", ")", "{", "return", "isInt", "<", "", ">", "(", "CN", ".", "getSExtValue", "(", ")", ")", "&&", "(", "(", "CN", ".", "getSExtValue", "(", ")", "&", "", ")", "==", "", ")", ";"], "ground_truth": ["}"], "File": "DLXISelDAGToDAG", "Func": "canBeRepresentedAsSls", "Target": "DLX", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 88187, "Length": 37, "Cover_Rate": 1.0} {"Template_token": ["", "return", "new", "DAGToDAGISel", "(", "TM", ")", ";"], "ground_truth": ["}"], "File": "DLXISelDAGToDAG", "Func": "createDLXISelDag", "Target": "DLX", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 88189, "Length": 8, "Cover_Rate": 0.42105263157894735} {"Template_token": ["", "explicit", "DAGToDAGISel", "(", "TargetMachine", "&", "TargetMachine", ")", ":", "SelectionDAGISel", "(", "TargetMachine", ")", "{"], "ground_truth": ["}"], "File": "DLXISelDAGToDAG", "Func": "DLXDAGToDAGISel", "Target": "DLX", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 88191, "Length": 14, "Cover_Rate": 1.0} {"Template_token": ["", "explicit", "DAGToDAGISel", "(", "TargetMachine", "&", "TargetMachine", ")", ":", "SelectionDAGISel", "(", "TargetMachine", ")", "{"], "ground_truth": ["}"], "File": "DLXISelDAGToDAG", "Func": "DLXDAGToDAGISel", "Target": "DLX", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 88192, "Length": 14, "Cover_Rate": 1.0} {"Template_token": ["", "return", "CurDAG", "->", "getTargetConstant", "(", "Imm", ",", "DL", ",", "", ")", ";"], "ground_truth": ["}"], "File": "DLXISelDAGToDAG", "Func": "getI32Imm", "Target": "DLX", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 88194, "Length": 13, "Cover_Rate": 0.4642857142857143} {"Template_token": ["", "return", "SelectionDAGISel", "::", "runOnMachineFunction", "(", "MF", ")", ";"], "ground_truth": ["}"], "File": "DLXISelDAGToDAG", "Func": "runOnMachineFunction", "Target": "DLX", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 88198, "Length": 9, "Cover_Rate": 0.5} {"Template_token": ["", "return", ";", "}", "EVT", "VT", "=", "Node", "->", "getValueType", "(", "", ")", ";", "switch", "(", "Opcode", ")", "{", "case", "", ":", "if", "(", "VT", "==", "", ")", "{", "ConstantSDNode", "*", "ConstNode", "=", "cast", "<", "ConstantSDNode", ">", "(", "Node", ")", ";", "if", "(", "ConstNode", "->", "isNullValue", "(", ")", ")", "{", "SDValue", "New", "=", "CurDAG", "->", "getCopyFromReg", "(", "CurDAG", "->", "getEntryNode", "(", ")", ",", "SDLoc", "(", "Node", ")", ",", "", ",", "", ")", ";", "return", "ReplaceNode", "(", "Node", ",", "New", ".", "getNode", "(", ")", ")", ";", "}"], "ground_truth": ["if", "(", "ConstNode", "->", "isAllOnesValue", "(", ")", ")", "{"], "File": "DLXISelDAGToDAG", "Func": "Select", "Target": "DLX", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 88199, "Length": 94, "Cover_Rate": 0.43119266055045874} {"Template_token": ["", "switch", "(", "Opcode", ")", "{", "case", "", ":", "if", "(", "VT", "==", "", ")", "{", "ConstantSDNode", "*", "ConstNode", "=", "cast", "<", "ConstantSDNode", ">", "(", "Node", ")", ";", "if", "(", "ConstNode", "->", "isNullValue", "(", ")", ")", "{", "SDValue", "New", "=", "CurDAG", "->", "getCopyFromReg", "(", "CurDAG", "->", "getEntryNode", "(", ")", ",", "SDLoc", "(", "Node", ")", ",", "", ",", "", ")", ";", "return", "ReplaceNode", "(", "Node", ",", "New", ".", "getNode", "(", ")", ")", ";", "}", "if", "(", "ConstNode", "->", "isAllOnesValue", "(", ")", ")", "{", "SDValue", "New", "=", "CurDAG", "->", "getCopyFromReg", "(", "CurDAG", "->", "getEntryNode", "(", ")", ",", "SDLoc", "(", "Node", ")", ",", "", ",", "", ")", ";", "return", "ReplaceNode", "(", "Node", ",", "New", ".", "getNode", "(", ")", ")", ";", "}", "}", "break", ";"], "ground_truth": ["case", "", ":"], "File": "DLXISelDAGToDAG", "Func": "Select", "Target": "DLX", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 88200, "Length": 123, "Cover_Rate": 0.5642201834862385} {"Template_token": ["", "return", "selectAddrRiSpls", "(", "Addr", ",", "Base", ",", "Offset", ",", "AluOp", ",", "true", ")", ";"], "ground_truth": ["}"], "File": "DLXISelDAGToDAG", "Func": "selectAddrRi", "Target": "DLX", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 88201, "Length": 15, "Cover_Rate": 0.4166666666666667} {"Template_token": ["", "}", "}", "if", "(", "FrameIndexSDNode", "*", "FIN", "=", "dyn_cast", "<", "FrameIndexSDNode", ">", "(", "Addr", ")", ")", "{", "Base", "=", "CurDAG", "->", "getTargetFrameIndex", "(", "FIN", "->", "getIndex", "(", ")", ",", "getTargetLowering", "(", ")", "->", "getPointerTy", "(", "CurDAG", "->", "getDataLayout", "(", ")", ")", ")", ";", "Offset", "=", "CurDAG", "->", "getTargetConstant", "(", "", ",", "DL", ",", "", ")", ";", "AluOp", "=", "CurDAG", "->", "getTargetConstant", "(", "LPAC", "::", "ADD", ",", "DL", ",", "", ")", ";", "return", "true", ";", "}", "if", "(", "(", "Addr", ".", "getOpcode", "(", ")", "==", "", "||", "Addr", ".", "getOpcode", "(", ")", "==", "", ")", ")", "return", "false", ";", "", "AluOperator", "=", "static_cast", "<", "", ">", "(", "Addr", ".", "getOpcode", "(", ")", ")", ";", "if", "(", "AluOperator", "==", "", ")", "{", "AluOp", "=", "CurDAG", "->", "getTargetConstant", "(", "LPAC", "::", "ADD", ",", "DL", ",", "", ")", ";", "if", "(", "ConstantSDNode", "*", "CN", "=", "dyn_cast", "<", "ConstantSDNode", ">", "(", "Addr", ".", "getOperand", "(", "", ")", ")", ")", "if", "(", "(", "RiMode", "&&", "isInt", "<", "", ">", "(", "CN", "->", "getSExtValue", "(", ")", ")", ")", "||", "(", "!", "RiMode", "&&", "isInt", "<", "", ">", "(", "CN", "->", "getSExtValue", "(", ")", ")", ")", ")", "{", "if", "(", "FrameIndexSDNode", "*", "FIN", "=", "dyn_cast", "<", "FrameIndexSDNode", ">", "(", "Addr", ".", "getOperand", "(", "", ")", ")", ")", "{", "Base", "=", "CurDAG", "->", "getTargetFrameIndex", "(", "FIN", "->", "getIndex", "(", ")", ",", "getTargetLowering", "(", ")", "->", "getPointerTy", "(", "CurDAG", "->", "getDataLayout", "(", ")", ")", ")", ";", "}", "else", "{", "Base", "=", "Addr", ".", "getOperand", "(", "", ")", ";", "}", "Offset", "=", "CurDAG", "->", "getTargetConstant", "(", "CN", "->", "getSExtValue", "(", ")", ",", "DL", ",", "", ")", ";", "return", "true", ";", "}", "}", "if", "(", "AluOperator", "==", "", "&&", "RiMode", "&&", "Addr", ".", "getOperand", "(", "", ")", ".", "getOpcode", "(", ")", "==", "", ")", "return", "false", ";", "Base", "=", "Addr", ";"], "ground_truth": ["Offset", "=", "CurDAG", "->", "getTargetConstant", "(", "", ",", "DL", ",", "", ")", ";"], "File": "DLXISelDAGToDAG", "Func": "selectAddrRiSpls", "Target": "DLX", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 88203, "Length": 312, "Cover_Rate": 0.5351629502572899} {"Template_token": ["", "LPAC", "::", "AluCode", "AluCode", "=", "LPAC", "::", "isdToAluCode", "(", "AluOperator", ")", ";", "if", "(", "AluCode", "!=", "LPAC", "::", "UNKNOWN", ")", "{", "if", "(", "ConstantSDNode", "*", "CN", "=", "dyn_cast", "<", "ConstantSDNode", ">", "(", "Addr", ".", "getOperand", "(", "", ")", ")", ")", "if", "(", "isInt", "<", "", ">", "(", "CN", "->", "getSExtValue", "(", ")", ")", ")", "return", "false", ";", "if", "(", "Addr", ".", "getOperand", "(", "", ")", ".", "getOpcode", "(", ")", "==", "", "||", "Addr", ".", "getOperand", "(", "", ")", ".", "getOpcode", "(", ")", "==", "", "||", "Addr", ".", "getOperand", "(", "", ")", ".", "getOpcode", "(", ")", "==", "", "||", "Addr", ".", "getOperand", "(", "", ")", ".", "getOpcode", "(", ")", "==", "", "||", "Addr", ".", "getOperand", "(", "", ")", ".", "getOpcode", "(", ")", "==", "", "||", "Addr", ".", "getOperand", "(", "", ")", ".", "getOpcode", "(", ")", "==", "", ")", "return", "false", ";", "R1", "=", "Addr", ".", "getOperand", "(", "", ")", ";", "R2", "=", "Addr", ".", "getOperand", "(", "", ")", ";", "AluOp", "=", "CurDAG", "->", "getTargetConstant", "(", "AluCode", ",", "SDLoc", "(", "Addr", ")", ",", "", ")", ";"], "ground_truth": ["return", "true", ";"], "File": "DLXISelDAGToDAG", "Func": "selectAddrRr", "Target": "DLX", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 88204, "Length": 177, "Cover_Rate": 0.6366906474820144} {"Template_token": ["", "if", "(", "(", "Addr", ".", "getOpcode", "(", ")", "==", "", "||", "Addr", ".", "getOpcode", "(", ")", "==", "", ")", ")", "return", "false", ";", "", "AluOperator", "=", "static_cast", "<", "", ">", "(", "Addr", ".", "getOpcode", "(", ")", ")", ";", "LPAC", "::", "AluCode", "AluCode", "=", "LPAC", "::", "isdToAluCode", "(", "AluOperator", ")", ";", "if", "(", "AluCode", "!=", "LPAC", "::", "UNKNOWN", ")", "{", "if", "(", "ConstantSDNode", "*", "CN", "=", "dyn_cast", "<", "ConstantSDNode", ">", "(", "Addr", ".", "getOperand", "(", "", ")", ")", ")", "if", "(", "isInt", "<", "", ">", "(", "CN", "->", "getSExtValue", "(", ")", ")", ")", "return", "false", ";", "if", "(", "Addr", ".", "getOperand", "(", "", ")", ".", "getOpcode", "(", ")", "==", "", "||", "Addr", ".", "getOperand", "(", "", ")", ".", "getOpcode", "(", ")", "==", "", "||", "Addr", ".", "getOperand", "(", "", ")", ".", "getOpcode", "(", ")", "==", "", "||", "Addr", ".", "getOperand", "(", "", ")", ".", "getOpcode", "(", ")", "==", "", "||", "Addr", ".", "getOperand", "(", "", ")", ".", "getOpcode", "(", ")", "==", "", "||", "Addr", ".", "getOperand", "(", "", ")", ".", "getOpcode", "(", ")", "==", "", ")", "return", "false", ";", "R1", "=", "Addr", ".", "getOperand", "(", "", ")", ";", "R2", "=", "Addr", ".", "getOperand", "(", "", ")", ";"], "ground_truth": ["AluOp", "=", "CurDAG", "->", "getTargetConstant", "(", "AluCode", ",", "SDLoc", "(", "Addr", ")", ",", "", ")", ";"], "File": "DLXISelDAGToDAG", "Func": "selectAddrRr", "Target": "DLX", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 88205, "Length": 212, "Cover_Rate": 0.762589928057554} {"Template_token": ["", "SDLoc", "DL", "(", "Addr", ")", ";", "if", "(", "canBeRepresentedAsSls", "(", "*", "CN", ")", ")", "{", "int32_t", "Imm", "=", "CN", "->", "getSExtValue", "(", ")", ";", "Offset", "=", "CurDAG", "->", "getTargetConstant", "(", "Imm", ",", "DL", ",", "CN", "->", "getValueType", "(", "", ")", ")", ";", "return", "true", ";", "}"], "ground_truth": ["}"], "File": "DLXISelDAGToDAG", "Func": "selectAddrSls", "Target": "DLX", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 88206, "Length": 47, "Cover_Rate": 0.376} {"Template_token": ["", "void", "DAGToDAGISel", "::", "selectFrameIndex", "(", "SDNode", "*", "Node", ")", "{"], "ground_truth": ["}"], "File": "DLXISelDAGToDAG", "Func": "selectFrameIndex", "Target": "DLX", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 88209, "Length": 11, "Cover_Rate": 1.0} {"Template_token": ["", "void", "DAGToDAGISel", "::", "selectFrameIndex", "(", "SDNode", "*", "Node", ")", "{"], "ground_truth": ["}"], "File": "DLXISelDAGToDAG", "Func": "selectFrameIndex", "Target": "DLX", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 88210, "Length": 11, "Cover_Rate": 1.0} {"Template_token": ["", "void", "TargetLowering", "::", "computeKnownBitsForTargetNode", "(", "const", "SDValue", "Op", ",", "KnownBits", "&", "Known", ",", "const", "APInt", "&", "DemandedElts", ",", "const", "SelectionDAG", "&", "DAG", ",", "unsigned", "Depth", ")", "const", "{"], "ground_truth": ["}"], "File": "DLXISelLowering", "Func": "computeKnownBitsForTargetNode", "Target": "DLX", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 88211, "Length": 29, "Cover_Rate": 1.0} {"Template_token": ["", "void", "TargetLowering", "::", "computeKnownBitsForTargetNode", "(", "const", "SDValue", "Op", ",", "KnownBits", "&", "Known", ",", "const", "APInt", "&", "DemandedElts", ",", "const", "SelectionDAG", "&", "DAG", ",", "unsigned", "Depth", ")", "const", "{"], "ground_truth": ["}"], "File": "DLXISelLowering", "Func": "computeKnownBitsForTargetNode", "Target": "DLX", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 88212, "Length": 29, "Cover_Rate": 1.0} {"Template_token": ["", "TargetLowering", "::", "TargetLowering", "(", "const", "TargetMachine", "&", "TM", ",", "const", "Subtarget", "&", "STI", ")", ":", "TargetLowering", "(", "TM", ")", "{"], "ground_truth": ["}"], "File": "DLXISelLowering", "Func": "DLXTargetLowering", "Target": "DLX", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 88213, "Length": 21, "Cover_Rate": 1.0} {"Template_token": ["", "TargetLowering", "::", "TargetLowering", "(", "const", "TargetMachine", "&", "TM", ",", "const", "Subtarget", "&", "STI", ")", ":", "TargetLowering", "(", "TM", ")", "{"], "ground_truth": ["}"], "File": "DLXISelLowering", "Func": "DLXTargetLowering", "Target": "DLX", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 88214, "Length": 21, "Cover_Rate": 1.0} {"Template_token": ["", "std", "::", "pair", "<", "unsigned", ",", "const", "TargetRegisterClass", "*", ">", "TargetLowering", "::", "getRegForInlineAsmConstraint", "(", "const", "TargetRegisterInfo", "*", "TRI", ",", "StringRef", "Constraint", ",", "MVT", "VT", ")", "const", "{"], "ground_truth": ["return", "TargetLowering", "::", "getRegForInlineAsmConstraint", "(", "TRI", ",", "Constraint", ",", "VT", ")", ";"], "File": "DLXISelLowering", "Func": "getRegForInlineAsmConstraint", "Target": "DLX", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 88215, "Length": 39, "Cover_Rate": 0.975} {"Template_token": ["", "return", "TargetLowering", "::", "getRegForInlineAsmConstraint", "(", "TRI", ",", "Constraint", ",", "VT", ")", ";"], "ground_truth": ["}"], "File": "DLXISelLowering", "Func": "getRegForInlineAsmConstraint", "Target": "DLX", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 88216, "Length": 13, "Cover_Rate": 0.325} {"Template_token": ["", "TargetLowering", "::", "ConstraintWeight", "TargetLowering", "::", "getSingleConstraintMatchWeight", "(", "AsmOperandInfo", "&", "Info", ",", "const", "char", "*", "Constraint", ")", "const", "{", "ConstraintWeight", "Weight", "=", "CW_Invalid", ";", "return", "Weight", ";"], "ground_truth": ["}"], "File": "DLXISelLowering", "Func": "getSingleConstraintMatchWeight", "Target": "DLX", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 88217, "Length": 27, "Cover_Rate": 1.0} {"Template_token": ["", "void", "TargetLowering", "::", "LowerAsmOperandForConstraint", "(", "SDValue", "Op", ",", "std", "::", "string", "&", "Constraint", ",", "std", "::", "vector", "<", "SDValue", ">", "&", "Ops", ",", "SelectionDAG", "&", "DAG", ")", "const", "{"], "ground_truth": ["}"], "File": "DLXISelLowering", "Func": "LowerAsmOperandForConstraint", "Target": "DLX", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 88218, "Length": 30, "Cover_Rate": 1.0} {"Template_token": ["", "void", "TargetLowering", "::", "LowerAsmOperandForConstraint", "(", "SDValue", "Op", ",", "std", "::", "string", "&", "Constraint", ",", "std", "::", "vector", "<", "SDValue", ">", "&", "Ops", ",", "SelectionDAG", "&", "DAG", ")", "const", "{"], "ground_truth": ["}"], "File": "DLXISelLowering", "Func": "LowerAsmOperandForConstraint", "Target": "DLX", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 88219, "Length": 30, "Cover_Rate": 1.0} {"Template_token": ["", "SDValue", "TargetLowering", "::", "LowerOperation", "(", "SDValue", "Op", ",", "SelectionDAG", "&", "DAG", ")", "const", "{", "switch", "(", "Op", ".", "getOpcode", "(", ")", ")", "{", "default", ":", "llvm_unreachable", "(", "", ")", ";"], "ground_truth": ["}"], "File": "DLXISelLowering", "Func": "LowerOperation", "Target": "DLX", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 88220, "Length": 31, "Cover_Rate": 0.96875} {"Template_token": ["", "void", "MachineFunctionInfo", "::", "anchor", "(", ")", "{"], "ground_truth": ["}"], "File": "DLXMachineFunctionInfo", "Func": "anchor", "Target": "DLX", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 88221, "Length": 8, "Cover_Rate": 1.0} {"Template_token": ["", "void", "MachineFunctionInfo", "::", "anchor", "(", ")", "{"], "ground_truth": ["}"], "File": "DLXMachineFunctionInfo", "Func": "anchor", "Target": "DLX", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 88222, "Length": 8, "Cover_Rate": 1.0} {"Template_token": ["", "explicit", "MachineFunctionInfo", "(", "MachineFunction", "&", "MF", ")", ":", "MF", "(", "MF", ")", ",", "SRetReturnReg", "(", "", ")", ",", "GlobalBaseReg", "(", "", ")", ",", "VarArgsFrameIndex", "(", "", ")", "{"], "ground_truth": ["}"], "File": "DLXMachineFunctionInfo", "Func": "DLXMachineFunctionInfo", "Target": "DLX", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 88223, "Length": 29, "Cover_Rate": 1.0} {"Template_token": ["", "explicit", "MachineFunctionInfo", "(", "MachineFunction", "&", "MF", ")", ":", "MF", "(", "MF", ")", ",", "SRetReturnReg", "(", "", ")", ",", "GlobalBaseReg", "(", "", ")", ",", "VarArgsFrameIndex", "(", "", ")", "{"], "ground_truth": ["}"], "File": "DLXMachineFunctionInfo", "Func": "DLXMachineFunctionInfo", "Target": "DLX", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 88224, "Length": 29, "Cover_Rate": 1.0} {"Template_token": ["", "return", "GlobalBaseReg", ";"], "ground_truth": ["}"], "File": "DLXMachineFunctionInfo", "Func": "getGlobalBaseReg", "Target": "DLX", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 88225, "Length": 4, "Cover_Rate": 0.36363636363636365} {"Template_token": ["", "return", "SRetReturnReg", ";"], "ground_truth": ["}"], "File": "DLXMachineFunctionInfo", "Func": "getSRetReturnReg", "Target": "DLX", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 88226, "Length": 4, "Cover_Rate": 0.4} {"Template_token": ["", "return", "SRetReturnReg", ";"], "ground_truth": ["}"], "File": "DLXMachineFunctionInfo", "Func": "getSRetReturnReg", "Target": "DLX", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 88227, "Length": 4, "Cover_Rate": 0.4} {"Template_token": ["", "int", "getVarArgsFrameIndex", "(", ")", "const", "{"], "ground_truth": ["return", "VarArgsFrameIndex", ";"], "File": "DLXMachineFunctionInfo", "Func": "getVarArgsFrameIndex", "Target": "DLX", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 88228, "Length": 9, "Cover_Rate": 0.9} {"Template_token": ["", "int", "getVarArgsFrameIndex", "(", ")", "const", "{", "return", "VarArgsFrameIndex", ";"], "ground_truth": ["}"], "File": "DLXMachineFunctionInfo", "Func": "getVarArgsFrameIndex", "Target": "DLX", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 88229, "Length": 10, "Cover_Rate": 1.0} {"Template_token": ["", "SRetReturnReg", "=", "Reg", ";"], "ground_truth": ["}"], "File": "DLXMachineFunctionInfo", "Func": "setSRetReturnReg", "Target": "DLX", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 88231, "Length": 5, "Cover_Rate": 0.4166666666666667} {"Template_token": ["", "void", "setVarArgsFrameIndex", "(", "int", "Index", ")", "{"], "ground_truth": ["VarArgsFrameIndex", "=", "Index", ";"], "File": "DLXMachineFunctionInfo", "Func": "setVarArgsFrameIndex", "Target": "DLX", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 88232, "Length": 11, "Cover_Rate": 0.9166666666666666} {"Template_token": ["", "void", "MCAsmInfo", "::", "anchor", "(", ")", "{"], "ground_truth": ["}"], "File": "DLXMCAsmInfo", "Func": "anchor", "Target": "DLX", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 88234, "Length": 8, "Cover_Rate": 1.0} {"Template_token": ["", "void", "MCAsmInfo", "::", "anchor", "(", ")", "{"], "ground_truth": ["}"], "File": "DLXMCAsmInfo", "Func": "anchor", "Target": "DLX", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 88235, "Length": 8, "Cover_Rate": 1.0} {"Template_token": ["", "MCAsmInfo", "::", "MCAsmInfo", "(", "const", "Triple", "&", ")", "{", "IsLittleEndian", "=", "false", ";", "PrivateGlobalPrefix", "=", "", ";", "WeakRefDirective", "=", "", ";", "ExceptionsType", "=", "ExceptionHandling", "::", "DwarfCFI", ";"], "ground_truth": ["UsesELFSectionDirectiveForBSS", "=", "true", ";"], "File": "DLXMCAsmInfo", "Func": "DLXMCAsmInfo", "Target": "DLX", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 88236, "Length": 31, "Cover_Rate": 0.6458333333333334} {"Template_token": ["", "Value", "&=", "~", "(", "", "<<", "PBitShift", ")", ";", "if", "(", "!", "LPAC", "::", "isPostOp", "(", "AluCode", ")", "&&", "(", "(", "Op2", ".", "isImm", "(", ")", "&&", "Op2", ".", "getImm", "(", ")", "!=", "", ")", "||", "(", "Op2", ".", "isReg", "(", ")", "&&", "Op2", ".", "getReg", "(", ")", "!=", "", ")", "||", "(", "Op2", ".", "isExpr", "(", ")", ")", ")", ")", "Value", "|=", "(", "", "<<", "PBitShift", ")", ";"], "ground_truth": ["assert", "(", "Inst", ".", "getOperand", "(", "", ")", ".", "isReg", "(", ")", "&&", "Inst", ".", "getOperand", "(", "", ")", ".", "isReg", "(", ")", "&&", "", ")", ";"], "File": "DLXMCCodeEmitter", "Func": "adjustPqBits", "Target": "DLX", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 88237, "Length": 96, "Cover_Rate": 0.4485981308411215} {"Template_token": ["", "Value", "&=", "~", "(", "", "<<", "PBitShift", ")", ";", "if", "(", "!", "LPAC", "::", "isPostOp", "(", "AluCode", ")", "&&", "(", "(", "Op2", ".", "isImm", "(", ")", "&&", "Op2", ".", "getImm", "(", ")", "!=", "", ")", "||", "(", "Op2", ".", "isReg", "(", ")", "&&", "Op2", ".", "getReg", "(", ")", "!=", "", ")", "||", "(", "Op2", ".", "isExpr", "(", ")", ")", ")", ")", "Value", "|=", "(", "", "<<", "PBitShift", ")", ";", "assert", "(", "Inst", ".", "getOperand", "(", "", ")", ".", "isReg", "(", ")", "&&", "Inst", ".", "getOperand", "(", "", ")", ".", "isReg", "(", ")", "&&", "", ")", ";", "Value", "&=", "~", "(", "", "<<", "QBitShift", ")", ";", "if", "(", "LPAC", "::", "modifiesOp", "(", "AluCode", ")", "&&", "(", "(", "Op2", ".", "isImm", "(", ")", "&&", "Op2", ".", "getImm", "(", ")", "!=", "", ")", "||", "(", "Op2", ".", "isReg", "(", ")", "&&", "Op2", ".", "getReg", "(", ")", "!=", "", ")", ")", ")", "Value", "|=", "(", "", "<<", "QBitShift", ")", ";", "return", "Value", ";"], "ground_truth": ["}"], "File": "DLXMCCodeEmitter", "Func": "adjustPqBits", "Target": "DLX", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 88238, "Length": 160, "Cover_Rate": 0.7476635514018691} {"Template_token": ["", "unsigned", "MCCodeEmitter", "::", "adjustPqBitsRmAndRrm", "(", "const", "MCInst", "&", "Inst", ",", "unsigned", "Value", ",", "const", "MCSubtargetInfo", "&", "STI", ")", "const", "{"], "ground_truth": ["return", "adjustPqBits", "(", "Inst", ",", "Value", ",", "", ",", "", ")", ";"], "File": "DLXMCCodeEmitter", "Func": "adjustPqBitsRmAndRrm", "Target": "DLX", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 88240, "Length": 32, "Cover_Rate": 0.9696969696969697} {"Template_token": ["", "unsigned", "MCCodeEmitter", "::", "adjustPqBitsSpls", "(", "const", "MCInst", "&", "Inst", ",", "unsigned", "Value", ",", "const", "MCSubtargetInfo", "&", "STI", ")", "const", "{"], "ground_truth": ["return", "adjustPqBits", "(", "Inst", ",", "Value", ",", "", ",", "", ")", ";"], "File": "DLXMCCodeEmitter", "Func": "adjustPqBitsSpls", "Target": "DLX", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 88242, "Length": 32, "Cover_Rate": 0.9696969696969697} {"Template_token": ["", "llvm", "::", "MCCodeEmitter", "*", "llvm", "::", "createMCCodeEmitter", "(", "const", "MCInstrInfo", "&", "InstrInfo", ",", "const", "MCRegisterInfo", "&", ",", "MCContext", "&", "context", ")", "{"], "ground_truth": ["return", "new", "MCCodeEmitter", "(", "InstrInfo", ",", "context", ")", ";"], "File": "DLXMCCodeEmitter", "Func": "createDLXMCCodeEmitter", "Target": "DLX", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 88243, "Length": 31, "Cover_Rate": 0.96875} {"Template_token": ["", "llvm", "::", "MCCodeEmitter", "*", "llvm", "::", "createMCCodeEmitter", "(", "const", "MCInstrInfo", "&", "InstrInfo", ",", "const", "MCRegisterInfo", "&", ",", "MCContext", "&", "context", ")", "{", "return", "new", "MCCodeEmitter", "(", "InstrInfo", ",", "context", ")", ";"], "ground_truth": ["}"], "File": "DLXMCCodeEmitter", "Func": "createDLXMCCodeEmitter", "Target": "DLX", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 88244, "Length": 32, "Cover_Rate": 1.0} {"Template_token": ["", "MCCodeEmitter", "(", "const", "MCInstrInfo", "&", "MCII", ",", "MCContext", "&", "C", ")", "{"], "ground_truth": ["}"], "File": "DLXMCCodeEmitter", "Func": "DLXMCCodeEmitter", "Target": "DLX", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 88245, "Length": 13, "Cover_Rate": 1.0} {"Template_token": ["", "MCCodeEmitter", "(", "const", "MCInstrInfo", "&", "MCII", ",", "MCContext", "&", "C", ")", "{"], "ground_truth": ["}"], "File": "DLXMCCodeEmitter", "Func": "DLXMCCodeEmitter", "Target": "DLX", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 88246, "Length": 13, "Cover_Rate": 1.0} {"Template_token": ["", "for", "(", "int", "i", "=", "(", "", "-", "", ")", "*", "", ";", "i", ">=", "", ";", "i", "-=", "", ")", "Ostream", "<<", "static_cast", "<", "char", ">", "(", "(", "Value", ">>", "i", ")", "&", "", ")", ";"], "ground_truth": ["}"], "File": "DLXMCCodeEmitter", "Func": "encodeInstruction", "Target": "DLX", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 88247, "Length": 38, "Cover_Rate": 0.4691358024691358} {"Template_token": ["", "MCExpr", "::", "VariantKind", "ExprKind", "=", "McExpr", "->", "getKind", "(", ")", ";", "switch", "(", "ExprKind", ")", "{", "case", "MCExpr", "::", "VK__None", ":", "return", "", ";", "case", "MCExpr", "::", "VK__ABS_HI", ":", "return", "", ";", "case", "MCExpr", "::", "VK__ABS_LO", ":", "return", "", ";", "}", "}", "return", "", "(", "", ")", ";"], "ground_truth": ["}"], "File": "DLXMCCodeEmitter", "Func": "FixupKind", "Target": "DLX", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 88249, "Length": 49, "Cover_Rate": 0.49} {"Template_token": ["", "if", "(", "const", "MCExpr", "*", "McExpr", "=", "dyn_cast", "<", "MCExpr", ">", "(", "Expr", ")", ")", "{", "MCExpr", "::", "VariantKind", "ExprKind", "=", "McExpr", "->", "getKind", "(", ")", ";", "switch", "(", "ExprKind", ")", "{", "case", "MCExpr", "::", "VK__None", ":", "return", "", ";", "case", "MCExpr", "::", "VK__ABS_HI", ":", "return", "", ";", "case", "MCExpr", "::", "VK__ABS_LO", ":", "return", "", ";", "}"], "ground_truth": ["}"], "File": "DLXMCCodeEmitter", "Func": "FixupKind", "Target": "DLX", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 88250, "Length": 58, "Cover_Rate": 0.58} {"Template_token": ["", "unsigned", "MCCodeEmitter", "::", "getBranchTargetOpValue", "(", "const", "MCInst", "&", "Inst", ",", "unsigned", "OpNo", ",", "SmallVectorImpl", "<", "MCFixup", ">", "&", "Fixups", ",", "const", "MCSubtargetInfo", "&", "SubtargetInfo", ")", "const", "{", "const", "MCOperand", "&", "MCOp", "=", "Inst", ".", "getOperand", "(", "OpNo", ")", ";"], "ground_truth": ["if", "(", "MCOp", ".", "isReg", "(", ")", "||", "MCOp", ".", "isImm", "(", ")", ")", "return", "getMachineOpValue", "(", "Inst", ",", "MCOp", ",", "Fixups", ",", "SubtargetInfo", ")", ";"], "File": "DLXMCCodeEmitter", "Func": "getBranchTargetOpValue", "Target": "DLX", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 88251, "Length": 65, "Cover_Rate": 0.6701030927835051} {"Template_token": ["", "unsigned", "MCCodeEmitter", "::", "getMachineOpValue", "(", "const", "MCInst", "&", "Inst", ",", "const", "MCOperand", "&", "MCOp", ",", "SmallVectorImpl", "<", "MCFixup", ">", "&", "Fixups", ",", "const", "MCSubtargetInfo", "&", "SubtargetInfo", ")", "const", "{", "if", "(", "MCOp", ".", "isReg", "(", ")", ")", "return", "getRegisterNumbering", "(", "MCOp", ".", "getReg", "(", ")", ")", ";", "if", "(", "MCOp", ".", "isImm", "(", ")", ")", "return", "static_cast", "<", "unsigned", ">", "(", "MCOp", ".", "getImm", "(", ")", ")", ";", "assert", "(", "MCOp", ".", "isExpr", "(", ")", ")", ";", "const", "MCExpr", "*", "Expr", "=", "MCOp", ".", "getExpr", "(", ")", ";", "if", "(", "Expr", "->", "getKind", "(", ")", "==", "MCExpr", "::", "Binary", ")", "{", "const", "MCBinaryExpr", "*", "BinaryExpr", "=", "static_cast", "<", "const", "MCBinaryExpr", "*", ">", "(", "Expr", ")", ";", "Expr", "=", "BinaryExpr", "->", "getLHS", "(", ")", ";"], "ground_truth": ["}"], "File": "DLXMCCodeEmitter", "Func": "getMachineOpValue", "Target": "DLX", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 88252, "Length": 125, "Cover_Rate": 0.7102272727272727} {"Template_token": ["", "unsigned", "Encoding", ";", "const", "MCOperand", "Op1", "=", "Inst", ".", "getOperand", "(", "OpNo", "+", "", ")", ";", "const", "MCOperand", "Op2", "=", "Inst", ".", "getOperand", "(", "OpNo", "+", "", ")", ";", "const", "MCOperand", "AluOp", "=", "Inst", ".", "getOperand", "(", "OpNo", "+", "", ")", ";", "assert", "(", "Op1", ".", "isReg", "(", ")", "&&", "", ")", ";", "assert", "(", "(", "Op2", ".", "isImm", "(", ")", "||", "Op2", ".", "isExpr", "(", ")", ")", "&&", "", ")", ";", "assert", "(", "(", "LPAC", "::", "getAluOp", "(", "AluOp", ".", "getImm", "(", ")", ")", "==", "LPAC", "::", "ADD", ")", "&&", "", ")", ";", "Encoding", "=", "(", "getRegisterNumbering", "(", "Op1", ".", "getReg", "(", ")", ")", "<<", "", ")", ";", "if", "(", "Op2", ".", "isImm", "(", ")", ")", "{", "assert", "(", "isInt", "<", "", ">", "(", "Op2", ".", "getImm", "(", ")", ")", "&&", "", ")", ";", "Encoding", "|=", "(", "Op2", ".", "getImm", "(", ")", "&", "", ")", ";"], "ground_truth": ["if", "(", "Op2", ".", "getImm", "(", ")", "!=", "", ")", "{"], "File": "DLXMCCodeEmitter", "Func": "getRiMemoryOpValue", "Target": "DLX", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 88253, "Length": 158, "Cover_Rate": 0.6448979591836734} {"Template_token": ["", "Encoding", "=", "(", "getRegisterNumbering", "(", "Op1", ".", "getReg", "(", ")", ")", "<<", "", ")", ";", "assert", "(", "Op2", ".", "isReg", "(", ")", "&&", "", ")", ";", "Encoding", "|=", "(", "getRegisterNumbering", "(", "Op2", ".", "getReg", "(", ")", ")", "<<", "", ")", ";", "assert", "(", "AluMCOp", ".", "isImm", "(", ")", "&&", "", ")", ";", "unsigned", "AluOp", "=", "AluMCOp", ".", "getImm", "(", ")", ";", "Encoding", "|=", "LPAC", "::", "encodeAluCode", "(", "AluOp", ")", "<<", "", ";", "if", "(", "LPAC", "::", "isPreOp", "(", "AluOp", ")", ")", "Encoding", "|=", "(", "", "<<", "", ")", ";"], "ground_truth": ["if", "(", "LPAC", "::", "isPostOp", "(", "AluOp", ")", ")", "Encoding", "|=", "(", "", "<<", "", ")", ";"], "File": "DLXMCCodeEmitter", "Func": "getRrMemoryOpValue", "Target": "DLX", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 88254, "Length": 106, "Cover_Rate": 0.45689655172413796} {"Template_token": ["", "assert", "(", "(", "LPAC", "::", "getAluOp", "(", "AluOp", ".", "getImm", "(", ")", ")", "==", "LPAC", "::", "ADD", ")", "&&", "", ")", ";", "Encoding", "=", "(", "getRegisterNumbering", "(", "Op1", ".", "getReg", "(", ")", ")", "<<", "", ")", ";", "if", "(", "Op2", ".", "isImm", "(", ")", ")", "{", "assert", "(", "isInt", "<", "", ">", "(", "Op2", ".", "getImm", "(", ")", ")", "&&", "", ")", ";", "Encoding", "|=", "(", "Op2", ".", "getImm", "(", ")", "&", "", ")", ";", "if", "(", "Op2", ".", "getImm", "(", ")", "!=", "", ")", "{", "if", "(", "LPAC", "::", "isPreOp", "(", "AluOp", ".", "getImm", "(", ")", ")", ")", "Encoding", "|=", "(", "", "<<", "", ")", ";", "if", "(", "LPAC", "::", "isPostOp", "(", "AluOp", ".", "getImm", "(", ")", ")", ")", "Encoding", "|=", "(", "", "<<", "", ")", ";", "}", "}", "else", "getMachineOpValue", "(", "Inst", ",", "Op2", ",", "Fixups", ",", "SubtargetInfo", ")", ";", "return", "Encoding", ";"], "ground_truth": ["}"], "File": "DLXMCCodeEmitter", "Func": "getSplsOpValue", "Target": "DLX", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 88255, "Length": 146, "Cover_Rate": 0.5959183673469388} {"Template_token": ["", "const", "MCOperand", "Op1", "=", "Inst", ".", "getOperand", "(", "OpNo", "+", "", ")", ";", "const", "MCOperand", "Op2", "=", "Inst", ".", "getOperand", "(", "OpNo", "+", "", ")", ";", "const", "MCOperand", "AluOp", "=", "Inst", ".", "getOperand", "(", "OpNo", "+", "", ")", ";", "assert", "(", "Op1", ".", "isReg", "(", ")", "&&", "", ")", ";", "assert", "(", "(", "Op2", ".", "isImm", "(", ")", "||", "Op2", ".", "isExpr", "(", ")", ")", "&&", "", ")", ";", "assert", "(", "(", "LPAC", "::", "getAluOp", "(", "AluOp", ".", "getImm", "(", ")", ")", "==", "LPAC", "::", "ADD", ")", "&&", "", ")", ";", "Encoding", "=", "(", "getRegisterNumbering", "(", "Op1", ".", "getReg", "(", ")", ")", "<<", "", ")", ";", "if", "(", "Op2", ".", "isImm", "(", ")", ")", "{", "assert", "(", "isInt", "<", "", ">", "(", "Op2", ".", "getImm", "(", ")", ")", "&&", "", ")", ";", "Encoding", "|=", "(", "Op2", ".", "getImm", "(", ")", "&", "", ")", ";", "if", "(", "Op2", ".", "getImm", "(", ")", "!=", "", ")", "{", "if", "(", "LPAC", "::", "isPreOp", "(", "AluOp", ".", "getImm", "(", ")", ")", ")", "Encoding", "|=", "(", "", "<<", "", ")", ";"], "ground_truth": ["if", "(", "LPAC", "::", "isPostOp", "(", "AluOp", ".", "getImm", "(", ")", ")", ")", "Encoding", "|=", "(", "", "<<", "", ")", ";"], "File": "DLXMCCodeEmitter", "Func": "getSplsOpValue", "Target": "DLX", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 88256, "Length": 197, "Cover_Rate": 0.8040816326530612} {"Template_token": ["", "const", "MCExpr", "*", "MCExpr", "::", "create", "(", "VariantKind", "Kind", ",", "const", "MCExpr", "*", "Expr", ",", "MCContext", "&", "Ctx", ")", "{"], "ground_truth": ["return", "new", "(", "Ctx", ")", "MCExpr", "(", "Kind", ",", "Expr", ")", ";"], "File": "DLXMCExpr", "Func": "create", "Target": "DLX", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 88259, "Length": 32, "Cover_Rate": 0.9696969696969697} {"Template_token": ["", "explicit", "MCExpr", "(", "VariantKind", "Kind", ",", "const", "MCExpr", "*", "Expr", ")", ":", "Kind", "(", "Kind", ")", ",", "Expr", "(", "Expr", ")", "{"], "ground_truth": ["}"], "File": "DLXMCExpr", "Func": "DLXMCExpr", "Target": "DLX", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 88261, "Length": 23, "Cover_Rate": 1.0} {"Template_token": ["", "explicit", "MCExpr", "(", "VariantKind", "Kind", ",", "const", "MCExpr", "*", "Expr", ")", ":", "Kind", "(", "Kind", ")", ",", "Expr", "(", "Expr", ")", "{"], "ground_truth": ["}"], "File": "DLXMCExpr", "Func": "DLXMCExpr", "Target": "DLX", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 88262, "Length": 23, "Cover_Rate": 1.0} {"Template_token": ["", "Res", "=", "MCValue", "::", "get", "(", "Res", ".", "getSymA", "(", ")", ",", "Res", ".", "getSymB", "(", ")", ",", "Res", ".", "getConstant", "(", ")", ",", "getKind", "(", ")", ")", ";"], "ground_truth": ["return", "true", ";"], "File": "DLXMCExpr", "Func": "evaluateAsRelocatableImpl", "Target": "DLX", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 88264, "Length": 32, "Cover_Rate": 0.4383561643835616} {"Template_token": ["", "MCFragment", "*", "findAssociatedFragment", "(", ")", "const", "override", "{", "return", "getSubExpr", "(", ")", "->", "findAssociatedFragment", "(", ")", ";"], "ground_truth": ["}"], "File": "DLXMCExpr", "Func": "findAssociatedFragment", "Target": "DLX", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 88266, "Length": 18, "Cover_Rate": 1.0} {"Template_token": ["", "void", "fixELFSymbolsInTLSFixups", "(", "MCAssembler", "&", ")", "const", "override", "{"], "ground_truth": ["}"], "File": "DLXMCExpr", "Func": "fixELFSymbolsInTLSFixups", "Target": "DLX", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 88267, "Length": 10, "Cover_Rate": 1.0} {"Template_token": ["", "void", "fixELFSymbolsInTLSFixups", "(", "MCAssembler", "&", ")", "const", "override", "{"], "ground_truth": ["}"], "File": "DLXMCExpr", "Func": "fixELFSymbolsInTLSFixups", "Target": "DLX", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 88268, "Length": 10, "Cover_Rate": 1.0} {"Template_token": ["", "VariantKind", "getKind", "(", ")", "const", "{"], "ground_truth": ["return", "Kind", ";"], "File": "DLXMCExpr", "Func": "getKind", "Target": "DLX", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 88269, "Length": 9, "Cover_Rate": 0.9} {"Template_token": ["", "VariantKind", "getKind", "(", ")", "const", "{", "return", "Kind", ";"], "ground_truth": ["}"], "File": "DLXMCExpr", "Func": "getKind", "Target": "DLX", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 88270, "Length": 10, "Cover_Rate": 1.0} {"Template_token": ["", "const", "MCExpr", "*", "getSubExpr", "(", ")", "const", "{", "return", "Expr", ";"], "ground_truth": ["}"], "File": "DLXMCExpr", "Func": "getSubExpr", "Target": "DLX", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 88271, "Length": 12, "Cover_Rate": 1.0} {"Template_token": ["", "return", "Expr", ";"], "ground_truth": ["}"], "File": "DLXMCExpr", "Func": "getSubExpr", "Target": "DLX", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 88272, "Length": 4, "Cover_Rate": 0.3333333333333333} {"Template_token": ["", "Streamer", ".", "visitUsedExpr", "(", "*", "getSubExpr", "(", ")", ")", ";"], "ground_truth": ["}"], "File": "DLXMCExpr", "Func": "visitUsedExpr", "Target": "DLX", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 88273, "Length": 11, "Cover_Rate": 0.5} {"Template_token": ["", "MCSymbol", "*", "MCInstLower", "::", "GetBlockAddressSymbol", "(", "const", "MachineOperand", "&", "MO", ")", "const", "{"], "ground_truth": ["return", "Printer", ".", "GetBlockAddressSymbol", "(", "MO", ".", "getBlockAddress", "(", ")", ")", ";"], "File": "DLXMCInstLower", "Func": "GetBlockAddressSymbol", "Target": "DLX", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 88275, "Length": 25, "Cover_Rate": 0.9615384615384616} {"Template_token": ["", "MCSymbol", "*", "MCInstLower", "::", "GetBlockAddressSymbol", "(", "const", "MachineOperand", "&", "MO", ")", "const", "{"], "ground_truth": ["return", "Printer", ".", "GetBlockAddressSymbol", "(", "MO", ".", "getBlockAddress", "(", ")", ")", ";"], "File": "DLXMCInstLower", "Func": "GetBlockAddressSymbol", "Target": "DLX", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 88276, "Length": 25, "Cover_Rate": 0.9615384615384616} {"Template_token": ["", "raw_svector_ostream", "(", "Name", ")", "<<", "Printer", ".", "MAI", "->", "getPrivateGlobalPrefix", "(", ")", "<<", "", "<<", "Printer", ".", "getFunctionNumber", "(", ")", "<<", "'_'", "<<", "MO", ".", "getIndex", "(", ")", ";", "return", "Ctx", ".", "getOrCreateSymbol", "(", "Name", ".", "str", "(", ")", ")", ";"], "ground_truth": ["}"], "File": "DLXMCInstLower", "Func": "GetConstantPoolIndexSymbol", "Target": "DLX", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 88277, "Length": 42, "Cover_Rate": 0.6885245901639344} {"Template_token": ["", "return", "Printer", ".", "GetExternalSymbolSymbol", "(", "MO", ".", "getSymbolName", "(", ")", ")", ";"], "ground_truth": ["}"], "File": "DLXMCInstLower", "Func": "GetExternalSymbolSymbol", "Target": "DLX", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 88279, "Length": 13, "Cover_Rate": 0.5} {"Template_token": ["", "MCOperand", "LowerSymbolOperand", "(", "const", "MachineOperand", "&", "MO", ",", "MCSymbol", "*", "Sym", ")", "const", ";", "MCSymbol", "*", "GetGlobalAddressSymbol", "(", "const", "MachineOperand", "&", "MO", ")", "const", ";", "MCSymbol", "*", "GetBlockAddressSymbol", "(", "const", "MachineOperand", "&", "MO", ")", "const", ";", "MCSymbol", "*", "GetExternalSymbolSymbol", "(", "const", "MachineOperand", "&", "MO", ")", "const", ";", "MCSymbol", "*", "GetJumpTableSymbol", "(", "const", "MachineOperand", "&", "MO", ")", "const", ";", "MCSymbol", "*", "GetConstantPoolIndexSymbol", "(", "const", "MachineOperand", "&", "MO", ")", "const", ";"], "ground_truth": ["}"], "File": "DLXMCInstLower", "Func": "GetGlobalAddressSymbol", "Target": "DLX", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 88280, "Length": 70, "Cover_Rate": 0.5833333333333334} {"Template_token": ["", "MCSymbol", "*", "MCInstLower", "::", "GetJumpTableSymbol", "(", "const", "MachineOperand", "&", "MO", ")", "const", "{", "SmallString", "<", "", ">", "Name", ";", "raw_svector_ostream", "(", "Name", ")", "<<", "Printer", ".", "MAI", "->", "getPrivateGlobalPrefix", "(", ")", "<<", "", "<<", "Printer", ".", "getFunctionNumber", "(", ")", "<<", "'_'", "<<", "MO", ".", "getIndex", "(", ")", ";"], "ground_truth": ["return", "Ctx", ".", "getOrCreateSymbol", "(", "Name", ".", "str", "(", ")", ")", ";"], "File": "DLXMCInstLower", "Func": "GetJumpTableSymbol", "Target": "DLX", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 88281, "Length": 60, "Cover_Rate": 0.9836065573770492} {"Template_token": ["", "switch", "(", "MO", ".", "getType", "(", ")", ")", "{", "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_RegisterMask", ":", "continue", ";", "case", "MachineOperand", "::", "MO_GlobalAddress", ":", "MCOp", "=", "LowerSymbolOperand", "(", "MO", ",", "GetGlobalAddressSymbol", "(", "MO", ")", ")", ";", "break", ";", "case", "MachineOperand", "::", "MO_BlockAddress", ":", "MCOp", "=", "LowerSymbolOperand", "(", "MO", ",", "GetBlockAddressSymbol", "(", "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", ";", "default", ":"], "ground_truth": ["MI", "->", "print", "(", "errs", "(", ")", ")", ";"], "File": "DLXMCInstLower", "Func": "Lower", "Target": "DLX", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 88282, "Length": 203, "Cover_Rate": 0.7173144876325088} {"Template_token": ["", "case", "", ":", "Kind", "=", "MCExpr", "::", "VK__None", ";", "break", ";", "case", "", ":", "Kind", "=", "MCExpr", "::", "VK__ABS_HI", ";", "break", ";", "case", "", ":", "Kind", "=", "MCExpr", "::", "VK__ABS_LO", ";", "break", ";", "default", ":", "llvm_unreachable", "(", "", ")", ";", "}", "const", "MCExpr", "*", "Expr", "=", "MCSymbolRefExpr", "::", "create", "(", "Sym", ",", "MCSymbolRefExpr", "::", "VK_None", ",", "Ctx", ")", ";"], "ground_truth": ["if", "(", "!", "MO", ".", "isJTI", "(", ")", "&&", "MO", ".", "getOffset", "(", ")", ")", "Expr", "=", "MCBinaryExpr", "::", "createAdd", "(", "Expr", ",", "MCConstantExpr", "::", "create", "(", "MO", ".", "getOffset", "(", ")", ",", "Ctx", ")", ",", "Ctx", ")", ";"], "File": "DLXMCInstLower", "Func": "LowerSymbolOperand", "Target": "DLX", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 88283, "Length": 98, "Cover_Rate": 0.6282051282051282} {"Template_token": ["", "default", ":", "llvm_unreachable", "(", "", ")", ";", "}", "const", "MCExpr", "*", "Expr", "=", "MCSymbolRefExpr", "::", "create", "(", "Sym", ",", "MCSymbolRefExpr", "::", "VK_None", ",", "Ctx", ")", ";", "if", "(", "!", "MO", ".", "isJTI", "(", ")", "&&", "MO", ".", "getOffset", "(", ")", ")", "Expr", "=", "MCBinaryExpr", "::", "createAdd", "(", "Expr", ",", "MCConstantExpr", "::", "create", "(", "MO", ".", "getOffset", "(", ")", ",", "Ctx", ")", ",", "Ctx", ")", ";"], "ground_truth": ["Expr", "=", "MCExpr", "::", "create", "(", "Kind", ",", "Expr", ",", "Ctx", ")", ";"], "File": "DLXMCInstLower", "Func": "LowerSymbolOperand", "Target": "DLX", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 88284, "Length": 78, "Cover_Rate": 0.5} {"Template_token": ["", "return", "createMCRelocationInfo", "(", "TheTriple", ",", "Ctx", ")", ";"], "ground_truth": ["}"], "File": "DLXMCTargetDesc", "Func": "createDLXElfRelocation", "Target": "DLX", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 88285, "Length": 9, "Cover_Rate": 0.375} {"Template_token": ["", "static", "MCRelocationInfo", "*", "createElfRelocation", "(", "const", "Triple", "&", "TheTriple", ",", "MCContext", "&", "Ctx", ")", "{", "return", "createMCRelocationInfo", "(", "TheTriple", ",", "Ctx", ")", ";"], "ground_truth": ["}"], "File": "DLXMCTargetDesc", "Func": "createDLXElfRelocation", "Target": "DLX", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 88286, "Length": 24, "Cover_Rate": 1.0} {"Template_token": ["", "static", "MCInstrAnalysis", "*", "createInstrAnalysis", "(", "const", "MCInstrInfo", "*", "Info", ")", "{", "return", "new", "MCInstrAnalysis", "(", "Info", ")", ";"], "ground_truth": ["}"], "File": "DLXMCTargetDesc", "Func": "createDLXInstrAnalysis", "Target": "DLX", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 88287, "Length": 19, "Cover_Rate": 1.0} {"Template_token": ["", "return", "new", "MCInstrAnalysis", "(", "Info", ")", ";"], "ground_truth": ["}"], "File": "DLXMCTargetDesc", "Func": "createDLXInstrAnalysis", "Target": "DLX", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 88288, "Length": 8, "Cover_Rate": 0.42105263157894735} {"Template_token": ["", "if", "(", "SyntaxVariant", "==", "", ")", "return", "new", "InstPrinter", "(", "MAI", ",", "MII", ",", "MRI", ")", ";"], "ground_truth": ["return", "nullptr", ";"], "File": "DLXMCTargetDesc", "Func": "createDLXMCInstPrinter", "Target": "DLX", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 88289, "Length": 20, "Cover_Rate": 0.40816326530612246} {"Template_token": ["", "InitMCInstrInfo", "(", "X", ")", ";"], "ground_truth": ["return", "X", ";"], "File": "DLXMCTargetDesc", "Func": "createDLXMCInstrInfo", "Target": "DLX", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 88290, "Length": 8, "Cover_Rate": 0.32} {"Template_token": ["", "InitMCInstrInfo", "(", "X", ")", ";", "return", "X", ";"], "ground_truth": ["}"], "File": "DLXMCTargetDesc", "Func": "createDLXMCInstrInfo", "Target": "DLX", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 88291, "Length": 9, "Cover_Rate": 0.36} {"Template_token": ["", "MCRegisterInfo", "*", "X", "=", "new", "MCRegisterInfo", "(", ")", ";"], "ground_truth": ["return", "X", ";"], "File": "DLXMCTargetDesc", "Func": "createDLXMCRegisterInfo", "Target": "DLX", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 88292, "Length": 12, "Cover_Rate": 0.5217391304347826} {"Template_token": ["", "std", "::", "string", "CPUName", "=", "CPU", ";", "if", "(", "CPUName", ".", "empty", "(", ")", ")", "CPUName", "=", "", ";", "return", "createMCSubtargetInfoImpl", "(", "TT", ",", "CPUName", ",", "FS", ")", ";"], "ground_truth": ["}"], "File": "DLXMCTargetDesc", "Func": "createDLXMCSubtargetInfo", "Target": "DLX", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 88293, "Length": 30, "Cover_Rate": 0.6382978723404256} {"Template_token": ["", "static", "MCStreamer", "*", "createMCStreamer", "(", "const", "Triple", "&", "T", ",", "MCContext", "&", "Context", ",", "std", "::", "unique_ptr", "<", "MCAsmBackend", ">", "&&", "MAB", ",", "std", "::", "unique_ptr", "<", "MCObjectWriter", ">", "&&", "OW", ",", "std", "::", "unique_ptr", "<", "MCCodeEmitter", ">", "&&", "Emitter", ",", "bool", "RelaxAll", ")", "{", "if", "(", "!", "T", ".", "isOSBinFormatELF", "(", ")", ")", "llvm_unreachable", "(", "", ")", ";", "return", "createELFStreamer", "(", "Context", ",", "std", "::", "move", "(", "MAB", ")", ",", "std", "::", "move", "(", "OW", ")", ",", "std", "::", "move", "(", "Emitter", ")", ",", "RelaxAll", ")", ";"], "ground_truth": ["}"], "File": "DLXMCTargetDesc", "Func": "createMCStreamer", "Target": "DLX", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 88294, "Length": 89, "Cover_Rate": 1.0} {"Template_token": ["", "return", "createELFStreamer", "(", "Context", ",", "std", "::", "move", "(", "MAB", ")", ",", "std", "::", "move", "(", "OW", ")", ",", "std", "::", "move", "(", "Emitter", ")", ",", "RelaxAll", ")", ";"], "ground_truth": ["}"], "File": "DLXMCTargetDesc", "Func": "createMCStreamer", "Target": "DLX", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 88295, "Length": 30, "Cover_Rate": 0.33707865168539325} {"Template_token": ["", "explicit", "MCInstrAnalysis", "(", "const", "MCInstrInfo", "*", "Info", ")", ":", "MCInstrAnalysis", "(", "Info", ")", "{"], "ground_truth": ["}"], "File": "DLXMCTargetDesc", "Func": "DLXMCInstrAnalysis", "Target": "DLX", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 88296, "Length": 15, "Cover_Rate": 1.0} {"Template_token": ["", "explicit", "MCInstrAnalysis", "(", "const", "MCInstrInfo", "*", "Info", ")", ":", "MCInstrAnalysis", "(", "Info", ")", "{"], "ground_truth": ["}"], "File": "DLXMCTargetDesc", "Func": "DLXMCInstrAnalysis", "Target": "DLX", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 88297, "Length": 15, "Cover_Rate": 1.0} {"Template_token": ["", "bool", "evaluateBranch", "(", "const", "MCInst", "&", "Inst", ",", "uint64_t", "Addr", ",", "uint64_t", "Size", ",", "uint64_t", "&", "Target", ")", "const", "override", "{", "if", "(", "Inst", ".", "getNumOperands", "(", ")", "==", "", ")", "return", "false", ";", "if", "(", "Info", "->", "get", "(", "Inst", ".", "getOpcode", "(", ")", ")", ".", "OpInfo", "[", "", "]", ".", "OperandType", "==", "MCOI", "::", "OPERAND_PCREL", ")", "{", "int64_t", "Imm", "=", "Inst", ".", "getOperand", "(", "", ")", ".", "getImm", "(", ")", ";", "Target", "=", "Addr", "+", "Size", "+", "Imm", ";", "return", "true", ";", "}", "else", "{", "int64_t", "Imm", "=", "Inst", ".", "getOperand", "(", "", ")", ".", "getImm", "(", ")", ";", "if", "(", "Imm", "==", "", ")", "return", "false", ";"], "ground_truth": ["Target", "=", "Imm", ";"], "File": "DLXMCTargetDesc", "Func": "evaluateBranch", "Target": "DLX", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 88298, "Length": 114, "Cover_Rate": 0.957983193277311} {"Template_token": ["", "bool", "evaluateBranch", "(", "const", "MCInst", "&", "Inst", ",", "uint64_t", "Addr", ",", "uint64_t", "Size", ",", "uint64_t", "&", "Target", ")", "const", "override", "{", "if", "(", "Inst", ".", "getNumOperands", "(", ")", "==", "", ")", "return", "false", ";", "if", "(", "Info", "->", "get", "(", "Inst", ".", "getOpcode", "(", ")", ")", ".", "OpInfo", "[", "", "]", ".", "OperandType", "==", "MCOI", "::", "OPERAND_PCREL", ")", "{", "int64_t", "Imm", "=", "Inst", ".", "getOperand", "(", "", ")", ".", "getImm", "(", ")", ";", "Target", "=", "Addr", "+", "Size", "+", "Imm", ";", "return", "true", ";"], "ground_truth": ["}", "else", "{"], "File": "DLXMCTargetDesc", "Func": "evaluateBranch", "Target": "DLX", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 88299, "Length": 87, "Cover_Rate": 0.7310924369747899} {"Template_token": ["", "TargetRegistry", "::", "RegisterMCAsmBackend", "(", "getTheTarget", "(", ")", ",", "createAsmBackend", ")", ";", "TargetRegistry", "::", "RegisterMCInstPrinter", "(", "getTheTarget", "(", ")", ",", "createMCInstPrinter", ")", ";", "TargetRegistry", "::", "RegisterELFStreamer", "(", "getTheTarget", "(", ")", ",", "createMCStreamer", ")", ";"], "ground_truth": ["TargetRegistry", "::", "RegisterMCRelocationInfo", "(", "getTheTarget", "(", ")", ",", "createElfRelocation", ")", ";"], "File": "DLXMCTargetDesc", "Func": "LLVMInitializeDLXTargetMC", "Target": "DLX", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 88300, "Length": 44, "Cover_Rate": 0.3793103448275862} {"Template_token": ["", "TargetRegistry", "::", "RegisterMCCodeEmitter", "(", "getTheTarget", "(", ")", ",", "createMCCodeEmitter", ")", ";", "TargetRegistry", "::", "RegisterMCAsmBackend", "(", "getTheTarget", "(", ")", ",", "createAsmBackend", ")", ";", "TargetRegistry", "::", "RegisterMCInstPrinter", "(", "getTheTarget", "(", ")", ",", "createMCInstPrinter", ")", ";", "TargetRegistry", "::", "RegisterELFStreamer", "(", "getTheTarget", "(", ")", ",", "createMCStreamer", ")", ";", "TargetRegistry", "::", "RegisterMCRelocationInfo", "(", "getTheTarget", "(", ")", ",", "createElfRelocation", ")", ";"], "ground_truth": ["TargetRegistry", "::", "RegisterMCInstrAnalysis", "(", "getTheTarget", "(", ")", ",", "createInstrAnalysis", ")", ";"], "File": "DLXMCTargetDesc", "Func": "LLVMInitializeDLXTargetMC", "Target": "DLX", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 88301, "Length": 66, "Cover_Rate": 0.5689655172413793} {"Template_token": ["", "unsigned", "int", "DestReg", "=", "MBBIter", "->", "getOperand", "(", "", ")", ".", "getReg", "(", ")", ",", "BaseReg", "=", "MBBIter", "->", "getOperand", "(", "", ")", ".", "getReg", "(", ")", ";", "assert", "(", "AluOperand", ".", "isImm", "(", ")", "&&", "", ")", ";", "LPAC", "::", "AluCode", "AluOpcode", "=", "static_cast", "<", "LPAC", "::", "AluCode", ">", "(", "AluOperand", ".", "getImm", "(", ")", ")", ";", "if", "(", "!", "LPAC", "::", "modifiesOp", "(", "AluOpcode", ")", "&&", "DestReg", "!=", "BaseReg", ")", "{", "for", "(", "int", "Inc", "=", "", ";", "Inc", "<=", "", ";", "++", "Inc", ")", "{", "MbbIterator", "AluIter", "=", "findClosestSuitableAluInstr", "(", "BB", ",", "MBBIter", ",", "Inc", "==", "", ")", ";", "if", "(", "AluIter", "!=", "MBBIter", ")", "{", "insertMergedInstruction", "(", "BB", ",", "MBBIter", ",", "AluIter", ",", "Inc", "==", "", ")", ";", "++", "NumLdStAluCombined", ";", "Modified", "=", "true", ";", "BB", "->", "erase", "(", "AluIter", ")", ";", "BB", "->", "erase", "(", "MBBIter", "++", ")", ";", "break", ";", "}", "}", "}", "}", "if", "(", "MBBIter", "==", "End", ")", "break", ";", "++", "MBBIter", ";"], "ground_truth": ["}"], "File": "DLXMemAluCombiner", "Func": "combineMemAluInBasicBlock", "Target": "DLX", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 88302, "Length": 162, "Cover_Rate": 0.7074235807860262} {"Template_token": ["", "return", "new", "MemAluCombiner", "(", ")", ";"], "ground_truth": ["}"], "File": "DLXMemAluCombiner", "Func": "createDLXMemAluCombinerPass", "Target": "DLX", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 88303, "Length": 7, "Cover_Rate": 0.4666666666666667} {"Template_token": ["", "FunctionPass", "*", "llvm", "::", "createMemAluCombinerPass", "(", ")", "{"], "ground_truth": ["return", "new", "MemAluCombiner", "(", ")", ";"], "File": "DLXMemAluCombiner", "Func": "createDLXMemAluCombinerPass", "Target": "DLX", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 88304, "Length": 14, "Cover_Rate": 0.9333333333333333} {"Template_token": ["", "Decrement", "?", "--", "First", ":", "++", "First", ";", "if", "(", "First", "==", "Last", ")", "break", ";", "if", "(", "First", "->", "isDebugInstr", "(", ")", ")", "continue", ";", "if", "(", "isSuitableAluInstr", "(", "IsSpls", ",", "First", ",", "*", "Base", ",", "*", "Offset", ")", ")", "{", "return", "First", ";", "}"], "ground_truth": ["if", "(", "First", "!=", "Last", ")", "{"], "File": "DLXMemAluCombiner", "Func": "findClosestSuitableAluInstr", "Target": "DLX", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 88307, "Length": 53, "Cover_Rate": 0.30994152046783624} {"Template_token": ["", "bool", "IsSpls", "=", "isSpls", "(", "MemInstr", "->", "getOpcode", "(", ")", ")", ";", "MbbIterator", "First", "=", "MemInstr", ";", "MbbIterator", "Last", "=", "Decrement", "?", "BB", "->", "begin", "(", ")", ":", "BB", "->", "end", "(", ")", ";", "while", "(", "First", "!=", "Last", ")", "{", "Decrement", "?", "--", "First", ":", "++", "First", ";", "if", "(", "First", "==", "Last", ")", "break", ";", "if", "(", "First", "->", "isDebugInstr", "(", ")", ")", "continue", ";"], "ground_truth": ["if", "(", "isSuitableAluInstr", "(", "IsSpls", ",", "First", ",", "*", "Base", ",", "*", "Offset", ")", ")", "{"], "File": "DLXMemAluCombiner", "Func": "findClosestSuitableAluInstr", "Target": "DLX", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 88308, "Length": 83, "Cover_Rate": 0.4853801169590643} {"Template_token": ["", "return", "", ";"], "ground_truth": ["}"], "File": "DLXMemAluCombiner", "Func": "getPassName", "Target": "DLX", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 88309, "Length": 4, "Cover_Rate": 0.36363636363636365} {"Template_token": ["", "assert", "(", "(", "AluOffset", ".", "isReg", "(", ")", "||", "AluOffset", ".", "isImm", "(", ")", ")", "&&", "", ")", ";", "LPAC", "::", "AluCode", "AluOpcode", "=", "mergedAluCode", "(", "AluInstr", "->", "getOpcode", "(", ")", ")", ";", "unsigned", "NewOpc", "=", "mergedOpcode", "(", "MemInstr", "->", "getOpcode", "(", ")", ",", "AluOffset", ".", "isImm", "(", ")", ")", ";", "assert", "(", "AluOpcode", "!=", "LPAC", "::", "UNKNOWN", "&&", "", ")", ";", "assert", "(", "NewOpc", "!=", "", "&&", "", ")", ";", "MachineInstrBuilder", "InstrBuilder", "=", "BuildMI", "(", "*", "BB", ",", "MemInstr", ",", "MemInstr", "->", "getDebugLoc", "(", ")", ",", "TII", "->", "get", "(", "NewOpc", ")", ")", ";", "InstrBuilder", ".", "addReg", "(", "Dest", ".", "getReg", "(", ")", ",", "getDefRegState", "(", "true", ")", ")", ";", "InstrBuilder", ".", "addReg", "(", "Base", ".", "getReg", "(", ")", ",", "getKillRegState", "(", "true", ")", ")", ";", "if", "(", "AluOffset", ".", "isReg", "(", ")", ")", "InstrBuilder", ".", "addReg", "(", "AluOffset", ".", "getReg", "(", ")", ")", ";", "else", "if", "(", "AluOffset", ".", "isImm", "(", ")", ")", "InstrBuilder", ".", "addImm", "(", "AluOffset", ".", "getImm", "(", ")", ")", ";", "else", "llvm_unreachable", "(", "", ")", ";", "if", "(", "Before", "||", "!", "isZeroOperand", "(", "MemOffset", ")", ")", "InstrBuilder", ".", "addImm", "(", "LPAC", "::", "makePreOp", "(", "AluOpcode", ")", ")", ";", "else", "InstrBuilder", ".", "addImm", "(", "LPAC", "::", "makePostOp", "(", "AluOpcode", ")", ")", ";", "InstrBuilder", ".", "setMemRefs", "(", "MemInstr", "->", "memoperands", "(", ")", ")", ";"], "ground_truth": ["}"], "File": "DLXMemAluCombiner", "Func": "insertMergedInstruction", "Target": "DLX", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 88311, "Length": 219, "Cover_Rate": 0.776595744680851} {"Template_token": ["", "for", "(", "MachineInstr", "::", "const_mop_iterator", "Mop", "=", "Instr", "->", "operands_begin", "(", ")", ";", "Mop", "!=", "Instr", "->", "operands_end", "(", ")", ";", "++", "Mop", ")", "{"], "ground_truth": ["if", "(", "isSameOperand", "(", "*", "Mop", ",", "*", "Reg", ")", ")", "return", "true", ";"], "File": "DLXMemAluCombiner", "Func": "InstrUsesReg", "Target": "DLX", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 88312, "Length": 39, "Cover_Rate": 0.6724137931034483} {"Template_token": ["", "bool", "InstrUsesReg", "(", "const", "MbbIterator", "&", "Instr", ",", "const", "MachineOperand", "*", "Reg", ")", "{", "for", "(", "MachineInstr", "::", "const_mop_iterator", "Mop", "=", "Instr", "->", "operands_begin", "(", ")", ";", "Mop", "!=", "Instr", "->", "operands_end", "(", ")", ";", "++", "Mop", ")", "{"], "ground_truth": ["if", "(", "isSameOperand", "(", "*", "Mop", ",", "*", "Reg", ")", ")", "return", "true", ";"], "File": "DLXMemAluCombiner", "Func": "InstrUsesReg", "Target": "DLX", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 88313, "Length": 53, "Cover_Rate": 0.9137931034482759} {"Template_token": ["", "if", "(", "mergedOpcode", "(", "MI", ".", "getOpcode", "(", ")", ",", "false", ")", "==", "", ")", "return", "false", ";", "const", "MachineMemOperand", "*", "MemOperand", "=", "*", "MI", ".", "memoperands_begin", "(", ")", ";", "if", "(", "MemOperand", "->", "isVolatile", "(", ")", ")", "return", "false", ";", "return", "true", ";"], "ground_truth": ["}"], "File": "DLXMemAluCombiner", "Func": "isNonVolatileMemoryOp", "Target": "DLX", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 88314, "Length": 45, "Cover_Rate": 0.6818181818181818} {"Template_token": ["", "if", "(", "!", "MI", ".", "hasOneMemOperand", "(", ")", ")", "return", "false", ";", "if", "(", "mergedOpcode", "(", "MI", ".", "getOpcode", "(", ")", ",", "false", ")", "==", "", ")", "return", "false", ";", "const", "MachineMemOperand", "*", "MemOperand", "=", "*", "MI", ".", "memoperands_begin", "(", ")", ";"], "ground_truth": ["if", "(", "MemOperand", "->", "isVolatile", "(", ")", ")", "return", "false", ";"], "File": "DLXMemAluCombiner", "Func": "isNonVolatileMemoryOp", "Target": "DLX", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 88315, "Length": 53, "Cover_Rate": 0.803030303030303} {"Template_token": ["", "bool", "isSpls", "(", "uint16_t", "Opcode", ")", "{", "return", "false", ";"], "ground_truth": ["}"], "File": "DLXMemAluCombiner", "Func": "isSpls", "Target": "DLX", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 88316, "Length": 11, "Cover_Rate": 1.0} {"Template_token": ["", "bool", "isSpls", "(", "uint16_t", "Opcode", ")", "{"], "ground_truth": ["return", "false", ";"], "File": "DLXMemAluCombiner", "Func": "isSpls", "Target": "DLX", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 88317, "Length": 10, "Cover_Rate": 0.9090909090909091} {"Template_token": ["", "if", "(", "AluIter", "->", "getNumOperands", "(", ")", "!=", "", ")", "return", "false", ";", "MachineOperand", "&", "Dest", "=", "AluIter", "->", "getOperand", "(", "", ")", ";", "MachineOperand", "&", "Op1", "=", "AluIter", "->", "getOperand", "(", "", ")", ";", "MachineOperand", "&", "Op2", "=", "AluIter", "->", "getOperand", "(", "", ")", ";", "if", "(", "!", "isSameOperand", "(", "Dest", ",", "Base", ")", "||", "!", "isSameOperand", "(", "Dest", ",", "Op1", ")", ")", "return", "false", ";", "if", "(", "Op2", ".", "isImm", "(", ")", ")", "{", "if", "(", "Offset", ".", "isReg", "(", ")", "&&", "Offset", ".", "getReg", "(", ")", "==", "", ")", "return", "true", ";", "if", "(", "Offset", ".", "isImm", "(", ")", "&&", "(", "(", "Offset", ".", "getImm", "(", ")", "==", "", "&&", "(", "(", "IsSpls", "&&", "isInt", "<", "", ">", "(", "Op2", ".", "getImm", "(", ")", ")", ")", "||", "(", "!", "IsSpls", "&&", "isInt", "<", "", ">", "(", "Op2", ".", "getImm", "(", ")", ")", ")", ")", ")", "||", "Offset", ".", "getImm", "(", ")", "==", "Op2", ".", "getImm", "(", ")", ")", ")", "return", "true", ";", "}", "else", "if", "(", "Op2", ".", "isReg", "(", ")", ")", "{", "if", "(", "Offset", ".", "isReg", "(", ")", "&&", "Op2", ".", "getReg", "(", ")", "==", "Offset", ".", "getReg", "(", ")", ")", "return", "true", ";"], "ground_truth": ["}", "else", "return", "false", ";"], "File": "DLXMemAluCombiner", "Func": "isSuitableAluInstr", "Target": "DLX", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 88318, "Length": 204, "Cover_Rate": 0.8793103448275862} {"Template_token": ["", "MachineOperand", "&", "Op1", "=", "AluIter", "->", "getOperand", "(", "", ")", ";", "MachineOperand", "&", "Op2", "=", "AluIter", "->", "getOperand", "(", "", ")", ";", "if", "(", "!", "isSameOperand", "(", "Dest", ",", "Base", ")", "||", "!", "isSameOperand", "(", "Dest", ",", "Op1", ")", ")", "return", "false", ";", "if", "(", "Op2", ".", "isImm", "(", ")", ")", "{", "if", "(", "Offset", ".", "isReg", "(", ")", "&&", "Offset", ".", "getReg", "(", ")", "==", "", ")", "return", "true", ";", "if", "(", "Offset", ".", "isImm", "(", ")", "&&", "(", "(", "Offset", ".", "getImm", "(", ")", "==", "", "&&", "(", "(", "IsSpls", "&&", "isInt", "<", "", ">", "(", "Op2", ".", "getImm", "(", ")", ")", ")", "||", "(", "!", "IsSpls", "&&", "isInt", "<", "", ">", "(", "Op2", ".", "getImm", "(", ")", ")", ")", ")", ")", "||", "Offset", ".", "getImm", "(", ")", "==", "Op2", ".", "getImm", "(", ")", ")", ")", "return", "true", ";", "}", "else", "if", "(", "Op2", ".", "isReg", "(", ")", ")", "{", "if", "(", "Offset", ".", "isReg", "(", ")", "&&", "Op2", ".", "getReg", "(", ")", "==", "Offset", ".", "getReg", "(", ")", ")", "return", "true", ";", "}", "else", "return", "false", ";", "return", "false", ";"], "ground_truth": ["}"], "File": "DLXMemAluCombiner", "Func": "isSuitableAluInstr", "Target": "DLX", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 88319, "Length": 184, "Cover_Rate": 0.7931034482758621} {"Template_token": ["", "unsigned", "mergedOpcode", "(", "unsigned", "OldOpcode", ",", "bool", "ImmediateOffset", ")", "{", "switch", "(", "OldOpcode", ")", "{", "default", ":", "return", "", ";"], "ground_truth": ["}"], "File": "DLXMemAluCombiner", "Func": "mergedOpcode", "Target": "DLX", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 88321, "Length": 21, "Cover_Rate": 0.9545454545454546} {"Template_token": ["", "for", "(", "MfIterator", "MFI", "=", "MF", ".", "begin", "(", ")", ";", "MFI", "!=", "MF", ".", "end", "(", ")", ";", "++", "MFI", ")", "{", "Modified", "|=", "combineMemAluInBasicBlock", "(", "&", "*", "MFI", ")", ";", "}"], "ground_truth": ["return", "Modified", ";"], "File": "DLXMemAluCombiner", "Func": "runOnMachineFunction", "Target": "DLX", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 88322, "Length": 36, "Cover_Rate": 0.4864864864864865} {"Template_token": ["", "RegisterInfo", "::", "RegisterInfo", "(", ")", ":", "GenRegisterInfo", "(", "", ")", "{"], "ground_truth": ["}"], "File": "DLXRegisterInfo", "Func": "DLXRegisterInfo", "Target": "DLX", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 88323, "Length": 12, "Cover_Rate": 0.8571428571428571} {"Template_token": ["", "RegisterInfo", "::", "RegisterInfo", "(", ")", ":", "GenRegisterInfo", "(", "", ")", "{"], "ground_truth": ["}"], "File": "DLXRegisterInfo", "Func": "DLXRegisterInfo", "Target": "DLX", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 88324, "Length": 12, "Cover_Rate": 0.8571428571428571} {"Template_token": ["", "void", "RegisterInfo", "::", "eliminateFrameIndex", "(", "MachineBasicBlock", "::", "iterator", "II", ",", "int", "SPAdj", ",", "unsigned", "FIOperandNum", ",", "RegScavenger", "*", "RS", ")", "const", "{"], "ground_truth": ["}"], "File": "DLXRegisterInfo", "Func": "eliminateFrameIndex", "Target": "DLX", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 88325, "Length": 23, "Cover_Rate": 1.0} {"Template_token": ["", "void", "RegisterInfo", "::", "eliminateFrameIndex", "(", "MachineBasicBlock", "::", "iterator", "II", ",", "int", "SPAdj", ",", "unsigned", "FIOperandNum", ",", "RegScavenger", "*", "RS", ")", "const", "{"], "ground_truth": ["}"], "File": "DLXRegisterInfo", "Func": "eliminateFrameIndex", "Target": "DLX", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 88326, "Length": 23, "Cover_Rate": 1.0} {"Template_token": ["", "unsigned", "RegisterInfo", "::", "getBaseRegister", "(", ")", "const", "{"], "ground_truth": ["return", "", ";"], "File": "DLXRegisterInfo", "Func": "getBaseRegister", "Target": "DLX", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 88327, "Length": 11, "Cover_Rate": 0.7857142857142857} {"Template_token": ["", "const", "uint16_t", "*", "RegisterInfo", "::", "getCalleeSavedRegs", "(", "const", "MachineFunction", "*", ")", "const", "{"], "ground_truth": ["const", "uint16_t", "t", "=", "", ";"], "File": "DLXRegisterInfo", "Func": "getCalleeSavedRegs", "Target": "DLX", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 88329, "Length": 19, "Cover_Rate": 0.7916666666666666} {"Template_token": ["", "const", "uint32_t", "*", "RegisterInfo", "::", "getCallPreservedMask", "(", "const", "MachineFunction", "&", ",", "CallingConv", "::", "ID", ")", "const", "{", "return", "nullptr", ";"], "ground_truth": ["}"], "File": "DLXRegisterInfo", "Func": "getCallPreservedMask", "Target": "DLX", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 88330, "Length": 21, "Cover_Rate": 1.0} {"Template_token": ["", "const", "uint32_t", "*", "RegisterInfo", "::", "getCallPreservedMask", "(", "const", "MachineFunction", "&", ",", "CallingConv", "::", "ID", ")", "const", "{"], "ground_truth": ["return", "nullptr", ";"], "File": "DLXRegisterInfo", "Func": "getCallPreservedMask", "Target": "DLX", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 88331, "Length": 20, "Cover_Rate": 0.9523809523809523} {"Template_token": ["", "unsigned", "RegisterInfo", "::", "getFrameRegister", "(", "const", "MachineFunction", "&", ")", "const", "{"], "ground_truth": ["return", "", ";"], "File": "DLXRegisterInfo", "Func": "getFrameRegister", "Target": "DLX", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 88332, "Length": 14, "Cover_Rate": 0.8235294117647058} {"Template_token": ["", "switch", "(", "Opcode", ")", "{", "default", ":", "llvm_unreachable", "(", "", ")", ";"], "ground_truth": ["}"], "File": "DLXRegisterInfo", "Func": "getOppositeALULoOpcode", "Target": "DLX", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 88334, "Length": 13, "Cover_Rate": 0.5909090909090909} {"Template_token": ["", "Reserved", ".", "set", "(", "", ")", ";", "if", "(", "hasBasePointer", "(", "MF", ")", ")", "Reserved", ".", "set", "(", "getBaseRegister", "(", ")", ")", ";"], "ground_truth": ["return", "Reserved", ";"], "File": "DLXRegisterInfo", "Func": "getReservedRegs", "Target": "DLX", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 88335, "Length": 26, "Cover_Rate": 0.3880597014925373} {"Template_token": ["", "static", "unsigned", "getRRMOpcodeVariant", "(", "unsigned", "Opcode", ")", "{", "switch", "(", "Opcode", ")", "{", "default", ":"], "ground_truth": ["llvm_unreachable", "(", "", ")", ";"], "File": "DLXRegisterInfo", "Func": "getRRMOpcodeVariant", "Target": "DLX", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 88336, "Length": 20, "Cover_Rate": 0.9090909090909091} {"Template_token": ["", "static", "unsigned", "getRRMOpcodeVariant", "(", "unsigned", "Opcode", ")", "{", "switch", "(", "Opcode", ")", "{", "default", ":", "llvm_unreachable", "(", "", ")", ";", "}"], "ground_truth": ["}"], "File": "DLXRegisterInfo", "Func": "getRRMOpcodeVariant", "Target": "DLX", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 88337, "Length": 22, "Cover_Rate": 1.0} {"Template_token": ["", "bool", "RegisterInfo", "::", "hasBasePointer", "(", "const", "MachineFunction", "&", "MF", ")", "const", "{", "return", "false", ";"], "ground_truth": ["}"], "File": "DLXRegisterInfo", "Func": "hasBasePointer", "Target": "DLX", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 88338, "Length": 16, "Cover_Rate": 1.0} {"Template_token": ["", "bool", "RegisterInfo", "::", "hasBasePointer", "(", "const", "MachineFunction", "&", "MF", ")", "const", "{", "return", "false", ";"], "ground_truth": ["}"], "File": "DLXRegisterInfo", "Func": "hasBasePointer", "Target": "DLX", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 88339, "Length": 16, "Cover_Rate": 1.0} {"Template_token": ["", "static", "bool", "isALUArithLoOpcode", "(", "unsigned", "Opcode", ")", "{"], "ground_truth": ["return", "false", ";"], "File": "DLXRegisterInfo", "Func": "isALUArithLoOpcode", "Target": "DLX", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 88340, "Length": 11, "Cover_Rate": 0.9166666666666666} {"Template_token": ["", "bool", "RegisterInfo", "::", "requiresRegisterScavenging", "(", "const", "MachineFunction", "&", ")", "const", "{", "return", "true", ";"], "ground_truth": ["}"], "File": "DLXRegisterInfo", "Func": "requiresRegisterScavenging", "Target": "DLX", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 88341, "Length": 15, "Cover_Rate": 1.0} {"Template_token": ["", "bool", "RegisterInfo", "::", "requiresRegisterScavenging", "(", "const", "MachineFunction", "&", ")", "const", "{", "return", "true", ";"], "ground_truth": ["}"], "File": "DLXRegisterInfo", "Func": "requiresRegisterScavenging", "Target": "DLX", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 88342, "Length": 15, "Cover_Rate": 1.0} {"Template_token": ["", "bool", "RegisterInfo", "::", "trackLivenessAfterRegAlloc", "(", "const", "MachineFunction", "&", ")", "const", "{", "return", "true", ";"], "ground_truth": ["}"], "File": "DLXRegisterInfo", "Func": "trackLivenessAfterRegAlloc", "Target": "DLX", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 88344, "Length": 15, "Cover_Rate": 1.0} {"Template_token": ["", "SDValue", "SelectionDAGInfo", "::", "EmitTargetCodeForMemcpy", "(", "SelectionDAG", "&", ",", "const", "SDLoc", "&", ",", "SDValue", ",", "SDValue", ",", "SDValue", ",", "SDValue", "Size", ",", "unsigned", ",", "bool", ",", "bool", ",", "MachinePointerInfo", ",", "MachinePointerInfo", ")", "const", "{", "ConstantSDNode", "*", "ConstantSize", "=", "dyn_cast", "<", "ConstantSDNode", ">", "(", "Size", ")", ";", "if", "(", "!", "ConstantSize", ")", "return", "SDValue", "(", ")", ";", "return", "SDValue", "(", ")", ";"], "ground_truth": ["}"], "File": "DLXSelectionDAGInfo", "Func": "EmitTargetCodeForMemcpy", "Target": "DLX", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 88345, "Length": 61, "Cover_Rate": 1.0} {"Template_token": ["", "Subtarget", "::", "Subtarget", "(", "const", "Triple", "&", "TargetTriple", ",", "StringRef", "Cpu", ",", "StringRef", "FeatureString", ",", "const", "TargetMachine", "&", "TM", ",", "const", "TargetOptions", "&", ",", "CodeModel", "::", "Model", ",", "CodeGenOpt", "::", "Level", ")", ":", "GenSubtargetInfo", "(", "TargetTriple", ",", "Cpu", ",", "FeatureString", ")", ",", "FrameLowering", "(", "initializeSubtargetDependencies", "(", "Cpu", ",", "FeatureString", ")", ")", ",", "InstrInfo", "(", ")", ",", "TLInfo", "(", "TM", ",", "*", "this", ")", ",", "TSInfo", "(", ")", "{"], "ground_truth": ["}"], "File": "DLXSubtarget", "Func": "DLXSubtarget", "Target": "DLX", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 88346, "Length": 69, "Cover_Rate": 1.0} {"Template_token": ["", "Subtarget", "::", "Subtarget", "(", "const", "Triple", "&", "TargetTriple", ",", "StringRef", "Cpu", ",", "StringRef", "FeatureString", ",", "const", "TargetMachine", "&", "TM", ",", "const", "TargetOptions", "&", ",", "CodeModel", "::", "Model", ",", "CodeGenOpt", "::", "Level", ")", ":", "GenSubtargetInfo", "(", "TargetTriple", ",", "Cpu", ",", "FeatureString", ")", ",", "FrameLowering", "(", "initializeSubtargetDependencies", "(", "Cpu", ",", "FeatureString", ")", ")", ",", "InstrInfo", "(", ")", ",", "TLInfo", "(", "TM", ",", "*", "this", ")", ",", "TSInfo", "(", ")", "{"], "ground_truth": ["}"], "File": "DLXSubtarget", "Func": "DLXSubtarget", "Target": "DLX", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 88347, "Length": 69, "Cover_Rate": 1.0} {"Template_token": ["", "bool", "enableMachineScheduler", "(", ")", "const", "override", "{", "return", "true", ";"], "ground_truth": ["}"], "File": "DLXSubtarget", "Func": "enableMachineScheduler", "Target": "DLX", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 88348, "Length": 11, "Cover_Rate": 1.0} {"Template_token": ["", "const", "TargetFrameLowering", "*", "getFrameLowering", "(", ")", "const", "override", "{", "return", "&", "FrameLowering", ";"], "ground_truth": ["}"], "File": "DLXSubtarget", "Func": "getFrameLowering", "Target": "DLX", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 88349, "Length": 14, "Cover_Rate": 1.0} {"Template_token": ["", "return", "&", "FrameLowering", ";"], "ground_truth": ["}"], "File": "DLXSubtarget", "Func": "getFrameLowering", "Target": "DLX", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 88350, "Length": 5, "Cover_Rate": 0.35714285714285715} {"Template_token": ["", "return", "&", "InstrInfo", ";"], "ground_truth": ["}"], "File": "DLXSubtarget", "Func": "getInstrInfo", "Target": "DLX", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 88352, "Length": 5, "Cover_Rate": 0.35714285714285715} {"Template_token": ["", "const", "SelectionDAGInfo", "*", "getSelectionDAGInfo", "(", ")", "const", "override", "{", "return", "&", "TSInfo", ";"], "ground_truth": ["}"], "File": "DLXSubtarget", "Func": "getSelectionDAGInfo", "Target": "DLX", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 88355, "Length": 14, "Cover_Rate": 1.0} {"Template_token": ["", "const", "TargetLowering", "*", "getTargetLowering", "(", ")", "const", "override", "{"], "ground_truth": ["return", "&", "TLInfo", ";"], "File": "DLXSubtarget", "Func": "getTargetLowering", "Target": "DLX", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 88357, "Length": 13, "Cover_Rate": 0.9285714285714286} {"Template_token": ["", "initSubtargetFeatures", "(", "CPU", ",", "FS", ")", ";", "return", "*", "this", ";"], "ground_truth": ["}"], "File": "DLXSubtarget", "Func": "initializeSubtargetDependencies", "Target": "DLX", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 88358, "Length": 12, "Cover_Rate": 0.48} {"Template_token": ["", "Target", "&", "getTheTarget", "(", ")", "{"], "ground_truth": ["static", "Target", "TheTarget", ";"], "File": "DLXTargetInfo", "Func": "getTheDLXTarget", "Target": "DLX", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 88361, "Length": 10, "Cover_Rate": 0.7142857142857143} {"Template_token": ["", "Target", "&", "getTheTarget", "(", ")", "{", "static", "Target", "TheTarget", ";", "return", "TheTarget", ";"], "ground_truth": ["}"], "File": "DLXTargetInfo", "Func": "getTheDLXTarget", "Target": "DLX", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 88362, "Length": 14, "Cover_Rate": 1.0} {"Template_token": ["", "void", "LLVMInitializeTargetInfo", "(", ")", "{", "RegisterTarget", "<", "Triple", "::", "dlx", ">", "X", "(", "getTheTarget", "(", ")", ",", "", ",", "", ",", "", ")", ";"], "ground_truth": ["}"], "File": "DLXTargetInfo", "Func": "LLVMInitializeDLXTargetInfo", "Target": "DLX", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 88363, "Length": 25, "Cover_Rate": 1.0} {"Template_token": ["", "bool", "PassConfig", "::", "addInstSelector", "(", ")", "{", "addPass", "(", "createISelDag", "(", "getTargetMachine", "(", ")", ")", ")", ";", "return", "false", ";"], "ground_truth": ["}"], "File": "DLXTargetMachine", "Func": "addInstSelector", "Target": "DLX", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 88364, "Length": 21, "Cover_Rate": 1.0} {"Template_token": ["", "addPass", "(", "createISelDag", "(", "getTargetMachine", "(", ")", ")", ")", ";", "return", "false", ";"], "ground_truth": ["}"], "File": "DLXTargetMachine", "Func": "addInstSelector", "Target": "DLX", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 88365, "Length": 14, "Cover_Rate": 0.6666666666666666} {"Template_token": ["", "void", "PassConfig", "::", "addPreEmitPass", "(", ")", "{", "addPass", "(", "createDelaySlotFillerPass", "(", "getTargetMachine", "(", ")", ")", ")", ";"], "ground_truth": ["}"], "File": "DLXTargetMachine", "Func": "addPreEmitPass", "Target": "DLX", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 88366, "Length": 18, "Cover_Rate": 1.0} {"Template_token": ["", "addPass", "(", "createDelaySlotFillerPass", "(", "getTargetMachine", "(", ")", ")", ")", ";"], "ground_truth": ["}"], "File": "DLXTargetMachine", "Func": "addPreEmitPass", "Target": "DLX", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 88367, "Length": 11, "Cover_Rate": 0.6111111111111112} {"Template_token": ["", "void", "PassConfig", "::", "addPreSched2", "(", ")", "{", "addPass", "(", "createMemAluCombinerPass", "(", ")", ")", ";"], "ground_truth": ["}"], "File": "DLXTargetMachine", "Func": "addPreSched2", "Target": "DLX", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 88368, "Length": 15, "Cover_Rate": 1.0} {"Template_token": ["", "static", "std", "::", "string", "computeDataLayout", "(", ")", "{"], "ground_truth": ["return", "", "", "", "", "", "", "", ";"], "File": "DLXTargetMachine", "Func": "computeDataLayout", "Target": "DLX", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 88371, "Length": 17, "Cover_Rate": 0.9444444444444444} {"Template_token": ["", "return", "new", "PassConfig", "(", "*", "this", ",", "&", "PassManager", ")", ";"], "ground_truth": ["}"], "File": "DLXTargetMachine", "Func": "createPassConfig", "Target": "DLX", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 88372, "Length": 12, "Cover_Rate": 0.5217391304347826} {"Template_token": ["", "PassConfig", "(", "TargetMachine", "&", "TM", ",", "PassManagerBase", "*", "PassManager", ")", ":", "TargetPassConfig", "(", "TM", ",", "*", "PassManager", ")", "{"], "ground_truth": ["}"], "File": "DLXTargetMachine", "Func": "DLXPassConfig", "Target": "DLX", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 88374, "Length": 20, "Cover_Rate": 1.0} {"Template_token": ["", "PassConfig", "(", "TargetMachine", "&", "TM", ",", "PassManagerBase", "*", "PassManager", ")", ":", "TargetPassConfig", "(", "TM", ",", "*", "PassManager", ")", "{"], "ground_truth": ["}"], "File": "DLXTargetMachine", "Func": "DLXPassConfig", "Target": "DLX", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 88375, "Length": 20, "Cover_Rate": 1.0} {"Template_token": ["", "TargetMachine", "::", "TargetMachine", "(", "const", "Target", "&", "T", ",", "const", "Triple", "&", "TT", ",", "StringRef", "Cpu", ",", "StringRef", "FeatureString", ",", "const", "TargetOptions", "&", "Options", ",", "Optional", "<", "Reloc", "::", "Model", ">", "RM", ",", "Optional", "<", "CodeModel", "::", "Model", ">", "CodeModel", ",", "CodeGenOpt", "::", "Level", "OptLevel", ",", "bool", "JIT", ")", ":", "LLVMTargetMachine", "(", "T", ",", "computeDataLayout", "(", ")", ",", "TT", ",", "Cpu", ",", "FeatureString", ",", "Options", ",", "getEffectiveRelocModel", "(", "RM", ")", ",", "getEffectiveCodeModel", "(", "CodeModel", ")", ",", "OptLevel", ")", ",", "Subtarget", "(", "TT", ",", "Cpu", ",", "FeatureString", ",", "*", "this", ",", "Options", ",", "getCodeModel", "(", ")", ",", "OptLevel", ")", ",", "TLOF", "(", "new", "TargetObjectFile", "(", ")", ")", "{"], "ground_truth": ["initAsmInfo", "(", ")", ";"], "File": "DLXTargetMachine", "Func": "DLXTargetMachine", "Target": "DLX", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 88376, "Length": 111, "Cover_Rate": 0.9910714285714286} {"Template_token": ["", "TargetMachine", "::", "TargetMachine", "(", "const", "Target", "&", "T", ",", "const", "Triple", "&", "TT", ",", "StringRef", "Cpu", ",", "StringRef", "FeatureString", ",", "const", "TargetOptions", "&", "Options", ",", "Optional", "<", "Reloc", "::", "Model", ">", "RM", ",", "Optional", "<", "CodeModel", "::", "Model", ">", "CodeModel", ",", "CodeGenOpt", "::", "Level", "OptLevel", ",", "bool", "JIT", ")", ":", "LLVMTargetMachine", "(", "T", ",", "computeDataLayout", "(", ")", ",", "TT", ",", "Cpu", ",", "FeatureString", ",", "Options", ",", "getEffectiveRelocModel", "(", "RM", ")", ",", "getEffectiveCodeModel", "(", "CodeModel", ")", ",", "OptLevel", ")", ",", "Subtarget", "(", "TT", ",", "Cpu", ",", "FeatureString", ",", "*", "this", ",", "Options", ",", "getCodeModel", "(", ")", ",", "OptLevel", ")", ",", "TLOF", "(", "new", "TargetObjectFile", "(", ")", ")", "{", "initAsmInfo", "(", ")", ";"], "ground_truth": ["}"], "File": "DLXTargetMachine", "Func": "DLXTargetMachine", "Target": "DLX", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 88377, "Length": 112, "Cover_Rate": 1.0} {"Template_token": ["", "TargetMachine", "&", "getTargetMachine", "(", ")", "const", "{"], "ground_truth": ["return", "getTM", "<", "TargetMachine", ">", "(", ")", ";"], "File": "DLXTargetMachine", "Func": "getDLXTargetMachine", "Target": "DLX", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 88378, "Length": 15, "Cover_Rate": 0.9375} {"Template_token": ["", "TargetMachine", "&", "getTargetMachine", "(", ")", "const", "{", "return", "getTM", "<", "TargetMachine", ">", "(", ")", ";"], "ground_truth": ["}"], "File": "DLXTargetMachine", "Func": "getDLXTargetMachine", "Target": "DLX", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 88379, "Length": 16, "Cover_Rate": 1.0} {"Template_token": ["", "if", "(", "CM", ")", "return", "*", "CM", ";", "return", "CodeModel", "::", "Medium", ";"], "ground_truth": ["}"], "File": "DLXTargetMachine", "Func": "getEffectiveCodeModel", "Target": "DLX", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 88380, "Length": 14, "Cover_Rate": 0.4827586206896552} {"Template_token": ["", "if", "(", "!", "RM", ".", "hasValue", "(", ")", ")", "return", "Reloc", "::", "PIC_", ";"], "ground_truth": ["return", "*", "RM", ";"], "File": "DLXTargetMachine", "Func": "getEffectiveRelocModel", "Target": "DLX", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 88381, "Length": 18, "Cover_Rate": 0.5294117647058824} {"Template_token": ["", "return", "TLOF", ".", "get", "(", ")", ";"], "ground_truth": ["}"], "File": "DLXTargetMachine", "Func": "getObjFileLowering", "Target": "DLX", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 88382, "Length": 8, "Cover_Rate": 0.5} {"Template_token": ["", "TargetLoweringObjectFile", "*", "getObjFileLowering", "(", ")", "const", "override", "{"], "ground_truth": ["return", "TLOF", ".", "get", "(", ")", ";"], "File": "DLXTargetMachine", "Func": "getObjFileLowering", "Target": "DLX", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 88383, "Length": 15, "Cover_Rate": 0.9375} {"Template_token": ["", "const", "Subtarget", "*", "getSubtargetImpl", "(", "const", "llvm", "::", "Function", "&", ")", "const", "override", "{"], "ground_truth": ["return", "&", "Subtarget", ";"], "File": "DLXTargetMachine", "Func": "getSubtargetImpl", "Target": "DLX", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 88384, "Length": 18, "Cover_Rate": 0.9473684210526315} {"Template_token": ["", "return", "false", ";"], "ground_truth": ["}"], "File": "DLXTargetMachine", "Func": "isMachineVerifierClean", "Target": "DLX", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 88387, "Length": 4, "Cover_Rate": 0.36363636363636365} {"Template_token": ["", "void", "LLVMInitializeTarget", "(", ")", "{", "RegisterTargetMachine", "<", "TargetMachine", ">", "registered_target", "(", "getTheTarget", "(", ")", ")", ";"], "ground_truth": ["}"], "File": "DLXTargetMachine", "Func": "LLVMInitializeDLXTarget", "Target": "DLX", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 88390, "Length": 17, "Cover_Rate": 1.0} {"Template_token": ["", "MCSection", "*", "TargetObjectFile", "::", "getSectionForConstant", "(", "const", "DataLayout", "&", "DL", ",", "SectionKind", "Kind", ",", "const", "Constant", "*", "C", ",", "unsigned", "&", "Align", ")", "const", "{", "if", "(", "isConstantInSmallSection", "(", "DL", ",", "C", ")", ")", "return", "SmallDataSection", ";", "return", "TargetLoweringObjectFileELF", "::", "getSectionForConstant", "(", "DL", ",", "Kind", ",", "C", ",", "Align", ")", ";"], "ground_truth": ["}"], "File": "DLXTargetObjectFile", "Func": "getSectionForConstant", "Target": "DLX", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 88391, "Length": 52, "Cover_Rate": 1.0} {"Template_token": ["", "if", "(", "isConstantInSmallSection", "(", "DL", ",", "C", ")", ")", "return", "SmallDataSection", ";"], "ground_truth": ["return", "TargetLoweringObjectFileELF", "::", "getSectionForConstant", "(", "DL", ",", "Kind", ",", "C", ",", "Align", ")", ";"], "File": "DLXTargetObjectFile", "Func": "getSectionForConstant", "Target": "DLX", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 88392, "Length": 26, "Cover_Rate": 0.5} {"Template_token": ["", "return", "isGlobalInSmallSectionImpl", "(", "GO", ",", "TM", ")", ";"], "ground_truth": ["}"], "File": "DLXTargetObjectFile", "Func": "isGlobalInSmallSection", "Target": "DLX", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 88395, "Length": 9, "Cover_Rate": 0.3103448275862069} {"Template_token": ["", "return", "isGlobalInSmallSectionImpl", "(", "GO", ",", "TM", ")", ";"], "ground_truth": ["}"], "File": "DLXTargetObjectFile", "Func": "isGlobalInSmallSection", "Target": "DLX", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 88396, "Length": 9, "Cover_Rate": 0.3103448275862069} {"Template_token": ["", "if", "(", "!", "GVA", ")", "return", "TM", ".", "getCodeModel", "(", ")", "==", "CodeModel", "::", "Small", ";", "if", "(", "GVA", "->", "getSection", "(", ")", ".", "startswith", "(", "", ")", ")", "return", "false", ";", "if", "(", "TM", ".", "getCodeModel", "(", ")", "==", "CodeModel", "::", "Small", ")", "return", "true", ";"], "ground_truth": ["if", "(", "GVA", "->", "hasLocalLinkage", "(", ")", ")", "return", "false", ";"], "File": "DLXTargetObjectFile", "Func": "isGlobalInSmallSectionImpl", "Target": "DLX", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 88397, "Length": 58, "Cover_Rate": 0.4} {"Template_token": ["", "MCSection", "*", "TargetObjectFile", "::", "SelectSectionForGlobal", "(", "const", "GlobalObject", "*", "GO", ",", "SectionKind", "Kind", ",", "const", "TargetMachine", "&", "TM", ")", "const", "{", "if", "(", "Kind", ".", "isBSS", "(", ")", "&&", "isGlobalInSmallSection", "(", "GO", ",", "TM", ",", "Kind", ")", ")", "return", "SmallBSSSection", ";", "if", "(", "Kind", ".", "isData", "(", ")", "&&", "isGlobalInSmallSection", "(", "GO", ",", "TM", ",", "Kind", ")", ")", "return", "SmallDataSection", ";", "return", "TargetLoweringObjectFileELF", "::", "SelectSectionForGlobal", "(", "GO", ",", "Kind", ",", "TM", ")", ";"], "ground_truth": ["}"], "File": "DLXTargetObjectFile", "Func": "SelectSectionForGlobal", "Target": "DLX", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 88400, "Length": 74, "Cover_Rate": 1.0} {"Template_token": ["", "explicit", "TTIImpl", "(", "const", "TargetMachine", "*", "TM", ",", "const", "Function", "&", "F", ")", ":", "BaseT", "(", "TM", ",", "F", ".", "getParent", "(", ")", "->", "getDataLayout", "(", ")", ")", ",", "ST", "(", "TM", "->", "getSubtargetImpl", "(", "F", ")", ")", ",", "TLI", "(", "ST", "->", "getTargetLowering", "(", ")", ")", "{"], "ground_truth": ["}"], "File": "DLXTargetTransformInfo", "Func": "DLXTTIImpl", "Target": "DLX", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 88401, "Length": 49, "Cover_Rate": 1.0} {"Template_token": ["", "explicit", "TTIImpl", "(", "const", "TargetMachine", "*", "TM", ",", "const", "Function", "&", "F", ")", ":", "BaseT", "(", "TM", ",", "F", ".", "getParent", "(", ")", "->", "getDataLayout", "(", ")", ")", ",", "ST", "(", "TM", "->", "getSubtargetImpl", "(", "F", ")", ")", ",", "TLI", "(", "ST", "->", "getTargetLowering", "(", ")", ")", "{"], "ground_truth": ["}"], "File": "DLXTargetTransformInfo", "Func": "DLXTTIImpl", "Target": "DLX", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 88402, "Length": 49, "Cover_Rate": 1.0} {"Template_token": ["", "return", "BaseT", "::", "getArithmeticInstrCost", "(", "Opcode", ",", "Ty", ",", "Opd1Info", ",", "Opd2Info", ",", "Opd1PropInfo", ",", "Opd2PropInfo", ")", ";", "case", "", ":", "case", "", ":", "case", "", ":", "case", "", ":"], "ground_truth": ["return", "", "*", "BaseT", "::", "getArithmeticInstrCost", "(", "Opcode", ",", "Ty", ",", "Opd1Info", ",", "Opd2Info", ",", "Opd1PropInfo", ",", "Opd2PropInfo", ")", ";"], "File": "DLXTargetTransformInfo", "Func": "getArithmeticInstrCost", "Target": "DLX", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 88403, "Length": 50, "Cover_Rate": 0.3546099290780142} {"Template_token": ["", "int", "getIntImmCost", "(", "", "IID", ",", "unsigned", "Idx", ",", "const", "APInt", "&", "Imm", ",", "Type", "*", "Ty", ")", "{", "return", "getIntImmCost", "(", "Imm", ",", "Ty", ")", ";"], "ground_truth": ["}"], "File": "DLXTargetTransformInfo", "Func": "getIntImmCost", "Target": "DLX", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 88405, "Length": 28, "Cover_Rate": 0.9333333333333333} {"Template_token": ["", "if", "(", "TyWidth", "==", "", ")", "return", "TTI", "::", "PSK_FastHardware", ";", "return", "TTI", "::", "PSK_Software", ";"], "ground_truth": ["}"], "File": "DLXTargetTransformInfo", "Func": "getPopcntSupport", "Target": "DLX", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 88406, "Length": 17, "Cover_Rate": 0.6538461538461539} {"Template_token": ["", "const", "Subtarget", "*", "getST", "(", ")", "const", "{", "return", "ST", ";"], "ground_truth": ["}"], "File": "DLXTargetTransformInfo", "Func": "getST", "Target": "DLX", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 88407, "Length": 12, "Cover_Rate": 1.0} {"Template_token": ["", "return", "TLI", ";"], "ground_truth": ["}"], "File": "DLXTargetTransformInfo", "Func": "getTLI", "Target": "DLX", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 88408, "Length": 4, "Cover_Rate": 0.3333333333333333} {"Template_token": ["", "return", "TLI", ";"], "ground_truth": ["}"], "File": "DLXTargetTransformInfo", "Func": "getTLI", "Target": "DLX", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 88409, "Length": 4, "Cover_Rate": 0.3333333333333333}