ground_truth listlengths 8 512 | natrual_language listlengths 1 243 | TS_V_token listlengths 1 182 | File stringlengths 2 45 | Func stringlengths 1 56 | Target stringclasses 175
values | Target_Clf stringclasses 6
values | Compiler_Type stringclasses 2
values | Idx int64 0 36.2k | Length int64 6 510 | Cover_Rate float64 1 1 | Template_token listlengths 0 0 |
|---|---|---|---|---|---|---|---|---|---|---|---|
[
"<s>",
"static",
"void",
"ix86_conditional_register_usage",
"(",
"void",
")",
"{",
"int",
"i",
",",
"c_mask",
";",
"if",
"(",
"!",
"TARGET_64BIT",
")",
"{",
"for",
"(",
"i",
"=",
"FIRST_REX_INT_REG",
";",
"i",
"<=",
"LAST_REX_INT_REG",
";",
"i",
"++",
")... | [
"Update",
"register",
"usage",
"after",
"having",
"seen",
"the",
"compiler",
"flags",
"."
] | [
"i386",
"1",
"\"\"",
"1",
"\"\"",
"1",
"\"\"",
"0",
"1",
"0",
"1",
"\"\"",
"0",
"1",
"\"\"",
"0",
"1",
"\"\"",
"1",
"\"\"",
"1",
"\"\"",
"1",
"\"\""
] | i3865 | ix86_conditional_register_usage | i386 | CPU | GCC | 16,900 | 475 | 1 | [] |
[
"<s>",
"void",
"print",
"(",
"raw_ostream",
"&",
"O",
")",
"const",
"override",
"{",
"switch",
"(",
"Kind",
")",
"{",
"case",
"k_Tok",
":",
"O",
"<<",
"\"Token \"",
"<<",
"Tok",
";",
"break",
";",
"case",
"k_Reg",
":",
"O",
"<<",
"\"Register \"",
"<<... | [
"print",
"-",
"Print",
"a",
"debug",
"representation",
"of",
"the",
"operand",
"to",
"the",
"given",
"stream",
"."
] | [
"MSP430",
"\"Token \"",
"\"Register \"",
"\"Immediate \"",
"\"Memory \"",
"\"(\"",
"\")\"",
"\"RegInd \"",
"\"PostInc \""
] | MSP430AsmParser11 | print | MSP430 | MPU | LLVM | 16,901 | 95 | 1 | [] |
[
"<s>",
"void",
"getAnalysisUsage",
"(",
"AnalysisUsage",
"&",
"AU",
")",
"const",
"override",
"{",
"AU",
".",
"setPreservesCFG",
"(",
")",
";",
"AU",
".",
"addRequired",
"<",
"DominatorTreeWrapperPass",
">",
"(",
")",
";",
"AU",
".",
"addPreserved",
"<",
"... | [
"getAnalysisUsage",
"-",
"Subclasses",
"that",
"override",
"getAnalysisUsage",
"must",
"call",
"this",
"."
] | [
"WebAssembly"
] | WebAssemblyOptimizeReturned (2) | getAnalysisUsage | WebAssembly | Virtual ISA | LLVM | 16,902 | 42 | 1 | [] |
[
"<s>",
"void",
"pru_expand_prologue",
"(",
"void",
")",
"{",
"int",
"regno_start",
";",
"int",
"total_frame_size",
";",
"int",
"sp_offset",
";",
"int",
"save_regs_base",
";",
"int",
"save_offset",
";",
"total_frame_size",
"=",
"cfun",
"->",
"machine",
"->",
"t... | [
"Emit",
"function",
"prologue",
"."
] | [
"pru",
"0",
"0",
"0",
"0",
"0"
] | pru | pru_expand_prologue | pru | CPU | GCC | 16,903 | 190 | 1 | [] |
[
"<s>",
"void",
"Thumb1InstrInfo",
"::",
"loadRegFromStackSlot",
"(",
"MachineBasicBlock",
"&",
"MBB",
",",
"MachineBasicBlock",
"::",
"iterator",
"I",
",",
"unsigned",
"DestReg",
",",
"int",
"FI",
",",
"const",
"TargetRegisterClass",
"*",
"RC",
")",
"const",
"{"... | [
"Load",
"the",
"specified",
"register",
"of",
"the",
"given",
"register",
"class",
"from",
"the",
"specified",
"stack",
"frame",
"index",
"."
] | [
"ARM",
"ARM::tGPRRegisterClass",
"ARM",
"\"Unknown regclass!\"",
"ARM::tGPRRegisterClass",
"ARM",
"0",
"ARM::tRestore",
"0"
] | Thumb1InstrInfo2 | loadRegFromStackSlot | ARM | CPU | LLVM | 16,904 | 194 | 1 | [] |
[
"<s>",
"bool",
"riscv_split_symbol",
"(",
"rtx",
"temp",
",",
"rtx",
"addr",
",",
"machine_mode",
"mode",
",",
"rtx",
"*",
"low_out",
")",
"{",
"enum",
"riscv_symbol_type",
"symbol_type",
";",
"if",
"(",
"(",
"GET_CODE",
"(",
"addr",
")",
"==",
"HIGH",
"... | [
"If",
"MODE",
"is",
"MAX_MACHINE_MODE",
",",
"ADDR",
"appears",
"as",
"a",
"move",
"operand",
",",
"otherwise",
"it",
"appears",
"in",
"a",
"MEM",
"of",
"that",
"mode",
".",
"Return",
"true",
"if",
"ADDR",
"is",
"a",
"legitimate",
"constant",
"in",
"that... | [
"riscv",
"0",
"32",
"\".LA%u\""
] | riscv3 | riscv_split_symbol | riscv | CPU | GCC | 16,905 | 262 | 1 | [] |
[
"<s>",
"const",
"char",
"*",
"MipsTargetLowering",
"::",
"getTargetNodeName",
"(",
"unsigned",
"Opcode",
")",
"const",
"{",
"switch",
"(",
"Opcode",
")",
"{",
"case",
"MipsISD",
"::",
"JmpLink",
":",
"return",
"\"MipsISD::JmpLink\"",
";",
"case",
"MipsISD",
":... | [
"getTargetNodeName",
"-",
"This",
"method",
"returns",
"the",
"name",
"of",
"a",
"target",
"specific"
] | [
"Mips",
"Mips",
"MipsISD::JmpLink",
"\"MipsISD::JmpLink\"",
"MipsISD::Hi",
"\"MipsISD::Hi\"",
"MipsISD::Lo",
"\"MipsISD::Lo\"",
"MipsISD::GPRel",
"\"MipsISD::GPRel\"",
"MipsISD::ThreadPointer",
"\"MipsISD::ThreadPointer\"",
"MipsISD::Ret",
"\"MipsISD::Ret\"",
"MipsISD::FPBrcond",
"\"Mi... | MipsISelLowering98 | getTargetNodeName | Mips | CPU | LLVM | 16,906 | 392 | 1 | [] |
[
"<s>",
"Optional",
"<",
"MCFixupKind",
">",
"ELFPPCAsmBackend",
"::",
"getFixupKind",
"(",
"StringRef",
"Name",
")",
"const",
"{",
"if",
"(",
"TT",
".",
"isPPC64",
"(",
")",
")",
"{",
"if",
"(",
"Name",
"==",
"\"R_PPC64_NONE\"",
")",
"return",
"FK_NONE",
... | [
"getFixupKind",
"-",
"Get",
"the",
"fixup",
"kind",
"of",
"this",
"expression",
"."
] | [
"PowerPC",
"PPC",
"PPC",
"\"R_PPC64_NONE\"",
"\"R_PPC_NONE\""
] | PPCAsmBackend35 | getFixupKind | PowerPC | CPU | LLVM | 16,907 | 53 | 1 | [] |
[
"<s>",
"bool",
"runOnModule",
"(",
"Module",
"&",
"M",
")",
"override",
"{",
"FeatureBitset",
"Features",
"=",
"coalesceFeatures",
"(",
"M",
")",
";",
"std",
"::",
"string",
"FeatureStr",
"=",
"getFeatureString",
"(",
"Features",
")",
";",
"for",
"(",
"aut... | [
"runOnModule",
"-",
"Virtual",
"method",
"overriden",
"by",
"subclasses",
"to",
"process",
"the",
"module",
"being",
"operated",
"on",
"."
] | [
"WebAssembly",
"WebAssembly::FeatureAtomics"
] | WebAssemblyTargetMachine27 | runOnModule | WebAssembly | Virtual ISA | LLVM | 16,908 | 86 | 1 | [] |
[
"<s>",
"virtual",
"const",
"char",
"*",
"getPassName",
"(",
")",
"const",
"{",
"return",
"\"R600 Texture Intrinsics Replacer\"",
";",
"}",
"</s>"
] | [
"getPassName",
"-",
"Return",
"a",
"nice",
"clean",
"name",
"for",
"a",
"pass",
"."
] | [
"R600",
"\"R600 Texture Intrinsics Replacer\""
] | R600TextureIntrinsicsReplacer2 | getPassName | R600 | GPU | LLVM | 16,909 | 13 | 1 | [] |
[
"<s>",
"bool",
"supportSwiftError",
"(",
")",
"const",
"override",
"{",
"return",
"true",
";",
"}",
"</s>"
] | [
"Return",
"true",
"if",
"the",
"target",
"supports",
"swifterror",
"attribute",
"."
] | [
"SystemZ"
] | SystemZISelLowering | supportSwiftError | SystemZ | CPU | LLVM | 16,910 | 11 | 1 | [] |
[
"<s>",
"bool",
"FISCFrameLowering",
"::",
"hasFP",
"(",
"const",
"MachineFunction",
"&",
"MF",
")",
"const",
"{",
"return",
"MF",
".",
"getTarget",
"(",
")",
".",
"Options",
".",
"DisableFramePointerElim",
"(",
"MF",
")",
"||",
"MF",
".",
"getFrameInfo",
"... | [
"hasFP",
"-",
"Return",
"true",
"if",
"the",
"specified",
"function",
"should",
"have",
"a",
"dedicated",
"frame",
"pointer",
"register",
"."
] | [
"FISC",
"FISC"
] | FISCFrameLowering | hasFP | FISC | CPU | LLVM | 16,911 | 37 | 1 | [] |
[
"<s>",
"Value",
"*",
"AArch64TargetLowering",
"::",
"getIRStackGuard",
"(",
"IRBuilder",
"<",
">",
"&",
"IRB",
")",
"const",
"{",
"if",
"(",
"Subtarget",
"->",
"isTargetAndroid",
"(",
")",
")",
"return",
"UseTlsOffset",
"(",
"IRB",
",",
"0x28",
")",
";",
... | [
"If",
"the",
"target",
"has",
"a",
"standard",
"location",
"for",
"the",
"stack",
"protector",
"cookie",
",",
"returns",
"the",
"address",
"of",
"that",
"location",
"."
] | [
"AArch64",
"AArch64",
"0x28",
"0x10"
] | AArch64ISelLowering (2)3 | getIRStackGuard | AArch64 | CPU | LLVM | 16,912 | 56 | 1 | [] |
[
"<s>",
"static",
"int",
"access_check",
"(",
"const",
"char",
"*",
"name",
",",
"int",
"mode",
")",
"{",
"if",
"(",
"mode",
"==",
"X_OK",
")",
"{",
"struct",
"stat",
"st",
";",
"if",
"(",
"stat",
"(",
"name",
",",
"&",
"st",
")",
"<",
"0",
"||"... | [
"Check",
"whether",
"NAME",
"can",
"be",
"accessed",
"in",
"MODE",
".",
"This",
"is",
"like",
"access",
",",
"except",
"that",
"it",
"never",
"considers",
"directories",
"to",
"be",
"executable",
"."
] | [
"nvptx",
"0",
"1"
] | mkoffload | access_check | nvptx | GPU | GCC | 16,913 | 57 | 1 | [] |
[
"<s>",
"void",
"ARCompactFrameLowering",
"::",
"emitPrologue",
"(",
"MachineFunction",
"&",
"MF",
")",
"const",
"{",
"MachineBasicBlock",
"&",
"MBB",
"=",
"MF",
".",
"front",
"(",
")",
";",
"MachineBasicBlock",
"::",
"iterator",
"MBBI",
"=",
"MBB",
".",
"beg... | [
"emitProlog/emitEpilog",
"-",
"These",
"methods",
"insert",
"prolog",
"and",
"epilog",
"code",
"into",
"the",
"function",
"."
] | [
"ARCompact",
"ARC",
"ARC",
"ARC",
"ARC",
"ARC",
"\"PROLOGUE START\"",
"3",
"3",
"ARC::SUBrsi",
"ARC::SP",
"ARC::SP",
"ARC::STrri_a",
"ARC::SP",
"ARC::BLINK",
"ARC::STrri_a",
"ARC::SP",
"ARC::FP",
"ARC::MOVrr",
"ARC::FP",
"ARC::SP",
"0",
"0x3",
"0",
"ARC::SUBrsi",
"A... | ARCompactFrameLowering | emitPrologue | ARCompact | MPU | LLVM | 16,914 | 365 | 1 | [] |
[
"<s>",
"bool",
"ARMPreAllocLoadStoreOpt",
"::",
"runOnMachineFunction",
"(",
"MachineFunction",
"&",
"Fn",
")",
"{",
"TD",
"=",
"Fn",
".",
"getTarget",
"(",
")",
".",
"getDataLayout",
"(",
")",
";",
"TII",
"=",
"Fn",
".",
"getTarget",
"(",
")",
".",
"get... | [
"runOnMachineFunction",
"-",
"Emit",
"the",
"function",
"body",
"."
] | [
"ARM",
"ARM",
"ARM"
] | ARMLoadStoreOptimizer16 | runOnMachineFunction | ARM | CPU | LLVM | 16,915 | 120 | 1 | [] |
[
"<s>",
"const",
"TPCTargetLowering",
"*",
"getTLI",
"(",
")",
"const",
"{",
"return",
"TLI",
";",
"}",
"</s>"
] | [
"Getter",
"for",
"generic",
"TargetLowering",
"class",
"."
] | [
"TPC",
"TPC"
] | TPCTargetTransformInfo | getTLI | TPC | Virtual ISA | LLVM | 16,916 | 12 | 1 | [] |
[
"<s>",
"const",
"DataLayout",
"*",
"getDataLayout",
"(",
")",
"const",
"override",
"{",
"return",
"getSubtargetImpl",
"(",
")",
"->",
"getDataLayout",
"(",
")",
";",
"}",
"</s>"
] | [
"Return",
"the",
"DataLayout",
"associated",
"with",
"the",
"module",
"this",
"SCEV",
"instance",
"is",
"operating",
"on",
"."
] | [
"NVPTX"
] | NVPTXTargetMachine | getDataLayout | NVPTX | GPU | LLVM | 16,917 | 19 | 1 | [] |
[
"<s>",
"static",
"void",
"nvptx_file_end",
"(",
"void",
")",
"{",
"hash_table",
"<",
"tree_hasher",
">",
"::",
"iterator",
"iter",
";",
"tree",
"decl",
";",
"FOR_EACH_HASH_TABLE_ELEMENT",
"(",
"*",
"needed_fndecls_htab",
",",
"decl",
",",
"tree",
",",
"iter",
... | [
"Write",
"out",
"the",
"function",
"declarations",
"we",
"'ve",
"collected",
"."
] | [
"nvptx",
"\"__nvptx_stacks\"",
"\".extern .shared .u%d __nvptx_stacks[32];\\n\"",
"\"__nvptx_uni\"",
"\".extern .shared .u32 __nvptx_uni[32];\\n\""
] | nvptx4 | nvptx_file_end | nvptx | GPU | GCC | 16,918 | 130 | 1 | [] |
[
"<s>",
"NVPTXSubtarget",
"::",
"NVPTXSubtarget",
"(",
"const",
"Triple",
"&",
"TT",
",",
"const",
"std",
"::",
"string",
"&",
"CPU",
",",
"const",
"std",
"::",
"string",
"&",
"FS",
",",
"const",
"NVPTXTargetMachine",
"&",
"TM",
")",
":",
"NVPTXGenSubtarget... | [
"This",
"constructor",
"initializes",
"the",
"data",
"members",
"to",
"match",
"that",
"of",
"the",
"specified",
"module",
"."
] | [
"NVPTX",
"NVPTX",
"NVPTX",
"NVPTX",
"NVPTX",
"0",
"20"
] | NVPTXSubtarget (2) | NVPTXSubtarget | NVPTX | GPU | LLVM | 16,919 | 74 | 1 | [] |
[
"<s>",
"bool",
"X86ExpandPseudo",
"::",
"runOnMachineFunction",
"(",
"MachineFunction",
"&",
"MF",
")",
"{",
"STI",
"=",
"&",
"MF",
".",
"getSubtarget",
"<",
"X86Subtarget",
">",
"(",
")",
";",
"TII",
"=",
"STI",
"->",
"getInstrInfo",
"(",
")",
";",
"TRI... | [
"runOnMachineFunction",
"-",
"Emit",
"the",
"function",
"body",
"."
] | [
"X86",
"X86",
"X86",
"X86",
"X86",
"X86"
] | X86ExpandPseudo11 | runOnMachineFunction | X86 | CPU | LLVM | 16,920 | 84 | 1 | [] |
[
"<s>",
"unsigned",
"WebAssemblyFastISel",
"::",
"signExtend",
"(",
"unsigned",
"Reg",
",",
"const",
"Value",
"*",
"V",
",",
"MVT",
"::",
"SimpleValueType",
"From",
",",
"MVT",
"::",
"SimpleValueType",
"To",
")",
"{",
"if",
"(",
"To",
"==",
"MVT",
"::",
"... | [
"Return",
"a",
"new",
"range",
"in",
"the",
"specified",
"integer",
"type",
",",
"which",
"must",
"be",
"strictly",
"larger",
"than",
"the",
"current",
"type",
"."
] | [
"WebAssembly",
"WebAssembly",
"MVT::SimpleValueType",
"MVT::SimpleValueType",
"MVT::i64",
"MVT::i64",
"WebAssembly::I64RegClass",
"WebAssembly::I64_EXTEND_S_I32"
] | WebAssemblyFastISel | signExtend | WebAssembly | Virtual ISA | LLVM | 16,921 | 114 | 1 | [] |
[
"<s>",
"bool",
"VETargetLowering",
"::",
"isOffsetFoldingLegal",
"(",
"const",
"GlobalAddressSDNode",
"*",
"GA",
")",
"const",
"{",
"return",
"false",
";",
"}",
"</s>"
] | [
"Return",
"true",
"if",
"folding",
"a",
"constant",
"offset",
"with",
"the",
"given",
"GlobalAddress",
"is",
"legal",
"."
] | [
"VE",
"VE"
] | VEISelLowering1 | isOffsetFoldingLegal | VE | CPU | LLVM | 16,922 | 16 | 1 | [] |
[
"<s>",
"static",
"enum",
"aarch64_parse_opt_result",
"aarch64_parse_arch",
"(",
"const",
"char",
"*",
"to_parse",
",",
"const",
"struct",
"processor",
"*",
"*",
"res",
",",
"uint64_t",
"*",
"isa_flags",
",",
"std",
"::",
"string",
"*",
"invalid_extension",
")",
... | [
"Parse",
"the",
"TO_PARSE",
"string",
"and",
"put",
"the",
"architecture",
"struct",
"that",
"it",
"selects",
"into",
"RES",
"and",
"the",
"architectural",
"features",
"into",
"ISA_FLAGS",
".",
"Return",
"an",
"aarch64_parse_opt_result",
"describing",
"the",
"pars... | [
"aarch64",
"0",
"0"
] | aarch64 | aarch64_parse_arch | aarch64 | CPU | GCC | 16,923 | 178 | 1 | [] |
[
"<s>",
"void",
"X86InstrInfo",
"::",
"breakPartialRegDependency",
"(",
"MachineBasicBlock",
"::",
"iterator",
"MI",
",",
"unsigned",
"OpNum",
",",
"const",
"TargetRegisterInfo",
"*",
"TRI",
")",
"const",
"{",
"unsigned",
"Reg",
"=",
"MI",
"->",
"getOperand",
"("... | [
"Insert",
"a",
"dependency-breaking",
"instruction",
"before",
"MI",
"to",
"eliminate",
"an",
"unwanted",
"dependency",
"on",
"OpNum",
"."
] | [
"X86",
"X86",
"X86::VR128RegClass",
"X86",
"X86::VXORPSrr",
"X86::XORPSrr",
"X86::VR256RegClass",
"X86::sub_xmm",
"X86::VXORPSrr"
] | X86InstrInfo (2) | breakPartialRegDependency | X86 | CPU | LLVM | 16,924 | 229 | 1 | [] |
[
"<s>",
"SmallPtrSetImpl",
"<",
"MachineBasicBlock",
"*",
">",
"&",
"getBlocksSet",
"(",
")",
"{",
"return",
"BlockSet",
";",
"}",
"</s>"
] | [
"Return",
"a",
"direct",
",",
"immutable",
"handle",
"to",
"the",
"blocks",
"set",
"."
] | [
"WebAssembly"
] | WebAssemblyExceptionInfo4 | getBlocksSet | WebAssembly | Virtual ISA | LLVM | 16,925 | 14 | 1 | [] |
[
"<s>",
"static",
"void",
"compute_zdepwi_operands",
"(",
"unsigned",
"HOST_WIDE_INT",
"imm",
",",
"unsigned",
"*",
"op",
")",
"{",
"int",
"lsb",
",",
"len",
";",
"for",
"(",
"lsb",
"=",
"0",
";",
"lsb",
"<",
"32",
";",
"lsb",
"++",
")",
"{",
"if",
... | [
"Compute",
"position",
"(",
"in",
"OP",
"[",
"1",
"]",
")",
"and",
"width",
"(",
"in",
"OP",
"[",
"2",
"]",
")",
"useful",
"for",
"copying",
"IMM",
"to",
"a",
"register",
"using",
"the",
"zdepi",
"instructions",
".",
"Store",
"the",
"immediate",
"val... | [
"pa",
"0",
"32",
"1",
"0",
"1",
"0x10",
"0",
"28",
"4",
"32",
"5",
"32",
"1",
"0",
"0xf",
"0x10",
"0",
"1",
"31",
"2"
] | pa | compute_zdepwi_operands | pa | CPU | GCC | 16,926 | 147 | 1 | [] |
[
"<s>",
"bool",
"X86AsmParser",
"::",
"parsePrimaryExpr",
"(",
"const",
"MCExpr",
"*",
"&",
"Res",
",",
"SMLoc",
"&",
"EndLoc",
")",
"{",
"MCAsmParser",
"&",
"Parser",
"=",
"getParser",
"(",
")",
";",
"if",
"(",
"getTok",
"(",
")",
".",
"is",
"(",
"As... | [
"Parse",
"a",
"primary",
"expression",
"."
] | [
"X86",
"X86",
"X86MCExpr::create"
] | X86AsmParser (2)5 | parsePrimaryExpr | X86 | CPU | LLVM | 16,927 | 128 | 1 | [] |
[
"<s>",
"int",
"AArch64AsmParser",
"::",
"tryParseRegister",
"(",
")",
"{",
"MCAsmParser",
"&",
"Parser",
"=",
"getParser",
"(",
")",
";",
"const",
"AsmToken",
"&",
"Tok",
"=",
"Parser",
".",
"getTok",
"(",
")",
";",
"assert",
"(",
"Tok",
".",
"is",
"("... | [
"tryParseRegister",
"-",
"parse",
"one",
"register",
"if",
"possible"
] | [
"AArch64",
"AArch64",
"\"Token is not an Identifier\"",
"1",
"0",
"\"fp\"",
"AArch64::FP",
"\"lr\"",
"AArch64::LR",
"\"x31\"",
"AArch64::XZR",
"\"w31\"",
"AArch64::WZR",
"0",
"0",
"1"
] | AArch64AsmParser59 | tryParseRegister | AArch64 | CPU | LLVM | 16,928 | 153 | 1 | [] |
[
"<s>",
"void",
"X86TargetLowering",
"::",
"computeKnownBitsForTargetNode",
"(",
"const",
"SDValue",
"Op",
",",
"APInt",
"&",
"KnownZero",
",",
"APInt",
"&",
"KnownOne",
",",
"const",
"SelectionDAG",
"&",
"DAG",
",",
"unsigned",
"Depth",
")",
"const",
"{",
"uns... | [
"Determine",
"which",
"of",
"the",
"bits",
"specified",
"in",
"Mask",
"are",
"known",
"to",
"be",
"either",
"zero",
"or",
"one",
"and",
"return",
"them",
"in",
"the",
"KnownZero/KnownOne",
"bitsets",
"."
] | [
"X86",
"X86",
"ISD::BUILTIN_OP_END",
"ISD::INTRINSIC_WO_CHAIN",
"ISD::INTRINSIC_W_CHAIN",
"ISD::INTRINSIC_VOID",
"\"Should use MaskedValueIsZero if you don't know whether Op\"",
"\" is a target node!\"",
"0",
"X86ISD::ADD",
"X86ISD::SUB",
"X86ISD::ADC",
"X86ISD::SBB",
"X86ISD::SMUL",
"X8... | X86ISelLowering115 | computeKnownBitsForTargetNode | X86 | CPU | LLVM | 16,929 | 355 | 1 | [] |
[
"<s>",
"StringRef",
"getPassName",
"(",
")",
"const",
"override",
"{",
"return",
"RISCV_MERGE_BASE_OFFSET_NAME",
";",
"}",
"</s>"
] | [
"getPassName",
"-",
"Return",
"a",
"nice",
"clean",
"name",
"for",
"a",
"pass",
"."
] | [
"RI5CY",
"RISCV"
] | RISCVMergeBaseOffset | getPassName | RI5CY | CPU | LLVM | 16,930 | 11 | 1 | [] |
[
"<s>",
"virtual",
"const",
"TargetSubtargetInfo",
"*",
"getSubtargetImpl",
"(",
"const",
"Function",
"&",
")",
"const",
"override",
"{",
"return",
"&",
"Subtarget",
";",
"}",
"</s>"
] | [
"Virtual",
"method",
"implemented",
"by",
"subclasses",
"that",
"returns",
"a",
"reference",
"to",
"that",
"target",
"'s",
"TargetSubtargetInfo-derived",
"member",
"variable",
"."
] | [
"FISC"
] | FISCTargetMachine | getSubtargetImpl | FISC | CPU | LLVM | 16,931 | 18 | 1 | [] |
[
"<s>",
"bool",
"ARMBaseInstrInfo",
"::",
"isPredicable",
"(",
"MachineInstr",
"&",
"MI",
")",
"const",
"{",
"if",
"(",
"!",
"MI",
".",
"isPredicable",
"(",
")",
")",
"return",
"false",
";",
"if",
"(",
"MI",
".",
"isBundle",
"(",
")",
")",
"return",
"... | [
"Return",
"true",
"if",
"the",
"specified",
"instruction",
"can",
"be",
"predicated",
"."
] | [
"ARM",
"ARM",
"ARM",
"ARM",
"ARMII::DomainMask",
"ARMII::DomainNEON"
] | ARMBaseInstrInfo63 | isPredicable | ARM | CPU | LLVM | 16,932 | 124 | 1 | [] |
[
"<s>",
"void",
"X86FrameLowering",
"::",
"eliminateCallFramePseudoInstr",
"(",
"MachineFunction",
"&",
"MF",
",",
"MachineBasicBlock",
"&",
"MBB",
",",
"MachineBasicBlock",
"::",
"iterator",
"I",
")",
"const",
"{",
"const",
"X86Subtarget",
"&",
"STI",
"=",
"MF",
... | [
"This",
"method",
"is",
"called",
"during",
"prolog/epilog",
"code",
"insertion",
"to",
"eliminate",
"call",
"frame",
"setup",
"and",
"destroy",
"pseudo",
"instructions",
"(",
"but",
"only",
"if",
"the",
"Target",
"is",
"using",
"them",
")",
"."
] | [
"X86",
"X86",
"X86",
"X86",
"X86",
"0",
"0",
"1",
"0",
"0",
"3",
"3"
] | X86FrameLowering109 | eliminateCallFramePseudoInstr | X86 | CPU | LLVM | 16,933 | 449 | 1 | [] |
[
"<s>",
"void",
"NVPTXAsmPrinter",
"::",
"EmitInstruction",
"(",
"const",
"MachineInstr",
"*",
"MI",
")",
"{",
"SmallString",
"<",
"128",
">",
"Str",
";",
"raw_svector_ostream",
"OS",
"(",
"Str",
")",
";",
"if",
"(",
"nvptxSubtarget",
".",
"getDrvInterface",
... | [
"EmitInstruction",
"-",
"This",
"callback",
"is",
"invoked",
"when",
"an",
"instruction",
"is",
"emitted",
",",
"to",
"advance",
"the",
"hazard",
"state",
"."
] | [
"NVPTX",
"NVPTX",
"128",
"NVPTX::CUDA"
] | NVPTXAsmPrinter10 | EmitInstruction | NVPTX | GPU | LLVM | 16,934 | 59 | 1 | [] |
[
"<s>",
"SDValue",
"AArch64TargetLowering",
"::",
"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",
"."
] | [
"AArch64",
"AArch64",
"ISD::ADD",
"ISD::SUB",
"ISD::XOR",
"ISD::MUL",
"ISD::SINT_TO_FP",
"ISD::UINT_TO_FP",
"ISD::OR",
"ISD::INTRINSIC_WO_CHAIN",
"ISD::ANY_EXTEND",
"ISD::ZERO_EXTEND",
"ISD::SIGN_EXTEND",
"ISD::BITCAST",
"ISD::CONCAT_VECTORS",
"ISD::SELECT",
"ISD::VSELECT",
"ISD::S... | AArch64ISelLowering23 | PerformDAGCombine | AArch64 | CPU | LLVM | 16,935 | 440 | 1 | [] |
[
"<s>",
"unsigned",
"SIInstrInfo",
"::",
"removeBranch",
"(",
"MachineBasicBlock",
"&",
"MBB",
",",
"int",
"*",
"BytesRemoved",
")",
"const",
"{",
"unsigned",
"Count",
"=",
"0",
";",
"unsigned",
"RemovedSize",
"=",
"0",
";",
"for",
"(",
"MachineInstr",
"&",
... | [
"Remove",
"the",
"branching",
"code",
"at",
"the",
"end",
"of",
"the",
"specific",
"MBB",
"."
] | [
"AMDGPU",
"SI",
"0",
"0"
] | SIInstrInfo11 | removeBranch | AMDGPU | GPU | LLVM | 16,936 | 89 | 1 | [] |
[
"<s>",
"void",
"TPCSchedStrategy",
"::",
"schedNode",
"(",
"SUnit",
"*",
"SU",
",",
"bool",
"IsTopNode",
")",
"{",
"MachineInstr",
"*",
"MI",
"=",
"SU",
"->",
"getInstr",
"(",
")",
";",
"(",
"void",
")",
"MI",
";",
"lastScheduledSU",
"=",
"SU",
";",
... | [
"ScheduleDAGMI",
"has",
"scheduled",
"an",
"instruction",
"-",
"tell",
"HazardRec",
"about",
"it",
"."
] | [
"TPC",
"TPC",
"\" ** TopReadyCycle = \"",
"\"\\n\"",
"\" ** BotReadyCycle = \"",
"\"\\n\""
] | TPCMachineScheduler | schedNode | TPC | Virtual ISA | LLVM | 16,937 | 106 | 1 | [] |
[
"<s>",
"void",
"rs6000_emit_epilogue_components",
"(",
"sbitmap",
"components",
")",
"{",
"rs6000_stack_t",
"*",
"info",
"=",
"rs6000_stack_info",
"(",
")",
";",
"rtx",
"ptr_reg",
"=",
"gen_rtx_REG",
"(",
"Pmode",
",",
"frame_pointer_needed_indeed",
"?",
"HARD_FRAME... | [
"Implement",
"TARGET_SHRINK_WRAP_EMIT_EPILOGUE_COMPONENTS",
"."
] | [
"rs6000",
"4",
"8",
"8",
"64",
"1",
"32",
"1",
"0",
"0",
"1"
] | rs6000-logue | rs6000_emit_epilogue_components | rs6000 | CPU | GCC | 16,938 | 336 | 1 | [] |
[
"<s>",
"const",
"InstrItineraryData",
"*",
"getInstrItineraryData",
"(",
")",
"const",
"override",
"{",
"return",
"&",
"InstrItins",
";",
"}",
"</s>"
] | [
"getInstrItineraryData",
"-",
"Returns",
"instruction",
"itinerary",
"data",
"for",
"the",
"target",
"or",
"specific",
"subtarget",
"."
] | [
"TPC"
] | TPCSubtarget | getInstrItineraryData | TPC | Virtual ISA | LLVM | 16,939 | 14 | 1 | [] |
[
"<s>",
"static",
"void",
"crx_compute_frame",
"(",
"void",
")",
"{",
"int",
"stack_alignment",
"=",
"STACK_BOUNDARY",
"/",
"BITS_PER_UNIT",
";",
"int",
"padding_locals",
";",
"local_vars_size",
"=",
"get_frame_size",
"(",
")",
";",
"padding_locals",
"=",
"local_va... | [
"Compute",
"the",
"size",
"of",
"the",
"local",
"area",
"and",
"the",
"size",
"to",
"be",
"adjusted",
"by",
"the",
"*",
"prologue",
"and",
"epilogue",
"."
] | [
"crx",
"0"
] | crx | crx_compute_frame | crx | CPU | GCC | 16,940 | 56 | 1 | [] |
[
"<s>",
"Register",
"MipsFunctionInfo",
"::",
"getGlobalBaseReg",
"(",
"MachineFunction",
"&",
"MF",
",",
"bool",
"IsForTls",
")",
"{",
"if",
"(",
"IsForTls",
")",
"UsesTlsViaGlobalReg",
"=",
"true",
";",
"else",
"assert",
"(",
"!",
"static_cast",
"<",
"const",... | [
"getGlobalBaseReg",
"-",
"Return",
"a",
"virtual",
"register",
"initialized",
"with",
"the",
"the",
"global",
"base",
"register",
"value",
"."
] | [
"Mips",
"Mips",
"Mips",
"\"$gp should only be used for TLS in cap-table mode\""
] | MipsMachineFunction24 | getGlobalBaseReg | Mips | CPU | LLVM | 16,941 | 72 | 1 | [] |
[
"<s>",
"static",
"void",
"avr_asm_init_sections",
"(",
"void",
")",
"{",
"if",
"(",
"avr_arch",
"->",
"flash_pm_offset",
"==",
"0",
")",
"readonly_data_section",
"->",
"unnamed",
".",
"callback",
"=",
"avr_output_data_section_asm_op",
";",
"data_section",
"->",
"u... | [
"Implement",
"`",
"TARGET_ASM_INIT_SECTIONS",
"'",
"."
] | [
"avr",
"0"
] | avr | avr_asm_init_sections | avr | MPU | GCC | 16,942 | 40 | 1 | [] |
[
"<s>",
"class",
"LLVM_LIBRARY_VISIBILITY",
"SystemZMCInstLower",
"{",
"MCContext",
"&",
"Ctx",
";",
"SystemZAsmPrinter",
"&",
"AsmPrinter",
";",
"public",
":",
"SystemZMCInstLower",
"(",
"MCContext",
"&",
"ctx",
",",
"SystemZAsmPrinter",
"&",
"asmPrinter",
")",
";",... | [
"Implementation",
"of",
"the",
"SCEVPredicate",
"interface",
"."
] | [
"SystemZ",
"SystemZ",
"SystemZ",
"SystemZ",
"SystemZ"
] | SystemZMCInstLower12 | getExpr | SystemZ | CPU | LLVM | 16,943 | 67 | 1 | [] |
[
"<s>",
"rtx",
"legitimize_pic_address",
"(",
"rtx",
"orig",
",",
"machine_mode",
"mode",
"ATTRIBUTE_UNUSED",
",",
"rtx",
"reg",
")",
"{",
"if",
"(",
"tls_symbolic_operand",
"(",
"orig",
",",
"Pmode",
")",
"!=",
"TLS_MODEL_NONE",
")",
"return",
"orig",
";",
"... | [
"Legitimize",
"PIC",
"addresses",
".",
"If",
"the",
"address",
"is",
"already",
"position-independent",
",",
"we",
"return",
"ORIG",
".",
"Newly",
"generated",
"position-independent",
"addresses",
"go",
"into",
"a",
"reg",
".",
"This",
"is",
"REG",
"if",
"nonz... | [
"sh"
] | sh4 | legitimize_pic_address | sh | CPU | GCC | 16,944 | 121 | 1 | [] |
[
"<s>",
"static",
"void",
"nios2_alternate_compare_const",
"(",
"enum",
"rtx_code",
"code",
",",
"rtx",
"op",
",",
"enum",
"rtx_code",
"*",
"alt_code",
",",
"rtx",
"*",
"alt_op",
",",
"machine_mode",
"mode",
")",
"{",
"HOST_WIDE_INT",
"opval",
"=",
"INTVAL",
... | [
"Return",
"in",
"*",
"ALT_CODE",
"and",
"*",
"ALT_OP",
",",
"an",
"alternate",
"equivalent",
"constant",
"comparison",
",",
"e.g",
".",
">",
"=",
"1",
"into",
">",
"0",
"."
] | [
"nios2",
"1",
"1",
"1",
"1",
"0"
] | nios22 | nios2_alternate_compare_const | nios2 | MPU | GCC | 16,945 | 171 | 1 | [] |
[
"<s>",
"void",
"PPCTargetLowering",
"::",
"computeKnownBitsForTargetNode",
"(",
"const",
"SDValue",
"Op",
",",
"APInt",
"&",
"KnownZero",
",",
"APInt",
"&",
"KnownOne",
",",
"const",
"SelectionDAG",
"&",
"DAG",
",",
"unsigned",
"Depth",
")",
"const",
"{",
"Kno... | [
"Determine",
"which",
"of",
"the",
"bits",
"specified",
"in",
"Mask",
"are",
"known",
"to",
"be",
"either",
"zero",
"or",
"one",
"and",
"return",
"them",
"in",
"the",
"KnownZero/KnownOne",
"bitsets",
"."
] | [
"PowerPC",
"PPC",
"0",
"PPCISD::LBRX",
"2",
"MVT::i16",
"0xFFFF0000",
"ISD::INTRINSIC_WO_CHAIN",
"0",
"Intrinsic::ppc_altivec_vcmpbfp_p",
"Intrinsic::ppc_altivec_vcmpeqfp_p",
"Intrinsic::ppc_altivec_vcmpequb_p",
"Intrinsic::ppc_altivec_vcmpequh_p",
"Intrinsic::ppc_altivec_vcmpequw_p",
"I... | PPCISelLowering148 | computeKnownBitsForTargetNode | PowerPC | CPU | LLVM | 16,946 | 197 | 1 | [] |
[
"<s>",
"X86Subtarget",
"::",
"X86Subtarget",
"(",
"const",
"std",
"::",
"string",
"&",
"TT",
",",
"const",
"std",
"::",
"string",
"&",
"CPU",
",",
"const",
"std",
"::",
"string",
"&",
"FS",
",",
"unsigned",
"StackAlignOverride",
",",
"bool",
"is64Bit",
"... | [
"This",
"constructor",
"initializes",
"the",
"data",
"members",
"to",
"match",
"that",
"of",
"the",
"specified",
"triple",
"."
] | [
"X86",
"X86",
"X86",
"X86",
"X86",
"X86",
"X86",
"X86",
"4",
"128",
"\"generic\"",
"\"+64bit,+sse2,\"",
"\"+64bit,+sse2\"",
"\"generic\"",
"X86",
"X86::Feature64Bit",
"X86::FeatureCMOV",
"X86",
"X86",
"X86::FeatureSSE1",
"X86::FeatureSSE2",
"X86",
"X86::Mode64Bit",
"\"S... | X86Subtarget31 | X86Subtarget | X86 | CPU | LLVM | 16,947 | 475 | 1 | [] |
[
"<s>",
"bool",
"X86TargetLowering",
"::",
"isNarrowingProfitable",
"(",
"MVT",
"VT1",
",",
"MVT",
"VT2",
")",
"const",
"{",
"return",
"!",
"(",
"VT1",
"==",
"MVT",
"::",
"i32",
"&&",
"VT2",
"==",
"MVT",
"::",
"i16",
")",
";",
"}",
"</s>"
] | [
"Return",
"true",
"if",
"it",
"'s",
"profitable",
"to",
"narrow",
"operations",
"of",
"type",
"SrcVT",
"to",
"DestVT",
"."
] | [
"X86",
"X86",
"MVT::i32",
"MVT::i16"
] | X86ISelLowering77 | isNarrowingProfitable | X86 | CPU | LLVM | 16,948 | 30 | 1 | [] |
[
"<s>",
"MCSymbol",
"*",
"ARM64MCInstLower",
"::",
"GetExternalSymbolSymbol",
"(",
"const",
"MachineOperand",
"&",
"MO",
")",
"const",
"{",
"return",
"Printer",
".",
"GetExternalSymbolSymbol",
"(",
"MO",
".",
"getSymbolName",
"(",
")",
")",
";",
"}",
"</s>"
] | [
"Return",
"the",
"MCSymbol",
"for",
"the",
"specified",
"ExternalSymbol",
"."
] | [
"ARM64",
"ARM64"
] | ARM64MCInstLower | GetExternalSymbolSymbol | ARM64 | CPU | LLVM | 16,949 | 26 | 1 | [] |
[
"<s>",
"bool",
"ARMAsmBackend",
"::",
"fixupNeedsRelaxation",
"(",
"const",
"MCFixup",
"&",
"Fixup",
",",
"uint64_t",
"Value",
",",
"const",
"MCInstFragment",
"*",
"DF",
",",
"const",
"MCAsmLayout",
"&",
"Layout",
")",
"const",
"{",
"switch",
"(",
"(",
"unsi... | [
"Simple",
"predicate",
"for",
"targets",
"where",
"!",
"Resolved",
"implies",
"requiring",
"relaxation",
"."
] | [
"ARM",
"ARM",
"ARM::fixup_arm_thumb_bcc",
"4",
"254",
"256",
"ARM::fixup_thumb_adr_pcrel_10",
"ARM::fixup_arm_thumb_cp",
"4",
"1020",
"0",
"3",
"\"Unexpected fixup kind in fixupNeedsRelaxation()!\""
] | ARMAsmBackend49 | fixupNeedsRelaxation | ARM | CPU | LLVM | 16,950 | 106 | 1 | [] |
[
"<s>",
"static",
"int",
"const_ok_for_op",
"(",
"HOST_WIDE_INT",
"i",
",",
"enum",
"rtx_code",
"code",
")",
"{",
"if",
"(",
"const_ok_for_arm",
"(",
"i",
")",
")",
"return",
"1",
";",
"switch",
"(",
"code",
")",
"{",
"case",
"PLUS",
":",
"return",
"con... | [
"Return",
"true",
"if",
"I",
"is",
"a",
"valid",
"constant",
"for",
"the",
"operation",
"CODE",
"."
] | [
"arm",
"1",
"0"
] | arm3 | const_ok_for_op | arm | CPU | GCC | 16,951 | 73 | 1 | [] |
[
"<s>",
"void",
"SHUXIFrameLowering",
"::",
"emitEpilogue",
"(",
"MachineFunction",
"&",
"MF",
",",
"MachineBasicBlock",
"&",
"MBB",
")",
"const",
"{",
"}",
"</s>"
] | [
"Insert",
"epilog",
"code",
"into",
"the",
"function",
"."
] | [
"SHUXI",
"SHUXI"
] | SHUXIFrameLowering | emitEpilogue | SHUXI | CPU | LLVM | 16,952 | 16 | 1 | [] |
[
"<s>",
"bool",
"HexagonInstrInfo",
"::",
"isValidOffset",
"(",
"const",
"int",
"Opcode",
",",
"const",
"int",
"Offset",
")",
"const",
"{",
"switch",
"(",
"Opcode",
")",
"{",
"case",
"Hexagon",
"::",
"LDriw",
":",
"case",
"Hexagon",
"::",
"STriw",
":",
"c... | [
"Test",
"the",
"validity",
"of",
"offset",
"."
] | [
"Hexagon",
"Hexagon",
"Hexagon::LDriw",
"Hexagon::STriw",
"Hexagon::STriwt",
"4",
"0",
"\"Offset has incorrect alignment\"",
"Hexagon",
"Hexagon",
"Hexagon::LDrid",
"Hexagon::STrid",
"8",
"0",
"\"Offset has incorrect alignment\"",
"Hexagon",
"Hexagon",
"Hexagon::LDrih",
"Hexagon:... | HexagonInstrInfo57 | isValidOffset | Hexagon | DSP | LLVM | 16,953 | 507 | 1 | [] |
[
"<s>",
"static",
"void",
"arm_trampoline_init",
"(",
"rtx",
"m_tramp",
",",
"tree",
"fndecl",
",",
"rtx",
"chain_value",
")",
"{",
"rtx",
"fnaddr",
",",
"mem",
",",
"a_tramp",
";",
"emit_block_move",
"(",
"m_tramp",
",",
"assemble_trampoline_template",
"(",
")... | [
"Emit",
"RTL",
"insns",
"to",
"initialize",
"the",
"variable",
"parts",
"of",
"a",
"trampoline",
"."
] | [
"arm",
"8",
"12",
"12",
"16",
"0",
"0",
"\"__clear_cache\""
] | arm7 | arm_trampoline_init | arm | CPU | GCC | 16,954 | 132 | 1 | [] |
[
"<s>",
"static",
"int",
"v850_arg_partial_bytes",
"(",
"CUMULATIVE_ARGS",
"*",
"cum",
",",
"enum",
"machine_mode",
"mode",
",",
"tree",
"type",
",",
"bool",
"named",
")",
"{",
"int",
"size",
",",
"align",
";",
"if",
"(",
"TARGET_GHS",
"&&",
"!",
"named",
... | [
"Return",
"the",
"number",
"of",
"bytes",
"which",
"must",
"be",
"put",
"into",
"registers",
"for",
"values",
"which",
"are",
"part",
"in",
"registers",
"and",
"part",
"in",
"memory",
"."
] | [
"v850",
"0",
"1",
"1",
"4",
"0",
"4",
"0",
"4",
"0",
"4"
] | v8503 | v850_arg_partial_bytes | v850 | MPU | GCC | 16,955 | 151 | 1 | [] |
[
"<s>",
"bool",
"X86InstrInfo",
"::",
"restoreCalleeSavedRegisters",
"(",
"MachineBasicBlock",
"&",
"MBB",
",",
"MachineBasicBlock",
"::",
"iterator",
"MI",
",",
"const",
"std",
"::",
"vector",
"<",
"CalleeSavedInfo",
">",
"&",
"CSI",
")",
"const",
"{",
"if",
"... | [
"restoreCalleeSavedRegisters",
"-",
"Issues",
"instruction",
"(",
"s",
")",
"to",
"restore",
"all",
"callee",
"saved",
"registers",
"and",
"returns",
"true",
"if",
"it",
"is",
"n't",
"possible",
"/",
"profitable",
"to",
"do",
"so",
"by",
"issuing",
"a",
"ser... | [
"X86",
"X86",
"X86",
"X86::POP64r",
"X86::POP32r",
"0"
] | X86InstrInfo101 | restoreCalleeSavedRegisters | X86 | CPU | LLVM | 16,956 | 149 | 1 | [] |
[
"<s>",
"void",
"X86TargetLowering",
"::",
"insertSSPDeclarations",
"(",
"Module",
"&",
"M",
")",
"const",
"{",
"if",
"(",
"Subtarget",
".",
"getTargetTriple",
"(",
")",
".",
"isWindowsMSVCEnvironment",
"(",
")",
"||",
"Subtarget",
".",
"getTargetTriple",
"(",
... | [
"Inserts",
"necessary",
"declarations",
"for",
"SSP",
"(",
"stack",
"protection",
")",
"purpose",
"."
] | [
"X86",
"X86",
"\"__security_cookie\"",
"\"__security_check_cookie\"",
"X86",
"1"
] | X86ISelLowering101 | insertSSPDeclarations | X86 | CPU | LLVM | 16,957 | 179 | 1 | [] |
[
"<s>",
"const",
"char",
"*",
"TOYTargetLowering",
"::",
"getTargetNodeName",
"(",
"unsigned",
"Opcode",
")",
"const",
"{",
"switch",
"(",
"Opcode",
")",
"{",
"default",
":",
"return",
"0",
";",
"case",
"TOYISD",
"::",
"CALL",
":",
"return",
"\"TOYISD::CALL\"... | [
"getTargetNodeName",
"-",
"This",
"method",
"returns",
"the",
"name",
"of",
"a",
"target",
"specific"
] | [
"TOY",
"TOY",
"0",
"TOYISD::CALL",
"\"TOYISD::CALL\"",
"TOYISD::BR_CC",
"\"TOYISD::BR_CC\"",
"TOYISD::CMPEQ",
"\"TOYISD::CMPEQ\"",
"TOYISD::CMPNE",
"\"TOYISD::CMPNE\"",
"TOYISD::CMPLT",
"\"TOYISD::CMPLT\"",
"TOYISD::CMPLE",
"\"TOYISD::CMPLE\"",
"TOYISD::CMPGT",
"\"TOYISD::CMPGT\"",
... | TOYISelDAGToDAG | getTargetNodeName | TOY | CPU | LLVM | 16,958 | 96 | 1 | [] |
[
"<s>",
"virtual",
"const",
"X86Subtarget",
"*",
"getSubtargetImpl",
"(",
")",
"const",
"{",
"return",
"&",
"Subtarget",
";",
"}",
"</s>"
] | [
"Virtual",
"method",
"implemented",
"by",
"subclasses",
"that",
"returns",
"a",
"reference",
"to",
"that",
"target",
"'s",
"TargetSubtargetInfo-derived",
"member",
"variable",
"."
] | [
"X86",
"X86"
] | X86TargetMachine13 | getSubtargetImpl | X86 | CPU | LLVM | 16,959 | 14 | 1 | [] |
[
"<s>",
"bool",
"tilepro_expand_addsi",
"(",
"rtx",
"op0",
",",
"rtx",
"op1",
",",
"rtx",
"op2",
")",
"{",
"rtx",
"temp",
";",
"HOST_WIDE_INT",
"n",
";",
"HOST_WIDE_INT",
"high",
";",
"if",
"(",
"add_operand",
"(",
"op2",
",",
"SImode",
")",
")",
"retur... | [
"Implement",
"the",
"addsi3",
"pattern",
"."
] | [
"tilepro",
"0x8000",
"0xffff"
] | tilepro | tilepro_expand_addsi | tilepro | VLIW | GCC | 16,960 | 116 | 1 | [] |
[
"<s>",
"unsigned",
"HexagonTTIImpl",
"::",
"getArithmeticInstrCost",
"(",
"unsigned",
"Opcode",
",",
"Type",
"*",
"Ty",
",",
"TTI",
"::",
"OperandValueKind",
"Opd1Info",
",",
"TTI",
"::",
"OperandValueKind",
"Opd2Info",
",",
"TTI",
"::",
"OperandValueProperties",
... | [
"This",
"is",
"an",
"approximation",
"of",
"reciprocal",
"throughput",
"of",
"a",
"math/logic",
"op",
"."
] | [
"Hexagon",
"Hexagon"
] | HexagonTargetTransformInfo12 | getArithmeticInstrCost | Hexagon | DSP | LLVM | 16,961 | 62 | 1 | [] |
[
"<s>",
"static",
"void",
"add_constant",
"(",
"int",
"dest",
",",
"int",
"src",
",",
"int",
"value",
",",
"int",
"mark_frame",
")",
"{",
"rtx_insn",
"*",
"insn",
";",
"int",
"hi",
",",
"lo",
";",
"if",
"(",
"src",
"==",
"dest",
"&&",
"value",
"==",... | [
"Add",
"a",
"constant",
"to",
"the",
"pool",
"and",
"return",
"its",
"label",
"."
] | [
"mep",
"0",
"0",
"1",
"32768",
"32767",
"1",
"0xffff0000",
"0xffff",
"1"
] | mep | add_constant | mep | CPU | GCC | 16,962 | 277 | 1 | [] |
[
"<s>",
"bool",
"BlackfinAsmPrinter",
"::",
"runOnMachineFunction",
"(",
"MachineFunction",
"&",
"MF",
")",
"{",
"SetupMachineFunction",
"(",
"MF",
")",
";",
"EmitConstantPool",
"(",
"MF",
".",
"getConstantPool",
"(",
")",
")",
";",
"EmitJumpTableInfo",
"(",
"MF"... | [
"runOnMachineFunction",
"-",
"Emit",
"the",
"function",
"body",
"."
] | [
"Blackfin",
"2",
"\"\\t.type\\t\"",
"\", STT_FUNC\\n\"",
"\":\\n\"",
"\"\\t.size \"",
"\", .-\"",
"\"\\n\""
] | BlackfinAsmPrinter1 | runOnMachineFunction | Blackfin | DSP | LLVM | 16,963 | 252 | 1 | [] |
[
"<s>",
"bool",
"X86IndirectThunks",
"::",
"doInitialization",
"(",
"Module",
"&",
"M",
")",
"{",
"initTIs",
"(",
"M",
",",
"TIs",
")",
";",
"return",
"false",
";",
"}",
"</s>"
] | [
"Set",
"up",
"the",
"AsmPrinter",
"when",
"we",
"are",
"working",
"on",
"a",
"new",
"module",
"."
] | [
"X86",
"X86"
] | X86IndirectThunks | doInitialization | X86 | CPU | LLVM | 16,964 | 21 | 1 | [] |
[
"<s>",
"bool",
"AMDGPUAnnotateUniformValues",
"::",
"runOnFunction",
"(",
"Function",
"&",
"F",
")",
"{",
"if",
"(",
"skipFunction",
"(",
"F",
")",
")",
"return",
"false",
";",
"DA",
"=",
"&",
"getAnalysis",
"<",
"DivergenceAnalysis",
">",
"(",
")",
";",
... | [
"runOnFunction",
"-",
"Virtual",
"method",
"overriden",
"by",
"subclasses",
"to",
"do",
"the",
"per-function",
"processing",
"of",
"the",
"pass",
"."
] | [
"AMDGPU",
"AMDGPU",
"AMDGPU"
] | AMDGPUAnnotateUniformValues17 | runOnFunction | AMDGPU | GPU | LLVM | 16,965 | 85 | 1 | [] |
[
"<s>",
"static",
"bool",
"bpf_core_is_maybe_aggregate_access",
"(",
"tree",
"expr",
")",
"{",
"switch",
"(",
"TREE_CODE",
"(",
"expr",
")",
")",
"{",
"case",
"COMPONENT_REF",
":",
"case",
"BIT_FIELD_REF",
":",
"case",
"ARRAY_REF",
":",
"case",
"ARRAY_RANGE_REF",... | [
"Return",
"whether",
"EXPR",
"could",
"access",
"some",
"aggregate",
"data",
"structure",
"that",
"BPF",
"CO-RE",
"support",
"needs",
"to",
"know",
"about",
"."
] | [
"bpf",
"0"
] | bpf1 | bpf_core_is_maybe_aggregate_access | bpf | Virtual ISA | GCC | 16,966 | 55 | 1 | [] |
[
"<s>",
"OperandMatchResultTy",
"BPFAsmParser",
"::",
"tryParseRegister",
"(",
"unsigned",
"&",
"RegNo",
",",
"SMLoc",
"&",
"StartLoc",
",",
"SMLoc",
"&",
"EndLoc",
")",
"{",
"const",
"AsmToken",
"&",
"Tok",
"=",
"getParser",
"(",
")",
".",
"getTok",
"(",
"... | [
"tryParseRegister",
"-",
"parse",
"one",
"register",
"if",
"possible"
] | [
"BPF",
"BPF",
"0"
] | BPFAsmParser1 | tryParseRegister | BPF | Virtual ISA | LLVM | 16,967 | 91 | 1 | [] |
[
"<s>",
"uint64_t",
"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",
"PPC",
"PPC",
"PPC",
"0"
] | PPCFrameLowering16 | determineFrameLayout | PowerPC | CPU | LLVM | 16,968 | 261 | 1 | [] |
[
"<s>",
"static",
"void",
"ix86_add_new_builtins",
"(",
"HOST_WIDE_INT",
"isa",
")",
"{",
"if",
"(",
"(",
"isa",
"&",
"deferred_isa_values",
")",
"==",
"0",
")",
"return",
";",
"deferred_isa_values",
"&=",
"~",
"isa",
";",
"int",
"i",
";",
"tree",
"saved_cu... | [
"Add",
"any",
"new",
"builtin",
"functions",
"for",
"a",
"given",
"ISA",
"that",
"may",
"not",
"have",
"been",
"declared",
".",
"This",
"saves",
"a",
"bit",
"of",
"space",
"compared",
"to",
"adding",
"all",
"of",
"the",
"declarations",
"to",
"the",
"tree... | [
"i386",
"0",
"0",
"0",
"1",
"\"leaf\"",
"1"
] | i3864 | ix86_add_new_builtins | i386 | CPU | GCC | 16,969 | 195 | 1 | [] |
[
"<s>",
"static",
"const",
"char",
"*",
"ptrreg_to_str",
"(",
"int",
"regno",
")",
"{",
"switch",
"(",
"regno",
")",
"{",
"case",
"REG_X",
":",
"return",
"\"X\"",
";",
"case",
"REG_Y",
":",
"return",
"\"Y\"",
";",
"case",
"REG_Z",
":",
"return",
"\"Z\""... | [
"Return",
"a",
"pointer",
"register",
"name",
"as",
"a",
"string"
] | [
"avr",
"\"X\"",
"\"Y\"",
"\"Z\"",
"\"address operand requires constraint for\"",
"\" X, Y, or Z register\""
] | avr | ptrreg_to_str | avr | MPU | GCC | 16,970 | 46 | 1 | [] |
[
"<s>",
"void",
"Z80InstPrinterBase",
"::",
"printInst",
"(",
"const",
"MCInst",
"*",
"MI",
",",
"raw_ostream",
"&",
"OS",
",",
"StringRef",
"Annot",
",",
"const",
"MCSubtargetInfo",
"&",
"STI",
")",
"{",
"printInstruction",
"(",
"MI",
",",
"OS",
")",
";",
... | [
"Print",
"the",
"specified",
"MCInst",
"to",
"the",
"specified",
"raw_ostream",
"."
] | [
"Z80",
"Z80"
] | Z80InstPrinterBase | printInst | Z80 | MPU | LLVM | 16,971 | 38 | 1 | [] |
[
"<s>",
"static",
"bool",
"sparc_handle_option",
"(",
"size_t",
"code",
",",
"const",
"char",
"*",
"arg",
",",
"int",
"value",
"ATTRIBUTE_UNUSED",
")",
"{",
"switch",
"(",
"code",
")",
"{",
"case",
"OPT_mfpu",
":",
"case",
"OPT_mhard_float",
":",
"case",
"O... | [
"Implement",
"TARGET_HANDLE_OPTION",
"."
] | [
"sparc",
"1",
"2"
] | sparc3 | sparc_handle_option | sparc | CPU | GCC | 16,972 | 70 | 1 | [] |
[
"<s>",
"static",
"void",
"unicosmk_output_dex",
"(",
"FILE",
"*",
"file",
")",
"{",
"struct",
"unicosmk_dex",
"*",
"dex",
";",
"int",
"i",
";",
"if",
"(",
"unicosmk_dex_list",
"==",
"NULL",
")",
"return",
";",
"fprintf",
"(",
"file",
",",
"\"\\t.dexstart\\... | [
"Output",
"the",
"DEX",
"definitions",
"for",
"this",
"file",
"."
] | [
"alpha",
"\"\\t.dexstart\\n\"",
"\"\\tDEX (%d) = \"",
"\"\\t.dexend\\n\""
] | alpha3 | unicosmk_output_dex | alpha | MPU | GCC | 16,973 | 88 | 1 | [] |
[
"<s>",
"static",
"void",
"s390_chunkify_finish",
"(",
"struct",
"constant_pool",
"*",
"pool_list",
")",
"{",
"struct",
"constant_pool",
"*",
"curr_pool",
"=",
"NULL",
";",
"rtx_insn",
"*",
"insn",
";",
"for",
"(",
"insn",
"=",
"get_insns",
"(",
")",
";",
"... | [
"POOL_LIST",
"is",
"a",
"chunk",
"list",
"as",
"prepared",
"by",
"s390_chunkify_start",
".",
"After",
"we",
"have",
"decided",
"to",
"use",
"this",
"list",
",",
"finish",
"implementing",
"all",
"changes",
"to",
"the",
"current",
"function",
"as",
"required",
... | [
"s390",
"1",
"0"
] | s3904 | s390_chunkify_finish | s390 | MPU | GCC | 16,974 | 211 | 1 | [] |
[
"<s>",
"void",
"Cpu0AsmPrinter",
"::",
"EmitInstruction",
"(",
"const",
"MachineInstr",
"*",
"MI",
")",
"{",
"if",
"(",
"MI",
"->",
"isDebugValue",
"(",
")",
")",
"{",
"SmallString",
"<",
"128",
">",
"Str",
";",
"raw_svector_ostream",
"OS",
"(",
"Str",
"... | [
"EmitInstruction",
"-",
"This",
"callback",
"is",
"invoked",
"when",
"an",
"instruction",
"is",
"emitted",
",",
"to",
"advance",
"the",
"hazard",
"state",
"."
] | [
"Cpu0",
"Cpu0",
"128",
"Cpu0::CPRESTORE",
"\"Pseudo opcode found in EmitInstruction()\""
] | Cpu0AsmPrinter | EmitInstruction | Cpu0 | CPU | LLVM | 16,975 | 176 | 1 | [] |
[
"<s>",
"SDNode",
"*",
"MSP430TargetLowering",
"::",
"LowerCallResult",
"(",
"SDValue",
"Chain",
",",
"SDValue",
"InFlag",
",",
"CallSDNode",
"*",
"TheCall",
",",
"unsigned",
"CallingConv",
",",
"SelectionDAG",
"&",
"DAG",
")",
"{",
"bool",
"isVarArg",
"=",
"Th... | [
"LowerCallResult",
"-",
"Lower",
"the",
"result",
"values",
"of",
"an",
"ISD",
":",
":CALL",
"into",
"the",
"appropriate",
"copies",
"out",
"of",
"appropriate",
"physical",
"registers",
"."
] | [
"MSP430",
"MSP430",
"16",
"MSP430",
"8",
"0",
"1",
"2",
"0",
"ISD::MERGE_VALUES",
"0"
] | MSP430ISelLowering22 | LowerCallResult | MSP430 | MPU | LLVM | 16,976 | 200 | 1 | [] |
[
"<s>",
"bool",
"Cpu0InstrInfo",
"::",
"expandPostRAPseudo",
"(",
"MachineBasicBlock",
"::",
"iterator",
"MI",
")",
"const",
"{",
"MachineBasicBlock",
"&",
"MBB",
"=",
"*",
"MI",
"->",
"getParent",
"(",
")",
";",
"switch",
"(",
"MI",
"->",
"getDesc",
"(",
"... | [
"This",
"function",
"is",
"called",
"for",
"all",
"pseudo",
"instructions",
"that",
"remain",
"after",
"register",
"allocation",
"."
] | [
"Cpu0",
"Cpu0"
] | Cpu0InstrInfo1 | expandPostRAPseudo | Cpu0 | CPU | LLVM | 16,977 | 53 | 1 | [] |
[
"<s>",
"SDValue",
"AMDGPUTargetLowering",
"::",
"CreateLiveInRegister",
"(",
"SelectionDAG",
"&",
"DAG",
",",
"const",
"TargetRegisterClass",
"*",
"RC",
",",
"unsigned",
"Reg",
",",
"EVT",
"VT",
",",
"const",
"SDLoc",
"&",
"SL",
",",
"bool",
"RawReg",
")",
"... | [
"Helper",
"function",
"that",
"adds",
"Reg",
"to",
"the",
"LiveIn",
"list",
"of",
"the",
"DAG",
"'s",
"MachineFunction",
"."
] | [
"AMDGPU",
"AMDGPU"
] | AMDGPUISelLowering (2)2 | CreateLiveInRegister | AMDGPU | GPU | LLVM | 16,978 | 128 | 1 | [] |
[
"<s>",
"bool",
"NyuziAsmParser",
"::",
"ParseDirective",
"(",
"AsmToken",
"DirectiveID",
")",
"{",
"return",
"true",
";",
"}",
"</s>"
] | [
"ParseDirective",
"-",
"Parse",
"a",
"target",
"specific",
"assembler",
"directive",
"This",
"method",
"is",
"deprecated",
",",
"use",
"'parseDirective",
"'",
"instead",
"."
] | [
"Nyuzi",
"Nyuzi"
] | NyuziAsmParser | ParseDirective | Nyuzi | GPU | LLVM | 16,979 | 13 | 1 | [] |
[
"<s>",
"void",
"XCoreRegisterInfo",
"::",
"eliminateFrameIndex",
"(",
"MachineBasicBlock",
"::",
"iterator",
"II",
",",
"int",
"SPAdj",
",",
"unsigned",
"FIOperandNum",
",",
"RegScavenger",
"*",
"RS",
")",
"const",
"{",
"assert",
"(",
"SPAdj",
"==",
"0",
"&&",... | [
"This",
"method",
"must",
"be",
"overriden",
"to",
"eliminate",
"abstract",
"frame",
"indices",
"from",
"instructions",
"which",
"may",
"use",
"them",
"."
] | [
"XCore",
"XCore",
"0",
"\"Unexpected\"",
"XCore",
"XCore",
"XCore",
"\"\\nFunction : \"",
"\"\\n\"",
"\"<--------->\\n\"",
"\"FrameIndex : \"",
"\"\\n\"",
"\"FrameOffset : \"",
"\"\\n\"",
"\"StackSize : \"",
"\"\\n\"",
"1",
"1",
"1",
"0",
"4",
... | XCoreRegisterInfo30 | eliminateFrameIndex | XCore | MPU | LLVM | 16,980 | 451 | 1 | [] |
[
"<s>",
"const",
"char",
"*",
"CAHPTargetLowering",
"::",
"getTargetNodeName",
"(",
"unsigned",
"Opcode",
")",
"const",
"{",
"switch",
"(",
"(",
"CAHPISD",
"::",
"NodeType",
")",
"Opcode",
")",
"{",
"case",
"CAHPISD",
"::",
"FIRST_NUMBER",
":",
"break",
";",
... | [
"getTargetNodeName",
"-",
"This",
"method",
"returns",
"the",
"name",
"of",
"a",
"target",
"specific"
] | [
"CAHP",
"CAHP",
"CAHPISD::NodeType",
"CAHPISD::FIRST_NUMBER",
"CAHPISD::BR_CC",
"\"CAHPISD::BR_CC\"",
"CAHPISD::CALL",
"\"CAHPISD::CALL\"",
"CAHPISD::SELECT_CC",
"\"CAHPISD::SELECT_CC\"",
"CAHPISD::RET_FLAG",
"\"CAHPISD::RET_FLAG\""
] | CAHPISelLowering | getTargetNodeName | CAHP | CPU | LLVM | 16,981 | 66 | 1 | [] |
[
"<s>",
"const",
"char",
"*",
"getPassName",
"(",
")",
"const",
"override",
"{",
"return",
"\"AMDGPU OpenCL Image Type Pass\"",
";",
"}",
"</s>"
] | [
"getPassName",
"-",
"Return",
"a",
"nice",
"clean",
"name",
"for",
"a",
"pass",
"."
] | [
"AMDGPU",
"\"AMDGPU OpenCL Image Type Pass\""
] | AMDGPUOpenCLImageTypeLoweringPass | getPassName | AMDGPU | GPU | LLVM | 16,982 | 13 | 1 | [] |
[
"<s>",
"static",
"bool",
"must_reload_pic_reg_p",
"(",
"void",
")",
"{",
"if",
"(",
"!",
"TARGET_DSBT",
")",
"return",
"false",
";",
"cgraph_node",
"*",
"local_info_node",
"=",
"cgraph_node",
"::",
"local_info_node",
"(",
"current_function_decl",
")",
";",
"if",... | [
"Return",
"true",
"if",
"we",
"need",
"to",
"save",
"and",
"modify",
"the",
"PIC",
"register",
"in",
"the",
"prologue",
"."
] | [
"c6x"
] | c6x | must_reload_pic_reg_p | c6x | VLIW | GCC | 16,983 | 51 | 1 | [] |
[
"<s>",
"unsigned",
"int",
"rs6000_special_round_type_align",
"(",
"tree",
"type",
",",
"unsigned",
"int",
"computed",
",",
"unsigned",
"int",
"specified",
")",
"{",
"unsigned",
"int",
"align",
"=",
"MAX",
"(",
"computed",
",",
"specified",
")",
";",
"tree",
... | [
"Darwin",
",",
"AIX",
"increases",
"natural",
"record",
"alignment",
"to",
"doubleword",
"if",
"the",
"first",
"field",
"is",
"an",
"FP",
"double",
"while",
"the",
"FP",
"fields",
"remain",
"word",
"aligned",
"."
] | [
"powerpcspe",
"64"
] | powerpcspe | rs6000_special_round_type_align | powerpcspe | CPU | GCC | 16,984 | 116 | 1 | [] |
[
"<s>",
"Register",
"(",
"const",
"MachineOperand",
"&",
"MO",
")",
":",
"R",
"(",
"MO",
".",
"getReg",
"(",
")",
")",
",",
"S",
"(",
"MO",
".",
"getSubReg",
"(",
")",
")",
"{",
"}",
"</s>"
] | [
"Base",
"register",
"."
] | [
"Hexagon"
] | HexagonGenPredicate (2) | Register | Hexagon | DSP | LLVM | 16,985 | 27 | 1 | [] |
[
"<s>",
"virtual",
"const",
"char",
"*",
"getPassName",
"(",
")",
"const",
"{",
"return",
"\"ARM Machine Code Emitter\"",
";",
"}",
"</s>"
] | [
"getPassName",
"-",
"Return",
"a",
"nice",
"clean",
"name",
"for",
"a",
"pass",
"."
] | [
"ARM",
"\"ARM Machine Code Emitter\""
] | ARMCodeEmitter | getPassName | ARM | CPU | LLVM | 16,986 | 13 | 1 | [] |
[
"<s>",
"const",
"char",
"*",
"getPassName",
"(",
")",
"const",
"override",
"{",
"return",
"PASS_NAME",
";",
"}",
"</s>"
] | [
"getPassName",
"-",
"Return",
"a",
"nice",
"clean",
"name",
"for",
"a",
"pass",
"."
] | [
"AMDGPU"
] | SIDebuggerInsertNops | getPassName | AMDGPU | GPU | LLVM | 16,987 | 13 | 1 | [] |
[
"<s>",
"unsigned",
"X86InstrInfo",
"::",
"isLoadFromStackSlot",
"(",
"const",
"MachineInstr",
"&",
"MI",
",",
"int",
"&",
"FrameIndex",
",",
"unsigned",
"&",
"MemBytes",
")",
"const",
"{",
"if",
"(",
"isFrameLoadOpcode",
"(",
"MI",
".",
"getOpcode",
"(",
")"... | [
"isLoadFromStackSlot",
"-",
"If",
"the",
"specified",
"machine",
"instruction",
"is",
"a",
"direct",
"load",
"from",
"a",
"stack",
"slot",
",",
"return",
"the",
"virtual",
"or",
"physical",
"register",
"number",
"of",
"the",
"destination",
"along",
"with",
"th... | [
"X86",
"X86",
"0",
"0",
"1",
"0",
"0"
] | X86InstrInfo (2)3 | isLoadFromStackSlot | X86 | CPU | LLVM | 16,988 | 73 | 1 | [] |
[
"<s>",
"EVT",
"CSKYTargetLowering",
"::",
"getSetCCResultType",
"(",
"const",
"DataLayout",
"&",
"DL",
",",
"LLVMContext",
"&",
"Context",
",",
"EVT",
"VT",
")",
"const",
"{",
"if",
"(",
"!",
"VT",
".",
"isVector",
"(",
")",
")",
"return",
"MVT",
"::",
... | [
"Return",
"the",
"value",
"type",
"to",
"use",
"for",
"ISD",
":",
":SETCC",
"."
] | [
"CSKY",
"CSKY",
"MVT::i32"
] | CSKYISelLowering | getSetCCResultType | CSKY | CPU | LLVM | 16,989 | 41 | 1 | [] |
[
"<s>",
"static",
"bool",
"rs6000_can_eliminate",
"(",
"const",
"int",
"from",
",",
"const",
"int",
"to",
")",
"{",
"return",
"(",
"from",
"==",
"ARG_POINTER_REGNUM",
"&&",
"to",
"==",
"STACK_POINTER_REGNUM",
"?",
"!",
"frame_pointer_needed",
":",
"from",
"==",... | [
"Given",
"FROM",
"and",
"TO",
"register",
"numbers",
",",
"say",
"whether",
"this",
"elimination",
"is",
"allowed",
".",
"Frame",
"pointer",
"elimination",
"is",
"automatically",
"handled",
".",
"For",
"the",
"RS/6000",
",",
"if",
"frame",
"pointer",
"eliminat... | [
"rs6000"
] | rs6000 | rs6000_can_eliminate | rs6000 | CPU | GCC | 16,990 | 43 | 1 | [] |
[
"<s>",
"static",
"unsigned",
"int",
"frame_header_opt",
"(",
")",
"{",
"struct",
"cgraph_node",
"*",
"node",
";",
"function",
"*",
"fn",
";",
"FOR_EACH_DEFINED_FUNCTION",
"(",
"node",
")",
"{",
"fn",
"=",
"node",
"->",
"get_fun",
"(",
")",
";",
"if",
"("... | [
"Scan",
"each",
"function",
"to",
"determine",
"those",
"that",
"need",
"its",
"frame",
"headers",
".",
"Perform",
"a",
"second",
"scan",
"to",
"determine",
"if",
"the",
"allocation",
"can",
"be",
"skipped",
"because",
"none",
"of",
"their",
"callees",
"requ... | [
"mips",
"0"
] | frame-header-opt | frame_header_opt | mips | CPU | GCC | 16,991 | 121 | 1 | [] |
[
"<s>",
"SDValue",
"AMDGPUTargetLowering",
"::",
"SplitVectorLoad",
"(",
"const",
"SDValue",
"&",
"Op",
",",
"SelectionDAG",
"&",
"DAG",
")",
"const",
"{",
"LoadSDNode",
"*",
"Load",
"=",
"dyn_cast",
"<",
"LoadSDNode",
">",
"(",
"Op",
")",
";",
"EVT",
"MemE... | [
"Split",
"a",
"vector",
"load",
"into",
"2",
"loads",
"of",
"half",
"the",
"vector",
"."
] | [
"R600",
"8",
"0",
"ISD::ADD",
"8",
"ISD::BUILD_VECTOR"
] | AMDGPUISelLowering67 | SplitVectorLoad | R600 | GPU | LLVM | 16,992 | 237 | 1 | [] |
[
"<s>",
"static",
"void",
"rs6000_secondary_reload_trace",
"(",
"int",
"line",
",",
"rtx",
"reg",
",",
"rtx",
"mem",
",",
"rtx",
"scratch",
",",
"bool",
"store_p",
")",
"{",
"rtx",
"set",
",",
"clobber",
";",
"gcc_assert",
"(",
"reg",
"!=",
"NULL_RTX",
"&... | [
"Better",
"tracing",
"for",
"rs6000_secondary_reload_inner",
"."
] | [
"rs6000",
"\"rs6000_secondary_reload_inner:%d, type = %s\\n\"",
"\"store\"",
"\"load\"",
"2"
] | rs60004 | rs6000_secondary_reload_trace | rs6000 | CPU | GCC | 16,993 | 109 | 1 | [] |
[
"<s>",
"bool",
"VETargetLowering",
"::",
"allowsMisalignedMemoryAccesses",
"(",
"EVT",
"VT",
",",
"unsigned",
"AddrSpace",
",",
"Align",
"A",
",",
"MachineMemOperand",
"::",
"Flags",
",",
"bool",
"*",
"Fast",
")",
"const",
"{",
"if",
"(",
"Fast",
")",
"{",
... | [
"Returns",
"true",
"if",
"the",
"target",
"allows",
"unaligned",
"memory",
"accesses",
"of",
"the",
"specified",
"type",
"."
] | [
"VE",
"VE"
] | VEISelLowering11 | allowsMisalignedMemoryAccesses | VE | CPU | LLVM | 16,994 | 39 | 1 | [] |
[
"<s>",
"void",
"X86PassConfig",
"::",
"addPostRegAlloc",
"(",
")",
"{",
"addPass",
"(",
"createX86FloatingPointStackifierPass",
"(",
")",
")",
";",
"}",
"</s>"
] | [
"This",
"method",
"may",
"be",
"implemented",
"by",
"targets",
"that",
"want",
"to",
"run",
"passes",
"after",
"register",
"allocation",
"pass",
"pipeline",
"but",
"before",
"prolog-epilog",
"insertion",
"."
] | [
"X86",
"X86",
"X86"
] | X86TargetMachine10 | addPostRegAlloc | X86 | CPU | LLVM | 16,995 | 15 | 1 | [] |
[
"<s>",
"static",
"const",
"char",
"*",
"elf_platform",
"(",
"void",
")",
"{",
"static",
"const",
"char",
"*",
"cpu",
"=",
"NULL",
";",
"if",
"(",
"cpu",
"!=",
"NULL",
")",
"return",
"cpu",
";",
"int",
"fd",
"=",
"open",
"(",
"\"/proc/self/auxv\"",
",... | [
"Returns",
"the",
"canonical",
"AT_PLATFORM",
"if",
"present",
",",
"otherwise",
"NULL",
"."
] | [
"rs6000",
"\"/proc/self/auxv\"",
"1",
"1024",
"0",
"0",
"0",
"0",
"0",
"1",
"0",
"\"Unsupported cpu name returned from kernel for \"",
"\"%<-mcpu=native%>: %s\\n\"",
"\"Please use an explicit cpu name. Valid cpu names are: %s\""
] | driver-rs60006 | elf_platform | rs6000 | CPU | GCC | 16,996 | 322 | 1 | [] |
[
"<s>",
"void",
"tilegx_compute_pcrel_address",
"(",
"rtx",
"result",
",",
"rtx",
"addr",
")",
"{",
"rtx",
"text_label_symbol",
"=",
"tilegx_text_label_symbol",
"(",
")",
";",
"rtx",
"text_label_rtx",
"=",
"tilegx_text_label_rtx",
"(",
")",
";",
"rtx",
"temp",
",... | [
"Returns",
"a",
"register",
"that",
"points",
"to",
"ADDR",
",",
"a",
"symbolic",
"address",
",",
"by",
"computing",
"its",
"address",
"relative",
"to",
"tilegx_text_label_symbol",
"."
] | [
"tilegx"
] | tilegx | tilegx_compute_pcrel_address | tilegx | VLIW | GCC | 16,997 | 217 | 1 | [] |
[
"<s>",
"int",
"RISCVFrameLowering",
"::",
"getFrameIndexReference",
"(",
"const",
"MachineFunction",
"&",
"MF",
",",
"int",
"FI",
",",
"unsigned",
"&",
"FrameReg",
")",
"const",
"{",
"const",
"MachineFrameInfo",
"&",
"MFI",
"=",
"MF",
".",
"getFrameInfo",
"(",... | [
"getFrameIndexReference",
"-",
"This",
"method",
"should",
"return",
"the",
"base",
"register",
"and",
"offset",
"used",
"to",
"reference",
"a",
"frame",
"index",
"location",
"."
] | [
"RISCV",
"RISCV",
"0",
"1",
"0",
"1",
"RISCV::X2"
] | RISCVFrameLowering30 | getFrameIndexReference | RISCV | CPU | LLVM | 16,998 | 173 | 1 | [] |
[
"<s>",
"HOST_WIDE_INT",
"loongarch_initial_elimination_offset",
"(",
"int",
"from",
",",
"int",
"to",
")",
"{",
"HOST_WIDE_INT",
"src",
",",
"dest",
";",
"loongarch_compute_frame_info",
"(",
")",
";",
"if",
"(",
"to",
"==",
"HARD_FRAME_POINTER_REGNUM",
")",
"dest"... | [
"Implement",
"INITIAL_ELIMINATION_OFFSET",
".",
"FROM",
"is",
"either",
"the",
"frame",
"pointer",
"or",
"argument",
"pointer",
".",
"TO",
"is",
"either",
"the",
"stack",
"pointer",
"or",
"hard",
"frame",
"pointer",
"."
] | [
"loongarch",
"0"
] | loongarch | loongarch_initial_elimination_offset | loongarch | CPU | GCC | 16,999 | 95 | 1 | [] |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.