{"Template_token": ["", "if", "(", "ExtraCode", "&&", "ExtraCode", "[", "", "]", ")", "return", "true", ";", "O", "<<", "", ";", "printOperand", "(", "MI", ",", "OpNo", ")", ";", "O", "<<", "", ";", "return", "false"], "ground_truth": [";"], "File": "AlphaAsmPrinter1", "Func": "PrintAsmMemoryOperand", "Target": "Alpha", "Target_Clf": "MPU", "Compiler_Type": "LLVM", "Idx": 112790, "Length": 30, "Cover_Rate": 0.5660377358490566} {"Template_token": ["", "O", "<<", "RI", ".", "get", "(", "MO", ".", "getReg", "(", ")", ")", ".", "AsmName", ";", "return", ";", "case", "MachineOperand", "::", "MO_Immediate", ":", "llvm_unreachable", "(", "", ")", ";", "return", ";", "case", "MachineOperand", "::", "MO_MachineBasicBlock", ":", "printBasicBlockLabel", "(", "MO", ".", "getMBB", "(", ")", ")", ";", "return", ";", "case", "MachineOperand", "::", "MO_ConstantPoolIndex", ":", "O", "<<", "TAI", "->", "getPrivateGlobalPrefix", "(", ")", "<<", "", "<<", "getFunctionNumber", "(", ")", "<<", "", "<<", "MO", ".", "getIndex", "(", ")", ";", "return", ";", "case", "MachineOperand", "::", "MO_ExternalSymbol", ":", "O", "<<", "MO", ".", "getSymbolName", "(", ")", ";", "return", ";", "case", "MachineOperand", "::", "MO_GlobalAddress", ":", "O", "<<", "Mang", "->", "getMangledName", "(", "MO", ".", "getGlobal", "(", ")", ")", ";", "return", ";", "case", "MachineOperand", "::", "MO_JumpTableIndex", ":", "O", "<<", "TAI", "->", "getPrivateGlobalPrefix", "(", ")", "<<", "", "<<", "getFunctionNumber", "(", ")", "<<", "'_'", "<<", "MO", ".", "getIndex", "(", ")", ";", "return", ";", "default", ":", "O", "<<", "", "<<", "MO", ".", "getType", "(", ")"], "ground_truth": ["<<", "", ";"], "File": "AlphaAsmPrinter1", "Func": "printOp", "Target": "Alpha", "Target_Clf": "MPU", "Compiler_Type": "LLVM", "Idx": 112791, "Length": 152, "Cover_Rate": 0.7755102040816326} {"Template_token": ["", "return", ";", "case", "MachineOperand", "::", "MO_MachineBasicBlock", ":", "printBasicBlockLabel", "(", "MO", ".", "getMBB", "(", ")", ")", ";", "return", ";", "case", "MachineOperand", "::", "MO_ConstantPoolIndex", ":", "O", "<<", "TAI", "->", "getPrivateGlobalPrefix", "(", ")", "<<", "", "<<", "getFunctionNumber", "(", ")", "<<", "", "<<", "MO", ".", "getIndex", "(", ")", ";", "return", ";", "case", "MachineOperand", "::", "MO_ExternalSymbol", ":", "O", "<<", "MO", ".", "getSymbolName", "(", ")", ";", "return", ";", "case", "MachineOperand", "::", "MO_GlobalAddress", ":", "O", "<<", "Mang", "->", "getMangledName", "(", "MO", ".", "getGlobal", "(", ")", ")", ";", "return", ";", "case", "MachineOperand", "::", "MO_JumpTableIndex", ":", "O", "<<", "TAI", "->", "getPrivateGlobalPrefix", "(", ")", "<<", "", "<<", "getFunctionNumber", "(", ")", "<<", "'_'", "<<", "MO", ".", "getIndex", "(", ")", ";", "return", ";", "default", ":", "O", "<<", "", "<<", "MO", ".", "getType", "(", ")", "<<"], "ground_truth": ["", ";"], "File": "AlphaAsmPrinter1", "Func": "printOp", "Target": "Alpha", "Target_Clf": "MPU", "Compiler_Type": "LLVM", "Idx": 112792, "Length": 125, "Cover_Rate": 0.6377551020408163} {"Template_token": ["", "if", "(", "MO", ".", "getType", "(", ")", "==", "MachineOperand", "::", "MO_Register", ")", "{", "assert", "(", "TargetRegisterInfo", "::", "isPhysicalRegister", "(", "MO", ".", "getReg", "(", ")", ")", "&&", "", ")", ";", "O", "<<", "TM", ".", "getRegisterInfo", "(", ")", "->", "get", "(", "MO", ".", "getReg", "(", ")", ")", ".", "AsmName", ";", "}", "else", "if", "(", "MO", ".", "isImm", "(", ")", ")", "{", "O", "<<", "MO", ".", "getImm", "(", ")", ";", "assert", "(", "MO", ".", "getImm", "(", ")", "<", "(", "", "<<", "", ")", ")", ";", "}", "else"], "ground_truth": ["{"], "File": "AlphaAsmPrinter1", "Func": "printOperand", "Target": "Alpha", "Target_Clf": "MPU", "Compiler_Type": "LLVM", "Idx": 112793, "Length": 85, "Cover_Rate": 0.7203389830508474} {"Template_token": ["", "assert", "(", "TargetRegisterInfo", "::", "isPhysicalRegister", "(", "MO", ".", "getReg", "(", ")", ")", "&&", "", ")", ";", "O", "<<", "getRegisterName", "(", "MO", ".", "getReg", "(", ")", ")", ";", "}", "else", "if", "(", "MO", ".", "isImm", "(", ")", ")", "{", "O", "<<", "MO", ".", "getImm", "(", ")", ";", "assert", "(", "MO", ".", "getImm", "(", ")", "<", "(", "", "<<", "", ")", ")", ";", "}", "else"], "ground_truth": ["{"], "File": "AlphaAsmPrinter2", "Func": "printOperand", "Target": "Alpha", "Target_Clf": "MPU", "Compiler_Type": "LLVM", "Idx": 112794, "Length": 64, "Cover_Rate": 0.5714285714285714} {"Template_token": ["", "FunctionPass", "*", "llvm", "::", "createCodePrinterPass", "(", "raw_ostream", "&", "o", ",", "TargetMachine", "&"], "ground_truth": ["tm", ",", "CodeGenOpt", "::", "Level", "OptLevel", ",", "bool", "verbose", ")", "{"], "File": "AlphaAsmPrinter3", "Func": "createAlphaCodePrinterPass", "Target": "Alpha", "Target_Clf": "MPU", "Compiler_Type": "LLVM", "Idx": 112795, "Length": 23, "Cover_Rate": 0.5348837209302325} {"Template_token": ["", "bool", "AsmPrinter", "::", "doFinalization", "(", "Module", "&", "M", ")", "{", "for", "(", "Module", "::", "const_global_iterator", "I", "=", "M", ".", "global_begin", "(", ")", ",", "E"], "ground_truth": ["=", "M", ".", "global_end", "(", ")", ";"], "File": "AlphaAsmPrinter3", "Func": "doFinalization", "Target": "Alpha", "Target_Clf": "MPU", "Compiler_Type": "LLVM", "Idx": 112796, "Length": 31, "Cover_Rate": 0.5961538461538461} {"Template_token": ["", "for", "(", "Module", "::", "const_global_iterator", "I", "=", "M", ".", "global_begin", "(", ")", ",", "E", "=", "M", ".", "global_end", "(", ")", ";", "I", "!=", "E", ";", "++", "I", ")", "printModuleLevelGV"], "ground_truth": ["(", "I", ")", ";"], "File": "AlphaAsmPrinter3", "Func": "doFinalization", "Target": "Alpha", "Target_Clf": "MPU", "Compiler_Type": "LLVM", "Idx": 112797, "Length": 33, "Cover_Rate": 0.6346153846153846} {"Template_token": ["", "O", "<<", "TAI", "->", "getWeakRefDirective", "(", ")", "<<", "CurrentFnName", "<<", "", ";", "break", ";", "}", "printVisibility", "(", "CurrentFnName", ",", "F", "->", "getVisibility", "(", ")", ")", ";", "O", "<<", "", "<<", "CurrentFnName", "<<", "", ";", "O", "<<", "CurrentFnName", "<<", "", ";", "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", ")", "{", "++", "EmittedInsts", ";", "if", "(", "!", "printInstruction", "(", "II", ")", ")", "{", "assert", "(", "", "&&", "", ")", ";", "abort", "(", ")"], "ground_truth": [";"], "File": "AlphaAsmPrinter3", "Func": "runOnMachineFunction", "Target": "Alpha", "Target_Clf": "MPU", "Compiler_Type": "LLVM", "Idx": 112798, "Length": 146, "Cover_Rate": 0.4866666666666667} {"Template_token": ["", "O", "<<", "", "<<", "*", "CurrentFnSym", "<<", ""], "ground_truth": [";"], "File": "AlphaAsmPrinter4", "Func": "EmitFunctionBodyEnd", "Target": "Alpha", "Target_Clf": "MPU", "Compiler_Type": "LLVM", "Idx": 112799, "Length": 9, "Cover_Rate": 0.5294117647058824} {"Template_token": ["", "void", "AsmPrinter", "::", "EmitFunctionBodyStart", "(", ")", "{", "O", "<<", "", "<<", "*", "CurrentFnSym", "<<"], "ground_truth": ["", ";"], "File": "AlphaAsmPrinter4", "Func": "EmitFunctionBodyStart", "Target": "Alpha", "Target_Clf": "MPU", "Compiler_Type": "LLVM", "Idx": 112800, "Length": 16, "Cover_Rate": 0.9411764705882353} {"Template_token": ["", "void", "AsmPrinter", "::", "EmitStartOfAsmFile", "(", "Module", "&", "M", ")", "{", "if", "(", "TM", ".", "getSubtarget", "<", "Subtarget", ">", "(", ")", ".", "hasCT", "(", ")", ")", "O", "<<", "", ";", "else", "O", "<<"], "ground_truth": ["", ";"], "File": "AlphaAsmPrinter4", "Func": "EmitStartOfAsmFile", "Target": "Alpha", "Target_Clf": "MPU", "Compiler_Type": "LLVM", "Idx": 112801, "Length": 34, "Cover_Rate": 0.8717948717948718} {"Template_token": ["", "void", "AsmPrinter", "::", "printOperand", "(", "const", "MachineInstr", "*", "MI", ",", "int", "opNum", ")", "{", "const", "MachineOperand", "&", "MO", "=", "MI", "->", "getOperand", "(", "opNum", ")", ";", "if", "(", "MO", ".", "getType", "(", ")", "==", "MachineOperand"], "ground_truth": ["::", "MO_Register", ")", "{"], "File": "AlphaAsmPrinter4", "Func": "printOperand", "Target": "Alpha", "Target_Clf": "MPU", "Compiler_Type": "LLVM", "Idx": 112802, "Length": 39, "Cover_Rate": 0.35454545454545455} {"Template_token": ["", "const", "MachineOperand", "&", "MO", "=", "MI", "->", "getOperand", "(", "opNum", ")", ";", "if", "(", "MO", ".", "getType", "(", ")", "==", "MachineOperand", "::", "MO_Register", ")", "{", "assert", "(", "TargetRegisterInfo", "::", "isPhysicalRegister", "(", "MO", ".", "getReg", "(", ")", ")", "&&", "", ")", ";", "O", "<<", "getRegisterName", "(", "MO", ".", "getReg", "(", ")", ")", ";", "}", "else", "if", "(", "MO", ".", "isImm"], "ground_truth": ["(", ")", ")", "{"], "File": "AlphaAsmPrinter4", "Func": "printOperand", "Target": "Alpha", "Target_Clf": "MPU", "Compiler_Type": "LLVM", "Idx": 112803, "Length": 63, "Cover_Rate": 0.5727272727272728} {"Template_token": ["", "return", "new", "AsmPrinter", "(", "o", ",", "tm", ",", "tm", ".", "getTargetAsmInfo", "("], "ground_truth": [")", ",", "fast", ")", ";"], "File": "AlphaAsmPrinter5", "Func": "createAlphaCodePrinterPass", "Target": "Alpha", "Target_Clf": "MPU", "Compiler_Type": "LLVM", "Idx": 112804, "Length": 17, "Cover_Rate": 0.4722222222222222} {"Template_token": ["", "const", "TargetData", "*", "TD", "=", "TM", ".", "getTargetData", "(", ")", ";", "if", "(", "!", "GVar", "->", "hasInitializer", "(", ")", ")", "return", ";", "if", "(", "EmitSpecialLLVMGlobal", "(", "GVar", ")", ")", "return", ";", "std", "::", "string", "name", "=", "Mang", "->", "getValueName", "(", "GVar", ")", ";", "Constant", "*", "C", "=", "GVar", "->", "getInitializer", "(", ")", ";", "unsigned", "Size", "=", "TD", "->", "getTypePaddedSize", "(", "C", "->", "getType", "(", ")", ")", ";", "unsigned", "Align", "=", "TD", "->", "getPreferredAlignmentLog", "(", "GVar", ")", ";", "SwitchToSection", "(", "TAI", "->", "SectionForGlobal", "(", "GVar", ")", ")", ";", "printVisibility", "(", "name", ",", "GVar", "->", "getVisibility", "("], "ground_truth": [")", ")", ";"], "File": "AlphaAsmPrinter5", "Func": "printModuleLevelGV", "Target": "Alpha", "Target_Clf": "MPU", "Compiler_Type": "LLVM", "Idx": 112805, "Length": 98, "Cover_Rate": 0.3333333333333333} {"Template_token": ["", "const", "TargetData", "*", "TD", "=", "TM", ".", "getTargetData", "(", ")", ";", "if", "(", "!", "GVar", "->", "hasInitializer", "(", ")", ")", "return", ";", "if", "(", "EmitSpecialLLVMGlobal", "(", "GVar", ")", ")", "return", ";", "std", "::", "string", "name", "=", "Mang", "->", "getValueName", "(", "GVar", ")", ";", "Constant", "*", "C", "=", "GVar", "->", "getInitializer", "(", ")", ";", "unsigned", "Size", "=", "TD", "->", "getTypePaddedSize", "(", "C", "->", "getType", "(", ")", ")", ";", "unsigned", "Align", "=", "TD", "->", "getPreferredAlignmentLog", "(", "GVar", ")", ";", "SwitchToSection", "(", "TAI", "->", "SectionForGlobal", "(", "GVar", ")", ")", ";", "printVisibility", "(", "name", ",", "GVar", "->", "getVisibility", "(", ")", ")", ";", "switch", "(", "GVar", "->", "getLinkage", "(", ")", ")", "{", "case", "GlobalValue", "::", "LinkOnceAnyLinkage", ":", "case", "GlobalValue", "::", "LinkOnceODRLinkage", ":", "case", "GlobalValue", "::", "WeakAnyLinkage", ":", "case", "GlobalValue", "::", "WeakODRLinkage"], "ground_truth": [":"], "File": "AlphaAsmPrinter5", "Func": "printModuleLevelGV", "Target": "Alpha", "Target_Clf": "MPU", "Compiler_Type": "LLVM", "Idx": 112806, "Length": 127, "Cover_Rate": 0.43197278911564624} {"Template_token": ["", "O", "<<", "getRegisterName", "(", "MO", ".", "getReg", "(", ")", ")", ";", "return", ";", "case", "MachineOperand", "::", "MO_Immediate", ":", "assert", "(", "", "&&", "", ")", ";", "return", ";", "case", "MachineOperand", "::", "MO_MachineBasicBlock", ":", "O", "<<", "*", "MO", ".", "getMBB", "(", ")", "->", "getSymbol", "(", ")", ";", "return", ";", "case", "MachineOperand", "::", "MO_ConstantPoolIndex", ":", "O", "<<", "MAI", "->", "getPrivateGlobalPrefix", "(", ")", "<<", "", "<<", "getFunctionNumber", "(", ")", "<<", "", "<<", "MO", ".", "getIndex", "(", ")", ";", "return", ";", "case", "MachineOperand", "::", "MO_ExternalSymbol", ":", "O", "<<", "MO", ".", "getSymbolName", "(", ")", ";", "return", ";", "case", "MachineOperand", "::"], "ground_truth": ["MO_GlobalAddress", ":"], "File": "AlphaAsmPrinter8", "Func": "printOp", "Target": "Alpha", "Target_Clf": "MPU", "Compiler_Type": "LLVM", "Idx": 112807, "Length": 96, "Cover_Rate": 0.5106382978723404} {"Template_token": ["", "void", "AsmPrinter", "::", "EmitFunctionBodyEnd", "(", ")", "{", "OutStreamer", ".", "EmitRawText", "(", "", "+", "Twine", "(", "CurrentFnSym", "->", "getName", "("], "ground_truth": [")", ")", ")", ";"], "File": "AlphaAsmPrinter", "Func": "EmitFunctionBodyEnd", "Target": "Alpha", "Target_Clf": "MPU", "Compiler_Type": "LLVM", "Idx": 112808, "Length": 23, "Cover_Rate": 0.9583333333333334} {"Template_token": ["", "void", "AsmPrinter", "::", "EmitFunctionBodyEnd", "(", ")", "{", "OutStreamer", ".", "EmitRawText", "(", "", "+", "Twine", "(", "CurrentFnSym", "->"], "ground_truth": ["getName", "(", ")", ")", ")", ";"], "File": "AlphaAsmPrinter", "Func": "EmitFunctionBodyEnd", "Target": "Alpha", "Target_Clf": "MPU", "Compiler_Type": "LLVM", "Idx": 112809, "Length": 23, "Cover_Rate": 0.9583333333333334} {"Template_token": ["", "raw_svector_ostream", "OS", "(", "Str", ")", ";", "printInstruction", "(", "MI", ",", "OS", ")", ";", "OutStreamer", ".", "EmitRawText", "(", "OS"], "ground_truth": [".", "str", "(", ")", ")", ";"], "File": "AlphaAsmPrinter", "Func": "EmitInstruction", "Target": "Alpha", "Target_Clf": "MPU", "Compiler_Type": "LLVM", "Idx": 112810, "Length": 24, "Cover_Rate": 0.6} {"Template_token": ["", "void", "AsmPrinter", "::", "EmitStartOfAsmFile", "(", "Module", "&", "M", ")", "{", "OutStreamer", ".", "EmitRawText", "(", "StringRef", "(", "", ")"], "ground_truth": [")", ";"], "File": "AlphaAsmPrinter", "Func": "EmitStartOfAsmFile", "Target": "Alpha", "Target_Clf": "MPU", "Compiler_Type": "LLVM", "Idx": 112811, "Length": 20, "Cover_Rate": 0.6451612903225806} {"Template_token": ["", "virtual", "const", "char", "*", "getPassName", "(", ")", "const", "{", "return"], "ground_truth": ["", ";"], "File": "AlphaAsmPrinter", "Func": "getPassName", "Target": "Alpha", "Target_Clf": "MPU", "Compiler_Type": "LLVM", "Idx": 112812, "Length": 12, "Cover_Rate": 0.9230769230769231} {"Template_token": ["", "if", "(", "ExtraCode", "&&", "ExtraCode", "[", "", "]", ")", "return", "true", ";", "O", "<<", "", ";", "printOperand", "(", "MI", ",", "OpNo", ",", "O", ")", ";", "O", "<<"], "ground_truth": ["", ";"], "File": "AlphaAsmPrinter", "Func": "PrintAsmMemoryOperand", "Target": "Alpha", "Target_Clf": "MPU", "Compiler_Type": "LLVM", "Idx": 112813, "Length": 29, "Cover_Rate": 0.4915254237288136} {"Template_token": ["", "if", "(", "ExtraCode", "&&", "ExtraCode", "[", "", "]", ")", "return", "true", ";", "O", "<<", "", ";", "printOperand", "(", "MI", ",", "OpNo", ",", "O", ")", ";", "O", "<<", ""], "ground_truth": [";"], "File": "AlphaAsmPrinter", "Func": "PrintAsmMemoryOperand", "Target": "Alpha", "Target_Clf": "MPU", "Compiler_Type": "LLVM", "Idx": 112814, "Length": 29, "Cover_Rate": 0.4915254237288136} {"Template_token": ["", "return", "new", "BSel"], "ground_truth": ["(", ")", ";"], "File": "AlphaBranchSelector", "Func": "createAlphaBranchSelectionPass", "Target": "Alpha", "Target_Clf": "MPU", "Compiler_Type": "LLVM", "Idx": 112815, "Length": 6, "Cover_Rate": 0.4} {"Template_token": ["", "virtual", "const", "char", "*", "getPassName", "("], "ground_truth": [")", "const", "{"], "File": "AlphaBranchSelector", "Func": "getPassName", "Target": "Alpha", "Target_Clf": "MPU", "Compiler_Type": "LLVM", "Idx": 112816, "Length": 9, "Cover_Rate": 0.6923076923076923} {"Template_token": ["", "for", "(", "MachineFunction", "::", "iterator", "MFI", "=", "Fn", ".", "begin", "(", ")", ",", "E", "=", "Fn", ".", "end", "(", ")", ";", "MFI", "!=", "E", ";", "++", "MFI", ")", "{", "MachineBasicBlock", "*", "MBB", "=", "MFI", ";", "for", "(", "MachineBasicBlock", "::", "iterator", "MBBI", "=", "MBB", "->", "begin", "(", ")", ",", "EE", "=", "MBB", "->", "end", "(", ")", ";", "MBBI", "!=", "EE", ";"], "ground_truth": ["++", "MBBI", ")", "{"], "File": "AlphaBranchSelector", "Func": "runOnMachineFunction", "Target": "Alpha", "Target_Clf": "MPU", "Compiler_Type": "LLVM", "Idx": 112817, "Length": 64, "Cover_Rate": 0.45714285714285713} {"Template_token": ["", "return", "new", "Emitter", "<", "MachineCodeEmitter", ">", "(", "TM"], "ground_truth": [",", "MCE", ")", ";"], "File": "AlphaCodeEmitter2", "Func": "createAlphaCodeEmitterPass", "Target": "Alpha", "Target_Clf": "MPU", "Compiler_Type": "LLVM", "Idx": 112818, "Length": 12, "Cover_Rate": 0.42857142857142855} {"Template_token": ["", "return", "new", "Emitter", "<", "JITCodeEmitter", ">", "("], "ground_truth": ["TM", ",", "JCE", ")", ";"], "File": "AlphaCodeEmitter2", "Func": "createAlphaJITCodeEmitterPass", "Target": "Alpha", "Target_Clf": "MPU", "Compiler_Type": "LLVM", "Idx": 112819, "Length": 12, "Cover_Rate": 0.42857142857142855} {"Template_token": ["", "switch", "(", "Reg", ")", "{", "case", "", ":", "case", "", ":", "return", "", ";", "case", "", ":", "case", "", ":", "return", "", ";", "case", "", ":", "case", "", ":", "return", "", ";", "case", "", ":", "case", "", ":", "return", "", ";", "case", "", ":", "case", "", ":", "return", "", ";", "case", "", ":", "case", "", ":", "return", "", ";", "case", "", ":", "case", "", ":", "return", "", ";", "case", "", ":", "case", "", ":", "return", "", ";", "case", "", ":", "case", "", ":", "return", "", ";", "case", "", ":", "case", "", ":", "return", "", ";", "case", "", ":", "case", "", ":", "return", "", ";", "case", "", ":", "case", "", ":", "return", "", ";", "case", "", ":", "case", "", ":", "return", "", ";", "case", "", ":", "case", "", ":", "return", "", ";", "case", "", ":", "case", "", ":", "return", "", ";", "case", "", ":", "case", "", ":", "return", "", ";", "case", "", ":", "case", "", ":", "return", "", ";", "case", "", ":", "case", "", ":", "return", "", ";", "case", "", ":", "case", "", ":", "return", "", ";", "case", "", ":", "case", "", ":", "return", "", ";", "case", "", ":", "case", "", ":", "return", "", ";", "case", "", ":", "case", "", ":", "return", "", ";", "case", "", ":", "case", "", ":", "return", "", ";", "case", "", ":", "case", "", ":", "return", "", ";", "case", "", ":", "case", "", ":", "return", "", ";", "case", "", ":", "case", "", ":", "return", "", ";", "case", "", ":", "case", "", ":", "return", "", ";", "case", "", ":", "case", "", ":", "return", "", ";", "case", "", ":", "case", "", ":", "return"], "ground_truth": ["", ";"], "File": "AlphaCodeEmitter2", "Func": "getAlphaRegNumber", "Target": "Alpha", "Target_Clf": "MPU", "Compiler_Type": "LLVM", "Idx": 112820, "Length": 266, "Cover_Rate": 0.5990990990990991} {"Template_token": ["", "case", "", ":", "Reloc", "=", "", ";", "useGOT", "=", "true", ";", "break", ";", "case", "", ":", "case", "", ":", "Reloc", "=", "", ";", "Offset", "=", "MI", ".", "getOperand", "(", "", ")", ".", "getImm", "(", ")", ";", "break", ";", "default", ":", "assert", "(", "", "&&", "", ")", ";", "abort", "(", ")", ";", "}", "if", "(", "MO", ".", "isGlobal", "(", ")", ")", "MCE", ".", "addRelocation", "(", "MachineRelocation", "::", "getGV", "(", "MCE", ".", "getCurrentPCOffset", "(", ")", ",", "Reloc", ",", "MO", ".", "getGlobal", "(", ")", ",", "Offset", ",", "isa", "<", "Function", ">", "(", "MO", ".", "getGlobal", "(", ")", ")", ",", "useGOT", ")", ")", ";", "else", "if", "(", "MO", ".", "isSymbol", "(", ")", ")", "MCE", ".", "addRelocation", "(", "MachineRelocation", "::", "getExtSym", "(", "MCE", ".", "getCurrentPCOffset", "(", ")", ",", "Reloc", ",", "MO", ".", "getSymbolName", "(", ")", ",", "Offset", ",", "true", ")", ")", ";", "else", "MCE", ".", "addRelocation", "(", "MachineRelocation", "::", "getConstPool", "(", "MCE", ".", "getCurrentPCOffset", "(", ")"], "ground_truth": [",", "Reloc", ",", "MO", ".", "getIndex", "(", ")", ",", "Offset", ")", ")", ";"], "File": "AlphaCodeEmitter2", "Func": "getMachineOpValue", "Target": "Alpha", "Target_Clf": "MPU", "Compiler_Type": "LLVM", "Idx": 112821, "Length": 164, "Cover_Rate": 0.3668903803131991} {"Template_token": ["", "do", "{", "MCE", ".", "startFunction", "(", "MF", ")", ";", "for", "(", "MachineFunction", "::", "iterator", "I", "=", "MF", ".", "begin", "(", ")", ",", "E", "=", "MF", ".", "end", "(", ")", ";", "I", "!=", "E", ";", "++", "I", ")", "emitBasicBlock", "(", "*", "I", ")", ";", "}", "while", "(", "MCE", ".", "finishFunction", "(", "MF", ")", ")", ";", "return"], "ground_truth": ["false", ";"], "File": "AlphaCodeEmitter2", "Func": "runOnMachineFunction", "Target": "Alpha", "Target_Clf": "MPU", "Compiler_Type": "LLVM", "Idx": 112822, "Length": 57, "Cover_Rate": 0.6404494382022472} {"Template_token": ["", "FunctionPass", "*", "llvm", "::", "createObjectCodeEmitterPass", "(", "TargetMachine", "&", "TM", ",", "ObjectCodeEmitter", "&", "OCE", ")", "{", "return", "new", "Emitter", "<", "ObjectCodeEmitter", ">", "(", "TM"], "ground_truth": [",", "OCE", ")", ";"], "File": "AlphaCodeEmitter3", "Func": "createAlphaObjectCodeEmitterPass", "Target": "Alpha", "Target_Clf": "MPU", "Compiler_Type": "LLVM", "Idx": 112823, "Length": 27, "Cover_Rate": 0.9642857142857143} {"Template_token": ["", "return", "new", "Emitter", "<", "ObjectCodeEmitter", ">", "(", "TM"], "ground_truth": [",", "OCE", ")", ";"], "File": "AlphaCodeEmitter3", "Func": "createAlphaObjectCodeEmitterPass", "Target": "Alpha", "Target_Clf": "MPU", "Compiler_Type": "LLVM", "Idx": 112824, "Length": 12, "Cover_Rate": 0.42857142857142855} {"Template_token": ["", "void", "Emitter", "<", "CodeEmitter", ">", "::", "emitBasicBlock", "(", "MachineBasicBlock", "&", "MBB", ")", "{", "MCE", ".", "StartMachineBasicBlock", "(", "&", "MBB", ")", ";", "for", "(", "MachineBasicBlock", "::", "iterator", "I", "=", "MBB", ".", "begin", "(", ")", ",", "E", "=", "MBB", ".", "end", "(", ")", ";", "I", "!=", "E", ";", "++", "I", ")", "{", "const", "MachineInstr", "&", "MI", "=", "*", "I", ";", "MCE", ".", "processDebugLoc", "(", "MI", ".", "getDebugLoc", "(", ")", ")", ";", "switch", "(", "MI", ".", "getOpcode", "(", ")", ")", "{", "default", ":", "MCE", ".", "emitWordLE", "(", "getBinaryCodeForInstr", "(", "*", "I", ")", ")", ";", "break", ";", "case"], "ground_truth": ["", ":"], "File": "AlphaCodeEmitter3", "Func": "emitBasicBlock", "Target": "Alpha", "Target_Clf": "MPU", "Compiler_Type": "LLVM", "Idx": 112825, "Length": 96, "Cover_Rate": 0.8135593220338984} {"Template_token": ["", "case", "", ":", "case", "", ":", "case", "", ":", "case", "", ":", "case", "", ":", "case", "", ":", "Reloc", "=", "", ";", "break", ";", "case", "", ":", "Reloc", "=", "", ";", "break", ";", "case", "", ":", "Reloc", "=", "", ";", "useGOT", "=", "true", ";", "break", ";", "case", "", ":", "case", "", ":", "Reloc", "=", "", ";", "Offset", "=", "MI", ".", "getOperand", "(", "", ")", ".", "getImm", "(", ")", ";", "break", ";", "default", ":", "llvm_unreachable", "(", "", ")", ";", "}", "if", "(", "MO", ".", "isGlobal", "(", ")", ")", "MCE", ".", "addRelocation", "(", "MachineRelocation", "::", "getGV", "(", "MCE", ".", "getCurrentPCOffset", "(", ")", ",", "Reloc", ",", "MO", ".", "getGlobal", "(", ")", ",", "Offset", ",", "isa", "<", "Function", ">", "(", "MO", ".", "getGlobal", "(", ")", ")", ",", "useGOT", ")", ")", ";", "else", "if", "(", "MO", ".", "isSymbol", "(", ")", ")", "MCE", ".", "addRelocation", "(", "MachineRelocation", "::", "getExtSym", "(", "MCE", ".", "getCurrentPCOffset", "(", ")", ",", "Reloc", ",", "MO", ".", "getSymbolName", "(", ")", ",", "Offset", ",", "true", ")", ")", ";", "else", "MCE", ".", "addRelocation", "(", "MachineRelocation", "::", "getConstPool", "(", "MCE", ".", "getCurrentPCOffset", "(", ")", ",", "Reloc", ",", "MO", ".", "getIndex", "(", ")", ",", "Offset", ")", ")", ";", "}", "else", "if", "(", "MO", ".", "isMBB", "(", ")", ")", "{", "MCE", ".", "addRelocation", "(", "MachineRelocation", "::", "getBB", "(", "MCE", ".", "getCurrentPCOffset", "(", ")", ",", "", ",", "MO", ".", "getMBB", "(", ")", ")", ")", ";", "}", "else", "{", "cerr", "<<", "", "<<", "MO"], "ground_truth": ["<<", "", ";"], "File": "AlphaCodeEmitter3", "Func": "getMachineOpValue", "Target": "Alpha", "Target_Clf": "MPU", "Compiler_Type": "LLVM", "Idx": 112826, "Length": 237, "Cover_Rate": 0.5361990950226244} {"Template_token": ["", "if", "(", "MO", ".", "isGlobal", "(", ")", ")", "MCE", ".", "addRelocation", "(", "MachineRelocation", "::", "getGV", "(", "MCE", ".", "getCurrentPCOffset", "(", ")", ",", "Reloc", ",", "MO", ".", "getGlobal", "(", ")", ",", "Offset", ",", "isa", "<", "Function", ">", "(", "MO", ".", "getGlobal", "(", ")", ")", ",", "useGOT", ")", ")", ";", "else", "if", "(", "MO", ".", "isSymbol", "(", ")", ")", "MCE", ".", "addRelocation", "(", "MachineRelocation", "::", "getExtSym", "(", "MCE", ".", "getCurrentPCOffset", "(", ")", ",", "Reloc", ",", "MO", ".", "getSymbolName", "(", ")", ",", "Offset", ",", "true", ")", ")", ";", "else", "MCE", ".", "addRelocation", "(", "MachineRelocation", "::", "getConstPool", "(", "MCE", ".", "getCurrentPCOffset", "(", ")", ",", "Reloc", ",", "MO", ".", "getIndex", "(", ")", ",", "Offset", ")", ")", ";", "}", "else", "if", "(", "MO", ".", "isMBB", "(", ")", ")", "{", "MCE", ".", "addRelocation", "(", "MachineRelocation", "::", "getBB", "(", "MCE", ".", "getCurrentPCOffset", "(", ")", ",", "", ",", "MO", ".", "getMBB", "(", ")", ")", ")", ";", "}", "else", "{", "cerr", "<<", "", "<<", "MO", "<<", "", ";", "llvm_unreachable", "(", "", ")", ";", "}", "return", "rv"], "ground_truth": [";"], "File": "AlphaCodeEmitter3", "Func": "getMachineOpValue", "Target": "Alpha", "Target_Clf": "MPU", "Compiler_Type": "LLVM", "Idx": 112827, "Length": 167, "Cover_Rate": 0.3778280542986425} {"Template_token": ["", "}", "else", "if", "(", "MO", ".", "isImm", "(", ")", ")", "{", "rv", "=", "MO", ".", "getImm", "(", ")", ";", "}", "else", "if", "(", "MO", ".", "isGlobal", "(", ")", "||", "MO", ".", "isSymbol", "(", ")", "||", "MO", ".", "isCPI", "(", ")", ")", "{", "DEBUG", "(", "errs", "(", ")", "<<", "MO", "<<", "", "<<", "MI", "<<", "", ")", ";", "unsigned", "Reloc", "=", "", ";", "int", "Offset", "=", "", ";", "bool", "useGOT", "=", "false", ";", "switch", "(", "MI", ".", "getOpcode", "(", ")", ")", "{", "case", "", ":", "Reloc", "=", "", ";", "break", ";", "case", "", ":", "case", "", ":", "case", "", ":", "case", "", ":", "case", "", ":", "case", "", ":", "case", "", ":", "case", "", ":", "case", "", ":", "case", "", ":", "case", "", ":", "case", "", ":", "case", "", ":", "Reloc", "=", "", ";", "break", ";", "case", "", ":", "Reloc", "=", "", ";", "break", ";", "case", "", ":", "Reloc", "=", "", ";", "useGOT", "=", "true", ";", "break", ";", "case", "", ":", "case", "", ":", "Reloc", "=", ""], "ground_truth": [";"], "File": "AlphaCodeEmitter4", "Func": "getMachineOpValue", "Target": "Alpha", "Target_Clf": "MPU", "Compiler_Type": "LLVM", "Idx": 112828, "Length": 167, "Cover_Rate": 0.37193763919821826} {"Template_token": ["", "return", "new", "CodeEmitter", "(", "TM"], "ground_truth": [",", "MCE", ")", ";"], "File": "AlphaCodeEmitter5", "Func": "createAlphaCodeEmitterPass", "Target": "Alpha", "Target_Clf": "MPU", "Compiler_Type": "LLVM", "Idx": 112829, "Length": 9, "Cover_Rate": 0.36} {"Template_token": ["", "void", "CodeEmitter", "::", "emitBasicBlock", "(", "MachineBasicBlock", "&", "MBB", ")", "{", "MCE", ".", "StartMachineBasicBlock", "(", "&", "MBB", ")", ";", "for", "(", "MachineBasicBlock", "::", "iterator", "I", "=", "MBB", ".", "begin", "(", ")", ",", "E", "=", "MBB", ".", "end", "(", ")", ";", "I", "!=", "E", ";", "++", "I", ")", "{", "const", "MachineInstr", "&", "MI", "=", "*", "I", ";", "switch", "(", "MI", ".", "getOpcode", "(", ")", ")", "{", "default", ":", "MCE", ".", "emitWordLE", "(", "getBinaryCodeForInstr", "(", "*", "I", ")", ")", ";", "break", ";", "case", "", ":", "case", "", ":", "case"], "ground_truth": ["", ":"], "File": "AlphaCodeEmitter5", "Func": "emitBasicBlock", "Target": "Alpha", "Target_Clf": "MPU", "Compiler_Type": "LLVM", "Idx": 112830, "Length": 88, "Cover_Rate": 0.8461538461538461} {"Template_token": ["", "void", "CodeEmitter", "::", "emitBasicBlock", "(", "MachineBasicBlock", "&", "MBB", ")", "{", "MCE", ".", "StartMachineBasicBlock", "(", "&", "MBB", ")", ";", "for", "(", "MachineBasicBlock", "::", "iterator", "I", "=", "MBB", ".", "begin", "(", ")", ",", "E", "=", "MBB", ".", "end", "(", ")", ";", "I", "!=", "E", ";", "++", "I"], "ground_truth": [")", "{"], "File": "AlphaCodeEmitter5", "Func": "emitBasicBlock", "Target": "Alpha", "Target_Clf": "MPU", "Compiler_Type": "LLVM", "Idx": 112831, "Length": 47, "Cover_Rate": 0.4519230769230769} {"Template_token": ["", "unsigned", "rv", "=", "", ";", "if", "(", "MO", ".", "isReg", "(", ")", ")", "{", "rv", "=", "getRegNumber", "(", "MO", ".", "getReg", "(", ")", ")", ";", "}", "else", "if", "(", "MO", ".", "isImm", "(", ")", ")", "{", "rv", "=", "MO", ".", "getImm", "(", ")", ";", "}", "else", "if", "(", "MO", ".", "isGlobal", "(", ")", "||", "MO", ".", "isSymbol", "(", ")", "||", "MO", ".", "isCPI", "(", ")", ")", "{", "DOUT", "(", "llvm", "::", "dbgs", "(", ")", "<<", "MO", "<<", "", "<<", "MI", "<<", "", ";", "unsigned", "Reloc", "=", "", ";", "int", "Offset", "=", "", ";", "bool", "useGOT", "=", "false", ";", "switch", "(", "MI", ".", "getOpcode", "(", ")", ")", "{", "case", "", ":", "Reloc", "=", "", ";", "break", ";", "case", "", ":", "case", "", ":", "case", "", ":", "case", "", ":", "case", "", ":", "case", "", ":", "case", "", ":", "case", "", ":", "case", "", ":", "case", "", ":", "case", "", ":", "case", "", ":", "case", "", ":", "Reloc", "=", "", ";", "break", ";", "case", "", ":", "Reloc", "=", "", ";", "break", ";", "case", ""], "ground_truth": [":"], "File": "AlphaCodeEmitter6", "Func": "getMachineOpValue", "Target": "Alpha", "Target_Clf": "MPU", "Compiler_Type": "LLVM", "Idx": 112832, "Length": 173, "Cover_Rate": 0.3861607142857143} {"Template_token": ["", "return", "new", "CodeEmitter", "("], "ground_truth": ["JCE", ")", ";"], "File": "AlphaCodeEmitter", "Func": "createAlphaJITCodeEmitterPass", "Target": "Alpha", "Target_Clf": "MPU", "Compiler_Type": "LLVM", "Idx": 112833, "Length": 7, "Cover_Rate": 0.30434782608695654} {"Template_token": ["", "return", "new", "CodeEmitter"], "ground_truth": ["(", "JCE", ")", ";"], "File": "AlphaCodeEmitter", "Func": "createAlphaJITCodeEmitterPass", "Target": "Alpha", "Target_Clf": "MPU", "Compiler_Type": "LLVM", "Idx": 112834, "Length": 7, "Cover_Rate": 0.30434782608695654} {"Template_token": ["", "void", "CodeEmitter", "::", "emitBasicBlock", "(", "MachineBasicBlock", "&", "MBB", ")", "{", "MCE", ".", "StartMachineBasicBlock", "(", "&", "MBB", ")", ";", "for", "(", "MachineBasicBlock", "::", "iterator", "I", "=", "MBB", ".", "begin", "(", ")", ",", "E", "=", "MBB", ".", "end", "(", ")", ";", "I", "!=", "E", ";", "++", "I", ")", "{", "const", "MachineInstr", "&", "MI", "=", "*", "I", ";", "MCE", ".", "processDebugLoc", "(", "MI", ".", "getDebugLoc", "(", ")", ",", "true", ")", ";", "switch", "(", "MI", ".", "getOpcode", "(", ")", ")", "{", "default", ":", "MCE", ".", "emitWordLE", "(", "getBinaryCodeForInstr", "(", "*", "I", ")", ")", ";", "break", ";", "case", "", ":", "case", "", ":", "case", "", ":", "case", "TargetOpcode", "::", "IMPLICIT_DEF", ":", "case", "TargetOpcode", "::", "KILL", ":", "break", ";", "}", "MCE", ".", "processDebugLoc", "(", "MI", ".", "getDebugLoc"], "ground_truth": ["(", ")", ",", "false", ")", ";"], "File": "AlphaCodeEmitter", "Func": "emitBasicBlock", "Target": "Alpha", "Target_Clf": "MPU", "Compiler_Type": "LLVM", "Idx": 112835, "Length": 127, "Cover_Rate": 0.9407407407407408} {"Template_token": ["", "switch", "(", "Reg", ")", "{", "case", "", ":", "case", "", ":", "return", "", ";", "case", "", ":", "case", "", ":", "return", "", ";", "case", "", ":", "case", "", ":", "return", "", ";", "case", "", ":", "case", "", ":", "return", "", ";", "case", "", ":", "case", "", ":", "return", "", ";", "case", "", ":", "case", "", ":", "return", "", ";", "case", "", ":", "case", "", ":", "return", "", ";", "case", "", ":", "case", "", ":", "return", "", ";", "case", "", ":", "case", "", ":", "return", "", ";", "case", "", ":", "case", "", ":", "return", "", ";", "case", "", ":", "case", "", ":", "return", "", ";", "case", "", ":", "case", "", ":", "return", "", ";", "case", "", ":", "case", "", ":", "return", "", ";", "case", "", ":", "case", "", ":", "return", "", ";", "case", "", ":", "case", "", ":", "return", "", ";", "case", "", ":", "case", "", ":", "return", "", ";", "case", "", ":", "case", "", ":", "return", "", ";", "case", "", ":", "case", "", ":", "return", "", ";", "case", "", ":", "case", "", ":", "return", "", ";", "case", "", ":", "case", "", ":", "return", "", ";", "case", "", ":", "case", "", ":", "return", "", ";", "case", "", ":", "case", "", ":", "return", "", ";", "case", "", ":", "case", "", ":", "return", "", ";", "case", "", ":", "case", "", ":", "return", "", ";", "case", "", ":", "case", "", ":", "return", "", ";", "case", "", ":", "case", "", ":", "return", "", ";", "case", "", ":", "case", "", ":", "return", "", ";", "case", "", ":", "case", "", ":", "return", "", ";", "case", "", ":", "case", "", ":", "return", "", ";", "case", "", ":", "case", "", ":", "return", "", ";", "case", "", ":", "case", "", ":", "return", "", ";", "case", "", ":", "case", "", ":", "return"], "ground_truth": ["", ";"], "File": "AlphaCodeEmitter", "Func": "getAlphaRegNumber", "Target": "Alpha", "Target_Clf": "MPU", "Compiler_Type": "LLVM", "Idx": 112836, "Length": 293, "Cover_Rate": 0.6689497716894978} {"Template_token": ["", "}", "else", "if", "(", "MO", ".", "isImm", "(", ")", ")", "{", "rv", "=", "MO", ".", "getImm", "(", ")", ";", "}", "else", "if", "(", "MO", ".", "isGlobal", "(", ")", "||", "MO", ".", "isSymbol", "(", ")", "||", "MO", ".", "isCPI", "(", ")", ")", "{", "DEBUG", "(", "errs", "(", ")", "<<", "MO", "<<", "", "<<", "MI", "<<", "", ")", ";", "unsigned", "Reloc", "=", "", ";", "int", "Offset", "=", "", ";", "bool", "useGOT", "=", "false", ";", "switch", "(", "MI", ".", "getOpcode", "(", ")", ")", "{", "case", "", ":", "Reloc", "=", "", ";", "break", ";", "case", "", ":", "case", "", ":", "case", "", ":", "case", "", ":", "case", "", ":", "case", "", ":", "case", "", ":", "case", "", ":", "case", "", ":", "case", "", ":", "case", "", ":", "case", "", ":", "case", "", ":", "Reloc", "=", "", ";", "break", ";", "case", "", ":", "Reloc", "=", "", ";", "break", ";", "case", "", ":", "Reloc", "=", "", ";", "useGOT", "=", "true", ";", "break", ";", "case", "", ":", "case", "", ":", "Reloc", "=", "", ";", "Offset", "=", "MI", ".", "getOperand", "(", "", ")", ".", "getImm", "(", ")", ";", "break", ";", "default", ":", "llvm_unreachable", "(", "", ")", ";", "}", "if", "(", "MO", ".", "isGlobal", "(", ")", ")", "MCE", ".", "addRelocation", "(", "MachineRelocation", "::", "getGV", "(", "MCE", ".", "getCurrentPCOffset", "(", ")", ",", "Reloc", ",", "const_cast", "<", "GlobalValue", "*", ">", "(", "MO", ".", "getGlobal", "(", ")", ")", ",", "Offset", ",", "isa", "<", "Function", ">", "(", "MO", ".", "getGlobal", "(", ")", ")", ",", "useGOT", ")", ")", ";", "else", "if", "(", "MO", ".", "isSymbol", "(", ")", ")", "MCE", ".", "addRelocation", "(", "MachineRelocation", "::", "getExtSym", "(", "MCE", ".", "getCurrentPCOffset", "(", ")", ",", "Reloc", ",", "MO", ".", "getSymbolName", "(", ")", ",", "Offset", ",", "true", ")", ")", ";", "else", "MCE", ".", "addRelocation", "(", "MachineRelocation", "::", "getConstPool", "(", "MCE", ".", "getCurrentPCOffset", "(", ")", ",", "Reloc", ",", "MO", ".", "getIndex", "(", ")", ",", "Offset", ")", ")", ";", "}", "else", "if", "(", "MO", ".", "isMBB", "(", ")", ")", "{", "MCE", ".", "addRelocation", "(", "MachineRelocation", "::", "getBB", "(", "MCE", ".", "getCurrentPCOffset", "(", ")", ",", "", ",", "MO", ".", "getMBB", "(", ")", ")", ")", ";", "}", "else", "{", "errs", "(", ")", "<<", "", "<<", "MO", "<<", "", ";", "llvm_unreachable", "(", ""], "ground_truth": [")", ";"], "File": "AlphaCodeEmitter", "Func": "getMachineOpValue", "Target": "Alpha", "Target_Clf": "MPU", "Compiler_Type": "LLVM", "Idx": 112837, "Length": 362, "Cover_Rate": 0.793859649122807} {"Template_token": ["", "MCE", ".", "startFunction", "(", "MF", ")", ";", "for", "(", "MachineFunction", "::", "iterator", "I", "=", "MF", ".", "begin", "(", ")", ",", "E", "=", "MF", ".", "end", "(", ")", ";", "I", "!=", "E", ";", "++", "I", ")", "emitBasicBlock", "(", "*", "I", ")", ";", "}", "while", "(", "MCE", ".", "finishFunction", "(", "MF", ")", ")", ";", "return", "false"], "ground_truth": [";"], "File": "AlphaCodeEmitter", "Func": "runOnMachineFunction", "Target": "Alpha", "Target_Clf": "MPU", "Compiler_Type": "LLVM", "Idx": 112838, "Length": 55, "Cover_Rate": 0.6395348837209303} {"Template_token": ["", "long", "NumBytes", "=", "MFI", "->", "getStackSize", "(", ")", ";", "if", "(", "FP", ")", "{", "BuildMI", "(", "MBB", ",", "MBBI", ",", "dl", ",", "TII", ".", "get", "(", "", ")", ",", "", ")", ".", "addReg", "(", "", ")", ".", "addReg", "(", "", ")", ";", "BuildMI", "(", "MBB", ",", "MBBI", ",", "dl", ",", "TII", ".", "get", "(", "", ")", ",", "", ")", ".", "addImm", "(", "", ")", ".", "addReg", "(", "", ")", ";", "}", "if", "(", "NumBytes", "!=", "", ")", "{", "if", "(", "NumBytes", "<=", "", ")", "{", "BuildMI", "(", "MBB", ",", "MBBI", ",", "dl", ",", "TII", ".", "get", "(", "", ")", ",", "", ")", ".", "addImm", "(", "NumBytes", ")", ".", "addReg", "(", "", ")", ";", "}", "else", "if", "(", "getUpper16", "(", "NumBytes", ")", "<=", "", ")", "{", "BuildMI", "(", "MBB", ",", "MBBI", ",", "dl", ",", "TII", ".", "get", "(", "", ")", ",", "", ")", ".", "addImm", "(", "getUpper16", "(", "NumBytes", ")", ")", ".", "addReg", "(", "", ")", ";", "BuildMI", "(", "MBB", ",", "MBBI", ",", "dl", ",", "TII", ".", "get", "(", "", ")", ",", "", ")", ".", "addImm", "(", "getLower16", "(", "NumBytes", ")", ")", ".", "addReg", "(", "", ")", ";", "}", "else", "{", "report_fatal_error", "(", "", "+", "Twine", "(", "NumBytes"], "ground_truth": [")", ")", ";"], "File": "AlphaFrameInfo", "Func": "emitEpilogue", "Target": "Alpha", "Target_Clf": "MPU", "Compiler_Type": "LLVM", "Idx": 112839, "Length": 200, "Cover_Rate": 0.5899705014749262} {"Template_token": ["", "DebugLoc", "dl", "=", "(", "MBBI", "!=", "MBB", ".", "end", "(", ")", "?", "MBBI", "->", "getDebugLoc", "(", ")", ":", "DebugLoc", "(", ")", ")", ";", "bool", "FP", "=", "hasFP", "(", "MF", ")", ";", "BuildMI", "(", "MBB", ",", "MBBI", ",", "dl", ",", "TII", ".", "get", "(", "", ")", ",", "", ")", ".", "addGlobalAddress", "(", "MF", ".", "getFunction", "(", ")", ")", ".", "addReg", "(", "", ")", ".", "addImm", "(", "++", "curgpdist", ")", ";", "BuildMI", "(", "MBB", ",", "MBBI", ",", "dl", ",", "TII", ".", "get", "(", "", ")", ",", "", ")", ".", "addGlobalAddress", "(", "MF", ".", "getFunction", "(", ")", ")", ".", "addReg", "(", "", ")", ".", "addImm", "(", "curgpdist", ")", ";", "BuildMI", "(", "MBB", ",", "MBBI", ",", "dl", ",", "TII", ".", "get", "(", "", ")", ")", ".", "addGlobalAddress", "(", "MF", ".", "getFunction", "(", ")", ")", ";", "long", "NumBytes", "=", "MFI", "->", "getStackSize", "(", ")", ";", "if", "(", "FP", ")", "NumBytes", "+=", "", ";", "if", "(", "NumBytes", "==", "", ")", "return", ";", "unsigned", "Align", "=", "getStackAlignment", "(", ")", ";", "NumBytes", "=", "(", "NumBytes", "+", "Align", "-", "", ")", "/", "Align", "*", "Align", ";", "MFI", "->", "setStackSize", "(", "NumBytes", ")", ";", "NumBytes", "=", "-", "NumBytes", ";", "if", "(", "NumBytes", ">=", "", ")", "{", "BuildMI", "(", "MBB", ",", "MBBI", ",", "dl", ",", "TII", ".", "get", "(", "", ")", ",", "", ")", ".", "addImm", "(", "NumBytes", ")", ".", "addReg", "(", "", ")", ";", "}", "else", "if", "(", "getUpper16", "(", "NumBytes", ")", ">=", "", ")", "{", "BuildMI", "(", "MBB", ",", "MBBI", ",", "dl", ",", "TII", ".", "get", "(", "", ")", ",", "", ")", ".", "addImm", "(", "getUpper16", "(", "NumBytes", ")", ")", ".", "addReg", "(", "", ")", ";", "BuildMI", "(", "MBB", ",", "MBBI", ",", "dl", ",", "TII", ".", "get", "(", "", ")", ",", "", ")", ".", "addImm", "(", "getLower16", "(", "NumBytes", ")", ")", ".", "addReg", "(", "", ")", ";", "}", "else"], "ground_truth": ["{"], "File": "AlphaFrameInfo", "Func": "emitPrologue", "Target": "Alpha", "Target_Clf": "MPU", "Compiler_Type": "LLVM", "Idx": 112840, "Length": 301, "Cover_Rate": 0.6193415637860082} {"Template_token": ["", "MachineBasicBlock", "::", "iterator", "MBBI", "=", "MBB", ".", "begin", "(", ")", ";", "MachineFrameInfo", "*", "MFI", "=", "MF", ".", "getFrameInfo", "(", ")", ";", "const", "TargetInstrInfo", "&", "TII", "=", "*", "MF", ".", "getTarget", "(", ")", ".", "getInstrInfo", "(", ")", ";", "DebugLoc", "dl", "=", "(", "MBBI", "!=", "MBB", ".", "end", "(", ")", "?", "MBBI", "->", "getDebugLoc", "(", ")", ":", "DebugLoc", "(", ")", ")", ";", "bool", "FP", "=", "hasFP", "(", "MF", ")", ";", "BuildMI", "(", "MBB", ",", "MBBI", ",", "dl", ",", "TII", ".", "get", "(", "", ")", ",", "", ")", ".", "addGlobalAddress", "(", "MF", ".", "getFunction", "(", ")", ")", ".", "addReg", "(", "", ")", ".", "addImm", "(", "++", "curgpdist", ")", ";", "BuildMI", "(", "MBB", ",", "MBBI", ",", "dl", ",", "TII", ".", "get", "(", "", ")", ",", "", ")", ".", "addGlobalAddress", "(", "MF", ".", "getFunction", "(", ")", ")", ".", "addReg", "(", "", ")", ".", "addImm", "(", "curgpdist", ")", ";", "BuildMI", "(", "MBB", ",", "MBBI", ",", "dl", ",", "TII", ".", "get", "(", "", ")", ")", ".", "addGlobalAddress", "(", "MF", ".", "getFunction", "(", ")", ")", ";", "long", "NumBytes", "=", "MFI", "->", "getStackSize", "(", ")", ";", "if", "(", "FP", ")", "NumBytes", "+=", "", ";", "if", "(", "NumBytes", "==", "", ")", "return", ";", "unsigned", "Align", "=", "getStackAlignment", "(", ")", ";", "NumBytes", "=", "(", "NumBytes", "+", "Align", "-", "", ")", "/", "Align", "*", "Align", ";", "MFI", "->", "setStackSize", "(", "NumBytes", ")", ";", "NumBytes", "=", "-", "NumBytes", ";", "if", "(", "NumBytes", ">=", "", ")", "{", "BuildMI", "(", "MBB", ",", "MBBI", ",", "dl", ",", "TII", ".", "get", "(", "", ")", ",", "", ")", ".", "addImm", "(", "NumBytes", ")", ".", "addReg", "(", "", ")", ";", "}", "else", "if", "(", "getUpper16", "(", "NumBytes", ")", ">=", "", ")", "{", "BuildMI", "(", "MBB", ",", "MBBI", ",", "dl", ",", "TII", ".", "get", "(", "", ")", ",", "", ")", ".", "addImm", "(", "getUpper16", "(", "NumBytes", ")", ")", ".", "addReg", "(", "", ")", ";", "BuildMI", "(", "MBB", ",", "MBBI", ",", "dl", ",", "TII", ".", "get", "(", "", ")", ",", "", ")", ".", "addImm", "(", "getLower16", "(", "NumBytes", ")", ")", ".", "addReg", "(", "", ")", ";", "}", "else", "{", "report_fatal_error", "(", "", "+", "Twine", "(", "NumBytes", ")", ")", ";", "}", "if", "(", "FP", ")", "{", "BuildMI", "(", "MBB", ",", "MBBI", ",", "dl", ",", "TII", ".", "get", "(", "", ")", ")", "."], "ground_truth": ["addReg", "(", "", ")", ".", "addImm", "(", "", ")", ".", "addReg", "(", "", ")", ";"], "File": "AlphaFrameInfo", "Func": "emitPrologue", "Target": "Alpha", "Target_Clf": "MPU", "Compiler_Type": "LLVM", "Idx": 112841, "Length": 385, "Cover_Rate": 0.7921810699588477} {"Template_token": ["", "static", "long", "getUpper16", "(", "long", "l", ")", "{", "long", "y", "="], "ground_truth": ["l", "/", "", ";"], "File": "AlphaFrameInfo", "Func": "getUpper16", "Target": "Alpha", "Target_Clf": "MPU", "Compiler_Type": "LLVM", "Idx": 112842, "Length": 15, "Cover_Rate": 0.4166666666666667} {"Template_token": ["", "const", "TargetInstrInfo", "&", "TII", "=", "*", "MF", ".", "getTarget", "(", ")", ".", "getInstrInfo", "(", ")", ";", "assert", "(", "(", "MBBI", "->", "getOpcode", "(", ")", "==", "", "||", "MBBI", "->", "getOpcode", "(", ")", "==", "", ")", "&&", "", ")", ";", "DebugLoc", "dl", "=", "MBBI", "->", "getDebugLoc", "(", ")", ";", "bool", "FP", "=", "hasFP", "(", "MF", ")", ";", "long", "NumBytes", "=", "MFI", "->", "getStackSize", "(", ")", ";", "if", "(", "FP", ")", "{", "BuildMI", "(", "MBB", ",", "MBBI", ",", "dl", ",", "TII", ".", "get", "(", "", ")", ",", "", ")", ".", "addReg", "(", "", ")", ".", "addReg", "(", "", ")", ";", "BuildMI", "(", "MBB", ",", "MBBI", ",", "dl", ",", "TII", ".", "get", "(", "", ")", ",", "", ")", ".", "addImm", "(", "", ")", ".", "addReg", "(", "", ")", ";", "}", "if", "(", "NumBytes", "!=", "", ")", "{", "if", "(", "NumBytes", "<=", "", ")", "{", "BuildMI", "(", "MBB", ",", "MBBI", ",", "dl", ",", "TII", ".", "get", "(", "", ")", ",", "", ")", ".", "addImm", "(", "NumBytes", ")", ".", "addReg"], "ground_truth": ["(", "", ")", ";"], "File": "AlphaFrameLowering", "Func": "emitEpilogue", "Target": "Alpha", "Target_Clf": "MPU", "Compiler_Type": "LLVM", "Idx": 112843, "Length": 169, "Cover_Rate": 0.5029761904761905} {"Template_token": ["", "const", "MachineFrameInfo", "*", "MFI", "=", "MF", ".", "getFrameInfo", "(", ")", ";", "MachineBasicBlock", "::", "iterator", "MBBI", "=", "MBB", ".", "getLastNonDebugInstr", "(", ")", ";", "const", "TargetInstrInfo", "&", "TII", "=", "*", "MF", ".", "getTarget", "(", ")", ".", "getInstrInfo", "(", ")", ";", "assert", "(", "(", "MBBI", "->", "getOpcode", "(", ")", "==", "", "||", "MBBI", "->", "getOpcode", "(", ")", "==", "", ")", "&&", "", ")", ";", "DebugLoc", "dl", "=", "MBBI", "->", "getDebugLoc", "(", ")", ";", "bool", "FP", "=", "hasFP", "(", "MF", ")", ";", "long", "NumBytes", "=", "MFI", "->", "getStackSize", "(", ")", ";", "if", "(", "FP", ")", "{", "BuildMI", "(", "MBB", ",", "MBBI", ",", "dl", ",", "TII", ".", "get", "(", "", ")", ",", "", ")", ".", "addReg", "(", "", ")", ".", "addReg", "(", "", ")", ";", "BuildMI", "(", "MBB", ",", "MBBI", ",", "dl", ",", "TII", ".", "get", "(", "", ")", ",", "", ")", ".", "addImm", "(", "", ")", ".", "addReg", "(", "", ")", ";", "}", "if", "(", "NumBytes", "!=", "", ")", "{", "if", "(", "NumBytes"], "ground_truth": ["<=", "", ")", "{"], "File": "AlphaFrameLowering", "Func": "emitEpilogue", "Target": "Alpha", "Target_Clf": "MPU", "Compiler_Type": "LLVM", "Idx": 112844, "Length": 163, "Cover_Rate": 0.4851190476190476} {"Template_token": ["", "BuildMI", "(", "MBB", ",", "MBBI", ",", "dl", ",", "TII", ".", "get", "(", "", ")", ",", "", ")", ".", "addGlobalAddress", "(", "MF", ".", "getFunction", "(", ")", ")", ".", "addReg", "(", "", ")", ".", "addImm", "(", "curgpdist", ")", ";", "BuildMI", "(", "MBB", ",", "MBBI", ",", "dl", ",", "TII", ".", "get", "(", "", ")", ")", ".", "addGlobalAddress", "(", "MF", ".", "getFunction", "(", ")", ")", ";", "long", "NumBytes", "=", "MFI", "->", "getStackSize", "(", ")", ";", "if", "(", "FP", ")", "NumBytes", "+=", "", ";", "if", "(", "NumBytes", "==", "", ")", "return", ";", "unsigned", "Align", "=", "getStackAlignment", "(", ")", ";", "NumBytes", "=", "(", "NumBytes", "+", "Align", "-", "", ")", "/", "Align", "*", "Align", ";", "MFI", "->", "setStackSize", "(", "NumBytes", ")", ";", "NumBytes", "=", "-", "NumBytes", ";", "if", "(", "NumBytes", ">=", "", ")", "{", "BuildMI", "(", "MBB", ",", "MBBI", ",", "dl", ",", "TII", ".", "get", "(", "", ")", ",", "", ")", ".", "addImm", "(", "NumBytes", ")", ".", "addReg", "(", "", ")", ";", "}", "else", "if", "(", "getUpper16", "(", "NumBytes", ")", ">=", "", ")", "{", "BuildMI", "(", "MBB", ",", "MBBI", ",", "dl", ",", "TII", ".", "get", "(", "", ")", ",", "", ")", ".", "addImm", "(", "getUpper16", "(", "NumBytes", ")", ")", ".", "addReg", "(", "", ")", ";", "BuildMI", "(", "MBB", ",", "MBBI", ",", "dl", ",", "TII", ".", "get", "(", "", ")", ",", "", ")", ".", "addImm", "(", "getLower16", "(", "NumBytes", ")", ")", ".", "addReg", "(", "", ")", ";", "}", "else", "{", "report_fatal_error", "(", "", "+", "Twine", "(", "NumBytes", ")", ")", ";", "}", "if", "(", "FP", ")", "{", "BuildMI", "(", "MBB", ",", "MBBI", ",", "dl", ",", "TII", ".", "get", "(", "", ")", ")", ".", "addReg", "(", "", ")", ".", "addImm", "(", "", ")", ".", "addReg", "(", "", ")", ";", "BuildMI", "(", "MBB", ",", "MBBI", ",", "dl", ",", "TII", ".", "get", "(", "", ")", ",", "", ")", ".", "addReg", "(", "", ")"], "ground_truth": [".", "addReg", "(", "", ")", ";"], "File": "AlphaFrameLowering", "Func": "emitPrologue", "Target": "Alpha", "Target_Clf": "MPU", "Compiler_Type": "LLVM", "Idx": 112845, "Length": 307, "Cover_Rate": 0.6316872427983539} {"Template_token": ["", "bool", "FrameLowering", "::", "hasFP", "(", "const", "MachineFunction", "&", "MF"], "ground_truth": [")", "const", "{"], "File": "AlphaFrameLowering", "Func": "hasFP", "Target": "Alpha", "Target_Clf": "MPU", "Compiler_Type": "LLVM", "Idx": 112846, "Length": 12, "Cover_Rate": 0.3870967741935484} {"Template_token": ["", "bool", "FrameLowering", "::", "hasFP", "(", "const"], "ground_truth": ["MachineFunction", "&", "MF", ")", "const", "{"], "File": "AlphaFrameLowering", "Func": "hasFP", "Target": "Alpha", "Target_Clf": "MPU", "Compiler_Type": "LLVM", "Idx": 112847, "Length": 12, "Cover_Rate": 0.3870967741935484} {"Template_token": ["", "if", "(", "DestRC", "==", "", ")", "{", "BuildMI", "(", "MBB", ",", "MI", ",", "DL", ",", "get", "(", "", ")", ",", "DestReg", ")", ".", "addReg", "(", "SrcReg", ")", ".", "addReg", "(", "SrcReg", ")", ";", "}", "else", "if", "(", "DestRC", "==", "", ")", "{", "BuildMI", "(", "MBB", ",", "MI", ",", "DL", ",", "get", "(", "", ")", ",", "DestReg", ")", ".", "addReg", "(", "SrcReg", ")", ".", "addReg", "(", "SrcReg", ")", ";", "}", "else", "if", "("], "ground_truth": ["DestRC", "==", "", ")", "{"], "File": "AlphaInstrInfo1", "Func": "copyRegToReg", "Target": "Alpha", "Target_Clf": "MPU", "Compiler_Type": "LLVM", "Idx": 112848, "Length": 77, "Cover_Rate": 0.4052631578947368} {"Template_token": ["", "const", "TargetInstrInfo", "*", "TII", "=", "MF", "->", "getTarget", "(", ")", ".", "getInstrInfo", "(", ")", ";", "GlobalBaseReg", "=", "RegInfo", ".", "createVirtualRegister", "(", "&", "", ")", ";", "bool", "Ok", "=", "TII", "->", "copyRegToReg", "(", "FirstMBB", ",", "MBBI", ",", "GlobalBaseReg", ",", "", ",", "&", "", ",", "&", "", ")", ";", "assert", "(", "Ok", "&&"], "ground_truth": ["", ")", ";"], "File": "AlphaInstrInfo1", "Func": "getGlobalBaseReg", "Target": "Alpha", "Target_Clf": "MPU", "Compiler_Type": "LLVM", "Idx": 112849, "Length": 54, "Cover_Rate": 0.33962264150943394} {"Template_token": ["", "if", "(", "GlobalRetAddr", "!=", "", ")", "return", "GlobalRetAddr", ";", "MachineBasicBlock", "&", "FirstMBB", "=", "MF", "->", "front", "(", ")", ";", "MachineBasicBlock", "::", "iterator", "MBBI", "=", "FirstMBB", ".", "begin", "(", ")", ";", "MachineRegisterInfo", "&", "RegInfo", "=", "MF", "->", "getRegInfo", "(", ")", ";", "const", "TargetInstrInfo", "*", "TII", "=", "MF", "->", "getTarget", "(", ")", ".", "getInstrInfo", "(", ")", ";", "GlobalRetAddr", "=", "RegInfo", ".", "createVirtualRegister", "(", "&", "", ")", ";", "bool", "Ok", "=", "TII", "->", "copyRegToReg", "(", "FirstMBB", ",", "MBBI", ",", "GlobalRetAddr", ",", "", ",", "&", "", ",", "&", "", ")", ";", "assert", "(", "Ok", "&&", "", ")", ";", "Ok", "=", "Ok", ";", "RegInfo", ".", "addLiveIn"], "ground_truth": ["(", "", ")", ";"], "File": "AlphaInstrInfo1", "Func": "getGlobalRetAddr", "Target": "Alpha", "Target_Clf": "MPU", "Compiler_Type": "LLVM", "Idx": 112850, "Length": 105, "Cover_Rate": 0.660377358490566} {"Template_token": ["", "if", "(", "FBB", "==", "", ")", "{", "if", "(", "Cond", ".", "empty", "(", ")", ")", "BuildMI", "(", "&", "MBB", ",", "dl", ",", "get", "(", "", ")", ")", ".", "addMBB", "(", "TBB", ")", ";", "else", "if", "(", "isIntCondCode", "(", "Cond", "[", "", "]", ".", "getImm", "(", ")", ")", ")", "BuildMI", "(", "&", "MBB", ",", "dl", ",", "get", "(", "", ")", ")", ".", "addImm", "(", "Cond", "[", "", "]", ".", "getImm", "(", ")", ")", ".", "addReg", "(", "Cond", "[", "", "]", ".", "getReg", "(", ")", ")", ".", "addMBB", "(", "TBB", ")", ";", "else", "BuildMI", "(", "&", "MBB", ",", "dl", ",", "get", "(", "", ")", ")", ".", "addImm", "(", "Cond", "[", "", "]", ".", "getImm", "(", ")", ")", ".", "addReg", "(", "Cond", "[", "", "]", ".", "getReg", "(", ")", ")", ".", "addMBB", "(", "TBB", ")", ";", "return", "", ";", "}", "if", "(", "isIntCondCode", "(", "Cond", "[", "", "]", ".", "getImm", "(", ")", ")", ")", "BuildMI", "(", "&", "MBB", ",", "dl", ",", "get", "(", "", ")", ")", ".", "addImm", "(", "Cond", "[", "", "]", ".", "getImm", "(", ")", ")", ".", "addReg", "(", "Cond", "[", "", "]", ".", "getReg", "(", ")", ")", ".", "addMBB", "(", "TBB", ")", ";", "else", "BuildMI", "(", "&", "MBB", ",", "dl", ",", "get", "(", "", ")", ")", ".", "addImm", "(", "Cond", "[", "", "]", ".", "getImm", "(", ")", ")", ".", "addReg", "(", "Cond", "[", "", "]", ".", "getReg", "(", ")", ")", ".", "addMBB", "(", "TBB", ")", ";", "BuildMI", "(", "&", "MBB", ",", "dl", ",", "get", "(", "", ")", ")", ".", "addMBB", "(", "FBB", ")", ";", "return", ""], "ground_truth": [";"], "File": "AlphaInstrInfo1", "Func": "InsertBranch", "Target": "Alpha", "Target_Clf": "MPU", "Compiler_Type": "LLVM", "Idx": 112851, "Length": 257, "Cover_Rate": 0.7787878787878788} {"Template_token": ["", "assert", "(", "MI", ".", "getNumOperands", "(", ")", ">=", "", "&&", "MI", ".", "getOperand", "(", "", ")", ".", "isReg", "(", ")", "&&", "MI", ".", "getOperand", "(", "", ")", ".", "isReg", "(", ")", "&&", "MI", ".", "getOperand", "(", "", ")", ".", "isReg", "(", ")", "&&", "", ")", ";", "if", "(", "MI", ".", "getOperand", "(", "", ")", ".", "getReg", "(", ")", "==", "MI", ".", "getOperand", "(", "", ")", ".", "getReg", "(", ")", ")", "{", "sourceReg", "=", "MI", ".", "getOperand", "(", "", ")", ".", "getReg", "(", ")", ";", "destReg", "=", "MI", ".", "getOperand", "(", "", ")", ".", "getReg", "(", ")", ";", "SrcSR", "=", "DstSR", "=", "", ";", "return"], "ground_truth": ["true", ";"], "File": "AlphaInstrInfo1", "Func": "isMoveInstr", "Target": "Alpha", "Target_Clf": "MPU", "Compiler_Type": "LLVM", "Idx": 112852, "Length": 106, "Cover_Rate": 0.5824175824175825} {"Template_token": ["", "if", "(", "RC", "==", "", ")", "BuildMI", "(", "MBB", ",", "MI", ",", "DL", ",", "get", "(", "", ")", ",", "DestReg", ")", ".", "addFrameIndex", "(", "FrameIdx", ")", ".", "addReg", "(", "", ")", ";", "else", "if", "(", "RC", "==", "", ")", "BuildMI", "(", "MBB", ",", "MI", ",", "DL", ",", "get", "(", "", ")", ",", "DestReg", ")", ".", "addFrameIndex", "(", "FrameIdx", ")", ".", "addReg", "(", "", ")", ";", "else", "if", "(", "RC", "==", "", ")", "BuildMI", "(", "MBB", ",", "MI", ",", "DL", ",", "get", "(", "", ")", ",", "DestReg"], "ground_truth": [")", ".", "addFrameIndex", "(", "FrameIdx", ")", ".", "addReg", "(", "", ")", ";"], "File": "AlphaInstrInfo1", "Func": "loadRegFromStackSlot", "Target": "Alpha", "Target_Clf": "MPU", "Compiler_Type": "LLVM", "Idx": 112853, "Length": 98, "Cover_Rate": 0.5730994152046783} {"Template_token": ["", "else", "if", "(", "RC", "==", "", ")", "BuildMI", "(", "MBB", ",", "MI", ",", "DL", ",", "get", "(", "", ")", ",", "DestReg", ")", ".", "addFrameIndex", "(", "FrameIdx", ")", ".", "addReg", "(", "", ")", ";", "else", "if", "(", "RC", "==", "", ")", "BuildMI", "(", "MBB", ",", "MI", ",", "DL", ",", "get", "(", "", ")", ",", "DestReg"], "ground_truth": [")", ".", "addFrameIndex", "(", "FrameIdx", ")", ".", "addReg", "(", "", ")", ";"], "File": "AlphaInstrInfo1", "Func": "loadRegFromStackSlot", "Target": "Alpha", "Target_Clf": "MPU", "Compiler_Type": "LLVM", "Idx": 112854, "Length": 66, "Cover_Rate": 0.38596491228070173} {"Template_token": ["", "void", "InstrInfo", "::", "storeRegToStackSlot", "(", "MachineBasicBlock", "&", "MBB", ",", "MachineBasicBlock", "::", "iterator", "MI", ",", "unsigned", "SrcReg", ",", "bool", "isKill", ",", "int", "FrameIdx", ",", "const", "TargetRegisterClass", "*", "RC", ")", "const", "{", "DebugLoc", "DL", ";", "if", "(", "MI", "!=", "MBB", ".", "end", "(", ")", ")", "DL", "=", "MI", "->", "getDebugLoc", "(", ")", ";", "if", "(", "RC", "==", "", ")", "BuildMI", "(", "MBB", ",", "MI", ",", "DL", ",", "get", "(", "", ")", ")", ".", "addReg", "(", "SrcReg", ",", "getKillRegState", "(", "isKill", ")", ")", ".", "addFrameIndex", "(", "FrameIdx", ")", ".", "addReg", "(", "", ")", ";", "else", "if", "(", "RC", "==", "", ")", "BuildMI", "(", "MBB", ",", "MI", ",", "DL", ",", "get", "(", "", ")", ")", ".", "addReg", "(", "SrcReg", ",", "getKillRegState", "(", "isKill", ")", ")", ".", "addFrameIndex", "(", "FrameIdx", ")", ".", "addReg", "(", "", ")", ";", "else", "if", "(", "RC", "==", "", ")", "BuildMI", "(", "MBB", ",", "MI", ",", "DL", ",", "get", "(", "", ")", ")", ".", "addReg", "(", "SrcReg", ",", "getKillRegState", "(", "isKill", ")", ")", ".", "addFrameIndex"], "ground_truth": ["(", "FrameIdx", ")", ".", "addReg", "(", "", ")", ";"], "File": "AlphaInstrInfo1", "Func": "storeRegToStackSlot", "Target": "Alpha", "Target_Clf": "MPU", "Compiler_Type": "LLVM", "Idx": 112855, "Length": 173, "Cover_Rate": 0.8737373737373737} {"Template_token": ["", "}", "return", "true", ";", "}", "MachineInstr", "*", "SecondLastInst", "=", "I", ";", "if", "(", "SecondLastInst", "&&", "I", "!=", "MBB", ".", "begin", "(", ")", "&&", "isUnpredicatedTerminator", "(", "--", "I", ")", ")", "return", "true", ";", "if", "(", "(", "SecondLastInst", "->", "getOpcode", "(", ")", "==", "", "||", "SecondLastInst", "->", "getOpcode", "(", ")", "==", "", ")", "&&", "LastInst", "->", "getOpcode", "(", ")", "==", "", ")", "{", "TBB", "=", "SecondLastInst", "->", "getOperand", "(", "", ")", ".", "getMBB", "(", ")", ";", "Cond", ".", "push_back", "(", "SecondLastInst", "->", "getOperand", "(", "", ")", ")", ";", "Cond", ".", "push_back", "(", "SecondLastInst", "->", "getOperand", "(", "", ")", ")", ";", "FBB", "=", "LastInst", "->", "getOperand", "(", "", ")", ".", "getMBB", "(", ")", ";", "return"], "ground_truth": ["false", ";"], "File": "AlphaInstrInfo3", "Func": "AnalyzeBranch", "Target": "Alpha", "Target_Clf": "MPU", "Compiler_Type": "LLVM", "Idx": 112856, "Length": 114, "Cover_Rate": 0.31754874651810583} {"Template_token": ["", "if", "(", "DestRC", "!=", "SrcRC", ")", "{", "return", "false", ";", "}", "DebugLoc", "DL", "=", "DebugLoc", "::", "getUnknownLoc", "(", ")", ";", "if", "(", "MI", "!=", "MBB", ".", "end", "(", ")", ")", "DL", "=", "MI", "->", "getDebugLoc", "(", ")", ";", "if", "(", "DestRC", "==", "", ")", "{", "BuildMI", "(", "MBB", ",", "MI", ",", "DL", ",", "get", "(", "", ")", ",", "DestReg", ")", ".", "addReg", "(", "SrcReg", ")", ".", "addReg", "(", "SrcReg", ")", ";", "}", "else", "if", "(", "DestRC", "==", "", ")", "{", "BuildMI", "(", "MBB", ",", "MI", ",", "DL", ",", "get", "(", "", ")", ",", "DestReg", ")", ".", "addReg", "(", "SrcReg", ")", ".", "addReg", "(", "SrcReg", ")", ";", "}", "else", "if", "(", "DestRC", "==", ""], "ground_truth": [")", "{"], "File": "AlphaInstrInfo3", "Func": "copyRegToReg", "Target": "Alpha", "Target_Clf": "MPU", "Compiler_Type": "LLVM", "Idx": 112857, "Length": 115, "Cover_Rate": 0.5867346938775511} {"Template_token": ["", "else", "BuildMI", "(", "&", "MBB", ",", "dl", ",", "get", "(", "", ")", ")", ".", "addImm", "(", "Cond", "[", "", "]", ".", "getImm", "(", ")", ")", ".", "addReg", "(", "Cond", "[", "", "]", ".", "getReg", "(", ")", ")", ".", "addMBB", "(", "TBB", ")", ";", "return", "", ";", "}", "if", "(", "isIntCondCode", "(", "Cond", "[", "", "]", ".", "getImm", "(", ")", ")", ")", "BuildMI", "(", "&", "MBB", ",", "dl", ",", "get", "(", "", ")", ")", ".", "addImm", "(", "Cond", "[", "", "]", ".", "getImm", "(", ")", ")", ".", "addReg", "(", "Cond", "[", "", "]", ".", "getReg", "(", ")", ")", ".", "addMBB", "(", "TBB", ")", ";", "else", "BuildMI", "(", "&", "MBB", ",", "dl", ",", "get", "(", "", ")", ")", ".", "addImm", "(", "Cond", "[", "", "]", ".", "getImm", "(", ")", ")", ".", "addReg", "(", "Cond", "[", "", "]", "."], "ground_truth": ["getReg", "(", ")", ")", ".", "addMBB", "(", "TBB", ")", ";"], "File": "AlphaInstrInfo3", "Func": "InsertBranch", "Target": "Alpha", "Target_Clf": "MPU", "Compiler_Type": "LLVM", "Idx": 112858, "Length": 146, "Cover_Rate": 0.43452380952380953} {"Template_token": ["", "if", "(", "MI", "!=", "MBB", ".", "end", "(", ")", ")", "DL", "=", "MI", "->", "getDebugLoc", "(", ")", ";", "BuildMI", "(", "MBB", ",", "MI", ",", "DL", ",", "get", "(", "", ")", ",", "", ")", ".", "addReg"], "ground_truth": ["(", "", ")", ".", "addReg", "(", "", ")", ";"], "File": "AlphaInstrInfo3", "Func": "insertNoop", "Target": "Alpha", "Target_Clf": "MPU", "Compiler_Type": "LLVM", "Idx": 112859, "Length": 44, "Cover_Rate": 0.5641025641025641} {"Template_token": ["", "else", "if", "(", "RC", "==", "", ")", "BuildMI", "(", "MBB", ",", "MI", ",", "DL", ",", "get", "(", "", ")", ",", "DestReg", ")", ".", "addFrameIndex", "(", "FrameIdx", ")", ".", "addReg", "(", "", ")", ";", "else", "if", "(", "RC", "==", "", ")", "BuildMI", "(", "MBB", ",", "MI", ",", "DL", ",", "get", "(", "", ")", ",", "DestReg", ")", ".", "addFrameIndex", "("], "ground_truth": ["FrameIdx", ")", ".", "addReg", "(", "", ")", ";"], "File": "AlphaInstrInfo3", "Func": "loadRegFromStackSlot", "Target": "Alpha", "Target_Clf": "MPU", "Compiler_Type": "LLVM", "Idx": 112860, "Length": 66, "Cover_Rate": 0.3728813559322034} {"Template_token": ["", "if", "(", "MI", "!=", "MBB", ".", "end", "(", ")", ")", "DL", "=", "MI", "->", "getDebugLoc", "(", ")", ";", "if", "(", "RC", "==", "", ")", "BuildMI", "(", "MBB", ",", "MI", ",", "DL", ",", "get", "(", "", ")", ",", "DestReg", ")", ".", "addFrameIndex", "(", "FrameIdx", ")", ".", "addReg", "(", "", ")", ";", "else", "if", "(", "RC", "==", "", ")", "BuildMI", "(", "MBB", ",", "MI", ",", "DL", ",", "get", "(", "", ")", ",", "DestReg", ")", ".", "addFrameIndex", "(", "FrameIdx", ")", ".", "addReg", "(", "", ")", ";", "else", "if", "(", "RC", "==", "", ")", "BuildMI", "(", "MBB", ",", "MI", ",", "DL", ",", "get", "(", "", ")", ",", "DestReg", ")", ".", "addFrameIndex", "(", "FrameIdx", ")", ".", "addReg", "(", "", ")", ";", "else", "llvm_unreachable", "(", ""], "ground_truth": [")", ";"], "File": "AlphaInstrInfo3", "Func": "loadRegFromStackSlot", "Target": "Alpha", "Target_Clf": "MPU", "Compiler_Type": "LLVM", "Idx": 112861, "Length": 122, "Cover_Rate": 0.6892655367231638} {"Template_token": ["", "--", "I", ";", "if", "(", "I", "->", "getOpcode", "(", ")", "!=", "", "&&", "I", "->", "getOpcode", "(", ")", "!=", "", "&&", "I", "->", "getOpcode", "(", ")", "!=", "", ")", "return", "", ";", "I", "->", "eraseFromParent", "(", ")", ";", "I", "=", "MBB", ".", "end", "(", ")", ";", "if", "(", "I", "==", "MBB", ".", "begin"], "ground_truth": ["(", ")", ")", "return", "", ";"], "File": "AlphaInstrInfo3", "Func": "RemoveBranch", "Target": "Alpha", "Target_Clf": "MPU", "Compiler_Type": "LLVM", "Idx": 112862, "Length": 59, "Cover_Rate": 0.427536231884058} {"Template_token": ["", "DebugLoc", "DL", "=", "DebugLoc", "::", "getUnknownLoc", "(", ")", ";", "if", "(", "MI", "!=", "MBB", ".", "end", "(", ")", ")", "DL", "=", "MI", "->", "getDebugLoc", "(", ")", ";", "if", "(", "RC", "==", "", ")", "BuildMI", "(", "MBB", ",", "MI", ",", "DL", ",", "get", "(", "", ")", ")", ".", "addReg", "(", "SrcReg", ","], "ground_truth": ["getKillRegState", "(", "isKill", ")", ")", ".", "addFrameIndex", "(", "FrameIdx", ")", ".", "addReg", "(", "", ")", ";"], "File": "AlphaInstrInfo3", "Func": "storeRegToStackSlot", "Target": "Alpha", "Target_Clf": "MPU", "Compiler_Type": "LLVM", "Idx": 112863, "Length": 67, "Cover_Rate": 0.3284313725490196} {"Template_token": ["", "MachineInstr", "*", "InstrInfo", "::", "foldMemoryOperandImpl", "(", "MachineFunction", "&", "MF", ",", "MachineInstr", "*", "MI", ",", "const", "SmallVectorImpl", "<", "unsigned", ">", "&", "Ops", ",", "int", "FrameIndex", ")", "const", "{", "if", "(", "Ops", ".", "size", "(", ")", "!=", "", ")", "return", "NULL", ";", "unsigned", "Opc", "=", "MI", "->", "getOpcode", "(", ")", ";", "MachineInstr", "*", "NewMI", "=", "NULL", ";", "switch", "(", "Opc", ")", "{", "default", ":", "break", ";", "case", "", ":", "case", "", ":", "case", "", ":", "if", "(", "MI", "->", "getOperand", "(", "", ")", ".", "getReg", "(", ")", "==", "MI", "->", "getOperand", "(", "", ")", ".", "getReg", "(", ")", ")", "{", "if", "(", "Ops", "[", "", "]", "==", "", ")", "{", "unsigned", "InReg", "=", "MI", "->", "getOperand", "(", "", ")", ".", "getReg", "(", ")", ";", "bool", "isKill", "=", "MI", "->", "getOperand", "(", "", ")", ".", "isKill", "(", ")", ";", "Opc", "=", "(", "Opc", "==", "", ")", "?", "", ":", "(", "(", "Opc", "==", "", ")", "?", "", ":", "", ")", ";", "NewMI", "=", "BuildMI", "(", "MF", ",", "MI", "->", "getDebugLoc", "(", ")", ",", "get", "(", "Opc", ")", ")", ".", "addReg", "(", "InReg", ",", "getKillRegState", "(", "isKill", ")", ")", ".", "addFrameIndex", "(", "FrameIndex", ")", ".", "addReg", "(", "", ")", ";", "}", "else", "{", "unsigned", "OutReg", "=", "MI", "->", "getOperand", "(", "", ")", ".", "getReg", "(", ")", ";", "bool", "isDead", "=", "MI", "->", "getOperand", "(", "", ")", ".", "isDead", "(", ")", ";", "Opc", "=", "(", "Opc", "==", "", ")", "?", "", ":", "(", "(", "Opc", "==", "", ")", "?", "", ":", "", ")", ";", "NewMI", "=", "BuildMI", "(", "MF", ",", "MI", "->", "getDebugLoc", "(", ")", ",", "get", "(", "Opc", ")", ")", ".", "addReg", "(", "OutReg", ",", "RegState", "::", "Define", "|", "getDeadRegState", "(", "isDead", ")", ")", ".", "addFrameIndex", "(", "FrameIndex", ")", ".", "addReg", "(", "", ")", ";", "}", "}", "break", ";", "}", "return", "NewMI"], "ground_truth": [";"], "File": "AlphaInstrInfo5", "Func": "foldMemoryOperandImpl", "Target": "Alpha", "Target_Clf": "MPU", "Compiler_Type": "LLVM", "Idx": 112864, "Length": 299, "Cover_Rate": 0.906060606060606} {"Template_token": ["", "DebugLoc", "DL", "=", "DebugLoc", "::", "getUnknownLoc", "(", ")", ";", "MachineInstrBuilder", "MIB", "=", "BuildMI", "(", "MF", ",", "DL", ",", "get", "(", "Opc", ")", ",", "DestReg", ")", ";", "for", "(", "unsigned", "i", "=", "", ",", "e", "=", "Addr", ".", "size", "(", ")", ";", "i", "!=", "e", ";", "++", "i", ")", "MIB", ".", "addOperand", "(", "Addr", "[", "i", "]", ")", ";", "NewMIs", ".", "push_back", "(", "MIB"], "ground_truth": [")", ";"], "File": "AlphaInstrInfo5", "Func": "loadRegFromAddr", "Target": "Alpha", "Target_Clf": "MPU", "Compiler_Type": "LLVM", "Idx": 112865, "Length": 65, "Cover_Rate": 0.42207792207792205} {"Template_token": ["", "unsigned", "Opc", "=", "", ";", "if", "(", "RC", "==", "", ")", "Opc", "=", "", ";", "else", "if", "(", "RC", "==", "", ")", "Opc", "=", "", ";", "else", "if", "(", "RC", "==", "", ")", "Opc", "=", "", ";", "else", "abort", "(", ")", ";", "DebugLoc", "DL", "=", "DebugLoc", "::", "getUnknownLoc", "(", ")", ";", "MachineInstrBuilder", "MIB", "=", "BuildMI", "(", "MF", ",", "DL", ",", "get", "(", "Opc", ")", ",", "DestReg", ")", ";", "for", "(", "unsigned", "i", "=", "", ",", "e", "=", "Addr", ".", "size", "(", ")", ";", "i", "!="], "ground_truth": ["e", ";", "++", "i", ")", "MIB", ".", "addOperand", "(", "Addr", "[", "i", "]", ")", ";"], "File": "AlphaInstrInfo5", "Func": "loadRegFromAddr", "Target": "Alpha", "Target_Clf": "MPU", "Compiler_Type": "LLVM", "Idx": 112866, "Length": 100, "Cover_Rate": 0.6493506493506493} {"Template_token": ["", "if", "(", "MI", "!=", "MBB", ".", "end", "(", ")", ")", "DL", "=", "MI", "->", "getDebugLoc", "(", ")", ";", "if", "(", "RC", "==", "", ")", "BuildMI", "(", "MBB", ",", "MI", ",", "DL", ",", "get", "(", "", ")", ",", "DestReg", ")", ".", "addFrameIndex", "(", "FrameIdx", ")", ".", "addReg", "(", "", ")", ";", "else", "if", "(", "RC", "==", "", ")", "BuildMI", "(", "MBB", ",", "MI", ",", "DL", ",", "get", "(", "", ")", ","], "ground_truth": ["DestReg", ")", ".", "addFrameIndex", "(", "FrameIdx", ")", ".", "addReg", "(", "", ")", ";"], "File": "AlphaInstrInfo5", "Func": "loadRegFromStackSlot", "Target": "Alpha", "Target_Clf": "MPU", "Compiler_Type": "LLVM", "Idx": 112867, "Length": 83, "Cover_Rate": 0.4715909090909091} {"Template_token": ["", "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": "AlphaInstrInfo5", "Func": "storeRegToAddr", "Target": "Alpha", "Target_Clf": "MPU", "Compiler_Type": "LLVM", "Idx": 112868, "Length": 73, "Cover_Rate": 0.44242424242424244} {"Template_token": ["", "if", "(", "RC", "==", "", ")", "BuildMI", "(", "MBB", ",", "MI", ",", "DL", ",", "get", "(", "", ")", ")", ".", "addReg", "(", "SrcReg", ",", "getKillRegState", "(", "isKill", ")", ")", ".", "addFrameIndex", "(", "FrameIdx", ")", ".", "addReg", "(", "", ")", ";", "else", "if", "(", "RC", "==", "", ")", "BuildMI", "(", "MBB", ",", "MI", ",", "DL", ",", "get", "(", "", ")", ")", ".", "addReg", "(", "SrcReg", ",", "getKillRegState", "(", "isKill", ")", ")", ".", "addFrameIndex", "(", "FrameIdx", ")", ".", "addReg", "(", "", ")", ";", "else", "if", "(", "RC", "==", "", ")", "BuildMI", "(", "MBB", ",", "MI", ",", "DL", ",", "get", "(", "", ")", ")", ".", "addReg", "(", "SrcReg", ",", "getKillRegState", "(", "isKill", ")", ")", ".", "addFrameIndex", "(", "FrameIdx", ")", ".", "addReg", "(", "", ")", ";", "else", "abort", "("], "ground_truth": [")", ";"], "File": "AlphaInstrInfo5", "Func": "storeRegToStackSlot", "Target": "Alpha", "Target_Clf": "MPU", "Compiler_Type": "LLVM", "Idx": 112869, "Length": 127, "Cover_Rate": 0.625615763546798} {"Template_token": ["", "else", "if", "(", "RC", "==", "", ")", "Opc", "=", "", ";", "else", "if", "(", "RC", "==", "", ")", "Opc", "=", "", ";", "else", "abort", "(", ")", ";", "DebugLoc", "DL", "=", "DebugLoc", "::", "getUnknownLoc", "(", ")", ";", "MachineInstrBuilder", "MIB", "=", "BuildMI", "(", "MF", ",", "DL", ",", "get", "(", "Opc", ")", ")", ".", "addReg", "(", "SrcReg"], "ground_truth": [",", "false", ",", "false", ",", "isKill", ")", ";"], "File": "AlphaInstrInfo6", "Func": "storeRegToAddr", "Target": "Alpha", "Target_Clf": "MPU", "Compiler_Type": "LLVM", "Idx": 112870, "Length": 62, "Cover_Rate": 0.37349397590361444} {"Template_token": ["", "if", "(", "RC", "==", "", ")", "BuildMI", "(", "MBB", ",", "MI", ",", "DL", ",", "get", "(", "", ")", ")", ".", "addReg", "(", "SrcReg", ",", "false", ",", "false", ",", "isKill", ")", ".", "addFrameIndex", "(", "FrameIdx", ")", ".", "addReg", "(", "", ")", ";", "else", "if", "(", "RC", "==", "", ")", "BuildMI", "(", "MBB", ",", "MI", ",", "DL", ",", "get", "(", "", ")", ")", ".", "addReg", "(", "SrcReg", ",", "false", ",", "false", ",", "isKill", ")", ".", "addFrameIndex", "(", "FrameIdx", ")", ".", "addReg", "(", "", ")", ";", "else", "if", "(", "RC", "==", "", ")", "BuildMI", "(", "MBB", ",", "MI", ",", "DL", ",", "get", "(", "", ")", ")", ".", "addReg", "(", "SrcReg", ",", "false", ",", "false", ",", "isKill", ")", ".", "addFrameIndex", "(", "FrameIdx", ")", ".", "addReg", "(", "", ")", ";", "else", "abort", "("], "ground_truth": [")", ";"], "File": "AlphaInstrInfo6", "Func": "storeRegToStackSlot", "Target": "Alpha", "Target_Clf": "MPU", "Compiler_Type": "LLVM", "Idx": 112871, "Length": 130, "Cover_Rate": 0.6310679611650486} {"Template_token": ["", "if", "(", "RC", "==", "", ")", "BuildMI", "(", "MBB", ",", "MI", ",", "DL", ",", "get", "(", "", ")", ")", ".", "addReg", "(", "SrcReg", ",", "false", ",", "false", ",", "isKill", ")", ".", "addFrameIndex", "(", "FrameIdx", ")", ".", "addReg", "(", "", ")", ";", "else", "if", "(", "RC", "==", "", ")", "BuildMI", "(", "MBB", ",", "MI", ",", "DL", ",", "get", "(", "", ")", ")", ".", "addReg", "(", "SrcReg", ",", "false", ",", "false", ",", "isKill", ")", ".", "addFrameIndex", "(", "FrameIdx", ")", ".", "addReg", "(", "", ")", ";", "else", "if", "(", "RC", "==", "", ")", "BuildMI", "(", "MBB", ",", "MI", ",", "DL", ",", "get", "(", "", ")", ")", ".", "addReg", "(", "SrcReg", ",", "false", ",", "false", ",", "isKill", ")", ".", "addFrameIndex", "(", "FrameIdx", ")", ".", "addReg", "(", "", ")", ";", "else", "abort", "("], "ground_truth": [")", ";"], "File": "AlphaInstrInfo6", "Func": "storeRegToStackSlot", "Target": "Alpha", "Target_Clf": "MPU", "Compiler_Type": "LLVM", "Idx": 112872, "Length": 130, "Cover_Rate": 0.6310679611650486} {"Template_token": ["", "case", "", ":", "return", "", ";", "case", "", ":", "return", "", ";", "case", "", ":", "return", "", ";", "case", "", ":", "return", "", ";", "case", "", ":", "return", "", ";", "case", "", ":", "return", "", ";", "case", "", ":", "return", "", ";", "case", "", ":", "return", "", ";", "default", ":", "llvm_unreachable", "(", "", ")", ";", "}", "return", ""], "ground_truth": [";"], "File": "AlphaInstrInfo", "Func": "AlphaRevCondCode", "Target": "Alpha", "Target_Clf": "MPU", "Compiler_Type": "LLVM", "Idx": 112873, "Length": 59, "Cover_Rate": 0.3575757575757576} {"Template_token": ["", "if", "(", "!", "isUnpredicatedTerminator", "(", "I", ")", ")", "return", "false", ";", "MachineInstr", "*", "LastInst", "=", "I", ";", "if", "(", "I", "==", "MBB", ".", "begin", "(", ")", "||", "!", "isUnpredicatedTerminator", "(", "--", "I", ")", ")", "{", "if", "(", "LastInst", "->", "getOpcode", "(", ")", "==", "", ")", "{", "TBB", "=", "LastInst", "->", "getOperand", "(", "", ")", ".", "getMBB", "(", ")", ";", "return", "false", ";", "}", "else", "if", "(", "LastInst", "->", "getOpcode", "(", ")", "==", "", "||", "LastInst", "->", "getOpcode", "(", ")", "==", "", ")", "{", "TBB", "=", "LastInst", "->", "getOperand", "(", "", ")", ".", "getMBB", "(", ")", ";", "Cond", ".", "push_back", "(", "LastInst", "->", "getOperand", "(", "", ")", ")", ";", "Cond", ".", "push_back", "(", "LastInst", "->", "getOperand", "(", "", ")", ")", ";", "return", "false", ";", "}", "return", "true", ";", "}", "MachineInstr", "*", "SecondLastInst", "=", "I", ";", "if", "(", "SecondLastInst", "&&", "I", "!=", "MBB", ".", "begin", "(", ")", "&&", "isUnpredicatedTerminator", "(", "--", "I", ")", ")", "return", "true", ";", "if", "(", "(", "SecondLastInst", "->", "getOpcode", "(", ")", "==", "", "||", "SecondLastInst", "->", "getOpcode", "(", ")", "==", "", ")", "&&", "LastInst", "->", "getOpcode", "(", ")", "==", "", ")", "{", "TBB", "=", "SecondLastInst", "->", "getOperand", "(", "", ")", ".", "getMBB", "(", ")", ";", "Cond", ".", "push_back", "(", "SecondLastInst", "->", "getOperand", "(", "", ")", ")", ";", "Cond", ".", "push_back", "(", "SecondLastInst", "->", "getOperand", "(", "", ")"], "ground_truth": [")", ";"], "File": "AlphaInstrInfo", "Func": "AnalyzeBranch", "Target": "Alpha", "Target_Clf": "MPU", "Compiler_Type": "LLVM", "Idx": 112874, "Length": 221, "Cover_Rate": 0.5637755102040817} {"Template_token": ["", "if", "(", "", ".", "contains", "(", "DestReg", ",", "SrcReg", ")", ")", "{", "BuildMI", "(", "MBB", ",", "MI", ",", "DL", ",", "get", "(", "", ")", ",", "DestReg", ")", ".", "addReg", "(", "SrcReg", ")", ".", "addReg", "(", "SrcReg", ",", "getKillRegState", "(", "KillSrc", ")", ")", ";", "}", "else", "if", "(", "", ".", "contains", "(", "DestReg", ",", "SrcReg", ")", ")", "{", "BuildMI", "(", "MBB", ",", "MI", ",", "DL", ",", "get", "(", "", ")", ",", "DestReg", ")", ".", "addReg", "(", "SrcReg", ")", ".", "addReg", "(", "SrcReg", ",", "getKillRegState", "(", "KillSrc", ")", ")", ";", "}", "else", "if", "(", "", ".", "contains", "(", "DestReg", ",", "SrcReg", ")", ")", "{", "BuildMI", "(", "MBB", ",", "MI", ",", "DL", ",", "get", "(", "", ")", ",", "DestReg", ")", ".", "addReg", "(", "SrcReg"], "ground_truth": [")", ".", "addReg", "(", "SrcReg", ",", "getKillRegState", "(", "KillSrc", ")", ")", ";"], "File": "AlphaInstrInfo", "Func": "copyPhysReg", "Target": "Alpha", "Target_Clf": "MPU", "Compiler_Type": "LLVM", "Idx": 112875, "Length": 133, "Cover_Rate": 0.726775956284153} {"Template_token": ["", "if", "(", "", ".", "contains", "(", "DestReg", ",", "SrcReg", ")", ")", "{", "BuildMI", "(", "MBB", ",", "MI", ",", "DL", ",", "get", "(", "", ")", ",", "DestReg", ")", ".", "addReg", "(", "SrcReg", ")", ".", "addReg", "(", "SrcReg", ",", "getKillRegState", "(", "KillSrc", ")", ")", ";", "}", "else", "if", "(", "", ".", "contains", "(", "DestReg", ",", "SrcReg", ")", ")", "{", "BuildMI", "(", "MBB", ",", "MI", ",", "DL", ",", "get", "(", "", ")", ",", "DestReg", ")", ".", "addReg", "(", "SrcReg", ")", ".", "addReg", "(", "SrcReg", ",", "getKillRegState", "(", "KillSrc", ")", ")", ";", "}", "else", "if", "(", "", ".", "contains", "(", "DestReg", ",", "SrcReg", ")", ")", "{", "BuildMI", "(", "MBB", ",", "MI", ",", "DL", ",", "get", "(", "", ")", ",", "DestReg", ")", ".", "addReg"], "ground_truth": ["(", "SrcReg", ")", ".", "addReg", "(", "SrcReg", ",", "getKillRegState", "(", "KillSrc", ")", ")", ";"], "File": "AlphaInstrInfo", "Func": "copyPhysReg", "Target": "Alpha", "Target_Clf": "MPU", "Compiler_Type": "LLVM", "Idx": 112876, "Length": 133, "Cover_Rate": 0.726775956284153} {"Template_token": ["", "virtual", "MachineInstr", "*", "foldMemoryOperandImpl", "(", "MachineFunction", "&", "MF", ",", "MachineInstr", "*", "MI", ",", "const", "SmallVectorImpl", "<", "unsigned", ">", "&", "Ops", ",", "MachineInstr", "*", "LoadMI", ")", "const", "{", "return", ""], "ground_truth": [";"], "File": "AlphaInstrInfo", "Func": "foldMemoryOperandImpl", "Target": "Alpha", "Target_Clf": "MPU", "Compiler_Type": "LLVM", "Idx": 112877, "Length": 30, "Cover_Rate": 0.967741935483871} {"Template_token": ["", "virtual", "MachineInstr", "*", "foldMemoryOperandImpl", "(", "MachineFunction", "&", "MF", ",", "MachineInstr", "*", "MI", ",", "const", "SmallVectorImpl", "<", "unsigned", ">", "&", "Ops", ",", "MachineInstr", "*", "LoadMI"], "ground_truth": [")", "const", "{"], "File": "AlphaInstrInfo", "Func": "foldMemoryOperandImpl", "Target": "Alpha", "Target_Clf": "MPU", "Compiler_Type": "LLVM", "Idx": 112878, "Length": 27, "Cover_Rate": 0.8709677419354839} {"Template_token": ["", "MachineFunctionInfo", "*", "FI", "=", "MF", "->", "getInfo", "<", "MachineFunctionInfo", ">", "(", ")", ";", "unsigned", "GlobalBaseReg", "=", "FI", "->", "getGlobalBaseReg", "(", ")", ";", "if", "(", "GlobalBaseReg", "!=", "", ")", "return", "GlobalBaseReg", ";", "MachineBasicBlock", "&", "FirstMBB", "=", "MF", "->", "front", "(", ")", ";", "MachineBasicBlock", "::", "iterator", "MBBI", "="], "ground_truth": ["FirstMBB", ".", "begin", "(", ")", ";"], "File": "AlphaInstrInfo", "Func": "getGlobalBaseReg", "Target": "Alpha", "Target_Clf": "MPU", "Compiler_Type": "LLVM", "Idx": 112879, "Length": 52, "Cover_Rate": 0.348993288590604} {"Template_token": ["", "MachineBasicBlock", "::", "iterator", "MBBI", "=", "FirstMBB", ".", "begin", "(", ")", ";", "MachineRegisterInfo", "&", "RegInfo", "=", "MF", "->", "getRegInfo", "(", ")", ";", "const", "TargetInstrInfo", "*", "TII", "=", "MF", "->", "getTarget", "(", ")", ".", "getInstrInfo", "(", ")", ";", "GlobalRetAddr", "=", "RegInfo", ".", "createVirtualRegister", "(", "&", "", ")", ";", "BuildMI", "(", "FirstMBB", ",", "MBBI", ",", "DebugLoc", "(", ")", ",", "TII", "->", "get", "(", "TargetOpcode", "::", "COPY", ")", ",", "GlobalRetAddr", ")", ".", "addReg", "(", "", ")", ";", "RegInfo", ".", "addLiveIn", "(", "", ")", ";", "FI", "->", "setGlobalRetAddr", "("], "ground_truth": ["GlobalRetAddr", ")", ";"], "File": "AlphaInstrInfo", "Func": "getGlobalRetAddr", "Target": "Alpha", "Target_Clf": "MPU", "Compiler_Type": "LLVM", "Idx": 112880, "Length": 87, "Cover_Rate": 0.5838926174496645} {"Template_token": ["", "virtual", "const", "RegisterInfo", "&", "getRegisterInfo", "("], "ground_truth": [")", "const", "{"], "File": "AlphaInstrInfo", "Func": "getRegisterInfo", "Target": "Alpha", "Target_Clf": "MPU", "Compiler_Type": "LLVM", "Idx": 112881, "Length": 9, "Cover_Rate": 0.6923076923076923} {"Template_token": ["", "virtual", "const", "RegisterInfo", "&", "getRegisterInfo", "(", ")", "const", "{", "return", "RI"], "ground_truth": [";"], "File": "AlphaInstrInfo", "Func": "getRegisterInfo", "Target": "Alpha", "Target_Clf": "MPU", "Compiler_Type": "LLVM", "Idx": 112882, "Length": 12, "Cover_Rate": 0.9230769230769231} {"Template_token": ["", "void", "InstrInfo", "::", "insertNoop", "(", "MachineBasicBlock", "&", "MBB", ",", "MachineBasicBlock", "::", "iterator", "MI", ")", "const", "{", "DebugLoc"], "ground_truth": ["DL", ";"], "File": "AlphaInstrInfo", "Func": "insertNoop", "Target": "Alpha", "Target_Clf": "MPU", "Compiler_Type": "LLVM", "Idx": 112883, "Length": 19, "Cover_Rate": 0.35185185185185186} {"Template_token": ["", "static", "bool", "isIntCondCode", "(", "unsigned", "Opcode", ")", "{", "switch", "(", "Opcode", ")", "{", "case", "", ":", "case", "", ":", "case", "", ":", "case", "", ":", "case", "", ":", "case", "", ":", "case", "", ":", "case", ""], "ground_truth": [":"], "File": "AlphaInstrInfo", "Func": "isAlphaIntCondCode", "Target": "Alpha", "Target_Clf": "MPU", "Compiler_Type": "LLVM", "Idx": 112884, "Length": 37, "Cover_Rate": 0.5873015873015873} {"Template_token": ["", "else", "if", "(", "RC", "==", "", ")", "BuildMI", "(", "MBB", ",", "MI", ",", "DL", ",", "get", "(", "", ")", ",", "DestReg", ")", ".", "addFrameIndex", "(", "FrameIdx", ")", ".", "addReg", "(", "", ")", ";", "else", "if", "(", "RC", "==", "", ")", "BuildMI", "(", "MBB", ",", "MI", ",", "DL", ",", "get", "(", "", ")", ",", "DestReg", ")"], "ground_truth": [".", "addFrameIndex", "(", "FrameIdx", ")", ".", "addReg", "(", "", ")", ";"], "File": "AlphaInstrInfo", "Func": "loadRegFromStackSlot", "Target": "Alpha", "Target_Clf": "MPU", "Compiler_Type": "LLVM", "Idx": 112885, "Length": 66, "Cover_Rate": 0.375} {"Template_token": ["", "bool", "InstrInfo", "::", "ReverseBranchCondition", "(", "SmallVectorImpl", "<", "MachineOperand", ">", "&", "Cond", ")", "const", "{", "assert", "(", "Cond", ".", "size", "(", ")", "==", ""], "ground_truth": ["&&", "", ")", ";"], "File": "AlphaInstrInfo", "Func": "ReverseBranchCondition", "Target": "Alpha", "Target_Clf": "MPU", "Compiler_Type": "LLVM", "Idx": 112886, "Length": 27, "Cover_Rate": 0.5294117647058824} {"Template_token": ["", "void", "InstrInfo", "::", "storeRegToStackSlot", "(", "MachineBasicBlock", "&", "MBB", ",", "MachineBasicBlock", "::", "iterator", "MI", ",", "unsigned", "SrcReg", ",", "bool", "isKill", ",", "int", "FrameIdx", ",", "const", "TargetRegisterClass", "*", "RC", ",", "const", "TargetRegisterInfo", "*", "TRI", ")", "const", "{", "DebugLoc", "DL", ";", "if", "(", "MI", "!=", "MBB", ".", "end", "(", ")", ")", "DL", "=", "MI", "->", "getDebugLoc", "(", ")", ";", "if", "(", "RC", "==", "", ")", "BuildMI", "(", "MBB", ",", "MI", ",", "DL", ",", "get", "(", "", ")", ")", ".", "addReg", "(", "SrcReg", ",", "getKillRegState", "(", "isKill", ")", ")", ".", "addFrameIndex"], "ground_truth": ["(", "FrameIdx", ")", ".", "addReg", "(", "", ")", ";"], "File": "AlphaInstrInfo", "Func": "storeRegToStackSlot", "Target": "Alpha", "Target_Clf": "MPU", "Compiler_Type": "LLVM", "Idx": 112887, "Length": 96, "Cover_Rate": 0.4729064039408867} {"Template_token": ["", "FunctionPass", "*", "llvm", "::", "createISelDag", "(", "TargetMachine", "&", "TM", ")", "{", "return", "new", "DAGToDAGISel", "("], "ground_truth": ["TM", ")", ";"], "File": "AlphaISelDAGToDAG1", "Func": "createAlphaISelDag", "Target": "Alpha", "Target_Clf": "MPU", "Compiler_Type": "LLVM", "Idx": 112888, "Length": 18, "Cover_Rate": 0.9473684210526315} {"Template_token": ["", "unsigned", "GlobalBaseReg", "=", "getInstrInfo", "(", ")", "->"], "ground_truth": ["getGlobalBaseReg", "(", "MF", ")", ";"], "File": "AlphaISelDAGToDAG1", "Func": "getGlobalBaseReg", "Target": "Alpha", "Target_Clf": "MPU", "Compiler_Type": "LLVM", "Idx": 112889, "Length": 12, "Cover_Rate": 0.3076923076923077} {"Template_token": ["", "return", "getTargetMachine", "(", ")", ".", "getInstrInfo", "("], "ground_truth": [")", ";"], "File": "AlphaISelDAGToDAG1", "Func": "getInstrInfo", "Target": "Alpha", "Target_Clf": "MPU", "Compiler_Type": "LLVM", "Idx": 112890, "Length": 9, "Cover_Rate": 0.5294117647058824} {"Template_token": ["", "unsigned", "at", "=", "CountLeadingZeros_64", "(", "x", ")", ";", "uint64_t", "complow", "=", "", "<<", "(", "", "-", "at", ")", ";", "uint64_t", "comphigh", "=", "", "<<", "(", "", "-", "at", ")", ";", "if", "(", "abs64", "(", "complow", "-", "x", ")", "<=", "abs64", "(", "comphigh", "-", "x", ")", ")", "return", "complow", ";", "else", "return"], "ground_truth": ["comphigh", ";"], "File": "AlphaISelDAGToDAG1", "Func": "getNearPower2", "Target": "Alpha", "Target_Clf": "MPU", "Compiler_Type": "LLVM", "Idx": 112891, "Length": 53, "Cover_Rate": 0.7571428571428571} {"Template_token": ["", "virtual", "const", "char", "*", "getPassName", "("], "ground_truth": [")", "const", "{"], "File": "AlphaISelDAGToDAG1", "Func": "getPassName", "Target": "Alpha", "Target_Clf": "MPU", "Compiler_Type": "LLVM", "Idx": 112892, "Length": 9, "Cover_Rate": 0.6923076923076923} {"Template_token": ["", "return", "static_cast", "<", "const", "TargetMachine", "&", ">", "(", "TM"], "ground_truth": [")", ";"], "File": "AlphaISelDAGToDAG1", "Func": "getTargetMachine", "Target": "Alpha", "Target_Clf": "MPU", "Compiler_Type": "LLVM", "Idx": 112893, "Length": 11, "Cover_Rate": 0.5789473684210527} {"Template_token": ["", "static", "int64_t", "get_lda16", "(", "int64_t", "x", ")", "{", "return", "x", "-", "get_ldah16", "(", "x"], "ground_truth": [")", "*", "IMM_MULT", ";"], "File": "AlphaISelDAGToDAG1", "Func": "get_lda16", "Target": "Alpha", "Target_Clf": "MPU", "Compiler_Type": "LLVM", "Idx": 112894, "Length": 18, "Cover_Rate": 0.9473684210526315} {"Template_token": ["", "return", "x", "-", "get_ldah16", "(", "x", ")", "*"], "ground_truth": ["IMM_MULT", ";"], "File": "AlphaISelDAGToDAG1", "Func": "get_lda16", "Target": "Alpha", "Target_Clf": "MPU", "Compiler_Type": "LLVM", "Idx": 112895, "Length": 10, "Cover_Rate": 0.5263157894736842} {"Template_token": ["", "static", "int64_t", "get_ldah16", "(", "int64_t", "x", ")", "{", "int64_t", "y", "=", "x", "/", "IMM_MULT", ";", "if", "(", "x", "%", "IMM_MULT", ">", "IMM_HIGH", ")", "++", "y", ";", "return", "y"], "ground_truth": [";"], "File": "AlphaISelDAGToDAG1", "Func": "get_ldah16", "Target": "Alpha", "Target_Clf": "MPU", "Compiler_Type": "LLVM", "Idx": 112896, "Length": 29, "Cover_Rate": 0.9666666666666667} {"Template_token": ["", "static", "bool", "isFPZn", "(", "SDValue", "N", ")", "{", "ConstantFPSDNode", "*", "CN", "=", "dyn_cast", "<", "ConstantFPSDNode", ">", "(", "N"], "ground_truth": [")", ";"], "File": "AlphaISelDAGToDAG1", "Func": "isFPZn", "Target": "Alpha", "Target_Clf": "MPU", "Compiler_Type": "LLVM", "Idx": 112897, "Length": 20, "Cover_Rate": 0.5555555555555556} {"Template_token": ["", "ConstantFPSDNode", "*", "CN", "=", "dyn_cast", "<", "ConstantFPSDNode", ">", "(", "N", ")", ";", "return", "(", "CN", "&&", "CN", "->", "getValueAPF", "(", ")", ".", "isNegZero"], "ground_truth": ["(", ")", ")", ";"], "File": "AlphaISelDAGToDAG1", "Func": "isFPZn", "Target": "Alpha", "Target_Clf": "MPU", "Compiler_Type": "LLVM", "Idx": 112898, "Length": 27, "Cover_Rate": 0.75} {"Template_token": ["", "ConstantFPSDNode", "*", "CN", "=", "dyn_cast", "<", "ConstantFPSDNode"], "ground_truth": [">", "(", "N", ")", ";"], "File": "AlphaISelDAGToDAG1", "Func": "isFPZp", "Target": "Alpha", "Target_Clf": "MPU", "Compiler_Type": "LLVM", "Idx": 112899, "Length": 12, "Cover_Rate": 0.3333333333333333} {"Template_token": ["", "switch", "(", "CC", ")", "{", "default", ":", "DEBUG", "(", "N", "->", "dump", "(", "CurDAG", ")", ")", ";", "llvm_unreachable", "(", "", ")", ";", "case", "", ":", "case", "", ":", "case", "", ":", "Opc", "=", "", ";", "break", ";", "case", "", ":", "case", "", ":", "case", "", ":", "Opc", "=", "", ";", "break", ";", "case", "", ":", "case", "", ":", "case", "", ":", "Opc", "=", "", ";", "break", ";", "case", "", ":", "case", "", ":", "case", "", ":", "Opc", "=", "", ";", "rev", "=", "true", ";", "break", ";", "case", "", ":", "case", "", ":", "case", "", ":", "Opc", "=", "", ";", "rev", "=", "true", ";", "break", ";", "case", "", ":", "case", "", ":", "case", "", ":", "Opc", "=", "", ";", "inv", "=", "true", ";", "break", ";", "case", "", ":", "Opc", "=", "", ";", "inv", "=", "true", ";", "break", ";", "case", "", ":", "Opc", "=", "", ";", "break", ";", "}", ";", "SDValue", "tmp1", "=", "N", "->", "getOperand", "(", "rev", "?", "", ":", "", ")", ";", "SDValue", "tmp2", "=", "N", "->", "getOperand", "(", "rev", "?", "", ":", "", ")", ";", "SDNode", "*", "cmp", "=", "CurDAG", "->", "getMachineNode", "(", "Opc", ",", "dl", ",", "", ",", "tmp1", ",", "tmp2", ")", ";", "if", "(", "inv", ")", "cmp", "=", "CurDAG", "->", "getMachineNode", "(", "", ",", "dl", ",", "", ",", "SDValue", "(", "cmp", ",", "", ")", ",", "CurDAG", "->", "getRegister", "(", "", ",", "", ")", ")", ";", "switch", "(", "CC", ")", "{", "case", "", ":", "case", "", ":", "case", "", ":", "case", "", ":", "case", "", ":", "case", "", ":", "{", "SDNode", "*", "cmp2", "=", "CurDAG", "->", "getMachineNode", "(", "", ",", "dl", ",", "", ",", "tmp1", ",", "tmp2", ")", ";", "cmp", "=", "CurDAG", "->", "getMachineNode", "(", "", ",", "dl", ",", "", ",", "SDValue", "(", "cmp2", ",", "", ")", ",", "SDValue", "(", "cmp", ",", "", ")", ")", ";", "break", ";", "}", "default", ":", "break", ";", "}", "SDNode", "*", "LD", "=", "CurDAG", "->", "getMachineNode", "(", "", ",", "dl", ",", "", ",", "SDValue", "(", "cmp", ",", "", ")", ")", ";", "return", "CurDAG", "->", "getMachineNode", "(", "", ",", "dl", ",", "", ",", "CurDAG", "->", "getRegister", "(", "", ",", "", ")", ",", "SDValue", "(", "LD", ",", "", ")", ")", ";", "}", "break", ";", "case", "", ":", "{", "ConstantSDNode", "*", "SC", "=", "NULL", ";", "ConstantSDNode", "*", "MC", "=", "NULL", ";", "if", "(", "N", "->", "getOperand", "(", "", ")", ".", "getOpcode", "(", ")", "==", "", "&&", "(", "MC", "=", "dyn_cast", "<", "ConstantSDNode", ">", "(", "N", "->", "getOperand", "(", "", ")", ")", ")", "&&", "(", "SC", "=", "dyn_cast", "<", "ConstantSDNode", ">", "(", "N", "->", "getOperand", "(", "", ")", ".", "getOperand", "(", "", ")", ")", ")", ")", "{", "uint64_t", "sval", "=", "SC", "->", "getZExtValue", "(", ")", ";", "uint64_t", "mval", "=", "MC", "->", "getZExtValue", "(", ")", ";", "if", "(", "get_zapImm", "(", "N", "->", "getOperand", "(", "", ")", ",", "mval", ")", ")", "break", ";", "uint64_t", "dontcare", "=", "(", "~", "", ")", ">>", "(", "", "-"], "ground_truth": ["sval", ")", ";"], "File": "AlphaISelDAGToDAG1", "Func": "Select", "Target": "Alpha", "Target_Clf": "MPU", "Compiler_Type": "LLVM", "Idx": 112900, "Length": 478, "Cover_Rate": 0.31385423506237686} {"Template_token": ["", "Chain", "=", "CurDAG", "->", "getCopyToReg", "(", "Chain", ",", "dl", ",", "", ",", "GOT", ",", "InFlag", ")", ";", "InFlag", "=", "Chain", ".", "getValue", "(", "", ")", ";", "Chain", "=", "SDValue", "(", "CurDAG", "->", "getMachineNode", "(", "", ",", "dl", ",", "", ",", "", ",", "Addr", ".", "getOperand", "(", "", ")", ",", "Chain", ",", "InFlag", ")", ",", "", ")", ";", "}", "else", "{", "Chain", "=", "CurDAG", "->", "getCopyToReg", "(", "Chain", ",", "dl", ",", "", ",", "Addr", ",", "InFlag", ")", ";", "InFlag", "=", "Chain", ".", "getValue", "(", "", ")", ";", "Chain", "=", "SDValue", "(", "CurDAG", "->", "getMachineNode", "(", "", ",", "dl", ",", "", ",", "", ",", "Chain", ",", "InFlag", ")", ",", "", ")", ";", "}", "InFlag", "=", "Chain", ".", "getValue", "("], "ground_truth": ["", ")", ";"], "File": "AlphaISelDAGToDAG1", "Func": "SelectCALL", "Target": "Alpha", "Target_Clf": "MPU", "Compiler_Type": "LLVM", "Idx": 112901, "Length": 120, "Cover_Rate": 0.4979253112033195} {"Template_token": ["", "unsigned", "at", "=", "CountLeadingZeros_64", "(", "x", ")", ";", "uint64_t", "complow", "=", "", "<<", "(", "", "-", "at", ")", ";", "uint64_t", "comphigh", "=", "", "<<", "(", "", "-", "at"], "ground_truth": [")", ";"], "File": "AlphaISelDAGToDAG2", "Func": "getNearPower2", "Target": "Alpha", "Target_Clf": "MPU", "Compiler_Type": "LLVM", "Idx": 112902, "Length": 30, "Cover_Rate": 0.42857142857142855} {"Template_token": ["", "assert", "(", "RA", "&&", "", ")", ";", "return", "CurDAG", "->", "getCopyFromReg", "(", "CurDAG", "->", "getEntryNode", "(", ")", ",", "DebugLoc", "::", "getUnknownLoc", "("], "ground_truth": [")", ",", "RA", ",", "", ")", ";"], "File": "AlphaISelDAGToDAG3", "Func": "getGlobalRetAddr", "Target": "Alpha", "Target_Clf": "MPU", "Compiler_Type": "LLVM", "Idx": 112903, "Length": 29, "Cover_Rate": 0.31521739130434784} {"Template_token": ["", "if", "(", "abs", "(", "complow", "-", "x", ")", "<=", "abs", "(", "comphigh", "-", "x", ")", ")", "return", "complow", ";", "else", "return", "comphigh"], "ground_truth": [";"], "File": "AlphaISelDAGToDAG3", "Func": "getNearPower2", "Target": "Alpha", "Target_Clf": "MPU", "Compiler_Type": "LLVM", "Idx": 112904, "Length": 23, "Cover_Rate": 0.32857142857142857} {"Template_token": ["", "Result", "|=", "", "<<", "i", ";", "if", "(", "(", "(", "Constant", ">>", "", "*", "i", ")", "&", "", ")", "==", "", ")", "{", "}", "else", "if", "(", "LHS", ".", "getNode", "(", ")", "==", "", ")", "{", "}", "else", "{", "BitsToCheck", "|=", "~", "Constant", "&", "(", "", "<<", "", "*", "i", ")", ";", "}", "}", "}", "if", "(", "BitsToCheck", "&&", "!", "CurDAG", "->", "MaskedValueIsZero", "(", "LHS", ",", "APInt", "(", "LHS", ".", "getValueSizeInBits", "(", ")", ",", "BitsToCheck", ")", ")", ")", "return", "", ";", "return", "Result"], "ground_truth": [";"], "File": "AlphaISelDAGToDAG3", "Func": "get_zapImm", "Target": "Alpha", "Target_Clf": "MPU", "Compiler_Type": "LLVM", "Idx": 112905, "Length": 84, "Cover_Rate": 0.6} {"Template_token": ["", "DEBUG", "(", "BB", "->", "dump", "("], "ground_truth": [")", ")", ";"], "File": "AlphaISelDAGToDAG3", "Func": "InstructionSelect", "Target": "Alpha", "Target_Clf": "MPU", "Compiler_Type": "LLVM", "Idx": 112906, "Length": 9, "Cover_Rate": 0.3103448275862069} {"Template_token": ["", "void", "DAGToDAGISel", "::", "InstructionSelect", "(", ")", "{", "DEBUG", "(", "BB", "->", "dump"], "ground_truth": ["(", ")", ")", ";"], "File": "AlphaISelDAGToDAG3", "Func": "InstructionSelect", "Target": "Alpha", "Target_Clf": "MPU", "Compiler_Type": "LLVM", "Idx": 112907, "Length": 16, "Cover_Rate": 0.5517241379310345} {"Template_token": ["", "DebugLoc", "dl", "=", "N", "->", "getDebugLoc", "(", ")", ";", "if", "(", "Addr", ".", "getOpcode", "(", ")", "==", "", ")", "{", "SDValue", "GOT", "=", "SDValue", "(", "getGlobalBaseReg", "(", ")", ",", "", ")", ";", "Chain", "=", "CurDAG", "->", "getCopyToReg", "(", "Chain", ",", "dl", ",", "", ",", "GOT", ",", "InFlag", ")", ";", "InFlag", "=", "Chain", ".", "getValue", "(", "", ")", ";", "Chain", "=", "SDValue", "(", "CurDAG", "->", "getTargetNode", "(", "", ",", "dl", ",", "", ",", "", ",", "Addr", ".", "getOperand", "(", "", ")", ",", "Chain", ",", "InFlag", ")", ",", "", ")", ";", "}", "else", "{", "Chain", "=", "CurDAG", "->", "getCopyToReg", "(", "Chain", ",", "dl", ",", "", ",", "Addr", ",", "InFlag", ")", ";", "InFlag", "=", "Chain", ".", "getValue", "(", "", ")", ";", "Chain", "=", "SDValue", "(", "CurDAG", "->", "getTargetNode", "(", "", ",", "dl", ",", "", ",", "", ",", "Chain", ",", "InFlag", ")", ",", "", ")", ";", "}", "InFlag", "=", "Chain", ".", "getValue", "(", "", ")", ";", "ReplaceUses", "(", "Op", ".", "getValue", "(", "", ")"], "ground_truth": [",", "Chain", ")", ";"], "File": "AlphaISelDAGToDAG5", "Func": "SelectCALL", "Target": "Alpha", "Target_Clf": "MPU", "Compiler_Type": "LLVM", "Idx": 112908, "Length": 164, "Cover_Rate": 0.656} {"Template_token": ["", "static", "uint64_t", "getNearPower2", "(", "uint64_t", "x", ")", "{", "if", "(", "!", "x", ")", "return", "", ";", "unsigned", "at", "=", "CountLeadingZeros_64", "(", "x"], "ground_truth": [")", ";"], "File": "AlphaISelDAGToDAG7", "Func": "getNearPower2", "Target": "Alpha", "Target_Clf": "MPU", "Compiler_Type": "LLVM", "Idx": 112909, "Length": 24, "Cover_Rate": 0.4} {"Template_token": ["", "BitsToCheck", "|=", "~", "Constant", "&", "(", "", "<<", "", "*", "i", ")", ";", "}", "}", "}", "if", "(", "BitsToCheck", "&&", "!", "CurDAG", "->", "MaskedValueIsZero", "(", "LHS", ",", "APInt", "(", "LHS", ".", "getValueSizeInBits", "(", ")", ",", "BitsToCheck", ")", ")", ")", "return", "", ";", "return"], "ground_truth": ["Result", ";"], "File": "AlphaISelDAGToDAG7", "Func": "get_zapImm", "Target": "Alpha", "Target_Clf": "MPU", "Compiler_Type": "LLVM", "Idx": 112910, "Length": 45, "Cover_Rate": 0.3191489361702128} {"Template_token": ["", "SDValue", "Chain", "=", "N", "->", "getOperand", "(", "", ")", ";", "SDValue", "Addr", "=", "N", "->", "getOperand", "(", "", ")", ";", "SDValue", "InFlag", "=", "N", "->", "getOperand", "(", "N", "->", "getNumOperands", "(", ")", "-", "", ")", ";", "DebugLoc", "dl", "=", "N", "->", "getDebugLoc", "(", ")", ";", "if", "(", "Addr", ".", "getOpcode", "(", ")", "==", "", ")", "{", "SDValue", "GOT", "=", "SDValue", "(", "getGlobalBaseReg", "(", ")", ",", "", ")", ";", "Chain", "=", "CurDAG", "->", "getCopyToReg", "(", "Chain", ",", "dl", ",", "", ","], "ground_truth": ["GOT", ",", "InFlag", ")", ";"], "File": "AlphaISelDAGToDAG7", "Func": "SelectCALL", "Target": "Alpha", "Target_Clf": "MPU", "Compiler_Type": "LLVM", "Idx": 112911, "Length": 85, "Cover_Rate": 0.35269709543568467} {"Template_token": ["", "SDValue", "InFlag", "=", "N", "->", "getOperand", "(", "N", "->", "getNumOperands", "(", ")", "-", "", ")", ";", "DebugLoc", "dl", "=", "N", "->", "getDebugLoc", "(", ")", ";", "if", "(", "Addr", ".", "getOpcode", "(", ")", "==", "", ")", "{", "SDValue", "GOT", "=", "SDValue", "(", "getGlobalBaseReg", "(", ")", ",", "", ")", ";", "Chain", "=", "CurDAG", "->", "getCopyToReg", "(", "Chain", ",", "dl", ",", "", ",", "GOT", ",", "InFlag", ")", ";", "InFlag", "=", "Chain", "."], "ground_truth": ["getValue", "(", "", ")", ";"], "File": "AlphaISelDAGToDAG7", "Func": "SelectCALL", "Target": "Alpha", "Target_Clf": "MPU", "Compiler_Type": "LLVM", "Idx": 112912, "Length": 74, "Cover_Rate": 0.3070539419087137} {"Template_token": ["", "unsigned", "VReg", "=", "MF", ".", "getRegInfo", "(", ")", ".", "createVirtualRegister", "(", "RC", ")", ";", "MF", ".", "getRegInfo", "(", ")", ".", "addLiveIn", "(", "PReg", ",", "VReg", ")", ";", "return", "VReg"], "ground_truth": [";"], "File": "AlphaISelLowering1", "Func": "AddLiveIn", "Target": "Alpha", "Target_Clf": "MPU", "Compiler_Type": "LLVM", "Idx": 112913, "Length": 30, "Cover_Rate": 0.5084745762711864} {"Template_token": ["", "", "TargetLowering", "::", "getSetCCResultType", "(", "EVT", "VT", ")", "const", "{", "return"], "ground_truth": ["", ";"], "File": "AlphaISelLowering1", "Func": "getSetCCResultType", "Target": "Alpha", "Target_Clf": "MPU", "Compiler_Type": "LLVM", "Idx": 112914, "Length": 13, "Cover_Rate": 0.7222222222222222} {"Template_token": ["", "bool", "TargetLowering", "::", "isOffsetFoldingLegal", "(", "const", "GlobalAddressSDNode", "*", "GA", ")"], "ground_truth": ["const", "{"], "File": "AlphaISelLowering1", "Func": "isOffsetFoldingLegal", "Target": "Alpha", "Target_Clf": "MPU", "Compiler_Type": "LLVM", "Idx": 112915, "Length": 12, "Cover_Rate": 0.75} {"Template_token": ["", "bool", "TargetLowering", "::", "isOffsetFoldingLegal", "(", "const", "GlobalAddressSDNode", "*", "GA", ")", "const", "{", "return", "false"], "ground_truth": [";"], "File": "AlphaISelLowering1", "Func": "isOffsetFoldingLegal", "Target": "Alpha", "Target_Clf": "MPU", "Compiler_Type": "LLVM", "Idx": 112916, "Length": 15, "Cover_Rate": 0.9375} {"Template_token": ["", "CCValAssign", "&", "VA", "=", "ArgLocs", "[", "i", "]", ";", "SDValue", "Arg", "=", "Outs", "[", "i", "]", ".", "Val", ";", "switch", "(", "VA", ".", "getLocInfo", "(", ")", ")", "{", "default", ":", "assert", "(", "", "&&", "", ")", ";", "case", "CCValAssign", "::", "Full", ":", "break", ";", "case", "CCValAssign", "::", "SExt", ":", "Arg", "=", "DAG", ".", "getNode", "(", "", ",", "dl", ",", "VA", ".", "getLocVT", "(", ")", ",", "Arg", ")", ";", "break", ";", "case", "CCValAssign", "::", "ZExt", ":", "Arg", "=", "DAG", ".", "getNode", "(", "", ",", "dl", ",", "VA", ".", "getLocVT", "(", ")", ",", "Arg", ")", ";", "break", ";", "case", "CCValAssign", "::", "AExt", ":", "Arg", "=", "DAG", ".", "getNode", "(", "", ",", "dl", ",", "VA", ".", "getLocVT", "(", ")", ",", "Arg", ")", ";", "break", ";", "}", "if", "(", "VA", ".", "isRegLoc", "(", ")", ")", "{", "RegsToPass", ".", "push_back", "(", "std", "::", "make_pair", "(", "VA", ".", "getLocReg", "(", ")", ",", "Arg", ")", ")", ";", "}", "else", "{", "assert", "(", "VA", ".", "isMemLoc", "(", ")", ")", ";", "if", "(", "StackPtr", ".", "getNode", "(", ")", "==", "", ")", "StackPtr", "=", "DAG", ".", "getCopyFromReg", "(", "Chain", ",", "dl", ",", "", ",", "", ")", ";", "SDValue", "PtrOff", "=", "DAG", ".", "getNode", "(", "", ",", "dl", ",", "getPointerTy", "(", ")", ",", "StackPtr", ",", "DAG", ".", "getIntPtrConstant", "(", "VA", ".", "getLocMemOffset", "(", ")", ")", ")", ";", "MemOpChains", ".", "push_back", "(", "DAG", ".", "getStore", "(", "Chain", ",", "dl", ",", "Arg", ",", "PtrOff", ",", "PseudoSourceValue", "::", "getStack", "(", ")", ",", "", ",", "false", ",", "false", ",", "", ")", ")", ";", "}", "}", "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", "(", "", ")", ";", "}", "SDVTList", "NodeTys", "=", "DAG", ".", "getVTList", "(", "", ",", "", ")", ";", "SmallVector", "<", "SDValue", ",", "", ">", "Ops", ";", "Ops", ".", "push_back", "(", "Chain", ")", ";", "Ops", ".", "push_back", "(", "Callee", ")", ";", "for", "(", "unsigned", "i", "=", "", ",", "e", "=", "RegsToPass", ".", "size", "(", ")", ";", "i", "!=", "e", ";", "++", "i", ")", "Ops", ".", "push_back", "(", "DAG", ".", "getRegister", "(", "RegsToPass", "[", "i", "]", ".", "first", ",", "RegsToPass", "[", "i", "]", ".", "second"], "ground_truth": [".", "getValueType", "(", ")", ")", ")", ";"], "File": "AlphaISelLowering1", "Func": "LowerCall", "Target": "Alpha", "Target_Clf": "MPU", "Compiler_Type": "LLVM", "Idx": 112917, "Length": 431, "Cover_Rate": 0.57543391188251} {"Template_token": ["", "Chain", "=", "DAG", ".", "getCopyFromReg", "(", "Chain", ",", "dl", ",", "VA", ".", "getLocReg", "(", ")", ",", "VA", ".", "getLocVT", "(", ")", ",", "InFlag", ")", ".", "getValue", "(", "", ")", ";", "SDValue", "RetValue", "=", "Chain", ".", "getValue", "(", "", ")", ";", "InFlag", "=", "Chain", ".", "getValue", "(", "", ")", ";", "if", "(", "VA", ".", "getLocInfo", "(", ")", "==", "CCValAssign", "::", "SExt", ")", "RetValue", "=", "DAG", ".", "getNode", "(", "", ",", "dl", ",", "VA", ".", "getLocVT", "(", ")", ",", "RetValue", ",", "DAG", ".", "getValueType", "(", "VA", ".", "getValVT", "(", ")", ")", ")", ";", "else", "if", "(", "VA", ".", "getLocInfo", "(", ")", "==", "CCValAssign", "::", "ZExt", ")", "RetValue", "=", "DAG", ".", "getNode", "(", "", ",", "dl", ",", "VA", ".", "getLocVT", "(", ")", ",", "RetValue", ",", "DAG", ".", "getValueType", "(", "VA", ".", "getValVT", "(", ")", ")", ")", ";", "if", "(", "VA", ".", "getLocInfo", "(", ")", "!=", "CCValAssign", "::", "Full", ")", "RetValue", "=", "DAG", ".", "getNode", "(", "", ",", "dl", ",", "VA", ".", "getValVT", "(", ")", ",", "RetValue", ")", ";", "InVals", ".", "push_back", "(", "RetValue", ")", ";", "}", "return", "Chain"], "ground_truth": [";"], "File": "AlphaISelLowering1", "Func": "LowerCallResult", "Target": "Alpha", "Target_Clf": "MPU", "Compiler_Type": "LLVM", "Idx": 112918, "Length": 176, "Cover_Rate": 0.6006825938566553} {"Template_token": ["", "}", "}", "else", "{", "int", "FI", "=", "MFI", "->", "CreateFixedObject", "(", "", ",", "", "*", "(", "ArgNo", "-", "", ")", ",", "true", ",", "false", ")", ";", "SDValue", "FIN", "=", "DAG", ".", "getFrameIndex", "(", "FI", ",", "", ")", ";", "ArgVal", "=", "DAG", ".", "getLoad", "(", "ObjectVT", ",", "dl", ",", "Chain", ",", "FIN", ",", "NULL", ",", "", ",", "false", ",", "false", ",", "", ")", ";", "}", "InVals", ".", "push_back", "(", "ArgVal", ")", ";", "}", "if", "(", "isVarArg", ")", "{", "VarArgsOffset", "=", "Ins", ".", "size", "(", ")", "*", "", ";", "std", "::", "vector", "<", "SDValue", ">", "LS", ";", "for", "(", "int", "i", "=", "", ";", "i", "<", "", ";", "++", "i", ")", "{", "if", "(", "TargetRegisterInfo", "::", "isPhysicalRegister", "(", "args_int", "[", "i", "]", ")", ")", "args_int", "[", "i", "]", "=", "AddLiveIn", "(", "MF", ",", "args_int", "[", "i", "]", ",", "&", "", ")", ";", "SDValue", "argt", "=", "DAG", ".", "getCopyFromReg", "(", "Chain", ",", "dl", ",", "args_int", "[", "i", "]", ",", "", ")", ";", "int", "FI", "=", "MFI", "->", "CreateFixedObject", "(", "", ",", "-", "", "*", "(", "", "-", "i", ")", ",", "true", ",", "false", ")", ";", "if", "(", "i", "==", "", ")", "VarArgsBase", "=", "FI", ";", "SDValue", "SDFI", "=", "DAG", ".", "getFrameIndex", "(", "FI", ",", "", ")", ";", "LS", ".", "push_back", "(", "DAG", ".", "getStore", "(", "Chain", ",", "dl", ",", "argt", ",", "SDFI", ",", "NULL", ",", "", ",", "false", ",", "false", ",", "", ")", ")", ";", "if", "(", "TargetRegisterInfo", "::", "isPhysicalRegister", "(", "args_float", "[", "i", "]", ")", ")", "args_float", "[", "i", "]", "=", "AddLiveIn", "(", "MF", ",", "args_float", "[", "i", "]", ",", "&", "", ")", ";", "argt", "=", "DAG", ".", "getCopyFromReg", "(", "Chain", ",", "dl", ",", "args_float", "[", "i", "]"], "ground_truth": [",", "", ")", ";"], "File": "AlphaISelLowering1", "Func": "LowerFormalArguments", "Target": "Alpha", "Target_Clf": "MPU", "Compiler_Type": "LLVM", "Idx": 112919, "Length": 280, "Cover_Rate": 0.39106145251396646} {"Template_token": ["", "SDValue", "JTI", "=", "DAG", ".", "getTargetJumpTable", "(", "JT", "->", "getIndex", "(", ")", ",", "PtrVT", ")", ";", "DebugLoc", "dl", "=", "Op", ".", "getDebugLoc", "(", ")", ";", "SDValue", "Hi", "=", "DAG", ".", "getNode", "(", "", ",", "dl", ",", "", ",", "JTI", ",", "DAG", ".", "getGLOBAL_OFFSET_TABLE", "(", "", ")", ")", ";", "SDValue", "Lo", "=", "DAG", ".", "getNode", "(", "", ",", "dl", ",", "", ",", "JTI", ",", "Hi", ")", ";", "return", "Lo"], "ground_truth": [";"], "File": "AlphaISelLowering1", "Func": "LowerJumpTable", "Target": "Alpha", "Target_Clf": "MPU", "Compiler_Type": "LLVM", "Idx": 112920, "Length": 69, "Cover_Rate": 0.6106194690265486} {"Template_token": ["", "EVT", "PtrVT", "=", "Op", ".", "getValueType", "(", ")", ";", "JumpTableSDNode", "*", "JT", "=", "cast", "<", "JumpTableSDNode", ">", "(", "Op", ")", ";", "SDValue", "JTI", "=", "DAG", ".", "getTargetJumpTable", "(", "JT", "->", "getIndex", "(", ")", ",", "PtrVT", ")", ";", "DebugLoc", "dl", "=", "Op", ".", "getDebugLoc", "(", ")", ";", "SDValue", "Hi", "=", "DAG", ".", "getNode", "(", "", ",", "dl", ",", "", ",", "JTI", ",", "DAG", ".", "getGLOBAL_OFFSET_TABLE", "(", "", ")", ")", ";", "SDValue", "Lo", "=", "DAG", ".", "getNode", "(", "", ",", "dl", ",", "", ",", "JTI", ","], "ground_truth": ["Hi", ")", ";"], "File": "AlphaISelLowering1", "Func": "LowerJumpTable", "Target": "Alpha", "Target_Clf": "MPU", "Compiler_Type": "LLVM", "Idx": 112921, "Length": 87, "Cover_Rate": 0.7699115044247787} {"Template_token": ["", "case", "", ":", "break", ";", "case", "", ":", "{", "EVT", "ArgVT", "=", "Outs", "[", "", "]", ".", "Val", ".", "getValueType", "(", ")", ";", "unsigned", "ArgReg", ";", "if", "(", "ArgVT", ".", "isInteger", "(", ")", ")", "ArgReg", "=", "", ";", "else", "{", "assert", "(", "ArgVT", ".", "isFloatingPoint", "(", ")", ")", ";", "ArgReg", "=", "", ";", "}", "Copy", "=", "DAG", ".", "getCopyToReg", "(", "Copy", ",", "dl", ",", "ArgReg", ",", "Outs", "[", "", "]", ".", "Val", ",", "Copy", ".", "getValue", "(", "", ")", ")", ";", "if", "(", "DAG", ".", "getMachineFunction", "(", ")", ".", "getRegInfo", "(", ")", ".", "liveout_empty", "(", ")", ")", "DAG", ".", "getMachineFunction", "(", ")", ".", "getRegInfo", "(", ")", ".", "addLiveOut", "(", "ArgReg", ")", ";", "break", ";", "}", "case", "", ":", "{", "EVT", "ArgVT", "=", "Outs", "[", "", "]", ".", "Val", ".", "getValueType", "(", ")", ";", "unsigned", "ArgReg1", ",", "ArgReg2", ";", "if", "(", "ArgVT", ".", "isInteger", "(", ")", ")", "{", "ArgReg1", "=", "", ";", "ArgReg2", "=", "", ";", "}", "else", "{", "assert", "(", "ArgVT", ".", "isFloatingPoint", "(", ")", ")", ";", "ArgReg1", "=", "", ";", "ArgReg2", "=", ""], "ground_truth": [";"], "File": "AlphaISelLowering1", "Func": "LowerReturn", "Target": "Alpha", "Target_Clf": "MPU", "Compiler_Type": "LLVM", "Idx": 112922, "Length": 175, "Cover_Rate": 0.3564154786150713} {"Template_token": ["", "LowerVAARG", "(", "N", ",", "Chain", ",", "DataPtr", ",", "DAG", ")", ";", "SDValue", "Res", "=", "DAG", ".", "getLoad", "(", "N", "->", "getValueType", "(", "", ")", ",", "dl", ",", "Chain", ",", "DataPtr", ",", "NULL", ",", "", ",", "false", ",", "false", ",", "", ")", ";", "Results", ".", "push_back", "(", "Res"], "ground_truth": [")", ";"], "File": "AlphaISelLowering1", "Func": "ReplaceNodeResults", "Target": "Alpha", "Target_Clf": "MPU", "Compiler_Type": "LLVM", "Idx": 112923, "Length": 49, "Cover_Rate": 0.3858267716535433} {"Template_token": ["", "LowerVAARG", "(", "N", ",", "Chain", ",", "DataPtr", ",", "DAG", ")", ";", "SDValue", "Res", "=", "DAG", ".", "getLoad", "(", "N", "->", "getValueType", "(", "", ")", ",", "dl", ",", "Chain", ",", "DataPtr", ",", "NULL", ",", "", ",", "false", ",", "false", ",", "", ")", ";", "Results", ".", "push_back", "(", "Res", ")", ";", "Results", ".", "push_back", "(", "SDValue", "(", "Res", ".", "getNode", "(", ")"], "ground_truth": [",", "", ")", ")", ";"], "File": "AlphaISelLowering1", "Func": "ReplaceNodeResults", "Target": "Alpha", "Target_Clf": "MPU", "Compiler_Type": "LLVM", "Idx": 112924, "Length": 65, "Cover_Rate": 0.5118110236220472} {"Template_token": ["", "setOperationAction", "(", "", ",", "", ",", "Expand", ")", ";", "setOperationAction", "(", "", ",", "", ",", "Expand", ")", ";", "setOperationAction", "(", "", ",", "", ",", "Custom", ")", ";", "setOperationAction", "(", "", ",", "", ",", "Expand", ")", ";", "setOperationAction", "(", "", ",", "", ",", "Custom", ")", ";", "if", "(", "!", "TM", ".", "getSubtarget", "<", "Subtarget", ">", "(", ")", ".", "hasCT", "(", ")", ")", "{", "setOperationAction", "(", "", ",", "", ",", "Expand", ")", ";", "setOperationAction", "(", "", ",", "", ",", "Expand", ")", ";", "setOperationAction", "(", "", ",", "", ",", "Expand", ")", ";", "}", "setOperationAction", "(", "", ",", "", ",", "Expand", ")", ";", "setOperationAction", "(", "", ",", "", ",", "Expand", ")", ";", "setOperationAction", "(", "", ",", "", ",", "Expand", ")", ";", "setOperationAction", "(", "", ",", "", ",", "Custom", ")", ";", "setOperationAction", "(", "", ",", "", ",", "Custom", ")", ";", "setOperationAction", "(", "", ",", "", ",", "Custom", ")", ";", "setOperationAction", "(", "", ",", "", ",", "Custom", ")", ";", "setOperationAction", "(", "", ",", "", ",", "Expand", ")", ";", "setOperationAction", "(", "", ",", "", ",", "Expand", ")", ";", "setOperationAction", "(", "", ",", "", ",", "Expand", ")", ";", "setOperationAction", "(", "", ",", "", ",", "Expand", ")", ";", "setOperationAction", "(", "", ",", "", ",", "Expand", ")", ";", "setOperationAction", "(", "", ",", "", ",", "Expand", ")", ";", "setOperationAction", "(", "", ",", "", ",", "Custom", ")", ";", "setOperationAction", "(", "", ",", "", ",", "Expand", ")", ";", "setOperationAction", "(", "", ",", "", ",", "Expand", ")", ";", "setOperationAction", "(", "", ",", "", ",", "Expand", ")", ";", "setOperationAction", "(", "", ",", "", ",", "Expand", ")", ";", "setOperationAction", "(", "", ",", "", ",", "Expand", ")", ";", "setOperationAction", "(", "", ",", "", ",", "Expand", ")", ";", "setOperationAction", "(", "", ",", "", ",", "Expand", ")", ";", "setOperationAction", "(", "", ",", "", ",", "Expand", ")", ";", "setOperationAction", "(", "", ",", "", ",", "Expand", ")", ";", "setOperationAction", "(", "", ",", "", ",", "Expand", ")", ";", "setOperationAction", "(", "", ",", "", ",", "Expand", ")", ";", "setOperationAction", "(", "", ",", "", ",", "Expand", ")", ";", "setOperationAction", "(", "", ",", "", ",", "Promote", ")", ";", "setOperationAction", "(", "", ",", "", ",", "Promote", ")", ";", "setOperationAction", "(", "", ",", "", ",", "Expand", ")", ";", "setOperationAction", "(", "", ",", "", ",", "Expand", ")", ";", "setOperationAction", "(", "", ",", "", ",", "Expand", ")", ";", "setOperationAction", "(", "", ",", "", ",", "Expand", ")", ";", "setOperationAction", "(", "", ","], "ground_truth": ["", ",", "Custom", ")", ";"], "File": "AlphaISelLowering2", "Func": "AlphaTargetLowering", "Target": "Alpha", "Target_Clf": "MPU", "Compiler_Type": "LLVM", "Idx": 112925, "Length": 387, "Cover_Rate": 0.40865892291446676} {"Template_token": ["", "case", "'f'", ":", "return", "VT", "==", "", "?", "std", "::", "make_pair", "(", "", ",", "", ")", ":", "std", "::", "make_pair", "(", "", ",", "", ")", ";", "}", "}", "return", "TargetLowering", "::", "getRegForInlineAsmConstraint", "("], "ground_truth": ["Constraint", ",", "VT", ")", ";"], "File": "AlphaISelLowering2", "Func": "getRegForInlineAsmConstraint", "Target": "Alpha", "Target_Clf": "MPU", "Compiler_Type": "LLVM", "Idx": 112926, "Length": 38, "Cover_Rate": 0.3619047619047619} {"Template_token": ["", "Value", "*", "CallOperandVal", "=", "info", ".", "CallOperandVal", ";", "if", "(", "CallOperandVal", "==", "NULL", ")", "return", "CW_Default", ";", "switch", "(", "*", "constraint", ")", "{", "default", ":", "weight", "=", "TargetLowering", "::", "getSingleConstraintMatchWeight", "(", "info", ",", "constraint", ")", ";", "break", ";", "case", "'f'", ":", "weight", "=", "CW_Register", ";", "break", ";", "}", "return", "weight"], "ground_truth": [";"], "File": "AlphaISelLowering2", "Func": "getSingleConstraintMatchWeight", "Target": "Alpha", "Target_Clf": "MPU", "Compiler_Type": "LLVM", "Idx": 112927, "Length": 51, "Cover_Rate": 0.68} {"Template_token": ["", "break", ";", "case", "CCValAssign", "::", "ZExt", ":", "Arg", "=", "DAG", ".", "getNode", "(", "", ",", "dl", ",", "VA", ".", "getLocVT", "(", ")", ",", "Arg", ")", ";", "break", ";", "case", "CCValAssign", "::", "AExt", ":", "Arg", "=", "DAG", ".", "getNode", "(", "", ",", "dl", ",", "VA", ".", "getLocVT", "(", ")", ",", "Arg", ")", ";", "break", ";", "}", "if", "(", "VA", ".", "isRegLoc", "(", ")", ")", "{", "RegsToPass", ".", "push_back", "(", "std", "::", "make_pair", "(", "VA", ".", "getLocReg", "(", ")", ",", "Arg", ")", ")", ";", "}", "else", "{", "assert", "(", "VA", ".", "isMemLoc", "(", ")", ")", ";", "if", "(", "StackPtr", ".", "getNode", "(", ")", "==", "", ")", "StackPtr", "=", "DAG", ".", "getCopyFromReg", "(", "Chain", ",", "dl", ",", "", ",", "", ")", ";", "SDValue", "PtrOff", "=", "DAG", ".", "getNode", "(", "", ",", "dl", ",", "getPointerTy", "(", ")", ",", "StackPtr", ",", "DAG", ".", "getIntPtrConstant", "(", "VA", ".", "getLocMemOffset", "(", ")", ")", ")", ";", "MemOpChains", ".", "push_back", "(", "DAG", ".", "getStore", "(", "Chain", ",", "dl", ",", "Arg", ",", "PtrOff", ",", "MachinePointerInfo", "(", ")", ",", "false", ",", "false", ",", "", ")", ")", ";", "}", "}", "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", "]", "."], "ground_truth": ["first", ",", "RegsToPass", "[", "i", "]", ".", "second", ",", "InFlag", ")", ";"], "File": "AlphaISelLowering2", "Func": "LowerCall", "Target": "Alpha", "Target_Clf": "MPU", "Compiler_Type": "LLVM", "Idx": 112928, "Length": 265, "Cover_Rate": 0.3496042216358839} {"Template_token": ["", "ArgReg2", "=", "", ";", "}", "Copy", "=", "DAG", ".", "getCopyToReg", "(", "Copy", ",", "dl", ",", "ArgReg1", ",", "OutVals", "[", "", "]", ",", "Copy", ".", "getValue", "(", "", ")", ")", ";", "if", "(", "std", "::", "find", "(", "DAG", ".", "getMachineFunction", "(", ")", ".", "getRegInfo", "(", ")", ".", "liveout_begin", "(", ")", ",", "DAG", ".", "getMachineFunction", "(", ")", ".", "getRegInfo", "(", ")", ".", "liveout_end", "(", ")", ",", "ArgReg1", ")", "==", "DAG", ".", "getMachineFunction", "(", ")", ".", "getRegInfo", "(", ")", ".", "liveout_end", "(", ")", ")", "DAG", ".", "getMachineFunction", "(", ")", ".", "getRegInfo", "(", ")", ".", "addLiveOut", "(", "ArgReg1", ")", ";", "Copy", "=", "DAG", ".", "getCopyToReg", "(", "Copy", ",", "dl", ",", "ArgReg2", ",", "OutVals", "[", "", "]", ",", "Copy", ".", "getValue", "(", "", ")", ")", ";", "if", "(", "std", "::", "find", "(", "DAG", ".", "getMachineFunction", "(", ")", ".", "getRegInfo", "(", ")", ".", "liveout_begin", "(", ")", ",", "DAG", ".", "getMachineFunction", "(", ")", ".", "getRegInfo", "(", ")", ".", "liveout_end", "(", ")", ",", "ArgReg2", ")", "==", "DAG", ".", "getMachineFunction", "(", ")", ".", "getRegInfo", "(", ")", ".", "liveout_end", "(", ")", ")", "DAG", ".", "getMachineFunction", "(", ")", ".", "getRegInfo", "(", ")", ".", "addLiveOut", "(", "ArgReg2", ")", ";", "break", ";", "}", "}", "return", "DAG", ".", "getNode", "(", "", ",", "dl", ",", "", ",", "Copy", ",", "Copy", ".", "getValue", "("], "ground_truth": ["", ")", ")", ";"], "File": "AlphaISelLowering2", "Func": "LowerReturn", "Target": "Alpha", "Target_Clf": "MPU", "Compiler_Type": "LLVM", "Idx": 112929, "Length": 212, "Cover_Rate": 0.43621399176954734} {"Template_token": ["", "SDValue", "Chain", ",", "DataPtr", ";", "LowerVAARG", "(", "N", ",", "Chain", ",", "DataPtr", ",", "DAG", ")", ";", "SDValue", "Res", "=", "DAG", ".", "getLoad", "(", "N", "->", "getValueType", "(", "", ")", ",", "dl", ",", "Chain", ",", "DataPtr", ",", "MachinePointerInfo", "(", ")", ",", "false", ",", "false", ",", "", ")", ";", "Results", ".", "push_back", "(", "Res"], "ground_truth": [")", ";"], "File": "AlphaISelLowering2", "Func": "ReplaceNodeResults", "Target": "Alpha", "Target_Clf": "MPU", "Compiler_Type": "LLVM", "Idx": 112930, "Length": 54, "Cover_Rate": 0.421875} {"Template_token": ["", "CCValAssign", "&", "VA", "=", "ArgLocs", "[", "i", "]", ";", "SDValue", "Arg", "=", "OutVals", "[", "i", "]", ";", "switch", "(", "VA", ".", "getLocInfo", "(", ")", ")", "{", "default", ":", "assert", "(", "", "&&", "", ")", ";", "case", "CCValAssign", "::", "Full", ":", "break", ";", "case", "CCValAssign", "::", "SExt", ":", "Arg", "=", "DAG", ".", "getNode", "(", "", ",", "dl", ",", "VA", ".", "getLocVT", "(", ")", ",", "Arg", ")", ";", "break", ";", "case", "CCValAssign", "::", "ZExt", ":", "Arg", "=", "DAG", ".", "getNode", "(", "", ",", "dl", ",", "VA", ".", "getLocVT", "(", ")", ",", "Arg", ")", ";", "break", ";", "case", "CCValAssign", "::", "AExt", ":", "Arg", "=", "DAG", ".", "getNode", "(", "", ",", "dl", ",", "VA", ".", "getLocVT", "(", ")", ",", "Arg", ")", ";", "break", ";", "}", "if", "(", "VA", ".", "isRegLoc", "(", ")", ")", "{", "RegsToPass", ".", "push_back", "(", "std", "::", "make_pair", "(", "VA", ".", "getLocReg", "(", ")", ",", "Arg", ")", ")", ";", "}", "else", "{", "assert", "(", "VA", ".", "isMemLoc", "(", ")", ")", ";", "if", "(", "StackPtr", ".", "getNode", "(", ")", "==", "", ")", "StackPtr", "=", "DAG", ".", "getCopyFromReg", "(", "Chain", ",", "dl", ",", "", ",", "", ")", ";", "SDValue", "PtrOff", "=", "DAG", ".", "getNode", "(", "", ",", "dl", ",", "getPointerTy", "(", ")", ",", "StackPtr", ",", "DAG", ".", "getIntPtrConstant", "(", "VA", ".", "getLocMemOffset", "(", ")", ")", ")", ";", "MemOpChains", ".", "push_back", "(", "DAG", ".", "getStore", "(", "Chain", ",", "dl", ",", "Arg", ",", "PtrOff", ",", "PseudoSourceValue", "::", "getStack", "(", ")", ",", "", ",", "false", ",", "false", ",", "", ")", ")", ";", "}", "}", "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", "(", "", ")", ";", "}", "SDVTList", "NodeTys", "=", "DAG", ".", "getVTList", "("], "ground_truth": ["", ",", "", ")", ";"], "File": "AlphaISelLowering3", "Func": "LowerCall", "Target": "Alpha", "Target_Clf": "MPU", "Compiler_Type": "LLVM", "Idx": 112931, "Length": 357, "Cover_Rate": 0.4722222222222222} {"Template_token": ["", "SDValue", "RetValue", "=", "Chain", ".", "getValue", "(", "", ")", ";", "InFlag", "=", "Chain", ".", "getValue", "(", "", ")", ";", "if", "(", "VA", ".", "getLocInfo", "(", ")", "==", "CCValAssign", "::", "SExt", ")", "RetValue", "=", "DAG", ".", "getNode", "(", "", ",", "dl", ",", "VA", ".", "getLocVT", "(", ")", ",", "RetValue", ",", "DAG", ".", "getValueType", "(", "VA", ".", "getValVT", "(", ")", ")", ")", ";", "else", "if", "(", "VA", ".", "getLocInfo", "(", ")", "==", "CCValAssign", "::", "ZExt", ")", "RetValue", "=", "DAG", ".", "getNode", "(", "", ",", "dl", ",", "VA", ".", "getLocVT", "(", ")", ",", "RetValue", ",", "DAG", ".", "getValueType", "(", "VA", ".", "getValVT", "(", ")", ")", ")", ";", "if", "(", "VA", ".", "getLocInfo", "(", ")", "!=", "CCValAssign", "::", "Full", ")", "RetValue", "=", "DAG", ".", "getNode", "(", "", ",", "dl", ",", "VA", ".", "getValVT", "(", ")", ",", "RetValue", ")", ";", "InVals", ".", "push_back"], "ground_truth": ["(", "RetValue", ")", ";"], "File": "AlphaISelLowering3", "Func": "LowerCallResult", "Target": "Alpha", "Target_Clf": "MPU", "Compiler_Type": "LLVM", "Idx": 112932, "Length": 142, "Cover_Rate": 0.48299319727891155} {"Template_token": ["", "}", "else", "{", "int", "FI", "=", "MFI", "->", "CreateFixedObject", "(", "", ",", "", "*", "(", "ArgNo", "-", "", ")", ",", "true", ")", ";", "SDValue", "FIN", "=", "DAG", ".", "getFrameIndex", "(", "FI", ",", "", ")", ";", "ArgVal", "=", "DAG", ".", "getLoad", "(", "ObjectVT", ",", "dl", ",", "Chain", ",", "FIN", ",", "NULL", ",", "", ",", "false", ",", "false", ",", "", ")", ";", "}", "InVals", ".", "push_back", "(", "ArgVal", ")", ";", "}", "if", "(", "isVarArg", ")", "{", "FuncInfo", "->", "setVarArgsOffset", "(", "Ins", ".", "size", "(", ")", "*", "", ")", ";", "std", "::", "vector", "<", "SDValue", ">", "LS", ";", "for", "(", "int", "i", "=", "", ";", "i", "<", "", ";", "++", "i", ")", "{", "if", "(", "TargetRegisterInfo", "::", "isPhysicalRegister", "(", "args_int", "[", "i", "]", ")", ")", "args_int", "[", "i", "]", "=", "AddLiveIn", "(", "MF", ",", "args_int", "[", "i", "]", ",", "&", "", ")", ";", "SDValue", "argt", "=", "DAG", ".", "getCopyFromReg", "(", "Chain", ",", "dl", ",", "args_int", "[", "i", "]", ",", "", ")", ";", "int", "FI", "=", "MFI", "->", "CreateFixedObject", "(", "", ",", "-", "", "*", "(", "", "-", "i", ")", ",", "true", ")", ";", "if", "(", "i", "==", "", ")", "FuncInfo", "->", "setVarArgsBase", "(", "FI", ")", ";", "SDValue", "SDFI", "=", "DAG", ".", "getFrameIndex", "(", "FI", ",", "", ")", ";", "LS", ".", "push_back", "(", "DAG", ".", "getStore", "(", "Chain", ",", "dl", ",", "argt", ",", "SDFI", ",", "NULL", ",", "", ",", "false", ",", "false", ",", "", ")", ")", ";", "if", "(", "TargetRegisterInfo", "::", "isPhysicalRegister", "(", "args_float", "[", "i", "]", ")", ")", "args_float", "[", "i", "]", "=", "AddLiveIn", "(", "MF", ",", "args_float", "[", "i", "]", ",", "&", "", ")", ";", "argt", "=", "DAG", ".", "getCopyFromReg", "(", "Chain", ",", "dl", ",", "args_float", "[", "i", "]", ",", "", ")", ";", "FI", "=", "MFI", "->", "CreateFixedObject", "(", "", ",", "-", "", "*", "(", "", "-", "i", ")", ",", "true", ")", ";", "SDFI", "=", "DAG", ".", "getFrameIndex", "(", "FI", ",", "", ")", ";", "LS", ".", "push_back", "(", "DAG", ".", "getStore", "(", "Chain", ",", "dl", ",", "argt", ",", "SDFI", ",", "NULL", ",", "", ",", "false", ",", "false", ",", "", ")", ")", ";", "}", "Chain", "=", "DAG", ".", "getNode", "(", "", ",", "dl", ",", "", ","], "ground_truth": ["&", "LS", "[", "", "]", ",", "LS", ".", "size", "(", ")", ")", ";"], "File": "AlphaISelLowering3", "Func": "LowerFormalArguments", "Target": "Alpha", "Target_Clf": "MPU", "Compiler_Type": "LLVM", "Idx": 112933, "Length": 366, "Cover_Rate": 0.5013698630136987} {"Template_token": ["", "SDValue", "VAListP", "=", "N", "->", "getOperand", "(", "", ")", ";", "const", "Value", "*", "VAListS", "=", "cast", "<", "SrcValueSDNode", ">", "(", "N", "->", "getOperand", "(", "", ")", ")", "->", "getValue", "(", ")", ";", "DebugLoc", "dl", "=", "N", "->", "getDebugLoc", "(", ")", ";", "SDValue", "Base", "=", "DAG", ".", "getLoad", "(", "", ",", "dl", ",", "Chain", ",", "VAListP", ",", "VAListS", ",", "", ",", "false", ",", "false", ",", "", ")", ";", "SDValue", "Tmp", "=", "DAG", ".", "getNode", "(", "", ",", "dl", ",", "", ",", "VAListP", ",", "DAG", ".", "getConstant", "(", "", ",", "", ")", ")", ";", "SDValue", "Offset", "=", "DAG", ".", "getExtLoad", "(", "", ",", "", ",", "dl", ",", "Base", ".", "getValue", "(", "", ")", ",", "Tmp", ",", "NULL", ",", "", ",", "", ",", "false", ",", "false", ",", "", ")", ";", "DataPtr", "=", "DAG", ".", "getNode", "(", "", ",", "dl", ",", "", ",", "Base", ",", "Offset", ")", ";", "if", "(", "N", "->", "getValueType", "(", ""], "ground_truth": [")", ".", "isFloatingPoint", "(", ")", ")", "{"], "File": "AlphaISelLowering3", "Func": "LowerVAARG", "Target": "Alpha", "Target_Clf": "MPU", "Compiler_Type": "LLVM", "Idx": 112934, "Length": 158, "Cover_Rate": 0.4340659340659341} {"Template_token": ["", "DebugLoc", "dl", "=", "N", "->", "getDebugLoc", "(", ")", ";", "assert", "(", "N", "->", "getValueType", "(", "", ")", "==", "", "&&", "N", "->", "getOpcode", "(", ")", "==", "", "&&", "", ")", ";", "SDValue", "Chain", ",", "DataPtr", ";", "LowerVAARG", "(", "N", ",", "Chain", ",", "DataPtr", ",", "DAG", ")", ";", "SDValue", "Res", "=", "DAG", ".", "getLoad", "(", "N", "->", "getValueType", "(", "", ")", ",", "dl", ",", "Chain", ",", "DataPtr", ",", "NULL"], "ground_truth": [",", "", ",", "false", ",", "false", ",", "", ")", ";"], "File": "AlphaISelLowering3", "Func": "ReplaceNodeResults", "Target": "Alpha", "Target_Clf": "MPU", "Compiler_Type": "LLVM", "Idx": 112935, "Length": 78, "Cover_Rate": 0.609375} {"Template_token": ["", "setOperationAction", "(", "", ",", "", ",", "Expand", ")", ";", "setOperationAction", "(", "", ",", "", ",", "Expand", ")", ";", "setOperationAction", "(", "", ",", "", ",", "Expand", ")", ";", "setOperationAction", "(", "", ",", "", ",", "Expand", ")", ";", "setOperationAction", "(", "", ",", "", ",", "Expand", ")", ";", "setOperationAction", "(", "", ",", "", ",", "Custom", ")", ";", "setOperationAction", "(", "", ",", "", ",", "Expand", ")", ";", "setOperationAction", "(", "", ",", "", ",", "Custom", ")", ";", "if", "(", "!", "TM", ".", "getSubtarget", "<", "Subtarget", ">", "(", ")", ".", "hasCT", "(", ")", ")", "{", "setOperationAction", "(", "", ",", "", ",", "Expand", ")", ";", "setOperationAction", "(", "", ",", "", ",", "Expand", ")", ";", "setOperationAction", "(", "", ",", "", ",", "Expand", ")", ";", "}", "setOperationAction", "(", "", ",", "", ",", "Expand", ")", ";", "setOperationAction", "(", "", ",", "", ",", "Expand", ")", ";", "setOperationAction", "(", "", ",", "", ",", "Expand", ")", ";", "setOperationAction", "(", "", ",", "", ",", "Custom", ")", ";", "setOperationAction", "(", "", ",", "", ",", "Custom", ")", ";", "setOperationAction", "(", "", ",", "", ",", "Custom", ")", ";", "setOperationAction", "(", "", ",", "", ",", "Custom", ")", ";", "setOperationAction", "(", "", ",", "", ",", "Expand", ")", ";", "setOperationAction", "(", "", ",", "", ",", "Expand", ")", ";", "setOperationAction", "(", "", ",", "", ",", "Expand", ")", ";", "setOperationAction", "(", "", ",", "", ",", "Expand", ")", ";", "setOperationAction", "(", "", ",", "", ",", "Expand", ")", ";", "setOperationAction", "(", "", ",", "", ",", "Expand", ")", ";", "setOperationAction", "(", "", ",", "", ",", "Expand", ")", ";", "setOperationAction", "(", "", ",", "", ",", "Expand", ")", ";", "setOperationAction", "(", "", ",", "", ",", "Expand", ")", ";", "setOperationAction", "(", "", ",", "", ",", "Expand", ")", ";", "setOperationAction", "(", "", ",", "", ",", "Expand", ")", ";", "setOperationAction", "(", "", ",", "", ",", "Expand", ")", ";", "setOperationAction", "(", "", ",", "", ",", "Expand", ")", ";", "setOperationAction", "(", "", ",", "", ",", "Expand", ")", ";", "setOperationAction", "(", "", ",", "", ",", "Promote", ")", ";", "setOperationAction", "(", "", ",", "", ",", "Promote", ")", ";", "setOperationAction", "(", "", ",", "", ",", "Expand", ")", ";", "setOperationAction", "(", "", ",", "", ",", "Expand", ")", ";", "setOperationAction", "(", "", ",", "", ",", "Expand", ")", ";", "setOperationAction", "(", "", ",", "", ",", "Expand", ")", ";", "setOperationAction", "(", "", ",", "", ",", "Expand", ")", ";", "setOperationAction", "(", "", ",", "", ",", "Expand", ")", ";", "setOperationAction", "(", "", ",", "", ",", "Expand", ")", ";", "setOperationAction", "(", "", ",", "", ",", "Custom", ")", ";", "setOperationAction", "(", "", ",", "", ",", "Custom", ")", ";", "setOperationAction", "(", "", ",", "", ",", "Custom", ")", ";", "setOperationAction", "(", "", ",", "", ",", "Custom", ")", ";", "setOperationAction", "(", "", ",", "", ",", "Custom", ")", ";", "setOperationAction", "(", "", ",", "", ",", "Expand", ")", ";", "setOperationAction", "(", "", ",", "", ",", "Custom", ")", ";", "setOperationAction", "(", "", ",", "", ",", "Custom", ")", ";", "setOperationAction", "(", "", ",", "", ",", "Custom", ")", ";", "setOperationAction", "(", "", ",", "", ",", "Custom", ")", ";", "setOperationAction", "(", "", ",", "", ",", "Custom", ")", ";", "setOperationAction", "(", "", ",", "", ",", "Custom", ")", ";", "setStackPointerRegisterToSaveRestore", "(", ""], "ground_truth": [")", ";"], "File": "AlphaISelLowering4", "Func": "AlphaTargetLowering", "Target": "Alpha", "Target_Clf": "MPU", "Compiler_Type": "LLVM", "Idx": 112936, "Length": 500, "Cover_Rate": 0.5213764337851929} {"Template_token": ["", "else", "Args", "[", "i", "]", ".", "Node", "=", "DAG", ".", "getNode", "(", "", ",", "dl", ",", "", ",", "Args", "[", "i", "]", ".", "Node", ")", ";", "break", ";", "case", "", ":", "case", "", ":", "case", "", ":", "break", ";", "}", "args_to_use", ".", "push_back", "(", "Args", "[", "i", "]", ".", "Node", ")", ";", "}", "std", "::", "vector", "<", "MVT", ">", "RetVals", ";", "MVT", "RetTyVT", "=", "getValueType", "(", "RetTy", ")", ";", "MVT", "ActualRetTyVT", "=", "RetTyVT", ";", "if", "(", "RetTyVT", ".", "getSimpleVT", "(", ")", ">=", "", "&&", "RetTyVT", ".", "getSimpleVT", "(", ")", "<=", "", ")", "ActualRetTyVT", "=", "", ";", "if", "(", "RetTyVT", "!=", "", ")", "RetVals", ".", "push_back", "(", "ActualRetTyVT", ")", ";", "RetVals", ".", "push_back", "(", "", ")", ";", "std", "::", "vector", "<", "SDValue", ">", "Ops", ";", "Ops", ".", "push_back", "(", "Chain", ")", ";", "Ops", ".", "push_back", "(", "Callee", ")", ";", "Ops", ".", "insert", "(", "Ops", ".", "end", "(", ")", ",", "args_to_use", ".", "begin", "(", ")", ",", "args_to_use", ".", "end", "(", ")", ")", ";", "SDValue", "TheCall", "=", "DAG", ".", "getNode", "(", "", ",", "dl", ",", "RetVals", ",", "&", "Ops", "[", "", "]", ",", "Ops", ".", "size", "(", ")", ")", ";", "Chain", "=", "TheCall", ".", "getValue", "(", "RetTyVT", "!=", "", ")", ";", "Chain", "=", "DAG", ".", "getCALLSEQ_END", "(", "Chain", ",", "DAG", ".", "getIntPtrConstant", "(", "NumBytes", ",", "true", ")"], "ground_truth": [",", "DAG", ".", "getIntPtrConstant", "(", "", ",", "true", ")", ",", "SDValue", "(", ")", ")", ";"], "File": "AlphaISelLowering4", "Func": "LowerCallTo", "Target": "Alpha", "Target_Clf": "MPU", "Compiler_Type": "LLVM", "Idx": 112937, "Length": 229, "Cover_Rate": 0.37540983606557377} {"Template_token": ["", "int", "NumBytes", "=", "", ";", "if", "(", "Args", ".", "size", "(", ")", ">", "", ")", "NumBytes", "=", "(", "Args", ".", "size", "(", ")", "-", "", ")", "*", "", ";", "Chain", "=", "DAG", ".", "getCALLSEQ_START", "(", "Chain", ",", "DAG", ".", "getIntPtrConstant", "(", "NumBytes", ",", "true", ")", ")", ";", "std", "::", "vector", "<", "SDValue", ">", "args_to_use", ";", "for", "(", "unsigned", "i", "=", "", ",", "e", "=", "Args", ".", "size", "(", ")", ";", "i", "!=", "e", ";", "++", "i", ")", "{", "switch", "(", "getValueType", "(", "Args", "[", "i", "]", ".", "Ty", ")", ".", "getSimpleVT", "(", ")", ")", "{", "default", ":", "assert", "(", "", "&&", "", ")", ";", "case", "", ":", "case", "", ":", "case", "", ":", "case", "", ":", "if", "(", "Args", "[", "i", "]", ".", "isSExt", ")", "Args", "[", "i", "]", ".", "Node", "=", "DAG", ".", "getNode", "(", "", ",", "dl", ",", "", ",", "Args", "[", "i", "]", ".", "Node", ")", ";", "else", "if", "(", "Args", "[", "i", "]", ".", "isZExt", ")", "Args", "[", "i", "]", ".", "Node", "=", "DAG", ".", "getNode", "(", "", ",", "dl", ",", "", ",", "Args", "[", "i", "]", ".", "Node", ")", ";", "else", "Args", "[", "i", "]", ".", "Node", "=", "DAG", ".", "getNode", "(", "", ",", "dl", ",", "", ",", "Args", "[", "i", "]", ".", "Node", ")", ";", "break", ";", "case", "", ":", "case", "", ":", "case", "", ":", "break", ";", "}", "args_to_use", ".", "push_back", "(", "Args", "[", "i", "]", ".", "Node", ")", ";", "}", "std", "::", "vector", "<", "MVT", ">", "RetVals", ";", "MVT", "RetTyVT", "=", "getValueType", "(", "RetTy", ")", ";", "MVT", "ActualRetTyVT", "=", "RetTyVT", ";", "if", "(", "RetTyVT", ".", "getSimpleVT", "(", ")", ">=", "", "&&", "RetTyVT", ".", "getSimpleVT", "(", ")", "<=", "", ")", "ActualRetTyVT", "=", "", ";", "if", "(", "RetTyVT", "!=", "", ")", "RetVals", ".", "push_back", "(", "ActualRetTyVT", ")", ";", "RetVals", ".", "push_back", "(", "", ")", ";", "std", "::", "vector", "<", "SDValue", ">", "Ops", ";", "Ops", ".", "push_back", "(", "Chain", ")", ";", "Ops", ".", "push_back", "(", "Callee", ")", ";", "Ops", ".", "insert", "(", "Ops", ".", "end", "(", ")", ",", "args_to_use", ".", "begin", "(", ")", ",", "args_to_use"], "ground_truth": [".", "end", "(", ")", ")", ";"], "File": "AlphaISelLowering4", "Func": "LowerCallTo", "Target": "Alpha", "Target_Clf": "MPU", "Compiler_Type": "LLVM", "Idx": 112938, "Length": 346, "Cover_Rate": 0.5672131147540984} {"Template_token": ["", "break", ";", "case", "", ":", "args_float", "[", "ArgNo", "]", "=", "AddLiveIn", "(", "MF", ",", "args_float", "[", "ArgNo", "]", ",", "&", "", ")", ";", "ArgVal", "=", "DAG", ".", "getCopyFromReg", "(", "Root", ",", "dl", ",", "args_float", "[", "ArgNo", "]", ",", "ObjectVT", ")", ";", "break", ";", "case", "", ":", "args_int", "[", "ArgNo", "]", "=", "AddLiveIn", "(", "MF", ",", "args_int", "[", "ArgNo", "]", ",", "&", "", ")", ";", "ArgVal", "=", "DAG", ".", "getCopyFromReg", "(", "Root", ",", "dl", ",", "args_int", "[", "ArgNo", "]", ",", "", ")", ";", "break", ";", "}", "}", "else", "{", "int", "FI", "=", "MFI", "->", "CreateFixedObject", "(", "", ",", "", "*", "(", "ArgNo", "-", "", ")", ")", ";", "SDValue", "FIN", "=", "DAG", ".", "getFrameIndex", "(", "FI", ",", "", ")", ";", "ArgVal", "=", "DAG", ".", "getLoad", "(", "ObjectVT", ",", "dl", ",", "Root", ",", "FIN", ",", "NULL", ",", "", ")", ";", "}", "ArgValues", ".", "push_back", "(", "ArgVal", ")", ";", "}", "bool", "isVarArg", "=", "cast", "<", "ConstantSDNode", ">", "(", "Op", ".", "getOperand", "(", "", ")", ")", "->", "getZExtValue", "(", ")", "!=", "", ";", "if", "(", "isVarArg", ")", "{", "VarArgsOffset", "=", "(", "Op", ".", "getNode", "(", ")", "->", "getNumValues", "(", ")", "-", "", ")", "*", "", ";", "std", "::", "vector", "<", "SDValue", ">", "LS", ";", "for", "(", "int", "i", "=", "", ";", "i", "<", "", ";", "++", "i", ")", "{", "if", "(", "TargetRegisterInfo", "::", "isPhysicalRegister", "(", "args_int", "[", "i", "]", ")", ")", "args_int", "[", "i", "]", "=", "AddLiveIn", "(", "MF", ",", "args_int", "[", "i", "]", ",", "&", "", ")", ";", "SDValue", "argt", "=", "DAG", ".", "getCopyFromReg", "(", "Root", ",", "dl", ",", "args_int", "[", "i", "]", ",", "", ")", ";", "int", "FI", "=", "MFI", "->", "CreateFixedObject", "(", "", ",", "-", "", "*", "(", "", "-", "i", ")", ")", ";", "if", "(", "i", "==", "", ")", "VarArgsBase", "=", "FI", ";", "SDValue", "SDFI", "=", "DAG", ".", "getFrameIndex", "(", "FI", ",", "", ")", ";", "LS", ".", "push_back", "(", "DAG", ".", "getStore", "(", "Root", ",", "dl", ",", "argt", ",", "SDFI", ",", "NULL", ",", "", ")", ")", ";", "if", "(", "TargetRegisterInfo", "::", "isPhysicalRegister", "(", "args_float", "[", "i", "]", ")", ")", "args_float", "[", "i", "]"], "ground_truth": ["=", "AddLiveIn", "(", "MF", ",", "args_float", "[", "i", "]", ",", "&", "", ")", ";"], "File": "AlphaISelLowering4", "Func": "LowerFORMAL_ARGUMENTS", "Target": "Alpha", "Target_Clf": "MPU", "Compiler_Type": "LLVM", "Idx": 112939, "Length": 356, "Cover_Rate": 0.4472361809045226} {"Template_token": ["", "SDValue", "Hi", "=", "DAG", ".", "getNode", "(", "", ",", "dl", ",", "", ",", "JTI", ",", "DAG", ".", "getGLOBAL_OFFSET_TABLE", "(", "", ")", ")", ";", "SDValue", "Lo", "=", "DAG", ".", "getNode", "(", "", ",", "dl", ","], "ground_truth": ["", ",", "JTI", ",", "Hi", ")", ";"], "File": "AlphaISelLowering4", "Func": "LowerJumpTable", "Target": "Alpha", "Target_Clf": "MPU", "Compiler_Type": "LLVM", "Idx": 112940, "Length": 41, "Cover_Rate": 0.328} {"Template_token": ["", "static", "SDValue", "LowerRET", "(", "SDValue", "Op", ",", "SelectionDAG", "&", "DAG", ")", "{", "DebugLoc", "dl", "=", "Op", ".", "getDebugLoc", "(", ")", ";", "SDValue", "Copy", "=", "DAG", ".", "getCopyToReg", "(", "Op", ".", "getOperand", "(", "", ")", ",", "dl", ",", "", ",", "DAG", ".", "getNode", "(", "", ",", "DebugLoc", "::", "getUnknownLoc", "(", ")", ",", "", ")", ",", "SDValue", "(", ")", ")", ";", "switch", "(", "Op", ".", "getNumOperands", "(", ")", ")", "{", "default", ":", "assert", "(", "", "&&", "", ")", ";", "abort", "(", ")", ";", "case", "", ":", "break", ";", "case", "", ":", "{", "MVT", "ArgVT", "=", "Op", ".", "getOperand", "(", "", ")", ".", "getValueType", "(", ")", ";", "unsigned", "ArgReg", ";", "if", "(", "ArgVT", ".", "isInteger", "(", ")", ")", "ArgReg", "=", "", ";", "else", "{", "assert", "(", "ArgVT", ".", "isFloatingPoint", "(", ")", ")", ";", "ArgReg", "=", "", ";", "}", "Copy", "=", "DAG", ".", "getCopyToReg", "(", "Copy", ",", "dl", ",", "ArgReg", ",", "Op", ".", "getOperand", "(", "", ")", ",", "Copy", ".", "getValue", "(", "", ")", ")", ";", "if", "(", "DAG", ".", "getMachineFunction", "(", ")", ".", "getRegInfo", "(", ")", ".", "liveout_empty", "(", ")", ")", "DAG", ".", "getMachineFunction", "(", ")", ".", "getRegInfo", "(", ")", ".", "addLiveOut", "(", "ArgReg", ")", ";", "break", ";", "}", "case", "", ":", "{", "MVT", "ArgVT", "=", "Op", ".", "getOperand", "(", "", ")", ".", "getValueType", "(", ")", ";", "unsigned", "ArgReg1", ",", "ArgReg2", ";", "if", "(", "ArgVT", ".", "isInteger", "(", ")", ")", "{", "ArgReg1", "=", "", ";", "ArgReg2", "=", "", ";", "}"], "ground_truth": ["else", "{"], "File": "AlphaISelLowering4", "Func": "LowerRET", "Target": "Alpha", "Target_Clf": "MPU", "Compiler_Type": "LLVM", "Idx": 112941, "Length": 239, "Cover_Rate": 0.48676171079429736} {"Template_token": ["", "DebugLoc", "dl", "=", "N", "->", "getDebugLoc", "(", ")", ";", "SDValue", "Base", "=", "DAG", ".", "getLoad", "(", "", ",", "dl", ",", "Chain", ",", "VAListP", ",", "VAListS", ",", "", ")", ";", "SDValue", "Tmp", "=", "DAG", ".", "getNode", "(", "", ",", "dl", ",", "", ",", "VAListP", ",", "DAG", ".", "getConstant", "(", "", ",", "", ")", ")", ";", "SDValue", "Offset", "=", "DAG", ".", "getExtLoad", "(", "", ",", "dl", ",", "", ",", "Base", ".", "getValue", "(", "", ")", ",", "Tmp", ",", "NULL", ",", "", ",", "", ")", ";", "DataPtr", "=", "DAG", ".", "getNode", "(", "", ",", "dl", ",", "", ",", "Base", ",", "Offset", ")", ";", "if", "(", "N", "->", "getValueType", "(", "", ")", ".", "isFloatingPoint", "(", ")", ")", "{", "SDValue", "FPDataPtr", "=", "DAG", ".", "getNode", "(", "", ",", "dl", ",", "", ",", "DataPtr", ",", "DAG", ".", "getConstant", "(", "", "*", "", ",", "", ")", ")", ";", "SDValue", "CC", "=", "DAG", ".", "getSetCC", "(", "dl", ",", "", ",", "Offset", ",", "DAG", ".", "getConstant", "(", "", "*", "", ",", "", ")", ",", "", ")", ";", "DataPtr", "=", "DAG", ".", "getNode", "(", "", ",", "dl", ",", "", ",", "CC", ",", "FPDataPtr", ",", "DataPtr", ")", ";", "}", "SDValue", "NewOffset", "=", "DAG", ".", "getNode", "(", "", ",", "dl", ",", "", ",", "Offset", ",", "DAG", ".", "getConstant", "(", "", ",", "", ")", ")", ";", "Chain", "=", "DAG", ".", "getTruncStore", "(", "Offset", ".", "getValue", "(", "", ")", ",", "dl", ",", "NewOffset", ",", "Tmp", ",", "NULL"], "ground_truth": [",", "", ",", "", ")", ";"], "File": "AlphaISelLowering4", "Func": "LowerVAARG", "Target": "Alpha", "Target_Clf": "MPU", "Compiler_Type": "LLVM", "Idx": 112942, "Length": 239, "Cover_Rate": 0.6927536231884058} {"Template_token": ["", "SDValue", "Chain", ",", "DataPtr", ";", "LowerVAARG", "(", "N", ",", "Chain", ",", "DataPtr", ",", "DAG", ")", ";", "SDValue", "Res", "=", "DAG", ".", "getLoad", "(", "N", "->", "getValueType", "(", "", ")", ",", "dl", ",", "Chain", ",", "DataPtr", ",", "NULL", ",", "", ")", ";", "Results", ".", "push_back"], "ground_truth": ["(", "Res", ")", ";"], "File": "AlphaISelLowering4", "Func": "ReplaceNodeResults", "Target": "Alpha", "Target_Clf": "MPU", "Compiler_Type": "LLVM", "Idx": 112943, "Length": 48, "Cover_Rate": 0.39669421487603307} {"Template_token": ["", "bool", "hasITOF", "(", ")", "{", "return", "useITOF"], "ground_truth": [";"], "File": "AlphaISelLowering5", "Func": "hasITOF", "Target": "Alpha", "Target_Clf": "MPU", "Compiler_Type": "LLVM", "Idx": 112944, "Length": 8, "Cover_Rate": 0.8888888888888888} {"Template_token": ["", "bool", "hasITOF", "(", ")", "{", "return", "useITOF"], "ground_truth": [";"], "File": "AlphaISelLowering5", "Func": "hasITOF", "Target": "Alpha", "Target_Clf": "MPU", "Compiler_Type": "LLVM", "Idx": 112945, "Length": 8, "Cover_Rate": 0.8888888888888888} {"Template_token": ["", "case", "CCValAssign", "::", "SExt", ":", "Arg", "=", "DAG", ".", "getNode", "(", "", ",", "dl", ",", "VA", ".", "getLocVT", "(", ")", ",", "Arg", ")", ";", "break", ";", "case", "CCValAssign", "::", "ZExt", ":", "Arg", "=", "DAG", ".", "getNode", "(", "", ",", "dl", ",", "VA", ".", "getLocVT", "(", ")", ",", "Arg", ")", ";", "break", ";", "case", "CCValAssign", "::", "AExt", ":", "Arg", "=", "DAG", ".", "getNode", "(", "", ",", "dl", ",", "VA", ".", "getLocVT", "(", ")", ",", "Arg", ")", ";", "break", ";", "}", "if", "(", "VA", ".", "isRegLoc", "(", ")", ")", "{", "RegsToPass", ".", "push_back", "(", "std", "::", "make_pair", "(", "VA", ".", "getLocReg", "(", ")", ",", "Arg", ")", ")", ";", "}", "else", "{", "assert", "(", "VA", ".", "isMemLoc", "(", ")", ")", ";", "if", "(", "StackPtr", ".", "getNode", "(", ")", "==", "", ")", "StackPtr", "=", "DAG", ".", "getCopyFromReg", "(", "Chain", ",", "dl", ",", "", ",", "", ")", ";", "SDValue", "PtrOff", "=", "DAG", ".", "getNode", "(", "", ",", "dl", ",", "getPointerTy", "(", ")", ",", "StackPtr", ",", "DAG", ".", "getIntPtrConstant", "(", "VA", ".", "getLocMemOffset", "(", ")", ")", ")", ";", "MemOpChains", ".", "push_back", "(", "DAG", ".", "getStore", "(", "Chain", ",", "dl", ",", "Arg", ",", "PtrOff", ",", "MachinePointerInfo", "(", ")", ",", "false", ",", "false", ",", "", ")", ")", ";", "}", "}", "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", "("], "ground_truth": ["", ")", ";"], "File": "AlphaISelLowering5", "Func": "LowerCall", "Target": "Alpha", "Target_Clf": "MPU", "Compiler_Type": "LLVM", "Idx": 112946, "Length": 298, "Cover_Rate": 0.3962765957446808} {"Template_token": ["", "SDValue", "Offset", "=", "DAG", ".", "getExtLoad", "(", "", ",", "", ",", "dl", ",", "Base", ".", "getValue", "(", "", ")", ",", "Tmp", ",", "MachinePointerInfo", "(", ")", ",", "", ",", "false", ",", "false", ",", "", ")", ";", "DataPtr", "=", "DAG", ".", "getNode", "(", "", ",", "dl", ",", "", ",", "Base", ",", "Offset", ")", ";", "if", "(", "N", "->", "getValueType", "(", "", ")", ".", "isFloatingPoint", "(", ")", ")", "{", "SDValue", "FPDataPtr", "=", "DAG", ".", "getNode", "(", "", ",", "dl", ",", "", ",", "DataPtr", ",", "DAG", ".", "getConstant", "(", "", "*", "", ",", "", ")", ")", ";", "SDValue", "CC", "=", "DAG", ".", "getSetCC", "(", "dl", ",", "", ",", "Offset", ",", "DAG", ".", "getConstant", "(", "", "*", "", ",", "", ")", ",", "", ")", ";", "DataPtr", "=", "DAG", ".", "getNode", "(", "", ",", "dl", ",", "", ",", "CC", ",", "FPDataPtr", ",", "DataPtr", ")", ";", "}", "SDValue", "NewOffset", "=", "DAG", ".", "getNode", "(", "", ",", "dl", ",", "", ",", "Offset", ",", "DAG", ".", "getConstant", "("], "ground_truth": ["", ",", "", ")", ")", ";"], "File": "AlphaISelLowering5", "Func": "LowerVAARG", "Target": "Alpha", "Target_Clf": "MPU", "Compiler_Type": "LLVM", "Idx": 112947, "Length": 165, "Cover_Rate": 0.4520547945205479} {"Template_token": ["", "SDValue", "Base", "=", "DAG", ".", "getLoad", "(", "", ",", "dl", ",", "Chain", ",", "VAListP", ",", "MachinePointerInfo", "(", "VAListS", ")", ",", "false", ",", "false", ",", "", ")", ";", "SDValue", "Tmp", "=", "DAG", ".", "getNode", "(", "", ",", "dl", ",", "", ",", "VAListP", ",", "DAG", ".", "getConstant", "(", "", ",", "", ")", ")", ";", "SDValue", "Offset", "=", "DAG", ".", "getExtLoad", "(", "", ",", "", ",", "dl", ",", "Base", ".", "getValue", "(", "", ")", ",", "Tmp", ",", "MachinePointerInfo", "(", ")", ",", "", ",", "false", ",", "false", ",", "", ")", ";", "DataPtr", "=", "DAG", ".", "getNode", "(", "", ",", "dl", ",", "", ",", "Base", ",", "Offset", ")", ";", "if", "(", "N", "->", "getValueType", "(", ""], "ground_truth": [")", ".", "isFloatingPoint", "(", ")", ")", "{"], "File": "AlphaISelLowering5", "Func": "LowerVAARG", "Target": "Alpha", "Target_Clf": "MPU", "Compiler_Type": "LLVM", "Idx": 112948, "Length": 118, "Cover_Rate": 0.3232876712328767} {"Template_token": ["", "setBooleanContents", "(", "ZeroOrOneBooleanContent", ")", ";", "setUsesGlobalOffsetTable", "(", "true", ")", ";", "addRegisterClass", "(", "", ",", "", ")", ";", "addRegisterClass", "(", "", ",", "", ")", ";", "addRegisterClass", "(", "", ",", "", ")", ";", "setOperationAction", "(", "", ",", "", ",", "Custom", ")", ";", "setLoadExtAction", "(", "", ",", "", ",", "Promote", ")", ";", "setLoadExtAction", "(", "", ",", "", ",", "Expand", ")", ";", "setLoadExtAction", "(", "", ",", "", ",", "Promote", ")", ";", "setLoadExtAction", "(", "", ",", "", ",", "Expand", ")", ";", "setLoadExtAction", "(", "", ",", "", ",", "Promote", ")", ";", "setLoadExtAction", "(", "", ",", "", ",", "Expand", ")", ";", "setLoadExtAction", "(", "", ",", "", ",", "Expand", ")", ";", "setTruncStoreAction", "(", "", ",", "", ",", "Expand", ")", ";", "setOperationAction", "(", "", ",", "", ",", "Expand", ")", ";", "setOperationAction", "(", "", ",", "", ",", "Expand", ")", ";", "setOperationAction", "(", "", ",", "", ",", "Expand", ")", ";", "setOperationAction", "(", "", ",", "", ",", "Expand", ")", ";", "setOperationAction", "(", "", ",", "", ",", "Expand", ")", ";", "setOperationAction", "(", "", ",", "", ",", "Expand", ")", ";", "setOperationAction", "(", "", ",", "", ",", "Expand", ")", ";", "setOperationAction", "(", "", ",", "", ",", "Custom", ")", ";", "setOperationAction", "(", "", ",", "", ",", "Expand", ")", ";", "setOperationAction", "(", "", ",", "", ",", "Custom", ")", ";", "if", "(", "!", "TM", ".", "getSubtarget", "<", "Subtarget", ">", "(", ")", ".", "hasCT", "(", ")", ")", "{", "setOperationAction", "(", "", ",", "", ",", "Expand", ")", ";", "setOperationAction", "(", "", ",", "", ",", "Expand", ")", ";", "setOperationAction", "(", "", ",", "", ",", "Expand", ")", ";", "}", "setOperationAction", "(", "", ",", "", ",", "Expand", ")", ";", "setOperationAction", "(", "", ",", "", ",", "Expand", ")", ";", "setOperationAction", "(", "", ",", "", ",", "Expand", ")", ";", "setOperationAction", "(", "", ",", "", ",", "Custom", ")", ";", "setOperationAction", "(", "", ",", "", ",", "Custom", ")", ";", "setOperationAction", "(", "", ",", "", ",", "Custom", ")", ";", "setOperationAction", "(", "", ",", "", ",", "Custom", ")", ";", "setOperationAction", "(", "", ",", "", ",", "Expand", ")", ";", "setOperationAction", "(", "", ",", "", ",", "Expand", ")", ";", "setOperationAction", "(", "", ",", "", ",", "Expand", ")", ";", "setOperationAction", "(", "", ",", "", ",", "Expand", ")", ";", "setOperationAction", "(", "", ",", "", ",", "Expand", ")", ";", "setOperationAction", "(", "", ",", "", ",", "Expand", ")", ";", "setOperationAction", "(", "", ",", "", ",", "Custom", ")", ";", "setOperationAction", "(", "", ",", "", ",", "Expand", ")", ";", "setOperationAction", "(", "", ",", "", ",", "Expand", ")", ";", "setOperationAction", "(", "", ",", "", ",", "Expand", ")", ";", "setOperationAction", "(", "", ",", "", ",", "Expand", ")", ";", "setOperationAction", "(", "", ",", "", ",", "Expand", ")", ";", "setOperationAction", "(", "", ",", "", ",", "Expand", ")", ";", "setOperationAction", "(", "", ",", "", ",", "Expand", ")", ";", "setOperationAction", "(", "", ",", ""], "ground_truth": [",", "Expand", ")", ";"], "File": "AlphaISelLowering6", "Func": "AlphaTargetLowering", "Target": "Alpha", "Target_Clf": "MPU", "Compiler_Type": "LLVM", "Idx": 112949, "Length": 445, "Cover_Rate": 0.4436689930209372} {"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", "(", "", ")", ";", "}", "SDVTList", "NodeTys", "=", "DAG", ".", "getVTList", "(", "", ",", "", ")", ";", "SmallVector", "<", "SDValue", ",", "", ">", "Ops", ";", "Ops", ".", "push_back", "(", "Chain", ")", ";", "Ops", ".", "push_back", "(", "Callee", ")", ";", "for", "(", "unsigned", "i", "=", "", ",", "e", "=", "RegsToPass", ".", "size", "(", ")", ";", "i", "!=", "e", ";", "++", "i", ")", "Ops", ".", "push_back", "(", "DAG", ".", "getRegister", "(", "RegsToPass", "[", "i", "]", ".", "first", ",", "RegsToPass", "[", "i", "]", ".", "second", ".", "getValueType", "(", ")", ")", ")", ";", "if", "(", "InFlag", ".", "getNode", "(", ")", ")", "Ops", ".", "push_back", "(", "InFlag", ")", ";", "Chain", "=", "DAG", ".", "getNode", "(", "", ",", "dl", ",", "NodeTys", ",", "&", "Ops", "[", "", "]", ",", "Ops", ".", "size", "(", ")", ")", ";", "InFlag", "=", "Chain", ".", "getValue", "(", "", ")", ";", "Chain", "=", "DAG", ".", "getCALLSEQ_END", "(", "Chain", ",", "DAG", ".", "getConstant", "(", "NumBytes", ",", "getPointerTy", "(", ")", ",", "true", ")", ",", "DAG", ".", "getConstant", "(", "", ",", "getPointerTy", "(", ")", ",", "true", ")", ",", "InFlag", ")", ";", "InFlag", "=", "Chain", ".", "getValue", "(", "", ")", ";", "return", "LowerCallResult", "(", "Chain", ",", "InFlag", ",", "CallConv", ",", "isVarArg", ","], "ground_truth": ["Ins", ",", "dl", ",", "DAG", ",", "InVals", ")", ";"], "File": "AlphaISelLowering6", "Func": "LowerCall", "Target": "Alpha", "Target_Clf": "MPU", "Compiler_Type": "LLVM", "Idx": 112950, "Length": 259, "Cover_Rate": 0.35190217391304346} {"Template_token": ["", "CCValAssign", "&", "VA", "=", "RVLocs", "[", "i", "]", ";", "Chain", "=", "DAG", ".", "getCopyFromReg", "(", "Chain", ",", "dl", ",", "VA", ".", "getLocReg", "(", ")", ",", "VA", ".", "getLocVT", "(", ")", ",", "InFlag", ")", ".", "getValue", "(", "", ")", ";", "SDValue", "RetValue", "=", "Chain", ".", "getValue", "(", "", ")", ";", "InFlag", "=", "Chain", ".", "getValue", "(", "", ")", ";", "if", "(", "VA", ".", "getLocInfo", "(", ")", "==", "CCValAssign", "::", "SExt", ")", "RetValue", "=", "DAG", ".", "getNode", "(", "", ",", "dl", ",", "VA", ".", "getLocVT", "(", ")", ",", "RetValue", ",", "DAG", ".", "getValueType", "(", "VA", ".", "getValVT", "(", ")", ")", ")", ";", "else", "if", "(", "VA", ".", "getLocInfo", "(", ")", "==", "CCValAssign", "::", "ZExt", ")", "RetValue", "=", "DAG", ".", "getNode", "(", "", ",", "dl", ",", "VA", ".", "getLocVT", "(", ")", ",", "RetValue", ",", "DAG", ".", "getValueType", "(", "VA", ".", "getValVT", "(", ")", ")", ")", ";", "if", "(", "VA", ".", "getLocInfo", "(", ")", "!=", "CCValAssign", "::", "Full", ")", "RetValue", "=", "DAG", ".", "getNode", "(", "", ",", "dl", ",", "VA", ".", "getValVT", "(", ")", ",", "RetValue", ")", ";", "InVals", ".", "push_back", "(", "RetValue", ")"], "ground_truth": [";"], "File": "AlphaISelLowering6", "Func": "LowerCallResult", "Target": "Alpha", "Target_Clf": "MPU", "Compiler_Type": "LLVM", "Idx": 112951, "Length": 181, "Cover_Rate": 0.6219931271477663} {"Template_token": ["", "if", "(", "VA", ".", "getLocInfo", "(", ")", "==", "CCValAssign", "::", "SExt", ")", "RetValue", "=", "DAG", ".", "getNode", "(", "", ",", "dl", ",", "VA", ".", "getLocVT", "(", ")", ",", "RetValue", ",", "DAG", ".", "getValueType", "(", "VA", ".", "getValVT", "(", ")", ")", ")", ";", "else", "if", "(", "VA", ".", "getLocInfo", "(", ")", "==", "CCValAssign", "::", "ZExt", ")", "RetValue", "=", "DAG", ".", "getNode", "(", "", ",", "dl", ",", "VA", ".", "getLocVT", "(", ")", ",", "RetValue", ",", "DAG", ".", "getValueType", "(", "VA", ".", "getValVT", "(", ")", ")", ")", ";", "if", "(", "VA", ".", "getLocInfo", "(", ")", "!=", "CCValAssign", "::", "Full", ")", "RetValue", "=", "DAG", ".", "getNode", "(", "", ",", "dl", ",", "VA", ".", "getValVT", "(", ")"], "ground_truth": [",", "RetValue", ")", ";"], "File": "AlphaISelLowering6", "Func": "LowerCallResult", "Target": "Alpha", "Target_Clf": "MPU", "Compiler_Type": "LLVM", "Idx": 112952, "Length": 116, "Cover_Rate": 0.39862542955326463} {"Template_token": ["", "", ",", "", ",", "", ",", "", ",", "", ",", "", "}", ";", "for", "(", "unsigned", "ArgNo", "=", "", ",", "e", "=", "Ins", ".", "size", "(", ")", ";", "ArgNo", "!=", "e", ";", "++", "ArgNo", ")", "{", "SDValue", "argt", ";", "EVT", "ObjectVT", "=", "Ins", "[", "ArgNo", "]", ".", "VT", ";", "SDValue", "ArgVal", ";", "if", "(", "ArgNo", "<", "", ")", "{", "switch", "(", "ObjectVT", ".", "getSimpleVT", "(", ")", ".", "SimpleTy", ")", "{", "default", ":", "assert", "(", "false", "&&", "", ")", ";", "case", "", ":", "args_float", "[", "ArgNo", "]", "=", "AddLiveIn", "(", "MF", ",", "args_float", "[", "ArgNo", "]", ",", "&", "", ")", ";", "ArgVal", "=", "DAG", ".", "getCopyFromReg", "(", "Chain", ",", "dl", ",", "args_float", "[", "ArgNo", "]", ",", "ObjectVT", ")", ";", "break", ";", "case", "", ":", "args_float", "[", "ArgNo", "]", "=", "AddLiveIn", "(", "MF", ",", "args_float", "[", "ArgNo", "]", ",", "&", "", ")", ";", "ArgVal", "=", "DAG", ".", "getCopyFromReg", "(", "Chain", ",", "dl", ",", "args_float", "[", "ArgNo", "]", ",", "ObjectVT", ")", ";", "break", ";", "case", "", ":", "args_int", "[", "ArgNo", "]", "=", "AddLiveIn", "(", "MF", ",", "args_int", "[", "ArgNo", "]", ",", "&", "", ")", ";", "ArgVal", "=", "DAG", ".", "getCopyFromReg", "(", "Chain", ",", "dl", ",", "args_int", "[", "ArgNo", "]", ",", "", ")", ";", "break", ";", "}", "}", "else", "{", "int", "FI", "=", "MFI", "->", "CreateFixedObject", "(", "", ",", "", "*", "(", "ArgNo", "-", "", ")", ")", ";", "SDValue", "FIN", "=", "DAG", ".", "getFrameIndex", "(", "FI", ",", "", ")", ";", "ArgVal", "=", "DAG", ".", "getLoad", "(", "ObjectVT", ",", "dl", ",", "Chain", ",", "FIN", ","], "ground_truth": ["NULL", ",", "", ")", ";"], "File": "AlphaISelLowering6", "Func": "LowerFormalArguments", "Target": "Alpha", "Target_Clf": "MPU", "Compiler_Type": "LLVM", "Idx": 112953, "Length": 255, "Cover_Rate": 0.37280701754385964} {"Template_token": ["", "EVT", "PtrVT", "=", "Op", ".", "getValueType", "(", ")", ";", "JumpTableSDNode", "*", "JT", "=", "cast", "<", "JumpTableSDNode", ">", "(", "Op", ")", ";", "SDValue", "JTI", "=", "DAG", ".", "getTargetJumpTable", "(", "JT", "->", "getIndex", "(", ")", ",", "PtrVT", ")", ";", "SDValue", "Zero", "=", "DAG", ".", "getConstant", "(", "", ",", "PtrVT", ")", ";", "DebugLoc", "dl", "=", "Op", ".", "getDebugLoc", "(", ")", ";", "SDValue", "Hi", "=", "DAG", ".", "getNode", "(", "", ",", "dl", ",", "", ",", "JTI", ",", "DAG", ".", "getGLOBAL_OFFSET_TABLE", "(", "", ")", ")", ";", "SDValue", "Lo", "=", "DAG", ".", "getNode", "(", "", ",", "dl", ",", "", ",", "JTI", ",", "Hi", ")", ";", "return"], "ground_truth": ["Lo", ";"], "File": "AlphaISelLowering6", "Func": "LowerJumpTable", "Target": "Alpha", "Target_Clf": "MPU", "Compiler_Type": "LLVM", "Idx": 112954, "Length": 102, "Cover_Rate": 0.816} {"Template_token": ["", "DebugLoc", "dl", "=", "Op", ".", "getDebugLoc", "(", ")", ";", "SDValue", "Hi", "=", "DAG", ".", "getNode", "(", "", ",", "dl", ",", "", ",", "JTI", ",", "DAG", ".", "getGLOBAL_OFFSET_TABLE", "(", "", ")", ")", ";", "SDValue", "Lo", "=", "DAG", ".", "getNode", "(", "", ",", "dl", ",", "", ",", "JTI", ",", "Hi", ")", ";", "return", "Lo"], "ground_truth": [";"], "File": "AlphaISelLowering6", "Func": "LowerJumpTable", "Target": "Alpha", "Target_Clf": "MPU", "Compiler_Type": "LLVM", "Idx": 112955, "Length": 53, "Cover_Rate": 0.424} {"Template_token": ["", "unsigned", "ArgReg", ";", "if", "(", "ArgVT", ".", "isInteger", "(", ")", ")", "ArgReg", "=", "", ";", "else", "{", "assert", "(", "ArgVT", ".", "isFloatingPoint", "(", ")", ")", ";", "ArgReg", "=", "", ";", "}", "Copy", "=", "DAG", ".", "getCopyToReg", "(", "Copy", ",", "dl", ",", "ArgReg", ",", "Outs", "[", "", "]", ".", "Val", ",", "Copy", ".", "getValue", "(", "", ")", ")", ";", "if", "(", "DAG", ".", "getMachineFunction", "(", ")", ".", "getRegInfo", "(", ")", ".", "liveout_empty", "(", ")", ")", "DAG", ".", "getMachineFunction", "(", ")", ".", "getRegInfo", "(", ")", ".", "addLiveOut", "(", "ArgReg", ")", ";", "break", ";", "}", "case", "", ":", "{", "EVT", "ArgVT", "=", "Outs", "[", "", "]", ".", "Val", ".", "getValueType", "(", ")", ";", "unsigned", "ArgReg1", ",", "ArgReg2", ";", "if", "(", "ArgVT", ".", "isInteger", "(", ")", ")", "{", "ArgReg1", "=", "", ";", "ArgReg2", "=", "", ";", "}", "else", "{", "assert", "(", "ArgVT", ".", "isFloatingPoint", "(", ")", ")", ";", "ArgReg1", "=", ""], "ground_truth": [";"], "File": "AlphaISelLowering6", "Func": "LowerReturn", "Target": "Alpha", "Target_Clf": "MPU", "Compiler_Type": "LLVM", "Idx": 112956, "Length": 148, "Cover_Rate": 0.3014256619144603} {"Template_token": ["", "}", "Copy", "=", "DAG", ".", "getCopyToReg", "(", "Copy", ",", "dl", ",", "ArgReg", ",", "Outs", "[", "", "]", ".", "Val", ",", "Copy", ".", "getValue", "(", "", ")", ")", ";", "if", "(", "DAG", ".", "getMachineFunction", "(", ")", ".", "getRegInfo", "(", ")", ".", "liveout_empty", "(", ")", ")", "DAG", ".", "getMachineFunction", "(", ")", ".", "getRegInfo", "(", ")", ".", "addLiveOut", "(", "ArgReg", ")", ";", "break", ";", "}", "case", "", ":", "{", "EVT", "ArgVT", "=", "Outs", "[", "", "]", ".", "Val", ".", "getValueType", "(", ")", ";", "unsigned", "ArgReg1", ",", "ArgReg2", ";", "if", "(", "ArgVT", ".", "isInteger", "(", ")", ")", "{", "ArgReg1", "=", "", ";", "ArgReg2", "=", "", ";", "}", "else", "{", "assert", "(", "ArgVT", ".", "isFloatingPoint", "(", ")", ")", ";", "ArgReg1", "=", "", ";", "ArgReg2", "=", "", ";", "}", "Copy", "=", "DAG", ".", "getCopyToReg", "(", "Copy", ",", "dl", ",", "ArgReg1", ",", "Outs", "[", "", "]", ".", "Val", ",", "Copy", ".", "getValue", "("], "ground_truth": ["", ")", ")", ";"], "File": "AlphaISelLowering7", "Func": "LowerReturn", "Target": "Alpha", "Target_Clf": "MPU", "Compiler_Type": "LLVM", "Idx": 112957, "Length": 150, "Cover_Rate": 0.30425963488843816} {"Template_token": ["", "if", "(", "!", "TM", ".", "getSubtarget", "<", "Subtarget", ">", "(", ")", ".", "hasCT", "(", ")", ")", "{", "setOperationAction", "(", "", ",", "", ",", "Expand", ")", ";", "setOperationAction", "(", "", ",", "", ",", "Expand", ")", ";", "setOperationAction", "(", "", ",", "", ",", "Expand", ")", ";", "}", "setOperationAction", "(", "", ",", "", ",", "Expand", ")", ";", "setOperationAction", "(", "", ",", "", ",", "Expand", ")", ";", "setOperationAction", "(", "", ",", "", ",", "Expand", ")", ";", "setOperationAction", "(", "", ",", "", ",", "Custom", ")", ";", "setOperationAction", "(", "", ",", "", ",", "Custom", ")", ";", "setOperationAction", "(", "", ",", "", ",", "Custom", ")", ";", "setOperationAction", "(", "", ",", "", ",", "Custom", ")", ";", "setOperationAction", "(", "", ",", "", ",", "Expand", ")", ";", "setOperationAction", "(", "", ",", "", ",", "Expand", ")", ";", "setOperationAction", "(", "", ",", "", ",", "Expand", ")", ";", "setOperationAction", "(", "", ",", "", ",", "Expand", ")", ";", "setOperationAction", "(", "", ",", "", ",", "Expand", ")", ";", "setOperationAction", "(", "", ",", "", ",", "Expand", ")", ";", "setOperationAction", "(", "", ",", "", ",", "Custom", ")", ";", "setOperationAction", "(", "", ",", "", ",", "Expand", ")", ";", "setOperationAction", "(", "", ",", "", ",", "Expand", ")", ";", "setOperationAction", "(", "", ",", "", ",", "Expand", ")", ";", "setOperationAction", "(", "", ",", "", ",", "Expand", ")", ";", "setOperationAction", "(", "", ",", "", ",", "Expand", ")", ";", "setOperationAction", "(", "", ",", "", ",", "Expand", ")", ";", "setOperationAction", "(", "", ",", "", ",", "Expand", ")", ";", "setOperationAction", "(", "", ",", "", ",", "Expand", ")", ";", "setOperationAction", "(", "", ",", "", ",", "Expand", ")", ";", "setOperationAction", "(", "", ",", "", ",", "Expand", ")", ";", "setOperationAction", "(", "", ",", "", ",", "Expand", ")", ";", "setOperationAction", "(", "", ",", "", ",", "Expand", ")", ";", "setOperationAction", "(", "", ",", "", ",", "Promote", ")", ";", "setOperationAction", "(", "", ",", "", ",", "Promote", ")", ";", "setOperationAction", "(", "", ",", "", ",", "Expand", ")", ";", "setOperationAction", "(", "", ",", "", ",", "Expand", ")", ";", "setOperationAction", "(", "", ",", "", ",", "Expand", ")", ";", "setOperationAction", "(", "", ",", "", ",", "Expand", ")", ";", "setOperationAction", "(", "", ",", "", ",", "Custom", ")", ";", "setOperationAction", "(", "", ",", "", ",", "Custom", ")", ";", "setOperationAction", "(", "", ",", "", ",", "Custom", ")", ";", "setOperationAction", "(", "", ",", "", ",", "Custom", ")", ";", "setOperationAction", "(", "", ",", "", ",", "Custom", ")", ";", "setOperationAction", "(", "", ",", "", ",", "Expand", ")", ";", "setOperationAction", "(", "", ",", "", ",", "Custom", ")", ";", "setOperationAction", "(", "", ",", "", ",", "Custom", ")", ";", "setOperationAction", "(", "", ",", "", ",", "Custom", ")", ";", "setOperationAction", "(", "", ",", "", ",", "Custom", ")", ";", "setOperationAction", "(", "", ",", "", ","], "ground_truth": ["Custom", ")", ";"], "File": "AlphaISelLowering8", "Func": "AlphaTargetLowering", "Target": "Alpha", "Target_Clf": "MPU", "Compiler_Type": "LLVM", "Idx": 112958, "Length": 432, "Cover_Rate": 0.43947100712105797} {"Template_token": ["", "DEBUG", "(", "errs", "(", ")", "<<", "", ")", ";", "EmitBranchToAt", "(", "CameFromStub", ",", "Target", ")", ";", "}", "else", "{", "DEBUG", "(", "errs", "(", ")", "<<", "", "<<", "CameFromStub", "<<", "", "<<", "oldpv", "<<", "", "<<", "Target", "<<", "", ")", ";", "}", "*", "oldpv", "=", "(", "long", ")"], "ground_truth": ["Target", ";"], "File": "AlphaJITInfo1", "Func": "AlphaCompilationCallbackC", "Target": "Alpha", "Target_Clf": "MPU", "Compiler_Type": "LLVM", "Idx": 112959, "Length": 49, "Cover_Rate": 0.5632183908045977} {"Template_token": ["", "unsigned", "*", "AtI", "=", "(", "unsigned", "*", ")", "At", ";", "AtI", "[", "", "]", "=", "BUILD_OR", "(", "", ",", "", ",", "", ")", ";", "DEBUG", "(", "errs", "(", ")", "<<", "", "<<", "To", "<<", "", ")", ";", "for", "(", "int", "x", "=", "", ";", "x", "<=", "", ";", "++"], "ground_truth": ["x", ")", "{"], "File": "AlphaJITInfo1", "Func": "EmitBranchToAt", "Target": "Alpha", "Target_Clf": "MPU", "Compiler_Type": "LLVM", "Idx": 112960, "Length": 52, "Cover_Rate": 0.348993288590604} {"Template_token": ["", "StubLayout", "Result", "=", "{", ""], "ground_truth": ["*", "", ",", "", "}", ";"], "File": "AlphaJITInfo1", "Func": "getStubLayout", "Target": "Alpha", "Target_Clf": "MPU", "Compiler_Type": "LLVM", "Idx": 112961, "Length": 11, "Cover_Rate": 0.4583333333333333} {"Template_token": ["", "StubLayout", "Result", "=", "{", "", "*", "", ",", "", "}", ";", "return", "Result"], "ground_truth": [";"], "File": "AlphaJITInfo1", "Func": "getStubLayout", "Target": "Alpha", "Target_Clf": "MPU", "Compiler_Type": "LLVM", "Idx": 112962, "Length": 14, "Cover_Rate": 0.5833333333333334} {"Template_token": ["", "case", "", ":", "idx", "=", "(", "unsigned", "char", "*", ")", "MR", "->", "getResultPointer", "(", ")", "-", "&", "GOTBase", "[", "GOToffset", "*", "", "]", ";", "idx", "=", "getUpper16", "(", "idx", ")", ";", "DEBUG", "(", "errs", "(", ")", "<<", "", "<<", "idx", "<<", "", ")", ";", "DEBUG", "(", "errs", "(", ")", "<<", "", "<<", "(", "void", "*", ")", "MR", "->", "getResultPointer", "(", ")", "<<", "", "<<", "(", "void", "*", ")", "&", "GOTBase", "[", "GOToffset", "*", "", "]", "<<", "", ")", ";", "break", ";", "case", "", ":", "switch", "(", "*", "RelocPos", ">>", "", ")", "{", "case", "", ":", "idx", "=", "&", "GOTBase", "[", "GOToffset", "*", "", "]", "-", "(", "unsigned", "char", "*", ")", "RelocPos", ";", "idx", "=", "getUpper16", "(", "idx", ")", ";", "DEBUG", "(", "errs", "(", ")", "<<", "", "<<", "idx", "<<", "", ")", ";", "gpdistmap", "[", "std", "::", "make_pair", "(", "Function", ",", "MR", "->", "getConstantVal", "(", ")", ")", "]", "=", "RelocPos", ";", "break", ";", "case", "", ":", "assert", "(", "gpdistmap", "[", "std", "::", "make_pair", "(", "Function", ",", "MR", "->", "getConstantVal", "(", ")", ")", "]", "&&", "", ")", ";", "idx", "=", "&", "GOTBase", "[", "GOToffset", "*", "", "]", "-", "(", "unsigned", "char", "*", ")", "gpdistmap", "[", "std", "::", "make_pair", "(", "Function", ",", "MR", "->", "getConstantVal", "(", ")", ")", "]", ";", "idx", "=", "getLower16", "(", "idx", ")", ";", "DEBUG", "(", "errs", "(", ")", "<<", "", "<<", "idx", "<<", "", ")", ";", "break", ";", "default", ":", "llvm_unreachable", "(", "", ")", ";", "}", "break", ";", "case", "", ":", "{", "idx", "=", "(", "(", "(", "unsigned", "char", "*", ")", "MR", "->", "getResultPointer", "(", ")", "-", "(", "unsigned", "char", "*", ")", "RelocPos", ")", ">>", "", ")", "+", "", ";", "*", "RelocPos", "|=", "(", "idx", "&", "(", "(", "", "<<", "", ")", "-", "", ")", ")", ";", "doCommon", "=", "false", ";", "break", ";", "}", "}", "if", "(", "doCommon"], "ground_truth": [")", "{"], "File": "AlphaJITInfo1", "Func": "relocate", "Target": "Alpha", "Target_Clf": "MPU", "Compiler_Type": "LLVM", "Idx": 112963, "Length": 301, "Cover_Rate": 0.5423423423423424} {"Template_token": ["", "void", "JITInfo", "::", "replaceMachineCodeForFunction", "(", "void", "*", "Old", ",", "void", "*", "New", ")", "{", "assert", "(", "", ")"], "ground_truth": [";"], "File": "AlphaJITInfo2", "Func": "replaceMachineCodeForFunction", "Target": "Alpha", "Target_Clf": "MPU", "Compiler_Type": "LLVM", "Idx": 112964, "Length": 19, "Cover_Rate": 0.95} {"Template_token": ["", "EmitBranchToAt", "(", "CameFromStub", ",", "Target", ")", ";", "}", "else", "{", "DOUT", "(", "llvm", "::", "dbgs", "(", ")", "<<", "", "<<", "CameFromStub", "<<", "", "<<", "oldpv", "<<", "", "<<"], "ground_truth": ["Target", "<<", "", ";"], "File": "AlphaJITInfo4", "Func": "AlphaCompilationCallbackC", "Target": "Alpha", "Target_Clf": "MPU", "Compiler_Type": "LLVM", "Idx": 112965, "Length": 32, "Cover_Rate": 0.3595505617977528} {"Template_token": ["", "DOUT", "(", "llvm", "::", "dbgs", "(", ")", "<<", "", "<<", "To", "<<", "", ";", "for", "(", "int", "x", "=", "", ";", "x", "<=", "", ";", "++", "x", ")", "{", "AtI", "[", "", "*", "x", "-", "", "]", "=", "BUILD_SLLi", "(", "", ",", "", ",", "", ")", ";", "unsigned", "d", "=", "(", "Fn", ">>", "(", "", "-", "", "*", "x", ")", ")", "&", "", ";", "AtI", "[", "", "*", "x", "]", "=", "BUILD_ORi", "(", "", ",", "", ",", "d", ")", ";", "}", "AtI", "[", "", "]", "=", "BUILD_JMP", "(", "", ",", "", ",", ""], "ground_truth": [")", ";"], "File": "AlphaJITInfo4", "Func": "EmitBranchToAt", "Target": "Alpha", "Target_Clf": "MPU", "Compiler_Type": "LLVM", "Idx": 112966, "Length": 95, "Cover_Rate": 0.6333333333333333} {"Template_token": ["", "static", "void", "EmitBranchToAt", "(", "void", "*", "At", ",", "void", "*", "To", ")", "{", "unsigned", "long", "Fn", "=", "(", "unsigned", "long", ")", "To", ";", "unsigned", "*", "AtI", "=", "(", "unsigned", "*", ")", "At", ";", "AtI", "[", "", "]", "=", "BUILD_OR", "(", "", ",", "", ",", "", ")", ";", "DOUT", "(", "llvm", "::", "dbgs", "(", ")", "<<", "", "<<", "To", "<<", "", ";", "for", "(", "int", "x", "=", "", ";", "x", "<=", "", ";", "++", "x", ")", "{", "AtI", "[", "", "*", "x", "-", "", "]", "=", "BUILD_SLLi", "(", "", ",", "", ",", "", ")", ";", "unsigned", "d", "=", "(", "Fn", ">>", "(", "", "-", "", "*", "x", ")"], "ground_truth": [")", "&", "", ";"], "File": "AlphaJITInfo4", "Func": "EmitBranchToAt", "Target": "Alpha", "Target_Clf": "MPU", "Compiler_Type": "LLVM", "Idx": 112967, "Length": 111, "Cover_Rate": 0.74} {"Template_token": ["", "void", "*", "Addr", "=", "(", "void", "*", ")", "(", "intptr_t", ")", "JCE", ".", "getCurrentPCValue", "(", ")", ";", "for", "(", "int", "x", "=", "", ";", "x", "<", "", ";", "++", "x", ")", "JCE", ".", "emitWordLE", "(", "", ")", ";", "EmitBranchToAt", "(", "Addr"], "ground_truth": [",", "Fn", ")", ";"], "File": "AlphaJITInfo4", "Func": "emitFunctionStub", "Target": "Alpha", "Target_Clf": "MPU", "Compiler_Type": "LLVM", "Idx": 112968, "Length": 45, "Cover_Rate": 0.4368932038834951} {"Template_token": ["", "idx", "=", "getUpper16", "(", "idx", ")", ";", "DOUT", "(", "llvm", "::", "dbgs", "(", ")", "<<", "", "<<", "idx", "<<", "", ";", "gpdistmap", "[", "std", "::", "make_pair", "(", "Function", ",", "MR", "->", "getConstantVal", "(", ")", ")", "]", "=", "RelocPos", ";", "break", ";", "case", "", ":", "assert", "(", "gpdistmap", "[", "std", "::", "make_pair", "(", "Function", ",", "MR", "->", "getConstantVal", "(", ")", ")", "]", "&&", "", ")", ";", "idx", "=", "&", "GOTBase", "[", "GOToffset", "*", "", "]", "-", "(", "unsigned", "char", "*", ")", "gpdistmap", "[", "std", "::", "make_pair", "(", "Function", ",", "MR", "->", "getConstantVal", "(", ")", ")", "]", ";", "idx", "=", "getLower16", "(", "idx", ")", ";", "DOUT", "(", "llvm", "::", "dbgs", "(", ")", "<<", "", "<<", "idx", "<<", "", ";", "break", ";", "default", ":", "llvm_unreachable", "(", "", ")", ";", "}", "break", ";", "case", "", ":", "{", "idx", "=", "(", "(", "(", "unsigned", "char", "*", ")", "MR", "->", "getResultPointer", "(", ")", "-", "(", "unsigned", "char", "*", ")", "RelocPos", ")", ">>", "", ")", "+", "", ";", "*", "RelocPos", "|=", "(", "idx", "&", "(", "(", ""], "ground_truth": ["<<", "", ")", "-", "", ")", ")", ";"], "File": "AlphaJITInfo4", "Func": "relocate", "Target": "Alpha", "Target_Clf": "MPU", "Compiler_Type": "LLVM", "Idx": 112969, "Length": 178, "Cover_Rate": 0.31616341030195383} {"Template_token": ["", "if", "(", "(", "(", "unsigned", "*", ")", "CameFromStub", ")", "[", "", "]", "==", "", ")", "{", "DOUT", "<<", "", ";", "EmitBranchToAt", "(", "CameFromStub", ",", "Target", ")", ";", "}"], "ground_truth": ["else", "{"], "File": "AlphaJITInfo", "Func": "AlphaCompilationCallbackC", "Target": "Alpha", "Target_Clf": "MPU", "Compiler_Type": "LLVM", "Idx": 112970, "Length": 30, "Cover_Rate": 0.38961038961038963} {"Template_token": ["", "explicit", "JITInfo", "(", "TargetMachine", "&", "tm", ")", ":", "TM"], "ground_truth": ["(", "tm", ")", "{"], "File": "AlphaJITInfo", "Func": "AlphaJITInfo", "Target": "Alpha", "Target_Clf": "MPU", "Compiler_Type": "LLVM", "Idx": 112971, "Length": 13, "Cover_Rate": 0.7222222222222222} {"Template_token": ["", "unsigned", "long", "Fn", "=", "(", "unsigned", "long", ")", "To", ";", "unsigned", "*", "AtI", "=", "(", "unsigned", "*", ")", "At", ";", "AtI", "[", "", "]", "=", "BUILD_OR", "(", "", ",", "", ",", "", ")", ";", "DOUT", "<<", "", "<<", "To", "<<", "", ";", "for", "(", "int", "x", "=", "", ";", "x", "<=", "", ";", "++", "x", ")", "{", "AtI", "[", "", "*", "x", "-", "", "]", "=", "BUILD_SLLi", "(", "", ",", "", ",", "", ")", ";", "unsigned", "d", "=", "(", "Fn", ">>", "(", "", "-", "", "*", "x", ")", ")", "&", "", ";", "AtI", "[", "", "*", "x", "]", "=", "BUILD_ORi", "(", "", ",", "", ",", "d", ")", ";", "}", "AtI", "[", "", "]", "=", "BUILD_JMP", "("], "ground_truth": ["", ",", "", ",", "", ")", ";"], "File": "AlphaJITInfo", "Func": "EmitBranchToAt", "Target": "Alpha", "Target_Clf": "MPU", "Compiler_Type": "LLVM", "Idx": 112972, "Length": 123, "Cover_Rate": 0.8541666666666666} {"Template_token": ["", "void", "*", "JITInfo", "::", "emitFunctionStub", "(", "const", "Function", "*", "F", ",", "void", "*", "Fn", ",", "JITCodeEmitter", "&", "JCE", ")", "{", "JCE", ".", "startGVStub", "(", "F", ",", "", "*", "", ")", ";", "void", "*", "Addr", "=", "(", "void", "*", ")", "(", "intptr_t", ")", "JCE", ".", "getCurrentPCValue", "(", ")", ";", "for", "(", "int", "x", "=", "", ";", "x", "<", "", ";", "++", "x", ")", "JCE", ".", "emitWordLE", "(", "", ")", ";", "EmitBranchToAt", "(", "Addr", ",", "Fn", ")", ";", "DOUT", "<<", "", "<<", "Fn", "<<", "", "<<"], "ground_truth": ["Addr", "<<", "", ";"], "File": "AlphaJITInfo", "Func": "emitFunctionStub", "Target": "Alpha", "Target_Clf": "MPU", "Compiler_Type": "LLVM", "Idx": 112973, "Length": 88, "Cover_Rate": 0.9072164948453608} {"Template_token": ["", "TargetJITInfo", "::", "LazyResolverFn", "JITInfo", "::", "getLazyResolverFunction", "(", "JITCompilerFn", "F", ")", "{", "JITCompilerFunction", "="], "ground_truth": ["F", ";"], "File": "AlphaJITInfo", "Func": "getLazyResolverFunction", "Target": "Alpha", "Target_Clf": "MPU", "Compiler_Type": "LLVM", "Idx": 112974, "Length": 15, "Cover_Rate": 0.7894736842105263} {"Template_token": ["", "long", "y", "=", "l", "/", "IMM_MULT", ";", "if", "(", "l", "%", "IMM_MULT", ">", "IMM_HIGH", ")", "++", "y", ";", "if", "(", "l", "%", "IMM_MULT", "<", "IMM_LOW", ")", "--", "y", ";", "assert", "(", "(", "short", ")", "y", "=="], "ground_truth": ["y", "&&", "", ")", ";"], "File": "AlphaJITInfo", "Func": "getUpper16", "Target": "Alpha", "Target_Clf": "MPU", "Compiler_Type": "LLVM", "Idx": 112975, "Length": 41, "Cover_Rate": 0.7735849056603774} {"Template_token": ["", "DOUT", "<<", "", "<<", "idx", ";", "idx", "=", "(", "idx", "-", "GOToffset", ")", "*", "", ";", "DOUT", "<<", "", "<<", "idx", "<<", "", ";", "break", ";", "case", "", ":", "idx", "=", "(", "unsigned", "char", "*", ")", "MR", "->", "getResultPointer", "(", ")", "-", "&", "GOTBase", "[", "GOToffset", "*", "", "]", ";", "idx", "=", "getLower16", "(", "idx", ")", ";", "DOUT", "<<", "", "<<", "idx", "<<", "", ";", "DOUT", "<<", "", "<<", "(", "void", "*", ")", "MR", "->", "getResultPointer", "(", ")", "<<", "", "<<", "(", "void", "*", ")", "&", "GOTBase", "[", "GOToffset", "*", "", "]", "<<", "", ";", "break", ";", "case", "", ":", "idx", "=", "(", "unsigned", "char", "*", ")", "MR", "->", "getResultPointer", "(", ")", "-", "&", "GOTBase", "[", "GOToffset", "*", "", "]", ";", "idx", "=", "getUpper16", "(", "idx", ")", ";", "DOUT", "<<", "", "<<", "idx", "<<", "", ";", "DOUT", "<<", "", "<<", "(", "void", "*", ")", "MR", "->", "getResultPointer", "(", ")", "<<", "", "<<", "(", "void", "*", ")", "&", "GOTBase", "[", "GOToffset", "*", "", "]", "<<", "", ";", "break", ";", "case", "", ":", "switch", "(", "*", "RelocPos", ">>", "", ")"], "ground_truth": ["{"], "File": "AlphaJITInfo", "Func": "relocate", "Target": "Alpha", "Target_Clf": "MPU", "Compiler_Type": "LLVM", "Idx": 112976, "Length": 179, "Cover_Rate": 0.34757281553398056} {"Template_token": ["", "return", "new", "LLRPPass", "(", "tm"], "ground_truth": [")", ";"], "File": "AlphaLLRP", "Func": "createAlphaLLRPPass", "Target": "Alpha", "Target_Clf": "MPU", "Compiler_Type": "LLVM", "Idx": 112977, "Length": 7, "Cover_Rate": 0.3684210526315789} {"Template_token": ["", "FunctionPass", "*", "llvm", "::", "createLLRPPass", "(", "TargetMachine", "&"], "ground_truth": ["tm", ")", "{"], "File": "AlphaLLRP", "Func": "createAlphaLLRPPass", "Target": "Alpha", "Target_Clf": "MPU", "Compiler_Type": "LLVM", "Idx": 112978, "Length": 11, "Cover_Rate": 0.5789473684210527} {"Template_token": ["", "case", "", ":", "case", "", ":", "case", "", ":", "case", "", ":", "case", "", ":", "case", "", ":", "case", "", ":", "case", "", ":", "case", "", ":", "case", "", ":", "case", "", ":", "case", "", ":", "if", "(", "MI", "->", "getOperand", "(", "", ")", ".", "getReg", "(", ")", "==", "", ")", "{", "if", "(", "prev", "[", "", "]", "&&", "prev", "[", "", "]", "->", "getOperand", "(", "", ")", ".", "getReg", "(", ")", "==", "MI", "->", "getOperand", "(", "", ")", ".", "getReg", "(", ")", "&&", "prev", "[", "", "]", "->", "getOperand", "(", "", ")", ".", "getImm", "(", ")", "==", "MI", "->", "getOperand", "(", "", ")", ".", "getImm", "(", ")", ")", "{", "prev", "[", "", "]", "=", "prev", "[", "", "]", ";", "prev", "[", "", "]", "=", "prev", "[", "", "]", ";", "prev", "[", "", "]", "=", "", ";", "BuildMI", "(", "MBB", ",", "MI", ",", "dl", ",", "TII", "->", "get", "(", "", ")", ",", "", ")", ".", "addReg", "(", "", ")", ".", "addReg", "(", "", ")", ";", "Changed", "=", "true", ";", "nopintro", "+=", "", ";", "count", "+=", "", ";", "}", "else", "if", "(", "prev", "[", "", "]", "&&", "prev", "[", "", "]", "->", "getOperand", "(", "", ")", ".", "getReg", "(", ")", "==", "MI", "->", "getOperand", "(", "", ")", ".", "getReg", "(", ")", "&&", "prev", "[", "", "]", "->", "getOperand", "(", "", ")", ".", "getImm", "(", ")", "==", "MI", "->", "getOperand", "(", "", ")", ".", "getImm", "(", ")", ")", "{", "prev", "[", "", "]", "=", "prev", "[", "", "]", ";", "prev", "[", "", "]", "=", "prev", "[", "", "]", "=", "", ";", "BuildMI", "(", "MBB", ",", "MI", ",", "dl", ",", "TII", "->", "get", "(", "", ")", ",", "", ")", ".", "addReg", "(", "", ")", ".", "addReg", "(", "", ")", ";", "BuildMI", "(", "MBB", ",", "MI", ",", "dl", ",", "TII", "->", "get", "(", "", ")", ",", "", ")", ".", "addReg", "(", "", ")", ".", "addReg", "(", "", ")", ";", "Changed", "=", "true", ";", "nopintro", "+=", "", ";", "count", "+=", "", ";", "}", "else", "if", "(", "prev", "[", "", "]", "&&", "prev", "[", "", "]", "->", "getOperand", "(", "", ")", ".", "getReg", "(", ")", "==", "MI", "->", "getOperand", "(", "", ")", ".", "getReg", "(", ")", "&&", "prev", "[", "", "]", "->", "getOperand", "(", "", ")", ".", "getImm", "(", ")", "==", "MI", "->", "getOperand", "(", "", ")", ".", "getImm", "(", ")", ")", "{", "prev", "[", "", "]", "=", "prev", "[", "", "]", "=", "prev", "[", "", "]", "=", "", ";", "BuildMI", "(", "MBB", ",", "MI", ",", "dl", ",", "TII", "->", "get", "(", "", ")", ",", "", ")", ".", "addReg", "(", "", ")", ".", "addReg", "(", "", ")", ";", "BuildMI", "(", "MBB", ",", "MI", ",", "dl", ",", "TII", "->", "get", "(", "", ")", ",", "", ")", ".", "addReg", "(", "", ")", ".", "addReg", "(", "", ")", ";", "BuildMI", "(", "MBB", ",", "MI", ",", "dl", ",", "TII", "->", "get", "(", "", ")", ",", "", ")", ".", "addReg", "(", "", ")", ".", "addReg", "(", "", ")", ";", "Changed", "=", "true", ";", "nopintro", "+=", "", ";", "count", "+="], "ground_truth": ["", ";"], "File": "AlphaLLRP", "Func": "runOnMachineFunction", "Target": "Alpha", "Target_Clf": "MPU", "Compiler_Type": "LLVM", "Idx": 112979, "Length": 500, "Cover_Rate": 0.5241090146750524} {"Template_token": ["", "unsigned", "getGlobalBaseReg", "(", ")", "const"], "ground_truth": ["{"], "File": "AlphaMachineFunctionInfo", "Func": "getGlobalBaseReg", "Target": "Alpha", "Target_Clf": "MPU", "Compiler_Type": "LLVM", "Idx": 112980, "Length": 6, "Cover_Rate": 0.6} {"Template_token": ["", "unsigned", "getGlobalBaseReg", "(", ")", "const", "{", "return", "GlobalBaseReg"], "ground_truth": [";"], "File": "AlphaMachineFunctionInfo", "Func": "getGlobalBaseReg", "Target": "Alpha", "Target_Clf": "MPU", "Compiler_Type": "LLVM", "Idx": 112981, "Length": 9, "Cover_Rate": 0.9} {"Template_token": ["", "GlobalRetAddr", "="], "ground_truth": ["Reg", ";"], "File": "AlphaMachineFunctionInfo", "Func": "setGlobalRetAddr", "Target": "Alpha", "Target_Clf": "MPU", "Compiler_Type": "LLVM", "Idx": 112982, "Length": 4, "Cover_Rate": 0.3333333333333333} {"Template_token": ["", "void", "setGlobalRetAddr", "(", "unsigned", "Reg", ")", "{", "GlobalRetAddr", "=", "Reg"], "ground_truth": [";"], "File": "AlphaMachineFunctionInfo", "Func": "setGlobalRetAddr", "Target": "Alpha", "Target_Clf": "MPU", "Compiler_Type": "LLVM", "Idx": 112983, "Length": 11, "Cover_Rate": 0.9166666666666666} {"Template_token": ["", "X", "->", "InitMCCodeGenInfo", "(", "Reloc", "::", "PIC_", ",", "CM", ")", ";", "return"], "ground_truth": ["X", ";"], "File": "AlphaMCTargetDesc1", "Func": "createAlphaMCCodeGenInfo", "Target": "Alpha", "Target_Clf": "MPU", "Compiler_Type": "LLVM", "Idx": 112984, "Length": 14, "Cover_Rate": 0.32558139534883723} {"Template_token": ["", "TargetRegistry", "::", "RegisterMCInstrInfo", "(", "TheTarget", ",", "createMCInstrInfo", ")", ";", "TargetRegistry", "::", "RegisterMCRegInfo", "(", "TheTarget", ",", "createMCRegisterInfo"], "ground_truth": [")", ";"], "File": "AlphaMCTargetDesc1", "Func": "LLVMInitializeAlphaTargetMC", "Target": "Alpha", "Target_Clf": "MPU", "Compiler_Type": "LLVM", "Idx": 112985, "Length": 18, "Cover_Rate": 0.35294117647058826} {"Template_token": ["", "TargetRegistry", "::", "RegisterMCRegInfo", "(", "TheTarget", ",", "createMCRegisterInfo", ")", ";", "TargetRegistry", "::", "RegisterMCSubtargetInfo", "(", "TheTarget", ",", "createMCSubtargetInfo"], "ground_truth": [")", ";"], "File": "AlphaMCTargetDesc1", "Func": "LLVMInitializeAlphaTargetMC", "Target": "Alpha", "Target_Clf": "MPU", "Compiler_Type": "LLVM", "Idx": 112986, "Length": 18, "Cover_Rate": 0.35294117647058826} {"Template_token": ["", "RegisterMCAsmInfo", "<", "MCAsmInfo", ">"], "ground_truth": ["X", "(", "TheTarget", ")", ";"], "File": "AlphaMCTargetDesc", "Func": "LLVMInitializeAlphaMCAsmInfo", "Target": "Alpha", "Target_Clf": "MPU", "Compiler_Type": "LLVM", "Idx": 112987, "Length": 9, "Cover_Rate": 0.6} {"Template_token": ["", "TargetRegistry", "::", "RegisterMCCodeGenInfo", "(", "TheTarget", ","], "ground_truth": ["createMCCodeGenInfo", ")", ";"], "File": "AlphaMCTargetDesc", "Func": "LLVMInitializeAlphaMCCodeGenInfo", "Target": "Alpha", "Target_Clf": "MPU", "Compiler_Type": "LLVM", "Idx": 112988, "Length": 9, "Cover_Rate": 0.6} {"Template_token": ["", "void", "LLVMInitializeMCCodeGenInfo", "(", ")", "{", "TargetRegistry", "::", "RegisterMCCodeGenInfo", "(", "TheTarget", ","], "ground_truth": ["createMCCodeGenInfo", ")", ";"], "File": "AlphaMCTargetDesc", "Func": "LLVMInitializeAlphaMCCodeGenInfo", "Target": "Alpha", "Target_Clf": "MPU", "Compiler_Type": "LLVM", "Idx": 112989, "Length": 14, "Cover_Rate": 0.9333333333333333} {"Template_token": ["", "void", "LLVMInitializeMCInstrInfo", "("], "ground_truth": [")", "{"], "File": "AlphaMCTargetDesc", "Func": "LLVMInitializeAlphaMCInstrInfo", "Target": "Alpha", "Target_Clf": "MPU", "Compiler_Type": "LLVM", "Idx": 112990, "Length": 5, "Cover_Rate": 0.3333333333333333} {"Template_token": ["", "void", "LLVMInitializeMCRegisterInfo", "("], "ground_truth": [")", "{"], "File": "AlphaMCTargetDesc", "Func": "LLVMInitializeAlphaMCRegisterInfo", "Target": "Alpha", "Target_Clf": "MPU", "Compiler_Type": "LLVM", "Idx": 112991, "Length": 5, "Cover_Rate": 0.3333333333333333} {"Template_token": ["", "void", "LLVMInitializeMCSubtargetInfo", "(", ")", "{", "TargetRegistry", "::", "RegisterMCSubtargetInfo", "(", "TheTarget"], "ground_truth": [",", "createMCSubtargetInfo", ")", ";"], "File": "AlphaMCTargetDesc", "Func": "LLVMInitializeAlphaMCSubtargetInfo", "Target": "Alpha", "Target_Clf": "MPU", "Compiler_Type": "LLVM", "Idx": 112992, "Length": 14, "Cover_Rate": 0.9333333333333333} {"Template_token": ["", "long", "NumBytes", "=", "MFI", "->", "getStackSize", "(", ")", ";", "if", "(", "FP", ")", "NumBytes", "+=", "", ";", "if", "(", "NumBytes", "==", "", ")", "return", ";", "unsigned", "Align", "=", "MF", ".", "getTarget", "(", ")", ".", "getFrameInfo", "(", ")", "->", "getStackAlignment", "(", ")", ";", "NumBytes", "=", "(", "NumBytes", "+", "Align", "-", "", ")", "/", "Align", "*", "Align", ";", "MFI", "->", "setStackSize", "(", "NumBytes", ")", ";", "NumBytes", "=", "-", "NumBytes", ";", "if", "(", "NumBytes", ">=", "IMM_LOW", ")", "{", "BuildMI", "(", "MBB", ",", "MBBI", ",", "dl", ",", "TII", ".", "get", "(", "", ")", ",", "", ")", ".", "addImm", "(", "NumBytes", ")", ".", "addReg", "(", "", ")", ";", "}", "else", "if", "(", "getUpper16", "(", "NumBytes", ")", ">=", "IMM_LOW", ")", "{", "BuildMI", "(", "MBB", ",", "MBBI", ",", "dl", ",", "TII", ".", "get", "(", "", ")", ",", "", ")", ".", "addImm", "(", "getUpper16", "("], "ground_truth": ["NumBytes", ")", ")", ".", "addReg", "(", "", ")", ";"], "File": "AlphaRegisterInfo1", "Func": "emitPrologue", "Target": "Alpha", "Target_Clf": "MPU", "Compiler_Type": "LLVM", "Idx": 112993, "Length": 146, "Cover_Rate": 0.3067226890756303} {"Template_token": ["", "bool", "FP", "=", "hasFP", "(", "MF", ")", ";", "long", "NumBytes", "=", "MFI", "->", "getStackSize", "(", ")", ";", "if", "(", "FP", ")", "{", "BuildMI", "(", "MBB", ",", "MBBI", ",", "dl", ",", "TII", ".", "get", "(", "", ")", ",", "", ")", ".", "addReg", "(", "", ")", ".", "addReg", "(", "", ")", ";", "BuildMI", "(", "MBB", ",", "MBBI", ",", "dl", ",", "TII", ".", "get", "(", "", ")", ",", "", ")", ".", "addImm", "(", "", ")", ".", "addReg", "(", "", ")", ";", "}", "if", "(", "NumBytes", "!=", "", ")", "{", "if", "(", "NumBytes", "<=", "IMM_HIGH", ")", "{", "BuildMI", "(", "MBB", ",", "MBBI", ",", "dl", ",", "TII", ".", "get", "(", "", ")", ",", "", ")", ".", "addImm", "(", "NumBytes", ")", ".", "addReg", "(", "", ")", ";", "}", "else", "if", "(", "getUpper16", "(", "NumBytes", ")", "<=", "IMM_HIGH", ")", "{", "BuildMI", "(", "MBB", ",", "MBBI", ",", "dl", ",", "TII", ".", "get", "(", "", ")", ",", "", ")", ".", "addImm", "(", "getUpper16", "(", "NumBytes", ")", ")", ".", "addReg", "(", "", ")", ";", "BuildMI", "(", "MBB", ",", "MBBI", ",", "dl", ",", "TII", ".", "get", "(", "", ")", ",", "", ")", ".", "addImm", "(", "getLower16", "(", "NumBytes", ")", ")", ".", "addReg", "(", "", ")", ";", "}", "else", "{", "cerr", "<<", "", "<<", "NumBytes", "<<", "", ";", "abort", "("], "ground_truth": [")", ";"], "File": "AlphaRegisterInfo2", "Func": "emitEpilogue", "Target": "Alpha", "Target_Clf": "MPU", "Compiler_Type": "LLVM", "Idx": 112994, "Length": 210, "Cover_Rate": 0.6542056074766355} {"Template_token": ["", "int", "RegisterInfo", "::", "getDwarfRegNum", "(", "unsigned", "RegNum", ",", "bool", "isEH"], "ground_truth": [")", "const", "{"], "File": "AlphaRegisterInfo2", "Func": "getDwarfRegNum", "Target": "Alpha", "Target_Clf": "MPU", "Compiler_Type": "LLVM", "Idx": 112995, "Length": 13, "Cover_Rate": 0.52} {"Template_token": ["", "unsigned", "RegisterInfo", "::", "getEHExceptionRegister", "("], "ground_truth": [")", "const", "{"], "File": "AlphaRegisterInfo2", "Func": "getEHExceptionRegister", "Target": "Alpha", "Target_Clf": "MPU", "Compiler_Type": "LLVM", "Idx": 112996, "Length": 8, "Cover_Rate": 0.42105263157894735} {"Template_token": ["", "assert", "(", "", "&&", "", ")", ";", "return", ""], "ground_truth": [";"], "File": "AlphaRegisterInfo2", "Func": "getEHHandlerRegister", "Target": "Alpha", "Target_Clf": "MPU", "Compiler_Type": "LLVM", "Idx": 112997, "Length": 10, "Cover_Rate": 0.5263157894736842} {"Template_token": ["", "unsigned", "RegisterInfo", "::", "getEHHandlerRegister", "(", ")", "const", "{", "assert", "(", "", "&&", "", ")", ";", "return"], "ground_truth": ["", ";"], "File": "AlphaRegisterInfo2", "Func": "getEHHandlerRegister", "Target": "Alpha", "Target_Clf": "MPU", "Compiler_Type": "LLVM", "Idx": 112998, "Length": 18, "Cover_Rate": 0.9473684210526315} {"Template_token": ["", "unsigned", "RegisterInfo", "::", "getFrameRegister", "(", "MachineFunction", "&", "MF"], "ground_truth": [")", "const", "{"], "File": "AlphaRegisterInfo2", "Func": "getFrameRegister", "Target": "Alpha", "Target_Clf": "MPU", "Compiler_Type": "LLVM", "Idx": 112999, "Length": 11, "Cover_Rate": 0.4230769230769231} {"Template_token": ["", "unsigned", "RegisterInfo", "::", "getRARegister", "("], "ground_truth": [")", "const", "{"], "File": "AlphaRegisterInfo2", "Func": "getRARegister", "Target": "Alpha", "Target_Clf": "MPU", "Compiler_Type": "LLVM", "Idx": 113000, "Length": 8, "Cover_Rate": 0.42105263157894735} {"Template_token": ["", "if", "(", "Amount", "!=", "", ")", "{", "unsigned", "Align", "=", "MF", ".", "getTarget", "(", ")", ".", "getFrameInfo", "(", ")", "->", "getStackAlignment", "(", ")", ";", "Amount", "=", "(", "Amount", "+", "Align", "-", "", ")", "/", "Align", "*", "Align", ";", "MachineInstr", "*", "New", ";", "if", "(", "Old", "->", "getOpcode", "(", ")", "==", "", ")", "{", "New", "=", "BuildMI", "(", "MF", ",", "Old", "->", "getDebugLoc", "(", ")", ",", "TII", ".", "get", "(", "", ")", ",", "", ")", ".", "addImm", "(", "-", "Amount", ")", ".", "addReg", "(", "", ")", ";", "}", "else", "{", "assert", "(", "Old", "->", "getOpcode", "(", ")", "==", "", ")", ";", "New", "=", "BuildMI", "(", "MF", ",", "Old", "->", "getDebugLoc", "(", ")", ",", "TII", ".", "get", "("], "ground_truth": ["", ")", ",", "", ")", ".", "addImm", "(", "Amount", ")", ".", "addReg", "(", "", ")", ";"], "File": "AlphaRegisterInfo3", "Func": "eliminateCallFramePseudoInstr", "Target": "Alpha", "Target_Clf": "MPU", "Compiler_Type": "LLVM", "Idx": 113001, "Length": 132, "Cover_Rate": 0.5665236051502146} {"Template_token": ["", "int", "FrameIndex", "=", "MI", ".", "getOperand", "(", "i", ")", ".", "getIndex", "(", ")", ";", "MI", ".", "getOperand", "(", "i", "+", "", ")", ".", "ChangeToRegister", "(", "FP", "?", "", ":", "", ",", "false", ")", ";", "int", "Offset", "=", "MF", ".", "getFrameInfo", "(", ")", "->", "getObjectOffset", "(", "FrameIndex", ")", ";", "DEBUG", "(", "errs", "(", ")", "<<", "", "<<", "FrameIndex", "<<", "", "<<", "Offset", "<<", "", ")", ";", "Offset", "+=", "MF", ".", "getFrameInfo", "(", ")", "->", "getStackSize", "(", ")", ";", "DEBUG", "(", "errs", "(", ")", "<<", "", "<<", "Offset", "<<", "", "<<", "MF", ".", "getFrameInfo", "(", ")", "->", "getStackSize", "(", ")", "<<", "", ")", ";", "if", "(", "Offset", ">", "", "||", "Offset", "<", "", ")", "{", "DEBUG", "(", "errs", "(", ")", "<<", "", "<<", "Offset", "<<", "", ")", ";", "MI", ".", "getOperand", "(", "i", "+", "", ")", ".", "ChangeToRegister", "(", "", ",", "false", ")", ";", "MI", ".", "getOperand", "(", "i", ")", ".", "ChangeToImmediate", "(", "getLower16", "(", "Offset", ")", ")", ";", "MachineInstr", "*", "nMI", "=", "BuildMI", "(", "MF", ",", "MI", ".", "getDebugLoc", "(", ")", ",", "TII", ".", "get", "(", "", ")", ","], "ground_truth": ["", ")", ".", "addImm", "(", "getUpper16", "(", "Offset", ")", ")", ".", "addReg", "(", "FP", "?", "", ":", "", ")", ";"], "File": "AlphaRegisterInfo3", "Func": "eliminateFrameIndex", "Target": "Alpha", "Target_Clf": "MPU", "Compiler_Type": "LLVM", "Idx": 113002, "Length": 198, "Cover_Rate": 0.5484764542936288} {"Template_token": ["", "const", "TargetFrameInfo", "*", "TFI", "=", "MF", ".", "getTarget", "(", ")", ".", "getFrameInfo", "(", ")", ";", "return", "TFI", "->", "hasFP", "(", "MF", ")", "?", "", ":"], "ground_truth": ["", ";"], "File": "AlphaRegisterInfo3", "Func": "getFrameRegister", "Target": "Alpha", "Target_Clf": "MPU", "Compiler_Type": "LLVM", "Idx": 113003, "Length": 27, "Cover_Rate": 0.6136363636363636} {"Template_token": ["", "unsigned", "RegisterInfo", "::", "getFrameRegister", "(", "const", "MachineFunction", "&", "MF", ")", "const", "{", "const", "TargetFrameInfo", "*", "TFI", "=", "MF", ".", "getTarget", "(", ")", ".", "getFrameInfo", "(", ")", ";", "return", "TFI", "->", "hasFP", "(", "MF", ")", "?", "", ":"], "ground_truth": ["", ";"], "File": "AlphaRegisterInfo3", "Func": "getFrameRegister", "Target": "Alpha", "Target_Clf": "MPU", "Compiler_Type": "LLVM", "Idx": 113004, "Length": 39, "Cover_Rate": 0.8863636363636364} {"Template_token": ["", "void", "RegisterInfo", "::", "emitPrologue", "(", "MachineFunction", "&", "MF", ")", "const", "{", "MachineBasicBlock", "&", "MBB", "=", "MF", ".", "front", "(", ")", ";", "MachineBasicBlock", "::", "iterator", "MBBI", "=", "MBB", ".", "begin", "(", ")", ";", "MachineFrameInfo", "*", "MFI", "=", "MF", ".", "getFrameInfo", "(", ")", ";", "DebugLoc", "dl", "=", "(", "MBBI", "!=", "MBB", ".", "end", "(", ")", "?", "MBBI", "->", "getDebugLoc", "(", ")", ":", "DebugLoc", "::", "getUnknownLoc", "(", ")", ")", ";", "bool", "FP", "=", "hasFP", "(", "MF", ")", ";", "BuildMI", "(", "MBB", ",", "MBBI", ",", "dl", ",", "TII", ".", "get", "(", "", ")", ",", "", ")", ".", "addGlobalAddress", "(", "const_cast", "<", "Function", "*", ">", "(", "MF", ".", "getFunction", "(", ")", ")", ")", ".", "addReg", "(", "", ")", ".", "addImm", "(", "++", "curgpdist", ")", ";", "BuildMI", "(", "MBB", ",", "MBBI", ",", "dl", ",", "TII", ".", "get", "(", "", ")", ",", "", ")", ".", "addGlobalAddress", "(", "const_cast", "<", "Function", "*", ">", "(", "MF", ".", "getFunction", "(", ")", ")", ")", ".", "addReg", "(", "", ")", ".", "addImm", "(", "curgpdist", ")", ";", "BuildMI", "(", "MBB", ",", "MBBI", ",", "dl", ",", "TII", ".", "get", "(", "", ")", ")", ".", "addGlobalAddress", "(", "const_cast", "<", "Function", "*", ">", "(", "MF", ".", "getFunction", "(", ")", ")", ")", ";", "long", "NumBytes", "=", "MFI", "->", "getStackSize", "(", ")", ";", "if", "(", "FP", ")", "NumBytes", "+=", "", ";", "if", "(", "NumBytes", "==", "", ")", "return", ";", "unsigned", "Align", "=", "MF", ".", "getTarget", "(", ")", ".", "getFrameInfo", "(", ")", "->", "getStackAlignment", "(", ")", ";", "NumBytes", "=", "(", "NumBytes", "+", "Align", "-", "", ")", "/", "Align", "*", "Align", ";", "MFI", "->", "setStackSize"], "ground_truth": ["(", "NumBytes", ")", ";"], "File": "AlphaRegisterInfo4", "Func": "emitPrologue", "Target": "Alpha", "Target_Clf": "MPU", "Compiler_Type": "LLVM", "Idx": 113005, "Length": 259, "Cover_Rate": 0.5029126213592233} {"Template_token": ["", "unsigned", "RegisterInfo", "::", "getRARegister", "("], "ground_truth": [")", "const", "{"], "File": "AlphaRegisterInfo4", "Func": "getRARegister", "Target": "Alpha", "Target_Clf": "MPU", "Compiler_Type": "LLVM", "Idx": 113006, "Length": 8, "Cover_Rate": 0.47058823529411764} {"Template_token": ["", "assert", "(", "SPAdj", "==", "", "&&", "", ")", ";", "unsigned", "i", "=", "", ";", "MachineInstr", "&", "MI", "=", "*", "II", ";", "MachineBasicBlock", "&", "MBB", "=", "*", "MI", ".", "getParent", "(", ")", ";", "MachineFunction", "&", "MF", "=", "*", "MBB", ".", "getParent", "(", ")", ";", "bool", "FP", "=", "hasFP", "(", "MF", ")", ";", "while", "(", "!", "MI", ".", "getOperand", "(", "i", ")", ".", "isFI", "(", ")", ")", "{", "++", "i", ";", "assert", "(", "i", "<", "MI", ".", "getNumOperands", "(", ")", "&&", "", ")", ";", "}", "int", "FrameIndex", "=", "MI", ".", "getOperand", "(", "i", ")", ".", "getIndex", "(", ")", ";", "MI", ".", "getOperand", "(", "i", "+", "", ")", ".", "ChangeToRegister", "(", "FP", "?", "", ":", "", ",", "false", ")", ";", "int", "Offset", "=", "MF", ".", "getFrameInfo", "(", ")"], "ground_truth": ["->", "getObjectOffset", "(", "FrameIndex", ")", ";"], "File": "AlphaRegisterInfo5", "Func": "eliminateFrameIndex", "Target": "Alpha", "Target_Clf": "MPU", "Compiler_Type": "LLVM", "Idx": 113007, "Length": 131, "Cover_Rate": 0.37752161383285304} {"Template_token": ["", "DebugLoc", "dl", "=", "MBBI", "->", "getDebugLoc", "(", ")", ";", "bool", "FP", "=", "hasFP", "(", "MF", ")", ";", "long", "NumBytes", "=", "MFI", "->", "getStackSize", "(", ")", ";", "if", "(", "FP", ")", "{", "BuildMI", "(", "MBB", ",", "MBBI", ",", "dl", ",", "TII", ".", "get", "(", "", ")", ",", "", ")", ".", "addReg", "(", "", ")", ".", "addReg", "(", "", ")", ";", "BuildMI", "(", "MBB", ",", "MBBI", ",", "dl", ",", "TII", ".", "get", "(", "", ")", ",", "", ")", ".", "addImm", "(", "", ")", ".", "addReg", "(", "", ")", ";", "}", "if", "(", "NumBytes", "!=", "", ")", "{", "if", "(", "NumBytes", "<=", "IMM_HIGH"], "ground_truth": [")", "{"], "File": "AlphaRegisterInfo5", "Func": "emitEpilogue", "Target": "Alpha", "Target_Clf": "MPU", "Compiler_Type": "LLVM", "Idx": 113008, "Length": 102, "Cover_Rate": 0.3044776119402985} {"Template_token": ["", "if", "(", "FP", ")", "{", "BuildMI", "(", "MBB", ",", "MBBI", ",", "dl", ",", "TII", ".", "get", "(", "", ")", ",", "", ")", ".", "addReg", "(", "", ")", ".", "addReg", "(", "", ")", ";", "BuildMI", "(", "MBB", ",", "MBBI", ",", "dl", ",", "TII", ".", "get", "(", "", ")", ",", "", ")", ".", "addImm", "(", "", ")", ".", "addReg", "(", "", ")", ";", "}", "if", "(", "NumBytes", "!=", "", ")", "{", "if", "(", "NumBytes", "<=", "IMM_HIGH", ")", "{", "BuildMI", "(", "MBB", ",", "MBBI", ",", "dl", ",", "TII", ".", "get", "(", "", ")", ",", "", ")", ".", "addImm", "(", "NumBytes", ")", ".", "addReg", "(", "", ")", ";", "}", "else", "if", "(", "getUpper16", "(", "NumBytes", ")", "<=", "IMM_HIGH", ")", "{", "BuildMI", "(", "MBB", ",", "MBBI", ",", "dl", ",", "TII", ".", "get", "(", "", ")", ",", "", ")", "."], "ground_truth": ["addImm", "(", "getUpper16", "(", "NumBytes", ")", ")", ".", "addReg", "(", "", ")", ";"], "File": "AlphaRegisterInfo5", "Func": "emitEpilogue", "Target": "Alpha", "Target_Clf": "MPU", "Compiler_Type": "LLVM", "Idx": 113009, "Length": 147, "Cover_Rate": 0.4388059701492537} {"Template_token": ["", "if", "(", "NumBytes", ">=", "IMM_LOW", ")", "{", "BuildMI", "(", "MBB", ",", "MBBI", ",", "dl", ",", "TII", ".", "get", "(", "", ")", ",", "", ")", ".", "addImm", "(", "NumBytes", ")", ".", "addReg", "(", "", ")", ";", "}", "else", "if", "(", "getUpper16", "(", "NumBytes", ")", ">=", "IMM_LOW", ")", "{", "BuildMI", "(", "MBB", ",", "MBBI", ",", "dl", ",", "TII", ".", "get", "(", "", ")", ",", "", ")", ".", "addImm", "(", "getUpper16", "(", "NumBytes", ")", ")", ".", "addReg", "(", "", ")", ";", "BuildMI", "(", "MBB", ",", "MBBI", ",", "dl", ",", "TII", ".", "get", "(", "", ")", ",", "", ")", ".", "addImm", "(", "getLower16", "(", "NumBytes", ")", ")", ".", "addReg", "(", "", ")", ";", "}", "else", "{", "std", "::", "string", "msg", ";", "raw_string_ostream", "Msg", "(", "msg", ")", ";", "Msg", "<<", "", "<<", "NumBytes", ";", "llvm_report_error", "(", "Msg", ".", "str", "(", ")", ")", ";", "}", "if", "(", "FP", ")", "{", "BuildMI", "(", "MBB", ",", "MBBI", ",", "dl", ",", "TII", ".", "get", "(", "", ")", ")", ".", "addReg", "(", "", ")", ".", "addImm", "("], "ground_truth": ["", ")", ".", "addReg", "(", "", ")", ";"], "File": "AlphaRegisterInfo5", "Func": "emitPrologue", "Target": "Alpha", "Target_Clf": "MPU", "Compiler_Type": "LLVM", "Idx": 113010, "Length": 175, "Cover_Rate": 0.33980582524271846} {"Template_token": ["", "}", "int", "FrameIndex", "=", "MI", ".", "getOperand", "(", "i", ")", ".", "getIndex", "(", ")", ";", "MI", ".", "getOperand", "(", "i", "+", "", ")", ".", "ChangeToRegister", "(", "FP", "?", "", ":", "", ",", "false", ")", ";", "int", "Offset", "=", "MF", ".", "getFrameInfo", "(", ")", "->", "getObjectOffset", "(", "FrameIndex", ")", ";", "DOUT", "(", "llvm", "::", "dbgs", "(", ")", "<<", "", "<<", "FrameIndex", "<<", "", "<<", "Offset", "<<", "", ";", "Offset", "+=", "MF", ".", "getFrameInfo", "(", ")", "->", "getStackSize", "(", ")", ";", "DOUT", "(", "llvm", "::", "dbgs", "(", ")", "<<", "", "<<", "Offset", "<<", "", "<<", "MF", ".", "getFrameInfo", "(", ")", "->", "getStackSize", "(", ")", "<<", "", ";", "if", "(", "Offset", ">", "IMM_HIGH", "||", "Offset", "<", "IMM_LOW", ")", "{", "DOUT", "(", "llvm", "::", "dbgs", "(", ")", "<<", ""], "ground_truth": ["<<", "Offset", "<<", "", ";"], "File": "AlphaRegisterInfo6", "Func": "eliminateFrameIndex", "Target": "Alpha", "Target_Clf": "MPU", "Compiler_Type": "LLVM", "Idx": 113011, "Length": 130, "Cover_Rate": 0.37900874635568516} {"Template_token": ["", "void", "RegisterInfo", "::", "eliminateCallFramePseudoInstr", "(", "MachineFunction", "&", "MF", ",", "MachineBasicBlock", "&", "MBB", ",", "MachineBasicBlock", "::", "iterator", "I", ")", "const", "{", "const", "TargetFrameLowering", "*", "TFI", "=", "MF", ".", "getTarget", "(", ")", ".", "getFrameLowering", "(", ")", ";", "if", "(", "TFI", "->", "hasFP", "(", "MF", ")", ")", "{", "MachineInstr", "*", "Old", "=", "I", ";", "uint64_t", "Amount", "=", "Old", "->", "getOperand", "(", "", ")", ".", "getImm", "(", ")", ";", "if", "(", "Amount", "!=", "", ")", "{", "unsigned", "Align", "=", "TFI", "->", "getStackAlignment", "(", ")", ";", "Amount", "=", "(", "Amount", "+", "Align", "-", "", ")", "/", "Align", "*", "Align", ";", "MachineInstr", "*", "New", ";", "if", "(", "Old", "->", "getOpcode", "(", ")", "==", "", ")", "{", "New", "=", "BuildMI", "(", "MF", ",", "Old", "->", "getDebugLoc", "(", ")", ",", "TII", ".", "get", "(", "", ")", ",", "", ")", ".", "addImm", "(", "-", "Amount", ")", ".", "addReg", "(", "", ")", ";", "}", "else"], "ground_truth": ["{"], "File": "AlphaRegisterInfo7", "Func": "eliminateCallFramePseudoInstr", "Target": "Alpha", "Target_Clf": "MPU", "Compiler_Type": "LLVM", "Idx": 113012, "Length": 146, "Cover_Rate": 0.6488888888888888} {"Template_token": ["", "const", "TargetFrameLowering", "*", "TFI", "=", "MF", ".", "getTarget", "(", ")", ".", "getFrameLowering", "(", ")", ";", "return", "TFI", "->", "hasFP", "(", "MF", ")", "?", ""], "ground_truth": [":", "", ";"], "File": "AlphaRegisterInfo7", "Func": "getFrameRegister", "Target": "Alpha", "Target_Clf": "MPU", "Compiler_Type": "LLVM", "Idx": 113013, "Length": 27, "Cover_Rate": 0.6136363636363636} {"Template_token": ["", "const", "TargetFrameLowering", "*", "TFI", "=", "MF", ".", "getTarget", "(", ")", "."], "ground_truth": ["getFrameLowering", "(", ")", ";"], "File": "AlphaRegisterInfo7", "Func": "getFrameRegister", "Target": "Alpha", "Target_Clf": "MPU", "Compiler_Type": "LLVM", "Idx": 113014, "Length": 15, "Cover_Rate": 0.3409090909090909} {"Template_token": ["", "std", "::", "string", "RegisterInfo", "::"], "ground_truth": ["getPrettyName", "(", "unsigned", "reg", ")", "{"], "File": "AlphaRegisterInfo8", "Func": "getPrettyName", "Target": "Alpha", "Target_Clf": "MPU", "Compiler_Type": "LLVM", "Idx": 113015, "Length": 11, "Cover_Rate": 0.39285714285714285} {"Template_token": ["", "BitVector", "Reserved", "(", "getNumRegs", "(", ")", ")", ";", "Reserved", ".", "set", "(", "", ")", ";", "Reserved", ".", "set", "(", "", ")", ";", "Reserved", ".", "set", "(", "", ")", ";", "Reserved", ".", "set"], "ground_truth": ["(", "", ")", ";"], "File": "AlphaRegisterInfo8", "Func": "getReservedRegs", "Target": "Alpha", "Target_Clf": "MPU", "Compiler_Type": "LLVM", "Idx": 113016, "Length": 36, "Cover_Rate": 0.6} {"Template_token": ["", "BitVector", "RegisterInfo", "::", "getReservedRegs", "(", "const", "MachineFunction", "&", "MF", ")", "const", "{", "BitVector", "Reserved", "(", "getNumRegs", "(", ")", ")", ";", "Reserved", ".", "set", "(", ""], "ground_truth": [")", ";"], "File": "AlphaRegisterInfo8", "Func": "getReservedRegs", "Target": "Alpha", "Target_Clf": "MPU", "Compiler_Type": "LLVM", "Idx": 113017, "Length": 27, "Cover_Rate": 0.45} {"Template_token": ["", "if", "(", "hasFP", "(", "MF", ")", ")", "{", "MachineInstr", "*", "Old", "=", "I", ";", "uint64_t", "Amount", "=", "Old", "->", "getOperand", "(", "", ")", ".", "getImm", "(", ")", ";", "if", "(", "Amount", "!=", "", ")", "{", "unsigned", "Align", "=", "MF", ".", "getTarget", "(", ")", ".", "getFrameInfo", "(", ")", "->", "getStackAlignment", "(", ")", ";", "Amount", "=", "(", "Amount", "+", "Align", "-", "", ")", "/", "Align", "*", "Align", ";", "MachineInstr", "*", "New", ";", "if", "(", "Old", "->", "getOpcode", "(", ")", "==", "", ")", "{", "New", "=", "BuildMI", "(", "MF", ",", "Old", "->", "getDebugLoc", "(", ")", ",", "TII", ".", "get", "(", "", ")", ",", "", ")", ".", "addImm", "(", "-", "Amount", ")", ".", "addReg", "(", "", ")", ";", "}", "else", "{", "assert", "(", "Old", "->", "getOpcode", "(", ")", "==", "", ")", ";", "New", "=", "BuildMI", "(", "MF", ",", "Old", "->", "getDebugLoc", "(", ")", ",", "TII", ".", "get", "(", "", ")", ",", "", ")", ".", "addImm", "(", "Amount", ")", ".", "addReg", "(", "", ")", ";", "}", "MBB", ".", "insert", "(", "I"], "ground_truth": [",", "New", ")", ";"], "File": "AlphaRegisterInfo", "Func": "eliminateCallFramePseudoInstr", "Target": "Alpha", "Target_Clf": "MPU", "Compiler_Type": "LLVM", "Idx": 113018, "Length": 170, "Cover_Rate": 0.7870370370370371} {"Template_token": ["", "MachineInstr", "*", "New", ";", "if", "(", "Old", "->", "getOpcode", "(", ")", "==", "", ")", "{", "New", "=", "BuildMI", "(", "MF", ",", "Old", "->", "getDebugLoc", "(", ")", ",", "TII", ".", "get", "(", "", ")", ",", "", ")", ".", "addImm", "(", "-", "Amount", ")", ".", "addReg", "(", "", ")", ";", "}", "else", "{", "assert", "(", "Old", "->", "getOpcode", "(", ")", "==", "", ")", ";", "New", "=", "BuildMI", "(", "MF", ",", "Old", "->", "getDebugLoc", "(", ")", ",", "TII", ".", "get", "(", "", ")", ",", "", ")", ".", "addImm", "(", "Amount", ")", ".", "addReg", "(", "", ")", ";", "}", "MBB", ".", "insert", "(", "I", ",", "New", ")", ";", "}", "}", "MBB", ".", "erase", "("], "ground_truth": ["I", ")", ";"], "File": "AlphaRegisterInfo", "Func": "eliminateCallFramePseudoInstr", "Target": "Alpha", "Target_Clf": "MPU", "Compiler_Type": "LLVM", "Idx": 113019, "Length": 113, "Cover_Rate": 0.5231481481481481} {"Template_token": ["", "MachineBasicBlock", "&", "MBB", "=", "*", "MI", ".", "getParent", "(", ")", ";", "MachineFunction", "&", "MF", "=", "*", "MBB", ".", "getParent", "(", ")", ";", "bool", "FP", "=", "hasFP", "(", "MF", ")", ";", "while", "(", "!", "MI", ".", "getOperand", "(", "i", ")", ".", "isFI", "(", ")", ")", "{", "++", "i", ";", "assert", "(", "i", "<", "MI", ".", "getNumOperands", "(", ")", "&&", "", ")", ";", "}", "int", "FrameIndex", "=", "MI", ".", "getOperand", "(", "i", ")", ".", "getIndex", "(", ")", ";", "MI", ".", "getOperand", "(", "i", "+", "", ")", ".", "ChangeToRegister", "(", "FP", "?", "", ":", "", ",", "false", ")", ";", "int", "Offset", "=", "MF", ".", "getFrameInfo", "("], "ground_truth": [")", "->", "getObjectOffset", "(", "FrameIndex", ")", ";"], "File": "AlphaRegisterInfo", "Func": "eliminateFrameIndex", "Target": "Alpha", "Target_Clf": "MPU", "Compiler_Type": "LLVM", "Idx": 113020, "Length": 110, "Cover_Rate": 0.3170028818443804} {"Template_token": ["", "MachineBasicBlock", "&", "MBB", "=", "*", "MI", ".", "getParent", "(", ")", ";", "MachineFunction", "&", "MF", "=", "*", "MBB", ".", "getParent", "(", ")", ";", "bool", "FP", "=", "hasFP", "(", "MF", ")", ";", "while", "(", "!", "MI", ".", "getOperand", "(", "i", ")", ".", "isFI", "(", ")", ")", "{", "++", "i", ";", "assert", "(", "i", "<", "MI", ".", "getNumOperands", "(", ")", "&&", "", ")", ";", "}", "int", "FrameIndex", "=", "MI", ".", "getOperand", "(", "i", ")", ".", "getIndex", "(", ")", ";", "MI", ".", "getOperand", "(", "i", "+", "", ")", ".", "ChangeToRegister", "(", "FP", "?", "", ":", "", ",", "false", ")", ";", "int", "Offset", "=", "MF", ".", "getFrameInfo", "(", ")", "->", "getObjectOffset", "(", "FrameIndex", ")", ";", "DEBUG", "(", "errs", "(", ")", "<<", "", "<<", "FrameIndex", "<<", "", "<<", "Offset", "<<", "", ")", ";", "Offset", "+=", "MF", ".", "getFrameInfo", "(", ")", "->", "getStackSize", "(", ")", ";", "DEBUG", "(", "errs", "(", ")", "<<", "", "<<", "Offset", "<<", "", "<<", "MF", ".", "getFrameInfo", "(", ")", "->", "getStackSize", "(", ")", "<<", "", ")", ";", "if", "(", "Offset", ">", "IMM_HIGH", "||", "Offset", "<", "IMM_LOW", ")", "{", "DEBUG", "(", "errs", "(", ")", "<<", "", "<<", "Offset"], "ground_truth": ["<<", "", ")", ";"], "File": "AlphaRegisterInfo", "Func": "eliminateFrameIndex", "Target": "Alpha", "Target_Clf": "MPU", "Compiler_Type": "LLVM", "Idx": 113021, "Length": 188, "Cover_Rate": 0.5417867435158501} {"Template_token": ["", "MachineBasicBlock", "&", "MBB", "=", "MF", ".", "front", "(", ")", ";", "MachineBasicBlock", "::", "iterator", "MBBI", "=", "MBB", ".", "begin", "(", ")", ";", "MachineFrameInfo", "*", "MFI", "=", "MF", ".", "getFrameInfo", "(", ")", ";", "DebugLoc", "dl", "=", "(", "MBBI", "!=", "MBB", ".", "end", "(", ")", "?", "MBBI", "->", "getDebugLoc", "(", ")", ":", "DebugLoc", "(", ")", ")", ";", "bool", "FP", "=", "hasFP", "(", "MF", ")", ";", "BuildMI", "(", "MBB", ",", "MBBI", ",", "dl", ",", "TII", ".", "get", "(", "", ")", ",", "", ")", ".", "addGlobalAddress", "(", "const_cast", "<", "Function", "*", ">", "(", "MF", ".", "getFunction", "(", ")", ")", ")", ".", "addReg", "(", "", ")", ".", "addImm", "(", "++", "curgpdist", ")", ";", "BuildMI", "(", "MBB", ",", "MBBI", ",", "dl", ",", "TII", ".", "get", "(", "", ")", ",", "", ")", ".", "addGlobalAddress", "(", "const_cast", "<", "Function", "*", ">", "(", "MF", ".", "getFunction", "(", ")", ")", ")", ".", "addReg", "(", "", ")", ".", "addImm", "(", "curgpdist", ")", ";", "BuildMI", "(", "MBB", ",", "MBBI", ",", "dl", ",", "TII", ".", "get", "(", "", ")", ")", ".", "addGlobalAddress", "(", "const_cast", "<", "Function", "*", ">", "(", "MF", ".", "getFunction", "(", ")", ")", ")", ";", "long", "NumBytes", "=", "MFI", "->"], "ground_truth": ["getStackSize", "(", ")", ";"], "File": "AlphaRegisterInfo", "Func": "emitPrologue", "Target": "Alpha", "Target_Clf": "MPU", "Compiler_Type": "LLVM", "Idx": 113022, "Length": 192, "Cover_Rate": 0.386317907444668} {"Template_token": ["", "const", "TargetRegisterClass", "*", "const", "*", "RegisterInfo", "::", "getCalleeSavedRegClasses", "(", "const", "MachineFunction", "*", "MF", ")", "const", "{", "static", "const", "TargetRegisterClass", "*", "const", "CalleeSavedRegClasses", "[", "]", "=", "{", "&", "", ",", "&", "", ",", "&", "", ",", "&", "", ",", "&", "", ",", "&", "", ",", "&", "", ",", "&", "", ",", "&", "", ",", "&", "", ",", "&", "", ",", "&", "", ",", "&", "", ",", "&", "", ",", "", "}", ";", "return", "CalleeSavedRegClasses"], "ground_truth": [";"], "File": "AlphaRegisterInfo", "Func": "getCalleeSavedRegClasses", "Target": "Alpha", "Target_Clf": "MPU", "Compiler_Type": "LLVM", "Idx": 113023, "Length": 74, "Cover_Rate": 0.7184466019417476} {"Template_token": ["", "", ",", "", ",", "", ",", "", ",", "", ",", "", ",", "", ",", ""], "ground_truth": [",", "", ",", "", ",", "", ",", "", ",", "", ",", "", ",", "", "}", ";"], "File": "AlphaRegisterInfo", "Func": "getCalleeSavedRegs", "Target": "Alpha", "Target_Clf": "MPU", "Compiler_Type": "LLVM", "Idx": 113024, "Length": 31, "Cover_Rate": 0.36470588235294116} {"Template_token": ["", "int", "RegisterInfo", "::", "getDwarfRegNum", "(", "unsigned", "RegNum", ","], "ground_truth": ["bool", "isEH", ")", "const", "{"], "File": "AlphaRegisterInfo", "Func": "getDwarfRegNum", "Target": "Alpha", "Target_Clf": "MPU", "Compiler_Type": "LLVM", "Idx": 113025, "Length": 13, "Cover_Rate": 0.5652173913043478} {"Template_token": ["", "int", "RegisterInfo", "::", "getDwarfRegNum", "(", "unsigned", "RegNum", ",", "bool", "isEH", ")", "const", "{", "llvm_unreachable", "(", ""], "ground_truth": [")", ";"], "File": "AlphaRegisterInfo", "Func": "getDwarfRegNum", "Target": "Alpha", "Target_Clf": "MPU", "Compiler_Type": "LLVM", "Idx": 113026, "Length": 18, "Cover_Rate": 0.782608695652174} {"Template_token": ["", "unsigned", "RegisterInfo", "::", "getEHExceptionRegister", "(", ")", "const", "{", "llvm_unreachable", "(", ""], "ground_truth": [")", ";"], "File": "AlphaRegisterInfo", "Func": "getEHExceptionRegister", "Target": "Alpha", "Target_Clf": "MPU", "Compiler_Type": "LLVM", "Idx": 113027, "Length": 13, "Cover_Rate": 0.7647058823529411} {"Template_token": ["", "llvm_unreachable", "(", "", ")", ";", "return", ""], "ground_truth": [";"], "File": "AlphaRegisterInfo", "Func": "getEHExceptionRegister", "Target": "Alpha", "Target_Clf": "MPU", "Compiler_Type": "LLVM", "Idx": 113028, "Length": 8, "Cover_Rate": 0.47058823529411764} {"Template_token": ["", "unsigned", "RegisterInfo", "::", "getFrameRegister", "(", "const", "MachineFunction", "&", "MF"], "ground_truth": [")", "const", "{"], "File": "AlphaRegisterInfo", "Func": "getFrameRegister", "Target": "Alpha", "Target_Clf": "MPU", "Compiler_Type": "LLVM", "Idx": 113029, "Length": 12, "Cover_Rate": 0.4444444444444444} {"Template_token": ["", "unsigned", "RegisterInfo", "::", "getFrameRegister", "(", "const", "MachineFunction", "&", "MF", ")", "const", "{", "return", "hasFP", "(", "MF", ")"], "ground_truth": ["?", "", ":", "", ";"], "File": "AlphaRegisterInfo", "Func": "getFrameRegister", "Target": "Alpha", "Target_Clf": "MPU", "Compiler_Type": "LLVM", "Idx": 113030, "Length": 22, "Cover_Rate": 0.8148148148148148} {"Template_token": ["", "std", "::", "string", "RegisterInfo", "::", "getPrettyName", "(", "unsigned", "reg", ")", "{", "std", "::", "string", "s", "(", "RegisterDescriptors", "[", "reg", "]", ".", "Name", ")", ";", "return"], "ground_truth": ["s", ";"], "File": "AlphaRegisterInfo", "Func": "getPrettyName", "Target": "Alpha", "Target_Clf": "MPU", "Compiler_Type": "LLVM", "Idx": 113031, "Length": 27, "Cover_Rate": 0.9642857142857143} {"Template_token": ["", "unsigned", "RegisterInfo", "::", "getRARegister", "(", ")", "const", "{", "return", ""], "ground_truth": [";"], "File": "AlphaRegisterInfo", "Func": "getRARegister", "Target": "Alpha", "Target_Clf": "MPU", "Compiler_Type": "LLVM", "Idx": 113032, "Length": 11, "Cover_Rate": 0.7857142857142857} {"Template_token": ["", "BitVector", "Reserved", "(", "getNumRegs", "(", ")", ")", ";", "Reserved", ".", "set", "(", "", ")", ";", "Reserved", ".", "set", "(", "", ")", ";", "Reserved", ".", "set"], "ground_truth": ["(", "", ")", ";"], "File": "AlphaRegisterInfo", "Func": "getReservedRegs", "Target": "Alpha", "Target_Clf": "MPU", "Compiler_Type": "LLVM", "Idx": 113033, "Length": 29, "Cover_Rate": 0.5686274509803921} {"Template_token": ["", "BitVector", "RegisterInfo", "::", "getReservedRegs", "(", "const", "MachineFunction", "&", "MF", ")", "const", "{", "BitVector", "Reserved", "(", "getNumRegs", "(", ")", ")", ";", "Reserved", ".", "set", "(", "", ")", ";", "Reserved", ".", "set", "(", "", ")", ";", "Reserved", ".", "set", "(", ""], "ground_truth": [")", ";"], "File": "AlphaRegisterInfo", "Func": "getReservedRegs", "Target": "Alpha", "Target_Clf": "MPU", "Compiler_Type": "LLVM", "Idx": 113034, "Length": 41, "Cover_Rate": 0.803921568627451} {"Template_token": ["", "if", "(", "l", "%", "IMM_MULT", ">", "IMM_HIGH", ")", "++", "y", ";", "return"], "ground_truth": ["y", ";"], "File": "AlphaRegisterInfo", "Func": "getUpper16", "Target": "Alpha", "Target_Clf": "MPU", "Compiler_Type": "LLVM", "Idx": 113035, "Length": 14, "Cover_Rate": 0.4666666666666667} {"Template_token": ["", "bool", "RegisterInfo", "::", "hasFP", "(", "const", "MachineFunction", "&", "MF"], "ground_truth": [")", "const", "{"], "File": "AlphaRegisterInfo", "Func": "hasFP", "Target": "Alpha", "Target_Clf": "MPU", "Compiler_Type": "LLVM", "Idx": 113036, "Length": 12, "Cover_Rate": 0.3870967741935484} {"Template_token": ["", "Subtarget", "::", "Subtarget", "(", "const", "Module", "&", "M", ",", "const", "std", "::", "string"], "ground_truth": ["&", "FS", ")", ":", "HasCT", "(", "false", ")", "{"], "File": "AlphaSubtarget1", "Func": "AlphaSubtarget", "Target": "Alpha", "Target_Clf": "MPU", "Compiler_Type": "LLVM", "Idx": 113037, "Length": 22, "Cover_Rate": 0.5945945945945946} {"Template_token": ["", "Subtarget", "::", "Subtarget", "(", "const", "std", "::", "string", "&", "TT", ",", "const", "std", "::", "string", "&", "CPU", ",", "const", "std", "::", "string", "&", "FS", ")", ":", "GenSubtargetInfo", "(", "TT", ",", "CPU", ",", "FS", ")", ",", "HasCT", "(", "false", ")", "{", "std", "::", "string"], "ground_truth": ["CPUName", "=", "CPU", ";"], "File": "AlphaSubtarget", "Func": "AlphaSubtarget", "Target": "Alpha", "Target_Clf": "MPU", "Compiler_Type": "LLVM", "Idx": 113038, "Length": 47, "Cover_Rate": 0.6351351351351351} {"Template_token": ["", "TargetAsmInfo", "::", "TargetAsmInfo", "(", "const", "TargetMachine", "&", "TM", ")", ":", "TargetAsmInfo"], "ground_truth": ["(", "TM", ")", "{"], "File": "AlphaTargetAsmInfo1", "Func": "AlphaTargetAsmInfo", "Target": "Alpha", "Target_Clf": "MPU", "Compiler_Type": "LLVM", "Idx": 113039, "Length": 15, "Cover_Rate": 0.4166666666666667} {"Template_token": ["", "return", "(", "TM", ".", "getRelocationModel", "(", ")", "!=", "Reloc", "::", "Static", "?", "Reloc", "::"], "ground_truth": ["LocalOrGlobal", ":", "Reloc", "::", "Global", ")", ";"], "File": "AlphaTargetAsmInfo1", "Func": "RelocBehaviour", "Target": "Alpha", "Target_Clf": "MPU", "Compiler_Type": "LLVM", "Idx": 113040, "Length": 21, "Cover_Rate": 0.7} {"Template_token": ["", "return", "(", "TM", ".", "getRelocationModel", "(", ")", "!=", "Reloc", "::", "Static", "?", "Reloc", "::", "LocalOrGlobal"], "ground_truth": [":", "Reloc", "::", "Global", ")", ";"], "File": "AlphaTargetAsmInfo1", "Func": "RelocBehaviour", "Target": "Alpha", "Target_Clf": "MPU", "Compiler_Type": "LLVM", "Idx": 113041, "Length": 21, "Cover_Rate": 0.7} {"Template_token": ["", "PM", ".", "add", "(", "createObjectCodeEmitterPass", "(", "*", "this", ",", "OCE", ")", ")", ";", "return", "false"], "ground_truth": [";"], "File": "AlphaTargetMachine1", "Func": "addCodeEmitter", "Target": "Alpha", "Target_Clf": "MPU", "Compiler_Type": "LLVM", "Idx": 113042, "Length": 16, "Cover_Rate": 0.4444444444444444} {"Template_token": ["", "bool", "TargetMachine", "::", "addSimpleCodeEmitter", "(", "PassManagerBase", "&", "PM", ",", "CodeGenOpt", "::", "Level", "OptLevel", ",", "ObjectCodeEmitter", "&", "OCE", ")", "{", "return", "addCodeEmitter", "(", "PM", ",", "OptLevel", ",", "OCE"], "ground_truth": [")", ";"], "File": "AlphaTargetMachine1", "Func": "addSimpleCodeEmitter", "Target": "Alpha", "Target_Clf": "MPU", "Compiler_Type": "LLVM", "Idx": 113043, "Length": 29, "Cover_Rate": 0.9666666666666667} {"Template_token": ["", "TargetMachine", "::", "TargetMachine", "(", "const", "Target", "&", "T", ",", "const", "std", "::", "string", "&", "TT", ",", "const", "std", "::", "string", "&", "FS", ")", ":", "LLVMTargetMachine", "(", "T", ",", "TT", ")", ",", "DataLayout", "(", "", ")", ",", "FrameInfo", "(", "TargetFrameInfo", "::", "StackGrowsDown", ",", "", ",", "", ")", ",", "JITInfo", "(", "*", "this", ")", ",", "Subtarget", "(", "TT", ",", "FS", ")", ",", "TLInfo", "(", "*", "this", ")", "{", "setRelocationModel", "(", "Reloc", "::"], "ground_truth": ["PIC_", ")", ";"], "File": "AlphaTargetMachine1", "Func": "AlphaTargetMachine", "Target": "Alpha", "Target_Clf": "MPU", "Compiler_Type": "LLVM", "Idx": 113044, "Length": 73, "Cover_Rate": 0.9864864864864865} {"Template_token": ["", "return", "&"], "ground_truth": ["JITInfo", ";"], "File": "AlphaTargetMachine1", "Func": "getJITInfo", "Target": "Alpha", "Target_Clf": "MPU", "Compiler_Type": "LLVM", "Idx": 113045, "Length": 4, "Cover_Rate": 0.3333333333333333} {"Template_token": ["", "virtual", "JITInfo", "*", "getJITInfo", "(", ")", "{", "return", "&", "JITInfo"], "ground_truth": [";"], "File": "AlphaTargetMachine1", "Func": "getJITInfo", "Target": "Alpha", "Target_Clf": "MPU", "Compiler_Type": "LLVM", "Idx": 113046, "Length": 11, "Cover_Rate": 0.9166666666666666} {"Template_token": ["", "TargetMachine", "::", "TargetMachine", "(", "const", "Target", "&", "T", ",", "const", "std", "::", "string", "&", "TT", ",", "const", "std", "::", "string", "&", "FS", ")", ":", "LLVMTargetMachine", "(", "T", ",", "TT", ")", ",", "DataLayout", "(", "", ")", ",", "FrameLowering", "(", "Subtarget", ")", ",", "Subtarget", "(", "TT", ",", "FS", ")", ",", "TLInfo", "(", "*", "this", ")", ",", "TSInfo", "(", "*", "this", ")", "{", "setRelocationModel", "(", "Reloc", "::", "PIC_"], "ground_truth": [")", ";"], "File": "AlphaTargetMachine2", "Func": "AlphaTargetMachine", "Target": "Alpha", "Target_Clf": "MPU", "Compiler_Type": "LLVM", "Idx": 113047, "Length": 67, "Cover_Rate": 0.9852941176470589} {"Template_token": ["", "TargetMachine", "::", "TargetMachine", "(", "const", "Target", "&", "T", ",", "const", "std", "::", "string", "&", "TT", ",", "const", "std", "::", "string", "&", "FS", ")", ":", "LLVMTargetMachine", "(", "T", ",", "TT", ")", ",", "DataLayout", "(", "", ")", ",", "FrameLowering", "(", "Subtarget", ")", ",", "Subtarget", "(", "TT", ",", "FS", ")", ",", "TLInfo", "(", "*", "this", ")", ",", "TSInfo", "(", "*", "this", ")", "{", "setRelocationModel", "(", "Reloc", "::", "PIC_"], "ground_truth": [")", ";"], "File": "AlphaTargetMachine2", "Func": "AlphaTargetMachine", "Target": "Alpha", "Target_Clf": "MPU", "Compiler_Type": "LLVM", "Idx": 113048, "Length": 67, "Cover_Rate": 0.9852941176470589} {"Template_token": ["", "virtual", "TargetLowering", "*", "getTargetLowering", "("], "ground_truth": [")", "const", "{"], "File": "AlphaTargetMachine2", "Func": "getTargetLowering", "Target": "Alpha", "Target_Clf": "MPU", "Compiler_Type": "LLVM", "Idx": 113049, "Length": 8, "Cover_Rate": 0.4} {"Template_token": ["", "void", "LLVMInitializeTarget", "(", ")", "{", "RegisterTargetMachine", "<", "TargetMachine", ">", "X", "(", "TheTarget", ")", ";", "RegisterAsmInfo", "<", "MCAsmInfo", ">"], "ground_truth": ["Y", "(", "TheTarget", ")", ";"], "File": "AlphaTargetMachine2", "Func": "LLVMInitializeAlphaTarget", "Target": "Alpha", "Target_Clf": "MPU", "Compiler_Type": "LLVM", "Idx": 113050, "Length": 23, "Cover_Rate": 0.9583333333333334} {"Template_token": ["", "RegisterAsmInfo", "<", "MCAsmInfo", ">", "Y", "("], "ground_truth": ["TheTarget", ")", ";"], "File": "AlphaTargetMachine2", "Func": "LLVMInitializeAlphaTarget", "Target": "Alpha", "Target_Clf": "MPU", "Compiler_Type": "LLVM", "Idx": 113051, "Length": 9, "Cover_Rate": 0.375} {"Template_token": ["", "TargetMachine", "::", "TargetMachine", "(", "const", "Target", "&", "T", ",", "const", "std", "::", "string", "&", "TT", ",", "const", "std", "::", "string", "&", "FS", ")", ":", "LLVMTargetMachine", "(", "T", ",", "TT", ")", ",", "DataLayout", "(", "", ")", ",", "FrameInfo", "(", "TargetFrameInfo", "::", "StackGrowsDown", ",", "", ",", "", ")", ",", "JITInfo", "(", "*", "this", ")"], "ground_truth": [",", "Subtarget", "(", "TT", ",", "FS", ")", ",", "TLInfo", "(", "*", "this", ")", ",", "TSInfo", "(", "*", "this", ")", "{"], "File": "AlphaTargetMachine3", "Func": "AlphaTargetMachine", "Target": "Alpha", "Target_Clf": "MPU", "Compiler_Type": "LLVM", "Idx": 113052, "Length": 72, "Cover_Rate": 0.9} {"Template_token": ["", "if", "(", "DumpAsm", ")", "PM", ".", "add", "(", "createCodePrinterPass", "(", "errs", "(", ")", ",", "*", "this", ",", "OptLevel", ",", "true", ")", ")", ";", "return", "false"], "ground_truth": [";"], "File": "AlphaTargetMachine4", "Func": "addCodeEmitter", "Target": "Alpha", "Target_Clf": "MPU", "Compiler_Type": "LLVM", "Idx": 113053, "Length": 26, "Cover_Rate": 0.41935483870967744} {"Template_token": ["", "if", "(", "DumpAsm", ")", "PM", ".", "add", "(", "createCodePrinterPass", "(", "errs", "(", ")", ",", "*", "this", ",", "OptLevel", ",", "true", ")", ")", ";", "return"], "ground_truth": ["false", ";"], "File": "AlphaTargetMachine4", "Func": "addCodeEmitter", "Target": "Alpha", "Target_Clf": "MPU", "Compiler_Type": "LLVM", "Idx": 113054, "Length": 26, "Cover_Rate": 0.41935483870967744} {"Template_token": ["", "bool", "TargetMachine", "::", "addPreEmitPass", "(", "PassManagerBase", "&"], "ground_truth": ["PM", ",", "CodeGenOpt", "::", "Level", "OptLevel", ")", "{"], "File": "AlphaTargetMachine4", "Func": "addPreEmitPass", "Target": "Alpha", "Target_Clf": "MPU", "Compiler_Type": "LLVM", "Idx": 113055, "Length": 15, "Cover_Rate": 0.5357142857142857} {"Template_token": ["", "bool", "TargetMachine", "::", "addSimpleCodeEmitter", "(", "PassManagerBase", "&", "PM", ",", "CodeGenOpt", "::", "Level"], "ground_truth": ["OptLevel", ",", "bool", "DumpAsm", ",", "JITCodeEmitter", "&", "JCE", ")", "{"], "File": "AlphaTargetMachine4", "Func": "addSimpleCodeEmitter", "Target": "Alpha", "Target_Clf": "MPU", "Compiler_Type": "LLVM", "Idx": 113056, "Length": 22, "Cover_Rate": 0.6285714285714286} {"Template_token": ["", "return", "addCodeEmitter", "(", "PM", ",", "OptLevel"], "ground_truth": [",", "DumpAsm", ",", "JCE", ")", ";"], "File": "AlphaTargetMachine4", "Func": "addSimpleCodeEmitter", "Target": "Alpha", "Target_Clf": "MPU", "Compiler_Type": "LLVM", "Idx": 113057, "Length": 12, "Cover_Rate": 0.34285714285714286} {"Template_token": ["", "TargetMachine", "::", "TargetMachine", "(", "const", "Module", "&", "M", ",", "const", "std", "::", "string", "&", "FS", ")", ":", "DataLayout", "(", "", ")", ",", "FrameInfo", "(", "TargetFrameInfo", "::", "StackGrowsDown", ",", "", ",", "", ")", ",", "JITInfo", "(", "*", "this", ")", ",", "Subtarget", "(", "M", ",", "FS", ")", ",", "TLInfo", "(", "*", "this", ")", "{", "setRelocationModel", "(", "Reloc", "::"], "ground_truth": ["PIC_", ")", ";"], "File": "AlphaTargetMachine4", "Func": "AlphaTargetMachine", "Target": "Alpha", "Target_Clf": "MPU", "Compiler_Type": "LLVM", "Idx": 113058, "Length": 59, "Cover_Rate": 0.9833333333333333} {"Template_token": ["", "return", "new", "TargetAsmInfo", "(", "*", "this", ")"], "ground_truth": [";"], "File": "AlphaTargetMachine4", "Func": "createTargetAsmInfo", "Target": "Alpha", "Target_Clf": "MPU", "Compiler_Type": "LLVM", "Idx": 113059, "Length": 8, "Cover_Rate": 0.42105263157894735} {"Template_token": ["", "if", "(", "M", ".", "getEndianness", "(", ")", "==", "Module", "::", "LittleEndian", "&&", "M", ".", "getPointerSize", "(", ")", "==", "Module", "::", "Pointer64", ")", "return", "", ";", "else", "if", "(", "M", ".", "getEndianness", "(", ")", "!=", "Module", "::", "AnyEndianness", "||", "M", ".", "getPointerSize"], "ground_truth": ["(", ")", "!=", "Module", "::", "AnyPointerSize", ")", "return", "", ";"], "File": "AlphaTargetMachine4", "Func": "getModuleMatchQuality", "Target": "Alpha", "Target_Clf": "MPU", "Compiler_Type": "LLVM", "Idx": 113060, "Length": 51, "Cover_Rate": 0.3617021276595745} {"Template_token": ["", "if", "(", "TT", ".", "size", "(", ")", ">=", "", "&&", "TT", "[", "", "]", "==", "'a'", "&&", "TT", "[", "", "]", "==", "'l'", "&&", "TT", "[", "", "]", "==", "'p'", "&&", "TT", "[", "", "]", "==", "'h'", "&&", "TT", "[", "", "]", "==", "'a'", ")", "return", "", ";", "if", "(", "!", "TT", ".", "empty", "(", ")", ")", "return"], "ground_truth": ["", ";"], "File": "AlphaTargetMachine4", "Func": "getModuleMatchQuality", "Target": "Alpha", "Target_Clf": "MPU", "Compiler_Type": "LLVM", "Idx": 113061, "Length": 60, "Cover_Rate": 0.425531914893617} {"Template_token": ["", "TargetMachine", "::", "TargetMachine", "(", "const", "Target", "&", "T", ",", "const", "std", "::", "string", "&", "TT", ",", "const", "std", "::", "string", "&", "FS", ")", ":", "LLVMTargetMachine", "(", "T", ",", "TT", ")", ",", "DataLayout", "(", "", ")", ",", "FrameInfo", "(", "Subtarget", ")", ",", "Subtarget", "(", "TT", ",", "FS", ")", ",", "TLInfo", "(", "*", "this", ")", ",", "TSInfo", "(", "*", "this", ")", "{", "setRelocationModel", "(", "Reloc", "::", "PIC_"], "ground_truth": [")", ";"], "File": "AlphaTargetMachine5", "Func": "AlphaTargetMachine", "Target": "Alpha", "Target_Clf": "MPU", "Compiler_Type": "LLVM", "Idx": 113062, "Length": 67, "Cover_Rate": 0.9852941176470589} {"Template_token": ["", "PM", ".", "add", "(", "createCodePrinterPass", "(", "Out", ",", "*", "this", ",", "Fast", ")", ")", ";", "return", "false"], "ground_truth": [";"], "File": "AlphaTargetMachine6", "Func": "addAssemblyEmitter", "Target": "Alpha", "Target_Clf": "MPU", "Compiler_Type": "LLVM", "Idx": 113063, "Length": 18, "Cover_Rate": 0.3829787234042553} {"Template_token": ["", "PM", ".", "add", "(", "createCodeEmitterPass", "(", "*", "this", ",", "MCE", ")", ")", ";", "if", "(", "DumpAsm", ")", "PM", ".", "add", "(", "createCodePrinterPass", "(", "errs", "(", ")", ",", "*", "this", ",", "Fast", ")", ")", ";", "return", "false"], "ground_truth": [";"], "File": "AlphaTargetMachine6", "Func": "addCodeEmitter", "Target": "Alpha", "Target_Clf": "MPU", "Compiler_Type": "LLVM", "Idx": 113064, "Length": 37, "Cover_Rate": 0.6379310344827587} {"Template_token": ["", "PM", ".", "add", "(", "createISelDag", "("], "ground_truth": ["*", "this", ")", ")", ";"], "File": "AlphaTargetMachine6", "Func": "addInstSelector", "Target": "Alpha", "Target_Clf": "MPU", "Compiler_Type": "LLVM", "Idx": 113065, "Length": 11, "Cover_Rate": 0.39285714285714285} {"Template_token": ["", "PM", ".", "add", "(", "createBranchSelectionPass", "("], "ground_truth": [")", ")", ";"], "File": "AlphaTargetMachine6", "Func": "addPreEmitPass", "Target": "Alpha", "Target_Clf": "MPU", "Compiler_Type": "LLVM", "Idx": 113066, "Length": 9, "Cover_Rate": 0.34615384615384615} {"Template_token": ["", "bool", "TargetMachine", "::", "addSimpleCodeEmitter", "(", "PassManagerBase", "&", "PM", ",", "bool", "Fast", ","], "ground_truth": ["bool", "DumpAsm", ",", "MachineCodeEmitter", "&", "MCE", ")", "{"], "File": "AlphaTargetMachine6", "Func": "addSimpleCodeEmitter", "Target": "Alpha", "Target_Clf": "MPU", "Compiler_Type": "LLVM", "Idx": 113067, "Length": 20, "Cover_Rate": 0.6060606060606061} {"Template_token": ["", "return", "addCodeEmitter", "(", "PM", ",", "Fast"], "ground_truth": [",", "DumpAsm", ",", "MCE", ")", ";"], "File": "AlphaTargetMachine6", "Func": "addSimpleCodeEmitter", "Target": "Alpha", "Target_Clf": "MPU", "Compiler_Type": "LLVM", "Idx": 113068, "Length": 12, "Cover_Rate": 0.36363636363636365} {"Template_token": ["", "TargetMachine", "::", "TargetMachine", "(", "const", "Target", "&", "T", ",", "const", "std", "::", "string", "&", "TT", ",", "const", "std", "::", "string", "&", "FS", ")", ":", "LLVMTargetMachine", "(", "T", ",", "TT", ")", ",", "DataLayout", "(", "", ")", ",", "FrameInfo", "(", "TargetFrameInfo", "::", "StackGrowsDown", ",", "", ",", "", ")", ",", "JITInfo", "(", "*", "this", ")", ",", "Subtarget", "(", "TT", ",", "FS", ")", ",", "TLInfo", "(", "*", "this", ")", "{", "setRelocationModel", "(", "Reloc"], "ground_truth": ["::", "PIC_", ")", ";"], "File": "AlphaTargetMachine8", "Func": "AlphaTargetMachine", "Target": "Alpha", "Target_Clf": "MPU", "Compiler_Type": "LLVM", "Idx": 113069, "Length": 73, "Cover_Rate": 0.9864864864864865} {"Template_token": ["", "PM", ".", "add", "(", "createISelDag", "(", "*", "this", ")", ")", ";", "return", "false"], "ground_truth": [";"], "File": "AlphaTargetMachine", "Func": "addInstSelector", "Target": "Alpha", "Target_Clf": "MPU", "Compiler_Type": "LLVM", "Idx": 113070, "Length": 14, "Cover_Rate": 0.4666666666666667} {"Template_token": ["", "bool", "TargetMachine", "::", "addInstSelector", "(", "PassManagerBase", "&", "PM", ",", "CodeGenOpt", "::", "Level", "OptLevel", ")", "{", "PM", ".", "add", "(", "createISelDag", "(", "*", "this"], "ground_truth": [")", ")", ";"], "File": "AlphaTargetMachine", "Func": "addInstSelector", "Target": "Alpha", "Target_Clf": "MPU", "Compiler_Type": "LLVM", "Idx": 113071, "Length": 26, "Cover_Rate": 0.8666666666666667} {"Template_token": ["", "PM", ".", "add", "(", "createBranchSelectionPass", "(", ")", ")", ";", "PM", ".", "add", "(", "createLLRPPass", "(", "*", "this", ")", ")", ";", "return"], "ground_truth": ["false", ";"], "File": "AlphaTargetMachine", "Func": "addPreEmitPass", "Target": "Alpha", "Target_Clf": "MPU", "Compiler_Type": "LLVM", "Idx": 113072, "Length": 23, "Cover_Rate": 0.5897435897435898} {"Template_token": ["", "virtual", "const", "TargetFrameLowering", "*", "getFrameLowering", "(", ")", "const", "{", "return", "&", "FrameLowering"], "ground_truth": [";"], "File": "AlphaTargetMachine", "Func": "getFrameLowering", "Target": "Alpha", "Target_Clf": "MPU", "Compiler_Type": "LLVM", "Idx": 113073, "Length": 13, "Cover_Rate": 0.9285714285714286} {"Template_token": ["", "return", "&", "InstrInfo", ".", "getRegisterInfo"], "ground_truth": ["(", ")", ";"], "File": "AlphaTargetMachine", "Func": "getRegisterInfo", "Target": "Alpha", "Target_Clf": "MPU", "Compiler_Type": "LLVM", "Idx": 113074, "Length": 8, "Cover_Rate": 0.4444444444444444} {"Template_token": ["", "virtual", "const", "Subtarget", "*"], "ground_truth": ["getSubtargetImpl", "(", ")", "const", "{"], "File": "AlphaTargetMachine", "Func": "getSubtargetImpl", "Target": "Alpha", "Target_Clf": "MPU", "Compiler_Type": "LLVM", "Idx": 113075, "Length": 9, "Cover_Rate": 0.6428571428571429} {"Template_token": ["", "virtual", "const", "TargetData", "*", "getTargetData", "(", ")", "const", "{", "return", "&", "DataLayout"], "ground_truth": [";"], "File": "AlphaTargetMachine", "Func": "getTargetData", "Target": "Alpha", "Target_Clf": "MPU", "Compiler_Type": "LLVM", "Idx": 113076, "Length": 13, "Cover_Rate": 0.9285714285714286} {"Template_token": ["", "virtual", "const", "TargetLowering", "*", "getTargetLowering", "(", ")"], "ground_truth": ["const", "{"], "File": "AlphaTargetMachine", "Func": "getTargetLowering", "Target": "Alpha", "Target_Clf": "MPU", "Compiler_Type": "LLVM", "Idx": 113077, "Length": 9, "Cover_Rate": 0.6428571428571429} {"Template_token": ["", "void", "LLVMInitializeTarget", "(", ")", "{", "RegisterTargetMachine", "<", "TargetMachine", ">", "X", "("], "ground_truth": ["TheTarget", ")", ";"], "File": "AlphaTargetMachine", "Func": "LLVMInitializeAlphaTarget", "Target": "Alpha", "Target_Clf": "MPU", "Compiler_Type": "LLVM", "Idx": 113078, "Length": 14, "Cover_Rate": 0.9333333333333333} {"Template_token": ["", "void", "LLVMInitializeTarget", "(", ")", "{", "RegisterTargetMachine", "<", "TargetMachine", ">", "X", "("], "ground_truth": ["TheTarget", ")", ";"], "File": "AlphaTargetMachine", "Func": "LLVMInitializeAlphaTarget", "Target": "Alpha", "Target_Clf": "MPU", "Compiler_Type": "LLVM", "Idx": 113079, "Length": 14, "Cover_Rate": 0.9333333333333333}