ground_truth listlengths 8 512 | natrual_language listlengths 1 243 | TS_V_token listlengths 1 182 | File stringlengths 2 45 | Func stringlengths 1 56 | Target stringclasses 175
values | Target_Clf stringclasses 6
values | Compiler_Type stringclasses 2
values | Idx int64 0 36.2k | Length int64 6 510 | Cover_Rate float64 1 1 | Template_token listlengths 0 0 |
|---|---|---|---|---|---|---|---|---|---|---|---|
[
"<s>",
"static",
"tree",
"rs6000_build_builtin_va_list",
"(",
"void",
")",
"{",
"tree",
"f_gpr",
",",
"f_fpr",
",",
"f_res",
",",
"f_ovf",
",",
"f_sav",
",",
"record",
",",
"type_decl",
";",
"if",
"(",
"DEFAULT_ABI",
"!=",
"ABI_V4",
")",
"return",
"build_p... | [
"Create",
"the",
"va_list",
"data",
"type",
"."
] | [
"powerpcspe",
"\"__va_list_tag\"",
"\"gpr\"",
"\"fpr\"",
"\"reserved\"",
"\"overflow_arg_area\"",
"\"reg_save_area\""
] | powerpcspe | rs6000_build_builtin_va_list | powerpcspe | CPU | GCC | 7,200 | 253 | 1 | [] |
[
"<s>",
"void",
"getAnalysisUsage",
"(",
"AnalysisUsage",
"&",
"AU",
")",
"const",
"override",
"{",
"FunctionPass",
"::",
"getAnalysisUsage",
"(",
"AU",
")",
";",
"}",
"</s>"
] | [
"getAnalysisUsage",
"-",
"Subclasses",
"that",
"override",
"getAnalysisUsage",
"must",
"call",
"this",
"."
] | [
"SPIRV"
] | SPIRVOCLRegularizer | getAnalysisUsage | SPIRV | Virtual ISA | LLVM | 7,201 | 18 | 1 | [] |
[
"<s>",
"virtual",
"bool",
"isReg",
"(",
")",
"const",
"LLVM_OVERRIDE",
"{",
"return",
"Kind",
"==",
"KindReg",
";",
"}",
"</s>"
] | [
"isReg",
"-",
"Is",
"this",
"a",
"register",
"operand",
"?"
] | [
"SystemZ"
] | SystemZAsmParser10 | isReg | SystemZ | CPU | LLVM | 7,202 | 14 | 1 | [] |
[
"<s>",
"bool",
"isToken",
"(",
")",
"const",
"{",
"return",
"Kind",
"==",
"k_Token",
";",
"}",
"</s>"
] | [
"isToken",
"-",
"Is",
"this",
"a",
"token",
"operand",
"?"
] | [
"ARM"
] | ARMAsmParser (2)1 | isToken | ARM | CPU | LLVM | 7,203 | 12 | 1 | [] |
[
"<s>",
"ScheduleHazardRecognizer",
"*",
"PPCInstrInfo",
"::",
"CreateTargetHazardRecognizer",
"(",
"const",
"TargetMachine",
"*",
"TM",
",",
"const",
"ScheduleDAG",
"*",
"DAG",
")",
"const",
"{",
"unsigned",
"Directive",
"=",
"TM",
"->",
"getSubtarget",
"<",
"PPCS... | [
"Allocate",
"and",
"return",
"a",
"hazard",
"recognizer",
"to",
"use",
"for",
"this",
"target",
"when",
"scheduling",
"the",
"machine",
"instructions",
"before",
"register",
"allocation",
"."
] | [
"PowerPC",
"PPC",
"PPC",
"PPC::DIR_440",
"PPC::DIR_A2",
"PPC::DIR_E500mc",
"PPC::DIR_E5500"
] | PPCInstrInfo (2) | CreateTargetHazardRecognizer | PowerPC | CPU | LLVM | 7,204 | 93 | 1 | [] |
[
"<s>",
"StringRef",
"const",
"TPCMCInstrInfo",
"::",
"getName",
"(",
"MCInstrInfo",
"const",
"&",
"MCII",
",",
"MCInst",
"const",
"&",
"MCI",
")",
"{",
"return",
"MCII",
".",
"getName",
"(",
"MCI",
".",
"getOpcode",
"(",
")",
")",
";",
"}",
"</s>"
] | [
"Return",
"a",
"string",
"with",
"the",
"name",
"of",
"the",
"plan",
"and",
"the",
"applicable",
"VFs",
"and",
"UFs",
"."
] | [
"TPC",
"TPC"
] | TPCMCInstrInfo | getName | TPC | Virtual ISA | LLVM | 7,205 | 30 | 1 | [] |
[
"<s>",
"const",
"char",
"*",
"getPassName",
"(",
")",
"const",
"override",
"{",
"return",
"\"AMDGPU Assembly Printer\"",
";",
"}",
"</s>"
] | [
"getPassName",
"-",
"Return",
"a",
"nice",
"clean",
"name",
"for",
"a",
"pass",
"."
] | [
"AMDGPU",
"\"AMDGPU Assembly Printer\""
] | AMDGPUAsmPrinter (2) | getPassName | AMDGPU | GPU | LLVM | 7,206 | 13 | 1 | [] |
[
"<s>",
"static",
"const",
"char",
"*",
"rs6000_xcoff_visibility",
"(",
"tree",
"decl",
")",
"{",
"static",
"const",
"char",
"*",
"const",
"visibility_types",
"[",
"]",
"=",
"{",
"\"\"",
",",
"\",protected\"",
",",
"\",hidden\"",
",",
"\",internal\"",
"}",
";... | [
"Helper",
"function",
"to",
"calculate",
"visibility",
"of",
"a",
"DECL",
"and",
"return",
"the",
"value",
"as",
"a",
"const",
"string",
"."
] | [
"powerpcspe",
"\"\"",
"\",protected\"",
"\",hidden\"",
"\",internal\""
] | powerpcspe | rs6000_xcoff_visibility | powerpcspe | CPU | GCC | 7,207 | 95 | 1 | [] |
[
"<s>",
"bool",
"HexagonSplitDoubleRegs",
"::",
"runOnMachineFunction",
"(",
"MachineFunction",
"&",
"MF",
")",
"{",
"DEBUG",
"(",
"dbgs",
"(",
")",
"<<",
"\"Splitting double registers in function: \"",
"<<",
"MF",
".",
"getName",
"(",
")",
"<<",
"'\\n'",
")",
";... | [
"runOnMachineFunction",
"-",
"Emit",
"the",
"function",
"body",
"."
] | [
"Hexagon",
"Hexagon",
"\"Splitting double registers in function: \"",
"Hexagon",
"\"Register partitioning: (partition #0 is fixed)\\n\"",
"\" -> \"",
"0",
"0",
"\"Calculating profit for partition #\""
] | HexagonSplitDouble2 | runOnMachineFunction | Hexagon | DSP | LLVM | 7,208 | 290 | 1 | [] |
[
"<s>",
"static",
"void",
"frv_add_insn_to_packet",
"(",
"rtx",
"insn",
")",
"{",
"struct",
"frv_packet_group",
"*",
"packet_group",
";",
"packet_group",
"=",
"&",
"frv_packet",
".",
"groups",
"[",
"frv_unit_groups",
"[",
"frv_insn_unit",
"(",
"insn",
")",
"]",
... | [
"Add",
"instruction",
"INSN",
"to",
"the",
"current",
"packet",
"."
] | [
"frv"
] | frv2 | frv_add_insn_to_packet | frv | VLIW | GCC | 7,209 | 62 | 1 | [] |
[
"<s>",
"void",
"R600SchedStrategy",
"::",
"initialize",
"(",
"ScheduleDAGMI",
"*",
"dag",
")",
"{",
"DAG",
"=",
"dag",
";",
"TII",
"=",
"static_cast",
"<",
"const",
"R600InstrInfo",
"*",
">",
"(",
"DAG",
"->",
"TII",
")",
";",
"TRI",
"=",
"static_cast",
... | [
"Initialize",
"the",
"strategy",
"after",
"building",
"the",
"DAG",
"for",
"a",
"new",
"region",
"."
] | [
"R600",
"0",
"15",
"32",
"0",
"0"
] | R600MachineScheduler34 | initialize | R600 | GPU | LLVM | 7,210 | 115 | 1 | [] |
[
"<s>",
"bool",
"AArch64AdvSIMDScalar",
"::",
"runOnMachineFunction",
"(",
"MachineFunction",
"&",
"mf",
")",
"{",
"bool",
"Changed",
"=",
"false",
";",
"DEBUG",
"(",
"dbgs",
"(",
")",
"<<",
"\"***** AArch64AdvSIMDScalar *****\\n\"",
")",
";",
"if",
"(",
"skipFun... | [
"runOnMachineFunction",
"-",
"Emit",
"the",
"function",
"body",
"."
] | [
"AArch64",
"AArch64",
"\"***** AArch64AdvSIMDScalar *****\\n\""
] | AArch64AdvSIMDScalarPass | runOnMachineFunction | AArch64 | CPU | LLVM | 7,211 | 105 | 1 | [] |
[
"<s>",
"const",
"char",
"*",
"avr_out_round",
"(",
"rtx_insn",
"*",
"insn",
"ATTRIBUTE_UNUSED",
",",
"rtx",
"*",
"xop",
",",
"int",
"*",
"plen",
")",
"{",
"machine_mode",
"mode",
"=",
"GET_MODE",
"(",
"xop",
"[",
"0",
"]",
")",
";",
"machine_mode",
"im... | [
"Output",
"fixed-point",
"rounding",
".",
"XOP",
"[",
"0",
"]",
"=",
"XOP",
"[",
"1",
"]",
"is",
"the",
"operand",
"to",
"round",
".",
"XOP",
"[",
"2",
"]",
"is",
"the",
"rounding",
"point",
",",
"a",
"CONST_INT",
".",
"The",
"function",
"prints",
... | [
"avr",
"0",
"1",
"2",
"1",
"2",
"0",
"0",
"4",
"1",
"1",
"0",
"0",
"0",
"1",
"1",
"2",
"\"rjmp 1f\"",
"\"0:\"",
"1",
"0",
"0",
"0",
"1",
"2",
"3",
"\"1:\"",
"0",
"\"\""
] | avr5 | avr_out_round | avr | MPU | GCC | 7,212 | 352 | 1 | [] |
[
"<s>",
"bool",
"runOnModule",
"(",
"Module",
"&",
"M",
")",
"override",
"{",
"return",
"runLowerConstExpr",
"(",
"M",
")",
";",
"}",
"</s>"
] | [
"runOnModule",
"-",
"Virtual",
"method",
"overriden",
"by",
"subclasses",
"to",
"process",
"the",
"module",
"being",
"operated",
"on",
"."
] | [
"SPIRV"
] | SPIRVLowerConstExpr | runOnModule | SPIRV | Virtual ISA | LLVM | 7,213 | 16 | 1 | [] |
[
"<s>",
"static",
"rtx",
"aarch64_move_pointer",
"(",
"rtx",
"pointer",
",",
"int",
"amount",
")",
"{",
"rtx",
"next",
"=",
"plus_constant",
"(",
"Pmode",
",",
"XEXP",
"(",
"pointer",
",",
"0",
")",
",",
"amount",
")",
";",
"return",
"adjust_automodify_addr... | [
"Return",
"a",
"new",
"RTX",
"holding",
"the",
"result",
"of",
"moving",
"POINTER",
"forward",
"by",
"AMOUNT",
"bytes",
"."
] | [
"aarch64",
"0"
] | aarch642 | aarch64_move_pointer | aarch64 | CPU | GCC | 7,214 | 44 | 1 | [] |
[
"<s>",
"unsigned",
"AMDGPURegisterBankInfo",
"::",
"copyCost",
"(",
"const",
"RegisterBank",
"&",
"Dst",
",",
"const",
"RegisterBank",
"&",
"Src",
",",
"unsigned",
"Size",
")",
"const",
"{",
"if",
"(",
"Dst",
".",
"getID",
"(",
")",
"==",
"AMDGPU",
"::",
... | [
"Get",
"the",
"cost",
"of",
"a",
"copy",
"from",
"B",
"to",
"A",
",",
"or",
"put",
"differently",
",",
"get",
"the",
"cost",
"of",
"A",
"=",
"COPY",
"B",
"."
] | [
"AMDGPU",
"AMDGPU",
"AMDGPU::SGPRRegBankID",
"AMDGPU::VCCRegBankID",
"1",
"AMDGPU::SGPRRegBankID",
"AMDGPU::SGPRRegBankID",
"AMDGPU::VCCRegBankID",
"AMDGPU::AGPRRegBankID",
"AMDGPU::AGPRRegBankID",
"4"
] | AMDGPURegisterBankInfo10 | copyCost | AMDGPU | GPU | LLVM | 7,215 | 158 | 1 | [] |
[
"<s>",
"bool",
"MipsSubtarget",
"::",
"enablePostRAScheduler",
"(",
")",
"const",
"{",
"return",
"true",
";",
"}",
"</s>"
] | [
"True",
"if",
"the",
"subtarget",
"should",
"run",
"a",
"scheduler",
"after",
"register",
"allocation",
"."
] | [
"Mips",
"Mips"
] | MipsSubtarget (2)1 | enablePostRAScheduler | Mips | CPU | LLVM | 7,216 | 12 | 1 | [] |
[
"<s>",
"MCSection",
"*",
"LanaiTargetObjectFile",
"::",
"getSectionForConstant",
"(",
"const",
"DataLayout",
"&",
"DL",
",",
"SectionKind",
"Kind",
",",
"const",
"Constant",
"*",
"C",
",",
"Align",
"&",
"Alignment",
")",
"const",
"{",
"if",
"(",
"isConstantInS... | [
"Given",
"a",
"constant",
"with",
"the",
"SectionKind",
",",
"return",
"a",
"section",
"that",
"it",
"should",
"be",
"placed",
"in",
"."
] | [
"Lanai",
"Lanai"
] | LanaiTargetObjectFile11 | getSectionForConstant | Lanai | CPU | LLVM | 7,217 | 52 | 1 | [] |
[
"<s>",
"static",
"bool",
"iq2000_return_in_memory",
"(",
"const_tree",
"type",
",",
"const_tree",
"fntype",
"ATTRIBUTE_UNUSED",
")",
"{",
"return",
"(",
"(",
"int_size_in_bytes",
"(",
"type",
")",
">",
"(",
"2",
"*",
"UNITS_PER_WORD",
")",
")",
"||",
"(",
"i... | [
"Worker",
"function",
"for",
"TARGET_RETURN_IN_MEMORY",
"."
] | [
"iq2000",
"2",
"1"
] | iq2000 | iq2000_return_in_memory | iq2000 | CPU | GCC | 7,218 | 39 | 1 | [] |
[
"<s>",
"void",
"RISCVDAGToDAGISel",
"::",
"Select",
"(",
"SDNode",
"*",
"Node",
")",
"{",
"SDLoc",
"DL",
"(",
"Node",
")",
";",
"DEBUG",
"(",
"errs",
"(",
")",
"<<",
"\"Selecting: \"",
";",
"Node",
"->",
"dump",
"(",
"CurDAG",
")",
";",
"errs",
"(",
... | [
"Main",
"hook",
"for",
"targets",
"to",
"transform",
"nodes",
"into",
"machine",
"nodes",
"."
] | [
"RISCV",
"RISCV",
"\"Selecting: \"",
"\"\\n\"",
"\"== \"",
"\"\\n\"",
"ISD::FrameIndex",
"0",
"MVT::i64",
"MVT::i32",
"RISCV::ADDI64",
"RISCV::ADDI",
"MVT::i64",
"MVT::i32"
] | RISCVISelDAGToDAG42 | Select | RISCV | CPU | LLVM | 7,219 | 249 | 1 | [] |
[
"<s>",
"SDValue",
"VETargetLowering",
"::",
"LowerOperation",
"(",
"SDValue",
"Op",
",",
"SelectionDAG",
"&",
"DAG",
")",
"const",
"{",
"switch",
"(",
"Op",
".",
"getOpcode",
"(",
")",
")",
"{",
"default",
":",
"llvm_unreachable",
"(",
"\"Should not custom low... | [
"LowerOperation",
"-",
"Provide",
"custom",
"lowering",
"hooks",
"for",
"some",
"operations",
"."
] | [
"VE",
"VE",
"\"Should not custom lower this!\"",
"ISD::BlockAddress",
"ISD::GlobalAddress",
"ISD::GlobalTLSAddress",
"ISD::VASTART",
"ISD::VAARG"
] | VEISelLowering13 | LowerOperation | VE | CPU | LLVM | 7,220 | 97 | 1 | [] |
[
"<s>",
"void",
"ARMPassConfig",
"::",
"addIRPasses",
"(",
")",
"{",
"if",
"(",
"TM",
"->",
"Options",
".",
"ThreadModel",
"==",
"ThreadModel",
"::",
"Single",
")",
"addPass",
"(",
"createLowerAtomicPass",
"(",
")",
")",
";",
"else",
"addPass",
"(",
"create... | [
"Add",
"common",
"target",
"configurable",
"passes",
"that",
"perform",
"LLVM",
"IR",
"to",
"IR",
"transforms",
"following",
"machine",
"independent",
"optimization",
"."
] | [
"ARM",
"ARM",
"1",
"ARM"
] | ARMTargetMachine | addIRPasses | ARM | CPU | LLVM | 7,221 | 133 | 1 | [] |
[
"<s>",
"bool",
"WinEHStatePass",
"::",
"doFinalization",
"(",
"Module",
"&",
"M",
")",
"{",
"assert",
"(",
"TheModule",
"==",
"&",
"M",
")",
";",
"TheModule",
"=",
"nullptr",
";",
"EHLinkRegistrationTy",
"=",
"nullptr",
";",
"CXXEHRegistrationTy",
"=",
"null... | [
"doFinalization",
"-",
"Virtual",
"method",
"overriden",
"by",
"subclasses",
"to",
"do",
"any",
"necessary",
"clean",
"up",
"after",
"all",
"passes",
"have",
"run",
"."
] | [
"X86"
] | X86WinEHState22 | doFinalization | X86 | CPU | LLVM | 7,222 | 38 | 1 | [] |
[
"<s>",
"PPCSubtarget",
"::",
"PPCSubtarget",
"(",
"const",
"std",
"::",
"string",
"&",
"TT",
",",
"const",
"std",
"::",
"string",
"&",
"CPU",
",",
"const",
"std",
"::",
"string",
"&",
"FS",
",",
"bool",
"is64Bit",
")",
":",
"PPCGenSubtargetInfo",
"(",
... | [
"This",
"constructor",
"initializes",
"the",
"data",
"members",
"to",
"match",
"that",
"of",
"the",
"specified",
"triple",
"."
] | [
"PowerPC",
"PPC",
"PPC",
"PPC",
"16",
"PPC::DIR_NONE",
"PPC",
"\"generic\"",
"\"generic\""
] | PPCSubtarget45 | PPCSubtarget | PowerPC | CPU | LLVM | 7,223 | 190 | 1 | [] |
[
"<s>",
"const",
"char",
"*",
"pa_output_block_clear",
"(",
"rtx",
"*",
"operands",
",",
"int",
"size_is_constant",
"ATTRIBUTE_UNUSED",
")",
"{",
"int",
"align",
"=",
"INTVAL",
"(",
"operands",
"[",
"3",
"]",
")",
";",
"unsigned",
"long",
"n_bytes",
"=",
"I... | [
"Emit",
"code",
"to",
"perform",
"a",
"block",
"clear",
".",
"OPERANDS",
"[",
"0",
"]",
"is",
"the",
"destination",
"pointer",
"as",
"a",
"REG",
",",
"clobbered",
".",
"OPERANDS",
"[",
"1",
"]",
"is",
"a",
"register",
"for",
"temporary",
"storage",
"."... | [
"pa",
"3",
"2",
"8",
"4",
"8",
"4",
"8",
"2",
"16",
"\"ldi %2,%1\"",
"\"std,ma %%r0,8(%0)\"",
"\"addib,>= -16,%1,.-4\"",
"\"std,ma %%r0,8(%0)\"",
"16",
"0",
"2",
"8",
"16",
"8",
"\"std,ma %%r0,8(%0)\"",
"8",
"0",
"\"stdby,e %%r0,%2(%0)\"",
"\"\"",
"4",
"2",
"8",... | pa | pa_output_block_clear | pa | CPU | GCC | 7,224 | 415 | 1 | [] |
[
"<s>",
"const",
"SparcSubtarget",
"*",
"getSubtargetImpl",
"(",
"const",
"Function",
"&",
")",
"const",
"override",
"{",
"return",
"&",
"Subtarget",
";",
"}",
"</s>"
] | [
"Virtual",
"method",
"implemented",
"by",
"subclasses",
"that",
"returns",
"a",
"reference",
"to",
"that",
"target",
"'s",
"TargetSubtargetInfo-derived",
"member",
"variable",
"."
] | [
"Sparc",
"Sparc"
] | SparcTargetMachine (2) | getSubtargetImpl | Sparc | CPU | LLVM | 7,225 | 17 | 1 | [] |
[
"<s>",
"static",
"void",
"or1k_function_arg_advance",
"(",
"cumulative_args_t",
"cum_v",
",",
"machine_mode",
"mode",
",",
"const_tree",
",",
"bool",
"named",
")",
"{",
"CUMULATIVE_ARGS",
"*",
"cum",
"=",
"get_cumulative_args",
"(",
"cum_v",
")",
";",
"int",
"nr... | [
"Worker",
"for",
"TARGET_FUNCTION_ARG_ADVANCE",
".",
"Update",
"the",
"cumulative",
"args",
"descriptor",
"CUM_V",
"to",
"advance",
"past",
"the",
"next",
"function",
"argument",
".",
"Note",
",",
"this",
"is",
"not",
"called",
"for",
"arguments",
"passed",
"on"... | [
"or1k",
"2"
] | or1k2 | or1k_function_arg_advance | or1k | CPU | GCC | 7,226 | 55 | 1 | [] |
[
"<s>",
"void",
"split_double_mode",
"(",
"machine_mode",
"mode",
",",
"rtx",
"operands",
"[",
"]",
",",
"int",
"num",
",",
"rtx",
"lo_half",
"[",
"]",
",",
"rtx",
"hi_half",
"[",
"]",
")",
"{",
"machine_mode",
"half_mode",
";",
"unsigned",
"int",
"byte",... | [
"Split",
"one",
"or",
"more",
"double-mode",
"RTL",
"references",
"into",
"pairs",
"of",
"half-mode",
"references",
".",
"The",
"RTL",
"can",
"be",
"REG",
",",
"offsettable",
"MEM",
",",
"integer",
"constant",
",",
"or",
"CONST_DOUBLE",
".",
"``",
"operands"... | [
"i386",
"0",
"0",
"0"
] | i386-expand | split_double_mode | i386 | CPU | GCC | 7,227 | 265 | 1 | [] |
[
"<s>",
"const",
"MCExpr",
"*",
"SystemZMCInstLower",
"::",
"getExpr",
"(",
"const",
"MachineOperand",
"&",
"MO",
",",
"MCSymbolRefExpr",
"::",
"VariantKind",
"Kind",
")",
"const",
"{",
"const",
"MCSymbol",
"*",
"Symbol",
";",
"bool",
"HasOffset",
"=",
"true",
... | [
"Implementation",
"of",
"the",
"SCEVPredicate",
"interface",
"."
] | [
"SystemZ",
"SystemZ",
"\"unknown operand type\""
] | SystemZMCInstLower14 | getExpr | SystemZ | CPU | LLVM | 7,228 | 237 | 1 | [] |
[
"<s>",
"SDValue",
"LoongArchTargetLowering",
"::",
"LowerReturn",
"(",
"SDValue",
"Chain",
",",
"CallingConv",
"::",
"ID",
"CallConv",
",",
"bool",
"IsVarArg",
",",
"const",
"SmallVectorImpl",
"<",
"ISD",
"::",
"OutputArg",
">",
"&",
"Outs",
",",
"const",
"Sma... | [
"This",
"hook",
"must",
"be",
"implemented",
"to",
"lower",
"outgoing",
"return",
"values",
",",
"described",
"by",
"the",
"Outs",
"array",
",",
"into",
"the",
"specified",
"DAG",
"."
] | [
"LoongArch",
"LoongArch",
"ISD::OutputArg",
"LoongArch",
"4",
"1",
"0",
"\"Can only return in registers!\"",
"1",
"0",
"LoongArchISD::RET",
"MVT::Other"
] | LoongArchISelLowering1 | LowerReturn | LoongArch | CPU | LLVM | 7,229 | 239 | 1 | [] |
[
"<s>",
"int",
"aarch64_fpconst_pow_of_2",
"(",
"rtx",
"x",
")",
"{",
"const",
"REAL_VALUE_TYPE",
"*",
"r",
";",
"if",
"(",
"!",
"CONST_DOUBLE_P",
"(",
"x",
")",
")",
"return",
"-",
"1",
";",
"r",
"=",
"CONST_DOUBLE_REAL_VALUE",
"(",
"x",
")",
";",
"if"... | [
"If",
"X",
"is",
"a",
"positive",
"CONST_DOUBLE",
"with",
"a",
"value",
"that",
"is",
"a",
"power",
"of",
"2",
"return",
"the",
"log2",
"of",
"that",
"value",
".",
"Otherwise",
"return",
"-1",
"."
] | [
"aarch64",
"1",
"1"
] | aarch64 | aarch64_fpconst_pow_of_2 | aarch64 | CPU | GCC | 7,230 | 73 | 1 | [] |
[
"<s>",
"bool",
"PatmosSPBundling",
"::",
"runOnMachineFunction",
"(",
"MachineFunction",
"&",
"MF",
")",
"{",
"PSPI",
"=",
"&",
"getAnalysis",
"<",
"PatmosSinglePathInfo",
">",
"(",
")",
";",
"PostDom",
"=",
"&",
"getAnalysis",
"<",
"MachinePostDominatorTree",
"... | [
"runOnMachineFunction",
"-",
"Emit",
"the",
"function",
"body",
"."
] | [
"Patmos",
"Patmos",
"Patmos"
] | PatmosSPBundling1 | runOnMachineFunction | Patmos | VLIW | LLVM | 7,231 | 73 | 1 | [] |
[
"<s>",
"bool",
"avr_emit_cpymemhi",
"(",
"rtx",
"*",
"xop",
")",
"{",
"HOST_WIDE_INT",
"count",
";",
"machine_mode",
"loop_mode",
";",
"addr_space_t",
"as",
"=",
"MEM_ADDR_SPACE",
"(",
"xop",
"[",
"1",
"]",
")",
";",
"rtx",
"loop_reg",
",",
"addr1",
",",
... | [
"Worker",
"function",
"for",
"cpymemhi",
"expander",
".",
"XOP",
"[",
"0",
"]",
"Destination",
"as",
"MEM",
":",
"BLK",
"XOP",
"[",
"1",
"]",
"Source",
"``",
"``",
"XOP",
"[",
"2",
"]",
"#",
"Bytes",
"to",
"copy",
"Return",
"TRUE",
"if",
"the",
"ex... | [
"avr",
"1",
"0",
"2",
"2",
"0",
"1",
"0",
"0",
"0",
"0x100",
"24",
"0",
"2",
"1",
"0x100",
"23",
"0",
"0"
] | avr | avr_emit_cpymemhi | avr | MPU | GCC | 7,232 | 426 | 1 | [] |
[
"<s>",
"unsigned",
"R600InstrInfo",
"::",
"calculateIndirectAddress",
"(",
"unsigned",
"RegIndex",
",",
"unsigned",
"Channel",
")",
"const",
"{",
"assert",
"(",
"Channel",
"==",
"0",
")",
";",
"return",
"RegIndex",
";",
"}",
"</s>"
] | [
"Calculate",
"the",
"``",
"Indirect",
"Address",
"''",
"for",
"the",
"given",
"RegIndex",
"and",
"Channel",
"."
] | [
"AMDGPU",
"R600",
"0"
] | R600InstrInfo (2) | calculateIndirectAddress | AMDGPU | GPU | LLVM | 7,233 | 24 | 1 | [] |
[
"<s>",
"bool",
"mayNeedRelaxation",
"(",
"const",
"MCInst",
"&",
"Inst",
",",
"const",
"MCSubtargetInfo",
"&",
"STI",
")",
"const",
"override",
"{",
"return",
"false",
";",
"}",
"</s>"
] | [
"Check",
"whether",
"the",
"given",
"instruction",
"may",
"need",
"relaxation",
"."
] | [
"Cpu0"
] | Cpu0AsmBackend | mayNeedRelaxation | Cpu0 | CPU | LLVM | 7,234 | 20 | 1 | [] |
[
"<s>",
"bool",
"use_mask_predication_p",
"(",
")",
"const",
"override",
"{",
"return",
"false",
";",
"}",
"</s>"
] | [
"We",
"choose",
"to",
"return",
"true",
"by",
"default",
"since",
"most",
"of",
"the",
"intrinsics",
"use",
"mask",
"predication",
"."
] | [
"riscv"
] | riscv-vector-builtins-bases | use_mask_predication_p | riscv | CPU | GCC | 7,235 | 11 | 1 | [] |
[
"<s>",
"bool",
"AMDGPUAsmParser",
"::",
"MatchAndEmitInstruction",
"(",
"SMLoc",
"IDLoc",
",",
"unsigned",
"&",
"Opcode",
",",
"OperandVector",
"&",
"Operands",
",",
"MCStreamer",
"&",
"Out",
",",
"uint64_t",
"&",
"ErrorInfo",
",",
"bool",
"MatchingInlineAsm",
"... | [
"MatchAndEmitInstruction",
"-",
"Recognize",
"a",
"series",
"of",
"operands",
"of",
"a",
"parsed",
"instruction",
"as",
"an",
"actual",
"MCInst",
"and",
"emit",
"it",
"to",
"the",
"specified",
"MCStreamer",
"."
] | [
"AMDGPU",
"AMDGPU",
"\"instruction not supported on this GPU\"",
"\"unrecognized instruction mnemonic\"",
"0ULL",
"AMDGPU",
"AMDGPU",
"1",
"AMDGPU",
"AMDGPU",
"0",
"AMDGPU",
"AMDGPU",
"0",
"AMDGPU",
"\"too few operands for instruction\"",
"AMDGPU",
"\"invalid operand for instructio... | AMDGPUAsmParser61 | MatchAndEmitInstruction | AMDGPU | GPU | LLVM | 7,236 | 310 | 1 | [] |
[
"<s>",
"bool",
"ARMPassConfig",
"::",
"addPreISel",
"(",
")",
"{",
"if",
"(",
"TM",
"->",
"getOptLevel",
"(",
")",
"!=",
"CodeGenOpt",
"::",
"None",
"&&",
"EnableGlobalMerge",
"&&",
"!",
"getARMSubtarget",
"(",
")",
".",
"isTargetNaCl",
"(",
")",
")",
"a... | [
"{",
"{",
"@",
"For",
"GlobalISel"
] | [
"ARM",
"ARM",
"ARM"
] | ARMTargetMachine46 | addPreISel | ARM | CPU | LLVM | 7,237 | 46 | 1 | [] |
[
"<s>",
"const",
"MCPhysReg",
"*",
"HexagonRegisterInfo",
"::",
"getCalleeSavedRegs",
"(",
"const",
"MachineFunction",
"*",
"MF",
")",
"const",
"{",
"static",
"const",
"MCPhysReg",
"CalleeSavedRegsV3",
"[",
"]",
"=",
"{",
"Hexagon",
"::",
"R16",
",",
"Hexagon",
... | [
"Code",
"Generation",
"virtual",
"methods",
"..."
] | [
"Hexagon",
"Hexagon",
"Hexagon::R16",
"Hexagon::R17",
"Hexagon::R18",
"Hexagon::R19",
"Hexagon::R20",
"Hexagon::R21",
"Hexagon::R22",
"Hexagon::R23",
"Hexagon::R24",
"Hexagon::R25",
"Hexagon::R26",
"Hexagon::R27",
"0",
"Hexagon::R0",
"Hexagon::R1",
"Hexagon::R2",
"Hexagon::R3",
... | HexagonRegisterInfo4 | getCalleeSavedRegs | Hexagon | DSP | LLVM | 7,238 | 237 | 1 | [] |
[
"<s>",
"const",
"J2RegisterInfo",
"*",
"getRegisterInfo",
"(",
")",
"const",
"override",
"{",
"return",
"&",
"RegisterInfo",
";",
"}",
"</s>"
] | [
"getRegisterInfo",
"-",
"TargetInstrInfo",
"is",
"a",
"superset",
"of",
"MRegister",
"info",
"."
] | [
"J2",
"J2"
] | J2Subtarget | getRegisterInfo | J2 | MPU | LLVM | 7,239 | 14 | 1 | [] |
[
"<s>",
"virtual",
"const",
"char",
"*",
"getPassName",
"(",
")",
"const",
"LLVM_OVERRIDE",
"{",
"return",
"\"ARM Assembly Printer\"",
";",
"}",
"</s>"
] | [
"getPassName",
"-",
"Return",
"a",
"nice",
"clean",
"name",
"for",
"a",
"pass",
"."
] | [
"ARM",
"\"ARM Assembly Printer\""
] | ARMAsmPrinter17 | getPassName | ARM | CPU | LLVM | 7,240 | 14 | 1 | [] |
[
"<s>",
"bool",
"ix86_expand_mask_vec_cmp",
"(",
"rtx",
"dest",
",",
"enum",
"rtx_code",
"code",
",",
"rtx",
"cmp_op0",
",",
"rtx",
"cmp_op1",
")",
"{",
"machine_mode",
"mask_mode",
"=",
"GET_MODE",
"(",
"dest",
")",
";",
"machine_mode",
"cmp_mode",
"=",
"GET... | [
"Expand",
"AVX-512",
"vector",
"comparison",
"."
] | [
"i386",
"3"
] | i386-expand | ix86_expand_mask_vec_cmp | i386 | CPU | GCC | 7,241 | 116 | 1 | [] |
[
"<s>",
"void",
"PIC16InstrInfo",
"::",
"storeRegToStackSlot",
"(",
"MachineBasicBlock",
"&",
"MBB",
",",
"MachineBasicBlock",
"::",
"iterator",
"I",
",",
"unsigned",
"SrcReg",
",",
"bool",
"isKill",
",",
"int",
"FI",
",",
"const",
"TargetRegisterClass",
"*",
"RC... | [
"Store",
"the",
"specified",
"register",
"of",
"the",
"given",
"register",
"class",
"to",
"the",
"specified",
"stack",
"frame",
"index",
"."
] | [
"PIC16",
"PIC16",
"6",
"\"%s.tmp\"",
"PIC16::GPRRegisterClass",
"PIC16::movwf",
"1",
"PIC16::FSR16RegisterClass",
"0",
"\"Don't know yet how to store a FSR16 to stack slot\"",
"0",
"\"Can't store this register to stack slot\""
] | PIC16InstrInfo5 | storeRegToStackSlot | PIC16 | MPU | LLVM | 7,242 | 193 | 1 | [] |
[
"<s>",
"void",
"ARMAsmBackend",
"::",
"applyFixup",
"(",
"const",
"MCFixup",
"&",
"Fixup",
",",
"char",
"*",
"Data",
",",
"unsigned",
"DataSize",
",",
"uint64_t",
"Value",
",",
"bool",
"IsPCRel",
",",
"MCContext",
"&",
"Ctx",
")",
"const",
"{",
"unsigned",... | [
"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",
"."
] | [
"ARM",
"ARM",
"\"Invalid fixup offset!\"",
"\"Invalid fixup size!\"",
"\"Invalid fixup size!\"",
"0",
"1",
"8",
"0xff"
] | ARMAsmBackend11 | applyFixup | ARM | CPU | LLVM | 7,243 | 182 | 1 | [] |
[
"<s>",
"unsigned",
"X86TargetLowering",
"::",
"getRegisterByName",
"(",
"const",
"char",
"*",
"RegName",
",",
"EVT",
"VT",
",",
"SelectionDAG",
"&",
"DAG",
")",
"const",
"{",
"const",
"TargetFrameLowering",
"&",
"TFI",
"=",
"*",
"Subtarget",
".",
"getFrameLowe... | [
"Return",
"the",
"register",
"ID",
"of",
"the",
"name",
"passed",
"in",
"."
] | [
"X86",
"X86",
"\"esp\"",
"X86::ESP",
"\"rsp\"",
"X86::RSP",
"\"ebp\"",
"X86::EBP",
"\"rbp\"",
"X86::RBP",
"0",
"X86::EBP",
"X86::RBP",
"\"register \"",
"\" is allocatable: function has no frame pointer\"",
"X86",
"X86::EBP",
"X86::RBP",
"\"Invalid Frame Register!\"",
"\"Invalid... | X86ISelLowering (2)8 | getRegisterByName | X86 | CPU | LLVM | 7,244 | 192 | 1 | [] |
[
"<s>",
"unsigned",
"TVMRegisterInfo",
"::",
"getFrameRegister",
"(",
"const",
"MachineFunction",
"&",
"MF",
")",
"const",
"{",
"return",
"TVM",
"::",
"SP",
";",
"}",
"</s>"
] | [
"Debug",
"information",
"queries",
"."
] | [
"TVM",
"TVM",
"TVM::SP"
] | TVMRegisterInfo | getFrameRegister | TVM | Virtual ISA | LLVM | 7,245 | 18 | 1 | [] |
[
"<s>",
"static",
"section",
"*",
"rs6000_elf_select_rtx_section",
"(",
"machine_mode",
"mode",
",",
"rtx",
"x",
",",
"unsigned",
"HOST_WIDE_INT",
"align",
")",
"{",
"if",
"(",
"ASM_OUTPUT_SPECIAL_POOL_ENTRY_P",
"(",
"x",
",",
"mode",
")",
")",
"return",
"toc_sec... | [
"A",
"C",
"statement",
"or",
"statements",
"to",
"switch",
"to",
"the",
"appropriate",
"section",
"for",
"output",
"of",
"RTX",
"in",
"mode",
"MODE",
".",
"You",
"can",
"assume",
"that",
"RTX",
"is",
"some",
"kind",
"of",
"constant",
"in",
"RTL",
".",
... | [
"rs6000"
] | rs6000 | rs6000_elf_select_rtx_section | rs6000 | CPU | GCC | 7,246 | 40 | 1 | [] |
[
"<s>",
"inline",
"void",
"classify_registers",
"(",
"const_tree",
",",
"int",
"bitpos",
",",
"bool",
"fp",
",",
"classify_data_t",
"*",
"data",
")",
"{",
"if",
"(",
"fp",
")",
"{",
"data",
"->",
"fp_regs",
"=",
"true",
";",
"if",
"(",
"bitpos",
"<",
... | [
"A",
"subroutine",
"of",
"function_arg_slotno",
".",
"Classify",
"the",
"field",
"."
] | [
"sparc"
] | sparc | classify_registers | sparc | CPU | GCC | 7,247 | 42 | 1 | [] |
[
"<s>",
"static",
"void",
"ix86_emit_restore_sse_regs_using_mov",
"(",
"HOST_WIDE_INT",
"cfa_offset",
",",
"bool",
"maybe_eh_return",
")",
"{",
"unsigned",
"int",
"regno",
";",
"for",
"(",
"regno",
"=",
"0",
";",
"regno",
"<",
"FIRST_PSEUDO_REGISTER",
";",
"regno",... | [
"Emit",
"code",
"to",
"restore",
"saved",
"registers",
"using",
"MOV",
"insns",
".",
"First",
"register",
"is",
"restored",
"from",
"CFA",
"-",
"CFA_OFFSET",
"."
] | [
"i386",
"0",
"1"
] | i386 | ix86_emit_restore_sse_regs_using_mov | i386 | CPU | GCC | 7,248 | 149 | 1 | [] |
[
"<s>",
"void",
"alpha_split_compare_and_swap",
"(",
"rtx",
"operands",
"[",
"]",
")",
"{",
"rtx",
"cond",
",",
"retval",
",",
"mem",
",",
"oldval",
",",
"newval",
";",
"bool",
"is_weak",
";",
"enum",
"memmodel",
"mod_s",
",",
"mod_f",
";",
"machine_mode",
... | [
"Expand",
"a",
"compare",
"and",
"swap",
"operation",
"."
] | [
"alpha",
"0",
"1",
"2",
"3",
"4",
"5",
"6",
"7",
"0",
"0",
"0"
] | alpha4 | alpha_split_compare_and_swap | alpha | MPU | GCC | 7,249 | 342 | 1 | [] |
[
"<s>",
"static",
"unsigned",
"int",
"riscv_hard_regno_nregs",
"(",
"unsigned",
"int",
"regno",
",",
"machine_mode",
"mode",
")",
"{",
"if",
"(",
"FP_REG_P",
"(",
"regno",
")",
")",
"return",
"(",
"GET_MODE_SIZE",
"(",
"mode",
")",
"+",
"UNITS_PER_FP_REG",
"-... | [
"Implement",
"HARD_REGNO_NREGS",
"."
] | [
"riscv",
"1",
"1"
] | riscv | riscv_hard_regno_nregs | riscv | CPU | GCC | 7,250 | 49 | 1 | [] |
[
"<s>",
"bool",
"SystemZAsmParser",
"::",
"MatchAndEmitInstruction",
"(",
"SMLoc",
"IDLoc",
",",
"unsigned",
"&",
"Opcode",
",",
"OperandVector",
"&",
"Operands",
",",
"MCStreamer",
"&",
"Out",
",",
"uint64_t",
"&",
"ErrorInfo",
",",
"bool",
"MatchingInlineAsm",
... | [
"MatchAndEmitInstruction",
"-",
"Recognize",
"a",
"series",
"of",
"operands",
"of",
"a",
"parsed",
"instruction",
"as",
"an",
"actual",
"MCInst",
"and",
"emit",
"it",
"to",
"the",
"specified",
"MCStreamer",
"."
] | [
"SystemZ",
"SystemZ",
"\"Unknown missing feature!\"",
"\"instruction requires:\"",
"0",
"\" \"",
"0ULL",
"\"too few operands for instruction\"",
"SystemZ",
"\"invalid operand for instruction\"",
"SystemZ",
"SystemZ",
"0",
"\"invalid instruction\"",
"SystemZ",
"0",
"\"Unexpected match... | SystemZAsmParser (2)1 | MatchAndEmitInstruction | SystemZ | CPU | LLVM | 7,251 | 309 | 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::BITCAST",
"ISD::SRL",
"ISD::SRA",
"ISD::ATOMIC_LOAD_ADD",
"ARMISD::ATOMADD64_DAG",
"ISD::ATOMIC_LOAD_AND",
"ARMISD::ATOMAND64_DAG",
"ISD::ATOMIC_LOAD_NAND",
"ARMISD::ATOMNAND64_DAG",
"ISD::ATOMIC_LOAD_OR",
"ARMISD::ATOMOR64_D... | ARMISelLowering141 | ReplaceNodeResults | ARM | CPU | LLVM | 7,252 | 337 | 1 | [] |
[
"<s>",
"StringRef",
"X86TargetLowering",
"::",
"getStackProbeSymbolName",
"(",
"MachineFunction",
"&",
"MF",
")",
"const",
"{",
"if",
"(",
"MF",
".",
"getFunction",
"(",
")",
"->",
"hasFnAttribute",
"(",
"\"probe-stack\"",
")",
")",
"return",
"MF",
".",
"getFu... | [
"Returns",
"the",
"name",
"of",
"the",
"symbol",
"used",
"to",
"emit",
"stack",
"probes",
"or",
"the",
"empty",
"string",
"if",
"not",
"applicable",
"."
] | [
"X86",
"X86",
"\"probe-stack\"",
"\"probe-stack\"",
"\"\"",
"\"___chkstk_ms\"",
"\"__chkstk\"",
"\"_alloca\"",
"\"_chkstk\""
] | X86ISelLowering143 | getStackProbeSymbolName | X86 | CPU | LLVM | 7,253 | 89 | 1 | [] |
[
"<s>",
"AArch64Subtarget",
"::",
"AArch64Subtarget",
"(",
"const",
"std",
"::",
"string",
"&",
"TT",
",",
"const",
"std",
"::",
"string",
"&",
"CPU",
",",
"const",
"std",
"::",
"string",
"&",
"FS",
",",
"const",
"TargetMachine",
"&",
"TM",
",",
"bool",
... | [
"This",
"constructor",
"initializes",
"the",
"data",
"members",
"to",
"match",
"that",
"of",
"the",
"specified",
"triple",
"."
] | [
"AArch64",
"AArch64",
"AArch64",
"AArch64"
] | AArch64Subtarget26 | AArch64Subtarget | AArch64 | CPU | LLVM | 7,254 | 123 | 1 | [] |
[
"<s>",
"static",
"void",
"split_alu_insn",
"(",
"rtx_insn",
"*",
"insn",
",",
"rtx",
"*",
"lhs",
",",
"rtx",
"*",
"rhs1",
",",
"rtx",
"*",
"rhs2",
")",
"{",
"rtx",
"pat",
"=",
"PATTERN",
"(",
"insn",
")",
";",
"gcc_assert",
"(",
"GET_CODE",
"(",
"p... | [
"Splits",
"out",
"the",
"operands",
"of",
"an",
"ALU",
"insn",
",",
"places",
"them",
"in",
"*",
"LHS",
",",
"*",
"RHS1",
",",
"*",
"RHS2",
"."
] | [
"nios2",
"0",
"1"
] | nios2 | split_alu_insn | nios2 | MPU | GCC | 7,255 | 91 | 1 | [] |
[
"<s>",
"bool",
"CSKYAsmPrinter",
"::",
"runOnMachineFunction",
"(",
"MachineFunction",
"&",
"MF",
")",
"{",
"MCP",
"=",
"MF",
".",
"getConstantPool",
"(",
")",
";",
"TII",
"=",
"MF",
".",
"getSubtarget",
"(",
")",
".",
"getInstrInfo",
"(",
")",
";",
"MCS... | [
"runOnMachineFunction",
"-",
"Emit",
"the",
"function",
"body",
"."
] | [
"CSKY",
"CSKY"
] | CSKYAsmPrinter1 | runOnMachineFunction | CSKY | CPU | LLVM | 7,256 | 79 | 1 | [] |
[
"<s>",
"void",
"output_ascii",
"(",
"FILE",
"*",
"file",
",",
"const",
"char",
"*",
"p",
",",
"int",
"size",
")",
"{",
"int",
"i",
";",
"fprintf",
"(",
"file",
",",
"\"\\t.byte \"",
")",
";",
"for",
"(",
"i",
"=",
"0",
";",
"i",
"<",
"size",
";... | [
"Output",
"an",
"assembler",
"pseudo-op",
"to",
"write",
"an",
"ASCII",
"string",
"of",
"N",
"characters",
"starting",
"at",
"P",
"to",
"FILE",
".",
"On",
"the",
"RS/6000",
",",
"we",
"have",
"to",
"do",
"this",
"using",
"the",
".byte",
"operation",
"and... | [
"pdp11",
"\"\\t.byte \"",
"0",
"0",
"256",
"\"%#o\"",
"1"
] | pdp113 | output_ascii | pdp11 | MPU | GCC | 7,257 | 92 | 1 | [] |
[
"<s>",
"void",
"avr_init_cumulative_args",
"(",
"CUMULATIVE_ARGS",
"*",
"cum",
",",
"tree",
"fntype",
",",
"rtx",
"libname",
",",
"tree",
"fndecl",
"ATTRIBUTE_UNUSED",
")",
"{",
"cum",
"->",
"nregs",
"=",
"AVR_TINY",
"?",
"6",
":",
"18",
";",
"cum",
"->",
... | [
"Initializing",
"the",
"variable",
"cum",
"for",
"the",
"state",
"at",
"the",
"beginning",
"of",
"the",
"argument",
"list",
"."
] | [
"avr",
"6",
"18",
"0",
"0"
] | avr | avr_init_cumulative_args | avr | MPU | GCC | 7,258 | 59 | 1 | [] |
[
"<s>",
"void",
"reset",
"(",
")",
"{",
"Inst2Replace",
"=",
"nullptr",
";",
"BackedgeInst",
"=",
"nullptr",
";",
"DepChains",
".",
"clear",
"(",
")",
";",
"Iterations",
"=",
"-",
"1",
";",
"}",
"</s>"
] | [
"Reset",
"an",
"existing",
"scalar",
"value",
"for",
"Def",
"and",
"a",
"given",
"Instance",
"."
] | [
"Hexagon",
"1"
] | HexagonVectorLoopCarriedReuse | reset | Hexagon | DSP | LLVM | 7,259 | 25 | 1 | [] |
[
"<s>",
"bool",
"runOnMachineFunction",
"(",
"MachineFunction",
"&",
"F",
")",
"{",
"LLVM_DEBUG",
"(",
"dbgs",
"(",
")",
"<<",
"\"\\n********** Patmos Delay Slot Filler **********\\n\"",
")",
";",
"LLVM_DEBUG",
"(",
"dbgs",
"(",
")",
"<<",
"\"********** Function: \"",
... | [
"runOnMachineFunction",
"-",
"Emit",
"the",
"function",
"body",
"."
] | [
"Patmos",
"\"\\n********** Patmos Delay Slot Filler **********\\n\"",
"\"********** Function: \"",
"\"**********\\n\"",
"\"\\n********** Finished Patmos Delay Slot Filler **********\\n\"",
"\"********** Function: \"",
"\"**********\\n\""
] | PatmosDelaySlotFiller1 | runOnMachineFunction | Patmos | VLIW | LLVM | 7,260 | 167 | 1 | [] |
[
"<s>",
"bool",
"X86TTIImpl",
"::",
"canMacroFuseCmp",
"(",
")",
"{",
"return",
"ST",
"->",
"hasMacroFusion",
"(",
")",
";",
"}",
"</s>"
] | [
"Return",
"true",
"if",
"the",
"target",
"can",
"fuse",
"a",
"compare",
"and",
"branch",
"."
] | [
"X86",
"X86"
] | X86TargetTransformInfo (2)2 | canMacroFuseCmp | X86 | CPU | LLVM | 7,261 | 15 | 1 | [] |
[
"<s>",
"uint8_t",
"get_ratio",
"(",
")",
"const",
"{",
"return",
"m_ratio",
";",
"}",
"</s>"
] | [
"Get",
"ratio",
"according",
"to",
"machine",
"mode",
"."
] | [
"riscv"
] | riscv-vsetvl | get_ratio | riscv | CPU | GCC | 7,262 | 10 | 1 | [] |
[
"<s>",
"virtual",
"bool",
"isDivergentRegClass",
"(",
"const",
"TargetRegisterClass",
"*",
"RC",
")",
"const",
"override",
"{",
"return",
"!",
"isSGPRClass",
"(",
"RC",
")",
";",
"}",
"</s>"
] | [
"Returns",
"true",
"if",
"the",
"register",
"class",
"is",
"considered",
"divergent",
"."
] | [
"AMDGPU"
] | SIRegisterInfo11 | isDivergentRegClass | AMDGPU | GPU | LLVM | 7,263 | 20 | 1 | [] |
[
"<s>",
"static",
"void",
"extract_devices_dir_from_collect_gcc",
"(",
"char",
"*",
"*",
"devices_loc",
")",
"{",
"char",
"*",
"t_devices_loc",
"=",
"*",
"devices_loc",
";",
"t_devices_loc",
"=",
"msp430_dirname",
"(",
"msp430_dirname",
"(",
"t_devices_loc",
")",
"... | [
"Given",
"the",
"path",
"to",
"the",
"GCC",
"executable",
",",
"return",
"the",
"path",
"to",
"the",
"installed",
"device",
"data",
"in",
"``",
"$",
"TOOLCHAIN_ROOT/msp430-elf/include/devices",
"''",
".",
"Assumes",
"the",
"GCC",
"executable",
"is",
"in",
"``"... | [
"msp430"
] | msp430-devices | extract_devices_dir_from_collect_gcc | msp430 | MPU | GCC | 7,264 | 44 | 1 | [] |
[
"<s>",
"static",
"rtx",
"frv_ifcvt_load_value",
"(",
"rtx",
"value",
",",
"rtx",
"insn",
"ATTRIBUTE_UNUSED",
")",
"{",
"int",
"num_alloc",
"=",
"frv_ifcvt",
".",
"cur_scratch_regs",
";",
"int",
"i",
";",
"rtx",
"reg",
";",
"if",
"(",
"value",
"==",
"const0... | [
"Return",
"a",
"register",
"which",
"will",
"be",
"loaded",
"with",
"a",
"value",
"if",
"an",
"IF",
"block",
"is",
"converted",
"to",
"conditional",
"execution",
".",
"This",
"is",
"used",
"to",
"rewrite",
"instructions",
"that",
"use",
"constants",
"to",
... | [
"frv",
"0",
"\"Too many temporary registers allocated\\n\"",
"\"Could not find a scratch register\\n\"",
"\"Register %s will hold %ld\\n\"",
"\"Register %s will hold LR\\n\"",
"\"Register %s will hold a saved value\\n\""
] | frv2 | frv_ifcvt_load_value | frv | VLIW | GCC | 7,265 | 279 | 1 | [] |
[
"<s>",
"bool",
"SNESAsmParser",
"::",
"MatchAndEmitInstruction",
"(",
"SMLoc",
"Loc",
",",
"unsigned",
"&",
"Opcode",
",",
"OperandVector",
"&",
"Operands",
",",
"MCStreamer",
"&",
"Out",
",",
"uint64_t",
"&",
"ErrorInfo",
",",
"bool",
"MatchingInlineAsm",
")",
... | [
"MatchAndEmitInstruction",
"-",
"Recognize",
"a",
"series",
"of",
"operands",
"of",
"a",
"parsed",
"instruction",
"as",
"an",
"actual",
"MCInst",
"and",
"emit",
"it",
"to",
"the",
"specified",
"MCStreamer",
"."
] | [
"SNES",
"SNES",
"\"invalid instruction\""
] | SNESAsmParser | MatchAndEmitInstruction | SNES | DSP | LLVM | 7,266 | 105 | 1 | [] |
[
"<s>",
"RISCVSubtarget",
"&",
"RISCVSubtarget",
"::",
"initializeSubtargetDependencies",
"(",
"const",
"Triple",
"&",
"TT",
",",
"StringRef",
"CPU",
",",
"StringRef",
"TuneCPU",
",",
"StringRef",
"FS",
",",
"StringRef",
"ABIName",
")",
"{",
"bool",
"Is64Bit",
"=... | [
"initializeSubtargetDependencies",
"-",
"Initializes",
"using",
"a",
"CPU",
",",
"a",
"TuneCPU",
",",
"and",
"feature",
"string",
"so",
"that",
"we",
"can",
"use",
"initializer",
"lists",
"for",
"subtarget",
"initialization",
"."
] | [
"RISCV",
"RISCV",
"RISCV",
"\"generic-rv64\"",
"\"generic-rv32\"",
"\"generic\"",
"\"CPU 'generic' is not supported. Use \"",
"\"generic-rv64\"",
"\"generic-rv32\"",
"MVT::i64",
"64",
"RISCVABI::computeTargetABI",
"RISCVFeatures::validate"
] | RISCVSubtarget | initializeSubtargetDependencies | RISCV | CPU | LLVM | 7,267 | 139 | 1 | [] |
[
"<s>",
"void",
"cmse_nonsecure_entry_clear_before_return",
"(",
"void",
")",
"{",
"bool",
"clear_vfpregs",
"=",
"TARGET_HARD_FLOAT",
"||",
"TARGET_HAVE_FPCXT_CMSE",
";",
"int",
"regno",
",",
"maxregno",
"=",
"clear_vfpregs",
"?",
"LAST_VFP_REGNUM",
":",
"IP_REGNUM",
"... | [
"Clear",
"caller",
"saved",
"registers",
"not",
"used",
"to",
"pass",
"return",
"values",
"and",
"leaked",
"condition",
"flags",
"before",
"exiting",
"a",
"cmse_nonsecure_entry",
"function",
"."
] | [
"arm",
"0",
"1",
"1",
"4",
"4",
"0",
"0",
"1ULL",
"0",
"1",
"1",
"1"
] | arm | cmse_nonsecure_entry_clear_before_return | arm | CPU | GCC | 7,268 | 405 | 1 | [] |
[
"<s>",
"const",
"MCPhysReg",
"*",
"Z80RegisterInfo",
"::",
"getCalleeSavedRegs",
"(",
"const",
"MachineFunction",
"*",
"MF",
")",
"const",
"{",
"switch",
"(",
"MF",
"->",
"getFunction",
"(",
")",
".",
"getCallingConv",
"(",
")",
")",
"{",
"default",
":",
"... | [
"Code",
"Generation",
"virtual",
"methods",
"..."
] | [
"Z80",
"Z80",
"\"Unsupported calling convention\"",
"Z80",
"Z80"
] | Z80RegisterInfo1 | getCalleeSavedRegs | Z80 | MPU | LLVM | 7,269 | 57 | 1 | [] |
[
"<s>",
"bool",
"arm_coproc_builtin_available",
"(",
"enum",
"unspecv",
"builtin",
")",
"{",
"if",
"(",
"TARGET_THUMB1",
")",
"return",
"false",
";",
"switch",
"(",
"builtin",
")",
"{",
"case",
"VUNSPEC_CDP",
":",
"case",
"VUNSPEC_LDC",
":",
"case",
"VUNSPEC_LD... | [
"This",
"function",
"checks",
"for",
"the",
"availability",
"of",
"the",
"coprocessor",
"builtin",
"passed",
"in",
"BUILTIN",
"for",
"the",
"current",
"target",
".",
"Returns",
"true",
"if",
"it",
"is",
"available",
"and",
"false",
"otherwise",
".",
"If",
"a... | [
"arm"
] | arm | arm_coproc_builtin_available | arm | CPU | GCC | 7,270 | 123 | 1 | [] |
[
"<s>",
"static",
"bool",
"csky_legitimate_address_p",
"(",
"machine_mode",
"mode",
",",
"rtx",
"addr",
",",
"bool",
"strict_p",
")",
"{",
"enum",
"rtx_code",
"code",
"=",
"GET_CODE",
"(",
"addr",
")",
";",
"if",
"(",
"reload_completed",
"&&",
"(",
"(",
"co... | [
"Implement",
"TARGET_LEGITIMATE_ADDRESS_P",
".",
"Recognizes",
"RTL",
"expressions",
"that",
"are",
"valid",
"memory",
"addresses",
"for",
"an",
"instruction",
".",
"The",
"MODE",
"argument",
"is",
"the",
"machine",
"mode",
"for",
"the",
"MEM",
"expression",
"that... | [
"csky",
"0",
"0",
"0",
"0",
"1",
"1",
"1",
"1",
"0",
"1",
"0"
] | csky | csky_legitimate_address_p | csky | CPU | GCC | 7,271 | 184 | 1 | [] |
[
"<s>",
"bool",
"AMDGPUPassConfig",
"::",
"addPreEmitPass",
"(",
")",
"{",
"const",
"AMDGPUSubtarget",
"&",
"ST",
"=",
"TM",
"->",
"getSubtarget",
"<",
"AMDGPUSubtarget",
">",
"(",
")",
";",
"if",
"(",
"ST",
".",
"getGeneration",
"(",
")",
"<=",
"AMDGPUSubt... | [
"This",
"pass",
"may",
"be",
"implemented",
"by",
"targets",
"that",
"want",
"to",
"run",
"passes",
"immediately",
"before",
"machine",
"code",
"is",
"emitted",
"."
] | [
"R600",
"SI"
] | AMDGPUTargetMachine27 | addPreEmitPass | R600 | GPU | LLVM | 7,272 | 102 | 1 | [] |
[
"<s>",
"bool",
"FPGATTIImpl",
"::",
"shouldBuildLookupTables",
"(",
")",
"{",
"return",
"false",
";",
"}",
"</s>"
] | [
"Return",
"true",
"if",
"switches",
"should",
"be",
"turned",
"into",
"lookup",
"tables",
"for",
"the",
"target",
"."
] | [
"FPGA",
"FPGA"
] | FPGATargetTransformInfo | shouldBuildLookupTables | FPGA | CPU | LLVM | 7,273 | 11 | 1 | [] |
[
"<s>",
"uint64_t",
"flags",
"(",
")",
"const",
"{",
"return",
"llvm",
"::",
"ELF",
"::",
"EF_ARM_EABI_VER5",
";",
"}",
"</s>"
] | [
"Get",
"the",
"flags",
"for",
"this",
"GlobalValue",
"(",
"see",
"struct",
"GVFlags",
")",
"."
] | [
"ARM",
"ARM"
] | ARMGNUInfo | flags | ARM | CPU | LLVM | 7,274 | 14 | 1 | [] |
[
"<s>",
"const",
"char",
"*",
"getPassName",
"(",
")",
"const",
"override",
"{",
"return",
"\"A57 FP Anti-dependency breaker\"",
";",
"}",
"</s>"
] | [
"getPassName",
"-",
"Return",
"a",
"nice",
"clean",
"name",
"for",
"a",
"pass",
"."
] | [
"AArch64",
"\"A57 FP Anti-dependency breaker\""
] | AArch64A57FPLoadBalancing | getPassName | AArch64 | CPU | LLVM | 7,275 | 13 | 1 | [] |
[
"<s>",
"Instruction",
"*",
"ARMTargetLowering",
"::",
"emitLeadingFence",
"(",
"IRBuilder",
"<",
">",
"&",
"Builder",
",",
"Instruction",
"*",
"Inst",
",",
"AtomicOrdering",
"Ord",
")",
"const",
"{",
"switch",
"(",
"Ord",
")",
"{",
"case",
"AtomicOrdering",
... | [
"Custom",
"Lower",
"{",
"."
] | [
"ARM",
"ARM",
"\"Invalid fence: unordered/non-atomic\"",
"ARM_MB::ISHST",
"ARM_MB::ISH",
"\"Unknown fence ordering in emitLeadingFence\""
] | ARMISelLowering (2)6 | emitLeadingFence | ARM | CPU | LLVM | 7,276 | 119 | 1 | [] |
[
"<s>",
"static",
"void",
"s390_reorg",
"(",
"void",
")",
"{",
"bool",
"pool_overflow",
"=",
"false",
";",
"int",
"hw_before",
",",
"hw_after",
";",
"if",
"(",
"s390_tune",
"==",
"PROCESSOR_2964_Z13",
")",
"s390_adjust_loops",
"(",
")",
";",
"split_all_insns_no... | [
"Perform",
"machine-dependent",
"processing",
"."
] | [
"s390",
"0",
"1",
"1",
"0",
"0",
"0",
"3",
"3",
"2",
"2",
"1"
] | s3907 | s390_reorg | s390 | MPU | GCC | 7,277 | 509 | 1 | [] |
[
"<s>",
"iterator",
"begin",
"(",
")",
"const",
"{",
"return",
"SubExceptions",
".",
"begin",
"(",
")",
";",
"}",
"</s>"
] | [
"Recipe",
"iterator",
"methods",
"."
] | [
"WebAssembly"
] | WebAssemblyExceptionInfo | begin | WebAssembly | Virtual ISA | LLVM | 7,278 | 14 | 1 | [] |
[
"<s>",
"void",
"addExpr",
"(",
"MCInst",
"&",
"Inst",
",",
"const",
"MCExpr",
"*",
"Expr",
")",
"const",
"{",
"if",
"(",
"!",
"Expr",
")",
"Inst",
".",
"addOperand",
"(",
"MCOperand",
"::",
"createImm",
"(",
"0",
")",
")",
";",
"else",
"if",
"(",
... | [
"Add",
"a",
"new",
"MCExpr",
"operand",
"."
] | [
"MCS51",
"0"
] | MCS51AsmParser | addExpr | MCS51 | MPU | LLVM | 7,279 | 77 | 1 | [] |
[
"<s>",
"static",
"int",
"mips_mode_rep_extended",
"(",
"scalar_int_mode",
"mode",
",",
"scalar_int_mode",
"mode_rep",
")",
"{",
"if",
"(",
"TARGET_64BIT",
"&&",
"mode",
"==",
"SImode",
"&&",
"mode_rep",
"==",
"DImode",
")",
"return",
"SIGN_EXTEND",
";",
"return"... | [
"Implement",
"TARGET_MODE_REP_EXTENDED",
"."
] | [
"mips"
] | mips | mips_mode_rep_extended | mips | CPU | GCC | 7,280 | 30 | 1 | [] |
[
"<s>",
"StringRef",
"AArch64MCExpr",
"::",
"getVariantKindName",
"(",
")",
"const",
"{",
"switch",
"(",
"static_cast",
"<",
"uint32_t",
">",
"(",
"getKind",
"(",
")",
")",
")",
"{",
"case",
"VK_CALL",
":",
"return",
"\"\"",
";",
"case",
"VK_LO12",
":",
"... | [
"Convert",
"the",
"variant",
"kind",
"into",
"an",
"ELF-appropriate",
"modifier",
"(",
"e.g",
"."
] | [
"AArch64",
"AArch64",
"\"\"",
"\":lo12:\"",
"\":abs_g3:\"",
"\":abs_g2:\"",
"\":abs_g2_s:\"",
"\":abs_g2_nc:\"",
"\":abs_g1:\"",
"\":abs_g1_s:\"",
"\":abs_g1_nc:\"",
"\":abs_g0:\"",
"\":abs_g0_s:\"",
"\":abs_g0_nc:\"",
"\":dtprel_g2:\"",
"\":dtprel_g1:\"",
"\":dtprel_g1_nc:\"",
"\"... | AArch64MCExpr26 | getVariantKindName | AArch64 | CPU | LLVM | 7,281 | 288 | 1 | [] |
[
"<s>",
"static",
"int",
"elf_dcachebsize",
"(",
"void",
")",
"{",
"int",
"fd",
";",
"fd",
"=",
"open",
"(",
"\"/proc/self/auxv\"",
",",
"O_RDONLY",
")",
";",
"if",
"(",
"fd",
"!=",
"-",
"1",
")",
"{",
"char",
"buf",
"[",
"1024",
"]",
";",
"ElfW",
... | [
"Returns",
"AT_DCACHEBSIZE",
"if",
"present",
",",
"otherwise",
"generic",
"32",
"."
] | [
"rs6000",
"\"/proc/self/auxv\"",
"1",
"1024",
"0"
] | driver-rs6000 | elf_dcachebsize | rs6000 | CPU | GCC | 7,282 | 115 | 1 | [] |
[
"<s>",
"HexagonSubtarget",
"&",
"HexagonSubtarget",
"::",
"initializeSubtargetDependencies",
"(",
"StringRef",
"CPU",
",",
"StringRef",
"FS",
")",
"{",
"static",
"std",
"::",
"map",
"<",
"StringRef",
",",
"Hexagon",
"::",
"ArchEnum",
">",
"CpuTable",
"{",
"{",
... | [
"initializeSubtargetDependencies",
"-",
"Initializes",
"using",
"a",
"CPU",
",",
"a",
"TuneCPU",
",",
"and",
"feature",
"string",
"so",
"that",
"we",
"can",
"use",
"initializer",
"lists",
"for",
"subtarget",
"initialization",
"."
] | [
"Hexagon",
"Hexagon",
"Hexagon",
"Hexagon::ArchEnum",
"\"generic\"",
"Hexagon::ArchEnum",
"\"hexagonv5\"",
"Hexagon::ArchEnum",
"\"hexagonv55\"",
"Hexagon::ArchEnum",
"\"hexagonv60\"",
"Hexagon::ArchEnum",
"\"hexagonv62\"",
"Hexagon::ArchEnum",
"\"hexagonv65\"",
"Hexagon::ArchEnum",
... | HexagonSubtarget3 | initializeSubtargetDependencies | Hexagon | DSP | LLVM | 7,283 | 207 | 1 | [] |
[
"<s>",
"bool",
"HexagonInstrInfo",
"::",
"getBaseAndOffsetPosition",
"(",
"const",
"MachineInstr",
"&",
"MI",
",",
"unsigned",
"&",
"BasePos",
",",
"unsigned",
"&",
"OffsetPos",
")",
"const",
"{",
"if",
"(",
"isMemOp",
"(",
"MI",
")",
")",
"{",
"BasePos",
... | [
"Return",
"true",
"if",
"the",
"instruction",
"contains",
"a",
"base",
"register",
"and",
"offset",
"."
] | [
"Hexagon",
"Hexagon",
"0",
"1",
"0",
"1",
"1",
"2"
] | HexagonInstrInfo10 | getBaseAndOffsetPosition | Hexagon | DSP | LLVM | 7,284 | 142 | 1 | [] |
[
"<s>",
"BitVector",
"HexagonRegisterInfo",
"::",
"getReservedRegs",
"(",
"const",
"MachineFunction",
"&",
"MF",
")",
"const",
"{",
"BitVector",
"Reserved",
"(",
"getNumRegs",
"(",
")",
")",
";",
"Reserved",
".",
"set",
"(",
"Hexagon",
"::",
"R29",
")",
";",
... | [
"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",
"... | [
"Hexagon",
"Hexagon",
"Hexagon::R29",
"Hexagon::R30",
"Hexagon::R31",
"Hexagon::SA0",
"Hexagon::LC0",
"Hexagon::SA1",
"Hexagon::LC1",
"Hexagon::USR",
"Hexagon::PC",
"Hexagon::UGP",
"Hexagon::GP",
"Hexagon::CS0",
"Hexagon::CS1",
"Hexagon::C8",
"Hexagon::USR_OVF",
"0"
] | HexagonRegisterInfo20 | getReservedRegs | Hexagon | DSP | LLVM | 7,285 | 190 | 1 | [] |
[
"<s>",
"bool",
"AArch64TargetLowering",
"::",
"isOffsetFoldingLegal",
"(",
"const",
"GlobalAddressSDNode",
"*",
"GA",
")",
"const",
"{",
"if",
"(",
"!",
"getTargetMachine",
"(",
")",
".",
"getTargetTriple",
"(",
")",
".",
"isOSBinFormatELF",
"(",
")",
")",
"re... | [
"Return",
"true",
"if",
"folding",
"a",
"constant",
"offset",
"with",
"the",
"given",
"GlobalAddress",
"is",
"legal",
"."
] | [
"AArch64",
"AArch64",
"AArch64II::MO_NO_FLAG"
] | AArch64ISelLowering153 | isOffsetFoldingLegal | AArch64 | CPU | LLVM | 7,286 | 51 | 1 | [] |
[
"<s>",
"unsigned",
"MipsRegisterInfo",
"::",
"getFrameRegister",
"(",
"const",
"MachineFunction",
"&",
"MF",
")",
"const",
"{",
"const",
"TargetFrameLowering",
"*",
"TFI",
"=",
"Subtarget",
".",
"getFrameLowering",
"(",
")",
";",
"bool",
"IsN64",
"=",
"static_ca... | [
"Debug",
"information",
"queries",
"."
] | [
"Mips",
"Mips",
"Mips",
"Mips",
"Mips::S0",
"Mips::SP",
"Mips::FP_64",
"Mips::FP",
"Mips::SP_64",
"Mips::SP"
] | MipsRegisterInfo32 | getFrameRegister | Mips | CPU | LLVM | 7,287 | 106 | 1 | [] |
[
"<s>",
"static",
"unsigned",
"findDeadCallerSavedReg",
"(",
"MachineBasicBlock",
"&",
"MBB",
",",
"MachineBasicBlock",
"::",
"iterator",
"&",
"MBBI",
",",
"const",
"TargetRegisterInfo",
"&",
"TRI",
",",
"bool",
"Is64Bit",
")",
"{",
"const",
"MachineFunction",
"*",... | [
"findDeadCallerSavedReg",
"-",
"Return",
"a",
"caller-saved",
"register",
"that",
"is",
"n't",
"live",
"when",
"it",
"reaches",
"the",
"``",
"return",
"''",
"instruction",
"."
] | [
"X86",
"0",
"X86::EAX",
"X86::EDX",
"X86::ECX",
"0",
"X86::RAX",
"X86::RDX",
"X86::RCX",
"X86::RSI",
"X86::RDI",
"X86::R8",
"X86::R9",
"X86::R10",
"X86::R11",
"0",
"0",
"X86::RETL",
"X86::RETQ",
"X86::RETIL",
"X86::RETIQ",
"X86::TCRETURNdi",
"X86::TCRETURNri",
"X86::TCR... | X86FrameLowering109 | findDeadCallerSavedReg | X86 | CPU | LLVM | 7,288 | 365 | 1 | [] |
[
"<s>",
"static",
"AMDGPUOperand",
"::",
"Ptr",
"CreateReg",
"(",
"unsigned",
"RegNo",
",",
"SMLoc",
"S",
",",
"SMLoc",
"E",
",",
"const",
"MCRegisterInfo",
"*",
"TRI",
",",
"const",
"MCSubtargetInfo",
"*",
"STI",
",",
"bool",
"ForceVOP3",
")",
"{",
"auto",... | [
"CreateReg",
"-",
"Allocate",
"a",
"single",
"virtual",
"register",
"for",
"the",
"given",
"type",
"."
] | [
"AMDGPU",
"AMDGPU",
"AMDGPU"
] | AMDGPUAsmParser10 | CreateReg | AMDGPU | GPU | LLVM | 7,289 | 104 | 1 | [] |
[
"<s>",
"SDValue",
"MSP430TargetLowering",
"::",
"LowerReturn",
"(",
"SDValue",
"Chain",
",",
"CallingConv",
"::",
"ID",
"CallConv",
",",
"bool",
"isVarArg",
",",
"const",
"SmallVectorImpl",
"<",
"ISD",
"::",
"OutputArg",
">",
"&",
"Outs",
",",
"const",
"SmallV... | [
"This",
"hook",
"must",
"be",
"implemented",
"to",
"lower",
"outgoing",
"return",
"values",
",",
"described",
"by",
"the",
"Outs",
"array",
",",
"into",
"the",
"specified",
"DAG",
"."
] | [
"MSP430",
"MSP430",
"ISD::OutputArg",
"16",
"MSP430",
"\"ISRs cannot return any value\"",
"MSP430",
"0",
"0",
"\"Can only return in registers!\"",
"1",
"MSP430",
"MSP430ISD::RETI_FLAG",
"MSP430ISD::RET_FLAG",
"MVT::Other",
"MVT::Other"
] | MSP430ISelLowering20 | LowerReturn | MSP430 | MPU | LLVM | 7,290 | 315 | 1 | [] |
[
"<s>",
"TargetLowering",
"::",
"AtomicExpansionKind",
"AArch64TargetLowering",
"::",
"shouldExpandAtomicCmpXchgInIR",
"(",
"AtomicCmpXchgInst",
"*",
"AI",
")",
"const",
"{",
"if",
"(",
"Subtarget",
"->",
"hasLSE",
"(",
")",
")",
"return",
"AtomicExpansionKind",
"::",
... | [
"Returns",
"how",
"the",
"given",
"atomic",
"cmpxchg",
"should",
"be",
"expanded",
"by",
"the",
"IR-level",
"AtomicExpand",
"pass",
"."
] | [
"AArch64",
"AArch64"
] | AArch64ISelLowering129 | shouldExpandAtomicCmpXchgInIR | AArch64 | CPU | LLVM | 7,291 | 51 | 1 | [] |
[
"<s>",
"bool",
"ARMCallLowering",
"::",
"lowerCall",
"(",
"MachineIRBuilder",
"&",
"MIRBuilder",
",",
"const",
"MachineOperand",
"&",
"Callee",
",",
"const",
"ArgInfo",
"&",
"OrigRet",
",",
"ArrayRef",
"<",
"ArgInfo",
">",
"OrigArgs",
")",
"const",
"{",
"Machi... | [
"This",
"hook",
"must",
"be",
"implemented",
"to",
"lower",
"the",
"given",
"call",
"instruction",
",",
"including",
"argument",
"and",
"return",
"value",
"marshalling",
"."
] | [
"ARM",
"ARM",
"ARM",
"ARM",
"ARM::ADJCALLSTACKDOWN",
"0",
"ARMCC::AL",
"ARM::BLX",
"8",
"ARM::ADJCALLSTACKUP",
"0",
"0",
"ARMCC::AL"
] | ARMCallLowering18 | lowerCall | ARM | CPU | LLVM | 7,292 | 390 | 1 | [] |
[
"<s>",
"static",
"bool",
"is_branch_slot_insn",
"(",
"rtx_insn",
"*",
"insn",
")",
"{",
"if",
"(",
"!",
"insn",
"||",
"!",
"NONDEBUG_INSN_P",
"(",
"insn",
")",
"||",
"GET_CODE",
"(",
"PATTERN",
"(",
"insn",
")",
")",
"==",
"USE",
"||",
"GET_CODE",
"(",... | [
"The",
"function",
"returns",
"true",
"if",
"INSN",
"can",
"be",
"issued",
"only",
"from",
"the",
"branch",
"slot",
"."
] | [
"rs6000"
] | rs6000 | is_branch_slot_insn | rs6000 | CPU | GCC | 7,293 | 78 | 1 | [] |
[
"<s>",
"MachineSDNode",
"*",
"SITargetLowering",
"::",
"buildRSRC",
"(",
"SelectionDAG",
"&",
"DAG",
",",
"const",
"SDLoc",
"&",
"DL",
",",
"SDValue",
"Ptr",
",",
"uint32_t",
"RsrcDword1",
",",
"uint64_t",
"RsrcDword2And3",
")",
"const",
"{",
"SDValue",
"PtrLo... | [
"Return",
"a",
"resource",
"descriptor",
"with",
"the",
"'Add",
"TID",
"'",
"bit",
"enabled",
"The",
"TID",
"(",
"Thread",
"ID",
")",
"is",
"multiplied",
"by",
"the",
"stride",
"value",
"(",
"bits",
"[",
"61:48",
"]",
"of",
"the",
"resource",
"descriptor... | [
"AMDGPU",
"SI",
"AMDGPU::sub0",
"MVT::i32",
"AMDGPU::sub1",
"MVT::i32",
"AMDGPU::S_OR_B32",
"MVT::i32",
"MVT::i32",
"0",
"0xFFFFFFFF",
"32",
"AMDGPU::SReg_128RegClassID",
"MVT::i32",
"AMDGPU::sub0",
"MVT::i32",
"AMDGPU::sub1",
"MVT::i32",
"AMDGPU::sub2",
"MVT::i32",
"AMDGPU::... | SIISelLowering (2)3 | buildRSRC | AMDGPU | GPU | LLVM | 7,294 | 250 | 1 | [] |
[
"<s>",
"unsigned",
"RISCVInstrInfo",
"::",
"isStoreToStackSlot",
"(",
"const",
"MachineInstr",
"&",
"MI",
",",
"int",
"&",
"FrameIndex",
")",
"const",
"{",
"switch",
"(",
"MI",
".",
"getOpcode",
"(",
")",
")",
"{",
"default",
":",
"return",
"0",
";",
"ca... | [
"isStoreToStackSlot",
"-",
"If",
"the",
"specified",
"machine",
"instruction",
"is",
"a",
"direct",
"store",
"to",
"a",
"stack",
"slot",
",",
"return",
"the",
"virtual",
"or",
"physical",
"register",
"number",
"of",
"the",
"source",
"reg",
"along",
"with",
"... | [
"RISCV",
"RISCV",
"0",
"RISCV::SB",
"RISCV::SH",
"RISCV::SW",
"RISCV::FSW",
"RISCV::SD",
"RISCV::FSD",
"1",
"2",
"2",
"0",
"1",
"0",
"0"
] | RISCVInstrInfo11 | isStoreToStackSlot | RISCV | CPU | LLVM | 7,295 | 131 | 1 | [] |
[
"<s>",
"void",
"cris_asm_output_symbol_ref",
"(",
"FILE",
"*",
"file",
",",
"rtx",
"x",
")",
"{",
"gcc_assert",
"(",
"GET_CODE",
"(",
"x",
")",
"==",
"SYMBOL_REF",
")",
";",
"if",
"(",
"flag_pic",
"&&",
"in_code",
">",
"0",
")",
"{",
"const",
"char",
... | [
"Worker",
"function",
"for",
"ASM_OUTPUT_SYMBOL_REF",
"."
] | [
"cris",
"0",
"0",
"\"PIC register isn't set up\"",
"0"
] | cris3 | cris_asm_output_symbol_ref | cris | MPU | GCC | 7,296 | 91 | 1 | [] |
[
"<s>",
"static",
"void",
"nds32_asm_function_begin_epilogue",
"(",
"FILE",
"*",
"file",
")",
"{",
"if",
"(",
"!",
"frame_pointer_needed",
"&&",
"!",
"cfun",
"->",
"machine",
"->",
"naked_p",
"&&",
"cfun",
"->",
"machine",
"->",
"fp_as_gp_p",
")",
"{",
"fprin... | [
"Before",
"rtl",
"epilogue",
"has",
"been",
"expanded",
",",
"this",
"function",
"is",
"used",
"."
] | [
"nds32",
"\"\\t! ----------------------------------------\\n\"",
"\"\\t! Claim the range of fp-as-gp \"",
"\"link time optimization\\n\"",
"\"\\t.omit_fp_end\\n\"",
"\"\\t! ----------------------------------------\\n\"",
"\"\\t! BEGIN EPILOGUE\\n\""
] | nds322 | nds32_asm_function_begin_epilogue | nds32 | CPU | GCC | 7,297 | 66 | 1 | [] |
[
"<s>",
"static",
"void",
"mt_debug_stack",
"(",
"struct",
"mt_frame_info",
"*",
"info",
")",
"{",
"int",
"regno",
";",
"if",
"(",
"!",
"info",
")",
"{",
"error",
"(",
"\"info pointer NULL\"",
")",
";",
"gcc_unreachable",
"(",
")",
";",
"}",
"fprintf",
"(... | [
"Print",
"debugging",
"information",
"for",
"a",
"frame",
"."
] | [
"mt",
"\"info pointer NULL\"",
"\"\\nStack information for function %s:\\n\"",
"\"<unknown>\"",
"\"\\ttotal_size = %d\\n\"",
"\"\\tpretend_size = %d\\n\"",
"\"\\targs_size = %d\\n\"",
"\"\\textra_size = %d\\n\"",
"\"\\treg_size = %d\\n\"",
"\"\\tvar_size = %d... | mt | mt_debug_stack | mt | CPU | GCC | 7,298 | 235 | 1 | [] |
[
"<s>",
"static",
"bool",
"expand_vec_perm_vpshufb2_vpermq_even_odd",
"(",
"struct",
"expand_vec_perm_d",
"*",
"d",
")",
"{",
"rtx",
"rperm",
"[",
"2",
"]",
"[",
"32",
"]",
",",
"vperm",
",",
"l",
",",
"h",
",",
"ior",
",",
"op",
",",
"m128",
";",
"unsi... | [
"A",
"subroutine",
"of",
"expand_vec_perm_even_odd_1",
".",
"Implement",
"extract-even",
"and",
"extract-odd",
"permutations",
"of",
"two",
"V32QImode",
"and",
"V16QImode",
"operand",
"with",
"two",
"vpshufb",
"insns",
",",
"vpor",
"and",
"vpermq",
".",
"We",
"sho... | [
"i386",
"2",
"32",
"0",
"2",
"3",
"2",
"128",
"0",
"2",
"1",
"4",
"3",
"4",
"24",
"0",
"0",
"1",
"32",
"0",
"32",
"1",
"3"
] | i3864 | expand_vec_perm_vpshufb2_vpermq_even_odd | i386 | CPU | GCC | 7,299 | 463 | 1 | [] |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.