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>",
"void",
"RISCVFrameLowering",
"::",
"determineFrameLayout",
"(",
"MachineFunction",
"&",
"MF",
")",
"const",
"{",
"MachineFrameInfo",
"&",
"MFI",
"=",
"MF",
".",
"getFrameInfo",
"(",
")",
";",
"auto",
"*",
"RVFI",
"=",
"MF",
".",
"getInfo",
"<",
"RI... | [
"Determine",
"the",
"frame",
"layout",
"but",
"do",
"not",
"update",
"the",
"machine",
"function",
"."
] | [
"RISCV",
"RISCV",
"RISCV"
] | RISCVFrameLowering (2) | determineFrameLayout | RISCV | CPU | LLVM | 10,700 | 143 | 1 | [] |
[
"<s>",
"unsigned",
"getNumFixupKinds",
"(",
")",
"const",
"{",
"return",
"Videocore",
"::",
"NumTargetFixupKinds",
";",
"}",
"</s>"
] | [
"Get",
"the",
"number",
"of",
"target",
"specific",
"fixup",
"kinds",
"."
] | [
"Videocore",
"Videocore::NumTargetFixupKinds"
] | VideocoreAsmBackend | getNumFixupKinds | Videocore | DSP | LLVM | 10,701 | 12 | 1 | [] |
[
"<s>",
"bool",
"Mips16InstrInfo",
"::",
"isCopyInstr",
"(",
"const",
"MachineInstr",
"&",
"MI",
",",
"MachineOperand",
"&",
"Src",
",",
"MachineOperand",
"&",
"Dest",
")",
"const",
"{",
"if",
"(",
"MI",
".",
"isMoveReg",
"(",
")",
")",
"{",
"Dest",
"=",
... | [
"If",
"the",
"specific",
"machine",
"instruction",
"is",
"a",
"instruction",
"that",
"moves/copies",
"value",
"from",
"one",
"register",
"to",
"another",
"register",
"return",
"destination",
"and",
"source",
"registers",
"as",
"machine",
"operands",
"."
] | [
"Mips",
"Mips",
"0",
"1"
] | Mips16InstrInfo15 | isCopyInstr | Mips | CPU | LLVM | 10,702 | 55 | 1 | [] |
[
"<s>",
"Value",
"*",
"simplify",
"(",
"Instruction",
"*",
"I",
",",
"const",
"TargetLibraryInfo",
"*",
"TLI",
")",
"{",
"return",
"SimplifyInstruction",
"(",
"I",
",",
"{",
"*",
"TD",
",",
"TLI",
",",
"DT",
"}",
")",
";",
"}",
"</s>"
] | [
"Go",
"through",
"all",
"the",
"nodes",
"in",
"the",
"graph",
"and",
"collapse",
"any",
"two",
"nodes",
"'",
"a",
"'",
"and",
"'",
"b",
"'",
"if",
"all",
"of",
"the",
"following",
"are",
"true",
":"
] | [
"AMDGPU"
] | AMDGPUPrintfRuntimeBinding10 | simplify | AMDGPU | GPU | LLVM | 10,703 | 30 | 1 | [] |
[
"<s>",
"static",
"bool",
"rs6000_legitimate_constant_p",
"(",
"machine_mode",
"mode",
",",
"rtx",
"x",
")",
"{",
"if",
"(",
"TARGET_ELF",
"&&",
"tls_referenced_p",
"(",
"x",
")",
")",
"return",
"false",
";",
"return",
"(",
"(",
"GET_CODE",
"(",
"x",
")",
... | [
"Implement",
"TARGET_LEGITIMATE_CONSTANT_P",
".",
"On",
"the",
"RS/6000",
",",
"all",
"integer",
"constants",
"are",
"acceptable",
",",
"most",
"wo",
"n't",
"be",
"valid",
"for",
"particular",
"insns",
",",
"though",
".",
"Only",
"easy",
"FP",
"constants",
"ar... | [
"powerpcspe"
] | powerpcspe | rs6000_legitimate_constant_p | powerpcspe | CPU | GCC | 10,704 | 72 | 1 | [] |
[
"<s>",
"static",
"unsigned",
"int",
"aarch64_get_next_set_bit",
"(",
"sbitmap",
"bmp",
",",
"unsigned",
"int",
"start",
")",
"{",
"unsigned",
"int",
"nbits",
"=",
"SBITMAP_SIZE",
"(",
"bmp",
")",
";",
"if",
"(",
"start",
"==",
"nbits",
")",
"return",
"star... | [
"Return",
"the",
"next",
"set",
"bit",
"in",
"BMP",
"from",
"START",
"onwards",
".",
"Return",
"the",
"total",
"number",
"of",
"bits",
"in",
"BMP",
"if",
"no",
"set",
"bit",
"is",
"found",
"at",
"or",
"after",
"START",
"."
] | [
"aarch64"
] | aarch64 | aarch64_get_next_set_bit | aarch64 | CPU | GCC | 10,705 | 69 | 1 | [] |
[
"<s>",
"rtx",
"rs6000_function_value",
"(",
"tree",
"valtype",
",",
"tree",
"func",
"ATTRIBUTE_UNUSED",
")",
"{",
"enum",
"machine_mode",
"mode",
";",
"unsigned",
"int",
"regno",
";",
"if",
"(",
"rs6000_darwin64_abi",
"&&",
"TYPE_MODE",
"(",
"valtype",
")",
"=... | [
"Define",
"how",
"to",
"find",
"the",
"value",
"returned",
"by",
"a",
"function",
".",
"VALTYPE",
"is",
"the",
"data",
"type",
"of",
"the",
"value",
"(",
"as",
"a",
"tree",
")",
".",
"If",
"the",
"precise",
"function",
"being",
"called",
"is",
"known",... | [
"rs6000",
"0",
"0",
"1",
"2",
"1",
"4",
"4",
"1",
"4",
"2",
"8",
"3",
"12"
] | rs60003 | rs6000_function_value | rs6000 | CPU | GCC | 10,706 | 383 | 1 | [] |
[
"<s>",
"static",
"rtvec",
"rs6000_const_vec",
"(",
"machine_mode",
"mode",
")",
"{",
"int",
"i",
",",
"subparts",
";",
"rtvec",
"v",
";",
"switch",
"(",
"mode",
")",
"{",
"case",
"V1TImode",
":",
"subparts",
"=",
"1",
";",
"break",
";",
"case",
"V2DFmo... | [
"Generate",
"a",
"vector",
"of",
"constants",
"to",
"permute",
"MODE",
"for",
"a",
"little-endian",
"storage",
"operation",
"by",
"swapping",
"the",
"two",
"halves",
"of",
"a",
"vector",
"."
] | [
"rs6000",
"1",
"2",
"4",
"8",
"16",
"0",
"2",
"2",
"2",
"2"
] | rs60004 | rs6000_const_vec | rs6000 | CPU | GCC | 10,707 | 156 | 1 | [] |
[
"<s>",
"rtx_insn",
"*",
"s390_load_got",
"(",
"void",
")",
"{",
"rtx_insn",
"*",
"insns",
";",
"rtx",
"got_rtx",
"=",
"gen_rtx_REG",
"(",
"Pmode",
",",
"12",
")",
";",
"if",
"(",
"!",
"got_symbol",
")",
"{",
"got_symbol",
"=",
"gen_rtx_SYMBOL_REF",
"(",
... | [
"Return",
"insn",
"sequence",
"to",
"load",
"the",
"GOT",
"register",
"."
] | [
"s390",
"12",
"\"_GLOBAL_OFFSET_TABLE_\"",
"1",
"1",
"0"
] | s3904 | s390_load_got | s390 | MPU | GCC | 10,708 | 161 | 1 | [] |
[
"<s>",
"inline",
"static",
"void",
"drop_front",
"(",
"StringRef",
"&",
"str",
",",
"size_t",
"n",
"=",
"1",
")",
"{",
"str",
"=",
"str",
".",
"drop_front",
"(",
"n",
")",
";",
"}",
"</s>"
] | [
"Return",
"a",
"StringRef",
"equal",
"to",
"'this",
"'",
"but",
"with",
"the",
"first",
"N",
"elements",
"dropped",
"."
] | [
"AMDGPU",
"1"
] | AMDGPULibFunc (2) | drop_front | AMDGPU | GPU | LLVM | 10,709 | 25 | 1 | [] |
[
"<s>",
"unsigned",
"ARMAsmParser",
"::",
"validateTargetOperandClass",
"(",
"MCParsedAsmOperand",
"&",
"AsmOp",
",",
"unsigned",
"Kind",
")",
"{",
"ARMOperand",
"&",
"Op",
"=",
"static_cast",
"<",
"ARMOperand",
"&",
">",
"(",
"AsmOp",
")",
";",
"switch",
"(",
... | [
"Allow",
"a",
"target",
"to",
"add",
"special",
"case",
"operand",
"matching",
"for",
"things",
"that",
"tblgen",
"doesn't/ca",
"n't",
"handle",
"effectively",
"."
] | [
"ARM",
"ARM",
"ARM",
"ARM",
"0",
"8",
"16",
"\"expression value must be representable in 32 bits\"",
"ARM::SP",
"ARM::GPRRegClassID"
] | ARMAsmParser117 | validateTargetOperandClass | ARM | CPU | LLVM | 10,710 | 315 | 1 | [] |
[
"<s>",
"void",
"MipsTargetELFStreamer",
"::",
"finish",
"(",
")",
"{",
"MCAssembler",
"&",
"MCA",
"=",
"getStreamer",
"(",
")",
".",
"getAssembler",
"(",
")",
";",
"MCContext",
"&",
"Context",
"=",
"MCA",
".",
"getContext",
"(",
")",
";",
"MCStreamer",
"... | [
"finish",
"-",
"after",
"all",
"the",
"new",
"live",
"ranges",
"have",
"been",
"created",
",",
"compute",
"the",
"remaining",
"live",
"range",
",",
"and",
"rewrite",
"instructions",
"to",
"use",
"the",
"new",
"registers",
"."
] | [
"Mips",
"Mips",
"16u",
"16u",
"16u",
"Mips::FeatureN64",
"\".MIPS.options\"",
"1",
"\"\"",
"8",
"1",
"1",
"40",
"1",
"0",
"2",
"0",
"4",
"0",
"4",
"0",
"4",
"0",
"4",
"0",
"4",
"0",
"4",
"0",
"4",
"0",
"8",
"\".reginfo\"",
"24",
"\"\"",
"Mips::Fe... | MipsTargetStreamer11 | finish | Mips | CPU | LLVM | 10,711 | 461 | 1 | [] |
[
"<s>",
"SDValue",
"AlphaTargetLowering",
"::",
"LowerCallResult",
"(",
"SDValue",
"Chain",
",",
"SDValue",
"InFlag",
",",
"CallingConv",
"::",
"ID",
"CallConv",
",",
"bool",
"isVarArg",
",",
"const",
"SmallVectorImpl",
"<",
"ISD",
"::",
"InputArg",
">",
"&",
"... | [
"LowerCallResult",
"-",
"Lower",
"the",
"result",
"values",
"of",
"an",
"ISD",
":",
":CALL",
"into",
"the",
"appropriate",
"copies",
"out",
"of",
"appropriate",
"physical",
"registers",
"."
] | [
"Alpha",
"Alpha",
"ISD::InputArg",
"16",
"Alpha",
"0",
"1",
"0",
"2",
"ISD::AssertSext",
"ISD::AssertZext",
"ISD::TRUNCATE"
] | AlphaISelLowering3 | LowerCallResult | Alpha | MPU | LLVM | 10,712 | 294 | 1 | [] |
[
"<s>",
"void",
"ix86_emit_swsqrtsf",
"(",
"rtx",
"res",
",",
"rtx",
"a",
",",
"machine_mode",
"mode",
",",
"bool",
"recip",
")",
"{",
"rtx",
"x0",
",",
"e0",
",",
"e1",
",",
"e2",
",",
"e3",
",",
"mthree",
",",
"mhalf",
";",
"REAL_VALUE_TYPE",
"r",
... | [
"Output",
"code",
"to",
"perform",
"a",
"Newton-Rhapson",
"approximation",
"of",
"a",
"single",
"precision",
"floating",
"point",
"[",
"reciprocal",
"]",
"square",
"root",
"."
] | [
"i386",
"3",
"64",
"1",
"64",
"0x4"
] | i3865 | ix86_emit_swsqrtsf | i386 | CPU | GCC | 10,713 | 442 | 1 | [] |
[
"<s>",
"virtual",
"MVT",
"getShiftAmountTy",
"(",
"EVT",
"LHSTy",
")",
"const",
"{",
"return",
"MVT",
"::",
"i32",
";",
"}",
"</s>"
] | [
"Returns",
"the",
"type",
"for",
"the",
"shift",
"amount",
"of",
"a",
"shift",
"opcode",
"."
] | [
"Cpu0",
"MVT::i32"
] | Cpu0ISelLowering1 | getShiftAmountTy | Cpu0 | CPU | LLVM | 10,714 | 15 | 1 | [] |
[
"<s>",
"bool",
"HCE",
"::",
"runOnMachineFunction",
"(",
"MachineFunction",
"&",
"MF",
")",
"{",
"if",
"(",
"skipFunction",
"(",
"MF",
".",
"getFunction",
"(",
")",
")",
")",
"return",
"false",
";",
"DEBUG",
"(",
"MF",
".",
"print",
"(",
"dbgs",
"(",
... | [
"runOnMachineFunction",
"-",
"Emit",
"the",
"function",
"body",
"."
] | [
"Hexagon",
"\"Before \"",
"Hexagon",
"Hexagon",
"\"Collected \"",
"\" extenders\\n\"",
"0",
"\"After \"",
"\"No changes\\n\""
] | HexagonConstExtenders15 | runOnMachineFunction | Hexagon | DSP | LLVM | 10,715 | 297 | 1 | [] |
[
"<s>",
"bool",
"MipsCallLowering",
"::",
"lowerReturn",
"(",
"MachineIRBuilder",
"&",
"MIRBuilder",
",",
"const",
"Value",
"*",
"Val",
",",
"ArrayRef",
"<",
"Register",
">",
"VRegs",
",",
"FunctionLoweringInfo",
"&",
"FLI",
")",
"const",
"{",
"MachineInstrBuilde... | [
"This",
"hook",
"behaves",
"as",
"the",
"extended",
"lowerReturn",
"function",
",",
"but",
"for",
"targets",
"that",
"do",
"not",
"support",
"swifterror",
"value",
"promotion",
"."
] | [
"Mips",
"Mips",
"Mips::RetRA",
"Mips",
"Mips",
"8",
"8",
"0",
"ISD::OutputArg",
"8",
"16",
"Mips",
"Mips"
] | MipsCallLowering16 | lowerReturn | Mips | CPU | LLVM | 10,716 | 284 | 1 | [] |
[
"<s>",
"const",
"InstrItineraryData",
"*",
"getInstrItineraryData",
"(",
")",
"const",
"override",
"{",
"return",
"InstrItins",
";",
"}",
"</s>"
] | [
"getInstrItineraryData",
"-",
"Returns",
"instruction",
"itinerary",
"data",
"for",
"the",
"target",
"or",
"specific",
"subtarget",
"."
] | [
"Hexagon"
] | HexagonTargetMachine17 | getInstrItineraryData | Hexagon | DSP | LLVM | 10,717 | 13 | 1 | [] |
[
"<s>",
"int",
"X86RegisterInfo",
"::",
"getDwarfRegNum",
"(",
"unsigned",
"RegNo",
",",
"bool",
"isEH",
")",
"const",
"{",
"const",
"X86Subtarget",
"*",
"Subtarget",
"=",
"&",
"TM",
".",
"getSubtarget",
"<",
"X86Subtarget",
">",
"(",
")",
";",
"unsigned",
... | [
"Map",
"a",
"target",
"register",
"to",
"an",
"equivalent",
"dwarf",
"register",
"number",
"."
] | [
"X86",
"X86",
"X86",
"X86",
"X86",
"X86",
"X86",
"X86",
"X86",
"X86"
] | X86RegisterInfo11 | getDwarfRegNum | X86 | CPU | LLVM | 10,718 | 110 | 1 | [] |
[
"<s>",
"int",
"arm_legitimate_address_p",
"(",
"enum",
"machine_mode",
"mode",
",",
"rtx",
"x",
",",
"RTX_CODE",
"outer",
",",
"int",
"strict_p",
")",
"{",
"bool",
"use_ldrd",
";",
"enum",
"rtx_code",
"code",
"=",
"GET_CODE",
"(",
"x",
")",
";",
"if",
"(... | [
"Return",
"nonzero",
"if",
"X",
"is",
"a",
"valid",
"ARM",
"state",
"address",
"operand",
"."
] | [
"arm",
"1",
"4",
"0",
"0",
"1",
"1",
"0",
"0",
"1",
"1",
"0",
"4",
"0",
"0",
"0",
"0",
"1",
"1",
"0",
"0",
"1",
"0",
"1",
"1",
"0"
] | arm3 | arm_legitimate_address_p | arm | CPU | GCC | 10,719 | 482 | 1 | [] |
[
"<s>",
"static",
"inline",
"tree",
"def_builtin_pure",
"(",
"HOST_WIDE_INT",
"mask",
",",
"const",
"char",
"*",
"name",
",",
"enum",
"ix86_builtin_func_type",
"tcode",
",",
"enum",
"ix86_builtins",
"code",
")",
"{",
"tree",
"decl",
"=",
"def_builtin",
"(",
"ma... | [
"Like",
"def_builtin",
",",
"but",
"also",
"marks",
"the",
"function",
"decl",
"``",
"pure",
"''",
"."
] | [
"i386",
"1"
] | i3867 | def_builtin_pure | i386 | CPU | GCC | 10,720 | 64 | 1 | [] |
[
"<s>",
"void",
"s390_expand_vec_compare",
"(",
"rtx",
"target",
",",
"enum",
"rtx_code",
"cond",
",",
"rtx",
"cmp_op1",
",",
"rtx",
"cmp_op2",
")",
"{",
"machine_mode",
"mode",
"=",
"GET_MODE",
"(",
"target",
")",
";",
"bool",
"neg_p",
"=",
"false",
",",
... | [
"Generate",
"a",
"vector",
"comparison",
"COND",
"of",
"CMP_OP1",
"and",
"CMP_OP2",
"and",
"store",
"the",
"result",
"in",
"TARGET",
"."
] | [
"s390",
"1",
"0"
] | s390 | s390_expand_vec_compare | s390 | MPU | GCC | 10,721 | 495 | 1 | [] |
[
"<s>",
"int",
"same_cmp_following_p",
"(",
"rtx_insn",
"*",
"i1",
")",
"{",
"rtx_insn",
"*",
"i2",
",",
"*",
"i3",
";",
"i2",
"=",
"next_nonnote_insn",
"(",
"i1",
")",
";",
"if",
"(",
"i2",
"==",
"NULL",
")",
"return",
"0",
";",
"i3",
"=",
"next_no... | [
"Return",
"nonzero",
"if",
"we",
"have",
"the",
"same",
"comparison",
"insn",
"as",
"I1",
"two",
"insns",
"after",
"I1",
".",
"I1",
"is",
"assumed",
"to",
"be",
"a",
"comparison",
"insn",
"."
] | [
"h8300",
"0",
"0"
] | h8300 | same_cmp_following_p | h8300 | MPU | GCC | 10,722 | 79 | 1 | [] |
[
"<s>",
"void",
"SICPassConfig",
"::",
"addPreEmitPass",
"(",
")",
"{",
"SICTargetMachine",
"&",
"TM",
"=",
"getSICTargetMachine",
"(",
")",
";",
"addPass",
"(",
"createSICDelJmpPass",
"(",
"TM",
")",
")",
";",
"return",
";",
"}",
"</s>"
] | [
"This",
"pass",
"may",
"be",
"implemented",
"by",
"targets",
"that",
"want",
"to",
"run",
"passes",
"immediately",
"before",
"machine",
"code",
"is",
"emitted",
"."
] | [
"SIC",
"SIC",
"SIC",
"SIC",
"SIC"
] | SICTargetMachine | addPreEmitPass | SIC | CPU | LLVM | 10,723 | 26 | 1 | [] |
[
"<s>",
"unsigned",
"ARMTargetLowering",
"::",
"getABIAlignmentForCallingConv",
"(",
"Type",
"*",
"ArgTy",
",",
"DataLayout",
"DL",
")",
"const",
"{",
"if",
"(",
"!",
"ArgTy",
"->",
"isVectorTy",
"(",
")",
")",
"return",
"DL",
".",
"getABITypeAlignment",
"(",
... | [
"Return",
"the",
"correct",
"alignment",
"for",
"the",
"current",
"calling",
"convention",
"."
] | [
"ARM",
"ARM"
] | ARMISelLowering (3) | getABIAlignmentForCallingConv | ARM | CPU | LLVM | 10,724 | 51 | 1 | [] |
[
"<s>",
"static",
"void",
"rx_elf_asm_cdtor",
"(",
"rtx",
"symbol",
",",
"int",
"priority",
",",
"bool",
"is_ctor",
")",
"{",
"section",
"*",
"s",
";",
"if",
"(",
"priority",
"!=",
"DEFAULT_INIT_PRIORITY",
")",
"{",
"char",
"buf",
"[",
"18",
"]",
";",
"... | [
"Place",
"an",
"element",
"into",
"a",
"constructor",
"or",
"destructor",
"section",
".",
"Like",
"default_ctor_section_asm_out_constructor",
"in",
"varasm.cc",
"except",
"that",
"it",
"uses",
".init_array",
"(",
"or",
".fini_array",
")",
"and",
"it",
"handles",
"... | [
"rx",
"18",
"\"%s.%.5u\"",
"\".init_array\"",
"\".fini_array\"",
"1"
] | rx | rx_elf_asm_cdtor | rx | CPU | GCC | 10,725 | 96 | 1 | [] |
[
"<s>",
"bool",
"AAPAsmParser",
"::",
"ParseDirective",
"(",
"AsmToken",
"DirectiveID",
")",
"{",
"return",
"true",
";",
"}",
"</s>"
] | [
"ParseDirective",
"-",
"Parse",
"a",
"target",
"specific",
"assembler",
"directive",
"This",
"method",
"is",
"deprecated",
",",
"use",
"'parseDirective",
"'",
"instead",
"."
] | [
"AAP",
"AAP"
] | AAPAsmParser | ParseDirective | AAP | MPU | LLVM | 10,726 | 13 | 1 | [] |
[
"<s>",
"static",
"void",
"ix86_emit_leave",
"(",
"rtx_insn",
"*",
"insn",
")",
"{",
"struct",
"machine_function",
"*",
"m",
"=",
"cfun",
"->",
"machine",
";",
"if",
"(",
"!",
"insn",
")",
"insn",
"=",
"emit_insn",
"(",
"gen_leave",
"(",
"word_mode",
")",... | [
"Emit",
"code",
"and",
"notes",
"for",
"the",
"LEAVE",
"instruction",
"."
] | [
"i386",
"1"
] | i386 | ix86_emit_leave | i386 | CPU | GCC | 10,727 | 158 | 1 | [] |
[
"<s>",
"int",
"pdp11_initial_elimination_offset",
"(",
"int",
"from",
",",
"int",
"to",
")",
"{",
"int",
"spoff",
";",
"if",
"(",
"from",
"==",
"ARG_POINTER_REGNUM",
"&&",
"to",
"==",
"HARD_FRAME_POINTER_REGNUM",
")",
"return",
"4",
";",
"else",
"if",
"(",
... | [
"Return",
"the",
"offset",
"between",
"two",
"registers",
",",
"one",
"to",
"be",
"eliminated",
",",
"and",
"the",
"other",
"its",
"replacement",
",",
"at",
"the",
"start",
"of",
"a",
"routine",
"."
] | [
"pdp11",
"4",
"0",
"2",
"2"
] | pdp114 | pdp11_initial_elimination_offset | pdp11 | MPU | GCC | 10,728 | 86 | 1 | [] |
[
"<s>",
"static",
"bool",
"ia64_print_operand_punct_valid_p",
"(",
"unsigned",
"char",
"code",
")",
"{",
"return",
"(",
"code",
"==",
"'+'",
"||",
"code",
"==",
"','",
")",
";",
"}",
"</s>"
] | [
"Worker",
"function",
"for",
"TARGET_PRINT_OPERAND_PUNCT_VALID_P",
"."
] | [
"ia64"
] | ia64 | ia64_print_operand_punct_valid_p | ia64 | CPU | GCC | 10,729 | 21 | 1 | [] |
[
"<s>",
"bool",
"enableMachineScheduler",
"(",
")",
"const",
"override",
"{",
"return",
"true",
";",
"}",
"</s>"
] | [
"Enable",
"the",
"MachineScheduler",
"pass",
"for",
"all",
"X86",
"subtargets",
"."
] | [
"CAHP"
] | CAHPSubtarget | enableMachineScheduler | CAHP | CPU | LLVM | 10,730 | 11 | 1 | [] |
[
"<s>",
"void",
"AArch64PassConfig",
"::",
"addIRPasses",
"(",
")",
"{",
"addPass",
"(",
"createAtomicExpandPass",
"(",
"TM",
")",
")",
";",
"if",
"(",
"TM",
"->",
"getOptLevel",
"(",
")",
"!=",
"CodeGenOpt",
"::",
"None",
"&&",
"EnableAtomicTidy",
")",
"ad... | [
"Add",
"common",
"target",
"configurable",
"passes",
"that",
"perform",
"LLVM",
"IR",
"to",
"IR",
"transforms",
"following",
"machine",
"independent",
"optimization",
"."
] | [
"AArch64",
"AArch64"
] | AArch64TargetMachine31 | addIRPasses | AArch64 | CPU | LLVM | 10,731 | 43 | 1 | [] |
[
"<s>",
"virtual",
"const",
"char",
"*",
"getPassName",
"(",
")",
"const",
"{",
"return",
"\"Cpu0 Assembly Printer\"",
";",
"}",
"</s>"
] | [
"getPassName",
"-",
"Return",
"a",
"nice",
"clean",
"name",
"for",
"a",
"pass",
"."
] | [
"Cpu0",
"\"Cpu0 Assembly Printer\""
] | Cpu0AsmPrinter1 | getPassName | Cpu0 | CPU | LLVM | 10,732 | 13 | 1 | [] |
[
"<s>",
"static",
"rtx",
"compute_frame_addr",
"(",
"int",
"offset_from_fp",
",",
"int",
"*",
"next_scratch_regno",
")",
"{",
"rtx",
"base_reg_rtx",
",",
"tmp_reg_rtx",
",",
"offset_rtx",
";",
"int",
"offset_from_base",
";",
"if",
"(",
"frame_pointer_needed",
")",
... | [
"Returns",
"an",
"rtx",
"for",
"a",
"stack",
"slot",
"at",
"'FP",
"+",
"offset_from_fp",
"'",
".",
"If",
"there",
"is",
"a",
"frame",
"pointer",
",",
"it",
"computes",
"the",
"value",
"relative",
"to",
"that",
".",
"Otherwise",
"it",
"uses",
"the",
"st... | [
"tilepro",
"0"
] | tilepro2 | compute_frame_addr | tilepro | VLIW | GCC | 10,733 | 122 | 1 | [] |
[
"<s>",
"bool",
"RISCVPassConfig",
"::",
"addInstSelector",
"(",
")",
"{",
"addPass",
"(",
"createRISCVISelDag",
"(",
"getRISCVTargetMachine",
"(",
")",
")",
")",
";",
"return",
"false",
";",
"}",
"</s>"
] | [
"addInstSelector",
"-",
"This",
"method",
"should",
"install",
"an",
"instruction",
"selector",
"pass",
",",
"which",
"converts",
"from",
"LLVM",
"code",
"to",
"machine",
"instructions",
"."
] | [
"RISCV",
"RISCV",
"RISCV",
"RISCV"
] | RISCVTargetMachine | addInstSelector | RISCV | CPU | LLVM | 10,734 | 21 | 1 | [] |
[
"<s>",
"DecodeStatus",
"HexagonDisassembler",
"::",
"getInstruction",
"(",
"MCInst",
"&",
"MI",
",",
"uint64_t",
"&",
"Size",
",",
"ArrayRef",
"<",
"uint8_t",
">",
"Bytes",
",",
"uint64_t",
"Address",
",",
"raw_ostream",
"&",
"os",
",",
"raw_ostream",
"&",
"... | [
"Returns",
"the",
"disassembly",
"of",
"a",
"single",
"instruction",
"."
] | [
"Hexagon",
"Hexagon",
"0",
"Hexagon",
"Hexagon"
] | HexagonDisassembler13 | getInstruction | Hexagon | DSP | LLVM | 10,735 | 198 | 1 | [] |
[
"<s>",
"const",
"FISCInstrInfo",
"*",
"getInstrInfo",
"(",
")",
"const",
"override",
"{",
"return",
"&",
"InstrInfo",
";",
"}",
"</s>"
] | [
"TargetInstrInfo",
"getter",
"."
] | [
"FISC",
"FISC"
] | FISCSubtarget | getInstrInfo | FISC | CPU | LLVM | 10,736 | 14 | 1 | [] |
[
"<s>",
"static",
"bool",
"riscv_valid_offset_p",
"(",
"rtx",
"x",
",",
"enum",
"machine_mode",
"mode",
")",
"{",
"if",
"(",
"!",
"const_arith_operand",
"(",
"x",
",",
"Pmode",
")",
")",
"return",
"false",
";",
"if",
"(",
"GET_MODE_SIZE",
"(",
"mode",
")"... | [
"Return",
"true",
"if",
",",
"for",
"every",
"base",
"register",
"BASE_REG",
",",
"(",
"plus",
"BASE_REG",
"X",
")",
"can",
"address",
"a",
"value",
"of",
"mode",
"MODE",
"."
] | [
"riscv"
] | riscv2 | riscv_valid_offset_p | riscv | CPU | GCC | 10,737 | 57 | 1 | [] |
[
"<s>",
"void",
"Clear",
"(",
")",
"{",
"Stack",
".",
"clear",
"(",
")",
";",
"LocalTypes",
".",
"clear",
"(",
")",
";",
"ReturnTypes",
".",
"clear",
"(",
")",
";",
"TypeErrorThisFunction",
"=",
"false",
";",
"Unreachable",
"=",
"false",
";",
"}",
"</... | [
"Clear",
"value",
"data",
"entries",
"and",
"edge",
"counters",
"."
] | [
"WebAssembly"
] | WebAssemblyAsmTypeCheck (2) | Clear | WebAssembly | Virtual ISA | LLVM | 10,738 | 32 | 1 | [] |
[
"<s>",
"const",
"VERegisterInfo",
"*",
"getRegisterInfo",
"(",
")",
"const",
"override",
"{",
"return",
"&",
"InstrInfo",
".",
"getRegisterInfo",
"(",
")",
";",
"}",
"</s>"
] | [
"getRegisterInfo",
"-",
"TargetInstrInfo",
"is",
"a",
"superset",
"of",
"MRegister",
"info",
"."
] | [
"VE",
"VE"
] | VESubtarget | getRegisterInfo | VE | CPU | LLVM | 10,739 | 18 | 1 | [] |
[
"<s>",
"bool",
"Mips16FrameLowering",
"::",
"hasReservedCallFrame",
"(",
"const",
"MachineFunction",
"&",
"MF",
")",
"const",
"{",
"const",
"MachineFrameInfo",
"&",
"MFI",
"=",
"MF",
".",
"getFrameInfo",
"(",
")",
";",
"return",
"isInt",
"<",
"15",
">",
"(",... | [
"hasReservedCallFrame",
"-",
"Under",
"normal",
"circumstances",
",",
"when",
"a",
"frame",
"pointer",
"is",
"not",
"required",
",",
"we",
"reserve",
"argument",
"space",
"for",
"call",
"sites",
"in",
"the",
"function",
"immediately",
"on",
"entry",
"to",
"the... | [
"Mips",
"Mips",
"15"
] | Mips16FrameLowering12 | hasReservedCallFrame | Mips | CPU | LLVM | 10,740 | 44 | 1 | [] |
[
"<s>",
"MSP430Subtarget",
"::",
"MSP430Subtarget",
"(",
"const",
"std",
"::",
"string",
"&",
"TT",
",",
"const",
"std",
"::",
"string",
"&",
"CPU",
",",
"const",
"std",
"::",
"string",
"&",
"FS",
",",
"const",
"TargetMachine",
"&",
"TM",
")",
":",
"MSP... | [
"This",
"constructor",
"initializes",
"the",
"data",
"members",
"to",
"match",
"that",
"of",
"the",
"specified",
"triple",
"."
] | [
"MSP430",
"MSP430",
"MSP430",
"MSP430"
] | MSP430Subtarget21 | MSP430Subtarget | MSP430 | MPU | LLVM | 10,741 | 73 | 1 | [] |
[
"<s>",
"static",
"bool",
"aarch64_could_trap_p",
"(",
"aarch64_simd_builtin_datum",
"*",
"d",
")",
"{",
"unsigned",
"int",
"flags",
"=",
"aarch64_call_properties",
"(",
"d",
")",
";",
"if",
"(",
"flags",
"&",
"FLAG_RAISE_FP_EXCEPTIONS",
")",
"return",
"true",
";... | [
"Return",
"true",
"if",
"calls",
"to",
"the",
"function",
"could",
"raise",
"a",
"signal",
"."
] | [
"aarch64"
] | aarch64-builtins1 | aarch64_could_trap_p | aarch64 | CPU | GCC | 10,742 | 44 | 1 | [] |
[
"<s>",
"void",
"mips_output_load_label",
"(",
"rtx",
"target",
")",
"{",
"mips_push_asm_switch",
"(",
"&",
"mips_noat",
")",
";",
"if",
"(",
"TARGET_EXPLICIT_RELOCS",
")",
"{",
"mips_process_load_label",
"(",
"target",
")",
";",
"mips_multi_write",
"(",
")",
";"... | [
"Return",
"an",
"asm",
"sequence",
"to",
"start",
"a",
"noat",
"block",
"and",
"load",
"the",
"address",
"of",
"a",
"label",
"into",
"$",
"1",
"."
] | [
"mips",
"\"dla\\t%@,%0\"",
"\"la\\t%@,%0\""
] | mips | mips_output_load_label | mips | CPU | GCC | 10,743 | 55 | 1 | [] |
[
"<s>",
"class",
"LLVM_LIBRARY_VISIBILITY",
"KudeyarMCInstLower",
"{",
"typedef",
"MachineOperand",
"::",
"MachineOperandType",
"MachineOperandType",
";",
"KudeyarAsmPrinter",
"&",
"Printer",
";",
"public",
":",
"KudeyarMCInstLower",
"(",
"KudeyarAsmPrinter",
"&",
"asmprinte... | [
"Return",
"the",
"MCSymbol",
"for",
"the",
"specified",
"ExternalSymbol",
"."
] | [
"Kudeyar",
"Kudeyar",
"Kudeyar",
"Kudeyar",
"Kudeyar",
"0"
] | KudeyarMCInstLower | GetExternalSymbolSymbol | Kudeyar | CPU | LLVM | 10,744 | 124 | 1 | [] |
[
"<s>",
"int64_t",
"ARMBaseRegisterInfo",
"::",
"getFrameIndexInstrOffset",
"(",
"const",
"MachineInstr",
"*",
"MI",
",",
"int",
"Idx",
")",
"const",
"{",
"const",
"MCInstrDesc",
"&",
"Desc",
"=",
"MI",
"->",
"getDesc",
"(",
")",
";",
"unsigned",
"AddrMode",
... | [
"Get",
"the",
"offset",
"from",
"the",
"referenced",
"frame",
"index",
"in",
"the",
"instruction",
",",
"if",
"there",
"is",
"one",
"."
] | [
"ARM",
"ARM",
"ARMII::AddrModeMask",
"0",
"1",
"0",
"ARMII::AddrModeT2_i8",
"ARMII::AddrModeT2_i12",
"ARMII::AddrMode_i12",
"1",
"1",
"ARMII::AddrMode5",
"1",
"ARM_AM::getAM5Offset",
"ARM_AM::getAM5Op",
"ARM_AM::sub",
"4",
"ARMII::AddrMode2",
"2",
"ARM_AM::getAM2Offset",
"ARM... | ARMBaseRegisterInfo55 | getFrameIndexInstrOffset | ARM | CPU | LLVM | 10,745 | 324 | 1 | [] |
[
"<s>",
"bool",
"mayNeedRelaxation",
"(",
"const",
"MCInst",
"&",
"Inst",
")",
"const",
"override",
"{",
"return",
"false",
";",
"}",
"</s>"
] | [
"Check",
"whether",
"the",
"given",
"instruction",
"may",
"need",
"relaxation",
"."
] | [
"LEG"
] | LEGAsmBackend | mayNeedRelaxation | LEG | CPU | LLVM | 10,746 | 15 | 1 | [] |
[
"<s>",
"static",
"int",
"translate_unix",
"(",
"char",
"*",
"name",
",",
"int",
"type",
"ATTRIBUTE_UNUSED",
")",
"{",
"strcpy",
"(",
"filename_buff",
",",
"name",
")",
";",
"return",
"0",
";",
"}",
"</s>"
] | [
"Action",
"routine",
"called",
"by",
"decc",
"$",
"to_vms",
".",
"NAME",
"is",
"a",
"file",
"name",
"or",
"directory",
"name",
".",
"TYPE",
"is",
"unused",
"."
] | [
"vms",
"0"
] | vms-ld | translate_unix | vms | Virtual ISA | GCC | 10,747 | 24 | 1 | [] |
[
"<s>",
"void",
"SystemZInstrInfo",
"::",
"copyPhysReg",
"(",
"MachineBasicBlock",
"&",
"MBB",
",",
"MachineBasicBlock",
"::",
"iterator",
"MBBI",
",",
"const",
"DebugLoc",
"&",
"DL",
",",
"unsigned",
"DestReg",
",",
"unsigned",
"SrcReg",
",",
"bool",
"KillSrc",
... | [
"}",
"Branch",
"Analysis",
"&",
"Modification"
] | [
"SystemZ",
"SystemZ",
"SystemZ::GR128BitRegClass",
"SystemZ::subreg_h64",
"SystemZ::subreg_h64",
"SystemZ::subreg_l64",
"SystemZ::subreg_l64",
"SystemZ::GRX32BitRegClass",
"SystemZ::LR",
"32",
"SystemZ::GR64BitRegClass",
"SystemZ::LGR",
"SystemZ::FP32BitRegClass",
"SystemZ::LDR32",
"Syst... | SystemZInstrInfo50 | copyPhysReg | SystemZ | CPU | LLVM | 10,748 | 471 | 1 | [] |
[
"<s>",
"bool",
"XCoreFrameLowering",
"::",
"spillCalleeSavedRegisters",
"(",
"MachineBasicBlock",
"&",
"MBB",
",",
"MachineBasicBlock",
"::",
"iterator",
"MI",
",",
"const",
"std",
"::",
"vector",
"<",
"CalleeSavedInfo",
">",
"&",
"CSI",
",",
"const",
"TargetRegis... | [
"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"... | [
"XCore",
"XCore",
"XCore",
"XCore",
"XCore",
"XCore::PROLOG_LABEL"
] | XCoreFrameLowering15 | spillCalleeSavedRegisters | XCore | MPU | LLVM | 10,749 | 265 | 1 | [] |
[
"<s>",
"bool",
"R600InstrInfo",
"::",
"isProfitableToUnpredicate",
"(",
"MachineBasicBlock",
"&",
"TMBB",
",",
"MachineBasicBlock",
"&",
"FMBB",
")",
"const",
"{",
"return",
"false",
";",
"}",
"</s>"
] | [
"Return",
"true",
"if",
"it",
"'s",
"profitable",
"to",
"unpredicate",
"one",
"side",
"of",
"a",
"'diamond",
"'",
",",
"i.e",
"."
] | [
"R600"
] | R600InstrInfo | isProfitableToUnpredicate | R600 | GPU | LLVM | 10,750 | 19 | 1 | [] |
[
"<s>",
"bool",
"X86InstrInfo",
"::",
"canMakeTailCallConditional",
"(",
"SmallVectorImpl",
"<",
"MachineOperand",
">",
"&",
"BranchCond",
",",
"const",
"MachineInstr",
"&",
"TailCall",
")",
"const",
"{",
"if",
"(",
"TailCall",
".",
"getOpcode",
"(",
")",
"!=",
... | [
"Returns",
"true",
"if",
"the",
"tail",
"call",
"can",
"be",
"made",
"conditional",
"on",
"BranchCond",
"."
] | [
"X86",
"X86",
"X86::TCRETURNdi",
"X86::TCRETURNdi64",
"1",
"0",
"X86::LAST_VALID_COND",
"X86",
"X86",
"X86",
"X86",
"0",
"1",
"0"
] | X86InstrInfo (2)3 | canMakeTailCallConditional | X86 | CPU | LLVM | 10,751 | 157 | 1 | [] |
[
"<s>",
"ScheduleHazardRecognizer",
"*",
"ARMBaseInstrInfo",
"::",
"CreateTargetPostRAHazardRecognizer",
"(",
"const",
"InstrItineraryData",
"*",
"II",
",",
"const",
"ScheduleDAG",
"*",
"DAG",
")",
"const",
"{",
"if",
"(",
"Subtarget",
".",
"isThumb2",
"(",
")",
"|... | [
"Allocate",
"and",
"return",
"a",
"hazard",
"recognizer",
"to",
"use",
"for",
"by",
"non-scheduling",
"passes",
"."
] | [
"ARM",
"ARM",
"ARM"
] | ARMBaseInstrInfo (2)4 | CreateTargetPostRAHazardRecognizer | ARM | CPU | LLVM | 10,752 | 65 | 1 | [] |
[
"<s>",
"MachineBasicBlock",
"*",
"RISCVTargetLowering",
"::",
"EmitInstrWithCustomInserter",
"(",
"MachineInstr",
"*",
"MI",
",",
"MachineBasicBlock",
"*",
"MBB",
")",
"const",
"{",
"switch",
"(",
"MI",
"->",
"getOpcode",
"(",
")",
")",
"{",
"case",
"RISCV",
"... | [
"This",
"method",
"should",
"be",
"implemented",
"by",
"targets",
"that",
"mark",
"instructions",
"with",
"the",
"'usesCustomInserter",
"'",
"flag",
"."
] | [
"RISCV",
"RISCV",
"RISCV::SELECT_CC",
"RISCV::SELECT_CC64",
"RISCV::FSELECT_CC_F",
"RISCV::FSELECT_CC_D",
"RISCV::CALL",
"RISCV::CALLREG",
"RISCV::CALL64",
"RISCV::CALLREG64",
"\"Unexpected instr type to insert\""
] | RISCVISelLowering (2)2 | EmitInstrWithCustomInserter | RISCV | CPU | LLVM | 10,753 | 90 | 1 | [] |
[
"<s>",
"static",
"int",
"epilogue_renumber",
"(",
"rtx",
"*",
"where",
",",
"int",
"test",
")",
"{",
"const",
"char",
"*",
"fmt",
";",
"int",
"i",
";",
"enum",
"rtx_code",
"code",
";",
"if",
"(",
"*",
"where",
"==",
"0",
")",
"return",
"0",
";",
... | [
"Return",
"1",
",",
"if",
"any",
"of",
"the",
"registers",
"of",
"the",
"instruction",
"are",
"%",
"l",
"[",
"0-7",
"]",
"or",
"%",
"o",
"[",
"0-7",
"]",
".",
"Such",
"instructions",
"can",
"not",
"be",
"used",
"in",
"the",
"delay",
"slot",
"of",
... | [
"sparc",
"0",
"0",
"8",
"24",
"1",
"24",
"32",
"0",
"0",
"0",
"0",
"1",
"1",
"1",
"0",
"0",
"1",
"1",
"0",
"1",
"0",
"1",
"1",
"0"
] | sparc | epilogue_renumber | sparc | CPU | GCC | 10,754 | 409 | 1 | [] |
[
"<s>",
"SDNode",
"*",
"WDC65816DAGToDAGISel",
"::",
"Select",
"(",
"SDNode",
"*",
"N",
")",
"{",
"SDLoc",
"dl",
"(",
"N",
")",
";",
"if",
"(",
"N",
"->",
"isMachineOpcode",
"(",
")",
")",
"{",
"N",
"->",
"setNodeId",
"(",
"-",
"1",
")",
";",
"ret... | [
"Main",
"hook",
"for",
"targets",
"to",
"transform",
"nodes",
"into",
"machine",
"nodes",
"."
] | [
"WDC65816",
"WDC",
"1",
"WDC",
"\"WDC_TODO - Unimplemented method called, opcode=\"",
"SPISD::GLOBAL_BASE_REG",
"ISD::SDIV",
"ISD::UDIV",
"0",
"MVT::i64",
"0",
"1",
"ISD::SDIV",
"SP::SRAri",
"MVT::i32",
"31",
"MVT::i32",
"0",
"SP::G0",
"MVT::i32",
"SP::WRYrr",
"MVT::Glue",
... | WDC65816ISelDAGToDAG | Select | WDC65816 | MPU | LLVM | 10,755 | 376 | 1 | [] |
[
"<s>",
"const",
"MipsTargetLowering",
"*",
"MipsTargetLowering",
"::",
"create",
"(",
"MipsTargetMachine",
"&",
"TM",
")",
"{",
"if",
"(",
"TM",
".",
"getSubtargetImpl",
"(",
")",
"->",
"inMips16Mode",
"(",
")",
")",
"return",
"llvm",
"::",
"createMips16Target... | [
"This",
"creates",
"an",
"identified",
"struct",
"."
] | [
"Mips",
"Mips",
"Mips",
"Mips",
"Mips",
"Mips",
"Mips"
] | MipsISelLowering (2) | create | Mips | CPU | LLVM | 10,756 | 41 | 1 | [] |
[
"<s>",
"static",
"rtx",
"rs6000_pre_atomic_barrier",
"(",
"rtx",
"mem",
",",
"enum",
"memmodel",
"model",
")",
"{",
"rtx",
"addr",
"=",
"XEXP",
"(",
"mem",
",",
"0",
")",
";",
"int",
"strict_p",
"=",
"(",
"reload_in_progress",
"||",
"reload_completed",
")"... | [
"Expand",
"barriers",
"before",
"and",
"after",
"a",
"load_locked/store_cond",
"sequence",
"."
] | [
"powerpcspe",
"0"
] | powerpcspe | rs6000_pre_atomic_barrier | powerpcspe | CPU | GCC | 10,757 | 123 | 1 | [] |
[
"<s>",
"void",
"MetadataStreamerV3",
"::",
"dump",
"(",
"StringRef",
"HSAMetadataString",
")",
"const",
"{",
"errs",
"(",
")",
"<<",
"\"AMDGPU HSA Metadata:\\n\"",
"<<",
"HSAMetadataString",
"<<",
"'\\n'",
";",
"}",
"</s>"
] | [
"Dump",
"the",
"plan",
"to",
"stderr",
"(",
"for",
"debugging",
")",
"."
] | [
"AMDGPU",
"\"AMDGPU HSA Metadata:\\n\""
] | AMDGPUHSAMetadataStreamer | dump | AMDGPU | GPU | LLVM | 10,758 | 21 | 1 | [] |
[
"<s>",
"rtx",
"function_expander",
"::",
"use_unpred_insn",
"(",
"insn_code",
"icode",
")",
"{",
"gcc_assert",
"(",
"pred",
"==",
"PRED_x",
"||",
"pred",
"==",
"PRED_none",
")",
";",
"unsigned",
"int",
"nops",
"=",
"insn_data",
"[",
"icode",
"]",
".",
"n_o... | [
"Implement",
"the",
"call",
"using",
"instruction",
"ICODE",
",",
"which",
"does",
"not",
"use",
"a",
"governing",
"predicate",
".",
"We",
"must",
"therefore",
"drop",
"the",
"GP",
"from",
"an",
"_x",
"call",
"."
] | [
"aarch64",
"1",
"1",
"0",
"0"
] | aarch64-sve-builtins | use_unpred_insn | aarch64 | CPU | GCC | 10,759 | 87 | 1 | [] |
[
"<s>",
"MachineRegisterInfo",
"*",
"getMRI",
"(",
")",
"{",
"return",
"&",
"MRI",
";",
"}",
"</s>"
] | [
"Getter",
"for",
"MRI",
"."
] | [
"AMDGPU"
] | SIMachineScheduler | getMRI | AMDGPU | GPU | LLVM | 10,760 | 11 | 1 | [] |
[
"<s>",
"bool",
"SHUXIInstrInfo",
"::",
"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",
"."
] | [
"SHUXI",
"SHUXI",
"SHUXI::JMP",
"0",
"0",
"0",
"SHUXI::JCC",
"\"Invalid conditional branch\"",
"SHUXICC::CondCodes",
"SHUXICC::CondCodes",
"1",
"SHUXICC::COND_INVALID",
"0",
"1",
"0",
"SHUXICC::CondCodes",
"SHUXICC::CondCodes",
"0"
] | SHUXIInstrInfo | analyzeBranch | SHUXI | CPU | LLVM | 10,761 | 376 | 1 | [] |
[
"<s>",
"static",
"const",
"char",
"*",
"arm_invalid_return_type",
"(",
"const_tree",
"t",
")",
"{",
"if",
"(",
"SCALAR_FLOAT_TYPE_P",
"(",
"t",
")",
"&&",
"TYPE_PRECISION",
"(",
"t",
")",
"==",
"16",
")",
"return",
"N_",
"(",
"\"functions cannot return __fp16 ... | [
"Implement",
"TARGET_INVALID_PARAMETER_TYPE",
"."
] | [
"arm",
"16",
"\"functions cannot return __fp16 type\""
] | arm4 | arm_invalid_return_type | arm | CPU | GCC | 10,762 | 34 | 1 | [] |
[
"<s>",
"const",
"char",
"*",
"AMDGPUDAGToDAGISel",
"::",
"getPassName",
"(",
")",
"const",
"{",
"return",
"\"AMDGPU DAG->DAG Pattern Instruction Selection\"",
";",
"}",
"</s>"
] | [
"getPassName",
"-",
"Return",
"a",
"nice",
"clean",
"name",
"for",
"a",
"pass",
"."
] | [
"R600",
"\"AMDGPU DAG->DAG Pattern Instruction Selection\""
] | AMDGPUISelDAGToDAG102 | getPassName | R600 | GPU | LLVM | 10,763 | 14 | 1 | [] |
[
"<s>",
"static",
"void",
"c6x_output_fn_unwind",
"(",
"FILE",
"*",
"f",
")",
"{",
"if",
"(",
"!",
"(",
"flag_unwind_tables",
"||",
"flag_exceptions",
")",
")",
"return",
";",
"if",
"(",
"!",
"(",
"flag_unwind_tables",
"||",
"crtl",
"->",
"uses_eh_lsda",
")... | [
"Output",
"unwind",
"directives",
"at",
"the",
"end",
"of",
"a",
"function",
"."
] | [
"c6x",
"\"\\t.cantunwind\\n\"",
"\"\\t.endp\\n\""
] | c6x | c6x_output_fn_unwind | c6x | VLIW | GCC | 10,764 | 57 | 1 | [] |
[
"<s>",
"bool",
"X86InstrInfo",
"::",
"getMemOperandsWithOffsetWidth",
"(",
"const",
"MachineInstr",
"&",
"MemOp",
",",
"SmallVectorImpl",
"<",
"const",
"MachineOperand",
"*",
">",
"&",
"BaseOps",
",",
"int64_t",
"&",
"Offset",
",",
"bool",
"&",
"OffsetIsScalable",... | [
"Get",
"zero",
"or",
"more",
"base",
"operands",
"and",
"the",
"byte",
"offset",
"of",
"an",
"instruction",
"that",
"reads/writes",
"memory",
"."
] | [
"X86",
"X86",
"X86II::getMemoryOperandNo",
"0",
"X86II::getOperandBias",
"X86::AddrBaseReg",
"X86::AddrScaleAmt",
"1",
"X86::AddrIndexReg",
"X86::NoRegister",
"X86::AddrDisp",
"0"
] | X86InstrInfo (2)3 | getMemOperandsWithOffsetWidth | X86 | CPU | LLVM | 10,765 | 242 | 1 | [] |
[
"<s>",
"static",
"void",
"def_builtin",
"(",
"const",
"char",
"*",
"name",
",",
"tree",
"type",
",",
"enum",
"rs6000_builtins",
"code",
")",
"{",
"tree",
"t",
";",
"unsigned",
"classify",
"=",
"rs6000_builtin_info",
"[",
"(",
"int",
")",
"code",
"]",
"."... | [
"Add",
"a",
"SPARC",
"builtin",
"function",
"with",
"NAME",
",",
"ICODE",
",",
"CODE",
"and",
"TYPE",
".",
"Return",
"the",
"function",
"decl",
"or",
"NULL_TREE",
"if",
"the",
"builtin",
"was",
"not",
"added",
"."
] | [
"powerpcspe",
"\"\"",
"0",
"\"internal error: builtin function %s already processed\"",
"0",
"1",
"1",
"\", const\"",
"0",
"1",
"1",
"\", pure\"",
"0",
"1",
"1",
"1",
"\", fp, pure\"",
"1",
"\", fp, const\"",
"0",
"\"rs6000_builtin, code = %4d, %s%s\\n\""
] | powerpcspe | def_builtin | powerpcspe | CPU | GCC | 10,766 | 267 | 1 | [] |
[
"<s>",
"static",
"int",
"thumb2_legitimate_address_p",
"(",
"machine_mode",
"mode",
",",
"rtx",
"x",
",",
"int",
"strict_p",
")",
"{",
"bool",
"use_ldrd",
";",
"enum",
"rtx_code",
"code",
"=",
"GET_CODE",
"(",
"x",
")",
";",
"if",
"(",
"arm_address_register_... | [
"Return",
"nonzero",
"if",
"X",
"is",
"a",
"valid",
"Thumb-2",
"address",
"operand",
"."
] | [
"arm",
"1",
"4",
"0",
"0",
"1",
"1",
"0",
"0",
"1",
"1",
"0",
"4",
"256",
"256",
"1024",
"1024",
"3",
"0",
"0",
"0",
"0",
"0",
"1",
"1",
"0",
"0",
"1",
"0",
"1",
"0"
] | arm6 | thumb2_legitimate_address_p | arm | CPU | GCC | 10,767 | 468 | 1 | [] |
[
"<s>",
"virtual",
"void",
"getAnalysisUsage",
"(",
"AnalysisUsage",
"&",
"AU",
")",
"const",
"{",
"AU",
".",
"addRequired",
"<",
"DominatorTree",
">",
"(",
")",
";",
"AU",
".",
"addPreserved",
"<",
"DominatorTree",
">",
"(",
")",
";",
"FunctionPass",
"::",... | [
"getAnalysisUsage",
"-",
"Subclasses",
"that",
"override",
"getAnalysisUsage",
"must",
"call",
"this",
"."
] | [
"R600"
] | SIAnnotateControlFlow1 | getAnalysisUsage | R600 | GPU | LLVM | 10,768 | 36 | 1 | [] |
[
"<s>",
"MachineBasicBlock",
"::",
"iterator",
"ARCFrameLowering",
"::",
"eliminateCallFramePseudoInstr",
"(",
"MachineFunction",
"&",
"MF",
",",
"MachineBasicBlock",
"&",
"MBB",
",",
"MachineBasicBlock",
"::",
"iterator",
"I",
")",
"const",
"{",
"DEBUG",
"(",
"dbgs"... | [
"This",
"method",
"is",
"called",
"during",
"prolog/epilog",
"code",
"insertion",
"to",
"eliminate",
"call",
"frame",
"setup",
"and",
"destroy",
"pseudo",
"instructions",
"(",
"but",
"only",
"if",
"the",
"Target",
"is",
"using",
"them",
")",
"."
] | [
"ARC",
"ARC",
"\"EmitCallFramePseudo: \"",
"\"\\n\"",
"ARC",
"ARC",
"0",
"ARC",
"ARC::ADJCALLSTACKDOWN",
"0",
"ARC::ADJCALLSTACKDOWN",
"ARC::ADJCALLSTACKUP",
"\"Unknown Frame Pseudo.\"",
"ARC::ADJCALLSTACKUP",
"ARC::SP"
] | ARCFrameLowering10 | eliminateCallFramePseudoInstr | ARC | MPU | LLVM | 10,769 | 215 | 1 | [] |
[
"<s>",
"bool",
"RISCVAsmBackend",
"::",
"shouldForceRelocation",
"(",
"const",
"MCAssembler",
"&",
"Asm",
",",
"const",
"MCFixup",
"&",
"Fixup",
",",
"const",
"MCValue",
"&",
"Target",
")",
"{",
"bool",
"ShouldForce",
"=",
"false",
";",
"switch",
"(",
"(",
... | [
"Hook",
"to",
"check",
"if",
"a",
"relocation",
"is",
"needed",
"for",
"some",
"target",
"specific",
"reason",
"."
] | [
"RISCV",
"RISCV",
"RISCV::fixup_riscv_got_hi20",
"RISCV::fixup_riscv_pcrel_lo12_i",
"RISCV::fixup_riscv_pcrel_lo12_s",
"RISCV",
"\"could not find corresponding %pcrel_hi\"",
"\"Unexpected fixup kind for pcrel_lo12\"",
"RISCV::fixup_riscv_got_hi20",
"RISCV::fixup_riscv_pcrel_hi20",
"RISCV::Featur... | RISCVAsmBackend21 | shouldForceRelocation | RISCV | CPU | LLVM | 10,770 | 190 | 1 | [] |
[
"<s>",
"static",
"void",
"emit_compare",
"(",
"rtx_code",
"code",
",",
"rtx",
"a",
",",
"rtx",
"b",
")",
"{",
"emit_insn",
"(",
"gen_rtx_SET",
"(",
"gen_rtx_REG",
"(",
"BImode",
",",
"SR_F_REGNUM",
")",
",",
"gen_rtx_fmt_ee",
"(",
"code",
",",
"BImode",
... | [
"A",
"subroutine",
"of",
"the",
"atomic",
"operation",
"splitters",
".",
"Emit",
"a",
"raw",
"comparison",
"for",
"A",
"CODE",
"B",
"."
] | [
"or1k"
] | or1k | emit_compare | or1k | CPU | GCC | 10,771 | 39 | 1 | [] |
[
"<s>",
"XCoreSubtarget",
"::",
"XCoreSubtarget",
"(",
"const",
"TargetMachine",
"&",
"TM",
",",
"const",
"Module",
"&",
"M",
",",
"const",
"std",
"::",
"string",
"&",
"FS",
")",
":",
"IsXS1A",
"(",
"false",
")",
",",
"IsXS1B",
"(",
"false",
")",
"{",
... | [
"This",
"constructor",
"initializes",
"the",
"data",
"members",
"to",
"match",
"that",
"of",
"the",
"specified",
"triple",
"."
] | [
"XCore",
"XCore",
"XCore",
"\"xs1a-generic\""
] | XCoreSubtarget20 | XCoreSubtarget | XCore | MPU | LLVM | 10,772 | 47 | 1 | [] |
[
"<s>",
"void",
"fma_forest",
"::",
"fma_node_created",
"(",
"fma_node",
"*",
"node",
")",
"{",
"bool",
"created",
"=",
"!",
"this",
"->",
"m_globals",
"->",
"put_node",
"(",
"node",
")",
";",
"gcc_assert",
"(",
"created",
")",
";",
"this",
"->",
"m_nb_no... | [
"Act",
"on",
"the",
"creation",
"of",
"NODE",
"by",
"updating",
"statistics",
"in",
"FOREST",
"and",
"adding",
"an",
"entry",
"for",
"it",
"in",
"the",
"func_fma_steering",
"hashmap",
"."
] | [
"aarch64"
] | cortex-a57-fma-steering | fma_node_created | aarch64 | CPU | GCC | 10,773 | 34 | 1 | [] |
[
"<s>",
"void",
"RISCVInstPrinter",
"::",
"printInst",
"(",
"const",
"MCInst",
"*",
"MI",
",",
"raw_ostream",
"&",
"O",
",",
"StringRef",
"Annot",
",",
"const",
"MCSubtargetInfo",
"&",
"STI",
")",
"{",
"if",
"(",
"NoAliases",
"||",
"!",
"printAliasInstr",
"... | [
"Print",
"the",
"specified",
"MCInst",
"to",
"the",
"specified",
"raw_ostream",
"."
] | [
"RISCV",
"RISCV"
] | RISCVInstPrinter22 | printInst | RISCV | CPU | LLVM | 10,774 | 50 | 1 | [] |
[
"<s>",
"static",
"void",
"copy_fp_args",
"(",
"rtx",
"insn",
")",
"{",
"rtx",
"link",
";",
"rtx",
"xoperands",
"[",
"2",
"]",
";",
"for",
"(",
"link",
"=",
"CALL_INSN_FUNCTION_USAGE",
"(",
"insn",
")",
";",
"link",
";",
"link",
"=",
"XEXP",
"(",
"lin... | [
"Copy",
"any",
"FP",
"arguments",
"in",
"INSN",
"into",
"integer",
"registers",
"."
] | [
"pa",
"2",
"1",
"0",
"0",
"0",
"0",
"0",
"32",
"39",
"0",
"0",
"1",
"26",
"32",
"2",
"\"{fstws|fstw} %0,-16(%%sr0,%%r30)\"",
"\"ldw -16(%%sr0,%%r30),%1\"",
"0",
"0",
"1",
"25",
"34",
"2",
"\"{fstds|fstd} %0,-16(%%sr0,%%r30)\"",
"\"ldw -12(%%sr0,%%r30),%R1\"",
"\"l... | pa3 | copy_fp_args | pa | CPU | GCC | 10,775 | 240 | 1 | [] |
[
"<s>",
"rtx",
"sfunc_symbol",
"(",
"const",
"char",
"*",
"name",
")",
"{",
"rtx",
"sym",
"=",
"gen_rtx_SYMBOL_REF",
"(",
"Pmode",
",",
"name",
")",
";",
"SYMBOL_REF_FLAGS",
"(",
"sym",
")",
"=",
"SYMBOL_FLAG_FUNCTION",
"|",
"SYMBOL_FLAG_LOCAL",
";",
"if",
... | [
"Generate",
"a",
"SYMBOL_REF",
"for",
"the",
"special",
"function",
"NAME",
".",
"When",
"the",
"address",
"ca",
"n't",
"be",
"placed",
"directly",
"into",
"a",
"call",
"instruction",
",",
"and",
"if",
"possible",
",",
"copy",
"it",
"to",
"a",
"register",
... | [
"epiphany"
] | epiphany | sfunc_symbol | epiphany | MPU | GCC | 10,776 | 62 | 1 | [] |
[
"<s>",
"void",
"RV16KInstPrinter",
"::",
"printRegName",
"(",
"raw_ostream",
"&",
"O",
",",
"unsigned",
"RegNo",
")",
"const",
"{",
"O",
"<<",
"getRegisterName",
"(",
"RegNo",
")",
";",
"}",
"</s>"
] | [
"Print",
"the",
"assembler",
"register",
"name",
"."
] | [
"RV16K",
"RV16K"
] | RV16KInstPrinter | printRegName | RV16K | Virtual ISA | LLVM | 10,777 | 22 | 1 | [] |
[
"<s>",
"Value",
"*",
"X86TargetLowering",
"::",
"getIRStackGuard",
"(",
"IRBuilderBase",
"&",
"IRB",
")",
"const",
"{",
"if",
"(",
"hasStackGuardSlotTLS",
"(",
"Subtarget",
".",
"getTargetTriple",
"(",
")",
")",
")",
"{",
"if",
"(",
"Subtarget",
".",
"isTarg... | [
"If",
"the",
"target",
"has",
"a",
"standard",
"location",
"for",
"the",
"stack",
"protector",
"cookie",
",",
"returns",
"the",
"address",
"of",
"that",
"location",
"."
] | [
"X86",
"X86",
"0x10",
"0x28",
"0x14",
"\"fs\"",
"X86AS::FS",
"\"gs\"",
"X86AS::GS"
] | X86ISelLowering (2)5 | getIRStackGuard | X86 | CPU | LLVM | 10,778 | 157 | 1 | [] |
[
"<s>",
"MCELFStreamer",
"&",
"AMDGPUTargetELFStreamer",
"::",
"getStreamer",
"(",
")",
"{",
"return",
"static_cast",
"<",
"MCELFStreamer",
"&",
">",
"(",
"Streamer",
")",
";",
"}",
"</s>"
] | [
"Return",
"the",
"output",
"streamer",
"for",
"the",
"assembler",
"."
] | [
"AMDGPU",
"AMDGPU"
] | AMDGPUTargetStreamer | getStreamer | AMDGPU | GPU | LLVM | 10,779 | 19 | 1 | [] |
[
"<s>",
"static",
"bool",
"avr_rtx_costs",
"(",
"rtx",
"x",
",",
"machine_mode",
"mode",
",",
"int",
"outer_code",
",",
"int",
"opno",
",",
"int",
"*",
"total",
",",
"bool",
"speed",
")",
"{",
"bool",
"done",
"=",
"avr_rtx_costs_1",
"(",
"x",
",",
"mode... | [
"The",
"AVR",
"backend",
"'s",
"rtx_cost",
"function",
".",
"X",
"is",
"rtx",
"expression",
"whose",
"cost",
"is",
"to",
"be",
"calculated",
".",
"Return",
"true",
"if",
"the",
"complete",
"cost",
"has",
"been",
"computed",
",",
"and",
"false",
"if",
"su... | [
"avr",
"\"\\n%?=%b (%s) total=%d, outer=%C:\\n%r\\n\"",
"\"speed\"",
"\"size\""
] | avr | avr_rtx_costs | avr | MPU | GCC | 10,780 | 74 | 1 | [] |
[
"<s>",
"void",
"sparc_flat_expand_epilogue",
"(",
"bool",
"for_eh",
")",
"{",
"HOST_WIDE_INT",
"size",
"=",
"sparc_frame_size",
";",
"if",
"(",
"sparc_n_global_fp_regs",
">",
"0",
")",
"emit_save_or_restore_global_fp_regs",
"(",
"sparc_frame_base_reg",
",",
"sparc_frame... | [
"Expand",
"the",
"function",
"epilogue",
",",
"either",
"normal",
"or",
"part",
"of",
"a",
"sibcall",
".",
"We",
"emit",
"all",
"the",
"instructions",
"except",
"the",
"return",
"or",
"the",
"call",
"."
] | [
"sparc",
"0",
"1",
"0",
"1",
"4096",
"8192",
"4096",
"4096",
"1"
] | sparc | sparc_flat_expand_epilogue | sparc | CPU | GCC | 10,781 | 212 | 1 | [] |
[
"<s>",
"static",
"rtx",
"mips_dwarf_register_span",
"(",
"rtx",
"reg",
")",
"{",
"rtx",
"high",
",",
"low",
";",
"machine_mode",
"mode",
";",
"mode",
"=",
"GET_MODE",
"(",
"reg",
")",
";",
"if",
"(",
"FP_REG_P",
"(",
"REGNO",
"(",
"reg",
")",
")",
"&... | [
"Implement",
"TARGET_DWARF_REGISTER_SPAN",
"."
] | [
"mips",
"1",
"1",
"2"
] | mips | mips_dwarf_register_span | mips | CPU | GCC | 10,782 | 130 | 1 | [] |
[
"<s>",
"void",
"MipsOutgoingValueHandler",
"::",
"assignValueToAddress",
"(",
"Register",
"ValVReg",
",",
"Register",
"Addr",
",",
"LLT",
"MemTy",
",",
"MachinePointerInfo",
"&",
"MPO",
",",
"CCValAssign",
"&",
"VA",
")",
"{",
"MachineFunction",
"&",
"MF",
"=",
... | [
"An",
"overload",
"which",
"takes",
"an",
"ArgInfo",
"if",
"additional",
"information",
"about",
"the",
"arg",
"is",
"needed",
"."
] | [
"Mips",
"Mips"
] | MipsCallLowering (2) | assignValueToAddress | Mips | CPU | LLVM | 10,783 | 92 | 1 | [] |
[
"<s>",
"SDValue",
"AlphaTargetLowering",
"::",
"LowerCallResult",
"(",
"SDValue",
"Chain",
",",
"SDValue",
"InFlag",
",",
"unsigned",
"CallConv",
",",
"bool",
"isVarArg",
",",
"const",
"SmallVectorImpl",
"<",
"ISD",
"::",
"InputArg",
">",
"&",
"Ins",
",",
"Deb... | [
"LowerCallResult",
"-",
"Lower",
"the",
"result",
"values",
"of",
"an",
"ISD",
":",
":CALL",
"into",
"the",
"appropriate",
"copies",
"out",
"of",
"appropriate",
"physical",
"registers",
"."
] | [
"Alpha",
"Alpha",
"ISD::InputArg",
"16",
"Alpha",
"0",
"1",
"0",
"2",
"ISD::AssertSext",
"ISD::AssertZext",
"ISD::TRUNCATE"
] | AlphaISelLowering6 | LowerCallResult | Alpha | MPU | LLVM | 10,784 | 291 | 1 | [] |
[
"<s>",
"void",
"Z80InstrInfo",
"::",
"storeRegToStackSlot",
"(",
"MachineBasicBlock",
"&",
"MBB",
",",
"MachineBasicBlock",
"::",
"iterator",
"MI",
",",
"unsigned",
"SrcReg",
",",
"bool",
"isKill",
",",
"int",
"FrameIndex",
",",
"const",
"TargetRegisterClass",
"*"... | [
"Store",
"the",
"specified",
"register",
"of",
"the",
"given",
"register",
"class",
"to",
"the",
"specified",
"stack",
"frame",
"index",
"."
] | [
"Z80",
"Z80",
"Z80::GR8RegClass",
"Z80::LD8xmr",
"0",
"Z80::BR16RegClass",
"Z80::BR16RegClass",
"Z80::LD16xmr",
"0",
"Z80::GR16RegClass",
"Z80::GR16RegClass",
"Z80::LD16xmr",
"0",
"\"What the hell register is this?? Unable to store to stack slot!\""
] | Z80InstrInfo (2) | storeRegToStackSlot | Z80 | MPU | LLVM | 10,785 | 226 | 1 | [] |
[
"<s>",
"void",
"HSAILAsmPrinter",
"::",
"EmitInstruction",
"(",
"const",
"MachineInstr",
"*",
"MI",
")",
"{",
"HSAILMCInstLower",
"MCInstLowering",
"(",
"OutContext",
",",
"*",
"this",
")",
";",
"MCInst",
"TmpInst",
";",
"MCInstLowering",
".",
"lower",
"(",
"M... | [
"EmitInstruction",
"-",
"This",
"callback",
"is",
"invoked",
"when",
"an",
"instruction",
"is",
"emitted",
",",
"to",
"advance",
"the",
"hazard",
"state",
"."
] | [
"HSAIL",
"HSAIL",
"HSAIL"
] | HSAILAsmPrinter | EmitInstruction | HSAIL | Virtual ISA | LLVM | 10,786 | 41 | 1 | [] |
[
"<s>",
"Register",
"getExceptionPointerRegister",
"(",
"const",
"Constant",
"*",
"PersonalityFn",
")",
"const",
"override",
"{",
"return",
"ABI",
".",
"IsN64",
"(",
")",
"?",
"Mips",
"::",
"A0_64",
":",
"Mips",
"::",
"A0",
";",
"}",
"</s>"
] | [
"If",
"a",
"physical",
"register",
",",
"this",
"returns",
"the",
"register",
"that",
"receives",
"the",
"exception",
"address",
"on",
"entry",
"to",
"an",
"EH",
"pad",
"."
] | [
"Mips",
"Mips::A0_64",
"Mips::A0"
] | MipsISelLowering32 | getExceptionPointerRegister | Mips | CPU | LLVM | 10,787 | 27 | 1 | [] |
[
"<s>",
"void",
"MetadataStreamerV3",
"::",
"end",
"(",
")",
"{",
"std",
"::",
"string",
"HSAMetadataString",
";",
"raw_string_ostream",
"StrOS",
"(",
"HSAMetadataString",
")",
";",
"HSAMetadataDoc",
"->",
"toYAML",
"(",
"StrOS",
")",
";",
"if",
"(",
"DumpHSAMe... | [
"Get",
"a",
"const_iterator",
"to",
"the",
"end",
"of",
"the",
"symbol",
"table",
"."
] | [
"AMDGPU"
] | AMDGPUHSAMetadataStreamer | end | AMDGPU | GPU | LLVM | 10,788 | 52 | 1 | [] |
[
"<s>",
"const",
"char",
"*",
"PTXTargetLowering",
"::",
"getTargetNodeName",
"(",
"unsigned",
"Opcode",
")",
"const",
"{",
"switch",
"(",
"Opcode",
")",
"{",
"default",
":",
"llvm_unreachable",
"(",
"\"Unknown opcode\"",
")",
";",
"case",
"PTXISD",
"::",
"EXIT... | [
"getTargetNodeName",
"-",
"This",
"method",
"returns",
"the",
"name",
"of",
"a",
"target",
"specific"
] | [
"PTX",
"PTX",
"\"Unknown opcode\"",
"PTXISD::EXIT",
"\"PTXISD::EXIT\"",
"PTXISD::RET",
"\"PTXISD::RET\""
] | PTXISelLowering2 | getTargetNodeName | PTX | GPU | LLVM | 10,789 | 42 | 1 | [] |
[
"<s>",
"void",
"NVPTXPassConfig",
"::",
"addPostRegAlloc",
"(",
")",
"{",
"addPass",
"(",
"createNVPTXPrologEpilogPass",
"(",
")",
")",
";",
"if",
"(",
"getOptLevel",
"(",
")",
"!=",
"CodeGenOpt",
"::",
"None",
")",
"{",
"addPass",
"(",
"createNVPTXPeephole",
... | [
"This",
"method",
"may",
"be",
"implemented",
"by",
"targets",
"that",
"want",
"to",
"run",
"passes",
"after",
"register",
"allocation",
"pass",
"pipeline",
"but",
"before",
"prolog-epilog",
"insertion",
"."
] | [
"NVPTX",
"NVPTX",
"NVPTX",
"NVPTX"
] | NVPTXTargetMachine (2)1 | addPostRegAlloc | NVPTX | GPU | LLVM | 10,790 | 34 | 1 | [] |
[
"<s>",
"StringRef",
"getPassName",
"(",
")",
"const",
"override",
"{",
"return",
"\"M88kPreLegalizerCombiner\"",
";",
"}",
"</s>"
] | [
"getPassName",
"-",
"Return",
"a",
"nice",
"clean",
"name",
"for",
"a",
"pass",
"."
] | [
"M88k",
"\"M88kPreLegalizerCombiner\""
] | M88kPreLegalizerCombiner | getPassName | M88k | MPU | LLVM | 10,791 | 11 | 1 | [] |
[
"<s>",
"virtual",
"const",
"char",
"*",
"getPassName",
"(",
")",
"const",
"{",
"return",
"\"XNCM DAG->DAG Pattern Instruction Selection\"",
";",
"}",
"</s>"
] | [
"getPassName",
"-",
"Return",
"a",
"nice",
"clean",
"name",
"for",
"a",
"pass",
"."
] | [
"XNCM",
"\"XNCM DAG->DAG Pattern Instruction Selection\""
] | XNCMISelDAGToDAG | getPassName | XNCM | CPU | LLVM | 10,792 | 13 | 1 | [] |
[
"<s>",
"bool",
"Error",
"(",
"SMLoc",
"L",
",",
"const",
"Twine",
"&",
"Msg",
")",
"{",
"return",
"Parser",
".",
"Error",
"(",
"L",
",",
"Msg",
")",
";",
"}",
"</s>"
] | [
"Return",
"an",
"error",
"at",
"the",
"location",
"L",
",",
"with",
"the",
"message",
"Msg",
"."
] | [
"PowerPC"
] | PPCAsmParser (2) | Error | PowerPC | CPU | LLVM | 10,793 | 23 | 1 | [] |
[
"<s>",
"unsigned",
"int",
"getNumFixupKinds",
"(",
")",
"const",
"override",
"{",
"return",
"AArch64",
"::",
"NumTargetFixupKinds",
";",
"}",
"</s>"
] | [
"Get",
"the",
"number",
"of",
"target",
"specific",
"fixup",
"kinds",
"."
] | [
"AArch64",
"AArch64::NumTargetFixupKinds"
] | AArch64AsmBackend37 | getNumFixupKinds | AArch64 | CPU | LLVM | 10,794 | 14 | 1 | [] |
[
"<s>",
"void",
"AMDGPUPromoteKernelArguments",
"::",
"enqueueUsers",
"(",
"Value",
"*",
"Ptr",
")",
"{",
"SmallVector",
"<",
"User",
"*",
">",
"PtrUsers",
"(",
"Ptr",
"->",
"users",
"(",
")",
")",
";",
"while",
"(",
"!",
"PtrUsers",
".",
"empty",
"(",
... | [
"Enqueue",
"the",
"users",
"of",
"this",
"instruction",
"in",
"the",
"visit",
"worklist",
"."
] | [
"AMDGPU",
"AMDGPU",
"AMDGPU",
"AMDGPU",
"AMDGPU",
"0"
] | AMDGPUPromoteKernelArguments1 | enqueueUsers | AMDGPU | GPU | LLVM | 10,795 | 242 | 1 | [] |
[
"<s>",
"bool",
"runOnMachineFunction",
"(",
"MachineFunction",
"&",
"MF",
")",
"override",
"{",
"const",
"Function",
"*",
"F",
"=",
"MF",
".",
"getFunction",
"(",
")",
";",
"if",
"(",
"!",
"F",
")",
"return",
"false",
";",
"if",
"(",
"skipFunction",
"(... | [
"runOnMachineFunction",
"-",
"Emit",
"the",
"function",
"body",
"."
] | [
"Hexagon",
"Hexagon"
] | HexagonConstPropagation | runOnMachineFunction | Hexagon | DSP | LLVM | 10,796 | 57 | 1 | [] |
[
"<s>",
"bool",
"PadShortFunc",
"::",
"runOnMachineFunction",
"(",
"MachineFunction",
"&",
"MF",
")",
"{",
"if",
"(",
"skipFunction",
"(",
"MF",
".",
"getFunction",
"(",
")",
")",
")",
"return",
"false",
";",
"if",
"(",
"MF",
".",
"getFunction",
"(",
")",... | [
"runOnMachineFunction",
"-",
"Emit",
"the",
"function",
"body",
"."
] | [
"X86",
"X86",
"0",
"\"Basic block should contain at least a RET but is empty\"",
"\"Basic block does not end with RET\""
] | X86PadShortFunction12 | runOnMachineFunction | X86 | CPU | LLVM | 10,797 | 271 | 1 | [] |
[
"<s>",
"bool",
"Z80MachineLateOptimization",
"::",
"runOnMachineFunction",
"(",
"MachineFunction",
"&",
"MF",
")",
"{",
"bool",
"Changed",
"=",
"false",
";",
"return",
"Changed",
";",
"}",
"</s>"
] | [
"runOnMachineFunction",
"-",
"Emit",
"the",
"function",
"body",
"."
] | [
"Z80",
"Z80"
] | Z80MachineLateOptimization | runOnMachineFunction | Z80 | MPU | LLVM | 10,798 | 19 | 1 | [] |
[
"<s>",
"static",
"bool",
"isAssociativeAndCommutative",
"(",
"unsigned",
"Opcode",
")",
"{",
"switch",
"(",
"Opcode",
")",
"{",
"case",
"PPC",
"::",
"FADD",
":",
"case",
"PPC",
"::",
"FADDS",
":",
"case",
"PPC",
"::",
"FMUL",
":",
"case",
"PPC",
"::",
... | [
"Return",
"true",
"when",
"\\P",
"Inst",
"is",
"both",
"associative",
"and",
"commutative",
"."
] | [
"PowerPC",
"PPC::FADD",
"PPC::FADDS",
"PPC::FMUL",
"PPC::FMULS",
"PPC::VADDFP",
"PPC::XSADDDP",
"PPC::XVADDDP",
"PPC::XVADDSP",
"PPC::XSADDSP",
"PPC::XSMULDP",
"PPC::XVMULDP",
"PPC::XVMULSP",
"PPC::XSMULSP",
"PPC::QVFADD",
"PPC::QVFADDS",
"PPC::QVFADDSs",
"PPC::QVFMUL",
"PPC::QVF... | PPCInstrInfo103 | isAssociativeAndCommutative | PowerPC | CPU | LLVM | 10,799 | 118 | 1 | [] |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.