{"ground_truth": ["", "void", "JVMAsmBackend", "::", "applyFixup", "(", "const", "MCAssembler", "&", "Asm", ",", "const", "MCFixup", "&", "Fixup", ",", "const", "MCValue", "&", "Target", ",", "MutableArrayRef", "<", "char", ">", "Data", ",", "uint64_t", "Value", ",", "bool", "IsResolved", ",", "const", "MCSubtargetInfo", "*", "STI", ")", "const", "{", "return", ";", "}", ""], "natrual_language": ["Apply", "the", "Value", "for", "given", "Fixup", "into", "the", "provided", "data", "fragment", ",", "at", "the", "offset", "specified", "by", "the", "fixup", "and", "following", "the", "fixup", "kind", "as", "appropriate", "."], "TS_V_token": ["JVM", "JVM"], "File": "JVMAsmBackend", "Func": "applyFixup", "Target": "JVM", "Target_Clf": "Virtual ISA", "Compiler_Type": "LLVM", "Idx": 12484, "Length": 42}
{"ground_truth": ["", "bool", "JVMAsmBackend", "::", "fixupNeedsRelaxation", "(", "const", "MCFixup", "&", "Fixup", ",", "uint64_t", "Value", ",", "const", "MCRelaxableFragment", "*", "DF", ",", "const", "MCAsmLayout", "&", "Layout", ")", "const", "{", "return", "false", ";", "}", ""], "natrual_language": ["Simple", "predicate", "for", "targets", "where", "!", "Resolved", "implies", "requiring", "relaxation", "."], "TS_V_token": ["JVM", "JVM"], "File": "JVMAsmBackend", "Func": "fixupNeedsRelaxation", "Target": "JVM", "Target_Clf": "Virtual ISA", "Compiler_Type": "LLVM", "Idx": 12485, "Length": 29}
{"ground_truth": ["", "unsigned", "JVMAsmBackend", "::", "getNumFixupKinds", "(", ")", "const", "{", "return", "0", ";", "}", ""], "natrual_language": ["Get", "the", "number", "of", "target", "specific", "fixup", "kinds", "."], "TS_V_token": ["JVM", "JVM", "0"], "File": "JVMAsmBackend", "Func": "getNumFixupKinds", "Target": "JVM", "Target_Clf": "Virtual ISA", "Compiler_Type": "LLVM", "Idx": 12486, "Length": 12}
{"ground_truth": ["", "bool", "JVMAsmBackend", "::", "mayNeedRelaxation", "(", "const", "MCInst", "&", "Inst", ",", "const", "MCSubtargetInfo", "&", "STI", ")", "const", "{", "return", "false", ";", "}", ""], "natrual_language": ["Check", "whether", "the", "given", "instruction", "may", "need", "relaxation", "."], "TS_V_token": ["JVM", "JVM"], "File": "JVMAsmBackend", "Func": "mayNeedRelaxation", "Target": "JVM", "Target_Clf": "Virtual ISA", "Compiler_Type": "LLVM", "Idx": 12487, "Length": 21}
{"ground_truth": ["", "void", "JVMAsmBackend", "::", "relaxInstruction", "(", "const", "MCInst", "&", "Inst", ",", "const", "MCSubtargetInfo", "&", "STI", ",", "MCInst", "&", "Res", ")", "const", "{", "return", ";", "}", ""], "natrual_language": ["Relax", "the", "instruction", "in", "the", "given", "fragment", "to", "the", "next", "wider", "instruction", "."], "TS_V_token": ["JVM", "JVM"], "File": "JVMAsmBackend", "Func": "relaxInstruction", "Target": "JVM", "Target_Clf": "Virtual ISA", "Compiler_Type": "LLVM", "Idx": 12488, "Length": 24}
{"ground_truth": ["", "bool", "JVMAsmBackend", "::", "writeNopData", "(", "raw_ostream", "&", "OS", ",", "uint64_t", "Count", ")", "const", "{", "return", "false", ";", "}", ""], "natrual_language": ["Write", "an", "(", "optimal", ")", "nop", "sequence", "of", "Count", "bytes", "to", "the", "given", "output", "."], "TS_V_token": ["JVM", "JVM"], "File": "JVMAsmBackend", "Func": "writeNopData", "Target": "JVM", "Target_Clf": "Virtual ISA", "Compiler_Type": "LLVM", "Idx": 12489, "Length": 18}
{"ground_truth": ["", "void", "JVMAsmPrinter", "::", "EmitInstruction", "(", "const", "MachineInstr", "*", "MI", ")", "{", "if", "(", "IsSkipInstruction", "(", "*", "MI", ")", ")", "return", ";", "LLVM_DEBUG", "(", "dbgs", "(", ")", "<<", "\"EmitInstruction: \"", "<<", "*", "MI", "<<", "'\\n'", ")", ";", "JVMMCInstLower", "InstLower", "(", "OutContext", ",", "*", "this", ")", ";", "MCInst", "TmpInst", ";", "InstLower", ".", "Lower", "(", "MI", ",", "TmpInst", ")", ";", "EmitToStreamer", "(", "*", "OutStreamer", ",", "TmpInst", ")", ";", "}", ""], "natrual_language": ["EmitInstruction", "-", "This", "callback", "is", "invoked", "when", "an", "instruction", "is", "emitted", ",", "to", "advance", "the", "hazard", "state", "."], "TS_V_token": ["JVM", "JVM", "\"EmitInstruction: \"", "JVM"], "File": "JVMAsmPrinter", "Func": "EmitInstruction", "Target": "JVM", "Target_Clf": "Virtual ISA", "Compiler_Type": "LLVM", "Idx": 12490, "Length": 65}
{"ground_truth": ["", "StringRef", "getPassName", "(", ")", "const", "override", "{", "return", "\"JVM Assembly Printer\"", ";", "}", ""], "natrual_language": ["getPassName", "-", "Return", "a", "nice", "clean", "name", "for", "a", "pass", "."], "TS_V_token": ["JVM", "\"JVM Assembly Printer\""], "File": "JVMAsmPrinter", "Func": "getPassName", "Target": "JVM", "Target_Clf": "Virtual ISA", "Compiler_Type": "LLVM", "Idx": 12491, "Length": 11}
{"ground_truth": ["", "const", "JVMSubtarget", "&", "getSubtarget", "(", ")", "const", "{", "return", "*", "Subtarget", ";", "}", ""], "natrual_language": ["getSubtarget", "-", "Return", "the", "subtarget", "for", "which", "this", "machine", "code", "is", "being", "compiled", "."], "TS_V_token": ["JVM", "JVM"], "File": "JVMAsmPrinter", "Func": "getSubtarget", "Target": "JVM", "Target_Clf": "Virtual ISA", "Compiler_Type": "LLVM", "Idx": 12492, "Length": 13}
{"ground_truth": ["", "const", "MCExpr", "*", "JVMAsmPrinter", "::", "lowerConstant", "(", "const", "Constant", "*", "CV", ")", "{", "return", "AsmPrinter", "::", "lowerConstant", "(", "CV", ")", ";", "}", ""], "natrual_language": ["Lower", "the", "specified", "LLVM", "Constant", "to", "an", "MCExpr", "."], "TS_V_token": ["JVM", "JVM"], "File": "JVMAsmPrinter", "Func": "lowerConstant", "Target": "JVM", "Target_Clf": "Virtual ISA", "Compiler_Type": "LLVM", "Idx": 12493, "Length": 22}
{"ground_truth": ["", "bool", "JVMAsmPrinter", "::", "PrintAsmOperand", "(", "const", "MachineInstr", "*", "MI", ",", "unsigned", "OpNo", ",", "unsigned", "AsmVariant", ",", "const", "char", "*", "ExtraCode", ",", "raw_ostream", "&", "OS", ")", "{", "if", "(", "AsmVariant", "!=", "0", ")", "report_fatal_error", "(", "\"There are no defined alternate asm variants\"", ")", ";", "if", "(", "!", "AsmPrinter", "::", "PrintAsmOperand", "(", "MI", ",", "OpNo", ",", "AsmVariant", ",", "ExtraCode", ",", "OS", ")", ")", "return", "false", ";", "if", "(", "!", "ExtraCode", ")", "{", "const", "MachineOperand", "&", "MO", "=", "MI", "->", "getOperand", "(", "OpNo", ")", ";", "switch", "(", "MO", ".", "getType", "(", ")", ")", "{", "case", "MachineOperand", "::", "MO_Immediate", ":", "OS", "<<", "MO", ".", "getImm", "(", ")", ";", "return", "false", ";", "case", "MachineOperand", "::", "MO_MachineBasicBlock", ":", "case", "MachineOperand", "::", "MO_Register", ":", "case", "MachineOperand", "::", "MO_GlobalAddress", ":", "case", "MachineOperand", "::", "MO_ExternalSymbol", ":", "assert", "(", "0", "&&", "\"Incorrect argument for ASM printing.\"", ")", ";", "return", "false", ";", "default", ":", "break", ";", "}", "}", "return", "true", ";", "}", ""], "natrual_language": ["PrintAsmOperand", "-", "Print", "out", "an", "operand", "for", "an", "inline", "asm", "expression", "."], "TS_V_token": ["JVM", "JVM", "0", "\"There are no defined alternate asm variants\"", "0", "\"Incorrect argument for ASM printing.\""], "File": "JVMAsmPrinter", "Func": "PrintAsmOperand", "Target": "JVM", "Target_Clf": "Virtual ISA", "Compiler_Type": "LLVM", "Idx": 12494, "Length": 141}
{"ground_truth": ["", "bool", "runOnMachineFunction", "(", "MachineFunction", "&", "MF", ")", "override", "{", "Subtarget", "=", "&", "MF", ".", "getSubtarget", "<", "JVMSubtarget", ">", "(", ")", ";", "MRI", "=", "&", "MF", ".", "getRegInfo", "(", ")", ";", "MFI", "=", "MF", ".", "getInfo", "<", "JVMFunctionInfo", ">", "(", ")", ";", "OutStreamer", "->", "SetFunctionInfo", "(", "MFI", "->", "getDescVector", "(", ")", ")", ";", "return", "AsmPrinter", "::", "runOnMachineFunction", "(", "MF", ")", ";", "}", ""], "natrual_language": ["runOnMachineFunction", "-", "Emit", "the", "function", "body", "."], "TS_V_token": ["JVM", "JVM", "JVM"], "File": "JVMAsmPrinter", "Func": "runOnMachineFunction", "Target": "JVM", "Target_Clf": "Virtual ISA", "Compiler_Type": "LLVM", "Idx": 12495, "Length": 61}
{"ground_truth": ["", "static", "JVMAssemblerImpl", "*", "getInst", "(", ")", "{", "if", "(", "!", "inst", ")", "{", "inst", "=", "new", "JVMAssemblerImpl", "(", ")", ";", "}", "return", "inst", ";", "}", ""], "natrual_language": ["If", "this", "is", "a", "normal", "dependency", ",", "returns", "the", "instruction", "that", "is", "depended", "on", "."], "TS_V_token": ["JVM", "JVM", "JVM"], "File": "JVMAssembler", "Func": "getInst", "Target": "JVM", "Target_Clf": "Virtual ISA", "Compiler_Type": "LLVM", "Idx": 12496, "Length": 25}
{"ground_truth": ["", "int", "getSize", "(", ")", "{", "return", "size", ";", "}", ""], "natrual_language": ["Return", "the", "number", "of", "bytes", "in", "the", "encoding", "of", "this", "instruction", ",", "or", "zero", "if", "the", "encoding", "size", "can", "not", "be", "known", "from", "the", "opcode", "."], "TS_V_token": ["JVM"], "File": "JVMAssembler", "Func": "getSize", "Target": "JVM", "Target_Clf": "Virtual ISA", "Compiler_Type": "LLVM", "Idx": 12497, "Length": 9}
{"ground_truth": ["", "void", "setFunction", "(", "Function", "&", "F", ")", "{", "Func", "=", "&", "F", ";", "}", ""], "natrual_language": ["Initialize", "data", "structures", "for", "specified", "new", "function", "."], "TS_V_token": ["JVM"], "File": "JVMCastHandler", "Func": "setFunction", "Target": "JVM", "Target_Clf": "Virtual ISA", "Compiler_Type": "LLVM", "Idx": 12498, "Length": 14}
{"ground_truth": ["", "void", "CompositeHandler", "::", "dump", "(", ")", "{", "for", "(", "auto", "Ty", ":", "typeDefs", ")", "{", "LLVM_DEBUG", "(", "{", "dbgs", "(", ")", "<<", "\"Type : \"", ";", "Ty", ".", "first", "->", "dump", "(", ")", ";", "dbgs", "(", ")", "<<", "\"Values:\"", ";", "for", "(", "auto", "Val", ":", "typeValues", "[", "Ty", ".", "first", "]", ")", "Val", "->", "dump", "(", ")", ";", "dbgs", "(", ")", "<<", "\"Flattend Type :\"", ";", "if", "(", "Ty", ".", "second", ")", "Ty", ".", "second", "->", "dump", "(", ")", ";", "else", "dbgs", "(", ")", "<<", "\"\"", ";", "dbgs", "(", ")", "<<", "\"\\n\"", ";", "}", ")", ";", "}", "}", ""], "natrual_language": ["Dump", "the", "plan", "to", "stderr", "(", "for", "debugging", ")", "."], "TS_V_token": ["JVM", "\"Type : \"", "\"Values:\"", "\"Flattend Type :\"", "\"\"", "\"\\n\""], "File": "JVMCompositeHandler", "Func": "dump", "Target": "JVM", "Target_Clf": "Virtual ISA", "Compiler_Type": "LLVM", "Idx": 12499, "Length": 94}
{"ground_truth": ["", "int", "CompositeHandler", "::", "getNumElements", "(", "Type", "*", "Ty", ",", "bool", "AccessMemFormFlatStruct", ")", "{", "int", "NumElems", "=", "0", ";", "Type", "*", "TyKey", "=", "reinterpret_cast", "<", "Type", "*", ">", "(", "reinterpret_cast", "<", "char", "*", ">", "(", "Ty", ")", "+", "(", "int", ")", "AccessMemFormFlatStruct", ")", ";", "if", "(", "typeNumElemCache", ".", "find", "(", "TyKey", ")", "!=", "typeNumElemCache", ".", "end", "(", ")", ")", "return", "typeNumElemCache", "[", "TyKey", "]", ";", "if", "(", "isa", "<", "StructType", ">", "(", "Ty", ")", ")", "{", "StructType", "*", "STy", "=", "cast", "<", "StructType", ">", "(", "Ty", ")", ";", "for", "(", "StructType", "::", "element_iterator", "EB", "=", "STy", "->", "element_begin", "(", ")", ",", "EI", "=", "EB", ",", "EE", "=", "STy", "->", "element_end", "(", ")", ";", "EI", "!=", "EE", ";", "++", "EI", ")", "{", "if", "(", "CompositeType", "::", "classof", "(", "*", "EI", ")", ")", "NumElems", "+=", "getNumElements", "(", "*", "EI", ",", "AccessMemFormFlatStruct", ")", ";", "else", "NumElems", "+=", "1", ";", "}", "}", "else", "if", "(", "isa", "<", "ArrayType", ">", "(", "Ty", ")", ")", "{", "Type", "*", "ElmTy", "=", "cast", "<", "ArrayType", ">", "(", "Ty", ")", "->", "getElementType", "(", ")", ";", "bool", "exploreArr", "=", "!", "CheckIfFlattendType", "(", "ElmTy", ")", "||", "!", "AccessMemFormFlatStruct", ";", "if", "(", "isa", "<", "StructType", ">", "(", "ElmTy", ")", "||", "(", "isa", "<", "ArrayType", ">", "(", "ElmTy", ")", "&&", "exploreArr", ")", ")", "{", "int", "NumArrElems", "=", "cast", "<", "ArrayType", ">", "(", "Ty", ")", "->", "getNumElements", "(", ")", ";", "NumElems", "+=", "NumArrElems", "*", "getNumElements", "(", "ElmTy", ",", "AccessMemFormFlatStruct", ")", ";", "}", "else", "NumElems", "+=", "exploreArr", "?", "cast", "<", "ArrayType", ">", "(", "Ty", ")", "->", "getNumElements", "(", ")", ":", "1", ";", "}", "else", "if", "(", "isa", "<", "PointerType", ">", "(", "Ty", ")", ")", "{", "NumElems", "+=", "getNumElements", "(", "cast", "<", "PointerType", ">", "(", "Ty", ")", "->", "getElementType", "(", ")", ",", "AccessMemFormFlatStruct", ")", ";", "}", "else", "NumElems", "+=", "1", ";", "typeNumElemCache", "[", "TyKey", "]", "=", "NumElems", ";", "return", "NumElems", ";", "}", ""], "natrual_language": ["Random", "access", "to", "the", "elements", "."], "TS_V_token": ["JVM", "0", "1", "1", "1"], "File": "JVMCompositeHandler", "Func": "getNumElements", "Target": "JVM", "Target_Clf": "Virtual ISA", "Compiler_Type": "LLVM", "Idx": 12500, "Length": 305}
{"ground_truth": ["", "void", "CompositeHandler", "::", "visitCallInst", "(", "CallInst", "&", "I", ")", "{", "for", "(", "Value", "*", "Arg", ":", "I", ".", "arg_operands", "(", ")", ")", "{", "visitValue", "(", "Arg", ",", "Arg", "->", "getType", "(", ")", ")", ";", "}", "}", ""], "natrual_language": ["CallInst", "simplification", "."], "TS_V_token": ["JVM"], "File": "JVMCompositeHandler", "Func": "visitCallInst", "Target": "JVM", "Target_Clf": "Virtual ISA", "Compiler_Type": "LLVM", "Idx": 12501, "Length": 36}
{"ground_truth": ["", "void", "getAnalysisUsage", "(", "AnalysisUsage", "&", "AU", ")", "const", "override", "{", "AU", ".", "setPreservesCFG", "(", ")", ";", "MachineFunctionPass", "::", "getAnalysisUsage", "(", "AU", ")", ";", "AU", ".", "addRequired", "<", "MachineDominatorTree", ">", "(", ")", ";", "}", ""], "natrual_language": ["getAnalysisUsage", "-", "Subclasses", "that", "override", "getAnalysisUsage", "must", "call", "this", "."], "TS_V_token": ["JVM"], "File": "JVMCopyElision", "Func": "getAnalysisUsage", "Target": "JVM", "Target_Clf": "Virtual ISA", "Compiler_Type": "LLVM", "Idx": 12502, "Length": 33}
{"ground_truth": ["", "void", "releaseMemory", "(", ")", "override", "{", "}", ""], "natrual_language": ["releaseMemory", "(", ")", "-", "This", "member", "can", "be", "implemented", "by", "a", "pass", "if", "it", "wants", "to", "be", "able", "to", "release", "its", "memory", "when", "it", "is", "no", "longer", "needed", "."], "TS_V_token": ["JVM"], "File": "JVMCopyElision", "Func": "releaseMemory", "Target": "JVM", "Target_Clf": "Virtual ISA", "Compiler_Type": "LLVM", "Idx": 12503, "Length": 7}
{"ground_truth": ["", "bool", "JVMCopyElision", "::", "runOnMachineFunction", "(", "MachineFunction", "&", "MFN", ")", "{", "MF", "=", "&", "MFN", ";", "TII", "=", "static_cast", "<", "const", "JVMInstrInfo", "*", ">", "(", "MF", "->", "getSubtarget", "(", ")", ".", "getInstrInfo", "(", ")", ")", ";", "TRI", "=", "static_cast", "<", "const", "JVMRegisterInfo", "*", ">", "(", "MF", "->", "getSubtarget", "(", ")", ".", "getRegisterInfo", "(", ")", ")", ";", "MRI", "=", "&", "MF", "->", "getRegInfo", "(", ")", ";", "DT", "=", "&", "getAnalysis", "<", "MachineDominatorTree", ">", "(", ")", ";", "LLVM_DEBUG", "(", "dbgs", "(", ")", "<<", "\"\\n******** JVM COPY elision ********\\n\"", ")", ";", "PerformCopyElision", "(", "DT", "->", "getRootNode", "(", ")", ")", ";", "return", "true", ";", "}", ""], "natrual_language": ["runOnMachineFunction", "-", "Emit", "the", "function", "body", "."], "TS_V_token": ["JVM", "JVM", "JVM", "JVM", "\"\\n******** JVM COPY elision ********\\n\""], "File": "JVMCopyElision", "Func": "runOnMachineFunction", "Target": "JVM", "Target_Clf": "Virtual ISA", "Compiler_Type": "LLVM", "Idx": 12504, "Length": 96}
{"ground_truth": ["", "MCDisassembler", "::", "DecodeStatus", "JVMDisassembler", "::", "getInstruction", "(", "MCInst", "&", "MI", ",", "uint64_t", "&", "Size", ",", "ArrayRef", "<", "uint8_t", ">", "Bytes", ",", "uint64_t", ",", "raw_ostream", "&", "OS", ",", "raw_ostream", "&", "CS", ")", "const", "{", "return", "MCDisassembler", "::", "Fail", ";", "}", ""], "natrual_language": ["Returns", "the", "disassembly", "of", "a", "single", "instruction", "."], "TS_V_token": ["JVM", "JVM"], "File": "JVMDisassembler", "Func": "getInstruction", "Target": "JVM", "Target_Clf": "Virtual ISA", "Compiler_Type": "LLVM", "Idx": 12505, "Length": 39}
{"ground_truth": ["", "void", "JVMFrameLowering", "::", "emitEpilogue", "(", "MachineFunction", "&", "MF", ",", "MachineBasicBlock", "&", "MBB", ")", "const", "{", "}", ""], "natrual_language": ["Insert", "epilog", "code", "into", "the", "function", "."], "TS_V_token": ["JVM", "JVM"], "File": "JVMFrameLowering", "Func": "emitEpilogue", "Target": "JVM", "Target_Clf": "Virtual ISA", "Compiler_Type": "LLVM", "Idx": 12506, "Length": 16}
{"ground_truth": ["", "void", "JVMFrameLowering", "::", "emitPrologue", "(", "MachineFunction", "&", "MF", ",", "MachineBasicBlock", "&", "MBB", ")", "const", "{", "}", ""], "natrual_language": ["emitProlog/emitEpilog", "-", "These", "methods", "insert", "prolog", "and", "epilog", "code", "into", "the", "function", "."], "TS_V_token": ["JVM", "JVM"], "File": "JVMFrameLowering", "Func": "emitPrologue", "Target": "JVM", "Target_Clf": "Virtual ISA", "Compiler_Type": "LLVM", "Idx": 12507, "Length": 16}
{"ground_truth": ["", "bool", "JVMFrameLowering", "::", "hasFP", "(", "const", "MachineFunction", "&", "MF", ")", "const", "{", "return", "false", ";", "}", ""], "natrual_language": ["hasFP", "-", "Return", "true", "if", "the", "specified", "function", "should", "have", "a", "dedicated", "frame", "pointer", "register", "."], "TS_V_token": ["JVM", "JVM"], "File": "JVMFrameLowering", "Func": "hasFP", "Target": "JVM", "Target_Clf": "Virtual ISA", "Compiler_Type": "LLVM", "Idx": 12508, "Length": 16}
{"ground_truth": ["", "void", "JVMInstPrinter", "::", "printInst", "(", "const", "MCInst", "*", "MI", ",", "raw_ostream", "&", "OS", ",", "StringRef", "Annot", ",", "const", "MCSubtargetInfo", "&", ")", "{", "printInstruction", "(", "MI", ",", "OS", ")", ";", "printAnnotation", "(", "OS", ",", "Annot", ")", ";", "}", ""], "natrual_language": ["Print", "the", "specified", "MCInst", "to", "the", "specified", "raw_ostream", "."], "TS_V_token": ["JVM", "JVM"], "File": "JVMInstPrinter", "Func": "printInst", "Target": "JVM", "Target_Clf": "Virtual ISA", "Compiler_Type": "LLVM", "Idx": 12509, "Length": 37}
{"ground_truth": ["", "bool", "JVMInstrInfo", "::", "analyzeBranch", "(", "MachineBasicBlock", "&", "MBB", ",", "MachineBasicBlock", "*", "&", "TBB", ",", "MachineBasicBlock", "*", "&", "FBB", ",", "SmallVectorImpl", "<", "MachineOperand", ">", "&", "Cond", ",", "bool", "AllowModify", ")", "const", "{", "MachineInstr", "*", "UBR", "=", "nullptr", ";", "MachineInstr", "*", "CBR", "=", "nullptr", ";", "for", "(", "auto", "ritr", "=", "MBB", ".", "instr_rbegin", "(", ")", ";", "ritr", "!=", "MBB", ".", "instr_rend", "(", ")", ";", "ritr", "++", ")", "{", "MachineInstr", "&", "MI", "=", "*", "ritr", ";", "if", "(", "!", "MI", ".", "isBranch", "(", ")", ")", "break", ";", "if", "(", "!", "IsConditionalBranch", "(", "MI", ")", ")", "{", "assert", "(", "!", "UBR", "&&", "\"Multiple-unconditional branches\"", ")", ";", "UBR", "=", "&", "MI", ";", "}", "else", "{", "assert", "(", "!", "CBR", "&&", "\"Multiple-conditional branches\"", ")", ";", "CBR", "=", "&", "MI", ";", "}", "}", "if", "(", "nullptr", "==", "CBR", "&&", "nullptr", "==", "UBR", ")", "return", "true", ";", "else", "if", "(", "UBR", "&&", "!", "CBR", ")", "{", "TBB", "=", "UBR", "->", "getOperand", "(", "0", ")", ".", "getMBB", "(", ")", ";", "}", "else", "if", "(", "CBR", ")", "{", "TBB", "=", "CBR", "->", "getOperand", "(", "CBR", "->", "getNumOperands", "(", ")", "-", "1", ")", ".", "getMBB", "(", ")", ";", "for", "(", "unsigned", "i", "=", "0", ";", "i", "<", "CBR", "->", "getNumOperands", "(", ")", "-", "2", ";", "i", "++", ")", "Cond", ".", "push_back", "(", "CBR", "->", "getOperand", "(", "i", ")", ")", ";", "FBB", "=", "UBR", "?", "UBR", "->", "getOperand", "(", "0", ")", ".", "getMBB", "(", ")", ":", "nullptr", ";", "}", "else", "{", "llvm_unreachable", "(", "\"Unhandled banching\"", ")", ";", "}", "return", "false", ";", "}", ""], "natrual_language": ["analyzeBranch", "-", "Analyze", "the", "branching", "code", "at", "the", "end", "of", "MBB", ",", "returning", "true", "if", "it", "can", "not", "be", "understood", "(", "e.g", "."], "TS_V_token": ["JVM", "JVM", "\"Multiple-unconditional branches\"", "\"Multiple-conditional branches\"", "0", "1", "0", "2", "0", "\"Unhandled banching\""], "File": "JVMInstrInfo", "Func": "analyzeBranch", "Target": "JVM", "Target_Clf": "Virtual ISA", "Compiler_Type": "LLVM", "Idx": 12510, "Length": 247}
{"ground_truth": ["", "bool", "analyzeSelect", "(", "const", "MachineInstr", "&", "MI", ",", "SmallVectorImpl", "<", "MachineOperand", ">", "&", "Cond", ",", "unsigned", "&", "TrueOp", ",", "unsigned", "&", "FalseOp", ",", "bool", "&", "Optimizable", ")", "const", "override", "{", "return", "false", ";", "}", ""], "natrual_language": ["Analyze", "the", "given", "select", "instruction", ",", "returning", "true", "if", "it", "can", "not", "be", "understood", "."], "TS_V_token": ["JVM"], "File": "JVMInstrInfo", "Func": "analyzeSelect", "Target": "JVM", "Target_Clf": "Virtual ISA", "Compiler_Type": "LLVM", "Idx": 12511, "Length": 34}
{"ground_truth": ["", "void", "JVMInstrInfo", "::", "copyPhysReg", "(", "MachineBasicBlock", "&", "MBB", ",", "MachineBasicBlock", "::", "iterator", "I", ",", "const", "DebugLoc", "&", "DL", ",", "unsigned", "DestReg", ",", "unsigned", "SrcReg", ",", "bool", "KillSrc", ")", "const", "{", "llvm_unreachable", "(", "\"Unsupported copyPhysReg.\"", ")", ";", "}", ""], "natrual_language": ["}", "Branch", "Analysis", "&", "Modification"], "TS_V_token": ["JVM", "JVM", "\"Unsupported copyPhysReg.\""], "File": "JVMInstrInfo", "Func": "copyPhysReg", "Target": "JVM", "Target_Clf": "Virtual ISA", "Compiler_Type": "LLVM", "Idx": 12512, "Length": 36}
{"ground_truth": ["", "const", "JVMRegisterInfo", "&", "getRegisterInfo", "(", ")", "const", "{", "return", "RI", ";", "}", ""], "natrual_language": ["getRegisterInfo", "-", "TargetInstrInfo", "is", "a", "superset", "of", "MRegister", "info", "."], "TS_V_token": ["JVM", "JVM"], "File": "JVMInstrInfo", "Func": "getRegisterInfo", "Target": "JVM", "Target_Clf": "Virtual ISA", "Compiler_Type": "LLVM", "Idx": 12513, "Length": 12}
{"ground_truth": ["", "unsigned", "JVMInstrInfo", "::", "removeBranch", "(", "MachineBasicBlock", "&", "MBB", ",", "int", "*", "BytesRemoved", ")", "const", "{", "unsigned", "Count", "=", "0", ";", "for", "(", "auto", "ritr", "=", "MBB", ".", "instr_rbegin", "(", ")", ";", "ritr", "!=", "MBB", ".", "instr_rend", "(", ")", ";", "ritr", "++", ")", "{", "MachineInstr", "&", "MI", "=", "*", "ritr", ";", "if", "(", "!", "MI", ".", "isBranch", "(", ")", ")", "break", ";", "MI", ".", "eraseFromParent", "(", ")", ";", "Count", "++", ";", "}", "return", "Count", ";", "}", ""], "natrual_language": ["Remove", "the", "branching", "code", "at", "the", "end", "of", "the", "specific", "MBB", "."], "TS_V_token": ["JVM", "JVM", "0"], "File": "JVMInstrInfo", "Func": "removeBranch", "Target": "JVM", "Target_Clf": "Virtual ISA", "Compiler_Type": "LLVM", "Idx": 12514, "Length": 75}
{"ground_truth": ["", "bool", "JVMInstrInfo", "::", "reverseBranchCondition", "(", "SmallVectorImpl", "<", "MachineOperand", ">", "&", "Cond", ")", "const", "{", "MachineOperand", "&", "MO", "=", "Cond", "[", "0", "]", ";", "unsigned", "NewCond", ";", "switch", "(", "MO", ".", "getImm", "(", ")", ")", "{", "default", ":", "llvm_unreachable", "(", "\"Unhandled conditon\"", ")", ";", "case", "JVM", "::", "IFICMPEQ", ":", "NewCond", "=", "JVM", "::", "IFICMPNE", ";", "break", ";", "case", "JVM", "::", "IFICMPNE", ":", "NewCond", "=", "JVM", "::", "IFICMPEQ", ";", "break", ";", "case", "JVM", "::", "IFICMPGT", ":", "NewCond", "=", "JVM", "::", "IFICMPLE", ";", "break", ";", "case", "JVM", "::", "IFICMPGE", ":", "NewCond", "=", "JVM", "::", "IFICMPLT", ";", "break", ";", "case", "JVM", "::", "IFICMPLT", ":", "NewCond", "=", "JVM", "::", "IFICMPGE", ";", "break", ";", "case", "JVM", "::", "IFICMPLE", ":", "NewCond", "=", "JVM", "::", "IFICMPGT", ";", "break", ";", "case", "JVM", "::", "IFEQ", ":", "NewCond", "=", "JVM", "::", "IFNE", ";", "break", ";", "case", "JVM", "::", "IFGT", ":", "NewCond", "=", "JVM", "::", "IFLE", ";", "break", ";", "case", "JVM", "::", "IFGE", ":", "NewCond", "=", "JVM", "::", "IFLT", ";", "break", ";", "case", "JVM", "::", "IFLT", ":", "NewCond", "=", "JVM", "::", "IFGE", ";", "break", ";", "case", "JVM", "::", "IFLE", ":", "NewCond", "=", "JVM", "::", "IFGT", ";", "break", ";", "case", "JVM", "::", "IFNE", ":", "NewCond", "=", "JVM", "::", "IFEQ", ";", "break", ";", "}", "Cond", "[", "0", "]", ".", "setImm", "(", "NewCond", ")", ";", "return", "false", ";", "}", ""], "natrual_language": ["Reverses", "the", "branch", "condition", "of", "the", "specified", "condition", "list", ",", "returning", "false", "on", "success", "and", "true", "if", "it", "can", "not", "be", "reversed", "."], "TS_V_token": ["JVM", "JVM", "0", "\"Unhandled conditon\"", "JVM::IFICMPEQ", "JVM::IFICMPNE", "JVM::IFICMPNE", "JVM::IFICMPEQ", "JVM::IFICMPGT", "JVM::IFICMPLE", "JVM::IFICMPGE", "JVM::IFICMPLT", "JVM::IFICMPLT", "JVM::IFICMPGE", "JVM::IFICMPLE", "JVM::IFICMPGT", "JVM::IFEQ", "JVM::IFNE", "JVM::IFGT", "JVM::IFLE", "JVM::IFGE", "JVM::IFLT", "JVM::IFLT", "JVM::IFGE", "JVM::IFLE", "JVM::IFGT", "JVM::IFNE", "JVM::IFEQ", "0"], "File": "JVMInstrInfo", "Func": "reverseBranchCondition", "Target": "JVM", "Target_Clf": "Virtual ISA", "Compiler_Type": "LLVM", "Idx": 12515, "Length": 213}
{"ground_truth": ["", "void", "getAnalysisUsage", "(", "AnalysisUsage", "&", "AU", ")", "const", "override", "{", "getLoopAnalysisUsage", "(", "AU", ")", ";", "}", ""], "natrual_language": ["getAnalysisUsage", "-", "Subclasses", "that", "override", "getAnalysisUsage", "must", "call", "this", "."], "TS_V_token": ["JVM"], "File": "JVMIRDecorator", "Func": "getAnalysisUsage", "Target": "JVM", "Target_Clf": "Virtual ISA", "Compiler_Type": "LLVM", "Idx": 12516, "Length": 16}
{"ground_truth": ["", "bool", "runOnFunction", "(", "Function", "&", "F", ")", "override", "{", "Func", "=", "&", "F", ";", "DT", "=", "&", "getAnalysis", "<", "DominatorTreeWrapperPass", ">", "(", ")", ".", "getDomTree", "(", ")", ";", "return", "ProcessFunction", "(", ")", ";", "}", ""], "natrual_language": ["runOnFunction", "-", "Virtual", "method", "overriden", "by", "subclasses", "to", "do", "the", "per-function", "processing", "of", "the", "pass", "."], "TS_V_token": ["JVM"], "File": "JVMIRDecorator", "Func": "runOnFunction", "Target": "JVM", "Target_Clf": "Virtual ISA", "Compiler_Type": "LLVM", "Idx": 12517, "Length": 34}
{"ground_truth": ["", "StringRef", "getPassName", "(", ")", "const", "override", "{", "return", "\"JVM Instruction Selection\"", ";", "}", ""], "natrual_language": ["getPassName", "-", "Return", "a", "nice", "clean", "name", "for", "a", "pass", "."], "TS_V_token": ["JVM", "\"JVM Instruction Selection\""], "File": "JVMISelDAGToDAG", "Func": "getPassName", "Target": "JVM", "Target_Clf": "Virtual ISA", "Compiler_Type": "LLVM", "Idx": 12518, "Length": 11}
{"ground_truth": ["", "bool", "runOnMachineFunction", "(", "MachineFunction", "&", "MF", ")", "override", "{", "LLVMContext", "&", "Cxt", "=", "MF", ".", "getFunction", "(", ")", ".", "getContext", "(", ")", ";", "ForCodeSize", "=", "MF", ".", "getFunction", "(", ")", ".", "hasFnAttribute", "(", "Attribute", "::", "OptimizeForSize", ")", "||", "MF", ".", "getFunction", "(", ")", ".", "hasFnAttribute", "(", "Attribute", "::", "MinSize", ")", ";", "Subtarget", "=", "&", "MF", ".", "getSubtarget", "<", "JVMSubtarget", ">", "(", ")", ";", "JVMFunctionInfo", "*", "MFI", "=", "MF", ".", "getInfo", "<", "JVMFunctionInfo", ">", "(", ")", ";", "for", "(", "auto", "&", "STy", ":", "Cxt", ".", "getNamedStructTypes", "(", ")", ")", "MFI", "->", "addToTypeNameMap", "(", "STy", ".", "getValue", "(", ")", ")", ";", "const", "Function", "&", "F", "=", "MF", ".", "getFunction", "(", ")", ";", "if", "(", "F", ".", "hasFnAttribute", "(", "Attribute", "::", "JVMInstMethod", ")", ")", "{", "const", "Module", "*", "Mod", "=", "F", ".", "getParent", "(", ")", ";", "StringRef", "ModName", "=", "Mod", "->", "getName", "(", ")", ";", "const", "GlobalVariable", "*", "GCStructObj", "=", "Mod", "->", "getNamedGlobal", "(", "\"ConstantInitStruct\"", ")", ";", "assert", "(", "GCStructObj", "&&", "\"Global constants structure not present\"", ")", ";", "std", "::", "string", "ClassName", "=", "ModName", ".", "substr", "(", "0", ",", "ModName", ".", "find", "(", "\".ll\"", ")", ")", ";", "MFI", "->", "addToTypeNameMap", "(", "GetRootType", "(", "GCStructObj", "->", "getType", "(", ")", ")", ",", "ClassName", ")", ";", "}", "return", "SelectionDAGISel", "::", "runOnMachineFunction", "(", "MF", ")", ";", "}", ""], "natrual_language": ["runOnMachineFunction", "-", "Emit", "the", "function", "body", "."], "TS_V_token": ["JVM", "JVM", "JVM", "JVM", "JVM", "\"ConstantInitStruct\"", "\"Global constants structure not present\"", "0", "\".ll\""], "File": "JVMISelDAGToDAG", "Func": "runOnMachineFunction", "Target": "JVM", "Target_Clf": "Virtual ISA", "Compiler_Type": "LLVM", "Idx": 12519, "Length": 206}
{"ground_truth": ["", "void", "JVMDAGToDAGISel", "::", "Select", "(", "SDNode", "*", "Node", ")", "{", "LLVM_DEBUG", "(", "errs", "(", ")", "<<", "\"Selecting: \"", ")", ";", "LLVM_DEBUG", "(", "Node", "->", "dump", "(", "CurDAG", ")", ")", ";", "LLVM_DEBUG", "(", "errs", "(", ")", "<<", "\"\\n\"", ")", ";", "if", "(", "Node", "->", "isMachineOpcode", "(", ")", ")", "{", "LLVM_DEBUG", "(", "errs", "(", ")", "<<", "\"== \"", ";", "Node", "->", "dump", "(", "CurDAG", ")", ";", "errs", "(", ")", "<<", "\"\\n\"", ")", ";", "Node", "->", "setNodeId", "(", "-", "1", ")", ";", "return", ";", "}", "EVT", "VT", "=", "Node", "->", "getValueType", "(", "0", ")", ";", "switch", "(", "Node", "->", "getOpcode", "(", ")", ")", "{", "default", ":", "break", ";", "(", "void", ")", "VT", ";", "}", "SelectCode", "(", "Node", ")", ";", "}", ""], "natrual_language": ["Main", "hook", "for", "targets", "to", "transform", "nodes", "into", "machine", "nodes", "."], "TS_V_token": ["JVM", "JVM", "\"Selecting: \"", "\"\\n\"", "\"== \"", "\"\\n\"", "1", "0"], "File": "JVMISelDAGToDAG", "Func": "Select", "Target": "JVM", "Target_Clf": "Virtual ISA", "Compiler_Type": "LLVM", "Idx": 12520, "Length": 115}
{"ground_truth": ["", "bool", "JVMTargetLowering", "::", "CanLowerReturn", "(", "CallingConv", "::", "ID", ",", "MachineFunction", "&", ",", "bool", ",", "const", "SmallVectorImpl", "<", "ISD", "::", "OutputArg", ">", "&", "Outs", ",", "LLVMContext", "&", ")", "const", "{", "return", "Outs", ".", "size", "(", ")", "<=", "1", ";", "}", ""], "natrual_language": ["This", "hook", "should", "be", "implemented", "to", "check", "whether", "the", "return", "values", "described", "by", "the", "Outs", "array", "can", "fit", "into", "the", "return", "registers", "."], "TS_V_token": ["JVM", "JVM", "ISD::OutputArg", "1"], "File": "JVMISelLowering", "Func": "CanLowerReturn", "Target": "JVM", "Target_Clf": "Virtual ISA", "Compiler_Type": "LLVM", "Idx": 12521, "Length": 39}
{"ground_truth": ["", "void", "JVMTargetLowering", "::", "finalizeLowering", "(", "MachineFunction", "&", "MF", ")", "const", "{", "auto", "&", "MRI", "=", "MF", ".", "getRegInfo", "(", ")", ";", "MRI", ".", "freezeReservedRegs", "(", "MF", ")", ";", "}", ""], "natrual_language": ["Execute", "target", "specific", "actions", "to", "finalize", "target", "lowering", "."], "TS_V_token": ["JVM", "JVM"], "File": "JVMISelLowering", "Func": "finalizeLowering", "Target": "JVM", "Target_Clf": "Virtual ISA", "Compiler_Type": "LLVM", "Idx": 12522, "Length": 29}
{"ground_truth": ["", "const", "char", "*", "JVMTargetLowering", "::", "getTargetNodeName", "(", "unsigned", "Opcode", ")", "const", "{", "switch", "(", "Opcode", ")", "{", "default", ":", "llvm_unreachable", "(", "\"Unhandled target opcode.\\n\"", ")", ";", "break", ";", "case", "JVMISD", "::", "ALLOC", ":", "return", "\"JVMISD::ALLOC\"", ";", "case", "JVMISD", "::", "ADD", ":", "return", "\"JVMISD::ADD\"", ";", "case", "JVMISD", "::", "AND", ":", "return", "\"JVMISD::AND\"", ";", "case", "JVMISD", "::", "DIV", ":", "return", "\"JVMISD::DIV\"", ";", "case", "JVMISD", "::", "EXTEND", ":", "return", "\"JVMISD::EXTEND\"", ";", "case", "JVMISD", "::", "ARGUMENT", ":", "return", "\"JVMISD::ARGUMENT\"", ";", "case", "JVMISD", "::", "LOAD", ":", "return", "\"JVMISD::LOAD\"", ";", "case", "JVMISD", "::", "LOAD_W_CHAIN", ":", "return", "\"JVMISD::LOAD_W_CHAIN\"", ";", "case", "JVMISD", "::", "MUL", ":", "return", "\"JVMISD::MUL\"", ";", "case", "JVMISD", "::", "SHL", ":", "return", "\"JVMISD::SHL\"", ";", "case", "JVMISD", "::", "SRL", ":", "return", "\"JVMISD::SRL\"", ";", "case", "JVMISD", "::", "SRA", ":", "return", "\"JVMISD::SRA\"", ";", "case", "JVMISD", "::", "STORENR", ":", "return", "\"JVMISD::STORENR\"", ";", "case", "JVMISD", "::", "STORE", ":", "return", "\"JVMISD::STORE\"", ";", "case", "JVMISD", "::", "TRUNC", ":", "return", "\"JVMISD::TRUNC\"", ";", "case", "JVMISD", "::", "FIELD_ACC_R", ":", "return", "\"JVMISD::FIELD_ACC_R\"", ";", "case", "JVMISD", "::", "FIELD_ACC_W", ":", "return", "\"JVMISD::FIELD_ACC_W\"", ";", "case", "JVMISD", "::", "INDEX_ACC", ":", "return", "\"JVMISD::INDEX_ACC\"", ";", "case", "JVMISD", "::", "INVOKENV", ":", "return", "\"JVMISD::INVOKENV\"", ";", "case", "JVMISD", "::", "OR", ":", "return", "\"JVMISD::OR\"", ";", "case", "JVMISD", "::", "SUB", ":", "return", "\"JVMISD::SUB\"", ";", "case", "JVMISD", "::", "CMP", ":", "return", "\"JVMISD::CMP\"", ";", "case", "JVMISD", "::", "CALL", ":", "return", "\"JVMISD::CALL\"", ";", "case", "JVMISD", "::", "REM", ":", "return", "\"JVMISD::REM\"", ";", "case", "JVMISD", "::", "RET", ":", "return", "\"JVMISD::RET\"", ";", "case", "JVMISD", "::", "DUP", ":", "return", "\"JVMISD::DUP\"", ";", "case", "JVMISD", "::", "BR_CC", ":", "return", "\"JVMISD::BR_CC\"", ";", "case", "JVMISD", "::", "BR_CONST_CC", ":", "return", "\"JVMISD::BR_CONST_CC\"", ";", "case", "JVMISD", "::", "XOR", ":", "return", "\"JVMISD::XOR\"", ";", "}", "return", "nullptr", ";", "}", ""], "natrual_language": ["getTargetNodeName", "-", "This", "method", "returns", "the", "name", "of", "a", "target", "specific"], "TS_V_token": ["JVM", "JVM", "\"Unhandled target opcode.\\n\"", "JVMISD::ALLOC", "\"JVMISD::ALLOC\"", "JVMISD::ADD", "\"JVMISD::ADD\"", "JVMISD::AND", "\"JVMISD::AND\"", "JVMISD::DIV", "\"JVMISD::DIV\"", "JVMISD::EXTEND", "\"JVMISD::EXTEND\"", "JVMISD::ARGUMENT", "\"JVMISD::ARGUMENT\"", "JVMISD::LOAD", "\"JVMISD::LOAD\"", "JVMISD::LOAD_W_CHAIN", "\"JVMISD::LOAD_W_CHAIN\"", "JVMISD::MUL", "\"JVMISD::MUL\"", "JVMISD::SHL", "\"JVMISD::SHL\"", "JVMISD::SRL", "\"JVMISD::SRL\"", "JVMISD::SRA", "\"JVMISD::SRA\"", "JVMISD::STORENR", "\"JVMISD::STORENR\"", "JVMISD::STORE", "\"JVMISD::STORE\"", "JVMISD::TRUNC", "\"JVMISD::TRUNC\"", "JVMISD::FIELD_ACC_R", "\"JVMISD::FIELD_ACC_R\"", "JVMISD::FIELD_ACC_W", "\"JVMISD::FIELD_ACC_W\"", "JVMISD::INDEX_ACC", "\"JVMISD::INDEX_ACC\"", "JVMISD::INVOKENV", "\"JVMISD::INVOKENV\"", "JVMISD::OR", "\"JVMISD::OR\"", "JVMISD::SUB", "\"JVMISD::SUB\"", "JVMISD::CMP", "\"JVMISD::CMP\"", "JVMISD::CALL", "\"JVMISD::CALL\"", "JVMISD::REM", "\"JVMISD::REM\"", "JVMISD::RET", "\"JVMISD::RET\"", "JVMISD::DUP", "\"JVMISD::DUP\"", "JVMISD::BR_CC", "\"JVMISD::BR_CC\"", "JVMISD::BR_CONST_CC", "\"JVMISD::BR_CONST_CC\"", "JVMISD::XOR", "\"JVMISD::XOR\""], "File": "JVMISelLowering", "Func": "getTargetNodeName", "Target": "JVM", "Target_Clf": "Virtual ISA", "Compiler_Type": "LLVM", "Idx": 12523, "Length": 263}
{"ground_truth": ["", "bool", "isSuitableForJumpTable", "(", "const", "SwitchInst", "*", "SI", ",", "uint64_t", "NumCases", ",", "uint64_t", "Range", ")", "const", "override", "{", "return", "false", ";", "}", ""], "natrual_language": ["Return", "true", "if", "lowering", "to", "a", "jump", "table", "is", "suitable", "for", "a", "set", "of", "case", "clusters", "which", "may", "contain", "NumCases", "cases", ",", "Range", "range", "of", "values", "."], "TS_V_token": ["JVM"], "File": "JVMISelLowering", "Func": "isSuitableForJumpTable", "Target": "JVM", "Target_Clf": "Virtual ISA", "Compiler_Type": "LLVM", "Idx": 12524, "Length": 21}
{"ground_truth": ["", "SDValue", "JVMTargetLowering", "::", "LowerFormalArguments", "(", "SDValue", "Chain", ",", "CallingConv", "::", "ID", "CallConv", ",", "bool", "IsVarArg", ",", "const", "SmallVectorImpl", "<", "ISD", "::", "InputArg", ">", "&", "Ins", ",", "const", "SDLoc", "&", "DL", ",", "SelectionDAG", "&", "DAG", ",", "SmallVectorImpl", "<", "SDValue", ">", "&", "InVals", ")", "const", "{", "if", "(", "!", "CallingConvSupported", "(", "CallConv", ")", ")", "fail", "(", "DL", ",", "DAG", ",", "\"JVM doesn't support non-C calling conventions\"", ")", ";", "MachineFunction", "&", "MF", "=", "DAG", ".", "getMachineFunction", "(", ")", ";", "JVMFunctionInfo", "*", "MFI", "=", "MF", ".", "getInfo", "<", "JVMFunctionInfo", ">", "(", ")", ";", "MF", ".", "getRegInfo", "(", ")", ".", "addLiveIn", "(", "JVM", "::", "ARGUMENTS", ")", ";", "for", "(", "const", "ISD", "::", "InputArg", "&", "In", ":", "Ins", ")", "{", "if", "(", "In", ".", "Flags", ".", "isInAlloca", "(", ")", ")", "fail", "(", "DL", ",", "DAG", ",", "\"JVM hasn't implemented inalloca arguments\"", ")", ";", "if", "(", "In", ".", "Flags", ".", "isNest", "(", ")", ")", "fail", "(", "DL", ",", "DAG", ",", "\"JVM hasn't implemented nest arguments\"", ")", ";", "if", "(", "In", ".", "Flags", ".", "isInConsecutiveRegs", "(", ")", ")", "fail", "(", "DL", ",", "DAG", ",", "\"JVM hasn't implemented cons regs arguments\"", ")", ";", "if", "(", "In", ".", "Flags", ".", "isInConsecutiveRegsLast", "(", ")", ")", "fail", "(", "DL", ",", "DAG", ",", "\"JVM hasn't implemented cons regs last arguments\"", ")", ";", "SDValue", "Arg", ";", "if", "(", "In", ".", "Used", ")", "{", "bool", "IsCompositeArg", "=", "In", ".", "Flags", ".", "isByVal", "(", ")", ";", "EVT", "ArgTy", "=", "IsCompositeArg", "?", "MVT", "::", "i32", ":", "In", ".", "VT", ";", "Arg", "=", "DAG", ".", "getNode", "(", "JVMISD", "::", "ARGUMENT", ",", "DL", ",", "ArgTy", ",", "DAG", ".", "getTargetConstant", "(", "InVals", ".", "size", "(", ")", ",", "DL", ",", "MVT", "::", "i32", ")", ")", ";", "SDNodeFlags", "Flags", "=", "Arg", ".", "getNode", "(", ")", "->", "getFlags", "(", ")", ";", "Flags", ".", "setIsComposite", "(", "IsCompositeArg", ")", ";", "Arg", ".", "getNode", "(", ")", "->", "setFlags", "(", "Flags", ")", ";", "}", "else", "{", "Arg", "=", "DAG", ".", "getUNDEF", "(", "In", ".", "VT", ")", ";", "}", "InVals", ".", "push_back", "(", "Arg", ")", ";", "MFI", "->", "incrimentArgumentCount", "(", ")", ";", "}", "if", "(", "IsVarArg", ")", "llvm_unreachable", "(", "\"Unsupported variable arguments.\"", ")", ";", "return", "Chain", ";", "}", ""], "natrual_language": ["This", "hook", "must", "be", "implemented", "to", "lower", "the", "incoming", "(", "formal", ")", "arguments", ",", "described", "by", "the", "Ins", "array", ",", "into", "the", "specified", "DAG", "."], "TS_V_token": ["JVM", "JVM", "ISD::InputArg", "\"JVM doesn't support non-C calling conventions\"", "JVM", "JVM", "JVM::ARGUMENTS", "ISD::InputArg", "\"JVM hasn't implemented inalloca arguments\"", "\"JVM hasn't implemented nest arguments\"", "\"JVM hasn't implemented cons regs arguments\"", "\"JVM hasn't implemented cons regs last arguments\"", "MVT::i32", "JVMISD::ARGUMENT", "MVT::i32", "\"Unsupported variable arguments.\""], "File": "JVMISelLowering", "Func": "LowerFormalArguments", "Target": "JVM", "Target_Clf": "Virtual ISA", "Compiler_Type": "LLVM", "Idx": 12525, "Length": 324}
{"ground_truth": ["", "SDValue", "JVMTargetLowering", "::", "LowerOperation", "(", "SDValue", "Op", ",", "SelectionDAG", "&", "DAG", ")", "const", "{", "SDLoc", "DL", "(", "Op", ")", ";", "auto", "PtrVT", "=", "getPointerTy", "(", "DAG", ".", "getDataLayout", "(", ")", ")", ";", "switch", "(", "Op", ".", "getOpcode", "(", ")", ")", "{", "default", ":", "llvm_unreachable", "(", "\"unimplemented operation lowering\"", ")", ";", "return", "SDValue", "(", ")", ";", "case", "ISD", "::", "ARRAY_REF", ":", "return", "LowerARRAY_REF", "(", "Op", ",", "DAG", ")", ";", "case", "ISD", "::", "STRUCT_REF", ":", "return", "LowerSTRUCT_REF", "(", "Op", ",", "DAG", ")", ";", "case", "ISD", "::", "BRCOND", ":", "return", "LowerBRCOND", "(", "Op", ",", "DAG", ")", ";", "case", "ISD", "::", "BR_CC", ":", "return", "LowerBR_CC", "(", "Op", ",", "DAG", ")", ";", "case", "ISD", "::", "DYNAMIC_STACKALLOC", ":", "return", "LowerDYNAMIC_STACKALLOC", "(", "Op", ",", "DAG", ")", ";", "case", "ISD", "::", "SHL", ":", "case", "ISD", "::", "SRA", ":", "case", "ISD", "::", "SRL", ":", "case", "ISD", "::", "OR", ":", "case", "ISD", "::", "AND", ":", "case", "ISD", "::", "XOR", ":", "case", "ISD", "::", "ADD", ":", "case", "ISD", "::", "SUB", ":", "case", "ISD", "::", "MUL", ":", "case", "ISD", "::", "UDIV", ":", "case", "ISD", "::", "SDIV", ":", "case", "ISD", "::", "UREM", ":", "case", "ISD", "::", "SREM", ":", "return", "LowerBinaryOp", "(", "Op", ",", "DAG", ")", ";", "case", "ISD", "::", "LOAD", ":", "return", "LowerLOAD", "(", "Op", ",", "DAG", ")", ";", "case", "ISD", "::", "STORE", ":", "return", "LowerSTORE", "(", "Op", ",", "DAG", ")", ";", "case", "ISD", "::", "GlobalAddress", ":", "return", "LowerGlobalAddress", "(", "Op", ",", "DAG", ",", "PtrVT", ")", ";", "case", "ISD", "::", "ZERO_EXTEND", ":", "case", "ISD", "::", "SIGN_EXTEND", ":", "case", "ISD", "::", "ANY_EXTEND", ":", "case", "ISD", "::", "SIGN_EXTEND_INREG", ":", "return", "LowerEXTEND", "(", "Op", ",", "DAG", ")", ";", "case", "ISD", "::", "TRUNCATE", ":", "return", "LowerTRUNCATE", "(", "Op", ",", "DAG", ")", ";", "}", "}", ""], "natrual_language": ["LowerOperation", "-", "Provide", "custom", "lowering", "hooks", "for", "some", "operations", "."], "TS_V_token": ["JVM", "JVM", "\"unimplemented operation lowering\"", "ISD::ARRAY_REF", "ISD::STRUCT_REF", "ISD::BRCOND", "ISD::BR_CC", "ISD::DYNAMIC_STACKALLOC", "ISD::SHL", "ISD::SRA", "ISD::SRL", "ISD::OR", "ISD::AND", "ISD::XOR", "ISD::ADD", "ISD::SUB", "ISD::MUL", "ISD::UDIV", "ISD::SDIV", "ISD::UREM", "ISD::SREM", "ISD::LOAD", "ISD::STORE", "ISD::GlobalAddress", "ISD::ZERO_EXTEND", "ISD::SIGN_EXTEND", "ISD::ANY_EXTEND", "ISD::SIGN_EXTEND_INREG", "ISD::TRUNCATE"], "File": "JVMISelLowering", "Func": "LowerOperation", "Target": "JVM", "Target_Clf": "Virtual ISA", "Compiler_Type": "LLVM", "Idx": 12526, "Length": 275}
{"ground_truth": ["", "SDValue", "JVMTargetLowering", "::", "LowerReturn", "(", "SDValue", "Chain", ",", "CallingConv", "::", "ID", "CallConv", ",", "bool", ",", "const", "SmallVectorImpl", "<", "ISD", "::", "OutputArg", ">", "&", "Outs", ",", "const", "SmallVectorImpl", "<", "SDValue", ">", "&", "OutVals", ",", "const", "SDLoc", "&", "DL", ",", "SelectionDAG", "&", "DAG", ")", "const", "{", "assert", "(", "Outs", ".", "size", "(", ")", "<=", "1", "&&", "\"JVM can only return up to one value\"", ")", ";", "if", "(", "!", "CallingConvSupported", "(", "CallConv", ")", ")", "fail", "(", "DL", ",", "DAG", ",", "\"JVM doesn't support non-C calling conventions\"", ")", ";", "if", "(", "Outs", ".", "size", "(", ")", ")", "Chain", "=", "DAG", ".", "getNode", "(", "JVMISD", "::", "RET", ",", "DL", ",", "MVT", "::", "Other", ",", "Chain", ",", "OutVals", "[", "0", "]", ")", ";", "else", "Chain", "=", "DAG", ".", "getNode", "(", "JVMISD", "::", "RET", ",", "DL", ",", "MVT", "::", "Other", ",", "Chain", ")", ";", "for", "(", "const", "ISD", "::", "OutputArg", "&", "Out", ":", "Outs", ")", "{", "assert", "(", "!", "Out", ".", "Flags", ".", "isByVal", "(", ")", "&&", "\"byval is not valid for return values\"", ")", ";", "assert", "(", "!", "Out", ".", "Flags", ".", "isNest", "(", ")", "&&", "\"nest is not valid for return values\"", ")", ";", "assert", "(", "Out", ".", "IsFixed", "&&", "\"non-fixed return value is not valid\"", ")", ";", "if", "(", "Out", ".", "Flags", ".", "isInAlloca", "(", ")", ")", "fail", "(", "DL", ",", "DAG", ",", "\"JVM hasn't implemented inalloca results\"", ")", ";", "if", "(", "Out", ".", "Flags", ".", "isInConsecutiveRegs", "(", ")", ")", "fail", "(", "DL", ",", "DAG", ",", "\"JVM hasn't implemented cons regs results\"", ")", ";", "if", "(", "Out", ".", "Flags", ".", "isInConsecutiveRegsLast", "(", ")", ")", "fail", "(", "DL", ",", "DAG", ",", "\"JVM hasn't implemented cons regs last results\"", ")", ";", "}", "return", "Chain", ";", "}", ""], "natrual_language": ["This", "hook", "must", "be", "implemented", "to", "lower", "outgoing", "return", "values", ",", "described", "by", "the", "Outs", "array", ",", "into", "the", "specified", "DAG", "."], "TS_V_token": ["JVM", "JVM", "ISD::OutputArg", "1", "\"JVM can only return up to one value\"", "\"JVM doesn't support non-C calling conventions\"", "JVMISD::RET", "MVT::Other", "0", "JVMISD::RET", "MVT::Other", "ISD::OutputArg", "\"byval is not valid for return values\"", "\"nest is not valid for return values\"", "\"non-fixed return value is not valid\"", "\"JVM hasn't implemented inalloca results\"", "\"JVM hasn't implemented cons regs results\"", "\"JVM hasn't implemented cons regs last results\""], "File": "JVMISelLowering", "Func": "LowerReturn", "Target": "JVM", "Target_Clf": "Virtual ISA", "Compiler_Type": "LLVM", "Idx": 12527, "Length": 237}
{"ground_truth": ["", "SDValue", "JVMTargetLowering", "::", "PerformDAGCombine", "(", "SDNode", "*", "N", ",", "DAGCombinerInfo", "&", "DCI", ")", "const", "{", "return", "SDValue", "(", "N", ",", "0", ")", ";", "}", ""], "natrual_language": ["This", "method", "will", "be", "invoked", "for", "all", "target", "nodes", "and", "for", "any", "target-independent", "nodes", "that", "the", "target", "has", "registered", "with", "invoke", "it", "for", "."], "TS_V_token": ["JVM", "JVM", "0"], "File": "JVMISelLowering", "Func": "PerformDAGCombine", "Target": "JVM", "Target_Clf": "Virtual ISA", "Compiler_Type": "LLVM", "Idx": 12528, "Length": 24}
{"ground_truth": ["", "bool", "JVMLoadStoreEliminationOpt", "::", "runOnMachineFunction", "(", "MachineFunction", "&", "MFN", ")", "{", "MF", "=", "&", "MFN", ";", "TII", "=", "static_cast", "<", "const", "JVMInstrInfo", "*", ">", "(", "MF", "->", "getSubtarget", "(", ")", ".", "getInstrInfo", "(", ")", ")", ";", "TRI", "=", "static_cast", "<", "const", "JVMRegisterInfo", "*", ">", "(", "MF", "->", "getSubtarget", "(", ")", ".", "getRegisterInfo", "(", ")", ")", ";", "MRI", "=", "&", "MF", "->", "getRegInfo", "(", ")", ";", "DT", "=", "&", "getAnalysis", "<", "MachineDominatorTree", ">", "(", ")", ";", "LLVM_DEBUG", "(", "dbgs", "(", ")", "<<", "\"\\n******** JVM Load/Store Elimination Optimization ********\\n\"", ")", ";", "PerformOptimization", "(", "DT", "->", "getRootNode", "(", ")", ")", ";", "return", "true", ";", "}", ""], "natrual_language": ["runOnMachineFunction", "-", "Emit", "the", "function", "body", "."], "TS_V_token": ["JVM", "JVM", "JVM", "JVM", "\"\\n******** JVM Load/Store Elimination Optimization ********\\n\""], "File": "JVMLoadStoreEliminationOpt", "Func": "runOnMachineFunction", "Target": "JVM", "Target_Clf": "Virtual ISA", "Compiler_Type": "LLVM", "Idx": 12529, "Length": 96}
{"ground_truth": ["", "bool", "runOnFunction", "(", "Function", "&", "F", ")", "override", "{", "Func", "=", "&", "F", ";", "return", "ProcessFunction", "(", ")", ";", "}", ""], "natrual_language": ["runOnFunction", "-", "Virtual", "method", "overriden", "by", "subclasses", "to", "do", "the", "per-function", "processing", "of", "the", "pass", "."], "TS_V_token": ["JVM"], "File": "JVMLowerMemoryIntrinsics", "Func": "runOnFunction", "Target": "JVM", "Target_Clf": "Virtual ISA", "Compiler_Type": "LLVM", "Idx": 12530, "Length": 20}
{"ground_truth": ["", "void", "JVMFunctionInfo", "::", "Initialize", "(", ")", "{", "EmitGlobConsts", "=", "false", ";", "NumArguments", "=", "0", ";", "StackLimit", "=", "0", ";", "LocalsLimit", "=", "0", ";", "}", ""], "natrual_language": ["This", "method", "must", "be", "called", "before", "any", "actual", "lowering", "is", "done", "."], "TS_V_token": ["JVM", "JVM", "0", "0", "0"], "File": "JVMMachineFunctionInfo", "Func": "Initialize", "Target": "JVM", "Target_Clf": "Virtual ISA", "Compiler_Type": "LLVM", "Idx": 12531, "Length": 24}
{"ground_truth": ["", "bool", "isValidUnquotedName", "(", "StringRef", "Name", ")", "const", "override", "{", "return", "true", ";", "}", ""], "natrual_language": ["Return", "true", "if", "the", "identifier", "Name", "does", "not", "need", "quotes", "to", "be", "syntactically", "correct", "."], "TS_V_token": ["JVM"], "File": "JVMMCAsmInfo", "Func": "isValidUnquotedName", "Target": "JVM", "Target_Clf": "Virtual ISA", "Compiler_Type": "LLVM", "Idx": 12532, "Length": 13}
{"ground_truth": ["", "static", "MCAsmInfo", "*", "createMCAsmInfo", "(", "const", "MCRegisterInfo", "&", ",", "const", "Triple", "&", "TT", ")", "{", "return", "new", "JVMMCAsmInfo", "(", "TT", ")", ";", "}", ""], "natrual_language": ["createMCAsmInfo", "-", "Create", "a", "MCAsmInfo", "implementation", "for", "the", "specified", "target", "triple", "."], "TS_V_token": ["JVM", "JVM"], "File": "JVMMCTargetDesc", "Func": "createMCAsmInfo", "Target": "JVM", "Target_Clf": "Virtual ISA", "Compiler_Type": "LLVM", "Idx": 12533, "Length": 23}
{"ground_truth": ["", "static", "MCInstrInfo", "*", "createMCInstrInfo", "(", ")", "{", "MCInstrInfo", "*", "X", "=", "new", "MCInstrInfo", "(", ")", ";", "InitJVMMCInstrInfo", "(", "X", ")", ";", "return", "X", ";", "}", ""], "natrual_language": ["createMCInstrInfo", "-", "Create", "a", "MCInstrInfo", "implementation", "."], "TS_V_token": ["JVM", "JVM"], "File": "JVMMCTargetDesc", "Func": "createMCInstrInfo", "Target": "JVM", "Target_Clf": "Virtual ISA", "Compiler_Type": "LLVM", "Idx": 12534, "Length": 25}
{"ground_truth": ["", "static", "MCSubtargetInfo", "*", "createMCSubtargetInfo", "(", "const", "Triple", "&", "TT", ",", "StringRef", "CPU", ",", "StringRef", "FS", ")", "{", "return", "createJVMMCSubtargetInfoImpl", "(", "TT", ",", "CPU", ",", "FS", ")", ";", "}", ""], "natrual_language": ["createMCSubtargetInfo", "-", "Create", "a", "MCSubtargetInfo", "implementation", "."], "TS_V_token": ["JVM", "JVM"], "File": "JVMMCTargetDesc", "Func": "createMCSubtargetInfo", "Target": "JVM", "Target_Clf": "Virtual ISA", "Compiler_Type": "LLVM", "Idx": 12535, "Length": 28}
{"ground_truth": ["", "static", "bool", "isEntryBlock", "(", "MachineBasicBlock", "*", "MBB", ")", "{", "if", "(", "MBB", "->", "pred_empty", "(", ")", ")", "{", "assert", "(", "MBB", "->", "getNumber", "(", ")", "==", "0", "&&", "\"Entry block with non-zero block Number.\"", ")", ";", "return", "true", ";", "}", "else", "return", "false", ";", "}", ""], "natrual_language": ["Returns", "true", "if", "this", "is", "the", "entry", "block", "of", "the", "function", "."], "TS_V_token": ["JVM", "0", "\"Entry block with non-zero block Number.\""], "File": "JVMOffsetAllocator", "Func": "isEntryBlock", "Target": "JVM", "Target_Clf": "Virtual ISA", "Compiler_Type": "LLVM", "Idx": 12536, "Length": 40}
{"ground_truth": ["", "bool", "JVMOffsetAllocator", "::", "runOnMachineFunction", "(", "MachineFunction", "&", "MFN", ")", "{", "MF", "=", "&", "MFN", ";", "TII", "=", "static_cast", "<", "const", "JVMInstrInfo", "*", ">", "(", "MF", "->", "getSubtarget", "(", ")", ".", "getInstrInfo", "(", ")", ")", ";", "TRI", "=", "static_cast", "<", "const", "JVMRegisterInfo", "*", ">", "(", "MF", "->", "getSubtarget", "(", ")", ".", "getRegisterInfo", "(", ")", ")", ";", "MRI", "=", "&", "MF", "->", "getRegInfo", "(", ")", ";", "DT", "=", "&", "getAnalysis", "<", "MachineDominatorTree", ">", "(", ")", ";", "LLVM_DEBUG", "(", "dbgs", "(", ")", "<<", "\"\\n******** JVM Offset allocation ********\\n\"", ")", ";", "PerformAllocation", "(", "DT", "->", "getRootNode", "(", ")", ")", ";", "return", "true", ";", "}", ""], "natrual_language": ["runOnMachineFunction", "-", "Emit", "the", "function", "body", "."], "TS_V_token": ["JVM", "JVM", "JVM", "JVM", "\"\\n******** JVM Offset allocation ********\\n\""], "File": "JVMOffsetAllocator", "Func": "runOnMachineFunction", "Target": "JVM", "Target_Clf": "Virtual ISA", "Compiler_Type": "LLVM", "Idx": 12537, "Length": 96}
{"ground_truth": ["", "bool", "JVMPostAllocationFixups", "::", "runOnMachineFunction", "(", "MachineFunction", "&", "MFN", ")", "{", "MF", "=", "&", "MFN", ";", "TII", "=", "static_cast", "<", "const", "JVMInstrInfo", "*", ">", "(", "MF", "->", "getSubtarget", "(", ")", ".", "getInstrInfo", "(", ")", ")", ";", "TRI", "=", "static_cast", "<", "const", "JVMRegisterInfo", "*", ">", "(", "MF", "->", "getSubtarget", "(", ")", ".", "getRegisterInfo", "(", ")", ")", ";", "MRI", "=", "&", "MF", "->", "getRegInfo", "(", ")", ";", "DT", "=", "&", "getAnalysis", "<", "MachineDominatorTree", ">", "(", ")", ";", "LLVM_DEBUG", "(", "dbgs", "(", ")", "<<", "\"\\n******** JVM Store/Dup insertion ********\\n\"", ")", ";", "PerformStoreInsertion", "(", "DT", "->", "getRootNode", "(", ")", ")", ";", "LLVM_DEBUG", "(", "dbgs", "(", ")", "<<", "\"\\n******** JVM Return Fixup ********\\n\"", ")", ";", "PerformReturnFixup", "(", "DT", "->", "getRootNode", "(", ")", ")", ";", "return", "true", ";", "}", ""], "natrual_language": ["runOnMachineFunction", "-", "Emit", "the", "function", "body", "."], "TS_V_token": ["JVM", "JVM", "JVM", "JVM", "\"\\n******** JVM Store/Dup insertion ********\\n\"", "\"\\n******** JVM Return Fixup ********\\n\""], "File": "JVMPostAllocationFixups", "Func": "runOnMachineFunction", "Target": "JVM", "Target_Clf": "Virtual ISA", "Compiler_Type": "LLVM", "Idx": 12538, "Length": 114}
{"ground_truth": ["", "bool", "JVMPreAllocationFixups", "::", "runOnMachineFunction", "(", "MachineFunction", "&", "MFN", ")", "{", "MF", "=", "&", "MFN", ";", "TII", "=", "static_cast", "<", "const", "JVMInstrInfo", "*", ">", "(", "MF", "->", "getSubtarget", "(", ")", ".", "getInstrInfo", "(", ")", ")", ";", "TRI", "=", "static_cast", "<", "const", "JVMRegisterInfo", "*", ">", "(", "MF", "->", "getSubtarget", "(", ")", ".", "getRegisterInfo", "(", ")", ")", ";", "MRI", "=", "&", "MF", "->", "getRegInfo", "(", ")", ";", "DT", "=", "&", "getAnalysis", "<", "MachineDominatorTree", ">", "(", ")", ";", "LLVM_DEBUG", "(", "dbgs", "(", ")", "<<", "\"\\n******** JVM Extend Fixups ********\\n\"", ")", ";", "PerformExtendFixups", "(", "DT", "->", "getRootNode", "(", ")", ")", ";", "return", "true", ";", "}", ""], "natrual_language": ["runOnMachineFunction", "-", "Emit", "the", "function", "body", "."], "TS_V_token": ["JVM", "JVM", "JVM", "JVM", "\"\\n******** JVM Extend Fixups ********\\n\""], "File": "JVMPreAllocationFixups", "Func": "runOnMachineFunction", "Target": "JVM", "Target_Clf": "Virtual ISA", "Compiler_Type": "LLVM", "Idx": 12539, "Length": 96}
{"ground_truth": ["", "void", "JVMRegisterInfo", "::", "eliminateFrameIndex", "(", "MachineBasicBlock", "::", "iterator", "II", ",", "int", "SPAdj", ",", "unsigned", "FIOperandNum", ",", "RegScavenger", "*", ")", "const", "{", "}", ""], "natrual_language": ["This", "method", "must", "be", "overriden", "to", "eliminate", "abstract", "frame", "indices", "from", "instructions", "which", "may", "use", "them", "."], "TS_V_token": ["JVM", "JVM"], "File": "JVMRegisterInfo", "Func": "eliminateFrameIndex", "Target": "JVM", "Target_Clf": "Virtual ISA", "Compiler_Type": "LLVM", "Idx": 12540, "Length": 22}
{"ground_truth": ["", "const", "MCPhysReg", "*", "JVMRegisterInfo", "::", "getCalleeSavedRegs", "(", "const", "MachineFunction", "*", ")", "const", "{", "static", "const", "MCPhysReg", "CalleeSavedRegs", "[", "]", "=", "{", "0", "}", ";", "return", "CalleeSavedRegs", ";", "}", ""], "natrual_language": ["Code", "Generation", "virtual", "methods", "..."], "TS_V_token": ["JVM", "JVM", "0"], "File": "JVMRegisterInfo", "Func": "getCalleeSavedRegs", "Target": "JVM", "Target_Clf": "Virtual ISA", "Compiler_Type": "LLVM", "Idx": 12541, "Length": 28}
{"ground_truth": ["", "unsigned", "JVMRegisterInfo", "::", "getFrameRegister", "(", "const", "MachineFunction", "&", "MF", ")", "const", "{", "return", "0", ";", "}", ""], "natrual_language": ["Debug", "information", "queries", "."], "TS_V_token": ["JVM", "JVM", "0"], "File": "JVMRegisterInfo", "Func": "getFrameRegister", "Target": "JVM", "Target_Clf": "Virtual ISA", "Compiler_Type": "LLVM", "Idx": 12542, "Length": 16}
{"ground_truth": ["", "const", "TargetRegisterClass", "*", "JVMRegisterInfo", "::", "getPointerRegClass", "(", "const", "MachineFunction", "&", "MF", ",", "unsigned", "Kind", ")", "const", "{", "assert", "(", "Kind", "==", "0", "&&", "\"Only one kind of pointer on JVM\"", ")", ";", "if", "(", "MF", ".", "getSubtarget", "<", "JVMSubtarget", ">", "(", ")", ".", "hasAddr64", "(", ")", ")", "return", "&", "JVM", "::", "I64RegClass", ";", "return", "&", "JVM", "::", "I32RegClass", ";", "}", ""], "natrual_language": ["getPointerRegClass", "-", "Returns", "a", "TargetRegisterClass", "used", "for", "pointer", "values", "."], "TS_V_token": ["JVM", "JVM", "0", "\"Only one kind of pointer on JVM\"", "JVM", "JVM::I64RegClass", "JVM::I32RegClass"], "File": "JVMRegisterInfo", "Func": "getPointerRegClass", "Target": "JVM", "Target_Clf": "Virtual ISA", "Compiler_Type": "LLVM", "Idx": 12543, "Length": 54}
{"ground_truth": ["", "BitVector", "JVMRegisterInfo", "::", "getReservedRegs", "(", "const", "MachineFunction", "&", "MF", ")", "const", "{", "BitVector", "resRegs", "(", "getNumRegs", "(", ")", ")", ";", "return", "resRegs", ".", "set", "(", ")", ";", "}", ""], "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": ["JVM", "JVM"], "File": "JVMRegisterInfo", "Func": "getReservedRegs", "Target": "JVM", "Target_Clf": "Virtual ISA", "Compiler_Type": "LLVM", "Idx": 12544, "Length": 28}
{"ground_truth": ["", "bool", "JVMSubtarget", "::", "enableMachineScheduler", "(", ")", "const", "{", "return", "false", ";", "}", ""], "natrual_language": ["Enable", "the", "MachineScheduler", "pass", "for", "all", "X86", "subtargets", "."], "TS_V_token": ["JVM", "JVM"], "File": "JVMSubtarget", "Func": "enableMachineScheduler", "Target": "JVM", "Target_Clf": "Virtual ISA", "Compiler_Type": "LLVM", "Idx": 12545, "Length": 12}
{"ground_truth": ["", "const", "JVMInstrInfo", "*", "getInstrInfo", "(", ")", "const", "override", "{", "return", "&", "InstrInfo", ";", "}", ""], "natrual_language": ["TargetInstrInfo", "getter", "."], "TS_V_token": ["JVM", "JVM"], "File": "JVMSubtarget", "Func": "getInstrInfo", "Target": "JVM", "Target_Clf": "Virtual ISA", "Compiler_Type": "LLVM", "Idx": 12546, "Length": 14}
{"ground_truth": ["", "const", "JVMRegisterInfo", "*", "getRegisterInfo", "(", ")", "const", "override", "{", "return", "&", "getInstrInfo", "(", ")", "->", "getRegisterInfo", "(", ")", ";", "}", ""], "natrual_language": ["getRegisterInfo", "-", "TargetInstrInfo", "is", "a", "superset", "of", "MRegister", "info", "."], "TS_V_token": ["JVM", "JVM"], "File": "JVMSubtarget", "Func": "getRegisterInfo", "Target": "JVM", "Target_Clf": "Virtual ISA", "Compiler_Type": "LLVM", "Idx": 12547, "Length": 20}
{"ground_truth": ["", "const", "Triple", "&", "getTargetTriple", "(", ")", "const", "{", "return", "TargetTriple", ";", "}", ""], "natrual_language": ["Get", "the", "target", "triple", "which", "is", "a", "string", "describing", "the", "target", "host", "."], "TS_V_token": ["JVM"], "File": "JVMSubtarget", "Func": "getTargetTriple", "Target": "JVM", "Target_Clf": "Virtual ISA", "Compiler_Type": "LLVM", "Idx": 12548, "Length": 12}
{"ground_truth": ["", "JVMSubtarget", "&", "JVMSubtarget", "::", "initializeSubtargetDependencies", "(", "StringRef", "FS", ")", "{", "if", "(", "CPUString", ".", "empty", "(", ")", ")", "CPUString", "=", "\"jvm\"", ";", "return", "*", "this", ";", "}", ""], "natrual_language": ["initializeSubtargetDependencies", "-", "Initializes", "using", "a", "CPU", ",", "a", "TuneCPU", ",", "and", "feature", "string", "so", "that", "we", "can", "use", "initializer", "lists", "for", "subtarget", "initialization", "."], "TS_V_token": ["JVM", "JVM", "JVM", "\"jvm\""], "File": "JVMSubtarget", "Func": "initializeSubtargetDependencies", "Target": "JVM", "Target_Clf": "Virtual ISA", "Compiler_Type": "LLVM", "Idx": 12549, "Length": 27}
{"ground_truth": ["", "bool", "JVMSubtarget", "::", "useAA", "(", ")", "const", "{", "return", "true", ";", "}", ""], "natrual_language": ["Enable", "use", "of", "alias", "analysis", "during", "code", "generation", "(", "during", "MI", "scheduling", ",", "DAGCombine", ",", "etc", ".", ")", "."], "TS_V_token": ["JVM", "JVM"], "File": "JVMSubtarget", "Func": "useAA", "Target": "JVM", "Target_Clf": "Virtual ISA", "Compiler_Type": "LLVM", "Idx": 12550, "Length": 12}
{"ground_truth": ["", "void", "JVMPassConfig", "::", "addCodeGenPrepare", "(", ")", "{", "}", ""], "natrual_language": ["Add", "pass", "to", "prepare", "the", "LLVM", "IR", "for", "code", "generation", "."], "TS_V_token": ["JVM", "JVM"], "File": "JVMTargetMachine", "Func": "addCodeGenPrepare", "Target": "JVM", "Target_Clf": "Virtual ISA", "Compiler_Type": "LLVM", "Idx": 12551, "Length": 8}
{"ground_truth": ["", "bool", "addGCPasses", "(", ")", "override", "{", "return", "false", ";", "}", ""], "natrual_language": ["addGCPasses", "-", "Add", "late", "codegen", "passes", "that", "analyze", "code", "for", "garbage", "collection", "."], "TS_V_token": ["JVM"], "File": "JVMTargetMachine", "Func": "addGCPasses", "Target": "JVM", "Target_Clf": "Virtual ISA", "Compiler_Type": "LLVM", "Idx": 12552, "Length": 10}
{"ground_truth": ["", "bool", "JVMPassConfig", "::", "addInstSelector", "(", ")", "{", "(", "void", ")", "TargetPassConfig", "::", "addInstSelector", "(", ")", ";", "addPass", "(", "createJVMISelDag", "(", "getJVMTargetMachine", "(", ")", ",", "getOptLevel", "(", ")", ")", ")", ";", "return", "false", ";", "}", ""], "natrual_language": ["addInstSelector", "-", "This", "method", "should", "install", "an", "instruction", "selector", "pass", ",", "which", "converts", "from", "LLVM", "code", "to", "machine", "instructions", "."], "TS_V_token": ["JVM", "JVM", "JVM", "JVM"], "File": "JVMTargetMachine", "Func": "addInstSelector", "Target": "JVM", "Target_Clf": "Virtual ISA", "Compiler_Type": "LLVM", "Idx": 12553, "Length": 34}
{"ground_truth": ["", "void", "JVMPassConfig", "::", "addIRPasses", "(", ")", "{", "TargetPassConfig", "::", "addIRPasses", "(", ")", ";", "addPass", "(", "createJVMLowerMemoryIntrinsics", "(", ")", ")", ";", "addPass", "(", "createAggressiveDCEPass", "(", ")", ")", ";", "if", "(", "JvmAggOpt", ")", "addPass", "(", "createInstructionCombiningPass", "(", ")", ")", ";", "addPass", "(", "createJVMIRDecorator", "(", ")", ")", ";", "addPass", "(", "createAggressiveDCEPass", "(", ")", ")", ";", "if", "(", "JvmAggOpt", ")", "addPass", "(", "createInstructionCombiningPass", "(", ")", ")", ";", "if", "(", "JvmClient", ")", "addPass", "(", "createX2JavaPass", "(", ")", ")", ";", "}", ""], "natrual_language": ["Add", "common", "target", "configurable", "passes", "that", "perform", "LLVM", "IR", "to", "IR", "transforms", "following", "machine", "independent", "optimization", "."], "TS_V_token": ["JVM", "JVM", "JVM", "JVM"], "File": "JVMTargetMachine", "Func": "addIRPasses", "Target": "JVM", "Target_Clf": "Virtual ISA", "Compiler_Type": "LLVM", "Idx": 12554, "Length": 75}
{"ground_truth": ["", "void", "JVMPassConfig", "::", "addMachinePasses", "(", ")", "{", "addPass", "(", "&", "PHIEliminationID", ",", "false", ")", ";", "addPass", "(", "createJVMPreAllocationFixups", "(", ")", ")", ";", "addPass", "(", "createJVMCopyElision", "(", ")", ")", ";", "addPreEmitPass", "(", ")", ";", "}", ""], "natrual_language": ["Add", "the", "complete", ",", "standard", "set", "of", "LLVM", "CodeGen", "passes", "."], "TS_V_token": ["JVM", "JVM", "JVM", "JVM"], "File": "JVMTargetMachine", "Func": "addMachinePasses", "Target": "JVM", "Target_Clf": "Virtual ISA", "Compiler_Type": "LLVM", "Idx": 12555, "Length": 34}
{"ground_truth": ["", "void", "JVMPassConfig", "::", "addOptimizedRegAlloc", "(", "FunctionPass", "*", "RegAllocPass", ")", "{", "disablePass", "(", "&", "RegisterCoalescerID", ")", ";", "TargetPassConfig", "::", "addOptimizedRegAlloc", "(", "RegAllocPass", ")", ";", "}", ""], "natrual_language": ["addOptimizedRegAlloc", "-", "Add", "passes", "related", "to", "register", "allocation", "."], "TS_V_token": ["JVM", "JVM"], "File": "JVMTargetMachine", "Func": "addOptimizedRegAlloc", "Target": "JVM", "Target_Clf": "Virtual ISA", "Compiler_Type": "LLVM", "Idx": 12556, "Length": 24}
{"ground_truth": ["", "void", "JVMPassConfig", "::", "addPostRegAlloc", "(", ")", "{", "disablePass", "(", "&", "ShrinkWrapID", ")", ";", "disablePass", "(", "&", "MachineCopyPropagationID", ")", ";", "disablePass", "(", "&", "PostRASchedulerID", ")", ";", "disablePass", "(", "&", "FuncletLayoutID", ")", ";", "disablePass", "(", "&", "StackMapLivenessID", ")", ";", "disablePass", "(", "&", "LiveDebugValuesID", ")", ";", "disablePass", "(", "&", "PatchableFunctionID", ")", ";", "disablePass", "(", "&", "PrologEpilogCodeInserterID", ")", ";", "TargetPassConfig", "::", "addPostRegAlloc", "(", ")", ";", "}", ""], "natrual_language": ["This", "method", "may", "be", "implemented", "by", "targets", "that", "want", "to", "run", "passes", "after", "register", "allocation", "pass", "pipeline", "but", "before", "prolog-epilog", "insertion", "."], "TS_V_token": ["JVM", "JVM"], "File": "JVMTargetMachine", "Func": "addPostRegAlloc", "Target": "JVM", "Target_Clf": "Virtual ISA", "Compiler_Type": "LLVM", "Idx": 12557, "Length": 62}
{"ground_truth": ["", "void", "JVMPassConfig", "::", "addPreEmitPass", "(", ")", "{", "TargetPassConfig", "::", "addPreEmitPass", "(", ")", ";", "if", "(", "JvmLSOpt", ")", "addPass", "(", "createJVMLoadStoreEliminationOpt", "(", ")", ")", ";", "addPass", "(", "createJVMOffsetAllocator", "(", ")", ")", ";", "addPass", "(", "createJVMPostAllocationFixups", "(", ")", ")", ";", "}", ""], "natrual_language": ["This", "pass", "may", "be", "implemented", "by", "targets", "that", "want", "to", "run", "passes", "immediately", "before", "machine", "code", "is", "emitted", "."], "TS_V_token": ["JVM", "JVM", "JVM", "JVM", "JVM"], "File": "JVMTargetMachine", "Func": "addPreEmitPass", "Target": "JVM", "Target_Clf": "Virtual ISA", "Compiler_Type": "LLVM", "Idx": 12558, "Length": 39}
{"ground_truth": ["", "TargetPassConfig", "*", "JVMTargetMachine", "::", "createPassConfig", "(", "PassManagerBase", "&", "PM", ")", "{", "return", "new", "JVMPassConfig", "(", "*", "this", ",", "PM", ")", ";", "}", ""], "natrual_language": ["Create", "a", "pass", "configuration", "object", "to", "be", "used", "by", "addPassToEmitX", "methods", "for", "generating", "a", "pipeline", "of", "CodeGen", "passes", "."], "TS_V_token": ["JVM", "JVM", "JVM"], "File": "JVMTargetMachine", "Func": "createPassConfig", "Target": "JVM", "Target_Clf": "Virtual ISA", "Compiler_Type": "LLVM", "Idx": 12559, "Length": 22}
{"ground_truth": ["", "FunctionPass", "*", "JVMPassConfig", "::", "createTargetRegisterAllocator", "(", "bool", ")", "{", "return", "nullptr", ";", "}", ""], "natrual_language": ["createTargetRegisterAllocator", "-", "Create", "the", "register", "allocator", "pass", "for", "this", "target", "at", "the", "current", "optimization", "level", "."], "TS_V_token": ["JVM", "JVM"], "File": "JVMTargetMachine", "Func": "createTargetRegisterAllocator", "Target": "JVM", "Target_Clf": "Virtual ISA", "Compiler_Type": "LLVM", "Idx": 12560, "Length": 13}
{"ground_truth": ["", "TargetLoweringObjectFile", "*", "getObjFileLowering", "(", ")", "const", "override", "{", "return", "TLOF", ".", "get", "(", ")", ";", "}", ""], "natrual_language": ["Return", "information", "about", "object", "file", "lowering", "."], "TS_V_token": ["JVM"], "File": "JVMTargetMachine", "Func": "getObjFileLowering", "Target": "JVM", "Target_Clf": "Virtual ISA", "Compiler_Type": "LLVM", "Idx": 12561, "Length": 16}
{"ground_truth": ["", "const", "JVMSubtarget", "*", "JVMTargetMachine", "::", "getSubtargetImpl", "(", "const", "Function", "&", "F", ")", "const", "{", "Attribute", "CPUAttr", "=", "F", ".", "getFnAttribute", "(", "\"target-cpu\"", ")", ";", "Attribute", "FSAttr", "=", "F", ".", "getFnAttribute", "(", "\"target-features\"", ")", ";", "std", "::", "string", "CPU", "=", "!", "CPUAttr", ".", "hasAttribute", "(", "Attribute", "::", "None", ")", "?", "CPUAttr", ".", "getValueAsString", "(", ")", ".", "str", "(", ")", ":", "TargetCPU", ";", "std", "::", "string", "FS", "=", "!", "FSAttr", ".", "hasAttribute", "(", "Attribute", "::", "None", ")", "?", "FSAttr", ".", "getValueAsString", "(", ")", ".", "str", "(", ")", ":", "TargetFS", ";", "auto", "&", "I", "=", "SubtargetMap", "[", "CPU", "+", "FS", "]", ";", "if", "(", "!", "I", ")", "{", "resetTargetOptions", "(", "F", ")", ";", "I", "=", "llvm", "::", "make_unique", "<", "JVMSubtarget", ">", "(", "TargetTriple", ",", "CPU", ",", "FS", ",", "*", "this", ")", ";", "}", "return", "I", ".", "get", "(", ")", ";", "}", ""], "natrual_language": ["Virtual", "method", "implemented", "by", "subclasses", "that", "returns", "a", "reference", "to", "that", "target", "'s", "TargetSubtargetInfo-derived", "member", "variable", "."], "TS_V_token": ["JVM", "JVM", "JVM", "\"target-cpu\"", "\"target-features\"", "JVM"], "File": "JVMTargetMachine", "Func": "getSubtargetImpl", "Target": "JVM", "Target_Clf": "Virtual ISA", "Compiler_Type": "LLVM", "Idx": 12562, "Length": 138}
{"ground_truth": ["", "void", "JVMTargetObjectFile", "::", "Initialize", "(", "MCContext", "&", "Ctx", ",", "const", "TargetMachine", "&", "TM", ")", "{", "TargetLoweringObjectFileELF", "::", "Initialize", "(", "Ctx", ",", "TM", ")", ";", "InitializeELF", "(", "TM", ".", "Options", ".", "UseInitArray", ")", ";", "}", ""], "natrual_language": ["This", "method", "must", "be", "called", "before", "any", "actual", "lowering", "is", "done", "."], "TS_V_token": ["JVM", "JVM"], "File": "JVMTargetObjectFile", "Func": "Initialize", "Target": "JVM", "Target_Clf": "Virtual ISA", "Compiler_Type": "LLVM", "Idx": 12563, "Length": 34}
{"ground_truth": ["", "void", "changeSection", "(", "const", "MCSection", "*", "CurSection", ",", "MCSection", "*", "Section", ",", "const", "MCExpr", "*", "SubSection", ",", "raw_ostream", "&", "OS", ")", "override", "{", "}", ""], "natrual_language": ["Update", "streamer", "for", "a", "new", "active", "section", "."], "TS_V_token": ["JVM"], "File": "JVMTargetStreamer", "Func": "changeSection", "Target": "JVM", "Target_Clf": "Virtual ISA", "Compiler_Type": "LLVM", "Idx": 12564, "Length": 24}
{"ground_truth": ["", "void", "flush", "(", ")", "{", "OS", ".", "flush", "(", ")", ";", "}", ""], "natrual_language": ["Flush", "the", "updater", "state", "to", "LR", "so", "it", "is", "valid", "and", "contains", "all", "added", "segments", "."], "TS_V_token": ["JVM"], "File": "JVMTargetStreamer", "Func": "flush", "Target": "JVM", "Target_Clf": "Virtual ISA", "Compiler_Type": "LLVM", "Idx": 12565, "Length": 12}
{"ground_truth": ["", "iterator", "begin", "(", ")", "{", "return", "Blocks", ".", "rbegin", "(", ")", ";", "}", ""], "natrual_language": ["Recipe", "iterator", "methods", "."], "TS_V_token": ["JVM"], "File": "JVMX2Java", "Func": "begin", "Target": "JVM", "Target_Clf": "Virtual ISA", "Compiler_Type": "LLVM", "Idx": 12566, "Length": 13}
{"ground_truth": ["", "iterator", "end", "(", ")", "{", "return", "Blocks", ".", "rend", "(", ")", ";", "}", ""], "natrual_language": ["Get", "a", "const_iterator", "to", "the", "end", "of", "the", "symbol", "table", "."], "TS_V_token": ["JVM"], "File": "JVMX2Java", "Func": "end", "Target": "JVM", "Target_Clf": "Virtual ISA", "Compiler_Type": "LLVM", "Idx": 12567, "Length": 13}
{"ground_truth": ["", "void", "getAnalysisUsage", "(", "AnalysisUsage", "&", "AU", ")", "const", "override", "{", "AU", ".", "setPreservesAll", "(", ")", ";", "}", ""], "natrual_language": ["getAnalysisUsage", "-", "Subclasses", "that", "override", "getAnalysisUsage", "must", "call", "this", "."], "TS_V_token": ["JVM"], "File": "JVMX2Java", "Func": "getAnalysisUsage", "Target": "JVM", "Target_Clf": "Virtual ISA", "Compiler_Type": "LLVM", "Idx": 12568, "Length": 17}
{"ground_truth": ["", "bool", "runOnFunction", "(", "Function", "&", "F", ")", "override", "{", "std", "::", "string", "Code", ";", "raw_string_ostream", "OS", "(", "Code", ")", ";", "Func", "=", "&", "F", ";", "return", "GenJavaClass", "(", "OS", ")", ";", "}", ""], "natrual_language": ["runOnFunction", "-", "Virtual", "method", "overriden", "by", "subclasses", "to", "do", "the", "per-function", "processing", "of", "the", "pass", "."], "TS_V_token": ["JVM"], "File": "JVMX2Java", "Func": "runOnFunction", "Target": "JVM", "Target_Clf": "Virtual ISA", "Compiler_Type": "LLVM", "Idx": 12569, "Length": 32}
{"ground_truth": ["", "void", "setFunction", "(", "Function", "&", "Func", ")", "{", "F", "=", "&", "Func", ";", "}", ""], "natrual_language": ["Initialize", "data", "structures", "for", "specified", "new", "function", "."], "TS_V_token": ["JVM"], "File": "JVMX2Java", "Func": "setFunction", "Target": "JVM", "Target_Clf": "Virtual ISA", "Compiler_Type": "LLVM", "Idx": 12570, "Length": 14}