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>",
"bool",
"ARCExpandPseudos",
"::",
"runOnMachineFunction",
"(",
"MachineFunction",
"&",
"MF",
")",
"{",
"const",
"ARCSubtarget",
"*",
"STI",
"=",
"&",
"MF",
".",
"getSubtarget",
"<",
"ARCSubtarget",
">",
"(",
")",
";",
"TII",
"=",
"STI",
"->",
"getIn... | [
"runOnMachineFunction",
"-",
"Emit",
"the",
"function",
"body",
"."
] | [
"ARC",
"ARC",
"ARC",
"ARC",
"ARC::ST_FAR",
"ARC::STH_FAR",
"ARC::STB_FAR"
] | ARCExpandPseudos | runOnMachineFunction | ARC | MPU | LLVM | 19,100 | 137 | 1 | [] |
[
"<s>",
"SDNode",
"*",
"NVPTXDAGToDAGISel",
"::",
"Select",
"(",
"SDNode",
"*",
"N",
")",
"{",
"if",
"(",
"N",
"->",
"isMachineOpcode",
"(",
")",
")",
"{",
"N",
"->",
"setNodeId",
"(",
"-",
"1",
")",
";",
"return",
"NULL",
";",
"}",
"SDNode",
"*",
... | [
"Main",
"hook",
"for",
"targets",
"to",
"transform",
"nodes",
"into",
"machine",
"nodes",
"."
] | [
"NVPTX",
"NVPTX",
"1",
"ISD::LOAD",
"ISD::STORE",
"NVPTXISD::LoadV2",
"NVPTXISD::LoadV4",
"NVPTXISD::LDGV2",
"NVPTXISD::LDGV4",
"NVPTXISD::LDUV2",
"NVPTXISD::LDUV4",
"NVPTXISD::StoreV2",
"NVPTXISD::StoreV4",
"NVPTXISD::LoadParam",
"NVPTXISD::LoadParamV2",
"NVPTXISD::LoadParamV4",
"NV... | NVPTXISelDAGToDAG14 | Select | NVPTX | GPU | LLVM | 19,101 | 243 | 1 | [] |
[
"<s>",
"static",
"bool",
"arc_can_follow_jump",
"(",
"const",
"rtx_insn",
"*",
"follower",
",",
"const",
"rtx_insn",
"*",
"followee",
")",
"{",
"union",
"{",
"const",
"rtx_insn",
"*",
"c",
";",
"rtx_insn",
"*",
"r",
";",
"}",
"u",
";",
"u",
".",
"c",
... | [
"Without",
"this",
",",
"gcc.dg/tree-prof/bb-reorg.c",
"fails",
"to",
"assemble",
"when",
"compiling",
"with",
"-O2",
"-freorder-blocks-and-partition",
"-fprofile-use",
"-D_PROFILE_USE",
";",
"delay",
"branch",
"scheduling",
"then",
"follows",
"a",
"crossing",
"jump",
"... | [
"arc"
] | arc4 | arc_can_follow_jump | arc | MPU | GCC | 19,102 | 71 | 1 | [] |
[
"<s>",
"static",
"bool",
"predicate_insn",
"(",
"rtx_insn",
"*",
"insn",
",",
"rtx",
"cond",
",",
"bool",
"doit",
")",
"{",
"int",
"icode",
";",
"if",
"(",
"cond",
"==",
"NULL_RTX",
")",
"{",
"gcc_assert",
"(",
"!",
"doit",
")",
";",
"return",
"false... | [
"Return",
"true",
"if",
"we",
"can",
"add",
"a",
"predicate",
"COND",
"to",
"INSN",
",",
"or",
"if",
"INSN",
"already",
"has",
"that",
"predicate",
".",
"If",
"DOIT",
"is",
"true",
",",
"also",
"perform",
"the",
"modification",
"."
] | [
"c6x",
"1",
"0",
"0",
"0",
"0",
"1",
"0",
"0"
] | c6x | predicate_insn | c6x | VLIW | GCC | 19,103 | 337 | 1 | [] |
[
"<s>",
"void",
"VEInstrInfo",
"::",
"copyPhysReg",
"(",
"MachineBasicBlock",
"&",
"MBB",
",",
"MachineBasicBlock",
"::",
"iterator",
"I",
",",
"const",
"DebugLoc",
"&",
"DL",
",",
"MCRegister",
"DestReg",
",",
"MCRegister",
"SrcReg",
",",
"bool",
"KillSrc",
")... | [
"}",
"Branch",
"Analysis",
"&",
"Modification"
] | [
"VE",
"VE",
"VE::ORri",
"0",
"\"Impossible reg-to-reg copy from \"",
"\" to \"",
"\"\\n\"",
"\"Impossible reg-to-reg copy\""
] | VEInstrInfo1 | copyPhysReg | VE | CPU | LLVM | 19,104 | 120 | 1 | [] |
[
"<s>",
"static",
"int",
"write_defines_file",
"(",
"void",
")",
"{",
"fprintf",
"(",
"defines_file",
",",
"\"#ifndef _RS6000_VECDEFINES_H\\n\"",
")",
";",
"fprintf",
"(",
"defines_file",
",",
"\"#define _RS6000_VECDEFINES_H 1\\n\\n\"",
")",
";",
"fprintf",
"(",
"defin... | [
"Write",
"everything",
"to",
"the",
"include",
"file",
"(",
"rs6000-vecdefines.h",
")",
".",
"Return",
"1",
"if",
"successful",
",",
"0",
"otherwise",
"."
] | [
"rs6000",
"\"#ifndef _RS6000_VECDEFINES_H\\n\"",
"\"#define _RS6000_VECDEFINES_H 1\\n\\n\"",
"\"#if defined(_ARCH_PPC64) && defined (_ARCH_PWR9)\\n\"",
"\" #define _ARCH_PPC64_PWR9 1\\n\"",
"\"#endif\\n\\n\"",
"0",
"\"SKIP\"",
"\"#ifdef %s\\n\"",
"\"#define %s %s\\n\"",
"\"#endif\\n\"",
"\"\\... | rs6000-gen-builtins | write_defines_file | rs6000 | CPU | GCC | 19,105 | 143 | 1 | [] |
[
"<s>",
"int",
"xstormy16_extra_constraint_p",
"(",
"rtx",
"x",
",",
"int",
"c",
")",
"{",
"switch",
"(",
"c",
")",
"{",
"case",
"'Q'",
":",
"return",
"(",
"GET_CODE",
"(",
"x",
")",
"==",
"MEM",
"&&",
"GET_CODE",
"(",
"XEXP",
"(",
"x",
",",
"0",
... | [
"A",
"C",
"expression",
"that",
"defines",
"the",
"optional",
"machine-dependent",
"constraint",
"letters",
"(",
"`",
"Q",
"'",
",",
"`",
"R",
"'",
",",
"`",
"S",
"'",
",",
"`",
"T",
"'",
",",
"`",
"U",
"'",
")",
"that",
"can",
"be",
"used",
"to"... | [
"stormy16",
"0",
"0",
"0",
"0",
"0",
"0",
"0",
"0",
"0",
"0",
"2",
"15",
"0",
"0"
] | stormy163 | xstormy16_extra_constraint_p | stormy16 | CPU | GCC | 19,106 | 210 | 1 | [] |
[
"<s>",
"unsigned",
"ARMRegisterInfo",
"::",
"getRARegister",
"(",
")",
"const",
"{",
"return",
"ARM",
"::",
"LR",
";",
"}",
"</s>"
] | [
"This",
"method",
"should",
"return",
"the",
"register",
"where",
"the",
"return",
"address",
"can",
"be",
"found",
"."
] | [
"ARM",
"ARM",
"ARM::LR"
] | ARMRegisterInfo13 | getRARegister | ARM | CPU | LLVM | 19,107 | 14 | 1 | [] |
[
"<s>",
"bool",
"isImm",
"(",
")",
"const",
"{",
"return",
"Kind",
"==",
"Immediate",
";",
"}",
"</s>"
] | [
"isImm",
"-",
"Is",
"this",
"an",
"immediate",
"operand",
"?"
] | [
"Hexagon"
] | HexagonAsmParser (2) | isImm | Hexagon | DSP | LLVM | 19,108 | 12 | 1 | [] |
[
"<s>",
"static",
"void",
"reorder_var_tracking_notes",
"(",
"void",
")",
"{",
"basic_block",
"bb",
";",
"FOR_EACH_BB_FN",
"(",
"bb",
",",
"cfun",
")",
"{",
"rtx_insn",
"*",
"insn",
",",
"*",
"next",
";",
"rtx_insn",
"*",
"queue",
"=",
"NULL",
";",
"bool"... | [
"Ensure",
"that",
"no",
"var",
"tracking",
"notes",
"are",
"emitted",
"in",
"the",
"middle",
"of",
"a",
"three-instruction",
"bundle",
"."
] | [
"tilegx"
] | tilegx | reorder_var_tracking_notes | tilegx | VLIW | GCC | 19,109 | 214 | 1 | [] |
[
"<s>",
"bool",
"X86IndirectBranchTrackingPass",
"::",
"runOnMachineFunction",
"(",
"MachineFunction",
"&",
"MF",
")",
"{",
"const",
"X86Subtarget",
"&",
"SubTarget",
"=",
"MF",
".",
"getSubtarget",
"<",
"X86Subtarget",
">",
"(",
")",
";",
"if",
"(",
"!",
"SubT... | [
"runOnMachineFunction",
"-",
"Emit",
"the",
"function",
"body",
"."
] | [
"X86",
"X86",
"X86",
"X86",
"\"cf-protection-branch\"",
"X86::ENDBR64",
"X86::ENDBR32"
] | X86IndirectBranchTracking13 | runOnMachineFunction | X86 | CPU | LLVM | 19,110 | 177 | 1 | [] |
[
"<s>",
"void",
"SITypeRewriter",
"::",
"visitCallInst",
"(",
"CallInst",
"&",
"I",
")",
"{",
"IRBuilder",
"<",
">",
"Builder",
"(",
"&",
"I",
")",
";",
"SmallVector",
"<",
"Value",
"*",
",",
"8",
">",
"Args",
";",
"SmallVector",
"<",
"Type",
"*",
","... | [
"CallInst",
"simplification",
"."
] | [
"AMDGPU",
"SI",
"8",
"8",
"0",
"\".v4i32\"",
"1",
"\"i32\"",
"1",
"\"v1\""
] | SITypeRewriter10 | visitCallInst | AMDGPU | GPU | LLVM | 19,111 | 386 | 1 | [] |
[
"<s>",
"const",
"MCFixupKindInfo",
"&",
"OR1KAsmBackend",
"::",
"getFixupKindInfo",
"(",
"MCFixupKind",
"Kind",
")",
"const",
"{",
"const",
"static",
"MCFixupKindInfo",
"Infos",
"[",
"OR1K",
"::",
"NumTargetFixupKinds",
"]",
"=",
"{",
"{",
"\"fixup_OR1K_NONE\"",
"... | [
"Get",
"information",
"on",
"a",
"fixup",
"kind",
"."
] | [
"OR1K",
"OR1K",
"OR1K::NumTargetFixupKinds",
"\"fixup_OR1K_NONE\"",
"0",
"32",
"0",
"\"fixup_OR1K_32\"",
"0",
"32",
"0",
"\"fixup_OR1K_16\"",
"16",
"16",
"0",
"\"fixup_OR1K_8\"",
"24",
"8",
"0",
"\"fixup_OR1K_LO16_INSN\"",
"16",
"16",
"0",
"\"fixup_OR1K_HI16_INSN\"",
... | OR1KAsmBackend1 | getFixupKindInfo | OR1K | CPU | LLVM | 19,112 | 273 | 1 | [] |
[
"<s>",
"bool",
"ARMBaseInstrInfo",
"::",
"areLoadsFromSameBasePtr",
"(",
"SDNode",
"*",
"Load1",
",",
"SDNode",
"*",
"Load2",
",",
"int64_t",
"&",
"Offset1",
",",
"int64_t",
"&",
"Offset2",
")",
"const",
"{",
"if",
"(",
"Subtarget",
".",
"isThumb1Only",
"(",... | [
"areLoadsFromSameBasePtr",
"-",
"This",
"is",
"used",
"by",
"the",
"pre-regalloc",
"scheduler",
"to",
"determine",
"if",
"two",
"loads",
"are",
"loading",
"from",
"the",
"same",
"base",
"address",
"."
] | [
"ARM",
"ARM",
"ARM::LDRi12",
"ARM::LDRBi12",
"ARM::LDRD",
"ARM::LDRH",
"ARM::LDRSB",
"ARM::LDRSH",
"ARM::VLDRD",
"ARM::VLDRS",
"ARM::t2LDRi8",
"ARM::t2LDRBi8",
"ARM::t2LDRDi8",
"ARM::t2LDRSHi8",
"ARM::t2LDRi12",
"ARM::t2LDRBi12",
"ARM::t2LDRSHi12",
"ARM::LDRi12",
"ARM::LDRBi12",
... | ARMBaseInstrInfo (2) | areLoadsFromSameBasePtr | ARM | CPU | LLVM | 19,113 | 359 | 1 | [] |
[
"<s>",
"void",
"s390_expand_split_stack_prologue",
"(",
"void",
")",
"{",
"rtx",
"r1",
",",
"guard",
",",
"cc",
"=",
"NULL",
";",
"rtx_insn",
"*",
"insn",
";",
"int",
"psso",
"=",
"TARGET_64BIT",
"?",
"0x38",
":",
"0x20",
";",
"HOST_WIDE_INT",
"frame_size"... | [
"Emit",
"-fsplit-stack",
"prologue",
",",
"which",
"goes",
"before",
"the",
"regular",
"function",
"prologue",
"."
] | [
"s390",
"0x38",
"0x20",
"0",
"7",
"7",
"0",
"1",
"\"__morestack\""
] | s3908 | s390_expand_split_stack_prologue | s390 | MPU | GCC | 19,114 | 485 | 1 | [] |
[
"<s>",
"unsigned",
"HexagonMCInstrInfo",
"::",
"getType",
"(",
"MCInstrInfo",
"const",
"&",
"MCII",
",",
"MCInst",
"const",
"&",
"MCI",
")",
"{",
"const",
"uint64_t",
"F",
"=",
"MCII",
".",
"get",
"(",
"MCI",
".",
"getOpcode",
"(",
")",
")",
".",
"TSFl... | [
"Overload",
"to",
"return",
"most",
"specific",
"vector",
"type",
"."
] | [
"Hexagon",
"Hexagon",
"HexagonII::TypePos",
"HexagonII::TypeMask"
] | HexagonMCInstrInfo (2)1 | getType | Hexagon | DSP | LLVM | 19,115 | 49 | 1 | [] |
[
"<s>",
"bool",
"ARMAsmPrinter",
"::",
"runOnMachineFunction",
"(",
"MachineFunction",
"&",
"MF",
")",
"{",
"this",
"->",
"MF",
"=",
"&",
"MF",
";",
"AFI",
"=",
"MF",
".",
"getInfo",
"<",
"ARMFunctionInfo",
">",
"(",
")",
";",
"MCP",
"=",
"MF",
".",
"... | [
"runOnMachineFunction",
"-",
"Emit",
"the",
"function",
"body",
"."
] | [
"ARM",
"ARM",
"ARM",
"\"\\n\"",
"\"Unknown linkage type!\"",
"\"\\t.globl\\t\"",
"\"\\n\"",
"\"\\t.globl\\t\"",
"\"\\n\"",
"\"\\t.weak_definition\\t\"",
"\"\\n\"",
"\"\\n\"",
"\"\\t.code\\t16\\n\"",
"\"\\t.thumb_func\"",
"\"\\t\"",
"\"\\n\"",
"\":\\n\"",
"\"\\tnop\\n\"",
"\"\\t.s... | ARMAsmPrinter20 | runOnMachineFunction | ARM | CPU | LLVM | 19,116 | 456 | 1 | [] |
[
"<s>",
"static",
"bool",
"ix86_function_ok_for_sibcall",
"(",
"tree",
"decl",
",",
"tree",
"exp",
")",
"{",
"tree",
"type",
",",
"decl_or_type",
";",
"rtx",
"a",
",",
"b",
";",
"bool",
"bind_global",
"=",
"decl",
"&&",
"!",
"targetm",
".",
"binds_local_p",... | [
"Decide",
"whether",
"we",
"can",
"make",
"a",
"sibling",
"call",
"to",
"a",
"function",
".",
"DECL",
"is",
"the",
"declaration",
"of",
"the",
"function",
"being",
"targeted",
"by",
"the",
"call",
"and",
"EXP",
"is",
"the",
"CALL_EXPR",
"representing",
"th... | [
"i386",
"\"inconsistent size of stack space\"",
"\" allocated for arguments which are\"",
"\" passed in registers\"",
"3"
] | i386 | ix86_function_ok_for_sibcall | i386 | CPU | GCC | 19,117 | 346 | 1 | [] |
[
"<s>",
"void",
"rs6000_gen_section_name",
"(",
"char",
"*",
"*",
"buf",
",",
"const",
"char",
"*",
"filename",
",",
"const",
"char",
"*",
"section_desc",
")",
"{",
"const",
"char",
"*",
"q",
",",
"*",
"after_last_slash",
",",
"*",
"last_period",
"=",
"0"... | [
"Generate",
"a",
"unique",
"section",
"name",
"for",
"FILENAME",
"for",
"a",
"section",
"type",
"represented",
"by",
"SECTION_DESC",
".",
"Output",
"goes",
"into",
"BUF",
".",
"SECTION_DESC",
"can",
"be",
"any",
"string",
",",
"as",
"long",
"as",
"it",
"is... | [
"rs6000",
"0",
"1",
"2",
"0"
] | rs6000 | rs6000_gen_section_name | rs6000 | CPU | GCC | 19,118 | 193 | 1 | [] |
[
"<s>",
"static",
"inline",
"rtx",
"s390_expand_mask_and_shift",
"(",
"rtx",
"val",
",",
"enum",
"machine_mode",
"mode",
",",
"rtx",
"count",
")",
"{",
"val",
"=",
"expand_simple_binop",
"(",
"SImode",
",",
"AND",
",",
"val",
",",
"GEN_INT",
"(",
"GET_MODE_MA... | [
"A",
"subroutine",
"of",
"s390_expand_cs_hqi",
"and",
"s390_expand_atomic",
"which",
"returns",
"a",
"register",
"that",
"holds",
"VAL",
"of",
"mode",
"MODE",
"shifted",
"by",
"COUNT",
"bits",
"."
] | [
"s390",
"1",
"1"
] | s3903 | s390_expand_mask_and_shift | s390 | MPU | GCC | 19,119 | 60 | 1 | [] |
[
"<s>",
"TargetTransformInfo",
"VETargetMachine",
"::",
"getTargetTransformInfo",
"(",
"const",
"Function",
"&",
"F",
")",
"const",
"{",
"return",
"TargetTransformInfo",
"(",
"VETTIImpl",
"(",
"this",
",",
"F",
")",
")",
";",
"}",
"</s>"
] | [
"Get",
"a",
"TargetTransformInfo",
"implementation",
"for",
"the",
"target",
"."
] | [
"VE",
"VE",
"VE"
] | VETargetMachine2 | getTargetTransformInfo | VE | CPU | LLVM | 19,120 | 24 | 1 | [] |
[
"<s>",
"void",
"RISCVPassConfig",
"::",
"addPreEmitPass",
"(",
")",
"{",
"addPass",
"(",
"&",
"BranchRelaxationPassID",
")",
";",
"addPass",
"(",
"createRISCVMakeCompressibleOptPass",
"(",
")",
")",
";",
"}",
"</s>"
] | [
"This",
"pass",
"may",
"be",
"implemented",
"by",
"targets",
"that",
"want",
"to",
"run",
"passes",
"immediately",
"before",
"machine",
"code",
"is",
"emitted",
"."
] | [
"RISCV",
"RISCV",
"RISCV"
] | RISCVTargetMachine20 | addPreEmitPass | RISCV | CPU | LLVM | 19,121 | 21 | 1 | [] |
[
"<s>",
"static",
"bool",
"isConstant",
"(",
"const",
"MachineOperand",
"&",
"MO",
",",
"int64_t",
"&",
"C",
")",
"{",
"const",
"MachineFunction",
"*",
"MF",
"=",
"MO",
".",
"getParent",
"(",
")",
"->",
"getParent",
"(",
")",
"->",
"getParent",
"(",
")"... | [
"Returns",
"true",
"if",
"we",
"know",
"the",
"value",
"of",
"all",
"bits",
"."
] | [
"AMDGPU",
"AMDGPU::G_CONSTANT",
"1",
"AMDGPU::COPY",
"1"
] | AMDGPURegisterBankInfo | isConstant | AMDGPU | GPU | LLVM | 19,122 | 131 | 1 | [] |
[
"<s>",
"const",
"uint32_t",
"*",
"AArch64RegisterInfo",
"::",
"getThisReturnPreservedMask",
"(",
"const",
"MachineFunction",
"&",
"MF",
",",
"CallingConv",
"::",
"ID",
"CC",
")",
"const",
"{",
"assert",
"(",
"CC",
"!=",
"CallingConv",
"::",
"GHC",
"&&",
"\"sho... | [
"getThisReturnPreservedMask",
"-",
"Returns",
"a",
"call",
"preserved",
"mask",
"specific",
"to",
"the",
"case",
"that",
"'returned",
"'",
"is",
"on",
"an",
"i32",
"first",
"argument",
"if",
"the",
"calling",
"convention",
"is",
"one",
"that",
"can",
"(",
"p... | [
"AArch64",
"AArch64",
"\"should not be GHC calling convention.\"",
"AArch64",
"AArch64",
"AArch64"
] | AArch64RegisterInfo21 | getThisReturnPreservedMask | AArch64 | CPU | LLVM | 19,123 | 52 | 1 | [] |
[
"<s>",
"static",
"bool",
"m32c_function_needs_enter",
"(",
"void",
")",
"{",
"rtx",
"insn",
";",
"struct",
"sequence_stack",
"*",
"seq",
";",
"rtx",
"sp",
"=",
"gen_rtx_REG",
"(",
"Pmode",
",",
"SP_REGNO",
")",
";",
"rtx",
"fb",
"=",
"gen_rtx_REG",
"(",
... | [
"Returns",
"TRUE",
"if",
"the",
"current",
"function",
"needs",
"to",
"use",
"the",
"ENTER/EXIT",
"opcodes",
".",
"If",
"the",
"function",
"does",
"n't",
"need",
"the",
"frame",
"base",
"or",
"stack",
"pointer",
",",
"it",
"can",
"use",
"the",
"simpler",
... | [
"m32c"
] | m32c2 | m32c_function_needs_enter | m32c | MPU | GCC | 19,124 | 107 | 1 | [] |
[
"<s>",
"void",
"riscv_set_return_address",
"(",
"rtx",
"address",
",",
"rtx",
"scratch",
")",
"{",
"rtx",
"slot_address",
";",
"gcc_assert",
"(",
"BITSET_P",
"(",
"cfun",
"->",
"machine",
"->",
"frame",
".",
"mask",
",",
"RETURN_ADDR_REGNUM",
")",
")",
";",
... | [
"Emit",
"code",
"to",
"change",
"the",
"current",
"function",
"'s",
"return",
"address",
"to",
"ADDRESS",
".",
"SCRATCH",
"is",
"available",
"as",
"a",
"scratch",
"register",
",",
"if",
"needed",
".",
"ADDRESS",
"and",
"SCRATCH",
"are",
"both",
"word-mode",
... | [
"riscv"
] | riscv1 | riscv_set_return_address | riscv | CPU | GCC | 19,125 | 66 | 1 | [] |
[
"<s>",
"bool",
"runOnMachineFunction",
"(",
"MachineFunction",
"&",
"MF",
")",
"override",
"{",
"if",
"(",
"skipFunction",
"(",
"MF",
".",
"getFunction",
"(",
")",
")",
")",
"return",
"false",
";",
"X86MachineFunctionInfo",
"*",
"MFI",
"=",
"MF",
".",
"get... | [
"runOnMachineFunction",
"-",
"Emit",
"the",
"function",
"body",
"."
] | [
"X86",
"X86",
"X86",
"2",
"0"
] | X86InstrInfo (2)3 | runOnMachineFunction | X86 | CPU | LLVM | 19,126 | 76 | 1 | [] |
[
"<s>",
"static",
"rtx",
"rs6000_finish_function_arg",
"(",
"machine_mode",
"mode",
",",
"rtx",
"*",
"rvec",
",",
"int",
"k",
")",
"{",
"gcc_assert",
"(",
"k",
">=",
"1",
")",
";",
"if",
"(",
"k",
"==",
"1",
")",
"{",
"if",
"(",
"XEXP",
"(",
"rvec",... | [
"RVEC",
"is",
"a",
"vector",
"of",
"K",
"components",
"of",
"an",
"argument",
"of",
"mode",
"MODE",
".",
"Construct",
"the",
"final",
"function_arg",
"return",
"value",
"from",
"it",
"."
] | [
"rs6000",
"1",
"1",
"0",
"0",
"0",
"0",
"0",
"0"
] | rs6000-call | rs6000_finish_function_arg | rs6000 | CPU | GCC | 19,127 | 89 | 1 | [] |
[
"<s>",
"StringRef",
"getPassName",
"(",
")",
"const",
"override",
"{",
"return",
"RISCV_COMPRESS_INSTRS_NAME",
";",
"}",
"</s>"
] | [
"getPassName",
"-",
"Return",
"a",
"nice",
"clean",
"name",
"for",
"a",
"pass",
"."
] | [
"RISCV",
"RISCV"
] | RISCVMakeCompressible | getPassName | RISCV | CPU | LLVM | 19,128 | 11 | 1 | [] |
[
"<s>",
"static",
"void",
"alpha_emit_xfloating_libcall",
"(",
"rtx",
"func",
",",
"rtx",
"target",
",",
"rtx",
"operands",
"[",
"]",
",",
"int",
"noperands",
",",
"rtx",
"equiv",
")",
"{",
"rtx",
"usage",
"=",
"NULL_RTX",
",",
"tmp",
",",
"reg",
";",
"... | [
"Emit",
"an",
"X_floating",
"library",
"function",
"call",
".",
"Note",
"that",
"these",
"functions",
"do",
"not",
"follow",
"normal",
"calling",
"conventions",
":",
"TFmode",
"arguments",
"are",
"passed",
"in",
"two",
"integer",
"registers",
"(",
"as",
"oppos... | [
"alpha",
"16",
"0",
"2",
"32",
"1",
"1",
"16",
"32",
"0",
"1"
] | alpha4 | alpha_emit_xfloating_libcall | alpha | MPU | GCC | 19,129 | 283 | 1 | [] |
[
"<s>",
"SparcSubtarget",
"&",
"SparcSubtarget",
"::",
"initializeSubtargetDependencies",
"(",
"StringRef",
"CPU",
",",
"StringRef",
"FS",
")",
"{",
"UseSoftMulDiv",
"=",
"false",
";",
"IsV9",
"=",
"false",
";",
"IsLeon",
"=",
"false",
";",
"V8DeprecatedInsts",
"... | [
"initializeSubtargetDependencies",
"-",
"Initializes",
"using",
"a",
"CPU",
",",
"a",
"TuneCPU",
",",
"and",
"feature",
"string",
"so",
"that",
"we",
"can",
"use",
"initializer",
"lists",
"for",
"subtarget",
"initialization",
"."
] | [
"Sparc",
"Sparc",
"Sparc",
"\"v9\"",
"\"v8\""
] | SparcSubtarget23 | initializeSubtargetDependencies | Sparc | CPU | LLVM | 19,130 | 123 | 1 | [] |
[
"<s>",
"static",
"void",
"microblaze_elf_asm_constructor",
"(",
"rtx",
"symbol",
",",
"int",
"priority",
")",
"{",
"microblaze_elf_asm_cdtor",
"(",
"symbol",
",",
"priority",
",",
"true",
")",
";",
"}",
"</s>"
] | [
"Add",
"a",
"function",
"to",
"the",
"list",
"of",
"static",
"constructors",
"."
] | [
"microblaze"
] | microblaze | microblaze_elf_asm_constructor | microblaze | MPU | GCC | 19,131 | 21 | 1 | [] |
[
"<s>",
"void",
"MOSMCELFStreamer",
"::",
"emitValueImpl",
"(",
"const",
"MCExpr",
"*",
"Value",
",",
"unsigned",
"Size",
",",
"SMLoc",
"Loc",
")",
"{",
"if",
"(",
"const",
"auto",
"*",
"MME",
"=",
"dyn_cast",
"<",
"MOSMCExpr",
">",
"(",
"Value",
")",
"... | [
"Overriding",
"these",
"functions",
"allows",
"us",
"to",
"dismiss",
"all",
"labels",
"that",
"are",
"candidates",
"for",
"marking",
"as",
"microMIPS",
"when",
".word/.long/.4byte",
"etc",
"directives",
"are",
"emitted",
"."
] | [
"MOS",
"MOS",
"MOS",
"MOS",
"MOS"
] | MOSMCELFStreamer | emitValueImpl | MOS | MPU | LLVM | 19,132 | 75 | 1 | [] |
[
"<s>",
"bool",
"runOnMachineFunction",
"(",
"MachineFunction",
"&",
"MF",
")",
"override",
"{",
"LLVM_DEBUG",
"(",
"dbgs",
"(",
")",
"<<",
"\"********** ISelDAGToDAG **********\\n\"",
"\"********** Function: \"",
"<<",
"MF",
".",
"getName",
"(",
")",
"<<",
"'\\n'",
... | [
"runOnMachineFunction",
"-",
"Emit",
"the",
"function",
"body",
"."
] | [
"WebAssembly",
"\"********** ISelDAGToDAG **********\\n\"",
"\"********** Function: \"",
"WebAssembly"
] | WebAssemblyISelDAGToDAG (2)1 | runOnMachineFunction | WebAssembly | Virtual ISA | LLVM | 19,133 | 76 | 1 | [] |
[
"<s>",
"Value",
"*",
"PPCTargetLowering",
"::",
"emitMaskedAtomicCmpXchgIntrinsic",
"(",
"IRBuilderBase",
"&",
"Builder",
",",
"AtomicCmpXchgInst",
"*",
"CI",
",",
"Value",
"*",
"AlignedAddr",
",",
"Value",
"*",
"CmpVal",
",",
"Value",
"*",
"NewVal",
",",
"Value... | [
"Perform",
"a",
"masked",
"cmpxchg",
"using",
"a",
"target-specific",
"intrinsic",
"."
] | [
"PowerPC",
"PPC",
"\"Only support quadword now\"",
"128",
"Intrinsic::getDeclaration",
"Intrinsic::ppc_cmpxchg_i128",
"\"cmp_lo\"",
"64",
"\"cmp_hi\"",
"\"new_lo\"",
"64",
"\"new_hi\"",
"0",
"\"lo\"",
"1",
"\"hi\"",
"\"lo64\"",
"\"hi64\"",
"64",
"\"val64\""
] | PPCISelLowering83 | emitMaskedAtomicCmpXchgIntrinsic | PowerPC | CPU | LLVM | 19,134 | 333 | 1 | [] |
[
"<s>",
"static",
"bool",
"arm_pass_by_reference",
"(",
"cumulative_args_t",
",",
"const",
"function_arg_info",
"&",
"arg",
")",
"{",
"return",
"arg",
".",
"type",
"&&",
"TREE_CODE",
"(",
"TYPE_SIZE",
"(",
"arg",
".",
"type",
")",
")",
"!=",
"INTEGER_CST",
";... | [
"Variable",
"sized",
"types",
"are",
"passed",
"by",
"reference",
".",
"This",
"is",
"a",
"GCC",
"extension",
"to",
"the",
"ARM",
"ABI",
"."
] | [
"arm"
] | arm | arm_pass_by_reference | arm | CPU | GCC | 19,135 | 30 | 1 | [] |
[
"<s>",
"unsigned",
"X86InstrInfo",
"::",
"getOpcodeAfterMemoryUnfold",
"(",
"unsigned",
"Opc",
",",
"bool",
"UnfoldLoad",
",",
"bool",
"UnfoldStore",
",",
"unsigned",
"*",
"LoadRegIndex",
")",
"const",
"{",
"DenseMap",
"<",
"unsigned",
"*",
",",
"std",
"::",
"... | [
"getOpcodeAfterMemoryUnfold",
"-",
"Returns",
"the",
"opcode",
"of",
"the",
"would",
"be",
"new",
"instruction",
"after",
"load",
"/",
"store",
"are",
"unfolded",
"from",
"an",
"instruction",
"of",
"the",
"specified",
"opcode",
"."
] | [
"X86",
"X86",
"0",
"1",
"4",
"1",
"5",
"0",
"0",
"0xf"
] | X86InstrInfo134 | getOpcodeAfterMemoryUnfold | X86 | CPU | LLVM | 19,136 | 135 | 1 | [] |
[
"<s>",
"virtual",
"StringRef",
"getPassName",
"(",
")",
"const",
"override",
"{",
"return",
"\"Cpu0 Assmebly Printer\"",
";",
"}",
"</s>"
] | [
"getPassName",
"-",
"Return",
"a",
"nice",
"clean",
"name",
"for",
"a",
"pass",
"."
] | [
"Cpu0",
"\"Cpu0 Assmebly Printer\""
] | Cpu0AsmPrinter3 | getPassName | Cpu0 | CPU | LLVM | 19,137 | 12 | 1 | [] |
[
"<s>",
"static",
"bool",
"aapcs_vfp_allocate",
"(",
"CUMULATIVE_ARGS",
"*",
"pcum",
",",
"machine_mode",
"mode",
",",
"const_tree",
"type",
"ATTRIBUTE_UNUSED",
")",
"{",
"int",
"shift",
"=",
"GET_MODE_SIZE",
"(",
"pcum",
"->",
"aapcs_vfp_rmode",
")",
"/",
"GET_M... | [
"Implement",
"the",
"allocate",
"field",
"in",
"aapcs_cp_arg_layout",
".",
"See",
"the",
"comment",
"there",
"for",
"the",
"behaviour",
"of",
"this",
"function",
"."
] | [
"arm",
"1",
"1",
"0",
"2",
"2",
"0",
"0"
] | arm4 | aapcs_vfp_allocate | arm | CPU | GCC | 19,138 | 281 | 1 | [] |
[
"<s>",
"void",
"MSP430FrameLowering",
"::",
"emitEpilogue",
"(",
"MachineFunction",
"&",
"MF",
",",
"MachineBasicBlock",
"&",
"MBB",
")",
"const",
"{",
"const",
"MachineFrameInfo",
"*",
"MFI",
"=",
"MF",
".",
"getFrameInfo",
"(",
")",
";",
"MSP430MachineFunction... | [
"Insert",
"epilog",
"code",
"into",
"the",
"function",
"."
] | [
"MSP430",
"MSP430",
"MSP430",
"MSP430",
"MSP430",
"MSP430",
"MSP430",
"MSP430::RET",
"MSP430::RETI",
"\"Can only insert epilog into returning blocks\"",
"MSP430",
"0",
"2",
"MSP430::POP16r",
"MSP430::FPW",
"MSP430::POP16r",
"MSP430::MOV16rr",
"MSP430::SPW",
"MSP430::FPW",
"MSP4... | MSP430FrameLowering14 | emitEpilogue | MSP430 | MPU | LLVM | 19,139 | 403 | 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"
] | AArch64TargetMachine14 | addPreEmitPass | AArch64 | CPU | LLVM | 19,140 | 140 | 1 | [] |
[
"<s>",
"static",
"bool",
"tilegx_return_in_memory",
"(",
"const_tree",
"type",
",",
"const_tree",
"fndecl",
"ATTRIBUTE_UNUSED",
")",
"{",
"return",
"!",
"IN_RANGE",
"(",
"int_size_in_bytes",
"(",
"type",
")",
",",
"0",
",",
"TILEGX_NUM_RETURN_REGS",
"*",
"UNITS_PE... | [
"Implement",
"TARGET_RETURN_IN_MEMORY",
"."
] | [
"tilegx",
"0"
] | tilegx | tilegx_return_in_memory | tilegx | VLIW | GCC | 19,141 | 29 | 1 | [] |
[
"<s>",
"void",
"rl78_expand_eh_epilogue",
"(",
"rtx",
"x",
"ATTRIBUTE_UNUSED",
")",
"{",
"emit_jump_insn",
"(",
"gen_rl78_return",
"(",
")",
")",
";",
"}",
"</s>"
] | [
"Likewise",
",",
"for",
"exception",
"handlers",
"."
] | [
"rl78"
] | rl78 | rl78_expand_eh_epilogue | rl78 | MPU | GCC | 19,142 | 16 | 1 | [] |
[
"<s>",
"static",
"rtx",
"rs6000_complex_function_value",
"(",
"enum",
"machine_mode",
"mode",
")",
"{",
"unsigned",
"int",
"regno",
";",
"rtx",
"r1",
",",
"r2",
";",
"enum",
"machine_mode",
"inner",
"=",
"GET_MODE_INNER",
"(",
"mode",
")",
";",
"unsigned",
"... | [
"Return",
"an",
"RTX",
"representing",
"where",
"to",
"find",
"the",
"function",
"value",
"of",
"a",
"function",
"returning",
"MODE",
"."
] | [
"rs6000",
"4",
"8",
"1",
"2"
] | rs60003 | rs6000_complex_function_value | rs6000 | CPU | GCC | 19,143 | 141 | 1 | [] |
[
"<s>",
"const",
"MCFixupKindInfo",
"&",
"getFixupKindInfo",
"(",
"MCFixupKind",
"Kind",
")",
"const",
"override",
"{",
"const",
"static",
"MCFixupKindInfo",
"Infos",
"[",
"X86",
"::",
"NumTargetFixupKinds",
"]",
"=",
"{",
"{",
"\"reloc_riprel_4byte\"",
",",
"0",
... | [
"Get",
"information",
"on",
"a",
"fixup",
"kind",
"."
] | [
"X86",
"X86::NumTargetFixupKinds",
"\"reloc_riprel_4byte\"",
"0",
"4",
"8",
"\"reloc_riprel_4byte_movq_load\"",
"0",
"4",
"8",
"\"reloc_signed_4byte\"",
"0",
"4",
"8",
"0",
"\"reloc_global_offset_table\"",
"0",
"4",
"8",
"0",
"\"Invalid kind!\""
] | X86AsmBackend (2)3 | getFixupKindInfo | X86 | CPU | LLVM | 19,144 | 114 | 1 | [] |
[
"<s>",
"llvm",
"::",
"Optional",
"<",
"unsigned",
">",
"X86TTIImpl",
"::",
"getCacheAssociativity",
"(",
"TargetTransformInfo",
"::",
"CacheLevel",
"Level",
")",
"const",
"{",
"switch",
"(",
"Level",
")",
"{",
"case",
"TargetTransformInfo",
"::",
"CacheLevel",
"... | [
"Return",
"the",
"cache",
"associatvity",
"for",
"the",
"given",
"level",
"of",
"cache",
"."
] | [
"X86",
"X86",
"8",
"\"Unknown TargetTransformInfo::CacheLevel\""
] | X86TargetTransformInfo (2) | getCacheAssociativity | X86 | CPU | LLVM | 19,145 | 48 | 1 | [] |
[
"<s>",
"void",
"arm_emit_speculation_barrier_function",
"(",
")",
"{",
"emit_library_call",
"(",
"speculation_barrier_libfunc",
",",
"LCT_NORMAL",
",",
"VOIDmode",
")",
";",
"}",
"</s>"
] | [
"Emit",
"a",
"speculation",
"barrier",
"on",
"target",
"architectures",
"that",
"do",
"not",
"have",
"DSB/ISB",
"directly",
".",
"Such",
"systems",
"probably",
"do",
"n't",
"need",
"a",
"barrier",
"themselves",
",",
"but",
"if",
"the",
"code",
"is",
"ever",
... | [
"arm"
] | arm | arm_emit_speculation_barrier_function | arm | CPU | GCC | 19,146 | 15 | 1 | [] |
[
"<s>",
"static",
"bool",
"ix86_expand_vec_one_operand_perm_avx512",
"(",
"struct",
"expand_vec_perm_d",
"*",
"d",
")",
"{",
"machine_mode",
"mode",
"=",
"GET_MODE",
"(",
"d",
"->",
"op0",
")",
";",
"machine_mode",
"maskmode",
"=",
"mode",
";",
"rtx",
"(",
"*",... | [
"Try",
"to",
"expand",
"one-operand",
"permutation",
"with",
"constant",
"mask",
"."
] | [
"i386",
"64",
"0"
] | i3866 | ix86_expand_vec_one_operand_perm_avx512 | i386 | CPU | GCC | 19,147 | 213 | 1 | [] |
[
"<s>",
"static",
"bool",
"compute_int_layout",
"(",
"HOST_WIDE_INT",
"bitpos",
",",
"assign_data_t",
"*",
"data",
",",
"int",
"*",
"pnregs",
")",
"{",
"if",
"(",
"data",
"->",
"intoffset",
"<",
"0",
")",
"return",
"false",
";",
"const",
"int",
"intoffset",... | [
"A",
"subroutine",
"of",
"function_arg_record_value",
".",
"Compute",
"the",
"number",
"of",
"integer",
"registers",
"to",
"be",
"assigned",
"between",
"PARMS-",
">",
"intoffset",
"and",
"BITPOS",
".",
"Return",
"true",
"if",
"at",
"least",
"one",
"integer",
"... | [
"sparc",
"0",
"1",
"0",
"1",
"0"
] | sparc5 | compute_int_layout | sparc | CPU | GCC | 19,148 | 133 | 1 | [] |
[
"<s>",
"SDValue",
"TOYTargetLowering",
"::",
"LowerOperation",
"(",
"SDValue",
"Op",
",",
"SelectionDAG",
"&",
"DAG",
")",
"const",
"{",
"switch",
"(",
"Op",
".",
"getOpcode",
"(",
")",
")",
"{",
"default",
":",
"llvm_unreachable",
"(",
"\"Unimplemented operan... | [
"LowerOperation",
"-",
"Provide",
"custom",
"lowering",
"hooks",
"for",
"some",
"operations",
"."
] | [
"TOY",
"TOY",
"\"Unimplemented operand\"",
"ISD::GlobalAddress"
] | TOYISelLowering1 | LowerOperation | TOY | CPU | LLVM | 19,149 | 45 | 1 | [] |
[
"<s>",
"bool",
"PPCTargetLowering",
"::",
"SelectAddressRegReg",
"(",
"SDValue",
"N",
",",
"SDValue",
"&",
"Base",
",",
"SDValue",
"&",
"Index",
",",
"SelectionDAG",
"&",
"DAG",
")",
"const",
"{",
"short",
"imm",
"=",
"0",
";",
"if",
"(",
"N",
".",
"ge... | [
"SelectAddressRegReg",
"-",
"Given",
"the",
"specified",
"addressed",
",",
"check",
"to",
"see",
"if",
"it",
"can",
"be",
"more",
"efficiently",
"represented",
"as",
"[",
"r+imm",
"]",
"."
] | [
"PowerPC",
"PPC",
"0",
"ISD::ADD",
"1",
"1",
"PPCISD::Lo",
"0",
"1",
"ISD::OR",
"1",
"0",
"1",
"0",
"0",
"1"
] | PPCISelLowering14 | SelectAddressRegReg | PowerPC | CPU | LLVM | 19,150 | 218 | 1 | [] |
[
"<s>",
"SDValue",
"RISCVTargetLowering",
"::",
"PerformDAGCombine",
"(",
"SDNode",
"*",
"N",
",",
"DAGCombinerInfo",
"&",
"DCI",
")",
"const",
"{",
"SelectionDAG",
"&",
"DAG",
"=",
"DCI",
".",
"DAG",
";",
"switch",
"(",
"N",
"->",
"getOpcode",
"(",
")",
... | [
"This",
"method",
"will",
"be",
"invoked",
"for",
"all",
"target",
"nodes",
"and",
"for",
"any",
"target-independent",
"nodes",
"that",
"the",
"target",
"has",
"registered",
"with",
"invoke",
"it",
"for",
"."
] | [
"RISCV",
"RISCV",
"ISD::SHL",
"ISD::SRL",
"ISD::SRA",
"64",
"\"Combine should be 64-bit only\"",
"1",
"0",
"MVT::i32",
"ISD::Constant",
"ISD::AssertZext",
"1",
"5",
"0",
"ISD::AssertZext",
"5",
"ISD::ANY_EXTEND",
"0",
"0",
"MVT::i64",
"MVT::i32",
"ISD::SIGN_EXTEND",
"MV... | RISCVISelLowering | PerformDAGCombine | RISCV | CPU | LLVM | 19,151 | 394 | 1 | [] |
[
"<s>",
"bool",
"ARMAsmParser",
"::",
"MatchAndEmitInstruction",
"(",
"SMLoc",
"IDLoc",
",",
"unsigned",
"&",
"Opcode",
",",
"OperandVector",
"&",
"Operands",
",",
"MCStreamer",
"&",
"Out",
",",
"uint64_t",
"&",
"ErrorInfo",
",",
"bool",
"MatchingInlineAsm",
")",... | [
"MatchAndEmitInstruction",
"-",
"Recognize",
"a",
"series",
"of",
"operands",
"of",
"a",
"parsed",
"instruction",
"as",
"an",
"actual",
"MCInst",
"and",
"emit",
"it",
"to",
"the",
"specified",
"MCStreamer",
"."
] | [
"ARM",
"ARM",
"4",
"\"deprecated instruction in IT block\"",
"ARM::ITasm",
"ARM",
"ARM",
"0",
"\"invalid instruction\"",
"ARM",
"0",
"\"Implement any new match types added!\""
] | ARMAsmParser (2)2 | MatchAndEmitInstruction | ARM | CPU | LLVM | 19,152 | 304 | 1 | [] |
[
"<s>",
"const",
"char",
"*",
"mips_msa_output_shift_immediate",
"(",
"const",
"char",
"*",
"shift",
",",
"rtx",
"*",
"operands",
")",
"{",
"rtx",
"amount",
"=",
"operands",
"[",
"2",
"]",
";",
"machine_mode",
"mode",
"=",
"amount",
"->",
"mode",
";",
"un... | [
"Return",
"the",
"assembly",
"code",
"for",
"MSA",
"immediate",
"shift",
"instructions",
",",
"which",
"has",
"the",
"operands",
"given",
"by",
"OPERANDS",
".",
"Truncate",
"the",
"shift",
"amount",
"to",
"make",
"GAS",
"happy",
"."
] | [
"mips",
"2",
"0",
"1",
"\"\"",
"2"
] | mips | mips_msa_output_shift_immediate | mips | CPU | GCC | 19,153 | 89 | 1 | [] |
[
"<s>",
"bool",
"AArch64SIMDInstrOpt",
"::",
"runOnMachineFunction",
"(",
"MachineFunction",
"&",
"MF",
")",
"{",
"if",
"(",
"skipFunction",
"(",
"MF",
".",
"getFunction",
"(",
")",
")",
")",
"return",
"false",
";",
"TII",
"=",
"MF",
".",
"getSubtarget",
"(... | [
"runOnMachineFunction",
"-",
"Emit",
"the",
"function",
"body",
"."
] | [
"AArch64",
"AArch64",
"AArch64",
"AArch64",
"8"
] | AArch64SIMDInstrOpt (2) | runOnMachineFunction | AArch64 | CPU | LLVM | 19,154 | 251 | 1 | [] |
[
"<s>",
"bool",
"ARMFastISel",
"::",
"fastLowerArguments",
"(",
")",
"{",
"if",
"(",
"!",
"FuncInfo",
".",
"CanLowerReturn",
")",
"return",
"false",
";",
"const",
"Function",
"*",
"F",
"=",
"FuncInfo",
".",
"Fn",
";",
"if",
"(",
"F",
"->",
"isVarArg",
"... | [
"This",
"method",
"is",
"called",
"by",
"target-independent",
"code",
"to",
"do",
"target-",
"specific",
"argument",
"lowering",
"."
] | [
"ARM",
"ARM",
"ARM",
"ARM",
"ARM",
"1",
"4",
"MVT::i8",
"MVT::i16",
"MVT::i32",
"ARM::R0",
"ARM::R1",
"ARM::R2",
"ARM::R3",
"ARM::rGPRRegClass",
"0"
] | ARMFastISel (3) | fastLowerArguments | ARM | CPU | LLVM | 19,155 | 424 | 1 | [] |
[
"<s>",
"bool",
"alpha_const_ok_for_letter_p",
"(",
"HOST_WIDE_INT",
"value",
",",
"int",
"c",
")",
"{",
"switch",
"(",
"c",
")",
"{",
"case",
"'I'",
":",
"return",
"(",
"unsigned",
"HOST_WIDE_INT",
")",
"value",
"<",
"0x100",
";",
"case",
"'J'",
":",
"re... | [
"Implements",
"CONST_OK_FOR_LETTER_P",
".",
"Return",
"true",
"if",
"the",
"value",
"matches",
"the",
"range",
"defined",
"for",
"C",
"in",
"[",
"I-P",
"]",
"."
] | [
"alpha",
"0x100",
"0",
"0x8000",
"0x10000",
"0xffff",
"0",
"31",
"1",
"31",
"0",
"0x100",
"0x100",
"1",
"2",
"3"
] | alpha3 | alpha_const_ok_for_letter_p | alpha | MPU | GCC | 19,156 | 144 | 1 | [] |
[
"<s>",
"static",
"bool",
"or1k_can_change_mode_class",
"(",
"machine_mode",
"from",
",",
"machine_mode",
"to",
",",
"reg_class_t",
"rclass",
")",
"{",
"if",
"(",
"rclass",
"==",
"FLAG_REGS",
")",
"return",
"from",
"==",
"to",
";",
"return",
"true",
";",
"}",... | [
"Worker",
"for",
"TARGET_CAN_CHANGE_MODE_CLASS",
".",
"Returns",
"true",
"if",
"its",
"ok",
"to",
"change",
"a",
"register",
"in",
"class",
"RCLASS",
"from",
"mode",
"FROM",
"to",
"mode",
"TO",
".",
"In",
"general",
"OpenRISC",
"registers",
",",
"other",
"th... | [
"or1k"
] | or1k | or1k_can_change_mode_class | or1k | CPU | GCC | 19,157 | 29 | 1 | [] |
[
"<s>",
"unsigned",
"AArch64InstrInfo",
"::",
"getLoadStoreImmIdx",
"(",
"unsigned",
"Opc",
")",
"{",
"switch",
"(",
"Opc",
")",
"{",
"default",
":",
"return",
"2",
";",
"case",
"AArch64",
"::",
"LDPXi",
":",
"case",
"AArch64",
"::",
"LDPDi",
":",
"case",
... | [
"Returns",
"the",
"index",
"for",
"the",
"immediate",
"for",
"a",
"given",
"instruction",
"."
] | [
"AArch64",
"AArch64",
"2",
"AArch64::LDPXi",
"AArch64::LDPDi",
"AArch64::STPXi",
"AArch64::STPDi",
"AArch64::LDNPXi",
"AArch64::LDNPDi",
"AArch64::STNPXi",
"AArch64::STNPDi",
"AArch64::LDPQi",
"AArch64::STPQi",
"AArch64::LDNPQi",
"AArch64::STNPQi",
"AArch64::LDPWi",
"AArch64::LDPSi",... | AArch64InstrInfo10 | getLoadStoreImmIdx | AArch64 | CPU | LLVM | 19,158 | 147 | 1 | [] |
[
"<s>",
"virtual",
"const",
"char",
"*",
"getPassName",
"(",
")",
"const",
"{",
"return",
"\"IA64 (Itanium) DAG->DAG Instruction Selector\"",
";",
"}",
"</s>"
] | [
"getPassName",
"-",
"Return",
"a",
"nice",
"clean",
"name",
"for",
"a",
"pass",
"."
] | [
"IA64",
"\"IA64 (Itanium) DAG->DAG Instruction Selector\""
] | IA64ISelDAGToDAG | getPassName | IA64 | CPU | LLVM | 19,159 | 13 | 1 | [] |
[
"<s>",
"static",
"void",
"aarch64_emit_unlikely_jump",
"(",
"rtx",
"insn",
")",
"{",
"int",
"very_unlikely",
"=",
"REG_BR_PROB_BASE",
"/",
"100",
"-",
"1",
";",
"insn",
"=",
"emit_jump_insn",
"(",
"insn",
")",
";",
"add_int_reg_note",
"(",
"insn",
",",
"REG_... | [
"Mark",
"the",
"previous",
"jump",
"instruction",
"as",
"unlikely",
"."
] | [
"aarch64",
"100",
"1"
] | aarch642 | aarch64_emit_unlikely_jump | aarch64 | CPU | GCC | 19,160 | 34 | 1 | [] |
[
"<s>",
"static",
"void",
"rs6000_override_options_after_change",
"(",
"void",
")",
"{",
"if",
"(",
"(",
"global_options_set",
".",
"x_flag_unroll_loops",
"&&",
"flag_unroll_loops",
")",
"||",
"(",
"global_options_set",
".",
"x_flag_unroll_all_loops",
"&&",
"flag_unroll_... | [
"This",
"target",
"function",
"is",
"similar",
"to",
"the",
"hook",
"TARGET_OPTION_OVERRIDE",
"but",
"is",
"called",
"when",
"the",
"optimize",
"level",
"is",
"changed",
"via",
"an",
"attribute",
"or",
"pragma",
"or",
"when",
"it",
"is",
"reset",
"at",
"the"... | [
"rs6000",
"0",
"1",
"1",
"3"
] | rs60001 | rs6000_override_options_after_change | rs6000 | CPU | GCC | 19,161 | 77 | 1 | [] |
[
"<s>",
"const",
"char",
"*",
"output_set_got",
"(",
"rtx",
"dest",
",",
"rtx",
"label",
")",
"{",
"rtx",
"xops",
"[",
"3",
"]",
";",
"xops",
"[",
"0",
"]",
"=",
"dest",
";",
"if",
"(",
"TARGET_VXWORKS_RTP",
"&&",
"flag_pic",
")",
"{",
"xops",
"[",
... | [
"Emit",
"code",
"for",
"the",
"SET_GOT",
"patterns",
"."
] | [
"i386",
"3",
"0",
"2",
"\"mov{l}\\t{%2, %0|%0, %2}\"",
"2",
"2",
"\"mov{l}\\t{%P2(%0), %0|%0, DWORD PTR %P2[%0]}\"",
"\"\"",
"1",
"32",
"1",
"2",
"2",
"2",
"\"%!call\\t%X2\"",
"\"L\"",
"2",
"\"mov%z0\\t{%2, %0|%0, %2}\"",
"\"L\"",
"2",
"0",
"\"add%z0\\t{%1, %0|%0, %1}\"",... | i386 | output_set_got | i386 | CPU | GCC | 19,162 | 281 | 1 | [] |
[
"<s>",
"void",
"build",
"(",
"function_builder",
"&",
"b",
",",
"const",
"function_group_info",
"&",
"group",
")",
"const",
"override",
"{",
"b",
".",
"add_overloaded_functions",
"(",
"group",
",",
"MODE_none",
")",
";",
"build_all",
"(",
"b",
",",
"\"v0,vu0... | [
"Build",
"new",
"chain",
"starting",
"from",
"insn",
"INSN_UID",
"recursively",
"adding",
"all",
"dependent",
"uses",
"and",
"definitions",
".",
"Return",
"true",
"if",
"OK",
",",
"false",
"if",
"the",
"chain",
"discovery",
"was",
"aborted",
"."
] | [
"aarch64",
"\"v0,vu0\""
] | aarch64-sve-builtins-shapes3 | build | aarch64 | CPU | GCC | 19,163 | 36 | 1 | [] |
[
"<s>",
"bool",
"hasFP",
"(",
"const",
"MachineFunction",
"&",
"MF",
")",
"const",
"{",
"return",
"false",
";",
"}",
"</s>"
] | [
"hasFP",
"-",
"Return",
"true",
"if",
"the",
"specified",
"function",
"should",
"have",
"a",
"dedicated",
"frame",
"pointer",
"register",
"."
] | [
"TGSI"
] | TGSIFrameLowering | hasFP | TGSI | Virtual ISA | LLVM | 19,164 | 14 | 1 | [] |
[
"<s>",
"static",
"bool",
"mips_lwxs_address_p",
"(",
"rtx",
"addr",
")",
"{",
"if",
"(",
"ISA_HAS_LWXS",
"&&",
"GET_CODE",
"(",
"addr",
")",
"==",
"PLUS",
"&&",
"REG_P",
"(",
"XEXP",
"(",
"addr",
",",
"1",
")",
")",
")",
"{",
"rtx",
"offset",
"=",
... | [
"Return",
"true",
"if",
"ADDR",
"matches",
"the",
"pattern",
"for",
"the",
"LWXS",
"load",
"scaled",
"indexed",
"address",
"instruction",
".",
"Note",
"that",
"such",
"addresses",
"are",
"not",
"considered",
"legitimate",
"in",
"the",
"TARGET_LEGITIMATE_ADDRESS_P"... | [
"mips",
"1",
"0",
"0",
"1",
"1",
"4"
] | mips | mips_lwxs_address_p | mips | CPU | GCC | 19,165 | 89 | 1 | [] |
[
"<s>",
"static",
"void",
"bfin_gen_bundles",
"(",
"void",
")",
"{",
"basic_block",
"bb",
";",
"FOR_EACH_BB_FN",
"(",
"bb",
",",
"cfun",
")",
"{",
"rtx_insn",
"*",
"insn",
",",
"*",
"next",
";",
"rtx_insn",
"*",
"slot",
"[",
"3",
"]",
";",
"int",
"n_f... | [
"Go",
"through",
"all",
"insns",
",",
"and",
"use",
"the",
"information",
"generated",
"during",
"scheduling",
"to",
"generate",
"SEQUENCEs",
"to",
"represent",
"bundles",
"of",
"instructions",
"issued",
"simultaneously",
"."
] | [
"bfin",
"3",
"0",
"0",
"1",
"2",
"0",
"0",
"1",
"1",
"2",
"2",
"0",
"0",
"1",
"0",
"0",
"0",
"1",
"0",
"0",
"0",
"1",
"2"
] | bfin3 | bfin_gen_bundles | bfin | DSP | GCC | 19,166 | 392 | 1 | [] |
[
"<s>",
"ArrayRef",
"<",
"std",
"::",
"pair",
"<",
"unsigned",
",",
"const",
"char",
"*",
">>",
"RISCVInstrInfo",
"::",
"getSerializableDirectMachineOperandTargetFlags",
"(",
")",
"const",
"{",
"using",
"namespace",
"RISCVII",
";",
"static",
"const",
"std",
"::",... | [
"Return",
"an",
"array",
"that",
"contains",
"the",
"direct",
"target",
"flag",
"values",
"and",
"their",
"names",
"."
] | [
"RISCV",
"RISCV",
"RISCV",
"\"riscv-call\"",
"\"riscv-plt\"",
"\"riscv-lo\"",
"\"riscv-hi\"",
"\"riscv-pcrel-lo\"",
"\"riscv-pcrel-hi\"",
"\"riscv-got-hi\"",
"\"riscv-tprel-lo\"",
"\"riscv-tprel-hi\"",
"\"riscv-tprel-add\"",
"\"riscv-tls-got-hi\"",
"\"riscv-tls-gd-hi\""
] | RISCVInstrInfo (2) | getSerializableDirectMachineOperandTargetFlags | RISCV | CPU | LLVM | 19,167 | 120 | 1 | [] |
[
"<s>",
"static",
"bool",
"rs6000_can_inline_p",
"(",
"tree",
"caller",
",",
"tree",
"callee",
")",
"{",
"bool",
"ret",
"=",
"false",
";",
"tree",
"caller_tree",
"=",
"DECL_FUNCTION_SPECIFIC_TARGET",
"(",
"caller",
")",
";",
"tree",
"callee_tree",
"=",
"DECL_FU... | [
"Hook",
"to",
"determine",
"if",
"one",
"function",
"can",
"safely",
"inline",
"another",
"."
] | [
"rs6000",
"0",
"\"rs6000_can_inline_p:, caller %s, callee %s, %s inline\\n\"",
"\"can\"",
"\"cannot\""
] | rs60001 | rs6000_can_inline_p | rs6000 | CPU | GCC | 19,168 | 229 | 1 | [] |
[
"<s>",
"static",
"bool",
"rs6000_debug_rtx_costs",
"(",
"rtx",
"x",
",",
"machine_mode",
"mode",
",",
"int",
"outer_code",
",",
"int",
"opno",
",",
"int",
"*",
"total",
",",
"bool",
"speed",
")",
"{",
"bool",
"ret",
"=",
"rs6000_rtx_costs",
"(",
"x",
","... | [
"Debug",
"form",
"of",
"r6000_rtx_costs",
"that",
"is",
"selected",
"if",
"-mdebug=cost",
"."
] | [
"rs6000",
"\"\\nrs6000_rtx_costs, return = %s, mode = %s, outer_code = %s, \"",
"\"opno = %d, total = %d, speed = %s, x:\\n\"",
"\"complete\"",
"\"scan inner\"",
"\"true\"",
"\"false\""
] | rs6000 | rs6000_debug_rtx_costs | rs6000 | CPU | GCC | 19,169 | 86 | 1 | [] |
[
"<s>",
"bool",
"RISCVAsmParser",
"::",
"MatchAndEmitInstruction",
"(",
"SMLoc",
"IDLoc",
",",
"unsigned",
"&",
"Opcode",
",",
"OperandVector",
"&",
"Operands",
",",
"MCStreamer",
"&",
"Out",
",",
"uint64_t",
"&",
"ErrorInfo",
",",
"bool",
"MatchingInlineAsm",
")... | [
"MatchAndEmitInstruction",
"-",
"Recognize",
"a",
"series",
"of",
"operands",
"of",
"a",
"parsed",
"instruction",
"as",
"an",
"actual",
"MCInst",
"and",
"emit",
"it",
"to",
"the",
"specified",
"MCStreamer",
"."
] | [
"RISCV",
"RISCV",
"\"instruction use requires an option to be enabled\"",
"\"unrecognized instruction mnemonic\"",
"0U",
"\"too few operands for instruction\"",
"RISCV",
"\"invalid operand for instruction\"",
"0",
"1",
"5",
"1",
"1",
"11",
"1",
"11",
"1",
"0",
"1",
"12",
"1",... | RISCVAsmParser20 | MatchAndEmitInstruction | RISCV | CPU | LLVM | 19,170 | 354 | 1 | [] |
[
"<s>",
"static",
"hsa_status_t",
"get_memory_region",
"(",
"hsa_region_t",
"region",
",",
"hsa_region_t",
"*",
"retval",
",",
"hsa_region_global_flag_t",
"kind",
")",
"{",
"hsa_region_segment_t",
"segment",
";",
"hsa_fns",
".",
"hsa_region_get_info_fn",
"(",
"region",
... | [
"Callback",
"of",
"hsa_iterate_regions",
".",
"Called",
"once",
"for",
"each",
"available",
"memory",
"region",
",",
"and",
"returns",
"``",
"break",
"''",
"when",
"a",
"suitable",
"one",
"has",
"been",
"found",
"."
] | [
"gcn"
] | gcn-run | get_memory_region | gcn | GPU | GCC | 19,171 | 74 | 1 | [] |
[
"<s>",
"bool",
"PIC16AsmPrinter",
"::",
"doFinalization",
"(",
"Module",
"&",
"M",
")",
"{",
"printLibcallDecls",
"(",
")",
";",
"EmitRemainingAutos",
"(",
")",
";",
"DbgInfo",
".",
"EndModule",
"(",
"M",
")",
";",
"O",
"<<",
"\"\\n\\t\"",
"<<",
"\"END\\n\... | [
"doFinalization",
"-",
"Virtual",
"method",
"overriden",
"by",
"subclasses",
"to",
"do",
"any",
"necessary",
"clean",
"up",
"after",
"all",
"passes",
"have",
"run",
"."
] | [
"PIC16",
"PIC16",
"\"\\n\\t\"",
"\"END\\n\""
] | PIC16AsmPrinter5 | doFinalization | PIC16 | MPU | LLVM | 19,172 | 40 | 1 | [] |
[
"<s>",
"static",
"tree",
"arc_handle_interrupt_attribute",
"(",
"tree",
"*",
",",
"tree",
"name",
",",
"tree",
"args",
",",
"int",
",",
"bool",
"*",
"no_add_attrs",
")",
"{",
"gcc_assert",
"(",
"args",
")",
";",
"tree",
"value",
"=",
"TREE_VALUE",
"(",
"... | [
"Handle",
"an",
"``",
"interrupt",
"''",
"attribute",
";",
"arguments",
"as",
"in",
"struct",
"attribute_spec.handler",
"."
] | [
"arc",
"\"argument of %qE attribute is not a string constant\"",
"\"ilink1\"",
"\"ilink2\"",
"\"argument of %qE attribute is not \\\"ilink1\\\" or \\\"ilink2\\\"\"",
"\"ilink\"",
"\"firq\"",
"\"argument of %qE attribute is not \\\"ilink\\\" or \\\"firq\\\"\""
] | arc | arc_handle_interrupt_attribute | arc | MPU | GCC | 19,173 | 145 | 1 | [] |
[
"<s>",
"bool",
"enableShrinkWrapping",
"(",
"const",
"MachineFunction",
"&",
"MF",
")",
"const",
"override",
"{",
"return",
"true",
";",
"}",
"</s>"
] | [
"Returns",
"true",
"if",
"the",
"target",
"will",
"correctly",
"handle",
"shrink",
"wrapping",
"."
] | [
"Mips"
] | MipsFrameLowering20 | enableShrinkWrapping | Mips | CPU | LLVM | 19,174 | 15 | 1 | [] |
[
"<s>",
"bool",
"AMDGPUAsmParser",
"::",
"MatchAndEmitInstruction",
"(",
"SMLoc",
"IDLoc",
",",
"unsigned",
"&",
"Opcode",
",",
"OperandVector",
"&",
"Operands",
",",
"MCStreamer",
"&",
"Out",
",",
"uint64_t",
"&",
"ErrorInfo",
",",
"bool",
"MatchingInlineAsm",
"... | [
"MatchAndEmitInstruction",
"-",
"Recognize",
"a",
"series",
"of",
"operands",
"of",
"a",
"parsed",
"instruction",
"as",
"an",
"actual",
"MCInst",
"and",
"emit",
"it",
"to",
"the",
"specified",
"MCStreamer",
"."
] | [
"AMDGPU",
"AMDGPU",
"\"invalid operand (violates constant bus restrictions)\"",
"\"instruction not supported on this GPU\"",
"\"unrecognized instruction mnemonic\"",
"0ULL",
"\"too few operands for instruction\"",
"AMDGPU",
"\"invalid operand for instruction\"",
"\"internal error: instruction with... | AMDGPUAsmParser14 | MatchAndEmitInstruction | AMDGPU | GPU | LLVM | 19,175 | 309 | 1 | [] |
[
"<s>",
"int",
"hppa_fpstore_bypass_p",
"(",
"rtx",
"out_insn",
",",
"rtx",
"in_insn",
")",
"{",
"enum",
"machine_mode",
"store_mode",
";",
"enum",
"machine_mode",
"other_mode",
";",
"rtx",
"set",
";",
"if",
"(",
"recog_memoized",
"(",
"in_insn",
")",
"<",
"0... | [
"Return",
"nonzero",
"if",
"there",
"is",
"a",
"bypass",
"for",
"the",
"output",
"of",
"OUT_INSN",
"and",
"the",
"fp",
"store",
"IN_INSN",
"."
] | [
"pa",
"0",
"0",
"0",
"0"
] | pa3 | hppa_fpstore_bypass_p | pa | CPU | GCC | 19,176 | 99 | 1 | [] |
[
"<s>",
"bool",
"MBlazeAsmBackend",
"::",
"writeNopData",
"(",
"uint64_t",
"Count",
",",
"MCObjectWriter",
"*",
"OW",
")",
"const",
"{",
"if",
"(",
"(",
"Count",
"%",
"4",
")",
"!=",
"0",
")",
"return",
"false",
";",
"for",
"(",
"uint64_t",
"i",
"=",
... | [
"Write",
"an",
"(",
"optimal",
")",
"nop",
"sequence",
"of",
"Count",
"bytes",
"to",
"the",
"given",
"output",
"."
] | [
"MBlaze",
"MBlaze",
"4",
"0",
"0",
"4",
"0x00000000"
] | MBlazeAsmBackend1 | writeNopData | MBlaze | MPU | LLVM | 19,177 | 53 | 1 | [] |
[
"<s>",
"unsigned",
"PPCFrameLowering",
"::",
"determineFrameLayout",
"(",
"const",
"MachineFunction",
"&",
"MF",
",",
"bool",
"UseEstimate",
",",
"unsigned",
"*",
"NewMaxCallFrameSize",
")",
"const",
"{",
"const",
"MachineFrameInfo",
"&",
"MFI",
"=",
"MF",
".",
... | [
"Determine",
"the",
"frame",
"layout",
"but",
"do",
"not",
"update",
"the",
"machine",
"function",
"."
] | [
"PowerPC",
"PPC",
"1",
"PPC",
"0"
] | PPCFrameLowering60 | determineFrameLayout | PowerPC | CPU | LLVM | 19,178 | 246 | 1 | [] |
[
"<s>",
"virtual",
"void",
"emitSparcRegisterScratch",
"(",
"unsigned",
"reg",
")",
"{",
"}",
"</s>"
] | [
"Emit",
"``",
".register",
"<",
"reg",
">",
",",
"#",
"scratch",
"''",
"."
] | [
"Sparc",
"Sparc"
] | SparcTargetStreamer2 | emitSparcRegisterScratch | Sparc | CPU | LLVM | 19,179 | 9 | 1 | [] |
[
"<s>",
"static",
"void",
"mips_restore_reg",
"(",
"rtx",
"reg",
",",
"rtx",
"mem",
")",
"{",
"if",
"(",
"TARGET_MIPS16",
"&&",
"REGNO",
"(",
"reg",
")",
"==",
"RETURN_ADDR_REGNUM",
")",
"reg",
"=",
"gen_rtx_REG",
"(",
"GET_MODE",
"(",
"reg",
")",
",",
... | [
"Emit",
"instructions",
"to",
"restore",
"register",
"REG",
"from",
"slot",
"MEM",
"."
] | [
"mips",
"7"
] | mips | mips_restore_reg | mips | CPU | GCC | 19,180 | 122 | 1 | [] |
[
"<s>",
"X86TTI",
"::",
"PopcntSupportKind",
"X86TTI",
"::",
"getPopcntSupport",
"(",
"unsigned",
"TyWidth",
")",
"const",
"{",
"assert",
"(",
"isPowerOf2_32",
"(",
"TyWidth",
")",
"&&",
"\"Ty width must be power of 2\"",
")",
";",
"return",
"ST",
"->",
"hasPOPCNT"... | [
"Return",
"hardware",
"support",
"for",
"population",
"count",
"."
] | [
"X86",
"X86",
"X86",
"\"Ty width must be power of 2\""
] | X86TargetTransformInfo112 | getPopcntSupport | X86 | CPU | LLVM | 19,181 | 34 | 1 | [] |
[
"<s>",
"void",
"OR1KFrameLowering",
"::",
"determineCalleeSaves",
"(",
"MachineFunction",
"&",
"MF",
",",
"BitVector",
"&",
"SavedRegs",
",",
"RegScavenger",
"*",
"RS",
")",
"const",
"{",
"TargetFrameLowering",
"::",
"determineCalleeSaves",
"(",
"MF",
",",
"SavedR... | [
"This",
"method",
"determines",
"which",
"of",
"the",
"registers",
"reported",
"by",
"TargetRegisterInfo",
":",
":getCalleeSavedRegs",
"(",
")",
"should",
"actually",
"get",
"saved",
"."
] | [
"OR1K",
"OR1K",
"OR1K",
"OR1K",
"4",
"4",
"OR1K::R9",
"4",
"4",
"4",
"4"
] | OR1KFrameLowering1 | determineCalleeSaves | OR1K | CPU | LLVM | 19,182 | 180 | 1 | [] |
[
"<s>",
"bool",
"CSKYConstantIslands",
"::",
"runOnMachineFunction",
"(",
"MachineFunction",
"&",
"Mf",
")",
"{",
"MF",
"=",
"&",
"Mf",
";",
"MCP",
"=",
"Mf",
".",
"getConstantPool",
"(",
")",
";",
"STI",
"=",
"&",
"static_cast",
"<",
"const",
"CSKYSubtarge... | [
"runOnMachineFunction",
"-",
"Emit",
"the",
"function",
"body",
"."
] | [
"CSKY",
"CSKY",
"CSKY",
"\"***** CSKYConstantIslands: \"",
"\" CP entries, aligned to \"",
"\" bytes *****\\n\"",
"CSKY",
"0",
"0",
"\"Beginning CP iteration #\"",
"0",
"30",
"\"Constant Island pass failed to converge!\"",
"\"Beginning BR iteration #\"",
"0",
"30",
"\"Branch Fix Up p... | CSKYConstantIslandPass | runOnMachineFunction | CSKY | CPU | LLVM | 19,183 | 395 | 1 | [] |
[
"<s>",
"static",
"bool",
"rs6000_const_not_ok_for_debug_p",
"(",
"rtx",
"x",
")",
"{",
"if",
"(",
"GET_CODE",
"(",
"x",
")",
"==",
"UNSPEC",
")",
"return",
"true",
";",
"if",
"(",
"GET_CODE",
"(",
"x",
")",
"==",
"SYMBOL_REF",
"&&",
"CONSTANT_POOL_ADDRESS_... | [
"Return",
"true",
"if",
"X",
"should",
"n't",
"be",
"emitted",
"into",
"the",
"debug",
"info",
".",
"The",
"linker",
"does",
"n't",
"like",
".toc",
"section",
"references",
"from",
".debug_",
"*",
"sections",
",",
"so",
"reject",
".toc",
"section",
"symbol... | [
"powerpcspe"
] | powerpcspe | rs6000_const_not_ok_for_debug_p | powerpcspe | CPU | GCC | 19,184 | 68 | 1 | [] |
[
"<s>",
"bool",
"X86TargetMachine",
"::",
"addInstSelector",
"(",
"PassManagerBase",
"&",
"PM",
")",
"{",
"PM",
".",
"add",
"(",
"createX86ISelDag",
"(",
"*",
"this",
",",
"getOptLevel",
"(",
")",
")",
")",
";",
"if",
"(",
"!",
"Subtarget",
".",
"is64Bit"... | [
"addInstSelector",
"-",
"This",
"method",
"should",
"install",
"an",
"instruction",
"selector",
"pass",
",",
"which",
"converts",
"from",
"LLVM",
"code",
"to",
"machine",
"instructions",
"."
] | [
"X86",
"X86",
"X86"
] | X86TargetMachine116 | addInstSelector | X86 | CPU | LLVM | 19,185 | 47 | 1 | [] |
[
"<s>",
"bool",
"LanaiRegisterInfo",
"::",
"trackLivenessAfterRegAlloc",
"(",
"const",
"MachineFunction",
"&",
"MF",
")",
"const",
"{",
"return",
"true",
";",
"}",
"</s>"
] | [
"Returns",
"true",
"if",
"the",
"live-ins",
"should",
"be",
"tracked",
"after",
"register",
"allocation",
"."
] | [
"Lanai",
"Lanai"
] | LanaiRegisterInfo | trackLivenessAfterRegAlloc | Lanai | CPU | LLVM | 19,186 | 16 | 1 | [] |
[
"<s>",
"unsigned",
"XtensaInstrInfo",
"::",
"removeBranch",
"(",
"MachineBasicBlock",
"&",
"MBB",
",",
"int",
"*",
"BytesRemoved",
")",
"const",
"{",
"llvm_unreachable",
"(",
"\"Unimplemented operand\"",
")",
";",
"}",
"</s>"
] | [
"Remove",
"the",
"branching",
"code",
"at",
"the",
"end",
"of",
"the",
"specific",
"MBB",
"."
] | [
"Xtensa",
"Xtensa",
"\"Unimplemented operand\""
] | XtensaInstrInfo | removeBranch | Xtensa | MPU | LLVM | 19,187 | 21 | 1 | [] |
[
"<s>",
"bool",
"MipsSETargetLowering",
"::",
"allowsMisalignedMemoryAccesses",
"(",
"EVT",
"VT",
",",
"unsigned",
",",
"unsigned",
",",
"bool",
"*",
"Fast",
")",
"const",
"{",
"MVT",
"::",
"SimpleValueType",
"SVT",
"=",
"VT",
".",
"getSimpleVT",
"(",
")",
".... | [
"Returns",
"true",
"if",
"the",
"target",
"allows",
"unaligned",
"memory",
"accesses",
"of",
"the",
"specified",
"type",
"."
] | [
"Mips",
"Mips",
"MVT::SimpleValueType",
"MVT::i64",
"MVT::i32"
] | MipsSEISelLowering (2)4 | allowsMisalignedMemoryAccesses | Mips | CPU | LLVM | 19,188 | 87 | 1 | [] |
[
"<s>",
"MVT",
"RISCVTargetLowering",
"::",
"getVPExplicitVectorLengthTy",
"(",
")",
"const",
"{",
"return",
"Subtarget",
".",
"getXLenVT",
"(",
")",
";",
"}",
"</s>"
] | [
"Returns",
"the",
"type",
"to",
"be",
"used",
"for",
"the",
"EVL/AVL",
"operand",
"of",
"VP",
"nodes",
":",
"ISD",
":",
":VP_ADD",
",",
"ISD",
":",
":VP_SUB",
",",
"etc",
"."
] | [
"RISCV",
"RISCV"
] | RISCVISelLowering1 | getVPExplicitVectorLengthTy | RISCV | CPU | LLVM | 19,189 | 16 | 1 | [] |
[
"<s>",
"bool",
"mayNeedRelaxation",
"(",
"const",
"MCInst",
"&",
"Inst",
")",
"const",
"{",
"return",
"false",
";",
"}",
"</s>"
] | [
"Check",
"whether",
"the",
"given",
"instruction",
"may",
"need",
"relaxation",
"."
] | [
"TOY"
] | TOYAsmBackend | mayNeedRelaxation | TOY | CPU | LLVM | 19,190 | 14 | 1 | [] |
[
"<s>",
"unsigned",
"AArch64MCCodeEmitter",
"::",
"getMachineOpValue",
"(",
"const",
"MCInst",
"&",
"MI",
",",
"const",
"MCOperand",
"&",
"MO",
",",
"SmallVectorImpl",
"<",
"MCFixup",
">",
"&",
"Fixups",
")",
"const",
"{",
"if",
"(",
"MO",
".",
"isReg",
"("... | [
"getMachineOpValue",
"-",
"Return",
"binary",
"encoding",
"of",
"operand",
"."
] | [
"AArch64",
"AArch64",
"\"Unable to encode MCOperand!\"",
"0"
] | AArch64MCCodeEmitter3 | getMachineOpValue | AArch64 | CPU | LLVM | 19,191 | 83 | 1 | [] |
[
"<s>",
"const",
"TargetRegisterClass",
"*",
"SIRegisterInfo",
"::",
"getLargestLegalSuperClass",
"(",
"const",
"TargetRegisterClass",
"*",
"RC",
",",
"const",
"MachineFunction",
"&",
"MF",
")",
"const",
"{",
"if",
"(",
"MF",
".",
"getSubtarget",
"<",
"GCNSubtarget... | [
"Returns",
"the",
"largest",
"super",
"class",
"of",
"RC",
"that",
"is",
"legal",
"to",
"use",
"in",
"the",
"current",
"sub-target",
"and",
"has",
"the",
"same",
"spill",
"size",
"."
] | [
"AMDGPU",
"SI",
"AMDGPU::VGPR_32RegClass",
"AMDGPU::AGPR_32RegClass",
"AMDGPU::AV_32RegClass",
"AMDGPU::VReg_64RegClass",
"AMDGPU::AReg_64RegClass",
"AMDGPU::AV_64RegClass",
"AMDGPU::VReg_64_Align2RegClass",
"AMDGPU::AReg_64_Align2RegClass",
"AMDGPU::AV_64_Align2RegClass",
"AMDGPU::VReg_96RegC... | SIRegisterInfo87 | getLargestLegalSuperClass | AMDGPU | GPU | LLVM | 19,192 | 433 | 1 | [] |
[
"<s>",
"bool",
"PPCFrameLowering",
"::",
"canUseAsEpilogue",
"(",
"const",
"MachineBasicBlock",
"&",
"MBB",
")",
"const",
"{",
"MachineBasicBlock",
"*",
"TmpMBB",
"=",
"const_cast",
"<",
"MachineBasicBlock",
"*",
">",
"(",
"&",
"MBB",
")",
";",
"return",
"find... | [
"Check",
"whether",
"or",
"not",
"the",
"given",
"MBB",
"can",
"be",
"used",
"as",
"a",
"epilogue",
"for",
"the",
"target",
"."
] | [
"PowerPC",
"PPC"
] | PPCFrameLowering54 | canUseAsEpilogue | PowerPC | CPU | LLVM | 19,193 | 37 | 1 | [] |
[
"<s>",
"void",
"GCNScheduleDAGMILive",
"::",
"finalizeSchedule",
"(",
")",
"{",
"GCNMaxOccupancySchedStrategy",
"&",
"S",
"=",
"(",
"GCNMaxOccupancySchedStrategy",
"&",
")",
"*",
"SchedImpl",
";",
"DEBUG",
"(",
"dbgs",
"(",
")",
"<<",
"\"All regions recorded, starti... | [
"After",
"the",
"schedule",
"has",
"been",
"formed",
",",
"call",
"this",
"function",
"to",
"combine",
"the",
"instructions",
"from",
"the",
"different",
"stages/cycles",
"."
] | [
"AMDGPU",
"\"All regions recorded, starting actual scheduling.\\n\"",
"0",
"1",
"\"Retrying function scheduling with lowest recorded occupancy \"",
"\".\\n\"",
"1",
"\"********** MI Scheduling **********\\n\"",
"\":BB#\"",
"\" \"",
"\"\\n From: \"",
"\" To: \"",
"\"End\"",
"\" RegionIn... | GCNSchedStrategy16 | finalizeSchedule | AMDGPU | GPU | LLVM | 19,194 | 335 | 1 | [] |
[
"<s>",
"bool",
"Mips16RegisterInfo",
"::",
"saveScavengerRegister",
"(",
"MachineBasicBlock",
"&",
"MBB",
",",
"MachineBasicBlock",
"::",
"iterator",
"I",
",",
"MachineBasicBlock",
"::",
"iterator",
"&",
"UseMI",
",",
"const",
"TargetRegisterClass",
"*",
"RC",
",",
... | [
"Spill",
"the",
"register",
"so",
"it",
"can",
"be",
"used",
"by",
"the",
"register",
"scavenger",
"."
] | [
"Mips",
"Mips",
"Mips::T0",
"Mips::T0"
] | Mips16RegisterInfo | saveScavengerRegister | Mips | CPU | LLVM | 19,195 | 95 | 1 | [] |
[
"<s>",
"bool",
"SNESFrameLowering",
"::",
"hasReservedCallFrame",
"(",
"const",
"MachineFunction",
"&",
"MF",
")",
"const",
"{",
"const",
"MachineFrameInfo",
"&",
"MFI",
"=",
"MF",
".",
"getFrameInfo",
"(",
")",
";",
"return",
"hasFP",
"(",
"MF",
")",
"&&",
... | [
"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... | [
"SNES",
"SNES"
] | SNESFrameLowering | hasReservedCallFrame | SNES | DSP | LLVM | 19,196 | 37 | 1 | [] |
[
"<s>",
"static",
"int",
"rs6000_hard_regno_mode_ok",
"(",
"int",
"regno",
",",
"machine_mode",
"mode",
")",
"{",
"int",
"last_regno",
"=",
"regno",
"+",
"rs6000_hard_regno_nregs",
"[",
"mode",
"]",
"[",
"regno",
"]",
"-",
"1",
";",
"if",
"(",
"mode",
"==",... | [
"Value",
"is",
"1",
"if",
"hard",
"register",
"REGNO",
"can",
"hold",
"a",
"value",
"of",
"machine-mode",
"MODE",
"."
] | [
"rs6000",
"1",
"1",
"0",
"16",
"0",
"2",
"0",
"1",
"1",
"1",
"0",
"1"
] | rs60004 | rs6000_hard_regno_mode_ok | rs6000 | CPU | GCC | 19,197 | 318 | 1 | [] |
[
"<s>",
"bool",
"PPCAsmPrinter",
"::",
"PrintAsmOperand",
"(",
"const",
"MachineInstr",
"*",
"MI",
",",
"unsigned",
"OpNo",
",",
"unsigned",
"AsmVariant",
",",
"const",
"char",
"*",
"ExtraCode",
")",
"{",
"if",
"(",
"ExtraCode",
"&&",
"ExtraCode",
"[",
"0",
... | [
"PrintAsmOperand",
"-",
"Print",
"out",
"an",
"operand",
"for",
"an",
"inline",
"asm",
"expression",
"."
] | [
"PowerPC",
"PPC",
"0",
"1",
"0",
"0",
"1",
"1",
"\"i\""
] | PPCAsmPrinter107 | PrintAsmOperand | PowerPC | CPU | LLVM | 19,198 | 155 | 1 | [] |
[
"<s>",
"bool",
"X86Subtarget",
"::",
"enableEarlyIfConversion",
"(",
")",
"const",
"{",
"return",
"canUseCMOV",
"(",
")",
"&&",
"X86EarlyIfConv",
";",
"}",
"</s>"
] | [
"Enable",
"the",
"use",
"of",
"the",
"early",
"if",
"conversion",
"pass",
"."
] | [
"X86",
"X86",
"X86"
] | X86Subtarget41 | enableEarlyIfConversion | X86 | CPU | LLVM | 19,199 | 16 | 1 | [] |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.