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>",
"static",
"bool",
"note_invalid_constants",
"(",
"rtx",
"insn",
",",
"HOST_WIDE_INT",
"address",
",",
"int",
"do_pushes",
")",
"{",
"bool",
"result",
"=",
"false",
";",
"int",
"opno",
";",
"extract_insn",
"(",
"insn",
")",
";",
"if",
"(",
"!",
"co... | [
"Scan",
"INSN",
"and",
"note",
"any",
"of",
"its",
"operands",
"that",
"need",
"fixing",
".",
"If",
"DO_PUSHES",
"is",
"false",
"we",
"do",
"not",
"actually",
"push",
"any",
"of",
"the",
"fixups",
"needed",
".",
"The",
"function",
"returns",
"TRUE",
"if"... | [
"arm",
"1",
"0",
"0",
"0",
"0",
"0"
] | arm3 | note_invalid_constants | arm | CPU | GCC | 14,600 | 246 | 1 | [] |
[
"<s>",
"void",
"nvptx_output_skip",
"(",
"FILE",
"*",
",",
"unsigned",
"HOST_WIDE_INT",
"size",
")",
"{",
"if",
"(",
"init_frag",
".",
"offset",
")",
"{",
"unsigned",
"part",
"=",
"init_frag",
".",
"size",
"-",
"init_frag",
".",
"offset",
";",
"if",
"(",... | [
"Output",
"SIZE",
"zero",
"bytes",
".",
"We",
"ignore",
"the",
"FILE",
"argument",
"since",
"the",
"functions",
"we",
"'re",
"calling",
"to",
"perform",
"the",
"output",
"just",
"use",
"asm_out_file",
"."
] | [
"nvptx",
"0",
"0"
] | nvptx3 | nvptx_output_skip | nvptx | GPU | GCC | 14,601 | 101 | 1 | [] |
[
"<s>",
"bool",
"NVPTXInstrInfo",
"::",
"analyzeBranch",
"(",
"MachineBasicBlock",
"&",
"MBB",
",",
"MachineBasicBlock",
"*",
"&",
"TBB",
",",
"MachineBasicBlock",
"*",
"&",
"FBB",
",",
"SmallVectorImpl",
"<",
"MachineOperand",
">",
"&",
"Cond",
",",
"bool",
"A... | [
"analyzeBranch",
"-",
"Analyze",
"the",
"branching",
"code",
"at",
"the",
"end",
"of",
"MBB",
",",
"returning",
"true",
"if",
"it",
"can",
"not",
"be",
"understood",
"(",
"e.g",
"."
] | [
"NVPTX",
"NVPTX",
"NVPTX::GOTO",
"0",
"NVPTX::CBranch",
"1",
"0",
"NVPTX::CBranch",
"NVPTX::GOTO",
"1",
"0",
"0",
"NVPTX::GOTO",
"NVPTX::GOTO",
"0"
] | NVPTXInstrInfo1 | analyzeBranch | NVPTX | GPU | LLVM | 14,602 | 316 | 1 | [] |
[
"<s>",
"bool",
"AMDGPUCFGStructurizer",
"::",
"isReturnBlock",
"(",
"MachineBasicBlock",
"*",
"MBB",
")",
"{",
"MachineInstr",
"*",
"MI",
"=",
"getReturnInstr",
"(",
"MBB",
")",
";",
"bool",
"IsReturn",
"=",
"(",
"MBB",
"->",
"succ_size",
"(",
")",
"==",
"... | [
"Convenience",
"function",
"that",
"returns",
"true",
"if",
"the",
"block",
"ends",
"in",
"a",
"return",
"instruction",
"."
] | [
"AMDGPU",
"AMDGPU",
"0",
"\"BB\"",
"\" is return block without RETURN instr\\n\""
] | AMDILCFGStructurizer11 | isReturnBlock | AMDGPU | GPU | LLVM | 14,603 | 68 | 1 | [] |
[
"<s>",
"unsigned",
"ARMBaseInstrInfo",
"::",
"predictBranchSizeForIfCvt",
"(",
"MachineInstr",
"&",
"MI",
")",
"const",
"{",
"if",
"(",
"MI",
".",
"getOpcode",
"(",
")",
"==",
"ARM",
"::",
"t2Bcc",
"&&",
"findCMPToFoldIntoCBZ",
"(",
"&",
"MI",
",",
"&",
"g... | [
"Return",
"an",
"estimate",
"for",
"the",
"code",
"size",
"reduction",
"(",
"in",
"bytes",
")",
"which",
"will",
"be",
"caused",
"by",
"removing",
"the",
"given",
"branch",
"instruction",
"during",
"if-conversion",
"."
] | [
"ARM",
"ARM",
"ARM::t2Bcc",
"0",
"2"
] | ARMBaseInstrInfo110 | predictBranchSizeForIfCvt | ARM | CPU | LLVM | 14,604 | 61 | 1 | [] |
[
"<s>",
"MCELFStreamer",
"&",
"M88kTargetELFStreamer",
"::",
"getStreamer",
"(",
")",
"{",
"return",
"static_cast",
"<",
"MCELFStreamer",
"&",
">",
"(",
"Streamer",
")",
";",
"}",
"</s>"
] | [
"Return",
"the",
"output",
"streamer",
"for",
"the",
"assembler",
"."
] | [
"M88k",
"M88k"
] | M88kTargetStreamer | getStreamer | M88k | MPU | LLVM | 14,605 | 19 | 1 | [] |
[
"<s>",
"static",
"bool",
"ft32_fixed_condition_code_regs",
"(",
"unsigned",
"int",
"*",
"p1",
",",
"unsigned",
"int",
"*",
"p2",
")",
"{",
"*",
"p1",
"=",
"CC_REG",
";",
"*",
"p2",
"=",
"INVALID_REGNUM",
";",
"return",
"true",
";",
"}",
"</s>"
] | [
"Return",
"the",
"fixed",
"registers",
"used",
"for",
"condition",
"codes",
"."
] | [
"ft32"
] | ft32 | ft32_fixed_condition_code_regs | ft32 | MPU | GCC | 14,606 | 29 | 1 | [] |
[
"<s>",
"static",
"tree",
"ix86_handle_fentry_name",
"(",
"tree",
"*",
"node",
",",
"tree",
"name",
",",
"tree",
"args",
",",
"int",
",",
"bool",
"*",
"no_add_attrs",
")",
"{",
"if",
"(",
"TREE_CODE",
"(",
"*",
"node",
")",
"==",
"FUNCTION_DECL",
"&&",
... | [
"Handle",
"fentry_name",
"/",
"fentry_section",
"attribute",
"."
] | [
"i386",
"\"%qE attribute ignored\""
] | i386-options | ix86_handle_fentry_name | i386 | CPU | GCC | 14,607 | 63 | 1 | [] |
[
"<s>",
"void",
"MSP430InstrInfo",
"::",
"loadRegFromStackSlot",
"(",
"MachineBasicBlock",
"&",
"MBB",
",",
"MachineBasicBlock",
"::",
"iterator",
"MI",
",",
"unsigned",
"DestReg",
",",
"int",
"FrameIdx",
",",
"const",
"TargetRegisterClass",
"*",
"RC",
",",
"const"... | [
"Load",
"the",
"specified",
"register",
"of",
"the",
"given",
"register",
"class",
"from",
"the",
"specified",
"stack",
"frame",
"index",
"."
] | [
"MSP430",
"MSP430",
"MSP430::GR16RegClass",
"MSP430::MOV16rm",
"0",
"MSP430::GR8RegClass",
"MSP430::MOV8rm",
"0",
"\"Cannot store this register to stack slot!\""
] | MSP430InstrInfo31 | loadRegFromStackSlot | MSP430 | MPU | LLVM | 14,608 | 209 | 1 | [] |
[
"<s>",
"void",
"MipsTargetMachine",
"::",
"resetSubtarget",
"(",
"MachineFunction",
"*",
"MF",
")",
"{",
"DEBUG",
"(",
"dbgs",
"(",
")",
"<<",
"\"resetSubtarget\\n\"",
")",
";",
"Subtarget",
"=",
"const_cast",
"<",
"MipsSubtarget",
"*",
">",
"(",
"getSubtarget... | [
"Reset",
"the",
"subtarget",
"for",
"the",
"Mips",
"target",
"."
] | [
"Mips",
"Mips",
"\"resetSubtarget\\n\"",
"Mips"
] | MipsTargetMachine10 | resetSubtarget | Mips | CPU | LLVM | 14,609 | 46 | 1 | [] |
[
"<s>",
"enum",
"rtx_code",
"pru_noteq_condition",
"(",
"enum",
"rtx_code",
"code",
")",
"{",
"switch",
"(",
"code",
")",
"{",
"case",
"GT",
":",
"return",
"GT",
";",
"case",
"GTU",
":",
"return",
"GTU",
";",
"case",
"GE",
":",
"return",
"GT",
";",
"c... | [
"Given",
"a",
"comparison",
"CODE",
",",
"return",
"a",
"similar",
"comparison",
"but",
"without",
"the",
"``",
"equals",
"''",
"condition",
".",
"In",
"other",
"words",
",",
"it",
"strips",
"GE/GEU/LE/LEU",
"and",
"instead",
"returns",
"GT/GTU/LT/LTU",
"."
] | [
"pru"
] | pru1 | pru_noteq_condition | pru | CPU | GCC | 14,610 | 70 | 1 | [] |
[
"<s>",
"const",
"unsigned",
"*",
"MBlazeRegisterInfo",
"::",
"getCalleeSavedRegs",
"(",
"const",
"MachineFunction",
"*",
"MF",
")",
"const",
"{",
"static",
"const",
"unsigned",
"CalleeSavedRegs",
"[",
"]",
"=",
"{",
"MBlaze",
"::",
"R20",
",",
"MBlaze",
"::",
... | [
"Code",
"Generation",
"virtual",
"methods",
"..."
] | [
"MBlaze",
"MBlaze",
"MBlaze::R20",
"MBlaze::R21",
"MBlaze::R22",
"MBlaze::R23",
"MBlaze::R24",
"MBlaze::R25",
"MBlaze::R26",
"MBlaze::R27",
"MBlaze::R28",
"MBlaze::R29",
"MBlaze::R30",
"MBlaze::R31",
"0"
] | MBlazeRegisterInfo1 | getCalleeSavedRegs | MBlaze | MPU | LLVM | 14,611 | 77 | 1 | [] |
[
"<s>",
"unsigned",
"int",
"nds32_local_alignment",
"(",
"tree",
"local",
"ATTRIBUTE_UNUSED",
",",
"unsigned",
"int",
"basic_align",
")",
"{",
"bool",
"at_least_align_to_word",
"=",
"false",
";",
"switch",
"(",
"TREE_CODE",
"(",
"local",
")",
")",
"{",
"case",
... | [
"Return",
"alignment",
"for",
"local",
"variable",
"."
] | [
"nds32"
] | nds32 | nds32_local_alignment | nds32 | CPU | GCC | 14,612 | 68 | 1 | [] |
[
"<s>",
"OffsetRange",
"&",
"intersect",
"(",
"OffsetRange",
"A",
")",
"{",
"if",
"(",
"Align",
"<",
"A",
".",
"Align",
")",
"std",
"::",
"swap",
"(",
"*",
"this",
",",
"A",
")",
";",
"if",
"(",
"Offset",
">=",
"A",
".",
"Offset",
"&&",
"(",
"Of... | [
"Intersect",
"this",
"set",
"with",
"a",
"temporary",
"other",
"set",
"in",
"place",
"."
] | [
"Hexagon",
"0",
"0",
"1",
"0",
"1",
"1"
] | HexagonConstExtenders (2) | intersect | Hexagon | DSP | LLVM | 14,613 | 136 | 1 | [] |
[
"<s>",
"DFAPacketizer",
"*",
"rvexInstrInfo",
"::",
"CreateTargetScheduleState",
"(",
"const",
"TargetMachine",
"*",
"TM",
",",
"const",
"ScheduleDAG",
"*",
"DAG",
")",
"const",
"{",
"DEBUG",
"(",
"errs",
"(",
")",
"<<",
"\"Voor DFA!\\n\"",
")",
";",
"const",
... | [
"Create",
"machine",
"specific",
"model",
"for",
"scheduling",
"."
] | [
"rvex",
"rvex",
"\"Voor DFA!\\n\"",
"\"Na DFA!\\n\"",
"rvex",
"\"Na na DFA!\\n\""
] | rvexInstrInfo | CreateTargetScheduleState | rvex | VLIW | LLVM | 14,614 | 78 | 1 | [] |
[
"<s>",
"const",
"MCPhysReg",
"*",
"SystemZRegisterInfo",
"::",
"getCalleeSavedRegs",
"(",
"const",
"MachineFunction",
"*",
"MF",
")",
"const",
"{",
"const",
"SystemZSubtarget",
"*",
"Subtarget",
"=",
"&",
"MF",
"->",
"getSubtarget",
"<",
"SystemZSubtarget",
">",
... | [
"Code",
"Generation",
"virtual",
"methods",
"..."
] | [
"SystemZ",
"SystemZ",
"SystemZ",
"SystemZ",
"SystemZ"
] | SystemZRegisterInfo10 | getCalleeSavedRegs | SystemZ | CPU | LLVM | 14,615 | 48 | 1 | [] |
[
"<s>",
"bool",
"swiftAsyncContextIsDynamicallySet",
"(",
")",
"const",
"{",
"const",
"Triple",
"&",
"TT",
"=",
"getTargetTriple",
"(",
")",
";",
"unsigned",
"Major",
",",
"Minor",
",",
"Micro",
";",
"TT",
".",
"getOSVersion",
"(",
"Major",
",",
"Minor",
",... | [
"Return",
"whether",
"FrameLowering",
"should",
"always",
"set",
"the",
"``",
"extended",
"frame",
"present",
"''",
"bit",
"in",
"FP",
",",
"or",
"set",
"it",
"based",
"on",
"a",
"symbol",
"in",
"the",
"runtime",
"."
] | [
"X86",
"15",
"8",
"12"
] | X86Subtarget107 | swiftAsyncContextIsDynamicallySet | X86 | CPU | LLVM | 14,616 | 89 | 1 | [] |
[
"<s>",
"static",
"int",
"flags_needed_for_conditional",
"(",
"rtx",
"cond",
")",
"{",
"switch",
"(",
"GET_CODE",
"(",
"cond",
")",
")",
"{",
"case",
"LE",
":",
"case",
"GT",
":",
"return",
"FLAGS_OSZ",
";",
"case",
"LEU",
":",
"case",
"GTU",
":",
"retu... | [
"Indicate",
"which",
"flags",
"must",
"be",
"properly",
"set",
"for",
"a",
"given",
"conditional",
"."
] | [
"m32c"
] | m32c | flags_needed_for_conditional | m32c | MPU | GCC | 14,617 | 68 | 1 | [] |
[
"<s>",
"bool",
"shouldOmitSectionDirective",
"(",
"StringRef",
"SectionName",
")",
"const",
"override",
"{",
"return",
"true",
";",
"}",
"</s>"
] | [
"Return",
"true",
"if",
"the",
".section",
"directive",
"should",
"be",
"omitted",
"when",
"emitting",
"SectionName",
"."
] | [
"NVPTX"
] | NVPTXMCAsmInfo11 | shouldOmitSectionDirective | NVPTX | GPU | LLVM | 14,618 | 13 | 1 | [] |
[
"<s>",
"bool",
"DCPU16FrameLowering",
"::",
"restoreCalleeSavedRegisters",
"(",
"MachineBasicBlock",
"&",
"MBB",
",",
"MachineBasicBlock",
"::",
"iterator",
"MI",
",",
"const",
"std",
"::",
"vector",
"<",
"CalleeSavedInfo",
">",
"&",
"CSI",
",",
"const",
"TargetRe... | [
"restoreCalleeSavedRegisters",
"-",
"Issues",
"instruction",
"(",
"s",
")",
"to",
"restore",
"all",
"callee",
"saved",
"registers",
"and",
"returns",
"true",
"if",
"it",
"is",
"n't",
"possible",
"/",
"profitable",
"to",
"do",
"so",
"by",
"issuing",
"a",
"ser... | [
"Dcpu16",
"DCPU16",
"0",
"DCPU16::POP16r"
] | Dcpu16FrameLowering | restoreCalleeSavedRegisters | Dcpu16 | CPU | LLVM | 14,619 | 143 | 1 | [] |
[
"<s>",
"static",
"void",
"mips_multi_copy_insn",
"(",
"unsigned",
"int",
"i",
")",
"{",
"struct",
"mips_multi_member",
"*",
"member",
";",
"member",
"=",
"mips_multi_add",
"(",
")",
";",
"memcpy",
"(",
"member",
",",
"&",
"mips_multi_members",
"[",
"i",
"]",... | [
"Add",
"a",
"copy",
"of",
"an",
"existing",
"instruction",
"to",
"the",
"current",
"multi-insn",
"sequence",
".",
"I",
"is",
"the",
"index",
"of",
"the",
"instruction",
"that",
"should",
"be",
"copied",
"."
] | [
"mips"
] | mips | mips_multi_copy_insn | mips | CPU | GCC | 14,620 | 46 | 1 | [] |
[
"<s>",
"EVT",
"ARMTargetLowering",
"::",
"getSetCCResultType",
"(",
"const",
"DataLayout",
"&",
"DL",
",",
"LLVMContext",
"&",
",",
"EVT",
"VT",
")",
"const",
"{",
"if",
"(",
"!",
"VT",
".",
"isVector",
"(",
")",
")",
"return",
"getPointerTy",
"(",
"DL",... | [
"Return",
"the",
"value",
"type",
"to",
"use",
"for",
"ISD",
":",
":SETCC",
"."
] | [
"ARM",
"ARM",
"MVT::v4i32",
"MVT::v8i16",
"MVT::v16i8",
"MVT::v4f32",
"MVT::v8f16",
"MVT::getVectorVT",
"MVT::i1"
] | ARMISelLowering (2)5 | getSetCCResultType | ARM | CPU | LLVM | 14,621 | 109 | 1 | [] |
[
"<s>",
"void",
"init_cumulative_args",
"(",
"CUMULATIVE_ARGS",
"*",
"cum",
",",
"tree",
"fntype",
",",
"rtx",
"libname",
"ATTRIBUTE_UNUSED",
",",
"int",
"incoming",
",",
"int",
"libcall",
",",
"int",
"n_named_args",
",",
"tree",
"fndecl",
"ATTRIBUTE_UNUSED",
","... | [
"Handle",
"the",
"INIT_CUMULATIVE_ARGS",
"macro",
".",
"Initialize",
"a",
"variable",
"CUM",
"of",
"type",
"CUMULATIVE_ARGS",
"for",
"a",
"call",
"to",
"a",
"function",
"whose",
"data",
"type",
"is",
"FNTYPE",
".",
"For",
"a",
"library",
"call",
",",
"FNTYPE... | [
"rs6000",
"0",
"0",
"\"longcall\"",
"\"shortcall\"",
"\"\\ninit_cumulative_args:\"",
"\" ret code = %s,\"",
"\" longcall,\"",
"\" proto = %d, nargs = %d\\n\"",
"0",
"8",
"\"cannot return value in vector register because\"",
"\" altivec instructions are disabled, use -maltivec\"",
"\" to en... | rs60004 | init_cumulative_args | rs6000 | CPU | GCC | 14,622 | 422 | 1 | [] |
[
"<s>",
"CCAssignFn",
"*",
"AArch64TargetLowering",
"::",
"CCAssignFnForCall",
"(",
"CallingConv",
"::",
"ID",
"CC",
",",
"bool",
"IsVarArg",
")",
"const",
"{",
"switch",
"(",
"CC",
")",
"{",
"default",
":",
"llvm_unreachable",
"(",
"\"Unsupported calling conventio... | [
"Selects",
"the",
"correct",
"CCAssignFn",
"for",
"a",
"given",
"CallingConvention",
"value",
"."
] | [
"AArch64",
"AArch64",
"\"Unsupported calling convention.\"",
"AArch64",
"AArch64",
"AArch64",
"AArch64",
"AArch64"
] | AArch64ISelLowering (2) | CCAssignFnForCall | AArch64 | CPU | LLVM | 14,623 | 85 | 1 | [] |
[
"<s>",
"bool",
"allowsMisalignedMemoryAccesses",
"(",
"EVT",
"VT",
",",
"unsigned",
"AddrSpace",
"=",
"0",
",",
"unsigned",
"Align",
"=",
"1",
",",
"bool",
"*",
"Fast",
"=",
"nullptr",
")",
"const",
"override",
"{",
"if",
"(",
"RequireStrictAlign",
")",
"r... | [
"Returns",
"true",
"if",
"the",
"target",
"allows",
"unaligned",
"memory",
"accesses",
"of",
"the",
"specified",
"type",
"."
] | [
"AArch64",
"0",
"1"
] | AArch64ISelLowering107 | allowsMisalignedMemoryAccesses | AArch64 | CPU | LLVM | 14,624 | 45 | 1 | [] |
[
"<s>",
"bool",
"SPIRVInstructionSelector",
"::",
"select",
"(",
"MachineInstr",
"&",
"I",
")",
"{",
"assert",
"(",
"I",
".",
"getParent",
"(",
")",
"&&",
"\"Instruction should be in a basic block!\"",
")",
";",
"assert",
"(",
"I",
".",
"getParent",
"(",
")",
... | [
"Select",
"the",
"(",
"possibly",
"generic",
")",
"instruction",
"I",
"to",
"only",
"use",
"target-specific",
"opcodes",
"."
] | [
"SPIRV",
"SPIRV",
"\"Instruction should be in a basic block!\"",
"\"Instruction should be in a function!\"",
"SPIRV::ASSIGN_TYPE",
"1",
"1",
"0",
"1",
"0",
"32",
"\"Generic instr has unexpected implicit operands\\n\"",
"0",
"0",
"0",
"SPIRV",
"SPIRV",
"32"
] | SPIRVInstructionSelector | select | SPIRV | Virtual ISA | LLVM | 14,625 | 340 | 1 | [] |
[
"<s>",
"bool",
"isReg",
"(",
")",
"const",
"override",
"{",
"return",
"Kind",
"==",
"Register",
"&&",
"Reg",
".",
"Modifiers",
"==",
"-",
"1",
";",
"}",
"</s>"
] | [
"isReg",
"-",
"Is",
"this",
"a",
"register",
"operand",
"?"
] | [
"R600",
"1"
] | AMDGPUAsmParser18 | isReg | R600 | GPU | LLVM | 14,626 | 20 | 1 | [] |
[
"<s>",
"virtual",
"const",
"char",
"*",
"getPassName",
"(",
")",
"const",
"{",
"return",
"\"Mips Native Client Rewrite Pass\"",
";",
"}",
"</s>"
] | [
"getPassName",
"-",
"Return",
"a",
"nice",
"clean",
"name",
"for",
"a",
"pass",
"."
] | [
"Mips",
"\"Mips Native Client Rewrite Pass\""
] | MipsNaClRewritePass | getPassName | Mips | CPU | LLVM | 14,627 | 13 | 1 | [] |
[
"<s>",
"StringRef",
"getPassName",
"(",
")",
"const",
"override",
"{",
"return",
"\"ARM Instruction Selection\"",
";",
"}",
"</s>"
] | [
"getPassName",
"-",
"Return",
"a",
"nice",
"clean",
"name",
"for",
"a",
"pass",
"."
] | [
"ARM",
"\"ARM Instruction Selection\""
] | ARMISelDAGToDAG | getPassName | ARM | CPU | LLVM | 14,628 | 11 | 1 | [] |
[
"<s>",
"int",
"s390_O_constraint_str",
"(",
"const",
"char",
"c",
",",
"HOST_WIDE_INT",
"value",
")",
"{",
"if",
"(",
"!",
"TARGET_EXTIMM",
")",
"return",
"0",
";",
"switch",
"(",
"c",
")",
"{",
"case",
"'s'",
":",
"return",
"trunc_int_for_mode",
"(",
"v... | [
"Evaluates",
"constraint",
"strings",
"starting",
"with",
"letter",
"O",
".",
"Input",
"parameter",
"C",
"is",
"the",
"second",
"letter",
"following",
"the",
"``",
"O",
"''",
"in",
"the",
"constraint",
"string",
".",
"Returns",
"1",
"if",
"VALUE",
"meets",
... | [
"s390",
"0",
"0",
"0",
"1",
"1",
"1",
"1"
] | s390 | s390_O_constraint_str | s390 | MPU | GCC | 14,629 | 92 | 1 | [] |
[
"<s>",
"const",
"TOYRegisterInfo",
"&",
"getRegisterInfo",
"(",
")",
"const",
"{",
"return",
"RI",
";",
"}",
"</s>"
] | [
"getRegisterInfo",
"-",
"TargetInstrInfo",
"is",
"a",
"superset",
"of",
"MRegister",
"info",
"."
] | [
"TOY",
"TOY"
] | TOYInstrInfo1 | getRegisterInfo | TOY | CPU | LLVM | 14,630 | 12 | 1 | [] |
[
"<s>",
"bool",
"mayNeedRelaxation",
"(",
"const",
"MCInst",
"&",
"Inst",
")",
"const",
"override",
"{",
"return",
"false",
";",
"}",
"</s>"
] | [
"Check",
"whether",
"the",
"given",
"instruction",
"may",
"need",
"relaxation",
"."
] | [
"BPF"
] | BPFAsmBackend | mayNeedRelaxation | BPF | Virtual ISA | LLVM | 14,631 | 15 | 1 | [] |
[
"<s>",
"static",
"void",
"mep_reload_pointer",
"(",
"int",
"regno",
",",
"const",
"char",
"*",
"symbol",
")",
"{",
"rtx",
"reg",
",",
"sym",
";",
"if",
"(",
"!",
"df_regs_ever_live_p",
"(",
"regno",
")",
"&&",
"crtl",
"->",
"is_leaf",
")",
"return",
";... | [
"Used",
"for",
"interrupt",
"functions",
",",
"which",
"ca",
"n't",
"assume",
"that",
"$",
"tp",
"and",
"$",
"gp",
"contain",
"the",
"correct",
"pointers",
"."
] | [
"mep"
] | mep | mep_reload_pointer | mep | CPU | GCC | 14,632 | 73 | 1 | [] |
[
"<s>",
"static",
"void",
"nvptx_assemble_decl_begin",
"(",
"FILE",
"*",
"file",
",",
"const",
"char",
"*",
"name",
",",
"const",
"char",
"*",
"section",
",",
"const_tree",
"type",
",",
"HOST_WIDE_INT",
"size",
",",
"unsigned",
"align",
")",
"{",
"while",
"... | [
"Emit",
"a",
"PTX",
"variable",
"decl",
"and",
"prepare",
"for",
"emission",
"of",
"its",
"initializer",
".",
"NAME",
"is",
"the",
"symbol",
"name",
"and",
"SETION",
"the",
"PTX",
"data",
"area",
".",
"The",
"type",
"is",
"TYPE",
",",
"object",
"size",
... | [
"nvptx",
"2",
"1",
"1",
"0",
"0",
"1",
"\"%s .align %d .u%d \"",
"\"[\"",
"\"]\""
] | nvptx3 | nvptx_assemble_decl_begin | nvptx | GPU | GCC | 14,633 | 203 | 1 | [] |
[
"<s>",
"MachineInstr",
"*",
"X86InstrInfo",
"::",
"optimizeLoadInstr",
"(",
"MachineInstr",
"&",
"MI",
",",
"const",
"MachineRegisterInfo",
"*",
"MRI",
",",
"unsigned",
"&",
"FoldAsLoadDefReg",
",",
"MachineInstr",
"*",
"&",
"DefMI",
")",
"const",
"{",
"if",
"... | [
"optimizeLoadInstr",
"-",
"Try",
"to",
"remove",
"the",
"load",
"by",
"folding",
"it",
"to",
"a",
"register",
"operand",
"at",
"the",
"use",
"."
] | [
"X86",
"X86",
"0",
"0",
"0",
"0",
"0"
] | X86InstrInfo (2)1 | optimizeLoadInstr | X86 | CPU | LLVM | 14,634 | 227 | 1 | [] |
[
"<s>",
"static",
"void",
"ix86_emit_cmove",
"(",
"rtx",
"dst",
",",
"rtx",
"src",
",",
"enum",
"rtx_code",
"code",
",",
"rtx",
"op1",
",",
"rtx",
"op2",
")",
"{",
"rtx",
"t",
";",
"if",
"(",
"TARGET_CMOVE",
")",
"{",
"t",
"=",
"ix86_expand_compare",
... | [
"Emit",
"conditional",
"move",
"of",
"SRC",
"to",
"DST",
"with",
"condition",
"OP1",
"CODE",
"OP2",
"."
] | [
"i386",
"1"
] | i3864 | ix86_emit_cmove | i386 | CPU | GCC | 14,635 | 111 | 1 | [] |
[
"<s>",
"unsigned",
"MipsInstrInfo",
"::",
"getInstSizeInBytes",
"(",
"const",
"MachineInstr",
"&",
"MI",
")",
"const",
"{",
"switch",
"(",
"MI",
".",
"getOpcode",
"(",
")",
")",
"{",
"default",
":",
"return",
"MI",
".",
"getDesc",
"(",
")",
".",
"getSize... | [
"Returns",
"the",
"size",
"in",
"bytes",
"of",
"the",
"specified",
"MachineInstr",
",",
"or",
"~0U",
"when",
"this",
"function",
"is",
"not",
"implemented",
"by",
"a",
"target",
"."
] | [
"Mips",
"Mips",
"0",
"Mips::CONSTPOOL_ENTRY",
"2"
] | MipsInstrInfo (2)3 | getInstSizeInBytes | Mips | CPU | LLVM | 14,636 | 113 | 1 | [] |
[
"<s>",
"bool",
"AArch64AsmParser",
"::",
"ParseDirective",
"(",
"AsmToken",
"DirectiveID",
")",
"{",
"const",
"MCObjectFileInfo",
"::",
"Environment",
"Format",
"=",
"getContext",
"(",
")",
".",
"getObjectFileInfo",
"(",
")",
"->",
"getObjectFileType",
"(",
")",
... | [
"ParseDirective",
"-",
"Parse",
"a",
"target",
"specific",
"assembler",
"directive",
"This",
"method",
"is",
"deprecated",
",",
"use",
"'parseDirective",
"'",
"instead",
"."
] | [
"AArch64",
"AArch64",
"\".arch\"",
"\".cpu\"",
"\".tlsdesccall\"",
"\".ltorg\"",
"\".pool\"",
"\".unreq\"",
"\".inst\"",
"\".cfi_negate_ra_state\""
] | AArch64AsmParser3 | ParseDirective | AArch64 | CPU | LLVM | 14,637 | 174 | 1 | [] |
[
"<s>",
"bool",
"isMem",
"(",
")",
"const",
"override",
"{",
"return",
"isMEMrri",
"(",
")",
"||",
"isMEMrii",
"(",
")",
"||",
"isMEMzri",
"(",
")",
"||",
"isMEMzii",
"(",
")",
"||",
"isMEMri",
"(",
")",
"||",
"isMEMzi",
"(",
")",
";",
"}",
"</s>"
] | [
"isMem",
"-",
"Is",
"this",
"a",
"memory",
"operand",
"?"
] | [
"VE"
] | VEAsmParser (2) | isMem | VE | CPU | LLVM | 14,638 | 33 | 1 | [] |
[
"<s>",
"EVT",
"MipsTargetLowering",
"::",
"getSetCCResultType",
"(",
"EVT",
"VT",
")",
"const",
"{",
"return",
"MVT",
"::",
"i32",
";",
"}",
"</s>"
] | [
"Return",
"the",
"value",
"type",
"to",
"use",
"for",
"ISD",
":",
":SETCC",
"."
] | [
"Mips",
"Mips",
"MVT::i32"
] | MipsISelLowering (2)3 | getSetCCResultType | Mips | CPU | LLVM | 14,639 | 16 | 1 | [] |
[
"<s>",
"SMRange",
"getLocRange",
"(",
")",
"const",
"{",
"return",
"SMRange",
"(",
"StartLoc",
",",
"EndLoc",
")",
";",
"}",
"</s>"
] | [
"getLocRange",
"-",
"Get",
"the",
"range",
"between",
"the",
"first",
"and",
"last",
"token",
"of",
"this",
"operand",
"."
] | [
"TPC"
] | TPCAsmParser | getLocRange | TPC | Virtual ISA | LLVM | 14,640 | 15 | 1 | [] |
[
"<s>",
"virtual",
"EVT",
"getSetCCResultType",
"(",
"EVT",
"VT",
")",
"const",
"{",
"return",
"MVT",
"::",
"i32",
";",
"}",
"</s>"
] | [
"Return",
"the",
"value",
"type",
"to",
"use",
"for",
"ISD",
":",
":SETCC",
"."
] | [
"SystemZ",
"MVT::i32"
] | SystemZISelLowering36 | getSetCCResultType | SystemZ | CPU | LLVM | 14,641 | 15 | 1 | [] |
[
"<s>",
"unsigned",
"MSP430RegisterInfo",
"::",
"getFrameRegister",
"(",
"const",
"MachineFunction",
"&",
"MF",
")",
"const",
"{",
"const",
"TargetFrameLowering",
"*",
"TFI",
"=",
"MF",
".",
"getSubtarget",
"(",
")",
".",
"getFrameLowering",
"(",
")",
";",
"ret... | [
"Debug",
"information",
"queries",
"."
] | [
"MSP430",
"MSP430",
"MSP430::FP",
"MSP430::SP"
] | MSP430RegisterInfo16 | getFrameRegister | MSP430 | MPU | LLVM | 14,642 | 44 | 1 | [] |
[
"<s>",
"TargetLoweringBase",
"::",
"LegalizeTypeAction",
"getPreferredVectorAction",
"(",
"EVT",
"VT",
")",
"const",
"override",
"{",
"if",
"(",
"VT",
".",
"getScalarSizeInBits",
"(",
")",
"%",
"8",
"==",
"0",
")",
"return",
"TypeWidenVector",
";",
"return",
"... | [
"Customize",
"the",
"preferred",
"legalization",
"strategy",
"for",
"certain",
"types",
"."
] | [
"SystemZ",
"8",
"0"
] | SystemZISelLowering10 | getPreferredVectorAction | SystemZ | CPU | LLVM | 14,643 | 35 | 1 | [] |
[
"<s>",
"bool",
"system_reg_operand",
"(",
"rtx",
"op",
",",
"machine_mode",
"mode",
"ATTRIBUTE_UNUSED",
")",
"{",
"switch",
"(",
"REGNO",
"(",
"op",
")",
")",
"{",
"case",
"PR_REG",
":",
"case",
"MACL_REG",
":",
"case",
"MACH_REG",
":",
"return",
"true",
... | [
"Returns",
"1",
"if",
"OP",
"is",
"MACL",
",",
"MACH",
"or",
"PR",
".",
"The",
"input",
"must",
"be",
"a",
"REG",
"rtx",
".",
"Used",
"only",
"in",
"general_movsrc_operand",
"."
] | [
"sh"
] | sh | system_reg_operand | sh | CPU | GCC | 14,644 | 36 | 1 | [] |
[
"<s>",
"void",
"MipsInstPrinter",
"::",
"printInst",
"(",
"const",
"MCInst",
"*",
"MI",
",",
"uint64_t",
"Address",
",",
"StringRef",
"Annot",
",",
"const",
"MCSubtargetInfo",
"&",
"STI",
",",
"raw_ostream",
"&",
"O",
")",
"{",
"switch",
"(",
"MI",
"->",
... | [
"Print",
"the",
"specified",
"MCInst",
"to",
"the",
"specified",
"raw_ostream",
"."
] | [
"Mips",
"Mips",
"Mips::RDHWR",
"Mips::RDHWR64",
"\"\\t.set\\tpush\\n\"",
"\"\\t.set\\tmips32r2\\n\"",
"Mips::Save16",
"\"\\tsave\\t\"",
"\" # 16 bit inst\\n\"",
"Mips::SaveX16",
"\"\\tsave\\t\"",
"\"\\n\"",
"Mips::Restore16",
"\"\\trestore\\t\"",
"\" # 16 bit inst\\n\"",
"Mips::Restore... | MipsInstPrinter16 | printInst | Mips | CPU | LLVM | 14,645 | 214 | 1 | [] |
[
"<s>",
"bool",
"PatmosInstPrinter",
"::",
"isBundled",
"(",
"const",
"MCInst",
"*",
"MI",
")",
"const",
"{",
"return",
"MI",
"->",
"getOperand",
"(",
"MI",
"->",
"getNumOperands",
"(",
")",
"-",
"1",
")",
".",
"getImm",
"(",
")",
">",
"0",
";",
"}",
... | [
"Return",
"true",
"if",
"this",
"instruction",
"part",
"of",
"a",
"bundle",
"."
] | [
"Patmos",
"Patmos",
"1",
"0"
] | PatmosInstPrinter | isBundled | Patmos | VLIW | LLVM | 14,646 | 33 | 1 | [] |
[
"<s>",
"static",
"void",
"hwloop_fail",
"(",
"hwloop_info",
"loop",
")",
"{",
"rtx",
"test",
";",
"rtx_insn",
"*",
"insn",
"=",
"loop",
"->",
"loop_end",
";",
"emit_insn_before",
"(",
"gen_addsi3",
"(",
"loop",
"->",
"iter_reg",
",",
"loop",
"->",
"iter_re... | [
"A",
"callback",
"for",
"the",
"hw-doloop",
"pass",
".",
"Called",
"when",
"a",
"loop",
"we",
"have",
"discovered",
"turns",
"out",
"not",
"to",
"be",
"optimizable",
";",
"we",
"have",
"to",
"split",
"the",
"doloop_end",
"pattern",
"into",
"a",
"subtract",... | [
"xtensa"
] | xtensa | hwloop_fail | xtensa | MPU | GCC | 14,647 | 101 | 1 | [] |
[
"<s>",
"bool",
"AArch64InstrInfo",
"::",
"areMemAccessesTriviallyDisjoint",
"(",
"MachineInstr",
"&",
"MIa",
",",
"MachineInstr",
"&",
"MIb",
",",
"AliasAnalysis",
"*",
"AA",
")",
"const",
"{",
"const",
"TargetRegisterInfo",
"*",
"TRI",
"=",
"&",
"getRegisterInfo"... | [
"Sometimes",
",",
"it",
"is",
"possible",
"for",
"the",
"target",
"to",
"tell",
",",
"even",
"without",
"aliasing",
"information",
",",
"that",
"two",
"MIs",
"access",
"different",
"memory",
"addresses",
"."
] | [
"AArch64",
"AArch64",
"0",
"0",
"0",
"0",
"\"MIa must be a load or store.\"",
"\"MIb must be a load or store.\""
] | AArch64InstrInfo (2)1 | areMemAccessesTriviallyDisjoint | AArch64 | CPU | LLVM | 14,648 | 201 | 1 | [] |
[
"<s>",
"PreservedAnalyses",
"BPFAdjustOptPass",
"::",
"run",
"(",
"Module",
"&",
"M",
",",
"ModuleAnalysisManager",
"&",
"AM",
")",
"{",
"return",
"BPFAdjustOptImpl",
"(",
"&",
"M",
")",
".",
"run",
"(",
")",
"?",
"PreservedAnalyses",
"::",
"none",
"(",
")... | [
"Run",
"the",
"analysis",
"pass",
"over",
"a",
"function",
"and",
"produce",
"a",
"dominator",
"tree",
"."
] | [
"BPF",
"BPF",
"BPF"
] | BPFAdjustOpt | run | BPF | Virtual ISA | LLVM | 14,649 | 38 | 1 | [] |
[
"<s>",
"const",
"char",
"*",
"output_h8sx_shift",
"(",
"rtx",
"*",
"operands",
",",
"int",
"suffix",
",",
"int",
"optype",
")",
"{",
"static",
"char",
"buffer",
"[",
"16",
"]",
";",
"const",
"char",
"*",
"stem",
";",
"switch",
"(",
"GET_CODE",
"(",
"... | [
"Return",
"the",
"asm",
"template",
"for",
"a",
"single",
"h8sx",
"shift",
"instruction",
".",
"OPERANDS",
"[",
"0",
"]",
"and",
"OPERANDS",
"[",
"1",
"]",
"are",
"the",
"destination",
",",
"OPERANDS",
"[",
"2",
"]",
"is",
"the",
"source",
"and",
"OPER... | [
"h8300",
"16",
"3",
"\"shll\"",
"\"shar\"",
"\"shlr\"",
"\"rotl\"",
"2",
"2",
"2",
"0",
"2",
"\"rotr\"",
"2",
"\"%s.%c\\t%%%c0\"",
"\"%s.%c\\t%%X2,%%%c0\""
] | h8300 | output_h8sx_shift | h8300 | MPU | GCC | 14,650 | 167 | 1 | [] |
[
"<s>",
"virtual",
"const",
"char",
"*",
"getPassName",
"(",
")",
"const",
"{",
"return",
"\"ARM Instruction Selection\"",
";",
"}",
"</s>"
] | [
"getPassName",
"-",
"Return",
"a",
"nice",
"clean",
"name",
"for",
"a",
"pass",
"."
] | [
"ARM",
"\"ARM Instruction Selection\""
] | ARMISelDAGToDAG (2) | getPassName | ARM | CPU | LLVM | 14,651 | 13 | 1 | [] |
[
"<s>",
"static",
"rtx",
"mips16e_save_restore_reg",
"(",
"bool",
"restore_p",
",",
"bool",
"reg_parm_p",
",",
"HOST_WIDE_INT",
"offset",
",",
"unsigned",
"int",
"regno",
")",
"{",
"rtx",
"reg",
",",
"mem",
";",
"mem",
"=",
"gen_frame_mem",
"(",
"SImode",
","... | [
"Return",
"a",
"move",
"between",
"register",
"REGNO",
"and",
"memory",
"location",
"SP",
"+",
"OFFSET",
".",
"REG_PARM_P",
"is",
"true",
"if",
"SP",
"+",
"OFFSET",
"belongs",
"to",
"REG_PARM_STACK_SPACE",
".",
"Make",
"the",
"move",
"a",
"load",
"if",
"RE... | [
"mips"
] | mips4 | mips16e_save_restore_reg | mips | CPU | GCC | 14,652 | 92 | 1 | [] |
[
"<s>",
"void",
"RISCVInstrInfo",
"::",
"loadRegFromStackSlot",
"(",
"MachineBasicBlock",
"&",
"MBB",
",",
"MachineBasicBlock",
"::",
"iterator",
"I",
",",
"Register",
"DstReg",
",",
"int",
"FI",
",",
"const",
"TargetRegisterClass",
"*",
"RC",
",",
"const",
"Targ... | [
"Load",
"the",
"specified",
"register",
"of",
"the",
"given",
"register",
"class",
"from",
"the",
"specified",
"stack",
"frame",
"index",
"."
] | [
"RI5CY",
"RISCV",
"RISCV::GPRRegClass",
"RISCV::GPRRegClass",
"32",
"RISCV::LW",
"RISCV::LD",
"RISCV::FPR16RegClass",
"RISCV::FLH",
"RISCV::FPR32RegClass",
"RISCV::FLW",
"RISCV::FPR64RegClass",
"RISCV::FLD",
"\"Can't load this register from stack slot\"",
"0"
] | RISCVInstrInfo | loadRegFromStackSlot | RI5CY | CPU | LLVM | 14,653 | 238 | 1 | [] |
[
"<s>",
"bool",
"WebAssemblyPrepareForLiveIntervals",
"::",
"runOnMachineFunction",
"(",
"MachineFunction",
"&",
"MF",
")",
"{",
"DEBUG",
"(",
"{",
"dbgs",
"(",
")",
"<<",
"\"********** Prepare For LiveIntervals **********\\n\"",
"<<",
"\"********** Function: \"",
"<<",
"M... | [
"runOnMachineFunction",
"-",
"Emit",
"the",
"function",
"body",
"."
] | [
"WebAssembly",
"WebAssembly",
"\"********** Prepare For LiveIntervals **********\\n\"",
"\"********** Function: \"",
"WebAssembly",
"\"LiveIntervals shouldn't be active yet!\"",
"0",
"WebAssembly::IMPLICIT_DEF"
] | WebAssemblyPrepareForLiveIntervals | runOnMachineFunction | WebAssembly | Virtual ISA | LLVM | 14,654 | 262 | 1 | [] |
[
"<s>",
"void",
"X86AsmPrinter",
"::",
"emitFunctionBodyStart",
"(",
")",
"{",
"if",
"(",
"EmitFPOData",
")",
"{",
"if",
"(",
"auto",
"*",
"XTS",
"=",
"static_cast",
"<",
"X86TargetStreamer",
"*",
">",
"(",
"OutStreamer",
"->",
"getTargetStreamer",
"(",
")",
... | [
"Targets",
"can",
"override",
"this",
"to",
"emit",
"stuff",
"before",
"the",
"first",
"basic",
"block",
"in",
"the",
"function",
"."
] | [
"X86",
"X86",
"X86",
"X86"
] | X86AsmPrinter10 | emitFunctionBodyStart | X86 | CPU | LLVM | 14,655 | 53 | 1 | [] |
[
"<s>",
"void",
"print",
"(",
"raw_ostream",
"&",
"OS",
",",
"const",
"TargetMachine",
"*",
"TM",
"=",
"0",
")",
"const",
"{",
"if",
"(",
"isReg",
"(",
")",
")",
"{",
"OS",
"<<",
"PrintReg",
"(",
"getReg",
"(",
")",
")",
";",
"}",
"if",
"(",
"is... | [
"print",
"-",
"Print",
"a",
"debug",
"representation",
"of",
"the",
"operand",
"to",
"the",
"given",
"stream",
"."
] | [
"Hexagon",
"0"
] | HexagonHardwareLoops16 | print | Hexagon | DSP | LLVM | 14,656 | 48 | 1 | [] |
[
"<s>",
"static",
"bool",
"ix86_optab_supported_p",
"(",
"int",
"op",
",",
"machine_mode",
"mode1",
",",
"machine_mode",
",",
"optimization_type",
"opt_type",
")",
"{",
"switch",
"(",
"op",
")",
"{",
"case",
"asin_optab",
":",
"case",
"acos_optab",
":",
"case",... | [
"Implement",
"the",
"TARGET_OPTAB_SUPPORTED_P",
"hook",
"."
] | [
"i386"
] | i386 | ix86_optab_supported_p | i386 | CPU | GCC | 14,657 | 145 | 1 | [] |
[
"<s>",
"poly_int64",
"riscv_v_adjust_bytesize",
"(",
"machine_mode",
"mode",
",",
"int",
"scale",
")",
"{",
"if",
"(",
"riscv_v_ext_vector_mode_p",
"(",
"mode",
")",
")",
"{",
"poly_uint16",
"mode_size",
"=",
"GET_MODE_SIZE",
"(",
"mode",
")",
";",
"if",
"(",
... | [
"Call",
"from",
"ADJUST_BYTESIZE",
"in",
"riscv-modes.def",
".",
"Return",
"the",
"correct",
"BYTE",
"size",
"for",
"corresponding",
"machine_mode",
"."
] | [
"riscv",
"1"
] | riscv1 | riscv_v_adjust_bytesize | riscv | CPU | GCC | 14,658 | 66 | 1 | [] |
[
"<s>",
"bool",
"isMem",
"(",
")",
"const",
"override",
"{",
"return",
"false",
";",
"}",
"</s>"
] | [
"isMem",
"-",
"Is",
"this",
"a",
"memory",
"operand",
"?"
] | [
"M68k"
] | M68kAsmParser | isMem | M68k | MPU | LLVM | 14,659 | 11 | 1 | [] |
[
"<s>",
"void",
"SparcFrameLowering",
"::",
"emitPrologue",
"(",
"MachineFunction",
"&",
"MF",
")",
"const",
"{",
"SparcMachineFunctionInfo",
"*",
"FuncInfo",
"=",
"MF",
".",
"getInfo",
"<",
"SparcMachineFunctionInfo",
">",
"(",
")",
";",
"MachineBasicBlock",
"&",
... | [
"emitProlog/emitEpilog",
"-",
"These",
"methods",
"insert",
"prolog",
"and",
"epilog",
"code",
"into",
"the",
"function",
"."
] | [
"Sparc",
"Sparc",
"Sparc",
"Sparc",
"Sparc",
"Sparc",
"SP::SAVEri",
"SP::SAVErr",
"0",
"SP::ADDri",
"SP::ADDrr",
"4096",
"SP::O6",
"SP::O6",
"10U",
"SP::SETHIi",
"SP::G1",
"SP::ORri",
"SP::G1",
"SP::G1",
"1",
"10",
"1",
"SP::O6",
"SP::O6",
"SP::G1",
"SP::PROLOG_LA... | SparcFrameLowering42 | emitPrologue | Sparc | CPU | LLVM | 14,660 | 472 | 1 | [] |
[
"<s>",
"void",
"ARMTargetLowering",
"::",
"ReplaceNodeResults",
"(",
"SDNode",
"*",
"N",
",",
"SmallVectorImpl",
"<",
"SDValue",
">",
"&",
"Results",
",",
"SelectionDAG",
"&",
"DAG",
")",
"const",
"{",
"SDValue",
"Res",
";",
"switch",
"(",
"N",
"->",
"getO... | [
"ReplaceNodeResults",
"-",
"Replace",
"the",
"results",
"of",
"node",
"with",
"an",
"illegal",
"result",
"type",
"with",
"new",
"values",
"built",
"out",
"of",
"custom",
"code",
"."
] | [
"ARM",
"ARM",
"\"Don't know how to custom expand this!\"",
"ISD::READ_REGISTER",
"ISD::BITCAST",
"ISD::SRL",
"ISD::SRA",
"ISD::SHL",
"ISD::SREM",
"ISD::UREM",
"ISD::SDIVREM",
"ISD::UDIVREM",
"0",
"2",
"\"DivRem needs two values\"",
"0",
"1",
"ISD::SADDSAT",
"ISD::SSUBSAT",
"0",... | ARMISelLowering103 | ReplaceNodeResults | ARM | CPU | LLVM | 14,661 | 359 | 1 | [] |
[
"<s>",
"BitVector",
"WebAssemblyRegisterInfo",
"::",
"getReservedRegs",
"(",
"const",
"MachineFunction",
"&",
")",
"const",
"{",
"BitVector",
"Reserved",
"(",
"getNumRegs",
"(",
")",
")",
";",
"for",
"(",
"auto",
"Reg",
":",
"{",
"WebAssembly",
"::",
"SP32",
... | [
"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",
"... | [
"WebAssembly",
"WebAssembly",
"WebAssembly::SP32",
"WebAssembly::SP64",
"WebAssembly::FP32",
"WebAssembly::FP64"
] | WebAssemblyRegisterInfo (2) | getReservedRegs | WebAssembly | Virtual ISA | LLVM | 14,662 | 53 | 1 | [] |
[
"<s>",
"bool",
"ARMInstrInfo",
"::",
"SubsumesPredicate",
"(",
"const",
"SmallVectorImpl",
"<",
"MachineOperand",
">",
"&",
"Pred1",
",",
"const",
"SmallVectorImpl",
"<",
"MachineOperand",
">",
"&",
"Pred2",
")",
"const",
"{",
"if",
"(",
"Pred1",
".",
"size",
... | [
"Returns",
"true",
"if",
"the",
"first",
"specified",
"predicate",
"subsumes",
"the",
"second",
",",
"e.g",
"."
] | [
"ARM",
"ARM",
"2",
"2",
"ARMCC::CondCodes",
"ARMCC::CondCodes",
"0",
"ARMCC::CondCodes",
"ARMCC::CondCodes",
"0",
"ARMCC::AL",
"ARMCC::HS",
"ARMCC::HI",
"ARMCC::LS",
"ARMCC::LO",
"ARMCC::EQ",
"ARMCC::GE",
"ARMCC::GT",
"ARMCC::LE",
"ARMCC::LT"
] | ARMInstrInfo31 | SubsumesPredicate | ARM | CPU | LLVM | 14,663 | 165 | 1 | [] |
[
"<s>",
"void",
"PPCELFStreamer",
"::",
"emitInstruction",
"(",
"const",
"MCInst",
"&",
"Inst",
",",
"const",
"MCSubtargetInfo",
"&",
"STI",
")",
"{",
"PPCMCCodeEmitter",
"*",
"Emitter",
"=",
"static_cast",
"<",
"PPCMCCodeEmitter",
"*",
">",
"(",
"getAssembler",
... | [
"Targets",
"should",
"implement",
"this",
"to",
"emit",
"instructions",
"."
] | [
"PowerPC",
"PPC",
"PPC",
"PPC"
] | PPCELFStreamer | emitInstruction | PowerPC | CPU | LLVM | 14,664 | 118 | 1 | [] |
[
"<s>",
"bool",
"PadShortFunc",
"::",
"runOnMachineFunction",
"(",
"MachineFunction",
"&",
"MF",
")",
"{",
"if",
"(",
"skipFunction",
"(",
"MF",
".",
"getFunction",
"(",
")",
")",
")",
"return",
"false",
";",
"if",
"(",
"MF",
".",
"getFunction",
"(",
")",... | [
"runOnMachineFunction",
"-",
"Emit",
"the",
"function",
"body",
"."
] | [
"X86",
"X86",
"0",
"0",
"\"Basic block should contain at least a RET but is empty\"",
"\"Basic block does not end with RET\""
] | X86PadShortFunction24 | runOnMachineFunction | X86 | CPU | LLVM | 14,665 | 239 | 1 | [] |
[
"<s>",
"static",
"bool",
"rs6000_reg_live_or_pic_offset_p",
"(",
"int",
"reg",
")",
"{",
"if",
"(",
"reg",
"==",
"RS6000_PIC_OFFSET_TABLE_REGNUM",
"&&",
"!",
"TARGET_SINGLE_PIC_BASE",
")",
"{",
"if",
"(",
"TARGET_TOC",
"&&",
"TARGET_MINIMAL_TOC",
"&&",
"(",
"crtl"... | [
"Determine",
"whether",
"the",
"gp",
"REG",
"is",
"really",
"used",
"."
] | [
"powerpcspe"
] | powerpcspe | rs6000_reg_live_or_pic_offset_p | powerpcspe | CPU | GCC | 14,666 | 82 | 1 | [] |
[
"<s>",
"SDNode",
"*",
"M68kDAGToDAGISel",
"::",
"getGlobalBaseReg",
"(",
")",
"{",
"unsigned",
"GlobalBaseReg",
"=",
"getInstrInfo",
"(",
")",
"->",
"getGlobalBaseReg",
"(",
"MF",
")",
";",
"auto",
"&",
"DL",
"=",
"MF",
"->",
"getDataLayout",
"(",
")",
";"... | [
"getGlobalBaseReg",
"-",
"Return",
"a",
"virtual",
"register",
"initialized",
"with",
"the",
"the",
"global",
"base",
"register",
"value",
"."
] | [
"M68k",
"M68k"
] | M68kISelDAGToDAG | getGlobalBaseReg | M68k | MPU | LLVM | 14,667 | 50 | 1 | [] |
[
"<s>",
"static",
"void",
"microblaze_function_prologue",
"(",
"FILE",
"*",
"file",
",",
"HOST_WIDE_INT",
"size",
"ATTRIBUTE_UNUSED",
")",
"{",
"const",
"char",
"*",
"fnname",
";",
"long",
"fsiz",
"=",
"current_frame_info",
".",
"total_size",
";",
"fnname",
"=",
... | [
"Set",
"up",
"the",
"stack",
"and",
"frame",
"(",
"if",
"desired",
")",
"for",
"the",
"function",
"."
] | [
"microblaze",
"0",
"0",
"\"\\t.ent\\t\"",
"\"_interrupt_handler\"",
"\"_break_handler\"",
"\"_fast_interrupt\"",
"\"\\n\"",
"\"function\"",
"\":\\n\"",
"\"_interrupt_handler:\\n\"",
"\"_break_handler:\\n\"",
"\"\\t.frame\\t%s,%ld,%s\\t\\t# vars= %ld, regs= %d, args= %d\\n\"",
"\"\\t.mask\\... | microblaze2 | microblaze_function_prologue | microblaze | MPU | GCC | 14,668 | 253 | 1 | [] |
[
"<s>",
"unsigned",
"RISCVTargetLowering",
"::",
"getJumpTableEncoding",
"(",
")",
"const",
"{",
"if",
"(",
"Subtarget",
".",
"is64Bit",
"(",
")",
"&&",
"!",
"isPositionIndependent",
"(",
")",
"&&",
"getTargetMachine",
"(",
")",
".",
"getCodeModel",
"(",
")",
... | [
"Return",
"the",
"entry",
"encoding",
"for",
"a",
"jump",
"table",
"in",
"the",
"current",
"function",
"."
] | [
"RISCV",
"RISCV"
] | RISCVISelLowering20 | getJumpTableEncoding | RISCV | CPU | LLVM | 14,669 | 48 | 1 | [] |
[
"<s>",
"OperandMatchResultTy",
"CSKYAsmParser",
"::",
"tryParseRegister",
"(",
"unsigned",
"&",
"RegNo",
",",
"SMLoc",
"&",
"StartLoc",
",",
"SMLoc",
"&",
"EndLoc",
")",
"{",
"const",
"AsmToken",
"&",
"Tok",
"=",
"getParser",
"(",
")",
".",
"getTok",
"(",
... | [
"tryParseRegister",
"-",
"parse",
"one",
"register",
"if",
"possible"
] | [
"CSKY",
"CSKY"
] | CSKYAsmParser | tryParseRegister | CSKY | CPU | LLVM | 14,670 | 94 | 1 | [] |
[
"<s>",
"static",
"void",
"free_array_of_ptrs",
"(",
"void",
"*",
"*",
"ptr",
",",
"unsigned",
"n",
")",
"{",
"unsigned",
"i",
";",
"if",
"(",
"!",
"ptr",
")",
"return",
";",
"for",
"(",
"i",
"=",
"0",
";",
"i",
"<",
"n",
";",
"i",
"++",
")",
... | [
"Auxiliary",
"function",
"that",
"frees",
"elements",
"of",
"PTR",
"and",
"PTR",
"itself",
".",
"N",
"is",
"number",
"of",
"elements",
"to",
"be",
"freed",
".",
"If",
"PTR",
"is",
"NULL",
",",
"nothing",
"is",
"freed",
".",
"If",
"an",
"element",
"is",... | [
"nvptx",
"0"
] | mkoffload | free_array_of_ptrs | nvptx | GPU | GCC | 14,671 | 64 | 1 | [] |
[
"<s>",
"static",
"void",
"*",
"mingw32_gt_pch_get_address",
"(",
"size_t",
"size",
",",
"int",
")",
"{",
"void",
"*",
"res",
";",
"res",
"=",
"VirtualAlloc",
"(",
"NULL",
",",
"size",
",",
"MEM_RESERVE",
"|",
"MEM_TOP_DOWN",
",",
"PAGE_NOACCESS",
")",
";",... | [
"Identify",
"an",
"address",
"that",
"'s",
"likely",
"to",
"be",
"free",
"in",
"a",
"subsequent",
"invocation",
"of",
"the",
"compiler",
".",
"The",
"area",
"should",
"be",
"able",
"to",
"hold",
"SIZE",
"bytes",
".",
"FD",
"is",
"an",
"open",
"file",
"... | [
"i386",
"\"VirtualAlloc\"",
"0"
] | host-mingw321 | mingw32_gt_pch_get_address | i386 | CPU | GCC | 14,672 | 60 | 1 | [] |
[
"<s>",
"TargetTransformInfo",
"R600TargetMachine",
"::",
"getTargetTransformInfo",
"(",
"const",
"Function",
"&",
"F",
")",
"const",
"{",
"return",
"TargetTransformInfo",
"(",
"R600TTIImpl",
"(",
"this",
",",
"F",
")",
")",
";",
"}",
"</s>"
] | [
"Get",
"a",
"TargetTransformInfo",
"implementation",
"for",
"the",
"target",
"."
] | [
"AMDGPU",
"R600",
"R600"
] | R600TargetMachine | getTargetTransformInfo | AMDGPU | GPU | LLVM | 14,673 | 24 | 1 | [] |
[
"<s>",
"bool",
"Thumb2SizeReduce",
"::",
"runOnMachineFunction",
"(",
"MachineFunction",
"&",
"MF",
")",
"{",
"if",
"(",
"PredicateFtor",
"&&",
"!",
"PredicateFtor",
"(",
"MF",
".",
"getFunction",
"(",
")",
")",
")",
"return",
"false",
";",
"STI",
"=",
"&"... | [
"runOnMachineFunction",
"-",
"Emit",
"the",
"function",
"body",
"."
] | [
"ARM",
"ARM"
] | Thumb2SizeReduction10 | runOnMachineFunction | ARM | CPU | LLVM | 14,674 | 175 | 1 | [] |
[
"<s>",
"void",
"mmix_print_operand_address",
"(",
"FILE",
"*",
"stream",
",",
"rtx",
"x",
")",
"{",
"if",
"(",
"REG_P",
"(",
"x",
")",
")",
"{",
"fprintf",
"(",
"stream",
",",
"\"%s,0\"",
",",
"reg_names",
"[",
"MMIX_OUTPUT_REGNO",
"(",
"REGNO",
"(",
"... | [
"PRINT_OPERAND_ADDRESS",
"."
] | [
"mmix",
"\"%s,0\"",
"0",
"1",
"\"%s,\"",
"\"%s\"",
"\"MMIX Internal: This is not a recognized address\""
] | mmix3 | mmix_print_operand_address | mmix | CPU | GCC | 14,675 | 187 | 1 | [] |
[
"<s>",
"static",
"rtx",
"iq2000_function_value",
"(",
"const_tree",
"valtype",
",",
"const_tree",
"fn_decl_or_type",
",",
"bool",
"outgoing",
"ATTRIBUTE_UNUSED",
")",
"{",
"int",
"reg",
"=",
"GP_RETURN",
";",
"machine_mode",
"mode",
"=",
"TYPE_MODE",
"(",
"valtype... | [
"Return",
"register",
"to",
"use",
"for",
"a",
"function",
"return",
"value",
"with",
"VALTYPE",
"for",
"function",
"FUNC",
"."
] | [
"iq2000",
"1"
] | iq2000 | iq2000_function_value | iq2000 | CPU | GCC | 14,676 | 80 | 1 | [] |
[
"<s>",
"bool",
"enablePostRAScheduler",
"(",
")",
"const",
"override",
"{",
"return",
"UsePostRAScheduler",
";",
"}",
"</s>"
] | [
"True",
"if",
"the",
"subtarget",
"should",
"run",
"a",
"scheduler",
"after",
"register",
"allocation",
"."
] | [
"AArch64"
] | AArch64Subtarget (2)1 | enablePostRAScheduler | AArch64 | CPU | LLVM | 14,677 | 11 | 1 | [] |
[
"<s>",
"bool",
"Cpu0SEFrameLowering",
"::",
"spillCalleeSavedRegisters",
"(",
"MachineBasicBlock",
"&",
"MBB",
",",
"MachineBasicBlock",
"::",
"iterator",
"MI",
",",
"const",
"std",
"::",
"vector",
"<",
"CalleeSavedInfo",
">",
"&",
"CSI",
",",
"const",
"TargetRegi... | [
"spillCalleeSavedRegisters",
"-",
"Issues",
"instruction",
"(",
"s",
")",
"to",
"spill",
"all",
"callee",
"saved",
"registers",
"and",
"returns",
"true",
"if",
"it",
"is",
"n't",
"possible",
"/",
"profitable",
"to",
"do",
"so",
"by",
"issuing",
"a",
"series"... | [
"Cpu0",
"Cpu0",
"0",
"Cpu0::LR"
] | Cpu0SEFrameLowering | spillCalleeSavedRegisters | Cpu0 | CPU | LLVM | 14,678 | 186 | 1 | [] |
[
"<s>",
"TargetLoweringBase",
"::",
"LegalizeTypeAction",
"HexagonTargetLowering",
"::",
"getPreferredVectorAction",
"(",
"EVT",
"VT",
")",
"const",
"{",
"if",
"(",
"VT",
".",
"getVectorNumElements",
"(",
")",
"==",
"1",
")",
"return",
"TargetLoweringBase",
"::",
"... | [
"Customize",
"the",
"preferred",
"legalization",
"strategy",
"for",
"certain",
"types",
"."
] | [
"Hexagon",
"Hexagon",
"1",
"MVT::i1",
"8",
"2"
] | HexagonISelLowering (2)1 | getPreferredVectorAction | Hexagon | DSP | LLVM | 14,679 | 137 | 1 | [] |
[
"<s>",
"WasmEHFuncInfo",
"*",
"getWasmEHFuncInfo",
"(",
")",
"const",
"{",
"return",
"WasmEHInfo",
";",
"}",
"</s>"
] | [
"getWasmEHFuncInfo",
"-",
"Return",
"information",
"about",
"how",
"the",
"current",
"function",
"uses",
"Wasm",
"exception",
"handling",
"."
] | [
"WebAssembly"
] | WebAssemblyMachineFunctionInfo15 | getWasmEHFuncInfo | WebAssembly | Virtual ISA | LLVM | 14,680 | 11 | 1 | [] |
[
"<s>",
"int",
"compute_frame_size",
"(",
"int",
"size",
",",
"long",
"*",
"p_reg_saved",
")",
"{",
"return",
"(",
"size",
"+",
"compute_register_save_size",
"(",
"p_reg_saved",
")",
"+",
"crtl",
"->",
"outgoing_args_size",
")",
";",
"}",
"</s>"
] | [
"Typical",
"stack",
"layout",
"should",
"looks",
"like",
"this",
"after",
"the",
"function",
"'s",
"prologue",
":",
"|",
"|",
"--",
"^",
"|",
"|",
"\\",
"|",
"|",
"|",
"arguments",
"saved",
"|",
"Increasing",
"|",
"|",
"on",
"the",
"stack",
"|",
"add... | [
"v850"
] | v8504 | compute_frame_size | v850 | MPU | GCC | 14,681 | 26 | 1 | [] |
[
"<s>",
"static",
"void",
"riscv_restore_reg",
"(",
"rtx",
"reg",
",",
"rtx",
"mem",
")",
"{",
"rtx",
"insn",
"=",
"riscv_emit_move",
"(",
"reg",
",",
"mem",
")",
";",
"rtx",
"dwarf",
"=",
"NULL_RTX",
";",
"dwarf",
"=",
"alloc_reg_note",
"(",
"REG_CFA_RES... | [
"Restore",
"register",
"REG",
"from",
"MEM",
"."
] | [
"riscv",
"1"
] | riscv | riscv_restore_reg | riscv | CPU | GCC | 14,682 | 91 | 1 | [] |
[
"<s>",
"static",
"tree",
"char_to_type",
"(",
"char",
"c",
")",
"{",
"static",
"tree",
"volatile_ptr_type_node",
"=",
"NULL",
";",
"static",
"tree",
"volatile_const_ptr_type_node",
"=",
"NULL",
";",
"if",
"(",
"volatile_ptr_type_node",
"==",
"NULL",
")",
"{",
... | [
"Convert",
"a",
"character",
"in",
"a",
"builtin",
"type",
"string",
"to",
"a",
"tree",
"type",
"."
] | [
"tilepro"
] | tilepro | char_to_type | tilepro | VLIW | GCC | 14,683 | 91 | 1 | [] |
[
"<s>",
"const",
"char",
"*",
"getPassName",
"(",
")",
"const",
"override",
"{",
"return",
"AARCH64_TYPE_PROMO_NAME",
";",
"}",
"</s>"
] | [
"getPassName",
"-",
"Return",
"a",
"nice",
"clean",
"name",
"for",
"a",
"pass",
"."
] | [
"AArch64"
] | AArch64AddressTypePromotion | getPassName | AArch64 | CPU | LLVM | 14,684 | 13 | 1 | [] |
[
"<s>",
"static",
"bool",
"umips_build_save_restore",
"(",
"mips_save_restore_fn",
"fn",
",",
"unsigned",
"*",
"mask",
",",
"HOST_WIDE_INT",
"*",
"offset",
")",
"{",
"int",
"nregs",
";",
"unsigned",
"int",
"i",
",",
"j",
";",
"rtx",
"pattern",
",",
"set",
"... | [
"Try",
"to",
"use",
"a",
"microMIPS",
"LWM",
"or",
"SWM",
"instruction",
"to",
"save",
"or",
"restore",
"as",
"many",
"GPRs",
"in",
"*",
"MASK",
"as",
"possible",
".",
"*",
"OFFSET",
"is",
"the",
"offset",
"from",
"the",
"stack",
"pointer",
"of",
"the"... | [
"mips",
"0",
"0xffff0000",
"0xf",
"4",
"1",
"0",
"0xf",
"8",
"16",
"30",
"1",
"0",
"4",
"1",
"31",
"31",
"0",
"1"
] | mips4 | umips_build_save_restore | mips | CPU | GCC | 14,685 | 402 | 1 | [] |
[
"<s>",
"ScheduleDAGInstrs",
"*",
"createMachineScheduler",
"(",
"MachineSchedContext",
"*",
"C",
")",
"const",
"override",
"{",
"return",
"createR600MachineScheduler",
"(",
"C",
")",
";",
"}",
"</s>"
] | [
"Create",
"an",
"instance",
"of",
"ScheduleDAGInstrs",
"to",
"be",
"run",
"within",
"the",
"standard",
"MachineScheduler",
"pass",
"for",
"this",
"function",
"and",
"target",
"at",
"the",
"current",
"optimization",
"level",
"."
] | [
"AMDGPU",
"R600"
] | R600TargetMachine | createMachineScheduler | AMDGPU | GPU | LLVM | 14,686 | 18 | 1 | [] |
[
"<s>",
"unsigned",
"getArithmeticInstrCost",
"(",
"unsigned",
"Opcode",
",",
"Type",
"*",
"Ty",
",",
"TTI",
"::",
"OperandValueKind",
"Opd1Info",
"=",
"TTI",
"::",
"OK_AnyValue",
",",
"TTI",
"::",
"OperandValueKind",
"Opd2Info",
"=",
"TTI",
"::",
"OK_AnyValue",
... | [
"This",
"is",
"an",
"approximation",
"of",
"reciprocal",
"throughput",
"of",
"a",
"math/logic",
"op",
"."
] | [
"Lanai",
"ISD::MUL",
"ISD::SDIV",
"ISD::UDIV",
"ISD::UREM",
"64"
] | LanaiTargetTransformInfo | getArithmeticInstrCost | Lanai | CPU | LLVM | 14,687 | 141 | 1 | [] |
[
"<s>",
"void",
"PTXInstrInfo",
"::",
"storeRegToStackSlot",
"(",
"MachineBasicBlock",
"&",
"MBB",
",",
"MachineBasicBlock",
"::",
"iterator",
"MII",
",",
"unsigned",
"SrcReg",
",",
"bool",
"isKill",
",",
"int",
"FrameIdx",
",",
"const",
"TargetRegisterClass",
"*",... | [
"Store",
"the",
"specified",
"register",
"of",
"the",
"given",
"register",
"class",
"to",
"the",
"specified",
"stack",
"frame",
"index",
"."
] | [
"PTX",
"PTX",
"\"storeRegToStackSlot should not be called for PTX\""
] | PTXInstrInfo3 | storeRegToStackSlot | PTX | GPU | LLVM | 14,688 | 43 | 1 | [] |
[
"<s>",
"ArrayRef",
"<",
"std",
"::",
"pair",
"<",
"unsigned",
",",
"const",
"char",
"*",
">>",
"MipsInstrInfo",
"::",
"getSerializableDirectMachineOperandTargetFlags",
"(",
")",
"const",
"{",
"using",
"namespace",
"MipsII",
";",
"static",
"const",
"std",
"::",
... | [
"Return",
"an",
"array",
"that",
"contains",
"the",
"direct",
"target",
"flag",
"values",
"and",
"their",
"names",
"."
] | [
"Mips",
"Mips",
"Mips",
"\"mips-got\"",
"\"mips-got-call\"",
"\"mips-gprel\"",
"\"mips-abs-hi\"",
"\"mips-abs-lo\"",
"\"mips-tlsgd\"",
"\"mips-tlsldm\"",
"\"mips-dtprel-hi\"",
"\"mips-dtprel-lo\"",
"\"mips-gottprel\"",
"\"mips-tprel-hi\"",
"\"mips-tprel-lo\"",
"\"mips-gpoff-hi\"",
"\... | MipsInstrInfo (2)3 | getSerializableDirectMachineOperandTargetFlags | Mips | CPU | LLVM | 14,689 | 192 | 1 | [] |
[
"<s>",
"Instruction",
"*",
"ARMTargetLowering",
"::",
"emitLeadingFence",
"(",
"IRBuilder",
"<",
">",
"&",
"Builder",
",",
"Instruction",
"*",
"Inst",
",",
"AtomicOrdering",
"Ord",
")",
"const",
"{",
"switch",
"(",
"Ord",
")",
"{",
"case",
"AtomicOrdering",
... | [
"Custom",
"Lower",
"{",
"."
] | [
"ARM",
"ARM",
"\"Invalid fence: unordered/non-atomic\"",
"ARM_MB::ISHST",
"ARM_MB::ISH",
"\"Unknown fence ordering in emitLeadingFence\""
] | ARMISelLowering108 | emitLeadingFence | ARM | CPU | LLVM | 14,690 | 117 | 1 | [] |
[
"<s>",
"void",
"AVRPassConfig",
"::",
"addPreEmitPass",
"(",
")",
"{",
"addPass",
"(",
"new",
"TestMFP",
"(",
")",
")",
";",
"}",
"</s>"
] | [
"This",
"pass",
"may",
"be",
"implemented",
"by",
"targets",
"that",
"want",
"to",
"run",
"passes",
"immediately",
"before",
"machine",
"code",
"is",
"emitted",
"."
] | [
"AVR",
"AVR"
] | AVRTargetMachine17 | addPreEmitPass | AVR | MPU | LLVM | 14,691 | 16 | 1 | [] |
[
"<s>",
"const",
"ARM64RegisterInfo",
"&",
"getRegisterInfo",
"(",
")",
"const",
"{",
"return",
"RI",
";",
"}",
"</s>"
] | [
"getRegisterInfo",
"-",
"TargetInstrInfo",
"is",
"a",
"superset",
"of",
"MRegister",
"info",
"."
] | [
"ARM64",
"ARM64"
] | ARM64InstrInfo | getRegisterInfo | ARM64 | CPU | LLVM | 14,692 | 12 | 1 | [] |
[
"<s>",
"static",
"bool",
"is_prefetch",
"(",
"rtx",
"insn",
")",
"{",
"return",
"NONJUMP_INSN_P",
"(",
"insn",
")",
"&&",
"GET_CODE",
"(",
"PATTERN",
"(",
"insn",
")",
")",
"==",
"PREFETCH",
";",
"}",
"</s>"
] | [
"Return",
"true",
"if",
"insn",
"is",
"a",
"prefetch",
"instruction",
"."
] | [
"i386"
] | i3864 | is_prefetch | i386 | CPU | GCC | 14,693 | 25 | 1 | [] |
[
"<s>",
"bool",
"ECLairAsmParser",
"::",
"MatchAndEmitInstruction",
"(",
"SMLoc",
"IDLoc",
",",
"unsigned",
"&",
"Opcode",
",",
"OperandVector",
"&",
"Operands",
",",
"MCStreamer",
"&",
"Out",
",",
"uint64_t",
"&",
"ErrorInfo",
",",
"bool",
"MatchingInlineAsm",
"... | [
"MatchAndEmitInstruction",
"-",
"Recognize",
"a",
"series",
"of",
"operands",
"of",
"a",
"parsed",
"instruction",
"as",
"an",
"actual",
"MCInst",
"and",
"emit",
"it",
"to",
"the",
"specified",
"MCStreamer",
"."
] | [
"ECLair",
"ECLair",
"\"instruction use requires an option to be enabled\"",
"\"unrecognized instruction mnemonic\"",
"0U",
"\"too few operands for instruction\"",
"ECLair",
"\"invalid operand for instruction\"",
"ECLair",
"\"immediate must be an integer in the range [-127, 127]\"",
"ECLair",
"... | ECLairAsmParser | MatchAndEmitInstruction | ECLair | MPU | LLVM | 14,694 | 235 | 1 | [] |
[
"<s>",
"unsigned",
"constant_generates_xxspltiw",
"(",
"vec_const_128bit_type",
"*",
"vsx_const",
")",
"{",
"if",
"(",
"!",
"TARGET_SPLAT_WORD_CONSTANT",
"||",
"!",
"TARGET_PREFIXED",
"||",
"!",
"TARGET_VSX",
")",
"return",
"0",
";",
"if",
"(",
"!",
"vsx_const",
... | [
"Determine",
"if",
"a",
"vector",
"constant",
"can",
"be",
"loaded",
"with",
"XXSPLTIW",
".",
"Return",
"zero",
"if",
"the",
"XXSPLTIW",
"instruction",
"can",
"not",
"be",
"used",
".",
"Otherwise",
"return",
"the",
"immediate",
"value",
"to",
"be",
"used",
... | [
"rs6000",
"0",
"0",
"0",
"0",
"0",
"0",
"0",
"0"
] | rs60001 | constant_generates_xxspltiw | rs6000 | CPU | GCC | 14,695 | 98 | 1 | [] |
[
"<s>",
"void",
"emitFileDirective",
"(",
"StringRef",
"Filename",
")",
"override",
"{",
"}",
"</s>"
] | [
"Emit",
"``",
".file",
"assembler",
"diretive",
"with",
"additioal",
"info",
"."
] | [
"Patmos"
] | PatmosInstrInfo1 | emitFileDirective | Patmos | VLIW | LLVM | 14,696 | 9 | 1 | [] |
[
"<s>",
"TOYSubtarget",
"&",
"TOYSubtarget",
"::",
"initializeSubtargetDependencies",
"(",
"StringRef",
"CPU",
",",
"StringRef",
"FS",
",",
"bool",
"Is64Bit",
"=",
"false",
")",
"{",
"std",
"::",
"string",
"CPUName",
"=",
"CPU",
";",
"if",
"(",
"CPUName",
"."... | [
"initializeSubtargetDependencies",
"-",
"Initializes",
"using",
"a",
"CPU",
",",
"a",
"TuneCPU",
",",
"and",
"feature",
"string",
"so",
"that",
"we",
"can",
"use",
"initializer",
"lists",
"for",
"subtarget",
"initialization",
"."
] | [
"TOY",
"TOY",
"TOY",
"\"generic-rv64\"",
"\"generic-rv32\""
] | TOYSubtarget1 | initializeSubtargetDependencies | TOY | CPU | LLVM | 14,697 | 53 | 1 | [] |
[
"<s>",
"static",
"bool",
"vectorize_vec_perm_const_1",
"(",
"const",
"struct",
"expand_vec_perm_d",
"&",
"d",
")",
"{",
"if",
"(",
"expand_perm_with_merge",
"(",
"d",
")",
")",
"return",
"true",
";",
"if",
"(",
"expand_perm_with_vpdi",
"(",
"d",
")",
")",
"r... | [
"Try",
"to",
"find",
"the",
"best",
"sequence",
"for",
"the",
"vector",
"permute",
"operation",
"described",
"by",
"D.",
"Return",
"true",
"if",
"the",
"operation",
"could",
"be",
"expanded",
"."
] | [
"s390"
] | s390 | vectorize_vec_perm_const_1 | s390 | MPU | GCC | 14,698 | 35 | 1 | [] |
[
"<s>",
"static",
"void",
"bpf_file_end",
"(",
"void",
")",
"{",
"if",
"(",
"TARGET_BPF_CORE",
")",
"btf_ext_output",
"(",
")",
";",
"}",
"</s>"
] | [
"Implement",
"TARGET_ASM_FILE_END",
"."
] | [
"bpf"
] | bpf | bpf_file_end | bpf | Virtual ISA | GCC | 14,699 | 16 | 1 | [] |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.