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",
"X86RegisterInfo",
"::",
"eliminateCallFramePseudoInstr",
"(",
"MachineFunction",
"&",
"MF",
",",
"MachineBasicBlock",
"&",
"MBB",
",",
"MachineBasicBlock",
"::",
"iterator",
"I",
")",
"const",
"{",
"const",
"TargetFrameLowering",
"*",
"TFI",
"=",
"... | [
"This",
"method",
"is",
"called",
"during",
"prolog/epilog",
"code",
"insertion",
"to",
"eliminate",
"call",
"frame",
"setup",
"and",
"destroy",
"pseudo",
"instructions",
"(",
"but",
"only",
"if",
"the",
"Target",
"is",
"using",
"them",
")",
"."
] | [
"X86",
"X86",
"0",
"0",
"1",
"0",
"0",
"1",
"0",
"3",
"3"
] | X86RegisterInfo34 | eliminateCallFramePseudoInstr | X86 | CPU | LLVM | 9,800 | 357 | 1 | [] |
[
"<s>",
"void",
"XCoreMCInstLower",
"::",
"Initialize",
"(",
"MCContext",
"*",
"C",
")",
"{",
"Ctx",
"=",
"C",
";",
"}",
"</s>"
] | [
"This",
"method",
"must",
"be",
"called",
"before",
"any",
"actual",
"lowering",
"is",
"done",
"."
] | [
"XCore",
"XCore"
] | XCoreMCInstLower12 | Initialize | XCore | MPU | LLVM | 9,801 | 15 | 1 | [] |
[
"<s>",
"const",
"char",
"*",
"arithmetic_instr",
"(",
"rtx",
"op",
",",
"int",
"shift_first_arg",
")",
"{",
"switch",
"(",
"GET_CODE",
"(",
"op",
")",
")",
"{",
"case",
"PLUS",
":",
"return",
"\"add\"",
";",
"case",
"MINUS",
":",
"return",
"shift_first_a... | [
"Return",
"the",
"appropriate",
"ARM",
"instruction",
"for",
"the",
"operation",
"code",
".",
"The",
"returned",
"result",
"should",
"not",
"be",
"overwritten",
".",
"OP",
"is",
"the",
"rtx",
"of",
"the",
"operation",
".",
"SHIFT_FIRST_ARG",
"is",
"TRUE",
"i... | [
"arm",
"\"add\"",
"\"rsb\"",
"\"sub\"",
"\"orr\"",
"\"eor\"",
"\"and\""
] | arm3 | arithmetic_instr | arm | CPU | GCC | 9,802 | 62 | 1 | [] |
[
"<s>",
"std",
"::",
"pair",
"<",
"unsigned",
",",
"const",
"TargetRegisterClass",
"*",
">",
"CAHPTargetLowering",
"::",
"getRegForInlineAsmConstraint",
"(",
"const",
"TargetRegisterInfo",
"*",
"TRI",
",",
"StringRef",
"Constraint",
",",
"MVT",
"VT",
")",
"const",
... | [
"Given",
"a",
"physical",
"register",
"constraint",
"(",
"e.g",
"."
] | [
"CAHP",
"CAHP",
"1",
"0",
"0U",
"CAHP::GPRRegClass"
] | CAHPISelLowering | getRegForInlineAsmConstraint | CAHP | CPU | LLVM | 9,803 | 81 | 1 | [] |
[
"<s>",
"bool",
"aarch64_masks_and_shift_for_bfi_p",
"(",
"scalar_int_mode",
"mode",
",",
"unsigned",
"HOST_WIDE_INT",
"mask1",
",",
"unsigned",
"HOST_WIDE_INT",
"shft_amnt",
",",
"unsigned",
"HOST_WIDE_INT",
"mask2",
")",
"{",
"unsigned",
"HOST_WIDE_INT",
"t",
";",
"i... | [
"Return",
"true",
"if",
"the",
"masks",
"and",
"a",
"shift",
"amount",
"from",
"an",
"RTX",
"of",
"the",
"form",
"(",
"(",
"x",
"&",
"MASK1",
")",
"|",
"(",
"(",
"y",
"<",
"<",
"SHIFT_AMNT",
")",
"&",
"MASK2",
")",
")",
"are",
"valid",
"to",
"c... | [
"aarch64",
"0"
] | aarch64 | aarch64_masks_and_shift_for_bfi_p | aarch64 | CPU | GCC | 9,804 | 79 | 1 | [] |
[
"<s>",
"bool",
"X86FastISel",
"::",
"tryToFoldLoadIntoMI",
"(",
"MachineInstr",
"*",
"MI",
",",
"unsigned",
"OpNo",
",",
"const",
"LoadInst",
"*",
"LI",
")",
"{",
"const",
"Value",
"*",
"Ptr",
"=",
"LI",
"->",
"getPointerOperand",
"(",
")",
";",
"X86Addres... | [
"The",
"specified",
"machine",
"instr",
"operand",
"is",
"a",
"vreg",
",",
"and",
"that",
"vreg",
"is",
"being",
"provided",
"by",
"the",
"specified",
"load",
"instruction",
"."
] | [
"X86",
"X86",
"X86",
"X86",
"X86",
"X86",
"8",
"0"
] | X86FastISel121 | tryToFoldLoadIntoMI | X86 | CPU | LLVM | 9,805 | 292 | 1 | [] |
[
"<s>",
"bool",
"ARMWinCOFFObjectWriter",
"::",
"recordRelocation",
"(",
"const",
"MCFixup",
"&",
"Fixup",
")",
"const",
"{",
"return",
"static_cast",
"<",
"unsigned",
">",
"(",
"Fixup",
".",
"getKind",
"(",
")",
")",
"!=",
"ARM",
"::",
"fixup_t2_movt_hi16",
... | [
"Record",
"a",
"relocation",
"entry",
"."
] | [
"ARM",
"ARM",
"ARM::fixup_t2_movt_hi16"
] | ARMWinCOFFObjectWriter | recordRelocation | ARM | CPU | LLVM | 9,806 | 30 | 1 | [] |
[
"<s>",
"static",
"rtx",
"ix86_delegitimize_tls_address",
"(",
"rtx",
"orig_x",
")",
"{",
"rtx",
"x",
"=",
"orig_x",
",",
"unspec",
";",
"struct",
"ix86_address",
"addr",
";",
"if",
"(",
"!",
"TARGET_TLS_DIRECT_SEG_REFS",
")",
"return",
"orig_x",
";",
"if",
"... | [
"Helper",
"function",
"for",
"ix86_delegitimize_address",
".",
"Attempt",
"to",
"delegitimize",
"TLS",
"local-exec",
"accesses",
"."
] | [
"i386",
"0",
"0",
"0",
"1",
"0",
"1",
"0",
"0",
"0",
"0",
"1",
"1"
] | i386 | ix86_delegitimize_tls_address | i386 | CPU | GCC | 9,807 | 304 | 1 | [] |
[
"<s>",
"static",
"int",
"unspec_cdot",
"(",
"int",
"rot",
")",
"{",
"switch",
"(",
"rot",
")",
"{",
"case",
"0",
":",
"return",
"UNSPEC_CDOT",
";",
"case",
"90",
":",
"return",
"UNSPEC_CDOT90",
";",
"case",
"180",
":",
"return",
"UNSPEC_CDOT180",
";",
... | [
"Return",
"the",
"UNSPEC_CDOT",
"*",
"unspec",
"for",
"rotation",
"amount",
"ROT",
"."
] | [
"aarch64",
"0",
"90",
"180",
"270"
] | aarch64-sve-builtins-sve2 | unspec_cdot | aarch64 | CPU | GCC | 9,808 | 45 | 1 | [] |
[
"<s>",
"static",
"void",
"nvptx_function_arg_advance",
"(",
"cumulative_args_t",
"cum_v",
",",
"const",
"function_arg_info",
"&",
")",
"{",
"CUMULATIVE_ARGS",
"*",
"cum",
"=",
"get_cumulative_args",
"(",
"cum_v",
")",
";",
"cum",
"->",
"count",
"++",
";",
"}",
... | [
"Implement",
"TARGET_FUNCTION_ARG_ADVANCE",
"."
] | [
"nvptx"
] | nvptx | nvptx_function_arg_advance | nvptx | GPU | GCC | 9,809 | 27 | 1 | [] |
[
"<s>",
"int",
"AMDGPUFrameLowering",
"::",
"getFrameIndexReference",
"(",
"const",
"MachineFunction",
"&",
"MF",
",",
"int",
"FI",
",",
"unsigned",
"&",
"FrameReg",
")",
"const",
"{",
"const",
"MachineFrameInfo",
"*",
"MFI",
"=",
"MF",
".",
"getFrameInfo",
"("... | [
"getFrameIndexReference",
"-",
"This",
"method",
"should",
"return",
"the",
"base",
"register",
"and",
"offset",
"used",
"to",
"reference",
"a",
"frame",
"index",
"location",
"."
] | [
"AMDGPU",
"AMDGPU",
"AMDGPU",
"AMDGPU",
"2",
"4",
"1",
"4",
"1",
"4"
] | AMDGPUFrameLowering3 | getFrameIndexReference | AMDGPU | GPU | LLVM | 9,810 | 173 | 1 | [] |
[
"<s>",
"static",
"enum",
"attr_type",
"type_for_anomaly",
"(",
"rtx_insn",
"*",
"insn",
")",
"{",
"rtx",
"pat",
"=",
"PATTERN",
"(",
"insn",
")",
";",
"if",
"(",
"rtx_sequence",
"*",
"seq",
"=",
"dyn_cast",
"<",
"rtx_sequence",
"*",
">",
"(",
"pat",
")... | [
"Return",
"an",
"insn",
"type",
"for",
"INSN",
"that",
"can",
"be",
"used",
"by",
"the",
"caller",
"for",
"anomaly",
"workarounds",
".",
"This",
"differs",
"from",
"plain",
"get_attr_type",
"in",
"that",
"it",
"handles",
"SEQUENCEs",
"."
] | [
"bfin",
"1",
"2"
] | bfin | type_for_anomaly | bfin | DSP | GCC | 9,811 | 92 | 1 | [] |
[
"<s>",
"bool",
"ARMTargetLowering",
"::",
"isLegalAddressingMode",
"(",
"const",
"AddrMode",
"&",
"AM",
",",
"Type",
"*",
"Ty",
")",
"const",
"{",
"EVT",
"VT",
"=",
"getValueType",
"(",
"Ty",
",",
"true",
")",
";",
"if",
"(",
"!",
"isLegalAddressImmediate"... | [
"isLegalAddressingMode",
"-",
"Return",
"true",
"if",
"the",
"addressing",
"mode",
"represented",
"by",
"AM",
"is",
"legal",
"for",
"this",
"target",
",",
"for",
"a",
"load/store",
"of",
"the",
"specified",
"type",
"."
] | [
"ARM",
"ARM",
"0",
"1",
"MVT::i1",
"MVT::i8",
"MVT::i32",
"0",
"1",
"1",
"MVT::i16",
"MVT::i64",
"2",
"MVT::isVoid",
"1"
] | ARMISelLowering (2) | isLegalAddressingMode | ARM | CPU | LLVM | 9,812 | 241 | 1 | [] |
[
"<s>",
"static",
"bool",
"classof",
"(",
"const",
"MCExpr",
"*",
"E",
")",
"{",
"return",
"E",
"->",
"getKind",
"(",
")",
"==",
"MCExpr",
"::",
"Target",
";",
"}",
"</s>"
] | [
"Methods",
"for",
"support",
"type",
"inquiry",
"through",
"isa",
",",
"cast",
",",
"and",
"dyn_cast",
":"
] | [
"Nyuzi"
] | NyuziMCExpr | classof | Nyuzi | GPU | LLVM | 9,813 | 22 | 1 | [] |
[
"<s>",
"bool",
"HexagonPassConfig",
"::",
"addPreSched2",
"(",
")",
"{",
"addPass",
"(",
"&",
"IfConverterID",
")",
";",
"return",
"true",
";",
"}",
"</s>"
] | [
"This",
"method",
"may",
"be",
"implemented",
"by",
"targets",
"that",
"want",
"to",
"run",
"passes",
"after",
"prolog-epilog",
"insertion",
"and",
"before",
"the",
"second",
"instruction",
"scheduling",
"pass",
"."
] | [
"Hexagon",
"Hexagon"
] | HexagonTargetMachine22 | addPreSched2 | Hexagon | DSP | LLVM | 9,814 | 17 | 1 | [] |
[
"<s>",
"int",
"shadd_constant_p",
"(",
"int",
"val",
")",
"{",
"if",
"(",
"val",
"==",
"2",
"||",
"val",
"==",
"4",
"||",
"val",
"==",
"8",
")",
"return",
"1",
";",
"else",
"return",
"0",
";",
"}",
"</s>"
] | [
"Return",
"1",
"if",
"the",
"given",
"constant",
"is",
"2",
",",
"4",
",",
"or",
"8",
".",
"These",
"are",
"the",
"valid",
"constants",
"for",
"shadd",
"instructions",
"."
] | [
"pa",
"2",
"4",
"8",
"1",
"0"
] | pa3 | shadd_constant_p | pa | CPU | GCC | 9,815 | 29 | 1 | [] |
[
"<s>",
"static",
"void",
"ix86_dependencies_evaluation_hook",
"(",
"rtx_insn",
"*",
"head",
",",
"rtx_insn",
"*",
"tail",
")",
"{",
"rtx_insn",
"*",
"insn",
";",
"rtx_insn",
"*",
"first_arg",
"=",
"NULL",
";",
"if",
"(",
"reload_completed",
")",
"return",
";... | [
"Hook",
"for",
"pre-reload",
"schedule",
"-",
"avoid",
"motion",
"of",
"function",
"arguments",
"passed",
"in",
"likely",
"spilled",
"HW",
"registers",
"."
] | [
"i386",
"1",
"0"
] | i386 | ix86_dependencies_evaluation_hook | i386 | CPU | GCC | 9,816 | 217 | 1 | [] |
[
"<s>",
"const",
"TargetRegisterInfo",
"*",
"getRegisterInfo",
"(",
")",
"const",
"override",
"{",
"return",
"&",
"InstrInfo",
".",
"getRegisterInfo",
"(",
")",
";",
"}",
"</s>"
] | [
"getRegisterInfo",
"-",
"TargetInstrInfo",
"is",
"a",
"superset",
"of",
"MRegister",
"info",
"."
] | [
"AArch64"
] | AArch64TargetMachine22 | getRegisterInfo | AArch64 | CPU | LLVM | 9,817 | 18 | 1 | [] |
[
"<s>",
"bool",
"TPCHazardRecognizer",
"::",
"atIssueLimit",
"(",
")",
"const",
"{",
"return",
"(",
"CurrentPacket",
".",
"size",
"(",
")",
"==",
"4",
")",
";",
"}",
"</s>"
] | [
"atIssueLimit",
"-",
"Return",
"true",
"if",
"no",
"more",
"instructions",
"may",
"be",
"issued",
"in",
"this",
"cycle",
"."
] | [
"TPC",
"TPC",
"4"
] | TPCHazardRecognizer | atIssueLimit | TPC | Virtual ISA | LLVM | 9,818 | 20 | 1 | [] |
[
"<s>",
"static",
"void",
"cris_setup_incoming_varargs",
"(",
"CUMULATIVE_ARGS",
"*",
"ca",
",",
"enum",
"machine_mode",
"mode",
"ATTRIBUTE_UNUSED",
",",
"tree",
"type",
"ATTRIBUTE_UNUSED",
",",
"int",
"*",
"pretend_arg_size",
",",
"int",
"second_time",
")",
"{",
"... | [
"Worker",
"function",
"for",
"TARGET_SETUP_INCOMING_VARARGS",
"."
] | [
"cris",
"4",
"\"\\n; VA:: ANSI: %d args before, anon @ #%d, %dtime\\n\""
] | cris3 | cris_setup_incoming_varargs | cris | MPU | GCC | 9,819 | 80 | 1 | [] |
[
"<s>",
"const",
"DLXSubtarget",
"*",
"getSubtargetImpl",
"(",
"const",
"llvm",
"::",
"Function",
"&",
")",
"const",
"override",
"{",
"return",
"&",
"Subtarget",
";",
"}",
"</s>"
] | [
"Virtual",
"method",
"implemented",
"by",
"subclasses",
"that",
"returns",
"a",
"reference",
"to",
"that",
"target",
"'s",
"TargetSubtargetInfo-derived",
"member",
"variable",
"."
] | [
"DLX",
"DLX"
] | DLXTargetMachine | getSubtargetImpl | DLX | CPU | LLVM | 9,820 | 19 | 1 | [] |
[
"<s>",
"static",
"void",
"report_neither_nor",
"(",
"location_t",
"location",
",",
"tree",
"fndecl",
",",
"unsigned",
"int",
"argno",
",",
"HOST_WIDE_INT",
"actual",
",",
"HOST_WIDE_INT",
"value0",
",",
"HOST_WIDE_INT",
"value1",
")",
"{",
"error_at",
"(",
"loca... | [
"Report",
"that",
"LOCATION",
"has",
"a",
"call",
"to",
"FNDECL",
"in",
"which",
"argument",
"ARGNO",
"has",
"the",
"value",
"ACTUAL",
",",
"whereas",
"the",
"function",
"requires",
"either",
"VALUE0",
"or",
"VALUE1",
".",
"ARGNO",
"counts",
"from",
"zero",
... | [
"aarch64",
"\"passing %wd to argument %d of %qE, which expects\"",
"\" either %wd or %wd\"",
"1"
] | aarch64-sve-builtins | report_neither_nor | aarch64 | CPU | GCC | 9,821 | 45 | 1 | [] |
[
"<s>",
"unsigned",
"MSP430InstrInfo",
"::",
"getInstSizeInBytes",
"(",
"const",
"MachineInstr",
"&",
"MI",
")",
"const",
"{",
"const",
"MCInstrDesc",
"&",
"Desc",
"=",
"MI",
".",
"getDesc",
"(",
")",
";",
"switch",
"(",
"Desc",
".",
"getOpcode",
"(",
")",
... | [
"Returns",
"the",
"size",
"in",
"bytes",
"of",
"the",
"specified",
"MachineInstr",
",",
"or",
"~0U",
"when",
"this",
"function",
"is",
"not",
"implemented",
"by",
"a",
"target",
"."
] | [
"MSP430",
"MSP430",
"0",
"0"
] | MSP430InstrInfo10 | getInstSizeInBytes | MSP430 | MPU | LLVM | 9,822 | 140 | 1 | [] |
[
"<s>",
"bool",
"SIFoldOperands",
"::",
"runOnMachineFunction",
"(",
"MachineFunction",
"&",
"MF",
")",
"{",
"if",
"(",
"skipFunction",
"(",
"*",
"MF",
".",
"getFunction",
"(",
")",
")",
")",
"return",
"false",
";",
"MRI",
"=",
"&",
"MF",
".",
"getRegInfo... | [
"runOnMachineFunction",
"-",
"Emit",
"the",
"function",
"body",
"."
] | [
"AMDGPU",
"SI",
"SI",
"SI",
"SI",
"1",
"0"
] | SIFoldOperands54 | runOnMachineFunction | AMDGPU | GPU | LLVM | 9,823 | 321 | 1 | [] |
[
"<s>",
"bool",
"ARMInstrInfo",
"::",
"PredicateInstruction",
"(",
"MachineInstr",
"*",
"MI",
",",
"const",
"SmallVectorImpl",
"<",
"MachineOperand",
">",
"&",
"Pred",
")",
"const",
"{",
"unsigned",
"Opc",
"=",
"MI",
"->",
"getOpcode",
"(",
")",
";",
"if",
... | [
"Convert",
"the",
"instruction",
"into",
"a",
"predicated",
"instruction",
"."
] | [
"ARM",
"ARM",
"ARM::B",
"ARM::tB",
"ARM::B",
"ARM::Bcc",
"ARM::tBcc",
"0",
"1",
"1",
"0",
"1",
"1"
] | ARMInstrInfo14 | PredicateInstruction | ARM | CPU | LLVM | 9,824 | 180 | 1 | [] |
[
"<s>",
"void",
"SIInstrInfo",
"::",
"storeRegToStackSlot",
"(",
"MachineBasicBlock",
"&",
"MBB",
",",
"MachineBasicBlock",
"::",
"iterator",
"MI",
",",
"Register",
"SrcReg",
",",
"bool",
"isKill",
",",
"int",
"FrameIndex",
",",
"const",
"TargetRegisterClass",
"*",... | [
"Store",
"the",
"specified",
"register",
"of",
"the",
"given",
"register",
"class",
"to",
"the",
"specified",
"stack",
"frame",
"index",
"."
] | [
"AMDGPU",
"SI",
"SI",
"SI",
"AMDGPU::M0",
"\"m0 should not be spilled\"",
"AMDGPU::EXEC_LO",
"AMDGPU::EXEC_HI",
"AMDGPU::EXEC",
"\"exec should not be spilled\"",
"4",
"AMDGPU::SReg_32_XM0_XEXECRegClass",
"0"
] | SIInstrInfo37 | storeRegToStackSlot | AMDGPU | GPU | LLVM | 9,825 | 373 | 1 | [] |
[
"<s>",
"static",
"tree",
"sh_handle_trap_exit_attribute",
"(",
"tree",
"*",
"node",
",",
"tree",
"name",
",",
"tree",
"args",
",",
"int",
"flags",
"ATTRIBUTE_UNUSED",
",",
"bool",
"*",
"no_add_attrs",
")",
"{",
"if",
"(",
"TREE_CODE",
"(",
"*",
"node",
")"... | [
"Handle",
"an",
"``",
"trap_exit",
"''",
"attribute",
";",
"arguments",
"as",
"in",
"struct",
"attribute_spec.handler",
"."
] | [
"sh",
"\"%qE attribute only applies to functions\"",
"\"%qE attribute argument not an \"",
"\"integer constant\""
] | sh | sh_handle_trap_exit_attribute | sh | CPU | GCC | 9,826 | 83 | 1 | [] |
[
"<s>",
"bool",
"SparcRegisterInfo",
"::",
"canRealignStack",
"(",
"const",
"MachineFunction",
"&",
"MF",
")",
"const",
"{",
"if",
"(",
"!",
"TargetRegisterInfo",
"::",
"canRealignStack",
"(",
"MF",
")",
")",
"return",
"false",
";",
"if",
"(",
"getFrameLowering... | [
"True",
"if",
"the",
"stack",
"can",
"be",
"realigned",
"for",
"the",
"target",
"."
] | [
"Sparc",
"Sparc"
] | SparcRegisterInfo (2) | canRealignStack | Sparc | CPU | LLVM | 9,827 | 44 | 1 | [] |
[
"<s>",
"std",
"::",
"pair",
"<",
"SDValue",
",",
"SDValue",
">",
"AMDGPUTargetLowering",
"::",
"split64BitValue",
"(",
"SDValue",
"Op",
",",
"SelectionDAG",
"&",
"DAG",
")",
"const",
"{",
"SDLoc",
"SL",
"(",
"Op",
")",
";",
"SDValue",
"Vec",
"=",
"DAG",
... | [
"Return",
"64-bit",
"value",
"Op",
"as",
"two",
"32-bit",
"integers",
"."
] | [
"AMDGPU",
"AMDGPU",
"ISD::BITCAST",
"MVT::v2i32",
"0",
"MVT::i32",
"1",
"MVT::i32",
"ISD::EXTRACT_VECTOR_ELT",
"MVT::i32",
"ISD::EXTRACT_VECTOR_ELT",
"MVT::i32"
] | AMDGPUISelLowering (2)1 | split64BitValue | AMDGPU | GPU | LLVM | 9,828 | 136 | 1 | [] |
[
"<s>",
"void",
"ia64_expand_vecint_cmov",
"(",
"rtx",
"operands",
"[",
"]",
")",
"{",
"machine_mode",
"mode",
"=",
"GET_MODE",
"(",
"operands",
"[",
"0",
"]",
")",
";",
"enum",
"rtx_code",
"code",
"=",
"GET_CODE",
"(",
"operands",
"[",
"3",
"]",
")",
"... | [
"Emit",
"an",
"integral",
"vector",
"conditional",
"move",
"."
] | [
"ia64",
"0",
"3",
"4",
"5",
"1",
"2",
"0",
"0",
"0",
"1",
"2",
"0"
] | ia64 | ia64_expand_vecint_cmov | ia64 | CPU | GCC | 9,829 | 301 | 1 | [] |
[
"<s>",
"static",
"tree",
"arm_promoted_type",
"(",
"const_tree",
"t",
")",
"{",
"if",
"(",
"SCALAR_FLOAT_TYPE_P",
"(",
"t",
")",
"&&",
"TYPE_PRECISION",
"(",
"t",
")",
"==",
"16",
"&&",
"TYPE_MAIN_VARIANT",
"(",
"t",
")",
"==",
"arm_fp16_type_node",
")",
"... | [
"Implement",
"TARGET_PROMOTED_TYPE",
"."
] | [
"arm",
"16"
] | arm | arm_promoted_type | arm | CPU | GCC | 9,830 | 36 | 1 | [] |
[
"<s>",
"bool",
"mayNeedRelaxation",
"(",
"const",
"MCInst",
"&",
"Inst",
")",
"const",
"override",
"{",
"return",
"false",
";",
"}",
"</s>"
] | [
"Check",
"whether",
"the",
"given",
"instruction",
"may",
"need",
"relaxation",
"."
] | [
"PowerPC"
] | PPCAsmBackend | mayNeedRelaxation | PowerPC | CPU | LLVM | 9,831 | 15 | 1 | [] |
[
"<s>",
"X86TargetMachine",
"::",
"X86TargetMachine",
"(",
"const",
"Target",
"&",
"T",
",",
"const",
"std",
"::",
"string",
"&",
"TT",
",",
"const",
"std",
"::",
"string",
"&",
"FS",
",",
"bool",
"is64Bit",
")",
":",
"LLVMTargetMachine",
"(",
"T",
",",
... | [
"Create",
"an",
"X86",
"target",
"."
] | [
"X86",
"X86",
"X86",
"40",
"8",
"4",
"\"Relocation mode not picked\""
] | X86TargetMachine37 | X86TargetMachine | X86 | CPU | LLVM | 9,832 | 427 | 1 | [] |
[
"<s>",
"TargetTransformInfo",
"GCNTargetMachine",
"::",
"getTargetTransformInfo",
"(",
"const",
"Function",
"&",
"F",
")",
"{",
"return",
"TargetTransformInfo",
"(",
"GCNTTIImpl",
"(",
"this",
",",
"F",
")",
")",
";",
"}",
"</s>"
] | [
"Get",
"a",
"TargetTransformInfo",
"implementation",
"for",
"the",
"target",
"."
] | [
"AMDGPU"
] | AMDGPUTargetMachine (2)1 | getTargetTransformInfo | AMDGPU | GPU | LLVM | 9,833 | 23 | 1 | [] |
[
"<s>",
"void",
"PPCRegisterInfo",
"::",
"resolveFrameIndex",
"(",
"MachineInstr",
"&",
"MI",
",",
"unsigned",
"BaseReg",
",",
"int64_t",
"Offset",
")",
"const",
"{",
"unsigned",
"FIOperandNum",
"=",
"0",
";",
"while",
"(",
"!",
"MI",
".",
"getOperand",
"(",
... | [
"Resolve",
"a",
"frame",
"index",
"operand",
"of",
"an",
"instruction",
"to",
"reference",
"the",
"indicated",
"base",
"register",
"plus",
"offset",
"instead",
"."
] | [
"PowerPC",
"PPC",
"0",
"\"Instr doesn't have FrameIndex operand!\""
] | PPCRegisterInfo38 | resolveFrameIndex | PowerPC | CPU | LLVM | 9,834 | 104 | 1 | [] |
[
"<s>",
"unsigned",
"Cpu0SEInstrInfo",
"::",
"getOppositeBranchOpc",
"(",
"unsigned",
"Opc",
")",
"const",
"{",
"switch",
"(",
"Opc",
")",
"{",
"default",
":",
"llvm_unreachable",
"(",
"\"Illegal opcode!\"",
")",
";",
"case",
"Cpu0",
"::",
"BEQ",
":",
"return",... | [
"getOppositeBranchOpc",
"-",
"Return",
"the",
"inverse",
"of",
"the",
"specified",
"opcode",
",",
"e.g",
"."
] | [
"Cpu0",
"Cpu0",
"\"Illegal opcode!\"",
"Cpu0::BEQ",
"Cpu0::BNE",
"Cpu0::BNE",
"Cpu0::BEQ"
] | Cpu0SEInstrInfo | getOppositeBranchOpc | Cpu0 | CPU | LLVM | 9,835 | 44 | 1 | [] |
[
"<s>",
"SDNode",
"*",
"SystemZDAGToDAGISel",
"::",
"Select",
"(",
"SDNode",
"*",
"Node",
")",
"{",
"DEBUG",
"(",
"errs",
"(",
")",
"<<",
"\"Selecting: \"",
";",
"Node",
"->",
"dump",
"(",
"CurDAG",
")",
";",
"errs",
"(",
")",
"<<",
"\"\\n\"",
")",
";... | [
"Main",
"hook",
"for",
"targets",
"to",
"transform",
"nodes",
"into",
"machine",
"nodes",
"."
] | [
"SystemZ",
"SystemZ",
"\"Selecting: \"",
"\"\\n\"",
"\"== \"",
"\"\\n\"",
"0",
"0",
"ISD::OR",
"ISD::XOR",
"0",
"MVT::i64",
"1",
"SystemZ::isImmLF",
"SystemZ::isImmHF",
"0",
"ISD::AND",
"ISD::Constant",
"0",
"MVT::i64",
"SystemZ::isImmLF",
"SystemZ::isImmHF",
"32",
"ISD... | SystemZISelDAGToDAG15 | Select | SystemZ | CPU | LLVM | 9,836 | 477 | 1 | [] |
[
"<s>",
"static",
"bool",
"riscv_pass_by_reference",
"(",
"cumulative_args_t",
"cum_v",
",",
"const",
"function_arg_info",
"&",
"arg",
")",
"{",
"HOST_WIDE_INT",
"size",
"=",
"arg",
".",
"type_size_in_bytes",
"(",
")",
";",
"struct",
"riscv_arg_info",
"info",
";",
... | [
"Implement",
"TARGET_PASS_BY_REFERENCE",
"."
] | [
"riscv",
"0",
"2"
] | riscv | riscv_pass_by_reference | riscv | CPU | GCC | 9,837 | 88 | 1 | [] |
[
"<s>",
"SDValue",
"AlphaTargetLowering",
"::",
"LowerReturn",
"(",
"SDValue",
"Chain",
",",
"CallingConv",
"::",
"ID",
"CallConv",
",",
"bool",
"isVarArg",
",",
"const",
"SmallVectorImpl",
"<",
"ISD",
"::",
"OutputArg",
">",
"&",
"Outs",
",",
"const",
"SmallVe... | [
"This",
"hook",
"must",
"be",
"implemented",
"to",
"lower",
"outgoing",
"return",
"values",
",",
"described",
"by",
"the",
"Outs",
"array",
",",
"into",
"the",
"specified",
"DAG",
"."
] | [
"Alpha",
"Alpha",
"ISD::OutputArg",
"Alpha::R26",
"AlphaISD::GlobalRetAddr",
"MVT::i64",
"\"Do not know how to return this many arguments!\"",
"0",
"1",
"0",
"Alpha::R0",
"Alpha::F0",
"0",
"1",
"2",
"0",
"Alpha::R0",
"Alpha::R1",
"Alpha::F0",
"Alpha::F1",
"0",
"1",
"1",
... | AlphaISelLowering2 | LowerReturn | Alpha | MPU | LLVM | 9,838 | 486 | 1 | [] |
[
"<s>",
"const",
"RegisterBankInfo",
"::",
"InstructionMapping",
"&",
"M68kRegisterBankInfo",
"::",
"getInstrMapping",
"(",
"const",
"MachineInstr",
"&",
"MI",
")",
"const",
"{",
"auto",
"Opc",
"=",
"MI",
".",
"getOpcode",
"(",
")",
";",
"if",
"(",
"!",
"isPr... | [
"Get",
"the",
"mapping",
"of",
"the",
"different",
"operands",
"of",
"MI",
"on",
"the",
"register",
"bank",
"."
] | [
"M68k",
"M68k",
"M68k::ValueMappings",
"M68k::GPR3OpsIdx",
"M68k::ValueMappings",
"M68k::GPR3OpsIdx",
"M68k::ValueMappings",
"M68k::GPR3OpsIdx",
"1"
] | M68kRegisterBankInfo | getInstrMapping | M68k | MPU | LLVM | 9,839 | 174 | 1 | [] |
[
"<s>",
"static",
"void",
"alpha_expand_unaligned_store_words",
"(",
"rtx",
"*",
"data_regs",
",",
"rtx",
"dmem",
",",
"HOST_WIDE_INT",
"words",
",",
"HOST_WIDE_INT",
"ofs",
")",
"{",
"rtx",
"const",
"im8",
"=",
"GEN_INT",
"(",
"-",
"8",
")",
";",
"rtx",
"i... | [
"Store",
"an",
"integral",
"number",
"of",
"consecutive",
"unaligned",
"quadwords",
".",
"DATA_REGS",
"may",
"be",
"NULL",
"to",
"store",
"zeros",
"."
] | [
"alpha",
"8",
"0",
"0",
"0",
"8",
"1",
"0",
"0",
"1",
"0",
"1",
"0",
"1",
"1",
"1",
"1",
"1",
"1",
"0",
"1",
"1",
"0",
"8",
"0",
"1"
] | alpha | alpha_expand_unaligned_store_words | alpha | MPU | GCC | 9,840 | 499 | 1 | [] |
[
"<s>",
"void",
"applyFixup",
"(",
"const",
"MCFixup",
"&",
"Fixup",
",",
"char",
"*",
"Data",
",",
"unsigned",
"DataSize",
",",
"uint64_t",
"Value",
",",
"bool",
"IsPCRel",
")",
"const",
"{",
"Value",
"=",
"adjustFixupValue",
"(",
"Fixup",
".",
"getKind",
... | [
"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",
"."
] | [
"PowerPC",
"0",
"1",
"8",
"0xff"
] | PPCAsmBackend33 | applyFixup | PowerPC | CPU | LLVM | 9,841 | 118 | 1 | [] |
[
"<s>",
"static",
"rtx",
"arc_legitimize_tls_address",
"(",
"rtx",
"addr",
",",
"enum",
"tls_model",
"model",
")",
"{",
"rtx",
"tmp",
";",
"if",
"(",
"!",
"flag_pic",
"&&",
"model",
"==",
"TLS_MODEL_LOCAL_DYNAMIC",
")",
"model",
"=",
"TLS_MODEL_LOCAL_EXEC",
";"... | [
"Return",
"a",
"legitimized",
"address",
"for",
"ADDR",
",",
"which",
"is",
"a",
"SYMBOL_REF",
"with",
"tls_model",
"MODEL",
"."
] | [
"arc",
"1",
"\".tbss\""
] | arc | arc_legitimize_tls_address | arc | MPU | GCC | 9,842 | 238 | 1 | [] |
[
"<s>",
"bool",
"ARMPreAllocLoadStoreOpt",
"::",
"runOnMachineFunction",
"(",
"MachineFunction",
"&",
"Fn",
")",
"{",
"TD",
"=",
"&",
"Fn",
".",
"getDataLayout",
"(",
")",
";",
"STI",
"=",
"&",
"static_cast",
"<",
"const",
"ARMSubtarget",
"&",
">",
"(",
"Fn... | [
"runOnMachineFunction",
"-",
"Emit",
"the",
"function",
"body",
"."
] | [
"ARM",
"ARM",
"ARM"
] | ARMLoadStoreOptimizer | runOnMachineFunction | ARM | CPU | LLVM | 9,843 | 110 | 1 | [] |
[
"<s>",
"int",
"call_address_operand",
"(",
"rtx",
"op",
",",
"enum",
"machine_mode",
"mode",
")",
"{",
"return",
"(",
"symbolic_operand",
"(",
"op",
",",
"mode",
")",
"||",
"(",
"GET_CODE",
"(",
"op",
")",
"==",
"CONST_INT",
"&&",
"LEGITIMATE_CONSTANT_P",
... | [
"Return",
"true",
"if",
"OP",
"is",
"a",
"valid",
"call",
"operand",
"."
] | [
"arc"
] | arc3 | call_address_operand | arc | MPU | GCC | 9,844 | 45 | 1 | [] |
[
"<s>",
"virtual",
"const",
"char",
"*",
"getPassName",
"(",
")",
"const",
"{",
"return",
"\"TLCS900 Branch Selector\"",
";",
"}",
"</s>"
] | [
"getPassName",
"-",
"Return",
"a",
"nice",
"clean",
"name",
"for",
"a",
"pass",
"."
] | [
"TLCS900",
"\"TLCS900 Branch Selector\""
] | TLCS900BranchSelector | getPassName | TLCS900 | MPU | LLVM | 9,845 | 13 | 1 | [] |
[
"<s>",
"bool",
"PPCAIXAsmPrinter",
"::",
"doFinalization",
"(",
"Module",
"&",
"M",
")",
"{",
"for",
"(",
"MCSymbol",
"*",
"Sym",
":",
"ExtSymSDNodeSymbols",
")",
"OutStreamer",
"->",
"emitSymbolAttribute",
"(",
"Sym",
",",
"MCSA_Extern",
")",
";",
"return",
... | [
"doFinalization",
"-",
"Virtual",
"method",
"overriden",
"by",
"subclasses",
"to",
"do",
"any",
"necessary",
"clean",
"up",
"after",
"all",
"passes",
"have",
"run",
"."
] | [
"PowerPC",
"PPC",
"PPC"
] | PPCAsmPrinter10 | doFinalization | PowerPC | CPU | LLVM | 9,846 | 36 | 1 | [] |
[
"<s>",
"SDValue",
"Nios2TargetLowering",
"::",
"LowerReturn",
"(",
"SDValue",
"Chain",
",",
"CallingConv",
"::",
"ID",
"CallConv",
",",
"bool",
"IsVarArg",
",",
"const",
"SmallVectorImpl",
"<",
"ISD",
"::",
"OutputArg",
">",
"&",
"Outs",
",",
"const",
"SmallVe... | [
"This",
"hook",
"must",
"be",
"implemented",
"to",
"lower",
"outgoing",
"return",
"values",
",",
"described",
"by",
"the",
"Outs",
"array",
",",
"into",
"the",
"specified",
"DAG",
"."
] | [
"Nios2",
"Nios2",
"ISD::OutputArg",
"4",
"1",
"Nios2ISD::Ret",
"MVT::Other"
] | Nios2ISelLowering1 | LowerReturn | Nios2 | MPU | LLVM | 9,847 | 77 | 1 | [] |
[
"<s>",
"unsigned",
"PPCRegisterInfo",
"::",
"getFrameRegister",
"(",
"const",
"MachineFunction",
"&",
"MF",
")",
"const",
"{",
"const",
"TargetFrameLowering",
"*",
"TFI",
"=",
"MF",
".",
"getSubtarget",
"(",
")",
".",
"getFrameLowering",
"(",
")",
";",
"if",
... | [
"Debug",
"information",
"queries",
"."
] | [
"PowerPC",
"PPC",
"PPC",
"PPC::R31",
"PPC::R1",
"PPC::X31",
"PPC::X1"
] | PPCRegisterInfo68 | getFrameRegister | PowerPC | CPU | LLVM | 9,848 | 70 | 1 | [] |
[
"<s>",
"ARMCC",
"::",
"CondCodes",
"getPredicate",
"(",
"const",
"MachineInstr",
"*",
"MI",
")",
"const",
"{",
"int",
"PIdx",
"=",
"MI",
"->",
"findFirstPredOperandIdx",
"(",
")",
";",
"return",
"PIdx",
"!=",
"-",
"1",
"?",
"(",
"ARMCC",
"::",
"CondCodes... | [
"Returns",
"the",
"comparison",
"predicate",
"underlying",
"the",
"intrinsic",
"."
] | [
"ARM",
"ARMCC::CondCodes",
"1",
"ARMCC::CondCodes",
"ARMCC::AL"
] | ARMBaseInstrInfo (2)1 | getPredicate | ARM | CPU | LLVM | 9,849 | 48 | 1 | [] |
[
"<s>",
"void",
"h8300_expand_epilogue",
"(",
"void",
")",
"{",
"int",
"regno",
";",
"int",
"saved_regs",
";",
"int",
"n_regs",
";",
"HOST_WIDE_INT",
"frame_size",
";",
"bool",
"returned_p",
";",
"if",
"(",
"h8300_os_task_function_p",
"(",
"current_function_decl",
... | [
"Generate",
"RTL",
"code",
"for",
"the",
"function",
"epilogue",
"."
] | [
"h8300",
"1",
"1",
"0",
"1",
"1",
"3",
"3",
"3",
"0x0f",
"0x0f",
"4",
"3",
"2",
"2",
"0x07",
"0x07",
"3",
"1",
"1",
"1",
"0x03",
"0x03",
"2",
"0",
"1",
"1",
"1",
"0",
"1",
"1",
"1",
"1"
] | h83003 | h8300_expand_epilogue | h8300 | MPU | GCC | 9,850 | 285 | 1 | [] |
[
"<s>",
"void",
"emitIndIdx",
"(",
"const",
"MCExpr",
"*",
")",
"override",
"{",
"}",
"</s>"
] | [
".indidx"
] | [
"WebAssembly"
] | WebAssemblyTargetStreamer (2)1 | emitIndIdx | WebAssembly | Virtual ISA | LLVM | 9,851 | 10 | 1 | [] |
[
"<s>",
"static",
"bool",
"ix86_valid_target_attribute_p",
"(",
"tree",
"fndecl",
",",
"tree",
"ARG_UNUSED",
"(",
"name",
")",
",",
"tree",
"args",
",",
"int",
"ARG_UNUSED",
"(",
"flags",
")",
")",
"{",
"struct",
"gcc_options",
"func_options",
";",
"tree",
"n... | [
"Hook",
"to",
"validate",
"attribute",
"(",
"(",
"target",
"(",
"``",
"string",
"''",
")",
")",
")",
"."
] | [
"i386",
"\"default\"",
"0",
"0"
] | i3864 | ix86_valid_target_attribute_p | i386 | CPU | GCC | 9,852 | 220 | 1 | [] |
[
"<s>",
"void",
"FixupLEAPass",
"::",
"processInstruction",
"(",
"MachineBasicBlock",
"::",
"iterator",
"&",
"I",
",",
"MachineFunction",
"::",
"iterator",
"MFI",
")",
"{",
"MachineInstr",
"*",
"MI",
"=",
"I",
";",
"const",
"MCInstrDesc",
"&",
"Desc",
"=",
"M... | [
"Process",
"a",
"single",
"instruction",
"and",
"collect",
"debug",
"info",
"anchors",
"."
] | [
"X86",
"X86II::getMemoryOperandNo",
"0",
"X86II::getOperandBias",
"X86::AddrBaseReg",
"X86::ESP",
"X86::AddrIndexReg",
"X86::ESP"
] | X86FixupLEAs48 | processInstruction | X86 | CPU | LLVM | 9,853 | 152 | 1 | [] |
[
"<s>",
"static",
"void",
"rs6000_xcoff_file_start",
"(",
"void",
")",
"{",
"rs6000_gen_section_name",
"(",
"&",
"xcoff_bss_section_name",
",",
"main_input_filename",
",",
"\".bss_\"",
")",
";",
"rs6000_gen_section_name",
"(",
"&",
"xcoff_private_data_section_name",
",",
... | [
"Output",
"at",
"beginning",
"of",
"assembler",
"file",
".",
"Initialize",
"the",
"section",
"names",
"for",
"the",
"RS/6000",
"at",
"this",
"point",
".",
"Specify",
"filename",
",",
"including",
"full",
"path",
",",
"to",
"assembler",
".",
"We",
"want",
"... | [
"powerpcspe",
"\".bss_\"",
"\".rw_\"",
"\".ro_\"",
"\".tls_\"",
"\".tbss_[UL]\"",
"\"\\t.file\\t\"",
"\"\\t.extern %s\\n\""
] | powerpcspe | rs6000_xcoff_file_start | powerpcspe | CPU | GCC | 9,854 | 117 | 1 | [] |
[
"<s>",
"TargetPassConfig",
"*",
"KudeyarTargetMachine",
"::",
"createPassConfig",
"(",
"PassManagerBase",
"&",
"PM",
")",
"{",
"return",
"new",
"KudeyarPassConfig",
"(",
"this",
",",
"PM",
")",
";",
"}",
"</s>"
] | [
"Create",
"a",
"pass",
"configuration",
"object",
"to",
"be",
"used",
"by",
"addPassToEmitX",
"methods",
"for",
"generating",
"a",
"pipeline",
"of",
"CodeGen",
"passes",
"."
] | [
"Kudeyar",
"Kudeyar",
"Kudeyar"
] | KudeyarTargetMachine | createPassConfig | Kudeyar | CPU | LLVM | 9,855 | 21 | 1 | [] |
[
"<s>",
"static",
"bool",
"arm_print_operand_punct_valid_p",
"(",
"unsigned",
"char",
"code",
")",
"{",
"return",
"(",
"code",
"==",
"'@'",
"||",
"code",
"==",
"'|'",
"||",
"code",
"==",
"'.'",
"||",
"code",
"==",
"'('",
"||",
"code",
"==",
"')'",
"||",
... | [
"Target",
"hook",
"for",
"indicating",
"whether",
"a",
"punctuation",
"character",
"for",
"TARGET_PRINT_OPERAND",
"is",
"valid",
"."
] | [
"arm"
] | arm | arm_print_operand_punct_valid_p | arm | CPU | GCC | 9,856 | 67 | 1 | [] |
[
"<s>",
"bool",
"AArch64InstrInfo",
"::",
"isFPRCopy",
"(",
"const",
"MachineInstr",
"&",
"MI",
")",
"{",
"switch",
"(",
"MI",
".",
"getOpcode",
"(",
")",
")",
"{",
"default",
":",
"break",
";",
"case",
"TargetOpcode",
"::",
"COPY",
":",
"{",
"Register",
... | [
"Does",
"this",
"instruction",
"rename",
"an",
"FPR",
"without",
"modifying",
"bits",
"?"
] | [
"AArch64",
"AArch64",
"0",
"AArch64::FPR128RegClass",
"AArch64::ORRv16i8",
"1",
"2",
"3",
"0",
"\"invalid ORRv16i8 operands\""
] | AArch64InstrInfo105 | isFPRCopy | AArch64 | CPU | LLVM | 9,857 | 124 | 1 | [] |
[
"<s>",
"unsigned",
"getPointerSize",
"(",
")",
"const",
"{",
"return",
"8",
";",
"}",
"</s>"
] | [
"Layout",
"pointer",
"size",
"in",
"bytes",
",",
"rounded",
"up",
"to",
"a",
"whole",
"number",
"of",
"bytes",
"."
] | [
"FISC",
"8"
] | FISCAsmBackend | getPointerSize | FISC | CPU | LLVM | 9,858 | 10 | 1 | [] |
[
"<s>",
"void",
"rs6000_expand_vector_set",
"(",
"rtx",
"target",
",",
"rtx",
"val",
",",
"int",
"elt",
")",
"{",
"machine_mode",
"mode",
"=",
"GET_MODE",
"(",
"target",
")",
";",
"machine_mode",
"inner_mode",
"=",
"GET_MODE_INNER",
"(",
"mode",
")",
";",
"... | [
"Set",
"field",
"ELT_RTX",
"of",
"TARGET",
"to",
"VAL",
"."
] | [
"rs6000",
"0",
"0",
"1",
"2",
"16",
"0",
"16",
"0",
"0",
"0",
"0x10",
"0",
"3",
"3"
] | rs60004 | rs6000_expand_vector_set | rs6000 | CPU | GCC | 9,859 | 429 | 1 | [] |
[
"<s>",
"bool",
"AArch64TargetLowering",
"::",
"shouldReduceLoadWidth",
"(",
"SDNode",
"*",
"Load",
",",
"ISD",
"::",
"LoadExtType",
"ExtTy",
",",
"EVT",
"NewVT",
")",
"const",
"{",
"if",
"(",
"ExtTy",
"!=",
"ISD",
"::",
"NON_EXTLOAD",
")",
"return",
"true",
... | [
"Return",
"true",
"if",
"we",
"believe",
"it",
"is",
"correct",
"and",
"profitable",
"to",
"reduce",
"the",
"load",
"node",
"to",
"a",
"smaller",
"type",
"."
] | [
"AArch64",
"AArch64",
"ISD::LoadExtType",
"ISD::NON_EXTLOAD",
"ISD::ADD",
"1",
"ISD::SHL",
"1",
"1",
"1",
"ISD::Constant",
"1",
"1",
"8"
] | AArch64ISelLowering | shouldReduceLoadWidth | AArch64 | CPU | LLVM | 9,860 | 164 | 1 | [] |
[
"<s>",
"StringRef",
"getPassName",
"(",
")",
"const",
"override",
"{",
"return",
"\"TVM continuations hoisting pass\"",
";",
"}",
"</s>"
] | [
"getPassName",
"-",
"Return",
"a",
"nice",
"clean",
"name",
"for",
"a",
"pass",
"."
] | [
"TVM",
"\"TVM continuations hoisting pass\""
] | TVMContinuationsHoist | getPassName | TVM | Virtual ISA | LLVM | 9,861 | 11 | 1 | [] |
[
"<s>",
"void",
"PTXFrameLowering",
"::",
"emitPrologue",
"(",
"MachineFunction",
"&",
"MF",
")",
"const",
"{",
"}",
"</s>"
] | [
"emitProlog/emitEpilog",
"-",
"These",
"methods",
"insert",
"prolog",
"and",
"epilog",
"code",
"into",
"the",
"function",
"."
] | [
"PTX",
"PTX"
] | PTXFrameLowering | emitPrologue | PTX | GPU | LLVM | 9,862 | 12 | 1 | [] |
[
"<s>",
"static",
"const",
"char",
"*",
"alpha_mangle_fundamental_type",
"(",
"tree",
"type",
")",
"{",
"if",
"(",
"TYPE_MAIN_VARIANT",
"(",
"type",
")",
"==",
"long_double_type_node",
"&&",
"TARGET_LONG_DOUBLE_128",
")",
"return",
"\"g\"",
";",
"return",
"NULL",
... | [
"Implement",
"TARGET_MANGLE_FUNDAMENTAL_TYPE",
"."
] | [
"alpha",
"\"g\""
] | alpha3 | alpha_mangle_fundamental_type | alpha | MPU | GCC | 9,863 | 28 | 1 | [] |
[
"<s>",
"int",
"getIntImmCostInst",
"(",
"unsigned",
"Opc",
",",
"unsigned",
"Idx",
",",
"const",
"APInt",
"&",
"Imm",
",",
"Type",
"*",
"Ty",
",",
"TTI",
"::",
"TargetCostKind",
"CostKind",
",",
"Instruction",
"*",
"Inst",
"=",
"nullptr",
")",
"{",
"retu... | [
"Return",
"the",
"expected",
"cost",
"of",
"materialization",
"for",
"the",
"given",
"integer",
"immediate",
"of",
"the",
"specified",
"type",
"for",
"a",
"given",
"instruction",
"."
] | [
"Lanai"
] | LanaiTargetTransformInfo16 | getIntImmCostInst | Lanai | CPU | LLVM | 9,864 | 41 | 1 | [] |
[
"<s>",
"bool",
"AArch64InstrInfo",
"::",
"isMBBSafeToOutlineFrom",
"(",
"MachineBasicBlock",
"&",
"MBB",
",",
"unsigned",
"&",
"Flags",
")",
"const",
"{",
"if",
"(",
"!",
"TargetInstrInfo",
"::",
"isMBBSafeToOutlineFrom",
"(",
"MBB",
",",
"Flags",
")",
")",
"r... | [
"Optional",
"target",
"hook",
"that",
"returns",
"true",
"if",
"MBB",
"is",
"safe",
"to",
"outline",
"from",
",",
"and",
"returns",
"any",
"target-specific",
"information",
"in",
"Flags",
"."
] | [
"AArch64",
"AArch64",
"\"Suitable Machine Function for outlining must track liveness\"",
"AArch64::W16",
"AArch64::W17",
"AArch64::NZCV",
"AArch64::W16",
"AArch64::W17",
"AArch64::NZCV",
"AArch64",
"AArch64",
"AArch64::GPR64RegClass",
"AArch64::LR",
"AArch64::X16",
"AArch64::X17",
"AAr... | AArch64InstrInfo11 | isMBBSafeToOutlineFrom | AArch64 | CPU | LLVM | 9,865 | 351 | 1 | [] |
[
"<s>",
"bool",
"isReg",
"(",
")",
"const",
"{",
"return",
"Kind",
"==",
"k_Register",
";",
"}",
"</s>"
] | [
"isReg",
"-",
"Is",
"this",
"a",
"register",
"operand",
"?"
] | [
"Mips"
] | MipsAsmParser102 | isReg | Mips | CPU | LLVM | 9,866 | 12 | 1 | [] |
[
"<s>",
"SDNode",
"*",
"BPFDAGToDAGISel",
"::",
"Select",
"(",
"SDNode",
"*",
"Node",
")",
"{",
"unsigned",
"Opcode",
"=",
"Node",
"->",
"getOpcode",
"(",
")",
";",
"DEBUG",
"(",
"dbgs",
"(",
")",
"<<",
"\"Selecting: \"",
";",
"Node",
"->",
"dump",
"(",... | [
"Main",
"hook",
"for",
"targets",
"to",
"transform",
"nodes",
"into",
"machine",
"nodes",
"."
] | [
"BPF",
"BPF",
"\"Selecting: \"",
"\"== \"",
"ISD::UNDEF",
"\"BUG: \"",
"\"shouldn't see UNDEF during Select\"",
"ISD::INTRINSIC_W_CHAIN",
"1",
"Intrinsic::bpf_load_byte",
"Intrinsic::bpf_load_half",
"Intrinsic::bpf_load_word",
"0",
"1",
"2",
"3",
"BPF::R6",
"MVT::i64",
"ISD::Fram... | BPFISelDAGToDAG29 | Select | BPF | Virtual ISA | LLVM | 9,867 | 415 | 1 | [] |
[
"<s>",
"static",
"bool",
"arc_can_use_doloop_p",
"(",
"const",
"widest_int",
"&",
"iterations",
",",
"const",
"widest_int",
"&",
",",
"unsigned",
"int",
"loop_depth",
",",
"bool",
"entered_at_top",
")",
"{",
"if",
"(",
"loop_depth",
">",
"1",
")",
"return",
... | [
"Implement",
"TARGET_CAN_USE_DOLOOP_P",
"."
] | [
"arc",
"1",
"0",
"6",
"3"
] | arc4 | arc_can_use_doloop_p | arc | MPU | GCC | 9,868 | 66 | 1 | [] |
[
"<s>",
"std",
"::",
"vector",
"<",
"std",
"::",
"string",
">",
"pop",
"(",
"Px",
"a",
")",
"{",
"return",
"D",
"(",
"\"pop\"",
",",
"R",
"(",
"a",
")",
")",
";",
"}",
"</s>"
] | [
"Pop",
"the",
"previous",
"solver",
"state",
"."
] | [
"Teak",
"\"pop\""
] | disassembler | pop | Teak | DSP | LLVM | 9,869 | 26 | 1 | [] |
[
"<s>",
"MCOperand",
"P2MCInstLower",
"::",
"lowerOperand",
"(",
"const",
"MachineOperand",
"&",
"MO",
",",
"unsigned",
"offset",
")",
"const",
"{",
"MachineOperandType",
"MOTy",
"=",
"MO",
".",
"getType",
"(",
")",
";",
"switch",
"(",
"MOTy",
")",
"{",
"de... | [
"Wrapper",
"for",
"MCInstLowering.lowerOperand",
"(",
")",
"for",
"the",
"tblgen'erated",
"pseudo",
"lowering",
"."
] | [
"P2",
"P2",
"\"Operand type: \"",
"\"\\n\"",
"\"MCInstrLower: unknown operand type\"",
"\"mcinst lower, MO: \"",
"\"MO type: \"",
"\"\\n\""
] | P2MCInstLower | lowerOperand | P2 | MPU | LLVM | 9,870 | 178 | 1 | [] |
[
"<s>",
"unsigned",
"int",
"call_properties",
"(",
"const",
"function_instance",
"&",
")",
"const",
"OVERRIDE",
"{",
"return",
"0",
";",
"}",
"</s>"
] | [
"Default",
"implementation",
"of",
"function_base",
":",
":call_properties",
",",
"with",
"conservatively",
"correct",
"behavior",
"for",
"floating-point",
"instructions",
"."
] | [
"aarch64",
"0"
] | aarch64-sve-builtins-functions | call_properties | aarch64 | CPU | GCC | 9,871 | 15 | 1 | [] |
[
"<s>",
"const",
"ARMSubtarget",
"*",
"ARMBaseTargetMachine",
"::",
"getSubtargetImpl",
"(",
"const",
"Function",
"&",
"F",
")",
"const",
"{",
"Attribute",
"CPUAttr",
"=",
"F",
".",
"getFnAttribute",
"(",
"\"target-cpu\"",
")",
";",
"Attribute",
"FSAttr",
"=",
... | [
"Virtual",
"method",
"implemented",
"by",
"subclasses",
"that",
"returns",
"a",
"reference",
"to",
"that",
"target",
"'s",
"TargetSubtargetInfo-derived",
"member",
"variable",
"."
] | [
"ARM",
"ARM",
"ARM",
"\"target-cpu\"",
"\"target-features\"",
"\"use-soft-float\"",
"\"true\"",
"\"+soft-float\"",
"\",+soft-float\"",
"\"+minsize\"",
"ARM",
"ARM",
"\"Function '\"",
"\"' uses ARM \"",
"\"instructions, but the target does not support ARM mode execution.\""
] | ARMTargetMachine10 | getSubtargetImpl | ARM | CPU | LLVM | 9,872 | 233 | 1 | [] |
[
"<s>",
"static",
"void",
"iq2000_setup_incoming_varargs",
"(",
"CUMULATIVE_ARGS",
"*",
"cum",
",",
"enum",
"machine_mode",
"mode",
"ATTRIBUTE_UNUSED",
",",
"tree",
"type",
"ATTRIBUTE_UNUSED",
",",
"int",
"*",
"pretend_size",
",",
"int",
"no_rtl",
")",
"{",
"unsign... | [
"Worker",
"function",
"for",
"TARGET_SETUP_INCOMING_VARARGS",
"."
] | [
"iq2000",
"0",
"0",
"0",
"0"
] | iq20002 | iq2000_setup_incoming_varargs | iq2000 | CPU | GCC | 9,873 | 182 | 1 | [] |
[
"<s>",
"TargetLoweringObjectFile",
"*",
"getObjFileLowering",
"(",
")",
"const",
"override",
"{",
"return",
"TLOF",
".",
"get",
"(",
")",
";",
"}",
"</s>"
] | [
"Return",
"information",
"about",
"object",
"file",
"lowering",
"."
] | [
"MMIX"
] | MMIXTargetMachine | getObjFileLowering | MMIX | CPU | LLVM | 9,874 | 16 | 1 | [] |
[
"<s>",
"void",
"ARMBaseRegisterInfo",
"::",
"materializeFrameBaseRegister",
"(",
"MachineBasicBlock",
"*",
"MBB",
",",
"unsigned",
"BaseReg",
",",
"int",
"FrameIdx",
",",
"int64_t",
"Offset",
")",
"const",
"{",
"ARMFunctionInfo",
"*",
"AFI",
"=",
"MBB",
"->",
"g... | [
"Insert",
"defining",
"instruction",
"(",
"s",
")",
"for",
"a",
"pointer",
"to",
"FrameIdx",
"before",
"insertion",
"point",
"I",
"."
] | [
"ARM",
"ARM",
"ARM",
"ARM",
"ARM::ADDri",
"ARM::tADDrSPi",
"ARM::t2ADDri"
] | ARMBaseRegisterInfo8 | materializeFrameBaseRegister | ARM | CPU | LLVM | 9,875 | 149 | 1 | [] |
[
"<s>",
"void",
"SITargetLowering",
"::",
"finalizeLowering",
"(",
"MachineFunction",
"&",
"MF",
")",
"const",
"{",
"MachineRegisterInfo",
"&",
"MRI",
"=",
"MF",
".",
"getRegInfo",
"(",
")",
";",
"SIMachineFunctionInfo",
"*",
"Info",
"=",
"MF",
".",
"getInfo",
... | [
"Execute",
"target",
"specific",
"actions",
"to",
"finalize",
"target",
"lowering",
"."
] | [
"AMDGPU",
"SI",
"SI",
"SI",
"SI",
"AMDGPU::SP_REG",
"AMDGPU::PRIVATE_RSRC_REG",
"AMDGPU::FP_REG",
"AMDGPU::SCRATCH_WAVE_OFFSET_REG"
] | SIISelLowering (2)3 | finalizeLowering | AMDGPU | GPU | LLVM | 9,876 | 237 | 1 | [] |
[
"<s>",
"const",
"HSAILRegisterInfo",
"&",
"getRegisterInfo",
"(",
")",
"const",
"{",
"return",
"RI",
";",
"}",
"</s>"
] | [
"getRegisterInfo",
"-",
"TargetInstrInfo",
"is",
"a",
"superset",
"of",
"MRegister",
"info",
"."
] | [
"HSAIL",
"HSAIL"
] | HSAILInstrInfo | getRegisterInfo | HSAIL | Virtual ISA | LLVM | 9,877 | 12 | 1 | [] |
[
"<s>",
"const",
"uint32_t",
"*",
"SIRegisterInfo",
"::",
"getNoPreservedMask",
"(",
")",
"const",
"{",
"return",
"CSR_AMDGPU_NoRegs_RegMask",
";",
"}",
"</s>"
] | [
"Return",
"a",
"register",
"mask",
"that",
"clobbers",
"everything",
"."
] | [
"AMDGPU",
"SI",
"AMDGPU"
] | SIRegisterInfo (3) | getNoPreservedMask | AMDGPU | GPU | LLVM | 9,878 | 14 | 1 | [] |
[
"<s>",
"StringRef",
"getPassName",
"(",
")",
"const",
"override",
"{",
"return",
"\"Z80 Machine Late Optimization\"",
";",
"}",
"</s>"
] | [
"getPassName",
"-",
"Return",
"a",
"nice",
"clean",
"name",
"for",
"a",
"pass",
"."
] | [
"Z80",
"\"Z80 Machine Late Optimization\""
] | Z80MachineLateOptimization1 | getPassName | Z80 | MPU | LLVM | 9,879 | 11 | 1 | [] |
[
"<s>",
"static",
"rtx_insn",
"*",
"mips_epilogue_emit_cfa_restores",
"(",
"void",
")",
"{",
"rtx_insn",
"*",
"insn",
";",
"insn",
"=",
"get_last_insn",
"(",
")",
";",
"if",
"(",
"mips_epilogue",
".",
"cfa_restores",
")",
"{",
"gcc_assert",
"(",
"insn",
"&&",... | [
"Attach",
"all",
"pending",
"register",
"saves",
"to",
"the",
"previous",
"instruction",
".",
"Return",
"that",
"instruction",
"."
] | [
"mips",
"1",
"0"
] | mips | mips_epilogue_emit_cfa_restores | mips | CPU | GCC | 9,880 | 63 | 1 | [] |
[
"<s>",
"static",
"void",
"insn_set_clock",
"(",
"rtx",
"insn",
",",
"int",
"cycle",
")",
"{",
"unsigned",
"uid",
"=",
"INSN_UID",
"(",
"insn",
")",
";",
"if",
"(",
"uid",
">=",
"INSN_INFO_LENGTH",
")",
"insn_info",
".",
"safe_grow",
"(",
"uid",
"*",
"5... | [
"Set",
"the",
"clock",
"cycle",
"of",
"INSN",
"to",
"CYCLE",
".",
"Also",
"clears",
"the",
"insn",
"'s",
"entry",
"in",
"new_conditions",
"."
] | [
"c6x",
"5",
"4",
"10",
"0"
] | c6x | insn_set_clock | c6x | VLIW | GCC | 9,881 | 77 | 1 | [] |
[
"<s>",
"SDNode",
"*",
"XNCMDAGToDAGISel",
"::",
"Select",
"(",
"SDNode",
"*",
"Node",
")",
"{",
"DEBUG",
"(",
"errs",
"(",
")",
"<<",
"\"Selecting: \"",
")",
";",
"DEBUG",
"(",
"Node",
"->",
"dump",
"(",
"CurDAG",
")",
")",
";",
"DEBUG",
"(",
"errs",... | [
"Main",
"hook",
"for",
"targets",
"to",
"transform",
"nodes",
"into",
"machine",
"nodes",
"."
] | [
"XNCM",
"XNCM",
"\"Selecting: \"",
"\"\\n\"",
"\"== \"",
"\"\\n\"",
"\"=> \"",
"\"\\n\""
] | XNCMISelDAGToDAG | Select | XNCM | CPU | LLVM | 9,882 | 150 | 1 | [] |
[
"<s>",
"static",
"unsigned",
"int",
"pru_section_type_flags",
"(",
"tree",
"decl",
",",
"const",
"char",
"*",
"name",
",",
"int",
"reloc",
")",
"{",
"unsigned",
"int",
"flags",
"=",
"default_section_type_flags",
"(",
"decl",
",",
"name",
",",
"reloc",
")",
... | [
"Implement",
"TARGET_SECTION_TYPE_FLAGS",
"."
] | [
"pru",
"\".pru_irq_map\""
] | pru | pru_section_type_flags | pru | CPU | GCC | 9,883 | 50 | 1 | [] |
[
"<s>",
"static",
"bool",
"or1k_strict_argument_naming",
"(",
"cumulative_args_t",
")",
"{",
"return",
"true",
";",
"}",
"</s>"
] | [
"Worker",
"for",
"TARGET_STRICT_ARGUMENT_NAMING",
".",
"Return",
"true",
"always",
"as",
"on",
"OpenRISC",
"the",
"last",
"argument",
"in",
"a",
"variatic",
"function",
"is",
"named",
"."
] | [
"or1k"
] | or1k | or1k_strict_argument_naming | or1k | CPU | GCC | 9,884 | 11 | 1 | [] |
[
"<s>",
"void",
"PPCRegisterInfo",
"::",
"lowerCRSpilling",
"(",
"MachineBasicBlock",
"::",
"iterator",
"II",
",",
"unsigned",
"FrameIndex",
",",
"int",
"SPAdj",
",",
"RegScavenger",
"*",
"RS",
")",
"const",
"{",
"MachineInstr",
"&",
"MI",
"=",
"*",
"II",
";"... | [
"lowerCRSpilling",
"-",
"Generate",
"the",
"code",
"for",
"spilling",
"a",
"CR",
"register",
"."
] | [
"PowerPC",
"PPC",
"PPC::G8RCRegClass",
"PPC::GPRCRegClass",
"PPC",
"0",
"PPC::MFCRpseud",
"0",
"PPC::CR0",
"PPC::RLWINM",
"PPC",
"4",
"0",
"31",
"PPC::STW",
"1"
] | PPCRegisterInfo21 | lowerCRSpilling | PowerPC | CPU | LLVM | 9,885 | 260 | 1 | [] |
[
"<s>",
"virtual",
"void",
"applyFixup",
"(",
"const",
"MCFixup",
"&",
"Fixup",
",",
"char",
"*",
"Data",
",",
"unsigned",
"DataSize",
",",
"uint64_t",
"Value",
")",
"const",
"{",
"MCFixupKind",
"Kind",
"=",
"Fixup",
".",
"getKind",
"(",
")",
";",
"Value"... | [
"Apply",
"the",
"Value",
"for",
"given",
"Fixup",
"into",
"the",
"provided",
"data",
"fragment",
",",
"at",
"the",
"offset",
"specified",
"by",
"the",
"fixup",
"and",
"following",
"the",
"fixup",
"kind",
"as",
"appropriate",
"."
] | [
"Patmos",
"7",
"8",
"7",
"8",
"0",
"0",
"1",
"8",
"1",
"64",
"8",
"0",
"1",
"8",
"0xff"
] | PatmosAsmBackend | applyFixup | Patmos | VLIW | LLVM | 9,886 | 248 | 1 | [] |
[
"<s>",
"bool",
"X86ATTAsmPrinter",
"::",
"PrintAsmOperand",
"(",
"const",
"MachineInstr",
"*",
"MI",
",",
"unsigned",
"OpNo",
",",
"unsigned",
"AsmVariant",
",",
"const",
"char",
"*",
"ExtraCode",
")",
"{",
"if",
"(",
"ExtraCode",
"&&",
"ExtraCode",
"[",
"0"... | [
"PrintAsmOperand",
"-",
"Print",
"out",
"an",
"operand",
"for",
"an",
"inline",
"asm",
"expression",
"."
] | [
"X86",
"X86",
"0",
"1",
"0",
"0",
"\"mem\"",
"0",
"\"mem\""
] | X86ATTAsmPrinter1 | PrintAsmOperand | X86 | CPU | LLVM | 9,887 | 156 | 1 | [] |
[
"<s>",
"void",
"SIFrameLowering",
"::",
"processFunctionBeforeFrameFinalized",
"(",
"MachineFunction",
"&",
"MF",
",",
"RegScavenger",
"*",
"RS",
")",
"const",
"{",
"MachineFrameInfo",
"*",
"MFI",
"=",
"MF",
".",
"getFrameInfo",
"(",
")",
";",
"bool",
"MayNeedSc... | [
"processFunctionBeforeFrameFinalized",
"-",
"This",
"method",
"is",
"called",
"immediately",
"before",
"the",
"specified",
"function",
"'s",
"frame",
"layout",
"(",
"MF.getFrameInfo",
"(",
")",
")",
"is",
"finalized",
"."
] | [
"AMDGPU",
"SI",
"\"RegScavenger required if spilling\"",
"AMDGPU::SGPR_32RegClass",
"AMDGPU::SGPR_32RegClass"
] | SIFrameLowering42 | processFunctionBeforeFrameFinalized | AMDGPU | GPU | LLVM | 9,888 | 84 | 1 | [] |
[
"<s>",
"static",
"void",
"release_scratch_register_on_entry",
"(",
"struct",
"scratch_reg",
"*",
"sr",
",",
"HOST_WIDE_INT",
"offset",
",",
"bool",
"release_via_pop",
")",
"{",
"if",
"(",
"sr",
"->",
"saved",
")",
"{",
"if",
"(",
"release_via_pop",
")",
"{",
... | [
"Release",
"a",
"scratch",
"register",
"obtained",
"from",
"the",
"preceding",
"function",
".",
"If",
"RELEASE_VIA_POP",
"is",
"true",
",",
"we",
"just",
"pop",
"the",
"register",
"off",
"the",
"stack",
"to",
"release",
"it",
".",
"This",
"is",
"what",
"no... | [
"i386",
"1"
] | i386 | release_scratch_register_on_entry | i386 | CPU | GCC | 9,889 | 135 | 1 | [] |
[
"<s>",
"const",
"char",
"*",
"mips_output_jump",
"(",
"rtx",
"*",
"operands",
",",
"int",
"target_opno",
",",
"int",
"size_opno",
",",
"bool",
"link_p",
")",
"{",
"static",
"char",
"buffer",
"[",
"300",
"]",
";",
"char",
"*",
"s",
"=",
"buffer",
";",
... | [
"Return",
"the",
"asm",
"template",
"for",
"a",
"call",
".",
"OPERANDS",
"are",
"the",
"operands",
",",
"TARGET_OPNO",
"is",
"the",
"operand",
"number",
"of",
"the",
"target",
".",
"SIZE_OPNO",
"is",
"the",
"operand",
"number",
"of",
"the",
"argument",
"si... | [
"mips",
"300",
"\"al\"",
"\"\"",
"\"r\"",
"\"\"",
"\"\"",
"\"%/\"",
"\"%!\"",
"\"\"",
"\"j\"",
"\"b\"",
"\"c\"",
"\"\"",
"\"%%*%s%s\\t%%%d%%/\"",
"\".option\\tpic0\\n\\t\"",
"\"%%*.reloc\\t1f,%s,%%%d\\n1:\\t\"",
"\"R_MICROMIPS_JALR\"",
"\"R_MIPS_JALR\"",
"\"%%*\"",
"\"%s%s%s%... | mips | mips_output_jump | mips | CPU | GCC | 9,890 | 251 | 1 | [] |
[
"<s>",
"bool",
"m68k_movem_pattern_p",
"(",
"rtx",
"pattern",
",",
"rtx",
"automod_base",
",",
"HOST_WIDE_INT",
"automod_offset",
",",
"bool",
"store_p",
")",
"{",
"rtx",
"base",
",",
"mem_base",
",",
"set",
",",
"mem",
",",
"reg",
",",
"last_reg",
";",
"H... | [
"Return",
"true",
"if",
"PATTERN",
"is",
"a",
"PARALLEL",
"suitable",
"for",
"a",
"movem",
"or",
"fmovem",
"instruction",
".",
"STORE_P",
"says",
"whether",
"the",
"move",
"is",
"a",
"load",
"or",
"store",
".",
"If",
"the",
"instruction",
"uses",
"post-inc... | [
"m68k",
"0",
"0",
"0",
"0",
"0",
"0",
"0",
"0",
"0",
"0"
] | m68k | m68k_movem_pattern_p | m68k | MPU | GCC | 9,891 | 424 | 1 | [] |
[
"<s>",
"rtx",
"nios2_get_return_address",
"(",
"int",
"count",
")",
"{",
"if",
"(",
"count",
"!=",
"0",
")",
"return",
"const0_rtx",
";",
"return",
"get_hard_reg_initial_val",
"(",
"Pmode",
",",
"RA_REGNO",
")",
";",
"}",
"</s>"
] | [
"Implement",
"RETURN_ADDR_RTX",
".",
"Note",
",",
"we",
"do",
"not",
"support",
"moving",
"back",
"to",
"a",
"previous",
"frame",
"."
] | [
"nios2",
"0"
] | nios2 | nios2_get_return_address | nios2 | MPU | GCC | 9,892 | 25 | 1 | [] |
[
"<s>",
"EVT",
"RISCVTargetLowering",
"::",
"getSetCCResultType",
"(",
"const",
"DataLayout",
"&",
"DL",
",",
"LLVMContext",
"&",
"Context",
",",
"EVT",
"VT",
")",
"const",
"{",
"if",
"(",
"!",
"VT",
".",
"isVector",
"(",
")",
")",
"return",
"getPointerTy",... | [
"Return",
"the",
"value",
"type",
"to",
"use",
"for",
"ISD",
":",
":SETCC",
"."
] | [
"RISCV",
"RISCV",
"0",
"MVT::i1"
] | RISCVISelLowering42 | getSetCCResultType | RISCV | CPU | LLVM | 9,893 | 84 | 1 | [] |
[
"<s>",
"static",
"int",
"rs6000_hard_regno_mode_ok",
"(",
"int",
"regno",
",",
"machine_mode",
"mode",
")",
"{",
"int",
"last_regno",
"=",
"regno",
"+",
"rs6000_hard_regno_nregs",
"[",
"mode",
"]",
"[",
"regno",
"]",
"-",
"1",
";",
"if",
"(",
"mode",
"==",... | [
"Value",
"is",
"1",
"if",
"hard",
"register",
"REGNO",
"can",
"hold",
"a",
"value",
"of",
"machine-mode",
"MODE",
"."
] | [
"rs6000",
"1",
"1",
"0",
"16",
"0",
"2",
"0",
"1",
"1",
"1",
"0",
"1"
] | rs60005 | rs6000_hard_regno_mode_ok | rs6000 | CPU | GCC | 9,894 | 333 | 1 | [] |
[
"<s>",
"tree",
"arm_valid_target_attribute_tree",
"(",
"tree",
"args",
",",
"struct",
"gcc_options",
"*",
"opts",
",",
"struct",
"gcc_options",
"*",
"opts_set",
")",
"{",
"struct",
"cl_target_option",
"cl_opts",
";",
"if",
"(",
"!",
"arm_valid_target_attribute_rec",... | [
"Return",
"a",
"TARGET_OPTION_NODE",
"tree",
"of",
"the",
"target",
"options",
"listed",
"or",
"NULL",
"."
] | [
"arm"
] | arm1 | arm_valid_target_attribute_tree | arm | CPU | GCC | 9,895 | 86 | 1 | [] |
[
"<s>",
"unsigned",
"XCoreRegisterInfo",
"::",
"getRARegister",
"(",
")",
"const",
"{",
"return",
"XCore",
"::",
"LR",
";",
"}",
"</s>"
] | [
"This",
"method",
"should",
"return",
"the",
"register",
"where",
"the",
"return",
"address",
"can",
"be",
"found",
"."
] | [
"XCore",
"XCore",
"XCore::LR"
] | XCoreRegisterInfo11 | getRARegister | XCore | MPU | LLVM | 9,896 | 14 | 1 | [] |
[
"<s>",
"EVT",
"X86TargetLowering",
"::",
"getOptimalMemOpType",
"(",
"const",
"MemOp",
"&",
"Op",
",",
"const",
"AttributeList",
"&",
"FuncAttributes",
")",
"const",
"{",
"if",
"(",
"!",
"FuncAttributes",
".",
"hasFnAttr",
"(",
"Attribute",
"::",
"NoImplicitFloa... | [
"It",
"returns",
"EVT",
":",
":Other",
"if",
"the",
"type",
"should",
"be",
"determined",
"using",
"generic",
"target-independent",
"logic",
"."
] | [
"X86",
"X86",
"16",
"16",
"64",
"512",
"MVT::v64i8",
"MVT::v16i32",
"32",
"256",
"MVT::v32i8",
"128",
"MVT::v16i8",
"128",
"MVT::v4f32",
"8",
"MVT::f64",
"8",
"MVT::i64",
"MVT::i32"
] | X86ISelLowering (2)5 | getOptimalMemOpType | X86 | CPU | LLVM | 9,897 | 279 | 1 | [] |
[
"<s>",
"bool",
"riscv_new_address_profitable_p",
"(",
"rtx",
"memref",
",",
"rtx_insn",
"*",
"insn",
",",
"rtx",
"new_addr",
")",
"{",
"addr_space_t",
"as",
"=",
"MEM_ADDR_SPACE",
"(",
"memref",
")",
";",
"bool",
"speed",
"=",
"optimize_bb_for_speed_p",
"(",
"... | [
"Implement",
"TARGET_NEW_ADDRESS_PROFITABLE_P",
"."
] | [
"riscv",
"0"
] | riscv | riscv_new_address_profitable_p | riscv | CPU | GCC | 9,898 | 78 | 1 | [] |
[
"<s>",
"void",
"riscv_init_builtins",
"(",
"void",
")",
"{",
"for",
"(",
"size_t",
"i",
"=",
"0",
";",
"i",
"<",
"ARRAY_SIZE",
"(",
"riscv_builtins",
")",
";",
"i",
"++",
")",
"{",
"const",
"struct",
"riscv_builtin_description",
"*",
"d",
"=",
"&",
"ri... | [
"Implement",
"TARGET_INIT_BUILTINS",
"."
] | [
"riscv",
"0"
] | riscv-builtins | riscv_init_builtins | riscv | CPU | GCC | 9,899 | 89 | 1 | [] |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.