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>",
"int",
"first_reg_to_save",
"(",
"void",
")",
"{",
"int",
"first_reg",
";",
"for",
"(",
"first_reg",
"=",
"13",
";",
"first_reg",
"<=",
"31",
";",
"first_reg",
"++",
")",
"if",
"(",
"save_reg_p",
"(",
"first_reg",
")",
")",
"break",
";",
"if",
... | [
"Return",
"the",
"first",
"register",
"that",
"is",
"required",
"to",
"be",
"saved",
".",
"16",
"if",
"none",
"."
] | [
"powerpcspe",
"13",
"31",
"0"
] | powerpcspe | first_reg_to_save | powerpcspe | CPU | GCC | 13,500 | 91 | 1 | [] |
[
"<s>",
"static",
"bool",
"isShiftedMask",
"(",
"uint64_t",
"I",
",",
"uint64_t",
"&",
"Pos",
",",
"uint64_t",
"&",
"Size",
")",
"{",
"if",
"(",
"!",
"isShiftedMask_64",
"(",
"I",
")",
")",
"return",
"false",
";",
"Size",
"=",
"CountPopulation_64",
"(",
... | [
"Return",
"true",
"if",
"this",
"APInt",
"value",
"contains",
"a",
"non-empty",
"sequence",
"of",
"ones",
"with",
"the",
"remainder",
"zero",
"."
] | [
"Mips"
] | MipsISelLowering126 | isShiftedMask | Mips | CPU | LLVM | 13,501 | 45 | 1 | [] |
[
"<s>",
"void",
"BitcodeWriter",
"::",
"writeModule",
"(",
"const",
"Module",
"&",
"M",
")",
"{",
"assert",
"(",
"!",
"WroteStrtab",
")",
";",
"assert",
"(",
"M",
".",
"isMaterialized",
"(",
")",
")",
";",
"Mods",
".",
"push_back",
"(",
"const_cast",
"<... | [
"Write",
"the",
"specified",
"module",
"to",
"the",
"buffer",
"specified",
"at",
"construction",
"time",
"."
] | [
"DirectX",
"DXIL"
] | DXILBitcodeWriter | writeModule | DirectX | Virtual ISA | LLVM | 13,502 | 61 | 1 | [] |
[
"<s>",
"bool",
"GCNPassConfig",
"::",
"addPreISel",
"(",
")",
"{",
"AMDGPUPassConfig",
"::",
"addPreISel",
"(",
")",
";",
"const",
"AMDGPUTargetMachine",
"&",
"TM",
"=",
"getAMDGPUTargetMachine",
"(",
")",
";",
"addPass",
"(",
"createAMDGPUAnnotateKernelFeaturesPass... | [
"{",
"{",
"@",
"For",
"GlobalISel"
] | [
"AMDGPU",
"AMDGPU",
"AMDGPU",
"AMDGPU",
"AMDGPU",
"AMDGPU",
"SI",
"AMDGPU",
"SI"
] | AMDGPUTargetMachine30 | addPreISel | AMDGPU | GPU | LLVM | 13,503 | 77 | 1 | [] |
[
"<s>",
"CAHPSubtarget",
"&",
"CAHPSubtarget",
"::",
"initializeSubtargetDependencies",
"(",
"StringRef",
"CPU",
",",
"StringRef",
"FS",
")",
"{",
"std",
"::",
"string",
"CPUName",
"=",
"CPU",
";",
"if",
"(",
"CPUName",
".",
"empty",
"(",
")",
")",
"CPUName",... | [
"initializeSubtargetDependencies",
"-",
"Initializes",
"using",
"a",
"CPU",
",",
"a",
"TuneCPU",
",",
"and",
"feature",
"string",
"so",
"that",
"we",
"can",
"use",
"initializer",
"lists",
"for",
"subtarget",
"initialization",
"."
] | [
"CAHP",
"CAHP",
"CAHP",
"\"generic\""
] | CAHPSubtarget | initializeSubtargetDependencies | CAHP | CPU | LLVM | 13,504 | 44 | 1 | [] |
[
"<s>",
"BitVector",
"SystemZRegisterInfo",
"::",
"getReservedRegs",
"(",
"const",
"MachineFunction",
"&",
"MF",
")",
"const",
"{",
"BitVector",
"Reserved",
"(",
"getNumRegs",
"(",
")",
")",
";",
"const",
"TargetFrameLowering",
"*",
"TFI",
"=",
"MF",
".",
"getT... | [
"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",
"... | [
"SystemZ",
"SystemZ",
"SystemZ::R11D",
"SystemZ::R11W",
"SystemZ::R10P",
"SystemZ::R10Q",
"SystemZ::R14D",
"SystemZ::R15D",
"SystemZ::R14W",
"SystemZ::R15W",
"SystemZ::R14P",
"SystemZ::R14Q"
] | SystemZRegisterInfo47 | getReservedRegs | SystemZ | CPU | LLVM | 13,505 | 140 | 1 | [] |
[
"<s>",
"unsigned",
"MipsABIInfo",
"::",
"GetCalleeAllocdArgSizeInBytes",
"(",
"CallingConv",
"::",
"ID",
"CC",
")",
"const",
"{",
"if",
"(",
"IsO32",
"(",
")",
")",
"return",
"CC",
"!=",
"CallingConv",
"::",
"Fast",
"?",
"16",
":",
"0",
";",
"if",
"(",
... | [
"Obtain",
"the",
"size",
"of",
"the",
"area",
"allocated",
"by",
"the",
"callee",
"for",
"arguments",
"."
] | [
"Mips",
"Mips",
"16",
"0",
"0",
"\"Unhandled ABI\""
] | MipsABIInfo | GetCalleeAllocdArgSizeInBytes | Mips | CPU | LLVM | 13,506 | 52 | 1 | [] |
[
"<s>",
"void",
"XCoreInstPrinter",
"::",
"printRegName",
"(",
"raw_ostream",
"&",
"OS",
",",
"unsigned",
"RegNo",
")",
"const",
"{",
"OS",
"<<",
"StringRef",
"(",
"getRegisterName",
"(",
"RegNo",
")",
")",
".",
"lower",
"(",
")",
";",
"}",
"</s>"
] | [
"Print",
"the",
"assembler",
"register",
"name",
"."
] | [
"XCore",
"XCore"
] | XCoreInstPrinter | printRegName | XCore | MPU | LLVM | 13,507 | 29 | 1 | [] |
[
"<s>",
"unsigned",
"SIInstrInfo",
"::",
"getAddressSpaceForPseudoSourceKind",
"(",
"PseudoSourceValue",
"::",
"PSVKind",
"Kind",
")",
"const",
"{",
"switch",
"(",
"Kind",
")",
"{",
"case",
"PseudoSourceValue",
"::",
"Stack",
":",
"case",
"PseudoSourceValue",
"::",
... | [
"getAddressSpaceForPseudoSourceKind",
"-",
"Given",
"the",
"kind",
"of",
"memory",
"(",
"e.g",
"."
] | [
"AMDGPU",
"SI",
"SI",
"SI",
"SI"
] | SIInstrInfo (2) | getAddressSpaceForPseudoSourceKind | AMDGPU | GPU | LLVM | 13,508 | 74 | 1 | [] |
[
"<s>",
"void",
"PTXMCAsmStreamer",
"::",
"AddComment",
"(",
"const",
"Twine",
"&",
"T",
")",
"{",
"if",
"(",
"!",
"IsVerboseAsm",
")",
"return",
";",
"CommentStream",
".",
"flush",
"(",
")",
";",
"T",
".",
"toVector",
"(",
"CommentToEmit",
")",
";",
"C... | [
"Add",
"a",
"textual",
"comment",
"."
] | [
"PTX",
"PTX"
] | PTXMCAsmStreamer | AddComment | PTX | GPU | LLVM | 13,509 | 45 | 1 | [] |
[
"<s>",
"static",
"section",
"*",
"c6x_select_rtx_section",
"(",
"machine_mode",
"mode",
",",
"rtx",
"x",
",",
"unsigned",
"HOST_WIDE_INT",
"align",
")",
"{",
"if",
"(",
"c6x_sdata_mode",
"==",
"C6X_SDATA_ALL",
"||",
"(",
"c6x_sdata_mode",
"!=",
"C6X_SDATA_NONE",
... | [
"Return",
"a",
"section",
"for",
"X",
".",
"The",
"only",
"special",
"thing",
"we",
"do",
"here",
"is",
"to",
"honor",
"small",
"data",
".",
"We",
"do",
"n't",
"have",
"a",
"tree",
"type",
",",
"so",
"we",
"ca",
"n't",
"use",
"the",
"PLACE_IN_SDATA_P... | [
"c6x",
"8"
] | c6x | c6x_select_rtx_section | c6x | VLIW | GCC | 13,510 | 50 | 1 | [] |
[
"<s>",
"const",
"char",
"*",
"nvptx_ptx_type_from_mode",
"(",
"machine_mode",
"mode",
",",
"bool",
"promote",
")",
"{",
"switch",
"(",
"mode",
")",
"{",
"case",
"E_BLKmode",
":",
"return",
"\".b8\"",
";",
"case",
"E_BImode",
":",
"return",
"\".pred\"",
";",
... | [
"Return",
"a",
"ptx",
"type",
"for",
"MODE",
".",
"If",
"PROMOTE",
",",
"then",
"use",
".u32",
"for",
"QImode",
"to",
"deal",
"with",
"ptx",
"ideosyncracies",
"."
] | [
"nvptx",
"\".b8\"",
"\".pred\"",
"\".u32\"",
"\".u8\"",
"\".u16\"",
"\".u32\"",
"\".u64\"",
"\".f16\"",
"\".f32\"",
"\".f64\"",
"\".v2.u32\"",
"\".v2.u64\""
] | nvptx | nvptx_ptx_type_from_mode | nvptx | GPU | GCC | 13,511 | 99 | 1 | [] |
[
"<s>",
"static",
"void",
"rs6000_emit_probe_stack_range",
"(",
"HOST_WIDE_INT",
"first",
",",
"HOST_WIDE_INT",
"size",
")",
"{",
"if",
"(",
"first",
"+",
"size",
"<=",
"32768",
")",
"{",
"HOST_WIDE_INT",
"i",
";",
"for",
"(",
"i",
"=",
"PROBE_INTERVAL",
";",... | [
"Emit",
"code",
"to",
"probe",
"a",
"range",
"of",
"stack",
"addresses",
"from",
"FIRST",
"to",
"FIRST+SIZE",
",",
"inclusive",
".",
"These",
"are",
"offsets",
"from",
"the",
"current",
"stack",
"pointer",
"."
] | [
"rs6000",
"32768",
"12",
"0",
"32768",
"32768"
] | rs6000-logue | rs6000_emit_probe_stack_range | rs6000 | CPU | GCC | 13,512 | 241 | 1 | [] |
[
"<s>",
"static",
"rtx_insn",
"*",
"get_next_active_insn",
"(",
"rtx_insn",
"*",
"insn",
",",
"rtx_insn",
"*",
"tail",
")",
"{",
"if",
"(",
"insn",
"==",
"NULL_RTX",
"||",
"insn",
"==",
"tail",
")",
"return",
"NULL",
";",
"while",
"(",
"1",
")",
"{",
... | [
"Return",
"the",
"next",
"insn",
"after",
"INSN",
"that",
"is",
"found",
"before",
"TAIL",
"is",
"reached",
",",
"skipping",
"any",
"``",
"non-active",
"''",
"insns",
"-",
"insns",
"that",
"will",
"not",
"actually",
"occupy",
"an",
"issue",
"slot",
".",
... | [
"powerpcspe",
"1"
] | powerpcspe | get_next_active_insn | powerpcspe | CPU | GCC | 13,513 | 110 | 1 | [] |
[
"<s>",
"std",
"::",
"pair",
"<",
"unsigned",
",",
"const",
"TargetRegisterClass",
"*",
">",
"BlackfinTargetLowering",
"::",
"getRegForInlineAsmConstraint",
"(",
"const",
"std",
"::",
"string",
"&",
"Constraint",
",",
"EVT",
"VT",
")",
"const",
"{",
"typedef",
... | [
"Given",
"a",
"physical",
"register",
"constraint",
"(",
"e.g",
"."
] | [
"Blackfin",
"BF",
"1",
"0",
"0U",
"MVT::i16",
"0U",
"0U",
"0U",
"0U",
"0U",
"0U",
"0U",
"0U"
] | BlackfinISelLowering2 | getRegForInlineAsmConstraint | Blackfin | DSP | LLVM | 13,514 | 245 | 1 | [] |
[
"<s>",
"void",
"getAnalysisUsage",
"(",
"AnalysisUsage",
"&",
"AU",
")",
"const",
"override",
"{",
"AU",
".",
"setPreservesAll",
"(",
")",
";",
"MachineFunctionPass",
"::",
"getAnalysisUsage",
"(",
"AU",
")",
";",
"}",
"</s>"
] | [
"getAnalysisUsage",
"-",
"Subclasses",
"that",
"override",
"getAnalysisUsage",
"must",
"call",
"this",
"."
] | [
"AMDGPU"
] | SILowerSGPRSpills | getAnalysisUsage | AMDGPU | GPU | LLVM | 13,515 | 24 | 1 | [] |
[
"<s>",
"void",
"setPersonality",
"(",
"const",
"MCSymbol",
"*",
"Per",
")",
"{",
"HasPersonality",
"=",
"1",
";",
"}",
"</s>"
] | [
"Set",
"the",
"personality",
"."
] | [
"ARM",
"1"
] | ARMUnwindOpAsm | setPersonality | ARM | CPU | LLVM | 13,516 | 14 | 1 | [] |
[
"<s>",
"static",
"bool",
"isAcceptableChar",
"(",
"char",
"C",
")",
"{",
"return",
"(",
"C",
">=",
"'a'",
"&&",
"C",
"<=",
"'z'",
")",
"||",
"C",
"==",
"'F'",
"||",
"C",
"==",
"'R'",
"||",
"C",
"==",
"'V'",
"||",
"C",
"==",
"'X'",
"||",
"(",
... | [
"Return",
"true",
"if",
"C",
"is",
"an",
"acceptable",
"character",
"inside",
"a",
"symbol",
"name",
"."
] | [
"F2003f"
] | F2003fMCAsmInfo | isAcceptableChar | F2003f | CPU | LLVM | 13,517 | 58 | 1 | [] |
[
"<s>",
"FuncInfo",
"(",
")",
":",
"MemInstCost",
"(",
"0",
")",
",",
"InstCost",
"(",
"0",
")",
",",
"IAMInstCost",
"(",
"0",
")",
",",
"LSMInstCost",
"(",
"0",
")",
"{",
"}",
"</s>"
] | [
"Information",
"about",
"the",
"function",
"as",
"a",
"whole",
"."
] | [
"AMDGPU",
"0",
"0",
"0",
"0"
] | AMDGPUPerfHintAnalysis3 | FuncInfo | AMDGPU | GPU | LLVM | 13,518 | 25 | 1 | [] |
[
"<s>",
"bool",
"ix86_target_stack_probe",
"(",
"void",
")",
"{",
"if",
"(",
"flag_stack_check",
"==",
"STATIC_BUILTIN_STACK_CHECK",
")",
"return",
"false",
";",
"return",
"TARGET_STACK_PROBE",
";",
"}",
"</s>"
] | [
"Decide",
"whether",
"we",
"must",
"probe",
"the",
"stack",
"before",
"any",
"space",
"allocation",
"on",
"this",
"target",
".",
"It",
"'s",
"essentially",
"TARGET_STACK_PROBE",
"except",
"when",
"-fstack-check",
"causes",
"the",
"stack",
"to",
"be",
"already",
... | [
"i386"
] | i386 | ix86_target_stack_probe | i386 | CPU | GCC | 13,519 | 19 | 1 | [] |
[
"<s>",
"static",
"bool",
"originalTypeIsF128",
"(",
"const",
"Type",
"*",
"Ty",
",",
"const",
"SDNode",
"*",
"CallNode",
")",
"{",
"if",
"(",
"Ty",
"->",
"isFP128Ty",
"(",
")",
")",
"return",
"true",
";",
"if",
"(",
"Ty",
"->",
"isStructTy",
"(",
")"... | [
"This",
"function",
"returns",
"true",
"if",
"Ty",
"is",
"fp128",
",",
"{",
"f128",
"}",
"or",
"i128",
"which",
"was",
"originally",
"a",
"fp128",
"."
] | [
"Mips",
"1",
"0",
"128"
] | MipsCCState14 | originalTypeIsF128 | Mips | CPU | LLVM | 13,520 | 92 | 1 | [] |
[
"<s>",
"static",
"rtx",
"nios2_expand_custom_builtin",
"(",
"tree",
"exp",
",",
"unsigned",
"int",
"index",
",",
"rtx",
"target",
")",
"{",
"bool",
"has_target_p",
"=",
"(",
"TREE_TYPE",
"(",
"exp",
")",
"!=",
"void_type_node",
")",
";",
"machine_mode",
"tmo... | [
"Helper",
"function",
"for",
"expanding",
"custom",
"builtins",
"."
] | [
"nios2",
"3",
"0",
"0",
"\"custom instruction opcode must be compile time \"",
"\"constant in the range 0-255 for __builtin_custom_%s\"",
"3",
"3",
"3"
] | nios22 | nios2_expand_custom_builtin | nios2 | MPU | GCC | 13,521 | 258 | 1 | [] |
[
"<s>",
"PPCSubtarget",
"&",
"PPCSubtarget",
"::",
"initializeSubtargetDependencies",
"(",
"StringRef",
"CPU",
",",
"StringRef",
"FS",
")",
"{",
"initializeEnvironment",
"(",
")",
";",
"initSubtargetFeatures",
"(",
"CPU",
",",
"FS",
")",
";",
"return",
"*",
"this... | [
"initializeSubtargetDependencies",
"-",
"Initializes",
"using",
"a",
"CPU",
",",
"a",
"TuneCPU",
",",
"and",
"feature",
"string",
"so",
"that",
"we",
"can",
"use",
"initializer",
"lists",
"for",
"subtarget",
"initialization",
"."
] | [
"PowerPC",
"PPC",
"PPC"
] | PPCSubtarget (2) | initializeSubtargetDependencies | PowerPC | CPU | LLVM | 13,522 | 29 | 1 | [] |
[
"<s>",
"void",
"HexagonSubtarget",
"::",
"adjustSchedDependency",
"(",
"SUnit",
"*",
"Src",
",",
"SUnit",
"*",
"Dst",
",",
"SDep",
"&",
"Dep",
")",
"const",
"{",
"MachineInstr",
"*",
"SrcInst",
"=",
"Src",
"->",
"getInstr",
"(",
")",
";",
"MachineInstr",
... | [
"Perform",
"target",
"specific",
"adjustments",
"to",
"the",
"latency",
"of",
"a",
"schedule",
"dependency",
"."
] | [
"Hexagon",
"Hexagon",
"Hexagon",
"4",
"4",
"0",
"0",
"1",
"0",
"0",
"1",
"0",
"0",
"0",
"0"
] | HexagonSubtarget13 | adjustSchedDependency | Hexagon | DSP | LLVM | 13,523 | 383 | 1 | [] |
[
"<s>",
"void",
"getAnalysisUsage",
"(",
"AnalysisUsage",
"&",
"AU",
")",
"const",
"override",
"{",
"AU",
".",
"addRequired",
"<",
"ProfileSummaryInfoWrapperPass",
">",
"(",
")",
";",
"AU",
".",
"addRequired",
"<",
"LazyMachineBlockFrequencyInfoPass",
">",
"(",
"... | [
"getAnalysisUsage",
"-",
"Subclasses",
"that",
"override",
"getAnalysisUsage",
"must",
"call",
"this",
"."
] | [
"X86"
] | X86PadShortFunction12 | getAnalysisUsage | X86 | CPU | LLVM | 13,524 | 45 | 1 | [] |
[
"<s>",
"bool",
"AMDGPUOpenCLEnqueuedBlockLowering",
"::",
"runOnModule",
"(",
"Module",
"&",
"M",
")",
"{",
"DenseSet",
"<",
"Function",
"*",
">",
"Callers",
";",
"auto",
"&",
"C",
"=",
"M",
".",
"getContext",
"(",
")",
";",
"bool",
"Changed",
"=",
"fals... | [
"runOnModule",
"-",
"Virtual",
"method",
"overriden",
"by",
"subclasses",
"to",
"process",
"the",
"module",
"being",
"operated",
"on",
"."
] | [
"AMDGPU",
"AMDGPU",
"\"enqueued-block\"",
"64",
"\"__amdgpu_enqueued_kernel\"",
"\"found enqueued kernel: \"",
"\".runtime_handle\"",
"AMDGPU",
"AMDGPU",
"\"runtime handle created: \"",
"\"runtime-handle\"",
"AMDGPU",
"\"calls-enqueue-kernel\"",
"\"mark enqueue_kernel caller:\""
] | AMDGPUOpenCLEnqueuedBlockLowering4 | runOnModule | AMDGPU | GPU | LLVM | 13,525 | 350 | 1 | [] |
[
"<s>",
"static",
"bool",
"mips_cfun_call_saved_reg_p",
"(",
"unsigned",
"int",
"regno",
")",
"{",
"if",
"(",
"global_regs",
"[",
"regno",
"]",
")",
"return",
"false",
";",
"if",
"(",
"cfun",
"->",
"machine",
"->",
"interrupt_handler_p",
"&&",
"mips_interrupt_e... | [
"Return",
"true",
"if",
"the",
"current",
"function",
"should",
"treat",
"register",
"REGNO",
"as",
"call-saved",
"."
] | [
"mips"
] | mips | mips_cfun_call_saved_reg_p | mips | CPU | GCC | 13,526 | 51 | 1 | [] |
[
"<s>",
"rtx",
"h8300_get_index",
"(",
"rtx",
"x",
",",
"enum",
"machine_mode",
"mode",
",",
"int",
"*",
"size",
")",
"{",
"int",
"dummy",
",",
"factor",
";",
"if",
"(",
"size",
"==",
"0",
")",
"size",
"=",
"&",
"dummy",
";",
"factor",
"=",
"(",
"... | [
"Given",
"that",
"X",
"occurs",
"in",
"an",
"address",
"of",
"the",
"form",
"(",
"plus",
"X",
"constant",
")",
",",
"return",
"the",
"part",
"of",
"X",
"that",
"is",
"expected",
"to",
"be",
"a",
"register",
".",
"There",
"are",
"four",
"kinds",
"of",... | [
"h8300",
"0",
"0",
"4",
"1",
"0",
"0",
"1",
"0",
"1",
"0xff",
"1",
"0xffff",
"0",
"1",
"0xffff",
"2",
"1",
"4",
"1",
"0",
"1",
"0",
"0"
] | h83003 | h8300_get_index | h8300 | MPU | GCC | 13,527 | 276 | 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::SREM",
"ISD::UREM",
"ISD::READCYCLECOUNTER",
"ISD::UDIV",
"ISD::SDIV",
"\"can only expand DIV on Windows\"",
"0",
"ISD::SDIV"
] | ARMISelLowering (2)2 | ReplaceNodeResults | ARM | CPU | LLVM | 13,528 | 198 | 1 | [] |
[
"<s>",
"const",
"AArch64Subtarget",
"*",
"AArch64TargetMachine",
"::",
"getSubtargetImpl",
"(",
"const",
"Function",
"&",
"F",
")",
"const",
"{",
"Attribute",
"CPUAttr",
"=",
"F",
".",
"getFnAttribute",
"(",
"\"target-cpu\"",
")",
";",
"Attribute",
"FSAttr",
"="... | [
"Virtual",
"method",
"implemented",
"by",
"subclasses",
"that",
"returns",
"a",
"reference",
"to",
"that",
"target",
"'s",
"TargetSubtargetInfo-derived",
"member",
"variable",
"."
] | [
"AArch64",
"AArch64",
"AArch64",
"\"target-cpu\"",
"\"target-features\"",
"AArch64",
"AArch64",
"AArch64",
"AArch64",
"AArch64",
"AArch64",
"AArch64"
] | AArch64TargetMachine67 | getSubtargetImpl | AArch64 | CPU | LLVM | 13,529 | 239 | 1 | [] |
[
"<s>",
"void",
"LanaiFrameLowering",
"::",
"determineFrameLayout",
"(",
"MachineFunction",
"&",
"MF",
")",
"const",
"{",
"MachineFrameInfo",
"&",
"MFI",
"=",
"MF",
".",
"getFrameInfo",
"(",
")",
";",
"const",
"LanaiRegisterInfo",
"*",
"LRI",
"=",
"STI",
".",
... | [
"Determine",
"the",
"frame",
"layout",
"but",
"do",
"not",
"update",
"the",
"machine",
"function",
"."
] | [
"Lanai",
"Lanai",
"Lanai"
] | LanaiFrameLowering6 | determineFrameLayout | Lanai | CPU | LLVM | 13,530 | 131 | 1 | [] |
[
"<s>",
"const",
"MCExpr",
"*",
"getSubExpr",
"(",
")",
"const",
"{",
"return",
"Expr",
";",
"}",
"</s>"
] | [
"getSubExpr",
"-",
"Get",
"the",
"child",
"of",
"this",
"expression",
"."
] | [
"Nios2"
] | Nios2MCExpr | getSubExpr | Nios2 | MPU | LLVM | 13,531 | 12 | 1 | [] |
[
"<s>",
"static",
"bool",
"const_vector_equal_evenodd_p",
"(",
"rtx",
"op",
")",
"{",
"machine_mode",
"mode",
"=",
"GET_MODE",
"(",
"op",
")",
";",
"int",
"i",
",",
"nunits",
"=",
"GET_MODE_NUNITS",
"(",
"mode",
")",
";",
"if",
"(",
"GET_CODE",
"(",
"op",... | [
"Helper",
"function",
"of",
"ix86_expand_mul_widen_evenodd",
".",
"Return",
"true",
"if",
"op",
"is",
"CONST_VECTOR",
"with",
"all",
"odd",
"elements",
"equal",
"to",
"their",
"preceding",
"element",
"."
] | [
"i386",
"0",
"2",
"1"
] | i386-expand | const_vector_equal_evenodd_p | i386 | CPU | GCC | 13,532 | 84 | 1 | [] |
[
"<s>",
"static",
"void",
"block_move_call",
"(",
"rtx",
"dest_reg",
",",
"rtx",
"src_reg",
",",
"rtx",
"bytes_rtx",
")",
"{",
"if",
"(",
"GET_MODE",
"(",
"bytes_rtx",
")",
"!=",
"VOIDmode",
"&&",
"GET_MODE",
"(",
"bytes_rtx",
")",
"!=",
"Pmode",
")",
"by... | [
"Use",
"a",
"library",
"function",
"to",
"move",
"some",
"bytes",
"."
] | [
"m32r",
"1",
"\"memcpy\"",
"0",
"3"
] | m32r3 | block_move_call | m32r | MPU | GCC | 13,533 | 84 | 1 | [] |
[
"<s>",
"void",
"M88kIncomingValueHandler",
"::",
"assignValueToReg",
"(",
"Register",
"ValVReg",
",",
"Register",
"PhysReg",
",",
"CCValAssign",
"VA",
")",
"{",
"assert",
"(",
"VA",
".",
"isRegLoc",
"(",
")",
"&&",
"\"Value shouldn't be assigned to reg\"",
")",
";... | [
"The",
"specified",
"value",
"has",
"been",
"assigned",
"to",
"a",
"physical",
"register",
",",
"handle",
"the",
"appropriate",
"COPY",
"(",
"either",
"to",
"or",
"from",
")",
"and",
"mark",
"any",
"relevant",
"uses/defines",
"as",
"needed",
"."
] | [
"M88k",
"M88k",
"\"Value shouldn't be assigned to reg\"",
"\"Assigning to the wrong reg?\"",
"64",
"\"Unsupported value size\"",
"64",
"\"Unsupported location size\"",
"\"Extensions not supported\""
] | M88kCallLowering | assignValueToReg | M88k | MPU | LLVM | 13,534 | 144 | 1 | [] |
[
"<s>",
"static",
"void",
"sh_setup_incoming_varargs",
"(",
"cumulative_args_t",
"ca",
",",
"machine_mode",
"mode",
",",
"tree",
"type",
",",
"int",
"*",
"pretend_arg_size",
",",
"int",
"second_time",
"ATTRIBUTE_UNUSED",
")",
"{",
"gcc_assert",
"(",
"cfun",
"->",
... | [
"We",
"actually",
"emit",
"the",
"code",
"in",
"sh_expand_prologue",
".",
"We",
"used",
"to",
"use",
"a",
"static",
"variable",
"to",
"flag",
"that",
"we",
"need",
"to",
"emit",
"this",
"code",
",",
"but",
"that",
"does",
"n't",
"when",
"inlining",
",",
... | [
"sh",
"0",
"4"
] | sh4 | sh_setup_incoming_varargs | sh | CPU | GCC | 13,535 | 107 | 1 | [] |
[
"<s>",
"bool",
"DCPU16FrameLowering",
"::",
"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"... | [
"Dcpu16",
"DCPU16",
"DCPU16",
"DCPU16",
"0",
"1",
"DCPU16::PUSH16r"
] | Dcpu16FrameLowering | spillCalleeSavedRegisters | Dcpu16 | CPU | LLVM | 13,536 | 186 | 1 | [] |
[
"<s>",
"void",
"tool_cleanup",
"(",
"bool",
"from_signal",
"ATTRIBUTE_UNUSED",
")",
"{",
"for",
"(",
"int",
"i",
"=",
"0",
";",
"i",
"<",
"num_temps",
";",
"i",
"++",
")",
"maybe_unlink",
"(",
"temp_files",
"[",
"i",
"]",
")",
";",
"}",
"</s>"
] | [
"Delete",
"tempfiles",
"."
] | [
"i386",
"0"
] | intelmic-mkoffload | tool_cleanup | i386 | CPU | GCC | 13,537 | 31 | 1 | [] |
[
"<s>",
"bool",
"addRange",
"(",
"uint64_t",
"Start",
",",
"uint64_t",
"End",
",",
"Instruction",
"*",
"Inst",
")",
"{",
"auto",
"I",
"=",
"llvm",
"::",
"lower_bound",
"(",
"Ranges",
",",
"Start",
",",
"[",
"]",
"(",
"const",
"Range",
"&",
"LHS",
",",... | [
"addRange",
"-",
"Add",
"an",
"address",
"range",
"to",
"the",
"list",
"of",
"ranges",
"for",
"this",
"unit",
"."
] | [
"AArch64"
] | AArch64StackTagging (2) | addRange | AArch64 | CPU | LLVM | 13,538 | 87 | 1 | [] |
[
"<s>",
"bool",
"WebAssemblyReplacePhysRegs",
"::",
"runOnMachineFunction",
"(",
"MachineFunction",
"&",
"MF",
")",
"{",
"DEBUG",
"(",
"{",
"dbgs",
"(",
")",
"<<",
"\"********** Replace Physical Registers **********\\n\"",
"<<",
"\"********** Function: \"",
"<<",
"MF",
"... | [
"runOnMachineFunction",
"-",
"Emit",
"the",
"function",
"body",
"."
] | [
"WebAssembly",
"WebAssembly",
"\"********** Replace Physical Registers **********\\n\"",
"\"********** Function: \"",
"WebAssembly",
"\"LiveIntervals shouldn't be active yet!\"",
"WebAssembly::NoRegister",
"1",
"WebAssembly::NUM_TARGET_REGS",
"WebAssembly::VALUE_STACK",
"WebAssembly::ARGUMENTS",... | WebAssemblyReplacePhysRegs | runOnMachineFunction | WebAssembly | Virtual ISA | LLVM | 13,539 | 242 | 1 | [] |
[
"<s>",
"SDValue",
"MipsTargetLowering",
"::",
"PerformDAGCombine",
"(",
"SDNode",
"*",
"N",
",",
"DAGCombinerInfo",
"&",
"DCI",
")",
"const",
"{",
"SelectionDAG",
"&",
"DAG",
"=",
"DCI",
".",
"DAG",
";",
"unsigned",
"opc",
"=",
"N",
"->",
"getOpcode",
"(",... | [
"This",
"method",
"will",
"be",
"invoked",
"for",
"all",
"target",
"nodes",
"and",
"for",
"any",
"target-independent",
"nodes",
"that",
"the",
"target",
"has",
"registered",
"with",
"invoke",
"it",
"for",
"."
] | [
"Mips",
"Mips",
"ISD::ADDE",
"ISD::SUBE",
"ISD::SDIVREM",
"ISD::UDIVREM",
"ISD::SELECT",
"ISD::AND",
"ISD::OR",
"ISD::ADD"
] | MipsISelLowering101 | PerformDAGCombine | Mips | CPU | LLVM | 13,540 | 172 | 1 | [] |
[
"<s>",
"void",
"rs6000_expand_vector_extract",
"(",
"rtx",
"target",
",",
"rtx",
"vec",
",",
"rtx",
"elt",
")",
"{",
"machine_mode",
"mode",
"=",
"GET_MODE",
"(",
"vec",
")",
";",
"machine_mode",
"inner_mode",
"=",
"GET_MODE_INNER",
"(",
"mode",
")",
";",
... | [
"Extract",
"field",
"ELT",
"from",
"VEC",
"into",
"TARGET",
"."
] | [
"rs6000",
"0",
"0",
"0"
] | rs60006 | rs6000_expand_vector_extract | rs6000 | CPU | GCC | 13,541 | 458 | 1 | [] |
[
"<s>",
"bool",
"AMDGPUInstrInfo",
"::",
"SubsumesPredicate",
"(",
"ArrayRef",
"<",
"MachineOperand",
">",
"Pred1",
",",
"ArrayRef",
"<",
"MachineOperand",
">",
"Pred2",
")",
"const",
"{",
"return",
"false",
";",
"}",
"</s>"
] | [
"Returns",
"true",
"if",
"the",
"first",
"specified",
"predicate",
"subsumes",
"the",
"second",
",",
"e.g",
"."
] | [
"AMDGPU",
"AMDGPU"
] | AMDGPUInstrInfo | SubsumesPredicate | AMDGPU | GPU | LLVM | 13,542 | 23 | 1 | [] |
[
"<s>",
"BaseKind",
"getKind",
"(",
")",
"const",
"{",
"return",
"Kind",
";",
"}",
"</s>"
] | [
"Returns",
"the",
"Kind",
"of",
"lane",
"offset",
"."
] | [
"Mips"
] | MipsFastISel | getKind | Mips | CPU | LLVM | 13,543 | 10 | 1 | [] |
[
"<s>",
"void",
"SHUXIAsmBackend",
"::",
"applyFixup",
"(",
"const",
"MCAssembler",
"&",
"Asm",
",",
"const",
"MCFixup",
"&",
"Fixup",
",",
"const",
"MCValue",
"&",
"Target",
",",
"MutableArrayRef",
"<",
"char",
">",
"Data",
",",
"uint64_t",
"Value",
",",
"... | [
"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",
"."
] | [
"SHUXI",
"SHUXI",
"4",
"0",
"\"The destination address is not aligned to a word\"",
"0xFF",
"1",
"8",
"0xFF"
] | SHUXIAsmBackend | applyFixup | SHUXI | CPU | LLVM | 13,544 | 102 | 1 | [] |
[
"<s>",
"void",
"MSP430AsmPrinter",
"::",
"emitInstruction",
"(",
"const",
"MachineInstr",
"*",
"MI",
")",
"{",
"MSP430MCInstLower",
"MCInstLowering",
"(",
"OutContext",
",",
"*",
"this",
")",
";",
"MCInst",
"TmpInst",
";",
"MCInstLowering",
".",
"Lower",
"(",
... | [
"Targets",
"should",
"implement",
"this",
"to",
"emit",
"instructions",
"."
] | [
"MSP430",
"MSP430",
"MSP430"
] | MSP430AsmPrinter22 | emitInstruction | MSP430 | MPU | LLVM | 13,545 | 41 | 1 | [] |
[
"<s>",
"ARMSubtarget",
"::",
"ARMSubtarget",
"(",
"const",
"std",
"::",
"string",
"&",
"TT",
",",
"const",
"std",
"::",
"string",
"&",
"FS",
",",
"bool",
"isT",
")",
":",
"ARMArchVersion",
"(",
"V4",
")",
",",
"ARMFPUType",
"(",
"None",
")",
",",
"Us... | [
"This",
"constructor",
"initializes",
"the",
"data",
"members",
"to",
"match",
"that",
"of",
"the",
"specified",
"triple",
"."
] | [
"ARM",
"ARM",
"ARM",
"ARM",
"ARM",
"4",
"\"generic\"",
"ARM",
"\"generic\"",
"\"generic\"",
"ARM",
"0",
"5",
"0",
"4",
"\"armv\"",
"4",
"6",
"0",
"5",
"\"thumb\"",
"7",
"5",
"6",
"ARM",
"ARM",
"3",
"1",
"2",
"ARM",
"ARM",
"3",
"1",
"2",
"ARM",
"2... | ARMSubtarget79 | ARMSubtarget | ARM | CPU | LLVM | 13,546 | 490 | 1 | [] |
[
"<s>",
"TargetTransformInfo",
"MipsTargetMachine",
"::",
"getTargetTransformInfo",
"(",
"const",
"Function",
"&",
"F",
")",
"{",
"if",
"(",
"Subtarget",
"->",
"allowMixed16_32",
"(",
")",
")",
"{",
"LLVM_DEBUG",
"(",
"errs",
"(",
")",
"<<",
"\"No Target Transfor... | [
"Get",
"a",
"TargetTransformInfo",
"implementation",
"for",
"the",
"target",
"."
] | [
"Mips",
"Mips",
"\"No Target Transform Info Pass Added\\n\"",
"\"Target Transform Info Pass Added\\n\""
] | MipsTargetMachine14 | getTargetTransformInfo | Mips | CPU | LLVM | 13,547 | 65 | 1 | [] |
[
"<s>",
"void",
"JVMFrameLowering",
"::",
"emitEpilogue",
"(",
"MachineFunction",
"&",
"MF",
",",
"MachineBasicBlock",
"&",
"MBB",
")",
"const",
"{",
"}",
"</s>"
] | [
"Insert",
"epilog",
"code",
"into",
"the",
"function",
"."
] | [
"JVM",
"JVM"
] | JVMFrameLowering | emitEpilogue | JVM | Virtual ISA | LLVM | 13,548 | 16 | 1 | [] |
[
"<s>",
"unsigned",
"getArithmeticInstrCost",
"(",
"unsigned",
"Opcode",
",",
"Type",
"*",
"Ty",
",",
"TTI",
"::",
"TargetCostKind",
"CostKind",
"=",
"TTI",
"::",
"TCK_RecipThroughput",
",",
"TTI",
"::",
"OperandValueKind",
"Opd1Info",
"=",
"TTI",
"::",
"OK_AnyVa... | [
"This",
"is",
"an",
"approximation",
"of",
"reciprocal",
"throughput",
"of",
"a",
"math/logic",
"op",
"."
] | [
"Lanai",
"ISD::MUL",
"ISD::SDIV",
"ISD::UDIV",
"ISD::UREM",
"64"
] | LanaiTargetTransformInfo10 | getArithmeticInstrCost | Lanai | CPU | LLVM | 13,549 | 161 | 1 | [] |
[
"<s>",
"bool",
"mayNeedRelaxation",
"(",
"const",
"MCInst",
"&",
"Inst",
")",
"const",
"override",
"{",
"return",
"false",
";",
"}",
"</s>"
] | [
"Check",
"whether",
"the",
"given",
"instruction",
"may",
"need",
"relaxation",
"."
] | [
"RISCV"
] | RISCVAsmBackend10 | mayNeedRelaxation | RISCV | CPU | LLVM | 13,550 | 15 | 1 | [] |
[
"<s>",
"const",
"CallLowering",
"*",
"X86Subtarget",
"::",
"getCallLowering",
"(",
")",
"const",
"{",
"return",
"CallLoweringInfo",
".",
"get",
"(",
")",
";",
"}",
"</s>"
] | [
"Methods",
"used",
"by",
"Global",
"ISel",
"."
] | [
"X86",
"X86"
] | X86Subtarget (2)3 | getCallLowering | X86 | CPU | LLVM | 13,551 | 18 | 1 | [] |
[
"<s>",
"bool",
"NVPTXAsmPrinter",
"::",
"doInitialization",
"(",
"Module",
"&",
"M",
")",
"{",
"const",
"Triple",
"&",
"TT",
"=",
"TM",
".",
"getTargetTriple",
"(",
")",
";",
"StringRef",
"CPU",
"=",
"TM",
".",
"getTargetCPU",
"(",
")",
";",
"StringRef",... | [
"Set",
"up",
"the",
"AsmPrinter",
"when",
"we",
"are",
"working",
"on",
"a",
"new",
"module",
"."
] | [
"NVPTX",
"NVPTX",
"NVPTX",
"NVPTX",
"NVPTX",
"128",
"\"Start of file scope inline assembly\"",
"\"End of file scope inline assembly\""
] | NVPTXAsmPrinter | doInitialization | NVPTX | GPU | LLVM | 13,552 | 223 | 1 | [] |
[
"<s>",
"void",
"update",
"(",
"unsigned",
"R",
",",
"const",
"LatticeCell",
"&",
"L",
")",
"{",
"Map",
"[",
"R",
"]",
"=",
"L",
";",
"}",
"</s>"
] | [
"Digest",
"more",
"data",
"."
] | [
"Hexagon"
] | HexagonConstPropagation | update | Hexagon | DSP | LLVM | 13,553 | 20 | 1 | [] |
[
"<s>",
"void",
"visium_split_cstore",
"(",
"enum",
"rtx_code",
"op_code",
",",
"rtx",
"op0",
",",
"rtx",
"op1",
",",
"enum",
"rtx_code",
"code",
",",
"rtx",
"op2",
",",
"rtx",
"op3",
")",
"{",
"enum",
"machine_mode",
"cc_mode",
"=",
"visium_select_cc_mode",
... | [
"Split",
"a",
"compare-and-store",
"with",
"CODE",
",",
"operands",
"OP2",
"and",
"OP3",
",",
"combined",
"with",
"operation",
"with",
"OP_CODE",
",",
"operands",
"OP0",
"and",
"OP1",
"."
] | [
"visium",
"2",
"0",
"0",
"0",
"1"
] | visium3 | visium_split_cstore | visium | Virtual ISA | GCC | 13,554 | 222 | 1 | [] |
[
"<s>",
"bool",
"SIFoldOperands",
"::",
"runOnMachineFunction",
"(",
"MachineFunction",
"&",
"MF",
")",
"{",
"if",
"(",
"skipFunction",
"(",
"MF",
".",
"getFunction",
"(",
")",
")",
")",
"return",
"false",
";",
"MRI",
"=",
"&",
"MF",
".",
"getRegInfo",
"(... | [
"runOnMachineFunction",
"-",
"Emit",
"the",
"function",
"body",
"."
] | [
"AMDGPU",
"SI",
"SI",
"SI",
"SI",
"1",
"0"
] | SIFoldOperands10 | runOnMachineFunction | AMDGPU | GPU | LLVM | 13,555 | 297 | 1 | [] |
[
"<s>",
"static",
"int",
"ix86_comp_type_attributes",
"(",
"tree",
"type1",
",",
"tree",
"type2",
")",
"{",
"const",
"char",
"*",
"const",
"rtdstr",
"=",
"TARGET_RTD",
"?",
"\"cdecl\"",
":",
"\"stdcall\"",
";",
"if",
"(",
"TREE_CODE",
"(",
"type1",
")",
"!=... | [
"Return",
"0",
"if",
"the",
"attributes",
"for",
"two",
"types",
"are",
"incompatible",
",",
"1",
"if",
"they",
"are",
"compatible",
",",
"and",
"2",
"if",
"they",
"are",
"nearly",
"compatible",
"(",
"which",
"causes",
"a",
"warning",
"to",
"be",
"genera... | [
"i386",
"\"cdecl\"",
"\"stdcall\"",
"1",
"\"fastcall\"",
"\"fastcall\"",
"0",
"\"sseregparm\"",
"\"sseregparm\"",
"0",
"0",
"1"
] | i3863 | ix86_comp_type_attributes | i386 | CPU | GCC | 13,556 | 138 | 1 | [] |
[
"<s>",
"bool",
"aarch64_simd_check_vect_par_cnst_half",
"(",
"rtx",
"op",
",",
"machine_mode",
"mode",
",",
"bool",
"high",
")",
"{",
"rtx",
"ideal",
"=",
"aarch64_simd_vect_par_cnst_half",
"(",
"mode",
",",
"high",
")",
";",
"HOST_WIDE_INT",
"count_op",
"=",
"X... | [
"Check",
"OP",
"for",
"validity",
"as",
"a",
"PARALLEL",
"RTX",
"vector",
"with",
"elements",
"numbering",
"the",
"lanes",
"of",
"either",
"the",
"high",
"(",
"HIGH",
"==",
"TRUE",
")",
"or",
"low",
"lanes",
",",
"from",
"the",
"perspective",
"of",
"the"... | [
"aarch64",
"0",
"0",
"0",
"0",
"0",
"0"
] | aarch642 | aarch64_simd_check_vect_par_cnst_half | aarch64 | CPU | GCC | 13,557 | 132 | 1 | [] |
[
"<s>",
"bool",
"bfin_legitimate_address_p",
"(",
"enum",
"machine_mode",
"mode",
",",
"rtx",
"x",
",",
"int",
"strict",
")",
"{",
"switch",
"(",
"GET_CODE",
"(",
"x",
")",
")",
"{",
"case",
"REG",
":",
"if",
"(",
"bfin_valid_reg_p",
"(",
"REGNO",
"(",
... | [
"Recognize",
"an",
"RTL",
"expression",
"that",
"is",
"a",
"valid",
"memory",
"address",
"for",
"an",
"instruction",
".",
"The",
"MODE",
"argument",
"is",
"the",
"machine",
"mode",
"for",
"the",
"MEM",
"expression",
"that",
"wants",
"to",
"use",
"this",
"a... | [
"bfin",
"0",
"0",
"1",
"1",
"1",
"0",
"0",
"0",
"0",
"0"
] | bfin2 | bfin_legitimate_address_p | bfin | DSP | GCC | 13,558 | 219 | 1 | [] |
[
"<s>",
"void",
"SIInstrInfo",
"::",
"reserveIndirectRegisters",
"(",
"BitVector",
"&",
"Reserved",
",",
"const",
"MachineFunction",
"&",
"MF",
")",
"const",
"{",
"int",
"End",
"=",
"getIndirectIndexEnd",
"(",
"MF",
")",
";",
"int",
"Begin",
"=",
"getIndirectIn... | [
"Reserve",
"the",
"registers",
"that",
"may",
"be",
"accessed",
"using",
"indirect",
"addressing",
"."
] | [
"R600",
"SI",
"1",
"0",
"1",
"0",
"2",
"0",
"3",
"0",
"7",
"0",
"15"
] | SIInstrInfo101 | reserveIndirectRegisters | R600 | GPU | LLVM | 13,559 | 255 | 1 | [] |
[
"<s>",
"void",
"TPCHazardRecognizer",
"::",
"Reset",
"(",
")",
"{",
"LLVM_DEBUG",
"(",
"dbgs",
"(",
")",
"<<",
"\" *HR* Reset Hazard Recognizer\\n\"",
")",
";",
"clearResources",
"(",
")",
";",
"PacketNum",
"=",
"0",
";",
"}",
"</s>"
] | [
"Reset",
"the",
"unwind",
"opcode",
"assembler",
"."
] | [
"TPC",
"TPC",
"\" *HR* Reset Hazard Recognizer\\n\"",
"0"
] | TPCHazardRecognizer | Reset | TPC | Virtual ISA | LLVM | 13,560 | 25 | 1 | [] |
[
"<s>",
"int",
"includes_lshift_p",
"(",
"rtx",
"shiftop",
",",
"rtx",
"andop",
")",
"{",
"unsigned",
"HOST_WIDE_INT",
"shift_mask",
"=",
"~",
"(",
"unsigned",
"HOST_WIDE_INT",
")",
"0",
";",
"shift_mask",
"<<=",
"INTVAL",
"(",
"shiftop",
")",
";",
"return",
... | [
"Return",
"1",
"if",
"ANDOP",
"is",
"a",
"mask",
"that",
"has",
"no",
"bits",
"on",
"that",
"are",
"not",
"in",
"the",
"mask",
"required",
"to",
"convert",
"the",
"result",
"of",
"a",
"rotate",
"insn",
"into",
"a",
"shift",
"left",
"insn",
"of",
"SHI... | [
"rs6000",
"0",
"0xffffffff",
"0"
] | rs60003 | includes_lshift_p | rs6000 | CPU | GCC | 13,561 | 44 | 1 | [] |
[
"<s>",
"static",
"rtx",
"altivec_expand_vec_init_builtin",
"(",
"tree",
"type",
",",
"tree",
"arglist",
",",
"rtx",
"target",
")",
"{",
"enum",
"machine_mode",
"tmode",
"=",
"TYPE_MODE",
"(",
"type",
")",
";",
"enum",
"machine_mode",
"inner_mode",
"=",
"GET_MO... | [
"Expand",
"vec_init",
"builtin",
"."
] | [
"rs6000",
"0",
"0"
] | rs60003 | altivec_expand_vec_init_builtin | rs6000 | CPU | GCC | 13,562 | 154 | 1 | [] |
[
"<s>",
"static",
"bool",
"is_leaf_function",
"(",
"function",
"*",
"fn",
")",
"{",
"basic_block",
"bb",
";",
"gimple_stmt_iterator",
"gsi",
";",
"if",
"(",
"fn",
"->",
"cfg",
"==",
"NULL",
")",
"return",
"false",
";",
"FOR_EACH_BB_FN",
"(",
"bb",
",",
"f... | [
"Return",
"true",
"if",
"it",
"is",
"certain",
"that",
"this",
"is",
"a",
"leaf",
"function",
".",
"False",
"if",
"it",
"is",
"not",
"a",
"leaf",
"function",
"or",
"if",
"it",
"is",
"impossible",
"to",
"tell",
"."
] | [
"mips"
] | frame-header-opt | is_leaf_function | mips | CPU | GCC | 13,563 | 70 | 1 | [] |
[
"<s>",
"uint64_t",
"Mips64GOT",
"::",
"emit",
"(",
"MemoryRegion",
"&",
"pRegion",
")",
"{",
"uint64_t",
"*",
"buffer",
"=",
"reinterpret_cast",
"<",
"uint64_t",
"*",
">",
"(",
"pRegion",
".",
"begin",
"(",
")",
")",
";",
"uint64_t",
"result",
"=",
"0",
... | [
"Output",
"the",
"remark",
"via",
"the",
"diagnostic",
"handler",
"and",
"to",
"the",
"optimization",
"record",
"file",
"."
] | [
"Mips",
"Mips",
"0",
"Mips",
"Mips"
] | MipsGOT | emit | Mips | CPU | LLVM | 13,564 | 106 | 1 | [] |
[
"<s>",
"unsigned",
"getNumFixupKinds",
"(",
")",
"const",
"override",
"{",
"return",
"Mips",
"::",
"NumTargetFixupKinds",
";",
"}",
"</s>"
] | [
"Get",
"the",
"number",
"of",
"target",
"specific",
"fixup",
"kinds",
"."
] | [
"Mips",
"Mips::NumTargetFixupKinds"
] | MipsAsmBackend (2)1 | getNumFixupKinds | Mips | CPU | LLVM | 13,565 | 13 | 1 | [] |
[
"<s>",
"virtual",
"const",
"TargetFrameInfo",
"*",
"getFrameInfo",
"(",
")",
"const",
"{",
"return",
"&",
"FrameInfo",
";",
"}",
"</s>"
] | [
"getFrameInfo",
"-",
"Return",
"the",
"frame",
"info",
"object",
"for",
"the",
"current",
"function",
"."
] | [
"MBlaze"
] | MBlazeTargetMachine | getFrameInfo | MBlaze | MPU | LLVM | 13,566 | 14 | 1 | [] |
[
"<s>",
"void",
"emitBasicBlockEnd",
"(",
"const",
"MachineBasicBlock",
"&",
"MBB",
")",
"override",
"{",
"AsmPrinter",
"::",
"emitBasicBlockEnd",
"(",
"MBB",
")",
";",
"SMShadowTracker",
".",
"emitShadowPadding",
"(",
"*",
"OutStreamer",
",",
"getSubtargetInfo",
"... | [
"Targets",
"can",
"override",
"this",
"to",
"emit",
"stuff",
"at",
"the",
"end",
"of",
"a",
"basic",
"block",
"."
] | [
"X86"
] | X86AsmPrinter10 | emitBasicBlockEnd | X86 | CPU | LLVM | 13,567 | 30 | 1 | [] |
[
"<s>",
"static",
"enum",
"rtx_code",
"ix86_prepare_fp_compare_args",
"(",
"enum",
"rtx_code",
"code",
",",
"rtx",
"*",
"pop0",
",",
"rtx",
"*",
"pop1",
")",
"{",
"machine_mode",
"fpcmp_mode",
"=",
"ix86_fp_compare_mode",
"(",
"code",
")",
";",
"rtx",
"op0",
... | [
"Swap",
",",
"force",
"into",
"registers",
",",
"or",
"otherwise",
"massage",
"the",
"two",
"operands",
"to",
"a",
"fp",
"comparison",
".",
"The",
"operands",
"are",
"updated",
"in",
"place",
";",
"the",
"new",
"comparsion",
"code",
"is",
"returned",
"."
] | [
"i386",
"1",
"1",
"0",
"0",
"0",
"1"
] | i3864 | ix86_prepare_fp_compare_args | i386 | CPU | GCC | 13,568 | 348 | 1 | [] |
[
"<s>",
"void",
"mips_emit_binary",
"(",
"enum",
"rtx_code",
"code",
",",
"rtx",
"target",
",",
"rtx",
"op0",
",",
"rtx",
"op1",
")",
"{",
"emit_insn",
"(",
"gen_rtx_SET",
"(",
"target",
",",
"gen_rtx_fmt_ee",
"(",
"code",
",",
"GET_MODE",
"(",
"target",
... | [
"Emit",
"an",
"instruction",
"of",
"the",
"form",
"(",
"set",
"TARGET",
"(",
"CODE",
"OP0",
"OP1",
")",
")",
"."
] | [
"mips"
] | mips | mips_emit_binary | mips | CPU | GCC | 13,569 | 40 | 1 | [] |
[
"<s>",
"int",
"avr_vdump",
"(",
"FILE",
"*",
"stream",
",",
"const",
"char",
"*",
"caller",
",",
"...",
")",
"{",
"va_list",
"ap",
";",
"if",
"(",
"NULL",
"==",
"stream",
"&&",
"dump_file",
")",
"stream",
"=",
"dump_file",
";",
"va_start",
"(",
"ap",... | [
"Wrapper",
"for",
"avr_log_vadump",
".",
"If",
"STREAM",
"is",
"NULL",
"we",
"are",
"called",
"by",
"avr_dump",
",",
"i.e",
".",
"output",
"to",
"dump_file",
"if",
"available",
".",
"The",
"2nd",
"argument",
"is",
"__FUNCTION__",
".",
"The",
"3rd",
"argume... | [
"avr",
"1"
] | avr-log2 | avr_vdump | avr | MPU | GCC | 13,570 | 59 | 1 | [] |
[
"<s>",
"void",
"HexagonAsmPrinter",
"::",
"EmitInstruction",
"(",
"const",
"MachineInstr",
"*",
"MI",
")",
"{",
"MCInst",
"MCB",
"=",
"HexagonMCInstrInfo",
"::",
"createBundle",
"(",
")",
";",
"if",
"(",
"MI",
"->",
"isBundle",
"(",
")",
")",
"{",
"const",... | [
"EmitInstruction",
"-",
"This",
"callback",
"is",
"invoked",
"when",
"an",
"instruction",
"is",
"emitted",
",",
"to",
"advance",
"the",
"hazard",
"state",
"."
] | [
"Hexagon",
"Hexagon",
"Hexagon",
"0",
"Hexagon",
"Hexagon",
"Hexagon",
"Hexagon",
"8",
"Hexagon",
"Hexagon"
] | HexagonAsmPrinter38 | EmitInstruction | Hexagon | DSP | LLVM | 13,571 | 223 | 1 | [] |
[
"<s>",
"bool",
"WebAssemblyFastISel",
"::",
"fastLowerArguments",
"(",
")",
"{",
"if",
"(",
"!",
"FuncInfo",
".",
"CanLowerReturn",
")",
"return",
"false",
";",
"const",
"Function",
"*",
"F",
"=",
"FuncInfo",
".",
"Fn",
";",
"if",
"(",
"F",
"->",
"isVarA... | [
"This",
"method",
"is",
"called",
"by",
"target-independent",
"code",
"to",
"do",
"target-",
"specific",
"argument",
"lowering",
"."
] | [
"WebAssembly",
"WebAssembly",
"0",
"1",
"1",
"1",
"1",
"1",
"MVT::i1",
"MVT::i8",
"MVT::i16",
"MVT::i32",
"WebAssembly::ARGUMENT_I32",
"WebAssembly::I32RegClass",
"MVT::i64",
"WebAssembly::ARGUMENT_I64",
"WebAssembly::I64RegClass",
"MVT::f32",
"WebAssembly::ARGUMENT_F32",
"WebA... | WebAssemblyFastISel44 | fastLowerArguments | WebAssembly | Virtual ISA | LLVM | 13,572 | 391 | 1 | [] |
[
"<s>",
"void",
"AArch64TargetLowering",
"::",
"finalizeLowering",
"(",
"MachineFunction",
"&",
"MF",
")",
"const",
"{",
"MachineFrameInfo",
"&",
"MFI",
"=",
"MF",
".",
"getFrameInfo",
"(",
")",
";",
"if",
"(",
"MFI",
".",
"hasStackProtectorIndex",
"(",
")",
... | [
"Execute",
"target",
"specific",
"actions",
"to",
"finalize",
"target",
"lowering",
"."
] | [
"AArch64",
"AArch64",
"0",
"16"
] | AArch64ISelLowering168 | finalizeLowering | AArch64 | CPU | LLVM | 13,573 | 130 | 1 | [] |
[
"<s>",
"LaneBitmask",
"HexagonExpandCondsets",
"::",
"getLaneMask",
"(",
"unsigned",
"Reg",
",",
"unsigned",
"Sub",
")",
"{",
"assert",
"(",
"TargetRegisterInfo",
"::",
"isVirtualRegister",
"(",
"Reg",
")",
")",
";",
"return",
"Sub",
"!=",
"0",
"?",
"TRI",
"... | [
"Returns",
"the",
"combination",
"of",
"all",
"lane",
"masks",
"of",
"register",
"in",
"this",
"class",
"."
] | [
"Hexagon",
"Hexagon",
"0"
] | HexagonExpandCondsets | getLaneMask | Hexagon | DSP | LLVM | 13,574 | 42 | 1 | [] |
[
"<s>",
"int",
"m68hc11_auto_inc_p",
"(",
"rtx",
"x",
")",
"{",
"return",
"GET_CODE",
"(",
"x",
")",
"==",
"PRE_DEC",
"||",
"GET_CODE",
"(",
"x",
")",
"==",
"POST_INC",
"||",
"GET_CODE",
"(",
"x",
")",
"==",
"POST_DEC",
"||",
"GET_CODE",
"(",
"x",
")"... | [
"Returns",
"true",
"if",
"X",
"is",
"a",
"PRE/POST",
"increment",
"decrement",
"(",
"same",
"as",
"auto_inc_p",
"(",
")",
"in",
"rtlanal.c",
"but",
"do",
"not",
"take",
"into",
"account",
"the",
"stack",
")",
"."
] | [
"m68hc11"
] | m68hc111 | m68hc11_auto_inc_p | m68hc11 | MPU | GCC | 13,575 | 37 | 1 | [] |
[
"<s>",
"bool",
"SystemZInstrInfo",
"::",
"canInsertSelect",
"(",
"const",
"MachineBasicBlock",
"&",
"MBB",
",",
"ArrayRef",
"<",
"MachineOperand",
">",
"Pred",
",",
"Register",
"DstReg",
",",
"Register",
"TrueReg",
",",
"Register",
"FalseReg",
",",
"int",
"&",
... | [
"Return",
"true",
"if",
"it",
"is",
"possible",
"to",
"insert",
"a",
"select",
"instruction",
"that",
"chooses",
"between",
"TrueReg",
"and",
"FalseReg",
"based",
"on",
"the",
"condition",
"code",
"in",
"Cond",
"."
] | [
"SystemZ",
"SystemZ",
"2",
"SystemZ::GRX32BitRegClass",
"SystemZ::GR32BitRegClass",
"SystemZ::GR64BitRegClass",
"2",
"2",
"2"
] | SystemZInstrInfo16 | canInsertSelect | SystemZ | CPU | LLVM | 13,576 | 169 | 1 | [] |
[
"<s>",
"static",
"pad_direction",
"mips_function_arg_padding",
"(",
"machine_mode",
"mode",
",",
"const_tree",
"type",
")",
"{",
"if",
"(",
"!",
"BYTES_BIG_ENDIAN",
")",
"return",
"PAD_UPWARD",
";",
"if",
"(",
"type",
"!=",
"0",
"?",
"(",
"INTEGRAL_TYPE_P",
"(... | [
"Implement",
"TARGET_FUNCTION_ARG_PADDING",
";",
"return",
"PAD_UPWARD",
"if",
"the",
"first",
"byte",
"of",
"the",
"stack",
"slot",
"has",
"useful",
"data",
",",
"PAD_DOWNWARD",
"if",
"the",
"last",
"byte",
"does",
"."
] | [
"mips",
"0",
"0"
] | mips | mips_function_arg_padding | mips | CPU | GCC | 13,577 | 124 | 1 | [] |
[
"<s>",
"SDValue",
"HSAILTargetLowering",
"::",
"LowerFormalArguments",
"(",
"SDValue",
"Chain",
",",
"CallingConv",
"::",
"ID",
"CallConv",
",",
"bool",
"isVarArg",
",",
"const",
"SmallVectorImpl",
"<",
"ISD",
"::",
"InputArg",
">",
"&",
"Ins",
",",
"SDLoc",
"... | [
"This",
"hook",
"must",
"be",
"implemented",
"to",
"lower",
"the",
"incoming",
"(",
"formal",
")",
"arguments",
",",
"described",
"by",
"the",
"Ins",
"array",
",",
"into",
"the",
"specified",
"DAG",
"."
] | [
"HSAIL",
"HSAIL",
"ISD::InputArg",
"HSAIL",
"HSAIL",
"HSAIL",
"HSAIL::isKernelFunc",
"HSAILAS::KERNARG_ADDRESS",
"HSAILAS::ARG_ADDRESS",
"0",
"HSAIL",
"\":\"",
"\" \"",
"\"argmap:\""
] | HSAILISelLowering | LowerFormalArguments | HSAIL | Virtual ISA | LLVM | 13,578 | 305 | 1 | [] |
[
"<s>",
"static",
"void",
"riscv_extend_comparands",
"(",
"rtx_code",
"code",
",",
"rtx",
"*",
"op0",
",",
"rtx",
"*",
"op1",
")",
"{",
"if",
"(",
"GET_MODE_SIZE",
"(",
"word_mode",
")",
">",
"GET_MODE_SIZE",
"(",
"GET_MODE",
"(",
"*",
"op0",
")",
")",
... | [
"Sign-",
"or",
"zero-extend",
"OP0",
"and",
"OP1",
"for",
"integer",
"comparisons",
"."
] | [
"riscv"
] | riscv2 | riscv_extend_comparands | riscv | CPU | GCC | 13,579 | 132 | 1 | [] |
[
"<s>",
"static",
"bool",
"aarch64_mode_valid_for_sched_fusion_p",
"(",
"machine_mode",
"mode",
")",
"{",
"return",
"mode",
"==",
"SImode",
"||",
"mode",
"==",
"DImode",
"||",
"mode",
"==",
"SFmode",
"||",
"mode",
"==",
"DFmode",
"||",
"(",
"aarch64_vector_mode_s... | [
"Return",
"true",
"if",
"MODE",
"is",
"one",
"of",
"the",
"modes",
"for",
"which",
"we",
"support",
"LDP/STP",
"operations",
"."
] | [
"aarch64",
"8"
] | aarch643 | aarch64_mode_valid_for_sched_fusion_p | aarch64 | CPU | GCC | 13,580 | 40 | 1 | [] |
[
"<s>",
"bool",
"X86CallLowering",
"::",
"lowerFormalArguments",
"(",
"MachineIRBuilder",
"&",
"MIRBuilder",
",",
"const",
"Function",
"&",
"F",
",",
"ArrayRef",
"<",
"ArrayRef",
"<",
"Register",
">>",
"VRegs",
",",
"FunctionLoweringInfo",
"&",
"FLI",
")",
"const... | [
"This",
"hook",
"must",
"be",
"implemented",
"to",
"lower",
"the",
"incoming",
"(",
"formal",
")",
"arguments",
",",
"described",
"by",
"VRegs",
",",
"for",
"GlobalISel",
"."
] | [
"X86",
"X86",
"8",
"0",
"1",
"X86",
"X86"
] | X86CallLowering11 | lowerFormalArguments | X86 | CPU | LLVM | 13,581 | 312 | 1 | [] |
[
"<s>",
"static",
"void",
"epiphany_function_arg_advance",
"(",
"cumulative_args_t",
"cum_v",
",",
"machine_mode",
"mode",
",",
"const_tree",
"type",
",",
"bool",
"named",
"ATTRIBUTE_UNUSED",
")",
"{",
"CUMULATIVE_ARGS",
"*",
"cum",
"=",
"get_cumulative_args",
"(",
"... | [
"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",
".",... | [
"epiphany"
] | epiphany2 | epiphany_function_arg_advance | epiphany | MPU | GCC | 13,582 | 48 | 1 | [] |
[
"<s>",
"static",
"std",
"::",
"unique_ptr",
"<",
"X86Operand",
">",
"CreateMem",
"(",
"unsigned",
"ModeSize",
",",
"unsigned",
"SegReg",
",",
"const",
"MCExpr",
"*",
"Disp",
",",
"unsigned",
"BaseReg",
",",
"unsigned",
"IndexReg",
",",
"unsigned",
"Scale",
"... | [
"Create",
"a",
"generalized",
"memory",
"operand",
"."
] | [
"X86",
"X86",
"0",
"\"Invalid memory operand!\"",
"1",
"2",
"4",
"8",
"\"Invalid scale!\"",
"X86"
] | X86Operand (2) | CreateMem | X86 | CPU | LLVM | 13,583 | 187 | 1 | [] |
[
"<s>",
"bool",
"rs6000_fndecl_pcrel_p",
"(",
"const_tree",
"fndecl",
")",
"{",
"if",
"(",
"DEFAULT_ABI",
"!=",
"ABI_ELFv2",
")",
"return",
"false",
";",
"struct",
"cl_target_option",
"*",
"opts",
"=",
"target_opts_for_fn",
"(",
"fndecl",
")",
";",
"return",
"(... | [
"Return",
"whether",
"we",
"should",
"generate",
"PC-relative",
"code",
"for",
"FNDECL",
"."
] | [
"rs6000",
"0"
] | rs6000 | rs6000_fndecl_pcrel_p | rs6000 | CPU | GCC | 13,584 | 44 | 1 | [] |
[
"<s>",
"ScheduleHazardRecognizer",
"::",
"HazardType",
"HexagonHazardRecognizer",
"::",
"getHazardType",
"(",
"SUnit",
"*",
"SU",
",",
"int",
"stalls",
")",
"{",
"MachineInstr",
"*",
"MI",
"=",
"SU",
"->",
"getInstr",
"(",
")",
";",
"if",
"(",
"!",
"MI",
"... | [
"getHazardType",
"-",
"Return",
"the",
"hazard",
"type",
"of",
"emitting",
"this",
"node",
"."
] | [
"Hexagon",
"Hexagon",
"\"*** Hazard in cycle \"",
"\", \"",
"\"*** Try .new version? \"",
"\"\\n\"",
"\"*** .cur Hazard in cycle \"",
"\", \""
] | HexagonHazardRecognizer1 | getHazardType | Hexagon | DSP | LLVM | 13,585 | 209 | 1 | [] |
[
"<s>",
"MVT",
"RISCVTargetLowering",
"::",
"getPointerTy",
"(",
"const",
"DataLayout",
"&",
"DL",
",",
"uint32_t",
"AS",
")",
"const",
"{",
"if",
"(",
"AS",
"==",
"UINT32_MAX",
")",
"{",
"AS",
"=",
"0",
";",
"}",
"return",
"MVT",
"::",
"getIntegerVT",
... | [
"Return",
"the",
"pointer",
"type",
"for",
"the",
"given",
"address",
"space",
",",
"defaults",
"to",
"the",
"pointer",
"type",
"from",
"the",
"data",
"layout",
"."
] | [
"RI5CY",
"RISCV",
"0",
"MVT::getIntegerVT"
] | RISCVISelLowering | getPointerTy | RI5CY | CPU | LLVM | 13,586 | 41 | 1 | [] |
[
"<s>",
"bool",
"arc_legitimate_constant_p",
"(",
"machine_mode",
"mode",
",",
"rtx",
"x",
")",
"{",
"switch",
"(",
"GET_CODE",
"(",
"x",
")",
")",
"{",
"case",
"CONST",
":",
"if",
"(",
"flag_pic",
")",
"{",
"if",
"(",
"arc_legitimate_pic_addr_p",
"(",
"x... | [
"Determine",
"if",
"a",
"given",
"RTX",
"is",
"a",
"valid",
"constant",
".",
"We",
"already",
"know",
"this",
"satisfies",
"CONSTANT_P",
"."
] | [
"arc",
"0",
"0",
"0",
"1",
"1",
"\"unrecognized supposed constant\""
] | arc | arc_legitimate_constant_p | arc | MPU | GCC | 13,587 | 218 | 1 | [] |
[
"<s>",
"void",
"RISCVTargetLowering",
"::",
"ReplaceNodeResults",
"(",
"SDNode",
"*",
"N",
",",
"SmallVectorImpl",
"<",
"SDValue",
">",
"&",
"Results",
",",
"SelectionDAG",
"&",
"DAG",
")",
"const",
"{",
"SDLoc",
"DL",
"(",
"N",
")",
";",
"switch",
"(",
... | [
"ReplaceNodeResults",
"-",
"Replace",
"the",
"results",
"of",
"node",
"with",
"an",
"illegal",
"result",
"type",
"with",
"new",
"values",
"built",
"out",
"of",
"custom",
"code",
"."
] | [
"RISCV",
"RISCV",
"\"Don't know how to custom type legalize this operation!\"",
"ISD::SHL",
"ISD::SRA",
"ISD::SRL",
"0",
"MVT::i32",
"\"Unexpected custom legalisation\"",
"1",
"ISD::Constant",
"ISD::SDIV",
"ISD::UDIV",
"ISD::UREM",
"0",
"MVT::i32",
"\"Unexpected custom legalisation\"... | RISCVISelLowering36 | ReplaceNodeResults | RISCV | CPU | LLVM | 13,588 | 316 | 1 | [] |
[
"<s>",
"bool",
"shouldInsertFencesForAtomic",
"(",
"const",
"Instruction",
"*",
"I",
")",
"const",
"override",
"{",
"return",
"true",
";",
"}",
"</s>"
] | [
"Helper",
"functions",
"for",
"atomic",
"operations",
"."
] | [
"Mips"
] | MipsISelLowering100 | shouldInsertFencesForAtomic | Mips | CPU | LLVM | 13,589 | 15 | 1 | [] |
[
"<s>",
"bool",
"cris_return_address_on_stack",
"(",
"void",
")",
"{",
"return",
"df_regs_ever_live_p",
"(",
"CRIS_SRP_REGNUM",
")",
"||",
"cfun",
"->",
"machine",
"->",
"needs_return_address_on_stack",
";",
"}",
"</s>"
] | [
"Accessor",
"used",
"in",
"cris.md",
":",
"return",
"because",
"cfun-",
">",
"machine",
"is",
"n't",
"available",
"there",
"."
] | [
"cris"
] | cris | cris_return_address_on_stack | cris | MPU | GCC | 13,590 | 19 | 1 | [] |
[
"<s>",
"bool",
"X86TTIImpl",
"::",
"isLSRCostLess",
"(",
"const",
"TargetTransformInfo",
"::",
"LSRCost",
"&",
"C1",
",",
"const",
"TargetTransformInfo",
"::",
"LSRCost",
"&",
"C2",
")",
"{",
"return",
"std",
"::",
"tie",
"(",
"C1",
".",
"Insns",
",",
"C1"... | [
"Return",
"true",
"if",
"LSR",
"cost",
"of",
"C1",
"is",
"lower",
"than",
"C2",
"."
] | [
"X86",
"X86"
] | X86TargetTransformInfo55 | isLSRCostLess | X86 | CPU | LLVM | 13,591 | 96 | 1 | [] |
[
"<s>",
"bool",
"PPCQPXLoadSplat",
"::",
"runOnMachineFunction",
"(",
"MachineFunction",
"&",
"MF",
")",
"{",
"if",
"(",
"skipFunction",
"(",
"MF",
".",
"getFunction",
"(",
")",
")",
")",
"return",
"false",
";",
"bool",
"MadeChange",
"=",
"false",
";",
"con... | [
"runOnMachineFunction",
"-",
"Emit",
"the",
"function",
"body",
"."
] | [
"PowerPC",
"PPC",
"4",
"0",
"1",
"PPC::LFS",
"PPC::LFD",
"PPC::LFSU",
"PPC::LFDU",
"PPC::LFSUX",
"PPC::LFDUX",
"PPC::LFSX",
"PPC::LFDX",
"PPC::LFIWAX",
"PPC::LFIWZX",
"0",
"0",
"0",
"PPC::QVESPLATI",
"PPC::QVESPLATIs",
"PPC::QVESPLATIb",
"2",
"0",
"1"
] | PPCQPXLoadSplat3 | runOnMachineFunction | PowerPC | CPU | LLVM | 13,592 | 505 | 1 | [] |
[
"<s>",
"void",
"getAnalysisUsage",
"(",
"AnalysisUsage",
"&",
"AU",
")",
"const",
"{",
"AU",
".",
"addRequired",
"<",
"MachineModuleInfo",
">",
"(",
")",
";",
"MachineFunctionPass",
"::",
"getAnalysisUsage",
"(",
"AU",
")",
";",
"}",
"</s>"
] | [
"getAnalysisUsage",
"-",
"Subclasses",
"that",
"override",
"getAnalysisUsage",
"must",
"call",
"this",
"."
] | [
"X86"
] | X86CodeEmitter11 | getAnalysisUsage | X86 | CPU | LLVM | 13,593 | 26 | 1 | [] |
[
"<s>",
"static",
"bool",
"visium_function_ok_for_sibcall",
"(",
"tree",
"decl",
"ATTRIBUTE_UNUSED",
",",
"tree",
"exp",
"ATTRIBUTE_UNUSED",
")",
"{",
"return",
"!",
"visium_interrupt_function_p",
"(",
")",
";",
"}",
"</s>"
] | [
"Return",
"true",
"if",
"it",
"is",
"ok",
"to",
"do",
"sibling",
"call",
"optimization",
"for",
"the",
"specified",
"call",
"expression",
"EXP",
".",
"DECL",
"will",
"be",
"the",
"called",
"function",
",",
"or",
"NULL",
"if",
"this",
"is",
"an",
"indirec... | [
"visium"
] | visium | visium_function_ok_for_sibcall | visium | Virtual ISA | GCC | 13,594 | 20 | 1 | [] |
[
"<s>",
"void",
"AArch64O0PreLegalizerCombiner",
"::",
"getAnalysisUsage",
"(",
"AnalysisUsage",
"&",
"AU",
")",
"const",
"{",
"AU",
".",
"addRequired",
"<",
"TargetPassConfig",
">",
"(",
")",
";",
"AU",
".",
"setPreservesCFG",
"(",
")",
";",
"getSelectionDAGFall... | [
"getAnalysisUsage",
"-",
"Subclasses",
"that",
"override",
"getAnalysisUsage",
"must",
"call",
"this",
"."
] | [
"AArch64",
"AArch64"
] | AArch64O0PreLegalizerCombiner | getAnalysisUsage | AArch64 | CPU | LLVM | 13,595 | 57 | 1 | [] |
[
"<s>",
"bool",
"X86TargetLowering",
"::",
"isZExtFree",
"(",
"MVT",
"VT1",
",",
"MVT",
"VT2",
")",
"const",
"{",
"return",
"VT1",
"==",
"MVT",
"::",
"i32",
"&&",
"VT2",
"==",
"MVT",
"::",
"i64",
"&&",
"Subtarget",
"->",
"is64Bit",
"(",
")",
";",
"}",... | [
"Return",
"true",
"if",
"zero-extending",
"the",
"specific",
"node",
"Val",
"to",
"type",
"VT2",
"is",
"free",
"(",
"either",
"because",
"it",
"'s",
"implicitly",
"zero-extended",
"such",
"as",
"ARM",
"ldrb",
"/",
"ldrh",
"or",
"because",
"it",
"'s",
"fold... | [
"X86",
"X86",
"MVT::i32",
"MVT::i64"
] | X86ISelLowering77 | isZExtFree | X86 | CPU | LLVM | 13,596 | 33 | 1 | [] |
[
"<s>",
"unsigned",
"int",
"ix86_regmode_natural_size",
"(",
"machine_mode",
"mode",
")",
"{",
"if",
"(",
"mode",
"==",
"P2HImode",
"||",
"mode",
"==",
"P2QImode",
")",
"return",
"GET_MODE_SIZE",
"(",
"mode",
")",
"/",
"2",
";",
"return",
"UNITS_PER_WORD",
";... | [
"Implement",
"REGMODE_NATURAL_SIZE",
"(",
"MODE",
")",
"."
] | [
"i386",
"2"
] | i386 | ix86_regmode_natural_size | i386 | CPU | GCC | 13,597 | 30 | 1 | [] |
[
"<s>",
"void",
"Cpu0FrameLowering",
"::",
"emitEpilogue",
"(",
"MachineFunction",
"&",
"MF",
",",
"MachineBasicBlock",
"&",
"MBB",
")",
"const",
"{",
"MachineBasicBlock",
"::",
"iterator",
"MBBI",
"=",
"MBB",
".",
"getLastNonDebugInstr",
"(",
")",
";",
"MachineF... | [
"Insert",
"epilog",
"code",
"into",
"the",
"function",
"."
] | [
"Cpu0",
"Cpu0",
"Cpu0",
"Cpu0",
"Cpu0::SP",
"Cpu0::ADDiu",
"16",
"\"No expandLargeImm(SP, StackSize, false, TII, MBB, MBBI, dl);\""
] | Cpu0FrameLowering2 | emitEpilogue | Cpu0 | CPU | LLVM | 13,598 | 144 | 1 | [] |
[
"<s>",
"int",
"mcore_num_ones",
"(",
"HOST_WIDE_INT",
"mask",
")",
"{",
"mask",
"=",
"(",
"mask",
">>",
"1",
"&",
"0x55555555",
")",
"+",
"(",
"mask",
"&",
"0x55555555",
")",
";",
"mask",
"=",
"(",
"(",
"mask",
">>",
"2",
")",
"&",
"0x33333333",
")... | [
"Count",
"the",
"number",
"of",
"ones",
"in",
"mask",
"."
] | [
"mcore",
"1",
"0x55555555",
"0x55555555",
"2",
"0x33333333",
"0x33333333",
"4",
"0x0f0f0f0f",
"8",
"16",
"0xff"
] | mcore | mcore_num_ones | mcore | MPU | GCC | 13,599 | 81 | 1 | [] |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.