{"Template_token": ["", "}", "if", "(", "!", "Value", ")", "{", "Value", "=", "adjustFixupValue", "(", "Fixup", ",", "Value", ")", ";", "return", ";", "}", "unsigned", "Offset", "=", "Fixup", ".", "getOffset", "(", ")", ";", "assert", "(", "Offset", "<=", "DataSize", "&&", "", ")", ";"], "ground_truth": ["assert", "(", "Value", "%", "", "==", "", "&&", "", ")", ";"], "File": "CJGAsmBackend", "Func": "applyFixup", "Target": "CJG", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 58628, "Length": 48, "Cover_Rate": 0.4247787610619469} {"Template_token": ["", "AsmBackend", "(", "const", "Target", "&", "T", ",", "const", "StringRef", "TT", ",", "uint8_t", "OSABI", ")", ":", "MCAsmBackend", "(", ")", ",", "OSABI", "(", "OSABI", ")", "{"], "ground_truth": ["}"], "File": "CJGAsmBackend", "Func": "CJGAsmBackend", "Target": "CJG", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 58629, "Length": 25, "Cover_Rate": 1.0} {"Template_token": ["", "AsmBackend", "(", "const", "Target", "&", "T", ",", "const", "StringRef", "TT", ",", "uint8_t", "OSABI", ")", ":", "MCAsmBackend", "(", ")", ",", "OSABI", "(", "OSABI", ")", "{"], "ground_truth": ["}"], "File": "CJGAsmBackend", "Func": "CJGAsmBackend", "Target": "CJG", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 58630, "Length": 25, "Cover_Rate": 1.0} {"Template_token": ["", "MCAsmBackend", "*", "llvm", "::", "createAsmBackend", "(", "const", "Target", "&", "T", ",", "const", "MCRegisterInfo", "&", "MRI", ",", "const", "Triple", "&", "TT", ",", "StringRef", "CPU", ",", "const", "MCTargetOptions", "&", "Options", ")", "{", "const", "uint8_t", "OSABI", "=", "MCELFObjectTargetWriter", "::", "getOSABI", "(", "TT", ".", "getOS", "(", ")", ")", ";"], "ground_truth": ["return", "new", "AsmBackend", "(", "T", ",", "TT", ".", "getTriple", "(", ")", ",", "OSABI", ")", ";"], "File": "CJGAsmBackend", "Func": "createCJGAsmBackend", "Target": "CJG", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 58631, "Length": 60, "Cover_Rate": 0.9836065573770492} {"Template_token": ["", "MCObjectWriter", "*", "AsmBackend", "::", "createObjectWriter", "(", "raw_pwrite_stream", "&", "OS", ")", "const", "{"], "ground_truth": ["return", "createELFObjectWriter", "(", "OS", ",", "OSABI", ")", ";"], "File": "CJGAsmBackend", "Func": "createObjectWriter", "Target": "CJG", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 58632, "Length": 20, "Cover_Rate": 0.9523809523809523} {"Template_token": ["", "return", "createELFObjectWriter", "(", "OS", ",", "OSABI", ")", ";"], "ground_truth": ["}"], "File": "CJGAsmBackend", "Func": "createObjectWriter", "Target": "CJG", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 58633, "Length": 9, "Cover_Rate": 0.42857142857142855} {"Template_token": ["", "const", "MCFixupKindInfo", "&", "getFixupKindInfo", "(", "MCFixupKind", "Kind", ")", "const", "override", "{", "const", "static", "MCFixupKindInfo", "Infos", "[", "", "]", "=", "{", "{", "", ",", "", ",", "", ",", "", "}", ",", "{", "", ",", "", ",", "", ",", "", "}", ",", "}", ";", "if", "(", "Kind", "<", "FirstTargetFixupKind", ")", "{", "return", "MCAsmBackend", "::", "getFixupKindInfo", "(", "Kind", ")", ";", "}", "assert", "(", "unsigned", "(", "Kind", "-", "FirstTargetFixupKind", ")", "<", "getNumFixupKinds", "(", ")", "&&", "", ")", ";"], "ground_truth": ["return", "Infos", "[", "Kind", "-", "FirstTargetFixupKind", "]", ";"], "File": "CJGAsmBackend", "Func": "getFixupKindInfo", "Target": "CJG", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 58634, "Length": 82, "Cover_Rate": 0.9647058823529412} {"Template_token": ["", "unsigned", "getNumFixupKinds", "(", ")", "const", "override", "{", "return", "", ";"], "ground_truth": ["}"], "File": "CJGAsmBackend", "Func": "getNumFixupKinds", "Target": "CJG", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 58635, "Length": 11, "Cover_Rate": 0.8461538461538461} {"Template_token": ["", "bool", "mayNeedRelaxation", "(", "const", "MCInst", "&", "Inst", ")", "const", "override", "{", "return", "false", ";"], "ground_truth": ["}"], "File": "CJGAsmBackend", "Func": "mayNeedRelaxation", "Target": "CJG", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 58637, "Length": 15, "Cover_Rate": 1.0} {"Template_token": ["", "bool", "mayNeedRelaxation", "(", "const", "MCInst", "&", "Inst", ")", "const", "override", "{", "return", "false", ";"], "ground_truth": ["}"], "File": "CJGAsmBackend", "Func": "mayNeedRelaxation", "Target": "CJG", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 58638, "Length": 15, "Cover_Rate": 1.0} {"Template_token": ["", "void", "AsmBackend", "::", "processFixupValue", "(", "const", "MCAssembler", "&", "Asm", ",", "const", "MCAsmLayout", "&", "Layout", ",", "const", "MCFixup", "&", "Fixup", ",", "const", "MCFragment", "*", "DF", ",", "const", "MCValue", "&", "Target", ",", "uint64_t", "&", "Value", ",", "bool", "&", "IsResolved", ")", "{", "IsResolved", "=", "true", ";", "(", "void", ")", "adjustFixupValue", "(", "Fixup", ",", "Value", ",", "&", "Asm", ".", "getContext", "(", ")", ")", ";"], "ground_truth": ["}"], "File": "CJGAsmBackend", "Func": "processFixupValue", "Target": "CJG", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 58639, "Length": 61, "Cover_Rate": 1.0} {"Template_token": ["", "void", "relaxInstruction", "(", "const", "MCInst", "&", "Inst", ",", "const", "MCSubtargetInfo", "&", "STI", ",", "MCInst", "&", "Res", ")", "const", "override", "{", "llvm_unreachable", "(", "", ")", ";"], "ground_truth": ["}"], "File": "CJGAsmBackend", "Func": "relaxInstruction", "Target": "CJG", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 58640, "Length": 26, "Cover_Rate": 1.0} {"Template_token": ["", "void", "relaxInstruction", "(", "const", "MCInst", "&", "Inst", ",", "const", "MCSubtargetInfo", "&", "STI", ",", "MCInst", "&", "Res", ")", "const", "override", "{", "llvm_unreachable", "(", "", ")", ";"], "ground_truth": ["}"], "File": "CJGAsmBackend", "Func": "relaxInstruction", "Target": "CJG", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 58641, "Length": 26, "Cover_Rate": 1.0} {"Template_token": ["", "if", "(", "Count", "==", "", ")", "{", "return", "true", ";", "}"], "ground_truth": ["return", "false", ";"], "File": "CJGAsmBackend", "Func": "writeNopData", "Target": "CJG", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 58642, "Length": 14, "Cover_Rate": 0.4827586206896552} {"Template_token": ["", "~", "AsmBackend", "(", ")", "{"], "ground_truth": ["}"], "File": "CJGAsmBackend", "Func": "~CJGAsmBackend", "Target": "CJG", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 58643, "Length": 6, "Cover_Rate": 1.0} {"Template_token": ["", "~", "AsmBackend", "(", ")", "{"], "ground_truth": ["}"], "File": "CJGAsmBackend", "Func": "~CJGAsmBackend", "Target": "CJG", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 58644, "Length": 6, "Cover_Rate": 1.0} {"Template_token": ["", "explicit", "AsmPrinter", "(", "TargetMachine", "&", "TM", ",", "std", "::", "unique_ptr", "<", "MCStreamer", ">", "Streamer", ")", ":", "AsmPrinter", "(", "TM", ",", "std", "::", "move", "(", "Streamer", ")", ")", ",", "MCInstLowering", "(", "OutContext", ",", "*", "this", ")", "{"], "ground_truth": ["}"], "File": "CJGAsmPrinter", "Func": "CJGAsmPrinter", "Target": "CJG", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 58645, "Length": 37, "Cover_Rate": 1.0} {"Template_token": ["", "explicit", "AsmPrinter", "(", "TargetMachine", "&", "TM", ",", "std", "::", "unique_ptr", "<", "MCStreamer", ">", "Streamer", ")", ":", "AsmPrinter", "(", "TM", ",", "std", "::", "move", "(", "Streamer", ")", ")", ",", "MCInstLowering", "(", "OutContext", ",", "*", "this", ")", "{"], "ground_truth": ["}"], "File": "CJGAsmPrinter", "Func": "CJGAsmPrinter", "Target": "CJG", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 58646, "Length": 37, "Cover_Rate": 1.0} {"Template_token": ["", "void", "AsmPrinter", "::", "EmitFunctionBodyStart", "(", ")", "{"], "ground_truth": ["}"], "File": "CJGAsmPrinter", "Func": "EmitFunctionBodyStart", "Target": "CJG", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 58647, "Length": 8, "Cover_Rate": 1.0} {"Template_token": ["", "void", "AsmPrinter", "::", "EmitFunctionBodyStart", "(", ")", "{"], "ground_truth": ["}"], "File": "CJGAsmPrinter", "Func": "EmitFunctionBodyStart", "Target": "CJG", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 58648, "Length": 8, "Cover_Rate": 1.0} {"Template_token": ["", "MCInstLowering", ".", "Lower", "(", "MI", ",", "TmpInst", ")", ";"], "ground_truth": ["EmitToStreamer", "(", "*", "OutStreamer", ",", "TmpInst", ")", ";"], "File": "CJGAsmPrinter", "Func": "EmitInstruction", "Target": "CJG", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 58651, "Length": 17, "Cover_Rate": 0.53125} {"Template_token": ["", "void", "AsmPrinter", "::", "EmitInstruction", "(", "const", "MachineInstr", "*", "MI", ")", "{", "MCInst", "TmpInst", ";"], "ground_truth": ["MCInstLowering", ".", "Lower", "(", "MI", ",", "TmpInst", ")", ";"], "File": "CJGAsmPrinter", "Func": "EmitInstruction", "Target": "CJG", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 58652, "Length": 23, "Cover_Rate": 0.71875} {"Template_token": ["", "return", "StringRef", "(", "", ")", ";"], "ground_truth": ["}"], "File": "CJGAsmPrinter", "Func": "getPassName", "Target": "CJG", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 58653, "Length": 7, "Cover_Rate": 0.5} {"Template_token": ["", "ELFObjectWriter", "::", "ELFObjectWriter", "(", "uint8_t", "OSABI", ")", ":", "MCELFObjectTargetWriter", "(", "false", ",", "OSABI", ",", "ELF", "::", "EM_", ",", "false", ")", "{"], "ground_truth": ["}"], "File": "CJGELFObjectWriter", "Func": "CJGELFObjectWriter", "Target": "CJG", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 58656, "Length": 22, "Cover_Rate": 1.0} {"Template_token": ["", "ELFObjectWriter", "::", "ELFObjectWriter", "(", "uint8_t", "OSABI", ")", ":", "MCELFObjectTargetWriter", "(", "false", ",", "OSABI", ",", "ELF", "::", "EM_", ",", "false", ")", "{"], "ground_truth": ["}"], "File": "CJGELFObjectWriter", "Func": "CJGELFObjectWriter", "Target": "CJG", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 58657, "Length": 22, "Cover_Rate": 1.0} {"Template_token": ["", "MCObjectWriter", "*", "llvm", "::", "createELFObjectWriter", "(", "raw_pwrite_stream", "&", "OS", ",", "uint8_t", "OSABI", ")", "{"], "ground_truth": ["MCELFObjectTargetWriter", "*", "MOTW", "=", "new", "ELFObjectWriter", "(", "OSABI", ")", ";"], "File": "CJGELFObjectWriter", "Func": "createCJGELFObjectWriter", "Target": "CJG", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 58658, "Length": 24, "Cover_Rate": 0.6857142857142857} {"Template_token": ["", "return", "createELFObjectWriter", "(", "MOTW", ",", "OS", ",", "true", ")", ";"], "ground_truth": ["}"], "File": "CJGELFObjectWriter", "Func": "createCJGELFObjectWriter", "Target": "CJG", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 58659, "Length": 11, "Cover_Rate": 0.3142857142857143} {"Template_token": ["", "unsigned", "ELFObjectWriter", "::", "getRelocType", "(", "MCContext", "&", "Ctx", ",", "const", "MCValue", "&", "Target", ",", "const", "MCFixup", "&", "Fixup", ",", "bool", "IsPCRel", ")", "const", "{", "llvm_unreachable", "(", "", ")", ";"], "ground_truth": ["}"], "File": "CJGELFObjectWriter", "Func": "getRelocType", "Target": "CJG", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 58660, "Length": 30, "Cover_Rate": 1.0} {"Template_token": ["", "ELFObjectWriter", "::", "~", "ELFObjectWriter", "(", ")", "{"], "ground_truth": ["}"], "File": "CJGELFObjectWriter", "Func": "~CJGELFObjectWriter", "Target": "CJG", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 58661, "Length": 8, "Cover_Rate": 1.0} {"Template_token": ["", "ELFObjectWriter", "::", "~", "ELFObjectWriter", "(", ")", "{"], "ground_truth": ["}"], "File": "CJGELFObjectWriter", "Func": "~CJGELFObjectWriter", "Target": "CJG", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 58662, "Length": 8, "Cover_Rate": 1.0} {"Template_token": ["", "FrameLowering", "::", "FrameLowering", "(", "const", "Subtarget", "&", "STI", ")", ":", "TargetFrameLowering", "(", "TargetFrameLowering", "::", "StackGrowsUp", ",", "", ",", "", ")", "{"], "ground_truth": ["}"], "File": "CJGFrameLowering", "Func": "CJGFrameLowering", "Target": "CJG", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 58663, "Length": 22, "Cover_Rate": 1.0} {"Template_token": ["", "FrameLowering", "::", "FrameLowering", "(", "const", "Subtarget", "&", "STI", ")", ":", "TargetFrameLowering", "(", "TargetFrameLowering", "::", "StackGrowsUp", ",", "", ",", "", ")", "{"], "ground_truth": ["}"], "File": "CJGFrameLowering", "Func": "CJGFrameLowering", "Target": "CJG", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 58664, "Length": 22, "Cover_Rate": 1.0} {"Template_token": ["", "Amount", "=", "(", "Amount", "+", "StackAlign", "-", "", ")", "/", "StackAlign", "*", "StackAlign", ";", "MachineInstr", "*", "New", "=", "nullptr", ";", "if", "(", "Old", ".", "getOpcode", "(", ")", "==", "TII", ".", "getCallFrameSetupOpcode", "(", ")", ")", "{", "New", "=", "BuildMI", "(", "MF", ",", "Old", ".", "getDebugLoc", "(", ")", ",", "TII", ".", "get", "(", "", ")", ",", "", ")", ".", "addReg", "(", "", ")", ".", "addImm", "(", "Amount", ")", ";", "}", "else", "{", "assert", "(", "Old", ".", "getOpcode", "(", ")", "==", "TII", ".", "getCallFrameDestroyOpcode", "(", ")", ")", ";", "uint64_t", "CalleeAmt", "=", "Old", ".", "getOperand", "(", "", ")", ".", "getImm", "(", ")", ";", "Amount", "-=", "CalleeAmt", ";", "if", "(", "Amount", ")", "New", "=", "BuildMI", "(", "MF", ",", "Old", ".", "getDebugLoc", "(", ")", ",", "TII", ".", "get", "(", "", ")", ",", "", ")", ".", "addReg", "(", "", ")", ".", "addImm", "(", "Amount", ")", ";", "}"], "ground_truth": ["if", "(", "New", ")", "{"], "File": "CJGFrameLowering", "Func": "eliminateCallFramePseudoInstr", "Target": "CJG", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 58665, "Length": 145, "Cover_Rate": 0.3805774278215223} {"Template_token": ["", "void", "FrameLowering", "::", "emitEpilogue", "(", "MachineFunction", "&", "MF", ",", "MachineBasicBlock", "&", "MBB", ")", "const", "{"], "ground_truth": ["}"], "File": "CJGFrameLowering", "Func": "emitEpilogue", "Target": "CJG", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 58666, "Length": 16, "Cover_Rate": 1.0} {"Template_token": ["", "void", "FrameLowering", "::", "emitEpilogue", "(", "MachineFunction", "&", "MF", ",", "MachineBasicBlock", "&", "MBB", ")", "const", "{"], "ground_truth": ["}"], "File": "CJGFrameLowering", "Func": "emitEpilogue", "Target": "CJG", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 58667, "Length": 16, "Cover_Rate": 1.0} {"Template_token": ["", "void", "FrameLowering", "::", "emitPrologue", "(", "MachineFunction", "&", "MF", ",", "MachineBasicBlock", "&", "MBB", ")", "const", "{"], "ground_truth": ["}"], "File": "CJGFrameLowering", "Func": "emitPrologue", "Target": "CJG", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 58668, "Length": 16, "Cover_Rate": 1.0} {"Template_token": ["", "void", "FrameLowering", "::", "emitPrologue", "(", "MachineFunction", "&", "MF", ",", "MachineBasicBlock", "&", "MBB", ")", "const", "{"], "ground_truth": ["}"], "File": "CJGFrameLowering", "Func": "emitPrologue", "Target": "CJG", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 58669, "Length": 16, "Cover_Rate": 1.0} {"Template_token": ["", "bool", "FrameLowering", "::", "hasFP", "(", "const", "MachineFunction", "&", "MF", ")", "const", "{"], "ground_truth": ["return", "true", ";"], "File": "CJGFrameLowering", "Func": "hasFP", "Target": "CJG", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 58670, "Length": 15, "Cover_Rate": 0.9375} {"Template_token": ["", "bool", "FrameLowering", "::", "hasReservedCallFrame", "(", "const", "MachineFunction", "&", "MF", ")", "const", "{", "return", "!", "MF", ".", "getFrameInfo", "(", ")", ".", "hasVarSizedObjects", "(", ")", ";"], "ground_truth": ["}"], "File": "CJGFrameLowering", "Func": "hasReservedCallFrame", "Target": "CJG", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 58672, "Length": 25, "Cover_Rate": 1.0} {"Template_token": ["", "if", "(", "hasFP", "(", "MF", ")", ")", "{", "int", "FrameIdx", "=", "MF", ".", "getFrameInfo", "(", ")", ".", "CreateFixedObject", "(", "", ",", "-", "", ",", "true", ")", ";"], "ground_truth": ["(", "void", ")", "FrameIdx", ";"], "File": "CJGFrameLowering", "Func": "processFunctionBeforeFrameFinalized", "Target": "CJG", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 58673, "Length": 32, "Cover_Rate": 0.49230769230769234} {"Template_token": ["", "DebugLoc", "DL", ";", "if", "(", "MI", "!=", "MBB", ".", "end", "(", ")", ")", "DL", "=", "MI", "->", "getDebugLoc", "(", ")", ";", "MachineFunction", "&", "MF", "=", "*", "MBB", ".", "getParent", "(", ")", ";", "const", "TargetInstrInfo", "&", "TII", "=", "*", "MF", ".", "getSubtarget", "(", ")", ".", "getInstrInfo", "(", ")", ";", "for", "(", "unsigned", "i", "=", "", ",", "e", "=", "CSI", ".", "size", "(", ")", ";", "i", "!=", "e", ";", "++", "i", ")", "BuildMI", "(", "MBB", ",", "MI", ",", "DL", ",", "TII", ".", "get", "(", "", ")", ",", "CSI", "[", "i", "]", ".", "getReg", "(", ")", ")", ";"], "ground_truth": ["return", "true", ";"], "File": "CJGFrameLowering", "Func": "restoreCalleeSavedRegisters", "Target": "CJG", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 58674, "Length": 98, "Cover_Rate": 0.6853146853146853} {"Template_token": ["", "MachineFunction", "&", "MF", "=", "*", "MBB", ".", "getParent", "(", ")", ";", "const", "TargetInstrInfo", "&", "TII", "=", "*", "MF", ".", "getSubtarget", "(", ")", ".", "getInstrInfo", "(", ")", ";", "MachineFunctionInfo", "*", "MFI", "=", "MF", ".", "getInfo", "<", "MachineFunctionInfo", ">", "(", ")", ";", "MFI", "->", "setCalleeSavedFrameSize", "(", "CSI", ".", "size", "(", ")", "*", "", ")", ";", "for", "(", "unsigned", "i", "=", "CSI", ".", "size", "(", ")", ";", "i", "!=", "", ";", "--", "i", ")", "{", "unsigned", "Reg", "=", "CSI", "[", "i", "-", "", "]", ".", "getReg", "(", ")", ";", "MBB", ".", "addLiveIn", "(", "Reg", ")", ";", "BuildMI", "(", "MBB", ",", "MI", ",", "DL", ",", "TII", ".", "get", "(", "", ")", ")", ".", "addReg", "(", "Reg", ",", "RegState", "::", "Kill", ")", ";", "}"], "ground_truth": ["return", "true", ";"], "File": "CJGFrameLowering", "Func": "spillCalleeSavedRegisters", "Target": "CJG", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 58675, "Length": 122, "Cover_Rate": 0.648936170212766} {"Template_token": ["", "const", "TargetInstrInfo", "&", "TII", "=", "*", "MF", ".", "getSubtarget", "(", ")", ".", "getInstrInfo", "(", ")", ";", "MachineFunctionInfo", "*", "MFI", "=", "MF", ".", "getInfo", "<", "MachineFunctionInfo", ">", "(", ")", ";", "MFI", "->", "setCalleeSavedFrameSize", "(", "CSI", ".", "size", "(", ")", "*", "", ")", ";", "for", "(", "unsigned", "i", "=", "CSI", ".", "size", "(", ")", ";", "i", "!=", "", ";", "--", "i", ")", "{", "unsigned", "Reg", "=", "CSI", "[", "i", "-", "", "]", ".", "getReg", "(", ")", ";", "MBB", ".", "addLiveIn", "(", "Reg", ")", ";", "BuildMI", "(", "MBB", ",", "MI", ",", "DL", ",", "TII", ".", "get", "(", "", ")", ")", ".", "addReg", "(", "Reg", ",", "RegState", "::", "Kill", ")", ";", "}", "return", "true", ";"], "ground_truth": ["}"], "File": "CJGFrameLowering", "Func": "spillCalleeSavedRegisters", "Target": "CJG", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 58676, "Length": 112, "Cover_Rate": 0.5957446808510638} {"Template_token": ["", "static", "int", "stackSlotSize", "(", ")", "{"], "ground_truth": ["return", "", ";"], "File": "CJGFrameLowering", "Func": "stackSlotSize", "Target": "CJG", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 58677, "Length": 9, "Cover_Rate": 0.9} {"Template_token": ["", "return", "", ";"], "ground_truth": ["}"], "File": "CJGFrameLowering", "Func": "stackSlotSize", "Target": "CJG", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 58678, "Length": 4, "Cover_Rate": 0.4} {"Template_token": ["", "InstPrinter", "(", "const", "MCAsmInfo", "&", "MAI", ",", "const", "MCInstrInfo", "&", "MII", ",", "const", "MCRegisterInfo", "&", "MRI", ")", ":", "MCInstPrinter", "(", "MAI", ",", "MII", ",", "MRI", ")", "{"], "ground_truth": ["}"], "File": "CJGInstPrinter", "Func": "CJGInstPrinter", "Target": "CJG", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 58679, "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": "CJGInstPrinter", "Func": "CJGInstPrinter", "Target": "CJG", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 58680, "Length": 28, "Cover_Rate": 1.0} {"Template_token": ["", "void", "InstPrinter", "::", "printInst", "(", "const", "MCInst", "*", "MI", ",", "raw_ostream", "&", "O", ",", "StringRef", "Annot", ",", "const", "MCSubtargetInfo", "&", "STI", ")", "{"], "ground_truth": ["printInstruction", "(", "MI", ",", "O", ")", ";"], "File": "CJGInstPrinter", "Func": "printInst", "Target": "CJG", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 58681, "Length": 30, "Cover_Rate": 0.7894736842105263} {"Template_token": ["", "printInstruction", "(", "MI", ",", "O", ")", ";"], "ground_truth": ["printAnnotation", "(", "O", ",", "Annot", ")", ";"], "File": "CJGInstPrinter", "Func": "printInst", "Target": "CJG", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 58682, "Length": 14, "Cover_Rate": 0.3684210526315789} {"Template_token": ["", "O", "<<", "", ";", "printRegName", "(", "O", ",", "BaseAddr", ".", "getReg", "(", ")", ")", ";", "unsigned", "OffsetVal", "=", "Offset", ".", "getImm", "(", ")", ";", "if", "(", "OffsetVal", ")", "{", "O", "<<", "", "<<", "Offset", ".", "getImm", "(", ")", ";", "}"], "ground_truth": ["O", "<<", "", ";"], "File": "CJGInstPrinter", "Func": "printMemSrcOperand", "Target": "CJG", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 58683, "Length": 44, "Cover_Rate": 0.44} {"Template_token": ["", "O", "<<", "Op", ".", "getImm", "(", ")", ";", "return", ";", "}", "if", "(", "Op", ".", "isExpr", "(", ")", ")", "{", "Op", ".", "getExpr", "(", ")", "->", "print", "(", "O", ",", "&", "MAI", ")", ";", "return", ";", "}", "llvm_unreachable", "(", "", ")", ";"], "ground_truth": ["}"], "File": "CJGInstPrinter", "Func": "printOperand", "Target": "CJG", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 58684, "Length": 43, "Cover_Rate": 0.4095238095238095} {"Template_token": ["", "if", "(", "Op", ".", "isReg", "(", ")", ")", "{", "printRegName", "(", "O", ",", "Op", ".", "getReg", "(", ")", ")", ";", "return", ";", "}", "if", "(", "Op", ".", "isImm", "(", ")", ")", "{", "O", "<<", "Op", ".", "getImm", "(", ")", ";", "return", ";", "}", "if", "(", "Op", ".", "isExpr", "(", ")", ")", "{", "Op", ".", "getExpr", "(", ")", "->", "print", "(", "O", ",", "&", "MAI", ")", ";"], "ground_truth": ["return", ";"], "File": "CJGInstPrinter", "Func": "printOperand", "Target": "CJG", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 58685, "Length": 68, "Cover_Rate": 0.6476190476190476} {"Template_token": ["", "I", "=", "MBB", ".", "end", "(", ")", ";", "continue", ";", "}", "TBB", "=", "I", "->", "getOperand", "(", "", ")", ".", "getMBB", "(", ")", ";", "continue", ";", "}", "assert", "(", "I", "->", "getOpcode", "(", ")", "==", "", "&&", "", ")", ";", "", "BranchCode", "=", "static_cast", "<", "", ">", "(", "I", "->", "getOperand", "(", "", ")", ".", "getImm", "(", ")", ")", ";", "if", "(", "BranchCode", "==", "", ")", "return", "true", ";", "if", "(", "Cond", ".", "empty", "(", ")", ")", "{", "FBB", "=", "TBB", ";", "TBB", "=", "I", "->", "getOperand", "(", "", ")", ".", "getMBB", "(", ")", ";", "Cond", ".", "push_back", "(", "MachineOperand", "::", "CreateImm", "(", "BranchCode", ")", ")", ";", "continue", ";", "}", "assert", "(", "Cond", ".", "size", "(", ")", "==", "", ")", ";", "assert", "(", "TBB", ")", ";", "if", "(", "TBB", "!=", "I", "->", "getOperand", "(", "", ")", ".", "getMBB", "(", ")", ")", "return", "true", ";", "", "OldBranchCode", "=", "(", "", ")", "Cond", "[", "", "]", ".", "getImm", "(", ")", ";", "if", "(", "OldBranchCode", "==", "BranchCode", ")", "continue", ";", "return", "true", ";", "}"], "ground_truth": ["return", "false", ";"], "File": "CJGInstrInfo", "Func": "analyzeBranch", "Target": "CJG", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 58688, "Length": 174, "Cover_Rate": 0.4627659574468085} {"Template_token": ["", "void", "InstrInfo", "::", "anchor", "(", ")", "{"], "ground_truth": ["}"], "File": "CJGInstrInfo", "Func": "anchor", "Target": "CJG", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 58689, "Length": 8, "Cover_Rate": 1.0} {"Template_token": ["", "void", "InstrInfo", "::", "anchor", "(", ")", "{"], "ground_truth": ["}"], "File": "CJGInstrInfo", "Func": "anchor", "Target": "CJG", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 58690, "Length": 8, "Cover_Rate": 1.0} {"Template_token": ["", "InstrInfo", "::", "InstrInfo", "(", ")", ":", "GenInstrInfo", "(", ")", ",", "RI", "(", ")", "{"], "ground_truth": ["}"], "File": "CJGInstrInfo", "Func": "CJGInstrInfo", "Target": "CJG", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 58691, "Length": 15, "Cover_Rate": 1.0} {"Template_token": ["", "InstrInfo", "::", "InstrInfo", "(", ")", ":", "GenInstrInfo", "(", ")", ",", "RI", "(", ")", "{"], "ground_truth": ["}"], "File": "CJGInstrInfo", "Func": "CJGInstrInfo", "Target": "CJG", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 58692, "Length": 15, "Cover_Rate": 1.0} {"Template_token": ["", "if", "(", "", ".", "contains", "(", "DestReg", ",", "SrcReg", ")", ")", "{", "BuildMI", "(", "MBB", ",", "I", ",", "DL", ",", "get", "(", "", ")", ",", "DestReg", ")", ".", "addReg", "(", "SrcReg", ",", "getKillRegState", "(", "KillSrc", ")", ")", ";", "}", "else", "{"], "ground_truth": ["llvm_unreachable", "(", "", ")", ";"], "File": "CJGInstrInfo", "Func": "copyPhysReg", "Target": "CJG", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 58693, "Length": 46, "Cover_Rate": 0.5609756097560976} {"Template_token": ["", "if", "(", "", ".", "contains", "(", "DestReg", ",", "SrcReg", ")", ")", "{", "BuildMI", "(", "MBB", ",", "I", ",", "DL", ",", "get", "(", "", ")", ",", "DestReg", ")", ".", "addReg", "(", "SrcReg", ",", "getKillRegState", "(", "KillSrc", ")", ")", ";", "}", "else", "{", "llvm_unreachable", "(", "", ")", ";", "}"], "ground_truth": ["}"], "File": "CJGInstrInfo", "Func": "copyPhysReg", "Target": "CJG", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 58694, "Length": 48, "Cover_Rate": 0.5853658536585366} {"Template_token": ["", "unsigned", "Count", "=", "", ";", "BuildMI", "(", "&", "MBB", ",", "DL", ",", "get", "(", "", ")", ")", ".", "addMBB", "(", "TBB", ")", ".", "addImm", "(", "Cond", "[", "", "]", ".", "getImm", "(", ")", ")", ";", "++", "Count", ";", "if", "(", "FBB", ")", "{", "BuildMI", "(", "&", "MBB", ",", "DL", ",", "get", "(", "", ")", ")", ".", "addMBB", "(", "FBB", ")", ";", "++", "Count", ";"], "ground_truth": ["}"], "File": "CJGInstrInfo", "Func": "insertBranch", "Target": "CJG", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 58697, "Length": 65, "Cover_Rate": 0.34946236559139787} {"Template_token": ["", "if", "(", "!", "MI", ".", "isTerminator", "(", ")", ")", "return", "false", ";", "if", "(", "MI", ".", "isBranch", "(", ")", "&&", "!", "MI", ".", "isBarrier", "(", ")", ")", "return", "true", ";", "if", "(", "!", "MI", ".", "isPredicable", "(", ")", ")", "return", "true", ";", "return", "!", "isPredicated", "(", "MI", ")", ";"], "ground_truth": ["}"], "File": "CJGInstrInfo", "Func": "isUnpredicatedTerminator", "Target": "CJG", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 58698, "Length": 50, "Cover_Rate": 0.8064516129032258} {"Template_token": ["", "if", "(", "!", "MI", ".", "isTerminator", "(", ")", ")", "return", "false", ";"], "ground_truth": ["if", "(", "MI", ".", "isBranch", "(", ")", "&&", "!", "MI", ".", "isBarrier", "(", ")", ")", "return", "true", ";"], "File": "CJGInstrInfo", "Func": "isUnpredicatedTerminator", "Target": "CJG", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 58699, "Length": 30, "Cover_Rate": 0.4838709677419355} {"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", "(", ")", ";"], "ground_truth": ["BuildMI", "(", "MBB", ",", "MI", ",", "DL", ",", "get", "(", "", ")", ")", ".", "addReg", "(", "DestReg", ",", "getDefRegState", "(", "true", ")", ")", ";"], "File": "CJGInstrInfo", "Func": "loadRegFromStackSlot", "Target": "CJG", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 58700, "Length": 98, "Cover_Rate": 0.9702970297029703} {"Template_token": ["", "if", "(", "MI", "!=", "MBB", ".", "end", "(", ")", ")", "DL", "=", "MI", "->", "getDebugLoc", "(", ")", ";", "MachineFunction", "&", "MF", "=", "*", "MBB", ".", "getParent", "(", ")", ";", "MachineFrameInfo", "&", "MFI", "=", "MF", ".", "getFrameInfo", "(", ")", ";", "BuildMI", "(", "MBB", ",", "MI", ",", "DL", ",", "get", "(", "", ")", ")", ".", "addReg", "(", "DestReg", ",", "getDefRegState", "(", "true", ")", ")", ";"], "ground_truth": ["}"], "File": "CJGInstrInfo", "Func": "loadRegFromStackSlot", "Target": "CJG", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 58701, "Length": 64, "Cover_Rate": 0.6336633663366337} {"Template_token": ["", "MachineBasicBlock", "::", "iterator", "I", "=", "MBB", ".", "end", "(", ")", ";", "unsigned", "Count", "=", "", ";", "while", "(", "I", "!=", "MBB", ".", "begin", "(", ")", ")", "{", "--", "I", ";", "if", "(", "I", "->", "isDebugValue", "(", ")", ")", "continue", ";", "if", "(", "I", "->", "getOpcode", "(", ")", "!=", "", "&&", "I", "->", "getOpcode", "(", ")", "!=", "", ")", "break", ";", "I", "->", "eraseFromParent", "(", ")", ";", "I", "=", "MBB", ".", "end", "(", ")", ";", "++", "Count", ";", "}", "return", "Count", ";"], "ground_truth": ["}"], "File": "CJGInstrInfo", "Func": "removeBranch", "Target": "CJG", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 58702, "Length": 82, "Cover_Rate": 0.7522935779816514} {"Template_token": ["", "", "CC", "=", "static_cast", "<", "", ">", "(", "Cond", "[", "", "]", ".", "getImm", "(", ")", ")", ";", "switch", "(", "CC", ")", "{", "default", ":", "llvm_unreachable", "(", "", ")", ";", "case", "", ":", "CC", "=", "", ";", "break", ";", "case", "", ":", "CC", "=", "", ";", "break", ";", "case", "", ":", "CC", "=", "", ";", "break", ";", "case", "", ":", "CC", "=", "", ";", "break", ";"], "ground_truth": ["case", "", ":"], "File": "CJGInstrInfo", "Func": "reverseBranchCondition", "Target": "CJG", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 58703, "Length": 69, "Cover_Rate": 0.33495145631067963} {"Template_token": ["", "DebugLoc", "DL", ";", "if", "(", "MI", "!=", "MBB", ".", "end", "(", ")", ")", "DL", "=", "MI", "->", "getDebugLoc", "(", ")", ";"], "ground_truth": ["MachineFunction", "&", "MF", "=", "*", "MBB", ".", "getParent", "(", ")", ";"], "File": "CJGInstrInfo", "Func": "storeRegToStackSlot", "Target": "CJG", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 58705, "Length": 32, "Cover_Rate": 0.3076923076923077} {"Template_token": ["", "explicit", "DAGToDAGISel", "(", "TargetMachine", "&", "TM", ",", "CodeGenOpt", "::", "Level", "OptLevel", ")", ":", "SelectionDAGISel", "(", "TM", ",", "OptLevel", ")", "{"], "ground_truth": ["}"], "File": "CJGISelDAGToDAG", "Func": "CJGDAGToDAGISel", "Target": "CJG", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 58706, "Length": 21, "Cover_Rate": 1.0} {"Template_token": ["", "explicit", "DAGToDAGISel", "(", "TargetMachine", "&", "TM", ",", "CodeGenOpt", "::", "Level", "OptLevel", ")", ":", "SelectionDAGISel", "(", "TM", ",", "OptLevel", ")", "{"], "ground_truth": ["}"], "File": "CJGISelDAGToDAG", "Func": "CJGDAGToDAGISel", "Target": "CJG", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 58707, "Length": 21, "Cover_Rate": 1.0} {"Template_token": ["", "FunctionPass", "*", "llvm", "::", "createISelDag", "(", "TargetMachine", "&", "TM", ",", "CodeGenOpt", "::", "Level", "OptLevel", ")", "{"], "ground_truth": ["return", "new", "DAGToDAGISel", "(", "TM", ",", "OptLevel", ")", ";"], "File": "CJGISelDAGToDAG", "Func": "createCJGISelDag", "Target": "CJG", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 58708, "Length": 25, "Cover_Rate": 0.9615384615384616} {"Template_token": ["", "FunctionPass", "*", "llvm", "::", "createISelDag", "(", "TargetMachine", "&", "TM", ",", "CodeGenOpt", "::", "Level", "OptLevel", ")", "{", "return", "new", "DAGToDAGISel", "(", "TM", ",", "OptLevel", ")", ";"], "ground_truth": ["}"], "File": "CJGISelDAGToDAG", "Func": "createCJGISelDag", "Target": "CJG", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 58709, "Length": 26, "Cover_Rate": 1.0} {"Template_token": ["", "return", "", ";"], "ground_truth": ["}"], "File": "CJGISelDAGToDAG", "Func": "getPassName", "Target": "CJG", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 58710, "Length": 4, "Cover_Rate": 0.36363636363636365} {"Template_token": ["", "return", "", ";"], "ground_truth": ["}"], "File": "CJGISelDAGToDAG", "Func": "getPassName", "Target": "CJG", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 58711, "Length": 4, "Cover_Rate": 0.36363636363636365} {"Template_token": ["", "if", "(", "Node", "->", "isMachineOpcode", "(", ")", ")", "{", "DEBUG", "(", "errs", "(", ")", "<<", "", ";", "Node", "->", "dump", "(", "CurDAG", ")", ";", "errs", "(", ")", "<<", "", ")", ";", "Node", "->", "setNodeId", "(", "-", "", ")", ";", "return", ";", "}", "SDLoc", "dl", "(", "Node", ")", ";", "switch", "(", "Node", "->", "getOpcode", "(", ")", ")", "{", "default", ":", "break", ";", "case", "", ":", "{", "assert", "(", "Node", "->", "getValueType", "(", "", ")", "==", "", ")", ";", "int", "FI", "=", "cast", "<", "FrameIndexSDNode", ">", "(", "Node", ")", "->", "getIndex", "(", ")", ";", "SDValue", "TFI", "=", "CurDAG", "->", "getTargetFrameIndex", "(", "FI", ",", "", ")", ";", "if", "(", "Node", "->", "hasOneUse", "(", ")", ")", "{", "CurDAG", "->", "SelectNodeTo", "(", "Node", ",", "", ",", "", ",", "TFI", ",", "CurDAG", "->", "getTargetConstant", "(", "", ",", "dl", ",", "", ")", ")", ";", "return", ";", "}", "ReplaceNode", "(", "Node", ",", "CurDAG", "->", "getMachineNode", "(", "", ",", "dl", ",", "", ",", "TFI", ",", "CurDAG", "->", "getTargetConstant", "(", "", ",", "dl", ",", "", ")", ")", ")", ";", "return", ";", "}"], "ground_truth": ["}"], "File": "CJGISelDAGToDAG", "Func": "Select", "Target": "CJG", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 58712, "Length": 173, "Cover_Rate": 0.7554585152838428} {"Template_token": ["", "else", "{", "BaseAddr", "=", "Addr", ";", "}", "if", "(", "Addr", ".", "getOpcode", "(", ")", "==", "", "||", "Addr", ".", "getOpcode", "(", ")", "==", "", "||", "Addr", ".", "getOpcode", "(", ")", "==", "", ")", "{", "return", "false", ";", "}", "if", "(", "CurDAG", "->", "isBaseWithConstantOffset", "(", "Addr", ")", ")", "{", "ConstantSDNode", "*", "CN", "=", "dyn_cast", "<", "ConstantSDNode", ">", "(", "Addr", ".", "getOperand", "(", "", ")", ")", ";", "Offset", "=", "CurDAG", "->", "getTargetConstant", "(", "CN", "->", "getZExtValue", "(", ")", ",", "Addr", ",", "", ")", ";", "}"], "ground_truth": ["else", "{"], "File": "CJGISelDAGToDAG", "Func": "SelectAddr", "Target": "CJG", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 58713, "Length": 85, "Cover_Rate": 0.4358974358974359} {"Template_token": ["", "if", "(", "State", ".", "isVarArg", "(", ")", ")", "{", "llvm_unreachable", "(", "", ")", ";", "}", "SmallVector", "<", "unsigned", ",", "", ">", "ArgsParts", ";", "ParseFunctionArgs", "(", "Args", ",", "ArgsParts", ")", ";", "unsigned", "RegsLeft", "=", "NbRegs", ";", "bool", "UseStack", "=", "false", ";", "unsigned", "ValNo", "=", "", ";", "for", "(", "unsigned", "i", "=", "", ",", "e", "=", "ArgsParts", ".", "size", "(", ")", ";", "i", "!=", "e", ";", "i", "++", ")", "{", "MVT", "ArgVT", "=", "Args", "[", "ValNo", "]", ".", "VT", ";", "", "ArgFlags", "=", "Args", "[", "ValNo", "]", ".", "Flags", ";", "MVT", "LocVT", "=", "ArgVT", ";", "CCValAssign", "::", "LocInfo", "LocInfo", "=", "CCValAssign", "::", "Full", ";", "if", "(", "ArgFlags", ".", "isByVal", "(", ")", ")", "{", "State", ".", "HandleByVal", "(", "ValNo", "++", ",", "ArgVT", ",", "LocVT", ",", "LocInfo", ",", "", ",", "", ",", "ArgFlags", ")", ";", "continue", ";", "}", "unsigned", "Parts", "=", "ArgsParts", "[", "i", "]", ";"], "ground_truth": ["if", "(", "!", "UseStack", "&&", "Parts", "<=", "RegsLeft", ")", "{"], "File": "CJGISelLowering", "Func": "AnalyzeArguments", "Target": "CJG", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 58714, "Length": 152, "Cover_Rate": 0.43304843304843305} {"Template_token": ["", "SmallVector", "<", "unsigned", ",", "", ">", "ArgsParts", ";", "ParseFunctionArgs", "(", "Args", ",", "ArgsParts", ")", ";", "unsigned", "RegsLeft", "=", "NbRegs", ";", "bool", "UseStack", "=", "false", ";", "unsigned", "ValNo", "=", "", ";", "for", "(", "unsigned", "i", "=", "", ",", "e", "=", "ArgsParts", ".", "size", "(", ")", ";", "i", "!=", "e", ";", "i", "++", ")", "{", "MVT", "ArgVT", "=", "Args", "[", "ValNo", "]", ".", "VT", ";", "", "ArgFlags", "=", "Args", "[", "ValNo", "]", ".", "Flags", ";", "MVT", "LocVT", "=", "ArgVT", ";", "CCValAssign", "::", "LocInfo", "LocInfo", "=", "CCValAssign", "::", "Full", ";", "if", "(", "ArgFlags", ".", "isByVal", "(", ")", ")", "{", "State", ".", "HandleByVal", "(", "ValNo", "++", ",", "ArgVT", ",", "LocVT", ",", "LocInfo", ",", "", ",", "", ",", "ArgFlags", ")", ";", "continue", ";", "}"], "ground_truth": ["unsigned", "Parts", "=", "ArgsParts", "[", "i", "]", ";"], "File": "CJGISelLowering", "Func": "AnalyzeArguments", "Target": "CJG", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 58715, "Length": 127, "Cover_Rate": 0.36182336182336183} {"Template_token": ["", "static", "void", "AnalyzeRetResult", "(", "CCState", "&", "State", ",", "const", "SmallVectorImpl", "<", "", ">", "&", "Outs", ")", "{", "State", ".", "AnalyzeReturn", "(", "Outs", ",", "RetCC_", ")", ";"], "ground_truth": ["}"], "File": "CJGISelLowering", "Func": "AnalyzeRetResult", "Target": "CJG", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 58717, "Length": 27, "Cover_Rate": 0.9310344827586207} {"Template_token": ["", "setOperationAction", "(", "", ",", "", ",", "Custom", ")", ";", "setOperationAction", "(", "", ",", "", ",", "Custom", ")", ";", "for", "(", "MVT", "VT", ":", "", "(", ")", ")", "{", "for", "(", "auto", "N", ":", "{", "", ",", "", ",", "", "}", ")", "{", "setLoadExtAction", "(", "N", ",", "VT", ",", "", ",", "Promote", ")", ";", "setLoadExtAction", "(", "N", ",", "VT", ",", "", ",", "Custom", ")", ";", "setLoadExtAction", "(", "N", ",", "VT", ",", "", ",", "Custom", ")", ";", "}", "}"], "ground_truth": ["}"], "File": "CJGISelLowering", "Func": "CJGTargetLowering", "Target": "CJG", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 58719, "Length": 78, "Cover_Rate": 0.3577981651376147} {"Template_token": ["", "break", ";", "case", "", ":", "std", "::", "swap", "(", "LHS", ",", "RHS", ")", ";", "LLVM_FALLTHROUGH", ";", "case", "", ":", "if", "(", "const", "ConstantSDNode", "*", "C", "=", "dyn_cast", "<", "ConstantSDNode", ">", "(", "LHS", ")", ")", "{", "LHS", "=", "RHS", ";", "RHS", "=", "DAG", ".", "getConstant", "(", "C", "->", "getSExtValue", "(", ")", "+", "", ",", "dl", ",", "C", "->", "getValueType", "(", "", ")", ")", ";", "TCC", "=", "", ";", "break", ";", "}", "TCC", "=", "", ";", "break", ";", "case", "", ":", "std", "::", "swap", "(", "LHS", ",", "RHS", ")", ";", "LLVM_FALLTHROUGH", ";", "case", "", ":", "if", "(", "const", "ConstantSDNode", "*", "C", "=", "dyn_cast", "<", "ConstantSDNode", ">", "(", "LHS", ")", ")", "{", "LHS", "=", "RHS", ";", "RHS", "=", "DAG", ".", "getConstant", "(", "C", "->", "getSExtValue", "(", ")", "+", "", ",", "dl", ",", "C", "->", "getValueType", "(", "", ")", ")", ";", "TCC", "=", "", ";", "break", ";", "}", "TCC", "=", "", ";", "break", ";", "case", "", ":", "std", "::", "swap", "(", "LHS", ",", "RHS", ")", ";", "LLVM_FALLTHROUGH", ";", "case", "", ":", "if", "(", "const", "ConstantSDNode", "*", "C", "=", "dyn_cast", "<", "ConstantSDNode", ">", "(", "LHS", ")", ")", "{", "LHS", "=", "RHS", ";", "RHS", "=", "DAG", ".", "getConstant", "(", "C", "->", "getSExtValue", "(", ")", "+", "", ",", "dl", ",", "C", "->", "getValueType", "(", "", ")", ")", ";", "TCC", "=", "", ";", "break", ";", "}"], "ground_truth": ["TCC", "=", "", ";"], "File": "CJGISelLowering", "Func": "EmitCMP", "Target": "CJG", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 58720, "Length": 222, "Cover_Rate": 0.4396039603960396} {"Template_token": ["", "MachineFunction", "*", "F", "=", "BB", "->", "getParent", "(", ")", ";", "MachineBasicBlock", "*", "copy0MBB", "=", "F", "->", "CreateMachineBasicBlock", "(", "LLVM_BB", ")", ";", "MachineBasicBlock", "*", "copy1MBB", "=", "F", "->", "CreateMachineBasicBlock", "(", "LLVM_BB", ")", ";", "F", "->", "insert", "(", "I", ",", "copy0MBB", ")", ";", "F", "->", "insert", "(", "I", ",", "copy1MBB", ")", ";", "copy1MBB", "->", "splice", "(", "copy1MBB", "->", "begin", "(", ")", ",", "BB", ",", "std", "::", "next", "(", "MachineBasicBlock", "::", "iterator", "(", "MI", ")", ")", ",", "BB", "->", "end", "(", ")", ")", ";", "copy1MBB", "->", "transferSuccessorsAndUpdatePHIs", "(", "BB", ")", ";", "BB", "->", "addSuccessor", "(", "copy0MBB", ")", ";", "BB", "->", "addSuccessor", "(", "copy1MBB", ")", ";", "BuildMI", "(", "BB", ",", "dl", ",", "TII", ".", "get", "(", "", ")", ")", ".", "addMBB", "(", "copy1MBB", ")", ".", "addImm", "(", "MI", ".", "getOperand", "(", "", ")", ".", "getImm", "(", ")", ")", ";", "BB", "=", "copy0MBB", ";", "BB", "->", "addSuccessor", "(", "copy1MBB", ")", ";", "BB", "=", "copy1MBB", ";", "BuildMI", "(", "*", "BB", ",", "BB", "->", "begin", "(", ")", ",", "dl", ",", "TII", ".", "get", "(", "", ")", ",", "MI", ".", "getOperand", "(", "", ")", ".", "getReg", "(", ")", ")", ".", "addReg", "(", "MI", ".", "getOperand", "(", "", ")", ".", "getReg", "(", ")", ")", ".", "addMBB", "(", "copy0MBB", ")", ".", "addReg", "(", "MI", ".", "getOperand", "(", "", ")", ".", "getReg", "(", ")", ")", ".", "addMBB", "(", "thisMBB", ")", ";", "MI", ".", "eraseFromParent", "(", ")", ";"], "ground_truth": ["return", "BB", ";"], "File": "CJGISelLowering", "Func": "EmitInstrWithCustomInserter", "Target": "CJG", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 58721, "Length": 229, "Cover_Rate": 0.698170731707317} {"Template_token": ["", "const", "TargetInstrInfo", "&", "TII", "=", "*", "BB", "->", "getParent", "(", ")", "->", "getSubtarget", "(", ")", ".", "getInstrInfo", "(", ")", ";", "DebugLoc", "dl", "=", "MI", ".", "getDebugLoc", "(", ")", ";", "assert", "(", "Opc", "==", "", "&&", "", ")", ";", "const", "BasicBlock", "*", "LLVM_BB", "=", "BB", "->", "getBasicBlock", "(", ")", ";", "MachineFunction", "::", "iterator", "I", "=", "++", "BB", "->", "getIterator", "(", ")", ";", "MachineBasicBlock", "*", "thisMBB", "=", "BB", ";", "MachineFunction", "*", "F", "=", "BB", "->", "getParent", "(", ")", ";", "MachineBasicBlock", "*", "copy0MBB", "=", "F", "->", "CreateMachineBasicBlock", "(", "LLVM_BB", ")", ";", "MachineBasicBlock", "*", "copy1MBB", "=", "F", "->", "CreateMachineBasicBlock", "(", "LLVM_BB", ")", ";", "F", "->", "insert", "(", "I", ",", "copy0MBB", ")", ";", "F", "->", "insert", "(", "I", ",", "copy1MBB", ")", ";"], "ground_truth": ["copy1MBB", "->", "splice", "(", "copy1MBB", "->", "begin", "(", ")", ",", "BB", ",", "std", "::", "next", "(", "MachineBasicBlock", "::", "iterator", "(", "MI", ")", ")", ",", "BB", "->", "end", "(", ")", ")", ";"], "File": "CJGISelLowering", "Func": "EmitInstrWithCustomInserter", "Target": "CJG", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 58722, "Length": 148, "Cover_Rate": 0.45121951219512196} {"Template_token": ["", "case", "", ":", "break", ";", "case", "", ":", "return", "", ";", "case", "", ":", "return", "", ";", "case", "", ":", "return", "", ";", "case", "", ":", "return", "", ";", "case", "", ":", "return", "", ";"], "ground_truth": ["case", "", ":", "return", "", ";"], "File": "CJGISelLowering", "Func": "getTargetNodeName", "Target": "CJG", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 58723, "Length": 41, "Cover_Rate": 0.5} {"Template_token": ["", "SDValue", "TargetLowering", "::", "LowerBR_CC", "(", "SDValue", "Op", ",", "SelectionDAG", "&", "DAG", ")", "const", "{", "SDValue", "Chain", "=", "Op", ".", "getOperand", "(", "", ")", ";", "", "CC", "=", "cast", "<", "CondCodeSDNode", ">", "(", "Op", ".", "getOperand", "(", "", ")", ")", "->", "get", "(", ")", ";", "SDValue", "LHS", "=", "Op", ".", "getOperand", "(", "", ")", ";", "SDValue", "RHS", "=", "Op", ".", "getOperand", "(", "", ")", ";", "SDValue", "Dest", "=", "Op", ".", "getOperand", "(", "", ")", ";", "SDLoc", "dl", "(", "Op", ")", ";", "SDValue", "TargetCC", ";", "SDValue", "Flag", "=", "EmitCMP", "(", "LHS", ",", "RHS", ",", "TargetCC", ",", "CC", ",", "dl", ",", "DAG", ")", ";"], "ground_truth": ["return", "DAG", ".", "getNode", "(", "", ",", "dl", ",", "Op", ".", "getValueType", "(", ")", ",", "Chain", ",", "Dest", ",", "TargetCC", ",", "Flag", ")", ";"], "File": "CJGISelLowering", "Func": "LowerBR_CC", "Target": "CJG", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 58724, "Length": 125, "Cover_Rate": 0.9615384615384616} {"Template_token": ["", "AnalyzeArguments", "(", "CCInfo", ",", "ArgLocs", ",", "Outs", ")", ";", "unsigned", "NumBytes", "=", "CCInfo", ".", "getNextStackOffset", "(", ")", ";", "auto", "PtrVT", "=", "getPointerTy", "(", "DAG", ".", "getDataLayout", "(", ")", ")", ";", "Chain", "=", "DAG", ".", "getCALLSEQ_START", "(", "Chain", ",", "DAG", ".", "getConstant", "(", "NumBytes", ",", "dl", ",", "PtrVT", ",", "true", ")", ",", "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", ";", "}", "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", ")", ";", "SDValue", "PtrOff", "=", "DAG", ".", "getNode", "(", "", ",", "dl", ",", "PtrVT", ",", "StackPtr", ",", "DAG", ".", "getIntPtrConstant", "(", "VA", ".", "getLocMemOffset", "(", ")", ",", "dl", ")", ")", ";", "SDValue", "MemOp", ";", "", "Flags", "=", "Outs", "[", "i", "]", ".", "Flags", ";", "if", "(", "Flags", ".", "isByVal", "(", ")", ")", "{", "SDValue", "SizeNode", "=", "DAG", ".", "getConstant", "(", "Flags", ".", "getByValSize", "(", ")", ",", "dl", ",", "", ")", ";", "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", ";"], "ground_truth": ["for", "(", "unsigned", "i", "=", "", ",", "e", "=", "RegsToPass", ".", "size", "(", ")", ";", "i", "!=", "e", ";", "++", "i", ")", "{"], "File": "CJGISelLowering", "Func": "LowerCall", "Target": "CJG", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 58725, "Length": 395, "Cover_Rate": 0.4630715123094959} {"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": "CJGISelLowering", "Func": "LowerCallResult", "Target": "CJG", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 58726, "Length": 61, "Cover_Rate": 0.3630952380952381} {"Template_token": ["", "SDValue", "TargetLowering", "::", "LowerExternalSymbol", "(", "SDValue", "Op", ",", "SelectionDAG", "&", "DAG", ")", "const", "{", "SDLoc", "dl", "(", "Op", ")", ";", "const", "char", "*", "Sym", "=", "cast", "<", "ExternalSymbolSDNode", ">", "(", "Op", ")", "->", "getSymbol", "(", ")", ";", "auto", "PtrVT", "=", "getPointerTy", "(", "DAG", ".", "getDataLayout", "(", ")", ")", ";", "SDValue", "Result", "=", "DAG", ".", "getTargetExternalSymbol", "(", "Sym", ",", "PtrVT", ")", ";", "return", "DAG", ".", "getNode", "(", "", ",", "dl", ",", "PtrVT", ",", "Result", ")", ";"], "ground_truth": ["}"], "File": "CJGISelLowering", "Func": "LowerExternalSymbol", "Target": "CJG", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 58727, "Length": 76, "Cover_Rate": 0.9743589743589743} {"Template_token": ["", "SDValue", "TargetLowering", "::", "LowerExternalSymbol", "(", "SDValue", "Op", ",", "SelectionDAG", "&", "DAG", ")", "const", "{", "SDLoc", "dl", "(", "Op", ")", ";", "const", "char", "*", "Sym", "=", "cast", "<", "ExternalSymbolSDNode", ">", "(", "Op", ")", "->", "getSymbol", "(", ")", ";"], "ground_truth": ["auto", "PtrVT", "=", "getPointerTy", "(", "DAG", ".", "getDataLayout", "(", ")", ")", ";"], "File": "CJGISelLowering", "Func": "LowerExternalSymbol", "Target": "CJG", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 58728, "Length": 49, "Cover_Rate": 0.6282051282051282} {"Template_token": ["", "if", "(", "IsVarArg", ")", "{", "llvm_unreachable", "(", "", ")", ";", "}", "SmallVector", "<", "CCValAssign", ",", "", ">", "ArgLocs", ";", "CCState", "CCInfo", "(", "CallConv", ",", "IsVarArg", ",", "MF", ",", "ArgLocs", ",", "*", "DAG", ".", "getContext", "(", ")", ")", ";", "CCInfo", ".", "AnalyzeFormalArguments", "(", "Ins", ",", "CC_", ")", ";", "for", "(", "auto", "&", "VA", ":", "ArgLocs", ")", "{", "if", "(", "VA", ".", "isRegLoc", "(", ")", ")", "{", "EVT", "RegVT", "=", "VA", ".", "getLocVT", "(", ")", ";", "switch", "(", "RegVT", ".", "getSimpleVT", "(", ")", ".", "SimpleTy", ")", "{", "case", "", ":", "{", "const", "unsigned", "VReg", "=", "RegInfo", ".", "createVirtualRegister", "(", "&", "", ")", ";", "RegInfo", ".", "addLiveIn", "(", "VA", ".", "getLocReg", "(", ")", ",", "VReg", ")", ";", "SDValue", "ArgIn", "=", "DAG", ".", "getCopyFromReg", "(", "Chain", ",", "DL", ",", "VReg", ",", "RegVT", ")", ";", "InVals", ".", "push_back", "(", "ArgIn", ")", ";"], "ground_truth": ["break", ";"], "File": "CJGISelLowering", "Func": "LowerFormalArguments", "Target": "CJG", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 58729, "Length": 139, "Cover_Rate": 0.5205992509363296} {"Template_token": ["", "auto", "PtrVT", "=", "getPointerTy", "(", "DAG", ".", "getDataLayout", "(", ")", ")", ";", "SDValue", "Result", "=", "DAG", ".", "getTargetGlobalAddress", "(", "GV", ",", "SDLoc", "(", "Op", ")", ",", "PtrVT", ",", "Offset", ")", ";"], "ground_truth": ["return", "DAG", ".", "getNode", "(", "", ",", "SDLoc", "(", "Op", ")", ",", "PtrVT", ",", "Result", ")", ";"], "File": "CJGISelLowering", "Func": "LowerGlobalAddress", "Target": "CJG", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 58730, "Length": 48, "Cover_Rate": 0.4948453608247423} {"Template_token": ["", "const", "GlobalValue", "*", "GV", "=", "cast", "<", "GlobalAddressSDNode", ">", "(", "Op", ")", "->", "getGlobal", "(", ")", ";"], "ground_truth": ["int64_t", "Offset", "=", "cast", "<", "GlobalAddressSDNode", ">", "(", "Op", ")", "->", "getOffset", "(", ")", ";"], "File": "CJGISelLowering", "Func": "LowerGlobalAddress", "Target": "CJG", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 58731, "Length": 32, "Cover_Rate": 0.32989690721649484} {"Template_token": ["", "case", "", ":", "return", "LowerGlobalAddress", "(", "Op", ",", "DAG", ")", ";", "case", "", ":", "return", "LowerExternalSymbol", "(", "Op", ",", "DAG", ")", ";", "default", ":", "llvm_unreachable", "(", "", ")", ";", "}"], "ground_truth": ["}"], "File": "CJGISelLowering", "Func": "LowerOperation", "Target": "CJG", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 58732, "Length": 31, "Cover_Rate": 0.36904761904761907} {"Template_token": ["", "case", "", ":", "return", "LowerBR_CC", "(", "Op", ",", "DAG", ")", ";", "case", "", ":", "return", "LowerSELECT_CC", "(", "Op", ",", "DAG", ")", ";", "case", "", ":", "return", "LowerGlobalAddress", "(", "Op", ",", "DAG", ")", ";", "case", "", ":", "return", "LowerExternalSymbol", "(", "Op", ",", "DAG", ")", ";", "default", ":", "llvm_unreachable", "(", "", ")", ";"], "ground_truth": ["}"], "File": "CJGISelLowering", "Func": "LowerOperation", "Target": "CJG", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 58733, "Length": 52, "Cover_Rate": 0.6190476190476191} {"Template_token": ["", "if", "(", "IsVarArg", ")", "{", "report_fatal_error", "(", "", ")", ";", "}", "SmallVector", "<", "CCValAssign", ",", "", ">", "RVLocs", ";", "CCState", "CCInfo", "(", "CallConv", ",", "IsVarArg", ",", "DAG", ".", "getMachineFunction", "(", ")", ",", "RVLocs", ",", "*", "DAG", ".", "getContext", "(", ")", ")", ";", "CCInfo", ".", "AnalyzeReturn", "(", "Outs", ",", "RetCC_", ")", ";", "SDValue", "Flag", ";", "SmallVector", "<", "SDValue", ",", "", ">", "RetOps", "(", "", ",", "Chain", ")", ";", "for", "(", "unsigned", "i", "=", "", ",", "e", "=", "RVLocs", ".", "size", "(", ")", ";", "i", "<", "e", ";", "++", "i", ")", "{", "CCValAssign", "&", "VA", "=", "RVLocs", "[", "i", "]", ";", "assert", "(", "VA", ".", "isRegLoc", "(", ")", "&&", "", ")", ";"], "ground_truth": ["Chain", "=", "DAG", ".", "getCopyToReg", "(", "Chain", ",", "DL", ",", "VA", ".", "getLocReg", "(", ")", ",", "OutVals", "[", "i", "]", ",", "Flag", ")", ";"], "File": "CJGISelLowering", "Func": "LowerReturn", "Target": "CJG", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 58734, "Length": 134, "Cover_Rate": 0.5275590551181102} {"Template_token": ["", "CCState", "CCInfo", "(", "CallConv", ",", "IsVarArg", ",", "DAG", ".", "getMachineFunction", "(", ")", ",", "RVLocs", ",", "*", "DAG", ".", "getContext", "(", ")", ")", ";", "CCInfo", ".", "AnalyzeReturn", "(", "Outs", ",", "RetCC_", ")", ";", "SDValue", "Flag", ";", "SmallVector", "<", "SDValue", ",", "", ">", "RetOps", "(", "", ",", "Chain", ")", ";", "for", "(", "unsigned", "i", "=", "", ",", "e", "=", "RVLocs", ".", "size", "(", ")", ";", "i", "<", "e", ";", "++", "i", ")", "{", "CCValAssign", "&", "VA", "=", "RVLocs", "[", "i", "]", ";", "assert", "(", "VA", ".", "isRegLoc", "(", ")", "&&", "", ")", ";", "Chain", "=", "DAG", ".", "getCopyToReg", "(", "Chain", ",", "DL", ",", "VA", ".", "getLocReg", "(", ")", ",", "OutVals", "[", "i", "]", ",", "Flag", ")", ";", "Flag", "=", "Chain", ".", "getValue", "(", "", ")", ";", "RetOps", ".", "push_back", "(", "DAG", ".", "getRegister", "(", "VA", ".", "getLocReg", "(", ")", ",", "VA", ".", "getLocVT", "(", ")", ")", ")", ";", "}", "RetOps", "[", "", "]", "=", "Chain", ";", "if", "(", "Flag", ".", "getNode", "(", ")", ")", "{", "RetOps", ".", "push_back", "(", "Flag", ")", ";"], "ground_truth": ["}"], "File": "CJGISelLowering", "Func": "LowerReturn", "Target": "CJG", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 58735, "Length": 171, "Cover_Rate": 0.6732283464566929} {"Template_token": ["", "SDValue", "TargetLowering", "::", "LowerSELECT_CC", "(", "SDValue", "Op", ",", "SelectionDAG", "&", "DAG", ")", "const", "{", "SDValue", "LHS", "=", "Op", ".", "getOperand", "(", "", ")", ";", "SDValue", "RHS", "=", "Op", ".", "getOperand", "(", "", ")", ";", "SDValue", "TrueV", "=", "Op", ".", "getOperand", "(", "", ")", ";", "SDValue", "FalseV", "=", "Op", ".", "getOperand", "(", "", ")", ";", "", "CC", "=", "cast", "<", "CondCodeSDNode", ">", "(", "Op", ".", "getOperand", "(", "", ")", ")", "->", "get", "(", ")", ";", "SDLoc", "dl", "(", "Op", ")", ";", "SDValue", "TargetCC", ";", "SDValue", "Flag", "=", "EmitCMP", "(", "LHS", ",", "RHS", ",", "TargetCC", ",", "CC", ",", "dl", ",", "DAG", ")", ";"], "ground_truth": ["SDVTList", "VTs", "=", "DAG", ".", "getVTList", "(", "Op", ".", "getValueType", "(", ")", ",", "", ")", ";"], "File": "CJGISelLowering", "Func": "LowerSELECT_CC", "Target": "CJG", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 58736, "Length": 117, "Cover_Rate": 0.7647058823529411} {"Template_token": ["", "if", "(", "CurrentArgIndex", "==", "Args", "[", "i", "]", ".", "OrigArgIndex", ")", "{", "Out", ".", "back", "(", ")", "++", ";", "}", "else", "{", "Out", ".", "push_back", "(", "", ")", ";"], "ground_truth": ["CurrentArgIndex", "++", ";"], "File": "CJGISelLowering", "Func": "ParseFunctionArgs", "Target": "CJG", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 58737, "Length": 32, "Cover_Rate": 0.38095238095238093} {"Template_token": ["", "unsigned", "CurrentArgIndex", "=", "~", "", ";", "for", "(", "unsigned", "i", "=", "", ",", "e", "=", "Args", ".", "size", "(", ")", ";", "i", "!=", "e", ";", "i", "++", ")", "{", "if", "(", "CurrentArgIndex", "==", "Args", "[", "i", "]", ".", "OrigArgIndex", ")", "{", "Out", ".", "back", "(", ")", "++", ";", "}", "else", "{", "Out", ".", "push_back", "(", "", ")", ";", "CurrentArgIndex", "++", ";", "}", "}"], "ground_truth": ["}"], "File": "CJGISelLowering", "Func": "ParseFunctionArgs", "Target": "CJG", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 58738, "Length": 64, "Cover_Rate": 0.7619047619047619} {"Template_token": ["", "bool", "shouldConvertConstantLoadToIntImm", "(", "const", "APInt", "&", "Imm", ",", "Type", "*", "Ty", ")", "const", "override", "{", "return", "true", ";"], "ground_truth": ["}"], "File": "CJGISelLowering", "Func": "shouldConvertConstantLoadToIntImm", "Target": "CJG", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 58739, "Length": 19, "Cover_Rate": 1.0} {"Template_token": ["", "void", "MachineFunctionInfo", "::", "anchor", "(", ")", "{"], "ground_truth": ["}"], "File": "CJGMachineFunctionInfo", "Func": "anchor", "Target": "CJG", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 58740, "Length": 8, "Cover_Rate": 1.0} {"Template_token": ["", "void", "MachineFunctionInfo", "::", "anchor", "(", ")", "{"], "ground_truth": ["}"], "File": "CJGMachineFunctionInfo", "Func": "anchor", "Target": "CJG", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 58741, "Length": 8, "Cover_Rate": 1.0} {"Template_token": ["", "explicit", "MachineFunctionInfo", "(", "MachineFunction", "&", "MF", ")", ":", "CalleeSavedFrameSize", "(", "", ")", ",", "ReturnAddrIndex", "(", "", ")", "{"], "ground_truth": ["}"], "File": "CJGMachineFunctionInfo", "Func": "CJGMachineFunctionInfo", "Target": "CJG", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 58742, "Length": 19, "Cover_Rate": 1.0} {"Template_token": ["", "explicit", "MachineFunctionInfo", "(", "MachineFunction", "&", "MF", ")", ":", "CalleeSavedFrameSize", "(", "", ")", ",", "ReturnAddrIndex", "(", "", ")", "{"], "ground_truth": ["}"], "File": "CJGMachineFunctionInfo", "Func": "CJGMachineFunctionInfo", "Target": "CJG", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 58743, "Length": 19, "Cover_Rate": 1.0} {"Template_token": ["", "return", "CalleeSavedFrameSize", ";"], "ground_truth": ["}"], "File": "CJGMachineFunctionInfo", "Func": "getCalleeSavedFrameSize", "Target": "CJG", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 58744, "Length": 4, "Cover_Rate": 0.4} {"Template_token": ["", "unsigned", "getCalleeSavedFrameSize", "(", ")", "const", "{", "return", "CalleeSavedFrameSize", ";"], "ground_truth": ["}"], "File": "CJGMachineFunctionInfo", "Func": "getCalleeSavedFrameSize", "Target": "CJG", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 58745, "Length": 10, "Cover_Rate": 1.0} {"Template_token": ["", "return", "ReturnAddrIndex", ";"], "ground_truth": ["}"], "File": "CJGMachineFunctionInfo", "Func": "getRAIndex", "Target": "CJG", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 58746, "Length": 4, "Cover_Rate": 0.4} {"Template_token": ["", "return", "ReturnAddrIndex", ";"], "ground_truth": ["}"], "File": "CJGMachineFunctionInfo", "Func": "getRAIndex", "Target": "CJG", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 58747, "Length": 4, "Cover_Rate": 0.4} {"Template_token": ["", "return", "VarArgsFrameIndex", ";"], "ground_truth": ["}"], "File": "CJGMachineFunctionInfo", "Func": "getVarArgsFrameIndex", "Target": "CJG", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 58749, "Length": 4, "Cover_Rate": 0.4} {"Template_token": ["", "void", "setCalleeSavedFrameSize", "(", "unsigned", "bytes", ")", "{", "CalleeSavedFrameSize", "=", "bytes", ";"], "ground_truth": ["}"], "File": "CJGMachineFunctionInfo", "Func": "setCalleeSavedFrameSize", "Target": "CJG", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 58751, "Length": 12, "Cover_Rate": 1.0} {"Template_token": ["", "ReturnAddrIndex", "=", "Index", ";"], "ground_truth": ["}"], "File": "CJGMachineFunctionInfo", "Func": "setRAIndex", "Target": "CJG", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 58753, "Length": 5, "Cover_Rate": 0.4166666666666667} {"Template_token": ["", "VarArgsFrameIndex", "=", "Index", ";"], "ground_truth": ["}"], "File": "CJGMachineFunctionInfo", "Func": "setVarArgsFrameIndex", "Target": "CJG", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 58755, "Length": 5, "Cover_Rate": 0.4166666666666667} {"Template_token": ["", "void", "MCAsmInfo", "::", "anchor", "(", ")", "{"], "ground_truth": ["}"], "File": "CJGMCAsmInfo", "Func": "anchor", "Target": "CJG", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 58756, "Length": 8, "Cover_Rate": 1.0} {"Template_token": ["", "void", "MCAsmInfo", "::", "anchor", "(", ")", "{"], "ground_truth": ["}"], "File": "CJGMCAsmInfo", "Func": "anchor", "Target": "CJG", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 58757, "Length": 8, "Cover_Rate": 1.0} {"Template_token": ["", "CommentString", "=", "", ";"], "ground_truth": ["SupportsDebugInformation", "=", "true", ";"], "File": "CJGMCAsmInfo", "Func": "CJGMCAsmInfo", "Target": "CJG", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 58758, "Length": 8, "Cover_Rate": 0.34782608695652173} {"Template_token": ["", "CommentString", "=", "", ";"], "ground_truth": ["SupportsDebugInformation", "=", "true", ";"], "File": "CJGMCAsmInfo", "Func": "CJGMCAsmInfo", "Target": "CJG", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 58759, "Length": 8, "Cover_Rate": 0.34782608695652173} {"Template_token": ["", "MCCodeEmitter", "(", "const", "MCInstrInfo", "&", "MCII", ",", "MCContext", "&", "CTX", ")", ":", "MCII", "(", "MCII", ")", ",", "CTX", "(", "CTX", ")", "{"], "ground_truth": ["}"], "File": "CJGMCCodeEmitter", "Func": "CJGMCCodeEmitter", "Target": "CJG", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 58760, "Length": 23, "Cover_Rate": 1.0} {"Template_token": ["", "MCCodeEmitter", "(", "const", "MCInstrInfo", "&", "MCII", ",", "MCContext", "&", "CTX", ")", ":", "MCII", "(", "MCII", ")", ",", "CTX", "(", "CTX", ")", "{"], "ground_truth": ["}"], "File": "CJGMCCodeEmitter", "Func": "CJGMCCodeEmitter", "Target": "CJG", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 58761, "Length": 23, "Cover_Rate": 1.0} {"Template_token": ["", "MCCodeEmitter", "*", "llvm", "::", "createMCCodeEmitter", "(", "const", "MCInstrInfo", "&", "MCII", ",", "const", "MCRegisterInfo", "&", "MRI", ",", "MCContext", "&", "CTX", ")", "{"], "ground_truth": ["return", "new", "MCCodeEmitter", "(", "MCII", ",", "CTX", ")", ";"], "File": "CJGMCCodeEmitter", "Func": "createCJGMCCodeEmitter", "Target": "CJG", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 58762, "Length": 30, "Cover_Rate": 0.967741935483871} {"Template_token": ["", "return", "new", "MCCodeEmitter", "(", "MCII", ",", "CTX", ")", ";"], "ground_truth": ["}"], "File": "CJGMCCodeEmitter", "Func": "createCJGMCCodeEmitter", "Target": "CJG", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 58763, "Length": 10, "Cover_Rate": 0.3225806451612903} {"Template_token": ["", "void", "emitByte", "(", "unsigned", "char", "C", ",", "raw_ostream", "&", "OS", ")", "const", "{", "OS", "<<", "(", "char", ")", "C", ";"], "ground_truth": ["}"], "File": "CJGMCCodeEmitter", "Func": "emitByte", "Target": "CJG", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 58764, "Length": 21, "Cover_Rate": 1.0} {"Template_token": ["", "void", "emitConstant", "(", "uint64_t", "Val", ",", "unsigned", "Size", ",", "raw_ostream", "&", "OS", ")", "const", "{", "for", "(", "unsigned", "i", "=", "", ";", "i", "!=", "Size", ";", "++", "i", ")", "{", "emitByte", "(", "Val", "&", "", ",", "OS", ")", ";"], "ground_truth": ["Val", ">>=", "", ";"], "File": "CJGMCCodeEmitter", "Func": "emitConstant", "Target": "CJG", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 58766, "Length": 43, "Cover_Rate": 0.9555555555555556} {"Template_token": ["", "for", "(", "unsigned", "i", "=", "", ";", "i", "!=", "Size", ";", "++", "i", ")", "{", "emitByte", "(", "Val", "&", "", ",", "OS", ")", ";", "Val", ">>=", "", ";", "}"], "ground_truth": ["}"], "File": "CJGMCCodeEmitter", "Func": "emitConstant", "Target": "CJG", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 58767, "Length": 30, "Cover_Rate": 0.6666666666666666} {"Template_token": ["", "void", "MCCodeEmitter", "::", "encodeInstruction", "(", "const", "MCInst", "&", "MI", ",", "raw_ostream", "&", "OS", ",", "SmallVectorImpl", "<", "MCFixup", ">", "&", "Fixups", ",", "const", "MCSubtargetInfo", "&", "STI", ")", "const", "{", "const", "MCInstrDesc", "&", "Desc", "=", "MCII", ".", "get", "(", "MI", ".", "getOpcode", "(", ")", ")", ";", "if", "(", "Desc", ".", "getSize", "(", ")", "!=", "", ")", "{", "llvm_unreachable", "(", "", ")", ";", "}", "const", "uint32_t", "Binary", "=", "getBinaryCodeForInstr", "(", "MI", ",", "Fixups", ",", "STI", ")", ";", "emitConstant", "(", "Binary", ",", "Desc", ".", "getSize", "(", ")", ",", "OS", ")", ";", "++", "MCNumEmitted", ";"], "ground_truth": ["}"], "File": "CJGMCCodeEmitter", "Func": "encodeInstruction", "Target": "CJG", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 58768, "Length": 91, "Cover_Rate": 1.0} {"Template_token": ["", "unsigned", "MCCodeEmitter", "::", "getMemSrcValue", "(", "const", "MCInst", "&", "MI", ",", "unsigned", "OpIdx", ",", "SmallVectorImpl", "<", "MCFixup", ">", "&", "Fixups", ",", "const", "MCSubtargetInfo", "&", "STI", ")", "const", "{", "unsigned", "Bits", "=", "", ";", "const", "MCOperand", "&", "RegOp", "=", "MI", ".", "getOperand", "(", "OpIdx", ")", ";", "const", "MCOperand", "&", "ImmOp", "=", "MI", ".", "getOperand", "(", "OpIdx", "+", "", ")", ";"], "ground_truth": ["Bits", "|=", "(", "getMachineOpValue", "(", "MI", ",", "RegOp", ",", "Fixups", ",", "STI", ")", "<<", "", ")", ";"], "File": "CJGMCCodeEmitter", "Func": "getMemSrcValue", "Target": "CJG", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 58769, "Length": 75, "Cover_Rate": 0.8152173913043478} {"Template_token": ["", "~", "MCCodeEmitter", "(", ")", "override", "{"], "ground_truth": ["}"], "File": "CJGMCCodeEmitter", "Func": "~CJGMCCodeEmitter", "Target": "CJG", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 58770, "Length": 7, "Cover_Rate": 1.0} {"Template_token": ["", "~", "MCCodeEmitter", "(", ")", "override", "{"], "ground_truth": ["}"], "File": "CJGMCCodeEmitter", "Func": "~CJGMCCodeEmitter", "Target": "CJG", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 58771, "Length": 7, "Cover_Rate": 1.0} {"Template_token": ["", "class", "LLVM_LIBRARY_VISIBILITY", "MCInstLower", "{", "MCContext", "&", "Ctx", ";", "AsmPrinter", "&", "Printer", ";", "public", ":", "MCInstLower", "(", "MCContext", "&", "Ctx", ",", "AsmPrinter", "&", "Printer", ")", ":", "Ctx", "(", "Ctx", ")", ",", "Printer", "(", "Printer", ")", "{", "}", "void", "Lower", "(", "const", "MachineInstr", "*", "MI", ",", "MCInst", "&", "OutMI", ")", "const", ";", "MCOperand", "LowerSymbolOperand", "(", "const", "MachineOperand", "&", "MO", ",", "MCSymbol", "*", "Sym", ")", "const", ";"], "ground_truth": ["MCSymbol", "*", "GetGlobalAddressSymbol", "(", "const", "MachineOperand", "&", "MO", ")", "const", ";"], "File": "CJGMCInstLower", "Func": "GetGlobalAddressSymbol", "Target": "CJG", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 58772, "Length": 75, "Cover_Rate": 0.9868421052631579} {"Template_token": ["", "}", "MCOp", "=", "MCOperand", "::", "createReg", "(", "MO", ".", "getReg", "(", ")", ")", ";", "break", ";", "case", "MachineOperand", "::", "MO_Immediate", ":", "MCOp", "=", "MCOperand", "::", "createImm", "(", "MO", ".", "getImm", "(", ")", ")", ";", "break", ";", "case", "MachineOperand", "::", "MO_MachineBasicBlock", ":", "MCOp", "=", "MCOperand", "::", "createExpr", "(", "MCSymbolRefExpr", "::", "create", "(", "MO", ".", "getMBB", "(", ")", "->", "getSymbol", "(", ")", ",", "Ctx", ")", ")", ";", "break", ";", "case", "MachineOperand", "::", "MO_GlobalAddress", ":", "MCOp", "=", "LowerSymbolOperand", "(", "MO", ",", "GetGlobalAddressSymbol", "(", "MO", ")", ")", ";"], "ground_truth": ["break", ";"], "File": "CJGMCInstLower", "Func": "Lower", "Target": "CJG", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 58773, "Length": 86, "Cover_Rate": 0.4174757281553398} {"Template_token": ["", "for", "(", "unsigned", "i", "=", "", ",", "e", "=", "MI", "->", "getNumOperands", "(", ")", ";", "i", "!=", "e", ";", "++", "i", ")", "{", "const", "MachineOperand", "&", "MO", "=", "MI", "->", "getOperand", "(", "i", ")", ";", "MCOperand", "MCOp", ";", "switch", "(", "MO", ".", "getType", "(", ")", ")", "{", "default", ":", "MI", "->", "dump", "(", ")", ";", "llvm_unreachable", "(", "", ")", ";", "case", "MachineOperand", "::", "MO_Register", ":", "if", "(", "MO", ".", "isImplicit", "(", ")", ")", "{", "continue", ";", "}", "MCOp", "=", "MCOperand", "::", "createReg", "(", "MO", ".", "getReg", "(", ")", ")", ";", "break", ";", "case", "MachineOperand", "::", "MO_Immediate", ":", "MCOp", "=", "MCOperand", "::", "createImm", "(", "MO", ".", "getImm", "(", ")", ")", ";", "break", ";"], "ground_truth": ["case", "MachineOperand", "::", "MO_MachineBasicBlock", ":"], "File": "CJGMCInstLower", "Func": "Lower", "Target": "CJG", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 58774, "Length": 117, "Cover_Rate": 0.5679611650485437} {"Template_token": ["", "}", "if", "(", "!", "MO", ".", "isJTI", "(", ")", "&&", "MO", ".", "getOffset", "(", ")", ")", "Expr", "=", "MCBinaryExpr", "::", "createAdd", "(", "Expr", ",", "MCConstantExpr", "::", "create", "(", "MO", ".", "getOffset", "(", ")", ",", "Ctx", ")", ",", "Ctx", ")", ";", "return", "MCOperand", "::", "createExpr", "(", "Expr", ")", ";"], "ground_truth": ["}"], "File": "CJGMCInstLower", "Func": "LowerSymbolOperand", "Target": "CJG", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 58775, "Length": 49, "Cover_Rate": 0.49} {"Template_token": ["", "MCOperand", "MCInstLower", "::", "LowerSymbolOperand", "(", "const", "MachineOperand", "&", "MO", ",", "MCSymbol", "*", "Sym", ")", "const", "{", "const", "MCExpr", "*", "Expr", "=", "MCSymbolRefExpr", "::", "create", "(", "Sym", ",", "Ctx", ")", ";", "switch", "(", "MO", ".", "getTargetFlags", "(", ")", ")", "{"], "ground_truth": ["default", ":", "llvm_unreachable", "(", "", ")", ";"], "File": "CJGMCInstLower", "Func": "LowerSymbolOperand", "Target": "CJG", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 58776, "Length": 46, "Cover_Rate": 0.46} {"Template_token": ["", "static", "MCAsmInfo", "*", "createMCAsmInfo", "(", "const", "MCRegisterInfo", "&", "MRI", ",", "const", "Triple", "&", "TT", ")", "{", "return", "new", "MCAsmInfo", "(", "TT", ")", ";"], "ground_truth": ["}"], "File": "CJGMCTargetDesc", "Func": "createCJGMCAsmInfo", "Target": "CJG", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 58777, "Length": 24, "Cover_Rate": 1.0} {"Template_token": ["", "static", "MCAsmInfo", "*", "createMCAsmInfo", "(", "const", "MCRegisterInfo", "&", "MRI", ",", "const", "Triple", "&", "TT", ")", "{", "return", "new", "MCAsmInfo", "(", "TT", ")", ";"], "ground_truth": ["}"], "File": "CJGMCTargetDesc", "Func": "createCJGMCAsmInfo", "Target": "CJG", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 58778, "Length": 24, "Cover_Rate": 1.0} {"Template_token": ["", "static", "MCInstPrinter", "*", "createMCInstPrinter", "(", "const", "Triple", "&", "TT", ",", "unsigned", "SyntaxVariant", ",", "const", "MCAsmInfo", "&", "MAI", ",", "const", "MCInstrInfo", "&", "MII", ",", "const", "MCRegisterInfo", "&", "MRI", ")", "{", "return", "new", "InstPrinter", "(", "MAI", ",", "MII", ",", "MRI", ")", ";"], "ground_truth": ["}"], "File": "CJGMCTargetDesc", "Func": "createCJGMCInstPrinter", "Target": "CJG", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 58779, "Length": 41, "Cover_Rate": 1.0} {"Template_token": ["", "static", "MCInstrInfo", "*", "createMCInstrInfo", "(", ")", "{", "MCInstrInfo", "*", "X", "=", "new", "MCInstrInfo", "(", ")", ";", "InitMCInstrInfo", "(", "X", ")", ";", "return", "X", ";"], "ground_truth": ["}"], "File": "CJGMCTargetDesc", "Func": "createCJGMCInstrInfo", "Target": "CJG", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 58781, "Length": 25, "Cover_Rate": 1.0} {"Template_token": ["", "InitMCRegisterInfo", "(", "X", ",", "", ")", ";", "return", "X", ";"], "ground_truth": ["}"], "File": "CJGMCTargetDesc", "Func": "createCJGMCRegisterInfo", "Target": "CJG", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 58782, "Length": 11, "Cover_Rate": 0.3333333333333333} {"Template_token": ["", "InitMCRegisterInfo", "(", "X", ",", "", ")", ";"], "ground_truth": ["return", "X", ";"], "File": "CJGMCTargetDesc", "Func": "createCJGMCRegisterInfo", "Target": "CJG", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 58783, "Length": 10, "Cover_Rate": 0.30303030303030304} {"Template_token": ["", "TargetRegistry", "::", "RegisterMCRegInfo", "(", "getTheTarget", "(", ")", ",", "createMCRegisterInfo", ")", ";", "TargetRegistry", "::", "RegisterMCAsmBackend", "(", "getTheTarget", "(", ")", ",", "createAsmBackend", ")", ";"], "ground_truth": ["TargetRegistry", "::", "RegisterMCCodeEmitter", "(", "getTheTarget", "(", ")", ",", "createMCCodeEmitter", ")", ";"], "File": "CJGMCTargetDesc", "Func": "LLVMInitializeCJGTargetMC", "Target": "CJG", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 58784, "Length": 33, "Cover_Rate": 0.4647887323943662} {"Template_token": ["", "TargetRegistry", "::", "RegisterMCCodeEmitter", "(", "getTheTarget", "(", ")", ",", "createMCCodeEmitter", ")", ";"], "ground_truth": ["TargetRegistry", "::", "RegisterMCInstPrinter", "(", "getTheTarget", "(", ")", ",", "createMCInstPrinter", ")", ";"], "File": "CJGMCTargetDesc", "Func": "LLVMInitializeCJGTargetMC", "Target": "CJG", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 58785, "Length": 22, "Cover_Rate": 0.30985915492957744} {"Template_token": ["", "RegisterInfo", "::", "RegisterInfo", "(", ")", ":", "GenRegisterInfo", "(", "", ")", "{"], "ground_truth": ["}"], "File": "CJGRegisterInfo", "Func": "CJGRegisterInfo", "Target": "CJG", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 58786, "Length": 12, "Cover_Rate": 0.8571428571428571} {"Template_token": ["", "RegisterInfo", "::", "RegisterInfo", "(", ")", ":", "GenRegisterInfo", "(", "", ")", "{"], "ground_truth": ["}"], "File": "CJGRegisterInfo", "Func": "CJGRegisterInfo", "Target": "CJG", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 58787, "Length": 12, "Cover_Rate": 0.8571428571428571} {"Template_token": ["", "case", "", ":", "case", "", ":", "case", "", ":", "ImmOpIdx", "=", "FIOperandNum", "+", "", ";", "break", ";", "}", "MachineOperand", "&", "ImmOp", "=", "MI", ".", "getOperand", "(", "ImmOpIdx", ")", ";", "int", "Offset", "=", "MFI", ".", "getObjectOffset", "(", "FI", ")", "+", "MFI", ".", "getStackSize", "(", ")", "+", "ImmOp", ".", "getImm", "(", ")", ";", "if", "(", "Offset", "%", "", ")", "{", "llvm_unreachable", "(", "", "", ")", ";", "}", "FIOp", ".", "ChangeToRegister", "(", "", ",", "false", ")", ";"], "ground_truth": ["ImmOp", ".", "setImm", "(", "Offset", ")", ";"], "File": "CJGRegisterInfo", "Func": "eliminateFrameIndex", "Target": "CJG", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 58788, "Length": 81, "Cover_Rate": 0.41968911917098445} {"Template_token": ["", "MachineBasicBlock", "&", "MBB", "=", "*", "MI", ".", "getParent", "(", ")", ";", "const", "MachineFunction", "&", "MF", "=", "*", "MBB", ".", "getParent", "(", ")", ";", "const", "MachineFrameInfo", "MFI", "=", "MF", ".", "getFrameInfo", "(", ")", ";", "MachineOperand", "&", "FIOp", "=", "MI", ".", "getOperand", "(", "FIOperandNum", ")", ";", "unsigned", "FI", "=", "FIOp", ".", "getIndex", "(", ")", ";", "unsigned", "ImmOpIdx", "=", "", ";"], "ground_truth": ["switch", "(", "MI", ".", "getOpcode", "(", ")", ")", "{"], "File": "CJGRegisterInfo", "Func": "eliminateFrameIndex", "Target": "CJG", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 58789, "Length": 67, "Cover_Rate": 0.3471502590673575} {"Template_token": ["", "const", "TargetRegisterClass", "*", "RegisterInfo", "::", "getPointerRegClass", "(", "const", "MachineFunction", "&", "MF", ",", "unsigned", "Kind", ")", "const", "{", "return", "&", "", ";"], "ground_truth": ["}"], "File": "CJGRegisterInfo", "Func": "getPointerRegClass", "Target": "CJG", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 58791, "Length": 22, "Cover_Rate": 0.9166666666666666} {"Template_token": ["", "BitVector", "Reserved", "(", "getNumRegs", "(", ")", ")", ";", "Reserved", ".", "set", "(", "", ")", ";"], "ground_truth": ["Reserved", ".", "set", "(", "", ")", ";"], "File": "CJGRegisterInfo", "Func": "getReservedRegs", "Target": "CJG", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 58792, "Length": 22, "Cover_Rate": 0.43137254901960786} {"Template_token": ["", "void", "Subtarget", "::", "anchor", "(", ")", "{"], "ground_truth": ["}"], "File": "CJGSubtarget", "Func": "anchor", "Target": "CJG", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 58793, "Length": 8, "Cover_Rate": 1.0} {"Template_token": ["", "void", "Subtarget", "::", "anchor", "(", ")", "{"], "ground_truth": ["}"], "File": "CJGSubtarget", "Func": "anchor", "Target": "CJG", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 58794, "Length": 8, "Cover_Rate": 1.0} {"Template_token": ["", "Subtarget", "::", "Subtarget", "(", "const", "Triple", "&", "TT", ",", "StringRef", "CPU", ",", "StringRef", "FS", ",", "TargetMachine", "&", "TM", ")", ":", "GenSubtargetInfo", "(", "TT", ",", "CPU", ",", "FS", ")", ",", "InstrInfo", "(", ")", ",", "FrameLowering", "(", "*", "this", ")", ",", "TLInfo", "(", "TM", ",", "*", "this", ")", "{"], "ground_truth": ["}"], "File": "CJGSubtarget", "Func": "CJGSubtarget", "Target": "CJG", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 58795, "Length": 48, "Cover_Rate": 1.0} {"Template_token": ["", "Subtarget", "::", "Subtarget", "(", "const", "Triple", "&", "TT", ",", "StringRef", "CPU", ",", "StringRef", "FS", ",", "TargetMachine", "&", "TM", ")", ":", "GenSubtargetInfo", "(", "TT", ",", "CPU", ",", "FS", ")", ",", "InstrInfo", "(", ")", ",", "FrameLowering", "(", "*", "this", ")", ",", "TLInfo", "(", "TM", ",", "*", "this", ")", "{"], "ground_truth": ["}"], "File": "CJGSubtarget", "Func": "CJGSubtarget", "Target": "CJG", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 58796, "Length": 48, "Cover_Rate": 1.0} {"Template_token": ["", "const", "FrameLowering", "*", "getFrameLowering", "(", ")", "const", "override", "{", "return", "&", "FrameLowering", ";"], "ground_truth": ["}"], "File": "CJGSubtarget", "Func": "getFrameLowering", "Target": "CJG", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 58797, "Length": 14, "Cover_Rate": 1.0} {"Template_token": ["", "return", "&", "InstrInfo", ";"], "ground_truth": ["}"], "File": "CJGSubtarget", "Func": "getInstrInfo", "Target": "CJG", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 58798, "Length": 5, "Cover_Rate": 0.35714285714285715} {"Template_token": ["", "const", "InstrInfo", "*", "getInstrInfo", "(", ")", "const", "override", "{", "return", "&", "InstrInfo", ";"], "ground_truth": ["}"], "File": "CJGSubtarget", "Func": "getInstrInfo", "Target": "CJG", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 58799, "Length": 14, "Cover_Rate": 1.0} {"Template_token": ["", "const", "TargetRegisterInfo", "*", "getRegisterInfo", "(", ")", "const", "override", "{", "return", "&", "InstrInfo", ".", "getRegisterInfo", "(", ")", ";"], "ground_truth": ["}"], "File": "CJGSubtarget", "Func": "getRegisterInfo", "Target": "CJG", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 58800, "Length": 18, "Cover_Rate": 1.0} {"Template_token": ["", "const", "TargetLowering", "*", "getTargetLowering", "(", ")", "const", "override", "{", "return", "&", "TLInfo", ";"], "ground_truth": ["}"], "File": "CJGSubtarget", "Func": "getTargetLowering", "Target": "CJG", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 58802, "Length": 14, "Cover_Rate": 1.0} {"Template_token": ["", "return", "&", "TLInfo", ";"], "ground_truth": ["}"], "File": "CJGSubtarget", "Func": "getTargetLowering", "Target": "CJG", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 58803, "Length": 5, "Cover_Rate": 0.35714285714285715} {"Template_token": ["", "Target", "&", "llvm", "::", "getTheTarget", "(", ")", "{", "static", "Target", "TheTarget", ";"], "ground_truth": ["return", "TheTarget", ";"], "File": "CJGTargetInfo", "Func": "getTheCJGTarget", "Target": "CJG", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 58804, "Length": 15, "Cover_Rate": 0.9375} {"Template_token": ["", "bool", "PassConfig", "::", "addInstSelector", "(", ")", "{"], "ground_truth": ["addPass", "(", "createISelDag", "(", "getTargetMachine", "(", ")", ",", "getOptLevel", "(", ")", ")", ")", ";"], "File": "CJGTargetMachine", "Func": "addInstSelector", "Target": "CJG", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 58809, "Length": 21, "Cover_Rate": 0.84} {"Template_token": ["", "PassConfig", "(", "TargetMachine", "*", "TM", ",", "PassManagerBase", "&", "PM", ")", ":", "TargetPassConfig", "(", "TM", ",", "PM", ")", "{"], "ground_truth": ["}"], "File": "CJGTargetMachine", "Func": "CJGPassConfig", "Target": "CJG", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 58810, "Length": 19, "Cover_Rate": 1.0} {"Template_token": ["", "PassConfig", "(", "TargetMachine", "*", "TM", ",", "PassManagerBase", "&", "PM", ")", ":", "TargetPassConfig", "(", "TM", ",", "PM", ")", "{"], "ground_truth": ["}"], "File": "CJGTargetMachine", "Func": "CJGPassConfig", "Target": "CJG", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 58811, "Length": 19, "Cover_Rate": 1.0} {"Template_token": ["", "dataLayout", "+=", "", ";", "dataLayout", "+=", "", ";", "dataLayout", "+=", "", ";", "dataLayout", "+=", "", ";", "dataLayout", "+=", "", ";"], "ground_truth": ["dataLayout", "+=", "", ";"], "File": "CJGTargetMachine", "Func": "computeDataLayout", "Target": "CJG", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 58812, "Length": 24, "Cover_Rate": 0.3380281690140845} {"Template_token": ["", "TargetPassConfig", "*", "TargetMachine", "::", "createPassConfig", "(", "PassManagerBase", "&", "PM", ")", "{"], "ground_truth": ["return", "new", "PassConfig", "(", "this", ",", "PM", ")", ";"], "File": "CJGTargetMachine", "Func": "createPassConfig", "Target": "CJG", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 58814, "Length": 20, "Cover_Rate": 0.9523809523809523} {"Template_token": ["", "return", "getTM", "<", "TargetMachine", ">", "(", ")", ";"], "ground_truth": ["}"], "File": "CJGTargetMachine", "Func": "getCJGTargetMachine", "Target": "CJG", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 58816, "Length": 9, "Cover_Rate": 0.5625} {"Template_token": ["", "if", "(", "*", "RM", "==", "Reloc", "::", "DynamicNoPIC", "&&", "!", "TT", ".", "isOSDarwin", "(", ")", ")", "return", "Reloc", "::", "Static", ";", "return", "*", "RM", ";"], "ground_truth": ["}"], "File": "CJGTargetMachine", "Func": "getEffectiveRelocModel", "Target": "CJG", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 58817, "Length": 26, "Cover_Rate": 0.37142857142857144} {"Template_token": ["", "if", "(", "*", "RM", "==", "Reloc", "::", "DynamicNoPIC", "&&", "!", "TT", ".", "isOSDarwin", "(", ")", ")", "return", "Reloc", "::", "Static", ";", "return", "*", "RM", ";"], "ground_truth": ["}"], "File": "CJGTargetMachine", "Func": "getEffectiveRelocModel", "Target": "CJG", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 58818, "Length": 26, "Cover_Rate": 0.37142857142857144} {"Template_token": ["", "TargetLoweringObjectFile", "*", "getObjFileLowering", "(", ")", "const", "override", "{"], "ground_truth": ["return", "TLOF", ".", "get", "(", ")", ";"], "File": "CJGTargetMachine", "Func": "getObjFileLowering", "Target": "CJG", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 58819, "Length": 15, "Cover_Rate": 0.9375} {"Template_token": ["", "TargetLoweringObjectFile", "*", "getObjFileLowering", "(", ")", "const", "override", "{", "return", "TLOF", ".", "get", "(", ")", ";"], "ground_truth": ["}"], "File": "CJGTargetMachine", "Func": "getObjFileLowering", "Target": "CJG", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 58820, "Length": 16, "Cover_Rate": 1.0} {"Template_token": ["", "virtual", "const", "TargetSubtargetInfo", "*", "getSubtargetImpl", "(", "const", "Function", "&", ")", "const", "override", "{"], "ground_truth": ["return", "&", "Subtarget", ";"], "File": "CJGTargetMachine", "Func": "getSubtargetImpl", "Target": "CJG", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 58821, "Length": 17, "Cover_Rate": 0.9444444444444444} {"Template_token": ["", "virtual", "const", "TargetSubtargetInfo", "*", "getSubtargetImpl", "(", "const", "Function", "&", ")", "const", "override", "{", "return", "&", "Subtarget", ";"], "ground_truth": ["}"], "File": "CJGTargetMachine", "Func": "getSubtargetImpl", "Target": "CJG", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 58822, "Length": 18, "Cover_Rate": 1.0} {"Template_token": ["", "void", "LLVMInitializeTarget", "(", ")", "{", "RegisterTargetMachine", "<", "TargetMachine", ">", "X", "(", "getTheTarget", "(", ")", ")", ";"], "ground_truth": ["}"], "File": "CJGTargetMachine", "Func": "LLVMInitializeCJGTarget", "Target": "CJG", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 58823, "Length": 17, "Cover_Rate": 1.0}