ground_truth listlengths 8 512 | natrual_language listlengths 1 243 | TS_V_token listlengths 1 182 | File stringlengths 2 45 | Func stringlengths 1 56 | Target stringclasses 175
values | Target_Clf stringclasses 6
values | Compiler_Type stringclasses 2
values | Idx int64 0 36.2k | Length int64 6 510 | Cover_Rate float64 1 1 | Template_token listlengths 0 0 |
|---|---|---|---|---|---|---|---|---|---|---|---|
[
"<s>",
"bool",
"AArch64ExpandPseudo",
"::",
"runOnMachineFunction",
"(",
"MachineFunction",
"&",
"MF",
")",
"{",
"TII",
"=",
"static_cast",
"<",
"const",
"AArch64InstrInfo",
"*",
">",
"(",
"MF",
".",
"getSubtarget",
"(",
")",
".",
"getInstrInfo",
"(",
")",
"... | [
"runOnMachineFunction",
"-",
"Emit",
"the",
"function",
"body",
"."
] | [
"AArch64",
"AArch64",
"AArch64"
] | AArch64ExpandPseudoInsts30 | runOnMachineFunction | AArch64 | CPU | LLVM | 22,300 | 72 | 1 | [] |
[
"<s>",
"const",
"char",
"*",
"MipsTargetLowering",
"::",
"getTargetNodeName",
"(",
"unsigned",
"Opcode",
")",
"const",
"{",
"switch",
"(",
"Opcode",
")",
"{",
"case",
"MipsISD",
"::",
"JmpLink",
":",
"return",
"\"MipsISD::JmpLink\"",
";",
"case",
"MipsISD",
":... | [
"getTargetNodeName",
"-",
"This",
"method",
"returns",
"the",
"name",
"of",
"a",
"target",
"specific"
] | [
"Mips",
"Mips",
"MipsISD::JmpLink",
"\"MipsISD::JmpLink\"",
"MipsISD::TailCall",
"\"MipsISD::TailCall\"",
"MipsISD::Hi",
"\"MipsISD::Hi\"",
"MipsISD::Lo",
"\"MipsISD::Lo\"",
"MipsISD::GPRel",
"\"MipsISD::GPRel\"",
"MipsISD::ThreadPointer",
"\"MipsISD::ThreadPointer\"",
"MipsISD::Ret",
... | MipsISelLowering51 | getTargetNodeName | Mips | CPU | LLVM | 22,301 | 392 | 1 | [] |
[
"<s>",
"bool",
"HexagonInstrInfo",
"::",
"getMemOperandsWithOffsetWidth",
"(",
"const",
"MachineInstr",
"&",
"LdSt",
",",
"SmallVectorImpl",
"<",
"const",
"MachineOperand",
"*",
">",
"&",
"BaseOps",
",",
"int64_t",
"&",
"Offset",
",",
"bool",
"&",
"OffsetIsScalabl... | [
"Get",
"zero",
"or",
"more",
"base",
"operands",
"and",
"the",
"byte",
"offset",
"of",
"an",
"instruction",
"that",
"reads/writes",
"memory",
"."
] | [
"Hexagon",
"Hexagon"
] | HexagonInstrInfo15 | getMemOperandsWithOffsetWidth | Hexagon | DSP | LLVM | 22,302 | 82 | 1 | [] |
[
"<s>",
"static",
"unsigned",
"int",
"mips_build_lower",
"(",
"struct",
"mips_integer_op",
"*",
"codes",
",",
"unsigned",
"HOST_WIDE_INT",
"value",
")",
"{",
"unsigned",
"HOST_WIDE_INT",
"high",
";",
"unsigned",
"int",
"i",
";",
"high",
"=",
"value",
"&",
"~",
... | [
"As",
"for",
"mips_build_shift",
",",
"but",
"assume",
"that",
"the",
"final",
"action",
"will",
"be",
"an",
"IOR",
"or",
"PLUS",
"operation",
"."
] | [
"mips",
"0xffff",
"0x18000",
"0x18000",
"0xffff",
"1"
] | mips | mips_build_lower | mips | CPU | GCC | 22,303 | 123 | 1 | [] |
[
"<s>",
"int",
"SparcSubtarget",
"::",
"getAdjustedFrameSize",
"(",
"int",
"frameSize",
")",
"const",
"{",
"if",
"(",
"is64Bit",
"(",
")",
")",
"{",
"frameSize",
"+=",
"128",
";",
"frameSize",
"=",
"RoundUpToAlignment",
"(",
"frameSize",
",",
"16",
")",
";"... | [
"Given",
"a",
"actual",
"stack",
"size",
"as",
"determined",
"by",
"FrameInfo",
",",
"this",
"function",
"returns",
"adjusted",
"framesize",
"which",
"includes",
"space",
"for",
"RSA",
",",
"return",
"address",
",",
"and",
"frame",
"poitner",
"."
] | [
"Sparc",
"Sparc",
"128",
"16",
"92",
"8"
] | SparcSubtarget26 | getAdjustedFrameSize | Sparc | CPU | LLVM | 22,304 | 51 | 1 | [] |
[
"<s>",
"static",
"bool",
"rs6000_assemble_integer",
"(",
"rtx",
"x",
",",
"unsigned",
"int",
"size",
",",
"int",
"aligned_p",
")",
"{",
"if",
"(",
"RELOCATABLE_NEEDS_FIXUP",
"&&",
"size",
"==",
"4",
"&&",
"aligned_p",
")",
"{",
"extern",
"int",
"in_toc_secti... | [
"Target",
"hook",
"for",
"assembling",
"integer",
"objects",
".",
"The",
"powerpc",
"version",
"has",
"to",
"handle",
"fixup",
"entries",
"for",
"relocatable",
"code",
"if",
"RELOCATABLE_NEEDS_FIXUP",
"is",
"defined",
".",
"It",
"also",
"needs",
"to",
"handle",
... | [
"rs6000",
"4",
"0",
"256",
"1",
"\"LCP\"",
"\"\\t.long\\t(\"",
"\")@fixup\\n\"",
"\"\\t.section\\t\\\".fixup\\\",\\\"aw\\\"\\n\"",
"2",
"\"\\t.long\\t\"",
"\"\\n\\t.previous\\n\"",
"0",
"0",
"0",
"0",
"\"\\t.long\\t%s\\n\""
] | rs60003 | rs6000_assemble_integer | rs6000 | CPU | GCC | 22,305 | 248 | 1 | [] |
[
"<s>",
"static",
"void",
"ix86_function_arg_advance",
"(",
"cumulative_args_t",
"cum_v",
",",
"const",
"function_arg_info",
"&",
"arg",
")",
"{",
"CUMULATIVE_ARGS",
"*",
"cum",
"=",
"get_cumulative_args",
"(",
"cum_v",
")",
";",
"machine_mode",
"mode",
"=",
"arg",... | [
"Update",
"the",
"data",
"in",
"CUM",
"to",
"advance",
"over",
"an",
"argument",
"of",
"mode",
"MODE",
"and",
"data",
"type",
"TYPE",
".",
"(",
"TYPE",
"is",
"null",
"for",
"libcalls",
"where",
"that",
"information",
"may",
"not",
"be",
"available",
".",... | [
"i386"
] | i386 | ix86_function_arg_advance | i386 | CPU | GCC | 22,306 | 185 | 1 | [] |
[
"<s>",
"void",
"AArch64AsmPrinter",
"::",
"emitFunctionBodyEnd",
"(",
")",
"{",
"if",
"(",
"!",
"AArch64FI",
"->",
"getLOHRelated",
"(",
")",
".",
"empty",
"(",
")",
")",
"EmitLOHs",
"(",
")",
";",
"}",
"</s>"
] | [
"Targets",
"can",
"override",
"this",
"to",
"emit",
"stuff",
"after",
"the",
"last",
"basic",
"block",
"in",
"the",
"function",
"."
] | [
"AArch64",
"AArch64",
"AArch64"
] | AArch64AsmPrinter14 | emitFunctionBodyEnd | AArch64 | CPU | LLVM | 22,307 | 25 | 1 | [] |
[
"<s>",
"void",
"output_ascii",
"(",
"FILE",
"*",
"file",
",",
"const",
"char",
"*",
"p",
",",
"int",
"size",
")",
"{",
"int",
"i",
",",
"c",
";",
"const",
"char",
"*",
"pseudo",
"=",
"\"\\t.ascii\\t\"",
";",
"bool",
"delim",
"=",
"false",
";",
"if"... | [
"Output",
"an",
"assembler",
"pseudo-op",
"to",
"write",
"an",
"ASCII",
"string",
"of",
"N",
"characters",
"starting",
"at",
"P",
"to",
"FILE",
".",
"On",
"the",
"RS/6000",
",",
"we",
"have",
"to",
"do",
"this",
"using",
"the",
".byte",
"operation",
"and... | [
"pdp11",
"\"\\t.ascii\\t\"",
"1",
"\"\\t.asciz\\t\"",
"0",
"0xff",
"32",
"126",
"\"<%o>\"",
"\"\\t.byte \"",
"0",
"\"%#o\"",
"0xff",
"1"
] | pdp11 | output_ascii | pdp11 | MPU | GCC | 22,308 | 234 | 1 | [] |
[
"<s>",
"void",
"Cpu0DAGToDAGISel",
"::",
"Select",
"(",
"SDNode",
"*",
"Node",
")",
"{",
"unsigned",
"Opcode",
"=",
"Node",
"->",
"getOpcode",
"(",
")",
";",
"LLVM_DEBUG",
"(",
"errs",
"(",
")",
"<<",
"\"Selecting: \"",
";",
"Node",
"->",
"dump",
"(",
... | [
"Main",
"hook",
"for",
"targets",
"to",
"transform",
"nodes",
"into",
"machine",
"nodes",
"."
] | [
"Cpu0",
"Cpu0",
"\"Selecting: \"",
"\"\\n\"",
"\"== \"",
"\"\\n\"",
"1",
"ISD::GLOBAL_OFFSET_TABLE"
] | Cpu0ISelDAGToDAG | Select | Cpu0 | CPU | LLVM | 22,309 | 124 | 1 | [] |
[
"<s>",
"StringRef",
"getPassName",
"(",
")",
"const",
"override",
"{",
"return",
"\"2003f DAG->DAG Pattern Instruction Selection\"",
";",
"}",
"</s>"
] | [
"getPassName",
"-",
"Return",
"a",
"nice",
"clean",
"name",
"for",
"a",
"pass",
"."
] | [
"F2003f",
"\"2003f DAG->DAG Pattern Instruction Selection\""
] | F2003fISelDAGToDAG | getPassName | F2003f | CPU | LLVM | 22,310 | 11 | 1 | [] |
[
"<s>",
"void",
"ELFAArch64AsmBackend",
"::",
"applyFixup",
"(",
"const",
"MCFixup",
"&",
"Fixup",
",",
"char",
"*",
"Data",
",",
"unsigned",
"DataSize",
",",
"uint64_t",
"Value",
",",
"bool",
"IsPCRel",
")",
"const",
"{",
"if",
"(",
"!",
"IsLittleEndian",
... | [
"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",
"."
] | [
"AArch64",
"AArch64",
"\".eh_frame\"",
"AArch64"
] | AArch64AsmBackend | applyFixup | AArch64 | CPU | LLVM | 22,311 | 106 | 1 | [] |
[
"<s>",
"MachineBasicBlock",
"::",
"iterator",
"X86FrameLowering",
"::",
"eliminateCallFramePseudoInstr",
"(",
"MachineFunction",
"&",
"MF",
",",
"MachineBasicBlock",
"&",
"MBB",
",",
"MachineBasicBlock",
"::",
"iterator",
"I",
")",
"const",
"{",
"bool",
"reserveCallFr... | [
"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",
")",
"."
] | [
"X86",
"X86",
"0",
"0",
"1",
"0",
"X86",
"0"
] | X86FrameLowering102 | eliminateCallFramePseudoInstr | X86 | CPU | LLVM | 22,312 | 484 | 1 | [] |
[
"<s>",
"aarch64_svpattern",
"aarch64_svpattern_for_vl",
"(",
"machine_mode",
"pred_mode",
",",
"int",
"vl",
")",
"{",
"if",
"(",
"vl",
"<",
"0",
")",
"return",
"AARCH64_SV_ALL",
";",
"if",
"(",
"maybe_gt",
"(",
"vl",
",",
"GET_MODE_NUNITS",
"(",
"pred_mode",
... | [
"See",
"if",
"there",
"is",
"an",
"svpattern",
"that",
"encodes",
"an",
"SVE",
"predicate",
"of",
"mode",
"PRED_MODE",
"in",
"which",
"the",
"first",
"VL",
"bits",
"are",
"set",
"and",
"the",
"rest",
"are",
"clear",
".",
"Return",
"the",
"pattern",
"if",... | [
"aarch64",
"0",
"1",
"8",
"1",
"16",
"256",
"4",
"3",
"3",
"4",
"1"
] | aarch64 | aarch64_svpattern_for_vl | aarch64 | CPU | GCC | 22,313 | 162 | 1 | [] |
[
"<s>",
"bool",
"fixupNeedsRelaxation",
"(",
"const",
"MCFixup",
"&",
"Fixup",
",",
"uint64_t",
"Value",
",",
"const",
"MCRelaxableFragment",
"*",
"DF",
",",
"const",
"MCAsmLayout",
"&",
"Layout",
")",
"const",
"override",
"{",
"return",
"false",
";",
"}",
"<... | [
"Simple",
"predicate",
"for",
"targets",
"where",
"!",
"Resolved",
"implies",
"requiring",
"relaxation",
"."
] | [
"AMDGPU"
] | AMDGPUAsmBackend (2) | fixupNeedsRelaxation | AMDGPU | GPU | LLVM | 22,314 | 28 | 1 | [] |
[
"<s>",
"void",
"MipsRegisterInfo",
"::",
"emitPrologue",
"(",
"MachineFunction",
"&",
"MF",
")",
"const",
"{",
"MachineBasicBlock",
"&",
"MBB",
"=",
"MF",
".",
"front",
"(",
")",
";",
"MachineFrameInfo",
"*",
"MFI",
"=",
"MF",
".",
"getFrameInfo",
"(",
")"... | [
"emitProlog/emitEpilog",
"-",
"These",
"methods",
"insert",
"prolog",
"and",
"epilog",
"code",
"into",
"the",
"function",
"."
] | [
"Mips",
"Mips",
"Mips",
"Mips",
"Mips",
"Mips",
"0",
"Mips",
"Mips",
"Mips::NOREORDER",
"Mips::CPLOAD",
"Mips::NOMACRO",
"Mips::ADDiu",
"Mips::SP",
"Mips::SP",
"Mips::SW",
"Mips::RA",
"Mips::SP",
"Mips::SW",
"Mips::FP",
"Mips::SP",
"Mips::ADDu",
"Mips::FP",
"Mips::SP",
... | MipsRegisterInfo17 | emitPrologue | Mips | CPU | LLVM | 22,315 | 413 | 1 | [] |
[
"<s>",
"static",
"bool",
"alpha_pass_by_reference",
"(",
"cumulative_args_t",
"ca",
"ATTRIBUTE_UNUSED",
",",
"machine_mode",
"mode",
",",
"const_tree",
"type",
"ATTRIBUTE_UNUSED",
",",
"bool",
"named",
")",
"{",
"if",
"(",
"mode",
"==",
"SFmode",
"||",
"mode",
"... | [
"Return",
"true",
"if",
"TYPE",
"should",
"be",
"passed",
"by",
"invisible",
"reference",
"."
] | [
"alpha"
] | alpha6 | alpha_pass_by_reference | alpha | MPU | GCC | 22,316 | 43 | 1 | [] |
[
"<s>",
"bool",
"alpha_extra_constraint",
"(",
"rtx",
"value",
",",
"int",
"c",
")",
"{",
"switch",
"(",
"c",
")",
"{",
"case",
"'Q'",
":",
"return",
"normal_memory_operand",
"(",
"value",
",",
"VOIDmode",
")",
";",
"case",
"'R'",
":",
"return",
"direct_c... | [
"Implements",
"CONST_DOUBLE_OK_FOR_LETTER_P",
".",
"Return",
"true",
"if",
"VALUE",
"matches",
"for",
"C",
"."
] | [
"alpha",
"64"
] | alpha3 | alpha_extra_constraint | alpha | MPU | GCC | 22,317 | 115 | 1 | [] |
[
"<s>",
"void",
"MBlazeRegisterInfo",
"::",
"emitPrologue",
"(",
"MachineFunction",
"&",
"MF",
")",
"const",
"{",
"MachineBasicBlock",
"&",
"MBB",
"=",
"MF",
".",
"front",
"(",
")",
";",
"MachineFrameInfo",
"*",
"MFI",
"=",
"MF",
".",
"getFrameInfo",
"(",
"... | [
"emitProlog/emitEpilog",
"-",
"These",
"methods",
"insert",
"prolog",
"and",
"epilog",
"code",
"into",
"the",
"function",
"."
] | [
"MBlaze",
"MBlaze",
"MBlaze",
"MBlaze",
"MBlaze",
"MBlaze",
"0",
"28",
"28",
"MBlaze",
"MBlaze",
"MBlaze::ADDI",
"MBlaze::R1",
"MBlaze::R1",
"MBlaze::SWI",
"MBlaze::R15",
"MBlaze::R1",
"MBlaze::SWI",
"MBlaze::R19",
"MBlaze::R1",
"MBlaze::ADD",
"MBlaze::R19",
"MBlaze::R1",... | MBlazeRegisterInfo12 | emitPrologue | MBlaze | MPU | LLVM | 22,318 | 308 | 1 | [] |
[
"<s>",
"ArrayRef",
"<",
"const",
"Metadata",
"*",
">",
"getNonMDStrings",
"(",
")",
"const",
"{",
"return",
"makeArrayRef",
"(",
"MDs",
")",
".",
"slice",
"(",
"NumModuleMDs",
")",
".",
"slice",
"(",
"NumMDStrings",
")",
";",
"}",
"</s>"
] | [
"Get",
"the",
"non-MDString",
"metadata",
"for",
"this",
"block",
"."
] | [
"DirectX"
] | DXILValueEnumerator | getNonMDStrings | DirectX | Virtual ISA | LLVM | 22,319 | 28 | 1 | [] |
[
"<s>",
"static",
"bool",
"insn_clobbers_hbr",
"(",
"rtx_insn",
"*",
"insn",
")",
"{",
"if",
"(",
"INSN_P",
"(",
"insn",
")",
"&&",
"GET_CODE",
"(",
"PATTERN",
"(",
"insn",
")",
")",
"==",
"PARALLEL",
")",
"{",
"rtx",
"parallel",
"=",
"PATTERN",
"(",
... | [
"The",
"special",
"$",
"hbr",
"register",
"is",
"used",
"to",
"prevent",
"the",
"insn",
"scheduler",
"from",
"moving",
"hbr",
"insns",
"across",
"instructions",
"which",
"invalidate",
"them",
".",
"It",
"should",
"only",
"be",
"used",
"in",
"a",
"clobber",
... | [
"spu",
"0",
"1",
"0",
"0",
"0",
"0",
"1",
"0"
] | spu | insn_clobbers_hbr | spu | MPU | GCC | 22,320 | 115 | 1 | [] |
[
"<s>",
"bool",
"X86PassConfig",
"::",
"addPreRegAlloc",
"(",
")",
"{",
"PM",
"->",
"add",
"(",
"createX86MaxStackAlignmentHeuristicPass",
"(",
")",
")",
";",
"return",
"false",
";",
"}",
"</s>"
] | [
"This",
"method",
"may",
"be",
"implemented",
"by",
"targets",
"that",
"want",
"to",
"run",
"passes",
"immediately",
"before",
"register",
"allocation",
"."
] | [
"X86",
"X86",
"X86"
] | X86TargetMachine87 | addPreRegAlloc | X86 | CPU | LLVM | 22,321 | 20 | 1 | [] |
[
"<s>",
"static",
"void",
"emitSPUpdate",
"(",
"MachineBasicBlock",
"&",
"MBB",
",",
"MachineBasicBlock",
"::",
"iterator",
"&",
"MBBI",
",",
"unsigned",
"StackPtr",
",",
"int64_t",
"NumBytes",
",",
"bool",
"Is64Bit",
",",
"bool",
"IsLP64",
",",
"bool",
"UseLEA... | [
"Emit",
"a",
"series",
"of",
"instructions",
"to",
"increment",
"/",
"decrement",
"the",
"stack",
"pointer",
"by",
"a",
"constant",
"value",
"."
] | [
"X86",
"0",
"1LL",
"31",
"1",
"8",
"4",
"X86::RAX",
"X86::EAX",
"X86::PUSH64r",
"X86::PUSH32r",
"X86::POP64r",
"X86::POP32r",
"3"
] | X86FrameLowering115 | emitSPUpdate | X86 | CPU | LLVM | 22,322 | 372 | 1 | [] |
[
"<s>",
"void",
"SystemZFrameLowering",
"::",
"processFunctionBeforeFrameFinalized",
"(",
"MachineFunction",
"&",
"MF",
",",
"RegScavenger",
"*",
"RS",
")",
"const",
"{",
"MachineFrameInfo",
"&",
"MFFrame",
"=",
"MF",
".",
"getFrameInfo",
"(",
")",
";",
"if",
"("... | [
"processFunctionBeforeFrameFinalized",
"-",
"This",
"method",
"is",
"called",
"immediately",
"before",
"the",
"specified",
"function",
"'s",
"frame",
"layout",
"(",
"MF.getFrameInfo",
"(",
")",
")",
"is",
"finalized",
"."
] | [
"SystemZ",
"SystemZ",
"SystemZMC::CallFrameSize",
"0",
"0",
"0",
"12",
"8",
"8",
"8",
"8"
] | SystemZFrameLowering27 | processFunctionBeforeFrameFinalized | SystemZ | CPU | LLVM | 22,323 | 171 | 1 | [] |
[
"<s>",
"bool",
"WebAssemblyAddMissingPrototypes",
"::",
"runOnModule",
"(",
"Module",
"&",
"M",
")",
"{",
"LLVM_DEBUG",
"(",
"dbgs",
"(",
")",
"<<",
"\"runnning AddMissingPrototypes\\n\"",
")",
";",
"std",
"::",
"vector",
"<",
"std",
"::",
"pair",
"<",
"Functi... | [
"runOnModule",
"-",
"Virtual",
"method",
"overriden",
"by",
"subclasses",
"to",
"process",
"the",
"module",
"being",
"operated",
"on",
"."
] | [
"WebAssembly",
"WebAssembly",
"\"runnning AddMissingPrototypes\\n\"",
"\"no-prototype\"",
"\"Found no-prototype function: \"",
"\"\\n\"",
"\"Functions with 'no-prototype' attribute must take varargs: \"",
"0",
"\"Functions with 'no-prototype' attribute should not have params: \"",
"\"prototype-les... | WebAssemblyAddMissingPrototypes15 | runOnModule | WebAssembly | Virtual ISA | LLVM | 22,324 | 465 | 1 | [] |
[
"<s>",
"static",
"void",
"rs6000_trampoline_init",
"(",
"rtx",
"m_tramp",
",",
"tree",
"fndecl",
",",
"rtx",
"cxt",
")",
"{",
"int",
"regsize",
"=",
"(",
"TARGET_32BIT",
")",
"?",
"4",
":",
"8",
";",
"rtx",
"fnaddr",
"=",
"XEXP",
"(",
"DECL_RTL",
"(",
... | [
"Emit",
"RTL",
"insns",
"to",
"initialize",
"the",
"variable",
"parts",
"of",
"a",
"trampoline",
".",
"FNADDR",
"is",
"an",
"RTX",
"for",
"the",
"address",
"of",
"the",
"function",
"'s",
"pure",
"code",
".",
"CXT",
"is",
"an",
"RTX",
"for",
"the",
"sta... | [
"powerpcspe",
"4",
"8",
"0",
"0",
"\"You cannot take the address of a nested function if you use \"",
"\"the -mno-pointers-to-nested-functions option.\"",
"0",
"0",
"2",
"\"__trampoline_setup\""
] | powerpcspe | rs6000_trampoline_init | powerpcspe | CPU | GCC | 22,325 | 246 | 1 | [] |
[
"<s>",
"VSETVLIInfo",
"merge",
"(",
"const",
"VSETVLIInfo",
"&",
"Other",
")",
"const",
"{",
"assert",
"(",
"isValid",
"(",
")",
"&&",
"\"Can only merge with a valid VSETVLInfo\"",
")",
";",
"if",
"(",
"!",
"Other",
".",
"isValid",
"(",
")",
")",
"return",
... | [
"Merge",
"target",
"triples",
"."
] | [
"RISCV",
"\"Can only merge with a valid VSETVLInfo\""
] | RISCVInsertVSETVLI | merge | RISCV | CPU | LLVM | 22,326 | 49 | 1 | [] |
[
"<s>",
"static",
"rtx",
"visium_function_arg",
"(",
"cumulative_args_t",
"pcum_v",
",",
"enum",
"machine_mode",
"mode",
",",
"const_tree",
"type",
"ATTRIBUTE_UNUSED",
",",
"bool",
"named",
"ATTRIBUTE_UNUSED",
")",
"{",
"int",
"size",
";",
"CUMULATIVE_ARGS",
"*",
"... | [
"Define",
"how",
"arguments",
"are",
"passed",
".",
"A",
"range",
"of",
"general",
"registers",
"and",
"floating",
"registers",
"is",
"available",
"for",
"passing",
"arguments",
".",
"When",
"the",
"class",
"of",
"registers",
"which",
"an",
"argument",
"would"... | [
"visium",
"1",
"0",
"2"
] | visium2 | visium_function_arg | visium | Virtual ISA | GCC | 22,327 | 153 | 1 | [] |
[
"<s>",
"MCELFStreamer",
"&",
"getStreamer",
"(",
")",
"{",
"return",
"static_cast",
"<",
"MCELFStreamer",
"&",
">",
"(",
"Streamer",
")",
";",
"}",
"</s>"
] | [
"Return",
"the",
"output",
"streamer",
"for",
"the",
"assembler",
"."
] | [
"GBZ80"
] | GBZ80ELFStreamer | getStreamer | GBZ80 | MPU | LLVM | 22,328 | 17 | 1 | [] |
[
"<s>",
"SDValue",
"SITargetLowering",
"::",
"LowerOperation",
"(",
"SDValue",
"Op",
",",
"SelectionDAG",
"&",
"DAG",
")",
"const",
"{",
"switch",
"(",
"Op",
".",
"getOpcode",
"(",
")",
")",
"{",
"default",
":",
"return",
"AMDGPUTargetLowering",
"::",
"LowerO... | [
"LowerOperation",
"-",
"Provide",
"custom",
"lowering",
"hooks",
"for",
"some",
"operations",
"."
] | [
"AMDGPU",
"SI",
"AMDGPU",
"ISD::BRCOND",
"ISD::RETURNADDR",
"ISD::LOAD",
"2",
"\"Load should return a value and a chain\"",
"ISD::FSIN",
"ISD::FCOS",
"ISD::SELECT",
"ISD::FDIV",
"ISD::ATOMIC_CMP_SWAP",
"ISD::STORE",
"ISD::GlobalAddress",
"SI",
"SI",
"ISD::INTRINSIC_WO_CHAIN",
"SI... | SIISelLowering133 | LowerOperation | AMDGPU | GPU | LLVM | 22,329 | 499 | 1 | [] |
[
"<s>",
"void",
"X86RegisterInfo",
"::",
"eliminateFrameIndex",
"(",
"MachineBasicBlock",
"::",
"iterator",
"II",
",",
"int",
"SPAdj",
",",
"RegScavenger",
"*",
"RS",
")",
"const",
"{",
"assert",
"(",
"SPAdj",
"==",
"0",
"&&",
"\"Unexpected\"",
")",
";",
"uns... | [
"This",
"method",
"must",
"be",
"overriden",
"to",
"eliminate",
"abstract",
"frame",
"indices",
"from",
"instructions",
"which",
"may",
"use",
"them",
"."
] | [
"X86",
"X86",
"0",
"\"Unexpected\"",
"0",
"\"Instr doesn't have FrameIndex operand!\"",
"X86::TAILJMPm64",
"X86::TAILJMPm",
"0",
"0",
"3",
"3",
"32",
"\"Requesting 64-bit offset in 32-bit immediate!\"",
"3",
"3",
"3"
] | X86RegisterInfo39 | eliminateFrameIndex | X86 | CPU | LLVM | 22,330 | 392 | 1 | [] |
[
"<s>",
"const",
"char",
"*",
"rs6000_output_load_multiple",
"(",
"rtx",
"operands",
"[",
"3",
"]",
")",
"{",
"int",
"i",
",",
"j",
";",
"int",
"words",
"=",
"XVECLEN",
"(",
"operands",
"[",
"0",
"]",
",",
"0",
")",
";",
"rtx",
"xop",
"[",
"10",
"... | [
"Return",
"a",
"string",
"to",
"perform",
"a",
"load_multiple",
"operation",
".",
"operands",
"[",
"0",
"]",
"is",
"the",
"vector",
".",
"operands",
"[",
"1",
"]",
"is",
"the",
"source",
"address",
".",
"operands",
"[",
"2",
"]",
"is",
"the",
"first",
... | [
"powerpcspe",
"3",
"0",
"0",
"10",
"0",
"0",
"1",
"\"lwz %2,0(%1)\"",
"0",
"2",
"1",
"1",
"0",
"4",
"1",
"1",
"1",
"2",
"2",
"\"lswi %2,%1,%0\\n\\tlwz %1,%0(%1)\"",
"\"\"",
"0",
"0",
"4",
"1",
"1",
"1",
"2",
"2",
"1",
"\"addi %1,%1,4\\n\\tlswi %2,%1,%0\\... | powerpcspe | rs6000_output_load_multiple | powerpcspe | CPU | GCC | 22,331 | 318 | 1 | [] |
[
"<s>",
"bool",
"PPCTargetLowering",
"::",
"isLegalAddressingMode",
"(",
"const",
"AddrMode",
"&",
"AM",
",",
"const",
"Type",
"*",
"Ty",
")",
"const",
"{",
"if",
"(",
"AM",
".",
"BaseOffs",
"<=",
"-",
"(",
"1LL",
"<<",
"16",
")",
"||",
"AM",
".",
"Ba... | [
"isLegalAddressingMode",
"-",
"Return",
"true",
"if",
"the",
"addressing",
"mode",
"represented",
"by",
"AM",
"is",
"legal",
"for",
"this",
"target",
",",
"for",
"a",
"load/store",
"of",
"the",
"specified",
"type",
"."
] | [
"PowerPC",
"PPC",
"1LL",
"16",
"1LL",
"16",
"1",
"0",
"1",
"2"
] | PPCISelLowering107 | isLegalAddressingMode | PowerPC | CPU | LLVM | 22,332 | 112 | 1 | [] |
[
"<s>",
"static",
"void",
"replace_swapped_aligned_store",
"(",
"swap_web_entry",
"*",
"insn_entry",
",",
"rtx_insn",
"*",
"store_insn",
")",
"{",
"unsigned",
"uid",
"=",
"INSN_UID",
"(",
"store_insn",
")",
";",
"gcc_assert",
"(",
"insn_entry",
"[",
"uid",
"]",
... | [
"Given",
"that",
"STORE_INSN",
"represents",
"an",
"aligned",
"store-with-swap",
"of",
"a",
"swapped",
"value",
",",
"replace",
"the",
"store",
"with",
"an",
"aligned",
"store",
"(",
"without",
"swap",
")",
"and",
"replace",
"the",
"swap",
"with",
"a",
"copy... | [
"rs6000",
"0",
"0",
"0",
"0",
"128"
] | rs6000-p8swap | replace_swapped_aligned_store | rs6000 | CPU | GCC | 22,333 | 380 | 1 | [] |
[
"<s>",
"const",
"TargetFrameLowering",
"::",
"SpillSlot",
"*",
"SystemZFrameLowering",
"::",
"getCalleeSavedSpillSlots",
"(",
"unsigned",
"&",
"NumEntries",
")",
"const",
"{",
"NumEntries",
"=",
"array_lengthof",
"(",
"SpillOffsetTable",
")",
";",
"return",
"SpillOffs... | [
"getCalleeSavedSpillSlots",
"-",
"This",
"method",
"returns",
"a",
"pointer",
"to",
"an",
"array",
"of",
"pairs",
",",
"that",
"contains",
"an",
"entry",
"for",
"each",
"callee",
"saved",
"register",
"that",
"must",
"be",
"spilled",
"to",
"a",
"particular",
... | [
"SystemZ",
"SystemZ"
] | SystemZFrameLowering (2) | getCalleeSavedSpillSlots | SystemZ | CPU | LLVM | 22,334 | 26 | 1 | [] |
[
"<s>",
"bool",
"PPCAsmParser",
"::",
"ParseInstruction",
"(",
"ParseInstructionInfo",
"&",
"Info",
",",
"StringRef",
"Name",
",",
"SMLoc",
"NameLoc",
",",
"OperandVector",
"&",
"Operands",
")",
"{",
"std",
"::",
"string",
"NewOpcode",
";",
"if",
"(",
"getLexer... | [
"ParseInstruction",
"-",
"Parse",
"one",
"assembly",
"instruction",
"."
] | [
"PowerPC",
"PPC",
"0",
"PPC",
"PPC",
"PPC",
"PPC",
"PPC",
"PPC",
"PPC",
"PPC",
"PPC::FeatureBookE",
"4",
"\"dcbt\"",
"\"dcbtst\"",
"1",
"3",
"2",
"1"
] | PPCAsmParser | ParseInstruction | PowerPC | CPU | LLVM | 22,335 | 386 | 1 | [] |
[
"<s>",
"unsigned",
"getMaxNumElements",
"(",
"ElementCount",
"VF",
")",
"const",
"{",
"if",
"(",
"!",
"VF",
".",
"isScalable",
"(",
")",
")",
"return",
"VF",
".",
"getFixedValue",
"(",
")",
";",
"Optional",
"<",
"unsigned",
">",
"MaxNumVScale",
"=",
"get... | [
"Try",
"to",
"return",
"an",
"estimate",
"cost",
"factor",
"that",
"can",
"be",
"used",
"as",
"a",
"multiplier",
"when",
"scalarizing",
"an",
"operation",
"for",
"a",
"vector",
"with",
"ElementCount",
"VF",
"."
] | [
"AArch64",
"\"Expected valid max vscale value\""
] | AArch64TargetTransformInfo19 | getMaxNumElements | AArch64 | CPU | LLVM | 22,336 | 52 | 1 | [] |
[
"<s>",
"bool",
"R600InstrInfo",
"::",
"isProfitableToIfCvt",
"(",
"MachineBasicBlock",
"&",
"MBB",
",",
"unsigned",
"NumCycles",
",",
"unsigned",
"ExtraPredCycles",
",",
"BranchProbability",
"Probability",
")",
"const",
"{",
"return",
"true",
";",
"}",
"</s>"
] | [
"Second",
"variant",
"of",
"isProfitableToIfCvt",
"."
] | [
"AMDGPU",
"R600"
] | R600InstrInfo (2)1 | isProfitableToIfCvt | AMDGPU | GPU | LLVM | 22,337 | 24 | 1 | [] |
[
"<s>",
"bool",
"sh_expand_strlen",
"(",
"rtx",
"*",
"operands",
")",
"{",
"rtx",
"addr1",
"=",
"operands",
"[",
"1",
"]",
";",
"rtx",
"current_addr",
"=",
"copy_addr_to_reg",
"(",
"XEXP",
"(",
"addr1",
",",
"0",
")",
")",
";",
"rtx",
"start_addr",
"=",... | [
"Emit",
"code",
"to",
"perform",
"a",
"strlen",
".",
"OPERANDS",
"[",
"0",
"]",
"is",
"the",
"destination",
".",
"OPERANDS",
"[",
"1",
"]",
"is",
"the",
"string",
".",
"OPERANDS",
"[",
"2",
"]",
"is",
"the",
"char",
"to",
"search",
".",
"OPERANDS",
... | [
"sh",
"1",
"0",
"3",
"0",
"1",
"4",
"3",
"2",
"0",
"4",
"4",
"0",
"0",
"4",
"1",
"1",
"1",
"0"
] | sh-mem4 | sh_expand_strlen | sh | CPU | GCC | 22,338 | 440 | 1 | [] |
[
"<s>",
"void",
"Z80AsmPrinter",
"::",
"emitInlineAsmEnd",
"(",
"const",
"MCSubtargetInfo",
"&",
"StartInfo",
",",
"const",
"MCSubtargetInfo",
"*",
"EndInfo",
")",
"const",
"{",
"return",
";",
"if",
"(",
"TM",
".",
"getTargetTriple",
"(",
")",
".",
"getArch",
... | [
"Let",
"the",
"target",
"do",
"anything",
"it",
"needs",
"to",
"do",
"after",
"emitting",
"inlineasm",
"."
] | [
"Z80",
"Z80"
] | Z80AsmPrinter1 | emitInlineAsmEnd | Z80 | MPU | LLVM | 22,339 | 81 | 1 | [] |
[
"<s>",
"unsigned",
"RISCVInstrInfo",
"::",
"getInstSizeInBytes",
"(",
"const",
"MachineInstr",
"&",
"MI",
")",
"const",
"{",
"unsigned",
"Opcode",
"=",
"MI",
".",
"getOpcode",
"(",
")",
";",
"switch",
"(",
"Opcode",
")",
"{",
"default",
":",
"{",
"return",... | [
"Returns",
"the",
"size",
"in",
"bytes",
"of",
"the",
"specified",
"MachineInstr",
",",
"or",
"~0U",
"when",
"this",
"function",
"is",
"not",
"implemented",
"by",
"a",
"target",
"."
] | [
"RISCV",
"RISCV",
"0",
"RISCV::PseudoCALL",
"RISCV::PseudoTAIL",
"RISCV::PseudoLLA",
"RISCV::PseudoLA",
"RISCV::PseudoLA_TLS_IE",
"RISCV::PseudoLA_TLS_GD",
"8",
"RISCV",
"0"
] | RISCVInstrInfo56 | getInstSizeInBytes | RISCV | CPU | LLVM | 22,340 | 167 | 1 | [] |
[
"<s>",
"MachineBasicBlock",
"::",
"iterator",
"Cpu0FrameLowering",
"::",
"eliminateCallFramePseudoInstr",
"(",
"MachineFunction",
"&",
"MF",
",",
"MachineBasicBlock",
"&",
"MBB",
",",
"MachineBasicBlock",
"::",
"iterator",
"I",
")",
"const",
"{",
"return",
"MBB",
".... | [
"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",
")",
"."
] | [
"Cpu0",
"Cpu0"
] | Cpu0FrameLowering4 | eliminateCallFramePseudoInstr | Cpu0 | CPU | LLVM | 22,341 | 31 | 1 | [] |
[
"<s>",
"static",
"void",
"rs6000_emit_vector_select",
"(",
"rtx",
"dest",
",",
"rtx",
"op1",
",",
"rtx",
"op2",
",",
"rtx",
"mask",
")",
"{",
"rtx",
"t",
",",
"temp",
";",
"enum",
"machine_mode",
"dest_mode",
"=",
"GET_MODE",
"(",
"dest",
")",
";",
"in... | [
"Emit",
"vector",
"select",
"insn",
"where",
"DEST",
"is",
"destination",
"using",
"operands",
"OP1",
",",
"OP2",
"and",
"MASK",
"."
] | [
"rs6000",
"3"
] | rs60003 | rs6000_emit_vector_select | rs6000 | CPU | GCC | 22,342 | 91 | 1 | [] |
[
"<s>",
"const",
"SIRegisterInfo",
"&",
"SIInstrInfo",
"::",
"getRegisterInfo",
"(",
")",
"const",
"{",
"return",
"RI",
";",
"}",
"</s>"
] | [
"getRegisterInfo",
"-",
"TargetInstrInfo",
"is",
"a",
"superset",
"of",
"MRegister",
"info",
"."
] | [
"R600",
"SI",
"SI"
] | SIInstrInfo117 | getRegisterInfo | R600 | GPU | LLVM | 22,343 | 14 | 1 | [] |
[
"<s>",
"const",
"TargetRegisterClass",
"*",
"MandarinRegisterInfo",
"::",
"getPointerRegClass",
"(",
"const",
"MachineFunction",
"&",
"MF",
",",
"unsigned",
"Kind",
")",
"const",
"{",
"return",
"&",
"MD",
"::",
"GenericRegsRegClass",
";",
"}",
"</s>"
] | [
"getPointerRegClass",
"-",
"Returns",
"a",
"TargetRegisterClass",
"used",
"for",
"pointer",
"values",
"."
] | [
"Mandarin",
"MD::GenericRegsRegClass"
] | MandarinRegisterInfo | getPointerRegClass | Mandarin | CPU | LLVM | 22,344 | 24 | 1 | [] |
[
"<s>",
"MachineBasicBlock",
"*",
"OR1KTargetLowering",
"::",
"EmitInstrWithCustomInserter",
"(",
"MachineInstr",
"&",
"MI",
",",
"MachineBasicBlock",
"*",
"BB",
")",
"const",
"{",
"switch",
"(",
"MI",
".",
"getOpcode",
"(",
")",
")",
"{",
"default",
":",
"llvm... | [
"This",
"method",
"should",
"be",
"implemented",
"by",
"targets",
"that",
"mark",
"instructions",
"with",
"the",
"'usesCustomInserter",
"'",
"flag",
"."
] | [
"OR1K",
"OR1K",
"\"Unexpected instr type to insert\"",
"OR1K::Select",
"OR1K::Selectf32",
"OR1K::ATOMIC_LOAD_ADD_I32",
"OR1K::ADD",
"OR1K::ATOMIC_LOAD_AND_I32",
"OR1K::AND",
"OR1K::ATOMIC_LOAD_OR_I32",
"OR1K::OR",
"OR1K::ATOMIC_LOAD_XOR_I32",
"OR1K::XOR",
"OR1K::ATOMIC_LOAD_NAND_I32",
"0... | OR1KISelLowering1 | EmitInstrWithCustomInserter | OR1K | CPU | LLVM | 22,345 | 182 | 1 | [] |
[
"<s>",
"int",
"NVPTXTTIImpl",
"::",
"getArithmeticInstrCost",
"(",
"unsigned",
"Opcode",
",",
"Type",
"*",
"Ty",
",",
"TTI",
"::",
"TargetCostKind",
"CostKind",
",",
"TTI",
"::",
"OperandValueKind",
"Opd1Info",
",",
"TTI",
"::",
"OperandValueKind",
"Opd2Info",
"... | [
"This",
"is",
"an",
"approximation",
"of",
"reciprocal",
"throughput",
"of",
"a",
"math/logic",
"op",
"."
] | [
"NVPTX",
"NVPTX",
"ISD::ADD",
"ISD::MUL",
"ISD::XOR",
"ISD::OR",
"ISD::AND",
"MVT::i64",
"2"
] | NVPTXTargetTransformInfo25 | getArithmeticInstrCost | NVPTX | GPU | LLVM | 22,346 | 173 | 1 | [] |
[
"<s>",
"bool",
"X86TargetLowering",
"::",
"isVectorClearMaskLegal",
"(",
"const",
"SmallVectorImpl",
"<",
"int",
">",
"&",
"Mask",
",",
"MVT",
"VT",
")",
"const",
"{",
"unsigned",
"NumElts",
"=",
"VT",
".",
"getVectorNumElements",
"(",
")",
";",
"if",
"(",
... | [
"Similar",
"to",
"isShuffleMaskLegal",
"."
] | [
"X86",
"X86",
"2",
"4",
"128"
] | X86ISelLowering77 | isVectorClearMaskLegal | X86 | CPU | LLVM | 22,347 | 89 | 1 | [] |
[
"<s>",
"void",
"LC2200FrameLowering",
"::",
"emitPrologue",
"(",
"MachineFunction",
"&",
"MF",
",",
"MachineBasicBlock",
"&",
"MBB",
")",
"const",
"{",
"assert",
"(",
"&",
"MF",
".",
"front",
"(",
")",
"==",
"&",
"MBB",
"&&",
"\"Shrink-wrapping not yet support... | [
"emitProlog/emitEpilog",
"-",
"These",
"methods",
"insert",
"prolog",
"and",
"epilog",
"code",
"into",
"the",
"function",
"."
] | [
"LC2200",
"LC2200",
"\"Shrink-wrapping not yet supported\"",
"LC2200",
"LC2200",
"\"RISC-V backend can't currently handle functions that need stack \"",
"\"realignment and have variable sized objects\"",
"LC2200::fp",
"LC2200::sp",
"0",
"LC2200::SW",
"LC2200::fp",
"LC2200::sp",
"1",
"LC2... | LC2200FrameLowering | emitPrologue | LC2200 | CPU | LLVM | 22,348 | 448 | 1 | [] |
[
"<s>",
"LoongArchSubtarget",
"&",
"LoongArchSubtarget",
"::",
"initializeSubtargetDependencies",
"(",
"const",
"Triple",
"&",
"TT",
",",
"StringRef",
"CPU",
",",
"StringRef",
"TuneCPU",
",",
"StringRef",
"FS",
",",
"StringRef",
"ABIName",
")",
"{",
"bool",
"Is64Bi... | [
"initializeSubtargetDependencies",
"-",
"Initializes",
"using",
"a",
"CPU",
",",
"a",
"TuneCPU",
",",
"and",
"feature",
"string",
"so",
"that",
"we",
"can",
"use",
"initializer",
"lists",
"for",
"subtarget",
"initialization",
"."
] | [
"LoongArch",
"LoongArch",
"LoongArch",
"\"generic-la64\"",
"\"generic-la32\"",
"MVT::i64",
"64",
"LoongArchABI::ABI_LP64D",
"LoongArchABI::ABI_ILP32D"
] | LoongArchSubtarget | initializeSubtargetDependencies | LoongArch | CPU | LLVM | 22,349 | 103 | 1 | [] |
[
"<s>",
"void",
"MBlazeRegisterInfo",
"::",
"processFunctionBeforeFrameFinalized",
"(",
"MachineFunction",
"&",
"MF",
")",
"const",
"{",
"MachineFrameInfo",
"*",
"MFI",
"=",
"MF",
".",
"getFrameInfo",
"(",
")",
";",
"MBlazeFunctionInfo",
"*",
"MBlazeFI",
"=",
"MF",... | [
"processFunctionBeforeFrameFinalized",
"-",
"This",
"method",
"is",
"called",
"immediately",
"before",
"the",
"specified",
"function",
"'s",
"frame",
"layout",
"(",
"MF.getFrameInfo",
"(",
")",
")",
"is",
"finalized",
"."
] | [
"MBlaze",
"MBlaze",
"MBlaze",
"MBlaze",
"MBlaze",
"MBlaze",
"MBlaze",
"MBlaze"
] | MBlazeRegisterInfo12 | processFunctionBeforeFrameFinalized | MBlaze | MPU | LLVM | 22,350 | 60 | 1 | [] |
[
"<s>",
"void",
"BTFDebug",
"::",
"beginFunctionImpl",
"(",
"const",
"MachineFunction",
"*",
"MF",
")",
"{",
"auto",
"*",
"SP",
"=",
"MF",
"->",
"getFunction",
"(",
")",
".",
"getSubprogram",
"(",
")",
";",
"auto",
"*",
"Unit",
"=",
"SP",
"->",
"getUnit... | [
"Gather",
"pre-function",
"debug",
"information",
"."
] | [
"BPF",
"BTF::FUNC_STATIC",
"BTF::FUNC_GLOBAL",
"1",
"1",
"\"Null section for Function Label\"",
"\".text\""
] | BTFDebug19 | beginFunctionImpl | BPF | Virtual ISA | LLVM | 22,351 | 409 | 1 | [] |
[
"<s>",
"sh_extending_set_of_reg",
"sh_find_extending_set_of_reg",
"(",
"rtx",
"reg",
",",
"rtx_insn",
"*",
"curr_insn",
")",
"{",
"if",
"(",
"reg",
"==",
"NULL",
")",
"return",
"sh_extending_set_of_reg",
"(",
"curr_insn",
")",
";",
"if",
"(",
"SUBREG_P",
"(",
... | [
"Given",
"a",
"reg",
"and",
"the",
"current",
"insn",
",",
"see",
"if",
"the",
"value",
"of",
"the",
"reg",
"originated",
"from",
"a",
"sign",
"or",
"zero",
"extension",
"and",
"return",
"the",
"discovered",
"information",
"."
] | [
"sh",
"\"sh_find_extending_set_of_reg: reg %d is \"",
"\"explicitly sign/zero extended in insn %d\\n\"",
"0",
"\"sh_find_extending_set_of_reg: reg %d is \"",
"\"implicitly sign extended in insn %d\\n\""
] | sh4 | sh_find_extending_set_of_reg | sh | CPU | GCC | 22,352 | 233 | 1 | [] |
[
"<s>",
"bool",
"ARMBaseInstrInfo",
"::",
"verifyInstruction",
"(",
"const",
"MachineInstr",
"&",
"MI",
",",
"StringRef",
"&",
"ErrInfo",
")",
"const",
"{",
"if",
"(",
"convertAddSubFlagsOpcode",
"(",
"MI",
".",
"getOpcode",
"(",
")",
")",
")",
"{",
"ErrInfo"... | [
"Perform",
"target-specific",
"instruction",
"verification",
"."
] | [
"ARM",
"ARM",
"\"Pseudo flag setting opcodes only exist in Selection DAG\"",
"ARM::tMOVr",
"ARM::hGPRRegClass",
"0",
"ARM::hGPRRegClass",
"1",
"\"Non-flag-setting Thumb1 mov is v6-only\"",
"ARM::tPUSH",
"ARM::tPOP",
"ARM::tPOP_RET",
"2",
"ARM::R0",
"ARM::R7",
"ARM::tPUSH",
"ARM::LR",... | ARMBaseInstrInfo110 | verifyInstruction | ARM | CPU | LLVM | 22,353 | 376 | 1 | [] |
[
"<s>",
"static",
"void",
"alpha_function_arg_advance",
"(",
"cumulative_args_t",
"cum_v",
",",
"machine_mode",
"mode",
",",
"const_tree",
"type",
",",
"bool",
"named",
"ATTRIBUTE_UNUSED",
")",
"{",
"CUMULATIVE_ARGS",
"*",
"cum",
"=",
"get_cumulative_args",
"(",
"cum... | [
"Update",
"the",
"data",
"in",
"CUM",
"to",
"advance",
"over",
"an",
"argument",
"of",
"mode",
"MODE",
"and",
"data",
"type",
"TYPE",
".",
"(",
"TYPE",
"is",
"null",
"for",
"libcalls",
"where",
"that",
"information",
"may",
"not",
"be",
"available",
".",... | [
"alpha",
"6",
"6"
] | alpha4 | alpha_function_arg_advance | alpha | MPU | GCC | 22,354 | 94 | 1 | [] |
[
"<s>",
"static",
"inline",
"int",
"addsubcosts",
"(",
"rtx",
"x",
")",
"{",
"if",
"(",
"GET_MODE",
"(",
"x",
")",
"==",
"SImode",
")",
"{",
"rtx",
"op0",
"=",
"XEXP",
"(",
"x",
",",
"0",
")",
";",
"rtx",
"op1",
"=",
"XEXP",
"(",
"x",
",",
"1"... | [
"Return",
"the",
"cost",
"of",
"an",
"addition",
"or",
"a",
"subtraction",
"."
] | [
"sh",
"0",
"1",
"1",
"1",
"1",
"1",
"1",
"1",
"31",
"1",
"1",
"1",
"2",
"1",
"1",
"1",
"1",
"1",
"1",
"1",
"1",
"5",
"3",
"1",
"2",
"1",
"16",
"3",
"1",
"16",
"16",
"4",
"5",
"3"
] | sh4 | addsubcosts | sh | CPU | GCC | 22,355 | 365 | 1 | [] |
[
"<s>",
"static",
"rtx",
"ix86_expand_sse_cmp",
"(",
"rtx",
"dest",
",",
"enum",
"rtx_code",
"code",
",",
"rtx",
"cmp_op0",
",",
"rtx",
"cmp_op1",
",",
"rtx",
"op_true",
",",
"rtx",
"op_false",
")",
"{",
"machine_mode",
"mode",
"=",
"GET_MODE",
"(",
"dest",... | [
"Expand",
"an",
"sse",
"vector",
"comparison",
".",
"Return",
"the",
"register",
"with",
"the",
"result",
"."
] | [
"i386",
"64",
"0"
] | i3868 | ix86_expand_sse_cmp | i386 | CPU | GCC | 22,356 | 375 | 1 | [] |
[
"<s>",
"bool",
"HexagonTargetObjectFile",
"::",
"isGlobalInSmallSection",
"(",
"const",
"GlobalObject",
"*",
"GO",
",",
"const",
"TargetMachine",
"&",
"TM",
")",
"const",
"{",
"if",
"(",
"!",
"isSmallDataEnabled",
"(",
"TM",
")",
")",
"{",
"LLVM_DEBUG",
"(",
... | [
"Return",
"true",
"if",
"this",
"global",
"address",
"should",
"be",
"placed",
"into",
"small",
"data/bss",
"section",
"."
] | [
"Hexagon",
"Hexagon",
"\"Small data is not available.\\n\"",
"\"Checking if value is in small-data, -G\"",
"\": \\\"\"",
"\"\\\": \"",
"\"no, not a global variable\\n\"",
"\"yes\"",
"\"no\"",
"\", has section: \"",
"\"no, is a constant\\n\"",
"\"no, is static\\n\"",
"\"no, is an array\\n\"",... | HexagonTargetObjectFile38 | isGlobalInSmallSection | Hexagon | DSP | LLVM | 22,357 | 363 | 1 | [] |
[
"<s>",
"void",
"h8300_expand_prologue",
"(",
"void",
")",
"{",
"int",
"regno",
";",
"int",
"saved_regs",
";",
"int",
"n_regs",
";",
"if",
"(",
"h8300_os_task_function_p",
"(",
"current_function_decl",
")",
")",
"return",
";",
"if",
"(",
"h8300_monitor_function_p... | [
"Generate",
"RTL",
"code",
"for",
"the",
"function",
"prologue",
"."
] | [
"h8300",
"0",
"1",
"1",
"3",
"0",
"0x0f",
"0x0f",
"4",
"3",
"0",
"0x07",
"0x07",
"3",
"1",
"0",
"0x03",
"0x03",
"2",
"1",
"0"
] | h83005 | h8300_expand_prologue | h8300 | MPU | GCC | 22,358 | 259 | 1 | [] |
[
"<s>",
"StringRef",
"getPassName",
"(",
")",
"const",
"override",
"{",
"return",
"\"SI Fold Operands\"",
";",
"}",
"</s>"
] | [
"getPassName",
"-",
"Return",
"a",
"nice",
"clean",
"name",
"for",
"a",
"pass",
"."
] | [
"AMDGPU",
"\"SI Fold Operands\""
] | SIFoldOperands | getPassName | AMDGPU | GPU | LLVM | 22,359 | 11 | 1 | [] |
[
"<s>",
"const",
"InstrItineraryData",
"*",
"getInstrItineraryData",
"(",
")",
"const",
"override",
"{",
"return",
"InstrItins",
";",
"}",
"</s>"
] | [
"getInstrItineraryData",
"-",
"Returns",
"instruction",
"itinerary",
"data",
"for",
"the",
"target",
"or",
"specific",
"subtarget",
"."
] | [
"R600"
] | AMDGPUTargetMachine | getInstrItineraryData | R600 | GPU | LLVM | 22,360 | 13 | 1 | [] |
[
"<s>",
"static",
"const",
"MachineOperand",
"&",
"getLdStBaseOp",
"(",
"const",
"MachineInstr",
"*",
"MI",
")",
"{",
"unsigned",
"Idx",
"=",
"isPairedLdSt",
"(",
"MI",
")",
"?",
"2",
":",
"1",
";",
"return",
"MI",
"->",
"getOperand",
"(",
"Idx",
")",
"... | [
"Returns",
"the",
"base",
"register",
"operator",
"of",
"a",
"load/store",
"."
] | [
"AArch64",
"2",
"1"
] | AArch64LoadStoreOptimizer (2) | getLdStBaseOp | AArch64 | CPU | LLVM | 22,361 | 33 | 1 | [] |
[
"<s>",
"static",
"void",
"mips_get_arg_info",
"(",
"struct",
"mips_arg_info",
"*",
"info",
",",
"const",
"CUMULATIVE_ARGS",
"*",
"cum",
",",
"machine_mode",
"mode",
",",
"const_tree",
"type",
",",
"bool",
"named",
")",
"{",
"bool",
"doubleword_aligned_p",
";",
... | [
"Fill",
"INFO",
"with",
"information",
"about",
"a",
"single",
"argument",
".",
"CUM",
"is",
"the",
"cumulative",
"state",
"for",
"earlier",
"arguments",
".",
"MODE",
"is",
"the",
"mode",
"of",
"this",
"argument",
"and",
"TYPE",
"is",
"its",
"type",
"(",
... | [
"mips",
"1",
"2",
"0",
"0",
"1",
"2",
"1",
"1"
] | mips | mips_get_arg_info | mips | CPU | GCC | 22,362 | 381 | 1 | [] |
[
"<s>",
"void",
"M68kFrameLowering",
"::",
"BuildCFI",
"(",
"MachineBasicBlock",
"&",
"MBB",
",",
"MachineBasicBlock",
"::",
"iterator",
"MBBI",
",",
"const",
"DebugLoc",
"&",
"DL",
",",
"const",
"MCCFIInstruction",
"&",
"CFIInst",
")",
"const",
"{",
"MachineFunc... | [
"Wraps",
"up",
"getting",
"a",
"CFI",
"index",
"and",
"building",
"a",
"MachineInstr",
"for",
"it",
"."
] | [
"M68k",
"M68k"
] | M68kFrameLowering | BuildCFI | M68k | MPU | LLVM | 22,363 | 71 | 1 | [] |
[
"<s>",
"TargetPassConfig",
"*",
"LoongArchTargetMachine",
"::",
"createPassConfig",
"(",
"PassManagerBase",
"&",
"PM",
")",
"{",
"return",
"new",
"LoongArchPassConfig",
"(",
"*",
"this",
",",
"PM",
")",
";",
"}",
"</s>"
] | [
"Create",
"a",
"pass",
"configuration",
"object",
"to",
"be",
"used",
"by",
"addPassToEmitX",
"methods",
"for",
"generating",
"a",
"pipeline",
"of",
"CodeGen",
"passes",
"."
] | [
"LoongArch",
"LoongArch",
"LoongArch"
] | LoongArchTargetMachine | createPassConfig | LoongArch | CPU | LLVM | 22,364 | 22 | 1 | [] |
[
"<s>",
"bool",
"AMDGPULegalizerInfo",
"::",
"legalizeCustom",
"(",
"MachineInstr",
"&",
"MI",
",",
"MachineRegisterInfo",
"&",
"MRI",
",",
"MachineIRBuilder",
"&",
"B",
",",
"GISelChangeObserver",
"&",
"Observer",
")",
"const",
"{",
"switch",
"(",
"MI",
".",
"... | [
"Called",
"for",
"instructions",
"with",
"the",
"Custom",
"LegalizationAction",
"."
] | [
"AMDGPU",
"AMDGPU",
"SI",
"SI",
"SI",
"SI",
"\"expected switch to return\""
] | AMDGPULegalizerInfo22 | legalizeCustom | AMDGPU | GPU | LLVM | 22,365 | 478 | 1 | [] |
[
"<s>",
"bool",
"SILowerI1Copies",
"::",
"runOnMachineFunction",
"(",
"MachineFunction",
"&",
"MF",
")",
"{",
"MachineRegisterInfo",
"&",
"MRI",
"=",
"MF",
".",
"getRegInfo",
"(",
")",
";",
"const",
"SIInstrInfo",
"*",
"TII",
"=",
"static_cast",
"<",
"const",
... | [
"runOnMachineFunction",
"-",
"Emit",
"the",
"function",
"body",
"."
] | [
"R600",
"SI",
"SI",
"SI",
"0",
"1",
"0",
"1",
"0",
"0",
"1",
"1",
"0",
"0",
"0",
"0",
"0",
"0",
"1",
"0",
"0",
"0",
"0"
] | SILowerI1Copies20 | runOnMachineFunction | R600 | GPU | LLVM | 22,366 | 467 | 1 | [] |
[
"<s>",
"bool",
"WebAssemblyTargetMachine",
"::",
"parseMachineFunctionInfo",
"(",
"const",
"yaml",
"::",
"MachineFunctionInfo",
"&",
"MFI",
",",
"PerFunctionMIParsingState",
"&",
"PFS",
",",
"SMDiagnostic",
"&",
"Error",
",",
"SMRange",
"&",
"SourceRange",
")",
"con... | [
"Parse",
"out",
"the",
"target",
"'s",
"MachineFunctionInfo",
"from",
"the",
"YAML",
"reprsentation",
"."
] | [
"WebAssembly",
"WebAssembly",
"WebAssembly",
"WebAssembly"
] | WebAssemblyTargetMachine24 | parseMachineFunctionInfo | WebAssembly | Virtual ISA | LLVM | 22,367 | 69 | 1 | [] |
[
"<s>",
"bool",
"DLXRegisterInfo",
"::",
"requiresRegisterScavenging",
"(",
"const",
"MachineFunction",
"&",
")",
"const",
"{",
"return",
"true",
";",
"}",
"</s>"
] | [
"Returns",
"true",
"if",
"the",
"target",
"requires",
"(",
"and",
"can",
"make",
"use",
"of",
")",
"the",
"register",
"scavenger",
"."
] | [
"DLX",
"DLX"
] | DLXRegisterInfo | requiresRegisterScavenging | DLX | CPU | LLVM | 22,368 | 15 | 1 | [] |
[
"<s>",
"void",
"BPFAsmBackend",
"::",
"applyFixup",
"(",
"const",
"MCAssembler",
"&",
"Asm",
",",
"const",
"MCFixup",
"&",
"Fixup",
",",
"const",
"MCValue",
"&",
"Target",
",",
"MutableArrayRef",
"<",
"char",
">",
"Data",
",",
"uint64_t",
"Value",
",",
"bo... | [
"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",
"."
] | [
"BPF",
"BPF",
"0",
"4",
"8",
"0",
"1",
"8",
"8",
"8",
"2",
"0xFF",
"3",
"8",
"2",
"8",
"3",
"0xFF"
] | BPFAsmBackend19 | applyFixup | BPF | Virtual ISA | LLVM | 22,369 | 247 | 1 | [] |
[
"<s>",
"bool",
"arc_expand_movmem",
"(",
"rtx",
"*",
"operands",
")",
"{",
"rtx",
"dst",
"=",
"operands",
"[",
"0",
"]",
";",
"rtx",
"src",
"=",
"operands",
"[",
"1",
"]",
";",
"rtx",
"dst_addr",
",",
"src_addr",
";",
"HOST_WIDE_INT",
"size",
";",
"i... | [
"Like",
"move_by_pieces",
",",
"but",
"take",
"account",
"of",
"load",
"latency",
",",
"and",
"actual",
"offset",
"ranges",
".",
"Return",
"true",
"on",
"success",
"."
] | [
"arc",
"0",
"1",
"3",
"2",
"2",
"2",
"2",
"4",
"2",
"4U",
"1",
"2",
"1",
"2U",
"3",
"15",
"4",
"4",
"0",
"0",
"0",
"1",
"0",
"0",
"0",
"1",
"0",
"1",
"0",
"0",
"1",
"0",
"1",
"1",
"1",
"1"
] | arc4 | arc_expand_movmem | arc | MPU | GCC | 22,370 | 444 | 1 | [] |
[
"<s>",
"static",
"bool",
"aarch64_integer_truncation_p",
"(",
"stmt_vec_info",
"stmt_info",
")",
"{",
"gassign",
"*",
"assign",
"=",
"dyn_cast",
"<",
"gassign",
"*",
">",
"(",
"stmt_info",
"->",
"stmt",
")",
";",
"if",
"(",
"!",
"assign",
"||",
"!",
"CONVE... | [
"Return",
"true",
"if",
"STMT_INFO",
"is",
"an",
"integer",
"truncation",
"."
] | [
"aarch64"
] | aarch64 | aarch64_integer_truncation_p | aarch64 | CPU | GCC | 22,371 | 86 | 1 | [] |
[
"<s>",
"bool",
"HexagonInstrInfo",
"::",
"areMemAccessesTriviallyDisjoint",
"(",
"const",
"MachineInstr",
"&",
"MIa",
",",
"const",
"MachineInstr",
"&",
"MIb",
")",
"const",
"{",
"if",
"(",
"MIa",
".",
"hasUnmodeledSideEffects",
"(",
")",
"||",
"MIb",
".",
"ha... | [
"Sometimes",
",",
"it",
"is",
"possible",
"for",
"the",
"target",
"to",
"tell",
",",
"even",
"without",
"aliasing",
"information",
",",
"that",
"two",
"MIs",
"access",
"different",
"memory",
"addresses",
"."
] | [
"Hexagon",
"Hexagon",
"0",
"0"
] | HexagonInstrInfo15 | areMemAccessesTriviallyDisjoint | Hexagon | DSP | LLVM | 22,372 | 355 | 1 | [] |
[
"<s>",
"static",
"unsigned",
"HOST_WIDE_INT",
"compute_not_to_clear_mask",
"(",
"tree",
"arg_type",
",",
"rtx",
"arg_rtx",
",",
"int",
"regno",
",",
"uint32_t",
"*",
"padding_bits_to_clear",
")",
"{",
"int",
"last_used_bit",
"=",
"0",
";",
"unsigned",
"HOST_WIDE_I... | [
"In",
"the",
"context",
"of",
"ARMv8-M",
"Security",
"Extensions",
",",
"this",
"function",
"is",
"used",
"for",
"both",
"'cmse_nonsecure_call",
"'",
"and",
"'cmse_nonsecure_entry",
"'",
"functions",
"to",
"compute",
"what",
"registers",
"are",
"used",
"when",
"... | [
"arm",
"0",
"0",
"0",
"1",
"1",
"1",
"0",
"0",
"0",
"0",
"0",
"1",
"1"
] | arm | compute_not_to_clear_mask | arm | CPU | GCC | 22,373 | 289 | 1 | [] |
[
"<s>",
"void",
"SparcInstPrinter",
"::",
"printRegName",
"(",
"raw_ostream",
"&",
"OS",
",",
"unsigned",
"RegNo",
")",
"const",
"{",
"OS",
"<<",
"'%'",
"<<",
"StringRef",
"(",
"getRegisterName",
"(",
"RegNo",
")",
")",
".",
"lower",
"(",
")",
";",
"}",
... | [
"Print",
"the",
"assembler",
"register",
"name",
"."
] | [
"Sparc",
"Sparc"
] | SparcInstPrinter | printRegName | Sparc | CPU | LLVM | 22,374 | 31 | 1 | [] |
[
"<s>",
"StringRef",
"getPassName",
"(",
")",
"const",
"override",
"{",
"return",
"\"Hexagon Constant Propagation\"",
";",
"}",
"</s>"
] | [
"getPassName",
"-",
"Return",
"a",
"nice",
"clean",
"name",
"for",
"a",
"pass",
"."
] | [
"Hexagon",
"\"Hexagon Constant Propagation\""
] | HexagonConstPropagation1 | getPassName | Hexagon | DSP | LLVM | 22,375 | 11 | 1 | [] |
[
"<s>",
"bool",
"check",
"(",
"function_checker",
"&",
"c",
")",
"const",
"override",
"{",
"poly_int64",
"outer_size",
"=",
"GET_MODE_SIZE",
"(",
"c",
".",
"arg_mode",
"(",
"0",
")",
")",
";",
"poly_int64",
"inner_size",
"=",
"GET_MODE_SIZE",
"(",
"c",
".",... | [
"Perform",
"semantic",
"checks",
"on",
"the",
"call",
".",
"Return",
"true",
"if",
"the",
"call",
"is",
"valid",
",",
"otherwise",
"report",
"a",
"suitable",
"error",
"."
] | [
"riscv",
"0",
"1",
"0",
"1"
] | riscv-vector-builtins-shapes | check | riscv | CPU | GCC | 22,376 | 65 | 1 | [] |
[
"<s>",
"bool",
"runOnMachineFunction",
"(",
"MachineFunction",
"&",
"MF",
")",
"{",
"LLVM_DEBUG",
"(",
"dbgs",
"(",
")",
"<<",
"\"\\n********** Patmos Function Splitter **********\\n\"",
")",
";",
"LLVM_DEBUG",
"(",
"dbgs",
"(",
")",
"<<",
"\"********** Function: \"",... | [
"runOnMachineFunction",
"-",
"Emit",
"the",
"function",
"body",
"."
] | [
"Patmos",
"\"\\n********** Patmos Function Splitter **********\\n\"",
"\"********** Function: \"",
"\"**********\\n\"",
"64",
"\"Subfunction size less than 64 bytes!.\"",
"0",
"\"\\n********** Finnishing Patmos Function Splitter **********\\n\"",
"\"********** Function: \"",
"\"**********\\n\""
] | PatmosFunctionSplitter1 | runOnMachineFunction | Patmos | VLIW | LLVM | 22,377 | 431 | 1 | [] |
[
"<s>",
"void",
"AArch64TargetLowering",
"::",
"ReplaceNodeResults",
"(",
"SDNode",
"*",
"N",
",",
"SmallVectorImpl",
"<",
"SDValue",
">",
"&",
"Results",
",",
"SelectionDAG",
"&",
"DAG",
")",
"const",
"{",
"switch",
"(",
"N",
"->",
"getOpcode",
"(",
")",
"... | [
"ReplaceNodeResults",
"-",
"Replace",
"the",
"results",
"of",
"node",
"with",
"an",
"illegal",
"result",
"type",
"with",
"new",
"values",
"built",
"out",
"of",
"custom",
"code",
"."
] | [
"AArch64",
"AArch64",
"\"Don't know how to custom expand this\"",
"ISD::BITCAST",
"ISD::VECREDUCE_ADD",
"ISD::VECREDUCE_SMAX",
"ISD::VECREDUCE_SMIN",
"ISD::VECREDUCE_UMAX",
"ISD::VECREDUCE_UMIN",
"0",
"AArch64ISD::SADDV",
"ISD::ADD",
"AArch64ISD::SADDV",
"AArch64ISD::UADDV",
"ISD::ADD",
... | AArch64ISelLowering105 | ReplaceNodeResults | AArch64 | CPU | LLVM | 22,378 | 288 | 1 | [] |
[
"<s>",
"const",
"char",
"*",
"output_move_single",
"(",
"rtx",
"*",
"operands",
")",
"{",
"rtx",
"dst",
"=",
"operands",
"[",
"0",
"]",
";",
"rtx",
"src",
"=",
"operands",
"[",
"1",
"]",
";",
"if",
"(",
"REG_P",
"(",
"dst",
")",
")",
"{",
"if",
... | [
"Return",
"appropriate",
"code",
"to",
"load",
"up",
"a",
"1",
",",
"2",
",",
"or",
"4",
"integer/floating",
"point",
"value",
"."
] | [
"v850",
"0",
"1",
"\"mov %1,%0\"",
"\"mov %1,%0\"",
"\"movea %1,%.,%0\"",
"\"movhi hi0(%1),%.,%0\"",
"\"mov %1,%0\"",
"\"movhi hi(%1),%.,%0\\n\\tmovea lo(%1),%0,%0\"",
"\"mov %F1,%0\"",
"\"movea %F1,%.,%0\"",
"\"movhi hi0(%F1),%.,%0\"",
"\"mov %F1,%0\"",
"\"movhi hi(%F1),%.,%0\\n\\tmovea l... | v850 | output_move_single | v850 | MPU | GCC | 22,379 | 384 | 1 | [] |
[
"<s>",
"inline",
"tree",
"function_instance",
"::",
"vector_type",
"(",
"unsigned",
"int",
"i",
")",
"const",
"{",
"return",
"acle_vector_types",
"[",
"0",
"]",
"[",
"type_suffix",
"(",
"i",
")",
".",
"vector_type",
"]",
";",
"}",
"</s>"
] | [
"Return",
"the",
"vector",
"type",
"associated",
"with",
"type",
"suffix",
"I",
"."
] | [
"aarch64",
"0"
] | aarch64-sve-builtins | vector_type | aarch64 | CPU | GCC | 22,380 | 27 | 1 | [] |
[
"<s>",
"bool",
"RISCVInstrInfo",
"::",
"isAsCheapAsAMove",
"(",
"const",
"MachineInstr",
"&",
"MI",
")",
"const",
"{",
"const",
"unsigned",
"Opcode",
"=",
"MI",
".",
"getOpcode",
"(",
")",
";",
"switch",
"(",
"Opcode",
")",
"{",
"default",
":",
"break",
... | [
"Return",
"true",
"if",
"the",
"instruction",
"is",
"as",
"cheap",
"as",
"a",
"move",
"instruction",
"."
] | [
"RISCV",
"RISCV",
"RISCV::FSGNJ_D",
"RISCV::FSGNJ_S",
"1",
"2",
"1",
"2",
"RISCV::ADDI",
"RISCV::ORI",
"RISCV::XORI",
"1",
"1",
"RISCV::X0",
"2",
"2",
"0"
] | RISCVInstrInfo (2) | isAsCheapAsAMove | RISCV | CPU | LLVM | 22,381 | 165 | 1 | [] |
[
"<s>",
"SDNode",
"*",
"MBlazeDAGToDAGISel",
"::",
"getGlobalBaseReg",
"(",
")",
"{",
"unsigned",
"GlobalBaseReg",
"=",
"getInstrInfo",
"(",
")",
"->",
"getGlobalBaseReg",
"(",
"MF",
")",
";",
"return",
"CurDAG",
"->",
"getRegister",
"(",
"GlobalBaseReg",
",",
... | [
"getGlobalBaseReg",
"-",
"Return",
"a",
"virtual",
"register",
"initialized",
"with",
"the",
"the",
"global",
"base",
"register",
"value",
"."
] | [
"MBlaze",
"MBlaze"
] | MBlazeISelDAGToDAG1 | getGlobalBaseReg | MBlaze | MPU | LLVM | 22,382 | 39 | 1 | [] |
[
"<s>",
"virtual",
"const",
"char",
"*",
"getPassName",
"(",
")",
"const",
"{",
"return",
"\"SystemZ Long Branch\"",
";",
"}",
"</s>"
] | [
"getPassName",
"-",
"Return",
"a",
"nice",
"clean",
"name",
"for",
"a",
"pass",
"."
] | [
"SystemZ",
"\"SystemZ Long Branch\""
] | SystemZLongBranch1 | getPassName | SystemZ | CPU | LLVM | 22,383 | 13 | 1 | [] |
[
"<s>",
"void",
"XCoreTargetObjectFile",
"::",
"Initialize",
"(",
"MCContext",
"&",
"Ctx",
",",
"const",
"TargetMachine",
"&",
"TM",
")",
"{",
"TargetLoweringObjectFileELF",
"::",
"Initialize",
"(",
"Ctx",
",",
"TM",
")",
";",
"BSSSection",
"=",
"Ctx",
".",
"... | [
"This",
"method",
"must",
"be",
"called",
"before",
"any",
"actual",
"lowering",
"is",
"done",
"."
] | [
"XCore",
"XCore",
"\".dp.bss\"",
"\".dp.bss.large\"",
"\".dp.data\"",
"\".dp.data.large\"",
"\".dp.rodata\"",
"\".dp.rodata.large\"",
"\".cp.rodata\"",
"\".cp.rodata.large\"",
"\".cp.rodata.cst4\"",
"\".cp.rodata.cst8\"",
"\".cp.rodata.cst16\"",
"\".cp.rodata.string\""
] | XCoreTargetObjectFile | Initialize | XCore | MPU | LLVM | 22,384 | 393 | 1 | [] |
[
"<s>",
"bool",
"IA64TargetMachine",
"::",
"addPreEmitPass",
"(",
"PassManagerBase",
"&",
"PM",
",",
"bool",
"Fast",
")",
"{",
"PM",
".",
"add",
"(",
"createIA64BundlingPass",
"(",
"*",
"this",
")",
")",
";",
"return",
"true",
";",
"}",
"</s>"
] | [
"This",
"pass",
"may",
"be",
"implemented",
"by",
"targets",
"that",
"want",
"to",
"run",
"passes",
"immediately",
"before",
"machine",
"code",
"is",
"emitted",
"."
] | [
"IA64",
"IA64",
"IA64"
] | IA64TargetMachine1 | addPreEmitPass | IA64 | CPU | LLVM | 22,385 | 28 | 1 | [] |
[
"<s>",
"static",
"bool",
"aarch64_evpc_rev_global",
"(",
"struct",
"expand_vec_perm_d",
"*",
"d",
")",
"{",
"poly_uint64",
"nelt",
"=",
"d",
"->",
"perm",
".",
"length",
"(",
")",
";",
"if",
"(",
"!",
"d",
"->",
"one_vector_p",
"||",
"d",
"->",
"vec_flag... | [
"Recognize",
"patterns",
"for",
"the",
"REV",
"insn",
",",
"which",
"reverses",
"elements",
"within",
"a",
"full",
"vector",
"."
] | [
"aarch64",
"0",
"1",
"1",
"1",
"1"
] | aarch645 | aarch64_evpc_rev_global | aarch64 | CPU | GCC | 22,386 | 104 | 1 | [] |
[
"<s>",
"unsigned",
"HexagonInstrInfo",
"::",
"reduceLoopCount",
"(",
"MachineBasicBlock",
"&",
"MBB",
",",
"MachineInstr",
"*",
"IndVar",
",",
"MachineInstr",
"&",
"Cmp",
",",
"SmallVectorImpl",
"<",
"MachineOperand",
">",
"&",
"Cond",
",",
"SmallVectorImpl",
"<",... | [
"Generate",
"code",
"to",
"reduce",
"the",
"loop",
"iteration",
"by",
"one",
"and",
"check",
"if",
"the",
"loop",
"is",
"finished",
"."
] | [
"Hexagon",
"Hexagon",
"\"Expecting a hardware loop\"",
"8",
"0",
"0",
"Hexagon::J2_loop0i",
"Hexagon::J2_loop1i",
"1",
"1",
"1",
"1",
"1",
"Hexagon::J2_loop0r",
"\"Unexpected instruction\"",
"1",
"MVT::i1",
"Hexagon::C2_cmpgtui",
"1",
"MVT::i32",
"Hexagon::A2_addi",
"1",
... | HexagonInstrInfo (2)2 | reduceLoopCount | Hexagon | DSP | LLVM | 22,387 | 472 | 1 | [] |
[
"<s>",
"rtx",
"ix86_expand_adjust_ufix_to_sfix_si",
"(",
"rtx",
"val",
",",
"rtx",
"*",
"xorp",
")",
"{",
"REAL_VALUE_TYPE",
"TWO31r",
";",
"rtx",
"two31r",
",",
"tmp",
"[",
"4",
"]",
";",
"machine_mode",
"mode",
"=",
"GET_MODE",
"(",
"val",
")",
";",
"m... | [
"Adjust",
"a",
"V",
"*",
"SFmode/V",
"*",
"DFmode",
"value",
"VAL",
"so",
"that",
"*",
"sfix_trunc",
"*",
"resp",
".",
"fix_trunc",
"*",
"pattern",
"can",
"be",
"used",
"on",
"it",
"instead",
"of",
"fixuns_trunc",
"*",
".",
"This",
"is",
"done",
"by",
... | [
"i386",
"4",
"32",
"0",
"3",
"31",
"1",
"3",
"0",
"3",
"1",
"0",
"1",
"0",
"0",
"31",
"0",
"31",
"1",
"0",
"0",
"1",
"2",
"0"
] | i3867 | ix86_expand_adjust_ufix_to_sfix_si | i386 | CPU | GCC | 22,388 | 359 | 1 | [] |
[
"<s>",
"const",
"MCFixupKindInfo",
"&",
"PatmosAsmBackend",
"::",
"getFixupKindInfo",
"(",
"MCFixupKind",
"Kind",
")",
"const",
"{",
"const",
"static",
"MCFixupKindInfo",
"Infos",
"[",
"Patmos",
"::",
"NumTargetFixupKinds",
"]",
"=",
"{",
"{",
"\"FK_Patmos_BO_7\"",
... | [
"Get",
"information",
"on",
"a",
"fixup",
"kind",
"."
] | [
"Patmos",
"Patmos",
"Patmos::NumTargetFixupKinds",
"\"FK_Patmos_BO_7\"",
"25",
"7",
"0",
"\"FK_Patmos_SO_7\"",
"25",
"7",
"0",
"\"FK_Patmos_WO_7\"",
"25",
"7",
"0",
"\"FK_Patmos_abs_ALUi\"",
"20",
"12",
"0",
"\"FK_Patmos_abs_CFLi\"",
"10",
"22",
"0",
"\"FK_Patmos_abs_AL... | PatmosAsmBackend1 | getFixupKindInfo | Patmos | VLIW | LLVM | 22,389 | 146 | 1 | [] |
[
"<s>",
"SDNode",
"*",
"Cpu0DAGToDAGISel",
"::",
"getGlobalBaseReg",
"(",
")",
"{",
"unsigned",
"GlobalBaseReg",
"=",
"MF",
"->",
"getInfo",
"<",
"Cpu0MachineFunctionInfo",
">",
"(",
")",
"->",
"getGlobalBaseReg",
"(",
")",
";",
"return",
"CurDAG",
"->",
"getRe... | [
"getGlobalBaseReg",
"-",
"Return",
"a",
"virtual",
"register",
"initialized",
"with",
"the",
"the",
"global",
"base",
"register",
"value",
"."
] | [
"Cpu0",
"Cpu0",
"Cpu0"
] | Cpu0ISelDAGToDAG | getGlobalBaseReg | Cpu0 | CPU | LLVM | 22,390 | 50 | 1 | [] |
[
"<s>",
"static",
"unsigned",
"int",
"rs6000_parm_start",
"(",
"enum",
"machine_mode",
"mode",
",",
"tree",
"type",
",",
"unsigned",
"int",
"nwords",
")",
"{",
"unsigned",
"int",
"align",
";",
"unsigned",
"int",
"parm_offset",
";",
"align",
"=",
"function_arg_b... | [
"For",
"a",
"function",
"parm",
"of",
"MODE",
"and",
"TYPE",
",",
"return",
"the",
"starting",
"word",
"in",
"the",
"parameter",
"area",
".",
"NWORDS",
"of",
"the",
"parameter",
"area",
"are",
"already",
"used",
"."
] | [
"rs6000",
"1",
"2",
"6"
] | rs60003 | rs6000_parm_start | rs6000 | CPU | GCC | 22,391 | 63 | 1 | [] |
[
"<s>",
"enum",
"aarch64_symbol_type",
"aarch64_classify_symbol",
"(",
"rtx",
"x",
",",
"rtx",
"offset",
")",
"{",
"if",
"(",
"GET_CODE",
"(",
"x",
")",
"==",
"LABEL_REF",
")",
"{",
"switch",
"(",
"aarch64_cmodel",
")",
"{",
"case",
"AARCH64_CMODEL_LARGE",
":... | [
"Return",
"the",
"method",
"that",
"should",
"be",
"used",
"to",
"access",
"SYMBOL_REF",
"or",
"LABEL_REF",
"X",
"."
] | [
"aarch64",
"1048575",
"1048575",
"4294967263",
"4294967264"
] | aarch644 | aarch64_classify_symbol | aarch64 | CPU | GCC | 22,392 | 246 | 1 | [] |
[
"<s>",
"virtual",
"const",
"MCObjectFormat",
"&",
"getObjectFormat",
"(",
")",
"const",
"{",
"return",
"Format",
";",
"}",
"</s>"
] | [
"Get",
"the",
"object",
"format",
"for",
"this",
"triple",
"."
] | [
"PowerPC"
] | PPCAsmBackend26 | getObjectFormat | PowerPC | CPU | LLVM | 22,393 | 13 | 1 | [] |
[
"<s>",
"BitVector",
"ARMBaseRegisterInfo",
"::",
"getReservedRegs",
"(",
"const",
"MachineFunction",
"&",
"MF",
")",
"const",
"{",
"const",
"ARMSubtarget",
"&",
"STI",
"=",
"MF",
".",
"getSubtarget",
"<",
"ARMSubtarget",
">",
"(",
")",
";",
"const",
"ARMFrameL... | [
"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",
"... | [
"ARM",
"ARM",
"ARM",
"ARM",
"ARM",
"ARM::SP",
"ARM::PC",
"ARM::FPSCR",
"ARM::APSR_NZCV",
"ARM::R9",
"ARM::D31",
"ARM::D16",
"15",
"\"Register list not consecutive!\"",
"0",
"16",
"ARM::D16",
"ARM::GPRPairRegClass",
"ARM::ZR"
] | ARMBaseRegisterInfo11 | getReservedRegs | ARM | CPU | LLVM | 22,394 | 254 | 1 | [] |
[
"<s>",
"static",
"void",
"vax_file_start",
"(",
"void",
")",
"{",
"default_file_start",
"(",
")",
";",
"}",
"</s>"
] | [
"When",
"debugging",
"with",
"stabs",
",",
"we",
"want",
"to",
"output",
"an",
"extra",
"dummy",
"label",
"so",
"that",
"gas",
"can",
"distinguish",
"between",
"D_float",
"and",
"G_float",
"prior",
"to",
"processing",
"the",
".stabs",
"directive",
"identifying... | [
"vax"
] | vax1 | vax_file_start | vax | CPU | GCC | 22,395 | 12 | 1 | [] |
[
"<s>",
"char",
"*",
"iq2000_output_conditional_branch",
"(",
"rtx_insn",
"*",
"insn",
",",
"rtx",
"*",
"operands",
",",
"int",
"two_operands_p",
",",
"int",
"float_p",
",",
"int",
"inverted_p",
",",
"int",
"length",
")",
"{",
"static",
"char",
"buffer",
"[",... | [
"Output",
"assembly",
"instructions",
"to",
"perform",
"a",
"conditional",
"branch",
".",
"INSN",
"is",
"the",
"branch",
"instruction",
".",
"OPERANDS",
"[",
"0",
"]",
"is",
"the",
"condition",
".",
"OPERANDS",
"[",
"1",
"]",
"is",
"the",
"target",
"of",
... | [
"iq2000",
"200",
"0",
"\"%z2\"",
"\",%z3\"",
"\",%.\"",
"\"%F0\"",
"\"%C0\"",
"\"%W0\"",
"\"%N0\"",
"\"%.\"",
"\"%.\"",
"\"\"",
"0",
"4",
"8",
"\"b%s%%?\\t%%Z2%%1\"",
"\"b%s%s%%?\\t%s%s,%%1\"",
"\"z\"",
"\"\"",
"12",
"16",
"16",
"\".+16\"",
"\".+12\"",
"\"b%s\\t%%Z2... | iq2000 | iq2000_output_conditional_branch | iq2000 | CPU | GCC | 22,396 | 369 | 1 | [] |
[
"<s>",
"bool",
"aarch64_mov128_immediate",
"(",
"rtx",
"imm",
")",
"{",
"if",
"(",
"GET_CODE",
"(",
"imm",
")",
"==",
"CONST_INT",
")",
"return",
"true",
";",
"gcc_assert",
"(",
"CONST_WIDE_INT_NUNITS",
"(",
"imm",
")",
"==",
"2",
")",
";",
"rtx",
"lo",
... | [
"Return",
"whether",
"imm",
"is",
"a",
"128-bit",
"immediate",
"which",
"is",
"simple",
"enough",
"to",
"expand",
"inline",
"."
] | [
"aarch64",
"2",
"0",
"1",
"4"
] | aarch64 | aarch64_mov128_immediate | aarch64 | CPU | GCC | 22,397 | 81 | 1 | [] |
[
"<s>",
"void",
"TL45InstrInfo",
"::",
"loadRegFromStackSlot",
"(",
"MachineBasicBlock",
"&",
"MBB",
",",
"MachineBasicBlock",
"::",
"iterator",
"I",
",",
"unsigned",
"DstReg",
",",
"int",
"FI",
",",
"const",
"TargetRegisterClass",
"*",
"RC",
",",
"const",
"Targe... | [
"Load",
"the",
"specified",
"register",
"of",
"the",
"given",
"register",
"class",
"from",
"the",
"specified",
"stack",
"frame",
"index",
"."
] | [
"TL45",
"TL45",
"TL45::GRRegsRegClass",
"TL45::LW",
"\"Can't load this register from stack slot\"",
"0"
] | TL45InstrInfo | loadRegFromStackSlot | TL45 | MPU | LLVM | 22,398 | 106 | 1 | [] |
[
"<s>",
"void",
"HexagonRegisterInfo",
"::",
"eliminateCallFramePseudoInstr",
"(",
"MachineFunction",
"&",
"MF",
",",
"MachineBasicBlock",
"&",
"MBB",
",",
"MachineBasicBlock",
"::",
"iterator",
"I",
")",
"const",
"{",
"MachineInstr",
"&",
"MI",
"=",
"*",
"I",
";... | [
"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",
")",
"."
] | [
"Hexagon",
"Hexagon",
"Hexagon::ADJCALLSTACKDOWN",
"Hexagon::ADJCALLSTACKUP",
"\"Cannot handle this call frame pseudo instruction\""
] | HexagonRegisterInfo21 | eliminateCallFramePseudoInstr | Hexagon | DSP | LLVM | 22,399 | 72 | 1 | [] |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.