{"ground_truth": ["", "void", "DLXAsmBackend", "::", "applyFixup", "(", "const", "MCAssembler", "&", "Asm", ",", "const", "MCFixup", "&", "Fixup", ",", "const", "MCValue", "&", "Target", ",", "MutableArrayRef", "<", "char", ">", "Data", ",", "uint64_t", "Value", ",", "bool", ",", "const", "MCSubtargetInfo", "*", ")", "const", "{", "MCFixupKind", "Kind", "=", "Fixup", ".", "getKind", "(", ")", ";", "Value", "=", "adjustFixupValue", "(", "static_cast", "<", "unsigned", ">", "(", "Kind", ")", ",", "Value", ")", ";", "if", "(", "!", "Value", ")", "return", ";", "unsigned", "Offset", "=", "Fixup", ".", "getOffset", "(", ")", ";", "unsigned", "NumBytes", "=", "(", "getFixupKindInfo", "(", "Kind", ")", ".", "TargetSize", "+", "7", ")", "/", "8", ";", "unsigned", "FullSize", "=", "4", ";", "uint64_t", "CurVal", "=", "0", ";", "for", "(", "unsigned", "i", "=", "0", ";", "i", "!=", "NumBytes", ";", "++", "i", ")", "{", "unsigned", "Idx", "=", "(", "FullSize", "-", "1", "-", "i", ")", ";", "CurVal", "|=", "static_cast", "<", "uint64_t", ">", "(", "static_cast", "<", "uint8_t", ">", "(", "Data", "[", "Offset", "+", "Idx", "]", ")", ")", "<<", "(", "i", "*", "8", ")", ";", "}", "uint64_t", "Mask", "=", "(", "static_cast", "<", "uint64_t", ">", "(", "-", "1", ")", ">>", "(", "64", "-", "getFixupKindInfo", "(", "Kind", ")", ".", "TargetSize", ")", ")", ";", "CurVal", "|=", "Value", "&", "Mask", ";", "for", "(", "unsigned", "i", "=", "0", ";", "i", "!=", "NumBytes", ";", "++", "i", ")", "{", "unsigned", "Idx", "=", "(", "FullSize", "-", "1", "-", "i", ")", ";", "Data", "[", "Offset", "+", "Idx", "]", "=", "static_cast", "<", "uint8_t", ">", "(", "(", "CurVal", ">>", "(", "i", "*", "8", ")", ")", "&", "0xff", ")", ";", "}", "}", ""], "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": ["DLX", "DLX", "7", "8", "4", "0", "0", "1", "8", "1", "64", "0", "1", "8", "0xff"], "File": "DLXAsmBackend", "Func": "applyFixup", "Target": "DLX", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 12667, "Length": 241} {"ground_truth": ["", "bool", "fixupNeedsRelaxation", "(", "const", "MCFixup", "&", ",", "uint64_t", ",", "const", "MCRelaxableFragment", "*", ",", "const", "MCAsmLayout", "&", ")", "const", "override", "{", "return", "false", ";", "}", ""], "natrual_language": ["Simple", "predicate", "for", "targets", "where", "!", "Resolved", "implies", "requiring", "relaxation", "."], "TS_V_token": ["DLX"], "File": "DLXAsmBackend", "Func": "fixupNeedsRelaxation", "Target": "DLX", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 12668, "Length": 24} {"ground_truth": ["", "const", "MCFixupKindInfo", "&", "DLXAsmBackend", "::", "getFixupKindInfo", "(", "MCFixupKind", "Kind", ")", "const", "{", "static", "const", "MCFixupKindInfo", "Infos", "[", "DLX", "::", "NumTargetFixupKinds", "]", "=", "{", "{", "\"FIXUP_DLX_NONE\"", ",", "0", ",", "32", ",", "0", "}", ",", "{", "\"FIXUP_DLX_21\"", ",", "16", ",", "16", ",", "0", "}", ",", "{", "\"FIXUP_DLX_21_F\"", ",", "16", ",", "16", ",", "0", "}", ",", "{", "\"FIXUP_DLX_25\"", ",", "7", ",", "25", ",", "0", "}", ",", "{", "\"FIXUP_DLX_32\"", ",", "0", ",", "32", ",", "0", "}", ",", "{", "\"FIXUP_DLX_HI16\"", ",", "16", ",", "16", ",", "0", "}", ",", "{", "\"FIXUP_DLX_LO16\"", ",", "16", ",", "16", ",", "0", "}", "}", ";", "if", "(", "Kind", "<", "FirstTargetFixupKind", ")", "return", "MCAsmBackend", "::", "getFixupKindInfo", "(", "Kind", ")", ";", "assert", "(", "unsigned", "(", "Kind", "-", "FirstTargetFixupKind", ")", "<", "getNumFixupKinds", "(", ")", "&&", "\"Invalid kind!\"", ")", ";", "return", "Infos", "[", "Kind", "-", "FirstTargetFixupKind", "]", ";", "}", ""], "natrual_language": ["Get", "information", "on", "a", "fixup", "kind", "."], "TS_V_token": ["DLX", "DLX", "DLX::NumTargetFixupKinds", "\"FIXUP_DLX_NONE\"", "0", "32", "0", "\"FIXUP_DLX_21\"", "16", "16", "0", "\"FIXUP_DLX_21_F\"", "16", "16", "0", "\"FIXUP_DLX_25\"", "7", "25", "0", "\"FIXUP_DLX_32\"", "0", "32", "0", "\"FIXUP_DLX_HI16\"", "16", "16", "0", "\"FIXUP_DLX_LO16\"", "16", "16", "0", "\"Invalid kind!\""], "File": "DLXAsmBackend", "Func": "getFixupKindInfo", "Target": "DLX", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 12669, "Length": 133} {"ground_truth": ["", "unsigned", "getNumFixupKinds", "(", ")", "const", "override", "{", "return", "DLX", "::", "NumTargetFixupKinds", ";", "}", ""], "natrual_language": ["Get", "the", "number", "of", "target", "specific", "fixup", "kinds", "."], "TS_V_token": ["DLX", "DLX::NumTargetFixupKinds"], "File": "DLXAsmBackend", "Func": "getNumFixupKinds", "Target": "DLX", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 12670, "Length": 13} {"ground_truth": ["", "bool", "mayNeedRelaxation", "(", "const", "MCInst", "&", ",", "const", "MCSubtargetInfo", "&", "STI", ")", "const", "override", "{", "return", "false", ";", "}", ""], "natrual_language": ["Check", "whether", "the", "given", "instruction", "may", "need", "relaxation", "."], "TS_V_token": ["DLX"], "File": "DLXAsmBackend", "Func": "mayNeedRelaxation", "Target": "DLX", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 12671, "Length": 19} {"ground_truth": ["", "void", "relaxInstruction", "(", "const", "MCInst", "&", ",", "const", "MCSubtargetInfo", "&", ",", "MCInst", "&", ")", "const", "override", "{", "}", ""], "natrual_language": ["Relax", "the", "instruction", "in", "the", "given", "fragment", "to", "the", "next", "wider", "instruction", "."], "TS_V_token": ["DLX"], "File": "DLXAsmBackend", "Func": "relaxInstruction", "Target": "DLX", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 12672, "Length": 18} {"ground_truth": ["", "bool", "DLXAsmBackend", "::", "writeNopData", "(", "raw_ostream", "&", "OS", ",", "uint64_t", "Count", ")", "const", "{", "if", "(", "(", "Count", "%", "4", ")", "!=", "0", ")", "return", "false", ";", "for", "(", "uint64_t", "i", "=", "0", ";", "i", "<", "Count", ";", "i", "+=", "4", ")", "OS", ".", "write", "(", "\"\\x15\\0\\0\\0\"", ",", "4", ")", ";", "return", "true", ";", "}", ""], "natrual_language": ["Write", "an", "(", "optimal", ")", "nop", "sequence", "of", "Count", "bytes", "to", "the", "given", "output", "."], "TS_V_token": ["DLX", "DLX", "4", "0", "0", "4", "\"\\x15\\0\\0\\0\"", "4"], "File": "DLXAsmBackend", "Func": "writeNopData", "Target": "DLX", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 12673, "Length": 55} {"ground_truth": ["", "void", "addExpr", "(", "MCInst", "&", "Inst", ",", "const", "MCExpr", "*", "Expr", ")", "const", "{", "if", "(", "Expr", "==", "nullptr", ")", "Inst", ".", "addOperand", "(", "MCOperand", "::", "createImm", "(", "0", ")", ")", ";", "else", "if", "(", "const", "MCConstantExpr", "*", "ConstExpr", "=", "dyn_cast", "<", "MCConstantExpr", ">", "(", "Expr", ")", ")", "Inst", ".", "addOperand", "(", "MCOperand", "::", "createImm", "(", "static_cast", "<", "int32_t", ">", "(", "ConstExpr", "->", "getValue", "(", ")", ")", ")", ")", ";", "else", "Inst", ".", "addOperand", "(", "MCOperand", "::", "createExpr", "(", "Expr", ")", ")", ";", "}", ""], "natrual_language": ["Add", "a", "new", "MCExpr", "operand", "."], "TS_V_token": ["DLX", "0"], "File": "DLXAsmParser", "Func": "addExpr", "Target": "DLX", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 12674, "Length": 84} {"ground_truth": ["", "SMLoc", "getEndLoc", "(", ")", "const", "override", "{", "return", "EndLoc", ";", "}", ""], "natrual_language": ["getEndLoc", "-", "Get", "the", "location", "of", "the", "last", "token", "of", "this", "operand", "."], "TS_V_token": ["DLX"], "File": "DLXAsmParser", "Func": "getEndLoc", "Target": "DLX", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 12675, "Length": 11} {"ground_truth": ["", "unsigned", "getReg", "(", ")", "const", "override", "{", "assert", "(", "isReg", "(", ")", "&&", "\"Invalid type access!\"", ")", ";", "return", "Reg", ".", "RegNum", ";", "}", ""], "natrual_language": ["Returns", "the", "register", "associated", "with", "this", "edge", "."], "TS_V_token": ["DLX", "\"Invalid type access!\""], "File": "DLXAsmParser", "Func": "getReg", "Target": "DLX", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 12676, "Length": 22} {"ground_truth": ["", "SMLoc", "getStartLoc", "(", ")", "const", "override", "{", "return", "StartLoc", ";", "}", ""], "natrual_language": ["getStartLoc", "-", "Get", "the", "location", "of", "the", "first", "token", "of", "this", "operand", "."], "TS_V_token": ["DLX"], "File": "DLXAsmParser", "Func": "getStartLoc", "Target": "DLX", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 12677, "Length": 11} {"ground_truth": ["", "bool", "isImm", "(", ")", "const", "override", "{", "return", "Kind", "==", "IMMEDIATE", ";", "}", ""], "natrual_language": ["isImm", "-", "Is", "this", "an", "immediate", "operand", "?"], "TS_V_token": ["DLX"], "File": "DLXAsmParser", "Func": "isImm", "Target": "DLX", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 12678, "Length": 13} {"ground_truth": ["", "bool", "isMem", "(", ")", "const", "override", "{", "return", "isMemImm", "(", ")", "||", "isMemRegImm", "(", ")", "||", "isMemRegReg", "(", ")", ";", "}", ""], "natrual_language": ["isMem", "-", "Is", "this", "a", "memory", "operand", "?"], "TS_V_token": ["DLX"], "File": "DLXAsmParser", "Func": "isMem", "Target": "DLX", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 12679, "Length": 21} {"ground_truth": ["", "bool", "isReg", "(", ")", "const", "override", "{", "return", "Kind", "==", "REGISTER", ";", "}", ""], "natrual_language": ["isReg", "-", "Is", "this", "a", "register", "operand", "?"], "TS_V_token": ["DLX"], "File": "DLXAsmParser", "Func": "isReg", "Target": "DLX", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 12680, "Length": 13} {"ground_truth": ["", "bool", "isToken", "(", ")", "const", "override", "{", "return", "Kind", "==", "TOKEN", ";", "}", ""], "natrual_language": ["isToken", "-", "Is", "this", "a", "token", "operand", "?"], "TS_V_token": ["DLX"], "File": "DLXAsmParser", "Func": "isToken", "Target": "DLX", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 12681, "Length": 13} {"ground_truth": ["", "bool", "DLXAsmParser", "::", "MatchAndEmitInstruction", "(", "SMLoc", "IdLoc", ",", "unsigned", "&", "Opcode", ",", "OperandVector", "&", "Operands", ",", "MCStreamer", "&", "Out", ",", "uint64_t", "&", "ErrorInfo", ",", "bool", "MatchingInlineAsm", ")", "{", "MCInst", "Inst", ";", "SMLoc", "ErrorLoc", ";", "switch", "(", "MatchInstructionImpl", "(", "Operands", ",", "Inst", ",", "ErrorInfo", ",", "MatchingInlineAsm", ")", ")", "{", "case", "Match_Success", ":", "Out", ".", "EmitInstruction", "(", "Inst", ",", "SubtargetInfo", ")", ";", "Opcode", "=", "Inst", ".", "getOpcode", "(", ")", ";", "return", "false", ";", "case", "Match_MissingFeature", ":", "return", "Error", "(", "IdLoc", ",", "\"Instruction use requires option to be enabled\"", ")", ";", "case", "Match_MnemonicFail", ":", "return", "Error", "(", "IdLoc", ",", "\"Unrecognized instruction mnemonic\"", ")", ";", "case", "Match_InvalidOperand", ":", "{", "ErrorLoc", "=", "IdLoc", ";", "if", "(", "ErrorInfo", "!=", "~", "0U", ")", "{", "if", "(", "ErrorInfo", ">=", "Operands", ".", "size", "(", ")", ")", "return", "Error", "(", "IdLoc", ",", "\"Too few operands for instruction\"", ")", ";", "ErrorLoc", "=", "(", "(", "DLXOperand", "&", ")", "*", "Operands", "[", "ErrorInfo", "]", ")", ".", "getStartLoc", "(", ")", ";", "if", "(", "ErrorLoc", "==", "SMLoc", "(", ")", ")", "ErrorLoc", "=", "IdLoc", ";", "}", "return", "Error", "(", "ErrorLoc", ",", "\"Invalid operand for instruction\"", ")", ";", "}", "default", ":", "break", ";", "}", "llvm_unreachable", "(", "\"Unknown match type detected!\"", ")", ";", "}", ""], "natrual_language": ["MatchAndEmitInstruction", "-", "Recognize", "a", "series", "of", "operands", "of", "a", "parsed", "instruction", "as", "an", "actual", "MCInst", "and", "emit", "it", "to", "the", "specified", "MCStreamer", "."], "TS_V_token": ["DLX", "DLX", "\"Instruction use requires option to be enabled\"", "\"Unrecognized instruction mnemonic\"", "0U", "\"Too few operands for instruction\"", "DLX", "\"Invalid operand for instruction\"", "\"Unknown match type detected!\""], "File": "DLXAsmParser", "Func": "MatchAndEmitInstruction", "Target": "DLX", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 12682, "Length": 178} {"ground_truth": ["", "bool", "DLXAsmParser", "::", "ParseDirective", "(", "AsmToken", ")", "{", "return", "true", ";", "}", ""], "natrual_language": ["ParseDirective", "-", "Parse", "a", "target", "specific", "assembler", "directive", "This", "method", "is", "deprecated", ",", "use", "'parseDirective", "'", "instead", "."], "TS_V_token": ["DLX", "DLX"], "File": "DLXAsmParser", "Func": "ParseDirective", "Target": "DLX", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 12683, "Length": 12} {"ground_truth": ["", "std", "::", "unique_ptr", "<", "DLXOperand", ">", "DLXAsmParser", "::", "parseIdentifier", "(", ")", "{", "SMLoc", "Start", "=", "Parser", ".", "getTok", "(", ")", ".", "getLoc", "(", ")", ";", "SMLoc", "End", "=", "SMLoc", "::", "getFromPointer", "(", "Parser", ".", "getTok", "(", ")", ".", "getLoc", "(", ")", ".", "getPointer", "(", ")", "-", "1", ")", ";", "const", "MCExpr", "*", "Res", ",", "*", "RHS", "=", "nullptr", ";", "DLXMCExpr", "::", "VariantKind", "Kind", "=", "DLXMCExpr", "::", "VK_DLX_None", ";", "if", "(", "Lexer", ".", "getKind", "(", ")", "!=", "AsmToken", "::", "Identifier", ")", "return", "nullptr", ";", "StringRef", "Identifier", ";", "if", "(", "Parser", ".", "parseIdentifier", "(", "Identifier", ")", ")", "return", "nullptr", ";", "if", "(", "Identifier", ".", "equals_lower", "(", "\"hi\"", ")", ")", "Kind", "=", "DLXMCExpr", "::", "VK_DLX_ABS_HI", ";", "else", "if", "(", "Identifier", ".", "equals_lower", "(", "\"lo\"", ")", ")", "Kind", "=", "DLXMCExpr", "::", "VK_DLX_ABS_LO", ";", "if", "(", "Kind", "!=", "DLXMCExpr", "::", "VK_DLX_None", ")", "{", "if", "(", "Lexer", ".", "getKind", "(", ")", "!=", "AsmToken", "::", "LParen", ")", "{", "Error", "(", "Lexer", ".", "getLoc", "(", ")", ",", "\"Expected '('\"", ")", ";", "return", "nullptr", ";", "}", "Lexer", ".", "Lex", "(", ")", ";", "if", "(", "Parser", ".", "parseIdentifier", "(", "Identifier", ")", ")", "return", "nullptr", ";", "}", "if", "(", "Lexer", ".", "getKind", "(", ")", "==", "AsmToken", "::", "Plus", "&&", "Parser", ".", "parseExpression", "(", "RHS", ")", ")", "return", "nullptr", ";", "if", "(", "Kind", "!=", "DLXMCExpr", "::", "VK_DLX_None", ")", "{", "if", "(", "Lexer", ".", "getKind", "(", ")", "!=", "AsmToken", "::", "RParen", ")", "{", "Error", "(", "Lexer", ".", "getLoc", "(", ")", ",", "\"Expected ')'\"", ")", ";", "return", "nullptr", ";", "}", "Lexer", ".", "Lex", "(", ")", ";", "}", "End", "=", "SMLoc", "::", "getFromPointer", "(", "Parser", ".", "getTok", "(", ")", ".", "getLoc", "(", ")", ".", "getPointer", "(", ")", "-", "1", ")", ";", "MCSymbol", "*", "Sym", "=", "getContext", "(", ")", ".", "getOrCreateSymbol", "(", "Identifier", ")", ";", "const", "MCExpr", "*", "Expr", "=", "MCSymbolRefExpr", "::", "create", "(", "Sym", ",", "getContext", "(", ")", ")", ";", "Res", "=", "DLXMCExpr", "::", "create", "(", "Kind", ",", "Expr", ",", "getContext", "(", ")", ")", ";", "if", "(", "RHS", ")", "Res", "=", "MCBinaryExpr", "::", "createAdd", "(", "Res", ",", "RHS", ",", "getContext", "(", ")", ")", ";", "return", "DLXOperand", "::", "createImm", "(", "Res", ",", "Start", ",", "End", ")", ";", "}", ""], "natrual_language": ["Parse", "an", "identifier", "or", "string", "(", "as", "a", "quoted", "identifier", ")", "and", "set", "Res", "to", "the", "identifier", "contents", "."], "TS_V_token": ["DLX", "DLX", "DLX", "1", "DLX", "DLX", "DLX", "\"hi\"", "DLX", "DLX", "\"lo\"", "DLX", "DLX", "DLX", "DLX", "\"Expected '('\"", "DLX", "DLX", "\"Expected ')'\"", "1", "DLX", "DLXOperand::createImm"], "File": "DLXAsmParser", "Func": "parseIdentifier", "Target": "DLX", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 12684, "Length": 350} {"ground_truth": ["", "bool", "DLXAsmParser", "::", "ParseInstruction", "(", "ParseInstructionInfo", "&", ",", "StringRef", "Name", ",", "SMLoc", "NameLoc", ",", "OperandVector", "&", "Operands", ")", "{", "StringRef", "Mnemonic", "=", "splitMnemonic", "(", "Name", ",", "NameLoc", ",", "&", "Operands", ")", ";", "if", "(", "Lexer", ".", "is", "(", "AsmToken", "::", "EndOfStatement", ")", ")", "return", "false", ";", "if", "(", "parseOperand", "(", "&", "Operands", ",", "Mnemonic", ")", "!=", "MatchOperand_Success", ")", "return", "true", ";", "if", "(", "Lexer", ".", "is", "(", "AsmToken", "::", "EndOfStatement", ")", "&&", "Name", "==", "\"st\"", "&&", "Operands", ".", "size", "(", ")", "==", "2", ")", "{", "Operands", ".", "erase", "(", "Operands", ".", "begin", "(", ")", ",", "Operands", ".", "begin", "(", ")", "+", "1", ")", ";", "Operands", ".", "insert", "(", "Operands", ".", "begin", "(", ")", ",", "DLXOperand", "::", "CreateToken", "(", "\"s\"", ",", "NameLoc", ")", ")", ";", "Operands", ".", "insert", "(", "Operands", ".", "begin", "(", ")", "+", "1", ",", "DLXOperand", "::", "createImm", "(", "MCConstantExpr", "::", "create", "(", "LPCC", "::", "ICC_T", ",", "getContext", "(", ")", ")", ",", "NameLoc", ",", "NameLoc", ")", ")", ";", "}", "if", "(", "Lexer", ".", "is", "(", "AsmToken", "::", "EndOfStatement", ")", "&&", "Name", ".", "startswith", "(", "\"bt\"", ")", "&&", "Operands", ".", "size", "(", ")", "==", "3", ")", "{", "Operands", ".", "erase", "(", "Operands", ".", "begin", "(", ")", ",", "Operands", ".", "begin", "(", ")", "+", "2", ")", ";", "Operands", ".", "insert", "(", "Operands", ".", "begin", "(", ")", ",", "DLXOperand", "::", "CreateToken", "(", "\"bt\"", ",", "NameLoc", ")", ")", ";", "}", "while", "(", "Lexer", ".", "isNot", "(", "AsmToken", "::", "EndOfStatement", ")", "&&", "Lexer", ".", "is", "(", "AsmToken", "::", "Comma", ")", ")", "{", "Lex", "(", ")", ";", "if", "(", "parseOperand", "(", "&", "Operands", ",", "Mnemonic", ")", "!=", "MatchOperand_Success", ")", "return", "true", ";", "}", "if", "(", "IsMemoryAssignmentError", "(", "Operands", ")", ")", "{", "Error", "(", "Parser", ".", "getTok", "(", ")", ".", "getLoc", "(", ")", ",", "\"the destination register can't equal the base register in an \"", "\"instruction that modifies the base register.\"", ")", ";", "return", "true", ";", "}", "if", "(", "MaybePredicatedInst", "(", "Operands", ")", ")", "{", "Operands", ".", "insert", "(", "Operands", ".", "begin", "(", ")", "+", "1", ",", "DLXOperand", "::", "createImm", "(", "MCConstantExpr", "::", "create", "(", "LPCC", "::", "ICC_T", ",", "getContext", "(", ")", ")", ",", "NameLoc", ",", "NameLoc", ")", ")", ";", "}", "return", "false", ";", "}", ""], "natrual_language": ["ParseInstruction", "-", "Parse", "one", "assembly", "instruction", "."], "TS_V_token": ["DLX", "DLX", "\"st\"", "2", "1", "DLXOperand::CreateToken", "\"s\"", "1", "DLXOperand::createImm", "\"bt\"", "3", "2", "DLXOperand::CreateToken", "\"bt\"", "\"the destination register can't equal the base register in an \"", "\"instruction that modifies the base register.\"", "1", "DLXOperand::createImm"], "File": "DLXAsmParser", "Func": "ParseInstruction", "Target": "DLX", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 12685, "Length": 344} {"ground_truth": ["", "void", "print", "(", "raw_ostream", "&", "OS", ")", "const", "override", "{", "switch", "(", "Kind", ")", "{", "case", "IMMEDIATE", ":", "OS", "<<", "\"Imm: \"", "<<", "getImm", "(", ")", "<<", "\"\\n\"", ";", "break", ";", "case", "TOKEN", ":", "OS", "<<", "\"Token: \"", "<<", "getToken", "(", ")", "<<", "\"\\n\"", ";", "break", ";", "case", "REGISTER", ":", "OS", "<<", "\"Reg: %r\"", "<<", "getReg", "(", ")", "<<", "\"\\n\"", ";", "break", ";", "case", "MEMORY_IMM", ":", "OS", "<<", "\"MemImm: \"", "<<", "*", "getMemOffset", "(", ")", "<<", "\"\\n\"", ";", "break", ";", "case", "MEMORY_REG_IMM", ":", "OS", "<<", "\"MemRegImm: \"", "<<", "getMemBaseReg", "(", ")", "<<", "\"+\"", "<<", "*", "getMemOffset", "(", ")", "<<", "\"\\n\"", ";", "break", ";", "case", "MEMORY_REG_REG", ":", "assert", "(", "getMemOffset", "(", ")", "==", "nullptr", ")", ";", "OS", "<<", "\"MemRegReg: \"", "<<", "getMemBaseReg", "(", ")", "<<", "\"+\"", "<<", "\"%r\"", "<<", "getMemOffsetReg", "(", ")", "<<", "\"\\n\"", ";", "break", ";", "}", "}", ""], "natrual_language": ["print", "-", "Print", "a", "debug", "representation", "of", "the", "operand", "to", "the", "given", "stream", "."], "TS_V_token": ["DLX", "\"Imm: \"", "\"\\n\"", "\"Token: \"", "\"\\n\"", "\"Reg: %r\"", "\"\\n\"", "\"MemImm: \"", "\"\\n\"", "\"MemRegImm: \"", "\"+\"", "\"\\n\"", "\"MemRegReg: \"", "\"+\"", "\"%r\"", "\"\\n\""], "File": "DLXAsmParser", "Func": "print", "Target": "DLX", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 12686, "Length": 132} {"ground_truth": ["", "void", "DLXAsmPrinter", "::", "EmitInstruction", "(", "const", "MachineInstr", "*", "MI", ")", "{", "MachineBasicBlock", "::", "const_instr_iterator", "I", "=", "MI", "->", "getIterator", "(", ")", ";", "MachineBasicBlock", "::", "const_instr_iterator", "E", "=", "MI", "->", "getParent", "(", ")", "->", "instr_end", "(", ")", ";", "do", "{", "if", "(", "I", "->", "isCall", "(", ")", ")", "{", "emitCallInstruction", "(", "&", "*", "I", ")", ";", "continue", ";", "}", "customEmitInstruction", "(", "&", "*", "I", ")", ";", "}", "while", "(", "(", "++", "I", "!=", "E", ")", "&&", "I", "->", "isInsideBundle", "(", ")", ")", ";", "}", ""], "natrual_language": ["EmitInstruction", "-", "This", "callback", "is", "invoked", "when", "an", "instruction", "is", "emitted", ",", "to", "advance", "the", "hazard", "state", "."], "TS_V_token": ["DLX", "DLX"], "File": "DLXAsmPrinter", "Func": "EmitInstruction", "Target": "DLX", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 12687, "Length": 83} {"ground_truth": ["", "StringRef", "getPassName", "(", ")", "const", "override", "{", "return", "\"DLX Assembly Printer\"", ";", "}", ""], "natrual_language": ["getPassName", "-", "Return", "a", "nice", "clean", "name", "for", "a", "pass", "."], "TS_V_token": ["DLX", "\"DLX Assembly Printer\""], "File": "DLXAsmPrinter", "Func": "getPassName", "Target": "DLX", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 12688, "Length": 11} {"ground_truth": ["", "bool", "DLXAsmPrinter", "::", "isBlockOnlyReachableByFallthrough", "(", "const", "MachineBasicBlock", "*", "MBB", ")", "const", "{", "const", "MachineBasicBlock", "*", "Pred", "=", "*", "MBB", "->", "pred_begin", "(", ")", ";", "if", "(", "const", "BasicBlock", "*", "B", "=", "Pred", "->", "getBasicBlock", "(", ")", ")", "if", "(", "isa", "<", "SwitchInst", ">", "(", "B", "->", "getTerminator", "(", ")", ")", ")", "return", "false", ";", "if", "(", "!", "AsmPrinter", "::", "isBlockOnlyReachableByFallthrough", "(", "MBB", ")", ")", "return", "false", ";", "MachineBasicBlock", "::", "const_iterator", "I", "=", "Pred", "->", "end", "(", ")", ";", "while", "(", "I", "!=", "Pred", "->", "begin", "(", ")", "&&", "!", "(", "--", "I", ")", "->", "isTerminator", "(", ")", ")", "{", "}", "return", "!", "I", "->", "isBarrier", "(", ")", ";", "}", ""], "natrual_language": ["isBlockOnlyReachableByFallthough", "-", "Return", "true", "if", "the", "basic", "block", "has", "exactly", "one", "predecessor", "and", "the", "control", "transfer", "mechanism", "between", "the", "predecessor", "and", "this", "block", "is", "a", "fall-through", "."], "TS_V_token": ["DLX", "DLX"], "File": "DLXAsmPrinter", "Func": "isBlockOnlyReachableByFallthrough", "Target": "DLX", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 12689, "Length": 109} {"ground_truth": ["", "bool", "DLXAsmPrinter", "::", "PrintAsmOperand", "(", "const", "MachineInstr", "*", "MI", ",", "unsigned", "OpNo", ",", "unsigned", ",", "const", "char", "*", "ExtraCode", ",", "raw_ostream", "&", "O", ")", "{", "if", "(", "ExtraCode", "&&", "ExtraCode", "[", "0", "]", ")", "{", "if", "(", "ExtraCode", "[", "1", "]", ")", "return", "true", ";", "switch", "(", "ExtraCode", "[", "0", "]", ")", "{", "case", "'H'", ":", "{", "if", "(", "OpNo", "==", "0", ")", "return", "true", ";", "const", "MachineOperand", "&", "FlagsOP", "=", "MI", "->", "getOperand", "(", "OpNo", "-", "1", ")", ";", "if", "(", "!", "FlagsOP", ".", "isImm", "(", ")", ")", "return", "true", ";", "unsigned", "Flags", "=", "FlagsOP", ".", "getImm", "(", ")", ";", "unsigned", "NumVals", "=", "InlineAsm", "::", "getNumOperandRegisters", "(", "Flags", ")", ";", "if", "(", "NumVals", "!=", "2", ")", "return", "true", ";", "unsigned", "RegOp", "=", "OpNo", "+", "1", ";", "if", "(", "RegOp", ">=", "MI", "->", "getNumOperands", "(", ")", ")", "return", "true", ";", "const", "MachineOperand", "&", "MO", "=", "MI", "->", "getOperand", "(", "RegOp", ")", ";", "if", "(", "!", "MO", ".", "isReg", "(", ")", ")", "return", "true", ";", "unsigned", "Reg", "=", "MO", ".", "getReg", "(", ")", ";", "O", "<<", "DLXInstPrinter", "::", "getRegisterName", "(", "Reg", ")", ";", "return", "false", ";", "}", "default", ":", "return", "true", ";", "}", "}", "printOperand", "(", "MI", ",", "OpNo", ",", "O", ")", ";", "return", "false", ";", "}", ""], "natrual_language": ["PrintAsmOperand", "-", "Print", "out", "an", "operand", "for", "an", "inline", "asm", "expression", "."], "TS_V_token": ["DLX", "DLX", "0", "1", "0", "0", "1", "2", "1", "DLX"], "File": "DLXAsmPrinter", "Func": "PrintAsmOperand", "Target": "DLX", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 12690, "Length": 206} {"ground_truth": ["", "StringRef", "getPassName", "(", ")", "const", "override", "{", "return", "\"DLX Delay Slot Filler\"", ";", "}", ""], "natrual_language": ["getPassName", "-", "Return", "a", "nice", "clean", "name", "for", "a", "pass", "."], "TS_V_token": ["DLX", "\"DLX Delay Slot Filler\""], "File": "DLXDelaySlotFiller", "Func": "getPassName", "Target": "DLX", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 12691, "Length": 11} {"ground_truth": ["", "bool", "runOnMachineFunction", "(", "MachineFunction", "&", "MF", ")", "override", "{", "const", "DLXSubtarget", "&", "Subtarget", "=", "MF", ".", "getSubtarget", "<", "DLXSubtarget", ">", "(", ")", ";", "TII", "=", "Subtarget", ".", "getInstrInfo", "(", ")", ";", "TRI", "=", "Subtarget", ".", "getRegisterInfo", "(", ")", ";", "bool", "Changed", "=", "false", ";", "for", "(", "MachineFunction", "::", "iterator", "FI", "=", "MF", ".", "begin", "(", ")", ",", "FE", "=", "MF", ".", "end", "(", ")", ";", "FI", "!=", "FE", ";", "++", "FI", ")", "Changed", "|=", "runOnMachineBasicBlock", "(", "*", "FI", ")", ";", "return", "Changed", ";", "}", ""], "natrual_language": ["runOnMachineFunction", "-", "Emit", "the", "function", "body", "."], "TS_V_token": ["DLX", "DLX", "DLX"], "File": "DLXDelaySlotFiller", "Func": "runOnMachineFunction", "Target": "DLX", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 12692, "Length": 84} {"ground_truth": ["", "DecodeStatus", "DLXDisassembler", "::", "getInstruction", "(", "MCInst", "&", "Instr", ",", "uint64_t", "&", "Size", ",", "ArrayRef", "<", "uint8_t", ">", "Bytes", ",", "uint64_t", "Address", ",", "raw_ostream", "&", ",", "raw_ostream", "&", ")", "const", "{", "uint32_t", "Insn", ";", "DecodeStatus", "Result", "=", "readInstruction32", "(", "Bytes", ",", "Size", ",", "Insn", ")", ";", "if", "(", "Result", "==", "MCDisassembler", "::", "Fail", ")", "return", "MCDisassembler", "::", "Fail", ";", "Result", "=", "decodeInstruction", "(", "DecoderTableDLX32", ",", "Instr", ",", "Insn", ",", "Address", ",", "this", ",", "STI", ")", ";", "if", "(", "Result", "!=", "MCDisassembler", "::", "Fail", ")", "{", "PostOperandDecodeAdjust", "(", "Instr", ",", "Insn", ")", ";", "Size", "=", "4", ";", "return", "Result", ";", "}", "return", "MCDisassembler", "::", "Fail", ";", "}", ""], "natrual_language": ["Returns", "the", "disassembly", "of", "a", "single", "instruction", "."], "TS_V_token": ["DLX", "DLX", "DLX", "4"], "File": "DLXDisassembler", "Func": "getInstruction", "Target": "DLX", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 12693, "Length": 105} {"ground_truth": ["", "static", "bool", "tryAddingSymbolicOperand", "(", "int64_t", "Value", ",", "bool", "IsBranch", ",", "uint64_t", "Address", ",", "uint64_t", "Offset", ",", "uint64_t", "Width", ",", "MCInst", "&", "MI", ",", "const", "void", "*", "Decoder", ")", "{", "const", "MCDisassembler", "*", "Dis", "=", "static_cast", "<", "const", "MCDisassembler", "*", ">", "(", "Decoder", ")", ";", "return", "Dis", "->", "tryAddingSymbolicOperand", "(", "MI", ",", "Value", ",", "Address", ",", "IsBranch", ",", "Offset", ",", "Width", ")", ";", "}", ""], "natrual_language": ["Try", "to", "add", "a", "symbolic", "operand", "instead", "of", "Value", "to", "the", "MCInst", "."], "TS_V_token": ["DLX"], "File": "DLXDisassembler", "Func": "tryAddingSymbolicOperand", "Target": "DLX", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 12694, "Length": 63} {"ground_truth": ["", "void", "DLXFrameLowering", "::", "determineCalleeSaves", "(", "MachineFunction", "&", "MF", ",", "BitVector", "&", "SavedRegs", ",", "RegScavenger", "*", "RS", ")", "const", "{", "TargetFrameLowering", "::", "determineCalleeSaves", "(", "MF", ",", "SavedRegs", ",", "RS", ")", ";", "MachineFrameInfo", "&", "MFI", "=", "MF", ".", "getFrameInfo", "(", ")", ";", "const", "DLXRegisterInfo", "*", "LRI", "=", "static_cast", "<", "const", "DLXRegisterInfo", "*", ">", "(", "STI", ".", "getRegisterInfo", "(", ")", ")", ";", "int", "Offset", "=", "-", "4", ";", "MFI", ".", "CreateFixedObject", "(", "4", ",", "Offset", ",", "true", ")", ";", "Offset", "-=", "4", ";", "MFI", ".", "CreateFixedObject", "(", "4", ",", "Offset", ",", "true", ")", ";", "Offset", "-=", "4", ";", "if", "(", "LRI", "->", "hasBasePointer", "(", "MF", ")", ")", "{", "MFI", ".", "CreateFixedObject", "(", "4", ",", "Offset", ",", "true", ")", ";", "SavedRegs", ".", "reset", "(", "LRI", "->", "getBaseRegister", "(", ")", ")", ";", "}", "}", ""], "natrual_language": ["This", "method", "determines", "which", "of", "the", "registers", "reported", "by", "TargetRegisterInfo", ":", ":getCalleeSavedRegs", "(", ")", "should", "actually", "get", "saved", "."], "TS_V_token": ["DLX", "DLX", "DLX", "DLX", "4", "4", "4", "4", "4", "4"], "File": "DLXFrameLowering", "Func": "determineCalleeSaves", "Target": "DLX", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 12695, "Length": 129} {"ground_truth": ["", "void", "DLXFrameLowering", "::", "determineFrameLayout", "(", "MachineFunction", "&", "MF", ")", "const", "{", "MachineFrameInfo", "&", "MFI", "=", "MF", ".", "getFrameInfo", "(", ")", ";", "const", "DLXRegisterInfo", "*", "LRI", "=", "STI", ".", "getRegisterInfo", "(", ")", ";", "unsigned", "FrameSize", "=", "MFI", ".", "getStackSize", "(", ")", ";", "unsigned", "StackAlign", "=", "LRI", "->", "needsStackRealignment", "(", "MF", ")", "?", "MFI", ".", "getMaxAlignment", "(", ")", ":", "getStackAlignment", "(", ")", ";", "unsigned", "MaxCallFrameSize", "=", "MFI", ".", "getMaxCallFrameSize", "(", ")", ";", "if", "(", "MFI", ".", "hasVarSizedObjects", "(", ")", ")", "MaxCallFrameSize", "=", "alignTo", "(", "MaxCallFrameSize", ",", "StackAlign", ")", ";", "MFI", ".", "setMaxCallFrameSize", "(", "MaxCallFrameSize", ")", ";", "if", "(", "!", "(", "hasReservedCallFrame", "(", "MF", ")", "&&", "MFI", ".", "adjustsStack", "(", ")", ")", ")", "FrameSize", "+=", "MaxCallFrameSize", ";", "FrameSize", "=", "alignTo", "(", "FrameSize", ",", "StackAlign", ")", ";", "MFI", ".", "setStackSize", "(", "FrameSize", ")", ";", "}", ""], "natrual_language": ["Determine", "the", "frame", "layout", "but", "do", "not", "update", "the", "machine", "function", "."], "TS_V_token": ["DLX", "DLX", "DLX"], "File": "DLXFrameLowering", "Func": "determineFrameLayout", "Target": "DLX", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 12696, "Length": 131} {"ground_truth": ["", "MachineBasicBlock", "::", "iterator", "DLXFrameLowering", "::", "eliminateCallFramePseudoInstr", "(", "MachineFunction", "&", ",", "MachineBasicBlock", "&", "MBB", ",", "MachineBasicBlock", "::", "iterator", "I", ")", "const", "{", "return", "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": ["DLX", "DLX"], "File": "DLXFrameLowering", "Func": "eliminateCallFramePseudoInstr", "Target": "DLX", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 12697, "Length": 30} {"ground_truth": ["", "void", "DLXFrameLowering", "::", "emitEpilogue", "(", "MachineFunction", "&", ",", "MachineBasicBlock", "&", "MBB", ")", "const", "{", "}", ""], "natrual_language": ["Insert", "epilog", "code", "into", "the", "function", "."], "TS_V_token": ["DLX", "DLX"], "File": "DLXFrameLowering", "Func": "emitEpilogue", "Target": "DLX", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 12698, "Length": 15} {"ground_truth": ["", "void", "DLXFrameLowering", "::", "emitPrologue", "(", "MachineFunction", "&", "MF", ",", "MachineBasicBlock", "&", "MBB", ")", "const", "{", "}", ""], "natrual_language": ["emitProlog/emitEpilog", "-", "These", "methods", "insert", "prolog", "and", "epilog", "code", "into", "the", "function", "."], "TS_V_token": ["DLX", "DLX"], "File": "DLXFrameLowering", "Func": "emitPrologue", "Target": "DLX", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 12699, "Length": 16} {"ground_truth": ["", "bool", "hasFP", "(", "const", "MachineFunction", "&", ")", "const", "override", "{", "return", "true", ";", "}", ""], "natrual_language": ["hasFP", "-", "Return", "true", "if", "the", "specified", "function", "should", "have", "a", "dedicated", "frame", "pointer", "register", "."], "TS_V_token": ["DLX"], "File": "DLXFrameLowering", "Func": "hasFP", "Target": "DLX", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 12700, "Length": 14} {"ground_truth": ["", "void", "DLXInstPrinter", "::", "printInst", "(", "const", "MCInst", "*", "MI", ",", "raw_ostream", "&", "OS", ",", "StringRef", "Annotation", ",", "const", "MCSubtargetInfo", "&", ")", "{", "if", "(", "!", "printAlias", "(", "MI", ",", "OS", ")", "&&", "!", "printAliasInstr", "(", "MI", ",", "OS", ")", ")", "printInstruction", "(", "MI", ",", "OS", ")", ";", "printAnnotation", "(", "OS", ",", "Annotation", ")", ";", "}", ""], "natrual_language": ["Print", "the", "specified", "MCInst", "to", "the", "specified", "raw_ostream", "."], "TS_V_token": ["DLX", "DLX"], "File": "DLXInstPrinter", "Func": "printInst", "Target": "DLX", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 12701, "Length": 55} {"ground_truth": ["", "void", "DLXInstPrinter", "::", "printRegName", "(", "raw_ostream", "&", "OS", ",", "unsigned", "RegNo", ")", "const", "{", "OS", "<<", "StringRef", "(", "getRegisterName", "(", "RegNo", ")", ")", ".", "lower", "(", ")", ";", "}", ""], "natrual_language": ["Print", "the", "assembler", "register", "name", "."], "TS_V_token": ["DLX", "DLX"], "File": "DLXInstPrinter", "Func": "printRegName", "Target": "DLX", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 12702, "Length": 29} {"ground_truth": ["", "bool", "DLXInstrInfo", "::", "analyzeBranch", "(", "MachineBasicBlock", "&", "MBB", ",", "MachineBasicBlock", "*", "&", "TrueBlock", ",", "MachineBasicBlock", "*", "&", "FalseBlock", ",", "SmallVectorImpl", "<", "MachineOperand", ">", "&", "Condition", ",", "bool", "AllowModify", ")", "const", "{", "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": ["DLX", "DLX"], "File": "DLXInstrInfo", "Func": "analyzeBranch", "Target": "DLX", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 12703, "Length": 35} {"ground_truth": ["", "bool", "DLXInstrInfo", "::", "analyzeCompare", "(", "const", "MachineInstr", "&", "MI", ",", "unsigned", "&", "SrcReg", ",", "unsigned", "&", "SrcReg2", ",", "int", "&", "CmpMask", ",", "int", "&", "CmpValue", ")", "const", "{", "return", "false", ";", "}", ""], "natrual_language": ["analyzeCompare", "-", "For", "a", "comparison", "instruction", ",", "return", "the", "source", "registers", "in", "SrcReg", "and", "SrcReg2", "if", "having", "two", "register", "operands", ",", "and", "the", "value", "it", "compares", "against", "in", "CmpValue", "."], "TS_V_token": ["DLX", "DLX"], "File": "DLXInstrInfo", "Func": "analyzeCompare", "Target": "DLX", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 12704, "Length": 32} {"ground_truth": ["", "bool", "DLXInstrInfo", "::", "analyzeSelect", "(", "const", "MachineInstr", "&", "MI", ",", "SmallVectorImpl", "<", "MachineOperand", ">", "&", "Cond", ",", "unsigned", "&", "TrueOp", ",", "unsigned", "&", "FalseOp", ",", "bool", "&", "Optimizable", ")", "const", "{", "return", "false", ";", "}", ""], "natrual_language": ["Analyze", "the", "given", "select", "instruction", ",", "returning", "true", "if", "it", "can", "not", "be", "understood", "."], "TS_V_token": ["DLX", "DLX"], "File": "DLXInstrInfo", "Func": "analyzeSelect", "Target": "DLX", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 12705, "Length": 35} {"ground_truth": ["", "bool", "DLXInstrInfo", "::", "areMemAccessesTriviallyDisjoint", "(", "MachineInstr", "&", "MIa", ",", "MachineInstr", "&", "MIb", ",", "AliasAnalysis", "*", ")", "const", "{", "return", "false", ";", "}", ""], "natrual_language": ["Sometimes", ",", "it", "is", "possible", "for", "the", "target", "to", "tell", ",", "even", "without", "aliasing", "information", ",", "that", "two", "MIs", "access", "different", "memory", "addresses", "."], "TS_V_token": ["DLX", "DLX"], "File": "DLXInstrInfo", "Func": "areMemAccessesTriviallyDisjoint", "Target": "DLX", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 12706, "Length": 22} {"ground_truth": ["", "void", "DLXInstrInfo", "::", "copyPhysReg", "(", "MachineBasicBlock", "&", "MBB", ",", "MachineBasicBlock", "::", "iterator", "Position", ",", "const", "DebugLoc", "&", "DL", ",", "unsigned", "DestinationRegister", ",", "unsigned", "SourceRegister", ",", "bool", "KillSource", ")", "const", "{", "}", ""], "natrual_language": ["}", "Branch", "Analysis", "&", "Modification"], "TS_V_token": ["DLX", "DLX"], "File": "DLXInstrInfo", "Func": "copyPhysReg", "Target": "DLX", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 12707, "Length": 31} {"ground_truth": ["", "std", "::", "pair", "<", "unsigned", ",", "unsigned", ">", "DLXInstrInfo", "::", "decomposeMachineOperandsTargetFlags", "(", "unsigned", "TF", ")", "const", "{", "return", "std", "::", "make_pair", "(", "TF", ",", "0u", ")", ";", "}", ""], "natrual_language": ["Decompose", "the", "machine", "operand", "'s", "target", "flags", "into", "two", "values", "-", "the", "direct", "target", "flag", "value", "and", "any", "of", "bit", "flags", "that", "are", "applied", "."], "TS_V_token": ["DLX", "DLX", "0u"], "File": "DLXInstrInfo", "Func": "decomposeMachineOperandsTargetFlags", "Target": "DLX", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 12708, "Length": 28} {"ground_truth": ["", "bool", "DLXInstrInfo", "::", "expandPostRAPseudo", "(", "MachineInstr", "&", "MI", ")", "const", "{", "return", "false", ";", "}", ""], "natrual_language": ["This", "function", "is", "called", "for", "all", "pseudo", "instructions", "that", "remain", "after", "register", "allocation", "."], "TS_V_token": ["DLX", "DLX"], "File": "DLXInstrInfo", "Func": "expandPostRAPseudo", "Target": "DLX", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 12709, "Length": 15} {"ground_truth": ["", "virtual", "const", "DLXRegisterInfo", "&", "getRegisterInfo", "(", ")", "const", "{", "return", "RegisterInfo", ";", "}", ""], "natrual_language": ["getRegisterInfo", "-", "TargetInstrInfo", "is", "a", "superset", "of", "MRegister", "info", "."], "TS_V_token": ["DLX", "DLX"], "File": "DLXInstrInfo", "Func": "getRegisterInfo", "Target": "DLX", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 12710, "Length": 13} {"ground_truth": ["", "ArrayRef", "<", "std", "::", "pair", "<", "unsigned", ",", "const", "char", "*", ">>", "DLXInstrInfo", "::", "getSerializableDirectMachineOperandTargetFlags", "(", ")", "const", "{", "static", "const", "std", "::", "pair", "<", "unsigned", ",", "const", "char", "*", ">", "TargetFlags", "[", "]", "=", "{", "{", "1", ",", "\"lanai-hi\"", "}", ",", "{", "2", ",", "\"lanai-lo\"", "}", ",", "{", "3", ",", "\"lanai-nf\"", "}", "}", ";", "return", "makeArrayRef", "(", "TargetFlags", ")", ";", "}", ""], "natrual_language": ["Return", "an", "array", "that", "contains", "the", "direct", "target", "flag", "values", "and", "their", "names", "."], "TS_V_token": ["DLX", "DLX", "1", "\"lanai-hi\"", "2", "\"lanai-lo\"", "3", "\"lanai-nf\""], "File": "DLXInstrInfo", "Func": "getSerializableDirectMachineOperandTargetFlags", "Target": "DLX", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 12711, "Length": 62} {"ground_truth": ["", "unsigned", "DLXInstrInfo", "::", "insertBranch", "(", "MachineBasicBlock", "&", "MBB", ",", "MachineBasicBlock", "*", "TrueBlock", ",", "MachineBasicBlock", "*", "FalseBlock", ",", "ArrayRef", "<", "MachineOperand", ">", "Condition", ",", "const", "DebugLoc", "&", "DL", ",", "int", "*", "BytesAdded", ")", "const", "{", "return", "1", ";", "}", ""], "natrual_language": ["Insert", "branch", "code", "into", "the", "end", "of", "the", "specified", "MachineBasicBlock", "."], "TS_V_token": ["DLX", "DLX", "1"], "File": "DLXInstrInfo", "Func": "insertBranch", "Target": "DLX", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 12712, "Length": 38} {"ground_truth": ["", "unsigned", "DLXInstrInfo", "::", "isLoadFromStackSlot", "(", "const", "MachineInstr", "&", "MI", ",", "int", "&", "FrameIndex", ")", "const", "{", "return", "1", ";", "}", ""], "natrual_language": ["isLoadFromStackSlot", "-", "If", "the", "specified", "machine", "instruction", "is", "a", "direct", "load", "from", "a", "stack", "slot", ",", "return", "the", "virtual", "or", "physical", "register", "number", "of", "the", "destination", "along", "with", "the", "FrameIndex", "of", "the", "loaded", "stack", "slot", "."], "TS_V_token": ["DLX", "DLX", "1"], "File": "DLXInstrInfo", "Func": "isLoadFromStackSlot", "Target": "DLX", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 12713, "Length": 20} {"ground_truth": ["", "unsigned", "DLXInstrInfo", "::", "isLoadFromStackSlotPostFE", "(", "const", "MachineInstr", "&", "MI", ",", "int", "&", "FrameIndex", ")", "const", "{", "return", "1", ";", "}", ""], "natrual_language": ["isLoadFromStackSlotPostFE", "-", "Check", "for", "post-frame", "ptr", "elimination", "stack", "locations", "as", "well", "."], "TS_V_token": ["DLX", "DLX", "1"], "File": "DLXInstrInfo", "Func": "isLoadFromStackSlotPostFE", "Target": "DLX", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 12714, "Length": 20} {"ground_truth": ["", "unsigned", "DLXInstrInfo", "::", "isStoreToStackSlot", "(", "const", "MachineInstr", "&", "MI", ",", "int", "&", "FrameIndex", ")", "const", "{", "return", "1", ";", "}", ""], "natrual_language": ["isStoreToStackSlot", "-", "If", "the", "specified", "machine", "instruction", "is", "a", "direct", "store", "to", "a", "stack", "slot", ",", "return", "the", "virtual", "or", "physical", "register", "number", "of", "the", "source", "reg", "along", "with", "the", "FrameIndex", "of", "the", "loaded", "stack", "slot", "."], "TS_V_token": ["DLX", "DLX", "1"], "File": "DLXInstrInfo", "Func": "isStoreToStackSlot", "Target": "DLX", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 12715, "Length": 20} {"ground_truth": ["", "void", "DLXInstrInfo", "::", "loadRegFromStackSlot", "(", "MachineBasicBlock", "&", "MBB", ",", "MachineBasicBlock", "::", "iterator", "Position", ",", "unsigned", "DestinationRegister", ",", "int", "FrameIndex", ",", "const", "TargetRegisterClass", "*", "RegisterClass", ",", "const", "TargetRegisterInfo", "*", "RegisterInfo", ")", "const", "{", "}", ""], "natrual_language": ["Load", "the", "specified", "register", "of", "the", "given", "register", "class", "from", "the", "specified", "stack", "frame", "index", "."], "TS_V_token": ["DLX", "DLX"], "File": "DLXInstrInfo", "Func": "loadRegFromStackSlot", "Target": "DLX", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 12716, "Length": 33} {"ground_truth": ["", "bool", "DLXInstrInfo", "::", "optimizeCompareInstr", "(", "MachineInstr", "&", "CmpInstr", ",", "unsigned", "SrcReg", ",", "unsigned", "SrcReg2", ",", "int", "CmpMask", ",", "int", "CmpValue", ",", "const", "MachineRegisterInfo", "*", "MRI", ")", "const", "{", "return", "false", ";", "}", ""], "natrual_language": ["optimizeCompareInstr", "-", "Check", "if", "there", "exists", "an", "earlier", "instruction", "that", "operates", "on", "the", "same", "source", "operands", "and", "sets", "flags", "in", "the", "same", "way", "as", "Compare", ";", "remove", "Compare", "if", "possible", "."], "TS_V_token": ["DLX", "DLX"], "File": "DLXInstrInfo", "Func": "optimizeCompareInstr", "Target": "DLX", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 12717, "Length": 32} {"ground_truth": ["", "MachineInstr", "*", "DLXInstrInfo", "::", "optimizeSelect", "(", "MachineInstr", "&", "MI", ",", "SmallPtrSetImpl", "<", "MachineInstr", "*", ">", "&", "SeenMIs", ",", "bool", "PreferFalse", ")", "const", "{", "return", "nullptr", ";", "}", ""], "natrual_language": ["Given", "a", "select", "instruction", "that", "was", "understood", "by", "analyzeSelect", "and", "returned", "Optimizable", "=", "true", ",", "attempt", "to", "optimize", "MI", "by", "merging", "it", "with", "one", "of", "its", "operands", "."], "TS_V_token": ["DLX", "DLX"], "File": "DLXInstrInfo", "Func": "optimizeSelect", "Target": "DLX", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 12718, "Length": 27} {"ground_truth": ["", "unsigned", "DLXInstrInfo", "::", "removeBranch", "(", "MachineBasicBlock", "&", "MBB", ",", "int", "*", "BytesRemoved", ")", "const", "{", "return", "false", ";", "}", ""], "natrual_language": ["Remove", "the", "branching", "code", "at", "the", "end", "of", "the", "specific", "MBB", "."], "TS_V_token": ["DLX", "DLX"], "File": "DLXInstrInfo", "Func": "removeBranch", "Target": "DLX", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 12719, "Length": 19} {"ground_truth": ["", "bool", "DLXInstrInfo", "::", "reverseBranchCondition", "(", "SmallVectorImpl", "<", "MachineOperand", ">", "&", "Condition", ")", "const", "{", "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": ["DLX", "DLX"], "File": "DLXInstrInfo", "Func": "reverseBranchCondition", "Target": "DLX", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 12720, "Length": 18} {"ground_truth": ["", "void", "DLXInstrInfo", "::", "storeRegToStackSlot", "(", "MachineBasicBlock", "&", "MBB", ",", "MachineBasicBlock", "::", "iterator", "Position", ",", "unsigned", "SourceRegister", ",", "bool", "IsKill", ",", "int", "FrameIndex", ",", "const", "TargetRegisterClass", "*", "RegisterClass", ",", "const", "TargetRegisterInfo", "*", "RegisterInfo", ")", "const", "{", "}", ""], "natrual_language": ["Store", "the", "specified", "register", "of", "the", "given", "register", "class", "to", "the", "specified", "stack", "frame", "index", "."], "TS_V_token": ["DLX", "DLX"], "File": "DLXInstrInfo", "Func": "storeRegToStackSlot", "Target": "DLX", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 12721, "Length": 36} {"ground_truth": ["", "StringRef", "getPassName", "(", ")", "const", "override", "{", "return", "\"DLX DAG->DAG Pattern Instruction Selection\"", ";", "}", ""], "natrual_language": ["getPassName", "-", "Return", "a", "nice", "clean", "name", "for", "a", "pass", "."], "TS_V_token": ["DLX", "\"DLX DAG->DAG Pattern Instruction Selection\""], "File": "DLXISelDAGToDAG", "Func": "getPassName", "Target": "DLX", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 12722, "Length": 11} {"ground_truth": ["", "bool", "runOnMachineFunction", "(", "MachineFunction", "&", "MF", ")", "override", "{", "return", "SelectionDAGISel", "::", "runOnMachineFunction", "(", "MF", ")", ";", "}", ""], "natrual_language": ["runOnMachineFunction", "-", "Emit", "the", "function", "body", "."], "TS_V_token": ["DLX"], "File": "DLXISelDAGToDAG", "Func": "runOnMachineFunction", "Target": "DLX", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 12723, "Length": 18} {"ground_truth": ["", "void", "DLXDAGToDAGISel", "::", "Select", "(", "SDNode", "*", "Node", ")", "{", "unsigned", "Opcode", "=", "Node", "->", "getOpcode", "(", ")", ";", "if", "(", "Node", "->", "isMachineOpcode", "(", ")", ")", "{", "LLVM_DEBUG", "(", "errs", "(", ")", "<<", "\"== \"", ";", "Node", "->", "dump", "(", "CurDAG", ")", ";", "errs", "(", ")", "<<", "\"\\n\"", ")", ";", "return", ";", "}", "EVT", "VT", "=", "Node", "->", "getValueType", "(", "0", ")", ";", "switch", "(", "Opcode", ")", "{", "case", "ISD", "::", "Constant", ":", "if", "(", "VT", "==", "MVT", "::", "i32", ")", "{", "ConstantSDNode", "*", "ConstNode", "=", "cast", "<", "ConstantSDNode", ">", "(", "Node", ")", ";", "if", "(", "ConstNode", "->", "isNullValue", "(", ")", ")", "{", "SDValue", "New", "=", "CurDAG", "->", "getCopyFromReg", "(", "CurDAG", "->", "getEntryNode", "(", ")", ",", "SDLoc", "(", "Node", ")", ",", "DLX", "::", "R0", ",", "MVT", "::", "i32", ")", ";", "return", "ReplaceNode", "(", "Node", ",", "New", ".", "getNode", "(", ")", ")", ";", "}", "if", "(", "ConstNode", "->", "isAllOnesValue", "(", ")", ")", "{", "SDValue", "New", "=", "CurDAG", "->", "getCopyFromReg", "(", "CurDAG", "->", "getEntryNode", "(", ")", ",", "SDLoc", "(", "Node", ")", ",", "DLX", "::", "R1", ",", "MVT", "::", "i32", ")", ";", "return", "ReplaceNode", "(", "Node", ",", "New", ".", "getNode", "(", ")", ")", ";", "}", "}", "break", ";", "case", "ISD", "::", "FrameIndex", ":", "selectFrameIndex", "(", "Node", ")", ";", "return", ";", "default", ":", "break", ";", "}", "SelectCode", "(", "Node", ")", ";", "}", ""], "natrual_language": ["Main", "hook", "for", "targets", "to", "transform", "nodes", "into", "machine", "nodes", "."], "TS_V_token": ["DLX", "DLX", "\"== \"", "\"\\n\"", "0", "ISD::Constant", "MVT::i32", "DLX::R0", "MVT::i32", "DLX::R1", "MVT::i32", "ISD::FrameIndex"], "File": "DLXISelDAGToDAG", "Func": "Select", "Target": "DLX", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 12724, "Length": 218} {"ground_truth": ["", "bool", "DLXDAGToDAGISel", "::", "SelectInlineAsmMemoryOperand", "(", "const", "SDValue", "&", "Op", ",", "unsigned", "ConstraintCode", ",", "std", "::", "vector", "<", "SDValue", ">", "&", "OutOps", ")", "{", "SDValue", "Op0", ",", "Op1", ",", "AluOp", ";", "switch", "(", "ConstraintCode", ")", "{", "default", ":", "return", "true", ";", "case", "InlineAsm", "::", "Constraint_m", ":", "if", "(", "!", "selectAddrRr", "(", "Op", ",", "Op0", ",", "Op1", ",", "AluOp", ")", "&&", "!", "selectAddrRi", "(", "Op", ",", "Op0", ",", "Op1", ",", "AluOp", ")", ")", "return", "true", ";", "break", ";", "}", "OutOps", ".", "push_back", "(", "Op0", ")", ";", "OutOps", ".", "push_back", "(", "Op1", ")", ";", "OutOps", ".", "push_back", "(", "AluOp", ")", ";", "return", "false", ";", "}", ""], "natrual_language": ["SelectInlineAsmMemoryOperand", "-", "Select", "the", "specified", "address", "as", "a", "target", "addressing", "mode", ",", "according", "to", "the", "specified", "constraint", "."], "TS_V_token": ["DLX", "DLX"], "File": "DLXISelDAGToDAG", "Func": "SelectInlineAsmMemoryOperand", "Target": "DLX", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 12725, "Length": 102} {"ground_truth": ["", "void", "DLXTargetLowering", "::", "computeKnownBitsForTargetNode", "(", "const", "SDValue", "Op", ",", "KnownBits", "&", "Known", ",", "const", "APInt", "&", "DemandedElts", ",", "const", "SelectionDAG", "&", "DAG", ",", "unsigned", "Depth", ")", "const", "{", "}", ""], "natrual_language": ["Determine", "which", "of", "the", "bits", "specified", "in", "Mask", "are", "known", "to", "be", "either", "zero", "or", "one", "and", "return", "them", "in", "the", "KnownZero/KnownOne", "bitsets", "."], "TS_V_token": ["DLX", "DLX"], "File": "DLXISelLowering", "Func": "computeKnownBitsForTargetNode", "Target": "DLX", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 12726, "Length": 29} {"ground_truth": ["", "std", "::", "pair", "<", "unsigned", ",", "const", "TargetRegisterClass", "*", ">", "DLXTargetLowering", "::", "getRegForInlineAsmConstraint", "(", "const", "TargetRegisterInfo", "*", "TRI", ",", "StringRef", "Constraint", ",", "MVT", "VT", ")", "const", "{", "return", "TargetLowering", "::", "getRegForInlineAsmConstraint", "(", "TRI", ",", "Constraint", ",", "VT", ")", ";", "}", ""], "natrual_language": ["Given", "a", "physical", "register", "constraint", "(", "e.g", "."], "TS_V_token": ["DLX", "DLX"], "File": "DLXISelLowering", "Func": "getRegForInlineAsmConstraint", "Target": "DLX", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 12727, "Length": 40} {"ground_truth": ["", "TargetLowering", "::", "ConstraintWeight", "DLXTargetLowering", "::", "getSingleConstraintMatchWeight", "(", "AsmOperandInfo", "&", "Info", ",", "const", "char", "*", "Constraint", ")", "const", "{", "ConstraintWeight", "Weight", "=", "CW_Invalid", ";", "return", "Weight", ";", "}", ""], "natrual_language": ["Examine", "constraint", "string", "and", "operand", "type", "and", "determine", "a", "weight", "value", "."], "TS_V_token": ["DLX", "DLX"], "File": "DLXISelLowering", "Func": "getSingleConstraintMatchWeight", "Target": "DLX", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 12728, "Length": 27} {"ground_truth": ["", "void", "DLXTargetLowering", "::", "LowerAsmOperandForConstraint", "(", "SDValue", "Op", ",", "std", "::", "string", "&", "Constraint", ",", "std", "::", "vector", "<", "SDValue", ">", "&", "Ops", ",", "SelectionDAG", "&", "DAG", ")", "const", "{", "}", ""], "natrual_language": ["Lower", "the", "specified", "operand", "into", "the", "Ops", "vector", "."], "TS_V_token": ["DLX", "DLX"], "File": "DLXISelLowering", "Func": "LowerAsmOperandForConstraint", "Target": "DLX", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 12729, "Length": 30} {"ground_truth": ["", "SDValue", "DLXTargetLowering", "::", "LowerOperation", "(", "SDValue", "Op", ",", "SelectionDAG", "&", "DAG", ")", "const", "{", "switch", "(", "Op", ".", "getOpcode", "(", ")", ")", "{", "default", ":", "llvm_unreachable", "(", "\"unimplemented operand\"", ")", ";", "}", "}", ""], "natrual_language": ["LowerOperation", "-", "Provide", "custom", "lowering", "hooks", "for", "some", "operations", "."], "TS_V_token": ["DLX", "DLX", "\"unimplemented operand\""], "File": "DLXISelLowering", "Func": "LowerOperation", "Target": "DLX", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 12730, "Length": 32} {"ground_truth": ["", "SDValue", "DLXTargetLowering", "::", "PerformDAGCombine", "(", "SDNode", "*", "N", ",", "DAGCombinerInfo", "&", "DCI", ")", "const", "{", "return", "SDValue", "(", ")", ";", "}", ""], "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": ["DLX", "DLX"], "File": "DLXISelLowering", "Func": "PerformDAGCombine", "Target": "DLX", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 12731, "Length": 21} {"ground_truth": ["", "unsigned", "DLXMachineFunctionInfo", "::", "getGlobalBaseReg", "(", ")", "{", "return", "GlobalBaseReg", ";", "}", ""], "natrual_language": ["getGlobalBaseReg", "-", "Return", "a", "virtual", "register", "initialized", "with", "the", "the", "global", "base", "register", "value", "."], "TS_V_token": ["DLX", "DLX"], "File": "DLXMachineFunctionInfo", "Func": "getGlobalBaseReg", "Target": "DLX", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 12732, "Length": 11} {"ground_truth": ["", "void", "DLXMCCodeEmitter", "::", "encodeInstruction", "(", "const", "MCInst", "&", "Inst", ",", "raw_ostream", "&", "Ostream", ",", "SmallVectorImpl", "<", "MCFixup", ">", "&", "Fixups", ",", "const", "MCSubtargetInfo", "&", "SubtargetInfo", ")", "const", "{", "unsigned", "Value", "=", "getBinaryCodeForInstr", "(", "Inst", ",", "Fixups", ",", "SubtargetInfo", ")", ";", "++", "MCNumEmitted", ";", "for", "(", "int", "i", "=", "(", "4", "-", "1", ")", "*", "8", ";", "i", ">=", "0", ";", "i", "-=", "8", ")", "Ostream", "<<", "static_cast", "<", "char", ">", "(", "(", "Value", ">>", "i", ")", "&", "0xff", ")", ";", "}", ""], "natrual_language": ["Encode", "the", "given", "Inst", "to", "bytes", "and", "append", "to", "CB", "."], "TS_V_token": ["DLX", "DLX", "4", "1", "8", "0", "8", "0xff"], "File": "DLXMCCodeEmitter", "Func": "encodeInstruction", "Target": "DLX", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 12733, "Length": 81} {"ground_truth": ["", "unsigned", "DLXMCCodeEmitter", "::", "getBranchTargetOpValue", "(", "const", "MCInst", "&", "Inst", ",", "unsigned", "OpNo", ",", "SmallVectorImpl", "<", "MCFixup", ">", "&", "Fixups", ",", "const", "MCSubtargetInfo", "&", "SubtargetInfo", ")", "const", "{", "const", "MCOperand", "&", "MCOp", "=", "Inst", ".", "getOperand", "(", "OpNo", ")", ";", "if", "(", "MCOp", ".", "isReg", "(", ")", "||", "MCOp", ".", "isImm", "(", ")", ")", "return", "getMachineOpValue", "(", "Inst", ",", "MCOp", ",", "Fixups", ",", "SubtargetInfo", ")", ";", "Fixups", ".", "push_back", "(", "MCFixup", "::", "create", "(", "0", ",", "MCOp", ".", "getExpr", "(", ")", ",", "static_cast", "<", "MCFixupKind", ">", "(", "DLX", "::", "FIXUP_DLX_25", ")", ")", ")", ";", "return", "0", ";", "}", ""], "natrual_language": ["getBranchTargetOpValue", "-", "Return", "binary", "encoding", "of", "the", "branch", "target", "operand", "."], "TS_V_token": ["DLX", "DLX", "0", "DLX::FIXUP_DLX_25", "0"], "File": "DLXMCCodeEmitter", "Func": "getBranchTargetOpValue", "Target": "DLX", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 12734, "Length": 97} {"ground_truth": ["", "unsigned", "DLXMCCodeEmitter", "::", "getMachineOpValue", "(", "const", "MCInst", "&", "Inst", ",", "const", "MCOperand", "&", "MCOp", ",", "SmallVectorImpl", "<", "MCFixup", ">", "&", "Fixups", ",", "const", "MCSubtargetInfo", "&", "SubtargetInfo", ")", "const", "{", "if", "(", "MCOp", ".", "isReg", "(", ")", ")", "return", "getDLXRegisterNumbering", "(", "MCOp", ".", "getReg", "(", ")", ")", ";", "if", "(", "MCOp", ".", "isImm", "(", ")", ")", "return", "static_cast", "<", "unsigned", ">", "(", "MCOp", ".", "getImm", "(", ")", ")", ";", "assert", "(", "MCOp", ".", "isExpr", "(", ")", ")", ";", "const", "MCExpr", "*", "Expr", "=", "MCOp", ".", "getExpr", "(", ")", ";", "if", "(", "Expr", "->", "getKind", "(", ")", "==", "MCExpr", "::", "Binary", ")", "{", "const", "MCBinaryExpr", "*", "BinaryExpr", "=", "static_cast", "<", "const", "MCBinaryExpr", "*", ">", "(", "Expr", ")", ";", "Expr", "=", "BinaryExpr", "->", "getLHS", "(", ")", ";", "}", "assert", "(", "isa", "<", "DLXMCExpr", ">", "(", "Expr", ")", "||", "Expr", "->", "getKind", "(", ")", "==", "MCExpr", "::", "SymbolRef", ")", ";", "Fixups", ".", "push_back", "(", "MCFixup", "::", "create", "(", "0", ",", "MCOp", ".", "getExpr", "(", ")", ",", "MCFixupKind", "(", "FixupKind", "(", "Expr", ")", ")", ")", ")", ";", "return", "0", ";", "}", ""], "natrual_language": ["getMachineOpValue", "-", "Return", "binary", "encoding", "of", "operand", "."], "TS_V_token": ["DLX", "DLX", "DLX", "DLX", "0", "0"], "File": "DLXMCCodeEmitter", "Func": "getMachineOpValue", "Target": "DLX", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 12735, "Length": 176} {"ground_truth": ["", "static", "bool", "classof", "(", "const", "MCExpr", "*", "E", ")", "{", "return", "E", "->", "getKind", "(", ")", "==", "MCExpr", "::", "Target", ";", "}", ""], "natrual_language": ["Methods", "for", "support", "type", "inquiry", "through", "isa", ",", "cast", ",", "and", "dyn_cast", ":"], "TS_V_token": ["DLX"], "File": "DLXMCExpr", "Func": "classof", "Target": "DLX", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 12736, "Length": 22} {"ground_truth": ["", "const", "DLXMCExpr", "*", "DLXMCExpr", "::", "create", "(", "VariantKind", "Kind", ",", "const", "MCExpr", "*", "Expr", ",", "MCContext", "&", "Ctx", ")", "{", "return", "new", "(", "Ctx", ")", "DLXMCExpr", "(", "Kind", ",", "Expr", ")", ";", "}", ""], "natrual_language": ["This", "creates", "an", "identified", "struct", "."], "TS_V_token": ["DLX", "DLX", "DLX", "DLX"], "File": "DLXMCExpr", "Func": "create", "Target": "DLX", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 12737, "Length": 33} {"ground_truth": ["", "MCFragment", "*", "findAssociatedFragment", "(", ")", "const", "override", "{", "return", "getSubExpr", "(", ")", "->", "findAssociatedFragment", "(", ")", ";", "}", ""], "natrual_language": ["Find", "the", "``", "associated", "section", "''", "for", "this", "expression", ",", "which", "is", "currently", "defined", "as", "the", "absolute", "section", "for", "constants", ",", "or", "otherwise", "the", "section", "associated", "with", "the", "first", "defined", "symbol", "in", "the", "expression", "."], "TS_V_token": ["DLX"], "File": "DLXMCExpr", "Func": "findAssociatedFragment", "Target": "DLX", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 12738, "Length": 18} {"ground_truth": ["", "VariantKind", "getKind", "(", ")", "const", "{", "return", "Kind", ";", "}", ""], "natrual_language": ["Returns", "the", "Kind", "of", "lane", "offset", "."], "TS_V_token": ["DLX"], "File": "DLXMCExpr", "Func": "getKind", "Target": "DLX", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 12739, "Length": 10} {"ground_truth": ["", "const", "MCExpr", "*", "getSubExpr", "(", ")", "const", "{", "return", "Expr", ";", "}", ""], "natrual_language": ["getSubExpr", "-", "Get", "the", "child", "of", "this", "expression", "."], "TS_V_token": ["DLX"], "File": "DLXMCExpr", "Func": "getSubExpr", "Target": "DLX", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 12740, "Length": 12} {"ground_truth": ["", "MCSymbol", "*", "DLXMCInstLower", "::", "GetBlockAddressSymbol", "(", "const", "MachineOperand", "&", "MO", ")", "const", "{", "return", "Printer", ".", "GetBlockAddressSymbol", "(", "MO", ".", "getBlockAddress", "(", ")", ")", ";", "}", ""], "natrual_language": ["Return", "the", "MCSymbol", "used", "to", "satisfy", "BlockAddress", "uses", "of", "the", "specified", "basic", "block", "."], "TS_V_token": ["DLX", "DLX"], "File": "DLXMCInstLower", "Func": "GetBlockAddressSymbol", "Target": "DLX", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 12741, "Length": 26} {"ground_truth": ["", "MCSymbol", "*", "DLXMCInstLower", "::", "GetExternalSymbolSymbol", "(", "const", "MachineOperand", "&", "MO", ")", "const", "{", "return", "Printer", ".", "GetExternalSymbolSymbol", "(", "MO", ".", "getSymbolName", "(", ")", ")", ";", "}", ""], "natrual_language": ["Return", "the", "MCSymbol", "for", "the", "specified", "ExternalSymbol", "."], "TS_V_token": ["DLX", "DLX"], "File": "DLXMCInstLower", "Func": "GetExternalSymbolSymbol", "Target": "DLX", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 12742, "Length": 26} {"ground_truth": ["", "bool", "evaluateBranch", "(", "const", "MCInst", "&", "Inst", ",", "uint64_t", "Addr", ",", "uint64_t", "Size", ",", "uint64_t", "&", "Target", ")", "const", "override", "{", "if", "(", "Inst", ".", "getNumOperands", "(", ")", "==", "0", ")", "return", "false", ";", "if", "(", "Info", "->", "get", "(", "Inst", ".", "getOpcode", "(", ")", ")", ".", "OpInfo", "[", "0", "]", ".", "OperandType", "==", "MCOI", "::", "OPERAND_PCREL", ")", "{", "int64_t", "Imm", "=", "Inst", ".", "getOperand", "(", "0", ")", ".", "getImm", "(", ")", ";", "Target", "=", "Addr", "+", "Size", "+", "Imm", ";", "return", "true", ";", "}", "else", "{", "int64_t", "Imm", "=", "Inst", ".", "getOperand", "(", "0", ")", ".", "getImm", "(", ")", ";", "if", "(", "Imm", "==", "0", ")", "return", "false", ";", "Target", "=", "Imm", ";", "return", "true", ";", "}", "}", ""], "natrual_language": ["Given", "a", "branch", "instruction", "try", "to", "get", "the", "address", "the", "branch", "targets", "."], "TS_V_token": ["DLX", "0", "0", "0", "0", "0"], "File": "DLXMCTargetDesc", "Func": "evaluateBranch", "Target": "DLX", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 12743, "Length": 119} {"ground_truth": ["", "StringRef", "getPassName", "(", ")", "const", "override", "{", "return", "\"DLX load / store optimization pass\"", ";", "}", ""], "natrual_language": ["getPassName", "-", "Return", "a", "nice", "clean", "name", "for", "a", "pass", "."], "TS_V_token": ["DLX", "\"DLX load / store optimization pass\""], "File": "DLXMemAluCombiner", "Func": "getPassName", "Target": "DLX", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 12744, "Length": 11} {"ground_truth": ["", "bool", "DLXMemAluCombiner", "::", "runOnMachineFunction", "(", "MachineFunction", "&", "MF", ")", "{", "if", "(", "DisableMemAluCombiner", ")", "return", "false", ";", "TII", "=", "MF", ".", "getSubtarget", "<", "DLXSubtarget", ">", "(", ")", ".", "getInstrInfo", "(", ")", ";", "bool", "Modified", "=", "false", ";", "for", "(", "MfIterator", "MFI", "=", "MF", ".", "begin", "(", ")", ";", "MFI", "!=", "MF", ".", "end", "(", ")", ";", "++", "MFI", ")", "{", "Modified", "|=", "combineMemAluInBasicBlock", "(", "&", "*", "MFI", ")", ";", "}", "return", "Modified", ";", "}", ""], "natrual_language": ["runOnMachineFunction", "-", "Emit", "the", "function", "body", "."], "TS_V_token": ["DLX", "DLX", "DLX"], "File": "DLXMemAluCombiner", "Func": "runOnMachineFunction", "Target": "DLX", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 12745, "Length": 74} {"ground_truth": ["", "void", "DLXRegisterInfo", "::", "eliminateFrameIndex", "(", "MachineBasicBlock", "::", "iterator", "II", ",", "int", "SPAdj", ",", "unsigned", "FIOperandNum", ",", "RegScavenger", "*", "RS", ")", "const", "{", "}", ""], "natrual_language": ["This", "method", "must", "be", "overriden", "to", "eliminate", "abstract", "frame", "indices", "from", "instructions", "which", "may", "use", "them", "."], "TS_V_token": ["DLX", "DLX"], "File": "DLXRegisterInfo", "Func": "eliminateFrameIndex", "Target": "DLX", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 12746, "Length": 23} {"ground_truth": ["", "const", "uint16_t", "*", "DLXRegisterInfo", "::", "getCalleeSavedRegs", "(", "const", "MachineFunction", "*", ")", "const", "{", "const", "uint16_t", "t", "=", "5", ";", "return", "&", "t", ";", "}", ""], "natrual_language": ["Code", "Generation", "virtual", "methods", "..."], "TS_V_token": ["DLX", "DLX", "5"], "File": "DLXRegisterInfo", "Func": "getCalleeSavedRegs", "Target": "DLX", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 12747, "Length": 24} {"ground_truth": ["", "const", "uint32_t", "*", "DLXRegisterInfo", "::", "getCallPreservedMask", "(", "const", "MachineFunction", "&", ",", "CallingConv", "::", "ID", ")", "const", "{", "return", "nullptr", ";", "}", ""], "natrual_language": ["Return", "a", "mask", "of", "call-preserved", "registers", "for", "the", "given", "calling", "convention", "on", "the", "current", "function", "."], "TS_V_token": ["DLX", "DLX"], "File": "DLXRegisterInfo", "Func": "getCallPreservedMask", "Target": "DLX", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 12748, "Length": 21} {"ground_truth": ["", "unsigned", "DLXRegisterInfo", "::", "getFrameRegister", "(", "const", "MachineFunction", "&", ")", "const", "{", "return", "DLX", "::", "FP", ";", "}", ""], "natrual_language": ["Debug", "information", "queries", "."], "TS_V_token": ["DLX", "DLX", "DLX::FP"], "File": "DLXRegisterInfo", "Func": "getFrameRegister", "Target": "DLX", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 12749, "Length": 17} {"ground_truth": ["", "unsigned", "DLXRegisterInfo", "::", "getRARegister", "(", ")", "const", "{", "return", "DLX", "::", "RA", ";", "}", ""], "natrual_language": ["This", "method", "should", "return", "the", "register", "where", "the", "return", "address", "can", "be", "found", "."], "TS_V_token": ["DLX", "DLX", "DLX::RA"], "File": "DLXRegisterInfo", "Func": "getRARegister", "Target": "DLX", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 12750, "Length": 14} {"ground_truth": ["", "BitVector", "DLXRegisterInfo", "::", "getReservedRegs", "(", "const", "MachineFunction", "&", "MF", ")", "const", "{", "BitVector", "Reserved", "(", "getNumRegs", "(", ")", ")", ";", "Reserved", ".", "set", "(", "DLX", "::", "RA", ")", ";", "Reserved", ".", "set", "(", "DLX", "::", "FP", ")", ";", "Reserved", ".", "set", "(", "DLX", "::", "SP", ")", ";", "if", "(", "hasBasePointer", "(", "MF", ")", ")", "Reserved", ".", "set", "(", "getBaseRegister", "(", ")", ")", ";", "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": ["DLX", "DLX", "DLX::RA", "DLX::FP", "DLX::SP"], "File": "DLXRegisterInfo", "Func": "getReservedRegs", "Target": "DLX", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 12751, "Length": 67} {"ground_truth": ["", "bool", "DLXRegisterInfo", "::", "requiresRegisterScavenging", "(", "const", "MachineFunction", "&", ")", "const", "{", "return", "true", ";", "}", ""], "natrual_language": ["Returns", "true", "if", "the", "target", "requires", "(", "and", "can", "make", "use", "of", ")", "the", "register", "scavenger", "."], "TS_V_token": ["DLX", "DLX"], "File": "DLXRegisterInfo", "Func": "requiresRegisterScavenging", "Target": "DLX", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 12752, "Length": 15} {"ground_truth": ["", "bool", "DLXRegisterInfo", "::", "trackLivenessAfterRegAlloc", "(", "const", "MachineFunction", "&", ")", "const", "{", "return", "true", ";", "}", ""], "natrual_language": ["Returns", "true", "if", "the", "live-ins", "should", "be", "tracked", "after", "register", "allocation", "."], "TS_V_token": ["DLX", "DLX"], "File": "DLXRegisterInfo", "Func": "trackLivenessAfterRegAlloc", "Target": "DLX", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 12753, "Length": 15} {"ground_truth": ["", "SDValue", "DLXSelectionDAGInfo", "::", "EmitTargetCodeForMemcpy", "(", "SelectionDAG", "&", ",", "const", "SDLoc", "&", ",", "SDValue", ",", "SDValue", ",", "SDValue", ",", "SDValue", "Size", ",", "unsigned", ",", "bool", ",", "bool", ",", "MachinePointerInfo", ",", "MachinePointerInfo", ")", "const", "{", "ConstantSDNode", "*", "ConstantSize", "=", "dyn_cast", "<", "ConstantSDNode", ">", "(", "Size", ")", ";", "if", "(", "!", "ConstantSize", ")", "return", "SDValue", "(", ")", ";", "return", "SDValue", "(", ")", ";", "}", ""], "natrual_language": ["Emit", "target-specific", "code", "that", "performs", "a", "memcpy", "."], "TS_V_token": ["DLX", "DLX"], "File": "DLXSelectionDAGInfo", "Func": "EmitTargetCodeForMemcpy", "Target": "DLX", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 12754, "Length": 61} {"ground_truth": ["", "bool", "enableMachineScheduler", "(", ")", "const", "override", "{", "return", "true", ";", "}", ""], "natrual_language": ["Enable", "the", "MachineScheduler", "pass", "for", "all", "X86", "subtargets", "."], "TS_V_token": ["DLX"], "File": "DLXSubtarget", "Func": "enableMachineScheduler", "Target": "DLX", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 12755, "Length": 11} {"ground_truth": ["", "const", "DLXInstrInfo", "*", "getInstrInfo", "(", ")", "const", "override", "{", "return", "&", "InstrInfo", ";", "}", ""], "natrual_language": ["TargetInstrInfo", "getter", "."], "TS_V_token": ["DLX", "DLX"], "File": "DLXSubtarget", "Func": "getInstrInfo", "Target": "DLX", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 12756, "Length": 14} {"ground_truth": ["", "const", "DLXRegisterInfo", "*", "getRegisterInfo", "(", ")", "const", "override", "{", "return", "&", "InstrInfo", ".", "getRegisterInfo", "(", ")", ";", "}", ""], "natrual_language": ["getRegisterInfo", "-", "TargetInstrInfo", "is", "a", "superset", "of", "MRegister", "info", "."], "TS_V_token": ["DLX", "DLX"], "File": "DLXSubtarget", "Func": "getRegisterInfo", "Target": "DLX", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 12757, "Length": 18} {"ground_truth": ["", "DLXSubtarget", "&", "DLXSubtarget", "::", "initializeSubtargetDependencies", "(", "StringRef", "CPU", ",", "StringRef", "FS", ")", "{", "initSubtargetFeatures", "(", "CPU", ",", "FS", ")", ";", "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": ["DLX", "DLX", "DLX"], "File": "DLXSubtarget", "Func": "initializeSubtargetDependencies", "Target": "DLX", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 12758, "Length": 25} {"ground_truth": ["", "bool", "DLXPassConfig", "::", "addInstSelector", "(", ")", "{", "addPass", "(", "createDLXISelDag", "(", "getDLXTargetMachine", "(", ")", ")", ")", ";", "return", "false", ";", "}", ""], "natrual_language": ["addInstSelector", "-", "This", "method", "should", "install", "an", "instruction", "selector", "pass", ",", "which", "converts", "from", "LLVM", "code", "to", "machine", "instructions", "."], "TS_V_token": ["DLX", "DLX", "DLX", "DLX"], "File": "DLXTargetMachine", "Func": "addInstSelector", "Target": "DLX", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 12759, "Length": 21} {"ground_truth": ["", "void", "DLXPassConfig", "::", "addPreEmitPass", "(", ")", "{", "addPass", "(", "createDLXDelaySlotFillerPass", "(", "getDLXTargetMachine", "(", ")", ")", ")", ";", "}", ""], "natrual_language": ["This", "pass", "may", "be", "implemented", "by", "targets", "that", "want", "to", "run", "passes", "immediately", "before", "machine", "code", "is", "emitted", "."], "TS_V_token": ["DLX", "DLX", "DLX", "DLX"], "File": "DLXTargetMachine", "Func": "addPreEmitPass", "Target": "DLX", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 12760, "Length": 18} {"ground_truth": ["", "void", "DLXPassConfig", "::", "addPreSched2", "(", ")", "{", "addPass", "(", "createDLXMemAluCombinerPass", "(", ")", ")", ";", "}", ""], "natrual_language": ["This", "method", "may", "be", "implemented", "by", "targets", "that", "want", "to", "run", "passes", "after", "prolog-epilog", "insertion", "and", "before", "the", "second", "instruction", "scheduling", "pass", "."], "TS_V_token": ["DLX", "DLX", "DLX"], "File": "DLXTargetMachine", "Func": "addPreSched2", "Target": "DLX", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 12761, "Length": 15} {"ground_truth": ["", "TargetPassConfig", "*", "DLXTargetMachine", "::", "createPassConfig", "(", "PassManagerBase", "&", "PassManager", ")", "{", "return", "new", "DLXPassConfig", "(", "*", "this", ",", "&", "PassManager", ")", ";", "}", ""], "natrual_language": ["Create", "a", "pass", "configuration", "object", "to", "be", "used", "by", "addPassToEmitX", "methods", "for", "generating", "a", "pipeline", "of", "CodeGen", "passes", "."], "TS_V_token": ["DLX", "DLX", "DLX"], "File": "DLXTargetMachine", "Func": "createPassConfig", "Target": "DLX", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 12762, "Length": 23} {"ground_truth": ["", "TargetLoweringObjectFile", "*", "getObjFileLowering", "(", ")", "const", "override", "{", "return", "TLOF", ".", "get", "(", ")", ";", "}", ""], "natrual_language": ["Return", "information", "about", "object", "file", "lowering", "."], "TS_V_token": ["DLX"], "File": "DLXTargetMachine", "Func": "getObjFileLowering", "Target": "DLX", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 12763, "Length": 16} {"ground_truth": ["", "const", "DLXSubtarget", "*", "getSubtargetImpl", "(", "const", "llvm", "::", "Function", "&", ")", "const", "override", "{", "return", "&", "Subtarget", ";", "}", ""], "natrual_language": ["Virtual", "method", "implemented", "by", "subclasses", "that", "returns", "a", "reference", "to", "that", "target", "'s", "TargetSubtargetInfo-derived", "member", "variable", "."], "TS_V_token": ["DLX", "DLX"], "File": "DLXTargetMachine", "Func": "getSubtargetImpl", "Target": "DLX", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 12764, "Length": 19} {"ground_truth": ["", "TargetTransformInfo", "DLXTargetMachine", "::", "getTargetTransformInfo", "(", "const", "Function", "&", "F", ")", "{", "return", "TargetTransformInfo", "(", "DLXTTIImpl", "(", "this", ",", "F", ")", ")", ";", "}", ""], "natrual_language": ["Get", "a", "TargetTransformInfo", "implementation", "for", "the", "target", "."], "TS_V_token": ["DLX", "DLX", "DLX"], "File": "DLXTargetMachine", "Func": "getTargetTransformInfo", "Target": "DLX", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 12765, "Length": 23} {"ground_truth": ["", "bool", "isMachineVerifierClean", "(", ")", "const", "override", "{", "return", "false", ";", "}", ""], "natrual_language": ["Returns", "true", "if", "the", "target", "is", "expected", "to", "pass", "all", "machine", "verifier", "checks", "."], "TS_V_token": ["DLX"], "File": "DLXTargetMachine", "Func": "isMachineVerifierClean", "Target": "DLX", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 12766, "Length": 11} {"ground_truth": ["", "MCSection", "*", "DLXTargetObjectFile", "::", "getSectionForConstant", "(", "const", "DataLayout", "&", "DL", ",", "SectionKind", "Kind", ",", "const", "Constant", "*", "C", ",", "unsigned", "&", "Align", ")", "const", "{", "if", "(", "isConstantInSmallSection", "(", "DL", ",", "C", ")", ")", "return", "SmallDataSection", ";", "return", "TargetLoweringObjectFileELF", "::", "getSectionForConstant", "(", "DL", ",", "Kind", ",", "C", ",", "Align", ")", ";", "}", ""], "natrual_language": ["Given", "a", "constant", "with", "the", "SectionKind", ",", "return", "a", "section", "that", "it", "should", "be", "placed", "in", "."], "TS_V_token": ["DLX", "DLX"], "File": "DLXTargetObjectFile", "Func": "getSectionForConstant", "Target": "DLX", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 12767, "Length": 52} {"ground_truth": ["", "void", "DLXTargetObjectFile", "::", "Initialize", "(", "MCContext", "&", "Ctx", ",", "const", "TargetMachine", "&", "TM", ")", "{", "TargetLoweringObjectFileELF", "::", "Initialize", "(", "Ctx", ",", "TM", ")", ";", "InitializeELF", "(", "TM", ".", "Options", ".", "UseInitArray", ")", ";", "SmallDataSection", "=", "getContext", "(", ")", ".", "getELFSection", "(", "\".sdata\"", ",", "ELF", "::", "SHT_PROGBITS", ",", "ELF", "::", "SHF_WRITE", "|", "ELF", "::", "SHF_ALLOC", ")", ";", "SmallBSSSection", "=", "getContext", "(", ")", ".", "getELFSection", "(", "\".sbss\"", ",", "ELF", "::", "SHT_NOBITS", ",", "ELF", "::", "SHF_WRITE", "|", "ELF", "::", "SHF_ALLOC", ")", ";", "}", ""], "natrual_language": ["This", "method", "must", "be", "called", "before", "any", "actual", "lowering", "is", "done", "."], "TS_V_token": ["DLX", "DLX", "\".sdata\"", "\".sbss\""], "File": "DLXTargetObjectFile", "Func": "Initialize", "Target": "DLX", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 12768, "Length": 80} {"ground_truth": ["", "bool", "DLXTargetObjectFile", "::", "isConstantInSmallSection", "(", "const", "DataLayout", "&", "DL", ",", "const", "Constant", "*", "CN", ")", "const", "{", "return", "isInSmallSection", "(", "DL", ".", "getTypeAllocSize", "(", "CN", "->", "getType", "(", ")", ")", ")", ";", "}", ""], "natrual_language": ["Return", "true", "if", "this", "constant", "should", "be", "placed", "into", "small", "data", "section", "."], "TS_V_token": ["DLX", "DLX"], "File": "DLXTargetObjectFile", "Func": "isConstantInSmallSection", "Target": "DLX", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 12769, "Length": 33} {"ground_truth": ["", "bool", "DLXTargetObjectFile", "::", "isGlobalInSmallSection", "(", "const", "GlobalObject", "*", "GO", ",", "const", "TargetMachine", "&", "TM", ",", "SectionKind", "Kind", ")", "const", "{", "return", "isGlobalInSmallSectionImpl", "(", "GO", ",", "TM", ")", ";", "}", ""], "natrual_language": ["Return", "true", "if", "this", "global", "address", "should", "be", "placed", "into", "small", "data/bss", "section", "."], "TS_V_token": ["DLX", "DLX"], "File": "DLXTargetObjectFile", "Func": "isGlobalInSmallSection", "Target": "DLX", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 12770, "Length": 29} {"ground_truth": ["", "unsigned", "getArithmeticInstrCost", "(", "unsigned", "Opcode", ",", "Type", "*", "Ty", ",", "TTI", "::", "OperandValueKind", "Opd1Info", "=", "TTI", "::", "OK_AnyValue", ",", "TTI", "::", "OperandValueKind", "Opd2Info", "=", "TTI", "::", "OK_AnyValue", ",", "TTI", "::", "OperandValueProperties", "Opd1PropInfo", "=", "TTI", "::", "OP_None", ",", "TTI", "::", "OperandValueProperties", "Opd2PropInfo", "=", "TTI", "::", "OP_None", ",", "ArrayRef", "<", "const", "Value", "*", ">", "Args", "=", "ArrayRef", "<", "const", "Value", "*", ">", "(", ")", ")", "{", "int", "ISD", "=", "TLI", "->", "InstructionOpcodeToISD", "(", "Opcode", ")", ";", "switch", "(", "ISD", ")", "{", "default", ":", "return", "BaseT", "::", "getArithmeticInstrCost", "(", "Opcode", ",", "Ty", ",", "Opd1Info", ",", "Opd2Info", ",", "Opd1PropInfo", ",", "Opd2PropInfo", ")", ";", "case", "ISD", "::", "MUL", ":", "case", "ISD", "::", "SDIV", ":", "case", "ISD", "::", "UDIV", ":", "case", "ISD", "::", "UREM", ":", "return", "64", "*", "BaseT", "::", "getArithmeticInstrCost", "(", "Opcode", ",", "Ty", ",", "Opd1Info", ",", "Opd2Info", ",", "Opd1PropInfo", ",", "Opd2PropInfo", ")", ";", "}", "}", ""], "natrual_language": ["This", "is", "an", "approximation", "of", "reciprocal", "throughput", "of", "a", "math/logic", "op", "."], "TS_V_token": ["DLX", "ISD::MUL", "ISD::SDIV", "ISD::UDIV", "ISD::UREM", "64"], "File": "DLXTargetTransformInfo", "Func": "getArithmeticInstrCost", "Target": "DLX", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 12771, "Length": 141} {"ground_truth": ["", "int", "getIntImmCost", "(", "Intrinsic", "::", "ID", "IID", ",", "unsigned", "Idx", ",", "const", "APInt", "&", "Imm", ",", "Type", "*", "Ty", ")", "{", "return", "getIntImmCost", "(", "Imm", ",", "Ty", ")", ";", "}", ""], "natrual_language": ["Calculate", "the", "cost", "of", "materializing", "a", "64-bit", "value", "."], "TS_V_token": ["DLX", "Intrinsic::ID"], "File": "DLXTargetTransformInfo", "Func": "getIntImmCost", "Target": "DLX", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 12772, "Length": 30} {"ground_truth": ["", "TargetTransformInfo", "::", "PopcntSupportKind", "getPopcntSupport", "(", "unsigned", "TyWidth", ")", "{", "if", "(", "TyWidth", "==", "32", ")", "return", "TTI", "::", "PSK_FastHardware", ";", "return", "TTI", "::", "PSK_Software", ";", "}", ""], "natrual_language": ["Return", "hardware", "support", "for", "population", "count", "."], "TS_V_token": ["DLX", "32"], "File": "DLXTargetTransformInfo", "Func": "getPopcntSupport", "Target": "DLX", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 12773, "Length": 26} {"ground_truth": ["", "const", "DLXTargetLowering", "*", "getTLI", "(", ")", "const", "{", "return", "TLI", ";", "}", ""], "natrual_language": ["Getter", "for", "generic", "TargetLowering", "class", "."], "TS_V_token": ["DLX", "DLX"], "File": "DLXTargetTransformInfo", "Func": "getTLI", "Target": "DLX", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 12774, "Length": 12} {"ground_truth": ["", "bool", "shouldBuildLookupTables", "(", ")", "const", "{", "return", "false", ";", "}", ""], "natrual_language": ["Return", "true", "if", "switches", "should", "be", "turned", "into", "lookup", "tables", "for", "the", "target", "."], "TS_V_token": ["DLX"], "File": "DLXTargetTransformInfo", "Func": "shouldBuildLookupTables", "Target": "DLX", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 12775, "Length": 10}