{"Template_token": ["", "RegisterAsmPrinter", "<", "AsmPrinter", ">", "X", "(", "getTheTarget", "(", ")", ")", ";"], "ground_truth": ["}"], "File": "ARCAsmPrinter11", "Func": "LLVMInitializeARCAsmPrinter", "Target": "ARC", "Target_Clf": "MPU", "Compiler_Type": "LLVM", "Idx": 192502, "Length": 12, "Cover_Rate": 0.7058823529411765} {"Template_token": ["", "RegisterAsmPrinter", "<", "AsmPrinter", ">", "X", "(", "getTheTarget", "(", ")", ")", ";"], "ground_truth": ["}"], "File": "ARCAsmPrinter11", "Func": "LLVMInitializeARCAsmPrinter", "Target": "ARC", "Target_Clf": "MPU", "Compiler_Type": "LLVM", "Idx": 192503, "Length": 12, "Cover_Rate": 0.7058823529411765} {"Template_token": ["", "void", "AsmPrinter", "::", "EmitInstruction", "(", "const", "MachineInstr", "*", "MI", ")", "{", "SmallString", "<", "", ">", "Str", ";", "raw_svector_ostream", "O", "(", "Str", ")", ";", "switch", "(", "MI", "->", "getOpcode", "(", ")", ")", "{", "case", "", ":", "llvm_unreachable", "(", "", ")", ";", "break", ";", "}", "MCInst", "TmpInst", ";", "MCInstLowering", ".", "Lower", "(", "MI", ",", "TmpInst", ")", ";"], "ground_truth": ["EmitToStreamer", "(", "*", "OutStreamer", ",", "TmpInst", ")", ";"], "File": "ARCAsmPrinter1", "Func": "EmitInstruction", "Target": "ARC", "Target_Clf": "MPU", "Compiler_Type": "LLVM", "Idx": 192504, "Length": 63, "Cover_Rate": 0.9545454545454546} {"Template_token": ["", "return", "static_cast", "<", "TargetStreamer", "&", ">", "(", "*", "OutStreamer", "->", "getTargetStreamer", "(", ")", ")", ";"], "ground_truth": ["}"], "File": "ARCAsmPrinter2", "Func": "getTargetStreamer", "Target": "ARC", "Target_Clf": "MPU", "Compiler_Type": "LLVM", "Idx": 192505, "Length": 16, "Cover_Rate": 0.6666666666666666} {"Template_token": ["", "TargetStreamer", "&", "AsmPrinter", "::", "getTargetStreamer", "(", ")", "{"], "ground_truth": ["return", "static_cast", "<", "TargetStreamer", "&", ">", "(", "*", "OutStreamer", "->", "getTargetStreamer", "(", ")", ")", ";"], "File": "ARCAsmPrinter2", "Func": "getTargetStreamer", "Target": "ARC", "Target_Clf": "MPU", "Compiler_Type": "LLVM", "Idx": 192506, "Length": 23, "Cover_Rate": 0.9583333333333334} {"Template_token": ["", "bool", "AsmPrinter", "::", "runOnMachineFunction", "(", "MachineFunction", "&", "MF", ")", "{", "MF", ".", "ensureAlignment", "(", "Align", "(", "", ")", ")", ";", "return", "AsmPrinter", "::", "runOnMachineFunction", "(", "MF", ")", ";"], "ground_truth": ["}"], "File": "ARCAsmPrinter4", "Func": "runOnMachineFunction", "Target": "ARC", "Target_Clf": "MPU", "Compiler_Type": "LLVM", "Idx": 192507, "Length": 29, "Cover_Rate": 1.0} {"Template_token": ["", "explicit", "AsmPrinter", "(", "TargetMachine", "&", "TM", ",", "std", "::", "unique_ptr", "<", "MCStreamer", ">", "Streamer", ")", ":", "AsmPrinter", "(", "TM", ",", "std", "::", "move", "(", "Streamer", ")", ")", ",", "MCInstLowering", "(", "&", "OutContext", ",", "*", "this", ")", "{"], "ground_truth": ["}"], "File": "ARCAsmPrinter", "Func": "ARCAsmPrinter", "Target": "ARC", "Target_Clf": "MPU", "Compiler_Type": "LLVM", "Idx": 192509, "Length": 38, "Cover_Rate": 1.0} {"Template_token": ["", "explicit", "AsmPrinter", "(", "TargetMachine", "&", "TM", ",", "std", "::", "unique_ptr", "<", "MCStreamer", ">", "Streamer", ")", ":", "AsmPrinter", "(", "TM", ",", "std", "::", "move", "(", "Streamer", ")", ")", ",", "MCInstLowering", "(", "&", "OutContext", ",", "*", "this", ")", "{"], "ground_truth": ["}"], "File": "ARCAsmPrinter", "Func": "ARCAsmPrinter", "Target": "ARC", "Target_Clf": "MPU", "Compiler_Type": "LLVM", "Idx": 192510, "Length": 38, "Cover_Rate": 1.0} {"Template_token": ["", "void", "AsmPrinter", "::", "emitInstruction", "(", "const", "MachineInstr", "*", "MI", ")", "{", "SmallString", "<", "", ">", "Str", ";", "raw_svector_ostream", "O", "(", "Str", ")", ";", "switch", "(", "MI", "->", "getOpcode", "(", ")", ")", "{", "case", "", ":", "llvm_unreachable", "(", "", ")", ";", "break", ";", "}", "MCInst", "TmpInst", ";", "MCInstLowering", ".", "Lower", "(", "MI", ",", "TmpInst", ")", ";"], "ground_truth": ["EmitToStreamer", "(", "*", "OutStreamer", ",", "TmpInst", ")", ";"], "File": "ARCAsmPrinter", "Func": "emitInstruction", "Target": "ARC", "Target_Clf": "MPU", "Compiler_Type": "LLVM", "Idx": 192511, "Length": 63, "Cover_Rate": 0.9545454545454546} {"Template_token": ["", "return", "", ";"], "ground_truth": ["}"], "File": "ARCAsmPrinter", "Func": "getPassName", "Target": "ARC", "Target_Clf": "MPU", "Compiler_Type": "LLVM", "Idx": 192512, "Length": 4, "Cover_Rate": 0.36363636363636365} {"Template_token": ["", "StringRef", "getPassName", "(", ")", "const", "override", "{"], "ground_truth": ["return", "", ";"], "File": "ARCAsmPrinter", "Func": "getPassName", "Target": "ARC", "Target_Clf": "MPU", "Compiler_Type": "LLVM", "Idx": 192513, "Length": 10, "Cover_Rate": 0.9090909090909091} {"Template_token": ["", "RegisterAsmPrinter", "<", "AsmPrinter", ">", "X", "(", "getTheTarget", "(", ")", ")", ";"], "ground_truth": ["}"], "File": "ARCAsmPrinter", "Func": "LLVMInitializeARCAsmPrinter", "Target": "ARC", "Target_Clf": "MPU", "Compiler_Type": "LLVM", "Idx": 192515, "Length": 12, "Cover_Rate": 0.6666666666666666} {"Template_token": ["", "bool", "AsmPrinter", "::", "runOnMachineFunction", "(", "MachineFunction", "&", "MF", ")", "{", "MF", ".", "ensureAlignment", "(", "Align", "(", "", ")", ")", ";", "AsmPrinter", "::", "runOnMachineFunction", "(", "MF", ")", ";"], "ground_truth": ["}"], "File": "ARCAsmPrinter", "Func": "runOnMachineFunction", "Target": "ARC", "Target_Clf": "MPU", "Compiler_Type": "LLVM", "Idx": 192516, "Length": 28, "Cover_Rate": 1.0} {"Template_token": ["", "DEBUG", "(", "dbgs", "(", ")", "<<", "", ")", ";", "unsigned", "CC", "=", "getCCForBRcc", "(", "MI", "->", "getOperand", "(", "", ")", ".", "getImm", "(", ")", ")", ";", "if", "(", "CC", "!=", "-", "", ")", "{", "BuildMI", "(", "*", "MI", "->", "getParent", "(", ")", ",", "MI", ",", "MI", "->", "getDebugLoc", "(", ")", ",", "TII", "->", "get", "(", "getBRccForPseudo", "(", "MI", ")", ")", ")", ".", "addMBB", "(", "MI", "->", "getOperand", "(", "", ")", ".", "getMBB", "(", ")", ")", ".", "addReg", "(", "MI", "->", "getOperand", "(", "", ")", ".", "getReg", "(", ")", ")", ".", "add", "(", "MI", "->", "getOperand", "(", "", ")", ")", ".", "addImm", "(", "getCCForBRcc", "(", "MI", "->", "getOperand", "(", "", ")", ".", "getImm", "(", ")", ")", ")", ";"], "ground_truth": ["MI", "->", "eraseFromParent", "(", ")", ";"], "File": "ARCBranchFinalize2", "Func": "replaceWithBRcc", "Target": "ARC", "Target_Clf": "MPU", "Compiler_Type": "LLVM", "Idx": 192518, "Length": 123, "Cover_Rate": 0.8541666666666666} {"Template_token": ["", "if", "(", "CC", "!=", "-", "", ")", "{", "BuildMI", "(", "*", "MI", "->", "getParent", "(", ")", ",", "MI", ",", "MI", "->", "getDebugLoc", "(", ")", ",", "TII", "->", "get", "(", "getBRccForPseudo", "(", "MI", ")", ")", ")", ".", "addMBB", "(", "MI", "->", "getOperand", "(", "", ")", ".", "getMBB", "(", ")", ")", ".", "addReg", "(", "MI", "->", "getOperand", "(", "", ")", ".", "getReg", "(", ")", ")", ".", "add", "(", "MI", "->", "getOperand", "(", "", ")", ")", ".", "addImm", "(", "getCCForBRcc", "(", "MI", "->", "getOperand", "(", "", ")", ".", "getImm", "(", ")", ")", ")", ";", "MI", "->", "eraseFromParent", "(", ")", ";", "}", "else", "{"], "ground_truth": ["replaceWithCmpBcc", "(", "MI", ")", ";"], "File": "ARCBranchFinalize2", "Func": "replaceWithBRcc", "Target": "ARC", "Target_Clf": "MPU", "Compiler_Type": "LLVM", "Idx": 192519, "Length": 105, "Cover_Rate": 0.7291666666666666} {"Template_token": ["", "void", "BranchFinalize", "::", "replaceWithCmpBcc", "(", "MachineInstr", "*", "MI", ")", "const", "{", "DEBUG", "(", "dbgs", "(", ")", "<<", "", "<<", "*", "MI", "<<", "", ")", ";", "DEBUG", "(", "dbgs", "(", ")", "<<", "", ")", ";", "BuildMI", "(", "*", "MI", "->", "getParent", "(", ")", ",", "MI", ",", "MI", "->", "getDebugLoc", "(", ")", ",", "TII", "->", "get", "(", "getCmpForPseudo", "(", "MI", ")", ")", ")", ".", "addReg", "(", "MI", "->", "getOperand", "(", "", ")", ".", "getReg", "(", ")", ")", ".", "add", "(", "MI", "->", "getOperand", "(", "", ")", ")", ";", "BuildMI", "(", "*", "MI", "->", "getParent", "(", ")", ",", "MI", ",", "MI", "->", "getDebugLoc", "(", ")", ",", "TII", "->", "get", "(", "", ")", ")", ".", "addMBB", "(", "MI", "->", "getOperand", "(", "", ")", ".", "getMBB", "(", ")", ")", ".", "addImm", "(", "MI", "->", "getOperand", "(", "", ")", ".", "getImm", "(", ")", ")", ";", "MI", "->", "eraseFromParent", "(", ")", ";"], "ground_truth": ["}"], "File": "ARCBranchFinalize2", "Func": "replaceWithCmpBcc", "Target": "ARC", "Target_Clf": "MPU", "Compiler_Type": "LLVM", "Idx": 192520, "Length": 146, "Cover_Rate": 0.9864864864864865} {"Template_token": ["", "DEBUG", "(", "dbgs", "(", ")", "<<", "", "<<", "*", "MI", "<<", "", ")", ";", "DEBUG", "(", "dbgs", "(", ")", "<<", "", ")", ";", "BuildMI", "(", "*", "MI", "->", "getParent", "(", ")", ",", "MI", ",", "MI", "->", "getDebugLoc", "(", ")", ",", "TII", "->", "get", "(", "getCmpForPseudo", "(", "MI", ")", ")", ")", ".", "addReg", "(", "MI", "->", "getOperand", "(", "", ")", ".", "getReg", "(", ")", ")", ".", "add", "(", "MI", "->", "getOperand", "(", "", ")", ")", ";", "BuildMI", "(", "*", "MI", "->", "getParent", "(", ")", ",", "MI", ",", "MI", "->", "getDebugLoc", "(", ")", ",", "TII", "->", "get", "(", "", ")", ")", ".", "addMBB", "(", "MI", "->", "getOperand", "(", "", ")", ".", "getMBB", "(", ")", ")", ".", "addImm", "(", "MI", "->", "getOperand", "(", "", ")", ".", "getImm", "(", ")", ")", ";"], "ground_truth": ["MI", "->", "eraseFromParent", "(", ")", ";"], "File": "ARCBranchFinalize2", "Func": "replaceWithCmpBcc", "Target": "ARC", "Target_Clf": "MPU", "Compiler_Type": "LLVM", "Idx": 192521, "Length": 134, "Cover_Rate": 0.9054054054054054} {"Template_token": ["", "BlockToPCMap", ".", "insert", "(", "std", "::", "make_pair", "(", "&", "MBB", ",", "PC", ")", ")", ";", "for", "(", "auto", "&", "MI", ":", "MBB", ")", "{", "unsigned", "Size", "=", "TII", "->", "getInstSizeInBytes", "(", "MI", ")", ";", "if", "(", "Size", ">", "", "||", "Size", "==", "", ")", "{", "DEBUG", "(", "dbgs", "(", ")", "<<", "", "<<", "MI", "<<", "", ")", ";", "}", "else", "{", "MaxSize", "+=", "Size", ";", "}", "if", "(", "MI", ".", "isBranch", "(", ")", ")", "{"], "ground_truth": ["Branches", ".", "push_back", "(", "&", "MI", ")", ";"], "File": "ARCBranchFinalize2", "Func": "runOnMachineFunction", "Target": "ARC", "Target_Clf": "MPU", "Compiler_Type": "LLVM", "Idx": 192522, "Length": 83, "Cover_Rate": 0.3029197080291971} {"Template_token": ["", "unsigned", "MaxSize", "=", "", ";", "TII", "=", "MF", ".", "getSubtarget", "<", "Subtarget", ">", "(", ")", ".", "getInstrInfo", "(", ")", ";", "std", "::", "map", "<", "MachineBasicBlock", "*", ",", "unsigned", ">", "BlockToPCMap", ";", "std", "::", "vector", "<", "std", "::", "pair", "<", "MachineInstr", "*", ",", "unsigned", ">>", "BranchToPCList", ";", "unsigned", "PC", "=", "", ";", "for", "(", "auto", "&", "MBB", ":", "MF", ")", "{", "BlockToPCMap", ".", "insert", "(", "std", "::", "make_pair", "(", "&", "MBB", ",", "PC", ")", ")", ";", "for", "(", "auto", "&", "MI", ":", "MBB", ")", "{", "unsigned", "Size", "=", "TII", "->", "getInstSizeInBytes", "(", "MI", ")", ";", "if", "(", "Size", ">", "", "||", "Size", "==", "", ")", "{", "DEBUG", "(", "dbgs", "(", ")", "<<", "", "<<", "MI", "<<", "", ")", ";", "}", "else", "{", "MaxSize", "+=", "Size", ";", "}", "if", "(", "MI", ".", "isBranch", "(", ")", ")", "{", "Branches", ".", "push_back", "(", "&", "MI", ")", ";"], "ground_truth": ["BranchToPCList", ".", "emplace_back", "(", "&", "MI", ",", "PC", ")", ";"], "File": "ARCBranchFinalize3", "Func": "runOnMachineFunction", "Target": "ARC", "Target_Clf": "MPU", "Compiler_Type": "LLVM", "Idx": 192523, "Length": 153, "Cover_Rate": 0.575187969924812} {"Template_token": ["", "BranchFinalize", "(", ")", ":", "MachineFunctionPass", "(", "ID", ")", "{", "initializeBranchFinalizePass", "(", "*", "PassRegistry", "::", "getPassRegistry", "(", ")", ")", ";"], "ground_truth": ["}"], "File": "ARCBranchFinalize", "Func": "ARCBranchFinalize", "Target": "ARC", "Target_Clf": "MPU", "Compiler_Type": "LLVM", "Idx": 192524, "Length": 20, "Cover_Rate": 1.0} {"Template_token": ["", "FunctionPass", "*", "llvm", "::", "createBranchFinalizePass", "(", ")", "{", "return", "new", "BranchFinalize", "(", ")", ";"], "ground_truth": ["}"], "File": "ARCBranchFinalize", "Func": "createARCBranchFinalizePass", "Target": "ARC", "Target_Clf": "MPU", "Compiler_Type": "LLVM", "Idx": 192526, "Length": 15, "Cover_Rate": 1.0} {"Template_token": ["", "static", "unsigned", "getBRccForPseudo", "(", "MachineInstr", "*", "MI", ")", "{", "assert", "(", "isBRccPseudo", "(", "MI", ")", "&&", "", ")", ";", "if", "(", "MI", "->", "getOpcode", "(", ")", "==", "", ")", "return", "", ";"], "ground_truth": ["return", "", ";"], "File": "ARCBranchFinalize", "Func": "getBRccForPseudo", "Target": "ARC", "Target_Clf": "MPU", "Compiler_Type": "LLVM", "Idx": 192528, "Length": 35, "Cover_Rate": 0.8333333333333334} {"Template_token": ["", "return", "", ";", "case", "", ":", "return", "", ";", "case", "", ":", "return", "", ";", "case", "", ":", "return", "", ";", "case", "", ":", "return", "", ";", "default", ":"], "ground_truth": ["return", "-", "", ";"], "File": "ARCBranchFinalize", "Func": "getCCForBRcc", "Target": "ARC", "Target_Clf": "MPU", "Compiler_Type": "LLVM", "Idx": 192529, "Length": 33, "Cover_Rate": 0.4782608695652174} {"Template_token": ["", "return", "", ";"], "ground_truth": ["}"], "File": "ARCBranchFinalize", "Func": "getPassName", "Target": "ARC", "Target_Clf": "MPU", "Compiler_Type": "LLVM", "Idx": 192532, "Length": 4, "Cover_Rate": 0.36363636363636365} {"Template_token": ["", "if", "(", "CC", "!=", "-", "", ")", "{"], "ground_truth": ["BuildMI", "(", "*", "MI", "->", "getParent", "(", ")", ",", "MI", ",", "MI", "->", "getDebugLoc", "(", ")", ",", "TII", "->", "get", "(", "getBRccForPseudo", "(", "MI", ")", ")", ")", ".", "addMBB", "(", "MI", "->", "getOperand", "(", "", ")", ".", "getMBB", "(", ")", ")", ".", "addReg", "(", "MI", "->", "getOperand", "(", "", ")", ".", "getReg", "(", ")", ")", ".", "add", "(", "MI", "->", "getOperand", "(", "", ")", ")", ".", "addImm", "(", "getCCForBRcc", "(", "MI", "->", "getOperand", "(", "", ")", ".", "getImm", "(", ")", ")", ")", ";"], "File": "ARCBranchFinalize", "Func": "replaceWithBRcc", "Target": "ARC", "Target_Clf": "MPU", "Compiler_Type": "LLVM", "Idx": 192534, "Length": 91, "Cover_Rate": 0.6319444444444444} {"Template_token": ["", "BuildMI", "(", "*", "MI", "->", "getParent", "(", ")", ",", "MI", ",", "MI", "->", "getDebugLoc", "(", ")", ",", "TII", "->", "get", "(", "getBRccForPseudo", "(", "MI", ")", ")", ")", ".", "addMBB", "(", "MI", "->", "getOperand", "(", "", ")", ".", "getMBB", "(", ")", ")", ".", "addReg", "(", "MI", "->", "getOperand", "(", "", ")", ".", "getReg", "(", ")", ")", ".", "add", "(", "MI", "->", "getOperand", "(", "", ")", ")", ".", "addImm", "(", "getCCForBRcc", "(", "MI", "->", "getOperand", "(", "", ")", ".", "getImm", "(", ")", ")", ")", ";", "MI", "->", "eraseFromParent", "(", ")", ";", "}", "else", "{"], "ground_truth": ["replaceWithCmpBcc", "(", "MI", ")", ";"], "File": "ARCBranchFinalize", "Func": "replaceWithBRcc", "Target": "ARC", "Target_Clf": "MPU", "Compiler_Type": "LLVM", "Idx": 192535, "Length": 97, "Cover_Rate": 0.6736111111111112} {"Template_token": ["", "BuildMI", "(", "*", "MI", "->", "getParent", "(", ")", ",", "MI", ",", "MI", "->", "getDebugLoc", "(", ")", ",", "TII", "->", "get", "(", "getCmpForPseudo", "(", "MI", ")", ")", ")", ".", "addReg", "(", "MI", "->", "getOperand", "(", "", ")", ".", "getReg", "(", ")", ")", ".", "add", "(", "MI", "->", "getOperand", "(", "", ")", ")", ";", "BuildMI", "(", "*", "MI", "->", "getParent", "(", ")", ",", "MI", ",", "MI", "->", "getDebugLoc", "(", ")", ",", "TII", "->", "get", "(", "", ")", ")", ".", "addMBB", "(", "MI", "->", "getOperand", "(", "", ")", ".", "getMBB", "(", ")", ")", ".", "addImm", "(", "MI", "->", "getOperand", "(", "", ")", ".", "getImm", "(", ")", ")", ";"], "ground_truth": ["MI", "->", "eraseFromParent", "(", ")", ";"], "File": "ARCBranchFinalize", "Func": "replaceWithCmpBcc", "Target": "ARC", "Target_Clf": "MPU", "Compiler_Type": "LLVM", "Idx": 192536, "Length": 111, "Cover_Rate": 0.75} {"Template_token": ["", "BuildMI", "(", "*", "MI", "->", "getParent", "(", ")", ",", "MI", ",", "MI", "->", "getDebugLoc", "(", ")", ",", "TII", "->", "get", "(", "", ")", ")", ".", "addMBB", "(", "MI", "->", "getOperand", "(", "", ")", ".", "getMBB", "(", ")", ")", ".", "addImm", "(", "MI", "->", "getOperand", "(", "", ")", ".", "getImm", "(", ")", ")", ";"], "ground_truth": ["MI", "->", "eraseFromParent", "(", ")", ";"], "File": "ARCBranchFinalize", "Func": "replaceWithCmpBcc", "Target": "ARC", "Target_Clf": "MPU", "Compiler_Type": "LLVM", "Idx": 192537, "Length": 59, "Cover_Rate": 0.39864864864864863} {"Template_token": ["", "LLVM_DEBUG", "(", "dbgs", "(", ")", "<<", "", "<<", "MF", ".", "getName", "(", ")", "<<", "", ")", ";", "std", "::", "vector", "<", "MachineInstr", "*", ">", "Branches", ";", "bool", "Changed", "=", "false", ";", "unsigned", "MaxSize", "=", "", ";", "TII", "=", "MF", ".", "getSubtarget", "<", "Subtarget", ">", "(", ")", ".", "getInstrInfo", "(", ")", ";", "std", "::", "map", "<", "MachineBasicBlock", "*", ",", "unsigned", ">", "BlockToPCMap", ";", "std", "::", "vector", "<", "std", "::", "pair", "<", "MachineInstr", "*", ",", "unsigned", ">>", "BranchToPCList", ";", "unsigned", "PC", "=", "", ";", "for", "(", "auto", "&", "MBB", ":", "MF", ")", "{", "BlockToPCMap", ".", "insert", "(", "std", "::", "make_pair", "(", "&", "MBB", ",", "PC", ")", ")", ";", "for", "(", "auto", "&", "MI", ":", "MBB", ")", "{", "unsigned", "Size", "=", "TII", "->", "getInstSizeInBytes", "(", "MI", ")", ";", "if", "(", "Size", ">", "", "||", "Size", "==", "", ")", "{", "LLVM_DEBUG", "(", "dbgs", "(", ")", "<<", "", "<<", "MI", "<<", "", ")", ";", "}", "else", "{", "MaxSize", "+=", "Size", ";"], "ground_truth": ["}"], "File": "ARCBranchFinalize", "Func": "runOnMachineFunction", "Target": "ARC", "Target_Clf": "MPU", "Compiler_Type": "LLVM", "Idx": 192538, "Length": 157, "Cover_Rate": 0.5902255639097744} {"Template_token": ["", "for", "(", "auto", "&", "MI", ":", "MBB", ")", "{", "unsigned", "Size", "=", "TII", "->", "getInstSizeInBytes", "(", "MI", ")", ";", "if", "(", "Size", ">", "", "||", "Size", "==", "", ")", "{", "LLVM_DEBUG", "(", "dbgs", "(", ")", "<<", "", "<<", "MI", "<<", "", ")", ";", "}", "else", "{", "MaxSize", "+=", "Size", ";", "}", "if", "(", "MI", ".", "isBranch", "(", ")", ")", "{", "Branches", ".", "push_back", "(", "&", "MI", ")", ";", "BranchToPCList", ".", "emplace_back", "(", "&", "MI", ",", "PC", ")", ";", "}"], "ground_truth": ["PC", "+=", "Size", ";"], "File": "ARCBranchFinalize", "Func": "runOnMachineFunction", "Target": "ARC", "Target_Clf": "MPU", "Compiler_Type": "LLVM", "Idx": 192539, "Length": 83, "Cover_Rate": 0.31203007518796994} {"Template_token": ["", "static_assert", "(", "B", ">", "", ",", "", ")", ";", "DecodeSymbolicOperandOff", "(", "Inst", ",", "Address", ",", "SignExtend32", "<", "B", ">", "(", "InsnS", ")", ",", "Decoder", ")", ";", "return", "MCDisassembler", "::", "Success", ";"], "ground_truth": ["}"], "File": "ARCDisassembler10", "Func": "DecodeBranchTargetS", "Target": "ARC", "Target_Clf": "MPU", "Compiler_Type": "LLVM", "Idx": 192540, "Length": 32, "Cover_Rate": 0.6153846153846154} {"Template_token": ["", "const", "unsigned", "max", "=", "(", "", "<<", "B", ")", "-", "", ";", "Inst", ".", "addOperand", "(", "MCOperand", "::", "createImm", "(", "InsnS", "<", "max", "?", "static_cast", "<", "int", ">", "(", "InsnS", ")", ":", "-", "", ")", ")", ";", "return", "MCDisassembler", "::", "Success", ";"], "ground_truth": ["}"], "File": "ARCDisassembler10", "Func": "DecodeFromCyclicRange", "Target": "ARC", "Target_Clf": "MPU", "Compiler_Type": "LLVM", "Idx": 192542, "Length": 43, "Cover_Rate": 0.6142857142857143} {"Template_token": ["", "Inst", ".", "addOperand", "(", "MCOperand", "::", "createImm", "(", "InsnS", "<", "max", "?", "static_cast", "<", "int", ">", "(", "InsnS", ")", ":", "-", "", ")", ")", ";"], "ground_truth": ["return", "MCDisassembler", "::", "Success", ";"], "File": "ARCDisassembler10", "Func": "DecodeFromCyclicRange", "Target": "ARC", "Target_Clf": "MPU", "Compiler_Type": "LLVM", "Idx": 192543, "Length": 30, "Cover_Rate": 0.42857142857142855} {"Template_token": ["", "static", "DecodeStatus", "DecodeGBR32ShortRegister", "(", "MCInst", "&", "Inst", ",", "unsigned", "RegNo", ",", "uint64_t", "Address", ",", "const", "void", "*", "Decoder", ")", "{", "if", "(", "RegNo", ">", "", ")", "RegNo", "+=", "", ";", "return", "DecodeGPR32RegisterClass", "(", "Inst", ",", "RegNo", ",", "Address", ",", "Decoder", ")", ";"], "ground_truth": ["}"], "File": "ARCDisassembler10", "Func": "DecodeGBR32ShortRegister", "Target": "ARC", "Target_Clf": "MPU", "Compiler_Type": "LLVM", "Idx": 192544, "Length": 43, "Cover_Rate": 1.0} {"Template_token": ["", "}", "unsigned", "Reg", "=", "GPR32DecoderTable", "[", "RegNo", "]", ";", "Inst", ".", "addOperand", "(", "MCOperand", "::", "createReg", "(", "Reg", ")", ")", ";"], "ground_truth": ["return", "MCDisassembler", "::", "Success", ";"], "File": "ARCDisassembler10", "Func": "DecodeGPR32RegisterClass", "Target": "ARC", "Target_Clf": "MPU", "Compiler_Type": "LLVM", "Idx": 192545, "Length": 26, "Cover_Rate": 0.38235294117647056} {"Template_token": ["", "if", "(", "RegNo", ">=", "", ")", "{", "LLVM_DEBUG", "(", "dbgs", "(", ")", "<<", "", ")", ";", "return", "MCDisassembler", "::", "Fail", ";"], "ground_truth": ["}"], "File": "ARCDisassembler10", "Func": "DecodeGPR32RegisterClass", "Target": "ARC", "Target_Clf": "MPU", "Compiler_Type": "LLVM", "Idx": 192546, "Length": 22, "Cover_Rate": 0.3235294117647059} {"Template_token": ["", "return", "MCDisassembler", "::", "Fail", ";", "}", "DstA", "=", "decodeAField", "(", "Insn", ")", ";", "DecodeGPR32RegisterClass", "(", "Inst", ",", "DstA", ",", "Address", ",", "Decoder", ")", ";", "LImm", "=", "(", "Insn", ">>", "", ")", ";", "Inst", ".", "addOperand", "(", "MCOperand", "::", "createImm", "(", "LImm", ")", ")", ";"], "ground_truth": ["Inst", ".", "addOperand", "(", "MCOperand", "::", "createImm", "(", "", ")", ")", ";"], "File": "ARCDisassembler10", "Func": "DecodeLdLImmInstruction", "Target": "ARC", "Target_Clf": "MPU", "Compiler_Type": "LLVM", "Idx": 192547, "Length": 56, "Cover_Rate": 0.4628099173553719} {"Template_token": ["", "unsigned", "DstA", ",", "SrcB", ";", "LLVM_DEBUG", "(", "dbgs", "(", ")", "<<", "", ")", ";", "DstA", "=", "decodeAField", "(", "Insn", ")", ";", "DecodeGPR32RegisterClass", "(", "Inst", ",", "DstA", ",", "Address", ",", "Decoder", ")", ";", "SrcB", "=", "decodeBField", "(", "Insn", ")", ";"], "ground_truth": ["DecodeGPR32RegisterClass", "(", "Inst", ",", "SrcB", ",", "Address", ",", "Decoder", ")", ";"], "File": "ARCDisassembler10", "Func": "DecodeLdRLImmInstruction", "Target": "ARC", "Target_Clf": "MPU", "Compiler_Type": "LLVM", "Idx": 192548, "Length": 50, "Cover_Rate": 0.4166666666666667} {"Template_token": ["", "unsigned", "S9", "=", "Insn", "&", "", ";", "unsigned", "R", "=", "(", "Insn", "&", "(", "", "&", "~", "", ")", ")", ">>", "", ";", "DecodeGPR32RegisterClass", "(", "Inst", ",", "R", ",", "Address", ",", "Dec", ")", ";"], "ground_truth": ["Inst", ".", "addOperand", "(", "MCOperand", "::", "createImm", "(", "SignExtend32", "<", "", ">", "(", "S9", ")", ")", ")", ";"], "File": "ARCDisassembler10", "Func": "DecodeMEMrs9", "Target": "ARC", "Target_Clf": "MPU", "Compiler_Type": "LLVM", "Idx": 192549, "Length": 52, "Cover_Rate": 0.6666666666666666} {"Template_token": ["", "static", "DecodeStatus", "DecodeMEMrs9", "(", "MCInst", "&", "Inst", ",", "unsigned", "Insn", ",", "uint64_t", "Address", ",", "const", "void", "*", "Dec", ")", "{", "unsigned", "S9", "=", "Insn", "&", "", ";", "unsigned", "R", "=", "(", "Insn", "&", "(", "", "&", "~", "", ")", ")", ">>", "", ";", "DecodeGPR32RegisterClass", "(", "Inst", ",", "R", ",", "Address", ",", "Dec", ")", ";", "Inst", ".", "addOperand", "(", "MCOperand", "::", "createImm", "(", "SignExtend32", "<", "", ">", "(", "S9", ")", ")", ")", ";"], "ground_truth": ["return", "MCDisassembler", "::", "Success", ";"], "File": "ARCDisassembler10", "Func": "DecodeMEMrs9", "Target": "ARC", "Target_Clf": "MPU", "Compiler_Type": "LLVM", "Idx": 192550, "Length": 77, "Cover_Rate": 0.9871794871794872} {"Template_token": ["", "static", "DecodeStatus", "DecodeMoveHRegInstruction", "(", "MCInst", "&", "Inst", ",", "uint64_t", "Insn", ",", "uint64_t", "Address", ",", "const", "void", "*", "Decoder", ")", "{", "LLVM_DEBUG", "(", "dbgs", "(", ")", "<<", "", ")", ";", "using", "Field", "=", "decltype", "(", "Insn", ")", ";", "Field", "h", "=", "fieldFromInstruction", "(", "Insn", ",", "", ",", "", ")", "|", "(", "fieldFromInstruction", "(", "Insn", ",", "", ",", "", ")", "<<", "", ")", ";", "Field", "g", "=", "fieldFromInstruction", "(", "Insn", ",", "", ",", "", ")", "|", "(", "fieldFromInstruction", "(", "Insn", ",", "", ",", "", ")", "<<", "", ")", ";", "auto", "DecodeRegisterOrImm", "=", "[", "&", "Inst", ",", "Address", ",", "Decoder", "]", "(", "Field", "RegNum", ",", "Field", "Value", ")", "{", "if", "(", "", "==", "RegNum", ")", "{", "Inst", ".", "addOperand", "(", "MCOperand", "::", "createImm", "(", "Value", ")", ")", ";", "return", "MCDisassembler", "::", "Success", ";", "}"], "ground_truth": ["return", "DecodeGPR32RegisterClass", "(", "Inst", ",", "RegNum", ",", "Address", ",", "Decoder", ")", ";"], "File": "ARCDisassembler10", "Func": "DecodeMoveHRegInstruction", "Target": "ARC", "Target_Clf": "MPU", "Compiler_Type": "LLVM", "Idx": 192551, "Length": 143, "Cover_Rate": 0.8218390804597702} {"Template_token": ["", "Field", "h", "=", "fieldFromInstruction", "(", "Insn", ",", "", ",", "", ")", "|", "(", "fieldFromInstruction", "(", "Insn", ",", "", ",", "", ")", "<<", "", ")", ";", "Field", "g", "=", "fieldFromInstruction", "(", "Insn", ",", "", ",", "", ")", "|", "(", "fieldFromInstruction", "(", "Insn", ",", "", ",", "", ")", "<<", "", ")", ";", "auto", "DecodeRegisterOrImm", "=", "[", "&", "Inst", ",", "Address", ",", "Decoder", "]", "(", "Field", "RegNum", ",", "Field", "Value", ")", "{", "if", "(", "", "==", "RegNum", ")", "{", "Inst", ".", "addOperand", "(", "MCOperand", "::", "createImm", "(", "Value", ")", ")", ";", "return", "MCDisassembler", "::", "Success", ";"], "ground_truth": ["}"], "File": "ARCDisassembler10", "Func": "DecodeMoveHRegInstruction", "Target": "ARC", "Target_Clf": "MPU", "Compiler_Type": "LLVM", "Idx": 192552, "Length": 94, "Cover_Rate": 0.5402298850574713} {"Template_token": ["", "static_assert", "(", "B", ">", "", ",", "", ")", ";"], "ground_truth": ["Inst", ".", "addOperand", "(", "MCOperand", "::", "createImm", "(", "SignExtend32", "<", "B", ">", "(", "maskTrailingOnes", "<", "decltype", "(", "InsnS", ")", ">", "(", "B", ")", "&", "InsnS", ")", ")", ")", ";"], "File": "ARCDisassembler10", "Func": "DecodeSignedOperand", "Target": "ARC", "Target_Clf": "MPU", "Compiler_Type": "LLVM", "Idx": 192553, "Length": 38, "Cover_Rate": 0.6129032258064516} {"Template_token": ["", "SrcC", "=", "decodeCField", "(", "Insn", ")", ";", "DecodeGPR32RegisterClass", "(", "Inst", ",", "SrcC", ",", "Address", ",", "Decoder", ")", ";", "LImm", "=", "(", "Insn", ">>", "", ")", ";"], "ground_truth": ["Inst", ".", "addOperand", "(", "MCOperand", "::", "createImm", "(", "LImm", ")", ")", ";"], "File": "ARCDisassembler10", "Func": "DecodeStLImmInstruction", "Target": "ARC", "Target_Clf": "MPU", "Compiler_Type": "LLVM", "Idx": 192554, "Length": 38, "Cover_Rate": 0.3392857142857143} {"Template_token": ["", "static", "bool", "DecodeSymbolicOperand", "(", "MCInst", "&", "Inst", ",", "uint64_t", "Address", ",", "uint64_t", "Value", ",", "const", "void", "*", "Decoder", ")", "{", "static", "const", "uint64_t", "atLeast", "=", "", ";", "auto", "Disassembler", "=", "static_cast", "<", "const", "MCDisassembler", "*", ">", "(", "Decoder", ")", ";", "return", "(", "nullptr", "!=", "Disassembler", "&&", "Disassembler", "->", "tryAddingSymbolicOperand", "(", "Inst", ",", "Value", ",", "Address", ",", "true", ",", "", ",", "atLeast", ")", ")", ";"], "ground_truth": ["}"], "File": "ARCDisassembler10", "Func": "DecodeSymbolicOperand", "Target": "ARC", "Target_Clf": "MPU", "Compiler_Type": "LLVM", "Idx": 192555, "Length": 65, "Cover_Rate": 1.0} {"Template_token": ["", "return", "(", "nullptr", "!=", "Disassembler", "&&", "Disassembler", "->", "tryAddingSymbolicOperand", "(", "Inst", ",", "Value", ",", "Address", ",", "true", ",", "", ",", "atLeast", ")", ")", ";"], "ground_truth": ["}"], "File": "ARCDisassembler10", "Func": "DecodeSymbolicOperand", "Target": "ARC", "Target_Clf": "MPU", "Compiler_Type": "LLVM", "Idx": 192556, "Length": 25, "Cover_Rate": 0.38461538461538464} {"Template_token": ["", "static", "void", "DecodeSymbolicOperandOff", "(", "MCInst", "&", "Inst", ",", "uint64_t", "Address", ",", "uint64_t", "Offset", ",", "const", "void", "*", "Decoder", ")", "{"], "ground_truth": ["uint64_t", "nextAddress", "=", "Address", "+", "Offset", ";"], "File": "ARCDisassembler10", "Func": "DecodeSymbolicOperandOff", "Target": "ARC", "Target_Clf": "MPU", "Compiler_Type": "LLVM", "Idx": 192557, "Length": 27, "Cover_Rate": 0.5} {"Template_token": ["", "static", "void", "DecodeSymbolicOperandOff", "(", "MCInst", "&", "Inst", ",", "uint64_t", "Address", ",", "uint64_t", "Offset", ",", "const", "void", "*", "Decoder", ")", "{"], "ground_truth": ["uint64_t", "nextAddress", "=", "Address", "+", "Offset", ";"], "File": "ARCDisassembler10", "Func": "DecodeSymbolicOperandOff", "Target": "ARC", "Target_Clf": "MPU", "Compiler_Type": "LLVM", "Idx": 192558, "Length": 27, "Cover_Rate": 0.5} {"Template_token": ["", "if", "(", "!", "readInstruction32", "(", "Bytes", ",", "Address", ",", "Size", ",", "Insn32", ")", ")", "{", "return", "Fail", ";", "}", "return", "decodeInstruction", "(", "DecoderTable32", ",", "Instr", ",", "Insn32", ",", "Address", ",", "this", ",", "STI", ")", ";", "}", "else", "{", "if", "(", "Bytes", ".", "size", "(", ")", ">=", "", ")", "{", "uint64_t", "Insn48", ";", "if", "(", "!", "readInstruction48", "(", "Bytes", ",", "Address", ",", "Size", ",", "Insn48", ")", ")", "return", "Fail", ";", "Result", "=", "decodeInstruction", "(", "DecoderTable48", ",", "Instr", ",", "Insn48", ",", "Address", ",", "this", ",", "STI", ")", ";", "if", "(", "Success", "==", "Result", ")", "{", "LLVM_DEBUG", "(", "dbgs", "(", ")", "<<", "", ")", ";", "return", "Result", ";", "}", "LLVM_DEBUG", "(", "dbgs", "(", ")", "<<", "", ")", ";", "}", "uint32_t", "Insn16", ";", "if", "(", "!", "readInstruction16", "(", "Bytes", ",", "Address", ",", "Size", ",", "Insn16", ")", ")", "return", "Fail", ";"], "ground_truth": ["return", "decodeInstruction", "(", "DecoderTable16", ",", "Instr", ",", "Insn16", ",", "Address", ",", "this", ",", "STI", ")", ";"], "File": "ARCDisassembler11", "Func": "getInstruction", "Target": "ARC", "Target_Clf": "MPU", "Compiler_Type": "LLVM", "Idx": 192559, "Length": 152, "Cover_Rate": 0.459214501510574} {"Template_token": ["", "Size", "=", "", ";", "return", "Fail", ";", "}", "uint8_t", "DecodeByte", "=", "(", "Bytes", "[", "", "]", "&", "", ")", ">>", "", ";", "if", "(", "DecodeByte", "<", "", ")", "{", "if", "(", "Bytes", ".", "size", "(", ")", "<", "", ")", "{", "Size", "=", "", ";", "return", "Fail", ";", "}", "if", "(", "Bytes", ".", "size", "(", ")", ">=", "", ")", "{", "uint64_t", "Insn64", ";", "if", "(", "!", "readInstruction64", "(", "Bytes", ",", "Address", ",", "Size", ",", "Insn64", ")", ")", "return", "Fail", ";", "Result", "=", "decodeInstruction", "(", "DecoderTable64", ",", "Instr", ",", "Insn64", ",", "Address", ",", "this", ",", "STI", ")", ";", "if", "(", "Success", "==", "Result", ")", "{", "LLVM_DEBUG", "(", "dbgs", "(", ")", "<<", "", ")", ";", "return", "Result", ";", "}", "LLVM_DEBUG", "(", "dbgs", "(", ")", "<<", "", ")", ";", "}", "uint32_t", "Insn32", ";", "if", "(", "!", "readInstruction32", "(", "Bytes", ",", "Address", ",", "Size", ",", "Insn32", ")", ")", "{", "return", "Fail", ";", "}", "return", "decodeInstruction", "(", "DecoderTable32", ",", "Instr", ",", "Insn32", ",", "Address", ",", "this", ",", "STI", ")", ";", "}", "else", "{", "if", "(", "Bytes", ".", "size", "(", ")", ">=", "", ")", "{", "uint64_t", "Insn48", ";", "if", "(", "!", "readInstruction48", "(", "Bytes", ",", "Address", ",", "Size", ",", "Insn48", ")", ")", "return", "Fail", ";", "Result", "=", "decodeInstruction", "(", "DecoderTable48", ",", "Instr", ",", "Insn48", ",", "Address", ",", "this", ",", "STI", ")", ";", "if", "(", "Success", "==", "Result", ")", "{"], "ground_truth": ["LLVM_DEBUG", "(", "dbgs", "(", ")", "<<", "", ")", ";"], "File": "ARCDisassembler11", "Func": "getInstruction", "Target": "ARC", "Target_Clf": "MPU", "Compiler_Type": "LLVM", "Idx": 192560, "Length": 231, "Cover_Rate": 0.6978851963746223} {"Template_token": ["", "void", "LLVMInitializeDisassembler", "(", ")", "{"], "ground_truth": ["TargetRegistry", "::", "RegisterMCDisassembler", "(", "getTheTarget", "(", ")", ",", "createDisassembler", ")", ";"], "File": "ARCDisassembler11", "Func": "LLVMInitializeARCDisassembler", "Target": "ARC", "Target_Clf": "MPU", "Compiler_Type": "LLVM", "Idx": 192561, "Length": 16, "Cover_Rate": 0.9411764705882353} {"Template_token": ["", "unsigned", "DstB", ";", "LLVM_DEBUG", "(", "dbgs", "(", ")", "<<", "", ")", ";", "DstB", "=", "decodeBField", "(", "Insn", ")", ";", "DecodeGPR32RegisterClass", "(", "Inst", ",", "DstB", ",", "Address", ",", "Decoder", ")", ";", "using", "Field", "=", "decltype", "(", "Insn", ")", ";", "Field", "U6Field", "=", "fieldFromInstruction", "(", "Insn", ",", "", ",", "", ")", ";", "Inst", ".", "addOperand", "(", "MCOperand", "::", "createImm", "(", "U6Field", ")", ")", ";", "Field", "CCField", "=", "fieldFromInstruction", "(", "Insn", ",", "", ",", "", ")", ";", "Inst", ".", "addOperand", "(", "MCOperand", "::", "createImm", "(", "CCField", ")", ")", ";", "return", "MCDisassembler", "::", "Success", ";"], "ground_truth": ["}"], "File": "ARCDisassembler13", "Func": "DecodeCCRU6Instruction", "Target": "ARC", "Target_Clf": "MPU", "Compiler_Type": "LLVM", "Idx": 192562, "Length": 92, "Cover_Rate": 0.8214285714285714} {"Template_token": ["", "Field", "U6Field", "=", "fieldFromInstruction", "(", "Insn", ",", "", ",", "", ")", ";", "Inst", ".", "addOperand", "(", "MCOperand", "::", "createImm", "(", "U6Field", ")", ")", ";"], "ground_truth": ["Field", "CCField", "=", "fieldFromInstruction", "(", "Insn", ",", "", ",", "", ")", ";"], "File": "ARCDisassembler13", "Func": "DecodeCCRU6Instruction", "Target": "ARC", "Target_Clf": "MPU", "Compiler_Type": "LLVM", "Idx": 192563, "Length": 36, "Cover_Rate": 0.32142857142857145} {"Template_token": ["", "Field", "H", "=", "fieldFromInstruction", "(", "Insn", ",", "", ",", "", ")", "|", "(", "fieldFromInstruction", "(", "Insn", ",", "", ",", "", ")", "<<", "", ")", ";", "Field", "G", "=", "fieldFromInstruction", "(", "Insn", ",", "", ",", "", ")", "|", "(", "fieldFromInstruction", "(", "Insn", ",", "", ",", "", ")", "<<", "", ")", ";", "auto", "DecodeRegisterOrImm", "=", "[", "&", "Inst", ",", "Address", ",", "Decoder", "]", "(", "Field", "RegNum", ",", "Field", "Value", ")", "{", "if", "(", "", "==", "RegNum", ")", "{"], "ground_truth": ["Inst", ".", "addOperand", "(", "MCOperand", "::", "createImm", "(", "Value", ")", ")", ";"], "File": "ARCDisassembler13", "Func": "DecodeMoveHRegInstruction", "Target": "ARC", "Target_Clf": "MPU", "Compiler_Type": "LLVM", "Idx": 192564, "Length": 88, "Cover_Rate": 0.5057471264367817} {"Template_token": ["", "unsigned", "DstB", "=", "decodeBField", "(", "Insn", ")", ";", "DecodeGPR32RegisterClass", "(", "Inst", ",", "DstB", ",", "Address", ",", "Decoder", ")", ";", "using", "Field", "=", "decltype", "(", "Insn", ")", ";", "Field", "Lower", "=", "fieldFromInstruction", "(", "Insn", ",", "", ",", "", ")", ";", "Field", "Upper", "=", "fieldFromInstruction", "(", "Insn", ",", "", ",", "", ")", ";", "Field", "Sign", "=", "fieldFromInstruction", "(", "Insn", ",", "", ",", "", ")", "?", "-", "", ":", "", ";", "Field", "Result", "=", "Sign", "*", "(", "(", "Upper", "<<", "", ")", "+", "Lower", ")", ";", "Inst", ".", "addOperand", "(", "MCOperand", "::", "createImm", "(", "Result", ")", ")", ";"], "ground_truth": ["return", "MCDisassembler", "::", "Success", ";"], "File": "ARCDisassembler13", "Func": "DecodeSOPwithRS12", "Target": "ARC", "Target_Clf": "MPU", "Compiler_Type": "LLVM", "Idx": 192565, "Length": 100, "Cover_Rate": 0.8264462809917356} {"Template_token": ["", "Field", "U6", "=", "fieldFromInstruction", "(", "Insn", ",", "", ",", "", ")", ";"], "ground_truth": ["Inst", ".", "addOperand", "(", "MCOperand", "::", "createImm", "(", "U6", ")", ")", ";"], "File": "ARCDisassembler13", "Func": "DecodeSOPwithRU6", "Target": "ARC", "Target_Clf": "MPU", "Compiler_Type": "LLVM", "Idx": 192566, "Length": 24, "Cover_Rate": 0.3116883116883117} {"Template_token": ["", "Field", "U6", "=", "fieldFromInstruction", "(", "Insn", ",", "", ",", "", ")", ";", "Inst", ".", "addOperand", "(", "MCOperand", "::", "createImm", "(", "U6", ")", ")", ";", "return", "MCDisassembler", "::", "Success", ";"], "ground_truth": ["}"], "File": "ARCDisassembler13", "Func": "DecodeSOPwithRU6", "Target": "ARC", "Target_Clf": "MPU", "Compiler_Type": "LLVM", "Idx": 192567, "Length": 30, "Cover_Rate": 0.38961038961038963} {"Template_token": ["", "return", "(", "nullptr", "!=", "Disassembler", "&&", "Disassembler", "->", "tryAddingSymbolicOperand", "(", "Inst", ",", "Value", ",", "Address", ",", "true", ",", "", ",", "AtLeast", ")", ")", ";"], "ground_truth": ["}"], "File": "ARCDisassembler13", "Func": "DecodeSymbolicOperand", "Target": "ARC", "Target_Clf": "MPU", "Compiler_Type": "LLVM", "Idx": 192569, "Length": 25, "Cover_Rate": 0.38461538461538464} {"Template_token": ["", "static", "void", "DecodeSymbolicOperandOff", "(", "MCInst", "&", "Inst", ",", "uint64_t", "Address", ",", "uint64_t", "Offset", ",", "const", "void", "*", "Decoder", ")", "{"], "ground_truth": ["uint64_t", "NextAddress", "=", "Address", "+", "Offset", ";"], "File": "ARCDisassembler13", "Func": "DecodeSymbolicOperandOff", "Target": "ARC", "Target_Clf": "MPU", "Compiler_Type": "LLVM", "Idx": 192571, "Length": 27, "Cover_Rate": 0.5} {"Template_token": ["", "static", "const", "uint64_t", "AtLeast", "=", "", ";"], "ground_truth": ["return", "(", "nullptr", "!=", "Decoder", "&&", "Decoder", "->", "tryAddingSymbolicOperand", "(", "Inst", ",", "Value", ",", "Address", ",", "true", ",", "", ",", "AtLeast", ",", "", ")", ")", ";"], "File": "ARCDisassembler4", "Func": "DecodeSymbolicOperand", "Target": "ARC", "Target_Clf": "MPU", "Compiler_Type": "LLVM", "Idx": 192572, "Length": 33, "Cover_Rate": 0.6111111111111112} {"Template_token": ["", "unsigned", "DstB", ";", "LLVM_DEBUG", "(", "dbgs", "(", ")", "<<", "", ")", ";", "DstB", "=", "decodeBField", "(", "Insn", ")", ";", "DecodeGPR32RegisterClass", "(", "Inst", ",", "DstB", ",", "Address", ",", "Decoder", ")", ";", "using", "Field", "=", "decltype", "(", "Insn", ")", ";"], "ground_truth": ["Field", "U6Field", "=", "fieldFromInstruction", "(", "Insn", ",", "", ",", "", ")", ";"], "File": "ARCDisassembler5", "Func": "DecodeCCRU6Instruction", "Target": "ARC", "Target_Clf": "MPU", "Compiler_Type": "LLVM", "Idx": 192574, "Length": 50, "Cover_Rate": 0.44642857142857145} {"Template_token": ["", "Inst", ".", "addOperand", "(", "MCOperand", "::", "createImm", "(", "SignExtend32", "<", "", ">", "(", "S", ")", ")", ")", ";", "return", "MCDisassembler", "::", "Success", ";"], "ground_truth": ["}"], "File": "ARCDisassembler8", "Func": "DecodeBranchTargetS21", "Target": "ARC", "Target_Clf": "MPU", "Compiler_Type": "LLVM", "Idx": 192575, "Length": 24, "Cover_Rate": 0.5217391304347826} {"Template_token": ["", "static", "MCDisassembler", "::", "DecodeStatus", "DecodeBranchTargetS21", "(", "MCInst", "&", "Inst", ",", "unsigned", "S", ",", "uint64_t", "Address", ",", "const", "void", "*", "Decoder", ")", "{"], "ground_truth": ["Inst", ".", "addOperand", "(", "MCOperand", "::", "createImm", "(", "SignExtend32", "<", "", ">", "(", "S", ")", ")", ")", ";"], "File": "ARCDisassembler8", "Func": "DecodeBranchTargetS21", "Target": "ARC", "Target_Clf": "MPU", "Compiler_Type": "LLVM", "Idx": 192576, "Length": 40, "Cover_Rate": 0.8695652173913043} {"Template_token": ["", "static", "MCDisassembler", "::", "DecodeStatus", "DecodeBranchTargetS25", "(", "MCInst", "&", "Inst", ",", "unsigned", "S", ",", "uint64_t", "Address", ",", "const", "void", "*", "Decoder", ")", "{"], "ground_truth": ["Inst", ".", "addOperand", "(", "MCOperand", "::", "createImm", "(", "SignExtend32", "<", "", ">", "(", "S", ")", ")", ")", ";"], "File": "ARCDisassembler8", "Func": "DecodeBranchTargetS25", "Target": "ARC", "Target_Clf": "MPU", "Compiler_Type": "LLVM", "Idx": 192578, "Length": 40, "Cover_Rate": 0.8695652173913043} {"Template_token": ["", "Inst", ".", "addOperand", "(", "MCOperand", "::", "createImm", "(", "SignExtend32", "<", "", ">", "(", "S", ")", ")", ")", ";", "return", "MCDisassembler", "::", "Success", ";"], "ground_truth": ["}"], "File": "ARCDisassembler8", "Func": "DecodeBranchTargetS9", "Target": "ARC", "Target_Clf": "MPU", "Compiler_Type": "LLVM", "Idx": 192579, "Length": 24, "Cover_Rate": 0.5217391304347826} {"Template_token": ["", "return", "MCDisassembler", "::", "Fail", ";", "}", "unsigned", "Reg", "=", "GPR32DecoderTable", "[", "RegNo", "]", ";", "Inst", ".", "addOperand", "(", "MCOperand", "::", "createReg", "(", "Reg", ")", ")", ";"], "ground_truth": ["return", "MCDisassembler", "::", "Success", ";"], "File": "ARCDisassembler8", "Func": "DecodeGPR32RegisterClass", "Target": "ARC", "Target_Clf": "MPU", "Compiler_Type": "LLVM", "Idx": 192581, "Length": 31, "Cover_Rate": 0.45588235294117646} {"Template_token": ["", "static", "MCDisassembler", "::", "DecodeStatus", "DecodeLdLImmInstruction", "(", "MCInst", "&", "Inst", ",", "uint64_t", "Insn", ",", "uint64_t", "Address", ",", "const", "void", "*", "Decoder", ")", "{", "unsigned", "DstA", ",", "SrcB", ",", "LImm", ";", "DEBUG", "(", "dbgs", "(", ")", "<<", "", ")", ";", "SrcB", "=", "decodeBField", "(", "Insn", ")", ";", "if", "(", "SrcB", "!=", "", ")", "{", "DEBUG", "(", "dbgs", "(", ")", "<<", "", ")", ";", "return", "MCDisassembler", "::", "Fail", ";", "}", "DstA", "=", "decodeAField", "(", "Insn", ")", ";", "DecodeGPR32RegisterClass", "(", "Inst", ",", "DstA", ",", "Address", ",", "Decoder", ")", ";", "LImm", "=", "(", "Insn", ">>", "", ")", ";", "Inst", ".", "addOperand", "(", "MCOperand", "::", "createImm", "(", "LImm", ")", ")", ";", "Inst", ".", "addOperand", "(", "MCOperand", "::", "createImm", "(", "", ")", ")", ";"], "ground_truth": ["return", "MCDisassembler", "::", "Success", ";"], "File": "ARCDisassembler8", "Func": "DecodeLdLImmInstruction", "Target": "ARC", "Target_Clf": "MPU", "Compiler_Type": "LLVM", "Idx": 192582, "Length": 122, "Cover_Rate": 0.991869918699187} {"Template_token": ["", "unsigned", "R", "=", "(", "Insn", "&", "(", "", "&", "~", "", ")", ")", ">>", "", ";", "DecodeGPR32RegisterClass", "(", "Inst", ",", "R", ",", "Address", ",", "Dec", ")", ";", "Inst", ".", "addOperand", "(", "MCOperand", "::", "createImm", "(", "SignExtend32", "<", "", ">", "(", "S9", ")", ")", ")", ";", "return", "MCDisassembler", "::", "Success", ";"], "ground_truth": ["}"], "File": "ARCDisassembler8", "Func": "DecodeMEMrs9", "Target": "ARC", "Target_Clf": "MPU", "Compiler_Type": "LLVM", "Idx": 192583, "Length": 51, "Cover_Rate": 0.6375} {"Template_token": ["", "Inst", ".", "addOperand", "(", "MCOperand", "::", "createImm", "(", "SignExtend32", "<", "", ">", "(", "", "&", "InsnS12", ")", ")", ")", ";"], "ground_truth": ["return", "MCDisassembler", "::", "Success", ";"], "File": "ARCDisassembler8", "Func": "DecodeS12Operand", "Target": "ARC", "Target_Clf": "MPU", "Compiler_Type": "LLVM", "Idx": 192584, "Length": 25, "Cover_Rate": 0.5208333333333334} {"Template_token": ["", "Inst", ".", "addOperand", "(", "MCOperand", "::", "createImm", "(", "SignExtend32", "<", "", ">", "(", "", "&", "InsnS12", ")", ")", ")", ";"], "ground_truth": ["return", "MCDisassembler", "::", "Success", ";"], "File": "ARCDisassembler8", "Func": "DecodeS12Operand", "Target": "ARC", "Target_Clf": "MPU", "Compiler_Type": "LLVM", "Idx": 192585, "Length": 25, "Cover_Rate": 0.5208333333333334} {"Template_token": ["", "Inst", ".", "addOperand", "(", "MCOperand", "::", "createImm", "(", "SignExtend32", "<", "", ">", "(", "", "&", "InsnS9", ")", ")", ")", ";", "return", "MCDisassembler", "::", "Success", ";"], "ground_truth": ["}"], "File": "ARCDisassembler8", "Func": "DecodeS9Operand", "Target": "ARC", "Target_Clf": "MPU", "Compiler_Type": "LLVM", "Idx": 192586, "Length": 26, "Cover_Rate": 0.5416666666666666} {"Template_token": ["", "static", "MCDisassembler", "::", "DecodeStatus", "DecodeS9Operand", "(", "MCInst", "&", "Inst", ",", "unsigned", "InsnS9", ",", "uint64_t", "Address", ",", "const", "void", "*", "Decoder", ")", "{", "Inst", ".", "addOperand", "(", "MCOperand", "::", "createImm", "(", "SignExtend32", "<", "", ">", "(", "", "&", "InsnS9", ")", ")", ")", ";", "return", "MCDisassembler", "::", "Success", ";"], "ground_truth": ["}"], "File": "ARCDisassembler8", "Func": "DecodeS9Operand", "Target": "ARC", "Target_Clf": "MPU", "Compiler_Type": "LLVM", "Idx": 192587, "Length": 48, "Cover_Rate": 1.0} {"Template_token": ["", "if", "(", "DstB", "!=", "", ")", "{", "DEBUG", "(", "dbgs", "(", ")", "<<", "", ")", ";", "return", "MCDisassembler", "::", "Fail", ";", "}", "SrcC", "=", "decodeCField", "(", "Insn", ")", ";"], "ground_truth": ["DecodeGPR32RegisterClass", "(", "Inst", ",", "SrcC", ",", "Address", ",", "Decoder", ")", ";"], "File": "ARCDisassembler8", "Func": "DecodeStLImmInstruction", "Target": "ARC", "Target_Clf": "MPU", "Compiler_Type": "LLVM", "Idx": 192588, "Length": 40, "Cover_Rate": 0.3508771929824561} {"Template_token": ["", "LImm", "=", "(", "Insn", ">>", "", ")", ";", "Inst", ".", "addOperand", "(", "MCOperand", "::", "createImm", "(", "LImm", ")", ")", ";", "Inst", ".", "addOperand", "(", "MCOperand", "::", "createImm", "(", "", ")", ")", ";", "return", "MCDisassembler", "::", "Success", ";"], "ground_truth": ["}"], "File": "ARCDisassembler8", "Func": "DecodeStLImmInstruction", "Target": "ARC", "Target_Clf": "MPU", "Compiler_Type": "LLVM", "Idx": 192589, "Length": 38, "Cover_Rate": 0.3333333333333333} {"Template_token": ["", "MCDisassembler", "::", "DecodeStatus", "Disassembler", "::", "getInstruction", "(", "MCInst", "&", "Instr", ",", "uint64_t", "&", "Size", ",", "ArrayRef", "<", "uint8_t", ">", "Bytes", ",", "uint64_t", "Address", ",", "raw_ostream", "&", "vStream", ",", "raw_ostream", "&", "cStream", ")", "const", "{", "MCDisassembler", "::", "DecodeStatus", "Result", ";", "if", "(", "Bytes", ".", "size", "(", ")", "<", "", ")", "{", "Size", "=", "", ";", "return", "Fail", ";", "}", "uint8_t", "DecodeByte", "=", "(", "Bytes", "[", "", "]", "&", "", ")", ">>", "", ";", "if", "(", "DecodeByte", "<", "", ")", "{", "if", "(", "Bytes", ".", "size", "(", ")", "<", "", ")", "{", "Size", "=", "", ";", "return", "Fail", ";", "}", "if", "(", "Bytes", ".", "size", "(", ")", ">=", "", ")", "{", "uint64_t", "Insn64", ";"], "ground_truth": ["if", "(", "!", "readInstruction64", "(", "Bytes", ",", "Address", ",", "Size", ",", "Insn64", ")", ")", "return", "Fail", ";"], "File": "ARCDisassembler8", "Func": "getInstruction", "Target": "ARC", "Target_Clf": "MPU", "Compiler_Type": "LLVM", "Idx": 192590, "Length": 129, "Cover_Rate": 0.5} {"Template_token": ["", "if", "(", "Bytes", ".", "size", "(", ")", "<", "", ")", "{", "Size", "=", "", ";", "return", "Fail", ";", "}", "if", "(", "Bytes", ".", "size", "(", ")", ">=", "", ")", "{", "uint64_t", "Insn64", ";", "if", "(", "!", "readInstruction64", "(", "Bytes", ",", "Address", ",", "Size", ",", "Insn64", ")", ")", "return", "Fail", ";", "Result", "=", "decodeInstruction", "(", "DecoderTable64", ",", "Instr", ",", "Insn64", ",", "Address", ",", "this", ",", "STI", ")", ";", "if", "(", "Result", "==", "MCDisassembler", "::", "Success", ")", "{", "DEBUG", "(", "dbgs", "(", ")", "<<", "", ")", ";", "return", "MCDisassembler", "::", "Success", ";", "}", "DEBUG", "(", "dbgs", "(", ")", "<<", "", ")", ";", "}", "uint32_t", "Insn32", ";", "if", "(", "!", "readInstruction32", "(", "Bytes", ",", "Address", ",", "Size", ",", "Insn32", ")", ")", "{"], "ground_truth": ["return", "Fail", ";"], "File": "ARCDisassembler8", "Func": "getInstruction", "Target": "ARC", "Target_Clf": "MPU", "Compiler_Type": "LLVM", "Idx": 192591, "Length": 122, "Cover_Rate": 0.4728682170542636} {"Template_token": ["", "DstA", "=", "decodeAField", "(", "Insn", ")", ";", "DecodeGPR32RegisterClass", "(", "Inst", ",", "DstA", ",", "Address", ",", "Decoder", ")", ";", "LImm", "=", "(", "Insn", ">>", "", ")", ";", "Inst", ".", "addOperand", "(", "MCOperand", "::", "createImm", "(", "LImm", ")", ")", ";"], "ground_truth": ["Inst", ".", "addOperand", "(", "MCOperand", "::", "createImm", "(", "", ")", ")", ";"], "File": "ARCDisassembler9", "Func": "DecodeLdLImmInstruction", "Target": "ARC", "Target_Clf": "MPU", "Compiler_Type": "LLVM", "Idx": 192592, "Length": 50, "Cover_Rate": 0.4132231404958678} {"Template_token": ["", "SrcB", "=", "decodeBField", "(", "Insn", ")", ";", "DecodeGPR32RegisterClass", "(", "Inst", ",", "SrcB", ",", "Address", ",", "Decoder", ")", ";", "if", "(", "decodeCField", "(", "Insn", ")", "!=", "", ")", "{", "DEBUG", "(", "dbgs", "(", ")", "<<", "", ")", ";", "return", "MCDisassembler", "::", "Fail", ";"], "ground_truth": ["}"], "File": "ARCDisassembler9", "Func": "DecodeLdRLImmInstruction", "Target": "ARC", "Target_Clf": "MPU", "Compiler_Type": "LLVM", "Idx": 192593, "Length": 43, "Cover_Rate": 0.35833333333333334} {"Template_token": ["", "static", "DecodeStatus", "DecodeMoveHRegInstruction", "(", "MCInst", "&", "Inst", ",", "uint64_t", "Insn", ",", "uint64_t", "Address", ",", "const", "void", "*", "Decoder", ")", "{", "DEBUG", "(", "dbgs", "(", ")", "<<", "", ")", ";", "using", "Field", "=", "decltype", "(", "Insn", ")", ";"], "ground_truth": ["Field", "h", "=", "fieldFromInstruction", "(", "Insn", ",", "", ",", "", ")", "|", "(", "fieldFromInstruction", "(", "Insn", ",", "", ",", "", ")", "<<", "", ")", ";"], "File": "ARCDisassembler9", "Func": "DecodeMoveHRegInstruction", "Target": "ARC", "Target_Clf": "MPU", "Compiler_Type": "LLVM", "Idx": 192594, "Length": 62, "Cover_Rate": 0.3563218390804598} {"Template_token": ["", "return", "MCDisassembler", "::", "Fail", ";", "}", "SrcC", "=", "decodeCField", "(", "Insn", ")", ";", "DecodeGPR32RegisterClass", "(", "Inst", ",", "SrcC", ",", "Address", ",", "Decoder", ")", ";", "LImm", "=", "(", "Insn", ">>", "", ")", ";"], "ground_truth": ["Inst", ".", "addOperand", "(", "MCOperand", "::", "createImm", "(", "LImm", ")", ")", ";"], "File": "ARCDisassembler9", "Func": "DecodeStLImmInstruction", "Target": "ARC", "Target_Clf": "MPU", "Compiler_Type": "LLVM", "Idx": 192595, "Length": 44, "Cover_Rate": 0.39285714285714285} {"Template_token": ["", "if", "(", "Bytes", ".", "size", "(", ")", "<", "", ")", "{", "Size", "=", "", ";", "return", "Fail", ";", "}", "uint8_t", "DecodeByte", "=", "(", "Bytes", "[", "", "]", "&", "", ")", ">>", "", ";", "if", "(", "DecodeByte", "<", "", ")", "{", "if", "(", "Bytes", ".", "size", "(", ")", "<", "", ")", "{", "Size", "=", "", ";", "return", "Fail", ";", "}", "if", "(", "Bytes", ".", "size", "(", ")", ">=", "", ")", "{", "uint64_t", "Insn64", ";", "if", "(", "!", "readInstruction64", "(", "Bytes", ",", "Address", ",", "Size", ",", "Insn64", ")", ")", "return", "Fail", ";", "Result", "=", "decodeInstruction", "(", "DecoderTable64", ",", "Instr", ",", "Insn64", ",", "Address", ",", "this", ",", "STI", ")", ";", "if", "(", "Success", "==", "Result", ")", "{", "DEBUG", "(", "dbgs", "(", ")", "<<", "", ")", ";", "return", "Result", ";", "}", "DEBUG", "(", "dbgs", "(", ")", "<<", "", ")", ";", "}", "uint32_t", "Insn32", ";", "if", "(", "!", "readInstruction32", "(", "Bytes", ",", "Address", ",", "Size", ",", "Insn32", ")", ")", "{", "return", "Fail", ";", "}", "return", "decodeInstruction", "(", "DecoderTable32", ",", "Instr", ",", "Insn32", ",", "Address", ",", "this", ",", "STI", ")", ";", "}", "else", "{", "if", "(", "Bytes", ".", "size", "(", ")", ">=", "", ")", "{", "uint64_t", "Insn48", ";", "if", "(", "!", "readInstruction48", "(", "Bytes", ",", "Address", ",", "Size", ",", "Insn48", ")", ")", "return", "Fail", ";", "Result", "=", "decodeInstruction", "(", "DecoderTable48", ",", "Instr", ",", "Insn48", ",", "Address", ",", "this", ",", "STI", ")", ";", "if", "(", "Success", "==", "Result", ")", "{", "DEBUG", "(", "dbgs", "(", ")", "<<", "", ")", ";", "return", "Result", ";", "}", "DEBUG", "(", "dbgs", "(", ")", "<<", "", ")", ";"], "ground_truth": ["}"], "File": "ARCDisassembler9", "Func": "getInstruction", "Target": "ARC", "Target_Clf": "MPU", "Compiler_Type": "LLVM", "Idx": 192596, "Length": 256, "Cover_Rate": 0.7734138972809668} {"Template_token": ["", "Disassembler", "(", "const", "MCSubtargetInfo", "&", "STI", ",", "MCContext", "&", "Ctx", ",", "MCInstrInfo", "const", "*", "MCII", ")", ":", "MCDisassembler", "(", "STI", ",", "Ctx", ")", ",", "MCII", "(", "MCII", ")", "{"], "ground_truth": ["}"], "File": "ARCDisassembler", "Func": "ARCDisassembler", "Target": "ARC", "Target_Clf": "MPU", "Compiler_Type": "LLVM", "Idx": 192597, "Length": 30, "Cover_Rate": 1.0} {"Template_token": ["", "Disassembler", "(", "const", "MCSubtargetInfo", "&", "STI", ",", "MCContext", "&", "Ctx", ",", "MCInstrInfo", "const", "*", "MCII", ")", ":", "MCDisassembler", "(", "STI", ",", "Ctx", ")", ",", "MCII", "(", "MCII", ")", "{"], "ground_truth": ["}"], "File": "ARCDisassembler", "Func": "ARCDisassembler", "Target": "ARC", "Target_Clf": "MPU", "Compiler_Type": "LLVM", "Idx": 192598, "Length": 30, "Cover_Rate": 1.0} {"Template_token": ["", "static", "MCDisassembler", "*", "createDisassembler", "(", "const", "Target", "&", "T", ",", "const", "MCSubtargetInfo", "&", "STI", ",", "MCContext", "&", "Ctx", ")", "{", "return", "new", "Disassembler", "(", "STI", ",", "Ctx", ",", "T", ".", "createMCInstrInfo", "(", ")", ")", ";"], "ground_truth": ["}"], "File": "ARCDisassembler", "Func": "createARCDisassembler", "Target": "ARC", "Target_Clf": "MPU", "Compiler_Type": "LLVM", "Idx": 192600, "Length": 36, "Cover_Rate": 1.0} {"Template_token": ["", "static", "unsigned", "decodeAField", "(", "unsigned", "Insn", ")", "{", "return", "fieldFromInstruction", "(", "Insn", ",", "", ",", "", ")", ";"], "ground_truth": ["}"], "File": "ARCDisassembler", "Func": "decodeAField", "Target": "ARC", "Target_Clf": "MPU", "Compiler_Type": "LLVM", "Idx": 192601, "Length": 19, "Cover_Rate": 1.0} {"Template_token": ["", "static", "unsigned", "decodeAField", "(", "unsigned", "Insn", ")", "{"], "ground_truth": ["return", "fieldFromInstruction", "(", "Insn", ",", "", ",", "", ")", ";"], "File": "ARCDisassembler", "Func": "decodeAField", "Target": "ARC", "Target_Clf": "MPU", "Compiler_Type": "LLVM", "Idx": 192602, "Length": 18, "Cover_Rate": 0.9473684210526315} {"Template_token": ["", "static", "unsigned", "decodeBField", "(", "unsigned", "Insn", ")", "{"], "ground_truth": ["return", "(", "fieldFromInstruction", "(", "Insn", ",", "", ",", "", ")", "<<", "", ")", "|", "fieldFromInstruction", "(", "Insn", ",", "", ",", "", ")", ";"], "File": "ARCDisassembler", "Func": "decodeBField", "Target": "ARC", "Target_Clf": "MPU", "Compiler_Type": "LLVM", "Idx": 192603, "Length": 31, "Cover_Rate": 0.96875} {"Template_token": ["", "DecodeSymbolicOperandOff", "(", "Inst", ",", "Address", ",", "SignExtend32", "<", "B", ">", "(", "InsnS", ")", ",", "Decoder", ")", ";"], "ground_truth": ["return", "MCDisassembler", "::", "Success", ";"], "File": "ARCDisassembler", "Func": "DecodeBranchTargetS", "Target": "ARC", "Target_Clf": "MPU", "Compiler_Type": "LLVM", "Idx": 192606, "Length": 22, "Cover_Rate": 0.4230769230769231} {"Template_token": ["", "DstB", "=", "decodeBField", "(", "Insn", ")", ";", "DecodeGPR32RegisterClass", "(", "Inst", ",", "DstB", ",", "Address", ",", "Decoder", ")", ";", "using", "Field", "=", "decltype", "(", "Insn", ")", ";", "Field", "U6Field", "=", "fieldFromInstruction", "(", "Insn", ",", "", ",", "", ")", ";", "Inst", ".", "addOperand", "(", "MCOperand", "::", "createImm", "(", "U6Field", ")", ")", ";", "Field", "CCField", "=", "fieldFromInstruction", "(", "Insn", ",", "", ",", "", ")", ";", "Inst", ".", "addOperand", "(", "MCOperand", "::", "createImm", "(", "CCField", ")", ")", ";", "return", "MCDisassembler", "::", "Success", ";"], "ground_truth": ["}"], "File": "ARCDisassembler", "Func": "DecodeCCRU6Instruction", "Target": "ARC", "Target_Clf": "MPU", "Compiler_Type": "LLVM", "Idx": 192607, "Length": 80, "Cover_Rate": 0.7142857142857143} {"Template_token": ["", "static_assert", "(", "B", ">", "", ",", "", ")", ";", "const", "unsigned", "max", "=", "(", "", "<<", "B", ")", "-", "", ";", "Inst", ".", "addOperand", "(", "MCOperand", "::", "createImm", "(", "InsnS", "<", "max", "?", "static_cast", "<", "int", ">", "(", "InsnS", ")", ":", "-", "", ")", ")", ";"], "ground_truth": ["return", "MCDisassembler", "::", "Success", ";"], "File": "ARCDisassembler", "Func": "DecodeFromCyclicRange", "Target": "ARC", "Target_Clf": "MPU", "Compiler_Type": "LLVM", "Idx": 192610, "Length": 51, "Cover_Rate": 0.7285714285714285} {"Template_token": ["", "const", "unsigned", "max", "=", "(", "", "<<", "B", ")", "-", "", ";"], "ground_truth": ["Inst", ".", "addOperand", "(", "MCOperand", "::", "createImm", "(", "InsnS", "<", "max", "?", "static_cast", "<", "int", ">", "(", "InsnS", ")", ":", "-", "", ")", ")", ";"], "File": "ARCDisassembler", "Func": "DecodeFromCyclicRange", "Target": "ARC", "Target_Clf": "MPU", "Compiler_Type": "LLVM", "Idx": 192611, "Length": 37, "Cover_Rate": 0.5285714285714286} {"Template_token": ["", "static", "DecodeStatus", "DecodeGBR32ShortRegister", "(", "MCInst", "&", "Inst", ",", "unsigned", "RegNo", ",", "uint64_t", "Address", ",", "const", "MCDisassembler", "*", "Decoder", ")", "{", "if", "(", "RegNo", ">", "", ")", "RegNo", "+=", "", ";"], "ground_truth": ["return", "DecodeGPR32RegisterClass", "(", "Inst", ",", "RegNo", ",", "Address", ",", "Decoder", ")", ";"], "File": "ARCDisassembler", "Func": "DecodeGBR32ShortRegister", "Target": "ARC", "Target_Clf": "MPU", "Compiler_Type": "LLVM", "Idx": 192612, "Length": 42, "Cover_Rate": 0.9767441860465116} {"Template_token": ["", "static", "DecodeStatus", "DecodeGBR32ShortRegister", "(", "MCInst", "&", "Inst", ",", "unsigned", "RegNo", ",", "uint64_t", "Address", ",", "const", "MCDisassembler", "*", "Decoder", ")", "{"], "ground_truth": ["if", "(", "RegNo", ">", "", ")", "RegNo", "+=", "", ";"], "File": "ARCDisassembler", "Func": "DecodeGBR32ShortRegister", "Target": "ARC", "Target_Clf": "MPU", "Compiler_Type": "LLVM", "Idx": 192613, "Length": 30, "Cover_Rate": 0.6976744186046512} {"Template_token": ["", "static", "DecodeStatus", "DecodeGPR32RegisterClass", "(", "MCInst", "&", "Inst", ",", "unsigned", "RegNo", ",", "uint64_t", "Address", ",", "const", "MCDisassembler", "*", "Decoder", ")", "{", "if", "(", "RegNo", ">=", "", ")", "{", "LLVM_DEBUG", "(", "dbgs", "(", ")", "<<", "", ")", ";", "return", "MCDisassembler", "::", "Fail", ";"], "ground_truth": ["}"], "File": "ARCDisassembler", "Func": "DecodeGPR32RegisterClass", "Target": "ARC", "Target_Clf": "MPU", "Compiler_Type": "LLVM", "Idx": 192614, "Length": 42, "Cover_Rate": 0.6176470588235294} {"Template_token": ["", "return", "MCDisassembler", "::", "Fail", ";", "}", "unsigned", "Reg", "=", "GPR32DecoderTable", "[", "RegNo", "]", ";"], "ground_truth": ["Inst", ".", "addOperand", "(", "MCOperand", "::", "createReg", "(", "Reg", ")", ")", ";"], "File": "ARCDisassembler", "Func": "DecodeGPR32RegisterClass", "Target": "ARC", "Target_Clf": "MPU", "Compiler_Type": "LLVM", "Idx": 192615, "Length": 26, "Cover_Rate": 0.38235294117647056} {"Template_token": ["", "if", "(", "decodeCField", "(", "Insn", ")", "!=", "", ")", "{", "LLVM_DEBUG", "(", "dbgs", "(", ")", "<<", "", ")", ";", "return", "MCDisassembler", "::", "Fail", ";", "}", "Inst", ".", "addOperand", "(", "MCOperand", "::", "createImm", "(", "(", "uint32_t", ")", "(", "Insn", ">>", "", ")", ")", ")", ";"], "ground_truth": ["return", "MCDisassembler", "::", "Success", ";"], "File": "ARCDisassembler", "Func": "DecodeLdRLImmInstruction", "Target": "ARC", "Target_Clf": "MPU", "Compiler_Type": "LLVM", "Idx": 192616, "Length": 49, "Cover_Rate": 0.4083333333333333} {"Template_token": ["", "unsigned", "R", "=", "(", "Insn", "&", "(", "", "&", "~", "", ")", ")", ">>", "", ";", "DecodeGPR32RegisterClass", "(", "Inst", ",", "R", ",", "Address", ",", "Dec", ")", ";"], "ground_truth": ["Inst", ".", "addOperand", "(", "MCOperand", "::", "createImm", "(", "SignExtend32", "<", "", ">", "(", "S9", ")", ")", ")", ";"], "File": "ARCDisassembler", "Func": "DecodeMEMrs9", "Target": "ARC", "Target_Clf": "MPU", "Compiler_Type": "LLVM", "Idx": 192617, "Length": 45, "Cover_Rate": 0.5769230769230769} {"Template_token": ["", "Field", "G", "=", "fieldFromInstruction", "(", "Insn", ",", "", ",", "", ")", "|", "(", "fieldFromInstruction", "(", "Insn", ",", "", ",", "", ")", "<<", "", ")", ";", "auto", "DecodeRegisterOrImm", "=", "[", "&", "Inst", ",", "Address", ",", "Decoder", "]", "(", "Field", "RegNum", ",", "Field", "Value", ")", "{", "if", "(", "", "==", "RegNum", ")", "{", "Inst", ".", "addOperand", "(", "MCOperand", "::", "createImm", "(", "Value", ")", ")", ";", "return", "MCDisassembler", "::", "Success", ";", "}", "return", "DecodeGPR32RegisterClass", "(", "Inst", ",", "RegNum", ",", "Address", ",", "Decoder", ")", ";"], "ground_truth": ["}", ";"], "File": "ARCDisassembler", "Func": "DecodeMoveHRegInstruction", "Target": "ARC", "Target_Clf": "MPU", "Compiler_Type": "LLVM", "Idx": 192618, "Length": 83, "Cover_Rate": 0.47701149425287354} {"Template_token": ["", "static_assert", "(", "B", ">", "", ",", "", ")", ";", "Inst", ".", "addOperand", "(", "MCOperand", "::", "createImm", "(", "SignExtend32", "<", "B", ">", "(", "maskTrailingOnes", "<", "decltype", "(", "InsnS", ")", ">", "(", "B", ")", "&", "InsnS", ")", ")", ")", ";"], "ground_truth": ["return", "MCDisassembler", "::", "Success", ";"], "File": "ARCDisassembler", "Func": "DecodeSignedOperand", "Target": "ARC", "Target_Clf": "MPU", "Compiler_Type": "LLVM", "Idx": 192619, "Length": 43, "Cover_Rate": 0.6935483870967742} {"Template_token": ["", "unsigned", "DstB", "=", "decodeBField", "(", "Insn", ")", ";", "DecodeGPR32RegisterClass", "(", "Inst", ",", "DstB", ",", "Address", ",", "Decoder", ")", ";", "using", "Field", "=", "decltype", "(", "Insn", ")", ";", "Field", "Lower", "=", "fieldFromInstruction", "(", "Insn", ",", "", ",", "", ")", ";", "Field", "Upper", "=", "fieldFromInstruction", "(", "Insn", ",", "", ",", "", ")", ";"], "ground_truth": ["Field", "Sign", "=", "fieldFromInstruction", "(", "Insn", ",", "", ",", "", ")", "?", "-", "", ":", "", ";"], "File": "ARCDisassembler", "Func": "DecodeSOPwithRS12", "Target": "ARC", "Target_Clf": "MPU", "Compiler_Type": "LLVM", "Idx": 192620, "Length": 68, "Cover_Rate": 0.5619834710743802} {"Template_token": ["", "using", "Field", "=", "decltype", "(", "Insn", ")", ";", "Field", "U6", "=", "fieldFromInstruction", "(", "Insn", ",", "", ",", "", ")", ";", "Inst", ".", "addOperand", "(", "MCOperand", "::", "createImm", "(", "U6", ")", ")", ";"], "ground_truth": ["return", "MCDisassembler", "::", "Success", ";"], "File": "ARCDisassembler", "Func": "DecodeSOPwithRU6", "Target": "ARC", "Target_Clf": "MPU", "Compiler_Type": "LLVM", "Idx": 192621, "Length": 37, "Cover_Rate": 0.4805194805194805} {"Template_token": ["", "static", "DecodeStatus", "DecodeSOPwithRU6", "(", "MCInst", "&", "Inst", ",", "uint64_t", "Insn", ",", "uint64_t", "Address", ",", "const", "MCDisassembler", "*", "Decoder", ")", "{"], "ground_truth": ["unsigned", "DstB", "=", "decodeBField", "(", "Insn", ")", ";"], "File": "ARCDisassembler", "Func": "DecodeSOPwithRU6", "Target": "ARC", "Target_Clf": "MPU", "Compiler_Type": "LLVM", "Idx": 192622, "Length": 28, "Cover_Rate": 0.36363636363636365} {"Template_token": ["", "}", "SrcC", "=", "decodeCField", "(", "Insn", ")", ";", "DecodeGPR32RegisterClass", "(", "Inst", ",", "SrcC", ",", "Address", ",", "Decoder", ")", ";", "LImm", "=", "(", "Insn", ">>", "", ")", ";", "Inst", ".", "addOperand", "(", "MCOperand", "::", "createImm", "(", "LImm", ")", ")", ";", "Inst", ".", "addOperand", "(", "MCOperand", "::", "createImm", "(", "", ")", ")", ";"], "ground_truth": ["return", "MCDisassembler", "::", "Success", ";"], "File": "ARCDisassembler", "Func": "DecodeStLImmInstruction", "Target": "ARC", "Target_Clf": "MPU", "Compiler_Type": "LLVM", "Idx": 192623, "Length": 56, "Cover_Rate": 0.5} {"Template_token": ["", "static", "bool", "DecodeSymbolicOperand", "(", "MCInst", "&", "Inst", ",", "uint64_t", "Address", ",", "uint64_t", "Value", ",", "const", "MCDisassembler", "*", "Decoder", ")", "{", "static", "const", "uint64_t", "AtLeast", "=", "", ";", "return", "(", "nullptr", "!=", "Decoder", "&&", "Decoder", "->", "tryAddingSymbolicOperand", "(", "Inst", ",", "Value", ",", "Address", ",", "true", ",", "", ",", "AtLeast", ")", ")", ";"], "ground_truth": ["}"], "File": "ARCDisassembler", "Func": "DecodeSymbolicOperand", "Target": "ARC", "Target_Clf": "MPU", "Compiler_Type": "LLVM", "Idx": 192624, "Length": 52, "Cover_Rate": 1.0} {"Template_token": ["", "uint64_t", "NextAddress", "=", "Address", "+", "Offset", ";"], "ground_truth": ["if", "(", "!", "DecodeSymbolicOperand", "(", "Inst", ",", "Address", ",", "NextAddress", ",", "Decoder", ")", ")", "Inst", ".", "addOperand", "(", "MCOperand", "::", "createImm", "(", "Offset", ")", ")", ";"], "File": "ARCDisassembler", "Func": "DecodeSymbolicOperandOff", "Target": "ARC", "Target_Clf": "MPU", "Compiler_Type": "LLVM", "Idx": 192626, "Length": 33, "Cover_Rate": 0.6111111111111112} {"Template_token": ["", "uint64_t", "NextAddress", "=", "Address", "+", "Offset", ";", "if", "(", "!", "DecodeSymbolicOperand", "(", "Inst", ",", "Address", ",", "NextAddress", ",", "Decoder", ")", ")", "Inst", ".", "addOperand", "(", "MCOperand", "::", "createImm", "(", "Offset", ")", ")", ";"], "ground_truth": ["}"], "File": "ARCDisassembler", "Func": "DecodeSymbolicOperandOff", "Target": "ARC", "Target_Clf": "MPU", "Compiler_Type": "LLVM", "Idx": 192627, "Length": 34, "Cover_Rate": 0.6296296296296297} {"Template_token": ["", "if", "(", "Success", "==", "Result", ")", "{", "LLVM_DEBUG", "(", "dbgs", "(", ")", "<<", "", ")", ";", "return", "Result", ";", "}", "LLVM_DEBUG", "(", "dbgs", "(", ")", "<<", "", ")", ";", "}", "uint32_t", "Insn32", ";", "if", "(", "!", "readInstruction32", "(", "Bytes", ",", "Address", ",", "Size", ",", "Insn32", ")", ")", "{", "return", "Fail", ";", "}", "return", "decodeInstruction", "(", "DecoderTable32", ",", "Instr", ",", "Insn32", ",", "Address", ",", "this", ",", "STI", ")", ";", "}", "else", "{", "if", "(", "Bytes", ".", "size", "(", ")", ">=", "", ")", "{", "uint64_t", "Insn48", ";"], "ground_truth": ["if", "(", "!", "readInstruction48", "(", "Bytes", ",", "Address", ",", "Size", ",", "Insn48", ")", ")", "return", "Fail", ";"], "File": "ARCDisassembler", "Func": "getInstruction", "Target": "ARC", "Target_Clf": "MPU", "Compiler_Type": "LLVM", "Idx": 192628, "Length": 102, "Cover_Rate": 0.3119266055045872} {"Template_token": ["", "TargetRegistry", "::", "RegisterMCDisassembler", "(", "getTheTarget", "(", ")", ",", "createDisassembler", ")", ";"], "ground_truth": ["}"], "File": "ARCDisassembler", "Func": "LLVMInitializeARCDisassembler", "Target": "ARC", "Target_Clf": "MPU", "Compiler_Type": "LLVM", "Idx": 192630, "Length": 12, "Cover_Rate": 0.6666666666666666} {"Template_token": ["", "static", "bool", "readInstruction32", "(", "ArrayRef", "<", "uint8_t", ">", "Bytes", ",", "uint64_t", "Address", ",", "uint64_t", "&", "Size", ",", "uint32_t", "&", "Insn", ")", "{", "Size", "=", "", ";"], "ground_truth": ["Insn", "=", "(", "Bytes", "[", "", "]", "<<", "", ")", "|", "(", "Bytes", "[", "", "]", "<<", "", ")", "|", "(", "Bytes", "[", "", "]", "<<", "", ")", "|", "(", "Bytes", "[", "", "]", "<<", "", ")", ";"], "File": "ARCDisassembler", "Func": "readInstruction32", "Target": "ARC", "Target_Clf": "MPU", "Compiler_Type": "LLVM", "Idx": 192632, "Length": 64, "Cover_Rate": 0.9411764705882353} {"Template_token": ["", "Size", "=", "", ";"], "ground_truth": ["Insn", "=", "(", "(", "uint64_t", ")", "Bytes", "[", "", "]", "<<", "", ")", "|", "(", "(", "uint64_t", ")", "Bytes", "[", "", "]", "<<", "", ")", "|", "(", "(", "uint64_t", ")", "Bytes", "[", "", "]", "<<", "", ")", "|", "(", "(", "uint64_t", ")", "Bytes", "[", "", "]", "<<", "", ")", "|", "(", "(", "uint64_t", ")", "Bytes", "[", "", "]", "<<", "", ")", "|", "(", "(", "uint64_t", ")", "Bytes", "[", "", "]", "<<", "", ")", ";"], "File": "ARCDisassembler", "Func": "readInstruction48", "Target": "ARC", "Target_Clf": "MPU", "Compiler_Type": "LLVM", "Idx": 192633, "Length": 78, "Cover_Rate": 0.75} {"Template_token": ["", "static", "bool", "readInstruction48", "(", "ArrayRef", "<", "uint8_t", ">", "Bytes", ",", "uint64_t", "Address", ",", "uint64_t", "&", "Size", ",", "uint64_t", "&", "Insn", ")", "{", "Size", "=", "", ";", "Insn", "=", "(", "(", "uint64_t", ")", "Bytes", "[", "", "]", "<<", "", ")", "|", "(", "(", "uint64_t", ")", "Bytes", "[", "", "]", "<<", "", ")", "|", "(", "(", "uint64_t", ")", "Bytes", "[", "", "]", "<<", "", ")", "|", "(", "(", "uint64_t", ")", "Bytes", "[", "", "]", "<<", "", ")", "|", "(", "(", "uint64_t", ")", "Bytes", "[", "", "]", "<<", "", ")", "|", "(", "(", "uint64_t", ")", "Bytes", "[", "", "]", "<<", "", ")", ";", "return", "true", ";"], "ground_truth": ["}"], "File": "ARCDisassembler", "Func": "readInstruction48", "Target": "ARC", "Target_Clf": "MPU", "Compiler_Type": "LLVM", "Idx": 192634, "Length": 104, "Cover_Rate": 1.0} {"Template_token": ["", "Register", "Rb", "=", "MF", ".", "getRegInfo", "(", ")", ".", "createVirtualRegister", "(", "&", "", ")", ";", "BuildMI", "(", "*", "MI", ".", "getParent", "(", ")", ",", "MI", ",", "MI", ".", "getDebugLoc", "(", ")", ",", "TII", "->", "get", "(", "", ")", ",", "Ra", ")", ".", "add", "(", "Src", ")", ";"], "ground_truth": ["BuildMI", "(", "*", "MI", ".", "getParent", "(", ")", ",", "MI", ",", "MI", ".", "getDebugLoc", "(", ")", ",", "TII", "->", "get", "(", "", ")", ",", "Rb", ")", ".", "addImm", "(", "", ")", ".", "addImm", "(", "", ")", ".", "addReg", "(", "Ra", ")", ";"], "File": "ARCExpandPseudos1", "Func": "expandCTLZ", "Target": "ARC", "Target_Clf": "MPU", "Compiler_Type": "LLVM", "Idx": 192636, "Length": 89, "Cover_Rate": 0.41203703703703703} {"Template_token": ["", "BuildMI", "(", "*", "MI", ".", "getParent", "(", ")", ",", "MI", ",", "MI", ".", "getDebugLoc", "(", ")", ",", "TII", "->", "get", "(", "", ")", ")", ".", "add", "(", "Dest", ")", ".", "addImm", "(", "", ")", ".", "addImm", "(", "", ")", ".", "addReg", "(", "R", ")", ";"], "ground_truth": ["MI", ".", "eraseFromParent", "(", ")", ";"], "File": "ARCExpandPseudos1", "Func": "expandCTTZ", "Target": "ARC", "Target_Clf": "MPU", "Compiler_Type": "LLVM", "Idx": 192637, "Length": 51, "Cover_Rate": 0.3333333333333333} {"Template_token": ["", "void", "ExpandPseudos", "::", "expandCTTZ", "(", "MachineFunction", "&", "MF", ",", "MachineBasicBlock", "::", "iterator", "MII", ")", "{", "MachineInstr", "&", "MI", "=", "*", "MII", ";", "const", "MachineOperand", "&", "Dest", "=", "MI", ".", "getOperand", "(", "", ")", ";"], "ground_truth": ["const", "MachineOperand", "&", "Src", "=", "MI", ".", "getOperand", "(", "", ")", ";"], "File": "ARCExpandPseudos1", "Func": "expandCTTZ", "Target": "ARC", "Target_Clf": "MPU", "Compiler_Type": "LLVM", "Idx": 192638, "Length": 46, "Cover_Rate": 0.3006535947712418} {"Template_token": ["", "Register", "AddOpc", "=", "isUInt", "<", "", ">", "(", "SI", ".", "getOperand", "(", "", ")", ".", "getImm", "(", ")", ")", "?", "", ":", "", ";", "BuildMI", "(", "*", "SI", ".", "getParent", "(", ")", ",", "SI", ",", "SI", ".", "getDebugLoc", "(", ")", ",", "TII", "->", "get", "(", "AddOpc", ")", ",", "AddrReg", ")", ".", "addReg", "(", "SI", ".", "getOperand", "(", "", ")", ".", "getReg", "(", ")", ")", ".", "addImm", "(", "SI", ".", "getOperand", "(", "", ")", ".", "getImm", "(", ")", ")", ";", "BuildMI", "(", "*", "SI", ".", "getParent", "(", ")", ",", "SI", ",", "SI", ".", "getDebugLoc", "(", ")", ",", "TII", "->", "get", "(", "getMappedOp", "(", "SI", ".", "getOpcode", "(", ")", ")", ")", ")", ".", "addReg", "(", "SI", ".", "getOperand", "(", "", ")", ".", "getReg", "(", ")", ")", ".", "addReg", "(", "AddrReg", ")", ".", "addImm", "(", "", ")", ";", "SI", ".", "eraseFromParent", "(", ")", ";"], "ground_truth": ["}"], "File": "ARCExpandPseudos1", "Func": "expandStore", "Target": "ARC", "Target_Clf": "MPU", "Compiler_Type": "LLVM", "Idx": 192639, "Length": 142, "Cover_Rate": 0.7675675675675676} {"Template_token": ["", "Register", "AddrReg", "=", "MF", ".", "getRegInfo", "(", ")", ".", "createVirtualRegister", "(", "&", "", ")", ";", "Register", "AddOpc", "=", "isUInt", "<", "", ">", "(", "SI", ".", "getOperand", "(", "", ")", ".", "getImm", "(", ")", ")", "?", "", ":", "", ";", "BuildMI", "(", "*", "SI", ".", "getParent", "(", ")", ",", "SI", ",", "SI", ".", "getDebugLoc", "(", ")", ",", "TII", "->", "get", "(", "AddOpc", ")", ",", "AddrReg", ")", ".", "addReg", "(", "SI", ".", "getOperand", "(", "", ")", ".", "getReg", "(", ")", ")", ".", "addImm", "(", "SI", ".", "getOperand", "(", "", ")", ".", "getImm", "(", ")", ")", ";", "BuildMI", "(", "*", "SI", ".", "getParent", "(", ")", ",", "SI", ",", "SI", ".", "getDebugLoc", "(", ")", ",", "TII", "->", "get", "(", "getMappedOp", "(", "SI", ".", "getOpcode", "(", ")", ")", ")", ")", ".", "addReg", "(", "SI", ".", "getOperand", "(", "", ")", ".", "getReg", "(", ")", ")", ".", "addReg", "(", "AddrReg", ")", ".", "addImm", "(", "", ")", ";"], "ground_truth": ["SI", ".", "eraseFromParent", "(", ")", ";"], "File": "ARCExpandPseudos1", "Func": "expandStore", "Target": "ARC", "Target_Clf": "MPU", "Compiler_Type": "LLVM", "Idx": 192640, "Length": 156, "Cover_Rate": 0.8432432432432433} {"Template_token": ["", "while", "(", "MBBI", "!=", "E", ")", "{", "MachineBasicBlock", "::", "iterator", "NMBBI", "=", "std", "::", "next", "(", "MBBI", ")", ";", "switch", "(", "MBBI", "->", "getOpcode", "(", ")", ")", "{", "case", "", ":", "case", "", ":", "case", "", ":", "expandStore", "(", "MF", ",", "MBBI", ")", ";", "Expanded", "=", "true", ";", "break", ";", "case", "", ":", "expandCTLZ", "(", "MF", ",", "MBBI", ")", ";"], "ground_truth": ["Expanded", "=", "true", ";"], "File": "ARCExpandPseudos1", "Func": "runOnMachineFunction", "Target": "ARC", "Target_Clf": "MPU", "Compiler_Type": "LLVM", "Idx": 192641, "Length": 64, "Cover_Rate": 0.3699421965317919} {"Template_token": ["", "ExpandPseudos", "(", ")", ":", "MachineFunctionPass", "(", "ID", ")", "{"], "ground_truth": ["}"], "File": "ARCExpandPseudos", "Func": "ARCExpandPseudos", "Target": "ARC", "Target_Clf": "MPU", "Compiler_Type": "LLVM", "Idx": 192642, "Length": 10, "Cover_Rate": 1.0} {"Template_token": ["", "ExpandPseudos", "(", ")", ":", "MachineFunctionPass", "(", "ID", ")", "{"], "ground_truth": ["}"], "File": "ARCExpandPseudos", "Func": "ARCExpandPseudos", "Target": "ARC", "Target_Clf": "MPU", "Compiler_Type": "LLVM", "Idx": 192643, "Length": 10, "Cover_Rate": 1.0} {"Template_token": ["", "unsigned", "AddrReg", "=", "MF", ".", "getRegInfo", "(", ")", ".", "createVirtualRegister", "(", "&", "", ")", ";", "unsigned", "AddOpc", "=", "isUInt", "<", "", ">", "(", "SI", ".", "getOperand", "(", "", ")", ".", "getImm", "(", ")", ")", "?", "", ":", "", ";", "BuildMI", "(", "*", "SI", ".", "getParent", "(", ")", ",", "SI", ",", "SI", ".", "getDebugLoc", "(", ")", ",", "TII", "->", "get", "(", "AddOpc", ")", ",", "AddrReg", ")", ".", "addReg", "(", "SI", ".", "getOperand", "(", "", ")", ".", "getReg", "(", ")", ")", ".", "addImm", "(", "SI", ".", "getOperand", "(", "", ")", ".", "getImm", "(", ")", ")", ";", "BuildMI", "(", "*", "SI", ".", "getParent", "(", ")", ",", "SI", ",", "SI", ".", "getDebugLoc", "(", ")", ",", "TII", "->", "get", "(", "getMappedOp", "(", "SI", ".", "getOpcode", "(", ")", ")", ")", ")", ".", "addReg", "(", "SI", ".", "getOperand", "(", "", ")", ".", "getReg", "(", ")", ")", ".", "addReg", "(", "AddrReg", ")", ".", "addImm", "(", "", ")", ";", "SI", ".", "eraseFromParent", "(", ")", ";"], "ground_truth": ["}"], "File": "ARCExpandPseudos", "Func": "ExpandStore", "Target": "ARC", "Target_Clf": "MPU", "Compiler_Type": "LLVM", "Idx": 192646, "Length": 157, "Cover_Rate": 0.8486486486486486} {"Template_token": ["", "BuildMI", "(", "*", "SI", ".", "getParent", "(", ")", ",", "SI", ",", "SI", ".", "getDebugLoc", "(", ")", ",", "TII", "->", "get", "(", "getMappedOp", "(", "SI", ".", "getOpcode", "(", ")", ")", ")", ")", ".", "addReg", "(", "SI", ".", "getOperand", "(", "", ")", ".", "getReg", "(", ")", ")", ".", "addReg", "(", "AddrReg", ")", ".", "addImm", "(", "", ")", ";", "SI", ".", "eraseFromParent", "(", ")", ";"], "ground_truth": ["}"], "File": "ARCExpandPseudos", "Func": "ExpandStore", "Target": "ARC", "Target_Clf": "MPU", "Compiler_Type": "LLVM", "Idx": 192647, "Length": 63, "Cover_Rate": 0.34054054054054056} {"Template_token": ["", "case", "", ":", "return", "", ";", "case", "", ":", "return", "", ";", "default", ":", "llvm_unreachable", "(", "", ")", ";"], "ground_truth": ["}"], "File": "ARCExpandPseudos", "Func": "getMappedOp", "Target": "ARC", "Target_Clf": "MPU", "Compiler_Type": "LLVM", "Idx": 192648, "Length": 20, "Cover_Rate": 0.38461538461538464} {"Template_token": ["", "switch", "(", "PseudoOp", ")", "{", "case", "", ":", "return", "", ";", "case", "", ":", "return", "", ";", "case", "", ":", "return", "", ";"], "ground_truth": ["default", ":"], "File": "ARCExpandPseudos", "Func": "getMappedOp", "Target": "ARC", "Target_Clf": "MPU", "Compiler_Type": "LLVM", "Idx": 192649, "Length": 25, "Cover_Rate": 0.4807692307692308} {"Template_token": ["", "return", "", ";"], "ground_truth": ["}"], "File": "ARCExpandPseudos", "Func": "getPassName", "Target": "ARC", "Target_Clf": "MPU", "Compiler_Type": "LLVM", "Idx": 192650, "Length": 4, "Cover_Rate": 0.36363636363636365} {"Template_token": ["", "StringRef", "getPassName", "(", ")", "const", "override", "{", "return", "", ";"], "ground_truth": ["}"], "File": "ARCExpandPseudos", "Func": "getPassName", "Target": "ARC", "Target_Clf": "MPU", "Compiler_Type": "LLVM", "Idx": 192651, "Length": 11, "Cover_Rate": 1.0} {"Template_token": ["", "while", "(", "MBBI", "!=", "E", ")", "{", "MachineBasicBlock", "::", "iterator", "NMBBI", "=", "std", "::", "next", "(", "MBBI", ")", ";", "switch", "(", "MBBI", "->", "getOpcode", "(", ")", ")", "{", "case", "", ":", "case", "", ":", "case", "", ":"], "ground_truth": ["ExpandStore", "(", "MF", ",", "MBBI", ")", ";"], "File": "ARCExpandPseudos", "Func": "runOnMachineFunction", "Target": "ARC", "Target_Clf": "MPU", "Compiler_Type": "LLVM", "Idx": 192652, "Length": 44, "Cover_Rate": 0.32116788321167883} {"Template_token": ["", "TargetFrameLowering", "::", "determineCalleeSaves", "(", "MF", ",", "SavedRegs", ",", "RS", ")", ";", "SavedRegs", ".", "set", "(", "", ")", ";"], "ground_truth": ["}"], "File": "ARCFrameLowering10", "Func": "determineCalleeSaves", "Target": "ARC", "Target_Clf": "MPU", "Compiler_Type": "LLVM", "Idx": 192653, "Length": 19, "Cover_Rate": 0.3333333333333333} {"Template_token": ["", "if", "(", "Amt", ">", "AFI", "->", "MaxCallStackReq", "&&", "Old", ".", "getOpcode", "(", ")", "==", "", ")", "AFI", "->", "MaxCallStackReq", "=", "Amt", ";", "}", "else", "{", "if", "(", "Amt", "!=", "", ")", "{", "assert", "(", "(", "Old", ".", "getOpcode", "(", ")", "==", "", "||", "Old", ".", "getOpcode", "(", ")", "==", "", ")", "&&", "", ")", ";", "bool", "IsAdd", "=", "(", "Old", ".", "getOpcode", "(", ")", "==", "", ")", ";", "emitRegUpdate", "(", "MBB", ",", "I", ",", "dl", ",", "", ",", "Amt", ",", "IsAdd", ",", "TII", ")", ";", "}"], "ground_truth": ["}"], "File": "ARCFrameLowering10", "Func": "eliminateCallFramePseudoInstr", "Target": "ARC", "Target_Clf": "MPU", "Compiler_Type": "LLVM", "Idx": 192654, "Length": 87, "Cover_Rate": 0.4046511627906977} {"Template_token": ["", "BuildMI", "(", "MBB", ",", "MBBI", ",", "MBB", ".", "findDebugLoc", "(", "MBBI", ")", ",", "TII", "->", "get", "(", "", ")", ")", ".", "addExternalSymbol", "(", "load_funclet_name", "[", "Last", "-", "", "]", ")", ".", "addReg", "(", "", ",", "RegState", "::", "Implicit", "|", "RegState", "::", "Kill", ")", ";", "BuildMI", "(", "MBB", ",", "MBBI", ",", "MBB", ".", "findDebugLoc", "(", "MBBI", ")", ",", "TII", "->", "get", "(", "", ")", ")", ".", "addReg", "(", "", ")", ".", "addReg", "(", "", ")", ".", "addImm", "(", "", "*", "(", "StackSlotsUsedByFunclet", ")", ")", ";", "}", "if", "(", "SavedBlink", ")", "{", "BuildMI", "(", "MBB", ",", "MBBI", ",", "MBB", ".", "findDebugLoc", "(", "MBBI", ")", ",", "TII", "->", "get", "(", "", ")", ")", ";", "}", "if", "(", "hasFP", "(", "MF", ")", ")", "{", "BuildMI", "(", "MBB", ",", "MBBI", ",", "MBB", ".", "findDebugLoc", "(", "MBBI", ")", ",", "TII", "->", "get", "(", "", ")", ")", ".", "addReg", "(", "", ",", "RegState", "::", "Define", ")", ".", "addReg", "(", "", ",", "RegState", "::", "Define", ")", ".", "addReg", "(", "", ")", ".", "addImm", "(", "", ")", ";", "}", "if", "(", "MF", ".", "getFunction", "(", ")", ".", "isVarArg", "(", ")", ")", "{", "DEBUG", "(", "dbgs", "(", ")", "<<", "", ")", ";"], "ground_truth": ["unsigned", "VarArgsBytes", "=", "MFI", ".", "getObjectSize", "(", "AFI", "->", "getVarArgsFrameIndex", "(", ")", ")", ";"], "File": "ARCFrameLowering10", "Func": "emitEpilogue", "Target": "ARC", "Target_Clf": "MPU", "Compiler_Type": "LLVM", "Idx": 192655, "Length": 206, "Cover_Rate": 0.36203866432337434} {"Template_token": ["", "MachineFrameInfo", "&", "MFI", "=", "MF", ".", "getFrameInfo", "(", ")", ";", "uint64_t", "StackSize", "=", "MF", ".", "getFrameInfo", "(", ")", ".", "getStackSize", "(", ")", ";", "bool", "SavedBlink", "=", "false", ";", "unsigned", "AmountAboveFunclet", "=", "", ";", "if", "(", "hasFP", "(", "MF", ")", ")", "{", "BuildMI", "(", "MBB", ",", "MBBI", ",", "DebugLoc", "(", ")", ",", "TII", "->", "get", "(", "", ")", ",", "", ")", ".", "addReg", "(", "", ")", ".", "addImm", "(", "StackSize", ")", ";", "AmountAboveFunclet", "+=", "", ";", "}", "const", "std", "::", "vector", "<", "CalleeSavedInfo", ">", "&", "CSI", "=", "MFI", ".", "getCalleeSavedInfo", "(", ")", ";", "unsigned", "Last", "=", "determineLastCalleeSave", "(", "CSI", ")", ";", "unsigned", "StackSlotsUsedByFunclet", "=", "", ";", "if", "(", "UseSaveRestoreFunclet", "&&", "Last", ">", "", ")", "{", "StackSlotsUsedByFunclet", "=", "Last", "-", "", ";", "AmountAboveFunclet", "+=", "", "*", "(", "StackSlotsUsedByFunclet", "+", "", ")", ";", "SavedBlink", "=", "true", ";", "}", "if", "(", "MFI", ".", "hasCalls", "(", ")", "&&", "!", "SavedBlink", ")", "{", "AmountAboveFunclet", "+=", "", ";", "SavedBlink", "=", "true", ";", "}", "if", "(", "StackSize", "-", "AmountAboveFunclet", ")", "{", "BuildMI", "(", "MBB", ",", "MBBI", ",", "MBB", ".", "findDebugLoc", "(", "MBBI", ")", ",", "TII", "->", "get", "(", "", ")", ")", ".", "addReg", "(", "", ")", ".", "addReg", "(", "", ")", ".", "addImm", "(", "StackSize", "-", "AmountAboveFunclet", ")", ";", "}", "if", "(", "StackSlotsUsedByFunclet", ")", "{", "BuildMI", "(", "MBB", ",", "MBBI", ",", "MBB", ".", "findDebugLoc", "(", "MBBI", ")", ",", "TII", "->", "get", "(", "", ")", ")", ".", "addExternalSymbol", "(", "load_funclet_name", "[", "Last", "-", "", "]", ")", ".", "addReg", "(", "", ",", "RegState", "::", "Implicit", "|", "RegState", "::", "Kill", ")", ";", "BuildMI", "(", "MBB", ",", "MBBI", ",", "MBB", ".", "findDebugLoc", "(", "MBBI", ")", ",", "TII", "->", "get", "(", "", ")", ")", ".", "addReg", "(", "", ")", ".", "addReg", "(", "", ")", ".", "addImm", "(", "", "*", "(", "StackSlotsUsedByFunclet", ")", ")", ";", "}", "if", "(", "SavedBlink", ")", "{", "BuildMI", "(", "MBB", ",", "MBBI", ",", "MBB", ".", "findDebugLoc", "(", "MBBI", ")", ",", "TII", "->", "get", "(", "", ")", ")", ";"], "ground_truth": ["}"], "File": "ARCFrameLowering10", "Func": "emitEpilogue", "Target": "ARC", "Target_Clf": "MPU", "Compiler_Type": "LLVM", "Idx": 192656, "Length": 319, "Cover_Rate": 0.5606326889279437} {"Template_token": ["", "unsigned", "CFIIndex", "=", "MF", ".", "addFrameInst", "(", "MCCFIInstruction", "::", "createDefCfaOffset", "(", "nullptr", ",", "-", "MFI", ".", "getStackSize", "(", ")", ")", ")", ";", "BuildMI", "(", "MBB", ",", "MBBI", ",", "dl", ",", "TII", "->", "get", "(", "TargetOpcode", "::", "CFI_INSTRUCTION", ")", ")", ".", "addCFIIndex", "(", "CFIIndex", ")", ".", "setMIFlags", "(", "MachineInstr", "::", "FrameSetup", ")", ";", "int", "CurOffset", "=", "-", "", ";", "if", "(", "hasFP", "(", "MF", ")", ")", "{", "CFIIndex", "=", "MF", ".", "addFrameInst", "(", "MCCFIInstruction", "::", "createOffset", "(", "nullptr", ",", "MRI", "->", "getDwarfRegNum", "(", "", ",", "true", ")", ",", "CurOffset", ")", ")", ";", "BuildMI", "(", "MBB", ",", "MBBI", ",", "dl", ",", "TII", "->", "get", "(", "TargetOpcode", "::", "CFI_INSTRUCTION", ")", ")", ".", "addCFIIndex", "(", "CFIIndex", ")", ".", "setMIFlags", "(", "MachineInstr", "::", "FrameSetup", ")", ";", "CurOffset", "-=", "", ";", "}", "if", "(", "MFI", ".", "hasCalls", "(", ")", ")", "{", "CFIIndex", "=", "MF", ".", "addFrameInst", "(", "MCCFIInstruction", "::", "createOffset", "(", "nullptr", ",", "MRI", "->", "getDwarfRegNum", "(", "", ",", "true", ")", ",", "CurOffset", ")", ")", ";", "BuildMI", "(", "MBB", ",", "MBBI", ",", "dl", ",", "TII", "->", "get", "(", "TargetOpcode", "::", "CFI_INSTRUCTION", ")", ")", ".", "addCFIIndex", "(", "CFIIndex", ")", ".", "setMIFlags", "(", "MachineInstr", "::", "FrameSetup", ")", ";", "}", "for", "(", "const", "auto", "&", "Entry", ":", "CSI", ")", "{", "unsigned", "Reg", "=", "Entry", ".", "getReg", "(", ")", ";", "int", "FI", "=", "Entry", ".", "getFrameIdx", "(", ")", ";", "if", "(", "(", "hasFP", "(", "MF", ")", "&&", "Reg", "==", "", ")", "||", "(", "MFI", ".", "hasCalls", "(", ")", "&&", "Reg", "==", "", ")", ")", "continue", ";", "CFIIndex", "=", "MF", ".", "addFrameInst", "(", "MCCFIInstruction", "::", "createOffset", "(", "nullptr", ",", "MRI", "->", "getDwarfRegNum", "(", "Reg", ",", "true", ")", ",", "MFI", ".", "getObjectOffset", "(", "FI", ")", ")", ")", ";"], "ground_truth": ["BuildMI", "(", "MBB", ",", "MBBI", ",", "dl", ",", "TII", "->", "get", "(", "TargetOpcode", "::", "CFI_INSTRUCTION", ")", ")", ".", "addCFIIndex", "(", "CFIIndex", ")", ".", "setMIFlags", "(", "MachineInstr", "::", "FrameSetup", ")", ";"], "File": "ARCFrameLowering10", "Func": "emitPrologue", "Target": "ARC", "Target_Clf": "MPU", "Compiler_Type": "LLVM", "Idx": 192657, "Length": 306, "Cover_Rate": 0.32075471698113206} {"Template_token": ["", "void", "FrameLowering", "::", "processFunctionBeforeFrameFinalized", "(", "MachineFunction", "&", "MF", ",", "RegScavenger", "*", "RS", ")", "const", "{", "const", "TargetRegisterInfo", "*", "RegInfo", "=", "MF", ".", "getSubtarget", "(", ")", ".", "getRegisterInfo", "(", ")", ";", "DEBUG", "(", "dbgs", "(", ")", "<<", "", "<<", "MF", ".", "getName", "(", ")", "<<", "", ")", ";"], "ground_truth": ["MachineFrameInfo", "&", "MFI", "=", "MF", ".", "getFrameInfo", "(", ")", ";"], "File": "ARCFrameLowering10", "Func": "processFunctionBeforeFrameFinalized", "Target": "ARC", "Target_Clf": "MPU", "Compiler_Type": "LLVM", "Idx": 192658, "Length": 57, "Cover_Rate": 0.40425531914893614} {"Template_token": ["", "bool", "FrameLowering", "::", "restoreCalleeSavedRegisters", "(", "MachineBasicBlock", "&", "MBB", ",", "MachineBasicBlock", "::", "iterator", "MI", ",", "std", "::", "vector", "<", "CalleeSavedInfo", ">", "&", "CSI", ",", "const", "TargetRegisterInfo", "*", "TRI", ")", "const", "{", "DEBUG", "(", "dbgs", "(", ")", "<<", "", "<<", "MBB", ".", "getParent", "(", ")", "->", "getName", "(", ")", "<<", "", ")", ";"], "ground_truth": ["unsigned", "Last", "=", "determineLastCalleeSave", "(", "CSI", ")", ";"], "File": "ARCFrameLowering10", "Func": "restoreCalleeSavedRegisters", "Target": "ARC", "Target_Clf": "MPU", "Compiler_Type": "LLVM", "Idx": 192659, "Length": 59, "Cover_Rate": 0.7564102564102564} {"Template_token": ["", "bool", "FrameLowering", "::", "spillCalleeSavedRegisters", "(", "MachineBasicBlock", "&", "MBB", ",", "MachineBasicBlock", "::", "iterator", "MI", ",", "const", "std", "::", "vector", "<", "CalleeSavedInfo", ">", "&", "CSI", ",", "const", "TargetRegisterInfo", "*", "TRI", ")", "const", "{", "DEBUG", "(", "dbgs", "(", ")", "<<", "", "<<", "MBB", ".", "getParent", "(", ")", "->", "getName", "(", ")", "<<", "", ")", ";", "unsigned", "Last", "=", "determineLastCalleeSave", "(", "CSI", ")", ";"], "ground_truth": ["if", "(", "UseSaveRestoreFunclet", "&&", "Last", ">", "", ")", "{"], "File": "ARCFrameLowering10", "Func": "spillCalleeSavedRegisters", "Target": "ARC", "Target_Clf": "MPU", "Compiler_Type": "LLVM", "Idx": 192660, "Length": 69, "Cover_Rate": 0.8734177215189873} {"Template_token": ["", "unsigned", "Last", "=", "", ";", "for", "(", "auto", "Reg", ":", "CSI", ")", "{", "assert", "(", "Reg", ".", "getReg", "(", ")", ">=", "", "&&", "Reg", ".", "getReg", "(", ")", "<=", "", "&&", "", ")", ";", "if", "(", "Reg", ".", "getReg", "(", ")", ">", "Last", ")", "Last", "=", "Reg", ".", "getReg", "(", ")", ";", "}", "return", "Last", ";"], "ground_truth": ["}"], "File": "ARCFrameLowering12", "Func": "determineLastCalleeSave", "Target": "ARC", "Target_Clf": "MPU", "Compiler_Type": "LLVM", "Idx": 192661, "Length": 57, "Cover_Rate": 0.7916666666666666} {"Template_token": ["", "assert", "(", "Reg", ".", "getReg", "(", ")", ">=", "", "&&", "Reg", ".", "getReg", "(", ")", "<=", "", "&&", "", ")", ";", "if", "(", "Reg", ".", "getReg", "(", ")", ">", "Last", ")", "Last", "=", "Reg", ".", "getReg", "(", ")", ";", "}"], "ground_truth": ["return", "Last", ";"], "File": "ARCFrameLowering12", "Func": "determineLastCalleeSave", "Target": "ARC", "Target_Clf": "MPU", "Compiler_Type": "LLVM", "Idx": 192662, "Length": 43, "Cover_Rate": 0.5972222222222222} {"Template_token": ["", "AmountAboveFunclet", "+=", "", ";", "}", "const", "std", "::", "vector", "<", "CalleeSavedInfo", ">", "&", "CSI", "=", "MFI", ".", "getCalleeSavedInfo", "(", ")", ";", "unsigned", "Last", "=", "determineLastCalleeSave", "(", "CSI", ")", ";", "unsigned", "StackSlotsUsedByFunclet", "=", "", ";", "if", "(", "UseSaveRestoreFunclet", "&&", "Last", ">", "", ")", "{", "StackSlotsUsedByFunclet", "=", "Last", "-", "", ";", "AmountAboveFunclet", "+=", "", "*", "(", "StackSlotsUsedByFunclet", "+", "", ")", ";", "SavedBlink", "=", "true", ";", "}", "if", "(", "MFI", ".", "hasCalls", "(", ")", "&&", "!", "SavedBlink", ")", "{", "AmountAboveFunclet", "+=", "", ";", "SavedBlink", "=", "true", ";", "}", "if", "(", "unsigned", "MoveAmount", "=", "StackSize", "-", "AmountAboveFunclet", ")", "{", "unsigned", "Opc", "=", "", ";", "if", "(", "isUInt", "<", "", ">", "(", "MoveAmount", ")", ")", "Opc", "=", "", ";", "else", "if", "(", "isInt", "<", "", ">", "(", "MoveAmount", ")", ")", "Opc", "=", "", ";", "BuildMI", "(", "MBB", ",", "MBBI", ",", "MBB", ".", "findDebugLoc", "(", "MBBI", ")", ",", "TII", "->", "get", "(", "Opc", ")", ",", "", ")", ".", "addReg", "(", "", ")", ".", "addImm", "(", "StackSize", "-", "AmountAboveFunclet", ")", ";", "}", "if", "(", "StackSlotsUsedByFunclet", ")", "{", "BuildMI", "(", "MBB", ",", "MBBI", ",", "MBB", ".", "findDebugLoc", "(", "MBBI", ")", ",", "TII", "->", "get", "(", "", ")", ")", ".", "addExternalSymbol", "(", "load_funclet_name", "[", "Last", "-", "", "]", ")", ".", "addReg", "(", "", ",", "RegState", "::", "Implicit", "|", "RegState", "::", "Kill", ")", ";", "unsigned", "Opc", "=", "", ";"], "ground_truth": ["if", "(", "isUInt", "<", "", ">", "(", "", "*", "StackSlotsUsedByFunclet", ")", ")", "Opc", "=", "", ";"], "File": "ARCFrameLowering12", "Func": "emitEpilogue", "Target": "ARC", "Target_Clf": "MPU", "Compiler_Type": "LLVM", "Idx": 192663, "Length": 235, "Cover_Rate": 0.3333333333333333} {"Template_token": ["", "unsigned", "VarArgsBytes", "=", "MFI", ".", "getObjectSize", "(", "AFI", "->", "getVarArgsFrameIndex", "(", ")", ")", ";", "unsigned", "Opc", "=", "", ";", "if", "(", "isUInt", "<", "", ">", "(", "VarArgsBytes", ")", ")", "Opc", "=", "", ";", "else", "if", "(", "isInt", "<", "", ">", "(", "VarArgsBytes", ")", ")", "Opc", "=", "", ";", "BuildMI", "(", "MBB", ",", "MBBI", ",", "dl", ",", "TII", "->", "get", "(", "Opc", ")", ",", "", ")", ".", "addReg", "(", "", ")", ".", "addImm", "(", "VarArgsBytes", ")", ";", "}", "if", "(", "hasFP", "(", "MF", ")", ")", "{", "LLVM_DEBUG", "(", "dbgs", "(", ")", "<<", "", ")", ";", "BuildMI", "(", "MBB", ",", "MBBI", ",", "dl", ",", "TII", "->", "get", "(", "", ")", ")", ".", "addReg", "(", "", ",", "RegState", "::", "Define", ")", ".", "addReg", "(", "", ")", ".", "addReg", "(", "", ")", ".", "addImm", "(", "-", "", ")", ";", "AlreadyAdjusted", "+=", "", ";", "}", "if", "(", "UseSaveRestoreFunclet", "&&", "Last", ">", "", ")", "{", "LLVM_DEBUG", "(", "dbgs", "(", ")", "<<", "", ")", ";", "StackSlotsUsedByFunclet", "=", "Last", "-", "", ";", "BuildMI", "(", "MBB", ",", "MBBI", ",", "dl", ",", "TII", "->", "get", "(", "", ")", ")", ";", "BuildMI", "(", "MBB", ",", "MBBI", ",", "dl", ",", "TII", "->", "get", "(", "", ")", ")", ".", "addReg", "(", "", ")", ".", "addReg", "(", "", ")", ".", "addImm", "(", "", "*", "StackSlotsUsedByFunclet", ")", ";", "BuildMI", "(", "MBB", ",", "MBBI", ",", "dl", ",", "TII", "->", "get", "(", "", ")", ")", ".", "addExternalSymbol", "(", "store_funclet_name", "[", "Last", "-", "", "]", ")", ".", "addReg", "(", "", ",", "RegState", "::", "Implicit", "|", "RegState", "::", "Kill", ")", ";", "AlreadyAdjusted", "+=", "", "*", "(", "StackSlotsUsedByFunclet", "+", "", ")", ";", "SavedBlink", "=", "true", ";", "}", "if", "(", "MFI", ".", "hasCalls", "(", ")", "&&", "!", "SavedBlink", ")", "{", "LLVM_DEBUG", "(", "dbgs", "(", ")", "<<", "", ")", ";", "BuildMI", "(", "MBB", ",", "MBBI", ",", "dl", ",", "TII", "->", "get", "(", "", ")", ")", ";", "AlreadyAdjusted", "+=", "", ";", "}", "if", "(", "AFI", "->", "MaxCallStackReq", ">", "", ")", "MFI", ".", "setStackSize", "(", "MFI", ".", "getStackSize", "(", ")", "+", "AFI", "->", "MaxCallStackReq", ")", ";", "LLVM_DEBUG", "(", "dbgs", "(", ")", "<<", "", "<<", "(", "MFI", ".", "getStackSize", "(", ")", "-", "AlreadyAdjusted", ")", "<<", "", ")", ";", "generateStackAdjustment", "(", "MBB", ",", "MBBI", ",", "*", "ST", ".", "getInstrInfo", "(", ")", ",", "dl", ",", "-", "(", "MFI", ".", "getStackSize", "(", ")", "-", "AlreadyAdjusted", ")", ",", "", ")", ";", "if", "(", "hasFP", "(", "MF", ")", ")", "{", "LLVM_DEBUG", "(", "dbgs", "(", ")", "<<", "", ")", ";"], "ground_truth": ["BuildMI", "(", "MBB", ",", "MBBI", ",", "dl", ",", "TII", "->", "get", "(", "isUInt", "<", "", ">", "(", "MFI", ".", "getStackSize", "(", ")", ")", "?", "", ":", "", ")", ",", "", ")", ".", "addReg", "(", "", ")", ".", "addImm", "(", "MFI", ".", "getStackSize", "(", ")", ")", ";"], "File": "ARCFrameLowering12", "Func": "emitPrologue", "Target": "ARC", "Target_Clf": "MPU", "Compiler_Type": "LLVM", "Idx": 192664, "Length": 445, "Cover_Rate": 0.4499494438827098} {"Template_token": ["", "else", "Opc", "=", "IsAdd", "?", "", ":", "", ";"], "ground_truth": ["BuildMI", "(", "MBB", ",", "MBBI", ",", "dl", ",", "TII", "->", "get", "(", "Opc", ")", ",", "Reg", ")", ".", "addReg", "(", "Reg", ",", "RegState", "::", "Kill", ")", ".", "addImm", "(", "NumBytes", ")", ";"], "File": "ARCFrameLowering12", "Func": "emitRegUpdate", "Target": "ARC", "Target_Clf": "MPU", "Compiler_Type": "LLVM", "Idx": 192665, "Length": 41, "Cover_Rate": 0.3253968253968254} {"Template_token": ["", "unsigned", "AdjOp", ";", "if", "(", "!", "Amount", ")", "return", ";", "bool", "Positive", ";", "unsigned", "AbsAmount", ";", "if", "(", "Amount", "<", "", ")", "{", "AbsAmount", "=", "-", "Amount", ";", "Positive", "=", "false", ";", "}", "else", "{", "AbsAmount", "=", "Amount", ";", "Positive", "=", "true", ";", "}", "LLVM_DEBUG", "(", "dbgs", "(", ")", "<<", "", "<<", "Amount", "<<", "", "<<", "AbsAmount", "<<", "", ")", ";", "assert", "(", "(", "AbsAmount", "%", "", "==", "", ")", "&&", "", ")", ";", "if", "(", "isUInt", "<", "", ">", "(", "AbsAmount", ")", ")", "AdjOp", "=", "Positive", "?", "", ":", "", ";", "else", "if", "(", "isInt", "<", "", ">", "(", "AbsAmount", ")", ")", "AdjOp", "=", "Positive", "?", "", ":", "", ";", "else", "AdjOp", "=", "Positive", "?", "", ":", "", ";", "BuildMI", "(", "MBB", ",", "MBBI", ",", "dl", ",", "TII", ".", "get", "(", "AdjOp", ")", ",", "StackPtr", ")", ".", "addReg", "(", "StackPtr", ")", ".", "addImm", "(", "AbsAmount", ")", ";"], "ground_truth": ["}"], "File": "ARCFrameLowering12", "Func": "generateStackAdjustment", "Target": "ARC", "Target_Clf": "MPU", "Compiler_Type": "LLVM", "Idx": 192666, "Length": 149, "Cover_Rate": 0.7883597883597884} {"Template_token": ["", "static", "void", "generateStackAdjustment", "(", "MachineBasicBlock", "&", "MBB", ",", "MachineBasicBlock", "::", "iterator", "MBBI", ",", "const", "InstrInfo", "&", "TII", ",", "DebugLoc", "dl", ",", "int", "Amount", ",", "int", "StackPtr", ")", "{", "unsigned", "AdjOp", ";", "if", "(", "!", "Amount", ")", "return", ";", "bool", "Positive", ";", "unsigned", "AbsAmount", ";", "if", "(", "Amount", "<", "", ")", "{", "AbsAmount", "=", "-", "Amount", ";", "Positive", "=", "false", ";", "}", "else", "{", "AbsAmount", "=", "Amount", ";", "Positive", "=", "true", ";", "}", "LLVM_DEBUG", "(", "dbgs", "(", ")", "<<", "", "<<", "Amount", "<<", "", "<<", "AbsAmount", "<<", "", ")", ";"], "ground_truth": ["assert", "(", "(", "AbsAmount", "%", "", "==", "", ")", "&&", "", ")", ";"], "File": "ARCFrameLowering12", "Func": "generateStackAdjustment", "Target": "ARC", "Target_Clf": "MPU", "Compiler_Type": "LLVM", "Idx": 192667, "Length": 102, "Cover_Rate": 0.5396825396825397} {"Template_token": ["", "LLVM_DEBUG", "(", "dbgs", "(", ")", "<<", "", "<<", "MBB", ".", "getParent", "(", ")", "->", "getName", "(", ")", "<<", "", ")", ";", "unsigned", "Last", "=", "determineLastCalleeSave", "(", "CSI", ")", ";", "if", "(", "UseSaveRestoreFunclet", "&&", "Last", ">", "", ")", "{", "return", "true", ";", "}"], "ground_truth": ["return", "false", ";"], "File": "ARCFrameLowering12", "Func": "spillCalleeSavedRegisters", "Target": "ARC", "Target_Clf": "MPU", "Compiler_Type": "LLVM", "Idx": 192668, "Length": 45, "Cover_Rate": 0.6} {"Template_token": ["", "BuildMI", "(", "MBB", ",", "MBBI", ",", "dl", ",", "TII", "->", "get", "(", "", ")", ")", ";", "BuildMI", "(", "MBB", ",", "MBBI", ",", "dl", ",", "TII", "->", "get", "(", "", ")", ")", ".", "addReg", "(", "", ")", ".", "addReg", "(", "", ")", ".", "addImm", "(", "", "*", "StackSlotsUsedByFunclet", ")", ";", "BuildMI", "(", "MBB", ",", "MBBI", ",", "dl", ",", "TII", "->", "get", "(", "", ")", ")", ".", "addExternalSymbol", "(", "store_funclet_name", "[", "Last", "-", "", "]", ")", ".", "addReg", "(", "", ",", "RegState", "::", "Implicit", "|", "RegState", "::", "Kill", ")", ";", "AlreadyAdjusted", "+=", "", "*", "(", "StackSlotsUsedByFunclet", "+", "", ")", ";", "SavedBlink", "=", "true", ";", "}", "if", "(", "MFI", ".", "hasCalls", "(", ")", "&&", "!", "SavedBlink", ")", "{", "LLVM_DEBUG", "(", "dbgs", "(", ")", "<<", "", ")", ";", "BuildMI", "(", "MBB", ",", "MBBI", ",", "dl", ",", "TII", "->", "get", "(", "", ")", ")", ";", "AlreadyAdjusted", "+=", "", ";", "}", "if", "(", "AFI", "->", "MaxCallStackReq", ">", "", ")", "MFI", ".", "setStackSize", "(", "MFI", ".", "getStackSize", "(", ")", "+", "AFI", "->", "MaxCallStackReq", ")", ";", "LLVM_DEBUG", "(", "dbgs", "(", ")", "<<", "", "<<", "(", "MFI", ".", "getStackSize", "(", ")", "-", "AlreadyAdjusted", ")", "<<", "", ")", ";", "generateStackAdjustment", "(", "MBB", ",", "MBBI", ",", "*", "ST", ".", "getInstrInfo", "(", ")", ",", "dl", ",", "-", "(", "MFI", ".", "getStackSize", "(", ")", "-", "AlreadyAdjusted", ")", ",", "", ")", ";", "if", "(", "hasFP", "(", "MF", ")", ")", "{", "LLVM_DEBUG", "(", "dbgs", "(", ")", "<<", "", ")", ";", "BuildMI", "(", "MBB", ",", "MBBI", ",", "dl", ",", "TII", "->", "get", "(", "isUInt", "<", "", ">", "(", "MFI", ".", "getStackSize", "(", ")", ")", "?", "", ":", "", ")", ",", "", ")", ".", "addReg", "(", "", ")", ".", "addImm", "(", "MFI", ".", "getStackSize", "(", ")", ")", ";", "}", "unsigned", "CFIIndex", "=", "MF", ".", "addFrameInst", "(", "MCCFIInstruction", "::", "cfiDefCfaOffset", "(", "nullptr", ",", "MFI", ".", "getStackSize", "(", ")", ")", ")", ";", "BuildMI", "(", "MBB", ",", "MBBI", ",", "dl", ",", "TII", "->", "get", "(", "TargetOpcode", "::", "CFI_INSTRUCTION", ")", ")", ".", "addCFIIndex", "(", "CFIIndex", ")", ".", "setMIFlags", "(", "MachineInstr", "::", "FrameSetup", ")", ";", "int", "CurOffset", "=", "-", "", ";", "if", "(", "hasFP", "(", "MF", ")", ")", "{", "CFIIndex", "=", "MF", ".", "addFrameInst", "(", "MCCFIInstruction", "::", "createOffset", "(", "nullptr", ",", "MRI", "->", "getDwarfRegNum", "(", "", ",", "true", ")", ",", "CurOffset", ")", ")", ";", "BuildMI", "(", "MBB", ",", "MBBI", ",", "dl", ",", "TII", "->", "get", "(", "TargetOpcode", "::", "CFI_INSTRUCTION", ")", ")", ".", "addCFIIndex", "(", "CFIIndex", ")", ".", "setMIFlags", "(", "MachineInstr", "::", "FrameSetup", ")", ";", "CurOffset", "-=", "", ";", "}", "if", "(", "MFI", ".", "hasCalls", "(", ")", ")", "{", "CFIIndex", "=", "MF", ".", "addFrameInst", "(", "MCCFIInstruction", "::", "createOffset", "(", "nullptr", ",", "MRI", "->", "getDwarfRegNum", "(", "", ",", "true", ")", ",", "CurOffset", ")", ")", ";", "BuildMI", "(", "MBB", ",", "MBBI", ",", "dl", ",", "TII", "->", "get", "(", "TargetOpcode", "::", "CFI_INSTRUCTION", ")", ")", ".", "addCFIIndex", "(", "CFIIndex", ")", ".", "setMIFlags", "(", "MachineInstr", "::", "FrameSetup", ")", ";", "}", "for", "(", "const", "auto", "&", "Entry", ":", "CSI", ")", "{", "unsigned", "Reg", "=", "Entry", ".", "getReg", "(", ")", ";"], "ground_truth": ["int", "FI", "=", "Entry", ".", "getFrameIdx", "(", ")", ";"], "File": "ARCFrameLowering13", "Func": "emitPrologue", "Target": "ARC", "Target_Clf": "MPU", "Compiler_Type": "LLVM", "Idx": 192669, "Length": 500, "Cover_Rate": 0.5060728744939271} {"Template_token": ["", "const", "TargetRegisterClass", "*", "RC", "=", "&", "", ";", "if", "(", "MFI", ".", "hasStackObjects", "(", ")", ")", "{", "int", "RegScavFI", "=", "MFI", ".", "CreateStackObject", "(", "RegInfo", "->", "getSpillSize", "(", "*", "RC", ")", ",", "RegInfo", "->", "getSpillAlign", "(", "*", "RC", ")", ",", "false", ")", ";", "RS", "->", "addScavengingFrameIndex", "(", "RegScavFI", ")", ";", "LLVM_DEBUG", "(", "dbgs", "(", ")", "<<", "", "<<", "RegScavFI", "<<", "", ")", ";", "}"], "ground_truth": ["}"], "File": "ARCFrameLowering13", "Func": "processFunctionBeforeFrameFinalized", "Target": "ARC", "Target_Clf": "MPU", "Compiler_Type": "LLVM", "Idx": 192670, "Length": 65, "Cover_Rate": 0.46099290780141844} {"Template_token": ["", "LLVM_DEBUG", "(", "dbgs", "(", ")", "<<", "", "<<", "MFI", ".", "getStackSize", "(", ")", "<<", "", ")", ";", "const", "TargetRegisterClass", "*", "RC", "=", "&", "", ";", "if", "(", "MFI", ".", "hasStackObjects", "(", ")", ")", "{", "int", "RegScavFI", "=", "MFI", ".", "CreateStackObject", "(", "RegInfo", "->", "getSpillSize", "(", "*", "RC", ")", ",", "RegInfo", "->", "getSpillAlign", "(", "*", "RC", ")", ",", "false", ")", ";", "RS", "->", "addScavengingFrameIndex", "(", "RegScavFI", ")", ";", "LLVM_DEBUG", "(", "dbgs", "(", ")", "<<", "", "<<", "RegScavFI", "<<", "", ")", ";", "}"], "ground_truth": ["}"], "File": "ARCFrameLowering13", "Func": "processFunctionBeforeFrameFinalized", "Target": "ARC", "Target_Clf": "MPU", "Compiler_Type": "LLVM", "Idx": 192671, "Length": 82, "Cover_Rate": 0.5815602836879432} {"Template_token": ["", "LLVM_DEBUG", "(", "dbgs", "(", ")", "<<", "", "<<", "MBB", ".", "getParent", "(", ")", "->", "getName", "(", ")", "<<", "", ")", ";", "unsigned", "Last", "=", "determineLastCalleeSave", "(", "CSI", ")", ";", "if", "(", "UseSaveRestoreFunclet", "&&", "Last", ">", "", ")", "{"], "ground_truth": ["return", "true", ";"], "File": "ARCFrameLowering13", "Func": "restoreCalleeSavedRegisters", "Target": "ARC", "Target_Clf": "MPU", "Compiler_Type": "LLVM", "Idx": 192672, "Length": 41, "Cover_Rate": 0.5466666666666666} {"Template_token": ["", "FrameLowering", "(", "const", "Subtarget", "&", "st", ")", ":", "TargetFrameLowering", "(", "TargetFrameLowering", "::", "StackGrowsDown", ",", "Align", "(", "", ")", ",", "", ")", ",", "ST", "(", "st", ")", "{"], "ground_truth": ["}"], "File": "ARCFrameLowering1", "Func": "ARCFrameLowering", "Target": "ARC", "Target_Clf": "MPU", "Compiler_Type": "LLVM", "Idx": 192673, "Length": 28, "Cover_Rate": 1.0} {"Template_token": ["", "FrameLowering", "(", "const", "Subtarget", "&", "st", ")", ":", "TargetFrameLowering", "(", "TargetFrameLowering", "::", "StackGrowsDown", ",", "Align", "(", "", ")", ",", "", ")", ",", "ST", "(", "st", ")", "{"], "ground_truth": ["}"], "File": "ARCFrameLowering1", "Func": "ARCFrameLowering", "Target": "ARC", "Target_Clf": "MPU", "Compiler_Type": "LLVM", "Idx": 192674, "Length": 28, "Cover_Rate": 1.0} {"Template_token": ["", "}", "if", "(", "MFI", ".", "hasCalls", "(", ")", "||", "(", "UseSaveRestoreFunclet", "&&", "Last", ">", "", ")", ")", "{", "int", "StackObj", "=", "MFI", ".", "CreateFixedSpillStackObject", "(", "", ",", "CurOffset", ",", "true", ")", ";", "DEBUG", "(", "dbgs", "(", ")", "<<", "", "<<", "StackObj", "<<", "", "<<", "CurOffset", "<<", "", ")", ";", "(", "void", ")", "StackObj", ";", "CurOffset", "-=", "", ";", "}", "for", "(", "unsigned", "Which", "=", "Last", ";", "Which", ">", "", ";", "Which", "--", ")", "{", "auto", "RegI", "=", "getSavedReg", "(", "CSI", ",", "Which", ")", ";", "if", "(", "RegI", "==", "CSI", ".", "end", "(", ")", "||", "RegI", "->", "getFrameIdx", "(", ")", "==", "", ")", "{", "int", "FI", "=", "MFI", ".", "CreateFixedSpillStackObject", "(", "", ",", "CurOffset", ",", "true", ")", ";", "if", "(", "RegI", "!=", "CSI", ".", "end", "(", ")", ")", "RegI", "->", "setFrameIdx", "(", "FI", ")", ";", "}", "else", "MFI", ".", "setObjectOffset", "(", "RegI", "->", "getFrameIdx", "(", ")", ",", "CurOffset", ")", ";", "CurOffset", "-=", "", ";", "}", "for", "(", "auto", "&", "I", ":", "CSI", ")", "{", "if", "(", "I", ".", "getReg", "(", ")", ">", "", ")", "continue", ";", "if", "(", "I", ".", "getFrameIdx", "(", ")", "==", "", ")", "{", "I", ".", "setFrameIdx", "(", "MFI", ".", "CreateFixedSpillStackObject", "(", "", ",", "CurOffset", ",", "true", ")", ")", ";", "DEBUG", "(", "dbgs", "(", ")", "<<", "", "<<", "I", ".", "getFrameIdx", "(", ")", "<<", "", "<<", "CurOffset", "<<", "", ")", ";", "}", "else", "{", "MFI", ".", "setObjectOffset", "(", "I", ".", "getFrameIdx", "(", ")", ",", "CurOffset", ")", ";", "DEBUG", "(", "dbgs", "(", ")", "<<", "", "<<", "I", ".", "getFrameIdx", "(", ")", "<<", "", "<<", "CurOffset", "<<", "", ")", ";", "}", "CurOffset", "-=", "", ";", "}"], "ground_truth": ["return", "true", ";"], "File": "ARCFrameLowering1", "Func": "assignCalleeSavedSpillSlots", "Target": "ARC", "Target_Clf": "MPU", "Compiler_Type": "LLVM", "Idx": 192675, "Length": 269, "Cover_Rate": 0.7211796246648794} {"Template_token": ["", "TargetFrameLowering", "::", "determineCalleeSaves", "(", "MF", ",", "SavedRegs", ",", "RS", ")", ";", "SavedRegs", ".", "set", "(", "", ")", ";"], "ground_truth": ["}"], "File": "ARCFrameLowering1", "Func": "determineCalleeSaves", "Target": "ARC", "Target_Clf": "MPU", "Compiler_Type": "LLVM", "Idx": 192676, "Length": 19, "Cover_Rate": 0.3114754098360656} {"Template_token": ["", "}", "else", "{", "if", "(", "Amt", "!=", "", ")", "{", "assert", "(", "(", "Old", ".", "getOpcode", "(", ")", "==", "", "||", "Old", ".", "getOpcode", "(", ")", "==", "", ")", "&&", "", ")", ";", "bool", "IsAdd", "=", "(", "Old", ".", "getOpcode", "(", ")", "==", "", ")", ";", "emitRegUpdate", "(", "MBB", ",", "I", ",", "dl", ",", "", ",", "Amt", ",", "IsAdd", ",", "TII", ")", ";", "}", "}", "return", "MBB", ".", "erase", "(", "I", ")", ";"], "ground_truth": ["}"], "File": "ARCFrameLowering1", "Func": "eliminateCallFramePseudoInstr", "Target": "ARC", "Target_Clf": "MPU", "Compiler_Type": "LLVM", "Idx": 192677, "Length": 74, "Cover_Rate": 0.3378995433789954} {"Template_token": ["", "if", "(", "hasFP", "(", "MF", ")", ")", "{", "BuildMI", "(", "MBB", ",", "MBBI", ",", "DebugLoc", "(", ")", ",", "TII", "->", "get", "(", "", ")", ",", "", ")", ".", "addReg", "(", "", ")", ".", "addImm", "(", "StackSize", ")", ";", "AmountAboveFunclet", "+=", "", ";", "}", "const", "std", "::", "vector", "<", "CalleeSavedInfo", ">", "&", "CSI", "=", "MFI", ".", "getCalleeSavedInfo", "(", ")", ";", "unsigned", "Last", "=", "determineLastCalleeSave", "(", "CSI", ")", ";", "unsigned", "StackSlotsUsedByFunclet", "=", "", ";", "if", "(", "UseSaveRestoreFunclet", "&&", "Last", ">", "", ")", "{", "StackSlotsUsedByFunclet", "=", "Last", "-", "", ";", "AmountAboveFunclet", "+=", "", "*", "(", "StackSlotsUsedByFunclet", "+", "", ")", ";", "SavedBlink", "=", "true", ";", "}", "if", "(", "MFI", ".", "hasCalls", "(", ")", "&&", "!", "SavedBlink", ")", "{", "AmountAboveFunclet", "+=", "", ";", "SavedBlink", "=", "true", ";", "}", "if", "(", "StackSize", "-", "AmountAboveFunclet", ")", "{", "BuildMI", "(", "MBB", ",", "MBBI", ",", "MBB", ".", "findDebugLoc", "(", "MBBI", ")", ",", "TII", "->", "get", "(", "", ")", ")", ".", "addReg", "(", "", ")", ".", "addReg", "(", "", ")", ".", "addImm", "(", "StackSize", "-", "AmountAboveFunclet", ")", ";", "}", "if", "(", "StackSlotsUsedByFunclet", ")", "{", "BuildMI", "(", "MBB", ",", "MBBI", ",", "MBB", ".", "findDebugLoc", "(", "MBBI", ")", ",", "TII", "->", "get", "(", "", ")", ")", ".", "addExternalSymbol", "(", "load_funclet_name", "[", "Last", "-", "", "]", ")", ".", "addReg", "(", "", ",", "RegState", "::", "Implicit", "|", "RegState", "::", "Kill", ")", ";", "BuildMI", "(", "MBB", ",", "MBBI", ",", "MBB", ".", "findDebugLoc", "(", "MBBI", ")", ",", "TII", "->", "get", "(", "", ")", ")", ".", "addReg", "(", "", ")", ".", "addReg", "(", "", ")", ".", "addImm", "(", "", "*", "(", "StackSlotsUsedByFunclet", ")", ")", ";", "}", "if", "(", "SavedBlink", ")", "{", "BuildMI", "(", "MBB", ",", "MBBI", ",", "MBB", ".", "findDebugLoc", "(", "MBBI", ")", ",", "TII", "->", "get", "(", "", ")", ")", ";", "}", "if", "(", "hasFP", "(", "MF", ")", ")", "{"], "ground_truth": ["BuildMI", "(", "MBB", ",", "MBBI", ",", "MBB", ".", "findDebugLoc", "(", "MBBI", ")", ",", "TII", "->", "get", "(", "", ")", ")", ".", "addReg", "(", "", ",", "RegState", "::", "Define", ")", ".", "addReg", "(", "", ",", "RegState", "::", "Define", ")", ".", "addReg", "(", "", ")", ".", "addImm", "(", "", ")", ";"], "File": "ARCFrameLowering1", "Func": "emitEpilogue", "Target": "ARC", "Target_Clf": "MPU", "Compiler_Type": "LLVM", "Idx": 192678, "Length": 343, "Cover_Rate": 0.5986038394415357} {"Template_token": ["", "const", "std", "::", "vector", "<", "CalleeSavedInfo", ">", "&", "CSI", "=", "MFI", ".", "getCalleeSavedInfo", "(", ")", ";", "unsigned", "Last", "=", "determineLastCalleeSave", "(", "CSI", ")", ";", "unsigned", "StackSlotsUsedByFunclet", "=", "", ";", "if", "(", "UseSaveRestoreFunclet", "&&", "Last", ">", "", ")", "{", "StackSlotsUsedByFunclet", "=", "Last", "-", "", ";", "AmountAboveFunclet", "+=", "", "*", "(", "StackSlotsUsedByFunclet", "+", "", ")", ";", "SavedBlink", "=", "true", ";", "}", "if", "(", "MFI", ".", "hasCalls", "(", ")", "&&", "!", "SavedBlink", ")", "{", "AmountAboveFunclet", "+=", "", ";", "SavedBlink", "=", "true", ";", "}", "if", "(", "StackSize", "-", "AmountAboveFunclet", ")", "{", "BuildMI", "(", "MBB", ",", "MBBI", ",", "MBB", ".", "findDebugLoc", "(", "MBBI", ")", ",", "TII", "->", "get", "(", "", ")", ")", ".", "addReg", "(", "", ")", ".", "addReg", "(", "", ")", ".", "addImm", "(", "StackSize", "-", "AmountAboveFunclet", ")", ";", "}", "if", "(", "StackSlotsUsedByFunclet", ")", "{"], "ground_truth": ["BuildMI", "(", "MBB", ",", "MBBI", ",", "MBB", ".", "findDebugLoc", "(", "MBBI", ")", ",", "TII", "->", "get", "(", "", ")", ")", ".", "addExternalSymbol", "(", "load_funclet_name", "[", "Last", "-", "", "]", ")", ".", "addReg", "(", "", ",", "RegState", "::", "Implicit", "|", "RegState", "::", "Kill", ")", ";"], "File": "ARCFrameLowering1", "Func": "emitEpilogue", "Target": "ARC", "Target_Clf": "MPU", "Compiler_Type": "LLVM", "Idx": 192679, "Length": 175, "Cover_Rate": 0.3054101221640489} {"Template_token": ["", "DEBUG", "(", "dbgs", "(", ")", "<<", "", "<<", "Amount", "<<", "", "<<", "AbsAmount", "<<", "", ")", ";", "assert", "(", "(", "AbsAmount", "%", "", "==", "", ")", "&&", "", ")", ";", "if", "(", "isUInt", "<", "", ">", "(", "AbsAmount", ")", ")", "AdjOp", "=", "Positive", "?", "", ":", "", ";"], "ground_truth": ["else", "AdjOp", "=", "Positive", "?", "", ":", "", ";"], "File": "ARCFrameLowering1", "Func": "generateStackAdjustment", "Target": "ARC", "Target_Clf": "MPU", "Compiler_Type": "LLVM", "Idx": 192681, "Length": 57, "Cover_Rate": 0.3433734939759036} {"Template_token": ["", "static", "void", "generateStackAdjustment", "(", "MachineBasicBlock", "&", "MBB", ",", "MachineBasicBlock", "::", "iterator", "MBBI", ",", "const", "InstrInfo", "&", "TII", ",", "DebugLoc", "dl", ",", "int", "Amount", ",", "int", "StackPtr", ")", "{", "unsigned", "AdjOp", ";", "if", "(", "!", "Amount", ")", "return", ";", "bool", "Positive", ";", "unsigned", "AbsAmount", ";", "if", "(", "Amount", "<", "", ")", "{", "AbsAmount", "=", "-", "Amount", ";", "Positive", "=", "false", ";", "}", "else", "{"], "ground_truth": ["AbsAmount", "=", "Amount", ";"], "File": "ARCFrameLowering1", "Func": "generateStackAdjustment", "Target": "ARC", "Target_Clf": "MPU", "Compiler_Type": "LLVM", "Idx": 192682, "Length": 67, "Cover_Rate": 0.4036144578313253} {"Template_token": ["", "DEBUG", "(", "dbgs", "(", ")", "<<", "", "<<", "MF", ".", "getFunction", "(", ")", "->", "getName", "(", ")", "<<", "", ")", ";", "MachineFrameInfo", "&", "MFI", "=", "MF", ".", "getFrameInfo", "(", ")", ";", "DEBUG", "(", "dbgs", "(", ")", "<<", "", "<<", "MFI", ".", "getStackSize", "(", ")", "<<", "", ")", ";", "const", "TargetRegisterClass", "*", "RC", "=", "&", "", ";", "if", "(", "MFI", ".", "hasStackObjects", "(", ")", ")", "{", "int", "RegScavFI", "=", "MFI", ".", "CreateStackObject", "(", "RegInfo", "->", "getSpillSize", "(", "*", "RC", ")", ",", "RegInfo", "->", "getSpillAlignment", "(", "*", "RC", ")", ",", "false", ")", ";"], "ground_truth": ["RS", "->", "addScavengingFrameIndex", "(", "RegScavFI", ")", ";"], "File": "ARCFrameLowering1", "Func": "processFunctionBeforeFrameFinalized", "Target": "ARC", "Target_Clf": "MPU", "Compiler_Type": "LLVM", "Idx": 192683, "Length": 98, "Cover_Rate": 0.6758620689655173} {"Template_token": ["", "DEBUG", "(", "dbgs", "(", ")", "<<", "", "<<", "MFI", ".", "getStackSize", "(", ")", "<<", "", ")", ";", "const", "TargetRegisterClass", "*", "RC", "=", "&", "", ";", "if", "(", "MFI", ".", "hasStackObjects", "(", ")", ")", "{", "int", "RegScavFI", "=", "MFI", ".", "CreateStackObject", "(", "RegInfo", "->", "getSpillSize", "(", "*", "RC", ")", ",", "RegInfo", "->", "getSpillAlignment", "(", "*", "RC", ")", ",", "false", ")", ";", "RS", "->", "addScavengingFrameIndex", "(", "RegScavFI", ")", ";", "DEBUG", "(", "dbgs", "(", ")", "<<", "", "<<", "RegScavFI", "<<", "", ")", ";"], "ground_truth": ["}"], "File": "ARCFrameLowering1", "Func": "processFunctionBeforeFrameFinalized", "Target": "ARC", "Target_Clf": "MPU", "Compiler_Type": "LLVM", "Idx": 192684, "Length": 81, "Cover_Rate": 0.5586206896551724} {"Template_token": ["", "DEBUG", "(", "dbgs", "(", ")", "<<", "", "<<", "MBB", ".", "getParent", "(", ")", "->", "getFunction", "(", ")", "->", "getName", "(", ")", "<<", "", ")", ";", "unsigned", "Last", "=", "determineLastCalleeSave", "(", "CSI", ")", ";", "if", "(", "UseSaveRestoreFunclet", "&&", "Last", ">", "", ")", "{", "return", "true", ";", "}"], "ground_truth": ["return", "false", ";"], "File": "ARCFrameLowering1", "Func": "restoreCalleeSavedRegisters", "Target": "ARC", "Target_Clf": "MPU", "Compiler_Type": "LLVM", "Idx": 192686, "Length": 49, "Cover_Rate": 0.5975609756097561} {"Template_token": ["", "bool", "FrameLowering", "::", "spillCalleeSavedRegisters", "(", "MachineBasicBlock", "&", "MBB", ",", "MachineBasicBlock", "::", "iterator", "MI", ",", "const", "std", "::", "vector", "<", "CalleeSavedInfo", ">", "&", "CSI", ",", "const", "TargetRegisterInfo", "*", "TRI", ")", "const", "{", "DEBUG", "(", "dbgs", "(", ")", "<<", "", "<<", "MBB", ".", "getParent", "(", ")", "->", "getFunction", "(", ")", "->", "getName", "(", ")", "<<", "", ")", ";", "unsigned", "Last", "=", "determineLastCalleeSave", "(", "CSI", ")", ";", "if", "(", "UseSaveRestoreFunclet", "&&", "Last", ">", "", ")", "{", "return", "true", ";", "}"], "ground_truth": ["return", "false", ";"], "File": "ARCFrameLowering1", "Func": "spillCalleeSavedRegisters", "Target": "ARC", "Target_Clf": "MPU", "Compiler_Type": "LLVM", "Idx": 192687, "Length": 80, "Cover_Rate": 0.963855421686747} {"Template_token": ["", "const", "TargetRegisterInfo", "*", "RegInfo", "=", "MF", ".", "getSubtarget", "(", ")", ".", "getRegisterInfo", "(", ")", ";", "bool", "HasFP", "=", "MF", ".", "getTarget", "(", ")", ".", "Options", ".", "DisableFramePointerElim", "(", "MF", ")", "||", "MF", ".", "getFrameInfo", "(", ")", ".", "hasVarSizedObjects", "(", ")", "||", "MF", ".", "getFrameInfo", "(", ")", ".", "isFrameAddressTaken", "(", ")", "||", "RegInfo", "->", "hasStackRealignment", "(", "MF", ")", ";"], "ground_truth": ["return", "HasFP", ";"], "File": "ARCFrameLowering3", "Func": "hasFP", "Target": "ARC", "Target_Clf": "MPU", "Compiler_Type": "LLVM", "Idx": 192688, "Length": 61, "Cover_Rate": 0.8243243243243243} {"Template_token": ["", "bool", "HasFP", "=", "MF", ".", "getTarget", "(", ")", ".", "Options", ".", "DisableFramePointerElim", "(", "MF", ")", "||", "MF", ".", "getFrameInfo", "(", ")", ".", "hasVarSizedObjects", "(", ")", "||", "MF", ".", "getFrameInfo", "(", ")", ".", "isFrameAddressTaken", "(", ")", "||", "RegInfo", "->", "hasStackRealignment", "(", "MF", ")", ";", "return", "HasFP", ";"], "ground_truth": ["}"], "File": "ARCFrameLowering3", "Func": "hasFP", "Target": "ARC", "Target_Clf": "MPU", "Compiler_Type": "LLVM", "Idx": 192689, "Length": 47, "Cover_Rate": 0.6351351351351351} {"Template_token": ["", "ScalarAlloc", "=", "-", "ScalarAlloc", ";", "}", "generateStackAdjustment", "(", "MBB", ",", "MBBI", ",", "*", "ST", ".", "getInstrInfo", "(", ")", ",", "DebugLoc", "(", ")", ",", "ScalarAlloc", ",", "", ")", ";"], "ground_truth": ["}"], "File": "ARCFrameLowering", "Func": "adjustStackToMatchRecords", "Target": "ARC", "Target_Clf": "MPU", "Compiler_Type": "LLVM", "Idx": 192690, "Length": 29, "Cover_Rate": 0.3670886075949367} {"Template_token": ["", "void", "FrameLowering", "::", "adjustStackToMatchRecords", "(", "MachineBasicBlock", "&", "MBB", ",", "MachineBasicBlock", "::", "iterator", "MBBI", ",", "bool", "Allocate", ")", "const", "{", "MachineFunction", "&", "MF", "=", "*", "MBB", ".", "getParent", "(", ")", ";", "int", "ScalarAlloc", "=", "MF", ".", "getFrameInfo", "(", ")", ".", "getStackSize", "(", ")", ";"], "ground_truth": ["if", "(", "Allocate", ")", "{"], "File": "ARCFrameLowering", "Func": "adjustStackToMatchRecords", "Target": "ARC", "Target_Clf": "MPU", "Compiler_Type": "LLVM", "Idx": 192691, "Length": 48, "Cover_Rate": 0.6075949367088608} {"Template_token": ["", "FrameLowering", "(", "const", "Subtarget", "&", "st", ")", ":", "TargetFrameLowering", "(", "TargetFrameLowering", "::", "StackGrowsDown", ",", "", ",", "", ")", ",", "ST", "(", "st", ")", "{"], "ground_truth": ["}"], "File": "ARCFrameLowering", "Func": "ARCFrameLowering", "Target": "ARC", "Target_Clf": "MPU", "Compiler_Type": "LLVM", "Idx": 192692, "Length": 25, "Cover_Rate": 1.0} {"Template_token": ["", "FrameLowering", "(", "const", "Subtarget", "&", "st", ")", ":", "TargetFrameLowering", "(", "TargetFrameLowering", "::", "StackGrowsDown", ",", "", ",", "", ")", ",", "ST", "(", "st", ")", "{"], "ground_truth": ["}"], "File": "ARCFrameLowering", "Func": "ARCFrameLowering", "Target": "ARC", "Target_Clf": "MPU", "Compiler_Type": "LLVM", "Idx": 192693, "Length": 25, "Cover_Rate": 1.0} {"Template_token": ["", "auto", "RegI", "=", "getSavedReg", "(", "CSI", ",", "Which", ")", ";", "if", "(", "RegI", "==", "CSI", ".", "end", "(", ")", "||", "RegI", "->", "getFrameIdx", "(", ")", "==", "", ")", "{", "int", "FI", "=", "MFI", ".", "CreateFixedSpillStackObject", "(", "", ",", "CurOffset", ",", "true", ")", ";", "if", "(", "RegI", "!=", "CSI", ".", "end", "(", ")", ")", "RegI", "->", "setFrameIdx", "(", "FI", ")", ";", "}", "else", "MFI", ".", "setObjectOffset", "(", "RegI", "->", "getFrameIdx", "(", ")", ",", "CurOffset", ")", ";", "CurOffset", "-=", "", ";", "}", "for", "(", "auto", "&", "I", ":", "CSI", ")", "{", "if", "(", "I", ".", "getReg", "(", ")", ">", "", ")", "continue", ";", "if", "(", "I", ".", "getFrameIdx", "(", ")", "==", "", ")", "{"], "ground_truth": ["I", ".", "setFrameIdx", "(", "MFI", ".", "CreateFixedSpillStackObject", "(", "", ",", "CurOffset", ",", "true", ")", ")", ";"], "File": "ARCFrameLowering", "Func": "assignCalleeSavedSpillSlots", "Target": "ARC", "Target_Clf": "MPU", "Compiler_Type": "LLVM", "Idx": 192694, "Length": 128, "Cover_Rate": 0.34316353887399464} {"Template_token": ["", "LLVM_DEBUG", "(", "dbgs", "(", ")", "<<", "", "<<", "MF", ".", "getName", "(", ")", "<<", "", ")", ";", "TargetFrameLowering", "::", "determineCalleeSaves", "(", "MF", ",", "SavedRegs", ",", "RS", ")", ";"], "ground_truth": ["SavedRegs", ".", "set", "(", "", ")", ";"], "File": "ARCFrameLowering", "Func": "determineCalleeSaves", "Target": "ARC", "Target_Clf": "MPU", "Compiler_Type": "LLVM", "Idx": 192695, "Length": 35, "Cover_Rate": 0.6140350877192983} {"Template_token": ["", "void", "FrameLowering", "::", "determineCalleeSaves", "(", "MachineFunction", "&", "MF", ",", "BitVector", "&", "SavedRegs", ",", "RegScavenger", "*", "RS", ")", "const", "{", "LLVM_DEBUG", "(", "dbgs", "(", ")", "<<", "", "<<", "MF", ".", "getName", "(", ")", "<<", "", ")", ";", "TargetFrameLowering", "::", "determineCalleeSaves", "(", "MF", ",", "SavedRegs", ",", "RS", ")", ";", "SavedRegs", ".", "set", "(", "", ")", ";"], "ground_truth": ["}"], "File": "ARCFrameLowering", "Func": "determineCalleeSaves", "Target": "ARC", "Target_Clf": "MPU", "Compiler_Type": "LLVM", "Idx": 192696, "Length": 55, "Cover_Rate": 0.9649122807017544} {"Template_token": ["", "assert", "(", "Reg", ".", "getReg", "(", ")", ">=", "", "&&", "Reg", ".", "getReg", "(", ")", "<=", "", "&&", "", ")", ";", "if", "(", "Reg", ".", "getReg", "(", ")", ">", "Last", ")", "Last", "=", "Reg", ".", "getReg", "(", ")", ";"], "ground_truth": ["}"], "File": "ARCFrameLowering", "Func": "determineLastCalleeSave", "Target": "ARC", "Target_Clf": "MPU", "Compiler_Type": "LLVM", "Idx": 192697, "Length": 40, "Cover_Rate": 0.5263157894736842} {"Template_token": ["", "if", "(", "Reg", ".", "getReg", "(", ")", ">", "Last", ")", "Last", "=", "Reg", ".", "getReg", "(", ")", ";", "}", "return", "Last", ";"], "ground_truth": ["}"], "File": "ARCFrameLowering", "Func": "determineLastCalleeSave", "Target": "ARC", "Target_Clf": "MPU", "Compiler_Type": "LLVM", "Idx": 192698, "Length": 23, "Cover_Rate": 0.3026315789473684} {"Template_token": ["", "auto", "*", "AFI", "=", "MF", ".", "getInfo", "<", "FunctionInfo", ">", "(", ")", ";", "if", "(", "!", "hasFP", "(", "MF", ")", ")", "{", "if", "(", "Amt", ">", "AFI", "->", "MaxCallStackReq", "&&", "Old", ".", "getOpcode", "(", ")", "==", "", ")", "AFI", "->", "MaxCallStackReq", "=", "Amt", ";", "}", "else", "{", "if", "(", "Amt", "!=", "", ")", "{", "assert", "(", "(", "Old", ".", "getOpcode", "(", ")", "==", "", "||", "Old", ".", "getOpcode", "(", ")", "==", "", ")", "&&", "", ")", ";", "bool", "IsAdd", "=", "(", "Old", ".", "getOpcode", "(", ")", "==", "", ")", ";", "emitRegUpdate", "(", "MBB", ",", "I", ",", "dl", ",", "", ",", "Amt", ",", "IsAdd", ",", "TII", ")", ";", "}"], "ground_truth": ["}"], "File": "ARCFrameLowering", "Func": "eliminateCallFramePseudoInstr", "Target": "ARC", "Target_Clf": "MPU", "Compiler_Type": "LLVM", "Idx": 192699, "Length": 109, "Cover_Rate": 0.5069767441860465} {"Template_token": ["", "static", "void", "emitRegUpdate", "(", "MachineBasicBlock", "&", "MBB", ",", "MachineBasicBlock", "::", "iterator", "&", "MBBI", ",", "DebugLoc", "dl", ",", "unsigned", "Reg", ",", "int", "NumBytes", ",", "bool", "IsAdd", ",", "const", "InstrInfo", "*", "TII", ")", "{", "unsigned", "Opc", "=", "IsAdd", "?", "", ":", "", ";", "BuildMI", "(", "MBB", ",", "MBBI", ",", "dl", ",", "TII", "->", "get", "(", "Opc", ")", ",", "Reg", ")", ".", "addReg", "(", "Reg", ",", "RegState", "::", "Kill", ")", ".", "addImm", "(", "NumBytes", ")", ";"], "ground_truth": ["}"], "File": "ARCFrameLowering", "Func": "emitRegUpdate", "Target": "ARC", "Target_Clf": "MPU", "Compiler_Type": "LLVM", "Idx": 192701, "Length": 74, "Cover_Rate": 0.9487179487179487} {"Template_token": ["", "AbsAmount", "=", "Amount", ";", "Positive", "=", "true", ";", "}", "LLVM_DEBUG", "(", "dbgs", "(", ")", "<<", "", "<<", "Amount", "<<", "", "<<", "AbsAmount", "<<", "", ")", ";", "assert", "(", "(", "AbsAmount", "%", "", "==", "", ")", "&&", "", ")", ";"], "ground_truth": ["if", "(", "isUInt", "<", "", ">", "(", "AbsAmount", ")", ")", "AdjOp", "=", "Positive", "?", "", ":", "", ";"], "File": "ARCFrameLowering", "Func": "generateStackAdjustment", "Target": "ARC", "Target_Clf": "MPU", "Compiler_Type": "LLVM", "Idx": 192702, "Length": 57, "Cover_Rate": 0.3433734939759036} {"Template_token": ["", "static", "std", "::", "vector", "<", "CalleeSavedInfo", ">", "::", "iterator", "getSavedReg", "(", "std", "::", "vector", "<", "CalleeSavedInfo", ">", "&", "V", ",", "unsigned", "reg", ")", "{"], "ground_truth": ["for", "(", "auto", "I", "=", "V", ".", "begin", "(", ")", ",", "E", "=", "V", ".", "end", "(", ")", ";", "I", "!=", "E", ";", "++", "I", ")", "{"], "File": "ARCFrameLowering", "Func": "getSavedReg", "Target": "ARC", "Target_Clf": "MPU", "Compiler_Type": "LLVM", "Idx": 192703, "Length": 51, "Cover_Rate": 0.6986301369863014} {"Template_token": ["", "for", "(", "auto", "I", "=", "V", ".", "begin", "(", ")", ",", "E", "=", "V", ".", "end", "(", ")", ";", "I", "!=", "E", ";", "++", "I", ")", "{", "if", "(", "reg", "==", "I", "->", "getReg", "(", ")", ")", "return", "I", ";", "}"], "ground_truth": ["return", "V", ".", "end", "(", ")", ";"], "File": "ARCFrameLowering", "Func": "getSavedReg", "Target": "ARC", "Target_Clf": "MPU", "Compiler_Type": "LLVM", "Idx": 192704, "Length": 48, "Cover_Rate": 0.6575342465753424} {"Template_token": ["", "bool", "HasFP", "=", "MF", ".", "getTarget", "(", ")", ".", "Options", ".", "DisableFramePointerElim", "(", "MF", ")", "||", "MF", ".", "getFrameInfo", "(", ")", ".", "hasVarSizedObjects", "(", ")", "||", "MF", ".", "getFrameInfo", "(", ")", ".", "isFrameAddressTaken", "(", ")", "||", "RegInfo", "->", "needsStackRealignment", "(", "MF", ")", ";", "return", "HasFP", ";"], "ground_truth": ["}"], "File": "ARCFrameLowering", "Func": "hasFP", "Target": "ARC", "Target_Clf": "MPU", "Compiler_Type": "LLVM", "Idx": 192705, "Length": 47, "Cover_Rate": 0.6351351351351351} {"Template_token": ["", "bool", "FrameLowering", "::", "hasFP", "(", "const", "MachineFunction", "&", "MF", ")", "const", "{", "const", "TargetRegisterInfo", "*", "RegInfo", "=", "MF", ".", "getSubtarget", "(", ")", ".", "getRegisterInfo", "(", ")", ";", "bool", "HasFP", "=", "MF", ".", "getTarget", "(", ")", ".", "Options", ".", "DisableFramePointerElim", "(", "MF", ")", "||", "MF", ".", "getFrameInfo", "(", ")", ".", "hasVarSizedObjects", "(", ")", "||", "MF", ".", "getFrameInfo", "(", ")", ".", "isFrameAddressTaken", "(", ")", "||", "RegInfo", "->", "needsStackRealignment", "(", "MF", ")", ";", "return", "HasFP", ";"], "ground_truth": ["}"], "File": "ARCFrameLowering", "Func": "hasFP", "Target": "ARC", "Target_Clf": "MPU", "Compiler_Type": "LLVM", "Idx": 192706, "Length": 74, "Cover_Rate": 1.0} {"Template_token": ["", "LLVM_DEBUG", "(", "dbgs", "(", ")", "<<", "", "<<", "MF", ".", "getName", "(", ")", "<<", "", ")", ";", "MachineFrameInfo", "&", "MFI", "=", "MF", ".", "getFrameInfo", "(", ")", ";", "LLVM_DEBUG", "(", "dbgs", "(", ")", "<<", "", "<<", "MFI", ".", "getStackSize", "(", ")", "<<", "", ")", ";", "const", "TargetRegisterClass", "*", "RC", "=", "&", "", ";", "if", "(", "MFI", ".", "hasStackObjects", "(", ")", ")", "{"], "ground_truth": ["int", "RegScavFI", "=", "MFI", ".", "CreateStackObject", "(", "RegInfo", "->", "getSpillSize", "(", "*", "RC", ")", ",", "RegInfo", "->", "getSpillAlignment", "(", "*", "RC", ")", ",", "false", ")", ";"], "File": "ARCFrameLowering", "Func": "processFunctionBeforeFrameFinalized", "Target": "ARC", "Target_Clf": "MPU", "Compiler_Type": "LLVM", "Idx": 192707, "Length": 87, "Cover_Rate": 0.6170212765957447} {"Template_token": ["", "bool", "FrameLowering", "::", "spillCalleeSavedRegisters", "(", "MachineBasicBlock", "&", "MBB", ",", "MachineBasicBlock", "::", "iterator", "MI", ",", "const", "std", "::", "vector", "<", "CalleeSavedInfo", ">", "&", "CSI", ",", "const", "TargetRegisterInfo", "*", "TRI", ")", "const", "{", "LLVM_DEBUG", "(", "dbgs", "(", ")", "<<", "", "<<", "MBB", ".", "getParent", "(", ")", "->", "getName", "(", ")", "<<", "", ")", ";", "unsigned", "Last", "=", "determineLastCalleeSave", "(", "CSI", ")", ";", "if", "(", "UseSaveRestoreFunclet", "&&", "Last", ">", "", ")", "{", "return", "true", ";"], "ground_truth": ["}"], "File": "ARCFrameLowering", "Func": "spillCalleeSavedRegisters", "Target": "ARC", "Target_Clf": "MPU", "Compiler_Type": "LLVM", "Idx": 192709, "Length": 73, "Cover_Rate": 0.9240506329113924} {"Template_token": ["", "void", "printOperand", "(", "const", "MCInst", "*", "MI", ",", "uint64_t", ",", "unsigned", "OpNum", ",", "raw_ostream", "&", "O", ")", "{", "printOperand", "(", "MI", ",", "OpNum", ",", "O", ")", ";"], "ground_truth": ["}"], "File": "ARCInstPrinter10", "Func": "printOperand", "Target": "ARC", "Target_Clf": "MPU", "Compiler_Type": "LLVM", "Idx": 192711, "Length": 28, "Cover_Rate": 1.0} {"Template_token": ["", "LLVM_DEBUG", "(", "dbgs", "(", ")", "<<", "", "<<", "cc", "<<", "", ")", ";", "return", "", ";"], "ground_truth": ["}"], "File": "ARCInstPrinter11", "Func": "BadConditionCode", "Target": "ARC", "Target_Clf": "MPU", "Compiler_Type": "LLVM", "Idx": 192712, "Length": 17, "Cover_Rate": 0.6296296296296297} {"Template_token": ["", "case", "", ":", "return", "", ";", "case", "", ":", "return", "", ";", "case", "", ":", "return", "", ";", "case", "", ":", "return", "", ";", "case", "", ":", "return", "", ";", "case", "", ":", "return", "", ";", "case", "", ":", "return", "", ";", "case", "", ":", "return", "", ";", "case", "", ":", "return", "", ";", "case", "", ":", "return", "", ";", "case", "", ":", "return", "", ";", "case", "", ":", "return", "", ";", "case", "", ":", "return", "", ";"], "ground_truth": ["case", "", ":"], "File": "ARCInstPrinter1", "Func": "ARCCondCodeToString", "Target": "ARC", "Target_Clf": "MPU", "Compiler_Type": "LLVM", "Idx": 192713, "Length": 81, "Cover_Rate": 0.5328947368421053} {"Template_token": ["", "return", "", ";", "case", "", ":", "return", "", ";", "case", "", ":", "return", "", ";", "case", "", ":", "return", "", ";", "case", "", ":", "return", "", ";", "case", "", ":", "return", "", ";", "case", "", ":", "return", "", ";", "case", "", ":", "return", "", ";", "case", "", ":", "return", "", ";", "case", "", ":", "return", "", ";", "case", "", ":", "return", "", ";", "case", "", ":", "return", "", ";", "case", "", ":", "return", "", ";", "case", "", ":", "return", "", ";"], "ground_truth": ["case", "", ":"], "File": "ARCInstPrinter2", "Func": "ARCCondCodeToString", "Target": "ARC", "Target_Clf": "MPU", "Compiler_Type": "LLVM", "Idx": 192714, "Length": 84, "Cover_Rate": 0.5} {"Template_token": ["", "O", "<<", "CondCodeToString", "(", "(", "", ")", "MI", "->", "getOperand", "(", "OpNum", ")", ".", "getImm", "(", ")", ")", ";"], "ground_truth": ["}"], "File": "ARCInstPrinter3", "Func": "printCCOperand", "Target": "ARC", "Target_Clf": "MPU", "Compiler_Type": "LLVM", "Idx": 192715, "Length": 20, "Cover_Rate": 0.5} {"Template_token": ["", "void", "InstPrinter", "::", "printInst", "(", "const", "MCInst", "*", "MI", ",", "uint64_t", "Address", ",", "StringRef", "Annot", ",", "const", "MCSubtargetInfo", "&", "STI", ",", "raw_ostream", "&", "O", ")", "{", "printInstruction", "(", "MI", ",", "Address", ",", "O", ")", ";", "printAnnotation", "(", "O", ",", "Annot", ")", ";"], "ground_truth": ["}"], "File": "ARCInstPrinter3", "Func": "printInst", "Target": "ARC", "Target_Clf": "MPU", "Compiler_Type": "LLVM", "Idx": 192717, "Length": 43, "Cover_Rate": 1.0} {"Template_token": ["", "printU6ShiftedBy", "(", "", ",", "MI", ",", "OpNum", ",", "O", ")", ";"], "ground_truth": ["}"], "File": "ARCInstPrinter3", "Func": "printU6", "Target": "ARC", "Target_Clf": "MPU", "Compiler_Type": "LLVM", "Idx": 192719, "Length": 12, "Cover_Rate": 0.4} {"Template_token": ["", "unsigned", "Value2", "=", "Value", ">>", "ShiftBy", ";", "if", "(", "Value2", ">", "", "||", "(", "Value2", "<<", "ShiftBy", "!=", "Value", ")", ")", "{", "errs", "(", ")", "<<", "", "<<", "", "<<", "MI", "->", "getOpcode", "(", ")", "<<", "", "<<", "Value", ";", "if", "(", "ShiftBy", ")", "errs", "(", ")", "<<", "", "<<", "(", "", "<<", "ShiftBy", ")", "<<", "", ";", "assert", "(", "false", "&&", "", ")", ";", "}", "}", "printOperand", "(", "MI", ",", "OpNum", ",", "O", ")", ";"], "ground_truth": ["}"], "File": "ARCInstPrinter3", "Func": "printU6ShiftedBy", "Target": "ARC", "Target_Clf": "MPU", "Compiler_Type": "LLVM", "Idx": 192720, "Length": 77, "Cover_Rate": 0.6015625} {"Template_token": ["", "errs", "(", ")", "<<", "", "<<", "", "<<", "MI", "->", "getOpcode", "(", ")", "<<", "", "<<", "Value", ";", "if", "(", "ShiftBy", ")", "errs", "(", ")", "<<", "", "<<", "(", "", "<<", "ShiftBy", ")", "<<", "", ";", "assert", "(", "false", "&&", "", ")", ";", "}", "}"], "ground_truth": ["printOperand", "(", "MI", ",", "OpNum", ",", "O", ")", ";"], "File": "ARCInstPrinter3", "Func": "printU6ShiftedBy", "Target": "ARC", "Target_Clf": "MPU", "Compiler_Type": "LLVM", "Idx": 192721, "Length": 54, "Cover_Rate": 0.421875} {"Template_token": ["", "static", "const", "char", "*", "BRCondCodeToString", "(", "", "BRCC", ")", "{", "switch", "(", "BRCC", ")", "{", "case", "", ":", "return", "", ";", "case", "", ":", "return", "", ";", "case", "", ":", "return", "", ";", "case", "", ":", "return", "", ";"], "ground_truth": ["case", "", ":"], "File": "ARCInstPrinter6", "Func": "ARCBRCondCodeToString", "Target": "ARC", "Target_Clf": "MPU", "Compiler_Type": "LLVM", "Idx": 192722, "Length": 42, "Cover_Rate": 0.5833333333333334} {"Template_token": ["", "int", "Offset", "=", "", ";", "const", "MCSymbolRefExpr", "*", "SRE", ";", "if", "(", "const", "auto", "*", "BE", "=", "dyn_cast", "<", "MCBinaryExpr", ">", "(", "Expr", ")", ")", "{", "SRE", "=", "dyn_cast", "<", "MCSymbolRefExpr", ">", "(", "BE", "->", "getLHS", "(", ")", ")", ";", "const", "auto", "*", "CE", "=", "dyn_cast", "<", "MCConstantExpr", ">", "(", "BE", "->", "getRHS", "(", ")", ")", ";"], "ground_truth": ["assert", "(", "SRE", "&&", "CE", "&&", "", ")", ";"], "File": "ARCInstPrinter7", "Func": "printExpr", "Target": "ARC", "Target_Clf": "MPU", "Compiler_Type": "LLVM", "Idx": 192723, "Length": 66, "Cover_Rate": 0.4} {"Template_token": ["", "return", "", ";", "case", "", ":", "return", "", ";", "case", "", ":", "return", "", ";", "case", "", ":", "return", "", ";", "case", "", ":", "return", "", ";", "case", "", ":", "return", "", ";", "}", "return", "BadConditionCode", "(", "BRCC", ")", ";"], "ground_truth": ["}"], "File": "ARCInstPrinter", "Func": "ARCBRCondCodeToString", "Target": "ARC", "Target_Clf": "MPU", "Compiler_Type": "LLVM", "Idx": 192724, "Length": 41, "Cover_Rate": 0.5616438356164384} {"Template_token": ["", "return", "", ";", "case", "", ":", "return", "", ";", "case", "", ":", "return", "", ";", "case", "", ":", "return", "", ";", "case", "", ":", "return", "", ";", "case", "", ":", "return", "", ";", "case", "", ":", "return", "", ";", "case", "", ":", "return", "", ";", "case", "", ":", "return", "", ";", "case", "", ":", "return", "", ";", "case", "", ":", "return", "", ";", "case", "", ":", "return", "", ";", "case", "", ":"], "ground_truth": ["return", "", ";"], "File": "ARCInstPrinter", "Func": "ARCCondCodeToString", "Target": "ARC", "Target_Clf": "MPU", "Compiler_Type": "LLVM", "Idx": 192725, "Length": 75, "Cover_Rate": 0.4437869822485207} {"Template_token": ["", "case", "", ":", "return", "", ";", "case", "", ":", "return", "", ";", "case", "", ":", "return", "", ";", "case", "", ":", "return", "", ";", "case", "", ":", "return", "", ";", "case", "", ":", "return", "", ";", "case", "", ":", "return", "", ";", "case", "", ":", "return", "", ";", "case", "", ":"], "ground_truth": ["return", "", ";"], "File": "ARCInstPrinter", "Func": "ARCCondCodeToString", "Target": "ARC", "Target_Clf": "MPU", "Compiler_Type": "LLVM", "Idx": 192726, "Length": 54, "Cover_Rate": 0.31952662721893493} {"Template_token": ["", "InstPrinter", "(", "const", "MCAsmInfo", "&", "MAI", ",", "const", "MCInstrInfo", "&", "MII", ",", "const", "MCRegisterInfo", "&", "MRI", ")", ":", "MCInstPrinter", "(", "MAI", ",", "MII", ",", "MRI", ")", "{"], "ground_truth": ["}"], "File": "ARCInstPrinter", "Func": "ARCInstPrinter", "Target": "ARC", "Target_Clf": "MPU", "Compiler_Type": "LLVM", "Idx": 192727, "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": "ARCInstPrinter", "Func": "ARCInstPrinter", "Target": "ARC", "Target_Clf": "MPU", "Compiler_Type": "LLVM", "Idx": 192728, "Length": 28, "Cover_Rate": 1.0} {"Template_token": ["", "DEBUG", "(", "dbgs", "(", ")", "<<", "", "<<", "cc", "<<", "", ")", ";"], "ground_truth": ["return", "", ";"], "File": "ARCInstPrinter", "Func": "BadConditionCode", "Target": "ARC", "Target_Clf": "MPU", "Compiler_Type": "LLVM", "Idx": 192729, "Length": 16, "Cover_Rate": 0.5925925925925926} {"Template_token": ["", "static", "const", "char", "*", "BadConditionCode", "(", "T", "cc", ")", "{", "DEBUG", "(", "dbgs", "(", ")", "<<", "", "<<", "cc", "<<", "", ")", ";", "return", "", ";"], "ground_truth": ["}"], "File": "ARCInstPrinter", "Func": "BadConditionCode", "Target": "ARC", "Target_Clf": "MPU", "Compiler_Type": "LLVM", "Idx": 192730, "Length": 27, "Cover_Rate": 1.0} {"Template_token": ["", "const", "MCOperand", "&", "Op", "=", "MI", "->", "getOperand", "(", "OpNum", ")", ";"], "ground_truth": ["assert", "(", "Op", ".", "isImm", "(", ")", "&&", "", ")", ";"], "File": "ARCInstPrinter", "Func": "printBRCCPredicateOperand", "Target": "ARC", "Target_Clf": "MPU", "Compiler_Type": "LLVM", "Idx": 192731, "Length": 23, "Cover_Rate": 0.39655172413793105} {"Template_token": ["", "assert", "(", "Op", ".", "isImm", "(", ")", "&&", "", ")", ";"], "ground_truth": ["O", "<<", "BRCondCodeToString", "(", "(", "", ")", "Op", ".", "getImm", "(", ")", ")", ";"], "File": "ARCInstPrinter", "Func": "printBRCCPredicateOperand", "Target": "ARC", "Target_Clf": "MPU", "Compiler_Type": "LLVM", "Idx": 192732, "Length": 25, "Cover_Rate": 0.43103448275862066} {"Template_token": ["", "const", "auto", "*", "CE", "=", "dyn_cast", "<", "MCConstantExpr", ">", "(", "BE", "->", "getRHS", "(", ")", ")", ";", "assert", "(", "SRE", "&&", "CE", "&&", "", ")", ";", "Offset", "=", "CE", "->", "getValue", "(", ")", ";", "}", "else", "{", "SRE", "=", "dyn_cast", "<", "MCSymbolRefExpr", ">", "(", "Expr", ")", ";", "assert", "(", "SRE", "&&", "", ")", ";", "}", "assert", "(", "SRE", "->", "getKind", "(", ")", "==", "MCSymbolRefExpr", "::", "VK_None", ")", ";", "OS", "<<", "'@'", ";", "SRE", "->", "getSymbol", "(", ")", ".", "print", "(", "OS", ",", "MAI", ")", ";", "if", "(", "Offset", ")", "{"], "ground_truth": ["if", "(", "Offset", ">", "", ")", "OS", "<<", "'+'", ";"], "File": "ARCInstPrinter", "Func": "printExpr", "Target": "ARC", "Target_Clf": "MPU", "Compiler_Type": "LLVM", "Idx": 192733, "Length": 100, "Cover_Rate": 0.5025125628140703} {"Template_token": ["", "void", "InstPrinter", "::", "printInst", "(", "const", "MCInst", "*", "MI", ",", "raw_ostream", "&", "O", ",", "StringRef", "Annot", ",", "const", "MCSubtargetInfo", "&", "STI", ")", "{", "printInstruction", "(", "MI", ",", "O", ")", ";"], "ground_truth": ["printAnnotation", "(", "O", ",", "Annot", ")", ";"], "File": "ARCInstPrinter", "Func": "printInst", "Target": "ARC", "Target_Clf": "MPU", "Compiler_Type": "LLVM", "Idx": 192734, "Length": 37, "Cover_Rate": 0.9736842105263158} {"Template_token": ["", "void", "InstPrinter", "::", "printInst", "(", "const", "MCInst", "*", "MI", ",", "raw_ostream", "&", "O", ",", "StringRef", "Annot", ",", "const", "MCSubtargetInfo", "&", "STI", ")", "{", "printInstruction", "(", "MI", ",", "O", ")", ";", "printAnnotation", "(", "O", ",", "Annot", ")", ";"], "ground_truth": ["}"], "File": "ARCInstPrinter", "Func": "printInst", "Target": "ARC", "Target_Clf": "MPU", "Compiler_Type": "LLVM", "Idx": 192735, "Length": 38, "Cover_Rate": 1.0} {"Template_token": ["", "const", "MCOperand", "&", "base", "=", "MI", "->", "getOperand", "(", "OpNum", ")", ";", "const", "MCOperand", "&", "offset", "=", "MI", "->", "getOperand", "(", "OpNum", "+", "", ")", ";", "assert", "(", "base", ".", "isReg", "(", ")", "&&", "", ")", ";", "assert", "(", "offset", ".", "isImm", "(", ")", "&&", "", ")", ";", "printRegName", "(", "O", ",", "base", ".", "getReg", "(", ")", ")", ";"], "ground_truth": ["O", "<<", "", "<<", "offset", ".", "getImm", "(", ")", ";"], "File": "ARCInstPrinter", "Func": "printMemOperandRI", "Target": "ARC", "Target_Clf": "MPU", "Compiler_Type": "LLVM", "Idx": 192736, "Length": 69, "Cover_Rate": 0.7840909090909091} {"Template_token": ["", "void", "InstPrinter", "::", "printOperand", "(", "const", "MCInst", "*", "MI", ",", "unsigned", "OpNum", ",", "raw_ostream", "&", "O", ")", "{", "const", "MCOperand", "&", "Op", "=", "MI", "->", "getOperand", "(", "OpNum", ")", ";", "if", "(", "Op", ".", "isReg", "(", ")", ")", "{", "printRegName", "(", "O", ",", "Op", ".", "getReg", "(", ")", ")", ";", "return", ";", "}", "if", "(", "Op", ".", "isImm", "(", ")", ")", "{", "O", "<<", "Op", ".", "getImm", "(", ")", ";", "return", ";", "}", "assert", "(", "Op", ".", "isExpr", "(", ")", "&&", "", ")", ";", "printExpr", "(", "Op", ".", "getExpr", "(", ")", ",", "&", "MAI", ",", "O", ")", ";"], "ground_truth": ["}"], "File": "ARCInstPrinter", "Func": "printOperand", "Target": "ARC", "Target_Clf": "MPU", "Compiler_Type": "LLVM", "Idx": 192737, "Length": 99, "Cover_Rate": 1.0} {"Template_token": ["", "const", "MCOperand", "&", "Op", "=", "MI", "->", "getOperand", "(", "OpNum", ")", ";", "if", "(", "Op", ".", "isReg", "(", ")", ")", "{", "printRegName", "(", "O", ",", "Op", ".", "getReg", "(", ")", ")", ";", "return", ";", "}", "if", "(", "Op", ".", "isImm", "(", ")", ")", "{"], "ground_truth": ["O", "<<", "Op", ".", "getImm", "(", ")", ";"], "File": "ARCInstPrinter", "Func": "printOperand", "Target": "ARC", "Target_Clf": "MPU", "Compiler_Type": "LLVM", "Idx": 192738, "Length": 52, "Cover_Rate": 0.5252525252525253} {"Template_token": ["", "void", "InstPrinter", "::", "printPredicateOperand", "(", "const", "MCInst", "*", "MI", ",", "unsigned", "OpNum", ",", "raw_ostream", "&", "O", ")", "{"], "ground_truth": ["const", "MCOperand", "&", "Op", "=", "MI", "->", "getOperand", "(", "OpNum", ")", ";"], "File": "ARCInstPrinter", "Func": "printPredicateOperand", "Target": "ARC", "Target_Clf": "MPU", "Compiler_Type": "LLVM", "Idx": 192739, "Length": 30, "Cover_Rate": 0.5172413793103449} {"Template_token": ["", "assert", "(", "Op", ".", "isImm", "(", ")", "&&", "", ")", ";"], "ground_truth": ["O", "<<", "CondCodeToString", "(", "(", "", ")", "Op", ".", "getImm", "(", ")", ")", ";"], "File": "ARCInstPrinter", "Func": "printPredicateOperand", "Target": "ARC", "Target_Clf": "MPU", "Compiler_Type": "LLVM", "Idx": 192740, "Length": 25, "Cover_Rate": 0.43103448275862066} {"Template_token": ["", "void", "InstPrinter", "::", "printRegName", "(", "raw_ostream", "&", "OS", ",", "unsigned", "RegNo", ")", "const", "{"], "ground_truth": ["OS", "<<", "StringRef", "(", "getRegisterName", "(", "RegNo", ")", ")", ".", "lower", "(", ")", ";"], "File": "ARCInstPrinter", "Func": "printRegName", "Target": "ARC", "Target_Clf": "MPU", "Compiler_Type": "LLVM", "Idx": 192741, "Length": 28, "Cover_Rate": 0.9655172413793104} {"Template_token": ["", "void", "InstPrinter", "::", "printRegName", "(", "raw_ostream", "&", "OS", ",", "unsigned", "RegNo", ")", "const", "{"], "ground_truth": ["OS", "<<", "StringRef", "(", "getRegisterName", "(", "RegNo", ")", ")", ".", "lower", "(", ")", ";"], "File": "ARCInstPrinter", "Func": "printRegName", "Target": "ARC", "Target_Clf": "MPU", "Compiler_Type": "LLVM", "Idx": 192742, "Length": 28, "Cover_Rate": 0.9655172413793104} {"Template_token": ["", "while", "(", "isPredicated", "(", "*", "I", ")", "||", "I", "->", "isTerminator", "(", ")", "||", "I", "->", "isDebugValue", "(", ")", ")", "{", "bool", "CantAnalyze", "=", "false", ";", "while", "(", "I", "->", "isDebugValue", "(", ")", "||", "!", "I", "->", "isTerminator", "(", ")", ")", "{", "if", "(", "I", "==", "MBB", ".", "begin", "(", ")", ")", "return", "false", ";", "--", "I", ";", "}", "if", "(", "isJumpOpcode", "(", "I", "->", "getOpcode", "(", ")", ")", ")", "{", "CantAnalyze", "=", "true", ";", "}", "else", "if", "(", "isUncondBranchOpcode", "(", "I", "->", "getOpcode", "(", ")", ")", ")", "{", "TBB", "=", "I", "->", "getOperand", "(", "", ")", ".", "getMBB", "(", ")", ";", "}", "else", "if", "(", "isCondBranchOpcode", "(", "I", "->", "getOpcode", "(", ")", ")", ")", "{", "if", "(", "!", "Cond", ".", "empty", "(", ")", ")", "return", "true", ";", "assert", "(", "!", "FBB", "&&", "", ")", ";", "FBB", "=", "TBB", ";", "TBB", "=", "I", "->", "getOperand", "(", "", ")", ".", "getMBB", "(", ")", ";", "Cond", ".", "push_back", "(", "I", "->", "getOperand", "(", "", ")", ")", ";", "Cond", ".", "push_back", "(", "I", "->", "getOperand", "(", "", ")", ")", ";", "Cond", ".", "push_back", "(", "I", "->", "getOperand", "(", "", ")", ")", ";", "}", "else", "if", "(", "I", "->", "isReturn", "(", ")", ")", "{", "CantAnalyze", "=", "!", "isPredicated", "(", "*", "I", ")", ";", "}", "else", "{", "return", "true", ";", "}", "if", "(", "!", "isPredicated", "(", "*", "I", ")", "&&", "(", "isUncondBranchOpcode", "(", "I", "->", "getOpcode", "(", ")", ")", "||", "isJumpOpcode", "(", "I", "->", "getOpcode", "(", ")", ")", "||", "I", "->", "isReturn", "(", ")", ")", ")", "{"], "ground_truth": ["Cond", ".", "clear", "(", ")", ";"], "File": "ARCInstrInfo10", "Func": "analyzeBranch", "Target": "ARC", "Target_Clf": "MPU", "Compiler_Type": "LLVM", "Idx": 192743, "Length": 258, "Cover_Rate": 0.6433915211970075} {"Template_token": ["", "unsigned", "Align", "=", "MFI", ".", "getObjectAlignment", "(", "FrameIndex", ")", ";", "MachineMemOperand", "*", "MMO", "=", "MF", ".", "getMachineMemOperand", "(", "MachinePointerInfo", "::", "getFixedStack", "(", "MF", ",", "FrameIndex", ")", ",", "MachineMemOperand", "::", "MOLoad", ",", "MFI", ".", "getObjectSize", "(", "FrameIndex", ")", ",", "Align", ")", ";", "assert", "(", "MMO", "&&", "", ")", ";"], "ground_truth": ["assert", "(", "TRI", "->", "getSpillSize", "(", "*", "RC", ")", "==", "", "&&", "", ")", ";"], "File": "ARCInstrInfo10", "Func": "loadRegFromStackSlot", "Target": "ARC", "Target_Clf": "MPU", "Compiler_Type": "LLVM", "Idx": 192744, "Length": 63, "Cover_Rate": 0.3103448275862069} {"Template_token": ["", "MachineFunction", "&", "MF", "=", "*", "MBB", ".", "getParent", "(", ")", ";", "MachineFrameInfo", "&", "MFI", "=", "MF", ".", "getFrameInfo", "(", ")", ";", "unsigned", "Align", "=", "MFI", ".", "getObjectAlignment", "(", "FrameIndex", ")", ";", "MachineMemOperand", "*", "MMO", "=", "MF", ".", "getMachineMemOperand", "(", "MachinePointerInfo", "::", "getFixedStack", "(", "MF", ",", "FrameIndex", ")", ",", "MachineMemOperand", "::", "MOLoad", ",", "MFI", ".", "getObjectSize", "(", "FrameIndex", ")", ",", "Align", ")", ";", "assert", "(", "MMO", "&&", "", ")", ";", "assert", "(", "TRI", "->", "getSpillSize", "(", "*", "RC", ")", "==", "", "&&", "", ")", ";", "assert", "(", "", ".", "hasSubClassEq", "(", "RC", ")", "&&", "", ")", ";"], "ground_truth": ["DEBUG", "(", "dbgs", "(", ")", "<<", "", "<<", "PrintReg", "(", "DestReg", ",", "TRI", ")", "<<", "", "<<", "FrameIndex", "<<", "", ")", ";"], "File": "ARCInstrInfo10", "Func": "loadRegFromStackSlot", "Target": "ARC", "Target_Clf": "MPU", "Compiler_Type": "LLVM", "Idx": 192745, "Length": 118, "Cover_Rate": 0.5812807881773399} {"Template_token": ["", "void", "InstrInfo", "::", "storeRegToStackSlot", "(", "MachineBasicBlock", "&", "MBB", ",", "MachineBasicBlock", "::", "iterator", "I", ",", "unsigned", "SrcReg", ",", "bool", "isKill", ",", "int", "FrameIndex", ",", "const", "TargetRegisterClass", "*", "RC", ",", "const", "TargetRegisterInfo", "*", "TRI", ")", "const", "{", "DebugLoc", "dl", "=", "MBB", ".", "findDebugLoc", "(", "I", ")", ";", "MachineFunction", "&", "MF", "=", "*", "MBB", ".", "getParent", "(", ")", ";", "MachineFrameInfo", "&", "MFI", "=", "MF", ".", "getFrameInfo", "(", ")", ";", "unsigned", "Align", "=", "MFI", ".", "getObjectAlignment", "(", "FrameIndex", ")", ";", "MachineMemOperand", "*", "MMO", "=", "MF", ".", "getMachineMemOperand", "(", "MachinePointerInfo", "::", "getFixedStack", "(", "MF", ",", "FrameIndex", ")", ",", "MachineMemOperand", "::", "MOStore", ",", "MFI", ".", "getObjectSize", "(", "FrameIndex", ")", ",", "Align", ")", ";", "assert", "(", "MMO", "&&", "", ")", ";", "assert", "(", "TRI", "->", "getSpillSize", "(", "*", "RC", ")", "==", "", "&&", "", ")", ";", "assert", "(", "", ".", "hasSubClassEq", "(", "RC", ")", "&&", "", ")", ";"], "ground_truth": ["DEBUG", "(", "dbgs", "(", ")", "<<", "", "<<", "PrintReg", "(", "SrcReg", ",", "TRI", ")", "<<", "", "<<", "FrameIndex", "<<", "", ")", ";"], "File": "ARCInstrInfo10", "Func": "storeRegToStackSlot", "Target": "ARC", "Target_Clf": "MPU", "Compiler_Type": "LLVM", "Idx": 192746, "Length": 163, "Cover_Rate": 0.7874396135265701} {"Template_token": ["", "assert", "(", "", ".", "hasSubClassEq", "(", "RC", ")", "&&", "", ")", ";", "DEBUG", "(", "dbgs", "(", ")", "<<", "", "<<", "printReg", "(", "DestReg", ",", "TRI", ")", "<<", "", "<<", "FrameIndex", "<<", "", ")", ";"], "ground_truth": ["BuildMI", "(", "MBB", ",", "I", ",", "dl", ",", "get", "(", "", ")", ")", ".", "addReg", "(", "DestReg", ",", "RegState", "::", "Define", ")", ".", "addFrameIndex", "(", "FrameIndex", ")", ".", "addImm", "(", "", ")", ".", "addMemOperand", "(", "MMO", ")", ";"], "File": "ARCInstrInfo13", "Func": "loadRegFromStackSlot", "Target": "ARC", "Target_Clf": "MPU", "Compiler_Type": "LLVM", "Idx": 192747, "Length": 72, "Cover_Rate": 0.35467980295566504} {"Template_token": ["", "DebugLoc", "dl", "=", "MBB", ".", "findDebugLoc", "(", "I", ")", ";", "MachineFunction", "&", "MF", "=", "*", "MBB", ".", "getParent", "(", ")", ";", "MachineFrameInfo", "&", "MFI", "=", "MF", ".", "getFrameInfo", "(", ")", ";", "unsigned", "Align", "=", "MFI", ".", "getObjectAlignment", "(", "FrameIndex", ")", ";", "MachineMemOperand", "*", "MMO", "=", "MF", ".", "getMachineMemOperand", "(", "MachinePointerInfo", "::", "getFixedStack", "(", "MF", ",", "FrameIndex", ")", ",", "MachineMemOperand", "::", "MOStore", ",", "MFI", ".", "getObjectSize", "(", "FrameIndex", ")", ",", "Align", ")", ";"], "ground_truth": ["assert", "(", "MMO", "&&", "", ")", ";"], "File": "ARCInstrInfo13", "Func": "storeRegToStackSlot", "Target": "ARC", "Target_Clf": "MPU", "Compiler_Type": "LLVM", "Idx": 192748, "Length": 79, "Cover_Rate": 0.38164251207729466} {"Template_token": ["", "DebugLoc", "dl", "=", "MBB", ".", "findDebugLoc", "(", "I", ")", ";", "MachineFunction", "&", "MF", "=", "*", "MBB", ".", "getParent", "(", ")", ";", "MachineFrameInfo", "&", "MFI", "=", "MF", ".", "getFrameInfo", "(", ")", ";", "unsigned", "Align", "=", "MFI", ".", "getObjectAlignment", "(", "FrameIndex", ")", ";", "MachineMemOperand", "*", "MMO", "=", "MF", ".", "getMachineMemOperand", "(", "MachinePointerInfo", "::", "getFixedStack", "(", "MF", ",", "FrameIndex", ")", ",", "MachineMemOperand", "::", "MOLoad", ",", "MFI", ".", "getObjectSize", "(", "FrameIndex", ")", ",", "Align", ")", ";", "assert", "(", "MMO", "&&", "", ")", ";", "assert", "(", "TRI", "->", "getSpillSize", "(", "*", "RC", ")", "==", "", "&&", "", ")", ";", "assert", "(", "", ".", "hasSubClassEq", "(", "RC", ")", "&&", "", ")", ";", "LLVM_DEBUG", "(", "dbgs", "(", ")", "<<", "", "<<", "printReg", "(", "DestReg", ",", "TRI", ")", "<<", "", "<<", "FrameIndex", "<<", "", ")", ";"], "ground_truth": ["BuildMI", "(", "MBB", ",", "I", ",", "dl", ",", "get", "(", "", ")", ")", ".", "addReg", "(", "DestReg", ",", "RegState", "::", "Define", ")", ".", "addFrameIndex", "(", "FrameIndex", ")", ".", "addImm", "(", "", ")", ".", "addMemOperand", "(", "MMO", ")", ";"], "File": "ARCInstrInfo19", "Func": "loadRegFromStackSlot", "Target": "ARC", "Target_Clf": "MPU", "Compiler_Type": "LLVM", "Idx": 192749, "Length": 166, "Cover_Rate": 0.8177339901477833} {"Template_token": ["", "MachineMemOperand", "*", "MMO", "=", "MF", ".", "getMachineMemOperand", "(", "MachinePointerInfo", "::", "getFixedStack", "(", "MF", ",", "FrameIndex", ")", ",", "MachineMemOperand", "::", "MOStore", ",", "MFI", ".", "getObjectSize", "(", "FrameIndex", ")", ",", "Align", ")", ";", "assert", "(", "MMO", "&&", "", ")", ";", "assert", "(", "TRI", "->", "getSpillSize", "(", "*", "RC", ")", "==", "", "&&", "", ")", ";"], "ground_truth": ["assert", "(", "", ".", "hasSubClassEq", "(", "RC", ")", "&&", "", ")", ";"], "File": "ARCInstrInfo19", "Func": "storeRegToStackSlot", "Target": "ARC", "Target_Clf": "MPU", "Compiler_Type": "LLVM", "Idx": 192750, "Length": 65, "Cover_Rate": 0.3140096618357488} {"Template_token": ["", "DebugLoc", "dl", "=", "MBB", ".", "findDebugLoc", "(", "I", ")", ";", "MachineFunction", "&", "MF", "=", "*", "MBB", ".", "getParent", "(", ")", ";", "MachineFrameInfo", "&", "MFI", "=", "MF", ".", "getFrameInfo", "(", ")", ";", "unsigned", "Align", "=", "MFI", ".", "getObjectAlignment", "(", "FrameIndex", ")", ";", "MachineMemOperand", "*", "MMO", "=", "MF", ".", "getMachineMemOperand", "(", "MachinePointerInfo", "::", "getFixedStack", "(", "MF", ",", "FrameIndex", ")", ",", "MachineMemOperand", "::", "MOStore", ",", "MFI", ".", "getObjectSize", "(", "FrameIndex", ")", ",", "Align", ")", ";", "assert", "(", "MMO", "&&", "", ")", ";", "assert", "(", "TRI", "->", "getSpillSize", "(", "*", "RC", ")", "==", "", "&&", "", ")", ";", "assert", "(", "", ".", "hasSubClassEq", "(", "RC", ")", "&&", "", ")", ";", "LLVM_DEBUG", "(", "dbgs", "(", ")", "<<", "", "<<", "printReg", "(", "SrcReg", ",", "TRI", ")", "<<", "", "<<", "FrameIndex", "<<", "", ")", ";", "BuildMI", "(", "MBB", ",", "I", ",", "dl", ",", "get", "(", "", ")", ")", ".", "addReg", "(", "SrcReg", ",", "getKillRegState", "(", "isKill", ")", ")", ".", "addFrameIndex", "(", "FrameIndex", ")", ".", "addImm", "(", "", ")", ".", "addMemOperand", "(", "MMO", ")", ";"], "ground_truth": ["}"], "File": "ARCInstrInfo19", "Func": "storeRegToStackSlot", "Target": "ARC", "Target_Clf": "MPU", "Compiler_Type": "LLVM", "Idx": 192751, "Length": 168, "Cover_Rate": 0.8115942028985508} {"Template_token": ["", "void", "InstrInfo", "::", "copyPhysReg", "(", "MachineBasicBlock", "&", "MBB", ",", "MachineBasicBlock", "::", "iterator", "I", ",", "const", "DebugLoc", "&", "dl", ",", "MCRegister", "DestReg", ",", "MCRegister", "SrcReg", ",", "bool", "KillSrc", ")", "const", "{", "assert", "(", "", ".", "contains", "(", "SrcReg", ")", "&&", "", ")", ";", "assert", "(", "", ".", "contains", "(", "DestReg", ")", "&&", "", ")", ";", "BuildMI", "(", "MBB", ",", "I", ",", "dl", ",", "get", "(", "", ")", ",", "DestReg", ")", ".", "addReg", "(", "SrcReg", ",", "getKillRegState", "(", "KillSrc", ")", ")", ";"], "ground_truth": ["}"], "File": "ARCInstrInfo1", "Func": "copyPhysReg", "Target": "ARC", "Target_Clf": "MPU", "Compiler_Type": "LLVM", "Idx": 192752, "Length": 81, "Cover_Rate": 0.9310344827586207} {"Template_token": ["", "OffsetPos", "++", ";", "}", "if", "(", "!", "MI", ".", "getOperand", "(", "BasePos", ")", ".", "isReg", "(", ")", "||", "!", "MI", ".", "getOperand", "(", "OffsetPos", ")", ".", "isImm", "(", ")", ")", "return", "false", ";"], "ground_truth": ["return", "true", ";"], "File": "ARCInstrInfo1", "Func": "getBaseAndOffsetPosition", "Target": "ARC", "Target_Clf": "MPU", "Compiler_Type": "LLVM", "Idx": 192753, "Length": 36, "Cover_Rate": 0.36} {"Template_token": ["", "bool", "InstrInfo", "::", "getBaseAndOffsetPosition", "(", "const", "MachineInstr", "&", "MI", ",", "unsigned", "&", "BasePos", ",", "unsigned", "&", "OffsetPos", ")", "const", "{", "if", "(", "!", "MI", ".", "mayLoad", "(", ")", "&&", "!", "MI", ".", "mayStore", "(", ")", ")", "return", "false", ";", "BasePos", "=", "", ";", "OffsetPos", "=", "", ";"], "ground_truth": ["if", "(", "isPostIncrement", "(", "MI", ")", "||", "isPreIncrement", "(", "MI", ")", ")", "{"], "File": "ARCInstrInfo1", "Func": "getBaseAndOffsetPosition", "Target": "ARC", "Target_Clf": "MPU", "Compiler_Type": "LLVM", "Idx": 192754, "Length": 60, "Cover_Rate": 0.6} {"Template_token": ["", "const", "MachineFunction", "*", "MF", "=", "MI", ".", "getParent", "(", ")", "->", "getParent", "(", ")", ";", "const", "char", "*", "AsmStr", "=", "MI", ".", "getOperand", "(", "", ")", ".", "getSymbolName", "(", ")", ";", "return", "getInlineAsmLength", "(", "AsmStr", ",", "*", "MF", "->", "getTarget", "(", ")", ".", "getMCAsmInfo", "(", ")", ")", ";"], "ground_truth": ["}"], "File": "ARCInstrInfo1", "Func": "getInstSizeInBytes", "Target": "ARC", "Target_Clf": "MPU", "Compiler_Type": "LLVM", "Idx": 192755, "Length": 49, "Cover_Rate": 0.5975609756097561} {"Template_token": ["", "const", "char", "*", "AsmStr", "=", "MI", ".", "getOperand", "(", "", ")", ".", "getSymbolName", "(", ")", ";"], "ground_truth": ["return", "getInlineAsmLength", "(", "AsmStr", ",", "*", "MF", "->", "getTarget", "(", ")", ".", "getMCAsmInfo", "(", ")", ")", ";"], "File": "ARCInstrInfo1", "Func": "getInstSizeInBytes", "Target": "ARC", "Target_Clf": "MPU", "Compiler_Type": "LLVM", "Idx": 192756, "Length": 33, "Cover_Rate": 0.4024390243902439} {"Template_token": ["", "assert", "(", "TBB", "&&", "", ")", ";", "assert", "(", "(", "Cond", ".", "size", "(", ")", "==", "", "||", "Cond", ".", "size", "(", ")", "==", "", ")", "&&", "", ")", ";", "if", "(", "Cond", ".", "empty", "(", ")", ")", "{", "BuildMI", "(", "&", "MBB", ",", "dl", ",", "get", "(", "", ")", ")", ".", "addMBB", "(", "TBB", ")", ";", "return", "", ";", "}", "int", "BccOpc", "=", "Cond", "[", "", "]", ".", "isImm", "(", ")", "?", "", ":", "", ";"], "ground_truth": ["MachineInstrBuilder", "MIB", "=", "BuildMI", "(", "&", "MBB", ",", "dl", ",", "get", "(", "BccOpc", ")", ")", ";"], "File": "ARCInstrInfo1", "Func": "insertBranch", "Target": "ARC", "Target_Clf": "MPU", "Compiler_Type": "LLVM", "Idx": 192757, "Length": 93, "Cover_Rate": 0.44711538461538464} {"Template_token": ["", "bool", "InstrInfo", "::", "isPostIncrement", "(", "const", "MachineInstr", "&", "MI", ")", "const", "{", "const", "MCInstrDesc", "&", "MID", "=", "MI", ".", "getDesc", "(", ")", ";"], "ground_truth": ["const", "uint64_t", "F", "=", "MID", ".", "TSFlags", ";"], "File": "ARCInstrInfo1", "Func": "isPostIncrement", "Target": "ARC", "Target_Clf": "MPU", "Compiler_Type": "LLVM", "Idx": 192758, "Length": 31, "Cover_Rate": 0.6888888888888889} {"Template_token": ["", "const", "uint64_t", "F", "=", "MID", ".", "TSFlags", ";"], "ground_truth": ["return", "(", "(", "F", ">>", "TSF_AddrModeOff", ")", "&", "TSF_AddModeMask", ")", "==", "PreInc", ";"], "File": "ARCInstrInfo1", "Func": "isPreIncrement", "Target": "ARC", "Target_Clf": "MPU", "Compiler_Type": "LLVM", "Idx": 192759, "Length": 21, "Cover_Rate": 0.4666666666666667} {"Template_token": ["", "const", "MCInstrDesc", "&", "MID", "=", "MI", ".", "getDesc", "(", ")", ";", "const", "uint64_t", "F", "=", "MID", ".", "TSFlags", ";", "return", "(", "(", "F", ">>", "TSF_AddrModeOff", ")", "&", "TSF_AddModeMask", ")", "==", "PreInc", ";"], "ground_truth": ["}"], "File": "ARCInstrInfo1", "Func": "isPreIncrement", "Target": "ARC", "Target_Clf": "MPU", "Compiler_Type": "LLVM", "Idx": 192760, "Length": 33, "Cover_Rate": 0.7333333333333333} {"Template_token": ["", "InstrInfo", "::", "InstrInfo", "(", "const", "Subtarget", "&", "ST", ")", ":", "GenInstrInfo", "(", "", ",", "", ")", ",", "RI", "(", "ST", ")", "{"], "ground_truth": ["}"], "File": "ARCInstrInfo4", "Func": "ARCInstrInfo", "Target": "ARC", "Target_Clf": "MPU", "Compiler_Type": "LLVM", "Idx": 192761, "Length": 23, "Cover_Rate": 0.8518518518518519} {"Template_token": ["", "InstrInfo", "::", "InstrInfo", "(", "const", "Subtarget", "&", "ST", ")", ":", "GenInstrInfo", "(", "", ",", "", ")", ",", "RI", "(", "ST", ")", "{"], "ground_truth": ["}"], "File": "ARCInstrInfo4", "Func": "ARCInstrInfo", "Target": "ARC", "Target_Clf": "MPU", "Compiler_Type": "LLVM", "Idx": 192762, "Length": 23, "Cover_Rate": 0.8518518518518519} {"Template_token": ["", "assert", "(", "", ".", "contains", "(", "SrcReg", ")", "&&", "", ")", ";", "assert", "(", "", ".", "contains", "(", "DestReg", ")", "&&", "", ")", ";", "BuildMI", "(", "MBB", ",", "I", ",", "DL", ",", "get", "(", "", ")", ",", "DestReg", ")", ".", "addReg", "(", "SrcReg", ",", "getKillRegState", "(", "KillSrc", ")", ")", ";"], "ground_truth": ["}"], "File": "ARCInstrInfo4", "Func": "copyPhysReg", "Target": "ARC", "Target_Clf": "MPU", "Compiler_Type": "LLVM", "Idx": 192763, "Length": 51, "Cover_Rate": 0.5862068965517241} {"Template_token": ["", "void", "InstrInfo", "::", "copyPhysReg", "(", "MachineBasicBlock", "&", "MBB", ",", "MachineBasicBlock", "::", "iterator", "I", ",", "const", "DebugLoc", "&", "DL", ",", "MCRegister", "DestReg", ",", "MCRegister", "SrcReg", ",", "bool", "KillSrc", ")", "const", "{", "assert", "(", "", ".", "contains", "(", "SrcReg", ")", "&&", "", ")", ";", "assert", "(", "", ".", "contains", "(", "DestReg", ")", "&&", "", ")", ";", "BuildMI", "(", "MBB", ",", "I", ",", "DL", ",", "get", "(", "", ")", ",", "DestReg", ")", ".", "addReg", "(", "SrcReg", ",", "getKillRegState", "(", "KillSrc", ")", ")", ";"], "ground_truth": ["}"], "File": "ARCInstrInfo4", "Func": "copyPhysReg", "Target": "ARC", "Target_Clf": "MPU", "Compiler_Type": "LLVM", "Idx": 192764, "Length": 81, "Cover_Rate": 0.9310344827586207} {"Template_token": ["", "return", "", ";", "}", "int", "BccOpc", "=", "Cond", "[", "", "]", ".", "isImm", "(", ")", "?", "", ":", "", ";", "MachineInstrBuilder", "MIB", "=", "BuildMI", "(", "&", "MBB", ",", "DL", ",", "get", "(", "BccOpc", ")", ")", ";", "MIB", ".", "addMBB", "(", "TBB", ")", ";", "for", "(", "unsigned", "i", "=", "", ";", "i", "<", "", ";", "i", "++", ")", "{", "MIB", ".", "add", "(", "Cond", "[", "i", "]", ")", ";", "}", "if", "(", "!", "FBB", ")", "{"], "ground_truth": ["return", "", ";"], "File": "ARCInstrInfo4", "Func": "insertBranch", "Target": "ARC", "Target_Clf": "MPU", "Compiler_Type": "LLVM", "Idx": 192765, "Length": 78, "Cover_Rate": 0.375} {"Template_token": ["", "if", "(", "isInt", "<", "", ">", "(", "Value", ")", ")", "{", "return", "BuildMI", "(", "MBB", ",", "MI", ",", "DL", ",", "get", "(", "", ")", ",", "Reg", ")", ".", "addImm", "(", "Value", ")", ".", "getInstr", "(", ")", ";", "}"], "ground_truth": ["llvm_unreachable", "(", "", ")", ";"], "File": "ARCInstrInfo4", "Func": "loadImmediate", "Target": "ARC", "Target_Clf": "MPU", "Compiler_Type": "LLVM", "Idx": 192766, "Length": 43, "Cover_Rate": 0.5375} {"Template_token": ["", "void", "InstrInfo", "::", "loadRegFromStackSlot", "(", "MachineBasicBlock", "&", "MBB", ",", "MachineBasicBlock", "::", "iterator", "I", ",", "Register", "DestReg", ",", "int", "FrameIndex", ",", "const", "TargetRegisterClass", "*", "RC", ",", "const", "TargetRegisterInfo", "*", "TRI", ")", "const", "{", "DebugLoc", "DL", "=", "MBB", ".", "findDebugLoc", "(", "I", ")", ";", "MachineFunction", "&", "MF", "=", "*", "MBB", ".", "getParent", "(", ")", ";", "MachineFrameInfo", "&", "MFI", "=", "MF", ".", "getFrameInfo", "(", ")", ";", "MachineMemOperand", "*", "MMO", "=", "MF", ".", "getMachineMemOperand", "(", "MachinePointerInfo", "::", "getFixedStack", "(", "MF", ",", "FrameIndex", ")", ",", "MachineMemOperand", "::", "MOLoad", ",", "MFI", ".", "getObjectSize", "(", "FrameIndex", ")", ",", "MFI", ".", "getObjectAlign", "(", "FrameIndex", ")", ")", ";"], "ground_truth": ["assert", "(", "MMO", "&&", "", ")", ";"], "File": "ARCInstrInfo4", "Func": "loadRegFromStackSlot", "Target": "ARC", "Target_Clf": "MPU", "Compiler_Type": "LLVM", "Idx": 192767, "Length": 106, "Cover_Rate": 0.5353535353535354} {"Template_token": ["", "assert", "(", "(", "Cond", ".", "size", "(", ")", "==", "", ")", "&&", "", ")", ";", "Cond", "[", "", "]", ".", "setImm", "(", "getOppositeBranchCondition", "(", "(", "", ")", "Cond", "[", "", "]", ".", "getImm", "(", ")", ")", ")", ";", "return", "false", ";"], "ground_truth": ["}"], "File": "ARCInstrInfo4", "Func": "reverseBranchCondition", "Target": "ARC", "Target_Clf": "MPU", "Compiler_Type": "LLVM", "Idx": 192768, "Length": 42, "Cover_Rate": 0.7241379310344828} {"Template_token": ["", "assert", "(", "", ".", "hasSubClassEq", "(", "RC", ")", "&&", "", ")", ";", "LLVM_DEBUG", "(", "dbgs", "(", ")", "<<", "", "<<", "printReg", "(", "SrcReg", ",", "TRI", ")", "<<", "", "<<", "FrameIndex", "<<", "", ")", ";"], "ground_truth": ["BuildMI", "(", "MBB", ",", "I", ",", "DL", ",", "get", "(", "", ")", ")", ".", "addReg", "(", "SrcReg", ",", "getKillRegState", "(", "IsKill", ")", ")", ".", "addFrameIndex", "(", "FrameIndex", ")", ".", "addImm", "(", "", ")", ".", "addMemOperand", "(", "MMO", ")", ";"], "File": "ARCInstrInfo4", "Func": "storeRegToStackSlot", "Target": "ARC", "Target_Clf": "MPU", "Compiler_Type": "LLVM", "Idx": 192769, "Length": 73, "Cover_Rate": 0.3613861386138614} {"Template_token": ["", "assert", "(", "MMO", "&&", "", ")", ";", "assert", "(", "TRI", "->", "getSpillSize", "(", "*", "RC", ")", "==", "", "&&", "", ")", ";", "assert", "(", "", ".", "hasSubClassEq", "(", "RC", ")", "&&", "", ")", ";", "LLVM_DEBUG", "(", "dbgs", "(", ")", "<<", "", "<<", "printReg", "(", "DestReg", ",", "TRI", ")", "<<", "", "<<", "FrameIndex", "<<", "", ")", ";"], "ground_truth": ["BuildMI", "(", "MBB", ",", "I", ",", "dl", ",", "get", "(", "", ")", ")", ".", "addReg", "(", "DestReg", ",", "RegState", "::", "Define", ")", ".", "addFrameIndex", "(", "FrameIndex", ")", ".", "addImm", "(", "", ")", ".", "addMemOperand", "(", "MMO", ")", ";"], "File": "ARCInstrInfo5", "Func": "loadRegFromStackSlot", "Target": "ARC", "Target_Clf": "MPU", "Compiler_Type": "LLVM", "Idx": 192770, "Length": 94, "Cover_Rate": 0.47474747474747475} {"Template_token": ["", "MachineFunction", "&", "MF", "=", "*", "MBB", ".", "getParent", "(", ")", ";", "MachineFrameInfo", "&", "MFI", "=", "MF", ".", "getFrameInfo", "(", ")", ";", "MachineMemOperand", "*", "MMO", "=", "MF", ".", "getMachineMemOperand", "(", "MachinePointerInfo", "::", "getFixedStack", "(", "MF", ",", "FrameIndex", ")", ",", "MachineMemOperand", "::", "MOStore", ",", "MFI", ".", "getObjectSize", "(", "FrameIndex", ")", ",", "MFI", ".", "getObjectAlign", "(", "FrameIndex", ")", ")", ";", "assert", "(", "MMO", "&&", "", ")", ";", "assert", "(", "TRI", "->", "getSpillSize", "(", "*", "RC", ")", "==", "", "&&", "", ")", ";", "assert", "(", "", ".", "hasSubClassEq", "(", "RC", ")", "&&", "", ")", ";", "LLVM_DEBUG", "(", "dbgs", "(", ")", "<<", "", "<<", "printReg", "(", "SrcReg", ",", "TRI", ")", "<<", "", "<<", "FrameIndex", "<<", "", ")", ";", "BuildMI", "(", "MBB", ",", "I", ",", "dl", ",", "get", "(", "", ")", ")", ".", "addReg", "(", "SrcReg", ",", "getKillRegState", "(", "isKill", ")", ")", ".", "addFrameIndex", "(", "FrameIndex", ")", ".", "addImm", "(", "", ")", ".", "addMemOperand", "(", "MMO", ")", ";"], "ground_truth": ["}"], "File": "ARCInstrInfo5", "Func": "storeRegToStackSlot", "Target": "ARC", "Target_Clf": "MPU", "Compiler_Type": "LLVM", "Idx": 192771, "Length": 153, "Cover_Rate": 0.7574257425742574} {"Template_token": ["", "DebugLoc", "dl", "=", "MBB", ".", "findDebugLoc", "(", "I", ")", ";", "MachineFunction", "&", "MF", "=", "*", "MBB", ".", "getParent", "(", ")", ";", "MachineFrameInfo", "&", "MFI", "=", "MF", ".", "getFrameInfo", "(", ")", ";"], "ground_truth": ["MachineMemOperand", "*", "MMO", "=", "MF", ".", "getMachineMemOperand", "(", "MachinePointerInfo", "::", "getFixedStack", "(", "MF", ",", "FrameIndex", ")", ",", "MachineMemOperand", "::", "MOStore", ",", "MFI", ".", "getObjectSize", "(", "FrameIndex", ")", ",", "MFI", ".", "getObjectAlign", "(", "FrameIndex", ")", ")", ";"], "File": "ARCInstrInfo5", "Func": "storeRegToStackSlot", "Target": "ARC", "Target_Clf": "MPU", "Compiler_Type": "LLVM", "Idx": 192772, "Length": 67, "Cover_Rate": 0.3316831683168317} {"Template_token": ["", "InstrInfo", "::", "InstrInfo", "(", "const", "Subtarget", "&", "ST", ")", ":", "GenInstrInfo", "(", "", ",", "", ")", ",", "ST", "(", "ST", ")", ",", "RI", "(", "ST", ")", "{"], "ground_truth": ["}"], "File": "ARCInstrInfo7", "Func": "ARCInstrInfo", "Target": "ARC", "Target_Clf": "MPU", "Compiler_Type": "LLVM", "Idx": 192773, "Length": 28, "Cover_Rate": 0.875} {"Template_token": ["", "InstrInfo", "::", "InstrInfo", "(", "const", "Subtarget", "&", "ST", ")", ":", "GenInstrInfo", "(", "", ",", "", ")", ",", "ST", "(", "ST", ")", ",", "RI", "(", "ST", ")", "{"], "ground_truth": ["}"], "File": "ARCInstrInfo7", "Func": "ARCInstrInfo", "Target": "ARC", "Target_Clf": "MPU", "Compiler_Type": "LLVM", "Idx": 192774, "Length": 28, "Cover_Rate": 0.875} {"Template_token": ["", "}", "else", "if", "(", "isCondBranchOpcode", "(", "I", "->", "getOpcode", "(", ")", ")", ")", "{", "if", "(", "!", "Cond", ".", "empty", "(", ")", ")", "return", "true", ";", "assert", "(", "!", "FBB", "&&", "", ")", ";", "FBB", "=", "TBB", ";", "TBB", "=", "I", "->", "getOperand", "(", "", ")", ".", "getMBB", "(", ")", ";", "Cond", ".", "push_back", "(", "I", "->", "getOperand", "(", "", ")", ")", ";", "Cond", ".", "push_back", "(", "I", "->", "getOperand", "(", "", ")", ")", ";", "Cond", ".", "push_back", "(", "I", "->", "getOperand", "(", "", ")", ")", ";", "}", "else", "if", "(", "I", "->", "isReturn", "(", ")", ")", "{", "CantAnalyze", "=", "!", "isPredicated", "(", "*", "I", ")", ";", "}", "else", "{", "return", "true", ";", "}", "if", "(", "!", "isPredicated", "(", "*", "I", ")", "&&", "(", "isUncondBranchOpcode", "(", "I", "->", "getOpcode", "(", ")", ")", "||", "isJumpOpcode", "(", "I", "->", "getOpcode", "(", ")", ")", "||", "I", "->", "isReturn", "(", ")", ")", ")", "{", "Cond", ".", "clear", "(", ")", ";", "FBB", "=", "nullptr", ";", "if", "(", "AllowModify", ")", "{", "MachineBasicBlock", "::", "iterator", "DI", "=", "std", "::", "next", "(", "I", ")", ";", "while", "(", "DI", "!=", "MBB", ".", "end", "(", ")", ")", "{", "MachineInstr", "&", "InstToDelete", "=", "*", "DI", ";"], "ground_truth": ["++", "DI", ";"], "File": "ARCInstrInfo", "Func": "analyzeBranch", "Target": "ARC", "Target_Clf": "MPU", "Compiler_Type": "LLVM", "Idx": 192775, "Length": 198, "Cover_Rate": 0.4937655860349127} {"Template_token": ["", "void", "InstrInfo", "::", "anchor", "(", ")", "{"], "ground_truth": ["}"], "File": "ARCInstrInfo", "Func": "anchor", "Target": "ARC", "Target_Clf": "MPU", "Compiler_Type": "LLVM", "Idx": 192776, "Length": 8, "Cover_Rate": 1.0} {"Template_token": ["", "void", "InstrInfo", "::", "anchor", "(", ")", "{"], "ground_truth": ["}"], "File": "ARCInstrInfo", "Func": "anchor", "Target": "ARC", "Target_Clf": "MPU", "Compiler_Type": "LLVM", "Idx": 192777, "Length": 8, "Cover_Rate": 1.0} {"Template_token": ["", "InstrInfo", "::", "InstrInfo", "(", ")", ":", "GenInstrInfo", "(", "", ",", "", ")", ",", "RI", "(", ")", "{"], "ground_truth": ["}"], "File": "ARCInstrInfo", "Func": "ARCInstrInfo", "Target": "ARC", "Target_Clf": "MPU", "Compiler_Type": "LLVM", "Idx": 192778, "Length": 18, "Cover_Rate": 0.8181818181818182} {"Template_token": ["", "InstrInfo", "::", "InstrInfo", "(", ")", ":", "GenInstrInfo", "(", "", ",", "", ")", ",", "RI", "(", ")", "{"], "ground_truth": ["}"], "File": "ARCInstrInfo", "Func": "ARCInstrInfo", "Target": "ARC", "Target_Clf": "MPU", "Compiler_Type": "LLVM", "Idx": 192779, "Length": 18, "Cover_Rate": 0.8181818181818182} {"Template_token": ["", "assert", "(", "", ".", "contains", "(", "SrcReg", ")", "&&", "", ")", ";", "assert", "(", "", ".", "contains", "(", "DestReg", ")", "&&", "", ")", ";"], "ground_truth": ["BuildMI", "(", "MBB", ",", "I", ",", "dl", ",", "get", "(", "", ")", ",", "DestReg", ")", ".", "addReg", "(", "SrcReg", ",", "getKillRegState", "(", "KillSrc", ")", ")", ";"], "File": "ARCInstrInfo", "Func": "copyPhysReg", "Target": "ARC", "Target_Clf": "MPU", "Compiler_Type": "LLVM", "Idx": 192780, "Length": 50, "Cover_Rate": 0.5747126436781609} {"Template_token": ["", "assert", "(", "", ".", "contains", "(", "SrcReg", ")", "&&", "", ")", ";", "assert", "(", "", ".", "contains", "(", "DestReg", ")", "&&", "", ")", ";"], "ground_truth": ["BuildMI", "(", "MBB", ",", "I", ",", "dl", ",", "get", "(", "", ")", ",", "DestReg", ")", ".", "addReg", "(", "SrcReg", ",", "getKillRegState", "(", "KillSrc", ")", ")", ";"], "File": "ARCInstrInfo", "Func": "copyPhysReg", "Target": "ARC", "Target_Clf": "MPU", "Compiler_Type": "LLVM", "Idx": 192781, "Length": 50, "Cover_Rate": 0.5747126436781609} {"Template_token": ["", "return", "getInlineAsmLength", "(", "AsmStr", ",", "*", "MF", "->", "getTarget", "(", ")", ".", "getMCAsmInfo", "(", ")", ")", ";", "}", "return", "MI", ".", "getDesc", "(", ")", ".", "getSize", "(", ")", ";"], "ground_truth": ["}"], "File": "ARCInstrInfo", "Func": "getInstSizeInBytes", "Target": "ARC", "Target_Clf": "MPU", "Compiler_Type": "LLVM", "Idx": 192782, "Length": 30, "Cover_Rate": 0.3488372093023256} {"Template_token": ["", "const", "char", "*", "AsmStr", "=", "MI", ".", "getOperand", "(", "", ")", ".", "getSymbolName", "(", ")", ";", "return", "getInlineAsmLength", "(", "AsmStr", ",", "*", "MF", "->", "getTarget", "(", ")", ".", "getMCAsmInfo", "(", ")", ")", ";", "}", "return", "MI", ".", "getDesc", "(", ")", ".", "getSize", "(", ")", ";"], "ground_truth": ["}"], "File": "ARCInstrInfo", "Func": "getInstSizeInBytes", "Target": "ARC", "Target_Clf": "MPU", "Compiler_Type": "LLVM", "Idx": 192783, "Length": 46, "Cover_Rate": 0.5348837209302325} {"Template_token": ["", "case", "", ":", "return", "", ";", "case", "", ":", "return", "", ";", "case", "", ":", "return", "", ";", "case", "", ":", "return", "", ";", "case", "", ":", "return", "", ";", "case", "", ":", "return", "", ";", "case", "", ":", "return", "", ";", "case", "", ":", "return", "", ";", "case", "", ":", "return", "", ";", "case", "", ":"], "ground_truth": ["return", "", ";"], "File": "ARCInstrInfo", "Func": "GetOppositeBranchCondition", "Target": "ARC", "Target_Clf": "MPU", "Compiler_Type": "LLVM", "Idx": 192784, "Length": 60, "Cover_Rate": 0.3614457831325301} {"Template_token": ["", "const", "RegisterInfo", "&", "getRegisterInfo", "(", ")", "const", "{"], "ground_truth": ["return", "RI", ";"], "File": "ARCInstrInfo", "Func": "getRegisterInfo", "Target": "ARC", "Target_Clf": "MPU", "Compiler_Type": "LLVM", "Idx": 192785, "Length": 11, "Cover_Rate": 0.9166666666666666} {"Template_token": ["", "return", "RI", ";"], "ground_truth": ["}"], "File": "ARCInstrInfo", "Func": "getRegisterInfo", "Target": "ARC", "Target_Clf": "MPU", "Compiler_Type": "LLVM", "Idx": 192786, "Length": 4, "Cover_Rate": 0.3333333333333333} {"Template_token": ["", "assert", "(", "TBB", "&&", "", ")", ";", "assert", "(", "(", "Cond", ".", "size", "(", ")", "==", "", "||", "Cond", ".", "size", "(", ")", "==", "", ")", "&&", "", ")", ";", "if", "(", "Cond", ".", "empty", "(", ")", ")", "{", "BuildMI", "(", "&", "MBB", ",", "dl", ",", "get", "(", "", ")", ")", ".", "addMBB", "(", "TBB", ")", ";", "return", "", ";", "}", "int", "BccOpc", "=", "Cond", "[", "", "]", ".", "isImm", "(", ")", "?", "", ":", "", ";", "MachineInstrBuilder", "MIB", "=", "BuildMI", "(", "&", "MBB", ",", "dl", ",", "get", "(", "BccOpc", ")", ")", ";", "MIB", ".", "addMBB", "(", "TBB", ")", ";", "for", "(", "unsigned", "i", "=", "", ";", "i", "<", "", ";", "i", "++", ")", "{", "MIB", ".", "add", "(", "Cond", "[", "i", "]", ")", ";", "}", "if", "(", "!", "FBB", ")", "{", "return", "", ";"], "ground_truth": ["}"], "File": "ARCInstrInfo", "Func": "insertBranch", "Target": "ARC", "Target_Clf": "MPU", "Compiler_Type": "LLVM", "Idx": 192787, "Length": 136, "Cover_Rate": 0.6538461538461539} {"Template_token": ["", "static", "bool", "isCondBranchOpcode", "(", "int", "Opc", ")", "{"], "ground_truth": ["return", "Opc", "==", "", "||", "Opc", "==", "", ";"], "File": "ARCInstrInfo", "Func": "isCondBranchOpcode", "Target": "ARC", "Target_Clf": "MPU", "Compiler_Type": "LLVM", "Idx": 192788, "Length": 17, "Cover_Rate": 0.7727272727272727} {"Template_token": ["", "static", "bool", "isJumpOpcode", "(", "int", "Opc", ")", "{"], "ground_truth": ["return", "Opc", "==", "", ";"], "File": "ARCInstrInfo", "Func": "isJumpOpcode", "Target": "ARC", "Target_Clf": "MPU", "Compiler_Type": "LLVM", "Idx": 192790, "Length": 13, "Cover_Rate": 0.8125} {"Template_token": ["", "return", "Opcode", "==", "", "||", "Opcode", "==", "", "||", "Opcode", "==", "", ";"], "ground_truth": ["}"], "File": "ARCInstrInfo", "Func": "isLoad", "Target": "ARC", "Target_Clf": "MPU", "Compiler_Type": "LLVM", "Idx": 192792, "Length": 14, "Cover_Rate": 0.5} {"Template_token": ["", "static", "bool", "isLoad", "(", "int", "Opcode", ")", "{"], "ground_truth": ["return", "Opcode", "==", "", "||", "Opcode", "==", "", "||", "Opcode", "==", "", ";"], "File": "ARCInstrInfo", "Func": "isLoad", "Target": "ARC", "Target_Clf": "MPU", "Compiler_Type": "LLVM", "Idx": 192793, "Length": 21, "Cover_Rate": 0.75} {"Template_token": ["", "unsigned", "InstrInfo", "::", "isLoadFromStackSlot", "(", "const", "MachineInstr", "&", "MI", ",", "int", "&", "FrameIndex", ")", "const", "{", "int", "Opcode", "=", "MI", ".", "getOpcode", "(", ")", ";"], "ground_truth": ["if", "(", "isLoad", "(", "Opcode", ")", ")", "{"], "File": "ARCInstrInfo", "Func": "isLoadFromStackSlot", "Target": "ARC", "Target_Clf": "MPU", "Compiler_Type": "LLVM", "Idx": 192794, "Length": 33, "Cover_Rate": 0.3142857142857143} {"Template_token": ["", "static", "bool", "isStore", "(", "int", "Opcode", ")", "{", "return", "Opcode", "==", "", "||", "Opcode", "==", "", "||", "Opcode", "==", "", ";"], "ground_truth": ["}"], "File": "ARCInstrInfo", "Func": "isStore", "Target": "ARC", "Target_Clf": "MPU", "Compiler_Type": "LLVM", "Idx": 192796, "Length": 22, "Cover_Rate": 0.7857142857142857} {"Template_token": ["", "static", "bool", "isUncondBranchOpcode", "(", "int", "Opc", ")", "{", "return", "Opc", "==", "", ";"], "ground_truth": ["}"], "File": "ARCInstrInfo", "Func": "isUncondBranchOpcode", "Target": "ARC", "Target_Clf": "MPU", "Compiler_Type": "LLVM", "Idx": 192798, "Length": 14, "Cover_Rate": 0.875} {"Template_token": ["", "return", "Opc", "==", "", ";"], "ground_truth": ["}"], "File": "ARCInstrInfo", "Func": "isUncondBranchOpcode", "Target": "ARC", "Target_Clf": "MPU", "Compiler_Type": "LLVM", "Idx": 192799, "Length": 6, "Cover_Rate": 0.375} {"Template_token": ["", "static", "bool", "isZeroImm", "(", "const", "MachineOperand", "&", "Op", ")", "{", "return", "Op", ".", "isImm", "(", ")", "&&", "Op", ".", "getImm", "(", ")", "==", "", ";"], "ground_truth": ["}"], "File": "ARCInstrInfo", "Func": "isZeroImm", "Target": "ARC", "Target_Clf": "MPU", "Compiler_Type": "LLVM", "Idx": 192800, "Length": 26, "Cover_Rate": 1.0} {"Template_token": ["", "return", "Op", ".", "isImm", "(", ")", "&&", "Op", ".", "getImm", "(", ")", "==", "", ";"], "ground_truth": ["}"], "File": "ARCInstrInfo", "Func": "isZeroImm", "Target": "ARC", "Target_Clf": "MPU", "Compiler_Type": "LLVM", "Idx": 192801, "Length": 16, "Cover_Rate": 0.6153846153846154} {"Template_token": ["", "return", "BuildMI", "(", "MBB", ",", "MI", ",", "dl", ",", "get", "(", "", ")", ",", "Reg", ")", ".", "addImm", "(", "Value", ")", ".", "getInstr", "(", ")", ";", "}", "llvm_unreachable", "(", "", ")", ";"], "ground_truth": ["}"], "File": "ARCInstrInfo", "Func": "loadImmediate", "Target": "ARC", "Target_Clf": "MPU", "Compiler_Type": "LLVM", "Idx": 192802, "Length": 33, "Cover_Rate": 0.4125} {"Template_token": ["", "MachineBasicBlock", "::", "iterator", "InstrInfo", "::", "loadImmediate", "(", "MachineBasicBlock", "&", "MBB", ",", "MachineBasicBlock", "::", "iterator", "MI", ",", "unsigned", "Reg", ",", "uint64_t", "Value", ")", "const", "{", "DebugLoc", "dl", "=", "MBB", ".", "findDebugLoc", "(", "MI", ")", ";"], "ground_truth": ["if", "(", "isInt", "<", "", ">", "(", "Value", ")", ")", "{"], "File": "ARCInstrInfo", "Func": "loadImmediate", "Target": "ARC", "Target_Clf": "MPU", "Compiler_Type": "LLVM", "Idx": 192803, "Length": 45, "Cover_Rate": 0.5625} {"Template_token": ["", "MachineMemOperand", "*", "MMO", "=", "MF", ".", "getMachineMemOperand", "(", "MachinePointerInfo", "::", "getFixedStack", "(", "MF", ",", "FrameIndex", ")", ",", "MachineMemOperand", "::", "MOLoad", ",", "MFI", ".", "getObjectSize", "(", "FrameIndex", ")", ",", "Align", ")", ";", "assert", "(", "MMO", "&&", "", ")", ";", "assert", "(", "TRI", "->", "getSpillSize", "(", "*", "RC", ")", "==", "", "&&", "", ")", ";"], "ground_truth": ["assert", "(", "", ".", "hasSubClassEq", "(", "RC", ")", "&&", "", ")", ";"], "File": "ARCInstrInfo", "Func": "loadRegFromStackSlot", "Target": "ARC", "Target_Clf": "MPU", "Compiler_Type": "LLVM", "Idx": 192804, "Length": 65, "Cover_Rate": 0.32019704433497537} {"Template_token": ["", "bool", "InstrInfo", "::", "reverseBranchCondition", "(", "SmallVectorImpl", "<", "MachineOperand", ">", "&", "Cond", ")", "const", "{", "assert", "(", "(", "Cond", ".", "size", "(", ")", "==", "", ")", "&&", "", ")", ";"], "ground_truth": ["Cond", "[", "", "]", ".", "setImm", "(", "GetOppositeBranchCondition", "(", "(", "", ")", "Cond", "[", "", "]", ".", "getImm", "(", ")", ")", ")", ";"], "File": "ARCInstrInfo", "Func": "reverseBranchCondition", "Target": "ARC", "Target_Clf": "MPU", "Compiler_Type": "LLVM", "Idx": 192806, "Length": 52, "Cover_Rate": 0.896551724137931} {"Template_token": ["", "DebugLoc", "dl", "=", "MBB", ".", "findDebugLoc", "(", "I", ")", ";", "MachineFunction", "&", "MF", "=", "*", "MBB", ".", "getParent", "(", ")", ";", "MachineFrameInfo", "&", "MFI", "=", "MF", ".", "getFrameInfo", "(", ")", ";", "unsigned", "Align", "=", "MFI", ".", "getObjectAlignment", "(", "FrameIndex", ")", ";", "MachineMemOperand", "*", "MMO", "=", "MF", ".", "getMachineMemOperand", "(", "MachinePointerInfo", "::", "getFixedStack", "(", "MF", ",", "FrameIndex", ")", ",", "MachineMemOperand", "::", "MOStore", ",", "MFI", ".", "getObjectSize", "(", "FrameIndex", ")", ",", "Align", ")", ";", "assert", "(", "MMO", "&&", "", ")", ";", "assert", "(", "TRI", "->", "getSpillSize", "(", "*", "RC", ")", "==", "", "&&", "", ")", ";", "assert", "(", "", ".", "hasSubClassEq", "(", "RC", ")", "&&", "", ")", ";", "LLVM_DEBUG", "(", "dbgs", "(", ")", "<<", "", "<<", "printReg", "(", "SrcReg", ",", "TRI", ")", "<<", "", "<<", "FrameIndex", "<<", "", ")", ";", "BuildMI", "(", "MBB", ",", "I", ",", "dl", ",", "get", "(", "", ")", ")", ".", "addReg", "(", "SrcReg", ",", "getKillRegState", "(", "isKill", ")", ")", ".", "addFrameIndex", "(", "FrameIndex", ")", ".", "addImm", "(", "", ")", ".", "addMemOperand", "(", "MMO", ")", ";"], "ground_truth": ["}"], "File": "ARCInstrInfo", "Func": "storeRegToStackSlot", "Target": "ARC", "Target_Clf": "MPU", "Compiler_Type": "LLVM", "Idx": 192807, "Length": 168, "Cover_Rate": 0.8115942028985508} {"Template_token": ["", "DAGToDAGISel", "(", "TargetMachine", "&", "TM", ",", "CodeGenOpt", "::", "Level", "OptLevel", ")", ":", "SelectionDAGISel", "(", "TM", ",", "OptLevel", ")", "{"], "ground_truth": ["}"], "File": "ARCISelDAGToDAG", "Func": "ARCDAGToDAGISel", "Target": "ARC", "Target_Clf": "MPU", "Compiler_Type": "LLVM", "Idx": 192808, "Length": 20, "Cover_Rate": 1.0} {"Template_token": ["", "DAGToDAGISel", "(", "TargetMachine", "&", "TM", ",", "CodeGenOpt", "::", "Level", "OptLevel", ")", ":", "SelectionDAGISel", "(", "TM", ",", "OptLevel", ")", "{"], "ground_truth": ["}"], "File": "ARCISelDAGToDAG", "Func": "ARCDAGToDAGISel", "Target": "ARC", "Target_Clf": "MPU", "Compiler_Type": "LLVM", "Idx": 192809, "Length": 20, "Cover_Rate": 1.0} {"Template_token": ["", "return", "new", "DAGToDAGISel", "(", "TM", ",", "OptLevel", ")", ";"], "ground_truth": ["}"], "File": "ARCISelDAGToDAG", "Func": "createARCISelDag", "Target": "ARC", "Target_Clf": "MPU", "Compiler_Type": "LLVM", "Idx": 192810, "Length": 10, "Cover_Rate": 0.38461538461538464} {"Template_token": ["", "FunctionPass", "*", "llvm", "::", "createISelDag", "(", "TargetMachine", "&", "TM", ",", "CodeGenOpt", "::", "Level", "OptLevel", ")", "{", "return", "new", "DAGToDAGISel", "(", "TM", ",", "OptLevel", ")", ";"], "ground_truth": ["}"], "File": "ARCISelDAGToDAG", "Func": "createARCISelDag", "Target": "ARC", "Target_Clf": "MPU", "Compiler_Type": "LLVM", "Idx": 192811, "Length": 26, "Cover_Rate": 1.0} {"Template_token": ["", "return", "", ";"], "ground_truth": ["}"], "File": "ARCISelDAGToDAG", "Func": "getPassName", "Target": "ARC", "Target_Clf": "MPU", "Compiler_Type": "LLVM", "Idx": 192812, "Length": 4, "Cover_Rate": 0.36363636363636365} {"Template_token": ["", "return", "", ";"], "ground_truth": ["}"], "File": "ARCISelDAGToDAG", "Func": "getPassName", "Target": "ARC", "Target_Clf": "MPU", "Compiler_Type": "LLVM", "Idx": 192813, "Length": 4, "Cover_Rate": 0.36363636363636365} {"Template_token": ["", "if", "(", "Addr", ".", "getOpcode", "(", ")", "==", "", ")", "RHSC", "=", "-", "RHSC", ";", "Base", "=", "Addr", ".", "getOperand", "(", "", ")", ";"], "ground_truth": ["Offset", "=", "CurDAG", "->", "getTargetConstant", "(", "RHSC", ",", "SDLoc", "(", "Addr", ")", ",", "", ")", ";"], "File": "ARCISelDAGToDAG", "Func": "SelectAddrModeFar", "Target": "ARC", "Target_Clf": "MPU", "Compiler_Type": "LLVM", "Idx": 192815, "Length": 40, "Cover_Rate": 0.31007751937984496} {"Template_token": ["", "bool", "DAGToDAGISel", "::", "SelectAddrModeFar", "(", "SDValue", "Addr", ",", "SDValue", "&", "Base", ",", "SDValue", "&", "Offset", ")", "{", "if", "(", "SelectAddrModeS9", "(", "Addr", ",", "Base", ",", "Offset", ")", ")", "return", "false", ";", "if", "(", "Addr", ".", "getOpcode", "(", ")", "==", "", ")", "{", "return", "false", ";", "}", "if", "(", "ConstantSDNode", "*", "RHS", "=", "dyn_cast", "<", "ConstantSDNode", ">", "(", "Addr", ".", "getOperand", "(", "", ")", ")", ")", "{", "int32_t", "RHSC", "=", "RHS", "->", "getSExtValue", "(", ")", ";", "if", "(", "Addr", ".", "getOpcode", "(", ")", "==", "", ")", "RHSC", "=", "-", "RHSC", ";", "Base", "=", "Addr", ".", "getOperand", "(", "", ")", ";", "Offset", "=", "CurDAG", "->", "getTargetConstant", "(", "RHSC", ",", "SDLoc", "(", "Addr", ")", ",", "", ")", ";", "return", "true", ";"], "ground_truth": ["}"], "File": "ARCISelDAGToDAG", "Func": "SelectAddrModeFar", "Target": "ARC", "Target_Clf": "MPU", "Compiler_Type": "LLVM", "Idx": 192816, "Length": 119, "Cover_Rate": 0.9224806201550387} {"Template_token": ["", "if", "(", "Addr", ".", "getOpcode", "(", ")", "==", "", ")", "{"], "ground_truth": ["Base", "=", "Addr", ".", "getOperand", "(", "", ")", ";"], "File": "ARCISelDAGToDAG", "Func": "SelectAddrModeImm", "Target": "ARC", "Target_Clf": "MPU", "Compiler_Type": "LLVM", "Idx": 192817, "Length": 20, "Cover_Rate": 0.3076923076923077} {"Template_token": ["", "Offset", "=", "CurDAG", "->", "getTargetConstant", "(", "", ",", "SDLoc", "(", "Addr", ")", ",", "", ")", ";", "return", "true", ";", "}"], "ground_truth": ["return", "false", ";"], "File": "ARCISelDAGToDAG", "Func": "SelectAddrModeImm", "Target": "ARC", "Target_Clf": "MPU", "Compiler_Type": "LLVM", "Idx": 192818, "Length": 23, "Cover_Rate": 0.35384615384615387} {"Template_token": ["", "return", "false", ";", "}", "if", "(", "Addr", ".", "getOpcode", "(", ")", "!=", "", "&&", "Addr", ".", "getOpcode", "(", ")", "!=", "", "&&", "!", "CurDAG", "->", "isBaseWithConstantOffset", "(", "Addr", ")", ")", "{", "if", "(", "Addr", ".", "getOpcode", "(", ")", "==", "", ")", "{", "int", "FI", "=", "cast", "<", "FrameIndexSDNode", ">", "(", "Addr", ")", "->", "getIndex", "(", ")", ";", "Base", "=", "CurDAG", "->", "getTargetFrameIndex", "(", "FI", ",", "TLI", "->", "getPointerTy", "(", "CurDAG", "->", "getDataLayout", "(", ")", ")", ")", ";", "}", "else", "{", "Base", "=", "Addr", ";", "}", "Offset", "=", "CurDAG", "->", "getTargetConstant", "(", "", ",", "SDLoc", "(", "Addr", ")", ",", "", ")", ";", "return", "true", ";", "}", "if", "(", "ConstantSDNode", "*", "RHS", "=", "dyn_cast", "<", "ConstantSDNode", ">", "(", "Addr", ".", "getOperand", "(", "", ")", ")", ")", "{", "int32_t", "RHSC", "=", "RHS", "->", "getSExtValue", "(", ")", ";", "if", "(", "Addr", ".", "getOpcode", "(", ")", "==", "", ")", "RHSC", "=", "-", "RHSC", ";"], "ground_truth": ["if", "(", "!", "isInt", "<", "", ">", "(", "RHSC", ")", ")", "return", "false", ";"], "File": "ARCISelDAGToDAG", "Func": "SelectAddrModeS9", "Target": "ARC", "Target_Clf": "MPU", "Compiler_Type": "LLVM", "Idx": 192819, "Length": 163, "Cover_Rate": 0.5275080906148867} {"Template_token": ["", "}", "if", "(", "ConstantSDNode", "*", "RHS", "=", "dyn_cast", "<", "ConstantSDNode", ">", "(", "Addr", ".", "getOperand", "(", "", ")", ")", ")", "{", "int32_t", "RHSC", "=", "RHS", "->", "getSExtValue", "(", ")", ";", "if", "(", "Addr", ".", "getOpcode", "(", ")", "==", "", ")", "RHSC", "=", "-", "RHSC", ";", "if", "(", "!", "isInt", "<", "", ">", "(", "RHSC", ")", ")", "return", "false", ";", "Base", "=", "Addr", ".", "getOperand", "(", "", ")", ";", "if", "(", "Base", ".", "getOpcode", "(", ")", "==", "", ")", "{", "int", "FI", "=", "cast", "<", "FrameIndexSDNode", ">", "(", "Base", ")", "->", "getIndex", "(", ")", ";", "Base", "=", "CurDAG", "->", "getTargetFrameIndex", "(", "FI", ",", "TLI", "->", "getPointerTy", "(", "CurDAG", "->", "getDataLayout", "(", ")", ")", ")", ";", "}", "Offset", "=", "CurDAG", "->", "getTargetConstant", "(", "RHSC", ",", "SDLoc", "(", "Addr", ")", ",", "", ")", ";"], "ground_truth": ["return", "true", ";"], "File": "ARCISelDAGToDAG", "Func": "SelectAddrModeS9", "Target": "ARC", "Target_Clf": "MPU", "Compiler_Type": "LLVM", "Idx": 192820, "Length": 134, "Cover_Rate": 0.4336569579288026} {"Template_token": ["", "Pred", "=", "CurDAG", "->", "getTargetConstant", "(", "CN", "->", "getZExtValue", "(", ")", ",", "SDLoc", "(", "N", ")", ",", "", ")", ";"], "ground_truth": ["Reg", "=", "CurDAG", "->", "getRegister", "(", "", ",", "", ")", ";"], "File": "ARCISelDAGToDAG", "Func": "SelectCMOVPred", "Target": "ARC", "Target_Clf": "MPU", "Compiler_Type": "LLVM", "Idx": 192821, "Length": 31, "Cover_Rate": 0.4492753623188406} {"Template_token": ["", "Pred", "=", "CurDAG", "->", "getTargetConstant", "(", "CN", "->", "getZExtValue", "(", ")", ",", "SDLoc", "(", "N", ")", ",", "", ")", ";", "Reg", "=", "CurDAG", "->", "getRegister", "(", "", ",", "", ")", ";", "return", "true", ";"], "ground_truth": ["}"], "File": "ARCISelDAGToDAG", "Func": "SelectCMOVPred", "Target": "ARC", "Target_Clf": "MPU", "Compiler_Type": "LLVM", "Idx": 192822, "Length": 35, "Cover_Rate": 0.5072463768115942} {"Template_token": ["", "return", "true", ";", "}", "if", "(", "Addr", ".", "getOpcode", "(", ")", "==", "", ")", "{", "ConstantSDNode", "*", "CN", "=", "nullptr", ";", "if", "(", "(", "FIN", "=", "dyn_cast", "<", "FrameIndexSDNode", ">", "(", "Addr", ".", "getOperand", "(", "", ")", ")", ")", "&&", "(", "CN", "=", "dyn_cast", "<", "ConstantSDNode", ">", "(", "Addr", ".", "getOperand", "(", "", ")", ")", ")", "&&", "(", "CN", "->", "getSExtValue", "(", ")", "%", "", "==", "", "&&", "CN", "->", "getSExtValue", "(", ")", ">=", "", ")", ")", "{", "Base", "=", "CurDAG", "->", "getTargetFrameIndex", "(", "FIN", "->", "getIndex", "(", ")", ",", "", ")", ";", "Offset", "=", "CurDAG", "->", "getTargetConstant", "(", "CN", "->", "getSExtValue", "(", ")", ",", "SDLoc", "(", "Addr", ")", ",", "", ")", ";"], "ground_truth": ["return", "true", ";"], "File": "ARCISelDAGToDAG", "Func": "SelectFrameADDR_ri", "Target": "ARC", "Target_Clf": "MPU", "Compiler_Type": "LLVM", "Idx": 192823, "Length": 116, "Cover_Rate": 0.5771144278606966} {"Template_token": ["", "ConstantSDNode", "*", "CN", "=", "nullptr", ";", "if", "(", "(", "FIN", "=", "dyn_cast", "<", "FrameIndexSDNode", ">", "(", "Addr", ".", "getOperand", "(", "", ")", ")", ")", "&&", "(", "CN", "=", "dyn_cast", "<", "ConstantSDNode", ">", "(", "Addr", ".", "getOperand", "(", "", ")", ")", ")", "&&", "(", "CN", "->", "getSExtValue", "(", ")", "%", "", "==", "", "&&", "CN", "->", "getSExtValue", "(", ")", ">=", "", ")", ")", "{", "Base", "=", "CurDAG", "->", "getTargetFrameIndex", "(", "FIN", "->", "getIndex", "(", ")", ",", "", ")", ";", "Offset", "=", "CurDAG", "->", "getTargetConstant", "(", "CN", "->", "getSExtValue", "(", ")", ",", "SDLoc", "(", "Addr", ")", ",", "", ")", ";", "return", "true", ";", "}", "}"], "ground_truth": ["return", "false", ";"], "File": "ARCISelDAGToDAG", "Func": "SelectFrameADDR_ri", "Target": "ARC", "Target_Clf": "MPU", "Compiler_Type": "LLVM", "Idx": 192824, "Length": 106, "Cover_Rate": 0.527363184079602} {"Template_token": ["", "DEBUG", "(", "errs", "(", ")", "<<", "", "<<", "(", "unsigned", ")", "RegVT", ".", "getSimpleVT", "(", ")", ".", "SimpleTy", "<<", "", ")", ";", "llvm_unreachable", "(", "", ")", ";", "}", "case", "", ":", "unsigned", "VReg", "=", "RegInfo", ".", "createVirtualRegister", "(", "&", "", ")", ";", "RegInfo", ".", "addLiveIn", "(", "VA", ".", "getLocReg", "(", ")", ",", "VReg", ")", ";", "ArgIn", "=", "DAG", ".", "getCopyFromReg", "(", "Chain", ",", "dl", ",", "VReg", ",", "RegVT", ")", ";", "CFRegNode", ".", "push_back", "(", "ArgIn", ".", "getValue", "(", "ArgIn", "->", "getNumValues", "(", ")", "-", "", ")", ")", ";", "}", "}", "else", "{", "assert", "(", "VA", ".", "isMemLoc", "(", ")", ")", ";", "unsigned", "ObjSize", "=", "VA", ".", "getLocVT", "(", ")", ".", "getStoreSize", "(", ")", ";", "assert", "(", "(", "ObjSize", "<=", "StackSlotSize", ")", "&&", "", ")", ";", "int", "FI", "=", "MFI", ".", "CreateFixedObject", "(", "ObjSize", ",", "VA", ".", "getLocMemOffset", "(", ")", ",", "true", ")", ";", "SDValue", "FIN", "=", "DAG", ".", "getFrameIndex", "(", "FI", ",", "", ")", ";", "ArgIn", "=", "DAG", ".", "getLoad", "(", "VA", ".", "getLocVT", "(", ")", ",", "dl", ",", "Chain", ",", "FIN", ",", "MachinePointerInfo", "::", "getFixedStack", "(", "MF", ",", "FI", ")", ")", ";", "}", "const", "ArgDataPair", "ADP", "=", "{", "ArgIn", ",", "Ins", "[", "i", "]", ".", "Flags", "}", ";", "ArgData", ".", "push_back", "(", "ADP", ")", ";", "}", "if", "(", "IsVarArg", ")", "{", "static", "const", "MCPhysReg", "ArgRegs", "[", "]", "=", "{", "", ",", "", ",", "", ",", "", ",", "", ",", "", ",", "", ",", "", "}", ";", "auto", "*", "AFI", "=", "MF", ".", "getInfo", "<", "FunctionInfo", ">", "(", ")", ";", "unsigned", "FirstVAReg", "=", "CCInfo", ".", "getFirstUnallocated", "(", "ArgRegs", ")", ";", "if", "(", "FirstVAReg", "<", "array_lengthof", "(", "ArgRegs", ")", ")", "{", "int", "Offset", "=", "", ";", "int", "VarFI", "=", "MFI", ".", "CreateFixedObject", "(", "(", "array_lengthof", "(", "ArgRegs", ")", "-", "FirstVAReg", ")", "*", "", ",", "CCInfo", ".", "getNextStackOffset", "(", ")", ",", "true", ")", ";", "AFI", "->", "setVarArgsFrameIndex", "(", "VarFI", ")", ";", "SDValue", "FIN", "=", "DAG", ".", "getFrameIndex", "(", "VarFI", ",", "", ")", ";", "for", "(", "unsigned", "i", "=", "FirstVAReg", ";", "i", "<", "array_lengthof", "(", "ArgRegs", ")", ";", "i", "++", ")", "{", "unsigned", "VReg", "=", "RegInfo", ".", "createVirtualRegister", "(", "&", "", ")", ";"], "ground_truth": ["RegInfo", ".", "addLiveIn", "(", "ArgRegs", "[", "i", "]", ",", "VReg", ")", ";"], "File": "ARCISelLowering10", "Func": "LowerCallArguments", "Target": "ARC", "Target_Clf": "MPU", "Compiler_Type": "LLVM", "Idx": 192825, "Length": 362, "Cover_Rate": 0.3747412008281574} {"Template_token": ["", "assert", "(", "cast", "<", "ConstantSDNode", ">", "(", "Op", ".", "getOperand", "(", "", ")", ")", "->", "getZExtValue", "(", ")", "==", "", "&&", "", ")", ";", "Register", "FrameReg", "=", "ARI", ".", "getFrameRegister", "(", "MF", ")", ";", "return", "DAG", ".", "getCopyFromReg", "(", "DAG", ".", "getEntryNode", "(", ")", ",", "dl", ",", "FrameReg", ",", "VT", ")", ";"], "ground_truth": ["}"], "File": "ARCISelLowering12", "Func": "LowerFRAMEADDR", "Target": "ARC", "Target_Clf": "MPU", "Compiler_Type": "LLVM", "Idx": 192826, "Length": 53, "Cover_Rate": 0.4380165289256198} {"Template_token": ["", "const", "RegisterInfo", "&", "ARI", "=", "*", "Subtarget", ".", "getRegisterInfo", "(", ")", ";", "MachineFunction", "&", "MF", "=", "DAG", ".", "getMachineFunction", "(", ")", ";", "MachineFrameInfo", "&", "MFI", "=", "MF", ".", "getFrameInfo", "(", ")", ";", "MFI", ".", "setFrameAddressIsTaken", "(", "true", ")", ";", "EVT", "VT", "=", "Op", ".", "getValueType", "(", ")", ";", "SDLoc", "dl", "(", "Op", ")", ";", "assert", "(", "cast", "<", "ConstantSDNode", ">", "(", "Op", ".", "getOperand", "(", "", ")", ")", "->", "getZExtValue", "(", ")", "==", "", "&&", "", ")", ";", "Register", "FrameReg", "=", "ARI", ".", "getFrameRegister", "(", "MF", ")", ";", "return", "DAG", ".", "getCopyFromReg", "(", "DAG", ".", "getEntryNode", "(", ")", ",", "dl", ",", "FrameReg", ",", "VT", ")", ";"], "ground_truth": ["}"], "File": "ARCISelLowering12", "Func": "LowerFRAMEADDR", "Target": "ARC", "Target_Clf": "MPU", "Compiler_Type": "LLVM", "Idx": 192827, "Length": 107, "Cover_Rate": 0.8842975206611571} {"Template_token": ["", "assert", "(", "VA", ".", "isMemLoc", "(", ")", ")", ";", "unsigned", "ObjSize", "=", "VA", ".", "getLocVT", "(", ")", ".", "getStoreSize", "(", ")", ";", "assert", "(", "(", "ObjSize", "<=", "StackSlotSize", ")", "&&", "", ")", ";", "int", "FI", "=", "MFI", ".", "CreateFixedObject", "(", "ObjSize", ",", "VA", ".", "getLocMemOffset", "(", ")", ",", "true", ")", ";", "SDValue", "FIN", "=", "DAG", ".", "getFrameIndex", "(", "FI", ",", "", ")", ";", "ArgIn", "=", "DAG", ".", "getLoad", "(", "VA", ".", "getLocVT", "(", ")", ",", "dl", ",", "Chain", ",", "FIN", ",", "MachinePointerInfo", "::", "getFixedStack", "(", "MF", ",", "FI", ")", ")", ";", "}", "const", "ArgDataPair", "ADP", "=", "{", "ArgIn", ",", "Ins", "[", "i", "]", ".", "Flags", "}", ";", "ArgData", ".", "push_back", "(", "ADP", ")", ";", "}", "if", "(", "IsVarArg", ")", "{", "static", "const", "MCPhysReg", "ArgRegs", "[", "]", "=", "{", "", ",", "", ",", "", ",", "", ",", "", ",", "", ",", "", ",", "", "}", ";", "auto", "*", "AFI", "=", "MF", ".", "getInfo", "<", "FunctionInfo", ">", "(", ")", ";", "unsigned", "FirstVAReg", "=", "CCInfo", ".", "getFirstUnallocated", "(", "ArgRegs", ")", ";", "if", "(", "FirstVAReg", "<", "array_lengthof", "(", "ArgRegs", ")", ")", "{", "int", "Offset", "=", "", ";", "int", "VarFI", "=", "MFI", ".", "CreateFixedObject", "(", "(", "array_lengthof", "(", "ArgRegs", ")", "-", "FirstVAReg", ")", "*", "", ",", "CCInfo", ".", "getNextStackOffset", "(", ")", ",", "true", ")", ";", "AFI", "->", "setVarArgsFrameIndex", "(", "VarFI", ")", ";", "SDValue", "FIN", "=", "DAG", ".", "getFrameIndex", "(", "VarFI", ",", "", ")", ";", "for", "(", "unsigned", "i", "=", "FirstVAReg", ";", "i", "<", "array_lengthof", "(", "ArgRegs", ")", ";", "i", "++", ")", "{", "unsigned", "VReg", "=", "RegInfo", ".", "createVirtualRegister", "(", "&", "", ")", ";", "RegInfo", ".", "addLiveIn", "(", "ArgRegs", "[", "i", "]", ",", "VReg", ")", ";", "SDValue", "Val", "=", "DAG", ".", "getCopyFromReg", "(", "Chain", ",", "dl", ",", "VReg", ",", "", ")", ";", "CFRegNode", ".", "push_back", "(", "Val", ".", "getValue", "(", "Val", "->", "getNumValues", "(", ")", "-", "", ")", ")", ";", "SDValue", "VAObj", "=", "DAG", ".", "getNode", "(", "", ",", "dl", ",", "", ",", "FIN", ",", "DAG", ".", "getConstant", "(", "Offset", ",", "dl", ",", "", ")", ")", ";", "SDValue", "Store", "=", "DAG", ".", "getStore", "(", "Val", ".", "getValue", "(", "", ")", ",", "dl", ",", "Val", ",", "VAObj", ",", "MachinePointerInfo", "(", ")", ")", ";", "MemOps", ".", "push_back", "(", "Store", ")", ";", "Offset", "+=", "", ";", "}", "}", "else", "{", "llvm_unreachable", "(", "", ")", ";", "}", "}", "if", "(", "!", "CFRegNode", ".", "empty", "(", ")", ")", "Chain", "=", "DAG", ".", "getNode", "(", "", ",", "dl", ",", "", ",", "CFRegNode", ")", ";", "for", "(", "const", "auto", "&", "ArgDI", ":", "ArgData", ")", "{", "if", "(", "ArgDI", ".", "Flags", ".", "isByVal", "(", ")", "&&", "ArgDI", ".", "Flags", ".", "getByValSize", "(", ")", ")", "{"], "ground_truth": ["unsigned", "Size", "=", "ArgDI", ".", "Flags", ".", "getByValSize", "(", ")", ";"], "File": "ARCISelLowering2", "Func": "LowerCallArguments", "Target": "ARC", "Target_Clf": "MPU", "Compiler_Type": "LLVM", "Idx": 192829, "Length": 442, "Cover_Rate": 0.45898234683281414} {"Template_token": ["", "switch", "(", "Op", ".", "getOpcode", "(", ")", ")", "{", "case", "", ":", "return", "LowerGlobalAddress", "(", "Op", ",", "DAG", ")", ";", "case", "", ":", "return", "LowerFRAMEADDR", "(", "Op", ",", "DAG", ")", ";", "case", "", ":", "return", "LowerSELECT_CC", "(", "Op", ",", "DAG", ")", ";", "case", "", ":"], "ground_truth": ["return", "LowerBR_CC", "(", "Op", ",", "DAG", ")", ";"], "File": "ARCISelLowering3", "Func": "LowerOperation", "Target": "ARC", "Target_Clf": "MPU", "Compiler_Type": "LLVM", "Idx": 192830, "Length": 53, "Cover_Rate": 0.3680555555555556} {"Template_token": ["", "LLVM_DEBUG", "(", "dbgs", "(", ")", "<<", "", ")", ";", "LLVM_DEBUG", "(", "N", "->", "dump", "(", "&", "DAG", ")", ")", ";", "LLVM_DEBUG", "(", "dbgs", "(", ")", "<<", "", "<<", "N", "->", "use_size", "(", ")", "<<", "", ")", ";", "switch", "(", "N", "->", "getOpcode", "(", ")", ")", "{", "case", "", ":", "if", "(", "N", "->", "getValueType", "(", "", ")", "==", "", ")", "{", "SDValue", "V", "=", "DAG", ".", "getNode", "(", "", ",", "SDLoc", "(", "N", ")", ",", "DAG", ".", "getVTList", "(", "", ",", "", ")", ",", "N", "->", "getOperand", "(", "", ")", ")", ";", "SDValue", "Op", "=", "DAG", ".", "getNode", "(", "", ",", "SDLoc", "(", "N", ")", ",", "", ",", "V", ")", ";", "Results", ".", "push_back", "(", "Op", ")", ";", "Results", ".", "push_back", "(", "V", ".", "getValue", "(", "", ")", ")", ";", "}", "break", ";", "default", ":", "break", ";", "}"], "ground_truth": ["}"], "File": "ARCISelLowering3", "Func": "ReplaceNodeResults", "Target": "ARC", "Target_Clf": "MPU", "Compiler_Type": "LLVM", "Idx": 192831, "Length": 139, "Cover_Rate": 0.7942857142857143} {"Template_token": ["", "setOperationAction", "(", "", ",", "", ",", "Legal", ")", ";", "setOperationAction", "(", "", ",", "", ",", "Legal", ")", ";", "setOperationAction", "(", "", ",", "", ",", "Legal", ")", ";", "setOperationAction", "(", "", ",", "", ",", "Legal", ")", ";", "setOperationAction", "(", "", ",", "", ",", "Legal", ")", ";", "setOperationAction", "(", "", ",", "", ",", "Legal", ")", ";", "setOperationAction", "(", "", ",", "", ",", "Custom", ")", ";", "setOperationAction", "(", "", ",", "", ",", "Custom", ")", ";", "setOperationAction", "(", "", ",", "", ",", "Expand", ")", ";", "setOperationAction", "(", "", ",", "", ",", "Expand", ")", ";", "setOperationAction", "(", "", ",", "", ",", "Custom", ")", ";", "setOperationAction", "(", "", ",", "", ",", "Legal", ")", ";", "setOperationAction", "(", "", ",", "", ",", "Custom", ")", ";", "setOperationAction", "(", "", ",", "", ",", "Custom", ")", ";", "setOperationAction", "(", "", ",", "", ",", "Expand", ")", ";", "setOperationAction", "(", "", ",", "", ",", "Expand", ")", ";", "setOperationAction", "(", "", ",", "", ",", "Expand", ")", ";", "setOperationAction", "(", "", ",", "", ",", "Expand", ")", ";", "setOperationAction", "(", "", ",", "", ",", "Expand", ")", ";", "setOperationAction", "(", "", ",", "", ",", "Custom", ")", ";", "setOperationAction", "(", "", ",", "", ",", "Legal", ")", ";"], "ground_truth": ["setOperationAction", "(", "", ",", "", ",", "Legal", ")", ";"], "File": "ARCISelLowering4", "Func": "ARCTargetLowering", "Target": "ARC", "Target_Clf": "MPU", "Compiler_Type": "LLVM", "Idx": 192832, "Length": 198, "Cover_Rate": 0.36065573770491804} {"Template_token": ["", "setOperationAction", "(", "", ",", "", ",", "Legal", ")", ";", "setOperationAction", "(", "", ",", "", ",", "Legal", ")", ";", "setOperationAction", "(", "", ",", "", ",", "Legal", ")", ";", "setOperationAction", "(", "", ",", "", ",", "Legal", ")", ";", "setOperationAction", "(", "", ",", "", ",", "Legal", ")", ";", "setOperationAction", "(", "", ",", "", ",", "Legal", ")", ";", "setOperationAction", "(", "", ",", "", ",", "Legal", ")", ";", "setOperationAction", "(", "", ",", "", ",", "Legal", ")", ";", "setOperationAction", "(", "", ",", "", ",", "Legal", ")", ";", "setOperationAction", "(", "", ",", "", ",", "Legal", ")", ";", "setOperationAction", "(", "", ",", "", ",", "Legal", ")", ";", "setOperationAction", "(", "", ",", "", ",", "Legal", ")", ";", "setOperationAction", "(", "", ",", "", ",", "Legal", ")", ";", "setOperationAction", "(", "", ",", "", ",", "Legal", ")", ";", "setOperationAction", "(", "", ",", "", ",", "Legal", ")", ";", "setOperationAction", "(", "", ",", "", ",", "Legal", ")", ";", "setOperationAction", "(", "", ",", "", ",", "Custom", ")", ";", "setOperationAction", "(", "", ",", "", ",", "Custom", ")", ";", "setOperationAction", "(", "", ",", "", ",", "Expand", ")", ";"], "ground_truth": ["setOperationAction", "(", "", ",", "", ",", "Expand", ")", ";"], "File": "ARCISelLowering4", "Func": "ARCTargetLowering", "Target": "ARC", "Target_Clf": "MPU", "Compiler_Type": "LLVM", "Idx": 192833, "Length": 180, "Cover_Rate": 0.32786885245901637} {"Template_token": ["", "setBooleanContents", "(", "ZeroOrOneBooleanContent", ")", ";", "setBooleanVectorContents", "(", "ZeroOrOneBooleanContent", ")", ";", "for", "(", "unsigned", "Opc", "=", "", ";", "Opc", "<", "", ";", "++", "Opc", ")", "setOperationAction", "(", "Opc", ",", "", ",", "Expand", ")", ";", "setOperationAction", "(", "", ",", "", ",", "Legal", ")", ";", "setOperationAction", "(", "", ",", "", ",", "Legal", ")", ";", "setOperationAction", "(", "", ",", "", ",", "Legal", ")", ";", "setOperationAction", "(", "", ",", "", ",", "Legal", ")", ";", "setOperationAction", "(", "", ",", "", ",", "Legal", ")", ";", "setOperationAction", "(", "", ",", "", ",", "Legal", ")", ";", "setOperationAction", "(", "", ",", "", ",", "Legal", ")", ";", "setOperationAction", "(", "", ",", "", ",", "Legal", ")", ";", "setOperationAction", "(", "", ",", "", ",", "Legal", ")", ";", "setOperationAction", "(", "", ",", "", ",", "Legal", ")", ";", "setOperationAction", "(", "", ",", "", ",", "Legal", ")", ";", "setOperationAction", "(", "", ",", "", ",", "Legal", ")", ";", "setOperationAction", "(", "", ",", "", ",", "Legal", ")", ";", "setOperationAction", "(", "", ",", "", ",", "Legal", ")", ";", "setOperationAction", "(", "", ",", "", ",", "Legal", ")", ";", "setOperationAction", "(", "", ",", "", ",", "Legal", ")", ";"], "ground_truth": ["setOperationAction", "(", "", ",", "", ",", "Custom", ")", ";"], "File": "ARCISelLowering9", "Func": "ARCTargetLowering", "Target": "ARC", "Target_Clf": "MPU", "Compiler_Type": "LLVM", "Idx": 192835, "Length": 186, "Cover_Rate": 0.36186770428015563} {"Template_token": ["", "computeRegisterProperties", "(", "Subtarget", ".", "getRegisterInfo", "(", ")", ")", ";", "setStackPointerRegisterToSaveRestore", "(", "", ")", ";", "setSchedulingPreference", "(", "Sched", "::", "Source", ")", ";", "setBooleanContents", "(", "ZeroOrOneBooleanContent", ")", ";", "setBooleanVectorContents", "(", "ZeroOrOneBooleanContent", ")", ";", "for", "(", "unsigned", "Opc", "=", "", ";", "Opc", "<", "", ";", "++", "Opc", ")", "setOperationAction", "(", "Opc", ",", "", ",", "Expand", ")", ";", "setOperationAction", "(", "", ",", "", ",", "Legal", ")", ";", "setOperationAction", "(", "", ",", "", ",", "Legal", ")", ";", "setOperationAction", "(", "", ",", "", ",", "Legal", ")", ";", "setOperationAction", "(", "", ",", "", ",", "Legal", ")", ";", "setOperationAction", "(", "", ",", "", ",", "Legal", ")", ";", "setOperationAction", "(", "", ",", "", ",", "Legal", ")", ";", "setOperationAction", "(", "", ",", "", ",", "Legal", ")", ";", "setOperationAction", "(", "", ",", "", ",", "Legal", ")", ";", "setOperationAction", "(", "", ",", "", ",", "Legal", ")", ";", "setOperationAction", "(", "", ",", "", ",", "Legal", ")", ";", "setOperationAction", "(", "", ",", "", ",", "Legal", ")", ";", "setOperationAction", "(", "", ",", "", ",", "Legal", ")", ";"], "ground_truth": ["setOperationAction", "(", "", ",", "", ",", "Legal", ")", ";"], "File": "ARCISelLowering", "Func": "ARCTargetLowering", "Target": "ARC", "Target_Clf": "MPU", "Compiler_Type": "LLVM", "Idx": 192836, "Length": 171, "Cover_Rate": 0.35040983606557374} {"Template_token": ["", "bool", "TargetLowering", "::", "CanLowerReturn", "(", "CallingConv", "::", "ID", "CallConv", ",", "MachineFunction", "&", "MF", ",", "bool", "IsVarArg", ",", "const", "SmallVectorImpl", "<", "", ">", "&", "Outs", ",", "LLVMContext", "&", "Context", ")", "const", "{", "SmallVector", "<", "CCValAssign", ",", "", ">", "RVLocs", ";", "CCState", "CCInfo", "(", "CallConv", ",", "IsVarArg", ",", "MF", ",", "RVLocs", ",", "Context", ")", ";"], "ground_truth": ["if", "(", "!", "CCInfo", ".", "CheckReturn", "(", "Outs", ",", "RetCC_", ")", ")", "return", "false", ";"], "File": "ARCISelLowering", "Func": "CanLowerReturn", "Target": "ARC", "Target_Clf": "MPU", "Compiler_Type": "LLVM", "Idx": 192837, "Length": 68, "Cover_Rate": 0.7640449438202247} {"Template_token": ["", "case", "", ":", "return", "", ";", "case", "", ":", "return", "", ";", "case", "", ":", "return", "", ";", "case", "", ":", "return", "", ";", "}", "return", "nullptr", ";"], "ground_truth": ["}"], "File": "ARCISelLowering", "Func": "getTargetNodeName", "Target": "ARC", "Target_Clf": "MPU", "Compiler_Type": "LLVM", "Idx": 192838, "Length": 29, "Cover_Rate": 0.4142857142857143} {"Template_token": ["", "return", "", ";", "case", "", ":", "return", "", ";", "case", "", ":", "return", "", ";", "case", "", ":", "return", "", ";", "case", "", ":", "return", "", ";", "case", "", ":", "return", "", ";", "case", "", ":", "return", "", ";", "case", "", ":", "return", "", ";", "case", "", ":"], "ground_truth": ["return", "", ";"], "File": "ARCISelLowering", "Func": "ISDCCtoARCCC", "Target": "ARC", "Target_Clf": "MPU", "Compiler_Type": "LLVM", "Idx": 192839, "Length": 51, "Cover_Rate": 0.3493150684931507} {"Template_token": ["", "case", "", ":", "return", "", ";", "case", "", ":", "return", "", ";", "case", "", ":", "return", "", ";", "case", "", ":", "return", "", ";", "case", "", ":", "return", "", ";", "case", "", ":", "return", "", ";", "case", "", ":", "return", "", ";", "case", "", ":", "return", "", ";", "case", "", ":", "return", "", ";", "default", ":", "llvm_unreachable", "(", "", ")", ";", "}"], "ground_truth": ["}"], "File": "ARCISelLowering", "Func": "ISDCCtoARCCC", "Target": "ARC", "Target_Clf": "MPU", "Compiler_Type": "LLVM", "Idx": 192840, "Length": 63, "Cover_Rate": 0.4315068493150685} {"Template_token": ["", "bool", "TargetLowering", "::", "isLegalAddressingMode", "(", "const", "DataLayout", "&", "DL", ",", "const", "AddrMode", "&", "AM", ",", "Type", "*", "Ty", ",", "unsigned", "AS", ",", "Instruction", "*", "I", ")", "const", "{"], "ground_truth": ["return", "AM", ".", "Scale", "==", "", ";"], "File": "ARCISelLowering", "Func": "isLegalAddressingMode", "Target": "ARC", "Target_Clf": "MPU", "Compiler_Type": "LLVM", "Idx": 192841, "Length": 35, "Cover_Rate": 0.9722222222222222} {"Template_token": ["", "SDValue", "Chain", "=", "Op", ".", "getOperand", "(", "", ")", ";", "", "CC", "=", "cast", "<", "CondCodeSDNode", ">", "(", "Op", ".", "getOperand", "(", "", ")", ")", "->", "get", "(", ")", ";", "SDValue", "LHS", "=", "Op", ".", "getOperand", "(", "", ")", ";", "SDValue", "RHS", "=", "Op", ".", "getOperand", "(", "", ")", ";", "SDValue", "Dest", "=", "Op", ".", "getOperand", "(", "", ")", ";", "SDLoc", "dl", "(", "Op", ")", ";", "", "arcCC", "=", "ISDCCtoCC", "(", "CC", ")", ";", "assert", "(", "LHS", ".", "getValueType", "(", ")", "==", "", "&&", "", ")", ";", "return", "DAG", ".", "getNode", "(", "", ",", "dl", ",", "", ",", "Chain", ",", "Dest", ",", "LHS", ",", "RHS", ",", "DAG", ".", "getConstant", "(", "arcCC", ",", "dl", ",", "", ")", ")", ";"], "ground_truth": ["}"], "File": "ARCISelLowering", "Func": "LowerBR_CC", "Target": "ARC", "Target_Clf": "MPU", "Compiler_Type": "LLVM", "Idx": 192842, "Length": 119, "Cover_Rate": 0.8206896551724138} {"Template_token": ["", "SDValue", "PtrOff", "=", "DAG", ".", "getNode", "(", "", ",", "dl", ",", "getPointerTy", "(", "DAG", ".", "getDataLayout", "(", ")", ")", ",", "StackPtr", ",", "SOffset", ")", ";", "SDValue", "Store", "=", "DAG", ".", "getStore", "(", "Chain", ",", "dl", ",", "Arg", ",", "PtrOff", ",", "MachinePointerInfo", "(", ")", ")", ";", "MemOpChains", ".", "push_back", "(", "Store", ")", ";", "IsTailCall", "=", "false", ";", "}", "}", "if", "(", "!", "MemOpChains", ".", "empty", "(", ")", ")", "Chain", "=", "DAG", ".", "getNode", "(", "", ",", "dl", ",", "", ",", "MemOpChains", ")", ";", "SDValue", "Glue", ";", "for", "(", "unsigned", "i", "=", "", ",", "e", "=", "RegsToPass", ".", "size", "(", ")", ";", "i", "!=", "e", ";", "++", "i", ")", "{", "Chain", "=", "DAG", ".", "getCopyToReg", "(", "Chain", ",", "dl", ",", "RegsToPass", "[", "i", "]", ".", "first", ",", "RegsToPass", "[", "i", "]", ".", "second", ",", "Glue", ")", ";", "Glue", "=", "Chain", ".", "getValue", "(", "", ")", ";", "}", "bool", "IsDirect", "=", "true", ";", "if", "(", "auto", "*", "G", "=", "dyn_cast", "<", "GlobalAddressSDNode", ">", "(", "Callee", ")", ")", "Callee", "=", "DAG", ".", "getTargetGlobalAddress", "(", "G", "->", "getGlobal", "(", ")", ",", "dl", ",", "", ")", ";", "else", "if", "(", "auto", "*", "E", "=", "dyn_cast", "<", "ExternalSymbolSDNode", ">", "(", "Callee", ")", ")", "Callee", "=", "DAG", ".", "getTargetExternalSymbol", "(", "E", "->", "getSymbol", "(", ")", ",", "", ")", ";", "else", "IsDirect", "=", "false", ";", "SDVTList", "NodeTys", "=", "DAG", ".", "getVTList", "(", "", ",", "", ")", ";", "SmallVector", "<", "SDValue", ",", "", ">", "Ops", ";", "Ops", ".", "push_back", "(", "Chain", ")", ";", "Ops", ".", "push_back", "(", "Callee", ")", ";"], "ground_truth": ["for", "(", "unsigned", "i", "=", "", ",", "e", "=", "RegsToPass", ".", "size", "(", ")", ";", "i", "!=", "e", ";", "++", "i", ")", "Ops", ".", "push_back", "(", "DAG", ".", "getRegister", "(", "RegsToPass", "[", "i", "]", ".", "first", ",", "RegsToPass", "[", "i", "]", ".", "second", ".", "getValueType", "(", ")", ")", ")", ";"], "File": "ARCISelLowering", "Func": "LowerCall", "Target": "ARC", "Target_Clf": "MPU", "Compiler_Type": "LLVM", "Idx": 192843, "Length": 300, "Cover_Rate": 0.3033367037411527} {"Template_token": ["", "llvm_unreachable", "(", "", ")", ";", "case", "CallingConv", "::", "C", ":", "case", "CallingConv", "::", "Fast", ":", "return", "LowerCallArguments", "(", "Chain", ",", "CallConv", ",", "IsVarArg", ",", "Ins", ",", "dl", ",", "DAG", ",", "InVals", ")", ";", "}"], "ground_truth": ["}"], "File": "ARCISelLowering", "Func": "LowerFormalArguments", "Target": "ARC", "Target_Clf": "MPU", "Compiler_Type": "LLVM", "Idx": 192845, "Length": 35, "Cover_Rate": 0.4069767441860465} {"Template_token": ["", "MFI", ".", "setFrameAddressIsTaken", "(", "true", ")", ";", "EVT", "VT", "=", "Op", ".", "getValueType", "(", ")", ";", "SDLoc", "dl", "(", "Op", ")", ";", "assert", "(", "cast", "<", "ConstantSDNode", ">", "(", "Op", ".", "getOperand", "(", "", ")", ")", "->", "getZExtValue", "(", ")", "==", "", "&&", "", ")", ";", "unsigned", "FrameReg", "=", "ARI", ".", "getFrameRegister", "(", "MF", ")", ";", "return", "DAG", ".", "getCopyFromReg", "(", "DAG", ".", "getEntryNode", "(", ")", ",", "dl", ",", "FrameReg", ",", "VT", ")", ";"], "ground_truth": ["}"], "File": "ARCISelLowering", "Func": "LowerFRAMEADDR", "Target": "ARC", "Target_Clf": "MPU", "Compiler_Type": "LLVM", "Idx": 192846, "Length": 75, "Cover_Rate": 0.6198347107438017} {"Template_token": ["", "const", "RegisterInfo", "&", "ARI", "=", "*", "Subtarget", ".", "getRegisterInfo", "(", ")", ";", "MachineFunction", "&", "MF", "=", "DAG", ".", "getMachineFunction", "(", ")", ";", "MachineFrameInfo", "&", "MFI", "=", "MF", ".", "getFrameInfo", "(", ")", ";", "MFI", ".", "setFrameAddressIsTaken", "(", "true", ")", ";"], "ground_truth": ["EVT", "VT", "=", "Op", ".", "getValueType", "(", ")", ";"], "File": "ARCISelLowering", "Func": "LowerFRAMEADDR", "Target": "ARC", "Target_Clf": "MPU", "Compiler_Type": "LLVM", "Idx": 192847, "Length": 48, "Cover_Rate": 0.39669421487603307} {"Template_token": ["", "const", "GlobalValue", "*", "GV", "=", "GN", "->", "getGlobal", "(", ")", ";", "SDLoc", "dl", "(", "GN", ")", ";", "int64_t", "Offset", "=", "GN", "->", "getOffset", "(", ")", ";", "SDValue", "GA", "=", "DAG", ".", "getTargetGlobalAddress", "(", "GV", ",", "dl", ",", "", ",", "Offset", ")", ";", "return", "DAG", ".", "getNode", "(", "", ",", "dl", ",", "", ",", "GA", ")", ";"], "ground_truth": ["}"], "File": "ARCISelLowering", "Func": "LowerGlobalAddress", "Target": "ARC", "Target_Clf": "MPU", "Compiler_Type": "LLVM", "Idx": 192848, "Length": 57, "Cover_Rate": 0.6333333333333333} {"Template_token": ["", "int64_t", "Offset", "=", "GN", "->", "getOffset", "(", ")", ";", "SDValue", "GA", "=", "DAG", ".", "getTargetGlobalAddress", "(", "GV", ",", "dl", ",", "", ",", "Offset", ")", ";"], "ground_truth": ["return", "DAG", ".", "getNode", "(", "", ",", "dl", ",", "", ",", "GA", ")", ";"], "File": "ARCISelLowering", "Func": "LowerGlobalAddress", "Target": "ARC", "Target_Clf": "MPU", "Compiler_Type": "LLVM", "Idx": 192849, "Length": 39, "Cover_Rate": 0.43333333333333335} {"Template_token": ["", "auto", "*", "N", "=", "cast", "<", "JumpTableSDNode", ">", "(", "Op", ")", ";", "SDValue", "GA", "=", "DAG", ".", "getTargetJumpTable", "(", "N", "->", "getIndex", "(", ")", ",", "", ")", ";", "return", "DAG", ".", "getNode", "(", "", ",", "SDLoc", "(", "N", ")", ",", "", ",", "GA", ")", ";"], "ground_truth": ["}"], "File": "ARCISelLowering", "Func": "LowerJumpTable", "Target": "ARC", "Target_Clf": "MPU", "Compiler_Type": "LLVM", "Idx": 192850, "Length": 46, "Cover_Rate": 0.696969696969697} {"Template_token": ["", "switch", "(", "Op", ".", "getOpcode", "(", ")", ")", "{", "case", "", ":", "return", "LowerGlobalAddress", "(", "Op", ",", "DAG", ")", ";", "case", "", ":", "return", "LowerFRAMEADDR", "(", "Op", ",", "DAG", ")", ";", "case", "", ":", "return", "LowerSELECT_CC", "(", "Op", ",", "DAG", ")", ";", "case", "", ":"], "ground_truth": ["return", "LowerBR_CC", "(", "Op", ",", "DAG", ")", ";"], "File": "ARCISelLowering", "Func": "LowerOperation", "Target": "ARC", "Target_Clf": "MPU", "Compiler_Type": "LLVM", "Idx": 192851, "Length": 53, "Cover_Rate": 0.43089430894308944} {"Template_token": ["", "CCValAssign", "&", "VA", "=", "RVLocs", "[", "i", "]", ";", "if", "(", "VA", ".", "isRegLoc", "(", ")", ")", "continue", ";", "assert", "(", "VA", ".", "isMemLoc", "(", ")", ")", ";", "if", "(", "IsVarArg", ")", "{", "report_fatal_error", "(", "", ")", ";", "}", "int", "Offset", "=", "VA", ".", "getLocMemOffset", "(", ")", ";", "unsigned", "ObjSize", "=", "VA", ".", "getLocVT", "(", ")", ".", "getStoreSize", "(", ")", ";", "int", "FI", "=", "MFI", ".", "CreateFixedObject", "(", "ObjSize", ",", "Offset", ",", "false", ")", ";", "SDValue", "FIN", "=", "DAG", ".", "getFrameIndex", "(", "FI", ",", "", ")", ";", "MemOpChains", ".", "push_back", "(", "DAG", ".", "getStore", "(", "Chain", ",", "dl", ",", "OutVals", "[", "i", "]", ",", "FIN", ",", "MachinePointerInfo", "::", "getFixedStack", "(", "DAG", ".", "getMachineFunction", "(", ")", ",", "FI", ")", ")", ")", ";", "}"], "ground_truth": ["if", "(", "!", "MemOpChains", ".", "empty", "(", ")", ")", "Chain", "=", "DAG", ".", "getNode", "(", "", ",", "dl", ",", "", ",", "MemOpChains", ")", ";"], "File": "ARCISelLowering", "Func": "LowerReturn", "Target": "ARC", "Target_Clf": "MPU", "Compiler_Type": "LLVM", "Idx": 192852, "Length": 146, "Cover_Rate": 0.3086680761099366} {"Template_token": ["", "unsigned", "ObjSize", "=", "VA", ".", "getLocVT", "(", ")", ".", "getStoreSize", "(", ")", ";", "int", "FI", "=", "MFI", ".", "CreateFixedObject", "(", "ObjSize", ",", "Offset", ",", "false", ")", ";", "SDValue", "FIN", "=", "DAG", ".", "getFrameIndex", "(", "FI", ",", "", ")", ";", "MemOpChains", ".", "push_back", "(", "DAG", ".", "getStore", "(", "Chain", ",", "dl", ",", "OutVals", "[", "i", "]", ",", "FIN", ",", "MachinePointerInfo", "::", "getFixedStack", "(", "DAG", ".", "getMachineFunction", "(", ")", ",", "FI", ")", ")", ")", ";", "}", "if", "(", "!", "MemOpChains", ".", "empty", "(", ")", ")", "Chain", "=", "DAG", ".", "getNode", "(", "", ",", "dl", ",", "", ",", "MemOpChains", ")", ";", "for", "(", "unsigned", "i", "=", "", ",", "e", "=", "RVLocs", ".", "size", "(", ")", ";", "i", "!=", "e", ";", "++", "i", ")", "{", "CCValAssign", "&", "VA", "=", "RVLocs", "[", "i", "]", ";", "if", "(", "!", "VA", ".", "isRegLoc", "(", ")", ")", "continue", ";", "Chain", "=", "DAG", ".", "getCopyToReg", "(", "Chain", ",", "dl", ",", "VA", ".", "getLocReg", "(", ")", ",", "OutVals", "[", "i", "]", ",", "Flag", ")", ";", "Flag", "=", "Chain", ".", "getValue", "(", "", ")", ";", "RetOps", ".", "push_back", "(", "DAG", ".", "getRegister", "(", "VA", ".", "getLocReg", "(", ")", ",", "VA", ".", "getLocVT", "(", ")", ")", ")", ";"], "ground_truth": ["}"], "File": "ARCISelLowering", "Func": "LowerReturn", "Target": "ARC", "Target_Clf": "MPU", "Compiler_Type": "LLVM", "Idx": 192853, "Length": 197, "Cover_Rate": 0.4164904862579281} {"Template_token": ["", "SDValue", "LHS", "=", "Op", ".", "getOperand", "(", "", ")", ";", "SDValue", "RHS", "=", "Op", ".", "getOperand", "(", "", ")", ";", "", "CC", "=", "cast", "<", "CondCodeSDNode", ">", "(", "Op", ".", "getOperand", "(", "", ")", ")", "->", "get", "(", ")", ";", "SDValue", "TVal", "=", "Op", ".", "getOperand", "(", "", ")", ";", "SDValue", "FVal", "=", "Op", ".", "getOperand", "(", "", ")", ";", "SDLoc", "dl", "(", "Op", ")", ";"], "ground_truth": ["", "ArcCC", "=", "ISDCCtoCC", "(", "CC", ")", ";"], "File": "ARCISelLowering", "Func": "LowerSELECT_CC", "Target": "ARC", "Target_Clf": "MPU", "Compiler_Type": "LLVM", "Idx": 192854, "Length": 74, "Cover_Rate": 0.4431137724550898} {"Template_token": ["", "SDValue", "Op0", "=", "Op", ".", "getOperand", "(", "", ")", ";", "SDLoc", "dl", "(", "Op", ")", ";", "assert", "(", "Op", ".", "getValueType", "(", ")", "==", "", "&&", "", ")", ";", "unsigned", "Width", "=", "cast", "<", "VTSDNode", ">", "(", "Op", ".", "getOperand", "(", "", ")", ")", "->", "getVT", "(", ")", ".", "getSizeInBits", "(", ")", ";", "if", "(", "Width", "==", "", "||", "Width", "==", "", ")", "return", "Op", ";", "if", "(", "Width", ">=", "", ")", "{", "return", "{", "}", ";", "}", "SDValue", "LS", "=", "DAG", ".", "getNode", "(", "", ",", "dl", ",", "", ",", "Op0", ",", "DAG", ".", "getConstant", "(", "", "-", "Width", ",", "dl", ",", "", ")", ")", ";", "SDValue", "SR", "=", "DAG", ".", "getNode", "(", "", ",", "dl", ",", "", ",", "LS", ",", "DAG", ".", "getConstant", "(", "", "-", "Width", ",", "dl", ",", "", ")", ")", ";"], "ground_truth": ["return", "SR", ";"], "File": "ARCISelLowering", "Func": "LowerSIGN_EXTEND_INREG", "Target": "ARC", "Target_Clf": "MPU", "Compiler_Type": "LLVM", "Idx": 192855, "Length": 139, "Cover_Rate": 0.8273809523809523} {"Template_token": ["", "assert", "(", "Op", ".", "getValueType", "(", ")", "==", "", "&&", "", ")", ";", "unsigned", "Width", "=", "cast", "<", "VTSDNode", ">", "(", "Op", ".", "getOperand", "(", "", ")", ")", "->", "getVT", "(", ")", ".", "getSizeInBits", "(", ")", ";", "if", "(", "Width", "==", "", "||", "Width", "==", "", ")", "return", "Op", ";", "if", "(", "Width", ">=", "", ")", "{", "return", "{", "}", ";"], "ground_truth": ["}"], "File": "ARCISelLowering", "Func": "LowerSIGN_EXTEND_INREG", "Target": "ARC", "Target_Clf": "MPU", "Compiler_Type": "LLVM", "Idx": 192856, "Length": 62, "Cover_Rate": 0.36904761904761907} {"Template_token": ["", "SDLoc", "dl", "(", "Op", ")", ";", "EVT", "PtrVT", "=", "DAG", ".", "getTargetLoweringInfo", "(", ")", ".", "getPointerTy", "(", "DAG", ".", "getDataLayout", "(", ")", ")", ";", "SDValue", "FR", "=", "DAG", ".", "getFrameIndex", "(", "FuncInfo", "->", "getVarArgsFrameIndex", "(", ")", ",", "PtrVT", ")", ";"], "ground_truth": ["const", "Value", "*", "SV", "=", "cast", "<", "SrcValueSDNode", ">", "(", "Op", ".", "getOperand", "(", "", ")", ")", "->", "getValue", "(", ")", ";"], "File": "ARCISelLowering", "Func": "LowerVASTART", "Target": "ARC", "Target_Clf": "MPU", "Compiler_Type": "LLVM", "Idx": 192857, "Length": 62, "Cover_Rate": 0.4881889763779528} {"Template_token": ["", "bool", "TargetLowering", "::", "mayBeEmittedAsTailCall", "(", "const", "CallInst", "*", "CI", ")", "const", "{"], "ground_truth": ["return", "false", ";"], "File": "ARCISelLowering", "Func": "mayBeEmittedAsTailCall", "Target": "ARC", "Target_Clf": "MPU", "Compiler_Type": "LLVM", "Idx": 192858, "Length": 15, "Cover_Rate": 0.9375} {"Template_token": ["", "bool", "TargetLowering", "::", "mayBeEmittedAsTailCall", "(", "const", "CallInst", "*", "CI", ")", "const", "{", "return", "false", ";"], "ground_truth": ["}"], "File": "ARCISelLowering", "Func": "mayBeEmittedAsTailCall", "Target": "ARC", "Target_Clf": "MPU", "Compiler_Type": "LLVM", "Idx": 192859, "Length": 16, "Cover_Rate": 1.0} {"Template_token": ["", "SDValue", "TargetLowering", "::", "PerformDAGCombine", "(", "SDNode", "*", "N", ",", "DAGCombinerInfo", "&", "DCI", ")", "const", "{", "return", "{", "}", ";"], "ground_truth": ["}"], "File": "ARCISelLowering", "Func": "PerformDAGCombine", "Target": "ARC", "Target_Clf": "MPU", "Compiler_Type": "LLVM", "Idx": 192860, "Length": 20, "Cover_Rate": 1.0} {"Template_token": ["", "SDValue", "TargetLowering", "::", "PerformDAGCombine", "(", "SDNode", "*", "N", ",", "DAGCombinerInfo", "&", "DCI", ")", "const", "{"], "ground_truth": ["return", "{", "}", ";"], "File": "ARCISelLowering", "Func": "PerformDAGCombine", "Target": "ARC", "Target_Clf": "MPU", "Compiler_Type": "LLVM", "Idx": 192861, "Length": 19, "Cover_Rate": 0.95} {"Template_token": ["", "explicit", "FunctionInfo", "(", "MachineFunction", "&", "MF", ")", ":", "ReturnStackOffsetSet", "(", "false", ")", ",", "VarArgsFrameIndex", "(", "", ")", ",", "ReturnStackOffset", "(", "-", "", ")", ",", "MaxCallStackReq", "(", "", ")", "{", "MF", ".", "setAlignment", "(", "", ")", ";"], "ground_truth": ["}"], "File": "ARCMachineFunctionInfo10", "Func": "ARCFunctionInfo", "Target": "ARC", "Target_Clf": "MPU", "Compiler_Type": "LLVM", "Idx": 192862, "Length": 37, "Cover_Rate": 1.0} {"Template_token": ["", "explicit", "FunctionInfo", "(", "MachineFunction", "&", "MF", ")", ":", "ReturnStackOffsetSet", "(", "false", ")", ",", "VarArgsFrameIndex", "(", "", ")", ",", "ReturnStackOffset", "(", "-", "", ")", ",", "MaxCallStackReq", "(", "", ")", "{"], "ground_truth": ["}"], "File": "ARCMachineFunctionInfo3", "Func": "ARCFunctionInfo", "Target": "ARC", "Target_Clf": "MPU", "Compiler_Type": "LLVM", "Idx": 192864, "Length": 30, "Cover_Rate": 1.0} {"Template_token": ["", "explicit", "FunctionInfo", "(", "MachineFunction", "&", "MF", ")", ":", "ReturnStackOffsetSet", "(", "false", ")", ",", "VarArgsFrameIndex", "(", "", ")", ",", "ReturnStackOffset", "(", "-", "", ")", ",", "MaxCallStackReq", "(", "", ")", "{"], "ground_truth": ["}"], "File": "ARCMachineFunctionInfo3", "Func": "ARCFunctionInfo", "Target": "ARC", "Target_Clf": "MPU", "Compiler_Type": "LLVM", "Idx": 192865, "Length": 30, "Cover_Rate": 1.0} {"Template_token": ["", "explicit", "FunctionInfo", "(", "MachineFunction", "&", "MF", ")", ":", "ReturnStackOffsetSet", "(", "false", ")", ",", "VarArgsFrameIndex", "(", "", ")", ",", "ReturnStackOffset", "(", "-", "", ")", ",", "MaxCallStackReq", "(", "", ")", "{", "MF", ".", "setAlignment", "(", "Align", "(", "", ")", ")", ";"], "ground_truth": ["}"], "File": "ARCMachineFunctionInfo7", "Func": "ARCFunctionInfo", "Target": "ARC", "Target_Clf": "MPU", "Compiler_Type": "LLVM", "Idx": 192866, "Length": 40, "Cover_Rate": 1.0} {"Template_token": ["", "void", "FunctionInfo", "::", "anchor", "(", ")", "{"], "ground_truth": ["}"], "File": "ARCMachineFunctionInfo", "Func": "anchor", "Target": "ARC", "Target_Clf": "MPU", "Compiler_Type": "LLVM", "Idx": 192868, "Length": 8, "Cover_Rate": 1.0} {"Template_token": ["", "void", "FunctionInfo", "::", "anchor", "(", ")", "{"], "ground_truth": ["}"], "File": "ARCMachineFunctionInfo", "Func": "anchor", "Target": "ARC", "Target_Clf": "MPU", "Compiler_Type": "LLVM", "Idx": 192869, "Length": 8, "Cover_Rate": 1.0} {"Template_token": ["", "explicit", "FunctionInfo", "(", "MachineFunction", "&", "MF", ")", ":", "ReturnStackOffsetSet", "(", "false", ")", ",", "VarArgsFrameIndex", "(", "", ")", ",", "VarArgFrameBytes", "(", "", ")", ",", "ReturnStackOffset", "(", "-", "", ")", ",", "MaxCallStackReq", "(", "", ")", "{"], "ground_truth": ["MF", ".", "setAlignment", "(", "", ")", ";"], "File": "ARCMachineFunctionInfo", "Func": "ARCFunctionInfo", "Target": "ARC", "Target_Clf": "MPU", "Compiler_Type": "LLVM", "Idx": 192870, "Length": 41, "Cover_Rate": 0.9761904761904762} {"Template_token": ["", "int", "getVarArgsFrameIndex", "(", ")", "const", "{", "return", "VarArgsFrameIndex", ";"], "ground_truth": ["}"], "File": "ARCMachineFunctionInfo", "Func": "getVarArgsFrameIndex", "Target": "ARC", "Target_Clf": "MPU", "Compiler_Type": "LLVM", "Idx": 192875, "Length": 10, "Cover_Rate": 1.0} {"Template_token": ["", "void", "setReturnStackOffset", "(", "unsigned", "value", ")", "{", "assert", "(", "!", "ReturnStackOffsetSet", "&&", "", ")", ";", "ReturnStackOffset", "=", "value", ";"], "ground_truth": ["ReturnStackOffsetSet", "=", "true", ";"], "File": "ARCMachineFunctionInfo", "Func": "setReturnStackOffset", "Target": "ARC", "Target_Clf": "MPU", "Compiler_Type": "LLVM", "Idx": 192876, "Length": 23, "Cover_Rate": 0.9583333333333334} {"Template_token": ["", "ReturnStackOffset", "=", "value", ";"], "ground_truth": ["ReturnStackOffsetSet", "=", "true", ";"], "File": "ARCMachineFunctionInfo", "Func": "setReturnStackOffset", "Target": "ARC", "Target_Clf": "MPU", "Compiler_Type": "LLVM", "Idx": 192877, "Length": 8, "Cover_Rate": 0.3333333333333333} {"Template_token": ["", "~", "FunctionInfo", "(", ")", "{"], "ground_truth": ["}"], "File": "ARCMachineFunctionInfo", "Func": "~ARCFunctionInfo", "Target": "ARC", "Target_Clf": "MPU", "Compiler_Type": "LLVM", "Idx": 192880, "Length": 6, "Cover_Rate": 1.0} {"Template_token": ["", "~", "FunctionInfo", "(", ")", "{"], "ground_truth": ["}"], "File": "ARCMachineFunctionInfo", "Func": "~ARCFunctionInfo", "Target": "ARC", "Target_Clf": "MPU", "Compiler_Type": "LLVM", "Idx": 192881, "Length": 6, "Cover_Rate": 1.0} {"Template_token": ["", "void", "MCAsmInfo", "::", "anchor", "(", ")", "{"], "ground_truth": ["}"], "File": "ARCMCAsmInfo", "Func": "anchor", "Target": "ARC", "Target_Clf": "MPU", "Compiler_Type": "LLVM", "Idx": 192882, "Length": 8, "Cover_Rate": 1.0} {"Template_token": ["", "void", "MCAsmInfo", "::", "anchor", "(", ")", "{"], "ground_truth": ["}"], "File": "ARCMCAsmInfo", "Func": "anchor", "Target": "ARC", "Target_Clf": "MPU", "Compiler_Type": "LLVM", "Idx": 192883, "Length": 8, "Cover_Rate": 1.0} {"Template_token": ["", "Data32bitsDirective", "=", "", ";", "Data64bitsDirective", "=", "nullptr", ";", "ZeroDirective", "=", "", ";", "CommentString", "=", "", ";"], "ground_truth": ["UsesELFSectionDirectiveForBSS", "=", "true", ";"], "File": "ARCMCAsmInfo", "Func": "ARCMCAsmInfo", "Target": "ARC", "Target_Clf": "MPU", "Compiler_Type": "LLVM", "Idx": 192884, "Length": 20, "Cover_Rate": 0.3076923076923077} {"Template_token": ["", "AllowAtInName", "=", "true", ";", "HiddenVisibilityAttr", "=", "MCSA_Invalid", ";", "HiddenDeclarationVisibilityAttr", "=", "MCSA_Invalid", ";", "ProtectedVisibilityAttr", "=", "MCSA_Invalid", ";", "ExceptionsType", "=", "ExceptionHandling", "::", "DwarfCFI", ";"], "ground_truth": ["DwarfRegNumForCFI", "=", "true", ";"], "File": "ARCMCAsmInfo", "Func": "ARCMCAsmInfo", "Target": "ARC", "Target_Clf": "MPU", "Compiler_Type": "LLVM", "Idx": 192885, "Length": 26, "Cover_Rate": 0.4} {"Template_token": ["", "for", "(", "const", "MachineOperand", "&", "MO", ":", "MI", "->", "operands", "(", ")", ")", "{", "MCOperand", "MCOp", "=", "LowerOperand", "(", "MO", ")", ";", "if", "(", "MCOp", ".", "isValid", "(", ")", ")", "OutMI", ".", "addOperand", "(", "MCOp", ")", ";", "}"], "ground_truth": ["}"], "File": "ARCMCInstLower5", "Func": "Lower", "Target": "ARC", "Target_Clf": "MPU", "Compiler_Type": "LLVM", "Idx": 192886, "Length": 39, "Cover_Rate": 0.5909090909090909} {"Template_token": ["", "MCInstLower", "::", "MCInstLower", "(", "MCContext", "*", "C", ",", "AsmPrinter", "&", "AsmPrinter", ")", ":", "Ctx", "(", "C", ")", ",", "Printer", "(", "AsmPrinter", ")", "{"], "ground_truth": ["}"], "File": "ARCMCInstLower", "Func": "ARCMCInstLower", "Target": "ARC", "Target_Clf": "MPU", "Compiler_Type": "LLVM", "Idx": 192887, "Length": 24, "Cover_Rate": 1.0} {"Template_token": ["", "MCInstLower", "::", "MCInstLower", "(", "MCContext", "*", "C", ",", "AsmPrinter", "&", "AsmPrinter", ")", ":", "Ctx", "(", "C", ")", ",", "Printer", "(", "AsmPrinter", ")", "{"], "ground_truth": ["}"], "File": "ARCMCInstLower", "Func": "ARCMCInstLower", "Target": "ARC", "Target_Clf": "MPU", "Compiler_Type": "LLVM", "Idx": 192888, "Length": 24, "Cover_Rate": 1.0} {"Template_token": ["", "void", "MCInstLower", "::", "Lower", "(", "const", "MachineInstr", "*", "MI", ",", "MCInst", "&", "OutMI", ")", "const", "{"], "ground_truth": ["OutMI", ".", "setOpcode", "(", "MI", "->", "getOpcode", "(", ")", ")", ";"], "File": "ARCMCInstLower", "Func": "Lower", "Target": "ARC", "Target_Clf": "MPU", "Compiler_Type": "LLVM", "Idx": 192889, "Length": 27, "Cover_Rate": 0.3103448275862069} {"Template_token": ["", "OutMI", ".", "setOpcode", "(", "MI", "->", "getOpcode", "(", ")", ")", ";"], "ground_truth": ["for", "(", "unsigned", "i", "=", "", ",", "e", "=", "MI", "->", "getNumOperands", "(", ")", ";", "i", "!=", "e", ";", "++", "i", ")", "{"], "File": "ARCMCInstLower", "Func": "Lower", "Target": "ARC", "Target_Clf": "MPU", "Compiler_Type": "LLVM", "Idx": 192890, "Length": 34, "Cover_Rate": 0.39080459770114945} {"Template_token": ["", "if", "(", "MO", ".", "isImplicit", "(", ")", ")", "break", ";", "return", "MCOperand", "::", "createReg", "(", "MO", ".", "getReg", "(", ")", ")", ";", "case", "MachineOperand", "::", "MO_Immediate", ":", "return", "MCOperand", "::", "createImm", "(", "MO", ".", "getImm", "(", ")", "+", "Offset", ")", ";", "case", "MachineOperand", "::", "MO_MachineBasicBlock", ":", "case", "MachineOperand", "::", "MO_GlobalAddress", ":", "case", "MachineOperand", "::", "MO_ExternalSymbol", ":", "case", "MachineOperand", "::", "MO_JumpTableIndex", ":", "case", "MachineOperand", "::", "MO_ConstantPoolIndex", ":", "case", "MachineOperand", "::", "MO_BlockAddress", ":", "return", "LowerSymbolOperand", "(", "MO", ",", "MOTy", ",", "Offset", ")", ";", "case", "MachineOperand", "::", "MO_RegisterMask", ":"], "ground_truth": ["break", ";"], "File": "ARCMCInstLower", "Func": "LowerOperand", "Target": "ARC", "Target_Clf": "MPU", "Compiler_Type": "LLVM", "Idx": 192891, "Length": 88, "Cover_Rate": 0.6518518518518519} {"Template_token": ["", "switch", "(", "MOTy", ")", "{", "default", ":", "llvm_unreachable", "(", "", ")", ";", "case", "MachineOperand", "::", "MO_Register", ":", "if", "(", "MO", ".", "isImplicit", "(", ")", ")", "break", ";", "return", "MCOperand", "::", "createReg", "(", "MO", ".", "getReg", "(", ")", ")", ";", "case", "MachineOperand", "::", "MO_Immediate", ":", "return", "MCOperand", "::", "createImm", "(", "MO", ".", "getImm", "(", ")", "+", "Offset", ")", ";"], "ground_truth": ["case", "MachineOperand", "::", "MO_MachineBasicBlock", ":"], "File": "ARCMCInstLower", "Func": "LowerOperand", "Target": "ARC", "Target_Clf": "MPU", "Compiler_Type": "LLVM", "Idx": 192892, "Length": 63, "Cover_Rate": 0.4666666666666667} {"Template_token": ["", "case", "MachineOperand", "::", "MO_GlobalAddress", ":", "Symbol", "=", "Printer", ".", "getSymbol", "(", "MO", ".", "getGlobal", "(", ")", ")", ";", "Offset", "+=", "MO", ".", "getOffset", "(", ")", ";", "break", ";", "case", "MachineOperand", "::", "MO_BlockAddress", ":", "Symbol", "=", "Printer", ".", "GetBlockAddressSymbol", "(", "MO", ".", "getBlockAddress", "(", ")", ")", ";", "Offset", "+=", "MO", ".", "getOffset", "(", ")", ";", "break", ";", "case", "MachineOperand", "::", "MO_ExternalSymbol", ":", "Symbol", "=", "Printer", ".", "GetExternalSymbolSymbol", "(", "MO", ".", "getSymbolName", "(", ")", ")", ";", "Offset", "+=", "MO", ".", "getOffset", "(", ")", ";", "break", ";", "case", "MachineOperand", "::", "MO_JumpTableIndex", ":", "Symbol", "=", "Printer", ".", "GetJTISymbol", "(", "MO", ".", "getIndex", "(", ")", ")", ";", "break", ";", "case", "MachineOperand", "::", "MO_ConstantPoolIndex", ":", "Symbol", "=", "Printer", ".", "GetCPISymbol", "(", "MO", ".", "getIndex", "(", ")", ")", ";", "Offset", "+=", "MO", ".", "getOffset", "(", ")", ";", "break", ";", "default", ":", "llvm_unreachable", "(", "", ")", ";", "}", "assert", "(", "Symbol", "&&", "", ")", ";"], "ground_truth": ["const", "MCSymbolRefExpr", "*", "MCSym", "=", "MCSymbolRefExpr", "::", "create", "(", "Symbol", ",", "Kind", ",", "*", "Ctx", ")", ";"], "File": "ARCMCInstLower", "Func": "LowerSymbolOperand", "Target": "ARC", "Target_Clf": "MPU", "Compiler_Type": "LLVM", "Idx": 192893, "Length": 164, "Cover_Rate": 0.5836298932384342} {"Template_token": ["", "MCCFIInstruction", "Inst", "=", "MCCFIInstruction", "::", "cfiDefCfa", "(", "nullptr", ",", "", ",", "", ")", ";", "MAI", "->", "addInitialFrameState", "(", "Inst", ")", ";", "return", "MAI", ";"], "ground_truth": ["}"], "File": "ARCMCTargetDesc1", "Func": "createARCMCAsmInfo", "Target": "ARC", "Target_Clf": "MPU", "Compiler_Type": "LLVM", "Idx": 192896, "Length": 25, "Cover_Rate": 0.43103448275862066} {"Template_token": ["", "Target", "&", "TheTarget", "=", "getTheTarget", "(", ")", ";", "RegisterMCAsmInfoFn", "X", "(", "TheTarget", ",", "createMCAsmInfo", ")", ";", "TargetRegistry", "::", "RegisterMCInstrInfo", "(", "TheTarget", ",", "createMCInstrInfo", ")", ";", "TargetRegistry", "::", "RegisterMCRegInfo", "(", "TheTarget", ",", "createMCRegisterInfo", ")", ";", "TargetRegistry", "::", "RegisterMCSubtargetInfo", "(", "TheTarget", ",", "createMCSubtargetInfo", ")", ";"], "ground_truth": ["TargetRegistry", "::", "RegisterMCInstPrinter", "(", "TheTarget", ",", "createMCInstPrinter", ")", ";"], "File": "ARCMCTargetDesc1", "Func": "LLVMInitializeARCTargetMC", "Target": "ARC", "Target_Clf": "MPU", "Compiler_Type": "LLVM", "Idx": 192897, "Length": 52, "Cover_Rate": 0.7647058823529411} {"Template_token": ["", "auto", "*", "X", "=", "new", "MCRegisterInfo", "(", ")", ";", "InitMCRegisterInfo", "(", "X", ",", "", ")", ";", "return", "X", ";"], "ground_truth": ["}"], "File": "ARCMCTargetDesc7", "Func": "createARCMCRegisterInfo", "Target": "ARC", "Target_Clf": "MPU", "Compiler_Type": "LLVM", "Idx": 192898, "Length": 20, "Cover_Rate": 0.5263157894736842} {"Template_token": ["", "MCAsmInfo", "*", "MAI", "=", "new", "MCAsmInfo", "(", "TT", ")", ";"], "ground_truth": ["MCCFIInstruction", "Inst", "=", "MCCFIInstruction", "::", "createDefCfa", "(", "nullptr", ",", "", ",", "", ")", ";"], "File": "ARCMCTargetDesc8", "Func": "createARCMCAsmInfo", "Target": "ARC", "Target_Clf": "MPU", "Compiler_Type": "LLVM", "Idx": 192899, "Length": 24, "Cover_Rate": 0.41379310344827586} {"Template_token": ["", "TargetStreamer", "::", "TargetStreamer", "(", "MCStreamer", "&", "S", ")", ":", "MCTargetStreamer", "(", "S", ")", "{"], "ground_truth": ["}"], "File": "ARCMCTargetDesc", "Func": "ARCTargetStreamer", "Target": "ARC", "Target_Clf": "MPU", "Compiler_Type": "LLVM", "Idx": 192900, "Length": 15, "Cover_Rate": 1.0} {"Template_token": ["", "TargetStreamer", "::", "TargetStreamer", "(", "MCStreamer", "&", "S", ")", ":", "MCTargetStreamer", "(", "S", ")", "{"], "ground_truth": ["}"], "File": "ARCMCTargetDesc", "Func": "ARCTargetStreamer", "Target": "ARC", "Target_Clf": "MPU", "Compiler_Type": "LLVM", "Idx": 192901, "Length": 15, "Cover_Rate": 1.0} {"Template_token": ["", "MCAsmInfo", "*", "MAI", "=", "new", "MCAsmInfo", "(", "TT", ")", ";", "MCCFIInstruction", "Inst", "=", "MCCFIInstruction", "::", "createDefCfa", "(", "nullptr", ",", "", ",", "", ")", ";", "MAI", "->", "addInitialFrameState", "(", "Inst", ")", ";", "return", "MAI", ";"], "ground_truth": ["}"], "File": "ARCMCTargetDesc", "Func": "createARCMCAsmInfo", "Target": "ARC", "Target_Clf": "MPU", "Compiler_Type": "LLVM", "Idx": 192902, "Length": 35, "Cover_Rate": 0.660377358490566} {"Template_token": ["", "MCAsmInfo", "*", "MAI", "=", "new", "MCAsmInfo", "(", "TT", ")", ";", "MCCFIInstruction", "Inst", "=", "MCCFIInstruction", "::", "createDefCfa", "(", "nullptr", ",", "", ",", "", ")", ";", "MAI", "->", "addInitialFrameState", "(", "Inst", ")", ";"], "ground_truth": ["return", "MAI", ";"], "File": "ARCMCTargetDesc", "Func": "createARCMCAsmInfo", "Target": "ARC", "Target_Clf": "MPU", "Compiler_Type": "LLVM", "Idx": 192903, "Length": 34, "Cover_Rate": 0.6415094339622641} {"Template_token": ["", "static", "MCInstPrinter", "*", "createMCInstPrinter", "(", "const", "Triple", "&", "T", ",", "unsigned", "SyntaxVariant", ",", "const", "MCAsmInfo", "&", "MAI", ",", "const", "MCInstrInfo", "&", "MII", ",", "const", "MCRegisterInfo", "&", "MRI", ")", "{", "return", "new", "InstPrinter", "(", "MAI", ",", "MII", ",", "MRI", ")", ";"], "ground_truth": ["}"], "File": "ARCMCTargetDesc", "Func": "createARCMCInstPrinter", "Target": "ARC", "Target_Clf": "MPU", "Compiler_Type": "LLVM", "Idx": 192904, "Length": 41, "Cover_Rate": 1.0} {"Template_token": ["", "static", "MCInstPrinter", "*", "createMCInstPrinter", "(", "const", "Triple", "&", "T", ",", "unsigned", "SyntaxVariant", ",", "const", "MCAsmInfo", "&", "MAI", ",", "const", "MCInstrInfo", "&", "MII", ",", "const", "MCRegisterInfo", "&", "MRI", ")", "{"], "ground_truth": ["return", "new", "InstPrinter", "(", "MAI", ",", "MII", ",", "MRI", ")", ";"], "File": "ARCMCTargetDesc", "Func": "createARCMCInstPrinter", "Target": "ARC", "Target_Clf": "MPU", "Compiler_Type": "LLVM", "Idx": 192905, "Length": 40, "Cover_Rate": 0.975609756097561} {"Template_token": ["", "auto", "*", "X", "=", "new", "MCInstrInfo", "(", ")", ";"], "ground_truth": ["InitMCInstrInfo", "(", "X", ")", ";"], "File": "ARCMCTargetDesc", "Func": "createARCMCInstrInfo", "Target": "ARC", "Target_Clf": "MPU", "Compiler_Type": "LLVM", "Idx": 192906, "Length": 14, "Cover_Rate": 0.56} {"Template_token": ["", "auto", "*", "X", "=", "new", "MCRegisterInfo", "(", ")", ";"], "ground_truth": ["InitMCRegisterInfo", "(", "X", ",", "", ")", ";"], "File": "ARCMCTargetDesc", "Func": "createARCMCRegisterInfo", "Target": "ARC", "Target_Clf": "MPU", "Compiler_Type": "LLVM", "Idx": 192907, "Length": 16, "Cover_Rate": 0.48484848484848486} {"Template_token": ["", "static", "MCSubtargetInfo", "*", "createMCSubtargetInfo", "(", "const", "Triple", "&", "TT", ",", "StringRef", "CPU", ",", "StringRef", "FS", ")", "{", "return", "createMCSubtargetInfoImpl", "(", "TT", ",", "CPU", ",", "FS", ")", ";"], "ground_truth": ["}"], "File": "ARCMCTargetDesc", "Func": "createARCMCSubtargetInfo", "Target": "ARC", "Target_Clf": "MPU", "Compiler_Type": "LLVM", "Idx": 192908, "Length": 28, "Cover_Rate": 1.0} {"Template_token": ["", "static", "MCTargetStreamer", "*", "createTargetAsmStreamer", "(", "MCStreamer", "&", "S", ",", "formatted_raw_ostream", "&", "OS", ",", "MCInstPrinter", "*", "InstPrint", ",", "bool", "isVerboseAsm", ")", "{", "return", "new", "TargetStreamer", "(", "S", ")", ";"], "ground_truth": ["}"], "File": "ARCMCTargetDesc", "Func": "createTargetAsmStreamer", "Target": "ARC", "Target_Clf": "MPU", "Compiler_Type": "LLVM", "Idx": 192910, "Length": 29, "Cover_Rate": 1.0} {"Template_token": ["", "TargetRegistry", "::", "RegisterMCRegInfo", "(", "TheTarget", ",", "createMCRegisterInfo", ")", ";", "TargetRegistry", "::", "RegisterMCSubtargetInfo", "(", "TheTarget", ",", "createMCSubtargetInfo", ")", ";", "TargetRegistry", "::", "RegisterMCInstPrinter", "(", "TheTarget", ",", "createMCInstPrinter", ")", ";"], "ground_truth": ["TargetRegistry", "::", "RegisterAsmTargetStreamer", "(", "TheTarget", ",", "createTargetAsmStreamer", ")", ";"], "File": "ARCMCTargetDesc", "Func": "LLVMInitializeARCTargetMC", "Target": "ARC", "Target_Clf": "MPU", "Compiler_Type": "LLVM", "Idx": 192911, "Length": 36, "Cover_Rate": 0.5373134328358209} {"Template_token": ["", "RegisterMCAsmInfoFn", "X", "(", "TheTarget", ",", "createMCAsmInfo", ")", ";", "TargetRegistry", "::", "RegisterMCInstrInfo", "(", "TheTarget", ",", "createMCInstrInfo", ")", ";", "TargetRegistry", "::", "RegisterMCRegInfo", "(", "TheTarget", ",", "createMCRegisterInfo", ")", ";", "TargetRegistry", "::", "RegisterMCSubtargetInfo", "(", "TheTarget", ",", "createMCSubtargetInfo", ")", ";"], "ground_truth": ["TargetRegistry", "::", "RegisterMCInstPrinter", "(", "TheTarget", ",", "createMCInstPrinter", ")", ";"], "File": "ARCMCTargetDesc", "Func": "LLVMInitializeARCTargetMC", "Target": "ARC", "Target_Clf": "MPU", "Compiler_Type": "LLVM", "Idx": 192912, "Length": 44, "Cover_Rate": 0.6567164179104478} {"Template_token": ["", "if", "(", "IsStore", ")", "{", "Src", "=", "Ldst", ".", "getOperand", "(", "BasePos", "-", "", ")", ";", "Ldst", ".", "RemoveOperand", "(", "BasePos", "-", "", ")", ";", "}", "Ldst", ".", "setDesc", "(", "AST", "->", "getInstrInfo", "(", ")", "->", "get", "(", "NewOpcode", ")", ")", ";", "Ldst", ".", "addOperand", "(", "MachineOperand", "::", "CreateReg", "(", "NewBase", ",", "true", ")", ")", ";", "if", "(", "IsStore", ")", "Ldst", ".", "addOperand", "(", "Src", ")", ";", "Ldst", ".", "addOperand", "(", "MachineOperand", "::", "CreateReg", "(", "BaseReg", ",", "false", ")", ")", ";"], "ground_truth": ["Ldst", ".", "addOperand", "(", "NewOffset", ")", ";"], "File": "ARCOptAddrMode10", "Func": "changeToAddrMode", "Target": "ARC", "Target_Clf": "MPU", "Compiler_Type": "LLVM", "Idx": 192913, "Length": 88, "Cover_Rate": 0.4808743169398907} {"Template_token": ["", "Register", "BaseReg", "=", "Ldst", ".", "getOperand", "(", "BasePos", ")", ".", "getReg", "(", ")", ";", "Ldst", ".", "RemoveOperand", "(", "OffPos", ")", ";", "Ldst", ".", "RemoveOperand", "(", "BasePos", ")", ";", "if", "(", "IsStore", ")", "{", "Src", "=", "Ldst", ".", "getOperand", "(", "BasePos", "-", "", ")", ";", "Ldst", ".", "RemoveOperand", "(", "BasePos", "-", "", ")", ";", "}", "Ldst", ".", "setDesc", "(", "AST", "->", "getInstrInfo", "(", ")", "->", "get", "(", "NewOpcode", ")", ")", ";", "Ldst", ".", "addOperand", "(", "MachineOperand", "::", "CreateReg", "(", "NewBase", ",", "true", ")", ")", ";", "if", "(", "IsStore", ")", "Ldst", ".", "addOperand", "(", "Src", ")", ";", "Ldst", ".", "addOperand", "(", "MachineOperand", "::", "CreateReg", "(", "BaseReg", ",", "false", ")", ")", ";"], "ground_truth": ["Ldst", ".", "addOperand", "(", "NewOffset", ")", ";"], "File": "ARCOptAddrMode10", "Func": "changeToAddrMode", "Target": "ARC", "Target_Clf": "MPU", "Compiler_Type": "LLVM", "Idx": 192914, "Length": 116, "Cover_Rate": 0.6338797814207651} {"Template_token": ["", "LLVM_DEBUG", "(", "dbgs", "(", ")", "<<", "", ")", ";", "return", "nullptr", ";", "}", "if", "(", "Offset", ".", "getImm", "(", ")", "!=", "", ")", "{", "LLVM_DEBUG", "(", "dbgs", "(", ")", "<<", "", ")", ";", "return", "nullptr", ";", "}", "for", "(", "auto", "&", "Add", ":", "MRI", "->", "use_nodbg_instructions", "(", "B", ")", ")", "{", "int64_t", "Incr", ";", "if", "(", "!", "isAddConstantOp", "(", "Add", ",", "Incr", ")", ")", "continue", ";", "if", "(", "!", "isValidLoadStoreOffset", "(", "Incr", ")", ")", "continue", ";", "SmallVector", "<", "MachineInstr", "*", ",", "", ">", "Uses", ";", "MachineInstr", "*", "MoveTo", "=", "canJoinInstructions", "(", "&", "Ldst", ",", "&", "Add", ",", "&", "Uses", ")", ";", "if", "(", "!", "MoveTo", ")", "continue", ";", "if", "(", "!", "canFixPastUses", "(", "Uses", ",", "Add", ".", "getOperand", "(", "", ")", ",", "B", ")", ")", "continue", ";", "LLVM_DEBUG", "(", "MachineInstr", "*", "First", "=", "&", "Ldst", ";", "MachineInstr", "*", "Last", "=", "&", "Add", ";", "if", "(", "MDT", "->", "dominates", "(", "Last", ",", "First", ")", ")", "std", "::", "swap", "(", "First", ",", "Last", ")", ";", "dbgs", "(", ")", "<<", "", "<<", "*", "First", "<<", "", "<<", "*", "Last", "<<", "", ";", ")", ";", "MachineInstr", "*", "Result", "=", "Ldst", ".", "getNextNode", "(", ")", ";", "if", "(", "MoveTo", "==", "&", "Add", ")", "{"], "ground_truth": ["Ldst", ".", "removeFromParent", "(", ")", ";"], "File": "ARCOptAddrMode10", "Func": "tryToCombine", "Target": "ARC", "Target_Clf": "MPU", "Compiler_Type": "LLVM", "Idx": 192915, "Length": 205, "Cover_Rate": 0.4343220338983051} {"Template_token": ["", "Register", "B", "=", "Base", ".", "getReg", "(", ")", ";", "if", "(", "Register", "::", "isStackSlot", "(", "B", ")", "||", "!", "Register", "::", "isVirtualRegister", "(", "B", ")", ")", "{", "LLVM_DEBUG", "(", "dbgs", "(", ")", "<<", "", ")", ";", "return", "nullptr", ";", "}", "if", "(", "Offset", ".", "getImm", "(", ")", "!=", "", ")", "{", "LLVM_DEBUG", "(", "dbgs", "(", ")", "<<", "", ")", ";", "return", "nullptr", ";", "}", "for", "(", "auto", "&", "Add", ":", "MRI", "->", "use_nodbg_instructions", "(", "B", ")", ")", "{", "int64_t", "Incr", ";", "if", "(", "!", "isAddConstantOp", "(", "Add", ",", "Incr", ")", ")", "continue", ";", "if", "(", "!", "isValidLoadStoreOffset", "(", "Incr", ")", ")", "continue", ";", "SmallVector", "<", "MachineInstr", "*", ",", "", ">", "Uses", ";", "MachineInstr", "*", "MoveTo", "=", "canJoinInstructions", "(", "&", "Ldst", ",", "&", "Add", ",", "&", "Uses", ")", ";", "if", "(", "!", "MoveTo", ")", "continue", ";", "if", "(", "!", "canFixPastUses", "(", "Uses", ",", "Add", ".", "getOperand", "(", "", ")", ",", "B", ")", ")", "continue", ";", "LLVM_DEBUG", "(", "MachineInstr", "*", "First", "=", "&", "Ldst", ";", "MachineInstr", "*", "Last", "=", "&", "Add", ";", "if", "(", "MDT", "->", "dominates", "(", "Last", ",", "First", ")", ")", "std", "::", "swap", "(", "First", ",", "Last", ")", ";"], "ground_truth": ["dbgs", "(", ")", "<<", "", "<<", "*", "First", "<<", "", "<<", "*", "Last", "<<", "", ";"], "File": "ARCOptAddrMode10", "Func": "tryToCombine", "Target": "ARC", "Target_Clf": "MPU", "Compiler_Type": "LLVM", "Idx": 192916, "Length": 206, "Cover_Rate": 0.4364406779661017} {"Template_token": ["", "return", "nullptr", ";", "}", "}", "SmallVector", "<", "MachineInstr", "*", ",", "", ">", "UsesAfterLdst", ";", "SmallVector", "<", "MachineInstr", "*", ",", "", ">", "UsesAfterAdd", ";", "for", "(", "MachineInstr", "&", "MI", ":", "MRI", "->", "use_nodbg_instructions", "(", "BaseReg", ")", ")", "{", "if", "(", "&", "MI", "==", "Ldst", "||", "&", "MI", "==", "Add", ")", "continue", ";", "if", "(", "&", "MI", "!=", "Add", "&&", "MDT", "->", "dominates", "(", "Ldst", ",", "&", "MI", ")", ")", "UsesAfterLdst", ".", "push_back", "(", "&", "MI", ")", ";", "else", "if", "(", "!", "MDT", "->", "dominates", "(", "&", "MI", ",", "Ldst", ")", ")", "return", "nullptr", ";", "if", "(", "MDT", "->", "dominates", "(", "Add", ",", "&", "MI", ")", ")", "UsesAfterAdd", ".", "push_back", "(", "&", "MI", ")", ";", "}", "MachineInstr", "*", "Result", "=", "nullptr", ";", "if", "(", "First", "==", "Add", ")", "{", "if", "(", "noUseOfAddBeforeLoadOrStore", "(", "First", ",", "Last", ")", ")", "{", "Result", "=", "Last", ";", "LLVM_DEBUG", "(", "dbgs", "(", ")", "<<", "", ")", ";", "}", "else", "if", "(", "canHoistLoadStoreTo", "(", "Ldst", ",", "Add", ")", ")", "{", "Result", "=", "First", ";", "LLVM_DEBUG", "(", "dbgs", "(", ")", "<<", "", ")", ";", "}", "}", "else", "{"], "ground_truth": ["Result", "=", "First", ";"], "File": "ARCOptAddrMode1", "Func": "canJoinInstructions", "Target": "ARC", "Target_Clf": "MPU", "Compiler_Type": "LLVM", "Idx": 192917, "Length": 183, "Cover_Rate": 0.43364928909952605} {"Template_token": ["", "MachineInstr", "*", "First", "=", "Add", ";", "MachineInstr", "*", "Last", "=", "Ldst", ";", "if", "(", "MDT", "->", "dominates", "(", "Ldst", ",", "Add", ")", ")", "std", "::", "swap", "(", "First", ",", "Last", ")", ";", "else", "if", "(", "!", "MDT", "->", "dominates", "(", "Add", ",", "Ldst", ")", ")", "return", "nullptr", ";", "LLVM_DEBUG", "(", "dbgs", "(", ")", "<<", "", "<<", "*", "First", "<<", "*", "Last", ")", ";", "unsigned", "BasePos", ",", "OffPos", ";", "if", "(", "!", "AII", "->", "getBaseAndOffsetPosition", "(", "*", "Ldst", ",", "BasePos", ",", "OffPos", ")", ")", "{", "LLVM_DEBUG", "(", "dbgs", "(", ")", "<<", "", ")", ";", "return", "nullptr", ";", "}", "Register", "BaseReg", "=", "Ldst", "->", "getOperand", "(", "BasePos", ")", ".", "getReg", "(", ")", ";", "if", "(", "Ldst", "->", "mayStore", "(", ")", "&&", "Ldst", "->", "getOperand", "(", "", ")", ".", "isReg", "(", ")", ")", "{", "Register", "StReg", "=", "Ldst", "->", "getOperand", "(", "", ")", ".", "getReg", "(", ")", ";", "if", "(", "Add", "->", "getOperand", "(", "", ")", ".", "getReg", "(", ")", "==", "StReg", "||", "BaseReg", "==", "StReg", ")", "{", "LLVM_DEBUG", "(", "dbgs", "(", ")", "<<", "", ")", ";", "return", "nullptr", ";", "}", "}", "SmallVector", "<", "MachineInstr", "*", ",", "", ">", "UsesAfterLdst", ";", "SmallVector", "<", "MachineInstr", "*", ",", "", ">", "UsesAfterAdd", ";", "for", "(", "MachineInstr", "&", "MI", ":", "MRI", "->", "use_nodbg_instructions", "(", "BaseReg", ")", ")", "{", "if", "(", "&", "MI", "==", "Ldst", "||", "&", "MI", "==", "Add", ")", "continue", ";", "if", "(", "&", "MI", "!=", "Add", "&&", "MDT", "->", "dominates", "(", "Ldst", ",", "&", "MI", ")", ")", "UsesAfterLdst", ".", "push_back", "(", "&", "MI", ")", ";", "else", "if", "(", "!", "MDT", "->", "dominates", "(", "&", "MI", ",", "Ldst", ")", ")", "return", "nullptr", ";", "if", "(", "MDT", "->", "dominates", "(", "Add", ",", "&", "MI", ")", ")", "UsesAfterAdd", ".", "push_back", "(", "&", "MI", ")", ";", "}", "MachineInstr", "*", "Result", "=", "nullptr", ";", "if", "(", "First", "==", "Add", ")", "{"], "ground_truth": ["if", "(", "noUseOfAddBeforeLoadOrStore", "(", "First", ",", "Last", ")", ")", "{"], "File": "ARCOptAddrMode1", "Func": "canJoinInstructions", "Target": "ARC", "Target_Clf": "MPU", "Compiler_Type": "LLVM", "Idx": 192918, "Length": 311, "Cover_Rate": 0.7369668246445498} {"Template_token": ["", "Ldst", ".", "setDesc", "(", "AST", "->", "getInstrInfo", "(", ")", "->", "get", "(", "NewOpcode", ")", ")", ";", "Ldst", ".", "addOperand", "(", "MachineOperand", "::", "CreateReg", "(", "NewBase", ",", "true", ")", ")", ";", "if", "(", "IsStore", ")", "Ldst", ".", "addOperand", "(", "Src", ")", ";", "Ldst", ".", "addOperand", "(", "MachineOperand", "::", "CreateReg", "(", "BaseReg", ",", "false", ")", ")", ";", "Ldst", ".", "addOperand", "(", "NewOffset", ")", ";", "LLVM_DEBUG", "(", "dbgs", "(", ")", "<<", "", "<<", "Ldst", ")", ";"], "ground_truth": ["}"], "File": "ARCOptAddrMode1", "Func": "changeToAddrMode", "Target": "ARC", "Target_Clf": "MPU", "Compiler_Type": "LLVM", "Idx": 192919, "Length": 74, "Cover_Rate": 0.40437158469945356} {"Template_token": ["", "MachineBasicBlock", "*", "MBB", "=", "User", "->", "getOperand", "(", "BBOperandIdx", ")", ".", "getMBB", "(", ")", ";", "if", "(", "MBB", "->", "empty", "(", ")", ")", "{", "const", "MachineBasicBlock", "*", "InstBB", "=", "MI", "->", "getParent", "(", ")", ";", "assert", "(", "InstBB", "!=", "MBB", "&&", "", ")", ";", "if", "(", "!", "MDT", "->", "dominates", "(", "InstBB", ",", "MBB", ")", ")", "return", "false", ";", "continue", ";", "}"], "ground_truth": ["User", "=", "&", "*", "MBB", "->", "rbegin", "(", ")", ";"], "File": "ARCOptAddrMode1", "Func": "dominatesAllUsesOf", "Target": "ARC", "Target_Clf": "MPU", "Compiler_Type": "LLVM", "Idx": 192920, "Length": 72, "Cover_Rate": 0.3850267379679144} {"Template_token": ["", "bool", "OptAddrMode", "::", "noUseOfAddBeforeLoadOrStore", "(", "const", "MachineInstr", "*", "Add", ",", "const", "MachineInstr", "*", "Ldst", ")", "{", "Register", "R", "=", "Add", "->", "getOperand", "(", "", ")", ".", "getReg", "(", ")", ";", "return", "dominatesAllUsesOf", "(", "Ldst", ",", "R", ",", "MDT", ",", "MRI", ")", ";"], "ground_truth": ["}"], "File": "ARCOptAddrMode1", "Func": "noUseOfAddBeforeLoadOrStore", "Target": "ARC", "Target_Clf": "MPU", "Compiler_Type": "LLVM", "Idx": 192922, "Length": 43, "Cover_Rate": 1.0} {"Template_token": ["", "AII", "=", "AST", "->", "getInstrInfo", "(", ")", ";", "MRI", "=", "&", "MF", ".", "getRegInfo", "(", ")", ";", "MDT", "=", "&", "getAnalysis", "<", "MachineDominatorTree", ">", "(", ")", ";", "bool", "Changed", "=", "false", ";", "for", "(", "auto", "&", "MBB", ":", "MF", ")", "Changed", "|=", "processBasicBlock", "(", "MBB", ")", ";", "if", "(", "DUMP_AFTER", "(", ")", ")", "MF", ".", "dump", "(", ")", ";", "if", "(", "VIEW_AFTER", "(", ")", ")", "MF", ".", "viewCFG", "(", ")", ";"], "ground_truth": ["return", "Changed", ";"], "File": "ARCOptAddrMode1", "Func": "runOnMachineFunction", "Target": "ARC", "Target_Clf": "MPU", "Compiler_Type": "LLVM", "Idx": 192923, "Length": 74, "Cover_Rate": 0.5323741007194245} {"Template_token": ["", "for", "(", "auto", "&", "MBB", ":", "MF", ")", "Changed", "|=", "processBasicBlock", "(", "MBB", ")", ";", "if", "(", "DUMP_AFTER", "(", ")", ")", "MF", ".", "dump", "(", ")", ";", "if", "(", "VIEW_AFTER", "(", ")", ")", "MF", ".", "viewCFG", "(", ")", ";"], "ground_truth": ["return", "Changed", ";"], "File": "ARCOptAddrMode1", "Func": "runOnMachineFunction", "Target": "ARC", "Target_Clf": "MPU", "Compiler_Type": "LLVM", "Idx": 192924, "Length": 42, "Cover_Rate": 0.302158273381295} {"Template_token": ["", "}", "MachineOperand", "&", "Base", "=", "Ldst", ".", "getOperand", "(", "BasePos", ")", ";", "MachineOperand", "&", "Offset", "=", "Ldst", ".", "getOperand", "(", "OffsetPos", ")", ";", "assert", "(", "Base", ".", "isReg", "(", ")", "&&", "", ")", ";", "if", "(", "!", "Offset", ".", "isImm", "(", ")", ")", "{", "LLVM_DEBUG", "(", "dbgs", "(", ")", "<<", "", ")", ";", "return", "nullptr", ";", "}", "Register", "B", "=", "Base", ".", "getReg", "(", ")", ";", "if", "(", "Register", "::", "isStackSlot", "(", "B", ")", "||", "!", "Register", "::", "isVirtualRegister", "(", "B", ")", ")", "{", "LLVM_DEBUG", "(", "dbgs", "(", ")", "<<", "", ")", ";", "return", "nullptr", ";", "}", "if", "(", "Offset", ".", "getImm", "(", ")", "!=", "", ")", "{", "LLVM_DEBUG", "(", "dbgs", "(", ")", "<<", "", ")", ";", "return", "nullptr", ";", "}", "for", "(", "auto", "&", "Add", ":", "MRI", "->", "use_nodbg_instructions", "(", "B", ")", ")", "{", "int64_t", "Incr", ";", "if", "(", "!", "isAddConstantOp", "(", "Add", ",", "Incr", ")", ")", "continue", ";", "if", "(", "!", "isValidLoadStoreOffset", "(", "Incr", ")", ")", "continue", ";", "SmallVector", "<", "MachineInstr", "*", ",", "", ">", "Uses", ";", "MachineInstr", "*", "MoveTo", "=", "canJoinInstructions", "(", "&", "Ldst", ",", "&", "Add", ",", "&", "Uses", ")", ";", "if", "(", "!", "MoveTo", ")", "continue", ";", "if", "(", "!", "canFixPastUses", "(", "Uses", ",", "Add", ".", "getOperand", "(", "", ")", ",", "B", ")", ")", "continue", ";", "LLVM_DEBUG", "(", "MachineInstr", "*", "First", "=", "&", "Ldst", ";", "MachineInstr", "*", "Last", "=", "&", "Add", ";", "if", "(", "MDT", "->", "dominates", "(", "Last", ",", "First", ")", ")", "std", "::", "swap", "(", "First", ",", "Last", ")", ";", "dbgs", "(", ")", "<<", "", "<<", "*", "First", "<<", "", "<<", "*", "Last", "<<", "", ";"], "ground_truth": [")", ";"], "File": "ARCOptAddrMode1", "Func": "tryToCombine", "Target": "ARC", "Target_Clf": "MPU", "Compiler_Type": "LLVM", "Idx": 192925, "Length": 265, "Cover_Rate": 0.5711206896551724} {"Template_token": ["", "assert", "(", "Base", ".", "isReg", "(", ")", "&&", "", ")", ";", "if", "(", "!", "Offset", ".", "isImm", "(", ")", ")", "{", "LLVM_DEBUG", "(", "dbgs", "(", ")", "<<", "", ")", ";", "return", "nullptr", ";", "}", "Register", "B", "=", "Base", ".", "getReg", "(", ")", ";", "if", "(", "Register", "::", "isStackSlot", "(", "B", ")", "||", "!", "Register", "::", "isVirtualRegister", "(", "B", ")", ")", "{", "LLVM_DEBUG", "(", "dbgs", "(", ")", "<<", "", ")", ";", "return", "nullptr", ";", "}", "if", "(", "Offset", ".", "getImm", "(", ")", "!=", "", ")", "{", "LLVM_DEBUG", "(", "dbgs", "(", ")", "<<", "", ")", ";", "return", "nullptr", ";", "}", "for", "(", "auto", "&", "Add", ":", "MRI", "->", "use_nodbg_instructions", "(", "B", ")", ")", "{", "int64_t", "Incr", ";", "if", "(", "!", "isAddConstantOp", "(", "Add", ",", "Incr", ")", ")", "continue", ";", "if", "(", "!", "isValidLoadStoreOffset", "(", "Incr", ")", ")", "continue", ";", "SmallVector", "<", "MachineInstr", "*", ",", "", ">", "Uses", ";", "MachineInstr", "*", "MoveTo", "=", "canJoinInstructions", "(", "&", "Ldst", ",", "&", "Add", ",", "&", "Uses", ")", ";", "if", "(", "!", "MoveTo", ")", "continue", ";", "if", "(", "!", "canFixPastUses", "(", "Uses", ",", "Add", ".", "getOperand", "(", "", ")", ",", "B", ")", ")", "continue", ";", "LLVM_DEBUG", "(", "MachineInstr", "*", "First", "=", "&", "Ldst", ";", "MachineInstr", "*", "Last", "=", "&", "Add", ";", "if", "(", "MDT", "->", "dominates", "(", "Last", ",", "First", ")", ")", "std", "::", "swap", "(", "First", ",", "Last", ")", ";", "dbgs", "(", ")", "<<", "", "<<", "*", "First", "<<", "", "<<", "*", "Last", "<<", "", ";", ")", ";", "MachineInstr", "*", "Result", "=", "Ldst", ".", "getNextNode", "(", ")", ";", "if", "(", "MoveTo", "==", "&", "Add", ")", "{", "Ldst", ".", "removeFromParent", "(", ")", ";", "Add", ".", "getParent", "(", ")", "->", "insertAfter", "(", "Add", ".", "getIterator", "(", ")", ",", "&", "Ldst", ")", ";", "}", "if", "(", "Result", "==", "&", "Add", ")", "Result", "=", "Result", "->", "getNextNode", "(", ")", ";", "fixPastUses", "(", "Uses", ",", "B", ",", "Incr", ")", ";"], "ground_truth": ["int", "NewOpcode", "=", "", "(", "Ldst", ".", "getOpcode", "(", ")", ")", ";"], "File": "ARCOptAddrMode1", "Func": "tryToCombine", "Target": "ARC", "Target_Clf": "MPU", "Compiler_Type": "LLVM", "Idx": 192926, "Length": 321, "Cover_Rate": 0.6918103448275862} {"Template_token": ["", "unsigned", "ValReg", "=", "IsLoad", "?", "Ldst", "->", "getOperand", "(", "", ")", ".", "getReg", "(", ")", ":", "", ";", "for", "(", ";", "MI", "!=", "ME", "&&", "MI", "!=", "End", ";", "++", "MI", ")", "{", "if", "(", "MI", "->", "isDebugValue", "(", ")", ")", "continue", ";", "if", "(", "MI", "->", "mayStore", "(", ")", "||", "MI", "->", "isCall", "(", ")", "||", "MI", "->", "isInlineAsm", "(", ")", "||", "MI", "->", "hasUnmodeledSideEffects", "(", ")", ")", "return", "false", ";", "if", "(", "IsStore", "&&", "MI", "->", "mayLoad", "(", ")", ")", "return", "false", ";", "if", "(", "ValReg", "&&", "MI", "->", "readsVirtualRegister", "(", "ValReg", ")", ")", "return", "false", ";", "}"], "ground_truth": ["return", "true", ";"], "File": "ARCOptAddrMode6", "Func": "canSinkLoadStoreTo", "Target": "ARC", "Target_Clf": "MPU", "Compiler_Type": "LLVM", "Idx": 192927, "Length": 103, "Cover_Rate": 0.5754189944134078} {"Template_token": ["", "Sign", "=", "-", "", ";", "case", "", ":", "assert", "(", "MI", ".", "getOperand", "(", "", ")", ".", "isImm", "(", ")", "&&", "", ")", ";", "Amount", "=", "Sign", "*", "MI", ".", "getOperand", "(", "", ")", ".", "getImm", "(", ")", ";", "return", "true", ";"], "ground_truth": ["default", ":"], "File": "ARCOptAddrMode9", "Func": "isAddConstantOp", "Target": "ARC", "Target_Clf": "MPU", "Compiler_Type": "LLVM", "Idx": 192928, "Length": 44, "Cover_Rate": 0.5238095238095238} {"Template_token": ["", "OptAddrMode", "(", ")", ":", "MachineFunctionPass", "(", "ID", ")", "{"], "ground_truth": ["}"], "File": "ARCOptAddrMode", "Func": "ARCOptAddrMode", "Target": "ARC", "Target_Clf": "MPU", "Compiler_Type": "LLVM", "Idx": 192929, "Length": 10, "Cover_Rate": 1.0} {"Template_token": ["", "OptAddrMode", "(", ")", ":", "MachineFunctionPass", "(", "ID", ")", "{"], "ground_truth": ["}"], "File": "ARCOptAddrMode", "Func": "ARCOptAddrMode", "Target": "ARC", "Target_Clf": "MPU", "Compiler_Type": "LLVM", "Idx": 192930, "Length": 10, "Cover_Rate": 1.0} {"Template_token": ["", "int64_t", "Dummy", ";", "if", "(", "isAddConstantOp", "(", "*", "MI", ",", "Dummy", ")", ")", "{", "if", "(", "isValidIncrementOffset", "(", "Dummy", "+", "NewOffset", ")", ")", "continue", ";", "return", "false", ";", "}", "if", "(", "isLoadStoreThatCanHandleDisplacement", "(", "AII", ",", "*", "MI", ",", "-", "NewOffset", ")", ")", "continue", ";", "LLVM_DEBUG", "(", "dbgs", "(", ")", "<<", "", "<<", "-", "NewOffset", "<<", "", "<<", "*", "MI", ")", ";", "return", "false", ";"], "ground_truth": ["}"], "File": "ARCOptAddrMode", "Func": "canFixPastUses", "Target": "ARC", "Target_Clf": "MPU", "Compiler_Type": "LLVM", "Idx": 192931, "Length": 65, "Cover_Rate": 0.5416666666666666} {"Template_token": ["", "MachineBasicBlock", "::", "const_iterator", "MI", "(", "To", ")", ",", "ME", "(", "Ldst", ")", ",", "End", "(", "Ldst", "->", "getParent", "(", ")", "->", "end", "(", ")", ")", ";", "bool", "IsStore", "=", "Ldst", "->", "mayStore", "(", ")", ";", "for", "(", ";", "MI", "!=", "ME", "&&", "MI", "!=", "End", ";", "++", "MI", ")", "{", "if", "(", "MI", "->", "isDebugValue", "(", ")", ")", "continue", ";", "if", "(", "MI", "->", "mayStore", "(", ")", "||", "MI", "->", "isCall", "(", ")", "||", "MI", "->", "isInlineAsm", "(", ")", "||", "MI", "->", "hasUnmodeledSideEffects", "(", ")", ")", "return", "false", ";", "if", "(", "IsStore", "&&", "MI", "->", "mayLoad", "(", ")", ")", "return", "false", ";", "}", "for", "(", "auto", "&", "O", ":", "Ldst", "->", "explicit_operands", "(", ")", ")", "{", "if", "(", "!", "O", ".", "isReg", "(", ")", "||", "!", "O", ".", "isUse", "(", ")", ")", "continue", ";", "MachineInstr", "*", "OpDef", "=", "MRI", "->", "getVRegDef", "(", "O", ".", "getReg", "(", ")", ")", ";", "if", "(", "!", "OpDef", "||", "!", "MDT", "->", "dominates", "(", "OpDef", ",", "To", ")", ")", "return", "false", ";", "}"], "ground_truth": ["return", "true", ";"], "File": "ARCOptAddrMode", "Func": "canHoistLoadStoreTo", "Target": "ARC", "Target_Clf": "MPU", "Compiler_Type": "LLVM", "Idx": 192932, "Length": 171, "Cover_Rate": 0.8423645320197044} {"Template_token": ["", "if", "(", "&", "MI", "!=", "Add", "&&", "MDT", "->", "dominates", "(", "Ldst", ",", "&", "MI", ")", ")", "UsesAfterLdst", ".", "push_back", "(", "&", "MI", ")", ";", "else", "if", "(", "!", "MDT", "->", "dominates", "(", "&", "MI", ",", "Ldst", ")", ")", "return", "nullptr", ";", "if", "(", "MDT", "->", "dominates", "(", "Add", ",", "&", "MI", ")", ")", "UsesAfterAdd", ".", "push_back", "(", "&", "MI", ")", ";", "}", "MachineInstr", "*", "Result", "=", "nullptr", ";", "if", "(", "First", "==", "Add", ")", "{", "if", "(", "noUseOfAddBeforeLoadOrStore", "(", "First", ",", "Last", ")", ")", "{", "Result", "=", "Last", ";", "LLVM_DEBUG", "(", "dbgs", "(", ")", "<<", "", ")", ";", "}", "else", "if", "(", "canHoistLoadStoreTo", "(", "Ldst", ",", "Add", ")", ")", "{", "Result", "=", "First", ";", "LLVM_DEBUG", "(", "dbgs", "(", ")", "<<", "", ")", ";", "}", "}", "else", "{", "Result", "=", "First", ";", "LLVM_DEBUG", "(", "dbgs", "(", ")", "<<", "", ")", ";"], "ground_truth": ["}"], "File": "ARCOptAddrMode", "Func": "canJoinInstructions", "Target": "ARC", "Target_Clf": "MPU", "Compiler_Type": "LLVM", "Idx": 192933, "Length": 142, "Cover_Rate": 0.33649289099526064} {"Template_token": ["", "unsigned", "BasePos", ",", "OffPos", ";", "if", "(", "!", "AII", "->", "getBaseAndOffsetPosition", "(", "*", "Ldst", ",", "BasePos", ",", "OffPos", ")", ")", "{", "LLVM_DEBUG", "(", "dbgs", "(", ")", "<<", "", ")", ";", "return", "nullptr", ";", "}", "unsigned", "BaseReg", "=", "Ldst", "->", "getOperand", "(", "BasePos", ")", ".", "getReg", "(", ")", ";", "if", "(", "Ldst", "->", "mayStore", "(", ")", "&&", "Ldst", "->", "getOperand", "(", "", ")", ".", "isReg", "(", ")", ")", "{", "unsigned", "StReg", "=", "Ldst", "->", "getOperand", "(", "", ")", ".", "getReg", "(", ")", ";", "if", "(", "Add", "->", "getOperand", "(", "", ")", ".", "getReg", "(", ")", "==", "StReg", "||", "BaseReg", "==", "StReg", ")", "{", "LLVM_DEBUG", "(", "dbgs", "(", ")", "<<", "", ")", ";", "return", "nullptr", ";", "}", "}", "SmallVector", "<", "MachineInstr", "*", ",", "", ">", "UsesAfterLdst", ";", "SmallVector", "<", "MachineInstr", "*", ",", "", ">", "UsesAfterAdd", ";", "for", "(", "MachineInstr", "&", "MI", ":", "MRI", "->", "use_nodbg_instructions", "(", "BaseReg", ")", ")", "{", "if", "(", "&", "MI", "==", "Ldst", "||", "&", "MI", "==", "Add", ")", "continue", ";", "if", "(", "&", "MI", "!=", "Add", "&&", "MDT", "->", "dominates", "(", "Ldst", ",", "&", "MI", ")", ")", "UsesAfterLdst", ".", "push_back", "(", "&", "MI", ")", ";", "else", "if", "(", "!", "MDT", "->", "dominates", "(", "&", "MI", ",", "Ldst", ")", ")", "return", "nullptr", ";"], "ground_truth": ["if", "(", "MDT", "->", "dominates", "(", "Add", ",", "&", "MI", ")", ")", "UsesAfterAdd", ".", "push_back", "(", "&", "MI", ")", ";"], "File": "ARCOptAddrMode", "Func": "canJoinInstructions", "Target": "ARC", "Target_Clf": "MPU", "Compiler_Type": "LLVM", "Idx": 192934, "Length": 224, "Cover_Rate": 0.5308056872037915} {"Template_token": ["", "MachineBasicBlock", "::", "const_iterator", "MI", "(", "Ldst", ")", ",", "ME", "(", "To", ")", ",", "End", "(", "Ldst", "->", "getParent", "(", ")", "->", "end", "(", ")", ")", ";", "bool", "IsStore", "=", "Ldst", "->", "mayStore", "(", ")", ";", "bool", "IsLoad", "=", "Ldst", "->", "mayLoad", "(", ")", ";", "Register", "ValReg", "=", "IsLoad", "?", "Ldst", "->", "getOperand", "(", "", ")", ".", "getReg", "(", ")", ":", "Register", "(", ")", ";", "for", "(", ";", "MI", "!=", "ME", "&&", "MI", "!=", "End", ";", "++", "MI", ")", "{", "if", "(", "MI", "->", "isDebugValue", "(", ")", ")", "continue", ";", "if", "(", "MI", "->", "mayStore", "(", ")", "||", "MI", "->", "isCall", "(", ")", "||", "MI", "->", "isInlineAsm", "(", ")", "||", "MI", "->", "hasUnmodeledSideEffects", "(", ")", ")", "return", "false", ";"], "ground_truth": ["if", "(", "IsStore", "&&", "MI", "->", "mayLoad", "(", ")", ")", "return", "false", ";"], "File": "ARCOptAddrMode", "Func": "canSinkLoadStoreTo", "Target": "ARC", "Target_Clf": "MPU", "Compiler_Type": "LLVM", "Idx": 192935, "Length": 131, "Cover_Rate": 0.7237569060773481} {"Template_token": ["", "void", "OptAddrMode", "::", "changeToAddrMode", "(", "MachineInstr", "&", "Ldst", ",", "unsigned", "NewOpcode", ",", "unsigned", "NewBase", ",", "MachineOperand", "&", "NewOffset", ")", "{", "bool", "IsStore", "=", "Ldst", ".", "mayStore", "(", ")", ";", "unsigned", "BasePos", ",", "OffPos", ";", "MachineOperand", "Src", "=", "MachineOperand", "::", "CreateImm", "(", "", ")", ";", "AII", "->", "getBaseAndOffsetPosition", "(", "Ldst", ",", "BasePos", ",", "OffPos", ")", ";", "unsigned", "BaseReg", "=", "Ldst", ".", "getOperand", "(", "BasePos", ")", ".", "getReg", "(", ")", ";", "Ldst", ".", "RemoveOperand", "(", "OffPos", ")", ";", "Ldst", ".", "RemoveOperand", "(", "BasePos", ")", ";", "if", "(", "IsStore", ")", "{", "Src", "=", "Ldst", ".", "getOperand", "(", "BasePos", "-", "", ")", ";", "Ldst", ".", "RemoveOperand", "(", "BasePos", "-", "", ")", ";", "}", "Ldst", ".", "setDesc", "(", "AST", "->", "getInstrInfo", "(", ")", "->", "get", "(", "NewOpcode", ")", ")", ";", "Ldst", ".", "addOperand", "(", "MachineOperand", "::", "CreateReg", "(", "NewBase", ",", "true", ")", ")", ";", "if", "(", "IsStore", ")", "Ldst", ".", "addOperand", "(", "Src", ")", ";", "Ldst", ".", "addOperand", "(", "MachineOperand", "::", "CreateReg", "(", "BaseReg", ",", "false", ")", ")", ";", "Ldst", ".", "addOperand", "(", "NewOffset", ")", ";", "LLVM_DEBUG", "(", "dbgs", "(", ")", "<<", "", "<<", "Ldst", ")", ";"], "ground_truth": ["}"], "File": "ARCOptAddrMode", "Func": "changeToAddrMode", "Target": "ARC", "Target_Clf": "MPU", "Compiler_Type": "LLVM", "Idx": 192936, "Length": 183, "Cover_Rate": 1.0} {"Template_token": ["", "Ldst", ".", "RemoveOperand", "(", "OffPos", ")", ";", "Ldst", ".", "RemoveOperand", "(", "BasePos", ")", ";", "if", "(", "IsStore", ")", "{", "Src", "=", "Ldst", ".", "getOperand", "(", "BasePos", "-", "", ")", ";", "Ldst", ".", "RemoveOperand", "(", "BasePos", "-", "", ")", ";", "}", "Ldst", ".", "setDesc", "(", "AST", "->", "getInstrInfo", "(", ")", "->", "get", "(", "NewOpcode", ")", ")", ";", "Ldst", ".", "addOperand", "(", "MachineOperand", "::", "CreateReg", "(", "NewBase", ",", "true", ")", ")", ";", "if", "(", "IsStore", ")", "Ldst", ".", "addOperand", "(", "Src", ")", ";"], "ground_truth": ["Ldst", ".", "addOperand", "(", "MachineOperand", "::", "CreateReg", "(", "BaseReg", ",", "false", ")", ")", ";"], "File": "ARCOptAddrMode", "Func": "changeToAddrMode", "Target": "ARC", "Target_Clf": "MPU", "Compiler_Type": "LLVM", "Idx": 192937, "Length": 95, "Cover_Rate": 0.5191256830601093} {"Template_token": ["", "FunctionPass", "*", "llvm", "::", "createOptAddrMode", "(", ")", "{", "return", "new", "OptAddrMode", "(", ")", ";"], "ground_truth": ["}"], "File": "ARCOptAddrMode", "Func": "createARCOptAddrMode", "Target": "ARC", "Target_Clf": "MPU", "Compiler_Type": "LLVM", "Idx": 192939, "Length": 15, "Cover_Rate": 1.0} {"Template_token": ["", "const", "MachineBasicBlock", "*", "InstBB", "=", "MI", "->", "getParent", "(", ")", ";", "assert", "(", "InstBB", "!=", "MBB", "&&", "", ")", ";", "if", "(", "!", "MDT", "->", "dominates", "(", "InstBB", ",", "MBB", ")", ")", "return", "false", ";", "continue", ";", "}", "User", "=", "&", "*", "MBB", "->", "rbegin", "(", ")", ";", "}", "if", "(", "!", "MDT", "->", "dominates", "(", "MI", ",", "User", ")", ")", "return", "false", ";"], "ground_truth": ["}"], "File": "ARCOptAddrMode", "Func": "dominatesAllUsesOf", "Target": "ARC", "Target_Clf": "MPU", "Compiler_Type": "LLVM", "Idx": 192940, "Length": 65, "Cover_Rate": 0.34759358288770054} {"Template_token": ["", "OffPos", "=", "", ";", "}", "else", "if", "(", "AII", "->", "getBaseAndOffsetPosition", "(", "*", "MI", ",", "BasePos", ",", "OffPos", ")", ")", "{", "MachineOperand", "&", "MO", "=", "MI", "->", "getOperand", "(", "OffPos", ")", ";", "assert", "(", "MO", ".", "isImm", "(", ")", "&&", "", ")", ";", "NewOffset", "+=", "MO", ".", "getImm", "(", ")", ";", "assert", "(", "isValidLoadStoreOffset", "(", "NewOffset", ")", "&&", "", ")", ";"], "ground_truth": ["}", "else", "llvm_unreachable", "(", "", ")", ";"], "File": "ARCOptAddrMode", "Func": "fixPastUses", "Target": "ARC", "Target_Clf": "MPU", "Compiler_Type": "LLVM", "Idx": 192941, "Length": 68, "Cover_Rate": 0.4276729559748428} {"Template_token": ["", "assert", "(", "isValidIncrementOffset", "(", "NewOffset", ")", "&&", "", ")", ";", "BasePos", "=", "", ";", "OffPos", "=", "", ";", "}", "else", "if", "(", "AII", "->", "getBaseAndOffsetPosition", "(", "*", "MI", ",", "BasePos", ",", "OffPos", ")", ")", "{", "MachineOperand", "&", "MO", "=", "MI", "->", "getOperand", "(", "OffPos", ")", ";"], "ground_truth": ["assert", "(", "MO", ".", "isImm", "(", ")", "&&", "", ")", ";"], "File": "ARCOptAddrMode", "Func": "fixPastUses", "Target": "ARC", "Target_Clf": "MPU", "Compiler_Type": "LLVM", "Idx": 192942, "Length": 57, "Cover_Rate": 0.3584905660377358} {"Template_token": ["", "AU", ".", "setPreservesCFG", "(", ")", ";", "MachineFunctionPass", "::", "getAnalysisUsage", "(", "AU", ")", ";"], "ground_truth": ["AU", ".", "addRequired", "<", "MachineDominatorTree", ">", "(", ")", ";"], "File": "ARCOptAddrMode", "Func": "getAnalysisUsage", "Target": "ARC", "Target_Clf": "MPU", "Compiler_Type": "LLVM", "Idx": 192943, "Length": 22, "Cover_Rate": 0.5238095238095238} {"Template_token": ["", "AU", ".", "setPreservesCFG", "(", ")", ";", "MachineFunctionPass", "::", "getAnalysisUsage", "(", "AU", ")", ";"], "ground_truth": ["AU", ".", "addRequired", "<", "MachineDominatorTree", ">", "(", ")", ";"], "File": "ARCOptAddrMode", "Func": "getAnalysisUsage", "Target": "ARC", "Target_Clf": "MPU", "Compiler_Type": "LLVM", "Idx": 192944, "Length": 22, "Cover_Rate": 0.5238095238095238} {"Template_token": ["", "StringRef", "getPassName", "(", ")", "const", "override", "{", "return", "OPTADDRMODE_DESC", ";"], "ground_truth": ["}"], "File": "ARCOptAddrMode", "Func": "getPassName", "Target": "ARC", "Target_Clf": "MPU", "Compiler_Type": "LLVM", "Idx": 192945, "Length": 11, "Cover_Rate": 1.0} {"Template_token": ["", "switch", "(", "MI", ".", "getOpcode", "(", ")", ")", "{", "case", "", ":", "Sign", "=", "-", "", ";", "LLVM_FALLTHROUGH", ";", "case", "", ":", "assert", "(", "MI", ".", "getOperand", "(", "", ")", ".", "isImm", "(", ")", "&&", "", ")", ";"], "ground_truth": ["Amount", "=", "Sign", "*", "MI", ".", "getOperand", "(", "", ")", ".", "getImm", "(", ")", ";"], "File": "ARCOptAddrMode", "Func": "isAddConstantOp", "Target": "ARC", "Target_Clf": "MPU", "Compiler_Type": "LLVM", "Idx": 192946, "Length": 53, "Cover_Rate": 0.6162790697674418} {"Template_token": ["", "if", "(", "!", "MO", ".", "isImm", "(", ")", ")", "return", "false", ";", "int64_t", "Offset", "=", "MO", ".", "getImm", "(", ")", "+", "Disp", ";"], "ground_truth": ["return", "isValidLoadStoreOffset", "(", "Offset", ")", ";"], "File": "ARCOptAddrMode", "Func": "isLoadStoreThatCanHandleDisplacement", "Target": "ARC", "Target_Clf": "MPU", "Compiler_Type": "LLVM", "Idx": 192947, "Length": 29, "Cover_Rate": 0.35365853658536583} {"Template_token": ["", "return", "isUInt", "<", "", ">", "(", "Off", ")", ";"], "ground_truth": ["}"], "File": "ARCOptAddrMode", "Func": "isValidIncrementOffset", "Target": "ARC", "Target_Clf": "MPU", "Compiler_Type": "LLVM", "Idx": 192948, "Length": 10, "Cover_Rate": 0.5555555555555556} {"Template_token": ["", "return", "isUInt", "<", "", ">", "(", "Off", ")", ";"], "ground_truth": ["}"], "File": "ARCOptAddrMode", "Func": "isValidIncrementOffset", "Target": "ARC", "Target_Clf": "MPU", "Compiler_Type": "LLVM", "Idx": 192949, "Length": 10, "Cover_Rate": 0.5555555555555556} {"Template_token": ["", "static", "bool", "isValidLoadStoreOffset", "(", "int64_t", "Off", ")", "{", "return", "isInt", "<", "", ">", "(", "Off", ")", ";"], "ground_truth": ["}"], "File": "ARCOptAddrMode", "Func": "isValidLoadStoreOffset", "Target": "ARC", "Target_Clf": "MPU", "Compiler_Type": "LLVM", "Idx": 192950, "Length": 18, "Cover_Rate": 1.0} {"Template_token": ["", "bool", "OptAddrMode", "::", "noUseOfAddBeforeLoadOrStore", "(", "const", "MachineInstr", "*", "Add", ",", "const", "MachineInstr", "*", "Ldst", ")", "{"], "ground_truth": ["unsigned", "R", "=", "Add", "->", "getOperand", "(", "", ")", ".", "getReg", "(", ")", ";"], "File": "ARCOptAddrMode", "Func": "noUseOfAddBeforeLoadOrStore", "Target": "ARC", "Target_Clf": "MPU", "Compiler_Type": "LLVM", "Idx": 192952, "Length": 30, "Cover_Rate": 0.6976744186046512} {"Template_token": ["", "bool", "OptAddrMode", "::", "noUseOfAddBeforeLoadOrStore", "(", "const", "MachineInstr", "*", "Add", ",", "const", "MachineInstr", "*", "Ldst", ")", "{", "unsigned", "R", "=", "Add", "->", "getOperand", "(", "", ")", ".", "getReg", "(", ")", ";", "return", "dominatesAllUsesOf", "(", "Ldst", ",", "R", ",", "MDT", ",", "MRI", ")", ";"], "ground_truth": ["}"], "File": "ARCOptAddrMode", "Func": "noUseOfAddBeforeLoadOrStore", "Target": "ARC", "Target_Clf": "MPU", "Compiler_Type": "LLVM", "Idx": 192953, "Length": 43, "Cover_Rate": 1.0} {"Template_token": ["", "bool", "OptAddrMode", "::", "processBasicBlock", "(", "MachineBasicBlock", "&", "MBB", ")", "{", "bool", "Changed", "=", "false", ";", "for", "(", "auto", "MI", "=", "MBB", ".", "begin", "(", ")", ",", "ME", "=", "MBB", ".", "end", "(", ")", ";", "MI", "!=", "ME", ";", "++", "MI", ")", "{", "if", "(", "MI", "->", "isDebugValue", "(", ")", ")", "continue", ";", "if", "(", "!", "MI", "->", "mayLoad", "(", ")", "&&", "!", "MI", "->", "mayStore", "(", ")", ")", "continue", ";", "if", "(", "", "(", "MI", "->", "getOpcode", "(", ")", ")", "<", "", ")", "continue", ";", "MachineInstr", "*", "Res", "=", "tryToCombine", "(", "*", "MI", ")", ";", "if", "(", "Res", ")", "{", "Changed", "=", "true", ";", "MI", "=", "std", "::", "prev", "(", "Res", "->", "getIterator", "(", ")", ")", ";", "}", "}"], "ground_truth": ["return", "Changed", ";"], "File": "ARCOptAddrMode", "Func": "processBasicBlock", "Target": "ARC", "Target_Clf": "MPU", "Compiler_Type": "LLVM", "Idx": 192954, "Length": 122, "Cover_Rate": 0.976} {"Template_token": ["", "if", "(", "!", "MI", "->", "mayLoad", "(", ")", "&&", "!", "MI", "->", "mayStore", "(", ")", ")", "continue", ";", "if", "(", "", "(", "MI", "->", "getOpcode", "(", ")", ")", "<", "", ")", "continue", ";", "MachineInstr", "*", "Res", "=", "tryToCombine", "(", "*", "MI", ")", ";", "if", "(", "Res", ")", "{", "Changed", "=", "true", ";", "MI", "=", "std", "::", "prev", "(", "Res", "->", "getIterator", "(", ")", ")", ";", "}"], "ground_truth": ["}"], "File": "ARCOptAddrMode", "Func": "processBasicBlock", "Target": "ARC", "Target_Clf": "MPU", "Compiler_Type": "LLVM", "Idx": 192955, "Length": 67, "Cover_Rate": 0.536} {"Template_token": ["", "bool", "OptAddrMode", "::", "runOnMachineFunction", "(", "MachineFunction", "&", "MF", ")", "{", "if", "(", "skipFunction", "(", "MF", ".", "getFunction", "(", ")", ")", ")", "return", "false", ";", "AST", "=", "&", "MF", ".", "getSubtarget", "<", "Subtarget", ">", "(", ")", ";", "AII", "=", "AST", "->", "getInstrInfo", "(", ")", ";", "MRI", "=", "&", "MF", ".", "getRegInfo", "(", ")", ";"], "ground_truth": ["MDT", "=", "&", "getAnalysis", "<", "MachineDominatorTree", ">", "(", ")", ";"], "File": "ARCOptAddrMode", "Func": "runOnMachineFunction", "Target": "ARC", "Target_Clf": "MPU", "Compiler_Type": "LLVM", "Idx": 192956, "Length": 63, "Cover_Rate": 0.7241379310344828} {"Template_token": ["", "MDT", "=", "&", "getAnalysis", "<", "MachineDominatorTree", ">", "(", ")", ";", "bool", "Changed", "=", "false", ";", "for", "(", "auto", "&", "MBB", ":", "MF", ")", "Changed", "|=", "processBasicBlock", "(", "MBB", ")", ";", "return", "Changed", ";"], "ground_truth": ["}"], "File": "ARCOptAddrMode", "Func": "runOnMachineFunction", "Target": "ARC", "Target_Clf": "MPU", "Compiler_Type": "LLVM", "Idx": 192957, "Length": 34, "Cover_Rate": 0.39080459770114945} {"Template_token": ["", "return", "MF", ".", "needsFrameMoves", "(", ")", ";"], "ground_truth": ["}"], "File": "ARCRegisterInfo10", "Func": "needsFrameMoves", "Target": "ARC", "Target_Clf": "MPU", "Compiler_Type": "LLVM", "Idx": 192958, "Length": 8, "Cover_Rate": 0.42105263157894735} {"Template_token": ["", "MachineFunction", "&", "MF", "=", "*", "MI", ".", "getParent", "(", ")", "->", "getParent", "(", ")", ";", "const", "InstrInfo", "&", "TII", "=", "*", "MF", ".", "getSubtarget", "<", "Subtarget", ">", "(", ")", ".", "getInstrInfo", "(", ")", ";", "const", "FrameLowering", "*", "TFI", "=", "getFrameLowering", "(", "MF", ")", ";", "int", "Offset", "=", "MF", ".", "getFrameInfo", "(", ")", ".", "getObjectOffset", "(", "FrameIndex", ")", ";", "int", "ObjSize", "=", "MF", ".", "getFrameInfo", "(", ")", ".", "getObjectSize", "(", "FrameIndex", ")", ";", "int", "StackSize", "=", "MF", ".", "getFrameInfo", "(", ")", ".", "getStackSize", "(", ")", ";", "int", "LocalFrameSize", "=", "MF", ".", "getFrameInfo", "(", ")", ".", "getLocalFrameSize", "(", ")", ";", "LLVM_DEBUG", "(", "dbgs", "(", ")", "<<", "", "<<", "MF", ".", "getName", "(", ")", "<<", "", ")", ";", "LLVM_DEBUG", "(", "dbgs", "(", ")", "<<", "", ")", ";", "LLVM_DEBUG", "(", "dbgs", "(", ")", "<<", "MI", "<<", "", ")", ";", "LLVM_DEBUG", "(", "dbgs", "(", ")", "<<", "", "<<", "FrameIndex", "<<", "", ")", ";", "LLVM_DEBUG", "(", "dbgs", "(", ")", "<<", "", "<<", "ObjSize", "<<", "", ")", ";", "LLVM_DEBUG", "(", "dbgs", "(", ")", "<<", "", "<<", "Offset", "<<", "", ")", ";", "LLVM_DEBUG", "(", "dbgs", "(", ")", "<<", "", "<<", "StackSize", "<<", "", ")", ";", "LLVM_DEBUG", "(", "dbgs", "(", ")", "<<", "", "<<", "LocalFrameSize", "<<", "", ")", ";", "(", "void", ")", "LocalFrameSize", ";", "if", "(", "MI", ".", "isDebugValue", "(", ")", ")", "{", "unsigned", "FrameReg", "=", "getFrameRegister", "(", "MF", ")", ";", "MI", ".", "getOperand", "(", "FIOperandNum", ")", ".", "ChangeToRegister", "(", "FrameReg", ",", "false", ")", ";", "MI", ".", "getOperand", "(", "FIOperandNum", "+", "", ")", ".", "ChangeToImmediate", "(", "Offset", ")", ";", "return", ";", "}", "Offset", "+=", "MI", ".", "getOperand", "(", "FIOperandNum", "+", "", ")", ".", "getImm", "(", ")", ";", "LLVM_DEBUG", "(", "dbgs", "(", ")", "<<", "", "<<", "Offset", "<<", "", "<<", "", ")", ";", "unsigned", "Reg", "=", "MI", ".", "getOperand", "(", "", ")", ".", "getReg", "(", ")", ";", "assert", "(", "", ".", "contains", "(", "Reg", ")", "&&", "", ")", ";", "if", "(", "!", "TFI", "->", "hasFP", "(", "MF", ")", ")", "{", "Offset", "=", "StackSize", "+", "Offset", ";", "if", "(", "FrameIndex", ">=", "", ")", "assert", "(", "(", "Offset", ">=", "", "&&", "Offset", "<", "StackSize", ")", "&&", "", ")", ";", "}", "else", "{", "if", "(", "FrameIndex", ">=", "", ")", "{"], "ground_truth": ["assert", "(", "(", "Offset", "<", "", "&&", "-", "Offset", "<=", "StackSize", ")", "&&", "", ")", ";"], "File": "ARCRegisterInfo11", "Func": "eliminateFrameIndex", "Target": "ARC", "Target_Clf": "MPU", "Compiler_Type": "LLVM", "Idx": 192960, "Length": 373, "Cover_Rate": 0.8108695652173913} {"Template_token": ["", "BuildMI", "(", "MBB", ",", "II", ",", "dl", ",", "TII", ".", "get", "(", "MI", ".", "getOpcode", "(", ")", ")", ",", "Reg", ")", ".", "addReg", "(", "BaseReg", ",", "KillState", ")", ".", "addImm", "(", "Offset", ")", ".", "addMemOperand", "(", "*", "MI", ".", "memoperands_begin", "(", ")", ")", ";", "break", ";", "case", "", ":", "assert", "(", "(", "Offset", "%", "", "==", "", ")", "&&", "", ")", ";", "case", "", ":", "assert", "(", "(", "Offset", "%", "", "==", "", ")", "&&", "", ")", ";", "case", "", ":", "LLVM_DEBUG", "(", "dbgs", "(", ")", "<<", "", ")", ";", "BuildMI", "(", "MBB", ",", "II", ",", "dl", ",", "TII", ".", "get", "(", "MI", ".", "getOpcode", "(", ")", ")", ")", ".", "addReg", "(", "Reg", ",", "getKillRegState", "(", "MI", ".", "getOperand", "(", "", ")", ".", "isKill", "(", ")", ")", ")", ".", "addReg", "(", "BaseReg", ",", "KillState", ")", ".", "addImm", "(", "Offset", ")", ".", "addMemOperand", "(", "*", "MI", ".", "memoperands_begin", "(", ")", ")", ";", "break", ";", "case", "", ":", "LLVM_DEBUG", "(", "dbgs", "(", ")", "<<", "", ")", ";", "BuildMI", "(", "MBB", ",", "II", ",", "dl", ",", "TII", ".", "get", "(", "isUInt", "<", "", ">", "(", "Offset", ")", "?", "", ":", "", ")", ")", ".", "addReg", "(", "Reg", ",", "RegState", "::", "Define", ")", ".", "addReg", "(", "FrameReg", ")", ".", "addImm", "(", "Offset", ")", ";", "break", ";", "default", ":", "llvm_unreachable", "(", "", ")", ";"], "ground_truth": ["}"], "File": "ARCRegisterInfo11", "Func": "ReplaceFrameIndex", "Target": "ARC", "Target_Clf": "MPU", "Compiler_Type": "LLVM", "Idx": 192961, "Length": 220, "Cover_Rate": 0.334855403348554} {"Template_token": ["", "MachineOperand", "&", "FrameOp", "=", "MI", ".", "getOperand", "(", "FIOperandNum", ")", ";", "int", "FrameIndex", "=", "FrameOp", ".", "getIndex", "(", ")", ";", "MachineFunction", "&", "MF", "=", "*", "MI", ".", "getParent", "(", ")", "->", "getParent", "(", ")", ";", "const", "InstrInfo", "&", "TII", "=", "*", "MF", ".", "getSubtarget", "<", "Subtarget", ">", "(", ")", ".", "getInstrInfo", "(", ")", ";", "const", "FrameLowering", "*", "TFI", "=", "getFrameLowering", "(", "MF", ")", ";", "int", "Offset", "=", "MF", ".", "getFrameInfo", "(", ")", ".", "getObjectOffset", "(", "FrameIndex", ")", ";", "int", "ObjSize", "=", "MF", ".", "getFrameInfo", "(", ")", ".", "getObjectSize", "(", "FrameIndex", ")", ";", "int", "StackSize", "=", "MF", ".", "getFrameInfo", "(", ")", ".", "getStackSize", "(", ")", ";", "int", "LocalFrameSize", "=", "MF", ".", "getFrameInfo", "(", ")", ".", "getLocalFrameSize", "(", ")", ";", "DEBUG", "(", "dbgs", "(", ")", "<<", "", "<<", "MF", ".", "getName", "(", ")", "<<", "", ")", ";", "DEBUG", "(", "dbgs", "(", ")", "<<", "", ")", ";", "DEBUG", "(", "dbgs", "(", ")", "<<", "MI", "<<", "", ")", ";", "DEBUG", "(", "dbgs", "(", ")", "<<", "", "<<", "FrameIndex", "<<", "", ")", ";", "DEBUG", "(", "dbgs", "(", ")", "<<", "", "<<", "ObjSize", "<<", "", ")", ";", "DEBUG", "(", "dbgs", "(", ")", "<<", "", "<<", "Offset", "<<", "", ")", ";", "DEBUG", "(", "dbgs", "(", ")", "<<", "", "<<", "StackSize", "<<", "", ")", ";", "DEBUG", "(", "dbgs", "(", ")", "<<", "", "<<", "LocalFrameSize", "<<", "", ")", ";", "(", "void", ")", "LocalFrameSize", ";", "if", "(", "MI", ".", "isDebugValue", "(", ")", ")", "{", "unsigned", "FrameReg", "=", "getFrameRegister", "(", "MF", ")", ";", "MI", ".", "getOperand", "(", "FIOperandNum", ")", ".", "ChangeToRegister", "(", "FrameReg", ",", "false", ")", ";", "MI", ".", "getOperand", "(", "FIOperandNum", "+", "", ")", ".", "ChangeToImmediate", "(", "Offset", ")", ";", "return", ";", "}", "Offset", "+=", "MI", ".", "getOperand", "(", "FIOperandNum", "+", "", ")", ".", "getImm", "(", ")", ";", "DEBUG", "(", "dbgs", "(", ")", "<<", "", "<<", "Offset", "<<", "", "<<", "", ")", ";", "unsigned", "Reg", "=", "MI", ".", "getOperand", "(", "", ")", ".", "getReg", "(", ")", ";", "assert", "(", "", ".", "contains", "(", "Reg", ")", "&&", "", ")", ";", "if", "(", "!", "TFI", "->", "hasFP", "(", "MF", ")", ")", "{", "Offset", "=", "StackSize", "+", "Offset", ";", "if", "(", "FrameIndex", ">=", "", ")", "assert", "(", "(", "Offset", ">=", "", "&&", "Offset", "<", "StackSize", ")", "&&", "", ")", ";", "}", "else", "{", "if", "(", "FrameIndex", ">=", "", ")", "{", "assert", "(", "(", "Offset", "<", "", "&&", "-", "Offset", "<=", "StackSize", ")", "&&", "", ")", ";", "}", "}"], "ground_truth": ["ReplaceFrameIndex", "(", "II", ",", "TII", ",", "Reg", ",", "getFrameRegister", "(", "MF", ")", ",", "Offset", ",", "StackSize", ",", "ObjSize", ",", "RS", ",", "SPAdj", ")", ";"], "File": "ARCRegisterInfo1", "Func": "eliminateFrameIndex", "Target": "ARC", "Target_Clf": "MPU", "Compiler_Type": "LLVM", "Idx": 192962, "Length": 419, "Cover_Rate": 0.9108695652173913} {"Template_token": ["", "unsigned", "RegisterInfo", "::", "getFrameRegister", "(", "const", "MachineFunction", "&", "MF", ")", "const", "{"], "ground_truth": ["const", "FrameLowering", "*", "TFI", "=", "getFrameLowering", "(", "MF", ")", ";"], "File": "ARCRegisterInfo1", "Func": "getFrameRegister", "Target": "ARC", "Target_Clf": "MPU", "Compiler_Type": "LLVM", "Idx": 192963, "Length": 22, "Cover_Rate": 0.5641025641025641} {"Template_token": ["", "const", "FrameLowering", "*", "TFI", "=", "getFrameLowering", "(", "MF", ")", ";"], "ground_truth": ["return", "TFI", "->", "hasFP", "(", "MF", ")", "?", "", ":", "", ";"], "File": "ARCRegisterInfo1", "Func": "getFrameRegister", "Target": "ARC", "Target_Clf": "MPU", "Compiler_Type": "LLVM", "Idx": 192964, "Length": 22, "Cover_Rate": 0.5641025641025641} {"Template_token": ["", "}", "if", "(", "MI", ".", "getOpcode", "(", ")", "!=", "", "&&", "(", "Offset", ">=", "", "||", "Offset", "<", "-", "", ")", ")", "{", "BaseReg", "=", "RS", "->", "FindUnusedReg", "(", "&", "", ")", ";", "if", "(", "!", "BaseReg", ")", "{", "const", "TargetRegisterInfo", "*", "TRI", "=", "MBB", ".", "getParent", "(", ")", "->", "getSubtarget", "(", ")", ".", "getRegisterInfo", "(", ")", ";", "BaseReg", "=", "RS", "->", "scavengeRegister", "(", "&", "", ",", "II", ",", "SPAdj", ")", ";", "assert", "(", "BaseReg", "&&", "", ")", ";", "DEBUG", "(", "dbgs", "(", ")", "<<", "", "<<", "printReg", "(", "BaseReg", ",", "TRI", ")", "<<", "", "<<", "printReg", "(", "FrameReg", ",", "TRI", ")", "<<", "", "<<", "Offset", "<<", "", ")", ";", "(", "void", ")", "TRI", ";", "RS", "->", "setRegUsed", "(", "BaseReg", ")", ";", "}", "unsigned", "AddOpc", "=", "isUInt", "<", "", ">", "(", "Offset", ")", "?", "", ":", "", ";", "BuildMI", "(", "MBB", ",", "II", ",", "dl", ",", "TII", ".", "get", "(", "AddOpc", ")", ")", ".", "addReg", "(", "BaseReg", ",", "RegState", "::", "Define", ")", ".", "addReg", "(", "FrameReg", ")", ".", "addImm", "(", "Offset", ")", ";", "Offset", "=", "", ";", "KillState", "=", "RegState", "::", "Kill", ";", "}", "switch", "(", "MI", ".", "getOpcode", "(", ")", ")", "{", "case", "", ":", "assert", "(", "(", "Offset", "%", "", "==", "", ")", "&&", "", ")", ";", "case", "", ":", "case", "", ":", "assert", "(", "(", "Offset", "%", "", "==", "", ")", "&&", "", ")", ";", "case", "", ":", "case", "", ":", "DEBUG", "(", "dbgs", "(", ")", "<<", "", ")", ";", "BuildMI", "(", "MBB", ",", "II", ",", "dl", ",", "TII", ".", "get", "(", "MI", ".", "getOpcode", "(", ")", ")", ",", "Reg", ")", ".", "addReg", "(", "BaseReg", ",", "KillState", ")", ".", "addImm", "(", "Offset", ")", ".", "addMemOperand", "(", "*", "MI", ".", "memoperands_begin", "(", ")", ")", ";", "break", ";", "case", "", ":", "assert", "(", "(", "Offset", "%", "", "==", "", ")", "&&", "", ")", ";", "case", "", ":", "assert", "(", "(", "Offset", "%", "", "==", "", ")", "&&", "", ")", ";", "case", "", ":"], "ground_truth": ["DEBUG", "(", "dbgs", "(", ")", "<<", "", ")", ";"], "File": "ARCRegisterInfo1", "Func": "ReplaceFrameIndex", "Target": "ARC", "Target_Clf": "MPU", "Compiler_Type": "LLVM", "Idx": 192965, "Length": 333, "Cover_Rate": 0.5068493150684932} {"Template_token": ["", "RegisterInfo", "::", "RegisterInfo", "(", "const", "Subtarget", "&", "ST", ")", ":", "GenRegisterInfo", "(", "", ")", ",", "ST", "(", "ST", ")", "{"], "ground_truth": ["}"], "File": "ARCRegisterInfo2", "Func": "ARCRegisterInfo", "Target": "ARC", "Target_Clf": "MPU", "Compiler_Type": "LLVM", "Idx": 192966, "Length": 21, "Cover_Rate": 0.9130434782608695} {"Template_token": ["", "RegisterInfo", "::", "RegisterInfo", "(", "const", "Subtarget", "&", "ST", ")", ":", "GenRegisterInfo", "(", "", ")", ",", "ST", "(", "ST", ")", "{"], "ground_truth": ["}"], "File": "ARCRegisterInfo2", "Func": "ARCRegisterInfo", "Target": "ARC", "Target_Clf": "MPU", "Compiler_Type": "LLVM", "Idx": 192967, "Length": 21, "Cover_Rate": 0.9130434782608695} {"Template_token": ["", "void", "RegisterInfo", "::", "eliminateFrameIndex", "(", "MachineBasicBlock", "::", "iterator", "II", ",", "int", "SPAdj", ",", "unsigned", "FIOperandNum", ",", "RegScavenger", "*", "RS", ")", "const", "{", "assert", "(", "SPAdj", "==", "", "&&", "", ")", ";", "MachineInstr", "&", "MI", "=", "*", "II", ";", "MachineOperand", "&", "FrameOp", "=", "MI", ".", "getOperand", "(", "FIOperandNum", ")", ";", "int", "FrameIndex", "=", "FrameOp", ".", "getIndex", "(", ")", ";", "MachineFunction", "&", "MF", "=", "*", "MI", ".", "getParent", "(", ")", "->", "getParent", "(", ")", ";", "const", "InstrInfo", "&", "TII", "=", "*", "MF", ".", "getSubtarget", "<", "Subtarget", ">", "(", ")", ".", "getInstrInfo", "(", ")", ";", "const", "FrameLowering", "*", "TFI", "=", "getFrameLowering", "(", "MF", ")", ";", "int", "Offset", "=", "MF", ".", "getFrameInfo", "(", ")", ".", "getObjectOffset", "(", "FrameIndex", ")", ";", "int", "ObjSize", "=", "MF", ".", "getFrameInfo", "(", ")", ".", "getObjectSize", "(", "FrameIndex", ")", ";", "int", "StackSize", "=", "MF", ".", "getFrameInfo", "(", ")", ".", "getStackSize", "(", ")", ";", "int", "LocalFrameSize", "=", "MF", ".", "getFrameInfo", "(", ")", ".", "getLocalFrameSize", "(", ")", ";", "LLVM_DEBUG", "(", "dbgs", "(", ")", "<<", "", "<<", "MF", ".", "getName", "(", ")", "<<", "", ")", ";", "LLVM_DEBUG", "(", "dbgs", "(", ")", "<<", "", ")", ";", "LLVM_DEBUG", "(", "dbgs", "(", ")", "<<", "MI", "<<", "", ")", ";", "LLVM_DEBUG", "(", "dbgs", "(", ")", "<<", "", "<<", "FrameIndex", "<<", "", ")", ";", "LLVM_DEBUG", "(", "dbgs", "(", ")", "<<", "", "<<", "ObjSize", "<<", "", ")", ";", "LLVM_DEBUG", "(", "dbgs", "(", ")", "<<", "", "<<", "Offset", "<<", "", ")", ";", "LLVM_DEBUG", "(", "dbgs", "(", ")", "<<", "", "<<", "StackSize", "<<", "", ")", ";", "LLVM_DEBUG", "(", "dbgs", "(", ")", "<<", "", "<<", "LocalFrameSize", "<<", "", ")", ";", "(", "void", ")", "LocalFrameSize", ";", "if", "(", "MI", ".", "isDebugValue", "(", ")", ")", "{", "Register", "FrameReg", "=", "getFrameRegister", "(", "MF", ")", ";", "MI", ".", "getOperand", "(", "FIOperandNum", ")", ".", "ChangeToRegister", "(", "FrameReg", ",", "false", ")", ";", "MI", ".", "getOperand", "(", "FIOperandNum", "+", "", ")", ".", "ChangeToImmediate", "(", "Offset", ")", ";", "return", ";", "}", "Offset", "+=", "MI", ".", "getOperand", "(", "FIOperandNum", "+", "", ")", ".", "getImm", "(", ")", ";", "LLVM_DEBUG", "(", "dbgs", "(", ")", "<<", "", "<<", "Offset", "<<", "", "<<", "", ")", ";", "Register", "Reg", "=", "MI", ".", "getOperand", "(", "", ")", ".", "getReg", "(", ")", ";", "assert", "(", "", ".", "contains", "(", "Reg", ")", "&&", "", ")", ";", "if", "(", "!", "TFI", "->", "hasFP", "(", "MF", ")", ")", "{", "Offset", "=", "StackSize", "+", "Offset", ";", "if", "(", "FrameIndex", ">=", "", ")", "assert", "(", "(", "Offset", ">=", "", "&&", "Offset", "<", "StackSize", ")", "&&", "", ")", ";", "}", "else", "{", "if", "(", "FrameIndex", ">=", "", ")", "{", "assert", "(", "(", "Offset", "<", "", "&&", "-", "Offset", "<=", "StackSize", ")", "&&", "", ")", ";", "}", "}", "replaceFrameIndex", "(", "II", ",", "TII", ",", "Reg", ",", "getFrameRegister", "(", "MF", ")", ",", "Offset", ",", "StackSize", ",", "ObjSize", ",", "RS", ",", "SPAdj", ")", ";"], "ground_truth": ["}"], "File": "ARCRegisterInfo2", "Func": "eliminateFrameIndex", "Target": "ARC", "Target_Clf": "MPU", "Compiler_Type": "LLVM", "Idx": 192968, "Length": 458, "Cover_Rate": 0.9956521739130435} {"Template_token": ["", "BaseReg", "=", "RS", "->", "FindUnusedReg", "(", "&", "", ")", ";", "if", "(", "!", "BaseReg", ")", "{", "const", "TargetRegisterInfo", "*", "TRI", "=", "MBB", ".", "getParent", "(", ")", "->", "getSubtarget", "(", ")", ".", "getRegisterInfo", "(", ")", ";", "BaseReg", "=", "RS", "->", "scavengeRegister", "(", "&", "", ",", "II", ",", "SPAdj", ")", ";", "assert", "(", "BaseReg", "&&", "", ")", ";", "LLVM_DEBUG", "(", "dbgs", "(", ")", "<<", "", "<<", "printReg", "(", "BaseReg", ",", "TRI", ")", "<<", "", "<<", "printReg", "(", "FrameReg", ",", "TRI", ")", "<<", "", "<<", "Offset", "<<", "", ")", ";", "(", "void", ")", "TRI", ";", "RS", "->", "setRegUsed", "(", "BaseReg", ")", ";", "}", "unsigned", "AddOpc", "=", "isUInt", "<", "", ">", "(", "Offset", ")", "?", "", ":", "", ";", "BuildMI", "(", "MBB", ",", "II", ",", "DL", ",", "TII", ".", "get", "(", "AddOpc", ")", ")", ".", "addReg", "(", "BaseReg", ",", "RegState", "::", "Define", ")", ".", "addReg", "(", "FrameReg", ")", ".", "addImm", "(", "Offset", ")", ";", "Offset", "=", "", ";", "KillState", "=", "RegState", "::", "Kill", ";", "}", "switch", "(", "MI", ".", "getOpcode", "(", ")", ")", "{", "case", "", ":", "assert", "(", "(", "Offset", "%", "", "==", "", ")", "&&", "", ")", ";", "LLVM_FALLTHROUGH", ";", "case", "", ":", "case", "", ":", "assert", "(", "(", "Offset", "%", "", "==", "", ")", "&&", "", ")", ";", "LLVM_FALLTHROUGH", ";", "case", "", ":", "case", "", ":", "LLVM_DEBUG", "(", "dbgs", "(", ")", "<<", "", ")", ";", "BuildMI", "(", "MBB", ",", "II", ",", "DL", ",", "TII", ".", "get", "(", "MI", ".", "getOpcode", "(", ")", ")", ",", "Reg", ")", ".", "addReg", "(", "BaseReg", ",", "KillState", ")", ".", "addImm", "(", "Offset", ")", ".", "addMemOperand", "(", "*", "MI", ".", "memoperands_begin", "(", ")", ")", ";", "break", ";", "case", "", ":", "assert", "(", "(", "Offset", "%", "", "==", "", ")", "&&", "", ")", ";", "LLVM_FALLTHROUGH", ";", "case", "", ":", "assert", "(", "(", "Offset", "%", "", "==", "", ")", "&&", "", ")", ";", "LLVM_FALLTHROUGH", ";", "case", "", ":", "LLVM_DEBUG", "(", "dbgs", "(", ")", "<<", "", ")", ";", "BuildMI", "(", "MBB", ",", "II", ",", "DL", ",", "TII", ".", "get", "(", "MI", ".", "getOpcode", "(", ")", ")", ")", ".", "addReg", "(", "Reg", ",", "getKillRegState", "(", "MI", ".", "getOperand", "(", "", ")", ".", "isKill", "(", ")", ")", ")", ".", "addReg", "(", "BaseReg", ",", "KillState", ")", ".", "addImm", "(", "Offset", ")", ".", "addMemOperand", "(", "*", "MI", ".", "memoperands_begin", "(", ")", ")", ";", "break", ";", "case", "", ":", "LLVM_DEBUG", "(", "dbgs", "(", ")", "<<", "", ")", ";", "BuildMI", "(", "MBB", ",", "II", ",", "DL", ",", "TII", ".", "get", "(", "isUInt", "<", "", ">", "(", "Offset", ")", "?", "", ":", "", ")", ")", ".", "addReg", "(", "Reg", ",", "RegState", "::", "Define", ")", ".", "addReg", "(", "FrameReg", ")", ".", "addImm", "(", "Offset", ")", ";", "break", ";", "default", ":"], "ground_truth": ["llvm_unreachable", "(", "", ")", ";"], "File": "ARCRegisterInfo2", "Func": "replaceFrameIndex", "Target": "ARC", "Target_Clf": "MPU", "Compiler_Type": "LLVM", "Idx": 192969, "Length": 447, "Cover_Rate": 0.6721804511278195} {"Template_token": ["", "if", "(", "MI", ".", "getOpcode", "(", ")", "!=", "", "&&", "(", "Offset", ">=", "", "||", "Offset", "<", "-", "", ")", ")", "{", "BaseReg", "=", "RS", "->", "FindUnusedReg", "(", "&", "", ")", ";", "if", "(", "!", "BaseReg", ")", "{", "const", "TargetRegisterInfo", "*", "TRI", "=", "MBB", ".", "getParent", "(", ")", "->", "getSubtarget", "(", ")", ".", "getRegisterInfo", "(", ")", ";", "BaseReg", "=", "RS", "->", "scavengeRegister", "(", "&", "", ",", "II", ",", "SPAdj", ")", ";", "assert", "(", "BaseReg", "&&", "", ")", ";", "DEBUG", "(", "dbgs", "(", ")", "<<", "", "<<", "PrintReg", "(", "BaseReg", ",", "TRI", ")", "<<", "", "<<", "PrintReg", "(", "FrameReg", ",", "TRI", ")", "<<", "", "<<", "Offset", "<<", "", ")", ";", "(", "void", ")", "TRI", ";", "RS", "->", "setRegUsed", "(", "BaseReg", ")", ";", "}", "unsigned", "AddOpc", "=", "isUInt", "<", "", ">", "(", "Offset", ")", "?", "", ":", "", ";", "BuildMI", "(", "MBB", ",", "II", ",", "dl", ",", "TII", ".", "get", "(", "AddOpc", ")", ")", ".", "addReg", "(", "BaseReg", ",", "RegState", "::", "Define", ")", ".", "addReg", "(", "FrameReg", ")", ".", "addImm", "(", "Offset", ")", ";", "Offset", "=", "", ";", "KillState", "=", "RegState", "::", "Kill", ";", "}", "switch", "(", "MI", ".", "getOpcode", "(", ")", ")", "{", "case", "", ":", "assert", "(", "(", "Offset", "%", "", "==", "", ")", "&&", "", ")", ";", "case", "", ":", "case", "", ":", "assert", "(", "(", "Offset", "%", "", "==", "", ")", "&&", "", ")", ";", "case", "", ":", "case", "", ":", "DEBUG", "(", "dbgs", "(", ")", "<<", "", ")", ";", "BuildMI", "(", "MBB", ",", "II", ",", "dl", ",", "TII", ".", "get", "(", "MI", ".", "getOpcode", "(", ")", ")", ",", "Reg", ")", ".", "addReg", "(", "BaseReg", ",", "KillState", ")", ".", "addImm", "(", "Offset", ")", ".", "addMemOperand", "(", "*", "MI", ".", "memoperands_begin", "(", ")", ")", ";", "break", ";", "case", "", ":", "assert", "(", "(", "Offset", "%", "", "==", "", ")", "&&", "", ")", ";", "case", "", ":", "assert", "(", "(", "Offset", "%", "", "==", "", ")", "&&", "", ")", ";", "case", "", ":", "DEBUG", "(", "dbgs", "(", ")", "<<", "", ")", ";"], "ground_truth": ["BuildMI", "(", "MBB", ",", "II", ",", "dl", ",", "TII", ".", "get", "(", "MI", ".", "getOpcode", "(", ")", ")", ")", ".", "addReg", "(", "Reg", ",", "getKillRegState", "(", "MI", ".", "getOperand", "(", "", ")", ".", "isKill", "(", ")", ")", ")", ".", "addReg", "(", "BaseReg", ",", "KillState", ")", ".", "addImm", "(", "Offset", ")", ".", "addMemOperand", "(", "*", "MI", ".", "memoperands_begin", "(", ")", ")", ";"], "File": "ARCRegisterInfo3", "Func": "ReplaceFrameIndex", "Target": "ARC", "Target_Clf": "MPU", "Compiler_Type": "LLVM", "Idx": 192972, "Length": 393, "Cover_Rate": 0.5981735159817352} {"Template_token": ["", "RegisterInfo", "::", "RegisterInfo", "(", ")", ":", "GenRegisterInfo", "(", "", ")", "{"], "ground_truth": ["}"], "File": "ARCRegisterInfo", "Func": "ARCRegisterInfo", "Target": "ARC", "Target_Clf": "MPU", "Compiler_Type": "LLVM", "Idx": 192973, "Length": 12, "Cover_Rate": 0.8571428571428571} {"Template_token": ["", "RegisterInfo", "::", "RegisterInfo", "(", ")", ":", "GenRegisterInfo", "(", "", ")", "{"], "ground_truth": ["}"], "File": "ARCRegisterInfo", "Func": "ARCRegisterInfo", "Target": "ARC", "Target_Clf": "MPU", "Compiler_Type": "LLVM", "Idx": 192974, "Length": 12, "Cover_Rate": 0.8571428571428571} {"Template_token": ["", "MI", ".", "getOperand", "(", "FIOperandNum", ")", ".", "ChangeToRegister", "(", "FrameReg", ",", "false", ")", ";", "MI", ".", "getOperand", "(", "FIOperandNum", "+", "", ")", ".", "ChangeToImmediate", "(", "Offset", ")", ";", "return", ";", "}", "Offset", "+=", "MI", ".", "getOperand", "(", "FIOperandNum", "+", "", ")", ".", "getImm", "(", ")", ";", "LLVM_DEBUG", "(", "dbgs", "(", ")", "<<", "", "<<", "Offset", "<<", "", "<<", "", ")", ";", "unsigned", "Reg", "=", "MI", ".", "getOperand", "(", "", ")", ".", "getReg", "(", ")", ";", "assert", "(", "", ".", "contains", "(", "Reg", ")", "&&", "", ")", ";", "if", "(", "!", "TFI", "->", "hasFP", "(", "MF", ")", ")", "{", "Offset", "=", "StackSize", "+", "Offset", ";", "if", "(", "FrameIndex", ">=", "", ")", "assert", "(", "(", "Offset", ">=", "", "&&", "Offset", "<", "StackSize", ")", "&&", "", ")", ";", "}", "else", "{", "if", "(", "FrameIndex", ">=", "", ")", "{", "assert", "(", "(", "Offset", "<", "", "&&", "-", "Offset", "<=", "StackSize", ")", "&&", "", ")", ";", "}"], "ground_truth": ["}"], "File": "ARCRegisterInfo", "Func": "eliminateFrameIndex", "Target": "ARC", "Target_Clf": "MPU", "Compiler_Type": "LLVM", "Idx": 192975, "Length": 153, "Cover_Rate": 0.33260869565217394} {"Template_token": ["", "const", "MCPhysReg", "*", "RegisterInfo", "::", "getCalleeSavedRegs", "(", "const", "MachineFunction", "*", "MF", ")", "const", "{"], "ground_truth": ["return", "CSR__SaveList", ";"], "File": "ARCRegisterInfo", "Func": "getCalleeSavedRegs", "Target": "ARC", "Target_Clf": "MPU", "Compiler_Type": "LLVM", "Idx": 192976, "Length": 17, "Cover_Rate": 0.9444444444444444} {"Template_token": ["", "const", "MCPhysReg", "*", "RegisterInfo", "::", "getCalleeSavedRegs", "(", "const", "MachineFunction", "*", "MF", ")", "const", "{"], "ground_truth": ["return", "CSR__SaveList", ";"], "File": "ARCRegisterInfo", "Func": "getCalleeSavedRegs", "Target": "ARC", "Target_Clf": "MPU", "Compiler_Type": "LLVM", "Idx": 192977, "Length": 17, "Cover_Rate": 0.9444444444444444} {"Template_token": ["", "const", "uint32_t", "*", "RegisterInfo", "::", "getCallPreservedMask", "(", "const", "MachineFunction", "&", "MF", ",", "CallingConv", "::", "ID", "CC", ")", "const", "{", "return", "CSR__RegMask", ";"], "ground_truth": ["}"], "File": "ARCRegisterInfo", "Func": "getCallPreservedMask", "Target": "ARC", "Target_Clf": "MPU", "Compiler_Type": "LLVM", "Idx": 192978, "Length": 23, "Cover_Rate": 1.0} {"Template_token": ["", "const", "uint32_t", "*", "RegisterInfo", "::", "getCallPreservedMask", "(", "const", "MachineFunction", "&", "MF", ",", "CallingConv", "::", "ID", "CC", ")", "const", "{", "return", "CSR__RegMask", ";"], "ground_truth": ["}"], "File": "ARCRegisterInfo", "Func": "getCallPreservedMask", "Target": "ARC", "Target_Clf": "MPU", "Compiler_Type": "LLVM", "Idx": 192979, "Length": 23, "Cover_Rate": 1.0} {"Template_token": ["", "Register", "RegisterInfo", "::", "getFrameRegister", "(", "const", "MachineFunction", "&", "MF", ")", "const", "{", "const", "FrameLowering", "*", "TFI", "=", "getFrameLowering", "(", "MF", ")", ";"], "ground_truth": ["return", "TFI", "->", "hasFP", "(", "MF", ")", "?", "", ":", "", ";"], "File": "ARCRegisterInfo", "Func": "getFrameRegister", "Target": "ARC", "Target_Clf": "MPU", "Compiler_Type": "LLVM", "Idx": 192980, "Length": 34, "Cover_Rate": 0.8717948717948718} {"Template_token": ["", "Reserved", ".", "set", "(", "", ")", ";", "Reserved", ".", "set", "(", "", ")", ";", "Reserved", ".", "set", "(", "", ")", ";", "Reserved", ".", "set", "(", "", ")", ";"], "ground_truth": ["return", "Reserved", ";"], "File": "ARCRegisterInfo", "Func": "getReservedRegs", "Target": "ARC", "Target_Clf": "MPU", "Compiler_Type": "LLVM", "Idx": 192981, "Length": 31, "Cover_Rate": 0.3974358974358974} {"Template_token": ["", "return", "MF", ".", "getMMI", "(", ")", ".", "hasDebugInfo", "(", ")", "||", "MF", ".", "getFunction", "(", ")", ".", "needsUnwindTableEntry", "(", ")", ";"], "ground_truth": ["}"], "File": "ARCRegisterInfo", "Func": "needsFrameMoves", "Target": "ARC", "Target_Clf": "MPU", "Compiler_Type": "LLVM", "Idx": 192982, "Length": 22, "Cover_Rate": 0.6666666666666666} {"Template_token": ["", "(", "void", ")", "TRI", ";", "RS", "->", "setRegUsed", "(", "BaseReg", ")", ";", "}", "unsigned", "AddOpc", "=", "isUInt", "<", "", ">", "(", "Offset", ")", "?", "", ":", "", ";", "BuildMI", "(", "MBB", ",", "II", ",", "dl", ",", "TII", ".", "get", "(", "AddOpc", ")", ")", ".", "addReg", "(", "BaseReg", ",", "RegState", "::", "Define", ")", ".", "addReg", "(", "FrameReg", ")", ".", "addImm", "(", "Offset", ")", ";", "Offset", "=", "", ";", "KillState", "=", "RegState", "::", "Kill", ";", "}", "switch", "(", "MI", ".", "getOpcode", "(", ")", ")", "{", "case", "", ":", "assert", "(", "(", "Offset", "%", "", "==", "", ")", "&&", "", ")", ";", "LLVM_FALLTHROUGH", ";", "case", "", ":", "case", "", ":", "assert", "(", "(", "Offset", "%", "", "==", "", ")", "&&", "", ")", ";", "LLVM_FALLTHROUGH", ";", "case", "", ":", "case", "", ":", "LLVM_DEBUG", "(", "dbgs", "(", ")", "<<", "", ")", ";", "BuildMI", "(", "MBB", ",", "II", ",", "dl", ",", "TII", ".", "get", "(", "MI", ".", "getOpcode", "(", ")", ")", ",", "Reg", ")", ".", "addReg", "(", "BaseReg", ",", "KillState", ")", ".", "addImm", "(", "Offset", ")", ".", "addMemOperand", "(", "*", "MI", ".", "memoperands_begin", "(", ")", ")", ";", "break", ";", "case", "", ":", "assert", "(", "(", "Offset", "%", "", "==", "", ")", "&&", "", ")", ";", "LLVM_FALLTHROUGH", ";", "case", "", ":", "assert", "(", "(", "Offset", "%", "", "==", "", ")", "&&", "", ")", ";", "LLVM_FALLTHROUGH", ";", "case", "", ":", "LLVM_DEBUG", "(", "dbgs", "(", ")", "<<", "", ")", ";", "BuildMI", "(", "MBB", ",", "II", ",", "dl", ",", "TII", ".", "get", "(", "MI", ".", "getOpcode", "(", ")", ")", ")", ".", "addReg", "(", "Reg", ",", "getKillRegState", "(", "MI", ".", "getOperand", "(", "", ")", ".", "isKill", "(", ")", ")", ")", ".", "addReg", "(", "BaseReg", ",", "KillState", ")", ".", "addImm", "(", "Offset", ")", ".", "addMemOperand", "(", "*", "MI", ".", "memoperands_begin", "(", ")", ")", ";", "break", ";", "case", "", ":", "LLVM_DEBUG", "(", "dbgs", "(", ")", "<<", "", ")", ";"], "ground_truth": ["BuildMI", "(", "MBB", ",", "II", ",", "dl", ",", "TII", ".", "get", "(", "isUInt", "<", "", ">", "(", "Offset", ")", "?", "", ":", "", ")", ")", ".", "addReg", "(", "Reg", ",", "RegState", "::", "Define", ")", ".", "addReg", "(", "FrameReg", ")", ".", "addImm", "(", "Offset", ")", ";"], "File": "ARCRegisterInfo", "Func": "ReplaceFrameIndex", "Target": "ARC", "Target_Clf": "MPU", "Compiler_Type": "LLVM", "Idx": 192984, "Length": 351, "Cover_Rate": 0.5278195488721804} {"Template_token": ["", "bool", "RegisterInfo", "::", "requiresRegisterScavenging", "(", "const", "MachineFunction", "&", "MF", ")", "const", "{", "return", "true", ";"], "ground_truth": ["}"], "File": "ARCRegisterInfo", "Func": "requiresRegisterScavenging", "Target": "ARC", "Target_Clf": "MPU", "Compiler_Type": "LLVM", "Idx": 192985, "Length": 16, "Cover_Rate": 1.0} {"Template_token": ["", "bool", "RegisterInfo", "::", "trackLivenessAfterRegAlloc", "(", "const", "MachineFunction", "&", "MF", ")", "const", "{", "return", "true", ";"], "ground_truth": ["}"], "File": "ARCRegisterInfo", "Func": "trackLivenessAfterRegAlloc", "Target": "ARC", "Target_Clf": "MPU", "Compiler_Type": "LLVM", "Idx": 192987, "Length": 16, "Cover_Rate": 1.0} {"Template_token": ["", "bool", "RegisterInfo", "::", "trackLivenessAfterRegAlloc", "(", "const", "MachineFunction", "&", "MF", ")", "const", "{"], "ground_truth": ["return", "true", ";"], "File": "ARCRegisterInfo", "Func": "trackLivenessAfterRegAlloc", "Target": "ARC", "Target_Clf": "MPU", "Compiler_Type": "LLVM", "Idx": 192988, "Length": 15, "Cover_Rate": 0.9375} {"Template_token": ["", "bool", "RegisterInfo", "::", "useFPForScavengingIndex", "(", "const", "MachineFunction", "&", "MF", ")", "const", "{", "return", "true", ";"], "ground_truth": ["}"], "File": "ARCRegisterInfo", "Func": "useFPForScavengingIndex", "Target": "ARC", "Target_Clf": "MPU", "Compiler_Type": "LLVM", "Idx": 192989, "Length": 16, "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", ",", "CPU", ",", "FS", ")", ",", "InstrInfo", "(", "*", "this", ")", ",", "FrameLowering", "(", "*", "this", ")", ",", "TLInfo", "(", "TM", ",", "*", "this", ")", "{"], "ground_truth": ["}"], "File": "ARCSubtarget3", "Func": "ARCSubtarget", "Target": "ARC", "Target_Clf": "MPU", "Compiler_Type": "LLVM", "Idx": 192990, "Length": 61, "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", ",", "CPU", ",", "FS", ")", ",", "InstrInfo", "(", "*", "this", ")", ",", "FrameLowering", "(", "*", "this", ")", ",", "TLInfo", "(", "TM", ",", "*", "this", ")", "{"], "ground_truth": ["}"], "File": "ARCSubtarget3", "Func": "ARCSubtarget", "Target": "ARC", "Target_Clf": "MPU", "Compiler_Type": "LLVM", "Idx": 192991, "Length": 61, "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", ",", "CPU", ",", "FS", ")", ",", "FrameLowering", "(", "*", "this", ")", ",", "TLInfo", "(", "TM", ",", "*", "this", ")", "{"], "ground_truth": ["}"], "File": "ARCSubtarget5", "Func": "ARCSubtarget", "Target": "ARC", "Target_Clf": "MPU", "Compiler_Type": "LLVM", "Idx": 192992, "Length": 55, "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", ",", "CPU", ",", "FS", ")", ",", "FrameLowering", "(", "*", "this", ")", ",", "TLInfo", "(", "TM", ",", "*", "this", ")", "{"], "ground_truth": ["}"], "File": "ARCSubtarget5", "Func": "ARCSubtarget", "Target": "ARC", "Target_Clf": "MPU", "Compiler_Type": "LLVM", "Idx": 192993, "Length": 55, "Cover_Rate": 1.0} {"Template_token": ["", "void", "Subtarget", "::", "anchor", "(", ")", "{"], "ground_truth": ["}"], "File": "ARCSubtarget", "Func": "anchor", "Target": "ARC", "Target_Clf": "MPU", "Compiler_Type": "LLVM", "Idx": 192994, "Length": 8, "Cover_Rate": 1.0} {"Template_token": ["", "void", "Subtarget", "::", "anchor", "(", ")", "{"], "ground_truth": ["}"], "File": "ARCSubtarget", "Func": "anchor", "Target": "ARC", "Target_Clf": "MPU", "Compiler_Type": "LLVM", "Idx": 192995, "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", "(", "*", "this", ")", ",", "TLInfo", "(", "TM", ",", "*", "this", ")", "{"], "ground_truth": ["}"], "File": "ARCSubtarget", "Func": "ARCSubtarget", "Target": "ARC", "Target_Clf": "MPU", "Compiler_Type": "LLVM", "Idx": 192996, "Length": 53, "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", "(", "*", "this", ")", ",", "TLInfo", "(", "TM", ",", "*", "this", ")", "{"], "ground_truth": ["}"], "File": "ARCSubtarget", "Func": "ARCSubtarget", "Target": "ARC", "Target_Clf": "MPU", "Compiler_Type": "LLVM", "Idx": 192997, "Length": 53, "Cover_Rate": 1.0} {"Template_token": ["", "const", "FrameLowering", "*", "getFrameLowering", "(", ")", "const", "override", "{"], "ground_truth": ["return", "&", "FrameLowering", ";"], "File": "ARCSubtarget", "Func": "getFrameLowering", "Target": "ARC", "Target_Clf": "MPU", "Compiler_Type": "LLVM", "Idx": 192999, "Length": 13, "Cover_Rate": 0.9285714285714286} {"Template_token": ["", "const", "InstrInfo", "*", "getInstrInfo", "(", ")", "const", "override", "{"], "ground_truth": ["return", "&", "InstrInfo", ";"], "File": "ARCSubtarget", "Func": "getInstrInfo", "Target": "ARC", "Target_Clf": "MPU", "Compiler_Type": "LLVM", "Idx": 193000, "Length": 13, "Cover_Rate": 0.9285714285714286} {"Template_token": ["", "const", "RegisterInfo", "*", "getRegisterInfo", "(", ")", "const", "override", "{", "return", "&", "InstrInfo", ".", "getRegisterInfo", "(", ")", ";"], "ground_truth": ["}"], "File": "ARCSubtarget", "Func": "getRegisterInfo", "Target": "ARC", "Target_Clf": "MPU", "Compiler_Type": "LLVM", "Idx": 193002, "Length": 18, "Cover_Rate": 1.0} {"Template_token": ["", "const", "SelectionDAGTargetInfo", "*", "getSelectionDAGInfo", "(", ")", "const", "override", "{", "return", "&", "TSInfo", ";"], "ground_truth": ["}"], "File": "ARCSubtarget", "Func": "getSelectionDAGInfo", "Target": "ARC", "Target_Clf": "MPU", "Compiler_Type": "LLVM", "Idx": 193004, "Length": 14, "Cover_Rate": 1.0} {"Template_token": ["", "const", "TargetLowering", "*", "getTargetLowering", "(", ")", "const", "override", "{"], "ground_truth": ["return", "&", "TLInfo", ";"], "File": "ARCSubtarget", "Func": "getTargetLowering", "Target": "ARC", "Target_Clf": "MPU", "Compiler_Type": "LLVM", "Idx": 193006, "Length": 13, "Cover_Rate": 0.9285714285714286} {"Template_token": ["", "return", "&", "TLInfo", ";"], "ground_truth": ["}"], "File": "ARCSubtarget", "Func": "getTargetLowering", "Target": "ARC", "Target_Clf": "MPU", "Compiler_Type": "LLVM", "Idx": 193007, "Length": 5, "Cover_Rate": 0.35714285714285715} {"Template_token": ["", "bool", "hasNorm", "(", ")", "const", "{", "return", "Xnorm", ";"], "ground_truth": ["}"], "File": "ARCSubtarget", "Func": "hasNorm", "Target": "ARC", "Target_Clf": "MPU", "Compiler_Type": "LLVM", "Idx": 193008, "Length": 10, "Cover_Rate": 1.0} {"Template_token": ["", "RegisterTarget", "<", "Triple", "::", "arc", ">", "X", "(", "getTheTarget", "(", ")", ",", "", ",", "", ")", ";"], "ground_truth": ["}"], "File": "ARCTargetInfo3", "Func": "LLVMInitializeARCTargetInfo", "Target": "ARC", "Target_Clf": "MPU", "Compiler_Type": "LLVM", "Idx": 193010, "Length": 18, "Cover_Rate": 0.782608695652174} {"Template_token": ["", "Target", "&", "llvm", "::", "getTheTarget", "(", ")", "{", "static", "Target", "TheTarget", ";", "return", "TheTarget", ";"], "ground_truth": ["}"], "File": "ARCTargetInfo", "Func": "getTheARCTarget", "Target": "ARC", "Target_Clf": "MPU", "Compiler_Type": "LLVM", "Idx": 193012, "Length": 16, "Cover_Rate": 1.0} {"Template_token": ["", "return", "RM", ".", "getValueOr", "(", "Reloc", "::", "Static", ")", ";"], "ground_truth": ["}"], "File": "ARCTargetMachine11", "Func": "getRelocModel", "Target": "ARC", "Target_Clf": "MPU", "Compiler_Type": "LLVM", "Idx": 193018, "Length": 11, "Cover_Rate": 0.4230769230769231} {"Template_token": ["", "void", "PassConfig", "::", "addPreRegAlloc", "(", ")", "{"], "ground_truth": ["addPass", "(", "createExpandPseudosPass", "(", ")", ")", ";"], "File": "ARCTargetMachine16", "Func": "addPreRegAlloc", "Target": "ARC", "Target_Clf": "MPU", "Compiler_Type": "LLVM", "Idx": 193019, "Length": 14, "Cover_Rate": 0.9333333333333333} {"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", ",", "", "", ",", "TT", ",", "CPU", ",", "FS", ",", "Options", ",", "getRelocModel", "(", "RM", ")", ",", "getEffectiveCodeModel", "(", "CM", ")", ",", "OL", ")", ",", "TLOF", "(", "make_unique", "<", "TargetLoweringObjectFileELF", ">", "(", ")", ")", ",", "Subtarget", "(", "TT", ",", "CPU", ",", "FS", ",", "*", "this", ")", "{"], "ground_truth": ["initAsmInfo", "(", ")", ";"], "File": "ARCTargetMachine16", "Func": "ARCTargetMachine", "Target": "ARC", "Target_Clf": "MPU", "Compiler_Type": "LLVM", "Idx": 193021, "Length": 104, "Cover_Rate": 0.9904761904761905} {"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", ",", "", "", ",", "TT", ",", "CPU", ",", "FS", ",", "Options", ",", "getRelocModel", "(", "RM", ")", ",", "getEffectiveCodeModel", "(", "CM", ")", ",", "OL", ")", ",", "TLOF", "(", "make_unique", "<", "TargetLoweringObjectFileELF", ">", "(", ")", ")", ",", "Subtarget", "(", "TT", ",", "CPU", ",", "FS", ",", "*", "this", ")", "{", "initAsmInfo", "(", ")", ";"], "ground_truth": ["}"], "File": "ARCTargetMachine16", "Func": "ARCTargetMachine", "Target": "ARC", "Target_Clf": "MPU", "Compiler_Type": "LLVM", "Idx": 193022, "Length": 105, "Cover_Rate": 1.0} {"Template_token": ["", "static", "CodeModel", "::", "Model", "getEffectiveCodeModel", "(", "Optional", "<", "CodeModel", "::", "Model", ">", "CM", ")", "{"], "ground_truth": ["if", "(", "CM", ")", "return", "*", "CM", ";"], "File": "ARCTargetMachine16", "Func": "getEffectiveCodeModel", "Target": "ARC", "Target_Clf": "MPU", "Compiler_Type": "LLVM", "Idx": 193023, "Length": 23, "Cover_Rate": 0.7931034482758621} {"Template_token": ["", "if", "(", "CM", ")", "return", "*", "CM", ";"], "ground_truth": ["return", "CodeModel", "::", "Small", ";"], "File": "ARCTargetMachine16", "Func": "getEffectiveCodeModel", "Target": "ARC", "Target_Clf": "MPU", "Compiler_Type": "LLVM", "Idx": 193024, "Length": 13, "Cover_Rate": 0.4482758620689655} {"Template_token": ["", "void", "LLVMInitializeTarget", "(", ")", "{"], "ground_truth": ["RegisterTargetMachine", "<", "TargetMachine", ">", "X", "(", "getTheTarget", "(", ")", ")", ";"], "File": "ARCTargetMachine1", "Func": "LLVMInitializeARCTarget", "Target": "ARC", "Target_Clf": "MPU", "Compiler_Type": "LLVM", "Idx": 193026, "Length": 16, "Cover_Rate": 0.9411764705882353} {"Template_token": ["", "return", "TargetTransformInfo", "(", "TTIImpl", "(", "this", ",", "F", ")", ")", ";"], "ground_truth": ["}"], "File": "ARCTargetMachine4", "Func": "getTargetTransformInfo", "Target": "ARC", "Target_Clf": "MPU", "Compiler_Type": "LLVM", "Idx": 193029, "Length": 12, "Cover_Rate": 0.5} {"Template_token": ["", "bool", "PassConfig", "::", "addInstSelector", "(", ")", "{"], "ground_truth": ["addPass", "(", "createISelDag", "(", "getTargetMachine", "(", ")", ",", "getOptLevel", "(", ")", ")", ")", ";"], "File": "ARCTargetMachine", "Func": "addInstSelector", "Target": "ARC", "Target_Clf": "MPU", "Compiler_Type": "LLVM", "Idx": 193031, "Length": 21, "Cover_Rate": 0.84} {"Template_token": ["", "void", "PassConfig", "::", "addPreEmitPass", "(", ")", "{"], "ground_truth": ["addPass", "(", "createBranchFinalizePass", "(", ")", ")", ";"], "File": "ARCTargetMachine", "Func": "addPreEmitPass", "Target": "ARC", "Target_Clf": "MPU", "Compiler_Type": "LLVM", "Idx": 193032, "Length": 14, "Cover_Rate": 0.9333333333333333} {"Template_token": ["", "void", "PassConfig", "::", "addPreEmitPass", "(", ")", "{"], "ground_truth": ["addPass", "(", "createBranchFinalizePass", "(", ")", ")", ";"], "File": "ARCTargetMachine", "Func": "addPreEmitPass", "Target": "ARC", "Target_Clf": "MPU", "Compiler_Type": "LLVM", "Idx": 193033, "Length": 14, "Cover_Rate": 0.9333333333333333} {"Template_token": ["", "PassConfig", "(", "TargetMachine", "&", "TM", ",", "PassManagerBase", "&", "PM", ")", ":", "TargetPassConfig", "(", "TM", ",", "PM", ")", "{"], "ground_truth": ["}"], "File": "ARCTargetMachine", "Func": "ARCPassConfig", "Target": "ARC", "Target_Clf": "MPU", "Compiler_Type": "LLVM", "Idx": 193036, "Length": 19, "Cover_Rate": 1.0} {"Template_token": ["", "PassConfig", "(", "TargetMachine", "&", "TM", ",", "PassManagerBase", "&", "PM", ")", ":", "TargetPassConfig", "(", "TM", ",", "PM", ")", "{"], "ground_truth": ["}"], "File": "ARCTargetMachine", "Func": "ARCPassConfig", "Target": "ARC", "Target_Clf": "MPU", "Compiler_Type": "LLVM", "Idx": 193037, "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", ",", "", "", ",", "TT", ",", "CPU", ",", "FS", ",", "Options", ",", "getRelocModel", "(", "RM", ")", ",", "getEffectiveCodeModel", "(", "CM", ",", "CodeModel", "::", "Small", ")", ",", "OL", ")", ",", "TLOF", "(", "std", "::", "make_unique", "<", "TargetLoweringObjectFileELF", ">", "(", ")", ")", ",", "Subtarget", "(", "TT", ",", "CPU", ",", "FS", ",", "*", "this", ")", "{", "initAsmInfo", "(", ")", ";"], "ground_truth": ["}"], "File": "ARCTargetMachine", "Func": "ARCTargetMachine", "Target": "ARC", "Target_Clf": "MPU", "Compiler_Type": "LLVM", "Idx": 193038, "Length": 111, "Cover_Rate": 1.0} {"Template_token": ["", "return", "new", "PassConfig", "(", "*", "this", ",", "PM", ")", ";"], "ground_truth": ["}"], "File": "ARCTargetMachine", "Func": "createPassConfig", "Target": "ARC", "Target_Clf": "MPU", "Compiler_Type": "LLVM", "Idx": 193039, "Length": 11, "Cover_Rate": 0.5} {"Template_token": ["", "TargetPassConfig", "*", "TargetMachine", "::", "createPassConfig", "(", "PassManagerBase", "&", "PM", ")", "{", "return", "new", "PassConfig", "(", "*", "this", ",", "PM", ")", ";"], "ground_truth": ["}"], "File": "ARCTargetMachine", "Func": "createPassConfig", "Target": "ARC", "Target_Clf": "MPU", "Compiler_Type": "LLVM", "Idx": 193040, "Length": 22, "Cover_Rate": 1.0} {"Template_token": ["", "TargetLoweringObjectFile", "*", "getObjFileLowering", "(", ")", "const", "override", "{"], "ground_truth": ["return", "TLOF", ".", "get", "(", ")", ";"], "File": "ARCTargetMachine", "Func": "getObjFileLowering", "Target": "ARC", "Target_Clf": "MPU", "Compiler_Type": "LLVM", "Idx": 193044, "Length": 15, "Cover_Rate": 0.9375} {"Template_token": ["", "static", "Reloc", "::", "Model", "getRelocModel", "(", "Optional", "<", "Reloc", "::", "Model", ">", "RM", ")", "{", "if", "(", "!", "RM", ".", "hasValue", "(", ")", ")", "return", "Reloc", "::", "Static", ";", "return", "*", "RM", ";"], "ground_truth": ["}"], "File": "ARCTargetMachine", "Func": "getRelocModel", "Target": "ARC", "Target_Clf": "MPU", "Compiler_Type": "LLVM", "Idx": 193046, "Length": 34, "Cover_Rate": 1.0} {"Template_token": ["", "const", "Subtarget", "*", "getSubtargetImpl", "(", "const", "Function", "&", ")", "const", "override", "{"], "ground_truth": ["return", "&", "Subtarget", ";"], "File": "ARCTargetMachine", "Func": "getSubtargetImpl", "Target": "ARC", "Target_Clf": "MPU", "Compiler_Type": "LLVM", "Idx": 193047, "Length": 16, "Cover_Rate": 0.9411764705882353} {"Template_token": ["", "const", "Subtarget", "*", "getSubtargetImpl", "(", "const", "Function", "&", ")", "const", "override", "{"], "ground_truth": ["return", "&", "Subtarget", ";"], "File": "ARCTargetMachine", "Func": "getSubtargetImpl", "Target": "ARC", "Target_Clf": "MPU", "Compiler_Type": "LLVM", "Idx": 193048, "Length": 16, "Cover_Rate": 0.9411764705882353} {"Template_token": ["", "return", "TargetTransformInfo", "(", "TTIImpl", "(", "this", ",", "F", ")", ")", ";"], "ground_truth": ["}"], "File": "ARCTargetMachine", "Func": "getTargetTransformInfo", "Target": "ARC", "Target_Clf": "MPU", "Compiler_Type": "LLVM", "Idx": 193050, "Length": 12, "Cover_Rate": 0.5217391304347826} {"Template_token": ["", "LLVM_EXTERNAL_VISIBILITY", "void", "LLVMInitializeTarget", "(", ")", "{", "RegisterTargetMachine", "<", "TargetMachine", ">", "X", "(", "getTheTarget", "(", ")", ")", ";"], "ground_truth": ["}"], "File": "ARCTargetMachine", "Func": "LLVMInitializeARCTarget", "Target": "ARC", "Target_Clf": "MPU", "Compiler_Type": "LLVM", "Idx": 193051, "Length": 18, "Cover_Rate": 1.0} {"Template_token": ["", "LLVM_EXTERNAL_VISIBILITY", "void", "LLVMInitializeTarget", "(", ")", "{", "RegisterTargetMachine", "<", "TargetMachine", ">", "X", "(", "getTheTarget", "(", ")", ")", ";"], "ground_truth": ["}"], "File": "ARCTargetMachine", "Func": "LLVMInitializeARCTarget", "Target": "ARC", "Target_Clf": "MPU", "Compiler_Type": "LLVM", "Idx": 193052, "Length": 18, "Cover_Rate": 1.0} {"Template_token": ["", "TTIImpl", "(", "TTIImpl", "&&", "Arg", ")", ":", "BaseT", "(", "std", "::", "move", "(", "static_cast", "<", "BaseT", "&", ">", "(", "Arg", ")", ")", ")", ",", "ST", "(", "std", "::", "move", "(", "Arg", ".", "ST", ")", ")", ",", "TLI", "(", "std", "::", "move", "(", "Arg", ".", "TLI", ")", ")", "{"], "ground_truth": ["}"], "File": "ARCTargetTransformInfo", "Func": "ARCTTIImpl", "Target": "ARC", "Target_Clf": "MPU", "Compiler_Type": "LLVM", "Idx": 193053, "Length": 49, "Cover_Rate": 1.0} {"Template_token": ["", "TTIImpl", "(", "TTIImpl", "&&", "Arg", ")", ":", "BaseT", "(", "std", "::", "move", "(", "static_cast", "<", "BaseT", "&", ">", "(", "Arg", ")", ")", ")", ",", "ST", "(", "std", "::", "move", "(", "Arg", ".", "ST", ")", ")", ",", "TLI", "(", "std", "::", "move", "(", "Arg", ".", "TLI", ")", ")", "{"], "ground_truth": ["}"], "File": "ARCTargetTransformInfo", "Func": "ARCTTIImpl", "Target": "ARC", "Target_Clf": "MPU", "Compiler_Type": "LLVM", "Idx": 193054, "Length": 49, "Cover_Rate": 1.0} {"Template_token": ["", "return", "ST", ";"], "ground_truth": ["}"], "File": "ARCTargetTransformInfo", "Func": "getST", "Target": "ARC", "Target_Clf": "MPU", "Compiler_Type": "LLVM", "Idx": 193055, "Length": 4, "Cover_Rate": 0.3333333333333333} {"Template_token": ["", "return", "TLI", ";"], "ground_truth": ["}"], "File": "ARCTargetTransformInfo", "Func": "getTLI", "Target": "ARC", "Target_Clf": "MPU", "Compiler_Type": "LLVM", "Idx": 193057, "Length": 4, "Cover_Rate": 0.3333333333333333}