{"Template_token": ["", "case", "", ":", "return", "", ";", "case", "", ":", "return", "", ";", "case", "", ":", "return", "", ";", "case", "", ":", "return", "", ";", "}"], "ground_truth": ["return", "nullptr", ";"], "File": "ARM64AddressingModes1", "Func": "getShiftName", "Target": "ARM64", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 27828, "Length": 28, "Cover_Rate": 0.3888888888888889} {"Template_token": ["", "static", "inline", "uint64_t", "decodeAdvSIMDModImmType1", "(", "uint8_t", "Imm", ")", "{"], "ground_truth": ["uint64_t", "EncVal", "=", "Imm", ";"], "File": "ARM64AddressingModes", "Func": "decodeAdvSIMDModImmType1", "Target": "ARM64", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 27829, "Length": 14, "Cover_Rate": 0.5833333333333334} {"Template_token": ["", "if", "(", "Imm", "&", "", ")", "EncVal", "|=", "", ";", "if", "(", "Imm", "&", "", ")", "EncVal", "|=", "", ";", "if", "(", "Imm", "&", "", ")", "EncVal", "|=", "", ";", "if", "(", "Imm", "&", "", ")", "EncVal", "|=", "", ";", "if", "(", "Imm", "&", "", ")", "EncVal", "|=", "", ";", "if", "(", "Imm", "&", "", ")", "EncVal", "|=", "", ";"], "ground_truth": ["return", "EncVal", ";"], "File": "ARM64AddressingModes", "Func": "decodeAdvSIMDModImmType10", "Target": "ARM64", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 27831, "Length": 63, "Cover_Rate": 0.6428571428571429} {"Template_token": ["", "if", "(", "Imm", "&", "", ")", "EncVal", "|=", "", ";", "if", "(", "Imm", "&", "", ")", "EncVal", "|=", "", ";", "if", "(", "Imm", "&", "", ")", "EncVal", "|=", "", ";", "if", "(", "Imm", "&", "", ")", "EncVal", "|=", "", ";", "if", "(", "Imm", "&", "", ")", "EncVal", "|=", "", ";"], "ground_truth": ["return", "EncVal", ";"], "File": "ARM64AddressingModes", "Func": "decodeAdvSIMDModImmType10", "Target": "ARM64", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 27832, "Length": 53, "Cover_Rate": 0.5408163265306123} {"Template_token": ["", "if", "(", "Imm", "&", "", ")", "EncVal", "|=", "", ";", "if", "(", "Imm", "&", "", ")", "EncVal", "|=", "", ";", "if", "(", "Imm", "&", "", ")", "EncVal", "|=", "", ";", "if", "(", "Imm", "&", "", ")", "EncVal", "|=", "", ";", "if", "(", "Imm", "&", "", ")", "EncVal", "|=", "", ";"], "ground_truth": ["if", "(", "Imm", "&", "", ")", "EncVal", "|=", "", ";"], "File": "ARM64AddressingModes", "Func": "decodeAdvSIMDModImmType11", "Target": "ARM64", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 27833, "Length": 60, "Cover_Rate": 0.5504587155963303} {"Template_token": ["", "if", "(", "Imm", "&", "", ")", "EncVal", "|=", "", ";", "if", "(", "Imm", "&", "", ")", "EncVal", "|=", "", ";", "if", "(", "Imm", "&", "", ")", "EncVal", "|=", "", ";", "if", "(", "Imm", "&", "", ")", "EncVal", "|=", "", ";", "if", "(", "Imm", "&", "", ")", "EncVal", "|=", "", ";", "return", "(", "EncVal", "<<", "", ")", "|", "EncVal", ";"], "ground_truth": ["}"], "File": "ARM64AddressingModes", "Func": "decodeAdvSIMDModImmType12", "Target": "ARM64", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 27834, "Length": 60, "Cover_Rate": 0.5504587155963303} {"Template_token": ["", "return", "(", "EncVal", "<<", "", ")", "|", "(", "EncVal", "<<", "", ")", ";"], "ground_truth": ["}"], "File": "ARM64AddressingModes", "Func": "decodeAdvSIMDModImmType2", "Target": "ARM64", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 27835, "Length": 14, "Cover_Rate": 0.5} {"Template_token": ["", "uint64_t", "EncVal", "=", "Imm", ";", "return", "(", "EncVal", "<<", "", ")", "|", "(", "EncVal", "<<", "", ")", ";"], "ground_truth": ["}"], "File": "ARM64AddressingModes", "Func": "decodeAdvSIMDModImmType2", "Target": "ARM64", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 27836, "Length": 19, "Cover_Rate": 0.6785714285714286} {"Template_token": ["", "uint64_t", "EncVal", "=", "Imm", ";", "return", "(", "EncVal", "<<", "", ")", "|", "(", "EncVal", "<<", "", ")", ";"], "ground_truth": ["}"], "File": "ARM64AddressingModes", "Func": "decodeAdvSIMDModImmType3", "Target": "ARM64", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 27837, "Length": 19, "Cover_Rate": 0.6785714285714286} {"Template_token": ["", "static", "inline", "uint64_t", "decodeAdvSIMDModImmType4", "(", "uint8_t", "Imm", ")", "{", "uint64_t", "EncVal", "=", "Imm", ";", "return", "(", "EncVal", "<<", "", ")", "|", "(", "EncVal", "<<", "", ")", ";"], "ground_truth": ["}"], "File": "ARM64AddressingModes", "Func": "decodeAdvSIMDModImmType4", "Target": "ARM64", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 27838, "Length": 28, "Cover_Rate": 1.0} {"Template_token": ["", "static", "inline", "uint64_t", "decodeAdvSIMDModImmType4", "(", "uint8_t", "Imm", ")", "{", "uint64_t", "EncVal", "=", "Imm", ";"], "ground_truth": ["return", "(", "EncVal", "<<", "", ")", "|", "(", "EncVal", "<<", "", ")", ";"], "File": "ARM64AddressingModes", "Func": "decodeAdvSIMDModImmType4", "Target": "ARM64", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 27839, "Length": 27, "Cover_Rate": 0.9642857142857143} {"Template_token": ["", "return", "(", "EncVal", "<<", "", ")", "|", "(", "EncVal", "<<", "", ")", "|", "(", "EncVal", "<<", "", ")", "|", "EncVal", ";"], "ground_truth": ["}"], "File": "ARM64AddressingModes", "Func": "decodeAdvSIMDModImmType5", "Target": "ARM64", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 27840, "Length": 22, "Cover_Rate": 0.6111111111111112} {"Template_token": ["", "static", "inline", "uint64_t", "decodeAdvSIMDModImmType5", "(", "uint8_t", "Imm", ")", "{"], "ground_truth": ["uint64_t", "EncVal", "=", "Imm", ";"], "File": "ARM64AddressingModes", "Func": "decodeAdvSIMDModImmType5", "Target": "ARM64", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 27841, "Length": 14, "Cover_Rate": 0.3888888888888889} {"Template_token": ["", "uint64_t", "EncVal", "=", "Imm", ";", "return", "(", "EncVal", "<<", "", ")", "|", "(", "EncVal", "<<", "", ")", "|", "(", "EncVal", "<<", "", ")", "|", "(", "EncVal", "<<", "", ")", ";"], "ground_truth": ["}"], "File": "ARM64AddressingModes", "Func": "decodeAdvSIMDModImmType6", "Target": "ARM64", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 27842, "Length": 31, "Cover_Rate": 0.775} {"Template_token": ["", "return", "(", "EncVal", "<<", "", ")", "|", "(", "EncVal", "<<", "", ")", "|", "(", "EncVal", "<<", "", ")", "|", "(", "EncVal", "<<", "", ")", ";"], "ground_truth": ["}"], "File": "ARM64AddressingModes", "Func": "decodeAdvSIMDModImmType6", "Target": "ARM64", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 27843, "Length": 26, "Cover_Rate": 0.65} {"Template_token": ["", "uint64_t", "EncVal", "=", "Imm", ";", "return", "(", "EncVal", "<<", "", ")", "|", "(", "EncVal", "<<", "", ")", "|", "", ";"], "ground_truth": ["}"], "File": "ARM64AddressingModes", "Func": "decodeAdvSIMDModImmType7", "Target": "ARM64", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 27844, "Length": 21, "Cover_Rate": 0.7} {"Template_token": ["", "return", "(", "EncVal", "<<", "", ")", "|", "(", "EncVal", "<<", "", ")", "|", "", ";"], "ground_truth": ["}"], "File": "ARM64AddressingModes", "Func": "decodeAdvSIMDModImmType8", "Target": "ARM64", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 27846, "Length": 16, "Cover_Rate": 0.5333333333333333} {"Template_token": ["", "uint64_t", "EncVal", "=", "Imm", ";"], "ground_truth": ["return", "(", "EncVal", "<<", "", ")", "|", "(", "EncVal", "<<", "", ")", "|", "", ";"], "File": "ARM64AddressingModes", "Func": "decodeAdvSIMDModImmType8", "Target": "ARM64", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 27847, "Length": 20, "Cover_Rate": 0.6666666666666666} {"Template_token": ["", "EncVal", "|=", "(", "EncVal", "<<", "", ")", ";", "EncVal", "|=", "(", "EncVal", "<<", "", ")", ";"], "ground_truth": ["EncVal", "|=", "(", "EncVal", "<<", "", ")", ";"], "File": "ARM64AddressingModes", "Func": "decodeAdvSIMDModImmType9", "Target": "ARM64", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 27848, "Length": 24, "Cover_Rate": 0.5714285714285714} {"Template_token": ["", "EncVal", "|=", "(", "EncVal", "<<", "", ")", ";", "EncVal", "|=", "(", "EncVal", "<<", "", ")", ";"], "ground_truth": ["EncVal", "|=", "(", "EncVal", "<<", "", ")", ";"], "File": "ARM64AddressingModes", "Func": "decodeAdvSIMDModImmType9", "Target": "ARM64", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 27849, "Length": 24, "Cover_Rate": 0.5714285714285714} {"Template_token": ["", "unsigned", "size", "=", "(", "", "<<", "len", ")", ";", "unsigned", "R", "=", "immr", "&", "(", "size", "-", "", ")", ";", "unsigned", "S", "=", "imms", "&", "(", "size", "-", "", ")", ";", "assert", "(", "S", "!=", "size", "-", "", "&&", "", ")", ";", "uint64_t", "pattern", "=", "(", "", "<<", "(", "S", "+", "", ")", ")", "-", "", ";", "for", "(", "unsigned", "i", "=", "", ";", "i", "<", "R", ";", "++", "i", ")", "pattern", "=", "ror", "(", "pattern", ",", "size", ")", ";", "while", "(", "size", "!=", "regSize", ")", "{"], "ground_truth": ["pattern", "|=", "(", "pattern", "<<", "size", ")", ";"], "File": "ARM64AddressingModes", "Func": "decodeLogicalImmediate", "Target": "ARM64", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 27850, "Length": 95, "Cover_Rate": 0.5} {"Template_token": ["", "uint64_t", "pattern", "=", "(", "", "<<", "(", "S", "+", "", ")", ")", "-", "", ";", "for", "(", "unsigned", "i", "=", "", ";", "i", "<", "R", ";", "++", "i", ")", "pattern", "=", "ror", "(", "pattern", ",", "size", ")", ";", "while", "(", "size", "!=", "regSize", ")", "{", "pattern", "|=", "(", "pattern", "<<", "size", ")", ";", "size", "*=", "", ";", "}", "return", "pattern", ";"], "ground_truth": ["}"], "File": "ARM64AddressingModes", "Func": "decodeLogicalImmediate", "Target": "ARM64", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 27851, "Length": 62, "Cover_Rate": 0.3263157894736842} {"Template_token": ["", "static", "inline", "uint8_t", "encodeAdvSIMDModImmType1", "(", "uint64_t", "Imm", ")", "{", "return", "(", "Imm", "&", "", ")", ";"], "ground_truth": ["}"], "File": "ARM64AddressingModes", "Func": "encodeAdvSIMDModImmType1", "Target": "ARM64", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 27852, "Length": 17, "Cover_Rate": 1.0} {"Template_token": ["", "uint8_t", "BitA", "=", "(", "Imm", "&", "", ")", "!=", "", ";", "uint8_t", "BitB", "=", "(", "Imm", "&", "", ")", "!=", "", ";", "uint8_t", "BitC", "=", "(", "Imm", "&", "", ")", "!=", "", ";", "uint8_t", "BitD", "=", "(", "Imm", "&", "", ")", "!=", "", ";", "uint8_t", "BitE", "=", "(", "Imm", "&", "", ")", "!=", "", ";", "uint8_t", "BitF", "=", "(", "Imm", "&", "", ")", "!=", "", ";", "uint8_t", "BitG", "=", "(", "Imm", "&", "", ")", "!=", "", ";", "uint8_t", "BitH", "=", "(", "Imm", "&", "", ")", "!=", "", ";", "uint8_t", "EncVal", "=", "BitA", ";"], "ground_truth": ["EncVal", "<<=", "", ";"], "File": "ARM64AddressingModes", "Func": "encodeAdvSIMDModImmType11", "Target": "ARM64", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 27854, "Length": 97, "Cover_Rate": 0.5987654320987654} {"Template_token": ["", "uint8_t", "EncVal", "=", "BitA", ";", "EncVal", "<<=", "", ";", "EncVal", "|=", "BitB", ";", "EncVal", "<<=", "", ";", "EncVal", "|=", "BitC", ";", "EncVal", "<<=", "", ";", "EncVal", "|=", "BitD", ";", "EncVal", "<<=", "", ";", "EncVal", "|=", "BitE", ";", "EncVal", "<<=", "", ";", "EncVal", "|=", "BitF", ";", "EncVal", "<<=", "", ";", "EncVal", "|=", "BitG", ";", "EncVal", "<<=", "", ";", "EncVal", "|=", "BitH", ";"], "ground_truth": ["return", "EncVal", ";"], "File": "ARM64AddressingModes", "Func": "encodeAdvSIMDModImmType12", "Target": "ARM64", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 27855, "Length": 64, "Cover_Rate": 0.3950617283950617} {"Template_token": ["", "return", "(", "Imm", "&", "", ")", ">>", "", ";"], "ground_truth": ["}"], "File": "ARM64AddressingModes", "Func": "encodeAdvSIMDModImmType4", "Target": "ARM64", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 27860, "Length": 10, "Cover_Rate": 0.5263157894736842} {"Template_token": ["", "static", "inline", "uint8_t", "encodeAdvSIMDModImmType5", "(", "uint64_t", "Imm", ")", "{"], "ground_truth": ["return", "(", "Imm", "&", "", ")", ";"], "File": "ARM64AddressingModes", "Func": "encodeAdvSIMDModImmType5", "Target": "ARM64", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 27862, "Length": 16, "Cover_Rate": 0.9411764705882353} {"Template_token": ["", "static", "inline", "uint8_t", "encodeAdvSIMDModImmType6", "(", "uint64_t", "Imm", ")", "{"], "ground_truth": ["return", "(", "Imm", "&", "", ")", ">>", "", ";"], "File": "ARM64AddressingModes", "Func": "encodeAdvSIMDModImmType6", "Target": "ARM64", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 27864, "Length": 18, "Cover_Rate": 0.9473684210526315} {"Template_token": ["", "return", "(", "Imm", "&", "", ")", ">>", "", ";"], "ground_truth": ["}"], "File": "ARM64AddressingModes", "Func": "encodeAdvSIMDModImmType6", "Target": "ARM64", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 27865, "Length": 10, "Cover_Rate": 0.5263157894736842} {"Template_token": ["", "return", "(", "Imm", "&", "", ")", ">>", "", ";"], "ground_truth": ["}"], "File": "ARM64AddressingModes", "Func": "encodeAdvSIMDModImmType7", "Target": "ARM64", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 27867, "Length": 10, "Cover_Rate": 0.5263157894736842} {"Template_token": ["", "static", "inline", "uint8_t", "encodeAdvSIMDModImmType8", "(", "uint64_t", "Imm", ")", "{", "return", "(", "Imm", "&", "", ")", ">>", "", ";"], "ground_truth": ["}"], "File": "ARM64AddressingModes", "Func": "encodeAdvSIMDModImmType8", "Target": "ARM64", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 27868, "Length": 19, "Cover_Rate": 1.0} {"Template_token": ["", "static", "inline", "uint8_t", "encodeAdvSIMDModImmType8", "(", "uint64_t", "Imm", ")", "{", "return", "(", "Imm", "&", "", ")", ">>", "", ";"], "ground_truth": ["}"], "File": "ARM64AddressingModes", "Func": "encodeAdvSIMDModImmType8", "Target": "ARM64", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 27869, "Length": 19, "Cover_Rate": 1.0} {"Template_token": ["", "return", "(", "Imm", "&", "", ")", ";"], "ground_truth": ["}"], "File": "ARM64AddressingModes", "Func": "encodeAdvSIMDModImmType9", "Target": "ARM64", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 27870, "Length": 8, "Cover_Rate": 0.47058823529411764} {"Template_token": ["", "static", "inline", "uint8_t", "encodeAdvSIMDModImmType9", "(", "uint64_t", "Imm", ")", "{"], "ground_truth": ["return", "(", "Imm", "&", "", ")", ";"], "File": "ARM64AddressingModes", "Func": "encodeAdvSIMDModImmType9", "Target": "ARM64", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 27871, "Length": 16, "Cover_Rate": 0.9411764705882353} {"Template_token": ["", "bool", "res", "=", "processLogicalImmediate", "(", "imm", ",", "regSize", ",", "encoding", ")", ";", "assert", "(", "res", "&&", "", ")", ";", "(", "void", ")", "res", ";", "return", "encoding", ";"], "ground_truth": ["}"], "File": "ARM64AddressingModes", "Func": "encodeLogicalImmediate", "Target": "ARM64", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 27872, "Length": 28, "Cover_Rate": 0.6222222222222222} {"Template_token": ["", "assert", "(", "res", "&&", "", ")", ";", "(", "void", ")", "res", ";"], "ground_truth": ["return", "encoding", ";"], "File": "ARM64AddressingModes", "Func": "encodeLogicalImmediate", "Target": "ARM64", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 27873, "Length": 15, "Cover_Rate": 0.3333333333333333} {"Template_token": ["", "return", "(", "unsigned", "(", "ET", ")", "<<", "", ")", "|", "(", "Imm", "&", "", ")", ";"], "ground_truth": ["}"], "File": "ARM64AddressingModes", "Func": "getArithExtendImm", "Target": "ARM64", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 27874, "Length": 17, "Cover_Rate": 0.38636363636363635} {"Template_token": ["", "static", "inline", "", "getArithExtendType", "(", "unsigned", "Imm", ")", "{", "return", "", "(", "(", "Imm", ">>", "", ")", "&", "", ")", ";"], "ground_truth": ["}"], "File": "ARM64AddressingModes", "Func": "getArithExtendType", "Target": "ARM64", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 27875, "Length": 22, "Cover_Rate": 0.8461538461538461} {"Template_token": ["", "static", "inline", "unsigned", "getArithShiftValue", "(", "unsigned", "Imm", ")", "{", "return", "Imm", "&", "", ";"], "ground_truth": ["}"], "File": "ARM64AddressingModes", "Func": "getArithShiftValue", "Target": "ARM64", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 27877, "Length": 15, "Cover_Rate": 1.0} {"Template_token": ["", "return", "Imm", "&", "", ";"], "ground_truth": ["}"], "File": "ARM64AddressingModes", "Func": "getArithShiftValue", "Target": "ARM64", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 27878, "Length": 6, "Cover_Rate": 0.4} {"Template_token": ["", "case", "", ":", "return", "", ";", "case", "", ":", "return", "", ";", "case", "", ":", "return", "", ";", "case", "", ":", "return", "", ";", "case", "", ":", "return", "", ";", "case", "", ":", "return", "", ";", "case", "", ":", "return", "", ";", "}", "return", "", ";"], "ground_truth": ["}"], "File": "ARM64AddressingModes", "Func": "getExtendName", "Target": "ARM64", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 27879, "Length": 47, "Cover_Rate": 0.4895833333333333} {"Template_token": ["", "case", "", ":", "return", "", ";", "case", "", ":", "return", "", ";", "case", "", ":", "return", "", ";", "case", "", ":", "return", "", ";", "case", "", ":", "return", "", ";", "case", "", ":", "return", "", ";"], "ground_truth": ["case", "", ":", "return", "", ";"], "File": "ARM64AddressingModes", "Func": "getExtendName", "Target": "ARM64", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 27880, "Length": 42, "Cover_Rate": 0.4375} {"Template_token": ["", "static", "inline", "int", "getFP32Imm", "(", "const", "APFloat", "&", "FPImm", ")", "{", "return", "getFP32Imm", "(", "FPImm", ".", "bitcastToAPInt", "(", ")", ")", ";"], "ground_truth": ["}"], "File": "ARM64AddressingModes", "Func": "getFP32Imm", "Target": "ARM64", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 27881, "Length": 22, "Cover_Rate": 1.0} {"Template_token": ["", "return", "getFP32Imm", "(", "FPImm", ".", "bitcastToAPInt", "(", ")", ")", ";"], "ground_truth": ["}"], "File": "ARM64AddressingModes", "Func": "getFP32Imm", "Target": "ARM64", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 27882, "Length": 11, "Cover_Rate": 0.5} {"Template_token": ["", "return", "getFP64Imm", "(", "FPImm", ".", "bitcastToAPInt", "(", ")", ")", ";"], "ground_truth": ["}"], "File": "ARM64AddressingModes", "Func": "getFP64Imm", "Target": "ARM64", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 27884, "Length": 11, "Cover_Rate": 0.5} {"Template_token": ["", "static", "inline", "bool", "getMemDoShift", "(", "unsigned", "Imm", ")", "{", "return", "(", "Imm", "&", "", ")", "!=", "", ";"], "ground_truth": ["}"], "File": "ARM64AddressingModes", "Func": "getMemDoShift", "Target": "ARM64", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 27885, "Length": 19, "Cover_Rate": 1.0} {"Template_token": ["", "return", "(", "Imm", "&", "", ")", "!=", "", ";"], "ground_truth": ["}"], "File": "ARM64AddressingModes", "Func": "getMemDoShift", "Target": "ARM64", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 27886, "Length": 10, "Cover_Rate": 0.5263157894736842} {"Template_token": ["", "static", "inline", "unsigned", "getMemExtendImm", "(", "", "ET", ",", "bool", "DoShift", ")", "{"], "ground_truth": ["return", "(", "unsigned", "(", "ET", ")", "<<", "", ")", "|", "unsigned", "(", "DoShift", ")", ";"], "File": "ARM64AddressingModes", "Func": "getMemExtendImm", "Target": "ARM64", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 27887, "Length": 27, "Cover_Rate": 0.9} {"Template_token": ["", "static", "inline", "unsigned", "getMemExtendImm", "(", "", "ET", ",", "bool", "DoShift", ")", "{"], "ground_truth": ["return", "(", "unsigned", "(", "ET", ")", "<<", "", ")", "|", "unsigned", "(", "DoShift", ")", ";"], "File": "ARM64AddressingModes", "Func": "getMemExtendImm", "Target": "ARM64", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 27888, "Length": 27, "Cover_Rate": 0.9} {"Template_token": ["", "static", "inline", "", "getMemExtendType", "(", "unsigned", "Imm", ")", "{", "return", "", "(", "(", "Imm", ">>", "", ")", "&", "", ")", ";"], "ground_truth": ["}"], "File": "ARM64AddressingModes", "Func": "getMemExtendType", "Target": "ARM64", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 27889, "Length": 22, "Cover_Rate": 0.8461538461538461} {"Template_token": ["", "assert", "(", "(", "Imm", "&", "", ")", "==", "Imm", "&&", "", ")", ";", "return", "(", "unsigned", "(", "ST", ")", "<<", "", ")", "|", "(", "Imm", "&", "", ")", ";"], "ground_truth": ["}"], "File": "ARM64AddressingModes", "Func": "getShifterImm", "Target": "ARM64", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 27891, "Length": 30, "Cover_Rate": 0.6818181818181818} {"Template_token": ["", "return", "(", "unsigned", "(", "ST", ")", "<<", "", ")", "|", "(", "Imm", "&", "", ")", ";"], "ground_truth": ["}"], "File": "ARM64AddressingModes", "Func": "getShifterImm", "Target": "ARM64", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 27892, "Length": 17, "Cover_Rate": 0.38636363636363635} {"Template_token": ["", "case", "", ":", "return", "", ";", "case", "", ":", "return", "", ";", "case", "", ":", "return", "", ";", "case", "", ":", "return", "", ";", "}"], "ground_truth": ["return", "", ";"], "File": "ARM64AddressingModes", "Func": "getShiftName", "Target": "ARM64", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 27893, "Length": 28, "Cover_Rate": 0.3888888888888889} {"Template_token": ["", "static", "inline", "", "getShiftType", "(", "unsigned", "Imm", ")", "{", "return", "", "(", "(", "Imm", ">>", "", ")", "&", "", ")", ";"], "ground_truth": ["}"], "File": "ARM64AddressingModes", "Func": "getShiftType", "Target": "ARM64", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 27895, "Length": 22, "Cover_Rate": 0.8461538461538461} {"Template_token": ["", "static", "inline", "unsigned", "getShiftValue", "(", "unsigned", "Imm", ")", "{"], "ground_truth": ["return", "Imm", "&", "", ";"], "File": "ARM64AddressingModes", "Func": "getShiftValue", "Target": "ARM64", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 27896, "Length": 14, "Cover_Rate": 0.9333333333333333} {"Template_token": ["", "static", "inline", "unsigned", "getShiftValue", "(", "unsigned", "Imm", ")", "{"], "ground_truth": ["return", "Imm", "&", "", ";"], "File": "ARM64AddressingModes", "Func": "getShiftValue", "Target": "ARM64", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 27897, "Length": 14, "Cover_Rate": 0.9333333333333333} {"Template_token": ["", "static", "inline", "bool", "isAdvSIMDModImmType1", "(", "uint64_t", "Imm", ")", "{"], "ground_truth": ["return", "(", "(", "Imm", ">>", "", ")", "==", "(", "Imm", "&", "", ")", ")", "&&", "(", "(", "Imm", "&", "", ")", "==", "", ")", ";"], "File": "ARM64AddressingModes", "Func": "isAdvSIMDModImmType1", "Target": "ARM64", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 27898, "Length": 34, "Cover_Rate": 0.9714285714285714} {"Template_token": ["", "static", "inline", "bool", "isAdvSIMDModImmType1", "(", "uint64_t", "Imm", ")", "{", "return", "(", "(", "Imm", ">>", "", ")", "==", "(", "Imm", "&", "", ")", ")", "&&", "(", "(", "Imm", "&", "", ")", "==", "", ")", ";"], "ground_truth": ["}"], "File": "ARM64AddressingModes", "Func": "isAdvSIMDModImmType1", "Target": "ARM64", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 27899, "Length": 35, "Cover_Rate": 1.0} {"Template_token": ["", "uint64_t", "ByteA", "=", "Imm", "&", "", ";", "uint64_t", "ByteB", "=", "Imm", "&", "", ";", "uint64_t", "ByteC", "=", "Imm", "&", "", ";", "uint64_t", "ByteD", "=", "Imm", "&", "", ";", "uint64_t", "ByteE", "=", "Imm", "&", "", ";", "uint64_t", "ByteF", "=", "Imm", "&", "", ";"], "ground_truth": ["uint64_t", "ByteG", "=", "Imm", "&", "", ";"], "File": "ARM64AddressingModes", "Func": "isAdvSIMDModImmType10", "Target": "ARM64", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 27900, "Length": 49, "Cover_Rate": 0.3333333333333333} {"Template_token": ["", "return", "(", "(", "Imm", ">>", "", ")", "==", "(", "Imm", "&", "", ")", ")", "&&", "(", "BString", "==", "", "||", "BString", "==", "", ")", "&&", "(", "(", "Imm", "&", "", ")", "==", "", ")", ";"], "ground_truth": ["}"], "File": "ARM64AddressingModes", "Func": "isAdvSIMDModImmType11", "Target": "ARM64", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 27902, "Length": 36, "Cover_Rate": 0.6428571428571429} {"Template_token": ["", "return", "(", "(", "Imm", ">>", "", ")", "==", "(", "Imm", "&", "", ")", ")", "&&", "(", "BString", "==", "", "||", "BString", "==", "", ")", "&&", "(", "(", "Imm", "&", "", ")", "==", "", ")", ";"], "ground_truth": ["}"], "File": "ARM64AddressingModes", "Func": "isAdvSIMDModImmType11", "Target": "ARM64", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 27903, "Length": 36, "Cover_Rate": 0.6428571428571429} {"Template_token": ["", "return", "(", "(", "BString", "==", "", "||", "BString", "==", "", ")", "&&", "(", "(", "Imm", "&", "", ")", "==", "", ")", ")", ";"], "ground_truth": ["}"], "File": "ARM64AddressingModes", "Func": "isAdvSIMDModImmType12", "Target": "ARM64", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 27904, "Length": 24, "Cover_Rate": 0.5454545454545454} {"Template_token": ["", "uint64_t", "BString", "=", "(", "Imm", "&", "", ")", ">>", "", ";"], "ground_truth": ["return", "(", "(", "BString", "==", "", "||", "BString", "==", "", ")", "&&", "(", "(", "Imm", "&", "", ")", "==", "", ")", ")", ";"], "File": "ARM64AddressingModes", "Func": "isAdvSIMDModImmType12", "Target": "ARM64", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 27905, "Length": 34, "Cover_Rate": 0.7727272727272727} {"Template_token": ["", "static", "inline", "bool", "isAdvSIMDModImmType2", "(", "uint64_t", "Imm", ")", "{"], "ground_truth": ["return", "(", "(", "Imm", ">>", "", ")", "==", "(", "Imm", "&", "", ")", ")", "&&", "(", "(", "Imm", "&", "", ")", "==", "", ")", ";"], "File": "ARM64AddressingModes", "Func": "isAdvSIMDModImmType2", "Target": "ARM64", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 27906, "Length": 34, "Cover_Rate": 0.9714285714285714} {"Template_token": ["", "return", "(", "(", "Imm", ">>", "", ")", "==", "(", "Imm", "&", "", ")", ")", "&&", "(", "(", "Imm", "&", "", ")", "==", "", ")", ";"], "ground_truth": ["}"], "File": "ARM64AddressingModes", "Func": "isAdvSIMDModImmType2", "Target": "ARM64", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 27907, "Length": 26, "Cover_Rate": 0.7428571428571429} {"Template_token": ["", "return", "(", "(", "Imm", ">>", "", ")", "==", "(", "Imm", "&", "", ")", ")", "&&", "(", "(", "Imm", "&", "", ")", "==", "", ")", ";"], "ground_truth": ["}"], "File": "ARM64AddressingModes", "Func": "isAdvSIMDModImmType3", "Target": "ARM64", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 27908, "Length": 26, "Cover_Rate": 0.7428571428571429} {"Template_token": ["", "static", "inline", "bool", "isAdvSIMDModImmType4", "(", "uint64_t", "Imm", ")", "{", "return", "(", "(", "Imm", ">>", "", ")", "==", "(", "Imm", "&", "", ")", ")", "&&", "(", "(", "Imm", "&", "", ")", "==", "", ")", ";"], "ground_truth": ["}"], "File": "ARM64AddressingModes", "Func": "isAdvSIMDModImmType4", "Target": "ARM64", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 27910, "Length": 35, "Cover_Rate": 1.0} {"Template_token": ["", "return", "(", "(", "Imm", ">>", "", ")", "==", "(", "Imm", "&", "", ")", ")", "&&", "(", "(", "(", "Imm", "&", "", ")", ">>", "", ")", "==", "(", "Imm", "&", "", ")", ")", "&&", "(", "(", "Imm", "&", "", ")", "==", "", ")", ";"], "ground_truth": ["}"], "File": "ARM64AddressingModes", "Func": "isAdvSIMDModImmType5", "Target": "ARM64", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 27912, "Length": 44, "Cover_Rate": 0.8301886792452831} {"Template_token": ["", "static", "inline", "bool", "isAdvSIMDModImmType6", "(", "uint64_t", "Imm", ")", "{", "return", "(", "(", "Imm", ">>", "", ")", "==", "(", "Imm", "&", "", ")", ")", "&&", "(", "(", "(", "Imm", "&", "", ")", ">>", "", ")", "==", "(", "Imm", "&", "", ")", ")", "&&", "(", "(", "Imm", "&", "", ")", "==", "", ")", ";"], "ground_truth": ["}"], "File": "ARM64AddressingModes", "Func": "isAdvSIMDModImmType6", "Target": "ARM64", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 27913, "Length": 53, "Cover_Rate": 1.0} {"Template_token": ["", "return", "(", "(", "Imm", ">>", "", ")", "==", "(", "Imm", "&", "", ")", ")", "&&", "(", "(", "(", "Imm", "&", "", ")", ">>", "", ")", "==", "(", "Imm", "&", "", ")", ")", "&&", "(", "(", "Imm", "&", "", ")", "==", "", ")", ";"], "ground_truth": ["}"], "File": "ARM64AddressingModes", "Func": "isAdvSIMDModImmType6", "Target": "ARM64", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 27914, "Length": 44, "Cover_Rate": 0.8301886792452831} {"Template_token": ["", "static", "inline", "bool", "isAdvSIMDModImmType7", "(", "uint64_t", "Imm", ")", "{"], "ground_truth": ["return", "(", "(", "Imm", ">>", "", ")", "==", "(", "Imm", "&", "", ")", ")", "&&", "(", "(", "Imm", "&", "", ")", "==", "", ")", ";"], "File": "ARM64AddressingModes", "Func": "isAdvSIMDModImmType7", "Target": "ARM64", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 27915, "Length": 34, "Cover_Rate": 0.9714285714285714} {"Template_token": ["", "return", "(", "(", "Imm", ">>", "", ")", "==", "(", "Imm", "&", "", ")", ")", "&&", "(", "(", "Imm", "&", "", ")", "==", "", ")", ";"], "ground_truth": ["}"], "File": "ARM64AddressingModes", "Func": "isAdvSIMDModImmType8", "Target": "ARM64", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 27917, "Length": 26, "Cover_Rate": 0.7428571428571429} {"Template_token": ["", "static", "inline", "bool", "isAdvSIMDModImmType9", "(", "uint64_t", "Imm", ")", "{"], "ground_truth": ["return", "(", "(", "Imm", ">>", "", ")", "==", "(", "Imm", "&", "", ")", ")", "&&", "(", "(", "Imm", ">>", "", ")", "==", "(", "Imm", "&", "", ")", ")", "&&", "(", "(", "Imm", ">>", "", ")", "==", "(", "Imm", "&", "", ")", ")", ";"], "File": "ARM64AddressingModes", "Func": "isAdvSIMDModImmType9", "Target": "ARM64", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 27919, "Length": 52, "Cover_Rate": 0.9811320754716981} {"Template_token": ["", "uint64_t", "encoding", ";", "return", "processLogicalImmediate", "(", "imm", ",", "regSize", ",", "encoding", ")", ";"], "ground_truth": ["}"], "File": "ARM64AddressingModes", "Func": "isLogicalImmediate", "Target": "ARM64", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 27921, "Length": 14, "Cover_Rate": 0.5384615384615384} {"Template_token": ["", "static", "inline", "bool", "isLogicalImmediate", "(", "uint64_t", "imm", ",", "unsigned", "regSize", ")", "{", "uint64_t", "encoding", ";", "return", "processLogicalImmediate", "(", "imm", ",", "regSize", ",", "encoding", ")", ";"], "ground_truth": ["}"], "File": "ARM64AddressingModes", "Func": "isLogicalImmediate", "Target": "ARM64", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 27922, "Length": 26, "Cover_Rate": 1.0} {"Template_token": ["", "static", "inline", "bool", "isValidDecodeLogicalImmediate", "(", "uint64_t", "val", ",", "unsigned", "regSize", ")", "{", "unsigned", "N", "=", "(", "val", ">>", "", ")", "&", "", ";", "unsigned", "imms", "=", "val", "&", "", ";"], "ground_truth": ["if", "(", "regSize", "==", "", "&&", "N", "!=", "", ")", "return", "false", ";"], "File": "ARM64AddressingModes", "Func": "isValidDecodeLogicalImmediate", "Target": "ARM64", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 27923, "Length": 43, "Cover_Rate": 0.39814814814814814} {"Template_token": ["", "unsigned", "numElts", "=", "regSize", "/", "size", ";", "unsigned", "mask", "=", "(", "", "<<", "size", ")", "-", "", ";", "uint64_t", "lowestEltVal", "=", "imm", "&", "mask", ";", "bool", "allMatched", "=", "true", ";", "for", "(", "unsigned", "i", "=", "", ";", "i", "<", "numElts", ";", "++", "i", ")", "{", "uint64_t", "currEltVal", "=", "(", "imm", ">>", "(", "i", "*", "size", ")", ")", "&", "mask", ";", "if", "(", "currEltVal", "!=", "lowestEltVal", ")", "{", "allMatched", "=", "false", ";", "break", ";", "}", "}", "if", "(", "allMatched", ")", "{", "eltVal", "=", "lowestEltVal", ";", "break", ";", "}", "size", "*=", "", ";", "}", "for", "(", "unsigned", "i", "=", "", ";", "i", "<", "size", ";", "++", "i", ")", "{", "eltVal", "=", "ror", "(", "eltVal", ",", "size", ")", ";", "uint32_t", "clz", "=", "countLeadingZeros", "(", "eltVal", ")", "-", "(", "", "-", "size", ")", ";", "uint32_t", "cto", "=", "CountTrailingOnes_64", "(", "eltVal", ")", ";", "if", "(", "clz", "+", "cto", "==", "size", ")", "{", "unsigned", "immr", "=", "size", "-", "(", "i", "+", "", ")", ";", "uint64_t", "nimms", "=", "~", "(", "size", "-", "", ")", "<<", "", ";", "nimms", "|=", "(", "cto", "-", "", ")", ";"], "ground_truth": ["unsigned", "N", "=", "(", "(", "nimms", ">>", "", ")", "&", "", ")", "^", "", ";"], "File": "ARM64AddressingModes", "Func": "processLogicalImmediate", "Target": "ARM64", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 27924, "Length": 193, "Cover_Rate": 0.6701388888888888} {"Template_token": ["", "}", "}", "if", "(", "allMatched", ")", "{", "eltVal", "=", "lowestEltVal", ";", "break", ";", "}", "size", "*=", "", ";", "}", "for", "(", "unsigned", "i", "=", "", ";", "i", "<", "size", ";", "++", "i", ")", "{", "eltVal", "=", "ror", "(", "eltVal", ",", "size", ")", ";", "uint32_t", "clz", "=", "countLeadingZeros", "(", "eltVal", ")", "-", "(", "", "-", "size", ")", ";", "uint32_t", "cto", "=", "CountTrailingOnes_64", "(", "eltVal", ")", ";", "if", "(", "clz", "+", "cto", "==", "size", ")", "{", "unsigned", "immr", "=", "size", "-", "(", "i", "+", "", ")", ";", "uint64_t", "nimms", "=", "~", "(", "size", "-", "", ")", "<<", "", ";", "nimms", "|=", "(", "cto", "-", "", ")", ";", "unsigned", "N", "=", "(", "(", "nimms", ">>", "", ")", "&", "", ")", "^", "", ";", "encoding", "=", "(", "N", "<<", "", ")", "|", "(", "immr", "<<", "", ")", "|", "(", "nimms", "&", "", ")", ";", "return", "true", ";", "}", "}"], "ground_truth": ["return", "false", ";"], "File": "ARM64AddressingModes", "Func": "processLogicalImmediate", "Target": "ARM64", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 27925, "Length": 148, "Cover_Rate": 0.5138888888888888} {"Template_token": ["", "return", "(", "(", "elt", "&", "", ")", "<<", "(", "size", "-", "", ")", ")", "|", "(", "elt", ">>", "", ")", ";"], "ground_truth": ["}"], "File": "ARM64AddressingModes", "Func": "ror", "Target": "ARM64", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 27926, "Length": 22, "Cover_Rate": 0.6470588235294118} {"Template_token": ["", "void", "getAnalysisUsage", "(", "AnalysisUsage", "&", "AU", ")", "const", "override", "{", "AU", ".", "setPreservesCFG", "(", ")", ";", "AU", ".", "addRequired", "<", "DominatorTreeWrapperPass", ">", "(", ")", ";", "AU", ".", "addPreserved", "<", "DominatorTreeWrapperPass", ">", "(", ")", ";"], "ground_truth": ["FunctionPass", "::", "getAnalysisUsage", "(", "AU", ")", ";"], "File": "ARM64AddressTypePromotion1", "Func": "getAnalysisUsage", "Target": "ARM64", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 27928, "Length": 41, "Cover_Rate": 0.9761904761904762} {"Template_token": ["", "return", "", ";"], "ground_truth": ["}"], "File": "ARM64AddressTypePromotion1", "Func": "getPassName", "Target": "ARM64", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 27929, "Length": 4, "Cover_Rate": 0.3076923076923077} {"Template_token": ["", "const", "BinaryOperator", "*", "BinOp", "=", "dyn_cast", "<", "BinaryOperator", ">", "(", "Inst", ")", ";", "if", "(", "BinOp", "&&", "isa", "<", "ConstantInt", ">", "(", "BinOp", "->", "getOperand", "(", "", ")", ")", ")", "OpdIdx", "=", "", ";", "Last", "=", "Inst", "->", "getOperand", "(", "OpdIdx", ")", ";", "Inst", "=", "dyn_cast", "<", "Instruction", ">", "(", "Last", ")", ";", "}", "while", "(", "Inst", "&&", "canGetThrough", "(", "Inst", ")", "&&", "shouldGetThrough", "(", "Inst", ")", ")", ";", "DEBUG", "(", "dbgs", "(", ")", "<<", "", "<<", "*", "Last", "<<", "'\\n'", ")", ";", "DenseMap", "<", "Value", "*", ",", "Instruction", "*", ">", "::", "iterator", "AlreadySeen", "=", "SeenChains", ".", "find", "(", "Last", ")", ";", "if", "(", "insert", "||", "AlreadySeen", "!=", "SeenChains", ".", "end", "(", ")", ")", "{", "DEBUG", "(", "dbgs", "(", ")", "<<", "", ")", ";", "SExtInsts", ".", "push_back", "(", "SExt", ")", ";", "if", "(", "AlreadySeen", "!=", "SeenChains", ".", "end", "(", ")", "&&", "AlreadySeen", "->", "second", "!=", "nullptr", ")", "{"], "ground_truth": ["DEBUG", "(", "dbgs", "(", ")", "<<", "", ")", ";"], "File": "ARM64AddressTypePromotion", "Func": "analyzeSExtension", "Target": "ARM64", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 27930, "Length": 157, "Cover_Rate": 0.42318059299191374} {"Template_token": ["", "AddressTypePromotion", "(", ")", ":", "FunctionPass", "(", "ID", ")", ",", "Func", "(", "nullptr", ")", ",", "ConsideredSExtType", "(", "nullptr", ")", "{", "initializeAddressTypePromotionPass", "(", "*", "PassRegistry", "::", "getPassRegistry", "(", ")", ")", ";"], "ground_truth": ["}"], "File": "ARM64AddressTypePromotion", "Func": "ARM64AddressTypePromotion", "Target": "ARM64", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 27932, "Length": 30, "Cover_Rate": 1.0} {"Template_token": ["", "if", "(", "BinOp", "&&", "isa", "<", "OverflowingBinaryOperator", ">", "(", "BinOp", ")", "&&", "(", "BinOp", "->", "hasNoUnsignedWrap", "(", ")", "||", "BinOp", "->", "hasNoSignedWrap", "(", ")", ")", ")", "return", "true", ";"], "ground_truth": ["if", "(", "isa", "<", "TruncInst", ">", "(", "Inst", ")", "&&", "isa", "<", "SExtInst", ">", "(", "Inst", "->", "getOperand", "(", "", ")", ")", ")", "{"], "File": "ARM64AddressTypePromotion", "Func": "canGetThrough", "Target": "ARM64", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 27933, "Length": 53, "Cover_Rate": 0.3231707317073171} {"Template_token": ["", "if", "(", "isa", "<", "SExtInst", ">", "(", "Inst", ")", ")", "return", "true", ";", "const", "BinaryOperator", "*", "BinOp", "=", "dyn_cast", "<", "BinaryOperator", ">", "(", "Inst", ")", ";", "if", "(", "BinOp", "&&", "isa", "<", "OverflowingBinaryOperator", ">", "(", "BinOp", ")", "&&", "(", "BinOp", "->", "hasNoUnsignedWrap", "(", ")", "||", "BinOp", "->", "hasNoSignedWrap", "(", ")", ")", ")", "return", "true", ";", "if", "(", "isa", "<", "TruncInst", ">", "(", "Inst", ")", "&&", "isa", "<", "SExtInst", ">", "(", "Inst", "->", "getOperand", "(", "", ")", ")", ")", "{"], "ground_truth": ["const", "Instruction", "*", "Opnd", "=", "cast", "<", "Instruction", ">", "(", "Inst", "->", "getOperand", "(", "", ")", ")", ";"], "File": "ARM64AddressTypePromotion", "Func": "canGetThrough", "Target": "ARM64", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 27934, "Length": 97, "Cover_Rate": 0.5914634146341463} {"Template_token": ["", "return", "new", "AddressTypePromotion", "(", ")", ";"], "ground_truth": ["}"], "File": "ARM64AddressTypePromotion", "Func": "createARM64AddressTypePromotionPass", "Target": "ARM64", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 27935, "Length": 7, "Cover_Rate": 0.4666666666666667} {"Template_token": ["", "AU", ".", "setPreservesCFG", "(", ")", ";", "AU", ".", "addRequired", "<", "DominatorTreeWrapperPass", ">", "(", ")", ";", "AU", ".", "addPreserved", "<", "DominatorTreeWrapperPass", ">", "(", ")", ";", "FunctionPass", "::", "getAnalysisUsage", "(", "AU", ")", ";"], "ground_truth": ["}"], "File": "ARM64AddressTypePromotion", "Func": "getAnalysisUsage", "Target": "ARM64", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 27937, "Length": 32, "Cover_Rate": 0.7619047619047619} {"Template_token": ["", "virtual", "const", "char", "*", "getPassName", "(", ")", "const", "{"], "ground_truth": ["return", "", ";"], "File": "ARM64AddressTypePromotion", "Func": "getPassName", "Target": "ARM64", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 27938, "Length": 12, "Cover_Rate": 0.9230769230769231} {"Template_token": ["", "virtual", "const", "char", "*", "getPassName", "(", ")", "const", "{"], "ground_truth": ["return", "", ";"], "File": "ARM64AddressTypePromotion", "Func": "getPassName", "Target": "ARM64", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 27939, "Length": 12, "Cover_Rate": 0.9230769230769231} {"Template_token": ["", "bool", "inserted", "=", "false", ";", "for", "(", "auto", "Pt", ":", "CurPts", ")", "{", "if", "(", "DT", ".", "dominates", "(", "Inst", ",", "Pt", ")", ")", "{", "DEBUG", "(", "dbgs", "(", ")", "<<", "", "<<", "*", "Pt", "<<", "", "<<", "*", "Inst", "<<", "'\\n'", ")", ";", "(", "Pt", ")", "->", "replaceAllUsesWith", "(", "Inst", ")", ";", "ToRemove", ".", "insert", "(", "Pt", ")", ";", "Pt", "=", "Inst", ";", "inserted", "=", "true", ";", "break", ";", "}", "if", "(", "!", "DT", ".", "dominates", "(", "Pt", ",", "Inst", ")", ")", "continue", ";", "DEBUG", "(", "dbgs", "(", ")", "<<", "", "<<", "*", "Inst", "<<", "", "<<", "*", "Pt", "<<", "'\\n'", ")", ";", "Inst", "->", "replaceAllUsesWith", "(", "Pt", ")", ";", "ToRemove", ".", "insert", "(", "Inst", ")", ";", "inserted", "=", "true", ";", "break", ";", "}", "if", "(", "!", "inserted", ")", "CurPts", ".", "push_back", "(", "Inst", ")", ";", "}"], "ground_truth": ["}"], "File": "ARM64AddressTypePromotion", "Func": "mergeSExts", "Target": "ARM64", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 27940, "Length": 139, "Cover_Rate": 0.6650717703349283} {"Template_token": ["", "bool", "LocalChange", "=", "false", ";", "SetOfInstructions", "ToRemove", ";", "ValueToInsts", "ValToSExtendedUses", ";", "while", "(", "!", "SExtInsts", ".", "empty", "(", ")", ")", "{", "Instruction", "*", "SExt", "=", "SExtInsts", ".", "pop_back_val", "(", ")", ";", "DEBUG", "(", "dbgs", "(", ")", "<<", "", "<<", "*", "SExt", "<<", "'\\n'", ")", ";", "if", "(", "SExt", "->", "use_empty", "(", ")", "&&", "ToRemove", ".", "count", "(", "SExt", ")", ")", "{", "DEBUG", "(", "dbgs", "(", ")", "<<", "", ")", ";", "continue", ";", "}", "while", "(", "isa", "<", "Instruction", ">", "(", "SExt", "->", "getOperand", "(", "", ")", ")", ")", "{", "Instruction", "*", "Inst", "=", "dyn_cast", "<", "Instruction", ">", "(", "SExt", "->", "getOperand", "(", "", ")", ")", ";", "DEBUG", "(", "dbgs", "(", ")", "<<", "", "<<", "*", "Inst", "<<", "'\\n'", ")", ";", "if", "(", "!", "canGetThrough", "(", "Inst", ")", "||", "!", "shouldGetThrough", "(", "Inst", ")", ")", "{", "DEBUG", "(", "dbgs", "(", ")", "<<", "", ")", ";", "break", ";", "}", "LocalChange", "=", "true", ";", "if", "(", "isa", "<", "SExtInst", ">", "(", "Inst", ")", "||", "isa", "<", "TruncInst", ">", "(", "Inst", ")", ")", "{", "DEBUG", "(", "dbgs", "(", ")", "<<", "", ")", ";", "while", "(", "!", "Inst", "->", "use_empty", "(", ")", ")", "{", "Value", "::", "use_iterator", "UseIt", "=", "Inst", "->", "use_begin", "(", ")", ";", "Instruction", "*", "UseInst", "=", "dyn_cast", "<", "Instruction", ">", "(", "*", "UseIt", ")", ";", "assert", "(", "UseInst", "&&", "", ")", ";", "UseInst", "->", "setOperand", "(", "UseIt", "->", "getOperandNo", "(", ")", ",", "SExt", ")", ";", "}", "ToRemove", ".", "insert", "(", "Inst", ")", ";", "SExt", "->", "setOperand", "(", "", ",", "Inst", "->", "getOperand", "(", "", ")", ")", ";", "SExt", "->", "moveBefore", "(", "Inst", ")", ";", "continue", ";", "}", "Inst", "->", "mutateType", "(", "SExt", "->", "getType", "(", ")", ")", ";", "SExt", "->", "replaceAllUsesWith", "(", "Inst", ")", ";", "Instruction", "*", "SExtForOpnd", "=", "SExt", ";", "DEBUG", "(", "dbgs", "(", ")", "<<", "", ")", ";", "for", "(", "int", "OpIdx", "=", "", ",", "EndOpIdx", "=", "Inst", "->", "getNumOperands", "(", ")", ";", "OpIdx", "!=", "EndOpIdx", ";", "++", "OpIdx", ")", "{", "DEBUG", "(", "dbgs", "(", ")", "<<", "", "<<", "*", "(", "Inst", "->", "getOperand", "(", "OpIdx", ")", ")", "<<", "'\\n'", ")", ";", "if", "(", "Inst", "->", "getOperand", "(", "OpIdx", ")", "->", "getType", "(", ")", "==", "SExt", "->", "getType", "(", ")", "||", "!", "shouldSExtOperand", "(", "Inst", ",", "OpIdx", ")", ")", "{", "DEBUG", "(", "dbgs", "(", ")", "<<", "", ")", ";", "continue", ";", "}", "Value", "*", "Opnd", "=", "Inst", "->", "getOperand", "(", "OpIdx", ")", ";", "if", "(", "const", "ConstantInt", "*", "Cst", "=", "dyn_cast", "<", "ConstantInt", ">", "(", "Opnd", ")", ")", "{", "DEBUG", "(", "dbgs", "(", ")", "<<", "", ")", ";", "Inst", "->", "setOperand", "(", "OpIdx", ",", "ConstantInt", "::", "getSigned", "(", "SExt", "->", "getType", "(", ")", ",", "Cst", "->", "getSExtValue", "(", ")", ")", ")", ";", "continue", ";", "}", "if", "(", "isa", "<", "UndefValue", ">", "(", "Opnd", ")", ")", "{", "DEBUG", "(", "dbgs", "(", ")", "<<", "", ")", ";", "Inst", "->", "setOperand", "(", "OpIdx", ",", "UndefValue", "::", "get", "(", "SExt", "->", "getType", "(", ")", ")", ")", ";"], "ground_truth": ["continue", ";"], "File": "ARM64AddressTypePromotion", "Func": "propagateSignExtension", "Target": "ARM64", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 27941, "Length": 485, "Cover_Rate": 0.7059679767103348} {"Template_token": ["", "bool", "LocalChange", "=", "false", ";", "SetOfInstructions", "ToRemove", ";", "ValueToInsts", "ValToSExtendedUses", ";", "while", "(", "!", "SExtInsts", ".", "empty", "(", ")", ")", "{", "Instruction", "*", "SExt", "=", "SExtInsts", ".", "pop_back_val", "(", ")", ";", "DEBUG", "(", "dbgs", "(", ")", "<<", "", "<<", "*", "SExt", "<<", "'\\n'", ")", ";", "if", "(", "SExt", "->", "use_empty", "(", ")", "&&", "ToRemove", ".", "count", "(", "SExt", ")", ")", "{", "DEBUG", "(", "dbgs", "(", ")", "<<", "", ")", ";", "continue", ";", "}", "while", "(", "isa", "<", "Instruction", ">", "(", "SExt", "->", "getOperand", "(", "", ")", ")", ")", "{", "Instruction", "*", "Inst", "=", "dyn_cast", "<", "Instruction", ">", "(", "SExt", "->", "getOperand", "(", "", ")", ")", ";", "DEBUG", "(", "dbgs", "(", ")", "<<", "", "<<", "*", "Inst", "<<", "'\\n'", ")", ";", "if", "(", "!", "canGetThrough", "(", "Inst", ")", "||", "!", "shouldGetThrough", "(", "Inst", ")", ")", "{", "DEBUG", "(", "dbgs", "(", ")", "<<", "", ")", ";", "break", ";", "}", "LocalChange", "=", "true", ";", "if", "(", "isa", "<", "SExtInst", ">", "(", "Inst", ")", "||", "isa", "<", "TruncInst", ">", "(", "Inst", ")", ")", "{", "DEBUG", "(", "dbgs", "(", ")", "<<", "", ")", ";", "while", "(", "!", "Inst", "->", "use_empty", "(", ")", ")", "{", "Value", "::", "use_iterator", "UseIt", "=", "Inst", "->", "use_begin", "(", ")", ";", "Instruction", "*", "UseInst", "=", "dyn_cast", "<", "Instruction", ">", "(", "*", "UseIt", ")", ";", "assert", "(", "UseInst", "&&", "", ")", ";", "UseInst", "->", "setOperand", "(", "UseIt", "->", "getOperandNo", "(", ")", ",", "SExt", ")", ";", "}", "ToRemove", ".", "insert", "(", "Inst", ")", ";", "SExt", "->", "setOperand", "(", "", ",", "Inst", "->", "getOperand", "(", "", ")", ")", ";", "SExt", "->", "moveBefore", "(", "Inst", ")", ";", "continue", ";", "}", "Inst", "->", "mutateType", "(", "SExt", "->", "getType", "(", ")", ")", ";", "SExt", "->", "replaceAllUsesWith", "(", "Inst", ")", ";", "Instruction", "*", "SExtForOpnd", "=", "SExt", ";", "DEBUG", "(", "dbgs", "(", ")", "<<", "", ")", ";", "for", "(", "int", "OpIdx", "=", "", ",", "EndOpIdx", "=", "Inst", "->", "getNumOperands", "(", ")", ";", "OpIdx", "!=", "EndOpIdx", ";", "++", "OpIdx", ")", "{", "DEBUG", "(", "dbgs", "(", ")", "<<", "", "<<", "*", "(", "Inst", "->", "getOperand", "(", "OpIdx", ")", ")", "<<", "'\\n'", ")", ";", "if", "(", "Inst", "->", "getOperand", "(", "OpIdx", ")", "->", "getType", "(", ")", "==", "SExt", "->", "getType", "(", ")", "||", "!", "shouldSExtOperand", "(", "Inst", ",", "OpIdx", ")", ")", "{", "DEBUG", "(", "dbgs", "(", ")", "<<", "", ")", ";", "continue", ";", "}", "Value", "*", "Opnd", "=", "Inst", "->", "getOperand", "(", "OpIdx", ")", ";", "if", "(", "const", "ConstantInt", "*", "Cst", "=", "dyn_cast", "<", "ConstantInt", ">", "(", "Opnd", ")", ")", "{", "DEBUG", "(", "dbgs", "(", ")", "<<", "", ")", ";", "Inst", "->", "setOperand", "(", "OpIdx", ",", "ConstantInt", "::", "getSigned", "(", "SExt", "->", "getType", "(", ")", ",", "Cst", "->", "getSExtValue", "(", ")", ")", ")", ";", "continue", ";"], "ground_truth": ["}"], "File": "ARM64AddressTypePromotion", "Func": "propagateSignExtension", "Target": "ARM64", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 27942, "Length": 445, "Cover_Rate": 0.6477438136826783} {"Template_token": ["", "if", "(", "!", "EnableAddressTypePromotion", "||", "F", ".", "isDeclaration", "(", ")", ")", "return", "false", ";", "Func", "=", "&", "F", ";", "ConsideredSExtType", "=", "Type", "::", "getInt64Ty", "(", "Func", "->", "getContext", "(", ")", ")", ";"], "ground_truth": ["DEBUG", "(", "dbgs", "(", ")", "<<", "", "<<", "getPassName", "(", ")", "<<", "", "<<", "Func", "->", "getName", "(", ")", "<<", "'\\n'", ")", ";"], "File": "ARM64AddressTypePromotion", "Func": "runOnFunction", "Target": "ARM64", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 27943, "Length": 55, "Cover_Rate": 0.6875} {"Template_token": ["", "if", "(", "SExt", "->", "getType", "(", ")", "!=", "ConsideredSExtType", ")", "return", "false", ";"], "ground_truth": ["for", "(", "const", "Use", "&", "U", ":", "SExt", "->", "uses", "(", ")", ")", "{"], "File": "ARM64AddressTypePromotion", "Func": "shouldConsiderSExt", "Target": "ARM64", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 27944, "Length": 27, "Cover_Rate": 0.46551724137931033} {"Template_token": ["", "if", "(", "isa", "<", "TruncInst", ">", "(", "Inst", ")", ")", "return", "true", ";", "if", "(", "isa", "<", "BinaryOperator", ">", "(", "Inst", ")", "&&", "isa", "<", "ConstantInt", ">", "(", "Inst", "->", "getOperand", "(", "", ")", ")", ")", "return", "true", ";", "return", "false", ";"], "ground_truth": ["}"], "File": "ARM64AddressTypePromotion", "Func": "shouldGetThrough", "Target": "ARM64", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 27946, "Length": 43, "Cover_Rate": 0.45263157894736844} {"Template_token": ["", "void", "getAnalysisUsage", "(", "AnalysisUsage", "&", "AU", ")", "const", "override", "{", "AU", ".", "setPreservesCFG", "(", ")", ";"], "ground_truth": ["MachineFunctionPass", "::", "getAnalysisUsage", "(", "AU", ")", ";"], "File": "ARM64AdvSIMDScalarPass1", "Func": "getAnalysisUsage", "Target": "ARM64", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 27948, "Length": 23, "Cover_Rate": 0.9583333333333334} {"Template_token": ["", "void", "getAnalysisUsage", "(", "AnalysisUsage", "&", "AU", ")", "const", "override", "{"], "ground_truth": ["AU", ".", "setPreservesCFG", "(", ")", ";"], "File": "ARM64AdvSIMDScalarPass1", "Func": "getAnalysisUsage", "Target": "ARM64", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 27949, "Length": 16, "Cover_Rate": 0.6666666666666666} {"Template_token": ["", "return", "", ";"], "ground_truth": ["}"], "File": "ARM64AdvSIMDScalarPass1", "Func": "getPassName", "Target": "ARM64", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 27950, "Length": 4, "Cover_Rate": 0.3076923076923077} {"Template_token": ["", "}", "if", "(", "MI", "->", "getOpcode", "(", ")", "==", "", ")", "{", "if", "(", "isFPR64", "(", "MI", "->", "getOperand", "(", "", ")", ".", "getReg", "(", ")", ",", "MI", "->", "getOperand", "(", "", ")", ".", "getSubReg", "(", ")", ",", "MRI", ")", "&&", "isGPR64", "(", "MI", "->", "getOperand", "(", "", ")", ".", "getReg", "(", ")", ",", "MI", "->", "getOperand", "(", "", ")", ".", "getSubReg", "(", ")", ",", "MRI", ")", ")", "return", "MI", "->", "getOperand", "(", "", ")", ".", "getReg", "(", ")", ";", "if", "(", "isGPR64", "(", "MI", "->", "getOperand", "(", "", ")", ".", "getReg", "(", ")", ",", "MI", "->", "getOperand", "(", "", ")", ".", "getSubReg", "(", ")", ",", "MRI", ")", "&&", "isFPR64", "(", "MI", "->", "getOperand", "(", "", ")", ".", "getReg", "(", ")", ",", "MI", "->", "getOperand", "(", "", ")", ".", "getSubReg", "(", ")", ",", "MRI", ")", ")", "{"], "ground_truth": ["SubReg", "=", "MI", "->", "getOperand", "(", "", ")", ".", "getSubReg", "(", ")", ";"], "File": "ARM64AdvSIMDScalarPass1", "Func": "getSrcFromCopy", "Target": "ARM64", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 27951, "Length": 150, "Cover_Rate": 0.5535055350553506} {"Template_token": ["", "return", "MI", "->", "getOperand", "(", "", ")", ".", "getReg", "(", ")", ";", "}", "if", "(", "MI", "->", "getOpcode", "(", ")", "==", "", ")", "{", "if", "(", "isFPR64", "(", "MI", "->", "getOperand", "(", "", ")", ".", "getReg", "(", ")", ",", "MI", "->", "getOperand", "(", "", ")", ".", "getSubReg", "(", ")", ",", "MRI", ")", "&&", "isGPR64", "(", "MI", "->", "getOperand", "(", "", ")", ".", "getReg", "(", ")", ",", "MI", "->", "getOperand", "(", "", ")", ".", "getSubReg", "(", ")", ",", "MRI", ")", ")", "return", "MI", "->", "getOperand", "(", "", ")", ".", "getReg", "(", ")", ";"], "ground_truth": ["if", "(", "isGPR64", "(", "MI", "->", "getOperand", "(", "", ")", ".", "getReg", "(", ")", ",", "MI", "->", "getOperand", "(", "", ")", ".", "getSubReg", "(", ")", ",", "MRI", ")", "&&", "isFPR64", "(", "MI", "->", "getOperand", "(", "", ")", ".", "getReg", "(", ")", ",", "MI", "->", "getOperand", "(", "", ")", ".", "getSubReg", "(", ")", ",", "MRI", ")", ")", "{"], "File": "ARM64AdvSIMDScalarPass1", "Func": "getSrcFromCopy", "Target": "ARM64", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 27952, "Length": 149, "Cover_Rate": 0.5498154981549815} {"Template_token": ["", "const", "TargetMachine", "&", "TM", "=", "mf", ".", "getTarget", "(", ")", ";", "MRI", "=", "&", "mf", ".", "getRegInfo", "(", ")", ";", "TII", "=", "static_cast", "<", "const", "InstrInfo", "*", ">", "(", "TM", ".", "getInstrInfo", "(", ")", ")", ";", "for", "(", "MachineFunction", "::", "iterator", "I", "=", "mf", ".", "begin", "(", ")", ",", "E", "=", "mf", ".", "end", "(", ")", ";", "I", "!=", "E", ";", "++", "I", ")", "if", "(", "processMachineBasicBlock", "(", "I", ")", ")", "Changed", "=", "true", ";", "return", "Changed", ";"], "ground_truth": ["}"], "File": "ARM64AdvSIMDScalarPass1", "Func": "runOnMachineFunction", "Target": "ARM64", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 27953, "Length": 79, "Cover_Rate": 0.7669902912621359} {"Template_token": ["", "DEBUG", "(", "dbgs", "(", ")", "<<", "", ")", ";", "const", "TargetMachine", "&", "TM", "=", "mf", ".", "getTarget", "(", ")", ";", "MRI", "=", "&", "mf", ".", "getRegInfo", "(", ")", ";", "TII", "=", "static_cast", "<", "const", "InstrInfo", "*", ">", "(", "TM", ".", "getInstrInfo", "(", ")", ")", ";", "for", "(", "MachineFunction", "::", "iterator", "I", "=", "mf", ".", "begin", "(", ")", ",", "E", "=", "mf", ".", "end", "(", ")", ";", "I", "!=", "E", ";", "++", "I", ")", "if", "(", "processMachineBasicBlock", "(", "I", ")", ")", "Changed", "=", "true", ";"], "ground_truth": ["return", "Changed", ";"], "File": "ARM64AdvSIMDScalarPass1", "Func": "runOnMachineFunction", "Target": "ARM64", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 27954, "Length": 87, "Cover_Rate": 0.8446601941747572} {"Template_token": ["", "explicit", "AdvSIMDScalar", "(", ")", ":", "MachineFunctionPass", "(", "ID", ")", "{"], "ground_truth": ["}"], "File": "ARM64AdvSIMDScalarPass", "Func": "ARM64AdvSIMDScalar", "Target": "ARM64", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 27955, "Length": 11, "Cover_Rate": 1.0} {"Template_token": ["", "explicit", "AdvSIMDScalar", "(", ")", ":", "MachineFunctionPass", "(", "ID", ")", "{"], "ground_truth": ["}"], "File": "ARM64AdvSIMDScalarPass", "Func": "ARM64AdvSIMDScalar", "Target": "ARM64", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 27956, "Length": 11, "Cover_Rate": 1.0} {"Template_token": ["", "FunctionPass", "*", "llvm", "::", "createAdvSIMDScalar", "(", ")", "{", "return", "new", "AdvSIMDScalar", "(", ")", ";"], "ground_truth": ["}"], "File": "ARM64AdvSIMDScalarPass", "Func": "createARM64AdvSIMDScalar", "Target": "ARM64", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 27958, "Length": 15, "Cover_Rate": 1.0} {"Template_token": ["", "const", "char", "*", "getPassName", "(", ")", "const", "{", "return", "", ";"], "ground_truth": ["}"], "File": "ARM64AdvSIMDScalarPass", "Func": "getPassName", "Target": "ARM64", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 27961, "Length": 12, "Cover_Rate": 1.0} {"Template_token": ["", "}", "if", "(", "MI", "->", "getOpcode", "(", ")", "==", "", ")", "{", "if", "(", "isFPR64", "(", "MI", "->", "getOperand", "(", "", ")", ".", "getReg", "(", ")", ",", "MI", "->", "getOperand", "(", "", ")", ".", "getSubReg", "(", ")", ",", "MRI", ")", "&&", "isGPR64", "(", "MI", "->", "getOperand", "(", "", ")", ".", "getReg", "(", ")", ",", "MI", "->", "getOperand", "(", "", ")", ".", "getSubReg", "(", ")", ",", "MRI", ")", ")", "return", "MI", "->", "getOperand", "(", "", ")", ".", "getReg", "(", ")", ";", "if", "(", "isGPR64", "(", "MI", "->", "getOperand", "(", "", ")", ".", "getReg", "(", ")", ",", "MI", "->", "getOperand", "(", "", ")", ".", "getSubReg", "(", ")", ",", "MRI", ")", "&&", "isFPR64", "(", "MI", "->", "getOperand", "(", "", ")", ".", "getReg", "(", ")", ",", "MI", "->", "getOperand", "(", "", ")", ".", "getSubReg", "(", ")", ",", "MRI", ")", ")", "{", "SubReg", "=", "", ";"], "ground_truth": ["return", "MI", "->", "getOperand", "(", "", ")", ".", "getReg", "(", ")", ";"], "File": "ARM64AdvSIMDScalarPass", "Func": "getSrcFromCopy", "Target": "ARM64", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 27963, "Length": 153, "Cover_Rate": 0.5795454545454546} {"Template_token": ["", "if", "(", "isFPR64", "(", "MI", "->", "getOperand", "(", "", ")", ".", "getReg", "(", ")", ",", "MI", "->", "getOperand", "(", "", ")", ".", "getSubReg", "(", ")", ",", "MRI", ")", "&&", "isGPR64", "(", "MI", "->", "getOperand", "(", "", ")", ".", "getReg", "(", ")", ",", "MI", "->", "getOperand", "(", "", ")", ".", "getSubReg", "(", ")", ",", "MRI", ")", ")", "return", "MI", "->", "getOperand", "(", "", ")", ".", "getReg", "(", ")", ";", "if", "(", "isGPR64", "(", "MI", "->", "getOperand", "(", "", ")", ".", "getReg", "(", ")", ",", "MI", "->", "getOperand", "(", "", ")", ".", "getSubReg", "(", ")", ",", "MRI", ")", "&&", "isFPR64", "(", "MI", "->", "getOperand", "(", "", ")", ".", "getReg", "(", ")", ",", "MI", "->", "getOperand", "(", "", ")", ".", "getSubReg", "(", ")", ",", "MRI", ")", ")", "{", "SubReg", "=", "", ";", "return", "MI", "->", "getOperand", "(", "", ")", ".", "getReg", "(", ")", ";", "}", "}"], "ground_truth": ["return", "", ";"], "File": "ARM64AdvSIMDScalarPass", "Func": "getSrcFromCopy", "Target": "ARM64", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 27964, "Length": 146, "Cover_Rate": 0.553030303030303} {"Template_token": ["", "switch", "(", "Opc", ")", "{", "default", ":", "break", ";", "case", "", ":", "return", "", ";", "case", "", ":", "return", "", ";", "}"], "ground_truth": ["return", "Opc", ";"], "File": "ARM64AdvSIMDScalarPass", "Func": "getTransformOpcode", "Target": "ARM64", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 27965, "Length": 25, "Cover_Rate": 0.5952380952380952} {"Template_token": ["", "switch", "(", "Opc", ")", "{", "default", ":", "break", ";", "case", "", ":", "return", "", ";", "case", "", ":", "return", "", ";"], "ground_truth": ["}"], "File": "ARM64AdvSIMDScalarPass", "Func": "getTransformOpcode", "Target": "ARM64", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 27966, "Length": 22, "Cover_Rate": 0.5238095238095238} {"Template_token": ["", "static", "MachineInstr", "*", "insertCopy", "(", "const", "InstrInfo", "*", "TII", ",", "MachineInstr", "*", "MI", ",", "unsigned", "Dst", ",", "unsigned", "Src", ",", "bool", "IsKill", ")", "{"], "ground_truth": ["MachineInstrBuilder", "MIB", "=", "BuildMI", "(", "*", "MI", "->", "getParent", "(", ")", ",", "MI", ",", "MI", "->", "getDebugLoc", "(", ")", ",", "TII", "->", "get", "(", "", ")", ",", "Dst", ")", ".", "addReg", "(", "Src", ",", "getKillRegState", "(", "IsKill", ")", ")", ";"], "File": "ARM64AdvSIMDScalarPass", "Func": "insertCopy", "Target": "ARM64", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 27967, "Length": 64, "Cover_Rate": 0.7529411764705882} {"Template_token": ["", "static", "MachineInstr", "*", "insertCopy", "(", "const", "InstrInfo", "*", "TII", ",", "MachineInstr", "*", "MI", ",", "unsigned", "Dst", ",", "unsigned", "Src", ",", "bool", "IsKill", ")", "{"], "ground_truth": ["MachineInstrBuilder", "MIB", "=", "BuildMI", "(", "*", "MI", "->", "getParent", "(", ")", ",", "MI", ",", "MI", "->", "getDebugLoc", "(", ")", ",", "TII", "->", "get", "(", "", ")", ",", "Dst", ")", ".", "addReg", "(", "Src", ",", "getKillRegState", "(", "IsKill", ")", ")", ";"], "File": "ARM64AdvSIMDScalarPass", "Func": "insertCopy", "Target": "ARM64", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 27968, "Length": 64, "Cover_Rate": 0.7529411764705882} {"Template_token": ["", "if", "(", "TargetRegisterInfo", "::", "isVirtualRegister", "(", "Reg", ")", ")", "return", "(", "MRI", "->", "getRegClass", "(", "Reg", ")", "->", "hasSuperClassEq", "(", "&", "", ")", "&&", "SubReg", "==", "", ")", "||", "(", "MRI", "->", "getRegClass", "(", "Reg", ")", "->", "hasSuperClassEq", "(", "&", "", ")", "&&", "SubReg", "==", "", ")", ";"], "ground_truth": ["return", "(", "", ".", "contains", "(", "Reg", ")", "&&", "SubReg", "==", "", ")", "||", "(", "", ".", "contains", "(", "Reg", ")", "&&", "SubReg", "==", "", ")", ";"], "File": "ARM64AdvSIMDScalarPass", "Func": "isFPR64", "Target": "ARM64", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 27969, "Length": 75, "Cover_Rate": 0.7211538461538461} {"Template_token": ["", "if", "(", "TargetRegisterInfo", "::", "isVirtualRegister", "(", "Reg", ")", ")", "return", "MRI", "->", "getRegClass", "(", "Reg", ")", "->", "hasSuperClassEq", "(", "&", "", ")", ";"], "ground_truth": ["return", "", ".", "contains", "(", "Reg", ")", ";"], "File": "ARM64AdvSIMDScalarPass", "Func": "isGPR64", "Target": "ARM64", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 27970, "Length": 31, "Cover_Rate": 0.5254237288135594} {"Template_token": ["", "bool", "AdvSIMDScalar", "::", "isProfitableToTransform", "(", "const", "MachineInstr", "*", "MI", ")", "const", "{", "if", "(", "!", "isTransformable", "(", "MI", ")", ")", "return", "false", ";", "unsigned", "NumNewCopies", "=", "", ";", "unsigned", "NumRemovableCopies", "=", "", ";", "unsigned", "OrigSrc0", "=", "MI", "->", "getOperand", "(", "", ")", ".", "getReg", "(", ")", ";", "unsigned", "OrigSrc1", "=", "MI", "->", "getOperand", "(", "", ")", ".", "getReg", "(", ")", ";", "unsigned", "Src0", "=", "", ",", "SubReg0", ";", "unsigned", "Src1", "=", "", ",", "SubReg1", ";", "if", "(", "!", "MRI", "->", "def_empty", "(", "OrigSrc0", ")", ")", "{", "MachineRegisterInfo", "::", "def_instr_iterator", "Def", "=", "MRI", "->", "def_instr_begin", "(", "OrigSrc0", ")", ";", "assert", "(", "std", "::", "next", "(", "Def", ")", "==", "MRI", "->", "def_instr_end", "(", ")", "&&", "", ")", ";", "Src0", "=", "getSrcFromCopy", "(", "&", "*", "Def", ",", "MRI", ",", "SubReg0", ")", ";", "if", "(", "Src0", ")", "--", "NumNewCopies", ";", "if", "(", "Src0", "&&", "MRI", "->", "hasOneNonDBGUse", "(", "OrigSrc0", ")", ")", "++", "NumRemovableCopies", ";", "}", "if", "(", "!", "MRI", "->", "def_empty", "(", "OrigSrc1", ")", ")", "{", "MachineRegisterInfo", "::", "def_instr_iterator", "Def", "=", "MRI", "->", "def_instr_begin", "(", "OrigSrc1", ")", ";", "assert", "(", "std", "::", "next", "(", "Def", ")", "==", "MRI", "->", "def_instr_end", "(", ")", "&&", "", ")", ";", "Src1", "=", "getSrcFromCopy", "(", "&", "*", "Def", ",", "MRI", ",", "SubReg1", ")", ";", "if", "(", "Src1", ")", "--", "NumNewCopies", ";"], "ground_truth": ["if", "(", "Src1", "&&", "MRI", "->", "hasOneNonDBGUse", "(", "OrigSrc1", ")", ")", "++", "NumRemovableCopies", ";"], "File": "ARM64AdvSIMDScalarPass", "Func": "isProfitableToTransform", "Target": "ARM64", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 27972, "Length": 226, "Cover_Rate": 0.6420454545454546} {"Template_token": ["", "assert", "(", "std", "::", "next", "(", "Def", ")", "==", "MRI", "->", "def_instr_end", "(", ")", "&&", "", ")", ";", "Src1", "=", "getSrcFromCopy", "(", "&", "*", "Def", ",", "MRI", ",", "SubReg1", ")", ";", "if", "(", "Src1", ")", "--", "NumNewCopies", ";", "if", "(", "Src1", "&&", "MRI", "->", "hasOneNonDBGUse", "(", "OrigSrc1", ")", ")", "++", "NumRemovableCopies", ";", "}", "unsigned", "Dst", "=", "MI", "->", "getOperand", "(", "", ")", ".", "getReg", "(", ")", ";", "bool", "AllUsesAreCopies", "=", "true", ";", "for", "(", "MachineRegisterInfo", "::", "use_instr_nodbg_iterator", "Use", "=", "MRI", "->", "use_instr_nodbg_begin", "(", "Dst", ")", ",", "E", "=", "MRI", "->", "use_instr_nodbg_end", "(", ")", ";", "Use", "!=", "E", ";", "++", "Use", ")", "{", "unsigned", "SubReg", ";", "if", "(", "getSrcFromCopy", "(", "&", "*", "Use", ",", "MRI", ",", "SubReg", ")", "||", "isTransformable", "(", "&", "*", "Use", ")", ")", "++", "NumRemovableCopies", ";"], "ground_truth": ["else", "if", "(", "Use", "->", "getOpcode", "(", ")", "==", "", "||", "Use", "->", "getOpcode", "(", ")", "==", "", ")", ";"], "File": "ARM64AdvSIMDScalarPass", "Func": "isProfitableToTransform", "Target": "ARM64", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 27973, "Length": 148, "Cover_Rate": 0.42045454545454547} {"Template_token": ["", "return", "Opc", "!=", "getTransformOpcode", "(", "Opc", ")", ";"], "ground_truth": ["}"], "File": "ARM64AdvSIMDScalarPass", "Func": "isTransformable", "Target": "ARM64", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 27974, "Length": 9, "Cover_Rate": 0.32142857142857145} {"Template_token": ["", "MachineInstr", "*", "MI", "=", "I", ";", "++", "I", ";", "if", "(", "isProfitableToTransform", "(", "MI", ")", ")", "{", "transformInstruction", "(", "MI", ")", ";", "Changed", "=", "true", ";", "}", "}", "return", "Changed", ";"], "ground_truth": ["}"], "File": "ARM64AdvSIMDScalarPass", "Func": "processMachineBasicBlock", "Target": "ARM64", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 27976, "Length": 32, "Cover_Rate": 0.43243243243243246} {"Template_token": ["", "bool", "Changed", "=", "false", ";", "for", "(", "MachineBasicBlock", "::", "iterator", "I", "=", "MBB", "->", "begin", "(", ")", ",", "E", "=", "MBB", "->", "end", "(", ")", ";", "I", "!=", "E", ";", ")", "{", "MachineInstr", "*", "MI", "=", "I", ";", "++", "I", ";", "if", "(", "isProfitableToTransform", "(", "MI", ")", ")", "{", "transformInstruction", "(", "MI", ")", ";", "Changed", "=", "true", ";", "}"], "ground_truth": ["}"], "File": "ARM64AdvSIMDScalarPass", "Func": "processMachineBasicBlock", "Target": "ARM64", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 27977, "Length": 60, "Cover_Rate": 0.8108108108108109} {"Template_token": ["", "const", "TargetMachine", "&", "TM", "=", "mf", ".", "getTarget", "(", ")", ";", "MRI", "=", "&", "mf", ".", "getRegInfo", "(", ")", ";"], "ground_truth": ["TII", "=", "static_cast", "<", "const", "InstrInfo", "*", ">", "(", "TM", ".", "getInstrInfo", "(", ")", ")", ";"], "File": "ARM64AdvSIMDScalarPass", "Func": "runOnMachineFunction", "Target": "ARM64", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 27978, "Length": 36, "Cover_Rate": 0.32432432432432434} {"Template_token": ["", "bool", "AdvSIMDScalar", "::", "runOnMachineFunction", "(", "MachineFunction", "&", "mf", ")", "{", "if", "(", "!", "AdvSIMDScalar", ")", "return", "false", ";", "bool", "Changed", "=", "false", ";", "DEBUG", "(", "dbgs", "(", ")", "<<", "", ")", ";", "const", "TargetMachine", "&", "TM", "=", "mf", ".", "getTarget", "(", ")", ";", "MRI", "=", "&", "mf", ".", "getRegInfo", "(", ")", ";", "TII", "=", "static_cast", "<", "const", "InstrInfo", "*", ">", "(", "TM", ".", "getInstrInfo", "(", ")", ")", ";", "for", "(", "MachineFunction", "::", "iterator", "I", "=", "mf", ".", "begin", "(", ")", ",", "E", "=", "mf", ".", "end", "(", ")", ";", "I", "!=", "E", ";", "++", "I", ")", "if", "(", "processMachineBasicBlock", "(", "I", ")", ")", "Changed", "=", "true", ";", "return", "Changed", ";"], "ground_truth": ["}"], "File": "ARM64AdvSIMDScalarPass", "Func": "runOnMachineFunction", "Target": "ARM64", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 27979, "Length": 111, "Cover_Rate": 1.0} {"Template_token": ["", "if", "(", "!", "MRI", "->", "def_empty", "(", "OrigSrc1", ")", ")", "{", "MachineRegisterInfo", "::", "def_instr_iterator", "Def", "=", "MRI", "->", "def_instr_begin", "(", "OrigSrc1", ")", ";", "assert", "(", "std", "::", "next", "(", "Def", ")", "==", "MRI", "->", "def_instr_end", "(", ")", "&&", "", ")", ";", "Src1", "=", "getSrcFromCopy", "(", "&", "*", "Def", ",", "MRI", ",", "SubReg1", ")", ";", "if", "(", "Src1", "&&", "MRI", "->", "hasOneNonDBGUse", "(", "OrigSrc1", ")", ")", "{", "assert", "(", "Src1", "&&", "", ")", ";", "Def", "->", "eraseFromParent", "(", ")", ";", "++", "NumCopiesDeleted", ";", "}", "}", "if", "(", "!", "Src0", ")", "{", "SubReg0", "=", "", ";", "Src0", "=", "MRI", "->", "createVirtualRegister", "(", "&", "", ")", ";", "insertCopy", "(", "TII", ",", "MI", ",", "Src0", ",", "OrigSrc0", ",", "true", ")", ";", "}", "if", "(", "!", "Src1", ")", "{", "SubReg1", "=", "", ";", "Src1", "=", "MRI", "->", "createVirtualRegister", "(", "&", "", ")", ";"], "ground_truth": ["insertCopy", "(", "TII", ",", "MI", ",", "Src1", ",", "OrigSrc1", ",", "true", ")", ";"], "File": "ARM64AdvSIMDScalarPass", "Func": "transformInstruction", "Target": "ARM64", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 27980, "Length": 151, "Cover_Rate": 0.34953703703703703} {"Template_token": ["", "return", "createELFObjectWriter", "(", "OS", ",", "OSABI", ",", "IsLittleEndian", ")", ";"], "ground_truth": ["}"], "File": "ARM64AsmBackend1", "Func": "createObjectWriter", "Target": "ARM64", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 27981, "Length": 11, "Cover_Rate": 0.5} {"Template_token": ["", "return", "(", "SMO", ".", "getType", "(", ")", "==", "MachO", "::", "S_CSTRING_LITERALS", "||", "SMO", ".", "getType", "(", ")", "==", "MachO", "::", "S_4BYTE_LITERALS", "||", "SMO", ".", "getType", "(", ")", "==", "MachO", "::", "S_8BYTE_LITERALS", "||", "SMO", ".", "getType", "(", ")", "==", "MachO", "::", "S_16BYTE_LITERALS", "||", "SMO", ".", "getType", "(", ")", "==", "MachO", "::", "S_LITERAL_POINTERS", "||", "(", "SMO", ".", "getSegmentName", "(", ")", "==", "", "&&", "(", "SMO", ".", "getSectionName", "(", ")", "==", "", "||", "SMO", ".", "getSectionName", "(", ")", "==", "", ")", ")", "||", "(", "SMO", ".", "getSegmentName", "(", ")", "==", "", "&&", "(", "SMO", ".", "getSectionName", "(", ")", "==", "", "||", "SMO", ".", "getSectionName", "(", ")", "==", "", "||", "SMO", ".", "getSectionName", "(", ")", "==", "", ")", ")", ")", ";"], "ground_truth": ["}"], "File": "ARM64AsmBackend1", "Func": "doesSectionRequireSymbols", "Target": "ARM64", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 27983, "Length": 118, "Cover_Rate": 0.8194444444444444} {"Template_token": ["", "else", "if", "(", "Reg1", "==", "", "&&", "Reg2", "==", "", "&&", "(", "CompactUnwindEncoding", "&", "", ")", "==", "", ")", "CompactUnwindEncoding", "|=", "CU", "::", "UNWIND__FRAME_X23_X24_PAIR", ";", "else", "if", "(", "Reg1", "==", "", "&&", "Reg2", "==", "", "&&", "(", "CompactUnwindEncoding", "&", "", ")", "==", "", ")", "CompactUnwindEncoding", "|=", "CU", "::", "UNWIND__FRAME_X25_X26_PAIR", ";", "else", "if", "(", "Reg1", "==", "", "&&", "Reg2", "==", "", "&&", "(", "CompactUnwindEncoding", "&", "", ")", "==", "", ")", "CompactUnwindEncoding", "|=", "CU", "::", "UNWIND__FRAME_X27_X28_PAIR", ";", "else", "{", "Reg1", "=", "getDRegFromBReg", "(", "Reg1", ")", ";", "Reg2", "=", "getDRegFromBReg", "(", "Reg2", ")", ";", "if", "(", "Reg1", "==", "", "&&", "Reg2", "==", "", "&&", "(", "CompactUnwindEncoding", "&", "", ")", "==", "", ")", "CompactUnwindEncoding", "|=", "CU", "::", "UNWIND__FRAME_D8_D9_PAIR", ";", "else", "if", "(", "Reg1", "==", "", "&&", "Reg2", "==", "", "&&", "(", "CompactUnwindEncoding", "&", "", ")", "==", "", ")", "CompactUnwindEncoding", "|=", "CU", "::", "UNWIND__FRAME_D10_D11_PAIR", ";", "else", "if", "(", "Reg1", "==", "", "&&", "Reg2", "==", "", "&&", "(", "CompactUnwindEncoding", "&", "", ")", "==", "", ")", "CompactUnwindEncoding", "|=", "CU", "::", "UNWIND__FRAME_D12_D13_PAIR", ";", "else", "if", "(", "Reg1", "==", "", "&&", "Reg2", "==", "", ")", "CompactUnwindEncoding", "|=", "CU", "::", "UNWIND__FRAME_D14_D15_PAIR", ";", "else", "return", "CU", "::", "UNWIND__MODE_DWARF", ";", "}", "break", ";", "}", "}", "}", "if", "(", "!", "HasFP", ")", "{", "if", "(", "StackSize", ">", "", ")", "return", "CU", "::", "UNWIND__MODE_DWARF", ";"], "ground_truth": ["CompactUnwindEncoding", "|=", "CU", "::", "UNWIND__MODE_FRAMELESS", ";"], "File": "ARM64AsmBackend1", "Func": "generateCompactUnwindEncoding", "Target": "ARM64", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 27985, "Length": 217, "Cover_Rate": 0.3113342898134864} {"Template_token": ["", "{", "", ",", "", ",", "", ",", "PCRelFlagVal", "}", ",", "{", "", ",", "", ",", "", ",", "PCRelFlagVal", "}", ",", "{", "", ",", "", ",", "", ",", "", "}", ",", "{", "", ",", "", ",", "", ",", "", "}", ",", "{", "", ",", "", ",", "", ",", "", "}", ",", "{", "", ",", "", ",", "", ",", "", "}", ",", "{", "", ",", "", ",", "", ",", "", "}", ",", "{", "", ",", "", ",", "", ",", "", "}", ",", "{", "", ",", "", ",", "", ",", "PCRelFlagVal", "}", ",", "{", "", ",", "", ",", "", ",", "", "}", ",", "{", "", ",", "", ",", "", ",", "PCRelFlagVal", "}", ",", "{", "", ",", "", ",", "", ",", "PCRelFlagVal", "}", ",", "{", "", ",", "", ",", "", ",", "PCRelFlagVal", "}", ",", "{", "", ",", "", ",", "", ",", "PCRelFlagVal", "}", ",", "{"], "ground_truth": ["", ",", "", ",", "", ",", ""], "File": "ARM64AsmBackend1", "Func": "getFixupKindInfo", "Target": "ARM64", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 27986, "Length": 148, "Cover_Rate": 0.6981132075471698} {"Template_token": ["", "return", "", ";"], "ground_truth": ["}"], "File": "ARM64AsmBackend1", "Func": "getNumFixupKinds", "Target": "ARM64", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 27988, "Length": 4, "Cover_Rate": 0.3076923076923077} {"Template_token": ["", "if", "(", "SignedValue", ">", "", "||", "SignedValue", "<", "-", "", ")", "report_fatal_error", "(", "", ")", ";", "return", "AdrImmBits", "(", "Value", "&", "", ")", ";", "case", "", ":", "return", "AdrImmBits", "(", "(", "Value", "&", "", ")", ">>", "", ")", ";", "case", "", ":", "case", "", ":", "if", "(", "SignedValue", ">", "", "||", "SignedValue", "<", "-", "", ")", "report_fatal_error", "(", "", ")", ";", "return", "(", "Value", ">>", "", ")", "&", "", ";", "case", "", ":", "case", "", ":", "if", "(", "Value", ">=", "", ")", "report_fatal_error", "(", "", ")", ";", "return", "Value", ";", "case", "", ":", "if", "(", "Value", "&", "", "||", "Value", ">=", "", ")", "report_fatal_error", "(", "", ")", ";", "return", "Value", ">>", "", ";", "case", "", ":", "if", "(", "Value", "&", "", "||", "Value", ">=", "", ")", "report_fatal_error", "(", "", ")", ";", "return", "Value", ">>", "", ";", "case", "", ":", "if", "(", "Value", "&", "", "||", "Value", ">=", "", ")", "report_fatal_error", "(", "", ")", ";", "return", "Value", ">>", "", ";", "case", "", ":", "if", "(", "Value", "&", "", "||", "Value", ">=", "", ")", "report_fatal_error", "(", "", ")", ";", "return", "Value", ">>", "", ";", "case", "", ":"], "ground_truth": ["report_fatal_error", "(", "", ")", ";"], "File": "ARM64AsmBackend", "Func": "adjustFixupValue", "Target": "ARM64", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 27989, "Length": 190, "Cover_Rate": 0.5307262569832403} {"Template_token": ["", "return", "(", "hi19", "<<", "", ")", "|", "(", "lo2", "<<", "", ")", ";"], "ground_truth": ["}"], "File": "ARM64AsmBackend", "Func": "AdrImmBits", "Target": "ARM64", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 27990, "Length": 14, "Cover_Rate": 0.35} {"Template_token": ["", "unsigned", "lo2", "=", "Value", "&", "", ";", "unsigned", "hi19", "=", "(", "Value", "&", "", ")", ">>", "", ";", "return", "(", "hi19", "<<", "", ")", "|", "(", "lo2", "<<", "", ")", ";"], "ground_truth": ["}"], "File": "ARM64AsmBackend", "Func": "AdrImmBits", "Target": "ARM64", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 27991, "Length": 32, "Cover_Rate": 0.8} {"Template_token": ["", "unsigned", "NumBytes", "=", "getFixupKindNumBytes", "(", "Fixup", ".", "getKind", "(", ")", ")", ";", "if", "(", "!", "Value", ")", "return", ";", "MCFixupKindInfo", "Info", "=", "getFixupKindInfo", "(", "Fixup", ".", "getKind", "(", ")", ")", ";", "Value", "=", "adjustFixupValue", "(", "Fixup", ".", "getKind", "(", ")", ",", "Value", ")", ";"], "ground_truth": ["Value", "<<=", "Info", ".", "TargetOffset", ";"], "File": "ARM64AsmBackend", "Func": "applyFixup", "Target": "ARM64", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 27992, "Length": 50, "Cover_Rate": 0.3787878787878788} {"Template_token": ["", "AsmBackend", "(", "const", "Target", "&", "T", ")", ":", "MCAsmBackend", "(", ")", "{"], "ground_truth": ["}"], "File": "ARM64AsmBackend", "Func": "ARM64AsmBackend", "Target": "ARM64", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 27993, "Length": 13, "Cover_Rate": 1.0} {"Template_token": ["", "AsmBackend", "(", "const", "Target", "&", "T", ")", ":", "MCAsmBackend", "(", ")", "{"], "ground_truth": ["}"], "File": "ARM64AsmBackend", "Func": "ARM64AsmBackend", "Target": "ARM64", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 27994, "Length": 13, "Cover_Rate": 1.0} {"Template_token": ["", "Triple", "TheTriple", "(", "TT", ")", ";", "assert", "(", "TheTriple", ".", "isOSBinFormatELF", "(", ")", "&&", "", ")", ";"], "ground_truth": ["return", "new", "ELFAsmBackend", "(", "T", ",", "TheTriple", ".", "getOS", "(", ")", ",", "false", ")", ";"], "File": "ARM64AsmBackend", "Func": "createARM64beAsmBackend", "Target": "ARM64", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 27995, "Length": 32, "Cover_Rate": 0.5714285714285714} {"Template_token": ["", "MCAsmBackend", "*", "llvm", "::", "createbeAsmBackend", "(", "const", "Target", "&", "T", ",", "const", "MCRegisterInfo", "&", "MRI", ",", "StringRef", "TT", ",", "StringRef", "CPU", ")", "{", "Triple", "TheTriple", "(", "TT", ")", ";", "assert", "(", "TheTriple", ".", "isOSBinFormatELF", "(", ")", "&&", "", ")", ";"], "ground_truth": ["return", "new", "ELFAsmBackend", "(", "T", ",", "TheTriple", ".", "getOS", "(", ")", ",", "false", ")", ";"], "File": "ARM64AsmBackend", "Func": "createARM64beAsmBackend", "Target": "ARM64", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 27996, "Length": 55, "Cover_Rate": 0.9821428571428571} {"Template_token": ["", "MCAsmBackend", "*", "llvm", "::", "createleAsmBackend", "(", "const", "Target", "&", "T", ",", "const", "MCRegisterInfo", "&", "MRI", ",", "StringRef", "TT", ",", "StringRef", "CPU", ")", "{", "Triple", "TheTriple", "(", "TT", ")", ";", "if", "(", "TheTriple", ".", "isOSDarwin", "(", ")", ")", "return", "new", "DarwinAsmBackend", "(", "T", ",", "MRI", ")", ";", "assert", "(", "TheTriple", ".", "isOSBinFormatELF", "(", ")", "&&", "", ")", ";", "return", "new", "ELFAsmBackend", "(", "T", ",", "TheTriple", ".", "getOS", "(", ")", ",", "true", ")", ";"], "ground_truth": ["}"], "File": "ARM64AsmBackend", "Func": "createARM64leAsmBackend", "Target": "ARM64", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 27997, "Length": 73, "Cover_Rate": 1.0} {"Template_token": ["", "Triple", "TheTriple", "(", "TT", ")", ";", "if", "(", "TheTriple", ".", "isOSDarwin", "(", ")", ")", "return", "new", "DarwinAsmBackend", "(", "T", ",", "MRI", ")", ";", "assert", "(", "TheTriple", ".", "isOSBinFormatELF", "(", ")", "&&", "", ")", ";", "return", "new", "ELFAsmBackend", "(", "T", ",", "TheTriple", ".", "getOS", "(", ")", ",", "true", ")", ";"], "ground_truth": ["}"], "File": "ARM64AsmBackend", "Func": "createARM64leAsmBackend", "Target": "ARM64", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 27998, "Length": 50, "Cover_Rate": 0.684931506849315} {"Template_token": ["", "MCObjectWriter", "*", "createObjectWriter", "(", "raw_ostream", "&", "OS", ")", "const", "{"], "ground_truth": ["return", "createELFObjectWriter", "(", "OS", ",", "OSABI", ",", "IsLittleEndian", ")", ";"], "File": "ARM64AsmBackend", "Func": "createObjectWriter", "Target": "ARM64", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 28000, "Length": 20, "Cover_Rate": 0.9523809523809523} {"Template_token": ["", "DarwinAsmBackend", "(", "const", "Target", "&", "T", ",", "const", "MCRegisterInfo", "&", "MRI", ")", ":", "AsmBackend", "(", "T", ")", ",", "MRI", "(", "MRI", ")", "{"], "ground_truth": ["}"], "File": "ARM64AsmBackend", "Func": "DarwinARM64AsmBackend", "Target": "ARM64", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 28001, "Length": 24, "Cover_Rate": 1.0} {"Template_token": ["", "DarwinAsmBackend", "(", "const", "Target", "&", "T", ",", "const", "MCRegisterInfo", "&", "MRI", ")", ":", "AsmBackend", "(", "T", ")", ",", "MRI", "(", "MRI", ")", "{"], "ground_truth": ["}"], "File": "ARM64AsmBackend", "Func": "DarwinARM64AsmBackend", "Target": "ARM64", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 28002, "Length": 24, "Cover_Rate": 1.0} {"Template_token": ["", "virtual", "bool", "doesSectionRequireSymbols", "(", "const", "MCSection", "&", "Section", ")", "const", "{", "const", "MCSectionMachO", "&", "SMO", "=", "static_cast", "<", "const", "MCSectionMachO", "&", ">", "(", "Section", ")", ";"], "ground_truth": ["return", "(", "SMO", ".", "getType", "(", ")", "==", "MachO", "::", "S_CSTRING_LITERALS", "||", "SMO", ".", "getType", "(", ")", "==", "MachO", "::", "S_4BYTE_LITERALS", "||", "SMO", ".", "getType", "(", ")", "==", "MachO", "::", "S_8BYTE_LITERALS", "||", "SMO", ".", "getType", "(", ")", "==", "MachO", "::", "S_16BYTE_LITERALS", "||", "SMO", ".", "getType", "(", ")", "==", "MachO", "::", "S_LITERAL_POINTERS", "||", "(", "SMO", ".", "getSegmentName", "(", ")", "==", "", "&&", "(", "SMO", ".", "getSectionName", "(", ")", "==", "", "||", "SMO", ".", "getSectionName", "(", ")", "==", "", ")", ")", "||", "(", "SMO", ".", "getSegmentName", "(", ")", "==", "", "&&", "(", "SMO", ".", "getSectionName", "(", ")", "==", "", "||", "SMO", ".", "getSectionName", "(", ")", "==", "", "||", "SMO", ".", "getSectionName", "(", ")", "==", "", ")", ")", ")", ";"], "File": "ARM64AsmBackend", "Func": "doesSectionRequireSymbols", "Target": "ARM64", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 28003, "Length": 143, "Cover_Rate": 0.9930555555555556} {"Template_token": ["", "virtual", "bool", "doesSectionRequireSymbols", "(", "const", "MCSection", "&", "Section", ")", "const", "{", "const", "MCSectionMachO", "&", "SMO", "=", "static_cast", "<", "const", "MCSectionMachO", "&", ">", "(", "Section", ")", ";", "return", "(", "SMO", ".", "getType", "(", ")", "==", "MachO", "::", "S_CSTRING_LITERALS", "||", "SMO", ".", "getType", "(", ")", "==", "MachO", "::", "S_4BYTE_LITERALS", "||", "SMO", ".", "getType", "(", ")", "==", "MachO", "::", "S_8BYTE_LITERALS", "||", "SMO", ".", "getType", "(", ")", "==", "MachO", "::", "S_16BYTE_LITERALS", "||", "SMO", ".", "getType", "(", ")", "==", "MachO", "::", "S_LITERAL_POINTERS", "||", "(", "SMO", ".", "getSegmentName", "(", ")", "==", "", "&&", "(", "SMO", ".", "getSectionName", "(", ")", "==", "", "||", "SMO", ".", "getSectionName", "(", ")", "==", "", ")", ")", "||", "(", "SMO", ".", "getSegmentName", "(", ")", "==", "", "&&", "(", "SMO", ".", "getSectionName", "(", ")", "==", "", "||", "SMO", ".", "getSectionName", "(", ")", "==", "", "||", "SMO", ".", "getSectionName", "(", ")", "==", "", ")", ")", ")", ";"], "ground_truth": ["}"], "File": "ARM64AsmBackend", "Func": "doesSectionRequireSymbols", "Target": "ARM64", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 28004, "Length": 144, "Cover_Rate": 1.0} {"Template_token": ["", "ELFAsmBackend", "(", "const", "Target", "&", "T", ",", "uint8_t", "OSABI", ",", "bool", "IsLittleEndian", ")", ":", "AsmBackend", "(", "T", ")", ",", "OSABI", "(", "OSABI", ")", ",", "IsLittleEndian", "(", "IsLittleEndian", ")", "{"], "ground_truth": ["}"], "File": "ARM64AsmBackend", "Func": "ELFARM64AsmBackend", "Target": "ARM64", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 28005, "Length": 30, "Cover_Rate": 1.0} {"Template_token": ["", "ELFAsmBackend", "(", "const", "Target", "&", "T", ",", "uint8_t", "OSABI", ",", "bool", "IsLittleEndian", ")", ":", "AsmBackend", "(", "T", ")", ",", "OSABI", "(", "OSABI", ")", ",", "IsLittleEndian", "(", "IsLittleEndian", ")", "{"], "ground_truth": ["}"], "File": "ARM64AsmBackend", "Func": "ELFARM64AsmBackend", "Target": "ARM64", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 28006, "Length": 30, "Cover_Rate": 1.0} {"Template_token": ["", "uint32_t", "encodeStackAdjustment", "(", "uint32_t", "StackSize", ")", "const", "{"], "ground_truth": ["return", "(", "StackSize", "/", "", ")", "<<", "", ";"], "File": "ARM64AsmBackend", "Func": "encodeStackAdjustment", "Target": "ARM64", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 28007, "Length": 17, "Cover_Rate": 0.9444444444444444} {"Template_token": ["", "return", "int64_t", "(", "Value", ")", "!=", "int64_t", "(", "int8_t", "(", "Value", ")", ")", ";"], "ground_truth": ["}"], "File": "ARM64AsmBackend", "Func": "fixupNeedsRelaxation", "Target": "ARM64", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 28010, "Length": 15, "Cover_Rate": 0.375} {"Template_token": ["", "const", "MCCFIInstruction", "&", "FPPush", "=", "Instrs", "[", "++", "i", "]", ";", "assert", "(", "FPPush", ".", "getOperation", "(", ")", "==", "MCCFIInstruction", "::", "OpOffset", "&&", "", ")", ";", "unsigned", "LRReg", "=", "MRI", ".", "getLLVMRegNum", "(", "LRPush", ".", "getRegister", "(", ")", ",", "true", ")", ";", "unsigned", "FPReg", "=", "MRI", ".", "getLLVMRegNum", "(", "FPPush", ".", "getRegister", "(", ")", ",", "true", ")", ";", "LRReg", "=", "getXRegFromWReg", "(", "LRReg", ")", ";", "FPReg", "=", "getXRegFromWReg", "(", "FPReg", ")", ";", "assert", "(", "LRReg", "==", "", "&&", "FPReg", "==", "", "&&", "", ")", ";", "CompactUnwindEncoding", "|=", "CU", "::", "UNWIND__MODE_FRAME", ";", "HasFP", "=", "true", ";", "break", ";", "}", "case", "MCCFIInstruction", "::", "OpDefCfaOffset", ":", "{", "assert", "(", "StackSize", "==", "", "&&", "", ")", ";", "StackSize", "=", "std", "::", "abs", "(", "Inst", ".", "getOffset", "(", ")", ")", ";", "break", ";", "}", "case", "MCCFIInstruction", "::", "OpOffset", ":", "{", "unsigned", "Reg1", "=", "MRI", ".", "getLLVMRegNum", "(", "Inst", ".", "getRegister", "(", ")", ",", "true", ")", ";", "if", "(", "i", "+", "", "==", "e", ")", "return", "CU", "::", "UNWIND__MODE_DWARF", ";", "const", "MCCFIInstruction", "&", "Inst2", "=", "Instrs", "[", "++", "i", "]", ";", "if", "(", "Inst2", ".", "getOperation", "(", ")", "!=", "MCCFIInstruction", "::", "OpOffset", ")", "return", "CU", "::", "UNWIND__MODE_DWARF", ";", "unsigned", "Reg2", "=", "MRI", ".", "getLLVMRegNum", "(", "Inst2", ".", "getRegister", "(", ")", ",", "true", ")", ";", "Reg1", "=", "getXRegFromWReg", "(", "Reg1", ")", ";", "Reg2", "=", "getXRegFromWReg", "(", "Reg2", ")", ";", "if", "(", "Reg1", "==", "", "&&", "Reg2", "==", "", "&&", "(", "CompactUnwindEncoding", "&", "", ")", "==", "", ")", "CompactUnwindEncoding", "|=", "CU", "::", "UNWIND__FRAME_X19_X20_PAIR", ";", "else", "if", "(", "Reg1", "==", "", "&&", "Reg2", "==", "", "&&", "(", "CompactUnwindEncoding", "&", "", ")", "==", "", ")", "CompactUnwindEncoding", "|=", "CU", "::", "UNWIND__FRAME_X21_X22_PAIR", ";", "else", "if", "(", "Reg1", "==", "", "&&", "Reg2", "==", "", "&&", "(", "CompactUnwindEncoding", "&", "", ")", "==", "", ")", "CompactUnwindEncoding", "|=", "CU", "::", "UNWIND__FRAME_X23_X24_PAIR", ";", "else", "if", "(", "Reg1", "==", "", "&&", "Reg2", "==", "", "&&", "(", "CompactUnwindEncoding", "&", "", ")", "==", "", ")", "CompactUnwindEncoding", "|=", "CU", "::", "UNWIND__FRAME_X25_X26_PAIR", ";", "else", "if", "(", "Reg1", "==", "", "&&", "Reg2", "==", "", "&&", "(", "CompactUnwindEncoding", "&", "", ")", "==", "", ")", "CompactUnwindEncoding", "|=", "CU", "::", "UNWIND__FRAME_X27_X28_PAIR", ";"], "ground_truth": ["else", "{"], "File": "ARM64AsmBackend", "Func": "generateCompactUnwindEncoding", "Target": "ARM64", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 28011, "Length": 348, "Cover_Rate": 0.498567335243553} {"Template_token": ["", "Reg1", "=", "getXRegFromWReg", "(", "Reg1", ")", ";", "Reg2", "=", "getXRegFromWReg", "(", "Reg2", ")", ";", "if", "(", "Reg1", "==", "", "&&", "Reg2", "==", "", "&&", "(", "CompactUnwindEncoding", "&", "", ")", "==", "", ")", "CompactUnwindEncoding", "|=", "CU", "::", "UNWIND__FRAME_X19_X20_PAIR", ";", "else", "if", "(", "Reg1", "==", "", "&&", "Reg2", "==", "", "&&", "(", "CompactUnwindEncoding", "&", "", ")", "==", "", ")", "CompactUnwindEncoding", "|=", "CU", "::", "UNWIND__FRAME_X21_X22_PAIR", ";", "else", "if", "(", "Reg1", "==", "", "&&", "Reg2", "==", "", "&&", "(", "CompactUnwindEncoding", "&", "", ")", "==", "", ")", "CompactUnwindEncoding", "|=", "CU", "::", "UNWIND__FRAME_X23_X24_PAIR", ";", "else", "if", "(", "Reg1", "==", "", "&&", "Reg2", "==", "", "&&", "(", "CompactUnwindEncoding", "&", "", ")", "==", "", ")", "CompactUnwindEncoding", "|=", "CU", "::", "UNWIND__FRAME_X25_X26_PAIR", ";", "else", "if", "(", "Reg1", "==", "", "&&", "Reg2", "==", "", "&&", "(", "CompactUnwindEncoding", "&", "", ")", "==", "", ")", "CompactUnwindEncoding", "|=", "CU", "::", "UNWIND__FRAME_X27_X28_PAIR", ";", "else", "{", "Reg1", "=", "getDRegFromBReg", "(", "Reg1", ")", ";", "Reg2", "=", "getDRegFromBReg", "(", "Reg2", ")", ";", "if", "(", "Reg1", "==", "", "&&", "Reg2", "==", "", "&&", "(", "CompactUnwindEncoding", "&", "", ")", "==", "", ")", "CompactUnwindEncoding", "|=", "CU", "::", "UNWIND__FRAME_D8_D9_PAIR", ";", "else", "if", "(", "Reg1", "==", "", "&&", "Reg2", "==", "", "&&", "(", "CompactUnwindEncoding", "&", "", ")", "==", "", ")", "CompactUnwindEncoding", "|=", "CU", "::", "UNWIND__FRAME_D10_D11_PAIR", ";", "else", "if", "(", "Reg1", "==", "", "&&", "Reg2", "==", "", "&&", "(", "CompactUnwindEncoding", "&", "", ")", "==", "", ")", "CompactUnwindEncoding", "|=", "CU", "::", "UNWIND__FRAME_D12_D13_PAIR", ";", "else", "if", "(", "Reg1", "==", "", "&&", "Reg2", "==", "", ")", "CompactUnwindEncoding", "|=", "CU", "::", "UNWIND__FRAME_D14_D15_PAIR", ";", "else", "return", "CU", "::", "UNWIND__MODE_DWARF", ";", "}", "break", ";"], "ground_truth": ["}"], "File": "ARM64AsmBackend", "Func": "generateCompactUnwindEncoding", "Target": "ARM64", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 28012, "Length": 255, "Cover_Rate": 0.3653295128939828} {"Template_token": ["", "case", "", ":", "return", "", ";", "case", "", ":", "case", "", ":", "case", "", ":", "case", "", ":", "case", "", ":", "case", "", ":", "case", "", ":", "case", "", ":", "case", "", ":", "return", "", ";", "case", "", ":", "case", "", ":", "case", "", ":", "case", "", ":", "case", "FK_Data_4", ":", "return", "", ";"], "ground_truth": ["case", "FK_Data_8", ":"], "File": "ARM64AsmBackend", "Func": "getFixupKindNumBytes", "Target": "ARM64", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 28013, "Length": 57, "Cover_Rate": 0.4418604651162791} {"Template_token": ["", "unsigned", "getNumFixupKinds", "(", ")", "const", "{"], "ground_truth": ["return", "", ";"], "File": "ARM64AsmBackend", "Func": "getNumFixupKinds", "Target": "ARM64", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 28014, "Length": 9, "Cover_Rate": 0.75} {"Template_token": ["", "return", "", ";"], "ground_truth": ["}"], "File": "ARM64AsmBackend", "Func": "getNumFixupKinds", "Target": "ARM64", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 28015, "Length": 4, "Cover_Rate": 0.3333333333333333} {"Template_token": ["", "unsigned", "getPointerSize", "(", ")", "const", "{", "return", "", ";"], "ground_truth": ["}"], "File": "ARM64AsmBackend", "Func": "getPointerSize", "Target": "ARM64", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 28016, "Length": 10, "Cover_Rate": 1.0} {"Template_token": ["", "return", "", ";"], "ground_truth": ["}"], "File": "ARM64AsmBackend", "Func": "getPointerSize", "Target": "ARM64", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 28017, "Length": 4, "Cover_Rate": 0.4} {"Template_token": ["", "void", "HandleAssemblerFlag", "(", "MCAssemblerFlag", "Flag", ")", "{"], "ground_truth": ["}"], "File": "ARM64AsmBackend", "Func": "HandleAssemblerFlag", "Target": "ARM64", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 28018, "Length": 8, "Cover_Rate": 1.0} {"Template_token": ["", "void", "HandleAssemblerFlag", "(", "MCAssemblerFlag", "Flag", ")", "{"], "ground_truth": ["}"], "File": "ARM64AsmBackend", "Func": "HandleAssemblerFlag", "Target": "ARM64", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 28019, "Length": 8, "Cover_Rate": 1.0} {"Template_token": ["", "bool", "AsmBackend", "::", "mayNeedRelaxation", "(", "const", "MCInst", "&", "Inst", ")", "const", "{", "return", "false", ";"], "ground_truth": ["}"], "File": "ARM64AsmBackend", "Func": "mayNeedRelaxation", "Target": "ARM64", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 28021, "Length": 16, "Cover_Rate": 1.0} {"Template_token": ["", "if", "(", "(", "uint32_t", ")", "Fixup", ".", "getKind", "(", ")", "==", "", ")", "IsResolved", "=", "false", ";"], "ground_truth": ["}"], "File": "ARM64AsmBackend", "Func": "processFixupValue", "Target": "ARM64", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 28022, "Length": 18, "Cover_Rate": 0.3050847457627119} {"Template_token": ["", "assert", "(", "false", "&&", "", ")", ";"], "ground_truth": ["}"], "File": "ARM64AsmBackend", "Func": "relaxInstruction", "Target": "ARM64", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 28024, "Length": 8, "Cover_Rate": 0.3333333333333333} {"Template_token": ["", "void", "AsmBackend", "::", "relaxInstruction", "(", "const", "MCInst", "&", "Inst", ",", "MCInst", "&", "Res", ")", "const", "{"], "ground_truth": ["assert", "(", "false", "&&", "", ")", ";"], "File": "ARM64AsmBackend", "Func": "relaxInstruction", "Target": "ARM64", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 28025, "Length": 23, "Cover_Rate": 0.9583333333333334} {"Template_token": ["", "for", "(", "uint64_t", "i", "=", "", ",", "e", "=", "(", "Count", "&", "", ")", ";", "i", "!=", "e", ";", "++", "i", ")", "OW", "->", "Write8", "(", "", ")", ";"], "ground_truth": ["}"], "File": "ARM64AsmBackend", "Func": "writeNopData", "Target": "ARM64", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 28026, "Length": 30, "Cover_Rate": 0.35714285714285715} {"Template_token": ["", "if", "(", "(", "Count", "&", "", ")", "!=", "", ")", "{", "for", "(", "uint64_t", "i", "=", "", ",", "e", "=", "(", "Count", "&", "", ")", ";", "i", "!=", "e", ";", "++", "i", ")", "OW", "->", "Write8", "(", "", ")", ";", "}"], "ground_truth": ["Count", "/=", "", ";"], "File": "ARM64AsmBackend", "Func": "writeNopData", "Target": "ARM64", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 28027, "Length": 45, "Cover_Rate": 0.5357142857142857} {"Template_token": ["", "assert", "(", "N", "==", "", "&&", "", ")", ";", "bool", "Valid", ";", "auto", "Mapper", "=", "", "(", "getSysRegFeatureBits", "(", ")", ")", ";", "uint32_t", "Bits", "=", "Mapper", ".", "fromString", "(", "getSysReg", "(", ")", ",", "Valid", ")", ";", "Inst", ".", "addOperand", "(", "MCOperand", "::", "CreateImm", "(", "Bits", ")", ")", ";"], "ground_truth": ["}"], "File": "ARM64AsmParser1", "Func": "addMRSSystemRegisterOperands", "Target": "ARM64", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 28028, "Length": 49, "Cover_Rate": 0.7777777777777778} {"Template_token": ["", "void", "addMRSSystemRegisterOperands", "(", "MCInst", "&", "Inst", ",", "unsigned", "N", ")", "const", "{", "assert", "(", "N", "==", "", "&&", "", ")", ";"], "ground_truth": ["bool", "Valid", ";"], "File": "ARM64AsmParser1", "Func": "addMRSSystemRegisterOperands", "Target": "ARM64", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 28029, "Length": 24, "Cover_Rate": 0.38095238095238093} {"Template_token": ["", "uint32_t", "Bits", "=", "Mapper", ".", "fromString", "(", "getSysReg", "(", ")", ",", "Valid", ")", ";", "Inst", ".", "addOperand", "(", "MCOperand", "::", "CreateImm", "(", "Bits", ")", ")", ";"], "ground_truth": ["}"], "File": "ARM64AsmParser1", "Func": "addMSRSystemRegisterOperands", "Target": "ARM64", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 28030, "Length": 27, "Cover_Rate": 0.42857142857142855} {"Template_token": ["", "uint32_t", "Bits", "=", "Mapper", ".", "fromString", "(", "getSysReg", "(", ")", ",", "Valid", ")", ";", "Inst", ".", "addOperand", "(", "MCOperand", "::", "CreateImm", "(", "Bits", ")", ")", ";"], "ground_truth": ["}"], "File": "ARM64AsmParser1", "Func": "addMSRSystemRegisterOperands", "Target": "ARM64", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 28031, "Length": 27, "Cover_Rate": 0.42857142857142855} {"Template_token": ["", "void", "addSystemPStateFieldOperands", "(", "MCInst", "&", "Inst", ",", "unsigned", "N", ")", "const", "{", "assert", "(", "N", "==", "", "&&", "", ")", ";"], "ground_truth": ["bool", "Valid", ";"], "File": "ARM64AsmParser1", "Func": "addSystemPStateFieldOperands", "Target": "ARM64", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 28032, "Length": 24, "Cover_Rate": 0.43636363636363634} {"Template_token": ["", "void", "addVectorRegLoOperands", "(", "MCInst", "&", "Inst", ",", "unsigned", "N", ")", "const", "{"], "ground_truth": ["assert", "(", "N", "==", "", "&&", "", ")", ";"], "File": "ARM64AsmParser1", "Func": "addVectorRegLoOperands", "Target": "ARM64", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 28033, "Length": 21, "Cover_Rate": 0.5833333333333334} {"Template_token": ["", "Operand", "*", "Op", "=", "new", "Operand", "(", "k_SysReg", ",", "Ctx", ")", ";", "Op", "->", "SysReg", ".", "Data", "=", "Str", ".", "data", "(", ")", ";", "Op", "->", "SysReg", ".", "Length", "=", "Str", ".", "size", "(", ")", ";", "Op", "->", "SysReg", ".", "FeatureBits", "=", "FeatureBits", ";", "Op", "->", "StartLoc", "=", "S", ";", "Op", "->", "EndLoc", "=", "S", ";"], "ground_truth": ["return", "Op", ";"], "File": "ARM64AsmParser1", "Func": "CreateSysReg", "Target": "ARM64", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 28035, "Length": 59, "Cover_Rate": 0.7468354430379747} {"Template_token": ["", "return", "EndLoc", ";"], "ground_truth": ["}"], "File": "ARM64AsmParser1", "Func": "getEndLoc", "Target": "ARM64", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 28036, "Length": 4, "Cover_Rate": 0.36363636363636365} {"Template_token": ["", "unsigned", "getReg", "(", ")", "const", "override", "{", "assert", "(", "Kind", "==", "k_Register", "&&", "", ")", ";"], "ground_truth": ["return", "Reg", ".", "RegNum", ";"], "File": "ARM64AsmParser1", "Func": "getReg", "Target": "ARM64", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 28037, "Length": 21, "Cover_Rate": 0.9545454545454546} {"Template_token": ["", "SMLoc", "getStartLoc", "(", ")", "const", "override", "{"], "ground_truth": ["return", "StartLoc", ";"], "File": "ARM64AsmParser1", "Func": "getStartLoc", "Target": "ARM64", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 28038, "Length": 10, "Cover_Rate": 0.9090909090909091} {"Template_token": ["", "assert", "(", "Kind", "==", "k_SysReg", "&&", "", ")", ";"], "ground_truth": ["return", "SysReg", ".", "FeatureBits", ";"], "File": "ARM64AsmParser1", "Func": "getSysRegFeatureBits", "Target": "ARM64", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 28039, "Length": 14, "Cover_Rate": 0.6666666666666666} {"Template_token": ["", "uint64_t", "getSysRegFeatureBits", "(", ")", "const", "{", "assert", "(", "Kind", "==", "k_SysReg", "&&", "", ")", ";", "return", "SysReg", ".", "FeatureBits", ";"], "ground_truth": ["}"], "File": "ARM64AsmParser1", "Func": "getSysRegFeatureBits", "Target": "ARM64", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 28040, "Length": 21, "Cover_Rate": 1.0} {"Template_token": ["", "return", "Kind", "==", "k_Memory", ";"], "ground_truth": ["}"], "File": "ARM64AsmParser1", "Func": "isMem", "Target": "ARM64", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 28044, "Length": 6, "Cover_Rate": 0.46153846153846156} {"Template_token": ["", "if", "(", "!", "isSysReg", "(", ")", ")", "return", "false", ";", "bool", "IsKnownRegister", ";", "auto", "Mapper", "=", "", "(", "getSysRegFeatureBits", "(", ")", ")", ";", "Mapper", ".", "fromString", "(", "getSysReg", "(", ")", ",", "IsKnownRegister", ")", ";"], "ground_truth": ["return", "IsKnownRegister", ";"], "File": "ARM64AsmParser1", "Func": "isMRSSystemRegister", "Target": "ARM64", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 28045, "Length": 37, "Cover_Rate": 0.8043478260869565} {"Template_token": ["", "bool", "isMSRSystemRegister", "(", ")", "const", "{", "if", "(", "!", "isSysReg", "(", ")", ")", "return", "false", ";"], "ground_truth": ["bool", "IsKnownRegister", ";"], "File": "ARM64AsmParser1", "Func": "isMSRSystemRegister", "Target": "ARM64", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 28046, "Length": 19, "Cover_Rate": 0.41304347826086957} {"Template_token": ["", "if", "(", "!", "isSysReg", "(", ")", ")", "return", "false", ";", "bool", "IsKnownRegister", ";", "auto", "Mapper", "=", "", "(", "getSysRegFeatureBits", "(", ")", ")", ";"], "ground_truth": ["Mapper", ".", "fromString", "(", "getSysReg", "(", ")", ",", "IsKnownRegister", ")", ";"], "File": "ARM64AsmParser1", "Func": "isMSRSystemRegister", "Target": "ARM64", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 28047, "Length": 34, "Cover_Rate": 0.7391304347826086} {"Template_token": ["", "return", "Kind", "==", "k_Register", "&&", "!", "Reg", ".", "isVector", ";"], "ground_truth": ["}"], "File": "ARM64AsmParser1", "Func": "isReg", "Target": "ARM64", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 28049, "Length": 11, "Cover_Rate": 0.6111111111111112} {"Template_token": ["", "if", "(", "!", "isSysReg", "(", ")", ")", "return", "false", ";"], "ground_truth": ["bool", "IsKnownRegister", ";"], "File": "ARM64AsmParser1", "Func": "isSystemPStateField", "Target": "ARM64", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 28050, "Length": 13, "Cover_Rate": 0.34210526315789475} {"Template_token": ["", "return", "Kind", "==", "k_Register", "&&", "Reg", ".", "isVector", "&&", "MCRegisterClasses", "[", "", "]", ".", "contains", "(", "Reg", ".", "RegNum", ")", ";"], "ground_truth": ["}"], "File": "ARM64AsmParser1", "Func": "isVectorRegLo", "Target": "ARM64", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 28053, "Length": 22, "Cover_Rate": 0.7333333333333333} {"Template_token": ["", "unsigned", "AsmParser", "::", "parseCondCodeString", "(", "StringRef", "Cond", ")", "{", "unsigned", "CC", "=", "StringSwitch", "<", "unsigned", ">", "(", "Cond", ".", "lower", "(", ")", ")", ".", "Case", "(", "", ",", "", ")", ".", "Case", "(", "", ",", "", ")", ".", "Case", "(", "", ",", "", ")", ".", "Case", "(", "", ",", "", ")", ".", "Case", "(", "", ",", "", ")", ".", "Case", "(", "", ",", "", ")", ".", "Case", "(", "", ",", "", ")", ".", "Case", "(", "", ",", "", ")", ".", "Case", "(", "", ",", "", ")", ".", "Case", "(", "", ",", "", ")", ".", "Case", "(", "", ",", "", ")", ".", "Case", "(", "", ",", "", ")", ".", "Case", "(", "", ",", "", ")", ".", "Case", "(", "", ",", "", ")", ".", "Case", "(", "", ",", "", ")", ".", "Case", "(", "", ",", "", ")", ".", "Case", "(", "", ",", "", ")", ".", "Case", "(", "", ",", "", ")", ".", "Default", "(", "", ")", ";", "return", "CC", ";"], "ground_truth": ["}"], "File": "ARM64AsmParser1", "Func": "parseCondCodeString", "Target": "ARM64", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 28056, "Length": 159, "Cover_Rate": 0.8071065989847716} {"Template_token": ["", "unsigned", "CC", "=", "StringSwitch", "<", "unsigned", ">", "(", "Cond", ".", "lower", "(", ")", ")", ".", "Case", "(", "", ",", "", ")", ".", "Case", "(", "", ",", "", ")", ".", "Case", "(", "", ",", "", ")", ".", "Case", "(", "", ",", "", ")", ".", "Case", "(", "", ",", "", ")", ".", "Case", "(", "", ",", "", ")", ".", "Case", "(", "", ",", "", ")", ".", "Case", "(", "", ",", "", ")", ".", "Case", "(", "", ",", "", ")", ".", "Case", "(", "", ",", "", ")", ".", "Case", "(", "", ",", "", ")", ".", "Case", "(", "", ",", "", ")", ".", "Case", "(", "", ",", "", ")", ".", "Case", "(", "", ",", "", ")", ".", "Case", "(", "", ",", "", ")", ".", "Case", "(", "", ",", "", ")", ".", "Case", "(", "", ",", "", ")", ".", "Case", "(", "", ",", "", ")", ".", "Default", "(", "", ")", ";", "return", "CC", ";"], "ground_truth": ["}"], "File": "ARM64AsmParser1", "Func": "parseCondCodeString", "Target": "ARM64", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 28057, "Length": 150, "Cover_Rate": 0.7614213197969543} {"Template_token": ["", "int", "Reg2", "=", "OffsetRegTok", ".", "is", "(", "AsmToken", "::", "Identifier", ")", "?", "tryParseRegister", "(", ")", ":", "-", "", ";", "if", "(", "Reg2", "!=", "-", "", ")", "{", "", "ExtOp", "=", "", ";", "int64_t", "ShiftVal", "=", "", ";", "bool", "ExplicitShift", "=", "false", ";", "if", "(", "Parser", ".", "getTok", "(", ")", ".", "is", "(", "AsmToken", "::", "Comma", ")", ")", "{", "Parser", ".", "Lex", "(", ")", ";", "SMLoc", "ExtLoc", "=", "getLoc", "(", ")", ";", "const", "AsmToken", "&", "Tok", "=", "Parser", ".", "getTok", "(", ")", ";", "ExtOp", "=", "StringSwitch", "<", "", ">", "(", "Tok", ".", "getString", "(", ")", ")", ".", "Case", "(", "", ",", "", ")", ".", "Case", "(", "", ",", "", ")", ".", "Case", "(", "", ",", "", ")", ".", "Case", "(", "", ",", "", ")", ".", "Case", "(", "", ",", "", ")", ".", "Case", "(", "", ",", "", ")", ".", "Case", "(", "", ",", "", ")", ".", "Case", "(", "", ",", "", ")", ".", "Default", "(", "", ")", ";", "if", "(", "ExtOp", "==", "", ")", "return", "Error", "(", "ExtLoc", ",", "", ")", ";", "Parser", ".", "Lex", "(", ")", ";", "if", "(", "MCRegisterClasses", "[", "", "]", ".", "contains", "(", "Reg2", ")", ")", "{", "if", "(", "ExtOp", "!=", "", "&&", "ExtOp", "!=", "", ")", "return", "Error", "(", "ExtLoc", ",", "", "", ")", ";", "}", "else", "if", "(", "!", "MCRegisterClasses", "[", "", "]", ".", "contains", "(", "Reg2", ")", ")", "return", "Error", "(", "OffsetLoc", ",", "", ")", ";", "bool", "Hash", "=", "getLexer", "(", ")", ".", "is", "(", "AsmToken", "::", "Hash", ")", ";", "if", "(", "getLexer", "(", ")", ".", "is", "(", "AsmToken", "::", "RBrac", ")", ")", "{", "if", "(", "ExtOp", "==", "", ")", "return", "Error", "(", "ExtLoc", ",", "", ")", ";", "}", "else", "if", "(", "Hash", "||", "getLexer", "(", ")", ".", "is", "(", "AsmToken", "::", "Integer", ")", ")", "{", "if", "(", "Hash", ")", "Parser", ".", "Lex", "(", ")", ";", "const", "MCExpr", "*", "ImmVal", ";", "SMLoc", "ExprLoc", "=", "getLoc", "(", ")", ";", "if", "(", "getParser", "(", ")", ".", "parseExpression", "(", "ImmVal", ")", ")", "return", "true", ";", "const", "MCConstantExpr", "*", "MCE", "=", "dyn_cast", "<", "MCConstantExpr", ">", "(", "ImmVal", ")", ";", "if", "(", "!", "MCE", ")", "return", "TokError", "(", "", ")", ";", "ExplicitShift", "=", "true", ";", "ShiftVal", "=", "MCE", "->", "getValue", "(", ")", ";", "if", "(", "ShiftVal", "<", "", "||", "ShiftVal", ">", "", ")", "return", "Error", "(", "ExprLoc", ",", "", ")", ";", "}", "else", "return", "Error", "(", "getLoc", "(", ")", ",", "", ")", ";", "}", "if", "(", "Parser", ".", "getTok", "(", ")", ".", "isNot", "(", "AsmToken", "::", "RBrac", ")", ")", "return", "Error", "(", "getLoc", "(", ")", ",", "", ")", ";", "Parser", ".", "Lex", "(", ")", ";"], "ground_truth": ["SMLoc", "E", "=", "getLoc", "(", ")", ";"], "File": "ARM64AsmParser1", "Func": "parseMemory", "Target": "ARM64", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 28058, "Length": 433, "Cover_Rate": 0.4299900695134062} {"Template_token": ["", "OperandMatchResultTy", "ResTy", "=", "MatchOperandParserImpl", "(", "Operands", ",", "Mnemonic", ")", ";", "if", "(", "ResTy", "==", "MatchOperand_Success", ")", "return", "false", ";", "if", "(", "ResTy", "==", "MatchOperand_ParseFail", ")", "return", "true", ";", "SMLoc", "S", ",", "E", ";", "switch", "(", "getLexer", "(", ")", ".", "getKind", "(", ")", ")", "{", "default", ":", "{", "SMLoc", "S", "=", "getLoc", "(", ")", ";", "const", "MCExpr", "*", "Expr", ";", "if", "(", "parseSymbolicImmVal", "(", "Expr", ")", ")", "return", "Error", "(", "S", ",", "", ")", ";", "SMLoc", "E", "=", "SMLoc", "::", "getFromPointer", "(", "getLoc", "(", ")", ".", "getPointer", "(", ")", "-", "", ")", ";", "Operands", ".", "push_back", "(", "Operand", "::", "CreateImm", "(", "Expr", ",", "S", ",", "E", ",", "getContext", "(", ")", ")", ")", ";", "return", "false", ";", "}", "case", "AsmToken", "::", "LBrac", ":", "return", "parseMemory", "(", "Operands", ")", ";", "case", "AsmToken", "::", "LCurly", ":", "return", "parseVectorList", "(", "Operands", ")", ";", "case", "AsmToken", "::", "Identifier", ":", "{", "if", "(", "isCondCode", ")", "return", "parseCondCode", "(", "Operands", ",", "invertCondCode", ")", ";", "if", "(", "!", "parseRegister", "(", "Operands", ")", ")", "return", "false", ";", "if", "(", "!", "parseOptionalShift", "(", "Operands", ")", ")", "return", "false", ";", "if", "(", "!", "parseOptionalExtend", "(", "Operands", ")", ")", "return", "false", ";"], "ground_truth": ["const", "MCExpr", "*", "IdVal", ";"], "File": "ARM64AsmParser1", "Func": "parseOperand", "Target": "ARM64", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 28059, "Length": 194, "Cover_Rate": 0.3737957610789981} {"Template_token": ["", "std", "::", "string", "LowerCase", "=", "Parser", ".", "getTok", "(", ")", ".", "getIdentifier", "(", ")", ".", "lower", "(", ")", ";", "RefKind", "=", "StringSwitch", "<", "MCExpr", "::", "VariantKind", ">", "(", "LowerCase", ")", ".", "Case", "(", "", ",", "MCExpr", "::", "VK_LO12", ")", ".", "Case", "(", "", ",", "MCExpr", "::", "VK_ABS_G3", ")", ".", "Case", "(", "", ",", "MCExpr", "::", "VK_ABS_G2", ")", ".", "Case", "(", "", ",", "MCExpr", "::", "VK_ABS_G2_S", ")", ".", "Case", "(", "", ",", "MCExpr", "::", "VK_ABS_G2_NC", ")", ".", "Case", "(", "", ",", "MCExpr", "::", "VK_ABS_G1", ")", ".", "Case", "(", "", ",", "MCExpr", "::", "VK_ABS_G1_S", ")", ".", "Case", "(", "", ",", "MCExpr", "::", "VK_ABS_G1_NC", ")", ".", "Case", "(", "", ",", "MCExpr", "::", "VK_ABS_G0", ")", ".", "Case", "(", "", ",", "MCExpr", "::", "VK_ABS_G0_S", ")", ".", "Case", "(", "", ",", "MCExpr", "::", "VK_ABS_G0_NC", ")", ".", "Case", "(", "", ",", "MCExpr", "::", "VK_DTPREL_G2", ")", ".", "Case", "(", "", ",", "MCExpr", "::", "VK_DTPREL_G1", ")", ".", "Case", "(", "", ",", "MCExpr", "::", "VK_DTPREL_G1_NC", ")", ".", "Case", "(", "", ",", "MCExpr", "::", "VK_DTPREL_G0", ")", ".", "Case", "(", "", ",", "MCExpr", "::", "VK_DTPREL_G0_NC", ")", ".", "Case", "(", "", ",", "MCExpr", "::", "VK_DTPREL_HI12", ")", ".", "Case", "(", "", ",", "MCExpr", "::", "VK_DTPREL_LO12", ")", ".", "Case", "(", "", ",", "MCExpr", "::", "VK_DTPREL_LO12_NC", ")", ".", "Case", "(", "", ",", "MCExpr", "::", "VK_TPREL_G2", ")", ".", "Case", "(", "", ",", "MCExpr", "::", "VK_TPREL_G1", ")", ".", "Case", "(", "", ",", "MCExpr", "::", "VK_TPREL_G1_NC", ")", ".", "Case", "(", "", ",", "MCExpr", "::", "VK_TPREL_G0", ")", ".", "Case", "(", "", ",", "MCExpr", "::", "VK_TPREL_G0_NC", ")", ".", "Case", "(", "", ",", "MCExpr", "::", "VK_TPREL_HI12", ")", ".", "Case", "(", "", ",", "MCExpr", "::", "VK_TPREL_LO12", ")", ".", "Case", "(", "", ",", "MCExpr", "::", "VK_TPREL_LO12_NC", ")", ".", "Case", "(", "", ",", "MCExpr", "::", "VK_TLSDESC_LO12", ")", ".", "Case", "(", "", ",", "MCExpr", "::", "VK_GOT_PAGE", ")", ".", "Case", "(", "", ",", "MCExpr", "::", "VK_GOT_LO12", ")", ".", "Case", "(", "", ",", "MCExpr", "::", "VK_GOTTPREL_PAGE", ")", ".", "Case", "(", "", ",", "MCExpr", "::", "VK_GOTTPREL_LO12_NC", ")", ".", "Case", "(", "", ",", "MCExpr", "::", "VK_GOTTPREL_G1", ")", ".", "Case", "(", "", ",", "MCExpr", "::", "VK_GOTTPREL_G0_NC", ")", ".", "Case", "(", "", ",", "MCExpr", "::", "VK_TLSDESC_PAGE", ")", ".", "Default", "(", "MCExpr", "::", "VK_INVALID", ")", ";", "if", "(", "RefKind", "==", "MCExpr", "::", "VK_INVALID", ")", "{", "Error", "(", "Parser", ".", "getTok", "(", ")", ".", "getLoc", "(", ")", ",", "", ")", ";", "return", "true", ";", "}", "Parser", ".", "Lex", "(", ")", ";", "if", "(", "Parser", ".", "getTok", "(", ")", ".", "isNot", "(", "AsmToken", "::", "Colon", ")", ")", "{", "Error", "(", "Parser", ".", "getTok", "(", ")", ".", "getLoc", "(", ")", ",", "", ")", ";", "return", "true", ";", "}"], "ground_truth": ["Parser", ".", "Lex", "(", ")", ";"], "File": "ARM64AsmParser1", "Func": "parseSymbolicImmVal", "Target": "ARM64", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 28060, "Length": 428, "Cover_Rate": 0.7795992714025501} {"Template_token": ["", "StringRef", "NextKind", ";", "int64_t", "Reg", "=", "tryMatchVectorRegister", "(", "NextKind", ",", "true", ")", ";", "if", "(", "Reg", "==", "-", "", ")", "return", "true", ";", "if", "(", "Kind", "!=", "NextKind", ")", "return", "Error", "(", "Loc", ",", "", ")", ";", "if", "(", "getContext", "(", ")", ".", "getRegisterInfo", "(", ")", "->", "getEncodingValue", "(", "Reg", ")", "!=", "(", "getContext", "(", ")", ".", "getRegisterInfo", "(", ")", "->", "getEncodingValue", "(", "PrevReg", ")", "+", "", ")", "%", "", ")", "return", "Error", "(", "Loc", ",", "", ")", ";", "PrevReg", "=", "Reg", ";", "++", "Count", ";", "}", "}", "if", "(", "Parser", ".", "getTok", "(", ")", ".", "isNot", "(", "AsmToken", "::", "RCurly", ")", ")", "return", "Error", "(", "getLoc", "(", ")", ",", "", ")", ";", "Parser", ".", "Lex", "(", ")", ";", "if", "(", "Count", ">", "", ")", "return", "Error", "(", "S", ",", "", ")", ";", "unsigned", "NumElements", "=", "", ";", "char", "ElementKind", "=", "", ";", "if", "(", "!", "Kind", ".", "empty", "(", ")", ")", "parseValidVectorKind", "(", "Kind", ",", "NumElements", ",", "ElementKind", ")", ";", "Operands", ".", "push_back", "(", "Operand", "::", "CreateVectorList", "(", "FirstReg", ",", "Count", ",", "NumElements", ",", "ElementKind", ",", "S", ",", "getLoc", "(", ")", ",", "getContext", "(", ")", ")", ")", ";"], "ground_truth": ["if", "(", "Parser", ".", "getTok", "(", ")", ".", "is", "(", "AsmToken", "::", "LBrac", ")", ")", "{"], "File": "ARM64AsmParser1", "Func": "parseVectorList", "Target": "ARM64", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 28061, "Length": 205, "Cover_Rate": 0.3707052441229656} {"Template_token": ["", "SMLoc", "S", "=", "getLoc", "(", ")", ";", "Parser", ".", "Lex", "(", ")", ";", "StringRef", "Kind", ";", "int64_t", "FirstReg", "=", "tryMatchVectorRegister", "(", "Kind", ",", "true", ")", ";", "if", "(", "FirstReg", "==", "-", "", ")", "return", "true", ";", "int64_t", "PrevReg", "=", "FirstReg", ";", "unsigned", "Count", "=", "", ";", "if", "(", "Parser", ".", "getTok", "(", ")", ".", "is", "(", "AsmToken", "::", "Minus", ")", ")", "{", "Parser", ".", "Lex", "(", ")", ";", "SMLoc", "Loc", "=", "getLoc", "(", ")", ";", "StringRef", "NextKind", ";", "int64_t", "Reg", "=", "tryMatchVectorRegister", "(", "NextKind", ",", "true", ")", ";", "if", "(", "Reg", "==", "-", "", ")", "return", "true", ";", "if", "(", "Kind", "!=", "NextKind", ")", "return", "Error", "(", "Loc", ",", "", ")", ";", "unsigned", "Space", "=", "(", "PrevReg", "<", "Reg", ")", "?", "(", "Reg", "-", "PrevReg", ")", ":", "(", "Reg", "+", "", "-", "PrevReg", ")", ";", "if", "(", "Space", "==", "", "||", "Space", ">", "", ")", "{", "return", "Error", "(", "Loc", ",", "", ")", ";", "}", "Count", "+=", "Space", ";", "}", "else", "{", "while", "(", "Parser", ".", "getTok", "(", ")", ".", "is", "(", "AsmToken", "::", "Comma", ")", ")", "{", "Parser", ".", "Lex", "(", ")", ";", "SMLoc", "Loc", "=", "getLoc", "(", ")", ";", "StringRef", "NextKind", ";", "int64_t", "Reg", "=", "tryMatchVectorRegister", "(", "NextKind", ",", "true", ")", ";", "if", "(", "Reg", "==", "-", "", ")", "return", "true", ";", "if", "(", "Kind", "!=", "NextKind", ")", "return", "Error", "(", "Loc", ",", "", ")", ";", "if", "(", "getContext", "(", ")", ".", "getRegisterInfo", "(", ")", "->", "getEncodingValue", "(", "Reg", ")", "!=", "(", "getContext", "(", ")", ".", "getRegisterInfo", "(", ")", "->", "getEncodingValue", "(", "PrevReg", ")", "+", "", ")", "%", "", ")", "return", "Error", "(", "Loc", ",", "", ")", ";", "PrevReg", "=", "Reg", ";", "++", "Count", ";", "}", "}", "if", "(", "Parser", ".", "getTok", "(", ")", ".", "isNot", "(", "AsmToken", "::", "RCurly", ")", ")", "return", "Error", "(", "getLoc", "(", ")", ",", "", ")", ";", "Parser", ".", "Lex", "(", ")", ";", "if", "(", "Count", ">", "", ")", "return", "Error", "(", "S", ",", "", ")", ";", "unsigned", "NumElements", "=", "", ";", "char", "ElementKind", "=", "", ";", "if", "(", "!", "Kind", ".", "empty", "(", ")", ")", "parseValidVectorKind", "(", "Kind", ",", "NumElements", ",", "ElementKind", ")", ";", "Operands", ".", "push_back", "(", "Operand", "::", "CreateVectorList", "(", "FirstReg", ",", "Count", ",", "NumElements", ",", "ElementKind", ",", "S", ",", "getLoc", "(", ")", ",", "getContext", "(", ")", ")", ")", ";", "if", "(", "Parser", ".", "getTok", "(", ")", ".", "is", "(", "AsmToken", "::", "LBrac", ")", ")", "{", "SMLoc", "SIdx", "=", "getLoc", "(", ")", ";", "Parser", ".", "Lex", "(", ")", ";", "const", "MCExpr", "*", "ImmVal", ";", "if", "(", "getParser", "(", ")", ".", "parseExpression", "(", "ImmVal", ")", ")", "return", "false", ";", "const", "MCConstantExpr", "*", "MCE", "=", "dyn_cast", "<", "MCConstantExpr", ">", "(", "ImmVal", ")", ";", "if", "(", "!", "MCE", ")", "{"], "ground_truth": ["TokError", "(", "", ")", ";"], "File": "ARM64AsmParser1", "Func": "parseVectorList", "Target": "ARM64", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 28062, "Length": 452, "Cover_Rate": 0.8173598553345389} {"Template_token": ["", "switch", "(", "ErrCode", ")", "{", "case", "Match_MissingFeature", ":", "return", "Error", "(", "Loc", ",", "", ")", ";", "case", "Match_InvalidOperand", ":", "return", "Error", "(", "Loc", ",", "", ")", ";", "case", "Match_InvalidSuffix", ":", "return", "Error", "(", "Loc", ",", "", ")", ";", "case", "Match_InvalidMemoryIndexedSImm9", ":", "return", "Error", "(", "Loc", ",", "", ")", ";", "case", "Match_InvalidMemoryIndexed32SImm7", ":", "return", "Error", "(", "Loc", ",", "", ")", ";", "case", "Match_InvalidMemoryIndexed64SImm7", ":", "return", "Error", "(", "Loc", ",", "", ")", ";", "case", "Match_InvalidMemoryIndexed128SImm7", ":", "return", "Error", "(", "Loc", ",", "", ")", ";", "case", "Match_InvalidMemoryIndexed8", ":", "return", "Error", "(", "Loc", ",", "", ")", ";", "case", "Match_InvalidMemoryIndexed16", ":", "return", "Error", "(", "Loc", ",", "", ")", ";", "case", "Match_InvalidMemoryIndexed32", ":", "return", "Error", "(", "Loc", ",", "", ")", ";", "case", "Match_InvalidMemoryIndexed64", ":", "return", "Error", "(", "Loc", ",", "", ")", ";", "case", "Match_InvalidMemoryIndexed128", ":", "return", "Error", "(", "Loc", ",", "", ")", ";", "case", "Match_InvalidImm0_7", ":", "return", "Error", "(", "Loc", ",", "", ")", ";", "case", "Match_InvalidImm0_15", ":", "return", "Error", "(", "Loc", ",", "", ")", ";", "case", "Match_InvalidImm0_31", ":", "return", "Error", "(", "Loc", ",", "", ")", ";", "case", "Match_InvalidImm0_63", ":", "return", "Error", "(", "Loc", ",", "", ")", ";", "case", "Match_InvalidImm1_8", ":", "return", "Error", "(", "Loc", ",", "", ")", ";", "case", "Match_InvalidImm1_16", ":", "return", "Error", "(", "Loc", ",", "", ")", ";", "case", "Match_InvalidImm1_32", ":", "return", "Error", "(", "Loc", ",", "", ")", ";", "case", "Match_InvalidImm1_64", ":", "return", "Error", "(", "Loc", ",", "", ")", ";", "case", "Match_InvalidIndexB", ":", "return", "Error", "(", "Loc", ",", "", ")", ";", "case", "Match_InvalidIndexH", ":", "return", "Error", "(", "Loc", ",", "", ")", ";", "case", "Match_InvalidIndexS", ":", "return", "Error", "(", "Loc", ",", "", ")", ";", "case", "Match_InvalidIndexD", ":", "return", "Error", "(", "Loc", ",", "", ")", ";", "case", "Match_InvalidLabel", ":"], "ground_truth": ["return", "Error", "(", "Loc", ",", "", ")", ";"], "File": "ARM64AsmParser1", "Func": "showMatchError", "Target": "ARM64", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 28063, "Length": 280, "Cover_Rate": 0.813953488372093} {"Template_token": ["", "AsmParser", "::", "OperandMatchResultTy", "AsmParser", "::", "tryParseSysReg", "(", "OperandVector", "&", "Operands", ")", "{", "const", "AsmToken", "&", "Tok", "=", "Parser", ".", "getTok", "(", ")", ";"], "ground_truth": ["if", "(", "Tok", ".", "isNot", "(", "AsmToken", "::", "Identifier", ")", ")", "return", "MatchOperand_NoMatch", ";"], "File": "ARM64AsmParser1", "Func": "tryParseSysReg", "Target": "ARM64", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 28064, "Length": 37, "Cover_Rate": 0.4805194805194805} {"Template_token": ["", "assert", "(", "N", "==", "", "&&", "", ")", ";"], "ground_truth": ["Inst", ".", "addOperand", "(", "MCOperand", "::", "CreateImm", "(", "getShifter", "(", ")", ")", ")", ";"], "File": "ARM64AsmParser", "Func": "addAddSubShifterOperands", "Target": "ARM64", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 28067, "Length": 23, "Cover_Rate": 0.6388888888888888} {"Template_token": ["", "void", "addAdrLabelOperands", "(", "MCInst", "&", "Inst", ",", "unsigned", "N", ")", "const", "{"], "ground_truth": ["addImmOperands", "(", "Inst", ",", "N", ")", ";"], "File": "ARM64AsmParser", "Func": "addAdrLabelOperands", "Target": "ARM64", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 28068, "Length": 19, "Cover_Rate": 0.95} {"Template_token": ["", "addImmOperands", "(", "Inst", ",", "N", ")", ";"], "ground_truth": ["}"], "File": "ARM64AsmParser", "Func": "addAdrLabelOperands", "Target": "ARM64", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 28069, "Length": 8, "Cover_Rate": 0.4} {"Template_token": ["", "assert", "(", "N", "==", "", "&&", "", ")", ";", "const", "MCConstantExpr", "*", "MCE", "=", "dyn_cast", "<", "MCConstantExpr", ">", "(", "getImm", "(", ")", ")", ";", "if", "(", "!", "MCE", ")", "addExpr", "(", "Inst", ",", "getImm", "(", ")", ")", ";"], "ground_truth": ["else", "Inst", ".", "addOperand", "(", "MCOperand", "::", "CreateImm", "(", "MCE", "->", "getValue", "(", ")", ">>", "", ")", ")", ";"], "File": "ARM64AsmParser", "Func": "addAdrpLabelOperands", "Target": "ARM64", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 28070, "Length": 57, "Cover_Rate": 0.8142857142857143} {"Template_token": ["", "const", "MCConstantExpr", "*", "MCE", "=", "dyn_cast", "<", "MCConstantExpr", ">", "(", "getImm", "(", ")", ")", ";", "if", "(", "!", "MCE", ")", "addExpr", "(", "Inst", ",", "getImm", "(", ")", ")", ";", "else", "Inst", ".", "addOperand", "(", "MCOperand", "::", "CreateImm", "(", "MCE", "->", "getValue", "(", ")", ">>", "", ")", ")", ";"], "ground_truth": ["}"], "File": "ARM64AsmParser", "Func": "addAdrpLabelOperands", "Target": "ARM64", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 28071, "Length": 49, "Cover_Rate": 0.7} {"Template_token": ["", "void", "addBarrierOperands", "(", "MCInst", "&", "Inst", ",", "unsigned", "N", ")", "const", "{"], "ground_truth": ["assert", "(", "N", "==", "", "&&", "", ")", ";"], "File": "ARM64AsmParser", "Func": "addBarrierOperands", "Target": "ARM64", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 28074, "Length": 21, "Cover_Rate": 0.5833333333333334} {"Template_token": ["", "void", "addBarrierOperands", "(", "MCInst", "&", "Inst", ",", "unsigned", "N", ")", "const", "{", "assert", "(", "N", "==", "", "&&", "", ")", ";"], "ground_truth": ["Inst", ".", "addOperand", "(", "MCOperand", "::", "CreateImm", "(", "getBarrier", "(", ")", ")", ")", ";"], "File": "ARM64AsmParser", "Func": "addBarrierOperands", "Target": "ARM64", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 28075, "Length": 35, "Cover_Rate": 0.9722222222222222} {"Template_token": ["", "assert", "(", "MCE", "&&", "", ")", ";"], "ground_truth": ["Inst", ".", "addOperand", "(", "MCOperand", "::", "CreateImm", "(", "MCE", "->", "getValue", "(", ")", ">>", "", ")", ")", ";"], "File": "ARM64AsmParser", "Func": "addBranchTarget26Operands", "Target": "ARM64", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 28076, "Length": 25, "Cover_Rate": 0.3125} {"Template_token": ["", "assert", "(", "N", "==", "", "&&", "", ")", ";", "const", "MCConstantExpr", "*", "MCE", "=", "dyn_cast", "<", "MCConstantExpr", ">", "(", "getImm", "(", ")", ")", ";", "if", "(", "!", "MCE", ")", "{"], "ground_truth": ["addExpr", "(", "Inst", ",", "getImm", "(", ")", ")", ";"], "File": "ARM64AsmParser", "Func": "addBranchTarget26Operands", "Target": "ARM64", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 28077, "Length": 39, "Cover_Rate": 0.4875} {"Template_token": ["", "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": "ARM64AsmParser", "Func": "addExpr", "Target": "ARM64", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 28078, "Length": 63, "Cover_Rate": 0.8181818181818182} {"Template_token": ["", "Inst", ".", "addOperand", "(", "MCOperand", "::", "CreateImm", "(", "getExtend", "(", ")", ")", ")", ";"], "ground_truth": ["}"], "File": "ARM64AsmParser", "Func": "addExtend64Operands", "Target": "ARM64", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 28080, "Length": 15, "Cover_Rate": 0.4166666666666667} {"Template_token": ["", "if", "(", "isShifter", "(", ")", ")", "{", "assert", "(", "", "(", "getShifter", "(", ")", ")", "==", "", ")", ";", "unsigned", "imm", "=", "getArithExtendImm", "(", "", ",", "", "(", "getShifter", "(", ")", ")", ")", ";"], "ground_truth": ["Inst", ".", "addOperand", "(", "MCOperand", "::", "CreateImm", "(", "imm", ")", ")", ";"], "File": "ARM64AsmParser", "Func": "addExtendLSL64Operands", "Target": "ARM64", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 28081, "Length": 46, "Cover_Rate": 0.5} {"Template_token": ["", "assert", "(", "N", "==", "", "&&", "", ")", ";", "if", "(", "isShifter", "(", ")", ")", "{"], "ground_truth": ["assert", "(", "", "(", "getShifter", "(", ")", ")", "==", "", ")", ";"], "File": "ARM64AsmParser", "Func": "addExtendOperands", "Target": "ARM64", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 28082, "Length": 28, "Cover_Rate": 0.30434782608695654} {"Template_token": ["", "Inst", ".", "addOperand", "(", "MCOperand", "::", "CreateImm", "(", "getFPImm", "(", ")", ")", ")", ";"], "ground_truth": ["}"], "File": "ARM64AsmParser", "Func": "addFPImmOperands", "Target": "ARM64", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 28084, "Length": 15, "Cover_Rate": 0.4166666666666667} {"Template_token": ["", "assert", "(", "N", "==", "", "&&", "", ")", ";", "const", "MCConstantExpr", "*", "MCE", "=", "dyn_cast", "<", "MCConstantExpr", ">", "(", "getImm", "(", ")", ")", ";", "assert", "(", "MCE", "&&", "", ")", ";", "Inst", ".", "addOperand", "(", "MCOperand", "::", "CreateImm", "(", "MCE", "->", "getValue", "(", ")", ")", ")", ";"], "ground_truth": ["}"], "File": "ARM64AsmParser", "Func": "addImm0_127Operands", "Target": "ARM64", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 28085, "Length": 48, "Cover_Rate": 0.8} {"Template_token": ["", "assert", "(", "MCE", "&&", "", ")", ";"], "ground_truth": ["Inst", ".", "addOperand", "(", "MCOperand", "::", "CreateImm", "(", "MCE", "->", "getValue", "(", ")", ")", ")", ";"], "File": "ARM64AsmParser", "Func": "addImm0_127Operands", "Target": "ARM64", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 28086, "Length": 23, "Cover_Rate": 0.38333333333333336} {"Template_token": ["", "const", "MCConstantExpr", "*", "MCE", "=", "dyn_cast", "<", "MCConstantExpr", ">", "(", "getImm", "(", ")", ")", ";", "assert", "(", "MCE", "&&", "", ")", ";"], "ground_truth": ["Inst", ".", "addOperand", "(", "MCOperand", "::", "CreateImm", "(", "MCE", "->", "getValue", "(", ")", ")", ")", ";"], "File": "ARM64AsmParser", "Func": "addImm0_15Operands", "Target": "ARM64", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 28087, "Length": 38, "Cover_Rate": 0.6333333333333333} {"Template_token": ["", "assert", "(", "N", "==", "", "&&", "", ")", ";", "const", "MCConstantExpr", "*", "MCE", "=", "dyn_cast", "<", "MCConstantExpr", ">", "(", "getImm", "(", ")", ")", ";", "assert", "(", "MCE", "&&", "", ")", ";", "Inst", ".", "addOperand", "(", "MCOperand", "::", "CreateImm", "(", "MCE", "->", "getValue", "(", ")", ")", ")", ";"], "ground_truth": ["}"], "File": "ARM64AsmParser", "Func": "addImm0_15Operands", "Target": "ARM64", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 28088, "Length": 48, "Cover_Rate": 0.8} {"Template_token": ["", "assert", "(", "MCE", "&&", "", ")", ";"], "ground_truth": ["Inst", ".", "addOperand", "(", "MCOperand", "::", "CreateImm", "(", "MCE", "->", "getValue", "(", ")", ")", ")", ";"], "File": "ARM64AsmParser", "Func": "addImm0_255Operands", "Target": "ARM64", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 28089, "Length": 23, "Cover_Rate": 0.38333333333333336} {"Template_token": ["", "assert", "(", "MCE", "&&", "", ")", ";", "Inst", ".", "addOperand", "(", "MCOperand", "::", "CreateImm", "(", "MCE", "->", "getValue", "(", ")", ")", ")", ";"], "ground_truth": ["}"], "File": "ARM64AsmParser", "Func": "addImm0_31Operands", "Target": "ARM64", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 28090, "Length": 24, "Cover_Rate": 0.4} {"Template_token": ["", "assert", "(", "N", "==", "", "&&", "", ")", ";", "const", "MCConstantExpr", "*", "MCE", "=", "dyn_cast", "<", "MCConstantExpr", ">", "(", "getImm", "(", ")", ")", ";"], "ground_truth": ["assert", "(", "MCE", "&&", "", ")", ";"], "File": "ARM64AsmParser", "Func": "addImm0_63Operands", "Target": "ARM64", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 28091, "Length": 31, "Cover_Rate": 0.5166666666666667} {"Template_token": ["", "assert", "(", "N", "==", "", "&&", "", ")", ";"], "ground_truth": ["const", "MCConstantExpr", "*", "MCE", "=", "dyn_cast", "<", "MCConstantExpr", ">", "(", "getImm", "(", ")", ")", ";"], "File": "ARM64AsmParser", "Func": "addImm0_65535Operands", "Target": "ARM64", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 28092, "Length": 24, "Cover_Rate": 0.4} {"Template_token": ["", "const", "MCConstantExpr", "*", "MCE", "=", "dyn_cast", "<", "MCConstantExpr", ">", "(", "getImm", "(", ")", ")", ";", "assert", "(", "MCE", "&&", "", ")", ";"], "ground_truth": ["Inst", ".", "addOperand", "(", "MCOperand", "::", "CreateImm", "(", "MCE", "->", "getValue", "(", ")", ")", ")", ";"], "File": "ARM64AsmParser", "Func": "addImm0_65535Operands", "Target": "ARM64", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 28093, "Length": 38, "Cover_Rate": 0.6333333333333333} {"Template_token": ["", "assert", "(", "N", "==", "", "&&", "", ")", ";", "const", "MCConstantExpr", "*", "MCE", "=", "dyn_cast", "<", "MCConstantExpr", ">", "(", "getImm", "(", ")", ")", ";"], "ground_truth": ["assert", "(", "MCE", "&&", "", ")", ";"], "File": "ARM64AsmParser", "Func": "addImm0_7Operands", "Target": "ARM64", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 28094, "Length": 31, "Cover_Rate": 0.5166666666666667} {"Template_token": ["", "void", "addImm0_7Operands", "(", "MCInst", "&", "Inst", ",", "unsigned", "N", ")", "const", "{", "assert", "(", "N", "==", "", "&&", "", ")", ";"], "ground_truth": ["const", "MCConstantExpr", "*", "MCE", "=", "dyn_cast", "<", "MCConstantExpr", ">", "(", "getImm", "(", ")", ")", ";"], "File": "ARM64AsmParser", "Func": "addImm0_7Operands", "Target": "ARM64", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 28095, "Length": 36, "Cover_Rate": 0.6} {"Template_token": ["", "assert", "(", "N", "==", "", "&&", "", ")", ";", "const", "MCConstantExpr", "*", "MCE", "=", "dyn_cast", "<", "MCConstantExpr", ">", "(", "getImm", "(", ")", ")", ";", "assert", "(", "MCE", "&&", "", ")", ";"], "ground_truth": ["Inst", ".", "addOperand", "(", "MCOperand", "::", "CreateImm", "(", "MCE", "->", "getValue", "(", ")", ")", ")", ";"], "File": "ARM64AsmParser", "Func": "addImm1_16Operands", "Target": "ARM64", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 28096, "Length": 47, "Cover_Rate": 0.7833333333333333} {"Template_token": ["", "void", "addImm1_31Operands", "(", "MCInst", "&", "Inst", ",", "unsigned", "N", ")", "const", "{"], "ground_truth": ["assert", "(", "N", "==", "", "&&", "", ")", ";"], "File": "ARM64AsmParser", "Func": "addImm1_31Operands", "Target": "ARM64", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 28097, "Length": 21, "Cover_Rate": 0.35} {"Template_token": ["", "void", "addImm1_32Operands", "(", "MCInst", "&", "Inst", ",", "unsigned", "N", ")", "const", "{", "assert", "(", "N", "==", "", "&&", "", ")", ";"], "ground_truth": ["const", "MCConstantExpr", "*", "MCE", "=", "dyn_cast", "<", "MCConstantExpr", ">", "(", "getImm", "(", ")", ")", ";"], "File": "ARM64AsmParser", "Func": "addImm1_32Operands", "Target": "ARM64", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 28098, "Length": 36, "Cover_Rate": 0.6} {"Template_token": ["", "assert", "(", "MCE", "&&", "", ")", ";", "Inst", ".", "addOperand", "(", "MCOperand", "::", "CreateImm", "(", "MCE", "->", "getValue", "(", ")", ")", ")", ";"], "ground_truth": ["}"], "File": "ARM64AsmParser", "Func": "addImm1_32Operands", "Target": "ARM64", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 28099, "Length": 24, "Cover_Rate": 0.4} {"Template_token": ["", "assert", "(", "N", "==", "", "&&", "", ")", ";"], "ground_truth": ["const", "MCConstantExpr", "*", "MCE", "=", "dyn_cast", "<", "MCConstantExpr", ">", "(", "getImm", "(", ")", ")", ";"], "File": "ARM64AsmParser", "Func": "addImm1_63Operands", "Target": "ARM64", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 28100, "Length": 24, "Cover_Rate": 0.4} {"Template_token": ["", "assert", "(", "MCE", "&&", "", ")", ";"], "ground_truth": ["Inst", ".", "addOperand", "(", "MCOperand", "::", "CreateImm", "(", "MCE", "->", "getValue", "(", ")", ")", ")", ";"], "File": "ARM64AsmParser", "Func": "addImm1_64Operands", "Target": "ARM64", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 28101, "Length": 23, "Cover_Rate": 0.38333333333333336} {"Template_token": ["", "assert", "(", "MCE", "&&", "", ")", ";"], "ground_truth": ["Inst", ".", "addOperand", "(", "MCOperand", "::", "CreateImm", "(", "MCE", "->", "getValue", "(", ")", ")", ")", ";"], "File": "ARM64AsmParser", "Func": "addImm1_8Operands", "Target": "ARM64", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 28102, "Length": 23, "Cover_Rate": 0.38333333333333336} {"Template_token": ["", "assert", "(", "MCE", "&&", "", ")", ";"], "ground_truth": ["Inst", ".", "addOperand", "(", "MCOperand", "::", "CreateImm", "(", "MCE", "->", "getValue", "(", ")", ")", ")", ";"], "File": "ARM64AsmParser", "Func": "addImm1_8Operands", "Target": "ARM64", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 28103, "Length": 23, "Cover_Rate": 0.38333333333333336} {"Template_token": ["", "assert", "(", "N", "==", "", "&&", "", ")", ";"], "ground_truth": ["addExpr", "(", "Inst", ",", "getImm", "(", ")", ")", ";"], "File": "ARM64AsmParser", "Func": "addImmOperands", "Target": "ARM64", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 28104, "Length": 18, "Cover_Rate": 0.5806451612903226} {"Template_token": ["", "assert", "(", "N", "==", "", "&&", "", ")", ";"], "ground_truth": ["addExpr", "(", "Inst", ",", "getImm", "(", ")", ")", ";"], "File": "ARM64AsmParser", "Func": "addImmOperands", "Target": "ARM64", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 28105, "Length": 18, "Cover_Rate": 0.5806451612903226} {"Template_token": ["", "uint64_t", "encoding", "=", "", "(", "MCE", "->", "getValue", "(", ")", ",", "", ")", ";", "Inst", ".", "addOperand", "(", "MCOperand", "::", "CreateImm", "(", "encoding", ")", ")", ";"], "ground_truth": ["}"], "File": "ARM64AsmParser", "Func": "addLogicalImm32Operands", "Target": "ARM64", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 28106, "Length": 27, "Cover_Rate": 0.375} {"Template_token": ["", "assert", "(", "MCE", "&&", "", ")", ";", "uint64_t", "encoding", "=", "", "(", "MCE", "->", "getValue", "(", ")", ",", "", ")", ";"], "ground_truth": ["Inst", ".", "addOperand", "(", "MCOperand", "::", "CreateImm", "(", "encoding", ")", ")", ";"], "File": "ARM64AsmParser", "Func": "addLogicalImm32Operands", "Target": "ARM64", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 28107, "Length": 33, "Cover_Rate": 0.4583333333333333} {"Template_token": ["", "assert", "(", "MCE", "&&", "", ")", ";", "uint64_t", "encoding", "=", "", "(", "MCE", "->", "getValue", "(", ")", ",", "", ")", ";"], "ground_truth": ["Inst", ".", "addOperand", "(", "MCOperand", "::", "CreateImm", "(", "encoding", ")", ")", ";"], "File": "ARM64AsmParser", "Func": "addLogicalImm64Operands", "Target": "ARM64", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 28108, "Length": 33, "Cover_Rate": 0.4583333333333333} {"Template_token": ["", "assert", "(", "N", "==", "", "&&", "", ")", ";", "const", "MCConstantExpr", "*", "MCE", "=", "dyn_cast", "<", "MCConstantExpr", ">", "(", "getImm", "(", ")", ")", ";", "assert", "(", "MCE", "&&", "", ")", ";", "uint64_t", "encoding", "=", "", "(", "MCE", "->", "getValue", "(", ")", ",", "", ")", ";"], "ground_truth": ["Inst", ".", "addOperand", "(", "MCOperand", "::", "CreateImm", "(", "encoding", ")", ")", ";"], "File": "ARM64AsmParser", "Func": "addLogicalImm64Operands", "Target": "ARM64", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 28109, "Length": 57, "Cover_Rate": 0.7916666666666666} {"Template_token": ["", "Inst", ".", "addOperand", "(", "MCOperand", "::", "CreateImm", "(", "getShifter", "(", ")", ")", ")", ";"], "ground_truth": ["}"], "File": "ARM64AsmParser", "Func": "addLogicalVecHalfWordShifterOperands", "Target": "ARM64", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 28110, "Length": 15, "Cover_Rate": 0.4166666666666667} {"Template_token": ["", "assert", "(", "N", "==", "", "&&", "", ")", ";"], "ground_truth": ["Inst", ".", "addOperand", "(", "MCOperand", "::", "CreateImm", "(", "getShifter", "(", ")", ")", ")", ";"], "File": "ARM64AsmParser", "Func": "addLogicalVecHalfWordShifterOperands", "Target": "ARM64", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 28111, "Length": 23, "Cover_Rate": 0.6388888888888888} {"Template_token": ["", "void", "addLogicalVecShifterOperands", "(", "MCInst", "&", "Inst", ",", "unsigned", "N", ")", "const", "{", "assert", "(", "N", "==", "", "&&", "", ")", ";", "Inst", ".", "addOperand", "(", "MCOperand", "::", "CreateImm", "(", "getShifter", "(", ")", ")", ")", ";"], "ground_truth": ["}"], "File": "ARM64AsmParser", "Func": "addLogicalVecShifterOperands", "Target": "ARM64", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 28112, "Length": 36, "Cover_Rate": 1.0} {"Template_token": ["", "void", "addMemoryIndexed128Operands", "(", "MCInst", "&", "Inst", ",", "unsigned", "N", ")", "const", "{", "assert", "(", "N", "==", "", "&&", "isMemoryIndexed128", "(", ")", "&&", "", ")", ";"], "ground_truth": ["addMemoryIndexedOperands", "(", "Inst", ",", "N", ",", "", ")", ";"], "File": "ARM64AsmParser", "Func": "addMemoryIndexed128Operands", "Target": "ARM64", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 28113, "Length": 34, "Cover_Rate": 0.9714285714285714} {"Template_token": ["", "void", "addMemoryIndexed128Operands", "(", "MCInst", "&", "Inst", ",", "unsigned", "N", ")", "const", "{", "assert", "(", "N", "==", "", "&&", "isMemoryIndexed128", "(", ")", "&&", "", ")", ";", "addMemoryIndexedOperands", "(", "Inst", ",", "N", ",", "", ")", ";"], "ground_truth": ["}"], "File": "ARM64AsmParser", "Func": "addMemoryIndexed128Operands", "Target": "ARM64", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 28114, "Length": 35, "Cover_Rate": 1.0} {"Template_token": ["", "void", "addMemoryIndexed128SImm7Operands", "(", "MCInst", "&", "Inst", ",", "unsigned", "N", ")", "const", "{"], "ground_truth": ["addMemoryWritebackIndexedOperands", "(", "Inst", ",", "N", ",", "", ")", ";"], "File": "ARM64AsmParser", "Func": "addMemoryIndexed128SImm7Operands", "Target": "ARM64", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 28115, "Length": 21, "Cover_Rate": 0.9545454545454546} {"Template_token": ["", "void", "addMemoryIndexed16Operands", "(", "MCInst", "&", "Inst", ",", "unsigned", "N", ")", "const", "{"], "ground_truth": ["assert", "(", "N", "==", "", "&&", "isMemoryIndexed16", "(", ")", "&&", "", ")", ";"], "File": "ARM64AsmParser", "Func": "addMemoryIndexed16Operands", "Target": "ARM64", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 28117, "Length": 25, "Cover_Rate": 0.7142857142857143} {"Template_token": ["", "assert", "(", "N", "==", "", "&&", "isMemoryIndexed32", "(", ")", "&&", "", ")", ";"], "ground_truth": ["addMemoryIndexedOperands", "(", "Inst", ",", "N", ",", "", ")", ";"], "File": "ARM64AsmParser", "Func": "addMemoryIndexed32Operands", "Target": "ARM64", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 28118, "Length": 22, "Cover_Rate": 0.6285714285714286} {"Template_token": ["", "assert", "(", "N", "==", "", "&&", "isMemoryIndexed32", "(", ")", "&&", "", ")", ";", "addMemoryIndexedOperands", "(", "Inst", ",", "N", ",", "", ")", ";"], "ground_truth": ["}"], "File": "ARM64AsmParser", "Func": "addMemoryIndexed32Operands", "Target": "ARM64", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 28119, "Length": 23, "Cover_Rate": 0.6571428571428571} {"Template_token": ["", "void", "addMemoryIndexed32SImm7Operands", "(", "MCInst", "&", "Inst", ",", "unsigned", "N", ")", "const", "{", "addMemoryWritebackIndexedOperands", "(", "Inst", ",", "N", ",", "", ")", ";"], "ground_truth": ["}"], "File": "ARM64AsmParser", "Func": "addMemoryIndexed32SImm7Operands", "Target": "ARM64", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 28120, "Length": 22, "Cover_Rate": 1.0} {"Template_token": ["", "assert", "(", "N", "==", "", "&&", "isMemoryIndexed64", "(", ")", "&&", "", ")", ";"], "ground_truth": ["addMemoryIndexedOperands", "(", "Inst", ",", "N", ",", "", ")", ";"], "File": "ARM64AsmParser", "Func": "addMemoryIndexed64Operands", "Target": "ARM64", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 28123, "Length": 22, "Cover_Rate": 0.6285714285714286} {"Template_token": ["", "void", "addMemoryIndexed64SImm7Operands", "(", "MCInst", "&", "Inst", ",", "unsigned", "N", ")", "const", "{", "addMemoryWritebackIndexedOperands", "(", "Inst", ",", "N", ",", "", ")", ";"], "ground_truth": ["}"], "File": "ARM64AsmParser", "Func": "addMemoryIndexed64SImm7Operands", "Target": "ARM64", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 28124, "Length": 22, "Cover_Rate": 1.0} {"Template_token": ["", "addMemoryWritebackIndexedOperands", "(", "Inst", ",", "N", ",", "", ")", ";"], "ground_truth": ["}"], "File": "ARM64AsmParser", "Func": "addMemoryIndexed64SImm7Operands", "Target": "ARM64", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 28125, "Length": 10, "Cover_Rate": 0.45454545454545453} {"Template_token": ["", "assert", "(", "N", "==", "", "&&", "isMemoryIndexed8", "(", ")", "&&", "", ")", ";", "addMemoryIndexedOperands", "(", "Inst", ",", "N", ",", "", ")", ";"], "ground_truth": ["}"], "File": "ARM64AsmParser", "Func": "addMemoryIndexed8Operands", "Target": "ARM64", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 28127, "Length": 23, "Cover_Rate": 0.6571428571428571} {"Template_token": ["", "void", "addMemoryIndexedOperands", "(", "MCInst", "&", "Inst", ",", "unsigned", "N", ",", "unsigned", "Scale", ")", "const", "{", "Inst", ".", "addOperand", "(", "MCOperand", "::", "CreateReg", "(", "Mem", ".", "BaseRegNum", ")", ")", ";", "if", "(", "!", "Mem", ".", "OffsetImm", ")", "{", "Inst", ".", "addOperand", "(", "MCOperand", "::", "CreateImm", "(", "", ")", ")", ";", "return", ";", "}", "if", "(", "const", "MCConstantExpr", "*", "CE", "=", "dyn_cast", "<", "MCConstantExpr", ">", "(", "Mem", ".", "OffsetImm", ")", ")", "{", "assert", "(", "CE", "->", "getValue", "(", ")", "%", "Scale", "==", "", "&&", "", ")", ";", "Inst", ".", "addOperand", "(", "MCOperand", "::", "CreateImm", "(", "CE", "->", "getValue", "(", ")", "/", "Scale", ")", ")", ";", "}"], "ground_truth": ["const", "MCExpr", "*", "Expr", "=", "Mem", ".", "OffsetImm", ";"], "File": "ARM64AsmParser", "Func": "addMemoryIndexedOperands", "Target": "ARM64", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 28128, "Length": 113, "Cover_Rate": 0.5794871794871795} {"Template_token": ["", "void", "addMemoryIndexedSImm9Operands", "(", "MCInst", "&", "Inst", ",", "unsigned", "N", ")", "const", "{", "addMemoryWritebackIndexedOperands", "(", "Inst", ",", "N", ",", "", ")", ";"], "ground_truth": ["}"], "File": "ARM64AsmParser", "Func": "addMemoryIndexedSImm9Operands", "Target": "ARM64", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 28130, "Length": 22, "Cover_Rate": 1.0} {"Template_token": ["", "void", "addMemoryNoIndexOperands", "(", "MCInst", "&", "Inst", ",", "unsigned", "N", ")", "const", "{", "assert", "(", "N", "==", "", "&&", "isMemoryNoIndex", "(", ")", "&&", "", ")", ";", "Inst", ".", "addOperand", "(", "MCOperand", "::", "CreateReg", "(", "Mem", ".", "BaseRegNum", ")", ")", ";"], "ground_truth": ["}"], "File": "ARM64AsmParser", "Func": "addMemoryNoIndexOperands", "Target": "ARM64", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 28131, "Length": 40, "Cover_Rate": 1.0} {"Template_token": ["", "assert", "(", "N", "==", "", "&&", "isMemoryNoIndex", "(", ")", "&&", "", ")", ";"], "ground_truth": ["Inst", ".", "addOperand", "(", "MCOperand", "::", "CreateReg", "(", "Mem", ".", "BaseRegNum", ")", ")", ";"], "File": "ARM64AsmParser", "Func": "addMemoryNoIndexOperands", "Target": "ARM64", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 28132, "Length": 27, "Cover_Rate": 0.675} {"Template_token": ["", "void", "addMemoryRegisterOffset128Operands", "(", "MCInst", "&", "Inst", ",", "unsigned", "N", ")", "{"], "ground_truth": ["addMemoryRegisterOffsetOperands", "(", "Inst", ",", "N", ",", "Mem", ".", "ShiftVal", "==", "", ")", ";"], "File": "ARM64AsmParser", "Func": "addMemoryRegisterOffset128Operands", "Target": "ARM64", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 28134, "Length": 24, "Cover_Rate": 0.96} {"Template_token": ["", "addMemoryRegisterOffsetOperands", "(", "Inst", ",", "N", ",", "Mem", ".", "ShiftVal", "==", "", ")", ";"], "ground_truth": ["}"], "File": "ARM64AsmParser", "Func": "addMemoryRegisterOffset16Operands", "Target": "ARM64", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 28135, "Length": 14, "Cover_Rate": 0.56} {"Template_token": ["", "void", "addMemoryRegisterOffset16Operands", "(", "MCInst", "&", "Inst", ",", "unsigned", "N", ")", "{"], "ground_truth": ["addMemoryRegisterOffsetOperands", "(", "Inst", ",", "N", ",", "Mem", ".", "ShiftVal", "==", "", ")", ";"], "File": "ARM64AsmParser", "Func": "addMemoryRegisterOffset16Operands", "Target": "ARM64", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 28136, "Length": 24, "Cover_Rate": 0.96} {"Template_token": ["", "addMemoryRegisterOffsetOperands", "(", "Inst", ",", "N", ",", "Mem", ".", "ShiftVal", "==", "", ")", ";"], "ground_truth": ["}"], "File": "ARM64AsmParser", "Func": "addMemoryRegisterOffset32Operands", "Target": "ARM64", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 28138, "Length": 14, "Cover_Rate": 0.56} {"Template_token": ["", "void", "addMemoryRegisterOffset64Operands", "(", "MCInst", "&", "Inst", ",", "unsigned", "N", ")", "{", "addMemoryRegisterOffsetOperands", "(", "Inst", ",", "N", ",", "Mem", ".", "ShiftVal", "==", "", ")", ";"], "ground_truth": ["}"], "File": "ARM64AsmParser", "Func": "addMemoryRegisterOffset64Operands", "Target": "ARM64", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 28139, "Length": 25, "Cover_Rate": 1.0} {"Template_token": ["", "void", "addMemoryRegisterOffset64Operands", "(", "MCInst", "&", "Inst", ",", "unsigned", "N", ")", "{"], "ground_truth": ["addMemoryRegisterOffsetOperands", "(", "Inst", ",", "N", ",", "Mem", ".", "ShiftVal", "==", "", ")", ";"], "File": "ARM64AsmParser", "Func": "addMemoryRegisterOffset64Operands", "Target": "ARM64", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 28140, "Length": 24, "Cover_Rate": 0.96} {"Template_token": ["", "void", "addMemoryRegisterOffset8Operands", "(", "MCInst", "&", "Inst", ",", "unsigned", "N", ")", "{", "addMemoryRegisterOffsetOperands", "(", "Inst", ",", "N", ",", "Mem", ".", "ExplicitShift", ")", ";"], "ground_truth": ["}"], "File": "ARM64AsmParser", "Func": "addMemoryRegisterOffset8Operands", "Target": "ARM64", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 28141, "Length": 23, "Cover_Rate": 1.0} {"Template_token": ["", "addMemoryRegisterOffsetOperands", "(", "Inst", ",", "N", ",", "Mem", ".", "ExplicitShift", ")", ";"], "ground_truth": ["}"], "File": "ARM64AsmParser", "Func": "addMemoryRegisterOffset8Operands", "Target": "ARM64", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 28142, "Length": 12, "Cover_Rate": 0.5217391304347826} {"Template_token": ["", "void", "addMemoryRegisterOffsetOperands", "(", "MCInst", "&", "Inst", ",", "unsigned", "N", ",", "bool", "DoShift", ")", "{", "assert", "(", "N", "==", "", "&&", "", ")", ";", "Inst", ".", "addOperand", "(", "MCOperand", "::", "CreateReg", "(", "Mem", ".", "BaseRegNum", ")", ")", ";", "Inst", ".", "addOperand", "(", "MCOperand", "::", "CreateReg", "(", "getXRegFromWReg", "(", "Mem", ".", "OffsetRegNum", ")", ")", ")", ";"], "ground_truth": ["unsigned", "ExtendImm", "=", "", "(", "Mem", ".", "ExtType", ",", "DoShift", ")", ";"], "File": "ARM64AsmParser", "Func": "addMemoryRegisterOffsetOperands", "Target": "ARM64", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 28143, "Length": 66, "Cover_Rate": 0.8148148148148148} {"Template_token": ["", "Inst", ".", "addOperand", "(", "MCOperand", "::", "CreateReg", "(", "Mem", ".", "BaseRegNum", ")", ")", ";", "Inst", ".", "addOperand", "(", "MCOperand", "::", "CreateReg", "(", "getXRegFromWReg", "(", "Mem", ".", "OffsetRegNum", ")", ")", ")", ";", "unsigned", "ExtendImm", "=", "", "(", "Mem", ".", "ExtType", ",", "DoShift", ")", ";", "Inst", ".", "addOperand", "(", "MCOperand", "::", "CreateImm", "(", "ExtendImm", ")", ")", ";"], "ground_truth": ["}"], "File": "ARM64AsmParser", "Func": "addMemoryRegisterOffsetOperands", "Target": "ARM64", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 28144, "Length": 56, "Cover_Rate": 0.691358024691358} {"Template_token": ["", "assert", "(", "N", "==", "", "&&", "isMemorySIMDNoIndex", "(", ")", "&&", "", ")", ";"], "ground_truth": ["Inst", ".", "addOperand", "(", "MCOperand", "::", "CreateReg", "(", "Mem", ".", "BaseRegNum", ")", ")", ";"], "File": "ARM64AsmParser", "Func": "addMemorySIMDNoIndexOperands", "Target": "ARM64", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 28145, "Length": 27, "Cover_Rate": 0.675} {"Template_token": ["", "Inst", ".", "addOperand", "(", "MCOperand", "::", "CreateReg", "(", "Mem", ".", "BaseRegNum", ")", ")", ";", "if", "(", "!", "Mem", ".", "OffsetImm", ")", "Inst", ".", "addOperand", "(", "MCOperand", "::", "CreateImm", "(", "", ")", ")", ";", "else", "{", "const", "MCConstantExpr", "*", "CE", "=", "cast", "<", "MCConstantExpr", ">", "(", "Mem", ".", "OffsetImm", ")", ";", "Inst", ".", "addOperand", "(", "MCOperand", "::", "CreateImm", "(", "CE", "->", "getValue", "(", ")", ")", ")", ";"], "ground_truth": ["}"], "File": "ARM64AsmParser", "Func": "addMemoryUnscaledOperands", "Target": "ARM64", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 28146, "Length": 67, "Cover_Rate": 0.7204301075268817} {"Template_token": ["", "assert", "(", "N", "==", "", "&&", "isMemoryUnscaled", "(", ")", "&&", "", ")", ";", "Inst", ".", "addOperand", "(", "MCOperand", "::", "CreateReg", "(", "Mem", ".", "BaseRegNum", ")", ")", ";", "if", "(", "!", "Mem", ".", "OffsetImm", ")", "Inst", ".", "addOperand", "(", "MCOperand", "::", "CreateImm", "(", "", ")", ")", ";", "else", "{", "const", "MCConstantExpr", "*", "CE", "=", "cast", "<", "MCConstantExpr", ">", "(", "Mem", ".", "OffsetImm", ")", ";", "Inst", ".", "addOperand", "(", "MCOperand", "::", "CreateImm", "(", "CE", "->", "getValue", "(", ")", ")", ")", ";", "}"], "ground_truth": ["}"], "File": "ARM64AsmParser", "Func": "addMemoryUnscaledOperands", "Target": "ARM64", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 28147, "Length": 81, "Cover_Rate": 0.8709677419354839} {"Template_token": ["", "int64_t", "Offset", "=", "", ";", "if", "(", "Mem", ".", "OffsetImm", ")", "{", "const", "MCConstantExpr", "*", "CE", "=", "dyn_cast", "<", "MCConstantExpr", ">", "(", "Mem", ".", "OffsetImm", ")", ";", "assert", "(", "CE", "&&", "", ")", ";", "Offset", "=", "CE", "->", "getValue", "(", ")", ";"], "ground_truth": ["}"], "File": "ARM64AsmParser", "Func": "addMemoryWritebackIndexedOperands", "Target": "ARM64", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 28148, "Length": 43, "Cover_Rate": 0.36752136752136755} {"Template_token": ["", "int64_t", "Offset", "=", "", ";", "if", "(", "Mem", ".", "OffsetImm", ")", "{", "const", "MCConstantExpr", "*", "CE", "=", "dyn_cast", "<", "MCConstantExpr", ">", "(", "Mem", ".", "OffsetImm", ")", ";", "assert", "(", "CE", "&&", "", ")", ";", "Offset", "=", "CE", "->", "getValue", "(", ")", ";", "}", "if", "(", "Scale", "!=", "", ")", "{", "assert", "(", "Offset", "%", "Scale", "==", "", "&&", "", ")", ";", "Offset", "/=", "Scale", ";"], "ground_truth": ["}"], "File": "ARM64AsmParser", "Func": "addMemoryWritebackIndexedOperands", "Target": "ARM64", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 28149, "Length": 66, "Cover_Rate": 0.5641025641025641} {"Template_token": ["", "void", "addMoveVecShifterOperands", "(", "MCInst", "&", "Inst", ",", "unsigned", "N", ")", "const", "{", "assert", "(", "N", "==", "", "&&", "", ")", ";", "Inst", ".", "addOperand", "(", "MCOperand", "::", "CreateImm", "(", "getShifter", "(", ")", ")", ")", ";"], "ground_truth": ["}"], "File": "ARM64AsmParser", "Func": "addMoveVecShifterOperands", "Target": "ARM64", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 28150, "Length": 36, "Cover_Rate": 1.0} {"Template_token": ["", "assert", "(", "N", "==", "", "&&", "", ")", ";"], "ground_truth": ["Inst", ".", "addOperand", "(", "MCOperand", "::", "CreateImm", "(", "getShifter", "(", ")", ")", ")", ";"], "File": "ARM64AsmParser", "Func": "addMoveVecShifterOperands", "Target": "ARM64", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 28151, "Length": 23, "Cover_Rate": 0.6388888888888888} {"Template_token": ["", "assert", "(", "N", "==", "", "&&", "", ")", ";", "Inst", ".", "addOperand", "(", "MCOperand", "::", "CreateImm", "(", "getShifter", "(", ")", ")", ")", ";"], "ground_truth": ["}"], "File": "ARM64AsmParser", "Func": "addMovImm32ShifterOperands", "Target": "ARM64", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 28152, "Length": 24, "Cover_Rate": 0.6666666666666666} {"Template_token": ["", "Inst", ".", "addOperand", "(", "MCOperand", "::", "CreateImm", "(", "getShifter", "(", ")", ")", ")", ";"], "ground_truth": ["}"], "File": "ARM64AsmParser", "Func": "addMovImm32ShifterOperands", "Target": "ARM64", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 28153, "Length": 15, "Cover_Rate": 0.4166666666666667} {"Template_token": ["", "bool", "Valid", ";"], "ground_truth": ["uint32_t", "Bits", "=", "", "(", ")", ".", "fromString", "(", "getSysReg", "(", ")", ",", "Valid", ")", ";"], "File": "ARM64AsmParser", "Func": "addMRSSystemRegisterOperands", "Target": "ARM64", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 28156, "Length": 19, "Cover_Rate": 0.34545454545454546} {"Template_token": ["", "bool", "Valid", ";", "uint32_t", "Bits", "=", "", "(", ")", ".", "fromString", "(", "getSysReg", "(", ")", ",", "Valid", ")", ";", "Inst", ".", "addOperand", "(", "MCOperand", "::", "CreateImm", "(", "Bits", ")", ")", ";"], "ground_truth": ["}"], "File": "ARM64AsmParser", "Func": "addMSRSystemRegisterOperands", "Target": "ARM64", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 28157, "Length": 32, "Cover_Rate": 0.5818181818181818} {"Template_token": ["", "uint32_t", "Bits", "=", "", "(", ")", ".", "fromString", "(", "getSysReg", "(", ")", ",", "Valid", ")", ";"], "ground_truth": ["Inst", ".", "addOperand", "(", "MCOperand", "::", "CreateImm", "(", "Bits", ")", ")", ";"], "File": "ARM64AsmParser", "Func": "addMSRSystemRegisterOperands", "Target": "ARM64", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 28158, "Length": 28, "Cover_Rate": 0.509090909090909} {"Template_token": ["", "if", "(", "!", "MCE", ")", "{", "addExpr", "(", "Inst", ",", "getImm", "(", ")", ")", ";", "return", ";", "}", "assert", "(", "MCE", "&&", "", ")", ";", "Inst", ".", "addOperand", "(", "MCOperand", "::", "CreateImm", "(", "MCE", "->", "getValue", "(", ")", ">>", "", ")", ")", ";"], "ground_truth": ["}"], "File": "ARM64AsmParser", "Func": "addPCRelLabel19Operands", "Target": "ARM64", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 28159, "Length": 44, "Cover_Rate": 0.55} {"Template_token": ["", "return", ";", "}", "assert", "(", "MCE", "&&", "", ")", ";"], "ground_truth": ["Inst", ".", "addOperand", "(", "MCOperand", "::", "CreateImm", "(", "MCE", "->", "getValue", "(", ")", ">>", "", ")", ")", ";"], "File": "ARM64AsmParser", "Func": "addPCRelLabel19Operands", "Target": "ARM64", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 28160, "Length": 28, "Cover_Rate": 0.35} {"Template_token": ["", "void", "addPrefetchOperands", "(", "MCInst", "&", "Inst", ",", "unsigned", "N", ")", "const", "{", "assert", "(", "N", "==", "", "&&", "", ")", ";"], "ground_truth": ["Inst", ".", "addOperand", "(", "MCOperand", "::", "CreateImm", "(", "getPrefetch", "(", ")", ")", ")", ";"], "File": "ARM64AsmParser", "Func": "addPrefetchOperands", "Target": "ARM64", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 28162, "Length": 35, "Cover_Rate": 0.9722222222222222} {"Template_token": ["", "assert", "(", "N", "==", "", "&&", "", ")", ";", "Inst", ".", "addOperand", "(", "MCOperand", "::", "CreateReg", "(", "getReg", "(", ")", ")", ")", ";"], "ground_truth": ["}"], "File": "ARM64AsmParser", "Func": "addRegOperands", "Target": "ARM64", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 28163, "Length": 24, "Cover_Rate": 0.6666666666666666} {"Template_token": ["", "Inst", ".", "addOperand", "(", "MCOperand", "::", "CreateReg", "(", "getReg", "(", ")", ")", ")", ";"], "ground_truth": ["}"], "File": "ARM64AsmParser", "Func": "addRegOperands", "Target": "ARM64", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 28164, "Length": 15, "Cover_Rate": 0.4166666666666667} {"Template_token": ["", "Inst", ".", "addOperand", "(", "MCOperand", "::", "CreateImm", "(", "getShifter", "(", ")", ")", ")", ";"], "ground_truth": ["}"], "File": "ARM64AsmParser", "Func": "addShifterOperands", "Target": "ARM64", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 28165, "Length": 15, "Cover_Rate": 0.4166666666666667} {"Template_token": ["", "void", "addShifterOperands", "(", "MCInst", "&", "Inst", ",", "unsigned", "N", ")", "const", "{"], "ground_truth": ["assert", "(", "N", "==", "", "&&", "", ")", ";"], "File": "ARM64AsmParser", "Func": "addShifterOperands", "Target": "ARM64", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 28166, "Length": 21, "Cover_Rate": 0.5833333333333334} {"Template_token": ["", "uint64_t", "encoding", "=", "", "(", "MCE", "->", "getValue", "(", ")", ")", ";"], "ground_truth": ["Inst", ".", "addOperand", "(", "MCOperand", "::", "CreateImm", "(", "encoding", ")", ")", ";"], "File": "ARM64AsmParser", "Func": "addSIMDImmType10Operands", "Target": "ARM64", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 28167, "Length": 24, "Cover_Rate": 0.34285714285714286} {"Template_token": ["", "Inst", ".", "addOperand", "(", "MCOperand", "::", "CreateImm", "(", "MCE", "->", "getValue", "(", ")", "/", "", ")", ")", ";"], "ground_truth": ["}"], "File": "ARM64AsmParser", "Func": "addSImm7s16Operands", "Target": "ARM64", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 28168, "Length": 19, "Cover_Rate": 0.3064516129032258} {"Template_token": ["", "Inst", ".", "addOperand", "(", "MCOperand", "::", "CreateImm", "(", "MCE", "->", "getValue", "(", ")", "/", "", ")", ")", ";"], "ground_truth": ["}"], "File": "ARM64AsmParser", "Func": "addSImm7s4Operands", "Target": "ARM64", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 28169, "Length": 19, "Cover_Rate": 0.3064516129032258} {"Template_token": ["", "Inst", ".", "addOperand", "(", "MCOperand", "::", "CreateImm", "(", "MCE", "->", "getValue", "(", ")", "/", "", ")", ")", ";"], "ground_truth": ["}"], "File": "ARM64AsmParser", "Func": "addSImm7s4Operands", "Target": "ARM64", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 28170, "Length": 19, "Cover_Rate": 0.3064516129032258} {"Template_token": ["", "void", "addSImm7s8Operands", "(", "MCInst", "&", "Inst", ",", "unsigned", "N", ")", "const", "{", "assert", "(", "N", "==", "", "&&", "", ")", ";", "const", "MCConstantExpr", "*", "MCE", "=", "dyn_cast", "<", "MCConstantExpr", ">", "(", "getImm", "(", ")", ")", ";"], "ground_truth": ["assert", "(", "MCE", "&&", "", ")", ";"], "File": "ARM64AsmParser", "Func": "addSImm7s8Operands", "Target": "ARM64", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 28171, "Length": 43, "Cover_Rate": 0.6935483870967742} {"Template_token": ["", "assert", "(", "N", "==", "", "&&", "", ")", ";", "const", "MCConstantExpr", "*", "MCE", "=", "dyn_cast", "<", "MCConstantExpr", ">", "(", "getImm", "(", ")", ")", ";", "assert", "(", "MCE", "&&", "", ")", ";"], "ground_truth": ["Inst", ".", "addOperand", "(", "MCOperand", "::", "CreateImm", "(", "MCE", "->", "getValue", "(", ")", "/", "", ")", ")", ";"], "File": "ARM64AsmParser", "Func": "addSImm7s8Operands", "Target": "ARM64", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 28172, "Length": 49, "Cover_Rate": 0.7903225806451613} {"Template_token": ["", "assert", "(", "N", "==", "", "&&", "", ")", ";", "const", "MCConstantExpr", "*", "MCE", "=", "dyn_cast", "<", "MCConstantExpr", ">", "(", "getImm", "(", ")", ")", ";", "assert", "(", "MCE", "&&", "", ")", ";"], "ground_truth": ["Inst", ".", "addOperand", "(", "MCOperand", "::", "CreateImm", "(", "MCE", "->", "getValue", "(", ")", ")", ")", ";"], "File": "ARM64AsmParser", "Func": "addSImm9Operands", "Target": "ARM64", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 28173, "Length": 47, "Cover_Rate": 0.7833333333333333} {"Template_token": ["", "assert", "(", "N", "==", "", "&&", "", ")", ";"], "ground_truth": ["Inst", ".", "addOperand", "(", "MCOperand", "::", "CreateImm", "(", "getSysCR", "(", ")", ")", ")", ";"], "File": "ARM64AsmParser", "Func": "addSysCROperands", "Target": "ARM64", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 28174, "Length": 23, "Cover_Rate": 0.6388888888888888} {"Template_token": ["", "Inst", ".", "addOperand", "(", "MCOperand", "::", "CreateImm", "(", "getSysCR", "(", ")", ")", ")", ";"], "ground_truth": ["}"], "File": "ARM64AsmParser", "Func": "addSysCROperands", "Target": "ARM64", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 28175, "Length": 15, "Cover_Rate": 0.4166666666666667} {"Template_token": ["", "void", "addSystemCPSRFieldOperands", "(", "MCInst", "&", "Inst", ",", "unsigned", "N", ")", "const", "{", "assert", "(", "N", "==", "", "&&", "", ")", ";", "bool", "Valid", ";"], "ground_truth": ["uint32_t", "Bits", "=", "", "(", ")", ".", "fromString", "(", "getSysReg", "(", ")", ",", "Valid", ")", ";"], "File": "ARM64AsmParser", "Func": "addSystemCPSRFieldOperands", "Target": "ARM64", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 28176, "Length": 40, "Cover_Rate": 0.7272727272727273} {"Template_token": ["", "assert", "(", "N", "==", "", "&&", "", ")", ";", "Inst", ".", "addOperand", "(", "MCOperand", "::", "CreateImm", "(", "getVectorIndex", "(", ")", ")", ")", ";"], "ground_truth": ["}"], "File": "ARM64AsmParser", "Func": "addVectorIndexBOperands", "Target": "ARM64", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 28177, "Length": 24, "Cover_Rate": 0.6666666666666666} {"Template_token": ["", "assert", "(", "N", "==", "", "&&", "", ")", ";"], "ground_truth": ["Inst", ".", "addOperand", "(", "MCOperand", "::", "CreateImm", "(", "getVectorIndex", "(", ")", ")", ")", ";"], "File": "ARM64AsmParser", "Func": "addVectorIndexDOperands", "Target": "ARM64", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 28179, "Length": 23, "Cover_Rate": 0.6388888888888888} {"Template_token": ["", "assert", "(", "N", "==", "", "&&", "", ")", ";", "Inst", ".", "addOperand", "(", "MCOperand", "::", "CreateImm", "(", "getVectorIndex", "(", ")", ")", ")", ";"], "ground_truth": ["}"], "File": "ARM64AsmParser", "Func": "addVectorIndexDOperands", "Target": "ARM64", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 28180, "Length": 24, "Cover_Rate": 0.6666666666666666} {"Template_token": ["", "Inst", ".", "addOperand", "(", "MCOperand", "::", "CreateImm", "(", "getVectorIndex", "(", ")", ")", ")", ";"], "ground_truth": ["}"], "File": "ARM64AsmParser", "Func": "addVectorIndexHOperands", "Target": "ARM64", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 28181, "Length": 15, "Cover_Rate": 0.4166666666666667} {"Template_token": ["", "Inst", ".", "addOperand", "(", "MCOperand", "::", "CreateImm", "(", "getVectorIndex", "(", ")", ")", ")", ";"], "ground_truth": ["}"], "File": "ARM64AsmParser", "Func": "addVectorIndexSOperands", "Target": "ARM64", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 28182, "Length": 15, "Cover_Rate": 0.4166666666666667} {"Template_token": ["", "assert", "(", "N", "==", "", "&&", "", ")", ";", "Inst", ".", "addOperand", "(", "MCOperand", "::", "CreateImm", "(", "getVectorIndex", "(", ")", ")", ")", ";"], "ground_truth": ["}"], "File": "ARM64AsmParser", "Func": "addVectorIndexSOperands", "Target": "ARM64", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 28183, "Length": 24, "Cover_Rate": 0.6666666666666666} {"Template_token": ["", "static", "unsigned", "FirstRegs", "[", "]", "=", "{", "", ",", "", ",", "", ",", "", "}", ";", "unsigned", "FirstReg", "=", "FirstRegs", "[", "NumRegs", "-", "", "]", ";"], "ground_truth": ["Inst", ".", "addOperand", "(", "MCOperand", "::", "CreateReg", "(", "FirstReg", "+", "getVectorListStart", "(", ")", "-", "", ")", ")", ";"], "File": "ARM64AsmParser", "Func": "addVectorList128Operands", "Target": "ARM64", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 28184, "Length": 44, "Cover_Rate": 0.5789473684210527} {"Template_token": ["", "static", "unsigned", "FirstRegs", "[", "]", "=", "{", "", ",", "", ",", "", ",", "", "}", ";", "unsigned", "FirstReg", "=", "FirstRegs", "[", "NumRegs", "-", "", "]", ";"], "ground_truth": ["Inst", ".", "addOperand", "(", "MCOperand", "::", "CreateReg", "(", "FirstReg", "+", "getVectorListStart", "(", ")", "-", "", ")", ")", ";"], "File": "ARM64AsmParser", "Func": "addVectorList64Operands", "Target": "ARM64", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 28185, "Length": 44, "Cover_Rate": 0.5789473684210527} {"Template_token": ["", "Inst", ".", "addOperand", "(", "MCOperand", "::", "CreateReg", "(", "getReg", "(", ")", ")", ")", ";"], "ground_truth": ["}"], "File": "ARM64AsmParser", "Func": "addVectorRegOperands", "Target": "ARM64", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 28186, "Length": 15, "Cover_Rate": 0.4166666666666667} {"Template_token": ["", "assert", "(", "N", "==", "", "&&", "", ")", ";"], "ground_truth": ["Inst", ".", "addOperand", "(", "MCOperand", "::", "CreateReg", "(", "getReg", "(", ")", ")", ")", ";"], "File": "ARM64AsmParser", "Func": "addVectorRegOperands", "Target": "ARM64", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 28187, "Length": 23, "Cover_Rate": 0.6388888888888888} {"Template_token": ["", "MCAsmParserExtension", "::", "Initialize", "(", "_Parser", ")", ";"], "ground_truth": ["setAvailableFeatures", "(", "ComputeAvailableFeatures", "(", "STI", ".", "getFeatureBits", "(", ")", ")", ")", ";"], "File": "ARM64AsmParser", "Func": "ARM64AsmParser", "Target": "ARM64", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 28188, "Length": 19, "Cover_Rate": 0.34545454545454546} {"Template_token": ["", "AsmParser", "(", "MCSubtargetInfo", "&", "_STI", ",", "MCAsmParser", "&", "_Parser", ",", "const", "MCInstrInfo", "&", "MII", ",", "const", "MCTargetOptions", "&", "Options", ")", ":", "MCTargetAsmParser", "(", ")", ",", "STI", "(", "_STI", ")", ",", "Parser", "(", "_Parser", ")", "{", "MCAsmParserExtension", "::", "Initialize", "(", "_Parser", ")", ";"], "ground_truth": ["setAvailableFeatures", "(", "ComputeAvailableFeatures", "(", "STI", ".", "getFeatureBits", "(", ")", ")", ")", ";"], "File": "ARM64AsmParser", "Func": "ARM64AsmParser", "Target": "ARM64", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 28189, "Length": 54, "Cover_Rate": 0.9818181818181818} {"Template_token": ["", "break", ";", "case", "k_SysCR", ":", "SysCRImm", "=", "o", ".", "SysCRImm", ";", "break", ";", "case", "k_Prefetch", ":", "Prefetch", "=", "o", ".", "Prefetch", ";", "break", ";", "case", "k_Memory", ":", "Mem", "=", "o", ".", "Mem", ";", "break", ";", "case", "k_Shifter", ":", "Shifter", "=", "o", ".", "Shifter", ";", "break", ";", "case", "k_Extend", ":", "Extend", "=", "o", ".", "Extend", ";"], "ground_truth": ["break", ";"], "File": "ARM64AsmParser", "Func": "ARM64Operand", "Target": "ARM64", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 28190, "Length": 57, "Cover_Rate": 0.3048128342245989} {"Template_token": ["", "}", "const", "MCSymbolRefExpr", "*", "SE", "=", "dyn_cast", "<", "MCSymbolRefExpr", ">", "(", "Expr", ")", ";", "if", "(", "SE", ")", "{", "DarwinRefKind", "=", "SE", "->", "getKind", "(", ")", ";", "return", "true", ";", "}", "const", "MCBinaryExpr", "*", "BE", "=", "dyn_cast", "<", "MCBinaryExpr", ">", "(", "Expr", ")", ";", "if", "(", "!", "BE", ")", "return", "false", ";", "SE", "=", "dyn_cast", "<", "MCSymbolRefExpr", ">", "(", "BE", "->", "getLHS", "(", ")", ")", ";", "if", "(", "!", "SE", ")", "return", "false", ";", "DarwinRefKind", "=", "SE", "->", "getKind", "(", ")", ";", "if", "(", "BE", "->", "getOpcode", "(", ")", "!=", "MCBinaryExpr", "::", "Add", "&&", "BE", "->", "getOpcode", "(", ")", "!=", "MCBinaryExpr", "::", "Sub", ")", "return", "false", ";", "auto", "AddendExpr", "=", "dyn_cast", "<", "MCConstantExpr", ">", "(", "BE", "->", "getRHS", "(", ")", ")", ";", "if", "(", "!", "AddendExpr", ")", "return", "false", ";"], "ground_truth": ["Addend", "=", "AddendExpr", "->", "getValue", "(", ")", ";"], "File": "ARM64AsmParser", "Func": "classifySymbolRef", "Target": "ARM64", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 28191, "Length": 138, "Cover_Rate": 0.5655737704918032} {"Template_token": ["", "Addend", "=", "", ";", "if", "(", "const", "MCExpr", "*", "AE", "=", "dyn_cast", "<", "MCExpr", ">", "(", "Expr", ")", ")", "{", "ELFRefKind", "=", "AE", "->", "getKind", "(", ")", ";", "Expr", "=", "AE", "->", "getSubExpr", "(", ")", ";", "}", "const", "MCSymbolRefExpr", "*", "SE", "=", "dyn_cast", "<", "MCSymbolRefExpr", ">", "(", "Expr", ")", ";", "if", "(", "SE", ")", "{", "DarwinRefKind", "=", "SE", "->", "getKind", "(", ")", ";", "return", "true", ";", "}", "const", "MCBinaryExpr", "*", "BE", "=", "dyn_cast", "<", "MCBinaryExpr", ">", "(", "Expr", ")", ";", "if", "(", "!", "BE", ")", "return", "false", ";", "SE", "=", "dyn_cast", "<", "MCSymbolRefExpr", ">", "(", "BE", "->", "getLHS", "(", ")", ")", ";", "if", "(", "!", "SE", ")", "return", "false", ";", "DarwinRefKind", "=", "SE", "->", "getKind", "(", ")", ";", "if", "(", "BE", "->", "getOpcode", "(", ")", "!=", "MCBinaryExpr", "::", "Add", "&&", "BE", "->", "getOpcode", "(", ")", "!=", "MCBinaryExpr", "::", "Sub", ")", "return", "false", ";", "auto", "AddendExpr", "=", "dyn_cast", "<", "MCConstantExpr", ">", "(", "BE", "->", "getRHS", "(", ")", ")", ";", "if", "(", "!", "AddendExpr", ")", "return", "false", ";", "Addend", "=", "AddendExpr", "->", "getValue", "(", ")", ";", "if", "(", "BE", "->", "getOpcode", "(", ")", "==", "MCBinaryExpr", "::", "Sub", ")", "Addend", "=", "-", "Addend", ";"], "ground_truth": ["return", "ELFRefKind", "==", "MCExpr", "::", "VK_INVALID", "||", "DarwinRefKind", "==", "MCSymbolRefExpr", "::", "VK_None", ";"], "File": "ARM64AsmParser", "Func": "classifySymbolRef", "Target": "ARM64", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 28192, "Length": 204, "Cover_Rate": 0.8360655737704918} {"Template_token": ["", "static", "Operand", "*", "CreateBarrier", "(", "unsigned", "Val", ",", "SMLoc", "S", ",", "MCContext", "&", "Ctx", ")", "{", "Operand", "*", "Op", "=", "new", "Operand", "(", "k_Barrier", ",", "Ctx", ")", ";", "Op", "->", "Barrier", ".", "Val", "=", "Val", ";", "Op", "->", "StartLoc", "=", "S", ";", "Op", "->", "EndLoc", "=", "S", ";"], "ground_truth": ["return", "Op", ";"], "File": "ARM64AsmParser", "Func": "CreateBarrier", "Target": "ARM64", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 28193, "Length": 51, "Cover_Rate": 0.9807692307692307} {"Template_token": ["", "Operand", "*", "Op", "=", "new", "Operand", "(", "k_Extend", ",", "Ctx", ")", ";", "Op", "->", "Extend", ".", "Val", "=", "", "(", "ExtOp", ",", "Val", ")", ";", "Op", "->", "StartLoc", "=", "S", ";"], "ground_truth": ["Op", "->", "EndLoc", "=", "E", ";"], "File": "ARM64AsmParser", "Func": "CreateExtend", "Target": "ARM64", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 28194, "Length": 37, "Cover_Rate": 0.5522388059701493} {"Template_token": ["", "static", "Operand", "*", "CreateExtend", "(", "", "ExtOp", ",", "unsigned", "Val", ",", "SMLoc", "S", ",", "SMLoc", "E", ",", "MCContext", "&", "Ctx", ")", "{", "Operand", "*", "Op", "=", "new", "Operand", "(", "k_Extend", ",", "Ctx", ")", ";", "Op", "->", "Extend", ".", "Val", "=", "", "(", "ExtOp", ",", "Val", ")", ";"], "ground_truth": ["Op", "->", "StartLoc", "=", "S", ";"], "File": "ARM64AsmParser", "Func": "CreateExtend", "Target": "ARM64", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 28195, "Length": 53, "Cover_Rate": 0.7910447761194029} {"Template_token": ["", "static", "Operand", "*", "CreateFPImm", "(", "unsigned", "Val", ",", "SMLoc", "S", ",", "MCContext", "&", "Ctx", ")", "{", "Operand", "*", "Op", "=", "new", "Operand", "(", "k_FPImm", ",", "Ctx", ")", ";", "Op", "->", "FPImm", ".", "Val", "=", "Val", ";"], "ground_truth": ["Op", "->", "StartLoc", "=", "S", ";"], "File": "ARM64AsmParser", "Func": "CreateFPImm", "Target": "ARM64", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 28196, "Length": 42, "Cover_Rate": 0.8076923076923077} {"Template_token": ["", "Op", "->", "StartLoc", "=", "S", ";", "Op", "->", "EndLoc", "=", "S", ";", "return", "Op", ";"], "ground_truth": ["}"], "File": "ARM64AsmParser", "Func": "CreateFPImm", "Target": "ARM64", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 28197, "Length": 16, "Cover_Rate": 0.3076923076923077} {"Template_token": ["", "static", "Operand", "*", "CreateImm", "(", "const", "MCExpr", "*", "Val", ",", "SMLoc", "S", ",", "SMLoc", "E", ",", "MCContext", "&", "Ctx", ")", "{"], "ground_truth": ["Operand", "*", "Op", "=", "new", "Operand", "(", "k_Immediate", ",", "Ctx", ")", ";"], "File": "ARM64AsmParser", "Func": "CreateImm", "Target": "ARM64", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 28198, "Length": 33, "Cover_Rate": 0.5789473684210527} {"Template_token": ["", "Op", "->", "Mem", ".", "ShiftVal", "=", "", ";", "Op", "->", "Mem", ".", "ExplicitShift", "=", "false", ";", "Op", "->", "Mem", ".", "Mode", "=", "ImmediateOffset", ";", "Op", "->", "OffsetLoc", "=", "OffsetLoc", ";", "Op", "->", "StartLoc", "=", "S", ";", "Op", "->", "EndLoc", "=", "E", ";"], "ground_truth": ["return", "Op", ";"], "File": "ARM64AsmParser", "Func": "CreateMem", "Target": "ARM64", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 28199, "Length": 45, "Cover_Rate": 0.37815126050420167} {"Template_token": ["", "Operand", "*", "Op", "=", "new", "Operand", "(", "k_Prefetch", ",", "Ctx", ")", ";", "Op", "->", "Prefetch", ".", "Val", "=", "Val", ";", "Op", "->", "StartLoc", "=", "S", ";"], "ground_truth": ["Op", "->", "EndLoc", "=", "S", ";"], "File": "ARM64AsmParser", "Func": "CreatePrefetch", "Target": "ARM64", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 28200, "Length": 32, "Cover_Rate": 0.6153846153846154} {"Template_token": ["", "Operand", "*", "Op", "=", "new", "Operand", "(", "k_Prefetch", ",", "Ctx", ")", ";", "Op", "->", "Prefetch", ".", "Val", "=", "Val", ";", "Op", "->", "StartLoc", "=", "S", ";", "Op", "->", "EndLoc", "=", "S", ";"], "ground_truth": ["return", "Op", ";"], "File": "ARM64AsmParser", "Func": "CreatePrefetch", "Target": "ARM64", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 28201, "Length": 35, "Cover_Rate": 0.6730769230769231} {"Template_token": ["", "static", "Operand", "*", "CreateReg", "(", "unsigned", "RegNum", ",", "bool", "isVector", ",", "SMLoc", "S", ",", "SMLoc", "E", ",", "MCContext", "&", "Ctx", ")", "{"], "ground_truth": ["Operand", "*", "Op", "=", "new", "Operand", "(", "k_Register", ",", "Ctx", ")", ";"], "File": "ARM64AsmParser", "Func": "CreateReg", "Target": "ARM64", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 28202, "Length": 34, "Cover_Rate": 0.5151515151515151} {"Template_token": ["", "Op", "->", "Reg", ".", "RegNum", "=", "RegNum", ";", "Op", "->", "Reg", ".", "isVector", "=", "isVector", ";", "Op", "->", "StartLoc", "=", "S", ";", "Op", "->", "EndLoc", "=", "E", ";"], "ground_truth": ["return", "Op", ";"], "File": "ARM64AsmParser", "Func": "CreateReg", "Target": "ARM64", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 28203, "Length": 31, "Cover_Rate": 0.4696969696969697} {"Template_token": ["", "Operand", "*", "Op", "=", "new", "Operand", "(", "k_Memory", ",", "Ctx", ")", ";", "Op", "->", "Mem", ".", "BaseRegNum", "=", "BaseReg", ";", "Op", "->", "Mem", ".", "OffsetRegNum", "=", "OffsetReg", ";", "Op", "->", "Mem", ".", "OffsetImm", "=", "nullptr", ";", "Op", "->", "Mem", ".", "ExtType", "=", "ExtType", ";", "Op", "->", "Mem", ".", "ShiftVal", "=", "ShiftVal", ";", "Op", "->", "Mem", ".", "ExplicitShift", "=", "ExplicitShift", ";", "Op", "->", "Mem", ".", "Mode", "=", "RegisterOffset", ";", "Op", "->", "StartLoc", "=", "S", ";"], "ground_truth": ["Op", "->", "EndLoc", "=", "E", ";"], "File": "ARM64AsmParser", "Func": "CreateRegOffsetMem", "Target": "ARM64", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 28204, "Length": 80, "Cover_Rate": 0.6837606837606838} {"Template_token": ["", "Op", "->", "Shifter", ".", "Val", "=", "", "(", "ShOp", ",", "Val", ")", ";", "Op", "->", "StartLoc", "=", "S", ";", "Op", "->", "EndLoc", "=", "E", ";", "return", "Op", ";"], "ground_truth": ["}"], "File": "ARM64AsmParser", "Func": "CreateShifter", "Target": "ARM64", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 28205, "Length": 29, "Cover_Rate": 0.43283582089552236} {"Template_token": ["", "static", "Operand", "*", "CreateShifter", "(", "", "ShOp", ",", "unsigned", "Val", ",", "SMLoc", "S", ",", "SMLoc", "E", ",", "MCContext", "&", "Ctx", ")", "{", "Operand", "*", "Op", "=", "new", "Operand", "(", "k_Shifter", ",", "Ctx", ")", ";", "Op", "->", "Shifter", ".", "Val", "=", "", "(", "ShOp", ",", "Val", ")", ";", "Op", "->", "StartLoc", "=", "S", ";"], "ground_truth": ["Op", "->", "EndLoc", "=", "E", ";"], "File": "ARM64AsmParser", "Func": "CreateShifter", "Target": "ARM64", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 28206, "Length": 59, "Cover_Rate": 0.8805970149253731} {"Template_token": ["", "Op", "->", "SysCRImm", ".", "Val", "=", "Val", ";", "Op", "->", "StartLoc", "=", "S", ";", "Op", "->", "EndLoc", "=", "E", ";"], "ground_truth": ["return", "Op", ";"], "File": "ARM64AsmParser", "Func": "CreateSysCR", "Target": "ARM64", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 28207, "Length": 23, "Cover_Rate": 0.41818181818181815} {"Template_token": ["", "static", "Operand", "*", "CreateSysReg", "(", "StringRef", "Str", ",", "SMLoc", "S", ",", "MCContext", "&", "Ctx", ")", "{", "Operand", "*", "Op", "=", "new", "Operand", "(", "k_SysReg", ",", "Ctx", ")", ";", "Op", "->", "SysReg", ".", "Data", "=", "Str", ".", "data", "(", ")", ";", "Op", "->", "SysReg", ".", "Length", "=", "Str", ".", "size", "(", ")", ";", "Op", "->", "StartLoc", "=", "S", ";", "Op", "->", "EndLoc", "=", "S", ";", "return", "Op", ";"], "ground_truth": ["}"], "File": "ARM64AsmParser", "Func": "CreateSysReg", "Target": "ARM64", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 28208, "Length": 68, "Cover_Rate": 1.0} {"Template_token": ["", "Op", "->", "Tok", ".", "Length", "=", "Str", ".", "size", "(", ")", ";", "Op", "->", "Tok", ".", "IsSuffix", "=", "IsSuffix", ";", "Op", "->", "StartLoc", "=", "S", ";", "Op", "->", "EndLoc", "=", "S", ";", "return", "Op", ";"], "ground_truth": ["}"], "File": "ARM64AsmParser", "Func": "CreateToken", "Target": "ARM64", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 28209, "Length": 36, "Cover_Rate": 0.45569620253164556} {"Template_token": ["", "Operand", "*", "Op", "=", "new", "Operand", "(", "k_Token", ",", "Ctx", ")", ";", "Op", "->", "Tok", ".", "Data", "=", "Str", ".", "data", "(", ")", ";", "Op", "->", "Tok", ".", "Length", "=", "Str", ".", "size", "(", ")", ";", "Op", "->", "Tok", ".", "IsSuffix", "=", "IsSuffix", ";"], "ground_truth": ["Op", "->", "StartLoc", "=", "S", ";"], "File": "ARM64AsmParser", "Func": "CreateToken", "Target": "ARM64", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 28210, "Length": 50, "Cover_Rate": 0.6329113924050633} {"Template_token": ["", "static", "Operand", "*", "CreateVectorIndex", "(", "unsigned", "Idx", ",", "SMLoc", "S", ",", "SMLoc", "E", ",", "MCContext", "&", "Ctx", ")", "{", "Operand", "*", "Op", "=", "new", "Operand", "(", "k_VectorIndex", ",", "Ctx", ")", ";"], "ground_truth": ["Op", "->", "VectorIndex", ".", "Val", "=", "Idx", ";"], "File": "ARM64AsmParser", "Func": "CreateVectorIndex", "Target": "ARM64", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 28211, "Length": 39, "Cover_Rate": 0.7090909090909091} {"Template_token": ["", "static", "Operand", "*", "CreateVectorIndex", "(", "unsigned", "Idx", ",", "SMLoc", "S", ",", "SMLoc", "E", ",", "MCContext", "&", "Ctx", ")", "{"], "ground_truth": ["Operand", "*", "Op", "=", "new", "Operand", "(", "k_VectorIndex", ",", "Ctx", ")", ";"], "File": "ARM64AsmParser", "Func": "CreateVectorIndex", "Target": "ARM64", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 28212, "Length": 31, "Cover_Rate": 0.5636363636363636} {"Template_token": ["", "Op", "->", "VectorList", ".", "Count", "=", "Count", ";", "Op", "->", "VectorList", ".", "NumElements", "=", "NumElements", ";", "Op", "->", "VectorList", ".", "ElementKind", "=", "ElementKind", ";", "Op", "->", "StartLoc", "=", "S", ";"], "ground_truth": ["Op", "->", "EndLoc", "=", "E", ";"], "File": "ARM64AsmParser", "Func": "CreateVectorList", "Target": "ARM64", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 28213, "Length": 36, "Cover_Rate": 0.4090909090909091} {"Template_token": ["", "Op", "->", "VectorList", ".", "NumElements", "=", "NumElements", ";", "Op", "->", "VectorList", ".", "ElementKind", "=", "ElementKind", ";", "Op", "->", "StartLoc", "=", "S", ";", "Op", "->", "EndLoc", "=", "E", ";"], "ground_truth": ["return", "Op", ";"], "File": "ARM64AsmParser", "Func": "CreateVectorList", "Target": "ARM64", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 28214, "Length": 31, "Cover_Rate": 0.3522727272727273} {"Template_token": ["", "return", "Parser", ".", "Error", "(", "L", ",", "Msg", ")", ";"], "ground_truth": ["}"], "File": "ARM64AsmParser", "Func": "Error", "Target": "ARM64", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 28215, "Length": 11, "Cover_Rate": 0.4782608695652174} {"Template_token": ["", "unsigned", "getBarrier", "(", ")", "const", "{", "assert", "(", "Kind", "==", "k_Barrier", "&&", "", ")", ";"], "ground_truth": ["return", "Barrier", ".", "Val", ";"], "File": "ARM64AsmParser", "Func": "getBarrier", "Target": "ARM64", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 28217, "Length": 20, "Cover_Rate": 0.9523809523809523} {"Template_token": ["", "assert", "(", "Kind", "==", "k_Barrier", "&&", "", ")", ";", "return", "Barrier", ".", "Val", ";"], "ground_truth": ["}"], "File": "ARM64AsmParser", "Func": "getBarrier", "Target": "ARM64", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 28218, "Length": 15, "Cover_Rate": 0.7142857142857143} {"Template_token": ["", "return", "EndLoc", ";"], "ground_truth": ["}"], "File": "ARM64AsmParser", "Func": "getEndLoc", "Target": "ARM64", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 28219, "Length": 4, "Cover_Rate": 0.4} {"Template_token": ["", "unsigned", "getFPImm", "(", ")", "const", "{"], "ground_truth": ["assert", "(", "Kind", "==", "k_FPImm", "&&", "", ")", ";"], "File": "ARM64AsmParser", "Func": "getFPImm", "Target": "ARM64", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 28221, "Length": 15, "Cover_Rate": 0.7142857142857143} {"Template_token": ["", "return", "Parser", ".", "getLexer", "(", ")", ";"], "ground_truth": ["}"], "File": "ARM64AsmParser", "Func": "getLexer", "Target": "ARM64", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 28224, "Length": 8, "Cover_Rate": 0.5333333333333333} {"Template_token": ["", "SMLoc", "getOffsetLoc", "(", ")", "const", "{"], "ground_truth": ["return", "OffsetLoc", ";"], "File": "ARM64AsmParser", "Func": "getOffsetLoc", "Target": "ARM64", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 28227, "Length": 9, "Cover_Rate": 0.9} {"Template_token": ["", "SMLoc", "getOffsetLoc", "(", ")", "const", "{"], "ground_truth": ["return", "OffsetLoc", ";"], "File": "ARM64AsmParser", "Func": "getOffsetLoc", "Target": "ARM64", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 28228, "Length": 9, "Cover_Rate": 0.9} {"Template_token": ["", "MCAsmParser", "&", "getParser", "(", ")", "const", "{"], "ground_truth": ["return", "Parser", ";"], "File": "ARM64AsmParser", "Func": "getParser", "Target": "ARM64", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 28230, "Length": 10, "Cover_Rate": 0.9090909090909091} {"Template_token": ["", "assert", "(", "Kind", "==", "k_Prefetch", "&&", "", ")", ";", "return", "Prefetch", ".", "Val", ";"], "ground_truth": ["}"], "File": "ARM64AsmParser", "Func": "getPrefetch", "Target": "ARM64", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 28231, "Length": 15, "Cover_Rate": 0.7142857142857143} {"Template_token": ["", "assert", "(", "Kind", "==", "k_Prefetch", "&&", "", ")", ";"], "ground_truth": ["return", "Prefetch", ".", "Val", ";"], "File": "ARM64AsmParser", "Func": "getPrefetch", "Target": "ARM64", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 28232, "Length": 14, "Cover_Rate": 0.6666666666666666} {"Template_token": ["", "unsigned", "getReg", "(", ")", "const", "{"], "ground_truth": ["assert", "(", "Kind", "==", "k_Register", "&&", "", ")", ";"], "File": "ARM64AsmParser", "Func": "getReg", "Target": "ARM64", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 28233, "Length": 15, "Cover_Rate": 0.7142857142857143} {"Template_token": ["", "assert", "(", "Kind", "==", "k_Shifter", "&&", "", ")", ";", "return", "Shifter", ".", "Val", ";"], "ground_truth": ["}"], "File": "ARM64AsmParser", "Func": "getShifter", "Target": "ARM64", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 28235, "Length": 15, "Cover_Rate": 0.7142857142857143} {"Template_token": ["", "SMLoc", "getStartLoc", "(", ")", "const", "{", "return", "StartLoc", ";"], "ground_truth": ["}"], "File": "ARM64AsmParser", "Func": "getStartLoc", "Target": "ARM64", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 28236, "Length": 10, "Cover_Rate": 1.0} {"Template_token": ["", "return", "StartLoc", ";"], "ground_truth": ["}"], "File": "ARM64AsmParser", "Func": "getStartLoc", "Target": "ARM64", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 28237, "Length": 4, "Cover_Rate": 0.4} {"Template_token": ["", "assert", "(", "Kind", "==", "k_SysCR", "&&", "", ")", ";", "return", "SysCRImm", ".", "Val", ";"], "ground_truth": ["}"], "File": "ARM64AsmParser", "Func": "getSysCR", "Target": "ARM64", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 28238, "Length": 15, "Cover_Rate": 0.7142857142857143} {"Template_token": ["", "unsigned", "getSysCR", "(", ")", "const", "{", "assert", "(", "Kind", "==", "k_SysCR", "&&", "", ")", ";", "return", "SysCRImm", ".", "Val", ";"], "ground_truth": ["}"], "File": "ARM64AsmParser", "Func": "getSysCR", "Target": "ARM64", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 28239, "Length": 21, "Cover_Rate": 1.0} {"Template_token": ["", "return", "StringRef", "(", "SysReg", ".", "Data", ",", "SysReg", ".", "Length", ")", ";"], "ground_truth": ["}"], "File": "ARM64AsmParser", "Func": "getSysReg", "Target": "ARM64", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 28240, "Length": 13, "Cover_Rate": 0.4642857142857143} {"Template_token": ["", "StringRef", "getSysReg", "(", ")", "const", "{"], "ground_truth": ["assert", "(", "Kind", "==", "k_SysReg", "&&", "", ")", ";"], "File": "ARM64AsmParser", "Func": "getSysReg", "Target": "ARM64", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 28241, "Length": 15, "Cover_Rate": 0.5357142857142857} {"Template_token": ["", "StringRef", "getToken", "(", ")", "const", "{", "assert", "(", "Kind", "==", "k_Token", "&&", "", ")", ";", "return", "StringRef", "(", "Tok", ".", "Data", ",", "Tok", ".", "Length", ")", ";"], "ground_truth": ["}"], "File": "ARM64AsmParser", "Func": "getToken", "Target": "ARM64", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 28242, "Length": 28, "Cover_Rate": 1.0} {"Template_token": ["", "unsigned", "getVectorIndex", "(", ")", "const", "{", "assert", "(", "Kind", "==", "k_VectorIndex", "&&", "", ")", ";", "return", "VectorIndex", ".", "Val", ";"], "ground_truth": ["}"], "File": "ARM64AsmParser", "Func": "getVectorIndex", "Target": "ARM64", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 28245, "Length": 21, "Cover_Rate": 1.0} {"Template_token": ["", "unsigned", "getVectorListCount", "(", ")", "const", "{", "assert", "(", "Kind", "==", "k_VectorList", "&&", "", ")", ";"], "ground_truth": ["return", "VectorList", ".", "Count", ";"], "File": "ARM64AsmParser", "Func": "getVectorListCount", "Target": "ARM64", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 28246, "Length": 20, "Cover_Rate": 0.9523809523809523} {"Template_token": ["", "unsigned", "getVectorListCount", "(", ")", "const", "{", "assert", "(", "Kind", "==", "k_VectorList", "&&", "", ")", ";"], "ground_truth": ["return", "VectorList", ".", "Count", ";"], "File": "ARM64AsmParser", "Func": "getVectorListCount", "Target": "ARM64", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 28247, "Length": 20, "Cover_Rate": 0.9523809523809523} {"Template_token": ["", "assert", "(", "Kind", "==", "k_VectorList", "&&", "", ")", ";"], "ground_truth": ["return", "VectorList", ".", "RegNum", ";"], "File": "ARM64AsmParser", "Func": "getVectorListStart", "Target": "ARM64", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 28248, "Length": 14, "Cover_Rate": 0.6666666666666666} {"Template_token": ["", "bool", "isAddSubShifter", "(", ")", "const", "{", "if", "(", "!", "isShifter", "(", ")", ")", "return", "false", ";", "unsigned", "Val", "=", "Shifter", ".", "Val", ";"], "ground_truth": ["return", "", "(", "Val", ")", "==", "", "&&", "(", "", "(", "Val", ")", "==", "", "||", "", "(", "Val", ")", "==", "", ")", ";"], "File": "ARM64AsmParser", "Func": "isAddSubShifter", "Target": "ARM64", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 28249, "Length": 47, "Cover_Rate": 0.8392857142857143} {"Template_token": ["", "unsigned", "Val", "=", "Shifter", ".", "Val", ";"], "ground_truth": ["return", "", "(", "Val", ")", "==", "", "&&", "(", "", "(", "Val", ")", "==", "", "||", "", "(", "Val", ")", "==", "", ")", ";"], "File": "ARM64AsmParser", "Func": "isAddSubShifter", "Target": "ARM64", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 28250, "Length": 31, "Cover_Rate": 0.5535714285714286} {"Template_token": ["", "bool", "isAdrLabel", "(", ")", "const", "{", "if", "(", "!", "isImm", "(", ")", ")", "return", "false", ";", "if", "(", "const", "MCConstantExpr", "*", "CE", "=", "dyn_cast", "<", "MCConstantExpr", ">", "(", "Imm", ".", "Val", ")", ")", "{", "int64_t", "Val", "=", "CE", "->", "getValue", "(", ")", ";", "int64_t", "Min", "=", "-", "(", "", "<<", "(", "", "-", "", ")", ")", ";", "int64_t", "Max", "=", "(", "(", "", "<<", "(", "", "-", "", ")", ")", "-", "", ")", ";"], "ground_truth": ["return", "Val", ">=", "Min", "&&", "Val", "<=", "Max", ";"], "File": "ARM64AsmParser", "Func": "isAdrLabel", "Target": "ARM64", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 28251, "Length": 83, "Cover_Rate": 0.9431818181818182} {"Template_token": ["", "int64_t", "Max", "=", "(", "(", "", "<<", "(", "", "-", "", ")", ")", "-", "", ")", ";", "return", "Val", ">=", "Min", "&&", "Val", "<=", "Max", ";"], "ground_truth": ["}"], "File": "ARM64AsmParser", "Func": "isAdrLabel", "Target": "ARM64", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 28252, "Length": 27, "Cover_Rate": 0.3068181818181818} {"Template_token": ["", "if", "(", "const", "MCConstantExpr", "*", "CE", "=", "dyn_cast", "<", "MCConstantExpr", ">", "(", "Imm", ".", "Val", ")", ")", "{", "int64_t", "Val", "=", "CE", "->", "getValue", "(", ")", ";", "int64_t", "Min", "=", "-", "(", "", "*", "(", "", "<<", "(", "", "-", "", ")", ")", ")", ";", "int64_t", "Max", "=", "", "*", "(", "(", "", "<<", "(", "", "-", "", ")", ")", "-", "", ")", ";", "return", "(", "Val", "%", "", ")", "==", "", "&&", "Val", ">=", "Min", "&&", "Val", "<=", "Max", ";", "}", "return", "true", ";"], "ground_truth": ["}"], "File": "ARM64AsmParser", "Func": "isAdrpLabel", "Target": "ARM64", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 28253, "Length": 86, "Cover_Rate": 0.8431372549019608} {"Template_token": ["", "if", "(", "!", "isImm", "(", ")", ")", "return", "false", ";", "if", "(", "const", "MCConstantExpr", "*", "CE", "=", "dyn_cast", "<", "MCConstantExpr", ">", "(", "Imm", ".", "Val", ")", ")", "{", "int64_t", "Val", "=", "CE", "->", "getValue", "(", ")", ";", "int64_t", "Min", "=", "-", "(", "", "*", "(", "", "<<", "(", "", "-", "", ")", ")", ")", ";", "int64_t", "Max", "=", "", "*", "(", "(", "", "<<", "(", "", "-", "", ")", ")", "-", "", ")", ";", "return", "(", "Val", "%", "", ")", "==", "", "&&", "Val", ">=", "Min", "&&", "Val", "<=", "Max", ";", "}", "return", "true", ";"], "ground_truth": ["}"], "File": "ARM64AsmParser", "Func": "isAdrpLabel", "Target": "ARM64", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 28254, "Length": 96, "Cover_Rate": 0.9411764705882353} {"Template_token": ["", "if", "(", "!", "isShifter", "(", ")", ")", "return", "false", ";", "", "ST", "=", "", "(", "Shifter", ".", "Val", ")", ";", "return", "ST", "==", "", "||", "ST", "==", "", "||", "ST", "==", "", ";"], "ground_truth": ["}"], "File": "ARM64AsmParser", "Func": "isArithmeticShifter", "Target": "ARM64", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 28255, "Length": 34, "Cover_Rate": 0.68} {"Template_token": ["", "bool", "isArithmeticShifter", "(", ")", "const", "{", "if", "(", "!", "isShifter", "(", ")", ")", "return", "false", ";", "", "ST", "=", "", "(", "Shifter", ".", "Val", ")", ";", "return", "ST", "==", "", "||", "ST", "==", "", "||", "ST", "==", "", ";"], "ground_truth": ["}"], "File": "ARM64AsmParser", "Func": "isArithmeticShifter", "Target": "ARM64", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 28256, "Length": 40, "Cover_Rate": 0.8} {"Template_token": ["", "bool", "isBarrier", "(", ")", "const", "{", "return", "Kind", "==", "k_Barrier", ";"], "ground_truth": ["}"], "File": "ARM64AsmParser", "Func": "isBarrier", "Target": "ARM64", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 28257, "Length": 12, "Cover_Rate": 1.0} {"Template_token": ["", "return", "Kind", "==", "k_Barrier", ";"], "ground_truth": ["}"], "File": "ARM64AsmParser", "Func": "isBarrier", "Target": "ARM64", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 28258, "Length": 6, "Cover_Rate": 0.5} {"Template_token": ["", "if", "(", "!", "MCE", ")", "return", "true", ";", "int64_t", "Val", "=", "MCE", "->", "getValue", "(", ")", ";", "if", "(", "Val", "&", "", ")", "return", "false", ";", "return", "(", "Val", ">=", "-", "(", "", "<<", "", ")", "&&", "Val", "<=", "(", "", "<<", "", ")", ")", ";"], "ground_truth": ["}"], "File": "ARM64AsmParser", "Func": "isBranchTarget14", "Target": "ARM64", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 28259, "Length": 47, "Cover_Rate": 0.6025641025641025} {"Template_token": ["", "bool", "isBranchTarget14", "(", ")", "const", "{", "if", "(", "!", "isImm", "(", ")", ")", "return", "false", ";", "const", "MCConstantExpr", "*", "MCE", "=", "dyn_cast", "<", "MCConstantExpr", ">", "(", "getImm", "(", ")", ")", ";", "if", "(", "!", "MCE", ")", "return", "true", ";", "int64_t", "Val", "=", "MCE", "->", "getValue", "(", ")", ";"], "ground_truth": ["if", "(", "Val", "&", "", ")", "return", "false", ";"], "File": "ARM64AsmParser", "Func": "isBranchTarget14", "Target": "ARM64", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 28260, "Length": 57, "Cover_Rate": 0.7307692307692307} {"Template_token": ["", "if", "(", "Val", "&", "", ")", "return", "false", ";", "return", "(", "Val", ">=", "-", "(", "", "<<", "", ")", "&&", "Val", "<=", "(", "", "<<", "", ")", ")", ";"], "ground_truth": ["}"], "File": "ARM64AsmParser", "Func": "isBranchTarget26", "Target": "ARM64", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 28261, "Length": 30, "Cover_Rate": 0.38461538461538464} {"Template_token": ["", "int64_t", "Val", "=", "MCE", "->", "getValue", "(", ")", ";", "if", "(", "Val", "&", "", ")", "return", "false", ";", "return", "(", "Val", ">=", "-", "(", "", "<<", "", ")", "&&", "Val", "<=", "(", "", "<<", "", ")", ")", ";"], "ground_truth": ["}"], "File": "ARM64AsmParser", "Func": "isBranchTarget26", "Target": "ARM64", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 28262, "Length": 39, "Cover_Rate": 0.5} {"Template_token": ["", "bool", "isExtend", "(", ")", "const", "{", "if", "(", "isShifter", "(", ")", ")", "{"], "ground_truth": ["", "ST", "=", "", "(", "Shifter", ".", "Val", ")", ";"], "File": "ARM64AsmParser", "Func": "isExtend", "Target": "ARM64", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 28263, "Length": 23, "Cover_Rate": 0.5609756097560976} {"Template_token": ["", "bool", "isExtend64", "(", ")", "const", "{"], "ground_truth": ["if", "(", "Kind", "!=", "k_Extend", ")", "return", "false", ";"], "File": "ARM64AsmParser", "Func": "isExtend64", "Target": "ARM64", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 28264, "Length": 15, "Cover_Rate": 0.3488372093023256} {"Template_token": ["", "if", "(", "isShifter", "(", ")", ")", "{", "", "ST", "=", "", "(", "Shifter", ".", "Val", ")", ";", "return", "ST", "==", "", ";", "}", "if", "(", "Kind", "!=", "k_Extend", ")", "return", "false", ";", "", "ET", "=", "", "(", "Extend", ".", "Val", ")", ";"], "ground_truth": ["return", "ET", "==", "", "||", "ET", "==", "", ";"], "File": "ARM64AsmParser", "Func": "isExtendLSL64", "Target": "ARM64", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 28265, "Length": 51, "Cover_Rate": 0.7083333333333334} {"Template_token": ["", "bool", "isFPImm", "(", ")", "const", "{"], "ground_truth": ["return", "Kind", "==", "k_FPImm", ";"], "File": "ARM64AsmParser", "Func": "isFPImm", "Target": "ARM64", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 28266, "Length": 11, "Cover_Rate": 0.9166666666666666} {"Template_token": ["", "return", "Kind", "==", "k_Immediate", ";"], "ground_truth": ["}"], "File": "ARM64AsmParser", "Func": "isImm", "Target": "ARM64", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 28268, "Length": 6, "Cover_Rate": 0.5} {"Template_token": ["", "bool", "isImm", "(", ")", "const", "{", "return", "Kind", "==", "k_Immediate", ";"], "ground_truth": ["}"], "File": "ARM64AsmParser", "Func": "isImm", "Target": "ARM64", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 28269, "Length": 12, "Cover_Rate": 1.0} {"Template_token": ["", "if", "(", "!", "MCE", ")", "return", "false", ";", "int64_t", "Val", "=", "MCE", "->", "getValue", "(", ")", ";", "return", "(", "Val", ">=", "", "&&", "Val", "<", "", ")", ";"], "ground_truth": ["}"], "File": "ARM64AsmParser", "Func": "isImm0_127", "Target": "ARM64", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 28270, "Length": 29, "Cover_Rate": 0.48333333333333334} {"Template_token": ["", "const", "MCConstantExpr", "*", "MCE", "=", "dyn_cast", "<", "MCConstantExpr", ">", "(", "getImm", "(", ")", ")", ";", "if", "(", "!", "MCE", ")", "return", "false", ";", "int64_t", "Val", "=", "MCE", "->", "getValue", "(", ")", ";"], "ground_truth": ["return", "(", "Val", ">=", "", "&&", "Val", "<", "", ")", ";"], "File": "ARM64AsmParser", "Func": "isImm0_127", "Target": "ARM64", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 28271, "Length": 43, "Cover_Rate": 0.7166666666666667} {"Template_token": ["", "if", "(", "!", "isImm", "(", ")", ")", "return", "false", ";", "const", "MCConstantExpr", "*", "MCE", "=", "dyn_cast", "<", "MCConstantExpr", ">", "(", "getImm", "(", ")", ")", ";", "if", "(", "!", "MCE", ")", "return", "false", ";"], "ground_truth": ["int64_t", "Val", "=", "MCE", "->", "getValue", "(", ")", ";"], "File": "ARM64AsmParser", "Func": "isImm0_15", "Target": "ARM64", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 28272, "Length": 42, "Cover_Rate": 0.7} {"Template_token": ["", "int64_t", "Val", "=", "MCE", "->", "getValue", "(", ")", ";"], "ground_truth": ["return", "(", "Val", ">=", "", "&&", "Val", "<", "", ")", ";"], "File": "ARM64AsmParser", "Func": "isImm0_255", "Target": "ARM64", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 28273, "Length": 20, "Cover_Rate": 0.3333333333333333} {"Template_token": ["", "bool", "isImm0_31", "(", ")", "const", "{", "if", "(", "!", "isImm", "(", ")", ")", "return", "false", ";", "const", "MCConstantExpr", "*", "MCE", "=", "dyn_cast", "<", "MCConstantExpr", ">", "(", "getImm", "(", ")", ")", ";", "if", "(", "!", "MCE", ")", "return", "false", ";", "int64_t", "Val", "=", "MCE", "->", "getValue", "(", ")", ";"], "ground_truth": ["return", "(", "Val", ">=", "", "&&", "Val", "<", "", ")", ";"], "File": "ARM64AsmParser", "Func": "isImm0_31", "Target": "ARM64", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 28274, "Length": 59, "Cover_Rate": 0.9833333333333333} {"Template_token": ["", "const", "MCConstantExpr", "*", "MCE", "=", "dyn_cast", "<", "MCConstantExpr", ">", "(", "getImm", "(", ")", ")", ";", "if", "(", "!", "MCE", ")", "return", "false", ";", "int64_t", "Val", "=", "MCE", "->", "getValue", "(", ")", ";"], "ground_truth": ["return", "(", "Val", ">=", "", "&&", "Val", "<", "", ")", ";"], "File": "ARM64AsmParser", "Func": "isImm0_63", "Target": "ARM64", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 28275, "Length": 43, "Cover_Rate": 0.7166666666666667} {"Template_token": ["", "bool", "isImm0_65535", "(", ")", "const", "{", "if", "(", "!", "isImm", "(", ")", ")", "return", "false", ";", "const", "MCConstantExpr", "*", "MCE", "=", "dyn_cast", "<", "MCConstantExpr", ">", "(", "getImm", "(", ")", ")", ";", "if", "(", "!", "MCE", ")", "return", "false", ";"], "ground_truth": ["int64_t", "Val", "=", "MCE", "->", "getValue", "(", ")", ";"], "File": "ARM64AsmParser", "Func": "isImm0_65535", "Target": "ARM64", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 28276, "Length": 48, "Cover_Rate": 0.8} {"Template_token": ["", "bool", "isImm0_65535", "(", ")", "const", "{", "if", "(", "!", "isImm", "(", ")", ")", "return", "false", ";", "const", "MCConstantExpr", "*", "MCE", "=", "dyn_cast", "<", "MCConstantExpr", ">", "(", "getImm", "(", ")", ")", ";"], "ground_truth": ["if", "(", "!", "MCE", ")", "return", "false", ";"], "File": "ARM64AsmParser", "Func": "isImm0_65535", "Target": "ARM64", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 28277, "Length": 39, "Cover_Rate": 0.65} {"Template_token": ["", "bool", "isImm0_7", "(", ")", "const", "{", "if", "(", "!", "isImm", "(", ")", ")", "return", "false", ";", "const", "MCConstantExpr", "*", "MCE", "=", "dyn_cast", "<", "MCConstantExpr", ">", "(", "getImm", "(", ")", ")", ";"], "ground_truth": ["if", "(", "!", "MCE", ")", "return", "false", ";"], "File": "ARM64AsmParser", "Func": "isImm0_7", "Target": "ARM64", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 28278, "Length": 39, "Cover_Rate": 0.65} {"Template_token": ["", "int64_t", "Val", "=", "MCE", "->", "getValue", "(", ")", ";", "return", "(", "Val", ">=", "", "&&", "Val", "<", "", ")", ";"], "ground_truth": ["}"], "File": "ARM64AsmParser", "Func": "isImm0_7", "Target": "ARM64", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 28279, "Length": 21, "Cover_Rate": 0.35} {"Template_token": ["", "if", "(", "!", "isImm", "(", ")", ")", "return", "false", ";", "const", "MCConstantExpr", "*", "MCE", "=", "dyn_cast", "<", "MCConstantExpr", ">", "(", "getImm", "(", ")", ")", ";"], "ground_truth": ["if", "(", "!", "MCE", ")", "return", "false", ";"], "File": "ARM64AsmParser", "Func": "isImm1_16", "Target": "ARM64", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 28280, "Length": 33, "Cover_Rate": 0.55} {"Template_token": ["", "if", "(", "!", "MCE", ")", "return", "false", ";", "int64_t", "Val", "=", "MCE", "->", "getValue", "(", ")", ";", "return", "(", "Val", ">", "", "&&", "Val", "<", "", ")", ";"], "ground_truth": ["}"], "File": "ARM64AsmParser", "Func": "isImm1_16", "Target": "ARM64", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 28281, "Length": 29, "Cover_Rate": 0.48333333333333334} {"Template_token": ["", "const", "MCConstantExpr", "*", "MCE", "=", "dyn_cast", "<", "MCConstantExpr", ">", "(", "getImm", "(", ")", ")", ";", "if", "(", "!", "MCE", ")", "return", "false", ";", "int64_t", "Val", "=", "MCE", "->", "getValue", "(", ")", ";"], "ground_truth": ["return", "(", "Val", ">=", "", "&&", "Val", "<", "", ")", ";"], "File": "ARM64AsmParser", "Func": "isImm1_31", "Target": "ARM64", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 28282, "Length": 43, "Cover_Rate": 0.7166666666666667} {"Template_token": ["", "if", "(", "!", "isImm", "(", ")", ")", "return", "false", ";", "const", "MCConstantExpr", "*", "MCE", "=", "dyn_cast", "<", "MCConstantExpr", ">", "(", "getImm", "(", ")", ")", ";", "if", "(", "!", "MCE", ")", "return", "false", ";", "int64_t", "Val", "=", "MCE", "->", "getValue", "(", ")", ";"], "ground_truth": ["return", "(", "Val", ">=", "", "&&", "Val", "<", "", ")", ";"], "File": "ARM64AsmParser", "Func": "isImm1_32", "Target": "ARM64", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 28283, "Length": 53, "Cover_Rate": 0.8833333333333333} {"Template_token": ["", "if", "(", "!", "MCE", ")", "return", "false", ";", "int64_t", "Val", "=", "MCE", "->", "getValue", "(", ")", ";", "return", "(", "Val", ">=", "", "&&", "Val", "<", "", ")", ";"], "ground_truth": ["}"], "File": "ARM64AsmParser", "Func": "isImm1_32", "Target": "ARM64", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 28284, "Length": 29, "Cover_Rate": 0.48333333333333334} {"Template_token": ["", "bool", "isImm1_63", "(", ")", "const", "{", "if", "(", "!", "isImm", "(", ")", ")", "return", "false", ";"], "ground_truth": ["const", "MCConstantExpr", "*", "MCE", "=", "dyn_cast", "<", "MCConstantExpr", ">", "(", "getImm", "(", ")", ")", ";"], "File": "ARM64AsmParser", "Func": "isImm1_63", "Target": "ARM64", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 28285, "Length": 31, "Cover_Rate": 0.5166666666666667} {"Template_token": ["", "if", "(", "!", "isImm", "(", ")", ")", "return", "false", ";", "const", "MCConstantExpr", "*", "MCE", "=", "dyn_cast", "<", "MCConstantExpr", ">", "(", "getImm", "(", ")", ")", ";", "if", "(", "!", "MCE", ")", "return", "false", ";"], "ground_truth": ["int64_t", "Val", "=", "MCE", "->", "getValue", "(", ")", ";"], "File": "ARM64AsmParser", "Func": "isImm1_64", "Target": "ARM64", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 28286, "Length": 42, "Cover_Rate": 0.7} {"Template_token": ["", "bool", "isImm1_64", "(", ")", "const", "{", "if", "(", "!", "isImm", "(", ")", ")", "return", "false", ";", "const", "MCConstantExpr", "*", "MCE", "=", "dyn_cast", "<", "MCConstantExpr", ">", "(", "getImm", "(", ")", ")", ";"], "ground_truth": ["if", "(", "!", "MCE", ")", "return", "false", ";"], "File": "ARM64AsmParser", "Func": "isImm1_64", "Target": "ARM64", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 28287, "Length": 39, "Cover_Rate": 0.65} {"Template_token": ["", "bool", "isImm1_8", "(", ")", "const", "{", "if", "(", "!", "isImm", "(", ")", ")", "return", "false", ";", "const", "MCConstantExpr", "*", "MCE", "=", "dyn_cast", "<", "MCConstantExpr", ">", "(", "getImm", "(", ")", ")", ";"], "ground_truth": ["if", "(", "!", "MCE", ")", "return", "false", ";"], "File": "ARM64AsmParser", "Func": "isImm1_8", "Target": "ARM64", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 28288, "Length": 39, "Cover_Rate": 0.65} {"Template_token": ["", "return", "Kind", "==", "k_VectorList", "&&", "VectorList", ".", "Count", "==", "NumRegs", "&&", "!", "VectorList", ".", "ElementKind", ";"], "ground_truth": ["}"], "File": "ARM64AsmParser", "Func": "isImplicitlyTypedVectorList", "Target": "ARM64", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 28290, "Length": 17, "Cover_Rate": 0.7391304347826086} {"Template_token": ["", "const", "MCConstantExpr", "*", "MCE", "=", "dyn_cast", "<", "MCConstantExpr", ">", "(", "getImm", "(", ")", ")", ";", "if", "(", "!", "MCE", ")", "return", "false", ";", "return", "", "(", "MCE", "->", "getValue", "(", ")", ",", "", ")", ";"], "ground_truth": ["}"], "File": "ARM64AsmParser", "Func": "isLogicalImm32", "Target": "ARM64", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 28291, "Length": 36, "Cover_Rate": 0.6666666666666666} {"Template_token": ["", "const", "MCConstantExpr", "*", "MCE", "=", "dyn_cast", "<", "MCConstantExpr", ">", "(", "getImm", "(", ")", ")", ";", "if", "(", "!", "MCE", ")", "return", "false", ";", "return", "", "(", "MCE", "->", "getValue", "(", ")", ",", "", ")", ";"], "ground_truth": ["}"], "File": "ARM64AsmParser", "Func": "isLogicalImm32", "Target": "ARM64", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 28292, "Length": 36, "Cover_Rate": 0.6666666666666666} {"Template_token": ["", "const", "MCConstantExpr", "*", "MCE", "=", "dyn_cast", "<", "MCConstantExpr", ">", "(", "getImm", "(", ")", ")", ";", "if", "(", "!", "MCE", ")", "return", "false", ";"], "ground_truth": ["return", "", "(", "MCE", "->", "getValue", "(", ")", ",", "", ")", ";"], "File": "ARM64AsmParser", "Func": "isLogicalImm64", "Target": "ARM64", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 28293, "Length": 35, "Cover_Rate": 0.6481481481481481} {"Template_token": ["", "unsigned", "Shift", "=", "", "(", "Val", ")", ";"], "ground_truth": ["return", "", "(", "Val", ")", "==", "", "&&", "(", "Shift", "==", "", "||", "Shift", "==", "", ")", ";"], "File": "ARM64AsmParser", "Func": "isLogicalVecHalfWordShifter", "Target": "ARM64", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 28294, "Length": 26, "Cover_Rate": 0.4642857142857143} {"Template_token": ["", "unsigned", "Val", "=", "Shifter", ".", "Val", ";", "unsigned", "Shift", "=", "", "(", "Val", ")", ";", "return", "", "(", "Val", ")", "==", "", "&&", "(", "Shift", "==", "", "||", "Shift", "==", "", ")", ";"], "ground_truth": ["}"], "File": "ARM64AsmParser", "Func": "isLogicalVecHalfWordShifter", "Target": "ARM64", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 28295, "Length": 34, "Cover_Rate": 0.6071428571428571} {"Template_token": ["", "if", "(", "!", "isShifter", "(", ")", ")", "return", "false", ";", "unsigned", "Val", "=", "Shifter", ".", "Val", ";", "unsigned", "Shift", "=", "", "(", "Val", ")", ";", "return", "", "(", "Val", ")", "==", "", "&&", "(", "Shift", "==", "", "||", "Shift", "==", "", "||", "Shift", "==", "", "||", "Shift", "==", "", ")", ";"], "ground_truth": ["}"], "File": "ARM64AsmParser", "Func": "isLogicalVecShifter", "Target": "ARM64", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 28296, "Length": 52, "Cover_Rate": 0.8125} {"Template_token": ["", "bool", "isMem", "(", ")", "const", "{", "return", "Kind", "==", "k_Memory", ";"], "ground_truth": ["}"], "File": "ARM64AsmParser", "Func": "isMem", "Target": "ARM64", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 28297, "Length": 12, "Cover_Rate": 1.0} {"Template_token": ["", "return", "true", ";", "}", "if", "(", "DarwinRefKind", "==", "MCSymbolRefExpr", "::", "VK_PAGEOFF", "||", "ELFRefKind", "==", "MCExpr", "::", "VK_LO12", "||", "ELFRefKind", "==", "MCExpr", "::", "VK_GOT_LO12", "||", "ELFRefKind", "==", "MCExpr", "::", "VK_DTPREL_LO12", "||", "ELFRefKind", "==", "MCExpr", "::", "VK_DTPREL_LO12_NC", "||", "ELFRefKind", "==", "MCExpr", "::", "VK_TPREL_LO12", "||", "ELFRefKind", "==", "MCExpr", "::", "VK_TPREL_LO12_NC", "||", "ELFRefKind", "==", "MCExpr", "::", "VK_GOTTPREL_LO12_NC", "||", "ELFRefKind", "==", "MCExpr", "::", "VK_TLSDESC_LO12", ")", "{", "return", "Addend", ">=", "", "&&", "(", "Addend", "%", "Scale", ")", "==", "", ";", "}", "else", "if", "(", "DarwinRefKind", "==", "MCSymbolRefExpr", "::", "VK_GOTPAGEOFF", "||", "DarwinRefKind", "==", "MCSymbolRefExpr", "::", "VK_TLVPPAGEOFF", ")", "{", "return", "Addend", "==", "", ";", "}", "return", "false", ";"], "ground_truth": ["}"], "File": "ARM64AsmParser", "Func": "isMemoryIndexed", "Target": "ARM64", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 28299, "Length": 101, "Cover_Rate": 0.4353448275862069} {"Template_token": ["", "bool", "isMemoryIndexed128", "(", ")", "const", "{", "return", "isMemoryIndexed", "(", "", ")", ";"], "ground_truth": ["}"], "File": "ARM64AsmParser", "Func": "isMemoryIndexed128", "Target": "ARM64", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 28300, "Length": 13, "Cover_Rate": 1.0} {"Template_token": ["", "if", "(", "!", "isMem", "(", ")", "||", "Mem", ".", "Mode", "!=", "ImmediateOffset", ")", "return", "false", ";", "if", "(", "!", "Mem", ".", "OffsetImm", ")", "return", "true", ";", "const", "MCConstantExpr", "*", "CE", "=", "dyn_cast", "<", "MCConstantExpr", ">", "(", "Mem", ".", "OffsetImm", ")", ";", "assert", "(", "CE", "&&", "", ")", ";", "int64_t", "Value", "=", "CE", "->", "getValue", "(", ")", ";"], "ground_truth": ["return", "(", "(", "Value", "%", "", ")", "==", "", ")", "&&", "Value", ">=", "-", "", "&&", "Value", "<=", "", ";"], "File": "ARM64AsmParser", "Func": "isMemoryIndexed128SImm7", "Target": "ARM64", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 28302, "Length": 77, "Cover_Rate": 0.9166666666666666} {"Template_token": ["", "bool", "isMemoryIndexed16", "(", ")", "const", "{", "return", "isMemoryIndexed", "(", "", ")", ";"], "ground_truth": ["}"], "File": "ARM64AsmParser", "Func": "isMemoryIndexed16", "Target": "ARM64", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 28303, "Length": 13, "Cover_Rate": 1.0} {"Template_token": ["", "return", "isMemoryIndexed", "(", "", ")", ";"], "ground_truth": ["}"], "File": "ARM64AsmParser", "Func": "isMemoryIndexed16", "Target": "ARM64", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 28304, "Length": 7, "Cover_Rate": 0.5384615384615384} {"Template_token": ["", "if", "(", "!", "Mem", ".", "OffsetImm", ")", "return", "true", ";", "const", "MCConstantExpr", "*", "CE", "=", "dyn_cast", "<", "MCConstantExpr", ">", "(", "Mem", ".", "OffsetImm", ")", ";", "assert", "(", "CE", "&&", "", ")", ";", "int64_t", "Value", "=", "CE", "->", "getValue", "(", ")", ";", "return", "(", "(", "Value", "%", "", ")", "==", "", ")", "&&", "Value", ">=", "-", "", "&&", "Value", "<=", "", ";"], "ground_truth": ["}"], "File": "ARM64AsmParser", "Func": "isMemoryIndexed32SImm7", "Target": "ARM64", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 28307, "Length": 62, "Cover_Rate": 0.7380952380952381} {"Template_token": ["", "bool", "isMemoryIndexed64", "(", ")", "const", "{"], "ground_truth": ["return", "isMemoryIndexed", "(", "", ")", ";"], "File": "ARM64AsmParser", "Func": "isMemoryIndexed64", "Target": "ARM64", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 28308, "Length": 12, "Cover_Rate": 0.9230769230769231} {"Template_token": ["", "if", "(", "!", "Mem", ".", "OffsetImm", ")", "return", "true", ";", "const", "MCConstantExpr", "*", "CE", "=", "dyn_cast", "<", "MCConstantExpr", ">", "(", "Mem", ".", "OffsetImm", ")", ";", "assert", "(", "CE", "&&", "", ")", ";"], "ground_truth": ["int64_t", "Value", "=", "CE", "->", "getValue", "(", ")", ";"], "File": "ARM64AsmParser", "Func": "isMemoryIndexed64SImm7", "Target": "ARM64", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 28310, "Length": 41, "Cover_Rate": 0.4880952380952381} {"Template_token": ["", "bool", "isMemoryIndexed64SImm7", "(", ")", "const", "{", "if", "(", "!", "isMem", "(", ")", "||", "Mem", ".", "Mode", "!=", "ImmediateOffset", ")", "return", "false", ";", "if", "(", "!", "Mem", ".", "OffsetImm", ")", "return", "true", ";", "const", "MCConstantExpr", "*", "CE", "=", "dyn_cast", "<", "MCConstantExpr", ">", "(", "Mem", ".", "OffsetImm", ")", ";", "assert", "(", "CE", "&&", "", ")", ";", "int64_t", "Value", "=", "CE", "->", "getValue", "(", ")", ";"], "ground_truth": ["return", "(", "(", "Value", "%", "", ")", "==", "", ")", "&&", "Value", ">=", "-", "", "&&", "Value", "<=", "", ";"], "File": "ARM64AsmParser", "Func": "isMemoryIndexed64SImm7", "Target": "ARM64", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 28311, "Length": 83, "Cover_Rate": 0.9880952380952381} {"Template_token": ["", "bool", "isMemoryIndexed8", "(", ")", "const", "{", "return", "isMemoryIndexed", "(", "", ")", ";"], "ground_truth": ["}"], "File": "ARM64AsmParser", "Func": "isMemoryIndexed8", "Target": "ARM64", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 28312, "Length": 13, "Cover_Rate": 1.0} {"Template_token": ["", "bool", "isMemoryIndexed8", "(", ")", "const", "{", "return", "isMemoryIndexed", "(", "", ")", ";"], "ground_truth": ["}"], "File": "ARM64AsmParser", "Func": "isMemoryIndexed8", "Target": "ARM64", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 28313, "Length": 13, "Cover_Rate": 1.0} {"Template_token": ["", "const", "MCConstantExpr", "*", "CE", "=", "dyn_cast", "<", "MCConstantExpr", ">", "(", "Mem", ".", "OffsetImm", ")", ";", "assert", "(", "CE", "&&", "", ")", ";"], "ground_truth": ["int64_t", "Value", "=", "CE", "->", "getValue", "(", ")", ";"], "File": "ARM64AsmParser", "Func": "isMemoryIndexedSImm9", "Target": "ARM64", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 28314, "Length": 31, "Cover_Rate": 0.4189189189189189} {"Template_token": ["", "if", "(", "!", "isMem", "(", ")", ")", "return", "false", ";", "if", "(", "Mem", ".", "Mode", "!=", "ImmediateOffset", ")", "return", "false", ";"], "ground_truth": ["if", "(", "!", "Mem", ".", "OffsetImm", ")", "return", "true", ";"], "File": "ARM64AsmParser", "Func": "isMemoryNoIndex", "Target": "ARM64", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 28315, "Length": 31, "Cover_Rate": 0.4305555555555556} {"Template_token": ["", "bool", "isMemoryRegisterOffset128", "(", ")", "const", "{", "return", "isMem", "(", ")", "&&", "Mem", ".", "Mode", "==", "RegisterOffset", "&&", "(", "Mem", ".", "ShiftVal", "==", "", "||", "Mem", ".", "ShiftVal", "==", "", ")", ";"], "ground_truth": ["}"], "File": "ARM64AsmParser", "Func": "isMemoryRegisterOffset128", "Target": "ARM64", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 28316, "Length": 32, "Cover_Rate": 1.0} {"Template_token": ["", "bool", "isMemoryRegisterOffset16", "(", ")", "const", "{"], "ground_truth": ["return", "isMem", "(", ")", "&&", "Mem", ".", "Mode", "==", "RegisterOffset", "&&", "(", "Mem", ".", "ShiftVal", "==", "", "||", "Mem", ".", "ShiftVal", "==", "", ")", ";"], "File": "ARM64AsmParser", "Func": "isMemoryRegisterOffset16", "Target": "ARM64", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 28317, "Length": 31, "Cover_Rate": 0.96875} {"Template_token": ["", "bool", "isMemoryRegisterOffset16", "(", ")", "const", "{"], "ground_truth": ["return", "isMem", "(", ")", "&&", "Mem", ".", "Mode", "==", "RegisterOffset", "&&", "(", "Mem", ".", "ShiftVal", "==", "", "||", "Mem", ".", "ShiftVal", "==", "", ")", ";"], "File": "ARM64AsmParser", "Func": "isMemoryRegisterOffset16", "Target": "ARM64", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 28318, "Length": 31, "Cover_Rate": 0.96875} {"Template_token": ["", "bool", "isMemoryRegisterOffset32", "(", ")", "const", "{", "return", "isMem", "(", ")", "&&", "Mem", ".", "Mode", "==", "RegisterOffset", "&&", "(", "Mem", ".", "ShiftVal", "==", "", "||", "Mem", ".", "ShiftVal", "==", "", ")", ";"], "ground_truth": ["}"], "File": "ARM64AsmParser", "Func": "isMemoryRegisterOffset32", "Target": "ARM64", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 28319, "Length": 32, "Cover_Rate": 1.0} {"Template_token": ["", "bool", "isMemoryRegisterOffset64", "(", ")", "const", "{"], "ground_truth": ["return", "isMem", "(", ")", "&&", "Mem", ".", "Mode", "==", "RegisterOffset", "&&", "(", "Mem", ".", "ShiftVal", "==", "", "||", "Mem", ".", "ShiftVal", "==", "", ")", ";"], "File": "ARM64AsmParser", "Func": "isMemoryRegisterOffset64", "Target": "ARM64", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 28321, "Length": 31, "Cover_Rate": 0.96875} {"Template_token": ["", "bool", "isMemoryRegisterOffset64", "(", ")", "const", "{", "return", "isMem", "(", ")", "&&", "Mem", ".", "Mode", "==", "RegisterOffset", "&&", "(", "Mem", ".", "ShiftVal", "==", "", "||", "Mem", ".", "ShiftVal", "==", "", ")", ";"], "ground_truth": ["}"], "File": "ARM64AsmParser", "Func": "isMemoryRegisterOffset64", "Target": "ARM64", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 28322, "Length": 32, "Cover_Rate": 1.0} {"Template_token": ["", "return", "isMem", "(", ")", "&&", "Mem", ".", "Mode", "==", "RegisterOffset", "&&", "Mem", ".", "ShiftVal", "==", "", ";"], "ground_truth": ["}"], "File": "ARM64AsmParser", "Func": "isMemoryRegisterOffset8", "Target": "ARM64", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 28323, "Length": 18, "Cover_Rate": 0.75} {"Template_token": ["", "return", "isMem", "(", ")", "&&", "Mem", ".", "Mode", "==", "RegisterOffset", "&&", "Mem", ".", "ShiftVal", "==", "", ";"], "ground_truth": ["}"], "File": "ARM64AsmParser", "Func": "isMemoryRegisterOffset8", "Target": "ARM64", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 28324, "Length": 18, "Cover_Rate": 0.75} {"Template_token": ["", "if", "(", "!", "isMem", "(", ")", ")", "return", "false", ";"], "ground_truth": ["if", "(", "Mem", ".", "Mode", "!=", "ImmediateOffset", ")", "return", "false", ";"], "File": "ARM64AsmParser", "Func": "isMemorySIMDNoIndex", "Target": "ARM64", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 28326, "Length": 21, "Cover_Rate": 0.6} {"Template_token": ["", "bool", "isMemoryUnscaled", "(", ")", "const", "{", "if", "(", "!", "isMem", "(", ")", ")", "return", "false", ";", "if", "(", "Mem", ".", "Mode", "!=", "ImmediateOffset", ")", "return", "false", ";", "if", "(", "!", "Mem", ".", "OffsetImm", ")", "return", "true", ";", "const", "MCConstantExpr", "*", "CE", "=", "dyn_cast", "<", "MCConstantExpr", ">", "(", "Mem", ".", "OffsetImm", ")", ";", "if", "(", "!", "CE", ")", "return", "false", ";", "int64_t", "Value", "=", "CE", "->", "getValue", "(", ")", ";", "return", "(", "Value", ">=", "-", "", "&&", "Value", "<", "", ")", ";"], "ground_truth": ["}"], "File": "ARM64AsmParser", "Func": "isMemoryUnscaled", "Target": "ARM64", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 28327, "Length": 82, "Cover_Rate": 1.0} {"Template_token": ["", "bool", "isMemoryUnscaled", "(", ")", "const", "{", "if", "(", "!", "isMem", "(", ")", ")", "return", "false", ";", "if", "(", "Mem", ".", "Mode", "!=", "ImmediateOffset", ")", "return", "false", ";", "if", "(", "!", "Mem", ".", "OffsetImm", ")", "return", "true", ";", "const", "MCConstantExpr", "*", "CE", "=", "dyn_cast", "<", "MCConstantExpr", ">", "(", "Mem", ".", "OffsetImm", ")", ";", "if", "(", "!", "CE", ")", "return", "false", ";"], "ground_truth": ["int64_t", "Value", "=", "CE", "->", "getValue", "(", ")", ";"], "File": "ARM64AsmParser", "Func": "isMemoryUnscaled", "Target": "ARM64", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 28328, "Length": 69, "Cover_Rate": 0.8414634146341463} {"Template_token": ["", "bool", "isMemoryUnscaledFB128", "(", ")", "const", "{", "return", "isMemoryUnscaled", "(", ")", "&&", "!", "isMemoryIndexed128", "(", ")", ";"], "ground_truth": ["}"], "File": "ARM64AsmParser", "Func": "isMemoryUnscaledFB128", "Target": "ARM64", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 28329, "Length": 17, "Cover_Rate": 1.0} {"Template_token": ["", "bool", "isMemoryUnscaledFB128", "(", ")", "const", "{"], "ground_truth": ["return", "isMemoryUnscaled", "(", ")", "&&", "!", "isMemoryIndexed128", "(", ")", ";"], "File": "ARM64AsmParser", "Func": "isMemoryUnscaledFB128", "Target": "ARM64", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 28330, "Length": 16, "Cover_Rate": 0.9411764705882353} {"Template_token": ["", "return", "isMemoryUnscaled", "(", ")", "&&", "!", "isMemoryIndexed16", "(", ")", ";"], "ground_truth": ["}"], "File": "ARM64AsmParser", "Func": "isMemoryUnscaledFB16", "Target": "ARM64", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 28331, "Length": 11, "Cover_Rate": 0.6470588235294118} {"Template_token": ["", "return", "isMemoryUnscaled", "(", ")", "&&", "!", "isMemoryIndexed16", "(", ")", ";"], "ground_truth": ["}"], "File": "ARM64AsmParser", "Func": "isMemoryUnscaledFB16", "Target": "ARM64", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 28332, "Length": 11, "Cover_Rate": 0.6470588235294118} {"Template_token": ["", "bool", "isMemoryUnscaledFB32", "(", ")", "const", "{", "return", "isMemoryUnscaled", "(", ")", "&&", "!", "isMemoryIndexed32", "(", ")", ";"], "ground_truth": ["}"], "File": "ARM64AsmParser", "Func": "isMemoryUnscaledFB32", "Target": "ARM64", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 28334, "Length": 17, "Cover_Rate": 1.0} {"Template_token": ["", "bool", "isMemoryUnscaledFB64", "(", ")", "const", "{", "return", "isMemoryUnscaled", "(", ")", "&&", "!", "isMemoryIndexed64", "(", ")", ";"], "ground_truth": ["}"], "File": "ARM64AsmParser", "Func": "isMemoryUnscaledFB64", "Target": "ARM64", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 28336, "Length": 17, "Cover_Rate": 1.0} {"Template_token": ["", "return", "", "(", "Val", ")", "==", "", "&&", "(", "Shift", "==", "", "||", "Shift", "==", "", ")", ";"], "ground_truth": ["}"], "File": "ARM64AsmParser", "Func": "isMoveVecShifter", "Target": "ARM64", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 28339, "Length": 19, "Cover_Rate": 0.3392857142857143} {"Template_token": ["", "if", "(", "!", "isShifter", "(", ")", ")", "return", "false", ";", "", "ST", "=", "", "(", "Shifter", ".", "Val", ")", ";"], "ground_truth": ["if", "(", "ST", "!=", "", ")", "return", "false", ";"], "File": "ARM64AsmParser", "Func": "isMovImm32Shifter", "Target": "ARM64", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 28340, "Length": 29, "Cover_Rate": 0.4461538461538462} {"Template_token": ["", "if", "(", "!", "isShifter", "(", ")", ")", "return", "false", ";", "", "ST", "=", "", "(", "Shifter", ".", "Val", ")", ";", "if", "(", "ST", "!=", "", ")", "return", "false", ";", "uint64_t", "Val", "=", "", "(", "Shifter", ".", "Val", ")", ";"], "ground_truth": ["return", "(", "Val", "==", "", "||", "Val", "==", "", ")", ";"], "File": "ARM64AsmParser", "Func": "isMovImm32Shifter", "Target": "ARM64", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 28341, "Length": 50, "Cover_Rate": 0.7692307692307693} {"Template_token": ["", "if", "(", "ST", "!=", "", ")", "return", "false", ";", "uint64_t", "Val", "=", "", "(", "Shifter", ".", "Val", ")", ";"], "ground_truth": ["return", "(", "Val", "==", "", "||", "Val", "==", "", "||", "Val", "==", "", "||", "Val", "==", "", ")", ";"], "File": "ARM64AsmParser", "Func": "isMovImm64Shifter", "Target": "ARM64", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 28342, "Length": 38, "Cover_Rate": 0.5205479452054794} {"Template_token": ["", "bool", "isMovImm64Shifter", "(", ")", "const", "{", "if", "(", "!", "isShifter", "(", ")", ")", "return", "false", ";", "", "ST", "=", "", "(", "Shifter", ".", "Val", ")", ";", "if", "(", "ST", "!=", "", ")", "return", "false", ";", "uint64_t", "Val", "=", "", "(", "Shifter", ".", "Val", ")", ";"], "ground_truth": ["return", "(", "Val", "==", "", "||", "Val", "==", "", "||", "Val", "==", "", "||", "Val", "==", "", ")", ";"], "File": "ARM64AsmParser", "Func": "isMovImm64Shifter", "Target": "ARM64", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 28343, "Length": 64, "Cover_Rate": 0.8767123287671232} {"Template_token": ["", "static", "MCExpr", "::", "VariantKind", "Variants", "[", "]", "=", "{", "MCExpr", "::", "VK_ABS_G0_NC", ",", "MCExpr", "::", "VK_GOTTPREL_G0_NC", ",", "MCExpr", "::", "VK_TPREL_G0_NC", ",", "MCExpr", "::", "VK_DTPREL_G0_NC", "}", ";"], "ground_truth": ["return", "isMovWSymbol", "(", "Variants", ")", ";"], "File": "ARM64AsmParser", "Func": "isMovKSymbolG0", "Target": "ARM64", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 28344, "Length": 32, "Cover_Rate": 0.8205128205128205} {"Template_token": ["", "MCExpr", "::", "VK_ABS_G0_NC", ",", "MCExpr", "::", "VK_GOTTPREL_G0_NC", ",", "MCExpr", "::", "VK_TPREL_G0_NC", ",", "MCExpr", "::", "VK_DTPREL_G0_NC", "}", ";"], "ground_truth": ["return", "isMovWSymbol", "(", "Variants", ")", ";"], "File": "ARM64AsmParser", "Func": "isMovKSymbolG0", "Target": "ARM64", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 28345, "Length": 23, "Cover_Rate": 0.5897435897435898} {"Template_token": ["", "MCExpr", "::", "VK_ABS_G1_NC", ",", "MCExpr", "::", "VK_TPREL_G1_NC", ",", "MCExpr", "::", "VK_DTPREL_G1_NC", "}", ";", "return", "isMovWSymbol", "(", "Variants", ")", ";"], "ground_truth": ["}"], "File": "ARM64AsmParser", "Func": "isMovKSymbolG1", "Target": "ARM64", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 28346, "Length": 20, "Cover_Rate": 0.5714285714285714} {"Template_token": ["", "static", "MCExpr", "::", "VariantKind", "Variants", "[", "]", "=", "{", "MCExpr", "::", "VK_ABS_G1_NC", ",", "MCExpr", "::", "VK_TPREL_G1_NC", ",", "MCExpr", "::", "VK_DTPREL_G1_NC", "}", ";"], "ground_truth": ["return", "isMovWSymbol", "(", "Variants", ")", ";"], "File": "ARM64AsmParser", "Func": "isMovKSymbolG1", "Target": "ARM64", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 28347, "Length": 28, "Cover_Rate": 0.8} {"Template_token": ["", "static", "MCExpr", "::", "VariantKind", "Variants", "[", "]", "=", "{", "MCExpr", "::", "VK_ABS_G3", "}", ";", "return", "isMovWSymbol", "(", "Variants", ")", ";"], "ground_truth": ["}"], "File": "ARM64AsmParser", "Func": "isMovKSymbolG3", "Target": "ARM64", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 28349, "Length": 21, "Cover_Rate": 0.7777777777777778} {"Template_token": ["", "static", "MCExpr", "::", "VariantKind", "Variants", "[", "]", "=", "{", "MCExpr", "::", "VK_ABS_G3", "}", ";", "return", "isMovWSymbol", "(", "Variants", ")", ";"], "ground_truth": ["}"], "File": "ARM64AsmParser", "Func": "isMovKSymbolG3", "Target": "ARM64", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 28350, "Length": 21, "Cover_Rate": 0.7777777777777778} {"Template_token": ["", "return", "false", ";", "}", "if", "(", "DarwinRefKind", "!=", "MCSymbolRefExpr", "::", "VK_None", ")", "return", "false", ";"], "ground_truth": ["for", "(", "unsigned", "i", "=", "", ";", "i", "!=", "AllowedModifiers", ".", "size", "(", ")", ";", "++", "i", ")", "{"], "File": "ARM64AsmParser", "Func": "isMovWSymbol", "Target": "ARM64", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 28351, "Length": 34, "Cover_Rate": 0.3148148148148148} {"Template_token": ["", "if", "(", "!", "isImm", "(", ")", ")", "return", "false", ";", "MCExpr", "::", "VariantKind", "ELFRefKind", ";", "MCSymbolRefExpr", "::", "VariantKind", "DarwinRefKind", ";", "int64_t", "Addend", ";", "if", "(", "!", "AsmParser", "::", "classifySymbolRef", "(", "getImm", "(", ")", ",", "ELFRefKind", ",", "DarwinRefKind", ",", "Addend", ")", ")", "{", "return", "false", ";", "}", "if", "(", "DarwinRefKind", "!=", "MCSymbolRefExpr", "::", "VK_None", ")", "return", "false", ";", "for", "(", "unsigned", "i", "=", "", ";", "i", "!=", "AllowedModifiers", ".", "size", "(", ")", ";", "++", "i", ")", "{", "if", "(", "ELFRefKind", "==", "AllowedModifiers", "[", "i", "]", ")", "return", "Addend", "==", "", ";", "}", "return", "false", ";"], "ground_truth": ["}"], "File": "ARM64AsmParser", "Func": "isMovWSymbol", "Target": "ARM64", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 28352, "Length": 95, "Cover_Rate": 0.8796296296296297} {"Template_token": ["", "bool", "isMovZSymbolG0", "(", ")", "const", "{", "static", "MCExpr", "::", "VariantKind", "Variants", "[", "]", "=", "{", "MCExpr", "::", "VK_ABS_G0", ",", "MCExpr", "::", "VK_ABS_G0_S", ",", "MCExpr", "::", "VK_TPREL_G0", ",", "MCExpr", "::", "VK_DTPREL_G0", "}", ";", "return", "isMovWSymbol", "(", "Variants", ")", ";"], "ground_truth": ["}"], "File": "ARM64AsmParser", "Func": "isMovZSymbolG0", "Target": "ARM64", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 28353, "Length": 39, "Cover_Rate": 1.0} {"Template_token": ["", "bool", "isMovZSymbolG1", "(", ")", "const", "{", "static", "MCExpr", "::", "VariantKind", "Variants", "[", "]", "=", "{", "MCExpr", "::", "VK_ABS_G1", ",", "MCExpr", "::", "VK_ABS_G1_S", ",", "MCExpr", "::", "VK_GOTTPREL_G1", ",", "MCExpr", "::", "VK_TPREL_G1", ",", "MCExpr", "::", "VK_DTPREL_G1", ",", "}", ";", "return", "isMovWSymbol", "(", "Variants", ")", ";"], "ground_truth": ["}"], "File": "ARM64AsmParser", "Func": "isMovZSymbolG1", "Target": "ARM64", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 28354, "Length": 44, "Cover_Rate": 1.0} {"Template_token": ["", "bool", "isMovZSymbolG1", "(", ")", "const", "{", "static", "MCExpr", "::", "VariantKind", "Variants", "[", "]", "=", "{", "MCExpr", "::", "VK_ABS_G1", ",", "MCExpr", "::", "VK_ABS_G1_S", ",", "MCExpr", "::", "VK_GOTTPREL_G1", ",", "MCExpr", "::", "VK_TPREL_G1", ",", "MCExpr", "::", "VK_DTPREL_G1", ",", "}", ";", "return", "isMovWSymbol", "(", "Variants", ")", ";"], "ground_truth": ["}"], "File": "ARM64AsmParser", "Func": "isMovZSymbolG1", "Target": "ARM64", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 28355, "Length": 44, "Cover_Rate": 1.0} {"Template_token": ["", "bool", "isMovZSymbolG2", "(", ")", "const", "{", "static", "MCExpr", "::", "VariantKind", "Variants", "[", "]", "=", "{", "MCExpr", "::", "VK_ABS_G2", ",", "MCExpr", "::", "VK_ABS_G2_S", ",", "MCExpr", "::", "VK_TPREL_G2", ",", "MCExpr", "::", "VK_DTPREL_G2", "}", ";", "return", "isMovWSymbol", "(", "Variants", ")", ";"], "ground_truth": ["}"], "File": "ARM64AsmParser", "Func": "isMovZSymbolG2", "Target": "ARM64", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 28356, "Length": 39, "Cover_Rate": 1.0} {"Template_token": ["", "bool", "isMRSSystemRegister", "(", ")", "const", "{", "if", "(", "!", "isSysReg", "(", ")", ")", "return", "false", ";", "bool", "IsKnownRegister", ";", "", "(", ")", ".", "fromString", "(", "getSysReg", "(", ")", ",", "IsKnownRegister", ")", ";"], "ground_truth": ["return", "IsKnownRegister", ";"], "File": "ARM64AsmParser", "Func": "isMRSSystemRegister", "Target": "ARM64", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 28358, "Length": 35, "Cover_Rate": 0.9210526315789473} {"Template_token": ["", "if", "(", "!", "isSysReg", "(", ")", ")", "return", "false", ";", "bool", "IsKnownRegister", ";", "", "(", ")", ".", "fromString", "(", "getSysReg", "(", ")", ",", "IsKnownRegister", ")", ";"], "ground_truth": ["return", "IsKnownRegister", ";"], "File": "ARM64AsmParser", "Func": "isMRSSystemRegister", "Target": "ARM64", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 28359, "Length": 29, "Cover_Rate": 0.7631578947368421} {"Template_token": ["", "bool", "isPCRelLabel19", "(", ")", "const", "{", "if", "(", "!", "isImm", "(", ")", ")", "return", "false", ";", "const", "MCConstantExpr", "*", "MCE", "=", "dyn_cast", "<", "MCConstantExpr", ">", "(", "getImm", "(", ")", ")", ";"], "ground_truth": ["if", "(", "!", "MCE", ")", "return", "true", ";"], "File": "ARM64AsmParser", "Func": "isPCRelLabel19", "Target": "ARM64", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 28360, "Length": 39, "Cover_Rate": 0.5} {"Template_token": ["", "return", "Kind", "==", "k_Prefetch", ";"], "ground_truth": ["}"], "File": "ARM64AsmParser", "Func": "isPrefetch", "Target": "ARM64", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 28361, "Length": 6, "Cover_Rate": 0.5} {"Template_token": ["", "return", "Kind", "==", "k_Prefetch", ";"], "ground_truth": ["}"], "File": "ARM64AsmParser", "Func": "isPrefetch", "Target": "ARM64", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 28362, "Length": 6, "Cover_Rate": 0.5} {"Template_token": ["", "bool", "isReg", "(", ")", "const", "{"], "ground_truth": ["return", "Kind", "==", "k_Register", "&&", "!", "Reg", ".", "isVector", ";"], "File": "ARM64AsmParser", "Func": "isReg", "Target": "ARM64", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 28364, "Length": 16, "Cover_Rate": 0.9411764705882353} {"Template_token": ["", "return", "Kind", "==", "k_Shifter", ";"], "ground_truth": ["}"], "File": "ARM64AsmParser", "Func": "isShifter", "Target": "ARM64", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 28365, "Length": 6, "Cover_Rate": 0.5} {"Template_token": ["", "if", "(", "!", "isImm", "(", ")", ")", "return", "false", ";", "const", "MCConstantExpr", "*", "MCE", "=", "dyn_cast", "<", "MCConstantExpr", ">", "(", "getImm", "(", ")", ")", ";"], "ground_truth": ["if", "(", "!", "MCE", ")", "return", "false", ";"], "File": "ARM64AsmParser", "Func": "isSIMDImmType10", "Target": "ARM64", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 28367, "Length": 33, "Cover_Rate": 0.6346153846153846} {"Template_token": ["", "const", "MCConstantExpr", "*", "MCE", "=", "dyn_cast", "<", "MCConstantExpr", ">", "(", "getImm", "(", ")", ")", ";"], "ground_truth": ["if", "(", "!", "MCE", ")", "return", "false", ";"], "File": "ARM64AsmParser", "Func": "isSIMDImmType10", "Target": "ARM64", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 28368, "Length": 23, "Cover_Rate": 0.4423076923076923} {"Template_token": ["", "if", "(", "!", "isImm", "(", ")", ")", "return", "false", ";", "const", "MCConstantExpr", "*", "MCE", "=", "dyn_cast", "<", "MCConstantExpr", ">", "(", "getImm", "(", ")", ")", ";", "if", "(", "!", "MCE", ")", "return", "false", ";"], "ground_truth": ["int64_t", "Val", "=", "MCE", "->", "getValue", "(", ")", ";"], "File": "ARM64AsmParser", "Func": "isSImm7s16", "Target": "ARM64", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 28369, "Length": 42, "Cover_Rate": 0.6086956521739131} {"Template_token": ["", "if", "(", "!", "isImm", "(", ")", ")", "return", "false", ";", "const", "MCConstantExpr", "*", "MCE", "=", "dyn_cast", "<", "MCConstantExpr", ">", "(", "getImm", "(", ")", ")", ";", "if", "(", "!", "MCE", ")", "return", "false", ";", "int64_t", "Val", "=", "MCE", "->", "getValue", "(", ")", ";"], "ground_truth": ["return", "(", "Val", ">=", "-", "", "&&", "Val", "<=", "", "&&", "(", "Val", "&", "", ")", "==", "", ")", ";"], "File": "ARM64AsmParser", "Func": "isSImm7s16", "Target": "ARM64", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 28370, "Length": 62, "Cover_Rate": 0.8985507246376812} {"Template_token": ["", "const", "MCConstantExpr", "*", "MCE", "=", "dyn_cast", "<", "MCConstantExpr", ">", "(", "getImm", "(", ")", ")", ";", "if", "(", "!", "MCE", ")", "return", "false", ";", "int64_t", "Val", "=", "MCE", "->", "getValue", "(", ")", ";"], "ground_truth": ["return", "(", "Val", ">=", "-", "", "&&", "Val", "<=", "", "&&", "(", "Val", "&", "", ")", "==", "", ")", ";"], "File": "ARM64AsmParser", "Func": "isSImm7s4", "Target": "ARM64", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 28371, "Length": 52, "Cover_Rate": 0.7536231884057971} {"Template_token": ["", "if", "(", "!", "isImm", "(", ")", ")", "return", "false", ";"], "ground_truth": ["const", "MCConstantExpr", "*", "MCE", "=", "dyn_cast", "<", "MCConstantExpr", ">", "(", "getImm", "(", ")", ")", ";"], "File": "ARM64AsmParser", "Func": "isSImm7s8", "Target": "ARM64", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 28372, "Length": 25, "Cover_Rate": 0.36231884057971014} {"Template_token": ["", "bool", "isSImm7s8", "(", ")", "const", "{", "if", "(", "!", "isImm", "(", ")", ")", "return", "false", ";", "const", "MCConstantExpr", "*", "MCE", "=", "dyn_cast", "<", "MCConstantExpr", ">", "(", "getImm", "(", ")", ")", ";", "if", "(", "!", "MCE", ")", "return", "false", ";", "int64_t", "Val", "=", "MCE", "->", "getValue", "(", ")", ";", "return", "(", "Val", ">=", "-", "", "&&", "Val", "<=", "", "&&", "(", "Val", "&", "", ")", "==", "", ")", ";"], "ground_truth": ["}"], "File": "ARM64AsmParser", "Func": "isSImm7s8", "Target": "ARM64", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 28373, "Length": 69, "Cover_Rate": 1.0} {"Template_token": ["", "bool", "isSImm9", "(", ")", "const", "{", "if", "(", "!", "isImm", "(", ")", ")", "return", "false", ";", "const", "MCConstantExpr", "*", "MCE", "=", "dyn_cast", "<", "MCConstantExpr", ">", "(", "getImm", "(", ")", ")", ";", "if", "(", "!", "MCE", ")", "return", "false", ";"], "ground_truth": ["int64_t", "Val", "=", "MCE", "->", "getValue", "(", ")", ";"], "File": "ARM64AsmParser", "Func": "isSImm9", "Target": "ARM64", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 28374, "Length": 48, "Cover_Rate": 0.7868852459016393} {"Template_token": ["", "if", "(", "!", "isImm", "(", ")", ")", "return", "false", ";", "const", "MCConstantExpr", "*", "MCE", "=", "dyn_cast", "<", "MCConstantExpr", ">", "(", "getImm", "(", ")", ")", ";"], "ground_truth": ["if", "(", "!", "MCE", ")", "return", "false", ";"], "File": "ARM64AsmParser", "Func": "isSImm9", "Target": "ARM64", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 28375, "Length": 33, "Cover_Rate": 0.5409836065573771} {"Template_token": ["", "bool", "isSysCR", "(", ")", "const", "{"], "ground_truth": ["return", "Kind", "==", "k_SysCR", ";"], "File": "ARM64AsmParser", "Func": "isSysCR", "Target": "ARM64", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 28376, "Length": 11, "Cover_Rate": 0.9166666666666666} {"Template_token": ["", "return", "Kind", "==", "k_SysCR", ";"], "ground_truth": ["}"], "File": "ARM64AsmParser", "Func": "isSysCR", "Target": "ARM64", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 28377, "Length": 6, "Cover_Rate": 0.5} {"Template_token": ["", "return", "Kind", "==", "k_SysReg", ";"], "ground_truth": ["}"], "File": "ARM64AsmParser", "Func": "isSysReg", "Target": "ARM64", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 28379, "Length": 6, "Cover_Rate": 0.5} {"Template_token": ["", "bool", "isSystemCPSRField", "(", ")", "const", "{", "if", "(", "!", "isSysReg", "(", ")", ")", "return", "false", ";", "bool", "IsKnownRegister", ";"], "ground_truth": ["", "(", ")", ".", "fromString", "(", "getSysReg", "(", ")", ",", "IsKnownRegister", ")", ";"], "File": "ARM64AsmParser", "Func": "isSystemCPSRField", "Target": "ARM64", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 28380, "Length": 32, "Cover_Rate": 0.8421052631578947} {"Template_token": ["", "bool", "isSystemCPSRField", "(", ")", "const", "{"], "ground_truth": ["if", "(", "!", "isSysReg", "(", ")", ")", "return", "false", ";"], "File": "ARM64AsmParser", "Func": "isSystemCPSRField", "Target": "ARM64", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 28381, "Length": 16, "Cover_Rate": 0.42105263157894735} {"Template_token": ["", "return", "Kind", "==", "k_Token", "&&", "getToken", "(", ")", "==", "Str", ";"], "ground_truth": ["}"], "File": "ARM64AsmParser", "Func": "isTokenEqual", "Target": "ARM64", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 28384, "Length": 12, "Cover_Rate": 0.6} {"Template_token": ["", "assert", "(", "Kind", "==", "k_Token", "&&", "", ")", ";", "return", "Tok", ".", "IsSuffix", ";"], "ground_truth": ["}"], "File": "ARM64AsmParser", "Func": "isTokenSuffix", "Target": "ARM64", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 28386, "Length": 15, "Cover_Rate": 0.7142857142857143} {"Template_token": ["", "if", "(", "VectorList", ".", "ElementKind", "!=", "ElementKind", ")", "return", "false", ";"], "ground_truth": ["return", "VectorList", ".", "NumElements", "==", "NumElements", ";"], "File": "ARM64AsmParser", "Func": "isTypedVectorList", "Target": "ARM64", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 28387, "Length": 18, "Cover_Rate": 0.4} {"Template_token": ["", "if", "(", "VectorList", ".", "ElementKind", "!=", "ElementKind", ")", "return", "false", ";", "return", "VectorList", ".", "NumElements", "==", "NumElements", ";"], "ground_truth": ["}"], "File": "ARM64AsmParser", "Func": "isTypedVectorList", "Target": "ARM64", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 28388, "Length": 19, "Cover_Rate": 0.4222222222222222} {"Template_token": ["", "static", "bool", "isValidVectorKind", "(", "StringRef", "Name", ")", "{", "return", "StringSwitch", "<", "bool", ">", "(", "Name", ".", "lower", "(", ")", ")", ".", "Case", "(", "", ",", "true", ")", ".", "Case", "(", "", ",", "true", ")", ".", "Case", "(", "", ",", "true", ")", ".", "Case", "(", "", ",", "true", ")", ".", "Case", "(", "", ",", "true", ")", ".", "Case", "(", "", ",", "true", ")", ".", "Case", "(", "", ",", "true", ")", ".", "Case", "(", "", ",", "true", ")", ".", "Case", "(", "", ",", "true", ")", ".", "Case", "(", "", ",", "true", ")", ".", "Case", "(", "", ",", "true", ")", ".", "Case", "(", "", ",", "true", ")", ".", "Case", "(", "", ",", "true", ")", ".", "Default", "(", "false", ")", ";"], "ground_truth": ["}"], "File": "ARM64AsmParser", "Func": "isValidVectorKind", "Target": "ARM64", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 28389, "Length": 118, "Cover_Rate": 1.0} {"Template_token": ["", "bool", "isVectorIndexB", "(", ")", "const", "{", "return", "Kind", "==", "k_VectorIndex", "&&", "VectorIndex", ".", "Val", "<", "", ";"], "ground_truth": ["}"], "File": "ARM64AsmParser", "Func": "isVectorIndexB", "Target": "ARM64", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 28391, "Length": 18, "Cover_Rate": 1.0} {"Template_token": ["", "bool", "isVectorIndexB", "(", ")", "const", "{", "return", "Kind", "==", "k_VectorIndex", "&&", "VectorIndex", ".", "Val", "<", "", ";"], "ground_truth": ["}"], "File": "ARM64AsmParser", "Func": "isVectorIndexB", "Target": "ARM64", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 28392, "Length": 18, "Cover_Rate": 1.0} {"Template_token": ["", "bool", "isVectorIndexH", "(", ")", "const", "{"], "ground_truth": ["return", "Kind", "==", "k_VectorIndex", "&&", "VectorIndex", ".", "Val", "<", "", ";"], "File": "ARM64AsmParser", "Func": "isVectorIndexH", "Target": "ARM64", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 28395, "Length": 17, "Cover_Rate": 0.9444444444444444} {"Template_token": ["", "return", "Kind", "==", "k_VectorIndex", "&&", "VectorIndex", ".", "Val", "<", "", ";"], "ground_truth": ["}"], "File": "ARM64AsmParser", "Func": "isVectorIndexH", "Target": "ARM64", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 28396, "Length": 12, "Cover_Rate": 0.6666666666666666} {"Template_token": ["", "return", "Kind", "==", "k_VectorIndex", "&&", "VectorIndex", ".", "Val", "<", "", ";"], "ground_truth": ["}"], "File": "ARM64AsmParser", "Func": "isVectorIndexS", "Target": "ARM64", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 28397, "Length": 12, "Cover_Rate": 0.6666666666666666} {"Template_token": ["", "bool", "isVectorIndexS", "(", ")", "const", "{"], "ground_truth": ["return", "Kind", "==", "k_VectorIndex", "&&", "VectorIndex", ".", "Val", "<", "", ";"], "File": "ARM64AsmParser", "Func": "isVectorIndexS", "Target": "ARM64", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 28398, "Length": 17, "Cover_Rate": 0.9444444444444444} {"Template_token": ["", "return", "Kind", "==", "k_Register", "&&", "Reg", ".", "isVector", ";"], "ground_truth": ["}"], "File": "ARM64AsmParser", "Func": "isVectorReg", "Target": "ARM64", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 28399, "Length": 10, "Cover_Rate": 0.625} {"Template_token": ["", "bool", "isVectorReg", "(", ")", "const", "{", "return", "Kind", "==", "k_Register", "&&", "Reg", ".", "isVector", ";"], "ground_truth": ["}"], "File": "ARM64AsmParser", "Func": "isVectorReg", "Target": "ARM64", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 28400, "Length": 16, "Cover_Rate": 1.0} {"Template_token": ["", "RegisterMCAsmParser", "<", "AsmParser", ">", "X", "(", "TheleTarget", ")", ";"], "ground_truth": ["RegisterMCAsmParser", "<", "AsmParser", ">", "Y", "(", "ThebeTarget", ")", ";"], "File": "ARM64AsmParser", "Func": "LLVMInitializeARM64AsmParser", "Target": "ARM64", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 28401, "Length": 18, "Cover_Rate": 0.75} {"Template_token": ["", "default", ":", "break", ";", "case", "", ":", "if", "(", "Name", "[", "", "]", "!=", "'c'", "&&", "Name", "[", "", "]", "!=", "'C'", ")", "return", "-", "", ";", "switch", "(", "Name", "[", "", "]", ")", "{", "default", ":", "return", "-", "", ";", "case", "'0'", ":", "return", "", ";", "case", "'1'", ":", "return", "", ";", "case", "'2'", ":", "return", "", ";", "case", "'3'", ":", "return", "", ";", "case", "'4'", ":", "return", "", ";", "case", "'5'", ":", "return", "", ";", "case", "'6'", ":", "return", "", ";", "case", "'7'", ":", "return", "", ";", "case", "'8'", ":", "return", "", ";", "case", "'9'", ":", "return", "", ";", "}", "break", ";", "case", "", ":", "if", "(", "(", "Name", "[", "", "]", "!=", "'c'", "&&", "Name", "[", "", "]", "!=", "'C'", ")", "||", "Name", "[", "", "]", "!=", "'1'", ")", "return", "-", "", ";", "switch", "(", "Name", "[", "", "]", ")", "{", "default", ":", "return", "-", "", ";", "case", "'0'", ":", "return", "", ";", "case", "'1'", ":", "return", "", ";", "case", "'2'", ":", "return", "", ";", "case", "'3'", ":", "return", "", ";", "case", "'4'", ":", "return", "", ";", "case", "'5'", ":", "return", "", ";", "}", "break", ";"], "ground_truth": ["}"], "File": "ARM64AsmParser", "Func": "MatchSysCRName", "Target": "ARM64", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 28403, "Length": 190, "Cover_Rate": 0.8755760368663594} {"Template_token": ["", "return", "StringSwitch", "<", "unsigned", ">", "(", "Name", ")", ".", "Case", "(", "", ",", "", ")", ".", "Case", "(", "", ",", "", ")", ".", "Case", "(", "", ",", "", ")", ".", "Case", "(", "", ",", "", ")", ".", "Case", "(", "", ",", "", ")", ".", "Case", "(", "", ",", "", ")", ".", "Case", "(", "", ",", "", ")", ".", "Case", "(", "", ",", "", ")", ".", "Case", "(", "", ",", "", ")", ".", "Case", "(", "", ",", "", ")", ".", "Case", "(", "", ",", "", ")", ".", "Case", "(", "", ",", "", ")", ".", "Case", "(", "", ",", "", ")", ".", "Case", "(", "", ",", "", ")", ".", "Case", "(", "", ",", "", ")", ".", "Case", "(", "", ",", "", ")", ".", "Case", "(", "", ",", "", ")", ".", "Case", "(", "", ",", "", ")", ".", "Case", "(", "", ",", "", ")", ".", "Case", "(", "", ",", "", ")", ".", "Case", "(", "", ",", "", ")", ".", "Case", "(", "", ",", "", ")", ".", "Case", "(", "", ",", "", ")", ".", "Case", "(", "", ",", "", ")", ".", "Case", "(", "", ",", "", ")", ".", "Case", "(", "", ",", "", ")", ".", "Case", "(", "", ",", "", ")", ".", "Case", "(", "", ",", "", ")", ".", "Case", "(", "", ",", "", ")", ".", "Case", "(", "", ",", "", ")", ".", "Case", "(", "", ",", "", ")", ".", "Case", "(", "", ",", "", ")", ".", "Default", "(", "", ")", ";"], "ground_truth": ["}"], "File": "ARM64AsmParser", "Func": "matchVectorRegName", "Target": "ARM64", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 28404, "Length": 239, "Cover_Rate": 0.7684887459807074} {"Template_token": ["", "Parser", ".", "Lex", "(", ")", ";", "if", "(", "invertCondCode", ")", "CC", "=", "", "(", "", "(", "CC", ")", ")", ";", "const", "MCExpr", "*", "CCExpr", "=", "MCConstantExpr", "::", "Create", "(", "CC", ",", "getContext", "(", ")", ")", ";"], "ground_truth": ["Operands", ".", "push_back", "(", "Operand", "::", "CreateImm", "(", "CCExpr", ",", "S", ",", "getLoc", "(", ")", ",", "getContext", "(", ")", ")", ")", ";"], "File": "ARM64AsmParser", "Func": "parseCondCode", "Target": "ARM64", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 28405, "Length": 58, "Cover_Rate": 0.4084507042253521} {"Template_token": ["", "unsigned", "AsmParser", "::", "parseCondCodeString", "(", "StringRef", "Cond", ")", "{", "unsigned", "CC", "=", "StringSwitch", "<", "unsigned", ">", "(", "Cond", ".", "lower", "(", ")", ")", ".", "Case", "(", "", ",", "", ")", ".", "Case", "(", "", ",", "", ")", ".", "Case", "(", "", ",", "", ")", ".", "Case", "(", "", ",", "", ")", ".", "Case", "(", "", ",", "", ")", ".", "Case", "(", "", ",", "", ")", ".", "Case", "(", "", ",", "", ")", ".", "Case", "(", "", ",", "", ")", ".", "Case", "(", "", ",", "", ")", ".", "Case", "(", "", ",", "", ")", ".", "Case", "(", "", ",", "", ")", ".", "Case", "(", "", ",", "", ")", ".", "Case", "(", "", ",", "", ")", ".", "Case", "(", "", ",", "", ")", ".", "Case", "(", "", ",", "", ")", ".", "Case", "(", "", ",", "", ")", ".", "Case", "(", "", ",", "", ")", ".", "Case", "(", "", ",", "", ")", ".", "Default", "(", "", ")", ";"], "ground_truth": ["return", "CC", ";"], "File": "ARM64AsmParser", "Func": "parseCondCodeString", "Target": "ARM64", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 28406, "Length": 158, "Cover_Rate": 0.8020304568527918} {"Template_token": ["", "if", "(", "IDVal", "==", "", ")", "return", "parseDirectiveWord", "(", "", ",", "Loc", ")", ";", "if", "(", "IDVal", "==", "", ")", "return", "parseDirectiveWord", "(", "", ",", "Loc", ")", ";", "if", "(", "IDVal", "==", "", ")", "return", "parseDirectiveTLSDescCall", "(", "Loc", ")", ";", "return", "parseDirectiveLOH", "(", "IDVal", ",", "Loc", ")", ";"], "ground_truth": ["}"], "File": "ARM64AsmParser", "Func": "ParseDirective", "Target": "ARM64", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 28407, "Length": 49, "Cover_Rate": 0.5444444444444444} {"Template_token": ["", "Lex", "(", ")", ";", "int", "NbArgs", "=", "MCLOHIdToNbArgs", "(", "Kind", ")", ";", "assert", "(", "NbArgs", "!=", "-", "", "&&", "", ")", ";", "SmallVector", "<", "MCSymbol", "*", ",", "", ">", "Args", ";", "for", "(", "int", "Idx", "=", "", ";", "Idx", "<", "NbArgs", ";", "++", "Idx", ")", "{", "StringRef", "Name", ";", "if", "(", "getParser", "(", ")", ".", "parseIdentifier", "(", "Name", ")", ")", "return", "TokError", "(", "", ")", ";", "Args", ".", "push_back", "(", "getContext", "(", ")", ".", "GetOrCreateSymbol", "(", "Name", ")", ")", ";", "if", "(", "Idx", "+", "", "==", "NbArgs", ")", "break", ";", "if", "(", "getLexer", "(", ")", ".", "isNot", "(", "AsmToken", "::", "Comma", ")", ")", "return", "TokError", "(", "", "+", "Twine", "(", "IDVal", ")", "+", "", ")", ";", "Lex", "(", ")", ";", "}", "if", "(", "getLexer", "(", ")", ".", "isNot", "(", "AsmToken", "::", "EndOfStatement", ")", ")", "return", "TokError", "(", "", "+", "Twine", "(", "IDVal", ")", "+", "", ")", ";"], "ground_truth": ["getStreamer", "(", ")", ".", "EmitLOHDirective", "(", "(", "MCLOHType", ")", "Kind", ",", "Args", ")", ";"], "File": "ARM64AsmParser", "Func": "parseDirectiveLOH", "Target": "ARM64", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 28408, "Length": 161, "Cover_Rate": 0.5111111111111111} {"Template_token": ["", "MCSymbol", "*", "Sym", "=", "getContext", "(", ")", ".", "GetOrCreateSymbol", "(", "Name", ")", ";", "const", "MCExpr", "*", "Expr", "=", "MCSymbolRefExpr", "::", "Create", "(", "Sym", ",", "getContext", "(", ")", ")", ";", "Expr", "=", "MCExpr", "::", "Create", "(", "Expr", ",", "MCExpr", "::", "VK_TLSDESC", ",", "getContext", "(", ")", ")", ";", "MCInst", "Inst", ";"], "ground_truth": ["Inst", ".", "setOpcode", "(", "", ")", ";"], "File": "ARM64AsmParser", "Func": "parseDirectiveTLSDescCall", "Target": "ARM64", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 28409, "Length": 56, "Cover_Rate": 0.4666666666666667} {"Template_token": ["", "bool", "AsmParser", "::", "parseDirectiveWord", "(", "unsigned", "Size", ",", "SMLoc", "L", ")", "{", "if", "(", "getLexer", "(", ")", ".", "isNot", "(", "AsmToken", "::", "EndOfStatement", ")", ")", "{", "for", "(", ";", ";", ")", "{", "const", "MCExpr", "*", "Value", ";", "if", "(", "getParser", "(", ")", ".", "parseExpression", "(", "Value", ")", ")", "return", "true", ";", "getParser", "(", ")", ".", "getStreamer", "(", ")", ".", "EmitValue", "(", "Value", ",", "Size", ")", ";", "if", "(", "getLexer", "(", ")", ".", "is", "(", "AsmToken", "::", "EndOfStatement", ")", ")", "break", ";", "if", "(", "getLexer", "(", ")", ".", "isNot", "(", "AsmToken", "::", "Comma", ")", ")", "return", "Error", "(", "L", ",", "", ")", ";"], "ground_truth": ["Parser", ".", "Lex", "(", ")", ";"], "File": "ARM64AsmParser", "Func": "parseDirectiveWord", "Target": "ARM64", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 28410, "Length": 108, "Cover_Rate": 0.9} {"Template_token": ["", "StringRef", "Head", "=", "Name", ".", "slice", "(", "Start", ",", "Next", ")", ";", "if", "(", "Head", "==", "", "||", "Head", "==", "", "||", "Head", "==", "", "||", "Head", "==", "", ")", "return", "parseSysAlias", "(", "Head", ",", "NameLoc", ",", "Operands", ")", ";", "Operands", ".", "push_back", "(", "Operand", "::", "CreateToken", "(", "Head", ",", "false", ",", "NameLoc", ",", "getContext", "(", ")", ")", ")", ";", "Mnemonic", "=", "Head", ";", "if", "(", "Head", "==", "", "&&", "Next", "!=", "StringRef", "::", "npos", ")", "{", "Start", "=", "Next", ";", "Next", "=", "Name", ".", "find", "(", "'.'", ",", "Start", "+", "", ")", ";", "Head", "=", "Name", ".", "slice", "(", "Start", "+", "", ",", "Next", ")", ";", "SMLoc", "SuffixLoc", "=", "SMLoc", "::", "getFromPointer", "(", "NameLoc", ".", "getPointer", "(", ")", "+", "(", "Head", ".", "data", "(", ")", "-", "Name", ".", "data", "(", ")", ")", ")", ";", "unsigned", "CC", "=", "parseCondCodeString", "(", "Head", ")", ";", "if", "(", "CC", "==", "", ")", "return", "Error", "(", "SuffixLoc", ",", "", ")", ";"], "ground_truth": ["const", "MCExpr", "*", "CCExpr", "=", "MCConstantExpr", "::", "Create", "(", "CC", ",", "getContext", "(", ")", ")", ";"], "File": "ARM64AsmParser", "Func": "ParseInstruction", "Target": "ARM64", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 28411, "Length": 173, "Cover_Rate": 0.3128390596745027} {"Template_token": ["", "if", "(", "!", "MCE", ")", "return", "TokError", "(", "", ")", ";", "ExplicitShift", "=", "true", ";", "ShiftVal", "=", "MCE", "->", "getValue", "(", ")", ";", "if", "(", "ShiftVal", "<", "", "||", "ShiftVal", ">", "", ")", "return", "Error", "(", "ExprLoc", ",", "", ")", ";", "}", "else", "return", "Error", "(", "getLoc", "(", ")", ",", "", ")", ";", "}", "if", "(", "Parser", ".", "getTok", "(", ")", ".", "isNot", "(", "AsmToken", "::", "RBrac", ")", ")", "return", "Error", "(", "getLoc", "(", ")", ",", "", ")", ";", "Parser", ".", "Lex", "(", ")", ";", "SMLoc", "E", "=", "getLoc", "(", ")", ";", "Operands", ".", "push_back", "(", "Operand", "::", "CreateRegOffsetMem", "(", "Reg", ",", "Reg2", ",", "ExtOp", ",", "ShiftVal", ",", "ExplicitShift", ",", "S", ",", "E", ",", "getContext", "(", ")", ")", ")", ";", "return", "false", ";", "}", "else", "if", "(", "Parser", ".", "getTok", "(", ")", ".", "is", "(", "AsmToken", "::", "Hash", ")", "||", "Parser", ".", "getTok", "(", ")", ".", "is", "(", "AsmToken", "::", "Integer", ")", ")", "{", "if", "(", "Parser", ".", "getTok", "(", ")", ".", "is", "(", "AsmToken", "::", "Hash", ")", ")", "Parser", ".", "Lex", "(", ")", ";", "if", "(", "parseSymbolicImmVal", "(", "OffsetExpr", ")", ")", "return", "true", ";", "}", "else", "{", "if", "(", "Parser", ".", "getTok", "(", ")", ".", "isNot", "(", "AsmToken", "::", "Identifier", ")", "&&", "Parser", ".", "getTok", "(", ")", ".", "isNot", "(", "AsmToken", "::", "String", ")", ")", "return", "Error", "(", "getLoc", "(", ")", ",", "", ")", ";", "if", "(", "getParser", "(", ")", ".", "parseExpression", "(", "OffsetExpr", ")", ")", "return", "true", ";", "MCExpr", "::", "VariantKind", "ELFRefKind", ";", "MCSymbolRefExpr", "::", "VariantKind", "DarwinRefKind", ";", "int64_t", "Addend", ";", "if", "(", "classifySymbolRef", "(", "OffsetExpr", ",", "ELFRefKind", ",", "DarwinRefKind", ",", "Addend", ")", "&&", "Addend", "==", "", ")", "{", "assert", "(", "ELFRefKind", "==", "MCExpr", "::", "VK_INVALID", "&&", "", ")", ";", "switch", "(", "DarwinRefKind", ")", "{", "default", ":", "return", "Error", "(", "getLoc", "(", ")", ",", "", ")", ";", "case", "MCSymbolRefExpr", "::", "VK_GOTPAGEOFF", ":", "case", "MCSymbolRefExpr", "::", "VK_PAGEOFF", ":", "case", "MCSymbolRefExpr", "::", "VK_TLVPPAGEOFF", ":"], "ground_truth": ["break", ";"], "File": "ARM64AsmParser", "Func": "parseMemory", "Target": "ARM64", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 28412, "Length": 316, "Cover_Rate": 0.317907444668008} {"Template_token": ["", "OperandMatchResultTy", "ResTy", "=", "MatchOperandParserImpl", "(", "Operands", ",", "Mnemonic", ")", ";", "if", "(", "ResTy", "==", "MatchOperand_Success", ")", "return", "false", ";", "if", "(", "ResTy", "==", "MatchOperand_ParseFail", ")", "return", "true", ";", "SMLoc", "S", ",", "E", ";", "switch", "(", "getLexer", "(", ")", ".", "getKind", "(", ")", ")", "{", "default", ":", "{", "SMLoc", "S", "=", "getLoc", "(", ")", ";", "const", "MCExpr", "*", "Expr", ";", "if", "(", "parseSymbolicImmVal", "(", "Expr", ")", ")", "return", "Error", "(", "S", ",", "", ")", ";", "SMLoc", "E", "=", "SMLoc", "::", "getFromPointer", "(", "getLoc", "(", ")", ".", "getPointer", "(", ")", "-", "", ")", ";", "Operands", ".", "push_back", "(", "Operand", "::", "CreateImm", "(", "Expr", ",", "S", ",", "E", ",", "getContext", "(", ")", ")", ")", ";", "return", "false", ";", "}", "case", "AsmToken", "::", "LBrac", ":", "return", "parseMemory", "(", "Operands", ")", ";", "case", "AsmToken", "::", "LCurly", ":", "return", "parseVectorList", "(", "Operands", ")", ";", "case", "AsmToken", "::", "Identifier", ":", "{", "if", "(", "isCondCode", ")", "return", "parseCondCode", "(", "Operands", ",", "invertCondCode", ")", ";", "if", "(", "!", "parseRegister", "(", "Operands", ")", ")", "return", "false", ";", "if", "(", "!", "parseOptionalShift", "(", "Operands", ")", ")", "return", "false", ";", "if", "(", "!", "parseOptionalExtend", "(", "Operands", ")", ")", "return", "false", ";", "const", "MCExpr", "*", "IdVal", ";", "S", "=", "getLoc", "(", ")", ";", "if", "(", "getParser", "(", ")", ".", "parseExpression", "(", "IdVal", ")", ")", "return", "true", ";", "E", "=", "SMLoc", "::", "getFromPointer", "(", "getLoc", "(", ")", ".", "getPointer", "(", ")", "-", "", ")", ";", "Operands", ".", "push_back", "(", "Operand", "::", "CreateImm", "(", "IdVal", ",", "S", ",", "E", ",", "getContext", "(", ")", ")", ")", ";", "return", "false", ";", "}", "case", "AsmToken", "::", "Integer", ":", "case", "AsmToken", "::", "Real", ":", "case", "AsmToken", "::", "Hash", ":", "{", "S", "=", "getLoc", "(", ")", ";", "if", "(", "getLexer", "(", ")", ".", "is", "(", "AsmToken", "::", "Hash", ")", ")", "Parser", ".", "Lex", "(", ")", ";", "const", "AsmToken", "&", "Tok", "=", "Parser", ".", "getTok", "(", ")", ";", "if", "(", "Tok", ".", "is", "(", "AsmToken", "::", "Real", ")", ")", "{", "APFloat", "RealVal", "(", "APFloat", "::", "IEEEdouble", ",", "Tok", ".", "getString", "(", ")", ")", ";", "uint64_t", "IntVal", "=", "RealVal", ".", "bitcastToAPInt", "(", ")", ".", "getZExtValue", "(", ")", ";", "if", "(", "IntVal", "!=", "", "||", "(", "Mnemonic", "!=", "", "&&", "Mnemonic", "!=", "", ")", ")", "return", "TokError", "(", "", ")", ";", "Parser", ".", "Lex", "(", ")", ";", "Operands", ".", "push_back", "(", "Operand", "::", "CreateToken", "(", "", ",", "false", ",", "S", ",", "getContext", "(", ")", ")", ")", ";", "Operands", ".", "push_back", "(", "Operand", "::", "CreateToken", "(", "", ",", "false", ",", "S", ",", "getContext", "(", ")", ")", ")", ";", "return", "false", ";"], "ground_truth": ["}"], "File": "ARM64AsmParser", "Func": "parseOperand", "Target": "ARM64", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 28413, "Length": 418, "Cover_Rate": 0.8495934959349594} {"Template_token": ["", "switch", "(", "getLexer", "(", ")", ".", "getKind", "(", ")", ")", "{", "default", ":", "{", "SMLoc", "S", "=", "getLoc", "(", ")", ";", "const", "MCExpr", "*", "Expr", ";", "if", "(", "parseSymbolicImmVal", "(", "Expr", ")", ")", "return", "Error", "(", "S", ",", "", ")", ";", "SMLoc", "E", "=", "SMLoc", "::", "getFromPointer", "(", "getLoc", "(", ")", ".", "getPointer", "(", ")", "-", "", ")", ";", "Operands", ".", "push_back", "(", "Operand", "::", "CreateImm", "(", "Expr", ",", "S", ",", "E", ",", "getContext", "(", ")", ")", ")", ";", "return", "false", ";", "}", "case", "AsmToken", "::", "LBrac", ":", "return", "parseMemory", "(", "Operands", ")", ";", "case", "AsmToken", "::", "LCurly", ":", "return", "parseVectorList", "(", "Operands", ")", ";", "case", "AsmToken", "::", "Identifier", ":", "{", "if", "(", "isCondCode", ")", "return", "parseCondCode", "(", "Operands", ",", "invertCondCode", ")", ";", "if", "(", "!", "parseRegister", "(", "Operands", ")", ")", "return", "false", ";", "if", "(", "!", "parseOptionalShift", "(", "Operands", ")", ")", "return", "false", ";", "if", "(", "!", "parseOptionalExtend", "(", "Operands", ")", ")", "return", "false", ";", "const", "MCExpr", "*", "IdVal", ";", "S", "=", "getLoc", "(", ")", ";", "if", "(", "getParser", "(", ")", ".", "parseExpression", "(", "IdVal", ")", ")", "return", "true", ";", "E", "=", "SMLoc", "::", "getFromPointer", "(", "getLoc", "(", ")", ".", "getPointer", "(", ")", "-", "", ")", ";", "Operands", ".", "push_back", "(", "Operand", "::", "CreateImm", "(", "IdVal", ",", "S", ",", "E", ",", "getContext", "(", ")", ")", ")", ";", "return", "false", ";", "}"], "ground_truth": ["case", "AsmToken", "::", "Integer", ":"], "File": "ARM64AsmParser", "Func": "parseOperand", "Target": "ARM64", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 28414, "Length": 227, "Cover_Rate": 0.4613821138211382} {"Template_token": ["", "const", "AsmToken", "&", "Tok", "=", "Parser", ".", "getTok", "(", ")", ";", "", "ExtOp", "=", "StringSwitch", "<", "", ">", "(", "Tok", ".", "getString", "(", ")", ")", ".", "Case", "(", "", ",", "", ")", ".", "Case", "(", "", ",", "", ")", ".", "Case", "(", "", ",", "", ")", ".", "Case", "(", "", ",", "", ")", ".", "Case", "(", "", ",", "", ")", ".", "Case", "(", "", ",", "", ")", ".", "Case", "(", "", ",", "", ")", ".", "Case", "(", "", ",", "", ")", ".", "Case", "(", "", ",", "", ")", ".", "Case", "(", "", ",", "", ")", ".", "Case", "(", "", ",", "", ")", ".", "Case", "(", "", ",", "", ")", ".", "Case", "(", "", ",", "", ")", ".", "Case", "(", "", ",", "", ")", ".", "Case", "(", "", ",", "", ")", ".", "Case", "(", "", ",", "", ")", ".", "Case", "(", "", ",", "", ")", ".", "Case", "(", "", ",", "", ")", ".", "Default", "(", "", ")", ";", "if", "(", "ExtOp", "==", "", ")", "return", "true", ";", "SMLoc", "S", "=", "Tok", ".", "getLoc", "(", ")", ";", "Parser", ".", "Lex", "(", ")", ";", "if", "(", "getLexer", "(", ")", ".", "is", "(", "AsmToken", "::", "EndOfStatement", ")", "||", "getLexer", "(", ")", ".", "is", "(", "AsmToken", "::", "Comma", ")", ")", "{", "SMLoc", "E", "=", "SMLoc", "::", "getFromPointer", "(", "getLoc", "(", ")", ".", "getPointer", "(", ")", "-", "", ")", ";", "Operands", ".", "push_back", "(", "Operand", "::", "CreateExtend", "(", "ExtOp", ",", "", ",", "S", ",", "E", ",", "getContext", "(", ")", ")", ")", ";", "return", "false", ";", "}", "bool", "Hash", "=", "getLexer", "(", ")", ".", "is", "(", "AsmToken", "::", "Hash", ")", ";", "if", "(", "!", "Hash", "&&", "getLexer", "(", ")", ".", "isNot", "(", "AsmToken", "::", "Integer", ")", ")", "{", "SMLoc", "E", "=", "SMLoc", "::", "getFromPointer", "(", "getLoc", "(", ")", ".", "getPointer", "(", ")", "-", "", ")", ";", "Operands", ".", "push_back", "(", "Operand", "::", "CreateExtend", "(", "ExtOp", ",", "", ",", "S", ",", "E", ",", "getContext", "(", ")", ")", ")", ";", "return", "false", ";", "}", "if", "(", "Hash", ")", "Parser", ".", "Lex", "(", ")", ";", "const", "MCExpr", "*", "ImmVal", ";", "if", "(", "getParser", "(", ")", ".", "parseExpression", "(", "ImmVal", ")", ")", "return", "true", ";", "const", "MCConstantExpr", "*", "MCE", "=", "dyn_cast", "<", "MCConstantExpr", ">", "(", "ImmVal", ")", ";", "if", "(", "!", "MCE", ")", "return", "TokError", "(", "", ")", ";", "SMLoc", "E", "=", "SMLoc", "::", "getFromPointer", "(", "getLoc", "(", ")", ".", "getPointer", "(", ")", "-", "", ")", ";"], "ground_truth": ["Operands", ".", "push_back", "(", "Operand", "::", "CreateExtend", "(", "ExtOp", ",", "MCE", "->", "getValue", "(", ")", ",", "S", ",", "E", ",", "getContext", "(", ")", ")", ")", ";"], "File": "ARM64AsmParser", "Func": "parseOptionalExtend", "Target": "ARM64", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 28415, "Length": 422, "Cover_Rate": 0.8791666666666667} {"Template_token": ["", "const", "AsmToken", "&", "Tok", "=", "Parser", ".", "getTok", "(", ")", ";", "", "ShOp", "=", "StringSwitch", "<", "", ">", "(", "Tok", ".", "getString", "(", ")", ")", ".", "Case", "(", "", ",", "", ")", ".", "Case", "(", "", ",", "", ")", ".", "Case", "(", "", ",", "", ")", ".", "Case", "(", "", ",", "", ")", ".", "Case", "(", "", ",", "", ")", ".", "Case", "(", "", ",", "", ")", ".", "Case", "(", "", ",", "", ")", ".", "Case", "(", "", ",", "", ")", ".", "Case", "(", "", ",", "", ")", ".", "Case", "(", "", ",", "", ")", ".", "Default", "(", "", ")", ";", "if", "(", "ShOp", "==", "", ")", "return", "true", ";", "SMLoc", "S", "=", "Tok", ".", "getLoc", "(", ")", ";", "Parser", ".", "Lex", "(", ")", ";", "bool", "Hash", "=", "getLexer", "(", ")", ".", "is", "(", "AsmToken", "::", "Hash", ")", ";", "if", "(", "!", "Hash", "&&", "getLexer", "(", ")", ".", "isNot", "(", "AsmToken", "::", "Integer", ")", ")", "return", "TokError", "(", "", ")", ";", "if", "(", "Hash", ")", "Parser", ".", "Lex", "(", ")", ";", "SMLoc", "ExprLoc", "=", "getLoc", "(", ")", ";", "const", "MCExpr", "*", "ImmVal", ";", "if", "(", "getParser", "(", ")", ".", "parseExpression", "(", "ImmVal", ")", ")", "return", "true", ";", "const", "MCConstantExpr", "*", "MCE", "=", "dyn_cast", "<", "MCConstantExpr", ">", "(", "ImmVal", ")", ";", "if", "(", "!", "MCE", ")", "return", "TokError", "(", "", ")", ";"], "ground_truth": ["if", "(", "(", "MCE", "->", "getValue", "(", ")", "&", "", ")", "!=", "MCE", "->", "getValue", "(", ")", ")", "return", "Error", "(", "ExprLoc", ",", "", ")", ";"], "File": "ARM64AsmParser", "Func": "parseOptionalShift", "Target": "ARM64", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 28416, "Length": 247, "Cover_Rate": 0.7417417417417418} {"Template_token": ["", "Parser", ".", "Lex", "(", ")", ";", "const", "AsmToken", "&", "Tok", "=", "Parser", ".", "getTok", "(", ")", ";", "if", "(", "Tok", ".", "is", "(", "AsmToken", "::", "Integer", ")", ")", "{", "SMLoc", "IntS", "=", "getLoc", "(", ")", ";", "int64_t", "Val", "=", "Tok", ".", "getIntVal", "(", ")", ";", "if", "(", "Val", "==", "", ")", "{", "Parser", ".", "Lex", "(", ")", ";", "if", "(", "getLexer", "(", ")", ".", "getKind", "(", ")", "==", "AsmToken", "::", "RBrac", ")", "{", "SMLoc", "RBracS", "=", "getLoc", "(", ")", ";", "Parser", ".", "Lex", "(", ")", ";", "Operands", ".", "push_back", "(", "Operand", "::", "CreateToken", "(", "", ",", "false", ",", "LBracS", ",", "getContext", "(", ")", ")", ")", ";", "Operands", ".", "push_back", "(", "Operand", "::", "CreateToken", "(", "", ",", "false", ",", "IntS", ",", "getContext", "(", ")", ")", ")", ";"], "ground_truth": ["Operands", ".", "push_back", "(", "Operand", "::", "CreateToken", "(", "", ",", "false", ",", "RBracS", ",", "getContext", "(", ")", ")", ")", ";"], "File": "ARM64AsmParser", "Func": "ParseRegister", "Target": "ARM64", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 28417, "Length": 146, "Cover_Rate": 0.5887096774193549} {"Template_token": ["", "assert", "(", "isValidVectorKind", "(", "Name", ")", ")", ";", "ElementKind", "=", "Name", ".", "lower", "(", ")", "[", "Name", ".", "size", "(", ")", "-", "", "]", ";", "NumElements", "=", "", ";"], "ground_truth": ["if", "(", "Name", ".", "size", "(", ")", "==", "", ")", "return", ";"], "File": "ARM64AsmParser", "Func": "parseValidVectorKind", "Target": "ARM64", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 28420, "Length": 41, "Cover_Rate": 0.39805825242718446} {"Template_token": ["", "SMLoc", "Loc", "=", "getLoc", "(", ")", ";", "StringRef", "NextKind", ";", "int64_t", "Reg", "=", "tryMatchVectorRegister", "(", "NextKind", ",", "true", ")", ";", "if", "(", "Reg", "==", "-", "", ")", "return", "true", ";", "if", "(", "Kind", "!=", "NextKind", ")", "return", "Error", "(", "Loc", ",", "", ")", ";", "unsigned", "Space", "=", "(", "PrevReg", "<", "Reg", ")", "?", "(", "Reg", "-", "PrevReg", ")", ":", "(", "Reg", "+", "", "-", "PrevReg", ")", ";", "if", "(", "Space", "==", "", "||", "Space", ">", "", ")", "{", "return", "Error", "(", "Loc", ",", "", ")", ";", "}", "Count", "+=", "Space", ";", "}", "else", "{", "while", "(", "Parser", ".", "getTok", "(", ")", ".", "is", "(", "AsmToken", "::", "Comma", ")", ")", "{", "Parser", ".", "Lex", "(", ")", ";", "SMLoc", "Loc", "=", "getLoc", "(", ")", ";", "StringRef", "NextKind", ";", "int64_t", "Reg", "=", "tryMatchVectorRegister", "(", "NextKind", ",", "true", ")", ";", "if", "(", "Reg", "==", "-", "", ")", "return", "true", ";", "if", "(", "Kind", "!=", "NextKind", ")", "return", "Error", "(", "Loc", ",", "", ")", ";", "if", "(", "getContext", "(", ")", ".", "getRegisterInfo", "(", ")", "->", "getEncodingValue", "(", "Reg", ")", "!=", "(", "getContext", "(", ")", ".", "getRegisterInfo", "(", ")", "->", "getEncodingValue", "(", "PrevReg", ")", "+", "", ")", "%", "", ")", "return", "Error", "(", "Loc", ",", "", ")", ";", "PrevReg", "=", "Reg", ";", "++", "Count", ";", "}", "}", "if", "(", "Parser", ".", "getTok", "(", ")", ".", "is", "(", "AsmToken", "::", "EndOfStatement", ")", ")", "Error", "(", "getLoc", "(", ")", ",", "", ")", ";", "Parser", ".", "Lex", "(", ")", ";", "unsigned", "NumElements", "=", "", ";", "char", "ElementKind", "=", "", ";", "if", "(", "!", "Kind", ".", "empty", "(", ")", ")", "parseValidVectorKind", "(", "Kind", ",", "NumElements", ",", "ElementKind", ")", ";", "Operands", ".", "push_back", "(", "Operand", "::", "CreateVectorList", "(", "FirstReg", ",", "Count", ",", "NumElements", ",", "ElementKind", ",", "S", ",", "getLoc", "(", ")", ",", "getContext", "(", ")", ")", ")", ";", "if", "(", "Parser", ".", "getTok", "(", ")", ".", "is", "(", "AsmToken", "::", "LBrac", ")", ")", "{", "SMLoc", "SIdx", "=", "getLoc", "(", ")", ";", "Parser", ".", "Lex", "(", ")", ";", "const", "MCExpr", "*", "ImmVal", ";", "if", "(", "getParser", "(", ")", ".", "parseExpression", "(", "ImmVal", ")", ")", "return", "false", ";", "const", "MCConstantExpr", "*", "MCE", "=", "dyn_cast", "<", "MCConstantExpr", ">", "(", "ImmVal", ")", ";", "if", "(", "!", "MCE", ")", "{", "TokError", "(", "", ")", ";", "return", "false", ";", "}", "SMLoc", "E", "=", "getLoc", "(", ")", ";"], "ground_truth": ["if", "(", "Parser", ".", "getTok", "(", ")", ".", "isNot", "(", "AsmToken", "::", "RBrac", ")", ")", "{"], "File": "ARM64AsmParser", "Func": "parseVectorList", "Target": "ARM64", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 28421, "Length": 396, "Cover_Rate": 0.7360594795539034} {"Template_token": ["", "SMLoc", "Loc", "=", "getLoc", "(", ")", ";", "StringRef", "NextKind", ";", "int64_t", "Reg", "=", "tryMatchVectorRegister", "(", "NextKind", ",", "true", ")", ";", "if", "(", "Reg", "==", "-", "", ")", "return", "true", ";", "if", "(", "Kind", "!=", "NextKind", ")", "return", "Error", "(", "Loc", ",", "", ")", ";", "if", "(", "getContext", "(", ")", ".", "getRegisterInfo", "(", ")", "->", "getEncodingValue", "(", "Reg", ")", "!=", "(", "getContext", "(", ")", ".", "getRegisterInfo", "(", ")", "->", "getEncodingValue", "(", "PrevReg", ")", "+", "", ")", "%", "", ")", "return", "Error", "(", "Loc", ",", "", ")", ";", "PrevReg", "=", "Reg", ";", "++", "Count", ";", "}", "}", "if", "(", "Parser", ".", "getTok", "(", ")", ".", "is", "(", "AsmToken", "::", "EndOfStatement", ")", ")", "Error", "(", "getLoc", "(", ")", ",", "", ")", ";", "Parser", ".", "Lex", "(", ")", ";", "unsigned", "NumElements", "=", "", ";", "char", "ElementKind", "=", "", ";", "if", "(", "!", "Kind", ".", "empty", "(", ")", ")", "parseValidVectorKind", "(", "Kind", ",", "NumElements", ",", "ElementKind", ")", ";", "Operands", ".", "push_back", "(", "Operand", "::", "CreateVectorList", "(", "FirstReg", ",", "Count", ",", "NumElements", ",", "ElementKind", ",", "S", ",", "getLoc", "(", ")", ",", "getContext", "(", ")", ")", ")", ";", "if", "(", "Parser", ".", "getTok", "(", ")", ".", "is", "(", "AsmToken", "::", "LBrac", ")", ")", "{", "SMLoc", "SIdx", "=", "getLoc", "(", ")", ";", "Parser", ".", "Lex", "(", ")", ";", "const", "MCExpr", "*", "ImmVal", ";", "if", "(", "getParser", "(", ")", ".", "parseExpression", "(", "ImmVal", ")", ")", "return", "false", ";", "const", "MCConstantExpr", "*", "MCE", "=", "dyn_cast", "<", "MCConstantExpr", ">", "(", "ImmVal", ")", ";", "if", "(", "!", "MCE", ")", "{", "TokError", "(", "", ")", ";", "return", "false", ";", "}", "SMLoc", "E", "=", "getLoc", "(", ")", ";", "if", "(", "Parser", ".", "getTok", "(", ")", ".", "isNot", "(", "AsmToken", "::", "RBrac", ")", ")", "{"], "ground_truth": ["Error", "(", "E", ",", "", ")", ";"], "File": "ARM64AsmParser", "Func": "parseVectorList", "Target": "ARM64", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 28422, "Length": 287, "Cover_Rate": 0.533457249070632} {"Template_token": ["", "break", ";", "case", "k_SysCR", ":", "OS", "<<", "", "<<", "getSysCR", "(", ")", ";", "break", ";", "case", "k_Prefetch", ":", "{", "bool", "Valid", ";", "StringRef", "Name", "=", "", "(", ")", ".", "toString", "(", "getPrefetch", "(", ")", ",", "Valid", ")", ";", "if", "(", "Valid", ")", "OS", "<<", "", "<<", "Name", "<<", "", ";", "else", "OS", "<<", "", "<<", "getPrefetch", "(", ")", "<<", "", ";", "break", ";", "}", "case", "k_Shifter", ":", "{", "unsigned", "Val", "=", "getShifter", "(", ")", ";", "OS", "<<", "", "<<", "", "(", "", "(", "Val", ")", ")", "<<", "", "<<", "", "(", "Val", ")", "<<", "", ";", "break", ";", "}", "case", "k_Extend", ":", "{", "unsigned", "Val", "=", "getExtend", "(", ")", ";", "OS", "<<", "", "<<", "", "(", "", "(", "Val", ")", ")", "<<", "", "<<", "", "(", "Val", ")", "<<", "", ";"], "ground_truth": ["break", ";"], "File": "ARM64AsmParser", "Func": "print", "Target": "ARM64", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 28423, "Length": 133, "Cover_Rate": 0.35561497326203206} {"Template_token": ["", "Operand", "*", "Op2", "=", "static_cast", "<", "Operand", "*", ">", "(", "Operands", "[", "", "]", ")", ";", "Operands", "[", "", "]", "=", "Operand", "::", "CreateToken", "(", "mnemonic", ",", "false", ",", "Op", "->", "getStartLoc", "(", ")", ",", "Context", ")", ";", "const", "MCExpr", "*", "NewImm", "=", "MCConstantExpr", "::", "Create", "(", "imm", ">>", "shift", ",", "Context", ")", ";", "Operands", "[", "", "]", "=", "Operand", "::", "CreateImm", "(", "NewImm", ",", "Op2", "->", "getStartLoc", "(", ")", ",", "Op2", "->", "getEndLoc", "(", ")", ",", "Context", ")", ";"], "ground_truth": ["Operands", ".", "push_back", "(", "Operand", "::", "CreateShifter", "(", "", ",", "shift", ",", "Op2", "->", "getStartLoc", "(", ")", ",", "Op2", "->", "getEndLoc", "(", ")", ",", "Context", ")", ")", ";"], "File": "ARM64AsmParser", "Func": "rewriteMOVI", "Target": "ARM64", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 28424, "Length": 108, "Cover_Rate": 0.6878980891719745} {"Template_token": ["", "Operand", "*", "Op", "=", "static_cast", "<", "Operand", "*", ">", "(", "Operands", "[", "", "]", ")", ";", "Operand", "*", "Op2", "=", "static_cast", "<", "Operand", "*", ">", "(", "Operands", "[", "", "]", ")", ";"], "ground_truth": ["Operands", "[", "", "]", "=", "Operand", "::", "CreateToken", "(", "", ",", "false", ",", "Op", "->", "getStartLoc", "(", ")", ",", "Context", ")", ";"], "File": "ARM64AsmParser", "Func": "rewriteMOVR", "Target": "ARM64", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 28425, "Length": 54, "Cover_Rate": 0.3724137931034483} {"Template_token": ["", "Operand", "*", "Op", "=", "static_cast", "<", "Operand", "*", ">", "(", "Operands", "[", "", "]", ")", ";", "Operand", "*", "Op2", "=", "static_cast", "<", "Operand", "*", ">", "(", "Operands", "[", "", "]", ")", ";", "Operands", "[", "", "]", "=", "Operand", "::", "CreateToken", "(", "", ",", "false", ",", "Op", "->", "getStartLoc", "(", ")", ",", "Context", ")", ";", "Operands", ".", "push_back", "(", "Operands", "[", "", "]", ")", ";", "unsigned", "ZeroReg", "=", "", ";", "if", "(", "MCRegisterClasses", "[", "", "]", ".", "contains", "(", "Operands", "[", "", "]", "->", "getReg", "(", ")", ")", ")", "ZeroReg", "=", "", ";"], "ground_truth": ["Operands", "[", "", "]", "=", "Operand", "::", "CreateReg", "(", "ZeroReg", ",", "false", ",", "Op2", "->", "getStartLoc", "(", ")", ",", "Op2", "->", "getEndLoc", "(", ")", ",", "Context", ")", ";"], "File": "ARM64AsmParser", "Func": "rewriteMOVR", "Target": "ARM64", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 28426, "Length": 120, "Cover_Rate": 0.8275862068965517} {"Template_token": ["", "Operand", "*", "Op2", "=", "static_cast", "<", "Operand", "*", ">", "(", "Operands", "[", "", "]", ")", ";", "Operands", "[", "", "]", "=", "Operand", "::", "CreateToken", "(", "", ",", "false", ",", "Op", "->", "getStartLoc", "(", ")", ",", "Context", ")", ";", "const", "MCExpr", "*", "Imm", "=", "MCConstantExpr", "::", "Create", "(", "", ",", "Context", ")", ";", "Operands", ".", "push_back", "(", "Operand", "::", "CreateImm", "(", "Imm", ",", "Op2", "->", "getStartLoc", "(", ")", ",", "Op2", "->", "getEndLoc", "(", ")", ",", "Context", ")", ")", ";"], "ground_truth": ["Operands", ".", "push_back", "(", "Operand", "::", "CreateShifter", "(", "", ",", "", ",", "Op2", "->", "getStartLoc", "(", ")", ",", "Op2", "->", "getEndLoc", "(", ")", ",", "Context", ")", ")", ";"], "File": "ARM64AsmParser", "Func": "rewriteMOVRSP", "Target": "ARM64", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 28427, "Length": 106, "Cover_Rate": 0.7412587412587412} {"Template_token": ["", "Operands", ".", "push_back", "(", "Operand", "::", "CreateImm", "(", "Imm", ",", "Op2", "->", "getStartLoc", "(", ")", ",", "Op2", "->", "getEndLoc", "(", ")", ",", "Context", ")", ")", ";", "Operands", ".", "push_back", "(", "Operand", "::", "CreateShifter", "(", "", ",", "", ",", "Op2", "->", "getStartLoc", "(", ")", ",", "Op2", "->", "getEndLoc", "(", ")", ",", "Context", ")", ")", ";", "delete", "Op", ";"], "ground_truth": ["}"], "File": "ARM64AsmParser", "Func": "rewriteMOVRSP", "Target": "ARM64", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 28428, "Length": 58, "Cover_Rate": 0.40559440559440557} {"Template_token": ["", "case", "Match_InvalidMemoryIndexed128SImm7", ":", "return", "Error", "(", "Loc", ",", "", ")", ";", "case", "Match_InvalidMemoryIndexed8", ":", "return", "Error", "(", "Loc", ",", "", ")", ";", "case", "Match_InvalidMemoryIndexed16", ":", "return", "Error", "(", "Loc", ",", "", ")", ";", "case", "Match_InvalidMemoryIndexed32", ":", "return", "Error", "(", "Loc", ",", "", ")", ";", "case", "Match_InvalidMemoryIndexed64", ":", "return", "Error", "(", "Loc", ",", "", ")", ";", "case", "Match_InvalidMemoryIndexed128", ":", "return", "Error", "(", "Loc", ",", "", ")", ";", "case", "Match_InvalidImm1_8", ":", "return", "Error", "(", "Loc", ",", "", ")", ";", "case", "Match_InvalidImm1_16", ":", "return", "Error", "(", "Loc", ",", "", ")", ";", "case", "Match_InvalidImm1_32", ":"], "ground_truth": ["return", "Error", "(", "Loc", ",", "", ")", ";"], "File": "ARM64AsmParser", "Func": "showMatchError", "Target": "ARM64", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 28429, "Length": 99, "Cover_Rate": 0.4230769230769231} {"Template_token": ["", "return", "Error", "(", "Loc", ",", "", ")", ";", "case", "Match_InvalidSuffix", ":", "return", "Error", "(", "Loc", ",", "", ")", ";", "case", "Match_InvalidMemoryIndexedSImm9", ":", "return", "Error", "(", "Loc", ",", "", ")", ";", "case", "Match_InvalidMemoryIndexed32SImm7", ":", "return", "Error", "(", "Loc", ",", "", ")", ";", "case", "Match_InvalidMemoryIndexed64SImm7", ":", "return", "Error", "(", "Loc", ",", "", ")", ";", "case", "Match_InvalidMemoryIndexed128SImm7", ":", "return", "Error", "(", "Loc", ",", "", ")", ";", "case", "Match_InvalidMemoryIndexed8", ":", "return", "Error", "(", "Loc", ",", "", ")", ";", "case", "Match_InvalidMemoryIndexed16", ":", "return", "Error", "(", "Loc", ",", "", ")", ";", "case", "Match_InvalidMemoryIndexed32", ":", "return", "Error", "(", "Loc", ",", "", ")", ";", "case", "Match_InvalidMemoryIndexed64", ":", "return", "Error", "(", "Loc", ",", "", ")", ";", "case", "Match_InvalidMemoryIndexed128", ":", "return", "Error", "(", "Loc", ",", "", ")", ";", "case", "Match_InvalidImm1_8", ":", "return", "Error", "(", "Loc", ",", "", ")", ";", "case", "Match_InvalidImm1_16", ":"], "ground_truth": ["return", "Error", "(", "Loc", ",", "", ")", ";"], "File": "ARM64AsmParser", "Func": "showMatchError", "Target": "ARM64", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 28430, "Length": 140, "Cover_Rate": 0.5982905982905983} {"Template_token": ["", "if", "(", "Next", "!=", "StringRef", "::", "npos", ")", "{", "Kind", "=", "Name", ".", "slice", "(", "Next", ",", "StringRef", "::", "npos", ")", ";", "if", "(", "!", "isValidVectorKind", "(", "Kind", ")", ")", "{", "TokError", "(", "", ")", ";", "return", "-", "", ";", "}", "}", "Parser", ".", "Lex", "(", ")", ";", "return", "RegNum", ";", "}", "if", "(", "expected", ")", "TokError", "(", "", ")", ";", "return", "-", "", ";"], "ground_truth": ["}"], "File": "ARM64AsmParser", "Func": "tryMatchVectorRegister", "Target": "ARM64", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 28431, "Length": 66, "Cover_Rate": 0.42038216560509556} {"Template_token": ["", "AsmParser", "::", "OperandMatchResultTy", "AsmParser", "::", "tryParseAdrLabel", "(", "OperandVector", "&", "Operands", ")", "{", "SMLoc", "S", "=", "getLoc", "(", ")", ";", "const", "MCExpr", "*", "Expr", ";"], "ground_truth": ["if", "(", "Parser", ".", "getTok", "(", ")", ".", "is", "(", "AsmToken", "::", "Hash", ")", ")", "{"], "File": "ARM64AsmParser", "Func": "tryParseAdrLabel", "Target": "ARM64", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 28432, "Length": 40, "Cover_Rate": 0.3883495145631068} {"Template_token": ["", "if", "(", "getParser", "(", ")", ".", "parseExpression", "(", "Expr", ")", ")", "return", "MatchOperand_ParseFail", ";", "SMLoc", "E", "=", "SMLoc", "::", "getFromPointer", "(", "getLoc", "(", ")", ".", "getPointer", "(", ")", "-", "", ")", ";", "Operands", ".", "push_back", "(", "Operand", "::", "CreateImm", "(", "Expr", ",", "S", ",", "E", ",", "getContext", "(", ")", ")", ")", ";"], "ground_truth": ["return", "MatchOperand_Success", ";"], "File": "ARM64AsmParser", "Func": "tryParseAdrLabel", "Target": "ARM64", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 28433, "Length": 55, "Cover_Rate": 0.5339805825242718} {"Template_token": ["", "int64_t", "Addend", ";", "if", "(", "classifySymbolRef", "(", "Expr", ",", "ELFRefKind", ",", "DarwinRefKind", ",", "Addend", ")", ")", "{", "if", "(", "DarwinRefKind", "==", "MCSymbolRefExpr", "::", "VK_None", "&&", "ELFRefKind", "==", "MCExpr", "::", "VK_INVALID", ")", "{", "Expr", "=", "MCExpr", "::", "Create", "(", "Expr", ",", "MCExpr", "::", "VK_ABS_PAGE", ",", "getContext", "(", ")", ")", ";", "}", "else", "if", "(", "(", "DarwinRefKind", "==", "MCSymbolRefExpr", "::", "VK_GOTPAGE", "||", "DarwinRefKind", "==", "MCSymbolRefExpr", "::", "VK_TLVPPAGE", ")", "&&", "Addend", "!=", "", ")", "{", "Error", "(", "S", ",", "", ")", ";", "return", "MatchOperand_ParseFail", ";"], "ground_truth": ["}", "else", "if", "(", "DarwinRefKind", "!=", "MCSymbolRefExpr", "::", "VK_PAGE", "&&", "DarwinRefKind", "!=", "MCSymbolRefExpr", "::", "VK_GOTPAGE", "&&", "DarwinRefKind", "!=", "MCSymbolRefExpr", "::", "VK_TLVPPAGE", "&&", "ELFRefKind", "!=", "MCExpr", "::", "VK_GOT_PAGE", "&&", "ELFRefKind", "!=", "MCExpr", "::", "VK_GOTTPREL_PAGE", "&&", "ELFRefKind", "!=", "MCExpr", "::", "VK_TLSDESC_PAGE", ")", "{"], "File": "ARM64AsmParser", "Func": "tryParseAdrpLabel", "Target": "ARM64", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 28434, "Length": 123, "Cover_Rate": 0.5040983606557377} {"Template_token": ["", "return", "MatchOperand_ParseFail", ";", "}", "bool", "Valid", ";", "unsigned", "Opt", "=", "", "(", ")", ".", "fromString", "(", "Tok", ".", "getString", "(", ")", ",", "Valid", ")", ";", "if", "(", "!", "Valid", ")", "{", "TokError", "(", "", ")", ";", "return", "MatchOperand_ParseFail", ";", "}", "if", "(", "Mnemonic", "==", "", "&&", "Opt", "!=", "", ")", "{", "TokError", "(", "", ")", ";", "return", "MatchOperand_ParseFail", ";", "}", "Operands", ".", "push_back", "(", "Operand", "::", "CreateBarrier", "(", "Opt", ",", "getLoc", "(", ")", ",", "getContext", "(", ")", ")", ")", ";"], "ground_truth": ["Parser", ".", "Lex", "(", ")", ";"], "File": "ARM64AsmParser", "Func": "tryParseBarrierOperand", "Target": "ARM64", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 28435, "Length": 86, "Cover_Rate": 0.3049645390070922} {"Template_token": ["", "bool", "Hash", "=", "false", ";", "if", "(", "Parser", ".", "getTok", "(", ")", ".", "is", "(", "AsmToken", "::", "Hash", ")", ")", "{", "Parser", ".", "Lex", "(", ")", ";", "Hash", "=", "true", ";", "}", "bool", "isNegative", "=", "false", ";", "if", "(", "Parser", ".", "getTok", "(", ")", ".", "is", "(", "AsmToken", "::", "Minus", ")", ")", "{", "isNegative", "=", "true", ";", "Parser", ".", "Lex", "(", ")", ";", "}", "const", "AsmToken", "&", "Tok", "=", "Parser", ".", "getTok", "(", ")", ";", "if", "(", "Tok", ".", "is", "(", "AsmToken", "::", "Real", ")", ")", "{", "APFloat", "RealVal", "(", "APFloat", "::", "IEEEdouble", ",", "Tok", ".", "getString", "(", ")", ")", ";", "uint64_t", "IntVal", "=", "RealVal", ".", "bitcastToAPInt", "(", ")", ".", "getZExtValue", "(", ")", ";", "IntVal", "^=", "(", "uint64_t", ")", "isNegative", "<<", "", ";", "int", "Val", "=", "", "(", "APInt", "(", "", ",", "IntVal", ")", ")", ";", "Parser", ".", "Lex", "(", ")", ";", "if", "(", "Val", "==", "-", "", "&&", "!", "RealVal", ".", "isZero", "(", ")", ")", "{", "TokError", "(", "", ")", ";", "return", "MatchOperand_ParseFail", ";", "}", "Operands", ".", "push_back", "(", "Operand", "::", "CreateFPImm", "(", "Val", ",", "S", ",", "getContext", "(", ")", ")", ")", ";", "return", "MatchOperand_Success", ";", "}", "if", "(", "Tok", ".", "is", "(", "AsmToken", "::", "Integer", ")", ")", "{", "int64_t", "Val", ";", "if", "(", "!", "isNegative", "&&", "Tok", ".", "getString", "(", ")", ".", "startswith", "(", "", ")", ")", "{", "Val", "=", "Tok", ".", "getIntVal", "(", ")", ";"], "ground_truth": ["if", "(", "Val", ">", "", "||", "Val", "<", "", ")", "{"], "File": "ARM64AsmParser", "Func": "tryParseFPImm", "Target": "ARM64", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 28436, "Length": 239, "Cover_Rate": 0.6494565217391305} {"Template_token": ["", "return", "MatchOperand_ParseFail", ";", "}", "int64_t", "Reg", "=", "tryParseRegister", "(", ")", ";", "if", "(", "Reg", "==", "-", "", ")", "{", "Error", "(", "BaseRegTok", ".", "getLoc", "(", ")", ",", "", ")", ";", "return", "MatchOperand_ParseFail", ";", "}", "SMLoc", "E", "=", "getLoc", "(", ")", ";", "if", "(", "Parser", ".", "getTok", "(", ")", ".", "isNot", "(", "AsmToken", "::", "RBrac", ")", ")", "{", "Error", "(", "E", ",", "", ")", ";", "return", "MatchOperand_ParseFail", ";"], "ground_truth": ["}"], "File": "ARM64AsmParser", "Func": "tryParseNoIndexMemory", "Target": "ARM64", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 28437, "Length": 68, "Cover_Rate": 0.37988826815642457} {"Template_token": ["", "if", "(", "Reg", "==", "-", "", ")", "{", "Error", "(", "BaseRegTok", ".", "getLoc", "(", ")", ",", "", ")", ";", "return", "MatchOperand_ParseFail", ";", "}", "SMLoc", "E", "=", "getLoc", "(", ")", ";", "if", "(", "Parser", ".", "getTok", "(", ")", ".", "isNot", "(", "AsmToken", "::", "RBrac", ")", ")", "{", "Error", "(", "E", ",", "", ")", ";", "return", "MatchOperand_ParseFail", ";"], "ground_truth": ["}"], "File": "ARM64AsmParser", "Func": "tryParseNoIndexMemory", "Target": "ARM64", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 28438, "Length": 57, "Cover_Rate": 0.31843575418994413} {"Template_token": ["", "if", "(", "prfop", ">", "", ")", "{", "TokError", "(", "", ")", ";", "return", "MatchOperand_ParseFail", ";", "}", "Operands", ".", "push_back", "(", "Operand", "::", "CreatePrefetch", "(", "prfop", ",", "S", ",", "getContext", "(", ")", ")", ")", ";", "return", "MatchOperand_Success", ";", "}", "if", "(", "Tok", ".", "isNot", "(", "AsmToken", "::", "Identifier", ")", ")", "{", "TokError", "(", "", ")", ";", "return", "MatchOperand_ParseFail", ";", "}", "bool", "Valid", ";", "unsigned", "prfop", "=", "", "(", ")", ".", "fromString", "(", "Tok", ".", "getString", "(", ")", ",", "Valid", ")", ";", "if", "(", "!", "Valid", ")", "{", "TokError", "(", "", ")", ";"], "ground_truth": ["return", "MatchOperand_ParseFail", ";"], "File": "ARM64AsmParser", "Func": "tryParsePrefetch", "Target": "ARM64", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 28439, "Length": 94, "Cover_Rate": 0.3805668016194332} {"Template_token": ["", "assert", "(", "Tok", ".", "is", "(", "AsmToken", "::", "Identifier", ")", "&&", "", ")", ";", "std", "::", "string", "lowerCase", "=", "Tok", ".", "getString", "(", ")", ".", "lower", "(", ")", ";", "unsigned", "RegNum", "=", "MatchRegisterName", "(", "lowerCase", ")", ";", "if", "(", "RegNum", "==", "", ")", "RegNum", "=", "StringSwitch", "<", "unsigned", ">", "(", "lowerCase", ")", ".", "Case", "(", "", ",", "", ")", ".", "Case", "(", "", ",", "", ")", ".", "Case", "(", "", ",", "", ")", ".", "Case", "(", "", ",", "", ")", ".", "Default", "(", "", ")", ";", "if", "(", "RegNum", "==", "", ")", "return", "-", "", ";"], "ground_truth": ["Parser", ".", "Lex", "(", ")", ";"], "File": "ARM64AsmParser", "Func": "tryParseRegister", "Target": "ARM64", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 28440, "Length": 102, "Cover_Rate": 0.7727272727272727} {"Template_token": ["", "if", "(", "Num", "==", "-", "", ")", "return", "MatchOperand_NoMatch", ";", "Parser", ".", "Lex", "(", ")", ";"], "ground_truth": ["Operands", ".", "push_back", "(", "Operand", "::", "CreateSysCR", "(", "Num", ",", "S", ",", "getLoc", "(", ")", ",", "getContext", "(", ")", ")", ")", ";"], "File": "ARM64AsmParser", "Func": "tryParseSysCROperand", "Target": "ARM64", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 28441, "Length": 38, "Cover_Rate": 0.3877551020408163} {"Template_token": ["", "Parser", ".", "Lex", "(", ")", ";", "Operands", ".", "push_back", "(", "Operand", "::", "CreateSysCR", "(", "Num", ",", "S", ",", "getLoc", "(", ")", ",", "getContext", "(", ")", ")", ")", ";"], "ground_truth": ["return", "MatchOperand_Success", ";"], "File": "ARM64AsmParser", "Func": "tryParseSysCROperand", "Target": "ARM64", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 28442, "Length": 31, "Cover_Rate": 0.3163265306122449} {"Template_token": ["", "AsmParser", "::", "OperandMatchResultTy", "AsmParser", "::", "tryParseSysReg", "(", "OperandVector", "&", "Operands", ")", "{", "const", "AsmToken", "&", "Tok", "=", "Parser", ".", "getTok", "(", ")", ";", "if", "(", "Tok", ".", "isNot", "(", "AsmToken", "::", "Identifier", ")", ")", "return", "MatchOperand_NoMatch", ";", "Operands", ".", "push_back", "(", "Operand", "::", "CreateSysReg", "(", "Tok", ".", "getString", "(", ")", ",", "getLoc", "(", ")", ",", "getContext", "(", ")", ")", ")", ";", "Parser", ".", "Lex", "(", ")", ";"], "ground_truth": ["return", "MatchOperand_Success", ";"], "File": "ARM64AsmParser", "Func": "tryParseSysReg", "Target": "ARM64", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 28443, "Length": 70, "Cover_Rate": 0.9859154929577465} {"Template_token": ["", "AsmParser", "::", "OperandMatchResultTy", "AsmParser", "::", "tryParseSysReg", "(", "OperandVector", "&", "Operands", ")", "{", "const", "AsmToken", "&", "Tok", "=", "Parser", ".", "getTok", "(", ")", ";", "if", "(", "Tok", ".", "isNot", "(", "AsmToken", "::", "Identifier", ")", ")", "return", "MatchOperand_NoMatch", ";", "Operands", ".", "push_back", "(", "Operand", "::", "CreateSysReg", "(", "Tok", ".", "getString", "(", ")", ",", "getLoc", "(", ")", ",", "getContext", "(", ")", ")", ")", ";", "Parser", ".", "Lex", "(", ")", ";"], "ground_truth": ["return", "MatchOperand_Success", ";"], "File": "ARM64AsmParser", "Func": "tryParseSysReg", "Target": "ARM64", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 28444, "Length": 70, "Cover_Rate": 0.9859154929577465} {"Template_token": ["", "if", "(", "Reg", "==", "-", "", ")", "return", "true", ";", "Operands", ".", "push_back", "(", "Operand", "::", "CreateReg", "(", "Reg", ",", "true", ",", "S", ",", "getLoc", "(", ")", ",", "getContext", "(", ")", ")", ")", ";", "if", "(", "!", "Kind", ".", "empty", "(", ")", ")", "Operands", ".", "push_back", "(", "Operand", "::", "CreateToken", "(", "Kind", ",", "false", ",", "S", ",", "getContext", "(", ")", ")", ")", ";", "if", "(", "Parser", ".", "getTok", "(", ")", ".", "is", "(", "AsmToken", "::", "LBrac", ")", ")", "{", "SMLoc", "SIdx", "=", "getLoc", "(", ")", ";", "Parser", ".", "Lex", "(", ")", ";", "const", "MCExpr", "*", "ImmVal", ";", "if", "(", "getParser", "(", ")", ".", "parseExpression", "(", "ImmVal", ")", ")", "return", "false", ";"], "ground_truth": ["const", "MCConstantExpr", "*", "MCE", "=", "dyn_cast", "<", "MCConstantExpr", ">", "(", "ImmVal", ")", ";"], "File": "ARM64AsmParser", "Func": "tryParseVectorRegister", "Target": "ARM64", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 28445, "Length": 124, "Cover_Rate": 0.484375} {"Template_token": ["", "break", ";", "case", "MCK__35_24", ":", "ExpectedVal", "=", "", ";", "break", ";", "case", "MCK__35_3", ":", "ExpectedVal", "=", "", ";", "break", ";", "case", "MCK__35_32", ":", "ExpectedVal", "=", "", ";", "break", ";", "case", "MCK__35_4", ":", "ExpectedVal", "=", "", ";", "break", ";", "case", "MCK__35_48", ":", "ExpectedVal", "=", "", ";", "break", ";", "case", "MCK__35_6", ":", "ExpectedVal", "=", "", ";", "break", ";", "case", "MCK__35_64", ":", "ExpectedVal", "=", "", ";", "break", ";", "case", "MCK__35_8", ":", "ExpectedVal", "=", "", ";", "break", ";", "}", "if", "(", "!", "Op", "->", "isImm", "(", ")", ")", "return", "Match_InvalidOperand", ";", "const", "MCConstantExpr", "*", "CE", "=", "dyn_cast", "<", "MCConstantExpr", ">", "(", "Op", "->", "getImm", "(", ")", ")", ";", "if", "(", "!", "CE", ")", "return", "Match_InvalidOperand", ";"], "ground_truth": ["if", "(", "CE", "->", "getValue", "(", ")", "==", "ExpectedVal", ")", "return", "Match_Success", ";"], "File": "ARM64AsmParser", "Func": "validateTargetOperandClass", "Target": "ARM64", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 28448, "Length": 125, "Cover_Rate": 0.5924170616113744} {"Template_token": ["", "case", "", ":", "case", "", ":", "case", "", ":", "case", "", ":", "case", "", ":", "{", "MCInst", "TmpInst", ";", "TmpInst", ".", "setOpcode", "(", "getRealIndexedOpcode", "(", "MI", "->", "getOpcode", "(", ")", ")", ")", ";", "TmpInst", ".", "addOperand", "(", "MCOperand", "::", "CreateReg", "(", "MI", "->", "getOperand", "(", "", ")", ".", "getReg", "(", ")", ")", ")", ";", "TmpInst", ".", "addOperand", "(", "MCOperand", "::", "CreateReg", "(", "MI", "->", "getOperand", "(", "", ")", ".", "getReg", "(", ")", ")", ")", ";", "TmpInst", ".", "addOperand", "(", "MCOperand", "::", "CreateImm", "(", "MI", "->", "getOperand", "(", "", ")", ".", "getImm", "(", ")", ")", ")", ";", "EmitToStreamer", "(", "OutStreamer", ",", "TmpInst", ")", ";", "return", ";", "}", "case", "", ":", "{", "MCInst", "TmpInst", ";", "TmpInst", ".", "setOpcode", "(", "", ")", ";", "TmpInst", ".", "addOperand", "(", "MCOperand", "::", "CreateReg", "(", "MI", "->", "getOperand", "(", "", ")", ".", "getReg", "(", ")", ")", ")", ";", "EmitToStreamer", "(", "OutStreamer", ",", "TmpInst", ")", ";", "return", ";", "}", "case", "", ":", "{", "MCOperand", "Dest", ";", "MCInstLowering", ".", "lowerOperand", "(", "MI", "->", "getOperand", "(", "", ")", ",", "Dest", ")", ";", "MCInst", "TmpInst", ";", "TmpInst", ".", "setOpcode", "(", "", ")", ";", "TmpInst", ".", "addOperand", "(", "Dest", ")", ";", "EmitToStreamer", "(", "OutStreamer", ",", "TmpInst", ")", ";", "return", ";", "}", "case", "", ":", "{", "MCOperand", "Callee", ",", "Sym", ";", "MCInstLowering", ".", "lowerOperand", "(", "MI", "->", "getOperand", "(", "", ")", ",", "Callee", ")", ";", "MCInstLowering", ".", "lowerOperand", "(", "MI", "->", "getOperand", "(", "", ")", ",", "Sym", ")", ";", "MCInst", "TLSDescCall", ";", "TLSDescCall", ".", "setOpcode", "(", "", ")", ";", "TLSDescCall", ".", "addOperand", "(", "Sym", ")", ";"], "ground_truth": ["EmitToStreamer", "(", "OutStreamer", ",", "TLSDescCall", ")", ";"], "File": "ARM64AsmPrinter1", "Func": "EmitInstruction", "Target": "ARM64", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 28451, "Length": 260, "Cover_Rate": 0.36262203626220363} {"Template_token": ["", "LOHInstToLabel", "[", "MI", "]", "=", "LOHLabel", ";", "OutStreamer", ".", "EmitLabel", "(", "LOHLabel", ")", ";", "}", "switch", "(", "MI", "->", "getOpcode", "(", ")", ")", "{", "default", ":", "break", ";", "case", "", ":", "{", "if", "(", "isVerbose", "(", ")", "&&", "OutStreamer", ".", "hasRawTextSupport", "(", ")", ")", "{", "SmallString", "<", "", ">", "TmpStr", ";", "raw_svector_ostream", "OS", "(", "TmpStr", ")", ";", "PrintDebugValueComment", "(", "MI", ",", "OS", ")", ";", "OutStreamer", ".", "EmitRawText", "(", "StringRef", "(", "OS", ".", "str", "(", ")", ")", ")", ";", "}", "return", ";", "}", "case", "", ":", "case", "", ":", "case", "", ":", "case", "", ":", "case", "", ":", "case", "", ":", "case", "", ":", "case", "", ":", "case", "", ":", "case", "", ":", "case", "", ":", "case", "", ":", "case", "", ":", "case", "", ":", "case", "", ":", "case", "", ":", "case", "", ":", "case", "", ":", "case", "", ":", "case", "", ":", "case", "", ":", "case", "", ":", "case", "", ":", "case", "", ":", "{", "MCInst", "TmpInst", ";", "TmpInst", ".", "setOpcode", "(", "getRealIndexedOpcode", "(", "MI", "->", "getOpcode", "(", ")", ")", ")", ";", "TmpInst", ".", "addOperand", "(", "MCOperand", "::", "CreateReg", "(", "MI", "->", "getOperand", "(", "", ")", ".", "getReg", "(", ")", ")", ")", ";", "TmpInst", ".", "addOperand", "(", "MCOperand", "::", "CreateReg", "(", "MI", "->", "getOperand", "(", "", ")", ".", "getReg", "(", ")", ")", ")", ";", "TmpInst", ".", "addOperand", "(", "MCOperand", "::", "CreateImm", "(", "MI", "->", "getOperand", "(", "", ")", ".", "getImm", "(", ")", ")", ")", ";", "EmitToStreamer", "(", "OutStreamer", ",", "TmpInst", ")", ";", "return", ";", "}", "case", "", ":", "case", "", ":", "case", "", ":", "case", "", ":", "case", "", ":", "case", "", ":", "case", "", ":", "{", "MCInst", "TmpInst", ";"], "ground_truth": ["TmpInst", ".", "setOpcode", "(", "getRealIndexedOpcode", "(", "MI", "->", "getOpcode", "(", ")", ")", ")", ";"], "File": "ARM64AsmPrinter1", "Func": "EmitInstruction", "Target": "ARM64", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 28452, "Length": 284, "Cover_Rate": 0.39609483960948394} {"Template_token": ["", "const", "char", "*", "getPassName", "(", ")", "const", "override", "{", "return", "", ";"], "ground_truth": ["}"], "File": "ARM64AsmPrinter1", "Func": "getPassName", "Target": "ARM64", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 28453, "Length": 13, "Cover_Rate": 1.0} {"Template_token": ["", "case", "", ":", "return", "", ";", "case", "", ":", "return", "", ";", "case", "", ":", "return", "", ";", "case", "", ":", "return", "", ";", "case", "", ":", "return", "", ";", "case", "", ":", "return", "", ";", "case", "", ":", "return", "", ";", "case", "", ":", "return", "", ";", "case", "", ":", "return", "", ";", "case", "", ":", "return", "", ";", "case", "", ":", "return", "", ";", "case", "", ":", "return", "", ";", "case", "", ":", "return", "", ";", "case", "", ":", "return", "", ";", "case", "", ":", "return", "", ";", "case", "", ":", "return", "", ";", "case", "", ":", "return", "", ";", "case", "", ":", "return", "", ";", "case", "", ":", "return", "", ";", "case", "", ":", "return", "", ";", "case", "", ":", "return", "", ";", "case", "", ":", "return", "", ";", "case", "", ":", "return", "", ";", "case", "", ":", "return", "", ";"], "ground_truth": ["case", "", ":", "return", "", ";"], "File": "ARM64AsmPrinter1", "Func": "getRealIndexedOpcode", "Target": "ARM64", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 28455, "Length": 150, "Cover_Rate": 0.45454545454545453} {"Template_token": ["", "return", "AsmPrinter", "::", "runOnMachineFunction", "(", "F", ")", ";"], "ground_truth": ["}"], "File": "ARM64AsmPrinter1", "Func": "runOnMachineFunction", "Target": "ARM64", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 28456, "Length": 9, "Cover_Rate": 0.3103448275862069} {"Template_token": ["", "bool", "runOnMachineFunction", "(", "MachineFunction", "&", "F", ")", "override", "{"], "ground_truth": ["FI", "=", "F", ".", "getInfo", "<", "FunctionInfo", ">", "(", ")", ";"], "File": "ARM64AsmPrinter1", "Func": "runOnMachineFunction", "Target": "ARM64", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 28457, "Length": 20, "Cover_Rate": 0.6896551724137931} {"Template_token": ["", "AsmPrinter", "(", "TargetMachine", "&", "TM", ",", "MCStreamer", "&", "Streamer", ")", ":", "AsmPrinter", "(", "TM", ",", "Streamer", ")", ",", "Subtarget", "(", "&", "TM", ".", "getSubtarget", "<", "Subtarget", ">", "(", ")", ")", ",", "MCInstLowering", "(", "OutContext", ",", "*", "Mang", ",", "*", "this", ")", ",", "SM", "(", "*", "this", ")", ",", "FI", "(", "nullptr", ")", ",", "LOHLabelCounter", "(", "", ")", "{"], "ground_truth": ["}"], "File": "ARM64AsmPrinter", "Func": "ARM64AsmPrinter", "Target": "ARM64", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 28458, "Length": 59, "Cover_Rate": 1.0} {"Template_token": ["", "AsmPrinter", "(", "TargetMachine", "&", "TM", ",", "MCStreamer", "&", "Streamer", ")", ":", "AsmPrinter", "(", "TM", ",", "Streamer", ")", ",", "Subtarget", "(", "&", "TM", ".", "getSubtarget", "<", "Subtarget", ">", "(", ")", ")", ",", "MCInstLowering", "(", "OutContext", ",", "*", "Mang", ",", "*", "this", ")", ",", "SM", "(", "*", "this", ")", ",", "FI", "(", "nullptr", ")", ",", "LOHLabelCounter", "(", "", ")", "{"], "ground_truth": ["}"], "File": "ARM64AsmPrinter", "Func": "ARM64AsmPrinter", "Target": "ARM64", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 28459, "Length": 59, "Cover_Rate": 1.0} {"Template_token": ["", "if", "(", "Subtarget", "->", "isTargetELF", "(", ")", ")", "{", "const", "TargetLoweringObjectFileELF", "&", "TLOFELF", "=", "static_cast", "<", "const", "TargetLoweringObjectFileELF", "&", ">", "(", "getObjFileLowering", "(", ")", ")", ";", "MachineModuleInfoELF", "&", "MMIELF", "=", "MMI", "->", "getObjFileInfo", "<", "MachineModuleInfoELF", ">", "(", ")", ";", "MachineModuleInfoELF", "::", "SymbolListTy", "Stubs", "=", "MMIELF", ".", "GetGVStubList", "(", ")", ";", "if", "(", "!", "Stubs", ".", "empty", "(", ")", ")", "{", "OutStreamer", ".", "SwitchSection", "(", "TLOFELF", ".", "getDataRelSection", "(", ")", ")", ";", "const", "DataLayout", "*", "TD", "=", "TM", ".", "getDataLayout", "(", ")", ";", "for", "(", "unsigned", "i", "=", "", ",", "e", "=", "Stubs", ".", "size", "(", ")", ";", "i", "!=", "e", ";", "++", "i", ")", "{", "OutStreamer", ".", "EmitLabel", "(", "Stubs", "[", "i", "]", ".", "first", ")", ";", "OutStreamer", ".", "EmitSymbolValue", "(", "Stubs", "[", "i", "]", ".", "second", ".", "getPointer", "(", ")", ",", "TD", "->", "getPointerSize", "(", "", ")", ")", ";", "}"], "ground_truth": ["Stubs", ".", "clear", "(", ")", ";"], "File": "ARM64AsmPrinter", "Func": "EmitEndOfAsmFile", "Target": "ARM64", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 28460, "Length": 147, "Cover_Rate": 0.8032786885245902} {"Template_token": ["", "if", "(", "!", "FI", "->", "getLOHRelated", "(", ")", ".", "empty", "(", ")", ")", "EmitLOHs", "(", ")", ";"], "ground_truth": ["}"], "File": "ARM64AsmPrinter", "Func": "EmitFunctionBodyEnd", "Target": "ARM64", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 28461, "Length": 18, "Cover_Rate": 0.72} {"Template_token": ["", "if", "(", "!", "FI", "->", "getLOHRelated", "(", ")", ".", "empty", "(", ")", ")", "EmitLOHs", "(", ")", ";"], "ground_truth": ["}"], "File": "ARM64AsmPrinter", "Func": "EmitFunctionBodyEnd", "Target": "ARM64", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 28462, "Length": 18, "Cover_Rate": 0.72} {"Template_token": ["", "}", "case", "", ":", "case", "", ":", "case", "", ":", "case", "", ":", "case", "", ":", "case", "", ":", "case", "", ":", "case", "", ":", "case", "", ":", "case", "", ":", "case", "", ":", "case", "", ":", "case", "", ":", "case", "", ":", "case", "", ":", "case", "", ":", "case", "", ":", "case", "", ":", "case", "", ":", "case", "", ":", "case", "", ":", "case", "", ":", "{", "MCInst", "TmpInst", ";", "TmpInst", ".", "setOpcode", "(", "getRealIndexedOpcode", "(", "MI", "->", "getOpcode", "(", ")", ")", ")", ";", "TmpInst", ".", "addOperand", "(", "MCOperand", "::", "CreateReg", "(", "MI", "->", "getOperand", "(", "", ")", ".", "getReg", "(", ")", ")", ")", ";", "TmpInst", ".", "addOperand", "(", "MCOperand", "::", "CreateReg", "(", "MI", "->", "getOperand", "(", "", ")", ".", "getReg", "(", ")", ")", ")", ";", "TmpInst", ".", "addOperand", "(", "MCOperand", "::", "CreateImm", "(", "MI", "->", "getOperand", "(", "", ")", ".", "getImm", "(", ")", ")", ")", ";", "EmitToStreamer", "(", "OutStreamer", ",", "TmpInst", ")", ";", "return", ";", "}", "case", "", ":", "case", "", ":", "case", "", ":", "case", "", ":", "case", "", ":", "case", "", ":", "{", "MCInst", "TmpInst", ";", "TmpInst", ".", "setOpcode", "(", "getRealIndexedOpcode", "(", "MI", "->", "getOpcode", "(", ")", ")", ")", ";", "TmpInst", ".", "addOperand", "(", "MCOperand", "::", "CreateReg", "(", "MI", "->", "getOperand", "(", "", ")", ".", "getReg", "(", ")", ")", ")", ";", "TmpInst", ".", "addOperand", "(", "MCOperand", "::", "CreateReg", "(", "MI", "->", "getOperand", "(", "", ")", ".", "getReg", "(", ")", ")", ")", ";", "TmpInst", ".", "addOperand", "(", "MCOperand", "::", "CreateImm", "(", "MI", "->", "getOperand", "(", "", ")", ".", "getImm", "(", ")", ")", ")", ";", "EmitToStreamer", "(", "OutStreamer", ",", "TmpInst", ")", ";", "return", ";", "}", "case", "", ":", "{", "MCInst", "TmpInst", ";", "TmpInst", ".", "setOpcode", "(", "", ")", ";", "TmpInst", ".", "addOperand", "(", "MCOperand", "::", "CreateReg", "(", "MI", "->", "getOperand", "(", "", ")", ".", "getReg", "(", ")", ")", ")", ";", "EmitToStreamer", "(", "OutStreamer", ",", "TmpInst", ")", ";", "return", ";", "}", "case", "", ":", "{", "MCOperand", "Dest", ";", "MCInstLowering", ".", "lowerOperand", "(", "MI", "->", "getOperand", "(", "", ")", ",", "Dest", ")", ";", "MCInst", "TmpInst", ";", "TmpInst", ".", "setOpcode", "(", "", ")", ";", "TmpInst", ".", "addOperand", "(", "Dest", ")", ";", "EmitToStreamer", "(", "OutStreamer", ",", "TmpInst", ")", ";", "return", ";", "}", "case", "", ":", "{", "MCOperand", "Callee", ",", "Sym", ";", "MCInstLowering", ".", "lowerOperand", "(", "MI", "->", "getOperand", "(", "", ")", ",", "Callee", ")", ";"], "ground_truth": ["MCInstLowering", ".", "lowerOperand", "(", "MI", "->", "getOperand", "(", "", ")", ",", "Sym", ")", ";"], "File": "ARM64AsmPrinter", "Func": "EmitInstruction", "Target": "ARM64", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 28463, "Length": 397, "Cover_Rate": 0.5655270655270656} {"Template_token": ["", "case", "", ":", "case", "", ":", "case", "", ":", "case", "", ":", "case", "", ":", "case", "", ":", "case", "", ":", "case", "", ":", "case", "", ":", "case", "", ":", "case", "", ":", "case", "", ":", "case", "", ":", "case", "", ":", "case", "", ":", "case", "", ":", "case", "", ":", "case", "", ":", "case", "", ":", "case", "", ":", "case", "", ":", "{", "MCInst", "TmpInst", ";", "TmpInst", ".", "setOpcode", "(", "getRealIndexedOpcode", "(", "MI", "->", "getOpcode", "(", ")", ")", ")", ";", "TmpInst", ".", "addOperand", "(", "MCOperand", "::", "CreateReg", "(", "MI", "->", "getOperand", "(", "", ")", ".", "getReg", "(", ")", ")", ")", ";", "TmpInst", ".", "addOperand", "(", "MCOperand", "::", "CreateReg", "(", "MI", "->", "getOperand", "(", "", ")", ".", "getReg", "(", ")", ")", ")", ";", "TmpInst", ".", "addOperand", "(", "MCOperand", "::", "CreateImm", "(", "MI", "->", "getOperand", "(", "", ")", ".", "getImm", "(", ")", ")", ")", ";", "EmitToStreamer", "(", "OutStreamer", ",", "TmpInst", ")", ";", "return", ";", "}", "case", "", ":", "case", "", ":", "case", "", ":", "case", "", ":", "case", "", ":", "case", "", ":", "{", "MCInst", "TmpInst", ";", "TmpInst", ".", "setOpcode", "(", "getRealIndexedOpcode", "(", "MI", "->", "getOpcode", "(", ")", ")", ")", ";", "TmpInst", ".", "addOperand", "(", "MCOperand", "::", "CreateReg", "(", "MI", "->", "getOperand", "(", "", ")", ".", "getReg", "(", ")", ")", ")", ";", "TmpInst", ".", "addOperand", "(", "MCOperand", "::", "CreateReg", "(", "MI", "->", "getOperand", "(", "", ")", ".", "getReg", "(", ")", ")", ")", ";", "TmpInst", ".", "addOperand", "(", "MCOperand", "::", "CreateImm", "(", "MI", "->", "getOperand", "(", "", ")", ".", "getImm", "(", ")", ")", ")", ";", "EmitToStreamer", "(", "OutStreamer", ",", "TmpInst", ")", ";", "return", ";", "}", "case", "", ":", "{", "MCInst", "TmpInst", ";", "TmpInst", ".", "setOpcode", "(", "", ")", ";", "TmpInst", ".", "addOperand", "(", "MCOperand", "::", "CreateReg", "(", "MI", "->", "getOperand", "(", "", ")", ".", "getReg", "(", ")", ")", ")", ";", "EmitToStreamer", "(", "OutStreamer", ",", "TmpInst", ")", ";", "return", ";", "}", "case", "", ":", "{", "MCOperand", "Dest", ";", "MCInstLowering", ".", "lowerOperand", "(", "MI", "->", "getOperand", "(", "", ")", ",", "Dest", ")", ";", "MCInst", "TmpInst", ";", "TmpInst", ".", "setOpcode", "(", "", ")", ";", "TmpInst", ".", "addOperand", "(", "Dest", ")", ";", "EmitToStreamer", "(", "OutStreamer", ",", "TmpInst", ")", ";", "return", ";", "}", "case", "", ":", "{", "MCOperand", "Callee", ",", "Sym", ";", "MCInstLowering", ".", "lowerOperand", "(", "MI", "->", "getOperand", "(", "", ")", ",", "Callee", ")", ";", "MCInstLowering", ".", "lowerOperand", "(", "MI", "->", "getOperand", "(", "", ")", ",", "Sym", ")", ";", "MCInst", "TLSDescCall", ";", "TLSDescCall", ".", "setOpcode", "(", "", ")", ";", "TLSDescCall", ".", "addOperand", "(", "Sym", ")", ";", "EmitToStreamer", "(", "OutStreamer", ",", "TLSDescCall", ")", ";", "MCInst", "BLR", ";", "BLR", ".", "setOpcode", "(", "", ")", ";", "BLR", ".", "addOperand", "(", "Callee", ")", ";", "EmitToStreamer", "(", "OutStreamer", ",", "BLR", ")", ";", "return", ";", "}", "case", "TargetOpcode", "::", "STACKMAP", ":", "return", "LowerSTACKMAP", "(", "OutStreamer", ",", "SM", ",", "*", "MI", ")", ";"], "ground_truth": ["case", "TargetOpcode", "::", "PATCHPOINT", ":"], "File": "ARM64AsmPrinter", "Func": "EmitInstruction", "Target": "ARM64", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 28464, "Length": 465, "Cover_Rate": 0.6623931623931624} {"Template_token": ["", "for", "(", "const", "auto", "&", "D", ":", "FI", "->", "getLOHContainer", "(", ")", ")", "{", "for", "(", "const", "MachineInstr", "*", "MI", ":", "D", ".", "getArgs", "(", ")", ")", "{", "MInstToMCSymbol", "::", "iterator", "LabelIt", "=", "LOHInstToLabel", ".", "find", "(", "MI", ")", ";", "assert", "(", "LabelIt", "!=", "LOHInstToLabel", ".", "end", "(", ")", "&&", "", ")", ";"], "ground_truth": ["MCArgs", ".", "push_back", "(", "LabelIt", "->", "second", ")", ";"], "File": "ARM64AsmPrinter", "Func": "EmitLOHs", "Target": "ARM64", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 28465, "Length": 62, "Cover_Rate": 0.62} {"Template_token": ["", "AU", ".", "setPreservesAll", "(", ")", ";"], "ground_truth": ["}"], "File": "ARM64AsmPrinter", "Func": "getAnalysisUsage", "Target": "ARM64", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 28467, "Length": 7, "Cover_Rate": 0.30434782608695654} {"Template_token": ["", "return", "OutContext", ".", "GetOrCreateSymbol", "(", "Twine", "(", "getDataLayout", "(", ")", ".", "getPrivateGlobalPrefix", "(", ")", ")", "+", "", "+", "Twine", "(", "getFunctionNumber", "(", ")", ")", "+", "", "+", "Twine", "(", "CPID", ")", ")", ";"], "ground_truth": ["}"], "File": "ARM64AsmPrinter", "Func": "GetCPISymbol", "Target": "ARM64", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 28468, "Length": 34, "Cover_Rate": 0.37362637362637363} {"Template_token": ["", "if", "(", "MI", "->", "getOperand", "(", "", ")", ".", "isReg", "(", ")", "&&", "MI", "->", "getOperand", "(", "", ")", ".", "isImm", "(", ")", ")", "Location", ".", "set", "(", "MI", "->", "getOperand", "(", "", ")", ".", "getReg", "(", ")", ",", "MI", "->", "getOperand", "(", "", ")", ".", "getImm", "(", ")", ")", ";", "else", "{", "DEBUG", "(", "dbgs", "(", ")", "<<", "", "<<", "*", "MI", "<<", "", ")", ";", "}"], "ground_truth": ["return", "Location", ";"], "File": "ARM64AsmPrinter", "Func": "getDebugValueLocation", "Target": "ARM64", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 28470, "Length": 71, "Cover_Rate": 0.71} {"Template_token": ["", "MachineLocation", "AsmPrinter", "::", "getDebugValueLocation", "(", "const", "MachineInstr", "*", "MI", ")", "const", "{", "MachineLocation", "Location", ";", "assert", "(", "MI", "->", "getNumOperands", "(", ")", "==", "", "&&", "", ")", ";"], "ground_truth": ["if", "(", "MI", "->", "getOperand", "(", "", ")", ".", "isReg", "(", ")", "&&", "MI", "->", "getOperand", "(", "", ")", ".", "isImm", "(", ")", ")", "Location", ".", "set", "(", "MI", "->", "getOperand", "(", "", ")", ".", "getReg", "(", ")", ",", "MI", "->", "getOperand", "(", "", ")", ".", "getImm", "(", ")", ")", ";"], "File": "ARM64AsmPrinter", "Func": "getDebugValueLocation", "Target": "ARM64", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 28471, "Length": 79, "Cover_Rate": 0.79} {"Template_token": ["", "virtual", "const", "char", "*", "getPassName", "(", ")", "const", "{", "return", "", ";"], "ground_truth": ["}"], "File": "ARM64AsmPrinter", "Func": "getPassName", "Target": "ARM64", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 28472, "Length": 13, "Cover_Rate": 1.0} {"Template_token": ["", "return", "", ";"], "ground_truth": ["}"], "File": "ARM64AsmPrinter", "Func": "getPassName", "Target": "ARM64", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 28473, "Length": 4, "Cover_Rate": 0.3076923076923077} {"Template_token": ["", "case", "", ":", "return", "", ";", "case", "", ":", "return", "", ";", "case", "", ":", "return", "", ";", "case", "", ":", "return", "", ";", "case", "", ":", "return", "", ";", "case", "", ":", "return", "", ";", "case", "", ":", "return", "", ";", "case", "", ":", "return", "", ";", "case", "", ":", "return", "", ";", "case", "", ":", "return", "", ";", "case", "", ":", "return", "", ";", "case", "", ":", "return", "", ";", "case", "", ":", "return", "", ";", "case", "", ":", "return", "", ";", "case", "", ":", "return", "", ";", "case", "", ":", "return", "", ";", "case", "", ":", "return", "", ";", "case", "", ":", "return", "", ";", "case", "", ":", "return", "", ";", "case", "", ":", "return", "", ";", "}", "llvm_unreachable", "(", "", ")", ";"], "ground_truth": ["}"], "File": "ARM64AsmPrinter", "Func": "getRealIndexedOpcode", "Target": "ARM64", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 28474, "Length": 127, "Cover_Rate": 0.42333333333333334} {"Template_token": ["", "void", "LLVMInitializeAsmPrinter", "(", ")", "{"], "ground_truth": ["RegisterAsmPrinter", "<", "AsmPrinter", ">", "X", "(", "TheleTarget", ")", ";"], "File": "ARM64AsmPrinter", "Func": "LLVMInitializeARM64AsmPrinter", "Target": "ARM64", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 28475, "Length": 14, "Cover_Rate": 0.5833333333333334} {"Template_token": ["", "RegisterAsmPrinter", "<", "AsmPrinter", ">", "X", "(", "TheleTarget", ")", ";"], "ground_truth": ["RegisterAsmPrinter", "<", "AsmPrinter", ">", "Y", "(", "ThebeTarget", ")", ";"], "File": "ARM64AsmPrinter", "Func": "LLVMInitializeARM64AsmPrinter", "Target": "ARM64", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 28476, "Length": 18, "Cover_Rate": 0.75} {"Template_token": ["", "return", "MCInstLowering", ".", "lowerOperand", "(", "MO", ",", "MCOp", ")", ";"], "ground_truth": ["}"], "File": "ARM64AsmPrinter", "Func": "lowerOperand", "Target": "ARM64", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 28477, "Length": 11, "Cover_Rate": 0.44} {"Template_token": ["", "bool", "lowerOperand", "(", "const", "MachineOperand", "&", "MO", ",", "MCOperand", "&", "MCOp", ")", "const", "{"], "ground_truth": ["return", "MCInstLowering", ".", "lowerOperand", "(", "MO", ",", "MCOp", ")", ";"], "File": "ARM64AsmPrinter", "Func": "lowerOperand", "Target": "ARM64", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 28478, "Length": 24, "Cover_Rate": 0.96} {"Template_token": ["", "assert", "(", "(", "CallTarget", "&", "", ")", "==", "CallTarget", "&&", "", ")", ";", "unsigned", "ScratchReg", "=", "MI", ".", "getOperand", "(", "Opers", ".", "getNextScratchIdx", "(", ")", ")", ".", "getReg", "(", ")", ";", "EncodedBytes", "=", "", ";", "EmitToStreamer", "(", "OutStreamer", ",", "MCInstBuilder", "(", "", ")", ".", "addReg", "(", "ScratchReg", ")", ".", "addImm", "(", "(", "CallTarget", ">>", "", ")", "&", "", ")", ".", "addImm", "(", "", ")", ")", ";", "EmitToStreamer", "(", "OutStreamer", ",", "MCInstBuilder", "(", "", ")", ".", "addReg", "(", "ScratchReg", ")", ".", "addReg", "(", "ScratchReg", ")", ".", "addImm", "(", "(", "CallTarget", ">>", "", ")", "&", "", ")", ".", "addImm", "(", "", ")", ")", ";", "EmitToStreamer", "(", "OutStreamer", ",", "MCInstBuilder", "(", "", ")", ".", "addReg", "(", "ScratchReg", ")", ".", "addReg", "(", "ScratchReg", ")", ".", "addImm", "(", "CallTarget", "&", "", ")", ".", "addImm", "(", "", ")", ")", ";", "EmitToStreamer", "(", "OutStreamer", ",", "MCInstBuilder", "(", "", ")", ".", "addReg", "(", "ScratchReg", ")", ")", ";", "}", "unsigned", "NumBytes", "=", "Opers", ".", "getMetaOper", "(", "PatchPointOpers", "::", "NBytesPos", ")", ".", "getImm", "(", ")", ";"], "ground_truth": ["assert", "(", "NumBytes", ">=", "EncodedBytes", "&&", "", ")", ";"], "File": "ARM64AsmPrinter", "Func": "LowerPATCHPOINT", "Target": "ARM64", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 28479, "Length": 175, "Cover_Rate": 0.603448275862069} {"Template_token": ["", "void", "AsmPrinter", "::", "LowerSTACKMAP", "(", "MCStreamer", "&", "OutStreamer", ",", "StackMaps", "&", "SM", ",", "const", "MachineInstr", "&", "MI", ")", "{", "unsigned", "NumNOPBytes", "=", "MI", ".", "getOperand", "(", "", ")", ".", "getImm", "(", ")", ";", "SM", ".", "recordStackMap", "(", "MI", ")", ";"], "ground_truth": ["assert", "(", "NumNOPBytes", "%", "", "==", "", "&&", "", ")", ";"], "File": "ARM64AsmPrinter", "Func": "LowerSTACKMAP", "Target": "ARM64", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 28480, "Length": 51, "Cover_Rate": 0.6071428571428571} {"Template_token": ["", "void", "AsmPrinter", "::", "LowerSTACKMAP", "(", "MCStreamer", "&", "OutStreamer", ",", "StackMaps", "&", "SM", ",", "const", "MachineInstr", "&", "MI", ")", "{", "unsigned", "NumNOPBytes", "=", "MI", ".", "getOperand", "(", "", ")", ".", "getImm", "(", ")", ";", "SM", ".", "recordStackMap", "(", "MI", ")", ";", "assert", "(", "NumNOPBytes", "%", "", "==", "", "&&", "", ")", ";"], "ground_truth": ["for", "(", "unsigned", "i", "=", "", ";", "i", "<", "NumNOPBytes", ";", "i", "+=", "", ")", "EmitToStreamer", "(", "OutStreamer", ",", "MCInstBuilder", "(", "", ")", ".", "addImm", "(", "", ")", ")", ";"], "File": "ARM64AsmPrinter", "Func": "LowerSTACKMAP", "Target": "ARM64", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 28481, "Length": 81, "Cover_Rate": 0.9642857142857143} {"Template_token": ["", "const", "MachineOperand", "&", "MO", "=", "MI", "->", "getOperand", "(", "OpNum", ")", ";", "assert", "(", "MO", ".", "isReg", "(", ")", "&&", "", ")", ";", "O", "<<", "", "<<", "InstPrinter", "::", "getRegisterName", "(", "MO", ".", "getReg", "(", ")", ")", "<<", "", ";"], "ground_truth": ["return", "false", ";"], "File": "ARM64AsmPrinter", "Func": "PrintAsmMemoryOperand", "Target": "ARM64", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 28482, "Length": 43, "Cover_Rate": 0.524390243902439} {"Template_token": ["", "return", "true", ";", "case", "'w'", ":", "Reg", "=", "getWRegFromXReg", "(", "Reg", ")", ";", "break", ";", "case", "'x'", ":"], "ground_truth": ["Reg", "=", "getXRegFromWReg", "(", "Reg", ")", ";"], "File": "ARM64AsmPrinter", "Func": "printAsmMRegister", "Target": "ARM64", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 28484, "Length": 25, "Cover_Rate": 0.3333333333333333} {"Template_token": ["", "assert", "(", "MI", "->", "getOperand", "(", "", ")", ".", "isReg", "(", ")", "&&", "MI", "->", "getOperand", "(", "", ")", ".", "isImm", "(", ")", ")", ";", "OS", "<<", "'['", ";", "printOperand", "(", "MI", ",", "", ",", "OS", ")", ";", "OS", "<<", "'+'", ";"], "ground_truth": ["printOperand", "(", "MI", ",", "", ",", "OS", ")", ";"], "File": "ARM64AsmPrinter", "Func": "PrintDebugValueComment", "Target": "ARM64", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 28485, "Length": 51, "Cover_Rate": 0.34} {"Template_token": ["", "case", "MachineOperand", "::", "MO_Register", ":", "{", "unsigned", "Reg", "=", "MO", ".", "getReg", "(", ")", ";", "assert", "(", "TargetRegisterInfo", "::", "isPhysicalRegister", "(", "Reg", ")", ")", ";", "assert", "(", "!", "MO", ".", "getSubReg", "(", ")", "&&", "", ")", ";", "O", "<<", "InstPrinter", "::", "getRegisterName", "(", "Reg", ")", ";", "break", ";", "}", "case", "MachineOperand", "::", "MO_Immediate", ":", "{"], "ground_truth": ["int64_t", "Imm", "=", "MO", ".", "getImm", "(", ")", ";"], "File": "ARM64AsmPrinter", "Func": "printOperand", "Target": "ARM64", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 28486, "Length": 64, "Cover_Rate": 0.5203252032520326} {"Template_token": ["", "bool", "runOnMachineFunction", "(", "MachineFunction", "&", "F", ")", "{", "FI", "=", "F", ".", "getInfo", "<", "FunctionInfo", ">", "(", ")", ";"], "ground_truth": ["return", "AsmPrinter", "::", "runOnMachineFunction", "(", "F", ")", ";"], "File": "ARM64AsmPrinter", "Func": "runOnMachineFunction", "Target": "ARM64", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 28487, "Length": 27, "Cover_Rate": 0.9642857142857143} {"Template_token": ["", "FI", "=", "F", ".", "getInfo", "<", "FunctionInfo", ">", "(", ")", ";"], "ground_truth": ["return", "AsmPrinter", "::", "runOnMachineFunction", "(", "F", ")", ";"], "File": "ARM64AsmPrinter", "Func": "runOnMachineFunction", "Target": "ARM64", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 28488, "Length": 19, "Cover_Rate": 0.6785714285714286} {"Template_token": ["", "case", "LO", ":", "return", "", ";", "case", "MI", ":", "return", "", ";", "case", "PL", ":", "return", "", ";", "case", "VS", ":", "return", "", ";", "case", "VC", ":", "return", "", ";", "case", "HI", ":", "return", "", ";", "case", "LS", ":", "return", "", ";", "case", "GE", ":", "return", "", ";", "case", "LT", ":", "return", "", ";", "case", "GT", ":", "return", "", ";", "case", "LE", ":", "return", "", ";"], "ground_truth": ["case", "AL", ":", "return", "", ";"], "File": "ARM64BaseInfo1", "Func": "getCondCodeName", "Target": "ARM64", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 28489, "Length": 72, "Cover_Rate": 0.5950413223140496} {"Template_token": ["", "case", "VS", ":", "return", "VC", ";", "case", "VC", ":", "return", "VS", ";", "case", "HI", ":", "return", "LS", ";", "case", "LS", ":", "return", "HI", ";", "case", "GE", ":", "return", "LT", ";", "case", "LT", ":", "return", "GE", ";", "case", "GT", ":", "return", "LE", ";", "case", "LE", ":", "return", "GT", ";", "}"], "ground_truth": ["}"], "File": "ARM64BaseInfo1", "Func": "getInvertedCondCode", "Target": "ARM64", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 28490, "Length": 50, "Cover_Rate": 0.4672897196261682} {"Template_token": ["", "inline", "static", "CondCode", "getInvertedCondCode", "(", "CondCode", "Code", ")", "{", "switch", "(", "Code", ")", "{", "default", ":", "llvm_unreachable", "(", "", ")", ";", "case", "EQ", ":", "return", "NE", ";", "case", "NE", ":", "return", "EQ", ";", "case", "HS", ":", "return", "LO", ";", "case", "LO", ":", "return", "HS", ";", "case", "MI", ":", "return", "PL", ";", "case", "PL", ":", "return", "MI", ";", "case", "VS", ":", "return", "VC", ";", "case", "VC", ":", "return", "VS", ";"], "ground_truth": ["case", "HI", ":", "return", "LS", ";"], "File": "ARM64BaseInfo1", "Func": "getInvertedCondCode", "Target": "ARM64", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 28491, "Length": 75, "Cover_Rate": 0.7009345794392523} {"Template_token": ["", "enum", "{", "N", "=", "", ",", "Z", "=", "", ",", "C", "=", "", ",", "V", "=", "", "}", ";", "switch", "(", "Code", ")", "{", "default", ":", "llvm_unreachable", "(", "", ")", ";", "case", "EQ", ":", "return", "Z", ";", "case", "NE", ":", "return", "", ";", "case", "HS", ":", "return", "C", ";", "case", "LO", ":", "return", "", ";"], "ground_truth": ["case", "MI", ":", "return", "N", ";"], "File": "ARM64BaseInfo1", "Func": "getNZCVToSatisfyCondCode", "Target": "ARM64", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 28492, "Length": 61, "Cover_Rate": 0.48412698412698413} {"Template_token": ["", "SysRegMapper", "(", "uint64_t", "FeatureBits", ")", ":", "FeatureBits", "(", "FeatureBits", ")", "{"], "ground_truth": ["}"], "File": "ARM64BaseInfo1", "Func": "SysRegMapper", "Target": "ARM64", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 28493, "Length": 12, "Cover_Rate": 1.0} {"Template_token": ["", "SysRegMapper", "(", "uint64_t", "FeatureBits", ")", ":", "FeatureBits", "(", "FeatureBits", ")", "{"], "ground_truth": ["}"], "File": "ARM64BaseInfo1", "Func": "SysRegMapper", "Target": "ARM64", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 28494, "Length": 12, "Cover_Rate": 1.0} {"Template_token": ["", "NamedImmMapper", "(", "const", "Mapping", "(", "&", "Pairs", ")", "[", "N", "]", ",", "uint32_t", "TooBigImm", ")", ":", "Pairs", "(", "&", "Pairs", "[", "", "]", ")", ",", "NumPairs", "(", "N", ")", ",", "TooBigImm", "(", "TooBigImm", ")", "{"], "ground_truth": ["}"], "File": "ARM64BaseInfo", "Func": "ARM64NamedImmMapper", "Target": "ARM64", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 28495, "Length": 36, "Cover_Rate": 1.0} {"Template_token": ["", "NamedImmMapper", "(", "const", "Mapping", "(", "&", "Pairs", ")", "[", "N", "]", ",", "uint32_t", "TooBigImm", ")", ":", "Pairs", "(", "&", "Pairs", "[", "", "]", ")", ",", "NumPairs", "(", "N", ")", ",", "TooBigImm", "(", "TooBigImm", ")", "{"], "ground_truth": ["}"], "File": "ARM64BaseInfo", "Func": "ARM64NamedImmMapper", "Target": "ARM64", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 28496, "Length": 36, "Cover_Rate": 1.0} {"Template_token": ["", "case", "", ":", "return", "", ";", "case", "", ":", "return", "", ";", "case", "", ":", "return", "", ";", "case", "", ":", "return", "", ";", "case", "", ":", "return", "", ";", "case", "", ":", "return", "", ";", "case", "", ":", "return", "", ";", "case", "", ":", "return", "", ";", "case", "", ":", "return", "", ";", "case", "", ":", "return", "", ";"], "ground_truth": ["case", "", ":", "return", "", ";"], "File": "ARM64BaseInfo", "Func": "ARM64VectorLayoutToString", "Target": "ARM64", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 28499, "Length": 66, "Cover_Rate": 0.5365853658536586} {"Template_token": ["", "case", "", ":", "return", "", ";", "case", "", ":", "return", "", ";", "case", "", ":", "return", "", ";", "case", "", ":", "return", "", ";", "case", "", ":", "return", "", ";", "case", "", ":", "return", "", ";", "case", "", ":", "return", "", ";"], "ground_truth": ["case", "", ":", "return", "", ";"], "File": "ARM64BaseInfo", "Func": "ARM64VectorLayoutToString", "Target": "ARM64", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 28500, "Length": 48, "Cover_Rate": 0.3902439024390244} {"Template_token": ["", "if", "(", "Pairs", "[", "i", "]", ".", "Name", "==", "LowerCaseName", ")", "{", "Valid", "=", "true", ";", "return", "Pairs", "[", "i", "]", ".", "Value", ";"], "ground_truth": ["}"], "File": "ARM64BaseInfo", "Func": "fromString", "Target": "ARM64", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 28501, "Length": 25, "Cover_Rate": 0.3333333333333333} {"Template_token": ["", "case", "", ":", "return", "", ";", "case", "", ":", "return", "", ";", "case", "", ":", "return", "", ";", "case", "", ":", "return", "", ";", "case", "", ":", "return", "", ";", "case", "", ":", "return", "", ";", "case", "", ":", "return", "", ";", "case", "", ":", "return", "", ";", "case", "", ":", "return", "", ";", "case", "", ":", "return", "", ";", "case", "", ":", "return", "", ";", "case", "", ":", "return", "", ";", "case", "", ":", "return", "", ";", "case", "", ":", "return", "", ";", "case", "", ":", "return", "", ";", "case", "", ":", "return", "", ";", "case", "", ":", "return", "", ";", "case", "", ":", "return", "", ";", "case", "", ":", "return", "", ";", "case", "", ":", "return", "", ";", "case", "", ":", "return", "", ";", "}", "return", "Reg", ";"], "ground_truth": ["}"], "File": "ARM64BaseInfo", "Func": "getBRegFromDReg", "Target": "ARM64", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 28502, "Length": 131, "Cover_Rate": 0.3864306784660767} {"Template_token": ["", "case", "MI", ":", "return", "", ";", "case", "PL", ":", "return", "", ";", "case", "VS", ":", "return", "", ";", "case", "VC", ":", "return", "", ";", "case", "HI", ":", "return", "", ";", "case", "LS", ":", "return", "", ";", "case", "GE", ":", "return", "", ";", "case", "LT", ":", "return", "", ";", "case", "GT", ":", "return", "", ";", "case", "LE", ":", "return", "", ";", "case", "AL", ":", "return", "", ";"], "ground_truth": ["case", "NV", ":", "return", "", ";"], "File": "ARM64BaseInfo", "Func": "getCondCodeName", "Target": "ARM64", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 28503, "Length": 72, "Cover_Rate": 0.5950413223140496} {"Template_token": ["", "case", "CS", ":", "return", "CC", ";", "case", "CC", ":", "return", "CS", ";", "case", "MI", ":", "return", "PL", ";", "case", "PL", ":", "return", "MI", ";", "case", "VS", ":", "return", "VC", ";", "case", "VC", ":", "return", "VS", ";"], "ground_truth": ["case", "HI", ":", "return", "LS", ";"], "File": "ARM64BaseInfo", "Func": "getInvertedCondCode", "Target": "ARM64", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 28504, "Length": 42, "Cover_Rate": 0.3925233644859813} {"Template_token": ["", "switch", "(", "Code", ")", "{", "default", ":", "llvm_unreachable", "(", "", ")", ";", "case", "EQ", ":", "return", "Z", ";", "case", "NE", ":", "return", "", ";", "case", "CS", ":", "return", "C", ";", "case", "CC", ":", "return", "", ";", "case", "MI", ":", "return", "N", ";", "case", "PL", ":", "return", "", ";", "case", "VS", ":", "return", "V", ";"], "ground_truth": ["case", "VC", ":", "return", "", ";"], "File": "ARM64BaseInfo", "Func": "getNZCVToSatisfyCondCode", "Target": "ARM64", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 28505, "Length": 60, "Cover_Rate": 0.47619047619047616} {"Template_token": ["", "case", "", ":", "return", "", ";", "case", "", ":", "return", "", ";", "case", "", ":", "return", "", ";", "case", "", ":", "return", "", ";", "case", "", ":", "return", "", ";", "case", "", ":", "return", "", ";", "case", "", ":", "return", "", ";", "case", "", ":", "return", "", ";", "case", "", ":", "return", "", ";", "case", "", ":", "return", "", ";", "case", "", ":", "return", "", ";", "case", "", ":", "return", "", ";", "case", "", ":", "return", "", ";", "case", "", ":", "return", "", ";", "case", "", ":", "return", "", ";", "case", "", ":", "return", "", ";", "case", "", ":", "return", "", ";", "case", "", ":", "return", "", ";", "}"], "ground_truth": ["return", "Reg", ";"], "File": "ARM64BaseInfo", "Func": "getWRegFromXReg", "Target": "ARM64", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 28506, "Length": 112, "Cover_Rate": 0.3209169054441261} {"Template_token": ["", "case", "", ":", "return", "", ";", "case", "", ":", "return", "", ";", "case", "", ":", "return", "", ";", "case", "", ":", "return", "", ";", "case", "", ":", "return", "", ";", "case", "", ":", "return", "", ";", "case", "", ":", "return", "", ";", "case", "", ":", "return", "", ";", "case", "", ":", "return", "", ";", "case", "", ":", "return", "", ";", "case", "", ":", "return", "", ";", "case", "", ":", "return", "", ";", "case", "", ":", "return", "", ";", "case", "", ":", "return", "", ";", "case", "", ":", "return", "", ";", "case", "", ":", "return", "", ";", "case", "", ":", "return", "", ";", "case", "", ":", "return", "", ";", "case", "", ":", "return", "", ";", "case", "", ":", "return", "", ";", "case", "", ":", "return", "", ";", "case", "", ":", "return", "", ";", "case", "", ":", "return", "", ";", "case", "", ":", "return", "", ";"], "ground_truth": ["case", "", ":", "return", "", ";"], "File": "ARM64BaseInfo", "Func": "getXRegFromWReg", "Target": "ARM64", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 28507, "Length": 150, "Cover_Rate": 0.4297994269340974} {"Template_token": ["", "case", "VMALLE1IS", ":", "case", "ALLE2IS", ":", "case", "ALLE3IS", ":", "case", "ALLE1IS", ":", "case", "VMALLS12E1IS", ":"], "ground_truth": ["case", "VMALLE1", ":"], "File": "ARM64BaseInfo", "Func": "NeedsRegister", "Target": "ARM64", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 28508, "Length": 18, "Cover_Rate": 0.3333333333333333}