{"Template_token": ["", "static", "const", "unsigned", "EhDataReg", "[", "]", "=", "{", "", ",", "", "}", ";"], "ground_truth": ["return", "EhDataReg", "[", "I", "]", ";"], "File": "Cpu0ABIInfo1", "Func": "GetEhDataReg", "Target": "Cpu0", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 188972, "Length": 19, "Cover_Rate": 0.5588235294117647} {"Template_token": ["", "unsigned", "ABIInfo", "::", "GetEhDataReg", "(", "unsigned", "I", ")", "const", "{", "static", "const", "unsigned", "EhDataReg", "[", "]", "=", "{", "", ",", "", "}", ";"], "ground_truth": ["return", "EhDataReg", "[", "I", "]", ";"], "File": "Cpu0ABIInfo1", "Func": "GetEhDataReg", "Target": "Cpu0", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 188973, "Length": 29, "Cover_Rate": 0.8529411764705882} {"Template_token": ["", "if", "(", "EnableS32Calls", ")", "abi", "=", "", ";", "else", "abi", "=", "", ";"], "ground_truth": ["assert", "(", "abi", ".", "ThisABI", "!=", "", ")", ";"], "File": "Cpu0ABIInfo", "Func": "computeTargetABI", "Target": "Cpu0", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 188974, "Length": 22, "Cover_Rate": 0.46808510638297873} {"Template_token": ["", "ABIInfo", "abi", "(", "", ")", ";", "if", "(", "EnableS32Calls", ")", "abi", "=", "", ";", "else", "abi", "=", "", ";", "assert", "(", "abi", ".", "ThisABI", "!=", "", ")", ";", "return", "abi", ";"], "ground_truth": ["}"], "File": "Cpu0ABIInfo", "Func": "computeTargetABI", "Target": "Cpu0", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 188975, "Length": 32, "Cover_Rate": 0.6808510638297872} {"Template_token": ["", "ABIInfo", "(", "ABI", "ThisABI", ")", ":", "ThisABI", "(", "ThisABI", ")", "{"], "ground_truth": ["}"], "File": "Cpu0ABIInfo", "Func": "Cpu0ABIInfo", "Target": "Cpu0", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 188976, "Length": 12, "Cover_Rate": 1.0} {"Template_token": ["", "ABIInfo", "(", "ABI", "ThisABI", ")", ":", "ThisABI", "(", "ThisABI", ")", "{"], "ground_truth": ["}"], "File": "Cpu0ABIInfo", "Func": "Cpu0ABIInfo", "Target": "Cpu0", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 188977, "Length": 12, "Cover_Rate": 1.0} {"Template_token": ["", "int", "ABIInfo", "::", "EhDataRegSize", "(", ")", "const", "{", "if", "(", "ThisABI", "==", "", ")", "return", "", ";"], "ground_truth": ["else", "return", "", ";"], "File": "Cpu0ABIInfo", "Func": "EhDataRegSize", "Target": "Cpu0", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 188978, "Length": 21, "Cover_Rate": 0.875} {"Template_token": ["", "const", "ArrayRef", "<", "MCPhysReg", ">", "ABIInfo", "::", "GetByValArgRegs", "(", ")", "const", "{", "if", "(", "IsO32", "(", ")", ")", "return", "makeArrayRef", "(", "O32IntRegs", ")", ";", "if", "(", "IsS32", "(", ")", ")", "return", "makeArrayRef", "(", "S32IntRegs", ")", ";", "llvm_unreachable", "(", "", ")", ";"], "ground_truth": ["}"], "File": "Cpu0ABIInfo", "Func": "GetByValArgRegs", "Target": "Cpu0", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 188979, "Length": 42, "Cover_Rate": 1.0} {"Template_token": ["", "const", "ArrayRef", "<", "MCPhysReg", ">", "ABIInfo", "::", "GetByValArgRegs", "(", ")", "const", "{", "if", "(", "IsO32", "(", ")", ")", "return", "makeArrayRef", "(", "O32IntRegs", ")", ";"], "ground_truth": ["if", "(", "IsS32", "(", ")", ")", "return", "makeArrayRef", "(", "S32IntRegs", ")", ";"], "File": "Cpu0ABIInfo", "Func": "GetByValArgRegs", "Target": "Cpu0", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 188980, "Length": 36, "Cover_Rate": 0.8571428571428571} {"Template_token": ["", "if", "(", "IsS32", "(", ")", ")", "return", "", ";", "llvm_unreachable", "(", "", ")", ";"], "ground_truth": ["}"], "File": "Cpu0ABIInfo", "Func": "GetCalleeAllocdArgSizeInBytes", "Target": "Cpu0", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 188981, "Length": 15, "Cover_Rate": 0.39473684210526316} {"Template_token": ["", "unsigned", "ABIInfo", "::", "GetEhDataReg", "(", "unsigned", "I", ")", "const", "{"], "ground_truth": ["static", "const", "unsigned", "EhDataReg", "[", "]", "=", "{"], "File": "Cpu0ABIInfo", "Func": "GetEhDataReg", "Target": "Cpu0", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 188982, "Length": 18, "Cover_Rate": 0.5294117647058824} {"Template_token": ["", "unsigned", "ABIInfo", "::", "GetFramePtr", "(", ")", "const", "{", "return", "", ";"], "ground_truth": ["}"], "File": "Cpu0ABIInfo", "Func": "GetFramePtr", "Target": "Cpu0", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 188985, "Length": 12, "Cover_Rate": 0.8571428571428571} {"Template_token": ["", "unsigned", "ABIInfo", "::", "GetNullPtr", "(", ")", "const", "{"], "ground_truth": ["return", "", ";"], "File": "Cpu0ABIInfo", "Func": "GetNullPtr", "Target": "Cpu0", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 188986, "Length": 11, "Cover_Rate": 0.7857142857142857} {"Template_token": ["", "unsigned", "ABIInfo", "::", "GetStackPtr", "(", ")", "const", "{", "return", "", ";"], "ground_truth": ["}"], "File": "Cpu0ABIInfo", "Func": "GetStackPtr", "Target": "Cpu0", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 188988, "Length": 12, "Cover_Rate": 0.8571428571428571} {"Template_token": ["", "if", "(", "IsO32", "(", ")", ")", "return", "makeArrayRef", "(", "O32IntRegs", ")", ";", "if", "(", "IsS32", "(", ")", ")", "return", "makeArrayRef", "(", "S32IntRegs", ")", ";"], "ground_truth": ["llvm_unreachable", "(", "", ")", ";"], "File": "Cpu0ABIInfo", "Func": "GetVarArgRegs", "Target": "Cpu0", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 188989, "Length": 29, "Cover_Rate": 0.6904761904761905} {"Template_token": ["", "bool", "IsKnown", "(", ")", "const", "{"], "ground_truth": ["return", "ThisABI", "!=", "", ";"], "File": "Cpu0ABIInfo", "Func": "IsKnown", "Target": "Cpu0", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 188990, "Length": 11, "Cover_Rate": 0.7857142857142857} {"Template_token": ["", "return", "ThisABI", "!=", "", ";"], "ground_truth": ["}"], "File": "Cpu0ABIInfo", "Func": "IsKnown", "Target": "Cpu0", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 188991, "Length": 6, "Cover_Rate": 0.42857142857142855} {"Template_token": ["", "bool", "IsO32", "(", ")", "const", "{", "return", "ThisABI", "==", "", ";"], "ground_truth": ["}"], "File": "Cpu0ABIInfo", "Func": "IsO32", "Target": "Cpu0", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 188992, "Length": 12, "Cover_Rate": 0.8571428571428571} {"Template_token": ["", "bool", "IsO32", "(", ")", "const", "{", "return", "ThisABI", "==", "", ";"], "ground_truth": ["}"], "File": "Cpu0ABIInfo", "Func": "IsO32", "Target": "Cpu0", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 188993, "Length": 12, "Cover_Rate": 0.8571428571428571} {"Template_token": ["", "bool", "IsS32", "(", ")", "const", "{", "return", "ThisABI", "==", "", ";"], "ground_truth": ["}"], "File": "Cpu0ABIInfo", "Func": "IsS32", "Target": "Cpu0", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 188995, "Length": 12, "Cover_Rate": 0.8571428571428571} {"Template_token": ["", "static", "ABIInfo", "O32", "(", ")", "{"], "ground_truth": ["return", "ABIInfo", "(", "", ")", ";"], "File": "Cpu0ABIInfo", "Func": "O32", "Target": "Cpu0", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 188996, "Length": 12, "Cover_Rate": 0.8} {"Template_token": ["", "static", "ABIInfo", "O32", "(", ")", "{", "return", "ABIInfo", "(", "", ")", ";"], "ground_truth": ["}"], "File": "Cpu0ABIInfo", "Func": "O32", "Target": "Cpu0", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 188997, "Length": 13, "Cover_Rate": 0.8666666666666667} {"Template_token": ["", "return", "ABIInfo", "(", "", ")", ";"], "ground_truth": ["}"], "File": "Cpu0ABIInfo", "Func": "S32", "Target": "Cpu0", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 188998, "Length": 7, "Cover_Rate": 0.4666666666666667} {"Template_token": ["", "static", "ABIInfo", "Unknown", "(", ")", "{", "return", "ABIInfo", "(", "", ")", ";"], "ground_truth": ["}"], "File": "Cpu0ABIInfo", "Func": "Unknown", "Target": "Cpu0", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 189000, "Length": 13, "Cover_Rate": 0.8666666666666667} {"Template_token": ["", "GetInstSeqLs", "(", "Imm", ">>", "Shamt", ",", "RemSize", "-", "Shamt", ",", "SeqLs", ")", ";"], "ground_truth": ["AddInstr", "(", "SeqLs", ",", "Inst", "(", "SHL", ",", "Shamt", ")", ")", ";"], "File": "Cpu0AnalyzeImmediate1", "Func": "GetInstSeqLsSHL", "Target": "Cpu0", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 189003, "Length": 25, "Cover_Rate": 0.5} {"Template_token": ["", "if", "(", "(", "Seq", ".", "size", "(", ")", "<", "", ")", "||", "(", "Seq", "[", "", "]", ".", "Opc", "!=", "ADDiu", ")", "||", "(", "Seq", "[", "", "]", ".", "Opc", "!=", "SHL", ")", "||", "(", "Seq", "[", "", "]", ".", "ImmOperand", "<", "", ")", ")", "return", ";", "int64_t", "Imm", "=", "SignExtend64", "<", "", ">", "(", "Seq", "[", "", "]", ".", "ImmOperand", ")", ";", "int64_t", "ShiftedImm", "=", "(", "uint64_t", ")", "Imm", "<<", "(", "Seq", "[", "", "]", ".", "ImmOperand", "-", "", ")", ";", "if", "(", "!", "isInt", "<", "", ">", "(", "ShiftedImm", ")", ")", "return", ";"], "ground_truth": ["Seq", "[", "", "]", ".", "Opc", "=", "LUi", ";"], "File": "Cpu0AnalyzeImmediate2", "Func": "ReplaceADDiuSHLWithLUi", "Target": "Cpu0", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 189004, "Length": 104, "Cover_Rate": 0.7222222222222222} {"Template_token": ["", "for", "(", "", "Iter", "=", "SeqLs", ".", "begin", "(", ")", ";", "Iter", "!=", "SeqLs", ".", "end", "(", ")", ";", "++", "Iter", ")", "Iter", "->", "push_back", "(", "I", ")", ";"], "ground_truth": ["}"], "File": "Cpu0AnalyzeImmediate", "Func": "AddInstr", "Target": "Cpu0", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 189006, "Length": 30, "Cover_Rate": 0.4225352112676056} {"Template_token": ["", "LUi", "=", "", ";", "InstSeqLs", "SeqLs", ";", "if", "(", "LastInstrIsADDiu", "|", "!", "Imm", ")", "GetInstSeqLsADDiu", "(", "Imm", ",", "Size", ",", "SeqLs", ")", ";", "else", "GetInstSeqLs", "(", "Imm", ",", "Size", ",", "SeqLs", ")", ";", "GetShortestSeq", "(", "SeqLs", ",", "Insts", ")", ";"], "ground_truth": ["return", "Insts", ";"], "File": "Cpu0AnalyzeImmediate", "Func": "Analyze", "Target": "Cpu0", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 189007, "Length": 43, "Cover_Rate": 0.48314606741573035} {"Template_token": ["", "if", "(", "!", "MaskedImm", ")", "return", ";", "if", "(", "RemSize", "<=", "", ")", "{", "AddInstr", "(", "SeqLs", ",", "Inst", "(", "ADDiu", ",", "MaskedImm", ")", ")", ";", "return", ";", "}", "if", "(", "!", "(", "Imm", "&", "", ")", ")", "{", "GetInstSeqLsSHL", "(", "Imm", ",", "RemSize", ",", "SeqLs", ")", ";", "return", ";", "}", "GetInstSeqLsADDiu", "(", "Imm", ",", "RemSize", ",", "SeqLs", ")", ";", "if", "(", "Imm", "&", "", ")", "{", "InstSeqLs", "SeqLsORi", ";"], "ground_truth": ["GetInstSeqLsORi", "(", "Imm", ",", "RemSize", ",", "SeqLsORi", ")", ";"], "File": "Cpu0AnalyzeImmediate", "Func": "GetInstSeqLs", "Target": "Cpu0", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 189008, "Length": 79, "Cover_Rate": 0.5851851851851851} {"Template_token": ["", "if", "(", "RemSize", "<=", "", ")", "{", "AddInstr", "(", "SeqLs", ",", "Inst", "(", "ADDiu", ",", "MaskedImm", ")", ")", ";", "return", ";", "}", "if", "(", "!", "(", "Imm", "&", "", ")", ")", "{", "GetInstSeqLsSHL", "(", "Imm", ",", "RemSize", ",", "SeqLs", ")", ";", "return", ";", "}", "GetInstSeqLsADDiu", "(", "Imm", ",", "RemSize", ",", "SeqLs", ")", ";", "if", "(", "Imm", "&", "", ")", "{", "InstSeqLs", "SeqLsORi", ";", "GetInstSeqLsORi", "(", "Imm", ",", "RemSize", ",", "SeqLsORi", ")", ";", "SeqLs", ".", "insert", "(", "SeqLs", ".", "end", "(", ")", ",", "SeqLsORi", ".", "begin", "(", ")", ",", "SeqLsORi", ".", "end", "(", ")", ")", ";"], "ground_truth": ["}"], "File": "Cpu0AnalyzeImmediate", "Func": "GetInstSeqLs", "Target": "Cpu0", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 189009, "Length": 96, "Cover_Rate": 0.7111111111111111} {"Template_token": ["", "AddInstr", "(", "SeqLs", ",", "Inst", "(", "ADDiu", ",", "Imm", "&", "", ")", ")", ";"], "ground_truth": ["}"], "File": "Cpu0AnalyzeImmediate", "Func": "GetInstSeqLsADDiu", "Target": "Cpu0", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 189010, "Length": 15, "Cover_Rate": 0.32608695652173914} {"Template_token": ["", "void", "AnalyzeImmediate", "::", "GetInstSeqLsADDiu", "(", "uint64_t", "Imm", ",", "unsigned", "RemSize", ",", "InstSeqLs", "&", "SeqLs", ")", "{", "GetInstSeqLs", "(", "(", "Imm", "+", "", ")", "&", "", ",", "RemSize", ",", "SeqLs", ")", ";"], "ground_truth": ["AddInstr", "(", "SeqLs", ",", "Inst", "(", "ADDiu", ",", "Imm", "&", "", ")", ")", ";"], "File": "Cpu0AnalyzeImmediate", "Func": "GetInstSeqLsADDiu", "Target": "Cpu0", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 189011, "Length": 45, "Cover_Rate": 0.9782608695652174} {"Template_token": ["", "GetInstSeqLs", "(", "Imm", "&", "", ",", "RemSize", ",", "SeqLs", ")", ";", "AddInstr", "(", "SeqLs", ",", "Inst", "(", "ORi", ",", "Imm", "&", "", ")", ")", ";"], "ground_truth": ["}"], "File": "Cpu0AnalyzeImmediate", "Func": "GetInstSeqLsORi", "Target": "Cpu0", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 189012, "Length": 26, "Cover_Rate": 0.6190476190476191} {"Template_token": ["", "GetInstSeqLs", "(", "Imm", "&", "", ",", "RemSize", ",", "SeqLs", ")", ";"], "ground_truth": ["AddInstr", "(", "SeqLs", ",", "Inst", "(", "ORi", ",", "Imm", "&", "", ")", ")", ";"], "File": "Cpu0AnalyzeImmediate", "Func": "GetInstSeqLsORi", "Target": "Cpu0", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 189013, "Length": 25, "Cover_Rate": 0.5952380952380952} {"Template_token": ["", "void", "AnalyzeImmediate", "::", "GetInstSeqLsSHL", "(", "uint64_t", "Imm", ",", "unsigned", "RemSize", ",", "InstSeqLs", "&", "SeqLs", ")", "{", "unsigned", "Shamt", "=", "countTrailingZeros", "(", "Imm", ")", ";"], "ground_truth": ["GetInstSeqLs", "(", "Imm", ">>", "Shamt", ",", "RemSize", "-", "Shamt", ",", "SeqLs", ")", ";"], "File": "Cpu0AnalyzeImmediate", "Func": "GetInstSeqLsSHL", "Target": "Cpu0", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 189014, "Length": 37, "Cover_Rate": 0.74} {"Template_token": ["", "GetInstSeqLs", "(", "Imm", ">>", "Shamt", ",", "RemSize", "-", "Shamt", ",", "SeqLs", ")", ";"], "ground_truth": ["AddInstr", "(", "SeqLs", ",", "Inst", "(", "SHL", ",", "Shamt", ")", ")", ";"], "File": "Cpu0AnalyzeImmediate", "Func": "GetInstSeqLsSHL", "Target": "Cpu0", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 189015, "Length": 25, "Cover_Rate": 0.5} {"Template_token": ["", "void", "AnalyzeImmediate", "::", "GetShortestSeq", "(", "InstSeqLs", "&", "SeqLs", ",", "InstSeq", "&", "Insts", ")", "{", "", "ShortestSeq", "=", "SeqLs", ".", "end", "(", ")", ";", "unsigned", "ShortestLength", "=", "", ";", "for", "(", "", "S", "=", "SeqLs", ".", "begin", "(", ")", ";", "S", "!=", "SeqLs", ".", "end", "(", ")", ";", "++", "S", ")", "{", "ReplaceADDiuSHLWithLUi", "(", "*", "S", ")", ";"], "ground_truth": ["assert", "(", "S", "->", "size", "(", ")", "<=", "", ")", ";"], "File": "Cpu0AnalyzeImmediate", "Func": "GetShortestSeq", "Target": "Cpu0", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 189016, "Length": 68, "Cover_Rate": 0.5619834710743802} {"Template_token": ["", "void", "AnalyzeImmediate", "::", "ReplaceADDiuSHLWithLUi", "(", "InstSeq", "&", "Seq", ")", "{", "if", "(", "(", "Seq", ".", "size", "(", ")", "<", "", ")", "||", "(", "Seq", "[", "", "]", ".", "Opc", "!=", "ADDiu", ")", "||", "(", "Seq", "[", "", "]", ".", "Opc", "!=", "SHL", ")", "||", "(", "Seq", "[", "", "]", ".", "ImmOpnd", "<", "", ")", ")", "return", ";"], "ground_truth": ["int64_t", "Imm", "=", "SignExtend64", "<", "", ">", "(", "Seq", "[", "", "]", ".", "ImmOpnd", ")", ";"], "File": "Cpu0AnalyzeImmediate", "Func": "ReplaceADDiuSHLWithLUi", "Target": "Cpu0", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 189017, "Length": 73, "Cover_Rate": 0.5069444444444444} {"Template_token": ["", "case", "FK_Data_4", ":", "case", "", ":", "case", "", ":", "break", ";", "case", "", ":", "case", "", ":", "Value", "-=", "", ";", "break", ";", "case", "", ":", "break", ";", "case", "", ":", "case", "", ":", "case", "", ":"], "ground_truth": ["Value", "=", "(", "(", "Value", "+", "", ")", ">>", "", ")", "&", "", ";"], "File": "Cpu0AsmBackend1", "Func": "adjustFixupValue", "Target": "Cpu0", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 189018, "Length": 51, "Cover_Rate": 0.5204081632653061} {"Template_token": ["", "case", "", ":", "FullSize", "=", "", ";", "break", ";", "default", ":", "FullSize", "=", "", ";", "break", ";", "}", "uint64_t", "CurVal", "=", "", ";", "for", "(", "unsigned", "i", "=", "", ";", "i", "!=", "NumBytes", ";", "++", "i", ")", "{", "unsigned", "Idx", "=", "IsLittle", "?", "i", ":", "(", "FullSize", "-", "", "-", "i", ")", ";", "CurVal", "|=", "(", "uint64_t", ")", "(", "(", "uint8_t", ")", "Data", "[", "Offset", "+", "Idx", "]", ")", "<<", "(", "i", "*", "", ")", ";", "}"], "ground_truth": ["uint64_t", "Mask", "=", "(", "(", "uint64_t", ")", "(", "-", "", ")", ">>", "(", "", "-", "getFixupKindInfo", "(", "Kind", ")", ".", "TargetSize", ")", ")", ";"], "File": "Cpu0AsmBackend1", "Func": "applyFixup", "Target": "Cpu0", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 189019, "Length": 101, "Cover_Rate": 0.40562248995983935} {"Template_token": ["", "unsigned", "FullSize", ";", "switch", "(", "(", "unsigned", ")", "Kind", ")", "{", "case", "", ":", "FullSize", "=", "", ";", "break", ";", "default", ":", "FullSize", "=", "", ";", "break", ";", "}", "uint64_t", "CurVal", "=", "", ";", "for", "(", "unsigned", "i", "=", "", ";", "i", "!=", "NumBytes", ";", "++", "i", ")", "{", "unsigned", "Idx", "=", "IsLittle", "?", "i", ":", "(", "FullSize", "-", "", "-", "i", ")", ";", "CurVal", "|=", "(", "uint64_t", ")", "(", "(", "uint8_t", ")", "Data", "[", "Offset", "+", "Idx", "]", ")", "<<", "(", "i", "*", "", ")", ";", "}", "uint64_t", "Mask", "=", "(", "(", "uint64_t", ")", "(", "-", "", ")", ">>", "(", "", "-", "getFixupKindInfo", "(", "Kind", ")", ".", "TargetSize", ")", ")", ";"], "ground_truth": ["CurVal", "|=", "Value", "&", "Mask", ";"], "File": "Cpu0AsmBackend1", "Func": "applyFixup", "Target": "Cpu0", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 189020, "Length": 118, "Cover_Rate": 0.4738955823293173} {"Template_token": ["", "AsmBackend", "(", "const", "Target", "&", "T", ",", "const", "MCRegisterInfo", "&", "MRI", ",", "const", "Triple", "&", "TT", ",", "StringRef", "CPU", ")", ":", "MCAsmBackend", "(", "TT", ".", "isLittleEndian", "(", ")", "?", "", ":", "", ")", ",", "TheTriple", "(", "TT", ")", "{"], "ground_truth": ["}"], "File": "Cpu0AsmBackend1", "Func": "Cpu0AsmBackend", "Target": "Cpu0", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 189021, "Length": 40, "Cover_Rate": 0.9090909090909091} {"Template_token": ["", "AsmBackend", "(", "const", "Target", "&", "T", ",", "const", "MCRegisterInfo", "&", "MRI", ",", "const", "Triple", "&", "TT", ",", "StringRef", "CPU", ")", ":", "MCAsmBackend", "(", "TT", ".", "isLittleEndian", "(", ")", "?", "", ":", "", ")", ",", "TheTriple", "(", "TT", ")", "{"], "ground_truth": ["}"], "File": "Cpu0AsmBackend1", "Func": "Cpu0AsmBackend", "Target": "Cpu0", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 189022, "Length": 40, "Cover_Rate": 0.9090909090909091} {"Template_token": ["", "return", "new", "AsmBackend", "(", "T", ",", "Triple", "(", "TT", ")", ".", "getOS", "(", ")", ",", "true", ")", ";"], "ground_truth": ["}"], "File": "Cpu0AsmBackend1", "Func": "createCpu0AsmBackendEL32", "Target": "Cpu0", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 189025, "Length": 19, "Cover_Rate": 0.5135135135135135} {"Template_token": ["", "MCObjectWriter", "*", "createObjectWriter", "(", "raw_ostream", "&", "OS", ")", "const", "{"], "ground_truth": ["return", "createELFObjectWriter", "(", "OS", ",", "MCELFObjectTargetWriter", "::", "getOSABI", "(", "OSType", ")", ",", "IsLittle", ")", ";"], "File": "Cpu0AsmBackend1", "Func": "createObjectWriter", "Target": "Cpu0", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 189027, "Length": 25, "Cover_Rate": 0.9615384615384616} {"Template_token": ["", "bool", "fixupNeedsRelaxation", "(", "const", "MCFixup", "&", "Fixup", ",", "uint64_t", "Value", ",", "const", "MCRelaxableFragment", "*", "DF", ",", "const", "MCAsmLayout", "&", "Layout", ")", "const", "{", "assert", "(", "", "&&", "", ")", ";", "return", "false", ";"], "ground_truth": ["}"], "File": "Cpu0AsmBackend1", "Func": "fixupNeedsRelaxation", "Target": "Cpu0", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 189029, "Length": 34, "Cover_Rate": 1.0} {"Template_token": ["", "bool", "fixupNeedsRelaxation", "(", "const", "MCFixup", "&", "Fixup", ",", "uint64_t", "Value", ",", "const", "MCRelaxableFragment", "*", "DF", ",", "const", "MCAsmLayout", "&", "Layout", ")", "const", "{", "assert", "(", "", "&&", "", ")", ";", "return", "false", ";"], "ground_truth": ["}"], "File": "Cpu0AsmBackend1", "Func": "fixupNeedsRelaxation", "Target": "Cpu0", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 189030, "Length": 34, "Cover_Rate": 1.0} {"Template_token": ["", "unsigned", "getNumFixupKinds", "(", ")", "const", "{"], "ground_truth": ["return", "", ";"], "File": "Cpu0AsmBackend1", "Func": "getNumFixupKinds", "Target": "Cpu0", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 189031, "Length": 9, "Cover_Rate": 0.75} {"Template_token": ["", "return", "", ";"], "ground_truth": ["}"], "File": "Cpu0AsmBackend1", "Func": "getNumFixupKinds", "Target": "Cpu0", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 189032, "Length": 4, "Cover_Rate": 0.3333333333333333} {"Template_token": ["", "void", "relaxInstruction", "(", "const", "MCInst", "&", "Inst", ",", "MCInst", "&", "Res", ")", "const", "{"], "ground_truth": ["}"], "File": "Cpu0AsmBackend1", "Func": "relaxInstruction", "Target": "Cpu0", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 189034, "Length": 15, "Cover_Rate": 1.0} {"Template_token": ["", "void", "relaxInstruction", "(", "const", "MCInst", "&", "Inst", ",", "MCInst", "&", "Res", ")", "const", "{"], "ground_truth": ["}"], "File": "Cpu0AsmBackend1", "Func": "relaxInstruction", "Target": "Cpu0", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 189035, "Length": 15, "Cover_Rate": 1.0} {"Template_token": ["", "bool", "writeNopData", "(", "uint64_t", "Count", ",", "MCObjectWriter", "*", "OW", ")", "const", "{", "return", "true", ";"], "ground_truth": ["}"], "File": "Cpu0AsmBackend1", "Func": "writeNopData", "Target": "Cpu0", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 189036, "Length": 16, "Cover_Rate": 1.0} {"Template_token": ["", "return", "", ";", "case", "FK_GPRel_4", ":", "case", "FK_Data_4", ":", "case", "", ":", "break", ";", "case", "", ":", "Value", "-=", "", ";", "break", ";", "case", "", ":", "break", ";", "case", "", ":", "case", "", ":", "Value", "=", "(", "(", "Value", "+", "", ")", ">>", "", ")", "&", "", ";", "break", ";", "}", "return", "Value", ";"], "ground_truth": ["}"], "File": "Cpu0AsmBackend2", "Func": "adjustFixupValue", "Target": "Cpu0", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 189037, "Length": 55, "Cover_Rate": 0.6626506024096386} {"Template_token": ["", "bool", "fixupNeedsRelaxation", "(", "const", "MCFixup", "&", "Fixup", ",", "uint64_t", "Value", ",", "const", "MCInstFragment", "*", "DF", ",", "const", "MCAsmLayout", "&", "Layout", ")", "const", "{", "assert", "(", "", "&&", "", ")", ";"], "ground_truth": ["return", "false", ";"], "File": "Cpu0AsmBackend2", "Func": "fixupNeedsRelaxation", "Target": "Cpu0", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 189038, "Length": 33, "Cover_Rate": 0.9705882352941176} {"Template_token": ["", "bool", "fixupNeedsRelaxation", "(", "const", "MCFixup", "&", "Fixup", ",", "uint64_t", "Value", ",", "const", "MCInstFragment", "*", "DF", ",", "const", "MCAsmLayout", "&", "Layout", ")", "const", "{", "assert", "(", "", "&&", "", ")", ";", "return", "false", ";"], "ground_truth": ["}"], "File": "Cpu0AsmBackend2", "Func": "fixupNeedsRelaxation", "Target": "Cpu0", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 189039, "Length": 34, "Cover_Rate": 1.0} {"Template_token": ["", "MCFixupKind", "Kind", "=", "Fixup", ".", "getKind", "(", ")", ";", "Value", "=", "adjustFixupValue", "(", "Fixup", ",", "Value", ")", ";", "if", "(", "!", "Value", ")", "return", ";", "unsigned", "Offset", "=", "Fixup", ".", "getOffset", "(", ")", ";", "unsigned", "NumBytes", "=", "(", "getFixupKindInfo", "(", "Kind", ")", ".", "TargetSize", "+", "", ")", "/", "", ";", "unsigned", "FullSize", ";", "switch", "(", "(", "unsigned", ")", "Kind", ")", "{", "default", ":", "FullSize", "=", "", ";", "break", ";", "}", "uint64_t", "CurVal", "=", "", ";", "for", "(", "unsigned", "i", "=", "", ";", "i", "!=", "NumBytes", ";", "++", "i", ")", "{", "unsigned", "Idx", "=", "Endian", "==", "", "?", "i", ":", "(", "FullSize", "-", "", "-", "i", ")", ";", "CurVal", "|=", "(", "uint64_t", ")", "(", "(", "uint8_t", ")", "Data", "[", "Offset", "+", "Idx", "]", ")", "<<", "(", "i", "*", "", ")", ";", "}", "uint64_t", "Mask", "=", "(", "(", "uint64_t", ")", "(", "-", "", ")", ">>", "(", "", "-", "getFixupKindInfo", "(", "Kind", ")", ".", "TargetSize", ")", ")", ";", "CurVal", "|=", "Value", "&", "Mask", ";", "for", "(", "unsigned", "i", "=", "", ";", "i", "!=", "NumBytes", ";", "++", "i", ")", "{", "unsigned", "Idx", "=", "Endian", "==", "", "?", "i", ":", "(", "FullSize", "-", "", "-", "i", ")", ";"], "ground_truth": ["Data", "[", "Offset", "+", "Idx", "]", "=", "(", "uint8_t", ")", "(", "(", "CurVal", ">>", "(", "i", "*", "", ")", ")", "&", "", ")", ";"], "File": "Cpu0AsmBackend3", "Func": "applyFixup", "Target": "Cpu0", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 189040, "Length": 217, "Cover_Rate": 0.8282442748091603} {"Template_token": ["", "MCFixupKind", "Kind", "=", "Fixup", ".", "getKind", "(", ")", ";", "Value", "=", "adjustFixupValue", "(", "Fixup", ",", "Value", ")", ";", "if", "(", "!", "Value", ")", "return", ";", "unsigned", "Offset", "=", "Fixup", ".", "getOffset", "(", ")", ";", "unsigned", "NumBytes", "=", "(", "getFixupKindInfo", "(", "Kind", ")", ".", "TargetSize", "+", "", ")", "/", "", ";", "unsigned", "FullSize", ";", "switch", "(", "(", "unsigned", ")", "Kind", ")", "{", "default", ":", "FullSize", "=", "", ";", "break", ";", "}", "uint64_t", "CurVal", "=", "", ";", "for", "(", "unsigned", "i", "=", "", ";", "i", "!=", "NumBytes", ";", "++", "i", ")", "{", "unsigned", "Idx", "=", "Endian", "==", "", "?", "i", ":", "(", "FullSize", "-", "", "-", "i", ")", ";", "CurVal", "|=", "(", "uint64_t", ")", "(", "(", "uint8_t", ")", "Data", "[", "Offset", "+", "Idx", "]", ")", "<<", "(", "i", "*", "", ")", ";", "}", "uint64_t", "Mask", "=", "(", "(", "uint64_t", ")", "(", "-", "", ")", ">>", "(", "", "-", "getFixupKindInfo", "(", "Kind", ")", ".", "TargetSize", ")", ")", ";"], "ground_truth": ["CurVal", "|=", "Value", "&", "Mask", ";"], "File": "Cpu0AsmBackend3", "Func": "applyFixup", "Target": "Cpu0", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 189041, "Length": 161, "Cover_Rate": 0.6145038167938931} {"Template_token": ["", "return", "new", "AsmBackend", "(", "T", ",", "MRI", ",", "STI", ".", "getTargetTriple", "(", ")", ",", "STI", ".", "getCPU", "(", ")", ")", ";"], "ground_truth": ["}"], "File": "Cpu0AsmBackend3", "Func": "createCpu0AsmBackendEL32", "Target": "Cpu0", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 189045, "Length": 22, "Cover_Rate": 0.4489795918367347} {"Template_token": ["", "std", "::", "unique_ptr", "<", "MCObjectTargetWriter", ">", "AsmBackend", "::", "createObjectTargetWriter", "(", ")", "const", "{"], "ground_truth": ["return", "createELFObjectWriter", "(", "TheTriple", ")", ";"], "File": "Cpu0AsmBackend3", "Func": "createObjectTargetWriter", "Target": "Cpu0", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 189046, "Length": 19, "Cover_Rate": 0.95} {"Template_token": ["", "std", "::", "unique_ptr", "<", "MCObjectTargetWriter", ">", "AsmBackend", "::", "createObjectTargetWriter", "(", ")", "const", "{", "return", "createELFObjectWriter", "(", "TheTriple", ")", ";"], "ground_truth": ["}"], "File": "Cpu0AsmBackend3", "Func": "createObjectTargetWriter", "Target": "Cpu0", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 189047, "Length": 20, "Cover_Rate": 1.0} {"Template_token": ["", "const", "MCFixupKindInfo", "&", "AsmBackend", "::", "getFixupKindInfo", "(", "MCFixupKind", "Kind", ")", "const", "{", "const", "static", "MCFixupKindInfo", "Infos", "[", "", "]", "=", "{"], "ground_truth": ["{", "", ",", "", ",", "", ",", "", "}", ",", "{", "", ",", "", ",", "", ",", "", "}", ",", "{", "", ",", "", ",", "", ",", "", "}", ",", "{", "", ",", "", ",", "", ",", "", "}", ",", "{", "", ",", "", ",", "", ",", "", "}", ",", "{", "", ",", "", ",", "", ",", "", "}", ",", "{", "", ",", "", ",", "", ",", "", "}", ",", "{", "", ",", "", ",", "", ",", "MCFixupKindInfo", "::", "FKF_IsPCRel", "}", ",", "{"], "File": "Cpu0AsmBackend3", "Func": "getFixupKindInfo", "Target": "Cpu0", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 189048, "Length": 104, "Cover_Rate": 0.6624203821656051} {"Template_token": ["", "bool", "AsmBackend", "::", "writeNopData", "(", "raw_ostream", "&", "OS", ",", "uint64_t", "Count", ")", "const", "{", "OS", ".", "write_zeros", "(", "Count", ")", ";", "return", "true", ";"], "ground_truth": ["}"], "File": "Cpu0AsmBackend3", "Func": "writeNopData", "Target": "Cpu0", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 189050, "Length": 25, "Cover_Rate": 1.0} {"Template_token": ["", "}", "uint64_t", "Mask", "=", "(", "(", "uint64_t", ")", "(", "-", "", ")", ">>", "(", "", "-", "getFixupKindInfo", "(", "Kind", ")", ".", "TargetSize", ")", ")", ";", "CurVal", "|=", "Value", "&", "Mask", ";", "for", "(", "unsigned", "i", "=", "", ";", "i", "!=", "NumBytes", ";", "++", "i", ")", "{", "unsigned", "Idx", "=", "IsLittle", "?", "i", ":", "(", "FullSize", "-", "", "-", "i", ")", ";"], "ground_truth": ["Data", "[", "Offset", "+", "Idx", "]", "=", "(", "uint8_t", ")", "(", "(", "CurVal", ">>", "(", "i", "*", "", ")", ")", "&", "", ")", ";"], "File": "Cpu0AsmBackend", "Func": "applyFixup", "Target": "Cpu0", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 189051, "Length": 85, "Cover_Rate": 0.3346456692913386} {"Template_token": ["", "}", "uint64_t", "CurVal", "=", "", ";", "for", "(", "unsigned", "i", "=", "", ";", "i", "!=", "NumBytes", ";", "++", "i", ")", "{", "unsigned", "Idx", "=", "IsLittle", "?", "i", ":", "(", "FullSize", "-", "", "-", "i", ")", ";", "CurVal", "|=", "(", "uint64_t", ")", "(", "(", "uint8_t", ")", "Data", "[", "Offset", "+", "Idx", "]", ")", "<<", "(", "i", "*", "", ")", ";", "}", "uint64_t", "Mask", "=", "(", "(", "uint64_t", ")", "(", "-", "", ")", ">>", "(", "", "-", "getFixupKindInfo", "(", "Kind", ")", ".", "TargetSize", ")", ")", ";", "CurVal", "|=", "Value", "&", "Mask", ";", "for", "(", "unsigned", "i", "=", "", ";", "i", "!=", "NumBytes", ";", "++", "i", ")", "{", "unsigned", "Idx", "=", "IsLittle", "?", "i", ":", "(", "FullSize", "-", "", "-", "i", ")", ";", "Data", "[", "Offset", "+", "Idx", "]", "=", "(", "uint8_t", ")", "(", "(", "CurVal", ">>", "(", "i", "*", "", ")", ")", "&", "", ")", ";"], "ground_truth": ["}"], "File": "Cpu0AsmBackend", "Func": "applyFixup", "Target": "Cpu0", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 189052, "Length": 145, "Cover_Rate": 0.5708661417322834} {"Template_token": ["", "AsmBackend", "(", "const", "Target", "&", "T", ",", "const", "MCRegisterInfo", "&", "MRI", ",", "const", "Triple", "&", "TT", ",", "StringRef", "CPU", ",", "bool", "IsLittle", ")", ":", "MCAsmBackend", "(", "IsLittle", "?", "", ":", "", ")", ",", "TheTriple", "(", "TT", ")", ",", "IsLittle", "(", "IsLittle", ")", "{"], "ground_truth": ["}"], "File": "Cpu0AsmBackend", "Func": "Cpu0AsmBackend", "Target": "Cpu0", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 189053, "Length": 44, "Cover_Rate": 0.9166666666666666} {"Template_token": ["", "AsmBackend", "(", "const", "Target", "&", "T", ",", "const", "MCRegisterInfo", "&", "MRI", ",", "const", "Triple", "&", "TT", ",", "StringRef", "CPU", ",", "bool", "IsLittle", ")", ":", "MCAsmBackend", "(", "IsLittle", "?", "", ":", "", ")", ",", "TheTriple", "(", "TT", ")", ",", "IsLittle", "(", "IsLittle", ")", "{"], "ground_truth": ["}"], "File": "Cpu0AsmBackend", "Func": "Cpu0AsmBackend", "Target": "Cpu0", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 189054, "Length": 44, "Cover_Rate": 0.9166666666666666} {"Template_token": ["", "MCAsmBackend", "*", "llvm", "::", "createAsmBackendEB32", "(", "const", "Target", "&", "T", ",", "const", "MCSubtargetInfo", "&", "STI", ",", "const", "MCRegisterInfo", "&", "MRI", ",", "const", "MCTargetOptions", "&", "Options", ")", "{", "return", "new", "AsmBackend", "(", "T", ",", "MRI", ",", "STI", ".", "getTargetTriple", "(", ")", ",", "STI", ".", "getCPU", "(", ")", ",", "false", ")", ";"], "ground_truth": ["}"], "File": "Cpu0AsmBackend", "Func": "createCpu0AsmBackendEB32", "Target": "Cpu0", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 189055, "Length": 51, "Cover_Rate": 1.0} {"Template_token": ["", "return", "new", "AsmBackend", "(", "T", ",", "MRI", ",", "STI", ".", "getTargetTriple", "(", ")", ",", "STI", ".", "getCPU", "(", ")", ",", "false", ")", ";"], "ground_truth": ["}"], "File": "Cpu0AsmBackend", "Func": "createCpu0AsmBackendEB32", "Target": "Cpu0", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 189056, "Length": 24, "Cover_Rate": 0.47058823529411764} {"Template_token": ["", "MCAsmBackend", "*", "llvm", "::", "createAsmBackendEL32", "(", "const", "Target", "&", "T", ",", "const", "MCSubtargetInfo", "&", "STI", ",", "const", "MCRegisterInfo", "&", "MRI", ",", "const", "MCTargetOptions", "&", "Options", ")", "{", "return", "new", "AsmBackend", "(", "T", ",", "MRI", ",", "STI", ".", "getTargetTriple", "(", ")", ",", "STI", ".", "getCPU", "(", ")", ",", "true", ")", ";"], "ground_truth": ["}"], "File": "Cpu0AsmBackend", "Func": "createCpu0AsmBackendEL32", "Target": "Cpu0", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 189057, "Length": 51, "Cover_Rate": 1.0} {"Template_token": ["", "std", "::", "unique_ptr", "<", "MCObjectTargetWriter", ">", "AsmBackend", "::", "createObjectTargetWriter", "(", ")", "const", "{"], "ground_truth": ["return", "createELFObjectWriter", "(", "MCELFObjectTargetWriter", "::", "getOSABI", "(", "TheTriple", ".", "getOS", "(", ")", ")", ",", "IsLittle", ")", ";"], "File": "Cpu0AsmBackend", "Func": "createObjectTargetWriter", "Target": "Cpu0", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 189060, "Length": 30, "Cover_Rate": 0.967741935483871} {"Template_token": ["", "bool", "fixupNeedsRelaxation", "(", "const", "MCFixup", "&", "Fixup", ",", "uint64_t", "Value", ",", "const", "MCRelaxableFragment", "*", "DF", ",", "const", "MCAsmLayout", "&", "Layout", ")", "const", "override", "{", "llvm_unreachable", "(", "", ")", ";", "return", "false", ";"], "ground_truth": ["}"], "File": "Cpu0AsmBackend", "Func": "fixupNeedsRelaxation", "Target": "Cpu0", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 189062, "Length": 33, "Cover_Rate": 1.0} {"Template_token": ["", "return", "", ";"], "ground_truth": ["}"], "File": "Cpu0AsmBackend", "Func": "getNumFixupKinds", "Target": "Cpu0", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 189064, "Length": 4, "Cover_Rate": 0.3076923076923077} {"Template_token": ["", "void", "relaxInstruction", "(", "const", "MCInst", "&", "Inst", ",", "const", "MCSubtargetInfo", "&", "STI", ",", "MCInst", "&", "Res", ")", "const", "override", "{"], "ground_truth": ["}"], "File": "Cpu0AsmBackend", "Func": "relaxInstruction", "Target": "Cpu0", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 189066, "Length": 21, "Cover_Rate": 1.0} {"Template_token": ["", "void", "relaxInstruction", "(", "const", "MCInst", "&", "Inst", ",", "const", "MCSubtargetInfo", "&", "STI", ",", "MCInst", "&", "Res", ")", "const", "override", "{"], "ground_truth": ["}"], "File": "Cpu0AsmBackend", "Func": "relaxInstruction", "Target": "Cpu0", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 189067, "Length": 21, "Cover_Rate": 1.0} {"Template_token": ["", "bool", "AsmBackend", "::", "writeNopData", "(", "raw_ostream", "&", "OS", ",", "uint64_t", "Count", ")", "const", "{", "return", "true", ";"], "ground_truth": ["}"], "File": "Cpu0AsmBackend", "Func": "writeNopData", "Target": "Cpu0", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 189069, "Length": 18, "Cover_Rate": 1.0} {"Template_token": ["", "void", "addExpr", "(", "MCInst", "&", "Inst", ",", "const", "MCExpr", "*", "Expr", ")", "const", "{", "if", "(", "Expr", "==", "", ")", "Inst", ".", "addOperand", "(", "MCOperand", "::", "createImm", "(", "", ")", ")", ";", "else", "if", "(", "const", "MCConstantExpr", "*", "CE", "=", "dyn_cast", "<", "MCConstantExpr", ">", "(", "Expr", ")", ")", "Inst", ".", "addOperand", "(", "MCOperand", "::", "createImm", "(", "CE", "->", "getValue", "(", ")", ")", ")", ";", "else", "Inst", ".", "addOperand", "(", "MCOperand", "::", "createExpr", "(", "Expr", ")", ")", ";"], "ground_truth": ["}"], "File": "Cpu0AsmParser", "Func": "addExpr", "Target": "Cpu0", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 189070, "Length": 78, "Cover_Rate": 1.0} {"Template_token": ["", "assert", "(", "N", "==", "", "&&", "", ")", ";", "const", "MCExpr", "*", "Expr", "=", "getImm", "(", ")", ";"], "ground_truth": ["addExpr", "(", "Inst", ",", "Expr", ")", ";"], "File": "Cpu0AsmParser", "Func": "addImmOperands", "Target": "Cpu0", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 189071, "Length": 25, "Cover_Rate": 0.6578947368421053} {"Template_token": ["", "const", "MCExpr", "*", "Expr", "=", "getImm", "(", ")", ";"], "ground_truth": ["addExpr", "(", "Inst", ",", "Expr", ")", ";"], "File": "Cpu0AsmParser", "Func": "addImmOperands", "Target": "Cpu0", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 189072, "Length": 16, "Cover_Rate": 0.42105263157894735} {"Template_token": ["", "void", "addMemOperands", "(", "MCInst", "&", "Inst", ",", "unsigned", "N", ")", "const", "{"], "ground_truth": ["assert", "(", "N", "==", "", "&&", "", ")", ";"], "File": "Cpu0AsmParser", "Func": "addMemOperands", "Target": "Cpu0", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 189073, "Length": 21, "Cover_Rate": 0.40384615384615385} {"Template_token": ["", "assert", "(", "N", "==", "", "&&", "", ")", ";", "Inst", ".", "addOperand", "(", "MCOperand", "::", "createReg", "(", "getReg", "(", ")", ")", ")", ";"], "ground_truth": ["}"], "File": "Cpu0AsmParser", "Func": "addRegOperands", "Target": "Cpu0", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 189074, "Length": 24, "Cover_Rate": 0.6666666666666666} {"Template_token": ["", "AsmParser", "(", "const", "MCSubtargetInfo", "&", "sti", ",", "MCAsmParser", "&", "parser", ",", "const", "MCInstrInfo", "&", "MII", ",", "const", "MCTargetOptions", "&", "Options", ")", ":", "MCTargetAsmParser", "(", "Options", ",", "sti", ",", "MII", ")", ",", "Parser", "(", "parser", ")", "{"], "ground_truth": ["setAvailableFeatures", "(", "ComputeAvailableFeatures", "(", "getSTI", "(", ")", ".", "getFeatureBits", "(", ")", ")", ")", ";"], "File": "Cpu0AsmParser", "Func": "Cpu0AsmParser", "Target": "Cpu0", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 189075, "Length": 50, "Cover_Rate": 0.9803921568627451} {"Template_token": ["", "Operand", "(", "KindTy", "K", ")", ":", "MCParsedAsmOperand", "(", ")", ",", "Kind", "(", "K", ")", "{"], "ground_truth": ["}"], "File": "Cpu0AsmParser", "Func": "Cpu0Operand", "Target": "Cpu0", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 189078, "Length": 16, "Cover_Rate": 1.0} {"Template_token": ["", "Operand", "(", "KindTy", "K", ")", ":", "MCParsedAsmOperand", "(", ")", ",", "Kind", "(", "K", ")", "{"], "ground_truth": ["}"], "File": "Cpu0AsmParser", "Func": "Cpu0Operand", "Target": "Cpu0", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 189079, "Length": 16, "Cover_Rate": 1.0} {"Template_token": ["", "static", "std", "::", "unique_ptr", "<", "Operand", ">", "CreateReg", "(", "unsigned", "RegNum", ",", "SMLoc", "S", ",", "SMLoc", "E", ")", "{", "auto", "Op", "=", "make_unique", "<", "Operand", ">", "(", "k_Register", ")", ";", "Op", "->", "Reg", ".", "RegNum", "=", "RegNum", ";", "Op", "->", "StartLoc", "=", "S", ";"], "ground_truth": ["Op", "->", "EndLoc", "=", "E", ";"], "File": "Cpu0AsmParser", "Func": "CreateReg", "Target": "Cpu0", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 189081, "Length": 50, "Cover_Rate": 0.9259259259259259} {"Template_token": ["", "static", "std", "::", "unique_ptr", "<", "Operand", ">", "CreateReg", "(", "unsigned", "RegNum", ",", "SMLoc", "S", ",", "SMLoc", "E", ")", "{", "auto", "Op", "=", "make_unique", "<", "Operand", ">", "(", "k_Register", ")", ";", "Op", "->", "Reg", ".", "RegNum", "=", "RegNum", ";", "Op", "->", "StartLoc", "=", "S", ";"], "ground_truth": ["Op", "->", "EndLoc", "=", "E", ";"], "File": "Cpu0AsmParser", "Func": "CreateReg", "Target": "Cpu0", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 189082, "Length": 50, "Cover_Rate": 0.9259259259259259} {"Template_token": ["", "auto", "Op", "=", "make_unique", "<", "Operand", ">", "(", "k_Token", ")", ";", "Op", "->", "Tok", ".", "Data", "=", "Str", ".", "data", "(", ")", ";", "Op", "->", "Tok", ".", "Length", "=", "Str", ".", "size", "(", ")", ";", "Op", "->", "StartLoc", "=", "S", ";", "Op", "->", "EndLoc", "=", "S", ";"], "ground_truth": ["return", "Op", ";"], "File": "Cpu0AsmParser", "Func": "CreateToken", "Target": "Cpu0", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 189083, "Length": 50, "Cover_Rate": 0.746268656716418} {"Template_token": ["", "void", "AsmParser", "::", "expandInstruction", "(", "MCInst", "&", "Inst", ",", "SMLoc", "IDLoc", ",", "SmallVectorImpl", "<", "MCInst", ">", "&", "Instructions", ")", "{", "switch", "(", "Inst", ".", "getOpcode", "(", ")", ")", "{", "case", "", ":"], "ground_truth": ["return", "expandLoadImm", "(", "Inst", ",", "IDLoc", ",", "Instructions", ")", ";"], "File": "Cpu0AsmParser", "Func": "expandInstruction", "Target": "Cpu0", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 189085, "Length": 42, "Cover_Rate": 0.5526315789473685} {"Template_token": ["", "switch", "(", "Inst", ".", "getOpcode", "(", ")", ")", "{", "case", "", ":", "return", "expandLoadImm", "(", "Inst", ",", "IDLoc", ",", "Instructions", ")", ";"], "ground_truth": ["case", "", ":"], "File": "Cpu0AsmParser", "Func": "expandInstruction", "Target": "Cpu0", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 189086, "Length": 25, "Cover_Rate": 0.32894736842105265} {"Template_token": ["", "if", "(", "-", "", "<=", "ImmValue", "&&", "ImmValue", "<=", "", ")", "{", "tmpInst", ".", "setOpcode", "(", "", ")", ";", "tmpInst", ".", "addOperand", "(", "MCOperand", "::", "createReg", "(", "RegOp", ".", "getReg", "(", ")", ")", ")", ";", "tmpInst", ".", "addOperand", "(", "MCOperand", "::", "createReg", "(", "", ")", ")", ";", "tmpInst", ".", "addOperand", "(", "MCOperand", "::", "createImm", "(", "ImmValue", ")", ")", ";", "Instructions", ".", "push_back", "(", "tmpInst", ")", ";", "}", "else", "{", "tmpInst", ".", "setOpcode", "(", "", ")", ";"], "ground_truth": ["tmpInst", ".", "addOperand", "(", "MCOperand", "::", "createReg", "(", "RegOp", ".", "getReg", "(", ")", ")", ")", ";"], "File": "Cpu0AsmParser", "Func": "expandLoadAddressImm", "Target": "Cpu0", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 189087, "Length": 92, "Cover_Rate": 0.33948339483394835} {"Template_token": ["", "const", "MCOperand", "&", "RegOp", "=", "Inst", ".", "getOperand", "(", "", ")", ";", "assert", "(", "RegOp", ".", "isReg", "(", ")", "&&", "", ")", ";", "int", "ImmValue", "=", "ImmOp", ".", "getImm", "(", ")", ";", "if", "(", "-", "", "<=", "ImmValue", "&&", "ImmValue", "<=", "", ")", "{", "tmpInst", ".", "setOpcode", "(", "", ")", ";", "tmpInst", ".", "addOperand", "(", "MCOperand", "::", "createReg", "(", "RegOp", ".", "getReg", "(", ")", ")", ")", ";", "tmpInst", ".", "addOperand", "(", "MCOperand", "::", "createReg", "(", "", ")", ")", ";", "tmpInst", ".", "addOperand", "(", "MCOperand", "::", "createImm", "(", "ImmValue", ")", ")", ";", "Instructions", ".", "push_back", "(", "tmpInst", ")", ";", "}", "else", "{", "tmpInst", ".", "setOpcode", "(", "", ")", ";", "tmpInst", ".", "addOperand", "(", "MCOperand", "::", "createReg", "(", "RegOp", ".", "getReg", "(", ")", ")", ")", ";", "tmpInst", ".", "addOperand", "(", "MCOperand", "::", "createImm", "(", "(", "ImmValue", "&", "", ")", ">>", "", ")", ")", ";", "Instructions", ".", "push_back", "(", "tmpInst", ")", ";", "tmpInst", ".", "clear", "(", ")", ";", "tmpInst", ".", "setOpcode", "(", "", ")", ";", "tmpInst", ".", "addOperand", "(", "MCOperand", "::", "createReg", "(", "RegOp", ".", "getReg", "(", ")", ")", ")", ";", "tmpInst", ".", "addOperand", "(", "MCOperand", "::", "createReg", "(", "RegOp", ".", "getReg", "(", ")", ")", ")", ";"], "ground_truth": ["tmpInst", ".", "addOperand", "(", "MCOperand", "::", "createImm", "(", "ImmValue", "&", "", ")", ")", ";"], "File": "Cpu0AsmParser", "Func": "expandLoadAddressImm", "Target": "Cpu0", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 189088, "Length": 208, "Cover_Rate": 0.7675276752767528} {"Template_token": ["", "tmpInst", ".", "addOperand", "(", "MCOperand", "::", "createImm", "(", "(", "ImmValue", "&", "", ")", ">>", "", ")", ")", ";", "Instructions", ".", "push_back", "(", "tmpInst", ")", ";", "tmpInst", ".", "clear", "(", ")", ";", "tmpInst", ".", "setOpcode", "(", "", ")", ";", "tmpInst", ".", "addOperand", "(", "MCOperand", "::", "createReg", "(", "DstRegOp", ".", "getReg", "(", ")", ")", ")", ";", "tmpInst", ".", "addOperand", "(", "MCOperand", "::", "createReg", "(", "DstRegOp", ".", "getReg", "(", ")", ")", ")", ";", "tmpInst", ".", "addOperand", "(", "MCOperand", "::", "createImm", "(", "ImmValue", "&", "", ")", ")", ";", "Instructions", ".", "push_back", "(", "tmpInst", ")", ";", "tmpInst", ".", "clear", "(", ")", ";", "tmpInst", ".", "setOpcode", "(", "", ")", ";", "tmpInst", ".", "addOperand", "(", "MCOperand", "::", "createReg", "(", "DstRegOp", ".", "getReg", "(", ")", ")", ")", ";", "tmpInst", ".", "addOperand", "(", "MCOperand", "::", "createReg", "(", "DstRegOp", ".", "getReg", "(", ")", ")", ")", ";", "tmpInst", ".", "addOperand", "(", "MCOperand", "::", "createReg", "(", "SrcRegOp", ".", "getReg", "(", ")", ")", ")", ";"], "ground_truth": ["Instructions", ".", "push_back", "(", "tmpInst", ")", ";"], "File": "Cpu0AsmParser", "Func": "expandLoadAddressReg", "Target": "Cpu0", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 189089, "Length": 159, "Cover_Rate": 0.4344262295081967} {"Template_token": ["", "tmpInst", ".", "addOperand", "(", "MCOperand", "::", "createReg", "(", "", ")", ")", ";", "tmpInst", ".", "addOperand", "(", "MCOperand", "::", "createImm", "(", "ImmValue", ")", ")", ";", "Instructions", ".", "push_back", "(", "tmpInst", ")", ";", "}", "else", "if", "(", "ImmValue", "<", "", "&&", "ImmValue", ">=", "-", "", ")", "{", "tmpInst", ".", "setOpcode", "(", "", ")", ";", "tmpInst", ".", "addOperand", "(", "MCOperand", "::", "createReg", "(", "RegOp", ".", "getReg", "(", ")", ")", ")", ";", "tmpInst", ".", "addOperand", "(", "MCOperand", "::", "createReg", "(", "", ")", ")", ";", "tmpInst", ".", "addOperand", "(", "MCOperand", "::", "createImm", "(", "ImmValue", ")", ")", ";", "Instructions", ".", "push_back", "(", "tmpInst", ")", ";", "}", "else", "{", "tmpInst", ".", "setOpcode", "(", "", ")", ";", "tmpInst", ".", "addOperand", "(", "MCOperand", "::", "createReg", "(", "RegOp", ".", "getReg", "(", ")", ")", ")", ";", "tmpInst", ".", "addOperand", "(", "MCOperand", "::", "createImm", "(", "(", "ImmValue", "&", "", ")", ">>", "", ")", ")", ";", "Instructions", ".", "push_back", "(", "tmpInst", ")", ";", "tmpInst", ".", "clear", "(", ")", ";", "tmpInst", ".", "setOpcode", "(", "", ")", ";", "tmpInst", ".", "addOperand", "(", "MCOperand", "::", "createReg", "(", "RegOp", ".", "getReg", "(", ")", ")", ")", ";", "tmpInst", ".", "addOperand", "(", "MCOperand", "::", "createReg", "(", "RegOp", ".", "getReg", "(", ")", ")", ")", ";", "tmpInst", ".", "addOperand", "(", "MCOperand", "::", "createImm", "(", "ImmValue", "&", "", ")", ")", ";", "tmpInst", ".", "setLoc", "(", "IDLoc", ")", ";", "Instructions", ".", "push_back", "(", "tmpInst", ")", ";", "}"], "ground_truth": ["}"], "File": "Cpu0AsmParser", "Func": "expandLoadImm", "Target": "Cpu0", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 189090, "Length": 225, "Cover_Rate": 0.6320224719101124} {"Template_token": ["", "tmpInst", ".", "addOperand", "(", "MCOperand", "::", "createImm", "(", "ImmValue", ")", ")", ";", "Instructions", ".", "push_back", "(", "tmpInst", ")", ";", "}", "else", "if", "(", "ImmValue", "<", "", "&&", "ImmValue", ">=", "-", "", ")", "{", "tmpInst", ".", "setOpcode", "(", "", ")", ";", "tmpInst", ".", "addOperand", "(", "MCOperand", "::", "createReg", "(", "RegOp", ".", "getReg", "(", ")", ")", ")", ";", "tmpInst", ".", "addOperand", "(", "MCOperand", "::", "createReg", "(", "", ")", ")", ";", "tmpInst", ".", "addOperand", "(", "MCOperand", "::", "createImm", "(", "ImmValue", ")", ")", ";", "Instructions", ".", "push_back", "(", "tmpInst", ")", ";", "}", "else", "{", "tmpInst", ".", "setOpcode", "(", "", ")", ";", "tmpInst", ".", "addOperand", "(", "MCOperand", "::", "createReg", "(", "RegOp", ".", "getReg", "(", ")", ")", ")", ";", "tmpInst", ".", "addOperand", "(", "MCOperand", "::", "createImm", "(", "(", "ImmValue", "&", "", ")", ">>", "", ")", ")", ";", "Instructions", ".", "push_back", "(", "tmpInst", ")", ";", "tmpInst", ".", "clear", "(", ")", ";"], "ground_truth": ["tmpInst", ".", "setOpcode", "(", "", ")", ";"], "File": "Cpu0AsmParser", "Func": "expandLoadImm", "Target": "Cpu0", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 189091, "Length": 151, "Cover_Rate": 0.4241573033707865} {"Template_token": ["", "SMLoc", "getEndLoc", "(", ")", "const", "override", "{"], "ground_truth": ["return", "EndLoc", ";"], "File": "Cpu0AsmParser", "Func": "getEndLoc", "Target": "Cpu0", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 189093, "Length": 10, "Cover_Rate": 0.9090909090909091} {"Template_token": ["", "const", "MCExpr", "*", "getImm", "(", ")", "const", "{", "assert", "(", "Kind", "==", "k_Immediate", "&&", "", ")", ";", "return", "Imm", ".", "Val", ";"], "ground_truth": ["}"], "File": "Cpu0AsmParser", "Func": "getImm", "Target": "Cpu0", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 189095, "Length": 23, "Cover_Rate": 1.0} {"Template_token": ["", "return", "Parser", ".", "getLexer", "(", ")", ";"], "ground_truth": ["}"], "File": "Cpu0AsmParser", "Func": "getLexer", "Target": "Cpu0", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 189097, "Length": 8, "Cover_Rate": 0.5333333333333333} {"Template_token": ["", "unsigned", "getMemBase", "(", ")", "const", "{"], "ground_truth": ["assert", "(", "Kind", "==", "k_Memory", "&&", "", ")", ";"], "File": "Cpu0AsmParser", "Func": "getMemBase", "Target": "Cpu0", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 189099, "Length": 15, "Cover_Rate": 0.7142857142857143} {"Template_token": ["", "const", "MCExpr", "*", "getMemOff", "(", ")", "const", "{", "assert", "(", "Kind", "==", "k_Memory", "&&", "", ")", ";", "return", "Mem", ".", "Off", ";"], "ground_truth": ["}"], "File": "Cpu0AsmParser", "Func": "getMemOff", "Target": "Cpu0", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 189100, "Length": 23, "Cover_Rate": 1.0} {"Template_token": ["", "const", "MCExpr", "*", "getMemOff", "(", ")", "const", "{", "assert", "(", "Kind", "==", "k_Memory", "&&", "", ")", ";"], "ground_truth": ["return", "Mem", ".", "Off", ";"], "File": "Cpu0AsmParser", "Func": "getMemOff", "Target": "Cpu0", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 189101, "Length": 22, "Cover_Rate": 0.9565217391304348} {"Template_token": ["", "return", "Parser", ";"], "ground_truth": ["}"], "File": "Cpu0AsmParser", "Func": "getParser", "Target": "Cpu0", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 189103, "Length": 4, "Cover_Rate": 0.36363636363636365} {"Template_token": ["", "unsigned", "AsmParser", "::", "getReg", "(", "int", "RC", ",", "int", "RegNo", ")", "{", "return", "*", "(", "getContext", "(", ")", ".", "getRegisterInfo", "(", ")", "->", "getRegClass", "(", "RC", ")", ".", "begin", "(", ")", "+", "RegNo", ")", ";"], "ground_truth": ["}"], "File": "Cpu0AsmParser", "Func": "getReg", "Target": "Cpu0", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 189104, "Length": 36, "Cover_Rate": 1.0} {"Template_token": ["", "unsigned", "AsmParser", "::", "getReg", "(", "int", "RC", ",", "int", "RegNo", ")", "{"], "ground_truth": ["return", "*", "(", "getContext", "(", ")", ".", "getRegisterInfo", "(", ")", "->", "getRegClass", "(", "RC", ")", ".", "begin", "(", ")", "+", "RegNo", ")", ";"], "File": "Cpu0AsmParser", "Func": "getReg", "Target": "Cpu0", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 189105, "Length": 35, "Cover_Rate": 0.9722222222222222} {"Template_token": ["", "SMLoc", "getStartLoc", "(", ")", "const", "override", "{"], "ground_truth": ["return", "StartLoc", ";"], "File": "Cpu0AsmParser", "Func": "getStartLoc", "Target": "Cpu0", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 189106, "Length": 10, "Cover_Rate": 0.9090909090909091} {"Template_token": ["", "SMLoc", "getStartLoc", "(", ")", "const", "override", "{", "return", "StartLoc", ";"], "ground_truth": ["}"], "File": "Cpu0AsmParser", "Func": "getStartLoc", "Target": "Cpu0", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 189107, "Length": 11, "Cover_Rate": 1.0} {"Template_token": ["", "assert", "(", "Kind", "==", "k_Token", "&&", "", ")", ";", "return", "StringRef", "(", "Tok", ".", "Data", ",", "Tok", ".", "Length", ")", ";"], "ground_truth": ["}"], "File": "Cpu0AsmParser", "Func": "getToken", "Target": "Cpu0", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 189108, "Length": 22, "Cover_Rate": 0.7857142857142857} {"Template_token": ["", "bool", "isImm", "(", ")", "const", "override", "{"], "ground_truth": ["return", "Kind", "==", "k_Immediate", ";"], "File": "Cpu0AsmParser", "Func": "isImm", "Target": "Cpu0", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 189110, "Length": 12, "Cover_Rate": 0.9230769230769231} {"Template_token": ["", "return", "macro", ";"], "ground_truth": ["}"], "File": "Cpu0AsmParser", "Func": "isMacro", "Target": "Cpu0", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 189112, "Length": 4, "Cover_Rate": 0.4444444444444444} {"Template_token": ["", "bool", "isMacro", "(", ")", "{", "return", "macro", ";"], "ground_truth": ["}"], "File": "Cpu0AsmParser", "Func": "isMacro", "Target": "Cpu0", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 189113, "Length": 9, "Cover_Rate": 1.0} {"Template_token": ["", "bool", "isMem", "(", ")", "const", "override", "{", "return", "Kind", "==", "k_Memory", ";"], "ground_truth": ["}"], "File": "Cpu0AsmParser", "Func": "isMem", "Target": "Cpu0", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 189115, "Length": 13, "Cover_Rate": 1.0} {"Template_token": ["", "bool", "isReg", "(", ")", "const", "override", "{"], "ground_truth": ["return", "Kind", "==", "k_Register", ";"], "File": "Cpu0AsmParser", "Func": "isReg", "Target": "Cpu0", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 189117, "Length": 12, "Cover_Rate": 0.9230769230769231} {"Template_token": ["", "bool", "isReorder", "(", ")", "{", "return", "reorder", ";"], "ground_truth": ["}"], "File": "Cpu0AsmParser", "Func": "isReorder", "Target": "Cpu0", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 189118, "Length": 9, "Cover_Rate": 1.0} {"Template_token": ["", "return", "Kind", "==", "k_Token", ";"], "ground_truth": ["}"], "File": "Cpu0AsmParser", "Func": "isToken", "Target": "Cpu0", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 189120, "Length": 6, "Cover_Rate": 0.46153846153846156} {"Template_token": ["", "return", "Kind", "==", "k_Token", ";"], "ground_truth": ["}"], "File": "Cpu0AsmParser", "Func": "isToken", "Target": "Cpu0", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 189121, "Length": 6, "Cover_Rate": 0.46153846153846156} {"Template_token": ["", "RegisterMCAsmParser", "<", "AsmParser", ">", "Y", "(", "getTheelTarget", "(", ")", ")", ";"], "ground_truth": ["}"], "File": "Cpu0AsmParser", "Func": "LLVMInitializeCpu0AsmParser", "Target": "Cpu0", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 189122, "Length": 12, "Cover_Rate": 0.42857142857142855} {"Template_token": ["", "RegisterMCAsmParser", "<", "AsmParser", ">", "X", "(", "getTheTarget", "(", ")", ")", ";", "RegisterMCAsmParser", "<", "AsmParser", ">", "Y", "(", "getTheelTarget", "(", ")", ")", ";"], "ground_truth": ["}"], "File": "Cpu0AsmParser", "Func": "LLVMInitializeCpu0AsmParser", "Target": "Cpu0", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 189123, "Length": 23, "Cover_Rate": 0.8214285714285714} {"Template_token": ["", "switch", "(", "MatchResult", ")", "{", "default", ":", "break", ";", "case", "Match_Success", ":", "{", "if", "(", "needsExpansion", "(", "Inst", ")", ")", "{", "SmallVector", "<", "MCInst", ",", "", ">", "Instructions", ";", "expandInstruction", "(", "Inst", ",", "IDLoc", ",", "Instructions", ")", ";", "for", "(", "unsigned", "i", "=", "", ";", "i", "<", "Instructions", ".", "size", "(", ")", ";", "i", "++", ")", "{", "Out", ".", "EmitInstruction", "(", "Instructions", "[", "i", "]", ",", "getSTI", "(", ")", ")", ";", "}", "}", "else", "{", "Inst", ".", "setLoc", "(", "IDLoc", ")", ";", "Out", ".", "EmitInstruction", "(", "Inst", ",", "getSTI", "(", ")", ")", ";", "}", "return", "false", ";", "}", "case", "Match_MissingFeature", ":", "Error", "(", "IDLoc", ",", "", ")", ";", "return", "true", ";", "case", "Match_InvalidOperand", ":", "{", "SMLoc", "ErrorLoc", "=", "IDLoc", ";", "if", "(", "ErrorInfo", "!=", "~", "", ")", "{", "if", "(", "ErrorInfo", ">=", "Operands", ".", "size", "(", ")", ")", "return", "Error", "(", "IDLoc", ",", "", ")", ";", "ErrorLoc", "=", "(", "(", "Operand", "&", ")", "*", "Operands", "[", "ErrorInfo", "]", ")", ".", "getStartLoc", "(", ")", ";", "if", "(", "ErrorLoc", "==", "SMLoc", "(", ")", ")", "ErrorLoc", "=", "IDLoc", ";", "}", "return", "Error", "(", "ErrorLoc", ",", "", ")", ";", "}"], "ground_truth": ["case", "Match_MnemonicFail", ":"], "File": "Cpu0AsmParser", "Func": "MatchAndEmitInstruction", "Target": "Cpu0", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 189124, "Length": 189, "Cover_Rate": 0.75} {"Template_token": ["", "SmallVector", "<", "MCInst", ",", "", ">", "Instructions", ";", "expandInstruction", "(", "Inst", ",", "IDLoc", ",", "Instructions", ")", ";", "for", "(", "unsigned", "i", "=", "", ";", "i", "<", "Instructions", ".", "size", "(", ")", ";", "i", "++", ")", "{", "Out", ".", "EmitInstruction", "(", "Instructions", "[", "i", "]", ",", "getSTI", "(", ")", ")", ";", "}", "}", "else", "{", "Inst", ".", "setLoc", "(", "IDLoc", ")", ";", "Out", ".", "EmitInstruction", "(", "Inst", ",", "getSTI", "(", ")", ")", ";", "}", "return", "false", ";", "}", "case", "Match_MissingFeature", ":", "Error", "(", "IDLoc", ",", "", ")", ";", "return", "true", ";", "case", "Match_InvalidOperand", ":", "{", "SMLoc", "ErrorLoc", "=", "IDLoc", ";"], "ground_truth": ["if", "(", "ErrorInfo", "!=", "~", "", ")", "{"], "File": "Cpu0AsmParser", "Func": "MatchAndEmitInstruction", "Target": "Cpu0", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 189125, "Length": 107, "Cover_Rate": 0.4246031746031746} {"Template_token": ["", "int", "AsmParser", "::", "matchRegisterByNumber", "(", "unsigned", "RegNum", ",", "StringRef", "Mnemonic", ")", "{", "if", "(", "RegNum", ">", "", ")", "return", "-", "", ";"], "ground_truth": ["return", "getReg", "(", "", ",", "RegNum", ")", ";"], "File": "Cpu0AsmParser", "Func": "matchRegisterByNumber", "Target": "Cpu0", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 189126, "Length": 30, "Cover_Rate": 0.9090909090909091} {"Template_token": ["", "if", "(", "RegNum", ">", "", ")", "return", "-", "", ";", "return", "getReg", "(", "", ",", "RegNum", ")", ";"], "ground_truth": ["}"], "File": "Cpu0AsmParser", "Func": "matchRegisterByNumber", "Target": "Cpu0", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 189127, "Length": 19, "Cover_Rate": 0.5757575757575758} {"Template_token": ["", "int", "CC", ";", "CC", "=", "StringSwitch", "<", "unsigned", ">", "(", "Name", ")", ".", "Case", "(", "", ",", "", ")", ".", "Case", "(", "", ",", "", ")", ".", "Case", "(", "", ",", "", ")", ".", "Case", "(", "", ",", "", ")", ".", "Case", "(", "", ",", "", ")", ".", "Case", "(", "", ",", "", ")", ".", "Case", "(", "", ",", "", ")", ".", "Case", "(", "", ",", "", ")", ".", "Case", "(", "", ",", "", ")", ".", "Case", "(", "", ",", "", ")", ".", "Case", "(", "", ",", "", ")", ".", "Case", "(", "", ",", "", ")", ".", "Case", "(", "", ",", "", ")", ".", "Case", "(", "", ",", "", ")", ".", "Case", "(", "", ",", "", ")", ".", "Case", "(", "", ",", "", ")", ".", "Case", "(", "", ",", "", ")", ".", "Case", "(", "", ",", "", ")", ".", "Case", "(", "", ",", "", ")", ".", "Case", "(", "", ",", "", ")", ".", "Default", "(", "-", "", ")", ";", "if", "(", "CC", "!=", "-", "", ")", "return", "CC", ";", "return", "-", "", ";"], "ground_truth": ["}"], "File": "Cpu0AsmParser", "Func": "matchRegisterName", "Target": "Cpu0", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 189128, "Length": 174, "Cover_Rate": 0.7802690582959642} {"Template_token": ["", "CC", "=", "StringSwitch", "<", "unsigned", ">", "(", "Name", ")", ".", "Case", "(", "", ",", "", ")", ".", "Case", "(", "", ",", "", ")", ".", "Case", "(", "", ",", "", ")", ".", "Case", "(", "", ",", "", ")", ".", "Case", "(", "", ",", "", ")", ".", "Case", "(", "", ",", "", ")", ".", "Case", "(", "", ",", "", ")", ".", "Case", "(", "", ",", "", ")", ".", "Case", "(", "", ",", "", ")", ".", "Case", "(", "", ",", "", ")", ".", "Case", "(", "", ",", "", ")", ".", "Case", "(", "", ",", "", ")", ".", "Case", "(", "", ",", "", ")", ".", "Case", "(", "", ",", "", ")", ".", "Case", "(", "", ",", "", ")", ".", "Case", "(", "", ",", "", ")", ".", "Case", "(", "", ",", "", ")", ".", "Case", "(", "", ",", "", ")", ".", "Case", "(", "", ",", "", ")", ".", "Case", "(", "", ",", "", ")", ".", "Default", "(", "-", "", ")", ";", "if", "(", "CC", "!=", "-", "", ")", "return", "CC", ";", "return", "-", "", ";"], "ground_truth": ["}"], "File": "Cpu0AsmParser", "Func": "matchRegisterName", "Target": "Cpu0", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 189129, "Length": 171, "Cover_Rate": 0.7668161434977578} {"Template_token": ["", "switch", "(", "Inst", ".", "getOpcode", "(", ")", ")", "{", "case", "", ":"], "ground_truth": ["case", "", ":"], "File": "Cpu0AsmParser", "Func": "needsExpansion", "Target": "Cpu0", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 189130, "Length": 15, "Cover_Rate": 0.3409090909090909} {"Template_token": ["", "return", "false", ";", "}", "if", "(", "DirectiveID", ".", "getString", "(", ")", "==", "", ")", "{", "Parser", ".", "eatToEndOfStatement", "(", ")", ";", "return", "false", ";", "}", "if", "(", "DirectiveID", ".", "getString", "(", ")", "==", "", ")", "{", "return", "parseDirectiveSet", "(", ")", ";", "}", "if", "(", "DirectiveID", ".", "getString", "(", ")", "==", "", ")", "{", "Parser", ".", "eatToEndOfStatement", "(", ")", ";"], "ground_truth": ["return", "false", ";"], "File": "Cpu0AsmParser", "Func": "ParseDirective", "Target": "Cpu0", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 189131, "Length": 62, "Cover_Rate": 0.3974358974358974} {"Template_token": ["", "Parser", ".", "Lex", "(", ")", ";", "return", "false", ";", "}", "if", "(", "DirectiveID", ".", "getString", "(", ")", "==", "", ")", "{", "Parser", ".", "eatToEndOfStatement", "(", ")", ";", "return", "false", ";", "}", "if", "(", "DirectiveID", ".", "getString", "(", ")", "==", "", ")", "{", "return", "parseDirectiveSet", "(", ")", ";", "}", "if", "(", "DirectiveID", ".", "getString", "(", ")", "==", "", ")", "{", "Parser", ".", "eatToEndOfStatement", "(", ")", ";", "return", "false", ";", "}", "if", "(", "DirectiveID", ".", "getString", "(", ")", "==", "", ")", "{", "Parser", ".", "eatToEndOfStatement", "(", ")", ";", "return", "false", ";", "}", "if", "(", "DirectiveID", ".", "getString", "(", ")", "==", "", ")", "{", "Parser", ".", "eatToEndOfStatement", "(", ")", ";", "return", "false", ";"], "ground_truth": ["}"], "File": "Cpu0AsmParser", "Func": "ParseDirective", "Target": "Cpu0", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 189132, "Length": 111, "Cover_Rate": 0.7115384615384616} {"Template_token": ["", "const", "AsmToken", "&", "Tok", "=", "Parser", ".", "getTok", "(", ")", ";", "if", "(", "Tok", ".", "getString", "(", ")", "==", "", ")", "{", "return", "parseSetReorderDirective", "(", ")", ";"], "ground_truth": ["}", "else", "if", "(", "Tok", ".", "getString", "(", ")", "==", "", ")", "{"], "File": "Cpu0AsmParser", "Func": "parseDirectiveSet", "Target": "Cpu0", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 189133, "Length": 40, "Cover_Rate": 0.43010752688172044} {"Template_token": ["", "bool", "AsmParser", "::", "ParseInstruction", "(", "ParseInstructionInfo", "&", "Info", ",", "StringRef", "Name", ",", "SMLoc", "NameLoc", ",", "OperandVector", "&", "Operands", ")", "{", "size_t", "Start", "=", "", ",", "Next", "=", "Name", ".", "find", "(", "'.'", ")", ";", "StringRef", "Mnemonic", "=", "Name", ".", "slice", "(", "Start", ",", "Next", ")", ";", "if", "(", "Mnemonic", "==", "", ")", "Mnemonic", "=", "", ";", "Operands", ".", "push_back", "(", "", "(", "Mnemonic", ",", "NameLoc", ")", ")", ";", "if", "(", "getLexer", "(", ")", ".", "isNot", "(", "AsmToken", "::", "EndOfStatement", ")", ")", "{", "if", "(", "ParseOperand", "(", "Operands", ",", "Name", ")", ")", "{", "SMLoc", "Loc", "=", "getLexer", "(", ")", ".", "getLoc", "(", ")", ";", "Parser", ".", "eatToEndOfStatement", "(", ")", ";", "return", "Error", "(", "Loc", ",", "", ")", ";", "}", "while", "(", "getLexer", "(", ")", ".", "is", "(", "AsmToken", "::", "Comma", ")", ")", "{", "Parser", ".", "Lex", "(", ")", ";", "if", "(", "ParseOperand", "(", "Operands", ",", "Name", ")", ")", "{", "SMLoc", "Loc", "=", "getLexer", "(", ")", ".", "getLoc", "(", ")", ";", "Parser", ".", "eatToEndOfStatement", "(", ")", ";", "return", "Error", "(", "Loc", ",", "", ")", ";", "}", "}", "}", "if", "(", "getLexer", "(", ")", ".", "isNot", "(", "AsmToken", "::", "EndOfStatement", ")", ")", "{", "SMLoc", "Loc", "=", "getLexer", "(", ")", ".", "getLoc", "(", ")", ";", "Parser", ".", "eatToEndOfStatement", "(", ")", ";", "return", "Error", "(", "Loc", ",", "", ")", ";", "}"], "ground_truth": ["Parser", ".", "Lex", "(", ")", ";"], "File": "Cpu0AsmParser", "Func": "ParseInstruction", "Target": "Cpu0", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 189134, "Length": 222, "Cover_Rate": 0.9736842105263158} {"Template_token": ["", "ParseInstruction", "(", "ParseInstructionInfo", "&", "Info", ",", "StringRef", "Name", ",", "SMLoc", "NameLoc", ",", "OperandVector", "&", "Operands", ")", "{", "size_t", "Start", "=", "", ",", "Next", "=", "Name", ".", "find", "(", "'.'", ")", ";", "StringRef", "Mnemonic", "=", "Name", ".", "slice", "(", "Start", ",", "Next", ")", ";", "if", "(", "Mnemonic", "==", "", ")", "Mnemonic", "=", "", ";", "Operands", ".", "push_back", "(", "", "(", "Mnemonic", ",", "NameLoc", ")", ")", ";", "if", "(", "getLexer", "(", ")", ".", "isNot", "(", "AsmToken", "::", "EndOfStatement", ")", ")", "{", "if", "(", "ParseOperand", "(", "Operands", ",", "Name", ")", ")", "{", "SMLoc", "Loc", "=", "getLexer", "(", ")", ".", "getLoc", "(", ")", ";", "Parser", ".", "eatToEndOfStatement", "(", ")", ";", "return", "Error", "(", "Loc", ",", "", ")", ";", "}", "while", "(", "getLexer", "(", ")", ".", "is", "(", "AsmToken", "::", "Comma", ")", ")", "{", "Parser", ".", "Lex", "(", ")", ";", "if", "(", "ParseOperand", "(", "Operands", ",", "Name", ")", ")", "{", "SMLoc", "Loc", "=", "getLexer", "(", ")", ".", "getLoc", "(", ")", ";", "Parser", ".", "eatToEndOfStatement", "(", ")", ";", "return", "Error", "(", "Loc", ",", "", ")", ";", "}", "}", "}", "if", "(", "getLexer", "(", ")", ".", "isNot", "(", "AsmToken", "::", "EndOfStatement", ")", ")", "{", "SMLoc", "Loc", "=", "getLexer", "(", ")", ".", "getLoc", "(", ")", ";", "Parser", ".", "eatToEndOfStatement", "(", ")", ";"], "ground_truth": ["return", "Error", "(", "Loc", ",", "", ")", ";"], "File": "Cpu0AsmParser", "Func": "ParseInstruction", "Target": "Cpu0", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 189135, "Length": 212, "Cover_Rate": 0.9298245614035088} {"Template_token": ["", "Parser", ".", "eatToEndOfStatement", "(", ")", ";", "return", "Error", "(", "Loc", ",", "", ")", ";", "}", "if", "(", "getLexer", "(", ")", ".", "isNot", "(", "AsmToken", "::", "Comma", ")", ")", "{", "SMLoc", "Loc", "=", "getLexer", "(", ")", ".", "getLoc", "(", ")", ";", "Parser", ".", "eatToEndOfStatement", "(", ")", ";", "return", "Error", "(", "Loc", ",", "", ")", ";", "}", "Parser", ".", "Lex", "(", ")", ";", "if", "(", "ParseOperand", "(", "Operands", ",", "Name", ")", ")", "{", "SMLoc", "Loc", "=", "getLexer", "(", ")", ".", "getLoc", "(", ")", ";", "Parser", ".", "eatToEndOfStatement", "(", ")", ";", "return", "Error", "(", "Loc", ",", "", ")", ";", "}"], "ground_truth": ["}"], "File": "Cpu0AsmParser", "Func": "parseMathOperation", "Target": "Cpu0", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 189136, "Length": 98, "Cover_Rate": 0.3602941176470588} {"Template_token": ["", "Operands", ".", "push_back", "(", "", "(", "Format1", ",", "NameLoc", ")", ")", ";", "StringRef", "Format2", "=", "Name", ".", "slice", "(", "Next", ",", "StringRef", "::", "npos", ")", ";", "Operands", ".", "push_back", "(", "", "(", "Format2", ",", "NameLoc", ")", ")", ";", "if", "(", "getLexer", "(", ")", ".", "isNot", "(", "AsmToken", "::", "EndOfStatement", ")", ")", "{", "if", "(", "ParseOperand", "(", "Operands", ",", "Name", ")", ")", "{", "SMLoc", "Loc", "=", "getLexer", "(", ")", ".", "getLoc", "(", ")", ";", "Parser", ".", "eatToEndOfStatement", "(", ")", ";", "return", "Error", "(", "Loc", ",", "", ")", ";", "}", "if", "(", "getLexer", "(", ")", ".", "isNot", "(", "AsmToken", "::", "Comma", ")", ")", "{", "SMLoc", "Loc", "=", "getLexer", "(", ")", ".", "getLoc", "(", ")", ";", "Parser", ".", "eatToEndOfStatement", "(", ")", ";", "return", "Error", "(", "Loc", ",", "", ")", ";", "}", "Parser", ".", "Lex", "(", ")", ";", "if", "(", "ParseOperand", "(", "Operands", ",", "Name", ")", ")", "{", "SMLoc", "Loc", "=", "getLexer", "(", ")", ".", "getLoc", "(", ")", ";", "Parser", ".", "eatToEndOfStatement", "(", ")", ";", "return", "Error", "(", "Loc", ",", "", ")", ";", "}", "}", "if", "(", "getLexer", "(", ")", ".", "isNot", "(", "AsmToken", "::", "EndOfStatement", ")", ")", "{", "SMLoc", "Loc", "=", "getLexer", "(", ")", ".", "getLoc", "(", ")", ";", "Parser", ".", "eatToEndOfStatement", "(", ")", ";", "return", "Error", "(", "Loc", ",", "", ")", ";"], "ground_truth": ["}"], "File": "Cpu0AsmParser", "Func": "parseMathOperation", "Target": "Cpu0", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 189137, "Length": 211, "Cover_Rate": 0.7757352941176471} {"Template_token": ["", "case", "AsmToken", "::", "Integer", ":", "case", "AsmToken", "::", "Minus", ":", "case", "AsmToken", "::", "Plus", ":", "return", "(", "getParser", "(", ")", ".", "parseExpression", "(", "Res", ")", ")", ";", "case", "AsmToken", "::", "Percent", ":", "return", "parseRelocOperand", "(", "Res", ")", ";", "case", "AsmToken", "::", "LParen", ":", "return", "false", ";", "}"], "ground_truth": ["return", "true", ";"], "File": "Cpu0AsmParser", "Func": "parseMemOffset", "Target": "Cpu0", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 189138, "Length": 50, "Cover_Rate": 0.6329113924050633} {"Template_token": ["", "switch", "(", "getLexer", "(", ")", ".", "getKind", "(", ")", ")", "{", "default", ":", "return", "true", ";", "case", "AsmToken", "::", "Integer", ":"], "ground_truth": ["case", "AsmToken", "::", "Minus", ":"], "File": "Cpu0AsmParser", "Func": "parseMemOffset", "Target": "Cpu0", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 189139, "Length": 26, "Cover_Rate": 0.3291139240506329} {"Template_token": ["", "const", "AsmToken", "&", "Tok", "=", "Parser", ".", "getTok", "(", ")", ";", "if", "(", "Tok", ".", "isNot", "(", "AsmToken", "::", "LParen", ")", ")", "{", "Operand", "&", "Mnemonic", "=", "static_cast", "<", "Operand", "&", ">", "(", "*", "Operands", "[", "", "]", ")", ";", "if", "(", "Mnemonic", ".", "getToken", "(", ")", "==", "", ")", "{", "SMLoc", "E", "=", "SMLoc", "::", "getFromPointer", "(", "Parser", ".", "getTok", "(", ")", ".", "getLoc", "(", ")", ".", "getPointer", "(", ")", "-", "", ")", ";", "Operands", ".", "push_back", "(", "", "(", "IdVal", ",", "S", ",", "E", ")", ")", ";", "return", "MatchOperand_Success", ";", "}", "Error", "(", "Parser", ".", "getTok", "(", ")", ".", "getLoc", "(", ")", ",", "", ")", ";", "return", "MatchOperand_ParseFail", ";", "}", "Parser", ".", "Lex", "(", ")", ";", "const", "AsmToken", "&", "Tok1", "=", "Parser", ".", "getTok", "(", ")", ";"], "ground_truth": ["if", "(", "Tok1", ".", "is", "(", "AsmToken", "::", "Dollar", ")", ")", "{"], "File": "Cpu0AsmParser", "Func": "parseMemOperand", "Target": "Cpu0", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 189140, "Length": 141, "Cover_Rate": 0.3569620253164557} {"Template_token": ["", "S", "=", "Parser", ".", "getTok", "(", ")", ".", "getLoc", "(", ")", ";", "if", "(", "parseMemOffset", "(", "IdVal", ")", ")", "return", "MatchOperand_ParseFail", ";", "const", "AsmToken", "&", "Tok", "=", "Parser", ".", "getTok", "(", ")", ";", "if", "(", "Tok", ".", "isNot", "(", "AsmToken", "::", "LParen", ")", ")", "{", "Operand", "&", "Mnemonic", "=", "static_cast", "<", "Operand", "&", ">", "(", "*", "Operands", "[", "", "]", ")", ";", "if", "(", "Mnemonic", ".", "getToken", "(", ")", "==", "", ")", "{", "SMLoc", "E", "=", "SMLoc", "::", "getFromPointer", "(", "Parser", ".", "getTok", "(", ")", ".", "getLoc", "(", ")", ".", "getPointer", "(", ")", "-", "", ")", ";", "Operands", ".", "push_back", "(", "", "(", "IdVal", ",", "S", ",", "E", ")", ")", ";", "return", "MatchOperand_Success", ";", "}", "Error", "(", "Parser", ".", "getTok", "(", ")", ".", "getLoc", "(", ")", ",", "", ")", ";", "return", "MatchOperand_ParseFail", ";", "}", "Parser", ".", "Lex", "(", ")", ";", "const", "AsmToken", "&", "Tok1", "=", "Parser", ".", "getTok", "(", ")", ";", "if", "(", "Tok1", ".", "is", "(", "AsmToken", "::", "Dollar", ")", ")", "{", "Parser", ".", "Lex", "(", ")", ";"], "ground_truth": ["if", "(", "tryParseRegisterOperand", "(", "Operands", ",", "", ")", ")", "{"], "File": "Cpu0AsmParser", "Func": "parseMemOperand", "Target": "Cpu0", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 189141, "Length": 179, "Cover_Rate": 0.4531645569620253} {"Template_token": ["", "if", "(", "!", "getLexer", "(", ")", ".", "is", "(", "AsmToken", "::", "RParen", ")", ")", "return", "true", ";", "S", "=", "Parser", ".", "getTok", "(", ")", ".", "getLoc", "(", ")", ";", "Operands", ".", "push_back", "(", "", "(", "", ",", "S", ")", ")", ";", "Parser", ".", "Lex", "(", ")", ";", "}", "return", "false", ";", "}", "StringRef", "Identifier", ";", "if", "(", "Parser", ".", "parseIdentifier", "(", "Identifier", ")", ")", "return", "true", ";", "SMLoc", "E", "=", "SMLoc", "::", "getFromPointer", "(", "Parser", ".", "getTok", "(", ")", ".", "getLoc", "(", ")", ".", "getPointer", "(", ")", "-", "", ")", ";", "MCSymbol", "*", "Sym", "=", "getContext", "(", ")", ".", "getOrCreateSymbol", "(", "", "+", "Identifier", ")", ";", "const", "MCExpr", "*", "Res", "=", "MCSymbolRefExpr", "::", "create", "(", "Sym", ",", "MCSymbolRefExpr", "::", "VK_None", ",", "getContext", "(", ")", ")", ";", "Operands", ".", "push_back", "(", "", "(", "Res", ",", "S", ",", "E", ")", ")", ";", "return", "false", ";", "}", "case", "AsmToken", "::", "Identifier", ":", "case", "AsmToken", "::", "LParen", ":", "case", "AsmToken", "::", "Minus", ":", "case", "AsmToken", "::", "Plus", ":", "case", "AsmToken", "::", "Integer", ":", "case", "AsmToken", "::", "String", ":", "{", "const", "MCExpr", "*", "IdVal", ";", "SMLoc", "S", "=", "Parser", ".", "getTok", "(", ")", ".", "getLoc", "(", ")", ";", "if", "(", "getParser", "(", ")", ".", "parseExpression", "(", "IdVal", ")", ")", "return", "true", ";", "SMLoc", "E", "=", "SMLoc", "::", "getFromPointer", "(", "Parser", ".", "getTok", "(", ")", ".", "getLoc", "(", ")", ".", "getPointer", "(", ")", "-", "", ")", ";", "Operands", ".", "push_back", "(", "", "(", "IdVal", ",", "S", ",", "E", ")", ")", ";", "return", "false", ";", "}", "case", "AsmToken", "::", "Percent", ":", "{", "const", "MCExpr", "*", "IdVal", ";", "SMLoc", "S", "=", "Parser", ".", "getTok", "(", ")", ".", "getLoc", "(", ")", ";", "if", "(", "parseRelocOperand", "(", "IdVal", ")", ")", "return", "true", ";", "SMLoc", "E", "=", "SMLoc", "::", "getFromPointer", "(", "Parser", ".", "getTok", "(", ")", ".", "getLoc", "(", ")", ".", "getPointer", "(", ")", "-", "", ")", ";", "Operands", ".", "push_back", "(", "", "(", "IdVal", ",", "S", ",", "E", ")", ")", ";", "return", "false", ";", "}"], "ground_truth": ["}"], "File": "Cpu0AsmParser", "Func": "ParseOperand", "Target": "Cpu0", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 189142, "Length": 326, "Cover_Rate": 0.6127819548872181} {"Template_token": ["", "bool", "AsmParser", "::", "ParseRegister", "(", "unsigned", "&", "RegNo", ",", "SMLoc", "&", "StartLoc", ",", "SMLoc", "&", "EndLoc", ")", "{", "StartLoc", "=", "Parser", ".", "getTok", "(", ")", ".", "getLoc", "(", ")", ";", "RegNo", "=", "tryParseRegister", "(", "", ")", ";", "EndLoc", "=", "Parser", ".", "getTok", "(", ")", ".", "getLoc", "(", ")", ";"], "ground_truth": ["return", "(", "RegNo", "==", "(", "unsigned", ")", "-", "", ")", ";"], "File": "Cpu0AsmParser", "Func": "ParseRegister", "Target": "Cpu0", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 189143, "Length": 60, "Cover_Rate": 0.9836065573770492} {"Template_token": ["", "EndLoc", "=", "Parser", ".", "getTok", "(", ")", ".", "getLoc", "(", ")", ";", "return", "(", "RegNo", "==", "(", "unsigned", ")", "-", "", ")", ";"], "ground_truth": ["}"], "File": "Cpu0AsmParser", "Func": "ParseRegister", "Target": "Cpu0", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 189144, "Length": 24, "Cover_Rate": 0.39344262295081966} {"Template_token": ["", "if", "(", "getLexer", "(", ")", ".", "getKind", "(", ")", "==", "AsmToken", "::", "Percent", ")", "{", "Parser", ".", "Lex", "(", ")", ";", "const", "AsmToken", "&", "NextTok", "=", "Parser", ".", "getTok", "(", ")", ";", "if", "(", "NextTok", ".", "isNot", "(", "AsmToken", "::", "Identifier", ")", ")", "return", "true", ";", "Str", "+=", "", ";", "Str", "+=", "NextTok", ".", "getIdentifier", "(", ")", ";", "Parser", ".", "Lex", "(", ")", ";", "if", "(", "getLexer", "(", ")", ".", "getKind", "(", ")", "!=", "AsmToken", "::", "LParen", ")", "return", "true", ";", "}", "else", "break", ";", "}", "if", "(", "getParser", "(", ")", ".", "parseParenExpression", "(", "IdVal", ",", "EndLoc", ")", ")", "return", "true", ";", "while", "(", "getLexer", "(", ")", ".", "getKind", "(", ")", "==", "AsmToken", "::", "RParen", ")", "Parser", ".", "Lex", "(", ")", ";", "}", "else", "return", "true", ";"], "ground_truth": ["Res", "=", "evaluateRelocExpr", "(", "IdVal", ",", "Str", ")", ";"], "File": "Cpu0AsmParser", "Func": "parseRelocOperand", "Target": "Cpu0", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 189145, "Length": 136, "Cover_Rate": 0.5714285714285714} {"Template_token": ["", "Parser", ".", "Lex", "(", ")", ";", "const", "AsmToken", "&", "NextTok", "=", "Parser", ".", "getTok", "(", ")", ";", "if", "(", "NextTok", ".", "isNot", "(", "AsmToken", "::", "Identifier", ")", ")", "return", "true", ";", "Str", "+=", "", ";", "Str", "+=", "NextTok", ".", "getIdentifier", "(", ")", ";", "Parser", ".", "Lex", "(", ")", ";", "if", "(", "getLexer", "(", ")", ".", "getKind", "(", ")", "!=", "AsmToken", "::", "LParen", ")", "return", "true", ";", "}", "else", "break", ";", "}", "if", "(", "getParser", "(", ")", ".", "parseParenExpression", "(", "IdVal", ",", "EndLoc", ")", ")", "return", "true", ";", "while", "(", "getLexer", "(", ")", ".", "getKind", "(", ")", "==", "AsmToken", "::", "RParen", ")", "Parser", ".", "Lex", "(", ")", ";", "}", "else", "return", "true", ";", "Res", "=", "evaluateRelocExpr", "(", "IdVal", ",", "Str", ")", ";", "return", "false", ";"], "ground_truth": ["}"], "File": "Cpu0AsmParser", "Func": "parseRelocOperand", "Target": "Cpu0", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 189146, "Length": 125, "Cover_Rate": 0.5252100840336135} {"Template_token": ["", "}", "Options", ".", "setMacro", "(", ")", ";", "Parser", ".", "Lex", "(", ")", ";", "return", "false", ";"], "ground_truth": ["}"], "File": "Cpu0AsmParser", "Func": "parseSetMacroDirective", "Target": "Cpu0", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 189147, "Length": 17, "Cover_Rate": 0.3269230769230769} {"Template_token": ["", "}", "Options", ".", "setMacro", "(", ")", ";", "Parser", ".", "Lex", "(", ")", ";"], "ground_truth": ["return", "false", ";"], "File": "Cpu0AsmParser", "Func": "parseSetMacroDirective", "Target": "Cpu0", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 189148, "Length": 16, "Cover_Rate": 0.3076923076923077} {"Template_token": ["", "Parser", ".", "Lex", "(", ")", ";", "if", "(", "getLexer", "(", ")", ".", "isNot", "(", "AsmToken", "::", "EndOfStatement", ")", ")", "{", "reportParseError", "(", "", ")", ";", "return", "false", ";", "}"], "ground_truth": ["if", "(", "Options", ".", "isReorder", "(", ")", ")", "{"], "File": "Cpu0AsmParser", "Func": "parseSetNoMacroDirective", "Target": "Cpu0", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 189149, "Length": 38, "Cover_Rate": 0.5428571428571428} {"Template_token": ["", "bool", "AsmParser", "::", "parseSetNoReorderDirective", "(", ")", "{", "Parser", ".", "Lex", "(", ")", ";"], "ground_truth": ["if", "(", "getLexer", "(", ")", ".", "isNot", "(", "AsmToken", "::", "EndOfStatement", ")", ")", "{"], "File": "Cpu0AsmParser", "Func": "parseSetNoReorderDirective", "Target": "Cpu0", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 189150, "Length": 27, "Cover_Rate": 0.5192307692307693} {"Template_token": ["", "reportParseError", "(", "", ")", ";", "return", "false", ";", "}", "Options", ".", "setNoreorder", "(", ")", ";", "Parser", ".", "Lex", "(", ")", ";"], "ground_truth": ["return", "false", ";"], "File": "Cpu0AsmParser", "Func": "parseSetNoReorderDirective", "Target": "Cpu0", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 189151, "Length": 24, "Cover_Rate": 0.46153846153846156} {"Template_token": ["", "if", "(", "getLexer", "(", ")", ".", "isNot", "(", "AsmToken", "::", "EndOfStatement", ")", ")", "{", "reportParseError", "(", "", ")", ";", "return", "false", ";", "}"], "ground_truth": ["Options", ".", "setReorder", "(", ")", ";"], "File": "Cpu0AsmParser", "Func": "parseSetReorderDirective", "Target": "Cpu0", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 189152, "Length": 29, "Cover_Rate": 0.5576923076923077} {"Template_token": ["", "void", "printOperands", "(", "OperandVector", "&", "Operands", ")", "{"], "ground_truth": ["for", "(", "size_t", "i", "=", "", ";", "i", "<", "Operands", ".", "size", "(", ")", ";", "i", "++", ")", "{"], "File": "Cpu0AsmParser", "Func": "printCpu0Operands", "Target": "Cpu0", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 189153, "Length": 27, "Cover_Rate": 0.3698630136986301} {"Template_token": ["", "Operand", "*", "op", "=", "static_cast", "<", "Operand", "*", ">", "(", "&", "*", "Operands", "[", "i", "]", ")", ";", "assert", "(", "op", "!=", "nullptr", ")", ";"], "ground_truth": ["LLVM_DEBUG", "(", "dbgs", "(", ")", "<<", "*", "op", ")", ";"], "File": "Cpu0AsmParser", "Func": "printCpu0Operands", "Target": "Cpu0", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 189154, "Length": 35, "Cover_Rate": 0.4794520547945205} {"Template_token": ["", "Parser", ".", "eatToEndOfStatement", "(", ")", ";", "return", "Error", "(", "Loc", ",", "ErrorMsg", ")", ";"], "ground_truth": ["}"], "File": "Cpu0AsmParser", "Func": "reportParseError", "Target": "Cpu0", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 189155, "Length": 15, "Cover_Rate": 0.42857142857142855} {"Template_token": ["", "SMLoc", "Loc", "=", "getLexer", "(", ")", ".", "getLoc", "(", ")", ";"], "ground_truth": ["Parser", ".", "eatToEndOfStatement", "(", ")", ";"], "File": "Cpu0AsmParser", "Func": "reportParseError", "Target": "Cpu0", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 189156, "Length": 17, "Cover_Rate": 0.4857142857142857} {"Template_token": ["", "macro", "=", "true", ";"], "ground_truth": ["}"], "File": "Cpu0AsmParser", "Func": "setMacro", "Target": "Cpu0", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 189157, "Length": 5, "Cover_Rate": 0.5} {"Template_token": ["", "void", "setMacro", "(", ")", "{"], "ground_truth": ["macro", "=", "true", ";"], "File": "Cpu0AsmParser", "Func": "setMacro", "Target": "Cpu0", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 189158, "Length": 9, "Cover_Rate": 0.9} {"Template_token": ["", "void", "setNomacro", "(", ")", "{", "macro", "=", "false", ";"], "ground_truth": ["}"], "File": "Cpu0AsmParser", "Func": "setNomacro", "Target": "Cpu0", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 189159, "Length": 10, "Cover_Rate": 1.0} {"Template_token": ["", "void", "setNomacro", "(", ")", "{"], "ground_truth": ["macro", "=", "false", ";"], "File": "Cpu0AsmParser", "Func": "setNomacro", "Target": "Cpu0", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 189160, "Length": 9, "Cover_Rate": 0.9} {"Template_token": ["", "void", "setNoreorder", "(", ")", "{", "reorder", "=", "false", ";"], "ground_truth": ["}"], "File": "Cpu0AsmParser", "Func": "setNoreorder", "Target": "Cpu0", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 189162, "Length": 10, "Cover_Rate": 1.0} {"Template_token": ["", "void", "setReorder", "(", ")", "{", "reorder", "=", "true", ";"], "ground_truth": ["}"], "File": "Cpu0AsmParser", "Func": "setReorder", "Target": "Cpu0", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 189163, "Length": 10, "Cover_Rate": 1.0} {"Template_token": ["", "reorder", "=", "true", ";"], "ground_truth": ["}"], "File": "Cpu0AsmParser", "Func": "setReorder", "Target": "Cpu0", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 189164, "Length": 5, "Cover_Rate": 0.5} {"Template_token": ["", "}", "else", "if", "(", "Tok", ".", "is", "(", "AsmToken", "::", "Integer", ")", ")", "{", "RegNum", "=", "matchRegisterByNumber", "(", "static_cast", "<", "unsigned", ">", "(", "Tok", ".", "getIntVal", "(", ")", ")", ",", "Mnemonic", ".", "lower", "(", ")", ")", ";", "}", "else", "{", "return", "RegNum", ";"], "ground_truth": ["}"], "File": "Cpu0AsmParser", "Func": "tryParseRegister", "Target": "Cpu0", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 189165, "Length": 44, "Cover_Rate": 0.4074074074074074} {"Template_token": ["", "RegNum", "=", "matchRegisterName", "(", "lowerCase", ")", ";", "}", "else", "if", "(", "Tok", ".", "is", "(", "AsmToken", "::", "Integer", ")", ")", "{"], "ground_truth": ["RegNum", "=", "matchRegisterByNumber", "(", "static_cast", "<", "unsigned", ">", "(", "Tok", ".", "getIntVal", "(", ")", ")", ",", "Mnemonic", ".", "lower", "(", ")", ")", ";"], "File": "Cpu0AsmParser", "Func": "tryParseRegister", "Target": "Cpu0", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 189166, "Length": 44, "Cover_Rate": 0.4074074074074074} {"Template_token": ["", "SMLoc", "S", "=", "Parser", ".", "getTok", "(", ")", ".", "getLoc", "(", ")", ";", "int", "RegNo", "=", "-", "", ";", "RegNo", "=", "tryParseRegister", "(", "Mnemonic", ")", ";", "if", "(", "RegNo", "==", "-", "", ")", "return", "true", ";", "Operands", ".", "push_back", "(", "", "(", "RegNo", ",", "S", ",", "Parser", ".", "getTok", "(", ")", ".", "getLoc", "(", ")", ")", ")", ";", "Parser", ".", "Lex", "(", ")", ";"], "ground_truth": ["return", "false", ";"], "File": "Cpu0AsmParser", "Func": "tryParseRegisterOperand", "Target": "Cpu0", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 189167, "Length": 67, "Cover_Rate": 0.8072289156626506} {"Template_token": ["", "if", "(", "RegNo", "==", "-", "", ")", "return", "true", ";", "Operands", ".", "push_back", "(", "", "(", "RegNo", ",", "S", ",", "Parser", ".", "getTok", "(", ")", ".", "getLoc", "(", ")", ")", ")", ";", "Parser", ".", "Lex", "(", ")", ";", "return", "false", ";"], "ground_truth": ["}"], "File": "Cpu0AsmParser", "Func": "tryParseRegisterOperand", "Target": "Cpu0", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 189168, "Length": 42, "Cover_Rate": 0.5060240963855421} {"Template_token": ["", "GlobalHeap", ".", "push_back", "(", "", ")", ";"], "ground_truth": ["Subtarget", "=", "&", "TM", ".", "getSubtarget", "<", "Subtarget", ">", "(", ")", ";"], "File": "Cpu0AsmPrinter1", "Func": "Cpu0AsmPrinter", "Target": "Cpu0", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 189169, "Length": 19, "Cover_Rate": 0.3114754098360656} {"Template_token": ["", "explicit", "AsmPrinter", "(", "TargetMachine", "&", "TM", ",", "MCStreamer", "&", "Streamer", ")", ":", "AsmPrinter", "(", "TM", ",", "Streamer", ")", ",", "OS", "(", "dyn_cast", "<", "AsmStreamer", ">", "(", "&", "Streamer", ")", "->", "getOStream", "(", ")", ")", ",", "MCInstLowering", "(", "*", "this", ")", "{", "GlobalHeap", ".", "push_back", "(", "", ")", ";"], "ground_truth": ["Subtarget", "=", "&", "TM", ".", "getSubtarget", "<", "Subtarget", ">", "(", ")", ";"], "File": "Cpu0AsmPrinter1", "Func": "Cpu0AsmPrinter", "Target": "Cpu0", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 189170, "Length": 60, "Cover_Rate": 0.9836065573770492} {"Template_token": ["", "void", "AsmPrinter", "::", "EmitEndOfAsmFile", "(", "Module", "&", "M", ")", "{", "OS", "<<", "", "", "", ";", "OS", "<<", "", "", "", "", "", "", ";", "OS", "<<", "", ";"], "ground_truth": ["for", "(", "std", "::", "vector", "<", "char", ">", "::", "iterator", "I", "=", "GlobalHeap", ".", "begin", "(", ")", ";"], "File": "Cpu0AsmPrinter1", "Func": "EmitEndOfAsmFile", "Target": "Cpu0", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 189171, "Length": 47, "Cover_Rate": 0.5053763440860215} {"Template_token": ["", "const", "TargetRegisterInfo", "&", "RI", "=", "*", "TM", ".", "getRegisterInfo", "(", ")", ";", "unsigned", "stackReg", "=", "RI", ".", "getFrameRegister", "(", "*", "MF", ")", ";", "unsigned", "returnReg", "=", "RI", ".", "getRARegister", "(", ")", ";", "unsigned", "stackSize", "=", "MF", "->", "getFrameInfo", "(", ")", "->", "getStackSize", "(", ")", ";"], "ground_truth": ["if", "(", "OutStreamer", ".", "hasRawTextSupport", "(", ")", ")", "OutStreamer", ".", "EmitRawText", "(", "", "+", "StringRef", "(", "InstPrinter", "::", "getRegisterName", "(", "stackReg", ")", ")", ".", "lower", "(", ")", "+", "", "+", "Twine", "(", "stackSize", ")", "+", "", "+", "StringRef", "(", "InstPrinter", "::", "getRegisterName", "(", "returnReg", ")", ")", ".", "lower", "(", ")", ")", ";"], "File": "Cpu0AsmPrinter1", "Func": "emitFrameDirective", "Target": "Cpu0", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 189172, "Length": 97, "Cover_Rate": 0.9238095238095239} {"Template_token": ["", "unsigned", "returnReg", "=", "RI", ".", "getRARegister", "(", ")", ";", "unsigned", "stackSize", "=", "MF", "->", "getFrameInfo", "(", ")", "->", "getStackSize", "(", ")", ";", "if", "(", "OutStreamer", ".", "hasRawTextSupport", "(", ")", ")", "OutStreamer", ".", "EmitRawText", "(", "", "+", "StringRef", "(", "InstPrinter", "::", "getRegisterName", "(", "stackReg", ")", ")", ".", "lower", "(", ")", "+", "", "+", "Twine", "(", "stackSize", ")", "+", "", "+", "StringRef", "(", "InstPrinter", "::", "getRegisterName", "(", "returnReg", ")", ")", ".", "lower", "(", ")", ")", ";"], "ground_truth": ["}"], "File": "Cpu0AsmPrinter1", "Func": "emitFrameDirective", "Target": "Cpu0", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 189173, "Length": 75, "Cover_Rate": 0.7142857142857143} {"Template_token": ["", "OutStreamer", ".", "EmitRawText", "(", "StringRef", "(", "", ")", ")", ";", "OutStreamer", ".", "EmitRawText", "(", "", "+", "Twine", "(", "CurrentFnSym", "->", "getName", "(", ")", ")", ")", ";", "}"], "ground_truth": ["OS", "<<", "", ";"], "File": "Cpu0AsmPrinter1", "Func": "EmitFunctionBodyEnd", "Target": "Cpu0", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 189174, "Length": 31, "Cover_Rate": 0.40789473684210525} {"Template_token": ["", "void", "AsmPrinter", "::", "EmitFunctionBodyStart", "(", ")", "{", "MCInstLowering", ".", "Initialize", "(", "Mang", ",", "&", "MF", "->", "getContext", "(", ")", ")", ";", "const", "TargetRegisterInfo", "&", "RI", "=", "*", "TM", ".", "getRegisterInfo", "(", ")", ";", "SparseSet", "<", "unsigned", ">", "SeenDefs", ";", "SeenDefs", ".", "setUniverse", "(", "RI", ".", "getNumRegs", "(", ")", ")", ";", "for", "(", "MachineFunction", "::", "const_iterator", "I", "=", "MF", "->", "begin", "(", ")", ",", "E", "=", "MF", "->", "end", "(", ")", ";", "I", "!=", "E", ";", "++", "I", ")", "{", "for", "(", "MachineBasicBlock", "::", "const_iterator", "II", "=", "I", "->", "begin", "(", ")", ",", "IE", "=", "I", "->", "end", "(", ")", ";", "II", "!=", "IE", ";", "++", "II", ")", "{", "for", "(", "unsigned", "i", "=", "", ",", "e", "=", "II", "->", "getNumOperands", "(", ")", ";", "i", "!=", "e", ";", "++", "i", ")", "{", "const", "MachineOperand", "&", "MO", "=", "II", "->", "getOperand", "(", "i", ")", ";", "if", "(", "MO", ".", "isReg", "(", ")", "&&", "MO", ".", "isDef", "(", ")", "&&", "TargetRegisterInfo", "::", "isPhysicalRegister", "(", "MO", ".", "getReg", "(", ")", ")", "&&", "SeenDefs", ".", "insert", "(", "MO", ".", "getReg", "(", ")", ")", ".", "second", ")", "{", "OS", "<<", "", "<<", "InstPrinter", "::", "getRegisterName", "(", "MO", ".", "getReg", "(", ")", ")", "<<", "", ";", "}", "}"], "ground_truth": ["}"], "File": "Cpu0AsmPrinter1", "Func": "EmitFunctionBodyStart", "Target": "Cpu0", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 189175, "Length": 202, "Cover_Rate": 0.520618556701031} {"Template_token": ["", "void", "AsmPrinter", "::", "EmitFunctionEntryLabel", "(", ")", "{", "std", "::", "string", "ArgString", ";", "const", "Function", "::", "ArgumentListType", "&", "ArgList", "=", "MF", "->", "getFunction", "(", ")", "->", "getArgumentList", "(", ")", ";", "bool", "First", "=", "true", ";", "for", "(", "Function", "::", "ArgumentListType", "::", "const_iterator", "iter", "=", "ArgList", ".", "begin", "(", ")", ";"], "ground_truth": ["iter", "!=", "ArgList", ".", "end", "(", ")", ";", "iter", "++", ")", "{"], "File": "Cpu0AsmPrinter1", "Func": "EmitFunctionEntryLabel", "Target": "Cpu0", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 189176, "Length": 61, "Cover_Rate": 0.6039603960396039} {"Template_token": ["", "for", "(", "const", "char", "*", "C", "=", "S", ".", "begin", "(", ")", ";", "C", "!=", "S", ".", "end", "(", ")", ";", "++", "C", ")", "{"], "ground_truth": ["GlobalHeap", ".", "push_back", "(", "*", "C", ")", ";"], "File": "Cpu0AsmPrinter1", "Func": "EmitGlobalVariable", "Target": "Cpu0", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 189177, "Length": 33, "Cover_Rate": 0.33} {"Template_token": ["", "void", "AsmPrinter", "::", "EmitGlobalVariable", "(", "const", "GlobalVariable", "*", "GV", ")", "{", "const", "Constant", "*", "CV", "=", "GV", "->", "getInitializer", "(", ")", ";", "if", "(", "const", "ConstantDataSequential", "*", "CDS", "=", "dyn_cast", "<", "ConstantDataSequential", ">", "(", "CV", ")", ")", "{", "if", "(", "CDS", "->", "isString", "(", ")", ")", "{", "StringRef", "S", "=", "CDS", "->", "getAsString", "(", ")", ";", "for", "(", "const", "char", "*", "C", "=", "S", ".", "begin", "(", ")", ";", "C", "!=", "S", ".", "end", "(", ")", ";", "++", "C", ")", "{", "GlobalHeap", ".", "push_back", "(", "*", "C", ")", ";", "}", "return", ";", "}", "}", "assert", "(", "false", ")", ";"], "ground_truth": ["}"], "File": "Cpu0AsmPrinter1", "Func": "EmitGlobalVariable", "Target": "Cpu0", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 189178, "Length": 100, "Cover_Rate": 1.0} {"Template_token": ["", "case", "", ":", "{", "const", "MachineOperand", "&", "MO", "=", "MI", "->", "getOperand", "(", "", ")", ";", "assert", "(", "MO", ".", "isImm", "(", ")", "&&", "", ")", ";", "int64_t", "Offset", "=", "MO", ".", "getImm", "(", ")", ";", "if", "(", "OutStreamer", ".", "hasRawTextSupport", "(", ")", ")", "{", "if", "(", "!", "isInt", "<", "", ">", "(", "Offset", ")", ")", "{", "EmitInstrWithMacroNoAT", "(", "MI", ")", ";", "return", ";", "}"], "ground_truth": ["}", "else", "{"], "File": "Cpu0AsmPrinter1", "Func": "EmitInstruction", "Target": "Cpu0", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 189179, "Length": 68, "Cover_Rate": 0.3222748815165877} {"Template_token": ["", "OutStreamer", ".", "EmitInstruction", "(", "TmpInst", ")", ";", "if", "(", "FI", "->", "getEmitNOAT", "(", ")", ")", "OutStreamer", ".", "EmitRawText", "(", "StringRef", "(", "", ")", ")", ";"], "ground_truth": ["OutStreamer", ".", "EmitRawText", "(", "StringRef", "(", "", ")", ")", ";"], "File": "Cpu0AsmPrinter1", "Func": "EmitInstrWithMacroNoAT", "Target": "Cpu0", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 189180, "Length": 35, "Cover_Rate": 0.40229885057471265} {"Template_token": ["", "OutStreamer", ".", "EmitRawText", "(", "StringRef", "(", "", ")", ")", ";", "if", "(", "FI", "->", "getEmitNOAT", "(", ")", ")", "OutStreamer", ".", "EmitRawText", "(", "StringRef", "(", "", ")", ")", ";", "OutStreamer", ".", "EmitInstruction", "(", "TmpInst", ")", ";", "if", "(", "FI", "->", "getEmitNOAT", "(", ")", ")", "OutStreamer", ".", "EmitRawText", "(", "StringRef", "(", "", ")", ")", ";", "OutStreamer", ".", "EmitRawText", "(", "StringRef", "(", "", ")", ")", ";"], "ground_truth": ["}"], "File": "Cpu0AsmPrinter1", "Func": "EmitInstrWithMacroNoAT", "Target": "Cpu0", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 189181, "Length": 64, "Cover_Rate": 0.735632183908046} {"Template_token": ["", "void", "AsmPrinter", "::", "EmitStartOfAsmFile", "(", "Module", "&", "M", ")", "{", "OS", "<<", "", "", "", "", "", "", ";", "OS", "<<", "", "", "", "", "", "", "", "", "", "", "", ";"], "ground_truth": ["}"], "File": "Cpu0AsmPrinter1", "Func": "EmitStartOfAsmFile", "Target": "Cpu0", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 189182, "Length": 34, "Cover_Rate": 1.0} {"Template_token": ["", "void", "AsmPrinter", "::", "EmitStartOfAsmFile", "(", "Module", "&", "M", ")", "{"], "ground_truth": ["OS", "<<", "", "", "", "", "", "", ";"], "File": "Cpu0AsmPrinter1", "Func": "EmitStartOfAsmFile", "Target": "Cpu0", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 189183, "Length": 19, "Cover_Rate": 0.5588235294117647} {"Template_token": ["", "switch", "(", "Subtarget", "->", "getTargetABI", "(", ")", ")", "{"], "ground_truth": ["case", "Subtarget", "::", "O32", ":", "return", "", ";"], "File": "Cpu0AsmPrinter1", "Func": "getCurrentABIString", "Target": "Cpu0", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 189184, "Length": 17, "Cover_Rate": 0.4594594594594595} {"Template_token": ["", "case", "Subtarget", "::", "O32", ":", "return", "", ";"], "ground_truth": ["default", ":", "llvm_unreachable", "(", "", ")", ";", ";"], "File": "Cpu0AsmPrinter1", "Func": "getCurrentABIString", "Target": "Cpu0", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 189185, "Length": 16, "Cover_Rate": 0.43243243243243246} {"Template_token": ["", "assert", "(", "MI", "->", "getNumOperands", "(", ")", "==", "", "&&", "", ")", ";"], "ground_truth": ["assert", "(", "MI", "->", "getOperand", "(", "", ")", ".", "isReg", "(", ")", "&&", "MI", "->", "getOperand", "(", "", ")", ".", "isImm", "(", ")", "&&", "", ")", ";"], "File": "Cpu0AsmPrinter1", "Func": "getDebugValueLocation", "Target": "Cpu0", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 189186, "Length": 40, "Cover_Rate": 0.5063291139240507} {"Template_token": ["", "assert", "(", "MI", "->", "getNumOperands", "(", ")", "==", "", "&&", "", ")", ";", "assert", "(", "MI", "->", "getOperand", "(", "", ")", ".", "isReg", "(", ")", "&&", "MI", "->", "getOperand", "(", "", ")", ".", "isImm", "(", ")", "&&", "", ")", ";", "return", "MachineLocation", "(", "MI", "->", "getOperand", "(", "", ")", ".", "getReg", "(", ")", ",", "MI", "->", "getOperand", "(", "", ")", ".", "getImm", "(", ")", ")", ";"], "ground_truth": ["}"], "File": "Cpu0AsmPrinter1", "Func": "getDebugValueLocation", "Target": "Cpu0", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 189187, "Length": 67, "Cover_Rate": 0.8481012658227848} {"Template_token": ["", "virtual", "const", "char", "*", "getPassName", "(", ")", "const", "{", "return", "", ";"], "ground_truth": ["}"], "File": "Cpu0AsmPrinter1", "Func": "getPassName", "Target": "Cpu0", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 189188, "Length": 13, "Cover_Rate": 1.0} {"Template_token": ["", "RegisterAsmPrinter", "<", "AsmPrinter", ">", "X", "(", "TheTarget", ")", ";"], "ground_truth": ["RegisterAsmPrinter", "<", "AsmPrinter", ">", "Y", "(", "TheelTarget", ")", ";"], "File": "Cpu0AsmPrinter1", "Func": "LLVMInitializeCpu0AsmPrinter", "Target": "Cpu0", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 189189, "Length": 18, "Cover_Rate": 0.75} {"Template_token": ["", "RegisterAsmPrinter", "<", "AsmPrinter", ">", "Y", "(", "TheelTarget", ")", ";"], "ground_truth": ["}"], "File": "Cpu0AsmPrinter1", "Func": "LLVMInitializeCpu0AsmPrinter", "Target": "Cpu0", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 189190, "Length": 10, "Cover_Rate": 0.4166666666666667} {"Template_token": ["", "const", "MachineFrameInfo", "*", "MFI", "=", "MF", "->", "getFrameInfo", "(", ")", ";", "const", "std", "::", "vector", "<", "CalleeSavedInfo", ">", "&", "CSI", "=", "MFI", "->", "getCalleeSavedInfo", "(", ")", ";", "unsigned", "CPURegSize", "=", "", ".", "getSize", "(", ")", ";", "unsigned", "i", "=", "", ",", "e", "=", "CSI", ".", "size", "(", ")", ";", "for", "(", ";", "i", "!=", "e", ";", "++", "i", ")", "{"], "ground_truth": ["unsigned", "Reg", "=", "CSI", "[", "i", "]", ".", "getReg", "(", ")", ";"], "File": "Cpu0AsmPrinter1", "Func": "printSavedRegsBitmask", "Target": "Cpu0", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 189191, "Length": 72, "Cover_Rate": 0.5217391304347826} {"Template_token": ["", "unsigned", "CPURegSize", "=", "", ".", "getSize", "(", ")", ";", "unsigned", "i", "=", "", ",", "e", "=", "CSI", ".", "size", "(", ")", ";", "for", "(", ";", "i", "!=", "e", ";", "++", "i", ")", "{"], "ground_truth": ["unsigned", "Reg", "=", "CSI", "[", "i", "]", ".", "getReg", "(", ")", ";"], "File": "Cpu0AsmPrinter1", "Func": "printSavedRegsBitmask", "Target": "Cpu0", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 189192, "Length": 45, "Cover_Rate": 0.32608695652173914} {"Template_token": ["", "bool", "AsmPrinter", "::", "runOnMachineFunction", "(", "MachineFunction", "&", "MF", ")", "{"], "ground_truth": ["FI", "=", "MF", ".", "getInfo", "<", "FunctionInfo", ">", "(", ")", ";"], "File": "Cpu0AsmPrinter1", "Func": "runOnMachineFunction", "Target": "Cpu0", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 189193, "Length": 21, "Cover_Rate": 0.65625} {"Template_token": ["", "AsmPrinter", "::", "runOnMachineFunction", "(", "MF", ")", ";"], "ground_truth": ["return", "true", ";"], "File": "Cpu0AsmPrinter1", "Func": "runOnMachineFunction", "Target": "Cpu0", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 189194, "Length": 10, "Cover_Rate": 0.3125} {"Template_token": ["", "explicit", "AsmPrinter", "(", "TargetMachine", "&", "TM", ",", "MCStreamer", "&", "Streamer", ")", ":", "AsmPrinter", "(", "TM", ",", "Streamer", ")", ",", "MCInstLowering", "(", "*", "this", ")", "{"], "ground_truth": ["Subtarget", "=", "&", "TM", ".", "getSubtarget", "<", "Subtarget", ">", "(", ")", ";"], "File": "Cpu0AsmPrinter2", "Func": "Cpu0AsmPrinter", "Target": "Cpu0", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 189196, "Length": 37, "Cover_Rate": 0.9736842105263158} {"Template_token": ["", "if", "(", "OutStreamer", ".", "hasRawTextSupport", "(", ")", ")", "{", "OutStreamer", ".", "EmitRawText", "(", "StringRef", "(", "", ")", ")", ";", "OutStreamer", ".", "EmitRawText", "(", "StringRef", "(", "", ")", ")", ";"], "ground_truth": ["OutStreamer", ".", "EmitRawText", "(", "", "+", "Twine", "(", "CurrentFnSym", "->", "getName", "(", ")", ")", ")", ";"], "File": "Cpu0AsmPrinter2", "Func": "EmitFunctionBodyEnd", "Target": "Cpu0", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 189197, "Length": 45, "Cover_Rate": 0.8333333333333334} {"Template_token": ["", "void", "AsmPrinter", "::", "EmitFunctionBodyEnd", "(", ")", "{", "if", "(", "OutStreamer", ".", "hasRawTextSupport", "(", ")", ")", "{", "OutStreamer", ".", "EmitRawText", "(", "StringRef", "(", "", ")", ")", ";", "OutStreamer", ".", "EmitRawText", "(", "StringRef", "(", "", ")", ")", ";", "OutStreamer", ".", "EmitRawText", "(", "", "+", "Twine", "(", "CurrentFnSym", "->", "getName", "(", ")", ")", ")", ";"], "ground_truth": ["}"], "File": "Cpu0AsmPrinter2", "Func": "EmitFunctionBodyEnd", "Target": "Cpu0", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 189198, "Length": 53, "Cover_Rate": 0.9814814814814815} {"Template_token": ["", "OutStreamer", ".", "EmitRawText", "(", "OS", ".", "str", "(", ")", ")", ";", "OutStreamer", ".", "EmitRawText", "(", "StringRef", "(", "", ")", ")", ";", "if", "(", "EmitCPLoad", ")", "OutStreamer", ".", "EmitRawText", "(", "StringRef", "(", "", ")", ")", ";", "OutStreamer", ".", "EmitRawText", "(", "StringRef", "(", "", ")", ")", ";"], "ground_truth": ["}"], "File": "Cpu0AsmPrinter2", "Func": "EmitFunctionBodyStart", "Target": "Cpu0", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 189199, "Length": 46, "Cover_Rate": 0.35658914728682173} {"Template_token": ["", "if", "(", "OutStreamer", ".", "hasRawTextSupport", "(", ")", ")", "OutStreamer", ".", "EmitRawText", "(", "", "+", "Twine", "(", "CurrentFnSym", "->", "getName", "(", ")", ")", ")", ";"], "ground_truth": ["OutStreamer", ".", "EmitLabel", "(", "CurrentFnSym", ")", ";"], "File": "Cpu0AsmPrinter2", "Func": "EmitFunctionEntryLabel", "Target": "Cpu0", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 189200, "Length": 31, "Cover_Rate": 0.7948717948717948} {"Template_token": ["", "void", "AsmPrinter", "::", "EmitFunctionEntryLabel", "(", ")", "{"], "ground_truth": ["if", "(", "OutStreamer", ".", "hasRawTextSupport", "(", ")", ")", "OutStreamer", ".", "EmitRawText", "(", "", "+", "Twine", "(", "CurrentFnSym", "->", "getName", "(", ")", ")", ")", ";"], "File": "Cpu0AsmPrinter2", "Func": "EmitFunctionEntryLabel", "Target": "Cpu0", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 189201, "Length": 31, "Cover_Rate": 0.7948717948717948} {"Template_token": ["", "raw_svector_ostream", "OS", "(", "Str", ")", ";", "PrintDebugValueComment", "(", "MI", ",", "OS", ")", ";", "return", ";", "}", "MCInst", "TmpInst0", ";"], "ground_truth": ["MCInstLowering", ".", "Lower", "(", "MI", ",", "TmpInst0", ")", ";"], "File": "Cpu0AsmPrinter2", "Func": "EmitInstruction", "Target": "Cpu0", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 189202, "Length": 28, "Cover_Rate": 0.45161290322580644} {"Template_token": ["", "OutStreamer", "->", "EmitRawText", "(", "StringRef", "(", "", ")", ")", ";"], "ground_truth": ["OutStreamer", "->", "EmitRawText", "(", "", "+", "Twine", "(", "CurrentFnSym", "->", "getName", "(", ")", ")", ")", ";"], "File": "Cpu0AsmPrinter3", "Func": "EmitFunctionBodyEnd", "Target": "Cpu0", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 189205, "Length": 26, "Cover_Rate": 0.3611111111111111} {"Template_token": ["", "if", "(", "OutStreamer", "->", "hasRawTextSupport", "(", ")", ")", "{", "if", "(", "MFI", "->", "getEmitNOAT", "(", ")", ")", "OutStreamer", "->", "EmitRawText", "(", "StringRef", "(", "", ")", ")", ";", "OutStreamer", "->", "EmitRawText", "(", "StringRef", "(", "", ")", ")", ";", "OutStreamer", "->", "EmitRawText", "(", "StringRef", "(", "", ")", ")", ";"], "ground_truth": ["OutStreamer", "->", "EmitRawText", "(", "", "+", "Twine", "(", "CurrentFnSym", "->", "getName", "(", ")", ")", ")", ";"], "File": "Cpu0AsmPrinter3", "Func": "EmitFunctionBodyEnd", "Target": "Cpu0", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 189206, "Length": 63, "Cover_Rate": 0.875} {"Template_token": ["", "void", "AsmPrinter", "::", "EmitFunctionBodyStart", "(", ")", "{", "MCInstLowering", ".", "Initialize", "(", "&", "MF", "->", "getContext", "(", ")", ")", ";", "emitFrameDirective", "(", ")", ";", "bool", "EmitCPLoad", "=", "(", "MF", "->", "getTarget", "(", ")", ".", "getRelocationModel", "(", ")", "==", "Reloc", "::", "PIC_", ")", "&&", "MFI", "->", "globalBaseRegSet", "(", ")", "&&", "MFI", "->", "globalBaseRegFixed", "(", ")", ";", "if", "(", "NoCpload", ")", "EmitCPLoad", "=", "false", ";", "if", "(", "OutStreamer", "->", "hasRawTextSupport", "(", ")", ")", "{"], "ground_truth": ["SmallString", "<", "", ">", "Str", ";"], "File": "Cpu0AsmPrinter3", "Func": "EmitFunctionBodyStart", "Target": "Cpu0", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 189207, "Length": 77, "Cover_Rate": 0.35648148148148145} {"Template_token": ["", "MCInstLowering", ".", "Initialize", "(", "&", "MF", "->", "getContext", "(", ")", ")", ";", "emitFrameDirective", "(", ")", ";", "bool", "EmitCPLoad", "=", "(", "MF", "->", "getTarget", "(", ")", ".", "getRelocationModel", "(", ")", "==", "Reloc", "::", "PIC_", ")", "&&", "MFI", "->", "globalBaseRegSet", "(", ")", "&&", "MFI", "->", "globalBaseRegFixed", "(", ")", ";", "if", "(", "NoCpload", ")", "EmitCPLoad", "=", "false", ";", "if", "(", "OutStreamer", "->", "hasRawTextSupport", "(", ")", ")", "{", "SmallString", "<", "", ">", "Str", ";", "raw_svector_ostream", "OS", "(", "Str", ")", ";", "printSavedRegsBitmask", "(", "OS", ")", ";", "OutStreamer", "->", "EmitRawText", "(", "OS", ".", "str", "(", ")", ")", ";", "OutStreamer", "->", "EmitRawText", "(", "StringRef", "(", "", ")", ")", ";", "if", "(", "EmitCPLoad", ")", "OutStreamer", "->", "EmitRawText", "(", "StringRef", "(", "", ")", ")", ";", "OutStreamer", "->", "EmitRawText", "(", "StringRef", "(", "", ")", ")", ";", "if", "(", "MFI", "->", "getEmitNOAT", "(", ")", ")", "OutStreamer", "->", "EmitRawText", "(", "StringRef", "(", "", ")", ")", ";", "}", "else", "if", "(", "EmitCPLoad", ")", "{", "SmallVector", "<", "MCInst", ",", "", ">", "MCInsts", ";", "MCInstLowering", ".", "LowerCPLOAD", "(", "MCInsts", ")", ";", "for", "(", "SmallVector", "<", "MCInst", ",", "", ">", "::", "iterator", "I", "=", "MCInsts", ".", "begin", "(", ")", ";", "I", "!=", "MCInsts", ".", "end", "(", ")", ";", "++", "I", ")", "OutStreamer", "->", "EmitInstruction", "(", "*", "I", ",", "getSubtargetInfo", "(", ")", ")", ";", "}"], "ground_truth": ["}"], "File": "Cpu0AsmPrinter3", "Func": "EmitFunctionBodyStart", "Target": "Cpu0", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 189208, "Length": 209, "Cover_Rate": 0.9675925925925926} {"Template_token": ["", "MCInst", "TmpInst0", ";", "MCInstLowering", ".", "Lower", "(", "&", "*", "I", ",", "TmpInst0", ")", ";", "OutStreamer", "->", "EmitInstruction", "(", "TmpInst0", ",", "getSubtargetInfo", "(", ")", ")", ";", "}", "while", "(", "(", "++", "I", "!=", "E", ")", "&&", "I", "->", "isInsideBundle", "(", ")", ")", ";"], "ground_truth": ["}"], "File": "Cpu0AsmPrinter3", "Func": "EmitInstruction", "Target": "Cpu0", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 189209, "Length": 43, "Cover_Rate": 0.30714285714285716} {"Template_token": ["", "return", ";", "}", "MachineBasicBlock", "::", "const_instr_iterator", "I", "=", "MI", "->", "getIterator", "(", ")", ";", "MachineBasicBlock", "::", "const_instr_iterator", "E", "=", "MI", "->", "getParent", "(", ")", "->", "instr_end", "(", ")", ";", "do", "{", "if", "(", "emitPseudoExpansionLowering", "(", "*", "OutStreamer", ",", "&", "*", "I", ")", ")", "continue", ";"], "ground_truth": ["if", "(", "I", "->", "isPseudo", "(", ")", ")", "llvm_unreachable", "(", "", ")", ";"], "File": "Cpu0AsmPrinter3", "Func": "EmitInstruction", "Target": "Cpu0", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 189210, "Length": 58, "Cover_Rate": 0.4142857142857143} {"Template_token": ["", "virtual", "StringRef", "getPassName", "(", ")", "const", "override", "{", "return", "", ";"], "ground_truth": ["}"], "File": "Cpu0AsmPrinter3", "Func": "getPassName", "Target": "Cpu0", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 189211, "Length": 12, "Cover_Rate": 1.0} {"Template_token": ["", "virtual", "StringRef", "getPassName", "(", ")", "const", "override", "{"], "ground_truth": ["return", "", ";"], "File": "Cpu0AsmPrinter3", "Func": "getPassName", "Target": "Cpu0", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 189212, "Length": 11, "Cover_Rate": 0.9166666666666666} {"Template_token": ["", "return", "true", ";", "}", "const", "MachineOperand", "&", "MO", "=", "MI", "->", "getOperand", "(", "OpNum", ")", ";", "assert", "(", "MO", ".", "isReg", "(", ")", "&&", "", ")", ";"], "ground_truth": ["O", "<<", "Offset", "<<", "", "<<", "InstPrinter", "::", "getRegisterName", "(", "MO", ".", "getReg", "(", ")", ")", "<<", "", ";"], "File": "Cpu0AsmPrinter3", "Func": "PrintAsmMemoryOperand", "Target": "Cpu0", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 189213, "Length": 46, "Cover_Rate": 0.5348837209302325} {"Template_token": ["", "const", "MachineOperand", "&", "MO", "=", "MI", "->", "getOperand", "(", "OpNum", ")", ";", "assert", "(", "MO", ".", "isReg", "(", ")", "&&", "", ")", ";", "O", "<<", "Offset", "<<", "", "<<", "InstPrinter", "::", "getRegisterName", "(", "MO", ".", "getReg", "(", ")", ")", "<<", "", ";", "return", "false", ";"], "ground_truth": ["}"], "File": "Cpu0AsmPrinter3", "Func": "PrintAsmMemoryOperand", "Target": "Cpu0", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 189214, "Length": 46, "Cover_Rate": 0.5348837209302325} {"Template_token": ["", "if", "(", "ExtraCode", "[", "", "]", "!=", "", ")", "return", "true", ";", "const", "MachineOperand", "&", "MO", "=", "MI", "->", "getOperand", "(", "OpNum", ")", ";", "switch", "(", "ExtraCode", "[", "", "]", ")", "{", "default", ":", "return", "AsmPrinter", "::", "PrintAsmOperand", "(", "MI", ",", "OpNum", ",", "AsmVariant", ",", "ExtraCode", ",", "O", ")", ";", "case", "'X'", ":", "if", "(", "(", "MO", ".", "getType", "(", ")", ")", "!=", "MachineOperand", "::", "MO_Immediate", ")", "return", "true", ";", "O", "<<", "", "<<", "StringRef", "(", "utohexstr", "(", "MO", ".", "getImm", "(", ")", ")", ")", ".", "lower", "(", ")", ";", "return", "false", ";", "case", "'x'", ":", "if", "(", "(", "MO", ".", "getType", "(", ")", ")", "!=", "MachineOperand", "::", "MO_Immediate", ")", "return", "true", ";", "O", "<<", "", "<<", "StringRef", "(", "utohexstr", "(", "MO", ".", "getImm", "(", ")", "&", "", ")", ")", ".", "lower", "(", ")", ";", "return", "false", ";", "case", "'d'", ":", "if", "(", "(", "MO", ".", "getType", "(", ")", ")", "!=", "MachineOperand", "::", "MO_Immediate", ")", "return", "true", ";", "O", "<<", "MO", ".", "getImm", "(", ")", ";", "return", "false", ";", "case", "'m'", ":", "if", "(", "(", "MO", ".", "getType", "(", ")", ")", "!=", "MachineOperand", "::", "MO_Immediate", ")", "return", "true", ";", "O", "<<", "MO", ".", "getImm", "(", ")", "-", "", ";", "return", "false", ";", "case", "'z'", ":", "{", "if", "(", "MO", ".", "getType", "(", ")", "!=", "MachineOperand", "::", "MO_Immediate", ")", "return", "true", ";", "int64_t", "Val", "=", "MO", ".", "getImm", "(", ")", ";"], "ground_truth": ["if", "(", "Val", ")", "O", "<<", "Val", ";"], "File": "Cpu0AsmPrinter3", "Func": "PrintAsmOperand", "Target": "Cpu0", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 189215, "Length": 238, "Cover_Rate": 0.7986577181208053} {"Template_token": ["", "void", "AsmPrinter", "::", "PrinterDebugValueComment", "(", "const", "MachineInstr", "*", "MI", ",", "raw_ostream", "&", "OS", ")", "{", "OS", "<<", "", ";"], "ground_truth": ["}"], "File": "Cpu0AsmPrinter3", "Func": "PrinterDebugValueComment", "Target": "Cpu0", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 189216, "Length": 20, "Cover_Rate": 1.0} {"Template_token": ["", "void", "AsmPrinter", "::", "PrinterDebugValueComment", "(", "const", "MachineInstr", "*", "MI", ",", "raw_ostream", "&", "OS", ")", "{", "OS", "<<", "", ";"], "ground_truth": ["}"], "File": "Cpu0AsmPrinter3", "Func": "PrinterDebugValueComment", "Target": "Cpu0", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 189217, "Length": 20, "Cover_Rate": 1.0} {"Template_token": ["", "const", "MachineFrameInfo", "&", "MFI", "=", "MF", "->", "getFrameInfo", "(", ")", ";", "const", "TargetRegisterInfo", "*", "TRI", "=", "MF", "->", "getSubtarget", "(", ")", ".", "getRegisterInfo", "(", ")", ";", "const", "std", "::", "vector", "<", "CalleeSavedInfo", ">", "&", "CSI", "=", "MFI", ".", "getCalleeSavedInfo", "(", ")", ";", "unsigned", "CPURegSize", "=", "TRI", "->", "getRegSizeInBits", "(", "", ")", "/", "", ";", "for", "(", "const", "auto", "&", "I", ":", "CSI", ")", "{", "unsigned", "Reg", "=", "I", ".", "getReg", "(", ")", ";"], "ground_truth": ["unsigned", "RegNum", "=", "TRI", "->", "getEncodingValue", "(", "Reg", ")", ";"], "File": "Cpu0AsmPrinter3", "Func": "printSavedRegsBitmask", "Target": "Cpu0", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 189218, "Length": 83, "Cover_Rate": 0.5886524822695035} {"Template_token": ["", "unsigned", "CPUBitmask", "=", "", ";", "int", "CPUTopSavedRegOff", ";", "const", "MachineFrameInfo", "&", "MFI", "=", "MF", "->", "getFrameInfo", "(", ")", ";", "const", "TargetRegisterInfo", "*", "TRI", "=", "MF", "->", "getSubtarget", "(", ")", ".", "getRegisterInfo", "(", ")", ";", "const", "std", "::", "vector", "<", "CalleeSavedInfo", ">", "&", "CSI", "=", "MFI", ".", "getCalleeSavedInfo", "(", ")", ";"], "ground_truth": ["unsigned", "CPURegSize", "=", "TRI", "->", "getRegSizeInBits", "(", "", ")", "/", "", ";"], "File": "Cpu0AsmPrinter3", "Func": "printSavedRegsBitmask", "Target": "Cpu0", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 189219, "Length": 62, "Cover_Rate": 0.4397163120567376} {"Template_token": ["", "Subtarget", "=", "static_cast", "<", "TargetMachine", "&", ">", "(", "TM", ")", ".", "getSubtargetImpl", "(", ")", ";"], "ground_truth": ["}"], "File": "Cpu0AsmPrinter", "Func": "Cpu0AsmPrinter", "Target": "Cpu0", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 189222, "Length": 16, "Cover_Rate": 0.32} {"Template_token": ["", "explicit", "AsmPrinter", "(", "TargetMachine", "&", "TM", ",", "std", "::", "unique_ptr", "<", "MCStreamer", ">", "Streamer", ")", ":", "AsmPrinter", "(", "TM", ",", "std", "::", "move", "(", "Streamer", ")", ")", ",", "MCInstLowering", "(", "*", "this", ")", "{"], "ground_truth": ["Subtarget", "=", "static_cast", "<", "TargetMachine", "&", ">", "(", "TM", ")", ".", "getSubtargetImpl", "(", ")", ";"], "File": "Cpu0AsmPrinter", "Func": "Cpu0AsmPrinter", "Target": "Cpu0", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 189223, "Length": 49, "Cover_Rate": 0.98} {"Template_token": ["", "if", "(", "OutStreamer", "->", "hasRawTextSupport", "(", ")", ")", "OutStreamer", "->", "EmitRawText", "(", "", "+", "StringRef", "(", "InstPrinter", "::", "getRegisterName", "(", "stackReg", ")", ")", ".", "lower", "(", ")", "+", "", "+", "Twine", "(", "stackSize", ")", "+", "", "+", "StringRef", "(", "InstPrinter", "::", "getRegisterName", "(", "returnReg", ")", ")", ".", "lower", "(", ")", ")", ";"], "ground_truth": ["}"], "File": "Cpu0AsmPrinter", "Func": "emitFrameDirective", "Target": "Cpu0", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 189224, "Length": 53, "Cover_Rate": 0.48623853211009177} {"Template_token": ["", "if", "(", "OutStreamer", "->", "hasRawTextSupport", "(", ")", ")", "{", "if", "(", "FI", "->", "getEmitNOAT", "(", ")", ")", "OutStreamer", "->", "EmitRawText", "(", "StringRef", "(", "", ")", ")", ";"], "ground_truth": ["OutStreamer", "->", "EmitRawText", "(", "StringRef", "(", "", ")", ")", ";"], "File": "Cpu0AsmPrinter", "Func": "EmitFunctionBodyEnd", "Target": "Cpu0", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 189225, "Length": 37, "Cover_Rate": 0.5138888888888888} {"Template_token": ["", "if", "(", "FI", "->", "getEmitNOAT", "(", ")", ")", "OutStreamer", "->", "EmitRawText", "(", "StringRef", "(", "", ")", ")", ";", "OutStreamer", "->", "EmitRawText", "(", "StringRef", "(", "", ")", ")", ";", "OutStreamer", "->", "EmitRawText", "(", "StringRef", "(", "", ")", ")", ";", "OutStreamer", "->", "EmitRawText", "(", "", "+", "Twine", "(", "CurrentFnSym", "->", "getName", "(", ")", ")", ")", ";"], "ground_truth": ["}"], "File": "Cpu0AsmPrinter", "Func": "EmitFunctionBodyEnd", "Target": "Cpu0", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 189226, "Length": 55, "Cover_Rate": 0.7638888888888888} {"Template_token": ["", "raw_svector_ostream", "OS", "(", "Str", ")", ";", "printSavedRegsBitmask", "(", "OS", ")", ";", "OutStreamer", "->", "EmitRawText", "(", "OS", ".", "str", "(", ")", ")", ";", "OutStreamer", "->", "EmitRawText", "(", "StringRef", "(", "", ")", ")", ";", "OutStreamer", "->", "EmitRawText", "(", "StringRef", "(", "", ")", ")", ";", "if", "(", "FI", "->", "getEmitNOAT", "(", ")", ")", "OutStreamer", "->", "EmitRawText", "(", "StringRef", "(", "", ")", ")", ";", "}"], "ground_truth": ["}"], "File": "Cpu0AsmPrinter", "Func": "EmitFunctionBodyStart", "Target": "Cpu0", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 189227, "Length": 62, "Cover_Rate": 0.62} {"Template_token": ["", "if", "(", "OutStreamer", "->", "hasRawTextSupport", "(", ")", ")", "OutStreamer", "->", "EmitRawText", "(", "", "+", "Twine", "(", "CurrentFnSym", "->", "getName", "(", ")", ")", ")", ";"], "ground_truth": ["OutStreamer", "->", "EmitLabel", "(", "CurrentFnSym", ")", ";"], "File": "Cpu0AsmPrinter", "Func": "EmitFunctionEntryLabel", "Target": "Cpu0", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 189228, "Length": 31, "Cover_Rate": 0.7948717948717948} {"Template_token": ["", "if", "(", "I", "->", "isPseudo", "(", ")", "&&", "!", "isLongBranchPseudo", "(", "I", "->", "getOpcode", "(", ")", ")", ")", "llvm_unreachable", "(", "", ")", ";", "MCInst", "TmpInst0", ";", "MCInstLowering", ".", "Lower", "(", "&", "*", "I", ",", "TmpInst0", ")", ";", "OutStreamer", "->", "EmitInstruction", "(", "TmpInst0", ",", "getSubtargetInfo", "(", ")", ")", ";"], "ground_truth": ["}", "while", "(", "(", "++", "I", "!=", "E", ")", "&&", "I", "->", "isInsideBundle", "(", ")", ")", ";"], "File": "Cpu0AsmPrinter", "Func": "EmitInstruction", "Target": "Cpu0", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 189230, "Length": 65, "Cover_Rate": 0.3693181818181818} {"Template_token": ["", "if", "(", "FI", "->", "getEmitNOAT", "(", ")", ")", "OutStreamer", "->", "EmitRawText", "(", "StringRef", "(", "", ")", ")", ";", "OutStreamer", "->", "EmitInstruction", "(", "TmpInst", ",", "getSubtargetInfo", "(", ")", ")", ";", "if", "(", "FI", "->", "getEmitNOAT", "(", ")", ")", "OutStreamer", "->", "EmitRawText", "(", "StringRef", "(", "", ")", ")", ";"], "ground_truth": ["OutStreamer", "->", "EmitRawText", "(", "StringRef", "(", "", ")", ")", ";"], "File": "Cpu0AsmPrinter", "Func": "EmitInstrWithMacroNoAT", "Target": "Cpu0", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 189231, "Length": 57, "Cover_Rate": 0.6263736263736264} {"Template_token": ["", "void", "AsmPrinter", "::", "emitPseudoCPRestore", "(", "MCStreamer", "&", "OutStreamer", ",", "const", "MachineInstr", "*", "MI", ")", "{", "unsigned", "Opc", "=", "MI", "->", "getOpcode", "(", ")", ";", "SmallVector", "<", "MCInst", ",", "", ">", "MCInsts", ";", "const", "MachineOperand", "&", "MO", "=", "MI", "->", "getOperand", "(", "", ")", ";", "assert", "(", "MO", ".", "isImm", "(", ")", "&&", "", ")", ";", "int64_t", "Offset", "=", "MO", ".", "getImm", "(", ")", ";", "if", "(", "OutStreamer", ".", "hasRawTextSupport", "(", ")", ")", "{", "if", "(", "!", "isInt", "<", "", ">", "(", "Offset", ")", ")", "{", "EmitInstrWithMacroNoAT", "(", "MI", ")", ";", "return", ";", "}", "MCInst", "TmpInst0", ";", "MCInstLowering", ".", "Lower", "(", "MI", ",", "TmpInst0", ")", ";", "OutStreamer", ".", "EmitInstruction", "(", "TmpInst0", ",", "getSubtargetInfo", "(", ")", ")", ";", "}", "else", "{", "MCInstLowering", ".", "LowerCPRESTORE", "(", "Offset", ",", "MCInsts", ")", ";", "for", "(", "SmallVector", "<", "MCInst", ",", "", ">", "::", "iterator", "I", "=", "MCInsts", ".", "begin", "(", ")", ";", "I", "!=", "MCInsts", ".", "end", "(", ")", ";", "++", "I", ")", "OutStreamer", ".", "EmitInstruction", "(", "*", "I", ",", "getSubtargetInfo", "(", ")", ")", ";", "return", ";", "}"], "ground_truth": ["}"], "File": "Cpu0AsmPrinter", "Func": "emitPseudoCPRestore", "Target": "Cpu0", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 189232, "Length": 173, "Cover_Rate": 1.0} {"Template_token": ["", "void", "AsmPrinter", "::", "EmitStartOfAsmFile", "(", "Module", "&", "M", ")", "{", "if", "(", "OutStreamer", "->", "hasRawTextSupport", "(", ")", ")", "OutStreamer", "->", "EmitRawText", "(", "", "+", "Twine", "(", "getCurrentABIString", "(", ")", ")", ")", ";"], "ground_truth": ["if", "(", "OutStreamer", "->", "hasRawTextSupport", "(", ")", ")", "OutStreamer", "->", "EmitRawText", "(", "StringRef", "(", "", ")", ")", ";"], "File": "Cpu0AsmPrinter", "Func": "EmitStartOfAsmFile", "Target": "Cpu0", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 189233, "Length": 50, "Cover_Rate": 0.9803921568627451} {"Template_token": ["", "case", "ABIInfo", "::", "", ":", "return", "", ";", "case", "ABIInfo", "::", "", ":", "return", "", ";"], "ground_truth": ["default", ":", "llvm_unreachable", "(", "", ")", ";"], "File": "Cpu0AsmPrinter", "Func": "getCurrentABIString", "Target": "Cpu0", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 189235, "Length": 23, "Cover_Rate": 0.3898305084745763} {"Template_token": ["", "virtual", "StringRef", "getPassName", "(", ")", "const", "override", "{", "return", "", ";"], "ground_truth": ["}"], "File": "Cpu0AsmPrinter", "Func": "getPassName", "Target": "Cpu0", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 189236, "Length": 12, "Cover_Rate": 1.0} {"Template_token": ["", "virtual", "StringRef", "getPassName", "(", ")", "const", "override", "{"], "ground_truth": ["return", "", ";"], "File": "Cpu0AsmPrinter", "Func": "getPassName", "Target": "Cpu0", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 189237, "Length": 11, "Cover_Rate": 0.9166666666666666} {"Template_token": ["", "RegisterAsmPrinter", "<", "AsmPrinter", ">", "Y", "(", "getTheelTarget", "(", ")", ")", ";"], "ground_truth": ["}"], "File": "Cpu0AsmPrinter", "Func": "LLVMInitializeCpu0AsmPrinter", "Target": "Cpu0", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 189240, "Length": 12, "Cover_Rate": 0.42857142857142855} {"Template_token": ["", "MCOp", "=", "MCInstLowering", ".", "LowerOperand", "(", "MO", ")", ";"], "ground_truth": ["return", "MCOp", ".", "isValid", "(", ")", ";"], "File": "Cpu0AsmPrinter", "Func": "lowerOperand", "Target": "Cpu0", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 189242, "Length": 16, "Cover_Rate": 0.5} {"Template_token": ["", "void", "AsmPrinter", "::", "PrintDebugValueComment", "(", "const", "MachineInstr", "*", "MI", ",", "raw_ostream", "&", "OS", ")", "{", "OS", "<<", "", ";"], "ground_truth": ["}"], "File": "Cpu0AsmPrinter", "Func": "PrintDebugValueComment", "Target": "Cpu0", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 189243, "Length": 20, "Cover_Rate": 1.0} {"Template_token": ["", "void", "AsmPrinter", "::", "printHex32", "(", "unsigned", "Value", ",", "raw_ostream", "&", "O", ")", "{", "O", "<<", "", ";", "for", "(", "int", "i", "=", "", ";", "i", ">=", "", ";", "i", "--", ")", "O", ".", "write_hex", "(", "(", "Value", "&", "(", "", "<<", "(", "i", "*", "", ")", ")", ")", ">>", "(", "i", "*", "", ")", ")", ";"], "ground_truth": ["}"], "File": "Cpu0AsmPrinter", "Func": "printHex32", "Target": "Cpu0", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 189245, "Length": 57, "Cover_Rate": 1.0} {"Template_token": ["", "O", "<<", "", ";"], "ground_truth": ["for", "(", "int", "i", "=", "", ";", "i", ">=", "", ";", "i", "--", ")", "O", ".", "write_hex", "(", "(", "Value", "&", "(", "", "<<", "(", "i", "*", "", ")", ")", ")", ">>", "(", "i", "*", "", ")", ")", ";"], "File": "Cpu0AsmPrinter", "Func": "printHex32", "Target": "Cpu0", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 189246, "Length": 43, "Cover_Rate": 0.7543859649122807} {"Template_token": ["", "unsigned", "CPUBitmask", "=", "", ";", "int", "CPUTopSavedRegOff", ";", "const", "MachineFrameInfo", "&", "MFI", "=", "MF", "->", "getFrameInfo", "(", ")", ";", "const", "TargetRegisterInfo", "*", "TRI", "=", "MF", "->", "getSubtarget", "(", ")", ".", "getRegisterInfo", "(", ")", ";", "const", "std", "::", "vector", "<", "CalleeSavedInfo", ">", "&", "CSI", "=", "MFI", ".", "getCalleeSavedInfo", "(", ")", ";", "unsigned", "CPURegSize", "=", "TRI", "->", "getRegSizeInBits", "(", "", ")", "/", "", ";", "unsigned", "i", "=", "", ",", "e", "=", "CSI", ".", "size", "(", ")", ";", "for", "(", ";", "i", "!=", "e", ";", "++", "i", ")", "{"], "ground_truth": ["unsigned", "Reg", "=", "CSI", "[", "i", "]", ".", "getReg", "(", ")", ";"], "File": "Cpu0AsmPrinter", "Func": "printSavedRegsBitmask", "Target": "Cpu0", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 189247, "Length": 98, "Cover_Rate": 0.620253164556962} {"Template_token": ["", "FI", "=", "MF", ".", "getInfo", "<", "MachineFunctionInfo", ">", "(", ")", ";"], "ground_truth": ["AsmPrinter", "::", "runOnMachineFunction", "(", "MF", ")", ";"], "File": "Cpu0AsmPrinter", "Func": "runOnMachineFunction", "Target": "Cpu0", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 189248, "Length": 18, "Cover_Rate": 0.5625} {"Template_token": ["", "EmitEOL", "(", ")", ";"], "ground_truth": ["}"], "File": "Cpu0AsmStreamer", "Func": "AddBlankLine", "Target": "Cpu0", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 189251, "Length": 5, "Cover_Rate": 0.45454545454545453} {"Template_token": ["", "AsmStreamer", "(", "MCContext", "&", "Context", ",", "formatted_raw_ostream", "&", "os", ",", "bool", "isVerboseAsm", ",", "bool", "useLoc", ",", "bool", "useCFI", ",", "bool", "useDwarfDirectory", ",", "MCInstPrinter", "*", "printer", ",", "MCCodeEmitter", "*", "emitter", ",", "MCAsmBackend", "*", "asmbackend", ",", "bool", "showInst", ")", ":", "MCStreamer", "(", "SK_AsmStreamer", ",", "Context", ")", ",", "OS", "(", "os", ")", ",", "MAI", "(", "Context", ".", "getAsmInfo", "(", ")", ")", ",", "InstPrinter", "(", "printer", ")", ",", "Emitter", "(", "emitter", ")", ",", "AsmBackend", "(", "asmbackend", ")", ",", "CommentStream", "(", "CommentToEmit", ")", ",", "IsVerboseAsm", "(", "isVerboseAsm", ")", "{", "if", "(", "InstPrinter", "&&", "IsVerboseAsm", ")", "InstPrinter", "->", "setCommentStream", "(", "CommentStream", ")", ";"], "ground_truth": ["}"], "File": "Cpu0AsmStreamer", "Func": "Cpu0AsmStreamer", "Target": "Cpu0", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 189254, "Length": 98, "Cover_Rate": 1.0} {"Template_token": ["", "virtual", "void", "EmitInstruction", "(", "const", "MCInst", "&", "Inst", ")", "{", "if", "(", "InstPrinter", ")", "InstPrinter", "->", "printInst", "(", "&", "Inst", ",", "OS", ",", "", ")", ";", "else", "Inst", ".", "print", "(", "OS", ",", "&", "MAI", ")", ";", "EmitEOL", "(", ")", ";"], "ground_truth": ["}"], "File": "Cpu0AsmStreamer", "Func": "EmitInstruction", "Target": "Cpu0", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 189262, "Length": 42, "Cover_Rate": 1.0} {"Template_token": ["", "virtual", "void", "EmitInstruction", "(", "const", "MCInst", "&", "Inst", ")", "{", "if", "(", "InstPrinter", ")", "InstPrinter", "->", "printInst", "(", "&", "Inst", ",", "OS", ",", "", ")", ";", "else", "Inst", ".", "print", "(", "OS", ",", "&", "MAI", ")", ";", "EmitEOL", "(", ")", ";"], "ground_truth": ["}"], "File": "Cpu0AsmStreamer", "Func": "EmitInstruction", "Target": "Cpu0", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 189263, "Length": 42, "Cover_Rate": 1.0} {"Template_token": ["", "virtual", "raw_ostream", "&", "GetCommentOS", "(", ")", "{"], "ground_truth": ["if", "(", "!", "IsVerboseAsm", ")", "return", "nulls", "(", ")", ";"], "File": "Cpu0AsmStreamer", "Func": "GetCommentOS", "Target": "Cpu0", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 189266, "Length": 17, "Cover_Rate": 0.8095238095238095} {"Template_token": ["", "virtual", "raw_ostream", "&", "GetCommentOS", "(", ")", "{", "if", "(", "!", "IsVerboseAsm", ")", "return", "nulls", "(", ")", ";"], "ground_truth": ["return", "CommentStream", ";"], "File": "Cpu0AsmStreamer", "Func": "GetCommentOS", "Target": "Cpu0", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 189267, "Length": 20, "Cover_Rate": 0.9523809523809523} {"Template_token": ["", "formatted_raw_ostream", "&", "getOStream", "(", ")", "{"], "ground_truth": ["return", "OS", ";"], "File": "Cpu0AsmStreamer", "Func": "getOStream", "Target": "Cpu0", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 189268, "Length": 9, "Cover_Rate": 0.9} {"Template_token": ["", "virtual", "bool", "hasRawTextSupport", "(", ")", "const", "{", "return", "true", ";"], "ground_truth": ["}"], "File": "Cpu0AsmStreamer", "Func": "hasRawTextSupport", "Target": "Cpu0", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 189269, "Length": 11, "Cover_Rate": 1.0} {"Template_token": ["", "return", "true", ";"], "ground_truth": ["}"], "File": "Cpu0AsmStreamer", "Func": "hasRawTextSupport", "Target": "Cpu0", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 189270, "Length": 4, "Cover_Rate": 0.36363636363636365} {"Template_token": ["", "InitToTextSection", "(", ")", ";"], "ground_truth": ["}"], "File": "Cpu0AsmStreamer", "Func": "InitSections", "Target": "Cpu0", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 189272, "Length": 5, "Cover_Rate": 0.45454545454545453} {"Template_token": ["", "virtual", "void", "InitToTextSection", "(", ")", "{", "SwitchSection", "(", "getContext", "(", ")", ".", "getObjectFileInfo", "(", ")", "->", "getTextSection", "(", ")", ")", ";"], "ground_truth": ["}"], "File": "Cpu0AsmStreamer", "Func": "InitToTextSection", "Target": "Cpu0", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 189273, "Length": 22, "Cover_Rate": 1.0} {"Template_token": ["", "virtual", "bool", "isVerboseAsm", "(", ")", "const", "{", "return", "IsVerboseAsm", ";"], "ground_truth": ["}"], "File": "Cpu0AsmStreamer", "Func": "isVerboseAsm", "Target": "Cpu0", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 189275, "Length": 11, "Cover_Rate": 1.0} {"Template_token": ["", "virtual", "bool", "isVerboseAsm", "(", ")", "const", "{", "return", "IsVerboseAsm", ";"], "ground_truth": ["}"], "File": "Cpu0AsmStreamer", "Func": "isVerboseAsm", "Target": "Cpu0", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 189276, "Length": 11, "Cover_Rate": 1.0} {"Template_token": ["", "~", "AsmStreamer", "(", ")", "{"], "ground_truth": ["}"], "File": "Cpu0AsmStreamer", "Func": "~Cpu0AsmStreamer", "Target": "Cpu0", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 189277, "Length": 6, "Cover_Rate": 1.0} {"Template_token": ["", "~", "AsmStreamer", "(", ")", "{"], "ground_truth": ["}"], "File": "Cpu0AsmStreamer", "Func": "~Cpu0AsmStreamer", "Target": "Cpu0", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 189278, "Length": 6, "Cover_Rate": 1.0} {"Template_token": ["", "const", "MCConstantExpr", "*", "CE", "=", "dyn_cast", "<", "MCConstantExpr", ">", "(", "BE", "->", "getRHS", "(", ")", ")", ";", "if", "(", "(", "LHS", "->", "getKind", "(", ")", "!=", "MCExpr", "::", "SymbolRef", ")", "||", "!", "CE", ")", "return", "std", "::", "make_pair", "(", "(", "const", "MCSymbolRefExpr", "*", ")", "", ",", "(", "int64_t", ")", "", ")", ";", "return", "std", "::", "make_pair", "(", "cast", "<", "MCSymbolRefExpr", ">", "(", "LHS", ")", ",", "CE", "->", "getValue", "(", ")", ")", ";"], "ground_truth": ["}"], "File": "Cpu0BaseInfo1", "Func": "Cpu0GetSymAndOffset", "Target": "Cpu0", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 189279, "Length": 73, "Cover_Rate": 0.3054393305439331} {"Template_token": ["", "if", "(", "(", "LHS", "->", "getKind", "(", ")", "!=", "MCExpr", "::", "SymbolRef", ")", "||", "!", "CE", ")", "return", "std", "::", "make_pair", "(", "(", "const", "MCSymbolRefExpr", "*", ")", "", ",", "(", "int64_t", ")", "", ")", ";", "return", "std", "::", "make_pair", "(", "cast", "<", "MCSymbolRefExpr", ">", "(", "LHS", ")", ",", "CE", "->", "getValue", "(", ")", ")", ";", "}", "if", "(", "Kind", "!=", "MCExpr", "::", "SymbolRef", ")", "return", "std", "::", "make_pair", "(", "(", "const", "MCSymbolRefExpr", "*", ")", "", ",", "(", "int64_t", ")", "", ")", ";"], "ground_truth": ["return", "std", "::", "make_pair", "(", "cast", "<", "MCSymbolRefExpr", ">", "(", "Expr", ")", ",", "", ")", ";"], "File": "Cpu0BaseInfo1", "Func": "Cpu0GetSymAndOffset", "Target": "Cpu0", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 189280, "Length": 98, "Cover_Rate": 0.4100418410041841} {"Template_token": ["", "case", "", ":", "return", "", ";", "case", "", ":", "return", "", ";", "case", "", ":", "return", "", ";", "case", "", ":", "return", "", ";", "case", "", ":", "return", "", ";", "case", "", ":", "return", "", ";", "case", "", ":", "return", "", ";", "case", "", ":", "return", "", ";", "case", "", ":", "return", "", ";", "case", "", ":", "return", "", ";", "case", "", ":", "return", "", ";", "case", "", ":", "return", "", ";", "case", "", ":", "return", "", ";", "case", "", ":", "return", "", ";", "case", "", ":", "return", "", ";"], "ground_truth": ["case", "", ":"], "File": "Cpu0BaseInfo1", "Func": "getCpu0RegisterNumbering", "Target": "Cpu0", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 189281, "Length": 93, "Cover_Rate": 0.5568862275449101} {"Template_token": ["", "case", "", ":", "return", "", ";", "case", "", ":", "return", "", ";", "case", "", ":", "return", "", ";", "case", "", ":", "return", "", ";", "case", "", ":", "return", "", ";", "case", "", ":", "return", "", ";", "case", "", ":", "return", "", ";", "case", "", ":", "return", "", ";", "case", "", ":", "return", "", ";", "case", "", ":", "return", "", ";", "case", "", ":", "return", "", ";"], "ground_truth": ["case", "", ":"], "File": "Cpu0BaseInfo2", "Func": "getCpu0RegisterNumbering", "Target": "Cpu0", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 189282, "Length": 69, "Cover_Rate": 0.41317365269461076} {"Template_token": ["", "FunctionPass", "*", "llvm", "::", "createDelaySlotFillerPass", "(", "TargetMachine", "&", "tm", ")", "{", "return", "new", "Filler", "(", "tm", ")", ";"], "ground_truth": ["}"], "File": "Cpu0DelaySlotFiller", "Func": "createCpu0DelaySlotFillerPass", "Target": "Cpu0", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 189283, "Length": 19, "Cover_Rate": 1.0} {"Template_token": ["", "return", "new", "Filler", "(", "tm", ")", ";"], "ground_truth": ["}"], "File": "Cpu0DelaySlotFiller", "Func": "createCpu0DelaySlotFillerPass", "Target": "Cpu0", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 189284, "Length": 8, "Cover_Rate": 0.42105263157894735} {"Template_token": ["", "Filler", "(", "TargetMachine", "&", "tm", ")", ":", "MachineFunctionPass", "(", "ID", ")", "{"], "ground_truth": ["}"], "File": "Cpu0DelaySlotFiller", "Func": "Filler", "Target": "Cpu0", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 189285, "Length": 13, "Cover_Rate": 1.0} {"Template_token": ["", "Filler", "(", "TargetMachine", "&", "tm", ")", ":", "MachineFunctionPass", "(", "ID", ")", "{"], "ground_truth": ["}"], "File": "Cpu0DelaySlotFiller", "Func": "Filler", "Target": "Cpu0", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 189286, "Length": 13, "Cover_Rate": 1.0} {"Template_token": ["", "StringRef", "getPassName", "(", ")", "const", "override", "{", "return", "", ";"], "ground_truth": ["}"], "File": "Cpu0DelaySlotFiller", "Func": "getPassName", "Target": "Cpu0", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 189287, "Length": 11, "Cover_Rate": 1.0} {"Template_token": ["", "return", "", ";"], "ground_truth": ["}"], "File": "Cpu0DelaySlotFiller", "Func": "getPassName", "Target": "Cpu0", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 189288, "Length": 4, "Cover_Rate": 0.36363636363636365} {"Template_token": ["", "return", "MI", "->", "hasDelaySlot", "(", ")", "&&", "!", "MI", "->", "isBundledWithSucc", "(", ")", ";"], "ground_truth": ["}"], "File": "Cpu0DelaySlotFiller", "Func": "hasUnoccupiedSlot", "Target": "Cpu0", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 189289, "Length": 15, "Cover_Rate": 0.6} {"Template_token": ["", "static", "bool", "hasUnoccupiedSlot", "(", "const", "MachineInstr", "*", "MI", ")", "{", "return", "MI", "->", "hasDelaySlot", "(", ")", "&&", "!", "MI", "->", "isBundledWithSucc", "(", ")", ";"], "ground_truth": ["}"], "File": "Cpu0DelaySlotFiller", "Func": "hasUnoccupiedSlot", "Target": "Cpu0", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 189290, "Length": 25, "Cover_Rate": 1.0} {"Template_token": ["", "bool", "Changed", "=", "false", ";", "const", "Subtarget", "&", "STI", "=", "MBB", ".", "getParent", "(", ")", "->", "getSubtarget", "<", "Subtarget", ">", "(", ")", ";", "const", "InstrInfo", "*", "TII", "=", "STI", ".", "getInstrInfo", "(", ")", ";", "for", "(", "Iter", "I", "=", "MBB", ".", "begin", "(", ")", ";", "I", "!=", "MBB", ".", "end", "(", ")", ";", "++", "I", ")", "{", "if", "(", "!", "hasUnoccupiedSlot", "(", "&", "*", "I", ")", ")", "continue", ";", "++", "FilledSlots", ";", "Changed", "=", "true", ";"], "ground_truth": ["BuildMI", "(", "MBB", ",", "std", "::", "next", "(", "I", ")", ",", "I", "->", "getDebugLoc", "(", ")", ",", "TII", "->", "get", "(", "", ")", ")", ";"], "File": "Cpu0DelaySlotFiller", "Func": "runOnMachineBasicBlock", "Target": "Cpu0", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 189291, "Length": 101, "Cover_Rate": 0.753731343283582} {"Template_token": ["", "bool", "runOnMachineFunction", "(", "MachineFunction", "&", "F", ")", "override", "{", "bool", "Changed", "=", "false", ";", "for", "(", "MachineFunction", "::", "iterator", "FI", "=", "F", ".", "begin", "(", ")", ",", "FE", "=", "F", ".", "end", "(", ")", ";"], "ground_truth": ["FI", "!=", "FE", ";", "++", "FI", ")", "Changed", "|=", "runOnMachineBasicBlock", "(", "*", "FI", ")", ";"], "File": "Cpu0DelaySlotFiller", "Func": "runOnMachineFunction", "Target": "Cpu0", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 189292, "Length": 50, "Cover_Rate": 0.9259259259259259} {"Template_token": ["", "for", "(", "MachineFunction", "::", "iterator", "FI", "=", "F", ".", "begin", "(", ")", ",", "FE", "=", "F", ".", "end", "(", ")", ";", "FI", "!=", "FE", ";", "++", "FI", ")", "Changed", "|=", "runOnMachineBasicBlock", "(", "*", "FI", ")", ";"], "ground_truth": ["return", "Changed", ";"], "File": "Cpu0DelaySlotFiller", "Func": "runOnMachineFunction", "Target": "Cpu0", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 189293, "Length": 39, "Cover_Rate": 0.7222222222222222} {"Template_token": ["", "DelJmp", "(", "TargetMachine", "&", "tm", ")", ":", "MachineFunctionPass", "(", "ID", ")", "{"], "ground_truth": ["}"], "File": "Cpu0DelUselessJMP1", "Func": "DelJmp", "Target": "Cpu0", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 189294, "Length": 13, "Cover_Rate": 1.0} {"Template_token": ["", "DelJmp", "(", "TargetMachine", "&", "tm", ")", ":", "MachineFunctionPass", "(", "ID", ")", "{"], "ground_truth": ["}"], "File": "Cpu0DelUselessJMP1", "Func": "DelJmp", "Target": "Cpu0", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 189295, "Length": 13, "Cover_Rate": 1.0} {"Template_token": ["", "StringRef", "getPassName", "(", ")", "const", "override", "{", "return", "", ";"], "ground_truth": ["}"], "File": "Cpu0DelUselessJMP1", "Func": "getPassName", "Target": "Cpu0", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 189297, "Length": 11, "Cover_Rate": 1.0} {"Template_token": ["", "if", "(", "FJ", "!=", "F", ".", "end", "(", ")", ")", "FJ", "++", ";", "if", "(", "FJ", "==", "F", ".", "end", "(", ")", ")", "return", "Changed", ";", "for", "(", "MachineFunction", "::", "iterator", "FI", "=", "F", ".", "begin", "(", ")", ",", "FE", "=", "F", ".", "end", "(", ")", ";", "FJ", "!=", "FE", ";", "++", "FI", ",", "++", "FJ", ")", "{", "Changed", "|=", "runOnMachineBasicBlock", "(", "*", "FI", ",", "*", "FJ", ")", ";"], "ground_truth": ["}"], "File": "Cpu0DelUselessJMP1", "Func": "runOnMachineFunction", "Target": "Cpu0", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 189298, "Length": 70, "Cover_Rate": 0.6666666666666666} {"Template_token": ["", "FunctionPass", "*", "llvm", "::", "createDelJmpPass", "(", "TargetMachine", "&", "tm", ")", "{"], "ground_truth": ["return", "new", "DelJmp", "(", "tm", ")", ";"], "File": "Cpu0DelUselessJMP", "Func": "createCpu0DelJmpPass", "Target": "Cpu0", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 189300, "Length": 18, "Cover_Rate": 0.9473684210526315} {"Template_token": ["", "DelJmp", "(", "TargetMachine", "&", "tm", ")", ":", "MachineFunctionPass", "(", "ID", ")", ",", "TM", "(", "tm", ")", ",", "TII", "(", "tm", ".", "getInstrInfo", "(", ")", ")", "{"], "ground_truth": ["}"], "File": "Cpu0DelUselessJMP", "Func": "DelJmp", "Target": "Cpu0", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 189301, "Length": 27, "Cover_Rate": 1.0} {"Template_token": ["", "DelJmp", "(", "TargetMachine", "&", "tm", ")", ":", "MachineFunctionPass", "(", "ID", ")", ",", "TM", "(", "tm", ")", ",", "TII", "(", "tm", ".", "getInstrInfo", "(", ")", ")", "{"], "ground_truth": ["}"], "File": "Cpu0DelUselessJMP", "Func": "DelJmp", "Target": "Cpu0", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 189302, "Length": 27, "Cover_Rate": 1.0} {"Template_token": ["", "virtual", "const", "char", "*", "getPassName", "(", ")", "const", "{", "return", "", ";"], "ground_truth": ["}"], "File": "Cpu0DelUselessJMP", "Func": "getPassName", "Target": "Cpu0", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 189303, "Length": 13, "Cover_Rate": 1.0} {"Template_token": ["", "else", "return", "Changed", ";", "if", "(", "I", "->", "getOpcode", "(", ")", "==", "", "&&", "I", "->", "getOperand", "(", "", ")", ".", "getMBB", "(", ")", "==", "&", "MBBN", ")", "{", "++", "NumDelJmp", ";", "MBB", ".", "erase", "(", "I", ")", ";", "Changed", "=", "true", ";", "}"], "ground_truth": ["return", "Changed", ";"], "File": "Cpu0DelUselessJMP", "Func": "runOnMachineBasicBlock", "Target": "Cpu0", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 189304, "Length": 47, "Cover_Rate": 0.5053763440860215} {"Template_token": ["", "if", "(", "I", "!=", "MBB", ".", "begin", "(", ")", ")", "I", "--", ";", "else", "return", "Changed", ";", "if", "(", "I", "->", "getOpcode", "(", ")", "==", "", "&&", "I", "->", "getOperand", "(", "", ")", ".", "getMBB", "(", ")", "==", "&", "MBBN", ")", "{", "++", "NumDelJmp", ";", "MBB", ".", "erase", "(", "I", ")", ";", "Changed", "=", "true", ";", "}", "return", "Changed", ";"], "ground_truth": ["}"], "File": "Cpu0DelUselessJMP", "Func": "runOnMachineBasicBlock", "Target": "Cpu0", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 189305, "Length": 61, "Cover_Rate": 0.6559139784946236} {"Template_token": ["", "bool", "runOnMachineFunction", "(", "MachineFunction", "&", "F", ")", "{", "bool", "Changed", "=", "false", ";", "if", "(", "EnableDelJmp", ")", "{", "MachineFunction", "::", "iterator", "FJ", "=", "F", ".", "begin", "(", ")", ";"], "ground_truth": ["if", "(", "FJ", "!=", "F", ".", "end", "(", ")", ")", "FJ", "++", ";"], "File": "Cpu0DelUselessJMP", "Func": "runOnMachineFunction", "Target": "Cpu0", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 189306, "Length": 42, "Cover_Rate": 0.4117647058823529} {"Template_token": ["", "Disassembler", "(", "const", "MCSubtargetInfo", "&", "STI", ",", "MCContext", "&", "Ctx", ",", "bool", "bigEndian", ")", ":", "DisassemblerBase", "(", "STI", ",", "Ctx", ",", "bigEndian", ")", "{"], "ground_truth": ["}"], "File": "Cpu0Disassembler", "Func": "Cpu0Disassembler", "Target": "Cpu0", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 189307, "Length": 25, "Cover_Rate": 1.0} {"Template_token": ["", "Disassembler", "(", "const", "MCSubtargetInfo", "&", "STI", ",", "MCContext", "&", "Ctx", ",", "bool", "bigEndian", ")", ":", "DisassemblerBase", "(", "STI", ",", "Ctx", ",", "bigEndian", ")", "{"], "ground_truth": ["}"], "File": "Cpu0Disassembler", "Func": "Cpu0Disassembler", "Target": "Cpu0", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 189308, "Length": 25, "Cover_Rate": 1.0} {"Template_token": ["", "MCDisassembler", "(", "STI", ",", "Ctx", ")", ",", "IsBigEndian", "(", "bigEndian", ")", "{"], "ground_truth": ["}"], "File": "Cpu0Disassembler", "Func": "Cpu0DisassemblerBase", "Target": "Cpu0", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 189309, "Length": 13, "Cover_Rate": 0.4642857142857143} {"Template_token": ["", "MCDisassembler", "(", "STI", ",", "Ctx", ")", ",", "IsBigEndian", "(", "bigEndian", ")", "{"], "ground_truth": ["}"], "File": "Cpu0Disassembler", "Func": "Cpu0DisassemblerBase", "Target": "Cpu0", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 189310, "Length": 13, "Cover_Rate": 0.4642857142857143} {"Template_token": ["", "static", "MCDisassembler", "*", "createDisassembler", "(", "const", "Target", "&", "T", ",", "const", "MCSubtargetInfo", "&", "STI", ",", "MCContext", "&", "Ctx", ")", "{", "return", "new", "Disassembler", "(", "STI", ",", "Ctx", ",", "true", ")", ";"], "ground_truth": ["}"], "File": "Cpu0Disassembler", "Func": "createCpu0Disassembler", "Target": "Cpu0", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 189311, "Length": 32, "Cover_Rate": 1.0} {"Template_token": ["", "static", "MCDisassembler", "*", "createDisassembler", "(", "const", "Target", "&", "T", ",", "const", "MCSubtargetInfo", "&", "STI", ",", "MCContext", "&", "Ctx", ")", "{", "return", "new", "Disassembler", "(", "STI", ",", "Ctx", ",", "true", ")", ";"], "ground_truth": ["}"], "File": "Cpu0Disassembler", "Func": "createCpu0Disassembler", "Target": "Cpu0", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 189312, "Length": 32, "Cover_Rate": 1.0} {"Template_token": ["", "static", "MCDisassembler", "*", "createelDisassembler", "(", "const", "Target", "&", "T", ",", "const", "MCSubtargetInfo", "&", "STI", ",", "MCContext", "&", "Ctx", ")", "{"], "ground_truth": ["return", "new", "Disassembler", "(", "STI", ",", "Ctx", ",", "false", ")", ";"], "File": "Cpu0Disassembler", "Func": "createCpu0elDisassembler", "Target": "Cpu0", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 189313, "Length": 31, "Cover_Rate": 0.96875} {"Template_token": ["", "static", "DecodeStatus", "DecodeBranch16Target", "(", "MCInst", "&", "Inst", ",", "unsigned", "Insn", ",", "uint64_t", "Address", ",", "const", "void", "*", "Decoder", ")", "{", "int", "BranchOffset", "=", "fieldFromInstruction", "(", "Insn", ",", "", ",", "", ")", ";", "if", "(", "BranchOffset", ">", "", ")", "BranchOffset", "=", "-", "", "*", "(", "", "-", "BranchOffset", ")", ";", "Inst", ".", "addOperand", "(", "MCOperand", "::", "createImm", "(", "BranchOffset", ")", ")", ";"], "ground_truth": ["return", "MCDisassembler", "::", "Success", ";"], "File": "Cpu0Disassembler", "Func": "DecodeBranch16Target", "Target": "Cpu0", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 189315, "Length": 66, "Cover_Rate": 0.9850746268656716} {"Template_token": ["", "static", "DecodeStatus", "DecodeBranch16Target", "(", "MCInst", "&", "Inst", ",", "unsigned", "Insn", ",", "uint64_t", "Address", ",", "const", "void", "*", "Decoder", ")", "{", "int", "BranchOffset", "=", "fieldFromInstruction", "(", "Insn", ",", "", ",", "", ")", ";"], "ground_truth": ["if", "(", "BranchOffset", ">", "", ")", "BranchOffset", "=", "-", "", "*", "(", "", "-", "BranchOffset", ")", ";"], "File": "Cpu0Disassembler", "Func": "DecodeBranch16Target", "Target": "Cpu0", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 189316, "Length": 49, "Cover_Rate": 0.7313432835820896} {"Template_token": ["", "if", "(", "BranchOffset", ">", "", ")", "BranchOffset", "=", "-", "", "*", "(", "", "-", "BranchOffset", ")", ";"], "ground_truth": ["Inst", ".", "addOperand", "(", "MCOperand", "::", "createReg", "(", "", ")", ")", ";"], "File": "Cpu0Disassembler", "Func": "DecodeBranch24Target", "Target": "Cpu0", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 189317, "Length": 29, "Cover_Rate": 0.35802469135802467} {"Template_token": ["", "int", "BranchOffset", "=", "fieldFromInstruction", "(", "Insn", ",", "", ",", "", ")", ";", "if", "(", "BranchOffset", ">", "", ")", "BranchOffset", "=", "-", "", "*", "(", "", "-", "BranchOffset", ")", ";", "Inst", ".", "addOperand", "(", "MCOperand", "::", "createReg", "(", "", ")", ")", ";", "Inst", ".", "addOperand", "(", "MCOperand", "::", "createImm", "(", "BranchOffset", ")", ")", ";"], "ground_truth": ["return", "MCDisassembler", "::", "Success", ";"], "File": "Cpu0Disassembler", "Func": "DecodeBranch24Target", "Target": "Cpu0", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 189318, "Length": 58, "Cover_Rate": 0.7160493827160493} {"Template_token": ["", "static", "DecodeStatus", "DecodeC0RegsRegisterClass", "(", "MCInst", "&", "Inst", ",", "unsigned", "RegNo", ",", "uint64_t", "Address", ",", "const", "void", "*", "Decoder", ")", "{", "if", "(", "RegNo", ">", "", ")", "return", "MCDisassembler", "::", "Fail", ";", "Inst", ".", "addOperand", "(", "MCOperand", "::", "createReg", "(", "C0RegsTable", "[", "RegNo", "]", ")", ")", ";", "return", "MCDisassembler", "::", "Success", ";"], "ground_truth": ["}"], "File": "Cpu0Disassembler", "Func": "DecodeC0RegsRegisterClass", "Target": "Cpu0", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 189319, "Length": 52, "Cover_Rate": 1.0} {"Template_token": ["", "if", "(", "RegNo", ">", "", ")", "return", "MCDisassembler", "::", "Fail", ";"], "ground_truth": ["Inst", ".", "addOperand", "(", "MCOperand", "::", "createReg", "(", "CPURegsTable", "[", "RegNo", "]", ")", ")", ";"], "File": "Cpu0Disassembler", "Func": "DecodeCPURegsRegisterClass", "Target": "Cpu0", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 189320, "Length": 26, "Cover_Rate": 0.5} {"Template_token": ["", "static", "DecodeStatus", "DecodeGPROutRegisterClass", "(", "MCInst", "&", "Inst", ",", "unsigned", "RegNo", ",", "uint64_t", "Address", ",", "const", "void", "*", "Decoder", ")", "{"], "ground_truth": ["return", "DecodeCPURegsRegisterClass", "(", "Inst", ",", "RegNo", ",", "Address", ",", "Decoder", ")", ";"], "File": "Cpu0Disassembler", "Func": "DecodeGPROutRegisterClass", "Target": "Cpu0", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 189321, "Length": 32, "Cover_Rate": 0.9696969696969697} {"Template_token": ["", "Inst", ".", "addOperand", "(", "MCOperand", "::", "createReg", "(", "CPURegsTable", "[", "Reg", "]", ")", ")", ";", "if", "(", "CPURegsTable", "[", "Reg", "]", "==", "", ")", "Inst", ".", "setOpcode", "(", "", ")", ";", "else", "Inst", ".", "setOpcode", "(", "", ")", ";", "return", "MCDisassembler", "::", "Success", ";"], "ground_truth": ["}"], "File": "Cpu0Disassembler", "Func": "DecodeJumpFR", "Target": "Cpu0", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 189323, "Length": 45, "Cover_Rate": 0.5232558139534884} {"Template_token": ["", "static", "DecodeStatus", "DecodeJumpFR", "(", "MCInst", "&", "Inst", ",", "unsigned", "Insn", ",", "uint64_t", "Address", ",", "const", "void", "*", "Decoder", ")", "{", "int", "Reg", "=", "(", "int", ")", "fieldFromInstruction", "(", "Insn", ",", "", ",", "", ")", ";", "Inst", ".", "addOperand", "(", "MCOperand", "::", "createReg", "(", "CPURegsTable", "[", "Reg", "]", ")", ")", ";"], "ground_truth": ["if", "(", "CPURegsTable", "[", "Reg", "]", "==", "", ")", "Inst", ".", "setOpcode", "(", "", ")", ";"], "File": "Cpu0Disassembler", "Func": "DecodeJumpFR", "Target": "Cpu0", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 189324, "Length": 66, "Cover_Rate": 0.7674418604651163} {"Template_token": ["", "Inst", ".", "addOperand", "(", "MCOperand", "::", "createImm", "(", "JumpOffset", ")", ")", ";"], "ground_truth": ["return", "MCDisassembler", "::", "Success", ";"], "File": "Cpu0Disassembler", "Func": "DecodeJumpTarget", "Target": "Cpu0", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 189325, "Length": 17, "Cover_Rate": 0.34} {"Template_token": ["", "int", "Base", "=", "(", "int", ")", "fieldFromInstruction", "(", "Insn", ",", "", ",", "", ")", ";", "Inst", ".", "addOperand", "(", "MCOperand", "::", "createReg", "(", "CPURegsTable", "[", "Reg", "]", ")", ")", ";", "Inst", ".", "addOperand", "(", "MCOperand", "::", "createReg", "(", "CPURegsTable", "[", "Base", "]", ")", ")", ";", "Inst", ".", "addOperand", "(", "MCOperand", "::", "createImm", "(", "Offset", ")", ")", ";", "return", "MCDisassembler", "::", "Success", ";"], "ground_truth": ["}"], "File": "Cpu0Disassembler", "Func": "DecodeMem", "Target": "Cpu0", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 189326, "Length": 63, "Cover_Rate": 0.5675675675675675} {"Template_token": ["", "Inst", ".", "addOperand", "(", "MCOperand", "::", "createImm", "(", "SignExtend32", "<", "", ">", "(", "Insn", ")", ")", ")", ";"], "ground_truth": ["return", "MCDisassembler", "::", "Success", ";"], "File": "Cpu0Disassembler", "Func": "DecodeSimm16", "Target": "Cpu0", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 189327, "Length": 23, "Cover_Rate": 0.5227272727272727} {"Template_token": ["", "Inst", ".", "addOperand", "(", "MCOperand", "::", "createImm", "(", "SignExtend32", "<", "", ">", "(", "Insn", ")", ")", ")", ";"], "ground_truth": ["return", "MCDisassembler", "::", "Success", ";"], "File": "Cpu0Disassembler", "Func": "DecodeSimm16", "Target": "Cpu0", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 189328, "Length": 23, "Cover_Rate": 0.5227272727272727} {"Template_token": ["", "static", "DecodeStatus", "DecodeSRRegisterClass", "(", "MCInst", "&", "Inst", ",", "unsigned", "RegNo", ",", "uint64_t", "Address", ",", "const", "void", "*", "Decoder", ")", "{", "return", "DecodeCPURegsRegisterClass", "(", "Inst", ",", "RegNo", ",", "Address", ",", "Decoder", ")", ";"], "ground_truth": ["}"], "File": "Cpu0Disassembler", "Func": "DecodeSRRegisterClass", "Target": "Cpu0", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 189329, "Length": 33, "Cover_Rate": 1.0} {"Template_token": ["", "if", "(", "Result", "==", "MCDisassembler", "::", "Fail", ")", "return", "Result", ";", "Result", "=", "decodeInstruction", "(", "DecoderTable32", ",", "Instr", ",", "Insn", ",", "Address", ",", "this", ",", "STI", ")", ";", "if", "(", "Result", "!=", "MCDisassembler", "::", "Fail", ")", "{", "Size", "=", "", ";"], "ground_truth": ["}"], "File": "Cpu0Disassembler", "Func": "getInstruction", "Target": "Cpu0", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 189331, "Length": 42, "Cover_Rate": 0.42424242424242425} {"Template_token": ["", "TargetRegistry", "::", "RegisterMCDisassembler", "(", "getTheelTarget", "(", ")", ",", "createelDisassembler", ")", ";"], "ground_truth": ["}"], "File": "Cpu0Disassembler", "Func": "LLVMInitializeCpu0Disassembler", "Target": "Cpu0", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 189332, "Length": 12, "Cover_Rate": 0.42857142857142855} {"Template_token": ["", "void", "LLVMInitializeDisassembler", "(", ")", "{"], "ground_truth": ["TargetRegistry", "::", "RegisterMCDisassembler", "(", "getTheTarget", "(", ")", ",", "createDisassembler", ")", ";"], "File": "Cpu0Disassembler", "Func": "LLVMInitializeCpu0Disassembler", "Target": "Cpu0", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 189333, "Length": 16, "Cover_Rate": 0.5714285714285714} {"Template_token": ["", "}", "if", "(", "IsBigEndian", ")", "{", "Insn", "=", "(", "Bytes", "[", "", "]", "<<", "", ")", "|", "(", "Bytes", "[", "", "]", "<<", "", ")", "|", "(", "Bytes", "[", "", "]", "<<", "", ")", "|", "(", "Bytes", "[", "", "]", "<<", "", ")", ";", "}", "else", "{"], "ground_truth": ["Insn", "=", "(", "Bytes", "[", "", "]", "<<", "", ")", "|", "(", "Bytes", "[", "", "]", "<<", "", ")", "|", "(", "Bytes", "[", "", "]", "<<", "", ")", "|", "(", "Bytes", "[", "", "]", "<<", "", ")", ";"], "File": "Cpu0Disassembler", "Func": "readInstruction32", "Target": "Cpu0", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 189334, "Length": 85, "Cover_Rate": 0.6204379562043796} {"Template_token": ["", "if", "(", "IsBigEndian", ")", "{", "Insn", "=", "(", "Bytes", "[", "", "]", "<<", "", ")", "|", "(", "Bytes", "[", "", "]", "<<", "", ")", "|", "(", "Bytes", "[", "", "]", "<<", "", ")", "|", "(", "Bytes", "[", "", "]", "<<", "", ")", ";"], "ground_truth": ["}", "else", "{"], "File": "Cpu0Disassembler", "Func": "readInstruction32", "Target": "Cpu0", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 189335, "Length": 46, "Cover_Rate": 0.3357664233576642} {"Template_token": ["", "virtual", "~", "DisassemblerBase", "(", ")", "{"], "ground_truth": ["}"], "File": "Cpu0Disassembler", "Func": "~Cpu0DisassemblerBase", "Target": "Cpu0", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 189336, "Length": 7, "Cover_Rate": 1.0} {"Template_token": ["", "virtual", "~", "DisassemblerBase", "(", ")", "{"], "ground_truth": ["}"], "File": "Cpu0Disassembler", "Func": "~Cpu0DisassemblerBase", "Target": "Cpu0", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 189337, "Length": 7, "Cover_Rate": 1.0} {"Template_token": ["", "static", "int", "CompareOffset", "(", "const", "RelEntry", "&", "R0", ",", "const", "RelEntry", "&", "R1", ")", "{", "return", "(", "R0", ".", "Offset", ">", "R1", ".", "Offset", ")", "?", "", ":", "(", "(", "R0", ".", "Offset", "==", "R1", ".", "Offset", ")", "?", "", ":", "-", "", ")", ";"], "ground_truth": ["}"], "File": "Cpu0ELFObjectWriter1", "Func": "CompareOffset", "Target": "Cpu0", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 189338, "Length": 46, "Cover_Rate": 1.0} {"Template_token": ["", "MCELFObjectTargetWriter", "*", "MOTW", "=", "new", "ELFObjectWriter", "(", "OSABI", ")", ";"], "ground_truth": ["return", "createELFObjectWriter", "(", "MOTW", ",", "OS", ",", "IsLittleEndian", ")", ";"], "File": "Cpu0ELFObjectWriter1", "Func": "createCpu0ELFObjectWriter", "Target": "Cpu0", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 189340, "Length": 20, "Cover_Rate": 0.5263157894736842} {"Template_token": ["", "assert", "(", "Target", ".", "getSymA", "(", ")", "&&", "", ")", ";", "const", "MCSymbol", "&", "Sym", "=", "Target", ".", "getSymA", "(", ")", "->", "getSymbol", "(", ")", ".", "AliasedSymbol", "(", ")", ";", "if", "(", "Sym", ".", "getSection", "(", ")", ".", "getKind", "(", ")", ".", "isMergeableCString", "(", ")", "||", "Sym", ".", "getSection", "(", ")", ".", "getKind", "(", ")", ".", "isMergeableConst", "(", ")", ")", "return", "&", "Sym", ";", "return", "NULL", ";"], "ground_truth": ["}"], "File": "Cpu0ELFObjectWriter1", "Func": "ExplicitRelSym", "Target": "Cpu0", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 189342, "Length": 68, "Cover_Rate": 0.68} {"Template_token": ["", "assert", "(", "Target", ".", "getSymA", "(", ")", "&&", "", ")", ";", "const", "MCSymbol", "&", "Sym", "=", "Target", ".", "getSymA", "(", ")", "->", "getSymbol", "(", ")", ".", "AliasedSymbol", "(", ")", ";", "if", "(", "Sym", ".", "getSection", "(", ")", ".", "getKind", "(", ")", ".", "isMergeableCString", "(", ")", "||", "Sym", ".", "getSection", "(", ")", ".", "getKind", "(", ")", ".", "isMergeableConst", "(", ")", ")", "return", "&", "Sym", ";", "return", "NULL", ";"], "ground_truth": ["}"], "File": "Cpu0ELFObjectWriter1", "Func": "ExplicitRelSym", "Target": "Cpu0", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 189343, "Length": 68, "Cover_Rate": 0.68} {"Template_token": ["", "unsigned", "Flag", "=", "ELF", "::", "EF_CPU0_NOREORDER", ";"], "ground_truth": ["Flag", "|=", "ELF", "::", "EF_CPU0_ARCH_32R2", ";"], "File": "Cpu0ELFObjectWriter1", "Func": "getEFlags", "Target": "Cpu0", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 189344, "Length": 13, "Cover_Rate": 0.52} {"Template_token": ["", "unsigned", "Flag", "=", "ELF", "::", "EF_CPU0_NOREORDER", ";", "Flag", "|=", "ELF", "::", "EF_CPU0_ARCH_32R2", ";"], "ground_truth": ["return", "Flag", ";"], "File": "Cpu0ELFObjectWriter1", "Func": "getEFlags", "Target": "Cpu0", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 189345, "Length": 16, "Cover_Rate": 0.64} {"Template_token": ["", "case", "", ":", "case", "", ":", "Type", "=", "ELF", "::", "R_CPU0_GOT16", ";", "break", ";", "case", "", ":", "Type", "=", "ELF", "::", "R_CPU0_HI16", ";", "break", ";", "case", "", ":", "Type", "=", "ELF", "::", "R_CPU0_LO16", ";", "break", ";", "case", "", ":", "Type", "=", "ELF", "::", "R_CPU0_TLS_GD", ";", "break", ";", "case", "", ":", "Type", "=", "ELF", "::", "R_CPU0_TLS_GOTTPREL", ";", "break", ";", "case", "", ":", "Type", "=", "ELF", "::", "R_CPU0_TLS_TPREL_HI16", ";", "break", ";", "case", "", ":", "Type", "=", "ELF", "::", "R_CPU0_TLS_TPREL_LO16", ";", "break", ";", "case", "", ":", "Type", "=", "ELF", "::", "R_CPU0_TLS_LDM", ";", "break", ";", "case", "", ":", "Type", "=", "ELF", "::", "R_CPU0_TLS_DTPREL_HI16", ";", "break", ";", "case", "", ":", "Type", "=", "ELF", "::", "R_CPU0_TLS_DTPREL_LO16", ";", "break", ";", "case", "", ":", "case", "", ":", "Type", "=", "ELF", "::", "R_CPU0_PC24", ";", "break", ";", "case", "", ":", "Type", "=", "ELF", "::", "R_CPU0_GOT_HI16", ";", "break", ";", "case", "", ":", "Type", "=", "ELF", "::", "R_CPU0_GOT_LO16", ";"], "ground_truth": ["break", ";"], "File": "Cpu0ELFObjectWriter1", "Func": "GetRelocType", "Target": "Cpu0", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 189346, "Length": 149, "Cover_Rate": 0.4885245901639344} {"Template_token": ["", "break", ";", "case", "", ":", "Type", "=", "ELF", "::", "R_CPU0_HI16", ";", "break", ";", "case", "", ":", "Type", "=", "ELF", "::", "R_CPU0_LO16", ";", "break", ";", "case", "", ":", "Type", "=", "ELF", "::", "R_CPU0_TLS_GD", ";", "break", ";", "case", "", ":", "Type", "=", "ELF", "::", "R_CPU0_TLS_GOTTPREL", ";", "break", ";", "case", "", ":", "Type", "=", "ELF", "::", "R_CPU0_TLS_TPREL_HI16", ";", "break", ";", "case", "", ":", "Type", "=", "ELF", "::", "R_CPU0_TLS_TPREL_LO16", ";", "break", ";", "case", "", ":", "Type", "=", "ELF", "::", "R_CPU0_TLS_LDM", ";", "break", ";", "case", "", ":", "Type", "=", "ELF", "::", "R_CPU0_TLS_DTPREL_HI16", ";", "break", ";", "case", "", ":", "Type", "=", "ELF", "::", "R_CPU0_TLS_DTPREL_LO16", ";", "break", ";", "case", "", ":", "case", "", ":", "Type", "=", "ELF", "::", "R_CPU0_PC24", ";", "break", ";", "case", "", ":", "Type", "=", "ELF", "::", "R_CPU0_GOT_HI16", ";", "break", ";", "case", "", ":", "Type", "=", "ELF", "::", "R_CPU0_GOT_LO16", ";"], "ground_truth": ["break", ";"], "File": "Cpu0ELFObjectWriter1", "Func": "GetRelocType", "Target": "Cpu0", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 189347, "Length": 137, "Cover_Rate": 0.4491803278688525} {"Template_token": ["", "RelLsIter", "Hi", "=", "I", "++", ";", "return", "(", "I", "->", "Reloc", ".", "Type", "==", "ELF", "::", "R_CPU0_LO16", ")", "&&", "(", "Hi", "->", "Sym", "==", "I", "->", "Sym", ")", "&&", "(", "Hi", "->", "Offset", "==", "I", "->", "Offset", ")", ";"], "ground_truth": ["}"], "File": "Cpu0ELFObjectWriter1", "Func": "HasMatchingLo", "Target": "Cpu0", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 189348, "Length": 40, "Cover_Rate": 0.6153846153846154} {"Template_token": ["", "return", "R0", ".", "Sym", "==", "R1", ".", "Sym", ";"], "ground_truth": ["}"], "File": "Cpu0ELFObjectWriter1", "Func": "HasSameSymbol", "Target": "Cpu0", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 189350, "Length": 10, "Cover_Rate": 0.4} {"Template_token": ["", "if", "(", "!", "R", ".", "Sym", ")", "return", "false", ";"], "ground_truth": ["MCSymbolData", "&", "SD", "=", "Asm", ".", "getSymbolData", "(", "R", ".", "Sym", "->", "AliasedSymbol", "(", ")", ")", ";"], "File": "Cpu0ELFObjectWriter1", "Func": "NeedsMatchingLo", "Target": "Cpu0", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 189353, "Length": 27, "Cover_Rate": 0.35064935064935066} {"Template_token": ["", "RelEntry", "(", "const", "ELFRelocationEntry", "&", "R", ",", "const", "MCSymbol", "*", "S", ",", "int64_t", "O", ")", ":", "Reloc", "(", "R", ")", ",", "Sym", "(", "S", ")", ",", "Offset", "(", "O", ")", "{"], "ground_truth": ["}"], "File": "Cpu0ELFObjectWriter1", "Func": "RelEntry", "Target": "Cpu0", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 189355, "Length": 32, "Cover_Rate": 1.0} {"Template_token": ["", "}", "for", "(", "RelLsIter", "R", "=", "RelocLs", ".", "begin", "(", ")", ";", "R", "!=", "RelocLs", ".", "end", "(", ")", ";", "++", "R", ")", "if", "(", "NeedsMatchingLo", "(", "Asm", ",", "*", "R", ")", "&&", "!", "HasMatchingLo", "(", "Asm", ",", "R", ",", "--", "RelocLs", ".", "end", "(", ")", ")", ")", "Unmatched", ".", "push_back", "(", "R", ")", ";", "for", "(", "std", "::", "vector", "<", "RelLsIter", ">", "::", "iterator", "U", "=", "Unmatched", ".", "begin", "(", ")", ";", "U", "!=", "Unmatched", ".", "end", "(", ")", ";", "++", "U", ")", "{", "RelLsIter", "LoPos", "=", "RelocLs", ".", "end", "(", ")", ",", "HiPos", "=", "*", "U", ";", "bool", "MatchedLo", "=", "false", ";", "for", "(", "RelLsIter", "R", "=", "RelocLs", ".", "begin", "(", ")", ";", "R", "!=", "RelocLs", ".", "end", "(", ")", ";", "++", "R", ")", "{"], "ground_truth": ["if", "(", "(", "R", "->", "Reloc", ".", "Type", "==", "ELF", "::", "R_CPU0_LO16", ")", "&&", "HasSameSymbol", "(", "*", "HiPos", ",", "*", "R", ")", "&&", "(", "CompareOffset", "(", "*", "R", ",", "*", "HiPos", ")", ">=", "", ")", "&&", "(", "(", "LoPos", "==", "RelocLs", ".", "end", "(", ")", ")", "||", "(", "(", "CompareOffset", "(", "*", "R", ",", "*", "LoPos", ")", "<", "", ")", ")", "||", "(", "!", "MatchedLo", "&&", "!", "CompareOffset", "(", "*", "R", ",", "*", "LoPos", ")", ")", ")", ")", "LoPos", "=", "R", ";"], "File": "Cpu0ELFObjectWriter1", "Func": "sortRelocs", "Target": "Cpu0", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 189356, "Length": 209, "Cover_Rate": 0.46547884187082406} {"Template_token": ["", "RelLsIter", "LoPos", "=", "RelocLs", ".", "end", "(", ")", ",", "HiPos", "=", "*", "U", ";", "bool", "MatchedLo", "=", "false", ";", "for", "(", "RelLsIter", "R", "=", "RelocLs", ".", "begin", "(", ")", ";", "R", "!=", "RelocLs", ".", "end", "(", ")", ";", "++", "R", ")", "{", "if", "(", "(", "R", "->", "Reloc", ".", "Type", "==", "ELF", "::", "R_CPU0_LO16", ")", "&&", "HasSameSymbol", "(", "*", "HiPos", ",", "*", "R", ")", "&&", "(", "CompareOffset", "(", "*", "R", ",", "*", "HiPos", ")", ">=", "", ")", "&&", "(", "(", "LoPos", "==", "RelocLs", ".", "end", "(", ")", ")", "||", "(", "(", "CompareOffset", "(", "*", "R", ",", "*", "LoPos", ")", "<", "", ")", ")", "||", "(", "!", "MatchedLo", "&&", "!", "CompareOffset", "(", "*", "R", ",", "*", "LoPos", ")", ")", ")", ")", "LoPos", "=", "R", ";", "MatchedLo", "=", "NeedsMatchingLo", "(", "Asm", ",", "*", "R", ")", "&&", "HasMatchingLo", "(", "Asm", ",", "R", ",", "--", "RelocLs", ".", "end", "(", ")", ")", ";", "}", "if", "(", "LoPos", "!=", "RelocLs", ".", "end", "(", ")", ")", "{", "HiPos", "->", "Offset", "=", "LoPos", "->", "Offset", ";", "RelocLs", ".", "insert", "(", "LoPos", ",", "*", "HiPos", ")", ";", "RelocLs", ".", "erase", "(", "HiPos", ")", ";", "}", "}", "assert", "(", "Relocs", ".", "size", "(", ")", "==", "RelocLs", ".", "size", "(", ")", ")", ";", "unsigned", "I", "=", "RelocLs", ".", "size", "(", ")", ";"], "ground_truth": ["for", "(", "RelLsIter", "R", "=", "RelocLs", ".", "begin", "(", ")", ";", "R", "!=", "RelocLs", ".", "end", "(", ")", ";", "++", "R", ")", "Relocs", "[", "--", "I", "]", "=", "R", "->", "Reloc", ";"], "File": "Cpu0ELFObjectWriter1", "Func": "sortRelocs", "Target": "Cpu0", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 189357, "Length": 243, "Cover_Rate": 0.5412026726057907} {"Template_token": ["", "ELFObjectWriter", "::", "ELFObjectWriter", "(", "uint8_t", "OSABI", ")", ":", "MCELFObjectTargetWriter", "(", "false", ",", "OSABI", ",", "ELF", "::", "EM_CPU0", ",", "false", ")", "{"], "ground_truth": ["}"], "File": "Cpu0ELFObjectWriter3", "Func": "Cpu0ELFObjectWriter", "Target": "Cpu0", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 189358, "Length": 22, "Cover_Rate": 1.0} {"Template_token": ["", "ELFObjectWriter", "::", "ELFObjectWriter", "(", "uint8_t", "OSABI", ")", ":", "MCELFObjectTargetWriter", "(", "false", ",", "OSABI", ",", "ELF", "::", "EM_CPU0", ",", "false", ")", "{"], "ground_truth": ["}"], "File": "Cpu0ELFObjectWriter3", "Func": "Cpu0ELFObjectWriter", "Target": "Cpu0", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 189359, "Length": 22, "Cover_Rate": 1.0} {"Template_token": ["", "break", ";", "case", "FK_GPRel_4", ":", "Type", "=", "ELF", "::", "R_CPU0_GPREL32", ";", "break", ";", "case", "", ":", "Type", "=", "ELF", "::", "R_CPU0_32", ";", "break", ";", "case", "", ":", "Type", "=", "ELF", "::", "R_CPU0_GPREL16", ";", "break", ";", "case", "", ":", "Type", "=", "ELF", "::", "R_CPU0_GOT16", ";", "break", ";", "case", "", ":", "Type", "=", "ELF", "::", "R_CPU0_HI16", ";", "break", ";", "case", "", ":", "Type", "=", "ELF", "::", "R_CPU0_LO16", ";", "break", ";"], "ground_truth": ["case", "", ":"], "File": "Cpu0ELFObjectWriter3", "Func": "getRelocType", "Target": "Cpu0", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 189361, "Length": 71, "Cover_Rate": 0.3302325581395349} {"Template_token": ["", "case", "", ":", "Type", "=", "ELF", "::", "R_CPU0_GPREL16", ";", "break", ";", "case", "", ":", "Type", "=", "ELF", "::", "R_CPU0_GOT16", ";", "break", ";", "case", "", ":", "Type", "=", "ELF", "::", "R_CPU0_HI16", ";", "break", ";", "case", "", ":", "Type", "=", "ELF", "::", "R_CPU0_LO16", ";", "break", ";", "case", "", ":", "Type", "=", "ELF", "::", "R_CPU0_GOT_HI16", ";", "break", ";", "case", "", ":", "Type", "=", "ELF", "::", "R_CPU0_GOT_LO16", ";", "break", ";", "case", "", ":", "Type", "=", "ELF", "::", "R_CPU0_PC16", ";", "break", ";", "case", "", ":", "Type", "=", "ELF", "::", "R_CPU0_PC24", ";", "break", ";", "case", "", ":", "Type", "=", "ELF", "::", "R_CPU0_CALL16", ";", "break", ";"], "ground_truth": ["}"], "File": "Cpu0ELFObjectWriter3", "Func": "getRelocType", "Target": "Cpu0", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 189362, "Length": 100, "Cover_Rate": 0.46511627906976744} {"Template_token": ["", "ELFObjectWriter", "::", "ELFObjectWriter", "(", "uint8_t", "OSABI", ")", ":", "MCELFObjectTargetWriter", "(", "false", ",", "OSABI", ",", "ELF", "::", "EM_CPU0", ",", "false", ")", "{"], "ground_truth": ["}"], "File": "Cpu0ELFObjectWriter", "Func": "Cpu0ELFObjectWriter", "Target": "Cpu0", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 189363, "Length": 22, "Cover_Rate": 1.0} {"Template_token": ["", "ELFObjectWriter", "::", "ELFObjectWriter", "(", "uint8_t", "OSABI", ")", ":", "MCELFObjectTargetWriter", "(", "false", ",", "OSABI", ",", "ELF", "::", "EM_CPU0", ",", "false", ")", "{"], "ground_truth": ["}"], "File": "Cpu0ELFObjectWriter", "Func": "Cpu0ELFObjectWriter", "Target": "Cpu0", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 189364, "Length": 22, "Cover_Rate": 1.0} {"Template_token": ["", "Type", "=", "ELF", "::", "R_CPU0_GPREL32", ";", "break", ";", "case", "", ":", "Type", "=", "ELF", "::", "R_CPU0_32", ";", "break", ";", "case", "", ":", "Type", "=", "ELF", "::", "R_CPU0_GPREL16", ";", "break", ";", "case", "", ":", "Type", "=", "ELF", "::", "R_CPU0_GOT16", ";", "break", ";", "case", "", ":", "Type", "=", "ELF", "::", "R_CPU0_CALL16", ";", "break", ";", "case", "", ":", "Type", "=", "ELF", "::", "R_CPU0_HI16", ";", "break", ";", "case", "", ":", "Type", "=", "ELF", "::", "R_CPU0_LO16", ";"], "ground_truth": ["break", ";"], "File": "Cpu0ELFObjectWriter", "Func": "getRelocType", "Target": "Cpu0", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 189367, "Length": 74, "Cover_Rate": 0.34418604651162793} {"Template_token": ["", "break", ";", "case", "", ":", "Type", "=", "ELF", "::", "R_CPU0_HI16", ";", "break", ";", "case", "", ":", "Type", "=", "ELF", "::", "R_CPU0_LO16", ";", "break", ";", "case", "", ":", "Type", "=", "ELF", "::", "R_CPU0_GOT_HI16", ";", "break", ";", "case", "", ":", "Type", "=", "ELF", "::", "R_CPU0_GOT_LO16", ";", "break", ";", "case", "", ":", "Type", "=", "ELF", "::", "R_CPU0_PC16", ";", "break", ";", "case", "", ":", "Type", "=", "ELF", "::", "R_CPU0_PC24", ";", "break", ";"], "ground_truth": ["}"], "File": "Cpu0ELFObjectWriter", "Func": "getRelocType", "Target": "Cpu0", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 189368, "Length": 69, "Cover_Rate": 0.3209302325581395} {"Template_token": ["", "case", "ELF", "::", "R_CPU0_HI16", ":", "case", "ELF", "::", "R_CPU0_LO16", ":", "case", "ELF", "::", "R_CPU0_32", ":", "return", "true", ";"], "ground_truth": ["case", "ELF", "::", "R_CPU0_GPREL16", ":"], "File": "Cpu0ELFObjectWriter", "Func": "needsRelocateWithSymbol", "Target": "Cpu0", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 189369, "Length": 23, "Cover_Rate": 0.3770491803278688} {"Template_token": ["", "return", "true", ";", "case", "ELF", "::", "R_CPU0_HI16", ":", "case", "ELF", "::", "R_CPU0_LO16", ":", "case", "ELF", "::", "R_CPU0_32", ":", "return", "true", ";", "case", "ELF", "::", "R_CPU0_GPREL16", ":", "return", "false", ";", "}"], "ground_truth": ["}"], "File": "Cpu0ELFObjectWriter", "Func": "needsRelocateWithSymbol", "Target": "Cpu0", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 189370, "Length": 31, "Cover_Rate": 0.5081967213114754} {"Template_token": ["", "ELFObjectWriter", "::", "~", "ELFObjectWriter", "(", ")", "{"], "ground_truth": ["}"], "File": "Cpu0ELFObjectWriter", "Func": "~Cpu0ELFObjectWriter", "Target": "Cpu0", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 189371, "Length": 8, "Cover_Rate": 1.0} {"Template_token": ["", "ELFObjectWriter", "::", "~", "ELFObjectWriter", "(", ")", "{"], "ground_truth": ["}"], "File": "Cpu0ELFObjectWriter", "Func": "~Cpu0ELFObjectWriter", "Target": "Cpu0", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 189372, "Length": 8, "Cover_Rate": 1.0} {"Template_token": ["", "ELFStreamer", "::", "ELFStreamer", "(", "MCContext", "&", "Context", ",", "std", "::", "unique_ptr", "<", "MCAsmBackend", ">", "MAB", ",", "std", "::", "unique_ptr", "<", "MCObjectWriter", ">", "OW", ",", "std", "::", "unique_ptr", "<", "MCCodeEmitter", ">", "Emitter", ")", ":", "MCELFStreamer", "(", "Context", ",", "std", "::", "move", "(", "MAB", ")", ",", "std", "::", "move", "(", "OW", ")", ",", "std", "::", "move", "(", "Emitter", ")", ")", "{"], "ground_truth": ["}"], "File": "Cpu0ELFStreamer1", "Func": "Cpu0ELFStreamer", "Target": "Cpu0", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 189373, "Length": 60, "Cover_Rate": 1.0} {"Template_token": ["", "ELFStreamer", "::", "ELFStreamer", "(", "MCContext", "&", "Context", ",", "std", "::", "unique_ptr", "<", "MCAsmBackend", ">", "MAB", ",", "std", "::", "unique_ptr", "<", "MCObjectWriter", ">", "OW", ",", "std", "::", "unique_ptr", "<", "MCCodeEmitter", ">", "Emitter", ")", ":", "MCELFStreamer", "(", "Context", ",", "std", "::", "move", "(", "MAB", ")", ",", "std", "::", "move", "(", "OW", ")", ",", "std", "::", "move", "(", "Emitter", ")", ")", "{"], "ground_truth": ["}"], "File": "Cpu0ELFStreamer1", "Func": "Cpu0ELFStreamer", "Target": "Cpu0", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 189374, "Length": 60, "Cover_Rate": 1.0} {"Template_token": ["", "return", "new", "ELFStreamer", "(", "Context", ",", "std", "::", "move", "(", "MAB", ")", ",", "std", "::", "move", "(", "OW", ")", ",", "std", "::", "move", "(", "Emitter", ")", ")", ";"], "ground_truth": ["}"], "File": "Cpu0ELFStreamer1", "Func": "createCpu0ELFStreamer", "Target": "Cpu0", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 189375, "Length": 29, "Cover_Rate": 0.43283582089552236} {"Template_token": ["", "ELFStreamer", "::", "ELFStreamer", "(", "MCContext", "&", "Context", ",", "std", "::", "unique_ptr", "<", "MCAsmBackend", ">", "MAB", ",", "std", "::", "unique_ptr", "<", "MCObjectWriter", ">", "OW", ",", "std", "::", "unique_ptr", "<", "MCCodeEmitter", ">", "Emitter", ")", ":", "MCELFStreamer", "(", "Context", ",", "std", "::", "move", "(", "MAB", ")", ",", "std", "::", "move", "(", "OW", ")", ",", "std", "::", "move", "(", "Emitter", ")", ")", "{"], "ground_truth": ["}"], "File": "Cpu0ELFStreamer", "Func": "Cpu0ELFStreamer", "Target": "Cpu0", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 189377, "Length": 60, "Cover_Rate": 1.0} {"Template_token": ["", "ELFStreamer", "::", "ELFStreamer", "(", "MCContext", "&", "Context", ",", "std", "::", "unique_ptr", "<", "MCAsmBackend", ">", "MAB", ",", "std", "::", "unique_ptr", "<", "MCObjectWriter", ">", "OW", ",", "std", "::", "unique_ptr", "<", "MCCodeEmitter", ">", "Emitter", ")", ":", "MCELFStreamer", "(", "Context", ",", "std", "::", "move", "(", "MAB", ")", ",", "std", "::", "move", "(", "OW", ")", ",", "std", "::", "move", "(", "Emitter", ")", ")", "{"], "ground_truth": ["}"], "File": "Cpu0ELFStreamer", "Func": "Cpu0ELFStreamer", "Target": "Cpu0", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 189378, "Length": 60, "Cover_Rate": 1.0} {"Template_token": ["", "Inserter", "(", "TargetMachine", "&", "tm", ")", ":", "MachineFunctionPass", "(", "ID", ")", ",", "TM", "(", "tm", ")", ",", "TII", "(", "tm", ".", "getInstrInfo", "(", ")", ")", "{"], "ground_truth": ["}"], "File": "Cpu0EmitGPRestore1", "Func": "Inserter", "Target": "Cpu0", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 189381, "Length": 27, "Cover_Rate": 1.0} {"Template_token": ["", "Inserter", "(", "TargetMachine", "&", "tm", ")", ":", "MachineFunctionPass", "(", "ID", ")", ",", "TM", "(", "tm", ")", ",", "TII", "(", "tm", ".", "getInstrInfo", "(", ")", ")", "{"], "ground_truth": ["}"], "File": "Cpu0EmitGPRestore1", "Func": "Inserter", "Target": "Cpu0", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 189382, "Length": 27, "Cover_Rate": 1.0} {"Template_token": ["", "for", "(", "MachineFunction", "::", "iterator", "MFI", "=", "F", ".", "begin", "(", ")", ",", "MFE", "=", "F", ".", "end", "(", ")", ";", "MFI", "!=", "MFE", ";", "++", "MFI", ")", "{", "MachineBasicBlock", "&", "MBB", "=", "*", "MFI", ";", "MachineBasicBlock", "::", "iterator", "I", "=", "MFI", "->", "begin", "(", ")", ";", "if", "(", "MBB", ".", "isLandingPad", "(", ")", ")", "{", "for", "(", ";", "I", "->", "getOpcode", "(", ")", "!=", "TargetOpcode", "::", "EH_LABEL", ";", "++", "I", ")", ";", "++", "I", ";", "DebugLoc", "dl", "=", "I", "!=", "MBB", ".", "end", "(", ")", "?", "I", "->", "getDebugLoc", "(", ")", ":", "DebugLoc", "(", ")", ";", "BuildMI", "(", "MBB", ",", "I", ",", "dl", ",", "TII", "->", "get", "(", "", ")", ",", "", ")", ".", "addFrameIndex", "(", "FI", ")", ".", "addImm", "(", "", ")", ";"], "ground_truth": ["Changed", "=", "true", ";"], "File": "Cpu0EmitGPRestore1", "Func": "runOnMachineFunction", "Target": "Cpu0", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 189383, "Length": 129, "Cover_Rate": 0.46236559139784944} {"Template_token": ["", "FunctionPass", "*", "llvm", "::", "createEmitGPRestorePass", "(", "TargetMachine", "&", "tm", ")", "{"], "ground_truth": ["return", "new", "Inserter", "(", "tm", ")", ";"], "File": "Cpu0EmitGPRestore", "Func": "createCpu0EmitGPRestorePass", "Target": "Cpu0", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 189384, "Length": 18, "Cover_Rate": 0.9473684210526315} {"Template_token": ["", "FunctionPass", "*", "llvm", "::", "createEmitGPRestorePass", "(", "TargetMachine", "&", "tm", ")", "{"], "ground_truth": ["return", "new", "Inserter", "(", "tm", ")", ";"], "File": "Cpu0EmitGPRestore", "Func": "createCpu0EmitGPRestorePass", "Target": "Cpu0", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 189385, "Length": 18, "Cover_Rate": 0.9473684210526315} {"Template_token": ["", "virtual", "const", "char", "*", "getPassName", "(", ")", "const", "{"], "ground_truth": ["return", "", ";"], "File": "Cpu0EmitGPRestore", "Func": "getPassName", "Target": "Cpu0", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 189386, "Length": 12, "Cover_Rate": 0.9230769230769231} {"Template_token": ["", "Inserter", "(", "TargetMachine", "&", "tm", ")", ":", "MachineFunctionPass", "(", "ID", ")", ",", "TM", "(", "tm", ")", "{"], "ground_truth": ["}"], "File": "Cpu0EmitGPRestore", "Func": "Inserter", "Target": "Cpu0", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 189388, "Length": 18, "Cover_Rate": 1.0} {"Template_token": ["", "Inserter", "(", "TargetMachine", "&", "tm", ")", ":", "MachineFunctionPass", "(", "ID", ")", ",", "TM", "(", "tm", ")", "{"], "ground_truth": ["}"], "File": "Cpu0EmitGPRestore", "Func": "Inserter", "Target": "Cpu0", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 189389, "Length": 18, "Cover_Rate": 1.0} {"Template_token": ["", "for", "(", ";", "I", "->", "getOpcode", "(", ")", "!=", "TargetOpcode", "::", "EH_LABEL", ";", "++", "I", ")", ";", "++", "I", ";", "DebugLoc", "dl", "=", "I", "!=", "MBB", ".", "end", "(", ")", "?", "I", "->", "getDebugLoc", "(", ")", ":", "DebugLoc", "(", ")", ";", "BuildMI", "(", "MBB", ",", "I", ",", "dl", ",", "TII", "->", "get", "(", "", ")", ",", "", ")", ".", "addFrameIndex", "(", "FI", ")", ".", "addImm", "(", "", ")", ";", "Changed", "=", "true", ";", "}", "while", "(", "I", "!=", "MFI", "->", "end", "(", ")", ")", "{", "if", "(", "I", "->", "getOpcode", "(", ")", "!=", "", ")", "{", "++", "I", ";", "continue", ";"], "ground_truth": ["}"], "File": "Cpu0EmitGPRestore", "Func": "runOnMachineFunction", "Target": "Cpu0", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 189390, "Length": 102, "Cover_Rate": 0.3300970873786408} {"Template_token": ["", "explicit", "FrameLowering", "(", "const", "Subtarget", "&", "sti", ")", ":", "TargetFrameLowering", "(", "StackGrowsDown", ",", "", ",", "", ")", ",", "STI", "(", "sti", ")", "{"], "ground_truth": ["}"], "File": "Cpu0FrameLowering1", "Func": "Cpu0FrameLowering", "Target": "Cpu0", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 189391, "Length": 24, "Cover_Rate": 1.0} {"Template_token": ["", "explicit", "FrameLowering", "(", "const", "Subtarget", "&", "sti", ")", ":", "TargetFrameLowering", "(", "StackGrowsDown", ",", "", ",", "", ")", ",", "STI", "(", "sti", ")", "{"], "ground_truth": ["}"], "File": "Cpu0FrameLowering1", "Func": "Cpu0FrameLowering", "Target": "Cpu0", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 189392, "Length": 24, "Cover_Rate": 1.0} {"Template_token": ["", "void", "FrameLowering", "::", "eliminateCallFramePseudoInstr", "(", "MachineFunction", "&", "MF", ",", "MachineBasicBlock", "&", "MBB", ",", "MachineBasicBlock", "::", "iterator", "I", ")", "const", "{", "MBB", ".", "erase", "(", "I", ")", ";"], "ground_truth": ["}"], "File": "Cpu0FrameLowering1", "Func": "eliminateCallFramePseudoInstr", "Target": "Cpu0", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 189393, "Length": 28, "Cover_Rate": 1.0} {"Template_token": ["", "unsigned", "FP", "=", "", ";", "unsigned", "ZERO", "=", "", ";", "unsigned", "ADDu", "=", "", ";", "unsigned", "ADDiu", "=", "", ";", "unsigned", "StackAlign", "=", "getStackAlignment", "(", ")", ";", "unsigned", "RegSize", "=", "", ";", "unsigned", "LocalVarAreaOffset", "=", "FI", "->", "needGPSaveRestore", "(", ")", "?", "(", "MFI", "->", "getObjectOffset", "(", "FI", "->", "getGPFI", "(", ")", ")", "+", "RegSize", ")", ":", "FI", "->", "getMaxCallFrameSize", "(", ")", ";", "uint64_t", "StackSize", "=", "RoundUpToAlignment", "(", "LocalVarAreaOffset", ",", "StackAlign", ")", "+", "RoundUpToAlignment", "(", "MFI", "->", "getStackSize", "(", ")", ",", "StackAlign", ")", ";", "MFI", "->", "setStackSize", "(", "StackSize", ")", ";", "if", "(", "StackSize", "==", "", "&&", "!", "MFI", "->", "adjustsStack", "(", ")", ")", "return", ";", "MachineModuleInfo", "&", "MMI", "=", "MF", ".", "getMMI", "(", ")", ";", "std", "::", "vector", "<", "MachineMove", ">", "&", "Moves", "=", "MMI", ".", "getFrameMoves", "(", ")", ";", "MachineLocation", "DstML", ",", "SrcML", ";", "if", "(", "isInt", "<", "", ">", "(", "-", "StackSize", ")", ")", "BuildMI", "(", "MBB", ",", "MBBI", ",", "dl", ",", "TII", ".", "get", "(", "ADDiu", ")", ",", "SP", ")", ".", "addReg", "(", "SP", ")", ".", "addImm", "(", "-", "StackSize", ")", ";", "else", "{", "FI", "->", "setEmitNOAT", "(", ")", ";", "expandLargeImm", "(", "SP", ",", "-", "StackSize", ",", "TII", ",", "MBB", ",", "MBBI", ",", "dl", ")", ";", "}", "MCSymbol", "*", "AdjustSPLabel", "=", "MMI", ".", "getContext", "(", ")", ".", "CreateTempSymbol", "(", ")", ";"], "ground_truth": ["BuildMI", "(", "MBB", ",", "MBBI", ",", "dl", ",", "TII", ".", "get", "(", "TargetOpcode", "::", "PROLOG_LABEL", ")", ")", ".", "addSym", "(", "AdjustSPLabel", ")", ";"], "File": "Cpu0FrameLowering1", "Func": "emitPrologue", "Target": "Cpu0", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 189394, "Length": 237, "Cover_Rate": 0.32825484764542934} {"Template_token": ["", "for", "(", "++", "Inst", ";", "Inst", "!=", "Seq", ".", "end", "(", ")", ";", "++", "Inst", ")", "BuildMI", "(", "MBB", ",", "II", ",", "DL", ",", "TII", ".", "get", "(", "Inst", "->", "Opc", ")", ",", "ATReg", ")", ".", "addReg", "(", "ATReg", ")", ".", "addImm", "(", "SignExtend64", "<", "", ">", "(", "Inst", "->", "ImmOpnd", ")", ")", ";"], "ground_truth": ["BuildMI", "(", "MBB", ",", "II", ",", "DL", ",", "TII", ".", "get", "(", "ADDu", ")", ",", "Reg", ")", ".", "addReg", "(", "Reg", ")", ".", "addReg", "(", "ATReg", ")", ";"], "File": "Cpu0FrameLowering1", "Func": "expandLargeImm", "Target": "Cpu0", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 189395, "Length": 82, "Cover_Rate": 0.32669322709163345} {"Template_token": ["", "AnalyzeImmediate", "::", "", "Inst", "=", "Seq", ".", "begin", "(", ")", ";", "if", "(", "Inst", "->", "Opc", "==", "LUi", ")", "BuildMI", "(", "MBB", ",", "II", ",", "DL", ",", "TII", ".", "get", "(", "LUi", ")", ",", "ATReg", ")", ".", "addImm", "(", "SignExtend64", "<", "", ">", "(", "Inst", "->", "ImmOpnd", ")", ")", ";", "else", "BuildMI", "(", "MBB", ",", "II", ",", "DL", ",", "TII", ".", "get", "(", "Inst", "->", "Opc", ")", ",", "ATReg", ")", ".", "addReg", "(", "ZEROReg", ")", ".", "addImm", "(", "SignExtend64", "<", "", ">", "(", "Inst", "->", "ImmOpnd", ")", ")", ";"], "ground_truth": ["for", "(", "++", "Inst", ";", "Inst", "!=", "Seq", ".", "end", "(", ")", ";", "++", "Inst", ")", "BuildMI", "(", "MBB", ",", "II", ",", "DL", ",", "TII", ".", "get", "(", "Inst", "->", "Opc", ")", ",", "ATReg", ")", ".", "addReg", "(", "ATReg", ")", ".", "addImm", "(", "SignExtend64", "<", "", ">", "(", "Inst", "->", "ImmOpnd", ")", ")", ";"], "File": "Cpu0FrameLowering1", "Func": "expandLargeImm", "Target": "Cpu0", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 189396, "Length": 143, "Cover_Rate": 0.5697211155378487} {"Template_token": ["", "bool", "FrameLowering", "::", "hasFP", "(", "const", "MachineFunction", "&", "MF", ")", "const", "{", "const", "MachineFrameInfo", "*", "MFI", "=", "MF", ".", "getFrameInfo", "(", ")", ";"], "ground_truth": ["return", "MF", ".", "getTarget", "(", ")", ".", "Options", ".", "DisableFramePointerElim", "(", "MF", ")", "||", "MFI", "->", "hasVarSizedObjects", "(", ")", "||", "MFI", "->", "isFrameAddressTaken", "(", ")", ";"], "File": "Cpu0FrameLowering1", "Func": "hasFP", "Target": "Cpu0", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 189397, "Length": 49, "Cover_Rate": 0.98} {"Template_token": ["", "bool", "FrameLowering", "::", "hasFP", "(", "const", "MachineFunction", "&", "MF", ")", "const", "{"], "ground_truth": ["const", "MachineFrameInfo", "*", "MFI", "=", "MF", ".", "getFrameInfo", "(", ")", ";"], "File": "Cpu0FrameLowering1", "Func": "hasFP", "Target": "Cpu0", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 189398, "Length": 23, "Cover_Rate": 0.46} {"Template_token": ["", "void", "FrameLowering", "::", "processFunctionBeforeCalleeSavedScan", "(", "MachineFunction", "&", "MF", ",", "RegScavenger", "*", "RS", ")", "const", "{", "MachineRegisterInfo", "&", "MRI", "=", "MF", ".", "getRegInfo", "(", ")", ";", "if", "(", "MF", ".", "getFrameInfo", "(", ")", "->", "hasCalls", "(", ")", ")", "MRI", ".", "setPhysRegUsed", "(", "", ")", ";"], "ground_truth": ["else", "{"], "File": "Cpu0FrameLowering1", "Func": "processFunctionBeforeCalleeSavedScan", "Target": "Cpu0", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 189399, "Length": 46, "Cover_Rate": 0.7796610169491526} {"Template_token": ["", "const", "InstrInfo", "&", "TII", "=", "*", "static_cast", "<", "const", "InstrInfo", "*", ">", "(", "MF", ".", "getTarget", "(", ")", ".", "getInstrInfo", "(", ")", ")", ";", "DebugLoc", "dl", "=", "MBBI", "->", "getDebugLoc", "(", ")", ";", "unsigned", "SP", "=", "", ";", "unsigned", "ADDiu", "=", "", ";", "uint64_t", "StackSize", "=", "MFI", "->", "getStackSize", "(", ")", ";", "if", "(", "!", "StackSize", ")", "return", ";", "if", "(", "isInt", "<", "", ">", "(", "StackSize", ")", ")", "BuildMI", "(", "MBB", ",", "MBBI", ",", "dl", ",", "TII", ".", "get", "(", "ADDiu", ")", ",", "SP", ")", ".", "addReg", "(", "SP", ")", ".", "addImm", "(", "StackSize", ")", ";"], "ground_truth": ["else", "assert", "(", "", ")", ";"], "File": "Cpu0FrameLowering2", "Func": "emitEpilogue", "Target": "Cpu0", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 189401, "Length": 103, "Cover_Rate": 0.7152777777777778} {"Template_token": ["", "DebugLoc", "dl", "=", "MBBI", "!=", "MBB", ".", "end", "(", ")", "?", "MBBI", "->", "getDebugLoc", "(", ")", ":", "DebugLoc", "(", ")", ";", "unsigned", "SP", "=", "", ";", "unsigned", "ADDiu", "=", "", ";", "unsigned", "StackAlign", "=", "getStackAlignment", "(", ")", ";", "unsigned", "LocalVarAreaOffset", "=", "FI", "->", "getMaxCallFrameSize", "(", ")", ";", "uint64_t", "StackSize", "=", "RoundUpToAlignment", "(", "LocalVarAreaOffset", ",", "StackAlign", ")", "+", "RoundUpToAlignment", "(", "MFI", "->", "getStackSize", "(", ")", ",", "StackAlign", ")", ";", "MFI", "->", "setStackSize", "(", "StackSize", ")", ";", "if", "(", "StackSize", "==", "", "&&", "!", "MFI", "->", "adjustsStack", "(", ")", ")", "return", ";", "MachineModuleInfo", "&", "MMI", "=", "MF", ".", "getMMI", "(", ")", ";", "std", "::", "vector", "<", "MachineMove", ">", "&", "Moves", "=", "MMI", ".", "getFrameMoves", "(", ")", ";", "MachineLocation", "DstML", ",", "SrcML", ";", "if", "(", "isInt", "<", "", ">", "(", "-", "StackSize", ")", ")", "BuildMI", "(", "MBB", ",", "MBBI", ",", "dl", ",", "TII", ".", "get", "(", "ADDiu", ")", ",", "SP", ")", ".", "addReg", "(", "SP", ")", ".", "addImm", "(", "-", "StackSize", ")", ";", "else", "{", "assert", "(", "", ")", ";", "}", "MCSymbol", "*", "AdjustSPLabel", "=", "MMI", ".", "getContext", "(", ")", ".", "CreateTempSymbol", "(", ")", ";", "BuildMI", "(", "MBB", ",", "MBBI", ",", "dl", ",", "TII", ".", "get", "(", "TargetOpcode", "::", "PROLOG_LABEL", ")", ")", ".", "addSym", "(", "AdjustSPLabel", ")", ";", "DstML", "=", "MachineLocation", "(", "MachineLocation", "::", "VirtualFP", ")", ";"], "ground_truth": ["SrcML", "=", "MachineLocation", "(", "MachineLocation", "::", "VirtualFP", ",", "-", "StackSize", ")", ";"], "File": "Cpu0FrameLowering2", "Func": "emitPrologue", "Target": "Cpu0", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 189402, "Length": 226, "Cover_Rate": 0.452} {"Template_token": ["", "if", "(", "StackSize", "==", "", "&&", "!", "MFI", "->", "adjustsStack", "(", ")", ")", "return", ";", "MachineModuleInfo", "&", "MMI", "=", "MF", ".", "getMMI", "(", ")", ";", "std", "::", "vector", "<", "MachineMove", ">", "&", "Moves", "=", "MMI", ".", "getFrameMoves", "(", ")", ";", "MachineLocation", "DstML", ",", "SrcML", ";", "if", "(", "isInt", "<", "", ">", "(", "-", "StackSize", ")", ")", "BuildMI", "(", "MBB", ",", "MBBI", ",", "dl", ",", "TII", ".", "get", "(", "ADDiu", ")", ",", "SP", ")", ".", "addReg", "(", "SP", ")", ".", "addImm", "(", "-", "StackSize", ")", ";", "else", "{", "assert", "(", "", ")", ";", "}", "MCSymbol", "*", "AdjustSPLabel", "=", "MMI", ".", "getContext", "(", ")", ".", "CreateTempSymbol", "(", ")", ";", "BuildMI", "(", "MBB", ",", "MBBI", ",", "dl", ",", "TII", ".", "get", "(", "TargetOpcode", "::", "PROLOG_LABEL", ")", ")", ".", "addSym", "(", "AdjustSPLabel", ")", ";", "DstML", "=", "MachineLocation", "(", "MachineLocation", "::", "VirtualFP", ")", ";"], "ground_truth": ["SrcML", "=", "MachineLocation", "(", "MachineLocation", "::", "VirtualFP", ",", "-", "StackSize", ")", ";"], "File": "Cpu0FrameLowering2", "Func": "emitPrologue", "Target": "Cpu0", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 189403, "Length": 151, "Cover_Rate": 0.302} {"Template_token": ["", "explicit", "FrameLowering", "(", "const", "Subtarget", "&", "Subtarget", ")", ":", "TargetFrameLowering", "(", "StackGrowsDown", ",", "", ",", "", ")", ",", "STI", "(", "Subtarget", ")", "{"], "ground_truth": ["}"], "File": "Cpu0FrameLowering3", "Func": "Cpu0FrameLowering", "Target": "Cpu0", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 189404, "Length": 24, "Cover_Rate": 1.0} {"Template_token": ["", "explicit", "FrameLowering", "(", "const", "Subtarget", "&", "Subtarget", ")", ":", "TargetFrameLowering", "(", "StackGrowsDown", ",", "", ",", "", ")", ",", "STI", "(", "Subtarget", ")", "{"], "ground_truth": ["}"], "File": "Cpu0FrameLowering3", "Func": "Cpu0FrameLowering", "Target": "Cpu0", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 189405, "Length": 24, "Cover_Rate": 1.0} {"Template_token": ["", "void", "FrameLowering", "::", "determineCalleeSaves", "(", "MachineFunction", "&", "MF", ",", "BitVector", "&", "SavedRegs", ",", "RegScavenger", "*", "RS", ")", "const", "{"], "ground_truth": ["}"], "File": "Cpu0FrameLowering3", "Func": "determineCalleeSaves", "Target": "Cpu0", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 189406, "Length": 20, "Cover_Rate": 1.0} {"Template_token": ["", "void", "FrameLowering", "::", "determineCalleeSaves", "(", "MachineFunction", "&", "MF", ",", "BitVector", "&", "SavedRegs", ",", "RegScavenger", "*", "RS", ")", "const", "{"], "ground_truth": ["}"], "File": "Cpu0FrameLowering3", "Func": "determineCalleeSaves", "Target": "Cpu0", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 189407, "Length": 20, "Cover_Rate": 1.0} {"Template_token": ["", "void", "FrameLowering", "::", "determineFrameLayout", "(", "MachineFunction", "&", "MF", ")", "const", "{"], "ground_truth": ["}"], "File": "Cpu0FrameLowering3", "Func": "determineFrameLayout", "Target": "Cpu0", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 189408, "Length": 12, "Cover_Rate": 1.0} {"Template_token": ["", "void", "FrameLowering", "::", "determineFrameLayout", "(", "MachineFunction", "&", "MF", ")", "const", "{"], "ground_truth": ["}"], "File": "Cpu0FrameLowering3", "Func": "determineFrameLayout", "Target": "Cpu0", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 189409, "Length": 12, "Cover_Rate": 1.0} {"Template_token": ["", "MachineBasicBlock", "::", "iterator", "FrameLowering", "::", "eliminateCallFramePseudoInstr", "(", "MachineFunction", "&", ",", "MachineBasicBlock", "&", "MBB", ",", "MachineBasicBlock", "::", "iterator", "I", ")", "const", "{"], "ground_truth": ["}"], "File": "Cpu0FrameLowering3", "Func": "eliminateCallFramePseudoInstr", "Target": "Cpu0", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 189410, "Length": 22, "Cover_Rate": 1.0} {"Template_token": ["", "MachineBasicBlock", "::", "iterator", "FrameLowering", "::", "eliminateCallFramePseudoInstr", "(", "MachineFunction", "&", ",", "MachineBasicBlock", "&", "MBB", ",", "MachineBasicBlock", "::", "iterator", "I", ")", "const", "{"], "ground_truth": ["}"], "File": "Cpu0FrameLowering3", "Func": "eliminateCallFramePseudoInstr", "Target": "Cpu0", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 189411, "Length": 22, "Cover_Rate": 1.0} {"Template_token": ["", "void", "FrameLowering", "::", "emitEpilogue", "(", "MachineFunction", "&", ",", "MachineBasicBlock", "&", "MBB", ")", "const", "{"], "ground_truth": ["}"], "File": "Cpu0FrameLowering3", "Func": "emitEpilogue", "Target": "Cpu0", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 189412, "Length": 15, "Cover_Rate": 1.0} {"Template_token": ["", "void", "FrameLowering", "::", "emitEpilogue", "(", "MachineFunction", "&", ",", "MachineBasicBlock", "&", "MBB", ")", "const", "{"], "ground_truth": ["}"], "File": "Cpu0FrameLowering3", "Func": "emitEpilogue", "Target": "Cpu0", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 189413, "Length": 15, "Cover_Rate": 1.0} {"Template_token": ["", "void", "FrameLowering", "::", "emitPrologue", "(", "MachineFunction", "&", "MF", ",", "MachineBasicBlock", "&", "MBB", ")", "const", "{"], "ground_truth": ["}"], "File": "Cpu0FrameLowering3", "Func": "emitPrologue", "Target": "Cpu0", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 189414, "Length": 16, "Cover_Rate": 1.0} {"Template_token": ["", "void", "FrameLowering", "::", "emitPrologue", "(", "MachineFunction", "&", "MF", ",", "MachineBasicBlock", "&", "MBB", ")", "const", "{"], "ground_truth": ["}"], "File": "Cpu0FrameLowering3", "Func": "emitPrologue", "Target": "Cpu0", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 189415, "Length": 16, "Cover_Rate": 1.0} {"Template_token": ["", "bool", "hasFP", "(", "const", "MachineFunction", "&", ")", "const", "override", "{", "return", "true", ";"], "ground_truth": ["}"], "File": "Cpu0FrameLowering3", "Func": "hasFP", "Target": "Cpu0", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 189417, "Length": 14, "Cover_Rate": 1.0} {"Template_token": ["", "void", "FrameLowering", "::", "replaceAdjDynAllocPseudo", "(", "MachineFunction", "&", "MF", ")", "const", "{"], "ground_truth": ["}"], "File": "Cpu0FrameLowering3", "Func": "replaceAdjDynAllocPseudo", "Target": "Cpu0", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 189418, "Length": 12, "Cover_Rate": 1.0} {"Template_token": ["", "void", "FrameLowering", "::", "replaceAdjDynAllocPseudo", "(", "MachineFunction", "&", "MF", ")", "const", "{"], "ground_truth": ["}"], "File": "Cpu0FrameLowering3", "Func": "replaceAdjDynAllocPseudo", "Target": "Cpu0", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 189419, "Length": 12, "Cover_Rate": 1.0} {"Template_token": ["", "explicit", "FrameLowering", "(", "const", "Subtarget", "&", "sti", ",", "unsigned", "Alignment", ")", ":", "TargetFrameLowering", "(", "StackGrowsDown", ",", "Alignment", ",", "", ",", "Alignment", ")", ",", "STI", "(", "sti", ")", "{"], "ground_truth": ["}"], "File": "Cpu0FrameLowering4", "Func": "Cpu0FrameLowering", "Target": "Cpu0", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 189420, "Length": 29, "Cover_Rate": 1.0} {"Template_token": ["", "explicit", "FrameLowering", "(", "const", "Subtarget", "&", "sti", ",", "unsigned", "Alignment", ")", ":", "TargetFrameLowering", "(", "StackGrowsDown", ",", "Alignment", ",", "", ",", "Alignment", ")", ",", "STI", "(", "sti", ")", "{"], "ground_truth": ["}"], "File": "Cpu0FrameLowering4", "Func": "Cpu0FrameLowering", "Target": "Cpu0", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 189421, "Length": 29, "Cover_Rate": 1.0} {"Template_token": ["", "MachineBasicBlock", "::", "iterator", "FrameLowering", "::", "eliminateCallFramePseudoInstr", "(", "MachineFunction", "&", "MF", ",", "MachineBasicBlock", "&", "MBB", ",", "MachineBasicBlock", "::", "iterator", "I", ")", "const", "{", "return", "MBB", ".", "erase", "(", "I", ")", ";"], "ground_truth": ["}"], "File": "Cpu0FrameLowering4", "Func": "eliminateCallFramePseudoInstr", "Target": "Cpu0", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 189422, "Length": 31, "Cover_Rate": 1.0} {"Template_token": ["", "eliminateCallFramePseudoInstr", "(", "MachineFunction", "&", "MF", ",", "MachineBasicBlock", "&", "MBB", ",", "MachineBasicBlock", "::", "iterator", "I", ")", "const", "{", "return", "MBB", ".", "erase", "(", "I", ")", ";"], "ground_truth": ["}"], "File": "Cpu0FrameLowering4", "Func": "eliminateCallFramePseudoInstr", "Target": "Cpu0", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 189423, "Length": 26, "Cover_Rate": 0.8387096774193549} {"Template_token": ["", "const", "MachineFrameInfo", "&", "MFI", "=", "MF", ".", "getFrameInfo", "(", ")", ";", "const", "TargetRegisterInfo", "*", "TRI", "=", "STI", ".", "getRegisterInfo", "(", ")", ";"], "ground_truth": ["return", "MF", ".", "getTarget", "(", ")", ".", "Options", ".", "DisableFramePointerElim", "(", "MF", ")", "||", "MFI", ".", "hasVarSizedObjects", "(", ")", "||", "MFI", ".", "isFrameAddressTaken", "(", ")", "||", "TRI", "->", "needsStackRealignment", "(", "MF", ")", ";"], "File": "Cpu0FrameLowering4", "Func": "hasFP", "Target": "Cpu0", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 189424, "Length": 55, "Cover_Rate": 0.8088235294117647} {"Template_token": ["", "return", "MF", ".", "getTarget", "(", ")", ".", "Options", ".", "DisableFramePointerElim", "(", "MF", ")", "||", "MFI", ".", "hasVarSizedObjects", "(", ")", "||", "MFI", ".", "isFrameAddressTaken", "(", ")", "||", "TRI", "->", "needsStackRealignment", "(", "MF", ")", ";"], "ground_truth": ["}"], "File": "Cpu0FrameLowering4", "Func": "hasFP", "Target": "Cpu0", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 189425, "Length": 34, "Cover_Rate": 0.5} {"Template_token": ["", "explicit", "FrameLowering", "(", "const", "Subtarget", "&", "sti", ",", "unsigned", "Alignment", ")", ":", "TargetFrameLowering", "(", "StackGrowsDown", ",", "Alignment", ",", "", ",", "Alignment", ")", ",", "STI", "(", "sti", ")", "{"], "ground_truth": ["}"], "File": "Cpu0FrameLowering", "Func": "Cpu0FrameLowering", "Target": "Cpu0", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 189426, "Length": 29, "Cover_Rate": 1.0} {"Template_token": ["", "explicit", "FrameLowering", "(", "const", "Subtarget", "&", "sti", ",", "unsigned", "Alignment", ")", ":", "TargetFrameLowering", "(", "StackGrowsDown", ",", "Alignment", ",", "", ",", "Alignment", ")", ",", "STI", "(", "sti", ")", "{"], "ground_truth": ["}"], "File": "Cpu0FrameLowering", "Func": "Cpu0FrameLowering", "Target": "Cpu0", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 189427, "Length": 29, "Cover_Rate": 1.0} {"Template_token": ["", "return", "llvm", "::", "createSEFrameLowering", "(", "ST", ")", ";"], "ground_truth": ["}"], "File": "Cpu0FrameLowering", "Func": "create", "Target": "Cpu0", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 189428, "Length": 9, "Cover_Rate": 0.4090909090909091} {"Template_token": ["", "if", "(", "I", "->", "getOpcode", "(", ")", "==", "", ")", "Amount", "=", "-", "Amount", ";", "STI", ".", "getInstrInfo", "(", ")", "->", "adjustStackPtr", "(", "SP", ",", "Amount", ",", "MBB", ",", "I", ")", ";", "}", "return", "MBB", ".", "erase", "(", "I", ")", ";"], "ground_truth": ["}"], "File": "Cpu0FrameLowering", "Func": "eliminateCallFramePseudoInstr", "Target": "Cpu0", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 189430, "Length": 42, "Cover_Rate": 0.4375} {"Template_token": ["", "bool", "FrameLowering", "::", "hasFP", "(", "const", "MachineFunction", "&", "MF", ")", "const", "{", "const", "MachineFrameInfo", "*", "MFI", "=", "&", "MF", ".", "getFrameInfo", "(", ")", ";"], "ground_truth": ["const", "TargetRegisterInfo", "*", "TRI", "=", "STI", ".", "getRegisterInfo", "(", ")", ";"], "File": "Cpu0FrameLowering", "Func": "hasFP", "Target": "Cpu0", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 189431, "Length": 35, "Cover_Rate": 0.5072463768115942} {"Template_token": ["", "const", "TargetRegisterInfo", "*", "TRI", "=", "STI", ".", "getRegisterInfo", "(", ")", ";", "return", "MF", ".", "getTarget", "(", ")", ".", "Options", ".", "DisableFramePointerElim", "(", "MF", ")", "||", "MFI", "->", "hasVarSizedObjects", "(", ")", "||", "MFI", "->", "isFrameAddressTaken", "(", ")", "||", "TRI", "->", "needsStackRealignment", "(", "MF", ")", ";"], "ground_truth": ["}"], "File": "Cpu0FrameLowering", "Func": "hasFP", "Target": "Cpu0", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 189432, "Length": 45, "Cover_Rate": 0.6521739130434783} {"Template_token": ["", "case", "MCSymbolRefExpr", "::", "VK_None", ":", "break", ";", "case", "MCSymbolRefExpr", "::", "VK__GPREL", ":", "OS", "<<", "", ";", "break", ";", "case", "MCSymbolRefExpr", "::", "VK__GOT_CALL", ":", "OS", "<<", "", ";", "break", ";", "case", "MCSymbolRefExpr", "::", "VK__GOT16", ":", "OS", "<<", "", ";", "break", ";", "case", "MCSymbolRefExpr", "::", "VK__GOT", ":", "OS", "<<", "", ";", "break", ";", "case", "MCSymbolRefExpr", "::", "VK__ABS_HI", ":", "OS", "<<", "", ";", "break", ";", "case", "MCSymbolRefExpr", "::", "VK__ABS_LO", ":", "OS", "<<", "", ";", "break", ";", "case", "MCSymbolRefExpr", "::", "VK__GOT_HI16", ":", "OS", "<<", "", ";", "break", ";", "case", "MCSymbolRefExpr", "::", "VK__GOT_LO16", ":", "OS", "<<", "", ";", "break", ";", "}", "OS", "<<", "SRE", "->", "getSymbol", "(", ")", ";", "if", "(", "Offset", ")", "{", "if", "(", "Offset", ">", "", ")", "OS", "<<", "'+'", ";", "OS", "<<", "Offset", ";", "}", "if", "(", "(", "Kind", "==", "MCSymbolRefExpr", "::", "VK__GPOFF_HI", ")", "||", "(", "Kind", "==", "MCSymbolRefExpr", "::", "VK__GPOFF_LO", ")", ")", "OS", "<<", "", ";"], "ground_truth": ["else", "if", "(", "Kind", "!=", "MCSymbolRefExpr", "::", "VK_None", ")", "OS", "<<", "')'", ";"], "File": "Cpu0InstPrinter1", "Func": "printExpr", "Target": "Cpu0", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 189433, "Length": 159, "Cover_Rate": 0.5389830508474577} {"Template_token": ["", "int", "Offset", "=", "", ";", "const", "MCSymbolRefExpr", "*", "SRE", ";", "if", "(", "const", "MCBinaryExpr", "*", "BE", "=", "dyn_cast", "<", "MCBinaryExpr", ">", "(", "Expr", ")", ")", "{", "SRE", "=", "dyn_cast", "<", "MCSymbolRefExpr", ">", "(", "BE", "->", "getLHS", "(", ")", ")", ";", "const", "MCConstantExpr", "*", "CE", "=", "dyn_cast", "<", "MCConstantExpr", ">", "(", "BE", "->", "getRHS", "(", ")", ")", ";", "assert", "(", "SRE", "&&", "CE", "&&", "", ")", ";", "Offset", "=", "CE", "->", "getValue", "(", ")", ";", "}", "else", "if", "(", "!", "(", "SRE", "=", "dyn_cast", "<", "MCSymbolRefExpr", ">", "(", "Expr", ")", ")", ")", "assert", "(", "false", "&&", "", ")", ";", "MCSymbolRefExpr", "::", "VariantKind", "Kind", "=", "SRE", "->", "getKind", "(", ")", ";", "switch", "(", "Kind", ")", "{", "default", ":", "llvm_unreachable", "(", "", ")", ";", "case", "MCSymbolRefExpr", "::", "VK_None", ":", "break", ";", "case", "MCSymbolRefExpr", "::", "VK__GPREL", ":", "OS", "<<", "", ";", "break", ";", "case", "MCSymbolRefExpr", "::", "VK__GOT_CALL", ":", "OS", "<<", "", ";", "break", ";", "case", "MCSymbolRefExpr", "::", "VK__GOT16", ":", "OS", "<<", "", ";", "break", ";", "case", "MCSymbolRefExpr", "::", "VK__GOT", ":", "OS", "<<", "", ";", "break", ";", "case", "MCSymbolRefExpr", "::", "VK__ABS_HI", ":", "OS", "<<", "", ";", "break", ";", "case", "MCSymbolRefExpr", "::", "VK__ABS_LO", ":", "OS", "<<", "", ";", "break", ";"], "ground_truth": ["case", "MCSymbolRefExpr", "::", "VK__GOT_HI16", ":", "OS", "<<", "", ";", "break", ";"], "File": "Cpu0InstPrinter1", "Func": "printExpr", "Target": "Cpu0", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 189434, "Length": 205, "Cover_Rate": 0.6949152542372882} {"Template_token": ["", "void", "InstPrinter", "::", "printInst", "(", "const", "MCInst", "*", "MI", ",", "raw_ostream", "&", "O", ",", "StringRef", "Annot", ")", "{", "printInstruction", "(", "MI", ",", "O", ")", ";", "O", "<<", "", ";"], "ground_truth": ["printAnnotation", "(", "O", ",", "Annot", ")", ";"], "File": "Cpu0InstPrinter1", "Func": "printInst", "Target": "Cpu0", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 189436, "Length": 36, "Cover_Rate": 0.972972972972973} {"Template_token": ["", "printMemOperand", "(", "const", "MCInst", "*", "MI", ",", "int", "opNum", ",", "raw_ostream", "&", "O", ")", "{"], "ground_truth": ["O", "<<", "", ";"], "File": "Cpu0InstPrinter1", "Func": "printMemOperand", "Target": "Cpu0", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 189437, "Length": 19, "Cover_Rate": 0.37254901960784315} {"Template_token": ["", "O", "<<", "", ";", "printOperand", "(", "MI", ",", "opNum", "+", "", ",", "O", ")", ";", "O", "<<", "", ";", "printOperand", "(", "MI", ",", "opNum", ",", "O", ")", ";", "O", "<<", "", ";"], "ground_truth": ["}"], "File": "Cpu0InstPrinter1", "Func": "printMemOperand", "Target": "Cpu0", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 189438, "Length": 33, "Cover_Rate": 0.6470588235294118} {"Template_token": ["", "assert", "(", "strcmp", "(", "Code", ",", "", ")", "==", "", ")", ";", "for", "(", "unsigned", "i", "=", "", ";", "i", "<", "MI", "->", "getNumOperands", "(", ")", "-", "", ";", "i", "++", ")", "{", "if", "(", "i", "!=", "", ")", "{", "O", "<<", "", ";"], "ground_truth": ["}"], "File": "Cpu0InstPrinter1", "Func": "PrintSpecial", "Target": "Cpu0", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 189439, "Length": 45, "Cover_Rate": 0.5921052631578947} {"Template_token": ["", "for", "(", "unsigned", "i", "=", "", ";", "i", "<", "MI", "->", "getNumOperands", "(", ")", "-", "", ";", "i", "++", ")", "{", "if", "(", "i", "!=", "", ")", "{", "O", "<<", "", ";", "}", "O", "<<", "", "<<", "i", "<<", "", ";"], "ground_truth": ["}"], "File": "Cpu0InstPrinter1", "Func": "PrintSpecial", "Target": "Cpu0", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 189440, "Length": 42, "Cover_Rate": 0.5526315789473685} {"Template_token": ["", "case", "MCSymbolRefExpr", "::", "VK__ABS_HI", ":", "OS", "<<", "", ";", "break", ";", "case", "MCSymbolRefExpr", "::", "VK__ABS_LO", ":", "OS", "<<", "", ";", "break", ";", "}", "OS", "<<", "SRE", "->", "getSymbol", "(", ")", ";", "if", "(", "Offset", ")", "{", "if", "(", "Offset", ">", "", ")", "OS", "<<", "'+'", ";", "OS", "<<", "Offset", ";", "}", "if", "(", "(", "Kind", "==", "MCSymbolRefExpr", "::", "VK__GPOFF_HI", ")", "||", "(", "Kind", "==", "MCSymbolRefExpr", "::", "VK__GPOFF_LO", ")", ")", "OS", "<<", "", ";", "else", "if", "(", "Kind", "!=", "MCSymbolRefExpr", "::", "VK_None", ")", "OS", "<<", "')'", ";"], "ground_truth": ["}"], "File": "Cpu0InstPrinter2", "Func": "printExpr", "Target": "Cpu0", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 189441, "Length": 87, "Cover_Rate": 0.31868131868131866} {"Template_token": ["", "void", "InstPrinter", "::", "printMemOperand", "(", "const", "MCInst", "*", "MI", ",", "int", "OpNum", ",", "raw_ostream", "&", "O", ")", "{", "printOperand", "(", "MI", ",", "OpNum", "+", "", ",", "O", ")", ";", "O", "<<", "", ";"], "ground_truth": ["printOperand", "(", "MI", ",", "OpNum", ",", "O", ")", ";"], "File": "Cpu0InstPrinter3", "Func": "printMemOperand", "Target": "Cpu0", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 189443, "Length": 42, "Cover_Rate": 0.8936170212765957} {"Template_token": ["", "void", "InstPrinter", "::", "printMemOperand", "(", "const", "MCInst", "*", "MI", ",", "int", "OpNum", ",", "raw_ostream", "&", "O", ")", "{", "printOperand", "(", "MI", ",", "OpNum", "+", "", ",", "O", ")", ";", "O", "<<", "", ";", "printOperand", "(", "MI", ",", "OpNum", ",", "O", ")", ";"], "ground_truth": ["O", "<<", "", ";"], "File": "Cpu0InstPrinter3", "Func": "printMemOperand", "Target": "Cpu0", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 189444, "Length": 46, "Cover_Rate": 0.9787234042553191} {"Template_token": ["", "void", "InstPrinter", "::", "printMemOperandEA", "(", "const", "MCInst", "*", "MI", ",", "int", "opNum", ",", "raw_ostream", "&", "O", ")", "{", "printOperand", "(", "MI", ",", "opNum", ",", "O", ")", ";", "O", "<<", "", ";", "printOperand", "(", "MI", ",", "opNum", "+", "", ",", "O", ")", ";"], "ground_truth": ["return", ";"], "File": "Cpu0InstPrinter3", "Func": "printMemOperandEA", "Target": "Cpu0", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 189445, "Length": 44, "Cover_Rate": 0.9777777777777777} {"Template_token": ["", "void", "InstPrinter", "::", "printUnsignedImm", "(", "const", "MCInst", "*", "MI", ",", "int", "OpNum", ",", "raw_ostream", "&", "O", ")", "{", "const", "MCOperand", "&", "MO", "=", "MI", "->", "getOperand", "(", "OpNum", ")", ";", "if", "(", "MO", ".", "isImm", "(", ")", ")", "O", "<<", "(", "unsigned", "short", "int", ")", "MO", ".", "getImm", "(", ")", ";"], "ground_truth": ["else", "printOperand", "(", "MI", ",", "OpNum", ",", "O", ")", ";"], "File": "Cpu0InstPrinter3", "Func": "printUnsignedImm", "Target": "Cpu0", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 189446, "Length": 61, "Cover_Rate": 0.9838709677419355} {"Template_token": ["", "void", "InstPrinter", "::", "printUnsignedImm", "(", "const", "MCInst", "*", "MI", ",", "int", "OpNum", ",", "raw_ostream", "&", "O", ")", "{", "const", "MCOperand", "&", "MO", "=", "MI", "->", "getOperand", "(", "OpNum", ")", ";", "if", "(", "MO", ".", "isImm", "(", ")", ")", "O", "<<", "(", "unsigned", "short", "int", ")", "MO", ".", "getImm", "(", ")", ";"], "ground_truth": ["else", "printOperand", "(", "MI", ",", "OpNum", ",", "O", ")", ";"], "File": "Cpu0InstPrinter3", "Func": "printUnsignedImm", "Target": "Cpu0", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 189447, "Length": 61, "Cover_Rate": 0.9838709677419355} {"Template_token": ["", "InstPrinter", "(", "const", "MCAsmInfo", "&", "MAI", ",", "const", "MCInstrInfo", "&", "MII", ",", "const", "MCRegisterInfo", "&", "MRI", ")", ":", "MCInstPrinter", "(", "MAI", ",", "MII", ",", "MRI", ")", "{"], "ground_truth": ["}"], "File": "Cpu0InstPrinter", "Func": "Cpu0InstPrinter", "Target": "Cpu0", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 189448, "Length": 28, "Cover_Rate": 1.0} {"Template_token": ["", "InstPrinter", "(", "const", "MCAsmInfo", "&", "MAI", ",", "const", "MCInstrInfo", "&", "MII", ",", "const", "MCRegisterInfo", "&", "MRI", ")", ":", "MCInstPrinter", "(", "MAI", ",", "MII", ",", "MRI", ")", "{"], "ground_truth": ["}"], "File": "Cpu0InstPrinter", "Func": "Cpu0InstPrinter", "Target": "Cpu0", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 189449, "Length": 28, "Cover_Rate": 1.0} {"Template_token": ["", "void", "InstPrinter", "::", "printInst", "(", "const", "MCInst", "*", "MI", ",", "raw_ostream", "&", "O", ",", "StringRef", "Annot", ",", "const", "MCSubtargetInfo", "&", "STI", ")", "{", "if", "(", "!", "printAliasInstr", "(", "MI", ",", "O", ")", ")", "printInstruction", "(", "MI", ",", "O", ")", ";", "printAnnotation", "(", "O", ",", "Annot", ")", ";"], "ground_truth": ["}"], "File": "Cpu0InstPrinter", "Func": "printInst", "Target": "Cpu0", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 189450, "Length": 48, "Cover_Rate": 1.0} {"Template_token": ["", "void", "InstPrinter", "::", "printInst", "(", "const", "MCInst", "*", "MI", ",", "raw_ostream", "&", "O", ",", "StringRef", "Annot", ",", "const", "MCSubtargetInfo", "&", "STI", ")", "{"], "ground_truth": ["if", "(", "!", "printAliasInstr", "(", "MI", ",", "O", ")", ")", "printInstruction", "(", "MI", ",", "O", ")", ";"], "File": "Cpu0InstPrinter", "Func": "printInst", "Target": "Cpu0", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 189451, "Length": 40, "Cover_Rate": 0.8333333333333334} {"Template_token": ["", "printOperand", "(", "MI", ",", "opNum", "+", "", ",", "O", ")", ";", "O", "<<", "", ";"], "ground_truth": ["printOperand", "(", "MI", ",", "opNum", ",", "O", ")", ";"], "File": "Cpu0InstPrinter", "Func": "printMemOperand", "Target": "Cpu0", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 189452, "Length": 24, "Cover_Rate": 0.5106382978723404} {"Template_token": ["", "printOperand", "(", "MI", ",", "opNum", "+", "", ",", "O", ")", ";"], "ground_truth": ["O", "<<", "", ";"], "File": "Cpu0InstPrinter", "Func": "printMemOperand", "Target": "Cpu0", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 189453, "Length": 15, "Cover_Rate": 0.3191489361702128} {"Template_token": ["", "if", "(", "Op", ".", "isReg", "(", ")", ")", "{", "printRegName", "(", "O", ",", "Op", ".", "getReg", "(", ")", ")", ";", "return", ";", "}", "if", "(", "Op", ".", "isImm", "(", ")", ")", "{", "O", "<<", "Op", ".", "getImm", "(", ")", ";", "return", ";"], "ground_truth": ["}"], "File": "Cpu0InstPrinter", "Func": "printOperand", "Target": "Cpu0", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 189454, "Length": 43, "Cover_Rate": 0.42574257425742573} {"Template_token": ["", "const", "MCOperand", "&", "Op", "=", "MI", "->", "getOperand", "(", "OpNo", ")", ";", "if", "(", "Op", ".", "isReg", "(", ")", ")", "{", "printRegName", "(", "O", ",", "Op", ".", "getReg", "(", ")", ")", ";", "return", ";", "}", "if", "(", "Op", ".", "isImm", "(", ")", ")", "{", "O", "<<", "Op", ".", "getImm", "(", ")", ";"], "ground_truth": ["return", ";"], "File": "Cpu0InstPrinter", "Func": "printOperand", "Target": "Cpu0", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 189455, "Length": 54, "Cover_Rate": 0.5346534653465347} {"Template_token": ["", "OS", "<<", "'$'", "<<", "StringRef", "(", "getRegisterName", "(", "RegNo", ")", ")", ".", "lower", "(", ")", ";"], "ground_truth": ["}"], "File": "Cpu0InstPrinter", "Func": "printRegName", "Target": "Cpu0", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 189456, "Length": 17, "Cover_Rate": 0.5483870967741935} {"Template_token": ["", "OS", "<<", "'$'", "<<", "StringRef", "(", "getRegisterName", "(", "RegNo", ")", ")", ".", "lower", "(", ")", ";"], "ground_truth": ["}"], "File": "Cpu0InstPrinter", "Func": "printRegName", "Target": "Cpu0", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 189457, "Length": 17, "Cover_Rate": 0.5483870967741935} {"Template_token": ["", "InstrInfo", "::", "InstrInfo", "(", "TargetMachine", "&", "tm", ")", ":", "GenInstrInfo", "(", "", ",", "", ")", ",", "TM", "(", "tm", ")", ",", "RI", "(", "*", "TM", ".", "getSubtargetImpl", "(", ")", ",", "*", "this", ")", "{"], "ground_truth": ["}"], "File": "Cpu0InstrInfo1", "Func": "Cpu0InstrInfo", "Target": "Cpu0", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 189460, "Length": 35, "Cover_Rate": 0.8974358974358975} {"Template_token": ["", "InstrInfo", "::", "InstrInfo", "(", "TargetMachine", "&", "tm", ")", ":", "GenInstrInfo", "(", "", ",", "", ")", ",", "TM", "(", "tm", ")", ",", "RI", "(", "*", "TM", ".", "getSubtargetImpl", "(", ")", ",", "*", "this", ")", "{"], "ground_truth": ["}"], "File": "Cpu0InstrInfo1", "Func": "Cpu0InstrInfo", "Target": "Cpu0", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 189461, "Length": 35, "Cover_Rate": 0.8974358974358975} {"Template_token": ["", "MachineInstr", "*", "InstrInfo", "::", "emitFrameIndexDebugValue", "(", "MachineFunction", "&", "MF", ",", "int", "FrameIx", ",", "uint64_t", "Offset", ",", "const", "MDNode", "*", "MDPtr", ",", "DebugLoc", "DL", ")", "const", "{", "MachineInstrBuilder", "MIB", "=", "BuildMI", "(", "MF", ",", "DL", ",", "get", "(", "", ")", ")", ".", "addFrameIndex", "(", "FrameIx", ")", ".", "addImm", "(", "", ")", ".", "addImm", "(", "Offset", ")", ".", "addMetadata", "(", "MDPtr", ")", ";", "return", "&", "*", "MIB", ";"], "ground_truth": ["}"], "File": "Cpu0InstrInfo1", "Func": "emitFrameIndexDebugValue", "Target": "Cpu0", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 189463, "Length": 67, "Cover_Rate": 0.9710144927536232} {"Template_token": ["", "switch", "(", "MI", "->", "getDesc", "(", ")", ".", "getOpcode", "(", ")", ")", "{", "default", ":"], "ground_truth": ["return", "false", ";"], "File": "Cpu0InstrInfo1", "Func": "expandPostRAPseudo", "Target": "Cpu0", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 189464, "Length": 18, "Cover_Rate": 0.33962264150943394} {"Template_token": ["", "MachineBasicBlock", "&", "MBB", "=", "*", "MI", "->", "getParent", "(", ")", ";", "switch", "(", "MI", "->", "getDesc", "(", ")", ".", "getOpcode", "(", ")", ")", "{", "default", ":", "return", "false", ";", "}", "MBB", ".", "erase", "(", "MI", ")", ";", "return", "true", ";"], "ground_truth": ["}"], "File": "Cpu0InstrInfo1", "Func": "expandPostRAPseudo", "Target": "Cpu0", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 189465, "Length": 41, "Cover_Rate": 0.7735849056603774} {"Template_token": ["", "MachineFrameInfo", "&", "MFI", "=", "*", "MF", ".", "getFrameInfo", "(", ")", ";", "unsigned", "Align", "=", "MFI", ".", "getObjectAlignment", "(", "FI", ")", ";", "return", "MF", ".", "getMachineMemOperand", "(", "MachinePointerInfo", "::", "getFixedStack", "(", "FI", ")", ",", "Flag", ",", "MFI", ".", "getObjectSize", "(", "FI", ")", ",", "Align", ")", ";"], "ground_truth": ["}"], "File": "Cpu0InstrInfo1", "Func": "GetMemOperand", "Target": "Cpu0", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 189466, "Length": 46, "Cover_Rate": 0.6301369863013698} {"Template_token": ["", "return", "MF", ".", "getMachineMemOperand", "(", "MachinePointerInfo", "::", "getFixedStack", "(", "FI", ")", ",", "Flag", ",", "MFI", ".", "getObjectSize", "(", "FI", ")", ",", "Align", ")", ";"], "ground_truth": ["}"], "File": "Cpu0InstrInfo1", "Func": "GetMemOperand", "Target": "Cpu0", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 189467, "Length": 25, "Cover_Rate": 0.3424657534246575} {"Template_token": ["", "const", "RegisterInfo", "&", "InstrInfo", "::", "getRegisterInfo", "(", ")", "const", "{", "return", "RI", ";"], "ground_truth": ["}"], "File": "Cpu0InstrInfo1", "Func": "getRegisterInfo", "Target": "Cpu0", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 189468, "Length": 14, "Cover_Rate": 1.0} {"Template_token": ["", "const", "RegisterInfo", "&", "InstrInfo", "::", "getRegisterInfo", "(", ")", "const", "{"], "ground_truth": ["return", "RI", ";"], "File": "Cpu0InstrInfo1", "Func": "getRegisterInfo", "Target": "Cpu0", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 189469, "Length": 13, "Cover_Rate": 0.9285714285714286} {"Template_token": ["", "if", "(", "I", "!=", "MBB", ".", "end", "(", ")", ")", "DL", "=", "I", "->", "getDebugLoc", "(", ")", ";", "MachineMemOperand", "*", "MMO", "=", "GetMemOperand", "(", "MBB", ",", "FI", ",", "MachineMemOperand", "::", "MOLoad", ")", ";", "unsigned", "Opc", "=", "", ";", "if", "(", "", ".", "hasSubClassEq", "(", "RC", ")", ")", "Opc", "=", "", ";", "assert", "(", "Opc", "&&", "", ")", ";"], "ground_truth": ["BuildMI", "(", "MBB", ",", "I", ",", "DL", ",", "get", "(", "Opc", ")", ",", "DestReg", ")", ".", "addFrameIndex", "(", "FI", ")", ".", "addImm", "(", "", ")", ".", "addMemOperand", "(", "MMO", ")", ";"], "File": "Cpu0InstrInfo1", "Func": "loadRegFromStackSlot", "Target": "Cpu0", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 189470, "Length": 89, "Cover_Rate": 0.689922480620155} {"Template_token": ["", "if", "(", "", ".", "hasSubClassEq", "(", "RC", ")", ")", "Opc", "=", "", ";", "assert", "(", "Opc", "&&", "", ")", ";"], "ground_truth": ["BuildMI", "(", "MBB", ",", "I", ",", "DL", ",", "get", "(", "Opc", ")", ",", "DestReg", ")", ".", "addFrameIndex", "(", "FI", ")", ".", "addImm", "(", "", ")", ".", "addMemOperand", "(", "MMO", ")", ";"], "File": "Cpu0InstrInfo1", "Func": "loadRegFromStackSlot", "Target": "Cpu0", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 189471, "Length": 51, "Cover_Rate": 0.3953488372093023} {"Template_token": ["", "if", "(", "I", "!=", "MBB", ".", "end", "(", ")", ")", "DL", "=", "I", "->", "getDebugLoc", "(", ")", ";", "MachineMemOperand", "*", "MMO", "=", "GetMemOperand", "(", "MBB", ",", "FI", ",", "MachineMemOperand", "::", "MOStore", ")", ";", "unsigned", "Opc", "=", "", ";", "if", "(", "", ".", "hasSubClassEq", "(", "RC", ")", ")", "Opc", "=", "", ";", "assert", "(", "Opc", "&&", "", ")", ";", "BuildMI", "(", "MBB", ",", "I", ",", "DL", ",", "get", "(", "Opc", ")", ")", ".", "addReg", "(", "SrcReg", ",", "getKillRegState", "(", "isKill", ")", ")", ".", "addFrameIndex", "(", "FI", ")", ".", "addImm", "(", "", ")", ".", "addMemOperand", "(", "MMO", ")", ";"], "ground_truth": ["}"], "File": "Cpu0InstrInfo1", "Func": "storeRegToStackSlot", "Target": "Cpu0", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 189472, "Length": 98, "Cover_Rate": 0.7} {"Template_token": ["", "if", "(", "", ".", "hasSubClassEq", "(", "RC", ")", ")", "Opc", "=", "", ";", "assert", "(", "Opc", "&&", "", ")", ";"], "ground_truth": ["BuildMI", "(", "MBB", ",", "I", ",", "DL", ",", "get", "(", "Opc", ")", ")", ".", "addReg", "(", "SrcReg", ",", "getKillRegState", "(", "isKill", ")", ")", ".", "addFrameIndex", "(", "FI", ")", ".", "addImm", "(", "", ")", ".", "addMemOperand", "(", "MMO", ")", ";"], "File": "Cpu0InstrInfo1", "Func": "storeRegToStackSlot", "Target": "Cpu0", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 189473, "Length": 59, "Cover_Rate": 0.42142857142857143} {"Template_token": ["", "unsigned", "Opc", "=", "", ",", "ZeroReg", "=", "", ";", "if", "(", "", ".", "contains", "(", "DestReg", ")", ")", "{", "if", "(", "", ".", "contains", "(", "SrcReg", ")", ")", "Opc", "=", "", ",", "ZeroReg", "=", "", ";", "else", "if", "(", "SrcReg", "==", "", ")", "Opc", "=", "", ",", "SrcReg", "=", "", ";", "else", "if", "(", "SrcReg", "==", "", ")", "Opc", "=", "", ",", "SrcReg", "=", "", ";", "else", "if", "(", "SrcReg", "==", "", ")", "Opc", "=", "", ",", "ZeroReg", "=", "", ";", "}", "else", "if", "(", "", ".", "contains", "(", "SrcReg", ")", ")", "{", "if", "(", "DestReg", "==", "", ")", "Opc", "=", "", ",", "DestReg", "=", "", ";", "else", "if", "(", "DestReg", "==", "", ")", "Opc", "=", "", ",", "DestReg", "=", "", ";", "else", "if", "(", "DestReg", "==", "", ")", "Opc", "=", "", ",", "ZeroReg", "=", "", ";", "}", "assert", "(", "Opc", "&&", "", ")", ";", "MachineInstrBuilder", "MIB", "=", "BuildMI", "(", "MBB", ",", "I", ",", "DL", ",", "get", "(", "Opc", ")", ")", ";", "if", "(", "DestReg", ")", "MIB", ".", "addReg", "(", "DestReg", ",", "RegState", "::", "Define", ")", ";", "if", "(", "ZeroReg", ")", "MIB", ".", "addReg", "(", "ZeroReg", ")", ";", "if", "(", "SrcReg", ")", "MIB", ".", "addReg", "(", "SrcReg", ",", "getKillRegState", "(", "KillSrc", ")", ")", ";"], "ground_truth": ["}"], "File": "Cpu0InstrInfo2", "Func": "copyPhysReg", "Target": "Cpu0", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 189474, "Length": 205, "Cover_Rate": 0.7564575645756457} {"Template_token": ["", "if", "(", "", ".", "contains", "(", "DestReg", ")", ")", "{", "if", "(", "", ".", "contains", "(", "SrcReg", ")", ")", "Opc", "=", "", ",", "ZeroReg", "=", "", ";", "else", "if", "(", "SrcReg", "==", "", ")", "Opc", "=", "", ",", "SrcReg", "=", "", ";", "else", "if", "(", "SrcReg", "==", "", ")", "Opc", "=", "", ",", "SrcReg", "=", "", ";", "else", "if", "(", "SrcReg", "==", "", ")", "Opc", "=", "", ",", "ZeroReg", "=", "", ";", "}", "else", "if", "(", "", ".", "contains", "(", "SrcReg", ")", ")", "{", "if", "(", "DestReg", "==", "", ")", "Opc", "=", "", ",", "DestReg", "=", "", ";"], "ground_truth": ["else", "if", "(", "DestReg", "==", "", ")", "Opc", "=", "", ",", "DestReg", "=", "", ";"], "File": "Cpu0InstrInfo2", "Func": "copyPhysReg", "Target": "Cpu0", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 189475, "Length": 113, "Cover_Rate": 0.41697416974169743} {"Template_token": ["", "InstrInfo", "::", "InstrInfo", "(", ")", ":", "GenInstrInfo", "(", ")", "{"], "ground_truth": ["}"], "File": "Cpu0InstrInfo3", "Func": "Cpu0InstrInfo", "Target": "Cpu0", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 189478, "Length": 11, "Cover_Rate": 1.0} {"Template_token": ["", "InstrInfo", "::", "InstrInfo", "(", ")", ":", "GenInstrInfo", "(", ")", "{"], "ground_truth": ["}"], "File": "Cpu0InstrInfo3", "Func": "Cpu0InstrInfo", "Target": "Cpu0", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 189479, "Length": 11, "Cover_Rate": 1.0} {"Template_token": ["", "return", "getInlineAsmLength", "(", "AsmStr", ",", "*", "MF", "->", "getTarget", "(", ")", ".", "getMCAsmInfo", "(", ")", ")", ";", "}", "default", ":"], "ground_truth": ["return", "MI", ".", "getDesc", "(", ")", ".", "getSize", "(", ")", ";"], "File": "Cpu0InstrInfo4", "Func": "GetInstSizeInBytes", "Target": "Cpu0", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 189480, "Length": 31, "Cover_Rate": 0.34065934065934067} {"Template_token": ["", "const", "char", "*", "AsmStr", "=", "MI", ".", "getOperand", "(", "", ")", ".", "getSymbolName", "(", ")", ";"], "ground_truth": ["return", "getInlineAsmLength", "(", "AsmStr", ",", "*", "MF", "->", "getTarget", "(", ")", ".", "getMCAsmInfo", "(", ")", ")", ";"], "File": "Cpu0InstrInfo4", "Func": "GetInstSizeInBytes", "Target": "Cpu0", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 189481, "Length": 33, "Cover_Rate": 0.3626373626373626} {"Template_token": ["", "void", "InstrInfo", "::", "anchor", "(", ")", "{"], "ground_truth": ["}"], "File": "Cpu0InstrInfo", "Func": "anchor", "Target": "Cpu0", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 189482, "Length": 8, "Cover_Rate": 1.0} {"Template_token": ["", "void", "InstrInfo", "::", "anchor", "(", ")", "{"], "ground_truth": ["}"], "File": "Cpu0InstrInfo", "Func": "anchor", "Target": "Cpu0", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 189483, "Length": 8, "Cover_Rate": 1.0} {"Template_token": ["", "InstrInfo", "::", "InstrInfo", "(", "const", "Subtarget", "&", "STI", ")", ":", "GenInstrInfo", "(", "", ",", "", ")", ",", "Subtarget", "(", "STI", ")", "{"], "ground_truth": ["}"], "File": "Cpu0InstrInfo", "Func": "Cpu0InstrInfo", "Target": "Cpu0", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 189484, "Length": 23, "Cover_Rate": 0.8518518518518519} {"Template_token": ["", "InstrInfo", "::", "InstrInfo", "(", "const", "Subtarget", "&", "STI", ")", ":", "GenInstrInfo", "(", "", ",", "", ")", ",", "Subtarget", "(", "STI", ")", "{"], "ground_truth": ["}"], "File": "Cpu0InstrInfo", "Func": "Cpu0InstrInfo", "Target": "Cpu0", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 189485, "Length": 23, "Cover_Rate": 0.8518518518518519} {"Template_token": ["", "const", "InstrInfo", "*", "InstrInfo", "::", "create", "(", "Subtarget", "&", "STI", ")", "{", "return", "llvm", "::", "createSEInstrInfo", "(", "STI", ")", ";"], "ground_truth": ["}"], "File": "Cpu0InstrInfo", "Func": "create", "Target": "Cpu0", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 189487, "Length": 21, "Cover_Rate": 1.0} {"Template_token": ["", "default", ":", "return", "MI", ".", "getDesc", "(", ")", ".", "getSize", "(", ")", ";", "}"], "ground_truth": ["}"], "File": "Cpu0InstrInfo", "Func": "GetInstSizeInBytes", "Target": "Cpu0", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 189488, "Length": 15, "Cover_Rate": 0.4166666666666667} {"Template_token": ["", "MachineMemOperand", "*", "InstrInfo", "::", "GetMemOperand", "(", "MachineBasicBlock", "&", "MBB", ",", "int", "FI", ",", "MachineMemOperand", "::", "Flags", "Flags", ")", "const", "{", "MachineFunction", "&", "MF", "=", "*", "MBB", ".", "getParent", "(", ")", ";", "MachineFrameInfo", "&", "MFI", "=", "MF", ".", "getFrameInfo", "(", ")", ";", "unsigned", "Align", "=", "MFI", ".", "getObjectAlignment", "(", "FI", ")", ";", "return", "MF", ".", "getMachineMemOperand", "(", "MachinePointerInfo", "::", "getFixedStack", "(", "MF", ",", "FI", ")", ",", "Flags", ",", "MFI", ".", "getObjectSize", "(", "FI", ")", ",", "Align", ")", ";"], "ground_truth": ["}"], "File": "Cpu0InstrInfo", "Func": "GetMemOperand", "Target": "Cpu0", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 189489, "Length": 78, "Cover_Rate": 1.0} {"Template_token": ["", "MachineFrameInfo", "&", "MFI", "=", "MF", ".", "getFrameInfo", "(", ")", ";", "unsigned", "Align", "=", "MFI", ".", "getObjectAlignment", "(", "FI", ")", ";", "return", "MF", ".", "getMachineMemOperand", "(", "MachinePointerInfo", "::", "getFixedStack", "(", "MF", ",", "FI", ")", ",", "Flags", ",", "MFI", ".", "getObjectSize", "(", "FI", ")", ",", "Align", ")", ";"], "ground_truth": ["}"], "File": "Cpu0InstrInfo", "Func": "GetMemOperand", "Target": "Cpu0", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 189490, "Length": 47, "Cover_Rate": 0.6025641025641025} {"Template_token": ["", "loadRegFromStack", "(", "MBB", ",", "MBBI", ",", "DestReg", ",", "FrameIndex", ",", "RC", ",", "TRI", ",", "", ")", ";"], "ground_truth": ["}"], "File": "Cpu0InstrInfo", "Func": "loadRegFromStackSlot", "Target": "Cpu0", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 189492, "Length": 18, "Cover_Rate": 0.3673469387755102} {"Template_token": ["", "storeRegToStack", "(", "MBB", ",", "MBBI", ",", "SrcReg", ",", "isKill", ",", "FrameIndex", ",", "RC", ",", "TRI", ",", "", ")", ";"], "ground_truth": ["}"], "File": "Cpu0InstrInfo", "Func": "storeRegToStackSlot", "Target": "Cpu0", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 189493, "Length": 20, "Cover_Rate": 0.37037037037037035} {"Template_token": ["", "void", "storeRegToStackSlot", "(", "MachineBasicBlock", "&", "MBB", ",", "MachineBasicBlock", "::", "iterator", "MBBI", ",", "unsigned", "SrcReg", ",", "bool", "isKill", ",", "int", "FrameIndex", ",", "const", "TargetRegisterClass", "*", "RC", ",", "const", "TargetRegisterInfo", "*", "TRI", ")", "const", "override", "{"], "ground_truth": ["storeRegToStack", "(", "MBB", ",", "MBBI", ",", "SrcReg", ",", "isKill", ",", "FrameIndex", ",", "RC", ",", "TRI", ",", "", ")", ";"], "File": "Cpu0InstrInfo", "Func": "storeRegToStackSlot", "Target": "Cpu0", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 189494, "Length": 53, "Cover_Rate": 0.9814814814814815} {"Template_token": ["", "explicit", "DAGToDAGISel", "(", "TargetMachine", "&", "tm", ")", ":", "SelectionDAGISel", "(", "tm", ")", "{"], "ground_truth": ["}"], "File": "Cpu0ISelDAGToDAG1", "Func": "Cpu0DAGToDAGISel", "Target": "Cpu0", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 189495, "Length": 14, "Cover_Rate": 1.0} {"Template_token": ["", "explicit", "DAGToDAGISel", "(", "TargetMachine", "&", "tm", ")", ":", "SelectionDAGISel", "(", "tm", ")", "{"], "ground_truth": ["}"], "File": "Cpu0ISelDAGToDAG1", "Func": "Cpu0DAGToDAGISel", "Target": "Cpu0", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 189496, "Length": 14, "Cover_Rate": 1.0} {"Template_token": ["", "unsigned", "GlobalBaseReg", "=", "MF", "->", "getInfo", "<", "FunctionInfo", ">", "(", ")", "->", "getGlobalBaseReg", "(", ")", ";", "return", "CurDAG", "->", "getRegister", "(", "GlobalBaseReg", ",", "TLI", ".", "getPointerTy", "(", ")", ")", ".", "getNode", "(", ")", ";"], "ground_truth": ["}"], "File": "Cpu0ISelDAGToDAG1", "Func": "getGlobalBaseReg", "Target": "Cpu0", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 189499, "Length": 35, "Cover_Rate": 0.813953488372093} {"Template_token": ["", "inline", "SDValue", "getImm", "(", "const", "SDNode", "*", "Node", ",", "unsigned", "Imm", ")", "{", "return", "CurDAG", "->", "getTargetConstant", "(", "Imm", ",", "Node", "->", "getValueType", "(", "", ")", ")", ";"], "ground_truth": ["}"], "File": "Cpu0ISelDAGToDAG1", "Func": "getImm", "Target": "Cpu0", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 189501, "Length": 29, "Cover_Rate": 1.0} {"Template_token": ["", "const", "InstrInfo", "*", "getInstrInfo", "(", ")", "{", "return", "getTargetMachine", "(", ")", ".", "getInstrInfo", "(", ")", ";"], "ground_truth": ["}"], "File": "Cpu0ISelDAGToDAG1", "Func": "getInstrInfo", "Target": "Cpu0", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 189503, "Length": 17, "Cover_Rate": 1.0} {"Template_token": ["", "virtual", "const", "char", "*", "getPassName", "(", ")", "const", "{"], "ground_truth": ["return", "", ";"], "File": "Cpu0ISelDAGToDAG1", "Func": "getPassName", "Target": "Cpu0", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 189504, "Length": 12, "Cover_Rate": 0.9230769230769231} {"Template_token": ["", "virtual", "const", "char", "*", "getPassName", "(", ")", "const", "{", "return", "", ";"], "ground_truth": ["}"], "File": "Cpu0ISelDAGToDAG1", "Func": "getPassName", "Target": "Cpu0", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 189505, "Length": 13, "Cover_Rate": 1.0} {"Template_token": ["", "}", "EVT", "NodeTy", "=", "Node", "->", "getValueType", "(", "", ")", ";", "unsigned", "MultOpc", ";", "switch", "(", "Opcode", ")", "{", "default", ":", "break", ";", "case", "", ":", "case", "", ":", "{", "MultOpc", "=", "(", "Opcode", "==", "", "?", "", ":", "", ")", ";", "return", "SelectMULT", "(", "Node", ",", "MultOpc", ",", "dl", ",", "NodeTy", ",", "false", ",", "true", ")", ".", "second", ";", "}", "case", "", ":", "return", "getGlobalBaseReg", "(", ")", ";", "case", "", ":", "{", "const", "ConstantSDNode", "*", "CN", "=", "dyn_cast", "<", "ConstantSDNode", ">", "(", "Node", ")", ";", "unsigned", "Size", "=", "CN", "->", "getValueSizeInBits", "(", "", ")", ";", "if", "(", "Size", "==", "", ")", "break", ";", "}", "}", "SDNode", "*", "ResNode", "=", "SelectCode", "(", "Node", ")", ";", "DEBUG", "(", "errs", "(", ")", "<<", "", ")", ";", "if", "(", "ResNode", "==", "NULL", "||", "ResNode", "==", "Node", ")", "DEBUG", "(", "Node", "->", "dump", "(", "CurDAG", ")", ")", ";", "else", "DEBUG", "(", "ResNode", "->", "dump", "(", "CurDAG", ")", ")", ";", "DEBUG", "(", "errs", "(", ")", "<<", "", ")", ";", "return", "ResNode", ";"], "ground_truth": ["}"], "File": "Cpu0ISelDAGToDAG1", "Func": "Select", "Target": "Cpu0", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 189506, "Length": 168, "Cover_Rate": 0.6292134831460674} {"Template_token": ["", "return", "true", ";", "}", "if", "(", "TM", ".", "getRelocationModel", "(", ")", "!=", "Reloc", "::", "PIC_", ")", "{", "if", "(", "(", "Addr", ".", "getOpcode", "(", ")", "==", "", "||", "Addr", ".", "getOpcode", "(", ")", "==", "", ")", ")", "return", "false", ";", "}", "if", "(", "CurDAG", "->", "isBaseWithConstantOffset", "(", "Addr", ")", ")", "{", "ConstantSDNode", "*", "CN", "=", "dyn_cast", "<", "ConstantSDNode", ">", "(", "Addr", ".", "getOperand", "(", "", ")", ")", ";", "if", "(", "isInt", "<", "", ">", "(", "CN", "->", "getSExtValue", "(", ")", ")", ")", "{", "if", "(", "FrameIndexSDNode", "*", "FIN", "=", "dyn_cast", "<", "FrameIndexSDNode", ">", "(", "Addr", ".", "getOperand", "(", "", ")", ")", ")", "Base", "=", "CurDAG", "->", "getTargetFrameIndex", "(", "FIN", "->", "getIndex", "(", ")", ",", "ValTy", ")", ";", "else", "Base", "=", "Addr", ".", "getOperand", "(", "", ")", ";", "Offset", "=", "CurDAG", "->", "getTargetConstant", "(", "CN", "->", "getZExtValue", "(", ")", ",", "ValTy", ")", ";", "return", "true", ";", "}"], "ground_truth": ["}"], "File": "Cpu0ISelDAGToDAG1", "Func": "SelectAddr", "Target": "Cpu0", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 189507, "Length": 147, "Cover_Rate": 0.4188034188034188} {"Template_token": ["", "if", "(", "HasLo", ")", "{", "Lo", "=", "CurDAG", "->", "getMachineNode", "(", "", ",", "dl", ",", "Ty", ",", "", ",", "InFlag", ")", ";", "InFlag", "=", "SDValue", "(", "Lo", ",", "", ")", ";", "}"], "ground_truth": ["if", "(", "HasHi", ")", "Hi", "=", "CurDAG", "->", "getMachineNode", "(", "", ",", "dl", ",", "Ty", ",", "InFlag", ")", ";"], "File": "Cpu0ISelDAGToDAG1", "Func": "SelectMULT", "Target": "Cpu0", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 189508, "Length": 51, "Cover_Rate": 0.33116883116883117} {"Template_token": ["", "FunctionPass", "*", "createISelDag", "(", "TargetMachine", "&", "TM", ")", "{"], "ground_truth": ["return", "new", "DAGToDAGISel", "(", "TM", ")", ";"], "File": "Cpu0ISelDAGToDAG3", "Func": "createCpu0ISelDag", "Target": "Cpu0", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 189512, "Length": 16, "Cover_Rate": 0.9411764705882353} {"Template_token": ["", "if", "(", "VT", "==", "", ")", "return", "false", ";", "}", "}", "if", "(", "FrameIndexSDNode", "*", "FIN", "=", "dyn_cast", "<", "FrameIndexSDNode", ">", "(", "Addr", ")", ")", "{", "Base", "=", "CurDAG", "->", "getTargetFrameIndex", "(", "FIN", "->", "getIndex", "(", ")", ",", "ValTy", ")", ";", "Offset", "=", "CurDAG", "->", "getTargetConstant", "(", "", ",", "DL", ",", "ValTy", ")", ";", "return", "true", ";", "}", "if", "(", "Addr", ".", "getOpcode", "(", ")", "==", "", ")", "{", "Base", "=", "Addr", ".", "getOperand", "(", "", ")", ";", "Offset", "=", "Addr", ".", "getOperand", "(", "", ")", ";", "return", "true", ";", "}", "if", "(", "TM", ".", "getRelocationModel", "(", ")", "!=", "Reloc", "::", "PIC_", ")", "{", "if", "(", "(", "Addr", ".", "getOpcode", "(", ")", "==", "", "||", "Addr", ".", "getOpcode", "(", ")", "==", "", ")", ")", "return", "false", ";", "}", "if", "(", "CurDAG", "->", "isBaseWithConstantOffset", "(", "Addr", ")", ")", "{", "ConstantSDNode", "*", "CN", "=", "dyn_cast", "<", "ConstantSDNode", ">", "(", "Addr", ".", "getOperand", "(", "", ")", ")", ";", "if", "(", "isInt", "<", "", ">", "(", "CN", "->", "getSExtValue", "(", ")", ")", ")", "{"], "ground_truth": ["if", "(", "FrameIndexSDNode", "*", "FIN", "=", "dyn_cast", "<", "FrameIndexSDNode", ">", "(", "Addr", ".", "getOperand", "(", "", ")", ")", ")", "Base", "=", "CurDAG", "->", "getTargetFrameIndex", "(", "FIN", "->", "getIndex", "(", ")", ",", "ValTy", ")", ";"], "File": "Cpu0ISelDAGToDAG4", "Func": "SelectAddr", "Target": "Cpu0", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 189513, "Length": 204, "Cover_Rate": 0.5698324022346368} {"Template_token": ["", "}", "}", "if", "(", "FrameIndexSDNode", "*", "FIN", "=", "dyn_cast", "<", "FrameIndexSDNode", ">", "(", "Addr", ")", ")", "{", "Base", "=", "CurDAG", "->", "getTargetFrameIndex", "(", "FIN", "->", "getIndex", "(", ")", ",", "ValTy", ")", ";", "Offset", "=", "CurDAG", "->", "getTargetConstant", "(", "", ",", "DL", ",", "ValTy", ")", ";", "return", "true", ";", "}", "if", "(", "Addr", ".", "getOpcode", "(", ")", "==", "", ")", "{", "Base", "=", "Addr", ".", "getOperand", "(", "", ")", ";", "Offset", "=", "Addr", ".", "getOperand", "(", "", ")", ";", "return", "true", ";", "}", "if", "(", "TM", ".", "getRelocationModel", "(", ")", "!=", "Reloc", "::", "PIC_", ")", "{"], "ground_truth": ["if", "(", "(", "Addr", ".", "getOpcode", "(", ")", "==", "", "||", "Addr", ".", "getOpcode", "(", ")", "==", "", ")", ")", "return", "false", ";"], "File": "Cpu0ISelDAGToDAG4", "Func": "SelectAddr", "Target": "Cpu0", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 189514, "Length": 118, "Cover_Rate": 0.329608938547486} {"Template_token": ["", "case", "InlineAsm", "::", "Constraint_m", ":", "OutOps", ".", "push_back", "(", "Op", ")", ";", "return", "false", ";", "}"], "ground_truth": ["return", "true", ";"], "File": "Cpu0ISelDAGToDAG4", "Func": "SelectInlineAsmMemoryOperand", "Target": "Cpu0", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 189515, "Length": 19, "Cover_Rate": 0.34545454545454546} {"Template_token": ["", "explicit", "DAGToDAGISel", "(", "TargetMachine", "&", "TM", ",", "CodeGenOpt", "::", "Level", "OL", ")", ":", "SelectionDAGISel", "(", "TM", ",", "OL", ")", ",", "Subtarget", "(", "nullptr", ")", "{"], "ground_truth": ["}"], "File": "Cpu0ISelDAGToDAG", "Func": "Cpu0DAGToDAGISel", "Target": "Cpu0", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 189516, "Length": 26, "Cover_Rate": 1.0} {"Template_token": ["", "explicit", "DAGToDAGISel", "(", "TargetMachine", "&", "TM", ",", "CodeGenOpt", "::", "Level", "OL", ")", ":", "SelectionDAGISel", "(", "TM", ",", "OL", ")", ",", "Subtarget", "(", "nullptr", ")", "{"], "ground_truth": ["}"], "File": "Cpu0ISelDAGToDAG", "Func": "Cpu0DAGToDAGISel", "Target": "Cpu0", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 189517, "Length": 26, "Cover_Rate": 1.0} {"Template_token": ["", "unsigned", "GlobalBaseReg", "=", "MF", "->", "getInfo", "<", "MachineFunctionInfo", ">", "(", ")", "->", "getGlobalBaseReg", "(", ")", ";", "return", "CurDAG", "->", "getRegister", "(", "GlobalBaseReg", ",", "getTargetLowering", "(", ")", "->", "getPointerTy", "(", "CurDAG", "->", "getDataLayout", "(", ")", ")", ")", ".", "getNode", "(", ")", ";"], "ground_truth": ["}"], "File": "Cpu0ISelDAGToDAG", "Func": "getGlobalBaseReg", "Target": "Cpu0", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 189518, "Length": 42, "Cover_Rate": 0.84} {"Template_token": ["", "inline", "SDValue", "getImm", "(", "const", "SDNode", "*", "Node", ",", "unsigned", "Imm", ")", "{"], "ground_truth": ["return", "CurDAG", "->", "getTargetConstant", "(", "Imm", ",", "SDLoc", "(", "Node", ")", ",", "Node", "->", "getValueType", "(", "", ")", ")", ";"], "File": "Cpu0ISelDAGToDAG", "Func": "getImm", "Target": "Cpu0", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 189519, "Length": 33, "Cover_Rate": 0.9705882352941176} {"Template_token": ["", "return", "", ";"], "ground_truth": ["}"], "File": "Cpu0ISelDAGToDAG", "Func": "getPassName", "Target": "Cpu0", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 189521, "Length": 4, "Cover_Rate": 0.36363636363636365} {"Template_token": ["", "StringRef", "getPassName", "(", ")", "const", "override", "{"], "ground_truth": ["return", "", ";"], "File": "Cpu0ISelDAGToDAG", "Func": "getPassName", "Target": "Cpu0", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 189522, "Length": 10, "Cover_Rate": 0.9090909090909091} {"Template_token": ["", "const", "TargetMachine", "&", "getTargetMachine", "(", ")", "{", "return", "static_cast", "<", "const", "TargetMachine", "&", ">", "(", "TM", ")", ";"], "ground_truth": ["}"], "File": "Cpu0ISelDAGToDAG", "Func": "getTargetMachine", "Target": "Cpu0", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 189524, "Length": 19, "Cover_Rate": 1.0} {"Template_token": ["", "bool", "DAGToDAGISel", "::", "runOnMachineFunction", "(", "MachineFunction", "&", "MF", ")", "{", "bool", "Ret", "=", "SelectionDAGISel", "::", "runOnMachineFunction", "(", "MF", ")", ";", "return", "Ret", ";"], "ground_truth": ["}"], "File": "Cpu0ISelDAGToDAG", "Func": "runOnMachineFunction", "Target": "Cpu0", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 189525, "Length": 24, "Cover_Rate": 1.0} {"Template_token": ["", "bool", "Ret", "=", "SelectionDAGISel", "::", "runOnMachineFunction", "(", "MF", ")", ";"], "ground_truth": ["return", "Ret", ";"], "File": "Cpu0ISelDAGToDAG", "Func": "runOnMachineFunction", "Target": "Cpu0", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 189526, "Length": 13, "Cover_Rate": 0.5416666666666666} {"Template_token": ["", "if", "(", "Node", "->", "isMachineOpcode", "(", ")", ")", "{", "LLVM_DEBUG", "(", "errs", "(", ")", "<<", "", ";", "Node", "->", "dump", "(", "CurDAG", ")", ";", "errs", "(", ")", "<<", "", ")", ";", "Node", "->", "setNodeId", "(", "-", "", ")", ";", "return", ";", "}", "if", "(", "trySelect", "(", "Node", ")", ")", "return", ";"], "ground_truth": ["switch", "(", "Opcode", ")", "{"], "File": "Cpu0ISelDAGToDAG", "Func": "Select", "Target": "Cpu0", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 189527, "Length": 56, "Cover_Rate": 0.45161290322580644} {"Template_token": ["", "if", "(", "VT", ".", "getSizeInBits", "(", ")", "/", "", ">", "LS", "->", "getAlignment", "(", ")", ")", "{", "assert", "(", "", ")", ";", "if", "(", "VT", "==", "", ")", "return", "false", ";", "}", "}", "if", "(", "FrameIndexSDNode", "*", "FIN", "=", "dyn_cast", "<", "FrameIndexSDNode", ">", "(", "Addr", ")", ")", "{", "Base", "=", "CurDAG", "->", "getTargetFrameIndex", "(", "FIN", "->", "getIndex", "(", ")", ",", "ValTy", ")", ";", "Offset", "=", "CurDAG", "->", "getTargetConstant", "(", "", ",", "DL", ",", "ValTy", ")", ";", "return", "true", ";", "}", "if", "(", "Addr", ".", "getOpcode", "(", ")", "==", "", ")", "{", "Base", "=", "Addr", ".", "getOperand", "(", "", ")", ";"], "ground_truth": ["Offset", "=", "Addr", ".", "getOperand", "(", "", ")", ";"], "File": "Cpu0ISelDAGToDAG", "Func": "SelectAddr", "Target": "Cpu0", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 189528, "Length": 109, "Cover_Rate": 0.3061797752808989} {"Template_token": ["", "static", "unsigned", "AddLiveIn", "(", "MachineFunction", "&", "MF", ",", "unsigned", "PReg", ",", "const", "TargetRegisterClass", "*", "RC", ")", "{"], "ground_truth": ["assert", "(", "RC", "->", "contains", "(", "PReg", ")", "&&", "", ")", ";"], "File": "Cpu0ISelLowering1", "Func": "AddLiveIn", "Target": "Cpu0", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 189529, "Length": 29, "Cover_Rate": 0.48333333333333334} {"Template_token": ["", "AddPromotedToType", "(", "", ",", "", ",", "", ")", ";", "setOperationAction", "(", "", ",", "", ",", "Custom", ")", ";", "setOperationAction", "(", "", ",", "", ",", "Custom", ")", ";", "setOperationAction", "(", "", ",", "", ",", "Custom", ")", ";", "setOperationAction", "(", "", ",", "", ",", "Expand", ")", ";", "setOperationAction", "(", "", ",", "", ",", "Expand", ")", ";", "setOperationAction", "(", "", ",", "", ",", "Expand", ")", ";", "setOperationAction", "(", "", ",", "", ",", "Expand", ")", ";", "setOperationAction", "(", "", ",", "", ",", "Expand", ")", ";", "setOperationAction", "(", "", ",", "", ",", "Expand", ")", ";", "setOperationAction", "(", "", ",", "", ",", "Expand", ")", ";", "setOperationAction", "(", "", ",", "", ",", "Expand", ")", ";", "setOperationAction", "(", "", ",", "", ",", "Expand", ")", ";", "setTargetDAGCombine", "(", "", ")", ";"], "ground_truth": ["setTargetDAGCombine", "(", "", ")", ";"], "File": "Cpu0ISelLowering1", "Func": "Cpu0TargetLowering", "Target": "Cpu0", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 189530, "Length": 127, "Cover_Rate": 0.516260162601626} {"Template_token": ["", "AddPromotedToType", "(", "", ",", "", ",", "", ")", ";", "setOperationAction", "(", "", ",", "", ",", "Custom", ")", ";", "setOperationAction", "(", "", ",", "", ",", "Custom", ")", ";", "setOperationAction", "(", "", ",", "", ",", "Custom", ")", ";", "setOperationAction", "(", "", ",", "", ",", "Expand", ")", ";", "setOperationAction", "(", "", ",", "", ",", "Expand", ")", ";", "setOperationAction", "(", "", ",", "", ",", "Expand", ")", ";", "setOperationAction", "(", "", ",", "", ",", "Expand", ")", ";", "setOperationAction", "(", "", ",", "", ",", "Expand", ")", ";"], "ground_truth": ["setOperationAction", "(", "", ",", "", ",", "Expand", ")", ";"], "File": "Cpu0ISelLowering1", "Func": "Cpu0TargetLowering", "Target": "Cpu0", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 189531, "Length": 90, "Cover_Rate": 0.36585365853658536} {"Template_token": ["", "SDValue", "Tgt", "=", "DAG", ".", "getNode", "(", "", ",", "DL", ",", "Ty", ",", "getGlobalReg", "(", "DAG", ",", "Ty", ")", ",", "getTargetNode", "(", "Op", ",", "DAG", ",", "Flag", ")", ")", ";"], "ground_truth": ["return", "DAG", ".", "getLoad", "(", "Ty", ",", "DL", ",", "DAG", ".", "getEntryNode", "(", ")", ",", "Tgt", ",", "MachinePointerInfo", "::", "getGOT", "(", ")", ",", "false", ",", "false", ",", "false", ",", "", ")", ";"], "File": "Cpu0ISelLowering1", "Func": "getAddrGlobal", "Target": "Cpu0", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 189532, "Length": 62, "Cover_Rate": 0.62} {"Template_token": ["", "return", "DAG", ".", "getLoad", "(", "Ty", ",", "DL", ",", "DAG", ".", "getEntryNode", "(", ")", ",", "Tgt", ",", "MachinePointerInfo", "::", "getGOT", "(", ")", ",", "false", ",", "false", ",", "false", ",", "", ")", ";"], "ground_truth": ["}"], "File": "Cpu0ISelLowering1", "Func": "getAddrGlobal", "Target": "Cpu0", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 189533, "Length": 33, "Cover_Rate": 0.33} {"Template_token": ["", "DebugLoc", "DL", "=", "Op", ".", "getDebugLoc", "(", ")", ";", "EVT", "Ty", "=", "Op", ".", "getValueType", "(", ")", ";", "SDValue", "Hi", "=", "DAG", ".", "getNode", "(", "", ",", "DL", ",", "Ty", ",", "getTargetNode", "(", "Op", ",", "DAG", ",", "HiFlag", ")", ")", ";", "Hi", "=", "DAG", ".", "getNode", "(", "", ",", "DL", ",", "Ty", ",", "Hi", ",", "getGlobalReg", "(", "DAG", ",", "Ty", ")", ")", ";", "SDValue", "Wrapper", "=", "DAG", ".", "getNode", "(", "", ",", "DL", ",", "Ty", ",", "Hi", ",", "getTargetNode", "(", "Op", ",", "DAG", ",", "LoFlag", ")", ")", ";", "return", "DAG", ".", "getLoad", "(", "Ty", ",", "DL", ",", "DAG", ".", "getEntryNode", "(", ")", ",", "Wrapper", ",", "MachinePointerInfo", "::", "getGOT", "(", ")", ",", "false", ",", "false", ",", "false", ",", "", ")", ";"], "ground_truth": ["}"], "File": "Cpu0ISelLowering1", "Func": "getAddrGlobalLargeGOT", "Target": "Cpu0", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 189534, "Length": 121, "Cover_Rate": 0.8231292517006803} {"Template_token": ["", "SDValue", "TargetLowering", "::", "getAddrGlobalLargeGOT", "(", "SDValue", "Op", ",", "SelectionDAG", "&", "DAG", ",", "unsigned", "HiFlag", ",", "unsigned", "LoFlag", ")", "const", "{", "DebugLoc", "DL", "=", "Op", ".", "getDebugLoc", "(", ")", ";", "EVT", "Ty", "=", "Op", ".", "getValueType", "(", ")", ";", "SDValue", "Hi", "=", "DAG", ".", "getNode", "(", "", ",", "DL", ",", "Ty", ",", "getTargetNode", "(", "Op", ",", "DAG", ",", "HiFlag", ")", ")", ";", "Hi", "=", "DAG", ".", "getNode", "(", "", ",", "DL", ",", "Ty", ",", "Hi", ",", "getGlobalReg", "(", "DAG", ",", "Ty", ")", ")", ";", "SDValue", "Wrapper", "=", "DAG", ".", "getNode", "(", "", ",", "DL", ",", "Ty", ",", "Hi", ",", "getTargetNode", "(", "Op", ",", "DAG", ",", "LoFlag", ")", ")", ";", "return", "DAG", ".", "getLoad", "(", "Ty", ",", "DL", ",", "DAG", ".", "getEntryNode", "(", ")", ",", "Wrapper", ",", "MachinePointerInfo", "::", "getGOT", "(", ")", ",", "false", ",", "false", ",", "false", ",", "", ")", ";"], "ground_truth": ["}"], "File": "Cpu0ISelLowering1", "Func": "getAddrGlobalLargeGOT", "Target": "Cpu0", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 189535, "Length": 141, "Cover_Rate": 0.9591836734693877} {"Template_token": ["", "EVT", "Ty", "=", "Op", ".", "getValueType", "(", ")", ";", "unsigned", "GOTFlag", "=", "", ";", "SDValue", "GOT", "=", "DAG", ".", "getNode", "(", "", ",", "DL", ",", "Ty", ",", "getGlobalReg", "(", "DAG", ",", "Ty", ")", ",", "getTargetNode", "(", "Op", ",", "DAG", ",", "GOTFlag", ")", ")", ";", "SDValue", "Load", "=", "DAG", ".", "getLoad", "(", "Ty", ",", "DL", ",", "DAG", ".", "getEntryNode", "(", ")", ",", "GOT", ",", "MachinePointerInfo", "::", "getGOT", "(", ")", ",", "false", ",", "false", ",", "false", ",", "", ")", ";", "unsigned", "LoFlag", "=", "", ";", "SDValue", "Lo", "=", "DAG", ".", "getNode", "(", "", ",", "DL", ",", "Ty", ",", "getTargetNode", "(", "Op", ",", "DAG", ",", "LoFlag", ")", ")", ";", "return", "DAG", ".", "getNode", "(", "", ",", "DL", ",", "Ty", ",", "Load", ",", "Lo", ")", ";"], "ground_truth": ["}"], "File": "Cpu0ISelLowering1", "Func": "getAddrLocal", "Target": "Cpu0", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 189536, "Length": 123, "Cover_Rate": 0.7884615384615384} {"Template_token": ["", "SDValue", "TargetLowering", "::", "getGlobalReg", "(", "SelectionDAG", "&", "DAG", ",", "EVT", "Ty", ")", "const", "{", "FunctionInfo", "*", "FI", "=", "DAG", ".", "getMachineFunction", "(", ")", ".", "getInfo", "<", "FunctionInfo", ">", "(", ")", ";", "return", "DAG", ".", "getRegister", "(", "FI", "->", "getGlobalBaseReg", "(", ")", ",", "Ty", ")", ";"], "ground_truth": ["}"], "File": "Cpu0ISelLowering1", "Func": "getGlobalReg", "Target": "Cpu0", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 189537, "Length": 46, "Cover_Rate": 1.0} {"Template_token": ["", "virtual", "MVT", "getShiftAmountTy", "(", "EVT", "LHSTy", ")", "const", "{", "return", "", ";"], "ground_truth": ["}"], "File": "Cpu0ISelLowering1", "Func": "getShiftAmountTy", "Target": "Cpu0", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 189540, "Length": 13, "Cover_Rate": 0.8666666666666667} {"Template_token": ["", "if", "(", "JumpTableSDNode", "*", "N", "=", "dyn_cast", "<", "JumpTableSDNode", ">", "(", "Op", ")", ")", "return", "DAG", ".", "getTargetJumpTable", "(", "N", "->", "getIndex", "(", ")", ",", "Ty", ",", "Flag", ")", ";"], "ground_truth": ["if", "(", "ConstantPoolSDNode", "*", "N", "=", "dyn_cast", "<", "ConstantPoolSDNode", ">", "(", "Op", ")", ")", "return", "DAG", ".", "getTargetConstantPool", "(", "N", "->", "getConstVal", "(", ")", ",", "Ty", ",", "N", "->", "getAlignment", "(", ")", ",", "N", "->", "getOffset", "(", ")", ",", "Flag", ")", ";"], "File": "Cpu0ISelLowering1", "Func": "getTargetNode", "Target": "Cpu0", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 189541, "Length": 72, "Cover_Rate": 0.34782608695652173} {"Template_token": ["", "LowerBRCOND", "(", "SDValue", "Op", ",", "SelectionDAG", "&", "DAG", ")", "const", "{", "return", "Op", ";"], "ground_truth": ["}"], "File": "Cpu0ISelLowering1", "Func": "LowerBRCOND", "Target": "Cpu0", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 189542, "Length": 15, "Cover_Rate": 0.8333333333333334} {"Template_token": ["", "SmallVector", "<", "std", "::", "pair", "<", "unsigned", ",", "SDValue", ">", ",", "", ">", "RegsToPass", ";", "SmallVector", "<", "SDValue", ",", "", ">", "MemOpChains", ";", "int", "FirstFI", "=", "-", "MFI", "->", "getNumFixedObjects", "(", ")", "-", "", ",", "LastFI", "=", "", ";", "for", "(", "unsigned", "i", "=", "", ",", "e", "=", "ArgLocs", ".", "size", "(", ")", ";", "i", "!=", "e", ";", "++", "i", ")", "{", "SDValue", "Arg", "=", "OutVals", "[", "i", "]", ";", "CCValAssign", "&", "VA", "=", "ArgLocs", "[", "i", "]", ";", "MVT", "ValVT", "=", "VA", ".", "getValVT", "(", ")", ";", "", "Flags", "=", "Outs", "[", "i", "]", ".", "Flags", ";", "if", "(", "Flags", ".", "isByVal", "(", ")", ")", "{", "assert", "(", "", ")", ";", "assert", "(", "Flags", ".", "getByValSize", "(", ")", "&&", "", ")", ";", "WriteByValArg", "(", "ByValChain", ",", "Chain", ",", "dl", ",", "RegsToPass", ",", "MemOpChains", ",", "LastFI", ",", "MFI", ",", "DAG", ",", "Arg", ",", "VA", ",", "Flags", ",", "getPointerTy", "(", ")", ",", "Subtarget", "->", "isLittle", "(", ")", ")", ";", "continue", ";", "}", "if", "(", "VA", ".", "isMemLoc", "(", ")", ")", "{", "LastFI", "=", "MFI", "->", "CreateFixedObject", "(", "ValVT", ".", "getSizeInBits", "(", ")", "/", "", ",", "VA", ".", "getLocMemOffset", "(", ")", ",", "true", ")", ";", "SDValue", "PtrOff", "=", "DAG", ".", "getFrameIndex", "(", "LastFI", ",", "getPointerTy", "(", ")", ")", ";", "MemOpChains", ".", "push_back", "(", "DAG", ".", "getStore", "(", "Chain", ",", "dl", ",", "Arg", ",", "PtrOff", ",", "MachinePointerInfo", "(", ")", ",", "false", ",", "false", ",", "", ")", ")", ";", "}", "else", "{", "RegsToPass", ".", "push_back", "(", "std", "::", "make_pair", "(", "VA", ".", "getLocReg", "(", ")", ",", "Arg", ")", ")", ";", "}", "}", "if", "(", "LastFI", ")", "FI", "->", "extendOutArgFIRange", "(", "FirstFI", ",", "LastFI", ")", ";", "if", "(", "InChain", "!=", "ByValChain", ")", "DAG", ".", "UpdateNodeOperands", "(", "CallSeqStart", ".", "getNode", "(", ")", ",", "ByValChain", ",", "NextStackOffsetVal", ")", ";", "if", "(", "!", "MemOpChains", ".", "empty", "(", ")", ")", "Chain", "=", "DAG", ".", "getNode", "(", "", ",", "dl", ",", "", ",", "&", "MemOpChains", "[", "", "]", ",", "MemOpChains", ".", "size", "(", ")", ")", ";"], "ground_truth": ["SDValue", "InFlag", ";"], "File": "Cpu0ISelLowering1", "Func": "LowerCall", "Target": "Cpu0", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 189544, "Length": 329, "Cover_Rate": 0.3018348623853211} {"Template_token": ["", "for", "(", "unsigned", "i", "=", "", ";", "i", "!=", "RVLocs", ".", "size", "(", ")", ";", "++", "i", ")", "{", "Chain", "=", "DAG", ".", "getCopyFromReg", "(", "Chain", ",", "dl", ",", "RVLocs", "[", "i", "]", ".", "getLocReg", "(", ")", ",", "RVLocs", "[", "i", "]", ".", "getValVT", "(", ")", ",", "InFlag", ")", ".", "getValue", "(", "", ")", ";"], "ground_truth": ["InFlag", "=", "Chain", ".", "getValue", "(", "", ")", ";"], "File": "Cpu0ISelLowering1", "Func": "LowerCallResult", "Target": "Cpu0", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 189545, "Length": 64, "Cover_Rate": 0.3764705882352941} {"Template_token": ["", "InVals", ".", "push_back", "(", "FIN", ")", ";", "ReadByValArg", "(", "MF", ",", "Chain", ",", "dl", ",", "OutChains", ",", "DAG", ",", "NumWords", ",", "FIN", ",", "VA", ",", "Flags", ",", "&", "*", "FuncArg", ")", ";", "continue", ";", "}", "if", "(", "VA", ".", "isRegLoc", "(", ")", ")", "{", "unsigned", "VReg", "=", "MF", ".", "getRegInfo", "(", ")", ".", "createVirtualRegister", "(", "getRegClassFor", "(", "", ")", ")", ";", "MF", ".", "getRegInfo", "(", ")", ".", "addLiveIn", "(", "VA", ".", "getLocReg", "(", ")", ",", "VReg", ")", ";", "SDValue", "Arg", "=", "DAG", ".", "getCopyFromReg", "(", "Chain", ",", "dl", ",", "VReg", ",", "", ")", ";", "InVals", ".", "push_back", "(", "Arg", ")", ";", "continue", ";", "}", "assert", "(", "VA", ".", "isMemLoc", "(", ")", ")", ";", "LastFI", "=", "MFI", "->", "CreateFixedObject", "(", "ValVT", ".", "getSizeInBits", "(", ")", "/", "", ",", "VA", ".", "getLocMemOffset", "(", ")", ",", "true", ")", ";", "SDValue", "FIN", "=", "DAG", ".", "getFrameIndex", "(", "LastFI", ",", "getPointerTy", "(", ")", ")", ";", "InVals", ".", "push_back", "(", "DAG", ".", "getLoad", "(", "ValVT", ",", "dl", ",", "Chain", ",", "FIN", ",", "MachinePointerInfo", "::", "getFixedStack", "(", "LastFI", ")", ",", "false", ",", "false", ",", "false", ",", "", ")", ")", ";", "}", "if", "(", "DAG", ".", "getMachineFunction", "(", ")", ".", "getFunction", "(", ")", "->", "hasStructRetAttr", "(", ")", ")", "{", "unsigned", "Reg", "=", "FI", "->", "getSRetReturnReg", "(", ")", ";", "if", "(", "!", "Reg", ")", "{", "Reg", "=", "MF", ".", "getRegInfo", "(", ")", ".", "createVirtualRegister", "(", "getRegClassFor", "(", "", ")", ")", ";", "FI", "->", "setSRetReturnReg", "(", "Reg", ")", ";", "}", "SDValue", "Copy", "=", "DAG", ".", "getCopyToReg", "(", "DAG", ".", "getEntryNode", "(", ")", ",", "dl", ",", "Reg", ",", "InVals", "[", "", "]", ")", ";", "Chain", "=", "DAG", ".", "getNode", "(", "", ",", "dl", ",", "", ",", "Copy", ",", "Chain", ")", ";", "}", "if", "(", "isVarArg", ")", "{", "unsigned", "RegSize", "=", "", ".", "getSize", "(", ")", ";", "int", "FirstVaArgOffset", "=", "RegSize", ";", "LastFI", "=", "MFI", "->", "CreateFixedObject", "(", "RegSize", ",", "FirstVaArgOffset", ",", "true", ")", ";", "FI", "->", "setVarArgsFrameIndex", "(", "LastFI", ")", ";", "}", "FI", "->", "setLastInArgFI", "(", "LastFI", ")", ";"], "ground_truth": ["if", "(", "!", "OutChains", ".", "empty", "(", ")", ")", "{"], "File": "Cpu0ISelLowering1", "Func": "LowerFormalArguments", "Target": "Cpu0", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 189546, "Length": 338, "Cover_Rate": 0.5022288261515602} {"Template_token": ["", "SDValue", "TargetLowering", "::", "LowerGlobalAddress", "(", "SDValue", "Op", ",", "SelectionDAG", "&", "DAG", ")", "const", "{"], "ground_truth": ["DebugLoc", "dl", "=", "Op", ".", "getDebugLoc", "(", ")", ";"], "File": "Cpu0ISelLowering1", "Func": "LowerGlobalAddress", "Target": "Cpu0", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 189547, "Length": 23, "Cover_Rate": 0.6388888888888888} {"Template_token": ["", "return", "DAG", ".", "getConstant", "(", "", ",", "", ")", ";"], "ground_truth": ["}"], "File": "Cpu0ISelLowering1", "Func": "LowerGlobalAddress", "Target": "Cpu0", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 189548, "Length": 11, "Cover_Rate": 0.3055555555555556} {"Template_token": ["", "SDValue", "TargetLowering", "::", "LowerOperation", "(", "SDValue", "Op", ",", "SelectionDAG", "&", "DAG", ")", "const", "{", "switch", "(", "Op", ".", "getOpcode", "(", ")", ")", "{", "case", "", ":", "return", "LowerBRCOND", "(", "Op", ",", "DAG", ")", ";", "case", "", ":", "return", "LowerGlobalAddress", "(", "Op", ",", "DAG", ")", ";", "case", "", ":", "return", "LowerVASTART", "(", "Op", ",", "DAG", ")", ";", "}", "return", "SDValue", "(", ")", ";"], "ground_truth": ["}"], "File": "Cpu0ISelLowering1", "Func": "LowerOperation", "Target": "Cpu0", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 189549, "Length": 63, "Cover_Rate": 0.9130434782608695} {"Template_token": ["", "assert", "(", "VA", ".", "isRegLoc", "(", ")", "&&", "", ")", ";", "Chain", "=", "DAG", ".", "getCopyToReg", "(", "Chain", ",", "dl", ",", "VA", ".", "getLocReg", "(", ")", ",", "OutVals", "[", "", "]", ",", "Flag", ")", ";", "Flag", "=", "Chain", ".", "getValue", "(", "", ")", ";", "RetOps", ".", "push_back", "(", "DAG", ".", "getRegister", "(", "VA", ".", "getLocReg", "(", ")", ",", "VA", ".", "getLocVT", "(", ")", ")", ")", ";", "}", "if", "(", "DAG", ".", "getMachineFunction", "(", ")", ".", "getFunction", "(", ")", "->", "hasStructRetAttr", "(", ")", ")", "{", "assert", "(", "false", "&&", "", ")", ";", "}", "RetOps", "[", "", "]", "=", "Chain", ";", "if", "(", "Flag", ".", "getNode", "(", ")", ")", "RetOps", ".", "push_back", "(", "Flag", ")", ";"], "ground_truth": ["return", "DAG", ".", "getNode", "(", "RVLocs", ".", "size", "(", ")", "==", "", "?", "", ":", "", ",", "dl", ",", "", ",", "&", "RetOps", "[", "", "]", ",", "RetOps", ".", "size", "(", ")", ")", ";"], "File": "Cpu0ISelLowering1", "Func": "LowerReturn", "Target": "Cpu0", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 189550, "Length": 148, "Cover_Rate": 0.5085910652920962} {"Template_token": ["", "SDValue", "Flag", ";", "SmallVector", "<", "SDValue", ",", "", ">", "RetOps", "(", "", ",", "Chain", ")", ";", "assert", "(", "RVLocs", ".", "size", "(", ")", "<=", "", "&&", "", ")", ";", "if", "(", "RVLocs", ".", "size", "(", ")", ">", "", ")", "{", "CCValAssign", "&", "VA", "=", "RVLocs", "[", "", "]", ";", "assert", "(", "VA", ".", "isRegLoc", "(", ")", "&&", "", ")", ";", "Chain", "=", "DAG", ".", "getCopyToReg", "(", "Chain", ",", "dl", ",", "VA", ".", "getLocReg", "(", ")", ",", "OutVals", "[", "", "]", ",", "Flag", ")", ";", "Flag", "=", "Chain", ".", "getValue", "(", "", ")", ";", "RetOps", ".", "push_back", "(", "DAG", ".", "getRegister", "(", "VA", ".", "getLocReg", "(", ")", ",", "VA", ".", "getLocVT", "(", ")", ")", ")", ";", "}", "if", "(", "DAG", ".", "getMachineFunction", "(", ")", ".", "getFunction", "(", ")", "->", "hasStructRetAttr", "(", ")", ")", "{", "assert", "(", "false", "&&", "", ")", ";"], "ground_truth": ["}"], "File": "Cpu0ISelLowering1", "Func": "LowerReturn", "Target": "Cpu0", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 189551, "Length": 141, "Cover_Rate": 0.4845360824742268} {"Template_token": ["", "MachineFunction", "&", "MF", "=", "DAG", ".", "getMachineFunction", "(", ")", ";", "FunctionInfo", "*", "FuncInfo", "=", "MF", ".", "getInfo", "<", "FunctionInfo", ">", "(", ")", ";", "DebugLoc", "dl", "=", "Op", ".", "getDebugLoc", "(", ")", ";"], "ground_truth": ["SDValue", "FI", "=", "DAG", ".", "getFrameIndex", "(", "FuncInfo", "->", "getVarArgsFrameIndex", "(", ")", ",", "getPointerTy", "(", ")", ")", ";"], "File": "Cpu0ISelLowering1", "Func": "LowerVASTART", "Target": "Cpu0", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 189552, "Length": 50, "Cover_Rate": 0.4098360655737705} {"Template_token": ["", "DebugLoc", "dl", "=", "Op", ".", "getDebugLoc", "(", ")", ";", "SDValue", "FI", "=", "DAG", ".", "getFrameIndex", "(", "FuncInfo", "->", "getVarArgsFrameIndex", "(", ")", ",", "getPointerTy", "(", ")", ")", ";"], "ground_truth": ["const", "Value", "*", "SV", "=", "cast", "<", "SrcValueSDNode", ">", "(", "Op", ".", "getOperand", "(", "", ")", ")", "->", "getValue", "(", ")", ";"], "File": "Cpu0ISelLowering1", "Func": "LowerVASTART", "Target": "Cpu0", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 189553, "Length": 49, "Cover_Rate": 0.4016393442622951} {"Template_token": ["", "default", ":", "break", ";", "case", "", ":", "case", "", ":"], "ground_truth": ["return", "PerformDivRemCombine", "(", "N", ",", "DAG", ",", "DCI", ",", "Subtarget", ")", ";"], "File": "Cpu0ISelLowering1", "Func": "PerformDAGCombine", "Target": "Cpu0", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 189554, "Length": 22, "Cover_Rate": 0.3142857142857143} {"Template_token": ["", "SDValue", "InGlue", "=", "DivRem", ";", "if", "(", "N", "->", "hasAnyUseOfValue", "(", "", ")", ")", "{", "SDValue", "CopyFromLo", "=", "DAG", ".", "getCopyFromReg", "(", "InChain", ",", "dl", ",", "LO", ",", "Ty", ",", "InGlue", ")", ";", "DAG", ".", "ReplaceAllUsesOfValueWith", "(", "SDValue", "(", "N", ",", "", ")", ",", "CopyFromLo", ")", ";", "InChain", "=", "CopyFromLo", ".", "getValue", "(", "", ")", ";", "InGlue", "=", "CopyFromLo", ".", "getValue", "(", "", ")", ";", "}"], "ground_truth": ["if", "(", "N", "->", "hasAnyUseOfValue", "(", "", ")", ")", "{"], "File": "Cpu0ISelLowering1", "Func": "PerformDivRemCombine", "Target": "Cpu0", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 189555, "Length": 76, "Cover_Rate": 0.31020408163265306} {"Template_token": ["", "SDValue", "CopyFromLo", "=", "DAG", ".", "getCopyFromReg", "(", "InChain", ",", "dl", ",", "LO", ",", "Ty", ",", "InGlue", ")", ";", "DAG", ".", "ReplaceAllUsesOfValueWith", "(", "SDValue", "(", "N", ",", "", ")", ",", "CopyFromLo", ")", ";", "InChain", "=", "CopyFromLo", ".", "getValue", "(", "", ")", ";", "InGlue", "=", "CopyFromLo", ".", "getValue", "(", "", ")", ";", "}", "if", "(", "N", "->", "hasAnyUseOfValue", "(", "", ")", ")", "{", "SDValue", "CopyFromHi", "=", "DAG", ".", "getCopyFromReg", "(", "InChain", ",", "dl", ",", "HI", ",", "Ty", ",", "InGlue", ")", ";", "DAG", ".", "ReplaceAllUsesOfValueWith", "(", "SDValue", "(", "N", ",", "", ")", ",", "CopyFromHi", ")", ";"], "ground_truth": ["}"], "File": "Cpu0ISelLowering1", "Func": "PerformDivRemCombine", "Target": "Cpu0", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 189556, "Length": 94, "Cover_Rate": 0.3836734693877551} {"Template_token": ["", "unsigned", "CurWord", "=", "FirstWord", "+", "i", ";", "if", "(", "CurWord", ">=", "IntRegsSize", ")", "break", ";", "unsigned", "SrcReg", "=", "IntRegs", "[", "CurWord", "]", ";", "unsigned", "Reg", "=", "AddLiveIn", "(", "MF", ",", "SrcReg", ",", "&", "", ")", ";", "SDValue", "StorePtr", "=", "DAG", ".", "getNode", "(", "", ",", "dl", ",", "", ",", "FIN", ",", "DAG", ".", "getConstant", "(", "i", "*", "", ",", "", ")", ")", ";", "SDValue", "Store", "=", "DAG", ".", "getStore", "(", "Chain", ",", "dl", ",", "DAG", ".", "getRegister", "(", "Reg", ",", "", ")", ",", "StorePtr", ",", "MachinePointerInfo", "(", "FuncArg", ",", "i", "*", "", ")", ",", "false", ",", "false", ",", "", ")", ";", "OutChains", ".", "push_back", "(", "Store", ")", ";"], "ground_truth": ["}"], "File": "Cpu0ISelLowering1", "Func": "ReadByValArg", "Target": "Cpu0", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 189557, "Length": 109, "Cover_Rate": 0.5396039603960396} {"Template_token": ["", "unsigned", "ByValAlign", "=", "Flags", ".", "getByValAlign", "(", ")", ";", "if", "(", "RemainingSize", "==", "", ")", "return", ";", "SDValue", "Src", "=", "DAG", ".", "getNode", "(", "", ",", "dl", ",", "", ",", "Arg", ",", "DAG", ".", "getConstant", "(", "Offset", ",", "", ")", ")", ";", "LastFI", "=", "MFI", "->", "CreateFixedObject", "(", "RemainingSize", ",", "LocMemOffset", ",", "true", ")", ";", "SDValue", "Dst", "=", "DAG", ".", "getFrameIndex", "(", "LastFI", ",", "PtrType", ")", ";"], "ground_truth": ["ByValChain", "=", "DAG", ".", "getMemcpy", "(", "ByValChain", ",", "dl", ",", "Dst", ",", "Src", ",", "DAG", ".", "getConstant", "(", "RemainingSize", ",", "", ")", ",", "std", "::", "min", "(", "ByValAlign", ",", "(", "unsigned", ")", "", ")", ",", "false", ",", "false", ",", "MachinePointerInfo", "(", "", ")", ",", "MachinePointerInfo", "(", "", ")", ")", ";"], "File": "Cpu0ISelLowering1", "Func": "WriteByValArg", "Target": "Cpu0", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 189558, "Length": 117, "Cover_Rate": 0.527027027027027} {"Template_token": ["", "TargetLowering", "(", "TargetMachine", "&", "TM", ")", ":", "TargetLowering", "(", "TM", ",", "new", "TargetObjectFile", "(", ")", ")", ",", "Subtarget", "(", "&", "TM", ".", "getSubtarget", "<", "Subtarget", ">", "(", ")", ")", "{", "addRegisterClass", "(", "", ",", "&", "", ")", ";", "AddPromotedToType", "(", "", ",", "", ",", "", ")", ";", "setOperationAction", "(", "", ",", "", ",", "Custom", ")", ";", "setOperationAction", "(", "", ",", "", ",", "Custom", ")", ";", "setOperationAction", "(", "", ",", "", ",", "Expand", ")", ";", "setOperationAction", "(", "", ",", "", ",", "Expand", ")", ";", "setOperationAction", "(", "", ",", "", ",", "Expand", ")", ";", "setOperationAction", "(", "", ",", "", ",", "Expand", ")", ";", "setOperationAction", "(", "", ",", "", ",", "Expand", ")", ";", "setTargetDAGCombine", "(", "", ")", ";", "setTargetDAGCombine", "(", "", ")", ";", "setMinFunctionAlignment", "(", "", ")", ";", "computeRegisterProperties", "(", ")", ";"], "ground_truth": ["}"], "File": "Cpu0ISelLowering2", "Func": "Cpu0TargetLowering", "Target": "Cpu0", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 189559, "Length": 130, "Cover_Rate": 0.7471264367816092} {"Template_token": ["", "FunctionInfo", "*", "FI", "=", "DAG", ".", "getMachineFunction", "(", ")", ".", "getInfo", "<", "FunctionInfo", ">", "(", ")", ";"], "ground_truth": ["return", "DAG", ".", "getRegister", "(", "FI", "->", "getGlobalBaseReg", "(", ")", ",", "Ty", ")", ";"], "File": "Cpu0ISelLowering2", "Func": "GetGlobalReg", "Target": "Cpu0", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 189560, "Length": 31, "Cover_Rate": 0.7045454545454546} {"Template_token": ["", "static", "SDValue", "GetGlobalReg", "(", "SelectionDAG", "&", "DAG", ",", "EVT", "Ty", ")", "{", "FunctionInfo", "*", "FI", "=", "DAG", ".", "getMachineFunction", "(", ")", ".", "getInfo", "<", "FunctionInfo", ">", "(", ")", ";"], "ground_truth": ["return", "DAG", ".", "getRegister", "(", "FI", "->", "getGlobalBaseReg", "(", ")", ",", "Ty", ")", ";"], "File": "Cpu0ISelLowering2", "Func": "GetGlobalReg", "Target": "Cpu0", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 189561, "Length": 43, "Cover_Rate": 0.9772727272727273} {"Template_token": ["", "const", "char", "*", "TargetLowering", "::", "getTargetNodeName", "(", "unsigned", "Opcode", ")", "const", "{", "switch", "(", "Opcode", ")", "{", "case", "", ":", "return", "", ";", "case", "", ":", "return", "", ";", "case", "", ":", "return", "", ";", "case", "", ":", "return", "", ";", "case", "", ":", "return", "", ";", "case", "", ":", "return", "", ";", "case", "", ":", "return", "", ";"], "ground_truth": ["case", "", ":", "return", "", ";"], "File": "Cpu0ISelLowering2", "Func": "getTargetNodeName", "Target": "Cpu0", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 189562, "Length": 65, "Cover_Rate": 0.7386363636363636} {"Template_token": ["", "case", "", ":", "return", "", ";", "case", "", ":", "return", "", ";", "case", "", ":", "return", "", ";", "case", "", ":", "return", "", ";", "case", "", ":", "return", "", ";", "case", "", ":", "return", "", ";", "case", "", ":", "return", "", ";"], "ground_truth": ["case", "", ":", "return", "", ";"], "File": "Cpu0ISelLowering2", "Func": "getTargetNodeName", "Target": "Cpu0", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 189563, "Length": 48, "Cover_Rate": 0.5454545454545454} {"Template_token": ["", "MachineFrameInfo", "*", "MFI", "=", "MF", ".", "getFrameInfo", "(", ")", ";", "FunctionInfo", "*", "FI", "=", "MF", ".", "getInfo", "<", "FunctionInfo", ">", "(", ")", ";", "FI", "->", "setVarArgsFrameIndex", "(", "", ")", ";", "std", "::", "vector", "<", "SDValue", ">", "OutChains", ";", "SmallVector", "<", "CCValAssign", ",", "", ">", "ArgLocs", ";", "CCState", "CCInfo", "(", "CallConv", ",", "isVarArg", ",", "DAG", ".", "getMachineFunction", "(", ")", ",", "getTargetMachine", "(", ")", ",", "ArgLocs", ",", "*", "DAG", ".", "getContext", "(", ")", ")", ";", "CCInfo", ".", "AnalyzeFormalArguments", "(", "Ins", ",", "CC_", ")", ";", "Function", "::", "const_arg_iterator", "FuncArg", "=", "DAG", ".", "getMachineFunction", "(", ")", ".", "getFunction", "(", ")", "->", "arg_begin", "(", ")", ";", "int", "LastFI", "=", "", ";", "for", "(", "unsigned", "i", "=", "", ",", "e", "=", "ArgLocs", ".", "size", "(", ")", ";", "i", "!=", "e", ";", "++", "i", ",", "++", "FuncArg", ")", "{", "CCValAssign", "&", "VA", "=", "ArgLocs", "[", "i", "]", ";", "EVT", "ValVT", "=", "VA", ".", "getValVT", "(", ")", ";", "", "Flags", "=", "Ins", "[", "i", "]", ".", "Flags", ";", "bool", "IsRegLoc", "=", "VA", ".", "isRegLoc", "(", ")", ";"], "ground_truth": ["if", "(", "Flags", ".", "isByVal", "(", ")", ")", "{"], "File": "Cpu0ISelLowering2", "Func": "LowerFormalArguments", "Target": "Cpu0", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 189565, "Length": 178, "Cover_Rate": 0.4635416666666667} {"Template_token": ["", "SDValue", "TargetLowering", "::", "LowerGlobalAddress", "(", "SDValue", "Op", ",", "SelectionDAG", "&", "DAG", ")", "const", "{", "DebugLoc", "dl", "=", "Op", ".", "getDebugLoc", "(", ")", ";", "const", "GlobalValue", "*", "GV", "=", "cast", "<", "GlobalAddressSDNode", ">", "(", "Op", ")", "->", "getGlobal", "(", ")", ";", "if", "(", "getTargetMachine", "(", ")", ".", "getRelocationModel", "(", ")", "!=", "Reloc", "::", "PIC_", ")", "{", "SDVTList", "VTs", "=", "DAG", ".", "getVTList", "(", "", ")", ";", "TargetObjectFile", "&", "TLOF", "=", "(", "TargetObjectFile", "&", ")", "getObjFileLowering", "(", ")", ";", "if", "(", "TLOF", ".", "IsGlobalInSmallSection", "(", "GV", ",", "getTargetMachine", "(", ")", ")", ")", "{", "SDValue", "GA", "=", "DAG", ".", "getTargetGlobalAddress", "(", "GV", ",", "dl", ",", "", ",", "", ",", "", ")", ";", "SDValue", "GPRelNode", "=", "DAG", ".", "getNode", "(", "", ",", "dl", ",", "VTs", ",", "&", "GA", ",", "", ")", ";", "SDValue", "GOT", "=", "DAG", ".", "getGLOBAL_OFFSET_TABLE", "(", "", ")", ";", "return", "DAG", ".", "getNode", "(", "", ",", "dl", ",", "", ",", "GOT", ",", "GPRelNode", ")", ";", "}", "SDValue", "GAHi", "=", "DAG", ".", "getTargetGlobalAddress", "(", "GV", ",", "dl", ",", "", ",", "", ",", "", ")", ";", "SDValue", "GALo", "=", "DAG", ".", "getTargetGlobalAddress", "(", "GV", ",", "dl", ",", "", ",", "", ",", "", ")", ";", "SDValue", "HiPart", "=", "DAG", ".", "getNode", "(", "", ",", "dl", ",", "VTs", ",", "&", "GAHi", ",", "", ")", ";", "SDValue", "Lo", "=", "DAG", ".", "getNode", "(", "", ",", "dl", ",", "", ",", "GALo", ")", ";", "return", "DAG", ".", "getNode", "(", "", ",", "dl", ",", "", ",", "HiPart", ",", "Lo", ")", ";", "}", "EVT", "ValTy", "=", "Op", ".", "getValueType", "(", ")", ";", "bool", "HasGotOfst", "=", "(", "GV", "->", "hasInternalLinkage", "(", ")", "||", "(", "GV", "->", "hasLocalLinkage", "(", ")", "&&", "!", "isa", "<", "Function", ">", "(", "GV", ")", ")", ")", ";", "unsigned", "GotFlag", "=", "(", "HasGotOfst", "?", "", ":", "", ")", ";", "SDValue", "GA", "=", "DAG", ".", "getTargetGlobalAddress", "(", "GV", ",", "dl", ",", "ValTy", ",", "", ",", "GotFlag", ")", ";", "GA", "=", "DAG", ".", "getNode", "(", "", ",", "dl", ",", "ValTy", ",", "GetGlobalReg", "(", "DAG", ",", "ValTy", ")", ",", "GA", ")", ";", "SDValue", "ResNode", "=", "DAG", ".", "getLoad", "(", "ValTy", ",", "dl", ",", "DAG", ".", "getEntryNode", "(", ")", ",", "GA", ",", "MachinePointerInfo", "(", ")", ",", "false", ",", "false", ",", "false", ",", "", ")", ";"], "ground_truth": ["if", "(", "!", "HasGotOfst", ")", "return", "ResNode", ";"], "File": "Cpu0ISelLowering2", "Func": "LowerGlobalAddress", "Target": "Cpu0", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 189566, "Length": 371, "Cover_Rate": 0.796137339055794} {"Template_token": ["", "switch", "(", "Op", ".", "getOpcode", "(", ")", ")", "{", "case", "", ":", "return", "LowerBRCOND", "(", "Op", ",", "DAG", ")", ";"], "ground_truth": ["case", "", ":", "return", "LowerGlobalAddress", "(", "Op", ",", "DAG", ")", ";"], "File": "Cpu0ISelLowering2", "Func": "LowerOperation", "Target": "Cpu0", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 189567, "Length": 31, "Cover_Rate": 0.5535714285714286} {"Template_token": ["", "SDValue", "TargetLowering", "::", "LowerReturn", "(", "SDValue", "Chain", ",", "CallingConv", "::", "ID", "CallConv", ",", "bool", "isVarArg", ",", "const", "SmallVectorImpl", "<", "", ">", "&", "Outs", ",", "const", "SmallVectorImpl", "<", "SDValue", ">", "&", "OutVals", ",", "DebugLoc", "dl", ",", "SelectionDAG", "&", "DAG", ")", "const", "{", "return", "DAG", ".", "getNode", "(", "", ",", "dl", ",", "", ",", "Chain", ",", "DAG", ".", "getRegister", "(", "", ",", "", ")", ")", ";"], "ground_truth": ["}"], "File": "Cpu0ISelLowering2", "Func": "LowerReturn", "Target": "Cpu0", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 189568, "Length": 65, "Cover_Rate": 0.8666666666666667} {"Template_token": ["", "setOperationAction", "(", "", ",", "", ",", "Expand", ")", ";", "setOperationAction", "(", "", ",", "", ",", "Expand", ")", ";", "setOperationAction", "(", "", ",", "", ",", "Expand", ")", ";", "setOperationAction", "(", "", ",", "", ",", "Expand", ")", ";", "setOperationAction", "(", "", ",", "", ",", "Expand", ")", ";", "setOperationAction", "(", "", ",", "", ",", "Expand", ")", ";", "setOperationAction", "(", "", ",", "", ",", "Expand", ")", ";", "setOperationAction", "(", "", ",", "", ",", "Expand", ")", ";", "setOperationAction", "(", "", ",", "", ",", "Custom", ")", ";", "setOperationAction", "(", "", ",", "", ",", "Expand", ")", ";", "setOperationAction", "(", "", ",", "", ",", "Expand", ")", ";", "setOperationAction", "(", "", ",", "", ",", "Expand", ")", ";", "setTargetDAGCombine", "(", "", ")", ";", "setTargetDAGCombine", "(", "", ")", ";", "setBooleanContents", "(", "ZeroOrOneBooleanContent", ")", ";", "setBooleanVectorContents", "(", "ZeroOrNegativeOneBooleanContent", ")", ";", "for", "(", "MVT", "VT", ":", "", "(", ")", ")", "{", "setLoadExtAction", "(", "", ",", "VT", ",", "", ",", "Promote", ")", ";", "setLoadExtAction", "(", "", ",", "VT", ",", "", ",", "Promote", ")", ";", "setLoadExtAction", "(", "", ",", "VT", ",", "", ",", "Promote", ")", ";", "}"], "ground_truth": ["AddPromotedToType", "(", "", ",", "", ",", "", ")", ";"], "File": "Cpu0ISelLowering4", "Func": "Cpu0TargetLowering", "Target": "Cpu0", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 189570, "Length": 181, "Cover_Rate": 0.3917748917748918} {"Template_token": ["", "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", "(", "", ",", "", ",", "Custom", ")", ";", "setOperationAction", "(", "", ",", "", ",", "Expand", ")", ";"], "ground_truth": ["setOperationAction", "(", "", ",", "", ",", "Expand", ")", ";"], "File": "Cpu0ISelLowering4", "Func": "Cpu0TargetLowering", "Target": "Cpu0", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 189571, "Length": 153, "Cover_Rate": 0.33116883116883117} {"Template_token": ["", "default", ":", "break", ";", "case", "'c'", ":", "return", "C_RegisterClass", ";", "case", "'R'", ":", "return", "C_Memory", ";", "}"], "ground_truth": ["}"], "File": "Cpu0ISelLowering4", "Func": "getConstraintType", "Target": "Cpu0", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 189574, "Length": 18, "Cover_Rate": 0.3103448275862069} {"Template_token": ["", "SDValue", "TargetLowering", "::", "getGlobalReg", "(", "SelectionDAG", "&", "DAG", ",", "EVT", "Ty", ")", "const", "{", "MachineFunctionInfo", "*", "FI", "=", "DAG", ".", "getMachineFunction", "(", ")", ".", "getInfo", "<", "MachineFunctionInfo", ">", "(", ")", ";"], "ground_truth": ["return", "DAG", ".", "getRegister", "(", "FI", "->", "getGlobalBaseReg", "(", ")", ",", "Ty", ")", ";"], "File": "Cpu0ISelLowering4", "Func": "getGlobalReg", "Target": "Cpu0", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 189576, "Length": 45, "Cover_Rate": 0.9782608695652174} {"Template_token": ["", "}", "if", "(", "IsPICCall", "&&", "!", "InternalLinkage", ")", "{", "unsigned", "GPReg", "=", "", ";", "EVT", "Ty", "=", "", ";", "RegsToPass", ".", "push_back", "(", "std", "::", "make_pair", "(", "GPReg", ",", "getGlobalReg", "(", "CLI", ".", "DAG", ",", "Ty", ")", ")", ")", ";", "}", "SDValue", "InFlag", ";", "for", "(", "unsigned", "i", "=", "", ",", "e", "=", "RegsToPass", ".", "size", "(", ")", ";", "i", "!=", "e", ";", "++", "i", ")", "{"], "ground_truth": ["Chain", "=", "CLI", ".", "DAG", ".", "getCopyToReg", "(", "Chain", ",", "CLI", ".", "DL", ",", "RegsToPass", "[", "i", "]", ".", "first", ",", "RegsToPass", "[", "i", "]", ".", "second", ",", "InFlag", ")", ";"], "File": "Cpu0ISelLowering4", "Func": "getOpndList", "Target": "Cpu0", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 189577, "Length": 98, "Cover_Rate": 0.3052959501557632} {"Template_token": ["", "if", "(", "VT", "==", "", "||", "VT", "==", "", "||", "VT", "==", "", ")", "{", "return", "std", "::", "make_pair", "(", "", ",", "&", "", ")", ";", "}", "if", "(", "VT", "==", "", ")", "return", "std", "::", "make_pair", "(", "", ",", "&", "", ")", ";", "return", "std", "::", "make_pair", "(", "", ",", "static_cast", "<", "const", "TargetRegisterClass", "*", ">", "(", "", ")", ")", ";", "case", "'c'", ":", "if", "(", "VT", "==", "", ")", "return", "std", "::", "make_pair", "(", "(", "unsigned", ")", "", ",", "&", "", ")", ";", "assert", "(", "false", "&&", "", ")", ";", "}"], "ground_truth": ["}"], "File": "Cpu0ISelLowering4", "Func": "getRegForInlineAsmConstraint", "Target": "Cpu0", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 189578, "Length": 94, "Cover_Rate": 0.46078431372549017} {"Template_token": ["", "switch", "(", "Constraint", "[", "", "]", ")", "{", "case", "'r'", ":", "if", "(", "VT", "==", "", "||", "VT", "==", "", "||", "VT", "==", "", ")", "{", "return", "std", "::", "make_pair", "(", "", ",", "&", "", ")", ";", "}", "if", "(", "VT", "==", "", ")", "return", "std", "::", "make_pair", "(", "", ",", "&", "", ")", ";", "return", "std", "::", "make_pair", "(", "", ",", "static_cast", "<", "const", "TargetRegisterClass", "*", ">", "(", "", ")", ")", ";", "case", "'c'", ":", "if", "(", "VT", "==", "", ")", "return", "std", "::", "make_pair", "(", "(", "unsigned", ")", "", ",", "&", "", ")", ";"], "ground_truth": ["assert", "(", "false", "&&", "", ")", ";"], "File": "Cpu0ISelLowering4", "Func": "getRegForInlineAsmConstraint", "Target": "Cpu0", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 189579, "Length": 103, "Cover_Rate": 0.5049019607843137} {"Template_token": ["", "", "SpecialCallConv", "=", "", ";", "return", "SpecialCallConv", ";"], "ground_truth": ["}"], "File": "Cpu0ISelLowering4", "Func": "getSpecialCallingConv", "Target": "Cpu0", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 189580, "Length": 9, "Cover_Rate": 0.3333333333333333} {"Template_token": ["", "TargetLowering", "::", "", "TargetLowering", "::", "getSpecialCallingConv", "(", "SDValue", "Callee", ")", "const", "{", "", "SpecialCallConv", "=", "", ";"], "ground_truth": ["return", "SpecialCallConv", ";"], "File": "Cpu0ISelLowering4", "Func": "getSpecialCallingConv", "Target": "Cpu0", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 189581, "Length": 20, "Cover_Rate": 0.7407407407407407} {"Template_token": ["", "case", "", ":", "return", "", ";", "case", "", ":", "return", "", ";", "case", "", ":", "return", "", ";", "case", "", ":", "return", "", ";", "case", "", ":", "return", "", ";", "case", "", ":", "return", "", ";", "case", "", ":", "return", "", ";", "case", "", ":", "return", "", ";", "case", "", ":", "return", "", ";"], "ground_truth": ["case", "", ":", "return", "", ";"], "File": "Cpu0ISelLowering4", "Func": "getTargetNodeName", "Target": "Cpu0", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 189582, "Length": 60, "Cover_Rate": 0.5769230769230769} {"Template_token": ["", "switch", "(", "AM", ".", "Scale", ")", "{", "case", "", ":", "break", ";", "case", "", ":", "if", "(", "!", "AM", ".", "HasBaseReg", ")", "break", ";", "return", "false", ";"], "ground_truth": ["default", ":"], "File": "Cpu0ISelLowering4", "Func": "isLegalAddressingMode", "Target": "Cpu0", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 189583, "Length": 29, "Cover_Rate": 0.3918918918918919} {"Template_token": ["", "bool", "TargetLowering", "::", "isOffsetFoldingLegal", "(", "const", "GlobalAddressSDNode", "*", "GA", ")", "const", "{"], "ground_truth": ["return", "false", ";"], "File": "Cpu0ISelLowering4", "Func": "isOffsetFoldingLegal", "Target": "Cpu0", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 189584, "Length": 15, "Cover_Rate": 0.9375} {"Template_token": ["", "bool", "TargetLowering", "::", "isOffsetFoldingLegal", "(", "const", "GlobalAddressSDNode", "*", "GA", ")", "const", "{"], "ground_truth": ["return", "false", ";"], "File": "Cpu0ISelLowering4", "Func": "isOffsetFoldingLegal", "Target": "Cpu0", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 189585, "Length": 15, "Cover_Rate": 0.9375} {"Template_token": ["", "Result", "=", "DAG", ".", "getTargetConstant", "(", "Val", ",", "DL", ",", "Type", ")", ";", "break", ";", "}", "}", "return", ";", "case", "'L'", ":", "if", "(", "ConstantSDNode", "*", "C", "=", "dyn_cast", "<", "ConstantSDNode", ">", "(", "Op", ")", ")", "{", "EVT", "Type", "=", "Op", ".", "getValueType", "(", ")", ";", "uint64_t", "Val", "=", "(", "uint64_t", ")", "C", "->", "getZExtValue", "(", ")", ";", "if", "(", "(", "isUInt", "<", "", ">", "(", "Val", ")", ")", "&&", "(", "(", "Val", "&", "", ")", "==", "", ")", ")", "{", "Result", "=", "DAG", ".", "getTargetConstant", "(", "Val", ",", "DL", ",", "Type", ")", ";", "break", ";", "}", "}", "return", ";", "case", "'N'", ":", "if", "(", "ConstantSDNode", "*", "C", "=", "dyn_cast", "<", "ConstantSDNode", ">", "(", "Op", ")", ")", "{", "EVT", "Type", "=", "Op", ".", "getValueType", "(", ")", ";", "int64_t", "Val", "=", "(", "int64_t", ")", "C", "->", "getZExtValue", "(", ")", ";", "if", "(", "(", "Val", ">=", "-", "", ")", "&&", "(", "Val", "<=", "-", "", ")", ")", "{", "Result", "=", "DAG", ".", "getTargetConstant", "(", "Val", ",", "DL", ",", "Type", ")", ";", "break", ";", "}", "}", "return", ";", "case", "'O'", ":", "if", "(", "ConstantSDNode", "*", "C", "=", "dyn_cast", "<", "ConstantSDNode", ">", "(", "Op", ")", ")", "{", "EVT", "Type", "=", "Op", ".", "getValueType", "(", ")", ";", "uint64_t", "Val", "=", "(", "uint64_t", ")", "C", "->", "getZExtValue", "(", ")", ";", "if", "(", "(", "isInt", "<", "", ">", "(", "Val", ")", ")", ")", "{", "Result", "=", "DAG", ".", "getTargetConstant", "(", "Val", ",", "DL", ",", "Type", ")", ";", "break", ";", "}", "}"], "ground_truth": ["return", ";"], "File": "Cpu0ISelLowering4", "Func": "LowerAsmOperandForConstraint", "Target": "Cpu0", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 189586, "Length": 246, "Cover_Rate": 0.3974151857835218} {"Template_token": ["", "break", ";", "}", "}", "}", "return", ";", "case", "'J'", ":", "if", "(", "ConstantSDNode", "*", "C", "=", "dyn_cast", "<", "ConstantSDNode", ">", "(", "Op", ")", ")", "{", "EVT", "Type", "=", "Op", ".", "getValueType", "(", ")", ";", "int64_t", "Val", "=", "C", "->", "getZExtValue", "(", ")", ";", "if", "(", "Val", "==", "", ")", "{", "Result", "=", "DAG", ".", "getTargetConstant", "(", "", ",", "DL", ",", "Type", ")", ";", "break", ";", "}", "}", "return", ";", "case", "'K'", ":", "if", "(", "ConstantSDNode", "*", "C", "=", "dyn_cast", "<", "ConstantSDNode", ">", "(", "Op", ")", ")", "{", "EVT", "Type", "=", "Op", ".", "getValueType", "(", ")", ";", "uint64_t", "Val", "=", "(", "uint64_t", ")", "C", "->", "getZExtValue", "(", ")", ";", "if", "(", "isUInt", "<", "", ">", "(", "Val", ")", ")", "{", "Result", "=", "DAG", ".", "getTargetConstant", "(", "Val", ",", "DL", ",", "Type", ")", ";", "break", ";", "}", "}", "return", ";", "case", "'L'", ":", "if", "(", "ConstantSDNode", "*", "C", "=", "dyn_cast", "<", "ConstantSDNode", ">", "(", "Op", ")", ")", "{", "EVT", "Type", "=", "Op", ".", "getValueType", "(", ")", ";", "uint64_t", "Val", "=", "(", "uint64_t", ")", "C", "->", "getZExtValue", "(", ")", ";", "if", "(", "(", "isUInt", "<", "", ">", "(", "Val", ")", ")", "&&", "(", "(", "Val", "&", "", ")", "==", "", ")", ")", "{", "Result", "=", "DAG", ".", "getTargetConstant", "(", "Val", ",", "DL", ",", "Type", ")", ";", "break", ";", "}"], "ground_truth": ["}"], "File": "Cpu0ISelLowering4", "Func": "LowerAsmOperandForConstraint", "Target": "Cpu0", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 189587, "Length": 217, "Cover_Rate": 0.3505654281098546} {"Template_token": ["", "BlockAddressSDNode", "*", "N", "=", "cast", "<", "BlockAddressSDNode", ">", "(", "Op", ")", ";", "EVT", "Ty", "=", "Op", ".", "getValueType", "(", ")", ";", "if", "(", "!", "isPositionIndependent", "(", ")", ")", "return", "getAddrNonPIC", "(", "N", ",", "Ty", ",", "DAG", ")", ";"], "ground_truth": ["return", "getAddrLocal", "(", "N", ",", "Ty", ",", "DAG", ")", ";"], "File": "Cpu0ISelLowering4", "Func": "lowerBlockAddress", "Target": "Cpu0", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 189588, "Length": 48, "Cover_Rate": 0.7619047619047619} {"Template_token": ["", "SDValue", "TargetLowering", "::", "lowerBRCOND", "(", "SDValue", "Op", ",", "SelectionDAG", "&", "DAG", ")", "const", "{", "return", "Op", ";"], "ground_truth": ["}"], "File": "Cpu0ISelLowering4", "Func": "lowerBRCOND", "Target": "Cpu0", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 189589, "Length": 18, "Cover_Rate": 1.0} {"Template_token": ["", "SelectionDAG", "&", "DAG", "=", "CLI", ".", "DAG", ";", "SDLoc", "DL", "=", "CLI", ".", "DL", ";", "SmallVectorImpl", "<", "", ">", "&", "Outs", "=", "CLI", ".", "Outs", ";", "SmallVectorImpl", "<", "SDValue", ">", "&", "OutVals", "=", "CLI", ".", "OutVals", ";", "SmallVectorImpl", "<", "", ">", "&", "Ins", "=", "CLI", ".", "Ins", ";", "SDValue", "Chain", "=", "CLI", ".", "Chain", ";", "SDValue", "Callee", "=", "CLI", ".", "Callee", ";", "bool", "&", "IsTailCall", "=", "CLI", ".", "IsTailCall", ";", "CallingConv", "::", "ID", "CallConv", "=", "CLI", ".", "CallConv", ";", "bool", "IsVarArg", "=", "CLI", ".", "IsVarArg", ";", "MachineFunction", "&", "MF", "=", "DAG", ".", "getMachineFunction", "(", ")", ";", "MachineFrameInfo", "&", "MFI", "=", "MF", ".", "getFrameInfo", "(", ")", ";", "const", "TargetFrameLowering", "*", "TFL", "=", "MF", ".", "getSubtarget", "(", ")", ".", "getFrameLowering", "(", ")", ";", "MachineFunctionInfo", "*", "FuncInfo", "=", "MF", ".", "getInfo", "<", "MachineFunctionInfo", ">", "(", ")", ";", "bool", "IsPIC", "=", "isPositionIndependent", "(", ")", ";", "SmallVector", "<", "CCValAssign", ",", "", ">", "ArgLocs", ";", "CCState", "CCInfo", "(", "CallConv", ",", "IsVarArg", ",", "DAG", ".", "getMachineFunction", "(", ")", ",", "ArgLocs", ",", "*", "DAG", ".", "getContext", "(", ")", ")", ";", "", "SpecialCallingConv", "=", "getSpecialCallingConv", "(", "Callee", ")", ";", "CC", "CCInfo", "(", "CallConv", ",", "ABI", ".", "IsO32", "(", ")", ",", "CCInfo", ",", "SpecialCallingConv", ")", ";", "CCInfo", ".", "analyzeCallOperands", "(", "Outs", ",", "IsVarArg", ",", "Subtarget", ".", "abiUsesSoftFloat", "(", ")", ",", "Callee", ".", "getNode", "(", ")", ",", "CLI", ".", "getArgs", "(", ")", ")", ";", "unsigned", "NextStackOffset", "=", "CCInfo", ".", "getNextStackOffset", "(", ")", ";", "if", "(", "IsTailCall", ")", "IsTailCall", "=", "isEligibleForTailCallOptimization", "(", "CCInfo", ",", "NextStackOffset", ",", "*", "MF", ".", "getInfo", "<", "MachineFunctionInfo", ">", "(", ")", ")", ";", "if", "(", "!", "IsTailCall", "&&", "CLI", ".", "CS", "&&", "CLI", ".", "CS", ".", "isMustTailCall", "(", ")", ")", "report_fatal_error", "(", "", "", ")", ";", "if", "(", "IsTailCall", ")", "++", "NumTailCalls", ";", "unsigned", "StackAlignment", "=", "TFL", "->", "getStackAlignment", "(", ")", ";", "NextStackOffset", "=", "alignTo", "(", "NextStackOffset", ",", "StackAlignment", ")", ";", "SDValue", "NextStackOffsetVal", "=", "DAG", ".", "getIntPtrConstant", "(", "NextStackOffset", ",", "DL", ",", "true", ")", ";", "if", "(", "!", "IsTailCall", ")", "Chain", "=", "DAG", ".", "getCALLSEQ_START", "(", "Chain", ",", "NextStackOffset", ",", "", ",", "DL", ")", ";", "SDValue", "StackPtr", "=", "DAG", ".", "getCopyFromReg", "(", "Chain", ",", "DL", ",", "", ",", "getPointerTy", "(", "DAG", ".", "getDataLayout", "(", ")", ")", ")", ";", "std", "::", "deque", "<", "std", "::", "pair", "<", "unsigned", ",", "SDValue", ">>", "RegsToPass", ";", "SmallVector", "<", "SDValue", ",", "", ">", "MemOpChains", ";"], "ground_truth": ["", "ByValArg", "=", "CCInfo", ".", "byval_begin", "(", ")", ";"], "File": "Cpu0ISelLowering4", "Func": "LowerCall", "Target": "Cpu0", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 189591, "Length": 391, "Cover_Rate": 0.3429824561403509} {"Template_token": ["", "unsigned", "Reg", "=", "addLiveIn", "(", "DAG", ".", "getMachineFunction", "(", ")", ",", "ArgReg", ",", "RC", ")", ";", "SDValue", "ArgValue", "=", "DAG", ".", "getCopyFromReg", "(", "Chain", ",", "DL", ",", "Reg", ",", "RegVT", ")", ";", "if", "(", "VA", ".", "getLocInfo", "(", ")", "!=", "CCValAssign", "::", "Full", ")", "{", "unsigned", "Opcode", "=", "", ";", "if", "(", "VA", ".", "getLocInfo", "(", ")", "==", "CCValAssign", "::", "SExt", ")", "Opcode", "=", "", ";", "else", "if", "(", "VA", ".", "getLocInfo", "(", ")", "==", "CCValAssign", "::", "ZExt", ")", "Opcode", "=", "", ";", "if", "(", "Opcode", ")", "ArgValue", "=", "DAG", ".", "getNode", "(", "Opcode", ",", "DL", ",", "RegVT", ",", "ArgValue", ",", "DAG", ".", "getValueType", "(", "ValVT", ")", ")", ";", "ArgValue", "=", "DAG", ".", "getNode", "(", "", ",", "DL", ",", "ValVT", ",", "ArgValue", ")", ";", "}", "if", "(", "(", "RegVT", "==", "", "&&", "ValVT", "==", "", ")", "||", "(", "RegVT", "==", "", "&&", "ValVT", "==", "", ")", ")", "ArgValue", "=", "DAG", ".", "getNode", "(", "", ",", "DL", ",", "ValVT", ",", "ArgValue", ")", ";", "InVals", ".", "push_back", "(", "ArgValue", ")", ";", "}", "else", "{", "MVT", "LocVT", "=", "VA", ".", "getLocVT", "(", ")", ";", "assert", "(", "VA", ".", "isMemLoc", "(", ")", ")", ";", "int", "FI", "=", "MFI", ".", "CreateFixedObject", "(", "ValVT", ".", "getSizeInBits", "(", ")", "/", "", ",", "VA", ".", "getLocMemOffset", "(", ")", ",", "true", ")", ";", "SDValue", "FIN", "=", "DAG", ".", "getFrameIndex", "(", "FI", ",", "getPointerTy", "(", "DAG", ".", "getDataLayout", "(", ")", ")", ")", ";", "SDValue", "Load", "=", "DAG", ".", "getLoad", "(", "LocVT", ",", "DL", ",", "Chain", ",", "FIN", ",", "MachinePointerInfo", "::", "getFixedStack", "(", "DAG", ".", "getMachineFunction", "(", ")", ",", "FI", ")", ")", ";", "InVals", ".", "push_back", "(", "Load", ")", ";", "OutChains", ".", "push_back", "(", "Load", ".", "getValue", "(", "", ")", ")", ";"], "ground_truth": ["}"], "File": "Cpu0ISelLowering4", "Func": "LowerFormalArguments", "Target": "Cpu0", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 189592, "Length": 282, "Cover_Rate": 0.32081911262798635} {"Template_token": ["", "SDValue", "TargetLowering", "::", "LowerFormalArguments", "(", "SDValue", "Chain", ",", "CallingConv", "::", "ID", "CallConv", ",", "bool", "IsVarArg", ",", "const", "SmallVectorImpl", "<", "", ">", "&", "Ins", ",", "const", "SDLoc", "&", "DL", ",", "SelectionDAG", "&", "DAG", ",", "SmallVectorImpl", "<", "SDValue", ">", "&", "InVals", ")", "const", "{", "MachineFunction", "&", "MF", "=", "DAG", ".", "getMachineFunction", "(", ")", ";", "MachineFrameInfo", "&", "MFI", "=", "MF", ".", "getFrameInfo", "(", ")", ";", "MachineFunctionInfo", "*", "FI", "=", "MF", ".", "getInfo", "<", "MachineFunctionInfo", ">", "(", ")", ";", "FI", "->", "setVarArgsFrameIndex", "(", "", ")", ";", "SmallVector", "<", "CCValAssign", ",", "", ">", "ArgLocs", ";", "CCState", "CCInfo", "(", "CallConv", ",", "IsVarArg", ",", "DAG", ".", "getMachineFunction", "(", ")", ",", "ArgLocs", ",", "*", "DAG", ".", "getContext", "(", ")", ")", ";", "CC", "CCInfo", "(", "CallConv", ",", "ABI", ".", "IsO32", "(", ")", ",", "CCInfo", ")", ";", "Function", "::", "const_arg_iterator", "FuncArg", "=", "DAG", ".", "getMachineFunction", "(", ")", ".", "getFunction", "(", ")", ".", "arg_begin", "(", ")", ";", "bool", "UseSoftFloat", "=", "Subtarget", ".", "abiUsesSoftFloat", "(", ")", ";", "CCInfo", ".", "analyzeFormalArguments", "(", "Ins", ",", "UseSoftFloat", ",", "FuncArg", ")", ";", "FI", "->", "setFormalArgInfo", "(", "CCInfo", ".", "getNextStackOffset", "(", ")", ",", "CCInfo", ".", "hasByValArg", "(", ")", ")", ";", "std", "::", "vector", "<", "SDValue", ">", "OutChains", ";", "unsigned", "CurArgIdx", "=", "", ";", "", "ByValArg", "=", "CCInfo", ".", "byval_begin", "(", ")", ";", "for", "(", "unsigned", "i", "=", "", ",", "e", "=", "ArgLocs", ".", "size", "(", ")", ";", "i", "!=", "e", ";", "++", "i", ")", "{", "CCValAssign", "&", "VA", "=", "ArgLocs", "[", "i", "]", ";", "if", "(", "Ins", "[", "i", "]", ".", "isOrigArg", "(", ")", ")", "{", "std", "::", "advance", "(", "FuncArg", ",", "Ins", "[", "i", "]", ".", "getOrigArgIndex", "(", ")", "-", "CurArgIdx", ")", ";", "CurArgIdx", "=", "Ins", "[", "i", "]", ".", "getOrigArgIndex", "(", ")", ";", "}", "EVT", "ValVT", "=", "VA", ".", "getValVT", "(", ")", ";", "", "Flags", "=", "Ins", "[", "i", "]", ".", "Flags", ";", "bool", "IsRegLoc", "=", "VA", ".", "isRegLoc", "(", ")", ";", "if", "(", "Flags", ".", "isByVal", "(", ")", ")", "{", "assert", "(", "Flags", ".", "getByValSize", "(", ")", "&&", "", ")", ";", "assert", "(", "ByValArg", "!=", "CCInfo", ".", "byval_end", "(", ")", ")", ";", "copyByValRegs", "(", "Chain", ",", "DL", ",", "OutChains", ",", "DAG", ",", "Flags", ",", "InVals", ",", "&", "*", "FuncArg", ",", "CCInfo", ",", "*", "ByValArg", ")", ";", "++", "ByValArg", ";", "continue", ";"], "ground_truth": ["}"], "File": "Cpu0ISelLowering4", "Func": "LowerFormalArguments", "Target": "Cpu0", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 189593, "Length": 368, "Cover_Rate": 0.41865756541524457} {"Template_token": ["", "EVT", "Ty", "=", "Op", ".", "getValueType", "(", ")", ";", "GlobalAddressSDNode", "*", "N", "=", "cast", "<", "GlobalAddressSDNode", ">", "(", "Op", ")", ";", "const", "GlobalValue", "*", "GV", "=", "N", "->", "getGlobal", "(", ")", ";", "const", "GlobalObject", "*", "GO", "=", "GV", "->", "getBaseObject", "(", ")", ";", "if", "(", "!", "isPositionIndependent", "(", ")", ")", "{", "if", "(", "GO", "&&", "TLOF", "->", "IsGlobalInSmallSection", "(", "GO", ",", "getTargetMachine", "(", ")", ")", ")", "{", "SDValue", "GA", "=", "DAG", ".", "getTargetGlobalAddress", "(", "GV", ",", "DL", ",", "", ",", "", ",", "", ")", ";", "SDValue", "GPRelNode", "=", "DAG", ".", "getNode", "(", "", ",", "DL", ",", "DAG", ".", "getVTList", "(", "", ")", ",", "GA", ")", ";", "SDValue", "GPReg", "=", "DAG", ".", "getRegister", "(", "", ",", "", ")", ";", "return", "DAG", ".", "getNode", "(", "", ",", "DL", ",", "", ",", "GPReg", ",", "GPRelNode", ")", ";", "}", "return", "getAddrNonPIC", "(", "N", ",", "Ty", ",", "DAG", ")", ";"], "ground_truth": ["}"], "File": "Cpu0ISelLowering4", "Func": "lowerGlobalAddress", "Target": "Cpu0", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 189594, "Length": 146, "Cover_Rate": 0.45768025078369906} {"Template_token": ["", "const", "GlobalValue", "*", "GV", "=", "N", "->", "getGlobal", "(", ")", ";", "const", "GlobalObject", "*", "GO", "=", "GV", "->", "getBaseObject", "(", ")", ";", "if", "(", "!", "isPositionIndependent", "(", ")", ")", "{", "if", "(", "GO", "&&", "TLOF", "->", "IsGlobalInSmallSection", "(", "GO", ",", "getTargetMachine", "(", ")", ")", ")", "{", "SDValue", "GA", "=", "DAG", ".", "getTargetGlobalAddress", "(", "GV", ",", "DL", ",", "", ",", "", ",", "", ")", ";", "SDValue", "GPRelNode", "=", "DAG", ".", "getNode", "(", "", ",", "DL", ",", "DAG", ".", "getVTList", "(", "", ")", ",", "GA", ")", ";", "SDValue", "GPReg", "=", "DAG", ".", "getRegister", "(", "", ",", "", ")", ";"], "ground_truth": ["return", "DAG", ".", "getNode", "(", "", ",", "DL", ",", "", ",", "GPReg", ",", "GPRelNode", ")", ";"], "File": "Cpu0ISelLowering4", "Func": "lowerGlobalAddress", "Target": "Cpu0", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 189595, "Length": 113, "Cover_Rate": 0.3542319749216301} {"Template_token": ["", "case", "", ":", "return", "lowerJumpTable", "(", "Op", ",", "DAG", ")", ";", "case", "", ":", "return", "lowerGlobalAddress", "(", "Op", ",", "DAG", ")", ";", "case", "", ":", "return", "lowerSELECT", "(", "Op", ",", "DAG", ")", ";", "}", "return", "SDValue", "(", ")", ";"], "ground_truth": ["}"], "File": "Cpu0ISelLowering4", "Func": "LowerOperation", "Target": "Cpu0", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 189596, "Length": 40, "Cover_Rate": 0.42105263157894735} {"Template_token": ["", "SDValue", "TargetLowering", "::", "LowerOperation", "(", "SDValue", "Op", ",", "SelectionDAG", "&", "DAG", ")", "const", "{", "switch", "(", "Op", ".", "getOpcode", "(", ")", ")", "{", "case", "", ":", "return", "lowerBRCOND", "(", "Op", ",", "DAG", ")", ";", "case", "", ":", "return", "lowerBlockAddress", "(", "Op", ",", "DAG", ")", ";", "case", "", ":", "return", "lowerJumpTable", "(", "Op", ",", "DAG", ")", ";", "case", "", ":", "return", "lowerGlobalAddress", "(", "Op", ",", "DAG", ")", ";", "case", "", ":", "return", "lowerSELECT", "(", "Op", ",", "DAG", ")", ";", "}"], "ground_truth": ["return", "SDValue", "(", ")", ";"], "File": "Cpu0ISelLowering4", "Func": "LowerOperation", "Target": "Cpu0", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 189597, "Length": 84, "Cover_Rate": 0.8842105263157894} {"Template_token": ["", "SDValue", "TargetLowering", "::", "LowerReturn", "(", "SDValue", "Chain", ",", "CallingConv", "::", "ID", "CallConv", ",", "bool", "IsVarArg", ",", "const", "SmallVectorImpl", "<", "", ">", "&", "Outs", ",", "const", "SmallVectorImpl", "<", "SDValue", ">", "&", "OutsVals", ",", "const", "SDLoc", "&", "DL", ",", "SelectionDAG", "&", "DAG", ")", "const", "{", "SmallVector", "<", "CCValAssign", ",", "", ">", "RVLocs", ";", "MachineFunction", "&", "MF", "=", "DAG", ".", "getMachineFunction", "(", ")", ";", "CCState", "CCInfo", "(", "CallConv", ",", "IsVarArg", ",", "MF", ",", "RVLocs", ",", "*", "DAG", ".", "getContext", "(", ")", ")", ";", "CC", "CCInfo", "(", "CallConv", ",", "ABI", ".", "IsO32", "(", ")", ",", "CCInfo", ")", ";", "CCInfo", ".", "analyzeReturn", "(", "Outs", ",", "Subtarget", ".", "abiUsesSoftFloat", "(", ")", ",", "MF", ".", "getFunction", "(", ")", ".", "getReturnType", "(", ")", ")", ";", "SDValue", "Flag", ";", "SmallVector", "<", "SDValue", ",", "", ">", "RetOps", "(", "", ",", "Chain", ")", ";", "for", "(", "unsigned", "i", "=", "", ";", "i", "!=", "RVLocs", ".", "size", "(", ")", ";", "++", "i", ")", "{", "SDValue", "Val", "=", "OutsVals", "[", "i", "]", ";", "CCValAssign", "&", "VA", "=", "RVLocs", "[", "i", "]", ";", "assert", "(", "VA", ".", "isRegLoc", "(", ")", "&&", "", ")", ";", "if", "(", "RVLocs", "[", "i", "]", ".", "getValVT", "(", ")", "!=", "RVLocs", "[", "i", "]", ".", "getLocVT", "(", ")", ")", "Val", "=", "DAG", ".", "getNode", "(", "", ",", "DL", ",", "RVLocs", "[", "i", "]", ".", "getLocVT", "(", ")", ",", "Val", ")", ";", "Chain", "=", "DAG", ".", "getCopyToReg", "(", "Chain", ",", "DL", ",", "VA", ".", "getLocReg", "(", ")", ",", "Val", ",", "Flag", ")", ";", "Flag", "=", "Chain", ".", "getValue", "(", "", ")", ";", "RetOps", ".", "push_back", "(", "DAG", ".", "getRegister", "(", "VA", ".", "getLocReg", "(", ")", ",", "VA", ".", "getLocVT", "(", ")", ")", ")", ";", "}", "if", "(", "MF", ".", "getFunction", "(", ")", ".", "hasStructRetAttr", "(", ")", ")", "{", "MachineFunctionInfo", "*", "FI", "=", "MF", ".", "getInfo", "<", "MachineFunctionInfo", ">", "(", ")", ";", "unsigned", "Reg", "=", "FI", "->", "getSRetReturnReg", "(", ")", ";", "if", "(", "!", "Reg", ")", "llvm_unreachable", "(", "", ")", ";", "SDValue", "Val", "=", "DAG", ".", "getCopyFromReg", "(", "Chain", ",", "DL", ",", "Reg", ",", "getPointerTy", "(", "DAG", ".", "getDataLayout", "(", ")", ")", ")", ";", "unsigned", "V0", "=", "", ";"], "ground_truth": ["Chain", "=", "DAG", ".", "getCopyToReg", "(", "Chain", ",", "DL", ",", "V0", ",", "Val", ",", "Flag", ")", ";"], "File": "Cpu0ISelLowering4", "Func": "LowerReturn", "Target": "Cpu0", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 189598, "Length": 365, "Cover_Rate": 0.8239277652370203} {"Template_token": ["", "SDValue", "TargetLowering", "::", "lowerSELECT", "(", "SDValue", "Op", ",", "SelectionDAG", "&", "DAG", ")", "const", "{", "return", "Op", ";"], "ground_truth": ["}"], "File": "Cpu0ISelLowering4", "Func": "lowerSELECT", "Target": "Cpu0", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 189600, "Length": 18, "Cover_Rate": 1.0} {"Template_token": ["", "I", "=", "std", "::", "find_if", "(", "B", ",", "E", ",", "isdigit", ")", ";", "Prefix", ".", "assign", "(", "B", ",", "I", "-", "B", ")", ";", "if", "(", "I", "==", "E", ")", "return", "std", "::", "make_pair", "(", "true", ",", "false", ")", ";"], "ground_truth": ["return", "std", "::", "make_pair", "(", "!", "getAsUnsignedInteger", "(", "StringRef", "(", "I", ",", "E", "-", "I", ")", ",", "", ",", "Reg", ")", ",", "true", ")", ";"], "File": "Cpu0ISelLowering4", "Func": "parsePhysicalReg", "Target": "Cpu0", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 189601, "Length": 65, "Cover_Rate": 0.4391891891891892} {"Template_token": ["", "static", "std", "::", "pair", "<", "bool", ",", "bool", ">", "parsePhysicalReg", "(", "const", "StringRef", "&", "C", ",", "std", "::", "string", "&", "Prefix", ",", "unsigned", "long", "long", "&", "Reg", ")", "{", "if", "(", "C", ".", "front", "(", ")", "!=", "'{'", "||", "C", ".", "back", "(", ")", "!=", "'}'", ")", "return", "std", "::", "make_pair", "(", "false", ",", "false", ")", ";", "StringRef", "::", "const_iterator", "I", ",", "B", "=", "C", ".", "begin", "(", ")", "+", "", ",", "E", "=", "C", ".", "end", "(", ")", "-", "", ";", "I", "=", "std", "::", "find_if", "(", "B", ",", "E", ",", "isdigit", ")", ";", "Prefix", ".", "assign", "(", "B", ",", "I", "-", "B", ")", ";", "if", "(", "I", "==", "E", ")", "return", "std", "::", "make_pair", "(", "true", ",", "false", ")", ";", "return", "std", "::", "make_pair", "(", "!", "getAsUnsignedInteger", "(", "StringRef", "(", "I", ",", "E", "-", "I", ")", ",", "", ",", "Reg", ")", ",", "true", ")", ";"], "ground_truth": ["}"], "File": "Cpu0ISelLowering4", "Func": "parsePhysicalReg", "Target": "Cpu0", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 189602, "Length": 148, "Cover_Rate": 1.0} {"Template_token": ["", "const", "TargetRegisterClass", "*", "RC", ";", "std", "::", "string", "Prefix", ";", "unsigned", "long", "long", "Reg", ";", "std", "::", "pair", "<", "bool", ",", "bool", ">", "R", "=", "parsePhysicalReg", "(", "C", ",", "Prefix", ",", "Reg", ")", ";", "if", "(", "!", "R", ".", "first", ")", "return", "std", "::", "make_pair", "(", "", ",", "nullptr", ")", ";", "if", "(", "!", "R", ".", "second", ")", "return", "std", "::", "make_pair", "(", "", ",", "nullptr", ")", ";", "assert", "(", "Prefix", "==", "", ")", ";", "RC", "=", "getRegClassFor", "(", "(", "VT", "==", "", ")", "?", "", ":", "VT", ")", ";", "assert", "(", "Reg", "<", "RC", "->", "getNumRegs", "(", ")", ")", ";"], "ground_truth": ["return", "std", "::", "make_pair", "(", "*", "(", "RC", "->", "begin", "(", ")", "+", "Reg", ")", ",", "RC", ")", ";"], "File": "Cpu0ISelLowering4", "Func": "ParseRegForInlineAsmConstraint", "Target": "Cpu0", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 189603, "Length": 120, "Cover_Rate": 0.8053691275167785} {"Template_token": ["", "unsigned", "ByValSizeInBytes", "=", "Flags", ".", "getByValSize", "(", ")", ";", "unsigned", "OffsetInBytes", "=", "", ";", "unsigned", "RegSizeInBytes", "=", "CC", ".", "regSize", "(", ")", ";", "unsigned", "Alignment", "=", "std", "::", "min", "(", "Flags", ".", "getByValAlign", "(", ")", ",", "RegSizeInBytes", ")", ";", "EVT", "PtrTy", "=", "getPointerTy", "(", "DAG", ".", "getDataLayout", "(", ")", ")", ",", "RegTy", "=", "", "(", "RegSizeInBytes", "*", "", ")", ";", "if", "(", "ByVal", ".", "NumRegs", ")", "{", "const", "ArrayRef", "<", "MCPhysReg", ">", "ArgRegs", "=", "CC", ".", "intArgRegs", "(", ")", ";", "bool", "LeftoverBytes", "=", "(", "ByVal", ".", "NumRegs", "*", "RegSizeInBytes", ">", "ByValSizeInBytes", ")", ";", "unsigned", "I", "=", "", ";", "for", "(", ";", "I", "<", "ByVal", ".", "NumRegs", "-", "LeftoverBytes", ";", "++", "I", ",", "OffsetInBytes", "+=", "RegSizeInBytes", ")", "{", "SDValue", "LoadPtr", "=", "DAG", ".", "getNode", "(", "", ",", "DL", ",", "PtrTy", ",", "Arg", ",", "DAG", ".", "getConstant", "(", "OffsetInBytes", ",", "DL", ",", "PtrTy", ")", ")", ";", "SDValue", "LoadVal", "=", "DAG", ".", "getLoad", "(", "RegTy", ",", "DL", ",", "Chain", ",", "LoadPtr", ",", "MachinePointerInfo", "(", ")", ")", ";", "MemOpChains", ".", "push_back", "(", "LoadVal", ".", "getValue", "(", "", ")", ")", ";", "unsigned", "ArgReg", "=", "ArgRegs", "[", "ByVal", ".", "FirstIdx", "+", "I", "]", ";", "RegsToPass", ".", "push_back", "(", "std", "::", "make_pair", "(", "ArgReg", ",", "LoadVal", ")", ")", ";", "}", "if", "(", "ByValSizeInBytes", "==", "OffsetInBytes", ")", "return", ";", "if", "(", "LeftoverBytes", ")", "{", "assert", "(", "(", "ByValSizeInBytes", ">", "OffsetInBytes", ")", "&&", "(", "ByValSizeInBytes", "<", "OffsetInBytes", "+", "RegSizeInBytes", ")", "&&", "", ")", ";", "SDValue", "Val", ";", "for", "(", "unsigned", "LoadSizeInBytes", "=", "RegSizeInBytes", "/", "", ",", "TotalBytesLoaded", "=", "", ";", "OffsetInBytes", "<", "ByValSizeInBytes", ";", "LoadSizeInBytes", "/=", "", ")", "{", "unsigned", "RemainingSizeInBytes", "=", "ByValSizeInBytes", "-", "OffsetInBytes", ";", "if", "(", "RemainingSizeInBytes", "<", "LoadSizeInBytes", ")", "continue", ";", "SDValue", "LoadPtr", "=", "DAG", ".", "getNode", "(", "", ",", "DL", ",", "PtrTy", ",", "Arg", ",", "DAG", ".", "getConstant", "(", "OffsetInBytes", ",", "DL", ",", "PtrTy", ")", ")", ";", "SDValue", "LoadVal", "=", "DAG", ".", "getExtLoad", "(", "", ",", "DL", ",", "RegTy", ",", "Chain", ",", "LoadPtr", ",", "MachinePointerInfo", "(", ")", ",", "", "(", "LoadSizeInBytes", "*", "", ")", ",", "Alignment", ")", ";", "MemOpChains", ".", "push_back", "(", "LoadVal", ".", "getValue", "(", "", ")", ")", ";", "unsigned", "Shamt", ";", "if", "(", "isLittle", ")", "Shamt", "=", "TotalBytesLoaded", "*", "", ";", "else", "Shamt", "=", "(", "RegSizeInBytes", "-", "(", "TotalBytesLoaded", "+", "LoadSizeInBytes", ")", ")", "*", "", ";", "SDValue", "Shift", "=", "DAG", ".", "getNode", "(", "", ",", "DL", ",", "RegTy", ",", "LoadVal", ",", "DAG", ".", "getConstant", "(", "Shamt", ",", "DL", ",", "", ")", ")", ";", "if", "(", "Val", ".", "getNode", "(", ")", ")", "Val", "=", "DAG", ".", "getNode", "(", "", ",", "DL", ",", "RegTy", ",", "Val", ",", "Shift", ")", ";", "else", "Val", "=", "Shift", ";", "OffsetInBytes", "+=", "LoadSizeInBytes", ";", "TotalBytesLoaded", "+=", "LoadSizeInBytes", ";", "Alignment", "=", "std", "::", "min", "(", "Alignment", ",", "LoadSizeInBytes", ")", ";", "}", "unsigned", "ArgReg", "=", "ArgRegs", "[", "ByVal", ".", "FirstIdx", "+", "I", "]", ";", "RegsToPass", ".", "push_back", "(", "std", "::", "make_pair", "(", "ArgReg", ",", "Val", ")", ")", ";", "return", ";", "}"], "ground_truth": ["}"], "File": "Cpu0ISelLowering4", "Func": "passByValArg", "Target": "Cpu0", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 189604, "Length": 480, "Cover_Rate": 0.7038123167155426} {"Template_token": ["", "static", "unsigned", "addLiveIn", "(", "MachineFunction", "&", "MF", ",", "unsigned", "PReg", ",", "const", "TargetRegisterClass", "*", "RC", ")", "{"], "ground_truth": ["unsigned", "VReg", "=", "MF", ".", "getRegInfo", "(", ")", ".", "createVirtualRegister", "(", "RC", ")", ";"], "File": "Cpu0ISelLowering", "Func": "addLiveIn", "Target": "Cpu0", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 189605, "Length": 31, "Cover_Rate": 0.6458333333333334} {"Template_token": ["", "unsigned", "VReg", "=", "MF", ".", "getRegInfo", "(", ")", ".", "createVirtualRegister", "(", "RC", ")", ";", "MF", ".", "getRegInfo", "(", ")", ".", "addLiveIn", "(", "PReg", ",", "VReg", ")", ";"], "ground_truth": ["return", "VReg", ";"], "File": "Cpu0ISelLowering", "Func": "addLiveIn", "Target": "Cpu0", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 189606, "Length": 30, "Cover_Rate": 0.625} {"Template_token": ["", "ByValArgInfo", "(", ")", ":", "FirstIdx", "(", "", ")", ",", "NumRegs", "(", "", ")", ",", "Address", "(", "", ")", "{"], "ground_truth": ["}"], "File": "Cpu0ISelLowering", "Func": "ByValArgInfo", "Target": "Cpu0", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 189607, "Length": 20, "Cover_Rate": 1.0} {"Template_token": ["", "ByValArgInfo", "(", ")", ":", "FirstIdx", "(", "", ")", ",", "NumRegs", "(", "", ")", ",", "Address", "(", "", ")", "{"], "ground_truth": ["}"], "File": "Cpu0ISelLowering", "Func": "ByValArgInfo", "Target": "Cpu0", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 189608, "Length": 20, "Cover_Rate": 1.0} {"Template_token": ["", "return", "ByValArgs", ".", "begin", "(", ")", ";"], "ground_truth": ["}"], "File": "Cpu0ISelLowering", "Func": "byval_begin", "Target": "Cpu0", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 189609, "Length": 8, "Cover_Rate": 0.5714285714285714} {"Template_token": ["", "bool", "TargetLowering", "::", "CanLowerReturn", "(", "CallingConv", "::", "ID", "CallConv", ",", "MachineFunction", "&", "MF", ",", "bool", "IsVarArg", ",", "const", "SmallVectorImpl", "<", "", ">", "&", "Outs", ",", "LLVMContext", "&", "Context", ")", "const", "{"], "ground_truth": ["SmallVector", "<", "CCValAssign", ",", "", ">", "RVLocs", ";"], "File": "Cpu0ISelLowering", "Func": "CanLowerReturn", "Target": "Cpu0", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 189613, "Length": 39, "Cover_Rate": 0.5909090909090909} {"Template_token": ["", "bool", "TargetLowering", "::", "CanLowerReturn", "(", "CallingConv", "::", "ID", "CallConv", ",", "MachineFunction", "&", "MF", ",", "bool", "IsVarArg", ",", "const", "SmallVectorImpl", "<", "", ">", "&", "Outs", ",", "LLVMContext", "&", "Context", ")", "const", "{", "SmallVector", "<", "CCValAssign", ",", "", ">", "RVLocs", ";"], "ground_truth": ["CCState", "CCInfo", "(", "CallConv", ",", "IsVarArg", ",", "MF", ",", "RVLocs", ",", "Context", ")", ";"], "File": "Cpu0ISelLowering", "Func": "CanLowerReturn", "Target": "Cpu0", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 189614, "Length": 53, "Cover_Rate": 0.803030303030303} {"Template_token": ["", "bool", "isI64", "=", "(", "ValVT", "==", "", "&&", "OrigAlign", "==", "", ")", ";", "if", "(", "ValVT", "==", "", "||", "(", "ValVT", "==", "", "&&", "AllocateFloatsInIntReg", ")", ")", "{", "Reg", "=", "State", ".", "AllocateReg", "(", "IntRegs", ")", ";", "if", "(", "isI64", "&&", "(", "Reg", "==", "", ")", ")", "Reg", "=", "State", ".", "AllocateReg", "(", "IntRegs", ")", ";", "LocVT", "=", "", ";", "}", "else", "if", "(", "ValVT", "==", "", "&&", "AllocateFloatsInIntReg", ")", "{", "Reg", "=", "State", ".", "AllocateReg", "(", "IntRegs", ")", ";", "if", "(", "Reg", "==", "", ")", "Reg", "=", "State", ".", "AllocateReg", "(", "IntRegs", ")", ";", "State", ".", "AllocateReg", "(", "IntRegs", ")", ";", "LocVT", "=", "", ";", "}", "else", "llvm_unreachable", "(", "", ")", ";", "if", "(", "!", "Reg", ")", "{", "unsigned", "Offset", "=", "State", ".", "AllocateStack", "(", "ValVT", ".", "getSizeInBits", "(", ")", ">>", "", ",", "OrigAlign", ")", ";"], "ground_truth": ["State", ".", "addLoc", "(", "CCValAssign", "::", "getMem", "(", "ValNo", ",", "ValVT", ",", "Offset", ",", "LocVT", ",", "LocInfo", ")", ")", ";"], "File": "Cpu0ISelLowering", "Func": "CC_Cpu0O32", "Target": "Cpu0", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 189615, "Length": 157, "Cover_Rate": 0.47575757575757577} {"Template_token": ["", "static", "bool", "CC_S32", "(", "unsigned", "ValNo", ",", "MVT", "ValVT", ",", "MVT", "LocVT", ",", "CCValAssign", "::", "LocInfo", "LocInfo", ",", "", "ArgFlags", ",", "CCState", "&", "State", ")", "{", "if", "(", "ArgFlags", ".", "isByVal", "(", ")", ")", "return", "true", ";", "if", "(", "LocVT", "==", "", "||", "LocVT", "==", "", ")", "{", "LocVT", "=", "", ";", "if", "(", "ArgFlags", ".", "isSExt", "(", ")", ")", "LocInfo", "=", "CCValAssign", "::", "SExt", ";", "else", "if", "(", "ArgFlags", ".", "isZExt", "(", ")", ")", "LocInfo", "=", "CCValAssign", "::", "ZExt", ";", "else", "LocInfo", "=", "CCValAssign", "::", "AExt", ";"], "ground_truth": ["}"], "File": "Cpu0ISelLowering", "Func": "CC_Cpu0S32", "Target": "Cpu0", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 189616, "Length": 89, "Cover_Rate": 0.6013513513513513} {"Template_token": ["", "int", "FI", "=", "MFI", ".", "CreateFixedObject", "(", "FrameObjSize", ",", "FrameObjOffset", ",", "true", ")", ";", "SDValue", "FIN", "=", "DAG", ".", "getFrameIndex", "(", "FI", ",", "PtrTy", ")", ";", "InVals", ".", "push_back", "(", "FIN", ")", ";", "if", "(", "!", "ByVal", ".", "NumRegs", ")", "return", ";", "MVT", "RegTy", "=", "", "(", "CC", ".", "regSize", "(", ")", "*", "", ")", ";", "const", "TargetRegisterClass", "*", "RC", "=", "getRegClassFor", "(", "RegTy", ")", ";", "for", "(", "unsigned", "I", "=", "", ";", "I", "<", "ByVal", ".", "NumRegs", ";", "++", "I", ")", "{", "unsigned", "ArgReg", "=", "ByValArgRegs", "[", "ByVal", ".", "FirstIdx", "+", "I", "]", ";", "unsigned", "VReg", "=", "addLiveIn", "(", "MF", ",", "ArgReg", ",", "RC", ")", ";", "unsigned", "Offset", "=", "I", "*", "CC", ".", "regSize", "(", ")", ";", "SDValue", "StorePtr", "=", "DAG", ".", "getNode", "(", "", ",", "DL", ",", "PtrTy", ",", "FIN", ",", "DAG", ".", "getConstant", "(", "Offset", ",", "DL", ",", "PtrTy", ")", ")", ";", "SDValue", "Store", "=", "DAG", ".", "getStore", "(", "Chain", ",", "DL", ",", "DAG", ".", "getRegister", "(", "VReg", ",", "RegTy", ")", ",", "StorePtr", ",", "MachinePointerInfo", "(", "FuncArg", ",", "Offset", ")", ")", ";"], "ground_truth": ["OutChains", ".", "push_back", "(", "Store", ")", ";"], "File": "Cpu0ISelLowering", "Func": "copyByValRegs", "Target": "Cpu0", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 189617, "Length": 182, "Cover_Rate": 0.49591280653950953} {"Template_token": ["", "setLoadExtAction", "(", "", ",", "VT", ",", "", ",", "Promote", ")", ";", "setLoadExtAction", "(", "", ",", "VT", ",", "", ",", "Promote", ")", ";", "setLoadExtAction", "(", "", ",", "VT", ",", "", ",", "Promote", ")", ";", "}", "AddPromotedToType", "(", "", ",", "", ",", "", ")", ";", "setOperationAction", "(", "", ",", "", ",", "Custom", ")", ";", "setOperationAction", "(", "", ",", "", ",", "Custom", ")", ";", "setOperationAction", "(", "", ",", "", ",", "Custom", ")", ";", "setOperationAction", "(", "", ",", "", ",", "Custom", ")", ";", "setOperationAction", "(", "", ",", "", ",", "Custom", ")", ";", "setOperationAction", "(", "", ",", "", ",", "Custom", ")", ";", "setOperationAction", "(", "", ",", "", ",", "Custom", ")", ";", "setOperationAction", "(", "", ",", "", ",", "Custom", ")", ";", "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", "(", "", ",", "", ",", "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", "(", "", ",", "", ",", "Expand", ")", ";", "setOperationAction", "(", "", ",", "", ",", "Expand", ")", ";", "setOperationAction", "(", "", ",", "", ",", "Expand", ")", ";", "setTargetDAGCombine", "(", "", ")", ";", "setTargetDAGCombine", "(", "", ")", ";", "setMinFunctionAlignment", "(", "", ")", ";", "setStackPointerRegisterToSaveRestore", "(", "", ")", ";"], "ground_truth": ["}"], "File": "Cpu0ISelLowering", "Func": "Cpu0TargetLowering", "Target": "Cpu0", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 189618, "Length": 433, "Cover_Rate": 0.6395864106351551} {"Template_token": ["", "return", "llvm", "::", "createSETargetLowering", "(", "TM", ",", "STI", ")", ";"], "ground_truth": ["}"], "File": "Cpu0ISelLowering", "Func": "create", "Target": "Cpu0", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 189619, "Length": 11, "Cover_Rate": 0.3793103448275862} {"Template_token": ["", "const", "TargetLowering", "*", "TargetLowering", "::", "create", "(", "const", "TargetMachine", "&", "TM", ",", "const", "Subtarget", "&", "STI", ")", "{", "return", "llvm", "::", "createSETargetLowering", "(", "TM", ",", "STI", ")", ";"], "ground_truth": ["}"], "File": "Cpu0ISelLowering", "Func": "create", "Target": "Cpu0", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 189620, "Length": 29, "Cover_Rate": 1.0} {"Template_token": ["", "XOR", "=", "", ";", "ZERO", "=", "", ";", "BEQ", "=", "", ";", "unsigned", "OldVal", "=", "MI", ".", "getOperand", "(", "", ")", ".", "getReg", "(", ")", ";", "unsigned", "Ptr", "=", "MI", ".", "getOperand", "(", "", ")", ".", "getReg", "(", ")", ";", "unsigned", "Incr", "=", "MI", ".", "getOperand", "(", "", ")", ".", "getReg", "(", ")", ";", "unsigned", "StoreVal", "=", "RegInfo", ".", "createVirtualRegister", "(", "RC", ")", ";", "unsigned", "AndRes", "=", "RegInfo", ".", "createVirtualRegister", "(", "RC", ")", ";", "unsigned", "AndRes2", "=", "RegInfo", ".", "createVirtualRegister", "(", "RC", ")", ";", "unsigned", "Success", "=", "RegInfo", ".", "createVirtualRegister", "(", "RC", ")", ";", "const", "BasicBlock", "*", "LLVM_BB", "=", "BB", "->", "getBasicBlock", "(", ")", ";", "MachineBasicBlock", "*", "loopMBB", "=", "MF", "->", "CreateMachineBasicBlock", "(", "LLVM_BB", ")", ";", "MachineBasicBlock", "*", "exitMBB", "=", "MF", "->", "CreateMachineBasicBlock", "(", "LLVM_BB", ")", ";", "MachineFunction", "::", "iterator", "It", "=", "++", "BB", "->", "getIterator", "(", ")", ";", "MF", "->", "insert", "(", "It", ",", "loopMBB", ")", ";", "MF", "->", "insert", "(", "It", ",", "exitMBB", ")", ";", "exitMBB", "->", "splice", "(", "exitMBB", "->", "begin", "(", ")", ",", "BB", ",", "std", "::", "next", "(", "MachineBasicBlock", "::", "iterator", "(", "MI", ")", ")", ",", "BB", "->", "end", "(", ")", ")", ";", "exitMBB", "->", "transferSuccessorsAndUpdatePHIs", "(", "BB", ")", ";", "BB", "->", "addSuccessor", "(", "loopMBB", ")", ";", "loopMBB", "->", "addSuccessor", "(", "loopMBB", ")", ";", "loopMBB", "->", "addSuccessor", "(", "exitMBB", ")", ";", "BB", "=", "loopMBB", ";", "BuildMI", "(", "BB", ",", "DL", ",", "TII", "->", "get", "(", "LL", ")", ",", "OldVal", ")", ".", "addReg", "(", "Ptr", ")", ".", "addImm", "(", "", ")", ";", "if", "(", "Nand", ")", "{", "BuildMI", "(", "BB", ",", "DL", ",", "TII", "->", "get", "(", "AND", ")", ",", "AndRes", ")", ".", "addReg", "(", "OldVal", ")", ".", "addReg", "(", "Incr", ")", ";", "BuildMI", "(", "BB", ",", "DL", ",", "TII", "->", "get", "(", "XOR", ")", ",", "StoreVal", ")", ".", "addReg", "(", "ZERO", ")", ".", "addReg", "(", "AndRes", ")", ";", "BuildMI", "(", "BB", ",", "DL", ",", "TII", "->", "get", "(", "XOR", ")", ",", "AndRes2", ")", ".", "addReg", "(", "ZERO", ")", ".", "addReg", "(", "AndRes", ")", ";", "}", "else", "if", "(", "BinOpcode", ")", "{", "BuildMI", "(", "BB", ",", "DL", ",", "TII", "->", "get", "(", "BinOpcode", ")", ",", "StoreVal", ")", ".", "addReg", "(", "OldVal", ")", ".", "addReg", "(", "Incr", ")", ";", "}", "else", "{"], "ground_truth": ["StoreVal", "=", "Incr", ";"], "File": "Cpu0ISelLowering", "Func": "emitAtomicBinary", "Target": "Cpu0", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 189621, "Length": 369, "Cover_Rate": 0.6473684210526316} {"Template_token": ["", "DebugLoc", "DL", "=", "MI", ".", "getDebugLoc", "(", ")", ";", "unsigned", "LL", ",", "SC", ",", "AND", ",", "XOR", ",", "ZERO", ",", "BEQ", ";", "LL", "=", "", ";", "SC", "=", "", ";", "AND", "=", "", ";", "XOR", "=", "", ";", "ZERO", "=", "", ";", "BEQ", "=", "", ";", "unsigned", "OldVal", "=", "MI", ".", "getOperand", "(", "", ")", ".", "getReg", "(", ")", ";", "unsigned", "Ptr", "=", "MI", ".", "getOperand", "(", "", ")", ".", "getReg", "(", ")", ";", "unsigned", "Incr", "=", "MI", ".", "getOperand", "(", "", ")", ".", "getReg", "(", ")", ";", "unsigned", "StoreVal", "=", "RegInfo", ".", "createVirtualRegister", "(", "RC", ")", ";", "unsigned", "AndRes", "=", "RegInfo", ".", "createVirtualRegister", "(", "RC", ")", ";", "unsigned", "AndRes2", "=", "RegInfo", ".", "createVirtualRegister", "(", "RC", ")", ";", "unsigned", "Success", "=", "RegInfo", ".", "createVirtualRegister", "(", "RC", ")", ";", "const", "BasicBlock", "*", "LLVM_BB", "=", "BB", "->", "getBasicBlock", "(", ")", ";", "MachineBasicBlock", "*", "loopMBB", "=", "MF", "->", "CreateMachineBasicBlock", "(", "LLVM_BB", ")", ";", "MachineBasicBlock", "*", "exitMBB", "=", "MF", "->", "CreateMachineBasicBlock", "(", "LLVM_BB", ")", ";", "MachineFunction", "::", "iterator", "It", "=", "++", "BB", "->", "getIterator", "(", ")", ";", "MF", "->", "insert", "(", "It", ",", "loopMBB", ")", ";", "MF", "->", "insert", "(", "It", ",", "exitMBB", ")", ";", "exitMBB", "->", "splice", "(", "exitMBB", "->", "begin", "(", ")", ",", "BB", ",", "std", "::", "next", "(", "MachineBasicBlock", "::", "iterator", "(", "MI", ")", ")", ",", "BB", "->", "end", "(", ")", ")", ";", "exitMBB", "->", "transferSuccessorsAndUpdatePHIs", "(", "BB", ")", ";", "BB", "->", "addSuccessor", "(", "loopMBB", ")", ";", "loopMBB", "->", "addSuccessor", "(", "loopMBB", ")", ";", "loopMBB", "->", "addSuccessor", "(", "exitMBB", ")", ";", "BB", "=", "loopMBB", ";", "BuildMI", "(", "BB", ",", "DL", ",", "TII", "->", "get", "(", "LL", ")", ",", "OldVal", ")", ".", "addReg", "(", "Ptr", ")", ".", "addImm", "(", "", ")", ";", "if", "(", "Nand", ")", "{", "BuildMI", "(", "BB", ",", "DL", ",", "TII", "->", "get", "(", "AND", ")", ",", "AndRes", ")", ".", "addReg", "(", "OldVal", ")", ".", "addReg", "(", "Incr", ")", ";", "BuildMI", "(", "BB", ",", "DL", ",", "TII", "->", "get", "(", "XOR", ")", ",", "StoreVal", ")", ".", "addReg", "(", "ZERO", ")", ".", "addReg", "(", "AndRes", ")", ";", "BuildMI", "(", "BB", ",", "DL", ",", "TII", "->", "get", "(", "XOR", ")", ",", "AndRes2", ")", ".", "addReg", "(", "ZERO", ")", ".", "addReg", "(", "AndRes", ")", ";", "}", "else", "if", "(", "BinOpcode", ")", "{", "BuildMI", "(", "BB", ",", "DL", ",", "TII", "->", "get", "(", "BinOpcode", ")", ",", "StoreVal", ")", ".", "addReg", "(", "OldVal", ")", ".", "addReg", "(", "Incr", ")", ";"], "ground_truth": ["}", "else", "{"], "File": "Cpu0ISelLowering", "Func": "emitAtomicBinary", "Target": "Cpu0", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 189622, "Length": 399, "Cover_Rate": 0.7} {"Template_token": ["", "exitMBB", "->", "splice", "(", "exitMBB", "->", "begin", "(", ")", ",", "BB", ",", "std", "::", "next", "(", "MachineBasicBlock", "::", "iterator", "(", "MI", ")", ")", ",", "BB", "->", "end", "(", ")", ")", ";", "exitMBB", "->", "transferSuccessorsAndUpdatePHIs", "(", "BB", ")", ";", "BB", "->", "addSuccessor", "(", "loop1MBB", ")", ";", "loop1MBB", "->", "addSuccessor", "(", "exitMBB", ")", ";", "loop1MBB", "->", "addSuccessor", "(", "loop2MBB", ")", ";", "loop2MBB", "->", "addSuccessor", "(", "loop1MBB", ")", ";", "loop2MBB", "->", "addSuccessor", "(", "exitMBB", ")", ";", "BB", "=", "loop1MBB", ";", "BuildMI", "(", "BB", ",", "DL", ",", "TII", "->", "get", "(", "LL", ")", ",", "Dest", ")", ".", "addReg", "(", "Ptr", ")", ".", "addImm", "(", "", ")", ";", "BuildMI", "(", "BB", ",", "DL", ",", "TII", "->", "get", "(", "BNE", ")", ")", ".", "addReg", "(", "Dest", ")", ".", "addReg", "(", "OldVal", ")", ".", "addMBB", "(", "exitMBB", ")", ";", "BB", "=", "loop2MBB", ";", "BuildMI", "(", "BB", ",", "DL", ",", "TII", "->", "get", "(", "SC", ")", ",", "Success", ")", ".", "addReg", "(", "NewVal", ")", ".", "addReg", "(", "Ptr", ")", ".", "addImm", "(", "", ")", ";"], "ground_truth": ["BuildMI", "(", "BB", ",", "DL", ",", "TII", "->", "get", "(", "BEQ", ")", ")", ".", "addReg", "(", "Success", ")", ".", "addReg", "(", "ZERO", ")", ".", "addMBB", "(", "loop1MBB", ")", ";"], "File": "Cpu0ISelLowering", "Func": "emitAtomicCmpSwap", "Target": "Cpu0", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 189625, "Length": 196, "Cover_Rate": 0.4057971014492754} {"Template_token": ["", "ZERO", "=", "", ";", "BNE", "=", "", ";", "BEQ", "=", "", ";", "unsigned", "Dest", "=", "MI", ".", "getOperand", "(", "", ")", ".", "getReg", "(", ")", ";", "unsigned", "Ptr", "=", "MI", ".", "getOperand", "(", "", ")", ".", "getReg", "(", ")", ";", "unsigned", "OldVal", "=", "MI", ".", "getOperand", "(", "", ")", ".", "getReg", "(", ")", ";", "unsigned", "NewVal", "=", "MI", ".", "getOperand", "(", "", ")", ".", "getReg", "(", ")", ";", "unsigned", "Success", "=", "RegInfo", ".", "createVirtualRegister", "(", "RC", ")", ";", "const", "BasicBlock", "*", "LLVM_BB", "=", "BB", "->", "getBasicBlock", "(", ")", ";", "MachineBasicBlock", "*", "loop1MBB", "=", "MF", "->", "CreateMachineBasicBlock", "(", "LLVM_BB", ")", ";", "MachineBasicBlock", "*", "loop2MBB", "=", "MF", "->", "CreateMachineBasicBlock", "(", "LLVM_BB", ")", ";", "MachineBasicBlock", "*", "exitMBB", "=", "MF", "->", "CreateMachineBasicBlock", "(", "LLVM_BB", ")", ";", "MachineFunction", "::", "iterator", "It", "=", "++", "BB", "->", "getIterator", "(", ")", ";", "MF", "->", "insert", "(", "It", ",", "loop1MBB", ")", ";", "MF", "->", "insert", "(", "It", ",", "loop2MBB", ")", ";", "MF", "->", "insert", "(", "It", ",", "exitMBB", ")", ";", "exitMBB", "->", "splice", "(", "exitMBB", "->", "begin", "(", ")", ",", "BB", ",", "std", "::", "next", "(", "MachineBasicBlock", "::", "iterator", "(", "MI", ")", ")", ",", "BB", "->", "end", "(", ")", ")", ";", "exitMBB", "->", "transferSuccessorsAndUpdatePHIs", "(", "BB", ")", ";", "BB", "->", "addSuccessor", "(", "loop1MBB", ")", ";", "loop1MBB", "->", "addSuccessor", "(", "exitMBB", ")", ";", "loop1MBB", "->", "addSuccessor", "(", "loop2MBB", ")", ";", "loop2MBB", "->", "addSuccessor", "(", "loop1MBB", ")", ";"], "ground_truth": ["loop2MBB", "->", "addSuccessor", "(", "exitMBB", ")", ";"], "File": "Cpu0ISelLowering", "Func": "emitAtomicCmpSwap", "Target": "Cpu0", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 189626, "Length": 234, "Cover_Rate": 0.484472049689441} {"Template_token": ["", "MachineFunction", "*", "MF", "=", "BB", "->", "getParent", "(", ")", ";", "MachineRegisterInfo", "&", "RegInfo", "=", "MF", "->", "getRegInfo", "(", ")", ";", "const", "TargetRegisterClass", "*", "RC", "=", "getRegClassFor", "(", "", ")", ";", "const", "TargetInstrInfo", "*", "TII", "=", "Subtarget", ".", "getInstrInfo", "(", ")", ";", "DebugLoc", "DL", "=", "MI", ".", "getDebugLoc", "(", ")", ";", "unsigned", "Dest", "=", "MI", ".", "getOperand", "(", "", ")", ".", "getReg", "(", ")", ";", "unsigned", "Ptr", "=", "MI", ".", "getOperand", "(", "", ")", ".", "getReg", "(", ")", ";", "unsigned", "CmpVal", "=", "MI", ".", "getOperand", "(", "", ")", ".", "getReg", "(", ")", ";", "unsigned", "NewVal", "=", "MI", ".", "getOperand", "(", "", ")", ".", "getReg", "(", ")", ";", "unsigned", "AlignedAddr", "=", "RegInfo", ".", "createVirtualRegister", "(", "RC", ")", ";", "unsigned", "ShiftAmt", "=", "RegInfo", ".", "createVirtualRegister", "(", "RC", ")", ";", "unsigned", "Mask", "=", "RegInfo", ".", "createVirtualRegister", "(", "RC", ")", ";", "unsigned", "Mask2", "=", "RegInfo", ".", "createVirtualRegister", "(", "RC", ")", ";", "unsigned", "Mask3", "=", "RegInfo", ".", "createVirtualRegister", "(", "RC", ")", ";", "unsigned", "ShiftedCmpVal", "=", "RegInfo", ".", "createVirtualRegister", "(", "RC", ")", ";", "unsigned", "OldVal", "=", "RegInfo", ".", "createVirtualRegister", "(", "RC", ")", ";", "unsigned", "MaskedOldVal0", "=", "RegInfo", ".", "createVirtualRegister", "(", "RC", ")", ";", "unsigned", "ShiftedNewVal", "=", "RegInfo", ".", "createVirtualRegister", "(", "RC", ")", ";", "unsigned", "MaskLSB2", "=", "RegInfo", ".", "createVirtualRegister", "(", "RC", ")", ";", "unsigned", "PtrLSB2", "=", "RegInfo", ".", "createVirtualRegister", "(", "RC", ")", ";", "unsigned", "MaskUpper", "=", "RegInfo", ".", "createVirtualRegister", "(", "RC", ")", ";", "unsigned", "MaskedCmpVal", "=", "RegInfo", ".", "createVirtualRegister", "(", "RC", ")", ";", "unsigned", "MaskedNewVal", "=", "RegInfo", ".", "createVirtualRegister", "(", "RC", ")", ";", "unsigned", "MaskedOldVal1", "=", "RegInfo", ".", "createVirtualRegister", "(", "RC", ")", ";", "unsigned", "StoreVal", "=", "RegInfo", ".", "createVirtualRegister", "(", "RC", ")", ";", "unsigned", "SrlRes", "=", "RegInfo", ".", "createVirtualRegister", "(", "RC", ")", ";", "unsigned", "Success", "=", "RegInfo", ".", "createVirtualRegister", "(", "RC", ")", ";", "const", "BasicBlock", "*", "LLVM_BB", "=", "BB", "->", "getBasicBlock", "(", ")", ";", "MachineBasicBlock", "*", "loop1MBB", "=", "MF", "->", "CreateMachineBasicBlock", "(", "LLVM_BB", ")", ";", "MachineBasicBlock", "*", "loop2MBB", "=", "MF", "->", "CreateMachineBasicBlock", "(", "LLVM_BB", ")", ";", "MachineBasicBlock", "*", "sinkMBB", "=", "MF", "->", "CreateMachineBasicBlock", "(", "LLVM_BB", ")", ";", "MachineBasicBlock", "*", "exitMBB", "=", "MF", "->", "CreateMachineBasicBlock", "(", "LLVM_BB", ")", ";", "MachineFunction", "::", "iterator", "It", "=", "++", "BB", "->", "getIterator", "(", ")", ";", "MF", "->", "insert", "(", "It", ",", "loop1MBB", ")", ";", "MF", "->", "insert", "(", "It", ",", "loop2MBB", ")", ";", "MF", "->", "insert", "(", "It", ",", "sinkMBB", ")", ";", "MF", "->", "insert", "(", "It", ",", "exitMBB", ")", ";", "exitMBB", "->", "splice", "(", "exitMBB", "->", "begin", "(", ")", ",", "BB", ",", "std", "::", "next", "(", "MachineBasicBlock", "::", "iterator", "(", "MI", ")", ")", ",", "BB", "->", "end", "(", ")", ")", ";", "exitMBB", "->", "transferSuccessorsAndUpdatePHIs", "(", "BB", ")", ";", "BB", "->", "addSuccessor", "(", "loop1MBB", ")", ";", "loop1MBB", "->", "addSuccessor", "(", "sinkMBB", ")", ";"], "ground_truth": ["loop1MBB", "->", "addSuccessor", "(", "loop2MBB", ")", ";"], "File": "Cpu0ISelLowering", "Func": "emitAtomicCmpSwapPartword", "Target": "Cpu0", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 189627, "Length": 448, "Cover_Rate": 0.36304700162074555} {"Template_token": ["", "return", "emitAtomicBinaryPartword", "(", "MI", ",", "BB", ",", "", ",", "", ")", ";", "case", "", ":", "return", "emitAtomicBinaryPartword", "(", "MI", ",", "BB", ",", "", ",", "", ")", ";", "case", "", ":", "return", "emitAtomicBinary", "(", "MI", ",", "BB", ",", "", ",", "", ")", ";", "case", "", ":", "return", "emitAtomicBinaryPartword", "(", "MI", ",", "BB", ",", "", ",", "", ")", ";", "case", "", ":", "return", "emitAtomicBinaryPartword", "(", "MI", ",", "BB", ",", "", ",", "", ")", ";", "case", "", ":", "return", "emitAtomicBinary", "(", "MI", ",", "BB", ",", "", ",", "", ")", ";", "case", "", ":", "return", "emitAtomicBinaryPartword", "(", "MI", ",", "BB", ",", "", ",", "", ")", ";", "case", "", ":", "return", "emitAtomicBinaryPartword", "(", "MI", ",", "BB", ",", "", ",", "", ")", ";", "case", "", ":", "return", "emitAtomicBinary", "(", "MI", ",", "BB", ",", "", ",", "", ")", ";", "case", "", ":", "return", "emitAtomicBinaryPartword", "(", "MI", ",", "BB", ",", "", ",", "", ",", "true", ")", ";", "case", "", ":", "return", "emitAtomicBinaryPartword", "(", "MI", ",", "BB", ",", "", ",", "", ",", "true", ")", ";", "case", "", ":", "return", "emitAtomicBinary", "(", "MI", ",", "BB", ",", "", ",", "", ",", "true", ")", ";", "case", "", ":", "return", "emitAtomicBinaryPartword", "(", "MI", ",", "BB", ",", "", ",", "", ")", ";", "case", "", ":", "return", "emitAtomicBinaryPartword", "(", "MI", ",", "BB", ",", "", ",", "", ")", ";", "case", "", ":", "return", "emitAtomicBinary", "(", "MI", ",", "BB", ",", "", ",", "", ")", ";", "case", "", ":", "return", "emitAtomicBinaryPartword", "(", "MI", ",", "BB", ",", "", ",", "", ")", ";"], "ground_truth": ["case", "", ":"], "File": "Cpu0ISelLowering", "Func": "EmitInstrWithCustomInserter", "Target": "Cpu0", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 189629, "Length": 246, "Cover_Rate": 0.5211864406779662} {"Template_token": ["", "unsigned", "ScrReg", "=", "RegInfo", ".", "createVirtualRegister", "(", "RC", ")", ";", "assert", "(", "Size", "<", "", ")", ";", "int64_t", "ShiftImm", "=", "", "-", "(", "Size", "*", "", ")", ";", "BuildMI", "(", "BB", ",", "DL", ",", "TII", "->", "get", "(", "", ")", ",", "ScrReg", ")", ".", "addReg", "(", "SrcReg", ")", ".", "addImm", "(", "ShiftImm", ")", ";"], "ground_truth": ["BuildMI", "(", "BB", ",", "DL", ",", "TII", "->", "get", "(", "", ")", ",", "DstReg", ")", ".", "addReg", "(", "ScrReg", ")", ".", "addImm", "(", "ShiftImm", ")", ";"], "File": "Cpu0ISelLowering", "Func": "emitSignExtendToI32InReg", "Target": "Cpu0", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 189630, "Length": 80, "Cover_Rate": 0.48484848484848486} {"Template_token": ["", "SDLoc", "DL", "(", "N", ")", ";", "SDValue", "Tgt", "=", "DAG", ".", "getNode", "(", "", ",", "DL", ",", "Ty", ",", "getGlobalReg", "(", "DAG", ",", "Ty", ")", ",", "getTargetNode", "(", "N", ",", "Ty", ",", "DAG", ",", "Flag", ")", ")", ";"], "ground_truth": ["return", "DAG", ".", "getLoad", "(", "Ty", ",", "DL", ",", "Chain", ",", "Tgt", ",", "PtrInfo", ")", ";"], "File": "Cpu0ISelLowering", "Func": "getAddrGlobal", "Target": "Cpu0", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 189632, "Length": 54, "Cover_Rate": 0.6428571428571429} {"Template_token": ["", "SDValue", "Wrapper", "=", "DAG", ".", "getNode", "(", "", ",", "DL", ",", "Ty", ",", "Hi", ",", "getTargetNode", "(", "N", ",", "Ty", ",", "DAG", ",", "LoFlag", ")", ")", ";", "return", "DAG", ".", "getLoad", "(", "Ty", ",", "DL", ",", "Chain", ",", "Wrapper", ",", "PtrInfo", ")", ";"], "ground_truth": ["}"], "File": "Cpu0ISelLowering", "Func": "getAddrGlobalLargeGOT", "Target": "Cpu0", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 189633, "Length": 44, "Cover_Rate": 0.3308270676691729} {"Template_token": ["", "SDValue", "Load", "=", "DAG", ".", "getLoad", "(", "Ty", ",", "DL", ",", "DAG", ".", "getEntryNode", "(", ")", ",", "GOT", ",", "MachinePointerInfo", "::", "getGOT", "(", "DAG", ".", "getMachineFunction", "(", ")", ")", ")", ";", "unsigned", "LoFlag", "=", "", ";", "SDValue", "Lo", "=", "DAG", ".", "getNode", "(", "", ",", "DL", ",", "Ty", ",", "getTargetNode", "(", "N", ",", "Ty", ",", "DAG", ",", "LoFlag", ")", ")", ";", "return", "DAG", ".", "getNode", "(", "", ",", "DL", ",", "Ty", ",", "Load", ",", "Lo", ")", ";"], "ground_truth": ["}"], "File": "Cpu0ISelLowering", "Func": "getAddrLocal", "Target": "Cpu0", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 189634, "Length": 78, "Cover_Rate": 0.5306122448979592} {"Template_token": ["", "SDLoc", "DL", "(", "N", ")", ";", "SDValue", "Hi", "=", "getTargetNode", "(", "N", ",", "Ty", ",", "DAG", ",", "", ")", ";", "SDValue", "Lo", "=", "getTargetNode", "(", "N", ",", "Ty", ",", "DAG", ",", "", ")", ";", "return", "DAG", ".", "getNode", "(", "", ",", "DL", ",", "Ty", ",", "DAG", ".", "getNode", "(", "", ",", "DL", ",", "Ty", ",", "Hi", ")", ",", "DAG", ".", "getNode", "(", "", ",", "DL", ",", "Ty", ",", "Lo", ")", ")", ";"], "ground_truth": ["}"], "File": "Cpu0ISelLowering", "Func": "getAddrNonPIC", "Target": "Cpu0", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 189635, "Length": 73, "Cover_Rate": 0.7373737373737373} {"Template_token": ["", "SDLoc", "DL", "(", "N", ")", ";", "SDValue", "Hi", "=", "getTargetNode", "(", "N", ",", "Ty", ",", "DAG", ",", "", ")", ";", "SDValue", "Lo", "=", "getTargetNode", "(", "N", ",", "Ty", ",", "DAG", ",", "", ")", ";"], "ground_truth": ["return", "DAG", ".", "getNode", "(", "", ",", "DL", ",", "Ty", ",", "DAG", ".", "getNode", "(", "", ",", "DL", ",", "Ty", ",", "Hi", ")", ",", "DAG", ".", "getNode", "(", "", ",", "DL", ",", "Ty", ",", "Lo", ")", ")", ";"], "File": "Cpu0ISelLowering", "Func": "getAddrNonPIC", "Target": "Cpu0", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 189636, "Length": 72, "Cover_Rate": 0.7272727272727273} {"Template_token": ["", "const", "CCState", "&", "getCCInfo", "(", ")", "const", "{"], "ground_truth": ["return", "CCInfo", ";"], "File": "Cpu0ISelLowering", "Func": "getCCInfo", "Target": "Cpu0", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 189637, "Length": 11, "Cover_Rate": 0.9166666666666666} {"Template_token": ["", "return", "CCInfo", ";"], "ground_truth": ["}"], "File": "Cpu0ISelLowering", "Func": "getCCInfo", "Target": "Cpu0", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 189638, "Length": 4, "Cover_Rate": 0.3333333333333333} {"Template_token": ["", "TargetLowering", "::", "ConstraintType", "TargetLowering", "::", "getConstraintType", "(", "StringRef", "Constraint", ")", "const", "{", "if", "(", "Constraint", ".", "size", "(", ")", "==", "", ")", "{", "switch", "(", "Constraint", "[", "", "]", ")", "{", "default", ":", "break", ";", "case", "'c'", ":"], "ground_truth": ["return", "C_RegisterClass", ";"], "File": "Cpu0ISelLowering", "Func": "getConstraintType", "Target": "Cpu0", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 189639, "Length": 41, "Cover_Rate": 0.7068965517241379} {"Template_token": ["", "default", ":", "break", ";", "case", "'c'", ":", "return", "C_RegisterClass", ";", "case", "'R'", ":", "return", "C_Memory", ";", "}", "}", "return", "TargetLowering", "::", "getConstraintType", "(", "Constraint", ")", ";"], "ground_truth": ["}"], "File": "Cpu0ISelLowering", "Func": "getConstraintType", "Target": "Cpu0", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 189640, "Length": 27, "Cover_Rate": 0.46551724137931033} {"Template_token": ["", "unsigned", "T9Reg", "=", "", ";", "RegsToPass", ".", "push_front", "(", "std", "::", "make_pair", "(", "T9Reg", ",", "Callee", ")", ")", ";", "}", "else", "Ops", ".", "push_back", "(", "Callee", ")", ";", "if", "(", "IsPICCall", "&&", "!", "InternalLinkage", ")", "{", "unsigned", "GPReg", "=", "", ";", "EVT", "Ty", "=", "", ";", "RegsToPass", ".", "push_back", "(", "std", "::", "make_pair", "(", "GPReg", ",", "getGlobalReg", "(", "CLI", ".", "DAG", ",", "Ty", ")", ")", ")", ";", "}", "SDValue", "InFlag", ";", "for", "(", "unsigned", "i", "=", "", ",", "e", "=", "RegsToPass", ".", "size", "(", ")", ";", "i", "!=", "e", ";", "++", "i", ")", "{"], "ground_truth": ["Chain", "=", "CLI", ".", "DAG", ".", "getCopyToReg", "(", "Chain", ",", "CLI", ".", "DL", ",", "RegsToPass", "[", "i", "]", ".", "first", ",", "RegsToPass", "[", "i", "]", ".", "second", ",", "InFlag", ")", ";"], "File": "Cpu0ISelLowering", "Func": "getOpndList", "Target": "Cpu0", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 189643, "Length": 125, "Cover_Rate": 0.390625} {"Template_token": ["", "}", "if", "(", "VT", "==", "", ")", "return", "std", "::", "make_pair", "(", "", ",", "&", "", ")", ";", "return", "std", "::", "make_pair", "(", "", ",", "static_cast", "<", "const", "TargetRegisterClass", "*", ">", "(", "", ")", ")", ";", "case", "'c'", ":", "if", "(", "VT", "==", "", ")", "return", "std", "::", "make_pair", "(", "(", "unsigned", ")", "", ",", "&", "", ")", ";", "assert", "(", "", ")", ";", "}", "}", "std", "::", "pair", "<", "unsigned", ",", "const", "TargetRegisterClass", "*", ">", "R", ";", "R", "=", "parseRegForInlineAsmConstraint", "(", "Constraint", ",", "VT", ")", ";", "if", "(", "R", ".", "second", ")", "return", "R", ";", "return", "TargetLowering", "::", "getRegForInlineAsmConstraint", "(", "TRI", ",", "Constraint", ",", "VT", ")", ";"], "ground_truth": ["}"], "File": "Cpu0ISelLowering", "Func": "getRegForInlineAsmConstraint", "Target": "Cpu0", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 189644, "Length": 109, "Cover_Rate": 0.5396039603960396} {"Template_token": ["", "if", "(", "!", "VT", ".", "isVector", "(", ")", ")", "return", "", ";"], "ground_truth": ["return", "VT", ".", "changeVectorElementTypeToInteger", "(", ")", ";"], "File": "Cpu0ISelLowering", "Func": "getSetCCResultType", "Target": "Cpu0", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 189646, "Length": 19, "Cover_Rate": 0.48717948717948717} {"Template_token": ["", "break", ";", "case", "'I'", ":", "case", "'J'", ":", "case", "'K'", ":", "case", "'L'", ":", "case", "'N'", ":", "case", "'O'", ":", "case", "'P'", ":", "if", "(", "isa", "<", "ConstantInt", ">", "(", "CallOperandVal", ")", ")", "weight", "=", "CW_Constant", ";", "break", ";"], "ground_truth": ["case", "'R'", ":"], "File": "Cpu0ISelLowering", "Func": "getSingleConstraintMatchWeight", "Target": "Cpu0", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 189647, "Length": 42, "Cover_Rate": 0.30434782608695654} {"Template_token": ["", "Type", "*", "type", "=", "CallOperandVal", "->", "getType", "(", ")", ";", "switch", "(", "*", "constraint", ")", "{", "default", ":", "weight", "=", "TargetLowering", "::", "getSingleConstraintMatchWeight", "(", "info", ",", "constraint", ")", ";", "break", ";", "case", "'c'", ":", "if", "(", "type", "->", "isIntegerTy", "(", ")", ")", "weight", "=", "CW_SpecificReg", ";", "break", ";", "case", "'I'", ":", "case", "'J'", ":", "case", "'K'", ":", "case", "'L'", ":", "case", "'N'", ":", "case", "'O'", ":", "case", "'P'", ":", "if", "(", "isa", "<", "ConstantInt", ">", "(", "CallOperandVal", ")", ")", "weight", "=", "CW_Constant", ";", "break", ";", "case", "'R'", ":", "weight", "=", "CW_Memory", ";", "break", ";"], "ground_truth": ["}"], "File": "Cpu0ISelLowering", "Func": "getSingleConstraintMatchWeight", "Target": "Cpu0", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 189648, "Length": 95, "Cover_Rate": 0.6884057971014492} {"Template_token": ["", "TargetLowering", "::", "", "TargetLowering", "::", "getSpecialCallingConv", "(", "SDValue", "Callee", ")", "const", "{", "", "SpecialCallingConv", "=", "", ";"], "ground_truth": ["return", "SpecialCallingConv", ";"], "File": "Cpu0ISelLowering", "Func": "getSpecialCallingConv", "Target": "Cpu0", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 189650, "Length": 20, "Cover_Rate": 0.7407407407407407} {"Template_token": ["", "SDValue", "TargetLowering", "::", "getTargetNode", "(", "JumpTableSDNode", "*", "N", ",", "EVT", "Ty", ",", "SelectionDAG", "&", "DAG", ",", "unsigned", "Flag", ")", "const", "{", "return", "DAG", ".", "getTargetJumpTable", "(", "N", "->", "getIndex", "(", ")", ",", "Ty", ",", "Flag", ")", ";"], "ground_truth": ["}"], "File": "Cpu0ISelLowering", "Func": "getTargetNode", "Target": "Cpu0", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 189651, "Length": 38, "Cover_Rate": 1.0} {"Template_token": ["", "const", "char", "*", "TargetLowering", "::", "getTargetNodeName", "(", "unsigned", "Opcode", ")", "const", "{", "switch", "(", "Opcode", ")", "{", "case", "", ":", "return", "", ";", "case", "", ":", "return", "", ";", "case", "", ":", "return", "", ";", "case", "", ":", "return", "", ";", "case", "", ":", "return", "", ";", "case", "", ":", "return", "", ";", "case", "", ":", "return", "", ";", "case", "", ":", "return", "", ";", "case", "", ":", "return", "", ";", "case", "", ":", "return", "", ";", "case", "", ":", "return", "", ";"], "ground_truth": ["default", ":", "return", "NULL", ";"], "File": "Cpu0ISelLowering", "Func": "getTargetNodeName", "Target": "Cpu0", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 189653, "Length": 88, "Cover_Rate": 0.7857142857142857} {"Template_token": ["", "return", "!", "ByValArgs", ".", "empty", "(", ")", ";"], "ground_truth": ["}"], "File": "Cpu0ISelLowering", "Func": "hasByValArg", "Target": "Cpu0", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 189654, "Length": 9, "Cover_Rate": 0.6} {"Template_token": ["", "bool", "hasByValArg", "(", ")", "const", "{"], "ground_truth": ["return", "!", "ByValArgs", ".", "empty", "(", ")", ";"], "File": "Cpu0ISelLowering", "Func": "hasByValArg", "Target": "Cpu0", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 189655, "Length": 14, "Cover_Rate": 0.9333333333333333} {"Template_token": ["", "if", "(", "AM", ".", "BaseGV", ")", "return", "false", ";", "switch", "(", "AM", ".", "Scale", ")", "{", "case", "", ":", "break", ";", "case", "", ":", "if", "(", "!", "AM", ".", "HasBaseReg", ")", "break", ";", "return", "false", ";", "default", ":", "return", "false", ";", "}", "return", "true", ";"], "ground_truth": ["}"], "File": "Cpu0ISelLowering", "Func": "isLegalAddressingMode", "Target": "Cpu0", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 189656, "Length": 46, "Cover_Rate": 0.6571428571428571} {"Template_token": ["", "if", "(", "AM", ".", "BaseGV", ")", "return", "false", ";", "switch", "(", "AM", ".", "Scale", ")", "{", "case", "", ":", "break", ";", "case", "", ":"], "ground_truth": ["if", "(", "!", "AM", ".", "HasBaseReg", ")", "break", ";"], "File": "Cpu0ISelLowering", "Func": "isLegalAddressingMode", "Target": "Cpu0", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 189657, "Length": 33, "Cover_Rate": 0.4714285714285714} {"Template_token": ["", "if", "(", "Op", "->", "getOperand", "(", "", ")", ".", "getOpcode", "(", ")", "!=", "", "||", "cast", "<", "ConstantSDNode", ">", "(", "Op", "->", "getOperand", "(", "", ")", ".", "getOperand", "(", "", ")", ")", "->", "getZExtValue", "(", ")", "!=", "", "||", "Op", "->", "getOperand", "(", "", ")", ".", "getOpcode", "(", ")", "!=", "", ")", "return", "SDValue", "(", ")", ";", "MachineFunction", "&", "MF", "=", "DAG", ".", "getMachineFunction", "(", ")", ";", "MachineFunctionInfo", "*", "FI", "=", "MF", ".", "getInfo", "<", "MachineFunctionInfo", ">", "(", ")", ";"], "ground_truth": ["FI", "->", "setCallsEhDwarf", "(", ")", ";"], "File": "Cpu0ISelLowering", "Func": "lowerADD", "Target": "Cpu0", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 189659, "Length": 86, "Cover_Rate": 0.7962962962962963} {"Template_token": ["", "}", "}", "return", ";", "case", "'J'", ":", "if", "(", "ConstantSDNode", "*", "C", "=", "dyn_cast", "<", "ConstantSDNode", ">", "(", "Op", ")", ")", "{", "EVT", "Type", "=", "Op", ".", "getValueType", "(", ")", ";", "int64_t", "Val", "=", "C", "->", "getZExtValue", "(", ")", ";", "if", "(", "Val", "==", "", ")", "{", "Result", "=", "DAG", ".", "getTargetConstant", "(", "", ",", "DL", ",", "Type", ")", ";", "break", ";", "}", "}", "return", ";", "case", "'K'", ":", "if", "(", "ConstantSDNode", "*", "C", "=", "dyn_cast", "<", "ConstantSDNode", ">", "(", "Op", ")", ")", "{", "EVT", "Type", "=", "Op", ".", "getValueType", "(", ")", ";", "uint64_t", "Val", "=", "(", "uint64_t", ")", "C", "->", "getZExtValue", "(", ")", ";", "if", "(", "isUInt", "<", "", ">", "(", "Val", ")", ")", "{", "Result", "=", "DAG", ".", "getTargetConstant", "(", "Val", ",", "DL", ",", "Type", ")", ";", "break", ";", "}", "}", "return", ";", "case", "'L'", ":", "if", "(", "ConstantSDNode", "*", "C", "=", "dyn_cast", "<", "ConstantSDNode", ">", "(", "Op", ")", ")", "{", "EVT", "Type", "=", "Op", ".", "getValueType", "(", ")", ";", "int64_t", "Val", "=", "C", "->", "getSExtValue", "(", ")", ";", "if", "(", "(", "isInt", "<", "", ">", "(", "Val", ")", ")", "&&", "(", "(", "Val", "&", "", ")", "==", "", ")", ")", "{", "Result", "=", "DAG", ".", "getTargetConstant", "(", "Val", ",", "DL", ",", "Type", ")", ";", "break", ";", "}", "}", "return", ";", "case", "'N'", ":", "if", "(", "ConstantSDNode", "*", "C", "=", "dyn_cast", "<", "ConstantSDNode", ">", "(", "Op", ")", ")", "{", "EVT", "Type", "=", "Op", ".", "getValueType", "(", ")", ";", "int64_t", "Val", "=", "C", "->", "getSExtValue", "(", ")", ";", "if", "(", "(", "Val", ">=", "-", "", ")", "&&", "(", "Val", "<=", "-", "", ")", ")", "{", "Result", "=", "DAG", ".", "getTargetConstant", "(", "Val", ",", "DL", ",", "Type", ")", ";", "break", ";", "}", "}", "return", ";", "case", "'O'", ":", "if", "(", "ConstantSDNode", "*", "C", "=", "dyn_cast", "<", "ConstantSDNode", ">", "(", "Op", ")", ")", "{", "EVT", "Type", "=", "Op", ".", "getValueType", "(", ")", ";", "int64_t", "Val", "=", "C", "->", "getSExtValue", "(", ")", ";", "if", "(", "(", "isInt", "<", "", ">", "(", "Val", ")", ")", ")", "{", "Result", "=", "DAG", ".", "getTargetConstant", "(", "Val", ",", "DL", ",", "Type", ")", ";", "break", ";", "}", "}", "return", ";", "case", "'P'", ":", "if", "(", "ConstantSDNode", "*", "C", "=", "dyn_cast", "<", "ConstantSDNode", ">", "(", "Op", ")", ")", "{"], "ground_truth": ["EVT", "Type", "=", "Op", ".", "getValueType", "(", ")", ";"], "File": "Cpu0ISelLowering", "Func": "LowerAsmOperandForConstraint", "Target": "Cpu0", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 189660, "Length": 380, "Cover_Rate": 0.6484641638225256} {"Template_token": ["", "}", "}", "return", ";", "case", "'J'", ":", "if", "(", "ConstantSDNode", "*", "C", "=", "dyn_cast", "<", "ConstantSDNode", ">", "(", "Op", ")", ")", "{", "EVT", "Type", "=", "Op", ".", "getValueType", "(", ")", ";", "int64_t", "Val", "=", "C", "->", "getZExtValue", "(", ")", ";", "if", "(", "Val", "==", "", ")", "{", "Result", "=", "DAG", ".", "getTargetConstant", "(", "", ",", "DL", ",", "Type", ")", ";", "break", ";", "}", "}", "return", ";", "case", "'K'", ":", "if", "(", "ConstantSDNode", "*", "C", "=", "dyn_cast", "<", "ConstantSDNode", ">", "(", "Op", ")", ")", "{", "EVT", "Type", "=", "Op", ".", "getValueType", "(", ")", ";", "uint64_t", "Val", "=", "(", "uint64_t", ")", "C", "->", "getZExtValue", "(", ")", ";", "if", "(", "isUInt", "<", "", ">", "(", "Val", ")", ")", "{", "Result", "=", "DAG", ".", "getTargetConstant", "(", "Val", ",", "DL", ",", "Type", ")", ";", "break", ";", "}", "}", "return", ";", "case", "'L'", ":", "if", "(", "ConstantSDNode", "*", "C", "=", "dyn_cast", "<", "ConstantSDNode", ">", "(", "Op", ")", ")", "{", "EVT", "Type", "=", "Op", ".", "getValueType", "(", ")", ";", "int64_t", "Val", "=", "C", "->", "getSExtValue", "(", ")", ";", "if", "(", "(", "isInt", "<", "", ">", "(", "Val", ")", ")", "&&", "(", "(", "Val", "&", "", ")", "==", "", ")", ")", "{", "Result", "=", "DAG", ".", "getTargetConstant", "(", "Val", ",", "DL", ",", "Type", ")", ";", "break", ";", "}", "}", "return", ";", "case", "'N'", ":", "if", "(", "ConstantSDNode", "*", "C", "=", "dyn_cast", "<", "ConstantSDNode", ">", "(", "Op", ")", ")", "{", "EVT", "Type", "=", "Op", ".", "getValueType", "(", ")", ";", "int64_t", "Val", "=", "C", "->", "getSExtValue", "(", ")", ";", "if", "(", "(", "Val", ">=", "-", "", ")", "&&", "(", "Val", "<=", "-", "", ")", ")", "{", "Result", "=", "DAG", ".", "getTargetConstant", "(", "Val", ",", "DL", ",", "Type", ")", ";", "break", ";", "}", "}", "return", ";", "case", "'O'", ":", "if", "(", "ConstantSDNode", "*", "C", "=", "dyn_cast", "<", "ConstantSDNode", ">", "(", "Op", ")", ")", "{", "EVT", "Type", "=", "Op", ".", "getValueType", "(", ")", ";", "int64_t", "Val", "=", "C", "->", "getSExtValue", "(", ")", ";", "if", "(", "(", "isInt", "<", "", ">", "(", "Val", ")", ")", ")", "{", "Result", "=", "DAG", ".", "getTargetConstant", "(", "Val", ",", "DL", ",", "Type", ")", ";", "break", ";", "}", "}", "return", ";", "case", "'P'", ":", "if", "(", "ConstantSDNode", "*", "C", "=", "dyn_cast", "<", "ConstantSDNode", ">", "(", "Op", ")", ")", "{", "EVT", "Type", "=", "Op", ".", "getValueType", "(", ")", ";"], "ground_truth": ["int64_t", "Val", "=", "C", "->", "getSExtValue", "(", ")", ";"], "File": "Cpu0ISelLowering", "Func": "LowerAsmOperandForConstraint", "Target": "Cpu0", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 189661, "Length": 389, "Cover_Rate": 0.6638225255972696} {"Template_token": ["", "SDValue", "TargetLowering", "::", "lowerATOMIC_FENCE", "(", "SDValue", "Op", ",", "SelectionDAG", "&", "DAG", ")", "const", "{"], "ground_truth": ["unsigned", "SType", "=", "", ";"], "File": "Cpu0ISelLowering", "Func": "lowerATOMIC_FENCE", "Target": "Cpu0", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 189663, "Length": 19, "Cover_Rate": 0.3064516129032258} {"Template_token": ["", "EVT", "Ty", "=", "Op", ".", "getValueType", "(", ")", ";", "if", "(", "!", "isPositionIndependent", "(", ")", ")", "return", "getAddrNonPIC", "(", "N", ",", "Ty", ",", "DAG", ")", ";"], "ground_truth": ["return", "getAddrLocal", "(", "N", ",", "Ty", ",", "DAG", ")", ";"], "File": "Cpu0ISelLowering", "Func": "lowerBlockAddress", "Target": "Cpu0", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 189664, "Length": 36, "Cover_Rate": 0.5714285714285714} {"Template_token": ["", "if", "(", "!", "isPositionIndependent", "(", ")", ")", "return", "getAddrNonPIC", "(", "N", ",", "Ty", ",", "DAG", ")", ";"], "ground_truth": ["return", "getAddrLocal", "(", "N", ",", "Ty", ",", "DAG", ")", ";"], "File": "Cpu0ISelLowering", "Func": "lowerBlockAddress", "Target": "Cpu0", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 189665, "Length": 27, "Cover_Rate": 0.42857142857142855} {"Template_token": ["", "CC", "CCInfo", "(", "CallConv", ",", "ABI", ".", "IsO32", "(", ")", ",", "CCInfo", ")", ";", "CCInfo", ".", "analyzeCallResult", "(", "Ins", ",", "Subtarget", ".", "abiUsesSoftFloat", "(", ")", ",", "CallNode", ",", "RetTy", ")", ";", "for", "(", "unsigned", "i", "=", "", ";", "i", "!=", "RVLocs", ".", "size", "(", ")", ";", "++", "i", ")", "{", "SDValue", "Val", "=", "DAG", ".", "getCopyFromReg", "(", "Chain", ",", "DL", ",", "RVLocs", "[", "i", "]", ".", "getLocReg", "(", ")", ",", "RVLocs", "[", "i", "]", ".", "getLocVT", "(", ")", ",", "InFlag", ")", ";", "Chain", "=", "Val", ".", "getValue", "(", "", ")", ";", "InFlag", "=", "Val", ".", "getValue", "(", "", ")", ";", "if", "(", "RVLocs", "[", "i", "]", ".", "getValVT", "(", ")", "!=", "RVLocs", "[", "i", "]", ".", "getLocVT", "(", ")", ")", "Val", "=", "DAG", ".", "getNode", "(", "", ",", "DL", ",", "RVLocs", "[", "i", "]", ".", "getValVT", "(", ")", ",", "Val", ")", ";"], "ground_truth": ["InVals", ".", "push_back", "(", "Val", ")", ";"], "File": "Cpu0ISelLowering", "Func": "LowerCallResult", "Target": "Cpu0", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 189669, "Length": 149, "Cover_Rate": 0.610655737704918} {"Template_token": ["", "FI", "->", "setCallsEhReturn", "(", ")", ";", "SDValue", "Chain", "=", "Op", ".", "getOperand", "(", "", ")", ";", "SDValue", "Offset", "=", "Op", ".", "getOperand", "(", "", ")", ";", "SDValue", "Handler", "=", "Op", ".", "getOperand", "(", "", ")", ";", "SDLoc", "DL", "(", "Op", ")", ";", "EVT", "Ty", "=", "", ";", "unsigned", "OffsetReg", "=", "", ";", "unsigned", "AddrReg", "=", "", ";", "Chain", "=", "DAG", ".", "getCopyToReg", "(", "Chain", ",", "DL", ",", "OffsetReg", ",", "Offset", ",", "SDValue", "(", ")", ")", ";"], "ground_truth": ["Chain", "=", "DAG", ".", "getCopyToReg", "(", "Chain", ",", "DL", ",", "AddrReg", ",", "Handler", ",", "Chain", ".", "getValue", "(", "", ")", ")", ";"], "File": "Cpu0ISelLowering", "Func": "lowerEH_RETURN", "Target": "Cpu0", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 189670, "Length": 98, "Cover_Rate": 0.5104166666666666} {"Template_token": ["", "unsigned", "AddrReg", "=", "", ";", "Chain", "=", "DAG", ".", "getCopyToReg", "(", "Chain", ",", "DL", ",", "OffsetReg", ",", "Offset", ",", "SDValue", "(", ")", ")", ";", "Chain", "=", "DAG", ".", "getCopyToReg", "(", "Chain", ",", "DL", ",", "AddrReg", ",", "Handler", ",", "Chain", ".", "getValue", "(", "", ")", ")", ";"], "ground_truth": ["return", "DAG", ".", "getNode", "(", "", ",", "DL", ",", "", ",", "Chain", ",", "DAG", ".", "getRegister", "(", "OffsetReg", ",", "Ty", ")", ",", "DAG", ".", "getRegister", "(", "AddrReg", ",", "getPointerTy", "(", "MF", ".", "getDataLayout", "(", ")", ")", ")", ",", "Chain", ".", "getValue", "(", "", ")", ")", ";"], "File": "Cpu0ISelLowering", "Func": "lowerEH_RETURN", "Target": "Cpu0", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 189671, "Length": 92, "Cover_Rate": 0.4791666666666667} {"Template_token": ["", "assert", "(", "(", "cast", "<", "ConstantSDNode", ">", "(", "Op", ".", "getOperand", "(", "", ")", ")", "->", "getZExtValue", "(", ")", "==", "", ")", "&&", "", ")", ";", "MachineFrameInfo", "&", "MFI", "=", "DAG", ".", "getMachineFunction", "(", ")", ".", "getFrameInfo", "(", ")", ";", "MFI", ".", "setFrameAddressIsTaken", "(", "true", ")", ";", "EVT", "VT", "=", "Op", ".", "getValueType", "(", ")", ";", "SDLoc", "DL", "(", "Op", ")", ";", "SDValue", "FrameAddr", "=", "DAG", ".", "getCopyFromReg", "(", "DAG", ".", "getEntryNode", "(", ")", ",", "DL", ",", "", ",", "VT", ")", ";"], "ground_truth": ["return", "FrameAddr", ";"], "File": "Cpu0ISelLowering", "Func": "lowerFRAMEADDR", "Target": "Cpu0", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 189672, "Length": 85, "Cover_Rate": 0.8333333333333334} {"Template_token": ["", "SDValue", "TargetLowering", "::", "lowerGlobalAddress", "(", "SDValue", "Op", ",", "SelectionDAG", "&", "DAG", ")", "const", "{", "SDLoc", "DL", "(", "Op", ")", ";", "const", "TargetObjectFile", "*", "TLOF", "=", "static_cast", "<", "const", "TargetObjectFile", "*", ">", "(", "getTargetMachine", "(", ")", ".", "getObjFileLowering", "(", ")", ")", ";", "EVT", "Ty", "=", "Op", ".", "getValueType", "(", ")", ";", "GlobalAddressSDNode", "*", "N", "=", "cast", "<", "GlobalAddressSDNode", ">", "(", "Op", ")", ";", "const", "GlobalValue", "*", "GV", "=", "N", "->", "getGlobal", "(", ")", ";", "const", "GlobalObject", "*", "GO", "=", "GV", "->", "getBaseObject", "(", ")", ";", "if", "(", "!", "isPositionIndependent", "(", ")", ")", "{"], "ground_truth": ["if", "(", "TLOF", "->", "IsGlobalInSmallSection", "(", "GO", ",", "getTargetMachine", "(", ")", ")", ")", "{"], "File": "Cpu0ISelLowering", "Func": "lowerGlobalAddress", "Target": "Cpu0", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 189673, "Length": 106, "Cover_Rate": 0.334384858044164} {"Template_token": ["", "SDValue", "GPReg", "=", "DAG", ".", "getRegister", "(", "", ",", "", ")", ";", "return", "DAG", ".", "getNode", "(", "", ",", "DL", ",", "", ",", "GPReg", ",", "GPRelNode", ")", ";", "}", "return", "getAddrNonPIC", "(", "N", ",", "Ty", ",", "DAG", ")", ";", "}", "if", "(", "GV", "->", "hasInternalLinkage", "(", ")", "||", "(", "GV", "->", "hasLocalLinkage", "(", ")", "&&", "!", "isa", "<", "Function", ">", "(", "GV", ")", ")", ")", "return", "getAddrLocal", "(", "N", ",", "Ty", ",", "DAG", ")", ";", "if", "(", "!", "TLOF", "->", "IsGlobalInSmallSection", "(", "GO", ",", "getTargetMachine", "(", ")", ")", ")", "return", "getAddrGlobalLargeGOT", "(", "N", ",", "Ty", ",", "DAG", ",", "", ",", "", ",", "DAG", ".", "getEntryNode", "(", ")", ",", "MachinePointerInfo", "::", "getGOT", "(", "DAG", ".", "getMachineFunction", "(", ")", ")", ")", ";", "return", "getAddrGlobal", "(", "N", ",", "Ty", ",", "DAG", ",", "", ",", "DAG", ".", "getEntryNode", "(", ")", ",", "MachinePointerInfo", "::", "getGOT", "(", "DAG", ".", "getMachineFunction", "(", ")", ")", ")", ";"], "ground_truth": ["}"], "File": "Cpu0ISelLowering", "Func": "lowerGlobalAddress", "Target": "Cpu0", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 189674, "Length": 150, "Cover_Rate": 0.47318611987381703} {"Template_token": ["", "SDLoc", "DL", "(", "GA", ")", ";", "const", "GlobalValue", "*", "GV", "=", "GA", "->", "getGlobal", "(", ")", ";", "EVT", "PtrVT", "=", "getPointerTy", "(", "DAG", ".", "getDataLayout", "(", ")", ")", ";", "TLSModel", "::", "Model", "model", "=", "getTargetMachine", "(", ")", ".", "getTLSModel", "(", "GV", ")", ";", "if", "(", "model", "==", "TLSModel", "::", "GeneralDynamic", "||", "model", "==", "TLSModel", "::", "LocalDynamic", ")", "{", "unsigned", "Flag", "=", "(", "model", "==", "TLSModel", "::", "LocalDynamic", ")", "?", "", ":", "", ";", "SDValue", "TGA", "=", "DAG", ".", "getTargetGlobalAddress", "(", "GV", ",", "DL", ",", "PtrVT", ",", "", ",", "Flag", ")", ";", "SDValue", "Argument", "=", "DAG", ".", "getNode", "(", "", ",", "DL", ",", "PtrVT", ",", "getGlobalReg", "(", "DAG", ",", "PtrVT", ")", ",", "TGA", ")", ";", "unsigned", "PtrSize", "=", "PtrVT", ".", "getSizeInBits", "(", ")", ";", "IntegerType", "*", "PtrTy", "=", "Type", "::", "getIntNTy", "(", "*", "DAG", ".", "getContext", "(", ")", ",", "PtrSize", ")", ";", "SDValue", "TlsGetAddr", "=", "DAG", ".", "getExternalSymbol", "(", "", ",", "PtrVT", ")", ";", "ArgListTy", "Args", ";", "ArgListEntry", "Entry", ";", "Entry", ".", "Node", "=", "Argument", ";", "Entry", ".", "Ty", "=", "PtrTy", ";", "Args", ".", "push_back", "(", "Entry", ")", ";", "TargetLowering", "::", "CallLoweringInfo", "CLI", "(", "DAG", ")", ";", "CLI", ".", "setDebugLoc", "(", "DL", ")", ".", "setChain", "(", "DAG", ".", "getEntryNode", "(", ")", ")", ".", "setCallee", "(", "CallingConv", "::", "C", ",", "PtrTy", ",", "TlsGetAddr", ",", "std", "::", "move", "(", "Args", ")", ")", ";"], "ground_truth": ["std", "::", "pair", "<", "SDValue", ",", "SDValue", ">", "CallResult", "=", "LowerCallTo", "(", "CLI", ")", ";"], "File": "Cpu0ISelLowering", "Func": "lowerGlobalTLSAddress", "Target": "Cpu0", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 189675, "Length": 235, "Cover_Rate": 0.38461538461538464} {"Template_token": ["", "Args", ".", "push_back", "(", "Entry", ")", ";", "TargetLowering", "::", "CallLoweringInfo", "CLI", "(", "DAG", ")", ";", "CLI", ".", "setDebugLoc", "(", "DL", ")", ".", "setChain", "(", "DAG", ".", "getEntryNode", "(", ")", ")", ".", "setCallee", "(", "CallingConv", "::", "C", ",", "PtrTy", ",", "TlsGetAddr", ",", "std", "::", "move", "(", "Args", ")", ")", ";", "std", "::", "pair", "<", "SDValue", ",", "SDValue", ">", "CallResult", "=", "LowerCallTo", "(", "CLI", ")", ";", "SDValue", "Ret", "=", "CallResult", ".", "first", ";", "if", "(", "model", "!=", "TLSModel", "::", "LocalDynamic", ")", "return", "Ret", ";", "SDValue", "TGAHi", "=", "DAG", ".", "getTargetGlobalAddress", "(", "GV", ",", "DL", ",", "PtrVT", ",", "", ",", "", ")", ";", "SDValue", "Hi", "=", "DAG", ".", "getNode", "(", "", ",", "DL", ",", "PtrVT", ",", "TGAHi", ")", ";", "SDValue", "TGALo", "=", "DAG", ".", "getTargetGlobalAddress", "(", "GV", ",", "DL", ",", "PtrVT", ",", "", ",", "", ")", ";", "SDValue", "Lo", "=", "DAG", ".", "getNode", "(", "", ",", "DL", ",", "PtrVT", ",", "TGALo", ")", ";", "SDValue", "Add", "=", "DAG", ".", "getNode", "(", "", ",", "DL", ",", "PtrVT", ",", "Hi", ",", "Ret", ")", ";", "return", "DAG", ".", "getNode", "(", "", ",", "DL", ",", "PtrVT", ",", "Add", ",", "Lo", ")", ";", "}", "SDValue", "Offset", ";", "if", "(", "model", "==", "TLSModel", "::", "InitialExec", ")", "{", "SDValue", "TGA", "=", "DAG", ".", "getTargetGlobalAddress", "(", "GV", ",", "DL", ",", "PtrVT", ",", "", ",", "", ")", ";", "TGA", "=", "DAG", ".", "getNode", "(", "", ",", "DL", ",", "PtrVT", ",", "getGlobalReg", "(", "DAG", ",", "PtrVT", ")", ",", "TGA", ")", ";", "Offset", "=", "DAG", ".", "getLoad", "(", "PtrVT", ",", "DL", ",", "DAG", ".", "getEntryNode", "(", ")", ",", "TGA", ",", "MachinePointerInfo", "(", ")", ")", ";", "}", "else", "{", "assert", "(", "model", "==", "TLSModel", "::", "LocalExec", ")", ";"], "ground_truth": ["SDValue", "TGAHi", "=", "DAG", ".", "getTargetGlobalAddress", "(", "GV", ",", "DL", ",", "PtrVT", ",", "", ",", "", ")", ";"], "File": "Cpu0ISelLowering", "Func": "lowerGlobalTLSAddress", "Target": "Cpu0", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 189676, "Length": 290, "Cover_Rate": 0.4746317512274959} {"Template_token": ["", "if", "(", "!", "isPositionIndependent", "(", ")", ")", "return", "getAddrNonPIC", "(", "N", ",", "Ty", ",", "DAG", ")", ";"], "ground_truth": ["return", "getAddrLocal", "(", "N", ",", "Ty", ",", "DAG", ")", ";"], "File": "Cpu0ISelLowering", "Func": "lowerJumpTable", "Target": "Cpu0", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 189677, "Length": 27, "Cover_Rate": 0.42857142857142855} {"Template_token": ["", "SDValue", "TargetLowering", "::", "lowerJumpTable", "(", "SDValue", "Op", ",", "SelectionDAG", "&", "DAG", ")", "const", "{", "JumpTableSDNode", "*", "N", "=", "cast", "<", "JumpTableSDNode", ">", "(", "Op", ")", ";", "EVT", "Ty", "=", "Op", ".", "getValueType", "(", ")", ";", "if", "(", "!", "isPositionIndependent", "(", ")", ")", "return", "getAddrNonPIC", "(", "N", ",", "Ty", ",", "DAG", ")", ";"], "ground_truth": ["return", "getAddrLocal", "(", "N", ",", "Ty", ",", "DAG", ")", ";"], "File": "Cpu0ISelLowering", "Func": "lowerJumpTable", "Target": "Cpu0", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 189678, "Length": 62, "Cover_Rate": 0.9841269841269841} {"Template_token": ["", "switch", "(", "Op", ".", "getOpcode", "(", ")", ")", "{", "case", "", ":", "return", "lowerBRCOND", "(", "Op", ",", "DAG", ")", ";", "case", "", ":", "return", "lowerGlobalAddress", "(", "Op", ",", "DAG", ")", ";", "case", "", ":", "return", "lowerGlobalTLSAddress", "(", "Op", ",", "DAG", ")", ";", "case", "", ":", "return", "lowerBlockAddress", "(", "Op", ",", "DAG", ")", ";"], "ground_truth": ["case", "", ":", "return", "lowerJumpTable", "(", "Op", ",", "DAG", ")", ";"], "File": "Cpu0ISelLowering", "Func": "LowerOperation", "Target": "Cpu0", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 189679, "Length": 64, "Cover_Rate": 0.34408602150537637} {"Template_token": ["", "SmallVector", "<", "SDValue", ",", "", ">", "RetOps", "(", "", ",", "Chain", ")", ";", "for", "(", "unsigned", "i", "=", "", ";", "i", "!=", "RVLocs", ".", "size", "(", ")", ";", "++", "i", ")", "{", "SDValue", "Val", "=", "OutVals", "[", "i", "]", ";", "CCValAssign", "&", "VA", "=", "RVLocs", "[", "i", "]", ";", "assert", "(", "VA", ".", "isRegLoc", "(", ")", "&&", "", ")", ";", "if", "(", "RVLocs", "[", "i", "]", ".", "getValVT", "(", ")", "!=", "RVLocs", "[", "i", "]", ".", "getLocVT", "(", ")", ")", "Val", "=", "DAG", ".", "getNode", "(", "", ",", "DL", ",", "RVLocs", "[", "i", "]", ".", "getLocVT", "(", ")", ",", "Val", ")", ";", "Chain", "=", "DAG", ".", "getCopyToReg", "(", "Chain", ",", "DL", ",", "VA", ".", "getLocReg", "(", ")", ",", "Val", ",", "Flag", ")", ";", "Flag", "=", "Chain", ".", "getValue", "(", "", ")", ";", "RetOps", ".", "push_back", "(", "DAG", ".", "getRegister", "(", "VA", ".", "getLocReg", "(", ")", ",", "VA", ".", "getLocVT", "(", ")", ")", ")", ";", "}", "if", "(", "MF", ".", "getFunction", "(", ")", ".", "hasStructRetAttr", "(", ")", ")", "{", "MachineFunctionInfo", "*", "FI", "=", "MF", ".", "getInfo", "<", "MachineFunctionInfo", ">", "(", ")", ";", "unsigned", "Reg", "=", "FI", "->", "getSRetReturnReg", "(", ")", ";", "if", "(", "!", "Reg", ")", "llvm_unreachable", "(", "", ")", ";", "SDValue", "Val", "=", "DAG", ".", "getCopyFromReg", "(", "Chain", ",", "DL", ",", "Reg", ",", "getPointerTy", "(", "DAG", ".", "getDataLayout", "(", ")", ")", ")", ";", "unsigned", "V0", "=", "", ";", "Chain", "=", "DAG", ".", "getCopyToReg", "(", "Chain", ",", "DL", ",", "V0", ",", "Val", ",", "Flag", ")", ";", "Flag", "=", "Chain", ".", "getValue", "(", "", ")", ";", "RetOps", ".", "push_back", "(", "DAG", ".", "getRegister", "(", "V0", ",", "getPointerTy", "(", "DAG", ".", "getDataLayout", "(", ")", ")", ")", ")", ";", "}"], "ground_truth": ["RetOps", "[", "", "]", "=", "Chain", ";"], "File": "Cpu0ISelLowering", "Func": "LowerReturn", "Target": "Cpu0", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 189680, "Length": 283, "Cover_Rate": 0.5970464135021097} {"Template_token": ["", "if", "(", "verifyReturnAddressArgumentIsConstant", "(", "Op", ",", "DAG", ")", ")", "return", "SDValue", "(", ")", ";", "assert", "(", "(", "cast", "<", "ConstantSDNode", ">", "(", "Op", ".", "getOperand", "(", "", ")", ")", "->", "getZExtValue", "(", ")", "==", "", ")", "&&", "", ")", ";", "MachineFunction", "&", "MF", "=", "DAG", ".", "getMachineFunction", "(", ")", ";", "MachineFrameInfo", "&", "MFI", "=", "MF", ".", "getFrameInfo", "(", ")", ";", "MVT", "VT", "=", "Op", ".", "getSimpleValueType", "(", ")", ";", "unsigned", "LR", "=", "", ";", "MFI", ".", "setReturnAddressIsTaken", "(", "true", ")", ";", "unsigned", "Reg", "=", "MF", ".", "addLiveIn", "(", "LR", ",", "getRegClassFor", "(", "VT", ")", ")", ";", "return", "DAG", ".", "getCopyFromReg", "(", "DAG", ".", "getEntryNode", "(", ")", ",", "SDLoc", "(", "Op", ")", ",", "Reg", ",", "VT", ")", ";"], "ground_truth": ["}"], "File": "Cpu0ISelLowering", "Func": "lowerRETURNADDR", "Target": "Cpu0", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 189681, "Length": 118, "Cover_Rate": 0.8805970149253731} {"Template_token": ["", "MachineFrameInfo", "&", "MFI", "=", "MF", ".", "getFrameInfo", "(", ")", ";", "MVT", "VT", "=", "Op", ".", "getSimpleValueType", "(", ")", ";", "unsigned", "LR", "=", "", ";", "MFI", ".", "setReturnAddressIsTaken", "(", "true", ")", ";", "unsigned", "Reg", "=", "MF", ".", "addLiveIn", "(", "LR", ",", "getRegClassFor", "(", "VT", ")", ")", ";", "return", "DAG", ".", "getCopyFromReg", "(", "DAG", ".", "getEntryNode", "(", ")", ",", "SDLoc", "(", "Op", ")", ",", "Reg", ",", "VT", ")", ";"], "ground_truth": ["}"], "File": "Cpu0ISelLowering", "Func": "lowerRETURNADDR", "Target": "Cpu0", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 189682, "Length": 68, "Cover_Rate": 0.5074626865671642} {"Template_token": ["", "SDValue", "TargetLowering", "::", "lowerSELECT", "(", "SDValue", "Op", ",", "SelectionDAG", "&", "DAG", ")", "const", "{", "return", "Op", ";"], "ground_truth": ["}"], "File": "Cpu0ISelLowering", "Func": "lowerSELECT", "Target": "Cpu0", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 189683, "Length": 18, "Cover_Rate": 1.0} {"Template_token": ["", "lowerSELECT", "(", "SDValue", "Op", ",", "SelectionDAG", "&", "DAG", ")", "const", "{", "return", "Op", ";"], "ground_truth": ["}"], "File": "Cpu0ISelLowering", "Func": "lowerSELECT", "Target": "Cpu0", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 189684, "Length": 15, "Cover_Rate": 0.8333333333333334} {"Template_token": ["", "const", "Value", "*", "SV", "=", "cast", "<", "SrcValueSDNode", ">", "(", "Op", ".", "getOperand", "(", "", ")", ")", "->", "getValue", "(", ")", ";", "return", "DAG", ".", "getStore", "(", "Op", ".", "getOperand", "(", "", ")", ",", "DL", ",", "FI", ",", "Op", ".", "getOperand", "(", "", ")", ",", "MachinePointerInfo", "(", "SV", ")", ")", ";"], "ground_truth": ["}"], "File": "Cpu0ISelLowering", "Func": "lowerVASTART", "Target": "Cpu0", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 189685, "Length": 52, "Cover_Rate": 0.43333333333333335} {"Template_token": ["", "const", "Value", "*", "SV", "=", "cast", "<", "SrcValueSDNode", ">", "(", "Op", ".", "getOperand", "(", "", ")", ")", "->", "getValue", "(", ")", ";"], "ground_truth": ["return", "DAG", ".", "getStore", "(", "Op", ".", "getOperand", "(", "", ")", ",", "DL", ",", "FI", ",", "Op", ".", "getOperand", "(", "", ")", ",", "MachinePointerInfo", "(", "SV", ")", ")", ";"], "File": "Cpu0ISelLowering", "Func": "lowerVASTART", "Target": "Cpu0", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 189686, "Length": 51, "Cover_Rate": 0.425} {"Template_token": ["", "if", "(", "C", ".", "front", "(", ")", "!=", "'{'", "||", "C", ".", "back", "(", ")", "!=", "'}'", ")", "return", "std", "::", "make_pair", "(", "false", ",", "false", ")", ";", "StringRef", "::", "const_iterator", "I", ",", "B", "=", "C", ".", "begin", "(", ")", "+", "", ",", "E", "=", "C", ".", "end", "(", ")", "-", "", ";", "I", "=", "std", "::", "find_if", "(", "B", ",", "E", ",", "std", "::", "ptr_fun", "(", "isdigit", ")", ")", ";", "Prefix", ".", "assign", "(", "B", ",", "I", "-", "B", ")", ";"], "ground_truth": ["if", "(", "I", "==", "E", ")", "return", "std", "::", "make_pair", "(", "true", ",", "false", ")", ";"], "File": "Cpu0ISelLowering", "Func": "parsePhysicalReg", "Target": "Cpu0", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 189687, "Length": 98, "Cover_Rate": 0.6405228758169934} {"Template_token": ["", "std", "::", "pair", "<", "bool", ",", "bool", ">", "R", "=", "parsePhysicalReg", "(", "C", ",", "Prefix", ",", "Reg", ")", ";", "if", "(", "!", "R", ".", "first", ")", "return", "std", "::", "make_pair", "(", "", ",", "nullptr", ")", ";", "if", "(", "!", "R", ".", "second", ")", "return", "std", "::", "make_pair", "(", "", ",", "nullptr", ")", ";", "assert", "(", "Prefix", "==", "", ")", ";", "RC", "=", "getRegClassFor", "(", "(", "VT", "==", "", ")", "?", "", ":", "VT", ")", ";", "assert", "(", "Reg", "<", "RC", "->", "getNumRegs", "(", ")", ")", ";"], "ground_truth": ["return", "std", "::", "make_pair", "(", "*", "(", "RC", "->", "begin", "(", ")", "+", "Reg", ")", ",", "RC", ")", ";"], "File": "Cpu0ISelLowering", "Func": "parseRegForInlineAsmConstraint", "Target": "Cpu0", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 189688, "Length": 105, "Cover_Rate": 0.7046979865771812} {"Template_token": ["", "SDValue", "PtrOff", "=", "DAG", ".", "getNode", "(", "", ",", "DL", ",", "getPointerTy", "(", "DAG", ".", "getDataLayout", "(", ")", ")", ",", "StackPtr", ",", "DAG", ".", "getIntPtrConstant", "(", "Offset", ",", "DL", ")", ")", ";", "return", "DAG", ".", "getStore", "(", "Chain", ",", "DL", ",", "Arg", ",", "PtrOff", ",", "MachinePointerInfo", "(", ")", ")", ";", "}"], "ground_truth": ["MachineFrameInfo", "&", "MFI", "=", "DAG", ".", "getMachineFunction", "(", ")", ".", "getFrameInfo", "(", ")", ";"], "File": "Cpu0ISelLowering", "Func": "passArgOnStack", "Target": "Cpu0", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 189689, "Length": 65, "Cover_Rate": 0.3869047619047619} {"Template_token": ["", "SDValue", "PtrOff", "=", "DAG", ".", "getNode", "(", "", ",", "DL", ",", "getPointerTy", "(", "DAG", ".", "getDataLayout", "(", ")", ")", ",", "StackPtr", ",", "DAG", ".", "getIntPtrConstant", "(", "Offset", ",", "DL", ")", ")", ";", "return", "DAG", ".", "getStore", "(", "Chain", ",", "DL", ",", "Arg", ",", "PtrOff", ",", "MachinePointerInfo", "(", ")", ")", ";", "}", "MachineFrameInfo", "&", "MFI", "=", "DAG", ".", "getMachineFunction", "(", ")", ".", "getFrameInfo", "(", ")", ";", "int", "FI", "=", "MFI", ".", "CreateFixedObject", "(", "Arg", ".", "getValueSizeInBits", "(", ")", "/", "", ",", "Offset", ",", "false", ")", ";"], "ground_truth": ["SDValue", "FIN", "=", "DAG", ".", "getFrameIndex", "(", "FI", ",", "getPointerTy", "(", "DAG", ".", "getDataLayout", "(", ")", ")", ")", ";"], "File": "Cpu0ISelLowering", "Func": "passArgOnStack", "Target": "Cpu0", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 189690, "Length": 104, "Cover_Rate": 0.6190476190476191} {"Template_token": ["", "unsigned", "ByValSizeInBytes", "=", "Flags", ".", "getByValSize", "(", ")", ";", "unsigned", "OffsetInBytes", "=", "", ";", "unsigned", "RegSizeInBytes", "=", "CC", ".", "regSize", "(", ")", ";", "unsigned", "Alignment", "=", "std", "::", "min", "(", "Flags", ".", "getByValAlign", "(", ")", ",", "RegSizeInBytes", ")", ";", "EVT", "PtrTy", "=", "getPointerTy", "(", "DAG", ".", "getDataLayout", "(", ")", ")", ",", "RegTy", "=", "", "(", "RegSizeInBytes", "*", "", ")", ";", "if", "(", "ByVal", ".", "NumRegs", ")", "{", "const", "ArrayRef", "<", "MCPhysReg", ">", "ArgRegs", "=", "CC", ".", "intArgRegs", "(", ")", ";", "bool", "LeftoverBytes", "=", "(", "ByVal", ".", "NumRegs", "*", "RegSizeInBytes", ">", "ByValSizeInBytes", ")", ";", "unsigned", "I", "=", "", ";", "for", "(", ";", "I", "<", "ByVal", ".", "NumRegs", "-", "LeftoverBytes", ";", "++", "I", ",", "OffsetInBytes", "+=", "RegSizeInBytes", ")", "{", "SDValue", "LoadPtr", "=", "DAG", ".", "getNode", "(", "", ",", "DL", ",", "PtrTy", ",", "Arg", ",", "DAG", ".", "getConstant", "(", "OffsetInBytes", ",", "DL", ",", "PtrTy", ")", ")", ";", "SDValue", "LoadVal", "=", "DAG", ".", "getLoad", "(", "RegTy", ",", "DL", ",", "Chain", ",", "LoadPtr", ",", "MachinePointerInfo", "(", ")", ")", ";", "MemOpChains", ".", "push_back", "(", "LoadVal", ".", "getValue", "(", "", ")", ")", ";", "unsigned", "ArgReg", "=", "ArgRegs", "[", "ByVal", ".", "FirstIdx", "+", "I", "]", ";", "RegsToPass", ".", "push_back", "(", "std", "::", "make_pair", "(", "ArgReg", ",", "LoadVal", ")", ")", ";", "}", "if", "(", "ByValSizeInBytes", "==", "OffsetInBytes", ")", "return", ";", "if", "(", "LeftoverBytes", ")", "{", "assert", "(", "(", "ByValSizeInBytes", ">", "OffsetInBytes", ")", "&&", "(", "ByValSizeInBytes", "<", "OffsetInBytes", "+", "RegSizeInBytes", ")", "&&", "", ")", ";", "SDValue", "Val", ";", "for", "(", "unsigned", "LoadSizeInBytes", "=", "RegSizeInBytes", "/", "", ",", "TotalBytesLoaded", "=", "", ";", "OffsetInBytes", "<", "ByValSizeInBytes", ";", "LoadSizeInBytes", "/=", "", ")", "{", "unsigned", "RemainingSizeInBytes", "=", "ByValSizeInBytes", "-", "OffsetInBytes", ";", "if", "(", "RemainingSizeInBytes", "<", "LoadSizeInBytes", ")", "continue", ";", "SDValue", "LoadPtr", "=", "DAG", ".", "getNode", "(", "", ",", "DL", ",", "PtrTy", ",", "Arg", ",", "DAG", ".", "getConstant", "(", "OffsetInBytes", ",", "DL", ",", "PtrTy", ")", ")", ";"], "ground_truth": ["SDValue", "LoadVal", "=", "DAG", ".", "getExtLoad", "(", "", ",", "DL", ",", "RegTy", ",", "Chain", ",", "LoadPtr", ",", "MachinePointerInfo", "(", ")", ",", "", "(", "LoadSizeInBytes", "*", "", ")", ",", "Alignment", ")", ";"], "File": "Cpu0ISelLowering", "Func": "passByValArg", "Target": "Cpu0", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 189691, "Length": 333, "Cover_Rate": 0.48755490483162517} {"Template_token": ["", "SDValue", "TargetLowering", "::", "PerformDAGCombine", "(", "SDNode", "*", "N", ",", "DAGCombinerInfo", "&", "DCI", ")", "const", "{"], "ground_truth": ["SelectionDAG", "&", "DAG", "=", "DCI", ".", "DAG", ";"], "File": "Cpu0ISelLowering", "Func": "PerformDAGCombine", "Target": "Cpu0", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 189692, "Length": 23, "Cover_Rate": 0.32857142857142857} {"Template_token": ["", "switch", "(", "Opc", ")", "{", "default", ":", "break", ";", "case", "", ":", "case", "", ":", "return", "performDivRemCombine", "(", "N", ",", "DAG", ",", "DCI", ",", "Subtarget", ")", ";", "}"], "ground_truth": ["return", "SDValue", "(", ")", ";"], "File": "Cpu0ISelLowering", "Func": "PerformDAGCombine", "Target": "Cpu0", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 189693, "Length": 33, "Cover_Rate": 0.4714285714285714} {"Template_token": ["", "static", "SDValue", "performDivRemCombine", "(", "SDNode", "*", "N", ",", "SelectionDAG", "&", "DAG", ",", "TargetLowering", "::", "DAGCombinerInfo", "&", "DCI", ",", "const", "Subtarget", "&", "Subtarget", ")", "{", "if", "(", "DCI", ".", "isBeforeLegalizeOps", "(", ")", ")", "return", "SDValue", "(", ")", ";", "EVT", "Ty", "=", "N", "->", "getValueType", "(", "", ")", ";", "unsigned", "LO", "=", "", ";", "unsigned", "HI", "=", "", ";", "unsigned", "Opc", "=", "N", "->", "getOpcode", "(", ")", "==", "", "?", "", ":", "", ";", "SDLoc", "DL", "(", "N", ")", ";", "SDValue", "DivRem", "=", "DAG", ".", "getNode", "(", "Opc", ",", "DL", ",", "", ",", "N", "->", "getOperand", "(", "", ")", ",", "N", "->", "getOperand", "(", "", ")", ")", ";", "SDValue", "InChain", "=", "DAG", ".", "getEntryNode", "(", ")", ";", "SDValue", "InGlue", "=", "DivRem", ";", "if", "(", "N", "->", "hasAnyUseOfValue", "(", "", ")", ")", "{"], "ground_truth": ["SDValue", "CopyFromLo", "=", "DAG", ".", "getCopyFromReg", "(", "InChain", ",", "DL", ",", "LO", ",", "Ty", ",", "InGlue", ")", ";"], "File": "Cpu0ISelLowering", "Func": "performDivRemCombine", "Target": "Cpu0", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 189694, "Length": 148, "Cover_Rate": 0.6115702479338843} {"Template_token": ["", "bool", "useRegsForByval", "(", ")", "const", "{", "return", "CallConv", "!=", "CallingConv", "::", "Fast", ";"], "ground_truth": ["}"], "File": "Cpu0ISelLowering", "Func": "useRegsForByval", "Target": "Cpu0", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 189697, "Length": 14, "Cover_Rate": 1.0} {"Template_token": ["", "bool", "useRegsForByval", "(", ")", "const", "{"], "ground_truth": ["return", "CallConv", "!=", "CallingConv", "::", "Fast", ";"], "File": "Cpu0ISelLowering", "Func": "useRegsForByval", "Target": "Cpu0", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 189698, "Length": 13, "Cover_Rate": 0.9285714285714286} {"Template_token": ["", "void", "TargetLowering", "::", "writeVarArgRegs", "(", "std", "::", "vector", "<", "SDValue", ">", "&", "OutChains", ",", "const", "CC", "&", "CC", ",", "SDValue", "Chain", ",", "const", "SDLoc", "&", "DL", ",", "SelectionDAG", "&", "DAG", ")", "const", "{", "unsigned", "NumRegs", "=", "CC", ".", "numIntArgRegs", "(", ")", ";", "const", "ArrayRef", "<", "MCPhysReg", ">", "ArgRegs", "=", "CC", ".", "intArgRegs", "(", ")", ";", "const", "CCState", "&", "CCInfo", "=", "CC", ".", "getCCInfo", "(", ")", ";", "unsigned", "Idx", "=", "CCInfo", ".", "getFirstUnallocated", "(", "ArgRegs", ")", ";", "unsigned", "RegSize", "=", "CC", ".", "regSize", "(", ")", ";", "MVT", "RegTy", "=", "", "(", "RegSize", "*", "", ")", ";", "const", "TargetRegisterClass", "*", "RC", "=", "getRegClassFor", "(", "RegTy", ")", ";", "MachineFunction", "&", "MF", "=", "DAG", ".", "getMachineFunction", "(", ")", ";"], "ground_truth": ["MachineFrameInfo", "&", "MFI", "=", "MF", ".", "getFrameInfo", "(", ")", ";"], "File": "Cpu0ISelLowering", "Func": "writeVarArgRegs", "Target": "Cpu0", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 189699, "Length": 125, "Cover_Rate": 0.3633720930232558} {"Template_token": ["", "int", "TargetMBB", "=", "getTargetMBB", "(", "*", "Br", ")", "->", "getNumber", "(", ")", ";", "if", "(", "ThisMBB", "<", "TargetMBB", ")", "{"], "ground_truth": ["for", "(", "int", "N", "=", "ThisMBB", "+", "", ";", "N", "<", "TargetMBB", ";", "++", "N", ")", "Offset", "+=", "MBBInfos", "[", "N", "]", ".", "Size", ";"], "File": "Cpu0LongBranch", "Func": "computeOffset", "Target": "Cpu0", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 189700, "Length": 45, "Cover_Rate": 0.4090909090909091} {"Template_token": ["", "LongBranch", "(", "TargetMachine", "&", "tm", ")", ":", "MachineFunctionPass", "(", "ID", ")", ",", "TM", "(", "tm", ")", ",", "IsPIC", "(", "TM", ".", "isPositionIndependent", "(", ")", ")", ",", "ABI", "(", "static_cast", "<", "const", "TargetMachine", "&", ">", "(", "TM", ")", ".", "getABI", "(", ")", ")", "{"], "ground_truth": ["}"], "File": "Cpu0LongBranch", "Func": "Cpu0LongBranch", "Target": "Cpu0", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 189701, "Length": 44, "Cover_Rate": 1.0} {"Template_token": ["", "LongBranch", "(", "TargetMachine", "&", "tm", ")", ":", "MachineFunctionPass", "(", "ID", ")", ",", "TM", "(", "tm", ")", ",", "IsPIC", "(", "TM", ".", "isPositionIndependent", "(", ")", ")", ",", "ABI", "(", "static_cast", "<", "const", "TargetMachine", "&", ">", "(", "TM", ")", ".", "getABI", "(", ")", ")", "{"], "ground_truth": ["}"], "File": "Cpu0LongBranch", "Func": "Cpu0LongBranch", "Target": "Cpu0", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 189702, "Length": 44, "Cover_Rate": 1.0} {"Template_token": ["", "static", "void", "emitGPDisp", "(", "MachineFunction", "&", "F", ",", "const", "InstrInfo", "*", "TII", ")", "{", "MachineBasicBlock", "&", "MBB", "=", "F", ".", "front", "(", ")", ";", "MachineBasicBlock", "::", "iterator", "I", "=", "MBB", ".", "begin", "(", ")", ";", "DebugLoc", "DL", "=", "MBB", ".", "findDebugLoc", "(", "MBB", ".", "begin", "(", ")", ")", ";", "BuildMI", "(", "MBB", ",", "I", ",", "DL", ",", "TII", "->", "get", "(", "", ")", ",", "", ")", ".", "addExternalSymbol", "(", "", ",", "", ")", ";", "BuildMI", "(", "MBB", ",", "I", ",", "DL", ",", "TII", "->", "get", "(", "", ")", ",", "", ")", ".", "addReg", "(", "", ")", ".", "addExternalSymbol", "(", "", ",", "", ")", ";", "MBB", ".", "removeLiveIn", "(", "", ")", ";"], "ground_truth": ["}"], "File": "Cpu0LongBranch", "Func": "emitGPDisp", "Target": "Cpu0", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 189705, "Length": 112, "Cover_Rate": 0.875} {"Template_token": ["", "for", "(", ";", "B", "!=", "E", ";", "++", "B", ")", "if", "(", "!", "B", "->", "isDebugValue", "(", ")", ")", "return", "B", ";"], "ground_truth": ["return", "E", ";"], "File": "Cpu0LongBranch", "Func": "getNonDebugInstr", "Target": "Cpu0", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 189706, "Length": 25, "Cover_Rate": 0.6410256410256411} {"Template_token": ["", "return", "", ";"], "ground_truth": ["}"], "File": "Cpu0LongBranch", "Func": "getPassName", "Target": "Cpu0", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 189707, "Length": 4, "Cover_Rate": 0.36363636363636365} {"Template_token": ["", "StringRef", "getPassName", "(", ")", "const", "override", "{", "return", "", ";"], "ground_truth": ["}"], "File": "Cpu0LongBranch", "Func": "getPassName", "Target": "Cpu0", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 189708, "Length": 11, "Cover_Rate": 1.0} {"Template_token": ["", "const", "MachineOperand", "&", "MO", "=", "Br", ".", "getOperand", "(", "I", ")", ";", "if", "(", "MO", ".", "isMBB", "(", ")", ")", "return", "MO", ".", "getMBB", "(", ")", ";", "}"], "ground_truth": ["llvm_unreachable", "(", "", ")", ";"], "File": "Cpu0LongBranch", "Func": "getTargetMBB", "Target": "Cpu0", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 189709, "Length": 33, "Cover_Rate": 0.4583333333333333} {"Template_token": ["", "static", "MachineBasicBlock", "*", "getTargetMBB", "(", "const", "MachineInstr", "&", "Br", ")", "{"], "ground_truth": ["for", "(", "unsigned", "I", "=", "", ",", "E", "=", "Br", ".", "getDesc", "(", ")", ".", "getNumOperands", "(", ")", ";", "I", "<", "E", ";", "++", "I", ")", "{"], "File": "Cpu0LongBranch", "Func": "getTargetMBB", "Target": "Cpu0", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 189710, "Length": 38, "Cover_Rate": 0.5277777777777778} {"Template_token": ["", "for", "(", "auto", "&", "MBB", ":", "*", "MF", ")", "splitMBB", "(", "&", "MBB", ")", ";", "MF", "->", "RenumberBlocks", "(", ")", ";", "MBBInfos", ".", "clear", "(", ")", ";", "MBBInfos", ".", "resize", "(", "MF", "->", "size", "(", ")", ")", ";", "const", "InstrInfo", "*", "TII", "=", "static_cast", "<", "const", "InstrInfo", "*", ">", "(", "MF", "->", "getSubtarget", "(", ")", ".", "getInstrInfo", "(", ")", ")", ";", "for", "(", "unsigned", "I", "=", "", ",", "E", "=", "MBBInfos", ".", "size", "(", ")", ";", "I", "<", "E", ";", "++", "I", ")", "{", "MachineBasicBlock", "*", "MBB", "=", "MF", "->", "getBlockNumbered", "(", "I", ")", ";", "for", "(", "MachineBasicBlock", "::", "instr_iterator", "MI", "=", "MBB", "->", "instr_begin", "(", ")", ";", "MI", "!=", "MBB", "->", "instr_end", "(", ")", ";", "++", "MI", ")", "MBBInfos", "[", "I", "]", ".", "Size", "+=", "TII", "->", "GetInstSizeInBytes", "(", "*", "MI", ")", ";", "ReverseIter", "End", "=", "MBB", "->", "rend", "(", ")", ";", "ReverseIter", "Br", "=", "getNonDebugInstr", "(", "MBB", "->", "rbegin", "(", ")", ",", "End", ")", ";", "auto", "it", "=", "MBB", "->", "begin", "(", ")", ";", "for", "(", ";", "it", "!=", "MBB", "->", "end", "(", ")", ";", "++", "it", ")", "{", "if", "(", "&", "*", "it", "==", "&", "*", "Br", ")", "break", ";"], "ground_truth": ["}"], "File": "Cpu0LongBranch", "Func": "initMBBInfo", "Target": "Cpu0", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 189711, "Length": 194, "Cover_Rate": 0.7854251012145749} {"Template_token": ["", "ReverseIter", "End", "=", "MBB", "->", "rend", "(", ")", ";", "ReverseIter", "Br", "=", "getNonDebugInstr", "(", "MBB", "->", "rbegin", "(", ")", ",", "End", ")", ";", "auto", "it", "=", "MBB", "->", "begin", "(", ")", ";", "for", "(", ";", "it", "!=", "MBB", "->", "end", "(", ")", ";", "++", "it", ")", "{", "if", "(", "&", "*", "it", "==", "&", "*", "Br", ")", "break", ";", "}"], "ground_truth": ["if", "(", "(", "Br", "!=", "End", ")", "&&", "!", "Br", "->", "isIndirectBranch", "(", ")", "&&", "(", "Br", "->", "isConditionalBranch", "(", ")", "||", "(", "Br", "->", "isUnconditionalBranch", "(", ")", "&&", "IsPIC", ")", ")", ")", "MBBInfos", "[", "I", "]", ".", "Br", "=", "&", "*", "it", ";"], "File": "Cpu0LongBranch", "Func": "initMBBInfo", "Target": "Cpu0", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 189712, "Length": 104, "Cover_Rate": 0.42105263157894735} {"Template_token": ["", "MBBInfo", "(", ")", ":", "Size", "(", "", ")", ",", "HasLongBranch", "(", "false", ")", ",", "Br", "(", "nullptr", ")", "{"], "ground_truth": ["}"], "File": "Cpu0LongBranch", "Func": "MBBInfo", "Target": "Cpu0", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 189713, "Length": 20, "Cover_Rate": 1.0} {"Template_token": ["", "MBBInfo", "(", ")", ":", "Size", "(", "", ")", ",", "HasLongBranch", "(", "false", ")", ",", "Br", "(", "nullptr", ")", "{"], "ground_truth": ["}"], "File": "Cpu0LongBranch", "Func": "MBBInfo", "Target": "Cpu0", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 189714, "Length": 20, "Cover_Rate": 1.0} {"Template_token": ["", "void", "LongBranch", "::", "replaceBranch", "(", "MachineBasicBlock", "&", "MBB", ",", "Iter", "Br", ",", "const", "DebugLoc", "&", "DL", ",", "MachineBasicBlock", "*", "MBBOpnd", ")", "{", "const", "InstrInfo", "*", "TII", "=", "static_cast", "<", "const", "InstrInfo", "*", ">", "(", "MBB", ".", "getParent", "(", ")", "->", "getSubtarget", "(", ")", ".", "getInstrInfo", "(", ")", ")", ";", "unsigned", "NewOpc", "=", "TII", "->", "getOppositeBranchOpc", "(", "Br", "->", "getOpcode", "(", ")", ")", ";", "const", "MCInstrDesc", "&", "NewDesc", "=", "TII", "->", "get", "(", "NewOpc", ")", ";", "MachineInstrBuilder", "MIB", "=", "BuildMI", "(", "MBB", ",", "Br", ",", "DL", ",", "NewDesc", ")", ";", "for", "(", "unsigned", "I", "=", "", ",", "E", "=", "Br", "->", "getDesc", "(", ")", ".", "getNumOperands", "(", ")", ";", "I", "<", "E", ";", "++", "I", ")", "{", "MachineOperand", "&", "MO", "=", "Br", "->", "getOperand", "(", "I", ")", ";", "if", "(", "!", "MO", ".", "isReg", "(", ")", ")", "{", "assert", "(", "MO", ".", "isMBB", "(", ")", "&&", "", ")", ";", "break", ";", "}", "MIB", ".", "addReg", "(", "MO", ".", "getReg", "(", ")", ")", ";", "}", "MIB", ".", "addMBB", "(", "MBBOpnd", ")", ";", "if", "(", "Br", "->", "hasDelaySlot", "(", ")", ")", "{", "if", "(", "Br", "->", "isBundledWithSucc", "(", ")", ")", "{", "MachineBasicBlock", "::", "instr_iterator", "II", "=", "Br", ".", "getInstrIterator", "(", ")", ";", "MIBundleBuilder", "(", "&", "*", "MIB", ")", ".", "append", "(", "(", "++", "II", ")", "->", "removeFromBundle", "(", ")", ")", ";", "}", "else", "{", "MIBundleBuilder", "(", "&", "*", "MIB", ")", ".", "append", "(", "BuildMI", "(", "*", "MF", ",", "DL", ",", "TII", "->", "get", "(", "", ")", ")", ")", ";", "}", "}", "Br", "->", "eraseFromParent", "(", ")", ";"], "ground_truth": ["}"], "File": "Cpu0LongBranch", "Func": "replaceBranch", "Target": "Cpu0", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 189715, "Length": 255, "Cover_Rate": 0.9922178988326849} {"Template_token": ["", "SmallVectorImpl", "<", "MBBInfo", ">", "::", "iterator", "I", ",", "E", "=", "MBBInfos", ".", "end", "(", ")", ";", "bool", "EverMadeChange", "=", "false", ",", "MadeChange", "=", "true", ";", "while", "(", "MadeChange", ")", "{", "MadeChange", "=", "false", ";", "for", "(", "I", "=", "MBBInfos", ".", "begin", "(", ")", ";", "I", "!=", "E", ";", "++", "I", ")", "{", "if", "(", "!", "I", "->", "Br", "||", "I", "->", "HasLongBranch", ")", "continue", ";", "int", "ShVal", "=", "", ";", "int64_t", "Offset", "=", "computeOffset", "(", "I", "->", "Br", ")", "/", "ShVal", ";", "if", "(", "!", "ForceLongBranch", "&&", "isInt", "<", "", ">", "(", "Offset", ")", ")", "continue", ";", "I", "->", "HasLongBranch", "=", "true", ";", "I", "->", "Size", "+=", "LongBranchSeqSize", "*", "", ";", "++", "LongBranches", ";", "EverMadeChange", "=", "MadeChange", "=", "true", ";", "}", "}"], "ground_truth": ["if", "(", "!", "EverMadeChange", ")", "return", "true", ";"], "File": "Cpu0LongBranch", "Func": "runOnMachineFunction", "Target": "Cpu0", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 189716, "Length": 130, "Cover_Rate": 0.3951367781155015} {"Template_token": ["", "ReverseIter", "FirstBr", "=", "getNonDebugInstr", "(", "std", "::", "next", "(", "LastBr", ")", ",", "End", ")", ";", "if", "(", "(", "FirstBr", "==", "End", ")", "||", "(", "!", "FirstBr", "->", "isConditionalBranch", "(", ")", "&&", "!", "FirstBr", "->", "isUnconditionalBranch", "(", ")", ")", ")", "return", ";", "assert", "(", "!", "FirstBr", "->", "isIndirectBranch", "(", ")", "&&", "", ")", ";", "for", "(", ";", "it", "!=", "MBB", "->", "end", "(", ")", ";", "++", "it", ")", "{"], "ground_truth": ["if", "(", "&", "*", "it", "==", "&", "*", "FirstBr", ")", "break", ";"], "File": "Cpu0LongBranch", "Func": "splitMBB", "Target": "Cpu0", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 189717, "Length": 80, "Cover_Rate": 0.3252032520325203} {"Template_token": ["", "void", "FunctionInfo", "::", "anchor", "(", ")", "{"], "ground_truth": ["}"], "File": "Cpu0MachineFunction1", "Func": "anchor", "Target": "Cpu0", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 189718, "Length": 8, "Cover_Rate": 1.0} {"Template_token": ["", "void", "FunctionInfo", "::", "anchor", "(", ")", "{"], "ground_truth": ["}"], "File": "Cpu0MachineFunction1", "Func": "anchor", "Target": "Cpu0", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 189719, "Length": 8, "Cover_Rate": 1.0} {"Template_token": ["", "FunctionInfo", "(", "MachineFunction", "&", "MF", ")", ":", "MF", "(", "MF", ")", ",", "SRetReturnReg", "(", "", ")", ",", "GlobalBaseReg", "(", "", ")", ",", "VarArgsFrameIndex", "(", "", ")", ",", "InArgFIRange", "(", "std", "::", "make_pair", "(", "-", "", ",", "", ")", ")", ",", "OutArgFIRange", "(", "std", "::", "make_pair", "(", "-", "", ",", "", ")", ")", ",", "GPFI", "(", "", ")", ",", "DynAllocFI", "(", "", ")", ",", "MaxCallFrameSize", "(", "", ")", ",", "EmitNOAT", "(", "false", ")", "{"], "ground_truth": ["}"], "File": "Cpu0MachineFunction1", "Func": "Cpu0FunctionInfo", "Target": "Cpu0", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 189720, "Length": 74, "Cover_Rate": 1.0} {"Template_token": ["", "FunctionInfo", "(", "MachineFunction", "&", "MF", ")", ":", "MF", "(", "MF", ")", ",", "SRetReturnReg", "(", "", ")", ",", "GlobalBaseReg", "(", "", ")", ",", "VarArgsFrameIndex", "(", "", ")", ",", "InArgFIRange", "(", "std", "::", "make_pair", "(", "-", "", ",", "", ")", ")", ",", "OutArgFIRange", "(", "std", "::", "make_pair", "(", "-", "", ",", "", ")", ")", ",", "GPFI", "(", "", ")", ",", "DynAllocFI", "(", "", ")", ",", "MaxCallFrameSize", "(", "", ")", ",", "EmitNOAT", "(", "false", ")", "{"], "ground_truth": ["}"], "File": "Cpu0MachineFunction1", "Func": "Cpu0FunctionInfo", "Target": "Cpu0", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 189721, "Length": 74, "Cover_Rate": 1.0} {"Template_token": ["", "if", "(", "!", "OutArgFIRange", ".", "second", ")", "OutArgFIRange", ".", "first", "=", "FirstFI", ";"], "ground_truth": ["OutArgFIRange", ".", "second", "=", "LastFI", ";"], "File": "Cpu0MachineFunction1", "Func": "extendOutArgFIRange", "Target": "Cpu0", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 189722, "Length": 19, "Cover_Rate": 0.6333333333333333} {"Template_token": ["", "void", "extendOutArgFIRange", "(", "int", "FirstFI", ",", "int", "LastFI", ")", "{", "if", "(", "!", "OutArgFIRange", ".", "second", ")", "OutArgFIRange", ".", "first", "=", "FirstFI", ";"], "ground_truth": ["OutArgFIRange", ".", "second", "=", "LastFI", ";"], "File": "Cpu0MachineFunction1", "Func": "extendOutArgFIRange", "Target": "Cpu0", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 189723, "Length": 29, "Cover_Rate": 0.9666666666666667} {"Template_token": ["", "if", "(", "!", "DynAllocFI", ")", "DynAllocFI", "=", "MF", ".", "getFrameInfo", "(", ")", "->", "CreateFixedObject", "(", "", ",", "", ",", "true", ")", ";"], "ground_truth": ["return", "DynAllocFI", ";"], "File": "Cpu0MachineFunction1", "Func": "getDynAllocFI", "Target": "Cpu0", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 189724, "Length": 25, "Cover_Rate": 0.78125} {"Template_token": ["", "const", "TargetRegisterClass", "*", "RC", ";", "RC", "=", "(", "const", "TargetRegisterClass", "*", ")", "&", "", ";", "return", "GlobalBaseReg", "=", "MF", ".", "getRegInfo", "(", ")", ".", "createVirtualRegister", "(", "RC", ")", ";"], "ground_truth": ["}"], "File": "Cpu0MachineFunction1", "Func": "getGlobalBaseReg", "Target": "Cpu0", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 189725, "Length": 30, "Cover_Rate": 0.5263157894736842} {"Template_token": ["", "if", "(", "GlobalBaseReg", ")", "return", "GlobalBaseReg", ";", "if", "(", "FixGlobalBaseReg", ")", "return", "GlobalBaseReg", "=", "", ";"], "ground_truth": ["const", "TargetRegisterClass", "*", "RC", ";"], "File": "Cpu0MachineFunction1", "Func": "getGlobalBaseReg", "Target": "Cpu0", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 189726, "Length": 21, "Cover_Rate": 0.3684210526315789} {"Template_token": ["", "bool", "FunctionInfo", "::", "globalBaseRegSet", "(", ")", "const", "{"], "ground_truth": ["return", "GlobalBaseReg", ";"], "File": "Cpu0MachineFunction1", "Func": "globalBaseRegSet", "Target": "Cpu0", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 189728, "Length": 11, "Cover_Rate": 0.9166666666666666} {"Template_token": ["", "FunctionInfo", "(", "MachineFunction", "&", "MF", ")", ":", "MF", "(", "MF", ")", ",", "GlobalBaseReg", "(", "", ")", ",", "VarArgsFrameIndex", "(", "", ")", ",", "InArgFIRange", "(", "std", "::", "make_pair", "(", "-", "", ",", "", ")", ")", ",", "OutArgFIRange", "(", "std", "::", "make_pair", "(", "-", "", ",", "", ")", ")", ",", "GPFI", "(", "", ")", ",", "DynAllocFI", "(", "", ")", ",", "MaxCallFrameSize", "(", "", ")", "{"], "ground_truth": ["}"], "File": "Cpu0MachineFunction2", "Func": "Cpu0FunctionInfo", "Target": "Cpu0", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 189730, "Length": 64, "Cover_Rate": 1.0} {"Template_token": ["", "FunctionInfo", "(", "MachineFunction", "&", "MF", ")", ":", "MF", "(", "MF", ")", ",", "GlobalBaseReg", "(", "", ")", ",", "VarArgsFrameIndex", "(", "", ")", ",", "InArgFIRange", "(", "std", "::", "make_pair", "(", "-", "", ",", "", ")", ")", ",", "OutArgFIRange", "(", "std", "::", "make_pair", "(", "-", "", ",", "", ")", ")", ",", "GPFI", "(", "", ")", ",", "DynAllocFI", "(", "", ")", ",", "MaxCallFrameSize", "(", "", ")", "{"], "ground_truth": ["}"], "File": "Cpu0MachineFunction2", "Func": "Cpu0FunctionInfo", "Target": "Cpu0", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 189731, "Length": 64, "Cover_Rate": 1.0} {"Template_token": ["", "MachineFunctionInfo", "(", "MachineFunction", "&", "MF", ")", ":", "MF", "(", "MF", ")", ",", "SRetReturnReg", "(", "", ")", ",", "VarArgsFrameIndex", "(", "", ")", ",", "CallsEhReturn", "(", "false", ")", ",", "CallsEhDwarf", "(", "false", ")", ",", "MaxCallFrameSize", "(", "", ")", ",", "EmitNOAT", "(", "false", ")", ",", "GlobalBaseReg", "(", "", ")", ",", "InArgFIRange", "(", "std", "::", "make_pair", "(", "-", "", ",", "", ")", ")", ",", "OutArgFIRange", "(", "std", "::", "make_pair", "(", "-", "", ",", "", ")", ")", ",", "GPFI", "(", "", ")", ",", "DynAllocFI", "(", "", ")", "{"], "ground_truth": ["}"], "File": "Cpu0MachineFunctionInfo", "Func": "Cpu0MachineFunctionInfo", "Target": "Cpu0", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 189732, "Length": 84, "Cover_Rate": 1.0} {"Template_token": ["", "MachineFunctionInfo", "(", "MachineFunction", "&", "MF", ")", ":", "MF", "(", "MF", ")", ",", "SRetReturnReg", "(", "", ")", ",", "VarArgsFrameIndex", "(", "", ")", ",", "CallsEhReturn", "(", "false", ")", ",", "CallsEhDwarf", "(", "false", ")", ",", "MaxCallFrameSize", "(", "", ")", ",", "EmitNOAT", "(", "false", ")", ",", "GlobalBaseReg", "(", "", ")", ",", "InArgFIRange", "(", "std", "::", "make_pair", "(", "-", "", ",", "", ")", ")", ",", "OutArgFIRange", "(", "std", "::", "make_pair", "(", "-", "", ",", "", ")", ")", ",", "GPFI", "(", "", ")", ",", "DynAllocFI", "(", "", ")", "{"], "ground_truth": ["}"], "File": "Cpu0MachineFunctionInfo", "Func": "Cpu0MachineFunctionInfo", "Target": "Cpu0", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 189733, "Length": 84, "Cover_Rate": 1.0} {"Template_token": ["", "void", "MachineFunctionInfo", "::", "anchor", "(", ")", "{"], "ground_truth": ["}"], "File": "Cpu0MachineFunction", "Func": "anchor", "Target": "Cpu0", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 189734, "Length": 8, "Cover_Rate": 1.0} {"Template_token": ["", "void", "MachineFunctionInfo", "::", "anchor", "(", ")", "{"], "ground_truth": ["}"], "File": "Cpu0MachineFunction", "Func": "anchor", "Target": "Cpu0", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 189735, "Length": 8, "Cover_Rate": 1.0} {"Template_token": ["", "return", "MachinePointerInfo", "(", "MF", ".", "getPSVManager", "(", ")", ".", "getGlobalValueCallEntry", "(", "GV", ")", ")", ";"], "ground_truth": ["}"], "File": "Cpu0MachineFunction", "Func": "callPtrInfo", "Target": "Cpu0", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 189737, "Length": 16, "Cover_Rate": 0.5925925925925926} {"Template_token": ["", "return", "CallsEhDwarf", ";"], "ground_truth": ["}"], "File": "Cpu0MachineFunction", "Func": "callsEhDwarf", "Target": "Cpu0", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 189739, "Length": 4, "Cover_Rate": 0.4} {"Template_token": ["", "MachineFunctionInfo", "(", "MachineFunction", "&", "MF", ")", ":", "MF", "(", "MF", ")", ",", "VarArgsFrameIndex", "(", "", ")", ",", "InArgFIRange", "(", "std", "::", "make_pair", "(", "-", "", ",", "", ")", ")", ",", "OutArgFIRange", "(", "std", "::", "make_pair", "(", "-", "", ",", "", ")", ")", ",", "GPFI", "(", "", ")", ",", "DynAllocFI", "(", "", ")", ",", "EmitNOAT", "(", "false", ")", ",", "MaxCallFrameSize", "(", "", ")", "{"], "ground_truth": ["}"], "File": "Cpu0MachineFunction", "Func": "Cpu0MachineFunctionInfo", "Target": "Cpu0", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 189741, "Length": 64, "Cover_Rate": 1.0} {"Template_token": ["", "MachineFunctionInfo", "(", "MachineFunction", "&", "MF", ")", ":", "MF", "(", "MF", ")", ",", "VarArgsFrameIndex", "(", "", ")", ",", "InArgFIRange", "(", "std", "::", "make_pair", "(", "-", "", ",", "", ")", ")", ",", "OutArgFIRange", "(", "std", "::", "make_pair", "(", "-", "", ",", "", ")", ")", ",", "GPFI", "(", "", ")", ",", "DynAllocFI", "(", "", ")", ",", "EmitNOAT", "(", "false", ")", ",", "MaxCallFrameSize", "(", "", ")", "{"], "ground_truth": ["}"], "File": "Cpu0MachineFunction", "Func": "Cpu0MachineFunctionInfo", "Target": "Cpu0", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 189742, "Length": 64, "Cover_Rate": 1.0} {"Template_token": ["", "void", "MachineFunctionInfo", "::", "createEhDataRegsFI", "(", ")", "{", "const", "TargetRegisterInfo", "&", "TRI", "=", "*", "MF", ".", "getSubtarget", "(", ")", ".", "getRegisterInfo", "(", ")", ";", "for", "(", "int", "I", "=", "", ";", "I", "<", "", ";", "++", "I", ")", "{", "const", "TargetRegisterClass", "*", "RC", "=", "&", "", ";", "EhDataRegFI", "[", "I", "]", "=", "MF", ".", "getFrameInfo", "(", ")", ".", "CreateStackObject", "(", "TRI", ".", "getSpillSize", "(", "*", "RC", ")", ",", "TRI", ".", "getSpillAlignment", "(", "*", "RC", ")", ",", "false", ")", ";"], "ground_truth": ["}"], "File": "Cpu0MachineFunction", "Func": "createEhDataRegsFI", "Target": "Cpu0", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 189743, "Length": 79, "Cover_Rate": 0.9634146341463414} {"Template_token": ["", "int", "getEhDataRegFI", "(", "unsigned", "Reg", ")", "const", "{", "return", "EhDataRegFI", "[", "Reg", "]", ";"], "ground_truth": ["}"], "File": "Cpu0MachineFunction", "Func": "getEhDataRegFI", "Target": "Cpu0", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 189745, "Length": 15, "Cover_Rate": 1.0} {"Template_token": ["", "bool", "getEmitNOAT", "(", ")", "const", "{", "return", "EmitNOAT", ";"], "ground_truth": ["}"], "File": "Cpu0MachineFunction", "Func": "getEmitNOAT", "Target": "Cpu0", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 189746, "Length": 10, "Cover_Rate": 1.0} {"Template_token": ["", "bool", "getEmitNOAT", "(", ")", "const", "{", "return", "EmitNOAT", ";"], "ground_truth": ["}"], "File": "Cpu0MachineFunction", "Func": "getEmitNOAT", "Target": "Cpu0", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 189747, "Length": 10, "Cover_Rate": 1.0} {"Template_token": ["", "unsigned", "MachineFunctionInfo", "::", "getGlobalBaseReg", "(", ")", "{"], "ground_truth": ["return", "GlobalBaseReg", "=", "", ";"], "File": "Cpu0MachineFunction", "Func": "getGlobalBaseReg", "Target": "Cpu0", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 189749, "Length": 12, "Cover_Rate": 0.8} {"Template_token": ["", "int", "getGPFI", "(", ")", "const", "{"], "ground_truth": ["return", "GPFI", ";"], "File": "Cpu0MachineFunction", "Func": "getGPFI", "Target": "Cpu0", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 189750, "Length": 9, "Cover_Rate": 0.9} {"Template_token": ["", "int", "getGPFI", "(", ")", "const", "{"], "ground_truth": ["return", "GPFI", ";"], "File": "Cpu0MachineFunction", "Func": "getGPFI", "Target": "Cpu0", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 189751, "Length": 9, "Cover_Rate": 0.9} {"Template_token": ["", "unsigned", "getIncomingArgSize", "(", ")", "const", "{", "return", "IncomingArgSize", ";"], "ground_truth": ["}"], "File": "Cpu0MachineFunction", "Func": "getIncomingArgSize", "Target": "Cpu0", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 189752, "Length": 10, "Cover_Rate": 1.0} {"Template_token": ["", "unsigned", "getIncomingArgSize", "(", ")", "const", "{"], "ground_truth": ["return", "IncomingArgSize", ";"], "File": "Cpu0MachineFunction", "Func": "getIncomingArgSize", "Target": "Cpu0", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 189753, "Length": 9, "Cover_Rate": 0.9} {"Template_token": ["", "unsigned", "getSRetReturnReg", "(", ")", "const", "{", "return", "SRetReturnReg", ";"], "ground_truth": ["}"], "File": "Cpu0MachineFunction", "Func": "getSRetReturnReg", "Target": "Cpu0", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 189756, "Length": 10, "Cover_Rate": 1.0} {"Template_token": ["", "int", "getVarArgsFrameIndex", "(", ")", "const", "{", "return", "VarArgsFrameIndex", ";"], "ground_truth": ["}"], "File": "Cpu0MachineFunction", "Func": "getVarArgsFrameIndex", "Target": "Cpu0", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 189757, "Length": 10, "Cover_Rate": 1.0} {"Template_token": ["", "int", "getVarArgsFrameIndex", "(", ")", "const", "{", "return", "VarArgsFrameIndex", ";"], "ground_truth": ["}"], "File": "Cpu0MachineFunction", "Func": "getVarArgsFrameIndex", "Target": "Cpu0", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 189758, "Length": 10, "Cover_Rate": 1.0} {"Template_token": ["", "bool", "MachineFunctionInfo", "::", "globalBaseRegFixed", "(", ")", "const", "{"], "ground_truth": ["return", "FixGlobalBaseReg", ";"], "File": "Cpu0MachineFunction", "Func": "globalBaseRegFixed", "Target": "Cpu0", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 189759, "Length": 11, "Cover_Rate": 0.9166666666666666} {"Template_token": ["", "return", "FixGlobalBaseReg", ";"], "ground_truth": ["}"], "File": "Cpu0MachineFunction", "Func": "globalBaseRegFixed", "Target": "Cpu0", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 189760, "Length": 4, "Cover_Rate": 0.3333333333333333} {"Template_token": ["", "bool", "MachineFunctionInfo", "::", "globalBaseRegSet", "(", ")", "const", "{"], "ground_truth": ["return", "GlobalBaseReg", ";"], "File": "Cpu0MachineFunction", "Func": "globalBaseRegSet", "Target": "Cpu0", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 189761, "Length": 11, "Cover_Rate": 0.9166666666666666} {"Template_token": ["", "bool", "hasByvalArg", "(", ")", "const", "{"], "ground_truth": ["return", "HasByvalArg", ";"], "File": "Cpu0MachineFunction", "Func": "hasByvalArg", "Target": "Cpu0", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 189763, "Length": 9, "Cover_Rate": 0.9} {"Template_token": ["", "bool", "isDynAllocFI", "(", "int", "FI", ")", "const", "{", "return", "DynAllocFI", "&&", "DynAllocFI", "==", "FI", ";"], "ground_truth": ["}"], "File": "Cpu0MachineFunction", "Func": "isDynAllocFI", "Target": "Cpu0", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 189764, "Length": 16, "Cover_Rate": 1.0} {"Template_token": ["", "return", "DynAllocFI", "&&", "DynAllocFI", "==", "FI", ";"], "ground_truth": ["}"], "File": "Cpu0MachineFunction", "Func": "isDynAllocFI", "Target": "Cpu0", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 189765, "Length": 8, "Cover_Rate": 0.5} {"Template_token": ["", "bool", "isGPFI", "(", "int", "FI", ")", "const", "{", "return", "GPFI", "&&", "GPFI", "==", "FI", ";"], "ground_truth": ["}"], "File": "Cpu0MachineFunction", "Func": "isGPFI", "Target": "Cpu0", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 189766, "Length": 16, "Cover_Rate": 1.0} {"Template_token": ["", "return", "FI", "<=", "InArgFIRange", ".", "first", "&&", "FI", ">=", "InArgFIRange", ".", "second", ";"], "ground_truth": ["}"], "File": "Cpu0MachineFunction", "Func": "isInArgFI", "Target": "Cpu0", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 189768, "Length": 14, "Cover_Rate": 0.6363636363636364} {"Template_token": ["", "return", "getGPFI", "(", ")", ";"], "ground_truth": ["}"], "File": "Cpu0MachineFunction", "Func": "needGPSaveRestore", "Target": "Cpu0", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 189772, "Length": 6, "Cover_Rate": 0.5} {"Template_token": ["", "bool", "needGPSaveRestore", "(", ")", "const", "{", "return", "getGPFI", "(", ")", ";"], "ground_truth": ["}"], "File": "Cpu0MachineFunction", "Func": "needGPSaveRestore", "Target": "Cpu0", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 189773, "Length": 12, "Cover_Rate": 1.0} {"Template_token": ["", "void", "setCallsEhDwarf", "(", ")", "{", "CallsEhDwarf", "=", "true", ";"], "ground_truth": ["}"], "File": "Cpu0MachineFunction", "Func": "setCallsEhDwarf", "Target": "Cpu0", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 189774, "Length": 10, "Cover_Rate": 1.0} {"Template_token": ["", "void", "setCallsEhDwarf", "(", ")", "{", "CallsEhDwarf", "=", "true", ";"], "ground_truth": ["}"], "File": "Cpu0MachineFunction", "Func": "setCallsEhDwarf", "Target": "Cpu0", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 189775, "Length": 10, "Cover_Rate": 1.0} {"Template_token": ["", "void", "setEmitNOAT", "(", ")", "{"], "ground_truth": ["EmitNOAT", "=", "true", ";"], "File": "Cpu0MachineFunction", "Func": "setEmitNOAT", "Target": "Cpu0", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 189779, "Length": 9, "Cover_Rate": 0.9} {"Template_token": ["", "void", "setFormalArgInfo", "(", "unsigned", "Size", ",", "bool", "HasByval", ")", "{"], "ground_truth": ["IncomingArgSize", "=", "Size", ";"], "File": "Cpu0MachineFunction", "Func": "setFormalArgInfo", "Target": "Cpu0", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 189780, "Length": 14, "Cover_Rate": 0.7368421052631579} {"Template_token": ["", "void", "setFormalArgInfo", "(", "unsigned", "Size", ",", "bool", "HasByval", ")", "{"], "ground_truth": ["IncomingArgSize", "=", "Size", ";"], "File": "Cpu0MachineFunction", "Func": "setFormalArgInfo", "Target": "Cpu0", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 189781, "Length": 14, "Cover_Rate": 0.7368421052631579} {"Template_token": ["", "void", "setGPFI", "(", "int", "FI", ")", "{"], "ground_truth": ["GPFI", "=", "FI", ";"], "File": "Cpu0MachineFunction", "Func": "setGPFI", "Target": "Cpu0", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 189782, "Length": 11, "Cover_Rate": 0.9166666666666666} {"Template_token": ["", "InArgFIRange", ".", "second", "=", "FI", ";"], "ground_truth": ["}"], "File": "Cpu0MachineFunction", "Func": "setLastInArgFI", "Target": "Cpu0", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 189784, "Length": 7, "Cover_Rate": 0.5} {"Template_token": ["", "MaxCallFrameSize", "=", "S", ";"], "ground_truth": ["}"], "File": "Cpu0MachineFunction", "Func": "setMaxCallFrameSize", "Target": "Cpu0", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 189786, "Length": 5, "Cover_Rate": 0.4166666666666667} {"Template_token": ["", "MaxCallFrameSize", "=", "S", ";"], "ground_truth": ["}"], "File": "Cpu0MachineFunction", "Func": "setMaxCallFrameSize", "Target": "Cpu0", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 189787, "Length": 5, "Cover_Rate": 0.4166666666666667} {"Template_token": ["", "void", "setSRetReturnReg", "(", "unsigned", "Reg", ")", "{", "SRetReturnReg", "=", "Reg", ";"], "ground_truth": ["}"], "File": "Cpu0MachineFunction", "Func": "setSRetReturnReg", "Target": "Cpu0", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 189788, "Length": 12, "Cover_Rate": 1.0} {"Template_token": ["", "SRetReturnReg", "=", "Reg", ";"], "ground_truth": ["}"], "File": "Cpu0MachineFunction", "Func": "setSRetReturnReg", "Target": "Cpu0", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 189789, "Length": 5, "Cover_Rate": 0.4166666666666667} {"Template_token": ["", "void", "setVarArgsFrameIndex", "(", "int", "Index", ")", "{", "VarArgsFrameIndex", "=", "Index", ";"], "ground_truth": ["}"], "File": "Cpu0MachineFunction", "Func": "setVarArgsFrameIndex", "Target": "Cpu0", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 189790, "Length": 12, "Cover_Rate": 1.0} {"Template_token": ["", "MachineFunctionInfo", "::", "~", "MachineFunctionInfo", "(", ")", "{"], "ground_truth": ["}"], "File": "Cpu0MachineFunction", "Func": "~Cpu0MachineFunctionInfo", "Target": "Cpu0", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 189792, "Length": 8, "Cover_Rate": 1.0} {"Template_token": ["", "MachineFunctionInfo", "::", "~", "MachineFunctionInfo", "(", ")", "{"], "ground_truth": ["}"], "File": "Cpu0MachineFunction", "Func": "~Cpu0MachineFunctionInfo", "Target": "Cpu0", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 189793, "Length": 8, "Cover_Rate": 1.0} {"Template_token": ["", "AlignmentIsInBytes", "=", "false", ";", "Data16bitsDirective", "=", "", ";", "Data32bitsDirective", "=", "", ";", "Data64bitsDirective", "=", "", ";", "PrivateGlobalPrefix", "=", "", ";", "PrivateLabelPrefix", "=", "", ";", "CommentString", "=", "", ";"], "ground_truth": ["ZeroDirective", "=", "", ";"], "File": "Cpu0MCAsmInfo3", "Func": "Cpu0MCAsmInfo", "Target": "Cpu0", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 189794, "Length": 32, "Cover_Rate": 0.3516483516483517} {"Template_token": ["", "AlignmentIsInBytes", "=", "false", ";", "Data16bitsDirective", "=", "", ";", "Data32bitsDirective", "=", "", ";", "Data64bitsDirective", "=", "", ";", "PrivateGlobalPrefix", "=", "", ";", "PrivateLabelPrefix", "=", "", ";", "CommentString", "=", "", ";", "ZeroDirective", "=", "", ";", "GPRel32Directive", "=", "", ";", "GPRel64Directive", "=", "", ";", "WeakRefDirective", "=", "", ";", "UseAssignmentForEHBegin", "=", "true", ";"], "ground_truth": ["SupportsDebugInformation", "=", "true", ";"], "File": "Cpu0MCAsmInfo3", "Func": "Cpu0MCAsmInfo", "Target": "Cpu0", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 189795, "Length": 52, "Cover_Rate": 0.5714285714285714} {"Template_token": ["", "void", "MCAsmInfo", "::", "anchor", "(", ")", "{"], "ground_truth": ["}"], "File": "Cpu0MCAsmInfo", "Func": "anchor", "Target": "Cpu0", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 189796, "Length": 8, "Cover_Rate": 1.0} {"Template_token": ["", "void", "MCAsmInfo", "::", "anchor", "(", ")", "{"], "ground_truth": ["}"], "File": "Cpu0MCAsmInfo", "Func": "anchor", "Target": "Cpu0", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 189797, "Length": 8, "Cover_Rate": 1.0} {"Template_token": ["", "if", "(", "(", "TheTriple", ".", "getArch", "(", ")", "==", "Triple", "::", "cpu0", ")", ")", "IsLittleEndian", "=", "false", ";", "AlignmentIsInBytes", "=", "false", ";", "Data16bitsDirective", "=", "", ";", "Data32bitsDirective", "=", "", ";", "Data64bitsDirective", "=", "", ";", "PrivateGlobalPrefix", "=", "", ";", "PrivateLabelPrefix", "=", "", ";", "CommentString", "=", "", ";", "ZeroDirective", "=", "", ";", "GPRel32Directive", "=", "", ";", "GPRel64Directive", "=", "", ";", "WeakRefDirective", "=", "", ";", "UseAssignmentForEHBegin", "=", "true", ";", "SupportsDebugInformation", "=", "true", ";", "ExceptionsType", "=", "ExceptionHandling", "::", "DwarfCFI", ";"], "ground_truth": ["DwarfRegNumForCFI", "=", "true", ";"], "File": "Cpu0MCAsmInfo", "Func": "Cpu0MCAsmInfo", "Target": "Cpu0", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 189798, "Length": 80, "Cover_Rate": 0.8791208791208791} {"Template_token": ["", "MCII", "(", "mcii", ")", ",", "STI", "(", "sti", ")", ",", "Ctx", "(", "ctx", ")", ",", "IsLittleEndian", "(", "IsLittle", ")", "{"], "ground_truth": ["}"], "File": "Cpu0MCCodeEmitter1", "Func": "Cpu0MCCodeEmitter", "Target": "Cpu0", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 189799, "Length": 21, "Cover_Rate": 0.5121951219512195} {"Template_token": ["", "MCCodeEmitter", "*", "llvm", "::", "createMCCodeEmitterEB", "(", "const", "MCInstrInfo", "&", "MCII", ",", "const", "MCRegisterInfo", "&", "MRI", ",", "const", "MCSubtargetInfo", "&", "STI", ",", "MCContext", "&", "Ctx", ")", "{", "return", "new", "MCCodeEmitter", "(", "MCII", ",", "STI", ",", "Ctx", ",", "false", ")", ";"], "ground_truth": ["}"], "File": "Cpu0MCCodeEmitter1", "Func": "createCpu0MCCodeEmitterEB", "Target": "Cpu0", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 189801, "Length": 40, "Cover_Rate": 1.0} {"Template_token": ["", "return", "new", "MCCodeEmitter", "(", "MCII", ",", "STI", ",", "Ctx", ",", "true", ")", ";"], "ground_truth": ["}"], "File": "Cpu0MCCodeEmitter1", "Func": "createCpu0MCCodeEmitterEL", "Target": "Cpu0", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 189803, "Length": 14, "Cover_Rate": 0.35} {"Template_token": ["", "void", "EmitByte", "(", "unsigned", "char", "C", ",", "raw_ostream", "&", "OS", ")", "const", "{"], "ground_truth": ["OS", "<<", "(", "char", ")", "C", ";"], "File": "Cpu0MCCodeEmitter1", "Func": "EmitByte", "Target": "Cpu0", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 189806, "Length": 20, "Cover_Rate": 0.9523809523809523} {"Template_token": ["", "unsigned", "Shift", "=", "IsLittleEndian", "?", "i", "*", "", ":", "(", "Size", "-", "", "-", "i", ")", "*", "", ";", "EmitByte", "(", "(", "Val", ">>", "Shift", ")", "&", "", ",", "OS", ")", ";"], "ground_truth": ["}"], "File": "Cpu0MCCodeEmitter1", "Func": "EmitInstruction", "Target": "Cpu0", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 189807, "Length": 33, "Cover_Rate": 0.515625} {"Template_token": ["", "EncodeInstruction", "(", "const", "MCInst", "&", "MI", ",", "raw_ostream", "&", "OS", ",", "SmallVectorImpl", "<", "MCFixup", ">", "&", "Fixups", ")", "const", "{", "uint32_t", "Binary", "=", "getBinaryCodeForInstr", "(", "MI", ",", "Fixups", ")", ";", "unsigned", "Opcode", "=", "MI", ".", "getOpcode", "(", ")", ";", "if", "(", "(", "Opcode", "!=", "", ")", "&&", "(", "Opcode", "!=", "", ")", "&&", "!", "Binary", ")", "llvm_unreachable", "(", "", ")", ";", "const", "MCInstrDesc", "&", "Desc", "=", "MCII", ".", "get", "(", "MI", ".", "getOpcode", "(", ")", ")", ";", "uint64_t", "TSFlags", "=", "Desc", ".", "TSFlags", ";"], "ground_truth": ["if", "(", "(", "TSFlags", "&", "", ")", "==", "", ")", "llvm_unreachable", "(", "", ")", ";"], "File": "Cpu0MCCodeEmitter1", "Func": "EncodeInstruction", "Target": "Cpu0", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 189808, "Length": 99, "Cover_Rate": 0.792} {"Template_token": ["", "const", "MCOperand", "&", "MO", "=", "MI", ".", "getOperand", "(", "OpNo", ")", ";", "assert", "(", "MO", ".", "isExpr", "(", ")", "&&", "", ")", ";", "const", "MCExpr", "*", "Expr", "=", "MO", ".", "getExpr", "(", ")", ";"], "ground_truth": ["Fixups", ".", "push_back", "(", "MCFixup", "::", "Create", "(", "", ",", "Expr", ",", "MCFixupKind", "(", "", ")", ")", ")", ";"], "File": "Cpu0MCCodeEmitter1", "Func": "getBranchTargetOpValue", "Target": "Cpu0", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 189809, "Length": 53, "Cover_Rate": 0.654320987654321} {"Template_token": ["", "getBranchTargetOpValue", "(", "const", "MCInst", "&", "MI", ",", "unsigned", "OpNo", ",", "SmallVectorImpl", "<", "MCFixup", ">", "&", "Fixups", ")", "const", "{", "const", "MCOperand", "&", "MO", "=", "MI", ".", "getOperand", "(", "OpNo", ")", ";", "assert", "(", "MO", ".", "isExpr", "(", ")", "&&", "", ")", ";", "const", "MCExpr", "*", "Expr", "=", "MO", ".", "getExpr", "(", ")", ";"], "ground_truth": ["Fixups", ".", "push_back", "(", "MCFixup", "::", "Create", "(", "", ",", "Expr", ",", "MCFixupKind", "(", "", ")", ")", ")", ";"], "File": "Cpu0MCCodeEmitter1", "Func": "getBranchTargetOpValue", "Target": "Cpu0", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 189810, "Length": 72, "Cover_Rate": 0.8888888888888888} {"Template_token": ["", "getJumpTargetOpValue", "(", "const", "MCInst", "&", "MI", ",", "unsigned", "OpNo", ",", "SmallVectorImpl", "<", "MCFixup", ">", "&", "Fixups", ")", "const", "{", "const", "MCOperand", "&", "MO", "=", "MI", ".", "getOperand", "(", "OpNo", ")", ";", "if", "(", "MO", ".", "isImm", "(", ")", ")", "return", "MO", ".", "getImm", "(", ")", ";", "assert", "(", "MO", ".", "isExpr", "(", ")", "&&", "", ")", ";"], "ground_truth": ["const", "MCExpr", "*", "Expr", "=", "MO", ".", "getExpr", "(", ")", ";"], "File": "Cpu0MCCodeEmitter1", "Func": "getJumpTargetOpValue", "Target": "Cpu0", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 189811, "Length": 68, "Cover_Rate": 0.7083333333333334} {"Template_token": ["", "getJumpTargetOpValue", "(", "const", "MCInst", "&", "MI", ",", "unsigned", "OpNo", ",", "SmallVectorImpl", "<", "MCFixup", ">", "&", "Fixups", ")", "const", "{", "const", "MCOperand", "&", "MO", "=", "MI", ".", "getOperand", "(", "OpNo", ")", ";", "if", "(", "MO", ".", "isImm", "(", ")", ")", "return", "MO", ".", "getImm", "(", ")", ";", "assert", "(", "MO", ".", "isExpr", "(", ")", "&&", "", ")", ";", "const", "MCExpr", "*", "Expr", "=", "MO", ".", "getExpr", "(", ")", ";", "Fixups", ".", "push_back", "(", "MCFixup", "::", "Create", "(", "", ",", "Expr", ",", "MCFixupKind", "(", "", ")", ")", ")", ";"], "ground_truth": ["return", "", ";"], "File": "Cpu0MCCodeEmitter1", "Func": "getJumpTargetOpValue", "Target": "Cpu0", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 189812, "Length": 90, "Cover_Rate": 0.9375} {"Template_token": ["", "}", "else", "if", "(", "MO", ".", "isImm", "(", ")", ")", "{", "return", "static_cast", "<", "unsigned", ">", "(", "MO", ".", "getImm", "(", ")", ")", ";", "}", "else", "if", "(", "MO", ".", "isFPImm", "(", ")", ")", "{", "return", "static_cast", "<", "unsigned", ">", "(", "APFloat", "(", "MO", ".", "getFPImm", "(", ")", ")", ".", "bitcastToAPInt", "(", ")", ".", "getHiBits", "(", "", ")", ".", "getLimitedValue", "(", ")", ")", ";", "}", "assert", "(", "MO", ".", "isExpr", "(", ")", ")", ";", "const", "MCExpr", "*", "Expr", "=", "MO", ".", "getExpr", "(", ")", ";", "MCExpr", "::", "ExprKind", "Kind", "=", "Expr", "->", "getKind", "(", ")", ";", "if", "(", "Kind", "==", "MCExpr", "::", "Binary", ")", "{", "Expr", "=", "static_cast", "<", "const", "MCBinaryExpr", "*", ">", "(", "Expr", ")", "->", "getLHS", "(", ")", ";", "Kind", "=", "Expr", "->", "getKind", "(", ")", ";", "}", "assert", "(", "Kind", "==", "MCExpr", "::", "SymbolRef", ")", ";", "", "FixupKind", "=", "", "(", "", ")", ";", "switch", "(", "cast", "<", "MCSymbolRefExpr", ">", "(", "Expr", ")", "->", "getKind", "(", ")", ")", "{", "case", "MCSymbolRefExpr", "::", "VK__GPREL", ":", "FixupKind", "=", "", ";", "break", ";", "case", "MCSymbolRefExpr", "::", "VK__GOT_CALL", ":", "FixupKind", "=", "", ";", "break", ";", "case", "MCSymbolRefExpr", "::", "VK__GOT16", ":"], "ground_truth": ["FixupKind", "=", "", ";"], "File": "Cpu0MCCodeEmitter1", "Func": "getMachineOpValue", "Target": "Cpu0", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 189813, "Length": 193, "Cover_Rate": 0.5866261398176292} {"Template_token": ["", "unsigned", "OffBits", "=", "getMachineOpValue", "(", "MI", ",", "MI", ".", "getOperand", "(", "OpNo", "+", "", ")", ",", "Fixups", ")", ";", "return", "(", "OffBits", "&", "", ")", "|", "RegBits", ";"], "ground_truth": ["}"], "File": "Cpu0MCCodeEmitter1", "Func": "getMemEncoding", "Target": "Cpu0", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 189814, "Length": 29, "Cover_Rate": 0.34523809523809523} {"Template_token": ["", "unsigned", "MCCodeEmitter", "::", "getMemEncoding", "(", "const", "MCInst", "&", "MI", ",", "unsigned", "OpNo", ",", "SmallVectorImpl", "<", "MCFixup", ">", "&", "Fixups", ")", "const", "{"], "ground_truth": ["assert", "(", "MI", ".", "getOperand", "(", "OpNo", ")", ".", "isReg", "(", ")", ")", ";"], "File": "Cpu0MCCodeEmitter1", "Func": "getMemEncoding", "Target": "Cpu0", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 189815, "Length": 36, "Cover_Rate": 0.42857142857142855} {"Template_token": ["", "~", "MCCodeEmitter", "(", ")", "{"], "ground_truth": ["}"], "File": "Cpu0MCCodeEmitter1", "Func": "~Cpu0MCCodeEmitter", "Target": "Cpu0", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 189816, "Length": 6, "Cover_Rate": 1.0} {"Template_token": ["", "~", "MCCodeEmitter", "(", ")", "{"], "ground_truth": ["}"], "File": "Cpu0MCCodeEmitter1", "Func": "~Cpu0MCCodeEmitter", "Target": "Cpu0", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 189817, "Length": 6, "Cover_Rate": 1.0} {"Template_token": ["", "MCCodeEmitter", "*", "createMCCodeEmitterEB", "(", "const", "MCInstrInfo", "&", "MCII", ",", "const", "MCRegisterInfo", "&", "MRI", ",", "MCContext", "&", "Ctx", ")", "{", "return", "new", "MCCodeEmitter", "(", "MCII", ",", "Ctx", ",", "false", ")", ";"], "ground_truth": ["}"], "File": "Cpu0MCCodeEmitter2", "Func": "createCpu0MCCodeEmitterEB", "Target": "Cpu0", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 189818, "Length": 31, "Cover_Rate": 1.0} {"Template_token": ["", "MCCodeEmitter", "*", "createMCCodeEmitterEL", "(", "const", "MCInstrInfo", "&", "MCII", ",", "const", "MCRegisterInfo", "&", "MRI", ",", "MCContext", "&", "Ctx", ")", "{", "return", "new", "MCCodeEmitter", "(", "MCII", ",", "Ctx", ",", "true", ")", ";"], "ground_truth": ["}"], "File": "Cpu0MCCodeEmitter2", "Func": "createCpu0MCCodeEmitterEL", "Target": "Cpu0", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 189821, "Length": 31, "Cover_Rate": 1.0} {"Template_token": ["", "unsigned", "Shift", "=", "IsLittleEndian", "?", "i", "*", "", ":", "(", "Size", "-", "", "-", "i", ")", "*", "", ";", "EmitByte", "(", "(", "Val", ">>", "Shift", ")", "&", "", ",", "OS", ")", ";"], "ground_truth": ["}"], "File": "Cpu0MCCodeEmitter2", "Func": "EmitInstruction", "Target": "Cpu0", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 189822, "Length": 33, "Cover_Rate": 0.5} {"Template_token": ["", "if", "(", "(", "Opcode", "!=", "", ")", "&&", "!", "Binary", ")", "llvm_unreachable", "(", "", ")", ";", "const", "MCInstrDesc", "&", "Desc", "=", "MCII", ".", "get", "(", "MI", ".", "getOpcode", "(", ")", ")", ";", "uint64_t", "TSFlags", "=", "Desc", ".", "TSFlags", ";", "if", "(", "(", "TSFlags", "&", "", ")", "==", "", ")", "llvm_unreachable", "(", "", ")", ";", "int", "Size", "=", "", ";", "EmitInstruction", "(", "Binary", ",", "Size", ",", "OS", ")", ";"], "ground_truth": ["}"], "File": "Cpu0MCCodeEmitter2", "Func": "encodeInstruction", "Target": "Cpu0", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 189823, "Length": 69, "Cover_Rate": 0.5564516129032258} {"Template_token": ["", "const", "MCOperand", "&", "MO", "=", "MI", ".", "getOperand", "(", "OpNo", ")", ";", "if", "(", "MO", ".", "isImm", "(", ")", ")", "return", "MO", ".", "getImm", "(", ")", ";", "assert", "(", "MO", ".", "isExpr", "(", ")", "&&", "", ")", ";"], "ground_truth": ["const", "MCExpr", "*", "Expr", "=", "MO", ".", "getExpr", "(", ")", ";"], "File": "Cpu0MCCodeEmitter2", "Func": "getJumpTargetOpValue", "Target": "Cpu0", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 189824, "Length": 49, "Cover_Rate": 0.3769230769230769} {"Template_token": ["", "getMachineOpValue", "(", "const", "MCInst", "&", "MI", ",", "const", "MCOperand", "&", "MO", ",", "SmallVectorImpl", "<", "MCFixup", ">", "&", "Fixups", ",", "const", "MCSubtargetInfo", "&", "STI", ")", "const", "{", "if", "(", "MO", ".", "isReg", "(", ")", ")", "{", "unsigned", "Reg", "=", "MO", ".", "getReg", "(", ")", ";", "unsigned", "RegNo", "=", "Ctx", ".", "getRegisterInfo", "(", ")", "->", "getEncodingValue", "(", "Reg", ")", ";", "return", "RegNo", ";", "}", "else", "if", "(", "MO", ".", "isImm", "(", ")", ")", "{", "return", "static_cast", "<", "unsigned", ">", "(", "MO", ".", "getImm", "(", ")", ")", ";", "}", "else", "if", "(", "MO", ".", "isFPImm", "(", ")", ")", "{", "return", "static_cast", "<", "unsigned", ">", "(", "APFloat", "(", "MO", ".", "getFPImm", "(", ")", ")", ".", "bitcastToAPInt", "(", ")", ".", "getHiBits", "(", "", ")", ".", "getLimitedValue", "(", ")", ")", ";", "}"], "ground_truth": ["assert", "(", "MO", ".", "isExpr", "(", ")", ")", ";"], "File": "Cpu0MCCodeEmitter2", "Func": "getMachineOpValue", "Target": "Cpu0", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 189825, "Length": 135, "Cover_Rate": 0.8823529411764706} {"Template_token": ["", "MCCodeEmitter", "(", "const", "MCInstrInfo", "&", "mcii", ",", "MCContext", "&", "Ctx_", ",", "bool", "IsLittle", ")", ":", "MCII", "(", "mcii", ")", ",", "Ctx", "(", "Ctx_", ")", ",", "IsLittleEndian", "(", "IsLittle", ")", "{"], "ground_truth": ["}"], "File": "Cpu0MCCodeEmitter", "Func": "Cpu0MCCodeEmitter", "Target": "Cpu0", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 189826, "Length": 31, "Cover_Rate": 1.0} {"Template_token": ["", "MCCodeEmitter", "(", "const", "MCInstrInfo", "&", "mcii", ",", "MCContext", "&", "Ctx_", ",", "bool", "IsLittle", ")", ":", "MCII", "(", "mcii", ")", ",", "Ctx", "(", "Ctx_", ")", ",", "IsLittleEndian", "(", "IsLittle", ")", "{"], "ground_truth": ["}"], "File": "Cpu0MCCodeEmitter", "Func": "Cpu0MCCodeEmitter", "Target": "Cpu0", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 189827, "Length": 31, "Cover_Rate": 1.0} {"Template_token": ["", "return", "new", "MCCodeEmitter", "(", "MCII", ",", "Ctx", ",", "false", ")", ";"], "ground_truth": ["}"], "File": "Cpu0MCCodeEmitter", "Func": "createCpu0MCCodeEmitterEB", "Target": "Cpu0", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 189829, "Length": 12, "Cover_Rate": 0.36363636363636365} {"Template_token": ["", "return", "new", "MCCodeEmitter", "(", "MCII", ",", "Ctx", ",", "true", ")", ";"], "ground_truth": ["}"], "File": "Cpu0MCCodeEmitter", "Func": "createCpu0MCCodeEmitterEL", "Target": "Cpu0", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 189830, "Length": 12, "Cover_Rate": 0.36363636363636365} {"Template_token": ["", "return", "new", "MCCodeEmitter", "(", "MCII", ",", "Ctx", ",", "true", ")", ";"], "ground_truth": ["}"], "File": "Cpu0MCCodeEmitter", "Func": "createCpu0MCCodeEmitterEL", "Target": "Cpu0", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 189831, "Length": 12, "Cover_Rate": 0.36363636363636365} {"Template_token": ["", "void", "MCCodeEmitter", "::", "EmitByte", "(", "unsigned", "char", "C", ",", "raw_ostream", "&", "OS", ")", "const", "{"], "ground_truth": ["OS", "<<", "(", "char", ")", "C", ";"], "File": "Cpu0MCCodeEmitter", "Func": "EmitByte", "Target": "Cpu0", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 189832, "Length": 22, "Cover_Rate": 0.9565217391304348} {"Template_token": ["", "void", "MCCodeEmitter", "::", "EmitByte", "(", "unsigned", "char", "C", ",", "raw_ostream", "&", "OS", ")", "const", "{", "OS", "<<", "(", "char", ")", "C", ";"], "ground_truth": ["}"], "File": "Cpu0MCCodeEmitter", "Func": "EmitByte", "Target": "Cpu0", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 189833, "Length": 23, "Cover_Rate": 1.0} {"Template_token": ["", "for", "(", "unsigned", "i", "=", "", ";", "i", "<", "Size", ";", "++", "i", ")", "{", "unsigned", "Shift", "=", "IsLittleEndian", "?", "i", "*", "", ":", "(", "Size", "-", "", "-", "i", ")", "*", "", ";", "EmitByte", "(", "(", "Val", ">>", "Shift", ")", "&", "", ",", "OS", ")", ";", "}"], "ground_truth": ["}"], "File": "Cpu0MCCodeEmitter", "Func": "EmitInstruction", "Target": "Cpu0", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 189834, "Length": 49, "Cover_Rate": 0.7424242424242424} {"Template_token": ["", "encodeInstruction", "(", "const", "MCInst", "&", "MI", ",", "raw_ostream", "&", "OS", ",", "SmallVectorImpl", "<", "MCFixup", ">", "&", "Fixups", ",", "const", "MCSubtargetInfo", "&", "STI", ")", "const", "{", "uint32_t", "Binary", "=", "getBinaryCodeForInstr", "(", "MI", ",", "Fixups", ",", "STI", ")", ";", "unsigned", "Opcode", "=", "MI", ".", "getOpcode", "(", ")", ";", "if", "(", "(", "Opcode", "!=", "", ")", "&&", "(", "Opcode", "!=", "", ")", "&&", "!", "Binary", ")", "llvm_unreachable", "(", "", ")", ";", "const", "MCInstrDesc", "&", "Desc", "=", "MCII", ".", "get", "(", "MI", ".", "getOpcode", "(", ")", ")", ";"], "ground_truth": ["uint64_t", "TSFlags", "=", "Desc", ".", "TSFlags", ";"], "File": "Cpu0MCCodeEmitter", "Func": "encodeInstruction", "Target": "Cpu0", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 189835, "Length": 91, "Cover_Rate": 0.6893939393939394} {"Template_token": ["", "encodeInstruction", "(", "const", "MCInst", "&", "MI", ",", "raw_ostream", "&", "OS", ",", "SmallVectorImpl", "<", "MCFixup", ">", "&", "Fixups", ",", "const", "MCSubtargetInfo", "&", "STI", ")", "const", "{", "uint32_t", "Binary", "=", "getBinaryCodeForInstr", "(", "MI", ",", "Fixups", ",", "STI", ")", ";", "unsigned", "Opcode", "=", "MI", ".", "getOpcode", "(", ")", ";", "if", "(", "(", "Opcode", "!=", "", ")", "&&", "(", "Opcode", "!=", "", ")", "&&", "!", "Binary", ")", "llvm_unreachable", "(", "", ")", ";"], "ground_truth": ["const", "MCInstrDesc", "&", "Desc", "=", "MCII", ".", "get", "(", "MI", ".", "getOpcode", "(", ")", ")", ";"], "File": "Cpu0MCCodeEmitter", "Func": "encodeInstruction", "Target": "Cpu0", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 189836, "Length": 84, "Cover_Rate": 0.6363636363636364} {"Template_token": ["", "const", "MCOperand", "&", "MO", "=", "MI", ".", "getOperand", "(", "OpNo", ")", ";", "if", "(", "MO", ".", "isImm", "(", ")", ")", "return", "MO", ".", "getImm", "(", ")", ";", "assert", "(", "MO", ".", "isExpr", "(", ")", "&&", "", ")", ";", "const", "MCExpr", "*", "Expr", "=", "MO", ".", "getExpr", "(", ")", ";", "Fixups", ".", "push_back", "(", "MCFixup", "::", "create", "(", "", ",", "Expr", ",", "MCFixupKind", "(", "", ")", ")", ")", ";"], "ground_truth": ["return", "", ";"], "File": "Cpu0MCCodeEmitter", "Func": "getBranch16TargetOpValue", "Target": "Cpu0", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 189837, "Length": 71, "Cover_Rate": 0.7029702970297029} {"Template_token": ["", "const", "MCOperand", "&", "MO", "=", "MI", ".", "getOperand", "(", "OpNo", ")", ";", "if", "(", "MO", ".", "isImm", "(", ")", ")", "return", "MO", ".", "getImm", "(", ")", ";"], "ground_truth": ["assert", "(", "MO", ".", "isExpr", "(", ")", "&&", "", ")", ";"], "File": "Cpu0MCCodeEmitter", "Func": "getBranch24TargetOpValue", "Target": "Cpu0", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 189838, "Length": 38, "Cover_Rate": 0.37623762376237624} {"Template_token": ["", "if", "(", "Kind", "==", "MCExpr", "::", "Binary", ")", "{", "unsigned", "Res", "=", "getExprOpValue", "(", "cast", "<", "MCBinaryExpr", ">", "(", "Expr", ")", "->", "getLHS", "(", ")", ",", "Fixups", ",", "STI", ")", ";", "Res", "+=", "getExprOpValue", "(", "cast", "<", "MCBinaryExpr", ">", "(", "Expr", ")", "->", "getRHS", "(", ")", ",", "Fixups", ",", "STI", ")", ";", "return", "Res", ";", "}", "if", "(", "Kind", "==", "MCExpr", "::", "Target", ")", "{", "const", "MCExpr", "*", "Expr", "=", "cast", "<", "MCExpr", ">", "(", "Expr", ")", ";", "", "FixupKind", "=", "", "(", "", ")", ";", "switch", "(", "Expr", "->", "getKind", "(", ")", ")", "{", "default", ":", "llvm_unreachable", "(", "", ")", ";", "case", "MCExpr", "::", "CEK_GPREL", ":", "FixupKind", "=", "", ";", "break", ";", "case", "MCExpr", "::", "CEK_GOT_CALL", ":", "FixupKind", "=", "", ";", "break", ";", "case", "MCExpr", "::", "CEK_GOT", ":", "FixupKind", "=", "", ";", "break", ";", "case", "MCExpr", "::", "CEK_ABS_HI", ":", "FixupKind", "=", "", ";", "break", ";", "case", "MCExpr", "::", "CEK_ABS_LO", ":", "FixupKind", "=", "", ";", "break", ";", "case", "MCExpr", "::", "CEK_TLSGD", ":", "FixupKind", "=", "", ";", "break", ";", "case", "MCExpr", "::", "CEK_TLSLDM", ":", "FixupKind", "=", "", ";", "break", ";", "case", "MCExpr", "::", "CEK_DTP_HI", ":", "FixupKind", "=", "", ";", "break", ";", "case", "MCExpr", "::", "CEK_DTP_LO", ":", "FixupKind", "=", "", ";", "break", ";", "case", "MCExpr", "::", "CEK_GOTTPREL", ":", "FixupKind", "=", "", ";", "break", ";", "case", "MCExpr", "::", "CEK_TP_HI", ":", "FixupKind", "=", "", ";", "break", ";", "case", "MCExpr", "::", "CEK_TP_LO", ":", "FixupKind", "=", "", ";", "break", ";", "case", "MCExpr", "::", "CEK_GOT_HI16", ":", "FixupKind", "=", "", ";", "break", ";", "case", "MCExpr", "::", "CEK_GOT_LO16", ":", "FixupKind", "=", "", ";", "break", ";", "}", "Fixups", ".", "push_back", "(", "MCFixup", "::", "create", "(", "", ",", "Expr", ",", "MCFixupKind", "(", "FixupKind", ")", ")", ")", ";", "return", "", ";", "}"], "ground_truth": ["return", "", ";"], "File": "Cpu0MCCodeEmitter", "Func": "getExprOpValue", "Target": "Cpu0", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 189839, "Length": 283, "Cover_Rate": 0.7566844919786097} {"Template_token": ["", "FixupKind", "=", "", ";", "break", ";", "case", "MCExpr", "::", "CEK_ABS_HI", ":", "FixupKind", "=", "", ";", "break", ";", "case", "MCExpr", "::", "CEK_ABS_LO", ":", "FixupKind", "=", "", ";", "break", ";", "case", "MCExpr", "::", "CEK_TLSGD", ":", "FixupKind", "=", "", ";", "break", ";", "case", "MCExpr", "::", "CEK_TLSLDM", ":", "FixupKind", "=", "", ";", "break", ";", "case", "MCExpr", "::", "CEK_DTP_HI", ":", "FixupKind", "=", "", ";", "break", ";", "case", "MCExpr", "::", "CEK_DTP_LO", ":", "FixupKind", "=", "", ";", "break", ";", "case", "MCExpr", "::", "CEK_GOTTPREL", ":", "FixupKind", "=", "", ";", "break", ";", "case", "MCExpr", "::", "CEK_TP_HI", ":", "FixupKind", "=", "", ";", "break", ";", "case", "MCExpr", "::", "CEK_TP_LO", ":", "FixupKind", "=", "", ";", "break", ";", "case", "MCExpr", "::", "CEK_GOT_HI16", ":", "FixupKind", "=", "", ";", "break", ";", "case", "MCExpr", "::", "CEK_GOT_LO16", ":", "FixupKind", "=", "", ";", "break", ";", "}", "Fixups", ".", "push_back", "(", "MCFixup", "::", "create", "(", "", ",", "Expr", ",", "MCFixupKind", "(", "FixupKind", ")", ")", ")", ";", "return", "", ";"], "ground_truth": ["}"], "File": "Cpu0MCCodeEmitter", "Func": "getExprOpValue", "Target": "Cpu0", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 189840, "Length": 151, "Cover_Rate": 0.4037433155080214} {"Template_token": ["", "unsigned", "Opcode", "=", "MI", ".", "getOpcode", "(", ")", ";", "const", "MCOperand", "&", "MO", "=", "MI", ".", "getOperand", "(", "OpNo", ")", ";", "if", "(", "MO", ".", "isImm", "(", ")", ")", "return", "MO", ".", "getImm", "(", ")", ";"], "ground_truth": ["assert", "(", "MO", ".", "isExpr", "(", ")", "&&", "", ")", ";"], "File": "Cpu0MCCodeEmitter", "Func": "getJumpTargetOpValue", "Target": "Cpu0", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 189841, "Length": 47, "Cover_Rate": 0.34558823529411764} {"Template_token": ["", "getMachineOpValue", "(", "const", "MCInst", "&", "MI", ",", "const", "MCOperand", "&", "MO", ",", "SmallVectorImpl", "<", "MCFixup", ">", "&", "Fixups", ",", "const", "MCSubtargetInfo", "&", "STI", ")", "const", "{", "if", "(", "MO", ".", "isReg", "(", ")", ")", "{", "unsigned", "Reg", "=", "MO", ".", "getReg", "(", ")", ";", "unsigned", "RegNo", "=", "Ctx", ".", "getRegisterInfo", "(", ")", "->", "getEncodingValue", "(", "Reg", ")", ";", "return", "RegNo", ";", "}", "else", "if", "(", "MO", ".", "isImm", "(", ")", ")", "{", "return", "static_cast", "<", "unsigned", ">", "(", "MO", ".", "getImm", "(", ")", ")", ";", "}", "else", "if", "(", "MO", ".", "isFPImm", "(", ")", ")", "{"], "ground_truth": ["return", "static_cast", "<", "unsigned", ">", "(", "APFloat", "(", "MO", ".", "getFPImm", "(", ")", ")", ".", "bitcastToAPInt", "(", ")", ".", "getHiBits", "(", "", ")", ".", "getLimitedValue", "(", ")", ")", ";"], "File": "Cpu0MCCodeEmitter", "Func": "getMachineOpValue", "Target": "Cpu0", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 189842, "Length": 125, "Cover_Rate": 0.8169934640522876} {"Template_token": ["", "assert", "(", "MI", ".", "getOperand", "(", "OpNo", ")", ".", "isReg", "(", ")", ")", ";", "unsigned", "RegBits", "=", "getMachineOpValue", "(", "MI", ",", "MI", ".", "getOperand", "(", "OpNo", ")", ",", "Fixups", ",", "STI", ")", "<<", "", ";"], "ground_truth": ["unsigned", "OffBits", "=", "getMachineOpValue", "(", "MI", ",", "MI", ".", "getOperand", "(", "OpNo", "+", "", ")", ",", "Fixups", ",", "STI", ")", ";"], "File": "Cpu0MCCodeEmitter", "Func": "getMemEncoding", "Target": "Cpu0", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 189843, "Length": 56, "Cover_Rate": 0.6021505376344086} {"Template_token": ["", "unsigned", "MCCodeEmitter", "::", "getMemEncoding", "(", "const", "MCInst", "&", "MI", ",", "unsigned", "OpNo", ",", "SmallVectorImpl", "<", "MCFixup", ">", "&", "Fixups", ",", "const", "MCSubtargetInfo", "&", "STI", ")", "const", "{", "assert", "(", "MI", ".", "getOperand", "(", "OpNo", ")", ".", "isReg", "(", ")", ")", ";", "unsigned", "RegBits", "=", "getMachineOpValue", "(", "MI", ",", "MI", ".", "getOperand", "(", "OpNo", ")", ",", "Fixups", ",", "STI", ")", "<<", "", ";", "unsigned", "OffBits", "=", "getMachineOpValue", "(", "MI", ",", "MI", ".", "getOperand", "(", "OpNo", "+", "", ")", ",", "Fixups", ",", "STI", ")", ";", "return", "(", "OffBits", "&", "", ")", "|", "RegBits", ";"], "ground_truth": ["}"], "File": "Cpu0MCCodeEmitter", "Func": "getMemEncoding", "Target": "Cpu0", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 189844, "Length": 93, "Cover_Rate": 1.0} {"Template_token": ["", "~", "MCCodeEmitter", "(", ")", "override", "{"], "ground_truth": ["}"], "File": "Cpu0MCCodeEmitter", "Func": "~Cpu0MCCodeEmitter", "Target": "Cpu0", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 189845, "Length": 7, "Cover_Rate": 1.0} {"Template_token": ["", "~", "MCCodeEmitter", "(", ")", "override", "{"], "ground_truth": ["}"], "File": "Cpu0MCCodeEmitter", "Func": "~Cpu0MCCodeEmitter", "Target": "Cpu0", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 189846, "Length": 7, "Cover_Rate": 1.0} {"Template_token": ["", "const", "MCSymbolRefExpr", "*", "MCSym", "=", "MCSymbolRefExpr", "::", "create", "(", "Symbol", ",", "MCSymbolRefExpr", "::", "VK_None", ",", "Ctx", ")", ";"], "ground_truth": ["return", "new", "(", "Ctx", ")", "MCExpr", "(", "Kind", ",", "MCSym", ")", ";"], "File": "Cpu0MCExpr1", "Func": "create", "Target": "Cpu0", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 189847, "Length": 30, "Cover_Rate": 0.5660377358490566} {"Template_token": ["", "const", "MCSymbolRefExpr", "*", "MCSym", "=", "MCSymbolRefExpr", "::", "create", "(", "Symbol", ",", "MCSymbolRefExpr", "::", "VK_None", ",", "Ctx", ")", ";", "return", "new", "(", "Ctx", ")", "MCExpr", "(", "Kind", ",", "MCSym", ")", ";"], "ground_truth": ["}"], "File": "Cpu0MCExpr1", "Func": "create", "Target": "Cpu0", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 189848, "Length": 31, "Cover_Rate": 0.5849056603773585} {"Template_token": ["", "OS", "<<", "", ";", "break", ";", "case", "CEK_GOT_CALL", ":", "OS", "<<", "", ";", "break", ";", "case", "CEK_GOT_DISP", ":", "OS", "<<", "", ";", "break", ";", "case", "CEK_GOT_HI16", ":", "OS", "<<", "", ";", "break", ";", "case", "CEK_GOT_LO16", ":", "OS", "<<", "", ";", "break", ";", "case", "CEK_GPREL", ":", "OS", "<<", "", ";", "break", ";", "case", "CEK_ABS_HI", ":", "OS", "<<", "", ";", "break", ";", "case", "CEK_ABS_LO", ":", "OS", "<<", "", ";", "break", ";", "case", "CEK_TLSLDM", ":", "OS", "<<", "", ";", "break", ";", "case", "CEK_TP_HI", ":", "OS", "<<", "", ";", "break", ";", "case", "CEK_TP_LO", ":", "OS", "<<", "", ";", "break", ";", "}", "OS", "<<", "'('", ";", "if", "(", "Expr", "->", "evaluateAsAbsolute", "(", "AbsVal", ")", ")", "OS", "<<", "AbsVal", ";"], "ground_truth": ["else", "Expr", "->", "print", "(", "OS", ",", "MAI", ",", "true", ")", ";"], "File": "Cpu0MCExpr1", "Func": "printImpl", "Target": "Cpu0", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 189849, "Length": 126, "Cover_Rate": 0.5833333333333334} {"Template_token": ["", "static", "bool", "classof", "(", "const", "MCExpr", "*", "E", ")", "{", "return", "E", "->", "getKind", "(", ")", "==", "MCExpr", "::", "Target", ";"], "ground_truth": ["}"], "File": "Cpu0MCExpr", "Func": "classof", "Target": "Cpu0", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 189850, "Length": 22, "Cover_Rate": 1.0} {"Template_token": ["", "return", "E", "->", "getKind", "(", ")", "==", "MCExpr", "::", "Target", ";"], "ground_truth": ["}"], "File": "Cpu0MCExpr", "Func": "classof", "Target": "Cpu0", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 189851, "Length": 12, "Cover_Rate": 0.5454545454545454} {"Template_token": ["", "explicit", "MCExpr", "(", "ExprKind", "Kind", ",", "const", "MCExpr", "*", "Expr", ")", ":", "Kind", "(", "Kind", ")", ",", "Expr", "(", "Expr", ")", "{"], "ground_truth": ["}"], "File": "Cpu0MCExpr", "Func": "Cpu0MCExpr", "Target": "Cpu0", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 189852, "Length": 23, "Cover_Rate": 1.0} {"Template_token": ["", "explicit", "MCExpr", "(", "ExprKind", "Kind", ",", "const", "MCExpr", "*", "Expr", ")", ":", "Kind", "(", "Kind", ")", ",", "Expr", "(", "Expr", ")", "{"], "ground_truth": ["}"], "File": "Cpu0MCExpr", "Func": "Cpu0MCExpr", "Target": "Cpu0", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 189853, "Length": 23, "Cover_Rate": 1.0} {"Template_token": ["", "const", "MCExpr", "*", "MCExpr", "::", "create", "(", "const", "MCSymbol", "*", "Symbol", ",", "MCExpr", "::", "ExprKind", "Kind", ",", "MCContext", "&", "Ctx", ")", "{"], "ground_truth": ["const", "MCSymbolRefExpr", "*", "MCSym", "=", "MCSymbolRefExpr", "::", "create", "(", "Symbol", ",", "MCSymbolRefExpr", "::", "VK_None", ",", "Ctx", ")", ";"], "File": "Cpu0MCExpr", "Func": "create", "Target": "Cpu0", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 189854, "Length": 40, "Cover_Rate": 0.7547169811320755} {"Template_token": ["", "bool", "MCExpr", "::", "evaluateAsRelocatableImpl", "(", "MCValue", "&", "Res", ",", "const", "MCAsmLayout", "*", "Layout", ",", "const", "MCFixup", "*", "Fixup", ")", "const", "{"], "ground_truth": ["return", "getSubExpr", "(", ")", "->", "evaluateAsRelocatable", "(", "Res", ",", "Layout", ",", "Fixup", ")", ";"], "File": "Cpu0MCExpr", "Func": "evaluateAsRelocatableImpl", "Target": "Cpu0", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 189858, "Length": 35, "Cover_Rate": 0.9722222222222222} {"Template_token": ["", "MCFragment", "*", "findAssociatedFragment", "(", ")", "const", "override", "{"], "ground_truth": ["return", "getSubExpr", "(", ")", "->", "findAssociatedFragment", "(", ")", ";"], "File": "Cpu0MCExpr", "Func": "findAssociatedFragment", "Target": "Cpu0", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 189860, "Length": 17, "Cover_Rate": 0.9444444444444444} {"Template_token": ["", "llvm_unreachable", "(", "", ")", ";", "break", ";", "case", "CEK_CALL_HI16", ":"], "ground_truth": ["case", "CEK_CALL_LO16", ":"], "File": "Cpu0MCExpr", "Func": "fixELFSymbolsInTLSFixups", "Target": "Cpu0", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 189861, "Length": 13, "Cover_Rate": 0.3170731707317073} {"Template_token": ["", "return", "Kind", ";"], "ground_truth": ["}"], "File": "Cpu0MCExpr", "Func": "getKind", "Target": "Cpu0", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 189862, "Length": 4, "Cover_Rate": 0.4} {"Template_token": ["", "return", "Expr", ";"], "ground_truth": ["}"], "File": "Cpu0MCExpr", "Func": "getSubExpr", "Target": "Cpu0", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 189864, "Length": 4, "Cover_Rate": 0.3333333333333333} {"Template_token": ["", "ExprKind", "Kind", ";", "return", "isGpOff", "(", "Kind", ")", ";"], "ground_truth": ["}"], "File": "Cpu0MCExpr", "Func": "isGpOff", "Target": "Cpu0", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 189865, "Length": 10, "Cover_Rate": 0.625} {"Template_token": ["", "ExprKind", "Kind", ";", "return", "isGpOff", "(", "Kind", ")", ";"], "ground_truth": ["}"], "File": "Cpu0MCExpr", "Func": "isGpOff", "Target": "Cpu0", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 189866, "Length": 10, "Cover_Rate": 0.625} {"Template_token": ["", "void", "MCExpr", "::", "visitUsedExpr", "(", "MCStreamer", "&", "Streamer", ")", "const", "{", "Streamer", ".", "visitUsedExpr", "(", "*", "getSubExpr", "(", ")", ")", ";"], "ground_truth": ["}"], "File": "Cpu0MCExpr", "Func": "visitUsedExpr", "Target": "Cpu0", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 189867, "Length": 22, "Cover_Rate": 1.0} {"Template_token": ["", "for", "(", "unsigned", "i", "=", "", ",", "e", "=", "MI", "->", "getNumOperands", "(", ")", ";", "i", "!=", "e", ";", "++", "i", ")", "{"], "ground_truth": ["const", "MachineOperand", "&", "MO", "=", "MI", "->", "getOperand", "(", "i", ")", ";"], "File": "Cpu0MCInstLower1", "Func": "Lower", "Target": "Cpu0", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 189870, "Length": 35, "Cover_Rate": 0.40229885057471265} {"Template_token": ["", "void", "MCInstLower", "::", "LowerCPLOAD", "(", "SmallVector", "<", "MCInst", ",", "", ">", "&", "MCInsts", ")", "{", "MCOperand", "GPReg", "=", "MCOperand", "::", "CreateReg", "(", "", ")", ";", "MCOperand", "T9Reg", "=", "MCOperand", "::", "CreateReg", "(", "", ")", ";", "MCOperand", "ZEROReg", "=", "MCOperand", "::", "CreateReg", "(", "", ")", ";", "StringRef", "SymName", "(", "", ")", ";", "const", "MCSymbol", "*", "Sym", "=", "Ctx", "->", "GetOrCreateSymbol", "(", "SymName", ")", ";", "const", "MCSymbolRefExpr", "*", "MCSym", ";", "MCSym", "=", "MCSymbolRefExpr", "::", "Create", "(", "Sym", ",", "MCSymbolRefExpr", "::", "VK__ABS_HI", ",", "*", "Ctx", ")", ";"], "ground_truth": ["MCOperand", "SymHi", "=", "MCOperand", "::", "CreateExpr", "(", "MCSym", ")", ";"], "File": "Cpu0MCInstLower1", "Func": "LowerCPLOAD", "Target": "Cpu0", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 189871, "Length": 94, "Cover_Rate": 0.5} {"Template_token": ["", "assert", "(", "isInt", "<", "", ">", "(", "Offset", ")", "&&", "(", "Offset", ">=", "", ")", "&&", "", ")", ";", "MCOperand", "SPReg", "=", "MCOperand", "::", "CreateReg", "(", "", ")", ",", "BaseReg", "=", "SPReg", ";", "MCOperand", "GPReg", "=", "MCOperand", "::", "CreateReg", "(", "", ")", ";", "MCOperand", "ZEROReg", "=", "MCOperand", "::", "CreateReg", "(", "", ")", ";", "if", "(", "!", "isInt", "<", "", ">", "(", "Offset", ")", ")", "{", "unsigned", "Hi", "=", "(", "(", "Offset", "+", "", ")", ">>", "", ")", "&", "", ";", "Offset", "&=", "", ";"], "ground_truth": ["MCOperand", "ATReg", "=", "MCOperand", "::", "CreateReg", "(", "", ")", ";"], "File": "Cpu0MCInstLower1", "Func": "LowerCPRESTORE", "Target": "Cpu0", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 189872, "Length": 94, "Cover_Rate": 0.46078431372549017} {"Template_token": ["", "MCOperand", "ATReg", "=", "MCOperand", "::", "CreateReg", "(", "", ")", ";", "BaseReg", "=", "ATReg", ";", "MCInsts", ".", "resize", "(", "", ")", ";", "CreateMCInst", "(", "MCInsts", "[", "", "]", ",", "", ",", "ATReg", ",", "ZEROReg", ",", "MCOperand", "::", "CreateImm", "(", "Hi", ")", ")", ";", "CreateMCInst", "(", "MCInsts", "[", "", "]", ",", "", ",", "ATReg", ",", "ATReg", ",", "SPReg", ")", ";", "}"], "ground_truth": ["MCInst", "St", ";"], "File": "Cpu0MCInstLower1", "Func": "LowerCPRESTORE", "Target": "Cpu0", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 189873, "Length": 62, "Cover_Rate": 0.30392156862745096} {"Template_token": ["", "case", "MachineOperand", "::", "MO_Immediate", ":", "return", "MCOperand", "::", "CreateImm", "(", "MO", ".", "getImm", "(", ")", "+", "offset", ")", ";", "case", "MachineOperand", "::", "MO_MachineBasicBlock", ":", "case", "MachineOperand", "::", "MO_GlobalAddress", ":", "case", "MachineOperand", "::", "MO_BlockAddress", ":"], "ground_truth": ["return", "LowerSymbolOperand", "(", "MO", ",", "MOTy", ",", "offset", ")", ";"], "File": "Cpu0MCInstLower1", "Func": "LowerOperand", "Target": "Cpu0", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 189874, "Length": 44, "Cover_Rate": 0.36363636363636365} {"Template_token": ["", "if", "(", "MO", ".", "isImplicit", "(", ")", ")", "break", ";", "return", "MCOperand", "::", "CreateReg", "(", "MO", ".", "getReg", "(", ")", ")", ";", "case", "MachineOperand", "::", "MO_Immediate", ":", "return", "MCOperand", "::", "CreateImm", "(", "MO", ".", "getImm", "(", ")", "+", "offset", ")", ";", "case", "MachineOperand", "::", "MO_MachineBasicBlock", ":", "case", "MachineOperand", "::", "MO_GlobalAddress", ":"], "ground_truth": ["case", "MachineOperand", "::", "MO_BlockAddress", ":"], "File": "Cpu0MCInstLower1", "Func": "LowerOperand", "Target": "Cpu0", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 189875, "Length": 56, "Cover_Rate": 0.4628099173553719} {"Template_token": ["", "Symbol", "=", "Mang", "->", "getSymbol", "(", "MO", ".", "getGlobal", "(", ")", ")", ";", "break", ";", "default", ":", "llvm_unreachable", "(", "", ")", ";", "}", "const", "MCSymbolRefExpr", "*", "MCSym", "=", "MCSymbolRefExpr", "::", "Create", "(", "Symbol", ",", "Kind", ",", "*", "Ctx", ")", ";", "if", "(", "!", "Offset", ")", "return", "MCOperand", "::", "CreateExpr", "(", "MCSym", ")", ";", "assert", "(", "Offset", ">", "", ")", ";", "const", "MCConstantExpr", "*", "OffsetExpr", "=", "MCConstantExpr", "::", "Create", "(", "Offset", ",", "*", "Ctx", ")", ";"], "ground_truth": ["const", "MCBinaryExpr", "*", "AddExpr", "=", "MCBinaryExpr", "::", "CreateAdd", "(", "MCSym", ",", "OffsetExpr", ",", "*", "Ctx", ")", ";"], "File": "Cpu0MCInstLower1", "Func": "LowerSymbolOperand", "Target": "Cpu0", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 189876, "Length": 92, "Cover_Rate": 0.3150684931506849} {"Template_token": ["", "default", ":", "llvm_unreachable", "(", "", ")", ";", "case", "", ":", "Kind", "=", "MCSymbolRefExpr", "::", "VK_None", ";", "break", ";", "case", "", ":", "Kind", "=", "MCSymbolRefExpr", "::", "VK__GPREL", ";", "break", ";", "case", "", ":", "Kind", "=", "MCSymbolRefExpr", "::", "VK__GOT_CALL", ";", "break", ";", "case", "", ":", "Kind", "=", "MCSymbolRefExpr", "::", "VK__GOT16", ";", "break", ";", "case", "", ":", "Kind", "=", "MCSymbolRefExpr", "::", "VK__GOT", ";", "break", ";", "case", "", ":", "Kind", "=", "MCSymbolRefExpr", "::", "VK__ABS_HI", ";", "break", ";", "case", "", ":", "Kind", "=", "MCSymbolRefExpr", "::", "VK__ABS_LO", ";", "break", ";", "}", "switch", "(", "MOTy", ")", "{", "case", "MachineOperand", "::", "MO_MachineBasicBlock", ":", "Symbol", "=", "MO", ".", "getMBB", "(", ")", "->", "getSymbol", "(", ")", ";"], "ground_truth": ["break", ";"], "File": "Cpu0MCInstLower2", "Func": "LowerSymbolOperand", "Target": "Cpu0", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 189877, "Length": 109, "Cover_Rate": 0.40977443609022557} {"Template_token": ["", "Inst", ".", "setOpcode", "(", "Opc", ")", ";", "Inst", ".", "addOperand", "(", "Operand0", ")", ";", "Inst", ".", "addOperand", "(", "Operand1", ")", ";", "if", "(", "Operand2", ".", "isValid", "(", ")", ")", "Inst", ".", "addOperand", "(", "Operand2", ")", ";"], "ground_truth": ["}"], "File": "Cpu0MCInstLower3", "Func": "CreateMCInst", "Target": "Cpu0", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 189878, "Length": 37, "Cover_Rate": 0.5441176470588235} {"Template_token": ["", "static", "void", "CreateMCInst", "(", "MCInst", "&", "Inst", ",", "unsigned", "Opc", ",", "const", "MCOperand", "&", "Operand0", ",", "const", "MCOperand", "&", "Operand1", ",", "const", "MCOperand", "&", "Operand2", "=", "MCOperand", "(", ")", ")", "{", "Inst", ".", "setOpcode", "(", "Opc", ")", ";", "Inst", ".", "addOperand", "(", "Operand0", ")", ";", "Inst", ".", "addOperand", "(", "Operand1", ")", ";"], "ground_truth": ["if", "(", "Operand2", ".", "isValid", "(", ")", ")", "Inst", ".", "addOperand", "(", "Operand2", ")", ";"], "File": "Cpu0MCInstLower3", "Func": "CreateMCInst", "Target": "Cpu0", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 189879, "Length": 67, "Cover_Rate": 0.9852941176470589} {"Template_token": ["", "void", "MCInstLower", "::", "Initialize", "(", "MCContext", "*", "C", ")", "{"], "ground_truth": ["Ctx", "=", "C", ";"], "File": "Cpu0MCInstLower3", "Func": "Initialize", "Target": "Cpu0", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 189880, "Length": 14, "Cover_Rate": 0.9333333333333333} {"Template_token": ["", "void", "MCInstLower", "::", "Initialize", "(", "MCContext", "*", "C", ")", "{", "Ctx", "=", "C", ";"], "ground_truth": ["}"], "File": "Cpu0MCInstLower3", "Func": "Initialize", "Target": "Cpu0", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 189881, "Length": 15, "Cover_Rate": 1.0} {"Template_token": ["", "const", "MachineOperand", "&", "MO", "=", "MI", "->", "getOperand", "(", "i", ")", ";", "MCOperand", "MCOp", "=", "LowerOperand", "(", "MO", ")", ";"], "ground_truth": ["if", "(", "MCOp", ".", "isValid", "(", ")", ")", "OutMCInst", ".", "addOperand", "(", "MCOp", ")", ";"], "File": "Cpu0MCInstLower3", "Func": "Lower", "Target": "Cpu0", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 189882, "Length": 35, "Cover_Rate": 0.40229885057471265} {"Template_token": ["", "OutMCInst", ".", "setOpcode", "(", "MI", "->", "getOpcode", "(", ")", ")", ";", "for", "(", "unsigned", "i", "=", "", ",", "e", "=", "MI", "->", "getNumOperands", "(", ")", ";", "i", "!=", "e", ";", "++", "i", ")", "{", "const", "MachineOperand", "&", "MO", "=", "MI", "->", "getOperand", "(", "i", ")", ";", "MCOperand", "MCOp", "=", "LowerOperand", "(", "MO", ")", ";"], "ground_truth": ["if", "(", "MCOp", ".", "isValid", "(", ")", ")", "OutMCInst", ".", "addOperand", "(", "MCOp", ")", ";"], "File": "Cpu0MCInstLower3", "Func": "Lower", "Target": "Cpu0", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 189883, "Length": 69, "Cover_Rate": 0.7931034482758621} {"Template_token": ["", "case", "MachineOperand", "::", "MO_Register", ":", "if", "(", "MO", ".", "isImplicit", "(", ")", ")", "break", ";", "return", "MCOperand", "::", "createReg", "(", "MO", ".", "getReg", "(", ")", ")", ";", "case", "MachineOperand", "::", "MO_Immediate", ":", "return", "MCOperand", "::", "createImm", "(", "MO", ".", "getImm", "(", ")", "+", "offset", ")", ";", "case", "MachineOperand", "::", "MO_MachineBasicBlock", ":", "case", "MachineOperand", "::", "MO_JumpTableIndex", ":", "case", "MachineOperand", "::", "MO_BlockAddress", ":", "case", "MachineOperand", "::", "MO_GlobalAddress", ":"], "ground_truth": ["case", "MachineOperand", "::", "MO_ExternalSymbol", ":"], "File": "Cpu0MCInstLower3", "Func": "LowerOperand", "Target": "Cpu0", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 189884, "Length": 71, "Cover_Rate": 0.5419847328244275} {"Template_token": ["", "Offset", "+=", "MO", ".", "getOffset", "(", ")", ";", "break", ";", "case", "MachineOperand", "::", "MO_MachineBasicBlock", ":", "Symbol", "=", "MO", ".", "getMBB", "(", ")", "->", "getSymbol", "(", ")", ";", "break", ";", "case", "MachineOperand", "::", "MO_BlockAddress", ":", "Symbol", "=", "AsmPrinter", ".", "GetBlockAddressSymbol", "(", "MO", ".", "getBlockAddress", "(", ")", ")", ";", "Offset", "+=", "MO", ".", "getOffset", "(", ")", ";", "break", ";", "case", "MachineOperand", "::", "MO_JumpTableIndex", ":", "Symbol", "=", "AsmPrinter", ".", "GetJTISymbol", "(", "MO", ".", "getIndex", "(", ")", ")", ";", "break", ";", "case", "MachineOperand", "::", "MO_ExternalSymbol", ":", "Symbol", "=", "AsmPrinter", ".", "GetExternalSymbolSymbol", "(", "MO", ".", "getSymbolName", "(", ")", ")", ";", "Offset", "+=", "MO", ".", "getOffset", "(", ")", ";", "break", ";", "default", ":", "llvm_unreachable", "(", "", ")", ";", "}", "const", "MCExpr", "*", "Expr", "=", "MCSymbolRefExpr", "::", "create", "(", "Symbol", ",", "Kind", ",", "*", "Ctx", ")", ";", "if", "(", "Offset", ")", "{", "assert", "(", "Offset", ">", "", ")", ";", "Expr", "=", "MCBinaryExpr", "::", "createAdd", "(", "Expr", ",", "MCConstantExpr", "::", "create", "(", "Offset", ",", "*", "Ctx", ")", ",", "*", "Ctx", ")", ";", "}", "if", "(", "TargetKind", "!=", "MCExpr", "::", "CEK_None", ")", "Expr", "=", "MCExpr", "::", "create", "(", "TargetKind", ",", "Expr", ",", "*", "Ctx", ")", ";"], "ground_truth": ["return", "MCOperand", "::", "createExpr", "(", "Expr", ")", ";"], "File": "Cpu0MCInstLower3", "Func": "LowerSymbolOperand", "Target": "Cpu0", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 189885, "Length": 195, "Cover_Rate": 0.52} {"Template_token": ["", "Offset", "+=", "MO", ".", "getOffset", "(", ")", ";", "break", ";", "case", "MachineOperand", "::", "MO_JumpTableIndex", ":", "Symbol", "=", "AsmPrinter", ".", "GetJTISymbol", "(", "MO", ".", "getIndex", "(", ")", ")", ";", "break", ";", "case", "MachineOperand", "::", "MO_ExternalSymbol", ":", "Symbol", "=", "AsmPrinter", ".", "GetExternalSymbolSymbol", "(", "MO", ".", "getSymbolName", "(", ")", ")", ";", "Offset", "+=", "MO", ".", "getOffset", "(", ")", ";", "break", ";", "default", ":", "llvm_unreachable", "(", "", ")", ";", "}", "const", "MCExpr", "*", "Expr", "=", "MCSymbolRefExpr", "::", "create", "(", "Symbol", ",", "Kind", ",", "*", "Ctx", ")", ";", "if", "(", "Offset", ")", "{", "assert", "(", "Offset", ">", "", ")", ";", "Expr", "=", "MCBinaryExpr", "::", "createAdd", "(", "Expr", ",", "MCConstantExpr", "::", "create", "(", "Offset", ",", "*", "Ctx", ")", ",", "*", "Ctx", ")", ";"], "ground_truth": ["}"], "File": "Cpu0MCInstLower3", "Func": "LowerSymbolOperand", "Target": "Cpu0", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 189886, "Length": 118, "Cover_Rate": 0.31466666666666665} {"Template_token": ["", "MCInstLower", "::", "MCInstLower", "(", "AsmPrinter", "&", "asmprinter", ")", ":", "AsmPrinter", "(", "asmprinter", ")", "{"], "ground_truth": ["}"], "File": "Cpu0MCInstLower", "Func": "Cpu0MCInstLower", "Target": "Cpu0", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 189887, "Length": 15, "Cover_Rate": 1.0} {"Template_token": ["", "MCInstLower", "::", "MCInstLower", "(", "AsmPrinter", "&", "asmprinter", ")", ":", "AsmPrinter", "(", "asmprinter", ")", "{"], "ground_truth": ["}"], "File": "Cpu0MCInstLower", "Func": "Cpu0MCInstLower", "Target": "Cpu0", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 189888, "Length": 15, "Cover_Rate": 1.0} {"Template_token": ["", "Inst", ".", "addOperand", "(", "Opnd1", ")", ";"], "ground_truth": ["if", "(", "Opnd2", ".", "isValid", "(", ")", ")", "Inst", ".", "addOperand", "(", "Opnd2", ")", ";"], "File": "Cpu0MCInstLower", "Func": "CreateMCInst", "Target": "Cpu0", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 189889, "Length": 22, "Cover_Rate": 0.3235294117647059} {"Template_token": ["", "Inst", ".", "addOperand", "(", "Opnd0", ")", ";", "Inst", ".", "addOperand", "(", "Opnd1", ")", ";"], "ground_truth": ["if", "(", "Opnd2", ".", "isValid", "(", ")", ")", "Inst", ".", "addOperand", "(", "Opnd2", ")", ";"], "File": "Cpu0MCInstLower", "Func": "CreateMCInst", "Target": "Cpu0", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 189890, "Length": 29, "Cover_Rate": 0.4264705882352941} {"Template_token": ["", "MCOperand", "MCInstLower", "::", "createSub", "(", "MachineBasicBlock", "*", "BB1", ",", "MachineBasicBlock", "*", "BB2", ",", "MCExpr", "::", "ExprKind", "Kind", ")", "const", "{", "const", "MCSymbolRefExpr", "*", "Sym1", "=", "MCSymbolRefExpr", "::", "create", "(", "BB1", "->", "getSymbol", "(", ")", ",", "*", "Ctx", ")", ";", "const", "MCSymbolRefExpr", "*", "Sym2", "=", "MCSymbolRefExpr", "::", "create", "(", "BB2", "->", "getSymbol", "(", ")", ",", "*", "Ctx", ")", ";", "const", "MCBinaryExpr", "*", "Sub", "=", "MCBinaryExpr", "::", "createSub", "(", "Sym1", ",", "Sym2", ",", "*", "Ctx", ")", ";", "return", "MCOperand", "::", "createExpr", "(", "MCExpr", "::", "create", "(", "Kind", ",", "Sub", ",", "*", "Ctx", ")", ")", ";"], "ground_truth": ["}"], "File": "Cpu0MCInstLower", "Func": "createSub", "Target": "Cpu0", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 189891, "Length": 94, "Cover_Rate": 1.0} {"Template_token": ["", "const", "MCSymbolRefExpr", "*", "Sym2", "=", "MCSymbolRefExpr", "::", "create", "(", "BB2", "->", "getSymbol", "(", ")", ",", "*", "Ctx", ")", ";"], "ground_truth": ["const", "MCBinaryExpr", "*", "Sub", "=", "MCBinaryExpr", "::", "createSub", "(", "Sym1", ",", "Sym2", ",", "*", "Ctx", ")", ";"], "File": "Cpu0MCInstLower", "Func": "createSub", "Target": "Cpu0", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 189892, "Length": 36, "Cover_Rate": 0.3829787234042553} {"Template_token": ["", "Ctx", "=", "C", ";"], "ground_truth": ["}"], "File": "Cpu0MCInstLower", "Func": "Initialize", "Target": "Cpu0", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 189893, "Length": 5, "Cover_Rate": 0.3333333333333333} {"Template_token": ["", "Ctx", "=", "C", ";"], "ground_truth": ["}"], "File": "Cpu0MCInstLower", "Func": "Initialize", "Target": "Cpu0", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 189894, "Length": 5, "Cover_Rate": 0.3333333333333333} {"Template_token": ["", "for", "(", "unsigned", "i", "=", "", ",", "e", "=", "MI", "->", "getNumOperands", "(", ")", ";", "i", "!=", "e", ";", "++", "i", ")", "{", "const", "MachineOperand", "&", "MO", "=", "MI", "->", "getOperand", "(", "i", ")", ";", "MCOperand", "MCOp", "=", "LowerOperand", "(", "MO", ")", ";", "if", "(", "MCOp", ".", "isValid", "(", ")", ")", "OutMI", ".", "addOperand", "(", "MCOp", ")", ";"], "ground_truth": ["}"], "File": "Cpu0MCInstLower", "Func": "Lower", "Target": "Cpu0", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 189895, "Length": 59, "Cover_Rate": 0.6020408163265306} {"Template_token": ["", "if", "(", "lowerLongBranch", "(", "MI", ",", "OutMI", ")", ")", "return", ";", "OutMI", ".", "setOpcode", "(", "MI", "->", "getOpcode", "(", ")", ")", ";"], "ground_truth": ["for", "(", "unsigned", "i", "=", "", ",", "e", "=", "MI", "->", "getNumOperands", "(", ")", ";", "i", "!=", "e", ";", "++", "i", ")", "{"], "File": "Cpu0MCInstLower", "Func": "Lower", "Target": "Cpu0", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 189896, "Length": 45, "Cover_Rate": 0.45918367346938777} {"Template_token": ["", "MCOperand", "T9Reg", "=", "MCOperand", "::", "createReg", "(", "", ")", ";", "StringRef", "SymName", "(", "", ")", ";", "const", "MCSymbol", "*", "Sym", "=", "Ctx", "->", "getOrCreateSymbol", "(", "SymName", ")", ";", "const", "MCExpr", "*", "MCSym", ";", "MCSym", "=", "MCExpr", "::", "create", "(", "Sym", ",", "MCExpr", "::", "CEK_ABS_HI", ",", "*", "Ctx", ")", ";", "MCOperand", "SymHi", "=", "MCOperand", "::", "createExpr", "(", "MCSym", ")", ";", "MCSym", "=", "MCExpr", "::", "create", "(", "Sym", ",", "MCExpr", "::", "CEK_ABS_LO", ",", "*", "Ctx", ")", ";", "MCOperand", "SymLo", "=", "MCOperand", "::", "createExpr", "(", "MCSym", ")", ";"], "ground_truth": ["MCInsts", ".", "resize", "(", "", ")", ";"], "File": "Cpu0MCInstLower", "Func": "LowerCPLOAD", "Target": "Cpu0", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 189897, "Length": 92, "Cover_Rate": 0.5287356321839081} {"Template_token": ["", "MCOperand", "ZEROReg", "=", "MCOperand", "::", "createReg", "(", "", ")", ";", "if", "(", "!", "isInt", "<", "", ">", "(", "Offset", ")", ")", "{", "unsigned", "Hi", "=", "(", "(", "Offset", "+", "", ")", ">>", "", ")", "&", "", ";", "Offset", "&=", "", ";", "MCOperand", "ATReg", "=", "MCOperand", "::", "createReg", "(", "", ")", ";", "BaseReg", "=", "ATReg", ";", "MCInsts", ".", "resize", "(", "", ")", ";", "CreateMCInst", "(", "MCInsts", "[", "", "]", ",", "", ",", "ATReg", ",", "ZEROReg", ",", "MCOperand", "::", "createImm", "(", "Hi", ")", ")", ";", "CreateMCInst", "(", "MCInsts", "[", "", "]", ",", "", ",", "ATReg", ",", "ATReg", ",", "SPReg", ")", ";", "}", "MCInst", "St", ";", "CreateMCInst", "(", "St", ",", "", ",", "GPReg", ",", "BaseReg", ",", "MCOperand", "::", "createImm", "(", "Offset", ")", ")", ";", "MCInsts", ".", "push_back", "(", "St", ")", ";"], "ground_truth": ["}"], "File": "Cpu0MCInstLower", "Func": "LowerCPRESTORE", "Target": "Cpu0", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 189898, "Length": 129, "Cover_Rate": 0.6323529411764706} {"Template_token": ["", "return", "false", ";", "case", "", ":", "lowerLongBranchLUi", "(", "MI", ",", "OutMI", ")", ";", "return", "true", ";", "case", "", ":"], "ground_truth": ["lowerLongBranchADDiu", "(", "MI", ",", "OutMI", ",", "", ",", "MCExpr", "::", "CEK_ABS_LO", ")", ";"], "File": "Cpu0MCInstLower", "Func": "lowerLongBranch", "Target": "Cpu0", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 189899, "Length": 32, "Cover_Rate": 0.45714285714285713} {"Template_token": ["", "void", "MCInstLower", "::", "lowerLongBranchADDiu", "(", "const", "MachineInstr", "*", "MI", ",", "MCInst", "&", "OutMI", ",", "int", "Opcode", ",", "MCExpr", "::", "ExprKind", "Kind", ")", "const", "{", "OutMI", ".", "setOpcode", "(", "Opcode", ")", ";", "for", "(", "unsigned", "I", "=", "", ",", "E", "=", "", ";", "I", "!=", "E", ";", "++", "I", ")", "{", "const", "MachineOperand", "&", "MO", "=", "MI", "->", "getOperand", "(", "I", ")", ";", "OutMI", ".", "addOperand", "(", "LowerOperand", "(", "MO", ")", ")", ";"], "ground_truth": ["}"], "File": "Cpu0MCInstLower", "Func": "lowerLongBranchADDiu", "Target": "Cpu0", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 189900, "Length": 73, "Cover_Rate": 0.6886792452830188} {"Template_token": ["", "const", "MachineOperand", "&", "MO", "=", "MI", "->", "getOperand", "(", "I", ")", ";", "OutMI", ".", "addOperand", "(", "LowerOperand", "(", "MO", ")", ")", ";", "}"], "ground_truth": ["OutMI", ".", "addOperand", "(", "createSub", "(", "MI", "->", "getOperand", "(", "", ")", ".", "getMBB", "(", ")", ",", "MI", "->", "getOperand", "(", "", ")", ".", "getMBB", "(", ")", ",", "Kind", ")", ")", ";"], "File": "Cpu0MCInstLower", "Func": "lowerLongBranchADDiu", "Target": "Cpu0", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 189901, "Length": 55, "Cover_Rate": 0.5188679245283019} {"Template_token": ["", "lowerLongBranchLUi", "(", "const", "MachineInstr", "*", "MI", ",", "MCInst", "&", "OutMI", ")", "const", "{", "OutMI", ".", "setOpcode", "(", "", ")", ";", "OutMI", ".", "addOperand", "(", "LowerOperand", "(", "MI", "->", "getOperand", "(", "", ")", ")", ")", ";", "OutMI", ".", "addOperand", "(", "createSub", "(", "MI", "->", "getOperand", "(", "", ")", ".", "getMBB", "(", ")", ",", "MI", "->", "getOperand", "(", "", ")", ".", "getMBB", "(", ")", ",", "MCExpr", "::", "CEK_ABS_HI", ")", ")", ";"], "ground_truth": ["}"], "File": "Cpu0MCInstLower", "Func": "lowerLongBranchLUi", "Target": "Cpu0", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 189902, "Length": 70, "Cover_Rate": 0.9333333333333333} {"Template_token": ["", "MCOperand", "MCInstLower", "::", "LowerOperand", "(", "const", "MachineOperand", "&", "MO", ",", "unsigned", "offset", ")", "const", "{", "MachineOperandType", "MOTy", "=", "MO", ".", "getType", "(", ")", ";", "switch", "(", "MOTy", ")", "{", "default", ":", "llvm_unreachable", "(", "", ")", ";", "case", "MachineOperand", "::", "MO_Register", ":", "if", "(", "MO", ".", "isImplicit", "(", ")", ")", "break", ";", "return", "MCOperand", "::", "createReg", "(", "MO", ".", "getReg", "(", ")", ")", ";", "case", "MachineOperand", "::", "MO_Immediate", ":", "return", "MCOperand", "::", "createImm", "(", "MO", ".", "getImm", "(", ")", "+", "offset", ")", ";", "case", "MachineOperand", "::", "MO_RegisterMask", ":", "break", ";", "case", "MachineOperand", "::", "MO_MachineBasicBlock", ":"], "ground_truth": ["case", "MachineOperand", "::", "MO_ExternalSymbol", ":"], "File": "Cpu0MCInstLower", "Func": "LowerOperand", "Target": "Cpu0", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 189904, "Length": 99, "Cover_Rate": 0.7557251908396947} {"Template_token": ["", "static", "MCStreamer", "*", "createAsmStreamer", "(", "MCContext", "&", "Ctx", ",", "formatted_raw_ostream", "&", "OS", ",", "bool", "isVerboseAsm", ",", "bool", "useLoc", ",", "bool", "useCFI", ",", "bool", "useDwarfDirectory", ",", "MCInstPrinter", "*", "InstPrint", ",", "MCCodeEmitter", "*", "CE", ",", "MCAsmBackend", "*", "TAB", ",", "bool", "ShowInst", ")", "{", "return", "new", "AsmStreamer", "(", "Ctx", ",", "OS", ",", "isVerboseAsm", ",", "useLoc", ",", "useCFI", ",", "useDwarfDirectory", ",", "InstPrint", ",", "CE", ",", "TAB", ",", "ShowInst", ")", ";"], "ground_truth": ["}"], "File": "Cpu0MCTargetDesc1", "Func": "createCpu0AsmStreamer", "Target": "Cpu0", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 189905, "Length": 67, "Cover_Rate": 1.0} {"Template_token": ["", "return", "new", "AsmStreamer", "(", "Ctx", ",", "OS", ",", "isVerboseAsm", ",", "useLoc", ",", "useCFI", ",", "useDwarfDirectory", ",", "InstPrint", ",", "CE", ",", "TAB", ",", "ShowInst", ")", ";"], "ground_truth": ["}"], "File": "Cpu0MCTargetDesc1", "Func": "createCpu0AsmStreamer", "Target": "Cpu0", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 189906, "Length": 26, "Cover_Rate": 0.3880597014925373} {"Template_token": ["", "static", "MCAsmInfo", "*", "createMCAsmInfo", "(", "const", "Target", "&", "T", ",", "StringRef", "TT", ")", "{", "MCAsmInfo", "*", "MAI", "=", "new", "MCAsmInfo", "(", "T", ",", "TT", ")", ";", "MachineLocation", "Dst", "(", "MachineLocation", "::", "VirtualFP", ")", ";", "MachineLocation", "Src", "(", "", ",", "", ")", ";", "MAI", "->", "addInitialFrameState", "(", "", ",", "Dst", ",", "Src", ")", ";"], "ground_truth": ["return", "MAI", ";"], "File": "Cpu0MCTargetDesc1", "Func": "createCpu0MCAsmInfo", "Target": "Cpu0", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 189907, "Length": 56, "Cover_Rate": 0.9491525423728814} {"Template_token": ["", "static", "MCCodeGenInfo", "*", "createMCCodeGenInfo", "(", "StringRef", "TT", ",", "Reloc", "::", "Model", "RM", ",", "CodeModel", "::", "Model", "CM", ",", "CodeGenOpt", "::", "Level", "OL", ")", "{", "MCCodeGenInfo", "*", "X", "=", "new", "MCCodeGenInfo", "(", ")", ";", "if", "(", "CM", "==", "CodeModel", "::", "JITDefault", ")", "RM", "=", "Reloc", "::", "Static", ";", "else", "if", "(", "RM", "==", "Reloc", "::", "Default", ")", "RM", "=", "Reloc", "::", "PIC_", ";", "X", "->", "InitMCCodeGenInfo", "(", "RM", ",", "CM", ",", "OL", ")", ";"], "ground_truth": ["return", "X", ";"], "File": "Cpu0MCTargetDesc1", "Func": "createCpu0MCCodeGenInfo", "Target": "Cpu0", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 189908, "Length": 76, "Cover_Rate": 0.987012987012987} {"Template_token": ["", "static", "MCCodeGenInfo", "*", "createMCCodeGenInfo", "(", "StringRef", "TT", ",", "Reloc", "::", "Model", "RM", ",", "CodeModel", "::", "Model", "CM", ",", "CodeGenOpt", "::", "Level", "OL", ")", "{", "MCCodeGenInfo", "*", "X", "=", "new", "MCCodeGenInfo", "(", ")", ";", "if", "(", "CM", "==", "CodeModel", "::", "JITDefault", ")", "RM", "=", "Reloc", "::", "Static", ";", "else", "if", "(", "RM", "==", "Reloc", "::", "Default", ")", "RM", "=", "Reloc", "::", "PIC_", ";", "X", "->", "InitMCCodeGenInfo", "(", "RM", ",", "CM", ",", "OL", ")", ";", "return", "X", ";"], "ground_truth": ["}"], "File": "Cpu0MCTargetDesc1", "Func": "createCpu0MCCodeGenInfo", "Target": "Cpu0", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 189909, "Length": 77, "Cover_Rate": 1.0} {"Template_token": ["", "static", "MCInstPrinter", "*", "createMCInstPrinter", "(", "const", "Target", "&", "T", ",", "unsigned", "SyntaxVariant", ",", "const", "MCAsmInfo", "&", "MAI", ",", "const", "MCInstrInfo", "&", "MII", ",", "const", "MCRegisterInfo", "&", "MRI", ",", "const", "MCSubtargetInfo", "&", "STI", ")", "{"], "ground_truth": ["return", "new", "InstPrinter", "(", "MAI", ",", "MII", ",", "MRI", ")", ";"], "File": "Cpu0MCTargetDesc1", "Func": "createCpu0MCInstPrinter", "Target": "Cpu0", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 189910, "Length": 45, "Cover_Rate": 0.9782608695652174} {"Template_token": ["", "static", "MCRegisterInfo", "*", "createMCRegisterInfo", "(", "StringRef", "TT", ")", "{", "MCRegisterInfo", "*", "X", "=", "new", "MCRegisterInfo", "(", ")", ";"], "ground_truth": ["InitMCRegisterInfo", "(", "X", ",", "", ")", ";"], "File": "Cpu0MCTargetDesc1", "Func": "createCpu0MCRegisterInfo", "Target": "Cpu0", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 189911, "Length": 25, "Cover_Rate": 0.8064516129032258} {"Template_token": ["", "MCRegisterInfo", "*", "X", "=", "new", "MCRegisterInfo", "(", ")", ";"], "ground_truth": ["InitMCRegisterInfo", "(", "X", ",", "", ")", ";"], "File": "Cpu0MCTargetDesc1", "Func": "createCpu0MCRegisterInfo", "Target": "Cpu0", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 189912, "Length": 16, "Cover_Rate": 0.5161290322580645} {"Template_token": ["", "if", "(", "!", "FS", ".", "empty", "(", ")", ")", "{", "if", "(", "!", "ArchFS", ".", "empty", "(", ")", ")", "ArchFS", "=", "ArchFS", "+", "", "+", "FS", ".", "str", "(", ")", ";"], "ground_truth": ["else", "ArchFS", "=", "FS", ";"], "File": "Cpu0MCTargetDesc1", "Func": "createCpu0MCSubtargetInfo", "Target": "Cpu0", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 189913, "Length": 36, "Cover_Rate": 0.4090909090909091} {"Template_token": ["", "static", "MCStreamer", "*", "createMCStreamer", "(", "const", "Target", "&", "T", ",", "StringRef", "TT", ",", "MCContext", "&", "Ctx", ",", "MCAsmBackend", "&", "MAB", ",", "raw_ostream", "&", "_OS", ",", "MCCodeEmitter", "*", "_Emitter", ",", "bool", "RelaxAll", ",", "bool", "NoExecStack", ")", "{", "Triple", "TheTriple", "(", "TT", ")", ";", "return", "createELFStreamer", "(", "Ctx", ",", "MAB", ",", "_OS", ",", "_Emitter", ",", "RelaxAll", ",", "NoExecStack", ")", ";"], "ground_truth": ["}"], "File": "Cpu0MCTargetDesc1", "Func": "createMCStreamer", "Target": "Cpu0", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 189914, "Length": 59, "Cover_Rate": 1.0} {"Template_token": ["", "static", "MCStreamer", "*", "createMCStreamer", "(", "const", "Target", "&", "T", ",", "StringRef", "TT", ",", "MCContext", "&", "Ctx", ",", "MCAsmBackend", "&", "MAB", ",", "raw_ostream", "&", "_OS", ",", "MCCodeEmitter", "*", "_Emitter", ",", "bool", "RelaxAll", ",", "bool", "NoExecStack", ")", "{"], "ground_truth": ["Triple", "TheTriple", "(", "TT", ")", ";"], "File": "Cpu0MCTargetDesc1", "Func": "createMCStreamer", "Target": "Cpu0", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 189915, "Length": 42, "Cover_Rate": 0.711864406779661} {"Template_token": ["", "RegisterMCAsmInfoFn", "Y", "(", "TheelTarget", ",", "createMCAsmInfo", ")", ";", "TargetRegistry", "::", "RegisterMCCodeGenInfo", "(", "TheTarget", ",", "createMCCodeGenInfo", ")", ";", "TargetRegistry", "::", "RegisterMCCodeGenInfo", "(", "TheelTarget", ",", "createMCCodeGenInfo", ")", ";", "TargetRegistry", "::", "RegisterMCInstrInfo", "(", "TheTarget", ",", "createMCInstrInfo", ")", ";", "TargetRegistry", "::", "RegisterMCInstrInfo", "(", "TheelTarget", ",", "createMCInstrInfo", ")", ";", "TargetRegistry", "::", "RegisterMCRegInfo", "(", "TheTarget", ",", "createMCRegisterInfo", ")", ";", "TargetRegistry", "::", "RegisterMCRegInfo", "(", "TheelTarget", ",", "createMCRegisterInfo", ")", ";", "TargetRegistry", "::", "RegisterAsmStreamer", "(", "TheTarget", ",", "createAsmStreamer", ")", ";", "TargetRegistry", "::", "RegisterMCObjectStreamer", "(", "TheTarget", ",", "createMCStreamer", ")", ";", "TargetRegistry", "::", "RegisterMCObjectStreamer", "(", "TheelTarget", ",", "createMCStreamer", ")", ";", "TargetRegistry", "::", "RegisterMCAsmBackend", "(", "TheTarget", ",", "createAsmBackendEB32", ")", ";", "TargetRegistry", "::", "RegisterMCAsmBackend", "(", "TheelTarget", ",", "createAsmBackendEL32", ")", ";", "TargetRegistry", "::", "RegisterMCSubtargetInfo", "(", "TheTarget", ",", "createMCSubtargetInfo", ")", ";"], "ground_truth": ["TargetRegistry", "::", "RegisterMCSubtargetInfo", "(", "TheelTarget", ",", "createMCSubtargetInfo", ")", ";"], "File": "Cpu0MCTargetDesc1", "Func": "LLVMInitializeCpu0TargetMC", "Target": "Cpu0", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 189916, "Length": 125, "Cover_Rate": 0.7961783439490446} {"Template_token": ["", "TargetRegistry", "::", "RegisterMCCodeGenInfo", "(", "TheelTarget", ",", "createMCCodeGenInfo", ")", ";", "TargetRegistry", "::", "RegisterMCInstrInfo", "(", "TheTarget", ",", "createMCInstrInfo", ")", ";", "TargetRegistry", "::", "RegisterMCInstrInfo", "(", "TheelTarget", ",", "createMCInstrInfo", ")", ";", "TargetRegistry", "::", "RegisterMCRegInfo", "(", "TheTarget", ",", "createMCRegisterInfo", ")", ";", "TargetRegistry", "::", "RegisterMCRegInfo", "(", "TheelTarget", ",", "createMCRegisterInfo", ")", ";", "TargetRegistry", "::", "RegisterAsmStreamer", "(", "TheTarget", ",", "createAsmStreamer", ")", ";"], "ground_truth": ["TargetRegistry", "::", "RegisterMCObjectStreamer", "(", "TheTarget", ",", "createMCStreamer", ")", ";"], "File": "Cpu0MCTargetDesc1", "Func": "LLVMInitializeCpu0TargetMC", "Target": "Cpu0", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 189917, "Length": 63, "Cover_Rate": 0.4012738853503185} {"Template_token": ["", "DashPosition", "=", "TT", ".", "find", "(", "'-'", ")", ";", "if", "(", "DashPosition", "==", "StringRef", "::", "npos", ")", "{", "TheTriple", "=", "TT", ".", "substr", "(", "", ")", ";", "}", "else", "{", "TheTriple", "=", "TT", ".", "substr", "(", "", ",", "DashPosition", ")", ";", "}"], "ground_truth": ["if", "(", "TheTriple", "==", "", "||", "TheTriple", "==", "", ")", "{"], "File": "Cpu0MCTargetDesc1", "Func": "ParseCpu0Triple", "Target": "Cpu0", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 189918, "Length": 53, "Cover_Rate": 0.5196078431372549} {"Template_token": ["", "DashPosition", "=", "TT", ".", "find", "(", "'-'", ")", ";", "if", "(", "DashPosition", "==", "StringRef", "::", "npos", ")", "{", "TheTriple", "=", "TT", ".", "substr", "(", "", ")", ";", "}", "else", "{", "TheTriple", "=", "TT", ".", "substr", "(", "", ",", "DashPosition", ")", ";", "}", "if", "(", "TheTriple", "==", "", "||", "TheTriple", "==", "", ")", "{", "if", "(", "CPU", ".", "empty", "(", ")", "||", "CPU", "==", "", ")", "{", "ArchFeature", "=", "", ";", "}"], "ground_truth": ["}"], "File": "Cpu0MCTargetDesc1", "Func": "ParseCpu0Triple", "Target": "Cpu0", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 189919, "Length": 72, "Cover_Rate": 0.7058823529411765} {"Template_token": ["", "TargetRegistry", "::", "RegisterMCInstrInfo", "(", "TheelTarget", ",", "createMCInstrInfo", ")", ";", "TargetRegistry", "::", "RegisterMCRegInfo", "(", "TheTarget", ",", "createMCRegisterInfo", ")", ";", "TargetRegistry", "::", "RegisterMCRegInfo", "(", "TheelTarget", ",", "createMCRegisterInfo", ")", ";", "TargetRegistry", "::", "RegisterMCCodeEmitter", "(", "TheTarget", ",", "createMCCodeEmitterEB", ")", ";", "TargetRegistry", "::", "RegisterMCCodeEmitter", "(", "TheelTarget", ",", "createMCCodeEmitterEL", ")", ";", "TargetRegistry", "::", "RegisterMCObjectStreamer", "(", "TheTarget", ",", "createMCStreamer", ")", ";", "TargetRegistry", "::", "RegisterMCObjectStreamer", "(", "TheelTarget", ",", "createMCStreamer", ")", ";", "TargetRegistry", "::", "RegisterMCAsmBackend", "(", "TheTarget", ",", "createAsmBackendEB32", ")", ";", "TargetRegistry", "::", "RegisterMCAsmBackend", "(", "TheelTarget", ",", "createAsmBackendEL32", ")", ";", "TargetRegistry", "::", "RegisterMCSubtargetInfo", "(", "TheTarget", ",", "createMCSubtargetInfo", ")", ";", "TargetRegistry", "::", "RegisterMCSubtargetInfo", "(", "TheelTarget", ",", "createMCSubtargetInfo", ")", ";"], "ground_truth": ["TargetRegistry", "::", "RegisterMCInstPrinter", "(", "TheTarget", ",", "createMCInstPrinter", ")", ";"], "File": "Cpu0MCTargetDesc2", "Func": "LLVMInitializeCpu0TargetMC", "Target": "Cpu0", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 189920, "Length": 108, "Cover_Rate": 0.6506024096385542} {"Template_token": ["", "static", "MCRegisterInfo", "*", "createMCRegisterInfo", "(", "const", "Triple", "&", ")", "{"], "ground_truth": ["MCRegisterInfo", "*", "X", "=", "new", "MCRegisterInfo", "(", ")", ";"], "File": "Cpu0MCTargetDesc3", "Func": "createCpu0MCRegisterInfo", "Target": "Cpu0", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 189921, "Length": 19, "Cover_Rate": 0.475} {"Template_token": ["", "InitMCRegisterInfo", "(", "X", ",", "", ",", "", ",", "", ",", "", ")", ";"], "ground_truth": ["return", "X", ";"], "File": "Cpu0MCTargetDesc3", "Func": "createCpu0MCRegisterInfo", "Target": "Cpu0", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 189922, "Length": 16, "Cover_Rate": 0.4} {"Template_token": ["", "std", "::", "string", "CPUName", "=", "CPU", ";", "if", "(", "CPUName", ".", "empty", "(", ")", ")", "CPUName", "=", "", ";"], "ground_truth": ["return", "createMCSubtargetInfoImpl", "(", "TT", ",", "CPUName", ",", "FS", ")", ";"], "File": "Cpu0MCTargetDesc3", "Func": "createCpu0MCSubtargetInfo", "Target": "Cpu0", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 189923, "Length": 29, "Cover_Rate": 0.6170212765957447} {"Template_token": ["", "TargetRegistry", "::", "RegisterMCInstrInfo", "(", "getTheTarget", "(", ")", ",", "createMCInstrInfo", ")", ";", "TargetRegistry", "::", "RegisterMCRegInfo", "(", "getTheTarget", "(", ")", ",", "createMCRegisterInfo", ")", ";", "TargetRegistry", "::", "RegisterMCSubtargetInfo", "(", "getTheTarget", "(", ")", ",", "createMCSubtargetInfo", ")", ";"], "ground_truth": ["}"], "File": "Cpu0MCTargetDesc3", "Func": "LLVMInitializeCpu0TargetMC", "Target": "Cpu0", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 189925, "Length": 34, "Cover_Rate": 0.8717948717948718} {"Template_token": ["", "TargetRegistry", "::", "RegisterMCInstrInfo", "(", "getTheTarget", "(", ")", ",", "createMCInstrInfo", ")", ";"], "ground_truth": ["TargetRegistry", "::", "RegisterMCRegInfo", "(", "getTheTarget", "(", ")", ",", "createMCRegisterInfo", ")", ";"], "File": "Cpu0MCTargetDesc3", "Func": "LLVMInitializeCpu0TargetMC", "Target": "Cpu0", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 189926, "Length": 22, "Cover_Rate": 0.5641025641025641} {"Template_token": ["", "static", "MCSubtargetInfo", "*", "createMCSubtargetInfo", "(", "const", "Triple", "&", "TT", ",", "StringRef", "CPU", ",", "StringRef", "FS", ")", "{", "std", "::", "string", "ArchFS", "=", "selectArchFeature", "(", "TT", ",", "CPU", ")", ";", "if", "(", "!", "FS", ".", "empty", "(", ")", ")", "{", "if", "(", "!", "ArchFS", ".", "empty", "(", ")", ")", "{", "ArchFS", "=", "ArchFS", "+", "", "+", "FS", ".", "str", "(", ")", ";", "}", "else", "{", "ArchFS", "=", "FS", ";"], "ground_truth": ["}"], "File": "Cpu0MCTargetDesc4", "Func": "createCpu0MCSubtargetInfo", "Target": "Cpu0", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 189928, "Length": 69, "Cover_Rate": 0.8518518518518519} {"Template_token": ["", "return", "createELFStreamer", "(", "Context", ",", "std", "::", "move", "(", "MAB", ")", ",", "std", "::", "move", "(", "OW", ")", ",", "std", "::", "move", "(", "Emitter", ")", ",", "RelaxAll", ")", ";"], "ground_truth": ["}"], "File": "Cpu0MCTargetDesc4", "Func": "createMCStreamer", "Target": "Cpu0", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 189930, "Length": 30, "Cover_Rate": 0.4} {"Template_token": ["", "TargetRegistry", "::", "RegisterMCRegInfo", "(", "*", "T", ",", "createMCRegisterInfo", ")", ";", "TargetRegistry", "::", "RegisterMCSubtargetInfo", "(", "*", "T", ",", "createMCSubtargetInfo", ")", ";", "TargetRegistry", "::", "RegisterMCInstrAnalysis", "(", "*", "T", ",", "createMCInstrAnalysis", ")", ";", "TargetRegistry", "::", "RegisterMCInstPrinter", "(", "*", "T", ",", "createMCInstPrinter", ")", ";", "TargetRegistry", "::", "RegisterELFStreamer", "(", "*", "T", ",", "createMCStreamer", ")", ";", "TargetRegistry", "::", "RegisterAsmTargetStreamer", "(", "*", "T", ",", "createAsmTargetStreamer", ")", ";"], "ground_truth": ["}"], "File": "Cpu0MCTargetDesc4", "Func": "LLVMInitializeCpu0TargetMC", "Target": "Cpu0", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 189931, "Length": 61, "Cover_Rate": 0.39869281045751637} {"Template_token": ["", "RegisterMCAsmInfoFn", "X", "(", "*", "T", ",", "createMCAsmInfo", ")", ";", "TargetRegistry", "::", "RegisterMCInstrInfo", "(", "*", "T", ",", "createMCInstrInfo", ")", ";", "TargetRegistry", "::", "RegisterMCRegInfo", "(", "*", "T", ",", "createMCRegisterInfo", ")", ";", "TargetRegistry", "::", "RegisterMCSubtargetInfo", "(", "*", "T", ",", "createMCSubtargetInfo", ")", ";", "TargetRegistry", "::", "RegisterMCInstrAnalysis", "(", "*", "T", ",", "createMCInstrAnalysis", ")", ";", "TargetRegistry", "::", "RegisterMCInstPrinter", "(", "*", "T", ",", "createMCInstPrinter", ")", ";", "TargetRegistry", "::", "RegisterELFStreamer", "(", "*", "T", ",", "createMCStreamer", ")", ";", "TargetRegistry", "::", "RegisterAsmTargetStreamer", "(", "*", "T", ",", "createAsmTargetStreamer", ")", ";", "}", "TargetRegistry", "::", "RegisterMCCodeEmitter", "(", "TheTarget", ",", "createMCCodeEmitterEB", ")", ";", "TargetRegistry", "::", "RegisterMCCodeEmitter", "(", "TheelTarget", ",", "createMCCodeEmitterEL", ")", ";", "TargetRegistry", "::", "RegisterMCAsmBackend", "(", "TheTarget", ",", "createAsmBackendEB32", ")", ";"], "ground_truth": ["TargetRegistry", "::", "RegisterMCAsmBackend", "(", "TheelTarget", ",", "createAsmBackendEL32", ")", ";"], "File": "Cpu0MCTargetDesc4", "Func": "LLVMInitializeCpu0TargetMC", "Target": "Cpu0", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 189932, "Length": 116, "Cover_Rate": 0.7581699346405228} {"Template_token": ["", "static", "StringRef", "selectArchFeature", "(", "const", "Triple", "&", "TT", ",", "StringRef", "CPU", ")", "{", "std", "::", "string", "ArchFeature", ";", "if", "(", "CPU", ".", "empty", "(", ")", "||", "CPU", "==", "", ")", "{", "if", "(", "TT", ".", "getArch", "(", ")", "==", "Triple", "::", "cpu0", "||", "TT", ".", "getArch", "(", ")", "==", "Triple", "::", "cpu0el", ")", "{", "if", "(", "CPU", ".", "empty", "(", ")", "||", "CPU", "==", "", ")", "{", "ArchFeature", "=", "", ";", "}", "else", "if", "(", "CPU", "==", "", ")", "{"], "ground_truth": ["ArchFeature", "=", "", ";"], "File": "Cpu0MCTargetDesc4", "Func": "selectCpu0ArchFeature", "Target": "Cpu0", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 189933, "Length": 84, "Cover_Rate": 0.9230769230769231} {"Template_token": ["", "MCInstrAnalysis", "(", "const", "MCInstrInfo", "*", "Info", ")", ":", "MCInstrAnalysis", "(", "Info", ")", "{"], "ground_truth": ["}"], "File": "Cpu0MCTargetDesc", "Func": "Cpu0MCInstrAnalysis", "Target": "Cpu0", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 189934, "Length": 14, "Cover_Rate": 1.0} {"Template_token": ["", "MCInstrAnalysis", "(", "const", "MCInstrInfo", "*", "Info", ")", ":", "MCInstrAnalysis", "(", "Info", ")", "{"], "ground_truth": ["}"], "File": "Cpu0MCTargetDesc", "Func": "Cpu0MCInstrAnalysis", "Target": "Cpu0", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 189935, "Length": 14, "Cover_Rate": 1.0} {"Template_token": ["", "return", "new", "TargetAsmStreamer", "(", "S", ",", "OS", ")", ";"], "ground_truth": ["}"], "File": "Cpu0MCTargetDesc", "Func": "createCpu0AsmTargetStreamer", "Target": "Cpu0", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 189936, "Length": 10, "Cover_Rate": 0.3225806451612903} {"Template_token": ["", "static", "MCAsmInfo", "*", "createMCAsmInfo", "(", "const", "MCRegisterInfo", "&", "MRI", ",", "const", "Triple", "&", "TT", ")", "{"], "ground_truth": ["MCAsmInfo", "*", "MAI", "=", "new", "MCAsmInfo", "(", "TT", ")", ";"], "File": "Cpu0MCTargetDesc", "Func": "createCpu0MCAsmInfo", "Target": "Cpu0", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 189937, "Length": 26, "Cover_Rate": 0.4} {"Template_token": ["", "unsigned", "SP", "=", "MRI", ".", "getDwarfRegNum", "(", "", ",", "true", ")", ";", "MCCFIInstruction", "Inst", "=", "MCCFIInstruction", "::", "createDefCfa", "(", "nullptr", ",", "SP", ",", "", ")", ";", "MAI", "->", "addInitialFrameState", "(", "Inst", ")", ";", "return", "MAI", ";"], "ground_truth": ["}"], "File": "Cpu0MCTargetDesc", "Func": "createCpu0MCAsmInfo", "Target": "Cpu0", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 189938, "Length": 37, "Cover_Rate": 0.5692307692307692} {"Template_token": ["", "static", "MCInstPrinter", "*", "createMCInstPrinter", "(", "const", "Triple", "&", "T", ",", "unsigned", "SyntaxVariant", ",", "const", "MCAsmInfo", "&", "MAI", ",", "const", "MCInstrInfo", "&", "MII", ",", "const", "MCRegisterInfo", "&", "MRI", ")", "{", "return", "new", "InstPrinter", "(", "MAI", ",", "MII", ",", "MRI", ")", ";"], "ground_truth": ["}"], "File": "Cpu0MCTargetDesc", "Func": "createCpu0MCInstPrinter", "Target": "Cpu0", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 189939, "Length": 41, "Cover_Rate": 1.0} {"Template_token": ["", "MCInstrInfo", "*", "X", "=", "new", "MCInstrInfo", "(", ")", ";", "InitMCInstrInfo", "(", "X", ")", ";", "return", "X", ";"], "ground_truth": ["}"], "File": "Cpu0MCTargetDesc", "Func": "createCpu0MCInstrInfo", "Target": "Cpu0", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 189942, "Length": 18, "Cover_Rate": 0.72} {"Template_token": ["", "MCRegisterInfo", "*", "X", "=", "new", "MCRegisterInfo", "(", ")", ";", "InitMCRegisterInfo", "(", "X", ",", "", ")", ";", "return", "X", ";"], "ground_truth": ["}"], "File": "Cpu0MCTargetDesc", "Func": "createCpu0MCRegisterInfo", "Target": "Cpu0", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 189943, "Length": 20, "Cover_Rate": 0.6060606060606061} {"Template_token": ["", "static", "MCRegisterInfo", "*", "createMCRegisterInfo", "(", "const", "Triple", "&", "TT", ")", "{", "MCRegisterInfo", "*", "X", "=", "new", "MCRegisterInfo", "(", ")", ";"], "ground_truth": ["InitMCRegisterInfo", "(", "X", ",", "", ")", ";"], "File": "Cpu0MCTargetDesc", "Func": "createCpu0MCRegisterInfo", "Target": "Cpu0", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 189944, "Length": 27, "Cover_Rate": 0.8181818181818182} {"Template_token": ["", "static", "MCSubtargetInfo", "*", "createMCSubtargetInfo", "(", "const", "Triple", "&", "TT", ",", "StringRef", "CPU", ",", "StringRef", "FS", ")", "{", "return", "createMCSubtargetInfoImpl", "(", "TT", ",", "CPU", ",", "FS", ")", ";"], "ground_truth": ["}"], "File": "Cpu0MCTargetDesc", "Func": "createCpu0MCSubtargetInfo", "Target": "Cpu0", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 189945, "Length": 28, "Cover_Rate": 1.0} {"Template_token": ["", "void", "LLVMInitializeTargetMC", "(", ")", "{", "for", "(", "Target", "*", "T", ":", "{", "&", "getTheTarget", "(", ")", ",", "&", "getTheelTarget", "(", ")", "}", ")", "{", "RegisterMCAsmInfoFn", "X", "(", "*", "T", ",", "createMCAsmInfo", ")", ";", "TargetRegistry", "::", "RegisterMCInstrInfo", "(", "*", "T", ",", "createMCInstrInfo", ")", ";", "TargetRegistry", "::", "RegisterMCRegInfo", "(", "*", "T", ",", "createMCRegisterInfo", ")", ";", "TargetRegistry", "::", "RegisterMCSubtargetInfo", "(", "*", "T", ",", "createMCSubtargetInfo", ")", ";", "TargetRegistry", "::", "RegisterELFStreamer", "(", "*", "T", ",", "createMCStreamer", ")", ";", "TargetRegistry", "::", "RegisterAsmTargetStreamer", "(", "*", "T", ",", "createAsmTargetStreamer", ")", ";", "TargetRegistry", "::", "RegisterMCInstrAnalysis", "(", "*", "T", ",", "createMCInstrAnalysis", ")", ";", "TargetRegistry", "::", "RegisterMCInstPrinter", "(", "*", "T", ",", "createMCInstPrinter", ")", ";", "}", "TargetRegistry", "::", "RegisterMCCodeEmitter", "(", "getTheTarget", "(", ")", ",", "createMCCodeEmitterEB", ")", ";", "TargetRegistry", "::", "RegisterMCCodeEmitter", "(", "getTheelTarget", "(", ")", ",", "createMCCodeEmitterEL", ")", ";", "TargetRegistry", "::", "RegisterMCAsmBackend", "(", "getTheTarget", "(", ")", ",", "createAsmBackendEB32", ")", ";"], "ground_truth": ["TargetRegistry", "::", "RegisterMCAsmBackend", "(", "getTheelTarget", "(", ")", ",", "createAsmBackendEL32", ")", ";"], "File": "Cpu0MCTargetDesc", "Func": "LLVMInitializeCpu0TargetMC", "Target": "Cpu0", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 189948, "Length": 148, "Cover_Rate": 0.9932885906040269} {"Template_token": ["", "if", "(", "CPU", ".", "empty", "(", ")", "||", "CPU", "==", "", ")", "{", "if", "(", "TT", ".", "getArch", "(", ")", "==", "Triple", "::", "cpu0", "||", "TT", ".", "getArch", "(", ")", "==", "Triple", "::", "cpu0el", ")", "{", "if", "(", "CPU", ".", "empty", "(", ")", "||", "CPU", "==", "", ")", "{", "ArchFeature", "=", "", ";", "}"], "ground_truth": ["else", "{"], "File": "Cpu0MCTargetDesc", "Func": "selectCpu0ArchFeature", "Target": "Cpu0", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 189949, "Length": 56, "Cover_Rate": 0.6021505376344086} {"Template_token": ["", "static", "StringRef", "selectArchFeature", "(", "const", "Triple", "&", "TT", ",", "StringRef", "CPU", ")", "{", "std", "::", "string", "ArchFeature", ";"], "ground_truth": ["if", "(", "CPU", ".", "empty", "(", ")", "||", "CPU", "==", "", ")", "{"], "File": "Cpu0MCTargetDesc", "Func": "selectCpu0ArchFeature", "Target": "Cpu0", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 189950, "Length": 31, "Cover_Rate": 0.3333333333333333} {"Template_token": ["", "RegisterInfo", "::", "RegisterInfo", "(", "const", "Subtarget", "&", "ST", ",", "const", "TargetInstrInfo", "&", "tii", ")", ":", "GenRegisterInfo", "(", "", ")", ",", "Subtarget", "(", "ST", ")", ",", "TII", "(", "tii", ")", "{"], "ground_truth": ["}"], "File": "Cpu0RegisterInfo1", "Func": "Cpu0RegisterInfo", "Target": "Cpu0", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 189951, "Length": 31, "Cover_Rate": 0.9393939393939394} {"Template_token": ["", "RegisterInfo", "::", "RegisterInfo", "(", "const", "Subtarget", "&", "ST", ",", "const", "TargetInstrInfo", "&", "tii", ")", ":", "GenRegisterInfo", "(", "", ")", ",", "Subtarget", "(", "ST", ")", ",", "TII", "(", "tii", ")", "{"], "ground_truth": ["}"], "File": "Cpu0RegisterInfo1", "Func": "Cpu0RegisterInfo", "Target": "Cpu0", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 189952, "Length": 31, "Cover_Rate": 0.9393939393939394} {"Template_token": ["", "MachineInstr", "&", "MI", "=", "*", "II", ";", "MachineFunction", "&", "MF", "=", "*", "MI", ".", "getParent", "(", ")", "->", "getParent", "(", ")", ";", "MachineFrameInfo", "*", "MFI", "=", "MF", ".", "getFrameInfo", "(", ")", ";", "FunctionInfo", "*", "FI", "=", "MF", ".", "getInfo", "<", "FunctionInfo", ">", "(", ")", ";", "unsigned", "i", "=", "", ";", "while", "(", "!", "MI", ".", "getOperand", "(", "i", ")", ".", "isFI", "(", ")", ")", "{", "++", "i", ";", "assert", "(", "i", "<", "MI", ".", "getNumOperands", "(", ")", "&&", "", ")", ";", "}", "DEBUG", "(", "errs", "(", ")", "<<", "", "<<", "MF", ".", "getFunction", "(", ")", "->", "getName", "(", ")", "<<", "", ";", "errs", "(", ")", "<<", "", "<<", "MI", ")", ";", "int", "FrameIndex", "=", "MI", ".", "getOperand", "(", "i", ")", ".", "getIndex", "(", ")", ";", "uint64_t", "stackSize", "=", "MF", ".", "getFrameInfo", "(", ")", "->", "getStackSize", "(", ")", ";", "int64_t", "spOffset", "=", "MF", ".", "getFrameInfo", "(", ")", "->", "getObjectOffset", "(", "FrameIndex", ")", ";", "DEBUG", "(", "errs", "(", ")", "<<", "", "<<", "FrameIndex", "<<", "", "<<", "", "<<", "spOffset", "<<", "", "<<", "", "<<", "stackSize", "<<", "", ")", ";", "const", "std", "::", "vector", "<", "CalleeSavedInfo", ">", "&", "CSI", "=", "MFI", "->", "getCalleeSavedInfo", "(", ")", ";", "int", "MinCSFI", "=", "", ";", "int", "MaxCSFI", "=", "-", "", ";", "if", "(", "CSI", ".", "size", "(", ")", ")", "{", "MinCSFI", "=", "CSI", "[", "", "]", ".", "getFrameIdx", "(", ")", ";", "MaxCSFI", "=", "CSI", "[", "CSI", ".", "size", "(", ")", "-", "", "]", ".", "getFrameIdx", "(", ")", ";", "}", "unsigned", "FrameReg", ";", "if", "(", "FI", "->", "isOutArgFI", "(", "FrameIndex", ")", "||", "FI", "->", "isDynAllocFI", "(", "FrameIndex", ")", "||", "(", "FrameIndex", ">=", "MinCSFI", "&&", "FrameIndex", "<=", "MaxCSFI", ")", ")", "FrameReg", "=", "", ";", "else", "FrameReg", "=", "getFrameRegister", "(", "MF", ")", ";", "int64_t", "Offset", ";", "if", "(", "FI", "->", "isOutArgFI", "(", "FrameIndex", ")", "||", "FI", "->", "isGPFI", "(", "FrameIndex", ")", "||", "FI", "->", "isDynAllocFI", "(", "FrameIndex", ")", ")", "Offset", "=", "spOffset", ";", "else", "Offset", "=", "spOffset", "+", "(", "int64_t", ")", "stackSize", ";", "Offset", "+=", "MI", ".", "getOperand", "(", "i", "+", "", ")", ".", "getImm", "(", ")", ";"], "ground_truth": ["DEBUG", "(", "errs", "(", ")", "<<", "", "<<", "Offset", "<<", "", "<<", "", ")", ";"], "File": "Cpu0RegisterInfo1", "Func": "eliminateFrameIndex", "Target": "Cpu0", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 189953, "Length": 353, "Cover_Rate": 0.8190255220417634} {"Template_token": ["", "void", "RegisterInfo", "::", "eliminateFrameIndex", "(", "MachineBasicBlock", "::", "iterator", "II", ",", "int", "SPAdj", ",", "unsigned", "FIOperandNum", ",", "RegScavenger", "*", "RS", ")", "const", "{", "MachineInstr", "&", "MI", "=", "*", "II", ";", "MachineFunction", "&", "MF", "=", "*", "MI", ".", "getParent", "(", ")", "->", "getParent", "(", ")", ";", "MachineFrameInfo", "*", "MFI", "=", "MF", ".", "getFrameInfo", "(", ")", ";", "FunctionInfo", "*", "FI", "=", "MF", ".", "getInfo", "<", "FunctionInfo", ">", "(", ")", ";", "unsigned", "i", "=", "", ";", "while", "(", "!", "MI", ".", "getOperand", "(", "i", ")", ".", "isFI", "(", ")", ")", "{", "++", "i", ";", "assert", "(", "i", "<", "MI", ".", "getNumOperands", "(", ")", "&&", "", ")", ";", "}", "DEBUG", "(", "errs", "(", ")", "<<", "", "<<", "MF", ".", "getFunction", "(", ")", "->", "getName", "(", ")", "<<", "", ";"], "ground_truth": ["errs", "(", ")", "<<", "", "<<", "MI", ")", ";"], "File": "Cpu0RegisterInfo1", "Func": "eliminateFrameIndex", "Target": "Cpu0", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 189954, "Length": 133, "Cover_Rate": 0.308584686774942} {"Template_token": ["", "static", "const", "uint16_t", "CalleeSavedRegs", "[", "]", "=", "{", "", "}", ";"], "ground_truth": ["return", "CalleeSavedRegs", ";"], "File": "Cpu0RegisterInfo1", "Func": "getCalleeSavedRegs", "Target": "Cpu0", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 189955, "Length": 14, "Cover_Rate": 0.4827586206896552} {"Template_token": ["", "static", "const", "uint16_t", "CalleeSavedRegs", "[", "]", "=", "{", "", "}", ";"], "ground_truth": ["return", "CalleeSavedRegs", ";"], "File": "Cpu0RegisterInfo1", "Func": "getCalleeSavedRegs", "Target": "Cpu0", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 189956, "Length": 14, "Cover_Rate": 0.4827586206896552} {"Template_token": ["", "return", "TFI", "->", "hasFP", "(", "MF", ")", "?", "(", "", ")", ":"], "ground_truth": ["(", "", ")", ";"], "File": "Cpu0RegisterInfo1", "Func": "getFrameRegister", "Target": "Cpu0", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 189957, "Length": 16, "Cover_Rate": 0.3333333333333333} {"Template_token": ["", "unsigned", "RegisterInfo", "::", "getFrameRegister", "(", "const", "MachineFunction", "&", "MF", ")", "const", "{", "const", "TargetFrameLowering", "*", "TFI", "=", "MF", ".", "getTarget", "(", ")", ".", "getFrameLowering", "(", ")", ";", "return", "TFI", "->", "hasFP", "(", "MF", ")", "?", "(", "", ")", ":", "(", "", ")", ";"], "ground_truth": ["}"], "File": "Cpu0RegisterInfo1", "Func": "getFrameRegister", "Target": "Cpu0", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 189958, "Length": 44, "Cover_Rate": 0.9166666666666666} {"Template_token": ["", "static", "const", "uint16_t", "ReservedCPURegs", "[", "]", "=", "{", "", ",", "", ",", "", ",", "", ",", "", "}", ";", "BitVector", "Reserved", "(", "getNumRegs", "(", ")", ")", ";", "typedef", "TargetRegisterClass", "::", "iterator", "RegIter", ";", "for", "(", "unsigned", "I", "=", "", ";", "I", "<", "array_lengthof", "(", "ReservedCPURegs", ")", ";", "++", "I", ")", "Reserved", ".", "set", "(", "ReservedCPURegs", "[", "I", "]", ")", ";"], "ground_truth": ["if", "(", "MF", ".", "getTarget", "(", ")", ".", "getFrameLowering", "(", ")", "->", "hasFP", "(", "MF", ")", ")", "{"], "File": "Cpu0RegisterInfo1", "Func": "getReservedRegs", "Target": "Cpu0", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 189959, "Length": 78, "Cover_Rate": 0.5379310344827586} {"Template_token": ["", "typedef", "TargetRegisterClass", "::", "iterator", "RegIter", ";", "for", "(", "unsigned", "I", "=", "", ";", "I", "<", "array_lengthof", "(", "ReservedCPURegs", ")", ";", "++", "I", ")", "Reserved", ".", "set", "(", "ReservedCPURegs", "[", "I", "]", ")", ";", "if", "(", "MF", ".", "getTarget", "(", ")", ".", "getFrameLowering", "(", ")", "->", "hasFP", "(", "MF", ")", ")", "{", "Reserved", ".", "set", "(", "", ")", ";", "}", "const", "FunctionInfo", "*", "FI", "=", "MF", ".", "getInfo", "<", "FunctionInfo", ">", "(", ")", ";", "if", "(", "FI", "->", "globalBaseRegFixed", "(", ")", ")", "Reserved", ".", "set", "(", "", ")", ";", "return", "Reserved", ";"], "ground_truth": ["}"], "File": "Cpu0RegisterInfo1", "Func": "getReservedRegs", "Target": "Cpu0", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 189960, "Length": 92, "Cover_Rate": 0.6344827586206897} {"Template_token": ["", "int", "MaxCSFI", "=", "-", "", ";", "if", "(", "CSI", ".", "size", "(", ")", ")", "{", "MinCSFI", "=", "CSI", "[", "", "]", ".", "getFrameIdx", "(", ")", ";", "MaxCSFI", "=", "CSI", "[", "CSI", ".", "size", "(", ")", "-", "", "]", ".", "getFrameIdx", "(", ")", ";", "}", "unsigned", "FrameReg", ";", "FrameReg", "=", "getFrameRegister", "(", "MF", ")", ";", "int64_t", "Offset", ";", "Offset", "=", "spOffset", "+", "(", "int64_t", ")", "stackSize", ";", "Offset", "+=", "MI", ".", "getOperand", "(", "i", "+", "", ")", ".", "getImm", "(", ")", ";", "DEBUG", "(", "errs", "(", ")", "<<", "", "<<", "Offset", "<<", "", "<<", "", ")", ";", "if", "(", "!", "MI", ".", "isDebugValue", "(", ")", "&&", "!", "isInt", "<", "", ">", "(", "Offset", ")", ")", "{", "assert", "(", "", ")", ";"], "ground_truth": ["}"], "File": "Cpu0RegisterInfo2", "Func": "eliminateFrameIndex", "Target": "Cpu0", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 189961, "Length": 121, "Cover_Rate": 0.3418079096045198} {"Template_token": ["", "getCalleeSavedRegs", "(", "const", "MachineFunction", "*", "MF", ")", "const", "{", "return", "CSR_O32_SaveList", ";"], "ground_truth": ["}"], "File": "Cpu0RegisterInfo2", "Func": "getCalleeSavedRegs", "Target": "Cpu0", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 189962, "Length": 13, "Cover_Rate": 0.7222222222222222} {"Template_token": ["", "const", "uint16_t", "*", "RegisterInfo", "::", "getCalleeSavedRegs", "(", "const", "MachineFunction", "*", "MF", ")", "const", "{", "return", "CSR_O32_SaveList", ";"], "ground_truth": ["}"], "File": "Cpu0RegisterInfo2", "Func": "getCalleeSavedRegs", "Target": "Cpu0", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 189963, "Length": 18, "Cover_Rate": 1.0} {"Template_token": ["", "const", "uint32_t", "*", "RegisterInfo", "::", "getCallPreservedMask", "(", "CallingConv", "::", "ID", ")", "const", "{"], "ground_truth": ["return", "CSR_O32_RegMask", ";"], "File": "Cpu0RegisterInfo2", "Func": "getCallPreservedMask", "Target": "Cpu0", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 189964, "Length": 16, "Cover_Rate": 0.9411764705882353} {"Template_token": ["", "for", "(", "unsigned", "I", "=", "", ";", "I", "<", "array_lengthof", "(", "ReservedCPURegs", ")", ";", "++", "I", ")", "Reserved", ".", "set", "(", "ReservedCPURegs", "[", "I", "]", ")", ";", "if", "(", "MF", ".", "getInfo", "<", "FunctionInfo", ">", "(", ")", "->", "globalBaseRegFixed", "(", ")", ")", "{", "Reserved", ".", "set", "(", "", ")", ";", "}", "return", "Reserved", ";"], "ground_truth": ["}"], "File": "Cpu0RegisterInfo2", "Func": "getReservedRegs", "Target": "Cpu0", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 189965, "Length": 55, "Cover_Rate": 0.47413793103448276} {"Template_token": ["", "errs", "(", ")", "<<", "", "<<", "MI", ")", ";", "int", "FrameIndex", "=", "MI", ".", "getOperand", "(", "i", ")", ".", "getIndex", "(", ")", ";", "uint64_t", "stackSize", "=", "MF", ".", "getFrameInfo", "(", ")", ".", "getStackSize", "(", ")", ";", "int64_t", "spOffset", "=", "MF", ".", "getFrameInfo", "(", ")", ".", "getObjectOffset", "(", "FrameIndex", ")", ";", "LLVM_DEBUG", "(", "errs", "(", ")", "<<", "", "<<", "FrameIndex", "<<", "", "<<", "", "<<", "spOffset", "<<", "", "<<", "", "<<", "stackSize", "<<", "", ")", ";", "const", "std", "::", "vector", "<", "CalleeSavedInfo", ">", "&", "CSI", "=", "MFI", ".", "getCalleeSavedInfo", "(", ")", ";", "int", "MinCSFI", "=", "", ";", "int", "MaxCSFI", "=", "-", "", ";", "if", "(", "CSI", ".", "size", "(", ")", ")", "{", "MinCSFI", "=", "CSI", "[", "", "]", ".", "getFrameIdx", "(", ")", ";", "MaxCSFI", "=", "CSI", "[", "CSI", ".", "size", "(", ")", "-", "", "]", ".", "getFrameIdx", "(", ")", ";"], "ground_truth": ["}"], "File": "Cpu0RegisterInfo4", "Func": "eliminateFrameIndex", "Target": "Cpu0", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 189966, "Length": 140, "Cover_Rate": 0.39106145251396646} {"Template_token": ["", "MachineFunction", "&", "MF", "=", "*", "MI", ".", "getParent", "(", ")", "->", "getParent", "(", ")", ";", "MachineFrameInfo", "&", "MFI", "=", "MF", ".", "getFrameInfo", "(", ")", ";", "unsigned", "i", "=", "", ";", "while", "(", "!", "MI", ".", "getOperand", "(", "i", ")", ".", "isFI", "(", ")", ")", "{", "++", "i", ";", "assert", "(", "i", "<", "MI", ".", "getNumOperands", "(", ")", "&&", "", ")", ";", "}", "LLVM_DEBUG", "(", "errs", "(", ")", "<<", "", "<<", "MF", ".", "getFunction", "(", ")", ".", "getName", "(", ")", "<<", "", ";", "errs", "(", ")", "<<", "", "<<", "MI", ")", ";", "int", "FrameIndex", "=", "MI", ".", "getOperand", "(", "i", ")", ".", "getIndex", "(", ")", ";", "uint64_t", "stackSize", "=", "MF", ".", "getFrameInfo", "(", ")", ".", "getStackSize", "(", ")", ";"], "ground_truth": ["int64_t", "spOffset", "=", "MF", ".", "getFrameInfo", "(", ")", ".", "getObjectOffset", "(", "FrameIndex", ")", ";"], "File": "Cpu0RegisterInfo4", "Func": "eliminateFrameIndex", "Target": "Cpu0", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 189967, "Length": 132, "Cover_Rate": 0.3687150837988827} {"Template_token": ["", "unsigned", "RegisterInfo", "::", "getFrameRegister", "(", "const", "MachineFunction", "&", "MF", ")", "const", "{", "const", "TargetFrameLowering", "*", "TFI", "=", "MF", ".", "getSubtarget", "(", ")", ".", "getFrameLowering", "(", ")", ";", "return", "TFI", "->", "hasFP", "(", "MF", ")", "?", "(", "", ")", ":"], "ground_truth": ["(", "", ")", ";"], "File": "Cpu0RegisterInfo4", "Func": "getFrameRegister", "Target": "Cpu0", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 189968, "Length": 43, "Cover_Rate": 0.8958333333333334} {"Template_token": ["", "return", "TFI", "->", "hasFP", "(", "MF", ")", "?", "(", "", ")", ":", "(", "", ")", ";"], "ground_truth": ["}"], "File": "Cpu0RegisterInfo4", "Func": "getFrameRegister", "Target": "Cpu0", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 189969, "Length": 17, "Cover_Rate": 0.3541666666666667} {"Template_token": ["", "for", "(", "unsigned", "I", "=", "", ";", "I", "<", "array_lengthof", "(", "ReservedCPURegs", ")", ";", "++", "I", ")", "Reserved", ".", "set", "(", "ReservedCPURegs", "[", "I", "]", ")", ";"], "ground_truth": ["const", "MachineFunctionInfo", "*", "FI", "=", "MF", ".", "getInfo", "<", "MachineFunctionInfo", ">", "(", ")", ";"], "File": "Cpu0RegisterInfo4", "Func": "getReservedRegs", "Target": "Cpu0", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 189970, "Length": 41, "Cover_Rate": 0.36936936936936937} {"Template_token": ["", "RegisterInfo", "::", "RegisterInfo", "(", "const", "Subtarget", "&", "ST", ")", ":", "GenRegisterInfo", "(", "", ")", ",", "Subtarget", "(", "ST", ")", "{"], "ground_truth": ["}"], "File": "Cpu0RegisterInfo", "Func": "Cpu0RegisterInfo", "Target": "Cpu0", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 189971, "Length": 21, "Cover_Rate": 0.9130434782608695} {"Template_token": ["", "RegisterInfo", "::", "RegisterInfo", "(", "const", "Subtarget", "&", "ST", ")", ":", "GenRegisterInfo", "(", "", ")", ",", "Subtarget", "(", "ST", ")", "{"], "ground_truth": ["}"], "File": "Cpu0RegisterInfo", "Func": "Cpu0RegisterInfo", "Target": "Cpu0", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 189972, "Length": 21, "Cover_Rate": 0.9130434782608695} {"Template_token": ["", "if", "(", "FI", "->", "isOutArgFI", "(", "FrameIndex", ")", "||", "FI", "->", "isDynAllocFI", "(", "FrameIndex", ")", "||", "(", "FrameIndex", ">=", "MinCSFI", "&&", "FrameIndex", "<=", "MaxCSFI", ")", ")", "FrameReg", "=", "", ";", "else", "FrameReg", "=", "getFrameRegister", "(", "MF", ")", ";", "int64_t", "Offset", ";", "if", "(", "FI", "->", "isOutArgFI", "(", "FrameIndex", ")", "||", "FI", "->", "isGPFI", "(", "FrameIndex", ")", "||", "FI", "->", "isDynAllocFI", "(", "FrameIndex", ")", ")", "Offset", "=", "spOffset", ";", "else", "Offset", "=", "spOffset", "+", "(", "int64_t", ")", "stackSize", ";", "Offset", "+=", "MI", ".", "getOperand", "(", "i", "+", "", ")", ".", "getImm", "(", ")", ";", "LLVM_DEBUG", "(", "errs", "(", ")", "<<", "", "<<", "Offset", "<<", "", "<<", "", ")", ";", "if", "(", "!", "MI", ".", "isDebugValue", "(", ")", "&&", "!", "isInt", "<", "", ">", "(", "Offset", ")", ")", "{", "assert", "(", "", ")", ";", "}", "MI", ".", "getOperand", "(", "i", ")", ".", "ChangeToRegister", "(", "FrameReg", ",", "false", ")", ";"], "ground_truth": ["MI", ".", "getOperand", "(", "i", "+", "", ")", ".", "ChangeToImmediate", "(", "Offset", ")", ";"], "File": "Cpu0RegisterInfo", "Func": "eliminateFrameIndex", "Target": "Cpu0", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 189973, "Length": 161, "Cover_Rate": 0.37354988399071926} {"Template_token": ["", "const", "MCPhysReg", "*", "RegisterInfo", "::", "getCalleeSavedRegs", "(", "const", "MachineFunction", "*", "MF", ")", "const", "{"], "ground_truth": ["return", "CSR_O32_SaveList", ";"], "File": "Cpu0RegisterInfo", "Func": "getCalleeSavedRegs", "Target": "Cpu0", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 189974, "Length": 17, "Cover_Rate": 0.9444444444444444} {"Template_token": ["", "const", "uint32_t", "*", "RegisterInfo", "::", "getCallPreservedMask", "(", "const", "MachineFunction", "&", "MF", ",", "CallingConv", "::", "ID", ")", "const", "{", "return", "CSR_O32_RegMask", ";"], "ground_truth": ["}"], "File": "Cpu0RegisterInfo", "Func": "getCallPreservedMask", "Target": "Cpu0", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 189975, "Length": 22, "Cover_Rate": 1.0} {"Template_token": ["", "return", "TFI", "->", "hasFP", "(", "MF", ")", "?", "(", "", ")", ":"], "ground_truth": ["(", "", ")", ";"], "File": "Cpu0RegisterInfo", "Func": "getFrameRegister", "Target": "Cpu0", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 189976, "Length": 16, "Cover_Rate": 0.3333333333333333} {"Template_token": ["", "getReservedRegs", "(", "const", "MachineFunction", "&", "MF", ")", "const", "{", "static", "const", "uint16_t", "ReservedCPURegs", "[", "]", "=", "{", "", ",", "", ",", "", ",", "", ",", "", "}", ";", "BitVector", "Reserved", "(", "getNumRegs", "(", ")", ")", ";", "for", "(", "unsigned", "I", "=", "", ";", "I", "<", "array_lengthof", "(", "ReservedCPURegs", ")", ";", "++", "I", ")", "Reserved", ".", "set", "(", "ReservedCPURegs", "[", "I", "]", ")", ";", "if", "(", "MF", ".", "getSubtarget", "(", ")", ".", "getFrameLowering", "(", ")", "->", "hasFP", "(", "MF", ")", ")", "{", "Reserved", ".", "set", "(", "", ")", ";"], "ground_truth": ["}"], "File": "Cpu0RegisterInfo", "Func": "getReservedRegs", "Target": "Cpu0", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 189977, "Length": 89, "Cover_Rate": 0.6402877697841727} {"Template_token": ["", "static", "const", "uint16_t", "ReservedCPURegs", "[", "]", "=", "{", "", ",", "", ",", "", ",", "", ",", "", "}", ";", "BitVector", "Reserved", "(", "getNumRegs", "(", ")", ")", ";", "for", "(", "unsigned", "I", "=", "", ";", "I", "<", "array_lengthof", "(", "ReservedCPURegs", ")", ";", "++", "I", ")", "Reserved", ".", "set", "(", "ReservedCPURegs", "[", "I", "]", ")", ";", "if", "(", "MF", ".", "getSubtarget", "(", ")", ".", "getFrameLowering", "(", ")", "->", "hasFP", "(", "MF", ")", ")", "{", "Reserved", ".", "set", "(", "", ")", ";", "}"], "ground_truth": ["const", "FunctionInfo", "*", "FI", "=", "MF", ".", "getInfo", "<", "FunctionInfo", ">", "(", ")", ";"], "File": "Cpu0RegisterInfo", "Func": "getReservedRegs", "Target": "Cpu0", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 189978, "Length": 94, "Cover_Rate": 0.6762589928057554} {"Template_token": ["", "bool", "RegisterInfo", "::", "requiresRegisterScavenging", "(", "const", "MachineFunction", "&", "MF", ")", "const", "{"], "ground_truth": ["return", "true", ";"], "File": "Cpu0RegisterInfo", "Func": "requiresRegisterScavenging", "Target": "Cpu0", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 189979, "Length": 15, "Cover_Rate": 0.9375} {"Template_token": ["", "bool", "RegisterInfo", "::", "trackLivenessAfterRegAlloc", "(", "const", "MachineFunction", "&", "MF", ")", "const", "{", "return", "true", ";"], "ground_truth": ["}"], "File": "Cpu0RegisterInfo", "Func": "trackLivenessAfterRegAlloc", "Target": "Cpu0", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 189980, "Length": 16, "Cover_Rate": 1.0} {"Template_token": ["", "return", "new", "SEFrameLowering", "(", "ST", ")", ";"], "ground_truth": ["}"], "File": "Cpu0SEFrameLowering1", "Func": "createCpu0SEFrameLowering", "Target": "Cpu0", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 189981, "Length": 8, "Cover_Rate": 0.38095238095238093} {"Template_token": ["", "const", "FrameLowering", "*", "llvm", "::", "createSEFrameLowering", "(", "const", "Subtarget", "&", "ST", ")", "{", "return", "new", "SEFrameLowering", "(", "ST", ")", ";"], "ground_truth": ["}"], "File": "Cpu0SEFrameLowering1", "Func": "createCpu0SEFrameLowering", "Target": "Cpu0", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 189982, "Length": 21, "Cover_Rate": 1.0} {"Template_token": ["", "void", "SEFrameLowering", "::", "determineCalleeSaves", "(", "MachineFunction", "&", "MF", ",", "BitVector", "&", "SavedRegs", ",", "RegScavenger", "*", "RS", ")", "const", "{", "TargetFrameLowering", "::", "determineCalleeSaves", "(", "MF", ",", "SavedRegs", ",", "RS", ")", ";", "if", "(", "MF", ".", "getFrameInfo", "(", ")", ".", "hasCalls", "(", ")", ")", "setAliasRegs", "(", "MF", ",", "SavedRegs", ",", "", ")", ";"], "ground_truth": ["return", ";"], "File": "Cpu0SEFrameLowering1", "Func": "determineCalleeSaves", "Target": "Cpu0", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 189983, "Length": 53, "Cover_Rate": 0.9464285714285714} {"Template_token": ["", "const", "SEInstrInfo", "&", "TII", "=", "*", "static_cast", "<", "const", "SEInstrInfo", "*", ">", "(", "STI", ".", "getInstrInfo", "(", ")", ")", ";", "const", "RegisterInfo", "&", "RegInfo", "=", "*", "static_cast", "<", "const", "SERegisterInfo", "*", ">", "(", "STI", ".", "getRegisterInfo", "(", ")", ")", ";", "DebugLoc", "dl", "=", "MBBI", "->", "getDebugLoc", "(", ")", ";", "ABIInfo", "ABI", "=", "STI", ".", "getABI", "(", ")", ";", "unsigned", "SP", "=", "", ";", "uint64_t", "StackSize", "=", "MFI", ".", "getStackSize", "(", ")", ";", "if", "(", "!", "StackSize", ")", "return", ";", "TII", ".", "adjustStackPtr", "(", "SP", ",", "StackSize", ",", "MBB", ",", "MBBI", ")", ";"], "ground_truth": ["}"], "File": "Cpu0SEFrameLowering1", "Func": "emitEpilogue", "Target": "Cpu0", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 189984, "Length": 93, "Cover_Rate": 0.6458333333333334} {"Template_token": ["", "MachineFunctionInfo", "*", "FI", "=", "MF", ".", "getInfo", "<", "MachineFunctionInfo", ">", "(", ")", ";", "const", "SEInstrInfo", "&", "TII", "=", "*", "static_cast", "<", "const", "SEInstrInfo", "*", ">", "(", "STI", ".", "getInstrInfo", "(", ")", ")", ";", "const", "RegisterInfo", "&", "RegInfo", "=", "*", "static_cast", "<", "const", "RegisterInfo", "*", ">", "(", "STI", ".", "getRegisterInfo", "(", ")", ")", ";", "MachineBasicBlock", "::", "iterator", "MBBI", "=", "MBB", ".", "begin", "(", ")", ";", "DebugLoc", "dl", "=", "MBBI", "!=", "MBB", ".", "end", "(", ")", "?", "MBBI", "->", "getDebugLoc", "(", ")", ":", "DebugLoc", "(", ")", ";", "ABIInfo", "ABI", "=", "STI", ".", "getABI", "(", ")", ";", "unsigned", "SP", "=", "", ";", "const", "TargetRegisterClass", "*", "RC", "=", "&", "", ";", "uint64_t", "StackSize", "=", "MFI", ".", "getStackSize", "(", ")", ";", "if", "(", "StackSize", "==", "", "&&", "!", "MFI", ".", "adjustsStack", "(", ")", ")", "return", ";", "MachineModuleInfo", "&", "MMI", "=", "MF", ".", "getMMI", "(", ")", ";", "const", "MCRegisterInfo", "*", "MRI", "=", "MMI", ".", "getContext", "(", ")", ".", "getRegisterInfo", "(", ")", ";", "TII", ".", "adjustStackPtr", "(", "SP", ",", "-", "StackSize", ",", "MBB", ",", "MBBI", ")", ";", "unsigned", "CFIIndex", "=", "MF", ".", "addFrameInst", "(", "MCCFIInstruction", "::", "createDefCfaOffset", "(", "nullptr", ",", "-", "StackSize", ")", ")", ";", "BuildMI", "(", "MBB", ",", "MBBI", ",", "dl", ",", "TII", ".", "get", "(", "TargetOpcode", "::", "CFI_INSTRUCTION", ")", ")", ".", "addCFIIndex", "(", "CFIIndex", ")", ";", "const", "std", "::", "vector", "<", "CalleeSavedInfo", ">", "&", "CSI", "=", "MFI", ".", "getCalleeSavedInfo", "(", ")", ";", "if", "(", "CSI", ".", "size", "(", ")", ")", "{", "for", "(", "unsigned", "i", "=", "", ";", "i", "<", "CSI", ".", "size", "(", ")", ";", "++", "i", ")", "++", "MBBI", ";", "for", "(", "std", "::", "vector", "<", "CalleeSavedInfo", ">", "::", "const_iterator", "I", "=", "CSI", ".", "begin", "(", ")", ",", "E", "=", "CSI", ".", "end", "(", ")", ";", "I", "!=", "E", ";", "++", "I", ")", "{", "int64_t", "Offset", "=", "MFI", ".", "getObjectOffset", "(", "I", "->", "getFrameIdx", "(", ")", ")", ";", "unsigned", "Reg", "=", "I", "->", "getReg", "(", ")", ";", "{", "unsigned", "CFIIndex", "=", "MF", ".", "addFrameInst", "(", "MCCFIInstruction", "::", "createOffset", "(", "nullptr", ",", "MRI", "->", "getDwarfRegNum", "(", "Reg", ",", "", ")", ",", "Offset", ")", ")", ";", "BuildMI", "(", "MBB", ",", "MBBI", ",", "dl", ",", "TII", ".", "get", "(", "TargetOpcode", "::", "CFI_INSTRUCTION", ")", ")", ".", "addCFIIndex", "(", "CFIIndex", ")", ";", "}", "}", "}"], "ground_truth": ["}"], "File": "Cpu0SEFrameLowering1", "Func": "emitPrologue", "Target": "Cpu0", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 189985, "Length": 368, "Cover_Rate": 0.8932038834951457} {"Template_token": ["", "unsigned", "SP", "=", "", ";", "const", "TargetRegisterClass", "*", "RC", "=", "&", "", ";", "uint64_t", "StackSize", "=", "MFI", ".", "getStackSize", "(", ")", ";", "if", "(", "StackSize", "==", "", "&&", "!", "MFI", ".", "adjustsStack", "(", ")", ")", "return", ";", "MachineModuleInfo", "&", "MMI", "=", "MF", ".", "getMMI", "(", ")", ";", "const", "MCRegisterInfo", "*", "MRI", "=", "MMI", ".", "getContext", "(", ")", ".", "getRegisterInfo", "(", ")", ";", "TII", ".", "adjustStackPtr", "(", "SP", ",", "-", "StackSize", ",", "MBB", ",", "MBBI", ")", ";", "unsigned", "CFIIndex", "=", "MF", ".", "addFrameInst", "(", "MCCFIInstruction", "::", "createDefCfaOffset", "(", "nullptr", ",", "-", "StackSize", ")", ")", ";", "BuildMI", "(", "MBB", ",", "MBBI", ",", "dl", ",", "TII", ".", "get", "(", "TargetOpcode", "::", "CFI_INSTRUCTION", ")", ")", ".", "addCFIIndex", "(", "CFIIndex", ")", ";", "const", "std", "::", "vector", "<", "CalleeSavedInfo", ">", "&", "CSI", "=", "MFI", ".", "getCalleeSavedInfo", "(", ")", ";", "if", "(", "CSI", ".", "size", "(", ")", ")", "{", "for", "(", "unsigned", "i", "=", "", ";", "i", "<", "CSI", ".", "size", "(", ")", ";", "++", "i", ")", "++", "MBBI", ";"], "ground_truth": ["for", "(", "std", "::", "vector", "<", "CalleeSavedInfo", ">", "::", "const_iterator", "I", "=", "CSI", ".", "begin", "(", ")", ",", "E", "=", "CSI", ".", "end", "(", ")", ";", "I", "!=", "E", ";", "++", "I", ")", "{"], "File": "Cpu0SEFrameLowering1", "Func": "emitPrologue", "Target": "Cpu0", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 189986, "Length": 197, "Cover_Rate": 0.47815533980582525} {"Template_token": ["", "SEFrameLowering", "::", "SEFrameLowering", "(", "const", "Subtarget", "&", "STI", ")", ":", "FrameLowering", "(", "STI", ",", "STI", ".", "stackAlignment", "(", ")", ")", "{"], "ground_truth": ["}"], "File": "Cpu0SEFrameLowering", "Func": "Cpu0SEFrameLowering", "Target": "Cpu0", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 189987, "Length": 22, "Cover_Rate": 1.0} {"Template_token": ["", "SEFrameLowering", "::", "SEFrameLowering", "(", "const", "Subtarget", "&", "STI", ")", ":", "FrameLowering", "(", "STI", ",", "STI", ".", "stackAlignment", "(", ")", ")", "{"], "ground_truth": ["}"], "File": "Cpu0SEFrameLowering", "Func": "Cpu0SEFrameLowering", "Target": "Cpu0", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 189988, "Length": 22, "Cover_Rate": 1.0} {"Template_token": ["", "const", "FrameLowering", "*", "llvm", "::", "createSEFrameLowering", "(", "const", "Subtarget", "&", "ST", ")", "{", "return", "new", "SEFrameLowering", "(", "ST", ")", ";"], "ground_truth": ["}"], "File": "Cpu0SEFrameLowering", "Func": "createCpu0SEFrameLowering", "Target": "Cpu0", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 189989, "Length": 21, "Cover_Rate": 1.0} {"Template_token": ["", "return", "new", "SEFrameLowering", "(", "ST", ")", ";"], "ground_truth": ["}"], "File": "Cpu0SEFrameLowering", "Func": "createCpu0SEFrameLowering", "Target": "Cpu0", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 189990, "Length": 8, "Cover_Rate": 0.38095238095238093} {"Template_token": ["", "MachineRegisterInfo", "&", "MRI", "=", "MF", ".", "getRegInfo", "(", ")", ";", "unsigned", "FP", "=", "", ";", "if", "(", "hasFP", "(", "MF", ")", ")", "setAliasRegs", "(", "MF", ",", "SavedRegs", ",", "FP", ")", ";"], "ground_truth": ["if", "(", "FI", "->", "callsEhReturn", "(", ")", ")", "FI", "->", "createEhDataRegsFI", "(", ")", ";"], "File": "Cpu0SEFrameLowering", "Func": "determineCalleeSaves", "Target": "Cpu0", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 189991, "Length": 45, "Cover_Rate": 0.3879310344827586} {"Template_token": ["", "void", "SEFrameLowering", "::", "determineCalleeSaves", "(", "MachineFunction", "&", "MF", ",", "BitVector", "&", "SavedRegs", ",", "RegScavenger", "*", "RS", ")", "const", "{", "TargetFrameLowering", "::", "determineCalleeSaves", "(", "MF", ",", "SavedRegs", ",", "RS", ")", ";", "MachineFunctionInfo", "*", "FI", "=", "MF", ".", "getInfo", "<", "MachineFunctionInfo", ">", "(", ")", ";"], "ground_truth": ["MachineRegisterInfo", "&", "MRI", "=", "MF", ".", "getRegInfo", "(", ")", ";"], "File": "Cpu0SEFrameLowering", "Func": "determineCalleeSaves", "Target": "Cpu0", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 189992, "Length": 53, "Cover_Rate": 0.45689655172413796} {"Template_token": ["", "unsigned", "ADDu", "=", "", ";", "if", "(", "hasFP", "(", "MF", ")", ")", "{", "MachineBasicBlock", "::", "iterator", "I", "=", "MBBI", ";", "for", "(", "unsigned", "i", "=", "", ";", "i", "<", "MFI", ".", "getCalleeSavedInfo", "(", ")", ".", "size", "(", ")", ";", "++", "i", ")", "--", "I", ";", "BuildMI", "(", "MBB", ",", "I", ",", "dl", ",", "TII", ".", "get", "(", "ADDu", ")", ",", "SP", ")", ".", "addReg", "(", "FP", ")", ".", "addReg", "(", "ZERO", ")", ";", "}", "if", "(", "FI", "->", "callsEhReturn", "(", ")", ")", "{", "const", "TargetRegisterClass", "*", "RC", "=", "&", "", ";", "MachineBasicBlock", "::", "iterator", "I", "=", "MBBI", ";", "for", "(", "unsigned", "i", "=", "", ";", "i", "<", "MFI", ".", "getCalleeSavedInfo", "(", ")", ".", "size", "(", ")", ";", "++", "i", ")", "--", "I", ";"], "ground_truth": ["for", "(", "int", "J", "=", "", ";", "J", "<", "ABI", ".", "EhDataRegSize", "(", ")", ";", "++", "J", ")", "{"], "File": "Cpu0SEFrameLowering", "Func": "emitEpilogue", "Target": "Cpu0", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 189993, "Length": 142, "Cover_Rate": 0.4251497005988024} {"Template_token": ["", "unsigned", "FP", "=", "", ";", "unsigned", "ZERO", "=", "", ";", "unsigned", "ADDu", "=", "", ";", "const", "TargetRegisterClass", "*", "RC", "=", "&", "", ";", "uint64_t", "StackSize", "=", "MFI", ".", "getStackSize", "(", ")", ";", "if", "(", "StackSize", "==", "", "&&", "!", "MFI", ".", "adjustsStack", "(", ")", ")", "return", ";", "MachineModuleInfo", "&", "MMI", "=", "MF", ".", "getMMI", "(", ")", ";", "const", "MCRegisterInfo", "*", "MRI", "=", "MMI", ".", "getContext", "(", ")", ".", "getRegisterInfo", "(", ")", ";", "TII", ".", "adjustStackPtr", "(", "SP", ",", "-", "StackSize", ",", "MBB", ",", "MBBI", ")", ";", "unsigned", "CFIIndex", "=", "MF", ".", "addFrameInst", "(", "MCCFIInstruction", "::", "createDefCfaOffset", "(", "nullptr", ",", "-", "StackSize", ")", ")", ";", "BuildMI", "(", "MBB", ",", "MBBI", ",", "dl", ",", "TII", ".", "get", "(", "TargetOpcode", "::", "CFI_INSTRUCTION", ")", ")", ".", "addCFIIndex", "(", "CFIIndex", ")", ";", "const", "std", "::", "vector", "<", "CalleeSavedInfo", ">", "&", "CSI", "=", "MFI", ".", "getCalleeSavedInfo", "(", ")", ";", "if", "(", "CSI", ".", "size", "(", ")", ")", "{", "for", "(", "unsigned", "i", "=", "", ";", "i", "<", "CSI", ".", "size", "(", ")", ";", "++", "i", ")", "++", "MBBI", ";", "for", "(", "std", "::", "vector", "<", "CalleeSavedInfo", ">", "::", "const_iterator", "I", "=", "CSI", ".", "begin", "(", ")", ",", "E", "=", "CSI", ".", "end", "(", ")", ";", "I", "!=", "E", ";", "++", "I", ")", "{", "int64_t", "Offset", "=", "MFI", ".", "getObjectOffset", "(", "I", "->", "getFrameIdx", "(", ")", ")", ";", "unsigned", "Reg", "=", "I", "->", "getReg", "(", ")", ";", "{", "unsigned", "CFIIndex", "=", "MF", ".", "addFrameInst", "(", "MCCFIInstruction", "::", "createOffset", "(", "nullptr", ",", "MRI", "->", "getDwarfRegNum", "(", "Reg", ",", "", ")", ",", "Offset", ")", ")", ";", "BuildMI", "(", "MBB", ",", "MBBI", ",", "dl", ",", "TII", ".", "get", "(", "TargetOpcode", "::", "CFI_INSTRUCTION", ")", ")", ".", "addCFIIndex", "(", "CFIIndex", ")", ";", "}", "}", "}"], "ground_truth": ["if", "(", "FI", "->", "callsEhReturn", "(", ")", ")", "{"], "File": "Cpu0SEFrameLowering", "Func": "emitPrologue", "Target": "Cpu0", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 189994, "Length": 292, "Cover_Rate": 0.36228287841191065} {"Template_token": ["", "const", "TargetRegisterClass", "*", "RC", "=", "&", "", ";", "uint64_t", "StackSize", "=", "MFI", ".", "getStackSize", "(", ")", ";", "if", "(", "StackSize", "==", "", "&&", "!", "MFI", ".", "adjustsStack", "(", ")", ")", "return", ";", "MachineModuleInfo", "&", "MMI", "=", "MF", ".", "getMMI", "(", ")", ";", "const", "MCRegisterInfo", "*", "MRI", "=", "MMI", ".", "getContext", "(", ")", ".", "getRegisterInfo", "(", ")", ";", "TII", ".", "adjustStackPtr", "(", "SP", ",", "-", "StackSize", ",", "MBB", ",", "MBBI", ")", ";", "unsigned", "CFIIndex", "=", "MF", ".", "addFrameInst", "(", "MCCFIInstruction", "::", "createDefCfaOffset", "(", "nullptr", ",", "-", "StackSize", ")", ")", ";", "BuildMI", "(", "MBB", ",", "MBBI", ",", "dl", ",", "TII", ".", "get", "(", "TargetOpcode", "::", "CFI_INSTRUCTION", ")", ")", ".", "addCFIIndex", "(", "CFIIndex", ")", ";", "const", "std", "::", "vector", "<", "CalleeSavedInfo", ">", "&", "CSI", "=", "MFI", ".", "getCalleeSavedInfo", "(", ")", ";", "if", "(", "CSI", ".", "size", "(", ")", ")", "{", "for", "(", "unsigned", "i", "=", "", ";", "i", "<", "CSI", ".", "size", "(", ")", ";", "++", "i", ")", "++", "MBBI", ";", "for", "(", "std", "::", "vector", "<", "CalleeSavedInfo", ">", "::", "const_iterator", "I", "=", "CSI", ".", "begin", "(", ")", ",", "E", "=", "CSI", ".", "end", "(", ")", ";", "I", "!=", "E", ";", "++", "I", ")", "{", "int64_t", "Offset", "=", "MFI", ".", "getObjectOffset", "(", "I", "->", "getFrameIdx", "(", ")", ")", ";", "unsigned", "Reg", "=", "I", "->", "getReg", "(", ")", ";", "{", "unsigned", "CFIIndex", "=", "MF", ".", "addFrameInst", "(", "MCCFIInstruction", "::", "createOffset", "(", "nullptr", ",", "MRI", "->", "getDwarfRegNum", "(", "Reg", ",", "", ")", ",", "Offset", ")", ")", ";", "BuildMI", "(", "MBB", ",", "MBBI", ",", "dl", ",", "TII", ".", "get", "(", "TargetOpcode", "::", "CFI_INSTRUCTION", ")", ")", ".", "addCFIIndex", "(", "CFIIndex", ")", ";"], "ground_truth": ["}"], "File": "Cpu0SEFrameLowering", "Func": "emitPrologue", "Target": "Cpu0", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 189995, "Length": 266, "Cover_Rate": 0.33002481389578164} {"Template_token": ["", "bool", "SEFrameLowering", "::", "hasReservedCallFrame", "(", "const", "MachineFunction", "&", "MF", ")", "const", "{", "const", "MachineFrameInfo", "&", "MFI", "=", "MF", ".", "getFrameInfo", "(", ")", ";"], "ground_truth": ["return", "isInt", "<", "", ">", "(", "MFI", ".", "getMaxCallFrameSize", "(", ")", "+", "getStackAlignment", "(", ")", ")", "&&", "!", "MFI", ".", "hasVarSizedObjects", "(", ")", ";"], "File": "Cpu0SEFrameLowering", "Func": "hasReservedCallFrame", "Target": "Cpu0", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 189996, "Length": 47, "Cover_Rate": 0.9791666666666666} {"Template_token": ["", "return", "isInt", "<", "", ">", "(", "MFI", ".", "getMaxCallFrameSize", "(", ")", "+", "getStackAlignment", "(", ")", ")", "&&", "!", "MFI", ".", "hasVarSizedObjects", "(", ")", ";"], "ground_truth": ["}"], "File": "Cpu0SEFrameLowering", "Func": "hasReservedCallFrame", "Target": "Cpu0", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 189997, "Length": 25, "Cover_Rate": 0.5208333333333334} {"Template_token": ["", "for", "(", "MCRegAliasIterator", "AI", "(", "Reg", ",", "TRI", ",", "true", ")", ";", "AI", ".", "isValid", "(", ")", ";", "++", "AI", ")", "SavedRegs", ".", "set", "(", "*", "AI", ")", ";"], "ground_truth": ["}"], "File": "Cpu0SEFrameLowering", "Func": "setAliasRegs", "Target": "Cpu0", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 189998, "Length": 30, "Cover_Rate": 0.4918032786885246} {"Template_token": ["", "static", "void", "setAliasRegs", "(", "MachineFunction", "&", "MF", ",", "BitVector", "&", "SavedRegs", ",", "unsigned", "Reg", ")", "{", "const", "TargetRegisterInfo", "*", "TRI", "=", "MF", ".", "getSubtarget", "(", ")", ".", "getRegisterInfo", "(", ")", ";"], "ground_truth": ["for", "(", "MCRegAliasIterator", "AI", "(", "Reg", ",", "TRI", ",", "true", ")", ";", "AI", ".", "isValid", "(", ")", ";", "++", "AI", ")", "SavedRegs", ".", "set", "(", "*", "AI", ")", ";"], "File": "Cpu0SEFrameLowering", "Func": "setAliasRegs", "Target": "Cpu0", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 189999, "Length": 60, "Cover_Rate": 0.9836065573770492} {"Template_token": ["", "const", "TargetInstrInfo", "&", "TII", "=", "*", "MF", "->", "getSubtarget", "(", ")", ".", "getInstrInfo", "(", ")", ";", "for", "(", "unsigned", "i", "=", "", ",", "e", "=", "CSI", ".", "size", "(", ")", ";", "i", "!=", "e", ";", "++", "i", ")", "{", "unsigned", "Reg", "=", "CSI", "[", "i", "]", ".", "getReg", "(", ")", ";", "bool", "IsRAAndRetAddrIsTaken", "=", "(", "Reg", "==", "", ")", "&&", "MF", "->", "getFrameInfo", "(", ")", ".", "isReturnAddressTaken", "(", ")", ";"], "ground_truth": ["if", "(", "!", "IsRAAndRetAddrIsTaken", ")", "EntryBlock", "->", "addLiveIn", "(", "Reg", ")", ";"], "File": "Cpu0SEFrameLowering", "Func": "spillCalleeSavedRegisters", "Target": "Cpu0", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 190000, "Length": 82, "Cover_Rate": 0.44086021505376344} {"Template_token": ["", "MachineBasicBlock", "&", "MBB", "=", "*", "MI", ".", "getParent", "(", ")", ";", "switch", "(", "MI", ".", "getDesc", "(", ")", ".", "getOpcode", "(", ")", ")", "{", "default", ":", "return", "false", ";", "case", "", ":", "expandRetLR", "(", "MBB", ",", "MI", ")", ";", "break", ";"], "ground_truth": ["}"], "File": "Cpu0SEInstrInfo1", "Func": "expandPostRAPseudo", "Target": "Cpu0", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 190001, "Length": 42, "Cover_Rate": 0.6363636363636364} {"Template_token": ["", "if", "(", "Inst", "->", "Opc", "==", "LUi", ")", "BuildMI", "(", "MBB", ",", "II", ",", "DL", ",", "get", "(", "LUi", ")", ",", "ATReg", ")", ".", "addImm", "(", "SignExtend64", "<", "", ">", "(", "Inst", "->", "ImmOperand", ")", ")", ";", "else", "BuildMI", "(", "MBB", ",", "II", ",", "DL", ",", "get", "(", "Inst", "->", "Opc", ")", ",", "ATReg", ")", ".", "addReg", "(", "ZEROReg", ")", ".", "addImm", "(", "SignExtend64", "<", "", ">", "(", "Inst", "->", "ImmOperand", ")", ")", ";", "for", "(", "++", "Inst", ";", "Inst", "!=", "Seq", ".", "end", "(", ")", "-", "LastInstrIsADDiu", ";", "++", "Inst", ")", "BuildMI", "(", "MBB", ",", "II", ",", "DL", ",", "get", "(", "Inst", "->", "Opc", ")", ",", "ATReg", ")", ".", "addReg", "(", "ATReg", ")", ".", "addImm", "(", "SignExtend64", "<", "", ">", "(", "Inst", "->", "ImmOperand", ")", ")", ";", "if", "(", "LastInstrIsADDiu", ")", "*", "NewImm", "=", "Inst", "->", "ImmOperand", ";"], "ground_truth": ["return", "ATReg", ";"], "File": "Cpu0SEInstrInfo1", "Func": "loadImmediate", "Target": "Cpu0", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 190002, "Length": 142, "Cover_Rate": 0.5461538461538461} {"Template_token": ["", "DebugLoc", "DL", "=", "I", "!=", "MBB", ".", "end", "(", ")", "?", "I", "->", "getDebugLoc", "(", ")", ":", "DebugLoc", "(", ")", ";", "unsigned", "ADDu", "=", "", ";", "unsigned", "ADDiu", "=", "", ";", "if", "(", "isInt", "<", "", ">", "(", "Amount", ")", ")", "{", "BuildMI", "(", "MBB", ",", "I", ",", "DL", ",", "get", "(", "ADDiu", ")", ",", "SP", ")", ".", "addReg", "(", "SP", ")", ".", "addImm", "(", "Amount", ")", ";", "}", "else", "{", "unsigned", "Reg", "=", "loadImmediate", "(", "Amount", ",", "MBB", ",", "I", ",", "DL", ",", "nullptr", ")", ";", "BuildMI", "(", "MBB", ",", "I", ",", "DL", ",", "get", "(", "ADDu", ")", ",", "SP", ")", ".", "addReg", "(", "SP", ")", ".", "addReg", "(", "Reg", ",", "RegState", "::", "Kill", ")", ";"], "ground_truth": ["}"], "File": "Cpu0SEInstrInfo", "Func": "adjustStackPtr", "Target": "Cpu0", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 190003, "Length": 118, "Cover_Rate": 0.8137931034482758} {"Template_token": ["", "}", "else", "if", "(", "", ".", "contains", "(", "SrcReg", ")", ")", "{", "if", "(", "DestReg", "==", "", ")", "Opc", "=", "", ",", "DestReg", "=", "", ";", "else", "if", "(", "DestReg", "==", "", ")", "Opc", "=", "", ",", "DestReg", "=", "", ";", "}", "assert", "(", "Opc", "&&", "", ")", ";", "MachineInstrBuilder", "MIB", "=", "BuildMI", "(", "MBB", ",", "I", ",", "DL", ",", "get", "(", "Opc", ")", ")", ";", "if", "(", "DestReg", ")", "MIB", ".", "addReg", "(", "DestReg", ",", "RegState", "::", "Define", ")", ";", "if", "(", "ZeroReg", ")", "MIB", ".", "addReg", "(", "ZeroReg", ")", ";", "if", "(", "SrcReg", ")", "MIB", ".", "addReg", "(", "SrcReg", ",", "getKillRegState", "(", "KillSrc", ")", ")", ";"], "ground_truth": ["}"], "File": "Cpu0SEInstrInfo", "Func": "copyPhysReg", "Target": "Cpu0", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 190004, "Length": 109, "Cover_Rate": 0.47186147186147187} {"Template_token": ["", "SEInstrInfo", "::", "SEInstrInfo", "(", "const", "Subtarget", "&", "STI", ")", ":", "InstrInfo", "(", "STI", ")", ",", "RI", "(", "STI", ")", "{"], "ground_truth": ["}"], "File": "Cpu0SEInstrInfo", "Func": "Cpu0SEInstrInfo", "Target": "Cpu0", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 190005, "Length": 21, "Cover_Rate": 1.0} {"Template_token": ["", "SEInstrInfo", "::", "SEInstrInfo", "(", "const", "Subtarget", "&", "STI", ")", ":", "InstrInfo", "(", "STI", ")", ",", "RI", "(", "STI", ")", "{"], "ground_truth": ["}"], "File": "Cpu0SEInstrInfo", "Func": "Cpu0SEInstrInfo", "Target": "Cpu0", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 190006, "Length": 21, "Cover_Rate": 1.0} {"Template_token": ["", "const", "TargetMachine", "&", "TM", "=", "MBB", ".", "getParent", "(", ")", "->", "getTarget", "(", ")", ";", "if", "(", "TM", ".", "isPositionIndependent", "(", ")", ")", "BuildMI", "(", "MBB", ",", "I", ",", "I", "->", "getDebugLoc", "(", ")", ",", "get", "(", "ADDU", ")", ",", "T9", ")", ".", "addReg", "(", "TargetReg", ")", ".", "addReg", "(", "ZERO", ")", ";", "BuildMI", "(", "MBB", ",", "I", ",", "I", "->", "getDebugLoc", "(", ")", ",", "get", "(", "ADDU", ")", ",", "LR", ")", ".", "addReg", "(", "TargetReg", ")", ".", "addReg", "(", "ZERO", ")", ";"], "ground_truth": ["BuildMI", "(", "MBB", ",", "I", ",", "I", "->", "getDebugLoc", "(", ")", ",", "get", "(", "ADDU", ")", ",", "SP", ")", ".", "addReg", "(", "SP", ")", ".", "addReg", "(", "OffsetReg", ")", ";"], "File": "Cpu0SEInstrInfo", "Func": "expandEhReturn", "Target": "Cpu0", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 190009, "Length": 113, "Cover_Rate": 0.565} {"Template_token": ["", "MachineBasicBlock", "&", "MBB", "=", "*", "MI", ".", "getParent", "(", ")", ";", "switch", "(", "MI", ".", "getDesc", "(", ")", ".", "getOpcode", "(", ")", ")", "{", "default", ":"], "ground_truth": ["return", "false", ";"], "File": "Cpu0SEInstrInfo", "Func": "expandPostRAPseudo", "Target": "Cpu0", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 190010, "Length": 29, "Cover_Rate": 0.3625} {"Template_token": ["", "void", "SEInstrInfo", "::", "expandRetLR", "(", "MachineBasicBlock", "&", "MBB", ",", "MachineBasicBlock", "::", "iterator", "I", ")", "const", "{", "BuildMI", "(", "MBB", ",", "I", ",", "I", "->", "getDebugLoc", "(", ")", ",", "get", "(", "", ")", ")", ".", "addReg", "(", "", ")", ";"], "ground_truth": ["}"], "File": "Cpu0SEInstrInfo", "Func": "expandRetLR", "Target": "Cpu0", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 190011, "Length": 40, "Cover_Rate": 0.9090909090909091} {"Template_token": ["", "BuildMI", "(", "MBB", ",", "I", ",", "I", "->", "getDebugLoc", "(", ")", ",", "get", "(", "", ")", ")", ".", "addReg", "(", "", ")", ";"], "ground_truth": ["}"], "File": "Cpu0SEInstrInfo", "Func": "expandRetLR", "Target": "Cpu0", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 190012, "Length": 24, "Cover_Rate": 0.5454545454545454} {"Template_token": ["", "case", "", ":", "return", "", ";", "case", "", ":", "return", "", ";", "}"], "ground_truth": ["}"], "File": "Cpu0SEInstrInfo", "Func": "getOppositeBranchOpc", "Target": "Cpu0", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 190013, "Length": 14, "Cover_Rate": 0.3181818181818182} {"Template_token": ["", "default", ":", "llvm_unreachable", "(", "", ")", ";", "case", "", ":", "return", "", ";"], "ground_truth": ["case", "", ":", "return", "", ";"], "File": "Cpu0SEInstrInfo", "Func": "getOppositeBranchOpc", "Target": "Cpu0", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 190014, "Length": 19, "Cover_Rate": 0.4318181818181818} {"Template_token": ["", "assert", "(", "Seq", ".", "size", "(", ")", "&&", "(", "!", "LastInstrIsADDiu", "||", "(", "Seq", ".", "size", "(", ")", ">", "", ")", ")", ")", ";", "if", "(", "Inst", "->", "Opc", "==", "LUi", ")", "BuildMI", "(", "MBB", ",", "II", ",", "DL", ",", "get", "(", "LUi", ")", ",", "ATReg", ")", ".", "addImm", "(", "SignExtend64", "<", "", ">", "(", "Inst", "->", "ImmOpnd", ")", ")", ";", "else", "BuildMI", "(", "MBB", ",", "II", ",", "DL", ",", "get", "(", "Inst", "->", "Opc", ")", ",", "ATReg", ")", ".", "addReg", "(", "ZEROReg", ")", ".", "addImm", "(", "SignExtend64", "<", "", ">", "(", "Inst", "->", "ImmOpnd", ")", ")", ";", "for", "(", "++", "Inst", ";", "Inst", "!=", "Seq", ".", "end", "(", ")", "-", "LastInstrIsADDiu", ";", "++", "Inst", ")", "BuildMI", "(", "MBB", ",", "II", ",", "DL", ",", "get", "(", "Inst", "->", "Opc", ")", ",", "ATReg", ")", ".", "addReg", "(", "ATReg", ")", ".", "addImm", "(", "SignExtend64", "<", "", ">", "(", "Inst", "->", "ImmOpnd", ")", ")", ";", "if", "(", "LastInstrIsADDiu", ")", "*", "NewImm", "=", "Inst", "->", "ImmOpnd", ";"], "ground_truth": ["return", "ATReg", ";"], "File": "Cpu0SEInstrInfo", "Func": "loadImmediate", "Target": "Cpu0", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 190016, "Length": 166, "Cover_Rate": 0.6384615384615384} {"Template_token": ["", "unsigned", "Opc", "=", "", ";", "Opc", "=", "", ";", "assert", "(", "Opc", "&&", "", ")", ";"], "ground_truth": ["BuildMI", "(", "MBB", ",", "I", ",", "DL", ",", "get", "(", "Opc", ")", ",", "DestReg", ")", ".", "addFrameIndex", "(", "FI", ")", ".", "addImm", "(", "Offset", ")", ".", "addMemOperand", "(", "MMO", ")", ";"], "File": "Cpu0SEInstrInfo", "Func": "loadRegFromStack", "Target": "Cpu0", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 190017, "Length": 47, "Cover_Rate": 0.3884297520661157} {"Template_token": ["", "unsigned", "Opc", "=", "", ";", "Opc", "=", "", ";", "assert", "(", "Opc", "&&", "", ")", ";", "BuildMI", "(", "MBB", ",", "I", ",", "DL", ",", "get", "(", "Opc", ")", ")", ".", "addReg", "(", "SrcReg", ",", "getKillRegState", "(", "isKill", ")", ")", ".", "addFrameIndex", "(", "FI", ")", ".", "addImm", "(", "Offset", ")", ".", "addMemOperand", "(", "MMO", ")", ";"], "ground_truth": ["}"], "File": "Cpu0SEInstrInfo", "Func": "storeRegToStack", "Target": "Cpu0", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 190018, "Length": 56, "Cover_Rate": 0.49122807017543857} {"Template_token": ["", "void", "SEInstrInfo", "::"], "ground_truth": ["storeRegToStack", "(", "MachineBasicBlock", "&", "MBB", ",", "MachineBasicBlock", "::", "iterator", "I", ",", "unsigned", "SrcReg", ",", "bool", "isKill", ",", "int", "FI", ",", "const", "TargetRegisterClass", "*", "RC", ",", "const", "TargetRegisterInfo", "*", "TRI", ",", "int64_t", "Offset", ")", "const", "{"], "File": "Cpu0SEInstrInfo", "Func": "storeRegToStack", "Target": "Cpu0", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 190019, "Length": 38, "Cover_Rate": 0.3333333333333333} {"Template_token": ["", "FunctionPass", "*", "llvm", "::", "createSEISelDAG", "(", "TargetMachine", "&", "TM", ",", "CodeGenOpt", "::", "Level", "OptLevel", ")", "{", "return", "new", "SEDAGToDAGISel", "(", "TM", ",", "OptLevel", ")", ";"], "ground_truth": ["}"], "File": "Cpu0SEISelDAGToDAG1", "Func": "createCpu0SEISelDAG", "Target": "Cpu0", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 190021, "Length": 26, "Cover_Rate": 1.0} {"Template_token": ["", "unsigned", "Opc", "=", "InFlag", ".", "getOpcode", "(", ")", ";", "assert", "(", "(", "(", "Opc", "==", "", "||", "Opc", "==", "", ")", "||", "(", "Opc", "==", "", "||", "Opc", "==", "", ")", ")", "&&", "", ")", ";", "SDValue", "Ops", "[", "]", "=", "{", "CmpLHS", ",", "InFlag", ".", "getOperand", "(", "", ")", "}", ";", "SDValue", "LHS", "=", "Node", "->", "getOperand", "(", "", ")", ",", "RHS", "=", "Node", "->", "getOperand", "(", "", ")", ";", "EVT", "VT", "=", "LHS", ".", "getValueType", "(", ")", ";", "SDNode", "*", "Carry", ";", "if", "(", "Subtarget", "->", "has32II", "(", ")", ")", "Carry", "=", "CurDAG", "->", "getMachineNode", "(", "", ",", "DL", ",", "VT", ",", "Ops", ")", ";"], "ground_truth": ["else", "{"], "File": "Cpu0SEISelDAGToDAG1", "Func": "selectAddESubE", "Target": "Cpu0", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 190022, "Length": 109, "Cover_Rate": 0.41132075471698115} {"Template_token": ["", "assert", "(", "(", "(", "Opc", "==", "", "||", "Opc", "==", "", ")", "||", "(", "Opc", "==", "", "||", "Opc", "==", "", ")", ")", "&&", "", ")", ";", "SDValue", "Ops", "[", "]", "=", "{", "CmpLHS", ",", "InFlag", ".", "getOperand", "(", "", ")", "}", ";", "SDValue", "LHS", "=", "Node", "->", "getOperand", "(", "", ")", ",", "RHS", "=", "Node", "->", "getOperand", "(", "", ")", ";", "EVT", "VT", "=", "LHS", ".", "getValueType", "(", ")", ";", "SDNode", "*", "Carry", ";", "if", "(", "Subtarget", "->", "has32II", "(", ")", ")", "Carry", "=", "CurDAG", "->", "getMachineNode", "(", "", ",", "DL", ",", "VT", ",", "Ops", ")", ";", "else", "{", "SDNode", "*", "StatusWord", "=", "CurDAG", "->", "getMachineNode", "(", "", ",", "DL", ",", "VT", ",", "Ops", ")", ";", "SDValue", "Constant1", "=", "CurDAG", "->", "getTargetConstant", "(", "", ",", "DL", ",", "VT", ")", ";"], "ground_truth": ["Carry", "=", "CurDAG", "->", "getMachineNode", "(", "", ",", "DL", ",", "VT", ",", "SDValue", "(", "StatusWord", ",", "", ")", ",", "Constant1", ")", ";"], "File": "Cpu0SEISelDAGToDAG1", "Func": "selectAddESubE", "Target": "Cpu0", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 190023, "Length": 153, "Cover_Rate": 0.5773584905660377} {"Template_token": ["", "SDValue", "InFlag", "=", "SDValue", "(", "Mul", ",", "", ")", ";", "if", "(", "HasLo", ")", "{", "Lo", "=", "CurDAG", "->", "getMachineNode", "(", "", ",", "DL", ",", "Ty", ",", "", ",", "InFlag", ")", ";", "InFlag", "=", "SDValue", "(", "Lo", ",", "", ")", ";", "}", "if", "(", "HasHi", ")", "{"], "ground_truth": ["Hi", "=", "CurDAG", "->", "getMachineNode", "(", "", ",", "DL", ",", "Ty", ",", "InFlag", ")", ";"], "File": "Cpu0SEISelDAGToDAG1", "Func": "selectMULT", "Target": "Cpu0", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 190024, "Length": 62, "Cover_Rate": 0.3924050632911392} {"Template_token": ["", "explicit", "SEDAGToDAGISel", "(", "TargetMachine", "&", "TM", ",", "CodeGenOpt", "::", "Level", "OL", ")", ":", "DAGToDAGISel", "(", "TM", ",", "OL", ")", "{"], "ground_truth": ["}"], "File": "Cpu0SEISelDAGToDAG", "Func": "Cpu0SEDAGToDAGISel", "Target": "Cpu0", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 190025, "Length": 21, "Cover_Rate": 1.0} {"Template_token": ["", "explicit", "SEDAGToDAGISel", "(", "TargetMachine", "&", "TM", ",", "CodeGenOpt", "::", "Level", "OL", ")", ":", "DAGToDAGISel", "(", "TM", ",", "OL", ")", "{"], "ground_truth": ["}"], "File": "Cpu0SEISelDAGToDAG", "Func": "Cpu0SEDAGToDAGISel", "Target": "Cpu0", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 190026, "Length": 21, "Cover_Rate": 1.0} {"Template_token": ["", "void", "SEDAGToDAGISel", "::", "processFunctionAfterISel", "(", "MachineFunction", "&", "MF", ")", "{"], "ground_truth": ["}"], "File": "Cpu0SEISelDAGToDAG", "Func": "processFunctionAfterISel", "Target": "Cpu0", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 190029, "Length": 11, "Cover_Rate": 1.0} {"Template_token": ["", "void", "SEDAGToDAGISel", "::", "processFunctionAfterISel", "(", "MachineFunction", "&", "MF", ")", "{"], "ground_truth": ["}"], "File": "Cpu0SEISelDAGToDAG", "Func": "processFunctionAfterISel", "Target": "Cpu0", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 190030, "Length": 11, "Cover_Rate": 1.0} {"Template_token": ["", "bool", "SEDAGToDAGISel", "::", "runOnMachineFunction", "(", "MachineFunction", "&", "MF", ")", "{", "Subtarget", "=", "&", "static_cast", "<", "const", "Subtarget", "&", ">", "(", "MF", ".", "getSubtarget", "(", ")", ")", ";"], "ground_truth": ["return", "DAGToDAGISel", "::", "runOnMachineFunction", "(", "MF", ")", ";"], "File": "Cpu0SEISelDAGToDAG", "Func": "runOnMachineFunction", "Target": "Cpu0", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 190031, "Length": 35, "Cover_Rate": 0.9722222222222222} {"Template_token": ["", "bool", "SEDAGToDAGISel", "::", "runOnMachineFunction", "(", "MachineFunction", "&", "MF", ")", "{", "Subtarget", "=", "&", "static_cast", "<", "const", "Subtarget", "&", ">", "(", "MF", ".", "getSubtarget", "(", ")", ")", ";"], "ground_truth": ["return", "DAGToDAGISel", "::", "runOnMachineFunction", "(", "MF", ")", ";"], "File": "Cpu0SEISelDAGToDAG", "Func": "runOnMachineFunction", "Target": "Cpu0", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 190032, "Length": 35, "Cover_Rate": 0.9722222222222222} {"Template_token": ["", "if", "(", "Subtarget", "->", "has32II", "(", ")", ")", "Carry", "=", "CurDAG", "->", "getMachineNode", "(", "", ",", "DL", ",", "VT", ",", "Ops", ")", ";", "else", "{", "SDNode", "*", "StatusWord", "=", "CurDAG", "->", "getMachineNode", "(", "", ",", "DL", ",", "VT", ",", "Ops", ")", ";", "SDValue", "Constant1", "=", "CurDAG", "->", "getTargetConstant", "(", "", ",", "DL", ",", "VT", ")", ";", "Carry", "=", "CurDAG", "->", "getMachineNode", "(", "", ",", "DL", ",", "VT", ",", "SDValue", "(", "StatusWord", ",", "", ")", ",", "Constant1", ")", ";", "}", "SDNode", "*", "AddCarry", "=", "CurDAG", "->", "getMachineNode", "(", "", ",", "DL", ",", "VT", ",", "SDValue", "(", "Carry", ",", "", ")", ",", "RHS", ")", ";"], "ground_truth": ["CurDAG", "->", "SelectNodeTo", "(", "Node", ",", "MOp", ",", "VT", ",", "", ",", "LHS", ",", "SDValue", "(", "AddCarry", ",", "", ")", ")", ";"], "File": "Cpu0SEISelDAGToDAG", "Func": "selectAddESubE", "Target": "Cpu0", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 190033, "Length": 125, "Cover_Rate": 0.4844961240310077} {"Template_token": ["", "SDNode", "*", "Lo", "=", "", ",", "*", "Hi", "=", "", ";", "SDNode", "*", "Mul", "=", "CurDAG", "->", "getMachineNode", "(", "Opc", ",", "DL", ",", "", ",", "N", "->", "getOperand", "(", "", ")", ",", "N", "->", "getOperand", "(", "", ")", ")", ";", "SDValue", "InFlag", "=", "SDValue", "(", "Mul", ",", "", ")", ";", "if", "(", "HasLo", ")", "{", "Lo", "=", "CurDAG", "->", "getMachineNode", "(", "", ",", "DL", ",", "Ty", ",", "", ",", "InFlag", ")", ";", "InFlag", "=", "SDValue", "(", "Lo", ",", "", ")", ";", "}", "if", "(", "HasHi", ")", "Hi", "=", "CurDAG", "->", "getMachineNode", "(", "", ",", "DL", ",", "Ty", ",", "InFlag", ")", ";"], "ground_truth": ["return", "std", "::", "make_pair", "(", "Lo", ",", "Hi", ")", ";"], "File": "Cpu0SEISelDAGToDAG", "Func": "selectMULT", "Target": "Cpu0", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 190034, "Length": 111, "Cover_Rate": 0.7115384615384616} {"Template_token": ["", "isEligibleForTailCallOptimization", "(", "const", "CC", "&", "CCInfo", ",", "unsigned", "NextStackOffset", ",", "const", "MachineFunctionInfo", "&", "FI", ")", "const", "{", "if", "(", "!", "EnableTailCalls", ")", "return", "false", ";"], "ground_truth": ["if", "(", "CCInfo", ".", "hasByValArg", "(", ")", "||", "FI", ".", "hasByvalArg", "(", ")", ")", "return", "false", ";"], "File": "Cpu0SEISelLowering1", "Func": "isEligibleForTailCallOptimization", "Target": "Cpu0", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 190035, "Length": 42, "Cover_Rate": 0.7636363636363637} {"Template_token": ["", "SETargetLowering", "::", "SETargetLowering", "(", "const", "TargetMachine", "&", "TM", ",", "const", "Subtarget", "&", "STI", ")", ":", "TargetLowering", "(", "TM", ",", "STI", ")", "{", "addRegisterClass", "(", "", ",", "&", "", ")", ";", "computeRegisterProperties", "(", "Subtarget", ".", "getRegisterInfo", "(", ")", ")", ";"], "ground_truth": ["}"], "File": "Cpu0SEISelLowering", "Func": "Cpu0SETargetLowering", "Target": "Cpu0", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 190037, "Length": 40, "Cover_Rate": 0.9090909090909091} {"Template_token": ["", "addRegisterClass", "(", "", ",", "&", "", ")", ";", "computeRegisterProperties", "(", "Subtarget", ".", "getRegisterInfo", "(", ")", ")", ";"], "ground_truth": ["}"], "File": "Cpu0SEISelLowering", "Func": "Cpu0SETargetLowering", "Target": "Cpu0", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 190038, "Length": 18, "Cover_Rate": 0.4090909090909091} {"Template_token": ["", "return", "new", "SETargetLowering", "(", "TM", ",", "STI", ")", ";"], "ground_truth": ["}"], "File": "Cpu0SEISelLowering", "Func": "createCpu0SETargetLowering", "Target": "Cpu0", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 190039, "Length": 10, "Cover_Rate": 0.35714285714285715} {"Template_token": ["", "bool", "SETargetLowering", "::", "isEligibleForTailCallOptimization", "(", "const", "CC", "&", "CCInfo", ",", "unsigned", "NextStackOffset", ",", "const", "MachineFunctionInfo", "&", "FI", ")", "const", "{"], "ground_truth": ["if", "(", "!", "EnableTailCalls", ")", "return", "false", ";"], "File": "Cpu0SEISelLowering", "Func": "isEligibleForTailCallOptimization", "Target": "Cpu0", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 190041, "Length": 28, "Cover_Rate": 0.509090909090909} {"Template_token": ["", "bool", "SETargetLowering", "::", "isEligibleForTailCallOptimization", "(", "const", "CC", "&", "CCInfo", ",", "unsigned", "NextStackOffset", ",", "const", "MachineFunctionInfo", "&", "FI", ")", "const", "{"], "ground_truth": ["if", "(", "!", "EnableTailCalls", ")", "return", "false", ";"], "File": "Cpu0SEISelLowering", "Func": "isEligibleForTailCallOptimization", "Target": "Cpu0", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 190042, "Length": 28, "Cover_Rate": 0.509090909090909} {"Template_token": ["", "SDValue", "SETargetLowering", "::", "LowerOperation", "(", "SDValue", "Op", ",", "SelectionDAG", "&", "DAG", ")", "const", "{", "return", "TargetLowering", "::", "LowerOperation", "(", "Op", ",", "DAG", ")", ";"], "ground_truth": ["}"], "File": "Cpu0SEISelLowering", "Func": "LowerOperation", "Target": "Cpu0", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 190044, "Length": 25, "Cover_Rate": 1.0} {"Template_token": ["", "SelectionDAGInfo", "::", "SelectionDAGInfo", "(", "const", "TargetMachine", "&", "TM", ")", ":", "TargetSelectionDAGInfo", "(", "TM", ")", "{"], "ground_truth": ["}"], "File": "Cpu0SelectionDAGInfo", "Func": "Cpu0SelectionDAGInfo", "Target": "Cpu0", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 190045, "Length": 16, "Cover_Rate": 1.0} {"Template_token": ["", "SelectionDAGInfo", "::", "SelectionDAGInfo", "(", "const", "TargetMachine", "&", "TM", ")", ":", "TargetSelectionDAGInfo", "(", "TM", ")", "{"], "ground_truth": ["}"], "File": "Cpu0SelectionDAGInfo", "Func": "Cpu0SelectionDAGInfo", "Target": "Cpu0", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 190046, "Length": 16, "Cover_Rate": 1.0} {"Template_token": ["", "SelectionDAGInfo", "::", "~", "SelectionDAGInfo", "(", ")", "{"], "ground_truth": ["}"], "File": "Cpu0SelectionDAGInfo", "Func": "~Cpu0SelectionDAGInfo", "Target": "Cpu0", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 190047, "Length": 8, "Cover_Rate": 1.0} {"Template_token": ["", "SelectionDAGInfo", "::", "~", "SelectionDAGInfo", "(", ")", "{"], "ground_truth": ["}"], "File": "Cpu0SelectionDAGInfo", "Func": "~Cpu0SelectionDAGInfo", "Target": "Cpu0", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 190048, "Length": 8, "Cover_Rate": 1.0} {"Template_token": ["", "SERegisterInfo", "::", "SERegisterInfo", "(", "const", "Subtarget", "&", "ST", ")", ":", "RegisterInfo", "(", "ST", ")", "{"], "ground_truth": ["}"], "File": "Cpu0SERegisterInfo", "Func": "Cpu0SERegisterInfo", "Target": "Cpu0", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 190049, "Length": 16, "Cover_Rate": 1.0} {"Template_token": ["", "SERegisterInfo", "::", "SERegisterInfo", "(", "const", "Subtarget", "&", "ST", ")", ":", "RegisterInfo", "(", "ST", ")", "{"], "ground_truth": ["}"], "File": "Cpu0SERegisterInfo", "Func": "Cpu0SERegisterInfo", "Target": "Cpu0", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 190050, "Length": 16, "Cover_Rate": 1.0} {"Template_token": ["", "GenSubtargetInfo", "(", "TT", ",", "CPU", ",", "FS", ")", ",", "ABI", "(", "UnknownABI", ")", ",", "IsLittle", "(", "little", ")", ",", "RM", "(", "_RM", ")", "{", "std", "::", "string", "CPUName", "=", "CPU", ";", "if", "(", "CPUName", ".", "empty", "(", ")", ")", "CPUName", "=", "", ";", "ParseSubtargetFeatures", "(", "CPUName", ",", "FS", ")", ";", "InstrItins", "=", "getInstrItineraryForCPU", "(", "CPUName", ")", ";", "if", "(", "ABI", "==", "UnknownABI", ")", "ABI", "=", "O32", ";"], "ground_truth": ["UseSmallSection", "=", "UseSmallSectionOpt", ";"], "File": "Cpu0Subtarget1", "Func": "Cpu0Subtarget", "Target": "Cpu0", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 190053, "Length": 71, "Cover_Rate": 0.5634920634920635} {"Template_token": ["", "return", "ABI", ";"], "ground_truth": ["}"], "File": "Cpu0Subtarget1", "Func": "getTargetABI", "Target": "Cpu0", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 190054, "Length": 4, "Cover_Rate": 0.4} {"Template_token": ["", "return", "ABI", ";"], "ground_truth": ["}"], "File": "Cpu0Subtarget1", "Func": "getTargetABI", "Target": "Cpu0", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 190055, "Length": 4, "Cover_Rate": 0.4} {"Template_token": ["", "GenSubtargetInfo", "(", "TT", ",", "CPU", ",", "FS", ")", ",", "ABI", "(", "UnknownABI", ")", ",", "IsLittle", "(", "little", ")", ",", "IsLinux", "(", "IsLinuxOpt", ")", "{", "std", "::", "string", "CPUName", "=", "CPU", ";", "if", "(", "CPUName", ".", "empty", "(", ")", ")", "CPUName", "=", "", ";", "ParseSubtargetFeatures", "(", "CPUName", ",", "FS", ")", ";"], "ground_truth": ["InstrItins", "=", "getInstrItineraryForCPU", "(", "CPUName", ")", ";"], "File": "Cpu0Subtarget2", "Func": "Cpu0Subtarget", "Target": "Cpu0", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 190056, "Length": 57, "Cover_Rate": 0.5876288659793815} {"Template_token": ["", "bool", "isLinux", "(", ")", "const", "{"], "ground_truth": ["return", "IsLinux", ";"], "File": "Cpu0Subtarget2", "Func": "isLinux", "Target": "Cpu0", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 190057, "Length": 9, "Cover_Rate": 0.9} {"Template_token": ["", "bool", "enableMachineScheduler", "(", ")", "const", "override", "{", "return", "true", ";"], "ground_truth": ["}"], "File": "Cpu0Subtarget3", "Func": "enableMachineScheduler", "Target": "Cpu0", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 190060, "Length": 11, "Cover_Rate": 1.0} {"Template_token": ["", "const", "TargetFrameLowering", "*", "getFrameLowering", "(", ")", "const", "override", "{"], "ground_truth": ["return", "&", "FrameLowering", ";"], "File": "Cpu0Subtarget3", "Func": "getFrameLowering", "Target": "Cpu0", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 190061, "Length": 13, "Cover_Rate": 0.9285714285714286} {"Template_token": ["", "return", "&", "InstrInfo", ";"], "ground_truth": ["}"], "File": "Cpu0Subtarget3", "Func": "getInstrInfo", "Target": "Cpu0", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 190063, "Length": 5, "Cover_Rate": 0.35714285714285715} {"Template_token": ["", "Subtarget", "&", "Subtarget", "::", "initializeSubtargetDependencies", "(", "StringRef", "CPU", ",", "StringRef", "FS", ")", "{"], "ground_truth": ["initSubtargetFeatures", "(", "CPU", ",", "FS", ")", ";"], "File": "Cpu0Subtarget3", "Func": "initializeSubtargetDependencies", "Target": "Cpu0", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 190064, "Length": 20, "Cover_Rate": 0.8} {"Template_token": ["", "bool", "Subtarget", "::", "abiUsesSoftFloat", "(", ")", "const", "{"], "ground_truth": ["return", "true", ";"], "File": "Cpu0Subtarget", "Func": "abiUsesSoftFloat", "Target": "Cpu0", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 190068, "Length": 11, "Cover_Rate": 0.9166666666666666} {"Template_token": ["", "void", "Subtarget", "::", "anchor", "(", ")", "{"], "ground_truth": ["}"], "File": "Cpu0Subtarget", "Func": "anchor", "Target": "Cpu0", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 190069, "Length": 8, "Cover_Rate": 1.0} {"Template_token": ["", "void", "Subtarget", "::", "anchor", "(", ")", "{"], "ground_truth": ["}"], "File": "Cpu0Subtarget", "Func": "anchor", "Target": "Cpu0", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 190070, "Length": 8, "Cover_Rate": 1.0} {"Template_token": ["", "GenSubtargetInfo", "(", "TT", ",", "CPU", ",", "FS", ")", ",", "IsLittle", "(", "little", ")", ",", "TargetTriple", "(", "TT", ")", ",", "TM", "(", "_TM", ")", ",", "TSInfo", "(", ")", ",", "InstrInfo", "(", "InstrInfo", "::", "create", "(", "initializeSubtargetDependencies", "(", "CPU", ",", "FS", ",", "TM", ")", ")", ")", ",", "FrameLowering", "(", "FrameLowering", "::", "create", "(", "*", "this", ")", ")", ",", "TLInfo", "(", "TargetLowering", "::", "create", "(", "TM", ",", "*", "this", ")", ")", "{", "EnableOverflow", "=", "EnableOverflowOpt", ";", "UseSmallSection", "=", "UseSmallSectionOpt", ";"], "ground_truth": ["ReserveGP", "=", "ReserveGPOpt", ";"], "File": "Cpu0Subtarget", "Func": "Cpu0Subtarget", "Target": "Cpu0", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 190071, "Length": 81, "Cover_Rate": 0.6864406779661016} {"Template_token": ["", "return", "!", "EnableOverflow", ";"], "ground_truth": ["}"], "File": "Cpu0Subtarget", "Func": "disableOverflow", "Target": "Cpu0", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 190072, "Length": 5, "Cover_Rate": 0.45454545454545453} {"Template_token": ["", "return", "EnableOverflow", ";"], "ground_truth": ["}"], "File": "Cpu0Subtarget", "Func": "enableOverflow", "Target": "Cpu0", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 190076, "Length": 4, "Cover_Rate": 0.4} {"Template_token": ["", "return", "TM", ".", "getABI", "(", ")", ";"], "ground_truth": ["}"], "File": "Cpu0Subtarget", "Func": "getABI", "Target": "Cpu0", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 190077, "Length": 8, "Cover_Rate": 0.4444444444444444} {"Template_token": ["", "const", "ABIInfo", "&", "Subtarget", "::", "getABI", "(", ")", "const", "{", "return", "TM", ".", "getABI", "(", ")", ";"], "ground_truth": ["}"], "File": "Cpu0Subtarget", "Func": "getABI", "Target": "Cpu0", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 190078, "Length": 18, "Cover_Rate": 1.0} {"Template_token": ["", "const", "TargetFrameLowering", "*", "getFrameLowering", "(", ")", "const", "override", "{", "return", "FrameLowering", ".", "get", "(", ")", ";"], "ground_truth": ["}"], "File": "Cpu0Subtarget", "Func": "getFrameLowering", "Target": "Cpu0", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 190080, "Length": 17, "Cover_Rate": 1.0} {"Template_token": ["", "return", "InstrInfo", ".", "get", "(", ")", ";"], "ground_truth": ["}"], "File": "Cpu0Subtarget", "Func": "getInstrInfo", "Target": "Cpu0", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 190081, "Length": 8, "Cover_Rate": 0.47058823529411764} {"Template_token": ["", "const", "InstrInfo", "*", "getInstrInfo", "(", ")", "const", "override", "{", "return", "InstrInfo", ".", "get", "(", ")", ";"], "ground_truth": ["}"], "File": "Cpu0Subtarget", "Func": "getInstrInfo", "Target": "Cpu0", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 190082, "Length": 17, "Cover_Rate": 1.0} {"Template_token": ["", "const", "InstrItineraryData", "*", "getInstrItineraryData", "(", ")", "const", "override", "{", "return", "&", "InstrItins", ";"], "ground_truth": ["}"], "File": "Cpu0Subtarget", "Func": "getInstrItineraryData", "Target": "Cpu0", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 190084, "Length": 14, "Cover_Rate": 1.0} {"Template_token": ["", "return", "&", "InstrInfo", "->", "getRegisterInfo", "(", ")", ";"], "ground_truth": ["}"], "File": "Cpu0Subtarget", "Func": "getRegisterInfo", "Target": "Cpu0", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 190085, "Length": 9, "Cover_Rate": 0.5} {"Template_token": ["", "const", "RegisterInfo", "*", "getRegisterInfo", "(", ")", "const", "override", "{"], "ground_truth": ["return", "&", "InstrInfo", "->", "getRegisterInfo", "(", ")", ";"], "File": "Cpu0Subtarget", "Func": "getRegisterInfo", "Target": "Cpu0", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 190086, "Length": 17, "Cover_Rate": 0.9444444444444444} {"Template_token": ["", "return", "&", "TSInfo", ";"], "ground_truth": ["}"], "File": "Cpu0Subtarget", "Func": "getSelectionDAGInfo", "Target": "Cpu0", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 190087, "Length": 5, "Cover_Rate": 0.35714285714285715} {"Template_token": ["", "const", "SelectionDAGTargetInfo", "*", "getSelectionDAGInfo", "(", ")", "const", "override", "{"], "ground_truth": ["return", "&", "TSInfo", ";"], "File": "Cpu0Subtarget", "Func": "getSelectionDAGInfo", "Target": "Cpu0", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 190088, "Length": 13, "Cover_Rate": 0.9285714285714286} {"Template_token": ["", "return", "TLInfo", ".", "get", "(", ")", ";"], "ground_truth": ["}"], "File": "Cpu0Subtarget", "Func": "getTargetLowering", "Target": "Cpu0", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 190090, "Length": 8, "Cover_Rate": 0.47058823529411764} {"Template_token": ["", "return", "HasCmp", ";"], "ground_truth": ["}"], "File": "Cpu0Subtarget", "Func": "hasCmp", "Target": "Cpu0", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 190092, "Length": 4, "Cover_Rate": 0.4} {"Template_token": ["", "bool", "has32I", "(", ")", "const", "{", "return", "ArchVersion", ">=", "32I", ";"], "ground_truth": ["}"], "File": "Cpu0Subtarget", "Func": "hasCpu032I", "Target": "Cpu0", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 190093, "Length": 12, "Cover_Rate": 1.0} {"Template_token": ["", "bool", "has32I", "(", ")", "const", "{", "return", "ArchVersion", ">=", "32I", ";"], "ground_truth": ["}"], "File": "Cpu0Subtarget", "Func": "hasCpu032I", "Target": "Cpu0", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 190094, "Length": 12, "Cover_Rate": 1.0} {"Template_token": ["", "return", "ArchVersion", ">=", "32II", ";"], "ground_truth": ["}"], "File": "Cpu0Subtarget", "Func": "hasCpu032II", "Target": "Cpu0", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 190096, "Length": 6, "Cover_Rate": 0.5} {"Template_token": ["", "bool", "hasSlt", "(", ")", "const", "{", "return", "HasSlt", ";"], "ground_truth": ["}"], "File": "Cpu0Subtarget", "Func": "hasSlt", "Target": "Cpu0", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 190097, "Length": 10, "Cover_Rate": 1.0} {"Template_token": ["", "bool", "hasSlt", "(", ")", "const", "{", "return", "HasSlt", ";"], "ground_truth": ["}"], "File": "Cpu0Subtarget", "Func": "hasSlt", "Target": "Cpu0", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 190098, "Length": 10, "Cover_Rate": 1.0} {"Template_token": ["", "if", "(", "CPU", ".", "empty", "(", ")", "||", "CPU", "==", "", ")", "{", "CPU", "=", "", ";", "}", "else", "if", "(", "CPU", "==", "", ")", "{", "CPU", "=", "", ";", "return", "*", "this", ";", "}", "else", "if", "(", "CPU", "!=", "", "&&", "CPU", "!=", "", ")", "{", "CPU", "=", "", ";", "}", "}", "else", "{", "errs", "(", ")", "<<", "", "<<", "TargetTriple", ".", "getArch", "(", ")", "<<", "", "<<", "CPU", "<<", "", ";", "exit", "(", "", ")", ";", "}", "if", "(", "CPU", "==", "", ")", "ArchVersion", "=", "32I", ";"], "ground_truth": ["else", "if", "(", "CPU", "==", "", ")", "ArchVersion", "=", "32II", ";"], "File": "Cpu0Subtarget", "Func": "initializeSubtargetDependencies", "Target": "Cpu0", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 190099, "Length": 100, "Cover_Rate": 0.49019607843137253} {"Template_token": ["", "return", "ArchVersion", "==", "32I", ";"], "ground_truth": ["}"], "File": "Cpu0Subtarget", "Func": "isCpu032I", "Target": "Cpu0", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 190100, "Length": 6, "Cover_Rate": 0.5} {"Template_token": ["", "bool", "is32I", "(", ")", "const", "{", "return", "ArchVersion", "==", "32I", ";"], "ground_truth": ["}"], "File": "Cpu0Subtarget", "Func": "isCpu032I", "Target": "Cpu0", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 190101, "Length": 12, "Cover_Rate": 1.0} {"Template_token": ["", "return", "IsLittle", ";"], "ground_truth": ["}"], "File": "Cpu0Subtarget", "Func": "isLittle", "Target": "Cpu0", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 190104, "Length": 4, "Cover_Rate": 0.4} {"Template_token": ["", "bool", "Subtarget", "::", "isPositionIndependent", "(", ")", "const", "{"], "ground_truth": ["return", "TM", ".", "isPositionIndependent", "(", ")", ";"], "File": "Cpu0Subtarget", "Func": "isPositionIndependent", "Target": "Cpu0", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 190105, "Length": 15, "Cover_Rate": 0.9375} {"Template_token": ["", "return", "TM", ".", "isPositionIndependent", "(", ")", ";"], "ground_truth": ["}"], "File": "Cpu0Subtarget", "Func": "isPositionIndependent", "Target": "Cpu0", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 190106, "Length": 8, "Cover_Rate": 0.5} {"Template_token": ["", "return", "", ";"], "ground_truth": ["}"], "File": "Cpu0Subtarget", "Func": "stackAlignment", "Target": "Cpu0", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 190107, "Length": 4, "Cover_Rate": 0.4} {"Template_token": ["", "return", "UseSmallSection", ";"], "ground_truth": ["}"], "File": "Cpu0Subtarget", "Func": "useSmallSection", "Target": "Cpu0", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 190108, "Length": 4, "Cover_Rate": 0.4} {"Template_token": ["", "bool", "useSmallSection", "(", ")", "const", "{", "return", "UseSmallSection", ";"], "ground_truth": ["}"], "File": "Cpu0Subtarget", "Func": "useSmallSection", "Target": "Cpu0", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 190109, "Length": 10, "Cover_Rate": 1.0} {"Template_token": ["", "void", "LLVMInitializeTargetInfo", "(", ")", "{", "RegisterTarget", "<", "Triple", "::", "cpu0", ",", "true", ">", "X", "(", "getTheTarget", "(", ")", ",", "", ",", "", ",", "", ")", ";"], "ground_truth": ["}"], "File": "Cpu0TargetInfo3", "Func": "LLVMInitializeCpu0TargetInfo", "Target": "Cpu0", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 190112, "Length": 27, "Cover_Rate": 1.0} {"Template_token": ["", "void", "LLVMInitializeTargetInfo", "(", ")", "{"], "ground_truth": ["RegisterTarget", "<", "Triple", "::", "cpu0", ",", "true", ">", "X", "(", "getTheTarget", "(", ")", ",", "", ",", "", ",", "", ")", ";"], "File": "Cpu0TargetInfo3", "Func": "LLVMInitializeCpu0TargetInfo", "Target": "Cpu0", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 190113, "Length": 26, "Cover_Rate": 0.9629629629629629} {"Template_token": ["", "static", "Target", "TheelTarget", ";"], "ground_truth": ["return", "TheelTarget", ";"], "File": "Cpu0TargetInfo", "Func": "getTheCpu0elTarget", "Target": "Cpu0", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 190116, "Length": 7, "Cover_Rate": 0.4375} {"Template_token": ["", "Target", "&", "llvm", "::", "getTheTarget", "(", ")", "{", "static", "Target", "TheTarget", ";", "return", "TheTarget", ";"], "ground_truth": ["}"], "File": "Cpu0TargetInfo", "Func": "getTheCpu0Target", "Target": "Cpu0", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 190117, "Length": 16, "Cover_Rate": 1.0} {"Template_token": ["", "RegisterTarget", "<", "Triple", "::", "cpu0el", ",", "true", ">", "Y", "(", "getTheelTarget", "(", ")", ",", "", ",", "", ",", "", ")", ";"], "ground_truth": ["}"], "File": "Cpu0TargetInfo", "Func": "LLVMInitializeCpu0TargetInfo", "Target": "Cpu0", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 190118, "Length": 22, "Cover_Rate": 0.4583333333333333} {"Template_token": ["", "RegisterTarget", "<", "Triple", "::", "cpu0", ",", "true", ">", "X", "(", "getTheTarget", "(", ")", ",", "", ",", "", ",", "", ")", ";"], "ground_truth": ["RegisterTarget", "<", "Triple", "::", "cpu0el", ",", "true", ">", "Y", "(", "getTheelTarget", "(", ")", ",", "", ",", "", ",", "", ")", ";"], "File": "Cpu0TargetInfo", "Func": "LLVMInitializeCpu0TargetInfo", "Target": "Cpu0", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 190119, "Length": 42, "Cover_Rate": 0.875} {"Template_token": ["", "bool", "PassConfig", "::", "addPreEmitPass", "(", ")", "{", "TargetMachine", "&", "TM", "=", "getTargetMachine", "(", ")", ";", "addPass", "(", "createDelJmpPass", "(", "TM", ")", ")", ";", "return", "true", ";"], "ground_truth": ["}"], "File": "Cpu0TargetMachine1", "Func": "addPreEmitPass", "Target": "Cpu0", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 190121, "Length": 27, "Cover_Rate": 1.0} {"Template_token": ["", "addPass", "(", "createEmitGPRestorePass", "(", "getTargetMachine", "(", ")", ")", ")", ";", "return", "true", ";"], "ground_truth": ["}"], "File": "Cpu0TargetMachine1", "Func": "addPreRegAlloc", "Target": "Cpu0", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 190122, "Length": 14, "Cover_Rate": 0.6666666666666666} {"Template_token": ["", "bool", "PassConfig", "::", "addPreRegAlloc", "(", ")", "{", "addPass", "(", "createEmitGPRestorePass", "(", "getTargetMachine", "(", ")", ")", ")", ";", "return", "true", ";"], "ground_truth": ["}"], "File": "Cpu0TargetMachine1", "Func": "addPreRegAlloc", "Target": "Cpu0", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 190123, "Length": 21, "Cover_Rate": 1.0} {"Template_token": ["", "ebTargetMachine", "::", "ebTargetMachine", "(", "const", "Target", "&", "T", ",", "StringRef", "TT", ",", "StringRef", "CPU", ",", "StringRef", "FS", ",", "const", "TargetOptions", "&", "Options", ",", "Reloc", "::", "Model", "RM", ",", "CodeModel", "::", "Model", "CM", ",", "CodeGenOpt", "::", "Level", "OL", ")", ":", "TargetMachine", "(", "T", ",", "TT", ",", "CPU", ",", "FS", ",", "Options", ",", "RM", ",", "CM", ",", "OL", ",", "false", ")", "{"], "ground_truth": ["}"], "File": "Cpu0TargetMachine1", "Func": "Cpu0ebTargetMachine", "Target": "Cpu0", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 190124, "Length": 61, "Cover_Rate": 1.0} {"Template_token": ["", "ebTargetMachine", "(", "const", "Target", "&", "T", ",", "StringRef", "TT", ",", "StringRef", "CPU", ",", "StringRef", "FS", ",", "const", "TargetOptions", "&", "Options", ",", "Reloc", "::", "Model", "RM", ",", "CodeModel", "::", "Model", "CM", ",", "CodeGenOpt", "::", "Level", "OL", ")", ":", "TargetMachine", "(", "T", ",", "TT", ",", "CPU", ",", "FS", ",", "Options", ",", "RM", ",", "CM", ",", "OL", ",", "false", ")", "{"], "ground_truth": ["}"], "File": "Cpu0TargetMachine1", "Func": "Cpu0ebTargetMachine", "Target": "Cpu0", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 190125, "Length": 59, "Cover_Rate": 0.9672131147540983} {"Template_token": ["", "elTargetMachine", "::", "elTargetMachine", "(", "const", "Target", "&", "T", ",", "StringRef", "TT", ",", "StringRef", "CPU", ",", "StringRef", "FS", ",", "const", "TargetOptions", "&", "Options", ",", "Reloc", "::", "Model", "RM", ",", "CodeModel", "::", "Model", "CM", ",", "CodeGenOpt", "::", "Level", "OL", ")", ":", "TargetMachine", "(", "T", ",", "TT", ",", "CPU", ",", "FS", ",", "Options", ",", "RM", ",", "CM", ",", "OL", ",", "true", ")", "{"], "ground_truth": ["}"], "File": "Cpu0TargetMachine1", "Func": "Cpu0elTargetMachine", "Target": "Cpu0", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 190127, "Length": 61, "Cover_Rate": 1.0} {"Template_token": ["", "PassConfig", "(", "TargetMachine", "*", "TM", ",", "PassManagerBase", "&", "PM", ")", ":", "TargetPassConfig", "(", "TM", ",", "PM", ")", "{"], "ground_truth": ["}"], "File": "Cpu0TargetMachine1", "Func": "Cpu0PassConfig", "Target": "Cpu0", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 190128, "Length": 19, "Cover_Rate": 1.0} {"Template_token": ["", "PassConfig", "(", "TargetMachine", "*", "TM", ",", "PassManagerBase", "&", "PM", ")", ":", "TargetPassConfig", "(", "TM", ",", "PM", ")", "{"], "ground_truth": ["}"], "File": "Cpu0TargetMachine1", "Func": "Cpu0PassConfig", "Target": "Cpu0", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 190129, "Length": 19, "Cover_Rate": 1.0} {"Template_token": ["", "TargetMachine", "(", "const", "Target", "&", "T", ",", "StringRef", "TT", ",", "StringRef", "CPU", ",", "StringRef", "FS", ",", "const", "TargetOptions", "&", "Options", ",", "Reloc", "::", "Model", "RM", ",", "CodeModel", "::", "Model", "CM", ",", "CodeGenOpt", "::", "Level", "OL", ",", "bool", "isLittle", ")", ":", "LLVMTargetMachine", "(", "T", ",", "TT", ",", "CPU", ",", "FS", ",", "Options", ",", "RM", ",", "CM", ",", "OL", ")", ",", "Subtarget", "(", "TT", ",", "CPU", ",", "FS", ",", "isLittle", ",", "RM", ")", ",", "DL", "(", "isLittle", "?", "(", "", ")", ":"], "ground_truth": ["(", "", ")", ")", ",", "InstrInfo", "(", "*", "this", ")", ",", "FrameLowering", "(", "Subtarget", ")", ",", "TLInfo", "(", "*", "this", ")", ",", "TSInfo", "(", "*", "this", ")", "{"], "File": "Cpu0TargetMachine1", "Func": "Cpu0TargetMachine", "Target": "Cpu0", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 190130, "Length": 108, "Cover_Rate": 0.972972972972973} {"Template_token": ["", "TargetPassConfig", "*", "TargetMachine", "::", "createPassConfig", "(", "PassManagerBase", "&", "PM", ")", "{"], "ground_truth": ["return", "new", "PassConfig", "(", "this", ",", "PM", ")", ";"], "File": "Cpu0TargetMachine1", "Func": "createPassConfig", "Target": "Cpu0", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 190132, "Length": 20, "Cover_Rate": 0.9523809523809523} {"Template_token": ["", "virtual", "const", "DataLayout", "*", "getDataLayout", "(", ")", "const", "{", "return", "&", "DL", ";"], "ground_truth": ["}"], "File": "Cpu0TargetMachine1", "Func": "getDataLayout", "Target": "Cpu0", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 190133, "Length": 14, "Cover_Rate": 1.0} {"Template_token": ["", "virtual", "const", "DataLayout", "*", "getDataLayout", "(", ")", "const", "{"], "ground_truth": ["return", "&", "DL", ";"], "File": "Cpu0TargetMachine1", "Func": "getDataLayout", "Target": "Cpu0", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 190134, "Length": 13, "Cover_Rate": 0.9285714285714286} {"Template_token": ["", "return", "&", "FrameLowering", ";"], "ground_truth": ["}"], "File": "Cpu0TargetMachine1", "Func": "getFrameLowering", "Target": "Cpu0", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 190135, "Length": 5, "Cover_Rate": 0.35714285714285715} {"Template_token": ["", "virtual", "const", "TargetFrameLowering", "*", "getFrameLowering", "(", ")", "const", "{"], "ground_truth": ["return", "&", "FrameLowering", ";"], "File": "Cpu0TargetMachine1", "Func": "getFrameLowering", "Target": "Cpu0", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 190136, "Length": 13, "Cover_Rate": 0.9285714285714286} {"Template_token": ["", "virtual", "const", "InstrInfo", "*", "getInstrInfo", "(", ")", "const", "{"], "ground_truth": ["return", "&", "InstrInfo", ";"], "File": "Cpu0TargetMachine1", "Func": "getInstrInfo", "Target": "Cpu0", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 190137, "Length": 13, "Cover_Rate": 0.9285714285714286} {"Template_token": ["", "return", "&", "InstrInfo", ".", "getRegisterInfo", "(", ")", ";"], "ground_truth": ["}"], "File": "Cpu0TargetMachine1", "Func": "getRegisterInfo", "Target": "Cpu0", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 190138, "Length": 9, "Cover_Rate": 0.5} {"Template_token": ["", "return", "&", "InstrInfo", ".", "getRegisterInfo", "(", ")", ";"], "ground_truth": ["}"], "File": "Cpu0TargetMachine1", "Func": "getRegisterInfo", "Target": "Cpu0", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 190139, "Length": 9, "Cover_Rate": 0.5} {"Template_token": ["", "virtual", "const", "SelectionDAGInfo", "*", "getSelectionDAGInfo", "(", ")", "const", "{"], "ground_truth": ["return", "&", "TSInfo", ";"], "File": "Cpu0TargetMachine1", "Func": "getSelectionDAGInfo", "Target": "Cpu0", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 190140, "Length": 13, "Cover_Rate": 0.9285714285714286} {"Template_token": ["", "virtual", "const", "Subtarget", "*", "getSubtargetImpl", "(", ")", "const", "{", "return", "&", "Subtarget", ";"], "ground_truth": ["}"], "File": "Cpu0TargetMachine1", "Func": "getSubtargetImpl", "Target": "Cpu0", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 190141, "Length": 14, "Cover_Rate": 1.0} {"Template_token": ["", "virtual", "const", "TargetLowering", "*", "getTargetLowering", "(", ")", "const", "{", "return", "&", "TLInfo", ";"], "ground_truth": ["}"], "File": "Cpu0TargetMachine1", "Func": "getTargetLowering", "Target": "Cpu0", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 190142, "Length": 14, "Cover_Rate": 1.0} {"Template_token": ["", "void", "LLVMInitializeTarget", "(", ")", "{", "RegisterTargetMachine", "<", "ebTargetMachine", ">", "X", "(", "TheTarget", ")", ";", "RegisterTargetMachine", "<", "elTargetMachine", ">", "Y", "(", "TheelTarget", ")", ";"], "ground_truth": ["}"], "File": "Cpu0TargetMachine1", "Func": "LLVMInitializeCpu0Target", "Target": "Cpu0", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 190143, "Length": 24, "Cover_Rate": 1.0} {"Template_token": ["", "TargetMachine", "(", "const", "Target", "&", "T", ",", "StringRef", "TT", ",", "StringRef", "CPU", ",", "StringRef", "FS", ",", "const", "TargetOptions", "&", "Options", ",", "Reloc", "::", "Model", "RM", ",", "CodeModel", "::", "Model", "CM", ",", "CodeGenOpt", "::", "Level", "OL", ",", "bool", "isLittle", ")", ":", "LLVMTargetMachine", "(", "T", ",", "TT", ",", "CPU", ",", "FS", ",", "Options", ",", "RM", ",", "CM", ",", "OL", ")", ",", "Subtarget", "(", "TT", ",", "CPU", ",", "FS", ",", "isLittle", ")", ",", "DL", "(", "isLittle", "?", "(", "", ")", ":", "(", "", ")", ")", ",", "InstrInfo", "(", "*", "this", ")", ",", "FrameLowering", "(", "Subtarget", ")", ",", "TLInfo", "(", "*", "this", ")", ",", "TSInfo", "(", "*", "this", ")", "{"], "ground_truth": ["}"], "File": "Cpu0TargetMachine2", "Func": "Cpu0TargetMachine", "Target": "Cpu0", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 190145, "Length": 107, "Cover_Rate": 0.981651376146789} {"Template_token": ["", "return", "", "", "", "", "", "", "", ";"], "ground_truth": ["}"], "File": "Cpu0TargetMachine3", "Func": "computeDataLayout", "Target": "Cpu0", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 190146, "Length": 10, "Cover_Rate": 0.5555555555555556} {"Template_token": ["", "static", "std", "::", "string", "computeDataLayout", "(", ")", "{", "return", "", "", "", "", "", "", "", ";"], "ground_truth": ["}"], "File": "Cpu0TargetMachine3", "Func": "computeDataLayout", "Target": "Cpu0", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 190147, "Length": 18, "Cover_Rate": 1.0} {"Template_token": ["", "static", "Reloc", "::", "Model", "getEffectiveRelocModel", "(", "Optional", "<", "Reloc", "::", "Model", ">", "RM", ")", "{", "if", "(", "!", "RM", ".", "hasValue", "(", ")", ")", "return", "Reloc", "::", "Static", ";", "return", "*", "RM", ";"], "ground_truth": ["}"], "File": "Cpu0TargetMachine3", "Func": "getEffectiveRelocModel", "Target": "Cpu0", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 190148, "Length": 34, "Cover_Rate": 1.0} {"Template_token": ["", "static", "Reloc", "::", "Model", "getEffectiveRelocModel", "(", "Optional", "<", "Reloc", "::", "Model", ">", "RM", ")", "{", "if", "(", "!", "RM", ".", "hasValue", "(", ")", ")", "return", "Reloc", "::", "Static", ";", "return", "*", "RM", ";"], "ground_truth": ["}"], "File": "Cpu0TargetMachine3", "Func": "getEffectiveRelocModel", "Target": "Cpu0", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 190149, "Length": 34, "Cover_Rate": 1.0} {"Template_token": ["", "addPass", "(", "createSEISelDAG", "(", "getTargetMachine", "(", ")", ",", "getOptLevel", "(", ")", ")", ")", ";"], "ground_truth": ["return", "false", ";"], "File": "Cpu0TargetMachine4", "Func": "addInstSelector", "Target": "Cpu0", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 190152, "Length": 17, "Cover_Rate": 0.68} {"Template_token": ["", "bool", "PassConfig", "::", "addInstSelector", "(", ")", "{"], "ground_truth": ["addPass", "(", "createSEISelDAG", "(", "getTargetMachine", "(", ")", ",", "getOptLevel", "(", ")", ")", ")", ";"], "File": "Cpu0TargetMachine4", "Func": "addInstSelector", "Target": "Cpu0", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 190153, "Length": 21, "Cover_Rate": 0.84} {"Template_token": ["", "addPass", "(", "createDelJmpPass", "(", "TM", ")", ")", ";", "addPass", "(", "createDelaySlotFillerPass", "(", "TM", ")", ")", ";"], "ground_truth": ["}"], "File": "Cpu0TargetMachine4", "Func": "addPreEmitPass", "Target": "Cpu0", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 190154, "Length": 17, "Cover_Rate": 0.53125} {"Template_token": ["", "static", "std", "::", "string", "computeDataLayout", "(", "const", "Triple", "&", "TT", ",", "StringRef", "CPU", ",", "const", "TargetOptions", "&", "Options", ",", "bool", "isLittle", ")", "{", "std", "::", "string", "Ret", "=", "", ";"], "ground_truth": ["if", "(", "isLittle", ")", "Ret", "+=", "", ";"], "File": "Cpu0TargetMachine4", "Func": "computeDataLayout", "Target": "Cpu0", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 190155, "Length": 38, "Cover_Rate": 0.6031746031746031} {"Template_token": ["", "ebTargetMachine", "::", "ebTargetMachine", "(", "const", "Target", "&", "T", ",", "const", "Triple", "&", "TT", ",", "StringRef", "CPU", ",", "StringRef", "FS", ",", "const", "TargetOptions", "&", "Options", ",", "Optional", "<", "Reloc", "::", "Model", ">", "RM", ",", "Optional", "<", "CodeModel", "::", "Model", ">", "CM", ",", "CodeGenOpt", "::", "Level", "OL", ",", "bool", "JIT", ")", ":", "TargetMachine", "(", "T", ",", "TT", ",", "CPU", ",", "FS", ",", "Options", ",", "RM", ",", "CM", ",", "OL", ",", "JIT", ",", "false", ")", "{"], "ground_truth": ["}"], "File": "Cpu0TargetMachine4", "Func": "Cpu0ebTargetMachine", "Target": "Cpu0", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 190156, "Length": 74, "Cover_Rate": 1.0} {"Template_token": ["", "ebTargetMachine", "::", "ebTargetMachine", "(", "const", "Target", "&", "T", ",", "const", "Triple", "&", "TT", ",", "StringRef", "CPU", ",", "StringRef", "FS", ",", "const", "TargetOptions", "&", "Options", ",", "Optional", "<", "Reloc", "::", "Model", ">", "RM", ",", "Optional", "<", "CodeModel", "::", "Model", ">", "CM", ",", "CodeGenOpt", "::", "Level", "OL", ",", "bool", "JIT", ")", ":", "TargetMachine", "(", "T", ",", "TT", ",", "CPU", ",", "FS", ",", "Options", ",", "RM", ",", "CM", ",", "OL", ",", "JIT", ",", "false", ")", "{"], "ground_truth": ["}"], "File": "Cpu0TargetMachine4", "Func": "Cpu0ebTargetMachine", "Target": "Cpu0", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 190157, "Length": 74, "Cover_Rate": 1.0} {"Template_token": ["", "elTargetMachine", "::", "elTargetMachine", "(", "const", "Target", "&", "T", ",", "const", "Triple", "&", "TT", ",", "StringRef", "CPU", ",", "StringRef", "FS", ",", "const", "TargetOptions", "&", "Options", ",", "Optional", "<", "Reloc", "::", "Model", ">", "RM", ",", "Optional", "<", "CodeModel", "::", "Model", ">", "CM", ",", "CodeGenOpt", "::", "Level", "OL", ",", "bool", "JIT", ")", ":", "TargetMachine", "(", "T", ",", "TT", ",", "CPU", ",", "FS", ",", "Options", ",", "RM", ",", "CM", ",", "OL", ",", "JIT", ",", "true", ")", "{"], "ground_truth": ["}"], "File": "Cpu0TargetMachine4", "Func": "Cpu0elTargetMachine", "Target": "Cpu0", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 190158, "Length": 74, "Cover_Rate": 1.0} {"Template_token": ["", "elTargetMachine", "::", "elTargetMachine", "(", "const", "Target", "&", "T", ",", "const", "Triple", "&", "TT", ",", "StringRef", "CPU", ",", "StringRef", "FS", ",", "const", "TargetOptions", "&", "Options", ",", "Optional", "<", "Reloc", "::", "Model", ">", "RM", ",", "Optional", "<", "CodeModel", "::", "Model", ">", "CM", ",", "CodeGenOpt", "::", "Level", "OL", ",", "bool", "JIT", ")", ":", "TargetMachine", "(", "T", ",", "TT", ",", "CPU", ",", "FS", ",", "Options", ",", "RM", ",", "CM", ",", "OL", ",", "JIT", ",", "true", ")", "{"], "ground_truth": ["}"], "File": "Cpu0TargetMachine4", "Func": "Cpu0elTargetMachine", "Target": "Cpu0", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 190159, "Length": 74, "Cover_Rate": 1.0} {"Template_token": ["", "TargetMachine", "::", "TargetMachine", "(", "const", "Target", "&", "T", ",", "const", "Triple", "&", "TT", ",", "StringRef", "CPU", ",", "StringRef", "FS", ",", "const", "TargetOptions", "&", "Options", ",", "Optional", "<", "Reloc", "::", "Model", ">", "RM", ",", "Optional", "<", "CodeModel", "::", "Model", ">", "CM", ",", "CodeGenOpt", "::", "Level", "OL", ",", "bool", "JIT", ",", "bool", "isLittle", ")", ":", "LLVMTargetMachine", "(", "T", ",", "computeDataLayout", "(", "TT", ",", "CPU", ",", "Options", ",", "isLittle", ")", ",", "TT", ",", "CPU", ",", "FS", ",", "Options", ",", "getEffectiveRelocModel", "(", "JIT", ",", "RM", ")", ",", "getEffectiveCodeModel", "(", "CM", ",", "CodeModel", "::", "Small", ")", ",", "OL", ")", ",", "isLittle", "(", "isLittle", ")", ",", "TLOF", "(", "llvm", "::", "make_unique", "<", "TargetObjectFile", ">", "(", ")", ")", ",", "ABI", "(", "ABIInfo", "::", "computeTargetABI", "(", ")", ")", ",", "DefaultSubtarget", "(", "TT", ",", "CPU", ",", "FS", ",", "isLittle", ",", "*", "this", ")", "{", "initAsmInfo", "(", ")", ";"], "ground_truth": ["}"], "File": "Cpu0TargetMachine4", "Func": "Cpu0TargetMachine", "Target": "Cpu0", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 190160, "Length": 140, "Cover_Rate": 1.0} {"Template_token": ["", "TargetMachine", "::", "TargetMachine", "(", "const", "Target", "&", "T", ",", "const", "Triple", "&", "TT", ",", "StringRef", "CPU", ",", "StringRef", "FS", ",", "const", "TargetOptions", "&", "Options", ",", "Optional", "<", "Reloc", "::", "Model", ">", "RM", ",", "Optional", "<", "CodeModel", "::", "Model", ">", "CM", ",", "CodeGenOpt", "::", "Level", "OL", ",", "bool", "JIT", ",", "bool", "isLittle", ")", ":", "LLVMTargetMachine", "(", "T", ",", "computeDataLayout", "(", "TT", ",", "CPU", ",", "Options", ",", "isLittle", ")", ",", "TT", ",", "CPU", ",", "FS", ",", "Options", ",", "getEffectiveRelocModel", "(", "JIT", ",", "RM", ")", ",", "getEffectiveCodeModel", "(", "CM", ",", "CodeModel", "::", "Small", ")", ",", "OL", ")", ",", "isLittle", "(", "isLittle", ")", ",", "TLOF", "(", "llvm", "::", "make_unique", "<", "TargetObjectFile", ">", "(", ")", ")", ",", "ABI", "(", "ABIInfo", "::", "computeTargetABI", "(", ")", ")", ",", "DefaultSubtarget", "(", "TT", ",", "CPU", ",", "FS", ",", "isLittle", ",", "*", "this", ")", "{"], "ground_truth": ["initAsmInfo", "(", ")", ";"], "File": "Cpu0TargetMachine4", "Func": "Cpu0TargetMachine", "Target": "Cpu0", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 190161, "Length": 139, "Cover_Rate": 0.9928571428571429} {"Template_token": ["", "static", "Reloc", "::", "Model", "getEffectiveRelocModel", "(", "bool", "JIT", ",", "Optional", "<", "Reloc", "::", "Model", ">", "RM", ")", "{", "if", "(", "!", "RM", ".", "hasValue", "(", ")", "||", "JIT", ")", "return", "Reloc", "::", "Static", ";"], "ground_truth": ["return", "*", "RM", ";"], "File": "Cpu0TargetMachine4", "Func": "getEffectiveRelocModel", "Target": "Cpu0", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 190163, "Length": 38, "Cover_Rate": 0.9743589743589743} {"Template_token": ["", "addPass", "(", "createSEISelDag", "(", "getTargetMachine", "(", ")", ",", "getOptLevel", "(", ")", ")", ")", ";", "return", "false", ";"], "ground_truth": ["}"], "File": "Cpu0TargetMachine", "Func": "addInstSelector", "Target": "Cpu0", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 190164, "Length": 18, "Cover_Rate": 0.72} {"Template_token": ["", "void", "PassConfig", "::", "addPreEmitPass", "(", ")", "{", "TargetMachine", "&", "TM", "=", "getTargetMachine", "(", ")", ";", "addPass", "(", "createLongBranchPass", "(", "TM", ")", ")", ";", "return", ";"], "ground_truth": ["}"], "File": "Cpu0TargetMachine", "Func": "addPreEmitPass", "Target": "Cpu0", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 190165, "Length": 26, "Cover_Rate": 1.0} {"Template_token": ["", "addPass", "(", "createLongBranchPass", "(", "TM", ")", ")", ";"], "ground_truth": ["return", ";"], "File": "Cpu0TargetMachine", "Func": "addPreEmitPass", "Target": "Cpu0", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 190166, "Length": 10, "Cover_Rate": 0.38461538461538464} {"Template_token": ["", "if", "(", "!", "ReserveGP", ")", "{", "addPass", "(", "createEmitGPRestorePass", "(", "getTargetMachine", "(", ")", ")", ")", ";"], "ground_truth": ["}"], "File": "Cpu0TargetMachine", "Func": "addPreRegAlloc", "Target": "Cpu0", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 190167, "Length": 17, "Cover_Rate": 0.6296296296296297} {"Template_token": ["", "void", "elTargetMachine", "::", "anchor", "(", ")", "{"], "ground_truth": ["}"], "File": "Cpu0TargetMachine", "Func": "anchor", "Target": "Cpu0", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 190168, "Length": 8, "Cover_Rate": 1.0} {"Template_token": ["", "void", "elTargetMachine", "::", "anchor", "(", ")", "{"], "ground_truth": ["}"], "File": "Cpu0TargetMachine", "Func": "anchor", "Target": "Cpu0", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 190169, "Length": 8, "Cover_Rate": 1.0} {"Template_token": ["", "static", "std", "::", "string", "computeDataLayout", "(", "const", "Triple", "&", "TT", ",", "StringRef", "CPU", ",", "const", "TargetOptions", "&", "Options", ",", "bool", "isLittle", ")", "{", "std", "::", "string", "Ret", "=", "", ";", "if", "(", "isLittle", ")", "Ret", "+=", "", ";", "else", "Ret", "+=", "", ";", "Ret", "+=", "", ";", "Ret", "+=", "", ";"], "ground_truth": ["Ret", "+=", "", ";"], "File": "Cpu0TargetMachine", "Func": "computeDataLayout", "Target": "Cpu0", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 190170, "Length": 55, "Cover_Rate": 0.873015873015873} {"Template_token": ["", "ebTargetMachine", "::", "ebTargetMachine", "(", "const", "Target", "&", "T", ",", "const", "Triple", "&", "TT", ",", "StringRef", "CPU", ",", "StringRef", "FS", ",", "const", "TargetOptions", "&", "Options", ",", "Optional", "<", "Reloc", "::", "Model", ">", "RM", ",", "Optional", "<", "CodeModel", "::", "Model", ">", "CM", ",", "CodeGenOpt", "::", "Level", "OL", ",", "bool", "JIT", ")", ":", "TargetMachine", "(", "T", ",", "TT", ",", "CPU", ",", "FS", ",", "Options", ",", "RM", ",", "CM", ",", "OL", ",", "false", ")", "{"], "ground_truth": ["}"], "File": "Cpu0TargetMachine", "Func": "Cpu0ebTargetMachine", "Target": "Cpu0", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 190171, "Length": 72, "Cover_Rate": 1.0} {"Template_token": ["", "ebTargetMachine", "::", "ebTargetMachine", "(", "const", "Target", "&", "T", ",", "const", "Triple", "&", "TT", ",", "StringRef", "CPU", ",", "StringRef", "FS", ",", "const", "TargetOptions", "&", "Options", ",", "Optional", "<", "Reloc", "::", "Model", ">", "RM", ",", "Optional", "<", "CodeModel", "::", "Model", ">", "CM", ",", "CodeGenOpt", "::", "Level", "OL", ",", "bool", "JIT", ")", ":", "TargetMachine", "(", "T", ",", "TT", ",", "CPU", ",", "FS", ",", "Options", ",", "RM", ",", "CM", ",", "OL", ",", "false", ")", "{"], "ground_truth": ["}"], "File": "Cpu0TargetMachine", "Func": "Cpu0ebTargetMachine", "Target": "Cpu0", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 190172, "Length": 72, "Cover_Rate": 1.0} {"Template_token": ["", "elTargetMachine", "::", "elTargetMachine", "(", "const", "Target", "&", "T", ",", "const", "Triple", "&", "TT", ",", "StringRef", "CPU", ",", "StringRef", "FS", ",", "const", "TargetOptions", "&", "Options", ",", "Optional", "<", "Reloc", "::", "Model", ">", "RM", ",", "Optional", "<", "CodeModel", "::", "Model", ">", "CM", ",", "CodeGenOpt", "::", "Level", "OL", ",", "bool", "JIT", ")", ":", "TargetMachine", "(", "T", ",", "TT", ",", "CPU", ",", "FS", ",", "Options", ",", "RM", ",", "CM", ",", "OL", ",", "true", ")", "{"], "ground_truth": ["}"], "File": "Cpu0TargetMachine", "Func": "Cpu0elTargetMachine", "Target": "Cpu0", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 190173, "Length": 72, "Cover_Rate": 1.0} {"Template_token": ["", "elTargetMachine", "::", "elTargetMachine", "(", "const", "Target", "&", "T", ",", "const", "Triple", "&", "TT", ",", "StringRef", "CPU", ",", "StringRef", "FS", ",", "const", "TargetOptions", "&", "Options", ",", "Optional", "<", "Reloc", "::", "Model", ">", "RM", ",", "Optional", "<", "CodeModel", "::", "Model", ">", "CM", ",", "CodeGenOpt", "::", "Level", "OL", ",", "bool", "JIT", ")", ":", "TargetMachine", "(", "T", ",", "TT", ",", "CPU", ",", "FS", ",", "Options", ",", "RM", ",", "CM", ",", "OL", ",", "true", ")", "{"], "ground_truth": ["}"], "File": "Cpu0TargetMachine", "Func": "Cpu0elTargetMachine", "Target": "Cpu0", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 190174, "Length": 72, "Cover_Rate": 1.0} {"Template_token": ["", "PassConfig", "(", "TargetMachine", "&", "TM", ",", "PassManagerBase", "&", "PM", ")", ":", "TargetPassConfig", "(", "TM", ",", "PM", ")", "{"], "ground_truth": ["}"], "File": "Cpu0TargetMachine", "Func": "Cpu0PassConfig", "Target": "Cpu0", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 190175, "Length": 19, "Cover_Rate": 1.0} {"Template_token": ["", "PassConfig", "(", "TargetMachine", "&", "TM", ",", "PassManagerBase", "&", "PM", ")", ":", "TargetPassConfig", "(", "TM", ",", "PM", ")", "{"], "ground_truth": ["}"], "File": "Cpu0TargetMachine", "Func": "Cpu0PassConfig", "Target": "Cpu0", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 190176, "Length": 19, "Cover_Rate": 1.0} {"Template_token": ["", "TargetMachine", "::", "TargetMachine", "(", "const", "Target", "&", "T", ",", "const", "Triple", "&", "TT", ",", "StringRef", "CPU", ",", "StringRef", "FS", ",", "const", "TargetOptions", "&", "Options", ",", "Optional", "<", "Reloc", "::", "Model", ">", "RM", ",", "Optional", "<", "CodeModel", "::", "Model", ">", "CM", ",", "CodeGenOpt", "::", "Level", "OL", ",", "bool", "isLittle", ")", ":", "LLVMTargetMachine", "(", "T", ",", "computeDataLayout", "(", "TT", ",", "CPU", ",", "Options", ",", "isLittle", ")", ",", "TT", ",", "CPU", ",", "FS", ",", "Options", ",", "getEffectiveRelocModel", "(", "CM", ",", "RM", ")", ",", "CodeModel", "::", "Medium", ",", "OL", ")", ",", "isLittle", "(", "isLittle", ")", ",", "TLOF", "(", "make_unique", "<", "TargetObjectFile", ">", "(", ")", ")", ",", "ABI", "(", "ABIInfo", "::", "computeTargetABI", "(", ")", ")", ",", "DefaultSubtarget", "(", "TT", ",", "CPU", ",", "FS", ",", "isLittle", ",", "*", "this", ")", "{"], "ground_truth": ["initAsmInfo", "(", ")", ";"], "File": "Cpu0TargetMachine", "Func": "Cpu0TargetMachine", "Target": "Cpu0", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 190177, "Length": 129, "Cover_Rate": 0.9923076923076923} {"Template_token": ["", "TargetPassConfig", "*", "TargetMachine", "::", "createPassConfig", "(", "PassManagerBase", "&", "PM", ")", "{", "return", "new", "PassConfig", "(", "*", "this", ",", "PM", ")", ";"], "ground_truth": ["}"], "File": "Cpu0TargetMachine", "Func": "createPassConfig", "Target": "Cpu0", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 190179, "Length": 22, "Cover_Rate": 1.0} {"Template_token": ["", "TargetPassConfig", "*", "TargetMachine", "::", "createPassConfig", "(", "PassManagerBase", "&", "PM", ")", "{", "return", "new", "PassConfig", "(", "*", "this", ",", "PM", ")", ";"], "ground_truth": ["}"], "File": "Cpu0TargetMachine", "Func": "createPassConfig", "Target": "Cpu0", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 190180, "Length": 22, "Cover_Rate": 1.0} {"Template_token": ["", "const", "ABIInfo", "&", "getABI", "(", ")", "const", "{"], "ground_truth": ["return", "ABI", ";"], "File": "Cpu0TargetMachine", "Func": "getABI", "Target": "Cpu0", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 190181, "Length": 11, "Cover_Rate": 0.9166666666666666} {"Template_token": ["", "const", "ABIInfo", "&", "getABI", "(", ")", "const", "{"], "ground_truth": ["return", "ABI", ";"], "File": "Cpu0TargetMachine", "Func": "getABI", "Target": "Cpu0", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 190182, "Length": 11, "Cover_Rate": 0.9166666666666666} {"Template_token": ["", "const", "Subtarget", "&", "getSubtarget", "(", ")", "const", "{"], "ground_truth": ["return", "*", "getTargetMachine", "(", ")", ".", "getSubtargetImpl", "(", ")", ";"], "File": "Cpu0TargetMachine", "Func": "getCpu0Subtarget", "Target": "Cpu0", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 190184, "Length": 18, "Cover_Rate": 0.9473684210526315} {"Template_token": ["", "TargetMachine", "&", "getTargetMachine", "(", ")", "const", "{", "return", "getTM", "<", "TargetMachine", ">", "(", ")", ";"], "ground_truth": ["}"], "File": "Cpu0TargetMachine", "Func": "getCpu0TargetMachine", "Target": "Cpu0", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 190185, "Length": 16, "Cover_Rate": 1.0} {"Template_token": ["", "static", "Reloc", "::", "Model", "getEffectiveRelocModel", "(", "Optional", "<", "CodeModel", "::", "Model", ">", "CM", ",", "Optional", "<", "Reloc", "::", "Model", ">", "RM", ")", "{", "if", "(", "!", "RM", ".", "hasValue", "(", ")", ")", "return", "Reloc", "::", "Static", ";", "return", "*", "RM", ";"], "ground_truth": ["}"], "File": "Cpu0TargetMachine", "Func": "getEffectiveRelocModel", "Target": "Cpu0", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 190187, "Length": 42, "Cover_Rate": 1.0} {"Template_token": ["", "const", "Subtarget", "*", "getSubtargetImpl", "(", ")", "const", "{", "return", "&", "DefaultSubtarget", ";"], "ground_truth": ["}"], "File": "Cpu0TargetMachine", "Func": "getSubtargetImpl", "Target": "Cpu0", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 190190, "Length": 13, "Cover_Rate": 1.0} {"Template_token": ["", "bool", "isLittleEndian", "(", ")", "const", "{"], "ground_truth": ["return", "isLittle", ";"], "File": "Cpu0TargetMachine", "Func": "isLittleEndian", "Target": "Cpu0", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 190192, "Length": 9, "Cover_Rate": 0.9} {"Template_token": ["", "RegisterTargetMachine", "<", "ebTargetMachine", ">", "X", "(", "getTheTarget", "(", ")", ")", ";"], "ground_truth": ["RegisterTargetMachine", "<", "elTargetMachine", ">", "Y", "(", "getTheelTarget", "(", ")", ")", ";"], "File": "Cpu0TargetMachine", "Func": "LLVMInitializeCpu0Target", "Target": "Cpu0", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 190193, "Length": 22, "Cover_Rate": 0.7857142857142857} {"Template_token": ["", "void", "LLVMInitializeTarget", "(", ")", "{"], "ground_truth": ["RegisterTargetMachine", "<", "ebTargetMachine", ">", "X", "(", "getTheTarget", "(", ")", ")", ";"], "File": "Cpu0TargetMachine", "Func": "LLVMInitializeCpu0Target", "Target": "Cpu0", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 190194, "Length": 16, "Cover_Rate": 0.5714285714285714} {"Template_token": ["", "TargetMachine", "::", "~", "TargetMachine", "(", ")", "{"], "ground_truth": ["}"], "File": "Cpu0TargetMachine", "Func": "~Cpu0TargetMachine", "Target": "Cpu0", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 190195, "Length": 8, "Cover_Rate": 1.0} {"Template_token": ["", "TargetMachine", "::", "~", "TargetMachine", "(", ")", "{"], "ground_truth": ["}"], "File": "Cpu0TargetMachine", "Func": "~Cpu0TargetMachine", "Target": "Cpu0", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 190196, "Length": 8, "Cover_Rate": 1.0} {"Template_token": ["", "void", "TargetObjectFile", "::", "Initialize", "(", "MCContext", "&", "Ctx", ",", "const", "TargetMachine", "&", "TM", ")", "{", "TargetLoweringObjectFileELF", "::", "Initialize", "(", "Ctx", ",", "TM", ")", ";"], "ground_truth": ["SmallDataSection", "=", "getContext", "(", ")", ".", "getELFSection", "(", "", ",", "ELF", "::", "SHT_PROGBITS", ",", "ELF", "::", "SHF_WRITE", "|", "ELF", "::", "SHF_ALLOC", ",", "SectionKind", "::", "getDataRel", "(", ")", ")", ";"], "File": "Cpu0TargetObjectFile1", "Func": "Initialize", "Target": "Cpu0", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 190197, "Length": 53, "Cover_Rate": 0.6385542168674698} {"Template_token": ["", "const", "GlobalVariable", "*", "GVA", "=", "dyn_cast", "<", "GlobalVariable", ">", "(", "GV", ")", ";", "if", "(", "!", "GVA", ")", "return", "false", ";", "if", "(", "!", "Kind", ".", "isBSS", "(", ")", "&&", "!", "Kind", ".", "isDataRel", "(", ")", ")", "return", "false", ";"], "ground_truth": ["if", "(", "Kind", ".", "isMergeable1ByteCString", "(", ")", ")", "return", "false", ";"], "File": "Cpu0TargetObjectFile1", "Func": "IsGlobalInSmallSection", "Target": "Cpu0", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 190198, "Length": 51, "Cover_Rate": 0.4015748031496063} {"Template_token": ["", "if", "(", "!", "Subtarget", ".", "useSmallSection", "(", ")", ")", "return", "false", ";", "const", "GlobalVariable", "*", "GVA", "=", "dyn_cast", "<", "GlobalVariable", ">", "(", "GV", ")", ";", "if", "(", "!", "GVA", ")", "return", "false", ";", "if", "(", "!", "Kind", ".", "isBSS", "(", ")", "&&", "!", "Kind", ".", "isDataRel", "(", ")", ")", "return", "false", ";"], "ground_truth": ["if", "(", "Kind", ".", "isMergeable1ByteCString", "(", ")", ")", "return", "false", ";"], "File": "Cpu0TargetObjectFile1", "Func": "IsGlobalInSmallSection", "Target": "Cpu0", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 190199, "Length": 63, "Cover_Rate": 0.49606299212598426} {"Template_token": ["", "SelectSectionForGlobal", "(", "const", "GlobalValue", "*", "GV", ",", "SectionKind", "Kind", ",", "Mangler", "*", "Mang", ",", "const", "TargetMachine", "&", "TM", ")", "const", "{"], "ground_truth": ["if", "(", "Kind", ".", "isBSS", "(", ")", "&&", "IsGlobalInSmallSection", "(", "GV", ",", "TM", ",", "Kind", ")", ")", "return", "SmallBSSSection", ";"], "File": "Cpu0TargetObjectFile1", "Func": "SelectSectionForGlobal", "Target": "Cpu0", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 190200, "Length": 41, "Cover_Rate": 0.5061728395061729} {"Template_token": ["", "SelectSectionForGlobal", "(", "const", "GlobalValue", "*", "GV", ",", "SectionKind", "Kind", ",", "Mangler", "*", "Mang", ",", "const", "TargetMachine", "&", "TM", ")", "const", "{", "if", "(", "Kind", ".", "isBSS", "(", ")", "&&", "IsGlobalInSmallSection", "(", "GV", ",", "TM", ",", "Kind", ")", ")", "return", "SmallBSSSection", ";", "if", "(", "Kind", ".", "isDataNoRel", "(", ")", "&&", "IsGlobalInSmallSection", "(", "GV", ",", "TM", ",", "Kind", ")", ")", "return", "SmallDataSection", ";", "return", "TargetLoweringObjectFileELF", "::", "SelectSectionForGlobal", "(", "GV", ",", "Kind", ",", "Mang", ",", "TM", ")", ";"], "ground_truth": ["}"], "File": "Cpu0TargetObjectFile1", "Func": "SelectSectionForGlobal", "Target": "Cpu0", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 190201, "Length": 76, "Cover_Rate": 0.9382716049382716} {"Template_token": ["", "const", "GlobalVariable", "*", "GVA", "=", "dyn_cast", "<", "GlobalVariable", ">", "(", "GV", ")", ";", "if", "(", "!", "GVA", ")", "return", "false", ";", "if", "(", "!", "Kind", ".", "isBSS", "(", ")", "&&", "!", "Kind", ".", "isDataRel", "(", ")", ")", "return", "false", ";"], "ground_truth": ["if", "(", "Kind", ".", "isMergeable1ByteCString", "(", ")", ")", "return", "false", ";"], "File": "Cpu0TargetObjectFile2", "Func": "IsGlobalInSmallSection", "Target": "Cpu0", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 190202, "Length": 51, "Cover_Rate": 0.40476190476190477} {"Template_token": ["", "const", "Subtarget", "&", "Subtarget", "=", "TM", ".", "getSubtarget", "<", "Subtarget", ">", "(", ")", ";", "if", "(", "Subtarget", ".", "isLinux", "(", ")", ")", "return", "false", ";"], "ground_truth": ["const", "GlobalVariable", "*", "GVA", "=", "dyn_cast", "<", "GlobalVariable", ">", "(", "GV", ")", ";"], "File": "Cpu0TargetObjectFile2", "Func": "IsGlobalInSmallSection", "Target": "Cpu0", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 190203, "Length": 38, "Cover_Rate": 0.30158730158730157} {"Template_token": ["", "InitializeELF", "(", "TM", ".", "Options", ".", "UseInitArray", ")", ";"], "ground_truth": ["SmallDataSection", "=", "getContext", "(", ")", ".", "getELFSection", "(", "", ",", "ELF", "::", "SHT_PROGBITS", ",", "ELF", "::", "SHF_WRITE", "|", "ELF", "::", "SHF_ALLOC", ")", ";"], "File": "Cpu0TargetObjectFile3", "Func": "Initialize", "Target": "Cpu0", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 190204, "Length": 32, "Cover_Rate": 0.4} {"Template_token": ["", "InitializeELF", "(", "TM", ".", "Options", ".", "UseInitArray", ")", ";", "SmallDataSection", "=", "getContext", "(", ")", ".", "getELFSection", "(", "", ",", "ELF", "::", "SHT_PROGBITS", ",", "ELF", "::", "SHF_WRITE", "|", "ELF", "::", "SHF_ALLOC", ")", ";", "SmallBSSSection", "=", "getContext", "(", ")", ".", "getELFSection", "(", "", ",", "ELF", "::", "SHT_NOBITS", ",", "ELF", "::", "SHF_WRITE", "|", "ELF", "::", "SHF_ALLOC", ")", ";"], "ground_truth": ["}"], "File": "Cpu0TargetObjectFile3", "Func": "Initialize", "Target": "Cpu0", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 190205, "Length": 56, "Cover_Rate": 0.7} {"Template_token": ["", "TargetLoweringObjectFileELF", "::", "Initialize", "(", "Ctx", ",", "TM", ")", ";", "InitializeELF", "(", "TM", ".", "Options", ".", "UseInitArray", ")", ";", "SmallDataSection", "=", "getContext", "(", ")", ".", "getELFSection", "(", "", ",", "ELF", "::", "SHT_PROGBITS", ",", "ELF", "::", "SHF_WRITE", "|", "ELF", "::", "SHF_ALLOC", ")", ";", "SmallBSSSection", "=", "getContext", "(", ")", ".", "getELFSection", "(", "", ",", "ELF", "::", "SHT_NOBITS", ",", "ELF", "::", "SHF_WRITE", "|", "ELF", "::", "SHF_ALLOC", ")", ";", "this", "->", "TM", "=", "&", "static_cast", "<", "const", "TargetMachine", "&", ">", "(", "TM", ")", ";"], "ground_truth": ["}"], "File": "Cpu0TargetObjectFile4", "Func": "Initialize", "Target": "Cpu0", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 190206, "Length": 80, "Cover_Rate": 0.8421052631578947} {"Template_token": ["", "SmallDataSection", "=", "getContext", "(", ")", ".", "getELFSection", "(", "", ",", "ELF", "::", "SHT_PROGBITS", ",", "ELF", "::", "SHF_WRITE", "|", "ELF", "::", "SHF_ALLOC", ")", ";", "SmallBSSSection", "=", "getContext", "(", ")", ".", "getELFSection", "(", "", ",", "ELF", "::", "SHT_NOBITS", ",", "ELF", "::", "SHF_WRITE", "|", "ELF", "::", "SHF_ALLOC", ")", ";", "this", "->", "TM", "=", "&", "static_cast", "<", "const", "TargetMachine", "&", ">", "(", "TM", ")", ";"], "ground_truth": ["}"], "File": "Cpu0TargetObjectFile4", "Func": "Initialize", "Target": "Cpu0", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 190207, "Length": 62, "Cover_Rate": 0.6526315789473685} {"Template_token": ["", "return", "(", "IsGlobalInSmallSectionImpl", "(", "GO", ",", "TM", ")", "&&", "(", "Kind", ".", "isData", "(", ")", "||", "Kind", ".", "isBSS", "(", ")", "||", "Kind", ".", "isCommon", "(", ")", "||", "Kind", ".", "isReadOnly", "(", ")", ")", ")", ";"], "ground_truth": ["}"], "File": "Cpu0TargetObjectFile4", "Func": "IsGlobalInSmallSection", "Target": "Cpu0", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 190209, "Length": 37, "Cover_Rate": 0.6491228070175439} {"Template_token": ["", "if", "(", "!", "GVA", ")", "return", "false", ";", "Type", "*", "Ty", "=", "GVA", "->", "getValueType", "(", ")", ";", "return", "IsInSmallSection", "(", "GVA", "->", "getParent", "(", ")", "->", "getDataLayout", "(", ")", ".", "getTypeAllocSize", "(", "Ty", ")", ")", ";"], "ground_truth": ["}"], "File": "Cpu0TargetObjectFile4", "Func": "IsGlobalInSmallSectionImpl", "Target": "Cpu0", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 190210, "Length": 38, "Cover_Rate": 0.38} {"Template_token": ["", "if", "(", "Kind", ".", "isReadOnly", "(", ")", "&&", "IsGlobalInSmallSection", "(", "GO", ",", "TM", ",", "Kind", ")", ")", "return", "SmallDataSection", ";", "return", "TargetLoweringObjectFileELF", "::", "SelectSectionForGlobal", "(", "GO", ",", "Kind", ",", "TM", ")", ";"], "ground_truth": ["}"], "File": "Cpu0TargetObjectFile4", "Func": "SelectSectionForGlobal", "Target": "Cpu0", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 190211, "Length": 33, "Cover_Rate": 0.35106382978723405} {"Template_token": ["", "TargetLoweringObjectFileELF", "(", ")", "{"], "ground_truth": ["}"], "File": "Cpu0TargetObjectFile", "Func": "Cpu0TargetObjectFile", "Target": "Cpu0", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 190212, "Length": 5, "Cover_Rate": 0.5555555555555556} {"Template_token": ["", "SmallBSSSection", "=", "getContext", "(", ")", ".", "getELFSection", "(", "", ",", "ELF", "::", "SHT_NOBITS", ",", "ELF", "::", "SHF_WRITE", "|", "ELF", "::", "SHF_ALLOC", ")", ";"], "ground_truth": ["this", "->", "TM", "=", "&", "static_cast", "<", "const", "TargetMachine", "&", ">", "(", "TM", ")", ";"], "File": "Cpu0TargetObjectFile", "Func": "Initialize", "Target": "Cpu0", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 190214, "Length": 38, "Cover_Rate": 0.4} {"Template_token": ["", "IsGlobalInSmallSection", "(", "const", "GlobalObject", "*", "GO", ",", "const", "TargetMachine", "&", "TM", ",", "SectionKind", "Kind", ")", "const", "{"], "ground_truth": ["return", "IsGlobalInSmallSectionImpl", "(", "GO", ",", "TM", ")", "&&", "(", "Kind", ".", "isData", "(", ")", "||", "Kind", ".", "isBSS", "(", ")", "||", "Kind", ".", "isCommon", "(", ")", "||", "Kind", ".", "isReadOnly", "(", ")", ")", ";"], "File": "Cpu0TargetObjectFile", "Func": "IsGlobalInSmallSection", "Target": "Cpu0", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 190215, "Length": 51, "Cover_Rate": 0.9272727272727272} {"Template_token": ["", "if", "(", "!", "GVA", ")", "return", "false", ";", "Type", "*", "Ty", "=", "GVA", "->", "getValueType", "(", ")", ";"], "ground_truth": ["return", "IsInSmallSection", "(", "GVA", "->", "getParent", "(", ")", "->", "getDataLayout", "(", ")", ".", "getTypeAllocSize", "(", "Ty", ")", ")", ";"], "File": "Cpu0TargetObjectFile", "Func": "IsGlobalInSmallSectionImpl", "Target": "Cpu0", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 190217, "Length": 37, "Cover_Rate": 0.37} {"Template_token": ["", "return", "Size", ">", "", "&&", "Size", "<=", "SSThreshold", ";"], "ground_truth": ["}"], "File": "Cpu0TargetObjectFile", "Func": "IsInSmallSection", "Target": "Cpu0", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 190218, "Length": 10, "Cover_Rate": 0.5555555555555556} {"Template_token": ["", "return", "Size", ">", "", "&&", "Size", "<=", "SSThreshold", ";"], "ground_truth": ["}"], "File": "Cpu0TargetObjectFile", "Func": "IsInSmallSection", "Target": "Cpu0", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 190219, "Length": 10, "Cover_Rate": 0.5555555555555556} {"Template_token": ["", "if", "(", "Kind", ".", "isData", "(", ")", "&&", "IsGlobalInSmallSection", "(", "GO", ",", "TM", ",", "Kind", ")", ")", "return", "SmallDataSection", ";"], "ground_truth": ["if", "(", "Kind", ".", "isReadOnly", "(", ")", "&&", "IsGlobalInSmallSection", "(", "GO", ",", "TM", ",", "Kind", ")", ")", "return", "SmallDataSection", ";"], "File": "Cpu0TargetObjectFile", "Func": "SelectSectionForGlobal", "Target": "Cpu0", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 190220, "Length": 40, "Cover_Rate": 0.425531914893617} {"Template_token": ["", "if", "(", "Kind", ".", "isReadOnly", "(", ")", "&&", "IsGlobalInSmallSection", "(", "GO", ",", "TM", ",", "Kind", ")", ")", "return", "SmallDataSection", ";"], "ground_truth": ["return", "TargetLoweringObjectFileELF", "::", "SelectSectionForGlobal", "(", "GO", ",", "Kind", ",", "TM", ")", ";"], "File": "Cpu0TargetObjectFile", "Func": "SelectSectionForGlobal", "Target": "Cpu0", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 190221, "Length": 32, "Cover_Rate": 0.3404255319148936} {"Template_token": ["", "TargetStreamer", "::", "TargetStreamer", "(", "MCStreamer", "&", "S", ")", ":", "MCTargetStreamer", "(", "S", ")", "{"], "ground_truth": ["}"], "File": "Cpu0TargetStreamer1", "Func": "Cpu0TargetStreamer", "Target": "Cpu0", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 190222, "Length": 15, "Cover_Rate": 1.0} {"Template_token": ["", "TargetStreamer", "::", "TargetStreamer", "(", "MCStreamer", "&", "S", ")", ":", "MCTargetStreamer", "(", "S", ")", "{"], "ground_truth": ["}"], "File": "Cpu0TargetStreamer1", "Func": "Cpu0TargetStreamer", "Target": "Cpu0", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 190223, "Length": 15, "Cover_Rate": 1.0} {"Template_token": ["", "TargetAsmStreamer", "::", "TargetAsmStreamer", "(", "MCStreamer", "&", "S", ",", "formatted_raw_ostream", "&", "OS", ")", ":", "TargetStreamer", "(", "S", ")", ",", "OS", "(", "OS", ")", "{"], "ground_truth": ["}"], "File": "Cpu0TargetStreamer", "Func": "Cpu0TargetAsmStreamer", "Target": "Cpu0", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 190224, "Length": 24, "Cover_Rate": 1.0} {"Template_token": ["", "TargetAsmStreamer", "::", "TargetAsmStreamer", "(", "MCStreamer", "&", "S", ",", "formatted_raw_ostream", "&", "OS", ")", ":", "TargetStreamer", "(", "S", ")", ",", "OS", "(", "OS", ")", "{"], "ground_truth": ["}"], "File": "Cpu0TargetStreamer", "Func": "Cpu0TargetAsmStreamer", "Target": "Cpu0", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 190225, "Length": 24, "Cover_Rate": 1.0} {"Template_token": ["", "TargetELFStreamer", "::", "TargetELFStreamer", "(", "MCStreamer", "&", "S", ",", "const", "MCSubtargetInfo", "&", "STI", ")", ":", "TargetStreamer", "(", "S", ")", ",", "STI", "(", "STI", ")", "{"], "ground_truth": ["}"], "File": "Cpu0TargetStreamer", "Func": "Cpu0TargetELFStreamer", "Target": "Cpu0", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 190226, "Length": 25, "Cover_Rate": 1.0} {"Template_token": ["", "TargetELFStreamer", "::", "TargetELFStreamer", "(", "MCStreamer", "&", "S", ",", "const", "MCSubtargetInfo", "&", "STI", ")", ":", "TargetStreamer", "(", "S", ")", ",", "STI", "(", "STI", ")", "{"], "ground_truth": ["}"], "File": "Cpu0TargetStreamer", "Func": "Cpu0TargetELFStreamer", "Target": "Cpu0", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 190227, "Length": 25, "Cover_Rate": 1.0} {"Template_token": ["", "TargetStreamer", "::", "TargetStreamer", "(", "MCStreamer", "&", "S", ")", ":", "MCTargetStreamer", "(", "S", ")", "{"], "ground_truth": ["}"], "File": "Cpu0TargetStreamer", "Func": "Cpu0TargetStreamer", "Target": "Cpu0", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 190228, "Length": 15, "Cover_Rate": 1.0} {"Template_token": ["", "TargetStreamer", "::", "TargetStreamer", "(", "MCStreamer", "&", "S", ")", ":", "MCTargetStreamer", "(", "S", ")", "{"], "ground_truth": ["}"], "File": "Cpu0TargetStreamer", "Func": "Cpu0TargetStreamer", "Target": "Cpu0", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 190229, "Length": 15, "Cover_Rate": 1.0}