{"Template_token": ["", "void", "LLVMInitializeCellTargetInfo", "(", ")", "{", "RegisterTarget", "<", "Triple", "::", "cellspu", ">", "X", "(", "TheCellTarget", ",", "", ",", "", ")", ";"], "ground_truth": ["}"], "File": "CellSPUTargetInfo1", "Func": "LLVMInitializeCellSPUTargetInfo", "Target": "CellSPU", "Target_Clf": "MPU", "Compiler_Type": "LLVM", "Idx": 60853, "Length": 21, "Cover_Rate": 1.0} {"Template_token": ["", "void", "LLVMInitializeCellTargetInfo", "(", ")", "{", "RegisterTarget", "<", "Triple", "::", "cellspu", ">", "X", "(", "TheCellTarget", ",", "", ",", "", ")", ";"], "ground_truth": ["}"], "File": "CellSPUTargetInfo1", "Func": "LLVMInitializeCellSPUTargetInfo", "Target": "CellSPU", "Target_Clf": "MPU", "Compiler_Type": "LLVM", "Idx": 60854, "Length": 21, "Cover_Rate": 1.0} {"Template_token": ["", "inline", "bool", "isU10Constant", "(", "uint64_t", "Value", ")", "{"], "ground_truth": ["return", "(", "Value", "==", "(", "Value", "&", "", ")", ")", ";"], "File": "SPU1", "Func": "isU10Constant", "Target": "CellSPU", "Target_Clf": "MPU", "Compiler_Type": "LLVM", "Idx": 60855, "Length": 19, "Cover_Rate": 0.95} {"Template_token": ["", "inline", "bool", "isU10Constant", "(", "uint64_t", "Value", ")", "{", "return", "(", "Value", "==", "(", "Value", "&", "", ")", ")", ";"], "ground_truth": ["}"], "File": "SPU1", "Func": "isU10Constant", "Target": "CellSPU", "Target_Clf": "MPU", "Compiler_Type": "LLVM", "Idx": 60856, "Length": 20, "Cover_Rate": 1.0} {"Template_token": ["", "FunctionPass", "*", "llvm", "::", "createAsmPrinterPass", "(", "raw_ostream", "&", "o", ",", "TargetMachine", "&", "tm", ",", "bool", "fast", ")", "{"], "ground_truth": ["return", "new", "LinuxAsmPrinter", "(", "o", ",", "tm", ",", "tm", ".", "getTargetAsmInfo", "(", ")", ",", "fast", ")", ";"], "File": "SPUAsmPrinter10", "Func": "createSPUAsmPrinterPass", "Target": "CellSPU", "Target_Clf": "MPU", "Compiler_Type": "LLVM", "Idx": 60858, "Length": 35, "Cover_Rate": 0.9722222222222222} {"Template_token": ["", "I", "!=", "E", ";", "++", "I", ")", "printModuleLevelGV", "(", "I", ")", ";", "DW", "->", "EndModule", "(", ")", ";"], "ground_truth": ["return", "AsmPrinter", "::", "doFinalization", "(", "M", ")", ";"], "File": "SPUAsmPrinter10", "Func": "doFinalization", "Target": "CellSPU", "Target_Clf": "MPU", "Compiler_Type": "LLVM", "Idx": 60859, "Length": 26, "Cover_Rate": 0.4482758620689655} {"Template_token": ["", "for", "(", "Module", "::", "const_global_iterator", "I", "=", "M", ".", "global_begin", "(", ")", ",", "E", "=", "M", ".", "global_end", "(", ")", ";"], "ground_truth": ["I", "!=", "E", ";", "++", "I", ")", "printModuleLevelGV", "(", "I", ")", ";"], "File": "SPUAsmPrinter10", "Func": "doFinalization", "Target": "CellSPU", "Target_Clf": "MPU", "Compiler_Type": "LLVM", "Idx": 60860, "Length": 33, "Cover_Rate": 0.5689655172413793} {"Template_token": ["", "SwitchToTextSection", "(", "", ")", ";", "DW", "=", "getAnalysisIfAvailable", "<", "DwarfWriter", ">", "(", ")", ";", "assert", "(", "DW", "&&", "", ")", ";", "MMI", "=", "getAnalysisIfAvailable", "<", "MachineModuleInfo", ">", "(", ")", ";", "DW", "->", "BeginModule", "(", "&", "M", ",", "MMI", ",", "O", ",", "this", ",", "TAI", ")", ";", "return", "Result", ";"], "ground_truth": ["}"], "File": "SPUAsmPrinter10", "Func": "doInitialization", "Target": "CellSPU", "Target_Clf": "MPU", "Compiler_Type": "LLVM", "Idx": 60861, "Length": 50, "Cover_Rate": 0.7142857142857143} {"Template_token": ["", "if", "(", "!", "GVar", "->", "hasInitializer", "(", ")", ")", "return", ";", "if", "(", "EmitSpecialLLVMGlobal", "(", "GVar", ")", ")", "return", ";", "std", "::", "string", "name", "=", "Mang", "->", "getValueName", "(", "GVar", ")", ";", "printVisibility", "(", "name", ",", "GVar", "->", "getVisibility", "(", ")", ")", ";", "Constant", "*", "C", "=", "GVar", "->", "getInitializer", "(", ")", ";", "const", "Type", "*", "Type", "=", "C", "->", "getType", "(", ")", ";", "unsigned", "Size", "=", "TD", "->", "getTypePaddedSize", "(", "Type", ")", ";", "unsigned", "Align", "=", "TD", "->", "getPreferredAlignmentLog", "(", "GVar", ")", ";", "SwitchToSection", "(", "TAI", "->", "SectionForGlobal", "(", "GVar", ")", ")", ";", "if", "(", "C", "->", "isNullValue", "(", ")", "&&", "!", "GVar", "->", "hasSection", "(", ")", "&&", "(", "GVar", "->", "hasLocalLinkage", "(", ")", "||", "GVar", "->", "hasExternalLinkage", "(", ")", "||", "GVar", "->", "isWeakForLinker", "(", ")", ")", ")", "{", "if", "(", "Size", "==", "", ")", "Size", "=", "", ";", "if", "(", "GVar", "->", "hasExternalLinkage", "(", ")", ")", "{", "O", "<<", "", "<<", "name", "<<", "'\\n'", ";", "O", "<<", "", "<<", "name", "<<", "", ";", "O", "<<", "name", "<<", "", ";", "O", "<<", "", "<<", "Size", "<<", "'\\n'", ";", "}", "else", "if", "(", "GVar", "->", "hasLocalLinkage", "(", ")", ")", "{", "O", "<<", "TAI", "->", "getLCOMMDirective", "(", ")", "<<", "name", "<<", "','", "<<", "Size", ";", "}", "else", "{", "O", "<<", "", "<<", "name", "<<", "','", "<<", "Size", ";", "}", "O", "<<", "", "<<", "TAI", "->", "getCommentString", "(", ")", "<<", "", ";", "PrintUnmangledNameSafely", "(", "GVar", ",", "O", ")", ";", "O", "<<", "", ";", "return", ";", "}", "switch", "(", "GVar", "->", "getLinkage", "(", ")", ")", "{", "case", "GlobalValue", "::", "LinkOnceAnyLinkage", ":", "case", "GlobalValue", "::", "LinkOnceODRLinkage", ":", "case", "GlobalValue", "::", "WeakAnyLinkage", ":", "case", "GlobalValue", "::", "WeakODRLinkage", ":", "case", "GlobalValue", "::", "CommonLinkage", ":", "O", "<<", "", "<<", "name", "<<", "'\\n'", "<<", "", "<<", "name", "<<", "", "<<", "", "<<", "name", "<<", "'\\n'", ";", "break", ";", "case", "GlobalValue", "::", "AppendingLinkage", ":", "case", "GlobalValue", "::", "ExternalLinkage", ":", "O", "<<", "", "<<", "name", "<<", "'\\n'", "<<", "", "<<", "name", "<<", "", ";", "case", "GlobalValue", "::", "PrivateLinkage", ":", "case", "GlobalValue", "::", "InternalLinkage", ":", "break", ";", "default", ":", "cerr", "<<", "", ";"], "ground_truth": ["abort", "(", ")", ";"], "File": "SPUAsmPrinter10", "Func": "printModuleLevelGV", "Target": "CellSPU", "Target_Clf": "MPU", "Compiler_Type": "LLVM", "Idx": 60862, "Length": 346, "Cover_Rate": 0.7845804988662132} {"Template_token": ["", "Constant", "*", "C", "=", "GVar", "->", "getInitializer", "(", ")", ";", "const", "Type", "*", "Type", "=", "C", "->", "getType", "(", ")", ";", "unsigned", "Size", "=", "TD", "->", "getTypePaddedSize", "(", "Type", ")", ";", "unsigned", "Align", "=", "TD", "->", "getPreferredAlignmentLog", "(", "GVar", ")", ";", "SwitchToSection", "(", "TAI", "->", "SectionForGlobal", "(", "GVar", ")", ")", ";", "if", "(", "C", "->", "isNullValue", "(", ")", "&&", "!", "GVar", "->", "hasSection", "(", ")", "&&", "(", "GVar", "->", "hasLocalLinkage", "(", ")", "||", "GVar", "->", "hasExternalLinkage", "(", ")", "||", "GVar", "->", "isWeakForLinker", "(", ")", ")", ")", "{", "if", "(", "Size", "==", "", ")", "Size", "=", "", ";", "if", "(", "GVar", "->", "hasExternalLinkage", "(", ")", ")", "{", "O", "<<", "", "<<", "name", "<<", "'\\n'", ";", "O", "<<", "", "<<", "name", "<<", "", ";", "O", "<<", "name", "<<", "", ";", "O", "<<", "", "<<", "Size", "<<", "'\\n'", ";", "}", "else", "if", "(", "GVar", "->", "hasLocalLinkage", "(", ")", ")", "{", "O", "<<", "TAI", "->", "getLCOMMDirective", "(", ")", "<<", "name", "<<", "','", "<<", "Size", ";", "}", "else", "{", "O", "<<", "", "<<", "name", "<<", "','", "<<", "Size", ";", "}", "O", "<<", "", "<<", "TAI", "->", "getCommentString", "(", ")", "<<", "", ";", "PrintUnmangledNameSafely", "(", "GVar", ",", "O", ")", ";", "O", "<<", "", ";", "return", ";", "}", "switch", "(", "GVar", "->", "getLinkage", "(", ")", ")", "{", "case", "GlobalValue", "::", "LinkOnceAnyLinkage", ":", "case", "GlobalValue", "::", "LinkOnceODRLinkage", ":", "case", "GlobalValue", "::", "WeakAnyLinkage", ":", "case", "GlobalValue", "::", "WeakODRLinkage", ":", "case", "GlobalValue", "::", "CommonLinkage", ":", "O", "<<", "", "<<", "name", "<<", "'\\n'", "<<", "", "<<", "name", "<<", "", "<<", "", "<<", "name", "<<", "'\\n'", ";", "break", ";", "case", "GlobalValue", "::", "AppendingLinkage", ":", "case", "GlobalValue", "::", "ExternalLinkage", ":", "O", "<<", "", "<<", "name", "<<", "'\\n'", "<<", "", "<<", "name", "<<", "", ";", "case", "GlobalValue", "::", "PrivateLinkage", ":", "case", "GlobalValue", "::", "InternalLinkage", ":", "break", ";"], "ground_truth": ["default", ":"], "File": "SPUAsmPrinter10", "Func": "printModuleLevelGV", "Target": "CellSPU", "Target_Clf": "MPU", "Compiler_Type": "LLVM", "Idx": 60863, "Length": 295, "Cover_Rate": 0.6689342403628118} {"Template_token": ["", "O", "<<", "", "<<", "Name", "<<", "", ";", "return", ";", "}", "O", "<<", "TAI", "->", "getGlobalPrefix", "(", ")", "<<", "MO", ".", "getSymbolName", "(", ")", ";", "return", ";", "case", "MachineOperand", "::", "MO_GlobalAddress", ":", "{", "GlobalValue", "*", "GV", "=", "MO", ".", "getGlobal", "(", ")", ";", "std", "::", "string", "Name", "=", "Mang", "->", "getValueName", "(", "GV", ")", ";", "if", "(", "TM", ".", "getRelocationModel", "(", ")", "!=", "Reloc", "::", "Static", ")", "{"], "ground_truth": ["if", "(", "(", "(", "GV", "->", "isDeclaration", "(", ")", "||", "GV", "->", "hasWeakLinkage", "(", ")", "||", "GV", "->", "hasLinkOnceLinkage", "(", ")", "||", "GV", "->", "hasCommonLinkage", "(", ")", ")", ")", ")", "{"], "File": "SPUAsmPrinter10", "Func": "printOp", "Target": "CellSPU", "Target_Clf": "MPU", "Compiler_Type": "LLVM", "Idx": 60864, "Length": 99, "Cover_Rate": 0.3173076923076923} {"Template_token": ["", "if", "(", "MI", "->", "getOperand", "(", "OpNo", ")", ".", "isImm", "(", ")", ")", "{", "int", "value", "=", "(", "int", ")", "MI", "->", "getOperand", "(", "OpNo", ")", ".", "getImm", "(", ")", ";", "assert", "(", "(", "value", ">=", "", "&&", "value", "<", "", ")", "&&", "", ")", ";", "O", "<<", "-", "value", ";"], "ground_truth": ["}", "else", "{"], "File": "SPUAsmPrinter10", "Func": "printROTHNeg7Imm", "Target": "CellSPU", "Target_Clf": "MPU", "Compiler_Type": "LLVM", "Idx": 60865, "Length": 54, "Cover_Rate": 0.72} {"Template_token": ["", "assert", "(", "(", "value", ">=", "", "&&", "value", "<=", "", ")", "&&", "", ")", ";", "O", "<<", "-", "value", ";", "}", "else", "{", "assert", "(", "", "&&", "", ")", ";"], "ground_truth": ["}"], "File": "SPUAsmPrinter10", "Func": "printROTNeg7Imm", "Target": "CellSPU", "Target_Clf": "MPU", "Compiler_Type": "LLVM", "Idx": 60866, "Length": 31, "Cover_Rate": 0.41333333333333333} {"Template_token": ["", "static", "void", "PrintUnmangledNameSafely", "(", "const", "Value", "*", "V", ",", "raw_ostream", "&", "OS", ")", "{", "for", "(", "const", "char", "*", "Name", "=", "V", "->", "getNameStart", "(", ")", ",", "*", "E", "=", "Name", "+", "V", "->", "getNameLen", "(", ")", ";"], "ground_truth": ["Name", "!=", "E", ";", "++", "Name", ")", "if", "(", "isprint", "(", "*", "Name", ")", ")", "OS", "<<", "*", "Name", ";"], "File": "SPUAsmPrinter10", "Func": "PrintUnmangledNameSafely", "Target": "CellSPU", "Target_Clf": "MPU", "Compiler_Type": "LLVM", "Idx": 60867, "Length": 58, "Cover_Rate": 0.9830508474576272} {"Template_token": ["", "Name", "!=", "E", ";", "++", "Name", ")", "if", "(", "isprint", "(", "*", "Name", ")", ")", "OS", "<<", "*", "Name", ";"], "ground_truth": ["}"], "File": "SPUAsmPrinter10", "Func": "PrintUnmangledNameSafely", "Target": "CellSPU", "Target_Clf": "MPU", "Compiler_Type": "LLVM", "Idx": 60868, "Length": 21, "Cover_Rate": 0.3559322033898305} {"Template_token": ["", "switch", "(", "F", "->", "getLinkage", "(", ")", ")", "{", "default", ":", "assert", "(", "", "&&", "", ")", ";", "case", "Function", "::", "PrivateLinkage", ":", "case", "Function", "::", "InternalLinkage", ":", "break", ";", "case", "Function", "::", "ExternalLinkage", ":", "O", "<<", "", "<<", "CurrentFnName", "<<", "", "<<", "", "<<", "CurrentFnName", "<<", "", ";", "break", ";", "case", "Function", "::", "WeakAnyLinkage", ":", "case", "Function", "::", "WeakODRLinkage", ":", "case", "Function", "::", "LinkOnceAnyLinkage", ":", "case", "Function", "::", "LinkOnceODRLinkage", ":", "O", "<<", "", "<<", "CurrentFnName", "<<", "", ";", "O", "<<", "", "<<", "CurrentFnName", "<<", "", ";"], "ground_truth": ["break", ";"], "File": "SPUAsmPrinter10", "Func": "runOnMachineFunction", "Target": "CellSPU", "Target_Clf": "MPU", "Compiler_Type": "LLVM", "Idx": 60869, "Length": 89, "Cover_Rate": 0.3047945205479452} {"Template_token": ["", "default", ":", "assert", "(", "", "&&", "", ")", ";", "case", "Function", "::", "PrivateLinkage", ":", "case", "Function", "::", "InternalLinkage", ":", "break", ";", "case", "Function", "::", "ExternalLinkage", ":", "O", "<<", "", "<<", "CurrentFnName", "<<", "", "<<", "", "<<", "CurrentFnName", "<<", "", ";", "break", ";", "case", "Function", "::", "WeakAnyLinkage", ":", "case", "Function", "::", "WeakODRLinkage", ":", "case", "Function", "::", "LinkOnceAnyLinkage", ":", "case", "Function", "::", "LinkOnceODRLinkage", ":", "O", "<<", "", "<<", "CurrentFnName", "<<", "", ";", "O", "<<", "", "<<", "CurrentFnName", "<<", "", ";", "break", ";", "}", "O", "<<", "CurrentFnName", "<<", "", ";", "DW", "->", "BeginFunction", "(", "&", "MF", ")", ";", "for", "(", "MachineFunction", "::", "const_iterator", "I", "=", "MF", ".", "begin", "(", ")", ",", "E", "=", "MF", ".", "end", "(", ")", ";", "I", "!=", "E", ";", "++", "I", ")", "{", "if", "(", "I", "!=", "MF", ".", "begin", "(", ")", ")", "{", "printBasicBlockLabel", "(", "I", ",", "true", ",", "true", ")", ";", "O", "<<", "'\\n'", ";", "}", "for", "(", "MachineBasicBlock", "::", "const_iterator", "II", "=", "I", "->", "begin", "(", ")", ",", "E", "=", "I", "->", "end", "(", ")", ";", "II", "!=", "E", ";", "++", "II", ")", "{", "printMachineInstruction", "(", "II", ")", ";", "}", "}", "O", "<<", "", "<<", "CurrentFnName", "<<", "", "<<", "CurrentFnName", "<<", "", ";", "EmitJumpTableInfo", "(", "MF", ".", "getJumpTableInfo", "(", ")", ",", "MF", ")", ";", "DW", "->", "EndFunction", "(", "&", "MF", ")", ";", "return", "false", ";"], "ground_truth": ["}"], "File": "SPUAsmPrinter10", "Func": "runOnMachineFunction", "Target": "CellSPU", "Target_Clf": "MPU", "Compiler_Type": "LLVM", "Idx": 60870, "Length": 220, "Cover_Rate": 0.7534246575342466} {"Template_token": ["", "case", "MachineOperand", "::", "MO_JumpTableIndex", ":", "O", "<<", "MAI", "->", "getPrivateGlobalPrefix", "(", ")", "<<", "", "<<", "getFunctionNumber", "(", ")", "<<", "'_'", "<<", "MO", ".", "getIndex", "(", ")", ";", "return", ";", "case", "MachineOperand", "::", "MO_ConstantPoolIndex", ":", "O", "<<", "MAI", "->", "getPrivateGlobalPrefix", "(", ")", "<<", "", "<<", "getFunctionNumber", "(", ")", "<<", "'_'", "<<", "MO", ".", "getIndex", "(", ")", ";", "return", ";", "case", "MachineOperand", "::", "MO_ExternalSymbol", ":", "if", "(", "TM", ".", "getRelocationModel", "(", ")", "!=", "Reloc", "::", "Static", ")", "{", "O", "<<", "", "<<", "MAI", "->", "getGlobalPrefix", "(", ")", "<<", "MO", ".", "getSymbolName", "(", ")", "<<", "", ";", "return", ";", "}", "O", "<<", "*", "GetExternalSymbolSymbol", "(", "MO", ".", "getSymbolName", "(", ")", ")", ";", "return", ";", "case", "MachineOperand", "::", "MO_GlobalAddress", ":"], "ground_truth": ["if", "(", "TM", ".", "getRelocationModel", "(", ")", "!=", "Reloc", "::", "Static", ")", "{"], "File": "SPUAsmPrinter11", "Func": "printOp", "Target": "CellSPU", "Target_Clf": "MPU", "Compiler_Type": "LLVM", "Idx": 60871, "Length": 129, "Cover_Rate": 0.4402730375426621} {"Template_token": ["", "case", "MachineOperand", "::", "MO_JumpTableIndex", ":", "O", "<<", "MAI", "->", "getPrivateGlobalPrefix", "(", ")", "<<", "", "<<", "getFunctionNumber", "(", ")", "<<", "'_'", "<<", "MO", ".", "getIndex", "(", ")", ";", "return", ";", "case", "MachineOperand", "::", "MO_ConstantPoolIndex", ":", "O", "<<", "MAI", "->", "getPrivateGlobalPrefix", "(", ")", "<<", "", "<<", "getFunctionNumber", "(", ")", "<<", "'_'", "<<", "MO", ".", "getIndex", "(", ")", ";", "return", ";", "case", "MachineOperand", "::", "MO_ExternalSymbol", ":", "if", "(", "TM", ".", "getRelocationModel", "(", ")", "!=", "Reloc", "::", "Static", ")", "{", "O", "<<", "", "<<", "MAI", "->", "getGlobalPrefix", "(", ")", "<<", "MO", ".", "getSymbolName", "(", ")", "<<", "", ";", "return", ";", "}", "O", "<<", "*", "GetExternalSymbolSymbol", "(", "MO", ".", "getSymbolName", "(", ")", ")", ";", "return", ";", "case", "MachineOperand", "::", "MO_GlobalAddress", ":", "if", "(", "TM", ".", "getRelocationModel", "(", ")", "!=", "Reloc", "::", "Static", ")", "{", "const", "GlobalValue", "*", "GV", "=", "MO", ".", "getGlobal", "(", ")", ";", "if", "(", "(", "(", "GV", "->", "isDeclaration", "(", ")", "||", "GV", "->", "hasWeakLinkage", "(", ")", "||", "GV", "->", "hasLinkOnceLinkage", "(", ")", "||", "GV", "->", "hasCommonLinkage", "(", ")", ")", ")", ")", "{", "O", "<<", "*", "GetSymbolWithGlobalValueBase", "(", "GV", ",", "", ")", ";", "return", ";", "}", "}", "O", "<<", "*", "Mang", "->", "getSymbol", "(", "MO", ".", "getGlobal", "(", ")", ")", ";", "return", ";", "case", "MachineOperand", "::", "MO_MCSymbol", ":", "O", "<<", "*", "(", "MO", ".", "getMCSymbol", "(", ")", ")", ";", "return", ";", "default", ":", "O", "<<", "", "<<", "MO", ".", "getType", "(", ")", "<<", "", ";", "return", ";"], "ground_truth": ["}"], "File": "SPUAsmPrinter11", "Func": "printOp", "Target": "CellSPU", "Target_Clf": "MPU", "Compiler_Type": "LLVM", "Idx": 60872, "Length": 236, "Cover_Rate": 0.8054607508532423} {"Template_token": ["", "OutStreamer", ".", "AddBlankLine", "(", ")", ";"], "ground_truth": ["}"], "File": "SPUAsmPrinter12", "Func": "EmitInstruction", "Target": "CellSPU", "Target_Clf": "MPU", "Compiler_Type": "LLVM", "Idx": 60873, "Length": 7, "Cover_Rate": 0.3333333333333333} {"Template_token": ["", "O", "<<", "getRegisterName", "(", "MO", ".", "getReg", "(", ")", ")", "<<", "", ";", "printOperand", "(", "MI", ",", "OpNo", "+", "", ")", ";"], "ground_truth": ["}"], "File": "SPUAsmPrinter12", "Func": "printMemRegReg", "Target": "CellSPU", "Target_Clf": "MPU", "Compiler_Type": "LLVM", "Idx": 60874, "Length": 23, "Cover_Rate": 0.48936170212765956} {"Template_token": ["", "O", "<<", "*", "GetExternalSymbolSymbol", "(", "MO", ".", "getSymbolName", "(", ")", ")", ";", "return", ";", "case", "MachineOperand", "::", "MO_GlobalAddress", ":", "if", "(", "TM", ".", "getRelocationModel", "(", ")", "!=", "Reloc", "::", "Static", ")", "{", "GlobalValue", "*", "GV", "=", "MO", ".", "getGlobal", "(", ")", ";", "if", "(", "(", "(", "GV", "->", "isDeclaration", "(", ")", "||", "GV", "->", "hasWeakLinkage", "(", ")", "||", "GV", "->", "hasLinkOnceLinkage", "(", ")", "||", "GV", "->", "hasCommonLinkage", "(", ")", ")", ")", ")", "{"], "ground_truth": ["O", "<<", "*", "GetSymbolWithGlobalValueBase", "(", "GV", ",", "", ")", ";"], "File": "SPUAsmPrinter12", "Func": "printOp", "Target": "CellSPU", "Target_Clf": "MPU", "Compiler_Type": "LLVM", "Idx": 60875, "Length": 83, "Cover_Rate": 0.3074074074074074} {"Template_token": ["", "void", "printOperand", "(", "const", "MachineInstr", "*", "MI", ",", "unsigned", "OpNo", ")", "{", "const", "MachineOperand", "&", "MO", "=", "MI", "->", "getOperand", "(", "OpNo", ")", ";", "if", "(", "MO", ".", "isReg", "(", ")", ")", "{"], "ground_truth": ["O", "<<", "getRegisterName", "(", "MO", ".", "getReg", "(", ")", ")", ";"], "File": "SPUAsmPrinter12", "Func": "printOperand", "Target": "CellSPU", "Target_Clf": "MPU", "Compiler_Type": "LLVM", "Idx": 60876, "Length": 44, "Cover_Rate": 0.6027397260273972} {"Template_token": ["", "void", "printRegister", "(", "const", "MachineOperand", "&", "MO", ",", "bool", "R0AsZero", ")", "{", "unsigned", "RegNo", "=", "MO", ".", "getReg", "(", ")", ";", "assert", "(", "TargetRegisterInfo", "::", "isPhysicalRegister", "(", "RegNo", ")", "&&", "", ")", ";"], "ground_truth": ["O", "<<", "getRegisterName", "(", "RegNo", ")", ";"], "File": "SPUAsmPrinter12", "Func": "printRegister", "Target": "CellSPU", "Target_Clf": "MPU", "Compiler_Type": "LLVM", "Idx": 60877, "Length": 40, "Cover_Rate": 0.975609756097561} {"Template_token": ["", "AsmPrinter", "(", "O", ",", "TM", ",", "Streamer", ")", "{"], "ground_truth": ["}"], "File": "SPUAsmPrinter12", "Func": "SPUAsmPrinter", "Target": "CellSPU", "Target_Clf": "MPU", "Compiler_Type": "LLVM", "Idx": 60879, "Length": 10, "Cover_Rate": 0.38461538461538464} {"Template_token": ["", "DW", "=", "getAnalysisIfAvailable", "<", "DwarfWriter", ">", "(", ")", ";"], "ground_truth": ["return", "Result", ";"], "File": "SPUAsmPrinter1", "Func": "doInitialization", "Target": "CellSPU", "Target_Clf": "MPU", "Compiler_Type": "LLVM", "Idx": 60880, "Length": 12, "Cover_Rate": 0.36363636363636365} {"Template_token": ["", "AU", ".", "setPreservesAll", "(", ")", ";", "AU", ".", "addRequired", "<", "MachineModuleInfo", ">", "(", ")", ";", "AU", ".", "addRequired", "<", "DwarfWriter", ">", "(", ")", ";", "AsmPrinter", "::", "getAnalysisUsage", "(", "AU", ")", ";"], "ground_truth": ["}"], "File": "SPUAsmPrinter1", "Func": "getAnalysisUsage", "Target": "CellSPU", "Target_Clf": "MPU", "Compiler_Type": "LLVM", "Idx": 60882, "Length": 32, "Cover_Rate": 0.7804878048780488} {"Template_token": ["", "AU", ".", "addRequired", "<", "MachineModuleInfo", ">", "(", ")", ";"], "ground_truth": ["AU", ".", "addRequired", "<", "DwarfWriter", ">", "(", ")", ";"], "File": "SPUAsmPrinter1", "Func": "getAnalysisUsage", "Target": "CellSPU", "Target_Clf": "MPU", "Compiler_Type": "LLVM", "Idx": 60883, "Length": 18, "Cover_Rate": 0.43902439024390244} {"Template_token": ["", "TargetMachine", "&", "getTM", "(", ")", "{"], "ground_truth": ["return", "static_cast", "<", "TargetMachine", "&", ">", "(", "TM", ")", ";"], "File": "SPUAsmPrinter1", "Func": "getTM", "Target": "CellSPU", "Target_Clf": "MPU", "Compiler_Type": "LLVM", "Idx": 60884, "Length": 16, "Cover_Rate": 0.9411764705882353} {"Template_token": ["", "TargetMachine", "&", "getTM", "(", ")", "{"], "ground_truth": ["return", "static_cast", "<", "TargetMachine", "&", ">", "(", "TM", ")", ";"], "File": "SPUAsmPrinter1", "Func": "getTM", "Target": "CellSPU", "Target_Clf": "MPU", "Compiler_Type": "LLVM", "Idx": 60885, "Length": 16, "Cover_Rate": 0.9411764705882353} {"Template_token": ["", "RegisterAsmPrinter", "<", "LinuxAsmPrinter", ">", "X", "(", "TheCellTarget", ")", ";"], "ground_truth": ["}"], "File": "SPUAsmPrinter1", "Func": "LLVMInitializeCellSPUAsmPrinter", "Target": "CellSPU", "Target_Clf": "MPU", "Compiler_Type": "LLVM", "Idx": 60887, "Length": 10, "Cover_Rate": 0.6666666666666666} {"Template_token": ["", "void", "printAddr256K", "(", "const", "MachineInstr", "*", "MI", ",", "unsigned", "OpNo", ")", "{", "if", "(", "MI", "->", "getOperand", "(", "OpNo", ")", ".", "isImm", "(", ")", ")", "{", "printS16ImmOperand", "(", "MI", ",", "OpNo", ")", ";", "}", "else", "{", "printOp", "(", "MI", "->", "getOperand", "(", "OpNo", ")", ")", ";", "if", "(", "MI", "->", "getOperand", "(", "OpNo", "+", "", ")", ".", "isImm", "(", ")", ")", "{"], "ground_truth": ["int", "displ", "=", "int", "(", "MI", "->", "getOperand", "(", "OpNo", "+", "", ")", ".", "getImm", "(", ")", ")", ";"], "File": "SPUAsmPrinter1", "Func": "printAddr256K", "Target": "CellSPU", "Target_Clf": "MPU", "Compiler_Type": "LLVM", "Idx": 60888, "Length": 81, "Cover_Rate": 0.7570093457943925} {"Template_token": ["", "if", "(", "ExtraCode", "&&", "ExtraCode", "[", "", "]", ")", "return", "true", ";", "printMemRegReg", "(", "MI", ",", "OpNo", ")", ";"], "ground_truth": ["return", "false", ";"], "File": "SPUAsmPrinter1", "Func": "PrintAsmMemoryOperand", "Target": "CellSPU", "Target_Clf": "MPU", "Compiler_Type": "LLVM", "Idx": 60889, "Length": 22, "Cover_Rate": 0.4888888888888889} {"Template_token": ["", "bool", "AsmPrinter", "::", "PrintAsmMemoryOperand", "(", "const", "MachineInstr", "*", "MI", ",", "unsigned", "OpNo", ",", "unsigned", "AsmVariant", ",", "const", "char", "*", "ExtraCode", ")", "{", "if", "(", "ExtraCode", "&&", "ExtraCode", "[", "", "]", ")", "return", "true", ";"], "ground_truth": ["printMemRegReg", "(", "MI", ",", "OpNo", ")", ";"], "File": "SPUAsmPrinter1", "Func": "PrintAsmMemoryOperand", "Target": "CellSPU", "Target_Clf": "MPU", "Compiler_Type": "LLVM", "Idx": 60890, "Length": 41, "Cover_Rate": 0.9111111111111111} {"Template_token": ["", "case", "'L'", ":"], "ground_truth": ["if", "(", "!", "MI", "->", "getOperand", "(", "OpNo", ")", ".", "isReg", "(", ")", "||", "OpNo", "+", "", "==", "MI", "->", "getNumOperands", "(", ")", "||", "!", "MI", "->", "getOperand", "(", "OpNo", "+", "", ")", ".", "isReg", "(", ")", ")", "return", "true", ";"], "File": "SPUAsmPrinter1", "Func": "PrintAsmOperand", "Target": "CellSPU", "Target_Clf": "MPU", "Compiler_Type": "LLVM", "Idx": 60891, "Length": 44, "Cover_Rate": 0.3697478991596639} {"Template_token": ["", "void", "printCallOperand", "(", "const", "MachineInstr", "*", "MI", ",", "unsigned", "OpNo", ")", "{", "printOp", "(", "MI", "->", "getOperand", "(", "OpNo", ")", ")", ";"], "ground_truth": ["}"], "File": "SPUAsmPrinter1", "Func": "printCallOperand", "Target": "CellSPU", "Target_Clf": "MPU", "Compiler_Type": "LLVM", "Idx": 60892, "Length": 23, "Cover_Rate": 1.0} {"Template_token": ["", "printOp", "(", "MI", "->", "getOperand", "(", "OpNo", ")", ")", ";"], "ground_truth": ["}"], "File": "SPUAsmPrinter1", "Func": "printCallOperand", "Target": "CellSPU", "Target_Clf": "MPU", "Compiler_Type": "LLVM", "Idx": 60893, "Length": 11, "Cover_Rate": 0.4782608695652174} {"Template_token": ["", "assert", "(", "MI", "->", "getOperand", "(", "OpNo", ")", ".", "isImm", "(", ")", "&&", "", ")", ";", "int64_t", "value", "=", "int64_t", "(", "MI", "->", "getOperand", "(", "OpNo", ")", ".", "getImm", "(", ")", ")", ";", "int16_t", "value16", "=", "int16_t", "(", "value", ")", ";", "assert", "(", "(", "value16", ">=", "-", "(", "", "<<", "(", "", "+", "", ")", ")", "&&", "value16", "<=", "(", "", "<<", "(", "", "+", "", ")", ")", "-", "", ")", "&&", "", ")", ";", "O", "<<", "(", "value16", "&", "~", "", ")", "<<", "", ";"], "ground_truth": ["printOperand", "(", "MI", ",", "OpNo", "+", "", ")", ";"], "File": "SPUAsmPrinter1", "Func": "printDFormAddr", "Target": "CellSPU", "Target_Clf": "MPU", "Compiler_Type": "LLVM", "Idx": 60894, "Length": 95, "Cover_Rate": 0.8482142857142857} {"Template_token": ["", "if", "(", "GVar", "->", "hasExternalLinkage", "(", ")", ")", "{", "O", "<<", "", "<<", "name", "<<", "'\\n'", ";", "O", "<<", "", "<<", "name", "<<", "", ";", "O", "<<", "name", "<<", "", ";", "O", "<<", "", "<<", "Size", "<<", "'\\n'", ";", "}", "else", "if", "(", "GVar", "->", "hasLocalLinkage", "(", ")", ")", "{", "O", "<<", "TAI", "->", "getLCOMMDirective", "(", ")", "<<", "name", "<<", "','", "<<", "Size", ";", "}", "else", "{", "O", "<<", "", "<<", "name", "<<", "','", "<<", "Size", ";", "}", "O", "<<", "", "<<", "TAI", "->", "getCommentString", "(", ")", "<<", "", ";", "WriteAsOperand", "(", "O", ",", "GVar", ",", "false", ",", "GVar", "->", "getParent", "(", ")", ")", ";", "O", "<<", "", ";", "return", ";", "}", "switch", "(", "GVar", "->", "getLinkage", "(", ")", ")", "{", "case", "GlobalValue", "::", "LinkOnceAnyLinkage", ":", "case", "GlobalValue", "::", "LinkOnceODRLinkage", ":", "case", "GlobalValue", "::", "WeakAnyLinkage", ":", "case", "GlobalValue", "::", "WeakODRLinkage", ":"], "ground_truth": ["case", "GlobalValue", "::", "CommonLinkage", ":"], "File": "SPUAsmPrinter1", "Func": "PrintGlobalVariable", "Target": "CellSPU", "Target_Clf": "MPU", "Compiler_Type": "LLVM", "Idx": 60895, "Length": 146, "Cover_Rate": 0.3340961098398169} {"Template_token": ["", "std", "::", "string", "name", "=", "Mang", "->", "getMangledName", "(", "GVar", ")", ";", "printVisibility", "(", "name", ",", "GVar", "->", "getVisibility", "(", ")", ")", ";", "Constant", "*", "C", "=", "GVar", "->", "getInitializer", "(", ")", ";", "const", "Type", "*", "Type", "=", "C", "->", "getType", "(", ")", ";", "unsigned", "Size", "=", "TD", "->", "getTypeAllocSize", "(", "Type", ")", ";", "unsigned", "Align", "=", "TD", "->", "getPreferredAlignmentLog", "(", "GVar", ")", ";", "OutStreamer", ".", "SwitchSection", "(", "getObjFileLowering", "(", ")", ".", "SectionForGlobal", "(", "GVar", ",", "Mang", ",", "TM", ")", ")", ";", "if", "(", "C", "->", "isNullValue", "(", ")", "&&", "!", "GVar", "->", "hasSection", "(", ")", "&&", "(", "GVar", "->", "hasLocalLinkage", "(", ")", "||", "GVar", "->", "hasExternalLinkage", "(", ")", "||", "GVar", "->", "isWeakForLinker", "(", ")", ")", ")", "{", "if", "(", "Size", "==", "", ")", "Size", "=", "", ";", "if", "(", "GVar", "->", "hasExternalLinkage", "(", ")", ")", "{", "O", "<<", "", "<<", "name", "<<", "'\\n'", ";", "O", "<<", "", "<<", "name", "<<", "", ";", "O", "<<", "name", "<<", "", ";", "O", "<<", "", "<<", "Size", "<<", "'\\n'", ";", "}", "else", "if", "(", "GVar", "->", "hasLocalLinkage", "(", ")", ")", "{", "O", "<<", "TAI", "->", "getLCOMMDirective", "(", ")", "<<", "name", "<<", "','", "<<", "Size", ";", "}", "else", "{", "O", "<<", "", "<<", "name", "<<", "','", "<<", "Size", ";", "}", "O", "<<", "", "<<", "TAI", "->", "getCommentString", "(", ")", "<<", "", ";", "WriteAsOperand", "(", "O", ",", "GVar", ",", "false", ",", "GVar", "->", "getParent", "(", ")", ")", ";", "O", "<<", "", ";", "return", ";", "}", "switch", "(", "GVar", "->", "getLinkage", "(", ")", ")", "{", "case", "GlobalValue", "::", "LinkOnceAnyLinkage", ":", "case", "GlobalValue", "::", "LinkOnceODRLinkage", ":", "case", "GlobalValue", "::", "WeakAnyLinkage", ":", "case", "GlobalValue", "::", "WeakODRLinkage", ":", "case", "GlobalValue", "::", "CommonLinkage", ":", "O", "<<", "", "<<", "name", "<<", "'\\n'", "<<", "", "<<", "name", "<<", "", "<<", "", "<<", "name", "<<", "'\\n'", ";", "break", ";", "case", "GlobalValue", "::", "AppendingLinkage", ":", "case", "GlobalValue", "::", "ExternalLinkage", ":", "O", "<<", "", "<<", "name", "<<", "'\\n'", "<<", "", "<<", "name", "<<", "", ";", "case", "GlobalValue", "::", "PrivateLinkage", ":", "case", "GlobalValue", "::", "LinkerPrivateLinkage", ":", "case", "GlobalValue", "::", "InternalLinkage", ":", "break", ";", "default", ":", "llvm_report_error", "(", "", ")", ";", "}", "EmitAlignment", "(", "Align", ",", "GVar", ")", ";"], "ground_truth": ["O", "<<", "name", "<<", "", "<<", "TAI", "->", "getCommentString", "(", ")", "<<", "", ";"], "File": "SPUAsmPrinter1", "Func": "PrintGlobalVariable", "Target": "CellSPU", "Target_Clf": "MPU", "Compiler_Type": "LLVM", "Idx": 60896, "Length": 366, "Cover_Rate": 0.8375286041189931} {"Template_token": ["", "void", "printHBROperand", "(", "const", "MachineInstr", "*", "MI", ",", "unsigned", "OpNo", ")", "{", "O", "<<", "", ";"], "ground_truth": ["printOp", "(", "MI", "->", "getOperand", "(", "OpNo", ")", ")", ";"], "File": "SPUAsmPrinter1", "Func": "printHBROperand", "Target": "CellSPU", "Target_Clf": "MPU", "Compiler_Type": "LLVM", "Idx": 60898, "Length": 26, "Cover_Rate": 0.9629629629629629} {"Template_token": ["", "++", "EmittedInsts", ";", "printInstruction", "(", "MI", ")", ";"], "ground_truth": ["}"], "File": "SPUAsmPrinter1", "Func": "printMachineInstruction", "Target": "CellSPU", "Target_Clf": "MPU", "Compiler_Type": "LLVM", "Idx": 60899, "Length": 9, "Cover_Rate": 0.45} {"Template_token": ["", "void", "printMemRegReg", "(", "const", "MachineInstr", "*", "MI", ",", "unsigned", "OpNo", ")", "{", "const", "MachineOperand", "&", "MO", "=", "MI", "->", "getOperand", "(", "OpNo", ")", ";", "O", "<<", "TM", ".", "getRegisterInfo", "(", ")", "->", "get", "(", "MO", ".", "getReg", "(", ")", ")", ".", "AsmName", ";", "O", "<<", "", ";"], "ground_truth": ["printOperand", "(", "MI", ",", "OpNo", "+", "", ")", ";"], "File": "SPUAsmPrinter1", "Func": "printMemRegReg", "Target": "CellSPU", "Target_Clf": "MPU", "Compiler_Type": "LLVM", "Idx": 60900, "Length": 56, "Cover_Rate": 0.9824561403508771} {"Template_token": ["", "O", "<<", "TM", ".", "getRegisterInfo", "(", ")", "->", "get", "(", "MO", ".", "getReg", "(", ")", ")", ".", "AsmName", ";", "O", "<<", "", ";"], "ground_truth": ["printOperand", "(", "MI", ",", "OpNo", "+", "", ")", ";"], "File": "SPUAsmPrinter1", "Func": "printMemRegReg", "Target": "CellSPU", "Target_Clf": "MPU", "Compiler_Type": "LLVM", "Idx": 60901, "Length": 32, "Cover_Rate": 0.5614035087719298} {"Template_token": ["", "case", "MachineOperand", "::", "MO_Immediate", ":", "llvm_report_error", "(", "", ")", ";", "return", ";", "case", "MachineOperand", "::", "MO_MachineBasicBlock", ":", "printBasicBlockLabel", "(", "MO", ".", "getMBB", "(", ")", ")", ";", "return", ";", "case", "MachineOperand", "::", "MO_JumpTableIndex", ":", "O", "<<", "TAI", "->", "getPrivateGlobalPrefix", "(", ")", "<<", "", "<<", "getFunctionNumber", "(", ")", "<<", "'_'", "<<", "MO", ".", "getIndex", "(", ")", ";", "return", ";", "case", "MachineOperand", "::", "MO_ConstantPoolIndex", ":", "O", "<<", "TAI", "->", "getPrivateGlobalPrefix", "(", ")", "<<", "", "<<", "getFunctionNumber", "(", ")", "<<", "'_'", "<<", "MO", ".", "getIndex", "(", ")", ";", "return", ";", "case", "MachineOperand", "::", "MO_ExternalSymbol", ":", "if", "(", "TM", ".", "getRelocationModel", "(", ")", "!=", "Reloc", "::", "Static", ")", "{", "std", "::", "string", "Name", "(", "TAI", "->", "getGlobalPrefix", "(", ")", ")", ";", "Name", "+=", "MO", ".", "getSymbolName", "(", ")", ";", "GVStubs", ".", "insert", "(", "Name", ")", ";", "O", "<<", "", "<<", "Name", "<<", "", ";", "return", ";", "}", "O", "<<", "TAI", "->", "getGlobalPrefix", "(", ")", "<<", "MO", ".", "getSymbolName", "(", ")", ";", "return", ";"], "ground_truth": ["case", "MachineOperand", "::", "MO_GlobalAddress", ":", "{"], "File": "SPUAsmPrinter1", "Func": "printOp", "Target": "CellSPU", "Target_Clf": "MPU", "Compiler_Type": "LLVM", "Idx": 60902, "Length": 164, "Cover_Rate": 0.5578231292517006} {"Template_token": ["", "O", "<<", "TM", ".", "getRegisterInfo", "(", ")", "->", "get", "(", "MO", ".", "getReg", "(", ")", ")", ".", "AsmName", ";", "}", "else", "if", "(", "MO", ".", "isImm", "(", ")", ")", "{", "O", "<<", "MO", ".", "getImm", "(", ")", ";", "}", "else", "{", "printOp", "(", "MO", ")", ";"], "ground_truth": ["}"], "File": "SPUAsmPrinter1", "Func": "printOperand", "Target": "CellSPU", "Target_Clf": "MPU", "Compiler_Type": "LLVM", "Idx": 60903, "Length": 47, "Cover_Rate": 0.4845360824742268} {"Template_token": ["", "assert", "(", "TargetRegisterInfo", "::", "isPhysicalRegister", "(", "MO", ".", "getReg", "(", ")", ")", "&&", "", ")", ";", "O", "<<", "TM", ".", "getRegisterInfo", "(", ")", "->", "get", "(", "MO", ".", "getReg", "(", ")", ")", ".", "AsmName", ";", "}", "else", "if", "(", "MO", ".", "isImm", "(", ")", ")", "{", "O", "<<", "MO", ".", "getImm", "(", ")", ";"], "ground_truth": ["}", "else", "{"], "File": "SPUAsmPrinter1", "Func": "printOperand", "Target": "CellSPU", "Target_Clf": "MPU", "Compiler_Type": "LLVM", "Idx": 60904, "Length": 57, "Cover_Rate": 0.5876288659793815} {"Template_token": ["", "void", "printPCRelativeOperand", "(", "const", "MachineInstr", "*", "MI", ",", "unsigned", "OpNo", ")", "{", "printOp", "(", "MI", "->", "getOperand", "(", "OpNo", ")", ")", ";"], "ground_truth": ["}"], "File": "SPUAsmPrinter1", "Func": "printPCRelativeOperand", "Target": "CellSPU", "Target_Clf": "MPU", "Compiler_Type": "LLVM", "Idx": 60905, "Length": 23, "Cover_Rate": 1.0} {"Template_token": ["", "void", "printPCRelativeOperand", "(", "const", "MachineInstr", "*", "MI", ",", "unsigned", "OpNo", ")", "{"], "ground_truth": ["printOp", "(", "MI", "->", "getOperand", "(", "OpNo", ")", ")", ";"], "File": "SPUAsmPrinter1", "Func": "printPCRelativeOperand", "Target": "CellSPU", "Target_Clf": "MPU", "Compiler_Type": "LLVM", "Idx": 60906, "Length": 22, "Cover_Rate": 0.9565217391304348} {"Template_token": ["", "int", "value", "=", "(", "int", ")", "MI", "->", "getOperand", "(", "OpNo", ")", ".", "getImm", "(", ")", ";", "assert", "(", "(", "value", ">=", "", "&&", "value", "<", "", ")", "&&", "", ")", ";", "O", "<<", "-", "value", ";"], "ground_truth": ["}", "else", "{"], "File": "SPUAsmPrinter1", "Func": "printROTHNeg7Imm", "Target": "CellSPU", "Target_Clf": "MPU", "Compiler_Type": "LLVM", "Idx": 60908, "Length": 40, "Cover_Rate": 0.547945205479452} {"Template_token": ["", "int", "value", "=", "(", "int", ")", "MI", "->", "getOperand", "(", "OpNo", ")", ".", "getImm", "(", ")", ";", "assert", "(", "(", "value", ">=", "", "&&", "value", "<=", "", ")", "&&", "", ")", ";", "O", "<<", "-", "value", ";", "}", "else", "{"], "ground_truth": ["llvm_unreachable", "(", "", ")", ";"], "File": "SPUAsmPrinter1", "Func": "printROTNeg7Imm", "Target": "CellSPU", "Target_Clf": "MPU", "Compiler_Type": "LLVM", "Idx": 60909, "Length": 45, "Cover_Rate": 0.6164383561643836} {"Template_token": ["", "void", "printS10ImmOperand", "(", "const", "MachineInstr", "*", "MI", ",", "unsigned", "OpNo", ")", "{"], "ground_truth": ["short", "value", "=", "(", "short", ")", "(", "(", "(", "int", ")", "MI", "->", "getOperand", "(", "OpNo", ")", ".", "getImm", "(", ")", "<<", "", ")", ">>", "", ")", ";"], "File": "SPUAsmPrinter1", "Func": "printS10ImmOperand", "Target": "CellSPU", "Target_Clf": "MPU", "Compiler_Type": "LLVM", "Idx": 60910, "Length": 40, "Cover_Rate": 0.5633802816901409} {"Template_token": ["", "void", "printS10ImmOperand", "(", "const", "MachineInstr", "*", "MI", ",", "unsigned", "OpNo", ")", "{"], "ground_truth": ["short", "value", "=", "(", "short", ")", "(", "(", "(", "int", ")", "MI", "->", "getOperand", "(", "OpNo", ")", ".", "getImm", "(", ")", "<<", "", ")", ">>", "", ")", ";"], "File": "SPUAsmPrinter1", "Func": "printS10ImmOperand", "Target": "CellSPU", "Target_Clf": "MPU", "Compiler_Type": "LLVM", "Idx": 60911, "Length": 40, "Cover_Rate": 0.5633802816901409} {"Template_token": ["", "O", "<<", "(", "short", ")", "MI", "->", "getOperand", "(", "OpNo", ")", ".", "getImm", "(", ")", ";"], "ground_truth": ["}"], "File": "SPUAsmPrinter1", "Func": "printS16ImmOperand", "Target": "CellSPU", "Target_Clf": "MPU", "Compiler_Type": "LLVM", "Idx": 60913, "Length": 17, "Cover_Rate": 0.5862068965517241} {"Template_token": ["", "}", "else", "{", "printOp", "(", "MI", "->", "getOperand", "(", "OpNo", ")", ")", ";", "O", "<<", "", ";"], "ground_truth": ["}"], "File": "SPUAsmPrinter1", "Func": "printSymbolHi", "Target": "CellSPU", "Target_Clf": "MPU", "Compiler_Type": "LLVM", "Idx": 60915, "Length": 18, "Cover_Rate": 0.34615384615384615} {"Template_token": ["", "}", "else", "{", "printOp", "(", "MI", "->", "getOperand", "(", "OpNo", ")", ")", ";", "O", "<<", "", ";", "}"], "ground_truth": ["}"], "File": "SPUAsmPrinter1", "Func": "printSymbolLo", "Target": "CellSPU", "Target_Clf": "MPU", "Compiler_Type": "LLVM", "Idx": 60916, "Length": 19, "Cover_Rate": 0.36538461538461536} {"Template_token": ["", "printS16ImmOperand", "(", "MI", ",", "OpNo", ")", ";", "}", "else", "{", "printOp", "(", "MI", "->", "getOperand", "(", "OpNo", ")", ")", ";", "O", "<<", "", ";", "}"], "ground_truth": ["}"], "File": "SPUAsmPrinter1", "Func": "printSymbolLo", "Target": "CellSPU", "Target_Clf": "MPU", "Compiler_Type": "LLVM", "Idx": 60917, "Length": 26, "Cover_Rate": 0.5} {"Template_token": ["", "void", "printSymbolLSA", "(", "const", "MachineInstr", "*", "MI", ",", "unsigned", "OpNo", ")", "{", "printOp", "(", "MI", "->", "getOperand", "(", "OpNo", ")", ")", ";"], "ground_truth": ["}"], "File": "SPUAsmPrinter1", "Func": "printSymbolLSA", "Target": "CellSPU", "Target_Clf": "MPU", "Compiler_Type": "LLVM", "Idx": 60918, "Length": 23, "Cover_Rate": 1.0} {"Template_token": ["", "printOp", "(", "MI", "->", "getOperand", "(", "OpNo", ")", ")", ";"], "ground_truth": ["}"], "File": "SPUAsmPrinter1", "Func": "printSymbolLSA", "Target": "CellSPU", "Target_Clf": "MPU", "Compiler_Type": "LLVM", "Idx": 60919, "Length": 11, "Cover_Rate": 0.4782608695652174} {"Template_token": ["", "assert", "(", "(", "value", "<=", "(", "", "<<", "", ")", "-", "", ")", "&&", "", ")", ";", "O", "<<", "value", ";"], "ground_truth": ["}"], "File": "SPUAsmPrinter1", "Func": "printU10ImmOperand", "Target": "CellSPU", "Target_Clf": "MPU", "Compiler_Type": "LLVM", "Idx": 60920, "Length": 22, "Cover_Rate": 0.3548387096774194} {"Template_token": ["", "assert", "(", "(", "value", "<=", "(", "", "<<", "", ")", "-", "", ")", "&&", "", ")", ";", "O", "<<", "value", ";"], "ground_truth": ["}"], "File": "SPUAsmPrinter1", "Func": "printU10ImmOperand", "Target": "CellSPU", "Target_Clf": "MPU", "Compiler_Type": "LLVM", "Idx": 60921, "Length": 22, "Cover_Rate": 0.3548387096774194} {"Template_token": ["", "void", "printU16ImmOperand", "(", "const", "MachineInstr", "*", "MI", ",", "unsigned", "OpNo", ")", "{", "O", "<<", "(", "unsigned", "short", ")", "MI", "->", "getOperand", "(", "OpNo", ")", ".", "getImm", "(", ")", ";"], "ground_truth": ["}"], "File": "SPUAsmPrinter1", "Func": "printU16ImmOperand", "Target": "CellSPU", "Target_Clf": "MPU", "Compiler_Type": "LLVM", "Idx": 60923, "Length": 30, "Cover_Rate": 1.0} {"Template_token": ["", "void", "printU18ImmOperand", "(", "const", "MachineInstr", "*", "MI", ",", "unsigned", "OpNo", ")", "{"], "ground_truth": ["unsigned", "int", "value", "=", "MI", "->", "getOperand", "(", "OpNo", ")", ".", "getImm", "(", ")", ";"], "File": "SPUAsmPrinter1", "Func": "printU18ImmOperand", "Target": "CellSPU", "Target_Clf": "MPU", "Compiler_Type": "LLVM", "Idx": 60924, "Length": 27, "Cover_Rate": 0.574468085106383} {"Template_token": ["", "O", "<<", "(", "unsigned", ")", "MI", "->", "getOperand", "(", "OpNo", ")", ".", "getImm", "(", ")", ";"], "ground_truth": ["}"], "File": "SPUAsmPrinter1", "Func": "printU32ImmOperand", "Target": "CellSPU", "Target_Clf": "MPU", "Compiler_Type": "LLVM", "Idx": 60925, "Length": 17, "Cover_Rate": 0.5862068965517241} {"Template_token": ["", "void", "printU7ImmOperand", "(", "const", "MachineInstr", "*", "MI", ",", "unsigned", "OpNo", ")", "{", "unsigned", "int", "value", "=", "MI", "->", "getOperand", "(", "OpNo", ")", ".", "getImm", "(", ")", ";", "assert", "(", "value", "<", "(", "", "<<", "", ")", "&&", "", ")", ";"], "ground_truth": ["O", "<<", "value", ";"], "File": "SPUAsmPrinter1", "Func": "printU7ImmOperand", "Target": "CellSPU", "Target_Clf": "MPU", "Compiler_Type": "LLVM", "Idx": 60927, "Length": 44, "Cover_Rate": 0.9777777777777777} {"Template_token": ["", "void", "printU7ImmOperand", "(", "const", "MachineInstr", "*", "MI", ",", "unsigned", "OpNo", ")", "{", "unsigned", "int", "value", "=", "MI", "->", "getOperand", "(", "OpNo", ")", ".", "getImm", "(", ")", ";", "assert", "(", "value", "<", "(", "", "<<", "", ")", "&&", "", ")", ";"], "ground_truth": ["O", "<<", "value", ";"], "File": "SPUAsmPrinter1", "Func": "printU7ImmOperand", "Target": "CellSPU", "Target_Clf": "MPU", "Compiler_Type": "LLVM", "Idx": 60928, "Length": 44, "Cover_Rate": 0.9777777777777777} {"Template_token": ["", "void", "printHBROperand", "(", "const", "MachineInstr", "*", "MI", ",", "unsigned", "OpNo", ",", "raw_ostream", "&", "O", ")", "{", "O", "<<", "", ";"], "ground_truth": ["printOp", "(", "MI", "->", "getOperand", "(", "OpNo", ")", ",", "O", ")", ";"], "File": "SPUAsmPrinter2", "Func": "printHBROperand", "Target": "CellSPU", "Target_Clf": "MPU", "Compiler_Type": "LLVM", "Idx": 60929, "Length": 32, "Cover_Rate": 0.9696969696969697} {"Template_token": ["", "O", "<<", "", ";", "printOp", "(", "MI", "->", "getOperand", "(", "OpNo", ")", ",", "O", ")", ";"], "ground_truth": ["}"], "File": "SPUAsmPrinter2", "Func": "printHBROperand", "Target": "CellSPU", "Target_Clf": "MPU", "Compiler_Type": "LLVM", "Idx": 60930, "Length": 17, "Cover_Rate": 0.5151515151515151} {"Template_token": ["", "case", "MachineOperand", "::", "MO_JumpTableIndex", ":", "O", "<<", "MAI", "->", "getPrivateGlobalPrefix", "(", ")", "<<", "", "<<", "getFunctionNumber", "(", ")", "<<", "'_'", "<<", "MO", ".", "getIndex", "(", ")", ";", "return", ";", "case", "MachineOperand", "::", "MO_ConstantPoolIndex", ":", "O", "<<", "MAI", "->", "getPrivateGlobalPrefix", "(", ")", "<<", "", "<<", "getFunctionNumber", "(", ")", "<<", "'_'", "<<", "MO", ".", "getIndex", "(", ")", ";", "return", ";", "case", "MachineOperand", "::", "MO_ExternalSymbol", ":", "if", "(", "TM", ".", "getRelocationModel", "(", ")", "!=", "Reloc", "::", "Static", ")", "{", "O", "<<", "", "<<", "MAI", "->", "getGlobalPrefix", "(", ")", "<<", "MO", ".", "getSymbolName", "(", ")", "<<", "", ";", "return", ";", "}", "O", "<<", "*", "GetExternalSymbolSymbol", "(", "MO", ".", "getSymbolName", "(", ")", ")", ";", "return", ";", "case", "MachineOperand", "::", "MO_GlobalAddress", ":", "if", "(", "TM", ".", "getRelocationModel", "(", ")", "!=", "Reloc", "::", "Static", ")", "{"], "ground_truth": ["const", "GlobalValue", "*", "GV", "=", "MO", ".", "getGlobal", "(", ")", ";"], "File": "SPUAsmPrinter2", "Func": "printOp", "Target": "CellSPU", "Target_Clf": "MPU", "Compiler_Type": "LLVM", "Idx": 60931, "Length": 140, "Cover_Rate": 0.509090909090909} {"Template_token": ["", "return", ";", "}", "O", "<<", "*", "GetExternalSymbolSymbol", "(", "MO", ".", "getSymbolName", "(", ")", ")", ";", "return", ";", "case", "MachineOperand", "::", "MO_GlobalAddress", ":", "if", "(", "TM", ".", "getRelocationModel", "(", ")", "!=", "Reloc", "::", "Static", ")", "{", "const", "GlobalValue", "*", "GV", "=", "MO", ".", "getGlobal", "(", ")", ";", "if", "(", "(", "(", "GV", "->", "isDeclaration", "(", ")", "||", "GV", "->", "hasWeakLinkage", "(", ")", "||", "GV", "->", "hasLinkOnceLinkage", "(", ")", "||", "GV", "->", "hasCommonLinkage", "(", ")", ")", ")", ")", "{"], "ground_truth": ["O", "<<", "*", "GetSymbolWithGlobalValueBase", "(", "GV", ",", "", ")", ";"], "File": "SPUAsmPrinter2", "Func": "printOp", "Target": "CellSPU", "Target_Clf": "MPU", "Compiler_Type": "LLVM", "Idx": 60932, "Length": 87, "Cover_Rate": 0.31636363636363635} {"Template_token": ["", "assert", "(", "TargetRegisterInfo", "::", "isPhysicalRegister", "(", "RegNo", ")", "&&", "", ")", ";"], "ground_truth": ["O", "<<", "getRegisterName", "(", "RegNo", ")", ";"], "File": "SPUAsmPrinter2", "Func": "printRegister", "Target": "CellSPU", "Target_Clf": "MPU", "Compiler_Type": "LLVM", "Idx": 60933, "Length": 19, "Cover_Rate": 0.4222222222222222} {"Template_token": ["", "void", "printS7ImmOperand", "(", "const", "MachineInstr", "*", "MI", ",", "unsigned", "OpNo", ",", "raw_ostream", "&", "O", ")", "{", "int", "value", "=", "MI", "->", "getOperand", "(", "OpNo", ")", ".", "getImm", "(", ")", ";"], "ground_truth": ["value", "=", "(", "value", "<<", "(", "", "-", "", ")", ")", ">>", "(", "", "-", "", ")", ";"], "File": "SPUAsmPrinter2", "Func": "printS7ImmOperand", "Target": "CellSPU", "Target_Clf": "MPU", "Compiler_Type": "LLVM", "Idx": 60934, "Length": 48, "Cover_Rate": 0.6075949367088608} {"Template_token": ["", "value", "=", "(", "value", "<<", "(", "", "-", "", ")", ")", ">>", "(", "", "-", "", ")", ";", "assert", "(", "(", "value", ">=", "-", "(", "", "<<", "", ")", "&&", "value", "<=", "(", "", "<<", "", ")", "-", "", ")", "&&", "", ")", ";"], "ground_truth": ["O", "<<", "value", ";"], "File": "SPUAsmPrinter2", "Func": "printS7ImmOperand", "Target": "CellSPU", "Target_Clf": "MPU", "Compiler_Type": "LLVM", "Idx": 60935, "Length": 48, "Cover_Rate": 0.6075949367088608} {"Template_token": ["", "O", "<<", "(", "unsigned", ")", "MI", "->", "getOperand", "(", "OpNo", ")", ".", "getImm", "(", ")", ";"], "ground_truth": ["}"], "File": "SPUAsmPrinter2", "Func": "printU32ImmOperand", "Target": "CellSPU", "Target_Clf": "MPU", "Compiler_Type": "LLVM", "Idx": 60936, "Length": 17, "Cover_Rate": 0.5151515151515151} {"Template_token": ["", "if", "(", "EmitSpecialLLVMGlobal", "(", "GVar", ")", ")", "return", ";", "std", "::", "string", "name", "=", "Mang", "->", "getValueName", "(", "GVar", ")", ";", "printVisibility", "(", "name", ",", "GVar", "->", "getVisibility", "(", ")", ")", ";", "Constant", "*", "C", "=", "GVar", "->", "getInitializer", "(", ")", ";", "const", "Type", "*", "Type", "=", "C", "->", "getType", "(", ")", ";", "unsigned", "Size", "=", "TD", "->", "getTypeAllocSize", "(", "Type", ")", ";", "unsigned", "Align", "=", "TD", "->", "getPreferredAlignmentLog", "(", "GVar", ")", ";", "SwitchToSection", "(", "TAI", "->", "SectionForGlobal", "(", "GVar", ")", ")", ";", "if", "(", "C", "->", "isNullValue", "(", ")", "&&", "!", "GVar", "->", "hasSection", "(", ")", "&&", "(", "GVar", "->", "hasLocalLinkage", "(", ")", "||", "GVar", "->", "hasExternalLinkage", "(", ")", "||", "GVar", "->", "isWeakForLinker", "(", ")", ")", ")", "{", "if", "(", "Size", "==", "", ")", "Size", "=", "", ";", "if", "(", "GVar", "->", "hasExternalLinkage", "(", ")", ")", "{", "O", "<<", "", "<<", "name", "<<", "'\\n'", ";", "O", "<<", "", "<<", "name", "<<", "", ";", "O", "<<", "name", "<<", "", ";", "O", "<<", "", "<<", "Size", "<<", "'\\n'", ";", "}", "else", "if", "(", "GVar", "->", "hasLocalLinkage", "(", ")", ")", "{", "O", "<<", "TAI", "->", "getLCOMMDirective", "(", ")", "<<", "name", "<<", "','", "<<", "Size", ";", "}", "else", "{", "O", "<<", "", "<<", "name", "<<", "','", "<<", "Size", ";", "}", "O", "<<", "", "<<", "TAI", "->", "getCommentString", "(", ")", "<<", "", ";", "PrintUnmangledNameSafely", "(", "GVar", ",", "O", ")", ";"], "ground_truth": ["O", "<<", "", ";"], "File": "SPUAsmPrinter3", "Func": "printModuleLevelGV", "Target": "CellSPU", "Target_Clf": "MPU", "Compiler_Type": "LLVM", "Idx": 60940, "Length": 230, "Cover_Rate": 0.5215419501133787} {"Template_token": ["", "if", "(", "!", "MI", "->", "getOperand", "(", "OpNo", ")", ".", "isReg", "(", ")", "||", "OpNo", "+", "", "==", "MI", "->", "getNumOperands", "(", ")", "||", "!", "MI", "->", "getOperand", "(", "OpNo", "+", "", ")", ".", "isReg", "(", ")", ")", "return", "true", ";", "++", "OpNo", ";", "break", ";", "}", "}"], "ground_truth": ["printOperand", "(", "MI", ",", "OpNo", ",", "O", ")", ";"], "File": "SPUAsmPrinter5", "Func": "PrintAsmOperand", "Target": "CellSPU", "Target_Clf": "MPU", "Compiler_Type": "LLVM", "Idx": 60941, "Length": 57, "Cover_Rate": 0.41304347826086957} {"Template_token": ["", "short", "value", "=", "MI", "->", "getOperand", "(", "OpNo", ")", ".", "getImm", "(", ")", ";", "assert", "(", "(", "value", ">=", "-", "(", "", "<<", "", ")", "&&", "value", "<=", "(", "", "<<", "", ")", "-", "", ")", "&&", "", ")", ";", "O", "<<", "value", ";"], "ground_truth": ["}"], "File": "SPUAsmPrinter7", "Func": "printS10ImmOperand", "Target": "CellSPU", "Target_Clf": "MPU", "Compiler_Type": "LLVM", "Idx": 60942, "Length": 45, "Cover_Rate": 0.7377049180327869} {"Template_token": ["", "void", "printS10ImmOperand", "(", "const", "MachineInstr", "*", "MI", ",", "unsigned", "OpNo", ",", "raw_ostream", "&", "O", ")", "{", "short", "value", "=", "MI", "->", "getOperand", "(", "OpNo", ")", ".", "getImm", "(", ")", ";", "assert", "(", "(", "value", ">=", "-", "(", "", "<<", "", ")", "&&", "value", "<=", "(", "", "<<", "", ")", "-", "", ")", "&&", "", ")", ";", "O", "<<", "value", ";"], "ground_truth": ["}"], "File": "SPUAsmPrinter7", "Func": "printS10ImmOperand", "Target": "CellSPU", "Target_Clf": "MPU", "Compiler_Type": "LLVM", "Idx": 60943, "Length": 61, "Cover_Rate": 1.0} {"Template_token": ["", "short", "value", "=", "MI", "->", "getOperand", "(", "OpNo", ")", ".", "getImm", "(", ")", ";", "assert", "(", "(", "value", "<=", "(", "", "<<", "", ")", "-", "", ")", "&&", "", ")", ";", "O", "<<", "value", ";"], "ground_truth": ["}"], "File": "SPUAsmPrinter7", "Func": "printU10ImmOperand", "Target": "CellSPU", "Target_Clf": "MPU", "Compiler_Type": "LLVM", "Idx": 60944, "Length": 36, "Cover_Rate": 0.6923076923076923} {"Template_token": ["", "assert", "(", "(", "value", "<=", "(", "", "<<", "", ")", "-", "", ")", "&&", "", ")", ";", "O", "<<", "value", ";"], "ground_truth": ["}"], "File": "SPUAsmPrinter7", "Func": "printU10ImmOperand", "Target": "CellSPU", "Target_Clf": "MPU", "Compiler_Type": "LLVM", "Idx": 60945, "Length": 22, "Cover_Rate": 0.4230769230769231} {"Template_token": ["", "switch", "(", "MO", ".", "getType", "(", ")", ")", "{", "case", "MachineOperand", "::", "MO_Immediate", ":", "llvm_report_error", "(", "", ")", ";", "return", ";", "case", "MachineOperand", "::", "MO_MachineBasicBlock", ":", "O", "<<", "*", "MO", ".", "getMBB", "(", ")", "->", "getSymbol", "(", "OutContext", ")", ";", "return", ";", "case", "MachineOperand", "::", "MO_JumpTableIndex", ":", "O", "<<", "MAI", "->", "getPrivateGlobalPrefix", "(", ")", "<<", "", "<<", "getFunctionNumber", "(", ")", "<<", "'_'", "<<", "MO", ".", "getIndex", "(", ")", ";", "return", ";", "case", "MachineOperand", "::", "MO_ConstantPoolIndex", ":"], "ground_truth": ["O", "<<", "MAI", "->", "getPrivateGlobalPrefix", "(", ")", "<<", "", "<<", "getFunctionNumber", "(", ")", "<<", "'_'", "<<", "MO", ".", "getIndex", "(", ")", ";"], "File": "SPUAsmPrinter8", "Func": "printOp", "Target": "CellSPU", "Target_Clf": "MPU", "Compiler_Type": "LLVM", "Idx": 60946, "Length": 98, "Cover_Rate": 0.3643122676579926} {"Template_token": ["", "AsmPrinter", "(", "O", ",", "TM", ",", "Ctx", ",", "Streamer", ",", "T", ")", "{"], "ground_truth": ["}"], "File": "SPUAsmPrinter8", "Func": "SPUAsmPrinter", "Target": "CellSPU", "Target_Clf": "MPU", "Compiler_Type": "LLVM", "Idx": 60947, "Length": 14, "Cover_Rate": 0.358974358974359} {"Template_token": ["", "explicit", "AsmPrinter", "(", "formatted_raw_ostream", "&", "O", ",", "TargetMachine", "&", "TM", ",", "MCContext", "&", "Ctx", ",", "MCStreamer", "&", "Streamer", ",", "const", "MCAsmInfo", "*", "T", ")", ":", "AsmPrinter", "(", "O", ",", "TM", ",", "Ctx", ",", "Streamer", ",", "T", ")", "{"], "ground_truth": ["}"], "File": "SPUAsmPrinter8", "Func": "SPUAsmPrinter", "Target": "CellSPU", "Target_Clf": "MPU", "Compiler_Type": "LLVM", "Idx": 60948, "Length": 39, "Cover_Rate": 1.0} {"Template_token": ["", "printInstruction", "(", "MI", ",", "OS", ")", ";", "OutStreamer", ".", "EmitRawText", "(", "OS", ".", "str", "(", ")", ")", ";"], "ground_truth": ["}"], "File": "SPUAsmPrinter", "Func": "EmitInstruction", "Target": "CellSPU", "Target_Clf": "MPU", "Compiler_Type": "LLVM", "Idx": 60949, "Length": 19, "Cover_Rate": 0.475} {"Template_token": ["", "printInstruction", "(", "MI", ",", "OS", ")", ";", "OutStreamer", ".", "EmitRawText", "(", "OS", ".", "str", "(", ")", ")", ";"], "ground_truth": ["}"], "File": "SPUAsmPrinter", "Func": "EmitInstruction", "Target": "CellSPU", "Target_Clf": "MPU", "Compiler_Type": "LLVM", "Idx": 60950, "Length": 19, "Cover_Rate": 0.475} {"Template_token": ["", "virtual", "const", "char", "*", "getPassName", "(", ")", "const", "{"], "ground_truth": ["return", "", ";"], "File": "SPUAsmPrinter", "Func": "getPassName", "Target": "CellSPU", "Target_Clf": "MPU", "Compiler_Type": "LLVM", "Idx": 60951, "Length": 12, "Cover_Rate": 0.9230769230769231} {"Template_token": ["", "return", "", ";"], "ground_truth": ["}"], "File": "SPUAsmPrinter", "Func": "getPassName", "Target": "CellSPU", "Target_Clf": "MPU", "Compiler_Type": "LLVM", "Idx": 60952, "Length": 4, "Cover_Rate": 0.3076923076923077} {"Template_token": ["", "void", "LLVMInitializeCellAsmPrinter", "(", ")", "{", "RegisterAsmPrinter", "<", "AsmPrinter", ">", "X", "(", "TheCellTarget", ")", ";"], "ground_truth": ["}"], "File": "SPUAsmPrinter", "Func": "LLVMInitializeCellSPUAsmPrinter", "Target": "CellSPU", "Target_Clf": "MPU", "Compiler_Type": "LLVM", "Idx": 60953, "Length": 15, "Cover_Rate": 1.0} {"Template_token": ["", "int", "displ", "=", "int", "(", "MI", "->", "getOperand", "(", "OpNo", "+", "", ")", ".", "getImm", "(", ")", ")", ";", "if", "(", "displ", ">", "", ")", "O", "<<", "", "<<", "displ", ";", "else", "if", "(", "displ", "<", "", ")", "O", "<<", "displ", ";"], "ground_truth": ["}"], "File": "SPUAsmPrinter", "Func": "printAddr256K", "Target": "CellSPU", "Target_Clf": "MPU", "Compiler_Type": "LLVM", "Idx": 60955, "Length": 43, "Cover_Rate": 0.3739130434782609} {"Template_token": ["", "bool", "AsmPrinter", "::", "PrintAsmMemoryOperand", "(", "const", "MachineInstr", "*", "MI", ",", "unsigned", "OpNo", ",", "unsigned", "AsmVariant", ",", "const", "char", "*", "ExtraCode", ",", "raw_ostream", "&", "O", ")", "{"], "ground_truth": ["if", "(", "ExtraCode", "&&", "ExtraCode", "[", "", "]", ")", "return", "true", ";"], "File": "SPUAsmPrinter", "Func": "PrintAsmMemoryOperand", "Target": "CellSPU", "Target_Clf": "MPU", "Compiler_Type": "LLVM", "Idx": 60956, "Length": 38, "Cover_Rate": 0.7450980392156863} {"Template_token": ["", "switch", "(", "ExtraCode", "[", "", "]", ")", "{", "default", ":", "return", "true", ";", "case", "'L'", ":"], "ground_truth": ["if", "(", "!", "MI", "->", "getOperand", "(", "OpNo", ")", ".", "isReg", "(", ")", "||", "OpNo", "+", "", "==", "MI", "->", "getNumOperands", "(", ")", "||", "!", "MI", "->", "getOperand", "(", "OpNo", "+", "", ")", ".", "isReg", "(", ")", ")", "return", "true", ";"], "File": "SPUAsmPrinter", "Func": "PrintAsmOperand", "Target": "CellSPU", "Target_Clf": "MPU", "Compiler_Type": "LLVM", "Idx": 60957, "Length": 57, "Cover_Rate": 0.456} {"Template_token": ["", "if", "(", "ExtraCode", "&&", "ExtraCode", "[", "", "]", ")", "{", "if", "(", "ExtraCode", "[", "", "]", "!=", "", ")", "return", "true", ";", "switch", "(", "ExtraCode", "[", "", "]", ")", "{", "default", ":", "return", "true", ";", "case", "'L'", ":"], "ground_truth": ["if", "(", "!", "MI", "->", "getOperand", "(", "OpNo", ")", ".", "isReg", "(", ")", "||", "OpNo", "+", "", "==", "MI", "->", "getNumOperands", "(", ")", "||", "!", "MI", "->", "getOperand", "(", "OpNo", "+", "", ")", ".", "isReg", "(", ")", ")", "return", "true", ";"], "File": "SPUAsmPrinter", "Func": "PrintAsmOperand", "Target": "CellSPU", "Target_Clf": "MPU", "Compiler_Type": "LLVM", "Idx": 60958, "Length": 79, "Cover_Rate": 0.632} {"Template_token": ["", "void", "printCallOperand", "(", "const", "MachineInstr", "*", "MI", ",", "unsigned", "OpNo", ",", "raw_ostream", "&", "O", ")", "{"], "ground_truth": ["printOp", "(", "MI", "->", "getOperand", "(", "OpNo", ")", ",", "O", ")", ";"], "File": "SPUAsmPrinter", "Func": "printCallOperand", "Target": "CellSPU", "Target_Clf": "MPU", "Compiler_Type": "LLVM", "Idx": 60959, "Length": 28, "Cover_Rate": 0.9655172413793104} {"Template_token": ["", "void", "printCallOperand", "(", "const", "MachineInstr", "*", "MI", ",", "unsigned", "OpNo", ",", "raw_ostream", "&", "O", ")", "{"], "ground_truth": ["printOp", "(", "MI", "->", "getOperand", "(", "OpNo", ")", ",", "O", ")", ";"], "File": "SPUAsmPrinter", "Func": "printCallOperand", "Target": "CellSPU", "Target_Clf": "MPU", "Compiler_Type": "LLVM", "Idx": 60960, "Length": 28, "Cover_Rate": 0.9655172413793104} {"Template_token": ["", "int16_t", "value16", "=", "int16_t", "(", "value", ")", ";"], "ground_truth": ["assert", "(", "(", "value16", ">=", "-", "(", "", "<<", "(", "", "+", "", ")", ")", "&&", "value16", "<=", "(", "", "<<", "(", "", "+", "", ")", ")", "-", "", ")", "&&", "", ")", ";"], "File": "SPUAsmPrinter", "Func": "printDFormAddr", "Target": "CellSPU", "Target_Clf": "MPU", "Compiler_Type": "LLVM", "Idx": 60961, "Length": 42, "Cover_Rate": 0.3559322033898305} {"Template_token": ["", "void", "printDFormAddr", "(", "const", "MachineInstr", "*", "MI", ",", "unsigned", "OpNo", ",", "raw_ostream", "&", "O", ")", "{", "assert", "(", "MI", "->", "getOperand", "(", "OpNo", ")", ".", "isImm", "(", ")", "&&", "", ")", ";", "int64_t", "value", "=", "int64_t", "(", "MI", "->", "getOperand", "(", "OpNo", ")", ".", "getImm", "(", ")", ")", ";", "int16_t", "value16", "=", "int16_t", "(", "value", ")", ";"], "ground_truth": ["assert", "(", "(", "value16", ">=", "-", "(", "", "<<", "(", "", "+", "", ")", ")", "&&", "value16", "<=", "(", "", "<<", "(", "", "+", "", ")", ")", "-", "", ")", "&&", "", ")", ";"], "File": "SPUAsmPrinter", "Func": "printDFormAddr", "Target": "CellSPU", "Target_Clf": "MPU", "Compiler_Type": "LLVM", "Idx": 60962, "Length": 91, "Cover_Rate": 0.7711864406779662} {"Template_token": ["", "void", "printHBROperand", "(", "const", "MachineInstr", "*", "MI", ",", "unsigned", "OpNo", ",", "raw_ostream", "&", "O", ")", "{", "printOp", "(", "MI", "->", "getOperand", "(", "OpNo", ")", ",", "O", ")", ";"], "ground_truth": ["}"], "File": "SPUAsmPrinter", "Func": "printHBROperand", "Target": "CellSPU", "Target_Clf": "MPU", "Compiler_Type": "LLVM", "Idx": 60964, "Length": 29, "Cover_Rate": 1.0} {"Template_token": ["", "void", "printMemRegReg", "(", "const", "MachineInstr", "*", "MI", ",", "unsigned", "OpNo", ",", "raw_ostream", "&", "O", ")", "{", "const", "MachineOperand", "&", "MO", "=", "MI", "->", "getOperand", "(", "OpNo", ")", ";"], "ground_truth": ["O", "<<", "getRegisterName", "(", "MO", ".", "getReg", "(", ")", ")", "<<", "", ";"], "File": "SPUAsmPrinter", "Func": "printMemRegReg", "Target": "CellSPU", "Target_Clf": "MPU", "Compiler_Type": "LLVM", "Idx": 60965, "Length": 41, "Cover_Rate": 0.7735849056603774} {"Template_token": ["", "O", "<<", "getRegisterName", "(", "MO", ".", "getReg", "(", ")", ")", "<<", "", ";", "printOperand", "(", "MI", ",", "OpNo", "+", "", ",", "O", ")", ";"], "ground_truth": ["}"], "File": "SPUAsmPrinter", "Func": "printMemRegReg", "Target": "CellSPU", "Target_Clf": "MPU", "Compiler_Type": "LLVM", "Idx": 60966, "Length": 25, "Cover_Rate": 0.4716981132075472} {"Template_token": ["", "return", ";", "case", "MachineOperand", "::", "MO_ExternalSymbol", ":", "if", "(", "TM", ".", "getRelocationModel", "(", ")", "!=", "Reloc", "::", "Static", ")", "{", "O", "<<", "", "<<", "MAI", "->", "getGlobalPrefix", "(", ")", "<<", "MO", ".", "getSymbolName", "(", ")", "<<", "", ";", "return", ";", "}", "O", "<<", "*", "GetExternalSymbolSymbol", "(", "MO", ".", "getSymbolName", "(", ")", ")", ";", "return", ";", "case", "MachineOperand", "::", "MO_GlobalAddress", ":", "if", "(", "TM", ".", "getRelocationModel", "(", ")", "!=", "Reloc", "::", "Static", ")", "{", "const", "GlobalValue", "*", "GV", "=", "MO", ".", "getGlobal", "(", ")", ";", "if", "(", "(", "(", "GV", "->", "isDeclaration", "(", ")", "||", "GV", "->", "hasWeakLinkage", "(", ")", "||", "GV", "->", "hasLinkOnceLinkage", "(", ")", "||", "GV", "->", "hasCommonLinkage", "(", ")", ")", ")", ")", "{", "O", "<<", "*", "GetSymbolWithGlobalValueBase", "(", "GV", ",", "", ")", ";", "return", ";", "}", "}", "O", "<<", "*", "Mang", "->", "getSymbol", "(", "MO", ".", "getGlobal", "(", ")", ")", ";", "return", ";", "case", "MachineOperand", "::", "MO_MCSymbol", ":", "O", "<<", "*", "(", "MO", ".", "getMCSymbol", "(", ")", ")", ";", "return", ";", "default", ":"], "ground_truth": ["O", "<<", "", "<<", "MO", ".", "getType", "(", ")", "<<", "", ";"], "File": "SPUAsmPrinter", "Func": "printOp", "Target": "CellSPU", "Target_Clf": "MPU", "Compiler_Type": "LLVM", "Idx": 60967, "Length": 177, "Cover_Rate": 0.6082474226804123} {"Template_token": ["", "O", "<<", "getRegisterName", "(", "MO", ".", "getReg", "(", ")", ")", ";", "}", "else", "if", "(", "MO", ".", "isImm", "(", ")", ")", "{", "O", "<<", "MO", ".", "getImm", "(", ")", ";"], "ground_truth": ["}", "else", "{"], "File": "SPUAsmPrinter", "Func": "printOperand", "Target": "CellSPU", "Target_Clf": "MPU", "Compiler_Type": "LLVM", "Idx": 60968, "Length": 33, "Cover_Rate": 0.4177215189873418} {"Template_token": ["", "void", "printPCRelativeOperand", "(", "const", "MachineInstr", "*", "MI", ",", "unsigned", "OpNo", ",", "raw_ostream", "&", "O", ")", "{", "printOp", "(", "MI", "->", "getOperand", "(", "OpNo", ")", ",", "O", ")", ";"], "ground_truth": ["}"], "File": "SPUAsmPrinter", "Func": "printPCRelativeOperand", "Target": "CellSPU", "Target_Clf": "MPU", "Compiler_Type": "LLVM", "Idx": 60970, "Length": 29, "Cover_Rate": 1.0} {"Template_token": ["", "if", "(", "MI", "->", "getOperand", "(", "OpNo", ")", ".", "isImm", "(", ")", ")", "{", "int", "value", "=", "(", "int", ")", "MI", "->", "getOperand", "(", "OpNo", ")", ".", "getImm", "(", ")", ";", "assert", "(", "(", "value", ">=", "", "&&", "value", "<", "", ")", "&&", "", ")", ";", "O", "<<", "-", "value", ";", "}", "else", "{", "llvm_unreachable", "(", "", ")", ";", "}"], "ground_truth": ["}"], "File": "SPUAsmPrinter", "Func": "printROTHNeg7Imm", "Target": "CellSPU", "Target_Clf": "MPU", "Compiler_Type": "LLVM", "Idx": 60971, "Length": 61, "Cover_Rate": 0.7922077922077922} {"Template_token": ["", "assert", "(", "(", "value", ">=", "", "&&", "value", "<", "", ")", "&&", "", ")", ";", "O", "<<", "-", "value", ";", "}", "else", "{", "llvm_unreachable", "(", "", ")", ";", "}"], "ground_truth": ["}"], "File": "SPUAsmPrinter", "Func": "printROTHNeg7Imm", "Target": "CellSPU", "Target_Clf": "MPU", "Compiler_Type": "LLVM", "Idx": 60972, "Length": 30, "Cover_Rate": 0.38961038961038963} {"Template_token": ["", "int", "value", "=", "(", "int", ")", "MI", "->", "getOperand", "(", "OpNo", ")", ".", "getImm", "(", ")", ";", "assert", "(", "(", "value", ">=", "", "&&", "value", "<=", "", ")", "&&", "", ")", ";", "O", "<<", "-", "value", ";"], "ground_truth": ["}"], "File": "SPUAsmPrinter", "Func": "printROTNeg7Imm", "Target": "CellSPU", "Target_Clf": "MPU", "Compiler_Type": "LLVM", "Idx": 60973, "Length": 38, "Cover_Rate": 0.5428571428571428} {"Template_token": ["", "assert", "(", "(", "value", ">=", "-", "(", "", "<<", "", ")", "&&", "value", "<=", "(", "", "<<", "", ")", "-", "", ")", "&&", "", ")", ";", "O", "<<", "value", ";"], "ground_truth": ["}"], "File": "SPUAsmPrinter", "Func": "printS10ImmOperand", "Target": "CellSPU", "Target_Clf": "MPU", "Compiler_Type": "LLVM", "Idx": 60975, "Length": 31, "Cover_Rate": 0.41333333333333333} {"Template_token": ["", "void", "printS16ImmOperand", "(", "const", "MachineInstr", "*", "MI", ",", "unsigned", "OpNo", ",", "raw_ostream", "&", "O", ")", "{"], "ground_truth": ["O", "<<", "(", "short", ")", "MI", "->", "getOperand", "(", "OpNo", ")", ".", "getImm", "(", ")", ";"], "File": "SPUAsmPrinter", "Func": "printS16ImmOperand", "Target": "CellSPU", "Target_Clf": "MPU", "Compiler_Type": "LLVM", "Idx": 60976, "Length": 32, "Cover_Rate": 0.9696969696969697} {"Template_token": ["", "if", "(", "MI", "->", "getOperand", "(", "OpNo", ")", ".", "isImm", "(", ")", ")", "{", "printS16ImmOperand", "(", "MI", ",", "OpNo", ",", "O", ")", ";", "}", "else", "{"], "ground_truth": ["printOp", "(", "MI", "->", "getOperand", "(", "OpNo", ")", ",", "O", ")", ";"], "File": "SPUAsmPrinter", "Func": "printSymbolLo", "Target": "CellSPU", "Target_Clf": "MPU", "Compiler_Type": "LLVM", "Idx": 60978, "Length": 38, "Cover_Rate": 0.6333333333333333} {"Template_token": ["", "assert", "(", "(", "value", "<=", "(", "", "<<", "", ")", "-", "", ")", "&&", "", ")", ";"], "ground_truth": ["O", "<<", "value", ";"], "File": "SPUAsmPrinter", "Func": "printU10ImmOperand", "Target": "CellSPU", "Target_Clf": "MPU", "Compiler_Type": "LLVM", "Idx": 60981, "Length": 21, "Cover_Rate": 0.3181818181818182} {"Template_token": ["", "void", "printU10ImmOperand", "(", "const", "MachineInstr", "*", "MI", ",", "unsigned", "OpNo", ",", "raw_ostream", "&", "O", ")", "{", "short", "value", "=", "(", "short", ")", "(", "(", "(", "int", ")", "MI", "->", "getOperand", "(", "OpNo", ")", ".", "getImm", "(", ")", "<<", "", ")", ">>", "", ")", ";"], "ground_truth": ["assert", "(", "(", "value", "<=", "(", "", "<<", "", ")", "-", "", ")", "&&", "", ")", ";"], "File": "SPUAsmPrinter", "Func": "printU10ImmOperand", "Target": "CellSPU", "Target_Clf": "MPU", "Compiler_Type": "LLVM", "Idx": 60982, "Length": 61, "Cover_Rate": 0.9242424242424242} {"Template_token": ["", "void", "printU16ImmOperand", "(", "const", "MachineInstr", "*", "MI", ",", "unsigned", "OpNo", ",", "raw_ostream", "&", "O", ")", "{", "O", "<<", "(", "unsigned", "short", ")", "MI", "->", "getOperand", "(", "OpNo", ")", ".", "getImm", "(", ")", ";"], "ground_truth": ["}"], "File": "SPUAsmPrinter", "Func": "printU16ImmOperand", "Target": "CellSPU", "Target_Clf": "MPU", "Compiler_Type": "LLVM", "Idx": 60983, "Length": 34, "Cover_Rate": 1.0} {"Template_token": ["", "void", "printU16ImmOperand", "(", "const", "MachineInstr", "*", "MI", ",", "unsigned", "OpNo", ",", "raw_ostream", "&", "O", ")", "{"], "ground_truth": ["O", "<<", "(", "unsigned", "short", ")", "MI", "->", "getOperand", "(", "OpNo", ")", ".", "getImm", "(", ")", ";"], "File": "SPUAsmPrinter", "Func": "printU16ImmOperand", "Target": "CellSPU", "Target_Clf": "MPU", "Compiler_Type": "LLVM", "Idx": 60984, "Length": 33, "Cover_Rate": 0.9705882352941176} {"Template_token": ["", "unsigned", "int", "value", "=", "MI", "->", "getOperand", "(", "OpNo", ")", ".", "getImm", "(", ")", ";", "assert", "(", "value", "<", "(", "", "<<", "", ")", "&&", "", ")", ";", "O", "<<", "value", ";"], "ground_truth": ["}"], "File": "SPUAsmPrinter", "Func": "printU7ImmOperand", "Target": "CellSPU", "Target_Clf": "MPU", "Compiler_Type": "LLVM", "Idx": 60986, "Length": 33, "Cover_Rate": 0.673469387755102} {"Template_token": ["", "unsigned", "int", "value", "=", "MI", "->", "getOperand", "(", "OpNo", ")", ".", "getImm", "(", ")", ";", "assert", "(", "value", "<", "(", "", "<<", "", ")", "&&", "", ")", ";"], "ground_truth": ["O", "<<", "value", ";"], "File": "SPUAsmPrinter", "Func": "printU7ImmOperand", "Target": "CellSPU", "Target_Clf": "MPU", "Compiler_Type": "LLVM", "Idx": 60987, "Length": 32, "Cover_Rate": 0.6530612244897959} {"Template_token": ["", "LR", "[", "", "]", ".", "first", "=", "", ";", "LR", "[", "", "]", ".", "second", "=", "", ";"], "ground_truth": ["}"], "File": "SPUFrameInfo1", "Func": "SPUFrameInfo", "Target": "CellSPU", "Target_Clf": "MPU", "Compiler_Type": "LLVM", "Idx": 60990, "Length": 19, "Cover_Rate": 0.40425531914893614} {"Template_token": ["", "LR", "[", "", "]", ".", "first", "=", "", ";"], "ground_truth": ["LR", "[", "", "]", ".", "second", "=", "", ";"], "File": "SPUFrameInfo1", "Func": "SPUFrameInfo", "Target": "CellSPU", "Target_Clf": "MPU", "Compiler_Type": "LLVM", "Idx": 60991, "Length": 18, "Cover_Rate": 0.3829787234042553} {"Template_token": ["", "return", "(", "RegisterInfo", "::", "getNumArgRegs", "(", ")", "*", "stackSlotSize", "(", ")", ")", ";"], "ground_truth": ["}"], "File": "SPUFrameInfo2", "Func": "fullSpillSize", "Target": "CellSPU", "Target_Clf": "MPU", "Compiler_Type": "LLVM", "Idx": 60992, "Length": 14, "Cover_Rate": 0.7} {"Template_token": ["", "return", "(", "RegisterInfo", "::", "getNumArgRegs", "(", ")", "*", "stackSlotSize", "(", ")", ")", ";"], "ground_truth": ["}"], "File": "SPUFrameInfo2", "Func": "fullSpillSize", "Target": "CellSPU", "Target_Clf": "MPU", "Compiler_Type": "LLVM", "Idx": 60993, "Length": 14, "Cover_Rate": 0.7} {"Template_token": ["", "return", "", ";"], "ground_truth": ["}"], "File": "SPUFrameInfo", "Func": "branchHintPenalty", "Target": "CellSPU", "Target_Clf": "MPU", "Compiler_Type": "LLVM", "Idx": 60994, "Length": 4, "Cover_Rate": 0.4} {"Template_token": ["", "return", "", ";"], "ground_truth": ["}"], "File": "SPUFrameInfo", "Func": "branchHintPenalty", "Target": "CellSPU", "Target_Clf": "MPU", "Compiler_Type": "LLVM", "Idx": 60995, "Length": 4, "Cover_Rate": 0.4} {"Template_token": ["", "unsigned", "Align", "=", "std", "::", "max", "(", "TargetAlign", ",", "MFI", "->", "getMaxAlignment", "(", ")", ")", ";", "assert", "(", "isPowerOf2_32", "(", "Align", ")", "&&", "", ")", ";", "unsigned", "AlignMask", "=", "Align", "-", "", ";"], "ground_truth": ["unsigned", "maxCallFrameSize", "=", "MFI", "->", "getMaxCallFrameSize", "(", ")", ";"], "File": "SPUFrameInfo", "Func": "determineFrameLayout", "Target": "CellSPU", "Target_Clf": "MPU", "Compiler_Type": "LLVM", "Idx": 60996, "Length": 42, "Cover_Rate": 0.30434782608695654} {"Template_token": ["", "BuildMI", "(", "MBB", ",", "MBBI", ",", "dl", ",", "TII", ".", "get", "(", "", ")", ",", "", ")", ".", "addReg", "(", "", ")", ".", "addImm", "(", "FrameSize", ")", ";", "}", "else", "if", "(", "FrameSize", "<=", "(", "", "<<", "", ")", "-", "", "&&", "FrameSize", ">=", "-", "(", "", "<<", "", ")", ")", "{", "BuildMI", "(", "MBB", ",", "MBBI", ",", "dl", ",", "TII", ".", "get", "(", "", ")", ",", "", ")", ".", "addImm", "(", "", ")", ".", "addReg", "(", "", ")", ";", "BuildMI", "(", "MBB", ",", "MBBI", ",", "dl", ",", "TII", ".", "get", "(", "", ")", ",", "", ")", ".", "addImm", "(", "FrameSize", ")", ";", "BuildMI", "(", "MBB", ",", "MBBI", ",", "dl", ",", "TII", ".", "get", "(", "", ")", ",", "", ")", ".", "addReg", "(", "", ")", ".", "addReg", "(", "", ")", ";", "BuildMI", "(", "MBB", ",", "MBBI", ",", "dl", ",", "TII", ".", "get", "(", "", ")", ",", "", ")", ".", "addImm", "(", "", ")", ".", "addReg", "(", "", ")", ";", "BuildMI", "(", "MBB", ",", "MBBI", ",", "dl", ",", "TII", ".", "get", "(", "", ")", ",", "", ")", ".", "addReg", "(", "", ")", ".", "addImm", "(", "", ")", ";", "BuildMI", "(", "MBB", ",", "MBBI", ",", "dl", ",", "TII", ".", "get", "(", "", ")", ",", "", ")", ".", "addReg", "(", "", ")", ".", "addReg", "(", "", ")", ";"], "ground_truth": ["}", "else", "{"], "File": "SPUFrameInfo", "Func": "emitEpilogue", "Target": "CellSPU", "Target_Clf": "MPU", "Compiler_Type": "LLVM", "Idx": 60997, "Length": 218, "Cover_Rate": 0.4678111587982833} {"Template_token": ["", "if", "(", "isInt", "<", "", ">", "(", "FrameSize", ")", ")", "{", "BuildMI", "(", "MBB", ",", "MBBI", ",", "dl", ",", "TII", ".", "get", "(", "", ")", ",", "", ")", ".", "addImm", "(", "FrameSize", ")", ".", "addReg", "(", "", ")", ";", "BuildMI", "(", "MBB", ",", "MBBI", ",", "dl", ",", "TII", ".", "get", "(", "", ")", ",", "", ")", ".", "addReg", "(", "", ")", ".", "addImm", "(", "FrameSize", ")", ";", "}", "else", "if", "(", "isInt", "<", "", ">", "(", "FrameSize", ")", ")", "{", "BuildMI", "(", "MBB", ",", "MBBI", ",", "dl", ",", "TII", ".", "get", "(", "", ")", ",", "", ")", ".", "addImm", "(", "-", "", ")", ".", "addReg", "(", "", ")", ";", "BuildMI", "(", "MBB", ",", "MBBI", ",", "dl", ",", "TII", ".", "get", "(", "", ")", ",", "", ")", ".", "addImm", "(", "FrameSize", ")", ";", "BuildMI", "(", "MBB", ",", "MBBI", ",", "dl", ",", "TII", ".", "get", "(", "", ")", ",", "", ")", ".", "addReg", "(", "", ")", ".", "addReg", "(", "", ")", ";", "BuildMI", "(", "MBB", ",", "MBBI", ",", "dl", ",", "TII", ".", "get", "(", "", ")", ",", "", ")", ".", "addReg", "(", "", ")", ".", "addReg", "(", "", ")", ";", "BuildMI", "(", "MBB", ",", "MBBI", ",", "dl", ",", "TII", ".", "get", "(", "", ")", ",", "", ")", ".", "addReg", "(", "", ")", ".", "addImm", "(", "", ")", ";", "BuildMI", "(", "MBB", ",", "MBBI", ",", "dl", ",", "TII", ".", "get", "(", "", ")", ",", "", ")", ".", "addReg", "(", "", ")", ".", "addReg", "(", "", ")", ";", "}", "else", "{", "report_fatal_error", "(", "", "+", "Twine", "(", "FrameSize", ")", ")", ";", "}", "if", "(", "hasDebugInfo", ")", "{", "std", "::", "vector", "<", "MachineMove", ">", "&", "Moves", "=", "MMI", ".", "getFrameMoves", "(", ")", ";", "MachineLocation", "SPDst", "(", "MachineLocation", "::", "VirtualFP", ")", ";", "MachineLocation", "SPSrc", "(", "MachineLocation", "::", "VirtualFP", ",", "-", "FrameSize", ")", ";", "Moves", ".", "push_back", "(", "MachineMove", "(", "FrameLabel", ",", "SPDst", ",", "SPSrc", ")", ")", ";", "const", "std", "::", "vector", "<", "CalleeSavedInfo", ">", "&", "CSI", "=", "MFI", "->", "getCalleeSavedInfo", "(", ")", ";"], "ground_truth": ["for", "(", "unsigned", "I", "=", "", ",", "E", "=", "CSI", ".", "size", "(", ")", ";", "I", "!=", "E", ";", "++", "I", ")", "{"], "File": "SPUFrameInfo", "Func": "emitPrologue", "Target": "CellSPU", "Target_Clf": "MPU", "Compiler_Type": "LLVM", "Idx": 60998, "Length": 350, "Cover_Rate": 0.4046242774566474} {"Template_token": ["", "static", "int", "FItoStackOffset", "(", "int", "frame_index", ")", "{", "return", "frame_index", "*", "stackSlotSize", "(", ")", ";"], "ground_truth": ["}"], "File": "SPUFrameInfo", "Func": "FItoStackOffset", "Target": "CellSPU", "Target_Clf": "MPU", "Compiler_Type": "LLVM", "Idx": 60999, "Length": 16, "Cover_Rate": 1.0} {"Template_token": ["", "return", "frame_index", "*", "stackSlotSize", "(", ")", ";"], "ground_truth": ["}"], "File": "SPUFrameInfo", "Func": "FItoStackOffset", "Target": "CellSPU", "Target_Clf": "MPU", "Compiler_Type": "LLVM", "Idx": 61000, "Length": 8, "Cover_Rate": 0.5} {"Template_token": ["", "MachineLocation", "Dst", "(", "MachineLocation", "::", "VirtualFP", ")", ";", "MachineLocation", "Src", "(", "", ",", "", ")", ";"], "ground_truth": ["Moves", ".", "push_back", "(", "MachineMove", "(", "", ",", "Dst", ",", "Src", ")", ")", ";"], "File": "SPUFrameInfo", "Func": "getInitialFrameState", "Target": "CellSPU", "Target_Clf": "MPU", "Compiler_Type": "LLVM", "Idx": 61001, "Length": 30, "Cover_Rate": 0.6122448979591837} {"Template_token": ["", "MachineLocation", "Dst", "(", "MachineLocation", "::", "VirtualFP", ")", ";", "MachineLocation", "Src", "(", "", ",", "", ")", ";", "Moves", ".", "push_back", "(", "MachineMove", "(", "", ",", "Dst", ",", "Src", ")", ")", ";"], "ground_truth": ["}"], "File": "SPUFrameInfo", "Func": "getInitialFrameState", "Target": "CellSPU", "Target_Clf": "MPU", "Compiler_Type": "LLVM", "Idx": 61002, "Length": 31, "Cover_Rate": 0.6326530612244898} {"Template_token": ["", "const", "MachineFrameInfo", "*", "MFI", "=", "MF", ".", "getFrameInfo", "(", ")", ";"], "ground_truth": ["return", "MFI", "->", "getStackSize", "(", ")", "&&", "(", "DisableFramePointerElim", "(", "MF", ")", "||", "MFI", "->", "hasVarSizedObjects", "(", ")", ")", ";"], "File": "SPUFrameInfo", "Func": "hasFP", "Target": "CellSPU", "Target_Clf": "MPU", "Compiler_Type": "LLVM", "Idx": 61004, "Length": 31, "Cover_Rate": 0.7045454545454546} {"Template_token": ["", "return", "(", "(", "", "<<", "", ")", "-", "", ")", "*", "stackSlotSize", "(", ")", ";"], "ground_truth": ["}"], "File": "SPUFrameInfo", "Func": "maxFrameOffset", "Target": "CellSPU", "Target_Clf": "MPU", "Compiler_Type": "LLVM", "Idx": 61006, "Length": 16, "Cover_Rate": 0.7272727272727273} {"Template_token": ["", "static", "int", "minFrameOffset", "(", ")", "{"], "ground_truth": ["return", "-", "(", "", "<<", "", ")", "*", "stackSlotSize", "(", ")", ";"], "File": "SPUFrameInfo", "Func": "minFrameOffset", "Target": "CellSPU", "Target_Clf": "MPU", "Compiler_Type": "LLVM", "Idx": 61008, "Length": 18, "Cover_Rate": 0.9473684210526315} {"Template_token": ["", "return", "(", "", "*", "stackSlotSize", "(", ")", ")", ";"], "ground_truth": ["}"], "File": "SPUFrameInfo", "Func": "minStackSize", "Target": "CellSPU", "Target_Clf": "MPU", "Compiler_Type": "LLVM", "Idx": 61009, "Length": 10, "Cover_Rate": 0.625} {"Template_token": ["", "MF", ".", "getRegInfo", "(", ")", ".", "setPhysRegUnused", "(", "", ")", ";", "MF", ".", "getRegInfo", "(", ")", ".", "setPhysRegUnused", "(", "", ")", ";"], "ground_truth": ["MachineFrameInfo", "*", "MFI", "=", "MF", ".", "getFrameInfo", "(", ")", ";"], "File": "SPUFrameInfo", "Func": "processFunctionBeforeCalleeSavedScan", "Target": "CellSPU", "Target_Clf": "MPU", "Compiler_Type": "LLVM", "Idx": 61011, "Length": 32, "Cover_Rate": 0.32323232323232326} {"Template_token": ["", "LR", "[", "", "]", ".", "first", "=", "", ";"], "ground_truth": ["LR", "[", "", "]", ".", "second", "=", "", ";"], "File": "SPUFrameInfo", "Func": "SPUFrameInfo", "Target": "CellSPU", "Target_Clf": "MPU", "Compiler_Type": "LLVM", "Idx": 61012, "Length": 18, "Cover_Rate": 0.3829787234042553} {"Template_token": ["", "return", "", ";"], "ground_truth": ["}"], "File": "SPUFrameInfo", "Func": "stackSlotSize", "Target": "CellSPU", "Target_Clf": "MPU", "Compiler_Type": "LLVM", "Idx": 61013, "Length": 4, "Cover_Rate": 0.4} {"Template_token": ["", "return", "", ";"], "ground_truth": ["}"], "File": "SPUFrameInfo", "Func": "stackSlotSize", "Target": "CellSPU", "Target_Clf": "MPU", "Compiler_Type": "LLVM", "Idx": 61014, "Length": 4, "Cover_Rate": 0.4} {"Template_token": ["", "const", "MachineFrameInfo", "*", "MFI", "=", "MF", ".", "getFrameInfo", "(", ")", ";"], "ground_truth": ["return", "MFI", "->", "getStackSize", "(", ")", "&&", "(", "MF", ".", "getTarget", "(", ")", ".", "Options", ".", "DisableFramePointerElim", "(", "MF", ")", "||", "MFI", "->", "hasVarSizedObjects", "(", ")", ")", ";"], "File": "SPUFrameLowering1", "Func": "hasFP", "Target": "CellSPU", "Target_Clf": "MPU", "Compiler_Type": "LLVM", "Idx": 61016, "Length": 39, "Cover_Rate": 0.75} {"Template_token": ["", "MF", ".", "getRegInfo", "(", ")", ".", "setPhysRegUnused", "(", "", ")", ";", "MF", ".", "getRegInfo", "(", ")", ".", "setPhysRegUnused", "(", "", ")", ";", "MF", ".", "getRegInfo", "(", ")", ".", "setPhysRegUnused", "(", "", ")", ";", "MachineFrameInfo", "*", "MFI", "=", "MF", ".", "getFrameInfo", "(", ")", ";"], "ground_truth": ["const", "TargetRegisterClass", "*", "RC", "=", "&", "", ";"], "File": "SPUFrameLowering2", "Func": "processFunctionBeforeCalleeSavedScan", "Target": "CellSPU", "Target_Clf": "MPU", "Compiler_Type": "LLVM", "Idx": 61017, "Length": 51, "Cover_Rate": 0.49514563106796117} {"Template_token": ["", "MF", ".", "getRegInfo", "(", ")", ".", "setPhysRegUnused", "(", "", ")", ";", "MF", ".", "getRegInfo", "(", ")", ".", "setPhysRegUnused", "(", "", ")", ";", "MF", ".", "getRegInfo", "(", ")", ".", "setPhysRegUnused", "(", "", ")", ";", "MachineFrameInfo", "*", "MFI", "=", "MF", ".", "getFrameInfo", "(", ")", ";", "const", "TargetRegisterClass", "*", "RC", "=", "&", "", ";", "RS", "->", "setScavengingFrameIndex", "(", "MFI", "->", "CreateStackObject", "(", "RC", "->", "getSize", "(", ")", "/", "", ",", "RC", "->", "getAlignment", "(", ")", "/", "", ",", "false", ")", ")", ";"], "ground_truth": ["}"], "File": "SPUFrameLowering2", "Func": "processFunctionBeforeCalleeSavedScan", "Target": "CellSPU", "Target_Clf": "MPU", "Compiler_Type": "LLVM", "Idx": 61018, "Length": 80, "Cover_Rate": 0.7766990291262136} {"Template_token": ["", "MachineLocation", "Dst", "(", "MachineLocation", "::", "VirtualFP", ")", ";"], "ground_truth": ["MachineLocation", "Src", "(", "", ",", "", ")", ";"], "File": "SPUFrameLowering4", "Func": "getInitialFrameState", "Target": "CellSPU", "Target_Clf": "MPU", "Compiler_Type": "LLVM", "Idx": 61019, "Length": 16, "Cover_Rate": 0.32653061224489793} {"Template_token": ["", "unsigned", "FrameSize", "=", "MFI", "->", "getStackSize", "(", ")", ";", "unsigned", "TargetAlign", "=", "getStackAlignment", "(", ")", ";", "unsigned", "Align", "=", "std", "::", "max", "(", "TargetAlign", ",", "MFI", "->", "getMaxAlignment", "(", ")", ")", ";", "assert", "(", "isPowerOf2_32", "(", "Align", ")", "&&", "", ")", ";", "unsigned", "AlignMask", "=", "Align", "-", "", ";", "unsigned", "maxCallFrameSize", "=", "MFI", "->", "getMaxCallFrameSize", "(", ")", ";", "if", "(", "MFI", "->", "hasVarSizedObjects", "(", ")", ")", "maxCallFrameSize", "=", "(", "maxCallFrameSize", "+", "AlignMask", ")", "&", "~", "AlignMask", ";", "MFI", "->", "setMaxCallFrameSize", "(", "maxCallFrameSize", ")", ";"], "ground_truth": ["FrameSize", "+=", "maxCallFrameSize", ";"], "File": "SPUFrameLowering", "Func": "determineFrameLayout", "Target": "CellSPU", "Target_Clf": "MPU", "Compiler_Type": "LLVM", "Idx": 61020, "Length": 88, "Cover_Rate": 0.6875} {"Template_token": ["", "assert", "(", "(", "FrameSize", "&", "", ")", "==", "", "&&", "", ")", ";", "if", "(", "FrameSize", ">", "", "||", "MFI", "->", "adjustsStack", "(", ")", ")", "{", "FrameSize", "=", "FrameSize", "+", "FrameLowering", "::", "minStackSize", "(", ")", ";", "if", "(", "isInt", "<", "", ">", "(", "FrameSize", "+", "LinkSlotOffset", ")", ")", "{", "BuildMI", "(", "MBB", ",", "MBBI", ",", "dl", ",", "TII", ".", "get", "(", "", ")", ",", "", ")", ".", "addImm", "(", "FrameSize", "+", "LinkSlotOffset", ")", ".", "addReg", "(", "", ")", ";", "BuildMI", "(", "MBB", ",", "MBBI", ",", "dl", ",", "TII", ".", "get", "(", "", ")", ",", "", ")", ".", "addReg", "(", "", ")", ".", "addImm", "(", "FrameSize", ")", ";", "}", "else", "if", "(", "FrameSize", "<=", "(", "", "<<", "", ")", "-", "", "&&", "FrameSize", ">=", "-", "(", "", "<<", "", ")", ")", "{", "BuildMI", "(", "MBB", ",", "MBBI", ",", "dl", ",", "TII", ".", "get", "(", "", ")", ",", "", ")", ".", "addImm", "(", "", ")", ".", "addReg", "(", "", ")", ";", "BuildMI", "(", "MBB", ",", "MBBI", ",", "dl", ",", "TII", ".", "get", "(", "", ")", ",", "", ")", ".", "addImm", "(", "FrameSize", ")", ";"], "ground_truth": ["BuildMI", "(", "MBB", ",", "MBBI", ",", "dl", ",", "TII", ".", "get", "(", "", ")", ",", "", ")", ".", "addReg", "(", "", ")", ".", "addReg", "(", "", ")", ";"], "File": "SPUFrameLowering", "Func": "emitEpilogue", "Target": "CellSPU", "Target_Clf": "MPU", "Compiler_Type": "LLVM", "Idx": 61021, "Length": 210, "Cover_Rate": 0.4535637149028078} {"Template_token": ["", "const", "MachineFrameInfo", "*", "MFI", "=", "MF", ".", "getFrameInfo", "(", ")", ";"], "ground_truth": ["return", "MFI", "->", "getStackSize", "(", ")", "&&", "(", "DisableFramePointerElim", "(", "MF", ")", "||", "MFI", "->", "hasVarSizedObjects", "(", ")", ")", ";"], "File": "SPUFrameLowering", "Func": "hasFP", "Target": "CellSPU", "Target_Clf": "MPU", "Compiler_Type": "LLVM", "Idx": 61023, "Length": 31, "Cover_Rate": 0.7045454545454546} {"Template_token": ["", "void", "FrameLowering", "::", "processFunctionBeforeCalleeSavedScan", "(", "MachineFunction", "&", "MF", ",", "RegScavenger", "*", "RS", ")", "const", "{", "MF", ".", "getRegInfo", "(", ")", ".", "setPhysRegUnused", "(", "", ")", ";", "MF", ".", "getRegInfo", "(", ")", ".", "setPhysRegUnused", "(", "", ")", ";", "MF", ".", "getRegInfo", "(", ")", ".", "setPhysRegUnused", "(", "", ")", ";", "MachineFrameInfo", "*", "MFI", "=", "MF", ".", "getFrameInfo", "(", ")", ";", "const", "TargetRegisterClass", "*", "RC", "=", "&", "", ";", "RS", "->", "setScavengingFrameIndex", "(", "MFI", "->", "CreateStackObject", "(", "RC", "->", "getSize", "(", ")", ",", "RC", "->", "getAlignment", "(", ")", ",", "false", ")", ")", ";"], "ground_truth": ["}"], "File": "SPUFrameLowering", "Func": "processFunctionBeforeCalleeSavedScan", "Target": "CellSPU", "Target_Clf": "MPU", "Compiler_Type": "LLVM", "Idx": 61025, "Length": 91, "Cover_Rate": 0.9191919191919192} {"Template_token": ["", "MF", ".", "getRegInfo", "(", ")", ".", "setPhysRegUnused", "(", "", ")", ";", "MF", ".", "getRegInfo", "(", ")", ".", "setPhysRegUnused", "(", "", ")", ";", "MF", ".", "getRegInfo", "(", ")", ".", "setPhysRegUnused", "(", "", ")", ";"], "ground_truth": ["MachineFrameInfo", "*", "MFI", "=", "MF", ".", "getFrameInfo", "(", ")", ";"], "File": "SPUFrameLowering", "Func": "processFunctionBeforeCalleeSavedScan", "Target": "CellSPU", "Target_Clf": "MPU", "Compiler_Type": "LLVM", "Idx": 61026, "Length": 43, "Cover_Rate": 0.43434343434343436} {"Template_token": ["", "FrameLowering", "::", "FrameLowering", "(", "const", "Subtarget", "&", "sti", ")", ":", "TargetFrameLowering", "(", "TargetFrameLowering", "::", "StackGrowsDown", ",", "", ",", "", ")", ",", "Subtarget", "(", "sti", ")", "{", "LR", "[", "", "]", ".", "first", "=", "", ";", "LR", "[", "", "]", ".", "second", "=", "", ";"], "ground_truth": ["}"], "File": "SPUFrameLowering", "Func": "SPUFrameLowering", "Target": "CellSPU", "Target_Clf": "MPU", "Compiler_Type": "LLVM", "Idx": 61027, "Length": 45, "Cover_Rate": 0.9574468085106383} {"Template_token": ["", "void", "HazardRecognizer", "::", "AdvanceCycle", "(", ")", "{", "DOUT", "<<", "", ";"], "ground_truth": ["}"], "File": "SPUHazardRecognizers2", "Func": "AdvanceCycle", "Target": "CellSPU", "Target_Clf": "MPU", "Compiler_Type": "LLVM", "Idx": 61029, "Length": 12, "Cover_Rate": 1.0} {"Template_token": ["", "void", "HazardRecognizer", "::", "EmitInstruction", "(", "SUnit", "*", "SU", ")", "{"], "ground_truth": ["}"], "File": "SPUHazardRecognizers2", "Func": "EmitInstruction", "Target": "CellSPU", "Target_Clf": "MPU", "Compiler_Type": "LLVM", "Idx": 61030, "Length": 11, "Cover_Rate": 1.0} {"Template_token": ["", "void", "HazardRecognizer", "::", "EmitInstruction", "(", "SUnit", "*", "SU", ")", "{"], "ground_truth": ["}"], "File": "SPUHazardRecognizers2", "Func": "EmitInstruction", "Target": "CellSPU", "Target_Clf": "MPU", "Compiler_Type": "LLVM", "Idx": 61031, "Length": 11, "Cover_Rate": 1.0} {"Template_token": ["", "void", "HazardRecognizer", "::", "EmitNoop", "(", ")", "{"], "ground_truth": ["AdvanceCycle", "(", ")", ";"], "File": "SPUHazardRecognizers2", "Func": "EmitNoop", "Target": "CellSPU", "Target_Clf": "MPU", "Compiler_Type": "LLVM", "Idx": 61032, "Length": 11, "Cover_Rate": 0.9166666666666666} {"Template_token": ["", "case", "", ":", "case", "", ":", "case", "", ":", "case", "", ":", "case", "", ":", "case", "", ":", "case", "", ":", "case", "", ":", "case", "", ":", "case", "", ":", "case", "", ":", "case", "", ":", "case", "", ":", "case", "", ":", "case", "", ":", "case", "", ":", "case", "", ":", "case", "", ":", "case", "", ":", "case", "", ":", "case", "", ":", "case", "", ":", "case", "", ":", "case", "", ":", "case", "", ":", "case", "", ":", "case", "", ":", "case", "", ":", "case", "", ":", "case", "", ":", "case", "", ":", "case", "", ":", "case", "", ":", "case", "", ":", "case", "", ":", "case", "", ":", "case", "", ":", "case", "", ":", "case", "", ":", "case", "", ":", "case", "", ":", "case", "", ":", "case", "", ":", "case", "", ":", "case", "", ":", "case", "", ":", "case", "", ":", "case", "", ":", "case", "", ":", "case", "", ":", "mustBeOdd", "=", "true", ";"], "ground_truth": ["break", ";"], "File": "SPUHazardRecognizers2", "Func": "getHazardType", "Target": "CellSPU", "Target_Clf": "MPU", "Compiler_Type": "LLVM", "Idx": 61034, "Length": 156, "Cover_Rate": 0.43575418994413406} {"Template_token": ["", "HazardRecognizer", "(", "const", "TargetInstrInfo", "&", ")", "{"], "ground_truth": ["}"], "File": "SPUHazardRecognizers2", "Func": "SPUHazardRecognizer", "Target": "CellSPU", "Target_Clf": "MPU", "Compiler_Type": "LLVM", "Idx": 61035, "Length": 8, "Cover_Rate": 1.0} {"Template_token": ["", "HazardRecognizer", "(", "const", "TargetInstrInfo", "&", ")", "{"], "ground_truth": ["}"], "File": "SPUHazardRecognizers2", "Func": "SPUHazardRecognizer", "Target": "CellSPU", "Target_Clf": "MPU", "Compiler_Type": "LLVM", "Idx": 61036, "Length": 8, "Cover_Rate": 1.0} {"Template_token": ["", "void", "HazardRecognizer", "::", "AdvanceCycle", "(", ")", "{", "DOUT", "(", "llvm", "::", "dbgs", "(", ")", "<<", "", ";"], "ground_truth": ["}"], "File": "SPUHazardRecognizers3", "Func": "AdvanceCycle", "Target": "CellSPU", "Target_Clf": "MPU", "Compiler_Type": "LLVM", "Idx": 61037, "Length": 18, "Cover_Rate": 1.0} {"Template_token": ["", "case", "", ":", "case", "", ":", "case", "", ":", "case", "", ":", "case", "", ":", "case", "", ":", "case", "", ":", "case", "", ":", "case", "", ":", "case", "", ":", "case", "", ":", "case", "", ":", "case", "", ":", "case", "", ":", "case", "", ":", "case", "", ":", "case", "", ":", "case", "", ":", "case", "", ":", "case", "", ":", "case", "", ":", "case", "", ":", "case", "", ":", "case", "", ":", "case", "", ":", "case", "", ":", "case", "", ":", "case", "", ":", "case", "", ":", "case", "", ":", "case", "", ":", "case", "", ":", "case", "", ":", "case", "", ":", "case", "", ":", "case", "", ":", "case", "", ":", "case", "", ":", "case", "", ":", "case", "", ":", "case", "", ":", "case", "", ":", "case", "", ":", "case", "", ":", "case", "", ":", "case", "", ":", "case", "", ":", "case", "", ":", "case", "", ":", "mustBeOdd", "=", "true", ";", "break", ";", "default", ":", "break", ";"], "ground_truth": ["}"], "File": "SPUHazardRecognizers3", "Func": "getHazardType", "Target": "CellSPU", "Target_Clf": "MPU", "Compiler_Type": "LLVM", "Idx": 61039, "Length": 158, "Cover_Rate": 0.4340659340659341} {"Template_token": ["", "void", "HazardRecognizer", "::", "AdvanceCycle", "(", ")", "{"], "ground_truth": ["DEBUG", "(", "errs", "(", ")", "<<", "", ")", ";"], "File": "SPUHazardRecognizers4", "Func": "AdvanceCycle", "Target": "CellSPU", "Target_Clf": "MPU", "Compiler_Type": "LLVM", "Idx": 61041, "Length": 16, "Cover_Rate": 0.9411764705882353} {"Template_token": ["", "case", "", ":", "case", "", ":", "case", "", ":", "case", "", ":", "case", "", ":", "case", "", ":", "case", "", ":", "case", "", ":", "case", "", ":", "case", "", ":", "case", "", ":", "case", "", ":", "case", "", ":", "case", "", ":", "case", "", ":", "case", "", ":", "case", "", ":", "case", "", ":", "case", "", ":", "case", "", ":", "case", "", ":", "case", "", ":", "case", "", ":", "case", "", ":", "case", "", ":", "case", "", ":", "case", "", ":", "case", "", ":", "case", "", ":", "case", "", ":", "case", "", ":", "case", "", ":", "case", "", ":", "case", "", ":", "case", "", ":", "case", "", ":", "case", "", ":", "case", "", ":", "case", "", ":", "case", "", ":", "case", "", ":", "case", "", ":", "case", "", ":"], "ground_truth": ["case", "", ":"], "File": "SPUHazardRecognizers4", "Func": "getHazardType", "Target": "CellSPU", "Target_Clf": "MPU", "Compiler_Type": "LLVM", "Idx": 61042, "Length": 132, "Cover_Rate": 0.352} {"Template_token": ["", "switch", "(", "Node", "->", "getOpcode", "(", ")", ")", "{", "case", "", ":", "case", "", ":", "case", "", ":", "case", "", ":", "case", "", ":", "case", "", ":", "case", "", ":", "case", "", ":", "case", "", ":", "case", "", ":", "case", "", ":", "case", "", ":", "case", "", ":", "case", "", ":", "case", "", ":", "case", "", ":", "case", "", ":", "case", "", ":", "case", "", ":", "case", "", ":", "case", "", ":", "case", "", ":", "case", "", ":", "case", "", ":", "case", "", ":", "case", "", ":", "case", "", ":", "case", "", ":", "case", "", ":", "case", "", ":", "case", "", ":", "case", "", ":", "case", "", ":", "case", "", ":", "case", "", ":", "case", "", ":", "case", "", ":", "case", "", ":", "case", "", ":", "case", "", ":", "case", "", ":", "case", "", ":", "case", "", ":", "case", "", ":", "case", "", ":"], "ground_truth": ["case", "", ":"], "File": "SPUHazardRecognizers5", "Func": "getHazardType", "Target": "CellSPU", "Target_Clf": "MPU", "Compiler_Type": "LLVM", "Idx": 61043, "Length": 147, "Cover_Rate": 0.4049586776859504} {"Template_token": ["", "if", "(", "mem", ")", "return", "MIB", ".", "addImm", "(", "Offset", ")", ".", "addFrameIndex", "(", "FI", ")", ";", "else", "return", "MIB", ".", "addFrameIndex", "(", "FI", ")", ".", "addImm", "(", "Offset", ")", ";"], "ground_truth": ["}"], "File": "SPUInstrBuilder", "Func": "addFrameReference", "Target": "CellSPU", "Target_Clf": "MPU", "Compiler_Type": "LLVM", "Idx": 61044, "Length": 32, "Cover_Rate": 0.5614035087719298} {"Template_token": ["", "void", "InstrInfo", "::", "storeRegToStackSlot", "(", "MachineBasicBlock", "&", "MBB", ",", "MachineBasicBlock", "::", "iterator", "MI", ",", "unsigned", "SrcReg", ",", "bool", "isKill", ",", "int", "FrameIdx", ",", "const", "TargetRegisterClass", "*", "RC", ",", "const", "TargetRegisterInfo", "*", "TRI", ")", "const", "{", "unsigned", "opc", ";", "bool", "isValidFrameIdx", "=", "(", "FrameIdx", "<", "FrameLowering", "::", "maxFrameOffset", "(", ")", ")", ";", "if", "(", "RC", "==", "", ")", "{", "opc", "=", "(", "isValidFrameIdx", "?", "", ":", "", ")", ";", "}", "else", "if", "(", "RC", "==", "", ")", "{", "opc", "=", "(", "isValidFrameIdx", "?", "", ":", "", ")", ";", "}", "else", "if", "(", "RC", "==", "", ")", "{", "opc", "=", "(", "isValidFrameIdx", "?", "", ":", "", ")", ";"], "ground_truth": ["}", "else", "if", "(", "RC", "==", "", ")", "{"], "File": "SPUInstrInfo10", "Func": "storeRegToStackSlot", "Target": "CellSPU", "Target_Clf": "MPU", "Compiler_Type": "LLVM", "Idx": 61045, "Length": 115, "Cover_Rate": 0.37216828478964403} {"Template_token": ["", "if", "(", "isUncondBranch", "(", "LastInst", ")", ")", "{", "if", "(", "!", "LastInst", "->", "getOperand", "(", "", ")", ".", "isMBB", "(", ")", ")", "return", "true", ";", "TBB", "=", "LastInst", "->", "getOperand", "(", "", ")", ".", "getMBB", "(", ")", ";", "return", "false", ";", "}", "else", "if", "(", "isCondBranch", "(", "LastInst", ")", ")", "{", "TBB", "=", "LastInst", "->", "getOperand", "(", "", ")", ".", "getMBB", "(", ")", ";", "DEBUG", "(", "errs", "(", ")", "<<", "", ")", ";", "DEBUG", "(", "LastInst", "->", "dump", "(", ")", ")", ";", "Cond", ".", "push_back", "(", "MachineOperand", "::", "CreateImm", "(", "LastInst", "->", "getOpcode", "(", ")", ")", ")", ";", "Cond", ".", "push_back", "(", "LastInst", "->", "getOperand", "(", "", ")", ")", ";", "return", "false", ";", "}", "return", "true", ";", "}", "MachineInstr", "*", "SecondLastInst", "=", "I", ";", "if", "(", "SecondLastInst", "&&", "I", "!=", "MBB", ".", "begin", "(", ")", "&&", "isUnpredicatedTerminator", "(", "--", "I", ")", ")", "return", "true", ";", "if", "(", "isCondBranch", "(", "SecondLastInst", ")", "&&", "isUncondBranch", "(", "LastInst", ")", ")", "{", "TBB", "=", "SecondLastInst", "->", "getOperand", "(", "", ")", ".", "getMBB", "(", ")", ";", "DEBUG", "(", "errs", "(", ")", "<<", "", ")", ";", "DEBUG", "(", "SecondLastInst", "->", "dump", "(", ")", ")", ";", "Cond", ".", "push_back", "(", "MachineOperand", "::", "CreateImm", "(", "SecondLastInst", "->", "getOpcode", "(", ")", ")", ")", ";", "Cond", ".", "push_back", "(", "SecondLastInst", "->", "getOperand", "(", "", ")", ")", ";", "FBB", "=", "LastInst", "->", "getOperand", "(", "", ")", ".", "getMBB", "(", ")", ";", "return", "false", ";", "}"], "ground_truth": ["if", "(", "isUncondBranch", "(", "SecondLastInst", ")", "&&", "isUncondBranch", "(", "LastInst", ")", ")", "{"], "File": "SPUInstrInfo1", "Func": "AnalyzeBranch", "Target": "CellSPU", "Target_Clf": "MPU", "Compiler_Type": "LLVM", "Idx": 61046, "Length": 247, "Cover_Rate": 0.6159600997506235} {"Template_token": ["", "void", "InstrInfo", "::", "copyPhysReg", "(", "MachineBasicBlock", "&", "MBB", ",", "MachineBasicBlock", "::", "iterator", "I", ",", "DebugLoc", "DL", ",", "unsigned", "DestReg", ",", "unsigned", "SrcReg", ",", "bool", "KillSrc", ")", "const", "{"], "ground_truth": ["BuildMI", "(", "MBB", ",", "I", ",", "DL", ",", "get", "(", "", ")", ",", "DestReg", ")", ".", "addReg", "(", "SrcReg", ",", "getKillRegState", "(", "KillSrc", ")", ")", ";"], "File": "SPUInstrInfo1", "Func": "copyPhysReg", "Target": "CellSPU", "Target_Clf": "MPU", "Compiler_Type": "LLVM", "Idx": 61047, "Length": 54, "Cover_Rate": 0.9473684210526315} {"Template_token": ["", "void", "InstrInfo", "::", "copyPhysReg", "(", "MachineBasicBlock", "&", "MBB", ",", "MachineBasicBlock", "::", "iterator", "I", ",", "DebugLoc", "DL", ",", "unsigned", "DestReg", ",", "unsigned", "SrcReg", ",", "bool", "KillSrc", ")", "const", "{", "BuildMI", "(", "MBB", ",", "I", ",", "DL", ",", "get", "(", "", ")", ",", "DestReg", ")", ".", "addReg", "(", "SrcReg", ",", "getKillRegState", "(", "KillSrc", ")", ")", ";"], "ground_truth": ["}"], "File": "SPUInstrInfo1", "Func": "copyPhysReg", "Target": "CellSPU", "Target_Clf": "MPU", "Compiler_Type": "LLVM", "Idx": 61048, "Length": 55, "Cover_Rate": 0.9649122807017544} {"Template_token": ["", "assert", "(", "TII", "&&", "", ")", ";"], "ground_truth": ["return", "new", "HazardRecognizer", "(", "*", "TII", ")", ";"], "File": "SPUInstrInfo1", "Func": "CreateTargetHazardRecognizer", "Target": "CellSPU", "Target_Clf": "MPU", "Compiler_Type": "LLVM", "Idx": 61049, "Length": 15, "Cover_Rate": 0.3333333333333333} {"Template_token": ["", "assert", "(", "TII", "&&", "", ")", ";", "return", "new", "HazardRecognizer", "(", "*", "TII", ")", ";"], "ground_truth": ["}"], "File": "SPUInstrInfo1", "Func": "CreateTargetHazardRecognizer", "Target": "CellSPU", "Target_Clf": "MPU", "Compiler_Type": "LLVM", "Idx": 61050, "Length": 16, "Cover_Rate": 0.35555555555555557} {"Template_token": ["", "static", "MachineBasicBlock", "::", "iterator", "findHBRPosition", "(", "MachineBasicBlock", "&", "MBB", ")", "{"], "ground_truth": ["MachineBasicBlock", "::", "iterator", "J", "=", "MBB", ".", "end", "(", ")", ";"], "File": "SPUInstrInfo1", "Func": "findHBRPosition", "Target": "CellSPU", "Target_Clf": "MPU", "Compiler_Type": "LLVM", "Idx": 61051, "Length": 22, "Cover_Rate": 0.3793103448275862} {"Template_token": ["", "virtual", "const", "RegisterInfo", "&", "getRegisterInfo", "(", ")", "const", "{"], "ground_truth": ["return", "RI", ";"], "File": "SPUInstrInfo1", "Func": "getRegisterInfo", "Target": "CellSPU", "Target_Clf": "MPU", "Compiler_Type": "LLVM", "Idx": 61053, "Length": 12, "Cover_Rate": 0.9230769230769231} {"Template_token": ["", "return", "RI", ";"], "ground_truth": ["}"], "File": "SPUInstrInfo1", "Func": "getRegisterInfo", "Target": "CellSPU", "Target_Clf": "MPU", "Compiler_Type": "LLVM", "Idx": 61054, "Length": 4, "Cover_Rate": 0.3076923076923077} {"Template_token": ["", "}", "else", "{", "MIB", "=", "BuildMI", "(", "&", "MBB", ",", "DL", ",", "get", "(", "Cond", "[", "", "]", ".", "getImm", "(", ")", ")", ")", ";", "MIB", ".", "addReg", "(", "Cond", "[", "", "]", ".", "getReg", "(", ")", ")", ".", "addMBB", "(", "TBB", ")", ";", "if", "(", "haveHBR", ")", "{", "MIB", "=", "BuildMI", "(", "MBB", ",", "findHBRPosition", "(", "MBB", ")", ",", "DL", ",", "get", "(", "", ")", ")", ";", "MIB", ".", "addSym", "(", "branchLabel", ")", ";", "MIB", ".", "addMBB", "(", "TBB", ")", ";", "}", "DEBUG", "(", "errs", "(", ")", "<<", "", ")", ";", "DEBUG", "(", "(", "*", "MIB", ")", ".", "dump", "(", ")", ")", ";", "}", "return", "", ";", "}", "else", "{", "MIB", "=", "BuildMI", "(", "&", "MBB", ",", "DL", ",", "get", "(", "Cond", "[", "", "]", ".", "getImm", "(", ")", ")", ")", ";", "MachineInstrBuilder", "MIB2", "=", "BuildMI", "(", "&", "MBB", ",", "DL", ",", "get", "(", "", ")", ")", ";", "MIB", ".", "addReg", "(", "Cond", "[", "", "]", ".", "getReg", "(", ")", ")", ".", "addMBB", "(", "TBB", ")", ";"], "ground_truth": ["MIB2", ".", "addMBB", "(", "FBB", ")", ";"], "File": "SPUInstrInfo1", "Func": "InsertBranch", "Target": "CellSPU", "Target_Clf": "MPU", "Compiler_Type": "LLVM", "Idx": 61055, "Length": 175, "Cover_Rate": 0.3556910569105691} {"Template_token": ["", "MIB", ".", "addMBB", "(", "TBB", ")", ";", "DEBUG", "(", "errs", "(", ")", "<<", "", ")", ";", "DEBUG", "(", "(", "*", "MIB", ")", ".", "dump", "(", ")", ")", ";", "if", "(", "haveHBR", ")", "{", "MIB", "=", "BuildMI", "(", "MBB", ",", "findHBRPosition", "(", "MBB", ")", ",", "DL", ",", "get", "(", "", ")", ")", ";", "MIB", ".", "addSym", "(", "branchLabel", ")", ";", "MIB", ".", "addMBB", "(", "TBB", ")", ";", "}", "}", "else", "{", "MIB", "=", "BuildMI", "(", "&", "MBB", ",", "DL", ",", "get", "(", "Cond", "[", "", "]", ".", "getImm", "(", ")", ")", ")", ";", "MIB", ".", "addReg", "(", "Cond", "[", "", "]", ".", "getReg", "(", ")", ")", ".", "addMBB", "(", "TBB", ")", ";", "if", "(", "haveHBR", ")", "{", "MIB", "=", "BuildMI", "(", "MBB", ",", "findHBRPosition", "(", "MBB", ")", ",", "DL", ",", "get", "(", "", ")", ")", ";", "MIB", ".", "addSym", "(", "branchLabel", ")", ";", "MIB", ".", "addMBB", "(", "TBB", ")", ";", "}", "DEBUG", "(", "errs", "(", ")", "<<", "", ")", ";", "DEBUG", "(", "(", "*", "MIB", ")", ".", "dump", "(", ")", ")", ";", "}", "return", "", ";", "}", "else", "{"], "ground_truth": ["MIB", "=", "BuildMI", "(", "&", "MBB", ",", "DL", ",", "get", "(", "Cond", "[", "", "]", ".", "getImm", "(", ")", ")", ")", ";"], "File": "SPUInstrInfo1", "Func": "InsertBranch", "Target": "CellSPU", "Target_Clf": "MPU", "Compiler_Type": "LLVM", "Idx": 61056, "Length": 200, "Cover_Rate": 0.4065040650406504} {"Template_token": ["", "else", "if", "(", "RC", "==", "&", "", ")", "opc", "=", "isValidFrameIdx", "?", "", ":", "", ";", "else", "if", "(", "RC", "==", "&", "", ")", "opc", "=", "isValidFrameIdx", "?", "", ":", "", ";", "else", "if", "(", "RC", "==", "&", "", ")", "opc", "=", "isValidFrameIdx", "?", "", ":", "", ";", "else", "if", "(", "RC", "==", "&", "", ")", "opc", "=", "isValidFrameIdx", "?", "", ":", "", ";", "else", "if", "(", "RC", "==", "&", "", ")", "opc", "=", "isValidFrameIdx", "?", "", ":", "", ";", "else", "if", "(", "RC", "==", "&", "", ")", "opc", "=", "isValidFrameIdx", "?", "", ":", "", ";", "else", "if", "(", "RC", "==", "&", "", ")", "opc", "=", "isValidFrameIdx", "?", "", ":", "", ";", "else", "llvm_unreachable", "(", "", ")", ";", "DebugLoc", "DL", ";", "if", "(", "MI", "!=", "MBB", ".", "end", "(", ")", ")", "DL", "=", "MI", "->", "getDebugLoc", "(", ")", ";", "addFrameReference", "(", "BuildMI", "(", "MBB", ",", "MI", ",", "DL", ",", "get", "(", "opc", ")", ",", "DestReg", ")", ",", "FrameIdx", ")", ";"], "ground_truth": ["}"], "File": "SPUInstrInfo1", "Func": "loadRegFromStackSlot", "Target": "CellSPU", "Target_Clf": "MPU", "Compiler_Type": "LLVM", "Idx": 61057, "Length": 161, "Cover_Rate": 0.5919117647058824} {"Template_token": ["", "MachineBasicBlock", "::", "iterator", "I", "=", "MBB", ".", "end", "(", ")", ";", "removeHBR", "(", "MBB", ")", ";", "if", "(", "I", "==", "MBB", ".", "begin", "(", ")", ")", "return", "", ";", "--", "I", ";", "while", "(", "I", "->", "isDebugValue", "(", ")", ")", "{", "if", "(", "I", "==", "MBB", ".", "begin", "(", ")", ")", "return", "", ";", "--", "I", ";", "}", "if", "(", "!", "isCondBranch", "(", "I", ")", "&&", "!", "isUncondBranch", "(", "I", ")", ")", "return", "", ";", "DEBUG", "(", "errs", "(", ")", "<<", "", ")", ";", "DEBUG", "(", "I", "->", "dump", "(", ")", ")", ";", "I", "->", "eraseFromParent", "(", ")", ";", "I", "=", "MBB", ".", "end", "(", ")", ";", "if", "(", "I", "==", "MBB", ".", "begin", "(", ")", ")", "return", "", ";", "--", "I", ";", "if", "(", "!", "(", "isCondBranch", "(", "I", ")", "||", "isUncondBranch", "(", "I", ")", ")", ")", "return", "", ";"], "ground_truth": ["DEBUG", "(", "errs", "(", ")", "<<", "", ")", ";"], "File": "SPUInstrInfo1", "Func": "RemoveBranch", "Target": "CellSPU", "Target_Clf": "MPU", "Compiler_Type": "LLVM", "Idx": 61058, "Length": 150, "Cover_Rate": 0.8333333333333334} {"Template_token": ["", "I", "=", "MBB", ".", "end", "(", ")", ";", "if", "(", "I", "==", "MBB", ".", "begin", "(", ")", ")", "return", "", ";", "--", "I", ";", "if", "(", "!", "(", "isCondBranch", "(", "I", ")", "||", "isUncondBranch", "(", "I", ")", ")", ")", "return", "", ";", "DEBUG", "(", "errs", "(", ")", "<<", "", ")", ";", "DEBUG", "(", "I", "->", "dump", "(", ")", ")", ";", "I", "->", "eraseFromParent", "(", ")", ";"], "ground_truth": ["return", "", ";"], "File": "SPUInstrInfo1", "Func": "RemoveBranch", "Target": "CellSPU", "Target_Clf": "MPU", "Compiler_Type": "LLVM", "Idx": 61059, "Length": 69, "Cover_Rate": 0.38333333333333336} {"Template_token": ["", "if", "(", "I", "->", "getOpcode", "(", ")", "==", "", "||", "I", "->", "getOpcode", "(", ")", "==", "", ")", "{"], "ground_truth": ["I", "=", "MBB", ".", "erase", "(", "I", ")", ";"], "File": "SPUInstrInfo1", "Func": "removeHBR", "Target": "CellSPU", "Target_Clf": "MPU", "Compiler_Type": "LLVM", "Idx": 61060, "Length": 28, "Cover_Rate": 0.345679012345679} {"Template_token": ["", "InstrInfo", "::", "InstrInfo", "(", "TargetMachine", "&", "tm", ")", ":", "GenInstrInfo", "(", "", ",", "", ")", ",", "TM", "(", "tm", ")", ",", "RI", "(", "*", "TM", ".", "getSubtargetImpl", "(", ")", ",", "*", "this", ")", "{"], "ground_truth": ["}"], "File": "SPUInstrInfo1", "Func": "SPUInstrInfo", "Target": "CellSPU", "Target_Clf": "MPU", "Compiler_Type": "LLVM", "Idx": 61061, "Length": 35, "Cover_Rate": 0.8974358974358975} {"Template_token": ["", "InstrInfo", "::", "InstrInfo", "(", "TargetMachine", "&", "tm", ")", ":", "GenInstrInfo", "(", "", ",", "", ")", ",", "TM", "(", "tm", ")", ",", "RI", "(", "*", "TM", ".", "getSubtargetImpl", "(", ")", ",", "*", "this", ")", "{"], "ground_truth": ["}"], "File": "SPUInstrInfo1", "Func": "SPUInstrInfo", "Target": "CellSPU", "Target_Clf": "MPU", "Compiler_Type": "LLVM", "Idx": 61062, "Length": 35, "Cover_Rate": 0.8974358974358975} {"Template_token": ["", "else", "if", "(", "RC", "==", "&", "", ")", "opc", "=", "isValidFrameIdx", "?", "", ":", "", ";", "else", "if", "(", "RC", "==", "&", "", ")", "opc", "=", "isValidFrameIdx", "?", "", ":", "", ";", "else", "if", "(", "RC", "==", "&", "", ")", "opc", "=", "isValidFrameIdx", "?", "", ":", "", ";", "else", "if", "(", "RC", "==", "&", "", ")", "opc", "=", "isValidFrameIdx", "?", "", ":", "", ";", "else", "if", "(", "RC", "==", "&", "", ")", "opc", "=", "isValidFrameIdx", "?", "", ":", "", ";", "else", "if", "(", "RC", "==", "&", "", ")", "opc", "=", "isValidFrameIdx", "?", "", ":", "", ";", "else", "llvm_unreachable", "(", "", ")", ";", "DebugLoc", "DL", ";", "if", "(", "MI", "!=", "MBB", ".", "end", "(", ")", ")", "DL", "=", "MI", "->", "getDebugLoc", "(", ")", ";", "addFrameReference", "(", "BuildMI", "(", "MBB", ",", "MI", ",", "DL", ",", "get", "(", "opc", ")", ")", ".", "addReg", "(", "SrcReg", ",", "getKillRegState", "(", "isKill", ")", ")", ",", "FrameIdx", ")", ";"], "ground_truth": ["}"], "File": "SPUInstrInfo1", "Func": "storeRegToStackSlot", "Target": "CellSPU", "Target_Clf": "MPU", "Compiler_Type": "LLVM", "Idx": 61063, "Length": 153, "Cover_Rate": 0.5406360424028268} {"Template_token": ["", "}", "else", "if", "(", "RC", "==", "", ")", "{", "opc", "=", "(", "isValidFrameIdx", "?", "", ":", "", ")", ";", "}", "else", "if", "(", "RC", "==", "", ")", "{", "opc", "=", "(", "isValidFrameIdx", "?", "", ":", "", ")", ";", "}", "else", "if", "(", "RC", "==", "", ")", "{", "opc", "=", "(", "isValidFrameIdx", ")", "?", "", ":", "", ";", "}", "else", "{", "llvm_unreachable", "(", "", ")", ";", "}", "DebugLoc", "DL", ";", "if", "(", "MI", "!=", "MBB", ".", "end", "(", ")", ")", "DL", "=", "MI", "->", "getDebugLoc", "(", ")", ";"], "ground_truth": ["addFrameReference", "(", "BuildMI", "(", "MBB", ",", "MI", ",", "DL", ",", "get", "(", "opc", ")", ",", "DestReg", ")", ",", "FrameIdx", ")", ";"], "File": "SPUInstrInfo2", "Func": "loadRegFromStackSlot", "Target": "CellSPU", "Target_Clf": "MPU", "Compiler_Type": "LLVM", "Idx": 61064, "Length": 108, "Cover_Rate": 0.3624161073825503} {"Template_token": ["", "opc", "=", "(", "isValidFrameIdx", "?", "", ":", "", ")", ";", "}", "else", "if", "(", "RC", "==", "", ")", "{", "opc", "=", "(", "isValidFrameIdx", "?", "", ":", "", ")", ";", "}", "else", "if", "(", "RC", "==", "", ")", "{", "opc", "=", "(", "isValidFrameIdx", "?", "", ":", "", ")", ";", "}", "else", "if", "(", "RC", "==", "", ")", "{", "opc", "=", "(", "isValidFrameIdx", "?", "", ":", "", ")", ";", "}", "else", "if", "(", "RC", "==", "", ")", "{", "opc", "=", "(", "isValidFrameIdx", "?", "", ":", "", ")", ";", "}", "else", "if", "(", "RC", "==", "", ")", "{", "opc", "=", "(", "isValidFrameIdx", ")", "?", "", ":", "", ";", "}", "else", "{"], "ground_truth": ["llvm_unreachable", "(", "", ")", ";"], "File": "SPUInstrInfo2", "Func": "storeRegToStackSlot", "Target": "CellSPU", "Target_Clf": "MPU", "Compiler_Type": "LLVM", "Idx": 61065, "Length": 113, "Cover_Rate": 0.3656957928802589} {"Template_token": ["", "TBB", "=", "LastInst", "->", "getOperand", "(", "", ")", ".", "getMBB", "(", ")", ";", "DEBUG", "(", "cerr", "<<", "", ")", ";", "DEBUG", "(", "LastInst", "->", "dump", "(", ")", ")", ";", "Cond", ".", "push_back", "(", "MachineOperand", "::", "CreateImm", "(", "LastInst", "->", "getOpcode", "(", ")", ")", ")", ";", "Cond", ".", "push_back", "(", "LastInst", "->", "getOperand", "(", "", ")", ")", ";", "return", "false", ";", "}", "return", "true", ";", "}", "MachineInstr", "*", "SecondLastInst", "=", "I", ";", "if", "(", "SecondLastInst", "&&", "I", "!=", "MBB", ".", "begin", "(", ")", "&&", "isUnpredicatedTerminator", "(", "--", "I", ")", ")", "return", "true", ";", "if", "(", "isCondBranch", "(", "SecondLastInst", ")", "&&", "isUncondBranch", "(", "LastInst", ")", ")", "{", "TBB", "=", "SecondLastInst", "->", "getOperand", "(", "", ")", ".", "getMBB", "(", ")", ";", "DEBUG", "(", "cerr", "<<", "", ")", ";", "DEBUG", "(", "SecondLastInst", "->", "dump", "(", ")", ")", ";", "Cond", ".", "push_back", "(", "MachineOperand", "::", "CreateImm", "(", "SecondLastInst", "->", "getOpcode", "(", ")", ")", ")", ";"], "ground_truth": ["Cond", ".", "push_back", "(", "SecondLastInst", "->", "getOperand", "(", "", ")", ")", ";"], "File": "SPUInstrInfo3", "Func": "AnalyzeBranch", "Target": "CellSPU", "Target_Clf": "MPU", "Compiler_Type": "LLVM", "Idx": 61066, "Length": 162, "Cover_Rate": 0.4668587896253602} {"Template_token": ["", "bool", "InstrInfo", "::", "BlockHasNoFallThrough", "(", "const", "MachineBasicBlock", "&", "MBB", ")", "const", "{", "return", "(", "!", "MBB", ".", "empty", "(", ")", "&&", "isUncondBranch", "(", "&", "MBB", ".", "back", "(", ")", ")", ")", ";"], "ground_truth": ["}"], "File": "SPUInstrInfo3", "Func": "BlockHasNoFallThrough", "Target": "CellSPU", "Target_Clf": "MPU", "Compiler_Type": "LLVM", "Idx": 61067, "Length": 33, "Cover_Rate": 1.0} {"Template_token": ["", "bool", "InstrInfo", "::", "BlockHasNoFallThrough", "(", "const", "MachineBasicBlock", "&", "MBB", ")", "const", "{"], "ground_truth": ["return", "(", "!", "MBB", ".", "empty", "(", ")", "&&", "isUncondBranch", "(", "&", "MBB", ".", "back", "(", ")", ")", ")", ";"], "File": "SPUInstrInfo3", "Func": "BlockHasNoFallThrough", "Target": "CellSPU", "Target_Clf": "MPU", "Compiler_Type": "LLVM", "Idx": 61068, "Length": 32, "Cover_Rate": 0.9696969696969697} {"Template_token": ["", "bool", "InstrInfo", "::", "copyRegToReg", "(", "MachineBasicBlock", "&", "MBB", ",", "MachineBasicBlock", "::", "iterator", "MI", ",", "unsigned", "DestReg", ",", "unsigned", "SrcReg", ",", "const", "TargetRegisterClass", "*", "DestRC", ",", "const", "TargetRegisterClass", "*", "SrcRC", ")", "const", "{", "DebugLoc", "DL", "=", "DebugLoc", "::", "getUnknownLoc", "(", ")", ";", "if", "(", "MI", "!=", "MBB", ".", "end", "(", ")", ")", "DL", "=", "MI", "->", "getDebugLoc", "(", ")", ";", "if", "(", "DestRC", "==", "", ")", "{", "BuildMI", "(", "MBB", ",", "MI", ",", "DL", ",", "get", "(", "", ")", ",", "DestReg", ")", ".", "addReg", "(", "SrcReg", ")", ";", "}", "else", "if", "(", "DestRC", "==", "", ")", "{", "BuildMI", "(", "MBB", ",", "MI", ",", "DL", ",", "get", "(", "", ")", ",", "DestReg", ")", ".", "addReg", "(", "SrcReg", ")", ";", "}", "else", "if", "(", "DestRC", "==", "", ")", "{", "BuildMI", "(", "MBB", ",", "MI", ",", "DL", ",", "get", "(", "", ")", ",", "DestReg", ")", ".", "addReg", "(", "SrcReg", ")", ";", "}", "else", "if", "(", "DestRC", "==", "", ")", "{", "BuildMI", "(", "MBB", ",", "MI", ",", "DL", ",", "get", "(", "", ")", ",", "DestReg", ")", ".", "addReg", "(", "SrcReg", ")", ";", "}", "else", "if", "(", "DestRC", "==", "", ")", "{", "BuildMI", "(", "MBB", ",", "MI", ",", "DL", ",", "get", "(", "", ")", ",", "DestReg", ")", ".", "addReg", "(", "SrcReg", ")", ";"], "ground_truth": ["}", "else", "if", "(", "DestRC", "==", "", ")", "{"], "File": "SPUInstrInfo3", "Func": "copyRegToReg", "Target": "CellSPU", "Target_Clf": "MPU", "Compiler_Type": "LLVM", "Idx": 61069, "Length": 216, "Cover_Rate": 0.6352941176470588} {"Template_token": ["", "BuildMI", "(", "MBB", ",", "MI", ",", "DL", ",", "get", "(", "", ")", ",", "DestReg", ")", ".", "addReg", "(", "SrcReg", ")", ";", "}", "else", "if", "(", "DestRC", "==", "", ")", "{", "BuildMI", "(", "MBB", ",", "MI", ",", "DL", ",", "get", "(", "", ")", ",", "DestReg", ")", ".", "addReg", "(", "SrcReg", ")", ";", "}", "else", "if", "(", "DestRC", "==", "", ")", "{", "BuildMI", "(", "MBB", ",", "MI", ",", "DL", ",", "get", "(", "", ")", ",", "DestReg", ")", ".", "addReg", "(", "SrcReg", ")", ";", "}", "else", "if", "(", "DestRC", "==", "", ")", "{", "BuildMI", "(", "MBB", ",", "MI", ",", "DL", ",", "get", "(", "", ")", ",", "DestReg", ")", ".", "addReg", "(", "SrcReg", ")", ";", "}", "else", "if", "(", "DestRC", "==", "", ")", "{"], "ground_truth": ["BuildMI", "(", "MBB", ",", "MI", ",", "DL", ",", "get", "(", "", ")", ",", "DestReg", ")", ".", "addReg", "(", "SrcReg", ")", ";"], "File": "SPUInstrInfo3", "Func": "copyRegToReg", "Target": "CellSPU", "Target_Clf": "MPU", "Compiler_Type": "LLVM", "Idx": 61070, "Length": 141, "Cover_Rate": 0.4147058823529412} {"Template_token": ["", "case", "", ":", "case", "", ":", "case", "", ":", "case", "", ":", "if", "(", "OpNum", "==", "", ")", "{", "unsigned", "InReg", "=", "MI", "->", "getOperand", "(", "", ")", ".", "getReg", "(", ")", ";", "bool", "isKill", "=", "MI", "->", "getOperand", "(", "", ")", ".", "isKill", "(", ")", ";", "if", "(", "FrameIndex", "<", "FrameInfo", "::", "maxFrameOffset", "(", ")", ")", "{", "MachineInstrBuilder", "MIB", "=", "BuildMI", "(", "MF", ",", "MI", "->", "getDebugLoc", "(", ")", ",", "get", "(", "", ")", ")", ";", "MIB", ".", "addReg", "(", "InReg", ",", "getKillRegState", "(", "isKill", ")", ")", ";", "NewMI", "=", "addFrameReference", "(", "MIB", ",", "FrameIndex", ")", ";", "}", "}", "else", "{", "unsigned", "OutReg", "=", "MI", "->", "getOperand", "(", "", ")", ".", "getReg", "(", ")", ";", "bool", "isDead", "=", "MI", "->", "getOperand", "(", "", ")", ".", "isDead", "(", ")", ";", "MachineInstrBuilder", "MIB", "=", "BuildMI", "(", "MF", ",", "MI", "->", "getDebugLoc", "(", ")", ",", "get", "(", "Opc", ")", ")", ";", "MIB", ".", "addReg", "(", "OutReg", ",", "RegState", "::", "Define", "|", "getDeadRegState", "(", "isDead", ")", ")", ";", "Opc", "=", "(", "FrameIndex", "<", "FrameInfo", "::", "maxFrameOffset", "(", ")", ")", "?", "", ":", "", ";"], "ground_truth": ["NewMI", "=", "addFrameReference", "(", "MIB", ",", "FrameIndex", ")", ";"], "File": "SPUInstrInfo3", "Func": "foldMemoryOperandImpl", "Target": "CellSPU", "Target_Clf": "MPU", "Compiler_Type": "LLVM", "Idx": 61071, "Length": 190, "Cover_Rate": 0.6129032258064516} {"Template_token": ["", "unsigned", "OpNum", "=", "Ops", "[", "", "]", ";", "unsigned", "Opc", "=", "MI", "->", "getOpcode", "(", ")", ";", "MachineInstr", "*", "NewMI", "=", "", ";", "switch", "(", "Opc", ")", "{", "case", "", ":", "case", "", ":", "case", "", ":", "case", "", ":", "case", "", ":", "case", "", ":", "case", "", ":", "case", "", ":", "case", "", ":", "case", "", ":", "if", "(", "OpNum", "==", "", ")", "{", "unsigned", "InReg", "=", "MI", "->", "getOperand", "(", "", ")", ".", "getReg", "(", ")", ";", "bool", "isKill", "=", "MI", "->", "getOperand", "(", "", ")", ".", "isKill", "(", ")", ";", "if", "(", "FrameIndex", "<", "FrameInfo", "::", "maxFrameOffset", "(", ")", ")", "{", "MachineInstrBuilder", "MIB", "=", "BuildMI", "(", "MF", ",", "MI", "->", "getDebugLoc", "(", ")", ",", "get", "(", "", ")", ")", ";", "MIB", ".", "addReg", "(", "InReg", ",", "getKillRegState", "(", "isKill", ")", ")", ";", "NewMI", "=", "addFrameReference", "(", "MIB", ",", "FrameIndex", ")", ";", "}", "}", "else", "{", "unsigned", "OutReg", "=", "MI", "->", "getOperand", "(", "", ")", ".", "getReg", "(", ")", ";", "bool", "isDead", "=", "MI", "->", "getOperand", "(", "", ")", ".", "isDead", "(", ")", ";", "MachineInstrBuilder", "MIB", "=", "BuildMI", "(", "MF", ",", "MI", "->", "getDebugLoc", "(", ")", ",", "get", "(", "Opc", ")", ")", ";"], "ground_truth": ["MIB", ".", "addReg", "(", "OutReg", ",", "RegState", "::", "Define", "|", "getDeadRegState", "(", "isDead", ")", ")", ";"], "File": "SPUInstrInfo3", "Func": "foldMemoryOperandImpl", "Target": "CellSPU", "Target_Clf": "MPU", "Compiler_Type": "LLVM", "Idx": 61072, "Length": 211, "Cover_Rate": 0.6806451612903226} {"Template_token": ["", "MachineInstrBuilder", "MIB", "=", "BuildMI", "(", "&", "MBB", ",", "dl", ",", "get", "(", "Cond", "[", "", "]", ".", "getImm", "(", ")", ")", ")", ";", "MIB", ".", "addReg", "(", "Cond", "[", "", "]", ".", "getReg", "(", ")", ")", ".", "addMBB", "(", "TBB", ")", ";", "DEBUG", "(", "cerr", "<<", "", ")", ";", "DEBUG", "(", "(", "*", "MIB", ")", ".", "dump", "(", ")", ")", ";", "}", "return", "", ";", "}", "else", "{", "MachineInstrBuilder", "MIB", "=", "BuildMI", "(", "&", "MBB", ",", "dl", ",", "get", "(", "Cond", "[", "", "]", ".", "getImm", "(", ")", ")", ")", ";", "MachineInstrBuilder", "MIB2", "=", "BuildMI", "(", "&", "MBB", ",", "dl", ",", "get", "(", "", ")", ")", ";", "MIB", ".", "addReg", "(", "Cond", "[", "", "]", ".", "getReg", "(", ")", ")", ".", "addMBB", "(", "TBB", ")", ";", "MIB2", ".", "addMBB", "(", "FBB", ")", ";", "DEBUG", "(", "cerr", "<<", "", ")", ";", "DEBUG", "(", "(", "*", "MIB", ")", ".", "dump", "(", ")", ")", ";"], "ground_truth": ["DEBUG", "(", "cerr", "<<", "", ")", ";"], "File": "SPUInstrInfo3", "Func": "InsertBranch", "Target": "CellSPU", "Target_Clf": "MPU", "Compiler_Type": "LLVM", "Idx": 61073, "Length": 159, "Cover_Rate": 0.5179153094462541} {"Template_token": ["", "}", "else", "{", "MachineInstrBuilder", "MIB", "=", "BuildMI", "(", "&", "MBB", ",", "dl", ",", "get", "(", "Cond", "[", "", "]", ".", "getImm", "(", ")", ")", ")", ";", "MIB", ".", "addReg", "(", "Cond", "[", "", "]", ".", "getReg", "(", ")", ")", ".", "addMBB", "(", "TBB", ")", ";", "DEBUG", "(", "cerr", "<<", "", ")", ";", "DEBUG", "(", "(", "*", "MIB", ")", ".", "dump", "(", ")", ")", ";", "}", "return", "", ";", "}", "else", "{", "MachineInstrBuilder", "MIB", "=", "BuildMI", "(", "&", "MBB", ",", "dl", ",", "get", "(", "Cond", "[", "", "]", ".", "getImm", "(", ")", ")", ")", ";", "MachineInstrBuilder", "MIB2", "=", "BuildMI", "(", "&", "MBB", ",", "dl", ",", "get", "(", "", ")", ")", ";", "MIB", ".", "addReg", "(", "Cond", "[", "", "]", ".", "getReg", "(", ")", ")", ".", "addMBB", "(", "TBB", ")", ";", "MIB2", ".", "addMBB", "(", "FBB", ")", ";", "DEBUG", "(", "cerr", "<<", "", ")", ";", "DEBUG", "(", "(", "*", "MIB", ")", ".", "dump", "(", ")", ")", ";"], "ground_truth": ["DEBUG", "(", "cerr", "<<", "", ")", ";"], "File": "SPUInstrInfo3", "Func": "InsertBranch", "Target": "CellSPU", "Target_Clf": "MPU", "Compiler_Type": "LLVM", "Idx": 61074, "Length": 162, "Cover_Rate": 0.5276872964169381} {"Template_token": ["", "abort", "(", ")", ";", "if", "(", "Addr", "[", "", "]", ".", "isFI", "(", ")", ")", "{", "}", "else", "{", "unsigned", "Opc", "=", "", ";", "if", "(", "RC", "==", "", ")", "{", "}", "else", "if", "(", "RC", "==", "", ")", "{", "}", "else", "if", "(", "RC", "==", "", ")", "{", "}", "else", "if", "(", "RC", "==", "", ")", "{", "}", "else", "if", "(", "RC", "==", "", ")", "{", "}", "else", "if", "(", "RC", "==", "", ")", "{"], "ground_truth": ["}", "else", "if", "(", "RC", "==", "", ")", "{"], "File": "SPUInstrInfo3", "Func": "loadRegFromAddr", "Target": "CellSPU", "Target_Clf": "MPU", "Compiler_Type": "LLVM", "Idx": 61075, "Length": 85, "Cover_Rate": 0.3881278538812785} {"Template_token": ["", "bool", "isValidFrameIdx", "=", "(", "FrameIdx", "<", "FrameInfo", "::", "maxFrameOffset", "(", ")", ")", ";", "if", "(", "RC", "==", "", ")", "{", "opc", "=", "(", "isValidFrameIdx", "?", "", ":", "", ")", ";", "}", "else", "if", "(", "RC", "==", "", ")", "{", "opc", "=", "(", "isValidFrameIdx", "?", "", ":", "", ")", ";", "}", "else", "if", "(", "RC", "==", "", ")", "{", "opc", "=", "(", "isValidFrameIdx", "?", "", ":", "", ")", ";", "}", "else", "if", "(", "RC", "==", "", ")", "{", "opc", "=", "(", "isValidFrameIdx", "?", "", ":", "", ")", ";", "}", "else", "if", "(", "RC", "==", "", ")", "{", "opc", "=", "(", "isValidFrameIdx", "?", "", ":", "", ")", ";", "}", "else", "if", "(", "RC", "==", "", ")", "{", "opc", "=", "(", "isValidFrameIdx", "?", "", ":", "", ")", ";", "}", "else", "if", "(", "RC", "==", "", ")", "{", "opc", "=", "(", "isValidFrameIdx", "?", "", ":", "", ")", ";", "}", "else", "if", "(", "RC", "==", "", ")", "{", "opc", "=", "(", "isValidFrameIdx", ")", "?", "", ":", "", ";", "}", "else", "{", "assert", "(", "", "&&", "", ")", ";", "abort", "(", ")", ";", "}", "DebugLoc", "DL", "=", "DebugLoc", "::", "getUnknownLoc", "(", ")", ";", "if", "(", "MI", "!=", "MBB", ".", "end", "(", ")", ")", "DL", "=", "MI", "->", "getDebugLoc", "(", ")", ";", "addFrameReference", "(", "BuildMI", "(", "MBB", ",", "MI", ",", "DL", ",", "get", "(", "opc", ")", ",", "DestReg", ")", ",", "FrameIdx", ")", ";"], "ground_truth": ["}"], "File": "SPUInstrInfo3", "Func": "loadRegFromStackSlot", "Target": "CellSPU", "Target_Clf": "MPU", "Compiler_Type": "LLVM", "Idx": 61076, "Length": 227, "Cover_Rate": 0.7442622950819672} {"Template_token": ["", "if", "(", "RC", "==", "", ")", "{", "opc", "=", "(", "isValidFrameIdx", "?", "", ":", "", ")", ";", "}", "else", "if", "(", "RC", "==", "", ")", "{", "opc", "=", "(", "isValidFrameIdx", "?", "", ":", "", ")", ";", "}", "else", "if", "(", "RC", "==", "", ")", "{", "opc", "=", "(", "isValidFrameIdx", "?", "", ":", "", ")", ";", "}", "else", "if", "(", "RC", "==", "", ")", "{", "opc", "=", "(", "isValidFrameIdx", "?", "", ":", "", ")", ";", "}", "else", "if", "(", "RC", "==", "", ")", "{", "opc", "=", "(", "isValidFrameIdx", "?", "", ":", "", ")", ";", "}", "else", "if", "(", "RC", "==", "", ")", "{", "opc", "=", "(", "isValidFrameIdx", "?", "", ":", "", ")", ";", "}", "else", "if", "(", "RC", "==", "", ")", "{", "opc", "=", "(", "isValidFrameIdx", "?", "", ":", "", ")", ";", "}", "else", "if", "(", "RC", "==", "", ")", "{", "opc", "=", "(", "isValidFrameIdx", ")", "?", "", ":", "", ";", "}", "else", "{", "assert", "(", "", "&&", "", ")", ";", "abort", "(", ")", ";", "}", "DebugLoc", "DL", "=", "DebugLoc", "::", "getUnknownLoc", "(", ")", ";", "if", "(", "MI", "!=", "MBB", ".", "end", "(", ")", ")", "DL", "=", "MI", "->", "getDebugLoc", "(", ")", ";"], "ground_truth": ["addFrameReference", "(", "BuildMI", "(", "MBB", ",", "MI", ",", "DL", ",", "get", "(", "opc", ")", ",", "DestReg", ")", ",", "FrameIdx", ")", ";"], "File": "SPUInstrInfo3", "Func": "loadRegFromStackSlot", "Target": "CellSPU", "Target_Clf": "MPU", "Compiler_Type": "LLVM", "Idx": 61077, "Length": 213, "Cover_Rate": 0.6983606557377049} {"Template_token": ["", "unsigned", "InstrInfo", "::", "RemoveBranch", "(", "MachineBasicBlock", "&", "MBB", ")", "const", "{", "MachineBasicBlock", "::", "iterator", "I", "=", "MBB", ".", "end", "(", ")", ";", "if", "(", "I", "==", "MBB", ".", "begin", "(", ")", ")", "return", "", ";", "--", "I", ";"], "ground_truth": ["if", "(", "!", "isCondBranch", "(", "I", ")", "&&", "!", "isUncondBranch", "(", "I", ")", ")", "return", "", ";"], "File": "SPUInstrInfo3", "Func": "RemoveBranch", "Target": "CellSPU", "Target_Clf": "MPU", "Compiler_Type": "LLVM", "Idx": 61078, "Length": 55, "Cover_Rate": 0.3793103448275862} {"Template_token": ["", "DEBUG", "(", "cerr", "<<", "", ")", ";", "DEBUG", "(", "I", "->", "dump", "(", ")", ")", ";", "I", "->", "eraseFromParent", "(", ")", ";", "I", "=", "MBB", ".", "end", "(", ")", ";", "if", "(", "I", "==", "MBB", ".", "begin", "(", ")", ")", "return", "", ";", "--", "I", ";", "if", "(", "!", "(", "isCondBranch", "(", "I", ")", "||", "isUncondBranch", "(", "I", ")", ")", ")", "return", "", ";", "DEBUG", "(", "cerr", "<<", "", ")", ";", "DEBUG", "(", "I", "->", "dump", "(", ")", ")", ";", "I", "->", "eraseFromParent", "(", ")", ";"], "ground_truth": ["return", "", ";"], "File": "SPUInstrInfo3", "Func": "RemoveBranch", "Target": "CellSPU", "Target_Clf": "MPU", "Compiler_Type": "LLVM", "Idx": 61079, "Length": 89, "Cover_Rate": 0.6137931034482759} {"Template_token": ["", "}", "else", "if", "(", "RC", "==", "", ")", "{", "}", "else", "if", "(", "RC", "==", "", ")", "{", "}", "else", "if", "(", "RC", "==", "", ")", "{", "}", "else", "{", "assert", "(", "", "&&", "", ")", ";", "abort", "(", ")", ";", "}", "DebugLoc", "DL", "=", "DebugLoc", "::", "getUnknownLoc", "(", ")", ";", "MachineInstrBuilder", "MIB", "=", "BuildMI", "(", "MF", ",", "DL", ",", "get", "(", "Opc", ")", ")", ".", "addReg", "(", "SrcReg", ",", "getKillRegState", "(", "isKill", ")", ")", ";", "for", "(", "unsigned", "i", "=", "", ",", "e", "=", "Addr", ".", "size", "(", ")", ";", "i", "!=", "e", ";", "++", "i", ")", "MIB", ".", "addOperand", "(", "Addr", "[", "i", "]", ")", ";", "NewMIs", ".", "push_back", "(", "MIB", ")", ";", "}"], "ground_truth": ["}"], "File": "SPUInstrInfo3", "Func": "storeRegToAddr", "Target": "CellSPU", "Target_Clf": "MPU", "Compiler_Type": "LLVM", "Idx": 61080, "Length": 117, "Cover_Rate": 0.5342465753424658} {"Template_token": ["", "opc", "=", "(", "isValidFrameIdx", "?", "", ":", "", ")", ";", "}", "else", "if", "(", "RC", "==", "", ")", "{", "opc", "=", "(", "isValidFrameIdx", "?", "", ":", "", ")", ";", "}", "else", "if", "(", "RC", "==", "", ")", "{", "opc", "=", "(", "isValidFrameIdx", "?", "", ":", "", ")", ";", "}", "else", "if", "(", "RC", "==", "", ")", "{", "opc", "=", "(", "isValidFrameIdx", "?", "", ":", "", ")", ";", "}", "else", "if", "(", "RC", "==", "", ")", "{", "opc", "=", "(", "isValidFrameIdx", "?", "", ":", "", ")", ";", "}", "else", "if", "(", "RC", "==", "", ")", "{", "opc", "=", "(", "isValidFrameIdx", "?", "", ":", "", ")", ";", "}", "else", "if", "(", "RC", "==", "", ")", "{", "opc", "=", "(", "isValidFrameIdx", "?", "", ":", "", ")", ";"], "ground_truth": ["}", "else", "if", "(", "RC", "==", "", ")", "{"], "File": "SPUInstrInfo3", "Func": "storeRegToStackSlot", "Target": "CellSPU", "Target_Clf": "MPU", "Compiler_Type": "LLVM", "Idx": 61081, "Length": 133, "Cover_Rate": 0.4208860759493671} {"Template_token": ["", "void", "InstrInfo", "::", "storeRegToStackSlot", "(", "MachineBasicBlock", "&", "MBB", ",", "MachineBasicBlock", "::", "iterator", "MI", ",", "unsigned", "SrcReg", ",", "bool", "isKill", ",", "int", "FrameIdx", ",", "const", "TargetRegisterClass", "*", "RC", ")", "const", "{", "unsigned", "opc", ";", "bool", "isValidFrameIdx", "=", "(", "FrameIdx", "<", "FrameInfo", "::", "maxFrameOffset", "(", ")", ")", ";", "if", "(", "RC", "==", "", ")", "{", "opc", "=", "(", "isValidFrameIdx", "?", "", ":", "", ")", ";", "}", "else", "if", "(", "RC", "==", "", ")", "{", "opc", "=", "(", "isValidFrameIdx", "?", "", ":", "", ")", ";", "}", "else", "if", "(", "RC", "==", "", ")", "{", "opc", "=", "(", "isValidFrameIdx", "?", "", ":", "", ")", ";", "}", "else", "if", "(", "RC", "==", "", ")", "{", "opc", "=", "(", "isValidFrameIdx", "?", "", ":", "", ")", ";", "}", "else", "if", "(", "RC", "==", "", ")", "{", "opc", "=", "(", "isValidFrameIdx", "?", "", ":", "", ")", ";", "}", "else", "if", "(", "RC", "==", "", ")", "{", "opc", "=", "(", "isValidFrameIdx", "?", "", ":", "", ")", ";", "}", "else", "if", "(", "RC", "==", "", ")", "{", "opc", "=", "(", "isValidFrameIdx", "?", "", ":", "", ")", ";", "}", "else", "if", "(", "RC", "==", "", ")", "{"], "ground_truth": ["opc", "=", "(", "isValidFrameIdx", ")", "?", "", ":", "", ";"], "File": "SPUInstrInfo3", "Func": "storeRegToStackSlot", "Target": "CellSPU", "Target_Clf": "MPU", "Compiler_Type": "LLVM", "Idx": 61082, "Length": 196, "Cover_Rate": 0.620253164556962} {"Template_token": ["", "}", "else", "if", "(", "RC", "==", "", ")", "{", "opc", "=", "(", "isValidFrameIdx", "?", "", ":", "", ")", ";", "}", "else", "if", "(", "RC", "==", "", ")", "{", "opc", "=", "(", "isValidFrameIdx", "?", "", ":", "", ")", ";", "}", "else", "if", "(", "RC", "==", "", ")", "{", "opc", "=", "(", "isValidFrameIdx", ")", "?", "", ":", "", ";", "}", "else", "{", "llvm_unreachable", "(", "", ")", ";", "}", "DebugLoc", "DL", "=", "DebugLoc", "::", "getUnknownLoc", "(", ")", ";"], "ground_truth": ["if", "(", "MI", "!=", "MBB", ".", "end", "(", ")", ")", "DL", "=", "MI", "->", "getDebugLoc", "(", ")", ";"], "File": "SPUInstrInfo5", "Func": "loadRegFromStackSlot", "Target": "CellSPU", "Target_Clf": "MPU", "Compiler_Type": "LLVM", "Idx": 61083, "Length": 93, "Cover_Rate": 0.3110367892976589} {"Template_token": ["", "}", "else", "if", "(", "RC", "==", "", ")", "{", "opc", "=", "(", "isValidFrameIdx", "?", "", ":", "", ")", ";", "}", "else", "if", "(", "RC", "==", "", ")", "{", "opc", "=", "(", "isValidFrameIdx", "?", "", ":", "", ")", ";", "}", "else", "if", "(", "RC", "==", "", ")", "{", "opc", "=", "(", "isValidFrameIdx", "?", "", ":", "", ")", ";", "}", "else", "if", "(", "RC", "==", "", ")", "{", "opc", "=", "(", "isValidFrameIdx", ")", "?", "", ":", "", ";", "}", "else", "{", "llvm_unreachable", "(", "", ")", ";", "}"], "ground_truth": ["DebugLoc", "DL", "=", "DebugLoc", "::", "getUnknownLoc", "(", ")", ";"], "File": "SPUInstrInfo5", "Func": "storeRegToStackSlot", "Target": "CellSPU", "Target_Clf": "MPU", "Compiler_Type": "LLVM", "Idx": 61084, "Length": 94, "Cover_Rate": 0.3032258064516129} {"Template_token": ["", "if", "(", "SecondLastInst", "&&", "I", "!=", "MBB", ".", "begin", "(", ")", "&&", "isUnpredicatedTerminator", "(", "--", "I", ")", ")", "return", "true", ";", "if", "(", "isCondBranch", "(", "SecondLastInst", ")", "&&", "isUncondBranch", "(", "LastInst", ")", ")", "{", "TBB", "=", "SecondLastInst", "->", "getOperand", "(", "", ")", ".", "getMBB", "(", ")", ";", "DEBUG", "(", "errs", "(", ")", "<<", "", ")", ";", "DEBUG", "(", "SecondLastInst", "->", "dump", "(", ")", ")", ";", "Cond", ".", "push_back", "(", "MachineOperand", "::", "CreateImm", "(", "SecondLastInst", "->", "getOpcode", "(", ")", ")", ")", ";", "Cond", ".", "push_back", "(", "SecondLastInst", "->", "getOperand", "(", "", ")", ")", ";", "FBB", "=", "LastInst", "->", "getOperand", "(", "", ")", ".", "getMBB", "(", ")", ";", "return", "false", ";", "}", "if", "(", "isUncondBranch", "(", "SecondLastInst", ")", "&&", "isUncondBranch", "(", "LastInst", ")", ")", "{", "TBB", "=", "SecondLastInst", "->", "getOperand", "(", "", ")", ".", "getMBB", "(", ")", ";", "I", "=", "LastInst", ";", "if", "(", "AllowModify", ")", "I", "->", "eraseFromParent", "(", ")", ";"], "ground_truth": ["return", "false", ";"], "File": "SPUInstrInfo6", "Func": "AnalyzeBranch", "Target": "CellSPU", "Target_Clf": "MPU", "Compiler_Type": "LLVM", "Idx": 61085, "Length": 153, "Cover_Rate": 0.4358974358974359} {"Template_token": ["", "assert", "(", "(", "Cond", ".", "size", "(", ")", "==", "", "||", "Cond", ".", "size", "(", ")", "==", "", ")", "&&", "", ")", ";", "if", "(", "FBB", "==", "", ")", "{", "if", "(", "Cond", ".", "empty", "(", ")", ")", "{", "MachineInstrBuilder", "MIB", "=", "BuildMI", "(", "&", "MBB", ",", "dl", ",", "get", "(", "", ")", ")", ";", "MIB", ".", "addMBB", "(", "TBB", ")", ";", "DEBUG", "(", "errs", "(", ")", "<<", "", ")", ";", "DEBUG", "(", "(", "*", "MIB", ")", ".", "dump", "(", ")", ")", ";", "}", "else", "{", "MachineInstrBuilder", "MIB", "=", "BuildMI", "(", "&", "MBB", ",", "dl", ",", "get", "(", "Cond", "[", "", "]", ".", "getImm", "(", ")", ")", ")", ";", "MIB", ".", "addReg", "(", "Cond", "[", "", "]", ".", "getReg", "(", ")", ")", ".", "addMBB", "(", "TBB", ")", ";", "DEBUG", "(", "errs", "(", ")", "<<", "", ")", ";", "DEBUG", "(", "(", "*", "MIB", ")", ".", "dump", "(", ")", ")", ";", "}", "return", "", ";", "}", "else", "{", "MachineInstrBuilder", "MIB", "=", "BuildMI", "(", "&", "MBB", ",", "dl", ",", "get", "(", "Cond", "[", "", "]", ".", "getImm", "(", ")", ")", ")", ";", "MachineInstrBuilder", "MIB2", "=", "BuildMI", "(", "&", "MBB", ",", "dl", ",", "get", "(", "", ")", ")", ";", "MIB", ".", "addReg", "(", "Cond", "[", "", "]", ".", "getReg", "(", ")", ")", ".", "addMBB", "(", "TBB", ")", ";", "MIB2", ".", "addMBB", "(", "FBB", ")", ";", "DEBUG", "(", "errs", "(", ")", "<<", "", ")", ";", "DEBUG", "(", "(", "*", "MIB", ")", ".", "dump", "(", ")", ")", ";", "DEBUG", "(", "errs", "(", ")", "<<", "", ")", ";"], "ground_truth": ["DEBUG", "(", "(", "*", "MIB2", ")", ".", "dump", "(", ")", ")", ";"], "File": "SPUInstrInfo6", "Func": "InsertBranch", "Target": "CellSPU", "Target_Clf": "MPU", "Compiler_Type": "LLVM", "Idx": 61086, "Length": 263, "Cover_Rate": 0.834920634920635} {"Template_token": ["", "--", "I", ";", "if", "(", "!", "(", "isCondBranch", "(", "I", ")", "||", "isUncondBranch", "(", "I", ")", ")", ")", "return", "", ";", "DEBUG", "(", "errs", "(", ")", "<<", "", ")", ";", "DEBUG", "(", "I", "->", "dump", "(", ")", ")", ";", "I", "->", "eraseFromParent", "(", ")", ";"], "ground_truth": ["return", "", ";"], "File": "SPUInstrInfo6", "Func": "RemoveBranch", "Target": "CellSPU", "Target_Clf": "MPU", "Compiler_Type": "LLVM", "Idx": 61087, "Length": 48, "Cover_Rate": 0.3221476510067114} {"Template_token": ["", "unsigned", "OutReg", "=", "MI", "->", "getOperand", "(", "", ")", ".", "getReg", "(", ")", ";", "bool", "isDead", "=", "MI", "->", "getOperand", "(", "", ")", ".", "isDead", "(", ")", ";", "MachineInstrBuilder", "MIB", "=", "BuildMI", "(", "MF", ",", "MI", "->", "getDebugLoc", "(", ")", ",", "get", "(", "Opc", ")", ")", ";", "MIB", ".", "addReg", "(", "OutReg", ",", "true", ",", "false", ",", "false", ",", "isDead", ")", ";", "Opc", "=", "(", "FrameIndex", "<", "FrameInfo", "::", "maxFrameOffset", "(", ")", ")", "?", "", ":", "", ";", "NewMI", "=", "addFrameReference", "(", "MIB", ",", "FrameIndex", ")", ";", "break", ";", "}", "}"], "ground_truth": ["return", "NewMI", ";"], "File": "SPUInstrInfo9", "Func": "foldMemoryOperandImpl", "Target": "CellSPU", "Target_Clf": "MPU", "Compiler_Type": "LLVM", "Idx": 61088, "Length": 94, "Cover_Rate": 0.3032258064516129} {"Template_token": ["", "case", "", ":", "case", "", ":", "case", "", ":", "case", "", ":", "case", "", ":", "case", "", ":", "case", "", ":", "case", "", ":", "case", "", ":", "if", "(", "OpNum", "==", "", ")", "{", "unsigned", "InReg", "=", "MI", "->", "getOperand", "(", "", ")", ".", "getReg", "(", ")", ";", "bool", "isKill", "=", "MI", "->", "getOperand", "(", "", ")", ".", "isKill", "(", ")", ";", "if", "(", "FrameIndex", "<", "FrameInfo", "::", "maxFrameOffset", "(", ")", ")", "{", "MachineInstrBuilder", "MIB", "=", "BuildMI", "(", "MF", ",", "MI", "->", "getDebugLoc", "(", ")", ",", "get", "(", "", ")", ")", ";", "MIB", ".", "addReg", "(", "InReg", ",", "false", ",", "false", ",", "isKill", ")", ";", "NewMI", "=", "addFrameReference", "(", "MIB", ",", "FrameIndex", ")", ";", "}", "}", "else", "{", "unsigned", "OutReg", "=", "MI", "->", "getOperand", "(", "", ")", ".", "getReg", "(", ")", ";", "bool", "isDead", "=", "MI", "->", "getOperand", "(", "", ")", ".", "isDead", "(", ")", ";", "MachineInstrBuilder", "MIB", "=", "BuildMI", "(", "MF", ",", "MI", "->", "getDebugLoc", "(", ")", ",", "get", "(", "Opc", ")", ")", ";", "MIB", ".", "addReg", "(", "OutReg", ",", "true", ",", "false", ",", "false", ",", "isDead", ")", ";"], "ground_truth": ["Opc", "=", "(", "FrameIndex", "<", "FrameInfo", "::", "maxFrameOffset", "(", ")", ")", "?", "", ":", "", ";"], "File": "SPUInstrInfo9", "Func": "foldMemoryOperandImpl", "Target": "CellSPU", "Target_Clf": "MPU", "Compiler_Type": "LLVM", "Idx": 61089, "Length": 196, "Cover_Rate": 0.632258064516129} {"Template_token": ["", "bool", "isValidFrameIdx", "=", "(", "FrameIdx", "<", "FrameInfo", "::", "maxFrameOffset", "(", ")", ")", ";", "if", "(", "RC", "==", "", ")", "{", "opc", "=", "(", "isValidFrameIdx", "?", "", ":", "", ")", ";", "}", "else", "if", "(", "RC", "==", "", ")", "{", "opc", "=", "(", "isValidFrameIdx", "?", "", ":", "", ")", ";", "}", "else", "if", "(", "RC", "==", "", ")", "{", "opc", "=", "(", "isValidFrameIdx", "?", "", ":", "", ")", ";", "}", "else", "if", "(", "RC", "==", "", ")", "{", "opc", "=", "(", "isValidFrameIdx", "?", "", ":", "", ")", ";", "}", "else", "if", "(", "RC", "==", "", ")", "{", "opc", "=", "(", "isValidFrameIdx", "?", "", ":", "", ")", ";", "}", "else", "if", "(", "RC", "==", "", ")", "{", "opc", "=", "(", "isValidFrameIdx", "?", "", ":", "", ")", ";", "}", "else", "if", "(", "RC", "==", "", ")", "{", "opc", "=", "(", "isValidFrameIdx", "?", "", ":", "", ")", ";", "}", "else", "if", "(", "RC", "==", "", ")", "{", "opc", "=", "(", "isValidFrameIdx", ")", "?", "", ":", "", ";", "}", "else", "{", "assert", "(", "", "&&", "", ")", ";", "abort", "(", ")", ";", "}", "DebugLoc", "DL", "=", "DebugLoc", "::", "getUnknownLoc", "(", ")", ";"], "ground_truth": ["if", "(", "MI", "!=", "MBB", ".", "end", "(", ")", ")", "DL", "=", "MI", "->", "getDebugLoc", "(", ")", ";"], "File": "SPUInstrInfo9", "Func": "loadRegFromStackSlot", "Target": "CellSPU", "Target_Clf": "MPU", "Compiler_Type": "LLVM", "Idx": 61090, "Length": 205, "Cover_Rate": 0.6655844155844156} {"Template_token": ["", "}", "DebugLoc", "DL", "=", "DebugLoc", "::", "getUnknownLoc", "(", ")", ";", "MachineInstrBuilder", "MIB", "=", "BuildMI", "(", "MF", ",", "DL", ",", "get", "(", "Opc", ")", ")", ".", "addReg", "(", "SrcReg", ",", "false", ",", "false", ",", "isKill", ")", ";"], "ground_truth": ["for", "(", "unsigned", "i", "=", "", ",", "e", "=", "Addr", ".", "size", "(", ")", ";", "i", "!=", "e", ";", "++", "i", ")", "MIB", ".", "addOperand", "(", "Addr", "[", "i", "]", ")", ";"], "File": "SPUInstrInfo9", "Func": "storeRegToAddr", "Target": "CellSPU", "Target_Clf": "MPU", "Compiler_Type": "LLVM", "Idx": 61091, "Length": 68, "Cover_Rate": 0.3090909090909091} {"Template_token": ["", "DebugLoc", "DL", "=", "DebugLoc", "::", "getUnknownLoc", "(", ")", ";", "MachineInstrBuilder", "MIB", "=", "BuildMI", "(", "MF", ",", "DL", ",", "get", "(", "Opc", ")", ")", ".", "addReg", "(", "SrcReg", ",", "false", ",", "false", ",", "isKill", ")", ";"], "ground_truth": ["for", "(", "unsigned", "i", "=", "", ",", "e", "=", "Addr", ".", "size", "(", ")", ";", "i", "!=", "e", ";", "++", "i", ")", "MIB", ".", "addOperand", "(", "Addr", "[", "i", "]", ")", ";"], "File": "SPUInstrInfo9", "Func": "storeRegToAddr", "Target": "CellSPU", "Target_Clf": "MPU", "Compiler_Type": "LLVM", "Idx": 61092, "Length": 67, "Cover_Rate": 0.30454545454545456} {"Template_token": ["", "}", "else", "if", "(", "RC", "==", "", ")", "{", "opc", "=", "(", "isValidFrameIdx", "?", "", ":", "", ")", ";", "}", "else", "if", "(", "RC", "==", "", ")", "{", "opc", "=", "(", "isValidFrameIdx", "?", "", ":", "", ")", ";", "}", "else", "if", "(", "RC", "==", "", ")", "{", "opc", "=", "(", "isValidFrameIdx", "?", "", ":", "", ")", ";", "}", "else", "if", "(", "RC", "==", "", ")", "{", "opc", "=", "(", "isValidFrameIdx", ")", "?", "", ":", "", ";", "}", "else", "{", "assert", "(", "", "&&", "", ")", ";", "abort", "(", ")", ";", "}", "DebugLoc", "DL", "=", "DebugLoc", "::", "getUnknownLoc", "(", ")", ";", "if", "(", "MI", "!=", "MBB", ".", "end", "(", ")", ")", "DL", "=", "MI", "->", "getDebugLoc", "(", ")", ";"], "ground_truth": ["addFrameReference", "(", "BuildMI", "(", "MBB", ",", "MI", ",", "DL", ",", "get", "(", "opc", ")", ")", ".", "addReg", "(", "SrcReg", ",", "false", ",", "false", ",", "isKill", ")", ",", "FrameIdx", ")", ";"], "File": "SPUInstrInfo9", "Func": "storeRegToStackSlot", "Target": "CellSPU", "Target_Clf": "MPU", "Compiler_Type": "LLVM", "Idx": 61093, "Length": 148, "Cover_Rate": 0.4668769716088328} {"Template_token": ["", "opc", "=", "(", "isValidFrameIdx", "?", "", ":", "", ")", ";", "}", "else", "if", "(", "RC", "==", "", ")", "{", "opc", "=", "(", "isValidFrameIdx", "?", "", ":", "", ")", ";", "}", "else", "if", "(", "RC", "==", "", ")", "{", "opc", "=", "(", "isValidFrameIdx", ")", "?", "", ":", "", ";", "}", "else", "{", "assert", "(", "", "&&", "", ")", ";", "abort", "(", ")", ";", "}", "DebugLoc", "DL", "=", "DebugLoc", "::", "getUnknownLoc", "(", ")", ";", "if", "(", "MI", "!=", "MBB", ".", "end", "(", ")", ")", "DL", "=", "MI", "->", "getDebugLoc", "(", ")", ";", "addFrameReference", "(", "BuildMI", "(", "MBB", ",", "MI", ",", "DL", ",", "get", "(", "opc", ")", ")", ".", "addReg", "(", "SrcReg", ",", "false", ",", "false", ",", "isKill", ")", ",", "FrameIdx", ")", ";"], "ground_truth": ["}"], "File": "SPUInstrInfo9", "Func": "storeRegToStackSlot", "Target": "CellSPU", "Target_Clf": "MPU", "Compiler_Type": "LLVM", "Idx": 61094, "Length": 121, "Cover_Rate": 0.38170347003154576} {"Template_token": ["", "if", "(", "isUncondBranch", "(", "LastInst", ")", ")", "{", "TBB", "=", "LastInst", "->", "getOperand", "(", "", ")", ".", "getMBB", "(", ")", ";", "return", "false", ";", "}", "else", "if", "(", "isCondBranch", "(", "LastInst", ")", ")", "{", "TBB", "=", "LastInst", "->", "getOperand", "(", "", ")", ".", "getMBB", "(", ")", ";", "DEBUG", "(", "errs", "(", ")", "<<", "", ")", ";", "DEBUG", "(", "LastInst", "->", "dump", "(", ")", ")", ";", "Cond", ".", "push_back", "(", "MachineOperand", "::", "CreateImm", "(", "LastInst", "->", "getOpcode", "(", ")", ")", ")", ";", "Cond", ".", "push_back", "(", "LastInst", "->", "getOperand", "(", "", ")", ")", ";", "return", "false", ";", "}", "return", "true", ";", "}", "MachineInstr", "*", "SecondLastInst", "=", "I", ";", "if", "(", "SecondLastInst", "&&", "I", "!=", "MBB", ".", "begin", "(", ")", "&&", "isUnpredicatedTerminator", "(", "--", "I", ")", ")", "return", "true", ";", "if", "(", "isCondBranch", "(", "SecondLastInst", ")", "&&", "isUncondBranch", "(", "LastInst", ")", ")", "{", "TBB", "=", "SecondLastInst", "->", "getOperand", "(", "", ")", ".", "getMBB", "(", ")", ";", "DEBUG", "(", "errs", "(", ")", "<<", "", ")", ";", "DEBUG", "(", "SecondLastInst", "->", "dump", "(", ")", ")", ";", "Cond", ".", "push_back", "(", "MachineOperand", "::", "CreateImm", "(", "SecondLastInst", "->", "getOpcode", "(", ")", ")", ")", ";", "Cond", ".", "push_back", "(", "SecondLastInst", "->", "getOperand", "(", "", ")", ")", ";", "FBB", "=", "LastInst", "->", "getOperand", "(", "", ")", ".", "getMBB", "(", ")", ";", "return", "false", ";"], "ground_truth": ["}"], "File": "SPUInstrInfo", "Func": "AnalyzeBranch", "Target": "CellSPU", "Target_Clf": "MPU", "Compiler_Type": "LLVM", "Idx": 61095, "Length": 217, "Cover_Rate": 0.5651041666666666} {"Template_token": ["", "return", "false", ";", "}", "else", "if", "(", "isCondBranch", "(", "LastInst", ")", ")", "{", "TBB", "=", "LastInst", "->", "getOperand", "(", "", ")", ".", "getMBB", "(", ")", ";", "DEBUG", "(", "errs", "(", ")", "<<", "", ")", ";", "DEBUG", "(", "LastInst", "->", "dump", "(", ")", ")", ";", "Cond", ".", "push_back", "(", "MachineOperand", "::", "CreateImm", "(", "LastInst", "->", "getOpcode", "(", ")", ")", ")", ";", "Cond", ".", "push_back", "(", "LastInst", "->", "getOperand", "(", "", ")", ")", ";", "return", "false", ";", "}", "return", "true", ";", "}", "MachineInstr", "*", "SecondLastInst", "=", "I", ";", "if", "(", "SecondLastInst", "&&", "I", "!=", "MBB", ".", "begin", "(", ")", "&&", "isUnpredicatedTerminator", "(", "--", "I", ")", ")", "return", "true", ";", "if", "(", "isCondBranch", "(", "SecondLastInst", ")", "&&", "isUncondBranch", "(", "LastInst", ")", ")", "{", "TBB", "=", "SecondLastInst", "->", "getOperand", "(", "", ")", ".", "getMBB", "(", ")", ";", "DEBUG", "(", "errs", "(", ")", "<<", "", ")", ";", "DEBUG", "(", "SecondLastInst", "->", "dump", "(", ")", ")", ";", "Cond", ".", "push_back", "(", "MachineOperand", "::", "CreateImm", "(", "SecondLastInst", "->", "getOpcode", "(", ")", ")", ")", ";", "Cond", ".", "push_back", "(", "SecondLastInst", "->", "getOperand", "(", "", ")", ")", ";", "FBB", "=", "LastInst", "->", "getOperand", "(", "", ")", ".", "getMBB", "(", ")", ";", "return", "false", ";", "}", "if", "(", "isUncondBranch", "(", "SecondLastInst", ")", "&&", "isUncondBranch", "(", "LastInst", ")", ")", "{", "TBB", "=", "SecondLastInst", "->", "getOperand", "(", "", ")", ".", "getMBB", "(", ")", ";", "I", "=", "LastInst", ";", "if", "(", "AllowModify", ")", "I", "->", "eraseFromParent", "(", ")", ";", "return", "false", ";", "}", "return", "true", ";"], "ground_truth": ["}"], "File": "SPUInstrInfo", "Func": "AnalyzeBranch", "Target": "CellSPU", "Target_Clf": "MPU", "Compiler_Type": "LLVM", "Idx": 61096, "Length": 244, "Cover_Rate": 0.6354166666666666} {"Template_token": ["", "unsigned", "Opc", "=", "MI", "->", "getOpcode", "(", ")", ";", "switch", "(", "Opc", ")", "{", "case", "", ":", "case", "", ":", "case", "", ":", "case", "", ":", "case", "", ":", "case", "", ":", "case", "", ":", "case", "", ":", "case", "", ":"], "ground_truth": ["case", "", ":"], "File": "SPUInstrInfo", "Func": "canFoldMemoryOperand", "Target": "CellSPU", "Target_Clf": "MPU", "Compiler_Type": "LLVM", "Idx": 61097, "Length": 44, "Cover_Rate": 0.33587786259541985} {"Template_token": ["", "}", "else", "if", "(", "DestRC", "==", "", ")", "{", "BuildMI", "(", "MBB", ",", "MI", ",", "DL", ",", "get", "(", "", ")", ",", "DestReg", ")", ".", "addReg", "(", "SrcReg", ")", ";", "}", "else", "if", "(", "DestRC", "==", "", ")", "{", "BuildMI", "(", "MBB", ",", "MI", ",", "DL", ",", "get", "(", "", ")", ",", "DestReg", ")", ".", "addReg", "(", "SrcReg", ")", ";", "}", "else", "if", "(", "DestRC", "==", "", ")", "{", "BuildMI", "(", "MBB", ",", "MI", ",", "DL", ",", "get", "(", "", ")", ",", "DestReg", ")", ".", "addReg", "(", "SrcReg", ")", ";", "}", "else", "if", "(", "DestRC", "==", "", ")", "{", "BuildMI", "(", "MBB", ",", "MI", ",", "DL", ",", "get", "(", "", ")", ",", "DestReg", ")", ".", "addReg", "(", "SrcReg", ")", ";", "}", "else", "if", "(", "DestRC", "==", "", ")", "{", "BuildMI", "(", "MBB", ",", "MI", ",", "DL", ",", "get", "(", "", ")", ",", "DestReg", ")", ".", "addReg", "(", "SrcReg", ")", ";", "}", "else", "if", "(", "DestRC", "==", "", ")", "{", "BuildMI", "(", "MBB", ",", "MI", ",", "DL", ",", "get", "(", "", ")", ",", "DestReg", ")", ".", "addReg", "(", "SrcReg", ")", ";", "}", "else", "{"], "ground_truth": ["return", "false", ";"], "File": "SPUInstrInfo", "Func": "copyRegToReg", "Target": "CellSPU", "Target_Clf": "MPU", "Compiler_Type": "LLVM", "Idx": 61098, "Length": 186, "Cover_Rate": 0.5568862275449101} {"Template_token": ["", "case", "", ":", "case", "", ":", "case", "", ":", "case", "", ":", "case", "", ":", "case", "", ":", "if", "(", "OpNum", "==", "", ")", "{", "unsigned", "InReg", "=", "MI", "->", "getOperand", "(", "", ")", ".", "getReg", "(", ")", ";", "bool", "isKill", "=", "MI", "->", "getOperand", "(", "", ")", ".", "isKill", "(", ")", ";", "bool", "isUndef", "=", "MI", "->", "getOperand", "(", "", ")", ".", "isUndef", "(", ")", ";", "if", "(", "FrameIndex", "<", "FrameInfo", "::", "maxFrameOffset", "(", ")", ")", "{", "MachineInstrBuilder", "MIB", "=", "BuildMI", "(", "MF", ",", "MI", "->", "getDebugLoc", "(", ")", ",", "get", "(", "", ")", ")", ";", "MIB", ".", "addReg", "(", "InReg", ",", "getKillRegState", "(", "isKill", ")", "|", "getUndefRegState", "(", "isUndef", ")", ")", ";"], "ground_truth": ["NewMI", "=", "addFrameReference", "(", "MIB", ",", "FrameIndex", ")", ";"], "File": "SPUInstrInfo", "Func": "foldMemoryOperandImpl", "Target": "CellSPU", "Target_Clf": "MPU", "Compiler_Type": "LLVM", "Idx": 61099, "Length": 123, "Cover_Rate": 0.35344827586206895} {"Template_token": ["", "unsigned", "InReg", "=", "MI", "->", "getOperand", "(", "", ")", ".", "getReg", "(", ")", ";", "bool", "isKill", "=", "MI", "->", "getOperand", "(", "", ")", ".", "isKill", "(", ")", ";", "bool", "isUndef", "=", "MI", "->", "getOperand", "(", "", ")", ".", "isUndef", "(", ")", ";", "if", "(", "FrameIndex", "<", "FrameInfo", "::", "maxFrameOffset", "(", ")", ")", "{", "MachineInstrBuilder", "MIB", "=", "BuildMI", "(", "MF", ",", "MI", "->", "getDebugLoc", "(", ")", ",", "get", "(", "", ")", ")", ";", "MIB", ".", "addReg", "(", "InReg", ",", "getKillRegState", "(", "isKill", ")", "|", "getUndefRegState", "(", "isUndef", ")", ")", ";", "NewMI", "=", "addFrameReference", "(", "MIB", ",", "FrameIndex", ")", ";", "}", "}", "else", "{", "unsigned", "OutReg", "=", "MI", "->", "getOperand", "(", "", ")", ".", "getReg", "(", ")", ";", "bool", "isDead", "=", "MI", "->", "getOperand", "(", "", ")", ".", "isDead", "(", ")", ";", "bool", "isUndef", "=", "MI", "->", "getOperand", "(", "", ")", ".", "isUndef", "(", ")", ";", "MachineInstrBuilder", "MIB", "=", "BuildMI", "(", "MF", ",", "MI", "->", "getDebugLoc", "(", ")", ",", "get", "(", "Opc", ")", ")", ";", "MIB", ".", "addReg", "(", "OutReg", ",", "RegState", "::", "Define", "|", "getDeadRegState", "(", "isDead", ")", "|", "getUndefRegState", "(", "isUndef", ")", ")", ";", "Opc", "=", "(", "FrameIndex", "<", "FrameInfo", "::", "maxFrameOffset", "(", ")", ")", "?", "", ":", "", ";", "NewMI", "=", "addFrameReference", "(", "MIB", ",", "FrameIndex", ")", ";", "break", ";", "}", "}", "return", "NewMI", ";"], "ground_truth": ["}"], "File": "SPUInstrInfo", "Func": "foldMemoryOperandImpl", "Target": "CellSPU", "Target_Clf": "MPU", "Compiler_Type": "LLVM", "Idx": 61100, "Length": 217, "Cover_Rate": 0.6235632183908046} {"Template_token": ["", "}", "return", "", ";", "}", "else", "{", "MachineInstrBuilder", "MIB", "=", "BuildMI", "(", "&", "MBB", ",", "dl", ",", "get", "(", "Cond", "[", "", "]", ".", "getImm", "(", ")", ")", ")", ";", "MachineInstrBuilder", "MIB2", "=", "BuildMI", "(", "&", "MBB", ",", "dl", ",", "get", "(", "", ")", ")", ";", "MIB", ".", "addReg", "(", "Cond", "[", "", "]", ".", "getReg", "(", ")", ")", ".", "addMBB", "(", "TBB", ")", ";", "MIB2", ".", "addMBB", "(", "FBB", ")", ";", "DEBUG", "(", "errs", "(", ")", "<<", "", ")", ";", "DEBUG", "(", "(", "*", "MIB", ")", ".", "dump", "(", ")", ")", ";"], "ground_truth": ["DEBUG", "(", "errs", "(", ")", "<<", "", ")", ";"], "File": "SPUInstrInfo", "Func": "InsertBranch", "Target": "CellSPU", "Target_Clf": "MPU", "Compiler_Type": "LLVM", "Idx": 61101, "Length": 102, "Cover_Rate": 0.3300970873786408} {"Template_token": ["", "return", "(", "opc", "==", "", "||", "opc", "==", "", "||", "opc", "==", "", "||", "opc", "==", "", "||", "opc", "==", "", "||", "opc", "==", "", "||", "opc", "==", "", "||", "opc", "==", "", ")", ";"], "ground_truth": ["}"], "File": "SPUInstrInfo", "Func": "isCondBranch", "Target": "CellSPU", "Target_Clf": "MPU", "Compiler_Type": "LLVM", "Idx": 61102, "Length": 36, "Cover_Rate": 0.5070422535211268} {"Template_token": ["", "case", "", ":", "case", "", ":", "case", "", ":", "case", "", ":", "case", "", ":", "case", "", ":", "{", "const", "MachineOperand", "MOp1", "=", "MI", "->", "getOperand", "(", "", ")", ";", "const", "MachineOperand", "MOp2", "=", "MI", "->", "getOperand", "(", "", ")", ";", "if", "(", "MOp1", ".", "isImm", "(", ")", "&&", "MOp2", ".", "isFI", "(", ")", ")", "{"], "ground_truth": ["FrameIndex", "=", "MOp2", ".", "getIndex", "(", ")", ";"], "File": "SPUInstrInfo", "Func": "isLoadFromStackSlot", "Target": "CellSPU", "Target_Clf": "MPU", "Compiler_Type": "LLVM", "Idx": 61103, "Length": 64, "Cover_Rate": 0.45390070921985815} {"Template_token": ["", "const", "MachineOperand", "MOp1", "=", "MI", "->", "getOperand", "(", "", ")", ";", "const", "MachineOperand", "MOp2", "=", "MI", "->", "getOperand", "(", "", ")", ";", "if", "(", "MOp1", ".", "isImm", "(", ")", "&&", "MOp2", ".", "isFI", "(", ")", ")", "{", "FrameIndex", "=", "MOp2", ".", "getIndex", "(", ")", ";", "return", "MI", "->", "getOperand", "(", "", ")", ".", "getReg", "(", ")", ";"], "ground_truth": ["}"], "File": "SPUInstrInfo", "Func": "isLoadFromStackSlot", "Target": "CellSPU", "Target_Clf": "MPU", "Compiler_Type": "LLVM", "Idx": 61104, "Length": 58, "Cover_Rate": 0.41134751773049644} {"Template_token": ["", "case", "", ":", "case", "", ":", "case", "", ":", "case", "", ":", "case", "", ":", "{", "assert", "(", "MI", ".", "getNumOperands", "(", ")", "==", "", "&&", "MI", ".", "getOperand", "(", "", ")", ".", "isReg", "(", ")", "&&", "MI", ".", "getOperand", "(", "", ")", ".", "isReg", "(", ")", "&&", "", ")", ";", "if", "(", "MI", ".", "getOperand", "(", "", ")", ".", "getReg", "(", ")", "==", "MI", ".", "getOperand", "(", "", ")", ".", "getReg", "(", ")", ")", "{", "sourceReg", "=", "MI", ".", "getOperand", "(", "", ")", ".", "getReg", "(", ")", ";", "destReg", "=", "MI", ".", "getOperand", "(", "", ")", ".", "getReg", "(", ")", ";", "return", "true", ";", "}", "break", ";", "}", "case", "", ":", "case", "", ":", "case", "", ":", "case", "", ":", "case", "", ":", "case", "", ":", "case", "", ":", "case", "", ":", "case", "", ":", "case", "", ":", "case", "", ":", "assert", "(", "MI", ".", "getNumOperands", "(", ")", "==", "", "&&", "MI", ".", "getOperand", "(", "", ")", ".", "isReg", "(", ")", "&&", "MI", ".", "getOperand", "(", "", ")", ".", "isReg", "(", ")", "&&", "MI", ".", "getOperand", "(", "", ")", ".", "isReg", "(", ")", "&&", "", ")", ";", "if", "(", "MI", ".", "getOperand", "(", "", ")", ".", "getReg", "(", ")", "==", "MI", ".", "getOperand", "(", "", ")", ".", "getReg", "(", ")", ")", "{"], "ground_truth": ["sourceReg", "=", "MI", ".", "getOperand", "(", "", ")", ".", "getReg", "(", ")", ";"], "File": "SPUInstrInfo", "Func": "isMoveInstr", "Target": "CellSPU", "Target_Clf": "MPU", "Compiler_Type": "LLVM", "Idx": 61105, "Length": 226, "Cover_Rate": 0.31215469613259667} {"Template_token": ["", "case", "", ":", "case", "", ":", "case", "", ":", "{", "const", "MachineOperand", "MOp1", "=", "MI", "->", "getOperand", "(", "", ")", ";", "const", "MachineOperand", "MOp2", "=", "MI", "->", "getOperand", "(", "", ")", ";", "if", "(", "MOp1", ".", "isImm", "(", ")", "&&", "MOp2", ".", "isFI", "(", ")", ")", "{", "FrameIndex", "=", "MOp2", ".", "getIndex", "(", ")", ";", "return", "MI", "->", "getOperand", "(", "", ")", ".", "getReg", "(", ")", ";"], "ground_truth": ["}"], "File": "SPUInstrInfo", "Func": "isStoreToStackSlot", "Target": "CellSPU", "Target_Clf": "MPU", "Compiler_Type": "LLVM", "Idx": 61106, "Length": 68, "Cover_Rate": 0.4657534246575342} {"Template_token": ["", "inline", "bool", "isUncondBranch", "(", "const", "MachineInstr", "*", "I", ")", "{"], "ground_truth": ["unsigned", "opc", "=", "I", "->", "getOpcode", "(", ")", ";"], "File": "SPUInstrInfo", "Func": "isUncondBranch", "Target": "CellSPU", "Target_Clf": "MPU", "Compiler_Type": "LLVM", "Idx": 61107, "Length": 19, "Cover_Rate": 0.4634146341463415} {"Template_token": ["", "unsigned", "opc", "=", "I", "->", "getOpcode", "(", ")", ";", "return", "(", "opc", "==", "", "||", "opc", "==", "", "||", "opc", "==", "", ")", ";"], "ground_truth": ["}"], "File": "SPUInstrInfo", "Func": "isUncondBranch", "Target": "CellSPU", "Target_Clf": "MPU", "Compiler_Type": "LLVM", "Idx": 61108, "Length": 25, "Cover_Rate": 0.6097560975609756} {"Template_token": ["", "opc", "=", "(", "isValidFrameIdx", "?", "", ":", "", ")", ";", "}", "else", "if", "(", "RC", "==", "", ")", "{", "opc", "=", "(", "isValidFrameIdx", "?", "", ":", "", ")", ";", "}", "else", "if", "(", "RC", "==", "", ")", "{", "opc", "=", "(", "isValidFrameIdx", "?", "", ":", "", ")", ";", "}", "else", "if", "(", "RC", "==", "", ")", "{", "opc", "=", "(", "isValidFrameIdx", "?", "", ":", "", ")", ";", "}", "else", "if", "(", "RC", "==", "", ")", "{", "opc", "=", "(", "isValidFrameIdx", "?", "", ":", "", ")", ";", "}", "else", "if", "(", "RC", "==", "", ")", "{", "opc", "=", "(", "isValidFrameIdx", "?", "", ":", "", ")", ";", "}", "else", "if", "(", "RC", "==", "", ")", "{", "opc", "=", "(", "isValidFrameIdx", "?", "", ":", "", ")", ";"], "ground_truth": ["}", "else", "if", "(", "RC", "==", "", ")", "{"], "File": "SPUInstrInfo", "Func": "loadRegFromStackSlot", "Target": "CellSPU", "Target_Clf": "MPU", "Compiler_Type": "LLVM", "Idx": 61109, "Length": 133, "Cover_Rate": 0.4539249146757679} {"Template_token": ["", "unsigned", "InstrInfo", "::", "RemoveBranch", "(", "MachineBasicBlock", "&", "MBB", ")", "const", "{", "MachineBasicBlock", "::", "iterator", "I", "=", "MBB", ".", "end", "(", ")", ";", "if", "(", "I", "==", "MBB", ".", "begin", "(", ")", ")", "return", "", ";", "--", "I", ";", "while", "(", "I", "->", "isDebugValue", "(", ")", ")", "{", "if", "(", "I", "==", "MBB", ".", "begin", "(", ")", ")", "return", "", ";", "--", "I", ";", "}", "if", "(", "!", "isCondBranch", "(", "I", ")", "&&", "!", "isUncondBranch", "(", "I", ")", ")", "return", "", ";", "DEBUG", "(", "errs", "(", ")", "<<", "", ")", ";", "DEBUG", "(", "I", "->", "dump", "(", ")", ")", ";", "I", "->", "eraseFromParent", "(", ")", ";", "I", "=", "MBB", ".", "end", "(", ")", ";", "if", "(", "I", "==", "MBB", ".", "begin", "(", ")", ")", "return", "", ";", "--", "I", ";", "if", "(", "!", "(", "isCondBranch", "(", "I", ")", "||", "isUncondBranch", "(", "I", ")", ")", ")", "return", "", ";", "DEBUG", "(", "errs", "(", ")", "<<", "", ")", ";"], "ground_truth": ["DEBUG", "(", "I", "->", "dump", "(", ")", ")", ";"], "File": "SPUInstrInfo", "Func": "RemoveBranch", "Target": "CellSPU", "Target_Clf": "MPU", "Compiler_Type": "LLVM", "Idx": 61110, "Length": 165, "Cover_Rate": 0.9428571428571428} {"Template_token": ["", "I", "->", "eraseFromParent", "(", ")", ";", "I", "=", "MBB", ".", "end", "(", ")", ";", "if", "(", "I", "==", "MBB", ".", "begin", "(", ")", ")", "return", "", ";", "--", "I", ";", "if", "(", "!", "(", "isCondBranch", "(", "I", ")", "||", "isUncondBranch", "(", "I", ")", ")", ")", "return", "", ";"], "ground_truth": ["DEBUG", "(", "errs", "(", ")", "<<", "", ")", ";"], "File": "SPUInstrInfo", "Func": "RemoveBranch", "Target": "CellSPU", "Target_Clf": "MPU", "Compiler_Type": "LLVM", "Idx": 61111, "Length": 57, "Cover_Rate": 0.32571428571428573} {"Template_token": ["", "}", ";", "unsigned", "Opc", "=", "unsigned", "(", "Cond", "[", "", "]", ".", "getImm", "(", ")", ")", ";", "for", "(", "int", "i", "=", "sizeof", "(", "revconds", ")", "/", "sizeof", "(", "revconds", "[", "", "]", ")", "-", "", ";", "i", ">=", "", ";", "--", "i", ")", "{", "if", "(", "revconds", "[", "i", "]", ".", "Opc", "==", "Opc", ")", "{", "Cond", "[", "", "]", ".", "setImm", "(", "revconds", "[", "i", "]", ".", "RevCondOpc", ")", ";"], "ground_truth": ["return", "false", ";"], "File": "SPUInstrInfo", "Func": "ReverseBranchCondition", "Target": "CellSPU", "Target_Clf": "MPU", "Compiler_Type": "LLVM", "Idx": 61112, "Length": 75, "Cover_Rate": 0.3968253968253968} {"Template_token": ["", "InstrInfo", "::", "InstrInfo", "(", "TargetMachine", "&", "tm", ")", ":", "TargetInstrInfoImpl", "(", "Insts", ",", "sizeof", "(", "Insts", ")", "/", "sizeof", "(", "Insts", "[", "", "]", ")", ")", ",", "TM", "(", "tm", ")", ",", "RI", "(", "*", "TM", ".", "getSubtargetImpl", "(", ")", ",", "*", "this", ")", "{"], "ground_truth": ["}"], "File": "SPUInstrInfo", "Func": "SPUInstrInfo", "Target": "CellSPU", "Target_Clf": "MPU", "Compiler_Type": "LLVM", "Idx": 61113, "Length": 46, "Cover_Rate": 1.0} {"Template_token": ["", "InstrInfo", "::", "InstrInfo", "(", "TargetMachine", "&", "tm", ")", ":", "TargetInstrInfoImpl", "(", "Insts", ",", "sizeof", "(", "Insts", ")", "/", "sizeof", "(", "Insts", "[", "", "]", ")", ")", ",", "TM", "(", "tm", ")", ",", "RI", "(", "*", "TM", ".", "getSubtargetImpl", "(", ")", ",", "*", "this", ")", "{"], "ground_truth": ["}"], "File": "SPUInstrInfo", "Func": "SPUInstrInfo", "Target": "CellSPU", "Target_Clf": "MPU", "Compiler_Type": "LLVM", "Idx": 61114, "Length": 46, "Cover_Rate": 1.0} {"Template_token": ["", "opc", "=", "(", "isValidFrameIdx", "?", "", ":", "", ")", ";", "}", "else", "if", "(", "RC", "==", "", ")", "{", "opc", "=", "(", "isValidFrameIdx", "?", "", ":", "", ")", ";", "}", "else", "if", "(", "RC", "==", "", ")", "{", "opc", "=", "(", "isValidFrameIdx", "?", "", ":", "", ")", ";", "}", "else", "if", "(", "RC", "==", "", ")", "{", "opc", "=", "(", "isValidFrameIdx", "?", "", ":", "", ")", ";", "}", "else", "if", "(", "RC", "==", "", ")", "{", "opc", "=", "(", "isValidFrameIdx", ")", "?", "", ":", "", ";", "}", "else", "{", "llvm_unreachable", "(", "", ")", ";", "}", "DebugLoc", "DL", ";"], "ground_truth": ["if", "(", "MI", "!=", "MBB", ".", "end", "(", ")", ")", "DL", "=", "MI", "->", "getDebugLoc", "(", ")", ";"], "File": "SPUInstrInfo", "Func": "storeRegToStackSlot", "Target": "CellSPU", "Target_Clf": "MPU", "Compiler_Type": "LLVM", "Idx": 61115, "Length": 116, "Cover_Rate": 0.3815789473684211} {"Template_token": ["", "return", "CurDAG", "->", "getTargetConstant", "(", "", ".", "getID", "(", ")", ",", "", ")", ";", "break", ";", "case", "", ":", "return", "CurDAG", "->", "getTargetConstant", "(", "", ".", "getID", "(", ")", ",", "", ")", ";", "break", ";", "case", "", ":", "return", "CurDAG", "->", "getTargetConstant", "(", "", ".", "getID", "(", ")", ",", "", ")", ";", "break", ";", "case", "", ":", "return", "CurDAG", "->", "getTargetConstant", "(", "", ".", "getID", "(", ")", ",", "", ")", ";", "break", ";", "case", "", ":", "return", "CurDAG", "->", "getTargetConstant", "(", "", ".", "getID", "(", ")", ",", "", ")", ";", "break", ";", "case", "", ":", "return", "CurDAG", "->", "getTargetConstant", "(", "", ".", "getID", "(", ")", ",", "", ")", ";", "break", ";", "case", "", ":", "case", "", ":", "case", "", ":"], "ground_truth": ["case", "", ":"], "File": "SPUISelDAGToDAG10", "Func": "getRC", "Target": "CellSPU", "Target_Clf": "MPU", "Compiler_Type": "LLVM", "Idx": 61116, "Length": 123, "Cover_Rate": 0.5301724137931034} {"Template_token": ["", "SDValue", "Zero", "=", "CurDAG", "->", "getTargetConstant", "(", "", ",", "OffsVT", ")", ";", "int64_t", "val", ";", "switch", "(", "N", ".", "getOpcode", "(", ")", ")", "{", "case", "", ":", "val", "=", "dyn_cast", "<", "ConstantSDNode", ">", "(", "N", ".", "getNode", "(", ")", ")", "->", "getSExtValue", "(", ")", ";", "Base", "=", "CurDAG", "->", "getTargetConstant", "(", "val", ",", "", ")", ";", "Index", "=", "Zero", ";", "return", "true", ";", "break", ";", "case", "", ":", "case", "", ":", "report_fatal_error", "(", "", ")", ";", "case", "", ":", "case", "", ":"], "ground_truth": ["case", "", ":"], "File": "SPUISelDAGToDAG10", "Func": "SelectAFormAddr", "Target": "CellSPU", "Target_Clf": "MPU", "Compiler_Type": "LLVM", "Idx": 61117, "Length": 85, "Cover_Rate": 0.3386454183266932} {"Template_token": ["", "}", "std", "::", "vector", "<", "Constant", "*", ">", "CV", ";", "for", "(", "size_t", "i", "=", "", ";", "i", "<", "bvNode", "->", "getNumOperands", "(", ")", ";", "++", "i", ")", "{", "ConstantSDNode", "*", "V", "=", "cast", "<", "ConstantSDNode", ">", "(", "bvNode", "->", "getOperand", "(", "i", ")", ")", ";", "CV", ".", "push_back", "(", "const_cast", "<", "ConstantInt", "*", ">", "(", "V", "->", "getConstantIntValue", "(", ")", ")", ")", ";", "}", "const", "Constant", "*", "CP", "=", "ConstantVector", "::", "get", "(", "CV", ")", ";", "SDValue", "CPIdx", "=", "CurDAG", "->", "getConstantPool", "(", "CP", ",", "tli", ".", "getPointerTy", "(", ")", ")", ";", "unsigned", "Alignment", "=", "cast", "<", "ConstantPoolSDNode", ">", "(", "CPIdx", ")", "->", "getAlignment", "(", ")", ";", "SDValue", "CGPoolOffset", "=", "", "(", "CPIdx", ",", "*", "CurDAG", ",", "TM", ")", ";", "HandleSDNode", "Dummy", "(", "CurDAG", "->", "getLoad", "(", "vecVT", ",", "dl", ",", "CurDAG", "->", "getEntryNode", "(", ")", ",", "CGPoolOffset", ",", "MachinePointerInfo", "::", "getConstantPool", "(", ")", ",", "false", ",", "false", ",", "Alignment", ")", ")", ";", "CurDAG", "->", "ReplaceAllUsesWith", "(", "SDValue", "(", "bvNode", ",", "", ")", ",", "Dummy", ".", "getValue", "(", ")", ")", ";", "if", "(", "SDNode", "*", "N", "=", "SelectCode", "(", "Dummy", ".", "getValue", "(", ")", ".", "getNode", "(", ")", ")", ")", "return", "N", ";", "return", "Dummy", ".", "getValue", "(", ")", ".", "getNode", "(", ")", ";"], "ground_truth": ["}"], "File": "SPUISelDAGToDAG11", "Func": "emitBuildVector", "Target": "CellSPU", "Target_Clf": "MPU", "Compiler_Type": "LLVM", "Idx": 61118, "Length": 206, "Cover_Rate": 0.4282744282744283} {"Template_token": ["", "EVT", "vecVT", "=", "bvNode", "->", "getValueType", "(", "", ")", ";", "DebugLoc", "dl", "=", "bvNode", "->", "getDebugLoc", "(", ")", ";", "if", "(", "(", "(", "vecVT", "==", "", ")", "&&", "(", "", "(", "bvNode", ",", "*", "CurDAG", ",", "", ")", ".", "getNode", "(", ")", "!=", "", ")", ")", "||", "(", "(", "vecVT", "==", "", ")", "&&", "(", "(", "", "(", "bvNode", ",", "*", "CurDAG", ",", "", ")", ".", "getNode", "(", ")", "!=", "", ")", "||", "(", "", "(", "bvNode", ",", "*", "CurDAG", ",", "", ")", ".", "getNode", "(", ")", "!=", "", ")", "||", "(", "", "(", "bvNode", ",", "*", "CurDAG", ",", "", ")", ".", "getNode", "(", ")", "!=", "", ")", "||", "(", "", "(", "bvNode", ",", "*", "CurDAG", ")", ".", "getNode", "(", ")", "!=", "", ")", ")", ")", "||", "(", "(", "vecVT", "==", "", ")", "&&", "(", "(", "", "(", "bvNode", ",", "*", "CurDAG", ",", "", ")", ".", "getNode", "(", ")", "!=", "", ")", "||", "(", "", "(", "bvNode", ",", "*", "CurDAG", ",", "", ")", ".", "getNode", "(", ")", "!=", "", ")", "||", "(", "", "(", "bvNode", ",", "*", "CurDAG", ",", "", ")", ".", "getNode", "(", ")", "!=", "", ")", ")", ")", ")", "{", "HandleSDNode", "Dummy", "(", "SDValue", "(", "bvNode", ",", "", ")", ")", ";", "if", "(", "SDNode", "*", "N", "=", "Select", "(", "bvNode", ")", ")", "return", "N", ";", "return", "Dummy", ".", "getValue", "(", ")", ".", "getNode", "(", ")", ";", "}", "std", "::", "vector", "<", "Constant", "*", ">", "CV", ";", "for", "(", "size_t", "i", "=", "", ";", "i", "<", "bvNode", "->", "getNumOperands", "(", ")", ";", "++", "i", ")", "{", "ConstantSDNode", "*", "V", "=", "cast", "<", "ConstantSDNode", ">", "(", "bvNode", "->", "getOperand", "(", "i", ")", ")", ";", "CV", ".", "push_back", "(", "const_cast", "<", "ConstantInt", "*", ">", "(", "V", "->", "getConstantIntValue", "(", ")", ")", ")", ";"], "ground_truth": ["}"], "File": "SPUISelDAGToDAG11", "Func": "emitBuildVector", "Target": "CellSPU", "Target_Clf": "MPU", "Compiler_Type": "LLVM", "Idx": 61119, "Length": 293, "Cover_Rate": 0.6091476091476091} {"Template_token": ["", "assert", "(", "II", "&&", "", ")", ";", "return", "new", "HazardRecognizer", "(", "*", "II", ")", ";"], "ground_truth": ["}"], "File": "SPUISelDAGToDAG1", "Func": "CreateTargetHazardRecognizer", "Target": "CellSPU", "Target_Clf": "MPU", "Compiler_Type": "LLVM", "Idx": 61121, "Length": 16, "Cover_Rate": 0.47058823529411764} {"Template_token": ["", "ConstantSDNode", "*", "CN", "=", "dyn_cast", "<", "ConstantSDNode", ">", "(", "Op0", ")", ";", "int32_t", "offset", "=", "int32_t", "(", "CN", "->", "getSExtValue", "(", ")", ")", ";", "if", "(", "Op1", ".", "getOpcode", "(", ")", "==", "", ")", "{", "FrameIndexSDNode", "*", "FIN", "=", "dyn_cast", "<", "FrameIndexSDNode", ">", "(", "Op1", ")", ";", "int", "FI", "=", "int", "(", "FIN", "->", "getIndex", "(", ")", ")", ";", "DEBUG", "(", "errs", "(", ")", "<<", "", "<<", "offset", "<<", "", "<<", "FI", "<<", "", ")", ";", "if", "(", "FrameInfo", "::", "FItoStackOffset", "(", "FI", ")", "<", "maxOffset", ")", "{", "Base", "=", "CurDAG", "->", "getTargetConstant", "(", "offset", ",", "PtrTy", ")", ";", "Index", "=", "CurDAG", "->", "getTargetFrameIndex", "(", "FI", ",", "PtrTy", ")", ";", "return", "true", ";", "}", "}", "else", "if", "(", "offset", ">", "minOffset", "&&", "offset", "<", "maxOffset", ")", "{", "Base", "=", "CurDAG", "->", "getTargetConstant", "(", "offset", ",", "PtrTy", ")", ";", "Index", "=", "Op1", ";", "return", "true", ";", "}", "}", "}", "else", "if", "(", "Opc", "==", "", ")", "{", "const", "SDValue", "Op0", "=", "N", ".", "getOperand", "(", "", ")", ";", "const", "SDValue", "Op1", "=", "N", ".", "getOperand", "(", "", ")", ";", "if", "(", "Op0", ".", "getOpcode", "(", ")", "==", "", "&&", "Op1", ".", "getOpcode", "(", ")", "==", "", ")", "{", "Base", "=", "CurDAG", "->", "getTargetConstant", "(", "", ",", "PtrTy", ")", ";", "Index", "=", "N", ";", "return", "true", ";", "}", "else", "if", "(", "isa", "<", "ConstantSDNode", ">", "(", "Op0", ")", "||", "isa", "<", "ConstantSDNode", ">", "(", "Op1", ")", ")", "{", "int32_t", "offset", "=", "", ";", "SDValue", "idxOp", ";", "if", "(", "isa", "<", "ConstantSDNode", ">", "(", "Op1", ")", ")", "{", "ConstantSDNode", "*", "CN", "=", "cast", "<", "ConstantSDNode", ">", "(", "Op1", ")", ";", "offset", "=", "int32_t", "(", "CN", "->", "getSExtValue", "(", ")", ")", ";", "idxOp", "=", "Op0", ";", "}", "else", "if", "(", "isa", "<", "ConstantSDNode", ">", "(", "Op0", ")", ")", "{", "ConstantSDNode", "*", "CN", "=", "cast", "<", "ConstantSDNode", ">", "(", "Op0", ")", ";", "offset", "=", "int32_t", "(", "CN", "->", "getSExtValue", "(", ")", ")", ";", "idxOp", "=", "Op1", ";", "}", "if", "(", "offset", ">=", "minOffset", "&&", "offset", "<=", "maxOffset", ")", "{", "Base", "=", "CurDAG", "->", "getTargetConstant", "(", "offset", ",", "PtrTy", ")", ";", "Index", "=", "idxOp", ";", "return", "true", ";", "}", "}", "}", "else", "if", "(", "Opc", "==", "", ")", "{", "Base", "=", "CurDAG", "->", "getTargetConstant", "(", "", ",", "N", ".", "getValueType", "(", ")", ")", ";", "Index", "=", "N", ";", "return", "true", ";", "}", "else", "if", "(", "Opc", "==", "", ")", "{", "Base", "=", "CurDAG", "->", "getTargetConstant", "(", "", ",", "N", ".", "getValueType", "(", ")", ")", ";", "Index", "=", "N", ";", "return", "true", ";", "}", "else", "if", "(", "Opc", "==", "", "||", "Opc", "==", "", ")", "{", "unsigned", "OpOpc", "=", "Op", "->", "getOpcode", "(", ")", ";", "if", "(", "OpOpc", "==", "", "||", "OpOpc", "==", "", ")", "{", "SDValue", "Addr", ",", "Offs", ";", "if", "(", "Opc", "==", "", ")", "Addr", "=", "N", ".", "getOperand", "(", "", ")", ";"], "ground_truth": ["else", "Addr", "=", "N", ";"], "File": "SPUISelDAGToDAG1", "Func": "DFormAddressPredicate", "Target": "CellSPU", "Target_Clf": "MPU", "Compiler_Type": "LLVM", "Idx": 61122, "Length": 474, "Cover_Rate": 0.4463276836158192} {"Template_token": ["", "DEBUG", "(", "errs", "(", ")", "<<", "", "<<", "offset", "<<", "", "<<", "FI", "<<", "", ")", ";", "if", "(", "FrameInfo", "::", "FItoStackOffset", "(", "FI", ")", "<", "maxOffset", ")", "{", "Base", "=", "CurDAG", "->", "getTargetConstant", "(", "offset", ",", "PtrTy", ")", ";", "Index", "=", "CurDAG", "->", "getTargetFrameIndex", "(", "FI", ",", "PtrTy", ")", ";", "return", "true", ";", "}", "}", "else", "if", "(", "offset", ">", "minOffset", "&&", "offset", "<", "maxOffset", ")", "{", "Base", "=", "CurDAG", "->", "getTargetConstant", "(", "offset", ",", "PtrTy", ")", ";", "Index", "=", "Op0", ";", "return", "true", ";", "}", "}", "else", "if", "(", "Op0", ".", "getOpcode", "(", ")", "==", "", "||", "Op0", ".", "getOpcode", "(", ")", "==", "", ")", "{", "ConstantSDNode", "*", "CN", "=", "dyn_cast", "<", "ConstantSDNode", ">", "(", "Op0", ")", ";", "int32_t", "offset", "=", "int32_t", "(", "CN", "->", "getSExtValue", "(", ")", ")", ";", "if", "(", "Op1", ".", "getOpcode", "(", ")", "==", "", ")", "{", "FrameIndexSDNode", "*", "FIN", "=", "dyn_cast", "<", "FrameIndexSDNode", ">", "(", "Op1", ")", ";", "int", "FI", "=", "int", "(", "FIN", "->", "getIndex", "(", ")", ")", ";", "DEBUG", "(", "errs", "(", ")", "<<", "", "<<", "offset", "<<", "", "<<", "FI", "<<", "", ")", ";", "if", "(", "FrameInfo", "::", "FItoStackOffset", "(", "FI", ")", "<", "maxOffset", ")", "{", "Base", "=", "CurDAG", "->", "getTargetConstant", "(", "offset", ",", "PtrTy", ")", ";", "Index", "=", "CurDAG", "->", "getTargetFrameIndex", "(", "FI", ",", "PtrTy", ")", ";", "return", "true", ";", "}", "}", "else", "if", "(", "offset", ">", "minOffset", "&&", "offset", "<", "maxOffset", ")", "{", "Base", "=", "CurDAG", "->", "getTargetConstant", "(", "offset", ",", "PtrTy", ")", ";", "Index", "=", "Op1", ";", "return", "true", ";", "}", "}", "}", "else", "if", "(", "Opc", "==", "", ")", "{", "const", "SDValue", "Op0", "=", "N", ".", "getOperand", "(", "", ")", ";", "const", "SDValue", "Op1", "=", "N", ".", "getOperand", "(", "", ")", ";", "if", "(", "Op0", ".", "getOpcode", "(", ")", "==", "", "&&", "Op1", ".", "getOpcode", "(", ")", "==", "", ")", "{", "Base", "=", "CurDAG", "->", "getTargetConstant", "(", "", ",", "PtrTy", ")", ";", "Index", "=", "N", ";", "return", "true", ";", "}", "else", "if", "(", "isa", "<", "ConstantSDNode", ">", "(", "Op0", ")", "||", "isa", "<", "ConstantSDNode", ">", "(", "Op1", ")", ")", "{", "int32_t", "offset", "=", "", ";", "SDValue", "idxOp", ";", "if", "(", "isa", "<", "ConstantSDNode", ">", "(", "Op1", ")", ")", "{", "ConstantSDNode", "*", "CN", "=", "cast", "<", "ConstantSDNode", ">", "(", "Op1", ")", ";", "offset", "=", "int32_t", "(", "CN", "->", "getSExtValue", "(", ")", ")", ";", "idxOp", "=", "Op0", ";", "}", "else", "if", "(", "isa", "<", "ConstantSDNode", ">", "(", "Op0", ")", ")", "{", "ConstantSDNode", "*", "CN", "=", "cast", "<", "ConstantSDNode", ">", "(", "Op0", ")", ";", "offset", "=", "int32_t", "(", "CN", "->", "getSExtValue", "(", ")", ")", ";"], "ground_truth": ["idxOp", "=", "Op1", ";"], "File": "SPUISelDAGToDAG1", "Func": "DFormAddressPredicate", "Target": "CellSPU", "Target_Clf": "MPU", "Compiler_Type": "LLVM", "Idx": 61123, "Length": 430, "Cover_Rate": 0.4048964218455744} {"Template_token": ["", "std", "::", "vector", "<", "Constant", "*", ">", "CV", ";", "for", "(", "size_t", "i", "=", "", ";", "i", "<", "bvNode", "->", "getNumOperands", "(", ")", ";", "++", "i", ")", "{", "ConstantSDNode", "*", "V", "=", "dyn_cast", "<", "ConstantSDNode", ">", "(", "bvNode", "->", "getOperand", "(", "i", ")", ")", ";", "CV", ".", "push_back", "(", "const_cast", "<", "ConstantInt", "*", ">", "(", "V", "->", "getConstantIntValue", "(", ")", ")", ")", ";", "}", "const", "Constant", "*", "CP", "=", "ConstantVector", "::", "get", "(", "CV", ")", ";", "SDValue", "CPIdx", "=", "CurDAG", "->", "getConstantPool", "(", "CP", ",", "tli", ".", "getPointerTy", "(", ")", ")", ";", "unsigned", "Alignment", "=", "cast", "<", "ConstantPoolSDNode", ">", "(", "CPIdx", ")", "->", "getAlignment", "(", ")", ";", "SDValue", "CGPoolOffset", "=", "", "(", "CPIdx", ",", "*", "CurDAG", ",", "tli", ".", "getTargetMachine", "(", ")", ")", ";", "HandleSDNode", "Dummy", "(", "CurDAG", "->", "getLoad", "(", "vecVT", ",", "dl", ",", "CurDAG", "->", "getEntryNode", "(", ")", ",", "CGPoolOffset", ",", "PseudoSourceValue", "::", "getConstantPool", "(", ")", ",", "", ",", "false", ",", "false", ",", "Alignment", ")", ")", ";", "CurDAG", "->", "ReplaceAllUsesWith", "(", "SDValue", "(", "bvNode", ",", "", ")", ",", "Dummy", ".", "getValue", "(", ")", ")", ";"], "ground_truth": ["if", "(", "SDNode", "*", "N", "=", "SelectCode", "(", "Dummy", ".", "getValue", "(", ")", ".", "getNode", "(", ")", ")", ")", "return", "N", ";"], "File": "SPUISelDAGToDAG1", "Func": "emitBuildVector", "Target": "CellSPU", "Target_Clf": "MPU", "Compiler_Type": "LLVM", "Idx": 61124, "Length": 199, "Cover_Rate": 0.4012096774193548} {"Template_token": ["", "inline", "SDValue", "getI64Imm", "(", "uint64_t", "Imm", ")", "{"], "ground_truth": ["return", "CurDAG", "->", "getTargetConstant", "(", "Imm", ",", "", ")", ";"], "File": "SPUISelDAGToDAG1", "Func": "getI64Imm", "Target": "CellSPU", "Target_Clf": "MPU", "Compiler_Type": "LLVM", "Idx": 61125, "Length": 18, "Cover_Rate": 0.8571428571428571} {"Template_token": ["", "break", ";", "}", "}", "if", "(", "retval", "==", "", ")", "{", "report_fatal_error", "(", "", "", "+", "Twine", "(", "VT", ".", "getEVTString", "(", ")", ")", ")", ";", "}", "return", "retval", ";"], "ground_truth": ["}"], "File": "SPUISelDAGToDAG1", "Func": "getValueTypeMapEntry", "Target": "CellSPU", "Target_Clf": "MPU", "Compiler_Type": "LLVM", "Idx": 61127, "Length": 31, "Cover_Rate": 0.3875} {"Template_token": ["", "bool", "isHighLow", "(", "const", "SDValue", "&", "Op", ")", "{", "return", "(", "Op", ".", "getOpcode", "(", ")", "==", "", "&&", "(", "(", "Op", ".", "getOperand", "(", "", ")", ".", "getOpcode", "(", ")", "==", "", "&&", "Op", ".", "getOperand", "(", "", ")", ".", "getOpcode", "(", ")", "==", "", ")", "||", "(", "Op", ".", "getOperand", "(", "", ")", ".", "getOpcode", "(", ")", "==", "", "&&", "Op", ".", "getOperand", "(", "", ")", ".", "getOpcode", "(", ")", "==", "", ")", ")", ")", ";"], "ground_truth": ["}"], "File": "SPUISelDAGToDAG1", "Func": "isHighLow", "Target": "CellSPU", "Target_Clf": "MPU", "Compiler_Type": "LLVM", "Idx": 61128, "Length": 79, "Cover_Rate": 0.8876404494382022} {"Template_token": ["", "bool", "isHighLow", "(", "const", "SDValue", "&", "Op", ")", "{", "return", "(", "Op", ".", "getOpcode", "(", ")", "==", "", "&&", "(", "(", "Op", ".", "getOperand", "(", "", ")", ".", "getOpcode", "(", ")", "==", "", "&&", "Op", ".", "getOperand", "(", "", ")", ".", "getOpcode", "(", ")", "==", "", ")", "||", "(", "Op", ".", "getOperand", "(", "", ")", ".", "getOpcode", "(", ")", "==", "", "&&", "Op", ".", "getOperand", "(", "", ")", ".", "getOpcode", "(", ")", "==", "", ")", ")", ")", ";"], "ground_truth": ["}"], "File": "SPUISelDAGToDAG1", "Func": "isHighLow", "Target": "CellSPU", "Target_Clf": "MPU", "Compiler_Type": "LLVM", "Idx": 61129, "Length": 79, "Cover_Rate": 0.8876404494382022} {"Template_token": ["", "ConstantSDNode", "*", "CN", "=", "dyn_cast", "<", "ConstantSDNode", ">", "(", "N", ")", ";"], "ground_truth": ["return", "(", "CN", "!=", "", "&&", "isI16IntS10Immediate", "(", "CN", ")", ")", ";"], "File": "SPUISelDAGToDAG1", "Func": "isI16IntS10Immediate", "Target": "CellSPU", "Target_Clf": "MPU", "Compiler_Type": "LLVM", "Idx": 61131, "Length": 24, "Cover_Rate": 0.7272727272727273} {"Template_token": ["", "bool", "isI16IntU10Immediate", "(", "SDNode", "*", "N", ")", "{"], "ground_truth": ["return", "(", "N", "->", "getOpcode", "(", ")", "==", "", "&&", "isI16IntU10Immediate", "(", "cast", "<", "ConstantSDNode", ">", "(", "N", ")", ")", ")", ";"], "File": "SPUISelDAGToDAG1", "Func": "isI16IntU10Immediate", "Target": "CellSPU", "Target_Clf": "MPU", "Compiler_Type": "LLVM", "Idx": 61132, "Length": 30, "Cover_Rate": 0.9090909090909091} {"Template_token": ["", "bool", "isIntS16Immediate", "(", "SDNode", "*", "N", ",", "short", "&", "Imm", ")", "{"], "ground_truth": ["return", "(", "N", "->", "getOpcode", "(", ")", "==", "", "&&", "isIntS16Immediate", "(", "cast", "<", "ConstantSDNode", ">", "(", "N", ")", ",", "Imm", ")", ")", ";"], "File": "SPUISelDAGToDAG1", "Func": "isIntS16Immediate", "Target": "CellSPU", "Target_Clf": "MPU", "Compiler_Type": "LLVM", "Idx": 61135, "Length": 36, "Cover_Rate": 0.9230769230769231} {"Template_token": ["", "return", "(", "N", "->", "getOpcode", "(", ")", "==", "", "&&", "isIntS16Immediate", "(", "cast", "<", "ConstantSDNode", ">", "(", "N", ")", ",", "Imm", ")", ")", ";"], "ground_truth": ["}"], "File": "SPUISelDAGToDAG1", "Func": "isIntS16Immediate", "Target": "CellSPU", "Target_Clf": "MPU", "Compiler_Type": "LLVM", "Idx": 61136, "Length": 25, "Cover_Rate": 0.6410256410256411} {"Template_token": ["", "case", "", ":", "case", "", ":", "report_fatal_error", "(", "", "", ")", ";", "case", "", ":", "if", "(", "N", ".", "hasOneUse", "(", ")", ")", "{", "SDValue", "Op0", "=", "N", ".", "getOperand", "(", "", ")", ";", "switch", "(", "Op0", ".", "getOpcode", "(", ")", ")", "{", "case", "", ":", "case", "", ":", "Base", "=", "Op0", ";", "Index", "=", "Zero", ";", "return", "true", ";", "case", "", ":", "{", "GlobalAddressSDNode", "*", "GSDN", "=", "cast", "<", "GlobalAddressSDNode", ">", "(", "Op0", ")", ";", "const", "GlobalValue", "*", "GV", "=", "GSDN", "->", "getGlobal", "(", ")", ";", "if", "(", "GV", "->", "getAlignment", "(", ")", "==", "", ")", "{", "Base", "=", "Op0", ";", "Index", "=", "Zero", ";"], "ground_truth": ["return", "true", ";"], "File": "SPUISelDAGToDAG1", "Func": "SelectAFormAddr", "Target": "CellSPU", "Target_Clf": "MPU", "Compiler_Type": "LLVM", "Idx": 61138, "Length": 109, "Cover_Rate": 0.5240384615384616} {"Template_token": ["", "bool", "DAGToDAGISel", "::", "SelectDFormAddr", "(", "SDNode", "*", "Op", ",", "SDValue", "N", ",", "SDValue", "&", "Base", ",", "SDValue", "&", "Index", ")", "{", "return", "DFormAddressPredicate", "(", "Op", ",", "N", ",", "Base", ",", "Index", ",", "FrameInfo", "::", "minFrameOffset", "(", ")", ",", "FrameInfo", "::", "maxFrameOffset", "(", ")", ")", ";"], "ground_truth": ["}"], "File": "SPUISelDAGToDAG1", "Func": "SelectDFormAddr", "Target": "CellSPU", "Target_Clf": "MPU", "Compiler_Type": "LLVM", "Idx": 61139, "Length": 46, "Cover_Rate": 1.0} {"Template_token": ["", "bool", "DAGToDAGISel", "::", "SelectDFormAddr", "(", "SDNode", "*", "Op", ",", "SDValue", "N", ",", "SDValue", "&", "Base", ",", "SDValue", "&", "Index", ")", "{", "return", "DFormAddressPredicate", "(", "Op", ",", "N", ",", "Base", ",", "Index", ",", "FrameInfo", "::", "minFrameOffset", "(", ")", ",", "FrameInfo", "::", "maxFrameOffset", "(", ")", ")", ";"], "ground_truth": ["}"], "File": "SPUISelDAGToDAG1", "Func": "SelectDFormAddr", "Target": "CellSPU", "Target_Clf": "MPU", "Compiler_Type": "LLVM", "Idx": 61140, "Length": 46, "Cover_Rate": 1.0} {"Template_token": ["", "EVT", "OpVecVT", "=", "EVT", "::", "getVectorVT", "(", "*", "CurDAG", "->", "getContext", "(", ")", ",", "OpVT", ",", "", ")", ";", "SDValue", "i64vec", "=", "", "(", "OpVecVT", ",", "*", "CurDAG", ",", "Value64", ",", "dl", ")", ";", "if", "(", "i64vec", ".", "getOpcode", "(", ")", "==", "", ")", "{", "SDValue", "Op0", "=", "i64vec", ".", "getOperand", "(", "", ")", ";", "ReplaceUses", "(", "i64vec", ",", "Op0", ")", ";", "return", "CurDAG", "->", "getMachineNode", "(", "", ",", "dl", ",", "OpVT", ",", "SDValue", "(", "emitBuildVector", "(", "Op0", ".", "getNode", "(", ")", ")", ",", "", ")", ")", ";", "}", "else", "if", "(", "i64vec", ".", "getOpcode", "(", ")", "==", "", ")", "{", "SDValue", "lhs", "=", "i64vec", ".", "getOperand", "(", "", ")", ";", "SDValue", "rhs", "=", "i64vec", ".", "getOperand", "(", "", ")", ";", "SDValue", "shufmask", "=", "i64vec", ".", "getOperand", "(", "", ")", ";", "if", "(", "lhs", ".", "getOpcode", "(", ")", "==", "", ")", "{", "ReplaceUses", "(", "lhs", ",", "lhs", ".", "getOperand", "(", "", ")", ")", ";", "lhs", "=", "lhs", ".", "getOperand", "(", "", ")", ";", "}", "SDNode", "*", "lhsNode", "=", "(", "lhs", ".", "getNode", "(", ")", "->", "isMachineOpcode", "(", ")", "?", "lhs", ".", "getNode", "(", ")", ":", "emitBuildVector", "(", "lhs", ".", "getNode", "(", ")", ")", ")", ";", "if", "(", "rhs", ".", "getOpcode", "(", ")", "==", "", ")", "{", "ReplaceUses", "(", "rhs", ",", "rhs", ".", "getOperand", "(", "", ")", ")", ";", "rhs", "=", "rhs", ".", "getOperand", "(", "", ")", ";", "}", "SDNode", "*", "rhsNode", "=", "(", "rhs", ".", "getNode", "(", ")", "->", "isMachineOpcode", "(", ")", "?", "rhs", ".", "getNode", "(", ")", ":", "emitBuildVector", "(", "rhs", ".", "getNode", "(", ")", ")", ")", ";", "if", "(", "shufmask", ".", "getOpcode", "(", ")", "==", "", ")", "{", "ReplaceUses", "(", "shufmask", ",", "shufmask", ".", "getOperand", "(", "", ")", ")", ";", "shufmask", "=", "shufmask", ".", "getOperand", "(", "", ")", ";", "}", "SDNode", "*", "shufMaskNode", "=", "(", "shufmask", ".", "getNode", "(", ")", "->", "isMachineOpcode", "(", ")", "?", "shufmask", ".", "getNode", "(", ")", ":", "emitBuildVector", "(", "shufmask", ".", "getNode", "(", ")", ")", ")", ";", "SDValue", "shufNode", "=", "CurDAG", "->", "getNode", "(", "", ",", "dl", ",", "OpVecVT", ",", "SDValue", "(", "lhsNode", ",", "", ")", ",", "SDValue", "(", "rhsNode", ",", "", ")", ",", "SDValue", "(", "shufMaskNode", ",", "", ")", ")", ";", "HandleSDNode", "Dummy", "(", "shufNode", ")", ";", "SDNode", "*", "SN", "=", "SelectCode", "(", "Dummy", ".", "getValue", "(", ")", ".", "getNode", "(", ")", ")", ";"], "ground_truth": ["if", "(", "SN", "==", "", ")", "SN", "=", "Dummy", ".", "getValue", "(", ")", ".", "getNode", "(", ")", ";"], "File": "SPUISelDAGToDAG1", "Func": "SelectI64Constant", "Target": "CellSPU", "Target_Clf": "MPU", "Compiler_Type": "LLVM", "Idx": 61141, "Length": 399, "Cover_Rate": 0.7885375494071146} {"Template_token": ["", "EVT", "VecVT", "=", "EVT", "::", "getVectorVT", "(", "*", "CurDAG", "->", "getContext", "(", ")", ",", "OpVT", ",", "(", "", "/", "OpVT", ".", "getSizeInBits", "(", ")", ")", ")", ";", "SDValue", "ShiftAmt", "=", "N", "->", "getOperand", "(", "", ")", ";", "EVT", "ShiftAmtVT", "=", "ShiftAmt", ".", "getValueType", "(", ")", ";", "SDNode", "*", "VecOp0", ",", "*", "SelMask", ",", "*", "ZeroFill", ",", "*", "Shift", "=", "", ";", "SDValue", "SelMaskVal", ";", "DebugLoc", "dl", "=", "N", "->", "getDebugLoc", "(", ")", ";", "VecOp0", "=", "CurDAG", "->", "getMachineNode", "(", "", ",", "dl", ",", "VecVT", ",", "Op0", ")", ";", "SelMaskVal", "=", "CurDAG", "->", "getTargetConstant", "(", "", ",", "", ")", ";", "SelMask", "=", "CurDAG", "->", "getMachineNode", "(", "", ",", "dl", ",", "VecVT", ",", "SelMaskVal", ")", ";", "ZeroFill", "=", "CurDAG", "->", "getMachineNode", "(", "", ",", "dl", ",", "VecVT", ",", "CurDAG", "->", "getTargetConstant", "(", "", ",", "OpVT", ")", ")", ";", "VecOp0", "=", "CurDAG", "->", "getMachineNode", "(", "", ",", "dl", ",", "VecVT", ",", "SDValue", "(", "ZeroFill", ",", "", ")", ",", "SDValue", "(", "VecOp0", ",", "", ")", ",", "SDValue", "(", "SelMask", ",", "", ")", ")", ";", "if", "(", "ConstantSDNode", "*", "CN", "=", "dyn_cast", "<", "ConstantSDNode", ">", "(", "ShiftAmt", ")", ")", "{", "unsigned", "bytes", "=", "unsigned", "(", "CN", "->", "getZExtValue", "(", ")", ")", ">>", "", ";", "unsigned", "bits", "=", "unsigned", "(", "CN", "->", "getZExtValue", "(", ")", ")", "&", "", ";", "if", "(", "bytes", ">", "", ")", "{", "Shift", "=", "CurDAG", "->", "getMachineNode", "(", "", ",", "dl", ",", "VecVT", ",", "SDValue", "(", "VecOp0", ",", "", ")", ",", "CurDAG", "->", "getTargetConstant", "(", "bytes", ",", "ShiftAmtVT", ")", ")", ";", "}"], "ground_truth": ["if", "(", "bits", ">", "", ")", "{"], "File": "SPUISelDAGToDAG1", "Func": "SelectSHLi64", "Target": "CellSPU", "Target_Clf": "MPU", "Compiler_Type": "LLVM", "Idx": 61142, "Length": 257, "Cover_Rate": 0.5433403805496829} {"Template_token": ["", "SDNode", "*", "SignRot", "=", "CurDAG", "->", "getMachineNode", "(", "", ",", "dl", ",", "", ",", "SDValue", "(", "VecOp0", ",", "", ")", ",", "SignRotAmt", ")", ";", "SDNode", "*", "UpperHalfSign", "=", "CurDAG", "->", "getMachineNode", "(", "", ",", "dl", ",", "", ",", "SDValue", "(", "SignRot", ",", "", ")", ")", ";", "SDNode", "*", "UpperHalfSignMask", "=", "CurDAG", "->", "getMachineNode", "(", "", ",", "dl", ",", "VecVT", ",", "SDValue", "(", "UpperHalfSign", ",", "", ")", ")", ";", "SDNode", "*", "UpperLowerMask", "=", "CurDAG", "->", "getMachineNode", "(", "", ",", "dl", ",", "VecVT", ",", "CurDAG", "->", "getTargetConstant", "(", "", ",", "", ")", ")", ";", "SDNode", "*", "UpperLowerSelect", "=", "CurDAG", "->", "getMachineNode", "(", "", ",", "dl", ",", "VecVT", ",", "SDValue", "(", "UpperHalfSignMask", ",", "", ")", ",", "SDValue", "(", "VecOp0", ",", "", ")", ",", "SDValue", "(", "UpperLowerMask", ",", "", ")", ")", ";", "SDNode", "*", "Shift", "=", "", ";", "if", "(", "ConstantSDNode", "*", "CN", "=", "dyn_cast", "<", "ConstantSDNode", ">", "(", "ShiftAmt", ")", ")", "{", "unsigned", "bytes", "=", "unsigned", "(", "CN", "->", "getZExtValue", "(", ")", ")", ">>", "", ";", "unsigned", "bits", "=", "unsigned", "(", "CN", "->", "getZExtValue", "(", ")", ")", "&", "", ";", "if", "(", "bytes", ">", "", ")", "{", "bytes", "=", "", "-", "bytes", ";", "Shift", "=", "CurDAG", "->", "getMachineNode", "(", "", ",", "dl", ",", "VecVT", ",", "SDValue", "(", "UpperLowerSelect", ",", "", ")", ",", "CurDAG", "->", "getTargetConstant", "(", "bytes", ",", "ShiftAmtVT", ")", ")", ";", "}", "if", "(", "bits", ">", "", ")", "{", "bits", "=", "", "-", "bits", ";", "Shift", "=", "CurDAG", "->", "getMachineNode", "(", "", ",", "dl", ",", "VecVT", ",", "SDValue", "(", "(", "Shift", "!=", "", "?", "Shift", ":", "UpperLowerSelect", ")", ",", "", ")", ",", "CurDAG", "->", "getTargetConstant", "(", "bits", ",", "ShiftAmtVT", ")", ")", ";", "}", "}", "else", "{", "SDNode", "*", "NegShift", "=", "CurDAG", "->", "getMachineNode", "(", "", ",", "dl", ",", "ShiftAmtVT", ",", "ShiftAmt", ",", "CurDAG", "->", "getTargetConstant", "(", "", ",", "ShiftAmtVT", ")", ")", ";", "Shift", "=", "CurDAG", "->", "getMachineNode", "(", "", ",", "dl", ",", "VecVT", ",", "SDValue", "(", "UpperLowerSelect", ",", "", ")", ",", "SDValue", "(", "NegShift", ",", "", ")", ")", ";", "Shift", "=", "CurDAG", "->", "getMachineNode", "(", "", ",", "dl", ",", "VecVT", ",", "SDValue", "(", "Shift", ",", "", ")", ",", "SDValue", "(", "NegShift", ",", "", ")", ")", ";", "}", "return", "CurDAG", "->", "getMachineNode", "(", "", ",", "dl", ",", "OpVT", ",", "SDValue", "(", "Shift", ",", "", ")", ")", ";"], "ground_truth": ["}"], "File": "SPUISelDAGToDAG1", "Func": "SelectSRAi64", "Target": "CellSPU", "Target_Clf": "MPU", "Compiler_Type": "LLVM", "Idx": 61143, "Length": 375, "Cover_Rate": 0.7381889763779528} {"Template_token": ["", "VecOp0", "=", "CurDAG", "->", "getMachineNode", "(", "", ",", "dl", ",", "VecVT", ",", "Op0", ")", ";", "if", "(", "ConstantSDNode", "*", "CN", "=", "dyn_cast", "<", "ConstantSDNode", ">", "(", "ShiftAmt", ")", ")", "{", "unsigned", "bytes", "=", "unsigned", "(", "CN", "->", "getZExtValue", "(", ")", ")", ">>", "", ";", "unsigned", "bits", "=", "unsigned", "(", "CN", "->", "getZExtValue", "(", ")", ")", "&", "", ";", "if", "(", "bytes", ">", "", ")", "{", "Shift", "=", "CurDAG", "->", "getMachineNode", "(", "", ",", "dl", ",", "VecVT", ",", "SDValue", "(", "VecOp0", ",", "", ")", ",", "CurDAG", "->", "getTargetConstant", "(", "bytes", ",", "ShiftAmtVT", ")", ")", ";", "}", "if", "(", "bits", ">", "", ")", "{", "Shift", "=", "CurDAG", "->", "getMachineNode", "(", "", ",", "dl", ",", "VecVT", ",", "SDValue", "(", "(", "Shift", "!=", "", "?", "Shift", ":", "VecOp0", ")", ",", "", ")", ",", "CurDAG", "->", "getTargetConstant", "(", "bits", ",", "ShiftAmtVT", ")", ")", ";", "}"], "ground_truth": ["}", "else", "{"], "File": "SPUISelDAGToDAG1", "Func": "SelectSRLi64", "Target": "CellSPU", "Target_Clf": "MPU", "Compiler_Type": "LLVM", "Idx": 61144, "Length": 143, "Cover_Rate": 0.32798165137614677} {"Template_token": ["", "SDNode", "*", "DAGToDAGISel", "::", "SelectSRLi64", "(", "SDNode", "*", "N", ",", "EVT", "OpVT", ")", "{", "SDValue", "Op0", "=", "N", "->", "getOperand", "(", "", ")", ";", "EVT", "VecVT", "=", "EVT", "::", "getVectorVT", "(", "*", "CurDAG", "->", "getContext", "(", ")", ",", "OpVT", ",", "(", "", "/", "OpVT", ".", "getSizeInBits", "(", ")", ")", ")", ";", "SDValue", "ShiftAmt", "=", "N", "->", "getOperand", "(", "", ")", ";", "EVT", "ShiftAmtVT", "=", "ShiftAmt", ".", "getValueType", "(", ")", ";", "SDNode", "*", "VecOp0", ",", "*", "Shift", "=", "", ";", "DebugLoc", "dl", "=", "N", "->", "getDebugLoc", "(", ")", ";", "VecOp0", "=", "CurDAG", "->", "getMachineNode", "(", "", ",", "dl", ",", "VecVT", ",", "Op0", ")", ";", "if", "(", "ConstantSDNode", "*", "CN", "=", "dyn_cast", "<", "ConstantSDNode", ">", "(", "ShiftAmt", ")", ")", "{", "unsigned", "bytes", "=", "unsigned", "(", "CN", "->", "getZExtValue", "(", ")", ")", ">>", "", ";", "unsigned", "bits", "=", "unsigned", "(", "CN", "->", "getZExtValue", "(", ")", ")", "&", "", ";", "if", "(", "bytes", ">", "", ")", "{", "Shift", "=", "CurDAG", "->", "getMachineNode", "(", "", ",", "dl", ",", "VecVT", ",", "SDValue", "(", "VecOp0", ",", "", ")", ",", "CurDAG", "->", "getTargetConstant", "(", "bytes", ",", "ShiftAmtVT", ")", ")", ";", "}", "if", "(", "bits", ">", "", ")", "{", "Shift", "=", "CurDAG", "->", "getMachineNode", "(", "", ",", "dl", ",", "VecVT", ",", "SDValue", "(", "(", "Shift", "!=", "", "?", "Shift", ":", "VecOp0", ")", ",", "", ")", ",", "CurDAG", "->", "getTargetConstant", "(", "bits", ",", "ShiftAmtVT", ")", ")", ";", "}", "}", "else", "{"], "ground_truth": ["SDNode", "*", "Bytes", "=", "CurDAG", "->", "getMachineNode", "(", "", ",", "dl", ",", "ShiftAmtVT", ",", "ShiftAmt", ",", "CurDAG", "->", "getTargetConstant", "(", "", ",", "ShiftAmtVT", ")", ")", ";"], "File": "SPUISelDAGToDAG1", "Func": "SelectSRLi64", "Target": "CellSPU", "Target_Clf": "MPU", "Compiler_Type": "LLVM", "Idx": 61145, "Length": 257, "Cover_Rate": 0.5894495412844036} {"Template_token": ["", "FrameIndexSDNode", "*", "FIN", "=", "dyn_cast", "<", "FrameIndexSDNode", ">", "(", "Op1", ")", ";", "int", "FI", "=", "int", "(", "FIN", "->", "getIndex", "(", ")", ")", ";", "DEBUG", "(", "cerr", "<<", "", "<<", "offset", "<<", "", "<<", "FI", "<<", "", ")", ";", "if", "(", "FrameInfo", "::", "FItoStackOffset", "(", "FI", ")", "<", "maxOffset", ")", "{", "Base", "=", "CurDAG", "->", "getTargetConstant", "(", "offset", ",", "PtrTy", ")", ";", "Index", "=", "CurDAG", "->", "getTargetFrameIndex", "(", "FI", ",", "PtrTy", ")", ";", "return", "true", ";", "}", "}", "else", "if", "(", "offset", ">", "minOffset", "&&", "offset", "<", "maxOffset", ")", "{", "Base", "=", "CurDAG", "->", "getTargetConstant", "(", "offset", ",", "PtrTy", ")", ";", "Index", "=", "Op1", ";", "return", "true", ";", "}", "}", "}", "else", "if", "(", "Opc", "==", "", ")", "{", "const", "SDValue", "Op0", "=", "N", ".", "getOperand", "(", "", ")", ";", "const", "SDValue", "Op1", "=", "N", ".", "getOperand", "(", "", ")", ";", "if", "(", "Op0", ".", "getOpcode", "(", ")", "==", "", "&&", "Op1", ".", "getOpcode", "(", ")", "==", "", ")", "{", "Base", "=", "CurDAG", "->", "getTargetConstant", "(", "", ",", "PtrTy", ")", ";", "Index", "=", "N", ";", "return", "true", ";", "}", "else", "if", "(", "isa", "<", "ConstantSDNode", ">", "(", "Op0", ")", "||", "isa", "<", "ConstantSDNode", ">", "(", "Op1", ")", ")", "{", "int32_t", "offset", "=", "", ";", "SDValue", "idxOp", ";", "if", "(", "isa", "<", "ConstantSDNode", ">", "(", "Op1", ")", ")", "{", "ConstantSDNode", "*", "CN", "=", "cast", "<", "ConstantSDNode", ">", "(", "Op1", ")", ";", "offset", "=", "int32_t", "(", "CN", "->", "getSExtValue", "(", ")", ")", ";", "idxOp", "=", "Op0", ";", "}", "else", "if", "(", "isa", "<", "ConstantSDNode", ">", "(", "Op0", ")", ")", "{", "ConstantSDNode", "*", "CN", "=", "cast", "<", "ConstantSDNode", ">", "(", "Op0", ")", ";", "offset", "=", "int32_t", "(", "CN", "->", "getSExtValue", "(", ")", ")", ";", "idxOp", "=", "Op1", ";", "}", "if", "(", "offset", ">=", "minOffset", "&&", "offset", "<=", "maxOffset", ")", "{", "Base", "=", "CurDAG", "->", "getTargetConstant", "(", "offset", ",", "PtrTy", ")", ";", "Index", "=", "idxOp", ";", "return", "true", ";", "}", "}", "}", "else", "if", "(", "Opc", "==", "", ")", "{", "Base", "=", "CurDAG", "->", "getTargetConstant", "(", "", ",", "N", ".", "getValueType", "(", ")", ")", ";", "Index", "=", "N", ";"], "ground_truth": ["return", "true", ";"], "File": "SPUISelDAGToDAG3", "Func": "DFormAddressPredicate", "Target": "CellSPU", "Target_Clf": "MPU", "Compiler_Type": "LLVM", "Idx": 61148, "Length": 348, "Cover_Rate": 0.3298578199052133} {"Template_token": ["", "MVT", "eltVT", "=", "vecVT", ".", "getVectorElementType", "(", ")", ";", "SDNode", "*", "bvNode", "=", "build_vec", ".", "getNode", "(", ")", ";", "DebugLoc", "dl", "=", "bvNode", "->", "getDebugLoc", "(", ")", ";", "if", "(", "(", "(", "vecVT", "==", "", ")", "&&", "(", "", "(", "bvNode", ",", "*", "CurDAG", ",", "", ")", ".", "getNode", "(", ")", "!=", "", ")", ")", "||", "(", "(", "vecVT", "==", "", ")", "&&", "(", "(", "", "(", "bvNode", ",", "*", "CurDAG", ",", "", ")", ".", "getNode", "(", ")", "!=", "", ")", "||", "(", "", "(", "bvNode", ",", "*", "CurDAG", ",", "", ")", ".", "getNode", "(", ")", "!=", "", ")", "||", "(", "", "(", "bvNode", ",", "*", "CurDAG", ",", "", ")", ".", "getNode", "(", ")", "!=", "", ")", "||", "(", "", "(", "bvNode", ",", "*", "CurDAG", ")", ".", "getNode", "(", ")", "!=", "", ")", ")", ")", "||", "(", "(", "vecVT", "==", "", ")", "&&", "(", "(", "", "(", "bvNode", ",", "*", "CurDAG", ",", "", ")", ".", "getNode", "(", ")", "!=", "", ")", "||", "(", "", "(", "bvNode", ",", "*", "CurDAG", ",", "", ")", ".", "getNode", "(", ")", "!=", "", ")", "||", "(", "", "(", "bvNode", ",", "*", "CurDAG", ",", "", ")", ".", "getNode", "(", ")", "!=", "", ")", ")", ")", ")", "return", "Select", "(", "build_vec", ")", ";", "std", "::", "vector", "<", "Constant", "*", ">", "CV", ";", "for", "(", "size_t", "i", "=", "", ";", "i", "<", "build_vec", ".", "getNumOperands", "(", ")", ";", "++", "i", ")", "{", "ConstantSDNode", "*", "V", "=", "dyn_cast", "<", "ConstantSDNode", ">", "(", "build_vec", ".", "getOperand", "(", "i", ")", ")", ";", "CV", ".", "push_back", "(", "const_cast", "<", "ConstantInt", "*", ">", "(", "V", "->", "getConstantIntValue", "(", ")", ")", ")", ";", "}", "Constant", "*", "CP", "=", "ConstantVector", "::", "get", "(", "CV", ")", ";"], "ground_truth": ["SDValue", "CPIdx", "=", "CurDAG", "->", "getConstantPool", "(", "CP", ",", "tli", ".", "getPointerTy", "(", ")", ")", ";"], "File": "SPUISelDAGToDAG3", "Func": "emitBuildVector", "Target": "CellSPU", "Target_Clf": "MPU", "Compiler_Type": "LLVM", "Idx": 61149, "Length": 297, "Cover_Rate": 0.7037914691943128} {"Template_token": ["", "DebugLoc", "dl", "=", "bvNode", "->", "getDebugLoc", "(", ")", ";", "if", "(", "(", "(", "vecVT", "==", "", ")", "&&", "(", "", "(", "bvNode", ",", "*", "CurDAG", ",", "", ")", ".", "getNode", "(", ")", "!=", "", ")", ")", "||", "(", "(", "vecVT", "==", "", ")", "&&", "(", "(", "", "(", "bvNode", ",", "*", "CurDAG", ",", "", ")", ".", "getNode", "(", ")", "!=", "", ")", "||", "(", "", "(", "bvNode", ",", "*", "CurDAG", ",", "", ")", ".", "getNode", "(", ")", "!=", "", ")", "||", "(", "", "(", "bvNode", ",", "*", "CurDAG", ",", "", ")", ".", "getNode", "(", ")", "!=", "", ")", "||", "(", "", "(", "bvNode", ",", "*", "CurDAG", ")", ".", "getNode", "(", ")", "!=", "", ")", ")", ")", "||", "(", "(", "vecVT", "==", "", ")", "&&", "(", "(", "", "(", "bvNode", ",", "*", "CurDAG", ",", "", ")", ".", "getNode", "(", ")", "!=", "", ")", "||", "(", "", "(", "bvNode", ",", "*", "CurDAG", ",", "", ")", ".", "getNode", "(", ")", "!=", "", ")", "||", "(", "", "(", "bvNode", ",", "*", "CurDAG", ",", "", ")", ".", "getNode", "(", ")", "!=", "", ")", ")", ")", ")", "return", "Select", "(", "build_vec", ")", ";", "std", "::", "vector", "<", "Constant", "*", ">", "CV", ";", "for", "(", "size_t", "i", "=", "", ";", "i", "<", "build_vec", ".", "getNumOperands", "(", ")", ";", "++", "i", ")", "{", "ConstantSDNode", "*", "V", "=", "dyn_cast", "<", "ConstantSDNode", ">", "(", "build_vec", ".", "getOperand", "(", "i", ")", ")", ";"], "ground_truth": ["CV", ".", "push_back", "(", "const_cast", "<", "ConstantInt", "*", ">", "(", "V", "->", "getConstantIntValue", "(", ")", ")", ")", ";"], "File": "SPUISelDAGToDAG3", "Func": "emitBuildVector", "Target": "CellSPU", "Target_Clf": "MPU", "Compiler_Type": "LLVM", "Idx": 61150, "Length": 250, "Cover_Rate": 0.5924170616113744} {"Template_token": ["", "}", "}", "if", "(", "retval", "==", "", ")", "{", "cerr", "<<", "", "<<", "VT", ".", "getMVTString", "(", ")", "<<", "", ";"], "ground_truth": ["abort", "(", ")", ";"], "File": "SPUISelDAGToDAG3", "Func": "getValueTypeMapEntry", "Target": "CellSPU", "Target_Clf": "MPU", "Compiler_Type": "LLVM", "Idx": 61151, "Length": 25, "Cover_Rate": 0.30864197530864196} {"Template_token": ["", "SelectRoot", "(", "*", "CurDAG", ")", ";", "CurDAG", "->", "RemoveDeadNodes", "(", ")", ";"], "ground_truth": ["}"], "File": "SPUISelDAGToDAG3", "Func": "InstructionSelect", "Target": "CellSPU", "Target_Clf": "MPU", "Compiler_Type": "LLVM", "Idx": 61152, "Length": 13, "Cover_Rate": 0.4482758620689655} {"Template_token": ["", "DEBUG", "(", "BB", "->", "dump", "(", ")", ")", ";", "SelectRoot", "(", "*", "CurDAG", ")", ";"], "ground_truth": ["CurDAG", "->", "RemoveDeadNodes", "(", ")", ";"], "File": "SPUISelDAGToDAG3", "Func": "InstructionSelect", "Target": "CellSPU", "Target_Clf": "MPU", "Compiler_Type": "LLVM", "Idx": 61153, "Length": 21, "Cover_Rate": 0.7241379310344828} {"Template_token": ["", "int", "sval", "=", "(", "int", ")", "(", "(", "val", "<<", "", ")", ">>", "", ")", ";", "Imm", "=", "(", "short", ")", "val", ";", "return", "val", "==", "sval", ";", "}"], "ground_truth": ["return", "false", ";"], "File": "SPUISelDAGToDAG3", "Func": "isFPS16Immediate", "Target": "CellSPU", "Target_Clf": "MPU", "Compiler_Type": "LLVM", "Idx": 61154, "Length": 32, "Cover_Rate": 0.3950617283950617} {"Template_token": ["", "return", "isS10Constant", "(", "CN", "->", "getSExtValue", "(", ")", ")", ";"], "ground_truth": ["}"], "File": "SPUISelDAGToDAG3", "Func": "isI32IntS10Immediate", "Target": "CellSPU", "Target_Clf": "MPU", "Compiler_Type": "LLVM", "Idx": 61159, "Length": 11, "Cover_Rate": 0.5789473684210527} {"Template_token": ["", "bool", "isI32IntS10Immediate", "(", "ConstantSDNode", "*", "CN", ")", "{", "return", "isS10Constant", "(", "CN", "->", "getSExtValue", "(", ")", ")", ";"], "ground_truth": ["}"], "File": "SPUISelDAGToDAG3", "Func": "isI32IntS10Immediate", "Target": "CellSPU", "Target_Clf": "MPU", "Compiler_Type": "LLVM", "Idx": 61160, "Length": 19, "Cover_Rate": 1.0} {"Template_token": ["", "return", "isU10Constant", "(", "CN", "->", "getSExtValue", "(", ")", ")", ";"], "ground_truth": ["}"], "File": "SPUISelDAGToDAG3", "Func": "isI32IntU10Immediate", "Target": "CellSPU", "Target_Clf": "MPU", "Compiler_Type": "LLVM", "Idx": 61161, "Length": 11, "Cover_Rate": 0.5789473684210527} {"Template_token": ["", "bool", "isI64IntS10Immediate", "(", "ConstantSDNode", "*", "CN", ")", "{"], "ground_truth": ["return", "isS10Constant", "(", "CN", "->", "getSExtValue", "(", ")", ")", ";"], "File": "SPUISelDAGToDAG3", "Func": "isI64IntS10Immediate", "Target": "CellSPU", "Target_Clf": "MPU", "Compiler_Type": "LLVM", "Idx": 61163, "Length": 18, "Cover_Rate": 0.9473684210526315} {"Template_token": ["", "Imm", "=", "(", "short", ")", "CN", "->", "getZExtValue", "(", ")", ";", "if", "(", "vt", ".", "getSimpleVT", "(", ")", ">=", "", "&&", "vt", ".", "getSimpleVT", "(", ")", "<=", "", ")", "{", "return", "true", ";", "}", "else", "if", "(", "vt", "==", "", ")", "{"], "ground_truth": ["int32_t", "i_val", "=", "(", "int32_t", ")", "CN", "->", "getZExtValue", "(", ")", ";"], "File": "SPUISelDAGToDAG3", "Func": "isIntS16Immediate", "Target": "CellSPU", "Target_Clf": "MPU", "Compiler_Type": "LLVM", "Idx": 61165, "Length": 54, "Cover_Rate": 0.421875} {"Template_token": ["", "virtual", "bool", "runOnFunction", "(", "Function", "&", "Fn", ")", "{", "GlobalBaseReg", "=", "", ";", "SelectionDAGISel", "::", "runOnFunction", "(", "Fn", ")", ";"], "ground_truth": ["return", "true", ";"], "File": "SPUISelDAGToDAG3", "Func": "runOnFunction", "Target": "CellSPU", "Target_Clf": "MPU", "Compiler_Type": "LLVM", "Idx": 61166, "Length": 23, "Cover_Rate": 0.9583333333333334} {"Template_token": ["", "SelectionDAGISel", "::", "runOnFunction", "(", "Fn", ")", ";", "return", "true", ";"], "ground_truth": ["}"], "File": "SPUISelDAGToDAG3", "Func": "runOnFunction", "Target": "CellSPU", "Target_Clf": "MPU", "Compiler_Type": "LLVM", "Idx": 61167, "Length": 11, "Cover_Rate": 0.4583333333333333} {"Template_token": ["", "case", "", ":", "case", "", ":", "cerr", "<<", "", ";", "abort", "(", ")", ";", "case", "", ":", "case", "", ":", "case", "", ":", "cerr", "<<", "", "<<", "", ";", "abort", "(", ")", ";", "case", "", ":", "if", "(", "N", ".", "hasOneUse", "(", ")", ")", "{", "SDValue", "Op0", "=", "N", ".", "getOperand", "(", "", ")", ";", "switch", "(", "Op0", ".", "getOpcode", "(", ")", ")", "{", "case", "", ":", "case", "", ":", "Base", "=", "Op0", ";", "Index", "=", "Zero", ";", "return", "true", ";", "case", "", ":", "{", "GlobalAddressSDNode", "*", "GSDN", "=", "cast", "<", "GlobalAddressSDNode", ">", "(", "Op0", ")", ";", "GlobalValue", "*", "GV", "=", "GSDN", "->", "getGlobal", "(", ")", ";", "if", "(", "GV", "->", "getAlignment", "(", ")", "==", "", ")", "{", "Base", "=", "Op0", ";", "Index", "=", "Zero", ";", "return", "true", ";", "}", "break", ";", "}", "}", "}", "break", ";", "}"], "ground_truth": ["return", "false", ";"], "File": "SPUISelDAGToDAG3", "Func": "SelectAFormAddr", "Target": "CellSPU", "Target_Clf": "MPU", "Compiler_Type": "LLVM", "Idx": 61169, "Length": 141, "Cover_Rate": 0.6619718309859155} {"Template_token": ["", "case", "", ":", "case", "", ":", "case", "", ":", "cerr", "<<", "", "<<", "", ";", "abort", "(", ")", ";", "case", "", ":", "if", "(", "N", ".", "hasOneUse", "(", ")", ")", "{", "SDValue", "Op0", "=", "N", ".", "getOperand", "(", "", ")", ";", "switch", "(", "Op0", ".", "getOpcode", "(", ")", ")", "{", "case", "", ":", "case", "", ":", "Base", "=", "Op0", ";", "Index", "=", "Zero", ";", "return", "true", ";", "case", "", ":", "{", "GlobalAddressSDNode", "*", "GSDN", "=", "cast", "<", "GlobalAddressSDNode", ">", "(", "Op0", ")", ";", "GlobalValue", "*", "GV", "=", "GSDN", "->", "getGlobal", "(", ")", ";", "if", "(", "GV", "->", "getAlignment", "(", ")", "==", "", ")", "{", "Base", "=", "Op0", ";", "Index", "=", "Zero", ";", "return", "true", ";", "}", "break", ";", "}", "}", "}"], "ground_truth": ["break", ";"], "File": "SPUISelDAGToDAG3", "Func": "SelectAFormAddr", "Target": "CellSPU", "Target_Clf": "MPU", "Compiler_Type": "LLVM", "Idx": 61170, "Length": 123, "Cover_Rate": 0.5774647887323944} {"Template_token": ["", "const", "int", "maxDForm2Offset", "=", "(", "", "<<", "", ")", "-", "", ";"], "ground_truth": ["return", "DFormAddressPredicate", "(", "Op", ",", "N", ",", "Disp", ",", "Base", ",", "minDForm2Offset", ",", "maxDForm2Offset", ")", ";"], "File": "SPUISelDAGToDAG3", "Func": "SelectDForm2Addr", "Target": "CellSPU", "Target_Clf": "MPU", "Compiler_Type": "LLVM", "Idx": 61172, "Length": 28, "Cover_Rate": 0.4666666666666667} {"Template_token": ["", "bool", "DAGToDAGISel", "::", "SelectDFormAddr", "(", "SDValue", "Op", ",", "SDValue", "N", ",", "SDValue", "&", "Base", ",", "SDValue", "&", "Index", ")", "{"], "ground_truth": ["return", "DFormAddressPredicate", "(", "Op", ",", "N", ",", "Base", ",", "Index", ",", "FrameInfo", "::", "minFrameOffset", "(", ")", ",", "FrameInfo", "::", "maxFrameOffset", "(", ")", ")", ";"], "File": "SPUISelDAGToDAG3", "Func": "SelectDFormAddr", "Target": "CellSPU", "Target_Clf": "MPU", "Compiler_Type": "LLVM", "Idx": 61173, "Length": 44, "Cover_Rate": 0.9777777777777777} {"Template_token": ["", "bool", "DAGToDAGISel", "::", "SelectDFormAddr", "(", "SDValue", "Op", ",", "SDValue", "N", ",", "SDValue", "&", "Base", ",", "SDValue", "&", "Index", ")", "{"], "ground_truth": ["return", "DFormAddressPredicate", "(", "Op", ",", "N", ",", "Base", ",", "Index", ",", "FrameInfo", "::", "minFrameOffset", "(", ")", ",", "FrameInfo", "::", "maxFrameOffset", "(", ")", ")", ";"], "File": "SPUISelDAGToDAG3", "Func": "SelectDFormAddr", "Target": "CellSPU", "Target_Clf": "MPU", "Compiler_Type": "LLVM", "Idx": 61174, "Length": 44, "Cover_Rate": 0.9777777777777777} {"Template_token": ["", "if", "(", "lhs", ".", "getOpcode", "(", ")", "==", "", ")", "{", "ReplaceUses", "(", "lhs", ",", "lhs", ".", "getOperand", "(", "", ")", ")", ";", "lhs", "=", "lhs", ".", "getOperand", "(", "", ")", ";", "}", "SDNode", "*", "lhsNode", "=", "(", "lhs", ".", "getNode", "(", ")", "->", "isMachineOpcode", "(", ")", "?", "lhs", ".", "getNode", "(", ")", ":", "emitBuildVector", "(", "lhs", ")", ")", ";", "if", "(", "rhs", ".", "getOpcode", "(", ")", "==", "", ")", "{", "ReplaceUses", "(", "rhs", ",", "rhs", ".", "getOperand", "(", "", ")", ")", ";", "rhs", "=", "rhs", ".", "getOperand", "(", "", ")", ";", "}", "SDNode", "*", "rhsNode", "=", "(", "rhs", ".", "getNode", "(", ")", "->", "isMachineOpcode", "(", ")", "?", "rhs", ".", "getNode", "(", ")", ":", "emitBuildVector", "(", "rhs", ")", ")", ";", "if", "(", "shufmask", ".", "getOpcode", "(", ")", "==", "", ")", "{", "ReplaceUses", "(", "shufmask", ",", "shufmask", ".", "getOperand", "(", "", ")", ")", ";", "shufmask", "=", "shufmask", ".", "getOperand", "(", "", ")", ";", "}"], "ground_truth": ["SDNode", "*", "shufMaskNode", "=", "(", "shufmask", ".", "getNode", "(", ")", "->", "isMachineOpcode", "(", ")", "?", "shufmask", ".", "getNode", "(", ")", ":", "emitBuildVector", "(", "shufmask", ")", ")", ";"], "File": "SPUISelDAGToDAG3", "Func": "SelectI64Constant", "Target": "CellSPU", "Target_Clf": "MPU", "Compiler_Type": "LLVM", "Idx": 61175, "Length": 180, "Cover_Rate": 0.40540540540540543} {"Template_token": ["", "if", "(", "ConstantSDNode", "*", "CN", "=", "dyn_cast", "<", "ConstantSDNode", ">", "(", "ShiftAmt", ")", ")", "{", "unsigned", "bytes", "=", "unsigned", "(", "CN", "->", "getZExtValue", "(", ")", ")", ">>", "", ";", "unsigned", "bits", "=", "unsigned", "(", "CN", "->", "getZExtValue", "(", ")", ")", "&", "", ";", "if", "(", "bytes", ">", "", ")", "{", "Shift", "=", "CurDAG", "->", "getTargetNode", "(", "", ",", "dl", ",", "VecVT", ",", "SDValue", "(", "VecOp0", ",", "", ")", ",", "CurDAG", "->", "getTargetConstant", "(", "bytes", ",", "ShiftAmtVT", ")", ")", ";", "}", "if", "(", "bits", ">", "", ")", "{", "Shift", "=", "CurDAG", "->", "getTargetNode", "(", "", ",", "dl", ",", "VecVT", ",", "SDValue", "(", "(", "Shift", "!=", "", "?", "Shift", ":", "VecOp0", ")", ",", "", ")", ",", "CurDAG", "->", "getTargetConstant", "(", "bits", ",", "ShiftAmtVT", ")", ")", ";", "}", "}", "else", "{", "SDNode", "*", "Bytes", "=", "CurDAG", "->", "getTargetNode", "(", "", ",", "dl", ",", "ShiftAmtVT", ",", "ShiftAmt", ",", "CurDAG", "->", "getTargetConstant", "(", "", ",", "ShiftAmtVT", ")", ")", ";", "SDNode", "*", "Bits", "=", "CurDAG", "->", "getTargetNode", "(", "", ",", "dl", ",", "ShiftAmtVT", ",", "ShiftAmt", ",", "CurDAG", "->", "getTargetConstant", "(", "", ",", "ShiftAmtVT", ")", ")", ";", "Shift", "=", "CurDAG", "->", "getTargetNode", "(", "", ",", "dl", ",", "VecVT", ",", "SDValue", "(", "VecOp0", ",", "", ")", ",", "SDValue", "(", "Bytes", ",", "", ")", ")", ";", "Shift", "=", "CurDAG", "->", "getTargetNode", "(", "", ",", "dl", ",", "VecVT", ",", "SDValue", "(", "Shift", ",", "", ")", ",", "SDValue", "(", "Bits", ",", "", ")", ")", ";", "}", "return", "CurDAG", "->", "getTargetNode", "(", "", ",", "dl", ",", "OpVT", ",", "SDValue", "(", "Shift", ",", "", ")", ")", ";"], "ground_truth": ["}"], "File": "SPUISelDAGToDAG3", "Func": "SelectSHLi64", "Target": "CellSPU", "Target_Clf": "MPU", "Compiler_Type": "LLVM", "Idx": 61176, "Length": 255, "Cover_Rate": 0.5472103004291845} {"Template_token": ["", "SDNode", "*", "UpperHalfSignMask", "=", "CurDAG", "->", "getTargetNode", "(", "", ",", "dl", ",", "VecVT", ",", "SDValue", "(", "UpperHalfSign", ",", "", ")", ")", ";", "SDNode", "*", "UpperLowerMask", "=", "CurDAG", "->", "getTargetNode", "(", "", ",", "dl", ",", "VecVT", ",", "CurDAG", "->", "getTargetConstant", "(", "", ",", "", ")", ")", ";", "SDNode", "*", "UpperLowerSelect", "=", "CurDAG", "->", "getTargetNode", "(", "", ",", "dl", ",", "VecVT", ",", "SDValue", "(", "UpperHalfSignMask", ",", "", ")", ",", "SDValue", "(", "VecOp0", ",", "", ")", ",", "SDValue", "(", "UpperLowerMask", ",", "", ")", ")", ";", "SDNode", "*", "Shift", "=", "", ";", "if", "(", "ConstantSDNode", "*", "CN", "=", "dyn_cast", "<", "ConstantSDNode", ">", "(", "ShiftAmt", ")", ")", "{", "unsigned", "bytes", "=", "unsigned", "(", "CN", "->", "getZExtValue", "(", ")", ")", ">>", "", ";", "unsigned", "bits", "=", "unsigned", "(", "CN", "->", "getZExtValue", "(", ")", ")", "&", "", ";", "if", "(", "bytes", ">", "", ")", "{", "bytes", "=", "", "-", "bytes", ";", "Shift", "=", "CurDAG", "->", "getTargetNode", "(", "", ",", "dl", ",", "VecVT", ",", "SDValue", "(", "UpperLowerSelect", ",", "", ")", ",", "CurDAG", "->", "getTargetConstant", "(", "bytes", ",", "ShiftAmtVT", ")", ")", ";", "}", "if", "(", "bits", ">", "", ")", "{", "bits", "=", "", "-", "bits", ";"], "ground_truth": ["Shift", "=", "CurDAG", "->", "getTargetNode", "(", "", ",", "dl", ",", "VecVT", ",", "SDValue", "(", "(", "Shift", "!=", "", "?", "Shift", ":", "UpperLowerSelect", ")", ",", "", ")", ",", "CurDAG", "->", "getTargetConstant", "(", "bits", ",", "ShiftAmtVT", ")", ")", ";"], "File": "SPUISelDAGToDAG3", "Func": "SelectSRAi64", "Target": "CellSPU", "Target_Clf": "MPU", "Compiler_Type": "LLVM", "Idx": 61177, "Length": 224, "Cover_Rate": 0.4471057884231537} {"Template_token": ["", "unsigned", "bytes", "=", "unsigned", "(", "CN", "->", "getZExtValue", "(", ")", ")", ">>", "", ";", "unsigned", "bits", "=", "unsigned", "(", "CN", "->", "getZExtValue", "(", ")", ")", "&", "", ";", "if", "(", "bytes", ">", "", ")", "{", "Shift", "=", "CurDAG", "->", "getTargetNode", "(", "", ",", "dl", ",", "VecVT", ",", "SDValue", "(", "VecOp0", ",", "", ")", ",", "CurDAG", "->", "getTargetConstant", "(", "bytes", ",", "ShiftAmtVT", ")", ")", ";", "}", "if", "(", "bits", ">", "", ")", "{", "Shift", "=", "CurDAG", "->", "getTargetNode", "(", "", ",", "dl", ",", "VecVT", ",", "SDValue", "(", "(", "Shift", "!=", "", "?", "Shift", ":", "VecOp0", ")", ",", "", ")", ",", "CurDAG", "->", "getTargetConstant", "(", "bits", ",", "ShiftAmtVT", ")", ")", ";", "}", "}", "else", "{", "SDNode", "*", "Bytes", "=", "CurDAG", "->", "getTargetNode", "(", "", ",", "dl", ",", "ShiftAmtVT", ",", "ShiftAmt", ",", "CurDAG", "->", "getTargetConstant", "(", "", ",", "ShiftAmtVT", ")", ")", ";", "SDNode", "*", "Bits", "=", "CurDAG", "->", "getTargetNode", "(", "", ",", "dl", ",", "ShiftAmtVT", ",", "ShiftAmt", ",", "CurDAG", "->", "getTargetConstant", "(", "", ",", "ShiftAmtVT", ")", ")", ";"], "ground_truth": ["Bytes", "=", "CurDAG", "->", "getTargetNode", "(", "", ",", "dl", ",", "ShiftAmtVT", ",", "SDValue", "(", "Bytes", ",", "", ")", ",", "CurDAG", "->", "getTargetConstant", "(", "", ",", "ShiftAmtVT", ")", ")", ";"], "File": "SPUISelDAGToDAG3", "Func": "SelectSRLi64", "Target": "CellSPU", "Target_Clf": "MPU", "Compiler_Type": "LLVM", "Idx": 61178, "Length": 194, "Cover_Rate": 0.4522144522144522} {"Template_token": ["", "Base", "=", "N", ".", "getOperand", "(", "", ")", ";", "Index", "=", "N", ".", "getOperand", "(", "", ")", ";", "return", "true", ";"], "ground_truth": ["}"], "File": "SPUISelDAGToDAG3", "Func": "SelectXFormAddr", "Target": "CellSPU", "Target_Clf": "MPU", "Compiler_Type": "LLVM", "Idx": 61179, "Length": 22, "Cover_Rate": 0.3013698630136986} {"Template_token": ["", "if", "(", "!", "SelectAFormAddr", "(", "Op", ",", "N", ",", "Base", ",", "Index", ")", "&&", "!", "SelectDFormAddr", "(", "Op", ",", "N", ",", "Base", ",", "Index", ")", ")", "{", "Base", "=", "N", ".", "getOperand", "(", "", ")", ";", "Index", "=", "N", ".", "getOperand", "(", "", ")", ";", "return", "true", ";"], "ground_truth": ["}"], "File": "SPUISelDAGToDAG3", "Func": "SelectXFormAddr", "Target": "CellSPU", "Target_Clf": "MPU", "Compiler_Type": "LLVM", "Idx": 61180, "Length": 49, "Cover_Rate": 0.6712328767123288} {"Template_token": ["", "EVT", "eltVT", "=", "vecVT", ".", "getVectorElementType", "(", ")", ";", "SDNode", "*", "bvNode", "=", "build_vec", ".", "getNode", "(", ")", ";", "DebugLoc", "dl", "=", "bvNode", "->", "getDebugLoc", "(", ")", ";", "if", "(", "(", "(", "vecVT", "==", "", ")", "&&", "(", "", "(", "bvNode", ",", "*", "CurDAG", ",", "", ")", ".", "getNode", "(", ")", "!=", "", ")", ")", "||", "(", "(", "vecVT", "==", "", ")", "&&", "(", "(", "", "(", "bvNode", ",", "*", "CurDAG", ",", "", ")", ".", "getNode", "(", ")", "!=", "", ")", "||", "(", "", "(", "bvNode", ",", "*", "CurDAG", ",", "", ")", ".", "getNode", "(", ")", "!=", "", ")", "||", "(", "", "(", "bvNode", ",", "*", "CurDAG", ",", "", ")", ".", "getNode", "(", ")", "!=", "", ")", "||", "(", "", "(", "bvNode", ",", "*", "CurDAG", ")", ".", "getNode", "(", ")", "!=", "", ")", ")", ")", "||", "(", "(", "vecVT", "==", "", ")", "&&", "(", "(", "", "(", "bvNode", ",", "*", "CurDAG", ",", "", ")", ".", "getNode", "(", ")", "!=", "", ")", "||", "(", "", "(", "bvNode", ",", "*", "CurDAG", ",", "", ")", ".", "getNode", "(", ")", "!=", "", ")", "||", "(", "", "(", "bvNode", ",", "*", "CurDAG", ",", "", ")", ".", "getNode", "(", ")", "!=", "", ")", ")", ")", ")", "return", "Select", "(", "build_vec", ")", ";", "std", "::", "vector", "<", "Constant", "*", ">", "CV", ";", "for", "(", "size_t", "i", "=", "", ";", "i", "<", "build_vec", ".", "getNumOperands", "(", ")", ";", "++", "i", ")", "{", "ConstantSDNode", "*", "V", "=", "dyn_cast", "<", "ConstantSDNode", ">", "(", "build_vec", ".", "getOperand", "(", "i", ")", ")", ";", "CV", ".", "push_back", "(", "const_cast", "<", "ConstantInt", "*", ">", "(", "V", "->", "getConstantIntValue", "(", ")", ")", ")", ";", "}", "Constant", "*", "CP", "=", "ConstantVector", "::", "get", "(", "CV", ")", ";", "SDValue", "CPIdx", "=", "CurDAG", "->", "getConstantPool", "(", "CP", ",", "tli", ".", "getPointerTy", "(", ")", ")", ";"], "ground_truth": ["unsigned", "Alignment", "=", "cast", "<", "ConstantPoolSDNode", ">", "(", "CPIdx", ")", "->", "getAlignment", "(", ")", ";"], "File": "SPUISelDAGToDAG5", "Func": "emitBuildVector", "Target": "CellSPU", "Target_Clf": "MPU", "Compiler_Type": "LLVM", "Idx": 61183, "Length": 312, "Cover_Rate": 0.7393364928909952} {"Template_token": ["", "SDNode", "*", "emitBuildVector", "(", "SDValue", "build_vec", ")", "{", "EVT", "vecVT", "=", "build_vec", ".", "getValueType", "(", ")", ";", "EVT", "eltVT", "=", "vecVT", ".", "getVectorElementType", "(", ")", ";", "SDNode", "*", "bvNode", "=", "build_vec", ".", "getNode", "(", ")", ";", "DebugLoc", "dl", "=", "bvNode", "->", "getDebugLoc", "(", ")", ";", "if", "(", "(", "(", "vecVT", "==", "", ")", "&&", "(", "", "(", "bvNode", ",", "*", "CurDAG", ",", "", ")", ".", "getNode", "(", ")", "!=", "", ")", ")", "||", "(", "(", "vecVT", "==", "", ")", "&&", "(", "(", "", "(", "bvNode", ",", "*", "CurDAG", ",", "", ")", ".", "getNode", "(", ")", "!=", "", ")", "||", "(", "", "(", "bvNode", ",", "*", "CurDAG", ",", "", ")", ".", "getNode", "(", ")", "!=", "", ")", "||", "(", "", "(", "bvNode", ",", "*", "CurDAG", ",", "", ")", ".", "getNode", "(", ")", "!=", "", ")", "||", "(", "", "(", "bvNode", ",", "*", "CurDAG", ")", ".", "getNode", "(", ")", "!=", "", ")", ")", ")", "||", "(", "(", "vecVT", "==", "", ")", "&&", "(", "(", "", "(", "bvNode", ",", "*", "CurDAG", ",", "", ")", ".", "getNode", "(", ")", "!=", "", ")", "||", "(", "", "(", "bvNode", ",", "*", "CurDAG", ",", "", ")", ".", "getNode", "(", ")", "!=", "", ")", "||", "(", "", "(", "bvNode", ",", "*", "CurDAG", ",", "", ")", ".", "getNode", "(", ")", "!=", "", ")", ")", ")", ")", "return", "Select", "(", "build_vec", ")", ";", "std", "::", "vector", "<", "Constant", "*", ">", "CV", ";", "for", "(", "size_t", "i", "=", "", ";", "i", "<", "build_vec", ".", "getNumOperands", "(", ")", ";", "++", "i", ")", "{", "ConstantSDNode", "*", "V", "=", "dyn_cast", "<", "ConstantSDNode", ">", "(", "build_vec", ".", "getOperand", "(", "i", ")", ")", ";", "CV", ".", "push_back", "(", "const_cast", "<", "ConstantInt", "*", ">", "(", "V", "->", "getConstantIntValue", "(", ")", ")", ")", ";", "}", "Constant", "*", "CP", "=", "ConstantVector", "::", "get", "(", "CV", ")", ";", "SDValue", "CPIdx", "=", "CurDAG", "->", "getConstantPool", "(", "CP", ",", "tli", ".", "getPointerTy", "(", ")", ")", ";", "unsigned", "Alignment", "=", "cast", "<", "ConstantPoolSDNode", ">", "(", "CPIdx", ")", "->", "getAlignment", "(", ")", ";"], "ground_truth": ["SDValue", "CGPoolOffset", "=", "", "(", "CPIdx", ",", "*", "CurDAG", ",", "tli", ".", "getTargetMachine", "(", ")", ")", ";"], "File": "SPUISelDAGToDAG5", "Func": "emitBuildVector", "Target": "CellSPU", "Target_Clf": "MPU", "Compiler_Type": "LLVM", "Idx": 61184, "Length": 346, "Cover_Rate": 0.8199052132701422} {"Template_token": ["", "raw_string_ostream", "Msg", "(", "msg", ")", ";", "Msg", "<<", "", "<<", "VT", ".", "getEVTString", "(", ")", ";", "llvm_report_error", "(", "Msg", ".", "str", "(", ")", ")", ";", "}", "return", "retval", ";"], "ground_truth": ["}"], "File": "SPUISelDAGToDAG5", "Func": "getValueTypeMapEntry", "Target": "CellSPU", "Target_Clf": "MPU", "Compiler_Type": "LLVM", "Idx": 61185, "Length": 30, "Cover_Rate": 0.3157894736842105} {"Template_token": ["", "switch", "(", "Op0", ".", "getOpcode", "(", ")", ")", "{", "case", "", ":", "case", "", ":", "Base", "=", "Op0", ";", "Index", "=", "Zero", ";", "return", "true", ";", "case", "", ":", "{", "GlobalAddressSDNode", "*", "GSDN", "=", "cast", "<", "GlobalAddressSDNode", ">", "(", "Op0", ")", ";", "GlobalValue", "*", "GV", "=", "GSDN", "->", "getGlobal", "(", ")", ";", "if", "(", "GV", "->", "getAlignment", "(", ")", "==", "", ")", "{", "Base", "=", "Op0", ";", "Index", "=", "Zero", ";", "return", "true", ";", "}", "break", ";", "}", "}", "}"], "ground_truth": ["break", ";"], "File": "SPUISelDAGToDAG5", "Func": "SelectAFormAddr", "Target": "CellSPU", "Target_Clf": "MPU", "Compiler_Type": "LLVM", "Idx": 61187, "Length": 82, "Cover_Rate": 0.39805825242718446} {"Template_token": ["", "}", "else", "if", "(", "i64vec", ".", "getOpcode", "(", ")", "==", "", ")", "{", "SDValue", "lhs", "=", "i64vec", ".", "getOperand", "(", "", ")", ";", "SDValue", "rhs", "=", "i64vec", ".", "getOperand", "(", "", ")", ";", "SDValue", "shufmask", "=", "i64vec", ".", "getOperand", "(", "", ")", ";", "if", "(", "lhs", ".", "getOpcode", "(", ")", "==", "", ")", "{", "ReplaceUses", "(", "lhs", ",", "lhs", ".", "getOperand", "(", "", ")", ")", ";", "lhs", "=", "lhs", ".", "getOperand", "(", "", ")", ";", "}", "SDNode", "*", "lhsNode", "=", "(", "lhs", ".", "getNode", "(", ")", "->", "isMachineOpcode", "(", ")", "?", "lhs", ".", "getNode", "(", ")", ":", "emitBuildVector", "(", "lhs", ")", ")", ";", "if", "(", "rhs", ".", "getOpcode", "(", ")", "==", "", ")", "{", "ReplaceUses", "(", "rhs", ",", "rhs", ".", "getOperand", "(", "", ")", ")", ";"], "ground_truth": ["rhs", "=", "rhs", ".", "getOperand", "(", "", ")", ";"], "File": "SPUISelDAGToDAG5", "Func": "SelectI64Constant", "Target": "CellSPU", "Target_Clf": "MPU", "Compiler_Type": "LLVM", "Idx": 61188, "Length": 135, "Cover_Rate": 0.30066815144766146} {"Template_token": ["", "Op1", "=", "getSmallIPtrImm", "(", "", ")", ";", "}", "break", ";", "case", "'v'", ":", "llvm_unreachable", "(", "", ")", ";", "SelectAddrIdxOnly", "(", "Op", ",", "Op", ",", "Op0", ",", "Op1", ")", ";", "break", ";", "}", "OutOps", ".", "push_back", "(", "Op0", ")", ";", "OutOps", ".", "push_back", "(", "Op1", ")", ";"], "ground_truth": ["return", "false", ";"], "File": "SPUISelDAGToDAG5", "Func": "SelectInlineAsmMemoryOperand", "Target": "CellSPU", "Target_Clf": "MPU", "Compiler_Type": "LLVM", "Idx": 61189, "Length": 49, "Cover_Rate": 0.3006134969325153} {"Template_token": ["", "VecOp0", "=", "CurDAG", "->", "getTargetNode", "(", "", ",", "dl", ",", "VecVT", ",", "SDValue", "(", "ZeroFill", ",", "", ")", ",", "SDValue", "(", "VecOp0", ",", "", ")", ",", "SDValue", "(", "SelMask", ",", "", ")", ")", ";", "if", "(", "ConstantSDNode", "*", "CN", "=", "dyn_cast", "<", "ConstantSDNode", ">", "(", "ShiftAmt", ")", ")", "{", "unsigned", "bytes", "=", "unsigned", "(", "CN", "->", "getZExtValue", "(", ")", ")", ">>", "", ";", "unsigned", "bits", "=", "unsigned", "(", "CN", "->", "getZExtValue", "(", ")", ")", "&", "", ";", "if", "(", "bytes", ">", "", ")", "{", "Shift", "=", "CurDAG", "->", "getTargetNode", "(", "", ",", "dl", ",", "VecVT", ",", "SDValue", "(", "VecOp0", ",", "", ")", ",", "CurDAG", "->", "getTargetConstant", "(", "bytes", ",", "ShiftAmtVT", ")", ")", ";", "}", "if", "(", "bits", ">", "", ")", "{", "Shift", "=", "CurDAG", "->", "getTargetNode", "(", "", ",", "dl", ",", "VecVT", ",", "SDValue", "(", "(", "Shift", "!=", "", "?", "Shift", ":", "VecOp0", ")", ",", "", ")", ",", "CurDAG", "->", "getTargetConstant", "(", "bits", ",", "ShiftAmtVT", ")", ")", ";", "}", "}", "else", "{", "SDNode", "*", "Bytes", "=", "CurDAG", "->", "getTargetNode", "(", "", ",", "dl", ",", "ShiftAmtVT", ",", "ShiftAmt", ",", "CurDAG", "->", "getTargetConstant", "(", "", ",", "ShiftAmtVT", ")", ")", ";", "SDNode", "*", "Bits", "=", "CurDAG", "->", "getTargetNode", "(", "", ",", "dl", ",", "ShiftAmtVT", ",", "ShiftAmt", ",", "CurDAG", "->", "getTargetConstant", "(", "", ",", "ShiftAmtVT", ")", ")", ";", "Shift", "=", "CurDAG", "->", "getTargetNode", "(", "", ",", "dl", ",", "VecVT", ",", "SDValue", "(", "VecOp0", ",", "", ")", ",", "SDValue", "(", "Bytes", ",", "", ")", ")", ";", "Shift", "=", "CurDAG", "->", "getTargetNode", "(", "", ",", "dl", ",", "VecVT", ",", "SDValue", "(", "Shift", ",", "", ")", ",", "SDValue", "(", "Bits", ",", "", ")", ")", ";"], "ground_truth": ["}"], "File": "SPUISelDAGToDAG5", "Func": "SelectSHLi64", "Target": "CellSPU", "Target_Clf": "MPU", "Compiler_Type": "LLVM", "Idx": 61190, "Length": 269, "Cover_Rate": 0.5687103594080338} {"Template_token": ["", "SDNode", "*", "Shift", "=", "", ";", "if", "(", "ConstantSDNode", "*", "CN", "=", "dyn_cast", "<", "ConstantSDNode", ">", "(", "ShiftAmt", ")", ")", "{", "unsigned", "bytes", "=", "unsigned", "(", "CN", "->", "getZExtValue", "(", ")", ")", ">>", "", ";", "unsigned", "bits", "=", "unsigned", "(", "CN", "->", "getZExtValue", "(", ")", ")", "&", "", ";", "if", "(", "bytes", ">", "", ")", "{", "bytes", "=", "", "-", "bytes", ";", "Shift", "=", "CurDAG", "->", "getTargetNode", "(", "", ",", "dl", ",", "VecVT", ",", "SDValue", "(", "UpperLowerSelect", ",", "", ")", ",", "CurDAG", "->", "getTargetConstant", "(", "bytes", ",", "ShiftAmtVT", ")", ")", ";", "}", "if", "(", "bits", ">", "", ")", "{", "bits", "=", "", "-", "bits", ";", "Shift", "=", "CurDAG", "->", "getTargetNode", "(", "", ",", "dl", ",", "VecVT", ",", "SDValue", "(", "(", "Shift", "!=", "", "?", "Shift", ":", "UpperLowerSelect", ")", ",", "", ")", ",", "CurDAG", "->", "getTargetConstant", "(", "bits", ",", "ShiftAmtVT", ")", ")", ";", "}", "}", "else", "{", "SDNode", "*", "NegShift", "=", "CurDAG", "->", "getTargetNode", "(", "", ",", "dl", ",", "ShiftAmtVT", ",", "ShiftAmt", ",", "CurDAG", "->", "getTargetConstant", "(", "", ",", "ShiftAmtVT", ")", ")", ";", "Shift", "=", "CurDAG", "->", "getTargetNode", "(", "", ",", "dl", ",", "VecVT", ",", "SDValue", "(", "UpperLowerSelect", ",", "", ")", ",", "SDValue", "(", "NegShift", ",", "", ")", ")", ";", "Shift", "=", "CurDAG", "->", "getTargetNode", "(", "", ",", "dl", ",", "VecVT", ",", "SDValue", "(", "Shift", ",", "", ")", ",", "SDValue", "(", "NegShift", ",", "", ")", ")", ";"], "ground_truth": ["}"], "File": "SPUISelDAGToDAG5", "Func": "SelectSRAi64", "Target": "CellSPU", "Target_Clf": "MPU", "Compiler_Type": "LLVM", "Idx": 61191, "Length": 227, "Cover_Rate": 0.4468503937007874} {"Template_token": ["", "if", "(", "bytes", ">", "", ")", "{", "Shift", "=", "CurDAG", "->", "getTargetNode", "(", "", ",", "dl", ",", "VecVT", ",", "SDValue", "(", "VecOp0", ",", "", ")", ",", "CurDAG", "->", "getTargetConstant", "(", "bytes", ",", "ShiftAmtVT", ")", ")", ";", "}", "if", "(", "bits", ">", "", ")", "{", "Shift", "=", "CurDAG", "->", "getTargetNode", "(", "", ",", "dl", ",", "VecVT", ",", "SDValue", "(", "(", "Shift", "!=", "", "?", "Shift", ":", "VecOp0", ")", ",", "", ")", ",", "CurDAG", "->", "getTargetConstant", "(", "bits", ",", "ShiftAmtVT", ")", ")", ";", "}", "}", "else", "{", "SDNode", "*", "Bytes", "=", "CurDAG", "->", "getTargetNode", "(", "", ",", "dl", ",", "ShiftAmtVT", ",", "ShiftAmt", ",", "CurDAG", "->", "getTargetConstant", "(", "", ",", "ShiftAmtVT", ")", ")", ";", "SDNode", "*", "Bits", "=", "CurDAG", "->", "getTargetNode", "(", "", ",", "dl", ",", "ShiftAmtVT", ",", "ShiftAmt", ",", "CurDAG", "->", "getTargetConstant", "(", "", ",", "ShiftAmtVT", ")", ")", ";", "Bytes", "=", "CurDAG", "->", "getTargetNode", "(", "", ",", "dl", ",", "ShiftAmtVT", ",", "SDValue", "(", "Bytes", ",", "", ")", ",", "CurDAG", "->", "getTargetConstant", "(", "", ",", "ShiftAmtVT", ")", ")", ";", "Bits", "=", "CurDAG", "->", "getTargetNode", "(", "", ",", "dl", ",", "ShiftAmtVT", ",", "SDValue", "(", "Bits", ",", "", ")", ",", "CurDAG", "->", "getTargetConstant", "(", "", ",", "ShiftAmtVT", ")", ")", ";", "Shift", "=", "CurDAG", "->", "getTargetNode", "(", "", ",", "dl", ",", "VecVT", ",", "SDValue", "(", "VecOp0", ",", "", ")", ",", "SDValue", "(", "Bytes", ",", "", ")", ")", ";", "Shift", "=", "CurDAG", "->", "getTargetNode", "(", "", ",", "dl", ",", "VecVT", ",", "SDValue", "(", "Shift", ",", "", ")", ",", "SDValue", "(", "Bits", ",", "", ")", ")", ";", "}", "return", "CurDAG", "->", "getTargetNode", "(", "", ",", "dl", ",", "OpVT", ",", "SDValue", "(", "Shift", ",", "", ")", ")", ";"], "ground_truth": ["}"], "File": "SPUISelDAGToDAG5", "Func": "SelectSRLi64", "Target": "CellSPU", "Target_Clf": "MPU", "Compiler_Type": "LLVM", "Idx": 61192, "Length": 270, "Cover_Rate": 0.6192660550458715} {"Template_token": ["", "SDNode", "*", "emitBuildVector", "(", "SDNode", "*", "bvNode", ")", "{", "EVT", "vecVT", "=", "bvNode", "->", "getValueType", "(", "", ")", ";", "EVT", "eltVT", "=", "vecVT", ".", "getVectorElementType", "(", ")", ";", "DebugLoc", "dl", "=", "bvNode", "->", "getDebugLoc", "(", ")", ";", "if", "(", "(", "(", "vecVT", "==", "", ")", "&&", "(", "", "(", "bvNode", ",", "*", "CurDAG", ",", "", ")", ".", "getNode", "(", ")", "!=", "", ")", ")", "||", "(", "(", "vecVT", "==", "", ")", "&&", "(", "(", "", "(", "bvNode", ",", "*", "CurDAG", ",", "", ")", ".", "getNode", "(", ")", "!=", "", ")", "||", "(", "", "(", "bvNode", ",", "*", "CurDAG", ",", "", ")", ".", "getNode", "(", ")", "!=", "", ")", "||", "(", "", "(", "bvNode", ",", "*", "CurDAG", ",", "", ")", ".", "getNode", "(", ")", "!=", "", ")", "||", "(", "", "(", "bvNode", ",", "*", "CurDAG", ")", ".", "getNode", "(", ")", "!=", "", ")", ")", ")", "||", "(", "(", "vecVT", "==", "", ")", "&&", "(", "(", "", "(", "bvNode", ",", "*", "CurDAG", ",", "", ")", ".", "getNode", "(", ")", "!=", "", ")", "||", "(", "", "(", "bvNode", ",", "*", "CurDAG", ",", "", ")", ".", "getNode", "(", ")", "!=", "", ")", "||", "(", "", "(", "bvNode", ",", "*", "CurDAG", ",", "", ")", ".", "getNode", "(", ")", "!=", "", ")", ")", ")", ")", "{", "HandleSDNode", "Dummy", "(", "SDValue", "(", "bvNode", ",", "", ")", ")", ";", "if", "(", "SDNode", "*", "N", "=", "Select", "(", "bvNode", ")", ")", "return", "N", ";", "return", "Dummy", ".", "getValue", "(", ")", ".", "getNode", "(", ")", ";", "}", "std", "::", "vector", "<", "Constant", "*", ">", "CV", ";", "for", "(", "size_t", "i", "=", "", ";", "i", "<", "bvNode", "->", "getNumOperands", "(", ")", ";", "++", "i", ")", "{", "ConstantSDNode", "*", "V", "=", "dyn_cast", "<", "ConstantSDNode", ">", "(", "bvNode", "->", "getOperand", "(", "i", ")", ")", ";", "CV", ".", "push_back", "(", "const_cast", "<", "ConstantInt", "*", ">", "(", "V", "->", "getConstantIntValue", "(", ")", ")", ")", ";", "}"], "ground_truth": ["Constant", "*", "CP", "=", "ConstantVector", "::", "get", "(", "CV", ")", ";"], "File": "SPUISelDAGToDAG6", "Func": "emitBuildVector", "Target": "CellSPU", "Target_Clf": "MPU", "Compiler_Type": "LLVM", "Idx": 61193, "Length": 322, "Cover_Rate": 0.6505050505050505} {"Template_token": ["", "EVT", "OffsVT", "=", "", ";", "SDValue", "Zero", "=", "CurDAG", "->", "getTargetConstant", "(", "", ",", "OffsVT", ")", ";", "switch", "(", "N", ".", "getOpcode", "(", ")", ")", "{", "case", "", ":", "case", "", ":", "case", "", ":", "llvm_report_error", "(", "", ")", ";", "case", "", ":", "case", "", ":", "case", "", ":", "llvm_report_error", "(", "", "", ")", ";", "case", "", ":", "if", "(", "N", ".", "hasOneUse", "(", ")", ")", "{", "SDValue", "Op0", "=", "N", ".", "getOperand", "(", "", ")", ";", "switch", "(", "Op0", ".", "getOpcode", "(", ")", ")", "{", "case", "", ":", "case", "", ":", "Base", "=", "Op0", ";", "Index", "=", "Zero", ";", "return", "true", ";", "case", "", ":", "{", "GlobalAddressSDNode", "*", "GSDN", "=", "cast", "<", "GlobalAddressSDNode", ">", "(", "Op0", ")", ";", "GlobalValue", "*", "GV", "=", "GSDN", "->", "getGlobal", "(", ")", ";", "if", "(", "GV", "->", "getAlignment", "(", ")", "==", "", ")", "{", "Base", "=", "Op0", ";", "Index", "=", "Zero", ";", "return", "true", ";"], "ground_truth": ["}"], "File": "SPUISelDAGToDAG6", "Func": "SelectAFormAddr", "Target": "CellSPU", "Target_Clf": "MPU", "Compiler_Type": "LLVM", "Idx": 61195, "Length": 152, "Cover_Rate": 0.7342995169082126} {"Template_token": ["", "case", "", ":", "case", "", ":", "case", "", ":", "llvm_report_error", "(", "", "", ")", ";", "case", "", ":", "if", "(", "N", ".", "hasOneUse", "(", ")", ")", "{", "SDValue", "Op0", "=", "N", ".", "getOperand", "(", "", ")", ";", "switch", "(", "Op0", ".", "getOpcode", "(", ")", ")", "{", "case", "", ":", "case", "", ":", "Base", "=", "Op0", ";", "Index", "=", "Zero", ";", "return", "true", ";", "case", "", ":", "{"], "ground_truth": ["GlobalAddressSDNode", "*", "GSDN", "=", "cast", "<", "GlobalAddressSDNode", ">", "(", "Op0", ")", ";"], "File": "SPUISelDAGToDAG6", "Func": "SelectAFormAddr", "Target": "CellSPU", "Target_Clf": "MPU", "Compiler_Type": "LLVM", "Idx": 61196, "Length": 79, "Cover_Rate": 0.38164251207729466} {"Template_token": ["", "SDValue", "Op0", "=", "i64vec", ".", "getOperand", "(", "", ")", ";", "ReplaceUses", "(", "i64vec", ",", "Op0", ")", ";", "return", "CurDAG", "->", "getMachineNode", "(", "", ",", "dl", ",", "OpVT", ",", "SDValue", "(", "emitBuildVector", "(", "Op0", ".", "getNode", "(", ")", ")", ",", "", ")", ")", ";", "}", "else", "if", "(", "i64vec", ".", "getOpcode", "(", ")", "==", "", ")", "{", "SDValue", "lhs", "=", "i64vec", ".", "getOperand", "(", "", ")", ";", "SDValue", "rhs", "=", "i64vec", ".", "getOperand", "(", "", ")", ";", "SDValue", "shufmask", "=", "i64vec", ".", "getOperand", "(", "", ")", ";", "if", "(", "lhs", ".", "getOpcode", "(", ")", "==", "", ")", "{", "ReplaceUses", "(", "lhs", ",", "lhs", ".", "getOperand", "(", "", ")", ")", ";", "lhs", "=", "lhs", ".", "getOperand", "(", "", ")", ";", "}", "SDNode", "*", "lhsNode", "=", "(", "lhs", ".", "getNode", "(", ")", "->", "isMachineOpcode", "(", ")", "?", "lhs", ".", "getNode", "(", ")", ":", "emitBuildVector", "(", "lhs", ".", "getNode", "(", ")", ")", ")", ";", "if", "(", "rhs", ".", "getOpcode", "(", ")", "==", "", ")", "{", "ReplaceUses", "(", "rhs", ",", "rhs", ".", "getOperand", "(", "", ")", ")", ";", "rhs", "=", "rhs", ".", "getOperand", "(", "", ")", ";", "}", "SDNode", "*", "rhsNode", "=", "(", "rhs", ".", "getNode", "(", ")", "->", "isMachineOpcode", "(", ")", "?", "rhs", ".", "getNode", "(", ")", ":", "emitBuildVector", "(", "rhs", ".", "getNode", "(", ")", ")", ")", ";", "if", "(", "shufmask", ".", "getOpcode", "(", ")", "==", "", ")", "{", "ReplaceUses", "(", "shufmask", ",", "shufmask", ".", "getOperand", "(", "", ")", ")", ";", "shufmask", "=", "shufmask", ".", "getOperand", "(", "", ")", ";", "}", "SDNode", "*", "shufMaskNode", "=", "(", "shufmask", ".", "getNode", "(", ")", "->", "isMachineOpcode", "(", ")", "?", "shufmask", ".", "getNode", "(", ")", ":", "emitBuildVector", "(", "shufmask", ".", "getNode", "(", ")", ")", ")", ";", "SDValue", "shufNode", "=", "CurDAG", "->", "getNode", "(", "", ",", "dl", ",", "OpVecVT", ",", "SDValue", "(", "lhsNode", ",", "", ")", ",", "SDValue", "(", "rhsNode", ",", "", ")", ",", "SDValue", "(", "shufMaskNode", ",", "", ")", ")", ";", "HandleSDNode", "Dummy", "(", "shufNode", ")", ";", "SDNode", "*", "SN", "=", "SelectCode", "(", "Dummy", ".", "getValue", "(", ")", ".", "getNode", "(", ")", ")", ";", "if", "(", "SN", "==", "", ")", "SN", "=", "Dummy", ".", "getValue", "(", ")", ".", "getNode", "(", ")", ";", "return", "CurDAG", "->", "getMachineNode", "(", "", ",", "dl", ",", "OpVT", ",", "SDValue", "(", "SN", ",", "", ")", ")", ";", "}", "else", "if", "(", "i64vec", ".", "getOpcode", "(", ")", "==", "", ")", "{", "return", "CurDAG", "->", "getMachineNode", "(", "", ",", "dl", ",", "OpVT", ",", "SDValue", "(", "emitBuildVector", "(", "i64vec", ".", "getNode", "(", ")", ")", ",", "", ")", ")", ";", "}", "else", "{", "llvm_report_error", "(", "", "", ")", ";"], "ground_truth": ["}"], "File": "SPUISelDAGToDAG6", "Func": "SelectI64Constant", "Target": "CellSPU", "Target_Clf": "MPU", "Compiler_Type": "LLVM", "Idx": 61197, "Length": 422, "Cover_Rate": 0.83399209486166} {"Template_token": ["", "SDNode", "*", "shufMaskNode", "=", "(", "shufmask", ".", "getNode", "(", ")", "->", "isMachineOpcode", "(", ")", "?", "shufmask", ".", "getNode", "(", ")", ":", "emitBuildVector", "(", "shufmask", ".", "getNode", "(", ")", ")", ")", ";", "SDValue", "shufNode", "=", "CurDAG", "->", "getNode", "(", "", ",", "dl", ",", "OpVecVT", ",", "SDValue", "(", "lhsNode", ",", "", ")", ",", "SDValue", "(", "rhsNode", ",", "", ")", ",", "SDValue", "(", "shufMaskNode", ",", "", ")", ")", ";", "HandleSDNode", "Dummy", "(", "shufNode", ")", ";", "SDNode", "*", "SN", "=", "SelectCode", "(", "Dummy", ".", "getValue", "(", ")", ".", "getNode", "(", ")", ")", ";", "if", "(", "SN", "==", "", ")", "SN", "=", "Dummy", ".", "getValue", "(", ")", ".", "getNode", "(", ")", ";", "return", "CurDAG", "->", "getMachineNode", "(", "", ",", "dl", ",", "OpVT", ",", "SDValue", "(", "SN", ",", "", ")", ")", ";", "}", "else", "if", "(", "i64vec", ".", "getOpcode", "(", ")", "==", "", ")", "{", "return", "CurDAG", "->", "getMachineNode", "(", "", ",", "dl", ",", "OpVT", ",", "SDValue", "(", "emitBuildVector", "(", "i64vec", ".", "getNode", "(", ")", ")", ",", "", ")", ")", ";"], "ground_truth": ["}", "else", "{"], "File": "SPUISelDAGToDAG6", "Func": "SelectI64Constant", "Target": "CellSPU", "Target_Clf": "MPU", "Compiler_Type": "LLVM", "Idx": 61198, "Length": 168, "Cover_Rate": 0.33201581027667987} {"Template_token": ["", "static", "bool", "isFPS16Immediate", "(", "ConstantFPSDNode", "*", "FPN", ",", "short", "&", "Imm", ")", "{", "EVT", "vt", "=", "FPN", "->", "getValueType", "(", "", ")", ";"], "ground_truth": ["if", "(", "vt", "==", "", ")", "{"], "File": "SPUISelDAGToDAG9", "Func": "isFPS16Immediate", "Target": "CellSPU", "Target_Clf": "MPU", "Compiler_Type": "LLVM", "Idx": 61199, "Length": 30, "Cover_Rate": 0.38961038961038963} {"Template_token": ["", "EVT", "vt", "=", "CN", "->", "getValueType", "(", "", ")", ";", "Imm", "=", "(", "short", ")", "CN", "->", "getZExtValue", "(", ")", ";", "if", "(", "vt", ".", "getSimpleVT", "(", ")", ">=", "", "&&", "vt", ".", "getSimpleVT", "(", ")", "<=", "", ")", "{", "return", "true", ";", "}", "else", "if", "(", "vt", "==", "", ")", "{", "int32_t", "i_val", "=", "(", "int32_t", ")", "CN", "->", "getZExtValue", "(", ")", ";", "return", "i_val", "==", "SignExtend32", "<", "", ">", "(", "i_val", ")", ";", "}", "else", "{", "int64_t", "i_val", "=", "(", "int64_t", ")", "CN", "->", "getZExtValue", "(", ")", ";", "return", "i_val", "==", "SignExtend64", "<", "", ">", "(", "i_val", ")", ";", "}"], "ground_truth": ["}"], "File": "SPUISelDAGToDAG9", "Func": "isIntS16Immediate", "Target": "CellSPU", "Target_Clf": "MPU", "Compiler_Type": "LLVM", "Idx": 61200, "Length": 103, "Cover_Rate": 0.8512396694214877} {"Template_token": ["", "return", "i_val", "==", "SignExtend32", "<", "", ">", "(", "i_val", ")", ";", "}", "else", "{", "int64_t", "i_val", "=", "(", "int64_t", ")", "CN", "->", "getZExtValue", "(", ")", ";", "return", "i_val", "==", "SignExtend64", "<", "", ">", "(", "i_val", ")", ";", "}"], "ground_truth": ["}"], "File": "SPUISelDAGToDAG9", "Func": "isIntS16Immediate", "Target": "CellSPU", "Target_Clf": "MPU", "Compiler_Type": "LLVM", "Idx": 61201, "Length": 39, "Cover_Rate": 0.32231404958677684} {"Template_token": ["", "FunctionPass", "*", "llvm", "::", "createISelDag", "(", "TargetMachine", "&", "TM", ")", "{"], "ground_truth": ["return", "new", "DAGToDAGISel", "(", "TM", ")", ";"], "File": "SPUISelDAGToDAG", "Func": "createSPUISelDag", "Target": "CellSPU", "Target_Clf": "MPU", "Compiler_Type": "LLVM", "Idx": 61203, "Length": 18, "Cover_Rate": 0.9473684210526315} {"Template_token": ["", "if", "(", "FrameLowering", "::", "FItoStackOffset", "(", "FI", ")", "<", "maxOffset", ")", "{", "Base", "=", "CurDAG", "->", "getTargetConstant", "(", "offset", ",", "PtrTy", ")", ";", "Index", "=", "CurDAG", "->", "getTargetFrameIndex", "(", "FI", ",", "PtrTy", ")", ";", "return", "true", ";", "}", "}", "else", "if", "(", "offset", ">", "minOffset", "&&", "offset", "<", "maxOffset", ")", "{", "Base", "=", "CurDAG", "->", "getTargetConstant", "(", "offset", ",", "PtrTy", ")", ";", "Index", "=", "Op1", ";", "return", "true", ";", "}", "}", "}", "else", "if", "(", "Opc", "==", "", ")", "{", "const", "SDValue", "Op0", "=", "N", ".", "getOperand", "(", "", ")", ";", "const", "SDValue", "Op1", "=", "N", ".", "getOperand", "(", "", ")", ";", "if", "(", "Op0", ".", "getOpcode", "(", ")", "==", "", "&&", "Op1", ".", "getOpcode", "(", ")", "==", "", ")", "{", "Base", "=", "CurDAG", "->", "getTargetConstant", "(", "", ",", "PtrTy", ")", ";", "Index", "=", "N", ";", "return", "true", ";", "}", "else", "if", "(", "isa", "<", "ConstantSDNode", ">", "(", "Op0", ")", "||", "isa", "<", "ConstantSDNode", ">", "(", "Op1", ")", ")", "{", "int32_t", "offset", "=", "", ";", "SDValue", "idxOp", ";", "if", "(", "isa", "<", "ConstantSDNode", ">", "(", "Op1", ")", ")", "{", "ConstantSDNode", "*", "CN", "=", "cast", "<", "ConstantSDNode", ">", "(", "Op1", ")", ";", "offset", "=", "int32_t", "(", "CN", "->", "getSExtValue", "(", ")", ")", ";", "idxOp", "=", "Op0", ";", "}", "else", "if", "(", "isa", "<", "ConstantSDNode", ">", "(", "Op0", ")", ")", "{", "ConstantSDNode", "*", "CN", "=", "cast", "<", "ConstantSDNode", ">", "(", "Op0", ")", ";", "offset", "=", "int32_t", "(", "CN", "->", "getSExtValue", "(", ")", ")", ";", "idxOp", "=", "Op1", ";", "}", "if", "(", "offset", ">=", "minOffset", "&&", "offset", "<=", "maxOffset", ")", "{", "Base", "=", "CurDAG", "->", "getTargetConstant", "(", "offset", ",", "PtrTy", ")", ";", "Index", "=", "idxOp", ";", "return", "true", ";", "}", "}", "}", "else", "if", "(", "Opc", "==", "", ")", "{", "Base", "=", "CurDAG", "->", "getTargetConstant", "(", "", ",", "N", ".", "getValueType", "(", ")", ")", ";", "Index", "=", "N", ";", "return", "true", ";", "}", "else", "if", "(", "Opc", "==", "", ")", "{", "Base", "=", "CurDAG", "->", "getTargetConstant", "(", "", ",", "N", ".", "getValueType", "(", ")", ")", ";", "Index", "=", "N", ";", "return", "true", ";", "}", "else", "if", "(", "Opc", "==", "", "||", "Opc", "==", "", "||", "Opc", "==", "", "||", "Opc", "==", "", ")", "{", "unsigned", "OpOpc", "=", "Op", "->", "getOpcode", "(", ")", ";", "if", "(", "OpOpc", "==", "", "||", "OpOpc", "==", "", ")", "{", "SDValue", "Offs", ";", "Offs", "=", "(", "(", "OpOpc", "==", "", ")", "?", "Op", "->", "getOperand", "(", "", ")", ":", "Op", "->", "getOperand", "(", "", ")", ")", ";", "if", "(", "Offs", ".", "getOpcode", "(", ")", "==", "", "||", "Offs", ".", "getOpcode", "(", ")", "==", "", ")", "{", "if", "(", "Offs", ".", "getOpcode", "(", ")", "==", "", ")", "Offs", "=", "CurDAG", "->", "getTargetConstant", "(", "", ",", "Offs", ".", "getValueType", "(", ")", ")", ";", "Base", "=", "Offs", ";", "Index", "=", "N", ";"], "ground_truth": ["return", "true", ";"], "File": "SPUISelDAGToDAG", "Func": "DFormAddressPredicate", "Target": "CellSPU", "Target_Clf": "MPU", "Compiler_Type": "LLVM", "Idx": 61204, "Length": 463, "Cover_Rate": 0.44095238095238093} {"Template_token": ["", "}", "else", "if", "(", "Opc", "==", "", ")", "{", "const", "SDValue", "Op0", "=", "N", ".", "getOperand", "(", "", ")", ";", "const", "SDValue", "Op1", "=", "N", ".", "getOperand", "(", "", ")", ";", "if", "(", "(", "Op0", ".", "getOpcode", "(", ")", "==", "", "&&", "Op1", ".", "getOpcode", "(", ")", "==", "", ")", "||", "(", "Op1", ".", "getOpcode", "(", ")", "==", "", "&&", "Op0", ".", "getOpcode", "(", ")", "==", "", ")", ")", "{", "Base", "=", "CurDAG", "->", "getTargetConstant", "(", "", ",", "PtrTy", ")", ";", "Index", "=", "N", ";", "return", "true", ";", "}", "else", "if", "(", "Op1", ".", "getOpcode", "(", ")", "==", "", "||", "Op1", ".", "getOpcode", "(", ")", "==", "", ")", "{", "ConstantSDNode", "*", "CN", "=", "cast", "<", "ConstantSDNode", ">", "(", "Op1", ")", ";", "int32_t", "offset", "=", "int32_t", "(", "CN", "->", "getSExtValue", "(", ")", ")", ";", "if", "(", "Op0", ".", "getOpcode", "(", ")", "==", "", ")", "{", "FrameIndexSDNode", "*", "FIN", "=", "cast", "<", "FrameIndexSDNode", ">", "(", "Op0", ")", ";", "int", "FI", "=", "int", "(", "FIN", "->", "getIndex", "(", ")", ")", ";", "DEBUG", "(", "errs", "(", ")", "<<", "", "<<", "offset", "<<", "", "<<", "FI", "<<", "", ")", ";", "if", "(", "FrameLowering", "::", "FItoStackOffset", "(", "FI", ")", "<", "maxOffset", ")", "{", "Base", "=", "CurDAG", "->", "getTargetConstant", "(", "offset", ",", "PtrTy", ")", ";", "Index", "=", "CurDAG", "->", "getTargetFrameIndex", "(", "FI", ",", "PtrTy", ")", ";", "return", "true", ";", "}", "}", "else", "if", "(", "offset", ">", "minOffset", "&&", "offset", "<", "maxOffset", ")", "{", "Base", "=", "CurDAG", "->", "getTargetConstant", "(", "offset", ",", "PtrTy", ")", ";", "Index", "=", "Op0", ";", "return", "true", ";", "}", "}", "else", "if", "(", "Op0", ".", "getOpcode", "(", ")", "==", "", "||", "Op0", ".", "getOpcode", "(", ")", "==", "", ")", "{", "ConstantSDNode", "*", "CN", "=", "cast", "<", "ConstantSDNode", ">", "(", "Op0", ")", ";", "int32_t", "offset", "=", "int32_t", "(", "CN", "->", "getSExtValue", "(", ")", ")", ";", "if", "(", "Op1", ".", "getOpcode", "(", ")", "==", "", ")", "{", "FrameIndexSDNode", "*", "FIN", "=", "cast", "<", "FrameIndexSDNode", ">", "(", "Op1", ")", ";", "int", "FI", "=", "int", "(", "FIN", "->", "getIndex", "(", ")", ")", ";", "DEBUG", "(", "errs", "(", ")", "<<", "", "<<", "offset", "<<", "", "<<", "FI", "<<", "", ")", ";", "if", "(", "FrameLowering", "::", "FItoStackOffset", "(", "FI", ")", "<", "maxOffset", ")", "{", "Base", "=", "CurDAG", "->", "getTargetConstant", "(", "offset", ",", "PtrTy", ")", ";", "Index", "=", "CurDAG", "->", "getTargetFrameIndex", "(", "FI", ",", "PtrTy", ")", ";", "return", "true", ";", "}", "}", "else", "if", "(", "offset", ">", "minOffset", "&&", "offset", "<", "maxOffset", ")", "{", "Base", "=", "CurDAG", "->", "getTargetConstant", "(", "offset", ",", "PtrTy", ")", ";", "Index", "=", "Op1", ";", "return", "true", ";", "}", "}", "}", "else", "if", "(", "Opc", "==", "", ")", "{", "const", "SDValue", "Op0", "=", "N", ".", "getOperand", "(", "", ")", ";", "const", "SDValue", "Op1", "=", "N", ".", "getOperand", "(", "", ")", ";"], "ground_truth": ["if", "(", "Op0", ".", "getOpcode", "(", ")", "==", "", "&&", "Op1", ".", "getOpcode", "(", ")", "==", "", ")", "{"], "File": "SPUISelDAGToDAG", "Func": "DFormAddressPredicate", "Target": "CellSPU", "Target_Clf": "MPU", "Compiler_Type": "LLVM", "Idx": 61205, "Length": 473, "Cover_Rate": 0.4504761904761905} {"Template_token": ["", "return", "Dummy", ".", "getValue", "(", ")", ".", "getNode", "(", ")", ";", "}", "std", "::", "vector", "<", "Constant", "*", ">", "CV", ";", "for", "(", "size_t", "i", "=", "", ";", "i", "<", "bvNode", "->", "getNumOperands", "(", ")", ";", "++", "i", ")", "{", "ConstantSDNode", "*", "V", "=", "cast", "<", "ConstantSDNode", ">", "(", "bvNode", "->", "getOperand", "(", "i", ")", ")", ";", "CV", ".", "push_back", "(", "const_cast", "<", "ConstantInt", "*", ">", "(", "V", "->", "getConstantIntValue", "(", ")", ")", ")", ";", "}", "const", "Constant", "*", "CP", "=", "ConstantVector", "::", "get", "(", "CV", ")", ";", "SDValue", "CPIdx", "=", "CurDAG", "->", "getConstantPool", "(", "CP", ",", "tli", ".", "getPointerTy", "(", ")", ")", ";", "unsigned", "Alignment", "=", "cast", "<", "ConstantPoolSDNode", ">", "(", "CPIdx", ")", "->", "getAlignment", "(", ")", ";", "SDValue", "CGPoolOffset", "=", "", "(", "CPIdx", ",", "*", "CurDAG", ",", "TM", ")", ";", "HandleSDNode", "Dummy", "(", "CurDAG", "->", "getLoad", "(", "vecVT", ",", "dl", ",", "CurDAG", "->", "getEntryNode", "(", ")", ",", "CGPoolOffset", ",", "MachinePointerInfo", "::", "getConstantPool", "(", ")", ",", "false", ",", "false", ",", "false", ",", "Alignment", ")", ")", ";", "CurDAG", "->", "ReplaceAllUsesWith", "(", "SDValue", "(", "bvNode", ",", "", ")", ",", "Dummy", ".", "getValue", "(", ")", ")", ";"], "ground_truth": ["if", "(", "SDNode", "*", "N", "=", "SelectCode", "(", "Dummy", ".", "getValue", "(", ")", ".", "getNode", "(", ")", ")", ")", "return", "N", ";"], "File": "SPUISelDAGToDAG", "Func": "emitBuildVector", "Target": "CellSPU", "Target_Clf": "MPU", "Compiler_Type": "LLVM", "Idx": 61206, "Length": 207, "Cover_Rate": 0.42857142857142855} {"Template_token": ["", "SDValue", "getBorrowGenerateShufMask", "(", "SelectionDAG", "&", "DAG", ",", "DebugLoc", "dl", ")", "{", "SmallVector", "<", "SDValue", ",", "", ">", "ShufBytes", ";", "ShufBytes", ".", "push_back", "(", "DAG", ".", "getConstant", "(", "", ",", "", ")", ")", ";", "ShufBytes", ".", "push_back", "(", "DAG", ".", "getConstant", "(", "", ",", "", ")", ")", ";", "ShufBytes", ".", "push_back", "(", "DAG", ".", "getConstant", "(", "", ",", "", ")", ")", ";"], "ground_truth": ["ShufBytes", ".", "push_back", "(", "DAG", ".", "getConstant", "(", "", ",", "", ")", ")", ";"], "File": "SPUISelDAGToDAG", "Func": "getBorrowGenerateShufMask", "Target": "CellSPU", "Target_Clf": "MPU", "Compiler_Type": "LLVM", "Idx": 61207, "Length": 75, "Cover_Rate": 0.6696428571428571} {"Template_token": ["", "SmallVector", "<", "SDValue", ",", "", ">", "ShufBytes", ";", "ShufBytes", ".", "push_back", "(", "DAG", ".", "getConstant", "(", "", ",", "", ")", ")", ";"], "ground_truth": ["ShufBytes", ".", "push_back", "(", "DAG", ".", "getConstant", "(", "", ",", "", ")", ")", ";"], "File": "SPUISelDAGToDAG", "Func": "getCarryGenerateShufMask", "Target": "CellSPU", "Target_Clf": "MPU", "Compiler_Type": "LLVM", "Idx": 61208, "Length": 36, "Cover_Rate": 0.32142857142857145} {"Template_token": ["", "ShufBytes", ".", "push_back", "(", "DAG", ".", "getConstant", "(", "", ",", "", ")", ")", ";", "ShufBytes", ".", "push_back", "(", "DAG", ".", "getConstant", "(", "", ",", "", ")", ")", ";"], "ground_truth": ["ShufBytes", ".", "push_back", "(", "DAG", ".", "getConstant", "(", "", ",", "", ")", ")", ";"], "File": "SPUISelDAGToDAG", "Func": "getCarryGenerateShufMask", "Target": "CellSPU", "Target_Clf": "MPU", "Compiler_Type": "LLVM", "Idx": 61209, "Length": 42, "Cover_Rate": 0.375} {"Template_token": ["", "inline", "SDValue", "getI32Imm", "(", "uint32_t", "Imm", ")", "{"], "ground_truth": ["return", "CurDAG", "->", "getTargetConstant", "(", "Imm", ",", "", ")", ";"], "File": "SPUISelDAGToDAG", "Func": "getI32Imm", "Target": "CellSPU", "Target_Clf": "MPU", "Compiler_Type": "LLVM", "Idx": 61211, "Length": 18, "Cover_Rate": 0.8571428571428571} {"Template_token": ["", "return", "", ";"], "ground_truth": ["}"], "File": "SPUISelDAGToDAG", "Func": "getPassName", "Target": "CellSPU", "Target_Clf": "MPU", "Compiler_Type": "LLVM", "Idx": 61212, "Length": 4, "Cover_Rate": 0.3076923076923077} {"Template_token": ["", "return", "", ";"], "ground_truth": ["}"], "File": "SPUISelDAGToDAG", "Func": "getPassName", "Target": "CellSPU", "Target_Clf": "MPU", "Compiler_Type": "LLVM", "Idx": 61213, "Length": 4, "Cover_Rate": 0.3076923076923077} {"Template_token": ["", "inline", "SDValue", "getSmallIPtrImm", "(", "unsigned", "Imm", ")", "{"], "ground_truth": ["return", "CurDAG", "->", "getTargetConstant", "(", "Imm", ",", "tli", ".", "getPointerTy", "(", ")", ")", ";"], "File": "SPUISelDAGToDAG", "Func": "getSmallIPtrImm", "Target": "CellSPU", "Target_Clf": "MPU", "Compiler_Type": "LLVM", "Idx": 61214, "Length": 22, "Cover_Rate": 0.9565217391304348} {"Template_token": ["", "inline", "SDValue", "getSmallIPtrImm", "(", "unsigned", "Imm", ")", "{"], "ground_truth": ["return", "CurDAG", "->", "getTargetConstant", "(", "Imm", ",", "tli", ".", "getPointerTy", "(", ")", ")", ";"], "File": "SPUISelDAGToDAG", "Func": "getSmallIPtrImm", "Target": "CellSPU", "Target_Clf": "MPU", "Compiler_Type": "LLVM", "Idx": 61215, "Length": 22, "Cover_Rate": 0.9565217391304348} {"Template_token": ["", "int", "sval", "=", "(", "int", ")", "(", "(", "val", "<<", "", ")", ">>", "", ")", ";", "Imm", "=", "(", "short", ")", "val", ";", "return", "val", "==", "sval", ";", "}"], "ground_truth": ["return", "false", ";"], "File": "SPUISelDAGToDAG", "Func": "isFPS16Immediate", "Target": "CellSPU", "Target_Clf": "MPU", "Compiler_Type": "LLVM", "Idx": 61216, "Length": 32, "Cover_Rate": 0.3950617283950617} {"Template_token": ["", "static", "bool", "isFPS16Immediate", "(", "ConstantFPSDNode", "*", "FPN", ",", "short", "&", "Imm", ")", "{", "EVT", "vt", "=", "FPN", "->", "getValueType", "(", "", ")", ";", "if", "(", "vt", "==", "", ")", "{", "int", "val", "=", "FloatToBits", "(", "FPN", "->", "getValueAPF", "(", ")", ".", "convertToFloat", "(", ")", ")", ";", "int", "sval", "=", "(", "int", ")", "(", "(", "val", "<<", "", ")", ">>", "", ")", ";"], "ground_truth": ["Imm", "=", "(", "short", ")", "val", ";"], "File": "SPUISelDAGToDAG", "Func": "isFPS16Immediate", "Target": "CellSPU", "Target_Clf": "MPU", "Compiler_Type": "LLVM", "Idx": 61217, "Length": 69, "Cover_Rate": 0.8518518518518519} {"Template_token": ["", "return", "isInt", "<", "", ">", "(", "CN", "->", "getSExtValue", "(", ")", ")", ";"], "ground_truth": ["}"], "File": "SPUISelDAGToDAG", "Func": "isI16IntS10Immediate", "Target": "CellSPU", "Target_Clf": "MPU", "Compiler_Type": "LLVM", "Idx": 61219, "Length": 14, "Cover_Rate": 0.6363636363636364} {"Template_token": ["", "return", "isUInt", "<", "", ">", "(", "(", "short", ")", "CN", "->", "getZExtValue", "(", ")", ")", ";"], "ground_truth": ["}"], "File": "SPUISelDAGToDAG", "Func": "isI16IntU10Immediate", "Target": "CellSPU", "Target_Clf": "MPU", "Compiler_Type": "LLVM", "Idx": 61221, "Length": 17, "Cover_Rate": 0.68} {"Template_token": ["", "return", "isUInt", "<", "", ">", "(", "CN", "->", "getSExtValue", "(", ")", ")", ";"], "ground_truth": ["}"], "File": "SPUISelDAGToDAG", "Func": "isI32IntU10Immediate", "Target": "CellSPU", "Target_Clf": "MPU", "Compiler_Type": "LLVM", "Idx": 61224, "Length": 14, "Cover_Rate": 0.6363636363636364} {"Template_token": ["", "bool", "isIntS16Immediate", "(", "ConstantSDNode", "*", "CN", ",", "short", "&", "Imm", ")", "{", "EVT", "vt", "=", "CN", "->", "getValueType", "(", "", ")", ";", "Imm", "=", "(", "short", ")", "CN", "->", "getZExtValue", "(", ")", ";"], "ground_truth": ["if", "(", "vt", ".", "getSimpleVT", "(", ")", ">=", "", "&&", "vt", ".", "getSimpleVT", "(", ")", "<=", "", ")", "{"], "File": "SPUISelDAGToDAG", "Func": "isIntS16Immediate", "Target": "CellSPU", "Target_Clf": "MPU", "Compiler_Type": "LLVM", "Idx": 61226, "Length": 52, "Cover_Rate": 0.416} {"Template_token": ["", "GlobalBaseReg", "=", "", ";", "SelectionDAGISel", "::", "runOnMachineFunction", "(", "MF", ")", ";", "return", "true", ";"], "ground_truth": ["}"], "File": "SPUISelDAGToDAG", "Func": "runOnMachineFunction", "Target": "CellSPU", "Target_Clf": "MPU", "Compiler_Type": "LLVM", "Idx": 61227, "Length": 15, "Cover_Rate": 0.625} {"Template_token": ["", "GlobalBaseReg", "=", "", ";"], "ground_truth": ["SelectionDAGISel", "::", "runOnMachineFunction", "(", "MF", ")", ";"], "File": "SPUISelDAGToDAG", "Func": "runOnMachineFunction", "Target": "CellSPU", "Target_Clf": "MPU", "Compiler_Type": "LLVM", "Idx": 61228, "Length": 11, "Cover_Rate": 0.4583333333333333} {"Template_token": ["", "const", "int", "maxDForm2Offset", "=", "(", "", "<<", "", ")", "-", "", ";"], "ground_truth": ["return", "DFormAddressPredicate", "(", "Op", ",", "N", ",", "Disp", ",", "Base", ",", "minDForm2Offset", ",", "maxDForm2Offset", ")", ";"], "File": "SPUISelDAGToDAG", "Func": "SelectDForm2Addr", "Target": "CellSPU", "Target_Clf": "MPU", "Compiler_Type": "LLVM", "Idx": 61230, "Length": 28, "Cover_Rate": 0.45901639344262296} {"Template_token": ["", "const", "int", "maxDForm2Offset", "=", "(", "", "<<", "", ")", "-", "", ";", "return", "DFormAddressPredicate", "(", "Op", ",", "N", ",", "Disp", ",", "Base", ",", "minDForm2Offset", ",", "maxDForm2Offset", ")", ";"], "ground_truth": ["}"], "File": "SPUISelDAGToDAG", "Func": "SelectDForm2Addr", "Target": "CellSPU", "Target_Clf": "MPU", "Compiler_Type": "LLVM", "Idx": 61231, "Length": 29, "Cover_Rate": 0.47540983606557374} {"Template_token": ["", "return", "DFormAddressPredicate", "(", "Op", ",", "N", ",", "Base", ",", "Index", ",", "FrameLowering", "::", "minFrameOffset", "(", ")", ",", "FrameLowering", "::", "maxFrameOffset", "(", ")", ")", ";"], "ground_truth": ["}"], "File": "SPUISelDAGToDAG", "Func": "SelectDFormAddr", "Target": "CellSPU", "Target_Clf": "MPU", "Compiler_Type": "LLVM", "Idx": 61233, "Length": 25, "Cover_Rate": 0.5434782608695652} {"Template_token": ["", "if", "(", "rhs", ".", "getOpcode", "(", ")", "==", "", ")", "{", "ReplaceUses", "(", "rhs", ",", "rhs", ".", "getOperand", "(", "", ")", ")", ";", "rhs", "=", "rhs", ".", "getOperand", "(", "", ")", ";", "}", "SDNode", "*", "rhsNode", "=", "(", "rhs", ".", "getNode", "(", ")", "->", "isMachineOpcode", "(", ")", "?", "rhs", ".", "getNode", "(", ")", ":", "emitBuildVector", "(", "rhs", ".", "getNode", "(", ")", ")", ")", ";", "if", "(", "shufmask", ".", "getOpcode", "(", ")", "==", "", ")", "{", "ReplaceUses", "(", "shufmask", ",", "shufmask", ".", "getOperand", "(", "", ")", ")", ";", "shufmask", "=", "shufmask", ".", "getOperand", "(", "", ")", ";", "}", "SDNode", "*", "shufMaskNode", "=", "(", "shufmask", ".", "getNode", "(", ")", "->", "isMachineOpcode", "(", ")", "?", "shufmask", ".", "getNode", "(", ")", ":", "emitBuildVector", "(", "shufmask", ".", "getNode", "(", ")", ")", ")", ";", "SDValue", "shufNode", "=", "CurDAG", "->", "getNode", "(", "", ",", "dl", ",", "OpVecVT", ",", "SDValue", "(", "lhsNode", ",", "", ")", ",", "SDValue", "(", "rhsNode", ",", "", ")", ",", "SDValue", "(", "shufMaskNode", ",", "", ")", ")", ";", "HandleSDNode", "Dummy", "(", "shufNode", ")", ";", "SDNode", "*", "SN", "=", "SelectCode", "(", "Dummy", ".", "getValue", "(", ")", ".", "getNode", "(", ")", ")", ";"], "ground_truth": ["if", "(", "SN", "==", "", ")", "SN", "=", "Dummy", ".", "getValue", "(", ")", ".", "getNode", "(", ")", ";"], "File": "SPUISelDAGToDAG", "Func": "SelectI64Constant", "Target": "CellSPU", "Target_Clf": "MPU", "Compiler_Type": "LLVM", "Idx": 61234, "Length": 204, "Cover_Rate": 0.3870967741935484} {"Template_token": ["", "switch", "(", "ConstraintCode", ")", "{", "default", ":", "return", "true", ";", "case", "'m'", ":", "if", "(", "!", "SelectDFormAddr", "(", "Op", ".", "getNode", "(", ")", ",", "Op", ",", "Op0", ",", "Op1", ")", "&&", "!", "SelectAFormAddr", "(", "Op", ".", "getNode", "(", ")", ",", "Op", ",", "Op0", ",", "Op1", ")", ")", "SelectXFormAddr", "(", "Op", ".", "getNode", "(", ")", ",", "Op", ",", "Op0", ",", "Op1", ")", ";", "break", ";"], "ground_truth": ["case", "'o'", ":"], "File": "SPUISelDAGToDAG", "Func": "SelectInlineAsmMemoryOperand", "Target": "CellSPU", "Target_Clf": "MPU", "Compiler_Type": "LLVM", "Idx": 61235, "Length": 67, "Cover_Rate": 0.366120218579235} {"Template_token": ["", "if", "(", "bits", ">", "", ")", "{", "Shift", "=", "CurDAG", "->", "getMachineNode", "(", "", ",", "dl", ",", "VecVT", ",", "SDValue", "(", "(", "Shift", "!=", "", "?", "Shift", ":", "VecOp0", ")", ",", "", ")", ",", "CurDAG", "->", "getTargetConstant", "(", "bits", ",", "ShiftAmtVT", ")", ")", ";", "}", "}", "else", "{", "SDNode", "*", "Bytes", "=", "CurDAG", "->", "getMachineNode", "(", "", ",", "dl", ",", "ShiftAmtVT", ",", "ShiftAmt", ",", "CurDAG", "->", "getTargetConstant", "(", "", ",", "ShiftAmtVT", ")", ")", ";", "SDNode", "*", "Bits", "=", "CurDAG", "->", "getMachineNode", "(", "", ",", "dl", ",", "ShiftAmtVT", ",", "ShiftAmt", ",", "CurDAG", "->", "getTargetConstant", "(", "", ",", "ShiftAmtVT", ")", ")", ";", "Shift", "=", "CurDAG", "->", "getMachineNode", "(", "", ",", "dl", ",", "VecVT", ",", "SDValue", "(", "VecOp0", ",", "", ")", ",", "SDValue", "(", "Bytes", ",", "", ")", ")", ";", "Shift", "=", "CurDAG", "->", "getMachineNode", "(", "", ",", "dl", ",", "VecVT", ",", "SDValue", "(", "Shift", ",", "", ")", ",", "SDValue", "(", "Bits", ",", "", ")", ")", ";", "}", "return", "CurDAG", "->", "getMachineNode", "(", "TargetOpcode", "::", "COPY_TO_REGCLASS", ",", "dl", ",", "OpVT", ",", "SDValue", "(", "Shift", ",", "", ")", ",", "getRC", "(", "", ")", ")", ";"], "ground_truth": ["}"], "File": "SPUISelDAGToDAG", "Func": "SelectSHLi64", "Target": "CellSPU", "Target_Clf": "MPU", "Compiler_Type": "LLVM", "Idx": 61236, "Length": 182, "Cover_Rate": 0.3737166324435318} {"Template_token": ["", "SDNode", "*", "UpperHalfSign", "=", "CurDAG", "->", "getMachineNode", "(", "TargetOpcode", "::", "COPY_TO_REGCLASS", ",", "dl", ",", "", ",", "SDValue", "(", "SignRot", ",", "", ")", ",", "getRC", "(", "", ")", ")", ";", "SDNode", "*", "UpperHalfSignMask", "=", "CurDAG", "->", "getMachineNode", "(", "", ",", "dl", ",", "VecVT", ",", "SDValue", "(", "UpperHalfSign", ",", "", ")", ")", ";", "SDNode", "*", "UpperLowerMask", "=", "CurDAG", "->", "getMachineNode", "(", "", ",", "dl", ",", "VecVT", ",", "CurDAG", "->", "getTargetConstant", "(", "", ",", "", ")", ")", ";", "SDNode", "*", "UpperLowerSelect", "=", "CurDAG", "->", "getMachineNode", "(", "", ",", "dl", ",", "VecVT", ",", "SDValue", "(", "UpperHalfSignMask", ",", "", ")", ",", "SDValue", "(", "VecOp0", ",", "", ")", ",", "SDValue", "(", "UpperLowerMask", ",", "", ")", ")", ";", "SDNode", "*", "Shift", "=", "", ";", "if", "(", "ConstantSDNode", "*", "CN", "=", "dyn_cast", "<", "ConstantSDNode", ">", "(", "ShiftAmt", ")", ")", "{", "unsigned", "bytes", "=", "unsigned", "(", "CN", "->", "getZExtValue", "(", ")", ")", ">>", "", ";", "unsigned", "bits", "=", "unsigned", "(", "CN", "->", "getZExtValue", "(", ")", ")", "&", "", ";", "if", "(", "bytes", ">", "", ")", "{", "bytes", "=", "", "-", "bytes", ";"], "ground_truth": ["Shift", "=", "CurDAG", "->", "getMachineNode", "(", "", ",", "dl", ",", "VecVT", ",", "SDValue", "(", "UpperLowerSelect", ",", "", ")", ",", "CurDAG", "->", "getTargetConstant", "(", "bytes", ",", "ShiftAmtVT", ")", ")", ";"], "File": "SPUISelDAGToDAG", "Func": "SelectSRAi64", "Target": "CellSPU", "Target_Clf": "MPU", "Compiler_Type": "LLVM", "Idx": 61237, "Length": 202, "Cover_Rate": 0.3818525519848771} {"Template_token": ["", "SDValue", "Op0", "=", "N", "->", "getOperand", "(", "", ")", ";", "EVT", "VecVT", "=", "EVT", "::", "getVectorVT", "(", "*", "CurDAG", "->", "getContext", "(", ")", ",", "OpVT", ",", "(", "", "/", "OpVT", ".", "getSizeInBits", "(", ")", ")", ")", ";", "SDValue", "ShiftAmt", "=", "N", "->", "getOperand", "(", "", ")", ";", "EVT", "ShiftAmtVT", "=", "ShiftAmt", ".", "getValueType", "(", ")", ";", "SDNode", "*", "VecOp0", ",", "*", "Shift", "=", "", ";", "DebugLoc", "dl", "=", "N", "->", "getDebugLoc", "(", ")", ";", "VecOp0", "=", "CurDAG", "->", "getMachineNode", "(", "TargetOpcode", "::", "COPY_TO_REGCLASS", ",", "dl", ",", "VecVT", ",", "Op0", ",", "getRC", "(", "", ")", ")", ";", "if", "(", "ConstantSDNode", "*", "CN", "=", "dyn_cast", "<", "ConstantSDNode", ">", "(", "ShiftAmt", ")", ")", "{", "unsigned", "bytes", "=", "unsigned", "(", "CN", "->", "getZExtValue", "(", ")", ")", ">>", "", ";", "unsigned", "bits", "=", "unsigned", "(", "CN", "->", "getZExtValue", "(", ")", ")", "&", "", ";"], "ground_truth": ["if", "(", "bytes", ">", "", ")", "{"], "File": "SPUISelDAGToDAG", "Func": "SelectSRLi64", "Target": "CellSPU", "Target_Clf": "MPU", "Compiler_Type": "LLVM", "Idx": 61238, "Length": 146, "Cover_Rate": 0.3244444444444444} {"Template_token": ["", "SDNode", "*", "DAGToDAGISel", "::", "SelectSRLi64", "(", "SDNode", "*", "N", ",", "EVT", "OpVT", ")", "{", "SDValue", "Op0", "=", "N", "->", "getOperand", "(", "", ")", ";", "EVT", "VecVT", "=", "EVT", "::", "getVectorVT", "(", "*", "CurDAG", "->", "getContext", "(", ")", ",", "OpVT", ",", "(", "", "/", "OpVT", ".", "getSizeInBits", "(", ")", ")", ")", ";", "SDValue", "ShiftAmt", "=", "N", "->", "getOperand", "(", "", ")", ";", "EVT", "ShiftAmtVT", "=", "ShiftAmt", ".", "getValueType", "(", ")", ";", "SDNode", "*", "VecOp0", ",", "*", "Shift", "=", "", ";", "DebugLoc", "dl", "=", "N", "->", "getDebugLoc", "(", ")", ";", "VecOp0", "=", "CurDAG", "->", "getMachineNode", "(", "TargetOpcode", "::", "COPY_TO_REGCLASS", ",", "dl", ",", "VecVT", ",", "Op0", ",", "getRC", "(", "", ")", ")", ";", "if", "(", "ConstantSDNode", "*", "CN", "=", "dyn_cast", "<", "ConstantSDNode", ">", "(", "ShiftAmt", ")", ")", "{", "unsigned", "bytes", "=", "unsigned", "(", "CN", "->", "getZExtValue", "(", ")", ")", ">>", "", ";", "unsigned", "bits", "=", "unsigned", "(", "CN", "->", "getZExtValue", "(", ")", ")", "&", "", ";", "if", "(", "bytes", ">", "", ")", "{", "Shift", "=", "CurDAG", "->", "getMachineNode", "(", "", ",", "dl", ",", "VecVT", ",", "SDValue", "(", "VecOp0", ",", "", ")", ",", "CurDAG", "->", "getTargetConstant", "(", "bytes", ",", "ShiftAmtVT", ")", ")", ";", "}"], "ground_truth": ["if", "(", "bits", ">", "", ")", "{"], "File": "SPUISelDAGToDAG", "Func": "SelectSRLi64", "Target": "CellSPU", "Target_Clf": "MPU", "Compiler_Type": "LLVM", "Idx": 61239, "Length": 197, "Cover_Rate": 0.43777777777777777} {"Template_token": ["", "bool", "DAGToDAGISel", "::", "SelectXFormAddr", "(", "SDNode", "*", "Op", ",", "SDValue", "N", ",", "SDValue", "&", "Base", ",", "SDValue", "&", "Index", ")", "{", "if", "(", "!", "SelectAFormAddr", "(", "Op", ",", "N", ",", "Base", ",", "Index", ")", "&&", "!", "SelectDFormAddr", "(", "Op", ",", "N", ",", "Base", ",", "Index", ")", ")", "{", "Base", "=", "N", ".", "getOperand", "(", "", ")", ";", "Index", "=", "N", ".", "getOperand", "(", "", ")", ";", "return", "true", ";"], "ground_truth": ["}"], "File": "SPUISelDAGToDAG", "Func": "SelectXFormAddr", "Target": "CellSPU", "Target_Clf": "MPU", "Compiler_Type": "LLVM", "Idx": 61240, "Length": 70, "Cover_Rate": 0.9459459459459459} {"Template_token": ["", "bool", "DAGToDAGISel", "::", "SelectXFormAddr", "(", "SDNode", "*", "Op", ",", "SDValue", "N", ",", "SDValue", "&", "Base", ",", "SDValue", "&", "Index", ")", "{", "if", "(", "!", "SelectAFormAddr", "(", "Op", ",", "N", ",", "Base", ",", "Index", ")", "&&", "!", "SelectDFormAddr", "(", "Op", ",", "N", ",", "Base", ",", "Index", ")", ")", "{", "Base", "=", "N", ".", "getOperand", "(", "", ")", ";", "Index", "=", "N", ".", "getOperand", "(", "", ")", ";"], "ground_truth": ["return", "true", ";"], "File": "SPUISelDAGToDAG", "Func": "SelectXFormAddr", "Target": "CellSPU", "Target_Clf": "MPU", "Compiler_Type": "LLVM", "Idx": 61241, "Length": 69, "Cover_Rate": 0.9324324324324325} {"Template_token": ["", "explicit", "DAGToDAGISel", "(", "TargetMachine", "&", "tm", ")", ":", "SelectionDAGISel", "(", "tm", ")", ",", "TM", "(", "tm", ")", ",", "tli", "(", "*", "tm", ".", "getTargetLowering", "(", ")", ")", "{"], "ground_truth": ["}"], "File": "SPUISelDAGToDAG", "Func": "SPUDAGToDAGISel", "Target": "CellSPU", "Target_Clf": "MPU", "Compiler_Type": "LLVM", "Idx": 61242, "Length": 29, "Cover_Rate": 1.0} {"Template_token": ["", "if", "(", "valtype_map", "[", "i", "]", ".", "valtype", "==", "VT", ")", "{", "retval", "=", "valtype_map", "+", "i", ";", "break", ";", "}", "}", "if", "(", "retval", "==", "", ")", "{", "std", "::", "string", "msg", ";", "raw_string_ostream", "Msg", "(", "msg", ")", ";", "Msg", "<<", "", "<<", "VT", ".", "getEVTString", "(", ")", ";"], "ground_truth": ["llvm_report_error", "(", "Msg", ".", "str", "(", ")", ")", ";"], "File": "SPUISelLowering10", "Func": "getValueTypeMapEntry", "Target": "CellSPU", "Target_Clf": "MPU", "Compiler_Type": "LLVM", "Idx": 61244, "Length": 59, "Cover_Rate": 0.6210526315789474} {"Template_token": ["", "if", "(", "retval", "==", "", ")", "{", "std", "::", "string", "msg", ";", "raw_string_ostream", "Msg", "(", "msg", ")", ";", "Msg", "<<", "", "<<", "VT", ".", "getEVTString", "(", ")", ";", "llvm_report_error", "(", "Msg", ".", "str", "(", ")", ")", ";"], "ground_truth": ["}"], "File": "SPUISelLowering10", "Func": "getValueTypeMapEntry", "Target": "CellSPU", "Target_Clf": "MPU", "Compiler_Type": "LLVM", "Idx": 61245, "Length": 38, "Cover_Rate": 0.4} {"Template_token": ["", "SDValue", "", "(", "SDNode", "*", "N", ",", "SelectionDAG", "&", "DAG", ",", "EVT", "ValueType", ")", "{", "if", "(", "ConstantSDNode", "*", "CN", "=", "getVecImm", "(", "N", ")", ")", "{", "int64_t", "Value", "=", "CN", "->", "getSExtValue", "(", ")", ";"], "ground_truth": ["if", "(", "ValueType", "==", "", ")", "{"], "File": "SPUISelLowering10", "Func": "get_vec_i10imm", "Target": "CellSPU", "Target_Clf": "MPU", "Compiler_Type": "LLVM", "Idx": 61246, "Length": 43, "Cover_Rate": 0.3706896551724138} {"Template_token": ["", "case", "", ":", "{", "unsigned", "short", "Value16", "=", "SplatBits", ";", "SmallVector", "<", "SDValue", ",", "", ">", "Ops", ";", "Ops", ".", "assign", "(", "", ",", "DAG", ".", "getConstant", "(", "Value16", ",", "", ")", ")", ";", "return", "DAG", ".", "getNode", "(", "", ",", "dl", ",", "VT", ",", "DAG", ".", "getNode", "(", "", ",", "dl", ",", "", ",", "&", "Ops", "[", "", "]", ",", "Ops", ".", "size", "(", ")", ")", ")", ";", "}", "case", "", ":", "{", "unsigned", "short", "Value16", "=", "SplatBits", ";", "SDValue", "T", "=", "DAG", ".", "getConstant", "(", "Value16", ",", "EltVT", ")", ";", "SmallVector", "<", "SDValue", ",", "", ">", "Ops", ";", "Ops", ".", "assign", "(", "", ",", "T", ")", ";", "return", "DAG", ".", "getNode", "(", "", ",", "dl", ",", "VT", ",", "&", "Ops", "[", "", "]", ",", "Ops", ".", "size", "(", ")", ")", ";", "}", "case", "", ":", "{", "SDValue", "T", "=", "DAG", ".", "getConstant", "(", "unsigned", "(", "SplatBits", ")", ",", "VT", ".", "getVectorElementType", "(", ")", ")", ";", "return", "DAG", ".", "getNode", "(", "", ",", "dl", ",", "VT", ",", "T", ",", "T", ",", "T", ",", "T", ")", ";", "}"], "ground_truth": ["case", "", ":", "{"], "File": "SPUISelLowering10", "Func": "LowerBUILD_VECTOR", "Target": "CellSPU", "Target_Clf": "MPU", "Compiler_Type": "LLVM", "Idx": 61247, "Length": 182, "Cover_Rate": 0.304857621440536} {"Template_token": ["", "SDValue", "Zero", "=", "DAG", ".", "getConstant", "(", "", ",", "PtrVT", ")", ";", "const", "TargetMachine", "&", "TM", "=", "DAG", ".", "getTarget", "(", ")", ";", "DebugLoc", "dl", "=", "Op", ".", "getDebugLoc", "(", ")", ";", "if", "(", "TM", ".", "getRelocationModel", "(", ")", "==", "Reloc", "::", "Static", ")", "{", "if", "(", "!", "ST", "->", "usingLargeMem", "(", ")", ")", "{", "return", "DAG", ".", "getNode", "(", "", ",", "dl", ",", "PtrVT", ",", "CPI", ",", "Zero", ")", ";", "}", "else", "{", "SDValue", "Hi", "=", "DAG", ".", "getNode", "(", "", ",", "dl", ",", "PtrVT", ",", "CPI", ",", "Zero", ")", ";", "SDValue", "Lo", "=", "DAG", ".", "getNode", "(", "", ",", "dl", ",", "PtrVT", ",", "CPI", ",", "Zero", ")", ";", "return", "DAG", ".", "getNode", "(", "", ",", "dl", ",", "PtrVT", ",", "Hi", ",", "Lo", ")", ";", "}", "}", "llvm_unreachable", "(", "", "", ")", ";"], "ground_truth": ["return", "SDValue", "(", ")", ";"], "File": "SPUISelLowering10", "Func": "LowerConstantPool", "Target": "CellSPU", "Target_Clf": "MPU", "Compiler_Type": "LLVM", "Idx": 61248, "Length": 139, "Cover_Rate": 0.6495327102803738} {"Template_token": ["", "return", "DAG", ".", "getNode", "(", "", ",", "dl", ",", "PtrVT", ",", "CPI", ",", "Zero", ")", ";", "}", "else", "{", "SDValue", "Hi", "=", "DAG", ".", "getNode", "(", "", ",", "dl", ",", "PtrVT", ",", "CPI", ",", "Zero", ")", ";", "SDValue", "Lo", "=", "DAG", ".", "getNode", "(", "", ",", "dl", ",", "PtrVT", ",", "CPI", ",", "Zero", ")", ";", "return", "DAG", ".", "getNode", "(", "", ",", "dl", ",", "PtrVT", ",", "Hi", ",", "Lo", ")", ";", "}", "}"], "ground_truth": ["llvm_unreachable", "(", "", "", ")", ";"], "File": "SPUISelLowering10", "Func": "LowerConstantPool", "Target": "CellSPU", "Target_Clf": "MPU", "Compiler_Type": "LLVM", "Idx": 61249, "Length": 79, "Cover_Rate": 0.3691588785046729} {"Template_token": ["", "}", "unsigned", "VReg", "=", "RegInfo", ".", "createVirtualRegister", "(", "ArgRegClass", ")", ";", "RegInfo", ".", "addLiveIn", "(", "ArgRegs", "[", "ArgRegIdx", "]", ",", "VReg", ")", ";", "ArgVal", "=", "DAG", ".", "getCopyFromReg", "(", "Chain", ",", "dl", ",", "VReg", ",", "ObjectVT", ")", ";", "++", "ArgRegIdx", ";", "}", "else", "{", "int", "FI", "=", "MFI", "->", "CreateFixedObject", "(", "ObjSize", ",", "ArgOffset", ",", "true", ",", "false", ")", ";", "SDValue", "FIN", "=", "DAG", ".", "getFrameIndex", "(", "FI", ",", "PtrVT", ")", ";", "ArgVal", "=", "DAG", ".", "getLoad", "(", "ObjectVT", ",", "dl", ",", "Chain", ",", "FIN", ",", "NULL", ",", "", ",", "false", ",", "false", ",", "", ")", ";", "ArgOffset", "+=", "StackSlotSize", ";", "}", "InVals", ".", "push_back", "(", "ArgVal", ")", ";", "Chain", "=", "ArgVal", ".", "getOperand", "(", "", ")", ";", "}", "if", "(", "isVarArg", ")", "{", "SmallVector", "<", "SDValue", ",", "", "-", "", "+", "", ">", "MemOps", ";", "for", "(", ";", "ArgRegIdx", "!=", "NumArgRegs", ";", "++", "ArgRegIdx", ")", "{", "VarArgsFrameIndex", "=", "MFI", "->", "CreateFixedObject", "(", "StackSlotSize", ",", "ArgOffset", ",", "true", ",", "false", ")", ";", "SDValue", "FIN", "=", "DAG", ".", "getFrameIndex", "(", "VarArgsFrameIndex", ",", "PtrVT", ")", ";", "SDValue", "ArgVal", "=", "DAG", ".", "getRegister", "(", "ArgRegs", "[", "ArgRegIdx", "]", ",", "", ")", ";"], "ground_truth": ["SDValue", "Store", "=", "DAG", ".", "getStore", "(", "Chain", ",", "dl", ",", "ArgVal", ",", "FIN", ",", "NULL", ",", "", ",", "false", ",", "false", ",", "", ")", ";"], "File": "SPUISelLowering10", "Func": "LowerFormalArguments", "Target": "CellSPU", "Target_Clf": "MPU", "Compiler_Type": "LLVM", "Idx": 61251, "Length": 215, "Cover_Rate": 0.33076923076923076} {"Template_token": ["", "DebugLoc", "dl", "=", "Op", ".", "getDebugLoc", "(", ")", ";", "if", "(", "TM", ".", "getRelocationModel", "(", ")", "==", "Reloc", "::", "Static", ")", "{", "if", "(", "!", "ST", "->", "usingLargeMem", "(", ")", ")", "{", "return", "DAG", ".", "getNode", "(", "", ",", "dl", ",", "PtrVT", ",", "GA", ",", "Zero", ")", ";", "}", "else", "{", "SDValue", "Hi", "=", "DAG", ".", "getNode", "(", "", ",", "dl", ",", "PtrVT", ",", "GA", ",", "Zero", ")", ";", "SDValue", "Lo", "=", "DAG", ".", "getNode", "(", "", ",", "dl", ",", "PtrVT", ",", "GA", ",", "Zero", ")", ";", "return", "DAG", ".", "getNode", "(", "", ",", "dl", ",", "PtrVT", ",", "Hi", ",", "Lo", ")", ";", "}", "}", "else", "{"], "ground_truth": ["llvm_report_error", "(", "", "", ")", ";"], "File": "SPUISelLowering10", "Func": "LowerGlobalAddress", "Target": "CellSPU", "Target_Clf": "MPU", "Compiler_Type": "LLVM", "Idx": 61252, "Length": 113, "Cover_Rate": 0.5207373271889401} {"Template_token": ["", "SDValue", "lhsHi32", "=", "DAG", ".", "getNode", "(", "", ",", "dl", ",", "", ",", "DAG", ".", "getNode", "(", "", ",", "dl", ",", "IntVT", ",", "i64lhs", ",", "DAG", ".", "getConstant", "(", "", ",", "", ")", ")", ")", ";", "SDValue", "lhsHi32abs", "=", "DAG", ".", "getNode", "(", "", ",", "dl", ",", "", ",", "lhsHi32", ",", "DAG", ".", "getConstant", "(", "", ",", "", ")", ")", ";", "SDValue", "lhsLo32", "=", "DAG", ".", "getNode", "(", "", ",", "dl", ",", "", ",", "i64lhs", ")", ";", "if", "(", "CC", "->", "get", "(", ")", "==", "", ")", "{", "APInt", "ccResultAllOnes", "=", "APInt", "::", "getAllOnesValue", "(", "ccResultVT", ".", "getSizeInBits", "(", ")", ")", ";", "return", "DAG", ".", "getNode", "(", "", ",", "dl", ",", "ccResultVT", ",", "DAG", ".", "getSetCC", "(", "dl", ",", "ccResultVT", ",", "lhs", ",", "DAG", ".", "getConstantFP", "(", "", ",", "lhsVT", ")", ",", "", ")", ",", "DAG", ".", "getConstant", "(", "ccResultAllOnes", ",", "ccResultVT", ")", ")", ";", "}", "else", "if", "(", "CC", "->", "get", "(", ")", "==", "", ")", "{", "return", "DAG", ".", "getNode", "(", "", ",", "dl", ",", "ccResultVT", ",", "DAG", ".", "getSetCC", "(", "dl", ",", "ccResultVT", ",", "lhsHi32abs", ",", "DAG", ".", "getConstant", "(", "", ",", "", ")", ",", "", ")", ",", "DAG", ".", "getSetCC", "(", "dl", ",", "ccResultVT", ",", "lhsLo32", ",", "DAG", ".", "getConstant", "(", "", ",", "", ")", ",", "", ")", ")", ";", "}", "SDValue", "i64rhs", "=", "DAG", ".", "getNode", "(", "", ",", "dl", ",", "IntVT", ",", "rhs", ")", ";", "SDValue", "rhsHi32", "=", "DAG", ".", "getNode", "(", "", ",", "dl", ",", "", ",", "DAG", ".", "getNode", "(", "", ",", "dl", ",", "IntVT", ",", "i64rhs", ",", "DAG", ".", "getConstant", "(", "", ",", "", ")", ")", ")", ";", "SDValue", "signMag2TC", "=", "DAG", ".", "getConstant", "(", "", ",", "IntVT", ")", ";", "SDValue", "lhsSelectMask", "=", "DAG", ".", "getNode", "(", "", ",", "dl", ",", "ccResultVT", ",", "lhsHi32", ",", "DAG", ".", "getConstant", "(", "", ",", "", ")", ")", ";", "SDValue", "lhsSignMag2TC", "=", "DAG", ".", "getNode", "(", "", ",", "dl", ",", "IntVT", ",", "signMag2TC", ",", "i64lhs", ")", ";", "SDValue", "lhsSelect", "=", "DAG", ".", "getNode", "(", "", ",", "dl", ",", "IntVT", ",", "lhsSelectMask", ",", "lhsSignMag2TC", ",", "i64lhs", ")", ";", "SDValue", "rhsSelectMask", "=", "DAG", ".", "getNode", "(", "", ",", "dl", ",", "ccResultVT", ",", "rhsHi32", ",", "DAG", ".", "getConstant", "(", "", ",", "", ")", ")", ";", "SDValue", "rhsSignMag2TC", "=", "DAG", ".", "getNode", "(", "", ",", "dl", ",", "IntVT", ",", "signMag2TC", ",", "i64rhs", ")", ";", "SDValue", "rhsSelect", "=", "DAG", ".", "getNode", "(", "", ",", "dl", ",", "IntVT", ",", "rhsSelectMask", ",", "rhsSignMag2TC", ",", "i64rhs", ")", ";", "unsigned", "compareOp", ";", "switch", "(", "CC", "->", "get", "(", ")", ")", "{", "case", "", ":", "case", "", ":", "compareOp", "=", "", ";", "break", ";", "case", "", ":", "case", "", ":", "compareOp", "=", "", ";", "break", ";", "case", "", ":", "case", "", ":", "compareOp", "=", "", ";", "break", ";", "case", "", ":", "case", "", ":", "compareOp", "=", "", ";", "break", ";", "case", "", ":"], "ground_truth": ["case", "", ":"], "File": "SPUISelLowering10", "Func": "LowerSETCC", "Target": "CellSPU", "Target_Clf": "MPU", "Compiler_Type": "LLVM", "Idx": 61253, "Length": 471, "Cover_Rate": 0.5346197502837684} {"Template_token": ["", "}", "}", "else", "{", "basePtr", "=", "DAG", ".", "getNode", "(", "", ",", "dl", ",", "PtrVT", ",", "basePtr", ",", "DAG", ".", "getConstant", "(", "", ",", "PtrVT", ")", ")", ";", "}", "insertEltOffs", "=", "DAG", ".", "getNode", "(", "", ",", "dl", ",", "PtrVT", ",", "basePtr", ",", "DAG", ".", "getConstant", "(", "", ",", "PtrVT", ")", ")", ";", "}", "alignLoadVec", "=", "DAG", ".", "getLoad", "(", "", ",", "dl", ",", "the_chain", ",", "basePtr", ",", "SN", "->", "getSrcValue", "(", ")", ",", "SN", "->", "getSrcValueOffset", "(", ")", ",", "SN", "->", "isVolatile", "(", ")", ",", "SN", "->", "isNonTemporal", "(", ")", ",", "", ")", ";", "the_chain", "=", "alignLoadVec", ".", "getValue", "(", "", ")", ";", "LoadSDNode", "*", "LN", "=", "cast", "<", "LoadSDNode", ">", "(", "alignLoadVec", ")", ";", "SDValue", "theValue", "=", "SN", "->", "getValue", "(", ")", ";", "SDValue", "result", ";", "if", "(", "StVT", "!=", "VT", "&&", "(", "theValue", ".", "getOpcode", "(", ")", "==", "", "||", "theValue", ".", "getOpcode", "(", ")", "==", "", ")", ")", "{", "theValue", "=", "theValue", ".", "getOperand", "(", "", ")", ";", "}", "if", "(", "DebugFlag", "&&", "isCurrentDebugType", "(", "DEBUG_TYPE", ")", ")", "{", "errs", "(", ")", "<<", "", ";", "basePtr", ".", "getNode", "(", ")", "->", "dump", "(", "&", "DAG", ")", ";", "errs", "(", ")", "<<", "", ";", "}", "SDValue", "insertEltOp", "=", "DAG", ".", "getNode", "(", "", ",", "dl", ",", "vecVT", ",", "insertEltOffs", ")", ";", "SDValue", "vectorizeOp", "=", "DAG", ".", "getNode", "(", "", ",", "dl", ",", "vecVT", ",", "theValue", ")", ";", "result", "=", "DAG", ".", "getNode", "(", "", ",", "dl", ",", "vecVT", ",", "vectorizeOp", ",", "alignLoadVec", ",", "DAG", ".", "getNode", "(", "", ",", "dl", ",", "", ",", "insertEltOp", ")", ")", ";", "result", "=", "DAG", ".", "getStore", "(", "the_chain", ",", "dl", ",", "result", ",", "basePtr", ",", "LN", "->", "getSrcValue", "(", ")", ",", "LN", "->", "getSrcValueOffset", "(", ")", ",", "LN", "->", "isVolatile", "(", ")", ",", "LN", "->", "isNonTemporal", "(", ")", ",", "LN", "->", "getAlignment", "(", ")", ")", ";", "if", "(", "DebugFlag", "&&", "isCurrentDebugType", "(", "DEBUG_TYPE", ")", ")", "{", "const", "SDValue", "&", "currentRoot", "=", "DAG", ".", "getRoot", "(", ")", ";", "DAG", ".", "setRoot", "(", "result", ")", ";", "errs", "(", ")", "<<", "", ";", "DAG", ".", "dump", "(", ")", ";", "errs", "(", ")", "<<", "", ";", "DAG", ".", "setRoot", "(", "currentRoot", ")", ";", "}", "return", "result", ";", "}", "case", "", ":", "case", "", ":", "case", "", ":", "case", "", ":", "case", "", ":", "{"], "ground_truth": ["std", "::", "string", "msg", ";"], "File": "SPUISelLowering10", "Func": "LowerSTORE", "Target": "CellSPU", "Target_Clf": "MPU", "Compiler_Type": "LLVM", "Idx": 61254, "Length": 384, "Cover_Rate": 0.4093816631130064} {"Template_token": ["", "SDValue", "Op1", "=", "basePtr", ".", "getOperand", "(", "", ")", ";", "if", "(", "isa", "<", "ConstantSDNode", ">", "(", "Op1", ")", ")", "{", "basePtr", "=", "DAG", ".", "getNode", "(", "", ",", "dl", ",", "PtrVT", ",", "Op0", ",", "Op1", ")", ";", "the_chain", "=", "DAG", ".", "getCopyToReg", "(", "the_chain", ",", "dl", ",", "VReg", ",", "basePtr", ",", "Flag", ")", ";", "basePtr", "=", "DAG", ".", "getCopyFromReg", "(", "the_chain", ",", "dl", ",", "VReg", ",", "PtrVT", ")", ";", "}", "else", "{", "basePtr", "=", "DAG", ".", "getNode", "(", "", ",", "dl", ",", "PtrVT", ",", "Op0", ",", "Op1", ")", ";", "}", "}", "else", "{", "basePtr", "=", "DAG", ".", "getNode", "(", "", ",", "dl", ",", "PtrVT", ",", "basePtr", ",", "DAG", ".", "getConstant", "(", "", ",", "PtrVT", ")", ")", ";", "}", "insertEltOffs", "=", "DAG", ".", "getNode", "(", "", ",", "dl", ",", "PtrVT", ",", "basePtr", ",", "DAG", ".", "getConstant", "(", "", ",", "PtrVT", ")", ")", ";", "}", "alignLoadVec", "=", "DAG", ".", "getLoad", "(", "", ",", "dl", ",", "the_chain", ",", "basePtr", ",", "SN", "->", "getSrcValue", "(", ")", ",", "SN", "->", "getSrcValueOffset", "(", ")", ",", "SN", "->", "isVolatile", "(", ")", ",", "SN", "->", "isNonTemporal", "(", ")", ",", "", ")", ";", "the_chain", "=", "alignLoadVec", ".", "getValue", "(", "", ")", ";", "LoadSDNode", "*", "LN", "=", "cast", "<", "LoadSDNode", ">", "(", "alignLoadVec", ")", ";", "SDValue", "theValue", "=", "SN", "->", "getValue", "(", ")", ";", "SDValue", "result", ";", "if", "(", "StVT", "!=", "VT", "&&", "(", "theValue", ".", "getOpcode", "(", ")", "==", "", "||", "theValue", ".", "getOpcode", "(", ")", "==", "", ")", ")", "{", "theValue", "=", "theValue", ".", "getOperand", "(", "", ")", ";", "}", "if", "(", "DebugFlag", "&&", "isCurrentDebugType", "(", "DEBUG_TYPE", ")", ")", "{", "errs", "(", ")", "<<", "", ";", "basePtr", ".", "getNode", "(", ")", "->", "dump", "(", "&", "DAG", ")", ";", "errs", "(", ")", "<<", "", ";", "}", "SDValue", "insertEltOp", "=", "DAG", ".", "getNode", "(", "", ",", "dl", ",", "vecVT", ",", "insertEltOffs", ")", ";", "SDValue", "vectorizeOp", "=", "DAG", ".", "getNode", "(", "", ",", "dl", ",", "vecVT", ",", "theValue", ")", ";", "result", "=", "DAG", ".", "getNode", "(", "", ",", "dl", ",", "vecVT", ",", "vectorizeOp", ",", "alignLoadVec", ",", "DAG", ".", "getNode", "(", "", ",", "dl", ",", "", ",", "insertEltOp", ")", ")", ";", "result", "=", "DAG", ".", "getStore", "(", "the_chain", ",", "dl", ",", "result", ",", "basePtr", ",", "LN", "->", "getSrcValue", "(", ")", ",", "LN", "->", "getSrcValueOffset", "(", ")", ",", "LN", "->", "isVolatile", "(", ")", ",", "LN", "->", "isNonTemporal", "(", ")", ",", "LN", "->", "getAlignment", "(", ")", ")", ";", "if", "(", "DebugFlag", "&&", "isCurrentDebugType", "(", "DEBUG_TYPE", ")", ")", "{", "const", "SDValue", "&", "currentRoot", "=", "DAG", ".", "getRoot", "(", ")", ";", "DAG", ".", "setRoot", "(", "result", ")", ";", "errs", "(", ")", "<<", "", ";", "DAG", ".", "dump", "(", ")", ";", "errs", "(", ")", "<<", "", ";", "DAG", ".", "setRoot", "(", "currentRoot", ")", ";", "}", "return", "result", ";", "}", "case", "", ":", "case", "", ":", "case", "", ":", "case", "", ":", "case", "", ":"], "ground_truth": ["{"], "File": "SPUISelLowering10", "Func": "LowerSTORE", "Target": "CellSPU", "Target_Clf": "MPU", "Compiler_Type": "LLVM", "Idx": 61255, "Length": 469, "Cover_Rate": 0.5} {"Template_token": ["", "TargetLowering", "::", "ArgListTy", "Args", ";", "TargetLowering", "::", "ArgListEntry", "Entry", ";", "for", "(", "unsigned", "i", "=", "", ",", "e", "=", "Op", ".", "getNumOperands", "(", ")", ";", "i", "!=", "e", ";", "++", "i", ")", "{", "EVT", "ArgVT", "=", "Op", ".", "getOperand", "(", "i", ")", ".", "getValueType", "(", ")", ";", "Type", "*", "ArgTy", "=", "ArgVT", ".", "getTypeForEVT", "(", "*", "DAG", ".", "getContext", "(", ")", ")", ";"], "ground_truth": ["Entry", ".", "Node", "=", "Op", ".", "getOperand", "(", "i", ")", ";"], "File": "SPUISelLowering11", "Func": "ExpandLibCall", "Target": "CellSPU", "Target_Clf": "MPU", "Compiler_Type": "LLVM", "Idx": 61256, "Length": 74, "Cover_Rate": 0.3045267489711934} {"Template_token": ["", "weight", "=", "TargetLowering", "::", "getSingleConstraintMatchWeight", "(", "info", ",", "constraint", ")", ";", "break", ";", "case", "'b'", ":", "case", "'r'", ":", "case", "'f'", ":", "case", "'d'", ":", "case", "'v'", ":", "case", "'y'", ":", "weight", "=", "CW_Register", ";"], "ground_truth": ["break", ";"], "File": "SPUISelLowering11", "Func": "getSingleConstraintMatchWeight", "Target": "CellSPU", "Target_Clf": "MPU", "Compiler_Type": "LLVM", "Idx": 61257, "Length": 37, "Cover_Rate": 0.4111111111111111} {"Template_token": ["", "break", ";", "case", "'b'", ":", "case", "'r'", ":", "case", "'f'", ":", "case", "'d'", ":", "case", "'v'", ":", "case", "'y'", ":", "weight", "=", "CW_Register", ";", "break", ";", "}"], "ground_truth": ["return", "weight", ";"], "File": "SPUISelLowering11", "Func": "getSingleConstraintMatchWeight", "Target": "CellSPU", "Target_Clf": "MPU", "Compiler_Type": "LLVM", "Idx": 61258, "Length": 30, "Cover_Rate": 0.3333333333333333} {"Template_token": ["", "node_names", "[", "(", "unsigned", ")", "", "]", "=", "", ";", "node_names", "[", "(", "unsigned", ")", "", "]", "=", "", ";", "node_names", "[", "(", "unsigned", ")", "", "]", "=", "", ";", "node_names", "[", "(", "unsigned", ")", "", "]", "=", "", ";", "node_names", "[", "(", "unsigned", ")", "", "]", "=", "", ";", "node_names", "[", "(", "unsigned", ")", "", "]", "=", "", ";", "node_names", "[", "(", "unsigned", ")", "", "]", "=", "", ";", "node_names", "[", "(", "unsigned", ")", "", "]", "=", "", ";", "node_names", "[", "(", "unsigned", ")", "", "]", "=", "", ";", "node_names", "[", "(", "unsigned", ")", "", "]", "=", "", ";", "node_names", "[", "(", "unsigned", ")", "", "]", "=", "", ";", "node_names", "[", "(", "unsigned", ")", "", "]", "=", "", ";", "node_names", "[", "(", "unsigned", ")", "", "]", "=", "", ";", "node_names", "[", "(", "unsigned", ")", "", "]", "=", "", ";", "node_names", "[", "(", "unsigned", ")", "", "]", "=", "", ";"], "ground_truth": ["node_names", "[", "(", "unsigned", ")", "", "]", "=", "", ";"], "File": "SPUISelLowering11", "Func": "getTargetNodeName", "Target": "CellSPU", "Target_Clf": "MPU", "Compiler_Type": "LLVM", "Idx": 61259, "Length": 160, "Cover_Rate": 0.45584045584045585} {"Template_token": ["", "if", "(", "AM", ".", "BaseGV", "==", "", "&&", "AM", ".", "HasBaseReg", "&&", "AM", ".", "Scale", "==", "", "&&", "isInt", "<", "", ">", "(", "AM", ".", "BaseOffs", ")", ")", "return", "true", ";", "if", "(", "AM", ".", "BaseGV", "==", "", "&&", "AM", ".", "HasBaseReg", "&&", "AM", ".", "Scale", "==", "", "&&", "AM", ".", "BaseOffs", "==", "", ")", "return", "true", ";", "return", "false", ";"], "ground_truth": ["}"], "File": "SPUISelLowering11", "Func": "isLegalAddressingMode", "Target": "CellSPU", "Target_Clf": "MPU", "Compiler_Type": "LLVM", "Idx": 61262, "Length": 62, "Cover_Rate": 0.6019417475728155} {"Template_token": ["", "bool", "TargetLowering", "::", "isLegalICmpImmediate", "(", "int64_t", "Imm", ")", "const", "{", "return", "isInt", "<", "", ">", "(", "Imm", ")", ";"], "ground_truth": ["}"], "File": "SPUISelLowering11", "Func": "isLegalICmpImmediate", "Target": "CellSPU", "Target_Clf": "MPU", "Compiler_Type": "LLVM", "Idx": 61263, "Length": 20, "Cover_Rate": 1.0} {"Template_token": ["", "bool", "TargetLowering", "::", "isLegalICmpImmediate", "(", "int64_t", "Imm", ")", "const", "{"], "ground_truth": ["return", "isInt", "<", "", ">", "(", "Imm", ")", ";"], "File": "SPUISelLowering11", "Func": "isLegalICmpImmediate", "Target": "CellSPU", "Target_Clf": "MPU", "Compiler_Type": "LLVM", "Idx": 61264, "Length": 19, "Cover_Rate": 0.95} {"Template_token": ["", "uint32_t", "Value32", "=", "uint32_t", "(", "SplatBits", ")", ";", "assert", "(", "SplatBitSize", "==", "", "&&", "", ")", ";", "SDValue", "T", "=", "DAG", ".", "getConstant", "(", "Value32", ",", "", ")", ";", "return", "DAG", ".", "getNode", "(", "", ",", "dl", ",", "", ",", "DAG", ".", "getNode", "(", "", ",", "dl", ",", "", ",", "T", ",", "T", ",", "T", ",", "T", ")", ")", ";", "}", "case", "", ":", "{", "uint64_t", "f64val", "=", "uint64_t", "(", "SplatBits", ")", ";", "assert", "(", "SplatBitSize", "==", "", "&&", "", ")", ";", "SDValue", "T", "=", "DAG", ".", "getConstant", "(", "f64val", ",", "", ")", ";", "return", "DAG", ".", "getNode", "(", "", ",", "dl", ",", "", ",", "DAG", ".", "getNode", "(", "", ",", "dl", ",", "", ",", "T", ",", "T", ")", ")", ";", "}", "case", "", ":", "{", "unsigned", "short", "Value16", "=", "SplatBits", ";", "SmallVector", "<", "SDValue", ",", "", ">", "Ops", ";", "Ops", ".", "assign", "(", "", ",", "DAG", ".", "getConstant", "(", "Value16", ",", "", ")", ")", ";", "return", "DAG", ".", "getNode", "(", "", ",", "dl", ",", "VT", ",", "DAG", ".", "getNode", "(", "", ",", "dl", ",", "", ",", "&", "Ops", "[", "", "]", ",", "Ops", ".", "size", "(", ")", ")", ")", ";", "}", "case", "", ":", "{", "unsigned", "short", "Value16", "=", "SplatBits", ";", "SDValue", "T", "=", "DAG", ".", "getConstant", "(", "Value16", ",", "EltVT", ")", ";", "SmallVector", "<", "SDValue", ",", "", ">", "Ops", ";", "Ops", ".", "assign", "(", "", ",", "T", ")", ";", "return", "DAG", ".", "getNode", "(", "", ",", "dl", ",", "VT", ",", "&", "Ops", "[", "", "]", ",", "Ops", ".", "size", "(", ")", ")", ";", "}", "case", "", ":", "{", "SDValue", "T", "=", "DAG", ".", "getConstant", "(", "unsigned", "(", "SplatBits", ")", ",", "VT", ".", "getVectorElementType", "(", ")", ")", ";"], "ground_truth": ["return", "DAG", ".", "getNode", "(", "", ",", "dl", ",", "VT", ",", "T", ",", "T", ",", "T", ",", "T", ")", ";"], "File": "SPUISelLowering11", "Func": "LowerBUILD_VECTOR", "Target": "CellSPU", "Target_Clf": "MPU", "Compiler_Type": "LLVM", "Idx": 61267, "Length": 299, "Cover_Rate": 0.5684410646387833} {"Template_token": ["", "uint64_t", "SplatBits", "=", "APSplatBits", ".", "getZExtValue", "(", ")", ";", "switch", "(", "VT", ".", "getSimpleVT", "(", ")", ".", "SimpleTy", ")", "{", "default", ":", "report_fatal_error", "(", "", "+", "Twine", "(", "VT", ".", "getEVTString", "(", ")", ")", ")", ";", "case", "", ":", "{", "uint32_t", "Value32", "=", "uint32_t", "(", "SplatBits", ")", ";", "assert", "(", "SplatBitSize", "==", "", "&&", "", ")", ";", "SDValue", "T", "=", "DAG", ".", "getConstant", "(", "Value32", ",", "", ")", ";", "return", "DAG", ".", "getNode", "(", "", ",", "dl", ",", "", ",", "DAG", ".", "getNode", "(", "", ",", "dl", ",", "", ",", "T", ",", "T", ",", "T", ",", "T", ")", ")", ";", "}", "case", "", ":", "{", "uint64_t", "f64val", "=", "uint64_t", "(", "SplatBits", ")", ";", "assert", "(", "SplatBitSize", "==", "", "&&", "", ")", ";", "SDValue", "T", "=", "DAG", ".", "getConstant", "(", "f64val", ",", "", ")", ";", "return", "DAG", ".", "getNode", "(", "", ",", "dl", ",", "", ",", "DAG", ".", "getNode", "(", "", ",", "dl", ",", "", ",", "T", ",", "T", ")", ")", ";", "}"], "ground_truth": ["case", "", ":", "{"], "File": "SPUISelLowering11", "Func": "LowerBUILD_VECTOR", "Target": "CellSPU", "Target_Clf": "MPU", "Compiler_Type": "LLVM", "Idx": 61268, "Length": 166, "Cover_Rate": 0.3155893536121673} {"Template_token": ["", "uint64_t", "dbits", "=", "DoubleToBits", "(", "FP", "->", "getValueAPF", "(", ")", ".", "convertToDouble", "(", ")", ")", ";", "SDValue", "T", "=", "DAG", ".", "getConstant", "(", "dbits", ",", "", ")", ";", "SDValue", "Tvec", "=", "DAG", ".", "getNode", "(", "", ",", "dl", ",", "", ",", "T", ",", "T", ")", ";", "return", "DAG", ".", "getNode", "(", "", ",", "dl", ",", "VT", ",", "DAG", ".", "getNode", "(", "", ",", "dl", ",", "", ",", "Tvec", ")", ")", ";"], "ground_truth": ["}"], "File": "SPUISelLowering11", "Func": "LowerConstantFP", "Target": "CellSPU", "Target_Clf": "MPU", "Compiler_Type": "LLVM", "Idx": 61270, "Length": 72, "Cover_Rate": 0.46153846153846156} {"Template_token": ["", "SDValue", "Zero", "=", "DAG", ".", "getConstant", "(", "", ",", "PtrVT", ")", ";", "const", "TargetMachine", "&", "TM", "=", "DAG", ".", "getTarget", "(", ")", ";", "DebugLoc", "dl", "=", "Op", ".", "getDebugLoc", "(", ")", ";", "if", "(", "TM", ".", "getRelocationModel", "(", ")", "==", "Reloc", "::", "Static", ")", "{", "if", "(", "!", "ST", "->", "usingLargeMem", "(", ")", ")", "{"], "ground_truth": ["return", "DAG", ".", "getNode", "(", "", ",", "dl", ",", "PtrVT", ",", "CPI", ",", "Zero", ")", ";"], "File": "SPUISelLowering11", "Func": "LowerConstantPool", "Target": "CellSPU", "Target_Clf": "MPU", "Compiler_Type": "LLVM", "Idx": 61271, "Length": 71, "Cover_Rate": 0.3380952380952381} {"Template_token": ["", "static", "SDValue", "LowerFP_TO_INT", "(", "SDValue", "Op", ",", "SelectionDAG", "&", "DAG", ",", "const", "TargetLowering", "&", "TLI", ")", "{", "EVT", "OpVT", "=", "Op", ".", "getValueType", "(", ")", ";", "SDValue", "Op0", "=", "Op", ".", "getOperand", "(", "", ")", ";", "EVT", "Op0VT", "=", "Op0", ".", "getValueType", "(", ")", ";", "if", "(", "(", "OpVT", "==", "", "&&", "Op0VT", "==", "", ")", "||", "OpVT", "==", "", ")", "{", "RTLIB", "::", "Libcall", "LC", "=", "(", "Op", ".", "getOpcode", "(", ")", "==", "", ")", "?", "RTLIB", "::", "getFPTOSINT", "(", "Op0VT", ",", "OpVT", ")", ":", "RTLIB", "::", "getFPTOUINT", "(", "Op0VT", ",", "OpVT", ")", ";"], "ground_truth": ["assert", "(", "LC", "!=", "RTLIB", "::", "UNKNOWN_LIBCALL", "&&", "", ")", ";"], "File": "SPUISelLowering11", "Func": "LowerFP_TO_INT", "Target": "CellSPU", "Target_Clf": "MPU", "Compiler_Type": "LLVM", "Idx": 61272, "Length": 106, "Cover_Rate": 0.7681159420289855} {"Template_token": ["", "DebugLoc", "dl", "=", "Op", ".", "getDebugLoc", "(", ")", ";", "if", "(", "TM", ".", "getRelocationModel", "(", ")", "==", "Reloc", "::", "Static", ")", "{", "if", "(", "!", "ST", "->", "usingLargeMem", "(", ")", ")", "{", "return", "DAG", ".", "getNode", "(", "", ",", "dl", ",", "PtrVT", ",", "GA", ",", "Zero", ")", ";", "}", "else", "{", "SDValue", "Hi", "=", "DAG", ".", "getNode", "(", "", ",", "dl", ",", "PtrVT", ",", "GA", ",", "Zero", ")", ";", "SDValue", "Lo", "=", "DAG", ".", "getNode", "(", "", ",", "dl", ",", "PtrVT", ",", "GA", ",", "Zero", ")", ";", "return", "DAG", ".", "getNode", "(", "", ",", "dl", ",", "PtrVT", ",", "Hi", ",", "Lo", ")", ";", "}", "}", "else", "{", "report_fatal_error", "(", "", "", ")", ";", "}"], "ground_truth": ["}"], "File": "SPUISelLowering11", "Func": "LowerGlobalAddress", "Target": "CellSPU", "Target_Clf": "MPU", "Compiler_Type": "LLVM", "Idx": 61273, "Length": 115, "Cover_Rate": 0.5251141552511416} {"Template_token": ["", "static", "SDValue", "LowerI8Math", "(", "SDValue", "Op", ",", "SelectionDAG", "&", "DAG", ",", "unsigned", "Opc", ",", "const", "TargetLowering", "&", "TLI", ")", "{", "SDValue", "N0", "=", "Op", ".", "getOperand", "(", "", ")", ";", "DebugLoc", "dl", "=", "Op", ".", "getDebugLoc", "(", ")", ";", "EVT", "ShiftVT", "=", "TLI", ".", "getShiftAmountTy", "(", "N0", ".", "getValueType", "(", ")", ")", ";", "assert", "(", "Op", ".", "getValueType", "(", ")", "==", "", ")", ";", "switch", "(", "Opc", ")", "{", "default", ":", "llvm_unreachable", "(", "", ")", ";", "case", "", ":", "{", "SDValue", "N1", "=", "Op", ".", "getOperand", "(", "", ")", ";", "N0", "=", "DAG", ".", "getNode", "(", "", ",", "dl", ",", "", ",", "N0", ")", ";", "N1", "=", "DAG", ".", "getNode", "(", "", ",", "dl", ",", "", ",", "N1", ")", ";", "return", "DAG", ".", "getNode", "(", "", ",", "dl", ",", "", ",", "DAG", ".", "getNode", "(", "Opc", ",", "dl", ",", "", ",", "N0", ",", "N1", ")", ")", ";", "}", "case", "", ":", "{", "SDValue", "N1", "=", "Op", ".", "getOperand", "(", "", ")", ";", "N0", "=", "DAG", ".", "getNode", "(", "", ",", "dl", ",", "", ",", "N0", ")", ";", "N1", "=", "DAG", ".", "getNode", "(", "", ",", "dl", ",", "", ",", "N1", ")", ";", "return", "DAG", ".", "getNode", "(", "", ",", "dl", ",", "", ",", "DAG", ".", "getNode", "(", "Opc", ",", "dl", ",", "", ",", "N0", ",", "N1", ")", ")", ";", "}", "case", "", ":", "case", "", ":", "{", "SDValue", "N1", "=", "Op", ".", "getOperand", "(", "", ")", ";", "EVT", "N1VT", "=", "N1", ".", "getValueType", "(", ")", ";", "N0", "=", "DAG", ".", "getNode", "(", "", ",", "dl", ",", "", ",", "N0", ")", ";", "if", "(", "!", "N1VT", ".", "bitsEq", "(", "ShiftVT", ")", ")", "{", "unsigned", "N1Opc", "=", "N1", ".", "getValueType", "(", ")", ".", "bitsLT", "(", "ShiftVT", ")", "?", "", ":", "", ";", "N1", "=", "DAG", ".", "getNode", "(", "N1Opc", ",", "dl", ",", "ShiftVT", ",", "N1", ")", ";", "}", "SDValue", "ExpandArg", "=", "DAG", ".", "getNode", "(", "", ",", "dl", ",", "", ",", "N0", ",", "DAG", ".", "getNode", "(", "", ",", "dl", ",", "", ",", "N0", ",", "DAG", ".", "getConstant", "(", "", ",", "", ")", ")", ")", ";", "return", "DAG", ".", "getNode", "(", "", ",", "dl", ",", "", ",", "DAG", ".", "getNode", "(", "Opc", ",", "dl", ",", "", ",", "ExpandArg", ",", "N1", ")", ")", ";", "}", "case", "", ":"], "ground_truth": ["case", "", ":", "{"], "File": "SPUISelLowering11", "Func": "LowerI8Math", "Target": "CellSPU", "Target_Clf": "MPU", "Compiler_Type": "LLVM", "Idx": 61274, "Length": 379, "Cover_Rate": 0.4815756035578145} {"Template_token": ["", "int64_t", "Offset", "=", "", ";", "if", "(", "IdxOp", ".", "getOpcode", "(", ")", "!=", "", ")", "{", "ConstantSDNode", "*", "CN", "=", "cast", "<", "ConstantSDNode", ">", "(", "IdxOp", ")", ";", "assert", "(", "CN", "!=", "", "&&", "", ")", ";", "Offset", "=", "(", "CN", "->", "getSExtValue", "(", ")", ")", "*", "eltVT", ".", "getSizeInBits", "(", ")", "/", "", ";", "}", "EVT", "PtrVT", "=", "DAG", ".", "getTargetLoweringInfo", "(", ")", ".", "getPointerTy", "(", ")", ";", "SDValue", "Pointer", "=", "DAG", ".", "getNode", "(", "", ",", "dl", ",", "PtrVT", ",", "DAG", ".", "getRegister", "(", "", ",", "PtrVT", ")", ",", "DAG", ".", "getConstant", "(", "Offset", ",", "PtrVT", ")", ")", ";", "EVT", "maskVT", "=", "EVT", "::", "getVectorVT", "(", "*", "(", "DAG", ".", "getContext", "(", ")", ")", ",", "VT", ".", "getVectorElementType", "(", ")", ",", "", "/", "VT", ".", "getVectorElementType", "(", ")", ".", "getSizeInBits", "(", ")", ")", ";"], "ground_truth": ["SDValue", "ShufMask", "=", "DAG", ".", "getNode", "(", "", ",", "dl", ",", "maskVT", ",", "Pointer", ")", ";"], "File": "SPUISelLowering11", "Func": "LowerINSERT_VECTOR_ELT", "Target": "CellSPU", "Target_Clf": "MPU", "Compiler_Type": "LLVM", "Idx": 61275, "Length": 152, "Cover_Rate": 0.5371024734982333} {"Template_token": ["", "if", "(", "(", "OpVT", "==", "", "&&", "Op0VT", "==", "", ")", "||", "Op0VT", "==", "", ")", "{", "RTLIB", "::", "Libcall", "LC", "=", "(", "Op", ".", "getOpcode", "(", ")", "==", "", ")", "?", "RTLIB", "::", "getSINTTOFP", "(", "Op0VT", ",", "OpVT", ")", ":", "RTLIB", "::", "getUINTTOFP", "(", "Op0VT", ",", "OpVT", ")", ";", "assert", "(", "LC", "!=", "RTLIB", "::", "UNKNOWN_LIBCALL", "&&", "", ")", ";", "SDValue", "Dummy", ";", "return", "ExpandLibCall", "(", "LC", ",", "Op", ",", "DAG", ",", "false", ",", "Dummy", ",", "TLI", ")", ";", "}"], "ground_truth": ["return", "Op", ";"], "File": "SPUISelLowering11", "Func": "LowerINT_TO_FP", "Target": "CellSPU", "Target_Clf": "MPU", "Compiler_Type": "LLVM", "Idx": 61276, "Length": 84, "Cover_Rate": 0.6086956521739131} {"Template_token": ["", "SDValue", "Zero", "=", "DAG", ".", "getConstant", "(", "", ",", "PtrVT", ")", ";", "const", "TargetMachine", "&", "TM", "=", "DAG", ".", "getTarget", "(", ")", ";", "DebugLoc", "dl", "=", "Op", ".", "getDebugLoc", "(", ")", ";", "if", "(", "TM", ".", "getRelocationModel", "(", ")", "==", "Reloc", "::", "Static", ")", "{", "if", "(", "!", "ST", "->", "usingLargeMem", "(", ")", ")", "{", "return", "DAG", ".", "getNode", "(", "", ",", "dl", ",", "PtrVT", ",", "JTI", ",", "Zero", ")", ";", "}", "else", "{", "SDValue", "Hi", "=", "DAG", ".", "getNode", "(", "", ",", "dl", ",", "PtrVT", ",", "JTI", ",", "Zero", ")", ";"], "ground_truth": ["SDValue", "Lo", "=", "DAG", ".", "getNode", "(", "", ",", "dl", ",", "PtrVT", ",", "JTI", ",", "Zero", ")", ";"], "File": "SPUISelLowering11", "Func": "LowerJumpTable", "Target": "CellSPU", "Target_Clf": "MPU", "Compiler_Type": "LLVM", "Idx": 61277, "Length": 110, "Cover_Rate": 0.5583756345177665} {"Template_token": ["", "SDValue", "rotate", ";", "if", "(", "(", "alignment", "%", "", ")", "==", "", ")", "{", "ConstantSDNode", "*", "CN", ";", "if", "(", "basePtr", ".", "getOpcode", "(", ")", "==", "", "&&", "(", "CN", "=", "dyn_cast", "<", "ConstantSDNode", ">", "(", "basePtr", ".", "getOperand", "(", "", ")", ")", ")", "!=", "", ")", "{", "int64_t", "offset", "=", "CN", "->", "getSExtValue", "(", ")", ";", "int64_t", "rotamt", "=", "int64_t", "(", "(", "offset", "&", "", ")", "-", "pso", ")", ";", "if", "(", "rotamt", "<", "", ")", "rotamt", "+=", "", ";", "rotate", "=", "DAG", ".", "getConstant", "(", "rotamt", ",", "", ")", ";", "basePtr", "=", "basePtr", ".", "getOperand", "(", "", ")", ";", "if", "(", "(", "offset", "&", "~", "", ")", ">", "", ")", "{", "basePtr", "=", "DAG", ".", "getNode", "(", "", ",", "dl", ",", "PtrVT", ",", "basePtr", ",", "DAG", ".", "getConstant", "(", "(", "offset", "&", "~", "", ")", ",", "PtrVT", ")", ")", ";", "}", "}", "else", "if", "(", "(", "basePtr", ".", "getOpcode", "(", ")", "==", "", ")", "||", "(", "basePtr", ".", "getOpcode", "(", ")", "==", "", "&&", "basePtr", ".", "getOperand", "(", "", ")", ".", "getOpcode", "(", ")", "==", "", "&&", "basePtr", ".", "getOperand", "(", "", ")", ".", "getOpcode", "(", ")", "==", "", ")", ")", "{", "int64_t", "rotamt", "=", "-", "pso", ";", "if", "(", "rotamt", "<", "", ")", "rotamt", "+=", "", ";", "rotate", "=", "DAG", ".", "getConstant", "(", "rotamt", ",", "", ")", ";", "}", "else", "{", "int64_t", "rotamt", "=", "-", "pso", ";", "if", "(", "rotamt", "<", "", ")", "rotamt", "+=", "", ";", "rotate", "=", "DAG", ".", "getNode", "(", "", ",", "dl", ",", "PtrVT", ",", "basePtr", ",", "DAG", ".", "getConstant", "(", "rotamt", ",", "PtrVT", ")", ")", ";", "}", "}", "else", "{", "if", "(", "basePtr", ".", "getOpcode", "(", ")", "==", "", ")", "{", "MachineFunction", "&", "MF", "=", "DAG", ".", "getMachineFunction", "(", ")", ";", "MachineRegisterInfo", "&", "RegInfo", "=", "MF", ".", "getRegInfo", "(", ")", ";", "unsigned", "VReg", "=", "RegInfo", ".", "createVirtualRegister", "(", "&", "", ")", ";", "SDValue", "Flag", ";", "SDValue", "Op0", "=", "basePtr", ".", "getOperand", "(", "", ")", ";", "SDValue", "Op1", "=", "basePtr", ".", "getOperand", "(", "", ")", ";", "if", "(", "isa", "<", "ConstantSDNode", ">", "(", "Op1", ")", ")", "{", "basePtr", "=", "DAG", ".", "getNode", "(", "", ",", "dl", ",", "PtrVT", ",", "Op0", ",", "Op1", ")", ";", "the_chain", "=", "DAG", ".", "getCopyToReg", "(", "the_chain", ",", "dl", ",", "VReg", ",", "basePtr", ",", "Flag", ")", ";", "basePtr", "=", "DAG", ".", "getCopyFromReg", "(", "the_chain", ",", "dl", ",", "VReg", ",", "PtrVT", ")", ";", "}", "else", "{", "basePtr", "=", "DAG", ".", "getNode", "(", "", ",", "dl", ",", "PtrVT", ",", "Op0", ",", "Op1", ")", ";", "}", "}", "else", "{", "basePtr", "=", "DAG", ".", "getNode", "(", "", ",", "dl", ",", "PtrVT", ",", "basePtr", ",", "DAG", ".", "getConstant", "(", "", ",", "PtrVT", ")", ")", ";"], "ground_truth": ["}"], "File": "SPUISelLowering11", "Func": "LowerLOAD", "Target": "CellSPU", "Target_Clf": "MPU", "Compiler_Type": "LLVM", "Idx": 61278, "Length": 442, "Cover_Rate": 0.33308214016578747} {"Template_token": ["", "default", ":", "{", "errs", "(", ")", "<<", "", ";", "errs", "(", ")", "<<", "", "<<", "Opc", "<<", "", ";", "errs", "(", ")", "<<", "", ";", "Op", ".", "getNode", "(", ")", "->", "dump", "(", ")", ";", "llvm_unreachable", "(", "", ")", ";", "}", "case", "", ":", "case", "", ":", "case", "", ":", "case", "", ":", "return", "LowerLOAD", "(", "Op", ",", "DAG", ",", "TM", ".", "getSubtargetImpl", "(", ")", ")", ";", "case", "", ":", "return", "LowerSTORE", "(", "Op", ",", "DAG", ",", "TM", ".", "getSubtargetImpl", "(", ")", ")", ";", "case", "", ":", "return", "LowerConstantPool", "(", "Op", ",", "DAG", ",", "TM", ".", "getSubtargetImpl", "(", ")", ")", ";", "case", "", ":", "return", "LowerGlobalAddress", "(", "Op", ",", "DAG", ",", "TM", ".", "getSubtargetImpl", "(", ")", ")", ";", "case", "", ":", "return", "LowerJumpTable", "(", "Op", ",", "DAG", ",", "TM", ".", "getSubtargetImpl", "(", ")", ")", ";", "case", "", ":", "return", "LowerConstantFP", "(", "Op", ",", "DAG", ")", ";", "case", "", ":", "case", "", ":", "case", "", ":", "case", "", ":", "case", "", ":", "case", "", ":", "case", "", ":", "{", "if", "(", "VT", "==", "", ")", "return", "LowerI8Math", "(", "Op", ",", "DAG", ",", "Opc", ",", "*", "this", ")", ";", "break", ";", "}", "case", "", ":"], "ground_truth": ["case", "", ":"], "File": "SPUISelLowering11", "Func": "LowerOperation", "Target": "CellSPU", "Target_Clf": "MPU", "Compiler_Type": "LLVM", "Idx": 61279, "Length": 196, "Cover_Rate": 0.39357429718875503} {"Template_token": ["", "for", "(", "unsigned", "i", "=", "", ";", "i", "!=", "RVLocs", ".", "size", "(", ")", ";", "++", "i", ")", "DAG", ".", "getMachineFunction", "(", ")", ".", "getRegInfo", "(", ")", ".", "addLiveOut", "(", "RVLocs", "[", "i", "]", ".", "getLocReg", "(", ")", ")", ";", "}", "SDValue", "Flag", ";", "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", "(", "", ")", ";", "}", "if", "(", "Flag", ".", "getNode", "(", ")", ")", "return", "DAG", ".", "getNode", "(", "", ",", "dl", ",", "", ",", "Chain", ",", "Flag", ")", ";", "else", "return", "DAG", ".", "getNode", "(", "", ",", "dl", ",", "", ",", "Chain", ")", ";"], "ground_truth": ["}"], "File": "SPUISelLowering11", "Func": "LowerReturn", "Target": "CellSPU", "Target_Clf": "MPU", "Compiler_Type": "LLVM", "Idx": 61280, "Length": 157, "Cover_Rate": 0.5836431226765799} {"Template_token": ["", "static", "SDValue", "LowerSCALAR_TO_VECTOR", "(", "SDValue", "Op", ",", "SelectionDAG", "&", "DAG", ")", "{", "SDValue", "Op0", "=", "Op", ".", "getOperand", "(", "", ")", ";", "DebugLoc", "dl", "=", "Op", ".", "getDebugLoc", "(", ")", ";", "if", "(", "Op0", ".", "getNode", "(", ")", "->", "getOpcode", "(", ")", "==", "", ")", "{", "ConstantSDNode", "*", "CN", "=", "cast", "<", "ConstantSDNode", ">", "(", "Op0", ".", "getNode", "(", ")", ")", ";", "SmallVector", "<", "SDValue", ",", "", ">", "ConstVecValues", ";", "EVT", "VT", ";", "size_t", "n_copies", ";", "switch", "(", "Op", ".", "getValueType", "(", ")", ".", "getSimpleVT", "(", ")", ".", "SimpleTy", ")", "{", "default", ":", "llvm_unreachable", "(", "", "", ")", ";", "case", "", ":", "n_copies", "=", "", ";", "VT", "=", "", ";", "break", ";", "case", "", ":", "n_copies", "=", "", ";", "VT", "=", "", ";", "break", ";", "case", "", ":", "n_copies", "=", "", ";", "VT", "=", "", ";", "break", ";", "case", "", ":", "n_copies", "=", "", ";", "VT", "=", "", ";", "break", ";", "case", "", ":", "n_copies", "=", "", ";", "VT", "=", "", ";", "break", ";", "case", "", ":", "n_copies", "=", "", ";", "VT", "=", "", ";", "break", ";", "}"], "ground_truth": ["SDValue", "CValue", "=", "DAG", ".", "getConstant", "(", "CN", "->", "getZExtValue", "(", ")", ",", "VT", ")", ";"], "File": "SPUISelLowering11", "Func": "LowerSCALAR_TO_VECTOR", "Target": "CellSPU", "Target_Clf": "MPU", "Compiler_Type": "LLVM", "Idx": 61281, "Length": 194, "Cover_Rate": 0.5527065527065527} {"Template_token": ["", "SmallVector", "<", "SDValue", ",", "", ">", "ConstVecValues", ";", "EVT", "VT", ";", "size_t", "n_copies", ";", "switch", "(", "Op", ".", "getValueType", "(", ")", ".", "getSimpleVT", "(", ")", ".", "SimpleTy", ")", "{", "default", ":", "llvm_unreachable", "(", "", "", ")", ";", "case", "", ":", "n_copies", "=", "", ";", "VT", "=", "", ";", "break", ";", "case", "", ":", "n_copies", "=", "", ";", "VT", "=", "", ";", "break", ";", "case", "", ":", "n_copies", "=", "", ";", "VT", "=", "", ";", "break", ";", "case", "", ":", "n_copies", "=", "", ";", "VT", "=", "", ";", "break", ";", "case", "", ":", "n_copies", "=", "", ";", "VT", "=", "", ";", "break", ";", "case", "", ":", "n_copies", "=", "", ";", "VT", "=", "", ";", "break", ";", "}", "SDValue", "CValue", "=", "DAG", ".", "getConstant", "(", "CN", "->", "getZExtValue", "(", ")", ",", "VT", ")", ";", "for", "(", "size_t", "j", "=", "", ";", "j", "<", "n_copies", ";", "++", "j", ")", "ConstVecValues", ".", "push_back", "(", "CValue", ")", ";", "return", "DAG", ".", "getNode", "(", "", ",", "dl", ",", "Op", ".", "getValueType", "(", ")", ",", "&", "ConstVecValues", "[", "", "]", ",", "ConstVecValues", ".", "size", "(", ")", ")", ";", "}", "else", "{", "switch", "(", "Op0", ".", "getValueType", "(", ")", ".", "getSimpleVT", "(", ")", ".", "SimpleTy", ")", "{", "default", ":", "llvm_unreachable", "(", "", ")", ";"], "ground_truth": ["case", "", ":"], "File": "SPUISelLowering11", "Func": "LowerSCALAR_TO_VECTOR", "Target": "CellSPU", "Target_Clf": "MPU", "Compiler_Type": "LLVM", "Idx": 61282, "Length": 209, "Cover_Rate": 0.5954415954415955} {"Template_token": ["", "APInt", "ccResultAllOnes", "=", "APInt", "::", "getAllOnesValue", "(", "ccResultVT", ".", "getSizeInBits", "(", ")", ")", ";", "return", "DAG", ".", "getNode", "(", "", ",", "dl", ",", "ccResultVT", ",", "DAG", ".", "getSetCC", "(", "dl", ",", "ccResultVT", ",", "lhs", ",", "DAG", ".", "getConstantFP", "(", "", ",", "lhsVT", ")", ",", "", ")", ",", "DAG", ".", "getConstant", "(", "ccResultAllOnes", ",", "ccResultVT", ")", ")", ";", "}", "else", "if", "(", "CC", "->", "get", "(", ")", "==", "", ")", "{", "return", "DAG", ".", "getNode", "(", "", ",", "dl", ",", "ccResultVT", ",", "DAG", ".", "getSetCC", "(", "dl", ",", "ccResultVT", ",", "lhsHi32abs", ",", "DAG", ".", "getConstant", "(", "", ",", "", ")", ",", "", ")", ",", "DAG", ".", "getSetCC", "(", "dl", ",", "ccResultVT", ",", "lhsLo32", ",", "DAG", ".", "getConstant", "(", "", ",", "", ")", ",", "", ")", ")", ";", "}", "SDValue", "i64rhs", "=", "DAG", ".", "getNode", "(", "", ",", "dl", ",", "IntVT", ",", "rhs", ")", ";", "SDValue", "rhsHi32", "=", "DAG", ".", "getNode", "(", "", ",", "dl", ",", "", ",", "DAG", ".", "getNode", "(", "", ",", "dl", ",", "IntVT", ",", "i64rhs", ",", "DAG", ".", "getConstant", "(", "", ",", "", ")", ")", ")", ";", "SDValue", "signMag2TC", "=", "DAG", ".", "getConstant", "(", "", ",", "IntVT", ")", ";", "SDValue", "lhsSelectMask", "=", "DAG", ".", "getNode", "(", "", ",", "dl", ",", "ccResultVT", ",", "lhsHi32", ",", "DAG", ".", "getConstant", "(", "", ",", "", ")", ")", ";", "SDValue", "lhsSignMag2TC", "=", "DAG", ".", "getNode", "(", "", ",", "dl", ",", "IntVT", ",", "signMag2TC", ",", "i64lhs", ")", ";", "SDValue", "lhsSelect", "=", "DAG", ".", "getNode", "(", "", ",", "dl", ",", "IntVT", ",", "lhsSelectMask", ",", "lhsSignMag2TC", ",", "i64lhs", ")", ";", "SDValue", "rhsSelectMask", "=", "DAG", ".", "getNode", "(", "", ",", "dl", ",", "ccResultVT", ",", "rhsHi32", ",", "DAG", ".", "getConstant", "(", "", ",", "", ")", ")", ";", "SDValue", "rhsSignMag2TC", "=", "DAG", ".", "getNode", "(", "", ",", "dl", ",", "IntVT", ",", "signMag2TC", ",", "i64rhs", ")", ";", "SDValue", "rhsSelect", "=", "DAG", ".", "getNode", "(", "", ",", "dl", ",", "IntVT", ",", "rhsSelectMask", ",", "rhsSignMag2TC", ",", "i64rhs", ")", ";", "unsigned", "compareOp", ";", "switch", "(", "CC", "->", "get", "(", ")", ")", "{", "case", "", ":", "case", "", ":", "compareOp", "=", "", ";", "break", ";", "case", "", ":", "case", "", ":", "compareOp", "=", "", ";", "break", ";", "case", "", ":", "case", "", ":"], "ground_truth": ["compareOp", "=", "", ";", "break", ";"], "File": "SPUISelLowering11", "Func": "LowerSETCC", "Target": "CellSPU", "Target_Clf": "MPU", "Compiler_Type": "LLVM", "Idx": 61283, "Length": 365, "Cover_Rate": 0.41430192962542567} {"Template_token": ["", "(", "void", ")", "OpVT", ";", "unsigned", "mask1", "=", "", ";", "unsigned", "mask2", "=", "Op0VT", "==", "", "?", "", ":", "", ";", "unsigned", "mask3", "=", "Op0VT", "==", "", "?", "", ":", "", ";", "SDValue", "shufMask", "=", "DAG", ".", "getNode", "(", "", ",", "dl", ",", "", ",", "DAG", ".", "getConstant", "(", "mask1", ",", "", ")", ",", "DAG", ".", "getConstant", "(", "mask1", ",", "", ")", ",", "DAG", ".", "getConstant", "(", "mask2", ",", "", ")", ",", "DAG", ".", "getConstant", "(", "mask3", ",", "", ")", ")", ";", "MVT", "mvt", "=", "Op0VT", "==", "", "?", "", ":", "", ";"], "ground_truth": ["SDValue", "sraVal", "=", "DAG", ".", "getNode", "(", "", ",", "dl", ",", "mvt", ",", "DAG", ".", "getNode", "(", "", ",", "dl", ",", "mvt", ",", "Op0", ",", "Op0", ")", ",", "DAG", ".", "getConstant", "(", "", ",", "", ")", ")", ";"], "File": "SPUISelLowering11", "Func": "LowerSIGN_EXTEND", "Target": "CellSPU", "Target_Clf": "MPU", "Compiler_Type": "LLVM", "Idx": 61285, "Length": 131, "Cover_Rate": 0.3589041095890411} {"Template_token": ["", "MVT", "simpleVT", "=", "VT", ".", "getSimpleVT", "(", ")", ";", "EVT", "VecVT", "=", "EVT", "::", "getVectorVT", "(", "*", "DAG", ".", "getContext", "(", ")", ",", "VT", ",", "(", "", "/", "VT", ".", "getSizeInBits", "(", ")", ")", ")", ";", "DebugLoc", "dl", "=", "Op", ".", "getDebugLoc", "(", ")", ";", "SDValue", "Op0", "=", "Op", ".", "getOperand", "(", "", ")", ";", "EVT", "Op0VT", "=", "Op0", ".", "getValueType", "(", ")", ";", "if", "(", "Op0VT", "==", "", "&&", "simpleVT", "==", "", ")", "{", "unsigned", "maskHigh", "=", "", ";", "unsigned", "maskLow", "=", "", ";", "SDValue", "shufMask", "=", "DAG", ".", "getNode", "(", "", ",", "dl", ",", "", ",", "DAG", ".", "getConstant", "(", "maskHigh", ",", "", ")", ",", "DAG", ".", "getConstant", "(", "maskLow", ",", "", ")", ",", "DAG", ".", "getConstant", "(", "maskHigh", ",", "", ")", ",", "DAG", ".", "getConstant", "(", "maskLow", ",", "", ")", ")", ";", "SDValue", "truncShuffle", "=", "DAG", ".", "getNode", "(", "", ",", "dl", ",", "VecVT", ",", "Op0", ",", "Op0", ",", "shufMask", ")", ";", "return", "DAG", ".", "getNode", "(", "", ",", "dl", ",", "VT", ",", "truncShuffle", ")", ";"], "ground_truth": ["}"], "File": "SPUISelLowering11", "Func": "LowerTRUNCATE", "Target": "CellSPU", "Target_Clf": "MPU", "Compiler_Type": "LLVM", "Idx": 61288, "Length": 170, "Cover_Rate": 0.783410138248848} {"Template_token": ["", "SDValue", "shufMask", "=", "DAG", ".", "getNode", "(", "", ",", "dl", ",", "", ",", "DAG", ".", "getConstant", "(", "maskHigh", ",", "", ")", ",", "DAG", ".", "getConstant", "(", "maskLow", ",", "", ")", ",", "DAG", ".", "getConstant", "(", "maskHigh", ",", "", ")", ",", "DAG", ".", "getConstant", "(", "maskLow", ",", "", ")", ")", ";", "SDValue", "truncShuffle", "=", "DAG", ".", "getNode", "(", "", ",", "dl", ",", "VecVT", ",", "Op0", ",", "Op0", ",", "shufMask", ")", ";"], "ground_truth": ["return", "DAG", ".", "getNode", "(", "", ",", "dl", ",", "VT", ",", "truncShuffle", ")", ";"], "File": "SPUISelLowering11", "Func": "LowerTRUNCATE", "Target": "CellSPU", "Target_Clf": "MPU", "Compiler_Type": "LLVM", "Idx": 61289, "Length": 84, "Cover_Rate": 0.3870967741935484} {"Template_token": ["", "uint32_t", "upper", "=", "uint32_t", "(", "SplatVal", ">>", "", ")", ";", "uint32_t", "lower", "=", "uint32_t", "(", "SplatVal", ")", ";", "if", "(", "upper", "==", "lower", ")", "{", "SDValue", "Val", "=", "DAG", ".", "getTargetConstant", "(", "upper", ",", "", ")", ";", "return", "DAG", ".", "getNode", "(", "", ",", "dl", ",", "OpVT", ",", "DAG", ".", "getNode", "(", "", ",", "dl", ",", "", ",", "Val", ",", "Val", ",", "Val", ",", "Val", ")", ")", ";", "}", "else", "{", "bool", "upper_special", ",", "lower_special", ";", "upper_special", "=", "(", "upper", "==", "", "||", "upper", "==", "", "||", "upper", "==", "", ")", ";", "lower_special", "=", "(", "lower", "==", "", "||", "lower", "==", "", "||", "lower", "==", "", ")", ";", "if", "(", "lower_special", "&&", "upper_special", ")", "{", "SDValue", "UpperVal", "=", "DAG", ".", "getConstant", "(", "upper", ",", "", ")", ";", "SDValue", "LowerVal", "=", "DAG", ".", "getConstant", "(", "lower", ",", "", ")", ";", "SDValue", "BV", "=", "DAG", ".", "getNode", "(", "", ",", "dl", ",", "", ",", "UpperVal", ",", "LowerVal", ",", "UpperVal", ",", "LowerVal", ")", ";", "return", "DAG", ".", "getNode", "(", "", ",", "dl", ",", "OpVT", ",", "BV", ")", ";", "}", "SDValue", "LO32", ";", "SDValue", "HI32", ";", "SmallVector", "<", "SDValue", ",", "", ">", "ShufBytes", ";", "SDValue", "Result", ";", "if", "(", "!", "lower_special", ")", "{", "SDValue", "LO32C", "=", "DAG", ".", "getConstant", "(", "lower", ",", "", ")", ";", "LO32", "=", "DAG", ".", "getNode", "(", "", ",", "dl", ",", "OpVT", ",", "DAG", ".", "getNode", "(", "", ",", "dl", ",", "", ",", "LO32C", ",", "LO32C", ",", "LO32C", ",", "LO32C", ")", ")", ";", "}", "if", "(", "!", "upper_special", ")", "{", "SDValue", "HI32C", "=", "DAG", ".", "getConstant", "(", "upper", ",", "", ")", ";", "HI32", "=", "DAG", ".", "getNode", "(", "", ",", "dl", ",", "OpVT", ",", "DAG", ".", "getNode", "(", "", ",", "dl", ",", "", ",", "HI32C", ",", "HI32C", ",", "HI32C", ",", "HI32C", ")", ")", ";", "}", "if", "(", "lower_special", ")", "LO32", "=", "HI32", ";", "if", "(", "upper_special", ")", "HI32", "=", "LO32", ";", "for", "(", "int", "i", "=", "", ";", "i", "<", "", ";", "++", "i", ")", "{", "uint64_t", "val", "=", "", ";", "for", "(", "int", "j", "=", "", ";", "j", "<", "", ";", "++", "j", ")", "{", "SDValue", "V", ";", "bool", "process_upper", ",", "process_lower", ";", "val", "<<=", "", ";", "process_upper", "=", "(", "upper_special", "&&", "(", "i", "&", "", ")", "==", "", ")", ";", "process_lower", "=", "(", "lower_special", "&&", "(", "i", "&", "", ")", "==", "", ")", ";", "if", "(", "process_upper", "||", "process_lower", ")", "{", "if", "(", "(", "process_upper", "&&", "upper", "==", "", ")", "||", "(", "process_lower", "&&", "lower", "==", "", ")", ")", "val", "|=", "", ";", "else", "if", "(", "(", "process_upper", "&&", "upper", "==", "", ")", "||", "(", "process_lower", "&&", "lower", "==", "", ")", ")", "val", "|=", "", ";", "else", "if", "(", "(", "process_upper", "&&", "upper", "==", "", ")", "||", "(", "process_lower", "&&", "lower", "==", "", ")", ")", "val", "|=", "(", "j", "==", "", "?", "", ":", "", ")", ";", "}", "else", "val", "|=", "i", "*", "", "+", "j", "+", "(", "(", "i", "&", "", ")", "*", "", ")", ";", "}", "ShufBytes", ".", "push_back", "(", "DAG", ".", "getConstant", "(", "val", ",", "", ")", ")", ";"], "ground_truth": ["}"], "File": "SPUISelLowering11", "Func": "LowerV2I64Splat", "Target": "CellSPU", "Target_Clf": "MPU", "Compiler_Type": "LLVM", "Idx": 61290, "Length": 505, "Cover_Rate": 0.8319604612850082} {"Template_token": ["", "}", "SDValue", "LO32", ";", "SDValue", "HI32", ";", "SmallVector", "<", "SDValue", ",", "", ">", "ShufBytes", ";", "SDValue", "Result", ";", "if", "(", "!", "lower_special", ")", "{", "SDValue", "LO32C", "=", "DAG", ".", "getConstant", "(", "lower", ",", "", ")", ";", "LO32", "=", "DAG", ".", "getNode", "(", "", ",", "dl", ",", "OpVT", ",", "DAG", ".", "getNode", "(", "", ",", "dl", ",", "", ",", "LO32C", ",", "LO32C", ",", "LO32C", ",", "LO32C", ")", ")", ";", "}", "if", "(", "!", "upper_special", ")", "{", "SDValue", "HI32C", "=", "DAG", ".", "getConstant", "(", "upper", ",", "", ")", ";", "HI32", "=", "DAG", ".", "getNode", "(", "", ",", "dl", ",", "OpVT", ",", "DAG", ".", "getNode", "(", "", ",", "dl", ",", "", ",", "HI32C", ",", "HI32C", ",", "HI32C", ",", "HI32C", ")", ")", ";", "}", "if", "(", "lower_special", ")", "LO32", "=", "HI32", ";", "if", "(", "upper_special", ")", "HI32", "=", "LO32", ";", "for", "(", "int", "i", "=", "", ";", "i", "<", "", ";", "++", "i", ")", "{", "uint64_t", "val", "=", "", ";", "for", "(", "int", "j", "=", "", ";", "j", "<", "", ";", "++", "j", ")", "{", "SDValue", "V", ";", "bool", "process_upper", ",", "process_lower", ";", "val", "<<=", "", ";"], "ground_truth": ["process_upper", "=", "(", "upper_special", "&&", "(", "i", "&", "", ")", "==", "", ")", ";"], "File": "SPUISelLowering11", "Func": "LowerV2I64Splat", "Target": "CellSPU", "Target_Clf": "MPU", "Compiler_Type": "LLVM", "Idx": 61291, "Length": 197, "Cover_Rate": 0.3245469522240527} {"Template_token": ["", "EVT", "maskVT", ";", "if", "(", "EltVT", "==", "", ")", "{", "V2EltIdx0", "=", "", ";", "maskVT", "=", "", ";", "}", "else", "if", "(", "EltVT", "==", "", ")", "{", "V2EltIdx0", "=", "", ";", "maskVT", "=", "", ";", "}", "else", "if", "(", "EltVT", "==", "", "||", "EltVT", "==", "", ")", "{", "V2EltIdx0", "=", "", ";", "maskVT", "=", "", ";", "}", "else", "if", "(", "EltVT", "==", "", "||", "EltVT", "==", "", ")", "{", "V2EltIdx0", "=", "", ";", "maskVT", "=", "", ";", "}", "else", "llvm_unreachable", "(", "", ")", ";", "for", "(", "unsigned", "i", "=", "", ";", "i", "!=", "MaxElts", ";", "++", "i", ")", "{", "if", "(", "SVN", "->", "getMaskElt", "(", "i", ")", "<", "", ")", "continue", ";", "unsigned", "SrcElt", "=", "SVN", "->", "getMaskElt", "(", "i", ")", ";", "if", "(", "monotonic", ")", "{", "if", "(", "SrcElt", ">=", "V2EltIdx0", ")", "{", "if", "(", "EltsFromV2", "==", "", "&&", "CurrElt", "==", "(", "SrcElt", "-", "V2EltIdx0", ")", ")", "V2EltOffset", "=", "(", "SrcElt", "-", "V2EltIdx0", ")", "*", "(", "EltVT", ".", "getSizeInBits", "(", ")", "/", "", ")", ";", "else", "monotonic", "=", "false", ";", "++", "EltsFromV2", ";", "}", "else", "if", "(", "CurrElt", "!=", "SrcElt", ")", "{", "monotonic", "=", "false", ";", "}", "++", "CurrElt", ";", "}", "if", "(", "rotate", ")", "{", "if", "(", "PrevElt", ">", "", "&&", "SrcElt", "<", "MaxElts", ")", "{"], "ground_truth": ["if", "(", "(", "PrevElt", "==", "SrcElt", "-", "", ")", "||", "(", "PrevElt", "==", "MaxElts", "-", "", "&&", "SrcElt", "==", "", ")", ")", "{"], "File": "SPUISelLowering11", "Func": "LowerVECTOR_SHUFFLE", "Target": "CellSPU", "Target_Clf": "MPU", "Compiler_Type": "LLVM", "Idx": 61292, "Length": 231, "Cover_Rate": 0.3071808510638298} {"Template_token": ["", "if", "(", "VT", "==", "", ")", "retval", "=", "", ";", "if", "(", "VT", "==", "", ")", "retval", "=", "", ";"], "ground_truth": ["return", "retval", ";"], "File": "SPUISelLowering11", "Func": "prefslotOffset", "Target": "CellSPU", "Target_Clf": "MPU", "Compiler_Type": "LLVM", "Idx": 61293, "Length": 23, "Cover_Rate": 0.4423076923076923} {"Template_token": ["", "int", "retval", "=", "", ";", "if", "(", "VT", "==", "", ")", "retval", "=", "", ";", "if", "(", "VT", "==", "", ")", "retval", "=", "", ";", "if", "(", "VT", "==", "", ")", "retval", "=", "", ";"], "ground_truth": ["return", "retval", ";"], "File": "SPUISelLowering11", "Func": "prefslotOffset", "Target": "CellSPU", "Target_Clf": "MPU", "Compiler_Type": "LLVM", "Idx": 61294, "Length": 38, "Cover_Rate": 0.7307692307692307} {"Template_token": ["", "errs", "(", ")", "<<", "", ";", "errs", "(", ")", "<<", "", "<<", "Opc", "<<", "", ";", "errs", "(", ")", "<<", "", ";", "N", "->", "dump", "(", ")", ";"], "ground_truth": ["abort", "(", ")", ";"], "File": "SPUISelLowering11", "Func": "ReplaceNodeResults", "Target": "CellSPU", "Target_Clf": "MPU", "Compiler_Type": "LLVM", "Idx": 61295, "Length": 32, "Cover_Rate": 0.367816091954023} {"Template_token": ["", "if", "(", "VT", "!=", "", "&&", "VT", "!=", "", "&&", "VT", "!=", "", ")", "{", "VT", "=", "", ";", "}", "return", "VT", ".", "getSizeInBits", "(", ")", ";", "}"], "ground_truth": ["}"], "File": "SPUISelLowering12", "Func": "ComputeNumSignBitsForTargetNode", "Target": "CellSPU", "Target_Clf": "MPU", "Compiler_Type": "LLVM", "Idx": 61298, "Length": 29, "Cover_Rate": 0.3625} {"Template_token": ["", "Entry", ".", "isSExt", "=", "isSigned", ";", "Entry", ".", "isZExt", "=", "!", "isSigned", ";", "Args", ".", "push_back", "(", "Entry", ")", ";", "}", "SDValue", "Callee", "=", "DAG", ".", "getExternalSymbol", "(", "TLI", ".", "getLibcallName", "(", "LC", ")", ",", "TLI", ".", "getPointerTy", "(", ")", ")", ";", "const", "Type", "*", "RetTy", "=", "Op", ".", "getNode", "(", ")", "->", "getValueType", "(", "", ")", ".", "getTypeForMVT", "(", ")", ";", "std", "::", "pair", "<", "SDValue", ",", "SDValue", ">", "CallInfo", "=", "TLI", ".", "LowerCallTo", "(", "InChain", ",", "RetTy", ",", "isSigned", ",", "!", "isSigned", ",", "false", ",", "false", ",", "CallingConv", "::", "C", ",", "false", ",", "Callee", ",", "Args", ",", "DAG", ",", "Op", ".", "getDebugLoc", "(", ")", ")", ";"], "ground_truth": ["return", "CallInfo", ".", "first", ";"], "File": "SPUISelLowering12", "Func": "ExpandLibCall", "Target": "CellSPU", "Target_Clf": "MPU", "Compiler_Type": "LLVM", "Idx": 61299, "Length": 113, "Cover_Rate": 0.5022222222222222} {"Template_token": ["", "Entry", ".", "Ty", "=", "ArgTy", ";", "Entry", ".", "isSExt", "=", "isSigned", ";", "Entry", ".", "isZExt", "=", "!", "isSigned", ";", "Args", ".", "push_back", "(", "Entry", ")", ";", "}", "SDValue", "Callee", "=", "DAG", ".", "getExternalSymbol", "(", "TLI", ".", "getLibcallName", "(", "LC", ")", ",", "TLI", ".", "getPointerTy", "(", ")", ")", ";", "const", "Type", "*", "RetTy", "=", "Op", ".", "getNode", "(", ")", "->", "getValueType", "(", "", ")", ".", "getTypeForMVT", "(", ")", ";", "std", "::", "pair", "<", "SDValue", ",", "SDValue", ">", "CallInfo", "=", "TLI", ".", "LowerCallTo", "(", "InChain", ",", "RetTy", ",", "isSigned", ",", "!", "isSigned", ",", "false", ",", "false", ",", "CallingConv", "::", "C", ",", "false", ",", "Callee", ",", "Args", ",", "DAG", ",", "Op", ".", "getDebugLoc", "(", ")", ")", ";", "return", "CallInfo", ".", "first", ";"], "ground_truth": ["}"], "File": "SPUISelLowering12", "Func": "ExpandLibCall", "Target": "CellSPU", "Target_Clf": "MPU", "Compiler_Type": "LLVM", "Idx": 61300, "Length": 120, "Cover_Rate": 0.5333333333333333} {"Template_token": ["", "if", "(", "Constraint", ".", "size", "(", ")", "==", "", ")", "{", "switch", "(", "Constraint", "[", "", "]", ")", "{", "case", "'b'", ":", "case", "'r'", ":", "if", "(", "VT", "==", "", ")", "return", "std", "::", "make_pair", "(", "", ",", "", ")", ";", "return", "std", "::", "make_pair", "(", "", ",", "", ")", ";", "case", "'f'", ":", "if", "(", "VT", "==", "", ")", "return", "std", "::", "make_pair", "(", "", ",", "", ")", ";", "else", "if", "(", "VT", "==", "", ")", "return", "std", "::", "make_pair", "(", "", ",", "", ")", ";", "break", ";"], "ground_truth": ["case", "'v'", ":"], "File": "SPUISelLowering12", "Func": "getRegForInlineAsmConstraint", "Target": "CellSPU", "Target_Clf": "MPU", "Compiler_Type": "LLVM", "Idx": 61301, "Length": 92, "Cover_Rate": 0.5859872611464968} {"Template_token": ["", "case", "'b'", ":", "case", "'r'", ":", "if", "(", "VT", "==", "", ")", "return", "std", "::", "make_pair", "(", "", ",", "", ")", ";", "return", "std", "::", "make_pair", "(", "", ",", "", ")", ";", "case", "'f'", ":", "if", "(", "VT", "==", "", ")", "return", "std", "::", "make_pair", "(", "", ",", "", ")", ";", "else", "if", "(", "VT", "==", "", ")", "return", "std", "::", "make_pair", "(", "", ",", "", ")", ";"], "ground_truth": ["break", ";"], "File": "SPUISelLowering12", "Func": "getRegForInlineAsmConstraint", "Target": "CellSPU", "Target_Clf": "MPU", "Compiler_Type": "LLVM", "Idx": 61302, "Length": 70, "Cover_Rate": 0.445859872611465} {"Template_token": ["", "return", "(", "(", "VT", "==", "", "||", "VT", "==", "", "||", "VT", "==", "", ")", "?", "VT", ":", "", ")", ";"], "ground_truth": ["}"], "File": "SPUISelLowering12", "Func": "getSetCCResultType", "Target": "CellSPU", "Target_Clf": "MPU", "Compiler_Type": "LLVM", "Idx": 61303, "Length": 22, "Cover_Rate": 0.55} {"Template_token": ["", "MVT", "TargetLowering", "::", "getSetCCResultType", "(", "MVT", "VT", ")", "const", "{"], "ground_truth": ["return", "(", "(", "VT", "==", "", "||", "VT", "==", "", "||", "VT", "==", "", ")", "?", "VT", ":", "", ")", ";"], "File": "SPUISelLowering12", "Func": "getSetCCResultType", "Target": "CellSPU", "Target_Clf": "MPU", "Compiler_Type": "LLVM", "Idx": 61304, "Length": 31, "Cover_Rate": 0.775} {"Template_token": ["", "node_names", "[", "(", "unsigned", ")", "", "]", "=", "", ";", "node_names", "[", "(", "unsigned", ")", "", "]", "=", "", ";", "node_names", "[", "(", "unsigned", ")", "", "]", "=", "", ";", "node_names", "[", "(", "unsigned", ")", "", "]", "=", "", ";", "node_names", "[", "(", "unsigned", ")", "", "]", "=", "", ";", "node_names", "[", "(", "unsigned", ")", "", "]", "=", "", ";", "node_names", "[", "(", "unsigned", ")", "", "]", "=", "", ";", "node_names", "[", "(", "unsigned", ")", "", "]", "=", "", ";", "node_names", "[", "(", "unsigned", ")", "", "]", "=", "", ";", "node_names", "[", "(", "unsigned", ")", "", "]", "=", "", ";", "node_names", "[", "(", "unsigned", ")", "", "]", "=", "", ";"], "ground_truth": ["node_names", "[", "(", "unsigned", ")", "", "]", "=", "", ";"], "File": "SPUISelLowering12", "Func": "getTargetNodeName", "Target": "CellSPU", "Target_Clf": "MPU", "Compiler_Type": "LLVM", "Idx": 61305, "Length": 120, "Cover_Rate": 0.31007751937984496} {"Template_token": ["", "if", "(", "node_names", ".", "empty", "(", ")", ")", "{", "node_names", "[", "(", "unsigned", ")", "", "]", "=", "", ";", "node_names", "[", "(", "unsigned", ")", "", "]", "=", "", ";", "node_names", "[", "(", "unsigned", ")", "", "]", "=", "", ";", "node_names", "[", "(", "unsigned", ")", "", "]", "=", "", ";", "node_names", "[", "(", "unsigned", ")", "", "]", "=", "", ";", "node_names", "[", "(", "unsigned", ")", "", "]", "=", "", ";", "node_names", "[", "(", "unsigned", ")", "", "]", "=", "", ";", "node_names", "[", "(", "unsigned", ")", "", "]", "=", "", ";", "node_names", "[", "(", "unsigned", ")", "", "]", "=", "", ";", "node_names", "[", "(", "unsigned", ")", "", "]", "=", "", ";", "node_names", "[", "(", "unsigned", ")", "", "]", "=", "", ";", "node_names", "[", "(", "unsigned", ")", "", "]", "=", "", ";", "node_names", "[", "(", "unsigned", ")", "", "]", "=", "", ";", "node_names", "[", "(", "unsigned", ")", "", "]", "=", "", ";", "node_names", "[", "(", "unsigned", ")", "", "]", "=", "", ";", "node_names", "[", "(", "unsigned", ")", "", "]", "=", "", ";", "node_names", "[", "(", "unsigned", ")", "", "]", "=", "", ";", "node_names", "[", "(", "unsigned", ")", "", "]", "=", "", ";"], "ground_truth": ["node_names", "[", "(", "unsigned", ")", "", "]", "=", "", ";"], "File": "SPUISelLowering12", "Func": "getTargetNodeName", "Target": "CellSPU", "Target_Clf": "MPU", "Compiler_Type": "LLVM", "Idx": 61306, "Length": 199, "Cover_Rate": 0.5142118863049095} {"Template_token": ["", "if", "(", "valtype_map", "[", "i", "]", ".", "valtype", "==", "VT", ")", "{", "retval", "=", "valtype_map", "+", "i", ";", "break", ";", "}", "}", "if", "(", "retval", "==", "", ")", "{", "cerr", "<<", "", "<<", "VT", ".", "getMVTString", "(", ")", "<<", "", ";", "abort", "(", ")", ";", "}"], "ground_truth": ["return", "retval", ";"], "File": "SPUISelLowering12", "Func": "getValueTypeMapEntry", "Target": "CellSPU", "Target_Clf": "MPU", "Compiler_Type": "LLVM", "Idx": 61307, "Length": 49, "Cover_Rate": 0.6049382716049383} {"Template_token": ["", "if", "(", "(", "ValueType", "==", "", "&&", "(", "(", "unsigned", ")", "Value", "&", "", ")", "==", "(", "unsigned", ")", "Value", ")", "||", "(", "ValueType", "==", "", "&&", "(", "Value", "&", "", ")", "==", "Value", ")", ")", "return", "DAG", ".", "getTargetConstant", "(", "Value", ">>", "", ",", "ValueType", ")", ";", "}"], "ground_truth": ["return", "SDValue", "(", ")", ";"], "File": "SPUISelLowering12", "Func": "get_ILHUvec_imm", "Target": "CellSPU", "Target_Clf": "MPU", "Compiler_Type": "LLVM", "Idx": 61308, "Length": 54, "Cover_Rate": 0.5567010309278351} {"Template_token": ["", "if", "(", "ValueType", "==", "", ")", "{", "uint64_t", "UValue", "=", "CN", "->", "getZExtValue", "(", ")", ";", "uint32_t", "upper", "=", "uint32_t", "(", "UValue", ">>", "", ")", ";", "uint32_t", "lower", "=", "uint32_t", "(", "UValue", ")", ";", "if", "(", "upper", "!=", "lower", ")", "return", "SDValue", "(", ")", ";"], "ground_truth": ["Value", "=", "Value", ">>", "", ";"], "File": "SPUISelLowering12", "Func": "get_vec_i10imm", "Target": "CellSPU", "Target_Clf": "MPU", "Compiler_Type": "LLVM", "Idx": 61309, "Length": 51, "Cover_Rate": 0.4396551724137931} {"Template_token": ["", "SDValue", "", "(", "SDNode", "*", "N", ",", "SelectionDAG", "&", "DAG", ",", "MVT", "ValueType", ")", "{", "if", "(", "ConstantSDNode", "*", "CN", "=", "getVecImm", "(", "N", ")", ")", "{", "int64_t", "Value", "=", "CN", "->", "getSExtValue", "(", ")", ";", "if", "(", "ValueType", "==", "", ")", "{"], "ground_truth": ["uint64_t", "UValue", "=", "CN", "->", "getZExtValue", "(", ")", ";"], "File": "SPUISelLowering12", "Func": "get_vec_i10imm", "Target": "CellSPU", "Target_Clf": "MPU", "Compiler_Type": "LLVM", "Idx": 61310, "Length": 52, "Cover_Rate": 0.4482758620689655} {"Template_token": ["", "uint64_t", "UValue", "=", "CN", "->", "getZExtValue", "(", ")", ";", "uint32_t", "upper", "=", "uint32_t", "(", "UValue", ">>", "", ")", ";", "uint32_t", "lower", "=", "uint32_t", "(", "UValue", ")", ";", "if", "(", "upper", "!=", "lower", ")", "return", "SDValue", "(", ")", ";", "Value", "=", "Value", ">>", "", ";", "}"], "ground_truth": ["if", "(", "Value", ">=", "-", "(", "", "<<", "", ")", "&&", "Value", "<=", "(", "(", "", "<<", "", ")", "-", "", ")", ")", "{"], "File": "SPUISelLowering12", "Func": "get_vec_i16imm", "Target": "CellSPU", "Target_Clf": "MPU", "Compiler_Type": "LLVM", "Idx": 61311, "Length": 69, "Cover_Rate": 0.5149253731343284} {"Template_token": ["", "SDValue", "", "(", "SDNode", "*", "N", ",", "SelectionDAG", "&", "DAG", ",", "MVT", "ValueType", ")", "{", "if", "(", "ConstantSDNode", "*", "CN", "=", "getVecImm", "(", "N", ")", ")", "{", "int", "Value", "=", "(", "int", ")", "CN", "->", "getZExtValue", "(", ")", ";", "if", "(", "ValueType", "==", "", "&&", "Value", "<=", "", "&&", "(", "(", "short", ")", "Value", ">>", "", ")", "==", "(", "(", "short", ")", "Value", "&", "", ")", ")", "return", "DAG", ".", "getTargetConstant", "(", "Value", "&", "", ",", "ValueType", ")", ";", "else", "if", "(", "ValueType", "==", "", "&&", "(", "Value", "&", "", ")", "==", "Value", ")", "return", "DAG", ".", "getTargetConstant", "(", "Value", ",", "ValueType", ")", ";", "}"], "ground_truth": ["return", "SDValue", "(", ")", ";"], "File": "SPUISelLowering12", "Func": "get_vec_i8imm", "Target": "CellSPU", "Target_Clf": "MPU", "Compiler_Type": "LLVM", "Idx": 61312, "Length": 110, "Cover_Rate": 0.9401709401709402} {"Template_token": ["", "uint32_t", "upper", "=", "uint32_t", "(", "UValue", ">>", "", ")", ";", "uint32_t", "lower", "=", "uint32_t", "(", "UValue", ")", ";", "if", "(", "upper", "!=", "lower", ")", "return", "SDValue", "(", ")", ";", "Value", "=", "Value", ">>", "", ";", "}", "if", "(", "Value", "<=", "", ")", "return", "DAG", ".", "getTargetConstant", "(", "Value", ",", "ValueType", ")", ";", "}", "return", "SDValue", "(", ")", ";"], "ground_truth": ["}"], "File": "SPUISelLowering12", "Func": "get_vec_u18imm", "Target": "CellSPU", "Target_Clf": "MPU", "Compiler_Type": "LLVM", "Idx": 61313, "Length": 59, "Cover_Rate": 0.5130434782608696} {"Template_token": ["", "SDValue", "T", "=", "DAG", ".", "getConstant", "(", "Value32", ",", "", ")", ";", "return", "DAG", ".", "getNode", "(", "", ",", "dl", ",", "", ",", "DAG", ".", "getNode", "(", "", ",", "dl", ",", "", ",", "T", ",", "T", ",", "T", ",", "T", ")", ")", ";", "break", ";", "}", "case", "", ":", "{", "uint64_t", "f64val", "=", "uint64_t", "(", "SplatBits", ")", ";", "assert", "(", "SplatSize", "==", "", "&&", "", ")", ";", "SDValue", "T", "=", "DAG", ".", "getConstant", "(", "f64val", ",", "", ")", ";", "return", "DAG", ".", "getNode", "(", "", ",", "dl", ",", "", ",", "DAG", ".", "getNode", "(", "", ",", "dl", ",", "", ",", "T", ",", "T", ")", ")", ";", "break", ";", "}", "case", "", ":", "{", "unsigned", "short", "Value16", "=", "SplatBits", ";", "SmallVector", "<", "SDValue", ",", "", ">", "Ops", ";", "Ops", ".", "assign", "(", "", ",", "DAG", ".", "getConstant", "(", "Value16", ",", "", ")", ")", ";", "return", "DAG", ".", "getNode", "(", "", ",", "dl", ",", "VT", ",", "DAG", ".", "getNode", "(", "", ",", "dl", ",", "", ",", "&", "Ops", "[", "", "]", ",", "Ops", ".", "size", "(", ")", ")", ")", ";", "}", "case", "", ":", "{", "unsigned", "short", "Value16", "=", "SplatBits", ";", "SDValue", "T", "=", "DAG", ".", "getConstant", "(", "Value16", ",", "EltVT", ")", ";", "SmallVector", "<", "SDValue", ",", "", ">", "Ops", ";", "Ops", ".", "assign", "(", "", ",", "T", ")", ";", "return", "DAG", ".", "getNode", "(", "", ",", "dl", ",", "VT", ",", "&", "Ops", "[", "", "]", ",", "Ops", ".", "size", "(", ")", ")", ";", "}", "case", "", ":", "{", "SDValue", "T", "=", "DAG", ".", "getConstant", "(", "unsigned", "(", "SplatBits", ")", ",", "VT", ".", "getVectorElementType", "(", ")", ")", ";", "return", "DAG", ".", "getNode", "(", "", ",", "dl", ",", "VT", ",", "T", ",", "T", ",", "T", ",", "T", ")", ";", "}", "case", "", ":", "{"], "ground_truth": ["SDValue", "T", "=", "DAG", ".", "getConstant", "(", "unsigned", "(", "SplatBits", ")", ",", "VT", ".", "getVectorElementType", "(", ")", ")", ";"], "File": "SPUISelLowering12", "Func": "LowerBUILD_VECTOR", "Target": "CellSPU", "Target_Clf": "MPU", "Compiler_Type": "LLVM", "Idx": 61314, "Length": 310, "Cover_Rate": 0.5299145299145299} {"Template_token": ["", "assert", "(", "BCN", "!=", "", "&&", "", ")", ";", "APInt", "APSplatBits", ",", "APSplatUndef", ";", "unsigned", "SplatBitSize", ";", "bool", "HasAnyUndefs", ";", "unsigned", "minSplatBits", "=", "VT", ".", "getVectorElementType", "(", ")", ".", "getSizeInBits", "(", ")", ";", "if", "(", "BCN", "->", "isConstantSplat", "(", "APSplatBits", ",", "APSplatUndef", ",", "SplatBitSize", ",", "HasAnyUndefs", ",", "minSplatBits", ")", "&&", "minSplatBits", "<=", "SplatBitSize", ")", "{", "uint64_t", "SplatBits", "=", "APSplatBits", ".", "getZExtValue", "(", ")", ";", "SDValue", "tc", "=", "DAG", ".", "getTargetConstant", "(", "SplatBits", "&", "", ",", "", ")", ";", "SmallVector", "<", "SDValue", ",", "", ">", "tcVec", ";", "tcVec", ".", "assign", "(", "", ",", "tc", ")", ";"], "ground_truth": ["return", "DAG", ".", "getNode", "(", "Op", ".", "getNode", "(", ")", "->", "getOpcode", "(", ")", ",", "dl", ",", "VT", ",", "Arg", ",", "DAG", ".", "getNode", "(", "", ",", "dl", ",", "VT", ",", "&", "tcVec", "[", "", "]", ",", "tcVec", ".", "size", "(", ")", ")", ")", ";"], "File": "SPUISelLowering12", "Func": "LowerByteImmed", "Target": "CellSPU", "Target_Clf": "MPU", "Compiler_Type": "LLVM", "Idx": 61315, "Length": 140, "Cover_Rate": 0.42424242424242425} {"Template_token": ["", "SDValue", "ConstVec", ";", "SDValue", "Arg", ";", "MVT", "VT", "=", "Op", ".", "getValueType", "(", ")", ";", "DebugLoc", "dl", "=", "Op", ".", "getDebugLoc", "(", ")", ";", "ConstVec", "=", "Op", ".", "getOperand", "(", "", ")", ";", "Arg", "=", "Op", ".", "getOperand", "(", "", ")", ";", "if", "(", "ConstVec", ".", "getNode", "(", ")", "->", "getOpcode", "(", ")", "!=", "", ")", "{", "if", "(", "ConstVec", ".", "getNode", "(", ")", "->", "getOpcode", "(", ")", "==", "", ")", "{", "ConstVec", "=", "ConstVec", ".", "getOperand", "(", "", ")", ";", "}", "else", "{", "ConstVec", "=", "Op", ".", "getOperand", "(", "", ")", ";", "Arg", "=", "Op", ".", "getOperand", "(", "", ")", ";", "if", "(", "ConstVec", ".", "getNode", "(", ")", "->", "getOpcode", "(", ")", "==", "", ")", "{", "ConstVec", "=", "ConstVec", ".", "getOperand", "(", "", ")", ";", "}", "}", "}", "if", "(", "ConstVec", ".", "getNode", "(", ")", "->", "getOpcode", "(", ")", "==", "", ")", "{", "BuildVectorSDNode", "*", "BCN", "=", "dyn_cast", "<", "BuildVectorSDNode", ">", "(", "ConstVec", ".", "getNode", "(", ")", ")", ";", "assert", "(", "BCN", "!=", "", "&&", "", ")", ";", "APInt", "APSplatBits", ",", "APSplatUndef", ";", "unsigned", "SplatBitSize", ";", "bool", "HasAnyUndefs", ";", "unsigned", "minSplatBits", "=", "VT", ".", "getVectorElementType", "(", ")", ".", "getSizeInBits", "(", ")", ";", "if", "(", "BCN", "->", "isConstantSplat", "(", "APSplatBits", ",", "APSplatUndef", ",", "SplatBitSize", ",", "HasAnyUndefs", ",", "minSplatBits", ")", "&&", "minSplatBits", "<=", "SplatBitSize", ")", "{", "uint64_t", "SplatBits", "=", "APSplatBits", ".", "getZExtValue", "(", ")", ";"], "ground_truth": ["SDValue", "tc", "=", "DAG", ".", "getTargetConstant", "(", "SplatBits", "&", "", ",", "", ")", ";"], "File": "SPUISelLowering12", "Func": "LowerByteImmed", "Target": "CellSPU", "Target_Clf": "MPU", "Compiler_Type": "LLVM", "Idx": 61316, "Length": 238, "Cover_Rate": 0.7212121212121212} {"Template_token": ["", "static", "SDValue", "LowerConstantFP", "(", "SDValue", "Op", ",", "SelectionDAG", "&", "DAG", ")", "{", "MVT", "VT", "=", "Op", ".", "getValueType", "(", ")", ";", "DebugLoc", "dl", "=", "Op", ".", "getDebugLoc", "(", ")", ";", "if", "(", "VT", "==", "", ")", "{", "ConstantFPSDNode", "*", "FP", "=", "cast", "<", "ConstantFPSDNode", ">", "(", "Op", ".", "getNode", "(", ")", ")", ";", "assert", "(", "(", "FP", "!=", "", ")", "&&", "", ")", ";", "uint64_t", "dbits", "=", "DoubleToBits", "(", "FP", "->", "getValueAPF", "(", ")", ".", "convertToDouble", "(", ")", ")", ";", "SDValue", "T", "=", "DAG", ".", "getConstant", "(", "dbits", ",", "", ")", ";", "SDValue", "Tvec", "=", "DAG", ".", "getNode", "(", "", ",", "dl", ",", "", ",", "T", ",", "T", ")", ";", "return", "DAG", ".", "getNode", "(", "", ",", "dl", ",", "VT", ",", "DAG", ".", "getNode", "(", "", ",", "dl", ",", "", ",", "Tvec", ")", ")", ";"], "ground_truth": ["}"], "File": "SPUISelLowering12", "Func": "LowerConstantFP", "Target": "CellSPU", "Target_Clf": "MPU", "Compiler_Type": "LLVM", "Idx": 61318, "Length": 136, "Cover_Rate": 0.8717948717948718} {"Template_token": ["", "return", "DAG", ".", "getNode", "(", "", ",", "dl", ",", "PtrVT", ",", "CPI", ",", "Zero", ")", ";", "}", "else", "{", "SDValue", "Hi", "=", "DAG", ".", "getNode", "(", "", ",", "dl", ",", "PtrVT", ",", "CPI", ",", "Zero", ")", ";", "SDValue", "Lo", "=", "DAG", ".", "getNode", "(", "", ",", "dl", ",", "PtrVT", ",", "CPI", ",", "Zero", ")", ";", "return", "DAG", ".", "getNode", "(", "", ",", "dl", ",", "PtrVT", ",", "Hi", ",", "Lo", ")", ";", "}", "}"], "ground_truth": ["assert", "(", "", "&&", "", "", ")", ";"], "File": "SPUISelLowering12", "Func": "LowerConstantPool", "Target": "CellSPU", "Target_Clf": "MPU", "Compiler_Type": "LLVM", "Idx": 61319, "Length": 81, "Cover_Rate": 0.3767441860465116} {"Template_token": ["", "return", "DAG", ".", "getNode", "(", "", ",", "dl", ",", "PtrVT", ",", "CPI", ",", "Zero", ")", ";", "}", "else", "{", "SDValue", "Hi", "=", "DAG", ".", "getNode", "(", "", ",", "dl", ",", "PtrVT", ",", "CPI", ",", "Zero", ")", ";", "SDValue", "Lo", "=", "DAG", ".", "getNode", "(", "", ",", "dl", ",", "PtrVT", ",", "CPI", ",", "Zero", ")", ";", "return", "DAG", ".", "getNode", "(", "", ",", "dl", ",", "PtrVT", ",", "Hi", ",", "Lo", ")", ";", "}"], "ground_truth": ["}"], "File": "SPUISelLowering12", "Func": "LowerConstantPool", "Target": "CellSPU", "Target_Clf": "MPU", "Compiler_Type": "LLVM", "Idx": 61320, "Length": 73, "Cover_Rate": 0.3395348837209302} {"Template_token": ["", "MachineRegisterInfo", "&", "RegInfo", "=", "MF", ".", "getRegInfo", "(", ")", ";", "unsigned", "CNTB_reg", "=", "RegInfo", ".", "createVirtualRegister", "(", "&", "", ")", ";", "unsigned", "SUM1_reg", "=", "RegInfo", ".", "createVirtualRegister", "(", "&", "", ")", ";", "SDValue", "N", "=", "Op", ".", "getOperand", "(", "", ")", ";", "SDValue", "Elt0", "=", "DAG", ".", "getConstant", "(", "", ",", "", ")", ";", "SDValue", "Mask0", "=", "DAG", ".", "getConstant", "(", "", ",", "", ")", ";", "SDValue", "Shift1", "=", "DAG", ".", "getConstant", "(", "", ",", "", ")", ";", "SDValue", "Shift2", "=", "DAG", ".", "getConstant", "(", "", ",", "", ")", ";", "SDValue", "Promote", "=", "DAG", ".", "getNode", "(", "", ",", "dl", ",", "vecVT", ",", "N", ",", "N", ")", ";", "SDValue", "CNTB", "=", "DAG", ".", "getNode", "(", "", ",", "dl", ",", "vecVT", ",", "Promote", ")", ";", "SDValue", "CNTB_result", "=", "DAG", ".", "getNode", "(", "", ",", "dl", ",", "", ",", "CNTB", ",", "Elt0", ")", ";", "SDValue", "CNTB_rescopy", "=", "DAG", ".", "getCopyToReg", "(", "CNTB_result", ",", "dl", ",", "CNTB_reg", ",", "CNTB_result", ")", ";", "SDValue", "Comp1", "=", "DAG", ".", "getNode", "(", "", ",", "dl", ",", "", ",", "DAG", ".", "getCopyFromReg", "(", "CNTB_rescopy", ",", "dl", ",", "CNTB_reg", ",", "", ")", ",", "Shift1", ")", ";", "SDValue", "Sum1", "=", "DAG", ".", "getNode", "(", "", ",", "dl", ",", "", ",", "Comp1", ",", "DAG", ".", "getCopyFromReg", "(", "CNTB_rescopy", ",", "dl", ",", "CNTB_reg", ",", "", ")", ")", ";", "SDValue", "Sum1_rescopy", "=", "DAG", ".", "getCopyToReg", "(", "CNTB_result", ",", "dl", ",", "SUM1_reg", ",", "Sum1", ")", ";", "SDValue", "Comp2", "=", "DAG", ".", "getNode", "(", "", ",", "dl", ",", "", ",", "DAG", ".", "getCopyFromReg", "(", "Sum1_rescopy", ",", "dl", ",", "SUM1_reg", ",", "", ")", ",", "Shift2", ")", ";"], "ground_truth": ["SDValue", "Sum2", "=", "DAG", ".", "getNode", "(", "", ",", "dl", ",", "", ",", "Comp2", ",", "DAG", ".", "getCopyFromReg", "(", "Sum1_rescopy", ",", "dl", ",", "SUM1_reg", ",", "", ")", ")", ";"], "File": "SPUISelLowering12", "Func": "LowerCTPOP", "Target": "CellSPU", "Target_Clf": "MPU", "Compiler_Type": "LLVM", "Idx": 61321, "Length": 290, "Cover_Rate": 0.37084398976982097} {"Template_token": ["", "case", "", ":", "ArgRegClass", "=", "&", "", ";", "break", ";", "case", "", ":", "ArgRegClass", "=", "&", "", ";", "break", ";", "case", "", ":", "ArgRegClass", "=", "&", "", ";", "break", ";", "case", "", ":", "ArgRegClass", "=", "&", "", ";", "break", ";", "case", "", ":", "case", "", ":", "case", "", ":", "case", "", ":", "case", "", ":", "case", "", ":", "ArgRegClass", "=", "&", "", ";", "break", ";", "}", "unsigned", "VReg", "=", "RegInfo", ".", "createVirtualRegister", "(", "ArgRegClass", ")", ";", "RegInfo", ".", "addLiveIn", "(", "ArgRegs", "[", "ArgRegIdx", "]", ",", "VReg", ")", ";", "ArgVal", "=", "DAG", ".", "getCopyFromReg", "(", "Root", ",", "dl", ",", "VReg", ",", "ObjectVT", ")", ";", "++", "ArgRegIdx", ";", "}", "else", "{", "int", "FI", "=", "MFI", "->", "CreateFixedObject", "(", "ObjSize", ",", "ArgOffset", ")", ";", "SDValue", "FIN", "=", "DAG", ".", "getFrameIndex", "(", "FI", ",", "PtrVT", ")", ";", "ArgVal", "=", "DAG", ".", "getLoad", "(", "ObjectVT", ",", "dl", ",", "Root", ",", "FIN", ",", "NULL", ",", "", ")", ";", "ArgOffset", "+=", "StackSlotSize", ";", "}", "ArgValues", ".", "push_back", "(", "ArgVal", ")", ";", "Root", "=", "ArgVal", ".", "getOperand", "(", "", ")", ";", "}", "if", "(", "isVarArg", ")", "{", "SmallVector", "<", "SDValue", ",", "", "-", "", "+", "", ">", "MemOps", ";", "for", "(", ";", "ArgRegIdx", "!=", "NumArgRegs", ";", "++", "ArgRegIdx", ")", "{", "VarArgsFrameIndex", "=", "MFI", "->", "CreateFixedObject", "(", "StackSlotSize", ",", "ArgOffset", ")", ";", "SDValue", "FIN", "=", "DAG", ".", "getFrameIndex", "(", "VarArgsFrameIndex", ",", "PtrVT", ")", ";", "SDValue", "ArgVal", "=", "DAG", ".", "getRegister", "(", "ArgRegs", "[", "ArgRegIdx", "]", ",", "", ")", ";", "SDValue", "Store", "=", "DAG", ".", "getStore", "(", "Root", ",", "dl", ",", "ArgVal", ",", "FIN", ",", "NULL", ",", "", ")", ";", "Root", "=", "Store", ".", "getOperand", "(", "", ")", ";", "MemOps", ".", "push_back", "(", "Store", ")", ";", "ArgOffset", "+=", "StackSlotSize", ";", "}", "if", "(", "!", "MemOps", ".", "empty", "(", ")", ")", "Root", "=", "DAG", ".", "getNode", "(", "", ",", "dl", ",", "", ",", "&", "MemOps", "[", "", "]", ",", "MemOps", ".", "size", "(", ")", ")", ";", "}", "ArgValues", ".", "push_back", "(", "Root", ")", ";", "return", "DAG", ".", "getNode", "(", "", ",", "dl", ",", "Op", ".", "getNode", "(", ")", "->", "getVTList", "(", ")", ",", "&", "ArgValues", "[", "", "]", ",", "ArgValues", ".", "size", "(", ")", ")", ";"], "ground_truth": ["}"], "File": "SPUISelLowering12", "Func": "LowerFORMAL_ARGUMENTS", "Target": "CellSPU", "Target_Clf": "MPU", "Compiler_Type": "LLVM", "Idx": 61323, "Length": 356, "Cover_Rate": 0.5189504373177842} {"Template_token": ["", "RTLIB", "::", "Libcall", "LC", "=", "(", "Op", ".", "getOpcode", "(", ")", "==", "", ")", "?", "RTLIB", "::", "getFPTOSINT", "(", "Op0VT", ",", "OpVT", ")", ":", "RTLIB", "::", "getFPTOUINT", "(", "Op0VT", ",", "OpVT", ")", ";", "assert", "(", "LC", "!=", "RTLIB", "::", "UNKNOWN_LIBCALL", "&&", "", ")", ";", "SDValue", "Dummy", ";", "return", "ExpandLibCall", "(", "LC", ",", "Op", ",", "DAG", ",", "false", ",", "Dummy", ",", "TLI", ")", ";", "}"], "ground_truth": ["return", "SDValue", "(", ")", ";"], "File": "SPUISelLowering12", "Func": "LowerFP_TO_INT", "Target": "CellSPU", "Target_Clf": "MPU", "Compiler_Type": "LLVM", "Idx": 61324, "Length": 69, "Cover_Rate": 0.49640287769784175} {"Template_token": ["", "SDValue", "GA", "=", "DAG", ".", "getTargetGlobalAddress", "(", "GV", ",", "PtrVT", ",", "GSDN", "->", "getOffset", "(", ")", ")", ";", "const", "TargetMachine", "&", "TM", "=", "DAG", ".", "getTarget", "(", ")", ";", "SDValue", "Zero", "=", "DAG", ".", "getConstant", "(", "", ",", "PtrVT", ")", ";", "DebugLoc", "dl", "=", "Op", ".", "getDebugLoc", "(", ")", ";", "if", "(", "TM", ".", "getRelocationModel", "(", ")", "==", "Reloc", "::", "Static", ")", "{"], "ground_truth": ["if", "(", "!", "ST", "->", "usingLargeMem", "(", ")", ")", "{"], "File": "SPUISelLowering12", "Func": "LowerGlobalAddress", "Target": "CellSPU", "Target_Clf": "MPU", "Compiler_Type": "LLVM", "Idx": 61325, "Length": 73, "Cover_Rate": 0.33031674208144796} {"Template_token": ["", "case", "", ":", "case", "", ":", "{", "SDValue", "N1", "=", "Op", ".", "getOperand", "(", "", ")", ";", "MVT", "N1VT", "=", "N1", ".", "getValueType", "(", ")", ";", "N0", "=", "DAG", ".", "getNode", "(", "", ",", "dl", ",", "", ",", "N0", ")", ";", "if", "(", "!", "N1VT", ".", "bitsEq", "(", "ShiftVT", ")", ")", "{", "unsigned", "N1Opc", "=", "N1", ".", "getValueType", "(", ")", ".", "bitsLT", "(", "ShiftVT", ")", "?", "", ":", "", ";", "N1", "=", "DAG", ".", "getNode", "(", "N1Opc", ",", "dl", ",", "ShiftVT", ",", "N1", ")", ";", "}", "SDValue", "ExpandArg", "=", "DAG", ".", "getNode", "(", "", ",", "dl", ",", "", ",", "N0", ",", "DAG", ".", "getNode", "(", "", ",", "dl", ",", "", ",", "N0", ",", "DAG", ".", "getConstant", "(", "", ",", "", ")", ")", ")", ";", "return", "DAG", ".", "getNode", "(", "", ",", "dl", ",", "", ",", "DAG", ".", "getNode", "(", "Opc", ",", "dl", ",", "", ",", "ExpandArg", ",", "N1", ")", ")", ";", "}", "case", "", ":", "case", "", ":", "{", "SDValue", "N1", "=", "Op", ".", "getOperand", "(", "", ")", ";", "MVT", "N1VT", "=", "N1", ".", "getValueType", "(", ")", ";", "N0", "=", "DAG", ".", "getNode", "(", "", ",", "dl", ",", "", ",", "N0", ")", ";", "if", "(", "!", "N1VT", ".", "bitsEq", "(", "ShiftVT", ")", ")", "{", "unsigned", "N1Opc", "=", "", ";", "if", "(", "N1", ".", "getValueType", "(", ")", ".", "bitsGT", "(", "ShiftVT", ")", ")", "N1Opc", "=", "", ";", "N1", "=", "DAG", ".", "getNode", "(", "N1Opc", ",", "dl", ",", "ShiftVT", ",", "N1", ")", ";", "}", "return", "DAG", ".", "getNode", "(", "", ",", "dl", ",", "", ",", "DAG", ".", "getNode", "(", "Opc", ",", "dl", ",", "", ",", "N0", ",", "N1", ")", ")", ";", "}", "case", "", ":", "{", "SDValue", "N1", "=", "Op", ".", "getOperand", "(", "", ")", ";", "MVT", "N1VT", "=", "N1", ".", "getValueType", "(", ")", ";", "N0", "=", "DAG", ".", "getNode", "(", "", ",", "dl", ",", "", ",", "N0", ")", ";", "if", "(", "!", "N1VT", ".", "bitsEq", "(", "ShiftVT", ")", ")", "{", "unsigned", "N1Opc", "=", "", ";", "if", "(", "N1VT", ".", "bitsGT", "(", "ShiftVT", ")", ")", "N1Opc", "=", "", ";", "N1", "=", "DAG", ".", "getNode", "(", "N1Opc", ",", "dl", ",", "ShiftVT", ",", "N1", ")", ";", "}", "return", "DAG", ".", "getNode", "(", "", ",", "dl", ",", "", ",", "DAG", ".", "getNode", "(", "Opc", ",", "dl", ",", "", ",", "N0", ",", "N1", ")", ")", ";", "}", "case", "", ":", "{", "SDValue", "N1", "=", "Op", ".", "getOperand", "(", "", ")", ";"], "ground_truth": ["N0", "=", "DAG", ".", "getNode", "(", "", ",", "dl", ",", "", ",", "N0", ")", ";"], "File": "SPUISelLowering12", "Func": "LowerI8Math", "Target": "CellSPU", "Target_Clf": "MPU", "Compiler_Type": "LLVM", "Idx": 61326, "Length": 410, "Cover_Rate": 0.5170239596469105} {"Template_token": ["", "SDValue", "Pointer", "=", "DAG", ".", "getNode", "(", "", ",", "dl", ",", "PtrVT", ",", "DAG", ".", "getRegister", "(", "", ",", "PtrVT", ")", ",", "DAG", ".", "getConstant", "(", "CN", "->", "getSExtValue", "(", ")", ",", "PtrVT", ")", ")", ";", "SDValue", "ShufMask", "=", "DAG", ".", "getNode", "(", "", ",", "dl", ",", "VT", ",", "Pointer", ")", ";", "SDValue", "result", "=", "DAG", ".", "getNode", "(", "", ",", "dl", ",", "VT", ",", "DAG", ".", "getNode", "(", "", ",", "dl", ",", "VT", ",", "ValOp", ")", ",", "VecOp", ",", "DAG", ".", "getNode", "(", "", ",", "dl", ",", "", ",", "ShufMask", ")", ")", ";", "return", "result", ";"], "ground_truth": ["}"], "File": "SPUISelLowering12", "Func": "LowerINSERT_VECTOR_ELT", "Target": "CellSPU", "Target_Clf": "MPU", "Compiler_Type": "LLVM", "Idx": 61327, "Length": 98, "Cover_Rate": 0.47572815533980584} {"Template_token": ["", "MVT", "Op0VT", "=", "Op0", ".", "getValueType", "(", ")", ";", "if", "(", "(", "OpVT", "==", "", "&&", "Op0VT", "==", "", ")", "||", "Op0VT", "==", "", ")", "{", "RTLIB", "::", "Libcall", "LC", "=", "(", "Op", ".", "getOpcode", "(", ")", "==", "", ")", "?", "RTLIB", "::", "getSINTTOFP", "(", "Op0VT", ",", "OpVT", ")", ":", "RTLIB", "::", "getUINTTOFP", "(", "Op0VT", ",", "OpVT", ")", ";", "assert", "(", "LC", "!=", "RTLIB", "::", "UNKNOWN_LIBCALL", "&&", "", ")", ";", "SDValue", "Dummy", ";", "return", "ExpandLibCall", "(", "LC", ",", "Op", ",", "DAG", ",", "false", ",", "Dummy", ",", "TLI", ")", ";", "}"], "ground_truth": ["return", "SDValue", "(", ")", ";"], "File": "SPUISelLowering12", "Func": "LowerINT_TO_FP", "Target": "CellSPU", "Target_Clf": "MPU", "Compiler_Type": "LLVM", "Idx": 61328, "Length": 95, "Cover_Rate": 0.6834532374100719} {"Template_token": ["", "MVT", "PtrVT", "=", "Op", ".", "getValueType", "(", ")", ";", "JumpTableSDNode", "*", "JT", "=", "cast", "<", "JumpTableSDNode", ">", "(", "Op", ")", ";", "SDValue", "JTI", "=", "DAG", ".", "getTargetJumpTable", "(", "JT", "->", "getIndex", "(", ")", ",", "PtrVT", ")", ";", "SDValue", "Zero", "=", "DAG", ".", "getConstant", "(", "", ",", "PtrVT", ")", ";", "const", "TargetMachine", "&", "TM", "=", "DAG", ".", "getTarget", "(", ")", ";", "DebugLoc", "dl", "=", "Op", ".", "getDebugLoc", "(", ")", ";", "if", "(", "TM", ".", "getRelocationModel", "(", ")", "==", "Reloc", "::", "Static", ")", "{", "if", "(", "!", "ST", "->", "usingLargeMem", "(", ")", ")", "{", "return", "DAG", ".", "getNode", "(", "", ",", "dl", ",", "PtrVT", ",", "JTI", ",", "Zero", ")", ";", "}", "else", "{", "SDValue", "Hi", "=", "DAG", ".", "getNode", "(", "", ",", "dl", ",", "PtrVT", ",", "JTI", ",", "Zero", ")", ";", "SDValue", "Lo", "=", "DAG", ".", "getNode", "(", "", ",", "dl", ",", "PtrVT", ",", "JTI", ",", "Zero", ")", ";", "return", "DAG", ".", "getNode", "(", "", ",", "dl", ",", "PtrVT", ",", "Hi", ",", "Lo", ")", ";", "}"], "ground_truth": ["}"], "File": "SPUISelLowering12", "Func": "LowerJumpTable", "Target": "CellSPU", "Target_Clf": "MPU", "Compiler_Type": "LLVM", "Idx": 61329, "Length": 165, "Cover_Rate": 0.812807881773399} {"Template_token": ["", "if", "(", "!", "ST", "->", "usingLargeMem", "(", ")", ")", "{", "return", "DAG", ".", "getNode", "(", "", ",", "dl", ",", "PtrVT", ",", "JTI", ",", "Zero", ")", ";", "}", "else", "{", "SDValue", "Hi", "=", "DAG", ".", "getNode", "(", "", ",", "dl", ",", "PtrVT", ",", "JTI", ",", "Zero", ")", ";", "SDValue", "Lo", "=", "DAG", ".", "getNode", "(", "", ",", "dl", ",", "PtrVT", ",", "JTI", ",", "Zero", ")", ";", "return", "DAG", ".", "getNode", "(", "", ",", "dl", ",", "PtrVT", ",", "Hi", ",", "Lo", ")", ";"], "ground_truth": ["}"], "File": "SPUISelLowering12", "Func": "LowerJumpTable", "Target": "CellSPU", "Target_Clf": "MPU", "Compiler_Type": "LLVM", "Idx": 61330, "Length": 82, "Cover_Rate": 0.4039408866995074} {"Template_token": ["", "int64_t", "rotamt", "=", "-", "vtm", "->", "prefslot_byte", ";", "if", "(", "rotamt", "<", "", ")", "rotamt", "+=", "", ";", "rotate", "=", "DAG", ".", "getNode", "(", "", ",", "dl", ",", "PtrVT", ",", "basePtr", ",", "DAG", ".", "getConstant", "(", "rotamt", ",", "PtrVT", ")", ")", ";", "}", "}", "else", "{", "if", "(", "basePtr", ".", "getOpcode", "(", ")", "==", "", ")", "{", "MachineFunction", "&", "MF", "=", "DAG", ".", "getMachineFunction", "(", ")", ";", "MachineRegisterInfo", "&", "RegInfo", "=", "MF", ".", "getRegInfo", "(", ")", ";", "unsigned", "VReg", "=", "RegInfo", ".", "createVirtualRegister", "(", "&", "", ")", ";", "SDValue", "Flag", ";", "SDValue", "Op0", "=", "basePtr", ".", "getOperand", "(", "", ")", ";", "SDValue", "Op1", "=", "basePtr", ".", "getOperand", "(", "", ")", ";", "if", "(", "isa", "<", "ConstantSDNode", ">", "(", "Op1", ")", ")", "{", "basePtr", "=", "DAG", ".", "getNode", "(", "", ",", "dl", ",", "PtrVT", ",", "Op0", ",", "Op1", ")", ";", "the_chain", "=", "DAG", ".", "getCopyToReg", "(", "the_chain", ",", "dl", ",", "VReg", ",", "basePtr", ",", "Flag", ")", ";", "basePtr", "=", "DAG", ".", "getCopyFromReg", "(", "the_chain", ",", "dl", ",", "VReg", ",", "PtrVT", ")", ";", "}", "else", "{", "basePtr", "=", "DAG", ".", "getNode", "(", "", ",", "dl", ",", "PtrVT", ",", "Op0", ",", "Op1", ")", ";", "}", "}", "else", "{", "basePtr", "=", "DAG", ".", "getNode", "(", "", ",", "dl", ",", "PtrVT", ",", "basePtr", ",", "DAG", ".", "getConstant", "(", "", ",", "PtrVT", ")", ")", ";", "}", "rotate", "=", "DAG", ".", "getNode", "(", "", ",", "dl", ",", "PtrVT", ",", "basePtr", ",", "DAG", ".", "getConstant", "(", "-", "vtm", "->", "prefslot_byte", ",", "PtrVT", ")", ")", ";", "}", "result", "=", "DAG", ".", "getLoad", "(", "", ",", "dl", ",", "the_chain", ",", "basePtr", ",", "LN", "->", "getSrcValue", "(", ")", ",", "LN", "->", "getSrcValueOffset", "(", ")", ",", "LN", "->", "isVolatile", "(", ")", ",", "", ")", ";", "the_chain", "=", "result", ".", "getValue", "(", "", ")", ";", "result", "=", "DAG", ".", "getNode", "(", "", ",", "dl", ",", "", ",", "result", ".", "getValue", "(", "", ")", ",", "rotate", ")", ";", "MVT", "vecVT", "=", "", "(", "InVT", ",", "(", "", "/", "InVT", ".", "getSizeInBits", "(", ")", ")", ")", ";", "result", "=", "DAG", ".", "getNode", "(", "", ",", "dl", ",", "InVT", ",", "DAG", ".", "getNode", "(", "", ",", "dl", ",", "vecVT", ",", "result", ")", ")", ";", "if", "(", "ExtType", "==", "", ")", "{", "result", "=", "DAG", ".", "getNode", "(", "", ",", "dl", ",", "OutVT", ",", "result", ")", ";", "}", "else", "if", "(", "ExtType", "==", "", ")", "{", "result", "=", "DAG", ".", "getNode", "(", "", ",", "dl", ",", "OutVT", ",", "result", ")", ";", "}", "else", "if", "(", "ExtType", "==", "", ")", "{", "unsigned", "NewOpc", "=", "", ";", "if", "(", "OutVT", ".", "isFloatingPoint", "(", ")", ")", "NewOpc", "=", "", ";", "result", "=", "DAG", ".", "getNode", "(", "NewOpc", ",", "dl", ",", "OutVT", ",", "result", ")", ";", "}", "SDVTList", "retvts", "=", "DAG", ".", "getVTList", "(", "OutVT", ",", "", ")", ";", "SDValue", "retops", "[", "", "]", "=", "{"], "ground_truth": ["result", ",", "the_chain", "}", ";"], "File": "SPUISelLowering12", "Func": "LowerLOAD", "Target": "CellSPU", "Target_Clf": "MPU", "Compiler_Type": "LLVM", "Idx": 61331, "Length": 470, "Cover_Rate": 0.48205128205128206} {"Template_token": ["", "cerr", "<<", "", ";", "Op", ".", "getNode", "(", ")", "->", "dump", "(", ")", ";", "abort", "(", ")", ";", "}", "case", "", ":", "case", "", ":", "case", "", ":", "case", "", ":", "return", "LowerLOAD", "(", "Op", ",", "DAG", ",", "TM", ".", "getSubtargetImpl", "(", ")", ")", ";", "case", "", ":", "return", "LowerSTORE", "(", "Op", ",", "DAG", ",", "TM", ".", "getSubtargetImpl", "(", ")", ")", ";", "case", "", ":", "return", "LowerConstantPool", "(", "Op", ",", "DAG", ",", "TM", ".", "getSubtargetImpl", "(", ")", ")", ";", "case", "", ":", "return", "LowerGlobalAddress", "(", "Op", ",", "DAG", ",", "TM", ".", "getSubtargetImpl", "(", ")", ")", ";", "case", "", ":", "return", "LowerJumpTable", "(", "Op", ",", "DAG", ",", "TM", ".", "getSubtargetImpl", "(", ")", ")", ";", "case", "", ":", "return", "LowerConstantFP", "(", "Op", ",", "DAG", ")", ";", "case", "", ":", "return", "LowerFORMAL_ARGUMENTS", "(", "Op", ",", "DAG", ",", "VarArgsFrameIndex", ")", ";", "case", "", ":", "return", "LowerCALL", "(", "Op", ",", "DAG", ",", "TM", ".", "getSubtargetImpl", "(", ")", ")", ";", "case", "", ":", "return", "LowerRET", "(", "Op", ",", "DAG", ",", "getTargetMachine", "(", ")", ")", ";", "case", "", ":", "case", "", ":", "case", "", ":", "case", "", ":", "case", "", ":", "case", "", ":", "case", "", ":", "{", "if", "(", "VT", "==", "", ")", "return", "LowerI8Math", "(", "Op", ",", "DAG", ",", "Opc", ",", "*", "this", ")", ";", "break", ";", "}", "case", "", ":"], "ground_truth": ["case", "", ":"], "File": "SPUISelLowering12", "Func": "LowerOperation", "Target": "CellSPU", "Target_Clf": "MPU", "Compiler_Type": "LLVM", "Idx": 61333, "Length": 219, "Cover_Rate": 0.4147727272727273} {"Template_token": ["", "}", "SDValue", "Chain", "=", "Op", ".", "getOperand", "(", "", ")", ";", "SDValue", "Flag", ";", "for", "(", "unsigned", "i", "=", "", ";", "i", "!=", "RVLocs", ".", "size", "(", ")", ";", "++", "i", ")", "{", "CCValAssign", "&", "VA", "=", "RVLocs", "[", "i", "]", ";", "assert", "(", "VA", ".", "isRegLoc", "(", ")", "&&", "", ")", ";", "Chain", "=", "DAG", ".", "getCopyToReg", "(", "Chain", ",", "dl", ",", "VA", ".", "getLocReg", "(", ")", ",", "Op", ".", "getOperand", "(", "i", "*", "", "+", "", ")", ",", "Flag", ")", ";", "Flag", "=", "Chain", ".", "getValue", "(", "", ")", ";", "}", "if", "(", "Flag", ".", "getNode", "(", ")", ")", "return", "DAG", ".", "getNode", "(", "", ",", "dl", ",", "", ",", "Chain", ",", "Flag", ")", ";", "else", "return", "DAG", ".", "getNode", "(", "", ",", "dl", ",", "", ",", "Chain", ")", ";"], "ground_truth": ["}"], "File": "SPUISelLowering12", "Func": "LowerRET", "Target": "CellSPU", "Target_Clf": "MPU", "Compiler_Type": "LLVM", "Idx": 61334, "Length": 133, "Cover_Rate": 0.4586206896551724} {"Template_token": ["", "case", "", ":", "n_copies", "=", "", ";", "VT", "=", "", ";", "break", ";", "case", "", ":", "n_copies", "=", "", ";", "VT", "=", "", ";", "break", ";", "case", "", ":", "n_copies", "=", "", ";", "VT", "=", "", ";", "break", ";", "case", "", ":", "n_copies", "=", "", ";", "VT", "=", "", ";", "break", ";", "case", "", ":", "n_copies", "=", "", ";", "VT", "=", "", ";", "break", ";", "case", "", ":", "n_copies", "=", "", ";", "VT", "=", "", ";", "break", ";", "}", "SDValue", "CValue", "=", "DAG", ".", "getConstant", "(", "CN", "->", "getZExtValue", "(", ")", ",", "VT", ")", ";", "for", "(", "size_t", "j", "=", "", ";", "j", "<", "n_copies", ";", "++", "j", ")", "ConstVecValues", ".", "push_back", "(", "CValue", ")", ";"], "ground_truth": ["return", "DAG", ".", "getNode", "(", "", ",", "dl", ",", "Op", ".", "getValueType", "(", ")", ",", "&", "ConstVecValues", "[", "", "]", ",", "ConstVecValues", ".", "size", "(", ")", ")", ";"], "File": "SPUISelLowering12", "Func": "LowerSCALAR_TO_VECTOR", "Target": "CellSPU", "Target_Clf": "MPU", "Compiler_Type": "LLVM", "Idx": 61335, "Length": 144, "Cover_Rate": 0.4044943820224719} {"Template_token": ["", "default", ":", "assert", "(", "", "&&", "", "", ")", ";", "case", "", ":", "n_copies", "=", "", ";", "VT", "=", "", ";", "break", ";", "case", "", ":", "n_copies", "=", "", ";", "VT", "=", "", ";", "break", ";", "case", "", ":", "n_copies", "=", "", ";", "VT", "=", "", ";", "break", ";", "case", "", ":", "n_copies", "=", "", ";", "VT", "=", "", ";", "break", ";", "case", "", ":", "n_copies", "=", "", ";", "VT", "=", "", ";", "break", ";", "case", "", ":", "n_copies", "=", "", ";", "VT", "=", "", ";", "break", ";", "}", "SDValue", "CValue", "=", "DAG", ".", "getConstant", "(", "CN", "->", "getZExtValue", "(", ")", ",", "VT", ")", ";", "for", "(", "size_t", "j", "=", "", ";", "j", "<", "n_copies", ";", "++", "j", ")", "ConstVecValues", ".", "push_back", "(", "CValue", ")", ";", "return", "DAG", ".", "getNode", "(", "", ",", "dl", ",", "Op", ".", "getValueType", "(", ")", ",", "&", "ConstVecValues", "[", "", "]", ",", "ConstVecValues", ".", "size", "(", ")", ")", ";", "}", "else", "{", "switch", "(", "Op0", ".", "getValueType", "(", ")", ".", "getSimpleVT", "(", ")", ")", "{", "default", ":", "assert", "(", "", "&&", "", ")", ";", "case", "", ":", "case", "", ":", "case", "", ":", "case", "", ":", "case", "", ":", "case", "", ":", "return", "DAG", ".", "getNode", "(", "", ",", "dl", ",", "Op", ".", "getValueType", "(", ")", ",", "Op0", ",", "Op0", ")", ";", "}", "}", "return", "SDValue", "(", ")", ";"], "ground_truth": ["}"], "File": "SPUISelLowering12", "Func": "LowerSCALAR_TO_VECTOR", "Target": "CellSPU", "Target_Clf": "MPU", "Compiler_Type": "LLVM", "Idx": 61336, "Length": 225, "Cover_Rate": 0.6320224719101124} {"Template_token": ["", "MVT", "VT", "=", "Op", ".", "getValueType", "(", ")", ";", "SDValue", "lhs", "=", "Op", ".", "getOperand", "(", "", ")", ";", "SDValue", "rhs", "=", "Op", ".", "getOperand", "(", "", ")", ";", "SDValue", "trueval", "=", "Op", ".", "getOperand", "(", "", ")", ";"], "ground_truth": ["SDValue", "falseval", "=", "Op", ".", "getOperand", "(", "", ")", ";"], "File": "SPUISelLowering12", "Func": "LowerSELECT_CC", "Target": "CellSPU", "Target_Clf": "MPU", "Compiler_Type": "LLVM", "Idx": 61337, "Length": 49, "Cover_Rate": 0.35766423357664234} {"Template_token": ["", "APInt", "ccResultAllOnes", "=", "APInt", "::", "getAllOnesValue", "(", "ccResultVT", ".", "getSizeInBits", "(", ")", ")", ";", "return", "DAG", ".", "getNode", "(", "", ",", "dl", ",", "ccResultVT", ",", "DAG", ".", "getSetCC", "(", "dl", ",", "ccResultVT", ",", "lhs", ",", "DAG", ".", "getConstantFP", "(", "", ",", "lhsVT", ")", ",", "", ")", ",", "DAG", ".", "getConstant", "(", "ccResultAllOnes", ",", "ccResultVT", ")", ")", ";", "}", "else", "if", "(", "CC", "->", "get", "(", ")", "==", "", ")", "{", "return", "DAG", ".", "getNode", "(", "", ",", "dl", ",", "ccResultVT", ",", "DAG", ".", "getSetCC", "(", "dl", ",", "ccResultVT", ",", "lhsHi32abs", ",", "DAG", ".", "getConstant", "(", "", ",", "", ")", ",", "", ")", ",", "DAG", ".", "getSetCC", "(", "dl", ",", "ccResultVT", ",", "lhsLo32", ",", "DAG", ".", "getConstant", "(", "", ",", "", ")", ",", "", ")", ")", ";", "}", "SDValue", "i64rhs", "=", "DAG", ".", "getNode", "(", "", ",", "dl", ",", "IntVT", ",", "rhs", ")", ";", "SDValue", "rhsHi32", "=", "DAG", ".", "getNode", "(", "", ",", "dl", ",", "", ",", "DAG", ".", "getNode", "(", "", ",", "dl", ",", "IntVT", ",", "i64rhs", ",", "DAG", ".", "getConstant", "(", "", ",", "", ")", ")", ")", ";", "SDValue", "signMag2TC", "=", "DAG", ".", "getConstant", "(", "", ",", "IntVT", ")", ";", "SDValue", "lhsSelectMask", "=", "DAG", ".", "getNode", "(", "", ",", "dl", ",", "ccResultVT", ",", "lhsHi32", ",", "DAG", ".", "getConstant", "(", "", ",", "", ")", ")", ";", "SDValue", "lhsSignMag2TC", "=", "DAG", ".", "getNode", "(", "", ",", "dl", ",", "IntVT", ",", "signMag2TC", ",", "i64lhs", ")", ";", "SDValue", "lhsSelect", "=", "DAG", ".", "getNode", "(", "", ",", "dl", ",", "IntVT", ",", "lhsSelectMask", ",", "lhsSignMag2TC", ",", "i64lhs", ")", ";", "SDValue", "rhsSelectMask", "=", "DAG", ".", "getNode", "(", "", ",", "dl", ",", "ccResultVT", ",", "rhsHi32", ",", "DAG", ".", "getConstant", "(", "", ",", "", ")", ")", ";", "SDValue", "rhsSignMag2TC", "=", "DAG", ".", "getNode", "(", "", ",", "dl", ",", "IntVT", ",", "signMag2TC", ",", "i64rhs", ")", ";", "SDValue", "rhsSelect", "=", "DAG", ".", "getNode", "(", "", ",", "dl", ",", "IntVT", ",", "rhsSelectMask", ",", "rhsSignMag2TC", ",", "i64rhs", ")", ";", "unsigned", "compareOp", ";", "switch", "(", "CC", "->", "get", "(", ")", ")", "{", "case", "", ":", "case", "", ":", "compareOp", "=", "", ";", "break", ";", "case", "", ":", "case", "", ":", "compareOp", "=", "", ";", "break", ";", "case", "", ":", "case", "", ":", "compareOp", "=", "", ";", "break", ";", "case", "", ":", "case", "", ":", "compareOp", "=", "", ";", "break", ";", "case", "", ":"], "ground_truth": ["case", "", ":"], "File": "SPUISelLowering12", "Func": "LowerSETCC", "Target": "CellSPU", "Target_Clf": "MPU", "Compiler_Type": "LLVM", "Idx": 61338, "Length": 383, "Cover_Rate": 0.4322799097065463} {"Template_token": ["", "static", "SDValue", "LowerTRUNCATE", "(", "SDValue", "Op", ",", "SelectionDAG", "&", "DAG", ")", "{", "MVT", "VT", "=", "Op", ".", "getValueType", "(", ")", ";", "", "simpleVT", "=", "VT", ".", "getSimpleVT", "(", ")", ";", "MVT", "VecVT", "=", "", "(", "VT", ",", "(", "", "/", "VT", ".", "getSizeInBits", "(", ")", ")", ")", ";", "DebugLoc", "dl", "=", "Op", ".", "getDebugLoc", "(", ")", ";", "SDValue", "Op0", "=", "Op", ".", "getOperand", "(", "", ")", ";", "MVT", "Op0VT", "=", "Op0", ".", "getValueType", "(", ")", ";", "if", "(", "Op0VT", ".", "getSimpleVT", "(", ")", "==", "", "&&", "simpleVT", "==", "", ")", "{"], "ground_truth": ["unsigned", "maskHigh", "=", "", ";"], "File": "SPUISelLowering12", "Func": "LowerTRUNCATE", "Target": "CellSPU", "Target_Clf": "MPU", "Compiler_Type": "LLVM", "Idx": 61340, "Length": 96, "Cover_Rate": 0.4444444444444444} {"Template_token": ["", "MVT", "Op0VT", "=", "Op0", ".", "getValueType", "(", ")", ";", "if", "(", "Op0VT", ".", "getSimpleVT", "(", ")", "==", "", "&&", "simpleVT", "==", "", ")", "{", "unsigned", "maskHigh", "=", "", ";", "unsigned", "maskLow", "=", "", ";"], "ground_truth": ["SDValue", "shufMask", "=", "DAG", ".", "getNode", "(", "", ",", "dl", ",", "", ",", "DAG", ".", "getConstant", "(", "maskHigh", ",", "", ")", ",", "DAG", ".", "getConstant", "(", "maskLow", ",", "", ")", ",", "DAG", ".", "getConstant", "(", "maskHigh", ",", "", ")", ",", "DAG", ".", "getConstant", "(", "maskLow", ",", "", ")", ")", ";"], "File": "SPUISelLowering12", "Func": "LowerTRUNCATE", "Target": "CellSPU", "Target_Clf": "MPU", "Compiler_Type": "LLVM", "Idx": 61341, "Length": 84, "Cover_Rate": 0.3888888888888889} {"Template_token": ["", "if", "(", "upper", "==", "lower", ")", "{", "SDValue", "Val", "=", "DAG", ".", "getTargetConstant", "(", "upper", ",", "", ")", ";", "return", "DAG", ".", "getNode", "(", "", ",", "dl", ",", "OpVT", ",", "DAG", ".", "getNode", "(", "", ",", "dl", ",", "", ",", "Val", ",", "Val", ",", "Val", ",", "Val", ")", ")", ";", "}", "else", "{", "bool", "upper_special", ",", "lower_special", ";", "upper_special", "=", "(", "upper", "==", "", "||", "upper", "==", "", "||", "upper", "==", "", ")", ";", "lower_special", "=", "(", "lower", "==", "", "||", "lower", "==", "", "||", "lower", "==", "", ")", ";", "if", "(", "lower_special", "&&", "upper_special", ")", "{", "SDValue", "SplatValCN", "=", "DAG", ".", "getConstant", "(", "SplatVal", ",", "", ")", ";", "return", "DAG", ".", "getNode", "(", "", ",", "dl", ",", "", ",", "SplatValCN", ",", "SplatValCN", ")", ";", "}", "SDValue", "LO32", ";", "SDValue", "HI32", ";", "SmallVector", "<", "SDValue", ",", "", ">", "ShufBytes", ";", "SDValue", "Result", ";", "if", "(", "!", "lower_special", ")", "{", "SDValue", "LO32C", "=", "DAG", ".", "getConstant", "(", "lower", ",", "", ")", ";", "LO32", "=", "DAG", ".", "getNode", "(", "", ",", "dl", ",", "OpVT", ",", "DAG", ".", "getNode", "(", "", ",", "dl", ",", "", ",", "LO32C", ",", "LO32C", ",", "LO32C", ",", "LO32C", ")", ")", ";", "}", "if", "(", "!", "upper_special", ")", "{", "SDValue", "HI32C", "=", "DAG", ".", "getConstant", "(", "upper", ",", "", ")", ";", "HI32", "=", "DAG", ".", "getNode", "(", "", ",", "dl", ",", "OpVT", ",", "DAG", ".", "getNode", "(", "", ",", "dl", ",", "", ",", "HI32C", ",", "HI32C", ",", "HI32C", ",", "HI32C", ")", ")", ";", "}", "if", "(", "lower_special", ")", "LO32", "=", "HI32", ";", "if", "(", "upper_special", ")", "HI32", "=", "LO32", ";", "for", "(", "int", "i", "=", "", ";", "i", "<", "", ";", "++", "i", ")", "{", "uint64_t", "val", "=", "", ";", "for", "(", "int", "j", "=", "", ";", "j", "<", "", ";", "++", "j", ")", "{", "SDValue", "V", ";", "bool", "process_upper", ",", "process_lower", ";"], "ground_truth": ["val", "<<=", "", ";"], "File": "SPUISelLowering12", "Func": "LowerV2I64Splat", "Target": "CellSPU", "Target_Clf": "MPU", "Compiler_Type": "LLVM", "Idx": 61342, "Length": 308, "Cover_Rate": 0.5394045534150613} {"Template_token": ["", "SDValue", "SplatValCN", "=", "DAG", ".", "getConstant", "(", "SplatVal", ",", "", ")", ";", "return", "DAG", ".", "getNode", "(", "", ",", "dl", ",", "", ",", "SplatValCN", ",", "SplatValCN", ")", ";", "}", "SDValue", "LO32", ";", "SDValue", "HI32", ";", "SmallVector", "<", "SDValue", ",", "", ">", "ShufBytes", ";", "SDValue", "Result", ";", "if", "(", "!", "lower_special", ")", "{", "SDValue", "LO32C", "=", "DAG", ".", "getConstant", "(", "lower", ",", "", ")", ";", "LO32", "=", "DAG", ".", "getNode", "(", "", ",", "dl", ",", "OpVT", ",", "DAG", ".", "getNode", "(", "", ",", "dl", ",", "", ",", "LO32C", ",", "LO32C", ",", "LO32C", ",", "LO32C", ")", ")", ";", "}", "if", "(", "!", "upper_special", ")", "{", "SDValue", "HI32C", "=", "DAG", ".", "getConstant", "(", "upper", ",", "", ")", ";", "HI32", "=", "DAG", ".", "getNode", "(", "", ",", "dl", ",", "OpVT", ",", "DAG", ".", "getNode", "(", "", ",", "dl", ",", "", ",", "HI32C", ",", "HI32C", ",", "HI32C", ",", "HI32C", ")", ")", ";", "}", "if", "(", "lower_special", ")", "LO32", "=", "HI32", ";", "if", "(", "upper_special", ")", "HI32", "=", "LO32", ";", "for", "(", "int", "i", "=", "", ";", "i", "<", "", ";", "++", "i", ")", "{", "uint64_t", "val", "=", "", ";", "for", "(", "int", "j", "=", "", ";", "j", "<", "", ";", "++", "j", ")", "{", "SDValue", "V", ";", "bool", "process_upper", ",", "process_lower", ";", "val", "<<=", "", ";", "process_upper", "=", "(", "upper_special", "&&", "(", "i", "&", "", ")", "==", "", ")", ";", "process_lower", "=", "(", "lower_special", "&&", "(", "i", "&", "", ")", "==", "", ")", ";", "if", "(", "process_upper", "||", "process_lower", ")", "{", "if", "(", "(", "process_upper", "&&", "upper", "==", "", ")", "||", "(", "process_lower", "&&", "lower", "==", "", ")", ")", "val", "|=", "", ";", "else", "if", "(", "(", "process_upper", "&&", "upper", "==", "", ")", "||", "(", "process_lower", "&&", "lower", "==", "", ")", ")", "val", "|=", "", ";", "else", "if", "(", "(", "process_upper", "&&", "upper", "==", "", ")", "||", "(", "process_lower", "&&", "lower", "==", "", ")", ")", "val", "|=", "(", "j", "==", "", "?", "", ":", "", ")", ";", "}", "else", "val", "|=", "i", "*", "", "+", "j", "+", "(", "(", "i", "&", "", ")", "*", "", ")", ";", "}", "ShufBytes", ".", "push_back", "(", "DAG", ".", "getConstant", "(", "val", ",", "", ")", ")", ";"], "ground_truth": ["}"], "File": "SPUISelLowering12", "Func": "LowerV2I64Splat", "Target": "CellSPU", "Target_Clf": "MPU", "Compiler_Type": "LLVM", "Idx": 61343, "Length": 358, "Cover_Rate": 0.626970227670753} {"Template_token": ["", "unsigned", "V0Elt", "=", "", ";", "bool", "monotonic", "=", "true", ";", "bool", "rotate", "=", "true", ";", "if", "(", "EltVT", "==", "", ")", "{", "V2EltIdx0", "=", "", ";", "}", "else", "if", "(", "EltVT", "==", "", ")", "{", "V2EltIdx0", "=", "", ";", "}", "else", "if", "(", "EltVT", "==", "", "||", "EltVT", "==", "", ")", "{", "V2EltIdx0", "=", "", ";", "}", "else", "if", "(", "EltVT", "==", "", "||", "EltVT", "==", "", ")", "{", "V2EltIdx0", "=", "", ";", "}", "else", "assert", "(", "", "&&", "", ")", ";", "for", "(", "unsigned", "i", "=", "", ";", "i", "!=", "PermMask", ".", "getNumOperands", "(", ")", ";", "++", "i", ")", "{", "if", "(", "PermMask", ".", "getOperand", "(", "i", ")", ".", "getOpcode", "(", ")", "!=", "", ")", "{", "unsigned", "SrcElt", "=", "cast", "<", "ConstantSDNode", ">", "(", "PermMask", ".", "getOperand", "(", "i", ")", ")", "->", "getZExtValue", "(", ")", ";", "if", "(", "monotonic", ")", "{", "if", "(", "SrcElt", ">=", "V2EltIdx0", ")", "{", "if", "(", "", ">=", "(", "++", "EltsFromV2", ")", ")", "{", "V2Elt", "=", "(", "V2EltIdx0", "-", "SrcElt", ")", "<<", "", ";", "}", "}", "else", "if", "(", "CurrElt", "!=", "SrcElt", ")", "{", "monotonic", "=", "false", ";", "}", "++", "CurrElt", ";", "}", "if", "(", "rotate", ")", "{", "if", "(", "PrevElt", ">", "", "&&", "SrcElt", "<", "MaxElts", ")", "{", "if", "(", "(", "PrevElt", "==", "SrcElt", "-", "", ")", "||", "(", "PrevElt", "==", "MaxElts", "-", "", "&&", "SrcElt", "==", "", ")", ")", "{", "PrevElt", "=", "SrcElt", ";"], "ground_truth": ["if", "(", "SrcElt", "==", "", ")", "V0Elt", "=", "i", ";"], "File": "SPUISelLowering12", "Func": "LowerVECTOR_SHUFFLE", "Target": "CellSPU", "Target_Clf": "MPU", "Compiler_Type": "LLVM", "Idx": 61344, "Length": 241, "Cover_Rate": 0.30467762326169406} {"Template_token": ["", "unsigned", "Opc", "=", "(", "unsigned", ")", "N", "->", "getOpcode", "(", ")", ";", "MVT", "OpVT", "=", "N", "->", "getValueType", "(", "", ")", ";", "switch", "(", "Opc", ")", "{", "default", ":", "{", "cerr", "<<", "", ";", "cerr", "<<", "", "<<", "Opc", "<<", "", ";", "cerr", "<<", "", ";"], "ground_truth": ["N", "->", "dump", "(", ")", ";"], "File": "SPUISelLowering12", "Func": "ReplaceNodeResults", "Target": "CellSPU", "Target_Clf": "MPU", "Compiler_Type": "LLVM", "Idx": 61346, "Length": 52, "Cover_Rate": 0.65} {"Template_token": ["", "Entry", ".", "isSExt", "=", "isSigned", ";", "Entry", ".", "isZExt", "=", "!", "isSigned", ";", "Args", ".", "push_back", "(", "Entry", ")", ";", "}", "SDValue", "Callee", "=", "DAG", ".", "getExternalSymbol", "(", "TLI", ".", "getLibcallName", "(", "LC", ")", ",", "TLI", ".", "getPointerTy", "(", ")", ")", ";", "Type", "*", "RetTy", "=", "Op", ".", "getNode", "(", ")", "->", "getValueType", "(", "", ")", ".", "getTypeForEVT", "(", "*", "DAG", ".", "getContext", "(", ")", ")", ";"], "ground_truth": ["TargetLowering", "::", "CallLoweringInfo", "CLI", "(", "InChain", ",", "RetTy", ",", "isSigned", ",", "!", "isSigned", ",", "false", ",", "false", ",", "", ",", "TLI", ".", "getLibcallCallingConv", "(", "LC", ")", ",", "false", ",", "false", ",", "true", ",", "Callee", ",", "Args", ",", "DAG", ",", "Op", ".", "getDebugLoc", "(", ")", ")", ";"], "File": "SPUISelLowering13", "Func": "ExpandLibCall", "Target": "CellSPU", "Target_Clf": "MPU", "Compiler_Type": "LLVM", "Idx": 61348, "Length": 113, "Cover_Rate": 0.44664031620553357} {"Template_token": ["", "default", ":", "return", "", ";", "case", "", ":", "return", "", ";", "case", "", ":", "return", "", ";", "case", "", ":", "return", "", ";", "case", "", ":", "return", "", ";", "case", "", ":", "return", "", ";", "case", "", ":", "return", "", ";", "case", "", ":", "return", "", ";", "case", "", ":", "return", "", ";", "case", "", ":", "return", "", ";", "case", "", ":", "return", "", ";", "case", "", ":", "return", "", ";"], "ground_truth": ["case", "", ":", "return", "", ";"], "File": "SPUISelLowering13", "Func": "getTargetNodeName", "Target": "CellSPU", "Target_Clf": "MPU", "Compiler_Type": "LLVM", "Idx": 61349, "Length": 77, "Cover_Rate": 0.35648148148148145} {"Template_token": ["", "case", "", ":", "return", "", ";", "case", "", ":", "return", "", ";", "case", "", ":", "return", "", ";", "case", "", ":", "return", "", ";", "case", "", ":", "return", "", ";", "case", "", ":", "return", "", ";", "case", "", ":", "return", "", ";", "case", "", ":", "return", "", ";", "case", "", ":", "return", "", ";", "case", "", ":", "return", "", ";", "case", "", ":", "return", "", ";", "case", "", ":", "return", "", ";", "case", "", ":", "return", "", ";", "case", "", ":", "return", "", ";", "case", "", ":", "return", "", ";", "case", "", ":", "return", "", ";"], "ground_truth": ["case", "", ":", "return", "", ";"], "File": "SPUISelLowering13", "Func": "getTargetNodeName", "Target": "CellSPU", "Target_Clf": "MPU", "Compiler_Type": "LLVM", "Idx": 61350, "Length": 102, "Cover_Rate": 0.4722222222222222} {"Template_token": ["", "bool", "TargetLowering", "::", "isLegalAddressImmediate", "(", "GlobalValue", "*", "GV", ")", "const", "{", "return", "false", ";"], "ground_truth": ["}"], "File": "SPUISelLowering13", "Func": "isLegalAddressImmediate", "Target": "CellSPU", "Target_Clf": "MPU", "Compiler_Type": "LLVM", "Idx": 61351, "Length": 15, "Cover_Rate": 1.0} {"Template_token": ["", "prefslot_begin", "=", "", ";", "prefslot_end", "=", "", ";", "break", ";", "}", "case", "", ":", "case", "", ":", "{", "prefslot_begin", "=", "", ";", "prefslot_end", "=", "", ";", "break", ";", "}", "case", "", ":", "case", "", ":", "{", "prefslot_begin", "=", "", ";", "prefslot_end", "=", "", ";", "break", ";", "}", "}", "assert", "(", "prefslot_begin", "!=", "-", "", "&&", "prefslot_end", "!=", "-", "", "&&", "", ")", ";", "unsigned", "int", "ShufBytes", "[", "", "]", "=", "{", "", ",", "", ",", "", ",", "", ",", "", ",", "", ",", "", ",", "", ",", "", ",", "", ",", "", ",", "", ",", "", ",", "", ",", "", ",", "", "}", ";", "for", "(", "int", "i", "=", "", ";", "i", "<", "", ";", "++", "i", ")", "{", "unsigned", "int", "mask_val", ";", "if", "(", "i", "<=", "prefslot_end", ")", "{", "mask_val", "=", "(", "(", "i", "<", "prefslot_begin", ")", "?", "", ":", "elt_byte", "+", "(", "i", "-", "prefslot_begin", ")", ")", ";", "ShufBytes", "[", "i", "]", "=", "mask_val", ";", "}", "else", "ShufBytes", "[", "i", "]", "=", "ShufBytes", "[", "i", "%", "(", "prefslot_end", "+", "", ")", "]", ";", "}", "SDValue", "ShufMask", "[", "", "]", ";", "for", "(", "unsigned", "i", "=", "", ";", "i", "<", "sizeof", "(", "ShufMask", ")", "/", "sizeof", "(", "ShufMask", "[", "", "]", ")", ";", "++", "i", ")", "{", "unsigned", "bidx", "=", "i", "*", "", ";", "unsigned", "int", "bits", "=", "(", "(", "ShufBytes", "[", "bidx", "]", "<<", "", ")", "|", "(", "ShufBytes", "[", "bidx", "+", "", "]", "<<", "", ")", "|", "(", "ShufBytes", "[", "bidx", "+", "", "]", "<<", "", ")", "|", "ShufBytes", "[", "bidx", "+", "", "]", ")", ";", "ShufMask", "[", "i", "]", "=", "DAG", ".", "getConstant", "(", "bits", ",", "", ")", ";", "}", "SDValue", "ShufMaskVec", "=", "DAG", ".", "getNode", "(", "", ",", "dl", ",", "", ",", "&", "ShufMask", "[", "", "]", ",", "sizeof", "(", "ShufMask", ")", "/", "sizeof", "(", "ShufMask", "[", "", "]", ")", ")", ";", "retval", "=", "DAG", ".", "getNode", "(", "", ",", "dl", ",", "VT", ",", "DAG", ".", "getNode", "(", "", ",", "dl", ",", "N", ".", "getValueType", "(", ")", ",", "N", ",", "N", ",", "ShufMaskVec", ")", ")", ";", "}", "else", "{", "EVT", "VecVT", "=", "N", ".", "getValueType", "(", ")", ";", "if", "(", "!", "VecVT", ".", "isSimple", "(", ")", "||", "!", "VecVT", ".", "isVector", "(", ")", ")", "{", "report_fatal_error", "(", "", "", ")", ";", "}", "if", "(", "Elt", ".", "getValueType", "(", ")", "!=", "", ")", "Elt", "=", "DAG", ".", "getNode", "(", "", ",", "dl", ",", "", ",", "Elt", ")", ";"], "ground_truth": ["APInt", "scaleFactor", "=", "APInt", "(", "", ",", "uint64_t", "(", "", "/", "N", ".", "getValueType", "(", ")", ".", "getVectorNumElements", "(", ")", ")", ",", "false", ")", ";"], "File": "SPUISelLowering13", "Func": "LowerEXTRACT_VECTOR_ELT", "Target": "CellSPU", "Target_Clf": "MPU", "Compiler_Type": "LLVM", "Idx": 61353, "Length": 427, "Cover_Rate": 0.4066666666666667} {"Template_token": ["", "SDValue", "TargetLowering", "::", "LowerFormalArguments", "(", "SDValue", "Chain", ",", "CallingConv", "::", "ID", "CallConv", ",", "bool", "isVarArg", ",", "const", "SmallVectorImpl", "<", "", ">", "&", "Ins", ",", "DebugLoc", "dl", ",", "SelectionDAG", "&", "DAG", ",", "SmallVectorImpl", "<", "SDValue", ">", "&", "InVals", ")", "const", "{", "MachineFunction", "&", "MF", "=", "DAG", ".", "getMachineFunction", "(", ")", ";", "MachineFrameInfo", "*", "MFI", "=", "MF", ".", "getFrameInfo", "(", ")", ";", "MachineRegisterInfo", "&", "RegInfo", "=", "MF", ".", "getRegInfo", "(", ")", ";", "FunctionInfo", "*", "FuncInfo", "=", "MF", ".", "getInfo", "<", "FunctionInfo", ">", "(", ")", ";", "unsigned", "ArgOffset", "=", "FrameLowering", "::", "minStackSize", "(", ")", ";", "unsigned", "ArgRegIdx", "=", "", ";", "unsigned", "StackSlotSize", "=", "FrameLowering", "::", "stackSlotSize", "(", ")", ";", "EVT", "PtrVT", "=", "DAG", ".", "getTargetLoweringInfo", "(", ")", ".", "getPointerTy", "(", ")", ";", "SmallVector", "<", "CCValAssign", ",", "", ">", "ArgLocs", ";", "CCState", "CCInfo", "(", "CallConv", ",", "isVarArg", ",", "DAG", ".", "getMachineFunction", "(", ")", ",", "getTargetMachine", "(", ")", ",", "ArgLocs", ",", "*", "DAG", ".", "getContext", "(", ")", ")", ";", "CCInfo", ".", "AnalyzeFormalArguments", "(", "Ins", ",", "CCC_", ")", ";", "for", "(", "unsigned", "ArgNo", "=", "", ",", "e", "=", "Ins", ".", "size", "(", ")", ";", "ArgNo", "!=", "e", ";", "++", "ArgNo", ")", "{", "EVT", "ObjectVT", "=", "Ins", "[", "ArgNo", "]", ".", "VT", ";", "unsigned", "ObjSize", "=", "ObjectVT", ".", "getSizeInBits", "(", ")", "/", "", ";", "SDValue", "ArgVal", ";", "CCValAssign", "&", "VA", "=", "ArgLocs", "[", "ArgNo", "]", ";", "if", "(", "VA", ".", "isRegLoc", "(", ")", ")", "{", "const", "TargetRegisterClass", "*", "ArgRegClass", ";", "switch", "(", "ObjectVT", ".", "getSimpleVT", "(", ")", ".", "SimpleTy", ")", "{", "default", ":", "report_fatal_error", "(", "", "+", "Twine", "(", "ObjectVT", ".", "getEVTString", "(", ")", ")", ")", ";", "case", "", ":", "ArgRegClass", "=", "&", "", ";", "break", ";", "case", "", ":", "ArgRegClass", "=", "&", "", ";", "break", ";", "case", "", ":", "ArgRegClass", "=", "&", "", ";", "break", ";", "case", "", ":", "ArgRegClass", "=", "&", "", ";", "break", ";", "case", "", ":", "ArgRegClass", "=", "&", "", ";", "break", ";", "case", "", ":", "ArgRegClass", "=", "&", "", ";", "break", ";", "case", "", ":", "ArgRegClass", "=", "&", "", ";", "break", ";", "case", "", ":", "case", "", ":", "case", "", ":", "case", "", ":", "case", "", ":", "case", "", ":", "ArgRegClass", "=", "&", "", ";", "break", ";", "}", "unsigned", "VReg", "=", "RegInfo", ".", "createVirtualRegister", "(", "ArgRegClass", ")", ";", "RegInfo", ".", "addLiveIn", "(", "VA", ".", "getLocReg", "(", ")", ",", "VReg", ")", ";", "ArgVal", "=", "DAG", ".", "getCopyFromReg", "(", "Chain", ",", "dl", ",", "VReg", ",", "ObjectVT", ")", ";", "++", "ArgRegIdx", ";", "}", "else", "{", "int", "FI", "=", "MFI", "->", "CreateFixedObject", "(", "ObjSize", ",", "ArgOffset", ",", "true", ")", ";", "SDValue", "FIN", "=", "DAG", ".", "getFrameIndex", "(", "FI", ",", "PtrVT", ")", ";", "ArgVal", "=", "DAG", ".", "getLoad", "(", "ObjectVT", ",", "dl", ",", "Chain", ",", "FIN", ",", "MachinePointerInfo", "(", ")", ",", "false", ",", "false", ",", "false", ",", "", ")", ";", "ArgOffset", "+=", "StackSlotSize", ";", "}", "InVals", ".", "push_back", "(", "ArgVal", ")", ";", "Chain", "=", "ArgVal", ".", "getOperand", "(", "", ")", ";"], "ground_truth": ["}"], "File": "SPUISelLowering13", "Func": "LowerFormalArguments", "Target": "CellSPU", "Target_Clf": "MPU", "Compiler_Type": "LLVM", "Idx": 61354, "Length": 475, "Cover_Rate": 0.4638671875} {"Template_token": ["", "static", "SDValue", "LowerBUILD_VECTOR", "(", "SDValue", "Op", ",", "SelectionDAG", "&", "DAG", ")", "{", "EVT", "VT", "=", "Op", ".", "getValueType", "(", ")", ";", "EVT", "EltVT", "=", "VT", ".", "getVectorElementType", "(", ")", ";", "DebugLoc", "dl", "=", "Op", ".", "getDebugLoc", "(", ")", ";", "BuildVectorSDNode", "*", "BCN", "=", "dyn_cast", "<", "BuildVectorSDNode", ">", "(", "Op", ".", "getNode", "(", ")", ")", ";", "assert", "(", "BCN", "!=", "", "&&", "", ")", ";", "unsigned", "minSplatBits", "=", "EltVT", ".", "getSizeInBits", "(", ")", ";", "if", "(", "minSplatBits", "<", "", ")", "minSplatBits", "=", "", ";", "APInt", "APSplatBits", ",", "APSplatUndef", ";", "unsigned", "SplatBitSize", ";", "bool", "HasAnyUndefs", ";", "if", "(", "!", "BCN", "->", "isConstantSplat", "(", "APSplatBits", ",", "APSplatUndef", ",", "SplatBitSize", ",", "HasAnyUndefs", ",", "minSplatBits", ")", "||", "minSplatBits", "<", "SplatBitSize", ")", "return", "SDValue", "(", ")", ";", "uint64_t", "SplatBits", "=", "APSplatBits", ".", "getZExtValue", "(", ")", ";", "switch", "(", "VT", ".", "getSimpleVT", "(", ")", ".", "SimpleTy", ")", "{", "default", ":", "report_fatal_error", "(", "", "+", "Twine", "(", "VT", ".", "getEVTString", "(", ")", ")", ")", ";", "case", "", ":", "{", "uint32_t", "Value32", "=", "uint32_t", "(", "SplatBits", ")", ";", "assert", "(", "SplatBitSize", "==", "", "&&", "", ")", ";", "SDValue", "T", "=", "DAG", ".", "getConstant", "(", "Value32", ",", "", ")", ";", "return", "DAG", ".", "getNode", "(", "", ",", "dl", ",", "", ",", "DAG", ".", "getNode", "(", "", ",", "dl", ",", "", ",", "T", ",", "T", ",", "T", ",", "T", ")", ")", ";", "break", ";", "}", "case", "", ":", "{", "uint64_t", "f64val", "=", "uint64_t", "(", "SplatBits", ")", ";", "assert", "(", "SplatBitSize", "==", "", "&&", "", ")", ";", "SDValue", "T", "=", "DAG", ".", "getConstant", "(", "f64val", ",", "", ")", ";", "return", "DAG", ".", "getNode", "(", "", ",", "dl", ",", "", ",", "DAG", ".", "getNode", "(", "", ",", "dl", ",", "", ",", "T", ",", "T", ")", ")", ";", "break", ";", "}", "case", "", ":", "{", "unsigned", "short", "Value16", "=", "SplatBits", ";", "SmallVector", "<", "SDValue", ",", "", ">", "Ops", ";", "Ops", ".", "assign", "(", "", ",", "DAG", ".", "getConstant", "(", "Value16", ",", "", ")", ")", ";", "return", "DAG", ".", "getNode", "(", "", ",", "dl", ",", "VT", ",", "DAG", ".", "getNode", "(", "", ",", "dl", ",", "", ",", "&", "Ops", "[", "", "]", ",", "Ops", ".", "size", "(", ")", ")", ")", ";", "}"], "ground_truth": ["case", "", ":", "{"], "File": "SPUISelLowering14", "Func": "LowerBUILD_VECTOR", "Target": "CellSPU", "Target_Clf": "MPU", "Compiler_Type": "LLVM", "Idx": 61358, "Length": 361, "Cover_Rate": 0.6747663551401869} {"Template_token": ["", "case", "", ":", "case", "", ":", "case", "", ":", "case", "", ":", "ArgRegClass", "=", "&", "", ";", "break", ";", "}", "unsigned", "VReg", "=", "RegInfo", ".", "createVirtualRegister", "(", "ArgRegClass", ")", ";", "RegInfo", ".", "addLiveIn", "(", "VA", ".", "getLocReg", "(", ")", ",", "VReg", ")", ";", "ArgVal", "=", "DAG", ".", "getCopyFromReg", "(", "Chain", ",", "dl", ",", "VReg", ",", "ObjectVT", ")", ";", "++", "ArgRegIdx", ";", "}", "else", "{", "int", "FI", "=", "MFI", "->", "CreateFixedObject", "(", "ObjSize", ",", "ArgOffset", ",", "true", ")", ";", "SDValue", "FIN", "=", "DAG", ".", "getFrameIndex", "(", "FI", ",", "PtrVT", ")", ";", "ArgVal", "=", "DAG", ".", "getLoad", "(", "ObjectVT", ",", "dl", ",", "Chain", ",", "FIN", ",", "MachinePointerInfo", "(", ")", ",", "false", ",", "false", ",", "", ")", ";", "ArgOffset", "+=", "StackSlotSize", ";", "}", "InVals", ".", "push_back", "(", "ArgVal", ")", ";", "Chain", "=", "ArgVal", ".", "getOperand", "(", "", ")", ";", "}", "if", "(", "isVarArg", ")", "{", "static", "const", "unsigned", "ArgRegs", "[", "]", "=", "{", "", ",", "", ",", "", ",", "", ",", "", ",", "", ",", "", ",", "", ",", "", ",", "", ",", "", ",", "", ",", "", ",", "", ",", "", ",", "", ",", "", ",", "", ",", "", ",", "", ",", "", ",", "", ",", "", ",", "", ",", "", ",", "", ",", "", ",", "", ",", "", ",", "", ",", "", ",", "", ",", "", ",", "", ",", "", ",", "", ",", "", ",", "", ",", "", ",", "", ",", "", ",", "", ",", "", ",", "", ",", "", ",", "", ",", "", ",", "", ",", "", ",", "", ",", "", ",", "", ",", "", ",", "", ",", "", ",", "", ",", "", ",", "", ",", "", ",", "", ",", "", ",", "", ",", "", ",", "", ",", "", ",", "", ",", "", ",", "", ",", "", ",", "", ",", "", ",", "", ",", "", ",", "", ",", "", ",", "", ",", "", "}", ";", "unsigned", "NumArgRegs", "=", "", ";", "SmallVector", "<", "SDValue", ",", "", "-", "", "+", "", ">", "MemOps", ";", "for", "(", ";", "ArgRegIdx", "!=", "NumArgRegs", ";", "++", "ArgRegIdx", ")", "{", "FuncInfo", "->", "setVarArgsFrameIndex", "(", "MFI", "->", "CreateFixedObject", "(", "StackSlotSize", ",", "ArgOffset", ",", "true", ")", ")", ";"], "ground_truth": ["SDValue", "FIN", "=", "DAG", ".", "getFrameIndex", "(", "FuncInfo", "->", "getVarArgsFrameIndex", "(", ")", ",", "PtrVT", ")", ";"], "File": "SPUISelLowering14", "Func": "LowerFormalArguments", "Target": "CellSPU", "Target_Clf": "MPU", "Compiler_Type": "LLVM", "Idx": 61359, "Length": 365, "Cover_Rate": 0.3574926542605289} {"Template_token": ["", "const", "TargetMachine", "&", "TM", "=", "DAG", ".", "getTarget", "(", ")", ";", "SDValue", "Zero", "=", "DAG", ".", "getConstant", "(", "", ",", "PtrVT", ")", ";", "DebugLoc", "dl", "=", "Op", ".", "getDebugLoc", "(", ")", ";", "if", "(", "TM", ".", "getRelocationModel", "(", ")", "==", "Reloc", "::", "Static", ")", "{", "if", "(", "!", "ST", "->", "usingLargeMem", "(", ")", ")", "{", "return", "DAG", ".", "getNode", "(", "", ",", "dl", ",", "PtrVT", ",", "GA", ",", "Zero", ")", ";", "}", "else", "{", "SDValue", "Hi", "=", "DAG", ".", "getNode", "(", "", ",", "dl", ",", "PtrVT", ",", "GA", ",", "Zero", ")", ";", "SDValue", "Lo", "=", "DAG", ".", "getNode", "(", "", ",", "dl", ",", "PtrVT", ",", "GA", ",", "Zero", ")", ";", "return", "DAG", ".", "getNode", "(", "", ",", "dl", ",", "PtrVT", ",", "Hi", ",", "Lo", ")", ";", "}", "}", "else", "{"], "ground_truth": ["report_fatal_error", "(", "", "", ")", ";"], "File": "SPUISelLowering14", "Func": "LowerGlobalAddress", "Target": "CellSPU", "Target_Clf": "MPU", "Compiler_Type": "LLVM", "Idx": 61360, "Length": 136, "Cover_Rate": 0.6071428571428571} {"Template_token": ["", "SDValue", "N1", "=", "Op", ".", "getOperand", "(", "", ")", ";", "EVT", "N1VT", "=", "N1", ".", "getValueType", "(", ")", ";", "N0", "=", "DAG", ".", "getNode", "(", "", ",", "dl", ",", "", ",", "N0", ")", ";", "if", "(", "!", "N1VT", ".", "bitsEq", "(", "ShiftVT", ")", ")", "{", "unsigned", "N1Opc", "=", "N1", ".", "getValueType", "(", ")", ".", "bitsLT", "(", "ShiftVT", ")", "?", "", ":", "", ";", "N1", "=", "DAG", ".", "getNode", "(", "N1Opc", ",", "dl", ",", "ShiftVT", ",", "N1", ")", ";", "}", "SDValue", "ExpandArg", "=", "DAG", ".", "getNode", "(", "", ",", "dl", ",", "", ",", "N0", ",", "DAG", ".", "getNode", "(", "", ",", "dl", ",", "", ",", "N0", ",", "DAG", ".", "getConstant", "(", "", ",", "", ")", ")", ")", ";", "return", "DAG", ".", "getNode", "(", "", ",", "dl", ",", "", ",", "DAG", ".", "getNode", "(", "Opc", ",", "dl", ",", "", ",", "ExpandArg", ",", "N1", ")", ")", ";", "}", "case", "", ":", "case", "", ":", "{", "SDValue", "N1", "=", "Op", ".", "getOperand", "(", "", ")", ";", "EVT", "N1VT", "=", "N1", ".", "getValueType", "(", ")", ";", "N0", "=", "DAG", ".", "getNode", "(", "", ",", "dl", ",", "", ",", "N0", ")", ";", "if", "(", "!", "N1VT", ".", "bitsEq", "(", "ShiftVT", ")", ")", "{", "unsigned", "N1Opc", "=", "", ";", "if", "(", "N1", ".", "getValueType", "(", ")", ".", "bitsGT", "(", "ShiftVT", ")", ")", "N1Opc", "=", "", ";", "N1", "=", "DAG", ".", "getNode", "(", "N1Opc", ",", "dl", ",", "ShiftVT", ",", "N1", ")", ";", "}", "return", "DAG", ".", "getNode", "(", "", ",", "dl", ",", "", ",", "DAG", ".", "getNode", "(", "Opc", ",", "dl", ",", "", ",", "N0", ",", "N1", ")", ")", ";", "}"], "ground_truth": ["case", "", ":", "{"], "File": "SPUISelLowering14", "Func": "LowerI8Math", "Target": "CellSPU", "Target_Clf": "MPU", "Compiler_Type": "LLVM", "Idx": 61361, "Length": 267, "Cover_Rate": 0.33542713567839194} {"Template_token": ["", "case", "", ":", "{", "SDValue", "N1", "=", "Op", ".", "getOperand", "(", "", ")", ";", "EVT", "N1VT", "=", "N1", ".", "getValueType", "(", ")", ";", "N0", "=", "DAG", ".", "getNode", "(", "", ",", "dl", ",", "", ",", "N0", ")", ";", "if", "(", "!", "N1VT", ".", "bitsEq", "(", "ShiftVT", ")", ")", "{", "unsigned", "N1Opc", "=", "", ";", "if", "(", "N1", ".", "getValueType", "(", ")", ".", "bitsGT", "(", "ShiftVT", ")", ")", "N1Opc", "=", "", ";", "N1", "=", "DAG", ".", "getNode", "(", "N1Opc", ",", "dl", ",", "ShiftVT", ",", "N1", ")", ";", "}", "return", "DAG", ".", "getNode", "(", "", ",", "dl", ",", "", ",", "DAG", ".", "getNode", "(", "Opc", ",", "dl", ",", "", ",", "N0", ",", "N1", ")", ")", ";", "}", "case", "", ":", "{", "SDValue", "N1", "=", "Op", ".", "getOperand", "(", "", ")", ";", "EVT", "N1VT", "=", "N1", ".", "getValueType", "(", ")", ";", "N0", "=", "DAG", ".", "getNode", "(", "", ",", "dl", ",", "", ",", "N0", ")", ";", "if", "(", "!", "N1VT", ".", "bitsEq", "(", "ShiftVT", ")", ")", "{", "unsigned", "N1Opc", "=", "", ";", "if", "(", "N1VT", ".", "bitsGT", "(", "ShiftVT", ")", ")", "N1Opc", "=", "", ";", "N1", "=", "DAG", ".", "getNode", "(", "N1Opc", ",", "dl", ",", "ShiftVT", ",", "N1", ")", ";", "}", "return", "DAG", ".", "getNode", "(", "", ",", "dl", ",", "", ",", "DAG", ".", "getNode", "(", "Opc", ",", "dl", ",", "", ",", "N0", ",", "N1", ")", ")", ";", "}", "case", "", ":", "{", "SDValue", "N1", "=", "Op", ".", "getOperand", "(", "", ")", ";", "N0", "=", "DAG", ".", "getNode", "(", "", ",", "dl", ",", "", ",", "N0", ")", ";", "N1", "=", "DAG", ".", "getNode", "(", "", ",", "dl", ",", "", ",", "N1", ")", ";", "return", "DAG", ".", "getNode", "(", "", ",", "dl", ",", "", ",", "DAG", ".", "getNode", "(", "Opc", ",", "dl", ",", "", ",", "N0", ",", "N1", ")", ")", ";"], "ground_truth": ["break", ";"], "File": "SPUISelLowering14", "Func": "LowerI8Math", "Target": "CellSPU", "Target_Clf": "MPU", "Compiler_Type": "LLVM", "Idx": 61362, "Length": 299, "Cover_Rate": 0.3756281407035176} {"Template_token": ["", "lower_special", "=", "(", "lower", "==", "", "||", "lower", "==", "", "||", "lower", "==", "", ")", ";", "if", "(", "lower_special", "&&", "upper_special", ")", "{", "SDValue", "SplatValCN", "=", "DAG", ".", "getConstant", "(", "SplatVal", ",", "", ")", ";", "return", "DAG", ".", "getNode", "(", "", ",", "dl", ",", "", ",", "SplatValCN", ",", "SplatValCN", ")", ";", "}", "SDValue", "LO32", ";", "SDValue", "HI32", ";", "SmallVector", "<", "SDValue", ",", "", ">", "ShufBytes", ";", "SDValue", "Result", ";", "if", "(", "!", "lower_special", ")", "{", "SDValue", "LO32C", "=", "DAG", ".", "getConstant", "(", "lower", ",", "", ")", ";", "LO32", "=", "DAG", ".", "getNode", "(", "", ",", "dl", ",", "OpVT", ",", "DAG", ".", "getNode", "(", "", ",", "dl", ",", "", ",", "LO32C", ",", "LO32C", ",", "LO32C", ",", "LO32C", ")", ")", ";", "}", "if", "(", "!", "upper_special", ")", "{", "SDValue", "HI32C", "=", "DAG", ".", "getConstant", "(", "upper", ",", "", ")", ";", "HI32", "=", "DAG", ".", "getNode", "(", "", ",", "dl", ",", "OpVT", ",", "DAG", ".", "getNode", "(", "", ",", "dl", ",", "", ",", "HI32C", ",", "HI32C", ",", "HI32C", ",", "HI32C", ")", ")", ";", "}", "if", "(", "lower_special", ")", "LO32", "=", "HI32", ";", "if", "(", "upper_special", ")", "HI32", "=", "LO32", ";", "for", "(", "int", "i", "=", "", ";", "i", "<", "", ";", "++", "i", ")", "{", "uint64_t", "val", "=", "", ";", "for", "(", "int", "j", "=", "", ";", "j", "<", "", ";", "++", "j", ")", "{"], "ground_truth": ["SDValue", "V", ";"], "File": "SPUISelLowering14", "Func": "LowerV2I64Splat", "Target": "CellSPU", "Target_Clf": "MPU", "Compiler_Type": "LLVM", "Idx": 61366, "Length": 225, "Cover_Rate": 0.39404553415061294} {"Template_token": ["", "if", "(", "lower_special", ")", "LO32", "=", "HI32", ";", "if", "(", "upper_special", ")", "HI32", "=", "LO32", ";", "for", "(", "int", "i", "=", "", ";", "i", "<", "", ";", "++", "i", ")", "{", "uint64_t", "val", "=", "", ";", "for", "(", "int", "j", "=", "", ";", "j", "<", "", ";", "++", "j", ")", "{", "SDValue", "V", ";", "bool", "process_upper", ",", "process_lower", ";", "val", "<<=", "", ";", "process_upper", "=", "(", "upper_special", "&&", "(", "i", "&", "", ")", "==", "", ")", ";", "process_lower", "=", "(", "lower_special", "&&", "(", "i", "&", "", ")", "==", "", ")", ";", "if", "(", "process_upper", "||", "process_lower", ")", "{", "if", "(", "(", "process_upper", "&&", "upper", "==", "", ")", "||", "(", "process_lower", "&&", "lower", "==", "", ")", ")", "val", "|=", "", ";", "else", "if", "(", "(", "process_upper", "&&", "upper", "==", "", ")", "||", "(", "process_lower", "&&", "lower", "==", "", ")", ")", "val", "|=", "", ";", "else", "if", "(", "(", "process_upper", "&&", "upper", "==", "", ")", "||", "(", "process_lower", "&&", "lower", "==", "", ")", ")", "val", "|=", "(", "j", "==", "", "?", "", ":", "", ")", ";", "}", "else", "val", "|=", "i", "*", "", "+", "j", "+", "(", "(", "i", "&", "", ")", "*", "", ")", ";", "}", "ShufBytes", ".", "push_back", "(", "DAG", ".", "getConstant", "(", "val", ",", "", ")", ")", ";", "}"], "ground_truth": ["return", "DAG", ".", "getNode", "(", "", ",", "dl", ",", "OpVT", ",", "HI32", ",", "LO32", ",", "DAG", ".", "getNode", "(", "", ",", "dl", ",", "", ",", "&", "ShufBytes", "[", "", "]", ",", "ShufBytes", ".", "size", "(", ")", ")", ")", ";"], "File": "SPUISelLowering14", "Func": "LowerV2I64Splat", "Target": "CellSPU", "Target_Clf": "MPU", "Compiler_Type": "LLVM", "Idx": 61367, "Length": 249, "Cover_Rate": 0.436077057793345} {"Template_token": ["", "Entry", ".", "Node", "=", "Op", ".", "getOperand", "(", "i", ")", ";", "Entry", ".", "Ty", "=", "ArgTy", ";", "Entry", ".", "isSExt", "=", "isSigned", ";", "Entry", ".", "isZExt", "=", "!", "isSigned", ";", "Args", ".", "push_back", "(", "Entry", ")", ";", "}", "SDValue", "Callee", "=", "DAG", ".", "getExternalSymbol", "(", "TLI", ".", "getLibcallName", "(", "LC", ")", ",", "TLI", ".", "getPointerTy", "(", ")", ")", ";"], "ground_truth": ["Type", "*", "RetTy", "=", "Op", ".", "getNode", "(", ")", "->", "getValueType", "(", "", ")", ".", "getTypeForEVT", "(", "*", "DAG", ".", "getContext", "(", ")", ")", ";"], "File": "SPUISelLowering16", "Func": "ExpandLibCall", "Target": "CellSPU", "Target_Clf": "MPU", "Compiler_Type": "LLVM", "Idx": 61369, "Length": 84, "Cover_Rate": 0.34285714285714286} {"Template_token": ["", "case", "", ":", "case", "", ":", "case", "", ":", "case", "", ":", "case", "", ":", "case", "", ":", "case", "", ":", "case", "", ":", "case", "", ":", "case", "", ":", "if", "(", "ArgRegIdx", "!=", "NumArgRegs", ")", "{", "RegsToPass", ".", "push_back", "(", "std", "::", "make_pair", "(", "VA", ".", "getLocReg", "(", ")", ",", "Arg", ")", ")", ";", "}", "else", "{", "MemOpChains", ".", "push_back", "(", "DAG", ".", "getStore", "(", "Chain", ",", "dl", ",", "Arg", ",", "PtrOff", ",", "MachinePointerInfo", "(", ")", ",", "false", ",", "false", ",", "", ")", ")", ";", "ArgOffset", "+=", "StackSlotSize", ";", "}", "break", ";", "}", "}", "unsigned", "NumStackBytes", "=", "ArgOffset", "-", "FrameLowering", "::", "minStackSize", "(", ")", ";", "Chain", "=", "DAG", ".", "getCALLSEQ_START", "(", "Chain", ",", "DAG", ".", "getIntPtrConstant", "(", "NumStackBytes", ",", "true", ")", ")", ";", "if", "(", "!", "MemOpChains", ".", "empty", "(", ")", ")", "{", "Chain", "=", "DAG", ".", "getNode", "(", "", ",", "dl", ",", "", ",", "&", "MemOpChains", "[", "", "]", ",", "MemOpChains", ".", "size", "(", ")", ")", ";", "}", "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", "(", "", ")", ";", "}", "SmallVector", "<", "SDValue", ",", "", ">", "Ops", ";", "unsigned", "CallOpc", "=", "", ";", "if", "(", "GlobalAddressSDNode", "*", "G", "=", "dyn_cast", "<", "GlobalAddressSDNode", ">", "(", "Callee", ")", ")", "{", "const", "GlobalValue", "*", "GV", "=", "G", "->", "getGlobal", "(", ")", ";", "EVT", "CalleeVT", "=", "Callee", ".", "getValueType", "(", ")", ";", "SDValue", "Zero", "=", "DAG", ".", "getConstant", "(", "", ",", "PtrVT", ")", ";", "SDValue", "GA", "=", "DAG", ".", "getTargetGlobalAddress", "(", "GV", ",", "dl", ",", "CalleeVT", ")", ";", "if", "(", "!", "ST", "->", "usingLargeMem", "(", ")", ")", "{", "if", "(", "GV", "->", "isDeclaration", "(", ")", ")", "{", "Callee", "=", "DAG", ".", "getNode", "(", "", ",", "dl", ",", "CalleeVT", ",", "GA", ",", "Zero", ")", ";", "}", "else", "{", "Callee", "=", "DAG", ".", "getNode", "(", "", ",", "dl", ",", "CalleeVT", ",", "GA", ",", "Zero", ")", ";", "}", "}", "else", "{", "Callee", "=", "DAG", ".", "getNode", "(", "", ",", "dl", ",", "PtrVT", ",", "GA", ",", "Zero", ")", ";", "}", "}", "else", "if", "(", "ExternalSymbolSDNode", "*", "S", "=", "dyn_cast", "<", "ExternalSymbolSDNode", ">", "(", "Callee", ")", ")", "{", "EVT", "CalleeVT", "=", "Callee", ".", "getValueType", "(", ")", ";", "SDValue", "Zero", "=", "DAG", ".", "getConstant", "(", "", ",", "PtrVT", ")", ";", "SDValue", "ExtSym", "=", "DAG", ".", "getTargetExternalSymbol", "(", "S", "->", "getSymbol", "(", ")", ",", "Callee", ".", "getValueType", "(", ")", ")", ";", "if", "(", "!", "ST", "->", "usingLargeMem", "(", ")", ")", "{", "Callee", "=", "DAG", ".", "getNode", "(", "", ",", "dl", ",", "CalleeVT", ",", "ExtSym", ",", "Zero", ")", ";", "}", "else", "{", "Callee", "=", "DAG", ".", "getNode", "(", "", ",", "dl", ",", "PtrVT", ",", "ExtSym", ",", "Zero", ")", ";", "}", "}", "else", "if", "(", "SDNode", "*", "Dest", "=", "isLSAAddress", "(", "Callee", ",", "DAG", ")", ")", "{", "Callee", "=", "SDValue", "(", "Dest", ",", "", ")", ";"], "ground_truth": ["}"], "File": "SPUISelLowering16", "Func": "LowerCall", "Target": "CellSPU", "Target_Clf": "MPU", "Compiler_Type": "LLVM", "Idx": 61370, "Length": 507, "Cover_Rate": 0.43148936170212765} {"Template_token": ["", "void", "TargetLowering", "::", "computeMaskedBitsForTargetNode", "(", "const", "SDValue", "Op", ",", "const", "APInt", "&", "Mask", ",", "APInt", "&", "KnownZero", ",", "APInt", "&", "KnownOne", ",", "const", "SelectionDAG", "&", "DAG", ",", "unsigned", "Depth", ")", "const", "{", "const", "uint64_t", "uint64_sizebits", "=", "sizeof", "(", "uint64_t", ")", "*", "CHAR_BIT", ";", "switch", "(", "Op", ".", "getOpcode", "(", ")", ")", "{", "default", ":", "break", ";", "case", "CALL", ":", "case", "SHUFB", ":", "case", "SHUFFLE_MASK", ":", "case", "CNTB", ":", "case", "", ":", "case", "", ":", "case", "", ":", "case", "", ":", "case", "", ":", "case", "", ":", "case", "", ":"], "ground_truth": ["case", "", ":"], "File": "SPUISelLowering1", "Func": "computeMaskedBitsForTargetNode", "Target": "CellSPU", "Target_Clf": "MPU", "Compiler_Type": "LLVM", "Idx": 61371, "Length": 92, "Cover_Rate": 0.7666666666666667} {"Template_token": ["", "EVT", "VT", "=", "Op", ".", "getValueType", "(", ")", ";", "if", "(", "VT", "!=", "", "&&", "VT", "!=", "", "&&", "VT", "!=", "", ")", "{", "VT", "=", "", ";", "}"], "ground_truth": ["return", "VT", ".", "getSizeInBits", "(", ")", ";"], "File": "SPUISelLowering1", "Func": "ComputeNumSignBitsForTargetNode", "Target": "CellSPU", "Target_Clf": "MPU", "Compiler_Type": "LLVM", "Idx": 61372, "Length": 36, "Cover_Rate": 0.45} {"Template_token": ["", "TargetLowering", "::", "ArgListEntry", "Entry", ";", "for", "(", "unsigned", "i", "=", "", ",", "e", "=", "Op", ".", "getNumOperands", "(", ")", ";", "i", "!=", "e", ";", "++", "i", ")", "{", "EVT", "ArgVT", "=", "Op", ".", "getOperand", "(", "i", ")", ".", "getValueType", "(", ")", ";", "const", "Type", "*", "ArgTy", "=", "ArgVT", ".", "getTypeForEVT", "(", "*", "DAG", ".", "getContext", "(", ")", ")", ";", "Entry", ".", "Node", "=", "Op", ".", "getOperand", "(", "i", ")", ";", "Entry", ".", "Ty", "=", "ArgTy", ";", "Entry", ".", "isSExt", "=", "isSigned", ";", "Entry", ".", "isZExt", "=", "!", "isSigned", ";", "Args", ".", "push_back", "(", "Entry", ")", ";"], "ground_truth": ["}"], "File": "SPUISelLowering1", "Func": "ExpandLibCall", "Target": "CellSPU", "Target_Clf": "MPU", "Compiler_Type": "LLVM", "Idx": 61373, "Length": 97, "Cover_Rate": 0.3975409836065574} {"Template_token": ["", "TargetLowering", "::", "ArgListEntry", "Entry", ";", "for", "(", "unsigned", "i", "=", "", ",", "e", "=", "Op", ".", "getNumOperands", "(", ")", ";", "i", "!=", "e", ";", "++", "i", ")", "{", "EVT", "ArgVT", "=", "Op", ".", "getOperand", "(", "i", ")", ".", "getValueType", "(", ")", ";", "const", "Type", "*", "ArgTy", "=", "ArgVT", ".", "getTypeForEVT", "(", "*", "DAG", ".", "getContext", "(", ")", ")", ";", "Entry", ".", "Node", "=", "Op", ".", "getOperand", "(", "i", ")", ";", "Entry", ".", "Ty", "=", "ArgTy", ";", "Entry", ".", "isSExt", "=", "isSigned", ";", "Entry", ".", "isZExt", "=", "!", "isSigned", ";"], "ground_truth": ["Args", ".", "push_back", "(", "Entry", ")", ";"], "File": "SPUISelLowering1", "Func": "ExpandLibCall", "Target": "CellSPU", "Target_Clf": "MPU", "Compiler_Type": "LLVM", "Idx": 61374, "Length": 96, "Cover_Rate": 0.39344262295081966} {"Template_token": ["", "unsigned", "TargetLowering", "::", "getFunctionAlignment", "(", "const", "Function", "*", ")", "const", "{", "return", "", ";"], "ground_truth": ["}"], "File": "SPUISelLowering1", "Func": "getFunctionAlignment", "Target": "CellSPU", "Target_Clf": "MPU", "Compiler_Type": "LLVM", "Idx": 61375, "Length": 15, "Cover_Rate": 1.0} {"Template_token": ["", "switch", "(", "Constraint", "[", "", "]", ")", "{", "case", "'b'", ":", "case", "'r'", ":", "if", "(", "VT", "==", "", ")", "return", "std", "::", "make_pair", "(", "", ",", "", ")", ";", "return", "std", "::", "make_pair", "(", "", ",", "", ")", ";", "case", "'f'", ":", "if", "(", "VT", "==", "", ")", "return", "std", "::", "make_pair", "(", "", ",", "", ")", ";", "else", "if", "(", "VT", "==", "", ")", "return", "std", "::", "make_pair", "(", "", ",", "", ")", ";", "break", ";", "case", "'v'", ":"], "ground_truth": ["return", "std", "::", "make_pair", "(", "", ",", "", ")", ";"], "File": "SPUISelLowering1", "Func": "getRegForInlineAsmConstraint", "Target": "CellSPU", "Target_Clf": "MPU", "Compiler_Type": "LLVM", "Idx": 61376, "Length": 91, "Cover_Rate": 0.5796178343949044} {"Template_token": ["", "", "TargetLowering", "::", "getSetCCResultType", "(", "EVT", "VT", ")", "const", "{"], "ground_truth": ["return", "(", "(", "VT", "==", "", "||", "VT", "==", "", "||", "VT", "==", "", ")", "?", "VT", ".", "getSimpleVT", "(", ")", ".", "SimpleTy", ":"], "File": "SPUISelLowering1", "Func": "getSetCCResultType", "Target": "CellSPU", "Target_Clf": "MPU", "Compiler_Type": "LLVM", "Idx": 61377, "Length": 34, "Cover_Rate": 0.7083333333333334} {"Template_token": ["", "node_names", "[", "(", "unsigned", ")", "", "]", "=", "", ";", "node_names", "[", "(", "unsigned", ")", "", "]", "=", "", ";", "node_names", "[", "(", "unsigned", ")", "", "]", "=", "", ";", "node_names", "[", "(", "unsigned", ")", "", "]", "=", "", ";", "node_names", "[", "(", "unsigned", ")", "", "]", "=", "", ";", "node_names", "[", "(", "unsigned", ")", "", "]", "=", "", ";", "node_names", "[", "(", "unsigned", ")", "", "]", "=", "", ";", "node_names", "[", "(", "unsigned", ")", "", "]", "=", "", ";", "node_names", "[", "(", "unsigned", ")", "", "]", "=", "", ";", "node_names", "[", "(", "unsigned", ")", "", "]", "=", "", ";", "node_names", "[", "(", "unsigned", ")", "", "]", "=", "", ";", "}", "std", "::", "map", "<", "unsigned", ",", "const", "char", "*", ">", "::", "iterator", "i", "=", "node_names", ".", "find", "(", "Opcode", ")", ";"], "ground_truth": ["return", "(", "(", "i", "!=", "node_names", ".", "end", "(", ")", ")", "?", "i", "->", "second", ":", "", ")", ";"], "File": "SPUISelLowering1", "Func": "getTargetNodeName", "Target": "CellSPU", "Target_Clf": "MPU", "Compiler_Type": "LLVM", "Idx": 61379, "Length": 151, "Cover_Rate": 0.4301994301994302} {"Template_token": ["", "break", ";", "}", "}", "if", "(", "retval", "==", "", ")", "{", "report_fatal_error", "(", "", "+", "Twine", "(", "VT", ".", "getEVTString", "(", ")", ")", ")", ";", "}"], "ground_truth": ["return", "retval", ";"], "File": "SPUISelLowering1", "Func": "getValueTypeMapEntry", "Target": "CellSPU", "Target_Clf": "MPU", "Compiler_Type": "LLVM", "Idx": 61380, "Length": 29, "Cover_Rate": 0.3670886075949367} {"Template_token": ["", "for", "(", "unsigned", "i", "=", "", ",", "e", "=", "N", "->", "getNumOperands", "(", ")", ";", "i", "!=", "e", ";", "++", "i", ")", "{", "if", "(", "N", "->", "getOperand", "(", "i", ")", ".", "getOpcode", "(", ")", "==", "", ")", "continue", ";"], "ground_truth": ["if", "(", "OpVal", ".", "getNode", "(", ")", "==", "", ")", "OpVal", "=", "N", "->", "getOperand", "(", "i", ")", ";"], "File": "SPUISelLowering1", "Func": "getVecImm", "Target": "CellSPU", "Target_Clf": "MPU", "Compiler_Type": "LLVM", "Idx": 61381, "Length": 59, "Cover_Rate": 0.45384615384615384} {"Template_token": ["", "else", "if", "(", "OpVal", "!=", "N", "->", "getOperand", "(", "i", ")", ")", "return", "", ";", "}", "if", "(", "OpVal", ".", "getNode", "(", ")", "!=", "", ")", "{"], "ground_truth": ["if", "(", "ConstantSDNode", "*", "CN", "=", "dyn_cast", "<", "ConstantSDNode", ">", "(", "OpVal", ")", ")", "{"], "File": "SPUISelLowering1", "Func": "getVecImm", "Target": "CellSPU", "Target_Clf": "MPU", "Compiler_Type": "LLVM", "Idx": 61382, "Length": 42, "Cover_Rate": 0.3230769230769231} {"Template_token": ["", "if", "(", "ConstantSDNode", "*", "CN", "=", "getVecImm", "(", "N", ")", ")", "{", "uint64_t", "Value", "=", "CN", "->", "getZExtValue", "(", ")", ";", "if", "(", "(", "ValueType", "==", "", "&&", "(", "(", "unsigned", ")", "Value", "&", "", ")", "==", "(", "unsigned", ")", "Value", ")", "||", "(", "ValueType", "==", "", "&&", "(", "Value", "&", "", ")", "==", "Value", ")", ")", "return", "DAG", ".", "getTargetConstant", "(", "Value", ">>", "", ",", "ValueType", ")", ";", "}"], "ground_truth": ["return", "SDValue", "(", ")", ";"], "File": "SPUISelLowering1", "Func": "get_ILHUvec_imm", "Target": "CellSPU", "Target_Clf": "MPU", "Compiler_Type": "LLVM", "Idx": 61383, "Length": 75, "Cover_Rate": 0.7731958762886598} {"Template_token": ["", "return", "DAG", ".", "getTargetConstant", "(", "(", "unsigned", ")", "CN", "->", "getZExtValue", "(", ")", ",", "", ")", ";"], "ground_truth": ["}"], "File": "SPUISelLowering1", "Func": "get_v4i32_imm", "Target": "CellSPU", "Target_Clf": "MPU", "Compiler_Type": "LLVM", "Idx": 61385, "Length": 18, "Cover_Rate": 0.34615384615384615} {"Template_token": ["", "uint32_t", "upper", "=", "uint32_t", "(", "UValue", ">>", "", ")", ";", "uint32_t", "lower", "=", "uint32_t", "(", "UValue", ")", ";", "if", "(", "upper", "!=", "lower", ")", "return", "SDValue", "(", ")", ";", "Value", "=", "Value", ">>", "", ";", "}", "if", "(", "isInt", "<", "", ">", "(", "Value", ")", ")", "return", "DAG", ".", "getTargetConstant", "(", "Value", ",", "ValueType", ")", ";", "}", "return", "SDValue", "(", ")", ";"], "ground_truth": ["}"], "File": "SPUISelLowering1", "Func": "get_vec_i10imm", "Target": "CellSPU", "Target_Clf": "MPU", "Compiler_Type": "LLVM", "Idx": 61386, "Length": 63, "Cover_Rate": 0.5294117647058824} {"Template_token": ["", "int64_t", "Value", "=", "CN", "->", "getSExtValue", "(", ")", ";", "if", "(", "ValueType", "==", "", ")", "{", "uint64_t", "UValue", "=", "CN", "->", "getZExtValue", "(", ")", ";", "uint32_t", "upper", "=", "uint32_t", "(", "UValue", ">>", "", ")", ";", "uint32_t", "lower", "=", "uint32_t", "(", "UValue", ")", ";", "if", "(", "upper", "!=", "lower", ")", "return", "SDValue", "(", ")", ";", "Value", "=", "Value", ">>", "", ";", "}"], "ground_truth": ["if", "(", "Value", ">=", "-", "(", "", "<<", "", ")", "&&", "Value", "<=", "(", "(", "", "<<", "", ")", "-", "", ")", ")", "{"], "File": "SPUISelLowering1", "Func": "get_vec_i16imm", "Target": "CellSPU", "Target_Clf": "MPU", "Compiler_Type": "LLVM", "Idx": 61387, "Length": 85, "Cover_Rate": 0.6343283582089553} {"Template_token": ["", "uint64_t", "UValue", "=", "CN", "->", "getZExtValue", "(", ")", ";", "uint32_t", "upper", "=", "uint32_t", "(", "UValue", ">>", "", ")", ";", "uint32_t", "lower", "=", "uint32_t", "(", "UValue", ")", ";", "if", "(", "upper", "!=", "lower", ")", "return", "SDValue", "(", ")", ";", "Value", "=", "Value", ">>", "", ";", "}"], "ground_truth": ["if", "(", "Value", "<=", "", ")", "return", "DAG", ".", "getTargetConstant", "(", "Value", ",", "ValueType", ")", ";"], "File": "SPUISelLowering1", "Func": "get_vec_u18imm", "Target": "CellSPU", "Target_Clf": "MPU", "Compiler_Type": "LLVM", "Idx": 61389, "Length": 61, "Cover_Rate": 0.5304347826086957} {"Template_token": ["", "bool", "TargetLowering", "::", "isLegalAddressImmediate", "(", "llvm", "::", "GlobalValue", "*", "GV", ")", "const", "{"], "ground_truth": ["return", "false", ";"], "File": "SPUISelLowering1", "Func": "isLegalAddressImmediate", "Target": "CellSPU", "Target_Clf": "MPU", "Compiler_Type": "LLVM", "Idx": 61390, "Length": 16, "Cover_Rate": 0.9411764705882353} {"Template_token": ["", "bool", "TargetLowering", "::", "isLegalAddressImmediate", "(", "llvm", "::", "GlobalValue", "*", "GV", ")", "const", "{"], "ground_truth": ["return", "false", ";"], "File": "SPUISelLowering1", "Func": "isLegalAddressImmediate", "Target": "CellSPU", "Target_Clf": "MPU", "Compiler_Type": "LLVM", "Idx": 61391, "Length": 16, "Cover_Rate": 0.9411764705882353} {"Template_token": ["", "if", "(", "(", "Addr", "&", "", ")", "!=", "", "||", "(", "Addr", "<<", "", ">>", "", ")", "!=", "Addr", ")", "return", "", ";"], "ground_truth": ["return", "DAG", ".", "getConstant", "(", "(", "int", ")", "C", "->", "getZExtValue", "(", ")", ">>", "", ",", "", ")", ".", "getNode", "(", ")", ";"], "File": "SPUISelLowering1", "Func": "isLSAAddress", "Target": "CellSPU", "Target_Clf": "MPU", "Compiler_Type": "LLVM", "Idx": 61392, "Length": 46, "Cover_Rate": 0.5054945054945055} {"Template_token": ["", "bool", "TargetLowering", "::", "isOffsetFoldingLegal", "(", "const", "GlobalAddressSDNode", "*", "GA", ")", "const", "{"], "ground_truth": ["return", "false", ";"], "File": "SPUISelLowering1", "Func": "isOffsetFoldingLegal", "Target": "CellSPU", "Target_Clf": "MPU", "Compiler_Type": "LLVM", "Idx": 61393, "Length": 15, "Cover_Rate": 0.9375} {"Template_token": ["", "bool", "TargetLowering", "::", "isOffsetFoldingLegal", "(", "const", "GlobalAddressSDNode", "*", "GA", ")", "const", "{", "return", "false", ";"], "ground_truth": ["}"], "File": "SPUISelLowering1", "Func": "isOffsetFoldingLegal", "Target": "CellSPU", "Target_Clf": "MPU", "Compiler_Type": "LLVM", "Idx": 61394, "Length": 16, "Cover_Rate": 1.0} {"Template_token": ["", "TargetLowering", "::", "LowerAsmOperandForConstraint", "(", "Op", ",", "ConstraintLetter", ",", "hasMemory", ",", "Ops", ",", "DAG", ")", ";"], "ground_truth": ["}"], "File": "SPUISelLowering1", "Func": "LowerAsmOperandForConstraint", "Target": "CellSPU", "Target_Clf": "MPU", "Compiler_Type": "LLVM", "Idx": 61396, "Length": 16, "Cover_Rate": 0.35555555555555557} {"Template_token": ["", "uint32_t", "Value32", "=", "uint32_t", "(", "SplatBits", ")", ";", "assert", "(", "SplatBitSize", "==", "", "&&", "", ")", ";", "SDValue", "T", "=", "DAG", ".", "getConstant", "(", "Value32", ",", "", ")", ";", "return", "DAG", ".", "getNode", "(", "", ",", "dl", ",", "", ",", "DAG", ".", "getNode", "(", "", ",", "dl", ",", "", ",", "T", ",", "T", ",", "T", ",", "T", ")", ")", ";", "break", ";", "}", "case", "", ":", "{", "uint64_t", "f64val", "=", "uint64_t", "(", "SplatBits", ")", ";", "assert", "(", "SplatBitSize", "==", "", "&&", "", ")", ";", "SDValue", "T", "=", "DAG", ".", "getConstant", "(", "f64val", ",", "", ")", ";", "return", "DAG", ".", "getNode", "(", "", ",", "dl", ",", "", ",", "DAG", ".", "getNode", "(", "", ",", "dl", ",", "", ",", "T", ",", "T", ")", ")", ";", "break", ";", "}", "case", "", ":", "{", "unsigned", "short", "Value16", "=", "SplatBits", ";", "SmallVector", "<", "SDValue", ",", "", ">", "Ops", ";", "Ops", ".", "assign", "(", "", ",", "DAG", ".", "getConstant", "(", "Value16", ",", "", ")", ")", ";", "return", "DAG", ".", "getNode", "(", "", ",", "dl", ",", "VT", ",", "DAG", ".", "getNode", "(", "", ",", "dl", ",", "", ",", "&", "Ops", "[", "", "]", ",", "Ops", ".", "size", "(", ")", ")", ")", ";", "}", "case", "", ":", "{", "unsigned", "short", "Value16", "=", "SplatBits", ";", "SDValue", "T", "=", "DAG", ".", "getConstant", "(", "Value16", ",", "EltVT", ")", ";", "SmallVector", "<", "SDValue", ",", "", ">", "Ops", ";", "Ops", ".", "assign", "(", "", ",", "T", ")", ";", "return", "DAG", ".", "getNode", "(", "", ",", "dl", ",", "VT", ",", "&", "Ops", "[", "", "]", ",", "Ops", ".", "size", "(", ")", ")", ";", "}", "case", "", ":", "{", "SDValue", "T", "=", "DAG", ".", "getConstant", "(", "unsigned", "(", "SplatBits", ")", ",", "VT", ".", "getVectorElementType", "(", ")", ")", ";", "return", "DAG", ".", "getNode", "(", "", ",", "dl", ",", "VT", ",", "T", ",", "T", ",", "T", ",", "T", ")", ";", "}", "case", "", ":", "{", "SDValue", "T", "=", "DAG", ".", "getConstant", "(", "unsigned", "(", "SplatBits", ")", ",", "VT", ".", "getVectorElementType", "(", ")", ")", ";", "return", "DAG", ".", "getNode", "(", "", ",", "dl", ",", "VT", ",", "T", ",", "T", ")", ";", "}", "case", "", ":", "{", "return", "", "(", "VT", ",", "DAG", ",", "SplatBits", ",", "dl", ")", ";", "}", "}", "return", "SDValue", "(", ")", ";"], "ground_truth": ["}"], "File": "SPUISelLowering1", "Func": "LowerBUILD_VECTOR", "Target": "CellSPU", "Target_Clf": "MPU", "Compiler_Type": "LLVM", "Idx": 61397, "Length": 368, "Cover_Rate": 0.6355785837651122} {"Template_token": ["", "assert", "(", "BCN", "!=", "", "&&", "", ")", ";", "APInt", "APSplatBits", ",", "APSplatUndef", ";", "unsigned", "SplatBitSize", ";", "bool", "HasAnyUndefs", ";", "unsigned", "minSplatBits", "=", "VT", ".", "getVectorElementType", "(", ")", ".", "getSizeInBits", "(", ")", ";", "if", "(", "BCN", "->", "isConstantSplat", "(", "APSplatBits", ",", "APSplatUndef", ",", "SplatBitSize", ",", "HasAnyUndefs", ",", "minSplatBits", ")", "&&", "minSplatBits", "<=", "SplatBitSize", ")", "{", "uint64_t", "SplatBits", "=", "APSplatBits", ".", "getZExtValue", "(", ")", ";", "SDValue", "tc", "=", "DAG", ".", "getTargetConstant", "(", "SplatBits", "&", "", ",", "", ")", ";", "SmallVector", "<", "SDValue", ",", "", ">", "tcVec", ";", "tcVec", ".", "assign", "(", "", ",", "tc", ")", ";"], "ground_truth": ["return", "DAG", ".", "getNode", "(", "Op", ".", "getNode", "(", ")", "->", "getOpcode", "(", ")", ",", "dl", ",", "VT", ",", "Arg", ",", "DAG", ".", "getNode", "(", "", ",", "dl", ",", "VT", ",", "&", "tcVec", "[", "", "]", ",", "tcVec", ".", "size", "(", ")", ")", ")", ";"], "File": "SPUISelLowering1", "Func": "LowerByteImmed", "Target": "CellSPU", "Target_Clf": "MPU", "Compiler_Type": "LLVM", "Idx": 61398, "Length": 140, "Cover_Rate": 0.42424242424242425} {"Template_token": ["", "}", "}", "if", "(", "ConstVec", ".", "getNode", "(", ")", "->", "getOpcode", "(", ")", "==", "", ")", "{", "BuildVectorSDNode", "*", "BCN", "=", "dyn_cast", "<", "BuildVectorSDNode", ">", "(", "ConstVec", ".", "getNode", "(", ")", ")", ";", "assert", "(", "BCN", "!=", "", "&&", "", ")", ";", "APInt", "APSplatBits", ",", "APSplatUndef", ";", "unsigned", "SplatBitSize", ";", "bool", "HasAnyUndefs", ";", "unsigned", "minSplatBits", "=", "VT", ".", "getVectorElementType", "(", ")", ".", "getSizeInBits", "(", ")", ";", "if", "(", "BCN", "->", "isConstantSplat", "(", "APSplatBits", ",", "APSplatUndef", ",", "SplatBitSize", ",", "HasAnyUndefs", ",", "minSplatBits", ")", "&&", "minSplatBits", "<=", "SplatBitSize", ")", "{", "uint64_t", "SplatBits", "=", "APSplatBits", ".", "getZExtValue", "(", ")", ";", "SDValue", "tc", "=", "DAG", ".", "getTargetConstant", "(", "SplatBits", "&", "", ",", "", ")", ";", "SmallVector", "<", "SDValue", ",", "", ">", "tcVec", ";", "tcVec", ".", "assign", "(", "", ",", "tc", ")", ";"], "ground_truth": ["return", "DAG", ".", "getNode", "(", "Op", ".", "getNode", "(", ")", "->", "getOpcode", "(", ")", ",", "dl", ",", "VT", ",", "Arg", ",", "DAG", ".", "getNode", "(", "", ",", "dl", ",", "VT", ",", "&", "tcVec", "[", "", "]", ",", "tcVec", ".", "size", "(", ")", ")", ")", ";"], "File": "SPUISelLowering1", "Func": "LowerByteImmed", "Target": "CellSPU", "Target_Clf": "MPU", "Compiler_Type": "LLVM", "Idx": 61399, "Length": 173, "Cover_Rate": 0.5242424242424243} {"Template_token": ["", "ConstantFPSDNode", "*", "FP", "=", "cast", "<", "ConstantFPSDNode", ">", "(", "Op", ".", "getNode", "(", ")", ")", ";", "assert", "(", "(", "FP", "!=", "", ")", "&&", "", ")", ";", "uint64_t", "dbits", "=", "DoubleToBits", "(", "FP", "->", "getValueAPF", "(", ")", ".", "convertToDouble", "(", ")", ")", ";", "SDValue", "T", "=", "DAG", ".", "getConstant", "(", "dbits", ",", "", ")", ";", "SDValue", "Tvec", "=", "DAG", ".", "getNode", "(", "", ",", "dl", ",", "", ",", "T", ",", "T", ")", ";"], "ground_truth": ["return", "DAG", ".", "getNode", "(", "", ",", "dl", ",", "VT", ",", "DAG", ".", "getNode", "(", "", ",", "dl", ",", "", ",", "Tvec", ")", ")", ";"], "File": "SPUISelLowering1", "Func": "LowerConstantFP", "Target": "CellSPU", "Target_Clf": "MPU", "Compiler_Type": "LLVM", "Idx": 61401, "Length": 98, "Cover_Rate": 0.6282051282051282} {"Template_token": ["", "DebugLoc", "dl", "=", "Op", ".", "getDebugLoc", "(", ")", ";", "if", "(", "VT", "==", "", ")", "{", "ConstantFPSDNode", "*", "FP", "=", "cast", "<", "ConstantFPSDNode", ">", "(", "Op", ".", "getNode", "(", ")", ")", ";", "assert", "(", "(", "FP", "!=", "", ")", "&&", "", ")", ";", "uint64_t", "dbits", "=", "DoubleToBits", "(", "FP", "->", "getValueAPF", "(", ")", ".", "convertToDouble", "(", ")", ")", ";", "SDValue", "T", "=", "DAG", ".", "getConstant", "(", "dbits", ",", "", ")", ";", "SDValue", "Tvec", "=", "DAG", ".", "getNode", "(", "", ",", "dl", ",", "", ",", "T", ",", "T", ")", ";"], "ground_truth": ["return", "DAG", ".", "getNode", "(", "", ",", "dl", ",", "VT", ",", "DAG", ".", "getNode", "(", "", ",", "dl", ",", "", ",", "Tvec", ")", ")", ";"], "File": "SPUISelLowering1", "Func": "LowerConstantFP", "Target": "CellSPU", "Target_Clf": "MPU", "Compiler_Type": "LLVM", "Idx": 61402, "Length": 114, "Cover_Rate": 0.7307692307692307} {"Template_token": ["", "return", "::", "LowerConstantPool", "(", "Op", ",", "DAG", ",", "TM", ".", "getSubtargetImpl", "(", ")", ")", ";"], "ground_truth": ["}"], "File": "SPUISelLowering1", "Func": "LowerConstantPool", "Target": "CellSPU", "Target_Clf": "MPU", "Compiler_Type": "LLVM", "Idx": 61404, "Length": 16, "Cover_Rate": 0.47058823529411764} {"Template_token": ["", "unsigned", "SUM1_reg", "=", "RegInfo", ".", "createVirtualRegister", "(", "&", "", ")", ";", "SDValue", "N", "=", "Op", ".", "getOperand", "(", "", ")", ";", "SDValue", "Elt0", "=", "DAG", ".", "getConstant", "(", "", ",", "", ")", ";", "SDValue", "Mask0", "=", "DAG", ".", "getConstant", "(", "", ",", "", ")", ";", "SDValue", "Shift1", "=", "DAG", ".", "getConstant", "(", "", ",", "", ")", ";", "SDValue", "Shift2", "=", "DAG", ".", "getConstant", "(", "", ",", "", ")", ";", "SDValue", "Promote", "=", "DAG", ".", "getNode", "(", "", ",", "dl", ",", "vecVT", ",", "N", ",", "N", ")", ";", "SDValue", "CNTB", "=", "DAG", ".", "getNode", "(", "", ",", "dl", ",", "vecVT", ",", "Promote", ")", ";", "SDValue", "CNTB_result", "=", "DAG", ".", "getNode", "(", "", ",", "dl", ",", "", ",", "CNTB", ",", "Elt0", ")", ";", "SDValue", "CNTB_rescopy", "=", "DAG", ".", "getCopyToReg", "(", "CNTB_result", ",", "dl", ",", "CNTB_reg", ",", "CNTB_result", ")", ";", "SDValue", "Comp1", "=", "DAG", ".", "getNode", "(", "", ",", "dl", ",", "", ",", "DAG", ".", "getCopyFromReg", "(", "CNTB_rescopy", ",", "dl", ",", "CNTB_reg", ",", "", ")", ",", "Shift1", ")", ";", "SDValue", "Sum1", "=", "DAG", ".", "getNode", "(", "", ",", "dl", ",", "", ",", "Comp1", ",", "DAG", ".", "getCopyFromReg", "(", "CNTB_rescopy", ",", "dl", ",", "CNTB_reg", ",", "", ")", ")", ";", "SDValue", "Sum1_rescopy", "=", "DAG", ".", "getCopyToReg", "(", "CNTB_result", ",", "dl", ",", "SUM1_reg", ",", "Sum1", ")", ";", "SDValue", "Comp2", "=", "DAG", ".", "getNode", "(", "", ",", "dl", ",", "", ",", "DAG", ".", "getCopyFromReg", "(", "Sum1_rescopy", ",", "dl", ",", "SUM1_reg", ",", "", ")", ",", "Shift2", ")", ";", "SDValue", "Sum2", "=", "DAG", ".", "getNode", "(", "", ",", "dl", ",", "", ",", "Comp2", ",", "DAG", ".", "getCopyFromReg", "(", "Sum1_rescopy", ",", "dl", ",", "SUM1_reg", ",", "", ")", ")", ";", "return", "DAG", ".", "getNode", "(", "", ",", "dl", ",", "", ",", "Sum2", ",", "Mask0", ")", ";", "}"], "ground_truth": ["case", "", ":"], "File": "SPUISelLowering1", "Func": "LowerCTPOP", "Target": "CellSPU", "Target_Clf": "MPU", "Compiler_Type": "LLVM", "Idx": 61405, "Length": 289, "Cover_Rate": 0.36536030341340076} {"Template_token": ["", "unsigned", "SUM1_reg", "=", "RegInfo", ".", "createVirtualRegister", "(", "&", "", ")", ";", "SDValue", "N", "=", "Op", ".", "getOperand", "(", "", ")", ";", "SDValue", "Elt0", "=", "DAG", ".", "getConstant", "(", "", ",", "", ")", ";", "SDValue", "Mask0", "=", "DAG", ".", "getConstant", "(", "", ",", "", ")", ";", "SDValue", "Shift1", "=", "DAG", ".", "getConstant", "(", "", ",", "", ")", ";", "SDValue", "Shift2", "=", "DAG", ".", "getConstant", "(", "", ",", "", ")", ";", "SDValue", "Promote", "=", "DAG", ".", "getNode", "(", "", ",", "dl", ",", "vecVT", ",", "N", ",", "N", ")", ";", "SDValue", "CNTB", "=", "DAG", ".", "getNode", "(", "", ",", "dl", ",", "vecVT", ",", "Promote", ")", ";", "SDValue", "CNTB_result", "=", "DAG", ".", "getNode", "(", "", ",", "dl", ",", "", ",", "CNTB", ",", "Elt0", ")", ";", "SDValue", "CNTB_rescopy", "=", "DAG", ".", "getCopyToReg", "(", "CNTB_result", ",", "dl", ",", "CNTB_reg", ",", "CNTB_result", ")", ";", "SDValue", "Comp1", "=", "DAG", ".", "getNode", "(", "", ",", "dl", ",", "", ",", "DAG", ".", "getCopyFromReg", "(", "CNTB_rescopy", ",", "dl", ",", "CNTB_reg", ",", "", ")", ",", "Shift1", ")", ";", "SDValue", "Sum1", "=", "DAG", ".", "getNode", "(", "", ",", "dl", ",", "", ",", "Comp1", ",", "DAG", ".", "getCopyFromReg", "(", "CNTB_rescopy", ",", "dl", ",", "CNTB_reg", ",", "", ")", ")", ";", "SDValue", "Sum1_rescopy", "=", "DAG", ".", "getCopyToReg", "(", "CNTB_result", ",", "dl", ",", "SUM1_reg", ",", "Sum1", ")", ";", "SDValue", "Comp2", "=", "DAG", ".", "getNode", "(", "", ",", "dl", ",", "", ",", "DAG", ".", "getCopyFromReg", "(", "Sum1_rescopy", ",", "dl", ",", "SUM1_reg", ",", "", ")", ",", "Shift2", ")", ";", "SDValue", "Sum2", "=", "DAG", ".", "getNode", "(", "", ",", "dl", ",", "", ",", "Comp2", ",", "DAG", ".", "getCopyFromReg", "(", "Sum1_rescopy", ",", "dl", ",", "SUM1_reg", ",", "", ")", ")", ";", "return", "DAG", ".", "getNode", "(", "", ",", "dl", ",", "", ",", "Sum2", ",", "Mask0", ")", ";", "}", "case", "", ":", "break", ";", "}"], "ground_truth": ["return", "SDValue", "(", ")", ";"], "File": "SPUISelLowering1", "Func": "LowerCTPOP", "Target": "CellSPU", "Target_Clf": "MPU", "Compiler_Type": "LLVM", "Idx": 61406, "Length": 297, "Cover_Rate": 0.3754740834386852} {"Template_token": ["", "report_fatal_error", "(", "", "+", "Twine", "(", "ObjectVT", ".", "getEVTString", "(", ")", ")", ")", ";", "case", "", ":", "ArgRegClass", "=", "&", "", ";", "break", ";", "case", "", ":", "ArgRegClass", "=", "&", "", ";", "break", ";", "case", "", ":", "ArgRegClass", "=", "&", "", ";", "break", ";", "case", "", ":", "ArgRegClass", "=", "&", "", ";", "break", ";", "case", "", ":", "ArgRegClass", "=", "&", "", ";", "break", ";", "case", "", ":", "ArgRegClass", "=", "&", "", ";", "break", ";", "case", "", ":", "ArgRegClass", "=", "&", "", ";", "break", ";", "case", "", ":", "case", "", ":", "case", "", ":", "case", "", ":", "case", "", ":", "case", "", ":", "ArgRegClass", "=", "&", "", ";", "break", ";", "}", "unsigned", "VReg", "=", "RegInfo", ".", "createVirtualRegister", "(", "ArgRegClass", ")", ";", "RegInfo", ".", "addLiveIn", "(", "ArgRegs", "[", "ArgRegIdx", "]", ",", "VReg", ")", ";", "ArgVal", "=", "DAG", ".", "getCopyFromReg", "(", "Chain", ",", "dl", ",", "VReg", ",", "ObjectVT", ")", ";", "++", "ArgRegIdx", ";", "}", "else", "{", "int", "FI", "=", "MFI", "->", "CreateFixedObject", "(", "ObjSize", ",", "ArgOffset", ",", "true", ",", "false", ")", ";", "SDValue", "FIN", "=", "DAG", ".", "getFrameIndex", "(", "FI", ",", "PtrVT", ")", ";", "ArgVal", "=", "DAG", ".", "getLoad", "(", "ObjectVT", ",", "dl", ",", "Chain", ",", "FIN", ",", "NULL", ",", "", ",", "false", ",", "false", ",", "", ")", ";", "ArgOffset", "+=", "StackSlotSize", ";", "}", "InVals", ".", "push_back", "(", "ArgVal", ")", ";", "Chain", "=", "ArgVal", ".", "getOperand", "(", "", ")", ";", "}", "if", "(", "isVarArg", ")", "{", "SmallVector", "<", "SDValue", ",", "", "-", "", "+", "", ">", "MemOps", ";"], "ground_truth": ["for", "(", ";", "ArgRegIdx", "!=", "NumArgRegs", ";", "++", "ArgRegIdx", ")", "{"], "File": "SPUISelLowering1", "Func": "LowerFormalArguments", "Target": "CellSPU", "Target_Clf": "MPU", "Compiler_Type": "LLVM", "Idx": 61408, "Length": 256, "Cover_Rate": 0.3956723338485317} {"Template_token": ["", "case", "", ":", "case", "", ":", "case", "", ":", "case", "", ":", "case", "", ":", "case", "", ":", "ArgRegClass", "=", "&", "", ";", "break", ";", "}", "unsigned", "VReg", "=", "RegInfo", ".", "createVirtualRegister", "(", "ArgRegClass", ")", ";", "RegInfo", ".", "addLiveIn", "(", "ArgRegs", "[", "ArgRegIdx", "]", ",", "VReg", ")", ";", "ArgVal", "=", "DAG", ".", "getCopyFromReg", "(", "Chain", ",", "dl", ",", "VReg", ",", "ObjectVT", ")", ";", "++", "ArgRegIdx", ";", "}", "else", "{", "int", "FI", "=", "MFI", "->", "CreateFixedObject", "(", "ObjSize", ",", "ArgOffset", ",", "true", ",", "false", ")", ";", "SDValue", "FIN", "=", "DAG", ".", "getFrameIndex", "(", "FI", ",", "PtrVT", ")", ";", "ArgVal", "=", "DAG", ".", "getLoad", "(", "ObjectVT", ",", "dl", ",", "Chain", ",", "FIN", ",", "NULL", ",", "", ",", "false", ",", "false", ",", "", ")", ";", "ArgOffset", "+=", "StackSlotSize", ";", "}", "InVals", ".", "push_back", "(", "ArgVal", ")", ";", "Chain", "=", "ArgVal", ".", "getOperand", "(", "", ")", ";", "}", "if", "(", "isVarArg", ")", "{", "SmallVector", "<", "SDValue", ",", "", "-", "", "+", "", ">", "MemOps", ";", "for", "(", ";", "ArgRegIdx", "!=", "NumArgRegs", ";", "++", "ArgRegIdx", ")", "{", "VarArgsFrameIndex", "=", "MFI", "->", "CreateFixedObject", "(", "StackSlotSize", ",", "ArgOffset", ",", "true", ",", "false", ")", ";", "SDValue", "FIN", "=", "DAG", ".", "getFrameIndex", "(", "VarArgsFrameIndex", ",", "PtrVT", ")", ";", "unsigned", "VReg", "=", "MF", ".", "addLiveIn", "(", "ArgRegs", "[", "ArgRegIdx", "]", ",", "&", "", ")", ";", "SDValue", "ArgVal", "=", "DAG", ".", "getRegister", "(", "VReg", ",", "", ")", ";", "SDValue", "Store", "=", "DAG", ".", "getStore", "(", "Chain", ",", "dl", ",", "ArgVal", ",", "FIN", ",", "NULL", ",", "", ",", "false", ",", "false", ",", "", ")", ";", "Chain", "=", "Store", ".", "getOperand", "(", "", ")", ";", "MemOps", ".", "push_back", "(", "Store", ")", ";", "ArgOffset", "+=", "StackSlotSize", ";", "}"], "ground_truth": ["if", "(", "!", "MemOps", ".", "empty", "(", ")", ")", "Chain", "=", "DAG", ".", "getNode", "(", "", ",", "dl", ",", "", ",", "&", "MemOps", "[", "", "]", ",", "MemOps", ".", "size", "(", ")", ")", ";"], "File": "SPUISelLowering1", "Func": "LowerFormalArguments", "Target": "CellSPU", "Target_Clf": "MPU", "Compiler_Type": "LLVM", "Idx": 61409, "Length": 308, "Cover_Rate": 0.4760432766615147} {"Template_token": ["", "EVT", "Op0VT", "=", "Op0", ".", "getValueType", "(", ")", ";", "if", "(", "(", "OpVT", "==", "", "&&", "Op0VT", "==", "", ")", "||", "OpVT", "==", "", ")", "{", "RTLIB", "::", "Libcall", "LC", "=", "(", "Op", ".", "getOpcode", "(", ")", "==", "", ")", "?", "RTLIB", "::", "getFPTOSINT", "(", "Op0VT", ",", "OpVT", ")", ":", "RTLIB", "::", "getFPTOUINT", "(", "Op0VT", ",", "OpVT", ")", ";", "assert", "(", "LC", "!=", "RTLIB", "::", "UNKNOWN_LIBCALL", "&&", "", ")", ";", "SDValue", "Dummy", ";", "return", "ExpandLibCall", "(", "LC", ",", "Op", ",", "DAG", ",", "false", ",", "Dummy", ",", "TLI", ")", ";", "}", "return", "Op", ";"], "ground_truth": ["}"], "File": "SPUISelLowering1", "Func": "LowerFP_TO_INT", "Target": "CellSPU", "Target_Clf": "MPU", "Compiler_Type": "LLVM", "Idx": 61410, "Length": 94, "Cover_Rate": 0.6861313868613139} {"Template_token": ["", "GlobalAddressSDNode", "*", "GSDN", "=", "cast", "<", "GlobalAddressSDNode", ">", "(", "Op", ")", ";", "const", "GlobalValue", "*", "GV", "=", "GSDN", "->", "getGlobal", "(", ")", ";", "SDValue", "GA", "=", "DAG", ".", "getTargetGlobalAddress", "(", "GV", ",", "PtrVT", ",", "GSDN", "->", "getOffset", "(", ")", ")", ";", "const", "TargetMachine", "&", "TM", "=", "DAG", ".", "getTarget", "(", ")", ";", "SDValue", "Zero", "=", "DAG", ".", "getConstant", "(", "", ",", "PtrVT", ")", ";", "DebugLoc", "dl", "=", "Op", ".", "getDebugLoc", "(", ")", ";", "if", "(", "TM", ".", "getRelocationModel", "(", ")", "==", "Reloc", "::", "Static", ")", "{", "if", "(", "!", "ST", "->", "usingLargeMem", "(", ")", ")", "{", "return", "DAG", ".", "getNode", "(", "", ",", "dl", ",", "PtrVT", ",", "GA", ",", "Zero", ")", ";", "}", "else", "{", "SDValue", "Hi", "=", "DAG", ".", "getNode", "(", "", ",", "dl", ",", "PtrVT", ",", "GA", ",", "Zero", ")", ";", "SDValue", "Lo", "=", "DAG", ".", "getNode", "(", "", ",", "dl", ",", "PtrVT", ",", "GA", ",", "Zero", ")", ";", "return", "DAG", ".", "getNode", "(", "", ",", "dl", ",", "PtrVT", ",", "Hi", ",", "Lo", ")", ";", "}", "}", "else", "{", "report_fatal_error", "(", "", "", ")", ";"], "ground_truth": ["}"], "File": "SPUISelLowering1", "Func": "LowerGlobalAddress", "Target": "CellSPU", "Target_Clf": "MPU", "Compiler_Type": "LLVM", "Idx": 61411, "Length": 178, "Cover_Rate": 0.8165137614678899} {"Template_token": ["", "case", "", ":", "{", "SDValue", "N1", "=", "Op", ".", "getOperand", "(", "", ")", ";", "N0", "=", "DAG", ".", "getNode", "(", "", ",", "dl", ",", "", ",", "N0", ")", ";", "N1", "=", "DAG", ".", "getNode", "(", "", ",", "dl", ",", "", ",", "N1", ")", ";", "return", "DAG", ".", "getNode", "(", "", ",", "dl", ",", "", ",", "DAG", ".", "getNode", "(", "Opc", ",", "dl", ",", "", ",", "N0", ",", "N1", ")", ")", ";", "}", "case", "", ":", "{", "SDValue", "N1", "=", "Op", ".", "getOperand", "(", "", ")", ";", "N0", "=", "DAG", ".", "getNode", "(", "", ",", "dl", ",", "", ",", "N0", ")", ";", "N1", "=", "DAG", ".", "getNode", "(", "", ",", "dl", ",", "", ",", "N1", ")", ";", "return", "DAG", ".", "getNode", "(", "", ",", "dl", ",", "", ",", "DAG", ".", "getNode", "(", "Opc", ",", "dl", ",", "", ",", "N0", ",", "N1", ")", ")", ";", "}", "case", "", ":", "case", "", ":", "{", "SDValue", "N1", "=", "Op", ".", "getOperand", "(", "", ")", ";", "EVT", "N1VT", "=", "N1", ".", "getValueType", "(", ")", ";", "N0", "=", "DAG", ".", "getNode", "(", "", ",", "dl", ",", "", ",", "N0", ")", ";", "if", "(", "!", "N1VT", ".", "bitsEq", "(", "ShiftVT", ")", ")", "{", "unsigned", "N1Opc", "=", "N1", ".", "getValueType", "(", ")", ".", "bitsLT", "(", "ShiftVT", ")", "?", "", ":", "", ";", "N1", "=", "DAG", ".", "getNode", "(", "N1Opc", ",", "dl", ",", "ShiftVT", ",", "N1", ")", ";", "}", "SDValue", "ExpandArg", "=", "DAG", ".", "getNode", "(", "", ",", "dl", ",", "", ",", "N0", ",", "DAG", ".", "getNode", "(", "", ",", "dl", ",", "", ",", "N0", ",", "DAG", ".", "getConstant", "(", "", ",", "", ")", ")", ")", ";", "return", "DAG", ".", "getNode", "(", "", ",", "dl", ",", "", ",", "DAG", ".", "getNode", "(", "Opc", ",", "dl", ",", "", ",", "ExpandArg", ",", "N1", ")", ")", ";", "}", "case", "", ":"], "ground_truth": ["case", "", ":", "{"], "File": "SPUISelLowering1", "Func": "LowerI8Math", "Target": "CellSPU", "Target_Clf": "MPU", "Compiler_Type": "LLVM", "Idx": 61412, "Length": 303, "Cover_Rate": 0.38305941845764857} {"Template_token": ["", "EVT", "VT", "=", "Op", ".", "getValueType", "(", ")", ";", "ConstantSDNode", "*", "CN", "=", "cast", "<", "ConstantSDNode", ">", "(", "IdxOp", ")", ";", "assert", "(", "CN", "!=", "", "&&", "", ")", ";", "EVT", "PtrVT", "=", "DAG", ".", "getTargetLoweringInfo", "(", ")", ".", "getPointerTy", "(", ")", ";", "SDValue", "Pointer", "=", "DAG", ".", "getNode", "(", "", ",", "dl", ",", "PtrVT", ",", "DAG", ".", "getRegister", "(", "", ",", "PtrVT", ")", ",", "DAG", ".", "getConstant", "(", "CN", "->", "getSExtValue", "(", ")", ",", "PtrVT", ")", ")", ";", "SDValue", "ShufMask", "=", "DAG", ".", "getNode", "(", "", ",", "dl", ",", "VT", ",", "Pointer", ")", ";"], "ground_truth": ["SDValue", "result", "=", "DAG", ".", "getNode", "(", "", ",", "dl", ",", "VT", ",", "DAG", ".", "getNode", "(", "", ",", "dl", ",", "VT", ",", "ValOp", ")", ",", "VecOp", ",", "DAG", ".", "getNode", "(", "", ",", "dl", ",", "", ",", "ShufMask", ")", ")", ";"], "File": "SPUISelLowering1", "Func": "LowerINSERT_VECTOR_ELT", "Target": "CellSPU", "Target_Clf": "MPU", "Compiler_Type": "LLVM", "Idx": 61413, "Length": 137, "Cover_Rate": 0.6650485436893204} {"Template_token": ["", "static", "SDValue", "LowerINSERT_VECTOR_ELT", "(", "SDValue", "Op", ",", "SelectionDAG", "&", "DAG", ")", "{", "SDValue", "VecOp", "=", "Op", ".", "getOperand", "(", "", ")", ";", "SDValue", "ValOp", "=", "Op", ".", "getOperand", "(", "", ")", ";", "SDValue", "IdxOp", "=", "Op", ".", "getOperand", "(", "", ")", ";", "DebugLoc", "dl", "=", "Op", ".", "getDebugLoc", "(", ")", ";", "EVT", "VT", "=", "Op", ".", "getValueType", "(", ")", ";", "ConstantSDNode", "*", "CN", "=", "cast", "<", "ConstantSDNode", ">", "(", "IdxOp", ")", ";", "assert", "(", "CN", "!=", "", "&&", "", ")", ";"], "ground_truth": ["EVT", "PtrVT", "=", "DAG", ".", "getTargetLoweringInfo", "(", ")", ".", "getPointerTy", "(", ")", ";"], "File": "SPUISelLowering1", "Func": "LowerINSERT_VECTOR_ELT", "Target": "CellSPU", "Target_Clf": "MPU", "Compiler_Type": "LLVM", "Idx": 61414, "Length": 94, "Cover_Rate": 0.4563106796116505} {"Template_token": ["", "SDValue", "Op0", "=", "Op", ".", "getOperand", "(", "", ")", ";", "EVT", "Op0VT", "=", "Op0", ".", "getValueType", "(", ")", ";", "if", "(", "(", "OpVT", "==", "", "&&", "Op0VT", "==", "", ")", "||", "Op0VT", "==", "", ")", "{", "RTLIB", "::", "Libcall", "LC", "=", "(", "Op", ".", "getOpcode", "(", ")", "==", "", ")", "?", "RTLIB", "::", "getSINTTOFP", "(", "Op0VT", ",", "OpVT", ")", ":", "RTLIB", "::", "getUINTTOFP", "(", "Op0VT", ",", "OpVT", ")", ";", "assert", "(", "LC", "!=", "RTLIB", "::", "UNKNOWN_LIBCALL", "&&", "", ")", ";", "SDValue", "Dummy", ";", "return", "ExpandLibCall", "(", "LC", ",", "Op", ",", "DAG", ",", "false", ",", "Dummy", ",", "TLI", ")", ";", "}", "return", "Op", ";"], "ground_truth": ["}"], "File": "SPUISelLowering1", "Func": "LowerINT_TO_FP", "Target": "CellSPU", "Target_Clf": "MPU", "Compiler_Type": "LLVM", "Idx": 61415, "Length": 104, "Cover_Rate": 0.7591240875912408} {"Template_token": ["", "EVT", "Op0VT", "=", "Op0", ".", "getValueType", "(", ")", ";", "if", "(", "(", "OpVT", "==", "", "&&", "Op0VT", "==", "", ")", "||", "Op0VT", "==", "", ")", "{", "RTLIB", "::", "Libcall", "LC", "=", "(", "Op", ".", "getOpcode", "(", ")", "==", "", ")", "?", "RTLIB", "::", "getSINTTOFP", "(", "Op0VT", ",", "OpVT", ")", ":", "RTLIB", "::", "getUINTTOFP", "(", "Op0VT", ",", "OpVT", ")", ";", "assert", "(", "LC", "!=", "RTLIB", "::", "UNKNOWN_LIBCALL", "&&", "", ")", ";", "SDValue", "Dummy", ";", "return", "ExpandLibCall", "(", "LC", ",", "Op", ",", "DAG", ",", "false", ",", "Dummy", ",", "TLI", ")", ";", "}"], "ground_truth": ["return", "Op", ";"], "File": "SPUISelLowering1", "Func": "LowerINT_TO_FP", "Target": "CellSPU", "Target_Clf": "MPU", "Compiler_Type": "LLVM", "Idx": 61416, "Length": 93, "Cover_Rate": 0.6788321167883211} {"Template_token": ["", "case", "", ":", "{", "SDValue", "result", ";", "SDValue", "basePtr", "=", "LN", "->", "getBasePtr", "(", ")", ";", "SDValue", "rotate", ";", "if", "(", "alignment", "==", "", ")", "{", "ConstantSDNode", "*", "CN", ";", "if", "(", "basePtr", ".", "getOpcode", "(", ")", "==", "", "&&", "(", "CN", "=", "dyn_cast", "<", "ConstantSDNode", ">", "(", "basePtr", ".", "getOperand", "(", "", ")", ")", ")", "!=", "", ")", "{", "int64_t", "offset", "=", "CN", "->", "getSExtValue", "(", ")", ";", "int64_t", "rotamt", "=", "int64_t", "(", "(", "offset", "&", "", ")", "-", "vtm", "->", "prefslot_byte", ")", ";", "if", "(", "rotamt", "<", "", ")", "rotamt", "+=", "", ";", "rotate", "=", "DAG", ".", "getConstant", "(", "rotamt", ",", "", ")", ";", "basePtr", "=", "basePtr", ".", "getOperand", "(", "", ")", ";", "if", "(", "(", "offset", "&", "~", "", ")", ">", "", ")", "{", "basePtr", "=", "DAG", ".", "getNode", "(", "", ",", "dl", ",", "PtrVT", ",", "basePtr", ",", "DAG", ".", "getConstant", "(", "(", "offset", "&", "~", "", ")", ",", "PtrVT", ")", ")", ";", "}", "}", "else", "if", "(", "(", "basePtr", ".", "getOpcode", "(", ")", "==", "", ")", "||", "(", "basePtr", ".", "getOpcode", "(", ")", "==", "", "&&", "basePtr", ".", "getOperand", "(", "", ")", ".", "getOpcode", "(", ")", "==", "", "&&", "basePtr", ".", "getOperand", "(", "", ")", ".", "getOpcode", "(", ")", "==", "", ")", ")", "{", "int64_t", "rotamt", "=", "-", "vtm", "->", "prefslot_byte", ";", "if", "(", "rotamt", "<", "", ")", "rotamt", "+=", "", ";", "rotate", "=", "DAG", ".", "getConstant", "(", "rotamt", ",", "", ")", ";", "}", "else", "{", "int64_t", "rotamt", "=", "-", "vtm", "->", "prefslot_byte", ";", "if", "(", "rotamt", "<", "", ")", "rotamt", "+=", "", ";", "rotate", "=", "DAG", ".", "getNode", "(", "", ",", "dl", ",", "PtrVT", ",", "basePtr", ",", "DAG", ".", "getConstant", "(", "rotamt", ",", "PtrVT", ")", ")", ";", "}", "}", "else", "{", "if", "(", "basePtr", ".", "getOpcode", "(", ")", "==", "", ")", "{", "MachineFunction", "&", "MF", "=", "DAG", ".", "getMachineFunction", "(", ")", ";", "MachineRegisterInfo", "&", "RegInfo", "=", "MF", ".", "getRegInfo", "(", ")", ";", "unsigned", "VReg", "=", "RegInfo", ".", "createVirtualRegister", "(", "&", "", ")", ";", "SDValue", "Flag", ";", "SDValue", "Op0", "=", "basePtr", ".", "getOperand", "(", "", ")", ";", "SDValue", "Op1", "=", "basePtr", ".", "getOperand", "(", "", ")", ";", "if", "(", "isa", "<", "ConstantSDNode", ">", "(", "Op1", ")", ")", "{", "basePtr", "=", "DAG", ".", "getNode", "(", "", ",", "dl", ",", "PtrVT", ",", "Op0", ",", "Op1", ")", ";", "the_chain", "=", "DAG", ".", "getCopyToReg", "(", "the_chain", ",", "dl", ",", "VReg", ",", "basePtr", ",", "Flag", ")", ";", "basePtr", "=", "DAG", ".", "getCopyFromReg", "(", "the_chain", ",", "dl", ",", "VReg", ",", "PtrVT", ")", ";", "}", "else", "{", "basePtr", "=", "DAG", ".", "getNode", "(", "", ",", "dl", ",", "PtrVT", ",", "Op0", ",", "Op1", ")", ";", "}", "}", "else", "{", "basePtr", "=", "DAG", ".", "getNode", "(", "", ",", "dl", ",", "PtrVT", ",", "basePtr", ",", "DAG", ".", "getConstant", "(", "", ",", "PtrVT", ")", ")", ";", "}", "rotate", "=", "DAG", ".", "getNode", "(", "", ",", "dl", ",", "PtrVT", ",", "basePtr", ",", "DAG", ".", "getConstant", "(", "-", "vtm", "->", "prefslot_byte", ",", "PtrVT", ")", ")", ";", "}"], "ground_truth": ["result", "=", "DAG", ".", "getLoad", "(", "", ",", "dl", ",", "the_chain", ",", "basePtr", ",", "LN", "->", "getSrcValue", "(", ")", ",", "LN", "->", "getSrcValueOffset", "(", ")", ",", "LN", "->", "isVolatile", "(", ")", ",", "LN", "->", "isNonTemporal", "(", ")", ",", "", ")", ";"], "File": "SPUISelLowering1", "Func": "LowerLOAD", "Target": "CellSPU", "Target_Clf": "MPU", "Compiler_Type": "LLVM", "Idx": 61417, "Length": 529, "Cover_Rate": 0.5365111561866126} {"Template_token": ["", "}", "}", "else", "{", "if", "(", "basePtr", ".", "getOpcode", "(", ")", "==", "", ")", "{", "MachineFunction", "&", "MF", "=", "DAG", ".", "getMachineFunction", "(", ")", ";", "MachineRegisterInfo", "&", "RegInfo", "=", "MF", ".", "getRegInfo", "(", ")", ";", "unsigned", "VReg", "=", "RegInfo", ".", "createVirtualRegister", "(", "&", "", ")", ";", "SDValue", "Flag", ";", "SDValue", "Op0", "=", "basePtr", ".", "getOperand", "(", "", ")", ";", "SDValue", "Op1", "=", "basePtr", ".", "getOperand", "(", "", ")", ";", "if", "(", "isa", "<", "ConstantSDNode", ">", "(", "Op1", ")", ")", "{", "basePtr", "=", "DAG", ".", "getNode", "(", "", ",", "dl", ",", "PtrVT", ",", "Op0", ",", "Op1", ")", ";", "the_chain", "=", "DAG", ".", "getCopyToReg", "(", "the_chain", ",", "dl", ",", "VReg", ",", "basePtr", ",", "Flag", ")", ";", "basePtr", "=", "DAG", ".", "getCopyFromReg", "(", "the_chain", ",", "dl", ",", "VReg", ",", "PtrVT", ")", ";", "}", "else", "{", "basePtr", "=", "DAG", ".", "getNode", "(", "", ",", "dl", ",", "PtrVT", ",", "Op0", ",", "Op1", ")", ";", "}", "}", "else", "{", "basePtr", "=", "DAG", ".", "getNode", "(", "", ",", "dl", ",", "PtrVT", ",", "basePtr", ",", "DAG", ".", "getConstant", "(", "", ",", "PtrVT", ")", ")", ";", "}", "rotate", "=", "DAG", ".", "getNode", "(", "", ",", "dl", ",", "PtrVT", ",", "basePtr", ",", "DAG", ".", "getConstant", "(", "-", "vtm", "->", "prefslot_byte", ",", "PtrVT", ")", ")", ";", "}", "result", "=", "DAG", ".", "getLoad", "(", "", ",", "dl", ",", "the_chain", ",", "basePtr", ",", "LN", "->", "getSrcValue", "(", ")", ",", "LN", "->", "getSrcValueOffset", "(", ")", ",", "LN", "->", "isVolatile", "(", ")", ",", "LN", "->", "isNonTemporal", "(", ")", ",", "", ")", ";", "the_chain", "=", "result", ".", "getValue", "(", "", ")", ";", "result", "=", "DAG", ".", "getNode", "(", "", ",", "dl", ",", "", ",", "result", ".", "getValue", "(", "", ")", ",", "rotate", ")", ";", "EVT", "vecVT", "=", "EVT", "::", "getVectorVT", "(", "*", "DAG", ".", "getContext", "(", ")", ",", "InVT", ",", "(", "", "/", "InVT", ".", "getSizeInBits", "(", ")", ")", ")", ";", "result", "=", "DAG", ".", "getNode", "(", "", ",", "dl", ",", "InVT", ",", "DAG", ".", "getNode", "(", "", ",", "dl", ",", "vecVT", ",", "result", ")", ")", ";", "if", "(", "ExtType", "==", "", ")", "{", "result", "=", "DAG", ".", "getNode", "(", "", ",", "dl", ",", "OutVT", ",", "result", ")", ";", "}", "else", "if", "(", "ExtType", "==", "", ")", "{", "result", "=", "DAG", ".", "getNode", "(", "", ",", "dl", ",", "OutVT", ",", "result", ")", ";", "}", "else", "if", "(", "ExtType", "==", "", ")", "{", "unsigned", "NewOpc", "=", "", ";", "if", "(", "OutVT", ".", "isFloatingPoint", "(", ")", ")", "NewOpc", "=", "", ";", "result", "=", "DAG", ".", "getNode", "(", "NewOpc", ",", "dl", ",", "OutVT", ",", "result", ")", ";", "}", "SDVTList", "retvts", "=", "DAG", ".", "getVTList", "(", "OutVT", ",", "", ")", ";", "SDValue", "retops", "[", "", "]", "=", "{", "result", ",", "the_chain", "}", ";", "result", "=", "DAG", ".", "getNode", "(", "", ",", "dl", ",", "retvts", ",", "retops", ",", "sizeof", "(", "retops", ")", "/", "sizeof", "(", "retops", "[", "", "]", ")", ")", ";", "return", "result", ";", "}", "case", "", ":", "case", "", ":", "case", "", ":", "case", "", ":", "case", "", ":", "{", "report_fatal_error", "(", "", "", "+", "Twine", "(", "(", "unsigned", ")", "LN", "->", "getAddressingMode", "(", ")", ")", ")", ";", "}", "}"], "ground_truth": ["return", "SDValue", "(", ")", ";"], "File": "SPUISelLowering1", "Func": "LowerLOAD", "Target": "CellSPU", "Target_Clf": "MPU", "Compiler_Type": "LLVM", "Idx": 61418, "Length": 516, "Cover_Rate": 0.5233265720081136} {"Template_token": ["", "case", "", ":", "return", "LowerLOAD", "(", "Op", ",", "DAG", ",", "TM", ".", "getSubtargetImpl", "(", ")", ")", ";", "case", "", ":", "return", "LowerSTORE", "(", "Op", ",", "DAG", ",", "TM", ".", "getSubtargetImpl", "(", ")", ")", ";", "case", "", ":", "return", "LowerConstantPool", "(", "Op", ",", "DAG", ",", "TM", ".", "getSubtargetImpl", "(", ")", ")", ";", "case", "", ":", "return", "LowerGlobalAddress", "(", "Op", ",", "DAG", ",", "TM", ".", "getSubtargetImpl", "(", ")", ")", ";", "case", "", ":", "return", "LowerJumpTable", "(", "Op", ",", "DAG", ",", "TM", ".", "getSubtargetImpl", "(", ")", ")", ";", "case", "", ":", "return", "LowerConstantFP", "(", "Op", ",", "DAG", ")", ";", "case", "", ":", "case", "", ":", "case", "", ":", "case", "", ":", "case", "", ":", "case", "", ":", "case", "", ":", "{", "if", "(", "VT", "==", "", ")", "return", "LowerI8Math", "(", "Op", ",", "DAG", ",", "Opc", ",", "*", "this", ")", ";", "break", ";", "}", "case", "", ":", "case", "", ":", "return", "LowerFP_TO_INT", "(", "Op", ",", "DAG", ",", "*", "this", ")", ";", "case", "", ":", "case", "", ":", "return", "LowerINT_TO_FP", "(", "Op", ",", "DAG", ",", "*", "this", ")", ";", "case", "", ":", "return", "LowerBUILD_VECTOR", "(", "Op", ",", "DAG", ")", ";", "case", "", ":", "return", "LowerSCALAR_TO_VECTOR", "(", "Op", ",", "DAG", ")", ";", "case", "", ":", "return", "LowerVECTOR_SHUFFLE", "(", "Op", ",", "DAG", ")", ";", "case", "", ":", "return", "LowerEXTRACT_VECTOR_ELT", "(", "Op", ",", "DAG", ")", ";", "case", "", ":", "return", "LowerINSERT_VECTOR_ELT", "(", "Op", ",", "DAG", ")", ";", "case", "", ":", "case", "", ":", "case", "", ":"], "ground_truth": ["return", "LowerByteImmed", "(", "Op", ",", "DAG", ")", ";"], "File": "SPUISelLowering1", "Func": "LowerOperation", "Target": "CellSPU", "Target_Clf": "MPU", "Compiler_Type": "LLVM", "Idx": 61419, "Length": 246, "Cover_Rate": 0.4949698189134809} {"Template_token": ["", "CCInfo", ".", "AnalyzeReturn", "(", "Outs", ",", "RetCC_", ")", ";", "if", "(", "DAG", ".", "getMachineFunction", "(", ")", ".", "getRegInfo", "(", ")", ".", "liveout_empty", "(", ")", ")", "{", "for", "(", "unsigned", "i", "=", "", ";", "i", "!=", "RVLocs", ".", "size", "(", ")", ";", "++", "i", ")", "DAG", ".", "getMachineFunction", "(", ")", ".", "getRegInfo", "(", ")", ".", "addLiveOut", "(", "RVLocs", "[", "i", "]", ".", "getLocReg", "(", ")", ")", ";", "}", "SDValue", "Flag", ";", "for", "(", "unsigned", "i", "=", "", ";", "i", "!=", "RVLocs", ".", "size", "(", ")", ";", "++", "i", ")", "{", "CCValAssign", "&", "VA", "=", "RVLocs", "[", "i", "]", ";", "assert", "(", "VA", ".", "isRegLoc", "(", ")", "&&", "", ")", ";"], "ground_truth": ["Chain", "=", "DAG", ".", "getCopyToReg", "(", "Chain", ",", "dl", ",", "VA", ".", "getLocReg", "(", ")", ",", "Outs", "[", "i", "]", ".", "Val", ",", "Flag", ")", ";"], "File": "SPUISelLowering1", "Func": "LowerReturn", "Target": "CellSPU", "Target_Clf": "MPU", "Compiler_Type": "LLVM", "Idx": 61420, "Length": 135, "Cover_Rate": 0.52734375} {"Template_token": ["", "static", "SDValue", "LowerSCALAR_TO_VECTOR", "(", "SDValue", "Op", ",", "SelectionDAG", "&", "DAG", ")", "{", "SDValue", "Op0", "=", "Op", ".", "getOperand", "(", "", ")", ";", "DebugLoc", "dl", "=", "Op", ".", "getDebugLoc", "(", ")", ";", "if", "(", "Op0", ".", "getNode", "(", ")", "->", "getOpcode", "(", ")", "==", "", ")", "{", "ConstantSDNode", "*", "CN", "=", "cast", "<", "ConstantSDNode", ">", "(", "Op0", ".", "getNode", "(", ")", ")", ";", "SmallVector", "<", "SDValue", ",", "", ">", "ConstVecValues", ";", "EVT", "VT", ";", "size_t", "n_copies", ";", "switch", "(", "Op", ".", "getValueType", "(", ")", ".", "getSimpleVT", "(", ")", ".", "SimpleTy", ")", "{", "default", ":", "llvm_unreachable", "(", "", "", ")", ";", "case", "", ":", "n_copies", "=", "", ";", "VT", "=", "", ";", "break", ";", "case", "", ":", "n_copies", "=", "", ";", "VT", "=", "", ";", "break", ";", "case", "", ":", "n_copies", "=", "", ";", "VT", "=", "", ";", "break", ";", "case", "", ":", "n_copies", "=", "", ";", "VT", "=", "", ";", "break", ";", "case", "", ":", "n_copies", "=", "", ";", "VT", "=", "", ";", "break", ";", "case", "", ":", "n_copies", "=", "", ";", "VT", "=", "", ";", "break", ";", "}", "SDValue", "CValue", "=", "DAG", ".", "getConstant", "(", "CN", "->", "getZExtValue", "(", ")", ",", "VT", ")", ";", "for", "(", "size_t", "j", "=", "", ";", "j", "<", "n_copies", ";", "++", "j", ")", "ConstVecValues", ".", "push_back", "(", "CValue", ")", ";", "return", "DAG", ".", "getNode", "(", "", ",", "dl", ",", "Op", ".", "getValueType", "(", ")", ",", "&", "ConstVecValues", "[", "", "]", ",", "ConstVecValues", ".", "size", "(", ")", ")", ";"], "ground_truth": ["}", "else", "{"], "File": "SPUISelLowering1", "Func": "LowerSCALAR_TO_VECTOR", "Target": "CellSPU", "Target_Clf": "MPU", "Compiler_Type": "LLVM", "Idx": 61421, "Length": 246, "Cover_Rate": 0.6910112359550562} {"Template_token": ["", "SmallVector", "<", "SDValue", ",", "", ">", "ConstVecValues", ";", "EVT", "VT", ";", "size_t", "n_copies", ";", "switch", "(", "Op", ".", "getValueType", "(", ")", ".", "getSimpleVT", "(", ")", ".", "SimpleTy", ")", "{", "default", ":", "llvm_unreachable", "(", "", "", ")", ";", "case", "", ":", "n_copies", "=", "", ";", "VT", "=", "", ";", "break", ";", "case", "", ":", "n_copies", "=", "", ";", "VT", "=", "", ";", "break", ";", "case", "", ":", "n_copies", "=", "", ";", "VT", "=", "", ";", "break", ";", "case", "", ":", "n_copies", "=", "", ";", "VT", "=", "", ";", "break", ";", "case", "", ":", "n_copies", "=", "", ";", "VT", "=", "", ";", "break", ";", "case", "", ":", "n_copies", "=", "", ";", "VT", "=", "", ";", "break", ";", "}", "SDValue", "CValue", "=", "DAG", ".", "getConstant", "(", "CN", "->", "getZExtValue", "(", ")", ",", "VT", ")", ";", "for", "(", "size_t", "j", "=", "", ";", "j", "<", "n_copies", ";", "++", "j", ")", "ConstVecValues", ".", "push_back", "(", "CValue", ")", ";", "return", "DAG", ".", "getNode", "(", "", ",", "dl", ",", "Op", ".", "getValueType", "(", ")", ",", "&", "ConstVecValues", "[", "", "]", ",", "ConstVecValues", ".", "size", "(", ")", ")", ";", "}", "else", "{", "switch", "(", "Op0", ".", "getValueType", "(", ")", ".", "getSimpleVT", "(", ")", ".", "SimpleTy", ")", "{", "default", ":", "llvm_unreachable", "(", "", ")", ";", "case", "", ":", "case", "", ":", "case", "", ":"], "ground_truth": ["case", "", ":"], "File": "SPUISelLowering1", "Func": "LowerSCALAR_TO_VECTOR", "Target": "CellSPU", "Target_Clf": "MPU", "Compiler_Type": "LLVM", "Idx": 61422, "Length": 218, "Cover_Rate": 0.6123595505617978} {"Template_token": ["", "static", "SDValue", "LowerSELECT_CC", "(", "SDValue", "Op", ",", "SelectionDAG", "&", "DAG", ",", "const", "TargetLowering", "&", "TLI", ")", "{", "EVT", "VT", "=", "Op", ".", "getValueType", "(", ")", ";", "SDValue", "lhs", "=", "Op", ".", "getOperand", "(", "", ")", ";", "SDValue", "rhs", "=", "Op", ".", "getOperand", "(", "", ")", ";", "SDValue", "trueval", "=", "Op", ".", "getOperand", "(", "", ")", ";", "SDValue", "falseval", "=", "Op", ".", "getOperand", "(", "", ")", ";", "SDValue", "condition", "=", "Op", ".", "getOperand", "(", "", ")", ";", "DebugLoc", "dl", "=", "Op", ".", "getDebugLoc", "(", ")", ";", "SDValue", "compare", "=", "DAG", ".", "getNode", "(", "", ",", "dl", ",", "TLI", ".", "getSetCCResultType", "(", "Op", ".", "getValueType", "(", ")", ")", ",", "lhs", ",", "rhs", ",", "condition", ")", ";"], "ground_truth": ["return", "DAG", ".", "getNode", "(", "", ",", "dl", ",", "VT", ",", "falseval", ",", "trueval", ",", "compare", ")", ";"], "File": "SPUISelLowering1", "Func": "LowerSELECT_CC", "Target": "CellSPU", "Target_Clf": "MPU", "Compiler_Type": "LLVM", "Idx": 61423, "Length": 132, "Cover_Rate": 0.9635036496350365} {"Template_token": ["", "static", "SDValue", "LowerSELECT_CC", "(", "SDValue", "Op", ",", "SelectionDAG", "&", "DAG", ",", "const", "TargetLowering", "&", "TLI", ")", "{", "EVT", "VT", "=", "Op", ".", "getValueType", "(", ")", ";", "SDValue", "lhs", "=", "Op", ".", "getOperand", "(", "", ")", ";", "SDValue", "rhs", "=", "Op", ".", "getOperand", "(", "", ")", ";", "SDValue", "trueval", "=", "Op", ".", "getOperand", "(", "", ")", ";", "SDValue", "falseval", "=", "Op", ".", "getOperand", "(", "", ")", ";", "SDValue", "condition", "=", "Op", ".", "getOperand", "(", "", ")", ";", "DebugLoc", "dl", "=", "Op", ".", "getDebugLoc", "(", ")", ";", "SDValue", "compare", "=", "DAG", ".", "getNode", "(", "", ",", "dl", ",", "TLI", ".", "getSetCCResultType", "(", "Op", ".", "getValueType", "(", ")", ")", ",", "lhs", ",", "rhs", ",", "condition", ")", ";"], "ground_truth": ["return", "DAG", ".", "getNode", "(", "", ",", "dl", ",", "VT", ",", "falseval", ",", "trueval", ",", "compare", ")", ";"], "File": "SPUISelLowering1", "Func": "LowerSELECT_CC", "Target": "CellSPU", "Target_Clf": "MPU", "Compiler_Type": "LLVM", "Idx": 61424, "Length": 132, "Cover_Rate": 0.9635036496350365} {"Template_token": ["", "SDValue", "lhsLo32", "=", "DAG", ".", "getNode", "(", "", ",", "dl", ",", "", ",", "i64lhs", ")", ";", "if", "(", "CC", "->", "get", "(", ")", "==", "", ")", "{", "APInt", "ccResultAllOnes", "=", "APInt", "::", "getAllOnesValue", "(", "ccResultVT", ".", "getSizeInBits", "(", ")", ")", ";", "return", "DAG", ".", "getNode", "(", "", ",", "dl", ",", "ccResultVT", ",", "DAG", ".", "getSetCC", "(", "dl", ",", "ccResultVT", ",", "lhs", ",", "DAG", ".", "getConstantFP", "(", "", ",", "lhsVT", ")", ",", "", ")", ",", "DAG", ".", "getConstant", "(", "ccResultAllOnes", ",", "ccResultVT", ")", ")", ";", "}", "else", "if", "(", "CC", "->", "get", "(", ")", "==", "", ")", "{", "return", "DAG", ".", "getNode", "(", "", ",", "dl", ",", "ccResultVT", ",", "DAG", ".", "getSetCC", "(", "dl", ",", "ccResultVT", ",", "lhsHi32abs", ",", "DAG", ".", "getConstant", "(", "", ",", "", ")", ",", "", ")", ",", "DAG", ".", "getSetCC", "(", "dl", ",", "ccResultVT", ",", "lhsLo32", ",", "DAG", ".", "getConstant", "(", "", ",", "", ")", ",", "", ")", ")", ";", "}", "SDValue", "i64rhs", "=", "DAG", ".", "getNode", "(", "", ",", "dl", ",", "IntVT", ",", "rhs", ")", ";", "SDValue", "rhsHi32", "=", "DAG", ".", "getNode", "(", "", ",", "dl", ",", "", ",", "DAG", ".", "getNode", "(", "", ",", "dl", ",", "IntVT", ",", "i64rhs", ",", "DAG", ".", "getConstant", "(", "", ",", "", ")", ")", ")", ";", "SDValue", "signMag2TC", "=", "DAG", ".", "getConstant", "(", "", ",", "IntVT", ")", ";", "SDValue", "lhsSelectMask", "=", "DAG", ".", "getNode", "(", "", ",", "dl", ",", "ccResultVT", ",", "lhsHi32", ",", "DAG", ".", "getConstant", "(", "", ",", "", ")", ")", ";", "SDValue", "lhsSignMag2TC", "=", "DAG", ".", "getNode", "(", "", ",", "dl", ",", "IntVT", ",", "signMag2TC", ",", "i64lhs", ")", ";", "SDValue", "lhsSelect", "=", "DAG", ".", "getNode", "(", "", ",", "dl", ",", "IntVT", ",", "lhsSelectMask", ",", "lhsSignMag2TC", ",", "i64lhs", ")", ";", "SDValue", "rhsSelectMask", "=", "DAG", ".", "getNode", "(", "", ",", "dl", ",", "ccResultVT", ",", "rhsHi32", ",", "DAG", ".", "getConstant", "(", "", ",", "", ")", ")", ";", "SDValue", "rhsSignMag2TC", "=", "DAG", ".", "getNode", "(", "", ",", "dl", ",", "IntVT", ",", "signMag2TC", ",", "i64rhs", ")", ";", "SDValue", "rhsSelect", "=", "DAG", ".", "getNode", "(", "", ",", "dl", ",", "IntVT", ",", "rhsSelectMask", ",", "rhsSignMag2TC", ",", "i64rhs", ")", ";", "unsigned", "compareOp", ";", "switch", "(", "CC", "->", "get", "(", ")", ")", "{", "case", "", ":", "case", "", ":", "compareOp", "=", "", ";", "break", ";", "case", "", ":", "case", "", ":", "compareOp", "=", "", ";", "break", ";", "case", "", ":", "case", "", ":", "compareOp", "=", "", ";", "break", ";", "case", "", ":", "case", "", ":", "compareOp", "=", "", ";", "break", ";", "case", "", ":", "case", "", ":", "compareOp", "=", "", ";", "break", ";", "case", "", ":", "case", "", ":", "compareOp", "=", "", ";", "break", ";", "default", ":", "report_fatal_error", "(", "", ")", ";", "}", "SDValue", "result", "=", "DAG", ".", "getSetCC", "(", "dl", ",", "ccResultVT", ",", "lhsSelect", ",", "rhsSelect", ",", "(", "", ")", "compareOp", ")", ";", "if", "(", "(", "CC", "->", "get", "(", ")", "&", "", ")", "==", "", ")", "{"], "ground_truth": ["SDValue", "lhsNaN", "=", "DAG", ".", "getSetCC", "(", "dl", ",", "ccResultVT", ",", "lhs", ",", "DAG", ".", "getConstantFP", "(", "", ",", "", ")", ",", "", ")", ";"], "File": "SPUISelLowering1", "Func": "LowerSETCC", "Target": "CellSPU", "Target_Clf": "MPU", "Compiler_Type": "LLVM", "Idx": 61425, "Length": 497, "Cover_Rate": 0.5641316685584563} {"Template_token": ["", "MVT", "mvt", "=", "Op0VT", "==", "", "?", "", ":", "", ";", "SDValue", "sraVal", "=", "DAG", ".", "getNode", "(", "", ",", "dl", ",", "mvt", ",", "DAG", ".", "getNode", "(", "", ",", "dl", ",", "mvt", ",", "Op0", ",", "Op0", ")", ",", "DAG", ".", "getConstant", "(", "", ",", "", ")", ")", ";", "SDValue", "extShuffle", "=", "DAG", ".", "getNode", "(", "", ",", "dl", ",", "mvt", ",", "DAG", ".", "getNode", "(", "", ",", "dl", ",", "", ",", "Op0", ")", ",", "sraVal", ",", "shufMask", ")", ";"], "ground_truth": ["return", "DAG", ".", "getNode", "(", "", ",", "dl", ",", "", ",", "extShuffle", ")", ";"], "File": "SPUISelLowering1", "Func": "LowerSIGN_EXTEND", "Target": "CellSPU", "Target_Clf": "MPU", "Compiler_Type": "LLVM", "Idx": 61426, "Length": 94, "Cover_Rate": 0.3197278911564626} {"Template_token": ["", "EVT", "VT", "=", "Op", ".", "getValueType", "(", ")", ";", "MVT", "simpleVT", "=", "VT", ".", "getSimpleVT", "(", ")", ";", "EVT", "VecVT", "=", "EVT", "::", "getVectorVT", "(", "*", "DAG", ".", "getContext", "(", ")", ",", "VT", ",", "(", "", "/", "VT", ".", "getSizeInBits", "(", ")", ")", ")", ";", "DebugLoc", "dl", "=", "Op", ".", "getDebugLoc", "(", ")", ";", "SDValue", "Op0", "=", "Op", ".", "getOperand", "(", "", ")", ";", "EVT", "Op0VT", "=", "Op0", ".", "getValueType", "(", ")", ";", "if", "(", "Op0VT", ".", "getSimpleVT", "(", ")", "==", "", "&&", "simpleVT", "==", "", ")", "{", "unsigned", "maskHigh", "=", "", ";"], "ground_truth": ["unsigned", "maskLow", "=", "", ";"], "File": "SPUISelLowering1", "Func": "LowerTRUNCATE", "Target": "CellSPU", "Target_Clf": "MPU", "Compiler_Type": "LLVM", "Idx": 61428, "Length": 98, "Cover_Rate": 0.4434389140271493} {"Template_token": ["", "uint32_t", "upper", "=", "uint32_t", "(", "SplatVal", ">>", "", ")", ";", "uint32_t", "lower", "=", "uint32_t", "(", "SplatVal", ")", ";", "if", "(", "upper", "==", "lower", ")", "{", "SDValue", "Val", "=", "DAG", ".", "getTargetConstant", "(", "upper", ",", "", ")", ";", "return", "DAG", ".", "getNode", "(", "", ",", "dl", ",", "OpVT", ",", "DAG", ".", "getNode", "(", "", ",", "dl", ",", "", ",", "Val", ",", "Val", ",", "Val", ",", "Val", ")", ")", ";", "}", "else", "{", "bool", "upper_special", ",", "lower_special", ";", "upper_special", "=", "(", "upper", "==", "", "||", "upper", "==", "", "||", "upper", "==", "", ")", ";", "lower_special", "=", "(", "lower", "==", "", "||", "lower", "==", "", "||", "lower", "==", "", ")", ";", "if", "(", "lower_special", "&&", "upper_special", ")", "{", "SDValue", "SplatValCN", "=", "DAG", ".", "getConstant", "(", "SplatVal", ",", "", ")", ";", "return", "DAG", ".", "getNode", "(", "", ",", "dl", ",", "", ",", "SplatValCN", ",", "SplatValCN", ")", ";", "}", "SDValue", "LO32", ";", "SDValue", "HI32", ";", "SmallVector", "<", "SDValue", ",", "", ">", "ShufBytes", ";", "SDValue", "Result", ";", "if", "(", "!", "lower_special", ")", "{", "SDValue", "LO32C", "=", "DAG", ".", "getConstant", "(", "lower", ",", "", ")", ";", "LO32", "=", "DAG", ".", "getNode", "(", "", ",", "dl", ",", "OpVT", ",", "DAG", ".", "getNode", "(", "", ",", "dl", ",", "", ",", "LO32C", ",", "LO32C", ",", "LO32C", ",", "LO32C", ")", ")", ";", "}", "if", "(", "!", "upper_special", ")", "{", "SDValue", "HI32C", "=", "DAG", ".", "getConstant", "(", "upper", ",", "", ")", ";", "HI32", "=", "DAG", ".", "getNode", "(", "", ",", "dl", ",", "OpVT", ",", "DAG", ".", "getNode", "(", "", ",", "dl", ",", "", ",", "HI32C", ",", "HI32C", ",", "HI32C", ",", "HI32C", ")", ")", ";", "}", "if", "(", "lower_special", ")", "LO32", "=", "HI32", ";", "if", "(", "upper_special", ")", "HI32", "=", "LO32", ";"], "ground_truth": ["for", "(", "int", "i", "=", "", ";", "i", "<", "", ";", "++", "i", ")", "{"], "File": "SPUISelLowering1", "Func": "LowerV2I64Splat", "Target": "CellSPU", "Target_Clf": "MPU", "Compiler_Type": "LLVM", "Idx": 61429, "Length": 294, "Cover_Rate": 0.5148861646234676} {"Template_token": ["", "}", "else", "if", "(", "CurrElt", "!=", "SrcElt", ")", "{", "monotonic", "=", "false", ";", "}", "++", "CurrElt", ";", "}", "if", "(", "rotate", ")", "{", "if", "(", "PrevElt", ">", "", "&&", "SrcElt", "<", "MaxElts", ")", "{", "if", "(", "(", "PrevElt", "==", "SrcElt", "-", "", ")", "||", "(", "PrevElt", "==", "MaxElts", "-", "", "&&", "SrcElt", "==", "", ")", ")", "{", "PrevElt", "=", "SrcElt", ";", "if", "(", "SrcElt", "==", "", ")", "V0Elt", "=", "i", ";", "}", "else", "{", "rotate", "=", "false", ";", "}", "}", "else", "if", "(", "PrevElt", "==", "", ")", "{", "PrevElt", "=", "SrcElt", ";", "}", "else", "{", "rotate", "=", "false", ";", "}", "}", "}", "if", "(", "EltsFromV2", "==", "", "&&", "monotonic", ")", "{", "MachineFunction", "&", "MF", "=", "DAG", ".", "getMachineFunction", "(", ")", ";", "MachineRegisterInfo", "&", "RegInfo", "=", "MF", ".", "getRegInfo", "(", ")", ";", "unsigned", "VReg", "=", "RegInfo", ".", "createVirtualRegister", "(", "&", "", ")", ";", "EVT", "PtrVT", "=", "DAG", ".", "getTargetLoweringInfo", "(", ")", ".", "getPointerTy", "(", ")", ";", "SDValue", "InitTempReg", "=", "DAG", ".", "getCopyToReg", "(", "DAG", ".", "getEntryNode", "(", ")", ",", "dl", ",", "VReg", ",", "DAG", ".", "getConstant", "(", "", ",", "PtrVT", ")", ")", ";", "SDValue", "ShufMaskOp", "=", "DAG", ".", "getNode", "(", "", ",", "dl", ",", "", ",", "DAG", ".", "getTargetConstant", "(", "V2Elt", ",", "", ")", ",", "DAG", ".", "getCopyFromReg", "(", "InitTempReg", ",", "dl", ",", "VReg", ",", "PtrVT", ")", ")", ";", "return", "DAG", ".", "getNode", "(", "", ",", "dl", ",", "V1", ".", "getValueType", "(", ")", ",", "V2", ",", "V1", ",", "ShufMaskOp", ")", ";", "}", "else", "if", "(", "rotate", ")", "{", "int", "rotamt", "=", "(", "MaxElts", "-", "V0Elt", ")", "*", "EltVT", ".", "getSizeInBits", "(", ")", "/", "", ";", "return", "DAG", ".", "getNode", "(", "", ",", "dl", ",", "V1", ".", "getValueType", "(", ")", ",", "V1", ",", "DAG", ".", "getConstant", "(", "rotamt", ",", "", ")", ")", ";", "}", "else", "{", "unsigned", "BytesPerElement", "=", "EltVT", ".", "getSizeInBits", "(", ")", "/", "", ";", "SmallVector", "<", "SDValue", ",", "", ">", "ResultMask", ";", "for", "(", "unsigned", "i", "=", "", ",", "e", "=", "MaxElts", ";", "i", "!=", "e", ";", "++", "i", ")", "{", "unsigned", "SrcElt", "=", "SVN", "->", "getMaskElt", "(", "i", ")", "<", "", "?", "", ":", "SVN", "->", "getMaskElt", "(", "i", ")", ";", "for", "(", "unsigned", "j", "=", "", ";", "j", "<", "BytesPerElement", ";", "++", "j", ")", "ResultMask", ".", "push_back", "(", "DAG", ".", "getConstant", "(", "SrcElt", "*", "BytesPerElement", "+", "j", ",", "", ")", ")", ";", "}", "SDValue", "VPermMask", "=", "DAG", ".", "getNode", "(", "", ",", "dl", ",", "", ",", "&", "ResultMask", "[", "", "]", ",", "ResultMask", ".", "size", "(", ")", ")", ";", "return", "DAG", ".", "getNode", "(", "", ",", "dl", ",", "V1", ".", "getValueType", "(", ")", ",", "V1", ",", "V2", ",", "VPermMask", ")", ";", "}"], "ground_truth": ["}"], "File": "SPUISelLowering1", "Func": "LowerVECTOR_SHUFFLE", "Target": "CellSPU", "Target_Clf": "MPU", "Compiler_Type": "LLVM", "Idx": 61430, "Length": 436, "Cover_Rate": 0.5868102288021534} {"Template_token": ["", "if", "(", "Op0", ".", "getOpcode", "(", ")", "==", "", "&&", "NodeVT", "==", "Op0VT", ")", "{", "if", "(", "DebugFlag", "&&", "isCurrentDebugType", "(", "DEBUG_TYPE", ")", ")", "{", "errs", "(", ")", "<<", "", ";", "N", "->", "dump", "(", "&", "DAG", ")", ";", "errs", "(", ")", "<<", "", ";", "Op0", ".", "getNode", "(", ")", "->", "dump", "(", "&", "DAG", ")", ";", "errs", "(", ")", "<<", "", ";", "}", "return", "Op0", ";", "}", "break", ";", "}", "case", "", ":", "{", "if", "(", "!", "ST", "->", "usingLargeMem", "(", ")", "&&", "Op0", ".", "getOpcode", "(", ")", "==", "", ")", "{", "ConstantSDNode", "*", "CN", "=", "dyn_cast", "<", "ConstantSDNode", ">", "(", "N", "->", "getOperand", "(", "", ")", ")", ";", "if", "(", "CN", "!=", "", "&&", "CN", "->", "getZExtValue", "(", ")", "==", "", ")", "{", "DEBUG", "(", "errs", "(", ")", "<<", "", ")", ";", "DEBUG", "(", "N", "->", "dump", "(", "&", "DAG", ")", ")", ";", "DEBUG", "(", "errs", "(", ")", "<<", "", ")", ";", "DEBUG", "(", "Op0", ".", "getNode", "(", ")", "->", "dump", "(", "&", "DAG", ")", ")", ";", "DEBUG", "(", "errs", "(", ")", "<<", "", ")", ";", "return", "Op0", ";", "}", "}", "else", "if", "(", "Op0", ".", "getOpcode", "(", ")", "==", "", ")", "{", "SDValue", "Op1", "=", "N", "->", "getOperand", "(", "", ")", ";", "if", "(", "ConstantSDNode", "*", "CN1", "=", "dyn_cast", "<", "ConstantSDNode", ">", "(", "Op1", ")", ")", "{", "if", "(", "CN1", "->", "isNullValue", "(", ")", ")", "{", "if", "(", "DebugFlag", "&&", "isCurrentDebugType", "(", "DEBUG_TYPE", ")", ")", "{", "errs", "(", ")", "<<", "", "<<", "", "<<", "", ";", "}", "return", "DAG", ".", "getNode", "(", "", ",", "dl", ",", "Op0VT", ",", "Op0", ".", "getOperand", "(", "", ")", ",", "Op0", ".", "getOperand", "(", "", ")", ")", ";", "}", "}"], "ground_truth": ["}"], "File": "SPUISelLowering1", "Func": "PerformDAGCombine", "Target": "CellSPU", "Target_Clf": "MPU", "Compiler_Type": "LLVM", "Idx": 61431, "Length": 279, "Cover_Rate": 0.31208053691275167} {"Template_token": ["", "default", ":", "{", "errs", "(", ")", "<<", "", ";", "errs", "(", ")", "<<", "", "<<", "Opc", "<<", "", ";", "errs", "(", ")", "<<", "", ";", "N", "->", "dump", "(", ")", ";", "abort", "(", ")", ";", "}", "}"], "ground_truth": ["}"], "File": "SPUISelLowering1", "Func": "ReplaceNodeResults", "Target": "CellSPU", "Target_Clf": "MPU", "Compiler_Type": "LLVM", "Idx": 61432, "Length": 38, "Cover_Rate": 0.4418604651162791} {"Template_token": ["", "Entry", ".", "Node", "=", "Op", ".", "getOperand", "(", "i", ")", ";", "Entry", ".", "Ty", "=", "ArgTy", ";", "Entry", ".", "isSExt", "=", "isSigned", ";", "Entry", ".", "isZExt", "=", "!", "isSigned", ";", "Args", ".", "push_back", "(", "Entry", ")", ";", "}", "SDValue", "Callee", "=", "DAG", ".", "getExternalSymbol", "(", "TLI", ".", "getLibcallName", "(", "LC", ")", ",", "TLI", ".", "getPointerTy", "(", ")", ")", ";"], "ground_truth": ["const", "Type", "*", "RetTy", "=", "Op", ".", "getNode", "(", ")", "->", "getValueType", "(", "", ")", ".", "getTypeForEVT", "(", "*", "DAG", ".", "getContext", "(", ")", ")", ";"], "File": "SPUISelLowering3", "Func": "ExpandLibCall", "Target": "CellSPU", "Target_Clf": "MPU", "Compiler_Type": "LLVM", "Idx": 61433, "Length": 85, "Cover_Rate": 0.3469387755102041} {"Template_token": ["", "SDValue", "ExpandLibCall", "(", "RTLIB", "::", "Libcall", "LC", ",", "SDValue", "Op", ",", "SelectionDAG", "&", "DAG", ",", "bool", "isSigned", ",", "SDValue", "&", "Hi", ",", "const", "TargetLowering", "&", "TLI", ")", "{", "SDValue", "InChain", "=", "DAG", ".", "getEntryNode", "(", ")", ";", "TargetLowering", "::", "ArgListTy", "Args", ";", "TargetLowering", "::", "ArgListEntry", "Entry", ";", "for", "(", "unsigned", "i", "=", "", ",", "e", "=", "Op", ".", "getNumOperands", "(", ")", ";", "i", "!=", "e", ";", "++", "i", ")", "{", "EVT", "ArgVT", "=", "Op", ".", "getOperand", "(", "i", ")", ".", "getValueType", "(", ")", ";", "const", "Type", "*", "ArgTy", "=", "ArgVT", ".", "getTypeForEVT", "(", "*", "DAG", ".", "getContext", "(", ")", ")", ";", "Entry", ".", "Node", "=", "Op", ".", "getOperand", "(", "i", ")", ";", "Entry", ".", "Ty", "=", "ArgTy", ";", "Entry", ".", "isSExt", "=", "isSigned", ";"], "ground_truth": ["Entry", ".", "isZExt", "=", "!", "isSigned", ";"], "File": "SPUISelLowering3", "Func": "ExpandLibCall", "Target": "CellSPU", "Target_Clf": "MPU", "Compiler_Type": "LLVM", "Idx": 61434, "Length": 131, "Cover_Rate": 0.5346938775510204} {"Template_token": ["", "TargetLowering", "::", "LowerAsmOperandForConstraint", "(", "Op", ",", "ConstraintLetter", ",", "Ops", ",", "DAG", ")", ";"], "ground_truth": ["}"], "File": "SPUISelLowering3", "Func": "LowerAsmOperandForConstraint", "Target": "CellSPU", "Target_Clf": "MPU", "Compiler_Type": "LLVM", "Idx": 61436, "Length": 14, "Cover_Rate": 0.35} {"Template_token": ["", "unsigned", "SplatBitSize", ";", "bool", "HasAnyUndefs", ";", "if", "(", "!", "BCN", "->", "isConstantSplat", "(", "APSplatBits", ",", "APSplatUndef", ",", "SplatBitSize", ",", "HasAnyUndefs", ",", "minSplatBits", ")", "||", "minSplatBits", "<", "SplatBitSize", ")", "return", "SDValue", "(", ")", ";", "uint64_t", "SplatBits", "=", "APSplatBits", ".", "getZExtValue", "(", ")", ";", "switch", "(", "VT", ".", "getSimpleVT", "(", ")", ".", "SimpleTy", ")", "{", "default", ":", "report_fatal_error", "(", "", "+", "Twine", "(", "VT", ".", "getEVTString", "(", ")", ")", ")", ";", "case", "", ":", "{", "uint32_t", "Value32", "=", "uint32_t", "(", "SplatBits", ")", ";", "assert", "(", "SplatBitSize", "==", "", "&&", "", ")", ";", "SDValue", "T", "=", "DAG", ".", "getConstant", "(", "Value32", ",", "", ")", ";", "return", "DAG", ".", "getNode", "(", "", ",", "dl", ",", "", ",", "DAG", ".", "getNode", "(", "", ",", "dl", ",", "", ",", "T", ",", "T", ",", "T", ",", "T", ")", ")", ";", "break", ";", "}", "case", "", ":", "{", "uint64_t", "f64val", "=", "uint64_t", "(", "SplatBits", ")", ";", "assert", "(", "SplatBitSize", "==", "", "&&", "", ")", ";", "SDValue", "T", "=", "DAG", ".", "getConstant", "(", "f64val", ",", "", ")", ";", "return", "DAG", ".", "getNode", "(", "", ",", "dl", ",", "", ",", "DAG", ".", "getNode", "(", "", ",", "dl", ",", "", ",", "T", ",", "T", ")", ")", ";", "break", ";", "}", "case", "", ":", "{", "unsigned", "short", "Value16", "=", "SplatBits", ";", "SmallVector", "<", "SDValue", ",", "", ">", "Ops", ";", "Ops", ".", "assign", "(", "", ",", "DAG", ".", "getConstant", "(", "Value16", ",", "", ")", ")", ";", "return", "DAG", ".", "getNode", "(", "", ",", "dl", ",", "VT", ",", "DAG", ".", "getNode", "(", "", ",", "dl", ",", "", ",", "&", "Ops", "[", "", "]", ",", "Ops", ".", "size", "(", ")", ")", ")", ";", "}", "case", "", ":", "{", "unsigned", "short", "Value16", "=", "SplatBits", ";", "SDValue", "T", "=", "DAG", ".", "getConstant", "(", "Value16", ",", "EltVT", ")", ";", "SmallVector", "<", "SDValue", ",", "", ">", "Ops", ";", "Ops", ".", "assign", "(", "", ",", "T", ")", ";", "return", "DAG", ".", "getNode", "(", "", ",", "dl", ",", "VT", ",", "&", "Ops", "[", "", "]", ",", "Ops", ".", "size", "(", ")", ")", ";", "}", "case", "", ":", "{", "SDValue", "T", "=", "DAG", ".", "getConstant", "(", "unsigned", "(", "SplatBits", ")", ",", "VT", ".", "getVectorElementType", "(", ")", ")", ";"], "ground_truth": ["return", "DAG", ".", "getNode", "(", "", ",", "dl", ",", "VT", ",", "T", ",", "T", ",", "T", ",", "T", ")", ";"], "File": "SPUISelLowering3", "Func": "LowerBUILD_VECTOR", "Target": "CellSPU", "Target_Clf": "MPU", "Compiler_Type": "LLVM", "Idx": 61437, "Length": 376, "Cover_Rate": 0.702803738317757} {"Template_token": ["", "break", ";", "case", "", ":", "ArgRegClass", "=", "&", "", ";", "break", ";", "case", "", ":", "ArgRegClass", "=", "&", "", ";", "break", ";", "case", "", ":", "case", "", ":", "case", "", ":", "case", "", ":", "case", "", ":", "case", "", ":", "ArgRegClass", "=", "&", "", ";", "break", ";", "}", "unsigned", "VReg", "=", "RegInfo", ".", "createVirtualRegister", "(", "ArgRegClass", ")", ";", "RegInfo", ".", "addLiveIn", "(", "VA", ".", "getLocReg", "(", ")", ",", "VReg", ")", ";", "ArgVal", "=", "DAG", ".", "getCopyFromReg", "(", "Chain", ",", "dl", ",", "VReg", ",", "ObjectVT", ")", ";", "++", "ArgRegIdx", ";", "}", "else", "{", "int", "FI", "=", "MFI", "->", "CreateFixedObject", "(", "ObjSize", ",", "ArgOffset", ",", "true", ")", ";", "SDValue", "FIN", "=", "DAG", ".", "getFrameIndex", "(", "FI", ",", "PtrVT", ")", ";", "ArgVal", "=", "DAG", ".", "getLoad", "(", "ObjectVT", ",", "dl", ",", "Chain", ",", "FIN", ",", "NULL", ",", "", ",", "false", ",", "false", ",", "", ")", ";", "ArgOffset", "+=", "StackSlotSize", ";", "}", "InVals", ".", "push_back", "(", "ArgVal", ")", ";", "Chain", "=", "ArgVal", ".", "getOperand", "(", "", ")", ";", "}", "if", "(", "isVarArg", ")", "{", "static", "const", "unsigned", "ArgRegs", "[", "]", "=", "{", "", ",", "", ",", "", ",", "", ",", "", ",", "", ",", "", ",", "", ",", "", ",", "", ",", "", ",", "", ",", "", ",", "", ",", "", ",", "", ",", "", ",", "", ",", "", ",", "", ",", "", ",", "", ",", "", ",", "", ",", "", ",", "", ",", "", ",", "", ",", "", ",", "", ",", "", ",", "", ",", "", ",", "", ",", "", ",", "", ",", "", ",", "", ",", "", ",", "", ",", "", ",", "", ",", "", ",", "", ",", "", ",", "", ",", "", ",", "", ",", "", ",", "", ",", "", ",", "", ",", "", ",", "", ",", "", ",", "", ",", "", ",", "", ",", "", ",", "", ",", "", ",", "", ",", "", ",", "", ",", "", ",", "", ",", "", ",", "", ",", "", ",", "", ",", "", ",", "", ",", "", ",", "", ",", "", ",", "", ",", "", "}", ";", "unsigned", "NumArgRegs", "=", "", ";", "SmallVector", "<", "SDValue", ",", "", "-", "", "+", "", ">", "MemOps", ";", "for", "(", ";", "ArgRegIdx", "!=", "NumArgRegs", ";", "++", "ArgRegIdx", ")", "{", "FuncInfo", "->", "setVarArgsFrameIndex", "(", "MFI", "->", "CreateFixedObject", "(", "StackSlotSize", ",", "ArgOffset", ",", "true", ")", ")", ";", "SDValue", "FIN", "=", "DAG", ".", "getFrameIndex", "(", "FuncInfo", "->", "getVarArgsFrameIndex", "(", ")", ",", "PtrVT", ")", ";", "unsigned", "VReg", "=", "MF", ".", "addLiveIn", "(", "ArgRegs", "[", "ArgRegIdx", "]", ",", "&", "", ")", ";", "SDValue", "ArgVal", "=", "DAG", ".", "getRegister", "(", "VReg", ",", "", ")", ";", "SDValue", "Store", "=", "DAG", ".", "getStore", "(", "Chain", ",", "dl", ",", "ArgVal", ",", "FIN", ",", "NULL", ",", "", ",", "false", ",", "false", ",", "", ")", ";", "Chain", "=", "Store", ".", "getOperand", "(", "", ")", ";", "MemOps", ".", "push_back", "(", "Store", ")", ";", "ArgOffset", "+=", "StackSlotSize", ";", "}", "if", "(", "!", "MemOps", ".", "empty", "(", ")", ")", "Chain", "=", "DAG", ".", "getNode", "(", "", ",", "dl", ",", "", ",", "&", "MemOps", "[", "", "]", ",", "MemOps", ".", "size", "(", ")", ")", ";", "}"], "ground_truth": ["return", "Chain", ";"], "File": "SPUISelLowering3", "Func": "LowerFormalArguments", "Target": "CellSPU", "Target_Clf": "MPU", "Compiler_Type": "LLVM", "Idx": 61439, "Length": 506, "Cover_Rate": 0.49852216748768474} {"Template_token": ["", "}", "EVT", "PtrVT", "=", "DAG", ".", "getTargetLoweringInfo", "(", ")", ".", "getPointerTy", "(", ")", ";", "SDValue", "Pointer", "=", "DAG", ".", "getNode", "(", "", ",", "dl", ",", "PtrVT", ",", "DAG", ".", "getRegister", "(", "", ",", "PtrVT", ")", ",", "DAG", ".", "getConstant", "(", "Offset", ",", "PtrVT", ")", ")", ";", "EVT", "maskVT", "=", "EVT", "::", "getVectorVT", "(", "*", "(", "DAG", ".", "getContext", "(", ")", ")", ",", "VT", ".", "getVectorElementType", "(", ")", ",", "", "/", "VT", ".", "getVectorElementType", "(", ")", ".", "getSizeInBits", "(", ")", ")", ";"], "ground_truth": ["SDValue", "ShufMask", "=", "DAG", ".", "getNode", "(", "", ",", "dl", ",", "maskVT", ",", "Pointer", ")", ";"], "File": "SPUISelLowering3", "Func": "LowerINSERT_VECTOR_ELT", "Target": "CellSPU", "Target_Clf": "MPU", "Compiler_Type": "LLVM", "Idx": 61440, "Length": 97, "Cover_Rate": 0.34275618374558303} {"Template_token": ["", "}", "EVT", "PtrVT", "=", "DAG", ".", "getTargetLoweringInfo", "(", ")", ".", "getPointerTy", "(", ")", ";", "SDValue", "Pointer", "=", "DAG", ".", "getNode", "(", "", ",", "dl", ",", "PtrVT", ",", "DAG", ".", "getRegister", "(", "", ",", "PtrVT", ")", ",", "DAG", ".", "getConstant", "(", "Offset", ",", "PtrVT", ")", ")", ";", "EVT", "maskVT", "=", "EVT", "::", "getVectorVT", "(", "*", "(", "DAG", ".", "getContext", "(", ")", ")", ",", "VT", ".", "getVectorElementType", "(", ")", ",", "", "/", "VT", ".", "getVectorElementType", "(", ")", ".", "getSizeInBits", "(", ")", ")", ";", "SDValue", "ShufMask", "=", "DAG", ".", "getNode", "(", "", ",", "dl", ",", "maskVT", ",", "Pointer", ")", ";"], "ground_truth": ["SDValue", "result", "=", "DAG", ".", "getNode", "(", "", ",", "dl", ",", "VT", ",", "DAG", ".", "getNode", "(", "", ",", "dl", ",", "VT", ",", "ValOp", ")", ",", "VecOp", ",", "DAG", ".", "getNode", "(", "", ",", "dl", ",", "", ",", "ShufMask", ")", ")", ";"], "File": "SPUISelLowering3", "Func": "LowerINSERT_VECTOR_ELT", "Target": "CellSPU", "Target_Clf": "MPU", "Compiler_Type": "LLVM", "Idx": 61441, "Length": 139, "Cover_Rate": 0.4911660777385159} {"Template_token": ["", "for", "(", "unsigned", "i", "=", "", ";", "i", "!=", "RVLocs", ".", "size", "(", ")", ";", "++", "i", ")", "DAG", ".", "getMachineFunction", "(", ")", ".", "getRegInfo", "(", ")", ".", "addLiveOut", "(", "RVLocs", "[", "i", "]", ".", "getLocReg", "(", ")", ")", ";", "}", "SDValue", "Flag", ";", "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", "(", "", ")", ";", "}"], "ground_truth": ["if", "(", "Flag", ".", "getNode", "(", ")", ")", "return", "DAG", ".", "getNode", "(", "", ",", "dl", ",", "", ",", "Chain", ",", "Flag", ")", ";"], "File": "SPUISelLowering3", "Func": "LowerReturn", "Target": "CellSPU", "Target_Clf": "MPU", "Compiler_Type": "LLVM", "Idx": 61442, "Length": 141, "Cover_Rate": 0.5361216730038023} {"Template_token": ["", "assert", "(", "VA", ".", "isRegLoc", "(", ")", "&&", "", ")", ";", "Chain", "=", "DAG", ".", "getCopyToReg", "(", "Chain", ",", "dl", ",", "VA", ".", "getLocReg", "(", ")", ",", "OutVals", "[", "i", "]", ",", "Flag", ")", ";", "Flag", "=", "Chain", ".", "getValue", "(", "", ")", ";", "}", "if", "(", "Flag", ".", "getNode", "(", ")", ")", "return", "DAG", ".", "getNode", "(", "", ",", "dl", ",", "", ",", "Chain", ",", "Flag", ")", ";", "else", "return", "DAG", ".", "getNode", "(", "", ",", "dl", ",", "", ",", "Chain", ")", ";"], "ground_truth": ["}"], "File": "SPUISelLowering3", "Func": "LowerReturn", "Target": "CellSPU", "Target_Clf": "MPU", "Compiler_Type": "LLVM", "Idx": 61443, "Length": 85, "Cover_Rate": 0.3231939163498099} {"Template_token": ["", "EVT", "VT", "=", "Value", ".", "getValueType", "(", ")", ";", "EVT", "StVT", "=", "(", "!", "SN", "->", "isTruncatingStore", "(", ")", "?", "VT", ":", "SN", "->", "getMemoryVT", "(", ")", ")", ";", "EVT", "PtrVT", "=", "DAG", ".", "getTargetLoweringInfo", "(", ")", ".", "getPointerTy", "(", ")", ";", "DebugLoc", "dl", "=", "Op", ".", "getDebugLoc", "(", ")", ";", "unsigned", "alignment", "=", "SN", "->", "getAlignment", "(", ")", ";", "switch", "(", "SN", "->", "getAddressingMode", "(", ")", ")", "{", "case", "", ":", "{", "EVT", "vecVT", "=", "EVT", "::", "getVectorVT", "(", "*", "DAG", ".", "getContext", "(", ")", ",", "VT", ",", "(", "", "/", "VT", ".", "getSizeInBits", "(", ")", ")", ")", ";", "SDValue", "alignLoadVec", ";", "SDValue", "basePtr", "=", "SN", "->", "getBasePtr", "(", ")", ";", "SDValue", "the_chain", "=", "SN", "->", "getChain", "(", ")", ";", "SDValue", "insertEltOffs", ";", "if", "(", "alignment", "==", "", ")", "{", "ConstantSDNode", "*", "CN", ";", "if", "(", "basePtr", ".", "getOpcode", "(", ")", "==", "", "&&", "(", "CN", "=", "dyn_cast", "<", "ConstantSDNode", ">", "(", "basePtr", ".", "getOperand", "(", "", ")", ")", ")", "!=", "", ")", "{", "int64_t", "offset", "=", "CN", "->", "getSExtValue", "(", ")", ";", "basePtr", "=", "basePtr", ".", "getOperand", "(", "", ")", ";", "insertEltOffs", "=", "DAG", ".", "getNode", "(", "", ",", "dl", ",", "PtrVT", ",", "basePtr", ",", "DAG", ".", "getConstant", "(", "(", "offset", "&", "", ")", ",", "PtrVT", ")", ")", ";", "if", "(", "(", "offset", "&", "~", "", ")", ">", "", ")", "{", "basePtr", "=", "DAG", ".", "getNode", "(", "", ",", "dl", ",", "PtrVT", ",", "basePtr", ",", "DAG", ".", "getConstant", "(", "(", "offset", "&", "~", "", ")", ",", "PtrVT", ")", ")", ";", "}", "}", "else", "{", "insertEltOffs", "=", "DAG", ".", "getNode", "(", "", ",", "dl", ",", "PtrVT", ",", "basePtr", ",", "DAG", ".", "getConstant", "(", "", ",", "PtrVT", ")", ")", ";", "basePtr", "=", "DAG", ".", "getNode", "(", "", ",", "dl", ",", "PtrVT", ",", "basePtr", ",", "DAG", ".", "getConstant", "(", "", ",", "PtrVT", ")", ")", ";", "}", "}", "else", "{", "if", "(", "basePtr", ".", "getOpcode", "(", ")", "==", "", ")", "{", "MachineFunction", "&", "MF", "=", "DAG", ".", "getMachineFunction", "(", ")", ";", "MachineRegisterInfo", "&", "RegInfo", "=", "MF", ".", "getRegInfo", "(", ")", ";", "unsigned", "VReg", "=", "RegInfo", ".", "createVirtualRegister", "(", "&", "", ")", ";", "SDValue", "Flag", ";", "SDValue", "Op0", "=", "basePtr", ".", "getOperand", "(", "", ")", ";", "SDValue", "Op1", "=", "basePtr", ".", "getOperand", "(", "", ")", ";", "if", "(", "isa", "<", "ConstantSDNode", ">", "(", "Op1", ")", ")", "{", "basePtr", "=", "DAG", ".", "getNode", "(", "", ",", "dl", ",", "PtrVT", ",", "Op0", ",", "Op1", ")", ";", "the_chain", "=", "DAG", ".", "getCopyToReg", "(", "the_chain", ",", "dl", ",", "VReg", ",", "basePtr", ",", "Flag", ")", ";", "basePtr", "=", "DAG", ".", "getCopyFromReg", "(", "the_chain", ",", "dl", ",", "VReg", ",", "PtrVT", ")", ";", "}", "else", "{", "basePtr", "=", "DAG", ".", "getNode", "(", "", ",", "dl", ",", "PtrVT", ",", "Op0", ",", "Op1", ")", ";"], "ground_truth": ["}"], "File": "SPUISelLowering3", "Func": "LowerSTORE", "Target": "CellSPU", "Target_Clf": "MPU", "Compiler_Type": "LLVM", "Idx": 61444, "Length": 454, "Cover_Rate": 0.4809322033898305} {"Template_token": ["", "basePtr", "=", "basePtr", ".", "getOperand", "(", "", ")", ";", "insertEltOffs", "=", "DAG", ".", "getNode", "(", "", ",", "dl", ",", "PtrVT", ",", "basePtr", ",", "DAG", ".", "getConstant", "(", "(", "offset", "&", "", ")", ",", "PtrVT", ")", ")", ";", "if", "(", "(", "offset", "&", "~", "", ")", ">", "", ")", "{", "basePtr", "=", "DAG", ".", "getNode", "(", "", ",", "dl", ",", "PtrVT", ",", "basePtr", ",", "DAG", ".", "getConstant", "(", "(", "offset", "&", "~", "", ")", ",", "PtrVT", ")", ")", ";", "}", "}", "else", "{", "insertEltOffs", "=", "DAG", ".", "getNode", "(", "", ",", "dl", ",", "PtrVT", ",", "basePtr", ",", "DAG", ".", "getConstant", "(", "", ",", "PtrVT", ")", ")", ";", "basePtr", "=", "DAG", ".", "getNode", "(", "", ",", "dl", ",", "PtrVT", ",", "basePtr", ",", "DAG", ".", "getConstant", "(", "", ",", "PtrVT", ")", ")", ";", "}", "}", "else", "{", "if", "(", "basePtr", ".", "getOpcode", "(", ")", "==", "", ")", "{", "MachineFunction", "&", "MF", "=", "DAG", ".", "getMachineFunction", "(", ")", ";", "MachineRegisterInfo", "&", "RegInfo", "=", "MF", ".", "getRegInfo", "(", ")", ";", "unsigned", "VReg", "=", "RegInfo", ".", "createVirtualRegister", "(", "&", "", ")", ";", "SDValue", "Flag", ";", "SDValue", "Op0", "=", "basePtr", ".", "getOperand", "(", "", ")", ";", "SDValue", "Op1", "=", "basePtr", ".", "getOperand", "(", "", ")", ";", "if", "(", "isa", "<", "ConstantSDNode", ">", "(", "Op1", ")", ")", "{", "basePtr", "=", "DAG", ".", "getNode", "(", "", ",", "dl", ",", "PtrVT", ",", "Op0", ",", "Op1", ")", ";", "the_chain", "=", "DAG", ".", "getCopyToReg", "(", "the_chain", ",", "dl", ",", "VReg", ",", "basePtr", ",", "Flag", ")", ";", "basePtr", "=", "DAG", ".", "getCopyFromReg", "(", "the_chain", ",", "dl", ",", "VReg", ",", "PtrVT", ")", ";", "}", "else", "{", "basePtr", "=", "DAG", ".", "getNode", "(", "", ",", "dl", ",", "PtrVT", ",", "Op0", ",", "Op1", ")", ";", "}", "}", "else", "{", "basePtr", "=", "DAG", ".", "getNode", "(", "", ",", "dl", ",", "PtrVT", ",", "basePtr", ",", "DAG", ".", "getConstant", "(", "", ",", "PtrVT", ")", ")", ";", "}", "insertEltOffs", "=", "DAG", ".", "getNode", "(", "", ",", "dl", ",", "PtrVT", ",", "basePtr", ",", "DAG", ".", "getConstant", "(", "", ",", "PtrVT", ")", ")", ";", "}"], "ground_truth": ["alignLoadVec", "=", "DAG", ".", "getLoad", "(", "vecVT", ",", "dl", ",", "the_chain", ",", "basePtr", ",", "SN", "->", "getSrcValue", "(", ")", ",", "SN", "->", "getSrcValueOffset", "(", ")", ",", "SN", "->", "isVolatile", "(", ")", ",", "SN", "->", "isNonTemporal", "(", ")", ",", "", ")", ";"], "File": "SPUISelLowering3", "Func": "LowerSTORE", "Target": "CellSPU", "Target_Clf": "MPU", "Compiler_Type": "LLVM", "Idx": 61445, "Length": 374, "Cover_Rate": 0.3961864406779661} {"Template_token": ["", "}", "else", "if", "(", "EltVT", "==", "", ")", "{", "V2EltIdx0", "=", "", ";", "maskVT", "=", "", ";", "}", "else", "if", "(", "EltVT", "==", "", "||", "EltVT", "==", "", ")", "{", "V2EltIdx0", "=", "", ";", "maskVT", "=", "", ";", "}", "else", "if", "(", "EltVT", "==", "", "||", "EltVT", "==", "", ")", "{", "V2EltIdx0", "=", "", ";", "maskVT", "=", "", ";", "}", "else", "llvm_unreachable", "(", "", ")", ";", "for", "(", "unsigned", "i", "=", "", ";", "i", "!=", "MaxElts", ";", "++", "i", ")", "{", "if", "(", "SVN", "->", "getMaskElt", "(", "i", ")", "<", "", ")", "continue", ";", "unsigned", "SrcElt", "=", "SVN", "->", "getMaskElt", "(", "i", ")", ";", "if", "(", "monotonic", ")", "{", "if", "(", "SrcElt", ">=", "V2EltIdx0", ")", "{", "if", "(", "EltsFromV2", "==", "", "&&", "CurrElt", "==", "(", "SrcElt", "-", "V2EltIdx0", ")", ")", "V2EltOffset", "=", "(", "SrcElt", "-", "V2EltIdx0", ")", "*", "(", "EltVT", ".", "getSizeInBits", "(", ")", "/", "", ")", ";", "else", "monotonic", "=", "false", ";", "++", "EltsFromV2", ";", "}", "else", "if", "(", "CurrElt", "!=", "SrcElt", ")", "{", "monotonic", "=", "false", ";", "}", "++", "CurrElt", ";", "}", "if", "(", "rotate", ")", "{", "if", "(", "PrevElt", ">", "", "&&", "SrcElt", "<", "MaxElts", ")", "{", "if", "(", "(", "PrevElt", "==", "SrcElt", "-", "", ")", "||", "(", "PrevElt", "==", "MaxElts", "-", "", "&&", "SrcElt", "==", "", ")", ")", "{", "PrevElt", "=", "SrcElt", ";", "if", "(", "SrcElt", "==", "", ")", "V0Elt", "=", "i", ";", "}", "else", "{", "rotate", "=", "false", ";", "}", "}", "else", "if", "(", "i", "==", "", ")", "{", "PrevElt", "=", "SrcElt", ";", "}", "else", "{", "rotate", "=", "false", ";", "}", "}", "}", "if", "(", "EltsFromV2", "==", "", "&&", "monotonic", ")", "{", "EVT", "PtrVT", "=", "DAG", ".", "getTargetLoweringInfo", "(", ")", ".", "getPointerTy", "(", ")", ";", "SDValue", "Pointer", "=", "DAG", ".", "getNode", "(", "", ",", "dl", ",", "PtrVT", ",", "DAG", ".", "getRegister", "(", "", ",", "PtrVT", ")", ",", "DAG", ".", "getConstant", "(", "V2EltOffset", ",", "", ")", ")", ";", "SDValue", "ShufMaskOp", "=", "DAG", ".", "getNode", "(", "", ",", "dl", ",", "maskVT", ",", "Pointer", ")", ";"], "ground_truth": ["return", "DAG", ".", "getNode", "(", "", ",", "dl", ",", "V1", ".", "getValueType", "(", ")", ",", "V2", ",", "V1", ",", "ShufMaskOp", ")", ";"], "File": "SPUISelLowering3", "Func": "LowerVECTOR_SHUFFLE", "Target": "CellSPU", "Target_Clf": "MPU", "Compiler_Type": "LLVM", "Idx": 61446, "Length": 350, "Cover_Rate": 0.47106325706594887} {"Template_token": ["", "virtual", "unsigned", "getRegPressureLimit", "(", "const", "TargetRegisterClass", "*", "RC", ",", "MachineFunction", "&", "MF", ")", "const", "{", "return", "", ";"], "ground_truth": ["}"], "File": "SPUISelLowering4", "Func": "getRegPressureLimit", "Target": "CellSPU", "Target_Clf": "MPU", "Compiler_Type": "LLVM", "Idx": 61449, "Length": 19, "Cover_Rate": 1.0} {"Template_token": ["", "virtual", "unsigned", "getRegPressureLimit", "(", "const", "TargetRegisterClass", "*", "RC", ",", "MachineFunction", "&", "MF", ")", "const", "{"], "ground_truth": ["return", "", ";"], "File": "SPUISelLowering4", "Func": "getRegPressureLimit", "Target": "CellSPU", "Target_Clf": "MPU", "Compiler_Type": "LLVM", "Idx": 61450, "Length": 18, "Cover_Rate": 0.9473684210526315} {"Template_token": ["", "assert", "(", "BCN", "!=", "", "&&", "", ")", ";", "unsigned", "minSplatBits", "=", "EltVT", ".", "getSizeInBits", "(", ")", ";", "if", "(", "minSplatBits", "<", "", ")", "minSplatBits", "=", "", ";", "APInt", "APSplatBits", ",", "APSplatUndef", ";", "unsigned", "SplatBitSize", ";", "bool", "HasAnyUndefs", ";", "if", "(", "!", "BCN", "->", "isConstantSplat", "(", "APSplatBits", ",", "APSplatUndef", ",", "SplatBitSize", ",", "HasAnyUndefs", ",", "minSplatBits", ")", "||", "minSplatBits", "<", "SplatBitSize", ")", "return", "SDValue", "(", ")", ";", "uint64_t", "SplatBits", "=", "APSplatBits", ".", "getZExtValue", "(", ")", ";", "switch", "(", "VT", ".", "getSimpleVT", "(", ")", ")", "{", "default", ":", "cerr", "<<", "", "<<", "VT", ".", "getMVTString", "(", ")", "<<", "", ";", "abort", "(", ")", ";", "case", "", ":", "{", "uint32_t", "Value32", "=", "uint32_t", "(", "SplatBits", ")", ";", "assert", "(", "SplatBitSize", "==", "", "&&", "", ")", ";", "SDValue", "T", "=", "DAG", ".", "getConstant", "(", "Value32", ",", "", ")", ";", "return", "DAG", ".", "getNode", "(", "", ",", "dl", ",", "", ",", "DAG", ".", "getNode", "(", "", ",", "dl", ",", "", ",", "T", ",", "T", ",", "T", ",", "T", ")", ")", ";", "break", ";", "}", "case", "", ":", "{", "uint64_t", "f64val", "=", "uint64_t", "(", "SplatBits", ")", ";", "assert", "(", "SplatBitSize", "==", "", "&&", "", ")", ";", "SDValue", "T", "=", "DAG", ".", "getConstant", "(", "f64val", ",", "", ")", ";", "return", "DAG", ".", "getNode", "(", "", ",", "dl", ",", "", ",", "DAG", ".", "getNode", "(", "", ",", "dl", ",", "", ",", "T", ",", "T", ")", ")", ";", "break", ";", "}", "case", "", ":", "{", "unsigned", "short", "Value16", "=", "SplatBits", ";", "SmallVector", "<", "SDValue", ",", "", ">", "Ops", ";", "Ops", ".", "assign", "(", "", ",", "DAG", ".", "getConstant", "(", "Value16", ",", "", ")", ")", ";", "return", "DAG", ".", "getNode", "(", "", ",", "dl", ",", "VT", ",", "DAG", ".", "getNode", "(", "", ",", "dl", ",", "", ",", "&", "Ops", "[", "", "]", ",", "Ops", ".", "size", "(", ")", ")", ")", ";", "}", "case", "", ":", "{", "unsigned", "short", "Value16", "=", "SplatBits", ";", "SDValue", "T", "=", "DAG", ".", "getConstant", "(", "Value16", ",", "EltVT", ")", ";", "SmallVector", "<", "SDValue", ",", "", ">", "Ops", ";", "Ops", ".", "assign", "(", "", ",", "T", ")", ";", "return", "DAG", ".", "getNode", "(", "", ",", "dl", ",", "VT", ",", "&", "Ops", "[", "", "]", ",", "Ops", ".", "size", "(", ")", ")", ";", "}", "case", "", ":", "{"], "ground_truth": ["SDValue", "T", "=", "DAG", ".", "getConstant", "(", "unsigned", "(", "SplatBits", ")", ",", "VT", ".", "getVectorElementType", "(", ")", ")", ";"], "File": "SPUISelLowering4", "Func": "LowerBUILD_VECTOR", "Target": "CellSPU", "Target_Clf": "MPU", "Compiler_Type": "LLVM", "Idx": 61451, "Length": 389, "Cover_Rate": 0.6730103806228374} {"Template_token": ["", "MVT", "OpVT", "=", "Op", ".", "getValueType", "(", ")", ";", "SDValue", "Op0", "=", "Op", ".", "getOperand", "(", "", ")", ";", "MVT", "Op0VT", "=", "Op0", ".", "getValueType", "(", ")", ";", "if", "(", "(", "OpVT", "==", "", "&&", "Op0VT", "==", "", ")", "||", "OpVT", "==", "", ")", "{"], "ground_truth": ["RTLIB", "::", "Libcall", "LC", "=", "(", "Op", ".", "getOpcode", "(", ")", "==", "", ")", "?", "RTLIB", "::", "getFPTOSINT", "(", "Op0VT", ",", "OpVT", ")", ":", "RTLIB", "::", "getFPTOUINT", "(", "Op0VT", ",", "OpVT", ")", ";"], "File": "SPUISelLowering4", "Func": "LowerFP_TO_INT", "Target": "CellSPU", "Target_Clf": "MPU", "Compiler_Type": "LLVM", "Idx": 61452, "Length": 78, "Cover_Rate": 0.5693430656934306} {"Template_token": ["", "}", "if", "(", "EltsFromV2", "==", "", "&&", "monotonic", ")", "{", "MachineFunction", "&", "MF", "=", "DAG", ".", "getMachineFunction", "(", ")", ";", "MachineRegisterInfo", "&", "RegInfo", "=", "MF", ".", "getRegInfo", "(", ")", ";", "unsigned", "VReg", "=", "RegInfo", ".", "createVirtualRegister", "(", "&", "", ")", ";", "MVT", "PtrVT", "=", "DAG", ".", "getTargetLoweringInfo", "(", ")", ".", "getPointerTy", "(", ")", ";", "SDValue", "InitTempReg", "=", "DAG", ".", "getCopyToReg", "(", "DAG", ".", "getEntryNode", "(", ")", ",", "dl", ",", "VReg", ",", "DAG", ".", "getConstant", "(", "", ",", "PtrVT", ")", ")", ";", "SDValue", "ShufMaskOp", "=", "DAG", ".", "getNode", "(", "", ",", "dl", ",", "", ",", "DAG", ".", "getTargetConstant", "(", "V2Elt", ",", "", ")", ",", "DAG", ".", "getCopyFromReg", "(", "InitTempReg", ",", "dl", ",", "VReg", ",", "PtrVT", ")", ")", ";", "return", "DAG", ".", "getNode", "(", "", ",", "dl", ",", "V1", ".", "getValueType", "(", ")", ",", "V2", ",", "V1", ",", "ShufMaskOp", ")", ";", "}", "else", "if", "(", "rotate", ")", "{", "int", "rotamt", "=", "(", "MaxElts", "-", "V0Elt", ")", "*", "EltVT", ".", "getSizeInBits", "(", ")", "/", "", ";", "return", "DAG", ".", "getNode", "(", "", ",", "dl", ",", "V1", ".", "getValueType", "(", ")", ",", "V1", ",", "DAG", ".", "getConstant", "(", "rotamt", ",", "", ")", ")", ";", "}", "else", "{", "unsigned", "BytesPerElement", "=", "EltVT", ".", "getSizeInBits", "(", ")", "/", "", ";", "SmallVector", "<", "SDValue", ",", "", ">", "ResultMask", ";", "for", "(", "unsigned", "i", "=", "", ",", "e", "=", "MaxElts", ";", "i", "!=", "e", ";", "++", "i", ")", "{", "unsigned", "SrcElt", "=", "SVN", "->", "getMaskElt", "(", "i", ")", "<", "", "?", "", ":", "SVN", "->", "getMaskElt", "(", "i", ")", ";", "for", "(", "unsigned", "j", "=", "", ";", "j", "<", "BytesPerElement", ";", "++", "j", ")", "ResultMask", ".", "push_back", "(", "DAG", ".", "getConstant", "(", "SrcElt", "*", "BytesPerElement", "+", "j", ",", "", ")", ")", ";"], "ground_truth": ["}"], "File": "SPUISelLowering4", "Func": "LowerVECTOR_SHUFFLE", "Target": "CellSPU", "Target_Clf": "MPU", "Compiler_Type": "LLVM", "Idx": 61453, "Length": 285, "Cover_Rate": 0.3825503355704698} {"Template_token": ["", "}", "else", "if", "(", "EltVT", "==", "", "||", "EltVT", "==", "", ")", "{", "V2EltIdx0", "=", "", ";", "}", "else", "assert", "(", "", "&&", "", ")", ";", "for", "(", "unsigned", "i", "=", "", ";", "i", "!=", "MaxElts", ";", "++", "i", ")", "{", "if", "(", "SVN", "->", "getMaskElt", "(", "i", ")", "<", "", ")", "continue", ";", "unsigned", "SrcElt", "=", "SVN", "->", "getMaskElt", "(", "i", ")", ";", "if", "(", "monotonic", ")", "{", "if", "(", "SrcElt", ">=", "V2EltIdx0", ")", "{", "if", "(", "", ">=", "(", "++", "EltsFromV2", ")", ")", "{", "V2Elt", "=", "(", "V2EltIdx0", "-", "SrcElt", ")", "<<", "", ";", "}", "}", "else", "if", "(", "CurrElt", "!=", "SrcElt", ")", "{", "monotonic", "=", "false", ";", "}", "++", "CurrElt", ";", "}", "if", "(", "rotate", ")", "{", "if", "(", "PrevElt", ">", "", "&&", "SrcElt", "<", "MaxElts", ")", "{", "if", "(", "(", "PrevElt", "==", "SrcElt", "-", "", ")", "||", "(", "PrevElt", "==", "MaxElts", "-", "", "&&", "SrcElt", "==", "", ")", ")", "{", "PrevElt", "=", "SrcElt", ";", "if", "(", "SrcElt", "==", "", ")", "V0Elt", "=", "i", ";", "}", "else", "{", "rotate", "=", "false", ";", "}", "}", "else", "if", "(", "PrevElt", "==", "", ")", "{", "PrevElt", "=", "SrcElt", ";", "}", "else", "{", "rotate", "=", "false", ";", "}", "}", "}", "if", "(", "EltsFromV2", "==", "", "&&", "monotonic", ")", "{", "MachineFunction", "&", "MF", "=", "DAG", ".", "getMachineFunction", "(", ")", ";", "MachineRegisterInfo", "&", "RegInfo", "=", "MF", ".", "getRegInfo", "(", ")", ";", "unsigned", "VReg", "=", "RegInfo", ".", "createVirtualRegister", "(", "&", "", ")", ";", "MVT", "PtrVT", "=", "DAG", ".", "getTargetLoweringInfo", "(", ")", ".", "getPointerTy", "(", ")", ";", "SDValue", "InitTempReg", "=", "DAG", ".", "getCopyToReg", "(", "DAG", ".", "getEntryNode", "(", ")", ",", "dl", ",", "VReg", ",", "DAG", ".", "getConstant", "(", "", ",", "PtrVT", ")", ")", ";", "SDValue", "ShufMaskOp", "=", "DAG", ".", "getNode", "(", "", ",", "dl", ",", "", ",", "DAG", ".", "getTargetConstant", "(", "V2Elt", ",", "", ")", ",", "DAG", ".", "getCopyFromReg", "(", "InitTempReg", ",", "dl", ",", "VReg", ",", "PtrVT", ")", ")", ";", "return", "DAG", ".", "getNode", "(", "", ",", "dl", ",", "V1", ".", "getValueType", "(", ")", ",", "V2", ",", "V1", ",", "ShufMaskOp", ")", ";", "}", "else", "if", "(", "rotate", ")", "{", "int", "rotamt", "=", "(", "MaxElts", "-", "V0Elt", ")", "*", "EltVT", ".", "getSizeInBits", "(", ")", "/", "", ";", "return", "DAG", ".", "getNode", "(", "", ",", "dl", ",", "V1", ".", "getValueType", "(", ")", ",", "V1", ",", "DAG", ".", "getConstant", "(", "rotamt", ",", "", ")", ")", ";"], "ground_truth": ["}", "else", "{"], "File": "SPUISelLowering4", "Func": "LowerVECTOR_SHUFFLE", "Target": "CellSPU", "Target_Clf": "MPU", "Compiler_Type": "LLVM", "Idx": 61454, "Length": 391, "Cover_Rate": 0.5248322147651007} {"Template_token": ["", "switch", "(", "VT", ".", "getSimpleVT", "(", ")", ".", "SimpleTy", ")", "{", "case", "", ":", "case", "", ":", "retval", "=", "", ";", "break", ";", "case", "", ":"], "ground_truth": ["retval", "=", "", ";", "break", ";"], "File": "SPUISelLowering7", "Func": "getSetCCResultType", "Target": "CellSPU", "Target_Clf": "MPU", "Compiler_Type": "LLVM", "Idx": 61455, "Length": 32, "Cover_Rate": 0.4155844155844156} {"Template_token": ["", "if", "(", "AM", ".", "BaseGV", "&&", "!", "AM", ".", "HasBaseReg", "&&", "AM", ".", "Scale", "==", "", "&&", "AM", ".", "BaseOffs", "==", "", ")", "return", "true", ";"], "ground_truth": ["if", "(", "AM", ".", "BaseGV", "==", "", "&&", "AM", ".", "HasBaseReg", "&&", "AM", ".", "Scale", "==", "", "&&", "isInt", "<", "", ">", "(", "AM", ".", "BaseOffs", ")", ")", "return", "true", ";"], "File": "SPUISelLowering7", "Func": "isLegalAddressingMode", "Target": "CellSPU", "Target_Clf": "MPU", "Compiler_Type": "LLVM", "Idx": 61456, "Length": 57, "Cover_Rate": 0.5480769230769231} {"Template_token": ["", "if", "(", "AM", ".", "BaseGV", "&&", "!", "AM", ".", "HasBaseReg", "&&", "AM", ".", "Scale", "==", "", "&&", "AM", ".", "BaseOffs", "==", "", ")", "return", "true", ";", "if", "(", "AM", ".", "BaseGV", "==", "", "&&", "AM", ".", "HasBaseReg", "&&", "AM", ".", "Scale", "==", "", "&&", "isInt", "<", "", ">", "(", "AM", ".", "BaseOffs", ")", ")", "return", "true", ";"], "ground_truth": ["if", "(", "AM", ".", "BaseGV", "==", "", "&&", "AM", ".", "HasBaseReg", "&&", "AM", ".", "Scale", "==", "", "&&", "AM", ".", "BaseOffs", "==", "", ")", "return", "true", ";"], "File": "SPUISelLowering7", "Func": "isLegalAddressingMode", "Target": "CellSPU", "Target_Clf": "MPU", "Compiler_Type": "LLVM", "Idx": 61457, "Length": 84, "Cover_Rate": 0.8076923076923077} {"Template_token": ["", "unsigned", "ArgOffset", "=", "FrameInfo", "::", "minStackSize", "(", ")", ";", "unsigned", "ArgRegIdx", "=", "", ";", "std", "::", "vector", "<", "std", "::", "pair", "<", "unsigned", ",", "SDValue", ">", ">", "RegsToPass", ";", "SmallVector", "<", "SDValue", ",", "", ">", "MemOpChains", ";", "for", "(", ";", "ArgRegIdx", "!=", "NumOps", ";", "++", "ArgRegIdx", ")", "{", "SDValue", "Arg", "=", "OutVals", "[", "ArgRegIdx", "]", ";", "CCValAssign", "&", "VA", "=", "ArgLocs", "[", "ArgRegIdx", "]", ";", "SDValue", "PtrOff", "=", "DAG", ".", "getConstant", "(", "ArgOffset", ",", "StackPtr", ".", "getValueType", "(", ")", ")", ";", "PtrOff", "=", "DAG", ".", "getNode", "(", "", ",", "dl", ",", "PtrVT", ",", "StackPtr", ",", "PtrOff", ")", ";", "switch", "(", "Arg", ".", "getValueType", "(", ")", ".", "getSimpleVT", "(", ")", ".", "SimpleTy", ")", "{", "default", ":", "llvm_unreachable", "(", "", ")", ";", "case", "", ":", "case", "", ":", "case", "", ":", "case", "", ":", "case", "", ":", "case", "", ":", "case", "", ":", "case", "", ":", "case", "", ":", "case", "", ":", "case", "", ":", "case", "", ":", "case", "", ":", "if", "(", "ArgRegIdx", "!=", "NumArgRegs", ")", "{", "RegsToPass", ".", "push_back", "(", "std", "::", "make_pair", "(", "VA", ".", "getLocReg", "(", ")", ",", "Arg", ")", ")", ";", "}", "else", "{", "MemOpChains", ".", "push_back", "(", "DAG", ".", "getStore", "(", "Chain", ",", "dl", ",", "Arg", ",", "PtrOff", ",", "MachinePointerInfo", "(", ")", ",", "false", ",", "false", ",", "", ")", ")", ";", "ArgOffset", "+=", "StackSlotSize", ";", "}", "break", ";", "}", "}", "unsigned", "NumStackBytes", "=", "ArgOffset", "-", "FrameInfo", "::", "minStackSize", "(", ")", ";", "Chain", "=", "DAG", ".", "getCALLSEQ_START", "(", "Chain", ",", "DAG", ".", "getIntPtrConstant", "(", "NumStackBytes", ",", "true", ")", ")", ";", "if", "(", "!", "MemOpChains", ".", "empty", "(", ")", ")", "{", "Chain", "=", "DAG", ".", "getNode", "(", "", ",", "dl", ",", "", ",", "&", "MemOpChains", "[", "", "]", ",", "MemOpChains", ".", "size", "(", ")", ")", ";", "}", "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", "(", "", ")", ";", "}", "SmallVector", "<", "SDValue", ",", "", ">", "Ops", ";", "unsigned", "CallOpc", "=", "", ";", "if", "(", "GlobalAddressSDNode", "*", "G", "=", "dyn_cast", "<", "GlobalAddressSDNode", ">", "(", "Callee", ")", ")", "{", "const", "GlobalValue", "*", "GV", "=", "G", "->", "getGlobal", "(", ")", ";", "EVT", "CalleeVT", "=", "Callee", ".", "getValueType", "(", ")", ";", "SDValue", "Zero", "=", "DAG", ".", "getConstant", "(", "", ",", "PtrVT", ")", ";", "SDValue", "GA", "=", "DAG", ".", "getTargetGlobalAddress", "(", "GV", ",", "dl", ",", "CalleeVT", ")", ";", "if", "(", "!", "ST", "->", "usingLargeMem", "(", ")", ")", "{", "if", "(", "GV", "->", "isDeclaration", "(", ")", ")", "{", "Callee", "=", "DAG", ".", "getNode", "(", "", ",", "dl", ",", "CalleeVT", ",", "GA", ",", "Zero", ")", ";", "}", "else", "{", "Callee", "=", "DAG", ".", "getNode", "(", "", ",", "dl", ",", "CalleeVT", ",", "GA", ",", "Zero", ")", ";", "}", "}", "else", "{", "Callee", "=", "DAG", ".", "getNode", "(", "", ",", "dl", ",", "PtrVT", ",", "GA", ",", "Zero", ")", ";", "}"], "ground_truth": ["}", "else", "if", "(", "ExternalSymbolSDNode", "*", "S", "=", "dyn_cast", "<", "ExternalSymbolSDNode", ">", "(", "Callee", ")", ")", "{"], "File": "SPUISelLowering7", "Func": "LowerCall", "Target": "CellSPU", "Target_Clf": "MPU", "Compiler_Type": "LLVM", "Idx": 61458, "Length": 521, "Cover_Rate": 0.44913793103448274} {"Template_token": ["", "for", "(", "unsigned", "i", "=", "", ",", "e", "=", "RegsToPass", ".", "size", "(", ")", ";", "i", "!=", "e", ";", "++", "i", ")", "{", "Chain", "=", "DAG", ".", "getCopyToReg", "(", "Chain", ",", "dl", ",", "RegsToPass", "[", "i", "]", ".", "first", ",", "RegsToPass", "[", "i", "]", ".", "second", ",", "InFlag", ")", ";", "InFlag", "=", "Chain", ".", "getValue", "(", "", ")", ";", "}", "SmallVector", "<", "SDValue", ",", "", ">", "Ops", ";", "unsigned", "CallOpc", "=", "", ";", "if", "(", "GlobalAddressSDNode", "*", "G", "=", "dyn_cast", "<", "GlobalAddressSDNode", ">", "(", "Callee", ")", ")", "{", "const", "GlobalValue", "*", "GV", "=", "G", "->", "getGlobal", "(", ")", ";", "EVT", "CalleeVT", "=", "Callee", ".", "getValueType", "(", ")", ";", "SDValue", "Zero", "=", "DAG", ".", "getConstant", "(", "", ",", "PtrVT", ")", ";", "SDValue", "GA", "=", "DAG", ".", "getTargetGlobalAddress", "(", "GV", ",", "dl", ",", "CalleeVT", ")", ";", "if", "(", "!", "ST", "->", "usingLargeMem", "(", ")", ")", "{", "if", "(", "GV", "->", "isDeclaration", "(", ")", ")", "{", "Callee", "=", "DAG", ".", "getNode", "(", "", ",", "dl", ",", "CalleeVT", ",", "GA", ",", "Zero", ")", ";", "}", "else", "{", "Callee", "=", "DAG", ".", "getNode", "(", "", ",", "dl", ",", "CalleeVT", ",", "GA", ",", "Zero", ")", ";", "}", "}", "else", "{", "Callee", "=", "DAG", ".", "getNode", "(", "", ",", "dl", ",", "PtrVT", ",", "GA", ",", "Zero", ")", ";", "}", "}", "else", "if", "(", "ExternalSymbolSDNode", "*", "S", "=", "dyn_cast", "<", "ExternalSymbolSDNode", ">", "(", "Callee", ")", ")", "{", "EVT", "CalleeVT", "=", "Callee", ".", "getValueType", "(", ")", ";", "SDValue", "Zero", "=", "DAG", ".", "getConstant", "(", "", ",", "PtrVT", ")", ";", "SDValue", "ExtSym", "=", "DAG", ".", "getTargetExternalSymbol", "(", "S", "->", "getSymbol", "(", ")", ",", "Callee", ".", "getValueType", "(", ")", ")", ";", "if", "(", "!", "ST", "->", "usingLargeMem", "(", ")", ")", "{", "Callee", "=", "DAG", ".", "getNode", "(", "", ",", "dl", ",", "CalleeVT", ",", "ExtSym", ",", "Zero", ")", ";", "}", "else", "{", "Callee", "=", "DAG", ".", "getNode", "(", "", ",", "dl", ",", "PtrVT", ",", "ExtSym", ",", "Zero", ")", ";", "}", "}", "else", "if", "(", "SDNode", "*", "Dest", "=", "isLSAAddress", "(", "Callee", ",", "DAG", ")", ")", "{", "Callee", "=", "SDValue", "(", "Dest", ",", "", ")", ";", "}", "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", "(", ")", ")", ")", ";", "if", "(", "InFlag", ".", "getNode", "(", ")", ")", "Ops", ".", "push_back", "(", "InFlag", ")", ";", "Chain", "=", "DAG", ".", "getNode", "(", "CallOpc", ",", "dl", ",", "DAG", ".", "getVTList", "(", "", ",", "", ")", ",", "&", "Ops", "[", "", "]", ",", "Ops", ".", "size", "(", ")", ")", ";"], "ground_truth": ["InFlag", "=", "Chain", ".", "getValue", "(", "", ")", ";"], "File": "SPUISelLowering7", "Func": "LowerCall", "Target": "CellSPU", "Target_Clf": "MPU", "Compiler_Type": "LLVM", "Idx": 61459, "Length": 464, "Cover_Rate": 0.4} {"Template_token": ["", "}", "if", "(", "isVarArg", ")", "{", "static", "const", "unsigned", "ArgRegs", "[", "]", "=", "{", "", ",", "", ",", "", ",", "", ",", "", ",", "", ",", "", ",", "", ",", "", ",", "", ",", "", ",", "", ",", "", ",", "", ",", "", ",", "", ",", "", ",", "", ",", "", ",", "", ",", "", ",", "", ",", "", ",", "", ",", "", ",", "", ",", "", ",", "", ",", "", ",", "", ",", "", ",", "", ",", "", ",", "", ",", "", ",", "", ",", "", ",", "", ",", "", ",", "", ",", "", ",", "", ",", "", ",", "", ",", "", ",", "", ",", "", ",", "", ",", "", ",", "", ",", "", ",", "", ",", "", ",", "", ",", "", ",", "", ",", "", ",", "", ",", "", ",", "", ",", "", ",", "", ",", "", ",", "", ",", "", ",", "", ",", "", ",", "", ",", "", ",", "", ",", "", ",", "", ",", "", ",", "", ",", "", ",", "", ",", "", "}", ";", "unsigned", "NumArgRegs", "=", "", ";", "SmallVector", "<", "SDValue", ",", "", "-", "", "+", "", ">", "MemOps", ";", "for", "(", ";", "ArgRegIdx", "!=", "NumArgRegs", ";", "++", "ArgRegIdx", ")", "{", "FuncInfo", "->", "setVarArgsFrameIndex", "(", "MFI", "->", "CreateFixedObject", "(", "StackSlotSize", ",", "ArgOffset", ",", "true", ")", ")", ";", "SDValue", "FIN", "=", "DAG", ".", "getFrameIndex", "(", "FuncInfo", "->", "getVarArgsFrameIndex", "(", ")", ",", "PtrVT", ")", ";", "unsigned", "VReg", "=", "MF", ".", "addLiveIn", "(", "ArgRegs", "[", "ArgRegIdx", "]", ",", "&", "", ")", ";", "SDValue", "ArgVal", "=", "DAG", ".", "getRegister", "(", "VReg", ",", "", ")", ";", "SDValue", "Store", "=", "DAG", ".", "getStore", "(", "Chain", ",", "dl", ",", "ArgVal", ",", "FIN", ",", "MachinePointerInfo", "(", ")", ",", "false", ",", "false", ",", "", ")", ";", "Chain", "=", "Store", ".", "getOperand", "(", "", ")", ";", "MemOps", ".", "push_back", "(", "Store", ")", ";", "ArgOffset", "+=", "StackSlotSize", ";", "}", "if", "(", "!", "MemOps", ".", "empty", "(", ")", ")", "Chain", "=", "DAG", ".", "getNode", "(", "", ",", "dl", ",", "", ",", "&", "MemOps", "[", "", "]", ",", "MemOps", ".", "size", "(", ")", ")", ";"], "ground_truth": ["}"], "File": "SPUISelLowering7", "Func": "LowerFormalArguments", "Target": "CellSPU", "Target_Clf": "MPU", "Compiler_Type": "LLVM", "Idx": 61460, "Length": 339, "Cover_Rate": 0.33399014778325126} {"Template_token": ["", "basePtr", "=", "basePtr", ".", "getOperand", "(", "", ")", ";", "if", "(", "(", "offset", "&", "~", "", ")", ">", "", ")", "{", "basePtr", "=", "DAG", ".", "getNode", "(", "", ",", "dl", ",", "PtrVT", ",", "basePtr", ",", "DAG", ".", "getConstant", "(", "(", "offset", "&", "~", "", ")", ",", "PtrVT", ")", ")", ";", "}", "}", "else", "if", "(", "(", "basePtr", ".", "getOpcode", "(", ")", "==", "", ")", "||", "(", "basePtr", ".", "getOpcode", "(", ")", "==", "", "&&", "basePtr", ".", "getOperand", "(", "", ")", ".", "getOpcode", "(", ")", "==", "", "&&", "basePtr", ".", "getOperand", "(", "", ")", ".", "getOpcode", "(", ")", "==", "", ")", ")", "{", "int64_t", "rotamt", "=", "-", "pso", ";", "if", "(", "rotamt", "<", "", ")", "rotamt", "+=", "", ";", "rotate", "=", "DAG", ".", "getConstant", "(", "rotamt", ",", "", ")", ";", "}", "else", "{", "int64_t", "rotamt", "=", "-", "pso", ";", "if", "(", "rotamt", "<", "", ")", "rotamt", "+=", "", ";", "rotate", "=", "DAG", ".", "getNode", "(", "", ",", "dl", ",", "PtrVT", ",", "basePtr", ",", "DAG", ".", "getConstant", "(", "rotamt", ",", "PtrVT", ")", ")", ";", "}", "}", "else", "{", "if", "(", "basePtr", ".", "getOpcode", "(", ")", "==", "", ")", "{", "MachineFunction", "&", "MF", "=", "DAG", ".", "getMachineFunction", "(", ")", ";", "MachineRegisterInfo", "&", "RegInfo", "=", "MF", ".", "getRegInfo", "(", ")", ";", "unsigned", "VReg", "=", "RegInfo", ".", "createVirtualRegister", "(", "&", "", ")", ";", "SDValue", "Flag", ";", "SDValue", "Op0", "=", "basePtr", ".", "getOperand", "(", "", ")", ";", "SDValue", "Op1", "=", "basePtr", ".", "getOperand", "(", "", ")", ";", "if", "(", "isa", "<", "ConstantSDNode", ">", "(", "Op1", ")", ")", "{", "basePtr", "=", "DAG", ".", "getNode", "(", "", ",", "dl", ",", "PtrVT", ",", "Op0", ",", "Op1", ")", ";", "the_chain", "=", "DAG", ".", "getCopyToReg", "(", "the_chain", ",", "dl", ",", "VReg", ",", "basePtr", ",", "Flag", ")", ";", "basePtr", "=", "DAG", ".", "getCopyFromReg", "(", "the_chain", ",", "dl", ",", "VReg", ",", "PtrVT", ")", ";", "}", "else", "{", "basePtr", "=", "DAG", ".", "getNode", "(", "", ",", "dl", ",", "PtrVT", ",", "Op0", ",", "Op1", ")", ";", "}", "}", "else", "{", "basePtr", "=", "DAG", ".", "getNode", "(", "", ",", "dl", ",", "PtrVT", ",", "basePtr", ",", "DAG", ".", "getConstant", "(", "", ",", "PtrVT", ")", ")", ";", "}", "rotate", "=", "DAG", ".", "getNode", "(", "", ",", "dl", ",", "PtrVT", ",", "basePtr", ",", "DAG", ".", "getConstant", "(", "-", "pso", ",", "PtrVT", ")", ")", ";", "}", "SDValue", "low", "=", "DAG", ".", "getLoad", "(", "", ",", "dl", ",", "the_chain", ",", "basePtr", ",", "lowMemPtr", ",", "LN", "->", "isVolatile", "(", ")", ",", "LN", "->", "isNonTemporal", "(", ")", ",", "", ")", ";", "if", "(", "alignment", ">=", "InVT", ".", "getSizeInBits", "(", ")", "/", "", ")", "{", "the_chain", "=", "low", ".", "getValue", "(", "", ")", ";", "result", "=", "DAG", ".", "getNode", "(", "", ",", "dl", ",", "", ",", "low", ".", "getValue", "(", "", ")", ",", "rotate", ")", ";", "EVT", "vecVT", "=", "EVT", "::", "getVectorVT", "(", "*", "DAG", ".", "getContext", "(", ")", ",", "InVT", ",", "(", "", "/", "InVT", ".", "getSizeInBits", "(", ")", ")", ")", ";", "result", "=", "DAG", ".", "getNode", "(", "", ",", "dl", ",", "InVT", ",", "DAG", ".", "getNode", "(", "", ",", "dl", ",", "vecVT", ",", "result", ")", ")", ";"], "ground_truth": ["}"], "File": "SPUISelLowering7", "Func": "LowerLOAD", "Target": "CellSPU", "Target_Clf": "MPU", "Compiler_Type": "LLVM", "Idx": 61461, "Length": 506, "Cover_Rate": 0.37592867756315007} {"Template_token": ["", "SDValue", "shufMask", "=", "DAG", ".", "getNode", "(", "", ",", "dl", ",", "", ",", "DAG", ".", "getConstant", "(", "mask1", ",", "", ")", ",", "DAG", ".", "getConstant", "(", "mask1", ",", "", ")", ",", "DAG", ".", "getConstant", "(", "mask2", ",", "", ")", ",", "DAG", ".", "getConstant", "(", "mask3", ",", "", ")", ")", ";", "MVT", "mvt", "=", "Op0VT", "==", "", "?", "", ":", "", ";", "SDValue", "sraVal", "=", "DAG", ".", "getNode", "(", "", ",", "dl", ",", "mvt", ",", "DAG", ".", "getNode", "(", "", ",", "dl", ",", "mvt", ",", "Op0", ",", "Op0", ")", ",", "DAG", ".", "getConstant", "(", "", ",", "", ")", ")", ";", "SDValue", "extended", "=", "SDValue", "(", "DAG", ".", "getMachineNode", "(", "TargetOpcode", "::", "COPY_TO_REGCLASS", ",", "dl", ",", "Op0VT", ",", "Op0", ",", "DAG", ".", "getTargetConstant", "(", "", ".", "getID", "(", ")", ",", "", ")", ")", ",", "", ")", ";", "SDValue", "extShuffle", "=", "DAG", ".", "getNode", "(", "", ",", "dl", ",", "mvt", ",", "extended", ",", "sraVal", ",", "shufMask", ")", ";", "return", "DAG", ".", "getNode", "(", "", ",", "dl", ",", "", ",", "extShuffle", ")", ";"], "ground_truth": ["}"], "File": "SPUISelLowering7", "Func": "LowerSIGN_EXTEND", "Target": "CellSPU", "Target_Clf": "MPU", "Compiler_Type": "LLVM", "Idx": 61463, "Length": 170, "Cover_Rate": 0.5329153605015674} {"Template_token": ["", "SDValue", "Op0", "=", "Op", ".", "getOperand", "(", "", ")", ";", "MVT", "Op0VT", "=", "Op0", ".", "getValueType", "(", ")", ".", "getSimpleVT", "(", ")", ";", "assert", "(", "(", "OpVT", "==", "", "&&", "(", "Op0VT", "==", "", "||", "Op0VT", "==", "", ")", ")", "&&", "", ")", ";", "unsigned", "mask1", "=", "", ";", "unsigned", "mask2", "=", "Op0VT", "==", "", "?", "", ":", "", ";", "unsigned", "mask3", "=", "Op0VT", "==", "", "?", "", ":", "", ";", "SDValue", "shufMask", "=", "DAG", ".", "getNode", "(", "", ",", "dl", ",", "", ",", "DAG", ".", "getConstant", "(", "mask1", ",", "", ")", ",", "DAG", ".", "getConstant", "(", "mask1", ",", "", ")", ",", "DAG", ".", "getConstant", "(", "mask2", ",", "", ")", ",", "DAG", ".", "getConstant", "(", "mask3", ",", "", ")", ")", ";"], "ground_truth": ["MVT", "mvt", "=", "Op0VT", "==", "", "?", "", ":", "", ";"], "File": "SPUISelLowering7", "Func": "LowerSIGN_EXTEND", "Target": "CellSPU", "Target_Clf": "MPU", "Compiler_Type": "LLVM", "Idx": 61464, "Length": 132, "Cover_Rate": 0.41379310344827586} {"Template_token": ["", "prefslot_begin", "=", "", ";", "prefslot_end", "=", "", ";", "break", ";", "}", "case", "", ":", "case", "", ":", "{", "prefslot_begin", "=", "", ";", "prefslot_end", "=", "", ";", "break", ";", "}", "case", "", ":", "case", "", ":", "{", "prefslot_begin", "=", "", ";", "prefslot_end", "=", "", ";", "break", ";", "}", "}", "assert", "(", "prefslot_begin", "!=", "-", "", "&&", "prefslot_end", "!=", "-", "", "&&", "", ")", ";", "unsigned", "int", "ShufBytes", "[", "", "]", ";", "for", "(", "int", "i", "=", "", ";", "i", "<", "", ";", "++", "i", ")", "{", "unsigned", "int", "mask_val", ";", "if", "(", "i", "<=", "prefslot_end", ")", "{", "mask_val", "=", "(", "(", "i", "<", "prefslot_begin", ")", "?", "", ":", "elt_byte", "+", "(", "i", "-", "prefslot_begin", ")", ")", ";", "ShufBytes", "[", "i", "]", "=", "mask_val", ";", "}", "else", "ShufBytes", "[", "i", "]", "=", "ShufBytes", "[", "i", "%", "(", "prefslot_end", "+", "", ")", "]", ";", "}", "SDValue", "ShufMask", "[", "", "]", ";", "for", "(", "unsigned", "i", "=", "", ";", "i", "<", "sizeof", "(", "ShufMask", ")", "/", "sizeof", "(", "ShufMask", "[", "", "]", ")", ";", "++", "i", ")", "{", "unsigned", "bidx", "=", "i", "*", "", ";", "unsigned", "int", "bits", "=", "(", "(", "ShufBytes", "[", "bidx", "]", "<<", "", ")", "|", "(", "ShufBytes", "[", "bidx", "+", "", "]", "<<", "", ")", "|", "(", "ShufBytes", "[", "bidx", "+", "", "]", "<<", "", ")", "|", "ShufBytes", "[", "bidx", "+", "", "]", ")", ";", "ShufMask", "[", "i", "]", "=", "DAG", ".", "getConstant", "(", "bits", ",", "", ")", ";", "}", "SDValue", "ShufMaskVec", "=", "DAG", ".", "getNode", "(", "", ",", "dl", ",", "", ",", "&", "ShufMask", "[", "", "]", ",", "sizeof", "(", "ShufMask", ")", "/", "sizeof", "(", "ShufMask", "[", "", "]", ")", ")", ";", "retval", "=", "DAG", ".", "getNode", "(", "", ",", "dl", ",", "VT", ",", "DAG", ".", "getNode", "(", "", ",", "dl", ",", "N", ".", "getValueType", "(", ")", ",", "N", ",", "N", ",", "ShufMaskVec", ")", ")", ";", "}", "else", "{", "EVT", "VecVT", "=", "N", ".", "getValueType", "(", ")", ";", "if", "(", "!", "VecVT", ".", "isSimple", "(", ")", "||", "!", "VecVT", ".", "isVector", "(", ")", "||", "!", "VecVT", ".", "is128BitVector", "(", ")", ")", "{", "llvm_report_error", "(", "", "", ")", ";", "}", "if", "(", "Elt", ".", "getValueType", "(", ")", "!=", "", ")", "Elt", "=", "DAG", ".", "getNode", "(", "", ",", "dl", ",", "", ",", "Elt", ")", ";", "APInt", "scaleFactor", "=", "APInt", "(", "", ",", "uint64_t", "(", "", "/", "N", ".", "getValueType", "(", ")", ".", "getVectorNumElements", "(", ")", ")", ",", "false", ")", ";", "unsigned", "scaleShift", "=", "scaleFactor", ".", "logBase2", "(", ")", ";", "SDValue", "vecShift", ";", "if", "(", "scaleShift", ">", "", ")", "{", "Elt", "=", "DAG", ".", "getNode", "(", "", ",", "dl", ",", "", ",", "Elt", ",", "DAG", ".", "getConstant", "(", "scaleShift", ",", "", ")", ")", ";", "}", "vecShift", "=", "DAG", ".", "getNode", "(", "", ",", "dl", ",", "VecVT", ",", "N", ",", "Elt", ")", ";", "SDValue", "replicate", ";", "switch", "(", "VT", ".", "getSimpleVT", "(", ")", ".", "SimpleTy", ")", "{", "default", ":", "llvm_report_error", "(", "", "", ")", ";", "case", "", ":", "{", "SDValue", "factor", "=", "DAG", ".", "getConstant", "(", "", ",", "", ")", ";"], "ground_truth": ["replicate", "=", "DAG", ".", "getNode", "(", "", ",", "dl", ",", "", ",", "factor", ",", "factor", ",", "factor", ",", "factor", ")", ";"], "File": "SPUISelLowering8", "Func": "LowerEXTRACT_VECTOR_ELT", "Target": "CellSPU", "Target_Clf": "MPU", "Compiler_Type": "LLVM", "Idx": 61468, "Length": 520, "Cover_Rate": 0.5073170731707317} {"Template_token": ["", "default", ":", "{", "std", "::", "string", "msg", ";", "raw_string_ostream", "Msg", "(", "msg", ")", ";", "Msg", "<<", "", "<<", "ObjectVT", ".", "getEVTString", "(", ")", ";", "llvm_report_error", "(", "Msg", ".", "str", "(", ")", ")", ";", "}", "case", "", ":", "ArgRegClass", "=", "&", "", ";", "break", ";", "case", "", ":", "ArgRegClass", "=", "&", "", ";", "break", ";", "case", "", ":", "ArgRegClass", "=", "&", "", ";", "break", ";", "case", "", ":", "ArgRegClass", "=", "&", "", ";", "break", ";", "case", "", ":", "ArgRegClass", "=", "&", "", ";", "break", ";", "case", "", ":", "ArgRegClass", "=", "&", "", ";", "break", ";", "case", "", ":", "ArgRegClass", "=", "&", "", ";", "break", ";", "case", "", ":", "case", "", ":", "case", "", ":", "case", "", ":", "case", "", ":", "case", "", ":", "ArgRegClass", "=", "&", "", ";", "break", ";", "}", "unsigned", "VReg", "=", "RegInfo", ".", "createVirtualRegister", "(", "ArgRegClass", ")", ";", "RegInfo", ".", "addLiveIn", "(", "ArgRegs", "[", "ArgRegIdx", "]", ",", "VReg", ")", ";", "ArgVal", "=", "DAG", ".", "getCopyFromReg", "(", "Chain", ",", "dl", ",", "VReg", ",", "ObjectVT", ")", ";", "++", "ArgRegIdx", ";", "}", "else", "{", "int", "FI", "=", "MFI", "->", "CreateFixedObject", "(", "ObjSize", ",", "ArgOffset", ")", ";", "SDValue", "FIN", "=", "DAG", ".", "getFrameIndex", "(", "FI", ",", "PtrVT", ")", ";", "ArgVal", "=", "DAG", ".", "getLoad", "(", "ObjectVT", ",", "dl", ",", "Chain", ",", "FIN", ",", "NULL", ",", "", ")", ";", "ArgOffset", "+=", "StackSlotSize", ";", "}", "InVals", ".", "push_back", "(", "ArgVal", ")", ";", "Chain", "=", "ArgVal", ".", "getOperand", "(", "", ")", ";", "}", "if", "(", "isVarArg", ")", "{", "SmallVector", "<", "SDValue", ",", "", "-", "", "+", "", ">", "MemOps", ";", "for", "(", ";", "ArgRegIdx", "!=", "NumArgRegs", ";", "++", "ArgRegIdx", ")", "{", "VarArgsFrameIndex", "=", "MFI", "->", "CreateFixedObject", "(", "StackSlotSize", ",", "ArgOffset", ")", ";", "SDValue", "FIN", "=", "DAG", ".", "getFrameIndex", "(", "VarArgsFrameIndex", ",", "PtrVT", ")", ";", "SDValue", "ArgVal", "=", "DAG", ".", "getRegister", "(", "ArgRegs", "[", "ArgRegIdx", "]", ",", "", ")", ";", "SDValue", "Store", "=", "DAG", ".", "getStore", "(", "Chain", ",", "dl", ",", "ArgVal", ",", "FIN", ",", "NULL", ",", "", ")", ";", "Chain", "=", "Store", ".", "getOperand", "(", "", ")", ";"], "ground_truth": ["MemOps", ".", "push_back", "(", "Store", ")", ";"], "File": "SPUISelLowering8", "Func": "LowerFormalArguments", "Target": "CellSPU", "Target_Clf": "MPU", "Compiler_Type": "LLVM", "Idx": 61469, "Length": 340, "Cover_Rate": 0.5414012738853503} {"Template_token": ["", "break", ";", "}", "case", "", ":", "case", "", ":", "return", "LowerFP_TO_INT", "(", "Op", ",", "DAG", ",", "*", "this", ")", ";", "case", "", ":", "case", "", ":", "return", "LowerINT_TO_FP", "(", "Op", ",", "DAG", ",", "*", "this", ")", ";", "case", "", ":", "return", "LowerBUILD_VECTOR", "(", "Op", ",", "DAG", ")", ";", "case", "", ":", "return", "LowerSCALAR_TO_VECTOR", "(", "Op", ",", "DAG", ")", ";", "case", "", ":", "return", "LowerVECTOR_SHUFFLE", "(", "Op", ",", "DAG", ")", ";", "case", "", ":", "return", "LowerEXTRACT_VECTOR_ELT", "(", "Op", ",", "DAG", ")", ";", "case", "", ":", "return", "LowerINSERT_VECTOR_ELT", "(", "Op", ",", "DAG", ")", ";", "case", "", ":", "case", "", ":", "case", "", ":", "return", "LowerByteImmed", "(", "Op", ",", "DAG", ")", ";", "case", "", ":", "if", "(", "VT", "==", "", ")", "return", "LowerI8Math", "(", "Op", ",", "DAG", ",", "Opc", ",", "*", "this", ")", ";", "case", "", ":", "return", "LowerCTPOP", "(", "Op", ",", "DAG", ")", ";", "case", "", ":"], "ground_truth": ["return", "LowerSELECT_CC", "(", "Op", ",", "DAG", ",", "*", "this", ")", ";"], "File": "SPUISelLowering8", "Func": "LowerOperation", "Target": "CellSPU", "Target_Clf": "MPU", "Compiler_Type": "LLVM", "Idx": 61471, "Length": 156, "Cover_Rate": 0.3263598326359833} {"Template_token": ["", "CCInfo", ".", "AnalyzeReturn", "(", "Outs", ",", "RetCC_", ")", ";", "if", "(", "DAG", ".", "getMachineFunction", "(", ")", ".", "getRegInfo", "(", ")", ".", "liveout_empty", "(", ")", ")", "{", "for", "(", "unsigned", "i", "=", "", ";", "i", "!=", "RVLocs", ".", "size", "(", ")", ";", "++", "i", ")", "DAG", ".", "getMachineFunction", "(", ")", ".", "getRegInfo", "(", ")", ".", "addLiveOut", "(", "RVLocs", "[", "i", "]", ".", "getLocReg", "(", ")", ")", ";", "}", "SDValue", "Flag", ";", "for", "(", "unsigned", "i", "=", "", ";", "i", "!=", "RVLocs", ".", "size", "(", ")", ";", "++", "i", ")", "{", "CCValAssign", "&", "VA", "=", "RVLocs", "[", "i", "]", ";", "assert", "(", "VA", ".", "isRegLoc", "(", ")", "&&", "", ")", ";", "Chain", "=", "DAG", ".", "getCopyToReg", "(", "Chain", ",", "dl", ",", "VA", ".", "getLocReg", "(", ")", ",", "Outs", "[", "i", "]", ".", "Val", ",", "Flag", ")", ";"], "ground_truth": ["Flag", "=", "Chain", ".", "getValue", "(", "", ")", ";"], "File": "SPUISelLowering8", "Func": "LowerReturn", "Target": "CellSPU", "Target_Clf": "MPU", "Compiler_Type": "LLVM", "Idx": 61472, "Length": 144, "Cover_Rate": 0.5669291338582677} {"Template_token": ["", "SmallVector", "<", "CCValAssign", ",", "", ">", "RVLocs", ";", "CCState", "CCInfo", "(", "CallConv", ",", "isVarArg", ",", "getTargetMachine", "(", ")", ",", "RVLocs", ",", "*", "DAG", ".", "getContext", "(", ")", ")", ";", "CCInfo", ".", "AnalyzeReturn", "(", "Outs", ",", "RetCC_", ")", ";", "if", "(", "DAG", ".", "getMachineFunction", "(", ")", ".", "getRegInfo", "(", ")", ".", "liveout_empty", "(", ")", ")", "{", "for", "(", "unsigned", "i", "=", "", ";", "i", "!=", "RVLocs", ".", "size", "(", ")", ";", "++", "i", ")", "DAG", ".", "getMachineFunction", "(", ")", ".", "getRegInfo", "(", ")", ".", "addLiveOut", "(", "RVLocs", "[", "i", "]", ".", "getLocReg", "(", ")", ")", ";", "}", "SDValue", "Flag", ";", "for", "(", "unsigned", "i", "=", "", ";", "i", "!=", "RVLocs", ".", "size", "(", ")", ";", "++", "i", ")", "{", "CCValAssign", "&", "VA", "=", "RVLocs", "[", "i", "]", ";", "assert", "(", "VA", ".", "isRegLoc", "(", ")", "&&", "", ")", ";", "Chain", "=", "DAG", ".", "getCopyToReg", "(", "Chain", ",", "dl", ",", "VA", ".", "getLocReg", "(", ")", ",", "Outs", "[", "i", "]", ".", "Val", ",", "Flag", ")", ";", "Flag", "=", "Chain", ".", "getValue", "(", "", ")", ";"], "ground_truth": ["}"], "File": "SPUISelLowering8", "Func": "LowerReturn", "Target": "CellSPU", "Target_Clf": "MPU", "Compiler_Type": "LLVM", "Idx": 61473, "Length": 174, "Cover_Rate": 0.6850393700787402} {"Template_token": ["", "if", "(", "(", "offset", "&", "~", "", ")", ">", "", ")", "{", "basePtr", "=", "DAG", ".", "getNode", "(", "", ",", "dl", ",", "PtrVT", ",", "basePtr", ",", "DAG", ".", "getConstant", "(", "(", "offset", "&", "~", "", ")", ",", "PtrVT", ")", ")", ";", "}", "}", "else", "{", "insertEltOffs", "=", "DAG", ".", "getNode", "(", "", ",", "dl", ",", "PtrVT", ",", "basePtr", ",", "DAG", ".", "getConstant", "(", "", ",", "PtrVT", ")", ")", ";", "}", "}", "else", "{", "if", "(", "basePtr", ".", "getOpcode", "(", ")", "==", "", ")", "{", "MachineFunction", "&", "MF", "=", "DAG", ".", "getMachineFunction", "(", ")", ";", "MachineRegisterInfo", "&", "RegInfo", "=", "MF", ".", "getRegInfo", "(", ")", ";", "unsigned", "VReg", "=", "RegInfo", ".", "createVirtualRegister", "(", "&", "", ")", ";", "SDValue", "Flag", ";", "SDValue", "Op0", "=", "basePtr", ".", "getOperand", "(", "", ")", ";", "SDValue", "Op1", "=", "basePtr", ".", "getOperand", "(", "", ")", ";", "if", "(", "isa", "<", "ConstantSDNode", ">", "(", "Op1", ")", ")", "{", "basePtr", "=", "DAG", ".", "getNode", "(", "", ",", "dl", ",", "PtrVT", ",", "Op0", ",", "Op1", ")", ";", "the_chain", "=", "DAG", ".", "getCopyToReg", "(", "the_chain", ",", "dl", ",", "VReg", ",", "basePtr", ",", "Flag", ")", ";", "basePtr", "=", "DAG", ".", "getCopyFromReg", "(", "the_chain", ",", "dl", ",", "VReg", ",", "PtrVT", ")", ";", "}", "else", "{", "basePtr", "=", "DAG", ".", "getNode", "(", "", ",", "dl", ",", "PtrVT", ",", "Op0", ",", "Op1", ")", ";", "}", "}", "else", "{", "basePtr", "=", "DAG", ".", "getNode", "(", "", ",", "dl", ",", "PtrVT", ",", "basePtr", ",", "DAG", ".", "getConstant", "(", "", ",", "PtrVT", ")", ")", ";", "}", "insertEltOffs", "=", "DAG", ".", "getNode", "(", "", ",", "dl", ",", "PtrVT", ",", "basePtr", ",", "DAG", ".", "getConstant", "(", "", ",", "PtrVT", ")", ")", ";", "}", "alignLoadVec", "=", "DAG", ".", "getLoad", "(", "", ",", "dl", ",", "the_chain", ",", "basePtr", ",", "SN", "->", "getSrcValue", "(", ")", ",", "SN", "->", "getSrcValueOffset", "(", ")", ",", "SN", "->", "isVolatile", "(", ")", ",", "", ")", ";", "the_chain", "=", "alignLoadVec", ".", "getValue", "(", "", ")", ";", "LoadSDNode", "*", "LN", "=", "cast", "<", "LoadSDNode", ">", "(", "alignLoadVec", ")", ";", "SDValue", "theValue", "=", "SN", "->", "getValue", "(", ")", ";", "SDValue", "result", ";", "if", "(", "StVT", "!=", "VT", "&&", "(", "theValue", ".", "getOpcode", "(", ")", "==", "", "||", "theValue", ".", "getOpcode", "(", ")", "==", "", ")", ")", "{", "theValue", "=", "theValue", ".", "getOperand", "(", "", ")", ";", "}", "if", "(", "DebugFlag", "&&", "isCurrentDebugType", "(", "DEBUG_TYPE", ")", ")", "{", "cerr", "<<", "", ";", "basePtr", ".", "getNode", "(", ")", "->", "dump", "(", "&", "DAG", ")", ";", "cerr", "<<", "", ";", "}", "SDValue", "insertEltOp", "=", "DAG", ".", "getNode", "(", "", ",", "dl", ",", "vecVT", ",", "insertEltOffs", ")", ";", "SDValue", "vectorizeOp", "=", "DAG", ".", "getNode", "(", "", ",", "dl", ",", "vecVT", ",", "theValue", ")", ";", "result", "=", "DAG", ".", "getNode", "(", "", ",", "dl", ",", "vecVT", ",", "vectorizeOp", ",", "alignLoadVec", ",", "DAG", ".", "getNode", "(", "", ",", "dl", ",", "", ",", "insertEltOp", ")", ")", ";"], "ground_truth": ["result", "=", "DAG", ".", "getStore", "(", "the_chain", ",", "dl", ",", "result", ",", "basePtr", ",", "LN", "->", "getSrcValue", "(", ")", ",", "LN", "->", "getSrcValueOffset", "(", ")", ",", "LN", "->", "isVolatile", "(", ")", ",", "LN", "->", "getAlignment", "(", ")", ")", ";"], "File": "SPUISelLowering8", "Func": "LowerSTORE", "Target": "CellSPU", "Target_Clf": "MPU", "Compiler_Type": "LLVM", "Idx": 61474, "Length": 507, "Cover_Rate": 0.5370762711864406} {"Template_token": ["", "}", "else", "{", "if", "(", "basePtr", ".", "getOpcode", "(", ")", "==", "", ")", "{", "MachineFunction", "&", "MF", "=", "DAG", ".", "getMachineFunction", "(", ")", ";", "MachineRegisterInfo", "&", "RegInfo", "=", "MF", ".", "getRegInfo", "(", ")", ";", "unsigned", "VReg", "=", "RegInfo", ".", "createVirtualRegister", "(", "&", "", ")", ";", "SDValue", "Flag", ";", "SDValue", "Op0", "=", "basePtr", ".", "getOperand", "(", "", ")", ";", "SDValue", "Op1", "=", "basePtr", ".", "getOperand", "(", "", ")", ";", "if", "(", "isa", "<", "ConstantSDNode", ">", "(", "Op1", ")", ")", "{", "basePtr", "=", "DAG", ".", "getNode", "(", "", ",", "dl", ",", "PtrVT", ",", "Op0", ",", "Op1", ")", ";", "the_chain", "=", "DAG", ".", "getCopyToReg", "(", "the_chain", ",", "dl", ",", "VReg", ",", "basePtr", ",", "Flag", ")", ";", "basePtr", "=", "DAG", ".", "getCopyFromReg", "(", "the_chain", ",", "dl", ",", "VReg", ",", "PtrVT", ")", ";", "}", "else", "{", "basePtr", "=", "DAG", ".", "getNode", "(", "", ",", "dl", ",", "PtrVT", ",", "Op0", ",", "Op1", ")", ";", "}", "}", "else", "{", "basePtr", "=", "DAG", ".", "getNode", "(", "", ",", "dl", ",", "PtrVT", ",", "basePtr", ",", "DAG", ".", "getConstant", "(", "", ",", "PtrVT", ")", ")", ";", "}", "insertEltOffs", "=", "DAG", ".", "getNode", "(", "", ",", "dl", ",", "PtrVT", ",", "basePtr", ",", "DAG", ".", "getConstant", "(", "", ",", "PtrVT", ")", ")", ";", "}", "alignLoadVec", "=", "DAG", ".", "getLoad", "(", "", ",", "dl", ",", "the_chain", ",", "basePtr", ",", "SN", "->", "getSrcValue", "(", ")", ",", "SN", "->", "getSrcValueOffset", "(", ")", ",", "SN", "->", "isVolatile", "(", ")", ",", "", ")", ";", "the_chain", "=", "alignLoadVec", ".", "getValue", "(", "", ")", ";", "LoadSDNode", "*", "LN", "=", "cast", "<", "LoadSDNode", ">", "(", "alignLoadVec", ")", ";", "SDValue", "theValue", "=", "SN", "->", "getValue", "(", ")", ";", "SDValue", "result", ";", "if", "(", "StVT", "!=", "VT", "&&", "(", "theValue", ".", "getOpcode", "(", ")", "==", "", "||", "theValue", ".", "getOpcode", "(", ")", "==", "", ")", ")", "{", "theValue", "=", "theValue", ".", "getOperand", "(", "", ")", ";", "}", "if", "(", "DebugFlag", "&&", "isCurrentDebugType", "(", "DEBUG_TYPE", ")", ")", "{", "cerr", "<<", "", ";", "basePtr", ".", "getNode", "(", ")", "->", "dump", "(", "&", "DAG", ")", ";", "cerr", "<<", "", ";", "}", "SDValue", "insertEltOp", "=", "DAG", ".", "getNode", "(", "", ",", "dl", ",", "vecVT", ",", "insertEltOffs", ")", ";", "SDValue", "vectorizeOp", "=", "DAG", ".", "getNode", "(", "", ",", "dl", ",", "vecVT", ",", "theValue", ")", ";", "result", "=", "DAG", ".", "getNode", "(", "", ",", "dl", ",", "vecVT", ",", "vectorizeOp", ",", "alignLoadVec", ",", "DAG", ".", "getNode", "(", "", ",", "dl", ",", "", ",", "insertEltOp", ")", ")", ";", "result", "=", "DAG", ".", "getStore", "(", "the_chain", ",", "dl", ",", "result", ",", "basePtr", ",", "LN", "->", "getSrcValue", "(", ")", ",", "LN", "->", "getSrcValueOffset", "(", ")", ",", "LN", "->", "isVolatile", "(", ")", ",", "LN", "->", "getAlignment", "(", ")", ")", ";", "if", "(", "DebugFlag", "&&", "isCurrentDebugType", "(", "DEBUG_TYPE", ")", ")", "{", "const", "SDValue", "&", "currentRoot", "=", "DAG", ".", "getRoot", "(", ")", ";", "DAG", ".", "setRoot", "(", "result", ")", ";", "cerr", "<<", "", ";", "DAG", ".", "dump", "(", ")", ";", "cerr", "<<", "", ";", "DAG", ".", "setRoot", "(", "currentRoot", ")", ";", "}", "return", "result", ";", "}", "case", "", ":", "case", "", ":", "case", "", ":", "case", "", ":", "case", "", ":"], "ground_truth": ["{"], "File": "SPUISelLowering8", "Func": "LowerSTORE", "Target": "CellSPU", "Target_Clf": "MPU", "Compiler_Type": "LLVM", "Idx": 61475, "Length": 507, "Cover_Rate": 0.5370762711864406} {"Template_token": ["", "cerr", "<<", "", ";", "cerr", "<<", "", "<<", "Opc", "<<", "", ";", "cerr", "<<", "", ";", "N", "->", "dump", "(", ")", ";", "abort", "(", ")", ";"], "ground_truth": ["}"], "File": "SPUISelLowering8", "Func": "ReplaceNodeResults", "Target": "CellSPU", "Target_Clf": "MPU", "Compiler_Type": "LLVM", "Idx": 61477, "Length": 27, "Cover_Rate": 0.3375} {"Template_token": ["", "return", "TM", ";"], "ground_truth": ["}"], "File": "SPUISelLowering", "Func": "getSPUTargetMachine", "Target": "CellSPU", "Target_Clf": "MPU", "Compiler_Type": "LLVM", "Idx": 61480, "Length": 4, "Cover_Rate": 0.4} {"Template_token": ["", "FunctionInfo", "(", "MachineFunction", "&", "MF", ")", ":", "UsesLR", "(", "false", ")", "{"], "ground_truth": ["}"], "File": "SPUMachineFunction2", "Func": "SPUFunctionInfo", "Target": "CellSPU", "Target_Clf": "MPU", "Compiler_Type": "LLVM", "Idx": 61481, "Length": 13, "Cover_Rate": 1.0} {"Template_token": ["", "FunctionInfo", "(", "MachineFunction", "&", "MF", ")", ":", "UsesLR", "(", "false", ")", "{"], "ground_truth": ["}"], "File": "SPUMachineFunction2", "Func": "SPUFunctionInfo", "Target": "CellSPU", "Target_Clf": "MPU", "Compiler_Type": "LLVM", "Idx": 61482, "Length": 13, "Cover_Rate": 1.0} {"Template_token": ["", "void", "FunctionInfo", "::", "anchor", "(", ")", "{"], "ground_truth": ["}"], "File": "SPUMachineFunction", "Func": "anchor", "Target": "CellSPU", "Target_Clf": "MPU", "Compiler_Type": "LLVM", "Idx": 61483, "Length": 8, "Cover_Rate": 1.0} {"Template_token": ["", "void", "FunctionInfo", "::", "anchor", "(", ")", "{"], "ground_truth": ["}"], "File": "SPUMachineFunction", "Func": "anchor", "Target": "CellSPU", "Target_Clf": "MPU", "Compiler_Type": "LLVM", "Idx": 61484, "Length": 8, "Cover_Rate": 1.0} {"Template_token": ["", "int", "getVarArgsFrameIndex", "(", ")", "const", "{"], "ground_truth": ["return", "VarArgsFrameIndex", ";"], "File": "SPUMachineFunction", "Func": "getVarArgsFrameIndex", "Target": "CellSPU", "Target_Clf": "MPU", "Compiler_Type": "LLVM", "Idx": 61485, "Length": 9, "Cover_Rate": 0.9} {"Template_token": ["", "void", "setUsesLR", "(", "bool", "U", ")", "{", "UsesLR", "=", "U", ";"], "ground_truth": ["}"], "File": "SPUMachineFunction", "Func": "setUsesLR", "Target": "CellSPU", "Target_Clf": "MPU", "Compiler_Type": "LLVM", "Idx": 61486, "Length": 12, "Cover_Rate": 1.0} {"Template_token": ["", "VarArgsFrameIndex", "=", "Index", ";"], "ground_truth": ["}"], "File": "SPUMachineFunction", "Func": "setVarArgsFrameIndex", "Target": "CellSPU", "Target_Clf": "MPU", "Compiler_Type": "LLVM", "Idx": 61488, "Length": 5, "Cover_Rate": 0.4166666666666667} {"Template_token": ["", "FunctionInfo", "(", "MachineFunction", "&", "MF", ")", ":", "UsesLR", "(", "false", ")", ",", "VarArgsFrameIndex", "(", "", ")", "{"], "ground_truth": ["}"], "File": "SPUMachineFunction", "Func": "SPUFunctionInfo", "Target": "CellSPU", "Target_Clf": "MPU", "Compiler_Type": "LLVM", "Idx": 61490, "Length": 18, "Cover_Rate": 1.0} {"Template_token": ["", "FunctionInfo", "(", "MachineFunction", "&", "MF", ")", ":", "UsesLR", "(", "false", ")", ",", "VarArgsFrameIndex", "(", "", ")", "{"], "ground_truth": ["}"], "File": "SPUMachineFunction", "Func": "SPUFunctionInfo", "Target": "CellSPU", "Target_Clf": "MPU", "Compiler_Type": "LLVM", "Idx": 61491, "Length": 18, "Cover_Rate": 1.0} {"Template_token": ["", "return", "UsesLR", ";"], "ground_truth": ["}"], "File": "SPUMachineFunction", "Func": "usesLR", "Target": "CellSPU", "Target_Clf": "MPU", "Compiler_Type": "LLVM", "Idx": 61492, "Length": 4, "Cover_Rate": 0.4444444444444444} {"Template_token": ["", "Data64bitsDirective", "=", "", ";", "AlignmentIsInBytes", "=", "false", ";", "PCSymbol", "=", "", ";", "CommentString", "=", "", ";", "GlobalPrefix", "=", "", ";", "PrivateGlobalPrefix", "=", "", ";", "HasLEB128", "=", "true", ";", "HasDotLocAndDotFile", "=", "true", ";"], "ground_truth": ["SupportsDebugInformation", "=", "true", ";"], "File": "SPUMCAsmInfo1", "Func": "SPULinuxMCAsmInfo", "Target": "CellSPU", "Target_Clf": "MPU", "Compiler_Type": "LLVM", "Idx": 61494, "Length": 36, "Cover_Rate": 0.5454545454545454} {"Template_token": ["", "GlobalPrefix", "=", "", ";", "PrivateGlobalPrefix", "=", "", ";", "HasLEB128", "=", "true", ";", "HasDotLocAndDotFile", "=", "true", ";", "SupportsDebugInformation", "=", "true", ";", "ExceptionsType", "=", "ExceptionHandling", "::", "None", ";"], "ground_truth": ["UsesELFSectionDirectiveForBSS", "=", "true", ";"], "File": "SPUMCAsmInfo2", "Func": "SPULinuxMCAsmInfo", "Target": "CellSPU", "Target_Clf": "MPU", "Compiler_Type": "LLVM", "Idx": 61495, "Length": 30, "Cover_Rate": 0.46875} {"Template_token": ["", "PCSymbol", "=", "", ";", "CommentString", "=", "", ";", "GlobalPrefix", "=", "", ";", "PrivateGlobalPrefix", "=", "", ";", "HasLEB128", "=", "true", ";", "HasDotLocAndDotFile", "=", "true", ";", "SupportsDebugInformation", "=", "true", ";", "ExceptionsType", "=", "ExceptionHandling", "::", "None", ";", "UsesELFSectionDirectiveForBSS", "=", "true", ";"], "ground_truth": ["}"], "File": "SPUMCAsmInfo2", "Func": "SPULinuxMCAsmInfo", "Target": "CellSPU", "Target_Clf": "MPU", "Compiler_Type": "LLVM", "Idx": 61496, "Length": 39, "Cover_Rate": 0.609375} {"Template_token": ["", "void", "LinuxMCAsmInfo", "::", "anchor", "(", ")", "{"], "ground_truth": ["}"], "File": "SPUMCAsmInfo3", "Func": "anchor", "Target": "CellSPU", "Target_Clf": "MPU", "Compiler_Type": "LLVM", "Idx": 61497, "Length": 8, "Cover_Rate": 1.0} {"Template_token": ["", "void", "LinuxMCAsmInfo", "::", "anchor", "(", ")", "{"], "ground_truth": ["}"], "File": "SPUMCAsmInfo3", "Func": "anchor", "Target": "CellSPU", "Target_Clf": "MPU", "Compiler_Type": "LLVM", "Idx": 61498, "Length": 8, "Cover_Rate": 1.0} {"Template_token": ["", "Data64bitsDirective", "=", "", ";", "AlignmentIsInBytes", "=", "false", ";", "PCSymbol", "=", "", ";", "CommentString", "=", "", ";", "GlobalPrefix", "=", "", ";", "PrivateGlobalPrefix", "=", "", ";"], "ground_truth": ["HasLEB128", "=", "true", ";"], "File": "SPUMCAsmInfo3", "Func": "SPULinuxMCAsmInfo", "Target": "CellSPU", "Target_Clf": "MPU", "Compiler_Type": "LLVM", "Idx": 61499, "Length": 28, "Cover_Rate": 0.4375} {"Template_token": ["", "CommentString", "=", "", ";", "GlobalPrefix", "=", "", ";", "PrivateGlobalPrefix", "=", "", ";", "HasLEB128", "=", "true", ";", "HasDotLocAndDotFile", "=", "true", ";"], "ground_truth": ["SupportsDebugInformation", "=", "true", ";"], "File": "SPUMCAsmInfo4", "Func": "SPULinuxMCAsmInfo", "Target": "CellSPU", "Target_Clf": "MPU", "Compiler_Type": "LLVM", "Idx": 61500, "Length": 24, "Cover_Rate": 0.34285714285714286} {"Template_token": ["", "MCCodeGenInfo", "*", "X", "=", "new", "MCCodeGenInfo", "(", ")", ";", "X", "->", "InitMCCodeGenInfo", "(", "Reloc", "::", "Static", ",", "CM", ")", ";", "return", "X", ";"], "ground_truth": ["}"], "File": "SPUMCTargetDesc2", "Func": "createSPUMCCodeGenInfo", "Target": "CellSPU", "Target_Clf": "MPU", "Compiler_Type": "LLVM", "Idx": 61501, "Length": 24, "Cover_Rate": 0.5581395348837209} {"Template_token": ["", "InitMCRegisterInfo", "(", "X", ",", "", ")", ";"], "ground_truth": ["return", "X", ";"], "File": "SPUMCTargetDesc", "Func": "createCellSPUMCRegisterInfo", "Target": "CellSPU", "Target_Clf": "MPU", "Compiler_Type": "LLVM", "Idx": 61503, "Length": 10, "Cover_Rate": 0.3225806451612903} {"Template_token": ["", "MCRegisterInfo", "*", "X", "=", "new", "MCRegisterInfo", "(", ")", ";"], "ground_truth": ["InitMCRegisterInfo", "(", "X", ",", "", ")", ";"], "File": "SPUMCTargetDesc", "Func": "createCellSPUMCRegisterInfo", "Target": "CellSPU", "Target_Clf": "MPU", "Compiler_Type": "LLVM", "Idx": 61504, "Length": 16, "Cover_Rate": 0.5161290322580645} {"Template_token": ["", "MachineLocation", "Dst", "(", "MachineLocation", "::", "VirtualFP", ")", ";", "MachineLocation", "Src", "(", "", ",", "", ")", ";", "MAI", "->", "addInitialFrameState", "(", "", ",", "Dst", ",", "Src", ")", ";", "return", "MAI", ";"], "ground_truth": ["}"], "File": "SPUMCTargetDesc", "Func": "createSPUMCAsmInfo", "Target": "CellSPU", "Target_Clf": "MPU", "Compiler_Type": "LLVM", "Idx": 61505, "Length": 31, "Cover_Rate": 0.5254237288135594} {"Template_token": ["", "static", "MCAsmInfo", "*", "createMCAsmInfo", "(", "const", "Target", "&", "T", ",", "StringRef", "TT", ")", "{", "MCAsmInfo", "*", "MAI", "=", "new", "LinuxMCAsmInfo", "(", "T", ",", "TT", ")", ";", "MachineLocation", "Dst", "(", "MachineLocation", "::", "VirtualFP", ")", ";"], "ground_truth": ["MachineLocation", "Src", "(", "", ",", "", ")", ";"], "File": "SPUMCTargetDesc", "Func": "createSPUMCAsmInfo", "Target": "CellSPU", "Target_Clf": "MPU", "Compiler_Type": "LLVM", "Idx": 61506, "Length": 42, "Cover_Rate": 0.711864406779661} {"Template_token": ["", "MCCodeGenInfo", "*", "X", "=", "new", "MCCodeGenInfo", "(", ")", ";", "X", "->", "InitMCCodeGenInfo", "(", "Reloc", "::", "Static", ",", "CM", ",", "OL", ")", ";", "return", "X", ";"], "ground_truth": ["}"], "File": "SPUMCTargetDesc", "Func": "createSPUMCCodeGenInfo", "Target": "CellSPU", "Target_Clf": "MPU", "Compiler_Type": "LLVM", "Idx": 61507, "Length": 26, "Cover_Rate": 0.52} {"Template_token": ["", "static", "MCCodeGenInfo", "*", "createMCCodeGenInfo", "(", "StringRef", "TT", ",", "Reloc", "::", "Model", "RM", ",", "CodeModel", "::", "Model", "CM", ",", "CodeGenOpt", "::", "Level", "OL", ")", "{"], "ground_truth": ["MCCodeGenInfo", "*", "X", "=", "new", "MCCodeGenInfo", "(", ")", ";"], "File": "SPUMCTargetDesc", "Func": "createSPUMCCodeGenInfo", "Target": "CellSPU", "Target_Clf": "MPU", "Compiler_Type": "LLVM", "Idx": 61508, "Length": 33, "Cover_Rate": 0.66} {"Template_token": ["", "static", "MCInstrInfo", "*", "createMCInstrInfo", "(", ")", "{", "MCInstrInfo", "*", "X", "=", "new", "MCInstrInfo", "(", ")", ";"], "ground_truth": ["InitMCInstrInfo", "(", "X", ")", ";"], "File": "SPUMCTargetDesc", "Func": "createSPUMCInstrInfo", "Target": "CellSPU", "Target_Clf": "MPU", "Compiler_Type": "LLVM", "Idx": 61509, "Length": 21, "Cover_Rate": 0.84} {"Template_token": ["", "InitMCSubtargetInfo", "(", "X", ",", "TT", ",", "CPU", ",", "FS", ")", ";", "return", "X", ";"], "ground_truth": ["}"], "File": "SPUMCTargetDesc", "Func": "createSPUMCSubtargetInfo", "Target": "CellSPU", "Target_Clf": "MPU", "Compiler_Type": "LLVM", "Idx": 61510, "Length": 15, "Cover_Rate": 0.38461538461538464} {"Template_token": ["", "void", "LLVMInitializeCellTargetMC", "(", ")", "{", "RegisterMCAsmInfoFn", "X", "(", "TheCellTarget", ",", "createMCAsmInfo", ")", ";"], "ground_truth": ["TargetRegistry", "::", "RegisterMCCodeGenInfo", "(", "TheCellTarget", ",", "createMCCodeGenInfo", ")", ";"], "File": "SPUMCTargetDesc", "Func": "LLVMInitializeCellSPUTargetMC", "Target": "CellSPU", "Target_Clf": "MPU", "Compiler_Type": "LLVM", "Idx": 61511, "Length": 22, "Cover_Rate": 0.44} {"Template_token": ["", "TargetRegistry", "::", "RegisterMCInstrInfo", "(", "TheCellTarget", ",", "createMCInstrInfo", ")", ";"], "ground_truth": ["TargetRegistry", "::", "RegisterMCRegInfo", "(", "TheCellTarget", ",", "createCellMCRegisterInfo", ")", ";"], "File": "SPUMCTargetDesc", "Func": "LLVMInitializeCellSPUTargetMC", "Target": "CellSPU", "Target_Clf": "MPU", "Compiler_Type": "LLVM", "Idx": 61512, "Length": 18, "Cover_Rate": 0.36} {"Template_token": ["", "FunctionPass", "*", "llvm", "::", "createNopFillerPass", "(", "TargetMachine", "&", "tm", ")", "{", "return", "new", "NopFiller", "(", "tm", ")", ";"], "ground_truth": ["}"], "File": "SPUNopFiller", "Func": "createSPUNopFillerPass", "Target": "CellSPU", "Target_Clf": "MPU", "Compiler_Type": "LLVM", "Idx": 61513, "Length": 19, "Cover_Rate": 1.0} {"Template_token": ["", "case", "", ":", "retval", "=", "pseudo", ";", "break", ";", "case", "", ":", "retval", "=", "odd", ";", "break", ";", "case", "", ":", "retval", "=", "even", ";", "break", ";", "default", ":", "retval", "=", "pseudo", ";", "assert", "(", "false", "&&", "", ")", ";"], "ground_truth": ["break", ";"], "File": "SPUNopFiller", "Func": "getOpPlacement", "Target": "CellSPU", "Target_Clf": "MPU", "Compiler_Type": "LLVM", "Idx": 61515, "Length": 42, "Cover_Rate": 0.4117647058823529} {"Template_token": ["", "NopFiller", "::", "OpPlace", "NopFiller", "::", "getOpPlacement", "(", "MachineInstr", "&", "instr", ")", "{", "int", "sc", "=", "instr", ".", "getDesc", "(", ")", ".", "getSchedClass", "(", ")", ";", "const", "InstrStage", "*", "stage", "=", "IID", "->", "beginStage", "(", "sc", ")", ";", "unsigned", "FUs", "=", "stage", "->", "getUnits", "(", ")", ";", "OpPlace", "retval", ";", "switch", "(", "FUs", ")", "{", "case", "", ":", "retval", "=", "pseudo", ";", "break", ";", "case", "", ":", "retval", "=", "odd", ";", "break", ";"], "ground_truth": ["case", "", ":", "retval", "=", "even", ";", "break", ";"], "File": "SPUNopFiller", "Func": "getOpPlacement", "Target": "CellSPU", "Target_Clf": "MPU", "Compiler_Type": "LLVM", "Idx": 61516, "Length": 81, "Cover_Rate": 0.7941176470588235} {"Template_token": ["", "virtual", "const", "char", "*", "getPassName", "(", ")", "const", "{", "return", "", ";"], "ground_truth": ["}"], "File": "SPUNopFiller", "Func": "getPassName", "Target": "CellSPU", "Target_Clf": "MPU", "Compiler_Type": "LLVM", "Idx": 61517, "Length": 13, "Cover_Rate": 1.0} {"Template_token": ["", "virtual", "const", "char", "*", "getPassName", "(", ")", "const", "{", "return", "", ";"], "ground_truth": ["}"], "File": "SPUNopFiller", "Func": "getPassName", "Target": "CellSPU", "Target_Clf": "MPU", "Compiler_Type": "LLVM", "Idx": 61518, "Length": 13, "Cover_Rate": 1.0} {"Template_token": ["", "else", "if", "(", "!", "isEvenPlace", "&&", "this_optype", "==", "even", "&&", "next_optype", "==", "odd", ")", "{", "DEBUG", "(", "dbgs", "(", ")", "<<", "", ";", ")", ";", "DEBUG", "(", "I", "->", "dump", "(", ")", ";", ")", ";", "BuildMI", "(", "MBB", ",", "I", ",", "I", "->", "getDebugLoc", "(", ")", ",", "TII", "->", "get", "(", "", ")", ")", ";", "isEvenPlace", "=", "true", ";", "}", "if", "(", "this_optype", "!=", "pseudo", ")", "isEvenPlace", "=", "!", "isEvenPlace", ";", "}", "if", "(", "!", "isEvenPlace", ")", "{", "MachineBasicBlock", "::", "iterator", "J", "=", "MBB", ".", "end", "(", ")", ";", "J", "--", ";", "if", "(", "getOpPlacement", "(", "*", "J", ")", "==", "odd", ")", "{", "DEBUG", "(", "dbgs", "(", ")", "<<", "", ";", ")", ";", "BuildMI", "(", "MBB", ",", "J", ",", "J", "->", "getDebugLoc", "(", ")", ",", "TII", "->", "get", "(", "", ")", ")", ";", "}", "else", "{", "J", "++", ";", "DEBUG", "(", "dbgs", "(", ")", "<<", "", ";", ")", ";"], "ground_truth": ["BuildMI", "(", "MBB", ",", "J", ",", "DebugLoc", "(", ")", ",", "TII", "->", "get", "(", "", ")", ")", ";"], "File": "SPUNopFiller", "Func": "runOnMachineBasicBlock", "Target": "CellSPU", "Target_Clf": "MPU", "Compiler_Type": "LLVM", "Idx": 61519, "Length": 167, "Cover_Rate": 0.49117647058823527} {"Template_token": ["", "isEvenPlace", "=", "true", ";", "for", "(", "MachineFunction", "::", "iterator", "FI", "=", "F", ".", "begin", "(", ")", ",", "FE", "=", "F", ".", "end", "(", ")", ";", "FI", "!=", "FE", ";", "++", "FI", ")", "runOnMachineBasicBlock", "(", "*", "FI", ")", ";", "return", "true", ";"], "ground_truth": ["}"], "File": "SPUNopFiller", "Func": "runOnMachineFunction", "Target": "CellSPU", "Target_Clf": "MPU", "Compiler_Type": "LLVM", "Idx": 61520, "Length": 42, "Cover_Rate": 0.84} {"Template_token": ["", "for", "(", "MachineFunction", "::", "iterator", "FI", "=", "F", ".", "begin", "(", ")", ",", "FE", "=", "F", ".", "end", "(", ")", ";", "FI", "!=", "FE", ";", "++", "FI", ")", "runOnMachineBasicBlock", "(", "*", "FI", ")", ";"], "ground_truth": ["return", "true", ";"], "File": "SPUNopFiller", "Func": "runOnMachineFunction", "Target": "CellSPU", "Target_Clf": "MPU", "Compiler_Type": "LLVM", "Idx": 61521, "Length": 37, "Cover_Rate": 0.74} {"Template_token": ["", "Offset", "+=", "MO", ".", "getImm", "(", ")", "+", "MFI", "->", "getStackSize", "(", ")", "+", "FrameInfo", "::", "minStackSize", "(", ")", ";", "assert", "(", "(", "Offset", "&", "", ")", "==", "", "&&", "", ")", ";", "SPOp", ".", "ChangeToRegister", "(", "", ",", "false", ")", ";", "if", "(", "Offset", ">", "FrameInfo", "::", "maxFrameOffset", "(", ")", "||", "Offset", "<", "FrameInfo", "::", "minFrameOffset", "(", ")", ")", "{", "errs", "(", ")", "<<", "", "<<", "Offset", "<<", "", ";", "}", "else", "{", "MO", ".", "ChangeToImmediate", "(", "Offset", ")", ";"], "ground_truth": ["}"], "File": "SPURegisterInfo10", "Func": "eliminateFrameIndex", "Target": "CellSPU", "Target_Clf": "MPU", "Compiler_Type": "LLVM", "Idx": 61523, "Length": 82, "Cover_Rate": 0.3166023166023166} {"Template_token": ["", "BuildMI", "(", "MBB", ",", "MBBI", ",", "dl", ",", "TII", ".", "get", "(", "", ")", ",", "", ")", ".", "addImm", "(", "FrameSize", "+", "LinkSlotOffset", ")", ".", "addReg", "(", "", ")", ";", "BuildMI", "(", "MBB", ",", "MBBI", ",", "dl", ",", "TII", ".", "get", "(", "", ")", ",", "", ")", ".", "addReg", "(", "", ")", ".", "addImm", "(", "FrameSize", ")", ";", "}", "else", "if", "(", "FrameSize", "<=", "(", "", "<<", "", ")", "-", "", "&&", "FrameSize", ">=", "-", "(", "", "<<", "", ")", ")", "{", "BuildMI", "(", "MBB", ",", "MBBI", ",", "dl", ",", "TII", ".", "get", "(", "", ")", ",", "", ")", ".", "addImm", "(", "", ")", ".", "addReg", "(", "", ")", ";", "BuildMI", "(", "MBB", ",", "MBBI", ",", "dl", ",", "TII", ".", "get", "(", "", ")", ",", "", ")", ".", "addImm", "(", "FrameSize", ")", ";", "BuildMI", "(", "MBB", ",", "MBBI", ",", "dl", ",", "TII", ".", "get", "(", "", ")", ",", "", ")", ".", "addReg", "(", "", ")", ".", "addReg", "(", "", ")", ";", "BuildMI", "(", "MBB", ",", "MBBI", ",", "dl", ",", "TII", ".", "get", "(", "", ")", ",", "", ")", ".", "addImm", "(", "", ")", ".", "addReg", "(", "", ")", ";", "BuildMI", "(", "MBB", ",", "MBBI", ",", "dl", ",", "TII", ".", "get", "(", "", ")", ",", "", ")", ".", "addReg", "(", "", ")", ".", "addImm", "(", "", ")", ";", "BuildMI", "(", "MBB", ",", "MBBI", ",", "dl", ",", "TII", ".", "get", "(", "", ")", ",", "", ")", ".", "addReg", "(", "", ")", ".", "addReg", "(", "", ")", ";", "}", "else", "{", "std", "::", "string", "msg", ";"], "ground_truth": ["raw_string_ostream", "Msg", "(", "msg", ")", ";"], "File": "SPURegisterInfo10", "Func": "emitEpilogue", "Target": "CellSPU", "Target_Clf": "MPU", "Compiler_Type": "LLVM", "Idx": 61524, "Length": 259, "Cover_Rate": 0.5692307692307692} {"Template_token": ["", "}", "else", "if", "(", "FrameSize", "<=", "(", "", "<<", "", ")", "-", "", "&&", "FrameSize", ">=", "-", "(", "", "<<", "", ")", ")", "{", "BuildMI", "(", "MBB", ",", "MBBI", ",", "dl", ",", "TII", ".", "get", "(", "", ")", ",", "", ")", ".", "addImm", "(", "", ")", ".", "addReg", "(", "", ")", ";", "BuildMI", "(", "MBB", ",", "MBBI", ",", "dl", ",", "TII", ".", "get", "(", "", ")", ",", "", ")", ".", "addImm", "(", "FrameSize", ")", ";", "BuildMI", "(", "MBB", ",", "MBBI", ",", "dl", ",", "TII", ".", "get", "(", "", ")", ",", "", ")", ".", "addReg", "(", "", ")", ".", "addReg", "(", "", ")", ";", "BuildMI", "(", "MBB", ",", "MBBI", ",", "dl", ",", "TII", ".", "get", "(", "", ")", ",", "", ")", ".", "addImm", "(", "", ")", ".", "addReg", "(", "", ")", ";", "BuildMI", "(", "MBB", ",", "MBBI", ",", "dl", ",", "TII", ".", "get", "(", "", ")", ",", "", ")", ".", "addReg", "(", "", ")", ".", "addImm", "(", "", ")", ";", "BuildMI", "(", "MBB", ",", "MBBI", ",", "dl", ",", "TII", ".", "get", "(", "", ")", ",", "", ")", ".", "addReg", "(", "", ")", ".", "addReg", "(", "", ")", ";", "}", "else", "{", "std", "::", "string", "msg", ";", "raw_string_ostream", "Msg", "(", "msg", ")", ";", "Msg", "<<", "", "<<", "FrameSize", ";", "llvm_report_error", "(", "Msg", ".", "str", "(", ")", ")", ";"], "ground_truth": ["}"], "File": "SPURegisterInfo10", "Func": "emitEpilogue", "Target": "CellSPU", "Target_Clf": "MPU", "Compiler_Type": "LLVM", "Idx": 61525, "Length": 217, "Cover_Rate": 0.47692307692307695} {"Template_token": ["", "void", "RegisterInfo", "::", "processFunctionBeforeCalleeSavedScan", "(", "MachineFunction", "&", "MF", ",", "RegScavenger", "*", "RS", ")", "const", "{", "MF", ".", "getRegInfo", "(", ")", ".", "setPhysRegUnused", "(", "", ")", ";", "MF", ".", "getRegInfo", "(", ")", ".", "setPhysRegUnused", "(", "", ")", ";"], "ground_truth": ["MF", ".", "getRegInfo", "(", ")", ".", "setPhysRegUnused", "(", "", ")", ";"], "File": "SPURegisterInfo10", "Func": "processFunctionBeforeCalleeSavedScan", "Target": "CellSPU", "Target_Clf": "MPU", "Compiler_Type": "LLVM", "Idx": 61528, "Length": 48, "Cover_Rate": 0.8727272727272727} {"Template_token": ["", "void", "RegisterInfo", "::", "processFunctionBeforeCalleeSavedScan", "(", "MachineFunction", "&", "MF", ",", "RegScavenger", "*", "RS", ")", "const", "{", "MF", ".", "getRegInfo", "(", ")", ".", "setPhysRegUnused", "(", "", ")", ";"], "ground_truth": ["MF", ".", "getRegInfo", "(", ")", ".", "setPhysRegUnused", "(", "", ")", ";"], "File": "SPURegisterInfo10", "Func": "processFunctionBeforeCalleeSavedScan", "Target": "CellSPU", "Target_Clf": "MPU", "Compiler_Type": "LLVM", "Idx": 61529, "Length": 37, "Cover_Rate": 0.6727272727272727} {"Template_token": ["", "case", "", ":", "return", "", ";", "case", "", ":", "return", "", ";", "case", "", ":", "return", "", ";", "case", "", ":", "return", "", ";", "case", "", ":", "return", "", ";", "case", "", ":", "return", "", ";", "case", "", ":", "return", "", ";", "case", "", ":", "return", "", ";", "default", ":", "assert", "(", "false", "&&", "", ")", ";", "}"], "ground_truth": ["return", "dFormOpcode", ";"], "File": "SPURegisterInfo11", "Func": "convertDFormToXForm", "Target": "CellSPU", "Target_Clf": "MPU", "Compiler_Type": "LLVM", "Idx": 61530, "Length": 61, "Cover_Rate": 0.43884892086330934} {"Template_token": ["", "DebugLoc", "dl", "=", "II", "->", "getDebugLoc", "(", ")", ";", "while", "(", "!", "MI", ".", "getOperand", "(", "i", ")", ".", "isFI", "(", ")", ")", "{", "++", "i", ";", "assert", "(", "i", "<", "MI", ".", "getNumOperands", "(", ")", "&&", "", ")", ";", "}", "MachineOperand", "&", "SPOp", "=", "MI", ".", "getOperand", "(", "i", ")", ";", "int", "FrameIndex", "=", "SPOp", ".", "getIndex", "(", ")", ";", "int", "Offset", "=", "MFI", "->", "getObjectOffset", "(", "FrameIndex", ")", ";", "unsigned", "OpNo", "=", "", ";", "if", "(", "MI", ".", "getOpcode", "(", ")", "==", "", "||", "MI", ".", "getOpcode", "(", ")", "==", "", ")", "OpNo", "=", "", ";", "MachineOperand", "&", "MO", "=", "MI", ".", "getOperand", "(", "OpNo", ")", ";", "Offset", "+=", "MO", ".", "getImm", "(", ")", "+", "MFI", "->", "getStackSize", "(", ")", "+", "FrameLowering", "::", "minStackSize", "(", ")", ";", "assert", "(", "(", "Offset", "&", "", ")", "==", "", "&&", "", ")", ";"], "ground_truth": ["SPOp", ".", "ChangeToRegister", "(", "", ",", "false", ")", ";"], "File": "SPURegisterInfo11", "Func": "eliminateFrameIndex", "Target": "CellSPU", "Target_Clf": "MPU", "Compiler_Type": "LLVM", "Idx": 61531, "Length": 151, "Cover_Rate": 0.4092140921409214} {"Template_token": ["", "DebugLoc", "dl", "=", "II", "->", "getDebugLoc", "(", ")", ";", "while", "(", "!", "MI", ".", "getOperand", "(", "i", ")", ".", "isFI", "(", ")", ")", "{", "++", "i", ";", "assert", "(", "i", "<", "MI", ".", "getNumOperands", "(", ")", "&&", "", ")", ";", "}", "MachineOperand", "&", "SPOp", "=", "MI", ".", "getOperand", "(", "i", ")", ";", "int", "FrameIndex", "=", "SPOp", ".", "getIndex", "(", ")", ";", "int", "Offset", "=", "MFI", "->", "getObjectOffset", "(", "FrameIndex", ")", ";", "unsigned", "OpNo", "=", "", ";", "if", "(", "MI", ".", "getOpcode", "(", ")", "==", "", "||", "MI", ".", "getOpcode", "(", ")", "==", "", ")", "OpNo", "=", "", ";", "MachineOperand", "&", "MO", "=", "MI", ".", "getOperand", "(", "OpNo", ")", ";", "Offset", "+=", "MO", ".", "getImm", "(", ")", "+", "MFI", "->", "getStackSize", "(", ")", "+", "FrameLowering", "::", "minStackSize", "(", ")", ";"], "ground_truth": ["assert", "(", "(", "Offset", "&", "", ")", "==", "", "&&", "", ")", ";"], "File": "SPURegisterInfo11", "Func": "eliminateFrameIndex", "Target": "CellSPU", "Target_Clf": "MPU", "Compiler_Type": "LLVM", "Idx": 61532, "Length": 142, "Cover_Rate": 0.38482384823848237} {"Template_token": ["", "RegisterInfo", "::", "RegisterInfo", "(", "const", "Subtarget", "&", "subtarget", ",", "const", "TargetInstrInfo", "&", "tii", ")", ":", "GenRegisterInfo", "(", "", ")", ",", "Subtarget", "(", "subtarget", ")", ",", "TII", "(", "tii", ")", "{"], "ground_truth": ["}"], "File": "SPURegisterInfo11", "Func": "SPURegisterInfo", "Target": "CellSPU", "Target_Clf": "MPU", "Compiler_Type": "LLVM", "Idx": 61533, "Length": 31, "Cover_Rate": 0.9393939393939394} {"Template_token": ["", "RegisterInfo", "::", "RegisterInfo", "(", "const", "Subtarget", "&", "subtarget", ",", "const", "TargetInstrInfo", "&", "tii", ")", ":", "GenRegisterInfo", "(", "", ")", ",", "Subtarget", "(", "subtarget", ")", ",", "TII", "(", "tii", ")", "{"], "ground_truth": ["}"], "File": "SPURegisterInfo11", "Func": "SPURegisterInfo", "Target": "CellSPU", "Target_Clf": "MPU", "Compiler_Type": "LLVM", "Idx": 61534, "Length": 31, "Cover_Rate": 0.9393939393939394} {"Template_token": ["", "unsigned", "AlignMask", "=", "Align", "-", "", ";", "unsigned", "maxCallFrameSize", "=", "MFI", "->", "getMaxCallFrameSize", "(", ")", ";", "if", "(", "MFI", "->", "hasVarSizedObjects", "(", ")", ")", "maxCallFrameSize", "=", "(", "maxCallFrameSize", "+", "AlignMask", ")", "&", "~", "AlignMask", ";"], "ground_truth": ["MFI", "->", "setMaxCallFrameSize", "(", "maxCallFrameSize", ")", ";"], "File": "SPURegisterInfo1", "Func": "determineFrameLayout", "Target": "CellSPU", "Target_Clf": "MPU", "Compiler_Type": "LLVM", "Idx": 61535, "Length": 42, "Cover_Rate": 0.30434782608695654} {"Template_token": ["", "void", "RegisterInfo", "::", "eliminateCallFramePseudoInstr", "(", "MachineFunction", "&", "MF", ",", "MachineBasicBlock", "&", "MBB", ",", "MachineBasicBlock", "::", "iterator", "I", ")", "const", "{"], "ground_truth": ["MBB", ".", "erase", "(", "I", ")", ";"], "File": "SPURegisterInfo1", "Func": "eliminateCallFramePseudoInstr", "Target": "CellSPU", "Target_Clf": "MPU", "Compiler_Type": "LLVM", "Idx": 61536, "Length": 27, "Cover_Rate": 0.9642857142857143} {"Template_token": ["", "unsigned", "i", "=", "", ";", "MachineInstr", "&", "MI", "=", "*", "II", ";", "MachineBasicBlock", "&", "MBB", "=", "*", "MI", ".", "getParent", "(", ")", ";", "MachineFunction", "&", "MF", "=", "*", "MBB", ".", "getParent", "(", ")", ";", "MachineFrameInfo", "*", "MFI", "=", "MF", ".", "getFrameInfo", "(", ")", ";", "DebugLoc", "dl", "=", "II", "->", "getDebugLoc", "(", ")", ";", "while", "(", "!", "MI", ".", "getOperand", "(", "i", ")", ".", "isFI", "(", ")", ")", "{", "++", "i", ";", "assert", "(", "i", "<", "MI", ".", "getNumOperands", "(", ")", "&&", "", ")", ";", "}", "MachineOperand", "&", "SPOp", "=", "MI", ".", "getOperand", "(", "i", ")", ";", "int", "FrameIndex", "=", "SPOp", ".", "getIndex", "(", ")", ";", "int", "Offset", "=", "MFI", "->", "getObjectOffset", "(", "FrameIndex", ")", ";", "unsigned", "OpNo", "=", "", ";", "if", "(", "MI", ".", "getOpcode", "(", ")", "==", "", "||", "MI", ".", "getOpcode", "(", ")", "==", "", ")", "OpNo", "=", "", ";", "MachineOperand", "&", "MO", "=", "MI", ".", "getOperand", "(", "OpNo", ")", ";", "Offset", "+=", "MO", ".", "getImm", "(", ")", "+", "MFI", "->", "getStackSize", "(", ")", "+", "FrameInfo", "::", "minStackSize", "(", ")", ";", "assert", "(", "(", "Offset", "&", "", ")", "==", "", "&&", "", ")", ";", "SPOp", ".", "ChangeToRegister", "(", "", ",", "false", ")", ";", "if", "(", "(", "MI", ".", "getOpcode", "(", ")", "==", "", "&&", "!", "isInt", "<", "", ">", "(", "Offset", ")", ")", "||", "!", "isInt", "<", "", ">", "(", "Offset", ")", ")", "{", "int", "newOpcode", "=", "convertDFormToXForm", "(", "MI", ".", "getOpcode", "(", ")", ")", ";", "unsigned", "tmpReg", "=", "findScratchRegister", "(", "II", ",", "RS", ",", "&", "", ",", "SPAdj", ")", ";", "BuildMI", "(", "MBB", ",", "II", ",", "dl", ",", "TII", ".", "get", "(", "", ")", ",", "tmpReg", ")", ".", "addImm", "(", "Offset", ")", ";", "BuildMI", "(", "MBB", ",", "II", ",", "dl", ",", "TII", ".", "get", "(", "newOpcode", ")", ",", "MI", ".", "getOperand", "(", "", ")", ".", "getReg", "(", ")", ")", ".", "addReg", "(", "tmpReg", ",", "RegState", "::", "Kill", ")", ".", "addReg", "(", "", ")", ";", "MBB", ".", "erase", "(", "II", ")", ";", "}", "else", "{", "MO", ".", "ChangeToImmediate", "(", "Offset", ")", ";"], "ground_truth": ["}"], "File": "SPURegisterInfo1", "Func": "eliminateFrameIndex", "Target": "CellSPU", "Target_Clf": "MPU", "Compiler_Type": "LLVM", "Idx": 61537, "Length": 335, "Cover_Rate": 0.8909574468085106} {"Template_token": ["", "if", "(", "FrameSize", ">", "", "||", "MFI", "->", "hasCalls", "(", ")", ")", "{", "FrameSize", "=", "FrameSize", "+", "FrameInfo", "::", "minStackSize", "(", ")", ";", "if", "(", "isInt", "<", "", ">", "(", "FrameSize", "+", "LinkSlotOffset", ")", ")", "{", "BuildMI", "(", "MBB", ",", "MBBI", ",", "dl", ",", "TII", ".", "get", "(", "", ")", ",", "", ")", ".", "addImm", "(", "FrameSize", "+", "LinkSlotOffset", ")", ".", "addReg", "(", "", ")", ";", "BuildMI", "(", "MBB", ",", "MBBI", ",", "dl", ",", "TII", ".", "get", "(", "", ")", ",", "", ")", ".", "addReg", "(", "", ")", ".", "addImm", "(", "FrameSize", ")", ";", "}", "else", "if", "(", "FrameSize", "<=", "(", "", "<<", "", ")", "-", "", "&&", "FrameSize", ">=", "-", "(", "", "<<", "", ")", ")", "{", "BuildMI", "(", "MBB", ",", "MBBI", ",", "dl", ",", "TII", ".", "get", "(", "", ")", ",", "", ")", ".", "addImm", "(", "", ")", ".", "addReg", "(", "", ")", ";", "BuildMI", "(", "MBB", ",", "MBBI", ",", "dl", ",", "TII", ".", "get", "(", "", ")", ",", "", ")", ".", "addImm", "(", "FrameSize", ")", ";", "BuildMI", "(", "MBB", ",", "MBBI", ",", "dl", ",", "TII", ".", "get", "(", "", ")", ",", "", ")", ".", "addReg", "(", "", ")", ".", "addReg", "(", "", ")", ";", "BuildMI", "(", "MBB", ",", "MBBI", ",", "dl", ",", "TII", ".", "get", "(", "", ")", ",", "", ")", ".", "addImm", "(", "", ")", ".", "addReg", "(", "", ")", ";", "BuildMI", "(", "MBB", ",", "MBBI", ",", "dl", ",", "TII", ".", "get", "(", "", ")", ",", "", ")", ".", "addReg", "(", "", ")", ".", "addImm", "(", "", ")", ";", "BuildMI", "(", "MBB", ",", "MBBI", ",", "dl", ",", "TII", ".", "get", "(", "", ")", ",", "", ")", ".", "addReg", "(", "", ")", ".", "addReg", "(", "", ")", ";", "}", "else", "{", "report_fatal_error", "(", "", "+", "Twine", "(", "FrameSize", ")", ")", ";", "}"], "ground_truth": ["}"], "File": "SPURegisterInfo1", "Func": "emitEpilogue", "Target": "CellSPU", "Target_Clf": "MPU", "Compiler_Type": "LLVM", "Idx": 61538, "Length": 296, "Cover_Rate": 0.669683257918552} {"Template_token": ["", "BuildMI", "(", "MBB", ",", "MBBI", ",", "dl", ",", "TII", ".", "get", "(", "", ")", ",", "", ")", ".", "addImm", "(", "", ")", ".", "addReg", "(", "", ")", ";", "if", "(", "isInt", "<", "", ">", "(", "FrameSize", ")", ")", "{", "BuildMI", "(", "MBB", ",", "MBBI", ",", "dl", ",", "TII", ".", "get", "(", "", ")", ",", "", ")", ".", "addImm", "(", "FrameSize", ")", ".", "addReg", "(", "", ")", ";", "BuildMI", "(", "MBB", ",", "MBBI", ",", "dl", ",", "TII", ".", "get", "(", "", ")", ",", "", ")", ".", "addReg", "(", "", ")", ".", "addImm", "(", "FrameSize", ")", ";", "}", "else", "if", "(", "isInt", "<", "", ">", "(", "FrameSize", ")", ")", "{", "BuildMI", "(", "MBB", ",", "MBBI", ",", "dl", ",", "TII", ".", "get", "(", "", ")", ",", "", ")", ".", "addImm", "(", "-", "", ")", ".", "addReg", "(", "", ")", ";", "BuildMI", "(", "MBB", ",", "MBBI", ",", "dl", ",", "TII", ".", "get", "(", "", ")", ",", "", ")", ".", "addImm", "(", "FrameSize", ")", ";", "BuildMI", "(", "MBB", ",", "MBBI", ",", "dl", ",", "TII", ".", "get", "(", "", ")", ",", "", ")", ".", "addReg", "(", "", ")", ".", "addReg", "(", "", ")", ";", "BuildMI", "(", "MBB", ",", "MBBI", ",", "dl", ",", "TII", ".", "get", "(", "", ")", ",", "", ")", ".", "addReg", "(", "", ")", ".", "addReg", "(", "", ")", ";", "BuildMI", "(", "MBB", ",", "MBBI", ",", "dl", ",", "TII", ".", "get", "(", "", ")", ",", "", ")", ".", "addReg", "(", "", ")", ".", "addImm", "(", "", ")", ";", "BuildMI", "(", "MBB", ",", "MBBI", ",", "dl", ",", "TII", ".", "get", "(", "", ")", ",", "", ")", ".", "addReg", "(", "", ")", ".", "addReg", "(", "", ")", ";", "}", "else", "{", "report_fatal_error", "(", "", "+", "Twine", "(", "FrameSize", ")", ")", ";", "}", "if", "(", "hasDebugInfo", ")", "{", "std", "::", "vector", "<", "MachineMove", ">", "&", "Moves", "=", "MMI", ".", "getFrameMoves", "(", ")", ";"], "ground_truth": ["MachineLocation", "SPDst", "(", "MachineLocation", "::", "VirtualFP", ")", ";"], "File": "SPURegisterInfo1", "Func": "emitPrologue", "Target": "CellSPU", "Target_Clf": "MPU", "Compiler_Type": "LLVM", "Idx": 61539, "Length": 314, "Cover_Rate": 0.3733650416171225} {"Template_token": ["", "BuildMI", "(", "MBB", ",", "MBBI", ",", "dl", ",", "TII", ".", "get", "(", "", ")", ",", "", ")", ".", "addReg", "(", "", ")", ".", "addReg", "(", "", ")", ";", "BuildMI", "(", "MBB", ",", "MBBI", ",", "dl", ",", "TII", ".", "get", "(", "", ")", ",", "", ")", ".", "addReg", "(", "", ")", ".", "addReg", "(", "", ")", ";", "BuildMI", "(", "MBB", ",", "MBBI", ",", "dl", ",", "TII", ".", "get", "(", "", ")", ",", "", ")", ".", "addReg", "(", "", ")", ".", "addImm", "(", "", ")", ";", "BuildMI", "(", "MBB", ",", "MBBI", ",", "dl", ",", "TII", ".", "get", "(", "", ")", ",", "", ")", ".", "addReg", "(", "", ")", ".", "addReg", "(", "", ")", ";", "}", "else", "{", "report_fatal_error", "(", "", "+", "Twine", "(", "FrameSize", ")", ")", ";", "}", "if", "(", "hasDebugInfo", ")", "{", "std", "::", "vector", "<", "MachineMove", ">", "&", "Moves", "=", "MMI", ".", "getFrameMoves", "(", ")", ";", "MachineLocation", "SPDst", "(", "MachineLocation", "::", "VirtualFP", ")", ";", "MachineLocation", "SPSrc", "(", "MachineLocation", "::", "VirtualFP", ",", "-", "FrameSize", ")", ";", "Moves", ".", "push_back", "(", "MachineMove", "(", "FrameLabel", ",", "SPDst", ",", "SPSrc", ")", ")", ";", "const", "std", "::", "vector", "<", "CalleeSavedInfo", ">", "&", "CSI", "=", "MFI", "->", "getCalleeSavedInfo", "(", ")", ";", "for", "(", "unsigned", "I", "=", "", ",", "E", "=", "CSI", ".", "size", "(", ")", ";", "I", "!=", "E", ";", "++", "I", ")", "{", "int", "Offset", "=", "MFI", "->", "getObjectOffset", "(", "CSI", "[", "I", "]", ".", "getFrameIdx", "(", ")", ")", ";", "unsigned", "Reg", "=", "CSI", "[", "I", "]", ".", "getReg", "(", ")", ";", "if", "(", "Reg", "==", "", ")", "continue", ";"], "ground_truth": ["MachineLocation", "CSDst", "(", "MachineLocation", "::", "VirtualFP", ",", "Offset", ")", ";"], "File": "SPURegisterInfo1", "Func": "emitPrologue", "Target": "CellSPU", "Target_Clf": "MPU", "Compiler_Type": "LLVM", "Idx": 61540, "Length": 265, "Cover_Rate": 0.3151010701545779} {"Template_token": ["", "assert", "(", "RS", "&&", "", ")", ";", "unsigned", "Reg", "=", "RS", "->", "FindUnusedReg", "(", "RC", ")", ";", "if", "(", "Reg", "==", "", ")", "Reg", "=", "RS", "->", "scavengeRegister", "(", "RC", ",", "II", ",", "SPAdj", ")", ";"], "ground_truth": ["assert", "(", "Reg", "&&", "", ")", ";"], "File": "SPURegisterInfo1", "Func": "findScratchRegister", "Target": "CellSPU", "Target_Clf": "MPU", "Compiler_Type": "LLVM", "Idx": 61541, "Length": 43, "Cover_Rate": 0.6056338028169014} {"Template_token": ["", "return", "_ArgRegs", ";"], "ground_truth": ["}"], "File": "SPURegisterInfo1", "Func": "getArgRegs", "Target": "CellSPU", "Target_Clf": "MPU", "Compiler_Type": "LLVM", "Idx": 61543, "Length": 4, "Cover_Rate": 0.3076923076923077} {"Template_token": ["", "&", "", ",", "&", "", ",", "&", "", ",", "&", "", ",", "&", "", ",", "&", "", ",", "&", "", ",", "&", "", ",", "&", "", ",", "&", "", ",", "&", "", ",", "&", "", ",", "&", "", ",", "&", "", ",", "&", "", ",", "&", "", ",", "&", "", ",", "&", "", ",", "&", "", ",", "&", "", ",", "&", "", ",", "&", "", ",", "&", "", ",", "&", "", ",", "&", "", ",", "&", "", ",", "&", "", ",", "&", "", ",", "&", "", ",", "&", "", ",", "&", "", ",", "&", "", ",", "&", "", ",", "&", "", ",", "&", "", ",", "&", "", ",", "&", "", ",", "&", "", ",", "&", "", ",", "&", "", ",", "&", "", ",", "&", "", ",", "&", "", ",", "&", "", ",", "&", "", ",", "&", "", ",", "&", "", ",", "&", "", ",", "&", "", ",", "&", "", ",", "&", "", ",", "", "}", ";"], "ground_truth": ["return", "_CalleeSaveRegClasses", ";"], "File": "SPURegisterInfo1", "Func": "getCalleeSavedRegClasses", "Target": "CellSPU", "Target_Clf": "MPU", "Compiler_Type": "LLVM", "Idx": 61544, "Length": 159, "Cover_Rate": 0.5520833333333334} {"Template_token": ["", "static", "const", "unsigned", "_CalleeSaveRegs", "[", "]", "=", "{", "", ",", "", ",", "", ",", "", ",", "", ",", "", ",", "", ",", "", ",", "", ",", "", ",", "", ",", "", ",", "", ",", "", ",", "", ",", "", ",", "", ",", "", ",", "", ",", "", ",", "", ",", "", ",", "", ",", "", ",", "", ",", "", ",", "", ",", "", ",", "", ",", "", ",", "", ",", "", ",", "", ",", "", ",", "", ",", "", ",", "", ",", "", ",", "", ",", "", ",", "", ",", "", ",", "", ",", "", ",", "", ",", "", ",", "", ",", "", ",", "", ",", "", ",", "", ",", "", "}", ";"], "ground_truth": ["return", "_CalleeSaveRegs", ";"], "File": "SPURegisterInfo1", "Func": "getCalleeSavedRegs", "Target": "CellSPU", "Target_Clf": "MPU", "Compiler_Type": "LLVM", "Idx": 61545, "Length": 116, "Cover_Rate": 0.4978540772532189} {"Template_token": ["", "return", "GenRegisterInfo", "::", "getDwarfRegNumFull", "(", "RegNum", ",", "", ")", ";"], "ground_truth": ["}"], "File": "SPURegisterInfo1", "Func": "getDwarfRegNum", "Target": "CellSPU", "Target_Clf": "MPU", "Compiler_Type": "LLVM", "Idx": 61546, "Length": 11, "Cover_Rate": 0.4583333333333333} {"Template_token": ["", "unsigned", "RegisterInfo", "::", "getFrameRegister", "(", "const", "MachineFunction", "&", "MF", ")", "const", "{", "return", "", ";"], "ground_truth": ["}"], "File": "SPURegisterInfo1", "Func": "getFrameRegister", "Target": "CellSPU", "Target_Clf": "MPU", "Compiler_Type": "LLVM", "Idx": 61549, "Length": 16, "Cover_Rate": 0.8888888888888888} {"Template_token": ["", "MachineLocation", "Src", "(", "", ",", "", ")", ";"], "ground_truth": ["Moves", ".", "push_back", "(", "MachineMove", "(", "", ",", "Dst", ",", "Src", ")", ")", ";"], "File": "SPURegisterInfo1", "Func": "getInitialFrameState", "Target": "CellSPU", "Target_Clf": "MPU", "Compiler_Type": "LLVM", "Idx": 61550, "Length": 22, "Cover_Rate": 0.4489795918367347} {"Template_token": ["", "MachineLocation", "Src", "(", "", ",", "", ")", ";", "Moves", ".", "push_back", "(", "MachineMove", "(", "", ",", "Dst", ",", "Src", ")", ")", ";"], "ground_truth": ["}"], "File": "SPURegisterInfo1", "Func": "getInitialFrameState", "Target": "CellSPU", "Target_Clf": "MPU", "Compiler_Type": "LLVM", "Idx": 61551, "Length": 23, "Cover_Rate": 0.46938775510204084} {"Template_token": ["", "unsigned", "RegisterInfo", "::", "getNumArgRegs", "(", ")", "{", "return", "sizeof", "(", "_ArgRegs", ")", "/", "sizeof", "(", "_ArgRegs", "[", "", "]", ")", ";"], "ground_truth": ["}"], "File": "SPURegisterInfo1", "Func": "getNumArgRegs", "Target": "CellSPU", "Target_Clf": "MPU", "Compiler_Type": "LLVM", "Idx": 61553, "Length": 22, "Cover_Rate": 1.0} {"Template_token": ["", "const", "TargetRegisterClass", "*", "RegisterInfo", "::", "getPointerRegClass", "(", "unsigned", "Kind", ")", "const", "{"], "ground_truth": ["return", "&", "", ";"], "File": "SPURegisterInfo1", "Func": "getPointerRegClass", "Target": "CellSPU", "Target_Clf": "MPU", "Compiler_Type": "LLVM", "Idx": 61554, "Length": 16, "Cover_Rate": 0.8421052631578947} {"Template_token": ["", "unsigned", "RegisterInfo", "::", "getRARegister", "(", ")", "const", "{"], "ground_truth": ["return", "", ";"], "File": "SPURegisterInfo1", "Func": "getRARegister", "Target": "CellSPU", "Target_Clf": "MPU", "Compiler_Type": "LLVM", "Idx": 61555, "Length": 11, "Cover_Rate": 0.7857142857142857} {"Template_token": ["", "case", "", ":", "return", "", ";", "case", "", ":", "return", "", ";", "case", "", ":", "return", "", ";", "case", "", ":", "return", "", ";", "case", "", ":", "return", "", ";", "case", "", ":", "return", "", ";", "case", "", ":", "return", "", ";", "case", "", ":", "return", "", ";", "case", "", ":", "return", "", ";", "case", "", ":", "return", "", ";", "case", "", ":", "return", "", ";", "case", "", ":", "return", "", ";", "case", "", ":", "return", "", ";", "case", "", ":", "return", "", ";", "case", "", ":", "return", "", ";", "case", "", ":", "return", "", ";", "case", "", ":", "return", "", ";", "case", "", ":", "return", "", ";", "case", "", ":", "return", "", ";", "case", "", ":", "return", "", ";", "case", "", ":", "return", "", ";", "case", "", ":", "return", "", ";", "case", "", ":", "return", "", ";", "case", "", ":", "return", "", ";", "case", "", ":", "return", "", ";", "case", "", ":", "return", "", ";", "case", "", ":", "return", "", ";", "case", "", ":", "return", "", ";", "case", "", ":", "return", "", ";", "case", "", ":", "return", "", ";", "case", "", ":", "return", "", ";", "case", "", ":", "return", "", ";", "case", "", ":", "return", "", ";", "case", "", ":", "return", "", ";", "case", "", ":", "return", "", ";", "case", "", ":", "return", "", ";", "case", "", ":", "return", "", ";", "case", "", ":", "return", "", ";", "case", "", ":", "return", "", ";", "case", "", ":", "return", "", ";", "case", "", ":", "return", "", ";", "case", "", ":", "return", "", ";", "case", "", ":", "return", "", ";", "case", "", ":", "return", "", ";", "case", "", ":", "return", "", ";", "case", "", ":", "return", "", ";", "case", "", ":", "return", "", ";", "case", "", ":", "return", "", ";", "case", "", ":", "return", "", ";", "case", "", ":", "return", "", ";", "case", "", ":", "return", "", ";", "case", "", ":", "return", "", ";", "case", "", ":", "return", "", ";", "case", "", ":", "return", "", ";", "case", "", ":", "return", "", ";", "case", "", ":", "return", "", ";", "case", "", ":", "return", "", ";", "case", "", ":", "return", "", ";"], "ground_truth": ["case", "", ":", "return", "", ";"], "File": "SPURegisterInfo1", "Func": "getRegisterNumbering", "Target": "CellSPU", "Target_Clf": "MPU", "Compiler_Type": "LLVM", "Idx": 61556, "Length": 354, "Cover_Rate": 0.3368220742150333} {"Template_token": ["", "case", "", ":", "return", "", ";", "case", "", ":", "return", "", ";", "case", "", ":", "return", "", ";", "case", "", ":", "return", "", ";", "case", "", ":", "return", "", ";", "case", "", ":", "return", "", ";", "case", "", ":", "return", "", ";", "case", "", ":", "return", "", ";", "case", "", ":", "return", "", ";", "case", "", ":", "return", "", ";", "case", "", ":", "return", "", ";", "case", "", ":", "return", "", ";", "case", "", ":", "return", "", ";", "case", "", ":", "return", "", ";", "case", "", ":", "return", "", ";", "case", "", ":", "return", "", ";", "case", "", ":", "return", "", ";", "case", "", ":", "return", "", ";", "case", "", ":", "return", "", ";", "case", "", ":", "return", "", ";", "case", "", ":", "return", "", ";", "case", "", ":", "return", "", ";", "case", "", ":", "return", "", ";", "case", "", ":", "return", "", ";", "case", "", ":", "return", "", ";", "case", "", ":", "return", "", ";", "case", "", ":", "return", "", ";", "case", "", ":", "return", "", ";", "case", "", ":", "return", "", ";", "case", "", ":", "return", "", ";", "case", "", ":", "return", "", ";", "case", "", ":", "return", "", ";", "case", "", ":", "return", "", ";", "case", "", ":", "return", "", ";", "case", "", ":", "return", "", ";", "case", "", ":", "return", "", ";", "case", "", ":", "return", "", ";", "case", "", ":", "return", "", ";", "case", "", ":", "return", "", ";", "case", "", ":", "return", "", ";", "case", "", ":", "return", "", ";", "case", "", ":", "return", "", ";", "case", "", ":", "return", "", ";", "case", "", ":", "return", "", ";", "case", "", ":", "return", "", ";", "case", "", ":", "return", "", ";", "case", "", ":", "return", "", ";", "case", "", ":", "return", "", ";", "case", "", ":", "return", "", ";", "case", "", ":", "return", "", ";", "case", "", ":", "return", "", ";", "case", "", ":", "return", "", ";", "case", "", ":", "return", "", ";", "case", "", ":", "return", "", ";", "case", "", ":", "return", "", ";", "case", "", ":", "return", "", ";", "case", "", ":", "return", "", ";"], "ground_truth": ["case", "", ":", "return", "", ";"], "File": "SPURegisterInfo1", "Func": "getRegisterNumbering", "Target": "CellSPU", "Target_Clf": "MPU", "Compiler_Type": "LLVM", "Idx": 61557, "Length": 348, "Cover_Rate": 0.33111322549952427} {"Template_token": ["", "BitVector", "RegisterInfo", "::", "getReservedRegs", "(", "const", "MachineFunction", "&", "MF", ")", "const", "{", "BitVector", "Reserved", "(", "getNumRegs", "(", ")", ")", ";", "Reserved", ".", "set", "(", "", ")", ";", "Reserved", ".", "set", "(", "", ")", ";", "Reserved", ".", "set", "(", "", ")", ";"], "ground_truth": ["return", "Reserved", ";"], "File": "SPURegisterInfo1", "Func": "getReservedRegs", "Target": "CellSPU", "Target_Clf": "MPU", "Compiler_Type": "LLVM", "Idx": 61558, "Length": 44, "Cover_Rate": 0.8627450980392157} {"Template_token": ["", "bool", "RegisterInfo", "::", "hasFP", "(", "const", "MachineFunction", "&", "MF", ")", "const", "{", "const", "MachineFrameInfo", "*", "MFI", "=", "MF", ".", "getFrameInfo", "(", ")", ";"], "ground_truth": ["return", "MFI", "->", "getStackSize", "(", ")", "&&", "needsFP", "(", "MF", ")", ";"], "File": "SPURegisterInfo1", "Func": "hasFP", "Target": "CellSPU", "Target_Clf": "MPU", "Compiler_Type": "LLVM", "Idx": 61559, "Length": 35, "Cover_Rate": 0.9722222222222222} {"Template_token": ["", "static", "bool", "needsFP", "(", "const", "MachineFunction", "&", "MF", ")", "{", "const", "MachineFrameInfo", "*", "MFI", "=", "MF", ".", "getFrameInfo", "(", ")", ";", "return", "NoFramePointerElim", "||", "MFI", "->", "hasVarSizedObjects", "(", ")", ";"], "ground_truth": ["}"], "File": "SPURegisterInfo1", "Func": "needsFP", "Target": "CellSPU", "Target_Clf": "MPU", "Compiler_Type": "LLVM", "Idx": 61561, "Length": 31, "Cover_Rate": 1.0} {"Template_token": ["", "return", "NoFramePointerElim", "||", "MFI", "->", "hasVarSizedObjects", "(", ")", ";"], "ground_truth": ["}"], "File": "SPURegisterInfo1", "Func": "needsFP", "Target": "CellSPU", "Target_Clf": "MPU", "Compiler_Type": "LLVM", "Idx": 61562, "Length": 10, "Cover_Rate": 0.3225806451612903} {"Template_token": ["", "void", "RegisterInfo", "::", "processFunctionBeforeCalleeSavedScan", "(", "MachineFunction", "&", "MF", ",", "RegScavenger", "*", "RS", ")", "const", "{", "MF", ".", "getRegInfo", "(", ")", ".", "setPhysRegUnused", "(", "", ")", ";", "MF", ".", "getRegInfo", "(", ")", ".", "setPhysRegUnused", "(", "", ")", ";"], "ground_truth": ["MF", ".", "getRegInfo", "(", ")", ".", "setPhysRegUnused", "(", "", ")", ";"], "File": "SPURegisterInfo1", "Func": "processFunctionBeforeCalleeSavedScan", "Target": "CellSPU", "Target_Clf": "MPU", "Compiler_Type": "LLVM", "Idx": 61563, "Length": 48, "Cover_Rate": 0.48484848484848486} {"Template_token": ["", "RegisterInfo", "::", "RegisterInfo", "(", "const", "Subtarget", "&", "subtarget", ",", "const", "TargetInstrInfo", "&", "tii", ")", ":"], "ground_truth": ["GenRegisterInfo", "(", "", ",", "", ")", ",", "Subtarget", "(", "subtarget", ")", ",", "TII", "(", "tii", ")", "{"], "File": "SPURegisterInfo1", "Func": "SPURegisterInfo", "Target": "CellSPU", "Target_Clf": "MPU", "Compiler_Type": "LLVM", "Idx": 61565, "Length": 32, "Cover_Rate": 0.8648648648648649} {"Template_token": ["", "MachineBasicBlock", "&", "MBB", "=", "*", "MI", ".", "getParent", "(", ")", ";", "MachineFunction", "&", "MF", "=", "*", "MBB", ".", "getParent", "(", ")", ";", "MachineFrameInfo", "*", "MFI", "=", "MF", ".", "getFrameInfo", "(", ")", ";", "while", "(", "!", "MI", ".", "getOperand", "(", "i", ")", ".", "isFI", "(", ")", ")", "{", "++", "i", ";", "assert", "(", "i", "<", "MI", ".", "getNumOperands", "(", ")", "&&", "", ")", ";", "}", "MachineOperand", "&", "SPOp", "=", "MI", ".", "getOperand", "(", "i", ")", ";", "int", "FrameIndex", "=", "SPOp", ".", "getIndex", "(", ")", ";", "int", "Offset", "=", "MFI", "->", "getObjectOffset", "(", "FrameIndex", ")", ";", "unsigned", "OpNo", "=", "", ";", "if", "(", "MI", ".", "getOpcode", "(", ")", "==", "", "||", "MI", ".", "getOpcode", "(", ")", "==", "", ")", "OpNo", "=", "", ";", "MachineOperand", "&", "MO", "=", "MI", ".", "getOperand", "(", "OpNo", ")", ";", "Offset", "+=", "MO", ".", "getImm", "(", ")", "+", "MFI", "->", "getStackSize", "(", ")", "+", "FrameInfo", "::", "minStackSize", "(", ")", ";", "assert", "(", "(", "Offset", "&", "", ")", "==", "", "&&", "", ")", ";", "SPOp", ".", "ChangeToRegister", "(", "", ",", "false", ")", ";", "if", "(", "Offset", ">", "FrameInfo", "::", "maxFrameOffset", "(", ")", "||", "Offset", "<", "FrameInfo", "::", "minFrameOffset", "(", ")", ")", "{", "cerr", "<<", "", "<<", "Offset", "<<", "", ";", "}", "else", "{", "MO", ".", "ChangeToImmediate", "(", "Offset", ")", ";"], "ground_truth": ["}"], "File": "SPURegisterInfo2", "Func": "eliminateFrameIndex", "Target": "CellSPU", "Target_Clf": "MPU", "Compiler_Type": "LLVM", "Idx": 61566, "Length": 212, "Cover_Rate": 0.848} {"Template_token": ["", "unsigned", "i", "=", "", ";", "MachineInstr", "&", "MI", "=", "*", "II", ";", "MachineBasicBlock", "&", "MBB", "=", "*", "MI", ".", "getParent", "(", ")", ";", "MachineFunction", "&", "MF", "=", "*", "MBB", ".", "getParent", "(", ")", ";", "MachineFrameInfo", "*", "MFI", "=", "MF", ".", "getFrameInfo", "(", ")", ";", "while", "(", "!", "MI", ".", "getOperand", "(", "i", ")", ".", "isFI", "(", ")", ")", "{", "++", "i", ";", "assert", "(", "i", "<", "MI", ".", "getNumOperands", "(", ")", "&&", "", ")", ";", "}", "MachineOperand", "&", "SPOp", "=", "MI", ".", "getOperand", "(", "i", ")", ";", "int", "FrameIndex", "=", "SPOp", ".", "getIndex", "(", ")", ";", "int", "Offset", "=", "MFI", "->", "getObjectOffset", "(", "FrameIndex", ")", ";", "unsigned", "OpNo", "=", "", ";", "if", "(", "MI", ".", "getOpcode", "(", ")", "==", "", "||", "MI", ".", "getOpcode", "(", ")", "==", "", ")", "OpNo", "=", "", ";", "MachineOperand", "&", "MO", "=", "MI", ".", "getOperand", "(", "OpNo", ")", ";", "Offset", "+=", "MO", ".", "getImm", "(", ")", "+", "MFI", "->", "getStackSize", "(", ")", "+", "FrameInfo", "::", "minStackSize", "(", ")", ";", "assert", "(", "(", "Offset", "&", "", ")", "==", "", "&&", "", ")", ";", "SPOp", ".", "ChangeToRegister", "(", "", ",", "false", ")", ";", "if", "(", "Offset", ">", "FrameInfo", "::", "maxFrameOffset", "(", ")", "||", "Offset", "<", "FrameInfo", "::", "minFrameOffset", "(", ")", ")", "{"], "ground_truth": ["cerr", "<<", "", "<<", "Offset", "<<", "", ";"], "File": "SPURegisterInfo2", "Func": "eliminateFrameIndex", "Target": "CellSPU", "Target_Clf": "MPU", "Compiler_Type": "LLVM", "Idx": 61567, "Length": 213, "Cover_Rate": 0.852} {"Template_token": ["", "MachineBasicBlock", "&", "MBB", "=", "MF", ".", "front", "(", ")", ";", "MachineBasicBlock", "::", "iterator", "MBBI", "=", "MBB", ".", "begin", "(", ")", ";", "MachineFrameInfo", "*", "MFI", "=", "MF", ".", "getFrameInfo", "(", ")", ";", "MachineModuleInfo", "*", "MMI", "=", "MFI", "->", "getMachineModuleInfo", "(", ")", ";", "DebugLoc", "dl", "=", "(", "MBBI", "!=", "MBB", ".", "end", "(", ")", "?", "MBBI", "->", "getDebugLoc", "(", ")", ":", "DebugLoc", "::", "getUnknownLoc", "(", ")", ")", ";", "bool", "hasDebugInfo", "=", "MMI", "&&", "MMI", "->", "hasDebugInfo", "(", ")", ";", "unsigned", "FrameLabelId", "=", "", ";", "MBBI", "=", "MBB", ".", "begin", "(", ")", ";", "determineFrameLayout", "(", "MF", ")", ";", "int", "FrameSize", "=", "MFI", "->", "getStackSize", "(", ")", ";", "assert", "(", "(", "FrameSize", "&", "", ")", "==", "", "&&", "", ")", ";", "if", "(", "FrameSize", ">", "", "||", "MFI", "->", "hasCalls", "(", ")", ")", "{", "FrameSize", "=", "-", "(", "FrameSize", "+", "FrameInfo", "::", "minStackSize", "(", ")", ")", ";", "if", "(", "hasDebugInfo", ")", "{", "FrameLabelId", "=", "MMI", "->", "NextLabelID", "(", ")", ";", "BuildMI", "(", "MBB", ",", "MBBI", ",", "dl", ",", "TII", ".", "get", "(", "", ")", ")", ".", "addImm", "(", "FrameLabelId", ")", ";", "}", "BuildMI", "(", "MBB", ",", "MBBI", ",", "dl", ",", "TII", ".", "get", "(", "", ")", ",", "", ")", ".", "addImm", "(", "", ")", ".", "addReg", "(", "", ")", ";", "if", "(", "isS10Constant", "(", "FrameSize", ")", ")", "{", "BuildMI", "(", "MBB", ",", "MBBI", ",", "dl", ",", "TII", ".", "get", "(", "", ")", ",", "", ")", ".", "addImm", "(", "FrameSize", ")", ".", "addReg", "(", "", ")", ";", "BuildMI", "(", "MBB", ",", "MBBI", ",", "dl", ",", "TII", ".", "get", "(", "", ")", ",", "", ")", ".", "addReg", "(", "", ")", ".", "addImm", "(", "FrameSize", ")", ";", "}", "else", "if", "(", "FrameSize", "<=", "(", "", "<<", "", ")", "-", "", "&&", "FrameSize", ">=", "-", "(", "", "<<", "", ")", ")", "{", "BuildMI", "(", "MBB", ",", "MBBI", ",", "dl", ",", "TII", ".", "get", "(", "", ")", ",", "", ")", ".", "addImm", "(", "-", "", ")", ".", "addReg", "(", "", ")", ";", "BuildMI", "(", "MBB", ",", "MBBI", ",", "dl", ",", "TII", ".", "get", "(", "", ")", ",", "", ")", ".", "addImm", "(", "FrameSize", ")", ";", "BuildMI", "(", "MBB", ",", "MBBI", ",", "dl", ",", "TII", ".", "get", "(", "", ")", ",", "", ")", ".", "addReg", "(", "", ")", ".", "addReg", "(", "", ")", ";", "BuildMI", "(", "MBB", ",", "MBBI", ",", "dl", ",", "TII", ".", "get", "(", "", ")", ",", "", ")", ".", "addReg", "(", "", ")", ".", "addReg", "(", "", ")", ";", "BuildMI", "(", "MBB", ",", "MBBI", ",", "dl", ",", "TII", ".", "get", "(", "", ")", ",", "", ")", ".", "addReg", "(", "", ")", ".", "addImm", "(", "", ")", ";", "BuildMI", "(", "MBB", ",", "MBBI", ",", "dl", ",", "TII", ".", "get", "(", "", ")", ",", "", ")", ".", "addReg", "(", "", ")", ".", "addReg", "(", "", ")", ";", "}", "else", "{"], "ground_truth": ["std", "::", "string", "msg", ";"], "File": "SPURegisterInfo2", "Func": "emitPrologue", "Target": "CellSPU", "Target_Clf": "MPU", "Compiler_Type": "LLVM", "Idx": 61568, "Length": 466, "Cover_Rate": 0.5406032482598608} {"Template_token": ["", "unsigned", "RegisterInfo", "::", "getFrameRegister", "(", "MachineFunction", "&", "MF", ")", "const", "{"], "ground_truth": ["return", "", ";"], "File": "SPURegisterInfo2", "Func": "getFrameRegister", "Target": "CellSPU", "Target_Clf": "MPU", "Compiler_Type": "LLVM", "Idx": 61569, "Length": 14, "Cover_Rate": 0.8235294117647058} {"Template_token": ["", "++", "i", ";", "assert", "(", "i", "<", "MI", ".", "getNumOperands", "(", ")", "&&", "", ")", ";", "}", "MachineOperand", "&", "SPOp", "=", "MI", ".", "getOperand", "(", "i", ")", ";", "int", "FrameIndex", "=", "SPOp", ".", "getIndex", "(", ")", ";", "int", "Offset", "=", "MFI", "->", "getObjectOffset", "(", "FrameIndex", ")", ";", "unsigned", "OpNo", "=", "", ";", "if", "(", "MI", ".", "getOpcode", "(", ")", "==", "", "||", "MI", ".", "getOpcode", "(", ")", "==", "", ")", "OpNo", "=", "", ";", "MachineOperand", "&", "MO", "=", "MI", ".", "getOperand", "(", "OpNo", ")", ";", "Offset", "+=", "MO", ".", "getImm", "(", ")", "+", "MFI", "->", "getStackSize", "(", ")", "+", "FrameInfo", "::", "minStackSize", "(", ")", ";"], "ground_truth": ["assert", "(", "(", "Offset", "&", "", ")", "==", "", "&&", "", ")", ";"], "File": "SPURegisterInfo3", "Func": "eliminateFrameIndex", "Target": "CellSPU", "Target_Clf": "MPU", "Compiler_Type": "LLVM", "Idx": 61571, "Length": 118, "Cover_Rate": 0.31978319783197834} {"Template_token": ["", "void", "RegisterInfo", "::", "eliminateFrameIndex", "(", "MachineBasicBlock", "::", "iterator", "II", ",", "int", "SPAdj", ",", "RegScavenger", "*", "RS", ")", "const", "{", "unsigned", "i", "=", "", ";", "MachineInstr", "&", "MI", "=", "*", "II", ";", "MachineBasicBlock", "&", "MBB", "=", "*", "MI", ".", "getParent", "(", ")", ";", "MachineFunction", "&", "MF", "=", "*", "MBB", ".", "getParent", "(", ")", ";", "MachineFrameInfo", "*", "MFI", "=", "MF", ".", "getFrameInfo", "(", ")", ";", "DebugLoc", "dl", "=", "II", "->", "getDebugLoc", "(", ")", ";", "while", "(", "!", "MI", ".", "getOperand", "(", "i", ")", ".", "isFI", "(", ")", ")", "{", "++", "i", ";", "assert", "(", "i", "<", "MI", ".", "getNumOperands", "(", ")", "&&", "", ")", ";", "}", "MachineOperand", "&", "SPOp", "=", "MI", ".", "getOperand", "(", "i", ")", ";", "int", "FrameIndex", "=", "SPOp", ".", "getIndex", "(", ")", ";", "int", "Offset", "=", "MFI", "->", "getObjectOffset", "(", "FrameIndex", ")", ";"], "ground_truth": ["unsigned", "OpNo", "=", "", ";"], "File": "SPURegisterInfo3", "Func": "eliminateFrameIndex", "Target": "CellSPU", "Target_Clf": "MPU", "Compiler_Type": "LLVM", "Idx": 61572, "Length": 139, "Cover_Rate": 0.37669376693766937} {"Template_token": ["", "return", "DisableFramePointerElim", "(", "MF", ")", "||", "MFI", "->", "hasVarSizedObjects", "(", ")", ";"], "ground_truth": ["}"], "File": "SPURegisterInfo3", "Func": "needsFP", "Target": "CellSPU", "Target_Clf": "MPU", "Compiler_Type": "LLVM", "Idx": 61574, "Length": 13, "Cover_Rate": 0.38235294117647056} {"Template_token": ["", "static", "const", "uint16_t", "_CalleeSaveRegs", "[", "]", "=", "{", "", ",", "", ",", "", ",", "", ",", "", ",", "", ",", "", ",", "", ",", "", ",", "", ",", "", ",", "", ",", "", ",", "", ",", "", ",", "", ",", "", ",", "", ",", "", ",", "", ",", "", ",", "", ",", "", ",", "", ",", "", ",", "", ",", "", ",", "", ",", "", ",", "", ",", "", ",", "", ",", "", ",", "", ",", "", ",", "", ",", "", ",", "", ",", "", ",", "", ",", "", ",", "", ",", "", ",", "", ",", "", ",", "", ",", "", ",", "", ",", "", ",", "", ",", "", ",", "", "}", ";", "return", "_CalleeSaveRegs", ";"], "ground_truth": ["}"], "File": "SPURegisterInfo4", "Func": "getCalleeSavedRegs", "Target": "CellSPU", "Target_Clf": "MPU", "Compiler_Type": "LLVM", "Idx": 61576, "Length": 117, "Cover_Rate": 0.5021459227467812} {"Template_token": ["", "virtual", "bool", "trackLivenessAfterRegAlloc", "(", "const", "MachineFunction", "&", "MF", ")", "const", "{"], "ground_truth": ["return", "true", ";"], "File": "SPURegisterInfo4", "Func": "trackLivenessAfterRegAlloc", "Target": "CellSPU", "Target_Clf": "MPU", "Compiler_Type": "LLVM", "Idx": 61577, "Length": 14, "Cover_Rate": 0.9333333333333333} {"Template_token": ["", "assert", "(", "i", "<", "MI", ".", "getNumOperands", "(", ")", "&&", "", ")", ";", "}", "MachineOperand", "&", "SPOp", "=", "MI", ".", "getOperand", "(", "i", ")", ";", "int", "FrameIndex", "=", "SPOp", ".", "getIndex", "(", ")", ";", "int", "Offset", "=", "MFI", "->", "getObjectOffset", "(", "FrameIndex", ")", ";", "unsigned", "OpNo", "=", "", ";", "if", "(", "MI", ".", "getOpcode", "(", ")", "==", "", "||", "MI", ".", "getOpcode", "(", ")", "==", "", ")", "OpNo", "=", "", ";", "MachineOperand", "&", "MO", "=", "MI", ".", "getOperand", "(", "OpNo", ")", ";", "Offset", "+=", "MO", ".", "getImm", "(", ")", "+", "MFI", "->", "getStackSize", "(", ")", "+", "FrameInfo", "::", "minStackSize", "(", ")", ";", "assert", "(", "(", "Offset", "&", "", ")", "==", "", "&&", "", ")", ";", "SPOp", ".", "ChangeToRegister", "(", "", ",", "false", ")", ";", "if", "(", "Offset", ">", "FrameInfo", "::", "maxFrameOffset", "(", ")", "||", "Offset", "<", "FrameInfo", "::", "minFrameOffset", "(", ")", ")", "{", "errs", "(", ")", "<<", "", "<<", "Offset", "<<", "", ";"], "ground_truth": ["}", "else", "{"], "File": "SPURegisterInfo6", "Func": "eliminateFrameIndex", "Target": "CellSPU", "Target_Clf": "MPU", "Compiler_Type": "LLVM", "Idx": 61578, "Length": 156, "Cover_Rate": 0.6023166023166023} {"Template_token": ["", "DebugLoc", "dl", "=", "MBBI", "->", "getDebugLoc", "(", ")", ";", "assert", "(", "MBBI", "->", "getOpcode", "(", ")", "==", "", "&&", "", ")", ";", "assert", "(", "(", "FrameSize", "&", "", ")", "==", "", "&&", "", ")", ";", "if", "(", "FrameSize", ">", "", "||", "MFI", "->", "hasCalls", "(", ")", ")", "{", "FrameSize", "=", "FrameSize", "+", "FrameInfo", "::", "minStackSize", "(", ")", ";", "if", "(", "isS10Constant", "(", "FrameSize", "+", "LinkSlotOffset", ")", ")", "{", "BuildMI", "(", "MBB", ",", "MBBI", ",", "dl", ",", "TII", ".", "get", "(", "", ")", ",", "", ")", ".", "addImm", "(", "FrameSize", "+", "LinkSlotOffset", ")", ".", "addReg", "(", "", ")", ";", "BuildMI", "(", "MBB", ",", "MBBI", ",", "dl", ",", "TII", ".", "get", "(", "", ")", ",", "", ")", ".", "addReg", "(", "", ")", ".", "addImm", "(", "FrameSize", ")", ";", "}", "else", "if", "(", "FrameSize", "<=", "(", "", "<<", "", ")", "-", "", "&&", "FrameSize", ">=", "-", "(", "", "<<", "", ")", ")", "{", "BuildMI", "(", "MBB", ",", "MBBI", ",", "dl", ",", "TII", ".", "get", "(", "", ")", ",", "", ")", ".", "addImm", "(", "", ")", ".", "addReg", "(", "", ")", ";", "BuildMI", "(", "MBB", ",", "MBBI", ",", "dl", ",", "TII", ".", "get", "(", "", ")", ",", "", ")", ".", "addImm", "(", "FrameSize", ")", ";", "BuildMI", "(", "MBB", ",", "MBBI", ",", "dl", ",", "TII", ".", "get", "(", "", ")", ",", "", ")", ".", "addReg", "(", "", ")", ".", "addReg", "(", "", ")", ";", "BuildMI", "(", "MBB", ",", "MBBI", ",", "dl", ",", "TII", ".", "get", "(", "", ")", ",", "", ")", ".", "addImm", "(", "", ")", ".", "addReg", "(", "", ")", ";", "BuildMI", "(", "MBB", ",", "MBBI", ",", "dl", ",", "TII", ".", "get", "(", "", ")", ",", "", ")", ".", "addReg", "(", "", ")", ".", "addImm", "(", "", ")", ";", "BuildMI", "(", "MBB", ",", "MBBI", ",", "dl", ",", "TII", ".", "get", "(", "", ")", ",", "", ")", ".", "addReg", "(", "", ")", ".", "addReg", "(", "", ")", ";", "}", "else", "{", "cerr", "<<", "", "<<", "FrameSize", "<<", "", ";"], "ground_truth": ["abort", "(", ")", ";"], "File": "SPURegisterInfo8", "Func": "emitEpilogue", "Target": "CellSPU", "Target_Clf": "MPU", "Compiler_Type": "LLVM", "Idx": 61579, "Length": 328, "Cover_Rate": 0.7437641723356009} {"Template_token": ["", "BuildMI", "(", "MBB", ",", "MBBI", ",", "dl", ",", "TII", ".", "get", "(", "", ")", ",", "", ")", ".", "addReg", "(", "", ")", ".", "addReg", "(", "", ")", ";", "BuildMI", "(", "MBB", ",", "MBBI", ",", "dl", ",", "TII", ".", "get", "(", "", ")", ",", "", ")", ".", "addReg", "(", "", ")", ".", "addReg", "(", "", ")", ";", "BuildMI", "(", "MBB", ",", "MBBI", ",", "dl", ",", "TII", ".", "get", "(", "", ")", ",", "", ")", ".", "addReg", "(", "", ")", ".", "addImm", "(", "", ")", ";", "BuildMI", "(", "MBB", ",", "MBBI", ",", "dl", ",", "TII", ".", "get", "(", "", ")", ",", "", ")", ".", "addReg", "(", "", ")", ".", "addReg", "(", "", ")", ";", "}", "else", "{", "cerr", "<<", "", "<<", "FrameSize", "<<", "", ";", "abort", "(", ")", ";", "}", "if", "(", "hasDebugInfo", ")", "{", "std", "::", "vector", "<", "MachineMove", ">", "&", "Moves", "=", "MMI", "->", "getFrameMoves", "(", ")", ";", "MachineLocation", "SPDst", "(", "MachineLocation", "::", "VirtualFP", ")", ";", "MachineLocation", "SPSrc", "(", "MachineLocation", "::", "VirtualFP", ",", "-", "FrameSize", ")", ";", "Moves", ".", "push_back", "(", "MachineMove", "(", "FrameLabelId", ",", "SPDst", ",", "SPSrc", ")", ")", ";", "const", "std", "::", "vector", "<", "CalleeSavedInfo", ">", "&", "CSI", "=", "MFI", "->", "getCalleeSavedInfo", "(", ")", ";", "for", "(", "unsigned", "I", "=", "", ",", "E", "=", "CSI", ".", "size", "(", ")", ";", "I", "!=", "E", ";", "++", "I", ")", "{", "int", "Offset", "=", "MFI", "->", "getObjectOffset", "(", "CSI", "[", "I", "]", ".", "getFrameIdx", "(", ")", ")", ";", "unsigned", "Reg", "=", "CSI", "[", "I", "]", ".", "getReg", "(", ")", ";", "if", "(", "Reg", "==", "", ")", "continue", ";", "MachineLocation", "CSDst", "(", "MachineLocation", "::", "VirtualFP", ",", "Offset", ")", ";", "MachineLocation", "CSSrc", "(", "Reg", ")", ";", "Moves", ".", "push_back", "(", "MachineMove", "(", "FrameLabelId", ",", "CSDst", ",", "CSSrc", ")", ")", ";", "}", "unsigned", "ReadyLabelId", "=", "MMI", "->", "NextLabelID", "(", ")", ";", "BuildMI", "(", "MBB", ",", "MBBI", ",", "dl", ",", "TII", ".", "get", "(", "", ")", ")", ".", "addImm", "(", "ReadyLabelId", ")", ";", "MachineLocation", "FPDst", "(", "", ")", ";", "MachineLocation", "FPSrc", "(", "MachineLocation", "::", "VirtualFP", ")", ";", "Moves", ".", "push_back", "(", "MachineMove", "(", "ReadyLabelId", ",", "FPDst", ",", "FPSrc", ")", ")", ";"], "ground_truth": ["}"], "File": "SPURegisterInfo8", "Func": "emitPrologue", "Target": "CellSPU", "Target_Clf": "MPU", "Compiler_Type": "LLVM", "Idx": 61580, "Length": 347, "Cover_Rate": 0.4091981132075472} {"Template_token": ["", "case", "", ":", "return", "", ";", "case", "", ":", "return", "", ";", "case", "", ":", "return", "", ";", "case", "", ":", "return", "", ";", "case", "", ":", "return", "", ";", "case", "", ":", "return", "", ";", "case", "", ":", "return", "", ";", "case", "", ":", "return", "", ";", "case", "", ":", "return", "", ";", "case", "", ":", "return", "", ";", "case", "", ":", "return", "", ";", "case", "", ":", "return", "", ";", "case", "", ":", "return", "", ";", "case", "", ":", "return", "", ";", "case", "", ":", "return", "", ";", "case", "", ":", "return", "", ";", "case", "", ":", "return", "", ";", "case", "", ":", "return", "", ";", "case", "", ":", "return", "", ";", "case", "", ":", "return", "", ";", "case", "", ":", "return", "", ";", "case", "", ":", "return", "", ";", "case", "", ":", "return", "", ";", "case", "", ":", "return", "", ";", "case", "", ":", "return", "", ";", "case", "", ":", "return", "", ";", "case", "", ":", "return", "", ";", "case", "", ":", "return", "", ";", "case", "", ":", "return", "", ";", "case", "", ":", "return", "", ";", "case", "", ":", "return", "", ";", "case", "", ":", "return", "", ";", "case", "", ":", "return", "", ";", "case", "", ":", "return", "", ";", "case", "", ":", "return", "", ";", "case", "", ":", "return", "", ";", "case", "", ":", "return", "", ";", "case", "", ":", "return", "", ";", "case", "", ":", "return", "", ";", "case", "", ":", "return", "", ";", "case", "", ":", "return", "", ";", "case", "", ":", "return", "", ";", "case", "", ":", "return", "", ";", "case", "", ":", "return", "", ";", "case", "", ":", "return", "", ";", "case", "", ":", "return", "", ";", "case", "", ":", "return", "", ";", "case", "", ":", "return", "", ";", "case", "", ":", "return", "", ";", "case", "", ":", "return", "", ";", "case", "", ":", "return", "", ";", "case", "", ":", "return", "", ";", "case", "", ":", "return", "", ";", "case", "", ":", "return", "", ";", "case", "", ":", "return", "", ";"], "ground_truth": ["case", "", ":", "return", "", ";"], "File": "SPURegisterInfo8", "Func": "getRegisterNumbering", "Target": "CellSPU", "Target_Clf": "MPU", "Compiler_Type": "LLVM", "Idx": 61583, "Length": 336, "Cover_Rate": 0.3187855787476281} {"Template_token": ["", "virtual", "bool", "requiresRegisterScavenging", "(", "const", "MachineFunction", "&", "MF", ")", "const", "{", "return", "true", ";"], "ground_truth": ["}"], "File": "SPURegisterInfo", "Func": "requiresRegisterScavenging", "Target": "CellSPU", "Target_Clf": "MPU", "Compiler_Type": "LLVM", "Idx": 61585, "Length": 15, "Cover_Rate": 1.0} {"Template_token": ["", "virtual", "bool", "requiresRegisterScavenging", "(", "const", "MachineFunction", "&", "MF", ")", "const", "{"], "ground_truth": ["return", "true", ";"], "File": "SPURegisterInfo", "Func": "requiresRegisterScavenging", "Target": "CellSPU", "Target_Clf": "MPU", "Compiler_Type": "LLVM", "Idx": 61586, "Length": 14, "Cover_Rate": 0.9333333333333333} {"Template_token": ["", "SelectionDAGInfo", "::", "SelectionDAGInfo", "(", "const", "TargetMachine", "&", "TM", ")", ":", "TargetSelectionDAGInfo", "(", "TM", ")", "{"], "ground_truth": ["}"], "File": "SPUSelectionDAGInfo", "Func": "SPUSelectionDAGInfo", "Target": "CellSPU", "Target_Clf": "MPU", "Compiler_Type": "LLVM", "Idx": 61587, "Length": 16, "Cover_Rate": 1.0} {"Template_token": ["", "SelectionDAGInfo", "::", "SelectionDAGInfo", "(", "const", "TargetMachine", "&", "TM", ")", ":", "TargetSelectionDAGInfo", "(", "TM", ")", "{"], "ground_truth": ["}"], "File": "SPUSelectionDAGInfo", "Func": "SPUSelectionDAGInfo", "Target": "CellSPU", "Target_Clf": "MPU", "Compiler_Type": "LLVM", "Idx": 61588, "Length": 16, "Cover_Rate": 1.0} {"Template_token": ["", "SelectionDAGInfo", "::", "~", "SelectionDAGInfo", "(", ")", "{"], "ground_truth": ["}"], "File": "SPUSelectionDAGInfo", "Func": "~SPUSelectionDAGInfo", "Target": "CellSPU", "Target_Clf": "MPU", "Compiler_Type": "LLVM", "Idx": 61589, "Length": 8, "Cover_Rate": 1.0} {"Template_token": ["", "SelectionDAGInfo", "::", "~", "SelectionDAGInfo", "(", ")", "{"], "ground_truth": ["}"], "File": "SPUSelectionDAGInfo", "Func": "~SPUSelectionDAGInfo", "Target": "CellSPU", "Target_Clf": "MPU", "Compiler_Type": "LLVM", "Idx": 61590, "Length": 8, "Cover_Rate": 1.0} {"Template_token": ["", "CriticalPathRCs", ".", "push_back", "(", "&", "", ")", ";", "CriticalPathRCs", ".", "push_back", "(", "&", "", ")", ";", "CriticalPathRCs", ".", "push_back", "(", "&", "", ")", ";", "CriticalPathRCs", ".", "push_back", "(", "&", "", ")", ";", "CriticalPathRCs", ".", "push_back", "(", "&", "", ")", ";"], "ground_truth": ["return", "OptLevel", ">=", "CodeGenOpt", "::", "Default", ";"], "File": "SPUSubtarget1", "Func": "enablePostRAScheduler", "Target": "CellSPU", "Target_Clf": "MPU", "Compiler_Type": "LLVM", "Idx": 61591, "Length": 47, "Cover_Rate": 0.46078431372549017} {"Template_token": ["", "Mode", "=", "TargetSubtargetInfo", "::", "ANTIDEP_CRITICAL", ";", "CriticalPathRCs", ".", "clear", "(", ")", ";", "CriticalPathRCs", ".", "push_back", "(", "&", "", ")", ";", "CriticalPathRCs", ".", "push_back", "(", "&", "", ")", ";", "CriticalPathRCs", ".", "push_back", "(", "&", "", ")", ";", "CriticalPathRCs", ".", "push_back", "(", "&", "", ")", ";", "CriticalPathRCs", ".", "push_back", "(", "&", "", ")", ";"], "ground_truth": ["CriticalPathRCs", ".", "push_back", "(", "&", "", ")", ";"], "File": "SPUSubtarget1", "Func": "enablePostRAScheduler", "Target": "CellSPU", "Target_Clf": "MPU", "Compiler_Type": "LLVM", "Idx": 61592, "Length": 60, "Cover_Rate": 0.5882352941176471} {"Template_token": ["", "void", "Subtarget", "::", "SetJITMode", "(", ")", "{"], "ground_truth": ["}"], "File": "SPUSubtarget1", "Func": "SetJITMode", "Target": "CellSPU", "Target_Clf": "MPU", "Compiler_Type": "LLVM", "Idx": 61593, "Length": 8, "Cover_Rate": 1.0} {"Template_token": ["", "void", "Subtarget", "::", "SetJITMode", "(", ")", "{"], "ground_truth": ["}"], "File": "SPUSubtarget1", "Func": "SetJITMode", "Target": "CellSPU", "Target_Clf": "MPU", "Compiler_Type": "LLVM", "Idx": 61594, "Length": 8, "Cover_Rate": 1.0} {"Template_token": ["", "Subtarget", "::", "Subtarget", "(", "const", "std", "::", "string", "&", "TT", ",", "const", "std", "::", "string", "&", "CPU", ",", "const", "std", "::", "string", "&", "FS", ")", ":", "GenSubtargetInfo", "(", "TT", ",", "CPU", ",", "FS", ")", ",", "StackAlignment", "(", "", ")", ",", "ProcDirective", "(", "", ")", ",", "UseLargeMem", "(", "false", ")", "{", "std", "::", "string", "default_cpu", "(", "", ")", ";"], "ground_truth": ["ParseSubtargetFeatures", "(", "default_cpu", ",", "FS", ")", ";"], "File": "SPUSubtarget1", "Func": "SPUSubtarget", "Target": "CellSPU", "Target_Clf": "MPU", "Compiler_Type": "LLVM", "Idx": 61595, "Length": 65, "Cover_Rate": 0.8666666666666667} {"Template_token": ["", "Subtarget", "::", "Subtarget", "(", "const", "std", "::", "string", "&", "TT", ",", "const", "std", "::", "string", "&", "FS", ")", ":"], "ground_truth": ["StackAlignment", "(", "", ")", ",", "ProcDirective", "(", "", ")", ",", "UseLargeMem", "(", "false", ")", "{"], "File": "SPUSubtarget2", "Func": "SPUSubtarget", "Target": "CellSPU", "Target_Clf": "MPU", "Compiler_Type": "LLVM", "Idx": 61598, "Length": 34, "Cover_Rate": 0.6538461538461539} {"Template_token": ["", "return", "", "", "", ";"], "ground_truth": ["}"], "File": "SPUSubtarget3", "Func": "getDataLayoutString", "Target": "CellSPU", "Target_Clf": "MPU", "Compiler_Type": "LLVM", "Idx": 61600, "Length": 6, "Cover_Rate": 0.42857142857142855} {"Template_token": ["", "const", "char", "*", "getDataLayoutString", "(", ")", "const", "{", "return", "", "", "", ";"], "ground_truth": ["}"], "File": "SPUSubtarget3", "Func": "getDataLayoutString", "Target": "CellSPU", "Target_Clf": "MPU", "Compiler_Type": "LLVM", "Idx": 61601, "Length": 14, "Cover_Rate": 1.0} {"Template_token": ["", "TM", "(", "tm", ")", ",", "StackAlignment", "(", "", ")", ",", "ProcDirective", "(", "", ")", ",", "UseLargeMem", "(", "false", ")", "{", "std", "::", "string", "default_cpu", "(", "", ")", ";", "ParseSubtargetFeatures", "(", "FS", ",", "default_cpu", ")", ";"], "ground_truth": ["}"], "File": "SPUSubtarget3", "Func": "SPUSubtarget", "Target": "CellSPU", "Target_Clf": "MPU", "Compiler_Type": "LLVM", "Idx": 61602, "Length": 36, "Cover_Rate": 0.6} {"Template_token": ["", "const", "InstrItineraryData", "&", "getInstrItineraryData", "(", ")", "const", "{"], "ground_truth": ["return", "InstrItins", ";"], "File": "SPUSubtarget", "Func": "getInstrItineraryData", "Target": "CellSPU", "Target_Clf": "MPU", "Compiler_Type": "LLVM", "Idx": 61605, "Length": 11, "Cover_Rate": 0.9166666666666666} {"Template_token": ["", "return", "StackAlignment", ";"], "ground_truth": ["}"], "File": "SPUSubtarget", "Func": "getStackAlignment", "Target": "CellSPU", "Target_Clf": "MPU", "Compiler_Type": "LLVM", "Idx": 61606, "Length": 4, "Cover_Rate": 0.4} {"Template_token": ["", "return", "StackAlignment", ";"], "ground_truth": ["}"], "File": "SPUSubtarget", "Func": "getStackAlignment", "Target": "CellSPU", "Target_Clf": "MPU", "Compiler_Type": "LLVM", "Idx": 61607, "Length": 4, "Cover_Rate": 0.4} {"Template_token": ["", "bool", "usingLargeMem", "(", ")", "const", "{"], "ground_truth": ["return", "UseLargeMem", ";"], "File": "SPUSubtarget", "Func": "usingLargeMem", "Target": "CellSPU", "Target_Clf": "MPU", "Compiler_Type": "LLVM", "Idx": 61610, "Length": 9, "Cover_Rate": 0.9} {"Template_token": ["", "return", "UseLargeMem", ";"], "ground_truth": ["}"], "File": "SPUSubtarget", "Func": "usingLargeMem", "Target": "CellSPU", "Target_Clf": "MPU", "Compiler_Type": "LLVM", "Idx": 61611, "Length": 4, "Cover_Rate": 0.4} {"Template_token": ["", "return", "TargetAsmInfo", "::", "PreferredEHDataFormat", "(", "Reason", ",", "Global", ")", ";"], "ground_truth": ["}"], "File": "SPUTargetAsmInfo1", "Func": "PreferredEHDataFormat", "Target": "CellSPU", "Target_Clf": "MPU", "Compiler_Type": "LLVM", "Idx": 61613, "Length": 11, "Cover_Rate": 0.4230769230769231} {"Template_token": ["", "DwarfAbbrevSection", "=", "", ";", "DwarfInfoSection", "=", "", ";", "DwarfLineSection", "=", "", ";", "DwarfFrameSection", "=", "", ";", "DwarfPubNamesSection", "=", "", ";", "DwarfPubTypesSection", "=", "", ";", "DwarfStrSection", "=", "", ";", "DwarfLocSection", "=", "", ";", "DwarfARangesSection", "=", "", ";", "DwarfRangesSection", "=", "", ";", "DwarfMacInfoSection", "=", "", ";", "SupportsExceptionHandling", "=", "false", ";"], "ground_truth": ["}"], "File": "SPUTargetAsmInfo1", "Func": "SPULinuxTargetAsmInfo", "Target": "CellSPU", "Target_Clf": "MPU", "Compiler_Type": "LLVM", "Idx": 61614, "Length": 49, "Cover_Rate": 0.3828125} {"Template_token": ["", "BaseTAI", "::", "AlignmentIsInBytes", "=", "false", ";", "BaseTAI", "::", "LCOMMDirective", "=", "", ";"], "ground_truth": ["BaseTAI", "::", "InlineAsmStart", "=", "", ";"], "File": "SPUTargetAsmInfo1", "Func": "SPUTargetAsmInfo", "Target": "CellSPU", "Target_Clf": "MPU", "Compiler_Type": "LLVM", "Idx": 61615, "Length": 18, "Cover_Rate": 0.3157894736842105} {"Template_token": ["", "GlobalPrefix", "=", "", ";", "PrivateGlobalPrefix", "=", "", ";", "HasLEB128", "=", "true", ";", "HasDotLocAndDotFile", "=", "true", ";", "SupportsDebugInformation", "=", "true", ";"], "ground_truth": ["NeedsSet", "=", "true", ";"], "File": "SPUTargetAsmInfo", "Func": "SPULinuxTargetAsmInfo", "Target": "CellSPU", "Target_Clf": "MPU", "Compiler_Type": "LLVM", "Idx": 61616, "Length": 24, "Cover_Rate": 0.32432432432432434} {"Template_token": ["", "bool", "TargetMachine", "::", "addAssemblyEmitter", "(", "PassManagerBase", "&", "PM", ",", "bool", "Fast", ",", "raw_ostream", "&", "Out", ")", "{"], "ground_truth": ["PM", ".", "add", "(", "createAsmPrinterPass", "(", "Out", ",", "*", "this", ",", "Fast", ")", ")", ";"], "File": "SPUTargetMachine10", "Func": "addAssemblyEmitter", "Target": "CellSPU", "Target_Clf": "MPU", "Compiler_Type": "LLVM", "Idx": 61617, "Length": 32, "Cover_Rate": 0.8888888888888888} {"Template_token": ["", "bool", "TargetMachine", "::", "addAssemblyEmitter", "(", "PassManagerBase", "&", "PM", ",", "bool", "Fast", ",", "raw_ostream", "&", "Out", ")", "{"], "ground_truth": ["PM", ".", "add", "(", "createAsmPrinterPass", "(", "Out", ",", "*", "this", ",", "Fast", ")", ")", ";"], "File": "SPUTargetMachine10", "Func": "addAssemblyEmitter", "Target": "CellSPU", "Target_Clf": "MPU", "Compiler_Type": "LLVM", "Idx": 61618, "Length": 32, "Cover_Rate": 0.8888888888888888} {"Template_token": ["", "bool", "TargetMachine", "::", "addInstSelector", "(", "PassManagerBase", "&", "PM", ",", "bool", "Fast", ")", "{", "PM", ".", "add", "(", "createISelDag", "(", "*", "this", ")", ")", ";"], "ground_truth": ["return", "false", ";"], "File": "SPUTargetMachine10", "Func": "addInstSelector", "Target": "CellSPU", "Target_Clf": "MPU", "Compiler_Type": "LLVM", "Idx": 61620, "Length": 27, "Cover_Rate": 0.9642857142857143} {"Template_token": ["", "const", "TargetAsmInfo", "*", "TargetMachine", "::", "createTargetAsmInfo", "(", ")", "const", "{"], "ground_truth": ["return", "new", "LinuxTargetAsmInfo", "(", "*", "this", ")", ";"], "File": "SPUTargetMachine10", "Func": "createTargetAsmInfo", "Target": "CellSPU", "Target_Clf": "MPU", "Compiler_Type": "LLVM", "Idx": 61621, "Length": 18, "Cover_Rate": 0.9473684210526315} {"Template_token": ["", "if", "(", "(", "TT", ".", "size", "(", ")", "==", "", "&&", "std", "::", "string", "(", "TT", ".", "begin", "(", ")", ",", "TT", ".", "begin", "(", ")", "+", "", ")", "==", "", ")", "||", "(", "TT", ".", "size", "(", ")", "==", "", "&&", "std", "::", "string", "(", "TT", ".", "begin", "(", ")", ",", "TT", ".", "begin", "(", ")", "+", "", ")", "==", "", ")", "||", "(", "TT", ".", "size", "(", ")", ">=", "", "&&", "std", "::", "string", "(", "TT", ".", "begin", "(", ")", ",", "TT", ".", "begin", "(", ")", "+", "", ")", "==", "", ")", "||", "(", "TT", ".", "size", "(", ")", ">=", "", "&&", "std", "::", "string", "(", "TT", ".", "begin", "(", ")", ",", "TT", ".", "begin", "(", ")", "+", "", ")", "==", "", ")", ")", "return", "", ";", "return", "", ";"], "ground_truth": ["}"], "File": "SPUTargetMachine10", "Func": "getModuleMatchQuality", "Target": "CellSPU", "Target_Clf": "MPU", "Compiler_Type": "LLVM", "Idx": 61624, "Length": 133, "Cover_Rate": 0.8580645161290322} {"Template_token": ["", "TargetMachine", "::", "TargetMachine", "(", "const", "Module", "&", "M", ",", "const", "std", "::", "string", "&", "FS", ")", ":", "Subtarget", "(", "*", "this", ",", "M", ",", "FS", ")", ",", "DataLayout", "(", "Subtarget", ".", "getTargetDataString", "(", ")", ")", ",", "InstrInfo", "(", "*", "this", ")", ",", "FrameInfo", "(", "*", "this", ")", ",", "TLInfo", "(", "*", "this", ")", ",", "InstrItins", "(", "Subtarget", ".", "getInstrItineraryData", "(", ")", ")", "{", "setRelocationModel", "(", "Reloc", "::", "Static", ")", ";"], "ground_truth": ["}"], "File": "SPUTargetMachine10", "Func": "SPUTargetMachine", "Target": "CellSPU", "Target_Clf": "MPU", "Compiler_Type": "LLVM", "Idx": 61625, "Length": 71, "Cover_Rate": 1.0} {"Template_token": ["", "addPass", "(", "createISelDag", "(", "getTargetMachine", "(", ")", ")", ")", ";", "return", "false", ";"], "ground_truth": ["}"], "File": "SPUTargetMachine11", "Func": "addInstSelector", "Target": "CellSPU", "Target_Clf": "MPU", "Compiler_Type": "LLVM", "Idx": 61626, "Length": 14, "Cover_Rate": 0.6666666666666666} {"Template_token": ["", "if", "(", "schedulerCreator", "!=", "NULL", ")", "addPass", "(", "schedulerCreator", "(", "", ")", ")", ";", "addPass", "(", "createNopFillerPass", "(", "getTargetMachine", "(", ")", ")", ")", ";", "return", "true", ";"], "ground_truth": ["}"], "File": "SPUTargetMachine11", "Func": "addPreEmitPass", "Target": "CellSPU", "Target_Clf": "MPU", "Compiler_Type": "LLVM", "Idx": 61627, "Length": 28, "Cover_Rate": 0.4117647058823529} {"Template_token": ["", "if", "(", "schedulerCreator", "!=", "NULL", ")", "addPass", "(", "schedulerCreator", "(", "", ")", ")", ";"], "ground_truth": ["addPass", "(", "createNopFillerPass", "(", "getTargetMachine", "(", ")", ")", ")", ";"], "File": "SPUTargetMachine11", "Func": "addPreEmitPass", "Target": "CellSPU", "Target_Clf": "MPU", "Compiler_Type": "LLVM", "Idx": 61628, "Length": 24, "Cover_Rate": 0.35294117647058826} {"Template_token": ["", "TargetPassConfig", "*", "TargetMachine", "::", "createPassConfig", "(", "PassManagerBase", "&", "PM", ")", "{"], "ground_truth": ["return", "new", "PassConfig", "(", "this", ",", "PM", ")", ";"], "File": "SPUTargetMachine11", "Func": "createPassConfig", "Target": "CellSPU", "Target_Clf": "MPU", "Compiler_Type": "LLVM", "Idx": 61629, "Length": 20, "Cover_Rate": 0.9523809523809523} {"Template_token": ["", "TargetMachine", "&", "getTargetMachine", "(", ")", "const", "{"], "ground_truth": ["return", "getTM", "<", "TargetMachine", ">", "(", ")", ";"], "File": "SPUTargetMachine11", "Func": "getSPUTargetMachine", "Target": "CellSPU", "Target_Clf": "MPU", "Compiler_Type": "LLVM", "Idx": 61631, "Length": 15, "Cover_Rate": 0.9375} {"Template_token": ["", "PassConfig", "(", "TargetMachine", "*", "TM", ",", "PassManagerBase", "&", "PM", ")", ":", "TargetPassConfig", "(", "TM", ",", "PM", ")", "{"], "ground_truth": ["}"], "File": "SPUTargetMachine11", "Func": "SPUPassConfig", "Target": "CellSPU", "Target_Clf": "MPU", "Compiler_Type": "LLVM", "Idx": 61633, "Length": 19, "Cover_Rate": 1.0} {"Template_token": ["", "PassConfig", "(", "TargetMachine", "*", "TM", ",", "PassManagerBase", "&", "PM", ")", ":", "TargetPassConfig", "(", "TM", ",", "PM", ")", "{"], "ground_truth": ["}"], "File": "SPUTargetMachine11", "Func": "SPUPassConfig", "Target": "CellSPU", "Target_Clf": "MPU", "Compiler_Type": "LLVM", "Idx": 61634, "Length": 19, "Cover_Rate": 1.0} {"Template_token": ["", "TargetMachine", "::", "TargetMachine", "(", "const", "Target", "&", "T", ",", "StringRef", "TT", ",", "StringRef", "CPU", ",", "StringRef", "FS", ",", "const", "TargetOptions", "&", "Options", ",", "Reloc", "::", "Model", "RM", ",", "CodeModel", "::", "Model", "CM", ",", "CodeGenOpt", "::", "Level", "OL", ")", ":", "LLVMTargetMachine", "(", "T", ",", "TT", ",", "CPU", ",", "FS", ",", "Options", ",", "RM", ",", "CM", ",", "OL", ")", ",", "Subtarget", "(", "TT", ",", "CPU", ",", "FS", ")", ",", "DataLayout", "(", "Subtarget", ".", "getTargetDataString", "(", ")", ")", ",", "InstrInfo", "(", "*", "this", ")", ",", "FrameLowering", "(", "Subtarget", ")", ",", "TLInfo", "(", "*", "this", ")", ",", "TSInfo", "(", "*", "this", ")", ",", "InstrItins", "(", "Subtarget", ".", "getInstrItineraryData", "(", ")", ")", "{"], "ground_truth": ["}"], "File": "SPUTargetMachine11", "Func": "SPUTargetMachine", "Target": "CellSPU", "Target_Clf": "MPU", "Compiler_Type": "LLVM", "Idx": 61635, "Length": 109, "Cover_Rate": 1.0} {"Template_token": ["", "TargetMachine", "::", "TargetMachine", "(", "const", "Target", "&", "T", ",", "StringRef", "TT", ",", "StringRef", "CPU", ",", "StringRef", "FS", ",", "const", "TargetOptions", "&", "Options", ",", "Reloc", "::", "Model", "RM", ",", "CodeModel", "::", "Model", "CM", ",", "CodeGenOpt", "::", "Level", "OL", ")", ":", "LLVMTargetMachine", "(", "T", ",", "TT", ",", "CPU", ",", "FS", ",", "Options", ",", "RM", ",", "CM", ",", "OL", ")", ",", "Subtarget", "(", "TT", ",", "CPU", ",", "FS", ")", ",", "DataLayout", "(", "Subtarget", ".", "getTargetDataString", "(", ")", ")", ",", "InstrInfo", "(", "*", "this", ")", ",", "FrameLowering", "(", "Subtarget", ")", ",", "TLInfo", "(", "*", "this", ")", ",", "TSInfo", "(", "*", "this", ")", ",", "InstrItins", "(", "Subtarget", ".", "getInstrItineraryData", "(", ")", ")", "{"], "ground_truth": ["}"], "File": "SPUTargetMachine11", "Func": "SPUTargetMachine", "Target": "CellSPU", "Target_Clf": "MPU", "Compiler_Type": "LLVM", "Idx": 61636, "Length": 109, "Cover_Rate": 1.0} {"Template_token": ["", "BuilderFunc", "schedulerCreator", "=", "(", "BuilderFunc", ")", "(", "intptr_t", ")", "sys", "::", "DynamicLibrary", "::", "SearchForAddressOfSymbol", "(", "", ")", ";", "if", "(", "schedulerCreator", "!=", "NULL", ")", "PM", ".", "add", "(", "schedulerCreator", "(", "", ")", ")", ";"], "ground_truth": ["PM", ".", "add", "(", "createNopFillerPass", "(", "*", "this", ")", ")", ";"], "File": "SPUTargetMachine12", "Func": "addPreEmitPass", "Target": "CellSPU", "Target_Clf": "MPU", "Compiler_Type": "LLVM", "Idx": 61637, "Length": 45, "Cover_Rate": 0.569620253164557} {"Template_token": ["", "TargetMachine", "::", "TargetMachine", "(", "const", "Target", "&", "T", ",", "StringRef", "TT", ",", "StringRef", "CPU", ",", "StringRef", "FS", ",", "Reloc", "::", "Model", "RM", ",", "CodeModel", "::", "Model", "CM", ")", ":", "LLVMTargetMachine", "(", "T", ",", "TT", ",", "CPU", ",", "FS", ",", "RM", ",", "CM", ")", ",", "Subtarget", "(", "TT", ",", "CPU", ",", "FS", ")", ",", "DataLayout", "(", "Subtarget", ".", "getTargetDataString", "(", ")", ")", ",", "InstrInfo", "(", "*", "this", ")", ",", "FrameLowering", "(", "Subtarget", ")", ",", "TLInfo", "(", "*", "this", ")", ",", "TSInfo", "(", "*", "this", ")", ",", "InstrItins", "(", "Subtarget", ".", "getInstrItineraryData", "(", ")", ")", "{"], "ground_truth": ["}"], "File": "SPUTargetMachine12", "Func": "SPUTargetMachine", "Target": "CellSPU", "Target_Clf": "MPU", "Compiler_Type": "LLVM", "Idx": 61638, "Length": 95, "Cover_Rate": 1.0} {"Template_token": ["", "TargetMachine", "::", "TargetMachine", "(", "const", "Target", "&", "T", ",", "StringRef", "TT", ",", "StringRef", "CPU", ",", "StringRef", "FS", ",", "Reloc", "::", "Model", "RM", ",", "CodeModel", "::", "Model", "CM", ")", ":", "LLVMTargetMachine", "(", "T", ",", "TT", ",", "CPU", ",", "FS", ",", "RM", ",", "CM", ")", ",", "Subtarget", "(", "TT", ",", "CPU", ",", "FS", ")", ",", "DataLayout", "(", "Subtarget", ".", "getTargetDataString", "(", ")", ")", ",", "InstrInfo", "(", "*", "this", ")", ",", "FrameLowering", "(", "Subtarget", ")", ",", "TLInfo", "(", "*", "this", ")", ",", "TSInfo", "(", "*", "this", ")", ",", "InstrItins", "(", "Subtarget", ".", "getInstrItineraryData", "(", ")", ")", "{"], "ground_truth": ["}"], "File": "SPUTargetMachine12", "Func": "SPUTargetMachine", "Target": "CellSPU", "Target_Clf": "MPU", "Compiler_Type": "LLVM", "Idx": 61639, "Length": 95, "Cover_Rate": 1.0} {"Template_token": ["", "PM", ".", "add", "(", "createISelDag", "(", "getTargetMachine", "(", ")", ")", ")", ";"], "ground_truth": ["return", "false", ";"], "File": "SPUTargetMachine13", "Func": "addInstSelector", "Target": "CellSPU", "Target_Clf": "MPU", "Compiler_Type": "LLVM", "Idx": 61640, "Length": 15, "Cover_Rate": 0.6521739130434783} {"Template_token": ["", "BuilderFunc", "schedulerCreator", "=", "(", "BuilderFunc", ")", "(", "intptr_t", ")", "sys", "::", "DynamicLibrary", "::", "SearchForAddressOfSymbol", "(", "", ")", ";", "if", "(", "schedulerCreator", "!=", "NULL", ")", "PM", ".", "add", "(", "schedulerCreator", "(", "", ")", ")", ";"], "ground_truth": ["PM", ".", "add", "(", "createNopFillerPass", "(", "getTargetMachine", "(", ")", ")", ")", ";"], "File": "SPUTargetMachine13", "Func": "addPreEmitPass", "Target": "CellSPU", "Target_Clf": "MPU", "Compiler_Type": "LLVM", "Idx": 61641, "Length": 46, "Cover_Rate": 0.6388888888888888} {"Template_token": ["", "bool", "PassConfig", "::", "addPreEmitPass", "(", ")", "{", "typedef", "llvm", "::", "FunctionPass", "*", "(", "*", "BuilderFunc", ")", "(", "const", "char", "*", ")", ";", "BuilderFunc", "schedulerCreator", "=", "(", "BuilderFunc", ")", "(", "intptr_t", ")", "sys", "::", "DynamicLibrary", "::", "SearchForAddressOfSymbol", "(", "", ")", ";"], "ground_truth": ["if", "(", "schedulerCreator", "!=", "NULL", ")", "PM", ".", "add", "(", "schedulerCreator", "(", "", ")", ")", ";"], "File": "SPUTargetMachine13", "Func": "addPreEmitPass", "Target": "CellSPU", "Target_Clf": "MPU", "Compiler_Type": "LLVM", "Idx": 61642, "Length": 56, "Cover_Rate": 0.7777777777777778} {"Template_token": ["", "bool", "TargetMachine", "::", "addInstSelector", "(", "PassManagerBase", "&", "PM", ")", "{"], "ground_truth": ["PM", ".", "add", "(", "createISelDag", "(", "*", "this", ")", ")", ";"], "File": "SPUTargetMachine1", "Func": "addInstSelector", "Target": "CellSPU", "Target_Clf": "MPU", "Compiler_Type": "LLVM", "Idx": 61644, "Length": 21, "Cover_Rate": 0.84} {"Template_token": ["", "addPreEmitPass", "(", "PassManagerBase", "&", "PM", ")", "{", "typedef", "llvm", "::", "FunctionPass", "*", "(", "*", "BuilderFunc", ")", "(", "const", "char", "*", ")", ";"], "ground_truth": ["BuilderFunc", "schedulerCreator", "=", "(", "BuilderFunc", ")", "(", "intptr_t", ")", "sys", "::", "DynamicLibrary", "::", "SearchForAddressOfSymbol", "(", "", ")", ";"], "File": "SPUTargetMachine1", "Func": "addPreEmitPass", "Target": "CellSPU", "Target_Clf": "MPU", "Compiler_Type": "LLVM", "Idx": 61645, "Length": 40, "Cover_Rate": 0.5405405405405406} {"Template_token": ["", "typedef", "llvm", "::", "FunctionPass", "*", "(", "*", "BuilderFunc", ")", "(", "const", "char", "*", ")", ";", "BuilderFunc", "schedulerCreator", "=", "(", "BuilderFunc", ")", "(", "intptr_t", ")", "sys", "::", "DynamicLibrary", "::", "SearchForAddressOfSymbol", "(", "", ")", ";", "if", "(", "schedulerCreator", "!=", "NULL", ")", "PM", ".", "add", "(", "schedulerCreator", "(", "", ")", ")", ";", "PM", ".", "add", "(", "createNopFillerPass", "(", "*", "this", ")", ")", ";"], "ground_truth": ["return", "true", ";"], "File": "SPUTargetMachine1", "Func": "addPreEmitPass", "Target": "CellSPU", "Target_Clf": "MPU", "Compiler_Type": "LLVM", "Idx": 61646, "Length": 63, "Cover_Rate": 0.8513513513513513} {"Template_token": ["", "const", "std", "::", "pair", "<", "unsigned", ",", "int", ">", "*", "FrameLowering", "::", "getCalleeSaveSpillSlots", "(", "unsigned", "&", "NumEntries", ")", "const", "{", "NumEntries", "=", "", ";"], "ground_truth": ["return", "&", "LR", "[", "", "]", ";"], "File": "SPUTargetMachine1", "Func": "getCalleeSaveSpillSlots", "Target": "CellSPU", "Target_Clf": "MPU", "Compiler_Type": "LLVM", "Idx": 61647, "Length": 31, "Cover_Rate": 0.96875} {"Template_token": ["", "return", "&", "FrameLowering", ";"], "ground_truth": ["}"], "File": "SPUTargetMachine1", "Func": "getFrameLowering", "Target": "CellSPU", "Target_Clf": "MPU", "Compiler_Type": "LLVM", "Idx": 61649, "Length": 5, "Cover_Rate": 0.35714285714285715} {"Template_token": ["", "return", "&", "InstrInfo", ";"], "ground_truth": ["}"], "File": "SPUTargetMachine1", "Func": "getInstrInfo", "Target": "CellSPU", "Target_Clf": "MPU", "Compiler_Type": "LLVM", "Idx": 61650, "Length": 5, "Cover_Rate": 0.35714285714285715} {"Template_token": ["", "return", "&", "InstrItins", ";"], "ground_truth": ["}"], "File": "SPUTargetMachine1", "Func": "getInstrItineraryData", "Target": "CellSPU", "Target_Clf": "MPU", "Compiler_Type": "LLVM", "Idx": 61651, "Length": 5, "Cover_Rate": 0.35714285714285715} {"Template_token": ["", "virtual", "const", "InstrItineraryData", "*", "getInstrItineraryData", "(", ")", "const", "{"], "ground_truth": ["return", "&", "InstrItins", ";"], "File": "SPUTargetMachine1", "Func": "getInstrItineraryData", "Target": "CellSPU", "Target_Clf": "MPU", "Compiler_Type": "LLVM", "Idx": 61652, "Length": 13, "Cover_Rate": 0.9285714285714286} {"Template_token": ["", "virtual", "TargetJITInfo", "*", "getJITInfo", "(", ")", "{", "return", "NULL", ";"], "ground_truth": ["}"], "File": "SPUTargetMachine1", "Func": "getJITInfo", "Target": "CellSPU", "Target_Clf": "MPU", "Compiler_Type": "LLVM", "Idx": 61653, "Length": 11, "Cover_Rate": 1.0} {"Template_token": ["", "return", "&", "InstrInfo", ".", "getRegisterInfo", "(", ")", ";"], "ground_truth": ["}"], "File": "SPUTargetMachine1", "Func": "getRegisterInfo", "Target": "CellSPU", "Target_Clf": "MPU", "Compiler_Type": "LLVM", "Idx": 61654, "Length": 9, "Cover_Rate": 0.5} {"Template_token": ["", "virtual", "const", "RegisterInfo", "*", "getRegisterInfo", "(", ")", "const", "{", "return", "&", "InstrInfo", ".", "getRegisterInfo", "(", ")", ";"], "ground_truth": ["}"], "File": "SPUTargetMachine1", "Func": "getRegisterInfo", "Target": "CellSPU", "Target_Clf": "MPU", "Compiler_Type": "LLVM", "Idx": 61655, "Length": 18, "Cover_Rate": 1.0} {"Template_token": ["", "virtual", "const", "SelectionDAGInfo", "*", "getSelectionDAGInfo", "(", ")", "const", "{"], "ground_truth": ["return", "&", "TSInfo", ";"], "File": "SPUTargetMachine1", "Func": "getSelectionDAGInfo", "Target": "CellSPU", "Target_Clf": "MPU", "Compiler_Type": "LLVM", "Idx": 61656, "Length": 13, "Cover_Rate": 0.9285714285714286} {"Template_token": ["", "virtual", "const", "Subtarget", "*", "getSubtargetImpl", "(", ")", "const", "{", "return", "&", "Subtarget", ";"], "ground_truth": ["}"], "File": "SPUTargetMachine1", "Func": "getSubtargetImpl", "Target": "CellSPU", "Target_Clf": "MPU", "Compiler_Type": "LLVM", "Idx": 61657, "Length": 14, "Cover_Rate": 1.0} {"Template_token": ["", "return", "&", "Subtarget", ";"], "ground_truth": ["}"], "File": "SPUTargetMachine1", "Func": "getSubtargetImpl", "Target": "CellSPU", "Target_Clf": "MPU", "Compiler_Type": "LLVM", "Idx": 61658, "Length": 5, "Cover_Rate": 0.35714285714285715} {"Template_token": ["", "return", "&", "DataLayout", ";"], "ground_truth": ["}"], "File": "SPUTargetMachine1", "Func": "getTargetData", "Target": "CellSPU", "Target_Clf": "MPU", "Compiler_Type": "LLVM", "Idx": 61659, "Length": 5, "Cover_Rate": 0.35714285714285715} {"Template_token": ["", "return", "&", "DataLayout", ";"], "ground_truth": ["}"], "File": "SPUTargetMachine1", "Func": "getTargetData", "Target": "CellSPU", "Target_Clf": "MPU", "Compiler_Type": "LLVM", "Idx": 61660, "Length": 5, "Cover_Rate": 0.35714285714285715} {"Template_token": ["", "virtual", "const", "TargetLowering", "*", "getTargetLowering", "(", ")", "const", "{"], "ground_truth": ["return", "&", "TLInfo", ";"], "File": "SPUTargetMachine1", "Func": "getTargetLowering", "Target": "CellSPU", "Target_Clf": "MPU", "Compiler_Type": "LLVM", "Idx": 61662, "Length": 13, "Cover_Rate": 0.9285714285714286} {"Template_token": ["", "TargetMachine", "::", "TargetMachine", "(", "const", "Target", "&", "T", ",", "StringRef", "TT", ",", "StringRef", "CPU", ",", "StringRef", "FS", ",", "Reloc", "::", "Model", "RM", ",", "CodeModel", "::", "Model", "CM", ",", "CodeGenOpt", "::", "Level", "OL", ")", ":", "LLVMTargetMachine", "(", "T", ",", "TT", ",", "CPU", ",", "FS", ",", "RM", ",", "CM", ",", "OL", ")", ",", "Subtarget", "(", "TT", ",", "CPU", ",", "FS", ")", ",", "DataLayout", "(", "Subtarget", ".", "getTargetDataString", "(", ")", ")", ",", "InstrInfo", "(", "*", "this", ")", ",", "FrameLowering", "(", "Subtarget", ")", ",", "TLInfo", "(", "*", "this", ")", ",", "TSInfo", "(", "*", "this", ")", ",", "InstrItins", "(", "Subtarget", ".", "getInstrItineraryData", "(", ")", ")", "{"], "ground_truth": ["}"], "File": "SPUTargetMachine1", "Func": "SPUTargetMachine", "Target": "CellSPU", "Target_Clf": "MPU", "Compiler_Type": "LLVM", "Idx": 61665, "Length": 102, "Cover_Rate": 1.0} {"Template_token": ["", "TargetMachine", "::", "TargetMachine", "(", "const", "Target", "&", "T", ",", "StringRef", "TT", ",", "StringRef", "CPU", ",", "StringRef", "FS", ",", "Reloc", "::", "Model", "RM", ",", "CodeModel", "::", "Model", "CM", ",", "CodeGenOpt", "::", "Level", "OL", ")", ":", "LLVMTargetMachine", "(", "T", ",", "TT", ",", "CPU", ",", "FS", ",", "RM", ",", "CM", ",", "OL", ")", ",", "Subtarget", "(", "TT", ",", "CPU", ",", "FS", ")", ",", "DataLayout", "(", "Subtarget", ".", "getTargetDataString", "(", ")", ")", ",", "InstrInfo", "(", "*", "this", ")", ",", "FrameLowering", "(", "Subtarget", ")", ",", "TLInfo", "(", "*", "this", ")", ",", "TSInfo", "(", "*", "this", ")", ",", "InstrItins", "(", "Subtarget", ".", "getInstrItineraryData", "(", ")", ")", "{"], "ground_truth": ["}"], "File": "SPUTargetMachine1", "Func": "SPUTargetMachine", "Target": "CellSPU", "Target_Clf": "MPU", "Compiler_Type": "LLVM", "Idx": 61666, "Length": 102, "Cover_Rate": 1.0} {"Template_token": ["", "return", "&", "FrameInfo", ";"], "ground_truth": ["}"], "File": "SPUTargetMachine2", "Func": "getFrameInfo", "Target": "CellSPU", "Target_Clf": "MPU", "Compiler_Type": "LLVM", "Idx": 61667, "Length": 5, "Cover_Rate": 0.35714285714285715} {"Template_token": ["", "return", "&", "FrameInfo", ";"], "ground_truth": ["}"], "File": "SPUTargetMachine2", "Func": "getFrameInfo", "Target": "CellSPU", "Target_Clf": "MPU", "Compiler_Type": "LLVM", "Idx": 61668, "Length": 5, "Cover_Rate": 0.35714285714285715} {"Template_token": ["", "RegisterAsmInfo", "<", "LinuxTargetAsmInfo", ">", "Y", "(", "TheCellTarget", ")", ";"], "ground_truth": ["}"], "File": "SPUTargetMachine2", "Func": "LLVMInitializeCellSPUTarget", "Target": "CellSPU", "Target_Clf": "MPU", "Compiler_Type": "LLVM", "Idx": 61671, "Length": 10, "Cover_Rate": 0.4166666666666667} {"Template_token": ["", "TargetMachine", "::", "TargetMachine", "(", "const", "Target", "&", "T", ",", "StringRef", "TT", ",", "StringRef", "CPU", ",", "StringRef", "FS", ",", "const", "TargetOptions", "&", "Options", ",", "Reloc", "::", "Model", "RM", ",", "CodeModel", "::", "Model", "CM", ",", "CodeGenOpt", "::", "Level", "OL", ")", ":", "LLVMTargetMachine", "(", "T", ",", "TT", ",", "CPU", ",", "FS", ",", "Options", ",", "RM", ",", "CM", ",", "OL", ")", ",", "Subtarget", "(", "TT", ",", "CPU", ",", "FS", ")", ",", "DL", "(", "Subtarget", ".", "getDataLayoutString", "(", ")", ")", ",", "InstrInfo", "(", "*", "this", ")", ",", "FrameLowering", "(", "Subtarget", ")", ",", "TLInfo", "(", "*", "this", ")", ",", "TSInfo", "(", "*", "this", ")", ",", "InstrItins", "(", "Subtarget", ".", "getInstrItineraryData", "(", ")", ")", ",", "STTI", "(", "&", "TLInfo", ")", ",", "VTTI", "(", "&", "TLInfo", ")", "{"], "ground_truth": ["}"], "File": "SPUTargetMachine3", "Func": "SPUTargetMachine", "Target": "CellSPU", "Target_Clf": "MPU", "Compiler_Type": "LLVM", "Idx": 61675, "Length": 121, "Cover_Rate": 1.0} {"Template_token": ["", "TargetMachine", "::", "TargetMachine", "(", "const", "Target", "&", "T", ",", "StringRef", "TT", ",", "StringRef", "CPU", ",", "StringRef", "FS", ",", "const", "TargetOptions", "&", "Options", ",", "Reloc", "::", "Model", "RM", ",", "CodeModel", "::", "Model", "CM", ",", "CodeGenOpt", "::", "Level", "OL", ")", ":", "LLVMTargetMachine", "(", "T", ",", "TT", ",", "CPU", ",", "FS", ",", "Options", ",", "RM", ",", "CM", ",", "OL", ")", ",", "Subtarget", "(", "TT", ",", "CPU", ",", "FS", ")", ",", "DL", "(", "Subtarget", ".", "getDataLayoutString", "(", ")", ")", ",", "InstrInfo", "(", "*", "this", ")", ",", "FrameLowering", "(", "Subtarget", ")", ",", "TLInfo", "(", "*", "this", ")", ",", "TSInfo", "(", "*", "this", ")", ",", "InstrItins", "(", "Subtarget", ".", "getInstrItineraryData", "(", ")", ")", ",", "STTI", "(", "&", "TLInfo", ")", ",", "VTTI", "(", "&", "TLInfo", ")", "{"], "ground_truth": ["}"], "File": "SPUTargetMachine3", "Func": "SPUTargetMachine", "Target": "CellSPU", "Target_Clf": "MPU", "Compiler_Type": "LLVM", "Idx": 61676, "Length": 121, "Cover_Rate": 1.0} {"Template_token": ["", "PM", ".", "add", "(", "createAsmPrinterPass", "(", "Out", ",", "*", "this", ",", "OptLevel", ",", "Verbose", ")", ")", ";"], "ground_truth": ["return", "false", ";"], "File": "SPUTargetMachine5", "Func": "addAssemblyEmitter", "Target": "CellSPU", "Target_Clf": "MPU", "Compiler_Type": "LLVM", "Idx": 61679, "Length": 20, "Cover_Rate": 0.46511627906976744} {"Template_token": ["", "PM", ".", "add", "(", "createAsmPrinterPass", "(", "Out", ",", "*", "this", ",", "OptLevel", ",", "Verbose", ")", ")", ";"], "ground_truth": ["return", "false", ";"], "File": "SPUTargetMachine5", "Func": "addAssemblyEmitter", "Target": "CellSPU", "Target_Clf": "MPU", "Compiler_Type": "LLVM", "Idx": 61680, "Length": 20, "Cover_Rate": 0.46511627906976744} {"Template_token": ["", "PM", ".", "add", "(", "createNopFillerPass", "(", "*", "this", ")", ")", ";", "return", "true", ";"], "ground_truth": ["}"], "File": "SPUTargetMachine6", "Func": "addPreEmitPass", "Target": "CellSPU", "Target_Clf": "MPU", "Compiler_Type": "LLVM", "Idx": 61681, "Length": 15, "Cover_Rate": 0.5} {"Template_token": ["", "return", "&", "DL", ";"], "ground_truth": ["}"], "File": "SPUTargetMachine6", "Func": "getDataLayout", "Target": "CellSPU", "Target_Clf": "MPU", "Compiler_Type": "LLVM", "Idx": 61684, "Length": 5, "Cover_Rate": 0.35714285714285715} {"Template_token": ["", "return", "&", "STTI", ";"], "ground_truth": ["}"], "File": "SPUTargetMachine6", "Func": "getScalarTargetTransformInfo", "Target": "CellSPU", "Target_Clf": "MPU", "Compiler_Type": "LLVM", "Idx": 61685, "Length": 5, "Cover_Rate": 0.35714285714285715} {"Template_token": ["", "return", "&", "STTI", ";"], "ground_truth": ["}"], "File": "SPUTargetMachine6", "Func": "getScalarTargetTransformInfo", "Target": "CellSPU", "Target_Clf": "MPU", "Compiler_Type": "LLVM", "Idx": 61686, "Length": 5, "Cover_Rate": 0.35714285714285715} {"Template_token": ["", "virtual", "const", "VectorTargetTransformInfo", "*", "getVectorTargetTransformInfo", "(", ")", "const", "{"], "ground_truth": ["return", "&", "VTTI", ";"], "File": "SPUTargetMachine6", "Func": "getVectorTargetTransformInfo", "Target": "CellSPU", "Target_Clf": "MPU", "Compiler_Type": "LLVM", "Idx": 61687, "Length": 13, "Cover_Rate": 0.9285714285714286} {"Template_token": ["", "return", "&", "VTTI", ";"], "ground_truth": ["}"], "File": "SPUTargetMachine6", "Func": "getVectorTargetTransformInfo", "Target": "CellSPU", "Target_Clf": "MPU", "Compiler_Type": "LLVM", "Idx": 61688, "Length": 5, "Cover_Rate": 0.35714285714285715} {"Template_token": ["", "TargetMachine", "::", "TargetMachine", "(", "const", "Target", "&", "T", ",", "const", "std", "::", "string", "&", "TT", ",", "const", "std", "::", "string", "&", "FS", ")", ":", "LLVMTargetMachine", "(", "T", ",", "TT", ")", ",", "Subtarget", "(", "TT", ",", "FS", ")", ",", "DataLayout", "(", "Subtarget", ".", "getTargetDataString", "(", ")", ")", ",", "InstrInfo", "(", "*", "this", ")", ",", "FrameLowering", "(", "Subtarget", ")", ",", "TLInfo", "(", "*", "this", ")", ",", "TSInfo", "(", "*", "this", ")", ",", "InstrItins", "(", "Subtarget", ".", "getInstrItineraryData", "(", ")", ")", "{"], "ground_truth": ["setRelocationModel", "(", "Reloc", "::", "Static", ")", ";"], "File": "SPUTargetMachine6", "Func": "SPUTargetMachine", "Target": "CellSPU", "Target_Clf": "MPU", "Compiler_Type": "LLVM", "Idx": 61689, "Length": 86, "Cover_Rate": 0.9885057471264368} {"Template_token": ["", "bool", "PassConfig", "::", "addInstSelector", "(", ")", "{", "PM", "->", "add", "(", "createISelDag", "(", "getTargetMachine", "(", ")", ")", ")", ";"], "ground_truth": ["return", "false", ";"], "File": "SPUTargetMachine9", "Func": "addInstSelector", "Target": "CellSPU", "Target_Clf": "MPU", "Compiler_Type": "LLVM", "Idx": 61690, "Length": 22, "Cover_Rate": 0.9565217391304348} {"Template_token": ["", "bool", "PassConfig", "::", "addInstSelector", "(", ")", "{", "PM", "->", "add", "(", "createISelDag", "(", "getTargetMachine", "(", ")", ")", ")", ";", "return", "false", ";"], "ground_truth": ["}"], "File": "SPUTargetMachine9", "Func": "addInstSelector", "Target": "CellSPU", "Target_Clf": "MPU", "Compiler_Type": "LLVM", "Idx": 61691, "Length": 23, "Cover_Rate": 1.0} {"Template_token": ["", "bool", "PassConfig", "::", "addPreEmitPass", "(", ")", "{", "typedef", "llvm", "::", "FunctionPass", "*", "(", "*", "BuilderFunc", ")", "(", "const", "char", "*", ")", ";", "BuilderFunc", "schedulerCreator", "=", "(", "BuilderFunc", ")", "(", "intptr_t", ")", "sys", "::", "DynamicLibrary", "::", "SearchForAddressOfSymbol", "(", "", ")", ";", "if", "(", "schedulerCreator", "!=", "NULL", ")", "PM", "->", "add", "(", "schedulerCreator", "(", "", ")", ")", ";", "PM", "->", "add", "(", "createNopFillerPass", "(", "getTargetMachine", "(", ")", ")", ")", ";", "return", "true", ";"], "ground_truth": ["}"], "File": "SPUTargetMachine9", "Func": "addPreEmitPass", "Target": "CellSPU", "Target_Clf": "MPU", "Compiler_Type": "LLVM", "Idx": 61692, "Length": 72, "Cover_Rate": 1.0} {"Template_token": ["", "bool", "TargetMachine", "::", "addInstSelector", "(", "PassManagerBase", "&", "PM", ",", "CodeGenOpt", "::", "Level", "OptLevel", ")", "{", "PM", ".", "add", "(", "createISelDag", "(", "*", "this", ")", ")", ";"], "ground_truth": ["return", "false", ";"], "File": "SPUTargetMachine", "Func": "addInstSelector", "Target": "CellSPU", "Target_Clf": "MPU", "Compiler_Type": "LLVM", "Idx": 61694, "Length": 29, "Cover_Rate": 0.9666666666666667} {"Template_token": ["", "const", "std", "::", "pair", "<", "unsigned", ",", "int", ">", "*", "FrameInfo", "::", "getCalleeSaveSpillSlots", "(", "unsigned", "&", "NumEntries", ")", "const", "{", "NumEntries", "=", "", ";"], "ground_truth": ["return", "&", "LR", "[", "", "]", ";"], "File": "SPUTargetMachine", "Func": "getCalleeSaveSpillSlots", "Target": "CellSPU", "Target_Clf": "MPU", "Compiler_Type": "LLVM", "Idx": 61695, "Length": 31, "Cover_Rate": 0.96875}