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>",
"virtual",
"const",
"char",
"*",
"getPassName",
"(",
")",
"const",
"{",
"return",
"\"Alpha Machine Code Emitter\"",
";",
"}",
"</s>"
] | [
"getPassName",
"-",
"Return",
"a",
"nice",
"clean",
"name",
"for",
"a",
"pass",
"."
] | [
"Alpha",
"\"Alpha Machine Code Emitter\""
] | AlphaCodeEmitter | getPassName | Alpha | MPU | LLVM | 11,700 | 13 | 1 | [] |
[
"<s>",
"static",
"void",
"aarch64_analyze_bb_vinfo",
"(",
"bb_vec_info",
"bb_vinfo",
",",
"aarch64_vector_costs",
"*",
"costs",
")",
"{",
"costs",
"->",
"vec_flags",
"=",
"aarch64_classify_vector_mode",
"(",
"bb_vinfo",
"->",
"vector_mode",
")",
";",
"}",
"</s>"
] | [
"Do",
"one-time",
"initialization",
"of",
"COSTS",
"given",
"that",
"we",
"'re",
"costing",
"the",
"block",
"vectorization",
"described",
"by",
"BB_VINFO",
"."
] | [
"aarch64"
] | aarch641 | aarch64_analyze_bb_vinfo | aarch64 | CPU | GCC | 11,701 | 24 | 1 | [] |
[
"<s>",
"void",
"ix86_expand_reduc_v4sf",
"(",
"rtx",
"(",
"*",
"fn",
")",
"(",
"rtx",
",",
"rtx",
",",
"rtx",
")",
",",
"rtx",
"dest",
",",
"rtx",
"in",
")",
"{",
"rtx",
"tmp1",
",",
"tmp2",
",",
"tmp3",
";",
"tmp1",
"=",
"gen_reg_rtx",
"(",
"V4S... | [
"Expand",
"a",
"vector",
"reduction",
"on",
"V4SFmode",
"for",
"SSE1",
".",
"FN",
"is",
"the",
"binary",
"pattern",
"to",
"reduce",
";",
"DEST",
"is",
"the",
"destination",
";",
"IN",
"is",
"the",
"input",
"vector",
"."
] | [
"i386",
"1",
"1",
"1",
"4",
"1",
"4"
] | i3863 | ix86_expand_reduc_v4sf | i386 | CPU | GCC | 11,702 | 124 | 1 | [] |
[
"<s>",
"bool",
"WebAssembly",
"::",
"mayThrow",
"(",
"const",
"MachineInstr",
"&",
"MI",
")",
"{",
"switch",
"(",
"MI",
".",
"getOpcode",
"(",
")",
")",
"{",
"case",
"WebAssembly",
"::",
"THROW",
":",
"case",
"WebAssembly",
"::",
"THROW_S",
":",
"case",
... | [
"Return",
"true",
"if",
"this",
"instruction",
"may",
"throw",
"an",
"exception",
"."
] | [
"WebAssembly",
"WebAssembly::mayThrow",
"WebAssembly::THROW",
"WebAssembly::THROW_S",
"WebAssembly::RETHROW",
"WebAssembly::RETHROW_S",
"\"memcpy\"",
"0",
"\"memmove\"",
"0",
"\"memset\"",
"0"
] | WebAssemblyUtilities26 | mayThrow | WebAssembly | Virtual ISA | LLVM | 11,703 | 237 | 1 | [] |
[
"<s>",
"void",
"DCPU16InstPrinter",
"::",
"printInst",
"(",
"const",
"MCInst",
"*",
"MI",
",",
"raw_ostream",
"&",
"O",
",",
"StringRef",
"Annot",
")",
"{",
"printInstruction",
"(",
"MI",
",",
"O",
")",
";",
"printAnnotation",
"(",
"O",
",",
"Annot",
")"... | [
"Print",
"the",
"specified",
"MCInst",
"to",
"the",
"specified",
"raw_ostream",
"."
] | [
"Dcpu16",
"DCPU16"
] | DCPU16InstPrinter | printInst | Dcpu16 | CPU | LLVM | 11,704 | 33 | 1 | [] |
[
"<s>",
"void",
"AArch64PassConfig",
"::",
"addPreEmitPass",
"(",
")",
"{",
"if",
"(",
"TM",
"->",
"getOptLevel",
"(",
")",
">=",
"CodeGenOpt",
"::",
"Aggressive",
"&&",
"EnableLoadStoreOpt",
")",
"addPass",
"(",
"createAArch64LoadStoreOptimizationPass",
"(",
")",
... | [
"This",
"pass",
"may",
"be",
"implemented",
"by",
"targets",
"that",
"want",
"to",
"run",
"passes",
"immediately",
"before",
"machine",
"code",
"is",
"emitted",
"."
] | [
"AArch64",
"AArch64",
"AArch64",
"AArch64",
"AArch64",
"AArch64",
"AArch64",
"AArch64"
] | AArch64TargetMachine9 | addPreEmitPass | AArch64 | CPU | LLVM | 11,705 | 147 | 1 | [] |
[
"<s>",
"static",
"const",
"char",
"*",
"mips_get_compress_off_name",
"(",
"unsigned",
"int",
"flags",
")",
"{",
"if",
"(",
"flags",
"==",
"MASK_MIPS16",
")",
"return",
"\"nomips16\"",
";",
"if",
"(",
"flags",
"==",
"MASK_MICROMIPS",
")",
"return",
"\"nomicromi... | [
"Return",
"the",
"attribute",
"name",
"that",
"forbids",
"MASK_MIPS16",
"and",
"MASK_MICROMIPS",
"flags",
"FLAGS",
"."
] | [
"mips",
"\"nomips16\"",
"\"nomicromips\"",
"\"nocompression\""
] | mips | mips_get_compress_off_name | mips | CPU | GCC | 11,706 | 33 | 1 | [] |
[
"<s>",
"void",
"HSAILPassConfig",
"::",
"addPreRegAlloc",
"(",
")",
"{",
"}",
"</s>"
] | [
"This",
"method",
"may",
"be",
"implemented",
"by",
"targets",
"that",
"want",
"to",
"run",
"passes",
"immediately",
"before",
"register",
"allocation",
"."
] | [
"HSAIL",
"HSAIL"
] | HSAILTargetMachine | addPreRegAlloc | HSAIL | Virtual ISA | LLVM | 11,707 | 8 | 1 | [] |
[
"<s>",
"static",
"bool",
"rs6000_must_pass_in_stack",
"(",
"machine_mode",
"mode",
",",
"const_tree",
"type",
")",
"{",
"if",
"(",
"DEFAULT_ABI",
"==",
"ABI_AIX",
"||",
"DEFAULT_ABI",
"==",
"ABI_ELFv2",
"||",
"TARGET_64BIT",
")",
"return",
"must_pass_in_stack_var_si... | [
"Return",
"true",
"if",
"TYPE",
"must",
"be",
"passed",
"on",
"the",
"stack",
"and",
"not",
"in",
"registers",
"."
] | [
"powerpcspe"
] | powerpcspe | rs6000_must_pass_in_stack | powerpcspe | CPU | GCC | 11,708 | 41 | 1 | [] |
[
"<s>",
"bool",
"PPCInstrInfo",
"::",
"expandPostRAPseudo",
"(",
"MachineInstr",
"&",
"MI",
")",
"const",
"{",
"switch",
"(",
"MI",
".",
"getOpcode",
"(",
")",
")",
"{",
"case",
"TargetOpcode",
"::",
"LOAD_STACK_GUARD",
":",
"{",
"assert",
"(",
"Subtarget",
... | [
"This",
"function",
"is",
"called",
"for",
"all",
"pseudo",
"instructions",
"that",
"remain",
"after",
"register",
"allocation",
"."
] | [
"PowerPC",
"PPC",
"\"Only Linux target is expected to contain LOAD_STACK_GUARD\"",
"PPC",
"0x7010",
"0x7008",
"PPC",
"PPC::X13",
"PPC::R2",
"PPC",
"PPC::LD",
"PPC::LWZ"
] | PPCInstrInfo100 | expandPostRAPseudo | PowerPC | CPU | LLVM | 11,709 | 128 | 1 | [] |
[
"<s>",
"static",
"void",
"c6x_option_override",
"(",
"void",
")",
"{",
"unsigned",
"i",
";",
"if",
"(",
"global_options_set",
".",
"x_c6x_arch_option",
")",
"{",
"c6x_arch",
"=",
"all_isas",
"[",
"c6x_arch_option",
"]",
".",
"type",
";",
"c6x_insn_mask",
"&=",... | [
"Implement",
"TARGET_OPTION_OVERRIDE",
"."
] | [
"c6x",
"0",
"0",
"0",
"\"-fpic and -fPIC not supported without -mdsbt on this target\"",
"0",
"1"
] | c6x2 | c6x_option_override | c6x | VLIW | GCC | 11,710 | 124 | 1 | [] |
[
"<s>",
"void",
"applyFixup",
"(",
"const",
"MCFixup",
"&",
"Fixup",
",",
"char",
"*",
"Data",
",",
"unsigned",
"DataSize",
",",
"uint64_t",
"Value",
",",
"bool",
"IsPCRel",
")",
"const",
"override",
"{",
"Value",
"=",
"adjustFixupValue",
"(",
"Fixup",
".",... | [
"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"
] | PPCAsmBackend | applyFixup | PowerPC | CPU | LLVM | 11,711 | 119 | 1 | [] |
[
"<s>",
"void",
"addImm",
"(",
"int64_t",
"imm",
")",
"{",
"Imm",
"+=",
"imm",
";",
"}",
"</s>"
] | [
"Add",
"a",
"new",
"integer",
"immediate",
"operand",
"."
] | [
"X86"
] | X86AsmParser (2)4 | addImm | X86 | CPU | LLVM | 11,712 | 12 | 1 | [] |
[
"<s>",
"void",
"AArch64TargetLowering",
"::",
"computeKnownBitsForTargetNode",
"(",
"const",
"SDValue",
"Op",
",",
"KnownBits",
"&",
"Known",
",",
"const",
"APInt",
"&",
"DemandedElts",
",",
"const",
"SelectionDAG",
"&",
"DAG",
",",
"unsigned",
"Depth",
")",
"co... | [
"Determine",
"which",
"of",
"the",
"bits",
"specified",
"in",
"Mask",
"are",
"known",
"to",
"be",
"either",
"zero",
"or",
"one",
"and",
"return",
"them",
"in",
"the",
"KnownZero/KnownOne",
"bitsets",
"."
] | [
"AArch64",
"AArch64",
"AArch64ISD::CSEL",
"0",
"1",
"1",
"1",
"AArch64ISD::LOADgot",
"AArch64ISD::ADDlow",
"64",
"32",
"ISD::INTRINSIC_W_CHAIN",
"1",
"Intrinsic::ID",
"Intrinsic::ID",
"Intrinsic::aarch64_ldaxr",
"Intrinsic::aarch64_ldxr",
"ISD::INTRINSIC_WO_CHAIN",
"ISD::INTRINSI... | AArch64ISelLowering (2)3 | computeKnownBitsForTargetNode | AArch64 | CPU | LLVM | 11,713 | 438 | 1 | [] |
[
"<s>",
"bool",
"SystemZTargetLowering",
"::",
"CanLowerReturn",
"(",
"CallingConv",
"::",
"ID",
"CallConv",
",",
"MachineFunction",
"&",
"MF",
",",
"bool",
"isVarArg",
",",
"const",
"SmallVectorImpl",
"<",
"ISD",
"::",
"OutputArg",
">",
"&",
"Outs",
",",
"LLVM... | [
"This",
"hook",
"should",
"be",
"implemented",
"to",
"check",
"whether",
"the",
"return",
"values",
"described",
"by",
"the",
"Outs",
"array",
"can",
"fit",
"into",
"the",
"return",
"registers",
"."
] | [
"SystemZ",
"SystemZ",
"ISD::OutputArg",
"16",
"SystemZ"
] | SystemZISelLowering (2)1 | CanLowerReturn | SystemZ | CPU | LLVM | 11,714 | 79 | 1 | [] |
[
"<s>",
"void",
"OR1KInstrInfo",
"::",
"copyPhysReg",
"(",
"MachineBasicBlock",
"&",
"MBB",
",",
"MachineBasicBlock",
"::",
"iterator",
"I",
",",
"const",
"DebugLoc",
"&",
"DL",
",",
"unsigned",
"DestReg",
",",
"unsigned",
"SrcReg",
",",
"bool",
"KillSrc",
")",... | [
"}",
"Branch",
"Analysis",
"&",
"Modification"
] | [
"OR1K",
"OR1K",
"OR1K::GPRRegClass",
"OR1K::ORI",
"0",
"\"Impossible reg-to-reg copy\""
] | OR1KInstrInfo1 | copyPhysReg | OR1K | CPU | LLVM | 11,715 | 83 | 1 | [] |
[
"<s>",
"void",
"PPCPassConfig",
"::",
"addPreEmitPass",
"(",
")",
"{",
"addPass",
"(",
"createPPCPreEmitPeepholePass",
"(",
")",
")",
";",
"addPass",
"(",
"createPPCExpandISELPass",
"(",
")",
")",
";",
"if",
"(",
"getOptLevel",
"(",
")",
"!=",
"CodeGenOpt",
... | [
"This",
"pass",
"may",
"be",
"implemented",
"by",
"targets",
"that",
"want",
"to",
"run",
"passes",
"immediately",
"before",
"machine",
"code",
"is",
"emitted",
"."
] | [
"PowerPC",
"PPC",
"PPC",
"PPC",
"PPC",
"PPC"
] | PPCTargetMachine5 | addPreEmitPass | PowerPC | CPU | LLVM | 11,716 | 46 | 1 | [] |
[
"<s>",
"MachineInstr",
"*",
"SIInstrInfo",
"::",
"commuteInstruction",
"(",
"MachineInstr",
"*",
"MI",
",",
"bool",
"NewMI",
")",
"const",
"{",
"MachineRegisterInfo",
"&",
"MRI",
"=",
"MI",
"->",
"getParent",
"(",
")",
"->",
"getParent",
"(",
")",
"->",
"g... | [
"This",
"method",
"commutes",
"the",
"operands",
"of",
"the",
"given",
"machine",
"instruction",
"MI",
"."
] | [
"R600",
"SI",
"3",
"1",
"1",
"1",
"2",
"2",
"1",
"1",
"1",
"2",
"2",
"2"
] | SIInstrInfo22 | commuteInstruction | R600 | GPU | LLVM | 11,717 | 344 | 1 | [] |
[
"<s>",
"bool",
"trackLivenessAfterRegAlloc",
"(",
"const",
"MachineFunction",
"&",
")",
"const",
"override",
"{",
"return",
"true",
";",
"}",
"</s>"
] | [
"Returns",
"true",
"if",
"the",
"live-ins",
"should",
"be",
"tracked",
"after",
"register",
"allocation",
"."
] | [
"AVR"
] | AVRRegisterInfo1 | trackLivenessAfterRegAlloc | AVR | MPU | LLVM | 11,718 | 14 | 1 | [] |
[
"<s>",
"unsigned",
"RV16KInstrInfo",
"::",
"removeBranch",
"(",
"MachineBasicBlock",
"&",
"MBB",
",",
"int",
"*",
"BytesRemoved",
")",
"const",
"{",
"if",
"(",
"BytesRemoved",
")",
"*",
"BytesRemoved",
"=",
"0",
";",
"MachineBasicBlock",
"::",
"iterator",
"I",... | [
"Remove",
"the",
"branching",
"code",
"at",
"the",
"end",
"of",
"the",
"specific",
"MBB",
"."
] | [
"RV16K",
"RV16K",
"0",
"0",
"0",
"1",
"1",
"2"
] | RV16KInstrInfo | removeBranch | RV16K | Virtual ISA | LLVM | 11,719 | 157 | 1 | [] |
[
"<s>",
"bool",
"hasAndNot",
"(",
"SDValue",
"Y",
")",
"const",
"override",
"{",
"EVT",
"VT",
"=",
"Y",
".",
"getValueType",
"(",
")",
";",
"if",
"(",
"!",
"VT",
".",
"isVector",
"(",
")",
")",
"return",
"hasAndNotCompare",
"(",
"Y",
")",
";",
"Type... | [
"Return",
"true",
"if",
"the",
"target",
"has",
"a",
"bitwise",
"and-not",
"operation",
":",
"X",
"=",
"~A",
"&",
"B",
"This",
"can",
"be",
"used",
"to",
"simplify",
"select",
"or",
"other",
"instructions",
"."
] | [
"AArch64",
"64"
] | AArch64ISelLowering (2)1 | hasAndNot | AArch64 | CPU | LLVM | 11,720 | 59 | 1 | [] |
[
"<s>",
"static",
"void",
"arc_init_reg_tables",
"(",
"void",
")",
"{",
"int",
"i",
";",
"for",
"(",
"i",
"=",
"0",
";",
"i",
"<",
"NUM_MACHINE_MODES",
";",
"i",
"++",
")",
"{",
"switch",
"(",
"GET_MODE_CLASS",
"(",
"i",
")",
")",
"{",
"case",
"MODE... | [
"Initialize",
"the",
"arc_mode_class",
"array",
"."
] | [
"arc",
"0",
"4",
"1",
"8",
"1",
"16",
"1",
"32",
"1",
"0",
"4",
"1",
"8",
"1",
"16",
"1",
"32",
"1",
"0",
"1",
"0",
"0",
"60",
"60",
"61"
] | arc3 | arc_init_reg_tables | arc | MPU | GCC | 11,721 | 336 | 1 | [] |
[
"<s>",
"void",
"TeeRISCFrameLowering",
"::",
"emitPrologue",
"(",
"MachineFunction",
"&",
"MF",
")",
"const",
"{",
"MachineBasicBlock",
"&",
"MBB",
"=",
"MF",
".",
"front",
"(",
")",
";",
"MachineFrameInfo",
"*",
"MFI",
"=",
"MF",
".",
"getFrameInfo",
"(",
... | [
"emitProlog/emitEpilog",
"-",
"These",
"methods",
"insert",
"prolog",
"and",
"epilog",
"code",
"into",
"the",
"function",
"."
] | [
"TeeRISC",
"TeeRISC",
"TeeRISC",
"TeeRISC",
"TeeRISC",
"TeeRISC",
"0",
"TeeRISC::ADD_IMM",
"TeeRISC::SP",
"TeeRISC::SP",
"TeeRISC::ST",
"TeeRISC::SP",
"TeeRISC::LR",
"TeeRISC::ST",
"TeeRISC::FP",
"TeeRISC::SP",
"TeeRISC::ADD",
"TeeRISC::FP",
"TeeRISC::SP",
"TeeRISC::ZERO"
] | TeeRISCFrameLowering | emitPrologue | TeeRISC | CPU | LLVM | 11,722 | 305 | 1 | [] |
[
"<s>",
"bool",
"SparcFrameLowering",
"::",
"hasReservedCallFrame",
"(",
"const",
"MachineFunction",
"&",
"MF",
")",
"const",
"{",
"return",
"!",
"MF",
".",
"getFrameInfo",
"(",
")",
"->",
"hasVarSizedObjects",
"(",
")",
";",
"}",
"</s>"
] | [
"hasReservedCallFrame",
"-",
"Under",
"normal",
"circumstances",
",",
"when",
"a",
"frame",
"pointer",
"is",
"not",
"required",
",",
"we",
"reserve",
"argument",
"space",
"for",
"call",
"sites",
"in",
"the",
"function",
"immediately",
"on",
"entry",
"to",
"the... | [
"Sparc",
"Sparc"
] | SparcFrameLowering (2) | hasReservedCallFrame | Sparc | CPU | LLVM | 11,723 | 25 | 1 | [] |
[
"<s>",
"static",
"bool",
"rs6000_discover_homogeneous_aggregate",
"(",
"machine_mode",
"mode",
",",
"const_tree",
"type",
",",
"machine_mode",
"*",
"elt_mode",
",",
"int",
"*",
"n_elts",
")",
"{",
"if",
"(",
"DEFAULT_ABI",
"==",
"ABI_ELFv2",
"&&",
"type",
"&&",
... | [
"If",
"an",
"argument",
",",
"whose",
"type",
"is",
"described",
"by",
"TYPE",
"and",
"MODE",
",",
"is",
"a",
"homogeneous",
"float",
"or",
"vector",
"aggregate",
"that",
"shall",
"be",
"passed",
"in",
"FP/vector",
"registers",
"according",
"to",
"the",
"E... | [
"rs6000",
"0",
"7",
"3",
"1",
"1"
] | rs60004 | rs6000_discover_homogeneous_aggregate | rs6000 | CPU | GCC | 11,724 | 134 | 1 | [] |
[
"<s>",
"void",
"HexagonEarlyIfConversion",
"::",
"removeBlock",
"(",
"MachineBasicBlock",
"*",
"B",
")",
"{",
"DEBUG",
"(",
"dbgs",
"(",
")",
"<<",
"\"Removing block \"",
"<<",
"PrintMB",
"(",
"B",
")",
"<<",
"\"\\n\"",
")",
";",
"MachineDomTreeNode",
"*",
"... | [
"This",
"method",
"completely",
"removes",
"BB",
"from",
"all",
"data",
"structures",
",",
"including",
"all",
"of",
"the",
"Loop",
"objects",
"it",
"is",
"nested",
"in",
"and",
"our",
"mapping",
"from",
"MachineBasicBlocks",
"to",
"loops",
"."
] | [
"Hexagon",
"Hexagon",
"\"Removing block \"",
"\"\\n\"",
"4",
"0"
] | HexagonEarlyIfConv12 | removeBlock | Hexagon | DSP | LLVM | 11,725 | 238 | 1 | [] |
[
"<s>",
"static",
"opt_machine_mode",
"aarch64_vectorize_related_mode",
"(",
"machine_mode",
"vector_mode",
",",
"scalar_mode",
"element_mode",
",",
"poly_uint64",
"nunits",
")",
"{",
"unsigned",
"int",
"vec_flags",
"=",
"aarch64_classify_vector_mode",
"(",
"vector_mode",
... | [
"Implement",
"TARGET_VECTORIZE_RELATED_MODE",
"."
] | [
"aarch64",
"0U",
"0U",
"64U",
"128U",
"128"
] | aarch64 | aarch64_vectorize_related_mode | aarch64 | CPU | GCC | 11,726 | 194 | 1 | [] |
[
"<s>",
"void",
"PPCPassConfig",
"::",
"addMachineSSAOptimization",
"(",
")",
"{",
"TargetPassConfig",
"::",
"addMachineSSAOptimization",
"(",
")",
";",
"if",
"(",
"Triple",
"(",
"TM",
"->",
"getTargetTriple",
"(",
")",
")",
".",
"getArch",
"(",
")",
"==",
"T... | [
"Methods",
"with",
"trivial",
"inline",
"returns",
"are",
"convenient",
"points",
"in",
"the",
"common",
"codegen",
"pass",
"pipeline",
"where",
"targets",
"may",
"insert",
"passes",
"."
] | [
"PowerPC",
"PPC",
"PPC"
] | PPCTargetMachine72 | addMachineSSAOptimization | PowerPC | CPU | LLVM | 11,727 | 43 | 1 | [] |
[
"<s>",
"const",
"char",
"*",
"getPassName",
"(",
")",
"const",
"override",
"{",
"return",
"AARCH64_DEAD_REG_DEF_NAME",
";",
"}",
"</s>"
] | [
"getPassName",
"-",
"Return",
"a",
"nice",
"clean",
"name",
"for",
"a",
"pass",
"."
] | [
"AArch64"
] | AArch64DeadRegisterDefinitionsPass (2) | getPassName | AArch64 | CPU | LLVM | 11,728 | 13 | 1 | [] |
[
"<s>",
"static",
"int",
"stackSlotSize",
"(",
")",
"{",
"return",
"4",
";",
"}",
"</s>"
] | [
"Stack",
"slot",
"size",
"(",
"4",
"bytes",
")"
] | [
"TOY",
"4"
] | TOYFrameLowering1 | stackSlotSize | TOY | CPU | LLVM | 11,729 | 10 | 1 | [] |
[
"<s>",
"bool",
"TeakInstrInfo",
"::",
"isProfitableToIfCvt",
"(",
"MachineBasicBlock",
"&",
"TBB",
",",
"unsigned",
"TCycles",
",",
"unsigned",
"TExtra",
",",
"MachineBasicBlock",
"&",
"FBB",
",",
"unsigned",
"FCycles",
",",
"unsigned",
"FExtra",
",",
"BranchProba... | [
"Second",
"variant",
"of",
"isProfitableToIfCvt",
"."
] | [
"Teak",
"Teak",
"\"isProfitableToIfCvt TF\\n\""
] | TeakInstrInfo | isProfitableToIfCvt | Teak | DSP | LLVM | 11,730 | 40 | 1 | [] |
[
"<s>",
"SMLoc",
"getEndLoc",
"(",
")",
"const",
"override",
"{",
"return",
"EndLoc",
";",
"}",
"</s>"
] | [
"getEndLoc",
"-",
"Get",
"the",
"location",
"of",
"the",
"last",
"token",
"of",
"this",
"operand",
"."
] | [
"WebAssembly"
] | WebAssemblyAsmParser (2) | getEndLoc | WebAssembly | Virtual ISA | LLVM | 11,731 | 11 | 1 | [] |
[
"<s>",
"int",
"rs6000_loop_align",
"(",
"rtx",
"label",
")",
"{",
"basic_block",
"bb",
";",
"int",
"ninsns",
";",
"if",
"(",
"!",
"can_override_loop_align",
")",
"return",
"align_loops_log",
";",
"bb",
"=",
"BLOCK_FOR_INSN",
"(",
"label",
")",
";",
"ninsns",... | [
"Implement",
"LOOP_ALIGN",
"."
] | [
"powerpcspe",
"4",
"8",
"5"
] | powerpcspe | rs6000_loop_align | powerpcspe | CPU | GCC | 11,732 | 81 | 1 | [] |
[
"<s>",
"bool",
"AArch64InstrInfo",
"::",
"shouldClusterMemOps",
"(",
"MachineInstr",
"*",
"FirstLdSt",
",",
"MachineInstr",
"*",
"SecondLdSt",
",",
"unsigned",
"NumLoads",
")",
"const",
"{",
"if",
"(",
"NumLoads",
">",
"1",
")",
"return",
"false",
";",
"unsign... | [
"Returns",
"true",
"if",
"the",
"two",
"given",
"memory",
"operations",
"should",
"be",
"scheduled",
"adjacent",
"."
] | [
"AArch64",
"AArch64",
"1",
"2",
"2",
"63",
"64",
"\"Caller should have ordered offsets.\"",
"1"
] | AArch64InstrInfo110 | shouldClusterMemOps | AArch64 | CPU | LLVM | 11,733 | 170 | 1 | [] |
[
"<s>",
"bool",
"AArch64TargetLowering",
"::",
"isIntDivCheap",
"(",
"EVT",
"VT",
",",
"AttributeList",
"Attr",
")",
"const",
"{",
"bool",
"OptSize",
"=",
"Attr",
".",
"hasFnAttr",
"(",
"Attribute",
"::",
"MinSize",
")",
";",
"return",
"OptSize",
"&&",
"!",
... | [
"Return",
"true",
"if",
"integer",
"divide",
"is",
"usually",
"cheaper",
"than",
"a",
"sequence",
"of",
"several",
"shifts",
",",
"adds",
",",
"and",
"multiplies",
"for",
"this",
"target",
"."
] | [
"AArch64",
"AArch64"
] | AArch64ISelLowering (2)2 | isIntDivCheap | AArch64 | CPU | LLVM | 11,734 | 36 | 1 | [] |
[
"<s>",
"static",
"int",
"first_jump_index",
"(",
"int",
"clock_var",
")",
"{",
"int",
"retval",
"=",
"-",
"1",
";",
"int",
"n",
"=",
"0",
";",
"for",
"(",
";",
";",
")",
"{",
"int",
"t",
"=",
"get_jump_cycle",
"(",
"n",
")",
";",
"if",
"(",
"t"... | [
"Return",
"the",
"index",
"of",
"the",
"first",
"jump",
"that",
"occurs",
"after",
"CLOCK_VAR",
".",
"If",
"no",
"jump",
"has",
"delay",
"slots",
"beyond",
"CLOCK_VAR",
",",
"return",
"-1",
"."
] | [
"c6x",
"1",
"0"
] | c6x | first_jump_index | c6x | VLIW | GCC | 11,735 | 53 | 1 | [] |
[
"<s>",
"static",
"void",
"write_function_decl_and_comment",
"(",
"std",
"::",
"stringstream",
"&",
"s",
",",
"const",
"char",
"*",
"name",
",",
"const_tree",
"decl",
")",
"{",
"s",
"<<",
"\"// BEGIN\"",
";",
"if",
"(",
"TREE_PUBLIC",
"(",
"decl",
")",
")",... | [
"Write",
"a",
".func",
"or",
".kernel",
"declaration",
"(",
"not",
"a",
"definition",
")",
"along",
"with",
"a",
"helper",
"comment",
"for",
"use",
"by",
"ld",
".",
"S",
"is",
"the",
"stream",
"to",
"write",
"to",
",",
"DECL",
"the",
"decl",
"for",
"... | [
"nvptx",
"\"// BEGIN\"",
"\" GLOBAL\"",
"\" FUNCTION DECL: \"",
"0",
"1",
"\"\\n\"",
"\";\\n\""
] | nvptx2 | write_function_decl_and_comment | nvptx | GPU | GCC | 11,736 | 78 | 1 | [] |
[
"<s>",
"rtx",
"avr_incoming_return_addr_rtx",
"(",
"void",
")",
"{",
"return",
"gen_frame_mem",
"(",
"HImode",
",",
"plus_constant",
"(",
"Pmode",
",",
"stack_pointer_rtx",
",",
"1",
")",
")",
";",
"}",
"</s>"
] | [
"Implement",
"`",
"INCOMING_RETURN_ADDR_RTX",
"'",
"."
] | [
"avr",
"1"
] | avr | avr_incoming_return_addr_rtx | avr | MPU | GCC | 11,737 | 22 | 1 | [] |
[
"<s>",
"bool",
"EvexToVexInstPass",
"::",
"runOnMachineFunction",
"(",
"MachineFunction",
"&",
"MF",
")",
"{",
"TII",
"=",
"MF",
".",
"getSubtarget",
"<",
"X86Subtarget",
">",
"(",
")",
".",
"getInstrInfo",
"(",
")",
";",
"ST",
"=",
"&",
"MF",
".",
"getS... | [
"runOnMachineFunction",
"-",
"Emit",
"the",
"function",
"body",
"."
] | [
"X86",
"X86",
"X86"
] | X86EvexToVex17 | runOnMachineFunction | X86 | CPU | LLVM | 11,738 | 83 | 1 | [] |
[
"<s>",
"void",
"MBlazeAsmPrinter",
"::",
"emitFrameDirective",
"(",
")",
"{",
"const",
"TargetRegisterInfo",
"&",
"RI",
"=",
"*",
"TM",
".",
"getRegisterInfo",
"(",
")",
";",
"unsigned",
"stackReg",
"=",
"RI",
".",
"getFrameRegister",
"(",
"*",
"MF",
")",
... | [
"Frame",
"Directive",
"."
] | [
"MBlaze",
"MBlaze",
"\"\\t.frame\\t\"",
"\",\"",
"\",\""
] | MBlazeAsmPrinter1 | emitFrameDirective | MBlaze | MPU | LLVM | 11,739 | 85 | 1 | [] |
[
"<s>",
"static",
"rtx",
"s390_emit_compare_and_swap",
"(",
"enum",
"rtx_code",
"code",
",",
"rtx",
"old",
",",
"rtx",
"mem",
",",
"rtx",
"cmp",
",",
"rtx",
"new_rtx",
")",
"{",
"emit_insn",
"(",
"gen_atomic_compare_and_swapsi_internal",
"(",
"old",
",",
"mem",... | [
"Emit",
"a",
"SImode",
"compare",
"and",
"swap",
"instruction",
"setting",
"MEM",
"to",
"NEW_RTX",
"if",
"OLD",
"matches",
"CMP",
".",
"Return",
"the",
"correct",
"condition",
"RTL",
"to",
"be",
"placed",
"in",
"the",
"IF_THEN_ELSE",
"of",
"the",
"conditiona... | [
"s390"
] | s3904 | s390_emit_compare_and_swap | s390 | MPU | GCC | 11,740 | 51 | 1 | [] |
[
"<s>",
"static",
"int",
"microblaze_must_save_register",
"(",
"int",
"regno",
")",
"{",
"if",
"(",
"pic_offset_table_rtx",
"&&",
"(",
"regno",
"==",
"MB_ABI_PIC_ADDR_REGNUM",
")",
"&&",
"df_regs_ever_live_p",
"(",
"regno",
")",
")",
"return",
"1",
";",
"if",
"... | [
"Determine",
"of",
"register",
"must",
"be",
"saved/restored",
"in",
"call",
"."
] | [
"microblaze",
"1",
"1",
"1",
"1",
"3",
"12",
"1",
"1",
"1",
"0"
] | microblaze2 | microblaze_must_save_register | microblaze | MPU | GCC | 11,741 | 160 | 1 | [] |
[
"<s>",
"static",
"bool",
"arc_cannot_force_const_mem",
"(",
"machine_mode",
"mode",
",",
"rtx",
"x",
")",
"{",
"return",
"!",
"arc_legitimate_constant_p",
"(",
"mode",
",",
"x",
")",
";",
"}",
"</s>"
] | [
"Determine",
"if",
"it",
"'s",
"legal",
"to",
"put",
"X",
"into",
"the",
"constant",
"pool",
"."
] | [
"arc"
] | arc | arc_cannot_force_const_mem | arc | MPU | GCC | 11,742 | 21 | 1 | [] |
[
"<s>",
"void",
"AArch64PassConfig",
"::",
"addPreSched2",
"(",
")",
"{",
"addPass",
"(",
"createAArch64ExpandPseudoPass",
"(",
")",
")",
";",
"if",
"(",
"TM",
"->",
"getOptLevel",
"(",
")",
"!=",
"CodeGenOpt",
"::",
"None",
"&&",
"EnableLoadStoreOpt",
")",
"... | [
"This",
"method",
"may",
"be",
"implemented",
"by",
"targets",
"that",
"want",
"to",
"run",
"passes",
"after",
"prolog-epilog",
"insertion",
"and",
"before",
"the",
"second",
"instruction",
"scheduling",
"pass",
"."
] | [
"AArch64",
"AArch64",
"AArch64",
"AArch64"
] | AArch64TargetMachine10 | addPreSched2 | AArch64 | CPU | LLVM | 11,743 | 36 | 1 | [] |
[
"<s>",
"Optional",
"<",
"MCDisassembler",
"::",
"DecodeStatus",
">",
"WebAssemblyDisassembler",
"::",
"onSymbolStart",
"(",
"SymbolInfoTy",
"&",
"Symbol",
",",
"uint64_t",
"&",
"Size",
",",
"ArrayRef",
"<",
"uint8_t",
">",
"Bytes",
",",
"uint64_t",
"Address",
",... | [
"Used",
"to",
"perform",
"separate",
"target",
"specific",
"disassembly",
"for",
"a",
"particular",
"symbol",
"."
] | [
"WebAssembly",
"WebAssembly",
"0",
"0",
"\" # \"",
"\" functions in section.\"",
"\" .local \"",
"0",
"0",
"\", \"",
"WebAssembly::anyTypeToString",
"\"\\n\""
] | WebAssemblyDisassembler (2) | onSymbolStart | WebAssembly | Virtual ISA | LLVM | 11,744 | 225 | 1 | [] |
[
"<s>",
"static",
"tree",
"rs6000_builtin_mask_for_load",
"(",
"void",
")",
"{",
"if",
"(",
"TARGET_ALTIVEC",
"||",
"TARGET_VSX",
")",
"return",
"altivec_builtin_mask_for_load",
";",
"else",
"return",
"0",
";",
"}",
"</s>"
] | [
"Implement",
"targetm.vectorize.builtin_mask_for_load",
"."
] | [
"rs6000",
"0"
] | rs60004 | rs6000_builtin_mask_for_load | rs6000 | CPU | GCC | 11,745 | 21 | 1 | [] |
[
"<s>",
"void",
"AMDGPUAsmPrinter",
"::",
"emitStartOfAsmFile",
"(",
"Module",
"&",
"M",
")",
"{",
"if",
"(",
"getTargetStreamer",
"(",
")",
"&&",
"!",
"getTargetStreamer",
"(",
")",
"->",
"getTargetID",
"(",
")",
")",
"initializeTargetID",
"(",
"M",
")",
"... | [
"This",
"virtual",
"method",
"can",
"be",
"overridden",
"by",
"targets",
"that",
"want",
"to",
"emit",
"something",
"at",
"the",
"start",
"of",
"their",
"file",
"."
] | [
"AMDGPU",
"AMDGPU",
"2",
"1",
"\"AMD\"",
"\"AMDGPU\""
] | AMDGPUAsmPrinter | emitStartOfAsmFile | AMDGPU | GPU | LLVM | 11,746 | 216 | 1 | [] |
[
"<s>",
"SDNode",
"*",
"MipsDAGToDAGISel",
"::",
"Select",
"(",
"SDNode",
"*",
"Node",
")",
"{",
"unsigned",
"Opcode",
"=",
"Node",
"->",
"getOpcode",
"(",
")",
";",
"DEBUG",
"(",
"errs",
"(",
")",
"<<",
"\"Selecting: \"",
";",
"Node",
"->",
"dump",
"("... | [
"Main",
"hook",
"for",
"targets",
"to",
"transform",
"nodes",
"into",
"machine",
"nodes",
"."
] | [
"Mips",
"Mips",
"\"Selecting: \"",
"\"\\n\"",
"\"== \"",
"\"\\n\"",
"1",
"ISD::GLOBAL_OFFSET_TABLE",
"ISD::LOAD",
"ISD::STORE",
"8",
"\"Unexpected unaligned loads/stores.\"",
"\"=> \"",
"\"\\n\""
] | MipsISelDAGToDAG31 | Select | Mips | CPU | LLVM | 11,747 | 249 | 1 | [] |
[
"<s>",
"static",
"bool",
"mips_no_speculation_in_delay_slots_p",
"(",
")",
"{",
"return",
"TARGET_CB_MAYBE",
";",
"}",
"</s>"
] | [
"Implement",
"TARGET_NO_SPECULATION_IN_DELAY_SLOTS_P",
"."
] | [
"mips"
] | mips | mips_no_speculation_in_delay_slots_p | mips | CPU | GCC | 11,748 | 10 | 1 | [] |
[
"<s>",
"static",
"void",
"c4x_file_start",
"(",
"void",
")",
"{",
"default_file_start",
"(",
")",
";",
"fprintf",
"(",
"asm_out_file",
",",
"\"\\t.version\\t%d\\n\"",
",",
"c4x_cpu_version",
")",
";",
"fputs",
"(",
"\"\\n\\t.data\\ndata_sec:\\n\"",
",",
"asm_out_fil... | [
"We",
"need",
"to",
"have",
"a",
"data",
"section",
"we",
"can",
"identify",
"so",
"that",
"we",
"can",
"set",
"the",
"DP",
"register",
"back",
"to",
"a",
"data",
"pointer",
"in",
"the",
"small",
"memory",
"model",
".",
"This",
"is",
"only",
"required"... | [
"c4x",
"\"\\t.version\\t%d\\n\"",
"\"\\n\\t.data\\ndata_sec:\\n\""
] | c4x1 | c4x_file_start | c4x | DSP | GCC | 11,749 | 28 | 1 | [] |
[
"<s>",
"void",
"HexagonHazardRecognizer",
"::",
"AdvanceCycle",
"(",
")",
"{",
"DEBUG",
"(",
"dbgs",
"(",
")",
"<<",
"\"Advance cycle, clear state\\n\"",
")",
";",
"Resources",
"->",
"clearResources",
"(",
")",
";",
"if",
"(",
"DotCurPNum",
"!=",
"-",
"1",
"... | [
"AdvanceCycle",
"-",
"This",
"callback",
"is",
"invoked",
"whenever",
"the",
"next",
"top-down",
"instruction",
"to",
"be",
"scheduled",
"can",
"not",
"issue",
"in",
"the",
"current",
"cycle",
",",
"either",
"because",
"of",
"latency",
"or",
"resource",
"confl... | [
"Hexagon",
"Hexagon",
"\"Advance cycle, clear state\\n\"",
"1",
"1"
] | HexagonHazardRecognizer5 | AdvanceCycle | Hexagon | DSP | LLVM | 11,750 | 65 | 1 | [] |
[
"<s>",
"bool",
"MipsTargetELFStreamer",
"::",
"emitDirectiveCpRestore",
"(",
"int",
"Offset",
",",
"function_ref",
"<",
"unsigned",
"(",
")",
">",
"GetATReg",
",",
"SMLoc",
"IDLoc",
",",
"const",
"MCSubtargetInfo",
"*",
"STI",
")",
"{",
"MipsTargetStreamer",
"::... | [
"Emit",
"a",
".cprestore",
"directive",
"."
] | [
"Mips",
"Mips",
"Mips",
"Mips::SW",
"Mips::GP",
"Mips::SP"
] | MipsTargetStreamer1 | emitDirectiveCpRestore | Mips | CPU | LLVM | 11,751 | 91 | 1 | [] |
[
"<s>",
"bool",
"X86TargetLowering",
"::",
"isVectorClearMaskLegal",
"(",
"ArrayRef",
"<",
"int",
">",
"Mask",
",",
"EVT",
"VT",
")",
"const",
"{",
"if",
"(",
"!",
"Subtarget",
".",
"hasAVX2",
"(",
")",
")",
"if",
"(",
"VT",
"==",
"MVT",
"::",
"v32i8",
... | [
"Similar",
"to",
"isShuffleMaskLegal",
"."
] | [
"X86",
"X86",
"MVT::v32i8",
"MVT::v16i16"
] | X86ISelLowering (2)5 | isVectorClearMaskLegal | X86 | CPU | LLVM | 11,752 | 51 | 1 | [] |
[
"<s>",
"SDValue",
"AMDGPUTargetLowering",
"::",
"LowerOperation",
"(",
"SDValue",
"Op",
",",
"SelectionDAG",
"&",
"DAG",
")",
"const",
"{",
"switch",
"(",
"Op",
".",
"getOpcode",
"(",
")",
")",
"{",
"default",
":",
"Op",
"->",
"dump",
"(",
"&",
"DAG",
... | [
"LowerOperation",
"-",
"Provide",
"custom",
"lowering",
"hooks",
"for",
"some",
"operations",
"."
] | [
"AMDGPU",
"AMDGPU",
"\"Custom lowering code for this\"",
"\"instruction is not implemented yet!\"",
"ISD::SIGN_EXTEND_INREG",
"SI",
"ISD::CONCAT_VECTORS",
"ISD::EXTRACT_SUBVECTOR",
"ISD::INTRINSIC_WO_CHAIN",
"SI",
"ISD::UDIVREM",
"ISD::SDIVREM",
"ISD::FREM",
"ISD::FCEIL",
"ISD::FTRUNC",
... | AMDGPUISelLowering99 | LowerOperation | AMDGPU | GPU | LLVM | 11,753 | 311 | 1 | [] |
[
"<s>",
"AVRTargetLowering",
"::",
"ConstraintType",
"AVRTargetLowering",
"::",
"getConstraintType",
"(",
"StringRef",
"Constraint",
")",
"const",
"{",
"if",
"(",
"Constraint",
".",
"size",
"(",
")",
"==",
"1",
")",
"{",
"switch",
"(",
"Constraint",
"[",
"0",
... | [
"Given",
"a",
"constraint",
"letter",
",",
"return",
"the",
"type",
"of",
"constraint",
"for",
"this",
"target",
"."
] | [
"AVR",
"AVR",
"AVR",
"1",
"0"
] | AVRISelLowering12 | getConstraintType | AVR | MPU | LLVM | 11,754 | 136 | 1 | [] |
[
"<s>",
"static",
"bool",
"prologue_saved_reg_p",
"(",
"unsigned",
"regno",
")",
"{",
"gcc_assert",
"(",
"GP_REG_P",
"(",
"regno",
")",
")",
";",
"if",
"(",
"df_regs_ever_live_p",
"(",
"regno",
")",
"&&",
"!",
"call_used_or_fixed_reg_p",
"(",
"regno",
")",
")... | [
"Return",
"true",
"if",
"REGNO",
"should",
"be",
"saved",
"in",
"the",
"prologue",
"."
] | [
"nios2"
] | nios2 | prologue_saved_reg_p | nios2 | MPU | GCC | 11,755 | 74 | 1 | [] |
[
"<s>",
"int",
"pa_attr_length_call",
"(",
"rtx_insn",
"*",
"insn",
",",
"int",
"sibcall",
")",
"{",
"int",
"local_call",
";",
"rtx",
"call",
",",
"call_dest",
";",
"tree",
"call_decl",
";",
"int",
"length",
"=",
"0",
";",
"rtx",
"pat",
"=",
"PATTERN",
... | [
"Return",
"the",
"attribute",
"length",
"of",
"the",
"call",
"instruction",
"INSN",
".",
"The",
"SIBCALL",
"flag",
"indicates",
"whether",
"INSN",
"is",
"a",
"regular",
"call",
"or",
"a",
"sibling",
"call",
".",
"The",
"length",
"returned",
"must",
"be",
"... | [
"pa",
"0",
"1",
"0",
"1",
"0",
"0",
"0",
"0",
"7600000",
"8",
"28",
"24",
"12",
"20",
"8",
"32",
"4",
"8",
"8"
] | pa6 | pa_attr_length_call | pa | CPU | GCC | 11,756 | 335 | 1 | [] |
[
"<s>",
"void",
"ARMPassConfig",
"::",
"addPreSched2",
"(",
")",
"{",
"if",
"(",
"getOptLevel",
"(",
")",
"!=",
"CodeGenOpt",
"::",
"None",
")",
"{",
"if",
"(",
"EnableARMLoadStoreOpt",
")",
"addPass",
"(",
"createARMLoadStoreOptimizationPass",
"(",
")",
")",
... | [
"This",
"method",
"may",
"be",
"implemented",
"by",
"targets",
"that",
"want",
"to",
"run",
"passes",
"after",
"prolog-epilog",
"insertion",
"and",
"before",
"the",
"second",
"instruction",
"scheduling",
"pass",
"."
] | [
"ARM",
"ARM",
"ARM",
"ARM",
"ARM",
"ARM",
"ARM",
"ARM"
] | ARMTargetMachine14 | addPreSched2 | ARM | CPU | LLVM | 11,757 | 132 | 1 | [] |
[
"<s>",
"SDValue",
"MSP430TargetLowering",
"::",
"LowerReturn",
"(",
"SDValue",
"Chain",
",",
"CallingConv",
"::",
"ID",
"CallConv",
",",
"bool",
"isVarArg",
",",
"const",
"SmallVectorImpl",
"<",
"ISD",
"::",
"OutputArg",
">",
"&",
"Outs",
",",
"const",
"SmallV... | [
"This",
"hook",
"must",
"be",
"implemented",
"to",
"lower",
"outgoing",
"return",
"values",
",",
"described",
"by",
"the",
"Outs",
"array",
",",
"into",
"the",
"specified",
"DAG",
"."
] | [
"MSP430",
"MSP430",
"ISD::OutputArg",
"16",
"MSP430",
"\"ISRs cannot return any value\"",
"MSP430",
"4",
"1",
"0",
"\"Can only return in registers!\"",
"1",
"MSP430",
"MSP430ISD::RETI_FLAG",
"MSP430ISD::RET_FLAG",
"0",
"MVT::Other",
"0"
] | MSP430ISelLowering27 | LowerReturn | MSP430 | MPU | LLVM | 11,758 | 286 | 1 | [] |
[
"<s>",
"bool",
"AArch64AsmPrinter",
"::",
"PrintAsmMemoryOperand",
"(",
"const",
"MachineInstr",
"*",
"MI",
",",
"unsigned",
"OpNum",
",",
"unsigned",
"AsmVariant",
",",
"const",
"char",
"*",
"ExtraCode",
",",
"raw_ostream",
"&",
"O",
")",
"{",
"if",
"(",
"E... | [
"Print",
"the",
"specified",
"operand",
"of",
"MI",
",",
"an",
"INLINEASM",
"instruction",
",",
"using",
"the",
"specified",
"assembler",
"variant",
"as",
"an",
"address",
"."
] | [
"AArch64",
"AArch64",
"0",
"\"unexpected inline asm memory operand\"",
"\"[\"",
"AArch64",
"\"]\""
] | AArch64AsmPrinter (2) | PrintAsmMemoryOperand | AArch64 | CPU | LLVM | 11,759 | 82 | 1 | [] |
[
"<s>",
"static",
"void",
"arm_elf_asm_constructor",
"(",
"rtx",
"symbol",
",",
"int",
"priority",
"ATTRIBUTE_UNUSED",
")",
"{",
"if",
"(",
"!",
"TARGET_AAPCS_BASED",
")",
"{",
"default_named_section_asm_out_constructor",
"(",
"symbol",
",",
"priority",
")",
";",
"... | [
"Add",
"a",
"function",
"to",
"the",
"list",
"of",
"static",
"constructors",
"."
] | [
"arm",
"\"\\t.word\\t\"",
"\"(target1)\\n\""
] | arm3 | arm_elf_asm_constructor | arm | CPU | GCC | 11,760 | 59 | 1 | [] |
[
"<s>",
"void",
"PPCTargetLowering",
"::",
"initializeSplitCSR",
"(",
"MachineBasicBlock",
"*",
"Entry",
")",
"const",
"{",
"if",
"(",
"!",
"Subtarget",
".",
"isPPC64",
"(",
")",
")",
"return",
";",
"PPCFunctionInfo",
"*",
"PFI",
"=",
"Entry",
"->",
"getParen... | [
"Perform",
"necessary",
"initialization",
"to",
"handle",
"a",
"subset",
"of",
"CSRs",
"explicitly",
"via",
"copies",
"."
] | [
"PowerPC",
"PPC",
"PPC",
"PPC",
"PPC"
] | PPCISelLowering101 | initializeSplitCSR | PowerPC | CPU | LLVM | 11,761 | 47 | 1 | [] |
[
"<s>",
"bool",
"runOnMachineFunction",
"(",
"MachineFunction",
"&",
"MF",
")",
"override",
"{",
"Subtarget",
"=",
"&",
"MF",
".",
"getSubtarget",
"<",
"VESubtarget",
">",
"(",
")",
";",
"return",
"SelectionDAGISel",
"::",
"runOnMachineFunction",
"(",
"MF",
")"... | [
"runOnMachineFunction",
"-",
"Emit",
"the",
"function",
"body",
"."
] | [
"VE",
"VE"
] | VEISelDAGToDAG | runOnMachineFunction | VE | CPU | LLVM | 11,762 | 30 | 1 | [] |
[
"<s>",
"bool",
"SITargetLowering",
"::",
"isLegalAddressingMode",
"(",
"const",
"DataLayout",
"&",
"DL",
",",
"const",
"AddrMode",
"&",
"AM",
",",
"Type",
"*",
"Ty",
",",
"unsigned",
"AS",
")",
"const",
"{",
"if",
"(",
"AM",
".",
"BaseGV",
")",
"return",... | [
"isLegalAddressingMode",
"-",
"Return",
"true",
"if",
"the",
"addressing",
"mode",
"represented",
"by",
"AM",
"is",
"legal",
"for",
"this",
"target",
",",
"for",
"a",
"load/store",
"of",
"the",
"specified",
"type",
"."
] | [
"AMDGPU",
"SI",
"SI",
"SI",
"SI",
"4",
"0",
"4",
"SI",
"8",
"4",
"SI",
"32",
"4",
"SI",
"20",
"\"unhandled generation\"",
"0",
"1",
"SI",
"SI",
"SI",
"16",
"0",
"1",
"SI",
"SI",
"\"unhandled address space\""
] | SIISelLowering114 | isLegalAddressingMode | AMDGPU | GPU | LLVM | 11,763 | 355 | 1 | [] |
[
"<s>",
"bool",
"AArch64TargetLowering",
"::",
"shouldSinkOperands",
"(",
"Instruction",
"*",
"I",
",",
"SmallVectorImpl",
"<",
"Use",
"*",
">",
"&",
"Ops",
")",
"const",
"{",
"if",
"(",
"!",
"I",
"->",
"getType",
"(",
")",
"->",
"isVectorTy",
"(",
")",
... | [
"Return",
"true",
"if",
"sinking",
"I",
"'s",
"operands",
"to",
"the",
"same",
"basic",
"block",
"as",
"I",
"is",
"profitable",
",",
"e.g",
"."
] | [
"AArch64",
"AArch64",
"Intrinsic::aarch64_neon_umull",
"0",
"1",
"0",
"1",
"Intrinsic::aarch64_neon_pmull64",
"0",
"1",
"0",
"1",
"0",
"1",
"0",
"1",
"0",
"0",
"0",
"1"
] | AArch64ISelLowering129 | shouldSinkOperands | AArch64 | CPU | LLVM | 11,764 | 332 | 1 | [] |
[
"<s>",
"void",
"Cpu0InstPrinter",
"::",
"printRegName",
"(",
"raw_ostream",
"&",
"OS",
",",
"unsigned",
"RegNo",
")",
"const",
"{",
"OS",
"<<",
"'$'",
"<<",
"StringRef",
"(",
"getRegisterName",
"(",
"RegNo",
")",
")",
".",
"lower",
"(",
")",
";",
"}",
... | [
"Print",
"the",
"assembler",
"register",
"name",
"."
] | [
"Cpu0",
"Cpu0"
] | Cpu0InstPrinter | printRegName | Cpu0 | CPU | LLVM | 11,765 | 31 | 1 | [] |
[
"<s>",
"bool",
"Z80oldTargetLowering",
"::",
"isLegalICmpImmediate",
"(",
"int64_t",
"Imm",
")",
"const",
"{",
"return",
"isInt",
"<",
"8",
">",
"(",
"Imm",
")",
";",
"}",
"</s>"
] | [
"Return",
"true",
"if",
"the",
"specified",
"immediate",
"is",
"legal",
"icmp",
"immediate",
",",
"that",
"is",
"the",
"target",
"has",
"icmp",
"instructions",
"which",
"can",
"compare",
"a",
"register",
"against",
"the",
"immediate",
"without",
"having",
"to"... | [
"Z80old",
"Z80old",
"8"
] | Z80oldISelLowering | isLegalICmpImmediate | Z80old | MPU | LLVM | 11,766 | 20 | 1 | [] |
[
"<s>",
"bool",
"HexagonConstEvaluator",
"::",
"evaluate",
"(",
"const",
"MachineInstr",
"&",
"BrI",
",",
"const",
"CellMap",
"&",
"Inputs",
",",
"SetVector",
"<",
"const",
"MachineBasicBlock",
"*",
">",
"&",
"Targets",
",",
"bool",
"&",
"FallsThru",
")",
"{"... | [
"evaluate",
"-",
"Evaluate",
"Expr",
"and",
"append",
"the",
"resulting",
"set",
"to",
"Elts",
"."
] | [
"Hexagon",
"Hexagon",
"Hexagon::J2_jumpf",
"Hexagon::J2_jumpfnew",
"Hexagon::J2_jumpfnewpt",
"Hexagon::J2_jumpt",
"Hexagon::J2_jumptnew",
"Hexagon::J2_jumptnewpt",
"Hexagon::J2_jump",
"0",
"0",
"1"
] | HexagonConstPropagation1 | evaluate | Hexagon | DSP | LLVM | 11,767 | 332 | 1 | [] |
[
"<s>",
"static",
"bool",
"rs6000_debug_secondary_memory_needed",
"(",
"enum",
"reg_class",
"from_class",
",",
"enum",
"reg_class",
"to_class",
",",
"machine_mode",
"mode",
")",
"{",
"bool",
"ret",
"=",
"rs6000_secondary_memory_needed",
"(",
"from_class",
",",
"to_clas... | [
"Debug",
"version",
"of",
"rs6000_secondary_memory_needed",
"."
] | [
"rs6000",
"\"rs6000_secondary_memory_needed, return: %s, from_class = %s, \"",
"\"to_class = %s, mode = %s\\n\"",
"\"true\"",
"\"false\""
] | rs60004 | rs6000_debug_secondary_memory_needed | rs6000 | CPU | GCC | 11,768 | 61 | 1 | [] |
[
"<s>",
"bool",
"isToken",
"(",
")",
"const",
"{",
"return",
"Kind",
"==",
"k_Token",
";",
"}",
"</s>"
] | [
"isToken",
"-",
"Is",
"this",
"a",
"token",
"operand",
"?"
] | [
"FISC"
] | FISCAsmParser | isToken | FISC | CPU | LLVM | 11,769 | 12 | 1 | [] |
[
"<s>",
"int",
"arm_const_double_inline_cost",
"(",
"rtx",
"val",
")",
"{",
"rtx",
"lowpart",
",",
"highpart",
";",
"enum",
"machine_mode",
"mode",
";",
"mode",
"=",
"GET_MODE",
"(",
"val",
")",
";",
"if",
"(",
"mode",
"==",
"VOIDmode",
")",
"mode",
"=",
... | [
"Return",
"the",
"cost",
"of",
"synthesizing",
"a",
"64-bit",
"constant",
"VAL",
"inline",
".",
"Returns",
"the",
"number",
"of",
"insns",
"needed",
",",
"or",
"99",
"if",
"we",
"do",
"n't",
"know",
"how",
"to",
"do",
"it",
"."
] | [
"arm",
"8",
"0",
"0",
"0",
"0"
] | arm3 | arm_const_double_inline_cost | arm | CPU | GCC | 11,770 | 131 | 1 | [] |
[
"<s>",
"static",
"unsigned",
"riscv_save_libcall_count",
"(",
"unsigned",
"mask",
")",
"{",
"for",
"(",
"unsigned",
"n",
"=",
"GP_REG_LAST",
";",
"n",
">",
"GP_REG_FIRST",
";",
"n",
"--",
")",
"if",
"(",
"BITSET_P",
"(",
"mask",
",",
"n",
")",
")",
"re... | [
"Determine",
"which",
"GPR",
"save/restore",
"routine",
"to",
"call",
"."
] | [
"riscv",
"1"
] | riscv | riscv_save_libcall_count | riscv | CPU | GCC | 11,771 | 44 | 1 | [] |
[
"<s>",
"bool",
"SPIRVPreTranslationLegalizer",
"::",
"runOnModule",
"(",
"Module",
"&",
"M",
")",
"{",
"std",
"::",
"vector",
"<",
"Function",
"*",
">",
"FuncsWorklist",
";",
"bool",
"Changed",
"=",
"false",
";",
"for",
"(",
"auto",
"&",
"F",
":",
"M",
... | [
"runOnModule",
"-",
"Virtual",
"method",
"overriden",
"by",
"subclasses",
"to",
"process",
"the",
"module",
"being",
"operated",
"on",
"."
] | [
"SPIRV",
"SPIRV"
] | SPIRVPreTranslationLegalizer | runOnModule | SPIRV | Virtual ISA | LLVM | 11,772 | 96 | 1 | [] |
[
"<s>",
"bool",
"TPCTargetLowering",
"::",
"isLegalAddressingMode",
"(",
"const",
"DataLayout",
"&",
"DL",
",",
"const",
"AddrMode",
"&",
"AM",
",",
"Type",
"*",
"Ty",
",",
"unsigned",
"AddrSpace",
",",
"Instruction",
"*",
"I",
")",
"const",
"{",
"if",
"(",... | [
"isLegalAddressingMode",
"-",
"Return",
"true",
"if",
"the",
"addressing",
"mode",
"represented",
"by",
"AM",
"is",
"legal",
"for",
"this",
"target",
",",
"for",
"a",
"load/store",
"of",
"the",
"specified",
"type",
"."
] | [
"TPC",
"TPC",
"0",
"1",
"TPC::FeatureAddr2",
"2",
"TPC::FeatureAddr2"
] | TPCISelLowering | isLegalAddressingMode | TPC | Virtual ISA | LLVM | 11,773 | 143 | 1 | [] |
[
"<s>",
"void",
"ix86_expand_trunc",
"(",
"rtx",
"operand0",
",",
"rtx",
"operand1",
")",
"{",
"machine_mode",
"mode",
"=",
"GET_MODE",
"(",
"operand0",
")",
";",
"rtx",
"xa",
",",
"xi",
",",
"TWO52",
",",
"res",
",",
"mask",
";",
"rtx_code_label",
"*",
... | [
"Expand",
"SSE",
"sequence",
"for",
"computing",
"trunc",
"from",
"OPERAND1",
"storing",
"into",
"OPERAND0",
"."
] | [
"i386",
"0",
"0",
"1"
] | i386-expand | ix86_expand_trunc | i386 | CPU | GCC | 11,774 | 147 | 1 | [] |
[
"<s>",
"static",
"bool",
"pru_can_eliminate",
"(",
"const",
"int",
"from",
"ATTRIBUTE_UNUSED",
",",
"const",
"int",
"to",
")",
"{",
"if",
"(",
"to",
"==",
"STACK_POINTER_REGNUM",
")",
"return",
"!",
"frame_pointer_needed",
";",
"return",
"true",
";",
"}",
"<... | [
"Implement",
"TARGET_CAN_ELIMINATE",
"."
] | [
"pru"
] | pru | pru_can_eliminate | pru | CPU | GCC | 11,775 | 28 | 1 | [] |
[
"<s>",
"bool",
"mprocInstrInfo",
"::",
"isUnpredicatedTerminator",
"(",
"const",
"MachineInstr",
"*",
"MI",
")",
"const",
"{",
"if",
"(",
"!",
"MI",
"->",
"isTerminator",
"(",
")",
")",
"return",
"false",
";",
"if",
"(",
"MI",
"->",
"isBranch",
"(",
")",... | [
"Returns",
"true",
"if",
"the",
"instruction",
"is",
"a",
"terminator",
"instruction",
"that",
"has",
"not",
"been",
"predicated",
"."
] | [
"mproc",
"mproc"
] | mprocInstrInfo | isUnpredicatedTerminator | mproc | Virtual ISA | LLVM | 11,776 | 62 | 1 | [] |
[
"<s>",
"static",
"int",
"write_arg_type",
"(",
"std",
"::",
"stringstream",
"&",
"s",
",",
"int",
"for_reg",
",",
"int",
"argno",
",",
"tree",
"type",
",",
"bool",
"prototyped",
")",
"{",
"machine_mode",
"mode",
"=",
"TYPE_MODE",
"(",
"type",
")",
";",
... | [
"Process",
"function",
"parameter",
"TYPE",
"to",
"emit",
"one",
"or",
"more",
"PTX",
"arguments",
".",
"S",
",",
"FOR_REG",
"and",
"ARGNO",
"as",
"for",
"write_arg_mode",
".",
"PROTOTYPED",
"is",
"true",
",",
"if",
"this",
"is",
"a",
"prototyped",
"functi... | [
"nvptx"
] | nvptx | write_arg_type | nvptx | GPU | GCC | 11,777 | 131 | 1 | [] |
[
"<s>",
"unsigned",
"TPCAsmBackend",
"::",
"getNumFixupKinds",
"(",
")",
"const",
"{",
"return",
"TPC",
"::",
"NumTargetFixupKinds",
";",
"}",
"</s>"
] | [
"Get",
"the",
"number",
"of",
"target",
"specific",
"fixup",
"kinds",
"."
] | [
"TPC",
"TPC",
"TPC::NumTargetFixupKinds"
] | TPCAsmBackend | getNumFixupKinds | TPC | Virtual ISA | LLVM | 11,778 | 14 | 1 | [] |
[
"<s>",
"bool",
"R600InstrInfo",
"::",
"PredicateInstruction",
"(",
"MachineInstr",
"&",
"MI",
",",
"ArrayRef",
"<",
"MachineOperand",
">",
"Pred",
")",
"const",
"{",
"int",
"PIdx",
"=",
"MI",
".",
"findFirstPredOperandIdx",
"(",
")",
";",
"if",
"(",
"MI",
... | [
"Convert",
"the",
"instruction",
"into",
"a",
"predicated",
"instruction",
"."
] | [
"AMDGPU",
"R600",
"AMDGPU::CF_ALU",
"8",
"0",
"AMDGPU::DOT_4",
"AMDGPU::OpName",
"2",
"AMDGPU::OpName",
"2",
"AMDGPU::OpName",
"2",
"AMDGPU::OpName",
"2",
"AMDGPU::PREDICATE_BIT",
"1",
"2",
"AMDGPU::PREDICATE_BIT"
] | R600InstrInfo10 | PredicateInstruction | AMDGPU | GPU | LLVM | 11,779 | 285 | 1 | [] |
[
"<s>",
"void",
"nvptx_expand_oacc_fork",
"(",
"unsigned",
"mode",
")",
"{",
"nvptx_emit_forking",
"(",
"GOMP_DIM_MASK",
"(",
"mode",
")",
",",
"false",
")",
";",
"}",
"</s>"
] | [
"Expand",
"the",
"oacc",
"fork",
"&",
"join",
"primitive",
"into",
"ptx-required",
"unspecs",
"."
] | [
"nvptx"
] | nvptx | nvptx_expand_oacc_fork | nvptx | GPU | GCC | 11,780 | 18 | 1 | [] |
[
"<s>",
"bool",
"isPredicate",
"(",
")",
"const",
"{",
"return",
"Kind",
"==",
"OpKind",
"::",
"Predicate",
";",
"}",
"</s>"
] | [
"Set",
"if",
"this",
"is",
"one",
"of",
"the",
"operands",
"that",
"made",
"up",
"of",
"the",
"predicate",
"operand",
"that",
"controls",
"an",
"isPredicable",
"(",
")",
"instruction",
"."
] | [
"TPC"
] | TPCAsmParser | isPredicate | TPC | Virtual ISA | LLVM | 11,781 | 14 | 1 | [] |
[
"<s>",
"rtx",
"alpha_emit_setcc",
"(",
"enum",
"rtx_code",
"code",
")",
"{",
"enum",
"rtx_code",
"cmp_code",
";",
"rtx",
"op0",
"=",
"alpha_compare",
".",
"op0",
",",
"op1",
"=",
"alpha_compare",
".",
"op1",
";",
"int",
"fp_p",
"=",
"alpha_compare",
".",
... | [
"Certain",
"simplifications",
"can",
"be",
"done",
"to",
"make",
"invalid",
"setcc",
"operations",
"valid",
".",
"Return",
"the",
"final",
"comparison",
",",
"or",
"NULL",
"if",
"we",
"ca",
"n't",
"work",
"."
] | [
"alpha",
"0",
"0"
] | alpha3 | alpha_emit_setcc | alpha | MPU | GCC | 11,782 | 346 | 1 | [] |
[
"<s>",
"void",
"split_subsi",
"(",
"rtx",
"*",
"operands",
")",
"{",
"int",
"val",
"=",
"INTVAL",
"(",
"operands",
"[",
"1",
"]",
")",
";",
"if",
"(",
"satisfies_constraint_Rcq",
"(",
"operands",
"[",
"0",
"]",
")",
"&&",
"satisfies_constraint_Rcq",
"(",... | [
"Operands",
"0",
"..",
"2",
"are",
"the",
"operands",
"of",
"a",
"subsi",
"which",
"uses",
"a",
"12",
"bit",
"constant",
"in",
"operand",
"1",
",",
"but",
"which",
"would",
"require",
"a",
"LIMM",
"because",
"of",
"operand",
"mismatch",
".",
"operands",
... | [
"arc",
"1",
"0",
"2",
"31",
"127",
"3",
"2",
"4",
"0",
"1",
"0",
"255",
"3",
"1",
"4",
"0",
"2",
"3",
"2",
"4",
"1",
"0"
] | arc | split_subsi | arc | MPU | GCC | 11,783 | 165 | 1 | [] |
[
"<s>",
"static",
"bool",
"nds32_legitimate_index_p",
"(",
"machine_mode",
"outer_mode",
",",
"rtx",
"index",
",",
"bool",
"strict",
")",
"{",
"int",
"regno",
";",
"rtx",
"op0",
";",
"rtx",
"op1",
";",
"switch",
"(",
"GET_CODE",
"(",
"index",
")",
")",
"{... | [
"Function",
"that",
"check",
"if",
"'INDEX",
"'",
"is",
"valid",
"to",
"be",
"a",
"index",
"rtx",
"for",
"address",
".",
"OUTER_MODE",
":",
"Machine",
"mode",
"of",
"outer",
"address",
"rtx",
".",
"INDEX",
":",
"Check",
"if",
"this",
"rtx",
"is",
"vali... | [
"nds32",
"1",
"2",
"4",
"8",
"4",
"0",
"1",
"1",
"2",
"4",
"8",
"0",
"1",
"0",
"1",
"2",
"3"
] | nds32 | nds32_legitimate_index_p | nds32 | CPU | GCC | 11,784 | 449 | 1 | [] |
[
"<s>",
"static",
"void",
"s390_encode_section_info",
"(",
"tree",
"decl",
",",
"rtx",
"rtl",
",",
"int",
"first",
")",
"{",
"default_encode_section_info",
"(",
"decl",
",",
"rtl",
",",
"first",
")",
";",
"if",
"(",
"TREE_CODE",
"(",
"decl",
")",
"==",
"V... | [
"Encode",
"symbol",
"attributes",
"(",
"local",
"vs.",
"global",
",",
"tls",
"model",
")",
"of",
"a",
"SYMBOL_REF",
"into",
"its",
"SYMBOL_REF_FLAGS",
"."
] | [
"s390",
"16",
"0",
"64",
"0",
"0",
"0",
"0",
"0",
"0"
] | s3904 | s390_encode_section_info | s390 | MPU | GCC | 11,785 | 191 | 1 | [] |
[
"<s>",
"bool",
"PPCRegisterInfo",
"::",
"hasReservedSpillSlot",
"(",
"const",
"MachineFunction",
"&",
"MF",
",",
"unsigned",
"Reg",
",",
"int",
"&",
"FrameIdx",
")",
"const",
"{",
"const",
"PPCSubtarget",
"&",
"Subtarget",
"=",
"MF",
".",
"getSubtarget",
"<",
... | [
"Return",
"true",
"if",
"target",
"has",
"reserved",
"a",
"spill",
"slot",
"in",
"the",
"stack",
"frame",
"of",
"the",
"given",
"function",
"for",
"the",
"specified",
"register",
"."
] | [
"PowerPC",
"PPC",
"PPC",
"PPC",
"PPC::CR2",
"PPC::CR4",
"PPC",
"0",
"PPC",
"PPC"
] | PPCRegisterInfo (2)1 | hasReservedSpillSlot | PowerPC | CPU | LLVM | 11,786 | 99 | 1 | [] |
[
"<s>",
"rtx",
"function_expander",
"::",
"use_vcond_mask_insn",
"(",
"insn_code",
"icode",
",",
"unsigned",
"int",
"merge_argno",
")",
"{",
"machine_mode",
"mode",
"=",
"vector_mode",
"(",
"0",
")",
";",
"unsigned",
"int",
"opno",
"=",
"0",
";",
"rtx",
"fals... | [
"Implement",
"the",
"call",
"using",
"instruction",
"ICODE",
",",
"which",
"is",
"a",
"select-like",
"operation",
"with",
"the",
"following",
"operands",
":",
"0",
":",
"output",
"1",
":",
"true",
"value",
"2",
":",
"false",
"value",
"3",
":",
"predicate",... | [
"aarch64",
"0",
"0",
"1"
] | aarch64-sve-builtins | use_vcond_mask_insn | aarch64 | CPU | GCC | 11,787 | 92 | 1 | [] |
[
"<s>",
"TargetPassConfig",
"*",
"MipsTargetMachine",
"::",
"createPassConfig",
"(",
"PassManagerBase",
"&",
"PM",
")",
"{",
"return",
"new",
"MipsPassConfig",
"(",
"this",
",",
"PM",
")",
";",
"}",
"</s>"
] | [
"Create",
"a",
"pass",
"configuration",
"object",
"to",
"be",
"used",
"by",
"addPassToEmitX",
"methods",
"for",
"generating",
"a",
"pipeline",
"of",
"CodeGen",
"passes",
"."
] | [
"Mips",
"Mips",
"Mips"
] | MipsTargetMachine11 | createPassConfig | Mips | CPU | LLVM | 11,788 | 21 | 1 | [] |
[
"<s>",
"const",
"char",
"*",
"sh_symbian_strip_name_encoding",
"(",
"const",
"char",
"*",
"name",
")",
"{",
"int",
"skip",
";",
"while",
"(",
"(",
"skip",
"=",
"sh_symbian_get_strip_length",
"(",
"*",
"name",
")",
")",
")",
"name",
"+=",
"skip",
";",
"re... | [
"Return",
"a",
"pointer",
"to",
"a",
"function",
"'s",
"name",
"with",
"any",
"and",
"all",
"prefix",
"encodings",
"stripped",
"from",
"it",
"."
] | [
"sh"
] | symbian | sh_symbian_strip_name_encoding | sh | CPU | GCC | 11,789 | 34 | 1 | [] |
[
"<s>",
"bool",
"SIAnnotateControlFlow",
"::",
"runOnFunction",
"(",
"Function",
"&",
"F",
")",
"{",
"DT",
"=",
"&",
"getAnalysis",
"<",
"DominatorTree",
">",
"(",
")",
";",
"for",
"(",
"df_iterator",
"<",
"BasicBlock",
"*",
">",
"I",
"=",
"df_begin",
"("... | [
"runOnFunction",
"-",
"Virtual",
"method",
"overriden",
"by",
"subclasses",
"to",
"do",
"the",
"per-function",
"processing",
"of",
"the",
"pass",
"."
] | [
"R600",
"SI",
"1"
] | SIAnnotateControlFlow1 | runOnFunction | R600 | GPU | LLVM | 11,790 | 227 | 1 | [] |
[
"<s>",
"bool",
"pa_modes_tieable_p",
"(",
"machine_mode",
"mode1",
",",
"machine_mode",
"mode2",
")",
"{",
"if",
"(",
"GET_MODE_CLASS",
"(",
"mode1",
")",
"!=",
"GET_MODE_CLASS",
"(",
"mode2",
")",
")",
"return",
"false",
";",
"return",
"true",
";",
"}",
"... | [
"Returns",
"TRUE",
"if",
"it",
"is",
"a",
"good",
"idea",
"to",
"tie",
"two",
"pseudo",
"registers",
"when",
"one",
"has",
"mode",
"MODE1",
"and",
"one",
"has",
"mode",
"MODE2",
".",
"If",
"HARD_REGNO_MODE_OK",
"could",
"produce",
"different",
"values",
"f... | [
"pa"
] | pa4 | pa_modes_tieable_p | pa | CPU | GCC | 11,791 | 29 | 1 | [] |
[
"<s>",
"bool",
"Z80TargetLowering",
"::",
"isLegalAddressingMode",
"(",
"const",
"AddrMode",
"&",
"AM",
",",
"Type",
"*",
"Ty",
")",
"const",
"{",
"if",
"(",
"AM",
".",
"BaseGV",
")",
"return",
"false",
";",
"switch",
"(",
"AM",
".",
"Scale",
")",
"{",... | [
"isLegalAddressingMode",
"-",
"Return",
"true",
"if",
"the",
"addressing",
"mode",
"represented",
"by",
"AM",
"is",
"legal",
"for",
"this",
"target",
",",
"for",
"a",
"load/store",
"of",
"the",
"specified",
"type",
"."
] | [
"Z80",
"Z80",
"0",
"1"
] | Z80ISelLowering (2) | isLegalAddressingMode | Z80 | MPU | LLVM | 11,792 | 62 | 1 | [] |
[
"<s>",
"static",
"void",
"nios2_handle_custom_fpu_insn_option",
"(",
"int",
"fpu_insn_index",
")",
"{",
"int",
"param",
"=",
"N2FPU_N",
"(",
"fpu_insn_index",
")",
";",
"if",
"(",
"param",
">=",
"0",
"&&",
"param",
"<=",
"255",
")",
"nios2_register_custom_code",... | [
"Check",
"individual",
"FPU",
"insn",
"options",
",",
"and",
"register",
"custom",
"code",
"."
] | [
"nios2",
"0",
"255",
"1",
"\"switch %<-mcustom-%s%> value %d must be between 0 and 255\""
] | nios2 | nios2_handle_custom_fpu_insn_option | nios2 | MPU | GCC | 11,793 | 56 | 1 | [] |
[
"<s>",
"int",
"X86FrameLowering",
"::",
"getFrameIndexReference",
"(",
"const",
"MachineFunction",
"&",
"MF",
",",
"int",
"FI",
",",
"unsigned",
"&",
"FrameReg",
")",
"const",
"{",
"const",
"X86RegisterInfo",
"*",
"RegInfo",
"=",
"static_cast",
"<",
"const",
"... | [
"getFrameIndexReference",
"-",
"This",
"method",
"should",
"return",
"the",
"base",
"register",
"and",
"offset",
"used",
"to",
"reference",
"a",
"frame",
"index",
"location",
"."
] | [
"X86",
"X86",
"X86",
"X86"
] | X86FrameLowering (2) | getFrameIndexReference | X86 | CPU | LLVM | 11,794 | 96 | 1 | [] |
[
"<s>",
"tree",
"xstormy16_build_va_list",
"(",
")",
"{",
"tree",
"f_1",
",",
"f_2",
",",
"record",
",",
"type_decl",
";",
"record",
"=",
"make_lang_type",
"(",
"RECORD_TYPE",
")",
";",
"type_decl",
"=",
"build_decl",
"(",
"TYPE_DECL",
",",
"get_identifier",
... | [
"Build",
"the",
"va_list",
"type",
".",
"For",
"this",
"chip",
",",
"va_list",
"is",
"a",
"record",
"containing",
"a",
"counter",
"and",
"a",
"pointer",
".",
"The",
"counter",
"is",
"of",
"type",
"'int",
"'",
"and",
"indicates",
"how",
"many",
"bytes",
... | [
"stormy16",
"\"__va_list_tag\"",
"\"base\"",
"\"count\""
] | stormy162 | xstormy16_build_va_list | stormy16 | CPU | GCC | 11,795 | 114 | 1 | [] |
[
"<s>",
"unsigned",
"getReg",
"(",
")",
"const",
"override",
"{",
"assert",
"(",
"(",
"Kind",
"==",
"k_Register",
"||",
"Kind",
"==",
"k_CCOut",
")",
"&&",
"\"Invalid access!\"",
")",
";",
"return",
"Reg",
".",
"RegNum",
";",
"}",
"</s>"
] | [
"Returns",
"the",
"register",
"associated",
"with",
"this",
"edge",
"."
] | [
"ARM",
"\"Invalid access!\""
] | ARMAsmParser (2) | getReg | ARM | CPU | LLVM | 11,796 | 28 | 1 | [] |
[
"<s>",
"tree",
"s390_valid_target_attribute_tree",
"(",
"tree",
"args",
",",
"struct",
"gcc_options",
"*",
"opts",
",",
"const",
"struct",
"gcc_options",
"*",
"opts_set",
",",
"bool",
"force_pragma",
")",
"{",
"tree",
"t",
"=",
"NULL_TREE",
";",
"struct",
"gcc... | [
"Return",
"a",
"TARGET_OPTION_NODE",
"tree",
"of",
"the",
"target",
"options",
"listed",
"or",
"NULL",
"."
] | [
"s390",
"0",
"0"
] | s3905 | s390_valid_target_attribute_tree | s390 | MPU | GCC | 11,797 | 176 | 1 | [] |
[
"<s>",
"bool",
"X86AsmBackend",
"::",
"writeNopData",
"(",
"uint64_t",
"Count",
",",
"MCObjectWriter",
"*",
"OW",
")",
"const",
"{",
"static",
"const",
"uint8_t",
"Nops",
"[",
"10",
"]",
"[",
"10",
"]",
"=",
"{",
"{",
"0x90",
"}",
",",
"{",
"0x66",
"... | [
"Write",
"an",
"(",
"optimal",
")",
"nop",
"sequence",
"of",
"Count",
"bytes",
"to",
"the",
"given",
"output",
"."
] | [
"X86",
"X86",
"10",
"10",
"0x90",
"0x66",
"0x90",
"0x0f",
"0x1f",
"0x00",
"0x0f",
"0x1f",
"0x40",
"0x00",
"0x0f",
"0x1f",
"0x44",
"0x00",
"0x00",
"0x66",
"0x0f",
"0x1f",
"0x44",
"0x00",
"0x00",
"0x0f",
"0x1f",
"0x80",
"0x00",
"0x00",
"0x00",
"0x00",
"0... | X86AsmBackend (2) | writeNopData | X86 | CPU | LLVM | 11,798 | 295 | 1 | [] |
[
"<s>",
"static",
"void",
"arm_sched_fusion_priority",
"(",
"rtx_insn",
"*",
"insn",
",",
"int",
"max_pri",
",",
"int",
"*",
"fusion_pri",
",",
"int",
"*",
"pri",
")",
"{",
"int",
"tmp",
",",
"off_val",
";",
"bool",
"is_load",
";",
"rtx",
"base",
",",
"... | [
"Implement",
"the",
"TARGET_SCHED_FUSION_PRIORITY",
"hook",
".",
"Currently",
"we",
"only",
"support",
"to",
"fuse",
"ldr",
"or",
"str",
"instructions",
",",
"so",
"FUSION_PRI",
"and",
"PRI",
"are",
"only",
"calculated",
"for",
"these",
"instructions",
".",
"For... | [
"arm",
"1",
"1",
"2",
"2",
"0xff",
"20",
"0",
"0xfffff",
"0xfffff"
] | arm | arm_sched_fusion_priority | arm | CPU | GCC | 11,799 | 162 | 1 | [] |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.