{"Template_token": ["", "DEBUG", "(", "dbgs", "(", ")", "<<", "", ")", ";", "DEBUG", "(", "MI", "->", "dump", "(", ")", ")", ";", "MCInstLower", "MCInstLowering", "(", "OutContext", ",", "*", "Mang", ",", "*", "this", ")", ";", "MCInst"], "ground_truth": ["TmpInst", ";"], "File": "AZPRAsmPrinter", "Func": "EmitInstruction", "Target": "AZPR", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 51015, "Length": 33, "Cover_Rate": 0.5409836065573771} {"Template_token": ["", "++", "PI2", ";", "if", "(", "PI2", "!=", "MBB", "->", "pred_end", "(", ")", ")", "return", "false", ";", "if", "(", "!", "Pred", "->", "isLayoutSuccessor", "(", "MBB", ")", ")", "return", "false", ";", "if", "(", "Pred", "->", "empty", "(", ")", ")", "return", "true", ";", "MachineBasicBlock", "::", "const_iterator", "I", "=", "Pred", "->", "end", "(", ")", ";", "while", "(", "I", "!=", "Pred", "->", "begin", "(", ")", "&&", "!", "(", "--", "I", ")", "->", "isTerminator", "(", ")", ")", ";", "return", "!", "(", "I", "->", "isBarrier", "(", ")", "||", "(", "I", "->", "getOpcode", "(", ")", "==", "", "&&", "I", "->", "getOperand", "(", "", ")", ".", "getReg", "(", ")", "==", "I", "->", "getOperand", "(", "", ")", ".", "getReg"], "ground_truth": ["(", ")", ")", ")", ";"], "File": "AZPRAsmPrinter", "Func": "isBlockOnlyReachableByFallthrough", "Target": "AZPR", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 51016, "Length": 114, "Cover_Rate": 0.7307692307692307} {"Template_token": ["", "void", "LLVMInitializeAsmPrinter", "(", ")", "{", "RegisterAsmPrinter", "<", "AsmPrinter", ">", "X", "(", "TheTarget"], "ground_truth": [")", ";"], "File": "AZPRAsmPrinter", "Func": "LLVMInitializeAZPRAsmPrinter", "Target": "AZPR", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 51017, "Length": 14, "Cover_Rate": 0.9333333333333333} {"Template_token": ["", "bool", "AsmPrinter", "::", "PrintAsmOperand", "(", "const", "MachineInstr", "*", "MI", ",", "unsigned", "OpNum", ",", "unsigned", "AsmVariant", ",", "const", "char", "*", "ExtraCode", ",", "raw_ostream", "&", "O", ")", "{", "const", "MachineOperand", "&", "MO", "=", "MI", "->", "getOperand", "(", "OpNum", ")", ";", "switch", "(", "MO", ".", "getType", "(", ")", ")", "{", "case", "MachineOperand", "::", "MO_Register", ":", "O", "<<", "'$'", "<<", "StringRef", "(", "InstPrinter", "::", "getRegisterName", "(", "MO"], "ground_truth": [".", "getReg", "(", ")", ")", ")", ".", "lower", "(", ")", ";"], "File": "AZPRAsmPrinter", "Func": "PrintAsmOperand", "Target": "AZPR", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 51018, "Length": 74, "Cover_Rate": 0.9024390243902439} {"Template_token": ["", "DEBUG", "(", "dbgs", "(", ")", "<<", "", ")", ";", "MachineBasicBlock", "::", "iterator", "MBBI", "=", "MBB", ".", "getLastNonDebugInstr", "(", ")", ";", "MachineFrameInfo", "*", "MFI", "=", "MF", ".", "getFrameInfo", "(", ")", ";", "const", "InstrInfo", "&", "TII", "=", "*", "static_cast", "<", "const", "InstrInfo", "*", ">", "(", "MF", ".", "getTarget", "(", ")", ".", "getInstrInfo", "(", ")", ")", ";", "DebugLoc", "dl", "=", "MBBI"], "ground_truth": ["->", "getDebugLoc", "(", ")", ";"], "File": "AZPRFrameLowering", "Func": "emitEpilogue", "Target": "AZPR", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 51019, "Length": 63, "Cover_Rate": 0.5163934426229508} {"Template_token": ["", "MachineFrameInfo", "*", "MFI", "=", "MF", ".", "getFrameInfo", "(", ")", ";", "const", "InstrInfo", "&", "TII", "=", "*", "static_cast", "<", "const", "InstrInfo", "*", ">", "(", "MF", ".", "getTarget", "(", ")", ".", "getInstrInfo", "(", ")", ")", ";", "MachineBasicBlock", "::", "iterator", "MBBI", "=", "MBB", ".", "begin", "(", ")", ";", "DebugLoc", "dl", "=", "MBBI", "!=", "MBB", ".", "end", "(", ")", "?", "MBBI", "->", "getDebugLoc", "(", ")", ":", "DebugLoc", "(", ")", ";", "uint64_t", "StackSize", "=", "", "*", "", ";", "MFI", "->", "setStackSize", "("], "ground_truth": ["StackSize", ")", ";"], "File": "AZPRFrameLowering", "Func": "emitPrologue", "Target": "AZPR", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 51020, "Length": 80, "Cover_Rate": 0.547945205479452} {"Template_token": ["", "const", "InstrInfo", "&", "TII", "=", "*", "static_cast", "<", "const", "InstrInfo", "*", ">", "(", "MF", ".", "getTarget", "(", ")", ".", "getInstrInfo", "(", ")", ")", ";", "MachineBasicBlock", "::", "iterator", "MBBI", "=", "MBB", ".", "begin", "(", ")", ";", "DebugLoc", "dl", "=", "MBBI", "!=", "MBB", ".", "end", "(", ")", "?", "MBBI", "->", "getDebugLoc", "(", ")", ":", "DebugLoc", "(", ")", ";", "uint64_t", "StackSize", "="], "ground_truth": ["", "*", "", ";"], "File": "AZPRFrameLowering", "Func": "emitPrologue", "Target": "AZPR", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 51021, "Length": 63, "Cover_Rate": 0.4315068493150685} {"Template_token": ["", "bool", "FrameLowering", "::", "hasFP", "(", "const", "MachineFunction", "&", "MF", ")", "const", "{", "return", "false"], "ground_truth": [";"], "File": "AZPRFrameLowering", "Func": "hasFP", "Target": "AZPR", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 51022, "Length": 15, "Cover_Rate": 0.9375} {"Template_token": ["", "if", "(", "MO", ".", "isImplicit", "(", ")", ")", "break", ";", "return", "MCOperand", "::", "CreateReg", "(", "MO", ".", "getReg", "(", ")", ")", ";", "case", "MachineOperand", "::", "MO_Immediate", ":", "return", "MCOperand", "::", "CreateImm", "(", "MO", ".", "getImm", "(", ")", ")", ";", "case", "MachineOperand", "::", "MO_MachineBasicBlock", ":", "case", "MachineOperand", "::"], "ground_truth": ["MO_GlobalAddress", ":"], "File": "AZPRMCInstLower", "Func": "LowerOperand", "Target": "AZPR", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 51023, "Length": 49, "Cover_Rate": 0.32666666666666666} {"Template_token": ["", "Symbol", "=", "Printer", ".", "GetCPISymbol", "(", "MO", ".", "getIndex", "(", ")", ")", ";", "Offset", "=", "MO", ".", "getOffset", "(", ")", ";", "break", ";", "default", ":", "llvm_unreachable", "(", "", ")", ";", "}", "const", "MCExpr", "*", "Expr", "=", "MCSymbolRefExpr", "::", "Create", "(", "Symbol", ",", "Ctx", ")", ";", "if", "(", "Offset", ")", "{", "const", "MCConstantExpr", "*", "OffsetExpr", "=", "MCConstantExpr", "::", "Create", "(", "Offset", ",", "Ctx", ")", ";", "Expr", "=", "MCBinaryExpr", "::", "CreateAdd", "(", "Expr", ",", "OffsetExpr", ",", "Ctx", ")", ";", "}", "return", "MCOperand", "::", "CreateExpr", "(", "Expr", ")"], "ground_truth": [";"], "File": "AZPRMCInstLower", "Func": "LowerSymbolOperand", "Target": "AZPR", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 51024, "Length": 86, "Cover_Rate": 0.33076923076923076} {"Template_token": ["", "DEBUG", "(", "dbgs", "(", ")", "<<", "", ")", ";", "switch", "(", "MO", ".", "getTargetFlags", "(", ")", ")", "{", "default", ":", "llvm_unreachable", "(", "", ")", ";", "case", "", ":", "break", ";", "}", "const", "MCSymbol", "*", "Symbol", ";", "unsigned", "Offset", "=", "", ";", "switch", "(", "MOTy", ")", "{", "case", "MachineOperand", "::", "MO_MachineBasicBlock", ":", "Symbol", "=", "MO", ".", "getMBB", "(", ")", "->", "getSymbol", "(", ")", ";", "break", ";", "case", "MachineOperand", "::", "MO_GlobalAddress", ":", "Symbol", "=", "Mang", ".", "getSymbol", "(", "MO", ".", "getGlobal", "(", ")", ")", ";", "Offset", "=", "MO", ".", "getOffset", "(", ")", ";", "break", ";", "case", "MachineOperand", "::", "MO_BlockAddress", ":", "Symbol", "=", "Printer", ".", "GetBlockAddressSymbol", "(", "MO", ".", "getBlockAddress", "(", ")", ")", ";", "break", ";", "case", "MachineOperand", "::", "MO_ExternalSymbol", ":", "Symbol", "=", "Printer", ".", "GetExternalSymbolSymbol", "(", "MO", ".", "getSymbolName", "(", ")", ")", ";", "break", ";", "case", "MachineOperand", "::", "MO_JumpTableIndex", ":", "Symbol", "=", "Printer", ".", "GetJTISymbol", "(", "MO", ".", "getIndex", "(", ")", ")", ";", "break", ";", "case", "MachineOperand", "::", "MO_ConstantPoolIndex", ":", "Symbol", "=", "Printer", ".", "GetCPISymbol", "(", "MO", ".", "getIndex", "(", ")", ")", ";", "Offset", "=", "MO", ".", "getOffset", "(", ")", ";", "break", ";", "default", ":", "llvm_unreachable", "(", ""], "ground_truth": [")", ";"], "File": "AZPRMCInstLower", "Func": "LowerSymbolOperand", "Target": "AZPR", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 51025, "Length": 188, "Cover_Rate": 0.7230769230769231} {"Template_token": ["", "addPass", "(", "createISelDag", "(", "getTargetMachine", "(", ")", ")", ")", ";", "return", "false"], "ground_truth": [";"], "File": "AZPRTargetMachine", "Func": "addInstSelector", "Target": "AZPR", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 51026, "Length": 13, "Cover_Rate": 0.6190476190476191} {"Template_token": ["", "addPass", "(", "createISelDag", "(", "getTargetMachine"], "ground_truth": ["(", ")", ")", ")", ";"], "File": "AZPRTargetMachine", "Func": "addInstSelector", "Target": "AZPR", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 51027, "Length": 10, "Cover_Rate": 0.47619047619047616} {"Template_token": ["", "addPass", "(", "createDelaySlotFillerPass", "(", "getTargetMachine", "(", ")", ")", ")", ";", "return", "true"], "ground_truth": [";"], "File": "AZPRTargetMachine", "Func": "addPreEmitPass", "Target": "AZPR", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 51028, "Length": 13, "Cover_Rate": 0.6190476190476191} {"Template_token": ["", "addPass", "(", "createDelaySlotFillerPass", "(", "getTargetMachine", "("], "ground_truth": [")", ")", ")", ";"], "File": "AZPRTargetMachine", "Func": "addPreEmitPass", "Target": "AZPR", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 51029, "Length": 10, "Cover_Rate": 0.47619047619047616} {"Template_token": ["", "TargetMachine", "(", "const", "Target", "&", "T", ",", "StringRef", "Triple", ",", "StringRef", "CPU", ",", "StringRef", "FS", ",", "const", "TargetOptions", "&", "Options", ",", "Reloc", "::", "Model", "RM", ",", "CodeModel", "::", "Model", "CM", ",", "CodeGenOpt", "::", "Level", "OL", ")", ":", "LLVMTargetMachine", "(", "T", ",", "Triple", ",", "CPU", ",", "FS", ",", "Options", ",", "RM", ",", "CM", ",", "OL", ")", ",", "DL", "(", "", ")", ",", "Subtarget", "(", "Triple", ",", "CPU", ",", "FS", ")", ",", "InstrInfo", "(", "*", "this", ")"], "ground_truth": [",", "FrameLowering", "(", "Subtarget", ")", ",", "TLInfo", "(", "*", "this", ")", ",", "TSInfo", "(", "*", "this", ")", "{"], "File": "AZPRTargetMachine", "Func": "AZPRTargetMachine", "Target": "AZPR", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 51030, "Length": 93, "Cover_Rate": 0.96875} {"Template_token": ["", "return", "new", "PassConfig", "(", "this", ","], "ground_truth": ["PM", ")", ";"], "File": "AZPRTargetMachine", "Func": "createPassConfig", "Target": "AZPR", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 51031, "Length": 9, "Cover_Rate": 0.42857142857142855} {"Template_token": ["", "return", "getTM", "<", "TargetMachine"], "ground_truth": [">", "(", ")", ";"], "File": "AZPRTargetMachine", "Func": "getAZPRTargetMachine", "Target": "AZPR", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 51032, "Length": 8, "Cover_Rate": 0.5} {"Template_token": ["", "TargetMachine", "&", "getTargetMachine", "(", ")"], "ground_truth": ["const", "{"], "File": "AZPRTargetMachine", "Func": "getAZPRTargetMachine", "Target": "AZPR", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 51033, "Length": 7, "Cover_Rate": 0.4375} {"Template_token": ["", "virtual", "const", "InstrInfo", "*", "getInstrInfo"], "ground_truth": ["(", ")", "const", "{"], "File": "AZPRTargetMachine", "Func": "getInstrInfo", "Target": "AZPR", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 51034, "Length": 9, "Cover_Rate": 0.6428571428571429} {"Template_token": ["", "virtual", "const", "InstrInfo", "*", "getInstrInfo", "(", ")", "const", "{", "return", "&", "InstrInfo"], "ground_truth": [";"], "File": "AZPRTargetMachine", "Func": "getInstrInfo", "Target": "AZPR", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 51035, "Length": 13, "Cover_Rate": 0.9285714285714286} {"Template_token": ["", "virtual", "const", "RegisterInfo", "*", "getRegisterInfo"], "ground_truth": ["(", ")", "const", "{"], "File": "AZPRTargetMachine", "Func": "getRegisterInfo", "Target": "AZPR", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 51036, "Length": 9, "Cover_Rate": 0.5} {"Template_token": ["", "virtual", "const", "SelectionDAGInfo", "*", "getSelectionDAGInfo", "(", ")", "const", "{", "return", "&"], "ground_truth": ["TSInfo", ";"], "File": "AZPRTargetMachine", "Func": "getSelectionDAGInfo", "Target": "AZPR", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 51037, "Length": 13, "Cover_Rate": 0.9285714285714286} {"Template_token": ["", "virtual", "const", "Subtarget", "*", "getSubtargetImpl", "(", ")", "const", "{", "return", "&"], "ground_truth": ["Subtarget", ";"], "File": "AZPRTargetMachine", "Func": "getSubtargetImpl", "Target": "AZPR", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 51038, "Length": 13, "Cover_Rate": 0.9285714285714286} {"Template_token": ["", "virtual", "const", "TargetLowering", "*", "getTargetLowering", "(", ")", "const", "{", "return", "&"], "ground_truth": ["TLInfo", ";"], "File": "AZPRTargetMachine", "Func": "getTargetLowering", "Target": "AZPR", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 51039, "Length": 13, "Cover_Rate": 0.9285714285714286} {"Template_token": ["", "RegisterTargetMachine", "<", "TargetMachine", ">", "X", "(", "TheTarget"], "ground_truth": [")", ";"], "File": "AZPRTargetMachine", "Func": "LLVMInitializeAZPRTarget", "Target": "AZPR", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 51040, "Length": 9, "Cover_Rate": 0.6} {"Template_token": ["", "RegisterTargetMachine", "<", "TargetMachine", ">", "X"], "ground_truth": ["(", "TheTarget", ")", ";"], "File": "AZPRTargetMachine", "Func": "LLVMInitializeAZPRTarget", "Target": "AZPR", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 51041, "Length": 9, "Cover_Rate": 0.6} {"Template_token": ["", "FunctionPass", "*", "llvm", "::", "createDelaySlotFillerPass", "(", "TargetMachine"], "ground_truth": ["&", "tm", ")", "{"], "File": "DelaySlotFiller", "Func": "createAZPRDelaySlotFillerPass", "Target": "AZPR", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 51042, "Length": 11, "Cover_Rate": 0.5789473684210527} {"Template_token": ["", "return", "new", "Filler", "("], "ground_truth": ["tm", ")", ";"], "File": "DelaySlotFiller", "Func": "createAZPRDelaySlotFillerPass", "Target": "AZPR", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 51043, "Length": 7, "Cover_Rate": 0.3684210526315789} {"Template_token": ["", "virtual", "const", "char", "*", "getPassName", "(", ")"], "ground_truth": ["const", "{"], "File": "DelaySlotFiller", "Func": "getPassName", "Target": "AZPR", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 51044, "Length": 9, "Cover_Rate": 0.6923076923076923} {"Template_token": ["", "virtual", "const", "char", "*", "getPassName", "(", ")", "const", "{", "return", ""], "ground_truth": [";"], "File": "DelaySlotFiller", "Func": "getPassName", "Target": "AZPR", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 51045, "Length": 12, "Cover_Rate": 0.9230769230769231} {"Template_token": ["", "bool", "Changed", "=", "false", ";", "for", "(", "MachineBasicBlock", "::", "iterator", "I", "=", "MBB", ".", "begin", "(", ")", ";", "I", "!=", "MBB", ".", "end", "(", ")", ";", "++", "I", ")", "if", "(", "I", "->", "hasDelaySlot", "(", ")", ")", "{", "MachineBasicBlock", "::", "iterator", "J", "=", "I", ";", "++", "FilledSlots", ";", "Changed", "=", "true", ";", "BuildMI", "(", "MBB", ",", "++", "J", ",", "I", "->", "getDebugLoc", "(", ")"], "ground_truth": [",", "TII", "->", "get", "(", "", ")", ")", ";"], "File": "DelaySlotFiller", "Func": "runOnMachineBasicBlock", "Target": "AZPR", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 51046, "Length": 73, "Cover_Rate": 0.8111111111111111}