{"ground_truth": ["", "bool", "IA64AsmPrinter", "::", "doFinalization", "(", "Module", "&", "M", ")", "{", "for", "(", "Module", "::", "const_global_iterator", "I", "=", "M", ".", "global_begin", "(", ")", ",", "E", "=", "M", ".", "global_end", "(", ")", ";", "I", "!=", "E", ";", "++", "I", ")", "printModuleLevelGV", "(", "I", ")", ";", "O", "<<", "\"\\n\\n// br.call targets referenced (and not defined) above: \\n\"", ";", "for", "(", "std", "::", "set", "<", "std", "::", "string", ">", "::", "iterator", "i", "=", "ExternalFunctionNames", ".", "begin", "(", ")", ",", "e", "=", "ExternalFunctionNames", ".", "end", "(", ")", ";", "i", "!=", "e", ";", "++", "i", ")", "{", "O", "<<", "\"\\t.global \"", "<<", "*", "i", "<<", "\"\\n\\t.type \"", "<<", "*", "i", "<<", "\", @function\\n\"", ";", "}", "O", "<<", "\"\\n\\n\"", ";", "O", "<<", "\"\\n\\n// (external) symbols referenced (and not defined) above: \\n\"", ";", "for", "(", "std", "::", "set", "<", "std", "::", "string", ">", "::", "iterator", "i", "=", "ExternalObjectNames", ".", "begin", "(", ")", ",", "e", "=", "ExternalObjectNames", ".", "end", "(", ")", ";", "i", "!=", "e", ";", "++", "i", ")", "{", "O", "<<", "\"\\t.global \"", "<<", "*", "i", "<<", "\"\\n\\t.type \"", "<<", "*", "i", "<<", "\", @object\\n\"", ";", "}", "O", "<<", "\"\\n\\n\"", ";", "return", "AsmPrinter", "::", "doFinalization", "(", "M", ")", ";", "}", ""], "natrual_language": ["doFinalization", "-", "Virtual", "method", "overriden", "by", "subclasses", "to", "do", "any", "necessary", "clean", "up", "after", "all", "passes", "have", "run", "."], "TS_V_token": ["IA64", "IA64", "\"\\n\\n// br.call targets referenced (and not defined) above: \\n\"", "\"\\t.global \"", "\"\\n\\t.type \"", "\", @function\\n\"", "\"\\n\\n\"", "\"\\n\\n// (external) symbols referenced (and not defined) above: \\n\"", "\"\\t.global \"", "\"\\n\\t.type \"", "\", @object\\n\"", "\"\\n\\n\""], "File": "IA64AsmPrinter", "Func": "doFinalization", "Target": "IA64", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 775, "Length": 170} {"ground_truth": ["", "bool", "IA64AsmPrinter", "::", "doInitialization", "(", "Module", "&", "M", ")", "{", "bool", "Result", "=", "AsmPrinter", "::", "doInitialization", "(", "M", ")", ";", "O", "<<", "\"\\n.ident \\\"LLVM-ia64\\\"\\n\\n\"", "<<", "\"\\t.psr lsb\\n\"", "<<", "\"\\t.radix C\\n\"", "<<", "\"\\t.psr abi64\\n\"", ";", "return", "Result", ";", "}", ""], "natrual_language": ["Set", "up", "the", "AsmPrinter", "when", "we", "are", "working", "on", "a", "new", "module", "."], "TS_V_token": ["IA64", "IA64", "\"\\n.ident \\\"LLVM-ia64\\\"\\n\\n\"", "\"\\t.psr lsb\\n\"", "\"\\t.radix C\\n\"", "\"\\t.psr abi64\\n\""], "File": "IA64AsmPrinter", "Func": "doInitialization", "Target": "IA64", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 776, "Length": 34} {"ground_truth": ["", "virtual", "const", "char", "*", "getPassName", "(", ")", "const", "{", "return", "\"IA64 Assembly Printer\"", ";", "}", ""], "natrual_language": ["getPassName", "-", "Return", "a", "nice", "clean", "name", "for", "a", "pass", "."], "TS_V_token": ["IA64", "\"IA64 Assembly Printer\""], "File": "IA64AsmPrinter", "Func": "getPassName", "Target": "IA64", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 777, "Length": 13} {"ground_truth": ["", "bool", "IA64AsmPrinter", "::", "runOnMachineFunction", "(", "MachineFunction", "&", "MF", ")", "{", "this", "->", "MF", "=", "&", "MF", ";", "SetupMachineFunction", "(", "MF", ")", ";", "O", "<<", "\"\\n\\n\"", ";", "EmitConstantPool", "(", "MF", ".", "getConstantPool", "(", ")", ")", ";", "const", "Function", "*", "F", "=", "MF", ".", "getFunction", "(", ")", ";", "SwitchToSection", "(", "TAI", "->", "SectionForGlobal", "(", "F", ")", ")", ";", "EmitAlignment", "(", "5", ")", ";", "O", "<<", "\"\\t.global\\t\"", "<<", "CurrentFnName", "<<", "'\\n'", ";", "printVisibility", "(", "CurrentFnName", ",", "F", "->", "getVisibility", "(", ")", ")", ";", "O", "<<", "\"\\t.type\\t\"", "<<", "CurrentFnName", "<<", "\", @function\\n\"", ";", "O", "<<", "CurrentFnName", "<<", "\":\\n\"", ";", "for", "(", "MachineFunction", "::", "const_iterator", "I", "=", "MF", ".", "begin", "(", ")", ",", "E", "=", "MF", ".", "end", "(", ")", ";", "I", "!=", "E", ";", "++", "I", ")", "{", "if", "(", "!", "I", "->", "pred_empty", "(", ")", ")", "{", "printBasicBlockLabel", "(", "I", ",", "true", ",", "true", ")", ";", "O", "<<", "'\\n'", ";", "}", "for", "(", "MachineBasicBlock", "::", "const_iterator", "II", "=", "I", "->", "begin", "(", ")", ",", "E", "=", "I", "->", "end", "(", ")", ";", "II", "!=", "E", ";", "++", "II", ")", "{", "printMachineInstruction", "(", "II", ")", ";", "}", "}", "return", "false", ";", "}", ""], "natrual_language": ["runOnMachineFunction", "-", "Emit", "the", "function", "body", "."], "TS_V_token": ["IA64", "IA64", "\"\\n\\n\"", "5", "\"\\t.global\\t\"", "\"\\t.type\\t\"", "\", @function\\n\"", "\":\\n\""], "File": "IA64AsmPrinter", "Func": "runOnMachineFunction", "Target": "IA64", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 778, "Length": 187} {"ground_truth": ["", "virtual", "const", "char", "*", "getPassName", "(", ")", "const", "{", "return", "\"IA64 (Itanium) Bundling Pass\"", ";", "}", ""], "natrual_language": ["getPassName", "-", "Return", "a", "nice", "clean", "name", "for", "a", "pass", "."], "TS_V_token": ["IA64", "\"IA64 (Itanium) Bundling Pass\""], "File": "IA64Bundling", "Func": "getPassName", "Target": "IA64", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 779, "Length": 13} {"ground_truth": ["", "bool", "runOnMachineFunction", "(", "MachineFunction", "&", "F", ")", "{", "bool", "Changed", "=", "false", ";", "for", "(", "MachineFunction", "::", "iterator", "FI", "=", "F", ".", "begin", "(", ")", ",", "FE", "=", "F", ".", "end", "(", ")", ";", "FI", "!=", "FE", ";", "++", "FI", ")", "Changed", "|=", "runOnMachineBasicBlock", "(", "*", "FI", ")", ";", "return", "Changed", ";", "}", ""], "natrual_language": ["runOnMachineFunction", "-", "Emit", "the", "function", "body", "."], "TS_V_token": ["IA64"], "File": "IA64Bundling", "Func": "runOnMachineFunction", "Target": "IA64", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 780, "Length": 53} {"ground_truth": ["", "void", "IA64InstrInfo", "::", "storeRegToStackSlot", "(", "MachineBasicBlock", "&", "MBB", ",", "MachineBasicBlock", "::", "iterator", "MI", ",", "unsigned", "SrcReg", ",", "bool", "isKill", ",", "int", "FrameIdx", ",", "const", "TargetRegisterClass", "*", "RC", ")", "const", "{", "DebugLoc", "DL", "=", "DebugLoc", "::", "getUnknownLoc", "(", ")", ";", "if", "(", "MI", "!=", "MBB", ".", "end", "(", ")", ")", "DL", "=", "MI", "->", "getDebugLoc", "(", ")", ";", "if", "(", "RC", "==", "IA64", "::", "FPRegisterClass", ")", "{", "BuildMI", "(", "MBB", ",", "MI", ",", "DL", ",", "get", "(", "IA64", "::", "STF_SPILL", ")", ")", ".", "addFrameIndex", "(", "FrameIdx", ")", ".", "addReg", "(", "SrcReg", ",", "false", ",", "false", ",", "isKill", ")", ";", "}", "else", "if", "(", "RC", "==", "IA64", "::", "GRRegisterClass", ")", "{", "BuildMI", "(", "MBB", ",", "MI", ",", "DL", ",", "get", "(", "IA64", "::", "ST8", ")", ")", ".", "addFrameIndex", "(", "FrameIdx", ")", ".", "addReg", "(", "SrcReg", ",", "false", ",", "false", ",", "isKill", ")", ";", "}", "else", "if", "(", "RC", "==", "IA64", "::", "PRRegisterClass", ")", "{", "BuildMI", "(", "MBB", ",", "MI", ",", "DL", ",", "get", "(", "IA64", "::", "MOV", ")", ",", "IA64", "::", "r2", ")", ".", "addReg", "(", "IA64", "::", "r0", ")", ";", "BuildMI", "(", "MBB", ",", "MI", ",", "DL", ",", "get", "(", "IA64", "::", "CADDIMM22", ")", ",", "IA64", "::", "r2", ")", ".", "addReg", "(", "IA64", "::", "r2", ")", ".", "addImm", "(", "1", ")", ".", "addReg", "(", "SrcReg", ",", "false", ",", "false", ",", "isKill", ")", ";", "BuildMI", "(", "MBB", ",", "MI", ",", "DL", ",", "get", "(", "IA64", "::", "ST8", ")", ")", ".", "addFrameIndex", "(", "FrameIdx", ")", ".", "addReg", "(", "IA64", "::", "r2", ")", ";", "}", "else", "assert", "(", "0", "&&", "\"sorry, I don't know how to store this sort of reg in the stack\\n\"", ")", ";", "}", ""], "natrual_language": ["Store", "the", "specified", "register", "of", "the", "given", "register", "class", "to", "the", "specified", "stack", "frame", "index", "."], "TS_V_token": ["IA64", "IA64", "IA64::FPRegisterClass", "IA64::STF_SPILL", "IA64::GRRegisterClass", "IA64::ST8", "IA64::PRRegisterClass", "IA64::MOV", "IA64::r2", "IA64::r0", "IA64::CADDIMM22", "IA64::r2", "IA64::r2", "1", "IA64::ST8", "IA64::r2", "0", "\"sorry, I don't know how to store this sort of reg in the stack\\n\""], "File": "IA64InstrInfo1", "Func": "storeRegToStackSlot", "Target": "IA64", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 781, "Length": 260} {"ground_truth": ["", "virtual", "const", "IA64RegisterInfo", "&", "getRegisterInfo", "(", ")", "const", "{", "return", "RI", ";", "}", ""], "natrual_language": ["getRegisterInfo", "-", "TargetInstrInfo", "is", "a", "superset", "of", "MRegister", "info", "."], "TS_V_token": ["IA64", "IA64"], "File": "IA64InstrInfo", "Func": "getRegisterInfo", "Target": "IA64", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 782, "Length": 13} {"ground_truth": ["", "void", "IA64InstrInfo", "::", "loadRegFromStackSlot", "(", "MachineBasicBlock", "&", "MBB", ",", "MachineBasicBlock", "::", "iterator", "MI", ",", "unsigned", "DestReg", ",", "int", "FrameIdx", ",", "const", "TargetRegisterClass", "*", "RC", ")", "const", "{", "DebugLoc", "DL", "=", "DebugLoc", "::", "getUnknownLoc", "(", ")", ";", "if", "(", "MI", "!=", "MBB", ".", "end", "(", ")", ")", "DL", "=", "MI", "->", "getDebugLoc", "(", ")", ";", "if", "(", "RC", "==", "IA64", "::", "FPRegisterClass", ")", "{", "BuildMI", "(", "MBB", ",", "MI", ",", "DL", ",", "get", "(", "IA64", "::", "LDF_FILL", ")", ",", "DestReg", ")", ".", "addFrameIndex", "(", "FrameIdx", ")", ";", "}", "else", "if", "(", "RC", "==", "IA64", "::", "GRRegisterClass", ")", "{", "BuildMI", "(", "MBB", ",", "MI", ",", "DL", ",", "get", "(", "IA64", "::", "LD8", ")", ",", "DestReg", ")", ".", "addFrameIndex", "(", "FrameIdx", ")", ";", "}", "else", "if", "(", "RC", "==", "IA64", "::", "PRRegisterClass", ")", "{", "BuildMI", "(", "MBB", ",", "MI", ",", "DL", ",", "get", "(", "IA64", "::", "LD8", ")", ",", "IA64", "::", "r2", ")", ".", "addFrameIndex", "(", "FrameIdx", ")", ";", "BuildMI", "(", "MBB", ",", "MI", ",", "DL", ",", "get", "(", "IA64", "::", "CMPNE", ")", ",", "DestReg", ")", ".", "addReg", "(", "IA64", "::", "r2", ")", ".", "addReg", "(", "IA64", "::", "r0", ")", ";", "}", "else", "{", "assert", "(", "0", "&&", "\"sorry, I don't know how to load this sort of reg from the stack\\n\"", ")", ";", "}", "}", ""], "natrual_language": ["Load", "the", "specified", "register", "of", "the", "given", "register", "class", "from", "the", "specified", "stack", "frame", "index", "."], "TS_V_token": ["IA64", "IA64", "IA64::FPRegisterClass", "IA64::LDF_FILL", "IA64::GRRegisterClass", "IA64::LD8", "IA64::PRRegisterClass", "IA64::LD8", "IA64::r2", "IA64::CMPNE", "IA64::r2", "IA64::r0", "0", "\"sorry, I don't know how to load this sort of reg from the stack\\n\""], "File": "IA64InstrInfo", "Func": "loadRegFromStackSlot", "Target": "IA64", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 783, "Length": 200} {"ground_truth": ["", "void", "IA64InstrInfo", "::", "storeRegToStackSlot", "(", "MachineBasicBlock", "&", "MBB", ",", "MachineBasicBlock", "::", "iterator", "MI", ",", "unsigned", "SrcReg", ",", "bool", "isKill", ",", "int", "FrameIdx", ",", "const", "TargetRegisterClass", "*", "RC", ")", "const", "{", "DebugLoc", "DL", "=", "DebugLoc", "::", "getUnknownLoc", "(", ")", ";", "if", "(", "MI", "!=", "MBB", ".", "end", "(", ")", ")", "DL", "=", "MI", "->", "getDebugLoc", "(", ")", ";", "if", "(", "RC", "==", "IA64", "::", "FPRegisterClass", ")", "{", "BuildMI", "(", "MBB", ",", "MI", ",", "DL", ",", "get", "(", "IA64", "::", "STF_SPILL", ")", ")", ".", "addFrameIndex", "(", "FrameIdx", ")", ".", "addReg", "(", "SrcReg", ",", "getKillRegState", "(", "isKill", ")", ")", ";", "}", "else", "if", "(", "RC", "==", "IA64", "::", "GRRegisterClass", ")", "{", "BuildMI", "(", "MBB", ",", "MI", ",", "DL", ",", "get", "(", "IA64", "::", "ST8", ")", ")", ".", "addFrameIndex", "(", "FrameIdx", ")", ".", "addReg", "(", "SrcReg", ",", "getKillRegState", "(", "isKill", ")", ")", ";", "}", "else", "if", "(", "RC", "==", "IA64", "::", "PRRegisterClass", ")", "{", "BuildMI", "(", "MBB", ",", "MI", ",", "DL", ",", "get", "(", "IA64", "::", "MOV", ")", ",", "IA64", "::", "r2", ")", ".", "addReg", "(", "IA64", "::", "r0", ")", ";", "BuildMI", "(", "MBB", ",", "MI", ",", "DL", ",", "get", "(", "IA64", "::", "CADDIMM22", ")", ",", "IA64", "::", "r2", ")", ".", "addReg", "(", "IA64", "::", "r2", ")", ".", "addImm", "(", "1", ")", ".", "addReg", "(", "SrcReg", ",", "getKillRegState", "(", "isKill", ")", ")", ";", "BuildMI", "(", "MBB", ",", "MI", ",", "DL", ",", "get", "(", "IA64", "::", "ST8", ")", ")", ".", "addFrameIndex", "(", "FrameIdx", ")", ".", "addReg", "(", "IA64", "::", "r2", ")", ";", "}", "else", "assert", "(", "0", "&&", "\"sorry, I don't know how to store this sort of reg in the stack\\n\"", ")", ";", "}", ""], "natrual_language": ["Store", "the", "specified", "register", "of", "the", "given", "register", "class", "to", "the", "specified", "stack", "frame", "index", "."], "TS_V_token": ["IA64", "IA64", "IA64::FPRegisterClass", "IA64::STF_SPILL", "IA64::GRRegisterClass", "IA64::ST8", "IA64::PRRegisterClass", "IA64::MOV", "IA64::r2", "IA64::r0", "IA64::CADDIMM22", "IA64::r2", "IA64::r2", "1", "IA64::ST8", "IA64::r2", "0", "\"sorry, I don't know how to store this sort of reg in the stack\\n\""], "File": "IA64InstrInfo", "Func": "storeRegToStackSlot", "Target": "IA64", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 784, "Length": 257} {"ground_truth": ["", "virtual", "const", "char", "*", "getPassName", "(", ")", "const", "{", "return", "\"IA64 (Itanium) DAG->DAG Instruction Selector\"", ";", "}", ""], "natrual_language": ["getPassName", "-", "Return", "a", "nice", "clean", "name", "for", "a", "pass", "."], "TS_V_token": ["IA64", "\"IA64 (Itanium) DAG->DAG Instruction Selector\""], "File": "IA64ISelDAGToDAG", "Func": "getPassName", "Target": "IA64", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 785, "Length": 13} {"ground_truth": ["", "virtual", "bool", "runOnFunction", "(", "Function", "&", "Fn", ")", "{", "GlobalBaseReg", "=", "0", ";", "return", "SelectionDAGISel", "::", "runOnFunction", "(", "Fn", ")", ";", "}", ""], "natrual_language": ["runOnFunction", "-", "Virtual", "method", "overriden", "by", "subclasses", "to", "do", "the", "per-function", "processing", "of", "the", "pass", "."], "TS_V_token": ["IA64", "0"], "File": "IA64ISelDAGToDAG", "Func": "runOnFunction", "Target": "IA64", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 786, "Length": 22} {"ground_truth": ["", "MVT", "IA64TargetLowering", "::", "getSetCCResultType", "(", "MVT", "VT", ")", "const", "{", "return", "MVT", "::", "i1", ";", "}", ""], "natrual_language": ["Return", "the", "value", "type", "to", "use", "for", "ISD", ":", ":SETCC", "."], "TS_V_token": ["IA64", "IA64", "MVT::i1"], "File": "IA64ISelLowering", "Func": "getSetCCResultType", "Target": "IA64", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 787, "Length": 16} {"ground_truth": ["", "const", "char", "*", "IA64TargetLowering", "::", "getTargetNodeName", "(", "unsigned", "Opcode", ")", "const", "{", "switch", "(", "Opcode", ")", "{", "default", ":", "return", "0", ";", "case", "IA64ISD", "::", "GETFD", ":", "return", "\"IA64ISD::GETFD\"", ";", "case", "IA64ISD", "::", "BRCALL", ":", "return", "\"IA64ISD::BRCALL\"", ";", "case", "IA64ISD", "::", "RET_FLAG", ":", "return", "\"IA64ISD::RET_FLAG\"", ";", "}", "}", ""], "natrual_language": ["getTargetNodeName", "-", "This", "method", "returns", "the", "name", "of", "a", "target", "specific"], "TS_V_token": ["IA64", "IA64", "0", "IA64ISD::GETFD", "\"IA64ISD::GETFD\"", "IA64ISD::BRCALL", "\"IA64ISD::BRCALL\"", "IA64ISD::RET_FLAG", "\"IA64ISD::RET_FLAG\""], "File": "IA64ISelLowering", "Func": "getTargetNodeName", "Target": "IA64", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 788, "Length": 48} {"ground_truth": ["", "void", "IA64RegisterInfo", "::", "eliminateCallFramePseudoInstr", "(", "MachineFunction", "&", "MF", ",", "MachineBasicBlock", "&", "MBB", ",", "MachineBasicBlock", "::", "iterator", "I", ")", "const", "{", "if", "(", "hasFP", "(", "MF", ")", ")", "{", "MachineInstr", "*", "Old", "=", "I", ";", "unsigned", "Amount", "=", "Old", "->", "getOperand", "(", "0", ")", ".", "getImm", "(", ")", ";", "DebugLoc", "dl", "=", "Old", "->", "getDebugLoc", "(", ")", ";", "if", "(", "Amount", "!=", "0", ")", "{", "unsigned", "Align", "=", "MF", ".", "getTarget", "(", ")", ".", "getFrameInfo", "(", ")", "->", "getStackAlignment", "(", ")", ";", "Amount", "=", "(", "Amount", "+", "Align", "-", "1", ")", "/", "Align", "*", "Align", ";", "if", "(", "Old", "->", "getOpcode", "(", ")", "==", "IA64", "::", "ADJUSTCALLSTACKDOWN", ")", "{", "BuildMI", "(", "MBB", ",", "I", ",", "dl", ",", "TII", ".", "get", "(", "IA64", "::", "ADDIMM22", ")", ",", "IA64", "::", "r12", ")", ".", "addReg", "(", "IA64", "::", "r12", ")", ".", "addImm", "(", "-", "Amount", ")", ";", "}", "else", "{", "assert", "(", "Old", "->", "getOpcode", "(", ")", "==", "IA64", "::", "ADJUSTCALLSTACKUP", ")", ";", "BuildMI", "(", "MBB", ",", "I", ",", "dl", ",", "TII", ".", "get", "(", "IA64", "::", "ADDIMM22", ")", ",", "IA64", "::", "r12", ")", ".", "addReg", "(", "IA64", "::", "r12", ")", ".", "addImm", "(", "Amount", ")", ";", "}", "}", "}", "MBB", ".", "erase", "(", "I", ")", ";", "}", ""], "natrual_language": ["This", "method", "is", "called", "during", "prolog/epilog", "code", "insertion", "to", "eliminate", "call", "frame", "setup", "and", "destroy", "pseudo", "instructions", "(", "but", "only", "if", "the", "Target", "is", "using", "them", ")", "."], "TS_V_token": ["IA64", "IA64", "0", "0", "1", "IA64::ADJUSTCALLSTACKDOWN", "IA64::ADDIMM22", "IA64::r12", "IA64::r12", "IA64::ADJUSTCALLSTACKUP", "IA64::ADDIMM22", "IA64::r12", "IA64::r12"], "File": "IA64RegisterInfo", "Func": "eliminateCallFramePseudoInstr", "Target": "IA64", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 789, "Length": 204} {"ground_truth": ["", "void", "IA64RegisterInfo", "::", "eliminateFrameIndex", "(", "MachineBasicBlock", "::", "iterator", "II", ",", "int", "SPAdj", ",", "RegScavenger", "*", "RS", ")", "const", "{", "assert", "(", "SPAdj", "==", "0", "&&", "\"Unexpected\"", ")", ";", "unsigned", "i", "=", "0", ";", "MachineInstr", "&", "MI", "=", "*", "II", ";", "MachineBasicBlock", "&", "MBB", "=", "*", "MI", ".", "getParent", "(", ")", ";", "MachineFunction", "&", "MF", "=", "*", "MBB", ".", "getParent", "(", ")", ";", "DebugLoc", "dl", "=", "MI", ".", "getDebugLoc", "(", ")", ";", "bool", "FP", "=", "hasFP", "(", "MF", ")", ";", "while", "(", "!", "MI", ".", "getOperand", "(", "i", ")", ".", "isFI", "(", ")", ")", "{", "++", "i", ";", "assert", "(", "i", "<", "MI", ".", "getNumOperands", "(", ")", "&&", "\"Instr doesn't have FrameIndex operand!\"", ")", ";", "}", "int", "FrameIndex", "=", "MI", ".", "getOperand", "(", "i", ")", ".", "getIndex", "(", ")", ";", "unsigned", "BaseRegister", "=", "FP", "?", "IA64", "::", "r5", ":", "IA64", "::", "r12", ";", "MI", ".", "getOperand", "(", "i", ")", ".", "ChangeToRegister", "(", "BaseRegister", ",", "false", ")", ";", "int", "Offset", "=", "MF", ".", "getFrameInfo", "(", ")", "->", "getObjectOffset", "(", "FrameIndex", ")", ";", "Offset", "+=", "MF", ".", "getFrameInfo", "(", ")", "->", "getStackSize", "(", ")", ";", "if", "(", "Offset", "<=", "8191", "&&", "Offset", ">=", "-", "8192", ")", "{", "MI", ".", "getOperand", "(", "i", ")", ".", "ChangeToRegister", "(", "IA64", "::", "r22", ",", "false", ")", ";", "BuildMI", "(", "MBB", ",", "II", ",", "dl", ",", "TII", ".", "get", "(", "IA64", "::", "ADDIMM22", ")", ",", "IA64", "::", "r22", ")", ".", "addReg", "(", "BaseRegister", ")", ".", "addImm", "(", "Offset", ")", ";", "}", "else", "{", "MI", ".", "getOperand", "(", "i", ")", ".", "ChangeToRegister", "(", "IA64", "::", "r22", ",", "false", ")", ";", "BuildMI", "(", "MBB", ",", "II", ",", "dl", ",", "TII", ".", "get", "(", "IA64", "::", "MOVLIMM64", ")", ",", "IA64", "::", "r22", ")", ".", "addImm", "(", "Offset", ")", ";", "BuildMI", "(", "MBB", ",", "II", ",", "dl", ",", "TII", ".", "get", "(", "IA64", "::", "ADD", ")", ",", "IA64", "::", "r22", ")", ".", "addReg", "(", "BaseRegister", ")", ".", "addReg", "(", "IA64", "::", "r22", ")", ";", "}", "}", ""], "natrual_language": ["This", "method", "must", "be", "overriden", "to", "eliminate", "abstract", "frame", "indices", "from", "instructions", "which", "may", "use", "them", "."], "TS_V_token": ["IA64", "IA64", "0", "\"Unexpected\"", "0", "\"Instr doesn't have FrameIndex operand!\"", "IA64::r5", "IA64::r12", "8191", "8192", "IA64::r22", "IA64::ADDIMM22", "IA64::r22", "IA64::r22", "IA64::MOVLIMM64", "IA64::r22", "IA64::ADD", "IA64::r22", "IA64::r22"], "File": "IA64RegisterInfo", "Func": "eliminateFrameIndex", "Target": "IA64", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 790, "Length": 320} {"ground_truth": ["", "void", "IA64RegisterInfo", "::", "emitEpilogue", "(", "MachineFunction", "&", "MF", ",", "MachineBasicBlock", "&", "MBB", ")", "const", "{", "const", "MachineFrameInfo", "*", "MFI", "=", "MF", ".", "getFrameInfo", "(", ")", ";", "MachineBasicBlock", "::", "iterator", "MBBI", "=", "prior", "(", "MBB", ".", "end", "(", ")", ")", ";", "assert", "(", "MBBI", "->", "getOpcode", "(", ")", "==", "IA64", "::", "RET", "&&", "\"Can only insert epilog into returning blocks\"", ")", ";", "DebugLoc", "dl", "=", "MBBI", "->", "getDebugLoc", "(", ")", ";", "bool", "FP", "=", "hasFP", "(", "MF", ")", ";", "unsigned", "NumBytes", "=", "MFI", "->", "getStackSize", "(", ")", ";", "if", "(", "FP", ")", "{", "BuildMI", "(", "MBB", ",", "MBBI", ",", "dl", ",", "TII", ".", "get", "(", "IA64", "::", "MOV", ")", ",", "IA64", "::", "r12", ")", ".", "addReg", "(", "IA64", "::", "r5", ")", ";", "BuildMI", "(", "MBB", ",", "MBBI", ",", "dl", ",", "TII", ".", "get", "(", "IA64", "::", "LD8", ")", ",", "IA64", "::", "r5", ")", ".", "addReg", "(", "IA64", "::", "r5", ")", ";", "}", "if", "(", "NumBytes", "!=", "0", ")", "{", "if", "(", "NumBytes", "<=", "8191", ")", "{", "BuildMI", "(", "MBB", ",", "MBBI", ",", "dl", ",", "TII", ".", "get", "(", "IA64", "::", "ADDIMM22", ")", ",", "IA64", "::", "r12", ")", ".", "addReg", "(", "IA64", "::", "r12", ")", ".", "addImm", "(", "NumBytes", ")", ";", "}", "else", "{", "BuildMI", "(", "MBB", ",", "MBBI", ",", "dl", ",", "TII", ".", "get", "(", "IA64", "::", "MOVLIMM64", ")", ",", "IA64", "::", "r22", ")", ".", "addImm", "(", "NumBytes", ")", ";", "BuildMI", "(", "MBB", ",", "MBBI", ",", "dl", ",", "TII", ".", "get", "(", "IA64", "::", "ADD", ")", ",", "IA64", "::", "r12", ")", ".", "addReg", "(", "IA64", "::", "r12", ")", ".", "addReg", "(", "IA64", "::", "r22", ")", ";", "}", "}", "}", ""], "natrual_language": ["Insert", "epilog", "code", "into", "the", "function", "."], "TS_V_token": ["IA64", "IA64", "IA64::RET", "\"Can only insert epilog into returning blocks\"", "IA64::MOV", "IA64::r12", "IA64::r5", "IA64::LD8", "IA64::r5", "IA64::r5", "0", "8191", "IA64::ADDIMM22", "IA64::r12", "IA64::r12", "IA64::MOVLIMM64", "IA64::r22", "IA64::ADD", "IA64::r12", "IA64::r12", "IA64::r22"], "File": "IA64RegisterInfo", "Func": "emitEpilogue", "Target": "IA64", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 791, "Length": 262} {"ground_truth": ["", "const", "unsigned", "*", "IA64RegisterInfo", "::", "getCalleeSavedRegs", "(", "const", "MachineFunction", "*", "MF", ")", "const", "{", "static", "const", "unsigned", "CalleeSavedRegs", "[", "]", "=", "{", "IA64", "::", "r5", ",", "0", "}", ";", "return", "CalleeSavedRegs", ";", "}", ""], "natrual_language": ["Code", "Generation", "virtual", "methods", "..."], "TS_V_token": ["IA64", "IA64", "IA64::r5", "0"], "File": "IA64RegisterInfo", "Func": "getCalleeSavedRegs", "Target": "IA64", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 792, "Length": 33} {"ground_truth": ["", "int", "IA64RegisterInfo", "::", "getDwarfRegNum", "(", "unsigned", "RegNum", ",", "bool", "isEH", ")", "const", "{", "assert", "(", "0", "&&", "\"What is the dwarf register number\"", ")", ";", "return", "-", "1", ";", "}", ""], "natrual_language": ["Map", "a", "target", "register", "to", "an", "equivalent", "dwarf", "register", "number", "."], "TS_V_token": ["IA64", "IA64", "0", "\"What is the dwarf register number\"", "1"], "File": "IA64RegisterInfo", "Func": "getDwarfRegNum", "Target": "IA64", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 793, "Length": 25} {"ground_truth": ["", "unsigned", "IA64RegisterInfo", "::", "getFrameRegister", "(", "MachineFunction", "&", "MF", ")", "const", "{", "return", "hasFP", "(", "MF", ")", "?", "IA64", "::", "r5", ":", "IA64", "::", "r12", ";", "}", ""], "natrual_language": ["Debug", "information", "queries", "."], "TS_V_token": ["IA64", "IA64", "IA64::r5", "IA64::r12"], "File": "IA64RegisterInfo", "Func": "getFrameRegister", "Target": "IA64", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 794, "Length": 26} {"ground_truth": ["", "unsigned", "IA64RegisterInfo", "::", "getRARegister", "(", ")", "const", "{", "assert", "(", "0", "&&", "\"What is the return address register\"", ")", ";", "return", "0", ";", "}", ""], "natrual_language": ["This", "method", "should", "return", "the", "register", "where", "the", "return", "address", "can", "be", "found", "."], "TS_V_token": ["IA64", "IA64", "0", "\"What is the return address register\"", "0"], "File": "IA64RegisterInfo", "Func": "getRARegister", "Target": "IA64", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 795, "Length": 19} {"ground_truth": ["", "BitVector", "IA64RegisterInfo", "::", "getReservedRegs", "(", "const", "MachineFunction", "&", "MF", ")", "const", "{", "BitVector", "Reserved", "(", "getNumRegs", "(", ")", ")", ";", "Reserved", ".", "set", "(", "IA64", "::", "r0", ")", ";", "Reserved", ".", "set", "(", "IA64", "::", "r1", ")", ";", "Reserved", ".", "set", "(", "IA64", "::", "r2", ")", ";", "Reserved", ".", "set", "(", "IA64", "::", "r5", ")", ";", "Reserved", ".", "set", "(", "IA64", "::", "r12", ")", ";", "Reserved", ".", "set", "(", "IA64", "::", "r13", ")", ";", "Reserved", ".", "set", "(", "IA64", "::", "r22", ")", ";", "Reserved", ".", "set", "(", "IA64", "::", "rp", ")", ";", "return", "Reserved", ";", "}", ""], "natrual_language": ["getReservedRegs", "-", "Returns", "a", "bitset", "indexed", "by", "physical", "register", "number", "indicating", "if", "a", "register", "is", "a", "special", "register", "that", "has", "particular", "uses", "and", "should", "be", "considered", "unavailable", "at", "all", "times", ",", "e.g", "."], "TS_V_token": ["IA64", "IA64", "IA64::r0", "IA64::r1", "IA64::r2", "IA64::r5", "IA64::r12", "IA64::r13", "IA64::r22", "IA64::rp"], "File": "IA64RegisterInfo", "Func": "getReservedRegs", "Target": "IA64", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 796, "Length": 96} {"ground_truth": ["", "bool", "IA64RegisterInfo", "::", "hasFP", "(", "const", "MachineFunction", "&", "MF", ")", "const", "{", "const", "MachineFrameInfo", "*", "MFI", "=", "MF", ".", "getFrameInfo", "(", ")", ";", "return", "NoFramePointerElim", "||", "MFI", "->", "hasVarSizedObjects", "(", ")", ";", "}", ""], "natrual_language": ["hasFP", "-", "Return", "true", "if", "the", "specified", "function", "should", "have", "a", "dedicated", "frame", "pointer", "register", "."], "TS_V_token": ["IA64", "IA64"], "File": "IA64RegisterInfo", "Func": "hasFP", "Target": "IA64", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 797, "Length": 33} {"ground_truth": ["", "bool", "IA64TargetMachine", "::", "addInstSelector", "(", "PassManagerBase", "&", "PM", ",", "bool", "Fast", ")", "{", "PM", ".", "add", "(", "createIA64DAGToDAGInstructionSelector", "(", "*", "this", ")", ")", ";", "return", "false", ";", "}", ""], "natrual_language": ["addInstSelector", "-", "This", "method", "should", "install", "an", "instruction", "selector", "pass", ",", "which", "converts", "from", "LLVM", "code", "to", "machine", "instructions", "."], "TS_V_token": ["IA64", "IA64", "IA64"], "File": "IA64TargetMachine1", "Func": "addInstSelector", "Target": "IA64", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 798, "Length": 28} {"ground_truth": ["", "bool", "IA64TargetMachine", "::", "addPreEmitPass", "(", "PassManagerBase", "&", "PM", ",", "bool", "Fast", ")", "{", "PM", ".", "add", "(", "createIA64BundlingPass", "(", "*", "this", ")", ")", ";", "return", "true", ";", "}", ""], "natrual_language": ["This", "pass", "may", "be", "implemented", "by", "targets", "that", "want", "to", "run", "passes", "immediately", "before", "machine", "code", "is", "emitted", "."], "TS_V_token": ["IA64", "IA64", "IA64"], "File": "IA64TargetMachine1", "Func": "addPreEmitPass", "Target": "IA64", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 799, "Length": 28} {"ground_truth": ["", "bool", "IA64TargetMachine", "::", "addInstSelector", "(", "PassManagerBase", "&", "PM", ",", "CodeGenOpt", "::", "Level", "OptLevel", ")", "{", "PM", ".", "add", "(", "createIA64DAGToDAGInstructionSelector", "(", "*", "this", ")", ")", ";", "return", "false", ";", "}", ""], "natrual_language": ["addInstSelector", "-", "This", "method", "should", "install", "an", "instruction", "selector", "pass", ",", "which", "converts", "from", "LLVM", "code", "to", "machine", "instructions", "."], "TS_V_token": ["IA64", "IA64", "IA64"], "File": "IA64TargetMachine", "Func": "addInstSelector", "Target": "IA64", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 800, "Length": 30} {"ground_truth": ["", "bool", "IA64TargetMachine", "::", "addPreEmitPass", "(", "PassManagerBase", "&", "PM", ",", "CodeGenOpt", "::", "Level", "OptLevel", ")", "{", "PM", ".", "add", "(", "createIA64BundlingPass", "(", "*", "this", ")", ")", ";", "return", "true", ";", "}", ""], "natrual_language": ["This", "pass", "may", "be", "implemented", "by", "targets", "that", "want", "to", "run", "passes", "immediately", "before", "machine", "code", "is", "emitted", "."], "TS_V_token": ["IA64", "IA64", "IA64"], "File": "IA64TargetMachine", "Func": "addPreEmitPass", "Target": "IA64", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 801, "Length": 30} {"ground_truth": ["", "virtual", "const", "TargetFrameInfo", "*", "getFrameInfo", "(", ")", "const", "{", "return", "&", "FrameInfo", ";", "}", ""], "natrual_language": ["getFrameInfo", "-", "Return", "the", "frame", "info", "object", "for", "the", "current", "function", "."], "TS_V_token": ["IA64"], "File": "IA64TargetMachine", "Func": "getFrameInfo", "Target": "IA64", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 802, "Length": 14} {"ground_truth": ["", "virtual", "const", "IA64InstrInfo", "*", "getInstrInfo", "(", ")", "const", "{", "return", "&", "InstrInfo", ";", "}", ""], "natrual_language": ["TargetInstrInfo", "getter", "."], "TS_V_token": ["IA64", "IA64"], "File": "IA64TargetMachine", "Func": "getInstrInfo", "Target": "IA64", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 803, "Length": 14} {"ground_truth": ["", "virtual", "const", "IA64RegisterInfo", "*", "getRegisterInfo", "(", ")", "const", "{", "return", "&", "InstrInfo", ".", "getRegisterInfo", "(", ")", ";", "}", ""], "natrual_language": ["getRegisterInfo", "-", "TargetInstrInfo", "is", "a", "superset", "of", "MRegister", "info", "."], "TS_V_token": ["IA64", "IA64"], "File": "IA64TargetMachine", "Func": "getRegisterInfo", "Target": "IA64", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 804, "Length": 18} {"ground_truth": ["", "virtual", "const", "IA64Subtarget", "*", "getSubtargetImpl", "(", ")", "const", "{", "return", "&", "Subtarget", ";", "}", ""], "natrual_language": ["Virtual", "method", "implemented", "by", "subclasses", "that", "returns", "a", "reference", "to", "that", "target", "'s", "TargetSubtargetInfo-derived", "member", "variable", "."], "TS_V_token": ["IA64", "IA64"], "File": "IA64TargetMachine", "Func": "getSubtargetImpl", "Target": "IA64", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 805, "Length": 14}