{"Template_token": ["", "return", "(", "(", "Value", ">>=", "", ")", "&", "", ")", "<<", "", ";", "case", "", ":", "return", "(", "Value", "&", "", ")", "<<", "", ";", "case", "", ":", "return", "Value", "&", "", ";", "case", "", ":", "return", "(", "Value", "&", "", ")", "<<", "", ";", "case", "", ":", "return", "(", "Value", "&", "", ")", "<<", "", ";", "case", "", ":", "return", "(", "Value", "&", "", ")", "<<", "", ";", "case", "", ":", "return", "(", "Value", "&", "", ")", "<<", "", ";", "case", "", ":", "return", "(", "(", "Value", "+", "(", "(", "TextSectOffset", "-", "", ")", "*", "", ")", ")", "&", "", ")", "<<", "", ";", "case", "MCFixupKind", "::", "FK_Data_2", ":", "return", "Value", "<<", "", ";"], "ground_truth": ["case", "MCFixupKind", "::", "FK_Data_4", ":"], "File": "FISCAsmBackend", "Func": "adjustFixupValue", "Target": "FISC", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 134971, "Length": 120, "Cover_Rate": 0.5194805194805194} {"Template_token": ["", "unsigned", "NumBytes", "=", "", ";", "Value", "=", "adjustFixupValue", "(", "Fixup", ",", "Value", ")", ";", "if", "(", "!", "Value", ")", "return", ";", "unsigned", "Offset", "=", "Fixup", ".", "getOffset", "(", ")", ";", "assert", "(", "Offset", "+", "NumBytes", "<=", "DataSize", "&&", "", ")", ";", "for", "(", "unsigned", "i", "=", "", ";", "i", "!=", "NumBytes", ";", "++", "i", ")", "Data", "[", "Offset", "+", "i", "]", "|=", "uint8_t", "(", "(", "Value", ">>", "(", "(", "NumBytes", "-", "i", "-", "", ")", "*", "", ")", ")", "&", "", ")", ";"], "ground_truth": ["}"], "File": "FISCAsmBackend", "Func": "applyFixup", "Target": "FISC", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 134972, "Length": 84, "Cover_Rate": 0.7706422018348624} {"Template_token": ["", "MCAsmBackend", "*", "llvm", "::", "createAsmBackend", "(", "const", "Target", "&", "T", ",", "const", "MCRegisterInfo", "&", "MRI", ",", "const", "Triple", "&", "TT", ",", "StringRef", "CPU", ")", "{", "const", "uint8_t", "ABI", "=", "MCELFObjectTargetWriter", "::", "getOSABI", "(", "TT", ".", "getOS", "(", ")", ")", ";", "return", "new", "ELFAsmBackend", "(", "T", ",", "TT", ".", "getTriple", "(", ")", ",", "ABI", ")", ";"], "ground_truth": ["}"], "File": "FISCAsmBackend", "Func": "createFISCAsmBackend", "Target": "FISC", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 134973, "Length": 56, "Cover_Rate": 1.0} {"Template_token": ["", "return", "createELFObjectWriter", "(", "OS", ",", "OSABI", ")", ";"], "ground_truth": ["}"], "File": "FISCAsmBackend", "Func": "createObjectWriter", "Target": "FISC", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 134975, "Length": 9, "Cover_Rate": 0.45} {"Template_token": ["", "return", "createELFObjectWriter", "(", "OS", ",", "OSABI", ")", ";"], "ground_truth": ["}"], "File": "FISCAsmBackend", "Func": "createObjectWriter", "Target": "FISC", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 134976, "Length": 9, "Cover_Rate": 0.45} {"Template_token": ["", "ELFAsmBackend", "(", "const", "Target", "&", "T", ",", "const", "StringRef", "TT", ",", "uint8_t", "_OSABI", ")", ":", "AsmBackend", "(", "T", ",", "TT", ")", ",", "OSABI", "(", "_OSABI", ")", "{"], "ground_truth": ["}"], "File": "FISCAsmBackend", "Func": "ELFFISCAsmBackend", "Target": "FISC", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 134977, "Length": 28, "Cover_Rate": 1.0} {"Template_token": ["", "ELFAsmBackend", "(", "const", "Target", "&", "T", ",", "const", "StringRef", "TT", ",", "uint8_t", "_OSABI", ")", ":", "AsmBackend", "(", "T", ",", "TT", ")", ",", "OSABI", "(", "_OSABI", ")", "{"], "ground_truth": ["}"], "File": "FISCAsmBackend", "Func": "ELFFISCAsmBackend", "Target": "FISC", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 134978, "Length": 28, "Cover_Rate": 1.0} {"Template_token": ["", "AsmBackend", "(", "const", "Target", "&", "T", ",", "const", "StringRef", "TT", ")", ":", "MCAsmBackend", "(", ")", "{"], "ground_truth": ["}"], "File": "FISCAsmBackend", "Func": "FISCAsmBackend", "Target": "FISC", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 134979, "Length": 17, "Cover_Rate": 1.0} {"Template_token": ["", "AsmBackend", "(", "const", "Target", "&", "T", ",", "const", "StringRef", "TT", ")", ":", "MCAsmBackend", "(", ")", "{"], "ground_truth": ["}"], "File": "FISCAsmBackend", "Func": "FISCAsmBackend", "Target": "FISC", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 134980, "Length": 17, "Cover_Rate": 1.0} {"Template_token": ["", "ELFObjectWriter", "(", "uint8_t", "OSABI", ")", ":", "MCELFObjectTargetWriter", "(", "true", ",", "OSABI", ",", "ELF", "::", "EM_", ",", "false", ")", "{"], "ground_truth": ["}"], "File": "FISCAsmBackend", "Func": "FISCELFObjectWriter", "Target": "FISC", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 134981, "Length": 20, "Cover_Rate": 1.0} {"Template_token": ["", "ELFObjectWriter", "(", "uint8_t", "OSABI", ")", ":", "MCELFObjectTargetWriter", "(", "true", ",", "OSABI", ",", "ELF", "::", "EM_", ",", "false", ")", "{"], "ground_truth": ["}"], "File": "FISCAsmBackend", "Func": "FISCELFObjectWriter", "Target": "FISC", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 134982, "Length": 20, "Cover_Rate": 1.0} {"Template_token": ["", "bool", "fixupNeedsRelaxation", "(", "const", "MCFixup", "&", "Fixup", ",", "uint64_t", "Value", ",", "const", "MCRelaxableFragment", "*", "DF", ",", "const", "MCAsmLayout", "&", "Layout", ")", "const", "override", "{"], "ground_truth": ["return", "false", ";"], "File": "FISCAsmBackend", "Func": "fixupNeedsRelaxation", "Target": "FISC", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 134983, "Length": 27, "Cover_Rate": 0.9642857142857143} {"Template_token": ["", "bool", "fixupNeedsRelaxation", "(", "const", "MCFixup", "&", "Fixup", ",", "uint64_t", "Value", ",", "const", "MCRelaxableFragment", "*", "DF", ",", "const", "MCAsmLayout", "&", "Layout", ")", "const", "override", "{"], "ground_truth": ["return", "false", ";"], "File": "FISCAsmBackend", "Func": "fixupNeedsRelaxation", "Target": "FISC", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 134984, "Length": 27, "Cover_Rate": 0.9642857142857143} {"Template_token": ["", "const", "MCFixupKindInfo", "&", "getFixupKindInfo", "(", "MCFixupKind", "Kind", ")", "const", "override", "{", "const", "static", "MCFixupKindInfo", "Infos", "[", "", "]", "=", "{", "{", "", ",", "", ",", "", ",", "MCFixupKindInfo", "::", "FKF_IsPCRel", "}", ",", "{", "", ",", "", ",", "", ",", "MCFixupKindInfo", "::", "FKF_IsPCRel", "}", ",", "{", "", ",", "", ",", "", ",", "MCFixupKindInfo", "::", "FKF_IsPCRel", "}", ",", "{", "", ",", "", ",", "", ",", "MCFixupKindInfo", "::", "FKF_IsPCRel", "}", ",", "{", "", ",", "", ",", "", ",", "MCFixupKindInfo", "::", "FKF_IsPCRel", "}", ",", "{", "", ",", "", ",", "", ",", "MCFixupKindInfo", "::", "FKF_IsPCRel", "}", ",", "{", "", ",", "", ",", "", ",", "MCFixupKindInfo", "::", "FKF_IsPCRel", "}", ",", "{", "", ",", "", ",", "", ",", "MCFixupKindInfo", "::", "FKF_IsPCRel", "}", ",", "{", "", ",", "", ",", "", ",", "MCFixupKindInfo", "::", "FKF_IsPCRel", "}", ",", "{", "", ",", "", ",", "", ",", "MCFixupKindInfo", "::", "FKF_IsPCRel", "}", ",", "}", ";", "if", "(", "Kind", "<", "FirstTargetFixupKind", ")", "return", "MCAsmBackend", "::", "getFixupKindInfo", "(", "Kind", ")", ";", "assert", "(", "unsigned", "(", "Kind", "-", "FirstTargetFixupKind", ")", "<", "getNumFixupKinds", "(", ")", "&&", "", ")", ";", "return", "Infos", "[", "Kind", "-", "FirstTargetFixupKind", "]", ";"], "ground_truth": ["}"], "File": "FISCAsmBackend", "Func": "getFixupKindInfo", "Target": "FISC", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 134985, "Length": 181, "Cover_Rate": 0.9890710382513661} {"Template_token": ["", "unsigned", "getNumFixupKinds", "(", ")", "const", "override", "{", "return", "", ";"], "ground_truth": ["}"], "File": "FISCAsmBackend", "Func": "getNumFixupKinds", "Target": "FISC", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 134986, "Length": 11, "Cover_Rate": 0.8461538461538461} {"Template_token": ["", "return", "", ";"], "ground_truth": ["}"], "File": "FISCAsmBackend", "Func": "getPointerSize", "Target": "FISC", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 134987, "Length": 4, "Cover_Rate": 0.4} {"Template_token": ["", "bool", "mayNeedRelaxation", "(", "const", "MCInst", "&", "Inst", ")", "const", "override", "{"], "ground_truth": ["return", "false", ";"], "File": "FISCAsmBackend", "Func": "mayNeedRelaxation", "Target": "FISC", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 134989, "Length": 14, "Cover_Rate": 0.9333333333333333} {"Template_token": ["", "IsResolved", "=", "true", ";"], "ground_truth": ["(", "void", ")", "adjustFixupValue", "(", "Fixup", ",", "Value", ",", "&", "Asm", ".", "getContext", "(", ")", ")", ";"], "File": "FISCAsmBackend", "Func": "processFixupValue", "Target": "FISC", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 134991, "Length": 21, "Cover_Rate": 0.3442622950819672} {"Template_token": ["", "void", "AsmBackend", "::", "processFixupValue", "(", "const", "MCAssembler", "&", "Asm", ",", "const", "MCAsmLayout", "&", "Layout", ",", "const", "MCFixup", "&", "Fixup", ",", "const", "MCFragment", "*", "DF", ",", "const", "MCValue", "&", "Target", ",", "uint64_t", "&", "Value", ",", "bool", "&", "IsResolved", ")", "{", "IsResolved", "=", "true", ";"], "ground_truth": ["(", "void", ")", "adjustFixupValue", "(", "Fixup", ",", "Value", ",", "&", "Asm", ".", "getContext", "(", ")", ")", ";"], "File": "FISCAsmBackend", "Func": "processFixupValue", "Target": "FISC", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 134992, "Length": 60, "Cover_Rate": 0.9836065573770492} {"Template_token": ["", "void", "relaxInstruction", "(", "const", "MCInst", "&", "Inst", ",", "MCInst", "&", "Res", ")", "const", "override", "{"], "ground_truth": ["}"], "File": "FISCAsmBackend", "Func": "relaxInstruction", "Target": "FISC", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 134993, "Length": 16, "Cover_Rate": 1.0} {"Template_token": ["", "void", "relaxInstruction", "(", "const", "MCInst", "&", "Inst", ",", "MCInst", "&", "Res", ")", "const", "override", "{"], "ground_truth": ["}"], "File": "FISCAsmBackend", "Func": "relaxInstruction", "Target": "FISC", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 134994, "Length": 16, "Cover_Rate": 1.0} {"Template_token": ["", "bool", "writeNopData", "(", "uint64_t", "Count", ",", "MCObjectWriter", "*", "OW", ")", "const", "override", "{", "if", "(", "Count", "==", "", ")", "return", "true", ";"], "ground_truth": ["return", "false", ";"], "File": "FISCAsmBackend", "Func": "writeNopData", "Target": "FISC", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 134995, "Length": 25, "Cover_Rate": 0.9615384615384616} {"Template_token": ["", "if", "(", "Count", "==", "", ")", "return", "true", ";", "return", "false", ";"], "ground_truth": ["}"], "File": "FISCAsmBackend", "Func": "writeNopData", "Target": "FISC", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 134996, "Length": 13, "Cover_Rate": 0.5} {"Template_token": ["", "~", "AsmBackend", "(", ")", "{"], "ground_truth": ["}"], "File": "FISCAsmBackend", "Func": "~FISCAsmBackend", "Target": "FISC", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 134997, "Length": 6, "Cover_Rate": 1.0} {"Template_token": ["", "~", "AsmBackend", "(", ")", "{"], "ground_truth": ["}"], "File": "FISCAsmBackend", "Func": "~FISCAsmBackend", "Target": "FISC", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 134998, "Length": 6, "Cover_Rate": 1.0} {"Template_token": ["", "if", "(", "Expr", "==", "", ")", "Inst", ".", "addOperand", "(", "MCOperand", "::", "createImm", "(", "", ")", ")", ";", "else", "if", "(", "const", "MCConstantExpr", "*", "CE", "=", "dyn_cast", "<", "MCConstantExpr", ">", "(", "Expr", ")", ")", "Inst", ".", "addOperand", "(", "MCOperand", "::", "createImm", "(", "CE", "->", "getValue", "(", ")", ")", ")", ";", "else", "Inst", ".", "addOperand", "(", "MCOperand", "::", "createExpr", "(", "Expr", ")", ")", ";"], "ground_truth": ["}"], "File": "FISCAsmParser", "Func": "addExpr", "Target": "FISC", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 134999, "Length": 64, "Cover_Rate": 0.8205128205128205} {"Template_token": ["", "void", "addImmOperands", "(", "MCInst", "&", "Inst", ",", "unsigned", "N", ")", "const", "{", "assert", "(", "N", "==", "", "&&", "", ")", ";", "const", "MCExpr", "*", "Expr", "=", "getImm", "(", ")", ";"], "ground_truth": ["addExpr", "(", "Inst", ",", "Expr", ")", ";"], "File": "FISCAsmParser", "Func": "addImmOperands", "Target": "FISC", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 135001, "Length": 37, "Cover_Rate": 0.9736842105263158} {"Template_token": ["", "assert", "(", "N", "==", "", "&&", "", ")", ";", "const", "MCExpr", "*", "Expr", "=", "getImm", "(", ")", ";"], "ground_truth": ["addExpr", "(", "Inst", ",", "Expr", ")", ";"], "File": "FISCAsmParser", "Func": "addImmOperands", "Target": "FISC", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 135002, "Length": 25, "Cover_Rate": 0.6578947368421053} {"Template_token": ["", "void", "addMemOperands", "(", "MCInst", "&", "Inst", ",", "unsigned", "N", ")", "const", "{", "assert", "(", "N", "==", "", "&&", "", ")", ";"], "ground_truth": ["Inst", ".", "addOperand", "(", "MCOperand", "::", "createReg", "(", "getMemBase", "(", ")", ")", ")", ";"], "File": "FISCAsmParser", "Func": "addMemOperands", "Target": "FISC", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 135003, "Length": 35, "Cover_Rate": 0.6730769230769231} {"Template_token": ["", "void", "addMemOperands", "(", "MCInst", "&", "Inst", ",", "unsigned", "N", ")", "const", "{", "assert", "(", "N", "==", "", "&&", "", ")", ";", "Inst", ".", "addOperand", "(", "MCOperand", "::", "createReg", "(", "getMemBase", "(", ")", ")", ")", ";"], "ground_truth": ["const", "MCExpr", "*", "Expr", "=", "getMemOff", "(", ")", ";"], "File": "FISCAsmParser", "Func": "addMemOperands", "Target": "FISC", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 135004, "Length": 44, "Cover_Rate": 0.8461538461538461} {"Template_token": ["", "static", "std", "::", "unique_ptr", "<", "Operand", ">", "CreateCondCode", "(", "", "Code", ",", "SMLoc", "S", ",", "SMLoc", "E", ")", "{", "auto", "Op", "=", "make_unique", "<", "Operand", ">", "(", "k_CondCode", ")", ";", "Op", "->", "CondCode", ".", "Code", "=", "Code", ";", "Op", "->", "StartLoc", "=", "S", ";"], "ground_truth": ["Op", "->", "EndLoc", "=", "E", ";"], "File": "FISCAsmParser", "Func": "CreateCondCode", "Target": "FISC", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 135007, "Length": 50, "Cover_Rate": 0.8928571428571429} {"Template_token": ["", "static", "std", "::", "unique_ptr", "<", "Operand", ">", "CreateImm", "(", "const", "MCExpr", "*", "Val", ",", "SMLoc", "S", ",", "SMLoc", "E", ")", "{", "auto", "Op", "=", "make_unique", "<", "Operand", ">", "(", "k_Immediate", ")", ";", "Op", "->", "Imm", ".", "Val", "=", "Val", ";", "Op", "->", "StartLoc", "=", "S", ";", "Op", "->", "EndLoc", "=", "E", ";", "return", "Op", ";"], "ground_truth": ["}"], "File": "FISCAsmParser", "Func": "CreateImm", "Target": "FISC", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 135008, "Length": 56, "Cover_Rate": 1.0} {"Template_token": ["", "Op", "->", "Mem", ".", "Off", "=", "Off", ";", "Op", "->", "StartLoc", "=", "S", ";", "Op", "->", "EndLoc", "=", "E", ";"], "ground_truth": ["return", "Op", ";"], "File": "FISCAsmParser", "Func": "CreateMem", "Target": "FISC", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 135009, "Length": 23, "Cover_Rate": 0.34328358208955223} {"Template_token": ["", "auto", "Op", "=", "make_unique", "<", "Operand", ">", "(", "k_Register", ")", ";", "Op", "->", "Reg", ".", "RegNum", "=", "RegNum", ";", "Op", "->", "StartLoc", "=", "S", ";", "Op", "->", "EndLoc", "=", "E", ";"], "ground_truth": ["return", "Op", ";"], "File": "FISCAsmParser", "Func": "CreateReg", "Target": "FISC", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 135010, "Length": 34, "Cover_Rate": 0.6296296296296297} {"Template_token": ["", "Op", "->", "Tok", ".", "Length", "=", "Str", ".", "size", "(", ")", ";", "Op", "->", "StartLoc", "=", "S", ";", "Op", "->", "EndLoc", "=", "S", ";"], "ground_truth": ["return", "Op", ";"], "File": "FISCAsmParser", "Func": "CreateToken", "Target": "FISC", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 135011, "Length": 27, "Cover_Rate": 0.40298507462686567} {"Template_token": ["", "static", "std", "::", "unique_ptr", "<", "Operand", ">", "CreateToken", "(", "StringRef", "Str", ",", "SMLoc", "S", ")", "{"], "ground_truth": ["auto", "Op", "=", "make_unique", "<", "Operand", ">", "(", "k_Token", ")", ";"], "File": "FISCAsmParser", "Func": "CreateToken", "Target": "FISC", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 135012, "Length": 27, "Cover_Rate": 0.40298507462686567} {"Template_token": ["", "const", "MCExpr", "*", "AsmParser", "::", "evaluateRelocExpr", "(", "const", "MCExpr", "*", "Expr", ",", "StringRef", "RelocStr", ",", "std", "::", "string", "Identifier", ")", "{", "MCSymbolRefExpr", "::", "VariantKind", "Kind", "=", "StringSwitch", "<", "MCSymbolRefExpr", "::", "VariantKind", ">", "(", "RelocStr", ")", ".", "Case", "(", "", ",", "MCSymbolRefExpr", "::", "VK__Q1", ")", ".", "Case", "(", "", ",", "MCSymbolRefExpr", "::", "VK__Q2", ")", ".", "Case", "(", "", ",", "MCSymbolRefExpr", "::", "VK__Q3", ")", ".", "Case", "(", "", ",", "MCSymbolRefExpr", "::", "VK__Q4", ")", ".", "Case", "(", "", ",", "MCSymbolRefExpr", "::", "VK__CALL26", ")", ".", "Case", "(", "", ",", "MCSymbolRefExpr", "::", "VK__CALL19", ")", ".", "Case", "(", "", ",", "MCSymbolRefExpr", "::", "VK__9BIT", ")", ".", "Case", "(", "", ",", "MCSymbolRefExpr", "::", "VK__6BIT", ")", ".", "Case", "(", "", ",", "MCSymbolRefExpr", "::", "VK__12BIT", ")", ".", "Case", "(", "", ",", "MCSymbolRefExpr", "::", "VK__MOVRZ", ")", ".", "Default", "(", "MCSymbolRefExpr", "::", "VK__NONE", ")", ";", "assert", "(", "Kind", "!=", "MCSymbolRefExpr", "::", "VK__NONE", ")", ";", "MCContext", "&", "Ctx", "=", "getContext", "(", ")", ";", "return", "MCSymbolRefExpr", "::", "create", "(", "Ctx", ".", "getOrCreateSymbol", "(", "Identifier", ")", ",", "Kind", ",", "Ctx", ")", ";"], "ground_truth": ["}"], "File": "FISCAsmParser", "Func": "evaluateRelocExpr", "Target": "FISC", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 135013, "Length": 168, "Cover_Rate": 1.0} {"Template_token": ["", "AsmParser", "(", "const", "MCSubtargetInfo", "&", "sti", ",", "MCAsmParser", "&", "parser", ",", "const", "MCInstrInfo", "&", "MII", ",", "const", "MCTargetOptions", "&", "Options", ")", ":", "MCTargetAsmParser", "(", "Options", ",", "sti", ")", ",", "Parser", "(", "parser", ")", "{"], "ground_truth": ["setAvailableFeatures", "(", "ComputeAvailableFeatures", "(", "getSTI", "(", ")", ".", "getFeatureBits", "(", ")", ")", ")", ";"], "File": "FISCAsmParser", "Func": "FISCAsmParser", "Target": "FISC", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 135014, "Length": 48, "Cover_Rate": 0.9795918367346939} {"Template_token": ["", "setAvailableFeatures", "(", "ComputeAvailableFeatures", "(", "getSTI", "(", ")", ".", "getFeatureBits", "(", ")", ")", ")", ";"], "ground_truth": ["}"], "File": "FISCAsmParser", "Func": "FISCAsmParser", "Target": "FISC", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 135015, "Length": 15, "Cover_Rate": 0.30612244897959184} {"Template_token": ["", "AssemblerOptions", "(", ")", ":", "reorder", "(", "true", ")", ",", "macro", "(", "true", ")", "{"], "ground_truth": ["}"], "File": "FISCAsmParser", "Func": "FISCAssemblerOptions", "Target": "FISC", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 135016, "Length": 15, "Cover_Rate": 1.0} {"Template_token": ["", "AssemblerOptions", "(", ")", ":", "reorder", "(", "true", ")", ",", "macro", "(", "true", ")", "{"], "ground_truth": ["}"], "File": "FISCAsmParser", "Func": "FISCAssemblerOptions", "Target": "FISC", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 135017, "Length": 15, "Cover_Rate": 1.0} {"Template_token": ["", "Operand", "(", "KindTy", "K", ")", ":", "MCParsedAsmOperand", "(", ")", ",", "Kind", "(", "K", ")", "{"], "ground_truth": ["}"], "File": "FISCAsmParser", "Func": "FISCOperand", "Target": "FISC", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 135018, "Length": 16, "Cover_Rate": 1.0} {"Template_token": ["", "Operand", "(", "KindTy", "K", ")", ":", "MCParsedAsmOperand", "(", ")", ",", "Kind", "(", "K", ")", "{"], "ground_truth": ["}"], "File": "FISCAsmParser", "Func": "FISCOperand", "Target": "FISC", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 135019, "Length": 16, "Cover_Rate": 1.0} {"Template_token": ["", "return", "EndLoc", ";"], "ground_truth": ["}"], "File": "FISCAsmParser", "Func": "getEndLoc", "Target": "FISC", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 135020, "Length": 4, "Cover_Rate": 0.4} {"Template_token": ["", "SMLoc", "getEndLoc", "(", ")", "const", "{"], "ground_truth": ["return", "EndLoc", ";"], "File": "FISCAsmParser", "Func": "getEndLoc", "Target": "FISC", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 135021, "Length": 9, "Cover_Rate": 0.9} {"Template_token": ["", "MCAsmLexer", "&", "getLexer", "(", ")", "const", "{", "return", "Parser", ".", "getLexer", "(", ")", ";"], "ground_truth": ["}"], "File": "FISCAsmParser", "Func": "getLexer", "Target": "FISC", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 135024, "Length": 15, "Cover_Rate": 1.0} {"Template_token": ["", "assert", "(", "(", "Kind", "==", "k_Memory", ")", "&&", "", ")", ";", "return", "Mem", ".", "Base", ";"], "ground_truth": ["}"], "File": "FISCAsmParser", "Func": "getMemBase", "Target": "FISC", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 135026, "Length": 17, "Cover_Rate": 0.7391304347826086} {"Template_token": ["", "assert", "(", "(", "Kind", "==", "k_Memory", ")", "&&", "", ")", ";"], "ground_truth": ["return", "Mem", ".", "Base", ";"], "File": "FISCAsmParser", "Func": "getMemBase", "Target": "FISC", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 135027, "Length": 16, "Cover_Rate": 0.6956521739130435} {"Template_token": ["", "MCAsmParser", "&", "getParser", "(", ")", "const", "{"], "ground_truth": ["return", "Parser", ";"], "File": "FISCAsmParser", "Func": "getParser", "Target": "FISC", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 135029, "Length": 10, "Cover_Rate": 0.9090909090909091} {"Template_token": ["", "unsigned", "AsmParser", "::", "getReg", "(", "int", "RC", ",", "int", "RegNo", ")", "{", "return", "*", "(", "getContext", "(", ")", ".", "getRegisterInfo", "(", ")", "->", "getRegClass", "(", "RC", ")", ".", "begin", "(", ")", "+", "RegNo", ")", ";"], "ground_truth": ["}"], "File": "FISCAsmParser", "Func": "getReg", "Target": "FISC", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 135032, "Length": 36, "Cover_Rate": 1.0} {"Template_token": ["", "return", "StartLoc", ";"], "ground_truth": ["}"], "File": "FISCAsmParser", "Func": "getStartLoc", "Target": "FISC", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 135033, "Length": 4, "Cover_Rate": 0.4} {"Template_token": ["", "SMLoc", "getStartLoc", "(", ")", "const", "{", "return", "StartLoc", ";"], "ground_truth": ["}"], "File": "FISCAsmParser", "Func": "getStartLoc", "Target": "FISC", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 135034, "Length": 10, "Cover_Rate": 1.0} {"Template_token": ["", "assert", "(", "Kind", "==", "k_Token", "&&", "", ")", ";", "return", "StringRef", "(", "Tok", ".", "Data", ",", "Tok", ".", "Length", ")", ";"], "ground_truth": ["}"], "File": "FISCAsmParser", "Func": "getToken", "Target": "FISC", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 135035, "Length": 22, "Cover_Rate": 0.7857142857142857} {"Template_token": ["", "bool", "isCond", "(", ")", "const", "{"], "ground_truth": ["return", "Kind", "==", "k_CondCode", ";"], "File": "FISCAsmParser", "Func": "isCond", "Target": "FISC", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 135037, "Length": 11, "Cover_Rate": 0.9166666666666666} {"Template_token": ["", "bool", "isMem", "(", ")", "const", "{"], "ground_truth": ["return", "Kind", "==", "k_Memory", ";"], "File": "FISCAsmParser", "Func": "isMem", "Target": "FISC", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 135043, "Length": 11, "Cover_Rate": 0.9166666666666666} {"Template_token": ["", "return", "token_str", "[", "", "]", "==", "'x'", "||", "token_str", "==", "", "||", "token_str", "==", "", "||", "token_str", "==", "", "||", "token_str", "==", "", "||", "token_str", "==", "", ";"], "ground_truth": ["}"], "File": "FISCAsmParser", "Func": "isOperandRegister", "Target": "FISC", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 135045, "Length": 29, "Cover_Rate": 0.5178571428571429} {"Template_token": ["", "return", "Kind", "==", "k_Register", ";"], "ground_truth": ["}"], "File": "FISCAsmParser", "Func": "isReg", "Target": "FISC", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 135046, "Length": 6, "Cover_Rate": 0.5} {"Template_token": ["", "bool", "isReg", "(", ")", "const", "{"], "ground_truth": ["return", "Kind", "==", "k_Register", ";"], "File": "FISCAsmParser", "Func": "isReg", "Target": "FISC", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 135047, "Length": 11, "Cover_Rate": 0.9166666666666666} {"Template_token": ["", "bool", "isReorder", "(", ")", "{", "return", "reorder", ";"], "ground_truth": ["}"], "File": "FISCAsmParser", "Func": "isReorder", "Target": "FISC", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 135048, "Length": 9, "Cover_Rate": 1.0} {"Template_token": ["", "bool", "isToken", "(", ")", "const", "{"], "ground_truth": ["return", "Kind", "==", "k_Token", ";"], "File": "FISCAsmParser", "Func": "isToken", "Target": "FISC", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 135050, "Length": 11, "Cover_Rate": 0.9166666666666666} {"Template_token": ["", "void", "LLVMInitializeAsmParser", "(", ")", "{", "RegisterMCAsmParser", "<", "AsmParser", ">", "X", "(", "TheTarget", ")", ";"], "ground_truth": ["}"], "File": "FISCAsmParser", "Func": "LLVMInitializeFISCAsmParser", "Target": "FISC", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 135052, "Length": 15, "Cover_Rate": 1.0} {"Template_token": ["", "void", "LLVMInitializeAsmParser", "(", ")", "{", "RegisterMCAsmParser", "<", "AsmParser", ">", "X", "(", "TheTarget", ")", ";"], "ground_truth": ["}"], "File": "FISCAsmParser", "Func": "LLVMInitializeFISCAsmParser", "Target": "FISC", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 135053, "Length": 15, "Cover_Rate": 1.0} {"Template_token": ["", "SMLoc", "ErrorLoc", "=", "IDLoc", ";", "if", "(", "ErrorInfo", "!=", "~", "", ")", "{", "if", "(", "ErrorInfo", ">=", "Operands", ".", "size", "(", ")", ")", "return", "Error", "(", "IDLoc", ",", "", ")", ";", "ErrorLoc", "=", "(", "(", "Operand", "&", ")", "*", "Operands", "[", "ErrorInfo", "]", ")", ".", "getStartLoc", "(", ")", ";", "if", "(", "ErrorLoc", "==", "SMLoc", "(", ")", ")", "ErrorLoc", "=", "IDLoc", ";", "}", "return", "Error", "(", "ErrorLoc", ",", "", ")", ";", "}", "case", "Match_MnemonicFail", ":", "return", "Error", "(", "IDLoc", ",", "", ")", ";", "}", "return", "true", ";"], "ground_truth": ["}"], "File": "FISCAsmParser", "Func": "MatchAndEmitInstruction", "Target": "FISC", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 135054, "Length": 87, "Cover_Rate": 0.47282608695652173} {"Template_token": ["", "int", "AsmParser", "::", "matchRegisterByNumber", "(", "unsigned", "RegNum", ",", "StringRef", "Mnemonic", ")", "{"], "ground_truth": ["if", "(", "RegNum", ">", "", ")", "return", "-", "", ";"], "File": "FISCAsmParser", "Func": "matchRegisterByNumber", "Target": "FISC", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 135055, "Length": 22, "Cover_Rate": 0.6666666666666666} {"Template_token": ["", "int", "AsmParser", "::", "matchRegisterByNumber", "(", "unsigned", "RegNum", ",", "StringRef", "Mnemonic", ")", "{"], "ground_truth": ["if", "(", "RegNum", ">", "", ")", "return", "-", "", ";"], "File": "FISCAsmParser", "Func": "matchRegisterByNumber", "Target": "FISC", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 135056, "Length": 22, "Cover_Rate": 0.6666666666666666} {"Template_token": ["", "", "CC", "=", "StringSwitch", "<", "", ">", "(", "Cond", ".", "lower", "(", ")", ")", ".", "Case", "(", "", ",", "", "::", "COND_EQ", ")", ".", "Case", "(", "", ",", "", "::", "COND_NE", ")", ".", "Case", "(", "", ",", "", "::", "COND_GT", ")", ".", "Case", "(", "", ",", "", "::", "COND_GT", ")", ".", "Case", "(", "", ",", "", "::", "COND_LE", ")", ".", "Case", "(", "", ",", "", "::", "COND_LE", ")", ".", "Case", "(", "", ",", "", "::", "COND_GE", ")", ".", "Case", "(", "", ",", "", "::", "COND_LT", ")", ".", "Case", "(", "", ",", "", "::", "COND_GT", ")", ".", "Default", "(", "", "::", "COND_INVAL", ")", ";", "return", "CC", ";"], "ground_truth": ["}"], "File": "FISCAsmParser", "Func": "parseCondCodeString", "Target": "FISC", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 135059, "Length": 107, "Cover_Rate": 0.7535211267605634} {"Template_token": ["", "", "CC", "=", "StringSwitch", "<", "", ">", "(", "Cond", ".", "lower", "(", ")", ")", ".", "Case", "(", "", ",", "", "::", "COND_EQ", ")", ".", "Case", "(", "", ",", "", "::", "COND_NE", ")", ".", "Case", "(", "", ",", "", "::", "COND_GT", ")", ".", "Case", "(", "", ",", "", "::", "COND_GT", ")", ".", "Case", "(", "", ",", "", "::", "COND_LE", ")", ".", "Case", "(", "", ",", "", "::", "COND_LE", ")", ".", "Case", "(", "", ",", "", "::", "COND_GE", ")", ".", "Case", "(", "", ",", "", "::", "COND_LT", ")", ".", "Case", "(", "", ",", "", "::", "COND_GT", ")", ".", "Default", "(", "", "::", "COND_INVAL", ")", ";", "return", "CC", ";"], "ground_truth": ["}"], "File": "FISCAsmParser", "Func": "parseCondCodeString", "Target": "FISC", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 135060, "Length": 107, "Cover_Rate": 0.7535211267605634} {"Template_token": ["", "StringRef", "IDVal", "=", "DirectiveID", ".", "getString", "(", ")", ";", "if", "(", "IDVal", "==", "", ")", "{", "Parser", ".", "Lex", "(", ")", ";", "return", "false", ";", "}", "if", "(", "IDVal", "==", "", ")", "{", "Parser", ".", "Lex", "(", ")", ";", "return", "false", ";", "}", "if", "(", "IDVal", "==", "", ")", "{", "Parser", ".", "eatToEndOfStatement", "(", ")", ";", "return", "false", ";", "}", "if", "(", "IDVal", "==", "", ")", "{", "return", "parseDirectiveSet", "(", ")", ";", "}", "if", "(", "IDVal", "==", "", ")", "{", "Parser", ".", "eatToEndOfStatement", "(", ")", ";", "return", "false", ";", "}"], "ground_truth": ["if", "(", "IDVal", "==", "", ")", "{"], "File": "FISCAsmParser", "Func": "ParseDirective", "Target": "FISC", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 135061, "Length": 97, "Cover_Rate": 0.42731277533039647} {"Template_token": ["", "if", "(", "IDVal", "==", "", ")", "{", "Parser", ".", "Lex", "(", ")", ";", "return", "false", ";", "}", "if", "(", "IDVal", "==", "", ")", "{", "Parser", ".", "Lex", "(", ")", ";", "return", "false", ";", "}", "if", "(", "IDVal", "==", "", ")", "{", "Parser", ".", "eatToEndOfStatement", "(", ")", ";", "return", "false", ";", "}", "if", "(", "IDVal", "==", "", ")", "{", "return", "parseDirectiveSet", "(", ")", ";", "}", "if", "(", "IDVal", "==", "", ")", "{", "Parser", ".", "eatToEndOfStatement", "(", ")", ";", "return", "false", ";", "}", "if", "(", "IDVal", "==", "", ")", "{", "Parser", ".", "eatToEndOfStatement", "(", ")", ";", "return", "false", ";", "}"], "ground_truth": ["if", "(", "IDVal", "==", "", ")", "{"], "File": "FISCAsmParser", "Func": "ParseDirective", "Target": "FISC", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 135062, "Length": 105, "Cover_Rate": 0.46255506607929514} {"Template_token": ["", "else", "if", "(", "Tok", ".", "getString", "(", ")", "==", "", ")", "return", "parseSetMacroDirective", "(", ")", ";", "else", "if", "(", "Tok", ".", "getString", "(", ")", "==", "", ")", "return", "parseSetNoMacroDirective", "(", ")", ";", "return", "true", ";"], "ground_truth": ["}"], "File": "FISCAsmParser", "Func": "parseDirectiveSet", "Target": "FISC", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 135063, "Length": 36, "Cover_Rate": 0.4235294117647059} {"Template_token": ["", "bool", "AsmParser", "::", "ParseInstruction", "(", "ParseInstructionInfo", "&", "Info", ",", "StringRef", "Name", ",", "SMLoc", "NameLoc", ",", "OperandVector", "&", "Operands", ")", "{", "TextSectOffset", "++", ";", "if", "(", "Name", "==", "", ")", "Name", "=", "", ";", "Name", "=", "StringSwitch", "<", "StringRef", ">", "(", "Name", ".", "lower", "(", ")", ")", ".", "Case", "(", "", ",", "", ")", ".", "Case", "(", "", ",", "", ")", ".", "Case", "(", "", ",", "", ")", ".", "Case", "(", "", ",", "", ")", ".", "Case", "(", "", ",", "", ")", ".", "Case", "(", "", ",", "", ")", ".", "Case", "(", "", ",", "", ")", ".", "Case", "(", "", ",", "", ")", ".", "Case", "(", "", ",", "", ")", ".", "Case", "(", "", ",", "", ")", ".", "Case", "(", "", ",", "", ")", ".", "Case", "(", "", ",", "", ")", ".", "Case", "(", "", ",", "", ")", ".", "Case", "(", "", ",", "", ")", ".", "Case", "(", "", ",", "", ")", ".", "Case", "(", "", ",", "", ")", ".", "Case", "(", "", ",", "", ")", ".", "Case", "(", "", ",", "", ")", ".", "Default", "(", "Name", ")", ";", "size_t", "Start", "=", "", ",", "Next", "=", "Name", ".", "find", "(", "'.'", ")", ";", "StringRef", "Head", "=", "Name", ".", "slice", "(", "Start", ",", "Next", ")", ";", "Operands", ".", "push_back", "(", "", "(", "Head", ",", "NameLoc", ")", ")", ";", "if", "(", "Head", "==", "", "&&", "Next", "!=", "StringRef", "::", "npos", ")", "{", "Start", "=", "Next", ";", "Next", "=", "Name", ".", "find", "(", "'.'", ",", "Start", "+", "", ")", ";", "Head", "=", "Name", ".", "slice", "(", "Start", "+", "", ",", "Next", ")", ";", "SMLoc", "SuffixLoc", "=", "SMLoc", "::", "getFromPointer", "(", "NameLoc", ".", "getPointer", "(", ")", "+", "(", "Head", ".", "data", "(", ")", "-", "Name", ".", "data", "(", ")", ")", ")", ";", "", "CC", "=", "parseCondCodeString", "(", "Head", ")", ";", "if", "(", "CC", "==", "", "::", "COND_INVAL", ")", "return", "Error", "(", "SuffixLoc", ",", "", ")", ";", "const", "MCExpr", "*", "CC_Expr", "=", "MCConstantExpr", "::", "create", "(", "(", "int64_t", ")", "CC", ",", "getContext", "(", ")", ")", ";", "Operands", ".", "push_back", "(", "", "(", "CC_Expr", ",", "Parser", ".", "getTok", "(", ")", ".", "getLoc", "(", ")", ",", "SMLoc", "::", "getFromPointer", "(", "Parser", ".", "getTok", "(", ")", ".", "getLoc", "(", ")", ".", "getPointer", "(", ")", "-", "", ")", ")", ")", ";", "}", "if", "(", "getLexer", "(", ")", ".", "isNot", "(", "AsmToken", "::", "EndOfStatement", ")", ")", "{", "if", "(", "ParseOperand", "(", "Operands", ",", "Name", ")", ")", "{", "SMLoc", "Loc", "=", "getLexer", "(", ")", ".", "getLoc", "(", ")", ";", "Parser", ".", "eatToEndOfStatement", "(", ")", ";", "return", "Error", "(", "Loc", ",", "", ")", ";", "}", "while", "(", "getLexer", "(", ")", ".", "is", "(", "AsmToken", "::", "Comma", ")", ")", "{", "Parser", ".", "Lex", "(", ")", ";", "if", "(", "ParseOperand", "(", "Operands", ",", "Name", ")", ")", "{", "SMLoc", "Loc", "=", "getLexer", "(", ")", ".", "getLoc", "(", ")", ";", "Parser", ".", "eatToEndOfStatement", "(", ")", ";"], "ground_truth": ["return", "Error", "(", "Loc", ",", "", ")", ";"], "File": "FISCAsmParser", "Func": "ParseInstruction", "Target": "FISC", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 135064, "Length": 477, "Cover_Rate": 0.8866171003717472} {"Template_token": ["", "bool", "AsmParser", "::", "ParseInstruction", "(", "ParseInstructionInfo", "&", "Info", ",", "StringRef", "Name", ",", "SMLoc", "NameLoc", ",", "OperandVector", "&", "Operands", ")", "{", "TextSectOffset", "++", ";", "if", "(", "Name", "==", "", ")", "Name", "=", "", ";", "Name", "=", "StringSwitch", "<", "StringRef", ">", "(", "Name", ".", "lower", "(", ")", ")", ".", "Case", "(", "", ",", "", ")", ".", "Case", "(", "", ",", "", ")", ".", "Case", "(", "", ",", "", ")", ".", "Case", "(", "", ",", "", ")", ".", "Case", "(", "", ",", "", ")", ".", "Case", "(", "", ",", "", ")", ".", "Case", "(", "", ",", "", ")", ".", "Case", "(", "", ",", "", ")", ".", "Case", "(", "", ",", "", ")", ".", "Case", "(", "", ",", "", ")", ".", "Case", "(", "", ",", "", ")", ".", "Case", "(", "", ",", "", ")", ".", "Case", "(", "", ",", "", ")", ".", "Case", "(", "", ",", "", ")", ".", "Case", "(", "", ",", "", ")", ".", "Case", "(", "", ",", "", ")", ".", "Case", "(", "", ",", "", ")", ".", "Case", "(", "", ",", "", ")", ".", "Default", "(", "Name", ")", ";", "size_t", "Start", "=", "", ",", "Next", "=", "Name", ".", "find", "(", "'.'", ")", ";", "StringRef", "Head", "=", "Name", ".", "slice", "(", "Start", ",", "Next", ")", ";", "Operands", ".", "push_back", "(", "", "(", "Head", ",", "NameLoc", ")", ")", ";", "if", "(", "Head", "==", "", "&&", "Next", "!=", "StringRef", "::", "npos", ")", "{", "Start", "=", "Next", ";", "Next", "=", "Name", ".", "find", "(", "'.'", ",", "Start", "+", "", ")", ";", "Head", "=", "Name", ".", "slice", "(", "Start", "+", "", ",", "Next", ")", ";", "SMLoc", "SuffixLoc", "=", "SMLoc", "::", "getFromPointer", "(", "NameLoc", ".", "getPointer", "(", ")", "+", "(", "Head", ".", "data", "(", ")", "-", "Name", ".", "data", "(", ")", ")", ")", ";", "", "CC", "=", "parseCondCodeString", "(", "Head", ")", ";", "if", "(", "CC", "==", "", "::", "COND_INVAL", ")", "return", "Error", "(", "SuffixLoc", ",", "", ")", ";", "const", "MCExpr", "*", "CC_Expr", "=", "MCConstantExpr", "::", "create", "(", "(", "int64_t", ")", "CC", ",", "getContext", "(", ")", ")", ";", "Operands", ".", "push_back", "(", "", "(", "CC_Expr", ",", "Parser", ".", "getTok", "(", ")", ".", "getLoc", "(", ")", ",", "SMLoc", "::", "getFromPointer", "(", "Parser", ".", "getTok", "(", ")", ".", "getLoc", "(", ")", ".", "getPointer", "(", ")", "-", "", ")", ")", ")", ";", "}", "if", "(", "getLexer", "(", ")", ".", "isNot", "(", "AsmToken", "::", "EndOfStatement", ")", ")", "{", "if", "(", "ParseOperand", "(", "Operands", ",", "Name", ")", ")", "{", "SMLoc", "Loc", "=", "getLexer", "(", ")", ".", "getLoc", "(", ")", ";", "Parser", ".", "eatToEndOfStatement", "(", ")", ";", "return", "Error", "(", "Loc", ",", "", ")", ";"], "ground_truth": ["}"], "File": "FISCAsmParser", "Func": "ParseInstruction", "Target": "FISC", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 135065, "Length": 422, "Cover_Rate": 0.7843866171003717} {"Template_token": ["", "case", "AsmToken", "::", "Plus", ":", "return", "(", "getParser", "(", ")", ".", "parseExpression", "(", "Res", ")", ")", ";", "case", "AsmToken", "::", "Percent", ":", "return", "parseRelocOperand", "(", "Res", ")", ";", "case", "AsmToken", "::", "LParen", ":", "return", "false", ";"], "ground_truth": ["}"], "File": "FISCAsmParser", "Func": "parseMemOffset", "Target": "FISC", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 135066, "Length": 37, "Cover_Rate": 0.45121951219512196} {"Template_token": ["", "AsmParser", "::", "OperandMatchResultTy", "AsmParser", "::", "parseMemOperand", "(", "OperandVector", "&", "Operands", ")", "{", "if", "(", "std", "::", "string", "(", "Parser", ".", "getTok", "(", ")", ".", "getString", "(", ")", ")", "!=", "", ")", "{", "Error", "(", "Parser", ".", "getTok", "(", ")", ".", "getLoc", "(", ")", ",", "", ")", ";", "Parser", ".", "Lex", "(", ")", ";", "return", "MatchOperand_ParseFail", ";", "}", "Parser", ".", "Lex", "(", ")", ";", "const", "MCExpr", "*", "IdVal", "=", "", ";", "const", "AsmToken", "&", "Tok", "=", "Parser", ".", "getTok", "(", ")", ";", "SMLoc", "S", "=", "Tok", ".", "getLoc", "(", ")", ";", "if", "(", "isOperandRegister", "(", "Tok", ")", ")", "{", "if", "(", "ParseRegisterOperand", "(", "&", "Operands", ",", "", ")", ")", "{", "Error", "(", "Parser", ".", "getTok", "(", ")", ".", "getLoc", "(", ")", ",", "", ")", ";", "return", "MatchOperand_ParseFail", ";"], "ground_truth": ["}"], "File": "FISCAsmParser", "Func": "parseMemOperand", "Target": "FISC", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 135067, "Length": 128, "Cover_Rate": 0.3516483516483517} {"Template_token": ["", "SMLoc", "S", "=", "Tok", ".", "getLoc", "(", ")", ";", "if", "(", "isOperandRegister", "(", "Tok", ")", ")", "{", "if", "(", "ParseRegisterOperand", "(", "&", "Operands", ",", "", ")", ")", "{", "Error", "(", "Parser", ".", "getTok", "(", ")", ".", "getLoc", "(", ")", ",", "", ")", ";", "return", "MatchOperand_ParseFail", ";", "}", "}", "else", "{", "Error", "(", "Parser", ".", "getTok", "(", ")", ".", "getLoc", "(", ")", ",", "", ")", ";", "return", "MatchOperand_ParseFail", ";", "}", "const", "AsmToken", "&", "Tok2", "=", "Parser", ".", "getTok", "(", ")", ";", "if", "(", "Tok2", ".", "isNot", "(", "AsmToken", "::", "Comma", ")", ")", "{", "Error", "(", "Parser", ".", "getTok", "(", ")", ".", "getLoc", "(", ")", ",", "", ")", ";", "return", "MatchOperand_ParseFail", ";", "}", "SMLoc", "E", "=", "SMLoc", "::", "getFromPointer", "(", "Parser", ".", "getTok", "(", ")", ".", "getLoc", "(", ")", ".", "getPointer", "(", ")", "-", "", ")", ";", "Parser", ".", "Lex", "(", ")", ";", "if", "(", "parseMemOffset", "(", "IdVal", ")", ")", "return", "MatchOperand_ParseFail", ";", "if", "(", "std", "::", "string", "(", "Parser", ".", "getTok", "(", ")", ".", "getString", "(", ")", ")", "!=", "", ")", "{"], "ground_truth": ["Error", "(", "Parser", ".", "getTok", "(", ")", ".", "getLoc", "(", ")", ",", "", ")", ";"], "File": "FISCAsmParser", "Func": "parseMemOperand", "Target": "FISC", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 135068, "Length": 186, "Cover_Rate": 0.510989010989011} {"Template_token": ["", "DEBUG", "(", "dbgs", "(", ")", "<<", "", ")", ";", "std", "::", "string", "token_str", "=", "std", "::", "string", "(", "Parser", ".", "getTok", "(", ")", ".", "getString", "(", ")", ")", ";", "switch", "(", "getLexer", "(", ")", ".", "getKind", "(", ")", ")", "{", "default", ":", "Error", "(", "Parser", ".", "getTok", "(", ")", ".", "getLoc", "(", ")", ",", "", ")", ";", "return", "true", ";", "case", "AsmToken", "::", "Identifier", ":", "case", "AsmToken", "::", "LParen", ":", "case", "AsmToken", "::", "Minus", ":", "case", "AsmToken", "::", "Plus", ":", "case", "AsmToken", "::", "Integer", ":", "case", "AsmToken", "::", "String", ":", "{", "if", "(", "isOperandRegister", "(", "Parser", ".", "getTok", "(", ")", ")", ")", "return", "ParseRegisterOperand", "(", "&", "Operands", ",", "Mnemonic", ")", ";", "if", "(", "token_str", "==", "", ")", "Parser", ".", "Lex", "(", ")", ";", "const", "MCExpr", "*", "IdVal", ";", "SMLoc", "S", "=", "Parser", ".", "getTok", "(", ")", ".", "getLoc", "(", ")", ";", "if", "(", "getParser", "(", ")", ".", "parseExpression", "(", "IdVal", ")", ")", "return", "true", ";", "if", "(", "IdVal", "->", "getKind", "(", ")", "==", "MCExpr", "::", "ExprKind", "::", "SymbolRef", ")", "{", "StringRef", "Opcode", "=", "StringRef", "(", "(", "(", "Operand", "*", ")", "(", "Operands", "[", "", "]", ".", "get", "(", ")", ")", ")", "->", "Tok", ".", "Data", ",", "(", "(", "Operand", "*", ")", "(", "Operands", "[", "", "]", ".", "get", "(", ")", ")", ")", "->", "Tok", ".", "Length", ")", ";"], "ground_truth": ["}"], "File": "FISCAsmParser", "Func": "ParseOperand", "Target": "FISC", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 135069, "Length": 219, "Cover_Rate": 0.553030303030303} {"Template_token": ["", "StartLoc", "=", "Parser", ".", "getTok", "(", ")", ".", "getLoc", "(", ")", ";", "RegNo", "=", "ParseRegisterOperand", "(", "nullptr", ",", "", ")", ";"], "ground_truth": ["EndLoc", "=", "Parser", ".", "getTok", "(", ")", ".", "getLoc", "(", ")", ";"], "File": "FISCAsmParser", "Func": "ParseRegister", "Target": "FISC", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 135070, "Length": 33, "Cover_Rate": 0.5238095238095238} {"Template_token": ["", "if", "(", "Tok", ".", "is", "(", "AsmToken", "::", "Identifier", ")", ")", "RegNo", "=", "matchRegisterName", "(", "Tok", ".", "getString", "(", ")", ".", "lower", "(", ")", ")", ";", "else", "if", "(", "Tok", ".", "is", "(", "AsmToken", "::", "Integer", ")", ")", "RegNo", "=", "matchRegisterByNumber", "(", "static_cast", "<", "unsigned", ">", "(", "Tok", ".", "getIntVal", "(", ")", ")", ",", "Mnemonic", ".", "lower", "(", ")", ")", ";", "if", "(", "RegNo", "==", "-", "", ")", "return", "true", ";", "if", "(", "Operands", ")", "{", "Operands", "->", "push_back", "(", "", "(", "RegNo", ",", "S", ",", "Parser", ".", "getTok", "(", ")", ".", "getLoc", "(", ")", ")", ")", ";"], "ground_truth": ["Parser", ".", "Lex", "(", ")", ";"], "File": "FISCAsmParser", "Func": "ParseRegisterOperand", "Target": "FISC", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 135071, "Length": 104, "Cover_Rate": 0.6753246753246753} {"Template_token": ["", "Parser", ".", "Lex", "(", ")", ";", "const", "AsmToken", "&", "Tok", "=", "Parser", ".", "getTok", "(", ")", ";", "if", "(", "Tok", ".", "isNot", "(", "AsmToken", "::", "Identifier", ")", ")", "return", "true", ";", "std", "::", "string", "Str", "=", "Tok", ".", "getIdentifier", "(", ")", ".", "str", "(", ")", ";", "std", "::", "string", "LabelStr", ";", "Parser", ".", "Lex", "(", ")", ";", "const", "MCExpr", "*", "IdVal", ";", "SMLoc", "EndLoc", ";", "if", "(", "getLexer", "(", ")", ".", "getKind", "(", ")", "==", "AsmToken", "::", "LParen", ")", "{", "Parser", ".", "Lex", "(", ")", ";"], "ground_truth": ["if", "(", "getLexer", "(", ")", ".", "getKind", "(", ")", "==", "AsmToken", "::", "Dot", ")", "Parser", ".", "Lex", "(", ")", ";"], "File": "FISCAsmParser", "Func": "parseRelocOperand", "Target": "FISC", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 135072, "Length": 106, "Cover_Rate": 0.6385542168674698} {"Template_token": ["", "}", "Options", ".", "setMacro", "(", ")", ";", "Parser", ".", "Lex", "(", ")", ";"], "ground_truth": ["return", "false", ";"], "File": "FISCAsmParser", "Func": "parseSetMacroDirective", "Target": "FISC", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 135073, "Length": 16, "Cover_Rate": 0.3076923076923077} {"Template_token": ["", "}", "if", "(", "Options", ".", "isReorder", "(", ")", ")", "{", "reportParseError", "(", "", ")", ";", "return", "false", ";", "}", "Options", ".", "setNomacro", "(", ")", ";"], "ground_truth": ["Parser", ".", "Lex", "(", ")", ";"], "File": "FISCAsmParser", "Func": "parseSetNoMacroDirective", "Target": "FISC", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 135074, "Length": 31, "Cover_Rate": 0.44285714285714284} {"Template_token": ["", "bool", "AsmParser", "::", "parseSetNoReorderDirective", "(", ")", "{", "Parser", ".", "Lex", "(", ")", ";", "if", "(", "getLexer", "(", ")", ".", "isNot", "(", "AsmToken", "::", "EndOfStatement", ")", ")", "{", "reportParseError", "(", "", ")", ";", "return", "false", ";"], "ground_truth": ["}"], "File": "FISCAsmParser", "Func": "parseSetNoReorderDirective", "Target": "FISC", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 135075, "Length": 36, "Cover_Rate": 0.6923076923076923} {"Template_token": ["", "}", "Options", ".", "setNoreorder", "(", ")", ";", "Parser", ".", "Lex", "(", ")", ";"], "ground_truth": ["return", "false", ";"], "File": "FISCAsmParser", "Func": "parseSetNoReorderDirective", "Target": "FISC", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 135076, "Length": 16, "Cover_Rate": 0.3076923076923077} {"Template_token": ["", "bool", "AsmParser", "::", "parseSetReorderDirective", "(", ")", "{", "Parser", ".", "Lex", "(", ")", ";", "if", "(", "getLexer", "(", ")", ".", "isNot", "(", "AsmToken", "::", "EndOfStatement", ")", ")", "{", "reportParseError", "(", "", ")", ";", "return", "false", ";", "}"], "ground_truth": ["Options", ".", "setReorder", "(", ")", ";"], "File": "FISCAsmParser", "Func": "parseSetReorderDirective", "Target": "FISC", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 135077, "Length": 42, "Cover_Rate": 0.8076923076923077} {"Template_token": ["", "Parser", ".", "eatToEndOfStatement", "(", ")", ";"], "ground_truth": ["return", "Error", "(", "Loc", ",", "ErrorMsg", ")", ";"], "File": "FISCAsmParser", "Func": "reportParseError", "Target": "FISC", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 135080, "Length": 14, "Cover_Rate": 0.4} {"Template_token": ["", "macro", "=", "true", ";"], "ground_truth": ["}"], "File": "FISCAsmParser", "Func": "setMacro", "Target": "FISC", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 135081, "Length": 5, "Cover_Rate": 0.5} {"Template_token": ["", "macro", "=", "false", ";"], "ground_truth": ["}"], "File": "FISCAsmParser", "Func": "setNomacro", "Target": "FISC", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 135083, "Length": 5, "Cover_Rate": 0.5} {"Template_token": ["", "macro", "=", "false", ";"], "ground_truth": ["}"], "File": "FISCAsmParser", "Func": "setNomacro", "Target": "FISC", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 135084, "Length": 5, "Cover_Rate": 0.5} {"Template_token": ["", "void", "setReorder", "(", ")", "{"], "ground_truth": ["reorder", "=", "true", ";"], "File": "FISCAsmParser", "Func": "setReorder", "Target": "FISC", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 135087, "Length": 9, "Cover_Rate": 0.9} {"Template_token": ["", "OutStreamer", "->", "EmitLabel", "(", "CurrentFnSym", ")", ";"], "ground_truth": ["}"], "File": "FISCAsmPrinter", "Func": "EmitFunctionEntryLabel", "Target": "FISC", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 135091, "Length": 8, "Cover_Rate": 0.5333333333333333} {"Template_token": ["", "OutStreamer", "->", "EmitLabel", "(", "CurrentFnSym", ")", ";"], "ground_truth": ["}"], "File": "FISCAsmPrinter", "Func": "EmitFunctionEntryLabel", "Target": "FISC", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 135092, "Length": 8, "Cover_Rate": 0.5333333333333333} {"Template_token": ["", "MCInstLowering", ".", "Lower", "(", "MI", ",", "TmpInst", ")", ";"], "ground_truth": ["EmitToStreamer", "(", "*", "OutStreamer", ",", "TmpInst", ")", ";"], "File": "FISCAsmPrinter", "Func": "EmitInstruction", "Target": "FISC", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 135093, "Length": 17, "Cover_Rate": 0.53125} {"Template_token": ["", "explicit", "AsmPrinter", "(", "TargetMachine", "&", "TM", ",", "std", "::", "unique_ptr", "<", "MCStreamer", ">", "Streamer", ")", ":", "AsmPrinter", "(", "TM", ",", "std", "::", "move", "(", "Streamer", ")", ")", ",", "MCInstLowering", "(", "*", "this", ")", "{"], "ground_truth": ["}"], "File": "FISCAsmPrinter", "Func": "FISCAsmPrinter", "Target": "FISC", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 135094, "Length": 35, "Cover_Rate": 1.0} {"Template_token": ["", "explicit", "AsmPrinter", "(", "TargetMachine", "&", "TM", ",", "std", "::", "unique_ptr", "<", "MCStreamer", ">", "Streamer", ")", ":", "AsmPrinter", "(", "TM", ",", "std", "::", "move", "(", "Streamer", ")", ")", ",", "MCInstLowering", "(", "*", "this", ")", "{"], "ground_truth": ["}"], "File": "FISCAsmPrinter", "Func": "FISCAsmPrinter", "Target": "FISC", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 135095, "Length": 35, "Cover_Rate": 1.0} {"Template_token": ["", "int", "Offset", "=", "", ";", "if", "(", "ExtraCode", ")", "return", "true", ";", "const", "MachineOperand", "&", "MO", "=", "MI", "->", "getOperand", "(", "OpNum", ")", ";", "assert", "(", "MO", ".", "isReg", "(", ")", "&&", "", ")", ";"], "ground_truth": ["O", "<<", "", "<<", "InstPrinter", "::", "getRegisterName", "(", "MO", ".", "getReg", "(", ")", ")", "<<", "", "<<", "Offset", "<<", "", ";"], "File": "FISCAsmPrinter", "Func": "PrintAsmMemoryOperand", "Target": "FISC", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 135100, "Length": 56, "Cover_Rate": 0.6511627906976745} {"Template_token": ["", "bool", "AsmPrinter", "::", "PrintAsmMemoryOperand", "(", "const", "MachineInstr", "*", "MI", ",", "unsigned", "OpNum", ",", "unsigned", "AsmVariant", ",", "const", "char", "*", "ExtraCode", ",", "raw_ostream", "&", "O", ")", "{"], "ground_truth": ["int", "Offset", "=", "", ";"], "File": "FISCAsmPrinter", "Func": "PrintAsmMemoryOperand", "Target": "FISC", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 135101, "Length": 31, "Cover_Rate": 0.36046511627906974} {"Template_token": ["", "O", "<<", "", "<<", "StringRef", "(", "utohexstr", "(", "MO", ".", "getImm", "(", ")", ")", ")", ".", "lower", "(", ")", ";", "return", "false", ";", "case", "'x'", ":", "if", "(", "(", "MO", ".", "getType", "(", ")", ")", "!=", "MachineOperand", "::", "MO_Immediate", ")", "return", "true", ";", "O", "<<", "", "<<", "StringRef", "(", "utohexstr", "(", "MO", ".", "getImm", "(", ")", "&", "", ")", ")", ".", "lower", "(", ")", ";", "return", "false", ";", "case", "'d'", ":", "if", "(", "(", "MO", ".", "getType", "(", ")", ")", "!=", "MachineOperand", "::", "MO_Immediate", ")", "return", "true", ";", "O", "<<", "MO", ".", "getImm", "(", ")", ";", "return", "false", ";", "case", "'m'", ":", "if", "(", "(", "MO", ".", "getType", "(", ")", ")", "!=", "MachineOperand", "::", "MO_Immediate", ")", "return", "true", ";", "O", "<<", "MO", ".", "getImm", "(", ")", "-", "", ";", "return", "false", ";"], "ground_truth": ["case", "'z'", ":", "{"], "File": "FISCAsmPrinter", "Func": "PrintAsmOperand", "Target": "FISC", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 135102, "Length": 136, "Cover_Rate": 0.4563758389261745} {"Template_token": ["", "O", "<<", "*", "MO", ".", "getMBB", "(", ")", "->", "getSymbol", "(", ")", ";", "return", ";", "case", "MachineOperand", "::", "MO_GlobalAddress", ":", "O", "<<", "*", "getSymbol", "(", "MO", ".", "getGlobal", "(", ")", ")", ";", "break", ";", "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", ";", "case", "MachineOperand", "::", "MO_ConstantPoolIndex", ":", "O", "<<", "MAI", "->", "getPrivateGlobalPrefix", "(", ")", "<<", "", "<<", "getFunctionNumber", "(", ")", "<<", "", "<<", "MO", ".", "getIndex", "(", ")", ";", "if", "(", "MO", ".", "getOffset", "(", ")", ")", "O", "<<", "", "<<", "MO", ".", "getOffset", "(", ")", ";"], "ground_truth": ["break", ";"], "File": "FISCAsmPrinter", "Func": "printOperand", "Target": "FISC", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 135103, "Length": 159, "Cover_Rate": 0.39849624060150374} {"Template_token": ["", "return", "new", "Filler", "(", "tm", ")", ";"], "ground_truth": ["}"], "File": "FISCDelaySlotFiller", "Func": "createFISCDelaySlotFillerPass", "Target": "FISC", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 135104, "Length": 8, "Cover_Rate": 0.42105263157894735} {"Template_token": ["", "FunctionPass", "*", "llvm", "::", "createDelaySlotFillerPass", "(", "TargetMachine", "&", "tm", ")", "{", "return", "new", "Filler", "(", "tm", ")", ";"], "ground_truth": ["}"], "File": "FISCDelaySlotFiller", "Func": "createFISCDelaySlotFillerPass", "Target": "FISC", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 135105, "Length": 19, "Cover_Rate": 1.0} {"Template_token": ["", "Filler", "(", "TargetMachine", "&", "tm", ")", ":", "MachineFunctionPass", "(", "ID", ")", "{"], "ground_truth": ["}"], "File": "FISCDelaySlotFiller", "Func": "Filler", "Target": "FISC", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 135106, "Length": 13, "Cover_Rate": 1.0} {"Template_token": ["", "Filler", "(", "TargetMachine", "&", "tm", ")", ":", "MachineFunctionPass", "(", "ID", ")", "{"], "ground_truth": ["}"], "File": "FISCDelaySlotFiller", "Func": "Filler", "Target": "FISC", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 135107, "Length": 13, "Cover_Rate": 1.0} {"Template_token": ["", "const", "char", "*", "getPassName", "(", ")", "const", "override", "{", "return", "", ";"], "ground_truth": ["}"], "File": "FISCDelaySlotFiller", "Func": "getPassName", "Target": "FISC", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 135108, "Length": 13, "Cover_Rate": 1.0} {"Template_token": ["", "const", "char", "*", "getPassName", "(", ")", "const", "override", "{", "return", "", ";"], "ground_truth": ["}"], "File": "FISCDelaySlotFiller", "Func": "getPassName", "Target": "FISC", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 135109, "Length": 13, "Cover_Rate": 1.0} {"Template_token": ["", "const", "Subtarget", "&", "STI", "=", "MBB", ".", "getParent", "(", ")", "->", "getSubtarget", "<", "Subtarget", ">", "(", ")", ";", "const", "InstrInfo", "*", "TII", "=", "STI", ".", "getInstrInfo", "(", ")", ";", "for", "(", "Iter", "I", "=", "MBB", ".", "begin", "(", ")", ";", "I", "!=", "MBB", ".", "end", "(", ")", ";", "++", "I", ")", "{", "const", "MachineInstr", "*", "MI", "=", "&", "*", "I", ";", "if", "(", "insertStall", "(", "MBB", ",", "I", ",", "TII", ",", "MI", "->", "getOpcode", "(", ")", ")", ")", "{", "FilledSlots", "++", ";", "Changed", "=", "true", ";"], "ground_truth": ["}"], "File": "FISCDelaySlotFiller", "Func": "runOnMachineBasicBlock", "Target": "FISC", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 135110, "Length": 87, "Cover_Rate": 0.8130841121495327} {"Template_token": ["", "bool", "Changed", "=", "false", ";", "for", "(", "MachineFunction", "::", "iterator", "FI", "=", "F", ".", "begin", "(", ")", ",", "FE", "=", "F", ".", "end", "(", ")", ";", "FI", "!=", "FE", ";", "++", "FI", ")", "{", "Changed", "|=", "runOnMachineBasicBlock", "(", "*", "FI", ")", ";", "TextSectOffset", "+=", "FI", "->", "size", "(", ")", ";", "}"], "ground_truth": ["return", "Changed", ";"], "File": "FISCDelaySlotFiller", "Func": "runOnMachineFunction", "Target": "FISC", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 135111, "Length": 54, "Cover_Rate": 0.84375} {"Template_token": ["", "for", "(", "MachineFunction", "::", "iterator", "FI", "=", "F", ".", "begin", "(", ")", ",", "FE", "=", "F", ".", "end", "(", ")", ";", "FI", "!=", "FE", ";", "++", "FI", ")", "{", "Changed", "|=", "runOnMachineBasicBlock", "(", "*", "FI", ")", ";", "TextSectOffset", "+=", "FI", "->", "size", "(", ")", ";", "}", "return", "Changed", ";"], "ground_truth": ["}"], "File": "FISCDelaySlotFiller", "Func": "runOnMachineFunction", "Target": "FISC", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 135112, "Length": 50, "Cover_Rate": 0.78125} {"Template_token": ["", "static", "MCDisassembler", "*", "createDisassebler", "(", "const", "Target", "&", "T", ",", "const", "MCSubtargetInfo", "&", "STI", ",", "MCContext", "&", "Ctx", ")", "{"], "ground_truth": ["return", "new", "Disassembler", "(", "STI", ",", "Ctx", ")", ";"], "File": "FISCDisassembler", "Func": "createFISCDisassebler", "Target": "FISC", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 135113, "Length": 29, "Cover_Rate": 0.9666666666666667} {"Template_token": ["", "static", "DecodeStatus", "DecodeBranch26Target", "(", "MCInst", "&", "Inst", ",", "unsigned", "Insn", ",", "uint64_t", "Address", ",", "const", "void", "*", "Decoder", ")", "{", "Inst", ".", "addOperand", "(", "MCOperand", "::", "createImm", "(", "SignExtend32", "<", "", ">", "(", "Insn", ")", ")", ")", ";"], "ground_truth": ["return", "MCDisassembler", "::", "Success", ";"], "File": "FISCDisassembler", "Func": "DecodeBranch26Target", "Target": "FISC", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 135115, "Length": 43, "Cover_Rate": 0.9772727272727273} {"Template_token": ["", "static", "DecodeStatus", "DecodeBranch26Target", "(", "MCInst", "&", "Inst", ",", "unsigned", "Insn", ",", "uint64_t", "Address", ",", "const", "void", "*", "Decoder", ")", "{"], "ground_truth": ["Inst", ".", "addOperand", "(", "MCOperand", "::", "createImm", "(", "SignExtend32", "<", "", ">", "(", "Insn", ")", ")", ")", ";"], "File": "FISCDisassembler", "Func": "DecodeBranch26Target", "Target": "FISC", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 135116, "Length": 38, "Cover_Rate": 0.8636363636363636} {"Template_token": ["", "Inst", ".", "addOperand", "(", "MCOperand", "::", "createImm", "(", "SignExtend32", "<", "", ">", "(", "Insn", ")", ")", ")", ";"], "ground_truth": ["return", "MCDisassembler", "::", "Success", ";"], "File": "FISCDisassembler", "Func": "DecodeCJumpTarget", "Target": "FISC", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 135117, "Length": 23, "Cover_Rate": 0.5227272727272727} {"Template_token": ["", "Inst", ".", "addOperand", "(", "MCOperand", "::", "createImm", "(", "SignExtend32", "<", "", ">", "(", "Insn", ")", ")", ")", ";", "return", "MCDisassembler", "::", "Success", ";"], "ground_truth": ["}"], "File": "FISCDisassembler", "Func": "DecodeCJumpTarget", "Target": "FISC", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 135118, "Length": 24, "Cover_Rate": 0.5454545454545454} {"Template_token": ["", "if", "(", "RegNo", ">", "", ")", "return", "MCDisassembler", "::", "Fail", ";"], "ground_truth": ["Inst", ".", "addOperand", "(", "MCOperand", "::", "createReg", "(", "CPURegsTable", "[", "RegNo", "]", ")", ")", ";"], "File": "FISCDisassembler", "Func": "DecodeCPURegsRegisterClass", "Target": "FISC", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 135119, "Length": 26, "Cover_Rate": 0.5} {"Template_token": ["", "static", "DecodeStatus", "DecodeCPURegsRegisterClass", "(", "MCInst", "&", "Inst", ",", "unsigned", "RegNo", ",", "uint64_t", "Address", ",", "const", "void", "*", "Decoder", ")", "{", "if", "(", "RegNo", ">", "", ")", "return", "MCDisassembler", "::", "Fail", ";"], "ground_truth": ["Inst", ".", "addOperand", "(", "MCOperand", "::", "createReg", "(", "CPURegsTable", "[", "RegNo", "]", ")", ")", ";"], "File": "FISCDisassembler", "Func": "DecodeCPURegsRegisterClass", "Target": "FISC", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 135120, "Length": 46, "Cover_Rate": 0.8846153846153846} {"Template_token": ["", "return", "DecodeCPURegsRegisterClass", "(", "Inst", ",", "RegNo", ",", "Address", ",", "Decoder", ")", ";"], "ground_truth": ["}"], "File": "FISCDisassembler", "Func": "DecodeGRRegsRegisterClass", "Target": "FISC", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 135122, "Length": 13, "Cover_Rate": 0.3939393939393939} {"Template_token": ["", "unsigned", "JumpOffset", "=", "fieldFromInstruction", "(", "Insn", ",", "", ",", "", ")", ";"], "ground_truth": ["Inst", ".", "addOperand", "(", "MCOperand", "::", "createImm", "(", "JumpOffset", ")", ")", ";"], "File": "FISCDisassembler", "Func": "DecodeJumpTarget", "Target": "FISC", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 135123, "Length": 24, "Cover_Rate": 0.48} {"Template_token": ["", "static", "DecodeStatus", "DecodeMem", "(", "MCInst", "&", "Inst", ",", "unsigned", "Insn", ",", "uint64_t", "Address", ",", "const", "void", "*", "Decoder", ")", "{", "int", "Reg", "=", "(", "int", ")", "fieldFromInstruction", "(", "Insn", ",", "", ",", "", ")", ";", "int", "Offset", "=", "SignExtend32", "<", "", ">", "(", "(", "Insn", "&", "", ")", ">>", "", ")", ";", "int", "Base", "=", "(", "int", ")", "fieldFromInstruction", "(", "Insn", ",", "", ",", "", ")", ";", "Inst", ".", "addOperand", "(", "MCOperand", "::", "createReg", "(", "CPURegsTable", "[", "Reg", "]", ")", ")", ";"], "ground_truth": ["Inst", ".", "addOperand", "(", "MCOperand", "::", "createReg", "(", "CPURegsTable", "[", "Base", "]", ")", ")", ";"], "File": "FISCDisassembler", "Func": "DecodeMem", "Target": "FISC", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 135124, "Length": 97, "Cover_Rate": 0.8434782608695652} {"Template_token": ["", "TargetRegistry", "::", "RegisterMCDisassembler", "(", "TheTarget", ",", "createDisassebler", ")", ";"], "ground_truth": ["}"], "File": "FISCDisassembler", "Func": "LLVMInitializeFISCDisassembler", "Target": "FISC", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 135127, "Length": 10, "Cover_Rate": 0.6666666666666666} {"Template_token": ["", "static", "DecodeStatus", "readInstruction32", "(", "ArrayRef", "<", "uint8_t", ">", "Bytes", ",", "uint64_t", "Address", ",", "uint64_t", "&", "Size", ",", "uint32_t", "&", "Insn", ")", "{", "if", "(", "Bytes", ".", "size", "(", ")", "<", "", ")", "{", "Size", "=", "", ";", "return", "MCDisassembler", "::", "Fail", ";", "}", "Insn", "=", "(", "Bytes", "[", "", "]", "<<", "", ")", "|", "(", "Bytes", "[", "", "]", "<<", "", ")", "|", "(", "Bytes", "[", "", "]", "<<", "", ")", "|", "(", "Bytes", "[", "", "]", "<<", "", ")", ";"], "ground_truth": ["return", "MCDisassembler", "::", "Success", ";"], "File": "FISCDisassembler", "Func": "readInstruction32", "Target": "FISC", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 135129, "Length": 86, "Cover_Rate": 0.9885057471264368} {"Template_token": ["", "return", "MCDisassembler", "::", "Fail", ";", "}"], "ground_truth": ["Insn", "=", "(", "Bytes", "[", "", "]", "<<", "", ")", "|", "(", "Bytes", "[", "", "]", "<<", "", ")", "|", "(", "Bytes", "[", "", "]", "<<", "", ")", "|", "(", "Bytes", "[", "", "]", "<<", "", ")", ";"], "File": "FISCDisassembler", "Func": "readInstruction32", "Target": "FISC", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 135130, "Length": 44, "Cover_Rate": 0.5057471264367817} {"Template_token": ["", "virtual", "~", "Disassembler", "(", ")", "{"], "ground_truth": ["}"], "File": "FISCDisassembler", "Func": "~FISCDisassembler", "Target": "FISC", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 135131, "Length": 7, "Cover_Rate": 1.0} {"Template_token": ["", "virtual", "~", "Disassembler", "(", ")", "{"], "ground_truth": ["}"], "File": "FISCDisassembler", "Func": "~FISCDisassembler", "Target": "FISC", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 135132, "Length": 7, "Cover_Rate": 1.0} {"Template_token": ["", "MCObjectWriter", "*", "llvm", "::", "createELFObjectWriter", "(", "raw_pwrite_stream", "&", "OS", ",", "uint8_t", "OSABI", ")", "{", "MCELFObjectTargetWriter", "*", "MOTW", "=", "new", "ELFObjectWriter", "(", "OSABI", ")", ";"], "ground_truth": ["return", "createELFObjectWriter", "(", "MOTW", ",", "OS", ",", "false", ")", ";"], "File": "FISCELFObjectWriter", "Func": "createFISCELFObjectWriter", "Target": "FISC", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 135133, "Length": 34, "Cover_Rate": 0.9714285714285714} {"Template_token": ["", "return", "createELFObjectWriter", "(", "MOTW", ",", "OS", ",", "false", ")", ";"], "ground_truth": ["}"], "File": "FISCELFObjectWriter", "Func": "createFISCELFObjectWriter", "Target": "FISC", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 135134, "Length": 11, "Cover_Rate": 0.3142857142857143} {"Template_token": ["", "ELFObjectWriter", "::", "ELFObjectWriter", "(", "uint8_t", "OSABI", ")", ":", "MCELFObjectTargetWriter", "(", "true", ",", "OSABI", ",", "ELF", "::", "EM_", ",", "false", ")", "{"], "ground_truth": ["}"], "File": "FISCELFObjectWriter", "Func": "FISCELFObjectWriter", "Target": "FISC", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 135135, "Length": 22, "Cover_Rate": 1.0} {"Template_token": ["", "ELFObjectWriter", "::", "ELFObjectWriter", "(", "uint8_t", "OSABI", ")", ":", "MCELFObjectTargetWriter", "(", "true", ",", "OSABI", ",", "ELF", "::", "EM_", ",", "false", ")", "{"], "ground_truth": ["}"], "File": "FISCELFObjectWriter", "Func": "FISCELFObjectWriter", "Target": "FISC", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 135136, "Length": 22, "Cover_Rate": 1.0} {"Template_token": ["", "llvm_unreachable", "(", "", ")", ";", "case", "", ":", "Type", "=", "ELF", "::", "R__MOV_Q1", ";", "break", ";", "case", "", ":", "Type", "=", "ELF", "::", "R__MOV_Q2", ";", "break", ";", "case", "", ":", "Type", "=", "ELF", "::", "R__MOV_Q3", ";", "break", ";", "case", "", ":", "Type", "=", "ELF", "::", "R__MOV_Q4", ";", "break", ";", "case", "", ":", "Type", "=", "ELF", "::", "R__CALL26", ";", "break", ";", "case", "", ":", "Type", "=", "ELF", "::", "R__CALL19", ";", "break", ";", "case", "", ":", "Type", "=", "ELF", "::", "R__9_ADDRESS", ";", "break", ";", "case", "", ":", "Type", "=", "ELF", "::", "R__6_SHAMT", ";", "break", ";", "case", "", ":"], "ground_truth": ["Type", "=", "ELF", "::", "R__12_IMM", ";"], "File": "FISCELFObjectWriter", "Func": "GetRelocType", "Target": "FISC", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 135137, "Length": 102, "Cover_Rate": 0.5396825396825397} {"Template_token": ["", "ELFObjectWriter", "::", "~", "ELFObjectWriter", "(", ")", "{"], "ground_truth": ["}"], "File": "FISCELFObjectWriter", "Func": "~FISCELFObjectWriter", "Target": "FISC", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 135138, "Length": 8, "Cover_Rate": 1.0} {"Template_token": ["", "ELFObjectWriter", "::", "~", "ELFObjectWriter", "(", ")", "{"], "ground_truth": ["}"], "File": "FISCELFObjectWriter", "Func": "~FISCELFObjectWriter", "Target": "FISC", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 135139, "Length": 8, "Cover_Rate": 1.0} {"Template_token": ["", "MachineFrameInfo", "*", "MFI", "=", "MF", ".", "getFrameInfo", "(", ")", ";", "uint64_t", "StackSize", "=", "MFI", "->", "getStackSize", "(", ")", ";", "unsigned", "StackAlign", "=", "getStackAlignment", "(", ")", ";", "if", "(", "StackAlign", ">", "", ")", "StackSize", "=", "RoundUpToAlignment", "(", "StackSize", ",", "StackAlign", ")", ";", "return", "StackSize", ";"], "ground_truth": ["}"], "File": "FISCFrameLowering", "Func": "computeStackSize", "Target": "FISC", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 135140, "Length": 45, "Cover_Rate": 0.8035714285714286} {"Template_token": ["", "if", "(", "StackAlign", ">", "", ")", "StackSize", "=", "RoundUpToAlignment", "(", "StackSize", ",", "StackAlign", ")", ";", "return", "StackSize", ";"], "ground_truth": ["}"], "File": "FISCFrameLowering", "Func": "computeStackSize", "Target": "FISC", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 135141, "Length": 19, "Cover_Rate": 0.3392857142857143} {"Template_token": ["", "void", "FrameLowering", "::", "eliminateCallFramePseudoInstr", "(", "MachineFunction", "&", "MF", ",", "MachineBasicBlock", "&", "MBB", ",", "MachineBasicBlock", "::", "iterator", "I", ")", "const", "{"], "ground_truth": ["if", "(", "I", "->", "getOpcode", "(", ")", "==", "", "||", "I", "->", "getOpcode", "(", ")", "==", "", ")", "MBB", ".", "erase", "(", "I", ")", ";"], "File": "FISCFrameLowering", "Func": "eliminateCallFramePseudoInstr", "Target": "FISC", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 135142, "Length": 45, "Cover_Rate": 0.9} {"Template_token": ["", "if", "(", "!", "StackSize", ")", "return", ";", "unsigned", "StackReg", "=", "", ";", "unsigned", "OffsetReg", "=", "materializeOffset", "(", "MF", ",", "MBB", ",", "MBBI", ",", "(", "unsigned", ")", "StackSize", ")", ";", "if", "(", "OffsetReg", ")", "{", "BuildMI", "(", "MBB", ",", "MBBI", ",", "dl", ",", "TII", ".", "get", "(", "", ")", ",", "StackReg", ")", ".", "addReg", "(", "StackReg", ")", ".", "addReg", "(", "OffsetReg", ")", ".", "setMIFlag", "(", "MachineInstr", "::", "FrameSetup", ")", ";", "}", "else", "{"], "ground_truth": ["BuildMI", "(", "MBB", ",", "MBBI", ",", "dl", ",", "TII", ".", "get", "(", "", ")", ",", "StackReg", ")", ".", "addReg", "(", "StackReg", ")", ".", "addImm", "(", "StackSize", ")", ".", "setMIFlag", "(", "MachineInstr", "::", "FrameSetup", ")", ";"], "File": "FISCFrameLowering", "Func": "emitEpilogue", "Target": "FISC", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 135144, "Length": 107, "Cover_Rate": 0.6149425287356322} {"Template_token": ["", "unsigned", "StackReg", "=", "", ";", "unsigned", "OffsetReg", "=", "materializeOffset", "(", "MF", ",", "MBB", ",", "MBBI", ",", "(", "unsigned", ")", "StackSize", ")", ";", "if", "(", "OffsetReg", ")", "{", "BuildMI", "(", "MBB", ",", "MBBI", ",", "dl", ",", "TII", ".", "get", "(", "", ")", ",", "StackReg", ")", ".", "addReg", "(", "StackReg", ")", ".", "addReg", "(", "OffsetReg", ")", ".", "setMIFlag", "(", "MachineInstr", "::", "FrameSetup", ")", ";", "}", "else", "{", "BuildMI", "(", "MBB", ",", "MBBI", ",", "dl", ",", "TII", ".", "get", "(", "", ")", ",", "StackReg", ")", ".", "addReg", "(", "StackReg", ")", ".", "addImm", "(", "StackSize", ")", ".", "setMIFlag", "(", "MachineInstr", "::", "FrameSetup", ")", ";"], "ground_truth": ["}"], "File": "FISCFrameLowering", "Func": "emitEpilogue", "Target": "FISC", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 135145, "Length": 101, "Cover_Rate": 0.5804597701149425} {"Template_token": ["", "void", "FrameLowering", "::", "emitPrologue", "(", "MachineFunction", "&", "MF", ",", "MachineBasicBlock", "&", "MBB", ")", "const", "{", "const", "TargetInstrInfo", "&", "TII", "=", "*", "MF", ".", "getSubtarget", "(", ")", ".", "getInstrInfo", "(", ")", ";", "MachineBasicBlock", "::", "iterator", "MBBI", "=", "MBB", ".", "begin", "(", ")", ";", "DebugLoc", "dl", "=", "MBBI", "!=", "MBB", ".", "end", "(", ")", "?", "MBBI", "->", "getDebugLoc", "(", ")", ":", "DebugLoc", "(", ")", ";", "uint64_t", "StackSize", "=", "computeStackSize", "(", "MF", ")", ";", "if", "(", "!", "StackSize", ")", "return", ";", "unsigned", "StackReg", "=", "", ";", "unsigned", "OffsetReg", "=", "materializeOffset", "(", "MF", ",", "MBB", ",", "MBBI", ",", "(", "unsigned", ")", "StackSize", ")", ";", "if", "(", "OffsetReg", ")", "{", "BuildMI", "(", "MBB", ",", "MBBI", ",", "dl", ",", "TII", ".", "get", "(", "", ")", ",", "StackReg", ")", ".", "addReg", "(", "StackReg", ")", ".", "addReg", "(", "OffsetReg", ")", ".", "setMIFlag", "(", "MachineInstr", "::", "FrameSetup", ")", ";", "}", "else", "{"], "ground_truth": ["BuildMI", "(", "MBB", ",", "MBBI", ",", "dl", ",", "TII", ".", "get", "(", "", ")", ",", "StackReg", ")", ".", "addReg", "(", "StackReg", ")", ".", "addImm", "(", "StackSize", ")", ".", "setMIFlag", "(", "MachineInstr", "::", "FrameSetup", ")", ";"], "File": "FISCFrameLowering", "Func": "emitPrologue", "Target": "FISC", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 135146, "Length": 178, "Cover_Rate": 0.956989247311828} {"Template_token": ["", "if", "(", "!", "StackSize", ")", "return", ";", "unsigned", "StackReg", "=", "", ";", "unsigned", "OffsetReg", "=", "materializeOffset", "(", "MF", ",", "MBB", ",", "MBBI", ",", "(", "unsigned", ")", "StackSize", ")", ";", "if", "(", "OffsetReg", ")", "{", "BuildMI", "(", "MBB", ",", "MBBI", ",", "dl", ",", "TII", ".", "get", "(", "", ")", ",", "StackReg", ")", ".", "addReg", "(", "StackReg", ")", ".", "addReg", "(", "OffsetReg", ")", ".", "setMIFlag", "(", "MachineInstr", "::", "FrameSetup", ")", ";"], "ground_truth": ["}", "else", "{"], "File": "FISCFrameLowering", "Func": "emitPrologue", "Target": "FISC", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 135147, "Length": 72, "Cover_Rate": 0.3870967741935484} {"Template_token": ["", "FrameLowering", "::", "FrameLowering", "(", ")", ":", "TargetFrameLowering", "(", "TargetFrameLowering", "::", "StackGrowsDown", ",", "", ",", "", ")", "{"], "ground_truth": ["}"], "File": "FISCFrameLowering", "Func": "FISCFrameLowering", "Target": "FISC", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 135148, "Length": 18, "Cover_Rate": 1.0} {"Template_token": ["", "FrameLowering", "::", "FrameLowering", "(", ")", ":", "TargetFrameLowering", "(", "TargetFrameLowering", "::", "StackGrowsDown", ",", "", ",", "", ")", "{"], "ground_truth": ["}"], "File": "FISCFrameLowering", "Func": "FISCFrameLowering", "Target": "FISC", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 135149, "Length": 18, "Cover_Rate": 1.0} {"Template_token": ["", "bool", "FrameLowering", "::", "hasFP", "(", "const", "MachineFunction", "&", "MF", ")", "const", "{", "return", "MF", ".", "getTarget", "(", ")", ".", "Options", ".", "DisableFramePointerElim", "(", "MF", ")", "||", "MF", ".", "getFrameInfo", "(", ")", "->", "hasVarSizedObjects", "(", ")", ";"], "ground_truth": ["}"], "File": "FISCFrameLowering", "Func": "hasFP", "Target": "FISC", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 135150, "Length": 37, "Cover_Rate": 1.0} {"Template_token": ["", "DebugLoc", "dl", "=", "MBBI", "!=", "MBB", ".", "end", "(", ")", "?", "MBBI", "->", "getDebugLoc", "(", ")", ":", "DebugLoc", "(", ")", ";", "const", "uint64_t", "MaxSubImm", "=", "", ";", "if", "(", "Offset", "<=", "MaxSubImm", ")", "{", "return", "", ";", "}", "else", "{", "unsigned", "OffsetReg", "=", "", ";", "unsigned", "OffsetQ1", "=", "(", "unsigned", ")", "(", "Offset", "&", "", ")", ";", "unsigned", "OffsetQ2", "=", "(", "unsigned", ")", "(", "(", "Offset", "&", "", ")", ">>", "", ")", ";", "unsigned", "OffsetQ3", "=", "(", "unsigned", ")", "(", "(", "Offset", "&", "", ")", ">>", "", ")", ";"], "ground_truth": ["unsigned", "OffsetQ4", "=", "(", "unsigned", ")", "(", "(", "Offset", "&", "", ")", ">>", "", ")", ";"], "File": "FISCFrameLowering", "Func": "materializeOffset", "Target": "FISC", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 135152, "Length": 105, "Cover_Rate": 0.3387096774193548} {"Template_token": ["", "const", "uint64_t", "MaxSubImm", "=", "", ";", "if", "(", "Offset", "<=", "MaxSubImm", ")", "{", "return", "", ";", "}", "else", "{", "unsigned", "OffsetReg", "=", "", ";", "unsigned", "OffsetQ1", "=", "(", "unsigned", ")", "(", "Offset", "&", "", ")", ";", "unsigned", "OffsetQ2", "=", "(", "unsigned", ")", "(", "(", "Offset", "&", "", ")", ">>", "", ")", ";", "unsigned", "OffsetQ3", "=", "(", "unsigned", ")", "(", "(", "Offset", "&", "", ")", ">>", "", ")", ";", "unsigned", "OffsetQ4", "=", "(", "unsigned", ")", "(", "(", "Offset", "&", "", ")", ">>", "", ")", ";", "BuildMI", "(", "MBB", ",", "MBBI", ",", "dl", ",", "TII", ".", "get", "(", "", ")", ",", "OffsetReg", ")", ".", "addImm", "(", "OffsetQ1", ")", ".", "setMIFlag", "(", "MachineInstr", "::", "FrameSetup", ")", ";", "if", "(", "OffsetQ2", ")", "{", "BuildMI", "(", "MBB", ",", "MBBI", ",", "dl", ",", "TII", ".", "get", "(", "", ")", ",", "OffsetReg", ")", ".", "addReg", "(", "OffsetReg", ")", ".", "addImm", "(", "OffsetQ2", ")", ".", "setMIFlag", "(", "MachineInstr", "::", "FrameSetup", ")", ";", "}", "if", "(", "OffsetQ3", ")", "{", "BuildMI", "(", "MBB", ",", "MBBI", ",", "dl", ",", "TII", ".", "get", "(", "", ")", ",", "OffsetReg", ")", ".", "addReg", "(", "OffsetReg", ")", ".", "addImm", "(", "OffsetQ3", ")", ".", "setMIFlag", "(", "MachineInstr", "::", "FrameSetup", ")", ";", "}", "if", "(", "OffsetQ4", ")", "{", "BuildMI", "(", "MBB", ",", "MBBI", ",", "dl", ",", "TII", ".", "get", "(", "", ")", ",", "OffsetReg", ")", ".", "addReg", "(", "OffsetReg", ")", ".", "addImm", "(", "OffsetQ4", ")", ".", "setMIFlag", "(", "MachineInstr", "::", "FrameSetup", ")", ";", "}", "return", "OffsetReg", ";"], "ground_truth": ["}"], "File": "FISCFrameLowering", "Func": "materializeOffset", "Target": "FISC", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 135153, "Length": 241, "Cover_Rate": 0.7774193548387097} {"Template_token": ["", "static", "int", "stackSlotSize", "(", ")", "{"], "ground_truth": ["return", "", ";"], "File": "FISCFrameLowering", "Func": "stackSlotSize", "Target": "FISC", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 135154, "Length": 9, "Cover_Rate": 0.9} {"Template_token": ["", "static", "int", "stackSlotSize", "(", ")", "{", "return", "", ";"], "ground_truth": ["}"], "File": "FISCFrameLowering", "Func": "stackSlotSize", "Target": "FISC", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 135155, "Length": 10, "Cover_Rate": 1.0} {"Template_token": ["", "InstPrinter", "(", "const", "MCAsmInfo", "&", "MAI", ",", "const", "MCInstrInfo", "&", "MII", ",", "const", "MCRegisterInfo", "&", "MRI", ")", ":", "MCInstPrinter", "(", "MAI", ",", "MII", ",", "MRI", ")", "{"], "ground_truth": ["}"], "File": "FISCInstPrinter", "Func": "FISCInstPrinter", "Target": "FISC", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 135156, "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": "FISCInstPrinter", "Func": "FISCInstPrinter", "Target": "FISC", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 135157, "Length": 28, "Cover_Rate": 1.0} {"Template_token": ["", "case", "", ":", "return", "", ";", "case", "", ":", "return", "", ";", "case", "", ":", "return", "", ";", "case", "", ":", "return", "", ";", "case", "", ":"], "ground_truth": ["return", "", ";"], "File": "FISCInstPrinter", "Func": "FISC_condCodeToString", "Target": "FISC", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 135158, "Length": 30, "Cover_Rate": 0.46875} {"Template_token": ["", "return", "", ";", "case", "", ":", "return", "", ";", "case", "", ":", "return", "", ";", "case", "", ":", "return", "", ";", "case", "", ":", "return", "", ";", "}"], "ground_truth": ["}"], "File": "FISCInstPrinter", "Func": "FISC_condCodeToString", "Target": "FISC", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 135159, "Length": 29, "Cover_Rate": 0.453125} {"Template_token": ["", "static", "std", "::", "string", "_ez_int2hex", "(", "int64_t", "val", ")", "{", "std", "::", "stringstream", "stream", ";"], "ground_truth": ["stream", "<<", "std", "::", "hex", "<<", "val", ";"], "File": "FISCInstPrinter", "Func": "FISC_ez_int2hex", "Target": "FISC", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 135160, "Length": 23, "Cover_Rate": 0.7419354838709677} {"Template_token": ["", "std", "::", "stringstream", "stream", ";", "stream", "<<", "std", "::", "hex", "<<", "val", ";"], "ground_truth": ["return", "stream", ".", "str", "(", ")", ";"], "File": "FISCInstPrinter", "Func": "FISC_ez_int2hex", "Target": "FISC", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 135161, "Length": 20, "Cover_Rate": 0.6451612903225806} {"Template_token": ["", "O", "<<", "", ";", "printRegName", "(", "O", ",", "Op1", ".", "getReg", "(", ")", ")", ";", "unsigned", "Offset", "=", "Op2", ".", "getImm", "(", ")", ";"], "ground_truth": ["O", "<<", "", "<<", "_ez_int2hex", "(", "Offset", ")", "<<", "", ";"], "File": "FISCInstPrinter", "Func": "printAddrModeMemSrc", "Target": "FISC", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 135162, "Length": 35, "Cover_Rate": 0.4375} {"Template_token": ["", "", "CC", "=", "(", "", ")", "Op", ".", "getImm", "(", ")", ";", "const", "char", "*", "Str", "=", "_condCodeToString", "(", "CC", ")", ";"], "ground_truth": ["O", "<<", "Str", ";"], "File": "FISCInstPrinter", "Func": "printCondCode", "Target": "FISC", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 135163, "Length": 26, "Cover_Rate": 0.4262295081967213} {"Template_token": ["", "", "CC", "=", "(", "", ")", "Op", ".", "getImm", "(", ")", ";"], "ground_truth": ["const", "char", "*", "Str", "=", "_condCodeToString", "(", "CC", ")", ";"], "File": "FISCInstPrinter", "Func": "printCondCode", "Target": "FISC", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 135164, "Length": 22, "Cover_Rate": 0.36065573770491804} {"Template_token": ["", "const", "MCConstantExpr", "*", "CE", "=", "dyn_cast", "<", "MCConstantExpr", ">", "(", "BE", "->", "getRHS", "(", ")", ")", ";", "assert", "(", "SRE", "&&", "CE", "&&", "", ")", ";", "Offset", "=", "CE", "->", "getValue", "(", ")", ";", "}", "else", "{", "SRE", "=", "dyn_cast", "<", "MCSymbolRefExpr", ">", "(", "Expr", ")", ";", "assert", "(", "SRE", "&&", "", ")", ";", "}", "const", "MCSymbolRefExpr", "::", "VariantKind", "Kind", "=", "SRE", "->", "getKind", "(", ")", ";", "switch", "(", "Kind", ")", "{", "case", "MCSymbolRefExpr", "::", "VK_None", ":", "break", ";", "case", "MCSymbolRefExpr", "::", "VK__Q1", ":", "OS", "<<", "", ";", "break", ";", "case", "MCSymbolRefExpr", "::", "VK__Q2", ":", "OS", "<<", "", ";", "break", ";", "case", "MCSymbolRefExpr", "::", "VK__Q3", ":", "OS", "<<", "", ";", "break", ";", "case", "MCSymbolRefExpr", "::", "VK__Q4", ":", "OS", "<<", "", ";", "break", ";", "case", "MCSymbolRefExpr", "::", "VK__CALL26", ":", "OS", "<<", "", ";", "break", ";", "case", "MCSymbolRefExpr", "::", "VK__CALL19", ":", "OS", "<<", "", ";", "break", ";", "case", "MCSymbolRefExpr", "::", "VK__9BIT", ":", "OS", "<<", "", ";", "break", ";", "case", "MCSymbolRefExpr", "::", "VK__6BIT", ":", "OS", "<<", "", ";", "break", ";", "case", "MCSymbolRefExpr", "::", "VK__12BIT", ":", "OS", "<<", "", ";", "break", ";", "case", "MCSymbolRefExpr", "::", "VK__MOVRZ", ":", "OS", "<<", "", ";", "break", ";", "default", ":", "{", "std", "::", "string", "msg", "=", "", "+", "std", "::", "to_string", "(", "Kind", ")", "+", "", ";", "llvm_unreachable", "(", "msg", ".", "c_str", "(", ")", ")", ";", "}", "}", "OS", "<<", "SRE", "->", "getSymbol", "(", ")", ";", "if", "(", "Offset", ")", "{", "if", "(", "Offset", ">", "", ")", "OS", "<<", "'+'", ";"], "ground_truth": ["OS", "<<", "_ez_int2hex", "(", "Offset", ")", ";"], "File": "FISCInstPrinter", "Func": "printExpr", "Target": "FISC", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 135165, "Length": 249, "Cover_Rate": 0.7955271565495208} {"Template_token": ["", "void", "InstPrinter", "::", "printInst", "(", "const", "MCInst", "*", "MI", ",", "raw_ostream", "&", "O", ",", "StringRef", "Annot", ",", "const", "MCSubtargetInfo", "&", "STI", ")", "{", "printInstruction", "(", "MI", ",", "O", ")", ";"], "ground_truth": ["printAnnotation", "(", "O", ",", "Annot", ")", ";"], "File": "FISCInstPrinter", "Func": "printInst", "Target": "FISC", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 135166, "Length": 37, "Cover_Rate": 0.9736842105263158} {"Template_token": ["", "std", "::", "string", "lsl_str", "=", "", ";", "if", "(", "(", "MI", "->", "getOpcode", "(", ")", "==", "", "||", "MI", "->", "getOpcode", "(", ")", "==", "", "||", "MI", "->", "getOpcode", "(", ")", "==", "", "||", "MI", "->", "getOpcode", "(", ")", "==", "", ")", "&&", "OpNo", "==", "", ")", "lsl_str", "=", "", ";"], "ground_truth": ["O", "<<", "lsl_str", "<<", "", "<<", "_ez_int2hex", "(", "Op", ".", "getImm", "(", ")", ")", ";"], "File": "FISCInstPrinter", "Func": "printOperand", "Target": "FISC", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 135167, "Length": 66, "Cover_Rate": 0.4074074074074074} {"Template_token": ["", "if", "(", "(", "MI", "->", "getOpcode", "(", ")", "==", "", "||", "MI", "->", "getOpcode", "(", ")", "==", "", "||", "MI", "->", "getOpcode", "(", ")", "==", "", "||", "MI", "->", "getOpcode", "(", ")", "==", "", ")", "&&", "OpNo", "==", "", ")", "lsl_str", "=", "", ";", "O", "<<", "lsl_str", "<<", "", "<<", "_ez_int2hex", "(", "Op", ".", "getImm", "(", ")", ")", ";"], "ground_truth": ["return", ";"], "File": "FISCInstPrinter", "Func": "printOperand", "Target": "FISC", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 135168, "Length": 61, "Cover_Rate": 0.3765432098765432} {"Template_token": ["", "void", "InstPrinter", "::", "printRegName", "(", "raw_ostream", "&", "OS", ",", "unsigned", "RegNo", ")", "const", "{", "OS", "<<", "StringRef", "(", "getRegisterName", "(", "RegNo", ")", ")", ".", "lower", "(", ")", ";"], "ground_truth": ["}"], "File": "FISCInstPrinter", "Func": "printRegName", "Target": "FISC", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 135169, "Length": 29, "Cover_Rate": 1.0} {"Template_token": ["", "OS", "<<", "StringRef", "(", "getRegisterName", "(", "RegNo", ")", ")", ".", "lower", "(", ")", ";"], "ground_truth": ["}"], "File": "FISCInstPrinter", "Func": "printRegName", "Target": "FISC", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 135170, "Length": 15, "Cover_Rate": 0.5172413793103449} {"Template_token": ["", "if", "(", "MI", ".", "getOpcode", "(", ")", "==", "", ")", "{", "MachineBasicBlock", "*", "TargetBB", "=", "MI", ".", "getOperand", "(", "", ")", ".", "getMBB", "(", ")", ";", "if", "(", "HasCondBranch", ")", "FBB", "=", "TargetBB", ";", "else", "TBB", "=", "TargetBB", ";", "}", "else", "if", "(", "MI", ".", "getOpcode", "(", ")", "==", "", ")", "{", "MachineBasicBlock", "*", "TargetBB", "=", "MI", ".", "getOperand", "(", "", ")", ".", "getMBB", "(", ")", ";", "TBB", "=", "TargetBB", ";"], "ground_truth": ["Cond", ".", "push_back", "(", "MI", ".", "getOperand", "(", "", ")", ")", ";"], "File": "FISCInstrInfo", "Func": "AnalyzeBranch", "Target": "FISC", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 135171, "Length": 83, "Cover_Rate": 0.5533333333333333} {"Template_token": ["", "bool", "HasCondBranch", "=", "false", ";", "TBB", "=", "nullptr", ";", "FBB", "=", "nullptr", ";", "for", "(", "MachineInstr", "&", "MI", ":", "MBB", ")", "{", "if", "(", "MI", ".", "getOpcode", "(", ")", "==", "", ")", "{"], "ground_truth": ["MachineBasicBlock", "*", "TargetBB", "=", "MI", ".", "getOperand", "(", "", ")", ".", "getMBB", "(", ")", ";"], "File": "FISCInstrInfo", "Func": "AnalyzeBranch", "Target": "FISC", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 135172, "Length": 48, "Cover_Rate": 0.32} {"Template_token": ["", "void", "InstrInfo", "::", "anchor", "(", ")", "{"], "ground_truth": ["}"], "File": "FISCInstrInfo", "Func": "anchor", "Target": "FISC", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 135173, "Length": 8, "Cover_Rate": 1.0} {"Template_token": ["", "void", "InstrInfo", "::", "anchor", "(", ")", "{"], "ground_truth": ["}"], "File": "FISCInstrInfo", "Func": "anchor", "Target": "FISC", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 135174, "Length": 8, "Cover_Rate": 1.0} {"Template_token": ["", "void", "InstrInfo", "::", "copyPhysReg", "(", "MachineBasicBlock", "&", "MBB", ",", "MachineBasicBlock", "::", "iterator", "I", ",", "DebugLoc", "DL", ",", "unsigned", "DestReg", ",", "unsigned", "SrcReg", ",", "bool", "KillSrc", ")", "const", "{", "BuildMI", "(", "MBB", ",", "I", ",", "I", "->", "getDebugLoc", "(", ")", ",", "get", "(", "", ")", ",", "DestReg", ")", ".", "addReg", "(", "SrcReg", ",", "getKillRegState", "(", "KillSrc", ")", ")", ";"], "ground_truth": ["}"], "File": "FISCInstrInfo", "Func": "copyPhysReg", "Target": "FISC", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 135175, "Length": 59, "Cover_Rate": 0.9672131147540983} {"Template_token": ["", "void", "InstrInfo", "::", "copyPhysReg", "(", "MachineBasicBlock", "&", "MBB", ",", "MachineBasicBlock", "::", "iterator", "I", ",", "DebugLoc", "DL", ",", "unsigned", "DestReg", ",", "unsigned", "SrcReg", ",", "bool", "KillSrc", ")", "const", "{", "BuildMI", "(", "MBB", ",", "I", ",", "I", "->", "getDebugLoc", "(", ")", ",", "get", "(", "", ")", ",", "DestReg", ")", ".", "addReg", "(", "SrcReg", ",", "getKillRegState", "(", "KillSrc", ")", ")", ";"], "ground_truth": ["}"], "File": "FISCInstrInfo", "Func": "copyPhysReg", "Target": "FISC", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 135176, "Length": 59, "Cover_Rate": 0.9672131147540983} {"Template_token": ["", "case", "", ":", "{", "DebugLoc", "DL", "=", "MI", "->", "getDebugLoc", "(", ")", ";", "MachineBasicBlock", "&", "MBB", "=", "*", "MI", "->", "getParent", "(", ")", ";", "const", "unsigned", "DstReg", "=", "MI", "->", "getOperand", "(", "", ")", ".", "getReg", "(", ")", ";", "const", "bool", "DstIsDead", "=", "MI", "->", "getOperand", "(", "", ")", ".", "isDead", "(", ")", ";", "const", "MachineOperand", "&", "MO", "=", "MI", "->", "getOperand", "(", "", ")", ";", "auto", "Q1", "=", "BuildMI", "(", "MBB", ",", "MI", ",", "DL", ",", "get", "(", "", ")", ",", "DstReg", ")", ";", "auto", "Q2", "=", "BuildMI", "(", "MBB", ",", "MI", ",", "DL", ",", "get", "(", "", ")", ")", ".", "addReg", "(", "DstReg", ",", "RegState", "::", "Define", "|", "getDeadRegState", "(", "DstIsDead", ")", ")", ".", "addReg", "(", "DstReg", ")", ";", "auto", "Q3", "=", "BuildMI", "(", "MBB", ",", "MI", ",", "DL", ",", "get", "(", "", ")", ")", ".", "addReg", "(", "DstReg", ",", "RegState", "::", "Define", "|", "getDeadRegState", "(", "DstIsDead", ")", ")", ".", "addReg", "(", "DstReg", ")", ";", "auto", "Q4", "=", "BuildMI", "(", "MBB", ",", "MI", ",", "DL", ",", "get", "(", "", ")", ")", ".", "addReg", "(", "DstReg", ",", "RegState", "::", "Define", "|", "getDeadRegState", "(", "DstIsDead", ")", ")", ".", "addReg", "(", "DstReg", ")", ";", "if", "(", "MO", ".", "isImm", "(", ")", ")", "{", "const", "uint64_t", "Imm", "=", "MO", ".", "getImm", "(", ")", ";", "Q1", "=", "Q1", ".", "addImm", "(", "Imm", "&", "", ")", ".", "addImm", "(", "", ")", ";", "Q2", "=", "Q2", ".", "addImm", "(", "(", "Imm", ">>", "", ")", "&", "", ")", ".", "addImm", "(", "", ")", ";", "Q3", "=", "Q3", ".", "addImm", "(", "(", "Imm", ">>", "", ")", "&", "", ")", ".", "addImm", "(", "", ")", ";", "Q4", "=", "Q4", ".", "addImm", "(", "(", "Imm", ">>", "", ")", "&", "", ")", ".", "addImm", "(", "", ")", ";"], "ground_truth": ["}", "else", "{"], "File": "FISCInstrInfo", "Func": "expandPostRAPseudo", "Target": "FISC", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 135177, "Length": 291, "Cover_Rate": 0.6353711790393013} {"Template_token": ["", "InstrInfo", "::", "InstrInfo", "(", ")", ":", "GenInstrInfo", "(", "", ",", "", ")", ",", "RI", "(", ")", "{"], "ground_truth": ["}"], "File": "FISCInstrInfo", "Func": "FISCInstrInfo", "Target": "FISC", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 135178, "Length": 18, "Cover_Rate": 0.8181818181818182} {"Template_token": ["", "InstrInfo", "::", "InstrInfo", "(", ")", ":", "GenInstrInfo", "(", "", ",", "", ")", ",", "RI", "(", ")", "{"], "ground_truth": ["}"], "File": "FISCInstrInfo", "Func": "FISCInstrInfo", "Target": "FISC", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 135179, "Length": 18, "Cover_Rate": 0.8181818181818182} {"Template_token": ["", "const", "MachineFunction", "*", "MF", "=", "MI", ".", "getParent", "(", ")", "->", "getParent", "(", ")", ";"], "ground_truth": ["const", "char", "*", "AsmStr", "=", "MI", ".", "getOperand", "(", "", ")", ".", "getSymbolName", "(", ")", ";"], "File": "FISCInstrInfo", "Func": "GetInstSizeInBytes", "Target": "FISC", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 135180, "Length": 31, "Cover_Rate": 0.34065934065934067} {"Template_token": ["", "const", "RegisterInfo", "&", "getRegisterInfo", "(", ")", "const", "{"], "ground_truth": ["return", "RI", ";"], "File": "FISCInstrInfo", "Func": "getRegisterInfo", "Target": "FISC", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 135181, "Length": 11, "Cover_Rate": 0.9166666666666666} {"Template_token": ["", "const", "RegisterInfo", "&", "getRegisterInfo", "(", ")", "const", "{"], "ground_truth": ["return", "RI", ";"], "File": "FISCInstrInfo", "Func": "getRegisterInfo", "Target": "FISC", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 135182, "Length": 11, "Cover_Rate": 0.9166666666666666} {"Template_token": ["", "unsigned", "InstrInfo", "::", "InsertBranch", "(", "MachineBasicBlock", "&", "MBB", ",", "MachineBasicBlock", "*", "TBB", ",", "MachineBasicBlock", "*", "FBB", ",", "ArrayRef", "<", "MachineOperand", ">", "Cond", ",", "DebugLoc", "DL", ")", "const", "{", "unsigned", "NumInserted", "=", "", ";", "if", "(", "Cond", ".", "size", "(", ")", ">", "", ")", "{", "BuildMI", "(", "MBB", ",", "MBB", ".", "end", "(", ")", ",", "DL", ",", "get", "(", "", ")", ")", ".", "addOperand", "(", "Cond", "[", "", "]", ")", ".", "addMBB", "(", "TBB", ")", ";", "NumInserted", "++", ";", "}", "if", "(", "Cond", ".", "empty", "(", ")", "||", "FBB", ")", "{", "BuildMI", "(", "MBB", ",", "MBB", ".", "end", "(", ")", ",", "DL", ",", "get", "(", "", ")", ")", ".", "addMBB", "(", "Cond", ".", "empty", "(", ")", "?", "TBB", ":", "FBB", ")", ";", "NumInserted", "++", ";"], "ground_truth": ["}"], "File": "FISCInstrInfo", "Func": "InsertBranch", "Target": "FISC", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 135183, "Length": 125, "Cover_Rate": 0.9398496240601504} {"Template_token": ["", "unsigned", "InstrInfo", "::", "isLoadFromStackSlot", "(", "const", "MachineInstr", "*", "MI", ",", "int", "&", "FrameIndex", ")", "const", "{"], "ground_truth": ["return", "", ";"], "File": "FISCInstrInfo", "Func": "isLoadFromStackSlot", "Target": "FISC", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 135184, "Length": 19, "Cover_Rate": 0.95} {"Template_token": ["", "unsigned", "InstrInfo", "::", "isLoadFromStackSlot", "(", "const", "MachineInstr", "*", "MI", ",", "int", "&", "FrameIndex", ")", "const", "{"], "ground_truth": ["return", "", ";"], "File": "FISCInstrInfo", "Func": "isLoadFromStackSlot", "Target": "FISC", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 135185, "Length": 19, "Cover_Rate": 0.95} {"Template_token": ["", "unsigned", "InstrInfo", "::", "isStoreToStackSlot", "(", "const", "MachineInstr", "*", "MI", ",", "int", "&", "FrameIndex", ")", "const", "{"], "ground_truth": ["return", "", ";"], "File": "FISCInstrInfo", "Func": "isStoreToStackSlot", "Target": "FISC", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 135187, "Length": 19, "Cover_Rate": 0.95} {"Template_token": ["", "BuildMI", "(", "MBB", ",", "I", ",", "I", "->", "getDebugLoc", "(", ")", ",", "get", "(", "", ")", ",", "DestReg", ")", ".", "addFrameIndex", "(", "FrameIndex", ")", ".", "addImm", "(", "", ")", ";"], "ground_truth": ["}"], "File": "FISCInstrInfo", "Func": "loadRegFromStackSlot", "Target": "FISC", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 135188, "Length": 31, "Cover_Rate": 0.47692307692307695} {"Template_token": ["", "void", "InstrInfo", "::", "loadRegFromStackSlot", "(", "MachineBasicBlock", "&", "MBB", ",", "MachineBasicBlock", "::", "iterator", "I", ",", "unsigned", "DestReg", ",", "int", "FrameIndex", ",", "const", "TargetRegisterClass", "*", "RC", ",", "const", "TargetRegisterInfo", "*", "TRI", ")", "const", "{", "BuildMI", "(", "MBB", ",", "I", ",", "I", "->", "getDebugLoc", "(", ")", ",", "get", "(", "", ")", ",", "DestReg", ")", ".", "addFrameIndex", "(", "FrameIndex", ")", ".", "addImm", "(", "", ")", ";"], "ground_truth": ["}"], "File": "FISCInstrInfo", "Func": "loadRegFromStackSlot", "Target": "FISC", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 135189, "Length": 63, "Cover_Rate": 0.9692307692307692} {"Template_token": ["", "unsigned", "InstrInfo", "::", "RemoveBranch", "(", "MachineBasicBlock", "&", "MBB", ")", "const", "{", "if", "(", "MBB", ".", "empty", "(", ")", ")", "return", "", ";", "unsigned", "NumRemoved", "=", "", ";", "auto", "I", "=", "MBB", ".", "end", "(", ")", ";", "do", "{", "--", "I", ";"], "ground_truth": ["unsigned", "Opc", "=", "I", "->", "getOpcode", "(", ")", ";"], "File": "FISCInstrInfo", "Func": "RemoveBranch", "Target": "FISC", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 135190, "Length": 50, "Cover_Rate": 0.4807692307692308} {"Template_token": ["", "BuildMI", "(", "MBB", ",", "I", ",", "I", "->", "getDebugLoc", "(", ")", ",", "get", "(", "", ")", ")", ".", "addReg", "(", "SrcReg", ",", "getKillRegState", "(", "isKill", ")", ")", ".", "addFrameIndex", "(", "FrameIndex", ")", ".", "addImm", "(", "", ")", ";"], "ground_truth": ["}"], "File": "FISCInstrInfo", "Func": "storeRegToStackSlot", "Target": "FISC", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 135191, "Length": 39, "Cover_Rate": 0.5131578947368421} {"Template_token": ["", "void", "InstrInfo", "::", "storeRegToStackSlot", "(", "MachineBasicBlock", "&", "MBB", ",", "MachineBasicBlock", "::", "iterator", "I", ",", "unsigned", "SrcReg", ",", "bool", "isKill", ",", "int", "FrameIndex", ",", "const", "TargetRegisterClass", "*", "RC", ",", "const", "TargetRegisterInfo", "*", "TRI", ")", "const", "{", "BuildMI", "(", "MBB", ",", "I", ",", "I", "->", "getDebugLoc", "(", ")", ",", "get", "(", "", ")", ")", ".", "addReg", "(", "SrcReg", ",", "getKillRegState", "(", "isKill", ")", ")", ".", "addFrameIndex", "(", "FrameIndex", ")", ".", "addImm", "(", "", ")", ";"], "ground_truth": ["}"], "File": "FISCInstrInfo", "Func": "storeRegToStackSlot", "Target": "FISC", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 135192, "Length": 74, "Cover_Rate": 0.9736842105263158} {"Template_token": ["", "SDValue", "SD_ImmQ2", "=", "CurDAG", "->", "getTargetConstant", "(", "ImmQ2", ",", "N", ",", "", ")", ";", "Move", "=", "CurDAG", "->", "getMachineNode", "(", "", ",", "N", ",", "", ",", "SD_ImmQ2", ",", "CurDAG", "->", "getTargetConstant", "(", "", ",", "N", ",", "", ")", ",", "SDValue", "(", "Move", ",", "", ")", ")", ";", "}", "if", "(", "ImmQ3", ")", "{", "SDValue", "SD_ImmQ3", "=", "CurDAG", "->", "getTargetConstant", "(", "ImmQ3", ",", "N", ",", "", ")", ";", "Move", "=", "CurDAG", "->", "getMachineNode", "(", "", ",", "N", ",", "", ",", "SD_ImmQ3", ",", "CurDAG", "->", "getTargetConstant", "(", "", ",", "N", ",", "", ")", ",", "SDValue", "(", "Move", ",", "", ")", ")", ";", "}"], "ground_truth": ["if", "(", "ImmQ4", ")", "{"], "File": "FISCISelDAGToDAG", "Func": "ConstantToRegisterExpand", "Target": "FISC", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 135193, "Length": 106, "Cover_Rate": 0.3419354838709677} {"Template_token": ["", "return", "new", "DAGToDAGISel", "(", "TM", ",", "OptLevel", ")", ";"], "ground_truth": ["}"], "File": "FISCISelDAGToDAG", "Func": "createFISCISelDag", "Target": "FISC", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 135194, "Length": 10, "Cover_Rate": 0.38461538461538464} {"Template_token": ["", "FunctionPass", "*", "llvm", "::", "createISelDag", "(", "TargetMachine", "&", "TM", ",", "CodeGenOpt", "::", "Level", "OptLevel", ")", "{", "return", "new", "DAGToDAGISel", "(", "TM", ",", "OptLevel", ")", ";"], "ground_truth": ["}"], "File": "FISCISelDAGToDAG", "Func": "createFISCISelDag", "Target": "FISC", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 135195, "Length": 26, "Cover_Rate": 1.0} {"Template_token": ["", "explicit", "DAGToDAGISel", "(", "TargetMachine", "&", "TM", ",", "CodeGenOpt", "::", "Level", "OptLevel", ")", ":", "SelectionDAGISel", "(", "TM", ",", "OptLevel", ")", ",", "Subtarget", "(", "*", "TM", ".", "getSubtargetImpl", "(", ")", ")", "{"], "ground_truth": ["}"], "File": "FISCISelDAGToDAG", "Func": "FISCDAGToDAGISel", "Target": "FISC", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 135196, "Length": 31, "Cover_Rate": 1.0} {"Template_token": ["", "explicit", "DAGToDAGISel", "(", "TargetMachine", "&", "TM", ",", "CodeGenOpt", "::", "Level", "OptLevel", ")", ":", "SelectionDAGISel", "(", "TM", ",", "OptLevel", ")", ",", "Subtarget", "(", "*", "TM", ".", "getSubtargetImpl", "(", ")", ")", "{"], "ground_truth": ["}"], "File": "FISCISelDAGToDAG", "Func": "FISCDAGToDAGISel", "Target": "FISC", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 135197, "Length": 31, "Cover_Rate": 1.0} {"Template_token": ["", "switch", "(", "N", "->", "getOpcode", "(", ")", ")", "{", "case", "", ":", "return", "SelectIndexedLoad", "(", "N", ")", ";", "case", "", ":", "return", "SelectIndexedStore", "(", "N", ")", ";", "case", "", ":", "return", "SelectFrameIndex", "(", "N", ")", ";", "case", "", ":", "return", "ConstantToRegisterExpand", "(", "N", ",", "SDValue", "(", "N", ",", "", ")", ")", ".", "getNode", "(", ")", ";", "case", "", ":", "if", "(", "N", "->", "getOperand", "(", "", ")", ".", "getOpcode", "(", ")", "==", "", ")", "return", "SelectTargetGlobalAddressforADD", "(", "N", ",", "N", "->", "getOperand", "(", "", ")", ".", "getNode", "(", ")", ")", ";", "break", ";", "case", "", ":", "return", "SelectCompare", "(", "N", ")", ";", "case", "", ":", "return", "SelectConditionalBranch", "(", "N", ")", ";", "case", "", ":", "if", "(", "N", "->", "getOperand", "(", "", ")", ".", "getOpcode", "(", ")", "==", "", ")", "{", "GlobalAddressSDNode", "*", "GA", "=", "dyn_cast", "<", "GlobalAddressSDNode", ">", "(", "N", "->", "getOperand", "(", "", ")", ")", ";", "const", "GlobalValue", "*", "GV", "=", "GA", "->", "getGlobal", "(", ")", ";"], "ground_truth": ["unsigned", "char", "TargetFlags", "=", "", ";"], "File": "FISCISelDAGToDAG", "Func": "Select", "Target": "FISC", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 135199, "Length": 164, "Cover_Rate": 0.4089775561097257} {"Template_token": ["", "if", "(", "GV", "->", "getValueID", "(", ")", "==", "Value", "::", "FunctionVal", ")", "TargetFlags", "=", "", ";", "SDValue", "TargetGlobalAddr", "=", "CurDAG", "->", "getTargetGlobalAddress", "(", "GV", ",", "SDLoc", "(", "N", ")", ",", "", ",", "GA", "->", "getOffset", "(", ")", ",", "TargetFlags", ")", ";", "MachineSDNode", "*", "Move", "=", "CurDAG", "->", "getMachineNode", "(", "", ",", "N", ",", "", ",", "TargetGlobalAddr", ",", "CurDAG", "->", "getTargetConstant", "(", "", ",", "N", ",", "", ")", ")", ";", "CurDAG", "->", "ReplaceAllUsesWith", "(", "N", "->", "getOperand", "(", "", ")", ",", "SDValue", "(", "Move", ",", "", ")", ")", ";", "}", "break", ";", "case", "", ":", "{", "unsigned", "int", "operand2Opc", "=", "N", "->", "getOperand", "(", "", ")", ".", "getOpcode", "(", ")", ";"], "ground_truth": ["if", "(", "operand2Opc", "==", "", "||", "operand2Opc", "==", "", ")", "{"], "File": "FISCISelDAGToDAG", "Func": "Select", "Target": "FISC", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 135200, "Length": 121, "Cover_Rate": 0.30174563591022446} {"Template_token": ["", "unsigned", "int", "operand2Opc", "=", "N", "->", "getOperand", "(", "", ")", ".", "getOpcode", "(", ")", ";", "if", "(", "operand2Opc", "==", "", ")", "{", "return", "CurDAG", "->", "getMachineNode", "(", "", ",", "N", ",", "BRLTys", ",", "{", "SDValue", "(", "SelectIndexedLoad", "(", "N", "->", "getOperand", "(", "", ")", ".", "getNode", "(", ")", ")", ",", "", ")", ",", "N", "->", "getOperand", "(", "", ")", ",", "N", "->", "getOperand", "(", "", ")", "}", ")", ";", "}", "else", "if", "(", "operand2Opc", "==", "", ")", "{"], "ground_truth": ["return", "CurDAG", "->", "getMachineNode", "(", "", ",", "N", ",", "BRLTys", ",", "{", "N", "->", "getOperand", "(", "", ")", ",", "N", "->", "getOperand", "(", "", ")", ",", "N", "->", "getOperand", "(", "", ")", "}", ")", ";"], "File": "FISCISelDAGToDAG", "Func": "SelectCallFunctionPointer", "Target": "FISC", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 135201, "Length": 113, "Cover_Rate": 0.7290322580645161} {"Template_token": ["", "SDValue", "RHS", "=", "N", "->", "getOperand", "(", "", ")", ";"], "ground_truth": ["SDValue", "CompareOps", "[", "]", "=", "{", "LHS", ",", "RHS", "}", ";"], "File": "FISCISelDAGToDAG", "Func": "SelectCompare", "Target": "FISC", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 135202, "Length": 21, "Cover_Rate": 0.3442622950819672} {"Template_token": ["", "SDNode", "*", "DAGToDAGISel", "::", "SelectCompare", "(", "SDNode", "*", "N", ")", "{", "SDValue", "LHS", "=", "N", "->", "getOperand", "(", "", ")", ";", "SDValue", "RHS", "=", "N", "->", "getOperand", "(", "", ")", ";"], "ground_truth": ["SDValue", "CompareOps", "[", "]", "=", "{", "LHS", ",", "RHS", "}", ";"], "File": "FISCISelDAGToDAG", "Func": "SelectCompare", "Target": "FISC", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 135203, "Length": 42, "Cover_Rate": 0.6885245901639344} {"Template_token": ["", "SDVTList", "CompareVT", "=", "CurDAG", "->", "getVTList", "(", "CompareTys", ")", ";", "SDValue", "CompareOps", "[", "]", "=", "{", "LHS", ",", "RHS", ",", "Chain", "}", ";", "SDNode", "*", "Compare", "=", "CurDAG", "->", "getMachineNode", "(", "", ",", "N", ",", "CompareVT", ",", "CompareOps", ")", ";", "CondCodeSDNode", "*", "CC", "=", "cast", "<", "CondCodeSDNode", ">", "(", "Cond", ".", "getNode", "(", ")", ")", ";", "uint64_t", "TargetCCode", ";", "switch", "(", "CC", "->", "get", "(", ")", ")", "{", "case", "", "::", "SETOEQ", ":", "case", "", "::", "SETUEQ", ":", "case", "", "::", "SETEQ", ":", "TargetCCode", "=", "", ";", "break", ";", "case", "", "::", "SETONE", ":", "case", "", "::", "SETUNE", ":", "case", "", "::", "SETNE", ":", "TargetCCode", "=", "", ";", "break", ";", "case", "", "::", "SETOLT", ":", "case", "", "::", "SETULT", ":", "case", "", "::", "SETLT", ":", "TargetCCode", "=", "", ";", "break", ";", "case", "", "::", "SETOLE", ":", "case", "", "::", "SETULE", ":", "case", "", "::", "SETLE", ":", "TargetCCode", "=", "", ";", "break", ";", "case", "", "::", "SETOGT", ":", "case", "", "::", "SETUGT", ":", "case", "", "::", "SETGT", ":", "TargetCCode", "=", "", ";", "break", ";"], "ground_truth": ["case", "", "::", "SETOGE", ":", "case", "", "::", "SETUGE", ":", "case", "", "::", "SETGE", ":", "TargetCCode", "=", "", ";", "break", ";"], "File": "FISCISelDAGToDAG", "Func": "SelectConditionalBranch", "Target": "FISC", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 135204, "Length": 194, "Cover_Rate": 0.5} {"Template_token": ["", "SDValue", "ops", "[", "]", "=", "{", "TFI", ",", "CurDAG", "->", "getTargetConstant", "(", "", ",", "N", ",", "", ")", "}", ";", "return", "CurDAG", "->", "SelectNodeTo", "(", "N", ",", "", ",", "", ",", "ops", ")", ";"], "ground_truth": ["}"], "File": "FISCISelDAGToDAG", "Func": "SelectFrameIndex", "Target": "FISC", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 135205, "Length": 35, "Cover_Rate": 0.3977272727272727} {"Template_token": ["", "case", "", ":", "Src", "=", "ConstantToRegisterExpand", "(", "N", ",", "Src", ")", ";", "break", ";", "case", "", ":", "{", "GlobalAddressSDNode", "*", "GA", "=", "dyn_cast", "<", "GlobalAddressSDNode", ">", "(", "Src", ")", ";", "const", "GlobalValue", "*", "GV", "=", "GA", "->", "getGlobal", "(", ")", ";", "unsigned", "char", "TargetFlags", "=", "", ";", "if", "(", "GV", "->", "getValueID", "(", ")", "==", "Value", "::", "FunctionVal", ")", "TargetFlags", "=", "", ";", "SDValue", "TargetGlobalAddr", "=", "CurDAG", "->", "getTargetGlobalAddress", "(", "GV", ",", "SDLoc", "(", "N", ")", ",", "", ",", "GA", "->", "getOffset", "(", ")", ",", "TargetFlags", ")", ";", "MachineSDNode", "*", "Move", "=", "CurDAG", "->", "getMachineNode", "(", "", ",", "N", ",", "", ",", "TargetGlobalAddr", ",", "CurDAG", "->", "getTargetConstant", "(", "", ",", "N", ",", "", ")", ")", ";", "Src", "=", "SDValue", "(", "Move", ",", "", ")", ";", "break", ";", "}", "default", ":", "break", ";", "}", "switch", "(", "Base", ".", "getOpcode", "(", ")", ")", "{", "case", "", ":", "Base", "=", "ConstantToRegisterExpand", "(", "N", ",", "Base", ")", ";", "break", ";", "case", "", ":", "break", ";", "case", "", ":", "{", "FrameIndexSDNode", "*", "FIN", "=", "dyn_cast", "<", "FrameIndexSDNode", ">", "(", "STNode", "->", "getBasePtr", "(", ")", ")", ";", "Base", "=", "CurDAG", "->", "getTargetFrameIndex", "(", "FIN", "->", "getIndex", "(", ")", ",", "", ")", ";", "break", ";", "}", "case", "", ":", "{", "GlobalAddressSDNode", "*", "GA", "=", "dyn_cast", "<", "GlobalAddressSDNode", ">", "(", "Base", ")", ";", "const", "GlobalValue", "*", "GV", "=", "GA", "->", "getGlobal", "(", ")", ";", "unsigned", "char", "TargetFlags", "=", "", ";", "if", "(", "GV", "->", "getValueID", "(", ")", "==", "Value", "::", "FunctionVal", ")", "TargetFlags", "=", "", ";", "SDValue", "TargetGlobalAddr", "=", "CurDAG", "->", "getTargetGlobalAddress", "(", "GV", ",", "SDLoc", "(", "N", ")", ",", "", ",", "GA", "->", "getOffset", "(", ")", ",", "TargetFlags", ")", ";", "MachineSDNode", "*", "Move", "=", "CurDAG", "->", "getMachineNode", "(", "", ",", "N", ",", "", ",", "TargetGlobalAddr", ",", "CurDAG", "->", "getTargetConstant", "(", "", ",", "N", ",", "", ")", ")", ";", "Base", "=", "SDValue", "(", "Move", ",", "", ")", ";", "break", ";", "}", "case", "", ":", "case", "", ":", "case", "", ":", "case", "", ":", "case", "", ":", "break", ";", "}", "SDValue", "ops", "[", "]", "=", "{", "Src", ",", "Base", ",", "Offset", ",", "STNode", "->", "getChain", "(", ")", "}", ";", "return", "CurDAG", "->", "getMachineNode", "(", "Opc", ",", "SDLoc", "(", "N", ")", ",", "", ",", "ops", ")", ";"], "ground_truth": ["}"], "File": "FISCISelDAGToDAG", "Func": "SelectIndexedStore", "Target": "FISC", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 135206, "Length": 368, "Cover_Rate": 0.6548042704626335} {"Template_token": ["", "case", "InlineAsm", "::", "Constraint_m", ":", "OutOps", ".", "push_back", "(", "Op", ")", ";", "return", "false", ";", "}"], "ground_truth": ["return", "true", ";"], "File": "FISCISelDAGToDAG", "Func": "SelectInlineAsmMemoryOperand", "Target": "FISC", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 135207, "Length": 19, "Cover_Rate": 0.34545454545454546} {"Template_token": ["", "SDValue", "Op2", "=", "N", "->", "getOperand", "(", "", ")", ";", "return", "CurDAG", "->", "getMachineNode", "(", "", ",", "N", ",", "", ",", "Op1", ",", "Op2", ")", ";"], "ground_truth": ["}"], "File": "FISCISelDAGToDAG", "Func": "SelectMUL", "Target": "FISC", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 135209, "Length": 27, "Cover_Rate": 0.5192307692307693} {"Template_token": ["", "unsigned", "Opc", "=", "N", "->", "getOpcode", "(", ")", ";", "SDValue", "Src1", "=", "N", "->", "getOperand", "(", "", ")", ";", "SDValue", "Src2", "=", "N", "->", "getOperand", "(", "", ")", ";", "if", "(", "Src2", ".", "getOpcode", "(", ")", "==", "", ")", "Src2", "=", "SDValue", "(", "SelectIndexedLoad", "(", "Src2", ".", "getNode", "(", ")", ")", ",", "", ")", ";", "if", "(", "Opc", "==", "", ")", "return", "CurDAG", "->", "getMachineNode", "(", "", ",", "N", ",", "", ",", "Src1", ",", "Src2", ")", ";", "else", "if", "(", "Opc", "==", "", ")", "return", "CurDAG", "->", "getMachineNode", "(", "", ",", "N", ",", "", ",", "Src1", ",", "Src2", ")", ";", "else", "if", "(", "Opc", "==", "", ")", "return", "CurDAG", "->", "getMachineNode", "(", "", ",", "N", ",", "", ",", "Src1", ",", "Src2", ")", ";"], "ground_truth": ["else", "return", "SelectCode", "(", "N", ")", ";"], "File": "FISCISelDAGToDAG", "Func": "SelectShifts", "Target": "FISC", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 135210, "Length": 130, "Cover_Rate": 0.8024691358024691} {"Template_token": ["", "unsigned", "char", "TargetFlags", "=", "", ";", "if", "(", "GV", "->", "getValueID", "(", ")", "==", "Value", "::", "FunctionVal", ")", "TargetFlags", "=", "", ";", "SDValue", "TargetGlobalAddr", "=", "CurDAG", "->", "getTargetGlobalAddress", "(", "GV", ",", "SDLoc", "(", "N", ")", ",", "", ",", "GA", "->", "getOffset", "(", ")", ",", "TargetFlags", ")", ";", "MachineSDNode", "*", "Move", "=", "CurDAG", "->", "getMachineNode", "(", "", ",", "N", ",", "", ",", "TargetGlobalAddr", ",", "CurDAG", "->", "getTargetConstant", "(", "", ",", "N", ",", "", ")", ")", ";", "SDValue", "op2", "=", "N", "->", "getOperand", "(", "", ")", ";", "unsigned", "Opcode", ";", "if", "(", "op2", ".", "getOpcode", "(", ")", "==", "", ")", "{"], "ground_truth": ["op2", "=", "CurDAG", "->", "getTargetConstant", "(", "cast", "<", "ConstantSDNode", ">", "(", "op2", ".", "getNode", "(", ")", ")", "->", "getZExtValue", "(", ")", ",", "N", ",", "", ")", ";"], "File": "FISCISelDAGToDAG", "Func": "SelectTargetGlobalAddressforADD", "Target": "FISC", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 135211, "Length": 126, "Cover_Rate": 0.5650224215246636} {"Template_token": ["", "MachineSDNode", "*", "Move", "=", "CurDAG", "->", "getMachineNode", "(", "", ",", "N", ",", "", ",", "TargetGlobalAddr", ",", "CurDAG", "->", "getTargetConstant", "(", "", ",", "N", ",", "", ")", ")", ";", "SDValue", "op2", "=", "N", "->", "getOperand", "(", "", ")", ";", "unsigned", "Opcode", ";", "if", "(", "op2", ".", "getOpcode", "(", ")", "==", "", ")", "{", "op2", "=", "CurDAG", "->", "getTargetConstant", "(", "cast", "<", "ConstantSDNode", ">", "(", "op2", ".", "getNode", "(", ")", ")", "->", "getZExtValue", "(", ")", ",", "N", ",", "", ")", ";", "Opcode", "=", "", ";", "}", "else", "{", "Opcode", "=", "", ";", "}"], "ground_truth": ["return", "CurDAG", "->", "getMachineNode", "(", "Opcode", ",", "SDLoc", "(", "N", ")", ",", "", ",", "SDValue", "(", "Move", ",", "", ")", ",", "op2", ")", ";"], "File": "FISCISelDAGToDAG", "Func": "SelectTargetGlobalAddressforADD", "Target": "FISC", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 135212, "Length": 115, "Cover_Rate": 0.515695067264574} {"Template_token": ["", "static", "void", "AnalyzeArguments", "(", "CCState", "&", "State", ",", "SmallVectorImpl", "<", "CCValAssign", ">", "&", "ArgLocs", ",", "const", "SmallVectorImpl", "<", "ArgT", ">", "&", "Args", ")", "{", "static", "const", "MCPhysReg", "RegList", "[", "]", "=", "{", "", ",", "", ",", "", ",", "", ",", "", ",", "", ",", "", ",", "", ",", "", "}", ";", "static", "const", "unsigned", "NbRegs", "=", "array_lengthof", "(", "RegList", ")", ";", "SmallVector", "<", "unsigned", ",", "", ">", "ArgsParts", ";", "ParseFunctionArgs", "(", "Args", ",", "ArgsParts", ")", ";", "if", "(", "State", ".", "isVarArg", "(", ")", ")", "{", "unsigned", "ValNo", "=", "", ";", "for", "(", "unsigned", "i", "=", "", ",", "e", "=", "ArgsParts", ".", "size", "(", ")", ";", "i", "!=", "e", ";", "i", "++", ")", "{", "MVT", "ArgVT", "=", "Args", "[", "ValNo", "]", ".", "VT", ";", "MVT", "LocVT", "=", "ArgVT", ";", "CCValAssign", "::", "LocInfo", "LocInfo", "=", "CCValAssign", "::", "Full", ";", "for", "(", "unsigned", "j", "=", "", ";", "j", "<", "ArgsParts", "[", "i", "]", ";", "j", "++", ")", "{", "if", "(", "i", "==", "", "&&", "j", "==", "", ")", "State", ".", "addLoc", "(", "CCValAssign", "::", "getCustomMem", "(", "ValNo", "++", ",", "ArgVT", ",", "State", ".", "AllocateStack", "(", "", ",", "", ")", ",", "LocVT", ",", "LocInfo", ")", ")", ";", "else", "State", ".", "addLoc", "(", "CCValAssign", "::", "getCustomMem", "(", "ValNo", "++", ",", "ArgVT", ",", "State", ".", "AllocateStack", "(", "", ",", "", ")", ",", "LocVT", ",", "LocInfo", ")", ")", ";", "}", "}", "return", ";", "}", "unsigned", "RegsLeft", "=", "NbRegs", ";", "bool", "UseStack", "=", "false", ";", "unsigned", "ValNo", "=", "", ";", "for", "(", "unsigned", "i", "=", "", ",", "e", "=", "ArgsParts", ".", "size", "(", ")", ";", "i", "!=", "e", ";", "i", "++", ")", "{", "MVT", "ArgVT", "=", "Args", "[", "ValNo", "]", ".", "VT", ";", "", "ArgFlags", "=", "Args", "[", "ValNo", "]", ".", "Flags", ";", "MVT", "LocVT", "=", "ArgVT", ";", "CCValAssign", "::", "LocInfo", "LocInfo", "=", "CCValAssign", "::", "Full", ";", "if", "(", "ArgFlags", ".", "isByVal", "(", ")", ")", "{"], "ground_truth": ["State", ".", "HandleByVal", "(", "ValNo", "++", ",", "ArgVT", ",", "LocVT", ",", "LocInfo", ",", "", ",", "", ",", "ArgFlags", ")", ";"], "File": "FISCISelLowering", "Func": "AnalyzeArguments", "Target": "FISC", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 135213, "Length": 328, "Cover_Rate": 0.6680244399185336} {"Template_token": ["", "static", "const", "MCPhysReg", "RegList", "[", "]", "=", "{", "", ",", "", ",", "", ",", "", ",", "", ",", "", ",", "", ",", "", ",", "", "}", ";", "static", "const", "unsigned", "NbRegs", "=", "array_lengthof", "(", "RegList", ")", ";", "SmallVector", "<", "unsigned", ",", "", ">", "ArgsParts", ";", "ParseFunctionArgs", "(", "Args", ",", "ArgsParts", ")", ";", "if", "(", "State", ".", "isVarArg", "(", ")", ")", "{", "unsigned", "ValNo", "=", "", ";", "for", "(", "unsigned", "i", "=", "", ",", "e", "=", "ArgsParts", ".", "size", "(", ")", ";", "i", "!=", "e", ";", "i", "++", ")", "{", "MVT", "ArgVT", "=", "Args", "[", "ValNo", "]", ".", "VT", ";", "MVT", "LocVT", "=", "ArgVT", ";", "CCValAssign", "::", "LocInfo", "LocInfo", "=", "CCValAssign", "::", "Full", ";", "for", "(", "unsigned", "j", "=", "", ";", "j", "<", "ArgsParts", "[", "i", "]", ";", "j", "++", ")", "{"], "ground_truth": ["if", "(", "i", "==", "", "&&", "j", "==", "", ")", "State", ".", "addLoc", "(", "CCValAssign", "::", "getCustomMem", "(", "ValNo", "++", ",", "ArgVT", ",", "State", ".", "AllocateStack", "(", "", ",", "", ")", ",", "LocVT", ",", "LocInfo", ")", ")", ";"], "File": "FISCISelLowering", "Func": "AnalyzeArguments", "Target": "FISC", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 135214, "Length": 169, "Cover_Rate": 0.34419551934826886} {"Template_token": ["", "static", "void", "AnalyzeRetResult", "(", "CCState", "&", "State", ",", "const", "SmallVectorImpl", "<", "", ">", "&", "Outs", ")", "{"], "ground_truth": ["State", ".", "AnalyzeReturn", "(", "Outs", ",", "RetCC_", ")", ";"], "File": "FISCISelLowering", "Func": "AnalyzeRetResult", "Target": "FISC", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 135216, "Length": 26, "Cover_Rate": 0.896551724137931} {"Template_token": ["", "State", ".", "AnalyzeFormalArguments", "(", "Ins", ",", "CC_", ")", ";"], "ground_truth": ["}"], "File": "FISCISelLowering", "Func": "AnalyzeVarArgs", "Target": "FISC", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 135219, "Length": 10, "Cover_Rate": 0.3448275862068966} {"Template_token": ["", "static", "void", "AnalyzeVarArgs", "(", "CCState", "&", "State", ",", "const", "SmallVectorImpl", "<", "", ">", "&", "Ins", ")", "{"], "ground_truth": ["State", ".", "AnalyzeFormalArguments", "(", "Ins", ",", "CC_", ")", ";"], "File": "FISCISelLowering", "Func": "AnalyzeVarArgs", "Target": "FISC", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 135220, "Length": 26, "Cover_Rate": 0.896551724137931} {"Template_token": ["", "SmallVector", "<", "CCValAssign", ",", "", ">", "RVLocs", ";", "CCState", "CCInfo", "(", "CallConv", ",", "isVarArg", ",", "MF", ",", "RVLocs", ",", "Context", ")", ";", "if", "(", "!", "CCInfo", ".", "CheckReturn", "(", "Outs", ",", "RetCC_", ")", ")", "return", "false", ";"], "ground_truth": ["if", "(", "CCInfo", ".", "getNextStackOffset", "(", ")", "!=", "", "&&", "isVarArg", ")", "return", "false", ";"], "File": "FISCISelLowering", "Func": "CanLowerReturn", "Target": "FISC", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 135221, "Length": 52, "Cover_Rate": 0.5842696629213483} {"Template_token": ["", "MachineFunction", "::", "iterator", "I", "=", "++", "BB", "->", "getIterator", "(", ")", ";", "MachineBasicBlock", "*", "ThisMBB", "=", "BB", ";", "MachineFunction", "*", "F", "=", "BB", "->", "getParent", "(", ")", ";", "MachineBasicBlock", "*", "Copy0MBB", "=", "F", "->", "CreateMachineBasicBlock", "(", "LLVM_BB", ")", ";", "MachineBasicBlock", "*", "Copy1MBB", "=", "F", "->", "CreateMachineBasicBlock", "(", "LLVM_BB", ")", ";", "F", "->", "insert", "(", "I", ",", "Copy0MBB", ")", ";", "F", "->", "insert", "(", "I", ",", "Copy1MBB", ")", ";"], "ground_truth": ["Copy1MBB", "->", "splice", "(", "Copy1MBB", "->", "begin", "(", ")", ",", "BB", ",", "std", "::", "next", "(", "MachineBasicBlock", "::", "iterator", "(", "MI", ")", ")", ",", "BB", "->", "end", "(", ")", ")", ";"], "File": "FISCISelLowering", "Func": "EmitInstrWithCustomInserter", "Target": "FISC", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 135222, "Length": 99, "Cover_Rate": 0.3065015479876161} {"Template_token": ["", "setSchedulingPreference", "(", "Sched", "::", "Source", ")", ";", "setOperationAction", "(", "", ",", "", ",", "Custom", ")", ";", "setOperationAction", "(", "", ",", "", ",", "Expand", ")", ";", "setOperationAction", "(", "", ",", "", ",", "Custom", ")", ";", "setOperationAction", "(", "", ",", "", ",", "Custom", ")", ";", "setOperationAction", "(", "", ",", "", ",", "Expand", ")", ";", "setOperationAction", "(", "", ",", "", ",", "Expand", ")", ";", "setOperationAction", "(", "", ",", "", ",", "Expand", ")", ";", "setOperationAction", "(", "", ",", "", ",", "Expand", ")", ";", "setOperationAction", "(", "", ",", "", ",", "Expand", ")", ";"], "ground_truth": ["setOperationAction", "(", "", ",", "", ",", "Expand", ")", ";"], "File": "FISCISelLowering", "Func": "FISCTargetLowering", "Target": "FISC", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 135223, "Length": 97, "Cover_Rate": 0.303125} {"Template_token": ["", "setOperationAction", "(", "", ",", "", ",", "Custom", ")", ";", "setOperationAction", "(", "", ",", "", ",", "Custom", ")", ";", "setOperationAction", "(", "", ",", "", ",", "Expand", ")", ";", "setOperationAction", "(", "", ",", "", ",", "Expand", ")", ";", "setOperationAction", "(", "", ",", "", ",", "Expand", ")", ";", "setOperationAction", "(", "", ",", "", ",", "Expand", ")", ";", "setOperationAction", "(", "", ",", "", ",", "Expand", ")", ";", "setOperationAction", "(", "", ",", "", ",", "Expand", ")", ";", "setOperationAction", "(", "", ",", "", ",", "Expand", ")", ";", "setOperationAction", "(", "", ",", "", ",", "Expand", ")", ";", "setOperationAction", "(", "", ",", "", ",", "Expand", ")", ";"], "ground_truth": ["setOperationAction", "(", "", ",", "", ",", "Expand", ")", ";"], "File": "FISCISelLowering", "Func": "FISCTargetLowering", "Target": "FISC", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 135224, "Length": 108, "Cover_Rate": 0.3375} {"Template_token": ["", "assert", "(", "!", "LHS", ".", "getValueType", "(", ")", ".", "isFloatingPoint", "(", ")", "&&", "", ")", ";", "", "TCC", "=", "", ";", "switch", "(", "CC", ")", "{", "default", ":", "llvm_unreachable", "(", "", ")", ";", "case", "", ":", "TCC", "=", "", ";", "if", "(", "LHS", ".", "getOpcode", "(", ")", "==", "", ")", "std", "::", "swap", "(", "LHS", ",", "RHS", ")", ";", "break", ";", "case", "", ":", "TCC", "=", "", ";", "if", "(", "LHS", ".", "getOpcode", "(", ")", "==", "", ")", "std", "::", "swap", "(", "LHS", ",", "RHS", ")", ";", "break", ";", "case", "", ":", "std", "::", "swap", "(", "LHS", ",", "RHS", ")", ";", "case", "", ":", "if", "(", "const", "ConstantSDNode", "*", "C", "=", "dyn_cast", "<", "ConstantSDNode", ">", "(", "LHS", ")", ")", "{", "LHS", "=", "RHS", ";", "RHS", "=", "DAG", ".", "getConstant", "(", "C", "->", "getSExtValue", "(", ")", "+", "", ",", "dl", ",", "C", "->", "getValueType", "(", "", ")", ")", ";", "TCC", "=", "", ";", "break", ";", "}", "TCC", "=", "", ";", "break", ";", "case", "", ":", "std", "::", "swap", "(", "LHS", ",", "RHS", ")", ";", "case", "", ":"], "ground_truth": ["if", "(", "const", "ConstantSDNode", "*", "C", "=", "dyn_cast", "<", "ConstantSDNode", ">", "(", "LHS", ")", ")", "{"], "File": "FISCISelLowering", "Func": "FISC_EmitCMP", "Target": "FISC", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 135225, "Length": 192, "Cover_Rate": 0.3910386965376782} {"Template_token": ["", "switch", "(", "Constraint", "[", "", "]", ")", "{", "case", "'r'", ":", "if", "(", "VT", "==", "", "||", "VT", "==", "", "||", "VT", "==", "", "||", "VT", "==", "", ")", "return", "std", "::", "make_pair", "(", "", ",", "&", "", ")", ";", "return", "std", "::", "make_pair", "(", "", ",", "static_cast", "<", "const", "TargetRegisterClass", "*", ">", "(", "", ")", ")", ";", "case", "'c'", ":", "if", "(", "VT", "==", "", ")", "return", "std", "::", "make_pair", "(", "(", "unsigned", ")", "", ",", "&", "", ")", ";", "assert", "(", "", ")", ";", "}"], "ground_truth": ["}"], "File": "FISCISelLowering", "Func": "getRegForInlineAsmConstraint", "Target": "FISC", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 135226, "Length": 88, "Cover_Rate": 0.4756756756756757} {"Template_token": ["", "Value", "*", "CallOperandVal", "=", "info", ".", "CallOperandVal", ";", "if", "(", "!", "CallOperandVal", ")", "return", "CW_Default", ";", "Type", "*", "type", "=", "CallOperandVal", "->", "getType", "(", ")", ";", "switch", "(", "*", "constraint", ")", "{", "default", ":", "weight", "=", "TargetLowering", "::", "getSingleConstraintMatchWeight", "(", "info", ",", "constraint", ")", ";", "break", ";", "case", "'c'", ":", "if", "(", "type", "->", "isIntegerTy", "(", ")", ")", "weight", "=", "CW_SpecificReg", ";", "break", ";", "case", "'I'", ":", "case", "'J'", ":", "case", "'K'", ":", "case", "'L'", ":", "case", "'N'", ":", "case", "'O'", ":", "case", "'P'", ":", "if", "(", "isa", "<", "ConstantInt", ">", "(", "CallOperandVal", ")", ")", "weight", "=", "CW_Constant", ";", "break", ";", "case", "'R'", ":", "weight", "=", "CW_Memory", ";"], "ground_truth": ["break", ";"], "File": "FISCISelLowering", "Func": "getSingleConstraintMatchWeight", "Target": "FISC", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 135227, "Length": 110, "Cover_Rate": 0.7971014492753623} {"Template_token": ["", "Type", "*", "type", "=", "CallOperandVal", "->", "getType", "(", ")", ";", "switch", "(", "*", "constraint", ")", "{", "default", ":", "weight", "=", "TargetLowering", "::", "getSingleConstraintMatchWeight", "(", "info", ",", "constraint", ")", ";", "break", ";", "case", "'c'", ":", "if", "(", "type", "->", "isIntegerTy", "(", ")", ")", "weight", "=", "CW_SpecificReg", ";", "break", ";", "case", "'I'", ":", "case", "'J'", ":", "case", "'K'", ":", "case", "'L'", ":", "case", "'N'", ":"], "ground_truth": ["case", "'O'", ":"], "File": "FISCISelLowering", "Func": "getSingleConstraintMatchWeight", "Target": "FISC", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 135228, "Length": 66, "Cover_Rate": 0.4782608695652174} {"Template_token": ["", "return", "NULL", ";", "case", "", ":", "return", "", ";", "case", "", ":", "return", "", ";", "case", "", ":", "return", "", ";", "case", "", ":", "return", "", ";", "case", "", ":", "return", "", ";", "case", "", ":", "return", "", ";", "}"], "ground_truth": ["}"], "File": "FISCISelLowering", "Func": "getTargetNodeName", "Target": "FISC", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 135229, "Length": 41, "Cover_Rate": 0.5694444444444444} {"Template_token": ["", "switch", "(", "AM", ".", "Scale", ")", "{", "case", "", ":", "break", ";", "case", "", ":", "if", "(", "!", "AM", ".", "HasBaseReg", ")", "break", ";", "return", "false", ";", "default", ":", "return", "false", ";"], "ground_truth": ["}"], "File": "FISCISelLowering", "Func": "isLegalAddressingMode", "Target": "FISC", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 135230, "Length": 33, "Cover_Rate": 0.4714285714285714} {"Template_token": ["", "Result", "=", "DAG", ".", "getTargetConstant", "(", "Val", ",", "DL", ",", "Type", ")", ";", "break", ";", "}", "}", "return", ";", "case", "'N'", ":", "if", "(", "ConstantSDNode", "*", "C", "=", "dyn_cast", "<", "ConstantSDNode", ">", "(", "Op", ")", ")", "{", "EVT", "Type", "=", "Op", ".", "getValueType", "(", ")", ";", "int64_t", "Val", "=", "C", "->", "getSExtValue", "(", ")", ";", "if", "(", "(", "Val", ">=", "-", "", ")", "&&", "(", "Val", "<=", "-", "", ")", ")", "{", "Result", "=", "DAG", ".", "getTargetConstant", "(", "Val", ",", "DL", ",", "Type", ")", ";", "break", ";", "}", "}", "return", ";", "case", "'O'", ":", "if", "(", "ConstantSDNode", "*", "C", "=", "dyn_cast", "<", "ConstantSDNode", ">", "(", "Op", ")", ")", "{", "EVT", "Type", "=", "Op", ".", "getValueType", "(", ")", ";", "int64_t", "Val", "=", "C", "->", "getSExtValue", "(", ")", ";", "if", "(", "(", "isInt", "<", "", ">", "(", "Val", ")", ")", ")", "{", "Result", "=", "DAG", ".", "getTargetConstant", "(", "Val", ",", "DL", ",", "Type", ")", ";", "break", ";", "}", "}", "return", ";", "case", "'P'", ":", "if", "(", "ConstantSDNode", "*", "C", "=", "dyn_cast", "<", "ConstantSDNode", ">", "(", "Op", ")", ")", "{", "EVT", "Type", "=", "Op", ".", "getValueType", "(", ")", ";", "int64_t", "Val", "=", "C", "->", "getSExtValue", "(", ")", ";", "if", "(", "(", "Val", "<=", "", ")", "&&", "(", "Val", ">=", "", ")", ")", "{", "Result", "=", "DAG", ".", "getTargetConstant", "(", "Val", ",", "DL", ",", "Type", ")", ";", "break", ";", "}", "}"], "ground_truth": ["return", ";"], "File": "FISCISelLowering", "Func": "LowerAsmOperandForConstraint", "Target": "FISC", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 135231, "Length": 229, "Cover_Rate": 0.39078498293515357} {"Template_token": ["", "if", "(", "!", "MemOpChains", ".", "empty", "(", ")", ")", "Chain", "=", "DAG", ".", "getNode", "(", "", ",", "Loc", ",", "", ",", "MemOpChains", ")", ";", "SDValue", "InFlag", ";", "for", "(", "unsigned", "i", "=", "", ",", "e", "=", "RegsToPass", ".", "size", "(", ")", ";", "i", "!=", "e", ";", "++", "i", ")", "{", "Chain", "=", "DAG", ".", "getCopyToReg", "(", "Chain", ",", "Loc", ",", "RegsToPass", "[", "i", "]", ".", "first", ",", "RegsToPass", "[", "i", "]", ".", "second", ",", "InFlag", ")", ";", "InFlag", "=", "Chain", ".", "getValue", "(", "", ")", ";", "}", "EVT", "PtrVT", "=", "getPointerTy", "(", "DAG", ".", "getDataLayout", "(", ")", ")", ";", "GlobalAddressSDNode", "*", "G", "=", "dyn_cast", "<", "GlobalAddressSDNode", ">", "(", "Callee", ")", ";", "if", "(", "G", ")", "Callee", "=", "DAG", ".", "getGlobalAddress", "(", "G", "->", "getGlobal", "(", ")", ",", "Loc", ",", "PtrVT", ",", "", ")", ";", "std", "::", "vector", "<", "SDValue", ">", "Ops", ";", "Ops", ".", "push_back", "(", "Chain", ")", ";", "Ops", ".", "push_back", "(", "Callee", ")", ";", "for", "(", "unsigned", "i", "=", "", ",", "e", "=", "RegsToPass", ".", "size", "(", ")", ";", "i", "!=", "e", ";", "++", "i", ")", "Ops", ".", "push_back", "(", "DAG", ".", "getRegister", "(", "RegsToPass", "[", "i", "]", ".", "first", ",", "RegsToPass", "[", "i", "]", ".", "second", ".", "getValueType", "(", ")", ")", ")", ";", "const", "uint32_t", "*", "Mask", ";", "const", "TargetRegisterInfo", "*", "TRI", "=", "DAG", ".", "getSubtarget", "(", ")", ".", "getRegisterInfo", "(", ")", ";", "Mask", "=", "TRI", "->", "getCallPreservedMask", "(", "DAG", ".", "getMachineFunction", "(", ")", ",", "CallConv", ")", ";"], "ground_truth": ["assert", "(", "Mask", "&&", "", ")", ";"], "File": "FISCISelLowering", "Func": "LowerCall", "Target": "FISC", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 135232, "Length": 248, "Cover_Rate": 0.31876606683804626} {"Template_token": ["", "InFlag", "=", "Chain", ".", "getValue", "(", "", ")", ";", "}", "EVT", "PtrVT", "=", "getPointerTy", "(", "DAG", ".", "getDataLayout", "(", ")", ")", ";", "GlobalAddressSDNode", "*", "G", "=", "dyn_cast", "<", "GlobalAddressSDNode", ">", "(", "Callee", ")", ";", "if", "(", "G", ")", "Callee", "=", "DAG", ".", "getGlobalAddress", "(", "G", "->", "getGlobal", "(", ")", ",", "Loc", ",", "PtrVT", ",", "", ")", ";", "std", "::", "vector", "<", "SDValue", ">", "Ops", ";", "Ops", ".", "push_back", "(", "Chain", ")", ";", "Ops", ".", "push_back", "(", "Callee", ")", ";", "for", "(", "unsigned", "i", "=", "", ",", "e", "=", "RegsToPass", ".", "size", "(", ")", ";", "i", "!=", "e", ";", "++", "i", ")", "Ops", ".", "push_back", "(", "DAG", ".", "getRegister", "(", "RegsToPass", "[", "i", "]", ".", "first", ",", "RegsToPass", "[", "i", "]", ".", "second", ".", "getValueType", "(", ")", ")", ")", ";", "const", "uint32_t", "*", "Mask", ";", "const", "TargetRegisterInfo", "*", "TRI", "=", "DAG", ".", "getSubtarget", "(", ")", ".", "getRegisterInfo", "(", ")", ";", "Mask", "=", "TRI", "->", "getCallPreservedMask", "(", "DAG", ".", "getMachineFunction", "(", ")", ",", "CallConv", ")", ";", "assert", "(", "Mask", "&&", "", ")", ";", "Ops", ".", "push_back", "(", "DAG", ".", "getRegisterMask", "(", "Mask", ")", ")", ";", "if", "(", "InFlag", ".", "getNode", "(", ")", ")", "Ops", ".", "push_back", "(", "InFlag", ")", ";", "SDVTList", "NodeTys", "=", "DAG", ".", "getVTList", "(", "", ",", "", ")", ";", "Chain", "=", "DAG", ".", "getNode", "(", "", ",", "Loc", ",", "NodeTys", ",", "Ops", ")", ";", "InFlag", "=", "Chain", ".", "getValue", "(", "", ")", ";", "Chain", "=", "DAG", ".", "getCALLSEQ_END", "(", "Chain", ",", "DAG", ".", "getIntPtrConstant", "(", "NumBytes", ",", "Loc", ",", "true", ")", ",", "DAG", ".", "getIntPtrConstant", "(", "", ",", "Loc", ",", "true", ")", ",", "InFlag", ",", "Loc", ")", ";", "if", "(", "!", "Ins", ".", "empty", "(", ")", ")", "InFlag", "=", "Chain", ".", "getValue", "(", "", ")", ";"], "ground_truth": ["return", "LowerCallResult", "(", "Chain", ",", "InFlag", ",", "CallConv", ",", "isVarArg", ",", "Ins", ",", "Loc", ",", "DAG", ",", "InVals", ")", ";"], "File": "FISCISelLowering", "Func": "LowerCall", "Target": "FISC", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 135233, "Length": 307, "Cover_Rate": 0.39460154241645246} {"Template_token": ["", "SDValue", "TargetLowering", "::", "LowerCallResult", "(", "SDValue", "Chain", ",", "SDValue", "InGlue", ",", "CallingConv", "::", "ID", "CallConv", ",", "bool", "isVarArg", ",", "const", "SmallVectorImpl", "<", "", ">", "&", "Ins", ",", "SDLoc", "dl", ",", "SelectionDAG", "&", "DAG", ",", "SmallVectorImpl", "<", "SDValue", ">", "&", "InVals", ")", "const", "{", "SmallVector", "<", "CCValAssign", ",", "", ">", "RVLocs", ";", "CCState", "CCInfo", "(", "CallConv", ",", "isVarArg", ",", "DAG", ".", "getMachineFunction", "(", ")", ",", "RVLocs", ",", "*", "DAG", ".", "getContext", "(", ")", ")", ";"], "ground_truth": ["AnalyzeReturnValues", "(", "CCInfo", ",", "RVLocs", ",", "Ins", ")", ";"], "File": "FISCISelLowering", "Func": "LowerCallResult", "Target": "FISC", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 135234, "Length": 83, "Cover_Rate": 0.5} {"Template_token": ["", "AnalyzeReturnValues", "(", "CCInfo", ",", "RVLocs", ",", "Ins", ")", ";", "for", "(", "unsigned", "i", "=", "", ";", "i", "!=", "RVLocs", ".", "size", "(", ")", ";", "++", "i", ")", "{", "Chain", "=", "DAG", ".", "getCopyFromReg", "(", "Chain", ",", "dl", ",", "RVLocs", "[", "i", "]", ".", "getLocReg", "(", ")", ",", "RVLocs", "[", "i", "]", ".", "getValVT", "(", ")", ",", "InGlue", ")", ".", "getValue", "(", "", ")", ";", "InGlue", "=", "Chain", ".", "getValue", "(", "", ")", ";", "InVals", ".", "push_back", "(", "Chain", ".", "getValue", "(", "", ")", ")", ";", "}", "return", "Chain", ";"], "ground_truth": ["}"], "File": "FISCISelLowering", "Func": "LowerCallResult", "Target": "FISC", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 135235, "Length": 90, "Cover_Rate": 0.5421686746987951} {"Template_token": ["", "}", "for", "(", "unsigned", "i", "=", "", ",", "e", "=", "ArgLocs", ".", "size", "(", ")", ";", "i", "!=", "e", ";", "++", "i", ")", "{", "CCValAssign", "&", "VA", "=", "ArgLocs", "[", "i", "]", ";", "if", "(", "VA", ".", "isRegLoc", "(", ")", ")", "{", "EVT", "RegVT", "=", "VA", ".", "getLocVT", "(", ")", ";", "switch", "(", "RegVT", ".", "getSimpleVT", "(", ")", ".", "SimpleTy", ")", "{", "default", ":", "{", "errs", "(", ")", "<<", "", "<<", "RegVT", ".", "getSimpleVT", "(", ")", ".", "SimpleTy", "<<", "", ";", "llvm_unreachable", "(", "nullptr", ")", ";", "}", "case", "", ":", "unsigned", "VReg", "=", "RegInfo", ".", "createVirtualRegister", "(", "&", "", ")", ";", "RegInfo", ".", "addLiveIn", "(", "VA", ".", "getLocReg", "(", ")", ",", "VReg", ")", ";", "SDValue", "ArgValue", "=", "DAG", ".", "getCopyFromReg", "(", "Chain", ",", "dl", ",", "VReg", ",", "RegVT", ")", ";", "if", "(", "VA", ".", "getLocInfo", "(", ")", "==", "CCValAssign", "::", "SExt", ")", "ArgValue", "=", "DAG", ".", "getNode", "(", "", ",", "dl", ",", "RegVT", ",", "ArgValue", ",", "DAG", ".", "getValueType", "(", "VA", ".", "getValVT", "(", ")", ")", ")", ";", "else", "if", "(", "VA", ".", "getLocInfo", "(", ")", "==", "CCValAssign", "::", "ZExt", ")", "ArgValue", "=", "DAG", ".", "getNode", "(", "", ",", "dl", ",", "RegVT", ",", "ArgValue", ",", "DAG", ".", "getValueType", "(", "VA", ".", "getValVT", "(", ")", ")", ")", ";", "if", "(", "VA", ".", "getLocInfo", "(", ")", "!=", "CCValAssign", "::", "Full", ")", "ArgValue", "=", "DAG", ".", "getNode", "(", "", ",", "dl", ",", "VA", ".", "getValVT", "(", ")", ",", "ArgValue", ")", ";", "InVals", ".", "push_back", "(", "ArgValue", ")", ";", "}", "}", "else", "{", "assert", "(", "VA", ".", "isMemLoc", "(", ")", ")", ";", "SDValue", "InVal", ";", "", "Flags", "=", "Ins", "[", "i", "]", ".", "Flags", ";", "if", "(", "Flags", ".", "isByVal", "(", ")", ")", "{", "int", "FI", "=", "MFI", "->", "CreateFixedObject", "(", "Flags", ".", "getByValSize", "(", ")", ",", "VA", ".", "getLocMemOffset", "(", ")", ",", "true", ")", ";", "InVal", "=", "DAG", ".", "getFrameIndex", "(", "FI", ",", "getPointerTy", "(", "DAG", ".", "getDataLayout", "(", ")", ")", ")", ";", "}"], "ground_truth": ["else", "{"], "File": "FISCISelLowering", "Func": "LowerFormalArguments", "Target": "FISC", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 135236, "Length": 323, "Cover_Rate": 0.5209677419354839} {"Template_token": ["", "EVT", "VT", "=", "Op", ".", "getValueType", "(", ")", ";", "SDValue", "TargetAddr", "=", "DAG", ".", "getTargetGlobalAddress", "(", "GlobalAddr", "->", "getGlobal", "(", ")", ",", "Op", ",", "", ",", "", ",", "", ")", ";", "return", "DAG", ".", "getNode", "(", "", ",", "Op", ",", "VT", ",", "TargetAddr", ")", ";"], "ground_truth": ["}"], "File": "FISCISelLowering", "Func": "LowerGlobalAddress", "Target": "FISC", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 135237, "Length": 46, "Cover_Rate": 0.41818181818181815} {"Template_token": ["", "SDValue", "TargetAddr", "=", "DAG", ".", "getTargetGlobalAddress", "(", "GlobalAddr", "->", "getGlobal", "(", ")", ",", "Op", ",", "", ",", "", ",", "", ")", ";", "return", "DAG", ".", "getNode", "(", "", ",", "Op", ",", "VT", ",", "TargetAddr", ")", ";"], "ground_truth": ["}"], "File": "FISCISelLowering", "Func": "LowerGlobalAddress", "Target": "FISC", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 135238, "Length": 37, "Cover_Rate": 0.33636363636363636} {"Template_token": ["", "switch", "(", "Op", ".", "getOpcode", "(", ")", ")", "{", "default", ":", "llvm_unreachable", "(", "", ")", ";", "case", "", ":", "return", "LowerGlobalAddress", "(", "Op", ",", "DAG", ")", ";"], "ground_truth": ["case", "", ":"], "File": "FISCISelLowering", "Func": "LowerOperation", "Target": "FISC", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 135239, "Length": 30, "Cover_Rate": 0.4225352112676056} {"Template_token": ["", "SmallVector", "<", "CCValAssign", ",", "", ">", "RVLocs", ";", "CCState", "CCInfo", "(", "CallConv", ",", "isVarArg", ",", "DAG", ".", "getMachineFunction", "(", ")", ",", "RVLocs", ",", "*", "DAG", ".", "getContext", "(", ")", ")", ";", "CCInfo", ".", "AnalyzeReturn", "(", "Outs", ",", "RetCC_", ")", ";", "SDValue", "Flag", ";", "SmallVector", "<", "SDValue", ",", "", ">", "RetOps", "(", "", ",", "Chain", ")", ";", "for", "(", "unsigned", "i", "=", "", ",", "e", "=", "RVLocs", ".", "size", "(", ")", ";", "i", "<", "e", ";", "++", "i", ")", "{", "CCValAssign", "&", "VA", "=", "RVLocs", "[", "i", "]", ";", "assert", "(", "VA", ".", "isRegLoc", "(", ")", "&&", "", ")", ";", "Chain", "=", "DAG", ".", "getCopyToReg", "(", "Chain", ",", "dl", ",", "VA", ".", "getLocReg", "(", ")", ",", "OutVals", "[", "i", "]", ",", "Flag", ")", ";"], "ground_truth": ["Flag", "=", "Chain", ".", "getValue", "(", "", ")", ";"], "File": "FISCISelLowering", "Func": "LowerReturn", "Target": "FISC", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 135240, "Length": 132, "Cover_Rate": 0.5523012552301255} {"Template_token": ["", "SDValue", "FalseV", "=", "Op", ".", "getOperand", "(", "", ")", ";", "", "CC", "=", "cast", "<", "CondCodeSDNode", ">", "(", "Op", ".", "getOperand", "(", "", ")", ")", "->", "get", "(", ")", ";", "SDLoc", "dl", "(", "Op", ")", ";", "SDValue", "TargetCC", ";", "SDValue", "Flag", "=", "_EmitCMP", "(", "LHS", ",", "RHS", ",", "TargetCC", ",", "CC", ",", "dl", ",", "DAG", ")", ";", "SDVTList", "VTs", "=", "DAG", ".", "getVTList", "(", "Op", ".", "getValueType", "(", ")", ",", "", ")", ";", "SDValue", "Ops", "[", "]", "=", "{", "TrueV", ",", "FalseV", ",", "TargetCC", ",", "Flag", "}", ";", "return", "DAG", ".", "getNode", "(", "", ",", "dl", ",", "VTs", ",", "Ops", ")", ";"], "ground_truth": ["}"], "File": "FISCISelLowering", "Func": "LowerSelectCC", "Target": "FISC", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 135241, "Length": 103, "Cover_Rate": 0.673202614379085} {"Template_token": ["", "SDValue", "Flag", "=", "_EmitCMP", "(", "LHS", ",", "RHS", ",", "TargetCC", ",", "CC", ",", "dl", ",", "DAG", ")", ";", "SDVTList", "VTs", "=", "DAG", ".", "getVTList", "(", "Op", ".", "getValueType", "(", ")", ",", "", ")", ";", "SDValue", "Ops", "[", "]", "=", "{", "TrueV", ",", "FalseV", ",", "TargetCC", ",", "Flag", "}", ";"], "ground_truth": ["return", "DAG", ".", "getNode", "(", "", ",", "dl", ",", "VTs", ",", "Ops", ")", ";"], "File": "FISCISelLowering", "Func": "LowerSelectCC", "Target": "FISC", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 135242, "Length": 63, "Cover_Rate": 0.4117647058823529} {"Template_token": ["", "SDValue", "FI", "=", "DAG", ".", "getFrameIndex", "(", "FuncInfo", "->", "getVarArgsFrameIndex", "(", ")", ",", "getPointerTy", "(", "MF", ".", "getDataLayout", "(", ")", ")", ")", ";", "const", "Value", "*", "SV", "=", "cast", "<", "SrcValueSDNode", ">", "(", "Op", ".", "getOperand", "(", "", ")", ")", "->", "getValue", "(", ")", ";", "return", "DAG", ".", "getStore", "(", "Op", ".", "getOperand", "(", "", ")", ",", "SDLoc", "(", "Op", ")", ",", "FI", ",", "Op", ".", "getOperand", "(", "", ")", ",", "MachinePointerInfo", "(", "SV", ")", ",", "false", ",", "false", ",", "", ")", ";"], "ground_truth": ["}"], "File": "FISCISelLowering", "Func": "LowerVASTART", "Target": "FISC", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 135243, "Length": 84, "Cover_Rate": 0.6942148760330579} {"Template_token": ["", "MachineFunction", "&", "MF", "=", "DAG", ".", "getMachineFunction", "(", ")", ";", "MachineFunctionInfo", "*", "FuncInfo", "=", "MF", ".", "getInfo", "<", "MachineFunctionInfo", ">", "(", ")", ";", "SDValue", "FI", "=", "DAG", ".", "getFrameIndex", "(", "FuncInfo", "->", "getVarArgsFrameIndex", "(", ")", ",", "getPointerTy", "(", "MF", ".", "getDataLayout", "(", ")", ")", ")", ";", "const", "Value", "*", "SV", "=", "cast", "<", "SrcValueSDNode", ">", "(", "Op", ".", "getOperand", "(", "", ")", ")", "->", "getValue", "(", ")", ";", "return", "DAG", ".", "getStore", "(", "Op", ".", "getOperand", "(", "", ")", ",", "SDLoc", "(", "Op", ")", ",", "FI", ",", "Op", ".", "getOperand", "(", "", ")", ",", "MachinePointerInfo", "(", "SV", ")", ",", "false", ",", "false", ",", "", ")", ";"], "ground_truth": ["}"], "File": "FISCISelLowering", "Func": "LowerVASTART", "Target": "FISC", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 135244, "Length": 107, "Cover_Rate": 0.8842975206611571} {"Template_token": ["", "StringRef", "::", "const_iterator", "I", ",", "B", "=", "C", ".", "begin", "(", ")", "+", "", ",", "E", "=", "C", ".", "end", "(", ")", "-", "", ";", "I", "=", "std", "::", "find_if", "(", "B", ",", "E", ",", "std", "::", "ptr_fun", "(", "isdigit", ")", ")", ";"], "ground_truth": ["Prefix", ".", "assign", "(", "B", ",", "I", "-", "B", ")", ";"], "File": "FISCISelLowering", "Func": "parsePhysicalReg", "Target": "FISC", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 135245, "Length": 54, "Cover_Rate": 0.35294117647058826} {"Template_token": ["", "assert", "(", "Prefix", "==", "", ")", ";", "RC", "=", "getRegClassFor", "(", "(", "VT", "==", "", ")", "?", "", ":", "VT", ")", ";", "assert", "(", "Reg", "<", "RC", "->", "getNumRegs", "(", ")", ")", ";"], "ground_truth": ["return", "std", "::", "make_pair", "(", "*", "(", "RC", "->", "begin", "(", ")", "+", "Reg", ")", ",", "RC", ")", ";"], "File": "FISCISelLowering", "Func": "parseRegForInlineAsmConstraint", "Target": "FISC", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 135246, "Length": 52, "Cover_Rate": 0.348993288590604} {"Template_token": ["", "void", "MachineFunctionInfo", "::", "anchor", "(", ")", "{"], "ground_truth": ["}"], "File": "FISCMachineFunctionInfo", "Func": "anchor", "Target": "FISC", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 135247, "Length": 8, "Cover_Rate": 1.0} {"Template_token": ["", "void", "MachineFunctionInfo", "::", "anchor", "(", ")", "{"], "ground_truth": ["}"], "File": "FISCMachineFunctionInfo", "Func": "anchor", "Target": "FISC", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 135248, "Length": 8, "Cover_Rate": 1.0} {"Template_token": ["", "explicit", "MachineFunctionInfo", "(", "MachineFunction", "&", "MF", ")", ":", "CalleeSavedFrameSize", "(", "", ")", ",", "ReturnAddrIndex", "(", "", ")", "{"], "ground_truth": ["}"], "File": "FISCMachineFunctionInfo", "Func": "FISCMachineFunctionInfo", "Target": "FISC", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 135249, "Length": 19, "Cover_Rate": 1.0} {"Template_token": ["", "explicit", "MachineFunctionInfo", "(", "MachineFunction", "&", "MF", ")", ":", "CalleeSavedFrameSize", "(", "", ")", ",", "ReturnAddrIndex", "(", "", ")", "{"], "ground_truth": ["}"], "File": "FISCMachineFunctionInfo", "Func": "FISCMachineFunctionInfo", "Target": "FISC", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 135250, "Length": 19, "Cover_Rate": 1.0} {"Template_token": ["", "return", "CalleeSavedFrameSize", ";"], "ground_truth": ["}"], "File": "FISCMachineFunctionInfo", "Func": "getCalleeSavedFrameSize", "Target": "FISC", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 135251, "Length": 4, "Cover_Rate": 0.4} {"Template_token": ["", "int", "getRAIndex", "(", ")", "const", "{", "return", "ReturnAddrIndex", ";"], "ground_truth": ["}"], "File": "FISCMachineFunctionInfo", "Func": "getRAIndex", "Target": "FISC", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 135253, "Length": 10, "Cover_Rate": 1.0} {"Template_token": ["", "return", "VarArgsFrameIndex", ";"], "ground_truth": ["}"], "File": "FISCMachineFunctionInfo", "Func": "getVarArgsFrameIndex", "Target": "FISC", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 135255, "Length": 4, "Cover_Rate": 0.4} {"Template_token": ["", "CalleeSavedFrameSize", "=", "bytes", ";"], "ground_truth": ["}"], "File": "FISCMachineFunctionInfo", "Func": "setCalleeSavedFrameSize", "Target": "FISC", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 135258, "Length": 5, "Cover_Rate": 0.4166666666666667} {"Template_token": ["", "void", "setRAIndex", "(", "int", "Index", ")", "{"], "ground_truth": ["ReturnAddrIndex", "=", "Index", ";"], "File": "FISCMachineFunctionInfo", "Func": "setRAIndex", "Target": "FISC", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 135259, "Length": 11, "Cover_Rate": 0.9166666666666666} {"Template_token": ["", "void", "setRAIndex", "(", "int", "Index", ")", "{", "ReturnAddrIndex", "=", "Index", ";"], "ground_truth": ["}"], "File": "FISCMachineFunctionInfo", "Func": "setRAIndex", "Target": "FISC", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 135260, "Length": 12, "Cover_Rate": 1.0} {"Template_token": ["", "void", "setVarArgsFrameIndex", "(", "int", "Index", ")", "{", "VarArgsFrameIndex", "=", "Index", ";"], "ground_truth": ["}"], "File": "FISCMachineFunctionInfo", "Func": "setVarArgsFrameIndex", "Target": "FISC", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 135262, "Length": 12, "Cover_Rate": 1.0} {"Template_token": ["", "void", "MCAsmInfo", "::", "anchor", "(", ")", "{"], "ground_truth": ["}"], "File": "FISCMCAsmInfo", "Func": "anchor", "Target": "FISC", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 135263, "Length": 8, "Cover_Rate": 1.0} {"Template_token": ["", "void", "MCAsmInfo", "::", "anchor", "(", ")", "{"], "ground_truth": ["}"], "File": "FISCMCAsmInfo", "Func": "anchor", "Target": "FISC", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 135264, "Length": 8, "Cover_Rate": 1.0} {"Template_token": ["", "MCCodeEmitter", "*", "llvm", "::", "createMCCodeEmitter", "(", "const", "MCInstrInfo", "&", "MCII", ",", "const", "MCRegisterInfo", "&", "MRI", ",", "MCContext", "&", "Ctx", ")", "{", "return", "new", "MCCodeEmitter", "(", "MCII", ",", "Ctx", ")", ";"], "ground_truth": ["}"], "File": "FISCMCCodeEmitter", "Func": "createFISCMCCodeEmitter", "Target": "FISC", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 135265, "Length": 31, "Cover_Rate": 1.0} {"Template_token": ["", "return", "new", "MCCodeEmitter", "(", "MCII", ",", "Ctx", ")", ";"], "ground_truth": ["}"], "File": "FISCMCCodeEmitter", "Func": "createFISCMCCodeEmitter", "Target": "FISC", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 135266, "Length": 10, "Cover_Rate": 0.3225806451612903} {"Template_token": ["", "OS", "<<", "(", "char", ")", "C", ";"], "ground_truth": ["}"], "File": "FISCMCCodeEmitter", "Func": "EmitByte", "Target": "FISC", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 135267, "Length": 8, "Cover_Rate": 0.38095238095238093} {"Template_token": ["", "unsigned", "Shift", "=", "(", "Size", "-", "", "-", "i", ")", "*", "", ";", "EmitByte", "(", "(", "Val", ">>", "Shift", ")", "&", "", ",", "OS", ")", ";", "}"], "ground_truth": ["}"], "File": "FISCMCCodeEmitter", "Func": "EmitConstant", "Target": "FISC", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 135269, "Length": 28, "Cover_Rate": 0.4827586206896552} {"Template_token": ["", "llvm_unreachable", "(", "", ")", ";", "}", "const", "uint32_t", "Binary", "=", "getBinaryCodeForInstr", "(", "MI", ",", "Fixups", ",", "STI", ")", ";", "EmitConstant", "(", "Binary", ",", "Desc", ".", "getSize", "(", ")", ",", "OS", ")", ";", "++", "MCNumEmitted", ";"], "ground_truth": ["}"], "File": "FISCMCCodeEmitter", "Func": "encodeInstruction", "Target": "FISC", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 135270, "Length": 36, "Cover_Rate": 0.3956043956043956} {"Template_token": ["", "if", "(", "Desc", ".", "getSize", "(", ")", "!=", "", ")", "{", "llvm_unreachable", "(", "", ")", ";", "}", "const", "uint32_t", "Binary", "=", "getBinaryCodeForInstr", "(", "MI", ",", "Fixups", ",", "STI", ")", ";"], "ground_truth": ["EmitConstant", "(", "Binary", ",", "Desc", ".", "getSize", "(", ")", ",", "OS", ")", ";"], "File": "FISCMCCodeEmitter", "Func": "encodeInstruction", "Target": "FISC", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 135271, "Length": 43, "Cover_Rate": 0.4725274725274725} {"Template_token": ["", "MCCodeEmitter", "(", "const", "MCInstrInfo", "&", "mcii", ",", "MCContext", "&", "ctx", ")", ":", "MCII", "(", "mcii", ")", ",", "CTX", "(", "ctx", ")", "{"], "ground_truth": ["}"], "File": "FISCMCCodeEmitter", "Func": "FISCMCCodeEmitter", "Target": "FISC", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 135272, "Length": 23, "Cover_Rate": 1.0} {"Template_token": ["", "MCCodeEmitter", "(", "const", "MCInstrInfo", "&", "mcii", ",", "MCContext", "&", "ctx", ")", ":", "MCII", "(", "mcii", ")", ",", "CTX", "(", "ctx", ")", "{"], "ground_truth": ["}"], "File": "FISCMCCodeEmitter", "Func": "FISCMCCodeEmitter", "Target": "FISC", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 135273, "Length": 23, "Cover_Rate": 1.0} {"Template_token": ["", "if", "(", "MO", ".", "isImm", "(", ")", ")", "return", "MO", ".", "getImm", "(", ")", ";", "assert", "(", "MO", ".", "isExpr", "(", ")", "&&", "", ")", ";", "const", "MCExpr", "*", "Expr", "=", "MO", ".", "getExpr", "(", ")", ";", "Fixups", ".", "push_back", "(", "MCFixup", "::", "create", "(", "", ",", "Expr", ",", "MCFixupKind", "(", "", ")", ")", ")", ";", "return", "", ";"], "ground_truth": ["}"], "File": "FISCMCCodeEmitter", "Func": "getBranch19TargetOpValue", "Target": "FISC", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 135274, "Length": 60, "Cover_Rate": 0.594059405940594} {"Template_token": ["", "const", "MCOperand", "&", "MO", "=", "MI", ".", "getOperand", "(", "OpIdx", ")", ";", "if", "(", "MO", ".", "isImm", "(", ")", ")", "return", "MO", ".", "getImm", "(", ")", ";", "assert", "(", "MO", ".", "isExpr", "(", ")", "&&", "", ")", ";"], "ground_truth": ["const", "MCExpr", "*", "Expr", "=", "MO", ".", "getExpr", "(", ")", ";"], "File": "FISCMCCodeEmitter", "Func": "getBranch19TargetOpValue", "Target": "FISC", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 135275, "Length": 49, "Cover_Rate": 0.48514851485148514} {"Template_token": ["", "unsigned", "MCCodeEmitter", "::", "getBranch26TargetOpValue", "(", "const", "MCInst", "&", "MI", ",", "unsigned", "OpIdx", ",", "SmallVectorImpl", "<", "MCFixup", ">", "&", "Fixups", ",", "const", "MCSubtargetInfo", "&", "STI", ")", "const", "{", "const", "MCOperand", "&", "MO", "=", "MI", ".", "getOperand", "(", "OpIdx", ")", ";", "if", "(", "MO", ".", "isImm", "(", ")", ")", "return", "MO", ".", "getImm", "(", ")", ";", "assert", "(", "MO", ".", "isExpr", "(", ")", "&&", "", ")", ";"], "ground_truth": ["const", "MCExpr", "*", "Expr", "=", "MO", ".", "getExpr", "(", ")", ";"], "File": "FISCMCCodeEmitter", "Func": "getBranch26TargetOpValue", "Target": "FISC", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 135276, "Length": 76, "Cover_Rate": 0.7524752475247525} {"Template_token": ["", "const", "MCOperand", "&", "ImmMO", "=", "MI", ".", "getOperand", "(", "OpIdx", "+", "", ")", ";", "assert", "(", "ImmMO", ".", "getImm", "(", ")", ">=", "", ")", ";", "Bits", "|=", "(", "getMachineOpValue", "(", "MI", ",", "RegMO", ",", "Fixups", ",", "STI", ")", "<<", "", ")", ";"], "ground_truth": ["Bits", "|=", "(", "unsigned", ")", "ImmMO", ".", "getImm", "(", ")", "&", "", ";"], "File": "FISCMCCodeEmitter", "Func": "getMemSrcValue", "Target": "FISC", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 135277, "Length": 55, "Cover_Rate": 0.5339805825242718} {"Template_token": ["", "~", "MCCodeEmitter", "(", ")", "{"], "ground_truth": ["}"], "File": "FISCMCCodeEmitter", "Func": "~FISCMCCodeEmitter", "Target": "FISC", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 135278, "Length": 6, "Cover_Rate": 1.0} {"Template_token": ["", "~", "MCCodeEmitter", "(", ")", "{"], "ground_truth": ["}"], "File": "FISCMCCodeEmitter", "Func": "~FISCMCCodeEmitter", "Target": "FISC", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 135279, "Length": 6, "Cover_Rate": 1.0} {"Template_token": ["", "MCInstLower", "::", "MCInstLower", "(", "class", "AsmPrinter", "&", "asmprinter", ")", ":", "Printer", "(", "asmprinter", ")", "{"], "ground_truth": ["}"], "File": "FISCMCInstLower", "Func": "FISCMCInstLower", "Target": "FISC", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 135280, "Length": 16, "Cover_Rate": 1.0} {"Template_token": ["", "MCInstLower", "::", "MCInstLower", "(", "class", "AsmPrinter", "&", "asmprinter", ")", ":", "Printer", "(", "asmprinter", ")", "{"], "ground_truth": ["}"], "File": "FISCMCInstLower", "Func": "FISCMCInstLower", "Target": "FISC", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 135281, "Length": 16, "Cover_Rate": 1.0} {"Template_token": ["", "void", "MCInstLower", "::", "Initialize", "(", "Mangler", "*", "M", ",", "MCContext", "*", "C", ")", "{", "Mang", "=", "M", ";", "Ctx", "=", "C", ";"], "ground_truth": ["}"], "File": "FISCMCInstLower", "Func": "Initialize", "Target": "FISC", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 135282, "Length": 23, "Cover_Rate": 1.0} {"Template_token": ["", "Mang", "=", "M", ";"], "ground_truth": ["Ctx", "=", "C", ";"], "File": "FISCMCInstLower", "Func": "Initialize", "Target": "FISC", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 135283, "Length": 8, "Cover_Rate": 0.34782608695652173} {"Template_token": ["", "OutMI", ".", "setOpcode", "(", "MI", "->", "getOpcode", "(", ")", ")", ";", "for", "(", "auto", "&", "MO", ":", "MI", "->", "operands", "(", ")", ")", "{", "const", "MCOperand", "MCOp", "=", "LowerOperand", "(", "MO", ")", ";", "if", "(", "MCOp", ".", "isValid", "(", ")", ")", "OutMI", ".", "addOperand", "(", "MCOp", ")", ";", "}"], "ground_truth": ["}"], "File": "FISCMCInstLower", "Func": "Lower", "Target": "FISC", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 135284, "Length": 50, "Cover_Rate": 0.7575757575757576} {"Template_token": ["", "case", "MachineOperand", "::", "MO_Immediate", ":", "return", "MCOperand", "::", "createImm", "(", "MO", ".", "getImm", "(", ")", "+", "offset", ")", ";", "case", "MachineOperand", "::", "MO_MachineBasicBlock", ":", "case", "MachineOperand", "::", "MO_GlobalAddress", ":", "case", "MachineOperand", "::", "MO_ExternalSymbol", ":", "case", "MachineOperand", "::", "MO_JumpTableIndex", ":", "case", "MachineOperand", "::", "MO_ConstantPoolIndex", ":", "case", "MachineOperand", "::", "MO_BlockAddress", ":", "return", "LowerSymbolOperand", "(", "MO", ",", "MOTy", ",", "offset", ")", ";", "case", "MachineOperand", "::", "MO_RegisterMask", ":", "break", ";", "}"], "ground_truth": ["return", "MCOperand", "(", ")", ";"], "File": "FISCMCInstLower", "Func": "LowerOperand", "Target": "FISC", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 135285, "Length": 72, "Cover_Rate": 0.5294117647058824} {"Template_token": ["", "Offset", "+=", "MO", ".", "getOffset", "(", ")", ";", "break", ";", "case", "MachineOperand", "::", "MO_ExternalSymbol", ":", "Symbol", "=", "Printer", ".", "GetExternalSymbolSymbol", "(", "MO", ".", "getSymbolName", "(", ")", ")", ";", "Offset", "+=", "MO", ".", "getOffset", "(", ")", ";", "break", ";", "case", "MachineOperand", "::", "MO_JumpTableIndex", ":", "Symbol", "=", "Printer", ".", "GetJTISymbol", "(", "MO", ".", "getIndex", "(", ")", ")", ";", "break", ";", "case", "MachineOperand", "::", "MO_ConstantPoolIndex", ":", "Symbol", "=", "Printer", ".", "GetCPISymbol", "(", "MO", ".", "getIndex", "(", ")", ")", ";", "Offset", "+=", "MO", ".", "getOffset", "(", ")", ";", "break", ";", "default", ":", "llvm_unreachable", "(", "", ")", ";", "}", "const", "unsigned", "Option", "=", "MO", ".", "getTargetFlags", "(", ")", "&", "", ";", "MCSymbolRefExpr", "::", "VariantKind", "Kind", "=", "MCSymbolRefExpr", "::", "VK_None", ";", "switch", "(", "Option", ")", "{", "default", ":", "break", ";", "case", "", ":", "Kind", "=", "MCSymbolRefExpr", "::", "VK__Q1", ";", "break", ";", "case", "", ":", "Kind", "=", "MCSymbolRefExpr", "::", "VK__Q2", ";", "break", ";", "case", "", ":", "Kind", "=", "MCSymbolRefExpr", "::", "VK__Q3", ";", "break", ";", "case", "", ":", "Kind", "=", "MCSymbolRefExpr", "::", "VK__Q4", ";", "break", ";", "case", "", ":", "Kind", "=", "MCSymbolRefExpr", "::", "VK__CALL26", ";", "break", ";", "case", "", ":", "Kind", "=", "MCSymbolRefExpr", "::", "VK__CALL19", ";", "break", ";", "case", "", ":", "Kind", "=", "MCSymbolRefExpr", "::", "VK__9BIT", ";", "break", ";", "case", "", ":", "Kind", "=", "MCSymbolRefExpr", "::", "VK__6BIT", ";", "break", ";", "case", "", ":", "Kind", "=", "MCSymbolRefExpr", "::", "VK__12BIT", ";"], "ground_truth": ["break", ";"], "File": "FISCMCInstLower", "Func": "LowerSymbolOperand", "Target": "FISC", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 135286, "Length": 223, "Cover_Rate": 0.5210280373831776} {"Template_token": ["", "static", "MCAsmInfo", "*", "createMCAsmInfo", "(", "const", "MCRegisterInfo", "&", "MRI", ",", "const", "Triple", "&", "TT", ")", "{"], "ground_truth": ["return", "new", "MCAsmInfo", "(", "TT", ")", ";"], "File": "FISCMCTargetDesc", "Func": "createFISCMCAsmInfo", "Target": "FISC", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 135287, "Length": 23, "Cover_Rate": 0.9583333333333334} {"Template_token": ["", "static", "MCCodeGenInfo", "*", "createMCCodeGenInfo", "(", "const", "Triple", "&", "TT", ",", "Reloc", "::", "Model", "RM", ",", "CodeModel", "::", "Model", "CM", ",", "CodeGenOpt", "::", "Level", "OL", ")", "{", "MCCodeGenInfo", "*", "X", "=", "new", "MCCodeGenInfo", "(", ")", ";", "if", "(", "RM", "==", "Reloc", "::", "Default", ")", "RM", "=", "Reloc", "::", "Static", ";", "if", "(", "CM", "==", "CodeModel", "::", "Default", ")", "CM", "=", "CodeModel", "::", "Small", ";", "if", "(", "CM", "!=", "CodeModel", "::", "Small", "&&", "CM", "!=", "CodeModel", "::", "Large", ")", "{"], "ground_truth": ["report_fatal_error", "(", "", ")", ";"], "File": "FISCMCTargetDesc", "Func": "createFISCMCCodeGenInfo", "Target": "FISC", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 135288, "Length": 83, "Cover_Rate": 0.8383838383838383} {"Template_token": ["", "static", "MCInstPrinter", "*", "createMCInstPrinter", "(", "const", "Triple", "&", "TT", ",", "unsigned", "SyntaxVariant", ",", "const", "MCAsmInfo", "&", "MAI", ",", "const", "MCInstrInfo", "&", "MII", ",", "const", "MCRegisterInfo", "&", "MRI", ")", "{", "return", "new", "InstPrinter", "(", "MAI", ",", "MII", ",", "MRI", ")", ";"], "ground_truth": ["}"], "File": "FISCMCTargetDesc", "Func": "createFISCMCInstPrinter", "Target": "FISC", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 135289, "Length": 41, "Cover_Rate": 1.0} {"Template_token": ["", "MCInstrInfo", "*", "X", "=", "new", "MCInstrInfo", "(", ")", ";"], "ground_truth": ["InitMCInstrInfo", "(", "X", ")", ";"], "File": "FISCMCTargetDesc", "Func": "createFISCMCInstrInfo", "Target": "FISC", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 135290, "Length": 14, "Cover_Rate": 0.56} {"Template_token": ["", "MCRegisterInfo", "*", "X", "=", "new", "MCRegisterInfo", "(", ")", ";"], "ground_truth": ["InitMCRegisterInfo", "(", "X", ",", "", ")", ";"], "File": "FISCMCTargetDesc", "Func": "createFISCMCRegisterInfo", "Target": "FISC", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 135291, "Length": 16, "Cover_Rate": 0.48484848484848486} {"Template_token": ["", "static", "MCSubtargetInfo", "*", "createMCSubtargetInfo", "(", "const", "Triple", "&", "TT", ",", "StringRef", "CPU", ",", "StringRef", "FS", ")", "{", "return", "createMCSubtargetInfoImpl", "(", "TT", ",", "CPU", ",", "FS", ")", ";"], "ground_truth": ["}"], "File": "FISCMCTargetDesc", "Func": "createFISCMCSubtargetInfo", "Target": "FISC", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 135292, "Length": 28, "Cover_Rate": 1.0} {"Template_token": ["", "TargetRegistry", "::", "RegisterMCInstrInfo", "(", "TheTarget", ",", "createMCInstrInfo", ")", ";", "TargetRegistry", "::", "RegisterMCRegInfo", "(", "TheTarget", ",", "createMCRegisterInfo", ")", ";", "TargetRegistry", "::", "RegisterMCSubtargetInfo", "(", "TheTarget", ",", "createMCSubtargetInfo", ")", ";"], "ground_truth": ["TargetRegistry", "::", "RegisterMCInstPrinter", "(", "TheTarget", ",", "createMCInstPrinter", ")", ";"], "File": "FISCMCTargetDesc", "Func": "LLVMInitializeFISCTargetMC", "Target": "FISC", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 135294, "Length": 36, "Cover_Rate": 0.4675324675324675} {"Template_token": ["", "unsigned", "ImmOpIdx", "=", "", ";", "switch", "(", "MI", ".", "getOpcode", "(", ")", ")", "{", "default", ":", "return", ";", "case", "", ":", "case", "", ":", "case", "", ":", "case", "", ":", "case", "", ":", "case", "", ":", "case", "", ":", "case", "", ":", "case", "", ":", "case", "", ":", "case", "", ":", "case", "", ":", "case", "", ":", "case", "", ":", "case", "", ":", "case", "", ":", "case", "", ":", "case", "", ":", "case", "", ":", "case", "", ":", "case", "", ":", "ImmOpIdx", "=", "FIOperandNum", "+", "", ";", "break", ";"], "ground_truth": ["}"], "File": "FISCRegisterInfo", "Func": "eliminateFrameIndex", "Target": "FISC", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 135295, "Length": 90, "Cover_Rate": 0.34615384615384615} {"Template_token": ["", "RegisterInfo", "::", "RegisterInfo", "(", ")", ":", "GenRegisterInfo", "(", "", ")", "{"], "ground_truth": ["}"], "File": "FISCRegisterInfo", "Func": "FISCRegisterInfo", "Target": "FISC", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 135296, "Length": 12, "Cover_Rate": 0.8571428571428571} {"Template_token": ["", "RegisterInfo", "::", "RegisterInfo", "(", ")", ":", "GenRegisterInfo", "(", "", ")", "{"], "ground_truth": ["}"], "File": "FISCRegisterInfo", "Func": "FISCRegisterInfo", "Target": "FISC", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 135297, "Length": 12, "Cover_Rate": 0.8571428571428571} {"Template_token": ["", "static", "const", "uint16_t", "CalleeSavedRegs", "[", "]", "=", "{", "", ",", "", ",", "", ",", "", ",", "", ",", "", ",", "", ",", "", ",", "", ",", "", ",", "", "}", ";", "return", "CalleeSavedRegs", ";"], "ground_truth": ["}"], "File": "FISCRegisterInfo", "Func": "getCalleeSavedRegs", "Target": "FISC", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 135298, "Length": 35, "Cover_Rate": 0.5072463768115942} {"Template_token": ["", "const", "uint16_t", "*", "RegisterInfo", "::", "getCalleeSavedRegs", "(", "const", "MachineFunction", "*", "MF", ")", "const", "{", "static", "const", "uint16_t", "CalleeSavedRegs", "[", "]", "=", "{", "", ",", "", ",", "", ",", "", ",", "", ",", "", ",", "", ",", "", ",", "", ",", "", ",", "", "}", ";"], "ground_truth": ["return", "CalleeSavedRegs", ";"], "File": "FISCRegisterInfo", "Func": "getCalleeSavedRegs", "Target": "FISC", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 135299, "Length": 48, "Cover_Rate": 0.6956521739130435} {"Template_token": ["", "const", "uint32_t", "*", "RegisterInfo", "::", "getCallPreservedMask", "(", "const", "MachineFunction", "&", "MF", ",", "CallingConv", "::", "ID", ")", "const", "{"], "ground_truth": ["return", "CC_Save_RegMask", ";"], "File": "FISCRegisterInfo", "Func": "getCallPreservedMask", "Target": "FISC", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 135300, "Length": 21, "Cover_Rate": 0.9545454545454546} {"Template_token": ["", "unsigned", "RegisterInfo", "::", "getFrameRegister", "(", "const", "MachineFunction", "&", "MF", ")", "const", "{"], "ground_truth": ["return", "", ";"], "File": "FISCRegisterInfo", "Func": "getFrameRegister", "Target": "FISC", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 135302, "Length": 15, "Cover_Rate": 0.8333333333333334} {"Template_token": ["", "BitVector", "Reserved", "(", "getNumRegs", "(", ")", ")", ";", "Reserved", ".", "set", "(", "", ")", ";", "Reserved", ".", "set", "(", "", ")", ";"], "ground_truth": ["return", "Reserved", ";"], "File": "FISCRegisterInfo", "Func": "getReservedRegs", "Target": "FISC", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 135303, "Length": 25, "Cover_Rate": 0.5952380952380952} {"Template_token": ["", "BitVector", "Reserved", "(", "getNumRegs", "(", ")", ")", ";", "Reserved", ".", "set", "(", "", ")", ";"], "ground_truth": ["Reserved", ".", "set", "(", "", ")", ";"], "File": "FISCRegisterInfo", "Func": "getReservedRegs", "Target": "FISC", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 135304, "Length": 22, "Cover_Rate": 0.5238095238095238} {"Template_token": ["", "bool", "RegisterInfo", "::", "requiresRegisterScavenging", "(", "const", "MachineFunction", "&", "MF", ")", "const", "{", "return", "true", ";"], "ground_truth": ["}"], "File": "FISCRegisterInfo", "Func": "requiresRegisterScavenging", "Target": "FISC", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 135305, "Length": 16, "Cover_Rate": 1.0} {"Template_token": ["", "bool", "RegisterInfo", "::", "requiresRegisterScavenging", "(", "const", "MachineFunction", "&", "MF", ")", "const", "{", "return", "true", ";"], "ground_truth": ["}"], "File": "FISCRegisterInfo", "Func": "requiresRegisterScavenging", "Target": "FISC", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 135306, "Length": 16, "Cover_Rate": 1.0} {"Template_token": ["", "bool", "RegisterInfo", "::", "trackLivenessAfterRegAlloc", "(", "const", "MachineFunction", "&", "MF", ")", "const", "{", "return", "true", ";"], "ground_truth": ["}"], "File": "FISCRegisterInfo", "Func": "trackLivenessAfterRegAlloc", "Target": "FISC", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 135307, "Length": 16, "Cover_Rate": 1.0} {"Template_token": ["", "bool", "RegisterInfo", "::", "trackLivenessAfterRegAlloc", "(", "const", "MachineFunction", "&", "MF", ")", "const", "{"], "ground_truth": ["return", "true", ";"], "File": "FISCRegisterInfo", "Func": "trackLivenessAfterRegAlloc", "Target": "FISC", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 135308, "Length": 15, "Cover_Rate": 0.9375} {"Template_token": ["", "bool", "RegisterInfo", "::", "useFPForScavengingIndex", "(", "const", "MachineFunction", "&", "MF", ")", "const", "{", "return", "false", ";"], "ground_truth": ["}"], "File": "FISCRegisterInfo", "Func": "useFPForScavengingIndex", "Target": "FISC", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 135309, "Length": 16, "Cover_Rate": 1.0} {"Template_token": ["", "SelectionDAGInfo", "::", "~", "SelectionDAGInfo", "(", ")", "{"], "ground_truth": ["}"], "File": "FISCSelectionDAGInfo", "Func": "~FISCSelectionDAGInfo", "Target": "FISC", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 135310, "Length": 8, "Cover_Rate": 1.0} {"Template_token": ["", "SelectionDAGInfo", "::", "~", "SelectionDAGInfo", "(", ")", "{"], "ground_truth": ["}"], "File": "FISCSelectionDAGInfo", "Func": "~FISCSelectionDAGInfo", "Target": "FISC", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 135311, "Length": 8, "Cover_Rate": 1.0} {"Template_token": ["", "void", "Subtarget", "::", "anchor", "(", ")", "{"], "ground_truth": ["}"], "File": "FISCSubtarget", "Func": "anchor", "Target": "FISC", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 135312, "Length": 8, "Cover_Rate": 1.0} {"Template_token": ["", "void", "Subtarget", "::", "anchor", "(", ")", "{"], "ground_truth": ["}"], "File": "FISCSubtarget", "Func": "anchor", "Target": "FISC", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 135313, "Length": 8, "Cover_Rate": 1.0} {"Template_token": ["", "Subtarget", "::", "Subtarget", "(", "const", "Triple", "&", "TT", ",", "StringRef", "CPU", ",", "StringRef", "FS", ",", "TargetMachine", "&", "TM", ")", ":", "GenSubtargetInfo", "(", "TT", ",", "CPU", ",", "FS", ")", ",", "DL", "(", "", ")", ",", "InstrInfo", "(", ")", ",", "TLInfo", "(", "TM", ")", ",", "TSInfo", "(", ")", ",", "FrameLowering", "(", ")", "{"], "ground_truth": ["InstrItins", "=", "getInstrItineraryForCPU", "(", "CPU", ")", ";"], "File": "FISCSubtarget", "Func": "FISCSubtarget", "Target": "FISC", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 135314, "Length": 58, "Cover_Rate": 0.9830508474576272} {"Template_token": ["", "const", "FrameLowering", "*", "getFrameLowering", "(", ")", "const", "override", "{", "return", "&", "FrameLowering", ";"], "ground_truth": ["}"], "File": "FISCSubtarget", "Func": "getFrameLowering", "Target": "FISC", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 135315, "Length": 14, "Cover_Rate": 1.0} {"Template_token": ["", "const", "InstrInfo", "*", "getInstrInfo", "(", ")", "const", "override", "{", "return", "&", "InstrInfo", ";"], "ground_truth": ["}"], "File": "FISCSubtarget", "Func": "getInstrInfo", "Target": "FISC", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 135316, "Length": 14, "Cover_Rate": 1.0} {"Template_token": ["", "return", "&", "InstrInfo", ";"], "ground_truth": ["}"], "File": "FISCSubtarget", "Func": "getInstrInfo", "Target": "FISC", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 135317, "Length": 5, "Cover_Rate": 0.35714285714285715} {"Template_token": ["", "const", "InstrItineraryData", "*", "getInstrItineraryData", "(", ")", "const", "override", "{"], "ground_truth": ["return", "&", "InstrItins", ";"], "File": "FISCSubtarget", "Func": "getInstrItineraryData", "Target": "FISC", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 135318, "Length": 13, "Cover_Rate": 0.9285714285714286} {"Template_token": ["", "const", "RegisterInfo", "*", "getRegisterInfo", "(", ")", "const", "override", "{", "return", "&", "InstrInfo", ".", "getRegisterInfo", "(", ")", ";"], "ground_truth": ["}"], "File": "FISCSubtarget", "Func": "getRegisterInfo", "Target": "FISC", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 135320, "Length": 18, "Cover_Rate": 1.0} {"Template_token": ["", "return", "&", "TSInfo", ";"], "ground_truth": ["}"], "File": "FISCSubtarget", "Func": "getSelectionDAGInfo", "Target": "FISC", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 135321, "Length": 5, "Cover_Rate": 0.35714285714285715} {"Template_token": ["", "return", "&", "TSInfo", ";"], "ground_truth": ["}"], "File": "FISCSubtarget", "Func": "getSelectionDAGInfo", "Target": "FISC", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 135322, "Length": 5, "Cover_Rate": 0.35714285714285715} {"Template_token": ["", "return", "&", "TLInfo", ";"], "ground_truth": ["}"], "File": "FISCSubtarget", "Func": "getTargetLowering", "Target": "FISC", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 135323, "Length": 5, "Cover_Rate": 0.35714285714285715} {"Template_token": ["", "RegisterTarget", "<", "Triple", "::", "fisc", ">", "X", "(", "TheTarget", ",", "", ",", "", ")", ";"], "ground_truth": ["}"], "File": "FISCTargetInfo", "Func": "LLVMInitializeFISCTargetInfo", "Target": "FISC", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 135325, "Length": 16, "Cover_Rate": 0.7619047619047619} {"Template_token": ["", "addPass", "(", "createISelDag", "(", "getTargetMachine", "(", ")", ",", "getOptLevel", "(", ")", ")", ")", ";", "return", "false", ";"], "ground_truth": ["}"], "File": "FISCTargetMachine", "Func": "addInstSelector", "Target": "FISC", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 135327, "Length": 18, "Cover_Rate": 0.72} {"Template_token": ["", "addPass", "(", "createDelaySlotFillerPass", "(", "getTargetMachine", "(", ")", ")", ")", ";"], "ground_truth": ["}"], "File": "FISCTargetMachine", "Func": "addPreEmitPass", "Target": "FISC", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 135328, "Length": 11, "Cover_Rate": 0.6111111111111112} {"Template_token": ["", "static", "std", "::", "string", "computeDataLayout", "(", "const", "Triple", "&", "TT", ",", "StringRef", "CPU", ",", "const", "TargetOptions", "&", "Options", ")", "{"], "ground_truth": ["return", "", ";"], "File": "FISCTargetMachine", "Func": "computeDataLayout", "Target": "FISC", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 135333, "Length": 23, "Cover_Rate": 0.9583333333333334} {"Template_token": ["", "TargetPassConfig", "*", "TargetMachine", "::", "createPassConfig", "(", "PassManagerBase", "&", "PM", ")", "{", "return", "new", "PassConfig", "(", "this", ",", "PM", ")", ";"], "ground_truth": ["}"], "File": "FISCTargetMachine", "Func": "createPassConfig", "Target": "FISC", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 135334, "Length": 21, "Cover_Rate": 1.0} {"Template_token": ["", "PassConfig", "(", "TargetMachine", "*", "TM", ",", "PassManagerBase", "&", "PM", ")", ":", "TargetPassConfig", "(", "TM", ",", "PM", ")", "{"], "ground_truth": ["}"], "File": "FISCTargetMachine", "Func": "FISCPassConfig", "Target": "FISC", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 135336, "Length": 19, "Cover_Rate": 1.0} {"Template_token": ["", "PassConfig", "(", "TargetMachine", "*", "TM", ",", "PassManagerBase", "&", "PM", ")", ":", "TargetPassConfig", "(", "TM", ",", "PM", ")", "{"], "ground_truth": ["}"], "File": "FISCTargetMachine", "Func": "FISCPassConfig", "Target": "FISC", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 135337, "Length": 19, "Cover_Rate": 1.0} {"Template_token": ["", "TargetMachine", "::", "TargetMachine", "(", "const", "Target", "&", "T", ",", "const", "Triple", "&", "TT", ",", "StringRef", "CPU", ",", "StringRef", "FS", ",", "const", "TargetOptions", "&", "Options", ",", "Reloc", "::", "Model", "RM", ",", "CodeModel", "::", "Model", "CM", ",", "CodeGenOpt", "::", "Level", "OL", ")", ":", "LLVMTargetMachine", "(", "T", ",", "computeDataLayout", "(", "TT", ",", "CPU", ",", "Options", ")", ",", "TT", ",", "CPU", ",", "FS", ",", "Options", ",", "RM", ",", "CM", ",", "OL", ")", ",", "Subtarget", "(", "TT", ",", "CPU", ",", "FS", ",", "*", "this", ")", ",", "TLOF", "(", "make_unique", "<", "TargetLoweringObjectFileELF", ">", "(", ")", ")", "{"], "ground_truth": ["initAsmInfo", "(", ")", ";"], "File": "FISCTargetMachine", "Func": "FISCTargetMachine", "Target": "FISC", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 135338, "Length": 95, "Cover_Rate": 0.9895833333333334} {"Template_token": ["", "TargetMachine", "::", "TargetMachine", "(", "const", "Target", "&", "T", ",", "const", "Triple", "&", "TT", ",", "StringRef", "CPU", ",", "StringRef", "FS", ",", "const", "TargetOptions", "&", "Options", ",", "Reloc", "::", "Model", "RM", ",", "CodeModel", "::", "Model", "CM", ",", "CodeGenOpt", "::", "Level", "OL", ")", ":", "LLVMTargetMachine", "(", "T", ",", "computeDataLayout", "(", "TT", ",", "CPU", ",", "Options", ")", ",", "TT", ",", "CPU", ",", "FS", ",", "Options", ",", "RM", ",", "CM", ",", "OL", ")", ",", "Subtarget", "(", "TT", ",", "CPU", ",", "FS", ",", "*", "this", ")", ",", "TLOF", "(", "make_unique", "<", "TargetLoweringObjectFileELF", ">", "(", ")", ")", "{"], "ground_truth": ["initAsmInfo", "(", ")", ";"], "File": "FISCTargetMachine", "Func": "FISCTargetMachine", "Target": "FISC", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 135339, "Length": 95, "Cover_Rate": 0.9895833333333334} {"Template_token": ["", "TargetMachine", "&", "getTargetMachine", "(", ")", "const", "{", "return", "getTM", "<", "TargetMachine", ">", "(", ")", ";"], "ground_truth": ["}"], "File": "FISCTargetMachine", "Func": "getFISCTargetMachine", "Target": "FISC", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 135340, "Length": 16, "Cover_Rate": 1.0} {"Template_token": ["", "return", "TLOF", ".", "get", "(", ")", ";"], "ground_truth": ["}"], "File": "FISCTargetMachine", "Func": "getObjFileLowering", "Target": "FISC", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 135342, "Length": 8, "Cover_Rate": 0.5} {"Template_token": ["", "return", "TLOF", ".", "get", "(", ")", ";"], "ground_truth": ["}"], "File": "FISCTargetMachine", "Func": "getObjFileLowering", "Target": "FISC", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 135343, "Length": 8, "Cover_Rate": 0.5} {"Template_token": ["", "virtual", "const", "TargetSubtargetInfo", "*", "getSubtargetImpl", "(", "const", "Function", "&", ")", "const", "override", "{"], "ground_truth": ["return", "&", "Subtarget", ";"], "File": "FISCTargetMachine", "Func": "getSubtargetImpl", "Target": "FISC", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 135344, "Length": 17, "Cover_Rate": 0.9444444444444444} {"Template_token": ["", "void", "LLVMInitializeTarget", "(", ")", "{"], "ground_truth": ["RegisterTargetMachine", "<", "TargetMachine", ">", "X", "(", "TheTarget", ")", ";"], "File": "FISCTargetMachine", "Func": "LLVMInitializeFISCTarget", "Target": "FISC", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 135345, "Length": 14, "Cover_Rate": 0.9333333333333333} {"Template_token": ["", "void", "LLVMInitializeTarget", "(", ")", "{", "RegisterTargetMachine", "<", "TargetMachine", ">", "X", "(", "TheTarget", ")", ";"], "ground_truth": ["}"], "File": "FISCTargetMachine", "Func": "LLVMInitializeFISCTarget", "Target": "FISC", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 135346, "Length": 15, "Cover_Rate": 1.0}