{"Template_token": ["", "MCInstLower", "MCInstLowering", "(", "OutContext", ",", "*", "this", ")", ";", "MachineBasicBlock", "::", "const_instr_iterator", "I", "=", "MI", "->", "getIterator", "(", ")", ";", "MachineBasicBlock", "::", "const_instr_iterator", "E", "=", "MI", "->", "getParent", "(", ")", "->", "instr_end", "(", ")", ";", "do", "{", "MCInst", "TmpInst", ";"], "ground_truth": ["MCInstLowering", ".", "Lower", "(", "&", "*", "I", ",", "TmpInst", ")", ";"], "File": "F2003fAsmPrinter", "Func": "EmitInstruction", "Target": "F2003f", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 151911, "Length": 51, "Cover_Rate": 0.5795454545454546} {"Template_token": ["", "OutStreamer", "->", "EmitRawText", "(", "", ")", ";"], "ground_truth": ["}"], "File": "F2003fAsmPrinter", "Func": "EmitStartOfAsmFile", "Target": "F2003f", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 151912, "Length": 8, "Cover_Rate": 0.4444444444444444} {"Template_token": ["", "void", "AsmPrinter", "::", "EmitStartOfAsmFile", "(", "Module", "&", "module", ")", "{"], "ground_truth": ["OutStreamer", "->", "EmitRawText", "(", "", ")", ";"], "File": "F2003fAsmPrinter", "Func": "EmitStartOfAsmFile", "Target": "F2003f", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 151913, "Length": 17, "Cover_Rate": 0.9444444444444444} {"Template_token": ["", "AsmPrinter", "(", "TargetMachine", "&", "TM", ",", "std", "::", "unique_ptr", "<", "MCStreamer", ">", "Streamer", ")", ":", "AsmPrinter", "(", "TM", ",", "std", "::", "move", "(", "Streamer", ")", ")", "{"], "ground_truth": ["}"], "File": "F2003fAsmPrinter", "Func": "F2003fAsmPrinter", "Target": "F2003f", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 151914, "Length": 28, "Cover_Rate": 1.0} {"Template_token": ["", "AsmPrinter", "(", "TargetMachine", "&", "TM", ",", "std", "::", "unique_ptr", "<", "MCStreamer", ">", "Streamer", ")", ":", "AsmPrinter", "(", "TM", ",", "std", "::", "move", "(", "Streamer", ")", ")", "{"], "ground_truth": ["}"], "File": "F2003fAsmPrinter", "Func": "F2003fAsmPrinter", "Target": "F2003f", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 151915, "Length": 28, "Cover_Rate": 1.0} {"Template_token": ["", "return", "", ";"], "ground_truth": ["}"], "File": "F2003fAsmPrinter", "Func": "getPassName", "Target": "F2003f", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 151916, "Length": 4, "Cover_Rate": 0.36363636363636365} {"Template_token": ["", "StringRef", "getPassName", "(", ")", "const", "override", "{"], "ground_truth": ["return", "", ";"], "File": "F2003fAsmPrinter", "Func": "getPassName", "Target": "F2003f", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 151917, "Length": 10, "Cover_Rate": 0.9090909090909091} {"Template_token": ["", "RegisterAsmPrinter", "<", "AsmPrinter", ">", "X", "(", "getTheTarget", "(", ")", ")", ";"], "ground_truth": ["}"], "File": "F2003fAsmPrinter", "Func": "LLVMInitializeF2003fAsmPrinter", "Target": "F2003f", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 151918, "Length": 12, "Cover_Rate": 0.7058823529411765} {"Template_token": ["", "return", "new", "FiMalkrz", "(", ")", ";"], "ground_truth": ["}"], "File": "F2003fFiMalkrz", "Func": "createF2003fFiMalkrzPass", "Target": "F2003f", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 151920, "Length": 7, "Cover_Rate": 0.4666666666666667} {"Template_token": ["", "FiMalkrz", "(", ")", ":", "MachineFunctionPass", "(", "ID", ")", "{"], "ground_truth": ["}"], "File": "F2003fFiMalkrz", "Func": "F2003fFiMalkrz", "Target": "F2003f", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 151922, "Length": 10, "Cover_Rate": 1.0} {"Template_token": ["", "FiMalkrz", "(", ")", ":", "MachineFunctionPass", "(", "ID", ")", "{"], "ground_truth": ["}"], "File": "F2003fFiMalkrz", "Func": "F2003fFiMalkrz", "Target": "F2003f", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 151923, "Length": 10, "Cover_Rate": 1.0} {"Template_token": ["", "return", "", ";"], "ground_truth": ["}"], "File": "F2003fFiMalkrz", "Func": "getPassName", "Target": "F2003f", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 151925, "Length": 4, "Cover_Rate": 0.36363636363636365} {"Template_token": ["", "return", "MachineFunctionProperties", "(", ")", ".", "set", "(", "MachineFunctionProperties", "::", "Property", "::", "NoVRegs", ")", ";"], "ground_truth": ["}"], "File": "F2003fFiMalkrz", "Func": "getRequiredProperties", "Target": "F2003f", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 151927, "Length": 15, "Cover_Rate": 0.6818181818181818} {"Template_token": ["", "const", "InstrInfo", "&", "TII", "=", "*", "static_cast", "<", "const", "InstrInfo", "*", ">", "(", "F", ".", "getSubtarget", "(", ")", ".", "getInstrInfo", "(", ")", ")", ";", "for", "(", "auto", "&", "BB", ":", "F", ")", "{", "for", "(", "MachineBasicBlock", "::", "iterator", "I", "=", "BB", ".", "begin", "(", ")", ";", "I", "!=", "BB", ".", "end", "(", ")", ";", ")", "{", "MachineInstr", "&", "MI", "=", "*", "I", ";", "DebugLoc", "DL", "=", "MI", ".", "getDebugLoc", "(", ")", ";", "unsigned", "Opc", "=", "MI", ".", "getOpcode", "(", ")", ";", "unsigned", "FiOpc", "=", "TII", ".", "getFiFromFiMalkrz", "(", "Opc", ")", ";", "if", "(", "FiOpc", "!=", "", ")", "{", "DEBUG", "(", "dbgs", "(", ")", "<<", "", ")", ";", "DEBUG", "(", "MI", ".", "dump", "(", ")", ")", ";", "MIBundleBuilder", "Bundle", "(", "BB", ",", "I", ")", ";", "unsigned", "MalkrzOpc", "=", "TII", ".", "getMalkrzFromFiMalkrz", "(", "Opc", ")", ";", "unsigned", "MalkrzNumOperands", "=", "TII", ".", "get", "(", "MalkrzOpc", ")", ".", "getNumOperands", "(", ")", ";", "MachineInstrBuilder", "Malkrz", "=", "BuildMI", "(", "F", ",", "DL", ",", "TII", ".", "get", "(", "MalkrzOpc", ")", ")", ";", "for", "(", "unsigned", "i", "=", "", ";", "i", "<", "MalkrzNumOperands", ";", "i", "++", ")", "{", "Malkrz", ".", "add", "(", "MI", ".", "getOperand", "(", "i", ")", ")", ";", "}", "Bundle", ".", "prepend", "(", "Malkrz", ")", ";", "unsigned", "FiNumOperands", "=", "TII", ".", "get", "(", "FiOpc", ")", ".", "getNumOperands", "(", ")", ";", "MachineInstrBuilder", "Fi", "=", "BuildMI", "(", "F", ",", "DL", ",", "TII", ".", "get", "(", "FiOpc", ")", ")", ";", "for", "(", "unsigned", "i", "=", "", ";", "i", "<", "FiNumOperands", ";", "i", "++", ")", "{", "Fi", ".", "add", "(", "MI", ".", "getOperand", "(", "i", "+", "MalkrzNumOperands", ")", ")", ";", "}", "Bundle", ".", "prepend", "(", "Fi", ")", ";", "I", "=", "BB", ".", "erase", "(", "MI", ")", ";", "}", "else", "{"], "ground_truth": ["++", "I", ";"], "File": "F2003fFiMalkrz", "Func": "runOnMachineFunction", "Target": "F2003f", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 151928, "Length": 283, "Cover_Rate": 0.9370860927152318} {"Template_token": ["", "if", "(", "FiOpc", "!=", "", ")", "{", "DEBUG", "(", "dbgs", "(", ")", "<<", "", ")", ";", "DEBUG", "(", "MI", ".", "dump", "(", ")", ")", ";", "MIBundleBuilder", "Bundle", "(", "BB", ",", "I", ")", ";", "unsigned", "MalkrzOpc", "=", "TII", ".", "getMalkrzFromFiMalkrz", "(", "Opc", ")", ";", "unsigned", "MalkrzNumOperands", "=", "TII", ".", "get", "(", "MalkrzOpc", ")", ".", "getNumOperands", "(", ")", ";", "MachineInstrBuilder", "Malkrz", "=", "BuildMI", "(", "F", ",", "DL", ",", "TII", ".", "get", "(", "MalkrzOpc", ")", ")", ";", "for", "(", "unsigned", "i", "=", "", ";", "i", "<", "MalkrzNumOperands", ";", "i", "++", ")", "{", "Malkrz", ".", "add", "(", "MI", ".", "getOperand", "(", "i", ")", ")", ";", "}", "Bundle", ".", "prepend", "(", "Malkrz", ")", ";", "unsigned", "FiNumOperands", "=", "TII", ".", "get", "(", "FiOpc", ")", ".", "getNumOperands", "(", ")", ";", "MachineInstrBuilder", "Fi", "=", "BuildMI", "(", "F", ",", "DL", ",", "TII", ".", "get", "(", "FiOpc", ")", ")", ";", "for", "(", "unsigned", "i", "=", "", ";", "i", "<", "FiNumOperands", ";", "i", "++", ")", "{", "Fi", ".", "add", "(", "MI", ".", "getOperand", "(", "i", "+", "MalkrzNumOperands", ")", ")", ";", "}"], "ground_truth": ["Bundle", ".", "prepend", "(", "Fi", ")", ";"], "File": "F2003fFiMalkrz", "Func": "runOnMachineFunction", "Target": "F2003f", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 151929, "Length": 177, "Cover_Rate": 0.5860927152317881} {"Template_token": ["", "MachineBasicBlock", "::", "iterator", "FrameLowering", "::", "eliminateCallFramePseudoInstr", "(", "MachineFunction", "&", "MF", ",", "MachineBasicBlock", "&", "MBB", ",", "MachineBasicBlock", "::", "iterator", "I", ")", "const", "{", "const", "InstrInfo", "&", "TII", "=", "*", "static_cast", "<", "const", "InstrInfo", "*", ">", "(", "MF", ".", "getSubtarget", "(", ")", ".", "getInstrInfo", "(", ")", ")", ";", "MachineInstr", "&", "Old", "=", "*", "I", ";", "DebugLoc", "DL", "=", "Old", ".", "getDebugLoc", "(", ")", ";", "unsigned", "Amount", "=", "TII", ".", "getFrameSize", "(", "Old", ")", ";", "if", "(", "Amount", "!=", "", ")", "{", "unsigned", "Opc", "=", "Old", ".", "getOpcode", "(", ")", ";", "if", "(", "Opc", "==", "", ")", "{", "BuildMI", "(", "MBB", ",", "I", ",", "DL", ",", "TII", ".", "get", "(", "", ")", ",", "", ")", ".", "addReg", "(", "", ")", ".", "addImm", "(", "Amount", ")", ";", "}", "else", "{", "assert", "(", "Opc", "==", "", ")", ";", "BuildMI", "(", "MBB", ",", "I", ",", "DL", ",", "TII", ".", "get", "(", "", ")", ",", "", ")", ".", "addReg", "(", "", ")", ".", "addImm", "(", "Amount", ")", ";", "}", "}"], "ground_truth": ["return", "MBB", ".", "erase", "(", "I", ")", ";"], "File": "F2003fFrameLowering", "Func": "eliminateCallFramePseudoInstr", "Target": "F2003f", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 151930, "Length": 171, "Cover_Rate": 0.9095744680851063} {"Template_token": ["", "MachineBasicBlock", "::", "iterator", "MBBI", "=", "MBB", ".", "getLastNonDebugInstr", "(", ")", ";", "DebugLoc", "DL", "=", "MBBI", "->", "getDebugLoc", "(", ")", ";", "uint64_t", "StackSize", "=", "MFI", ".", "getStackSize", "(", ")", ";", "if", "(", "StackSize", ")", "{", "BuildMI", "(", "MBB", ",", "MBBI", ",", "DL", ",", "TII", ".", "get", "(", "", ")", ",", "", ")", ".", "addReg", "(", "", ")", ".", "addImm", "(", "StackSize", ")", ";"], "ground_truth": ["}"], "File": "F2003fFrameLowering", "Func": "emitEpilogue", "Target": "F2003f", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 151931, "Length": 63, "Cover_Rate": 0.525} {"Template_token": ["", "DebugLoc", "DL", "=", "MBBI", "!=", "MBB", ".", "end", "(", ")", "?", "MBBI", "->", "getDebugLoc", "(", ")", ":", "DebugLoc", "(", ")", ";", "uint64_t", "StackSize", "=", "MFI", ".", "getStackSize", "(", ")", ";", "if", "(", "StackSize", ")", "{", "BuildMI", "(", "MBB", ",", "MBBI", ",", "DL", ",", "TII", ".", "get", "(", "", ")", ",", "", ")", ".", "addReg", "(", "", ")", ".", "addImm", "(", "StackSize", ")", ";"], "ground_truth": ["}"], "File": "F2003fFrameLowering", "Func": "emitPrologue", "Target": "F2003f", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 151932, "Length": 64, "Cover_Rate": 0.4383561643835616} {"Template_token": ["", "explicit", "FrameLowering", "(", ")", ":", "TargetFrameLowering", "(", "TargetFrameLowering", "::", "StackGrowsDown", ",", "", ",", "", ")", "{"], "ground_truth": ["}"], "File": "F2003fFrameLowering", "Func": "F2003fFrameLowering", "Target": "F2003f", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 151933, "Length": 17, "Cover_Rate": 1.0} {"Template_token": ["", "explicit", "FrameLowering", "(", ")", ":", "TargetFrameLowering", "(", "TargetFrameLowering", "::", "StackGrowsDown", ",", "", ",", "", ")", "{"], "ground_truth": ["}"], "File": "F2003fFrameLowering", "Func": "F2003fFrameLowering", "Target": "F2003f", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 151934, "Length": 17, "Cover_Rate": 1.0} {"Template_token": ["", "bool", "FrameLowering", "::", "hasFP", "(", "const", "MachineFunction", "&", "MF", ")", "const", "{"], "ground_truth": ["return", "false", ";"], "File": "F2003fFrameLowering", "Func": "hasFP", "Target": "F2003f", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 151935, "Length": 15, "Cover_Rate": 0.9375} {"Template_token": ["", "return", "TargetFrameLowering", "::", "needsFrameIndexResolution", "(", "MF", ")", "||", "!", "canSimplifyCallFramePseudos", "(", "MF", ")", ";"], "ground_truth": ["}"], "File": "F2003fFrameLowering", "Func": "needsFrameIndexResolution", "Target": "F2003f", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 151936, "Length": 15, "Cover_Rate": 0.5555555555555556} {"Template_token": ["", "bool", "FrameLowering", "::", "needsFrameIndexResolution", "(", "const", "MachineFunction", "&", "MF", ")", "const", "{", "return", "TargetFrameLowering", "::", "needsFrameIndexResolution", "(", "MF", ")", "||", "!", "canSimplifyCallFramePseudos", "(", "MF", ")", ";"], "ground_truth": ["}"], "File": "F2003fFrameLowering", "Func": "needsFrameIndexResolution", "Target": "F2003f", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 151937, "Length": 27, "Cover_Rate": 1.0} {"Template_token": ["", "InstPrinter", "(", "const", "MCAsmInfo", "&", "MAI", ",", "const", "MCInstrInfo", "&", "MII", ",", "const", "MCRegisterInfo", "&", "MRI", ")", ":", "MCInstPrinter", "(", "MAI", ",", "MII", ",", "MRI", ")", "{"], "ground_truth": ["}"], "File": "F2003fInstPrinter", "Func": "F2003fInstPrinter", "Target": "F2003f", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 151938, "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": "F2003fInstPrinter", "Func": "F2003fInstPrinter", "Target": "F2003f", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 151939, "Length": 28, "Cover_Rate": 1.0} {"Template_token": ["", "", "CC", "=", "(", "", ")", "MI", "->", "getOperand", "(", "OpNo", ")", ".", "getImm", "(", ")", ";"], "ground_truth": ["O", "<<", "CCToString", "(", "CC", ")", ";"], "File": "F2003fInstPrinter", "Func": "printCC", "Target": "F2003f", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 151940, "Length": 24, "Cover_Rate": 0.5106382978723404} {"Template_token": ["", "", "CC", "=", "(", "", ")", "MI", "->", "getOperand", "(", "OpNo", ")", ".", "getImm", "(", ")", ";", "O", "<<", "CCToString", "(", "CC", ")", ";"], "ground_truth": ["}"], "File": "F2003fInstPrinter", "Func": "printCC", "Target": "F2003f", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 151941, "Length": 25, "Cover_Rate": 0.5319148936170213} {"Template_token": ["", "void", "InstPrinter", "::", "printInst", "(", "const", "MCInst", "*", "MI", ",", "raw_ostream", "&", "O", ",", "StringRef", "Annot", ",", "const", "MCSubtargetInfo", "&", "STI", ")", "{"], "ground_truth": ["printInstruction", "(", "MI", ",", "O", ")", ";"], "File": "F2003fInstPrinter", "Func": "printInst", "Target": "F2003f", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 151942, "Length": 30, "Cover_Rate": 0.7894736842105263} {"Template_token": ["", "}", "if", "(", "dispImm", ".", "isImm", "(", ")", ")", "{", "if", "(", "dispImm", ".", "getImm", "(", ")", ")", "{", "O", "<<", "'+'", ";", "printOperand", "(", "MI", ",", "OpNo", "+", "", ",", "O", ")", ";", "}", "}", "else", "{", "O", "<<", "'+'", ";", "assert", "(", "dispImm", ".", "isExpr", "(", ")", "&&", "", ")", ";", "dispImm", ".", "getExpr", "(", ")", "->", "print", "(", "O", ",", "&", "MAI", ")", ";"], "ground_truth": ["}"], "File": "F2003fInstPrinter", "Func": "printMem", "Target": "F2003f", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 151943, "Length": 68, "Cover_Rate": 0.4146341463414634} {"Template_token": ["", "const", "MCOperand", "&", "dispReg", "=", "MI", "->", "getOperand", "(", "OpNo", "+", "", ")", ";", "const", "MCOperand", "&", "dispImm", "=", "MI", "->", "getOperand", "(", "OpNo", "+", "", ")", ";", "printOperand", "(", "MI", ",", "OpNo", ",", "O", ")", ";", "if", "(", "dispReg", ".", "getReg", "(", ")", ")", "{", "O", "<<", "'+'", ";", "printOperand", "(", "MI", ",", "OpNo", "+", "", ",", "O", ")", ";", "}", "if", "(", "dispImm", ".", "isImm", "(", ")", ")", "{", "if", "(", "dispImm", ".", "getImm", "(", ")", ")", "{", "O", "<<", "'+'", ";"], "ground_truth": ["printOperand", "(", "MI", ",", "OpNo", "+", "", ",", "O", ")", ";"], "File": "F2003fInstPrinter", "Func": "printMem", "Target": "F2003f", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 151944, "Length": 95, "Cover_Rate": 0.5792682926829268} {"Template_token": ["", "}", "else", "if", "(", "Op", ".", "isImm", "(", ")", ")", "{", "O", "<<", "(", "uint32_t", ")", "Op", ".", "getImm", "(", ")", ";", "}", "else", "{", "assert", "(", "Op", ".", "isExpr", "(", ")", "&&", "", ")", ";"], "ground_truth": ["Op", ".", "getExpr", "(", ")", "->", "print", "(", "O", ",", "&", "MAI", ")", ";"], "File": "F2003fInstPrinter", "Func": "printOperand", "Target": "F2003f", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 151945, "Length": 50, "Cover_Rate": 0.49019607843137253} {"Template_token": ["", "O", "<<", "(", "uint32_t", ")", "Op", ".", "getImm", "(", ")", ";", "}", "else", "{", "assert", "(", "Op", ".", "isExpr", "(", ")", "&&", "", ")", ";", "Op", ".", "getExpr", "(", ")", "->", "print", "(", "O", ",", "&", "MAI", ")", ";"], "ground_truth": ["}"], "File": "F2003fInstPrinter", "Func": "printOperand", "Target": "F2003f", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 151946, "Length": 40, "Cover_Rate": 0.39215686274509803} {"Template_token": ["", "OS", "<<", "getRegisterName", "(", "RegNo", ")", ";"], "ground_truth": ["}"], "File": "F2003fInstPrinter", "Func": "printRegName", "Target": "F2003f", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 151947, "Length": 8, "Cover_Rate": 0.36363636363636365} {"Template_token": ["", "OS", "<<", "getRegisterName", "(", "RegNo", ")", ";"], "ground_truth": ["}"], "File": "F2003fInstPrinter", "Func": "printRegName", "Target": "F2003f", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 151948, "Length": 8, "Cover_Rate": 0.36363636363636365} {"Template_token": ["", "TBB", "=", "I", "->", "getOperand", "(", "", ")", ".", "getMBB", "(", ")", ";", "continue", ";", "}", "assert", "(", "getMalkrzFromFiMalkrz", "(", "I", "->", "getOpcode", "(", ")", ")", "==", "", "&&", "", ")", ";", "if", "(", "Cond", ".", "empty", "(", ")", ")", "{", "FBB", "=", "TBB", ";", "TBB", "=", "I", "->", "getOperand", "(", "", ")", ".", "getMBB", "(", ")", ";", "Cond", ".", "push_back", "(", "MachineOperand", "::", "CreateImm", "(", "I", "->", "getOpcode", "(", ")", ")", ")", ";", "for", "(", "unsigned", "i", "=", "", ";", "i", "<", "I", "->", "getNumOperands", "(", ")", ";", "i", "++", ")", "{"], "ground_truth": ["Cond", ".", "push_back", "(", "I", "->", "getOperand", "(", "i", ")", ")", ";"], "File": "F2003fInstrInfo", "Func": "analyzeBranch", "Target": "F2003f", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 151949, "Length": 105, "Cover_Rate": 0.3181818181818182} {"Template_token": ["", "--", "I", ";", "if", "(", "I", "->", "isDebugValue", "(", ")", ")", "continue", ";", "if", "(", "!", "isUnpredicatedTerminator", "(", "*", "I", ")", ")", "break", ";", "if", "(", "!", "I", "->", "isBranch", "(", ")", ")", "return", "true", ";", "if", "(", "I", "->", "isIndirectBranch", "(", ")", ")", "return", "true", ";", "if", "(", "I", "->", "getOpcode", "(", ")", "==", "", ")", "{", "if", "(", "!", "AllowModify", ")", "{", "TBB", "=", "I", "->", "getOperand", "(", "", ")", ".", "getMBB", "(", ")", ";", "continue", ";", "}", "while", "(", "std", "::", "next", "(", "I", ")", "!=", "MBB", ".", "end", "(", ")", ")", "std", "::", "next", "(", "I", ")", "->", "eraseFromParent", "(", ")", ";"], "ground_truth": ["Cond", ".", "clear", "(", ")", ";"], "File": "F2003fInstrInfo", "Func": "analyzeBranch", "Target": "F2003f", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 151950, "Length": 112, "Cover_Rate": 0.3393939393939394} {"Template_token": ["", "void", "InstrInfo", "::", "anchor", "(", ")", "{"], "ground_truth": ["}"], "File": "F2003fInstrInfo", "Func": "anchor", "Target": "F2003f", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 151951, "Length": 8, "Cover_Rate": 1.0} {"Template_token": ["", "void", "InstrInfo", "::", "anchor", "(", ")", "{"], "ground_truth": ["}"], "File": "F2003fInstrInfo", "Func": "anchor", "Target": "F2003f", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 151952, "Length": 8, "Cover_Rate": 1.0} {"Template_token": ["", "BuildMI", "(", "MBB", ",", "I", ",", "DL", ",", "get", "(", "", ")", ",", "DestReg", ")", ".", "addReg", "(", "SrcReg", ",", "getKillRegState", "(", "KillSrc", ")", ")", ";"], "ground_truth": ["}"], "File": "F2003fInstrInfo", "Func": "copyPhysReg", "Target": "F2003f", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 151953, "Length": 27, "Cover_Rate": 0.4576271186440678} {"Template_token": ["", "void", "InstrInfo", "::", "copyPhysReg", "(", "MachineBasicBlock", "&", "MBB", ",", "MachineBasicBlock", "::", "iterator", "I", ",", "const", "DebugLoc", "&", "DL", ",", "unsigned", "DestReg", ",", "unsigned", "SrcReg", ",", "bool", "KillSrc", ")", "const", "{"], "ground_truth": ["BuildMI", "(", "MBB", ",", "I", ",", "DL", ",", "get", "(", "", ")", ",", "DestReg", ")", ".", "addReg", "(", "SrcReg", ",", "getKillRegState", "(", "KillSrc", ")", ")", ";"], "File": "F2003fInstrInfo", "Func": "copyPhysReg", "Target": "F2003f", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 151954, "Length": 56, "Cover_Rate": 0.9491525423728814} {"Template_token": ["", "InstrInfo", "::", "InstrInfo", "(", "Subtarget", "&", "STI", ")", ":", "GenInstrInfo", "(", "", ",", "", ")", ",", "RI", "(", ")", "{"], "ground_truth": ["}"], "File": "F2003fInstrInfo", "Func": "F2003fInstrInfo", "Target": "F2003f", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 151955, "Length": 21, "Cover_Rate": 0.84} {"Template_token": ["", "InstrInfo", "::", "InstrInfo", "(", "Subtarget", "&", "STI", ")", ":", "GenInstrInfo", "(", "", ",", "", ")", ",", "RI", "(", ")", "{"], "ground_truth": ["}"], "File": "F2003fInstrInfo", "Func": "F2003fInstrInfo", "Target": "F2003f", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 151956, "Length": 21, "Cover_Rate": 0.84} {"Template_token": ["", "unsigned", "InstrInfo", "::", "getFiFromFiMalkrz", "(", "unsigned", "Opc", ")", "const", "{", "switch", "(", "Opc", ")", "{", "default", ":", "return", "", ";", "case", "", ":", "case", "", ":", "case", "", ":", "case", "", ":", "return", "", ";", "case", "", ":", "case", "", ":", "case", "", ":", "case", "", ":", "return", "", ";", "case", "", ":", "case", "", ":", "case", "", ":", "case", "", ":", "return", "", ";", "case", "", ":", "case", "", ":", "case", "", ":", "case", "", ":", "return", "", ";", "case", "", ":", "case", "", ":", "case", "", ":"], "ground_truth": ["case", "", ":", "return", "", ";"], "File": "F2003fInstrInfo", "Func": "getFiFromFiMalkrz", "Target": "F2003f", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 151957, "Length": 95, "Cover_Rate": 0.3815261044176707} {"Template_token": ["", "assert", "(", "isFrameInstr", "(", "I", ")", "&&", "", ")", ";", "assert", "(", "I", ".", "getOperand", "(", "", ")", ".", "getImm", "(", ")", ">=", "", "&&", "", ")", ";", "return", "I", ".", "getOperand", "(", "", ")", ".", "getImm", "(", ")", ";"], "ground_truth": ["}"], "File": "F2003fInstrInfo", "Func": "getFramePoppedByCallee", "Target": "F2003f", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 151958, "Length": 41, "Cover_Rate": 0.803921568627451} {"Template_token": ["", "default", ":", "return", "", ";", "case", "", ":", "case", "", ":", "case", "", ":", "case", "", ":", "case", "", ":", "case", "", ":", "case", "", ":", "case", "", ":", "case", "", ":", "return", "", ";", "case", "", ":", "case", "", ":", "case", "", ":", "case", "", ":", "case", "", ":", "case", "", ":", "case", "", ":", "case", "", ":", "case", "", ":", "return", "", ";", "case", "", ":", "case", "", ":", "case", "", ":", "case", "", ":", "case", "", ":", "case", "", ":", "case", "", ":", "case", "", ":", "case", "", ":", "return", "", ";", "case", "", ":", "case", "", ":", "case", "", ":"], "ground_truth": ["case", "", ":", "case", "", ":", "case", "", ":"], "File": "F2003fInstrInfo", "Func": "getMalkrzFromFiMalkrz", "Target": "F2003f", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 151960, "Length": 113, "Cover_Rate": 0.5044642857142857} {"Template_token": ["", "case", "", ":", "case", "", ":", "case", "", ":", "case", "", ":", "case", "", ":", "case", "", ":", "case", "", ":", "case", "", ":", "case", "", ":", "return", "", ";", "case", "", ":", "case", "", ":", "case", "", ":", "case", "", ":", "case", "", ":", "case", "", ":", "case", "", ":", "case", "", ":", "case", "", ":", "return", "", ";"], "ground_truth": ["case", "", ":", "case", "", ":", "case", "", ":"], "File": "F2003fInstrInfo", "Func": "getMalkrzFromFiMalkrz", "Target": "F2003f", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 151961, "Length": 69, "Cover_Rate": 0.3080357142857143} {"Template_token": ["", "void", "InstrInfo", "::", "getNoop", "(", "MCInst", "&", "NopInst", ")", "const", "{"], "ground_truth": ["NopInst", ".", "setOpcode", "(", "", ")", ";"], "File": "F2003fInstrInfo", "Func": "getNoop", "Target": "F2003f", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 151962, "Length": 18, "Cover_Rate": 0.8571428571428571} {"Template_token": ["", "void", "InstrInfo", "::", "getNoop", "(", "MCInst", "&", "NopInst", ")", "const", "{", "NopInst", ".", "setOpcode", "(", "", ")", ";"], "ground_truth": ["}"], "File": "F2003fInstrInfo", "Func": "getNoop", "Target": "F2003f", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 151963, "Length": 19, "Cover_Rate": 0.9047619047619048} {"Template_token": ["", "return", "RI", ";"], "ground_truth": ["}"], "File": "F2003fInstrInfo", "Func": "getRegisterInfo", "Target": "F2003f", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 151964, "Length": 4, "Cover_Rate": 0.3333333333333333} {"Template_token": ["", "assert", "(", "(", "Cond", ".", "empty", "(", ")", "||", "(", "getMalkrzFromFiMalkrz", "(", "Cond", "[", "", "]", ".", "getImm", "(", ")", ")", "==", "", "&&", "get", "(", "Cond", "[", "", "]", ".", "getImm", "(", ")", ")", ".", "getNumOperands", "(", ")", "==", "Cond", ".", "size", "(", ")", ")", ")", "&&", "", ")", ";", "assert", "(", "!", "BytesAdded", "&&", "", ")", ";", "if", "(", "Cond", ".", "empty", "(", ")", ")", "{", "assert", "(", "!", "FBB", "&&", "", ")", ";", "BuildMI", "(", "&", "MBB", ",", "DL", ",", "get", "(", "", ")", ")", ".", "addMBB", "(", "TBB", ")", ";", "return", "", ";", "}", "unsigned", "Count", "=", "", ";", "MachineInstrBuilder", "Malkrz", "=", "BuildMI", "(", "&", "MBB", ",", "DL", ",", "get", "(", "Cond", "[", "", "]", ".", "getImm", "(", ")", ")", ")", ".", "addMBB", "(", "TBB", ")", ";", "for", "(", "unsigned", "i", "=", "", ";", "i", "<", "Cond", ".", "size", "(", ")", ";", "i", "++", ")", "{", "Malkrz", ".", "add", "(", "Cond", "[", "i", "]", ")", ";", "}", "++", "Count", ";", "if", "(", "FBB", ")", "{", "BuildMI", "(", "&", "MBB", ",", "DL", ",", "get", "(", "", ")", ")", ".", "addMBB", "(", "FBB", ")", ";"], "ground_truth": ["++", "Count", ";"], "File": "F2003fInstrInfo", "Func": "insertBranch", "Target": "F2003f", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 151966, "Length": 190, "Cover_Rate": 0.7851239669421488} {"Template_token": ["", "if", "(", "MI", ".", "isBranch", "(", ")", "&&", "!", "MI", ".", "isBarrier", "(", ")", ")", "return", "true", ";", "if", "(", "!", "MI", ".", "isPredicable", "(", ")", ")", "return", "true", ";"], "ground_truth": ["return", "!", "isPredicated", "(", "MI", ")", ";"], "File": "F2003fInstrInfo", "Func": "isUnpredicatedTerminator", "Target": "F2003f", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 151967, "Length": 37, "Cover_Rate": 0.5967741935483871} {"Template_token": ["", "bool", "InstrInfo", "::", "isUnpredicatedTerminator", "(", "const", "MachineInstr", "&", "MI", ")", "const", "{"], "ground_truth": ["if", "(", "!", "MI", ".", "isTerminator", "(", ")", ")", "return", "false", ";"], "File": "F2003fInstrInfo", "Func": "isUnpredicatedTerminator", "Target": "F2003f", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 151968, "Length": 24, "Cover_Rate": 0.3870967741935484} {"Template_token": ["", "void", "InstrInfo", "::", "loadRegFromStackSlot", "(", "MachineBasicBlock", "&", "MBB", ",", "MachineBasicBlock", "::", "iterator", "MI", ",", "unsigned", "DestReg", ",", "int", "FrameIdx", ",", "const", "TargetRegisterClass", "*", "RC", ",", "const", "TargetRegisterInfo", "*", "TRI", ")", "const", "{", "DebugLoc", "DL", ";", "if", "(", "MI", "!=", "MBB", ".", "end", "(", ")", ")", "DL", "=", "MI", "->", "getDebugLoc", "(", ")", ";", "MachineFunction", "&", "MF", "=", "*", "MBB", ".", "getParent", "(", ")", ";", "MachineFrameInfo", "&", "MFI", "=", "MF", ".", "getFrameInfo", "(", ")", ";", "MachineMemOperand", "*", "MMO", "=", "MF", ".", "getMachineMemOperand", "(", "MachinePointerInfo", "::", "getFixedStack", "(", "MF", ",", "FrameIdx", ")", ",", "MachineMemOperand", "::", "MOLoad", ",", "MFI", ".", "getObjectSize", "(", "FrameIdx", ")", ",", "MFI", ".", "getObjectAlignment", "(", "FrameIdx", ")", ")", ";"], "ground_truth": ["BuildMI", "(", "MBB", ",", "MI", ",", "DL", ",", "get", "(", "", ")", ")", ".", "addReg", "(", "DestReg", ",", "getDefRegState", "(", "true", ")", ")", ".", "addFrameIndex", "(", "FrameIdx", ")", ".", "addReg", "(", "", ")", ".", "addImm", "(", "", ")", ".", "addMemOperand", "(", "MMO", ")", ";"], "File": "F2003fInstrInfo", "Func": "loadRegFromStackSlot", "Target": "F2003f", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 151969, "Length": 154, "Cover_Rate": 0.9808917197452229} {"Template_token": ["", "if", "(", "MI", "!=", "MBB", ".", "end", "(", ")", ")", "DL", "=", "MI", "->", "getDebugLoc", "(", ")", ";", "MachineFunction", "&", "MF", "=", "*", "MBB", ".", "getParent", "(", ")", ";", "MachineFrameInfo", "&", "MFI", "=", "MF", ".", "getFrameInfo", "(", ")", ";", "MachineMemOperand", "*", "MMO", "=", "MF", ".", "getMachineMemOperand", "(", "MachinePointerInfo", "::", "getFixedStack", "(", "MF", ",", "FrameIdx", ")", ",", "MachineMemOperand", "::", "MOLoad", ",", "MFI", ".", "getObjectSize", "(", "FrameIdx", ")", ",", "MFI", ".", "getObjectAlignment", "(", "FrameIdx", ")", ")", ";", "BuildMI", "(", "MBB", ",", "MI", ",", "DL", ",", "get", "(", "", ")", ")", ".", "addReg", "(", "DestReg", ",", "getDefRegState", "(", "true", ")", ")", ".", "addFrameIndex", "(", "FrameIdx", ")", ".", "addReg", "(", "", ")", ".", "addImm", "(", "", ")", ".", "addMemOperand", "(", "MMO", ")", ";"], "ground_truth": ["}"], "File": "F2003fInstrInfo", "Func": "loadRegFromStackSlot", "Target": "F2003f", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 151970, "Length": 120, "Cover_Rate": 0.7643312101910829} {"Template_token": ["", "assert", "(", "!", "BytesRemoved", "&&", "", ")", ";", "MachineBasicBlock", "::", "iterator", "I", "=", "MBB", ".", "end", "(", ")", ";", "unsigned", "Count", "=", "", ";", "while", "(", "I", "!=", "MBB", ".", "begin", "(", ")", ")", "{", "--", "I", ";", "if", "(", "I", "->", "isDebugValue", "(", ")", ")", "continue", ";", "if", "(", "!", "I", "->", "isBranch", "(", ")", ")", "break", ";", "I", "->", "eraseFromParent", "(", ")", ";", "I", "=", "MBB", ".", "end", "(", ")", ";", "++", "Count", ";"], "ground_truth": ["}"], "File": "F2003fInstrInfo", "Func": "removeBranch", "Target": "F2003f", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 151971, "Length": 77, "Cover_Rate": 0.8020833333333334} {"Template_token": ["", "", "CC", "=", "static_cast", "<", "", ">", "(", "Cond", ".", "back", "(", ")", ".", "getImm", "(", ")", ")", ";"], "ground_truth": ["Cond", ".", "back", "(", ")", "=", "MachineOperand", "::", "CreateImm", "(", "OppositeCC", "(", "CC", ")", ")", ";"], "File": "F2003fInstrInfo", "Func": "reverseBranchCondition", "Target": "F2003f", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 151972, "Length": 35, "Cover_Rate": 0.5072463768115942} {"Template_token": ["", "MachineFrameInfo", "&", "MFI", "=", "MF", ".", "getFrameInfo", "(", ")", ";", "MachineMemOperand", "*", "MMO", "=", "MF", ".", "getMachineMemOperand", "(", "MachinePointerInfo", "::", "getFixedStack", "(", "MF", ",", "FrameIdx", ")", ",", "MachineMemOperand", "::", "MOStore", ",", "MFI", ".", "getObjectSize", "(", "FrameIdx", ")", ",", "MFI", ".", "getObjectAlignment", "(", "FrameIdx", ")", ")", ";", "BuildMI", "(", "MBB", ",", "MI", ",", "DL", ",", "get", "(", "", ")", ")", ".", "addFrameIndex", "(", "FrameIdx", ")", ".", "addReg", "(", "", ")", ".", "addImm", "(", "", ")", ".", "addReg", "(", "SrcReg", ",", "getKillRegState", "(", "isKill", ")", ")", ".", "addMemOperand", "(", "MMO", ")", ";"], "ground_truth": ["}"], "File": "F2003fInstrInfo", "Func": "storeRegToStackSlot", "Target": "F2003f", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 151973, "Length": 91, "Cover_Rate": 0.56875} {"Template_token": ["", "MachineFrameInfo", "&", "MFI", "=", "MF", ".", "getFrameInfo", "(", ")", ";", "MachineMemOperand", "*", "MMO", "=", "MF", ".", "getMachineMemOperand", "(", "MachinePointerInfo", "::", "getFixedStack", "(", "MF", ",", "FrameIdx", ")", ",", "MachineMemOperand", "::", "MOStore", ",", "MFI", ".", "getObjectSize", "(", "FrameIdx", ")", ",", "MFI", ".", "getObjectAlignment", "(", "FrameIdx", ")", ")", ";"], "ground_truth": ["BuildMI", "(", "MBB", ",", "MI", ",", "DL", ",", "get", "(", "", ")", ")", ".", "addFrameIndex", "(", "FrameIdx", ")", ".", "addReg", "(", "", ")", ".", "addImm", "(", "", ")", ".", "addReg", "(", "SrcReg", ",", "getKillRegState", "(", "isKill", ")", ")", ".", "addMemOperand", "(", "MMO", ")", ";"], "File": "F2003fInstrInfo", "Func": "storeRegToStackSlot", "Target": "F2003f", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 151974, "Length": 90, "Cover_Rate": 0.5625} {"Template_token": ["", "FunctionPass", "*", "llvm", "::", "createISelDag", "(", "TargetMachine", "&", "TM", ",", "CodeGenOpt", "::", "Level", "OptLevel", ")", "{", "return", "new", "DAGToDAGISel", "(", "TM", ",", "OptLevel", ")", ";"], "ground_truth": ["}"], "File": "F2003fISelDAGToDAG", "Func": "createF2003fISelDag", "Target": "F2003f", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 151976, "Length": 26, "Cover_Rate": 1.0} {"Template_token": ["", "DAGToDAGISel", "(", "TargetMachine", "&", "TM", ",", "CodeGenOpt", "::", "Level", "OptLevel", ")", ":", "SelectionDAGISel", "(", "TM", ",", "OptLevel", ")", "{"], "ground_truth": ["}"], "File": "F2003fISelDAGToDAG", "Func": "F2003fDAGToDAGISel", "Target": "F2003f", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 151977, "Length": 20, "Cover_Rate": 1.0} {"Template_token": ["", "DAGToDAGISel", "(", "TargetMachine", "&", "TM", ",", "CodeGenOpt", "::", "Level", "OptLevel", ")", ":", "SelectionDAGISel", "(", "TM", ",", "OptLevel", ")", "{"], "ground_truth": ["}"], "File": "F2003fISelDAGToDAG", "Func": "F2003fDAGToDAGISel", "Target": "F2003f", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 151978, "Length": 20, "Cover_Rate": 1.0} {"Template_token": ["", "StringRef", "getPassName", "(", ")", "const", "override", "{"], "ground_truth": ["return", "", ";"], "File": "F2003fISelDAGToDAG", "Func": "getPassName", "Target": "F2003f", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 151979, "Length": 10, "Cover_Rate": 0.9090909090909091} {"Template_token": ["", "return", "", ";"], "ground_truth": ["}"], "File": "F2003fISelDAGToDAG", "Func": "getPassName", "Target": "F2003f", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 151980, "Length": 4, "Cover_Rate": 0.36363636363636365} {"Template_token": ["", "void", "DAGToDAGISel", "::", "Select", "(", "SDNode", "*", "Node", ")", "{", "SDLoc", "dl", "(", "Node", ")", ";", "if", "(", "Node", "->", "isMachineOpcode", "(", ")", ")", "{", "Node", "->", "setNodeId", "(", "-", "", ")", ";", "return", ";", "}", "switch", "(", "Node", "->", "getOpcode", "(", ")", ")", "{", "default", ":", "break", ";", "case", "", ":", "{", "int", "FI", "=", "cast", "<", "FrameIndexSDNode", ">", "(", "Node", ")", "->", "getIndex", "(", ")", ";", "SDValue", "TFI", "=", "CurDAG", "->", "getTargetFrameIndex", "(", "FI", ",", "TLI", "->", "getPointerTy", "(", "CurDAG", "->", "getDataLayout", "(", ")", ")", ")", ";", "CurDAG", "->", "SelectNodeTo", "(", "Node", ",", "", ",", "", ",", "TFI", ",", "CurDAG", "->", "getTargetConstant", "(", "", ",", "dl", ",", "", ")", ")", ";", "return", ";", "}", "}"], "ground_truth": ["SelectCode", "(", "Node", ")", ";"], "File": "F2003fISelDAGToDAG", "Func": "Select", "Target": "F2003f", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 151981, "Length": 122, "Cover_Rate": 0.9312977099236641} {"Template_token": ["", "default", ":", "break", ";", "case", "", ":", "{", "int", "FI", "=", "cast", "<", "FrameIndexSDNode", ">", "(", "Node", ")", "->", "getIndex", "(", ")", ";", "SDValue", "TFI", "=", "CurDAG", "->", "getTargetFrameIndex", "(", "FI", ",", "TLI", "->", "getPointerTy", "(", "CurDAG", "->", "getDataLayout", "(", ")", ")", ")", ";"], "ground_truth": ["CurDAG", "->", "SelectNodeTo", "(", "Node", ",", "", ",", "", ",", "TFI", ",", "CurDAG", "->", "getTargetConstant", "(", "", ",", "dl", ",", "", ")", ")", ";"], "File": "F2003fISelDAGToDAG", "Func": "Select", "Target": "F2003f", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 151982, "Length": 68, "Cover_Rate": 0.5190839694656488} {"Template_token": ["", "Base", "=", "CurDAG", "->", "getTargetFrameIndex", "(", "FI", ",", "TLI", "->", "getPointerTy", "(", "CurDAG", "->", "getDataLayout", "(", ")", ")", ")", ";", "}", "else", "if", "(", "Base", ".", "getOpcode", "(", ")", "==", "", ")", "{", "Base", "=", "Base", ".", "getOperand", "(", "", ")", ";", "}", "else", "if", "(", "Base", ".", "getOpcode", "(", ")", "==", "", ")", "{", "SDValue", "BaseAdd", "=", "Base", ";", "if", "(", "BaseAdd", ".", "getOperand", "(", "", ")", ".", "getOpcode", "(", ")", "==", "", ")", "{", "Base", "=", "BaseAdd", ".", "getOperand", "(", "", ")", ".", "getOperand", "(", "", ")", ";", "DispReg", "=", "BaseAdd", ".", "getOperand", "(", "", ")", ";", "DispImm", "=", "CurDAG", "->", "getTargetConstant", "(", "RHSC", ",", "SDLoc", "(", "N", ")", ",", "", ")", ";", "return", "true", ";", "}", "else", "if", "(", "BaseAdd", ".", "getOperand", "(", "", ")", ".", "getOpcode", "(", ")", "==", "", ")", "{", "Base", "=", "BaseAdd", ".", "getOperand", "(", "", ")", ".", "getOperand", "(", "", ")", ";", "DispReg", "=", "BaseAdd", ".", "getOperand", "(", "", ")", ";", "DispImm", "=", "CurDAG", "->", "getTargetConstant", "(", "RHSC", ",", "SDLoc", "(", "N", ")", ",", "", ")", ";", "return", "true", ";", "}", "}", "DispReg", "=", "CurDAG", "->", "getRegister", "(", "", ",", "VT", ")", ";", "DispImm", "=", "CurDAG", "->", "getTargetConstant", "(", "RHSC", ",", "SDLoc", "(", "N", ")", ",", "", ")", ";", "return", "true", ";", "}", "if", "(", "N", ".", "getOpcode", "(", ")", "==", "", ")", "{", "if", "(", "N", ".", "getOperand", "(", "", ")", ".", "getOpcode", "(", ")", "==", "", ")", "{", "Base", "=", "N", ".", "getOperand", "(", "", ")", ".", "getOperand", "(", "", ")", ";", "DispReg", "=", "N", ".", "getOperand", "(", "", ")", ";", "}", "else", "if", "(", "N", ".", "getOperand", "(", "", ")", ".", "getOpcode", "(", ")", "==", "", ")", "{", "Base", "=", "N", ".", "getOperand", "(", "", ")", ".", "getOperand", "(", "", ")", ";", "DispReg", "=", "N", ".", "getOperand", "(", "", ")", ";", "}", "else", "{", "Base", "=", "N", ".", "getOperand", "(", "", ")", ";", "DispReg", "=", "N", ".", "getOperand", "(", "", ")", ";", "}", "DispImm", "=", "CurDAG", "->", "getTargetConstant", "(", "", ",", "SDLoc", "(", "N", ")", ",", "", ")", ";", "return", "true", ";"], "ground_truth": ["}"], "File": "F2003fISelDAGToDAG", "Func": "SelectAddr", "Target": "F2003f", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 151983, "Length": 344, "Cover_Rate": 0.5771812080536913} {"Template_token": ["", "CCState", "CCInfo", "(", "CallConv", ",", "IsVarArg", ",", "MF", ",", "RVLocs", ",", "Context", ")", ";", "return", "CCInfo", ".", "CheckReturn", "(", "Outs", ",", "RetCC_", ")", ";"], "ground_truth": ["}"], "File": "F2003fISelLowering", "Func": "CanLowerReturn", "Target": "F2003f", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 151984, "Length": 25, "Cover_Rate": 0.3787878787878788} {"Template_token": ["", "switch", "(", "CC", ")", "{", "case", "", ":", "return", "", ";", "case", "", ":", "return", "", ";", "case", "", ":", "return", "", ";", "case", "", ":", "return", "", ";", "case", "", ":", "return", "", ";", "case", "", ":", "return", "", ";", "case", "", ":", "return", "", ";", "case", "", ":", "return", "", ";", "case", "", ":", "return", "", ";", "case", "", ":", "return", "", ";", "default", ":", "llvm_unreachable", "(", "", ")", ";", "}"], "ground_truth": ["}"], "File": "F2003fISelLowering", "Func": "getF2003fCC", "Target": "F2003f", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 151985, "Length": 74, "Cover_Rate": 0.5873015873015873} {"Template_token": ["", "case", "", ":", "return", "", ";", "case", "", ":", "return", "", ";", "case", "", ":", "return", "", ";", "case", "", ":", "return", "", ";", "case", "", ":", "return", "", ";", "case", "", ":", "return", "", ";", "case", "", ":", "return", "", ";", "case", "", ":", "return", "", ";", "case", "", ":", "return", "", ";", "default", ":"], "ground_truth": ["llvm_unreachable", "(", "", ")", ";"], "File": "F2003fISelLowering", "Func": "getF2003fCC", "Target": "F2003f", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 151986, "Length": 61, "Cover_Rate": 0.48412698412698413} {"Template_token": ["", "const", "char", "*", "TargetLowering", "::", "getTargetNodeName", "(", "unsigned", "Opcode", ")", "const", "{", "switch", "(", "(", "", ")", "Opcode", ")", "{", "case", "", ":", "break", ";", "case", "", ":", "return", "", ";", "case", "", ":", "return", "", ";", "case", "", ":", "return", "", ";", "case", "", ":", "return", "", ";", "case", "", ":", "return", "", ";"], "ground_truth": ["}"], "File": "F2003fISelLowering", "Func": "getTargetNodeName", "Target": "F2003f", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 151987, "Length": 56, "Cover_Rate": 0.7567567567567568} {"Template_token": ["", "const", "BlockAddress", "*", "BA", "=", "cast", "<", "BlockAddressSDNode", ">", "(", "Op", ")", "->", "getBlockAddress", "(", ")", ";", "SDValue", "Result", "=", "DAG", ".", "getTargetBlockAddress", "(", "BA", ",", "PtrVT", ")", ";", "return", "DAG", ".", "getNode", "(", "", ",", "dl", ",", "PtrVT", ",", "Result", ")", ";"], "ground_truth": ["}"], "File": "F2003fISelLowering", "Func": "LowerBlockAddress", "Target": "F2003f", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 151988, "Length": 44, "Cover_Rate": 0.5641025641025641} {"Template_token": ["", "SDLoc", "dl", "(", "Op", ")", ";", "auto", "PtrVT", "=", "getPointerTy", "(", "DAG", ".", "getDataLayout", "(", ")", ")", ";", "const", "BlockAddress", "*", "BA", "=", "cast", "<", "BlockAddressSDNode", ">", "(", "Op", ")", "->", "getBlockAddress", "(", ")", ";", "SDValue", "Result", "=", "DAG", ".", "getTargetBlockAddress", "(", "BA", ",", "PtrVT", ")", ";", "return", "DAG", ".", "getNode", "(", "", ",", "dl", ",", "PtrVT", ",", "Result", ")", ";"], "ground_truth": ["}"], "File": "F2003fISelLowering", "Func": "LowerBlockAddress", "Target": "F2003f", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 151989, "Length": 62, "Cover_Rate": 0.7948717948717948} {"Template_token": ["", "SDValue", "TargetCC", "=", "DAG", ".", "getTargetConstant", "(", "getCC", "(", "CC", ")", ",", "dl", ",", "", ")", ";", "SDValue", "Ops", "[", "]", "=", "{", "Chain", ",", "Dest", ",", "LHS", ",", "RHS", ",", "TargetCC", "}", ";"], "ground_truth": ["return", "DAG", ".", "getNode", "(", "", ",", "dl", ",", "VT", ",", "Ops", ")", ";"], "File": "F2003fISelLowering", "Func": "LowerBR_CC", "Target": "F2003f", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 151990, "Length": 48, "Cover_Rate": 0.3333333333333333} {"Template_token": ["", "SmallVector", "<", "CCValAssign", ",", "", ">", "ArgLocs", ";", "CCState", "CCInfo", "(", "CallConv", ",", "isVarArg", ",", "DAG", ".", "getMachineFunction", "(", ")", ",", "ArgLocs", ",", "*", "DAG", ".", "getContext", "(", ")", ")", ";", "CCInfo", ".", "AnalyzeCallOperands", "(", "Outs", ",", "CC_", ")", ";", "unsigned", "NumBytes", "=", "CCInfo", ".", "getNextStackOffset", "(", ")", "+", "", ";", "auto", "PtrVT", "=", "getPointerTy", "(", "DAG", ".", "getDataLayout", "(", ")", ")", ";", "Chain", "=", "DAG", ".", "getCALLSEQ_START", "(", "Chain", ",", "NumBytes", ",", "", ",", "dl", ")", ";", "SmallVector", "<", "std", "::", "pair", "<", "unsigned", ",", "SDValue", ">", ",", "", ">", "RegsToPass", ";", "SmallVector", "<", "SDValue", ",", "", ">", "MemOpChains", ";", "SDValue", "StackPtr", ";", "for", "(", "unsigned", "i", "=", "", ",", "e", "=", "ArgLocs", ".", "size", "(", ")", ";", "i", "!=", "e", ";", "++", "i", ")", "{", "CCValAssign", "&", "VA", "=", "ArgLocs", "[", "i", "]", ";", "SDValue", "Arg", "=", "OutVals", "[", "i", "]", ";", "switch", "(", "VA", ".", "getLocInfo", "(", ")", ")", "{", "default", ":", "llvm_unreachable", "(", "", ")", ";", "case", "CCValAssign", "::", "Full", ":", "break", ";", "case", "CCValAssign", "::", "SExt", ":", "Arg", "=", "DAG", ".", "getNode", "(", "", ",", "dl", ",", "VA", ".", "getLocVT", "(", ")", ",", "Arg", ")", ";", "break", ";", "case", "CCValAssign", "::", "ZExt", ":", "Arg", "=", "DAG", ".", "getNode", "(", "", ",", "dl", ",", "VA", ".", "getLocVT", "(", ")", ",", "Arg", ")", ";", "break", ";", "case", "CCValAssign", "::", "AExt", ":", "Arg", "=", "DAG", ".", "getNode", "(", "", ",", "dl", ",", "VA", ".", "getLocVT", "(", ")", ",", "Arg", ")", ";", "break", ";", "}", "if", "(", "VA", ".", "isRegLoc", "(", ")", ")", "{", "RegsToPass", ".", "push_back", "(", "std", "::", "make_pair", "(", "VA", ".", "getLocReg", "(", ")", ",", "Arg", ")", ")", ";", "}", "else", "{", "assert", "(", "VA", ".", "isMemLoc", "(", ")", ")", ";", "if", "(", "!", "StackPtr", ".", "getNode", "(", ")", ")", "StackPtr", "=", "DAG", ".", "getCopyFromReg", "(", "Chain", ",", "dl", ",", "", ",", "PtrVT", ")", ";", "unsigned", "offset", "=", "NumBytes", "-", "VA", ".", "getLocMemOffset", "(", ")", "-", "VA", ".", "getLocVT", "(", ")", ".", "getSizeInBits", "(", ")", "/", "", ";", "SDValue", "PtrOff", "=", "DAG", ".", "getNode", "(", "", ",", "dl", ",", "PtrVT", ",", "StackPtr", ",", "DAG", ".", "getIntPtrConstant", "(", "offset", ",", "dl", ")", ")", ";", "SDValue", "MemOp", ";", "", "Flags", "=", "Outs", "[", "i", "]", ".", "Flags", ";"], "ground_truth": ["if", "(", "Flags", ".", "isByVal", "(", ")", ")", "{"], "File": "F2003fISelLowering", "Func": "LowerCall", "Target": "F2003f", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 151991, "Length": 379, "Cover_Rate": 0.38555442522889116} {"Template_token": ["", "MemOp", "=", "DAG", ".", "getMemcpy", "(", "Chain", ",", "dl", ",", "PtrOff", ",", "Arg", ",", "SizeNode", ",", "Flags", ".", "getByValAlign", "(", ")", ",", "false", ",", "true", ",", "false", ",", "MachinePointerInfo", "(", ")", ",", "MachinePointerInfo", "(", ")", ")", ";", "}", "else", "{", "MemOp", "=", "DAG", ".", "getStore", "(", "Chain", ",", "dl", ",", "Arg", ",", "PtrOff", ",", "MachinePointerInfo", "(", ")", ")", ";", "}", "MemOpChains", ".", "push_back", "(", "MemOp", ")", ";", "}", "}", "if", "(", "!", "MemOpChains", ".", "empty", "(", ")", ")", "Chain", "=", "DAG", ".", "getNode", "(", "", ",", "dl", ",", "", ",", "MemOpChains", ")", ";", "SDValue", "InFlag", ";", "for", "(", "unsigned", "i", "=", "", ",", "e", "=", "RegsToPass", ".", "size", "(", ")", ";", "i", "!=", "e", ";", "++", "i", ")", "{", "Chain", "=", "DAG", ".", "getCopyToReg", "(", "Chain", ",", "dl", ",", "RegsToPass", "[", "i", "]", ".", "first", ",", "RegsToPass", "[", "i", "]", ".", "second", ",", "InFlag", ")", ";", "InFlag", "=", "Chain", ".", "getValue", "(", "", ")", ";", "}", "if", "(", "GlobalAddressSDNode", "*", "G", "=", "dyn_cast", "<", "GlobalAddressSDNode", ">", "(", "Callee", ")", ")", "Callee", "=", "DAG", ".", "getTargetGlobalAddress", "(", "G", "->", "getGlobal", "(", ")", ",", "dl", ",", "", ")", ";", "else", "if", "(", "ExternalSymbolSDNode", "*", "E", "=", "dyn_cast", "<", "ExternalSymbolSDNode", ">", "(", "Callee", ")", ")", "Callee", "=", "DAG", ".", "getTargetExternalSymbol", "(", "E", "->", "getSymbol", "(", ")", ",", "", ")", ";", "SDVTList", "NodeTys", "=", "DAG", ".", "getVTList", "(", "", ",", "", ")", ";", "SmallVector", "<", "SDValue", ",", "", ">", "Ops", ";", "Ops", ".", "push_back", "(", "Chain", ")", ";", "Ops", ".", "push_back", "(", "Callee", ")", ";", "for", "(", "unsigned", "i", "=", "", ",", "e", "=", "RegsToPass", ".", "size", "(", ")", ";", "i", "!=", "e", ";", "++", "i", ")", "Ops", ".", "push_back", "(", "DAG", ".", "getRegister", "(", "RegsToPass", "[", "i", "]", ".", "first", ",", "RegsToPass", "[", "i", "]", ".", "second", ".", "getValueType", "(", ")", ")", ")", ";", "const", "RegisterInfo", "*", "TRI", "=", "Subtarget", "->", "getRegisterInfo", "(", ")", ";", "Ops", ".", "push_back", "(", "DAG", ".", "getRegisterMask", "(", "TRI", "->", "getCallPreservedMask", "(", "DAG", ".", "getMachineFunction", "(", ")", ",", "CallConv", ")", ")", ")", ";"], "ground_truth": ["if", "(", "InFlag", ".", "getNode", "(", ")", ")", "Ops", ".", "push_back", "(", "InFlag", ")", ";"], "File": "F2003fISelLowering", "Func": "LowerCall", "Target": "F2003f", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 151992, "Length": 350, "Cover_Rate": 0.3560528992878942} {"Template_token": ["", "for", "(", "unsigned", "i", "=", "", ";", "i", "!=", "RVLocs", ".", "size", "(", ")", ";", "++", "i", ")", "{", "Chain", "=", "DAG", ".", "getCopyFromReg", "(", "Chain", ",", "dl", ",", "RVLocs", "[", "i", "]", ".", "getLocReg", "(", ")", ",", "RVLocs", "[", "i", "]", ".", "getValVT", "(", ")", ",", "InFlag", ")", ".", "getValue", "(", "", ")", ";", "InFlag", "=", "Chain", ".", "getValue", "(", "", ")", ";", "InVals", ".", "push_back", "(", "Chain", ".", "getValue", "(", "", ")", ")", ";", "}"], "ground_truth": ["return", "Chain", ";"], "File": "F2003fISelLowering", "Func": "LowerCallResult", "Target": "F2003f", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 151993, "Length": 80, "Cover_Rate": 0.47619047619047616} {"Template_token": ["", "Chain", "=", "DAG", ".", "getCopyFromReg", "(", "Chain", ",", "dl", ",", "RVLocs", "[", "i", "]", ".", "getLocReg", "(", ")", ",", "RVLocs", "[", "i", "]", ".", "getValVT", "(", ")", ",", "InFlag", ")", ".", "getValue", "(", "", ")", ";", "InFlag", "=", "Chain", ".", "getValue", "(", "", ")", ";", "InVals", ".", "push_back", "(", "Chain", ".", "getValue", "(", "", ")", ")", ";", "}"], "ground_truth": ["return", "Chain", ";"], "File": "F2003fISelLowering", "Func": "LowerCallResult", "Target": "F2003f", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 151994, "Length": 61, "Cover_Rate": 0.3630952380952381} {"Template_token": ["", "auto", "PtrVT", "=", "getPointerTy", "(", "DAG", ".", "getDataLayout", "(", ")", ")", ";", "SDValue", "Result", "=", "DAG", ".", "getTargetExternalSymbol", "(", "Sym", ",", "PtrVT", ")", ";", "return", "DAG", ".", "getNode", "(", "", ",", "dl", ",", "PtrVT", ",", "Result", ")", ";"], "ground_truth": ["}"], "File": "F2003fISelLowering", "Func": "LowerExternalSymbol", "Target": "F2003f", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 151995, "Length": 39, "Cover_Rate": 0.5} {"Template_token": ["", "auto", "PtrVT", "=", "getPointerTy", "(", "DAG", ".", "getDataLayout", "(", ")", ")", ";", "SDValue", "Result", "=", "DAG", ".", "getTargetExternalSymbol", "(", "Sym", ",", "PtrVT", ")", ";", "return", "DAG", ".", "getNode", "(", "", ",", "dl", ",", "PtrVT", ",", "Result", ")", ";"], "ground_truth": ["}"], "File": "F2003fISelLowering", "Func": "LowerExternalSymbol", "Target": "F2003f", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 151996, "Length": 39, "Cover_Rate": 0.5} {"Template_token": ["", "}", "}", "else", "{", "assert", "(", "VA", ".", "isMemLoc", "(", ")", ")", ";", "SDValue", "InVal", ";", "", "Flags", "=", "Ins", "[", "i", "]", ".", "Flags", ";", "unsigned", "offset", "=", "NumBytes", "-", "VA", ".", "getLocMemOffset", "(", ")", "-", "VA", ".", "getLocVT", "(", ")", ".", "getSizeInBits", "(", ")", "/", "", ";", "if", "(", "Flags", ".", "isByVal", "(", ")", ")", "{", "int", "FI", "=", "MFI", ".", "CreateFixedObject", "(", "Flags", ".", "getByValSize", "(", ")", ",", "offset", ",", "true", ")", ";", "InVal", "=", "DAG", ".", "getFrameIndex", "(", "FI", ",", "getPointerTy", "(", "DAG", ".", "getDataLayout", "(", ")", ")", ")", ";", "}", "else", "{", "unsigned", "ObjSize", "=", "VA", ".", "getLocVT", "(", ")", ".", "getSizeInBits", "(", ")", "/", "", ";", "int", "FI", "=", "MFI", ".", "CreateFixedObject", "(", "ObjSize", ",", "offset", ",", "true", ")", ";", "SDValue", "FIN", "=", "DAG", ".", "getFrameIndex", "(", "FI", ",", "", ")", ";", "InVal", "=", "DAG", ".", "getLoad", "(", "VA", ".", "getLocVT", "(", ")", ",", "dl", ",", "Chain", ",", "FIN", ",", "MachinePointerInfo", "::", "getFixedStack", "(", "DAG", ".", "getMachineFunction", "(", ")", ",", "FI", ")", ")", ";", "}", "InVals", ".", "push_back", "(", "InVal", ")", ";"], "ground_truth": ["}"], "File": "F2003fISelLowering", "Func": "LowerFormalArguments", "Target": "F2003f", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 151997, "Length": 179, "Cover_Rate": 0.3874458874458874} {"Template_token": ["", "int64_t", "Offset", "=", "cast", "<", "GlobalAddressSDNode", ">", "(", "Op", ")", "->", "getOffset", "(", ")", ";", "auto", "PtrVT", "=", "getPointerTy", "(", "DAG", ".", "getDataLayout", "(", ")", ")", ";"], "ground_truth": ["SDValue", "Result", "=", "DAG", ".", "getTargetGlobalAddress", "(", "GV", ",", "dl", ",", "PtrVT", ")", ";"], "File": "F2003fISelLowering", "Func": "LowerGlobalAddress", "Target": "F2003f", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 151998, "Length": 41, "Cover_Rate": 0.3014705882352941} {"Template_token": ["", "SDValue", "TargetLowering", "::", "LowerGlobalAddress", "(", "SDValue", "Op", ",", "SelectionDAG", "&", "DAG", ")", "const", "{", "SDLoc", "dl", "(", "Op", ")", ";", "const", "GlobalValue", "*", "GV", "=", "cast", "<", "GlobalAddressSDNode", ">", "(", "Op", ")", "->", "getGlobal", "(", ")", ";", "int64_t", "Offset", "=", "cast", "<", "GlobalAddressSDNode", ">", "(", "Op", ")", "->", "getOffset", "(", ")", ";", "auto", "PtrVT", "=", "getPointerTy", "(", "DAG", ".", "getDataLayout", "(", ")", ")", ";", "SDValue", "Result", "=", "DAG", ".", "getTargetGlobalAddress", "(", "GV", ",", "dl", ",", "PtrVT", ")", ";", "Result", "=", "DAG", ".", "getNode", "(", "", ",", "SDLoc", "(", "Op", ")", ",", "PtrVT", ",", "Result", ")", ";"], "ground_truth": ["if", "(", "Offset", ")", "{"], "File": "F2003fISelLowering", "Func": "LowerGlobalAddress", "Target": "F2003f", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 151999, "Length": 101, "Cover_Rate": 0.7426470588235294} {"Template_token": ["", "auto", "PtrVT", "=", "getPointerTy", "(", "DAG", ".", "getDataLayout", "(", ")", ")", ";", "SDValue", "Result", "=", "DAG", ".", "getTargetJumpTable", "(", "JT", "->", "getIndex", "(", ")", ",", "PtrVT", ")", ";", "return", "DAG", ".", "getNode", "(", "", ",", "dl", ",", "PtrVT", ",", "Result", ")", ";"], "ground_truth": ["}"], "File": "F2003fISelLowering", "Func": "LowerJumpTable", "Target": "F2003f", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 152000, "Length": 43, "Cover_Rate": 0.5584415584415584} {"Template_token": ["", "SDValue", "TargetLowering", "::", "LowerJumpTable", "(", "SDValue", "Op", ",", "SelectionDAG", "&", "DAG", ")", "const", "{", "SDLoc", "dl", "(", "Op", ")", ";", "JumpTableSDNode", "*", "JT", "=", "cast", "<", "JumpTableSDNode", ">", "(", "Op", ")", ";", "auto", "PtrVT", "=", "getPointerTy", "(", "DAG", ".", "getDataLayout", "(", ")", ")", ";"], "ground_truth": ["SDValue", "Result", "=", "DAG", ".", "getTargetJumpTable", "(", "JT", "->", "getIndex", "(", ")", ",", "PtrVT", ")", ";"], "File": "F2003fISelLowering", "Func": "LowerJumpTable", "Target": "F2003f", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 152001, "Length": 60, "Cover_Rate": 0.7792207792207793} {"Template_token": ["", "SDValue", "TargetLowering", "::", "LowerOperation", "(", "SDValue", "Op", ",", "SelectionDAG", "&", "DAG", ")", "const", "{", "switch", "(", "Op", ".", "getOpcode", "(", ")", ")", "{", "case", "", ":", "return", "LowerSELECT_CC", "(", "Op", ",", "DAG", ")", ";", "case", "", ":", "return", "LowerBR_CC", "(", "Op", ",", "DAG", ")", ";", "case", "", ":", "return", "LowerGlobalAddress", "(", "Op", ",", "DAG", ")", ";", "case", "", ":", "return", "LowerBlockAddress", "(", "Op", ",", "DAG", ")", ";", "case", "", ":", "return", "LowerExternalSymbol", "(", "Op", ",", "DAG", ")", ";"], "ground_truth": ["case", "", ":", "return", "LowerJumpTable", "(", "Op", ",", "DAG", ")", ";"], "File": "F2003fISelLowering", "Func": "LowerOperation", "Target": "F2003f", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 152002, "Length": 89, "Cover_Rate": 0.8090909090909091} {"Template_token": ["", "SDValue", "TargetLowering", "::", "LowerReturn", "(", "SDValue", "Chain", ",", "CallingConv", "::", "ID", "CallConv", ",", "bool", "isVarArg", ",", "const", "SmallVectorImpl", "<", "", ">", "&", "Outs", ",", "const", "SmallVectorImpl", "<", "SDValue", ">", "&", "OutVals", ",", "const", "SDLoc", "&", "dl", ",", "SelectionDAG", "&", "DAG", ")", "const", "{", "SmallVector", "<", "CCValAssign", ",", "", ">", "RVLocs", ";", "CCState", "CCInfo", "(", "CallConv", ",", "isVarArg", ",", "DAG", ".", "getMachineFunction", "(", ")", ",", "RVLocs", ",", "*", "DAG", ".", "getContext", "(", ")", ")", ";", "CCInfo", ".", "AnalyzeReturn", "(", "Outs", ",", "RetCC_", ")", ";", "SDValue", "Flag", ";", "SmallVector", "<", "SDValue", ",", "", ">", "RetOps", "(", "", ",", "Chain", ")", ";", "for", "(", "unsigned", "i", "=", "", ";", "i", "!=", "RVLocs", ".", "size", "(", ")", ";", "++", "i", ")", "{", "CCValAssign", "&", "VA", "=", "RVLocs", "[", "i", "]", ";", "assert", "(", "VA", ".", "isRegLoc", "(", ")", "&&", "", ")", ";", "Chain", "=", "DAG", ".", "getCopyToReg", "(", "Chain", ",", "dl", ",", "VA", ".", "getLocReg", "(", ")", ",", "OutVals", "[", "i", "]", ",", "Flag", ")", ";", "Flag", "=", "Chain", ".", "getValue", "(", "", ")", ";", "RetOps", ".", "push_back", "(", "DAG", ".", "getRegister", "(", "VA", ".", "getLocReg", "(", ")", ",", "VA", ".", "getLocVT", "(", ")", ")", ")", ";"], "ground_truth": ["}"], "File": "F2003fISelLowering", "Func": "LowerReturn", "Target": "F2003f", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 152003, "Length": 194, "Cover_Rate": 0.8185654008438819} {"Template_token": ["", "SDValue", "FalseV", "=", "Op", ".", "getOperand", "(", "", ")", ";", "EVT", "VT", "=", "Op", ".", "getValueType", "(", ")", ";", "", "CC", "=", "cast", "<", "CondCodeSDNode", ">", "(", "Op", ".", "getOperand", "(", "", ")", ")", "->", "get", "(", ")", ";", "SDLoc", "dl", "(", "Op", ")", ";", "SDValue", "TargetCC", "=", "DAG", ".", "getTargetConstant", "(", "getCC", "(", "CC", ")", ",", "dl", ",", "", ")", ";", "SDValue", "Ops", "[", "]", "=", "{", "FalseV", ",", "TrueV", ",", "LHS", ",", "RHS", ",", "TargetCC", "}", ";", "return", "DAG", ".", "getNode", "(", "", ",", "dl", ",", "VT", ",", "Ops", ")", ";"], "ground_truth": ["}"], "File": "F2003fISelLowering", "Func": "LowerSELECT_CC", "Target": "F2003f", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 152004, "Length": 94, "Cover_Rate": 0.6527777777777778} {"Template_token": ["", "", "CC", "=", "cast", "<", "CondCodeSDNode", ">", "(", "Op", ".", "getOperand", "(", "", ")", ")", "->", "get", "(", ")", ";", "SDLoc", "dl", "(", "Op", ")", ";", "SDValue", "TargetCC", "=", "DAG", ".", "getTargetConstant", "(", "getCC", "(", "CC", ")", ",", "dl", ",", "", ")", ";"], "ground_truth": ["SDValue", "Ops", "[", "]", "=", "{", "FalseV", ",", "TrueV", ",", "LHS", ",", "RHS", ",", "TargetCC", "}", ";"], "File": "F2003fISelLowering", "Func": "LowerSELECT_CC", "Target": "F2003f", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 152005, "Length": 60, "Cover_Rate": 0.4166666666666667} {"Template_token": ["", "void", "MachineFunctionInfo", "::", "anchor", "(", ")", "{"], "ground_truth": ["}"], "File": "F2003fMachineFunctionInfo", "Func": "anchor", "Target": "F2003f", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 152006, "Length": 8, "Cover_Rate": 1.0} {"Template_token": ["", "void", "MachineFunctionInfo", "::", "anchor", "(", ")", "{"], "ground_truth": ["}"], "File": "F2003fMachineFunctionInfo", "Func": "anchor", "Target": "F2003f", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 152007, "Length": 8, "Cover_Rate": 1.0} {"Template_token": ["", "explicit", "MachineFunctionInfo", "(", "MachineFunction", "&", "MF", ")", "{"], "ground_truth": ["}"], "File": "F2003fMachineFunctionInfo", "Func": "F2003fMachineFunctionInfo", "Target": "F2003f", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 152008, "Length": 9, "Cover_Rate": 1.0} {"Template_token": ["", "explicit", "MachineFunctionInfo", "(", "MachineFunction", "&", "MF", ")", "{"], "ground_truth": ["}"], "File": "F2003fMachineFunctionInfo", "Func": "F2003fMachineFunctionInfo", "Target": "F2003f", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 152009, "Length": 9, "Cover_Rate": 1.0} {"Template_token": ["", "void", "MCAsmInfo", "::", "anchor", "(", ")", "{"], "ground_truth": ["}"], "File": "F2003fMCAsmInfo", "Func": "anchor", "Target": "F2003f", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 152010, "Length": 8, "Cover_Rate": 1.0} {"Template_token": ["", "void", "MCAsmInfo", "::", "anchor", "(", ")", "{"], "ground_truth": ["}"], "File": "F2003fMCAsmInfo", "Func": "anchor", "Target": "F2003f", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 152011, "Length": 8, "Cover_Rate": 1.0} {"Template_token": ["", "Data32bitsDirective", "=", "", ";", "Data64bitsDirective", "=", "nullptr", ";", "GlobalDirective", "=", "", ";", "HasFunctionAlignment", "=", "false", ";", "HasDotTypeDotSizeDirective", "=", "false", ";"], "ground_truth": ["HasSingleParameterDotFile", "=", "false", ";"], "File": "F2003fMCAsmInfo", "Func": "F2003fMCAsmInfo", "Target": "F2003f", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 152012, "Length": 24, "Cover_Rate": 0.3037974683544304} {"Template_token": ["", "IsLittleEndian", "=", "false", ";", "SeparatorString", "=", "", ";", "CommentString", "=", "", ";", "PrivateGlobalPrefix", "=", "", ";", "PrivateLabelPrefix", "=", "", ";", "LinkerPrivateGlobalPrefix", "=", "", ";"], "ground_truth": ["InlineAsmStart", "=", "", ";"], "File": "F2003fMCAsmInfo", "Func": "F2003fMCAsmInfo", "Target": "F2003f", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 152013, "Length": 28, "Cover_Rate": 0.35443037974683544} {"Template_token": ["", "static", "bool", "isAcceptableChar", "(", "char", "C", ")", "{", "return", "(", "C", ">=", "'a'", "&&", "C", "<=", "'z'", ")", "||", "C", "==", "'F'", "||", "C", "==", "'R'", "||", "C", "==", "'V'", "||", "C", "==", "'X'", "||", "(", "C", ">=", "'0'", "&&", "C", "<=", "'9'", ")", "||", "C", "==", "'\\''", "||", "C", "==", "'_'", "||", "C", "==", "'-'", ";"], "ground_truth": ["}"], "File": "F2003fMCAsmInfo", "Func": "isAcceptableChar", "Target": "F2003f", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 152014, "Length": 58, "Cover_Rate": 1.0} {"Template_token": ["", "return", "(", "C", ">=", "'a'", "&&", "C", "<=", "'z'", ")", "||", "C", "==", "'F'", "||", "C", "==", "'R'", "||", "C", "==", "'V'", "||", "C", "==", "'X'", "||", "(", "C", ">=", "'0'", "&&", "C", "<=", "'9'", ")", "||", "C", "==", "'\\''", "||", "C", "==", "'_'", "||", "C", "==", "'-'", ";"], "ground_truth": ["}"], "File": "F2003fMCAsmInfo", "Func": "isAcceptableChar", "Target": "F2003f", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 152015, "Length": 50, "Cover_Rate": 0.8620689655172413} {"Template_token": ["", "OS", "<<", "", ";", "}", "else", "if", "(", "isAcceptableChar", "(", "C", ")", ")", "{", "OS", "<<", "C", ";", "}", "else", "if", "(", "C", ">=", "'A'", "&&", "C", "<=", "'Z'", ")", "{"], "ground_truth": ["OS", "<<", "'\\''", "<<", "(", "char", ")", "(", "C", "-", "'A'", "+", "'a'", ")", ";"], "File": "F2003fMCAsmInfo", "Func": "printQuotedName", "Target": "F2003f", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 152016, "Length": 46, "Cover_Rate": 0.3865546218487395} {"Template_token": ["", "T", ".", "toVector", "(", "CommentToEmit", ")", ";"], "ground_truth": ["if", "(", "EOL", ")", "CommentToEmit", ".", "push_back", "(", "'\\n'", ")", ";"], "File": "F2003fMCAsmStreamer", "Func": "AddComment", "Target": "F2003f", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 152019, "Length": 18, "Cover_Rate": 0.45} {"Template_token": ["", "if", "(", "!", "IsVerboseAsm", ")", "return", ";", "T", ".", "toVector", "(", "CommentToEmit", ")", ";"], "ground_truth": ["if", "(", "EOL", ")", "CommentToEmit", ".", "push_back", "(", "'\\n'", ")", ";"], "File": "F2003fMCAsmStreamer", "Func": "AddComment", "Target": "F2003f", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 152020, "Length": 25, "Cover_Rate": 0.625} {"Template_token": ["", "void", "MCAsmStreamer", "::", "addExplicitComment", "(", "const", "Twine", "&", "T", ")", "{", "StringRef", "c", "=", "T", ".", "getSingleStringRef", "(", ")", ";", "if", "(", "c", ".", "startswith", "(", "StringRef", "(", "MAI", "->", "getCommentString", "(", ")", ")", ")", ")", "{", "ExplicitCommentToEmit", ".", "append", "(", "c", ".", "str", "(", ")", ")", ";"], "ground_truth": ["}", "else", "{"], "File": "F2003fMCAsmStreamer", "Func": "addExplicitComment", "Target": "F2003f", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 152021, "Length": 51, "Cover_Rate": 0.6891891891891891} {"Template_token": ["", "void", "MCAsmStreamer", "::", "ChangeSection", "(", "MCSection", "*", "Section", ",", "const", "MCExpr", "*", "Subsection", ")", "{"], "ground_truth": ["flushValues", "(", ")", ";"], "File": "F2003fMCAsmStreamer", "Func": "ChangeSection", "Target": "F2003f", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 152022, "Length": 19, "Cover_Rate": 0.95} {"Template_token": ["", "void", "MCAsmStreamer", "::", "EmitAssignment", "(", "MCSymbol", "*", "Symbol", ",", "const", "MCExpr", "*", "Value", ")", "{", "llvm_unreachable", "(", "", ")", ";"], "ground_truth": ["}"], "File": "F2003fMCAsmStreamer", "Func": "EmitAssignment", "Target": "F2003f", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 152023, "Length": 21, "Cover_Rate": 1.0} {"Template_token": ["", "void", "MCAsmStreamer", "::", "EmitBundleAlignMode", "(", "unsigned", "AlignPow2", ")", "{", "llvm_unreachable", "(", "", ")", ";"], "ground_truth": ["}"], "File": "F2003fMCAsmStreamer", "Func": "EmitBundleAlignMode", "Target": "F2003f", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 152025, "Length": 15, "Cover_Rate": 1.0} {"Template_token": ["", "void", "MCAsmStreamer", "::", "EmitBundleLock", "(", "bool", "AlignToEnd", ")", "{", "llvm_unreachable", "(", "", ")", ";"], "ground_truth": ["}"], "File": "F2003fMCAsmStreamer", "Func": "EmitBundleLock", "Target": "F2003f", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 152026, "Length": 15, "Cover_Rate": 1.0} {"Template_token": ["", "for", "(", "unsigned", "i", "=", "", ",", "e", "=", "Data", ".", "size", "(", ")", ";", "i", "!=", "e", ";", "++", "i", ")", "{", "EmitValue", "(", "MCConstantExpr", "::", "create", "(", "(", "unsigned", "char", ")", "Data", "[", "i", "]", ",", "getContext", "(", ")", ")", ",", "", ")", ";", "}"], "ground_truth": ["}"], "File": "F2003fMCAsmStreamer", "Func": "EmitBytes", "Target": "F2003f", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 152030, "Length": 48, "Cover_Rate": 0.8421052631578947} {"Template_token": ["", "void", "MCAsmStreamer", "::", "EmitBytes", "(", "StringRef", "Data", ")", "{", "for", "(", "unsigned", "i", "=", "", ",", "e", "=", "Data", ".", "size", "(", ")", ";", "i", "!=", "e", ";", "++", "i", ")", "{"], "ground_truth": ["EmitValue", "(", "MCConstantExpr", "::", "create", "(", "(", "unsigned", "char", ")", "Data", "[", "i", "]", ",", "getContext", "(", ")", ")", ",", "", ")", ";"], "File": "F2003fMCAsmStreamer", "Func": "EmitBytes", "Target": "F2003f", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 152031, "Length": 55, "Cover_Rate": 0.9649122807017544} {"Template_token": ["", "llvm_unreachable", "(", "", ")", ";"], "ground_truth": ["}"], "File": "F2003fMCAsmStreamer", "Func": "EmitCodeAlignment", "Target": "F2003f", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 152032, "Length": 6, "Cover_Rate": 0.3333333333333333} {"Template_token": ["", "OS", "<<", "MAI", "->", "getCommentString", "(", ")", "<<", "' '", "<<", "Comments", ".", "substr", "(", "", ",", "Position", ")", "<<", "'\\n'", ";", "Comments", "=", "Comments", ".", "substr", "(", "Position", "+", "", ")", ";"], "ground_truth": ["}", "while", "(", "!", "Comments", ".", "empty", "(", ")", ")", ";"], "File": "F2003fMCAsmStreamer", "Func": "EmitCommentsAndEOL", "Target": "F2003f", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 152033, "Length": 43, "Cover_Rate": 0.3524590163934426} {"Template_token": ["", "void", "MCAsmStreamer", "::", "EmitCommonSymbol", "(", "MCSymbol", "*", "Symbol", ",", "uint64_t", "Size", ",", "unsigned", "ByteAlignment", ")", "{", "llvm_unreachable", "(", "", ")", ";"], "ground_truth": ["}"], "File": "F2003fMCAsmStreamer", "Func": "EmitCommonSymbol", "Target": "F2003f", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 152034, "Length": 22, "Cover_Rate": 1.0} {"Template_token": ["", "void", "MCAsmStreamer", "::", "EmitEOL", "(", ")", "{", "emitExplicitComments", "(", ")", ";", "if", "(", "!", "IsVerboseAsm", ")", "{", "OS", "<<", "'\\n'", ";"], "ground_truth": ["return", ";"], "File": "F2003fMCAsmStreamer", "Func": "EmitEOL", "Target": "F2003f", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 152035, "Length": 23, "Cover_Rate": 0.7931034482758621} {"Template_token": ["", "if", "(", "!", "IsVerboseAsm", ")", "{", "OS", "<<", "'\\n'", ";", "return", ";", "}"], "ground_truth": ["EmitCommentsAndEOL", "(", ")", ";"], "File": "F2003fMCAsmStreamer", "Func": "EmitEOL", "Target": "F2003f", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 152036, "Length": 17, "Cover_Rate": 0.5862068965517241} {"Template_token": ["", "MCStreamer", "::", "EmitInstruction", "(", "Inst", ",", "STI", ")", ";", "if", "(", "ShowInst", ")", "{", "if", "(", "PrintSchedInfo", ")", "GetCommentOS", "(", ")", "<<", "", ";", "Inst", ".", "dump_pretty", "(", "GetCommentOS", "(", ")", ",", "InstPrinter", ".", "get", "(", ")", ",", "", ")", ";", "GetCommentOS", "(", ")", "<<", "", ";", "}", "std", "::", "string", "Buffer", ";", "{", "raw_string_ostream", "TempStream", "(", "Buffer", ")", ";", "InstPrinter", "->", "printInst", "(", "&", "Inst", ",", "TempStream", ",", "", ",", "STI", ")", ";", "}", "OS", "<<", "Buffer", ".", "substr", "(", "", ")", ";", "flushLabel", "(", "false", ")", ";", "if", "(", "PrintSchedInfo", ")", "{", "std", "::", "string", "SI", "=", "STI", ".", "getSchedInfoStr", "(", "Inst", ")", ";", "if", "(", "!", "SI", ".", "empty", "(", ")", ")", "GetCommentOS", "(", ")", "<<", "SI", ";", "}", "StringRef", "Comments", "=", "CommentToEmit", ";", "if", "(", "Comments", ".", "size", "(", ")", "&&", "Comments", ".", "back", "(", ")", "!=", "'\\n'", ")", "GetCommentOS", "(", ")", "<<", "", ";", "EmitEOL", "(", ")", ";"], "ground_truth": ["}"], "File": "F2003fMCAsmStreamer", "Func": "EmitInstruction", "Target": "F2003f", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 152039, "Length": 154, "Cover_Rate": 0.8901734104046243} {"Template_token": ["", "void", "MCAsmStreamer", "::", "EmitIntValue", "(", "uint64_t", "Value", ",", "unsigned", "Size", ")", "{", "EmitValue", "(", "MCConstantExpr", "::", "create", "(", "Value", ",", "getContext", "(", ")", ")", ",", "Size", ")", ";"], "ground_truth": ["}"], "File": "F2003fMCAsmStreamer", "Func": "EmitIntValue", "Target": "F2003f", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 152040, "Length": 29, "Cover_Rate": 1.0} {"Template_token": ["", "raw_string_ostream", "TempStream", "(", "Name", ")", ";", "Symbol", "->", "print", "(", "TempStream", ",", "MAI", ")", ";", "}", "LabelToEmit", ".", "append", "(", "", ")", ";"], "ground_truth": ["LabelToEmit", ".", "append", "(", "Name", ")", ";"], "File": "F2003fMCAsmStreamer", "Func": "EmitLabel", "Target": "F2003f", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 152042, "Length": 30, "Cover_Rate": 0.39473684210526316} {"Template_token": ["", "void", "MCAsmStreamer", "::", "EmitRawTextImpl", "(", "StringRef", "String", ")", "{", "if", "(", "!", "String", ".", "empty", "(", ")", "&&", "String", ".", "back", "(", ")", "==", "'\\n'", ")", "String", "=", "String", ".", "substr", "(", "", ",", "String", ".", "size", "(", ")", "-", "", ")", ";"], "ground_truth": ["OS", "<<", "String", ";"], "File": "F2003fMCAsmStreamer", "Func": "EmitRawTextImpl", "Target": "F2003f", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 152044, "Length": 47, "Cover_Rate": 0.9038461538461539} {"Template_token": ["", "OS", "<<", "MAI", "->", "getGlobalDirective", "(", ")", ";", "break", ";", "}", "Symbol", "->", "print", "(", "OS", ",", "MAI", ")", ";"], "ground_truth": ["EmitEOL", "(", ")", ";"], "File": "F2003fMCAsmStreamer", "Func": "EmitSymbolAttribute", "Target": "F2003f", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 152045, "Length": 24, "Cover_Rate": 0.4} {"Template_token": ["", "void", "MCAsmStreamer", "::", "EmitSymbolDesc", "(", "MCSymbol", "*", "Symbol", ",", "unsigned", "DescValue", ")", "{", "llvm_unreachable", "(", "", ")", ";"], "ground_truth": ["}"], "File": "F2003fMCAsmStreamer", "Func": "EmitSymbolDesc", "Target": "F2003f", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 152046, "Length": 19, "Cover_Rate": 1.0} {"Template_token": ["", "llvm_unreachable", "(", "", ")", ";"], "ground_truth": ["}"], "File": "F2003fMCAsmStreamer", "Func": "EmitSymbolDesc", "Target": "F2003f", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 152047, "Length": 6, "Cover_Rate": 0.3157894736842105} {"Template_token": ["", "void", "MCAsmStreamer", "::", "EmitThumbFunc", "(", "MCSymbol", "*", "Func", ")", "{"], "ground_truth": ["llvm_unreachable", "(", "", ")", ";"], "File": "F2003fMCAsmStreamer", "Func": "EmitThumbFunc", "Target": "F2003f", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 152049, "Length": 15, "Cover_Rate": 0.9375} {"Template_token": ["", "}", "int64_t", "IntValue", ";", "if", "(", "!", "Value", "->", "evaluateAsAbsolute", "(", "IntValue", ")", ")", "report_fatal_error", "(", "", ")", ";", "unsigned", "i", "=", "Size", ";", "while", "(", "i", "!=", "", ")", "{", "i", "--", ";", "ValueBuffer", ".", "push_back", "(", "(", "unsigned", "char", ")", "(", "IntValue", ">>", "(", "i", "*", "", ")", ")", ")", ";", "if", "(", "ValueBuffer", ".", "size", "(", ")", "==", "CurrentAlignmentToValue", ")", "{", "uint64_t", "ValueToEmit", "=", "", ";", "for", "(", "unsigned", "j", "=", "", ";", "j", "<", "CurrentAlignmentToValue", ";", "++", "j", ")", "{", "ValueToEmit", "=", "(", "ValueToEmit", "<<", "", ")", "|", "ValueBuffer", "[", "j", "]", ";", "}", "EmitValueWithAlignment", "(", "MCConstantExpr", "::", "create", "(", "ValueToEmit", ",", "getContext", "(", ")", ")", ",", "CurrentAlignmentToValue", ",", "Loc", ")", ";", "ValueBuffer", ".", "clear", "(", ")", ";", "}", "}"], "ground_truth": ["}"], "File": "F2003fMCAsmStreamer", "Func": "EmitValueImpl", "Target": "F2003f", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 152050, "Length": 125, "Cover_Rate": 0.6793478260869565} {"Template_token": ["", "void", "MCAsmStreamer", "::", "EmitValueToAlignment", "(", "unsigned", "ByteAlignment", ",", "int64_t", "Value", ",", "unsigned", "ValueSize", ",", "unsigned", "MaxBytesToEmit", ")", "{", "if", "(", "ByteAlignment", "==", "", "||", "ByteAlignment", "==", "", "||", "ByteAlignment", "==", "", ")", "{", "CurrentAlignmentToValue", "=", "ByteAlignment", ";", "return", ";", "}"], "ground_truth": ["if", "(", "ByteAlignment", "%", "", "==", "", ")", "{"], "File": "F2003fMCAsmStreamer", "Func": "EmitValueToAlignment", "Target": "F2003f", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 152051, "Length": 49, "Cover_Rate": 0.8032786885245902} {"Template_token": ["", "void", "MCAsmStreamer", "::", "emitValueToOffset", "(", "const", "MCExpr", "*", "Offset", ",", "unsigned", "char", "Value", ",", "SMLoc", "Loc", ")", "{", "llvm_unreachable", "(", "", ")", ";"], "ground_truth": ["}"], "File": "F2003fMCAsmStreamer", "Func": "emitValueToOffset", "Target": "F2003f", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 152052, "Length": 24, "Cover_Rate": 1.0} {"Template_token": ["", "void", "MCAsmStreamer", "::", "EmitValueWithAlignment", "(", "const", "MCExpr", "*", "Value", ",", "unsigned", "Size", ",", "SMLoc", "Loc", ")", "{", "const", "char", "*", "Directive", "=", "nullptr", ";", "switch", "(", "Size", ")", "{", "default", ":", "break", ";", "case", "", ":", "Directive", "=", "MAI", "->", "getData8bitsDirective", "(", ")", ";", "break", ";"], "ground_truth": ["case", "", ":", "Directive", "=", "MAI", "->", "getData16bitsDirective", "(", ")", ";", "break", ";"], "File": "F2003fMCAsmStreamer", "Func": "EmitValueWithAlignment", "Target": "F2003f", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 152053, "Length": 59, "Cover_Rate": 0.5086206896551724} {"Template_token": ["", "void", "MCAsmStreamer", "::", "EmitWeakReference", "(", "MCSymbol", "*", "Alias", ",", "const", "MCSymbol", "*", "Symbol", ")", "{"], "ground_truth": ["llvm_unreachable", "(", "", ")", ";"], "File": "F2003fMCAsmStreamer", "Func": "EmitWeakReference", "Target": "F2003f", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 152054, "Length": 20, "Cover_Rate": 0.9523809523809523} {"Template_token": ["", "void", "MCAsmStreamer", "::", "EmitZerofill", "(", "MCSection", "*", "Section", ",", "MCSymbol", "*", "Symbol", ",", "uint64_t", "Size", ",", "unsigned", "ByteAlignment", ")", "{", "llvm_unreachable", "(", "", ")", ";"], "ground_truth": ["}"], "File": "F2003fMCAsmStreamer", "Func": "EmitZerofill", "Target": "F2003f", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 152056, "Length": 26, "Cover_Rate": 1.0} {"Template_token": ["", "MCAsmStreamer", "::", "MCAsmStreamer", "(", "MCContext", "&", "Ctx", ",", "std", "::", "unique_ptr", "<", "formatted_raw_ostream", ">", "os", ",", "bool", "isVerboseAsm", ",", "MCInstPrinter", "*", "printer", ",", "bool", "showInst", ")", ":", "MCStreamer", "(", "Ctx", ")", ",", "OSOwner", "(", "std", "::", "move", "(", "os", ")", ")", ",", "OS", "(", "*", "OSOwner", ")", ",", "MAI", "(", "Ctx", ".", "getAsmInfo", "(", ")", ")", ",", "InstPrinter", "(", "printer", ")", ",", "CommentStream", "(", "CommentToEmit", ")", ",", "IsVerboseAsm", "(", "isVerboseAsm", ")", ",", "ShowInst", "(", "showInst", ")", "{"], "ground_truth": ["assert", "(", "InstPrinter", ")", ";"], "File": "F2003fMCAsmStreamer", "Func": "F2003fMCAsmStreamer", "Target": "F2003f", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 152057, "Length": 82, "Cover_Rate": 0.9879518072289156} {"Template_token": ["", "MCAsmStreamer", "::", "MCAsmStreamer", "(", "MCContext", "&", "Ctx", ",", "std", "::", "unique_ptr", "<", "formatted_raw_ostream", ">", "os", ",", "bool", "isVerboseAsm", ",", "MCInstPrinter", "*", "printer", ",", "bool", "showInst", ")", ":", "MCStreamer", "(", "Ctx", ")", ",", "OSOwner", "(", "std", "::", "move", "(", "os", ")", ")", ",", "OS", "(", "*", "OSOwner", ")", ",", "MAI", "(", "Ctx", ".", "getAsmInfo", "(", ")", ")", ",", "InstPrinter", "(", "printer", ")", ",", "CommentStream", "(", "CommentToEmit", ")", ",", "IsVerboseAsm", "(", "isVerboseAsm", ")", ",", "ShowInst", "(", "showInst", ")", "{", "assert", "(", "InstPrinter", ")", ";"], "ground_truth": ["}"], "File": "F2003fMCAsmStreamer", "Func": "F2003fMCAsmStreamer", "Target": "F2003f", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 152058, "Length": 83, "Cover_Rate": 1.0} {"Template_token": ["", "void", "MCAsmStreamer", "::", "FinishImpl", "(", ")", "{", "flushValues", "(", ")", ";", "flushLabel", "(", "true", ")", ";", "for", "(", "auto", "*", "Symbol", ":", "Symbols", ")", "{", "if", "(", "Symbol", "->", "isUndefined", "(", ")", ")", "{", "OS", "<<", "", ";", "Symbol", "->", "print", "(", "OS", ",", "MAI", ")", ";", "EmitEOL", "(", ")", ";"], "ground_truth": ["}"], "File": "F2003fMCAsmStreamer", "Func": "FinishImpl", "Target": "F2003f", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 152059, "Length": 52, "Cover_Rate": 0.9629629629629629} {"Template_token": ["", "StringRef", "label", "=", "LabelToEmit", ";", "if", "(", "!", "label", ".", "empty", "(", ")", ")", "{"], "ground_truth": ["if", "(", "addFen", ")", "{"], "File": "F2003fMCAsmStreamer", "Func": "flushLabel", "Target": "F2003f", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 152060, "Length": 20, "Cover_Rate": 0.43478260869565216} {"Template_token": ["", "if", "(", "!", "ValueBuffer", ".", "empty", "(", ")", ")", "{", "uint64_t", "ValueToEmit", "=", "", ";", "for", "(", "unsigned", "i", "=", "", ",", "e", "=", "ValueBuffer", ".", "size", "(", ")", ";", "i", "!=", "e", ";", "++", "i", ")", "{", "ValueToEmit", "=", "(", "ValueToEmit", "<<", "", ")", "|", "ValueBuffer", "[", "i", "]", ";", "}", "ValueToEmit", "<<=", "(", "CurrentAlignmentToValue", "-", "ValueBuffer", ".", "size", "(", ")", ")", "*", "", ";", "EmitValueWithAlignment", "(", "MCConstantExpr", "::", "create", "(", "ValueToEmit", ",", "getContext", "(", ")", ")", ",", "CurrentAlignmentToValue", ")", ";", "ValueBuffer", ".", "clear", "(", ")", ";", "}", "CurrentAlignmentToValue", "=", "", ";"], "ground_truth": ["}"], "File": "F2003fMCAsmStreamer", "Func": "flushValues", "Target": "F2003f", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 152061, "Length": 94, "Cover_Rate": 0.9306930693069307} {"Template_token": ["", "ValueToEmit", "=", "(", "ValueToEmit", "<<", "", ")", "|", "ValueBuffer", "[", "i", "]", ";", "}", "ValueToEmit", "<<=", "(", "CurrentAlignmentToValue", "-", "ValueBuffer", ".", "size", "(", ")", ")", "*", "", ";", "EmitValueWithAlignment", "(", "MCConstantExpr", "::", "create", "(", "ValueToEmit", ",", "getContext", "(", ")", ")", ",", "CurrentAlignmentToValue", ")", ";"], "ground_truth": ["ValueBuffer", ".", "clear", "(", ")", ";"], "File": "F2003fMCAsmStreamer", "Func": "flushValues", "Target": "F2003f", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 152062, "Length": 50, "Cover_Rate": 0.49504950495049505} {"Template_token": ["", "if", "(", "!", "IsVerboseAsm", ")", "return", "nulls", "(", ")", ";", "return", "CommentStream", ";"], "ground_truth": ["}"], "File": "F2003fMCAsmStreamer", "Func": "GetCommentOS", "Target": "F2003f", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 152063, "Length": 14, "Cover_Rate": 0.6363636363636364} {"Template_token": ["", "return", "true", ";"], "ground_truth": ["}"], "File": "F2003fMCAsmStreamer", "Func": "hasRawTextSupport", "Target": "F2003f", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 152065, "Length": 4, "Cover_Rate": 0.36363636363636365} {"Template_token": ["", "return", "true", ";"], "ground_truth": ["}"], "File": "F2003fMCAsmStreamer", "Func": "hasRawTextSupport", "Target": "F2003f", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 152066, "Length": 4, "Cover_Rate": 0.36363636363636365} {"Template_token": ["", "bool", "isVerboseAsm", "(", ")", "const", "override", "{", "return", "IsVerboseAsm", ";"], "ground_truth": ["}"], "File": "F2003fMCAsmStreamer", "Func": "isVerboseAsm", "Target": "F2003f", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 152067, "Length": 11, "Cover_Rate": 1.0} {"Template_token": ["", "bool", "isVerboseAsm", "(", ")", "const", "override", "{", "return", "IsVerboseAsm", ";"], "ground_truth": ["}"], "File": "F2003fMCAsmStreamer", "Func": "isVerboseAsm", "Target": "F2003f", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 152068, "Length": 11, "Cover_Rate": 1.0} {"Template_token": ["", "void", "MCAsmStreamer", "::", "reset", "(", ")", "{", "LabelToEmit", ".", "clear", "(", ")", ";", "ExplicitCommentToEmit", ".", "clear", "(", ")", ";", "CommentToEmit", ".", "clear", "(", ")", ";", "Symbols", ".", "clear", "(", ")", ";"], "ground_truth": ["CurrentAlignmentToValue", "=", "", ";"], "File": "F2003fMCAsmStreamer", "Func": "reset", "Target": "F2003f", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 152069, "Length": 35, "Cover_Rate": 0.7291666666666666} {"Template_token": ["", "Symbol", ".", "setIsRegistered", "(", "true", ")", ";", "Symbols", ".", "push_back", "(", "&", "Symbol", ")", ";"], "ground_truth": ["}"], "File": "F2003fMCAsmStreamer", "Func": "visitUsedSymbol", "Target": "F2003f", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 152070, "Length": 16, "Cover_Rate": 0.42105263157894735} {"Template_token": ["", "Symbol", ".", "setIsRegistered", "(", "true", ")", ";"], "ground_truth": ["Symbols", ".", "push_back", "(", "&", "Symbol", ")", ";"], "File": "F2003fMCAsmStreamer", "Func": "visitUsedSymbol", "Target": "F2003f", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 152071, "Length": 15, "Cover_Rate": 0.39473684210526316} {"Template_token": ["", "MCOp", "=", "MCOperand", "::", "createExpr", "(", "MCSymbolRefExpr", "::", "create", "(", "MO", ".", "getMBB", "(", ")", "->", "getSymbol", "(", ")", ",", "Ctx", ")", ")", ";", "break", ";", "case", "MachineOperand", "::", "MO_GlobalAddress", ":", "MCOp", "=", "LowerSymbolOperand", "(", "MO", ",", "Printer", ".", "getSymbol", "(", "MO", ".", "getGlobal", "(", ")", ")", ")", ";", "break", ";", "case", "MachineOperand", "::", "MO_ExternalSymbol", ":", "MCOp", "=", "LowerSymbolOperand", "(", "MO", ",", "Printer", ".", "GetExternalSymbolSymbol", "(", "MO", ".", "getSymbolName", "(", ")", ")", ")", ";", "break", ";", "case", "MachineOperand", "::", "MO_JumpTableIndex", ":", "MCOp", "=", "LowerSymbolOperand", "(", "MO", ",", "Printer", ".", "GetJTISymbol", "(", "MO", ".", "getIndex", "(", ")", ")", ")", ";", "break", ";", "case", "MachineOperand", "::", "MO_ConstantPoolIndex", ":", "MCOp", "=", "LowerSymbolOperand", "(", "MO", ",", "Printer", ".", "GetCPISymbol", "(", "MO", ".", "getIndex", "(", ")", ")", ")", ";", "break", ";", "case", "MachineOperand", "::", "MO_BlockAddress", ":", "MCOp", "=", "LowerSymbolOperand", "(", "MO", ",", "Printer", ".", "GetBlockAddressSymbol", "(", "MO", ".", "getBlockAddress", "(", ")", ")", ")", ";", "break", ";", "case", "MachineOperand", "::", "MO_RegisterMask", ":", "continue", ";", "}"], "ground_truth": ["OutMI", ".", "addOperand", "(", "MCOp", ")", ";"], "File": "F2003fMCInstLower", "Func": "Lower", "Target": "F2003f", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 152072, "Length": 166, "Cover_Rate": 0.5303514376996805} {"Template_token": ["", "case", "", ":", "break", ";", "}", "if", "(", "!", "MO", ".", "isJTI", "(", ")", "&&", "MO", ".", "getOffset", "(", ")", ")", "Expr", "=", "MCBinaryExpr", "::", "createAdd", "(", "Expr", ",", "MCConstantExpr", "::", "create", "(", "MO", ".", "getOffset", "(", ")", ",", "Ctx", ")", ",", "Ctx", ")", ";", "return", "MCOperand", "::", "createExpr", "(", "Expr", ")", ";"], "ground_truth": ["}"], "File": "F2003fMCInstLower", "Func": "LowerSymbolOperand", "Target": "F2003f", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 152073, "Length": 54, "Cover_Rate": 0.54} {"Template_token": ["", "static", "MCInstrInfo", "*", "createMCInstrInfo", "(", ")", "{", "MCInstrInfo", "*", "X", "=", "new", "MCInstrInfo", "(", ")", ";", "InitMCInstrInfo", "(", "X", ")", ";"], "ground_truth": ["return", "X", ";"], "File": "F2003fMCTargetDesc", "Func": "createF2003fMCInstrInfo", "Target": "F2003f", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 152074, "Length": 24, "Cover_Rate": 0.96} {"Template_token": ["", "MCRegisterInfo", "*", "X", "=", "new", "MCRegisterInfo", "(", ")", ";", "InitMCRegisterInfo", "(", "X", ",", "", ")", ";"], "ground_truth": ["return", "X", ";"], "File": "F2003fMCTargetDesc", "Func": "createF2003fMCRegisterInfo", "Target": "F2003f", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 152075, "Length": 19, "Cover_Rate": 0.5757575757575758} {"Template_token": ["", "static", "MCRegisterInfo", "*", "createMCRegisterInfo", "(", "const", "Triple", "&", "TT", ")", "{", "MCRegisterInfo", "*", "X", "=", "new", "MCRegisterInfo", "(", ")", ";"], "ground_truth": ["InitMCRegisterInfo", "(", "X", ",", "", ")", ";"], "File": "F2003fMCTargetDesc", "Func": "createF2003fMCRegisterInfo", "Target": "F2003f", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 152076, "Length": 27, "Cover_Rate": 0.8181818181818182} {"Template_token": ["", "return", "createMCSubtargetInfoImpl", "(", "TT", ",", "CPU", ",", "FS", ")", ";"], "ground_truth": ["}"], "File": "F2003fMCTargetDesc", "Func": "createF2003fMCSubtargetInfo", "Target": "F2003f", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 152077, "Length": 11, "Cover_Rate": 0.39285714285714285} {"Template_token": ["", "static", "MCSubtargetInfo", "*", "createMCSubtargetInfo", "(", "const", "Triple", "&", "TT", ",", "StringRef", "CPU", ",", "StringRef", "FS", ")", "{", "return", "createMCSubtargetInfoImpl", "(", "TT", ",", "CPU", ",", "FS", ")", ";"], "ground_truth": ["}"], "File": "F2003fMCTargetDesc", "Func": "createF2003fMCSubtargetInfo", "Target": "F2003f", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 152078, "Length": 28, "Cover_Rate": 1.0} {"Template_token": ["", "void", "LLVMInitializeTargetMC", "(", ")", "{", "RegisterMCAsmInfo", "<", "MCAsmInfo", ">", "X", "(", "getTheTarget", "(", ")", ")", ";", "TargetRegistry", "::", "RegisterMCInstrInfo", "(", "getTheTarget", "(", ")", ",", "createMCInstrInfo", ")", ";"], "ground_truth": ["TargetRegistry", "::", "RegisterMCRegInfo", "(", "getTheTarget", "(", ")", ",", "createMCRegisterInfo", ")", ";"], "File": "F2003fMCTargetDesc", "Func": "LLVMInitializeF2003fTargetMC", "Target": "F2003f", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 152079, "Length": 38, "Cover_Rate": 0.6229508196721312} {"Template_token": ["", "Offset", "+=", "MF", ".", "getFrameInfo", "(", ")", ".", "getStackSize", "(", ")", ";", "Offset", "+=", "SPAdj", ";", "if", "(", "MI", ".", "getOpcode", "(", ")", "==", "", ")", "{", "Offset", "+=", "MI", ".", "getOperand", "(", "FIOperandNum", "+", "", ")", ".", "getImm", "(", ")", ";", "const", "TargetInstrInfo", "&", "TII", "=", "*", "MF", ".", "getSubtarget", "(", ")", ".", "getInstrInfo", "(", ")", ";", "MI", ".", "setDesc", "(", "TII", ".", "get", "(", "", ")", ")", ";", "MI", ".", "getOperand", "(", "FIOperandNum", ")", ".", "ChangeToRegister", "(", "", ",", "false", ")", ";", "MI", ".", "RemoveOperand", "(", "FIOperandNum", "+", "", ")", ";"], "ground_truth": ["if", "(", "Offset", "==", "", ")", "{"], "File": "F2003fRegisterInfo", "Func": "eliminateFrameIndex", "Target": "F2003f", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 152080, "Length": 100, "Cover_Rate": 0.31746031746031744} {"Template_token": ["", "MachineFunction", "&", "MF", "=", "*", "MBB", ".", "getParent", "(", ")", ";", "DebugLoc", "dl", "=", "MI", ".", "getDebugLoc", "(", ")", ";", "int", "FrameIndex", "=", "MI", ".", "getOperand", "(", "FIOperandNum", ")", ".", "getIndex", "(", ")", ";", "int", "Offset", "=", "MF", ".", "getFrameInfo", "(", ")", ".", "getObjectOffset", "(", "FrameIndex", ")", ";", "Offset", "+=", "MF", ".", "getFrameInfo", "(", ")", ".", "getStackSize", "(", ")", ";", "Offset", "+=", "SPAdj", ";", "if", "(", "MI", ".", "getOpcode", "(", ")", "==", "", ")", "{", "Offset", "+=", "MI", ".", "getOperand", "(", "FIOperandNum", "+", "", ")", ".", "getImm", "(", ")", ";", "const", "TargetInstrInfo", "&", "TII", "=", "*", "MF", ".", "getSubtarget", "(", ")", ".", "getInstrInfo", "(", ")", ";", "MI", ".", "setDesc", "(", "TII", ".", "get", "(", "", ")", ")", ";", "MI", ".", "getOperand", "(", "FIOperandNum", ")", ".", "ChangeToRegister", "(", "", ",", "false", ")", ";", "MI", ".", "RemoveOperand", "(", "FIOperandNum", "+", "", ")", ";", "if", "(", "Offset", "==", "", ")", "{", "return", ";", "}", "unsigned", "DstReg", "=", "MI", ".", "getOperand", "(", "", ")", ".", "getReg", "(", ")", ";", "BuildMI", "(", "MBB", ",", "std", "::", "next", "(", "II", ")", ",", "dl", ",", "TII", ".", "get", "(", "", ")", ",", "DstReg", ")", ".", "addReg", "(", "DstReg", ")", ".", "addImm", "(", "Offset", ")", ";", "return", ";", "}", "if", "(", "MI", ".", "getOperand", "(", "FIOperandNum", "+", "", ")", ".", "isImm", "(", ")", ")", "{", "Offset", "+=", "(", "int32_t", ")", "MI", ".", "getOperand", "(", "FIOperandNum", "+", "", ")", ".", "getImm", "(", ")", ";", "}"], "ground_truth": ["MI", ".", "getOperand", "(", "FIOperandNum", ")", ".", "ChangeToRegister", "(", "", ",", "false", ")", ";"], "File": "F2003fRegisterInfo", "Func": "eliminateFrameIndex", "Target": "F2003f", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 152081, "Length": 250, "Cover_Rate": 0.7936507936507936} {"Template_token": ["", "RegisterInfo", "::", "RegisterInfo", "(", ")", ":", "GenRegisterInfo", "(", "", ",", "", ",", "", ",", "", ")", "{"], "ground_truth": ["}"], "File": "F2003fRegisterInfo", "Func": "F2003fRegisterInfo", "Target": "F2003f", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 152082, "Length": 18, "Cover_Rate": 0.8181818181818182} {"Template_token": ["", "RegisterInfo", "::", "RegisterInfo", "(", ")", ":", "GenRegisterInfo", "(", "", ",", "", ",", "", ",", "", ")", "{"], "ground_truth": ["}"], "File": "F2003fRegisterInfo", "Func": "F2003fRegisterInfo", "Target": "F2003f", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 152083, "Length": 18, "Cover_Rate": 0.8181818181818182} {"Template_token": ["", "unsigned", "RegisterInfo", "::", "getFrameRegister", "(", "const", "MachineFunction", "&", "MF", ")", "const", "{", "return", "", ";"], "ground_truth": ["}"], "File": "F2003fRegisterInfo", "Func": "getFrameRegister", "Target": "F2003f", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 152085, "Length": 16, "Cover_Rate": 0.8888888888888888} {"Template_token": ["", "const", "TargetRegisterClass", "*", "RegisterInfo", "::", "getPointerRegClass", "(", "const", "MachineFunction", "&", "MF", ",", "unsigned", "Kind", ")", "const", "{"], "ground_truth": ["return", "&", "", ";"], "File": "F2003fRegisterInfo", "Func": "getPointerRegClass", "Target": "F2003f", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 152086, "Length": 21, "Cover_Rate": 0.875} {"Template_token": ["", "const", "TargetRegisterClass", "*", "RegisterInfo", "::", "getPointerRegClass", "(", "const", "MachineFunction", "&", "MF", ",", "unsigned", "Kind", ")", "const", "{"], "ground_truth": ["return", "&", "", ";"], "File": "F2003fRegisterInfo", "Func": "getPointerRegClass", "Target": "F2003f", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 152087, "Length": 21, "Cover_Rate": 0.875} {"Template_token": ["", "BitVector", "RegisterInfo", "::", "getReservedRegs", "(", "const", "MachineFunction", "&", "MF", ")", "const", "{", "BitVector", "Reserved", "(", "getNumRegs", "(", ")", ")", ";"], "ground_truth": ["Reserved", ".", "set", "(", "", ")", ";"], "File": "F2003fRegisterInfo", "Func": "getReservedRegs", "Target": "F2003f", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 152088, "Length": 27, "Cover_Rate": 0.6428571428571429} {"Template_token": ["", "BitVector", "Reserved", "(", "getNumRegs", "(", ")", ")", ";", "Reserved", ".", "set", "(", "", ")", ";"], "ground_truth": ["Reserved", ".", "set", "(", "", ")", ";"], "File": "F2003fRegisterInfo", "Func": "getReservedRegs", "Target": "F2003f", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 152089, "Length": 22, "Cover_Rate": 0.5238095238095238} {"Template_token": ["", "void", "Subtarget", "::", "anchor", "(", ")", "{"], "ground_truth": ["}"], "File": "F2003fSubtarget", "Func": "anchor", "Target": "F2003f", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 152090, "Length": 8, "Cover_Rate": 1.0} {"Template_token": ["", "void", "Subtarget", "::", "anchor", "(", ")", "{"], "ground_truth": ["}"], "File": "F2003fSubtarget", "Func": "anchor", "Target": "F2003f", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 152091, "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", "(", ")", ",", "InstrInfo", "(", "initializeSubtargetDependencies", "(", "CPU", ",", "FS", ")", ")", ",", "TLInfo", "(", "TM", ",", "*", "this", ")", "{"], "ground_truth": ["}"], "File": "F2003fSubtarget", "Func": "F2003fSubtarget", "Target": "F2003f", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 152092, "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", ",", "FS", ")", ",", "FrameLowering", "(", ")", ",", "InstrInfo", "(", "initializeSubtargetDependencies", "(", "CPU", ",", "FS", ")", ")", ",", "TLInfo", "(", "TM", ",", "*", "this", ")", "{"], "ground_truth": ["}"], "File": "F2003fSubtarget", "Func": "F2003fSubtarget", "Target": "F2003f", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 152093, "Length": 61, "Cover_Rate": 1.0} {"Template_token": ["", "return", "&", "FrameLowering", ";"], "ground_truth": ["}"], "File": "F2003fSubtarget", "Func": "getFrameLowering", "Target": "F2003f", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 152095, "Length": 5, "Cover_Rate": 0.35714285714285715} {"Template_token": ["", "const", "InstrInfo", "*", "getInstrInfo", "(", ")", "const", "override", "{"], "ground_truth": ["return", "&", "InstrInfo", ";"], "File": "F2003fSubtarget", "Func": "getInstrInfo", "Target": "F2003f", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 152096, "Length": 13, "Cover_Rate": 0.9285714285714286} {"Template_token": ["", "const", "InstrInfo", "*", "getInstrInfo", "(", ")", "const", "override", "{"], "ground_truth": ["return", "&", "InstrInfo", ";"], "File": "F2003fSubtarget", "Func": "getInstrInfo", "Target": "F2003f", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 152097, "Length": 13, "Cover_Rate": 0.9285714285714286} {"Template_token": ["", "const", "RegisterInfo", "*", "getRegisterInfo", "(", ")", "const", "override", "{"], "ground_truth": ["return", "&", "InstrInfo", ".", "getRegisterInfo", "(", ")", ";"], "File": "F2003fSubtarget", "Func": "getRegisterInfo", "Target": "F2003f", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 152099, "Length": 17, "Cover_Rate": 0.9444444444444444} {"Template_token": ["", "return", "&", "TSInfo", ";"], "ground_truth": ["}"], "File": "F2003fSubtarget", "Func": "getSelectionDAGInfo", "Target": "F2003f", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 152100, "Length": 5, "Cover_Rate": 0.35714285714285715} {"Template_token": ["", "const", "TargetLowering", "*", "getTargetLowering", "(", ")", "const", "override", "{"], "ground_truth": ["return", "&", "TLInfo", ";"], "File": "F2003fSubtarget", "Func": "getTargetLowering", "Target": "F2003f", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 152102, "Length": 13, "Cover_Rate": 0.9285714285714286} {"Template_token": ["", "const", "TargetLowering", "*", "getTargetLowering", "(", ")", "const", "override", "{", "return", "&", "TLInfo", ";"], "ground_truth": ["}"], "File": "F2003fSubtarget", "Func": "getTargetLowering", "Target": "F2003f", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 152103, "Length": 14, "Cover_Rate": 1.0} {"Template_token": ["", "Subtarget", "&", "Subtarget", "::", "initializeSubtargetDependencies", "(", "StringRef", "CPU", ",", "StringRef", "FS", ")", "{", "std", "::", "string", "CPUName", "=", "CPU", ";"], "ground_truth": ["if", "(", "CPUName", ".", "empty", "(", ")", ")", "CPUName", "=", "", ";"], "File": "F2003fSubtarget", "Func": "initializeSubtargetDependencies", "Target": "F2003f", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 152104, "Length": 32, "Cover_Rate": 0.7272727272727273} {"Template_token": ["", "if", "(", "CPUName", ".", "empty", "(", ")", ")", "CPUName", "=", "", ";"], "ground_truth": ["ParseSubtargetFeatures", "(", "CPUName", ",", "FS", ")", ";"], "File": "F2003fSubtarget", "Func": "initializeSubtargetDependencies", "Target": "F2003f", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 152105, "Length": 19, "Cover_Rate": 0.4318181818181818} {"Template_token": ["", "Target", "&", "llvm", "::", "getTheTarget", "(", ")", "{", "static", "Target", "TheTarget", ";"], "ground_truth": ["return", "TheTarget", ";"], "File": "F2003fTargetInfo", "Func": "getTheF2003fTarget", "Target": "F2003f", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 152106, "Length": 15, "Cover_Rate": 0.9375} {"Template_token": ["", "void", "LLVMInitializeTargetInfo", "(", ")", "{"], "ground_truth": ["RegisterTarget", "<", "Triple", "::", "f2003f", ">", "X", "(", "getTheTarget", "(", ")", ",", "", ",", "", ")", ";"], "File": "F2003fTargetInfo", "Func": "LLVMInitializeF2003fTargetInfo", "Target": "F2003f", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 152108, "Length": 22, "Cover_Rate": 0.9565217391304348} {"Template_token": ["", "addPass", "(", "createISelDag", "(", "getTargetMachine", "(", ")", ",", "getOptLevel", "(", ")", ")", ")", ";", "return", "false", ";"], "ground_truth": ["}"], "File": "F2003fTargetMachine", "Func": "addInstSelector", "Target": "F2003f", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 152109, "Length": 18, "Cover_Rate": 0.72} {"Template_token": ["", "addPass", "(", "createISelDag", "(", "getTargetMachine", "(", ")", ",", "getOptLevel", "(", ")", ")", ")", ";"], "ground_truth": ["return", "false", ";"], "File": "F2003fTargetMachine", "Func": "addInstSelector", "Target": "F2003f", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 152110, "Length": 17, "Cover_Rate": 0.68} {"Template_token": ["", "static", "std", "::", "string", "computeDataLayout", "(", "const", "Triple", "&", "TT", ",", "StringRef", "CPU", ",", "const", "TargetOptions", "&", "Options", ")", "{", "return", "", ";"], "ground_truth": ["}"], "File": "F2003fTargetMachine", "Func": "computeDataLayout", "Target": "F2003f", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 152113, "Length": 24, "Cover_Rate": 1.0} {"Template_token": ["", "MCStreamer", "*", "S", "=", "new", "MCAsmStreamer", "(", "Context", ",", "std", "::", "move", "(", "FOut", ")", ",", "Options", ".", "MCOptions", ".", "AsmVerbose", ",", "InstPrinter", ",", "Options", ".", "MCOptions", ".", "ShowMCInst", ")", ";"], "ground_truth": ["return", "S", ";"], "File": "F2003fTargetMachine", "Func": "createMCStreamerToAsm", "Target": "F2003f", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 152114, "Length": 34, "Cover_Rate": 0.5151515151515151} {"Template_token": ["", "MCStreamer", "*", "TargetMachine", "::", "createMCStreamerToAsm", "(", "MCContext", "&", "Context", ",", "std", "::", "unique_ptr", "<", "formatted_raw_ostream", ">", "FOut", ",", "MCInstPrinter", "*", "InstPrinter", ",", "MCCodeEmitter", "*", "MCE", ",", "MCAsmBackend", "*", "MAB", ")", "{"], "ground_truth": ["MCStreamer", "*", "S", "=", "new", "MCAsmStreamer", "(", "Context", ",", "std", "::", "move", "(", "FOut", ")", ",", "Options", ".", "MCOptions", ".", "AsmVerbose", ",", "InstPrinter", ",", "Options", ".", "MCOptions", ".", "ShowMCInst", ")", ";"], "File": "F2003fTargetMachine", "Func": "createMCStreamerToAsm", "Target": "F2003f", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 152115, "Length": 62, "Cover_Rate": 0.9393939393939394} {"Template_token": ["", "return", "new", "PassConfig", "(", "*", "this", ",", "PM", ")", ";"], "ground_truth": ["}"], "File": "F2003fTargetMachine", "Func": "createPassConfig", "Target": "F2003f", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 152116, "Length": 11, "Cover_Rate": 0.5} {"Template_token": ["", "return", "new", "PassConfig", "(", "*", "this", ",", "PM", ")", ";"], "ground_truth": ["}"], "File": "F2003fTargetMachine", "Func": "createPassConfig", "Target": "F2003f", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 152117, "Length": 11, "Cover_Rate": 0.5} {"Template_token": ["", "PassConfig", "(", "TargetMachine", "&", "TM", ",", "PassManagerBase", "&", "PM", ")", ":", "TargetPassConfig", "(", "TM", ",", "PM", ")", "{"], "ground_truth": ["}"], "File": "F2003fTargetMachine", "Func": "F2003fPassConfig", "Target": "F2003f", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 152118, "Length": 19, "Cover_Rate": 1.0} {"Template_token": ["", "PassConfig", "(", "TargetMachine", "&", "TM", ",", "PassManagerBase", "&", "PM", ")", ":", "TargetPassConfig", "(", "TM", ",", "PM", ")", "{"], "ground_truth": ["}"], "File": "F2003fTargetMachine", "Func": "F2003fPassConfig", "Target": "F2003f", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 152119, "Length": 19, "Cover_Rate": 1.0} {"Template_token": ["", "static", "Reloc", "::", "Model", "getEffectiveRelocModel", "(", "Optional", "<", "Reloc", "::", "Model", ">", "RM", ")", "{", "if", "(", "!", "RM", ".", "hasValue", "(", ")", ")", "return", "Reloc", "::", "Static", ";"], "ground_truth": ["return", "*", "RM", ";"], "File": "F2003fTargetMachine", "Func": "getEffectiveRelocModel", "Target": "F2003f", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 152121, "Length": 33, "Cover_Rate": 0.9705882352941176} {"Template_token": ["", "TargetMachine", "&", "getTargetMachine", "(", ")", "const", "{", "return", "getTM", "<", "TargetMachine", ">", "(", ")", ";"], "ground_truth": ["}"], "File": "F2003fTargetMachine", "Func": "getF2003fTargetMachine", "Target": "F2003f", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 152124, "Length": 16, "Cover_Rate": 1.0} {"Template_token": ["", "return", "TLOF", ".", "get", "(", ")", ";"], "ground_truth": ["}"], "File": "F2003fTargetMachine", "Func": "getObjFileLowering", "Target": "F2003f", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 152125, "Length": 8, "Cover_Rate": 0.5} {"Template_token": ["", "TargetLoweringObjectFile", "*", "getObjFileLowering", "(", ")", "const", "override", "{"], "ground_truth": ["return", "TLOF", ".", "get", "(", ")", ";"], "File": "F2003fTargetMachine", "Func": "getObjFileLowering", "Target": "F2003f", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 152126, "Length": 15, "Cover_Rate": 0.9375} {"Template_token": ["", "const", "Subtarget", "*", "getSubtargetImpl", "(", "const", "Function", "&", "F", ")", "const", "override", "{"], "ground_truth": ["return", "&", "Subtarget", ";"], "File": "F2003fTargetMachine", "Func": "getSubtargetImpl", "Target": "F2003f", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 152128, "Length": 17, "Cover_Rate": 0.9444444444444444} {"Template_token": ["", "void", "LLVMInitializeTarget", "(", ")", "{", "RegisterTargetMachine", "<", "TargetMachine", ">", "X", "(", "getTheTarget", "(", ")", ")", ";"], "ground_truth": ["}"], "File": "F2003fTargetMachine", "Func": "LLVMInitializeF2003fTarget", "Target": "F2003f", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 152129, "Length": 17, "Cover_Rate": 1.0} {"Template_token": ["", "TargetMachine", "::", "~", "TargetMachine", "(", ")", "{"], "ground_truth": ["}"], "File": "F2003fTargetMachine", "Func": "~F2003fTargetMachine", "Target": "F2003f", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 152131, "Length": 8, "Cover_Rate": 1.0} {"Template_token": ["", "TargetMachine", "::", "~", "TargetMachine", "(", ")", "{"], "ground_truth": ["}"], "File": "F2003fTargetMachine", "Func": "~F2003fTargetMachine", "Target": "F2003f", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 152132, "Length": 8, "Cover_Rate": 1.0} {"Template_token": ["", "case", "", ":", "return", "", ";", "case", "", ":", "return", "", ";", "case", "", ":", "return", "", ";", "case", "", ":", "return", "", ";", "case", "", ":", "return", "", ";", "case", "", ":", "return", "", ";"], "ground_truth": ["case", "", ":", "return", "", ";"], "File": "F2003f", "Func": "F2003fCCToString", "Target": "F2003f", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 152133, "Length": 42, "Cover_Rate": 0.4} {"Template_token": ["", "return", "static_cast", "<", "", ">", "(", "CC", "^", "", ")", ";"], "ground_truth": ["}"], "File": "F2003f", "Func": "OppositeF2003fCC", "Target": "F2003f", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 152134, "Length": 12, "Cover_Rate": 0.46153846153846156} {"Template_token": ["", "return", "static_cast", "<", "", ">", "(", "CC", "^", "", ")", ";"], "ground_truth": ["}"], "File": "F2003f", "Func": "OppositeF2003fCC", "Target": "F2003f", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 152135, "Length": 12, "Cover_Rate": 0.46153846153846156}