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",
"enum",
"loongarch_symbol_type",
"loongarch_classify_symbol",
"(",
"const_rtx",
"x",
")",
"{",
"enum",
"loongarch_symbol_type",
"pcrel",
"=",
"TARGET_CMODEL_EXTREME",
"?",
"SYMBOL_PCREL64",
":",
"SYMBOL_PCREL",
";",
"if",
"(",
"!",
"SYMBOL_REF_P",
"("... | [
"Return",
"the",
"method",
"that",
"should",
"be",
"used",
"to",
"access",
"SYMBOL_REF",
"or",
"LABEL_REF",
"X",
"."
] | [
"loongarch",
"\"model\"",
"\"normal\"",
"0",
"\"extreme\"",
"0"
] | loongarch1 | loongarch_classify_symbol | loongarch | CPU | GCC | 28,600 | 150 | 1 | [] |
[
"<s>",
"bool",
"AArch64InstrInfo",
"::",
"isMBBSafeToOutlineFrom",
"(",
"MachineBasicBlock",
"&",
"MBB",
",",
"unsigned",
"&",
"Flags",
")",
"const",
"{",
"assert",
"(",
"MBB",
".",
"getParent",
"(",
")",
"->",
"getRegInfo",
"(",
")",
".",
"tracksLiveness",
... | [
"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... | AArch64InstrInfo (2)1 | isMBBSafeToOutlineFrom | AArch64 | CPU | LLVM | 28,601 | 336 | 1 | [] |
[
"<s>",
"const",
"MCExpr",
"*",
"ARMElfTargetObjectFile",
"::",
"getTTypeGlobalReference",
"(",
"const",
"GlobalValue",
"*",
"GV",
",",
"unsigned",
"Encoding",
",",
"Mangler",
"&",
"Mang",
",",
"const",
"TargetMachine",
"&",
"TM",
",",
"MachineModuleInfo",
"*",
"... | [
"The",
"mach-o",
"version",
"of",
"this",
"method",
"defaults",
"to",
"returning",
"a",
"stub",
"reference",
"."
] | [
"ARM",
"ARM",
"ARM",
"\"Can handle absptr encoding only\"",
"ARM"
] | ARMTargetObjectFile (2) | getTTypeGlobalReference | ARM | CPU | LLVM | 28,602 | 101 | 1 | [] |
[
"<s>",
"bool",
"Z80oldFrameLowering",
"::",
"hasFP",
"(",
"const",
"MachineFunction",
"&",
"MF",
")",
"const",
"{",
"return",
"MF",
".",
"getTarget",
"(",
")",
".",
"Options",
".",
"DisableFramePointerElim",
"(",
"MF",
")",
"||",
"MF",
".",
"getFrameInfo",
... | [
"hasFP",
"-",
"Return",
"true",
"if",
"the",
"specified",
"function",
"should",
"have",
"a",
"dedicated",
"frame",
"pointer",
"register",
"."
] | [
"Z80old",
"Z80old"
] | Z80oldFrameLowering | hasFP | Z80old | MPU | LLVM | 28,603 | 37 | 1 | [] |
[
"<s>",
"static",
"void",
"arm_adjust_block_mem",
"(",
"rtx",
"mem",
",",
"HOST_WIDE_INT",
"length",
",",
"rtx",
"*",
"loop_reg",
",",
"rtx",
"*",
"loop_mem",
")",
"{",
"*",
"loop_reg",
"=",
"copy_addr_to_reg",
"(",
"XEXP",
"(",
"mem",
",",
"0",
")",
")",... | [
"From",
"mips_adjust_block_mem",
":",
"Helper",
"function",
"for",
"doing",
"a",
"loop-based",
"block",
"operation",
"on",
"memory",
"reference",
"MEM",
".",
"Each",
"iteration",
"of",
"the",
"loop",
"will",
"operate",
"on",
"LENGTH",
"bytes",
"of",
"MEM",
"."... | [
"arm",
"0"
] | arm | arm_adjust_block_mem | arm | CPU | GCC | 28,604 | 64 | 1 | [] |
[
"<s>",
"static",
"HOST_WIDE_INT",
"aarch64_estimated_poly_value",
"(",
"poly_int64",
"val",
",",
"poly_value_estimate_kind",
"kind",
"=",
"POLY_VALUE_LIKELY",
")",
"{",
"enum",
"aarch64_sve_vector_bits_enum",
"width_source",
"=",
"aarch64_tune_params",
".",
"sve_width",
";"... | [
"Implement",
"TARGET_ESTIMATED_POLY_VALUE",
".",
"Look",
"into",
"the",
"tuning",
"structure",
"for",
"an",
"estimate",
".",
"KIND",
"specifies",
"the",
"type",
"of",
"requested",
"estimate",
":",
"min",
",",
"max",
"or",
"likely",
".",
"For",
"cores",
"with",... | [
"aarch64",
"0",
"0",
"1",
"15",
"128",
"0",
"1",
"128"
] | aarch641 | aarch64_estimated_poly_value | aarch64 | CPU | GCC | 28,605 | 94 | 1 | [] |
[
"<s>",
"static",
"rtx",
"tilepro_function_arg",
"(",
"cumulative_args_t",
"cum_v",
",",
"machine_mode",
"mode",
",",
"const_tree",
"type",
",",
"bool",
"named",
"ATTRIBUTE_UNUSED",
")",
"{",
"CUMULATIVE_ARGS",
"cum",
"=",
"*",
"get_cumulative_args",
"(",
"cum_v",
... | [
"Implement",
"TARGET_FUNCTION_ARG",
"."
] | [
"tilepro",
"1",
"1"
] | tilepro2 | tilepro_function_arg | tilepro | VLIW | GCC | 28,606 | 111 | 1 | [] |
[
"<s>",
"SDValue",
"NVPTXTargetLowering",
"::",
"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",
"."
] | [
"NVPTX",
"NVPTX",
"ISD::OutputArg",
"20",
"0",
"0",
"0",
"1",
"0",
"ISD::EXTRACT_VECTOR_ELT",
"NVPTXISD::StoreRetval",
"NVPTXISD::MoveToRetval",
"MVT::Other",
"MVT::i32",
"8",
"8",
"NVPTXISD::RET_FLAG",
"MVT::Other"
] | NVPTXISelLowering28 | LowerReturn | NVPTX | GPU | LLVM | 28,607 | 284 | 1 | [] |
[
"<s>",
"TargetLowering",
"::",
"ConstraintWeight",
"ARMTargetLowering",
"::",
"getSingleConstraintMatchWeight",
"(",
"AsmOperandInfo",
"&",
"info",
",",
"const",
"char",
"*",
"constraint",
")",
"const",
"{",
"ConstraintWeight",
"weight",
"=",
"CW_Invalid",
";",
"Value... | [
"Examine",
"constraint",
"string",
"and",
"operand",
"type",
"and",
"determine",
"a",
"weight",
"value",
"."
] | [
"ARM",
"ARM"
] | ARMISelLowering (2)1 | getSingleConstraintMatchWeight | ARM | CPU | LLVM | 28,608 | 125 | 1 | [] |
[
"<s>",
"void",
"MSP430RegisterInfo",
"::",
"processFunctionBeforeFrameFinalized",
"(",
"MachineFunction",
"&",
"MF",
")",
"const",
"{",
"if",
"(",
"hasFP",
"(",
"MF",
")",
")",
"{",
"int",
"FrameIdx",
"=",
"MF",
".",
"getFrameInfo",
"(",
")",
"->",
"CreateFi... | [
"processFunctionBeforeFrameFinalized",
"-",
"This",
"method",
"is",
"called",
"immediately",
"before",
"the",
"specified",
"function",
"'s",
"frame",
"layout",
"(",
"MF.getFrameInfo",
"(",
")",
")",
"is",
"finalized",
"."
] | [
"MSP430",
"MSP430",
"2",
"4",
"\"Slot for FPW register must be last in order to be found!\""
] | MSP430RegisterInfo10 | processFunctionBeforeFrameFinalized | MSP430 | MPU | LLVM | 28,609 | 62 | 1 | [] |
[
"<s>",
"static",
"rtx",
"arc_function_value",
"(",
"const_tree",
"valtype",
",",
"const_tree",
"fn_decl_or_type",
"ATTRIBUTE_UNUSED",
",",
"bool",
"outgoing",
"ATTRIBUTE_UNUSED",
")",
"{",
"machine_mode",
"mode",
"=",
"TYPE_MODE",
"(",
"valtype",
")",
";",
"int",
... | [
"Define",
"how",
"to",
"find",
"the",
"value",
"returned",
"by",
"a",
"function",
".",
"VALTYPE",
"is",
"the",
"data",
"type",
"of",
"the",
"value",
"(",
"as",
"a",
"tree",
")",
".",
"If",
"the",
"precise",
"function",
"being",
"called",
"is",
"known",... | [
"arc",
"0"
] | arc | arc_function_value | arc | MPU | GCC | 28,610 | 67 | 1 | [] |
[
"<s>",
"virtual",
"bool",
"trackLivenessAfterRegAlloc",
"(",
"const",
"MachineFunction",
"&",
"MF",
")",
"const",
"{",
"return",
"true",
";",
"}",
"</s>"
] | [
"Returns",
"true",
"if",
"the",
"live-ins",
"should",
"be",
"tracked",
"after",
"register",
"allocation",
"."
] | [
"CellSPU"
] | SPURegisterInfo4 | trackLivenessAfterRegAlloc | CellSPU | MPU | LLVM | 28,611 | 15 | 1 | [] |
[
"<s>",
"static",
"void",
"aarch64_parse_override_string",
"(",
"const",
"char",
"*",
"input_string",
",",
"struct",
"tune_params",
"*",
"tune",
")",
"{",
"const",
"char",
"separator",
"=",
"':'",
";",
"size_t",
"string_length",
"=",
"strlen",
"(",
"input_string"... | [
"Parse",
"STRING",
"looking",
"for",
"options",
"in",
"the",
"format",
":",
"string",
":",
":",
"option",
":",
"string",
"option",
":",
":",
"name=substring",
"name",
":",
":",
"{",
"a-z",
"}",
"substring",
":",
":",
"defined",
"by",
"option",
"."
] | [
"aarch64",
"1",
"1"
] | aarch64 | aarch64_parse_override_string | aarch64 | CPU | GCC | 28,612 | 139 | 1 | [] |
[
"<s>",
"void",
"ARMAsmBackend",
"::",
"applyFixup",
"(",
"const",
"MCAssembler",
"&",
"Asm",
",",
"const",
"MCFixup",
"&",
"Fixup",
",",
"const",
"MCValue",
"&",
"Target",
",",
"MutableArrayRef",
"<",
"char",
">",
"Data",
",",
"uint64_t",
"Value",
",",
"bo... | [
"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"
] | ARMAsmBackend15 | applyFixup | ARM | CPU | LLVM | 28,613 | 207 | 1 | [] |
[
"<s>",
"virtual",
"MVT",
"getShiftAmountTy",
"(",
"EVT",
"LHSTy",
")",
"const",
"{",
"return",
"MVT",
"::",
"i64",
";",
"}",
"</s>"
] | [
"Returns",
"the",
"type",
"for",
"the",
"shift",
"amount",
"of",
"a",
"shift",
"opcode",
"."
] | [
"SystemZ",
"MVT::i64"
] | SystemZISelLowering65 | getShiftAmountTy | SystemZ | CPU | LLVM | 28,614 | 15 | 1 | [] |
[
"<s>",
"static",
"rtx",
"arm_expand_builtin_1",
"(",
"int",
"fcode",
",",
"tree",
"exp",
",",
"rtx",
"target",
",",
"arm_builtin_datum",
"*",
"d",
")",
"{",
"enum",
"insn_code",
"icode",
"=",
"d",
"->",
"code",
";",
"builtin_arg",
"args",
"[",
"SIMD_MAX_BU... | [
"Expand",
"a",
"builtin",
".",
"These",
"builtins",
"are",
"``",
"special",
"''",
"because",
"they",
"do",
"n't",
"have",
"symbolic",
"constants",
"defined",
"per-instruction",
"or",
"per",
"instruction-variant",
".",
"Instead",
",",
"the",
"required",
"info",
... | [
"arm",
"1",
"0",
"1",
"1",
"0",
"1",
"1",
"1"
] | arm-builtins | arm_expand_builtin_1 | arm | CPU | GCC | 28,615 | 401 | 1 | [] |
[
"<s>",
"bool",
"GCNTTIImpl",
"::",
"getTgtMemIntrinsic",
"(",
"IntrinsicInst",
"*",
"Inst",
",",
"MemIntrinsicInfo",
"&",
"Info",
")",
"const",
"{",
"switch",
"(",
"Inst",
"->",
"getIntrinsicID",
"(",
")",
")",
"{",
"case",
"Intrinsic",
"::",
"amdgcn_atomic_in... | [
"Given",
"an",
"intrinsic",
",",
"checks",
"if",
"on",
"the",
"target",
"the",
"intrinsic",
"will",
"need",
"to",
"map",
"to",
"a",
"MemIntrinsicNode",
"(",
"touches",
"memory",
")",
"."
] | [
"AMDGPU",
"Intrinsic::amdgcn_atomic_inc",
"Intrinsic::amdgcn_atomic_dec",
"Intrinsic::amdgcn_ds_ordered_add",
"Intrinsic::amdgcn_ds_ordered_swap",
"Intrinsic::amdgcn_ds_fadd",
"Intrinsic::amdgcn_ds_fmin",
"Intrinsic::amdgcn_ds_fmax",
"2",
"4",
"0"
] | AMDGPUTargetTransformInfo1 | getTgtMemIntrinsic | AMDGPU | GPU | LLVM | 28,616 | 188 | 1 | [] |
[
"<s>",
"void",
"ia64_expand_compare",
"(",
"rtx",
"*",
"expr",
",",
"rtx",
"*",
"op0",
",",
"rtx",
"*",
"op1",
")",
"{",
"enum",
"rtx_code",
"code",
"=",
"GET_CODE",
"(",
"*",
"expr",
")",
";",
"rtx",
"cmp",
";",
"if",
"(",
"GET_MODE",
"(",
"*",
... | [
"Emit",
"comparison",
"instruction",
"if",
"necessary",
",",
"returning",
"the",
"expression",
"that",
"holds",
"the",
"compare",
"result",
"in",
"the",
"proper",
"mode",
"."
] | [
"ia64",
"1",
"2",
"4",
"8",
"16",
"0",
"3"
] | ia644 | ia64_expand_compare | ia64 | CPU | GCC | 28,617 | 488 | 1 | [] |
[
"<s>",
"unsigned",
"MipsFunctionInfo",
"::",
"getGlobalBaseReg",
"(",
")",
"{",
"if",
"(",
"GlobalBaseReg",
")",
"return",
"GlobalBaseReg",
";",
"const",
"MipsSubtarget",
"&",
"ST",
"=",
"MF",
".",
"getTarget",
"(",
")",
".",
"getSubtarget",
"<",
"MipsSubtarge... | [
"getGlobalBaseReg",
"-",
"Return",
"a",
"virtual",
"register",
"initialized",
"with",
"the",
"the",
"global",
"base",
"register",
"value",
"."
] | [
"Mips",
"Mips",
"Mips",
"Mips",
"Mips",
"Mips::CPU16RegsRegClass",
"Mips::CPU64RegsRegClass",
"Mips::CPURegsRegClass"
] | MipsMachineFunction21 | getGlobalBaseReg | Mips | CPU | LLVM | 28,618 | 101 | 1 | [] |
[
"<s>",
"static",
"void",
"aarch64_restore_callee_saves",
"(",
"machine_mode",
"mode",
",",
"HOST_WIDE_INT",
"start_offset",
",",
"unsigned",
"start",
",",
"unsigned",
"limit",
",",
"bool",
"skip_wb",
",",
"rtx",
"*",
"cfi_ops",
")",
"{",
"rtx",
"base_rtx",
"=",
... | [
"Emit",
"code",
"to",
"restore",
"the",
"callee",
"registers",
"of",
"mode",
"MODE",
"from",
"register",
"number",
"START",
"up",
"to",
"and",
"including",
"LIMIT",
".",
"Restore",
"from",
"the",
"stack",
"offset",
"START_OFFSET",
",",
"skipping",
"any",
"wr... | [
"aarch64",
"1",
"1"
] | aarch642 | aarch64_restore_callee_saves | aarch64 | CPU | GCC | 28,619 | 304 | 1 | [] |
[
"<s>",
"poly_uint64",
"riscv_regmode_natural_size",
"(",
"machine_mode",
"mode",
")",
"{",
"if",
"(",
"!",
"riscv_vector_chunks",
".",
"is_constant",
"(",
")",
"&&",
"riscv_v_ext_vector_mode_p",
"(",
"mode",
")",
")",
"return",
"BYTES_PER_RISCV_VECTOR",
";",
"return... | [
"Implement",
"REGMODE_NATURAL_SIZE",
"."
] | [
"riscv"
] | riscv1 | riscv_regmode_natural_size | riscv | CPU | GCC | 28,620 | 28 | 1 | [] |
[
"<s>",
"int",
"pa_adjust_insn_length",
"(",
"rtx_insn",
"*",
"insn",
",",
"int",
"length",
")",
"{",
"rtx",
"pat",
"=",
"PATTERN",
"(",
"insn",
")",
";",
"if",
"(",
"(",
"unsigned",
"int",
")",
"length",
">=",
"INT_MAX",
")",
"{",
"if",
"(",
"GET_COD... | [
"Return",
"any",
"length",
"adjustment",
"needed",
"by",
"INSN",
"which",
"already",
"has",
"its",
"length",
"computed",
"as",
"LENGTH",
".",
"Return",
"zero",
"if",
"no",
"adjustment",
"is",
"necessary",
".",
"For",
"the",
"PA",
":",
"function",
"calls",
... | [
"pa",
"0",
"0",
"0",
"1",
"20",
"0",
"0",
"0",
"0",
"0",
"0",
"0",
"1",
"0",
"0",
"0",
"0",
"0",
"1",
"4",
"0",
"0",
"0",
"0",
"0",
"0",
"0",
"1",
"0",
"0",
"0",
"4",
"4",
"4",
"4",
"4",
"0",
"1",
"0",
"1",
"0",
"0",
"1",
"0",
... | pa | pa_adjust_insn_length | pa | CPU | GCC | 28,621 | 494 | 1 | [] |
[
"<s>",
"X86TargetMachine",
"::",
"X86TargetMachine",
"(",
"const",
"Target",
"&",
"T",
",",
"StringRef",
"TT",
",",
"StringRef",
"CPU",
",",
"StringRef",
"FS",
",",
"const",
"TargetOptions",
"&",
"Options",
",",
"Reloc",
"::",
"Model",
"RM",
",",
"CodeModel"... | [
"Create",
"an",
"X86",
"target",
"."
] | [
"X86",
"X86",
"X86"
] | X86TargetMachine42 | X86TargetMachine | X86 | CPU | LLVM | 28,622 | 282 | 1 | [] |
[
"<s>",
"static",
"rtx",
"mips16_gp_pseudo_reg",
"(",
"void",
")",
"{",
"if",
"(",
"cfun",
"->",
"machine",
"->",
"mips16_gp_pseudo_rtx",
"==",
"NULL_RTX",
")",
"{",
"rtx_insn",
"*",
"scan",
";",
"cfun",
"->",
"machine",
"->",
"mips16_gp_pseudo_rtx",
"=",
"ge... | [
"If",
"we",
"can",
"access",
"small",
"data",
"directly",
"(",
"using",
"gp-relative",
"relocation",
"operators",
")",
"return",
"the",
"small",
"data",
"pointer",
",",
"otherwise",
"return",
"null",
".",
"For",
"each",
"mips16",
"function",
"which",
"refers",... | [
"mips",
"0"
] | mips | mips16_gp_pseudo_reg | mips | CPU | GCC | 28,623 | 109 | 1 | [] |
[
"<s>",
"bool",
"s390_fma_allowed_p",
"(",
"machine_mode",
"mode",
")",
"{",
"if",
"(",
"TARGET_VXE",
"&&",
"mode",
"==",
"TFmode",
")",
"return",
"flag_vx_long_double_fma",
";",
"return",
"true",
";",
"}",
"</s>"
] | [
"Return",
"nonzero",
"if",
"it",
"'s",
"OK",
"to",
"use",
"fused",
"multiply-add",
"for",
"MODE",
"."
] | [
"s390"
] | s390 | s390_fma_allowed_p | s390 | MPU | GCC | 28,624 | 22 | 1 | [] |
[
"<s>",
"static",
"int",
"arm_block_set_max_insns",
"(",
"void",
")",
"{",
"if",
"(",
"optimize_function_for_size_p",
"(",
"cfun",
")",
")",
"return",
"4",
";",
"else",
"return",
"current_tune",
"->",
"max_insns_inline_memset",
";",
"}",
"</s>"
] | [
"Maximum",
"number",
"of",
"instructions",
"to",
"set",
"block",
"of",
"memory",
"."
] | [
"arm",
"4"
] | arm | arm_block_set_max_insns | arm | CPU | GCC | 28,625 | 24 | 1 | [] |
[
"<s>",
"static",
"bool",
"mips_cfun_has_inflexible_gp_ref_p",
"(",
"void",
")",
"{",
"if",
"(",
"crtl",
"->",
"has_nonlocal_goto",
")",
"return",
"true",
";",
"if",
"(",
"TARGET_ABICALLS_PIC2",
")",
"{",
"if",
"(",
"!",
"TARGET_EXPLICIT_RELOCS",
")",
"return",
... | [
"Return",
"true",
"if",
"the",
"current",
"function",
"refers",
"to",
"the",
"global",
"pointer",
"in",
"a",
"way",
"that",
"forces",
"$",
"28",
"to",
"be",
"valid",
".",
"This",
"means",
"that",
"we",
"ca",
"n't",
"change",
"the",
"choice",
"of",
"glo... | [
"mips"
] | mips | mips_cfun_has_inflexible_gp_ref_p | mips | CPU | GCC | 28,626 | 62 | 1 | [] |
[
"<s>",
"bool",
"ix86_cannot_change_mode_class",
"(",
"enum",
"machine_mode",
"from",
",",
"enum",
"machine_mode",
"to",
",",
"enum",
"reg_class",
"class",
")",
"{",
"if",
"(",
"from",
"==",
"to",
")",
"return",
"false",
";",
"if",
"(",
"MAYBE_FLOAT_CLASS_P",
... | [
"Return",
"true",
"if",
"the",
"registers",
"in",
"CLASS",
"can",
"not",
"represent",
"the",
"change",
"from",
"modes",
"FROM",
"to",
"TO",
"."
] | [
"i386",
"4"
] | i3863 | ix86_cannot_change_mode_class | i386 | CPU | GCC | 28,627 | 80 | 1 | [] |
[
"<s>",
"bool",
"X86InstrInfo",
"::",
"getMachineCombinerPatterns",
"(",
"MachineInstr",
"&",
"Root",
",",
"SmallVectorImpl",
"<",
"MachineCombinerPattern",
"::",
"MC_PATTERN",
">",
"&",
"Patterns",
")",
"const",
"{",
"if",
"(",
"!",
"Root",
".",
"getParent",
"("... | [
"Return",
"true",
"when",
"there",
"is",
"potentially",
"a",
"faster",
"code",
"sequence",
"for",
"an",
"instruction",
"chain",
"ending",
"in",
"Root",
"."
] | [
"X86",
"X86"
] | X86InstrInfo111 | getMachineCombinerPatterns | X86 | CPU | LLVM | 28,628 | 110 | 1 | [] |
[
"<s>",
"bool",
"XCoreFrameLowering",
"::",
"spillCalleeSavedRegisters",
"(",
"MachineBasicBlock",
"&",
"MBB",
",",
"MachineBasicBlock",
"::",
"iterator",
"MI",
",",
"const",
"std",
"::",
"vector",
"<",
"CalleeSavedInfo",
">",
"&",
"CSI",
",",
"const",
"TargetRegis... | [
"spillCalleeSavedRegisters",
"-",
"Issues",
"instruction",
"(",
"s",
")",
"to",
"spill",
"all",
"callee",
"saved",
"registers",
"and",
"returns",
"true",
"if",
"it",
"is",
"n't",
"possible",
"/",
"profitable",
"to",
"do",
"so",
"by",
"issuing",
"a",
"series"... | [
"XCore",
"XCore",
"XCore",
"XCore",
"XCore",
"XCore::LR",
"XCore::R10",
"\"LR & FP are always handled in emitPrologue\""
] | XCoreFrameLowering (2) | spillCalleeSavedRegisters | XCore | MPU | LLVM | 28,629 | 265 | 1 | [] |
[
"<s>",
"unsigned",
"getELFArch",
"(",
")",
"const",
"{",
"assert",
"(",
"ELFArch",
"!=",
"0",
"&&",
"\"every device must have an associate ELF architecture\"",
")",
";",
"return",
"ELFArch",
";",
"}",
"</s>"
] | [
"Gets",
"the",
"ELF",
"architecture",
"for",
"the",
"e_flags",
"field",
"of",
"an",
"ELF",
"object",
"file",
"."
] | [
"AVR",
"0",
"\"every device must have an associate ELF architecture\""
] | AVRSubtarget | getELFArch | AVR | MPU | LLVM | 28,630 | 19 | 1 | [] |
[
"<s>",
"unsigned",
"getReg",
"(",
")",
"const",
"override",
"{",
"assert",
"(",
"isRegNumber",
"(",
")",
"&&",
"\"Invalid access!\"",
")",
";",
"return",
"(",
"unsigned",
")",
"Imm",
".",
"Val",
";",
"}",
"</s>"
] | [
"Returns",
"the",
"register",
"associated",
"with",
"this",
"edge",
"."
] | [
"PowerPC",
"\"Invalid access!\""
] | PPCAsmParser (2)1 | getReg | PowerPC | CPU | LLVM | 28,631 | 25 | 1 | [] |
[
"<s>",
"int",
"scalar_chain",
"::",
"convert",
"(",
")",
"{",
"bitmap_iterator",
"bi",
";",
"unsigned",
"id",
";",
"int",
"converted_insns",
"=",
"0",
";",
"if",
"(",
"!",
"dbg_cnt",
"(",
"stv_conversion",
")",
")",
"return",
"0",
";",
"if",
"(",
"dump... | [
"Convert",
"whole",
"chain",
"creating",
"required",
"register",
"conversions",
"and",
"copies",
"."
] | [
"i386",
"0",
"0",
"\"Converting chain #%d...\\n\"",
"0",
"0",
"0"
] | i3865 | convert | i386 | CPU | GCC | 28,632 | 103 | 1 | [] |
[
"<s>",
"bool",
"msp430_use_f5_series_hwmult",
"(",
"void",
")",
"{",
"static",
"const",
"char",
"*",
"cached_match",
"=",
"NULL",
";",
"static",
"bool",
"cached_result",
";",
"if",
"(",
"msp430_hwmult_type",
"==",
"MSP430_HWMULT_F5SERIES",
")",
"return",
"true",
... | [
"Returns",
"true",
"if",
"the",
"current",
"MCU",
"supports",
"an",
"F5xxx",
"series",
"hardware",
"multiper",
"."
] | [
"msp430",
"\"msp430f5\"",
"8",
"0",
"\"msp430fr5\"",
"9",
"0",
"\"msp430f6\"",
"8",
"0",
"0",
"8"
] | msp4304 | msp430_use_f5_series_hwmult | msp430 | MPU | GCC | 28,633 | 157 | 1 | [] |
[
"<s>",
"SDValue",
"SITargetLowering",
"::",
"LowerOperation",
"(",
"SDValue",
"Op",
",",
"SelectionDAG",
"&",
"DAG",
")",
"const",
"{",
"switch",
"(",
"Op",
".",
"getOpcode",
"(",
")",
")",
"{",
"default",
":",
"return",
"AMDGPUTargetLowering",
"::",
"LowerO... | [
"LowerOperation",
"-",
"Provide",
"custom",
"lowering",
"hooks",
"for",
"some",
"operations",
"."
] | [
"AMDGPU",
"SI",
"AMDGPU",
"ISD::BRCOND",
"ISD::LOAD",
"2",
"\"Load should return a value and a chain\"",
"ISD::FSIN",
"ISD::FCOS",
"ISD::SELECT",
"ISD::FDIV",
"ISD::ATOMIC_CMP_SWAP",
"ISD::STORE",
"ISD::GlobalAddress",
"SI",
"SI",
"ISD::INTRINSIC_WO_CHAIN",
"SI",
"ISD::INTRINSIC_... | SIISelLowering114 | LowerOperation | AMDGPU | GPU | LLVM | 28,634 | 320 | 1 | [] |
[
"<s>",
"static",
"int",
"aarch64_builtin_vectorization_cost",
"(",
"enum",
"vect_cost_for_stmt",
"type_of_cost",
",",
"tree",
"vectype",
",",
"int",
"misalign",
"ATTRIBUTE_UNUSED",
")",
"{",
"unsigned",
"elements",
";",
"switch",
"(",
"type_of_cost",
")",
"{",
"case... | [
"Implement",
"targetm.vectorize.builtin_vectorization_cost",
"."
] | [
"aarch64",
"2",
"1"
] | aarch643 | aarch64_builtin_vectorization_cost | aarch64 | CPU | GCC | 28,635 | 189 | 1 | [] |
[
"<s>",
"void",
"PPCAIXAsmPrinter",
"::",
"emitGlobalVariable",
"(",
"const",
"GlobalVariable",
"*",
"GV",
")",
"{",
"if",
"(",
"isSpecialLLVMGlobalArrayToSkip",
"(",
"GV",
")",
"||",
"isSpecialLLVMGlobalArrayForStaticInit",
"(",
"GV",
")",
")",
"return",
";",
"if"... | [
"Emit",
"the",
"specified",
"global",
"variable",
"to",
"the",
".s",
"file",
"."
] | [
"PowerPC",
"PPC",
"\"toc-data\""
] | PPCAsmPrinter (2)3 | emitGlobalVariable | PowerPC | CPU | LLVM | 28,636 | 51 | 1 | [] |
[
"<s>",
"bool",
"prefersVectorizedAddressing",
"(",
")",
"{",
"return",
"false",
";",
"}",
"</s>"
] | [
"Return",
"true",
"if",
"target",
"does",
"n't",
"mind",
"addresses",
"in",
"vectors",
"."
] | [
"SystemZ"
] | SystemZTargetTransformInfo | prefersVectorizedAddressing | SystemZ | CPU | LLVM | 28,637 | 9 | 1 | [] |
[
"<s>",
"SDValue",
"RISCVTargetLowering",
"::",
"getTargetNode",
"(",
"SDValue",
"Op",
",",
"SelectionDAG",
"&",
"DAG",
",",
"unsigned",
"Flag",
")",
"const",
"{",
"EVT",
"Ty",
"=",
"getPointerTy",
"(",
"DAG",
".",
"getDataLayout",
"(",
")",
")",
";",
"if",... | [
"Retrieve",
"the",
"target",
"node",
"this",
"edge",
"connects",
"to",
"."
] | [
"RISCV",
"RISCV",
"0",
"0",
"\"Unexpected node type.\""
] | RISCVISelLowering (2)2 | getTargetNode | RISCV | CPU | LLVM | 28,638 | 211 | 1 | [] |
[
"<s>",
"unsigned",
"HexagonRegisterInfo",
"::",
"getRegPressureSetLimit",
"(",
"unsigned",
"Idx",
")",
"const",
"{",
"static",
"const",
"int",
"RegPressureLimit",
"[",
"]",
"=",
"{",
"16",
",",
"4",
",",
"2",
",",
"8",
"}",
";",
"assert",
"(",
"(",
"Idx"... | [
"Get",
"the",
"register",
"unit",
"pressure",
"limit",
"for",
"this",
"dimension",
"."
] | [
"Hexagon",
"Hexagon",
"16",
"4",
"2",
"8",
"4",
"\"Index out of bounds\""
] | HexagonRegisterInfo23 | getRegPressureSetLimit | Hexagon | DSP | LLVM | 28,639 | 45 | 1 | [] |
[
"<s>",
"static",
"void",
"i386_pe_mark_dllimport",
"(",
"tree",
"decl",
")",
"{",
"const",
"char",
"*",
"oldname",
";",
"char",
"*",
"newname",
";",
"tree",
"idp",
";",
"rtx",
"rtlname",
",",
"newrtl",
";",
"rtx",
"symref",
";",
"rtlname",
"=",
"XEXP",
... | [
"Mark",
"a",
"DECL",
"as",
"being",
"dllimport",
"'d",
"."
] | [
"i386",
"0",
"0",
"0",
"\"%qs declared as both exported to and imported from a DLL\"",
"1",
"\"%s%s\"",
"0",
"1"
] | winnt3 | i386_pe_mark_dllimport | i386 | CPU | GCC | 28,640 | 214 | 1 | [] |
[
"<s>",
"static",
"bool",
"arc_must_save_register",
"(",
"int",
"regno",
",",
"struct",
"function",
"*",
"func",
",",
"bool",
"special_p",
")",
"{",
"unsigned",
"int",
"fn_type",
"=",
"arc_compute_function_type",
"(",
"func",
")",
";",
"bool",
"irq_auto_save_p",
... | [
"Tell",
"prologue",
"and",
"epilogue",
"if",
"register",
"REGNO",
"should",
"be",
"saved",
"/",
"restored",
".",
"The",
"return",
"address",
",",
"stack",
"pointer",
"and",
"frame",
"pointer",
"are",
"treated",
"separately",
".",
"Do",
"n't",
"consider",
"th... | [
"arc",
"4",
"4",
"8",
"4",
"11",
"16",
"16",
"4",
"9",
"16",
"25",
"29",
"29",
"32",
"32",
"29",
"32",
"61",
"62",
"63"
] | arc | arc_must_save_register | arc | MPU | GCC | 28,641 | 462 | 1 | [] |
[
"<s>",
"void",
"initialize",
"(",
"unsigned",
"LHS",
",",
"unsigned",
"RHS",
")",
"{",
"MachineRegisterInfo",
"&",
"MRI",
"=",
"True",
"->",
"getParent",
"(",
")",
"->",
"getRegInfo",
"(",
")",
";",
"LHSReg",
"=",
"LHS",
";",
"RHSReg",
"=",
"RHS",
";",... | [
"Initialize",
"the",
"strategy",
"after",
"building",
"the",
"DAG",
"for",
"a",
"new",
"region",
"."
] | [
"GBZ80",
"GB::LD_dd_nn",
"0",
"1",
"GB::LD_dd_nn",
"0",
"1"
] | GBZ80PostISel | initialize | GBZ80 | MPU | LLVM | 28,642 | 145 | 1 | [] |
[
"<s>",
"static",
"bool",
"csky_hard_regno_mode_ok",
"(",
"unsigned",
"int",
"regno",
",",
"machine_mode",
"mode",
")",
"{",
"int",
"nregs",
"=",
"CSKY_NUM_REGS",
"(",
"mode",
")",
";",
"if",
"(",
"nregs",
">",
"2",
")",
"return",
"false",
";",
"if",
"(",... | [
"Implement",
"TARGET_HARD_REGNO_MODE_OK",
".",
"Return",
"true",
"if",
"REGNO",
"is",
"a",
"valid",
"register",
"for",
"holding",
"a",
"quantity",
"of",
"type",
"MODE",
"."
] | [
"csky",
"2",
"2",
"1",
"1",
"2"
] | csky | csky_hard_regno_mode_ok | csky | CPU | GCC | 28,643 | 185 | 1 | [] |
[
"<s>",
"static",
"bool",
"alpha_return_in_memory",
"(",
"const_tree",
"type",
",",
"const_tree",
"fndecl",
"ATTRIBUTE_UNUSED",
")",
"{",
"machine_mode",
"mode",
"=",
"VOIDmode",
";",
"int",
"size",
";",
"if",
"(",
"type",
")",
"{",
"mode",
"=",
"TYPE_MODE",
... | [
"Return",
"true",
"if",
"TYPE",
"must",
"be",
"returned",
"in",
"memory",
",",
"instead",
"of",
"in",
"registers",
"."
] | [
"alpha",
"8"
] | alpha | alpha_return_in_memory | alpha | MPU | GCC | 28,644 | 127 | 1 | [] |
[
"<s>",
"void",
"SIInstrInfo",
"::",
"reserveIndirectRegisters",
"(",
"BitVector",
"&",
"Reserved",
",",
"const",
"MachineFunction",
"&",
"MF",
")",
"const",
"{",
"int",
"End",
"=",
"getIndirectIndexEnd",
"(",
"MF",
")",
";",
"int",
"Begin",
"=",
"getIndirectIn... | [
"Reserve",
"the",
"registers",
"that",
"may",
"be",
"accessed",
"using",
"indirect",
"addressing",
"."
] | [
"AMDGPU",
"SI",
"1",
"AMDGPU::VGPR_32RegClass",
"0",
"1",
"AMDGPU::VReg_64RegClass",
"0",
"2",
"AMDGPU::VReg_96RegClass",
"0",
"3",
"AMDGPU::VReg_128RegClass",
"0",
"7",
"AMDGPU::VReg_256RegClass",
"0",
"15",
"AMDGPU::VReg_512RegClass"
] | SIInstrInfo (3) | reserveIndirectRegisters | AMDGPU | GPU | LLVM | 28,645 | 255 | 1 | [] |
[
"<s>",
"static",
"void",
"eco32_operand_lossage",
"(",
"const",
"char",
"*",
"msgid",
",",
"rtx",
"op",
")",
"{",
"debug_rtx",
"(",
"op",
")",
";",
"output_operand_lossage",
"(",
"\"%s\"",
",",
"msgid",
")",
";",
"}",
"</s>"
] | [
"Emit",
"an",
"error",
"message",
"when",
"we",
"'re",
"in",
"an",
"asm",
",",
"and",
"a",
"fatal",
"error",
"for",
"``",
"normal",
"''",
"insns",
".",
"Formatted",
"output",
"is",
"n't",
"easily",
"implemented",
",",
"since",
"we",
"use",
"output_operan... | [
"eco32",
"\"%s\""
] | eco32 | eco32_operand_lossage | eco32 | MPU | GCC | 28,646 | 26 | 1 | [] |
[
"<s>",
"static",
"void",
"bfin_asm_trampoline_template",
"(",
"FILE",
"*",
"f",
")",
"{",
"if",
"(",
"TARGET_FDPIC",
")",
"{",
"fprintf",
"(",
"f",
",",
"\"\\t.dd\\t0x00000000\\n\"",
")",
";",
"fprintf",
"(",
"f",
",",
"\"\\t.dd\\t0x00000000\\n\"",
")",
";",
... | [
"Write",
"a",
"template",
"for",
"a",
"trampoline",
"to",
"F",
"."
] | [
"bfin",
"\"\\t.dd\\t0x00000000\\n\"",
"\"\\t.dd\\t0x00000000\\n\"",
"\"\\t.dd\\t0x0000e109\\n\"",
"\"\\t.dd\\t0x0000e149\\n\"",
"\"\\t.dd\\t0x0000e10a\\n\"",
"\"\\t.dd\\t0x0000e14a\\n\"",
"\"\\t.dw\\t0xac4b\\n\"",
"\"\\t.dw\\t0x9149\\n\"",
"\"\\t.dw\\t0x0051\\n\"",
"\"\\t.dd\\t0x0000e109\\n\"",
... | bfin | bfin_asm_trampoline_template | bfin | DSP | GCC | 28,647 | 117 | 1 | [] |
[
"<s>",
"void",
"MSP430RegisterInfo",
"::",
"eliminateCallFramePseudoInstr",
"(",
"MachineFunction",
"&",
"MF",
",",
"MachineBasicBlock",
"&",
"MBB",
",",
"MachineBasicBlock",
"::",
"iterator",
"I",
")",
"const",
"{",
"const",
"TargetFrameInfo",
"*",
"TFI",
"=",
"M... | [
"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",
")",
"."
] | [
"MSP430",
"MSP430",
"0",
"0",
"1",
"0",
"MSP430::SUB16ri",
"MSP430::SPW",
"MSP430::SPW",
"1",
"MSP430::ADD16ri",
"MSP430::SPW",
"MSP430::SPW",
"3",
"1",
"MSP430::SUB16ri",
"MSP430::SPW",
"MSP430::SPW",
"3"
] | MSP430RegisterInfo17 | eliminateCallFramePseudoInstr | MSP430 | MPU | LLVM | 28,648 | 356 | 1 | [] |
[
"<s>",
"unsigned",
"RISCVInstrInfo",
"::",
"isStoreToStackSlot",
"(",
"const",
"MachineInstr",
"&",
"MI",
",",
"int",
"&",
"FrameIndex",
")",
"const",
"{",
"return",
"isSimpleMove",
"(",
"MI",
",",
"FrameIndex",
",",
"RISCVII",
"::",
"SimpleStore",
")",
";",
... | [
"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",
"RISCVII::SimpleStore"
] | RISCVInstrInfo4 | isStoreToStackSlot | RISCV | CPU | LLVM | 28,649 | 29 | 1 | [] |
[
"<s>",
"bool",
"PPCLoopDataPrefetch",
"::",
"runOnFunction",
"(",
"Function",
"&",
"F",
")",
"{",
"LI",
"=",
"&",
"getAnalysis",
"<",
"LoopInfoWrapperPass",
">",
"(",
")",
".",
"getLoopInfo",
"(",
")",
";",
"SE",
"=",
"&",
"getAnalysis",
"<",
"ScalarEvolut... | [
"runOnFunction",
"-",
"Virtual",
"method",
"overriden",
"by",
"subclasses",
"to",
"do",
"the",
"per-function",
"processing",
"of",
"the",
"pass",
"."
] | [
"PowerPC",
"PPC"
] | PPCLoopDataPrefetch3 | runOnFunction | PowerPC | CPU | LLVM | 28,650 | 150 | 1 | [] |
[
"<s>",
"SDValue",
"LM32TargetLowering",
"::",
"LowerCallResult",
"(",
"SDValue",
"Chain",
",",
"SDValue",
"InFlag",
",",
"CallingConv",
"::",
"ID",
"CallConv",
",",
"bool",
"isVarArg",
",",
"const",
"SmallVectorImpl",
"<",
"ISD",
"::",
"InputArg",
">",
"&",
"I... | [
"LowerCallResult",
"-",
"Lower",
"the",
"result",
"values",
"of",
"an",
"ISD",
":",
":CALL",
"into",
"the",
"appropriate",
"copies",
"out",
"of",
"appropriate",
"physical",
"registers",
"."
] | [
"LM32",
"LM32",
"ISD::InputArg",
"16",
"LM32",
"0",
"1",
"2",
"0"
] | LM32ISelLowering | LowerCallResult | LM32 | MPU | LLVM | 28,651 | 166 | 1 | [] |
[
"<s>",
"unsigned",
"BlackfinIntrinsicInfo",
"::",
"lookupName",
"(",
"const",
"char",
"*",
"Name",
",",
"unsigned",
"Len",
")",
"const",
"{",
"if",
"(",
"Len",
"<",
"5",
"||",
"Name",
"[",
"4",
"]",
"!=",
"'.'",
"||",
"Name",
"[",
"0",
"]",
"!=",
"... | [
"Look",
"up",
"target",
"intrinsic",
"by",
"name",
"."
] | [
"Blackfin",
"5",
"4",
"0",
"1",
"2",
"3",
"0",
"0"
] | BlackfinIntrinsicInfo1 | lookupName | Blackfin | DSP | LLVM | 28,652 | 63 | 1 | [] |
[
"<s>",
"static",
"const",
"char",
"*",
"get_some_local_dynamic_name",
"(",
"void",
")",
"{",
"rtx",
"insn",
";",
"if",
"(",
"cfun",
"->",
"machine",
"->",
"some_ld_name",
")",
"return",
"cfun",
"->",
"machine",
"->",
"some_ld_name",
";",
"for",
"(",
"insn"... | [
"Locate",
"some",
"local-dynamic",
"symbol",
"still",
"in",
"use",
"by",
"this",
"function",
"so",
"that",
"we",
"can",
"print",
"its",
"name",
"in",
"local-dynamic",
"base",
"patterns",
"."
] | [
"i386",
"0"
] | i3863 | get_some_local_dynamic_name | i386 | CPU | GCC | 28,653 | 76 | 1 | [] |
[
"<s>",
"bool",
"riscv_legitimize_move",
"(",
"machine_mode",
"mode",
",",
"rtx",
"dest",
",",
"rtx",
"src",
")",
"{",
"if",
"(",
"GET_MODE_CLASS",
"(",
"mode",
")",
"==",
"MODE_INT",
"&&",
"GET_MODE_SIZE",
"(",
"mode",
")",
"<",
"UNITS_PER_WORD",
"&&",
"ca... | [
"If",
"(",
"set",
"DEST",
"SRC",
")",
"is",
"not",
"a",
"valid",
"move",
"instruction",
",",
"emit",
"an",
"equivalent",
"sequence",
"that",
"is",
"valid",
"."
] | [
"riscv",
"0",
"0",
"0",
"0",
"0",
"0"
] | riscv | riscv_legitimize_move | riscv | CPU | GCC | 28,654 | 366 | 1 | [] |
[
"<s>",
"static",
"void",
"nvptx_vpropagate",
"(",
"basic_block",
"block",
",",
"rtx_insn",
"*",
"insn",
")",
"{",
"nvptx_propagate",
"(",
"block",
",",
"insn",
",",
"PM_read_write",
",",
"vprop_gen",
",",
"0",
")",
";",
"}",
"</s>"
] | [
"Propagate",
"state",
"that",
"is",
"live",
"at",
"start",
"of",
"BLOCK",
"across",
"the",
"vectors",
"of",
"a",
"single",
"warp",
".",
"Propagation",
"is",
"inserted",
"just",
"after",
"INSN",
".",
"IS_CALL",
"and",
"return",
"as",
"for",
"nvptx_propagate",... | [
"nvptx",
"0"
] | nvptx3 | nvptx_vpropagate | nvptx | GPU | GCC | 28,655 | 26 | 1 | [] |
[
"<s>",
"rtx",
"riscv_subword",
"(",
"rtx",
"op",
",",
"bool",
"high_p",
")",
"{",
"unsigned",
"int",
"byte",
"=",
"high_p",
"?",
"UNITS_PER_WORD",
":",
"0",
";",
"enum",
"machine_mode",
"mode",
"=",
"GET_MODE",
"(",
"op",
")",
";",
"if",
"(",
"mode",
... | [
"Return",
"one",
"word",
"of",
"double-word",
"value",
"OP",
".",
"HIGH_P",
"is",
"true",
"to",
"select",
"the",
"high",
"part",
"or",
"false",
"to",
"select",
"the",
"low",
"part",
"."
] | [
"riscv",
"0"
] | riscv2 | riscv_subword | riscv | CPU | GCC | 28,656 | 89 | 1 | [] |
[
"<s>",
"void",
"getAnalysisUsage",
"(",
"AnalysisUsage",
"&",
"AU",
")",
"const",
"override",
"{",
"AU",
".",
"addRequired",
"<",
"LegacyDivergenceAnalysis",
">",
"(",
")",
";",
"AU",
".",
"addRequired",
"<",
"MemoryDependenceWrapperPass",
">",
"(",
")",
";",
... | [
"getAnalysisUsage",
"-",
"Subclasses",
"that",
"override",
"getAnalysisUsage",
"must",
"call",
"this",
"."
] | [
"AMDGPU"
] | AMDGPUAnnotateUniformValues | getAnalysisUsage | AMDGPU | GPU | LLVM | 28,657 | 44 | 1 | [] |
[
"<s>",
"static",
"rtx",
"nvptx_expand_bar_red",
"(",
"tree",
"exp",
",",
"rtx",
"target",
",",
"machine_mode",
"ARG_UNUSED",
"(",
"m",
")",
",",
"int",
"ARG_UNUSED",
"(",
"ignore",
")",
")",
"{",
"int",
"code",
"=",
"DECL_MD_FUNCTION_CODE",
"(",
"TREE_OPERAN... | [
"Expander",
"for",
"'bar.red",
"'",
"instruction",
"builtins",
"."
] | [
"nvptx",
"0",
"0",
"1",
"2",
"3",
"0",
"15",
"\"barrier value must be within [0,15]\"",
"\"complement argument must be constant\"",
"0",
"0"
] | nvptx1 | nvptx_expand_bar_red | nvptx | GPU | GCC | 28,658 | 450 | 1 | [] |
[
"<s>",
"static",
"void",
"mmix_output_octa",
"(",
"FILE",
"*",
"stream",
",",
"int64_t",
"value",
",",
"int",
"do_begin_end",
")",
"{",
"if",
"(",
"do_begin_end",
")",
"fprintf",
"(",
"stream",
",",
"\"\\tOCTA \"",
")",
";",
"if",
"(",
"(",
"value",
"<",... | [
"Print",
"a",
"64-bit",
"value",
",",
"optionally",
"prefixed",
"by",
"assembly",
"pseudo",
"."
] | [
"mmix",
"\"\\tOCTA \"",
"0",
"10000",
"0",
"16384",
"\"%d\"",
"0",
"1",
"31",
"2",
"\"#%x\"",
"\"#\"",
"\"%\"",
"\"\\n\""
] | mmix | mmix_output_octa | mmix | CPU | GCC | 28,659 | 158 | 1 | [] |
[
"<s>",
"static",
"bool",
"nios2_output_addr_const_extra",
"(",
"FILE",
"*",
"file",
",",
"rtx",
"op",
")",
"{",
"const",
"char",
"*",
"name",
";",
"gcc_assert",
"(",
"GET_CODE",
"(",
"op",
")",
"==",
"UNSPEC",
")",
";",
"name",
"=",
"nios2_unspec_reloc_nam... | [
"Implement",
"TARGET_ASM_OUTPUT_ADDR_CONST_EXTRA",
"."
] | [
"nios2",
"1",
"\"%%%s(\"",
"0",
"0",
"\")\""
] | nios2 | nios2_output_addr_const_extra | nios2 | MPU | GCC | 28,660 | 82 | 1 | [] |
[
"<s>",
"const",
"char",
"*",
"function_resolver",
"::",
"get_scalar_type_name",
"(",
"type_suffix_index",
"type",
")",
"{",
"return",
"vector_types",
"[",
"type_suffixes",
"[",
"type",
"]",
".",
"vector_type",
"]",
".",
"acle_name",
"+",
"2",
";",
"}",
"</s>"
... | [
"Return",
"the",
"<",
"stdint.h",
">",
"name",
"associated",
"with",
"TYPE",
".",
"Using",
"the",
"<",
"stdint.h",
">",
"name",
"should",
"be",
"more",
"user-friendly",
"than",
"the",
"underlying",
"canonical",
"type",
",",
"since",
"it",
"makes",
"the",
"... | [
"aarch64",
"2"
] | aarch64-sve-builtins | get_scalar_type_name | aarch64 | CPU | GCC | 28,661 | 27 | 1 | [] |
[
"<s>",
"bool",
"trackLivenessAfterRegAlloc",
"(",
"const",
"MachineFunction",
"&",
")",
"const",
"override",
"{",
"return",
"true",
";",
"}",
"</s>"
] | [
"Returns",
"true",
"if",
"the",
"live-ins",
"should",
"be",
"tracked",
"after",
"register",
"allocation",
"."
] | [
"LC2200"
] | LC2200RegisterInfo | trackLivenessAfterRegAlloc | LC2200 | CPU | LLVM | 28,662 | 14 | 1 | [] |
[
"<s>",
"static",
"int",
"nios2_compute_frame_layout",
"(",
"void",
")",
"{",
"unsigned",
"int",
"regno",
";",
"unsigned",
"int",
"save_mask",
"=",
"0",
";",
"int",
"total_size",
";",
"int",
"var_size",
";",
"int",
"out_args_size",
";",
"int",
"save_reg_size",
... | [
"Return",
"the",
"bytes",
"needed",
"to",
"compute",
"the",
"frame",
"pointer",
"from",
"the",
"current",
"stack",
"pointer",
"."
] | [
"nios2",
"0",
"0",
"0",
"1",
"4",
"0",
"1",
"1",
"4",
"0",
"1",
"0",
"0",
"1",
"4"
] | nios22 | nios2_compute_frame_layout | nios2 | MPU | GCC | 28,663 | 307 | 1 | [] |
[
"<s>",
"static",
"rtx_insn",
"*",
"next_insn_to_bundle",
"(",
"rtx_insn",
"*",
"r",
",",
"rtx_insn",
"*",
"end",
")",
"{",
"for",
"(",
";",
"r",
"!=",
"end",
";",
"r",
"=",
"NEXT_INSN",
"(",
"r",
")",
")",
"{",
"if",
"(",
"NONDEBUG_INSN_P",
"(",
"r... | [
"Skip",
"over",
"irrelevant",
"NOTEs",
"and",
"such",
"and",
"look",
"for",
"the",
"next",
"insn",
"we",
"would",
"consider",
"bundling",
"."
] | [
"tilegx"
] | tilegx | next_insn_to_bundle | tilegx | VLIW | GCC | 28,664 | 64 | 1 | [] |
[
"<s>",
"void",
"ft32_print_operand_address",
"(",
"FILE",
"*",
"file",
",",
"rtx",
"x",
")",
"{",
"switch",
"(",
"GET_CODE",
"(",
"x",
")",
")",
"{",
"case",
"REG",
":",
"fprintf",
"(",
"file",
",",
"\"%s,0\"",
",",
"reg_names",
"[",
"REGNO",
"(",
"x... | [
"The",
"PRINT_OPERAND_ADDRESS",
"worker",
"."
] | [
"ft32",
"\"%s,0\"",
"1",
"\"%s,%ld\"",
"0",
"1",
"1",
"\"(%s)\"",
"0",
"1",
"0",
"0",
"1",
"0",
"\"+%ld(%s)\"",
"1",
"0"
] | ft32 | ft32_print_operand_address | ft32 | MPU | GCC | 28,665 | 244 | 1 | [] |
[
"<s>",
"const",
"MCExpr",
"*",
"ARMTargetStreamer",
"::",
"addConstantPoolEntry",
"(",
"const",
"MCExpr",
"*",
"Expr",
")",
"{",
"return",
"ConstantPools",
"->",
"addEntry",
"(",
"Streamer",
",",
"Expr",
")",
";",
"}",
"</s>"
] | [
"Add",
"a",
"new",
"entry",
"to",
"the",
"constant",
"pool",
"for",
"the",
"current",
"section",
"and",
"return",
"an",
"MCExpr",
"that",
"can",
"be",
"used",
"to",
"refer",
"to",
"the",
"constant",
"pool",
"location",
"."
] | [
"ARM",
"ARM"
] | ARMTargetStreamer10 | addConstantPoolEntry | ARM | CPU | LLVM | 28,666 | 24 | 1 | [] |
[
"<s>",
"bool",
"Error",
"(",
"SMLoc",
"L",
",",
"const",
"Twine",
"&",
"Msg",
")",
"{",
"return",
"getParser",
"(",
")",
".",
"Error",
"(",
"L",
",",
"Msg",
")",
";",
"}",
"</s>"
] | [
"Return",
"an",
"error",
"at",
"the",
"location",
"L",
",",
"with",
"the",
"message",
"Msg",
"."
] | [
"AArch64"
] | AArch64AsmParser (2)1 | Error | AArch64 | CPU | LLVM | 28,667 | 25 | 1 | [] |
[
"<s>",
"void",
"VideocoreOperand",
"::",
"print",
"(",
"raw_ostream",
"&",
"OS",
")",
"const",
"{",
"llvm_unreachable",
"(",
"\"Not implemented\"",
")",
";",
"}",
"</s>"
] | [
"print",
"-",
"Print",
"a",
"debug",
"representation",
"of",
"the",
"operand",
"to",
"the",
"given",
"stream",
"."
] | [
"Videocore",
"Videocore",
"\"Not implemented\""
] | VideocoreAsmParser | print | Videocore | DSP | LLVM | 28,668 | 17 | 1 | [] |
[
"<s>",
"static",
"bool",
"sh_legitimate_constant_p",
"(",
"machine_mode",
"mode",
",",
"rtx",
"x",
")",
"{",
"if",
"(",
"SH_OFFSETS_MUST_BE_WITHIN_SECTIONS_P",
")",
"{",
"rtx",
"base",
",",
"offset",
";",
"split_const",
"(",
"x",
",",
"&",
"base",
",",
"&",
... | [
"Implement",
"TARGET_LEGITIMATE_CONSTANT_P",
"can_store_by_pieces",
"constructs",
"VOIDmode",
"CONST_DOUBLEs",
"."
] | [
"sh",
"0",
"0",
"0"
] | sh | sh_legitimate_constant_p | sh | CPU | GCC | 28,669 | 134 | 1 | [] |
[
"<s>",
"static",
"bool",
"s390_support_vector_misalignment",
"(",
"machine_mode",
"mode",
"ATTRIBUTE_UNUSED",
",",
"const_tree",
"type",
"ATTRIBUTE_UNUSED",
",",
"int",
"misalignment",
"ATTRIBUTE_UNUSED",
",",
"bool",
"is_packed",
"ATTRIBUTE_UNUSED",
")",
"{",
"if",
"("... | [
"Our",
"hardware",
"does",
"not",
"require",
"vectors",
"to",
"be",
"strictly",
"aligned",
"."
] | [
"s390"
] | s390 | s390_support_vector_misalignment | s390 | MPU | GCC | 28,670 | 41 | 1 | [] |
[
"<s>",
"static",
"void",
"tryAddingPcLoadReferenceComment",
"(",
"uint64_t",
"Address",
",",
"uint64_t",
"Value",
",",
"const",
"void",
"*",
"Decoder",
")",
"{",
"const",
"MCDisassembler",
"*",
"Dis",
"=",
"static_cast",
"<",
"const",
"MCDisassembler",
"*",
">",... | [
"Try",
"to",
"add",
"a",
"comment",
"on",
"the",
"PC-relative",
"load",
"."
] | [
"X86"
] | X86Disassembler (2)1 | tryAddingPcLoadReferenceComment | X86 | CPU | LLVM | 28,671 | 41 | 1 | [] |
[
"<s>",
"static",
"void",
"aarch64_parse_fuse_string",
"(",
"const",
"char",
"*",
"fuse_string",
",",
"struct",
"tune_params",
"*",
"tune",
")",
"{",
"tune",
"->",
"fusible_ops",
"=",
"aarch64_parse_boolean_options",
"(",
"fuse_string",
",",
"aarch64_fusible_pairs",
... | [
"Support",
"for",
"overriding",
"instruction",
"fusion",
"."
] | [
"aarch64",
"\"fuse=\""
] | aarch64 | aarch64_parse_fuse_string | aarch64 | CPU | GCC | 28,672 | 33 | 1 | [] |
[
"<s>",
"MachineBasicBlock",
"*",
"Next",
"(",
")",
"{",
"assert",
"(",
"HasNext",
"(",
")",
")",
";",
"return",
"successors",
"(",
")",
"[",
"Index",
"++",
"]",
";",
"}",
"</s>"
] | [
"Pointer",
"to",
"the",
"next",
"DomainValue",
"in",
"a",
"chain",
"."
] | [
"WebAssembly"
] | WebAssemblyFixIrreducibleControlFlow11 | Next | WebAssembly | Virtual ISA | LLVM | 28,673 | 23 | 1 | [] |
[
"<s>",
"unsigned",
"ARMBaseInstrInfo",
"::",
"isLoadFromStackSlot",
"(",
"const",
"MachineInstr",
"&",
"MI",
",",
"int",
"&",
"FrameIndex",
")",
"const",
"{",
"switch",
"(",
"MI",
".",
"getOpcode",
"(",
")",
")",
"{",
"default",
":",
"break",
";",
"case",
... | [
"isLoadFromStackSlot",
"-",
"If",
"the",
"specified",
"machine",
"instruction",
"is",
"a",
"direct",
"load",
"from",
"a",
"stack",
"slot",
",",
"return",
"the",
"virtual",
"or",
"physical",
"register",
"number",
"of",
"the",
"destination",
"along",
"with",
"th... | [
"ARM",
"ARM",
"ARM::LDRrs",
"ARM::t2LDRs",
"1",
"2",
"3",
"2",
"0",
"3",
"0",
"1",
"0",
"ARM::LDRi12",
"ARM::t2LDRi12",
"ARM::tLDRspi",
"ARM::VLDRD",
"ARM::VLDRS",
"ARM::VLDR_P0_off",
"ARM::MVE_VLDRWU32",
"1",
"2",
"2",
"0",
"1",
"0",
"ARM::VLD1q64",
"ARM::VLD1d... | ARMBaseInstrInfo30 | isLoadFromStackSlot | ARM | CPU | LLVM | 28,674 | 395 | 1 | [] |
[
"<s>",
"static",
"void",
"arm_option_override_internal",
"(",
"struct",
"gcc_options",
"*",
"opts",
",",
"struct",
"gcc_options",
"*",
"opts_set",
")",
"{",
"arm_override_options_after_change_1",
"(",
"opts",
")",
";",
"if",
"(",
"TARGET_INTERWORK",
"&&",
"!",
"AR... | [
"Reset",
"options",
"between",
"modes",
"that",
"the",
"user",
"has",
"specified",
"."
] | [
"arm",
"0",
"\"target CPU does not support THUMB instructions\"",
"0",
"1",
"0",
"\"target CPU does not support unaligned accesses\"",
"0",
"0",
"0"
] | arm5 | arm_option_override_internal | arm | CPU | GCC | 28,675 | 307 | 1 | [] |
[
"<s>",
"static",
"std",
"::",
"unique_ptr",
"<",
"Cpu0Operand",
">",
"CreateReg",
"(",
"unsigned",
"RegNum",
",",
"SMLoc",
"S",
",",
"SMLoc",
"E",
")",
"{",
"auto",
"Op",
"=",
"make_unique",
"<",
"Cpu0Operand",
">",
"(",
"k_Register",
")",
";",
"Op",
"... | [
"CreateReg",
"-",
"Allocate",
"a",
"single",
"virtual",
"register",
"for",
"the",
"given",
"type",
"."
] | [
"Cpu0",
"Cpu0",
"Cpu0"
] | Cpu0AsmParser | CreateReg | Cpu0 | CPU | LLVM | 28,676 | 54 | 1 | [] |
[
"<s>",
"void",
"ia64_expand_atomic_op",
"(",
"enum",
"rtx_code",
"code",
",",
"rtx",
"mem",
",",
"rtx",
"val",
",",
"rtx",
"old_dst",
",",
"rtx",
"new_dst",
")",
"{",
"enum",
"machine_mode",
"mode",
"=",
"GET_MODE",
"(",
"mem",
")",
";",
"rtx",
"old_reg"... | [
"Expand",
"an",
"atomic",
"operation",
".",
"We",
"want",
"to",
"perform",
"MEM",
"<",
"CODE",
">",
"=",
"VAL",
"atomically",
".",
"This",
"differs",
"from",
"the",
"generic",
"code",
"in",
"that",
"we",
"know",
"about",
"the",
"zero-extending",
"propertie... | [
"ia64",
"0",
"1"
] | ia643 | ia64_expand_atomic_op | ia64 | CPU | GCC | 28,677 | 457 | 1 | [] |
[
"<s>",
"static",
"int",
"fr30_arg_partial_bytes",
"(",
"CUMULATIVE_ARGS",
"*",
"cum",
",",
"enum",
"machine_mode",
"mode",
",",
"tree",
"type",
",",
"bool",
"named",
")",
"{",
"if",
"(",
"named",
"==",
"0",
"||",
"*",
"cum",
">=",
"FR30_NUM_ARG_REGS",
")",... | [
"Returns",
"the",
"number",
"of",
"bytes",
"in",
"which",
"*",
"part",
"*",
"of",
"a",
"parameter",
"of",
"machine",
"mode",
"MODE",
"and",
"tree",
"type",
"TYPE",
"(",
"which",
"may",
"be",
"NULL",
"if",
"the",
"type",
"is",
"not",
"known",
")",
"."... | [
"fr30",
"0",
"0",
"0"
] | fr303 | fr30_arg_partial_bytes | fr30 | DSP | GCC | 28,678 | 61 | 1 | [] |
[
"<s>",
"static",
"bool",
"aarch64_verify_type_context",
"(",
"location_t",
"loc",
",",
"type_context_kind",
"context",
",",
"const_tree",
"type",
",",
"bool",
"silent_p",
")",
"{",
"return",
"aarch64_sve",
"::",
"verify_type_context",
"(",
"loc",
",",
"context",
"... | [
"Implement",
"TARGET_VERIFY_TYPE_CONTEXT",
"."
] | [
"aarch64",
"aarch64_sve::verify_type_context"
] | aarch64 | aarch64_verify_type_context | aarch64 | CPU | GCC | 28,679 | 32 | 1 | [] |
[
"<s>",
"void",
"addExpr",
"(",
"MCInst",
"&",
"Inst",
",",
"const",
"MCExpr",
"*",
"Expr",
")",
"const",
"{",
"if",
"(",
"Expr",
"==",
"0",
")",
"Inst",
".",
"addOperand",
"(",
"MCOperand",
"::",
"createImm",
"(",
"0",
")",
")",
";",
"else",
"if",
... | [
"Add",
"a",
"new",
"MCExpr",
"operand",
"."
] | [
"FISC",
"0",
"0"
] | FISCAsmParser | addExpr | FISC | CPU | LLVM | 28,680 | 78 | 1 | [] |
[
"<s>",
"virtual",
"const",
"char",
"*",
"getPassName",
"(",
")",
"const",
"{",
"return",
"\"OR1K Assembly Printer\"",
";",
"}",
"</s>"
] | [
"getPassName",
"-",
"Return",
"a",
"nice",
"clean",
"name",
"for",
"a",
"pass",
"."
] | [
"OR1K",
"\"OR1K Assembly Printer\""
] | OR1KAsmPrinter | getPassName | OR1K | CPU | LLVM | 28,681 | 13 | 1 | [] |
[
"<s>",
"SDValue",
"AMDGPUTargetLowering",
"::",
"SplitVectorLoad",
"(",
"const",
"SDValue",
"Op",
",",
"SelectionDAG",
"&",
"DAG",
")",
"const",
"{",
"LoadSDNode",
"*",
"Load",
"=",
"cast",
"<",
"LoadSDNode",
">",
"(",
"Op",
")",
";",
"EVT",
"VT",
"=",
"... | [
"Split",
"a",
"vector",
"load",
"into",
"2",
"loads",
"of",
"half",
"the",
"vector",
"."
] | [
"AMDGPU",
"AMDGPU",
"2",
"ISD::CONCAT_VECTORS",
"ISD::INSERT_SUBVECTOR",
"0",
"ISD::INSERT_SUBVECTOR",
"ISD::INSERT_VECTOR_ELT",
"ISD::TokenFactor",
"MVT::Other",
"1",
"1"
] | AMDGPUISelLowering (2)2 | SplitVectorLoad | AMDGPU | GPU | LLVM | 28,682 | 470 | 1 | [] |
[
"<s>",
"static",
"void",
"mips_swap_registers",
"(",
"unsigned",
"int",
"i",
")",
"{",
"int",
"tmpi",
";",
"const",
"char",
"*",
"tmps",
";",
"SWAP_INT",
"(",
"fixed_regs",
"[",
"i",
"]",
",",
"fixed_regs",
"[",
"i",
"+",
"1",
"]",
")",
";",
"SWAP_IN... | [
"Swap",
"the",
"register",
"information",
"for",
"registers",
"I",
"and",
"I",
"+",
"1",
",",
"which",
"currently",
"have",
"the",
"wrong",
"endianness",
".",
"Note",
"that",
"the",
"registers",
"'",
"fixedness",
"and",
"call-clobberedness",
"might",
"have",
... | [
"mips",
"1",
"1",
"1"
] | mips | mips_swap_registers | mips | CPU | GCC | 28,683 | 63 | 1 | [] |
[
"<s>",
"bool",
"writeNopData",
"(",
"uint64_t",
"Count",
",",
"MCObjectWriter",
"*",
"OW",
")",
"const",
"override",
"{",
"return",
"true",
";",
"}",
"</s>"
] | [
"Write",
"an",
"(",
"optimal",
")",
"nop",
"sequence",
"of",
"Count",
"bytes",
"to",
"the",
"given",
"output",
"."
] | [
"R600"
] | AMDGPUAsmBackend1 | writeNopData | R600 | GPU | LLVM | 28,684 | 17 | 1 | [] |
[
"<s>",
"void",
"LanaiFrameLowering",
"::",
"emitPrologue",
"(",
"MachineFunction",
"&",
"MF",
",",
"MachineBasicBlock",
"&",
"MBB",
")",
"const",
"{",
"assert",
"(",
"&",
"MF",
".",
"front",
"(",
")",
"==",
"&",
"MBB",
"&&",
"\"Shrink-wrapping not yet supporte... | [
"emitProlog/emitEpilog",
"-",
"These",
"methods",
"insert",
"prolog",
"and",
"epilog",
"code",
"into",
"the",
"function",
"."
] | [
"Lanai",
"Lanai",
"\"Shrink-wrapping not yet supported\"",
"Lanai",
"Lanai",
"Lanai::SW_RI",
"Lanai::FP",
"Lanai::SP",
"4",
"Lanai::ADD_I_LO",
"Lanai::FP",
"Lanai::SP",
"8",
"0",
"Lanai::SUB_I_LO",
"Lanai::SP",
"Lanai::SP"
] | LanaiFrameLowering | emitPrologue | Lanai | CPU | LLVM | 28,685 | 249 | 1 | [] |
[
"<s>",
"void",
"DarwinARMAsmBackend",
"::",
"applyFixup",
"(",
"const",
"MCFixup",
"&",
"Fixup",
",",
"char",
"*",
"Data",
",",
"unsigned",
"DataSize",
",",
"uint64_t",
"Value",
")",
"const",
"{",
"unsigned",
"NumBytes",
"=",
"getFixupKindNumBytes",
"(",
"Fixu... | [
"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!\"",
"0",
"8",
"0xff"
] | ARMAsmBackend46 | applyFixup | ARM | CPU | LLVM | 28,686 | 111 | 1 | [] |
[
"<s>",
"bool",
"ARMBaseRegisterInfo",
"::",
"shouldCoalesce",
"(",
"MachineInstr",
"*",
"MI",
",",
"const",
"TargetRegisterClass",
"*",
"SrcRC",
",",
"unsigned",
"SubReg",
",",
"const",
"TargetRegisterClass",
"*",
"DstRC",
",",
"unsigned",
"DstSubReg",
",",
"const... | [
"Subtarget",
"Hooks",
"."
] | [
"ARM",
"ARM",
"256",
"256",
"256",
"ARM",
"\"\\tARM::shouldCoalesce - Coalesced Weight: \"",
"\"\\n\"",
"\"\\tARM::shouldCoalesce - Reg Weight: \"",
"\"\\n\"",
"100",
"1"
] | ARMBaseRegisterInfo | shouldCoalesce | ARM | CPU | LLVM | 28,687 | 270 | 1 | [] |
[
"<s>",
"bool",
"SICInstrInfo",
"::",
"expandPostRAPseudo",
"(",
"MachineInstr",
"&",
"MI",
")",
"const",
"{",
"MachineBasicBlock",
"&",
"MBB",
"=",
"*",
"MI",
".",
"getParent",
"(",
")",
";",
"switch",
"(",
"MI",
".",
"getDesc",
"(",
")",
".",
"getOpcode... | [
"This",
"function",
"is",
"called",
"for",
"all",
"pseudo",
"instructions",
"that",
"remain",
"after",
"register",
"allocation",
"."
] | [
"SIC",
"SIC",
"SIC::RetLR"
] | SICInstrInfo | expandPostRAPseudo | SIC | CPU | LLVM | 28,688 | 66 | 1 | [] |
[
"<s>",
"SMLoc",
"getStartLoc",
"(",
")",
"const",
"override",
"{",
"return",
"SMLoc",
"(",
")",
";",
"}",
"</s>"
] | [
"getStartLoc",
"-",
"Get",
"the",
"location",
"of",
"the",
"first",
"token",
"of",
"this",
"operand",
"."
] | [
"R600"
] | AMDGPUAsmParser43 | getStartLoc | R600 | GPU | LLVM | 28,689 | 13 | 1 | [] |
[
"<s>",
"bool",
"SILowerControlFlow",
"::",
"runOnMachineFunction",
"(",
"MachineFunction",
"&",
"MF",
")",
"{",
"const",
"GCNSubtarget",
"&",
"ST",
"=",
"MF",
".",
"getSubtarget",
"<",
"GCNSubtarget",
">",
"(",
")",
";",
"TII",
"=",
"ST",
".",
"getInstrInfo"... | [
"runOnMachineFunction",
"-",
"Emit",
"the",
"function",
"body",
"."
] | [
"AMDGPU",
"SI",
"AMDGPU::SI_IF",
"AMDGPU::SI_ELSE",
"AMDGPU::SI_BREAK",
"AMDGPU::SI_IF_BREAK",
"AMDGPU::SI_ELSE_BREAK",
"AMDGPU::SI_LOOP",
"AMDGPU::SI_END_CF",
"AMDGPU::S_AND_B64",
"AMDGPU::S_OR_B64"
] | SILowerControlFlow73 | runOnMachineFunction | AMDGPU | GPU | LLVM | 28,690 | 315 | 1 | [] |
[
"<s>",
"bool",
"arc_split_move_p",
"(",
"rtx",
"*",
"operands",
")",
"{",
"machine_mode",
"mode",
"=",
"GET_MODE",
"(",
"operands",
"[",
"0",
"]",
")",
";",
"if",
"(",
"TARGET_LL64",
"&&",
"(",
"(",
"memory_operand",
"(",
"operands",
"[",
"0",
"]",
","... | [
"Check",
"if",
"we",
"need",
"to",
"split",
"a",
"64bit",
"move",
".",
"We",
"do",
"not",
"need",
"to",
"split",
"it",
"if",
"we",
"can",
"use",
"vadd2",
"or",
"ldd/std",
"instructions",
"."
] | [
"arc",
"0",
"0",
"1",
"1",
"1",
"0",
"0",
"1"
] | arc | arc_split_move_p | arc | MPU | GCC | 28,691 | 113 | 1 | [] |
[
"<s>",
"void",
"rl78_split_movsi",
"(",
"rtx",
"*",
"operands",
",",
"enum",
"machine_mode",
"omode",
")",
"{",
"rtx",
"op00",
",",
"op02",
",",
"op10",
",",
"op12",
";",
"op00",
"=",
"rl78_subreg",
"(",
"HImode",
",",
"operands",
"[",
"0",
"]",
",",
... | [
"Generate",
"code",
"to",
"move",
"an",
"SImode",
"value",
"."
] | [
"rl78",
"0",
"0",
"0",
"2",
"1",
"1",
"1",
"16",
"0",
"1",
"16",
"16",
"1",
"0",
"1",
"2",
"0",
"1",
"2",
"4",
"3",
"5",
"2",
"4",
"3",
"5"
] | rl782 | rl78_split_movsi | rl78 | MPU | GCC | 28,692 | 262 | 1 | [] |
[
"<s>",
"void",
"M68kPassConfig",
"::",
"addPreSched2",
"(",
")",
"{",
"addPass",
"(",
"createM68kExpandPseudoPass",
"(",
")",
")",
";",
"}",
"</s>"
] | [
"This",
"method",
"may",
"be",
"implemented",
"by",
"targets",
"that",
"want",
"to",
"run",
"passes",
"after",
"prolog-epilog",
"insertion",
"and",
"before",
"the",
"second",
"instruction",
"scheduling",
"pass",
"."
] | [
"M68k",
"M68k",
"M68k"
] | M68kTargetMachine | addPreSched2 | M68k | MPU | LLVM | 28,693 | 15 | 1 | [] |
[
"<s>",
"void",
"aarch64_expand_sve_vec_cmp_int",
"(",
"rtx",
"target",
",",
"rtx_code",
"code",
",",
"rtx",
"op0",
",",
"rtx",
"op1",
")",
"{",
"machine_mode",
"pred_mode",
"=",
"GET_MODE",
"(",
"target",
")",
";",
"machine_mode",
"data_mode",
"=",
"GET_MODE",... | [
"Expand",
"an",
"SVE",
"integer",
"comparison",
":",
"TARGET",
"=",
"CODE",
"(",
"OP0",
",",
"OP1",
")",
"."
] | [
"aarch64"
] | aarch64 | aarch64_expand_sve_vec_cmp_int | aarch64 | CPU | GCC | 28,694 | 68 | 1 | [] |
[
"<s>",
"bool",
"WebAssemblySetP2AlignOperands",
"::",
"runOnMachineFunction",
"(",
"MachineFunction",
"&",
"MF",
")",
"{",
"LLVM_DEBUG",
"(",
"{",
"dbgs",
"(",
")",
"<<",
"\"********** Set p2align Operands **********\\n\"",
"<<",
"\"********** Function: \"",
"<<",
"MF",
... | [
"runOnMachineFunction",
"-",
"Emit",
"the",
"function",
"body",
"."
] | [
"WebAssembly",
"WebAssembly",
"\"********** Set p2align Operands **********\\n\"",
"\"********** Function: \"",
"WebAssembly::getNamedOperandIdx",
"WebAssembly::OpName",
"1"
] | WebAssemblySetP2AlignOperands13 | runOnMachineFunction | WebAssembly | Virtual ISA | LLVM | 28,695 | 101 | 1 | [] |
[
"<s>",
"static",
"void",
"mips_macc_chains_reorder",
"(",
"rtx",
"*",
"ready",
",",
"int",
"nready",
")",
"{",
"int",
"i",
",",
"j",
";",
"if",
"(",
"mips_macc_chains_last_hilo",
"!=",
"0",
")",
"for",
"(",
"i",
"=",
"nready",
"-",
"1",
";",
"i",
">=... | [
"A",
"TUNE_MACC_CHAINS",
"helper",
"function",
".",
"Search",
"ready",
"queue",
"READY",
",",
"which",
"has",
"NREADY",
"elements",
",",
"looking",
"for",
"a",
"multiply-add",
"or",
"multiply-subtract",
"instruction",
"that",
"is",
"cumulative",
"with",
"mips_macc... | [
"mips",
"0",
"1",
"0",
"1",
"0"
] | mips3 | mips_macc_chains_reorder | mips | CPU | GCC | 28,696 | 103 | 1 | [] |
[
"<s>",
"void",
"X86PassConfig",
"::",
"addIRPasses",
"(",
")",
"{",
"addPass",
"(",
"createAtomicExpandPass",
"(",
"&",
"getX86TargetMachine",
"(",
")",
")",
")",
";",
"TargetPassConfig",
"::",
"addIRPasses",
"(",
")",
";",
"}",
"</s>"
] | [
"Add",
"common",
"target",
"configurable",
"passes",
"that",
"perform",
"LLVM",
"IR",
"to",
"IR",
"transforms",
"following",
"machine",
"independent",
"optimization",
"."
] | [
"X86",
"X86",
"X86"
] | X86TargetMachine10 | addIRPasses | X86 | CPU | LLVM | 28,697 | 25 | 1 | [] |
[
"<s>",
"static",
"bool",
"rs6000_scalar_mode_supported_p",
"(",
"machine_mode",
"mode",
")",
"{",
"if",
"(",
"TARGET_32BIT",
"&&",
"mode",
"==",
"TImode",
")",
"return",
"false",
";",
"if",
"(",
"DECIMAL_FLOAT_MODE_P",
"(",
"mode",
")",
")",
"return",
"default... | [
"Target",
"hook",
"for",
"scalar_mode_supported_p",
"."
] | [
"rs6000"
] | rs60004 | rs6000_scalar_mode_supported_p | rs6000 | CPU | GCC | 28,698 | 39 | 1 | [] |
[
"<s>",
"void",
"LoongArchFrameLowering",
"::",
"emitPrologue",
"(",
"MachineFunction",
"&",
"MF",
",",
"MachineBasicBlock",
"&",
"MBB",
")",
"const",
"{",
"}",
"</s>"
] | [
"emitProlog/emitEpilog",
"-",
"These",
"methods",
"insert",
"prolog",
"and",
"epilog",
"code",
"into",
"the",
"function",
"."
] | [
"LoongArch",
"LoongArch"
] | LoongArchFrameLowering | emitPrologue | LoongArch | CPU | LLVM | 28,699 | 16 | 1 | [] |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.