{"Template_token": ["", "return", "(", "(", "Value", "&", "", ")", "<<", "", ")", "|", "(", "(", "(", "Value", ">>", "", ")", "&", "", ")", "<<", "", ")", ";", "case", "", ":", "if", "(", "!", "isInt", "<", "", ">", "(", "Value", ")", ")", "Ctx", ".", "reportError", "(", "Fixup", ".", "getLoc", "(", ")", ",", "", ")", ";", "return", "(", "(", "Value", "&", "", ")", "<<", "", ")", "|", "(", "(", "(", "Value", ">>", "", ")", "&", "", ")", "<<", "", ")", ";", "case", "", ":", "if", "(", "!", "isInt", "<", "", ">", "(", "Value", ")", ")", "Ctx", ".", "reportError", "(", "Fixup", ".", "getLoc", "(", ")", ",", "", ")", ";"], "ground_truth": ["return", "Value", ";"], "File": "CAHPAsmBackend", "Func": "adjustFixupValue", "Target": "CAHP", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 4088, "Length": 107, "Cover_Rate": 0.4841628959276018} {"Template_token": ["", "Value", "=", "adjustFixupValue", "(", "Fixup", ",", "Value", ",", "Ctx", ")", ";", "Value", "<<=", "Info", ".", "TargetOffset", ";", "unsigned", "Offset", "=", "Fixup", ".", "getOffset", "(", ")", ";", "unsigned", "NumBytes", "=", "alignTo", "(", "Info", ".", "TargetSize", "+", "Info", ".", "TargetOffset", ",", "", ")", "/", "", ";"], "ground_truth": ["assert", "(", "Offset", "+", "NumBytes", "<=", "Data", ".", "size", "(", ")", "&&", "", ")", ";"], "File": "CAHPAsmBackend", "Func": "applyFixup", "Target": "CAHP", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 4089, "Length": 59, "Cover_Rate": 0.34502923976608185} {"Template_token": ["", "AsmBackend", "(", "uint8_t", "OSABI", ")", ":", "MCAsmBackend", "(", "", ")", ",", "OSABI", "(", "OSABI", ")", "{"], "ground_truth": ["}"], "File": "CAHPAsmBackend", "Func": "CAHPAsmBackend", "Target": "CAHP", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 4090, "Length": 17, "Cover_Rate": 0.8947368421052632} {"Template_token": ["", "AsmBackend", "(", "uint8_t", "OSABI", ")", ":", "MCAsmBackend", "(", "", ")", ",", "OSABI", "(", "OSABI", ")", "{"], "ground_truth": ["}"], "File": "CAHPAsmBackend", "Func": "CAHPAsmBackend", "Target": "CAHP", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 4091, "Length": 17, "Cover_Rate": 0.8947368421052632} {"Template_token": ["", "std", "::", "unique_ptr", "<", "MCObjectTargetWriter", ">", "AsmBackend", "::", "createObjectTargetWriter", "(", ")", "const", "{"], "ground_truth": ["return", "createELFObjectWriter", "(", "OSABI", ")", ";"], "File": "CAHPAsmBackend", "Func": "createObjectTargetWriter", "Target": "CAHP", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 4094, "Length": 19, "Cover_Rate": 0.95} {"Template_token": ["", "if", "(", "Kind", "<", "FirstTargetFixupKind", ")", "return", "MCAsmBackend", "::", "getFixupKindInfo", "(", "Kind", ")", ";", "switch", "(", "(", "unsigned", ")", "Kind", ")", "{", "case", "", ":", "{", "const", "static", "MCFixupKindInfo", "info", "{", "", ",", "", ",", "", ",", "", "}", ";", "return", "info", ";", "}", "case", "", ":", "{", "const", "static", "MCFixupKindInfo", "info", "{", "", ",", "", ",", "", ",", "", "}", ";", "return", "info", ";", "}", "case", "", ":", "{", "const", "static", "MCFixupKindInfo", "info", "{", "", ",", "", ",", "", ",", "MCFixupKindInfo", "::", "FKF_IsPCRel", "}", ";", "return", "info", ";", "}", "case", "", ":", "{", "const", "static", "MCFixupKindInfo", "info", "{", "", ",", "", ",", "", ",", "MCFixupKindInfo", "::", "FKF_IsPCRel", "}", ";", "return", "info", ";", "}", "default", ":", "llvm_unreachable", "(", "", ")", ";", "}"], "ground_truth": ["}"], "File": "CAHPAsmBackend", "Func": "getFixupKindInfo", "Target": "CAHP", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 4097, "Length": 123, "Cover_Rate": 0.8661971830985915} {"Template_token": ["", "return", "", ";"], "ground_truth": ["}"], "File": "CAHPAsmBackend", "Func": "getNumFixupKinds", "Target": "CAHP", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 4098, "Length": 4, "Cover_Rate": 0.3076923076923077} {"Template_token": ["", "return", "", ";"], "ground_truth": ["}"], "File": "CAHPAsmBackend", "Func": "getNumFixupKinds", "Target": "CAHP", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 4099, "Length": 4, "Cover_Rate": 0.3076923076923077} {"Template_token": ["", "for", "(", "uint64_t", "i", "=", "", ";", "i", "<", "Count", ";", "++", "i", ")", "OS", ".", "write", "(", "", ",", "", ")", ";"], "ground_truth": ["return", "true", ";"], "File": "CAHPAsmBackend", "Func": "writeNopData", "Target": "CAHP", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 4103, "Length": 26, "Cover_Rate": 0.4482758620689655} {"Template_token": ["", "~", "AsmBackend", "(", ")", "override", "{"], "ground_truth": ["}"], "File": "CAHPAsmBackend", "Func": "~CAHPAsmBackend", "Target": "CAHP", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 4105, "Length": 7, "Cover_Rate": 1.0} {"Template_token": ["", "~", "AsmBackend", "(", ")", "override", "{"], "ground_truth": ["}"], "File": "CAHPAsmBackend", "Func": "~CAHPAsmBackend", "Target": "CAHP", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 4106, "Length": 7, "Cover_Rate": 1.0} {"Template_token": ["", "IsConstant", "=", "true", ";", "Imm", "=", "CE", "->", "getValue", "(", ")", ";", "}", "if", "(", "IsConstant", ")", "Inst", ".", "addOperand", "(", "MCOperand", "::", "createImm", "(", "Imm", ")", ")", ";"], "ground_truth": ["else", "Inst", ".", "addOperand", "(", "MCOperand", "::", "createExpr", "(", "Expr", ")", ")", ";"], "File": "CAHPAsmParser", "Func": "addExpr", "Target": "CAHP", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 4107, "Length": 42, "Cover_Rate": 0.3652173913043478} {"Template_token": ["", "IsConstant", "=", "RE", "->", "evaluateAsConstant", "(", "Imm", ")", ";", "}", "else", "if", "(", "auto", "*", "CE", "=", "dyn_cast", "<", "MCConstantExpr", ">", "(", "Expr", ")", ")", "{", "IsConstant", "=", "true", ";", "Imm", "=", "CE", "->", "getValue", "(", ")", ";", "}", "if", "(", "IsConstant", ")", "Inst", ".", "addOperand", "(", "MCOperand", "::", "createImm", "(", "Imm", ")", ")", ";", "else", "Inst", ".", "addOperand", "(", "MCOperand", "::", "createExpr", "(", "Expr", ")", ")", ";"], "ground_truth": ["}"], "File": "CAHPAsmParser", "Func": "addExpr", "Target": "CAHP", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 4108, "Length": 69, "Cover_Rate": 0.6} {"Template_token": ["", "addExpr", "(", "Inst", ",", "getImm", "(", ")", ")", ";"], "ground_truth": ["}"], "File": "CAHPAsmParser", "Func": "addImmOperands", "Target": "CAHP", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 4109, "Length": 10, "Cover_Rate": 0.3225806451612903} {"Template_token": ["", "Inst", ".", "addOperand", "(", "MCOperand", "::", "createReg", "(", "getReg", "(", ")", ")", ")", ";"], "ground_truth": ["}"], "File": "CAHPAsmParser", "Func": "addRegOperands", "Target": "CAHP", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 4111, "Length": 15, "Cover_Rate": 0.4166666666666667} {"Template_token": ["", "AsmParser", "(", "const", "MCSubtargetInfo", "&", "STI", ",", "MCAsmParser", "&", "Parser", ",", "const", "MCInstrInfo", "&", "MII", ",", "const", "MCTargetOptions", "&", "Options", ")", ":", "MCTargetAsmParser", "(", "Options", ",", "STI", ",", "MII", ")", "{", "setAvailableFeatures", "(", "ComputeAvailableFeatures", "(", "STI", ".", "getFeatureBits", "(", ")", ")", ")", ";"], "ground_truth": ["}"], "File": "CAHPAsmParser", "Func": "CAHPAsmParser", "Target": "CAHP", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 4112, "Length": 44, "Cover_Rate": 1.0} {"Template_token": ["", "Reg", "=", "o", ".", "Reg", ";", "break", ";", "case", "Immediate", ":", "Imm", "=", "o", ".", "Imm", ";", "break", ";", "case", "Token", ":", "Tok", "=", "o", ".", "Tok", ";", "break", ";", "}"], "ground_truth": ["}"], "File": "CAHPAsmParser", "Func": "CAHPOperand", "Target": "CAHP", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 4113, "Length": 32, "Cover_Rate": 0.45714285714285713} {"Template_token": ["", "}", "if", "(", "isa", "<", "MCConstantExpr", ">", "(", "Expr", ")", "||", "isa", "<", "MCSymbolRefExpr", ">", "(", "Expr", ")", ")", "return", "true", ";", "const", "MCBinaryExpr", "*", "BE", "=", "dyn_cast", "<", "MCBinaryExpr", ">", "(", "Expr", ")", ";", "if", "(", "!", "BE", ")", "return", "false", ";", "if", "(", "!", "isa", "<", "MCSymbolRefExpr", ">", "(", "BE", "->", "getLHS", "(", ")", ")", ")", "return", "false", ";", "if", "(", "BE", "->", "getOpcode", "(", ")", "!=", "MCBinaryExpr", "::", "Add", "&&", "BE", "->", "getOpcode", "(", ")", "!=", "MCBinaryExpr", "::", "Sub", ")", "return", "false", ";", "if", "(", "BE", "->", "getOpcode", "(", ")", "==", "MCBinaryExpr", "::", "Sub", "&&", "isa", "<", "MCSymbolRefExpr", ">", "(", "BE", "->", "getRHS", "(", ")", ")", ")", "return", "true", ";"], "ground_truth": ["auto", "AddendExpr", "=", "dyn_cast", "<", "MCConstantExpr", ">", "(", "BE", "->", "getRHS", "(", ")", ")", ";"], "File": "CAHPAsmParser", "Func": "classifySymbolRef", "Target": "CAHP", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 4114, "Length": 128, "Cover_Rate": 0.5517241379310345} {"Template_token": ["", "bool", "AsmParser", "::", "classifySymbolRef", "(", "const", "MCExpr", "*", "Expr", ",", "MCExpr", "::", "VariantKind", "&", "Kind", ",", "int64_t", "&", "Addend", ")", "{", "Kind", "=", "MCExpr", "::", "VK__None", ";", "Addend", "=", "", ";", "if", "(", "const", "MCExpr", "*", "RE", "=", "dyn_cast", "<", "MCExpr", ">", "(", "Expr", ")", ")", "{", "Kind", "=", "RE", "->", "getKind", "(", ")", ";", "Expr", "=", "RE", "->", "getSubExpr", "(", ")", ";", "}", "if", "(", "isa", "<", "MCConstantExpr", ">", "(", "Expr", ")", "||", "isa", "<", "MCSymbolRefExpr", ">", "(", "Expr", ")", ")", "return", "true", ";", "const", "MCBinaryExpr", "*", "BE", "=", "dyn_cast", "<", "MCBinaryExpr", ">", "(", "Expr", ")", ";"], "ground_truth": ["if", "(", "!", "BE", ")", "return", "false", ";"], "File": "CAHPAsmParser", "Func": "classifySymbolRef", "Target": "CAHP", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 4115, "Length": 106, "Cover_Rate": 0.45689655172413796} {"Template_token": ["", "auto", "Op", "=", "make_unique", "<", "Operand", ">", "(", "Immediate", ")", ";", "Op", "->", "Imm", ".", "Val", "=", "Val", ";", "Op", "->", "StartLoc", "=", "S", ";", "Op", "->", "EndLoc", "=", "E", ";", "return", "Op", ";"], "ground_truth": ["}"], "File": "CAHPAsmParser", "Func": "createImm", "Target": "CAHP", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 4116, "Length": 35, "Cover_Rate": 0.625} {"Template_token": ["", "auto", "Op", "=", "make_unique", "<", "Operand", ">", "(", "Register", ")", ";", "Op", "->", "Reg", ".", "RegNum", "=", "RegNo", ";", "Op", "->", "StartLoc", "=", "S", ";", "Op", "->", "EndLoc", "=", "E", ";"], "ground_truth": ["return", "Op", ";"], "File": "CAHPAsmParser", "Func": "createReg", "Target": "CAHP", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 4118, "Length": 34, "Cover_Rate": 0.6296296296296297} {"Template_token": ["", "static", "std", "::", "unique_ptr", "<", "Operand", ">", "createToken", "(", "StringRef", "Str", ",", "SMLoc", "S", ")", "{", "auto", "Op", "=", "make_unique", "<", "Operand", ">", "(", "Token", ")", ";", "Op", "->", "Tok", "=", "Str", ";", "Op", "->", "StartLoc", "=", "S", ";"], "ground_truth": ["Op", "->", "EndLoc", "=", "S", ";"], "File": "CAHPAsmParser", "Func": "createToken", "Target": "CAHP", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 4119, "Length": 45, "Cover_Rate": 0.9183673469387755} {"Template_token": ["", "bool", "evaluateConstantImm", "(", "int64_t", "&", "Imm", ",", "MCExpr", "::", "VariantKind", "&", "VK", ")", "const", "{", "const", "MCExpr", "*", "Val", "=", "getImm", "(", ")", ";", "bool", "Ret", "=", "false", ";"], "ground_truth": ["if", "(", "auto", "*", "RE", "=", "dyn_cast", "<", "MCExpr", ">", "(", "Val", ")", ")", "{"], "File": "CAHPAsmParser", "Func": "evaluateConstantImm", "Target": "CAHP", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 4120, "Length": 44, "Cover_Rate": 0.44} {"Template_token": ["", "bool", "AsmParser", "::", "generateImmOutOfRangeError", "(", "OperandVector", "&", "Operands", ",", "uint64_t", "ErrorInfo", ",", "int64_t", "Lower", ",", "int64_t", "Upper", ",", "Twine", "Msg", "=", "", ")", "{", "SMLoc", "ErrorLoc", "=", "(", "(", "Operand", "&", ")", "*", "Operands", "[", "ErrorInfo", "]", ")", ".", "getStartLoc", "(", ")", ";", "return", "Error", "(", "ErrorLoc", ",", "Msg", "+", "", "+", "Twine", "(", "Lower", ")", "+", "", "+", "Twine", "(", "Upper", ")", "+", "", ")", ";"], "ground_truth": ["}"], "File": "CAHPAsmParser", "Func": "generateImmOutOfRangeError", "Target": "CAHP", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 4121, "Length": 68, "Cover_Rate": 1.0} {"Template_token": ["", "int64_t", "getConstantImm", "(", ")", "const", "{", "const", "MCExpr", "*", "Val", "=", "getImm", "(", ")", ";", "return", "static_cast", "<", "const", "MCConstantExpr", "*", ">", "(", "Val", ")", "->", "getValue", "(", ")", ";"], "ground_truth": ["}"], "File": "CAHPAsmParser", "Func": "getConstantImm", "Target": "CAHP", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 4123, "Length": 31, "Cover_Rate": 1.0} {"Template_token": ["", "const", "MCExpr", "*", "Val", "=", "getImm", "(", ")", ";"], "ground_truth": ["return", "static_cast", "<", "const", "MCConstantExpr", "*", ">", "(", "Val", ")", "->", "getValue", "(", ")", ";"], "File": "CAHPAsmParser", "Func": "getConstantImm", "Target": "CAHP", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 4124, "Length": 24, "Cover_Rate": 0.7741935483870968} {"Template_token": ["", "return", "EndLoc", ";"], "ground_truth": ["}"], "File": "CAHPAsmParser", "Func": "getEndLoc", "Target": "CAHP", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 4125, "Length": 4, "Cover_Rate": 0.36363636363636365} {"Template_token": ["", "const", "MCExpr", "*", "getImm", "(", ")", "const", "{"], "ground_truth": ["assert", "(", "Kind", "==", "Immediate", "&&", "", ")", ";"], "File": "CAHPAsmParser", "Func": "getImm", "Target": "CAHP", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 4127, "Length": 17, "Cover_Rate": 0.7391304347826086} {"Template_token": ["", "SMLoc", "getLoc", "(", ")", "const", "{"], "ground_truth": ["return", "getParser", "(", ")", ".", "getTok", "(", ")", ".", "getLoc", "(", ")", ";"], "File": "CAHPAsmParser", "Func": "getLoc", "Target": "CAHP", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 4128, "Length": 19, "Cover_Rate": 0.95} {"Template_token": ["", "unsigned", "getReg", "(", ")", "const", "override", "{"], "ground_truth": ["assert", "(", "Kind", "==", "Register", "&&", "", ")", ";"], "File": "CAHPAsmParser", "Func": "getReg", "Target": "CAHP", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 4130, "Length": 16, "Cover_Rate": 0.7272727272727273} {"Template_token": ["", "SMLoc", "getStartLoc", "(", ")", "const", "override", "{", "return", "StartLoc", ";"], "ground_truth": ["}"], "File": "CAHPAsmParser", "Func": "getStartLoc", "Target": "CAHP", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 4132, "Length": 11, "Cover_Rate": 1.0} {"Template_token": ["", "return", "StartLoc", ";"], "ground_truth": ["}"], "File": "CAHPAsmParser", "Func": "getStartLoc", "Target": "CAHP", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 4133, "Length": 4, "Cover_Rate": 0.36363636363636365} {"Template_token": ["", "StringRef", "getToken", "(", ")", "const", "{", "assert", "(", "Kind", "==", "Token", "&&", "", ")", ";"], "ground_truth": ["return", "Tok", ";"], "File": "CAHPAsmParser", "Func": "getToken", "Target": "CAHP", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 4134, "Length": 18, "Cover_Rate": 0.9473684210526315} {"Template_token": ["", "if", "(", "IsConstantImm", ")", "IsValid", "=", "pred", "(", "Imm", ")", ";"], "ground_truth": ["else", "IsValid", "=", "AsmParser", "::", "classifySymbolRef", "(", "getImm", "(", ")", ",", "VK", ",", "Imm", ")", ";"], "File": "CAHPAsmParser", "Func": "isBareImm", "Target": "CAHP", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 4135, "Length": 27, "Cover_Rate": 0.35526315789473684} {"Template_token": ["", "bool", "IsConstantImm", "=", "evaluateConstantImm", "(", "Imm", ",", "VK", ")", ";", "if", "(", "IsConstantImm", ")", "IsValid", "=", "pred", "(", "Imm", ")", ";", "else", "IsValid", "=", "AsmParser", "::", "classifySymbolRef", "(", "getImm", "(", ")", ",", "VK", ",", "Imm", ")", ";", "return", "IsValid", "&&", "VK", "==", "MCExpr", "::", "VK__None", ";"], "ground_truth": ["}"], "File": "CAHPAsmParser", "Func": "isBareImm", "Target": "CAHP", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 4136, "Length": 47, "Cover_Rate": 0.618421052631579} {"Template_token": ["", "bool", "isBareSImm10", "(", ")", "const", "{"], "ground_truth": ["return", "isBareImm", "(", "isInt", "<", "", ">", ")", ";"], "File": "CAHPAsmParser", "Func": "isBareSImm10", "Target": "CAHP", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 4137, "Length": 15, "Cover_Rate": 0.9375} {"Template_token": ["", "return", "Kind", "==", "Immediate", ";"], "ground_truth": ["}"], "File": "CAHPAsmParser", "Func": "isImm", "Target": "CAHP", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 4139, "Length": 6, "Cover_Rate": 0.46153846153846156} {"Template_token": ["", "bool", "isMem", "(", ")", "const", "override", "{"], "ground_truth": ["return", "false", ";"], "File": "CAHPAsmParser", "Func": "isMem", "Target": "CAHP", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 4141, "Length": 10, "Cover_Rate": 0.9090909090909091} {"Template_token": ["", "return", "false", ";"], "ground_truth": ["}"], "File": "CAHPAsmParser", "Func": "isMem", "Target": "CAHP", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 4142, "Length": 4, "Cover_Rate": 0.36363636363636365} {"Template_token": ["", "return", "Kind", "==", "Register", ";"], "ground_truth": ["}"], "File": "CAHPAsmParser", "Func": "isReg", "Target": "CAHP", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 4144, "Length": 6, "Cover_Rate": 0.46153846153846156} {"Template_token": ["", "if", "(", "IsConstantImm", ")", "IsValid", "=", "isInt", "<", "", ">", "(", "Imm", ")", ";"], "ground_truth": ["else", "IsValid", "=", "AsmParser", "::", "classifySymbolRef", "(", "getImm", "(", ")", ",", "VK", ",", "Imm", ")", ";"], "File": "CAHPAsmParser", "Func": "isSImm10", "Target": "CAHP", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 4145, "Length": 30, "Cover_Rate": 0.33707865168539325} {"Template_token": ["", "bool", "IsConstantImm", "=", "evaluateConstantImm", "(", "Imm", ",", "VK", ")", ";", "if", "(", "IsConstantImm", ")", "IsValid", "=", "isInt", "<", "", ">", "(", "Imm", ")", ";", "else", "IsValid", "=", "AsmParser", "::", "classifySymbolRef", "(", "getImm", "(", ")", ",", "VK", ",", "Imm", ")", ";"], "ground_truth": ["return", "IsValid", "&&", "(", "(", "IsConstantImm", "&&", "VK", "==", "MCExpr", "::", "VK__None", ")", "||", "VK", "==", "MCExpr", "::", "VK__LO", ")", ";"], "File": "CAHPAsmParser", "Func": "isSImm10", "Target": "CAHP", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 4146, "Length": 61, "Cover_Rate": 0.6853932584269663} {"Template_token": ["", "return", "isBareImm", "(", "isInt", "<", "", ">", ")", ";"], "ground_truth": ["}"], "File": "CAHPAsmParser", "Func": "isSImm11", "Target": "CAHP", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 4147, "Length": 10, "Cover_Rate": 0.625} {"Template_token": ["", "bool", "isSImm11Lsb0", "(", ")", "const", "{", "return", "isBareImm", "(", "isShiftedInt", "<", "", ",", "", ">", ")", ";"], "ground_truth": ["}"], "File": "CAHPAsmParser", "Func": "isSImm11Lsb0", "Target": "CAHP", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 4150, "Length": 18, "Cover_Rate": 1.0} {"Template_token": ["", "if", "(", "IsConstantImm", ")", "IsValid", "=", "isInt", "<", "", ">", "(", "Imm", ")", ";"], "ground_truth": ["else", "IsValid", "=", "AsmParser", "::", "classifySymbolRef", "(", "getImm", "(", ")", ",", "VK", ",", "Imm", ")", ";"], "File": "CAHPAsmParser", "Func": "isSImm6", "Target": "CAHP", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 4151, "Length": 30, "Cover_Rate": 0.33707865168539325} {"Template_token": ["", "bool", "isSImm6", "(", ")", "const", "{", "if", "(", "!", "isImm", "(", ")", ")", "return", "false", ";", "MCExpr", "::", "VariantKind", "VK", ";", "int64_t", "Imm", ";", "bool", "IsValid", ";", "bool", "IsConstantImm", "=", "evaluateConstantImm", "(", "Imm", ",", "VK", ")", ";", "if", "(", "IsConstantImm", ")", "IsValid", "=", "isInt", "<", "", ">", "(", "Imm", ")", ";"], "ground_truth": ["else", "IsValid", "=", "AsmParser", "::", "classifySymbolRef", "(", "getImm", "(", ")", ",", "VK", ",", "Imm", ")", ";"], "File": "CAHPAsmParser", "Func": "isSImm6", "Target": "CAHP", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 4152, "Length": 67, "Cover_Rate": 0.7528089887640449} {"Template_token": ["", "return", "Kind", "==", "Token", ";"], "ground_truth": ["}"], "File": "CAHPAsmParser", "Func": "isToken", "Target": "CAHP", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 4153, "Length": 6, "Cover_Rate": 0.46153846153846156} {"Template_token": ["", "bool", "isUImm4", "(", ")", "const", "{", "return", "isBareImm", "(", "isUInt", "<", "", ">", ")", ";"], "ground_truth": ["}"], "File": "CAHPAsmParser", "Func": "isUImm4", "Target": "CAHP", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 4155, "Length": 16, "Cover_Rate": 1.0} {"Template_token": ["", "return", "isBareImm", "(", "isUInt", "<", "", ">", ")", ";"], "ground_truth": ["}"], "File": "CAHPAsmParser", "Func": "isUImm4", "Target": "CAHP", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 4156, "Length": 10, "Cover_Rate": 0.625} {"Template_token": ["", "return", "isBareImm", "(", "isShiftedUInt", "<", "", ",", "", ">", ")", ";"], "ground_truth": ["}"], "File": "CAHPAsmParser", "Func": "isUImm7Lsb0", "Target": "CAHP", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 4158, "Length": 12, "Cover_Rate": 0.6666666666666666} {"Template_token": ["", "void", "LLVMInitializeAsmParser", "(", ")", "{", "RegisterMCAsmParser", "<", "AsmParser", ">", "X", "(", "getTheTarget", "(", ")", ")", ";"], "ground_truth": ["}"], "File": "CAHPAsmParser", "Func": "LLVMInitializeCAHPAsmParser", "Target": "CAHP", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 4159, "Length": 17, "Cover_Rate": 1.0} {"Template_token": ["", "void", "LLVMInitializeAsmParser", "(", ")", "{", "RegisterMCAsmParser", "<", "AsmParser", ">", "X", "(", "getTheTarget", "(", ")", ")", ";"], "ground_truth": ["}"], "File": "CAHPAsmParser", "Func": "LLVMInitializeCAHPAsmParser", "Target": "CAHP", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 4160, "Length": 17, "Cover_Rate": 1.0} {"Template_token": ["", "unsigned", "Res", "=", "MatchInstructionImpl", "(", "Operands", ",", "Inst", ",", "ErrorInfo", ",", "MatchingInlineAsm", ")", ";", "switch", "(", "Res", ")", "{", "default", ":", "break", ";", "case", "Match_Success", ":", "Inst", ".", "setLoc", "(", "IDLoc", ")", ";", "Out", ".", "EmitInstruction", "(", "Inst", ",", "getSTI", "(", ")", ")", ";", "return", "false", ";", "case", "Match_MissingFeature", ":", "return", "Error", "(", "IDLoc", ",", "", ")", ";", "case", "Match_MnemonicFail", ":", "return", "Error", "(", "IDLoc", ",", "", ")", ";", "case", "Match_InvalidOperand", ":", "{", "SMLoc", "ErrorLoc", "=", "IDLoc", ";", "if", "(", "ErrorInfo", "!=", "~", "", ")", "{", "if", "(", "ErrorInfo", ">=", "Operands", ".", "size", "(", ")", ")", "return", "Error", "(", "ErrorLoc", ",", "", ")", ";", "ErrorLoc", "=", "(", "(", "Operand", "&", ")", "*", "Operands", "[", "ErrorInfo", "]", ")", ".", "getStartLoc", "(", ")", ";", "if", "(", "ErrorLoc", "==", "SMLoc", "(", ")", ")", "ErrorLoc", "=", "IDLoc", ";", "}", "return", "Error", "(", "ErrorLoc", ",", "", ")", ";", "}", "}", "Operand", "&", "Operand", "=", "(", "Operand", "&", ")", "*", "Operands", "[", "ErrorInfo", "]", ";", "if", "(", "!", "Operand", ".", "isImm", "(", ")", ")", "return", "Error", "(", "Operand", ".", "getStartLoc", "(", ")", ",", "", ")", ";", "switch", "(", "Res", ")", "{", "case", "Match_InvalidSImm", "##", "nbits", ":", "\\", "return", "generateImmOutOfRangeError", "(", "\\", "Operands", ",", "ErrorInfo", ",", "-", "(", "", "<<", "(", "nbits", "-", "", ")", ")", ",", "(", "", "<<", "(", "nbits", "-", "", ")", ")", "-", "", ")", ";", "case", "Match_InvalidUImm", "##", "nbits", ":", "\\", "return", "generateImmOutOfRangeError", "(", "Operands", ",", "ErrorInfo", ",", "", ",", "(", "", "<<", "nbits", ")", "-", "", ")", ";", "case", "Match_InvalidSImm", "##", "nbits", "##", "Lsb0", ":", "\\", "return", "generateImmOutOfRangeError", "(", "\\", "Operands", ",", "ErrorInfo", ",", "-", "(", "", "<<", "(", "nbits", "-", "", ")", ")", ",", "(", "", "<<", "(", "nbits", "-", "", ")", ")", "-", "", ",", "\\", "", ")", ";", "case", "Match_InvalidUImm", "##", "nbits", "##", "Lsb0", ":", "\\", "return", "generateImmOutOfRangeError", "(", "\\", "Operands", ",", "ErrorInfo", ",", "", ",", "(", "", "<<", "nbits", ")", "-", "", ",", "\\", "", ")", ";", "CASE_MATCH_INVALID_UIMM", "(", "", ")", ";", "CASE_MATCH_INVALID_SIMM", "(", "", ")", ";", "CASE_MATCH_INVALID_UIMM_LSB0", "(", "", ")", ";", "case", "Match_InvalidSImm6", ":", "return", "generateImmOutOfRangeError", "(", "Operands", ",", "ErrorInfo", ",", "-", "(", "", "<<", "", ")", ",", "(", "", "<<", "", ")", "-", "", ",", "", "", ")", ";"], "ground_truth": ["case", "Match_InvalidSImm10", ":"], "File": "CAHPAsmParser", "Func": "MatchAndEmitInstruction", "Target": "CAHP", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 4161, "Length": 367, "Cover_Rate": 0.851508120649652} {"Template_token": ["", "case", "Match_InvalidUImm", "##", "nbits", ":", "\\", "return", "generateImmOutOfRangeError", "(", "Operands", ",", "ErrorInfo", ",", "", ",", "(", "", "<<", "nbits", ")", "-", "", ")", ";", "case", "Match_InvalidSImm", "##", "nbits", "##", "Lsb0", ":", "\\", "return", "generateImmOutOfRangeError", "(", "\\", "Operands", ",", "ErrorInfo", ",", "-", "(", "", "<<", "(", "nbits", "-", "", ")", ")", ",", "(", "", "<<", "(", "nbits", "-", "", ")", ")", "-", "", ",", "\\", "", ")", ";", "case", "Match_InvalidUImm", "##", "nbits", "##", "Lsb0", ":", "\\", "return", "generateImmOutOfRangeError", "(", "\\", "Operands", ",", "ErrorInfo", ",", "", ",", "(", "", "<<", "nbits", ")", "-", "", ",", "\\", "", ")", ";", "CASE_MATCH_INVALID_UIMM", "(", "", ")", ";", "CASE_MATCH_INVALID_SIMM", "(", "", ")", ";", "CASE_MATCH_INVALID_UIMM_LSB0", "(", "", ")", ";", "case", "Match_InvalidSImm6", ":", "return", "generateImmOutOfRangeError", "(", "Operands", ",", "ErrorInfo", ",", "-", "(", "", "<<", "", ")", ",", "(", "", "<<", "", ")", "-", "", ",", "", "", ")", ";", "case", "Match_InvalidSImm10", ":", "return", "generateImmOutOfRangeError", "(", "Operands", ",", "ErrorInfo", ",", "-", "(", "", "<<", "", ")", ",", "(", "", "<<", "", ")", "-", "", ",", "", "", ")", ";", "}"], "ground_truth": ["llvm_unreachable", "(", "", ")", ";"], "File": "CAHPAsmParser", "Func": "MatchAndEmitInstruction", "Target": "CAHP", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 4162, "Length": 176, "Cover_Rate": 0.40835266821345706} {"Template_token": ["", "bool", "AsmParser", "::", "ParseDirective", "(", "AsmToken", "DirectiveID", ")", "{", "return", "true", ";"], "ground_truth": ["}"], "File": "CAHPAsmParser", "Func": "ParseDirective", "Target": "CAHP", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 4163, "Length": 13, "Cover_Rate": 1.0} {"Template_token": ["", "return", "true", ";"], "ground_truth": ["}"], "File": "CAHPAsmParser", "Func": "ParseDirective", "Target": "CAHP", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 4164, "Length": 4, "Cover_Rate": 0.3076923076923077} {"Template_token": ["", "StringRef", "Identifier", ";", "if", "(", "getParser", "(", ")", ".", "parseIdentifier", "(", "Identifier", ")", ")", "return", "MatchOperand_ParseFail", ";", "MCSymbol", "*", "Sym", "=", "getContext", "(", ")", ".", "getOrCreateSymbol", "(", "Identifier", ")", ";", "Res", "=", "MCSymbolRefExpr", "::", "create", "(", "Sym", ",", "MCSymbolRefExpr", "::", "VK_None", ",", "getContext", "(", ")", ")", ";", "break", ";", "}", "case", "AsmToken", "::", "Percent", ":", "{"], "ground_truth": ["return", "parseOperandWithModifier", "(", "Operands", ")", ";"], "File": "CAHPAsmParser", "Func": "parseImmediate", "Target": "CAHP", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 4165, "Length": 62, "Cover_Rate": 0.33513513513513515} {"Template_token": ["", "}", "if", "(", "getLexer", "(", ")", ".", "isNot", "(", "AsmToken", "::", "EndOfStatement", ")", ")", "{", "SMLoc", "Loc", "=", "getLexer", "(", ")", ".", "getLoc", "(", ")", ";", "getParser", "(", ")", ".", "eatToEndOfStatement", "(", ")", ";", "return", "Error", "(", "Loc", ",", "", ")", ";", "}", "getParser", "(", ")", ".", "Lex", "(", ")", ";"], "ground_truth": ["return", "false", ";"], "File": "CAHPAsmParser", "Func": "ParseInstruction", "Target": "CAHP", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 4166, "Length": 54, "Cover_Rate": 0.3673469387755102} {"Template_token": ["", "return", "MatchOperand_ParseFail", ";", "}", "if", "(", "getLexer", "(", ")", ".", "isNot", "(", "AsmToken", "::", "RParen", ")", ")", "{", "Error", "(", "getLoc", "(", ")", ",", "", ")", ";", "return", "MatchOperand_ParseFail", ";", "}", "getParser", "(", ")", ".", "Lex", "(", ")", ";", "Operands", ".", "push_back", "(", "", "(", "", ",", "getLoc", "(", ")", ")", ")", ";", "return", "MatchOperand_Success", ";"], "ground_truth": ["}"], "File": "CAHPAsmParser", "Func": "parseMemOpBaseReg", "Target": "CAHP", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 4167, "Length": 57, "Cover_Rate": 0.41007194244604317} {"Template_token": ["", "if", "(", "getLexer", "(", ")", ".", "is", "(", "AsmToken", "::", "LParen", ")", ")", "return", "parseMemOpBaseReg", "(", "Operands", ")", "!=", "MatchOperand_Success", ";", "return", "false", ";"], "ground_truth": ["}"], "File": "CAHPAsmParser", "Func": "parseOperand", "Target": "CAHP", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 4168, "Length": 25, "Cover_Rate": 0.35714285714285715} {"Template_token": ["", "switch", "(", "getLexer", "(", ")", ".", "getKind", "(", ")", ")", "{", "default", ":", "return", "MatchOperand_NoMatch", ";", "case", "AsmToken", "::", "Identifier", ":", "StringRef", "Name", "=", "getLexer", "(", ")", ".", "getTok", "(", ")", ".", "getIdentifier", "(", ")", ";", "unsigned", "RegNo", "=", "MatchRegisterName", "(", "Name", ")", ";", "if", "(", "RegNo", "==", "", ")", "{", "RegNo", "=", "MatchRegisterAltName", "(", "Name", ")", ";", "if", "(", "RegNo", "==", "", ")", "return", "MatchOperand_NoMatch", ";", "}", "getLexer", "(", ")", ".", "Lex", "(", ")", ";", "Operands", ".", "push_back", "(", "", "(", "RegNo", ",", "S", ",", "E", ")", ")", ";"], "ground_truth": ["}"], "File": "CAHPAsmParser", "Func": "ParseRegister", "Target": "CAHP", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 4169, "Length": 91, "Cover_Rate": 0.7} {"Template_token": ["", "switch", "(", "getLexer", "(", ")", ".", "getKind", "(", ")", ")", "{", "default", ":", "return", "MatchOperand_NoMatch", ";", "case", "AsmToken", "::", "Identifier", ":", "StringRef", "Name", "=", "getLexer", "(", ")", ".", "getTok", "(", ")", ".", "getIdentifier", "(", ")", ";", "unsigned", "RegNo", "=", "MatchRegisterName", "(", "Name", ")", ";", "if", "(", "RegNo", "==", "", ")", "{", "RegNo", "=", "MatchRegisterAltName", "(", "Name", ")", ";", "if", "(", "RegNo", "==", "", ")", "return", "MatchOperand_NoMatch", ";", "}", "getLexer", "(", ")", ".", "Lex", "(", ")", ";", "Operands", ".", "push_back", "(", "", "(", "RegNo", ",", "S", ",", "E", ")", ")", ";", "}", "return", "MatchOperand_Success", ";"], "ground_truth": ["}"], "File": "CAHPAsmParser", "Func": "ParseRegister", "Target": "CAHP", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 4170, "Length": 95, "Cover_Rate": 0.7307692307692307} {"Template_token": ["", "break", ";", "case", "Register", ":", "OS", "<<", "", ";", "OS", "<<", "getReg", "(", ")", "<<", "", ";", "break", ";"], "ground_truth": ["case", "Token", ":"], "File": "CAHPAsmParser", "Func": "print", "Target": "CAHP", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 4171, "Length": 22, "Cover_Rate": 0.36065573770491804} {"Template_token": ["", "explicit", "AsmPrinter", "(", "TargetMachine", "&", "TM", ",", "std", "::", "unique_ptr", "<", "MCStreamer", ">", "Streamer", ")", ":", "AsmPrinter", "(", "TM", ",", "std", "::", "move", "(", "Streamer", ")", ")", "{"], "ground_truth": ["}"], "File": "CAHPAsmPrinter", "Func": "CAHPAsmPrinter", "Target": "CAHP", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 4172, "Length": 29, "Cover_Rate": 1.0} {"Template_token": ["", "explicit", "AsmPrinter", "(", "TargetMachine", "&", "TM", ",", "std", "::", "unique_ptr", "<", "MCStreamer", ">", "Streamer", ")", ":", "AsmPrinter", "(", "TM", ",", "std", "::", "move", "(", "Streamer", ")", ")", "{"], "ground_truth": ["}"], "File": "CAHPAsmPrinter", "Func": "CAHPAsmPrinter", "Target": "CAHP", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 4173, "Length": 29, "Cover_Rate": 1.0} {"Template_token": ["", "bool", "Res", "=", "compressInst", "(", "CInst", ",", "TmpInst", ",", "*", "TM", ".", "getMCSubtargetInfo", "(", ")", ",", "OutStreamer", "->", "getContext", "(", ")", ")", ";"], "ground_truth": ["EmitToStreamer", "(", "*", "OutStreamer", ",", "Res", "?", "CInst", ":", "TmpInst", ")", ";"], "File": "CAHPAsmPrinter", "Func": "EmitInstruction", "Target": "CAHP", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 4174, "Length": 35, "Cover_Rate": 0.47297297297297297} {"Template_token": ["", "return", "", ";"], "ground_truth": ["}"], "File": "CAHPAsmPrinter", "Func": "getPassName", "Target": "CAHP", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 4175, "Length": 4, "Cover_Rate": 0.36363636363636365} {"Template_token": ["", "void", "LLVMInitializeAsmPrinter", "(", ")", "{"], "ground_truth": ["RegisterAsmPrinter", "<", "AsmPrinter", ">", "X", "(", "getTheTarget", "(", ")", ")", ";"], "File": "CAHPAsmPrinter", "Func": "LLVMInitializeCAHPAsmPrinter", "Target": "CAHP", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 4177, "Length": 16, "Cover_Rate": 0.9411764705882353} {"Template_token": ["", "if", "(", "!", "MO", ".", "isReg", "(", ")", ")", "return", "true", ";", "OS", "<<", "", "<<", "InstPrinter", "::", "getRegisterName", "(", "MO", ".", "getReg", "(", ")", ")", "<<", "", ";", "return", "false", ";", "}"], "ground_truth": ["return", "AsmPrinter", "::", "PrintAsmMemoryOperand", "(", "MI", ",", "OpNo", ",", "ExtraCode", ",", "OS", ")", ";"], "File": "CAHPAsmPrinter", "Func": "PrintAsmMemoryOperand", "Target": "CAHP", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 4179, "Length": 47, "Cover_Rate": 0.5280898876404494} {"Template_token": ["", "if", "(", "!", "ExtraCode", ")", "{", "const", "MachineOperand", "&", "MO", "=", "MI", "->", "getOperand", "(", "OpNo", ")", ";", "switch", "(", "MO", ".", "getType", "(", ")", ")", "{", "case", "MachineOperand", "::", "MO_Immediate", ":", "OS", "<<", "MO", ".", "getImm", "(", ")", ";", "return", "false", ";"], "ground_truth": ["case", "MachineOperand", "::", "MO_Register", ":"], "File": "CAHPAsmPrinter", "Func": "PrintAsmOperand", "Target": "CAHP", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 4180, "Length": 48, "Cover_Rate": 0.41379310344827586} {"Template_token": ["", "if", "(", "Inst", ".", "getOpcode", "(", ")", "==", "", "||", "Inst", ".", "getOpcode", "(", ")", "==", "", ")", "DecodeGPRRegisterClass", "(", "Inst", ",", "", ",", "Address", ",", "Decoder", ")", ";"], "ground_truth": ["}"], "File": "CAHPDisassembler", "Func": "addImplySP", "Target": "CAHP", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 4182, "Length": 30, "Cover_Rate": 0.5882352941176471} {"Template_token": ["", "Disassembler", "(", "const", "MCSubtargetInfo", "&", "STI", ",", "MCContext", "&", "Ctx", ")", ":", "MCDisassembler", "(", "STI", ",", "Ctx", ")", "{"], "ground_truth": ["}"], "File": "CAHPDisassembler", "Func": "CAHPDisassembler", "Target": "CAHP", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 4183, "Length": 20, "Cover_Rate": 1.0} {"Template_token": ["", "Disassembler", "(", "const", "MCSubtargetInfo", "&", "STI", ",", "MCContext", "&", "Ctx", ")", ":", "MCDisassembler", "(", "STI", ",", "Ctx", ")", "{"], "ground_truth": ["}"], "File": "CAHPDisassembler", "Func": "CAHPDisassembler", "Target": "CAHP", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 4184, "Length": 20, "Cover_Rate": 1.0} {"Template_token": ["", "return", "new", "Disassembler", "(", "STI", ",", "Ctx", ")", ";"], "ground_truth": ["}"], "File": "CAHPDisassembler", "Func": "createCAHPDisassembler", "Target": "CAHP", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 4185, "Length": 10, "Cover_Rate": 0.3333333333333333} {"Template_token": ["", "return", "new", "Disassembler", "(", "STI", ",", "Ctx", ")", ";"], "ground_truth": ["}"], "File": "CAHPDisassembler", "Func": "createCAHPDisassembler", "Target": "CAHP", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 4186, "Length": 10, "Cover_Rate": 0.3333333333333333} {"Template_token": ["", "if", "(", "RegNo", ">", "sizeof", "(", "GPRDecoderTable", ")", ")", "return", "MCDisassembler", "::", "Fail", ";", "unsigned", "Reg", "=", "GPRDecoderTable", "[", "RegNo", "]", ";"], "ground_truth": ["Inst", ".", "addOperand", "(", "MCOperand", "::", "createReg", "(", "Reg", ")", ")", ";"], "File": "CAHPDisassembler", "Func": "DecodeGPRRegisterClass", "Target": "CAHP", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 4187, "Length": 34, "Cover_Rate": 0.5666666666666667} {"Template_token": ["", "Inst", ".", "addOperand", "(", "MCOperand", "::", "createImm", "(", "SignExtend64", "<", "N", ">", "(", "Imm", ")", ")", ")", ";"], "ground_truth": ["return", "MCDisassembler", "::", "Success", ";"], "File": "CAHPDisassembler", "Func": "decodeSImmOperand", "Target": "CAHP", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 4188, "Length": 23, "Cover_Rate": 0.40350877192982454} {"Template_token": ["", "static", "DecodeStatus", "decodeUImmOperand", "(", "MCInst", "&", "Inst", ",", "uint64_t", "Imm", ",", "int64_t", "Address", ",", "const", "void", "*", "Decoder", ")", "{", "assert", "(", "isUInt", "<", "N", ">", "(", "Imm", ")", "&&", "", ")", ";", "addImplySP", "(", "Inst", ",", "Address", ",", "Decoder", ")", ";"], "ground_truth": ["Inst", ".", "addOperand", "(", "MCOperand", "::", "createImm", "(", "Imm", ")", ")", ";"], "File": "CAHPDisassembler", "Func": "decodeUImmOperand", "Target": "CAHP", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 4190, "Length": 54, "Cover_Rate": 0.9} {"Template_token": ["", "return", "MCDisassembler", "::", "Fail", ";", "}", "uint32_t", "Inst", ";", "DecodeStatus", "Result", ";", "uint8_t", "is24bitInst", "=", "Bytes", "[", "", "]", "&", "", ";", "if", "(", "is24bitInst", ")", "{", "if", "(", "Bytes", ".", "size", "(", ")", "<", "", ")", "{", "Size", "=", "", ";", "return", "MCDisassembler", "::", "Fail", ";", "}", "Inst", "=", "Bytes", "[", "", "]", "|", "(", "Bytes", "[", "", "]", "<<", "", ")", "|", "(", "Bytes", "[", "", "]", "<<", "", ")", ";", "LLVM_DEBUG", "(", "dbgs", "(", ")", "<<", "", ")", ";", "Result", "=", "decodeInstruction", "(", "DecoderTable24", ",", "MI", ",", "Inst", ",", "Address", ",", "this", ",", "STI", ")", ";", "Size", "=", "", ";", "}", "else", "{", "if", "(", "Bytes", ".", "size", "(", ")", "<", "", ")", "{"], "ground_truth": ["Size", "=", "", ";"], "File": "CAHPDisassembler", "Func": "getInstruction", "Target": "CAHP", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 4192, "Length": 121, "Cover_Rate": 0.5401785714285714} {"Template_token": ["", "void", "LLVMInitializeDisassembler", "(", ")", "{", "TargetRegistry", "::", "RegisterMCDisassembler", "(", "getTheTarget", "(", ")", ",", "createDisassembler", ")", ";"], "ground_truth": ["}"], "File": "CAHPDisassembler", "Func": "LLVMInitializeCAHPDisassembler", "Target": "CAHP", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 4193, "Length": 17, "Cover_Rate": 1.0} {"Template_token": ["", "ELFObjectWriter", "::", "ELFObjectWriter", "(", "uint8_t", "OSABI", ")", ":", "MCELFObjectTargetWriter", "(", "false", ",", "OSABI", ",", "ELF", "::", "EM_", ",", "true", ")", "{"], "ground_truth": ["}"], "File": "CAHPELFObjectWriter", "Func": "CAHPELFObjectWriter", "Target": "CAHP", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 4194, "Length": 22, "Cover_Rate": 1.0} {"Template_token": ["", "ELFObjectWriter", "::", "ELFObjectWriter", "(", "uint8_t", "OSABI", ")", ":", "MCELFObjectTargetWriter", "(", "false", ",", "OSABI", ",", "ELF", "::", "EM_", ",", "true", ")", "{"], "ground_truth": ["}"], "File": "CAHPELFObjectWriter", "Func": "CAHPELFObjectWriter", "Target": "CAHP", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 4195, "Length": 22, "Cover_Rate": 1.0} {"Template_token": ["", "return", "llvm", "::", "make_unique", "<", "ELFObjectWriter", ">", "(", "OSABI", ")", ";"], "ground_truth": ["}"], "File": "CAHPELFObjectWriter", "Func": "createCAHPELFObjectWriter", "Target": "CAHP", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 4197, "Length": 12, "Cover_Rate": 0.46153846153846156} {"Template_token": ["", "case", "FK_Data_2", ":", "return", "ELF", "::", "R__16", ";", "case", "", ":", "return", "ELF", "::", "R__HI6", ";", "case", "", ":", "return", "ELF", "::", "R__LO10", ";", "case", "", ":", "return", "ELF", "::", "R__PCREL_11", ";"], "ground_truth": ["}"], "File": "CAHPELFObjectWriter", "Func": "getRelocType", "Target": "CAHP", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 4198, "Length": 33, "Cover_Rate": 0.39759036144578314} {"Template_token": ["", "switch", "(", "(", "unsigned", ")", "Fixup", ".", "getKind", "(", ")", ")", "{", "default", ":", "llvm_unreachable", "(", "", ")", ";", "case", "FK_Data_2", ":", "return", "ELF", "::", "R__16", ";", "case", "", ":", "return", "ELF", "::", "R__HI6", ";", "case", "", ":", "return", "ELF", "::", "R__LO10", ";", "case", "", ":"], "ground_truth": ["return", "ELF", "::", "R__PCREL_11", ";"], "File": "CAHPELFObjectWriter", "Func": "getRelocType", "Target": "CAHP", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 4199, "Length": 51, "Cover_Rate": 0.6144578313253012} {"Template_token": ["", "ELFObjectWriter", "::", "~", "ELFObjectWriter", "(", ")", "{"], "ground_truth": ["}"], "File": "CAHPELFObjectWriter", "Func": "~CAHPELFObjectWriter", "Target": "CAHP", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 4200, "Length": 8, "Cover_Rate": 1.0} {"Template_token": ["", "ELFObjectWriter", "::", "~", "ELFObjectWriter", "(", ")", "{"], "ground_truth": ["}"], "File": "CAHPELFObjectWriter", "Func": "~CAHPELFObjectWriter", "Target": "CAHP", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 4201, "Length": 8, "Cover_Rate": 1.0} {"Template_token": ["", "}", "else", "if", "(", "isInt", "<", "", ">", "(", "Val", ")", ")", "{", "unsigned", "Opc", "=", "", ";", "bool", "isSub", "=", "Val", "<", "", ";", "if", "(", "isSub", ")", "{", "Val", "=", "-", "Val", ";", "Opc", "=", "", ";", "}", "unsigned", "ScratchReg", "=", "MRI", ".", "createVirtualRegister", "(", "&", "", ")", ";", "TII", "->", "movImm16", "(", "MBB", ",", "MBBI", ",", "DL", ",", "ScratchReg", ",", "Val", ",", "Flag", ")", ";", "BuildMI", "(", "MBB", ",", "MBBI", ",", "DL", ",", "TII", "->", "get", "(", "Opc", ")", ",", "DestReg", ")", ".", "addReg", "(", "SrcReg", ")", ".", "addReg", "(", "ScratchReg", ")", ".", "setMIFlag", "(", "Flag", ")", ";", "}", "else", "{", "report_fatal_error", "(", "", ")", ";", "}"], "ground_truth": ["}"], "File": "CAHPFrameLowering", "Func": "adjustReg", "Target": "CAHP", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 4202, "Length": 111, "Cover_Rate": 0.4723404255319149} {"Template_token": ["", "explicit", "FrameLowering", "(", "const", "Subtarget", "&", "STI", ")", ":", "TargetFrameLowering", "(", "StackGrowsDown", ",", "", ",", "", ")", ",", "STI", "(", "STI", ")", "{"], "ground_truth": ["}"], "File": "CAHPFrameLowering", "Func": "CAHPFrameLowering", "Target": "CAHP", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 4203, "Length": 24, "Cover_Rate": 1.0} {"Template_token": ["", "explicit", "FrameLowering", "(", "const", "Subtarget", "&", "STI", ")", ":", "TargetFrameLowering", "(", "StackGrowsDown", ",", "", ",", "", ")", ",", "STI", "(", "STI", ")", "{"], "ground_truth": ["}"], "File": "CAHPFrameLowering", "Func": "CAHPFrameLowering", "Target": "CAHP", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 4204, "Length": 24, "Cover_Rate": 1.0} {"Template_token": ["", "if", "(", "hasFP", "(", "MF", ")", ")", "{", "SavedRegs", ".", "set", "(", "", ")", ";", "SavedRegs", ".", "set", "(", "", ")", ";", "}"], "ground_truth": ["}"], "File": "CAHPFrameLowering", "Func": "determineCalleeSaves", "Target": "CAHP", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 4205, "Length": 24, "Cover_Rate": 0.41379310344827586} {"Template_token": ["", "const", "RegisterInfo", "*", "RI", "=", "STI", ".", "getRegisterInfo", "(", ")", ";", "uint64_t", "FrameSize", "=", "MFI", ".", "getStackSize", "(", ")", ";", "uint64_t", "StackAlign", "=", "RI", "->", "needsStackRealignment", "(", "MF", ")", "?", "MFI", ".", "getMaxAlignment", "(", ")", ":", "getStackAlignment", "(", ")", ";"], "ground_truth": ["FrameSize", "=", "alignTo", "(", "FrameSize", ",", "StackAlign", ")", ";"], "File": "CAHPFrameLowering", "Func": "determineFrameLayout", "Target": "CAHP", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 4206, "Length": 49, "Cover_Rate": 0.6282051282051282} {"Template_token": ["", "MachineBasicBlock", "::", "iterator", "eliminateCallFramePseudoInstr", "(", "MachineFunction", "&", "MF", ",", "MachineBasicBlock", "&", "MBB", ",", "MachineBasicBlock", "::", "iterator", "MI", ")", "const", "override", "{"], "ground_truth": ["return", "MBB", ".", "erase", "(", "MI", ")", ";"], "File": "CAHPFrameLowering", "Func": "eliminateCallFramePseudoInstr", "Target": "CAHP", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 4207, "Length": 29, "Cover_Rate": 0.9666666666666667} {"Template_token": ["", "const", "RegisterInfo", "*", "RI", "=", "STI", ".", "getRegisterInfo", "(", ")", ";", "MachineFrameInfo", "&", "MFI", "=", "MF", ".", "getFrameInfo", "(", ")", ";", "DebugLoc", "DL", "=", "MBBI", "->", "getDebugLoc", "(", ")", ";", "unsigned", "FPReg", "=", "getFPReg", "(", ")", ";", "unsigned", "SPReg", "=", "getSPReg", "(", ")", ";", "MachineBasicBlock", "::", "iterator", "LastFrameDestroy", "=", "MBBI", ";", "std", "::", "advance", "(", "LastFrameDestroy", ",", "-", "MFI", ".", "getCalleeSavedInfo", "(", ")", ".", "size", "(", ")", ")", ";", "uint64_t", "StackSize", "=", "MFI", ".", "getStackSize", "(", ")", ";", "if", "(", "RI", "->", "needsStackRealignment", "(", "MF", ")", "||", "MFI", ".", "hasVarSizedObjects", "(", ")", ")", "{"], "ground_truth": ["assert", "(", "hasFP", "(", "MF", ")", "&&", "", ")", ";"], "File": "CAHPFrameLowering", "Func": "emitEpilogue", "Target": "CAHP", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 4208, "Length": 104, "Cover_Rate": 0.6081871345029239} {"Template_token": ["", "void", "FrameLowering", "::", "emitPrologue", "(", "MachineFunction", "&", "MF", ",", "MachineBasicBlock", "&", "MBB", ")", "const", "{", "assert", "(", "&", "MF", ".", "front", "(", ")", "==", "&", "MBB", "&&", "", ")", ";", "MachineFrameInfo", "&", "MFI", "=", "MF", ".", "getFrameInfo", "(", ")", ";", "MachineBasicBlock", "::", "iterator", "MBBI", "=", "MBB", ".", "begin", "(", ")", ";", "unsigned", "FPReg", "=", "getFPReg", "(", ")", ";", "unsigned", "SPReg", "=", "getSPReg", "(", ")", ";"], "ground_truth": ["DebugLoc", "DL", ";"], "File": "CAHPFrameLowering", "Func": "emitPrologue", "Target": "CAHP", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 4209, "Length": 68, "Cover_Rate": 0.3930635838150289} {"Template_token": ["", "void", "FrameLowering", "::", "emitPrologue", "(", "MachineFunction", "&", "MF", ",", "MachineBasicBlock", "&", "MBB", ")", "const", "{", "assert", "(", "&", "MF", ".", "front", "(", ")", "==", "&", "MBB", "&&", "", ")", ";", "MachineFrameInfo", "&", "MFI", "=", "MF", ".", "getFrameInfo", "(", ")", ";", "MachineBasicBlock", "::", "iterator", "MBBI", "=", "MBB", ".", "begin", "(", ")", ";", "unsigned", "FPReg", "=", "getFPReg", "(", ")", ";", "unsigned", "SPReg", "=", "getSPReg", "(", ")", ";", "DebugLoc", "DL", ";"], "ground_truth": ["determineFrameLayout", "(", "MF", ")", ";"], "File": "CAHPFrameLowering", "Func": "emitPrologue", "Target": "CAHP", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 4210, "Length": 73, "Cover_Rate": 0.42196531791907516} {"Template_token": ["", "return", "", ";"], "ground_truth": ["}"], "File": "CAHPFrameLowering", "Func": "getFPReg", "Target": "CAHP", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 4211, "Length": 4, "Cover_Rate": 0.3333333333333333} {"Template_token": ["", "MinCSFI", "=", "CSI", "[", "", "]", ".", "getFrameIdx", "(", ")", ";", "MaxCSFI", "=", "CSI", "[", "CSI", ".", "size", "(", ")", "-", "", "]", ".", "getFrameIdx", "(", ")", ";", "}", "FrameReg", "=", "RI", "->", "getFrameRegister", "(", "MF", ")", ";", "if", "(", "(", "FI", ">=", "MinCSFI", "&&", "FI", "<=", "MaxCSFI", ")", "||", "!", "hasFP", "(", "MF", ")", ")", "{"], "ground_truth": ["FrameReg", "=", "", ";"], "File": "CAHPFrameLowering", "Func": "getFrameIndexReference", "Target": "CAHP", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 4212, "Length": 61, "Cover_Rate": 0.3370165745856354} {"Template_token": ["", "MinCSFI", "=", "CSI", "[", "", "]", ".", "getFrameIdx", "(", ")", ";", "MaxCSFI", "=", "CSI", "[", "CSI", ".", "size", "(", ")", "-", "", "]", ".", "getFrameIdx", "(", ")", ";", "}", "FrameReg", "=", "RI", "->", "getFrameRegister", "(", "MF", ")", ";"], "ground_truth": ["if", "(", "(", "FI", ">=", "MinCSFI", "&&", "FI", "<=", "MaxCSFI", ")", "||", "!", "hasFP", "(", "MF", ")", ")", "{"], "File": "CAHPFrameLowering", "Func": "getFrameIndexReference", "Target": "CAHP", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 4213, "Length": 57, "Cover_Rate": 0.3149171270718232} {"Template_token": ["", "return", "", ";"], "ground_truth": ["}"], "File": "CAHPFrameLowering", "Func": "getSPReg", "Target": "CAHP", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 4215, "Length": 4, "Cover_Rate": 0.3333333333333333} {"Template_token": ["", "const", "TargetRegisterInfo", "*", "RegInfo", "=", "MF", ".", "getSubtarget", "(", ")", ".", "getRegisterInfo", "(", ")", ";"], "ground_truth": ["const", "MachineFrameInfo", "&", "MFI", "=", "MF", ".", "getFrameInfo", "(", ")", ";"], "File": "CAHPFrameLowering", "Func": "hasFP", "Target": "CAHP", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 4216, "Length": 26, "Cover_Rate": 0.3611111111111111} {"Template_token": ["", "const", "MachineFrameInfo", "&", "MFI", "=", "MF", ".", "getFrameInfo", "(", ")", ";"], "ground_truth": ["return", "MF", ".", "getTarget", "(", ")", ".", "Options", ".", "DisableFramePointerElim", "(", "MF", ")", "||", "RegInfo", "->", "needsStackRealignment", "(", "MF", ")", "||", "MFI", ".", "hasVarSizedObjects", "(", ")", "||", "MFI", ".", "isFrameAddressTaken", "(", ")", ";"], "File": "CAHPFrameLowering", "Func": "hasFP", "Target": "CAHP", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 4217, "Length": 44, "Cover_Rate": 0.6111111111111112} {"Template_token": ["", "void", "FrameLowering", "::", "processFunctionBeforeFrameFinalized", "(", "MachineFunction", "&", "MF", ",", "RegScavenger", "*", "RS", ")", "const", "{", "const", "TargetRegisterInfo", "*", "RegInfo", "=", "MF", ".", "getSubtarget", "(", ")", ".", "getRegisterInfo", "(", ")", ";", "MachineFrameInfo", "&", "MFI", "=", "MF", ".", "getFrameInfo", "(", ")", ";", "const", "TargetRegisterClass", "*", "RC", "=", "&", "", ";", "if", "(", "!", "isInt", "<", "", ">", "(", "MFI", ".", "estimateStackSize", "(", "MF", ")", ")", ")", "{", "int", "RegScavFI", "=", "MFI", ".", "CreateStackObject", "(", "RegInfo", "->", "getSpillSize", "(", "*", "RC", ")", ",", "RegInfo", "->", "getSpillAlignment", "(", "*", "RC", ")", ",", "false", ")", ";"], "ground_truth": ["RS", "->", "addScavengingFrameIndex", "(", "RegScavFI", ")", ";"], "File": "CAHPFrameLowering", "Func": "processFunctionBeforeFrameFinalized", "Target": "CAHP", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 4218, "Length": 98, "Cover_Rate": 0.9607843137254902} {"Template_token": ["", "InstPrinter", "(", "const", "MCAsmInfo", "&", "MAI", ",", "const", "MCInstrInfo", "&", "MII", ",", "const", "MCRegisterInfo", "&", "MRI", ")", ":", "MCInstPrinter", "(", "MAI", ",", "MII", ",", "MRI", ")", "{"], "ground_truth": ["}"], "File": "CAHPInstPrinter", "Func": "CAHPInstPrinter", "Target": "CAHP", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 4219, "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": "CAHPInstPrinter", "Func": "CAHPInstPrinter", "Target": "CAHP", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 4220, "Length": 28, "Cover_Rate": 1.0} {"Template_token": ["", "void", "InstPrinter", "::", "printInst", "(", "const", "MCInst", "*", "MI", ",", "raw_ostream", "&", "O", ",", "StringRef", "Annot", ",", "const", "MCSubtargetInfo", "&", "STI", ")", "{", "printInstruction", "(", "MI", ",", "STI", ",", "O", ")", ";", "printAnnotation", "(", "O", ",", "Annot", ")", ";"], "ground_truth": ["}"], "File": "CAHPInstPrinter", "Func": "printInst", "Target": "CAHP", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 4221, "Length": 40, "Cover_Rate": 1.0} {"Template_token": ["", "void", "InstPrinter", "::", "printOperand", "(", "const", "MCInst", "*", "MI", ",", "unsigned", "OpNo", ",", "const", "MCSubtargetInfo", "&", "STI", ",", "raw_ostream", "&", "O", ",", "const", "char", "*", "Modifier", ")", "{", "assert", "(", "(", "Modifier", "==", "", "||", "Modifier", "[", "", "]", "==", "", ")", "&&", "", ")", ";"], "ground_truth": ["const", "MCOperand", "&", "MO", "=", "MI", "->", "getOperand", "(", "OpNo", ")", ";"], "File": "CAHPInstPrinter", "Func": "printOperand", "Target": "CAHP", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 4222, "Length": 58, "Cover_Rate": 0.4566929133858268} {"Template_token": ["", "O", "<<", "getRegisterName", "(", "RegNo", ")", ";"], "ground_truth": ["}"], "File": "CAHPInstPrinter", "Func": "printRegName", "Target": "CAHP", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 4224, "Length": 8, "Cover_Rate": 0.36363636363636365} {"Template_token": ["", "}", "if", "(", "AllowModify", "&&", "FirstUncondOrIndirectBr", "!=", "MBB", ".", "end", "(", ")", ")", "{", "while", "(", "std", "::", "next", "(", "FirstUncondOrIndirectBr", ")", "!=", "MBB", ".", "end", "(", ")", ")", "{", "std", "::", "next", "(", "FirstUncondOrIndirectBr", ")", "->", "eraseFromParent", "(", ")", ";", "NumTerminators", "--", ";", "}", "I", "=", "FirstUncondOrIndirectBr", ";", "}", "if", "(", "I", "->", "getDesc", "(", ")", ".", "isIndirectBranch", "(", ")", ")", "return", "true", ";", "if", "(", "NumTerminators", ">", "", ")", "return", "true", ";", "if", "(", "NumTerminators", "==", "", "&&", "I", "->", "getDesc", "(", ")", ".", "isUnconditionalBranch", "(", ")", ")", "{", "TBB", "=", "I", "->", "getOperand", "(", "", ")", ".", "getMBB", "(", ")", ";", "return", "false", ";", "}", "if", "(", "NumTerminators", "==", "", "&&", "I", "->", "getDesc", "(", ")", ".", "isConditionalBranch", "(", ")", ")", "{", "parseCondBranch", "(", "*", "I", ",", "TBB", ",", "Cond", ")", ";", "return", "false", ";", "}", "if", "(", "NumTerminators", "==", "", "&&", "std", "::", "prev", "(", "I", ")", "->", "getDesc", "(", ")", ".", "isConditionalBranch", "(", ")", "&&", "I", "->", "getDesc", "(", ")", ".", "isUnconditionalBranch", "(", ")", ")", "{"], "ground_truth": ["parseCondBranch", "(", "*", "std", "::", "prev", "(", "I", ")", ",", "TBB", ",", "Cond", ")", ";"], "File": "CAHPInstrInfo", "Func": "analyzeBranch", "Target": "CAHP", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 4225, "Length": 186, "Cover_Rate": 0.5152354570637119} {"Template_token": ["", "InstrInfo", "::", "InstrInfo", "(", ")", ":", "GenInstrInfo", "(", "", ",", "", ")", "{"], "ground_truth": ["}"], "File": "CAHPInstrInfo", "Func": "CAHPInstrInfo", "Target": "CAHP", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 4226, "Length": 14, "Cover_Rate": 0.7777777777777778} {"Template_token": ["", "InstrInfo", "::", "InstrInfo", "(", ")", ":", "GenInstrInfo", "(", "", ",", "", ")", "{"], "ground_truth": ["}"], "File": "CAHPInstrInfo", "Func": "CAHPInstrInfo", "Target": "CAHP", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 4227, "Length": 14, "Cover_Rate": 0.7777777777777778} {"Template_token": ["", "void", "InstrInfo", "::", "copyPhysReg", "(", "MachineBasicBlock", "&", "MBB", ",", "MachineBasicBlock", "::", "iterator", "MBBI", ",", "const", "DebugLoc", "&", "DL", ",", "unsigned", "DstReg", ",", "unsigned", "SrcReg", ",", "bool", "KillSrc", ")", "const", "{"], "ground_truth": ["assert", "(", "", ".", "contains", "(", "DstReg", ",", "SrcReg", ")", "&&", "", ")", ";"], "File": "CAHPInstrInfo", "Func": "copyPhysReg", "Target": "CAHP", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 4228, "Length": 44, "Cover_Rate": 0.6285714285714286} {"Template_token": ["", "void", "InstrInfo", "::", "copyPhysReg", "(", "MachineBasicBlock", "&", "MBB", ",", "MachineBasicBlock", "::", "iterator", "MBBI", ",", "const", "DebugLoc", "&", "DL", ",", "unsigned", "DstReg", ",", "unsigned", "SrcReg", ",", "bool", "KillSrc", ")", "const", "{", "assert", "(", "", ".", "contains", "(", "DstReg", ",", "SrcReg", ")", "&&", "", ")", ";", "BuildMI", "(", "MBB", ",", "MBBI", ",", "DL", ",", "get", "(", "", ")", ",", "DstReg", ")", ".", "addReg", "(", "SrcReg", ")", ";"], "ground_truth": ["}"], "File": "CAHPInstrInfo", "Func": "copyPhysReg", "Target": "CAHP", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 4229, "Length": 66, "Cover_Rate": 0.9428571428571428} {"Template_token": ["", "MachineBasicBlock", "*", "InstrInfo", "::", "getBranchDestBlock", "(", "const", "MachineInstr", "&", "MI", ")", "const", "{", "assert", "(", "MI", ".", "getDesc", "(", ")", ".", "isBranch", "(", ")", "&&", "", ")", ";"], "ground_truth": ["int", "NumOp", "=", "MI", ".", "getNumExplicitOperands", "(", ")", ";"], "File": "CAHPInstrInfo", "Func": "getBranchDestBlock", "Target": "CAHP", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 4230, "Length": 37, "Cover_Rate": 0.7115384615384616} {"Template_token": ["", "MachineBasicBlock", "*", "InstrInfo", "::", "getBranchDestBlock", "(", "const", "MachineInstr", "&", "MI", ")", "const", "{", "assert", "(", "MI", ".", "getDesc", "(", ")", ".", "isBranch", "(", ")", "&&", "", ")", ";", "int", "NumOp", "=", "MI", ".", "getNumExplicitOperands", "(", ")", ";", "return", "MI", ".", "getOperand", "(", "NumOp", "-", "", ")", ".", "getMBB", "(", ")", ";"], "ground_truth": ["}"], "File": "CAHPInstrInfo", "Func": "getBranchDestBlock", "Target": "CAHP", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 4231, "Length": 52, "Cover_Rate": 1.0} {"Template_token": ["", "unsigned", "InstrInfo", "::", "getInstSizeInBytes", "(", "const", "MachineInstr", "&", "MI", ")", "const", "{", "unsigned", "Opcode", "=", "MI", ".", "getOpcode", "(", ")", ";", "switch", "(", "Opcode", ")", "{", "default", ":", "return", "get", "(", "Opcode", ")", ".", "getSize", "(", ")", ";", "case", "TargetOpcode", "::", "EH_LABEL", ":", "case", "TargetOpcode", "::", "IMPLICIT_DEF", ":", "case", "TargetOpcode", "::", "KILL", ":", "case", "TargetOpcode", "::", "DBG_VALUE", ":", "return", "", ";", "case", "TargetOpcode", "::", "INLINEASM", ":", "{", "const", "MachineFunction", "&", "MF", "=", "*", "MI", ".", "getParent", "(", ")", "->", "getParent", "(", ")", ";", "const", "auto", "&", "TM", "=", "static_cast", "<", "const", "TargetMachine", "&", ">", "(", "MF", ".", "getTarget", "(", ")", ")", ";", "return", "getInlineAsmLength", "(", "MI", ".", "getOperand", "(", "", ")", ".", "getSymbolName", "(", ")", ",", "*", "TM", ".", "getMCAsmInfo", "(", ")", ")", ";", "}", "}"], "ground_truth": ["}"], "File": "CAHPInstrInfo", "Func": "getInstSizeInBytes", "Target": "CAHP", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 4232, "Length": 127, "Cover_Rate": 1.0} {"Template_token": ["", "return", "", ";", "}", "unsigned", "Opc", "=", "Cond", "[", "", "]", ".", "getImm", "(", ")", ";", "MachineInstr", "&", "CondMI", "=", "*", "BuildMI", "(", "&", "MBB", ",", "DL", ",", "get", "(", "Opc", ")", ")", ".", "add", "(", "Cond", "[", "", "]", ")", ".", "add", "(", "Cond", "[", "", "]", ")", ".", "addMBB", "(", "TBB", ")", ";", "if", "(", "BytesAdded", ")", "*", "BytesAdded", "+=", "getInstSizeInBytes", "(", "CondMI", ")", ";"], "ground_truth": ["if", "(", "!", "FBB", ")", "return", "", ";"], "File": "CAHPInstrInfo", "Func": "insertBranch", "Target": "CAHP", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 4233, "Length": 75, "Cover_Rate": 0.3191489361702128} {"Template_token": ["", "case", "", ":", "case", "", ":", "case", "", ":", "case", "", ":", "case", "", ":", "case", "", ":", "return", "isInt", "<", "", ">", "(", "BrOffset", ")", ";", "case", "", ":", "case", "", ":", "return", "isInt", "<", "", ">", "(", "BrOffset", ")", ";"], "ground_truth": ["}"], "File": "CAHPInstrInfo", "Func": "isBranchOffsetInRange", "Target": "CAHP", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 4234, "Length": 43, "Cover_Rate": 0.5058823529411764} {"Template_token": ["", "if", "(", "!", "", ".", "hasSubClassEq", "(", "RC", ")", ")", "llvm_unreachable", "(", "", ")", ";", "BuildMI", "(", "MBB", ",", "I", ",", "DL", ",", "get", "(", "", ")", ",", "DstReg", ")", ".", "addFrameIndex", "(", "FI", ")", ".", "addImm", "(", "", ")", ";"], "ground_truth": ["}"], "File": "CAHPInstrInfo", "Func": "loadRegFromStackSlot", "Target": "CAHP", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 4235, "Length": 42, "Cover_Rate": 0.42424242424242425} {"Template_token": ["", "void", "InstrInfo", "::", "movImm16", "(", "MachineBasicBlock", "&", "MBB", ",", "MachineBasicBlock", "::", "iterator", "MBBI", ",", "const", "DebugLoc", "&", "DL", ",", "unsigned", "DstReg", ",", "uint64_t", "Val", ",", "MachineInstr", "::", "MIFlag", "Flag", ")", "const", "{", "assert", "(", "isInt", "<", "", ">", "(", "Val", ")", "&&", "", ")", ";", "uint64_t", "Hi6", "=", "(", "(", "Val", "+", "", ")", ">>", "", ")", "&", "", ";", "uint64_t", "Lo10", "=", "SignExtend64", "<", "", ">", "(", "Val", ")", ";"], "ground_truth": ["BuildMI", "(", "MBB", ",", "MBBI", ",", "DL", ",", "get", "(", "", ")", ",", "DstReg", ")", ".", "addImm", "(", "Hi6", ")", ".", "setMIFlag", "(", "Flag", ")", ";"], "File": "CAHPInstrInfo", "Func": "movImm16", "Target": "CAHP", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 4237, "Length": 97, "Cover_Rate": 0.7293233082706767} {"Template_token": ["", "void", "InstrInfo", "::", "movImm16", "(", "MachineBasicBlock", "&", "MBB", ",", "MachineBasicBlock", "::", "iterator", "MBBI", ",", "const", "DebugLoc", "&", "DL", ",", "unsigned", "DstReg", ",", "uint64_t", "Val", ",", "MachineInstr", "::", "MIFlag", "Flag", ")", "const", "{", "assert", "(", "isInt", "<", "", ">", "(", "Val", ")", "&&", "", ")", ";"], "ground_truth": ["uint64_t", "Hi6", "=", "(", "(", "Val", "+", "", ")", ">>", "", ")", "&", "", ";"], "File": "CAHPInstrInfo", "Func": "movImm16", "Target": "CAHP", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 4238, "Length": 60, "Cover_Rate": 0.45112781954887216} {"Template_token": ["", "assert", "(", "LastInst", ".", "getDesc", "(", ")", ".", "isConditionalBranch", "(", ")", "&&", "", ")", ";"], "ground_truth": ["Target", "=", "LastInst", ".", "getOperand", "(", "", ")", ".", "getMBB", "(", ")", ";"], "File": "CAHPInstrInfo", "Func": "parseCondBranch", "Target": "CAHP", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 4239, "Length": 28, "Cover_Rate": 0.3111111111111111} {"Template_token": ["", "if", "(", "BytesRemoved", ")", "*", "BytesRemoved", "+=", "getInstSizeInBytes", "(", "*", "I", ")", ";", "I", "=", "MBB", ".", "end", "(", ")", ";", "if", "(", "I", "==", "MBB", ".", "begin", "(", ")", ")", "return", "", ";", "--", "I", ";", "if", "(", "!", "I", "->", "getDesc", "(", ")", ".", "isConditionalBranch", "(", ")", ")", "return", "", ";", "I", "->", "eraseFromParent", "(", ")", ";"], "ground_truth": ["if", "(", "BytesRemoved", ")", "*", "BytesRemoved", "+=", "getInstSizeInBytes", "(", "*", "I", ")", ";"], "File": "CAHPInstrInfo", "Func": "removeBranch", "Target": "CAHP", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 4240, "Length": 72, "Cover_Rate": 0.4585987261146497} {"Template_token": ["", "bool", "InstrInfo", "::", "reverseBranchCondition", "(", "SmallVectorImpl", "<", "MachineOperand", ">", "&", "Cond", ")", "const", "{", "assert", "(", "(", "Cond", ".", "size", "(", ")", "==", "", ")", "&&", "", ")", ";", "bool", "ShouldSwap", "=", "false", ";", "switch", "(", "Cond", "[", "", "]", ".", "getImm", "(", ")", ")", "{", "case", "", ":", "Cond", "[", "", "]", ".", "setImm", "(", "", ")", ";", "break", ";", "case", "", ":", "Cond", "[", "", "]", ".", "setImm", "(", "", ")", ";", "break", ";", "case", "", ":", "Cond", "[", "", "]", ".", "setImm", "(", "", ")", ";", "ShouldSwap", "=", "true", ";", "break", ";", "case", "", ":", "Cond", "[", "", "]", ".", "setImm", "(", "", ")", ";", "ShouldSwap", "=", "true", ";", "break", ";", "case", "", ":", "Cond", "[", "", "]", ".", "setImm", "(", "", ")", ";", "ShouldSwap", "=", "true", ";", "break", ";", "case", "", ":"], "ground_truth": ["Cond", "[", "", "]", ".", "setImm", "(", "", ")", ";"], "File": "CAHPInstrInfo", "Func": "reverseBranchCondition", "Target": "CAHP", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 4241, "Length": 146, "Cover_Rate": 0.7121951219512195} {"Template_token": ["", "void", "InstrInfo", "::", "storeRegToStackSlot", "(", "MachineBasicBlock", "&", "MBB", ",", "MachineBasicBlock", "::", "iterator", "I", ",", "unsigned", "SrcReg", ",", "bool", "IsKill", ",", "int", "FI", ",", "const", "TargetRegisterClass", "*", "RC", ",", "const", "TargetRegisterInfo", "*", "TRI", ")", "const", "{", "DebugLoc", "DL", ";", "if", "(", "I", "!=", "MBB", ".", "end", "(", ")", ")", "DL", "=", "I", "->", "getDebugLoc", "(", ")", ";"], "ground_truth": ["if", "(", "!", "", ".", "hasSubClassEq", "(", "RC", ")", ")", "llvm_unreachable", "(", "", ")", ";"], "File": "CAHPInstrInfo", "Func": "storeRegToStackSlot", "Target": "CAHP", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 4243, "Length": 71, "Cover_Rate": 0.6761904761904762} {"Template_token": ["", "explicit", "DAGToDAGISel", "(", "TargetMachine", "&", "TargetMachine", ")", ":", "SelectionDAGISel", "(", "TargetMachine", ")", "{"], "ground_truth": ["}"], "File": "CAHPISelDAGToDAG", "Func": "CAHPDAGToDAGISel", "Target": "CAHP", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 4244, "Length": 14, "Cover_Rate": 1.0} {"Template_token": ["", "explicit", "DAGToDAGISel", "(", "TargetMachine", "&", "TargetMachine", ")", ":", "SelectionDAGISel", "(", "TargetMachine", ")", "{"], "ground_truth": ["}"], "File": "CAHPISelDAGToDAG", "Func": "CAHPDAGToDAGISel", "Target": "CAHP", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 4245, "Length": 14, "Cover_Rate": 1.0} {"Template_token": ["", "return", "new", "DAGToDAGISel", "(", "TM", ")", ";"], "ground_truth": ["}"], "File": "CAHPISelDAGToDAG", "Func": "createCAHPISelDag", "Target": "CAHP", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 4247, "Length": 8, "Cover_Rate": 0.42105263157894735} {"Template_token": ["", "StringRef", "getPassName", "(", ")", "const", "override", "{", "return", "", ";"], "ground_truth": ["}"], "File": "CAHPISelDAGToDAG", "Func": "getPassName", "Target": "CAHP", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 4248, "Length": 11, "Cover_Rate": 1.0} {"Template_token": ["", "StringRef", "getPassName", "(", ")", "const", "override", "{"], "ground_truth": ["return", "", ";"], "File": "CAHPISelDAGToDAG", "Func": "getPassName", "Target": "CAHP", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 4249, "Length": 10, "Cover_Rate": 0.9090909090909091} {"Template_token": ["", "SDValue", "Imm", "=", "CurDAG", "->", "getTargetConstant", "(", "", ",", "DL", ",", "", ")", ";", "int", "FI", "=", "dyn_cast", "<", "FrameIndexSDNode", ">", "(", "Node", ")", "->", "getIndex", "(", ")", ";", "EVT", "VT", "=", "Node", "->", "getValueType", "(", "", ")", ";", "SDValue", "TFI", "=", "CurDAG", "->", "getTargetFrameIndex", "(", "FI", ",", "VT", ")", ";", "ReplaceNode", "(", "Node", ",", "CurDAG", "->", "getMachineNode", "(", "", ",", "DL", ",", "VT", ",", "TFI", ",", "Imm", ")", ")", ";", "return", ";"], "ground_truth": ["}"], "File": "CAHPISelDAGToDAG", "Func": "Select", "Target": "CAHP", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 4250, "Length": 74, "Cover_Rate": 0.4774193548387097} {"Template_token": ["", "void", "DAGToDAGISel", "::", "Select", "(", "SDNode", "*", "Node", ")", "{", "if", "(", "Node", "->", "isMachineOpcode", "(", ")", ")", "{", "LLVM_DEBUG", "(", "dbgs", "(", ")", "<<", "", ";", "Node", "->", "dump", "(", "CurDAG", ")", ";", "dbgs", "(", ")", "<<", "", ")", ";", "Node", "->", "setNodeId", "(", "-", "", ")", ";", "return", ";", "}", "if", "(", "Node", "->", "getOpcode", "(", ")", "==", "", ")", "{", "SDLoc", "DL", "(", "Node", ")", ";", "SDValue", "Imm", "=", "CurDAG", "->", "getTargetConstant", "(", "", ",", "DL", ",", "", ")", ";", "int", "FI", "=", "dyn_cast", "<", "FrameIndexSDNode", ">", "(", "Node", ")", "->", "getIndex", "(", ")", ";", "EVT", "VT", "=", "Node", "->", "getValueType", "(", "", ")", ";", "SDValue", "TFI", "=", "CurDAG", "->", "getTargetFrameIndex", "(", "FI", ",", "VT", ")", ";", "ReplaceNode", "(", "Node", ",", "CurDAG", "->", "getMachineNode", "(", "", ",", "DL", ",", "VT", ",", "TFI", ",", "Imm", ")", ")", ";", "return", ";", "}", "SelectCode", "(", "Node", ")", ";"], "ground_truth": ["}"], "File": "CAHPISelDAGToDAG", "Func": "Select", "Target": "CAHP", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 4251, "Length": 149, "Cover_Rate": 0.9612903225806452} {"Template_token": ["", "if", "(", "auto", "FIN", "=", "dyn_cast", "<", "FrameIndexSDNode", ">", "(", "Addr", ")", ")", "{", "Base", "=", "CurDAG", "->", "getTargetFrameIndex", "(", "FIN", "->", "getIndex", "(", ")", ",", "", ")", ";", "return", "true", ";"], "ground_truth": ["}"], "File": "CAHPISelDAGToDAG", "Func": "SelectAddrFI", "Target": "CAHP", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 4252, "Length": 33, "Cover_Rate": 0.6346153846153846} {"Template_token": ["", "bool", "DAGToDAGISel", "::", "SelectInlineAsmMemoryOperand", "(", "const", "SDValue", "&", "Op", ",", "unsigned", "ConstraintID", ",", "std", "::", "vector", "<", "SDValue", ">", "&", "OutOps", ")", "{", "switch", "(", "ConstraintID", ")", "{", "case", "InlineAsm", "::", "Constraint_i", ":"], "ground_truth": ["case", "InlineAsm", "::", "Constraint_m", ":"], "File": "CAHPISelDAGToDAG", "Func": "SelectInlineAsmMemoryOperand", "Target": "CAHP", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 4253, "Length": 38, "Cover_Rate": 0.6666666666666666} {"Template_token": ["", "const", "TargetInstrInfo", "&", "TII", "=", "*", "BB", "->", "getParent", "(", ")", "->", "getSubtarget", "(", ")", ".", "getInstrInfo", "(", ")", ";", "DebugLoc", "DL", "=", "MI", ".", "getDebugLoc", "(", ")", ";", "assert", "(", "MI", ".", "getOpcode", "(", ")", "==", "", "&&", "", ")", ";", "const", "BasicBlock", "*", "LLVM_BB", "=", "BB", "->", "getBasicBlock", "(", ")", ";", "MachineFunction", "::", "iterator", "I", "=", "++", "BB", "->", "getIterator", "(", ")", ";", "MachineBasicBlock", "*", "HeadMBB", "=", "BB", ";", "MachineFunction", "*", "F", "=", "BB", "->", "getParent", "(", ")", ";", "MachineBasicBlock", "*", "TailMBB", "=", "F", "->", "CreateMachineBasicBlock", "(", "LLVM_BB", ")", ";", "MachineBasicBlock", "*", "IfFalseMBB", "=", "F", "->", "CreateMachineBasicBlock", "(", "LLVM_BB", ")", ";", "F", "->", "insert", "(", "I", ",", "IfFalseMBB", ")", ";", "F", "->", "insert", "(", "I", ",", "TailMBB", ")", ";", "TailMBB", "->", "splice", "(", "TailMBB", "->", "begin", "(", ")", ",", "HeadMBB", ",", "std", "::", "next", "(", "MachineBasicBlock", "::", "iterator", "(", "MI", ")", ")", ",", "HeadMBB", "->", "end", "(", ")", ")", ";"], "ground_truth": ["TailMBB", "->", "transferSuccessorsAndUpdatePHIs", "(", "HeadMBB", ")", ";"], "File": "CAHPISelLowering", "Func": "EmitInstrWithCustomInserter", "Target": "CAHP", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 4254, "Length": 159, "Cover_Rate": 0.4332425068119891} {"Template_token": ["", "DebugLoc", "DL", "=", "MI", ".", "getDebugLoc", "(", ")", ";", "assert", "(", "MI", ".", "getOpcode", "(", ")", "==", "", "&&", "", ")", ";", "const", "BasicBlock", "*", "LLVM_BB", "=", "BB", "->", "getBasicBlock", "(", ")", ";", "MachineFunction", "::", "iterator", "I", "=", "++", "BB", "->", "getIterator", "(", ")", ";", "MachineBasicBlock", "*", "HeadMBB", "=", "BB", ";", "MachineFunction", "*", "F", "=", "BB", "->", "getParent", "(", ")", ";", "MachineBasicBlock", "*", "TailMBB", "=", "F", "->", "CreateMachineBasicBlock", "(", "LLVM_BB", ")", ";", "MachineBasicBlock", "*", "IfFalseMBB", "=", "F", "->", "CreateMachineBasicBlock", "(", "LLVM_BB", ")", ";", "F", "->", "insert", "(", "I", ",", "IfFalseMBB", ")", ";", "F", "->", "insert", "(", "I", ",", "TailMBB", ")", ";", "TailMBB", "->", "splice", "(", "TailMBB", "->", "begin", "(", ")", ",", "HeadMBB", ",", "std", "::", "next", "(", "MachineBasicBlock", "::", "iterator", "(", "MI", ")", ")", ",", "HeadMBB", "->", "end", "(", ")", ")", ";", "TailMBB", "->", "transferSuccessorsAndUpdatePHIs", "(", "HeadMBB", ")", ";", "HeadMBB", "->", "addSuccessor", "(", "IfFalseMBB", ")", ";", "HeadMBB", "->", "addSuccessor", "(", "TailMBB", ")", ";", "unsigned", "LHS", "=", "MI", ".", "getOperand", "(", "", ")", ".", "getReg", "(", ")", ";", "unsigned", "RHS", "=", "MI", ".", "getOperand", "(", "", ")", ".", "getReg", "(", ")", ";", "auto", "CC", "=", "static_cast", "<", "", ">", "(", "MI", ".", "getOperand", "(", "", ")", ".", "getImm", "(", ")", ")", ";", "unsigned", "Opcode", "=", "getBranchOpcodeForIntCondCode", "(", "CC", ")", ";"], "ground_truth": ["BuildMI", "(", "HeadMBB", ",", "DL", ",", "TII", ".", "get", "(", "Opcode", ")", ")", ".", "addReg", "(", "LHS", ")", ".", "addReg", "(", "RHS", ")", ".", "addMBB", "(", "TailMBB", ")", ";"], "File": "CAHPISelLowering", "Func": "EmitInstrWithCustomInserter", "Target": "CAHP", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 4255, "Length": 238, "Cover_Rate": 0.6485013623978202} {"Template_token": ["", "return", "", ";", "case", "", ":", "return", "", ";", "case", "", ":", "return", "", ";", "case", "", ":", "return", "", ";", "}"], "ground_truth": ["return", "nullptr", ";"], "File": "CAHPISelLowering", "Func": "getTargetNodeName", "Target": "CAHP", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 4256, "Length": 25, "Cover_Rate": 0.3787878787878788} {"Template_token": ["", "SDValue", "Dest", "=", "Op", ".", "getOperand", "(", "", ")", ";", "SDLoc", "DL", "(", "Op", ")", ";", "", "CC", "=", "cast", "<", "CondCodeSDNode", ">", "(", "Cond", ")", "->", "get", "(", ")", ";", "normalizeSetCC", "(", "LHS", ",", "RHS", ",", "CC", ")", ";"], "ground_truth": ["return", "DAG", ".", "getNode", "(", "", ",", "DL", ",", "Op", ".", "getValueType", "(", ")", ",", "Chain", ",", "LHS", ",", "RHS", ",", "DAG", ".", "getConstant", "(", "CC", ",", "DL", ",", "", ")", ",", "Dest", ")", ";"], "File": "CAHPISelLowering", "Func": "LowerBR_CC", "Target": "CAHP", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 4257, "Length": 75, "Cover_Rate": 0.5514705882352942} {"Template_token": ["", "EVT", "RegVT", "=", "VA", ".", "getLocVT", "(", ")", ";", "if", "(", "RegVT", "!=", "", ")", "{", "LLVM_DEBUG", "(", "dbgs", "(", ")", "<<", "", "<<", "RegVT", ".", "getEVTString", "(", ")", "<<", "", ")", ";", "report_fatal_error", "(", "", ")", ";", "}", "const", "unsigned", "VReg", "=", "RegInfo", ".", "createVirtualRegister", "(", "&", "", ")", ";", "RegInfo", ".", "addLiveIn", "(", "VA", ".", "getLocReg", "(", ")", ",", "VReg", ")", ";", "ArgVal", "=", "DAG", ".", "getCopyFromReg", "(", "Chain", ",", "DL", ",", "VReg", ",", "RegVT", ")", ";", "}", "else", "{", "assert", "(", "VA", ".", "isMemLoc", "(", ")", ")", ";", "assert", "(", "VA", ".", "getValVT", "(", ")", "==", "", ")", ";", "assert", "(", "VA", ".", "getLocVT", "(", ")", "==", "", ")", ";", "int", "FI", "=", "MF", ".", "getFrameInfo", "(", ")", ".", "CreateFixedObject", "(", "", ",", "VA", ".", "getLocMemOffset", "(", ")", ",", "true", ")", ";", "SDValue", "FIN", "=", "DAG", ".", "getFrameIndex", "(", "FI", ",", "", ")", ";", "ArgVal", "=", "DAG", ".", "getLoad", "(", "VA", ".", "getLocVT", "(", ")", ",", "DL", ",", "Chain", ",", "FIN", ",", "MachinePointerInfo", "::", "getFixedStack", "(", "DAG", ".", "getMachineFunction", "(", ")", ",", "FI", ")", ")", ";", "}", "InVals", ".", "push_back", "(", "ArgVal", ")", ";", "}", "return", "Chain", ";"], "ground_truth": ["}"], "File": "CAHPISelLowering", "Func": "LowerFormalArguments", "Target": "CAHP", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 4259, "Length": 192, "Cover_Rate": 0.5378151260504201} {"Template_token": ["", "SDLoc", "DL", "(", "Op", ")", ";", "SDValue", "FrameAddr", "=", "DAG", ".", "getCopyFromReg", "(", "DAG", ".", "getEntryNode", "(", ")", ",", "DL", ",", "FrameReg", ",", "VT", ")", ";", "unsigned", "Depth", "=", "cast", "<", "ConstantSDNode", ">", "(", "Op", ".", "getOperand", "(", "", ")", ")", "->", "getZExtValue", "(", ")", ";", "while", "(", "Depth", "--", ")", "{", "int", "Offset", "=", "-", "", ";", "SDValue", "Ptr", "=", "DAG", ".", "getNode", "(", "", ",", "DL", ",", "VT", ",", "FrameAddr", ",", "DAG", ".", "getIntPtrConstant", "(", "Offset", ",", "DL", ")", ")", ";", "FrameAddr", "=", "DAG", ".", "getLoad", "(", "VT", ",", "DL", ",", "DAG", ".", "getEntryNode", "(", ")", ",", "Ptr", ",", "MachinePointerInfo", "(", ")", ")", ";", "}", "return", "FrameAddr", ";"], "ground_truth": ["}"], "File": "CAHPISelLowering", "Func": "LowerFRAMEADDR", "Target": "CAHP", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 4260, "Length": 111, "Cover_Rate": 0.6} {"Template_token": ["", "unsigned", "Depth", "=", "cast", "<", "ConstantSDNode", ">", "(", "Op", ".", "getOperand", "(", "", ")", ")", "->", "getZExtValue", "(", ")", ";", "while", "(", "Depth", "--", ")", "{", "int", "Offset", "=", "-", "", ";"], "ground_truth": ["SDValue", "Ptr", "=", "DAG", ".", "getNode", "(", "", ",", "DL", ",", "VT", ",", "FrameAddr", ",", "DAG", ".", "getIntPtrConstant", "(", "Offset", ",", "DL", ")", ")", ";"], "File": "CAHPISelLowering", "Func": "LowerFRAMEADDR", "Target": "CAHP", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 4261, "Length": 57, "Cover_Rate": 0.3081081081081081} {"Template_token": ["", "const", "GlobalValue", "*", "GV", "=", "N", "->", "getGlobal", "(", ")", ";", "int64_t", "Offset", "=", "N", "->", "getOffset", "(", ")", ";", "if", "(", "isPositionIndependent", "(", ")", ")", "report_fatal_error", "(", "", ")", ";", "SDValue", "GAHi", "=", "DAG", ".", "getTargetGlobalAddress", "(", "GV", ",", "DL", ",", "Ty", ",", "Offset", ",", "", ")", ";"], "ground_truth": ["SDValue", "GALo", "=", "DAG", ".", "getTargetGlobalAddress", "(", "GV", ",", "DL", ",", "Ty", ",", "Offset", ",", "", ")", ";"], "File": "CAHPISelLowering", "Func": "LowerGlobalAddress", "Target": "CAHP", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 4262, "Length": 67, "Cover_Rate": 0.40853658536585363} {"Template_token": ["", "return", "LowerBR_CC", "(", "Op", ",", "DAG", ")", ";", "case", "", ":", "return", "LowerGlobalAddress", "(", "Op", ",", "DAG", ")", ";", "case", "", ":", "return", "LowerSELECT", "(", "Op", ",", "DAG", ")", ";", "case", "", ":", "return", "LowerFRAMEADDR", "(", "Op", ",", "DAG", ")", ";", "case", "", ":", "return", "LowerRETURNADDR", "(", "Op", ",", "DAG", ")", ";"], "ground_truth": ["}"], "File": "CAHPISelLowering", "Func": "LowerOperation", "Target": "CAHP", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 4263, "Length": 53, "Cover_Rate": 0.5463917525773195} {"Template_token": ["", "report_fatal_error", "(", "", ")", ";", "case", "", ":", "return", "LowerBR_CC", "(", "Op", ",", "DAG", ")", ";", "case", "", ":", "return", "LowerGlobalAddress", "(", "Op", ",", "DAG", ")", ";", "case", "", ":"], "ground_truth": ["return", "LowerSELECT", "(", "Op", ",", "DAG", ")", ";"], "File": "CAHPISelLowering", "Func": "LowerOperation", "Target": "CAHP", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 4264, "Length": 38, "Cover_Rate": 0.3917525773195876} {"Template_token": ["", "report_fatal_error", "(", "", ")", ";", "}", "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", ")", ";", "Flag", "=", "Chain", ".", "getValue", "(", "", ")", ";", "RetOps", ".", "push_back", "(", "DAG", ".", "getRegister", "(", "VA", ".", "getLocReg", "(", ")", ",", "VA", ".", "getLocVT", "(", ")", ")", ")", ";", "}", "RetOps", "[", "", "]", "=", "Chain", ";"], "ground_truth": ["if", "(", "Flag", ".", "getNode", "(", ")", ")", "{"], "File": "CAHPISelLowering", "Func": "LowerReturn", "Target": "CAHP", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 4265, "Length": 177, "Cover_Rate": 0.6968503937007874} {"Template_token": ["", "SmallVector", "<", "SDValue", ",", "", ">", "RetOps", "(", "", ",", "Chain", ")", ";", "for", "(", "unsigned", "i", "=", "", ",", "e", "=", "RVLocs", ".", "size", "(", ")", ";", "i", "<", "e", ";", "++", "i", ")", "{", "CCValAssign", "&", "VA", "=", "RVLocs", "[", "i", "]", ";", "assert", "(", "VA", ".", "isRegLoc", "(", ")", "&&", "", ")", ";", "Chain", "=", "DAG", ".", "getCopyToReg", "(", "Chain", ",", "DL", ",", "VA", ".", "getLocReg", "(", ")", ",", "OutVals", "[", "i", "]", ",", "Flag", ")", ";", "Flag", "=", "Chain", ".", "getValue", "(", "", ")", ";", "RetOps", ".", "push_back", "(", "DAG", ".", "getRegister", "(", "VA", ".", "getLocReg", "(", ")", ",", "VA", ".", "getLocVT", "(", ")", ")", ")", ";", "}", "RetOps", "[", "", "]", "=", "Chain", ";"], "ground_truth": ["if", "(", "Flag", ".", "getNode", "(", ")", ")", "{"], "File": "CAHPISelLowering", "Func": "LowerReturn", "Target": "CAHP", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 4266, "Length": 128, "Cover_Rate": 0.5039370078740157} {"Template_token": ["", "return", "DAG", ".", "getLoad", "(", "VT", ",", "DL", ",", "DAG", ".", "getEntryNode", "(", ")", ",", "DAG", ".", "getNode", "(", "", ",", "DL", ",", "VT", ",", "FrameAddr", ",", "Offset", ")", ",", "MachinePointerInfo", "(", ")", ")", ";", "}", "unsigned", "Reg", "=", "MF", ".", "addLiveIn", "(", "RI", ".", "getRARegister", "(", ")", ",", "&", "", ")", ";", "return", "DAG", ".", "getCopyFromReg", "(", "DAG", ".", "getEntryNode", "(", ")", ",", "DL", ",", "Reg", ",", "", ")", ";"], "ground_truth": ["}"], "File": "CAHPISelLowering", "Func": "LowerRETURNADDR", "Target": "CAHP", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 4267, "Length": 72, "Cover_Rate": 0.33488372093023255} {"Template_token": ["", "if", "(", "verifyReturnAddressArgumentIsConstant", "(", "Op", ",", "DAG", ")", ")", "return", "SDValue", "(", ")", ";", "EVT", "VT", "=", "Op", ".", "getValueType", "(", ")", ";", "SDLoc", "DL", "(", "Op", ")", ";", "unsigned", "Depth", "=", "cast", "<", "ConstantSDNode", ">", "(", "Op", ".", "getOperand", "(", "", ")", ")", "->", "getZExtValue", "(", ")", ";", "if", "(", "Depth", ")", "{", "int", "Off", "=", "-", "", ";", "SDValue", "FrameAddr", "=", "LowerFRAMEADDR", "(", "Op", ",", "DAG", ")", ";", "SDValue", "Offset", "=", "DAG", ".", "getConstant", "(", "Off", ",", "DL", ",", "VT", ")", ";", "return", "DAG", ".", "getLoad", "(", "VT", ",", "DL", ",", "DAG", ".", "getEntryNode", "(", ")", ",", "DAG", ".", "getNode", "(", "", ",", "DL", ",", "VT", ",", "FrameAddr", ",", "Offset", ")", ",", "MachinePointerInfo", "(", ")", ")", ";", "}", "unsigned", "Reg", "=", "MF", ".", "addLiveIn", "(", "RI", ".", "getRARegister", "(", ")", ",", "&", "", ")", ";", "return", "DAG", ".", "getCopyFromReg", "(", "DAG", ".", "getEntryNode", "(", ")", ",", "DL", ",", "Reg", ",", "", ")", ";"], "ground_truth": ["}"], "File": "CAHPISelLowering", "Func": "LowerRETURNADDR", "Target": "CAHP", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 4268, "Length": 156, "Cover_Rate": 0.7255813953488373} {"Template_token": ["", "SDValue", "Ops", "[", "]", "=", "{", "LHS", ",", "RHS", ",", "TargetCC", ",", "TrueV", ",", "FalseV", "}", ";", "return", "DAG", ".", "getNode", "(", "", ",", "DL", ",", "VTs", ",", "Ops", ")", ";", "}", "SDValue", "Zero", "=", "DAG", ".", "getConstant", "(", "", ",", "DL", ",", "", ")", ";", "SDValue", "SetNE", "=", "DAG", ".", "getConstant", "(", "", ",", "DL", ",", "", ")", ";", "SDVTList", "VTs", "=", "DAG", ".", "getVTList", "(", "Op", ".", "getValueType", "(", ")", ",", "", ")", ";", "SDValue", "Ops", "[", "]", "=", "{", "CondV", ",", "Zero", ",", "SetNE", ",", "TrueV", ",", "FalseV", "}", ";"], "ground_truth": ["return", "DAG", ".", "getNode", "(", "", ",", "DL", ",", "VTs", ",", "Ops", ")", ";"], "File": "CAHPISelLowering", "Func": "LowerSELECT", "Target": "CAHP", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 4269, "Length": 107, "Cover_Rate": 0.35906040268456374} {"Template_token": ["", "case", "", ":", "case", "", ":", "CC", "=", "", "(", "CC", ")", ";"], "ground_truth": ["std", "::", "swap", "(", "LHS", ",", "RHS", ")", ";"], "File": "CAHPISelLowering", "Func": "normalizeSetCC", "Target": "CAHP", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 4270, "Length": 22, "Cover_Rate": 0.3142857142857143} {"Template_token": ["", "void", "MCAsmInfo", "::", "anchor", "(", ")", "{"], "ground_truth": ["}"], "File": "CAHPMCAsmInfo", "Func": "anchor", "Target": "CAHP", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 4272, "Length": 8, "Cover_Rate": 1.0} {"Template_token": ["", "void", "MCAsmInfo", "::", "anchor", "(", ")", "{"], "ground_truth": ["}"], "File": "CAHPMCAsmInfo", "Func": "anchor", "Target": "CAHP", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 4273, "Length": 8, "Cover_Rate": 1.0} {"Template_token": ["", "CalleeSaveStackSlotSize", "=", "", ";", "CommentString", "=", "", ";"], "ground_truth": ["SupportsDebugInformation", "=", "true", ";"], "File": "CAHPMCAsmInfo", "Func": "CAHPMCAsmInfo", "Target": "CAHP", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 4274, "Length": 12, "Cover_Rate": 0.4444444444444444} {"Template_token": ["", "MCCodeEmitter", "(", "MCContext", "&", "ctx", ",", "const", "MCInstrInfo", "&", "MCII", ")", ":", "Ctx", "(", "ctx", ")", ",", "MCII", "(", "MCII", ")", "{"], "ground_truth": ["}"], "File": "CAHPMCCodeEmitter", "Func": "CAHPMCCodeEmitter", "Target": "CAHP", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 4275, "Length": 23, "Cover_Rate": 1.0} {"Template_token": ["", "MCCodeEmitter", "(", "MCContext", "&", "ctx", ",", "const", "MCInstrInfo", "&", "MCII", ")", ":", "Ctx", "(", "ctx", ")", ",", "MCII", "(", "MCII", ")", "{"], "ground_truth": ["}"], "File": "CAHPMCCodeEmitter", "Func": "CAHPMCCodeEmitter", "Target": "CAHP", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 4276, "Length": 23, "Cover_Rate": 1.0} {"Template_token": ["", "return", "new", "MCCodeEmitter", "(", "Ctx", ",", "MCII", ")", ";"], "ground_truth": ["}"], "File": "CAHPMCCodeEmitter", "Func": "createCAHPMCCodeEmitter", "Target": "CAHP", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 4277, "Length": 10, "Cover_Rate": 0.3225806451612903} {"Template_token": ["", "MCCodeEmitter", "*", "llvm", "::", "createMCCodeEmitter", "(", "const", "MCInstrInfo", "&", "MCII", ",", "const", "MCRegisterInfo", "&", "MRI", ",", "MCContext", "&", "Ctx", ")", "{", "return", "new", "MCCodeEmitter", "(", "Ctx", ",", "MCII", ")", ";"], "ground_truth": ["}"], "File": "CAHPMCCodeEmitter", "Func": "createCAHPMCCodeEmitter", "Target": "CAHP", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 4278, "Length": 31, "Cover_Rate": 1.0} {"Template_token": ["", "}", "unsigned", "Size", "=", "Desc", ".", "getSize", "(", ")", ";", "switch", "(", "Size", ")", "{", "default", ":", "llvm_unreachable", "(", "", ")", ";", "case", "", ":", "{", "uint16_t", "Bits", "=", "getBinaryCodeForInstr", "(", "MI", ",", "Fixups", ",", "STI", ")", ";", "", "::", "write", "<", "uint16_t", ">", "(", "OS", ",", "Bits", ",", "", ")", ";", "break", ";", "}", "case", "", ":", "{", "uint32_t", "Bits", "=", "getBinaryCodeForInstr", "(", "MI", ",", "Fixups", ",", "STI", ")", ";", "", "::", "write", "<", "uint16_t", ">", "(", "OS", ",", "Bits", "&", "", ",", "", ")", ";", "OS", ".", "write", "(", "(", "Bits", ">>", "", ")", "&", "", ")", ";"], "ground_truth": ["break", ";"], "File": "CAHPMCCodeEmitter", "Func": "encodeInstruction", "Target": "CAHP", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 4279, "Length": 102, "Cover_Rate": 0.5368421052631579} {"Template_token": ["", "const", "MCInstrDesc", "&", "Desc", "=", "MCII", ".", "get", "(", "MI", ".", "getOpcode", "(", ")", ")", ";", "if", "(", "MI", ".", "getOpcode", "(", ")", "==", "", ")", "{", "expandHlt", "(", "MI", ",", "OS", ",", "Fixups", ",", "STI", ")", ";", "MCNumEmitted", "+=", "", ";", "return", ";", "}", "unsigned", "Size", "=", "Desc", ".", "getSize", "(", ")", ";"], "ground_truth": ["switch", "(", "Size", ")", "{"], "File": "CAHPMCCodeEmitter", "Func": "encodeInstruction", "Target": "CAHP", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 4280, "Length": 59, "Cover_Rate": 0.3105263157894737} {"Template_token": ["", "MCInst", "TmpInst", "=", "MCInstBuilder", "(", "", ")", ".", "addImm", "(", "", ")", ";"], "ground_truth": ["uint16_t", "Bits", "=", "getBinaryCodeForInstr", "(", "TmpInst", ",", "Fixups", ",", "STI", ")", ";"], "File": "CAHPMCCodeEmitter", "Func": "expandHlt", "Target": "CAHP", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 4281, "Length": 25, "Cover_Rate": 0.33783783783783783} {"Template_token": ["", "unsigned", "MCCodeEmitter", "::", "getImmOpValue", "(", "const", "MCInst", "&", "MI", ",", "unsigned", "OpNo", ",", "SmallVectorImpl", "<", "MCFixup", ">", "&", "Fixups", ",", "const", "MCSubtargetInfo", "&", "STI", ")", "const", "{", "const", "MCOperand", "&", "MO", "=", "MI", ".", "getOperand", "(", "OpNo", ")", ";", "if", "(", "MO", ".", "isImm", "(", ")", ")", "return", "MO", ".", "getImm", "(", ")", ";", "assert", "(", "MO", ".", "isExpr", "(", ")", "&&", "", ")", ";", "const", "MCExpr", "*", "Expr", "=", "MO", ".", "getExpr", "(", ")", ";", "MCExpr", "::", "ExprKind", "Kind", "=", "Expr", "->", "getKind", "(", ")", ";", "", "FixupKind", "=", "", ";", "unsigned", "Offset", "=", "", ";", "if", "(", "Kind", "==", "MCExpr", "::", "Target", ")", "{", "const", "MCExpr", "*", "Expr", "=", "cast", "<", "MCExpr", ">", "(", "Expr", ")", ";", "switch", "(", "Expr", "->", "getKind", "(", ")", ")", "{", "case", "MCExpr", "::", "VK__None", ":", "case", "MCExpr", "::", "VK__Invalid", ":", "llvm_unreachable", "(", "", ")", ";", "case", "MCExpr", "::", "VK__LO", ":", "FixupKind", "=", "", ";", "break", ";", "case", "MCExpr", "::", "VK__HI", ":", "FixupKind", "=", "", ";", "break", ";", "}", "}", "else", "if", "(", "Kind", "==", "MCExpr", "::", "SymbolRef", "&&", "cast", "<", "MCSymbolRefExpr", ">", "(", "Expr", ")", "->", "getKind", "(", ")", "==", "MCSymbolRefExpr", "::", "VK_None", ")", "{", "switch", "(", "MI", ".", "getOpcode", "(", ")", ")", "{", "case", "", ":", "case", "", ":", "FixupKind", "=", "", ";", "break", ";", "case", "", ":", "case", "", ":"], "ground_truth": ["case", "", ":"], "File": "CAHPMCCodeEmitter", "Func": "getImmOpValue", "Target": "CAHP", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 4282, "Length": 223, "Cover_Rate": 0.7101910828025477} {"Template_token": ["", "unsigned", "MCCodeEmitter", "::", "getImmOpValue", "(", "const", "MCInst", "&", "MI", ",", "unsigned", "OpNo", ",", "SmallVectorImpl", "<", "MCFixup", ">", "&", "Fixups", ",", "const", "MCSubtargetInfo", "&", "STI", ")", "const", "{", "const", "MCOperand", "&", "MO", "=", "MI", ".", "getOperand", "(", "OpNo", ")", ";", "if", "(", "MO", ".", "isImm", "(", ")", ")", "return", "MO", ".", "getImm", "(", ")", ";", "assert", "(", "MO", ".", "isExpr", "(", ")", "&&", "", ")", ";", "const", "MCExpr", "*", "Expr", "=", "MO", ".", "getExpr", "(", ")", ";", "MCExpr", "::", "ExprKind", "Kind", "=", "Expr", "->", "getKind", "(", ")", ";", "", "FixupKind", "=", "", ";", "unsigned", "Offset", "=", "", ";", "if", "(", "Kind", "==", "MCExpr", "::", "Target", ")", "{", "const", "MCExpr", "*", "Expr", "=", "cast", "<", "MCExpr", ">", "(", "Expr", ")", ";", "switch", "(", "Expr", "->", "getKind", "(", ")", ")", "{", "case", "MCExpr", "::", "VK__None", ":", "case", "MCExpr", "::", "VK__Invalid", ":", "llvm_unreachable", "(", "", ")", ";", "case", "MCExpr", "::", "VK__LO", ":", "FixupKind", "=", "", ";", "break", ";", "case", "MCExpr", "::", "VK__HI", ":", "FixupKind", "=", "", ";", "break", ";", "}", "}", "else", "if", "(", "Kind", "==", "MCExpr", "::", "SymbolRef", "&&", "cast", "<", "MCSymbolRefExpr", ">", "(", "Expr", ")", "->", "getKind", "(", ")", "==", "MCSymbolRefExpr", "::", "VK_None", ")", "{", "switch", "(", "MI", ".", "getOpcode", "(", ")", ")", "{", "case", "", ":", "case", "", ":", "FixupKind", "=", "", ";", "break", ";", "case", "", ":"], "ground_truth": ["case", "", ":"], "File": "CAHPMCCodeEmitter", "Func": "getImmOpValue", "Target": "CAHP", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 4283, "Length": 220, "Cover_Rate": 0.7006369426751592} {"Template_token": ["", "unsigned", "MCCodeEmitter", "::", "getMachineOpValue", "(", "const", "MCInst", "&", "MI", ",", "const", "MCOperand", "&", "MO", ",", "SmallVectorImpl", "<", "MCFixup", ">", "&", "Fixups", ",", "const", "MCSubtargetInfo", "&", "STI", ")", "const", "{", "if", "(", "MO", ".", "isReg", "(", ")", ")", "return", "Ctx", ".", "getRegisterInfo", "(", ")", "->", "getEncodingValue", "(", "MO", ".", "getReg", "(", ")", ")", ";", "if", "(", "MO", ".", "isImm", "(", ")", ")", "return", "static_cast", "<", "unsigned", ">", "(", "MO", ".", "getImm", "(", ")", ")", ";", "llvm_unreachable", "(", "", ")", ";", "return", "", ";"], "ground_truth": ["}"], "File": "CAHPMCCodeEmitter", "Func": "getMachineOpValue", "Target": "CAHP", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 4284, "Length": 83, "Cover_Rate": 1.0} {"Template_token": ["", "~", "MCCodeEmitter", "(", ")", "override", "{"], "ground_truth": ["}"], "File": "CAHPMCCodeEmitter", "Func": "~CAHPMCCodeEmitter", "Target": "CAHP", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 4285, "Length": 7, "Cover_Rate": 1.0} {"Template_token": ["", "~", "MCCodeEmitter", "(", ")", "override", "{"], "ground_truth": ["}"], "File": "CAHPMCCodeEmitter", "Func": "~CAHPMCCodeEmitter", "Target": "CAHP", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 4286, "Length": 7, "Cover_Rate": 1.0} {"Template_token": ["", "explicit", "MCExpr", "(", "const", "MCExpr", "*", "Expr", ",", "VariantKind", "Kind", ")", ":", "Expr", "(", "Expr", ")", ",", "Kind", "(", "Kind", ")", "{"], "ground_truth": ["}"], "File": "CAHPMCExpr", "Func": "CAHPMCExpr", "Target": "CAHP", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 4287, "Length": 23, "Cover_Rate": 1.0} {"Template_token": ["", "explicit", "MCExpr", "(", "const", "MCExpr", "*", "Expr", ",", "VariantKind", "Kind", ")", ":", "Expr", "(", "Expr", ")", ",", "Kind", "(", "Kind", ")", "{"], "ground_truth": ["}"], "File": "CAHPMCExpr", "Func": "CAHPMCExpr", "Target": "CAHP", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 4288, "Length": 23, "Cover_Rate": 1.0} {"Template_token": ["", "return", "true", ";"], "ground_truth": ["}"], "File": "CAHPMCExpr", "Func": "classof", "Target": "CAHP", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 4289, "Length": 4, "Cover_Rate": 0.3076923076923077} {"Template_token": ["", "const", "MCExpr", "*", "MCExpr", "::", "create", "(", "const", "MCExpr", "*", "Expr", ",", "VariantKind", "Kind", ",", "MCContext", "&", "Ctx", ")", "{", "return", "new", "(", "Ctx", ")", "MCExpr", "(", "Expr", ",", "Kind", ")", ";"], "ground_truth": ["}"], "File": "CAHPMCExpr", "Func": "create", "Target": "CAHP", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 4291, "Length": 33, "Cover_Rate": 1.0} {"Template_token": ["", "const", "MCExpr", "*", "MCExpr", "::", "create", "(", "const", "MCExpr", "*", "Expr", ",", "VariantKind", "Kind", ",", "MCContext", "&", "Ctx", ")", "{"], "ground_truth": ["return", "new", "(", "Ctx", ")", "MCExpr", "(", "Expr", ",", "Kind", ")", ";"], "File": "CAHPMCExpr", "Func": "create", "Target": "CAHP", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 4292, "Length": 32, "Cover_Rate": 0.9696969696969697} {"Template_token": ["", "if", "(", "!", "getSubExpr", "(", ")", "->", "evaluateAsRelocatable", "(", "Value", ",", "nullptr", ",", "nullptr", ")", ")", "return", "false", ";", "if", "(", "!", "Value", ".", "isAbsolute", "(", ")", ")", "return", "false", ";", "Res", "=", "evaluateAsInt64", "(", "Value", ".", "getConstant", "(", ")", ")", ";"], "ground_truth": ["return", "true", ";"], "File": "CAHPMCExpr", "Func": "evaluateAsConstant", "Target": "CAHP", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 4293, "Length": 45, "Cover_Rate": 0.75} {"Template_token": ["", "if", "(", "!", "Value", ".", "isAbsolute", "(", ")", ")", "return", "false", ";"], "ground_truth": ["Res", "=", "evaluateAsInt64", "(", "Value", ".", "getConstant", "(", ")", ")", ";"], "File": "CAHPMCExpr", "Func": "evaluateAsConstant", "Target": "CAHP", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 4294, "Length": 23, "Cover_Rate": 0.38333333333333336} {"Template_token": ["", "case", "VK__LO", ":", "return", "SignExtend64", "<", "", ">", "(", "Value", ")", ";", "case", "VK__HI", ":"], "ground_truth": ["return", "(", "(", "Value", "+", "", ")", ">>", "", ")", "&", "", ";"], "File": "CAHPMCExpr", "Func": "evaluateAsInt64", "Target": "CAHP", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 4295, "Length": 28, "Cover_Rate": 0.5384615384615384} {"Template_token": ["", "return", "SignExtend64", "<", "", ">", "(", "Value", ")", ";", "case", "VK__HI", ":", "return", "(", "(", "Value", "+", "", ")", ">>", "", ")", "&", "", ";", "}"], "ground_truth": ["}"], "File": "CAHPMCExpr", "Func": "evaluateAsInt64", "Target": "CAHP", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 4296, "Length": 27, "Cover_Rate": 0.5192307692307693} {"Template_token": ["", "bool", "MCExpr", "::", "evaluateAsRelocatableImpl", "(", "MCValue", "&", "Res", ",", "const", "MCAsmLayout", "*", "Layout", ",", "const", "MCFixup", "*", "Fixup", ")", "const", "{"], "ground_truth": ["return", "getSubExpr", "(", ")", "->", "evaluateAsRelocatable", "(", "Res", ",", "Layout", ",", "Fixup", ")", ";"], "File": "CAHPMCExpr", "Func": "evaluateAsRelocatableImpl", "Target": "CAHP", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 4297, "Length": 35, "Cover_Rate": 0.9722222222222222} {"Template_token": ["", "void", "fixELFSymbolsInTLSFixups", "(", "MCAssembler", "&", "Asm", ")", "const", "override", "{"], "ground_truth": ["}"], "File": "CAHPMCExpr", "Func": "fixELFSymbolsInTLSFixups", "Target": "CAHP", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 4301, "Length": 11, "Cover_Rate": 1.0} {"Template_token": ["", "void", "fixELFSymbolsInTLSFixups", "(", "MCAssembler", "&", "Asm", ")", "const", "override", "{"], "ground_truth": ["}"], "File": "CAHPMCExpr", "Func": "fixELFSymbolsInTLSFixups", "Target": "CAHP", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 4302, "Length": 11, "Cover_Rate": 1.0} {"Template_token": ["", "VariantKind", "getKind", "(", ")", "const", "{"], "ground_truth": ["return", "Kind", ";"], "File": "CAHPMCExpr", "Func": "getKind", "Target": "CAHP", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 4303, "Length": 9, "Cover_Rate": 0.9} {"Template_token": ["", "VariantKind", "getKind", "(", ")", "const", "{"], "ground_truth": ["return", "Kind", ";"], "File": "CAHPMCExpr", "Func": "getKind", "Target": "CAHP", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 4304, "Length": 9, "Cover_Rate": 0.9} {"Template_token": ["", "return", "Expr", ";"], "ground_truth": ["}"], "File": "CAHPMCExpr", "Func": "getSubExpr", "Target": "CAHP", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 4305, "Length": 4, "Cover_Rate": 0.3333333333333333} {"Template_token": ["", "return", "", ";", "case", "VK__HI", ":", "return", "", ";", "}"], "ground_truth": ["}"], "File": "CAHPMCExpr", "Func": "getVariantKindName", "Target": "CAHP", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 4308, "Length": 11, "Cover_Rate": 0.3142857142857143} {"Template_token": ["", "void", "MCExpr", "::", "printImpl", "(", "raw_ostream", "&", "OS", ",", "const", "MCAsmInfo", "*", "MAI", ")", "const", "{", "bool", "HasVariant", "=", "getKind", "(", ")", "!=", "VK__None", ";", "if", "(", "HasVariant", ")", "OS", "<<", "'%'", "<<", "getVariantKindName", "(", "getKind", "(", ")", ")", "<<", "'('", ";", "Expr", "->", "print", "(", "OS", ",", "MAI", ")", ";", "if", "(", "HasVariant", ")", "OS", "<<", "')'", ";"], "ground_truth": ["}"], "File": "CAHPMCExpr", "Func": "printImpl", "Target": "CAHP", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 4309, "Length": 60, "Cover_Rate": 1.0} {"Template_token": ["", "OutMI", ".", "setOpcode", "(", "MI", "->", "getOpcode", "(", ")", ")", ";", "for", "(", "const", "MachineOperand", "&", "MO", ":", "MI", "->", "operands", "(", ")", ")", "{", "MCOperand", "MCOp", ";"], "ground_truth": ["LowerMachineOperandToMCOperand", "(", "MO", ",", "MCOp", ",", "AP", ")", ";"], "File": "CAHPMCInstLower", "Func": "LowerCAHPMachineInstrToMCInst", "Target": "CAHP", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 4312, "Length": 37, "Cover_Rate": 0.4805194805194805} {"Template_token": ["", "OutMI", ".", "setOpcode", "(", "MI", "->", "getOpcode", "(", ")", ")", ";", "for", "(", "const", "MachineOperand", "&", "MO", ":", "MI", "->", "operands", "(", ")", ")", "{", "MCOperand", "MCOp", ";"], "ground_truth": ["LowerMachineOperandToMCOperand", "(", "MO", ",", "MCOp", ",", "AP", ")", ";"], "File": "CAHPMCInstLower", "Func": "LowerCAHPMachineInstrToMCInst", "Target": "CAHP", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 4313, "Length": 37, "Cover_Rate": 0.4805194805194805} {"Template_token": ["", "bool", "llvm", "::", "LowerMachineOperandToMCOperand", "(", "const", "MachineOperand", "&", "MO", ",", "MCOperand", "&", "MCOp", ",", "const", "AsmPrinter", "&", "AP", ")", "{", "switch", "(", "MO", ".", "getType", "(", ")", ")", "{", "default", ":", "report_fatal_error", "(", "", ")", ";", "case", "MachineOperand", "::", "MO_Register", ":", "if", "(", "MO", ".", "isImplicit", "(", ")", ")", "return", "false", ";", "MCOp", "=", "MCOperand", "::", "createReg", "(", "MO", ".", "getReg", "(", ")", ")", ";", "break", ";", "case", "MachineOperand", "::", "MO_RegisterMask", ":", "return", "false", ";", "case", "MachineOperand", "::", "MO_Immediate", ":", "MCOp", "=", "MCOperand", "::", "createImm", "(", "MO", ".", "getImm", "(", ")", ")", ";", "break", ";", "case", "MachineOperand", "::", "MO_MachineBasicBlock", ":", "MCOp", "=", "MCOperand", "::", "createExpr", "(", "MCSymbolRefExpr", "::", "create", "(", "MO", ".", "getMBB", "(", ")", "->", "getSymbol", "(", ")", ",", "AP", ".", "OutContext", ")", ")", ";"], "ground_truth": ["break", ";"], "File": "CAHPMCInstLower", "Func": "LowerCAHPMachineOperandToMCOperand", "Target": "CAHP", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 4314, "Length": 128, "Cover_Rate": 0.6844919786096256} {"Template_token": ["", "if", "(", "!", "MO", ".", "isJTI", "(", ")", "&&", "MO", ".", "getOffset", "(", ")", ")", "ME", "=", "MCBinaryExpr", "::", "createAdd", "(", "ME", ",", "MCConstantExpr", "::", "create", "(", "MO", ".", "getOffset", "(", ")", ",", "Ctx", ")", ",", "Ctx", ")", ";"], "ground_truth": ["if", "(", "Kind", "!=", "MCExpr", "::", "VK__None", ")", "ME", "=", "MCExpr", "::", "create", "(", "ME", ",", "Kind", ",", "Ctx", ")", ";"], "File": "CAHPMCInstLower", "Func": "LowerSymbolOperand", "Target": "CAHP", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 4315, "Length": 60, "Cover_Rate": 0.34285714285714286} {"Template_token": ["", "break", ";", "}", "const", "MCExpr", "*", "ME", "=", "MCSymbolRefExpr", "::", "create", "(", "Sym", ",", "MCSymbolRefExpr", "::", "VK_None", ",", "Ctx", ")", ";", "if", "(", "!", "MO", ".", "isJTI", "(", ")", "&&", "MO", ".", "getOffset", "(", ")", ")", "ME", "=", "MCBinaryExpr", "::", "createAdd", "(", "ME", ",", "MCConstantExpr", "::", "create", "(", "MO", ".", "getOffset", "(", ")", ",", "Ctx", ")", ",", "Ctx", ")", ";", "if", "(", "Kind", "!=", "MCExpr", "::", "VK__None", ")", "ME", "=", "MCExpr", "::", "create", "(", "ME", ",", "Kind", ",", "Ctx", ")", ";"], "ground_truth": ["return", "MCOperand", "::", "createExpr", "(", "ME", ")", ";"], "File": "CAHPMCInstLower", "Func": "LowerSymbolOperand", "Target": "CAHP", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 4316, "Length": 89, "Cover_Rate": 0.5085714285714286} {"Template_token": ["", "static", "MCAsmInfo", "*", "createMCAsmInfo", "(", "const", "MCRegisterInfo", "&", "MRI", ",", "const", "Triple", "&", "TT", ")", "{"], "ground_truth": ["return", "new", "MCAsmInfo", "(", "TT", ")", ";"], "File": "CAHPMCTargetDesc", "Func": "createCAHPMCAsmInfo", "Target": "CAHP", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 4317, "Length": 23, "Cover_Rate": 0.9583333333333334} {"Template_token": ["", "return", "new", "MCAsmInfo", "(", "TT", ")", ";"], "ground_truth": ["}"], "File": "CAHPMCTargetDesc", "Func": "createCAHPMCAsmInfo", "Target": "CAHP", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 4318, "Length": 8, "Cover_Rate": 0.3333333333333333} {"Template_token": ["", "MCInstrInfo", "*", "X", "=", "new", "MCInstrInfo", "(", ")", ";"], "ground_truth": ["InitMCInstrInfo", "(", "X", ")", ";"], "File": "CAHPMCTargetDesc", "Func": "createCAHPMCInstrInfo", "Target": "CAHP", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 4320, "Length": 14, "Cover_Rate": 0.56} {"Template_token": ["", "static", "MCRegisterInfo", "*", "createMCRegisterInfo", "(", "const", "Triple", "&", "TT", ")", "{", "MCRegisterInfo", "*", "X", "=", "new", "MCRegisterInfo", "(", ")", ";", "InitMCRegisterInfo", "(", "X", ",", "", ")", ";", "return", "X", ";"], "ground_truth": ["}"], "File": "CAHPMCTargetDesc", "Func": "createCAHPMCRegisterInfo", "Target": "CAHP", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 4321, "Length": 31, "Cover_Rate": 0.9393939393939394} {"Template_token": ["", "InitMCRegisterInfo", "(", "X", ",", "", ")", ";", "return", "X", ";"], "ground_truth": ["}"], "File": "CAHPMCTargetDesc", "Func": "createCAHPMCRegisterInfo", "Target": "CAHP", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 4322, "Length": 11, "Cover_Rate": 0.3333333333333333} {"Template_token": ["", "if", "(", "CPUName", ".", "empty", "(", ")", ")", "CPUName", "=", "", ";"], "ground_truth": ["return", "createMCSubtargetInfoImpl", "(", "TT", ",", "CPUName", ",", "FS", ")", ";"], "File": "CAHPMCTargetDesc", "Func": "createCAHPMCSubtargetInfo", "Target": "CAHP", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 4323, "Length": 22, "Cover_Rate": 0.46808510638297873} {"Template_token": ["", "void", "LLVMInitializeTargetMC", "(", ")", "{", "Target", "&", "T", "=", "getTheTarget", "(", ")", ";", "TargetRegistry", "::", "RegisterMCAsmInfo", "(", "T", ",", "createMCAsmInfo", ")", ";", "TargetRegistry", "::", "RegisterMCInstrInfo", "(", "T", ",", "createMCInstrInfo", ")", ";", "TargetRegistry", "::", "RegisterMCRegInfo", "(", "T", ",", "createMCRegisterInfo", ")", ";", "TargetRegistry", "::", "RegisterMCAsmBackend", "(", "T", ",", "createAsmBackend", ")", ";", "TargetRegistry", "::", "RegisterMCSubtargetInfo", "(", "T", ",", "createMCSubtargetInfo", ")", ";"], "ground_truth": ["TargetRegistry", "::", "RegisterMCCodeEmitter", "(", "T", ",", "createMCCodeEmitter", ")", ";"], "File": "CAHPMCTargetDesc", "Func": "LLVMInitializeCAHPTargetMC", "Target": "CAHP", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 4324, "Length": 67, "Cover_Rate": 0.8701298701298701} {"Template_token": ["", "RegisterInfo", "::", "RegisterInfo", "(", "unsigned", "HwMode", ")", ":", "GenRegisterInfo", "(", "", ",", "", ",", "", ",", "", ",", "HwMode", ")", "{"], "ground_truth": ["}"], "File": "CAHPRegisterInfo", "Func": "CAHPRegisterInfo", "Target": "CAHP", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 4325, "Length": 22, "Cover_Rate": 0.9166666666666666} {"Template_token": ["", "RegisterInfo", "::", "RegisterInfo", "(", "unsigned", "HwMode", ")", ":", "GenRegisterInfo", "(", "", ",", "", ",", "", ",", "", ",", "HwMode", ")", "{"], "ground_truth": ["}"], "File": "CAHPRegisterInfo", "Func": "CAHPRegisterInfo", "Target": "CAHP", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 4326, "Length": 22, "Cover_Rate": 0.9166666666666666} {"Template_token": ["", "assert", "(", "SPAdj", "==", "", "&&", "", ")", ";", "MachineInstr", "&", "MI", "=", "*", "II", ";", "MachineFunction", "&", "MF", "=", "*", "MI", ".", "getParent", "(", ")", "->", "getParent", "(", ")", ";", "MachineRegisterInfo", "&", "MRI", "=", "MF", ".", "getRegInfo", "(", ")", ";", "const", "InstrInfo", "*", "TII", "=", "MF", ".", "getSubtarget", "<", "Subtarget", ">", "(", ")", ".", "getInstrInfo", "(", ")", ";", "DebugLoc", "DL", "=", "MI", ".", "getDebugLoc", "(", ")", ";", "int", "FrameIndex", "=", "MI", ".", "getOperand", "(", "FIOperandNum", ")", ".", "getIndex", "(", ")", ";"], "ground_truth": ["unsigned", "FrameReg", ";"], "File": "CAHPRegisterInfo", "Func": "eliminateFrameIndex", "Target": "CAHP", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 4327, "Length": 85, "Cover_Rate": 0.3125} {"Template_token": ["", "const", "MCPhysReg", "*", "RegisterInfo", "::", "getCalleeSavedRegs", "(", "const", "MachineFunction", "*", "MF", ")", "const", "{", "return", "CSR_SaveList", ";"], "ground_truth": ["}"], "File": "CAHPRegisterInfo", "Func": "getCalleeSavedRegs", "Target": "CAHP", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 4328, "Length": 18, "Cover_Rate": 1.0} {"Template_token": ["", "const", "MCPhysReg", "*", "RegisterInfo", "::", "getCalleeSavedRegs", "(", "const", "MachineFunction", "*", "MF", ")", "const", "{"], "ground_truth": ["return", "CSR_SaveList", ";"], "File": "CAHPRegisterInfo", "Func": "getCalleeSavedRegs", "Target": "CAHP", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 4329, "Length": 17, "Cover_Rate": 0.9444444444444444} {"Template_token": ["", "const", "uint32_t", "*", "RegisterInfo", "::", "getCallPreservedMask", "(", "const", "MachineFunction", "&", ",", "CallingConv", "::", "ID", ")", "const", "{", "return", "CSR_RegMask", ";"], "ground_truth": ["}"], "File": "CAHPRegisterInfo", "Func": "getCallPreservedMask", "Target": "CAHP", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 4330, "Length": 21, "Cover_Rate": 1.0} {"Template_token": ["", "BitVector", "Reserved", "(", "getNumRegs", "(", ")", ")", ";", "markSuperRegs", "(", "Reserved", ",", "", ")", ";", "markSuperRegs", "(", "Reserved", ",", "", ")", ";", "markSuperRegs", "(", "Reserved", ",", "", ")", ";", "assert", "(", "checkAllSuperRegsMarked", "(", "Reserved", ")", ")", ";"], "ground_truth": ["return", "Reserved", ";"], "File": "CAHPRegisterInfo", "Func": "getReservedRegs", "Target": "CAHP", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 4333, "Length": 40, "Cover_Rate": 0.6779661016949152} {"Template_token": ["", "bool", "requiresFrameIndexScavenging", "(", "const", "MachineFunction", "&", "MF", ")", "const", "override", "{"], "ground_truth": ["return", "true", ";"], "File": "CAHPRegisterInfo", "Func": "requiresFrameIndexScavenging", "Target": "CAHP", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 4335, "Length": 14, "Cover_Rate": 0.9333333333333333} {"Template_token": ["", "bool", "requiresRegisterScavenging", "(", "const", "MachineFunction", "&", "MF", ")", "const", "override", "{"], "ground_truth": ["return", "true", ";"], "File": "CAHPRegisterInfo", "Func": "requiresRegisterScavenging", "Target": "CAHP", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 4336, "Length": 14, "Cover_Rate": 0.9333333333333333} {"Template_token": ["", "bool", "trackLivenessAfterRegAlloc", "(", "const", "MachineFunction", "&", ")", "const", "override", "{"], "ground_truth": ["return", "true", ";"], "File": "CAHPRegisterInfo", "Func": "trackLivenessAfterRegAlloc", "Target": "CAHP", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 4338, "Length": 13, "Cover_Rate": 0.9285714285714286} {"Template_token": ["", "bool", "trackLivenessAfterRegAlloc", "(", "const", "MachineFunction", "&", ")", "const", "override", "{"], "ground_truth": ["return", "true", ";"], "File": "CAHPRegisterInfo", "Func": "trackLivenessAfterRegAlloc", "Target": "CAHP", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 4339, "Length": 13, "Cover_Rate": 0.9285714285714286} {"Template_token": ["", "void", "Subtarget", "::", "anchor", "(", ")", "{"], "ground_truth": ["}"], "File": "CAHPSubtarget", "Func": "anchor", "Target": "CAHP", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 4340, "Length": 8, "Cover_Rate": 1.0} {"Template_token": ["", "void", "Subtarget", "::", "anchor", "(", ")", "{"], "ground_truth": ["}"], "File": "CAHPSubtarget", "Func": "anchor", "Target": "CAHP", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 4341, "Length": 8, "Cover_Rate": 1.0} {"Template_token": ["", "Subtarget", "::", "Subtarget", "(", "const", "Triple", "&", "TT", ",", "const", "std", "::", "string", "&", "CPU", ",", "const", "std", "::", "string", "&", "FS", ",", "const", "TargetMachine", "&", "TM", ")", ":", "GenSubtargetInfo", "(", "TT", ",", "CPU", ",", "FS", ")", ",", "FrameLowering", "(", "initializeSubtargetDependencies", "(", "CPU", ",", "FS", ")", ")", ",", "InstrInfo", "(", ")", ",", "RegInfo", "(", "getHwMode", "(", ")", ")", ",", "TLInfo", "(", "TM", ",", "*", "this", ")", "{"], "ground_truth": ["}"], "File": "CAHPSubtarget", "Func": "CAHPSubtarget", "Target": "CAHP", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 4342, "Length": 68, "Cover_Rate": 1.0} {"Template_token": ["", "Subtarget", "::", "Subtarget", "(", "const", "Triple", "&", "TT", ",", "const", "std", "::", "string", "&", "CPU", ",", "const", "std", "::", "string", "&", "FS", ",", "const", "TargetMachine", "&", "TM", ")", ":", "GenSubtargetInfo", "(", "TT", ",", "CPU", ",", "FS", ")", ",", "FrameLowering", "(", "initializeSubtargetDependencies", "(", "CPU", ",", "FS", ")", ")", ",", "InstrInfo", "(", ")", ",", "RegInfo", "(", "getHwMode", "(", ")", ")", ",", "TLInfo", "(", "TM", ",", "*", "this", ")", "{"], "ground_truth": ["}"], "File": "CAHPSubtarget", "Func": "CAHPSubtarget", "Target": "CAHP", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 4343, "Length": 68, "Cover_Rate": 1.0} {"Template_token": ["", "bool", "enableMachineScheduler", "(", ")", "const", "override", "{", "return", "true", ";"], "ground_truth": ["}"], "File": "CAHPSubtarget", "Func": "enableMachineScheduler", "Target": "CAHP", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 4344, "Length": 11, "Cover_Rate": 1.0} {"Template_token": ["", "return", "&", "FrameLowering", ";"], "ground_truth": ["}"], "File": "CAHPSubtarget", "Func": "getFrameLowering", "Target": "CAHP", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 4345, "Length": 5, "Cover_Rate": 0.35714285714285715} {"Template_token": ["", "const", "FrameLowering", "*", "getFrameLowering", "(", ")", "const", "override", "{"], "ground_truth": ["return", "&", "FrameLowering", ";"], "File": "CAHPSubtarget", "Func": "getFrameLowering", "Target": "CAHP", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 4346, "Length": 13, "Cover_Rate": 0.9285714285714286} {"Template_token": ["", "const", "InstrInfo", "*", "getInstrInfo", "(", ")", "const", "override", "{"], "ground_truth": ["return", "&", "InstrInfo", ";"], "File": "CAHPSubtarget", "Func": "getInstrInfo", "Target": "CAHP", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 4347, "Length": 13, "Cover_Rate": 0.9285714285714286} {"Template_token": ["", "const", "InstrInfo", "*", "getInstrInfo", "(", ")", "const", "override", "{"], "ground_truth": ["return", "&", "InstrInfo", ";"], "File": "CAHPSubtarget", "Func": "getInstrInfo", "Target": "CAHP", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 4348, "Length": 13, "Cover_Rate": 0.9285714285714286} {"Template_token": ["", "const", "RegisterInfo", "*", "getRegisterInfo", "(", ")", "const", "override", "{"], "ground_truth": ["return", "&", "RegInfo", ";"], "File": "CAHPSubtarget", "Func": "getRegisterInfo", "Target": "CAHP", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 4350, "Length": 13, "Cover_Rate": 0.9285714285714286} {"Template_token": ["", "const", "SelectionDAGTargetInfo", "*", "getSelectionDAGInfo", "(", ")", "const", "override", "{"], "ground_truth": ["return", "&", "TSInfo", ";"], "File": "CAHPSubtarget", "Func": "getSelectionDAGInfo", "Target": "CAHP", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 4351, "Length": 13, "Cover_Rate": 0.9285714285714286} {"Template_token": ["", "return", "&", "TLInfo", ";"], "ground_truth": ["}"], "File": "CAHPSubtarget", "Func": "getTargetLowering", "Target": "CAHP", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 4352, "Length": 5, "Cover_Rate": 0.35714285714285715} {"Template_token": ["", "const", "TargetLowering", "*", "getTargetLowering", "(", ")", "const", "override", "{", "return", "&", "TLInfo", ";"], "ground_truth": ["}"], "File": "CAHPSubtarget", "Func": "getTargetLowering", "Target": "CAHP", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 4353, "Length": 14, "Cover_Rate": 1.0} {"Template_token": ["", "if", "(", "CPUName", ".", "empty", "(", ")", ")", "CPUName", "=", "", ";"], "ground_truth": ["ParseSubtargetFeatures", "(", "CPUName", ",", "FS", ")", ";"], "File": "CAHPSubtarget", "Func": "initializeSubtargetDependencies", "Target": "CAHP", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 4354, "Length": 19, "Cover_Rate": 0.4318181818181818} {"Template_token": ["", "static", "Target", "TheTarget", ";", "return", "TheTarget", ";"], "ground_truth": ["}"], "File": "CAHPTargetInfo1", "Func": "getTheCAHPTarget", "Target": "CAHP", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 4355, "Length": 8, "Cover_Rate": 0.5} {"Template_token": ["", "static", "Target", "TheTarget", ";", "return", "TheTarget", ";"], "ground_truth": ["}"], "File": "CAHPTargetInfo1", "Func": "getTheCAHPTarget", "Target": "CAHP", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 4356, "Length": 8, "Cover_Rate": 0.5} {"Template_token": ["", "RegisterTarget", "<", "Triple", "::", "cahp", ">", "X", "(", "getTheTarget", "(", ")", ",", "", ",", "", ",", "", ")", ";"], "ground_truth": ["}"], "File": "CAHPTargetInfo1", "Func": "LLVMInitializeCAHPTargetInfo", "Target": "CAHP", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 4357, "Length": 20, "Cover_Rate": 0.7692307692307693} {"Template_token": ["", "void", "LLVMInitializeTargetMC", "(", ")", "{"], "ground_truth": ["}"], "File": "CAHPTargetInfo1", "Func": "LLVMInitializeCAHPTargetMC", "Target": "CAHP", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 4358, "Length": 6, "Cover_Rate": 1.0} {"Template_token": ["", "void", "LLVMInitializeTargetMC", "(", ")", "{"], "ground_truth": ["}"], "File": "CAHPTargetInfo1", "Func": "LLVMInitializeCAHPTargetMC", "Target": "CAHP", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 4359, "Length": 6, "Cover_Rate": 1.0} {"Template_token": ["", "Target", "&", "getTheTarget", "(", ")", "{", "static", "Target", "TheTarget", ";", "return", "TheTarget", ";"], "ground_truth": ["}"], "File": "CAHPTargetInfo", "Func": "getTheCAHPTarget", "Target": "CAHP", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 4360, "Length": 14, "Cover_Rate": 1.0} {"Template_token": ["", "void", "LLVMInitializeTargetInfo", "(", ")", "{", "RegisterTarget", "<", "Triple", "::", "cahp", ">", "X", "(", "getTheTarget", "(", ")", ",", "", ",", "", ",", "", ")", ";"], "ground_truth": ["}"], "File": "CAHPTargetInfo", "Func": "LLVMInitializeCAHPTargetInfo", "Target": "CAHP", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 4361, "Length": 25, "Cover_Rate": 1.0} {"Template_token": ["", "static", "StringRef", "computeDataLayout", "(", "const", "Triple", "&", "TT", ")", "{"], "ground_truth": ["return", "", ";"], "File": "CAHPTargetMachine1", "Func": "computeDataLayout", "Target": "CAHP", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 4364, "Length": 13, "Cover_Rate": 0.9285714285714286} {"Template_token": ["", "TargetPassConfig", "*", "TargetMachine", "::", "createPassConfig", "(", "PassManagerBase", "&", "PM", ")", "{", "return", "new", "TargetPassConfig", "(", "*", "this", ",", "PM", ")", ";"], "ground_truth": ["}"], "File": "CAHPTargetMachine1", "Func": "createPassConfig", "Target": "CAHP", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 4366, "Length": 22, "Cover_Rate": 1.0} {"Template_token": ["", "LLVM_EXTERNAL_VISIBILITY", "void", "LLVMInitializeTarget", "(", ")", "{"], "ground_truth": ["RegisterTargetMachine", "<", "TargetMachine", ">", "X", "(", "getTheTarget", "(", ")", ")", ";"], "File": "CAHPTargetMachine1", "Func": "LLVMInitializeCAHPTarget", "Target": "CAHP", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 4368, "Length": 17, "Cover_Rate": 0.9444444444444444} {"Template_token": ["", "addPass", "(", "createISelDag", "(", "getTargetMachine", "(", ")", ")", ")", ";", "return", "false", ";"], "ground_truth": ["}"], "File": "CAHPTargetMachine", "Func": "addInstSelector", "Target": "CAHP", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 4370, "Length": 14, "Cover_Rate": 0.6666666666666666} {"Template_token": ["", "void", "PassConfig", "::", "addPreEmitPass", "(", ")", "{", "addPass", "(", "&", "BranchRelaxationPassID", ")", ";"], "ground_truth": ["}"], "File": "CAHPTargetMachine", "Func": "addPreEmitPass", "Target": "CAHP", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 4371, "Length": 14, "Cover_Rate": 1.0} {"Template_token": ["", "PassConfig", "(", "TargetMachine", "&", "TM", ",", "PassManagerBase", "&", "PM", ")", ":", "TargetPassConfig", "(", "TM", ",", "PM", ")", "{"], "ground_truth": ["}"], "File": "CAHPTargetMachine", "Func": "CAHPPassConfig", "Target": "CAHP", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 4373, "Length": 19, "Cover_Rate": 1.0} {"Template_token": ["", "PassConfig", "(", "TargetMachine", "&", "TM", ",", "PassManagerBase", "&", "PM", ")", ":", "TargetPassConfig", "(", "TM", ",", "PM", ")", "{"], "ground_truth": ["}"], "File": "CAHPTargetMachine", "Func": "CAHPPassConfig", "Target": "CAHP", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 4374, "Length": 19, "Cover_Rate": 1.0} {"Template_token": ["", "TargetMachine", "::", "TargetMachine", "(", "const", "Target", "&", "T", ",", "const", "Triple", "&", "TT", ",", "StringRef", "CPU", ",", "StringRef", "FS", ",", "const", "TargetOptions", "&", "Options", ",", "Optional", "<", "Reloc", "::", "Model", ">", "RM", ",", "Optional", "<", "CodeModel", "::", "Model", ">", "CM", ",", "CodeGenOpt", "::", "Level", "OL", ",", "bool", "JIT", ")", ":", "LLVMTargetMachine", "(", "T", ",", "computeDataLayout", "(", "TT", ")", ",", "TT", ",", "CPU", ",", "FS", ",", "Options", ",", "getEffectiveRelocModel", "(", "TT", ",", "RM", ")", ",", "getEffectiveCodeModel", "(", "CM", ",", "CodeModel", "::", "Small", ")", ",", "OL", ")", ",", "TLOF", "(", "make_unique", "<", "TargetLoweringObjectFileELF", ">", "(", ")", ")", ",", "Subtarget", "(", "TT", ",", "CPU", ",", "FS", ",", "*", "this", ")", "{"], "ground_truth": ["initAsmInfo", "(", ")", ";"], "File": "CAHPTargetMachine", "Func": "CAHPTargetMachine", "Target": "CAHP", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 4375, "Length": 112, "Cover_Rate": 0.9911504424778761} {"Template_token": ["", "static", "std", "::", "string", "computeDataLayout", "(", "const", "Triple", "&", "TT", ")", "{"], "ground_truth": ["return", "", "", "", "", "", "", ";"], "File": "CAHPTargetMachine", "Func": "computeDataLayout", "Target": "CAHP", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 4376, "Length": 20, "Cover_Rate": 0.9523809523809523} {"Template_token": ["", "static", "std", "::", "string", "computeDataLayout", "(", "const", "Triple", "&", "TT", ")", "{"], "ground_truth": ["return", "", "", "", "", "", "", ";"], "File": "CAHPTargetMachine", "Func": "computeDataLayout", "Target": "CAHP", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 4377, "Length": 20, "Cover_Rate": 0.9523809523809523} {"Template_token": ["", "TargetPassConfig", "*", "TargetMachine", "::", "createPassConfig", "(", "PassManagerBase", "&", "PM", ")", "{", "return", "new", "PassConfig", "(", "*", "this", ",", "PM", ")", ";"], "ground_truth": ["}"], "File": "CAHPTargetMachine", "Func": "createPassConfig", "Target": "CAHP", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 4379, "Length": 22, "Cover_Rate": 1.0} {"Template_token": ["", "TargetMachine", "&", "getTargetMachine", "(", ")", "const", "{", "return", "getTM", "<", "TargetMachine", ">", "(", ")", ";"], "ground_truth": ["}"], "File": "CAHPTargetMachine", "Func": "getCAHPTargetMachine", "Target": "CAHP", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 4380, "Length": 16, "Cover_Rate": 1.0} {"Template_token": ["", "TargetMachine", "&", "getTargetMachine", "(", ")", "const", "{", "return", "getTM", "<", "TargetMachine", ">", "(", ")", ";"], "ground_truth": ["}"], "File": "CAHPTargetMachine", "Func": "getCAHPTargetMachine", "Target": "CAHP", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 4381, "Length": 16, "Cover_Rate": 1.0} {"Template_token": ["", "static", "Reloc", "::", "Model", "getEffectiveRelocModel", "(", "const", "Triple", "&", "TT", ",", "Optional", "<", "Reloc", "::", "Model", ">", "RM", ")", "{", "if", "(", "!", "RM", ".", "hasValue", "(", ")", ")", "return", "Reloc", "::", "Static", ";", "return", "*", "RM", ";"], "ground_truth": ["}"], "File": "CAHPTargetMachine", "Func": "getEffectiveRelocModel", "Target": "CAHP", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 4383, "Length": 39, "Cover_Rate": 1.0} {"Template_token": ["", "TargetLoweringObjectFile", "*", "getObjFileLowering", "(", ")", "const", "override", "{", "return", "TLOF", ".", "get", "(", ")", ";"], "ground_truth": ["}"], "File": "CAHPTargetMachine", "Func": "getObjFileLowering", "Target": "CAHP", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 4384, "Length": 16, "Cover_Rate": 1.0} {"Template_token": ["", "const", "Subtarget", "*", "getSubtargetImpl", "(", "const", "Function", "&", ")", "const", "override", "{", "return", "&", "Subtarget", ";"], "ground_truth": ["}"], "File": "CAHPTargetMachine", "Func": "getSubtargetImpl", "Target": "CAHP", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 4386, "Length": 17, "Cover_Rate": 1.0} {"Template_token": ["", "RegisterTargetMachine", "<", "TargetMachine", ">", "X", "(", "getTheTarget", "(", ")", ")", ";"], "ground_truth": ["}"], "File": "CAHPTargetMachine", "Func": "LLVMInitializeCAHPTarget", "Target": "CAHP", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 4388, "Length": 12, "Cover_Rate": 0.7058823529411765}