ground_truth listlengths 8 512 | natrual_language listlengths 1 243 | TS_V_token listlengths 1 182 | File stringlengths 2 45 | Func stringlengths 1 56 | Target stringclasses 175 values | Target_Clf stringclasses 6 values | Compiler_Type stringclasses 2 values | Idx int64 0 36.2k | Length int64 6 510 | Cover_Rate float64 1 1 | Template_token listlengths 0 0 |
|---|---|---|---|---|---|---|---|---|---|---|---|
[
"<s>",
"void",
"getAnalysisUsage",
"(",
"AnalysisUsage",
"&",
"AU",
")",
"const",
"override",
"{",
"AU",
".",
"setPreservesCFG",
"(",
")",
";",
"MachineFunctionPass",
"::",
"getAnalysisUsage",
"(",
"AU",
")",
";",
"}",
"</s>"
] | [
"getAnalysisUsage",
"-",
"Subclasses",
"that",
"override",
"getAnalysisUsage",
"must",
"call",
"this",
"."
] | [
"AArch64"
] | AArch64A53Fix835769 | getAnalysisUsage | AArch64 | CPU | LLVM | 33,400 | 24 | 1 | [] |
[
"<s>",
"bool",
"nds32_can_use_bclr_p",
"(",
"HOST_WIDE_INT",
"ival",
")",
"{",
"int",
"one_bit_count",
";",
"unsigned",
"HOST_WIDE_INT",
"mask",
"=",
"GET_MODE_MASK",
"(",
"SImode",
")",
";",
"one_bit_count",
"=",
"popcount_hwi",
"(",
"(",
"unsigned",
"HOST_WIDE_I... | [
"Function",
"to",
"check",
"if",
"'bclr",
"'",
"instruction",
"can",
"be",
"used",
"with",
"IVAL",
"."
] | [
"nds32",
"1"
] | nds32-predicates | nds32_can_use_bclr_p | nds32 | CPU | GCC | 33,401 | 47 | 1 | [] |
[
"<s>",
"unsigned",
"SystemZInstrInfo",
"::",
"removeBranch",
"(",
"MachineBasicBlock",
"&",
"MBB",
",",
"int",
"*",
"BytesRemoved",
")",
"const",
"{",
"assert",
"(",
"!",
"BytesRemoved",
"&&",
"\"code size not handled\"",
")",
";",
"MachineBasicBlock",
"::",
"iter... | [
"Remove",
"the",
"branching",
"code",
"at",
"the",
"end",
"of",
"the",
"specific",
"MBB",
"."
] | [
"SystemZ",
"SystemZ",
"\"code size not handled\"",
"0"
] | SystemZInstrInfo16 | removeBranch | SystemZ | CPU | LLVM | 33,402 | 111 | 1 | [] |
[
"<s>",
"SDNode",
"*",
"SITargetLowering",
"::",
"PostISelFolding",
"(",
"MachineSDNode",
"*",
"Node",
",",
"SelectionDAG",
"&",
"DAG",
")",
"const",
"{",
"const",
"SIInstrInfo",
"*",
"TII",
"=",
"static_cast",
"<",
"const",
"SIInstrInfo",
"*",
">",
"(",
"Sub... | [
"Fold",
"the",
"instructions",
"after",
"selecting",
"them",
"."
] | [
"R600",
"SI",
"SI",
"SI"
] | SIISelLowering111 | PostISelFolding | R600 | GPU | LLVM | 33,403 | 93 | 1 | [] |
[
"<s>",
"static",
"void",
"h8300_push_pop",
"(",
"int",
"regno",
",",
"int",
"nregs",
",",
"bool",
"pop_p",
",",
"bool",
"return_p",
")",
"{",
"int",
"i",
",",
"j",
";",
"rtvec",
"vec",
";",
"rtx",
"sp",
",",
"offset",
",",
"x",
";",
"if",
"(",
"!... | [
"Emit",
"an",
"instruction",
"to",
"push",
"or",
"pop",
"NREGS",
"consecutive",
"registers",
"starting",
"at",
"register",
"REGNO",
".",
"POP_P",
"selects",
"a",
"pop",
"rather",
"than",
"a",
"push",
"and",
"RETURN_P",
"is",
"true",
"if",
"the",
"instruction... | [
"h8300",
"1",
"1",
"0",
"1",
"0",
"0",
"1",
"4",
"1",
"4",
"4"
] | h83004 | h8300_push_pop | h8300 | MPU | GCC | 33,404 | 299 | 1 | [] |
[
"<s>",
"static",
"bool",
"nios2_print_operand_punct_valid_p",
"(",
"unsigned",
"char",
"code",
")",
"{",
"return",
"(",
"code",
"==",
"'.'",
"||",
"code",
"==",
"'!'",
")",
";",
"}",
"</s>"
] | [
"Implement",
"TARGET_PRINT_OPERAND_PUNCT_VALID_P",
"."
] | [
"nios2"
] | nios2 | nios2_print_operand_punct_valid_p | nios2 | MPU | GCC | 33,405 | 21 | 1 | [] |
[
"<s>",
"static",
"bool",
"ix86_cannot_force_const_mem",
"(",
"machine_mode",
"mode",
",",
"rtx",
"x",
")",
"{",
"switch",
"(",
"GET_CODE",
"(",
"x",
")",
")",
"{",
"case",
"CONST_INT",
":",
"case",
"CONST_WIDE_INT",
":",
"case",
"CONST_DOUBLE",
":",
"case",
... | [
"Determine",
"if",
"it",
"'s",
"legal",
"to",
"put",
"X",
"into",
"the",
"constant",
"pool",
".",
"This",
"is",
"not",
"possible",
"for",
"the",
"address",
"of",
"thread-local",
"symbols",
",",
"which",
"is",
"checked",
"above",
"."
] | [
"i386"
] | i3865 | ix86_cannot_force_const_mem | i386 | CPU | GCC | 33,406 | 49 | 1 | [] |
[
"<s>",
"static",
"void",
"rl78_compute_frame_info",
"(",
"void",
")",
"{",
"int",
"i",
";",
"cfun",
"->",
"machine",
"->",
"computed",
"=",
"1",
";",
"cfun",
"->",
"machine",
"->",
"framesize_regs",
"=",
"0",
";",
"cfun",
"->",
"machine",
"->",
"framesiz... | [
"Compute",
"all",
"the",
"frame-related",
"fields",
"in",
"our",
"machine_function",
"structure",
"."
] | [
"rl78",
"1",
"0",
"0",
"16",
"2",
"2",
"1",
"1",
"2",
"0",
"1"
] | rl78 | rl78_compute_frame_info | rl78 | MPU | GCC | 33,407 | 162 | 1 | [] |
[
"<s>",
"bool",
"evaluateBranch",
"(",
"const",
"MCInst",
"&",
"Inst",
",",
"uint64_t",
"Addr",
",",
"uint64_t",
"Size",
",",
"uint64_t",
"&",
"Target",
")",
"const",
"override",
"{",
"if",
"(",
"Inst",
".",
"getNumOperands",
"(",
")",
"==",
"0",
")",
"... | [
"Given",
"a",
"branch",
"instruction",
"try",
"to",
"get",
"the",
"address",
"the",
"branch",
"targets",
"."
] | [
"Lanai",
"0",
"0",
"0",
"0",
"0"
] | LanaiMCTargetDesc12 | evaluateBranch | Lanai | CPU | LLVM | 33,408 | 142 | 1 | [] |
[
"<s>",
"SMLoc",
"getStartLoc",
"(",
")",
"const",
"override",
"{",
"return",
"StartLoc",
";",
"}",
"</s>"
] | [
"getStartLoc",
"-",
"Get",
"the",
"location",
"of",
"the",
"first",
"token",
"of",
"this",
"operand",
"."
] | [
"Mips"
] | MipsAsmParser (2)4 | getStartLoc | Mips | CPU | LLVM | 33,409 | 11 | 1 | [] |
[
"<s>",
"void",
"rs6000_emit_popcount",
"(",
"rtx",
"dst",
",",
"rtx",
"src",
")",
"{",
"machine_mode",
"mode",
"=",
"GET_MODE",
"(",
"dst",
")",
";",
"rtx",
"tmp1",
",",
"tmp2",
";",
"if",
"(",
"TARGET_POPCNTD",
")",
"{",
"if",
"(",
"mode",
"==",
"SI... | [
"Emit",
"popcount",
"intrinsic",
"on",
"TARGET_POPCNTB",
"(",
"Power5",
")",
"and",
"TARGET_POPCNTD",
"(",
"Power7",
")",
"targets",
".",
"DST",
"is",
"the",
"target",
",",
"and",
"SRC",
"is",
"the",
"argument",
"operand",
"."
] | [
"powerpcspe",
"0x01010101",
"0",
"24",
"0x01010101",
"32",
"0x01010101",
"0",
"56"
] | powerpcspe | rs6000_emit_popcount | powerpcspe | CPU | GCC | 33,410 | 188 | 1 | [] |
[
"<s>",
"bool",
"s390_hard_regno_mode_ok",
"(",
"unsigned",
"int",
"regno",
",",
"machine_mode",
"mode",
")",
"{",
"if",
"(",
"!",
"TARGET_VX",
"&&",
"VECTOR_NOFP_REGNO_P",
"(",
"regno",
")",
")",
"return",
"false",
";",
"switch",
"(",
"REGNO_REG_CLASS",
"(",
... | [
"Return",
"true",
"if",
"it",
"is",
"legal",
"to",
"put",
"a",
"value",
"with",
"MODE",
"into",
"REGNO",
"."
] | [
"s390",
"1",
"1"
] | s3906 | s390_hard_regno_mode_ok | s390 | MPU | GCC | 33,411 | 267 | 1 | [] |
[
"<s>",
"bool",
"AlphaTargetMachine",
"::",
"addPreEmitPass",
"(",
"PassManagerBase",
"&",
"PM",
",",
"CodeGenOpt",
"::",
"Level",
"OptLevel",
")",
"{",
"PM",
".",
"add",
"(",
"createAlphaBranchSelectionPass",
"(",
")",
")",
";",
"PM",
".",
"add",
"(",
"creat... | [
"This",
"pass",
"may",
"be",
"implemented",
"by",
"targets",
"that",
"want",
"to",
"run",
"passes",
"immediately",
"before",
"machine",
"code",
"is",
"emitted",
"."
] | [
"Alpha",
"Alpha",
"Alpha",
"Alpha"
] | AlphaTargetMachine | addPreEmitPass | Alpha | MPU | LLVM | 33,412 | 39 | 1 | [] |
[
"<s>",
"bool",
"runOnMachineFunction",
"(",
"MachineFunction",
"&",
"MF",
")",
"override",
"{",
"Subtarget",
"=",
"&",
"MF",
".",
"getSubtarget",
"<",
"X86Subtarget",
">",
"(",
")",
";",
"IndirectTlsSegRefs",
"=",
"MF",
".",
"getFunction",
"(",
")",
".",
"... | [
"runOnMachineFunction",
"-",
"Emit",
"the",
"function",
"body",
"."
] | [
"X86",
"X86",
"\"indirect-tls-seg-refs\"",
"\"OptForMinSize implies OptForSize\""
] | X86ISelDAGToDAG101 | runOnMachineFunction | X86 | CPU | LLVM | 33,413 | 81 | 1 | [] |
[
"<s>",
"static",
"inline",
"CSKYTargetStreamer",
"::",
"SymbolIndex",
"getTombstoneKey",
"(",
")",
"{",
"return",
"{",
"nullptr",
",",
"CSKYMCExpr",
"::",
"VK_CSKY_Invalid",
"}",
";",
"}",
"</s>"
] | [
"Difference",
"in",
"tombstone",
"is",
"that",
"the",
"Optional",
"is",
"meaningful",
"."
] | [
"CSKY",
"CSKY",
"CSKY",
"CSKY"
] | CSKYTargetStreamer | getTombstoneKey | CSKY | CPU | LLVM | 33,414 | 19 | 1 | [] |
[
"<s>",
"virtual",
"const",
"char",
"*",
"getPassName",
"(",
")",
"const",
"override",
"{",
"return",
"\"SI Fix SGPR live ranges\"",
";",
"}",
"</s>"
] | [
"getPassName",
"-",
"Return",
"a",
"nice",
"clean",
"name",
"for",
"a",
"pass",
"."
] | [
"R600",
"\"SI Fix SGPR live ranges\""
] | SIFixSGPRLiveRanges3 | getPassName | R600 | GPU | LLVM | 33,415 | 14 | 1 | [] |
[
"<s>",
"void",
"WebAssemblyPassConfig",
"::",
"addPreRegAlloc",
"(",
")",
"{",
"}",
"</s>"
] | [
"This",
"method",
"may",
"be",
"implemented",
"by",
"targets",
"that",
"want",
"to",
"run",
"passes",
"immediately",
"before",
"register",
"allocation",
"."
] | [
"WebAssembly",
"WebAssembly"
] | WebAssemblyTargetMachine2 | addPreRegAlloc | WebAssembly | Virtual ISA | LLVM | 33,416 | 8 | 1 | [] |
[
"<s>",
"SUnit",
"*",
"ConvergingVLIWScheduler",
"::",
"pickNodeBidrectional",
"(",
"bool",
"&",
"IsTopNode",
")",
"{",
"if",
"(",
"SUnit",
"*",
"SU",
"=",
"Bot",
".",
"pickOnlyChoice",
"(",
")",
")",
"{",
"DEBUG",
"(",
"dbgs",
"(",
")",
"<<",
"\"Picked o... | [
"Pick",
"the",
"best",
"candidate",
"node",
"from",
"either",
"the",
"top",
"or",
"bottom",
"queue",
"."
] | [
"Hexagon",
"\"Picked only Bottom\\n\"",
"\"Picked only Top\\n\"",
"\"failed to find the first candidate\"",
"\"Prefered Bottom Node\\n\"",
"\"failed to find the first candidate\"",
"\"Prefered Top Node\\n\"",
"\"Prefered Bottom Node SingleMax\\n\"",
"\"Prefered Top Node SingleMax\\n\"",
"\"Prefere... | HexagonMachineScheduler (2) | pickNodeBidrectional | Hexagon | DSP | LLVM | 33,417 | 292 | 1 | [] |
[
"<s>",
"bool",
"enableIndirectBrExpand",
"(",
")",
"const",
"override",
"{",
"return",
"useRetpolineIndirectBranches",
"(",
")",
";",
"}",
"</s>"
] | [
"If",
"we",
"are",
"using",
"indirect",
"thunks",
",",
"we",
"need",
"to",
"expand",
"indirectbr",
"to",
"avoid",
"it",
"lowering",
"to",
"an",
"actual",
"indirect",
"jump",
"."
] | [
"X86"
] | X86Subtarget100 | enableIndirectBrExpand | X86 | CPU | LLVM | 33,418 | 13 | 1 | [] |
[
"<s>",
"unsigned",
"PPCFastISel",
"::",
"fastEmitInst_rr",
"(",
"unsigned",
"MachineInstOpcode",
",",
"const",
"TargetRegisterClass",
"*",
"RC",
",",
"unsigned",
"Op0",
",",
"unsigned",
"Op1",
")",
"{",
"const",
"TargetRegisterClass",
"*",
"UseRC",
"=",
"(",
"RC... | [
"Emit",
"a",
"MachineInstr",
"with",
"two",
"register",
"operands",
"and",
"a",
"result",
"register",
"in",
"the",
"given",
"register",
"class",
"."
] | [
"PowerPC",
"PPC",
"PPC::GPRCRegClass",
"PPC::GPRC_and_GPRC_NOR0RegClass",
"PPC::G8RCRegClass",
"PPC::G8RC_and_G8RC_NOX0RegClass"
] | PPCFastISel12 | fastEmitInst_rr | PowerPC | CPU | LLVM | 33,419 | 70 | 1 | [] |
[
"<s>",
"bool",
"AArch64InstrInfo",
"::",
"isAssociativeAndCommutative",
"(",
"const",
"MachineInstr",
"&",
"Inst",
")",
"const",
"{",
"switch",
"(",
"Inst",
".",
"getOpcode",
"(",
")",
")",
"{",
"case",
"AArch64",
"::",
"FADDDrr",
":",
"case",
"AArch64",
"::... | [
"Return",
"true",
"when",
"\\P",
"Inst",
"is",
"both",
"associative",
"and",
"commutative",
"."
] | [
"AArch64",
"AArch64",
"AArch64::FADDDrr",
"AArch64::FADDSrr",
"AArch64::FADDv2f32",
"AArch64::FADDv2f64",
"AArch64::FADDv4f32",
"AArch64::FMULDrr",
"AArch64::FMULSrr",
"AArch64::FMULX32",
"AArch64::FMULX64",
"AArch64::FMULXv2f32",
"AArch64::FMULXv2f64",
"AArch64::FMULXv4f32",
"AArch64::F... | AArch64InstrInfo109 | isAssociativeAndCommutative | AArch64 | CPU | LLVM | 33,420 | 122 | 1 | [] |
[
"<s>",
"bool",
"isTarget64BitILP32",
"(",
")",
"const",
"{",
"if",
"(",
"NaClDontBreakABI",
")",
"{",
"return",
"In64BitMode",
"&&",
"(",
"TargetTriple",
".",
"getEnvironment",
"(",
")",
"==",
"Triple",
"::",
"GNUX32",
")",
";",
"}",
"return",
"In64BitMode",... | [
"Is",
"this",
"x86_64",
"with",
"the",
"ILP32",
"programming",
"model",
"(",
"x32",
"ABI",
")",
"?"
] | [
"X86"
] | X86Subtarget109 | isTarget64BitILP32 | X86 | CPU | LLVM | 33,421 | 49 | 1 | [] |
[
"<s>",
"static",
"rtx",
"aarch64_expand_sve_const_pred",
"(",
"rtx",
"target",
",",
"rtx_vector_builder",
"&",
"builder",
")",
"{",
"if",
"(",
"rtx",
"res",
"=",
"aarch64_expand_sve_const_pred_1",
"(",
"target",
",",
"builder",
",",
"true",
")",
")",
"return",
... | [
"Return",
"an",
"SVE",
"predicate",
"register",
"that",
"contains",
"the",
"VNx16BImode",
"constant",
"in",
"BUILDER",
",",
"without",
"going",
"through",
"the",
"move",
"expanders",
".",
"The",
"returned",
"register",
"can",
"have",
"whatever",
"mode",
"seems",... | [
"aarch64",
"0"
] | aarch64 | aarch64_expand_sve_const_pred | aarch64 | CPU | GCC | 33,422 | 149 | 1 | [] |
[
"<s>",
"bool",
"SystemZAsmPrinter",
"::",
"PrintAsmMemoryOperand",
"(",
"const",
"MachineInstr",
"*",
"MI",
",",
"unsigned",
"OpNo",
",",
"const",
"char",
"*",
"ExtraCode",
",",
"raw_ostream",
"&",
"OS",
")",
"{",
"SystemZInstPrinter",
"::",
"printAddress",
"(",... | [
"Print",
"the",
"specified",
"operand",
"of",
"MI",
",",
"an",
"INLINEASM",
"instruction",
",",
"using",
"the",
"specified",
"assembler",
"variant",
"as",
"an",
"address",
"."
] | [
"SystemZ",
"SystemZ",
"SystemZ",
"1",
"2"
] | SystemZAsmPrinter (2)1 | PrintAsmMemoryOperand | SystemZ | CPU | LLVM | 33,423 | 71 | 1 | [] |
[
"<s>",
"static",
"bool",
"mips_in_small_data_p",
"(",
"tree",
"decl",
")",
"{",
"HOST_WIDE_INT",
"size",
";",
"if",
"(",
"TREE_CODE",
"(",
"decl",
")",
"==",
"STRING_CST",
"||",
"TREE_CODE",
"(",
"decl",
")",
"==",
"FUNCTION_DECL",
")",
"return",
"false",
... | [
"Implement",
"TARGET_IN_SMALL_DATA_P",
".",
"Return",
"true",
"if",
"it",
"would",
"be",
"safe",
"to",
"access",
"DECL",
"using",
"%",
"gp_rel",
"(",
"...",
")",
"(",
"$",
"gp",
")",
"."
] | [
"mips",
"0",
"\".sdata\"",
"0",
"\".sbss\"",
"0",
"0"
] | mips3 | mips_in_small_data_p | mips | CPU | GCC | 33,424 | 179 | 1 | [] |
[
"<s>",
"unsigned",
"SystemZTTIImpl",
"::",
"getNumberOfRegisters",
"(",
"bool",
"Vector",
")",
"{",
"if",
"(",
"!",
"Vector",
")",
"return",
"14",
";",
"if",
"(",
"ST",
"->",
"hasVector",
"(",
")",
")",
"return",
"32",
";",
"return",
"0",
";",
"}",
"... | [
"�",
"?",
"Vector",
"TTI",
"begin",
"�",
"?"
] | [
"SystemZ",
"SystemZ",
"14",
"32",
"0"
] | SystemZTargetTransformInfo (2) | getNumberOfRegisters | SystemZ | CPU | LLVM | 33,425 | 32 | 1 | [] |
[
"<s>",
"bool",
"HexagonBranchRelaxation",
"::",
"runOnMachineFunction",
"(",
"MachineFunction",
"&",
"MF",
")",
"{",
"DEBUG",
"(",
"dbgs",
"(",
")",
"<<",
"\"****** Hexagon Branch Relaxation ******\\n\"",
")",
";",
"auto",
"&",
"HST",
"=",
"MF",
".",
"getSubtarget... | [
"runOnMachineFunction",
"-",
"Emit",
"the",
"function",
"body",
"."
] | [
"Hexagon",
"Hexagon",
"\"****** Hexagon Branch Relaxation ******\\n\"",
"Hexagon"
] | HexagonBranchRelaxation | runOnMachineFunction | Hexagon | DSP | LLVM | 33,426 | 64 | 1 | [] |
[
"<s>",
"void",
"SNESFrameLowering",
"::",
"emitPrologue",
"(",
"MachineFunction",
"&",
"MF",
",",
"MachineBasicBlock",
"&",
"MBB",
")",
"const",
"{",
"}",
"</s>"
] | [
"emitProlog/emitEpilog",
"-",
"These",
"methods",
"insert",
"prolog",
"and",
"epilog",
"code",
"into",
"the",
"function",
"."
] | [
"SNES",
"SNES"
] | SNESFrameLowering | emitPrologue | SNES | DSP | LLVM | 33,427 | 16 | 1 | [] |
[
"<s>",
"static",
"int",
"vfp_emit_fstmd",
"(",
"int",
"base_reg",
",",
"int",
"count",
")",
"{",
"rtx",
"par",
";",
"rtx",
"dwarf",
";",
"rtx",
"tmp",
",",
"reg",
";",
"int",
"i",
";",
"if",
"(",
"count",
"==",
"2",
"&&",
"!",
"arm_arch6",
")",
"... | [
"Emit",
"RTL",
"to",
"save",
"block",
"of",
"VFP",
"register",
"pairs",
"to",
"the",
"stack",
".",
"Returns",
"the",
"number",
"of",
"bytes",
"pushed",
"."
] | [
"arm",
"2",
"3",
"2",
"16",
"32",
"16",
"16",
"1",
"2",
"0",
"0",
"8",
"1",
"8",
"1",
"0",
"0",
"1",
"0",
"1",
"1",
"2",
"0",
"8",
"1",
"0",
"1",
"1",
"8"
] | arm | vfp_emit_fstmd | arm | CPU | GCC | 33,428 | 365 | 1 | [] |
[
"<s>",
"bool",
"MVEGatherScatterLowering",
"::",
"runOnFunction",
"(",
"Function",
"&",
"F",
")",
"{",
"if",
"(",
"!",
"EnableMaskedGatherScatters",
")",
"return",
"false",
";",
"auto",
"&",
"TPC",
"=",
"getAnalysis",
"<",
"TargetPassConfig",
">",
"(",
")",
... | [
"runOnFunction",
"-",
"Virtual",
"method",
"overriden",
"by",
"subclasses",
"to",
"do",
"the",
"per-function",
"processing",
"of",
"the",
"pass",
"."
] | [
"ARM",
"ARM",
"4",
"4",
"Intrinsic::masked_gather",
"0",
"Intrinsic::masked_scatter",
"0",
"1",
"0",
"0"
] | MVEGatherScatterLowering14 | runOnFunction | ARM | CPU | LLVM | 33,429 | 397 | 1 | [] |
[
"<s>",
"VESubtarget",
"&",
"VESubtarget",
"::",
"initializeSubtargetDependencies",
"(",
"StringRef",
"CPU",
",",
"StringRef",
"FS",
")",
"{",
"EnableVPU",
"=",
"false",
";",
"std",
"::",
"string",
"CPUName",
"=",
"std",
"::",
"string",
"(",
"CPU",
")",
";",
... | [
"initializeSubtargetDependencies",
"-",
"Initializes",
"using",
"a",
"CPU",
",",
"a",
"TuneCPU",
",",
"and",
"feature",
"string",
"so",
"that",
"we",
"can",
"use",
"initializer",
"lists",
"for",
"subtarget",
"initialization",
"."
] | [
"VE",
"VE",
"VE",
"\"generic\""
] | VESubtarget2 | initializeSubtargetDependencies | VE | CPU | LLVM | 33,430 | 55 | 1 | [] |
[
"<s>",
"bool",
"ARCPassConfig",
"::",
"addInstSelector",
"(",
")",
"{",
"addPass",
"(",
"createARCISelDag",
"(",
"getARCTargetMachine",
"(",
")",
",",
"getOptLevel",
"(",
")",
")",
")",
";",
"return",
"false",
";",
"}",
"</s>"
] | [
"addInstSelector",
"-",
"This",
"method",
"should",
"install",
"an",
"instruction",
"selector",
"pass",
",",
"which",
"converts",
"from",
"LLVM",
"code",
"to",
"machine",
"instructions",
"."
] | [
"ARC",
"ARC",
"ARC",
"ARC"
] | ARCTargetMachine | addInstSelector | ARC | MPU | LLVM | 33,431 | 25 | 1 | [] |
[
"<s>",
"static",
"machine_mode",
"rx_promote_function_mode",
"(",
"const_tree",
"type",
"ATTRIBUTE_UNUSED",
",",
"machine_mode",
"mode",
",",
"int",
"*",
"punsignedp",
"ATTRIBUTE_UNUSED",
",",
"const_tree",
"funtype",
"ATTRIBUTE_UNUSED",
",",
"int",
"for_return",
")",
... | [
"TARGET_PROMOTE_FUNCTION_MODE",
"must",
"behave",
"in",
"the",
"same",
"way",
"with",
"regard",
"to",
"function",
"returns",
"as",
"does",
"TARGET_FUNCTION_VALUE",
"."
] | [
"rx",
"1",
"4",
"1"
] | rx | rx_promote_function_mode | rx | CPU | GCC | 33,432 | 66 | 1 | [] |
[
"<s>",
"static",
"void",
"ix86_emit_move_max",
"(",
"rtx",
"dst",
",",
"rtx",
"src",
")",
"{",
"ix86_emit_cmove",
"(",
"dst",
",",
"src",
",",
"LTU",
",",
"dst",
",",
"src",
")",
";",
"}",
"</s>"
] | [
"Choose",
"max",
"of",
"DST",
"and",
"SRC",
"and",
"put",
"it",
"to",
"DST",
"."
] | [
"i386"
] | i3864 | ix86_emit_move_max | i386 | CPU | GCC | 33,433 | 25 | 1 | [] |
[
"<s>",
"bool",
"RISCVInstPrinter",
"::",
"applyTargetSpecificCLOption",
"(",
"StringRef",
"Opt",
")",
"{",
"if",
"(",
"Opt",
"==",
"\"no-aliases\"",
")",
"{",
"NoAliases",
"=",
"true",
";",
"return",
"true",
";",
"}",
"if",
"(",
"Opt",
"==",
"\"numeric\"",
... | [
"Customize",
"the",
"printer",
"according",
"to",
"a",
"command",
"line",
"option",
"."
] | [
"RISCV",
"RISCV",
"\"no-aliases\"",
"\"numeric\""
] | RISCVInstPrinter1 | applyTargetSpecificCLOption | RISCV | CPU | LLVM | 33,434 | 43 | 1 | [] |
[
"<s>",
"static",
"bool",
"alpha_vector_mode_supported_p",
"(",
"enum",
"machine_mode",
"mode",
")",
"{",
"return",
"mode",
"==",
"V8QImode",
"||",
"mode",
"==",
"V4HImode",
"||",
"mode",
"==",
"V2SImode",
";",
"}",
"</s>"
] | [
"Alpha",
"implements",
"a",
"couple",
"of",
"integer",
"vector",
"mode",
"operations",
"when",
"TARGET_MAX",
"is",
"enabled",
".",
"We",
"do",
"not",
"check",
"TARGET_MAX",
"here",
",",
"however",
",",
"which",
"allows",
"the",
"vectorizer",
"to",
"operate",
... | [
"alpha"
] | alpha3 | alpha_vector_mode_supported_p | alpha | MPU | GCC | 33,435 | 23 | 1 | [] |
[
"<s>",
"static",
"bool",
"c6x_pass_by_reference",
"(",
"cumulative_args_t",
",",
"const",
"function_arg_info",
"&",
"arg",
")",
"{",
"int",
"size",
"=",
"-",
"1",
";",
"if",
"(",
"arg",
".",
"type",
")",
"size",
"=",
"int_size_in_bytes",
"(",
"arg",
".",
... | [
"Types",
"larger",
"than",
"64",
"bit",
",",
"and",
"variable",
"sized",
"types",
",",
"are",
"passed",
"by",
"reference",
".",
"The",
"callee",
"must",
"copy",
"them",
";",
"see",
"c6x_callee_copies",
"."
] | [
"c6x",
"1",
"2",
"1"
] | c6x | c6x_pass_by_reference | c6x | VLIW | GCC | 33,436 | 64 | 1 | [] |
[
"<s>",
"const",
"char",
"*",
"AMDGPUTargetLowering",
"::",
"getTargetNodeName",
"(",
"unsigned",
"Opcode",
")",
"const",
"{",
"switch",
"(",
"(",
"AMDGPUISD",
"::",
"NodeType",
")",
"Opcode",
")",
"{",
"case",
"AMDGPUISD",
"::",
"FIRST_NUMBER",
":",
"break",
... | [
"getTargetNodeName",
"-",
"This",
"method",
"returns",
"the",
"name",
"of",
"a",
"target",
"specific"
] | [
"AMDGPU",
"AMDGPU",
"AMDGPUISD::NodeType",
"AMDGPUISD::FIRST_NUMBER",
"SI",
"R600",
"AMDGPUISD::FIRST_MEM_OPCODE_NUMBER",
"AMDGPUISD::LAST_AMDGPU_ISD_NUMBER"
] | AMDGPUISelLowering112 | getTargetNodeName | AMDGPU | GPU | LLVM | 33,437 | 454 | 1 | [] |
[
"<s>",
"unsigned",
"int",
"rs6000_cost_data",
"::",
"determine_suggested_unroll_factor",
"(",
"loop_vec_info",
"loop_vinfo",
")",
"{",
"class",
"loop",
"*",
"loop",
"=",
"LOOP_VINFO_LOOP",
"(",
"loop_vinfo",
")",
";",
"if",
"(",
"loop",
"->",
"unroll",
"==",
"1"... | [
"Determine",
"suggested",
"unroll",
"factor",
"by",
"considering",
"some",
"below",
"factors",
":",
"-",
"unroll",
"option/pragma",
"which",
"can",
"disable",
"unrolling",
"for",
"this",
"loop",
";",
"-",
"simple",
"hardware",
"resource",
"model",
"for",
"non",
... | [
"rs6000",
"1",
"1",
"0",
"1",
"1",
"1",
"1",
"1",
"1",
"1"
] | rs60001 | determine_suggested_unroll_factor | rs6000 | CPU | GCC | 33,438 | 240 | 1 | [] |
[
"<s>",
"static",
"bool",
"loongarch_valid_base_register_p",
"(",
"rtx",
"x",
",",
"machine_mode",
"mode",
",",
"bool",
"strict_p",
")",
"{",
"if",
"(",
"!",
"strict_p",
"&&",
"SUBREG_P",
"(",
"x",
")",
")",
"x",
"=",
"SUBREG_REG",
"(",
"x",
")",
";",
"... | [
"Return",
"true",
"if",
"X",
"is",
"a",
"valid",
"base",
"register",
"for",
"mode",
"MODE",
".",
"STRICT_P",
"is",
"true",
"if",
"REG_OK_STRICT",
"is",
"in",
"effect",
"."
] | [
"loongarch"
] | loongarch | loongarch_valid_base_register_p | loongarch | CPU | GCC | 33,439 | 52 | 1 | [] |
[
"<s>",
"bool",
"runOnModule",
"(",
"Module",
"&",
"M",
")",
"override",
"{",
"if",
"(",
"skipModule",
"(",
"M",
")",
")",
"return",
"false",
";",
"auto",
"Changed",
"=",
"false",
";",
"auto",
"NvvmMetadata",
"=",
"M",
".",
"getNamedMetadata",
"(",
"\"n... | [
"runOnModule",
"-",
"Virtual",
"method",
"overriden",
"by",
"subclasses",
"to",
"process",
"the",
"module",
"being",
"operated",
"on",
"."
] | [
"NVPTX",
"\"nvvm.annotations\"",
"\"IR compiled to PTX must have nvvm.annotations\"",
"3",
"1",
"\"kernel\"",
"0",
"0"
] | LocalAccessorToSharedMemory1 | runOnModule | NVPTX | GPU | LLVM | 33,440 | 202 | 1 | [] |
[
"<s>",
"static",
"void",
"emit_load_locked",
"(",
"machine_mode",
"mode",
",",
"rtx",
"reg",
",",
"rtx",
"mem",
")",
"{",
"rtx",
"(",
"*",
"fn",
")",
"(",
"rtx",
",",
"rtx",
")",
"=",
"NULL",
";",
"switch",
"(",
"mode",
")",
"{",
"case",
"QImode",
... | [
"A",
"subroutine",
"of",
"the",
"atomic",
"operation",
"splitters",
".",
"Emit",
"a",
"load-locked",
"instruction",
"in",
"MODE",
".",
"For",
"QI/HImode",
",",
"possibly",
"use",
"a",
"pattern",
"than",
"includes",
"the",
"zero_extend",
"operation",
"."
] | [
"rs6000"
] | rs60004 | emit_load_locked | rs6000 | CPU | GCC | 33,441 | 123 | 1 | [] |
[
"<s>",
"bool",
"Z80oldDAGToDAGISel",
"::",
"SelectInlineAsmMemoryOperand",
"(",
"const",
"SDValue",
"&",
"Op",
",",
"unsigned",
"ConstraintID",
",",
"std",
"::",
"vector",
"<",
"SDValue",
">",
"&",
"OutOps",
")",
"{",
"SDValue",
"Op0",
",",
"Op1",
";",
"swit... | [
"SelectInlineAsmMemoryOperand",
"-",
"Select",
"the",
"specified",
"address",
"as",
"a",
"target",
"addressing",
"mode",
",",
"according",
"to",
"the",
"specified",
"constraint",
"."
] | [
"Z80old",
"Z80old",
"\"Unexpected asm memory constraint\""
] | Z80oldISelDAGToDAG | SelectInlineAsmMemoryOperand | Z80old | MPU | LLVM | 33,442 | 111 | 1 | [] |
[
"<s>",
"static",
"rtx",
"frv_expand_mwtacc_builtin",
"(",
"enum",
"insn_code",
"icode",
",",
"tree",
"arglist",
")",
"{",
"rtx",
"pat",
";",
"rtx",
"op0",
"=",
"frv_read_argument",
"(",
"&",
"arglist",
")",
";",
"rtx",
"op1",
"=",
"frv_read_argument",
"(",
... | [
"Expand",
"MWTACC",
"and",
"MWTACCG",
".",
"These",
"builtins",
"take",
"an",
"accumulator",
"or",
"accumulator",
"guard",
"as",
"their",
"first",
"argument",
"and",
"an",
"SImode",
"value",
"as",
"their",
"second",
"."
] | [
"frv",
"0",
"1"
] | frv2 | frv_expand_mwtacc_builtin | frv | VLIW | GCC | 33,443 | 88 | 1 | [] |
[
"<s>",
"bool",
"AArch64InstrInfo",
"::",
"isGPRCopy",
"(",
"const",
"MachineInstr",
"&",
"MI",
")",
"const",
"{",
"switch",
"(",
"MI",
".",
"getOpcode",
"(",
")",
")",
"{",
"default",
":",
"break",
";",
"case",
"TargetOpcode",
"::",
"COPY",
":",
"{",
"... | [
"Does",
"this",
"instruction",
"rename",
"a",
"GPR",
"without",
"modifying",
"bits",
"?"
] | [
"AArch64",
"AArch64",
"0",
"AArch64::GPR32RegClass",
"AArch64::GPR64RegClass",
"AArch64::ORRXrs",
"1",
"AArch64::XZR",
"4",
"3",
"0",
"\"invalid ORRrs operands\"",
"AArch64::ADDXri",
"2",
"0",
"4",
"3",
"0",
"\"invalid ADDXri operands\""
] | AArch64InstrInfo (2) | isGPRCopy | AArch64 | CPU | LLVM | 33,444 | 188 | 1 | [] |
[
"<s>",
"SDValue",
"SparcTargetLowering",
"::",
"LowerOperation",
"(",
"SDValue",
"Op",
",",
"SelectionDAG",
"&",
"DAG",
")",
"const",
"{",
"switch",
"(",
"Op",
".",
"getOpcode",
"(",
")",
")",
"{",
"default",
":",
"llvm_unreachable",
"(",
"\"Should not custom ... | [
"LowerOperation",
"-",
"Provide",
"custom",
"lowering",
"hooks",
"for",
"some",
"operations",
"."
] | [
"Sparc",
"Sparc",
"\"Should not custom lower this!\"",
"ISD::RETURNADDR",
"ISD::FRAMEADDR",
"ISD::GlobalTLSAddress",
"\"TLS not implemented for Sparc.\"",
"ISD::GlobalAddress",
"ISD::ConstantPool",
"ISD::FP_TO_SINT",
"ISD::SINT_TO_FP",
"ISD::BR_CC",
"ISD::SELECT_CC",
"ISD::VASTART",
"ISD... | SparcISelLowering1 | LowerOperation | Sparc | CPU | LLVM | 33,445 | 188 | 1 | [] |
[
"<s>",
"BitVector",
"X86RegisterInfo",
"::",
"getReservedRegs",
"(",
"const",
"MachineFunction",
"&",
"MF",
")",
"const",
"{",
"BitVector",
"Reserved",
"(",
"getNumRegs",
"(",
")",
")",
";",
"const",
"TargetFrameInfo",
"*",
"TFI",
"=",
"MF",
".",
"getTarget",
... | [
"getReservedRegs",
"-",
"Returns",
"a",
"bitset",
"indexed",
"by",
"physical",
"register",
"number",
"indicating",
"if",
"a",
"register",
"is",
"a",
"special",
"register",
"that",
"has",
"particular",
"uses",
"and",
"should",
"be",
"considered",
"unavailable",
"... | [
"X86",
"X86",
"X86::RSP",
"X86::ESP",
"X86::SP",
"X86::SPL",
"X86::RIP",
"X86::EIP",
"X86::IP",
"X86::RBP",
"X86::EBP",
"X86::BP",
"X86::BPL",
"X86::ST0",
"X86::ST1",
"X86::ST2",
"X86::ST3",
"X86::ST4",
"X86::ST5",
"X86::ST6",
"X86::ST7"
] | X86RegisterInfo40 | getReservedRegs | X86 | CPU | LLVM | 33,446 | 221 | 1 | [] |
[
"<s>",
"int",
"getIORegRAMPZ",
"(",
"void",
")",
"const",
"{",
"return",
"hasELPM",
"(",
")",
"?",
"0x3b",
":",
"-",
"1",
";",
"}",
"</s>"
] | [
"Get",
"I/O",
"register",
"addresses",
"."
] | [
"AVR",
"0x3b",
"1"
] | AVRSubtarget11 | getIORegRAMPZ | AVR | MPU | LLVM | 33,447 | 18 | 1 | [] |
[
"<s>",
"CCAssignFn",
"*",
"AMDGPUCallLowering",
"::",
"CCAssignFnForCall",
"(",
"CallingConv",
"::",
"ID",
"CC",
",",
"bool",
"IsVarArg",
")",
"{",
"switch",
"(",
"CC",
")",
"{",
"case",
"CallingConv",
"::",
"AMDGPU_KERNEL",
":",
"case",
"CallingConv",
"::",
... | [
"Selects",
"the",
"correct",
"CCAssignFn",
"for",
"a",
"given",
"CallingConvention",
"value",
"."
] | [
"AMDGPU",
"AMDGPU",
"AMDGPU",
"AMDGPU",
"AMDGPU",
"AMDGPU",
"AMDGPU",
"AMDGPU",
"AMDGPU",
"AMDGPU",
"AMDGPU",
"AMDGPU",
"AMDGPU",
"\"Unsupported calling convention.\""
] | AMDGPUISelLowering135 | CCAssignFnForCall | AMDGPU | GPU | LLVM | 33,448 | 98 | 1 | [] |
[
"<s>",
"bool",
"MipsPassConfig",
"::",
"addIRTranslator",
"(",
")",
"{",
"addPass",
"(",
"new",
"IRTranslator",
"(",
")",
")",
";",
"return",
"false",
";",
"}",
"</s>"
] | [
"This",
"method",
"should",
"install",
"an",
"IR",
"translator",
"pass",
",",
"which",
"converts",
"from",
"LLVM",
"code",
"to",
"machine",
"instructions",
"with",
"possibly",
"generic",
"opcodes",
"."
] | [
"Mips",
"Mips"
] | MipsTargetMachine14 | addIRTranslator | Mips | CPU | LLVM | 33,449 | 19 | 1 | [] |
[
"<s>",
"bool",
"runOnMachineFunction",
"(",
"MachineFunction",
"&",
"MF",
")",
"override",
"{",
"GlobalBaseReg",
"=",
"0",
";",
"PPCSubTarget",
"=",
"&",
"MF",
".",
"getSubtarget",
"<",
"PPCSubtarget",
">",
"(",
")",
";",
"Subtarget",
"=",
"&",
"MF",
".",
... | [
"runOnMachineFunction",
"-",
"Emit",
"the",
"function",
"body",
"."
] | [
"PowerPC",
"0",
"PPC",
"PPC",
"PPC",
"PPC"
] | PPCISelDAGToDAG10 | runOnMachineFunction | PowerPC | CPU | LLVM | 33,450 | 56 | 1 | [] |
[
"<s>",
"static",
"section",
"*",
"rx_select_rtx_section",
"(",
"machine_mode",
"mode",
",",
"rtx",
"x",
",",
"unsigned",
"HOST_WIDE_INT",
"align",
")",
"{",
"if",
"(",
"rx_small_data_limit",
">",
"0",
"&&",
"GET_MODE_SIZE",
"(",
"mode",
")",
"<=",
"rx_small_da... | [
"Return",
"a",
"section",
"for",
"X",
".",
"The",
"only",
"special",
"thing",
"we",
"do",
"here",
"is",
"to",
"honor",
"small",
"data",
"."
] | [
"rx",
"0"
] | rx | rx_select_rtx_section | rx | CPU | GCC | 33,451 | 53 | 1 | [] |
[
"<s>",
"static",
"int",
"current_file_function_operand",
"(",
"rtx",
"sym_ref",
")",
"{",
"if",
"(",
"ENCODED_SHORT_CALL_ATTR_P",
"(",
"XSTR",
"(",
"sym_ref",
",",
"0",
")",
")",
")",
"return",
"1",
";",
"if",
"(",
"sym_ref",
"==",
"XEXP",
"(",
"DECL_RTL",... | [
"Return",
"1",
"if",
"the",
"operand",
"is",
"a",
"SYMBOL_REF",
"for",
"a",
"function",
"known",
"to",
"be",
"in",
"this",
"file",
"and",
"the",
"function",
"is",
"not",
"weakly",
"defined",
"."
] | [
"arm",
"0",
"1",
"0",
"1",
"0"
] | arm3 | current_file_function_operand | arm | CPU | GCC | 33,452 | 50 | 1 | [] |
[
"<s>",
"bool",
"PPCAsmParser",
"::",
"ParseInstruction",
"(",
"ParseInstructionInfo",
"&",
"Info",
",",
"StringRef",
"Name",
",",
"SMLoc",
"NameLoc",
",",
"SmallVectorImpl",
"<",
"MCParsedAsmOperand",
"*",
">",
"&",
"Operands",
")",
"{",
"if",
"(",
"getLexer",
... | [
"ParseInstruction",
"-",
"Parse",
"one",
"assembly",
"instruction",
"."
] | [
"PowerPC",
"PPC",
"1",
"1",
"1",
"1",
"0",
"PPC",
"PPC",
"PPC",
"PPC"
] | PPCAsmParser1 | ParseInstruction | PowerPC | CPU | LLVM | 33,453 | 360 | 1 | [] |
[
"<s>",
"StringRef",
"getPassName",
"(",
")",
"const",
"override",
"{",
"return",
"RISCV_MERGE_BASE_OFFSET_NAME",
";",
"}",
"</s>"
] | [
"getPassName",
"-",
"Return",
"a",
"nice",
"clean",
"name",
"for",
"a",
"pass",
"."
] | [
"RISCV",
"RISCV"
] | RISCVMergeBaseOffset | getPassName | RISCV | CPU | LLVM | 33,454 | 11 | 1 | [] |
[
"<s>",
"const",
"X86InstrInfo",
"*",
"getInstrInfo",
"(",
")",
"const",
"override",
"{",
"return",
"getSubtargetImpl",
"(",
")",
"->",
"getInstrInfo",
"(",
")",
";",
"}",
"</s>"
] | [
"TargetInstrInfo",
"getter",
"."
] | [
"X86",
"X86"
] | X86TargetMachine | getInstrInfo | X86 | CPU | LLVM | 33,455 | 19 | 1 | [] |
[
"<s>",
"bool",
"PPCAIXAsmPrinter",
"::",
"doInitialization",
"(",
"Module",
"&",
"M",
")",
"{",
"const",
"bool",
"Result",
"=",
"PPCAsmPrinter",
"::",
"doInitialization",
"(",
"M",
")",
";",
"auto",
"setCsectAlignment",
"=",
"[",
"this",
"]",
"(",
"const",
... | [
"Set",
"up",
"the",
"AsmPrinter",
"when",
"we",
"are",
"working",
"on",
"a",
"new",
"module",
"."
] | [
"PowerPC",
"PPC",
"PPC",
"\"alias without a base object is not yet supported on AIX\""
] | PPCAsmPrinter59 | doInitialization | PowerPC | CPU | LLVM | 33,456 | 215 | 1 | [] |
[
"<s>",
"unsigned",
"getInstSizeInBytes",
"(",
"const",
"MachineInstr",
"&",
"MI",
")",
"const",
"override",
"{",
"return",
"4U",
";",
"}",
"</s>"
] | [
"Returns",
"the",
"size",
"in",
"bytes",
"of",
"the",
"specified",
"MachineInstr",
",",
"or",
"~0U",
"when",
"this",
"function",
"is",
"not",
"implemented",
"by",
"a",
"target",
"."
] | [
"TL45",
"4U"
] | TL45InstrInfo | getInstSizeInBytes | TL45 | MPU | LLVM | 33,457 | 15 | 1 | [] |
[
"<s>",
"void",
"PPCELFStreamer",
"::",
"emitLabel",
"(",
"MCSymbol",
"*",
"Symbol",
",",
"SMLoc",
"Loc",
")",
"{",
"LastLabel",
"=",
"Symbol",
";",
"LastLabelLoc",
"=",
"Loc",
";",
"MCELFStreamer",
"::",
"emitLabel",
"(",
"Symbol",
")",
";",
"}",
"</s>"
] | [
"Emit",
"a",
"label",
"for",
"Symbol",
"into",
"the",
"current",
"section",
"."
] | [
"PowerPC",
"PPC"
] | PPCELFStreamer | emitLabel | PowerPC | CPU | LLVM | 33,458 | 29 | 1 | [] |
[
"<s>",
"void",
"SIInstrInfo",
"::",
"storeRegToStackSlot",
"(",
"MachineBasicBlock",
"&",
"MBB",
",",
"MachineBasicBlock",
"::",
"iterator",
"MI",
",",
"unsigned",
"SrcReg",
",",
"bool",
"isKill",
",",
"int",
"FrameIndex",
",",
"const",
"TargetRegisterClass",
"*",... | [
"Store",
"the",
"specified",
"register",
"of",
"the",
"given",
"register",
"class",
"to",
"the",
"specified",
"stack",
"frame",
"index",
"."
] | [
"AMDGPU",
"SI",
"SI",
"SI",
"4",
"AMDGPU::SReg_32_XM0RegClass",
"AMDGPU::M0",
"\"SIInstrInfo::storeRegToStackSlot - Do not know how to\"",
"\" spill register\"",
"AMDGPU::KILL",
"\"Only VGPR spilling expected\"",
"0"
] | SIInstrInfo125 | storeRegToStackSlot | AMDGPU | GPU | LLVM | 33,459 | 443 | 1 | [] |
[
"<s>",
"unsigned",
"int",
"execute",
"(",
"function",
"*",
")",
"{",
"return",
"nds32_fp_as_gp",
"(",
")",
";",
"}",
"</s>"
] | [
"Main",
"entry",
"point",
"for",
"this",
"pass",
"."
] | [
"nds32"
] | nds32-fp-as-gp | execute | nds32 | CPU | GCC | 33,460 | 14 | 1 | [] |
[
"<s>",
"unsigned",
"getNumFixupKinds",
"(",
")",
"const",
"override",
"{",
"return",
"SystemZ",
"::",
"NumTargetFixupKinds",
";",
"}",
"</s>"
] | [
"Get",
"the",
"number",
"of",
"target",
"specific",
"fixup",
"kinds",
"."
] | [
"SystemZ",
"SystemZ::NumTargetFixupKinds"
] | SystemZMCAsmBackend | getNumFixupKinds | SystemZ | CPU | LLVM | 33,461 | 13 | 1 | [] |
[
"<s>",
"std",
"::",
"vector",
"<",
"const",
"SUnit",
"*",
">",
"GCNMinRegScheduler",
"::",
"schedule",
"(",
"ArrayRef",
"<",
"const",
"SUnit",
"*",
">",
"TopRoots",
",",
"const",
"ScheduleDAG",
"&",
"DAG",
")",
"{",
"const",
"auto",
"&",
"SUnits",
"=",
... | [
"Schedule",
"-",
"This",
"is",
"called",
"back",
"from",
"ScheduleDAGInstrs",
":",
":Run",
"(",
")",
"when",
"it",
"'s",
"time",
"to",
"do",
"some",
"work",
"."
] | [
"AMDGPU",
"0",
"\"\\n=== Picking candidate, Step = \"",
"\"\\n\"",
"\"Ready queue:\"",
"\"(P\"",
"\"Selected \"",
"0"
] | GCNMinRegStrategy | schedule | AMDGPU | GPU | LLVM | 33,462 | 267 | 1 | [] |
[
"<s>",
"void",
"TOYFrameLowering",
"::",
"emitPrologue",
"(",
"MachineFunction",
"&",
"MF",
",",
"MachineBasicBlock",
"&",
"MBB",
")",
"const",
"{",
"const",
"TargetInstrInfo",
"&",
"TII",
"=",
"*",
"MF",
".",
"getSubtarget",
"(",
")",
".",
"getInstrInfo",
"... | [
"emitProlog/emitEpilog",
"-",
"These",
"methods",
"insert",
"prolog",
"and",
"epilog",
"code",
"into",
"the",
"function",
"."
] | [
"TOY",
"TOY",
"TOY::SP",
"TOY::SUBrr",
"TOY::SUBri"
] | TOYFrameLowering1 | emitPrologue | TOY | CPU | LLVM | 33,463 | 188 | 1 | [] |
[
"<s>",
"static",
"void",
"mips_start_ll_sc_sync_block",
"(",
"void",
")",
"{",
"if",
"(",
"!",
"ISA_HAS_LL_SC",
")",
"{",
"output_asm_insn",
"(",
"\".set\\tpush\"",
",",
"0",
")",
";",
"if",
"(",
"TARGET_64BIT",
")",
"output_asm_insn",
"(",
"\".set\\tmips3\"",
... | [
"Start",
"a",
"block",
"of",
"code",
"that",
"needs",
"access",
"to",
"the",
"LL",
",",
"SC",
"and",
"SYNC",
"instructions",
"."
] | [
"mips",
"\".set\\tpush\"",
"0",
"\".set\\tmips3\"",
"0",
"\".set\\tmips2\"",
"0"
] | mips | mips_start_ll_sc_sync_block | mips | CPU | GCC | 33,464 | 41 | 1 | [] |
[
"<s>",
"static",
"int",
"m32c_leaf_function_p",
"(",
"void",
")",
"{",
"rtx",
"saved_first",
",",
"saved_last",
";",
"struct",
"sequence_stack",
"*",
"seq",
";",
"int",
"rv",
";",
"saved_first",
"=",
"cfun",
"->",
"emit",
"->",
"x_first_insn",
";",
"saved_la... | [
"Returns",
"TRUE",
"if",
"the",
"current",
"function",
"is",
"a",
"leaf",
",",
"and",
"thus",
"we",
"can",
"determine",
"which",
"registers",
"an",
"interrupt",
"function",
"really",
"needs",
"to",
"save",
".",
"The",
"logic",
"below",
"is",
"mostly",
"abo... | [
"m32c"
] | m32c2 | m32c_leaf_function_p | m32c | MPU | GCC | 33,465 | 111 | 1 | [] |
[
"<s>",
"static",
"enum",
"reg_class",
"init_unavailable",
"(",
"tag_insn_info",
"*",
"insn_info",
",",
"tag_map_t",
"&",
"tag_map",
",",
"du_head_p",
"head",
",",
"HARD_REG_SET",
"*",
"unavailable",
")",
"{",
"unsigned",
"dest",
"=",
"head",
"->",
"regno",
";"... | [
"Initialize",
"and",
"build",
"a",
"set",
"of",
"hard",
"register",
"numbers",
"UNAVAILABLE",
"to",
"avoid",
"for",
"renaming",
".",
"INSN_INFO",
"is",
"the",
"original",
"insn",
",",
"TAG_MAP",
"is",
"the",
"map",
"of",
"the",
"list",
"of",
"insns",
"inde... | [
"aarch64",
"0",
"0xf"
] | falkor-tag-collision-avoidance2 | init_unavailable | aarch64 | CPU | GCC | 33,466 | 187 | 1 | [] |
[
"<s>",
"unsigned",
"MipsABIInfo",
"::",
"GetCalleeAllocdArgSizeInBytes",
"(",
"CallingConv",
"::",
"ID",
"CC",
")",
"const",
"{",
"if",
"(",
"IsO32",
"(",
")",
")",
"return",
"CC",
"!=",
"CallingConv",
"::",
"Fast",
"?",
"16",
":",
"0",
";",
"if",
"(",
... | [
"Obtain",
"the",
"size",
"of",
"the",
"area",
"allocated",
"by",
"the",
"callee",
"for",
"arguments",
"."
] | [
"Mips",
"Mips",
"16",
"0",
"0",
"\"Unhandled ABI\""
] | MipsABIInfo1 | GetCalleeAllocdArgSizeInBytes | Mips | CPU | LLVM | 33,467 | 48 | 1 | [] |
[
"<s>",
"const",
"char",
"*",
"ix86_output_call_insn",
"(",
"rtx_insn",
"*",
"insn",
",",
"rtx",
"call_op",
")",
"{",
"bool",
"direct_p",
"=",
"constant_call_address_operand",
"(",
"call_op",
",",
"VOIDmode",
")",
";",
"bool",
"output_indirect_p",
"=",
"(",
"!"... | [
"Output",
"the",
"assembly",
"for",
"a",
"call",
"instruction",
"."
] | [
"i386",
"\"{%p0@GOTPCREL(%%rip)|[QWORD PTR %p0@GOTPCREL[rip]]}\"",
"\"%!jmp\\t{*%p0@GOTPCREL(%%rip)|[QWORD PTR %p0@GOTPCREL[rip]]}\"",
"\"{%p0@GOT|[DWORD PTR %p0@GOT]}\"",
"\"%!jmp\\t{*%p0@GOT|[DWORD PTR %p0@GOT]}\"",
"\"%!jmp\\t%P0\"",
"\"%!rex.W jmp\\t%A0\"",
"\"%0\"",
"\"%!jmp\\t%A0\"",
"\"\"",... | i3867 | ix86_output_call_insn | i386 | CPU | GCC | 33,468 | 381 | 1 | [] |
[
"<s>",
"unsigned",
"SIInstrInfo",
"::",
"removeBranch",
"(",
"MachineBasicBlock",
"&",
"MBB",
",",
"int",
"*",
"BytesRemoved",
")",
"const",
"{",
"MachineBasicBlock",
"::",
"iterator",
"I",
"=",
"MBB",
".",
"getFirstTerminator",
"(",
")",
";",
"unsigned",
"Cou... | [
"Remove",
"the",
"branching",
"code",
"at",
"the",
"end",
"of",
"the",
"specific",
"MBB",
"."
] | [
"AMDGPU",
"SI",
"0",
"0",
"AMDGPU::SI_MASK_BRANCH"
] | SIInstrInfo (2) | removeBranch | AMDGPU | GPU | LLVM | 33,469 | 114 | 1 | [] |
[
"<s>",
"bool",
"AArch64TargetLowering",
"::",
"shouldReduceLoadWidth",
"(",
"SDNode",
"*",
"Load",
",",
"ISD",
"::",
"LoadExtType",
"ExtTy",
",",
"EVT",
"NewVT",
")",
"const",
"{",
"if",
"(",
"!",
"TargetLoweringBase",
"::",
"shouldReduceLoadWidth",
"(",
"Load",... | [
"Return",
"true",
"if",
"we",
"believe",
"it",
"is",
"correct",
"and",
"profitable",
"to",
"reduce",
"the",
"load",
"node",
"to",
"a",
"smaller",
"type",
"."
] | [
"AArch64",
"AArch64",
"ISD::LoadExtType",
"ISD::NON_EXTLOAD",
"ISD::ADD",
"1",
"ISD::SHL",
"1",
"1",
"1",
"ISD::Constant",
"1",
"1",
"8"
] | AArch64ISelLowering (2)2 | shouldReduceLoadWidth | AArch64 | CPU | LLVM | 33,470 | 181 | 1 | [] |
[
"<s>",
"static",
"bool",
"originalEVTTypeIsVectorFloat",
"(",
"EVT",
"Ty",
")",
"{",
"if",
"(",
"Ty",
".",
"isVector",
"(",
")",
"&&",
"Ty",
".",
"getVectorElementType",
"(",
")",
".",
"isFloatingPoint",
"(",
")",
")",
"return",
"true",
";",
"return",
"f... | [
"Return",
"true",
"if",
"the",
"original",
"type",
"was",
"vXfXX",
"."
] | [
"Mips"
] | MipsCCState | originalEVTTypeIsVectorFloat | Mips | CPU | LLVM | 33,471 | 33 | 1 | [] |
[
"<s>",
"bool",
"supportSwiftError",
"(",
")",
"const",
"override",
"{",
"return",
"true",
";",
"}",
"</s>"
] | [
"Return",
"true",
"if",
"the",
"target",
"supports",
"swifterror",
"attribute",
"."
] | [
"ARM"
] | ARMISelLowering | supportSwiftError | ARM | CPU | LLVM | 33,472 | 11 | 1 | [] |
[
"<s>",
"const",
"uint16_t",
"*",
"MipsRegisterInfo",
"::",
"getCalleeSavedRegs",
"(",
"const",
"MachineFunction",
"*",
"MF",
")",
"const",
"{",
"if",
"(",
"Subtarget",
".",
"isSingleFloat",
"(",
")",
")",
"return",
"CSR_SingleFloatOnly_SaveList",
";",
"else",
"i... | [
"Code",
"Generation",
"virtual",
"methods",
"..."
] | [
"Mips",
"Mips",
"Mips"
] | MipsRegisterInfo11 | getCalleeSavedRegs | Mips | CPU | LLVM | 33,473 | 63 | 1 | [] |
[
"<s>",
"static",
"void",
"seh_emit_push",
"(",
"FILE",
"*",
"f",
",",
"struct",
"seh_frame_state",
"*",
"seh",
",",
"rtx",
"reg",
")",
"{",
"const",
"unsigned",
"int",
"regno",
"=",
"REGNO",
"(",
"reg",
")",
";",
"gcc_checking_assert",
"(",
"GENERAL_REGNO_... | [
"Emit",
"an",
"assembler",
"directive",
"to",
"save",
"REG",
"via",
"a",
"PUSH",
"."
] | [
"i386",
"\"\\t.seh_pushreg\\t\"",
"0"
] | winnt | seh_emit_push | i386 | CPU | GCC | 33,474 | 90 | 1 | [] |
[
"<s>",
"void",
"MMIXFrameLowering",
"::",
"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",
"."
] | [
"MMIX",
"MMIX",
"MMIX::r253"
] | MMIXFrameLowering | determineCalleeSaves | MMIX | CPU | LLVM | 33,475 | 40 | 1 | [] |
[
"<s>",
"void",
"TPCPassConfig",
"::",
"addPreEmitPass",
"(",
")",
"{",
"bool",
"NoOpt",
"=",
"(",
"getOptLevel",
"(",
")",
"==",
"CodeGenOpt",
"::",
"None",
")",
";",
"addPass",
"(",
"createTPCLutCacheCounter",
"(",
")",
",",
"false",
")",
";",
"if",
"("... | [
"This",
"pass",
"may",
"be",
"implemented",
"by",
"targets",
"that",
"want",
"to",
"run",
"passes",
"immediately",
"before",
"machine",
"code",
"is",
"emitted",
"."
] | [
"TPC",
"TPC",
"TPC",
"TPC",
"TPC",
"TPC",
"TPC",
"TPC",
"TPC",
"TPC",
"TPC"
] | TPCTargetMachine | addPreEmitPass | TPC | Virtual ISA | LLVM | 33,476 | 107 | 1 | [] |
[
"<s>",
"static",
"void",
"cris_trampoline_init",
"(",
"rtx",
"m_tramp",
",",
"tree",
"fndecl",
",",
"rtx",
"chain_value",
")",
"{",
"rtx",
"fnaddr",
"=",
"XEXP",
"(",
"DECL_RTL",
"(",
"fndecl",
")",
",",
"0",
")",
";",
"rtx",
"mem",
";",
"emit_block_move... | [
"Implement",
"TARGET_TRAMPOLINE_INIT",
"."
] | [
"cris",
"0",
"10",
"16"
] | cris | cris_trampoline_init | cris | MPU | GCC | 33,477 | 83 | 1 | [] |
[
"<s>",
"bool",
"HexagonExpandCondsets",
"::",
"isPredicable",
"(",
"MachineInstr",
"*",
"MI",
")",
"{",
"if",
"(",
"HII",
"->",
"isPredicated",
"(",
"*",
"MI",
")",
"||",
"!",
"HII",
"->",
"isPredicable",
"(",
"*",
"MI",
")",
")",
"return",
"false",
";... | [
"Return",
"true",
"if",
"the",
"specified",
"instruction",
"can",
"be",
"predicated",
"."
] | [
"Hexagon",
"Hexagon"
] | HexagonExpandCondsets | isPredicable | Hexagon | DSP | LLVM | 33,478 | 124 | 1 | [] |
[
"<s>",
"bool",
"X86TargetLowering",
"::",
"convertSelectOfConstantsToMath",
"(",
"EVT",
"VT",
")",
"const",
"{",
"if",
"(",
"VT",
".",
"isVector",
"(",
")",
"&&",
"Subtarget",
".",
"hasAVX512",
"(",
")",
")",
"return",
"false",
";",
"return",
"true",
";",
... | [
"Return",
"true",
"if",
"a",
"select",
"of",
"constants",
"(",
"select",
"Cond",
",",
"C1",
",",
"C2",
")",
"should",
"be",
"transformed",
"into",
"simple",
"math",
"ops",
"with",
"the",
"condition",
"value",
"."
] | [
"X86",
"X86"
] | X86ISelLowering (2)5 | convertSelectOfConstantsToMath | X86 | CPU | LLVM | 33,479 | 31 | 1 | [] |
[
"<s>",
"int",
"xs_hi_nonmemory_operand",
"(",
"rtx",
"x",
",",
"enum",
"machine_mode",
"mode",
"ATTRIBUTE_UNUSED",
")",
"{",
"if",
"(",
"(",
"GET_CODE",
"(",
"x",
")",
"==",
"CONST_INT",
")",
"&&",
"(",
"(",
"INTVAL",
"(",
"x",
")",
">=",
"32768",
")",... | [
"Detect",
"and",
"error",
"out",
"on",
"out-of-range",
"constants",
"for",
"addhi",
"and",
"subhi",
"."
] | [
"stormy16",
"32768",
"32768",
"\"constant arithmetic operand out of range\""
] | stormy163 | xs_hi_nonmemory_operand | stormy16 | CPU | GCC | 33,480 | 58 | 1 | [] |
[
"<s>",
"unsigned",
"char",
"X86Subtarget",
"::",
"classifyLocalReference",
"(",
"const",
"GlobalValue",
"*",
"GV",
")",
"const",
"{",
"if",
"(",
"is64Bit",
"(",
")",
")",
"return",
"X86II",
"::",
"MO_NO_FLAG",
";",
"if",
"(",
"TM",
".",
"getRelocationModel",... | [
"Classify",
"a",
"global",
"variable",
"reference",
"for",
"the",
"current",
"subtarget",
"according",
"to",
"how",
"we",
"should",
"reference",
"it",
"in",
"a",
"non-pcrel",
"context",
"."
] | [
"X86",
"X86",
"X86II::MO_NO_FLAG",
"X86II::MO_NO_FLAG",
"X86II::MO_NO_FLAG",
"X86II::MO_DARWIN_NONLAZY_PIC_BASE",
"X86II::MO_PIC_BASE_OFFSET",
"X86II::MO_GOTOFF"
] | X86Subtarget64 | classifyLocalReference | X86 | CPU | LLVM | 33,481 | 94 | 1 | [] |
[
"<s>",
"unsigned",
"ARMBaseRegisterInfo",
"::",
"getRegPressureLimit",
"(",
"const",
"TargetRegisterClass",
"*",
"RC",
",",
"MachineFunction",
"&",
"MF",
")",
"const",
"{",
"const",
"ARMSubtarget",
"&",
"STI",
"=",
"MF",
".",
"getSubtarget",
"<",
"ARMSubtarget",
... | [
"Return",
"the",
"register",
"pressure",
"``",
"high",
"water",
"mark",
"''",
"for",
"the",
"specific",
"register",
"class",
"."
] | [
"ARM",
"ARM",
"ARM",
"ARM",
"ARM",
"0",
"ARM::tGPRRegClassID",
"5",
"ARM::GPRRegClassID",
"10",
"1",
"0",
"ARM::SPRRegClassID",
"ARM::DPRRegClassID",
"32",
"10"
] | ARMBaseRegisterInfo4 | getRegPressureLimit | ARM | CPU | LLVM | 33,482 | 166 | 1 | [] |
[
"<s>",
"static",
"rtx",
"frv_expand_voidbinop_builtin",
"(",
"enum",
"insn_code",
"icode",
",",
"tree",
"arglist",
")",
"{",
"rtx",
"pat",
";",
"rtx",
"op0",
"=",
"frv_read_argument",
"(",
"&",
"arglist",
")",
";",
"rtx",
"op1",
"=",
"frv_read_argument",
"("... | [
"Expand",
"builtins",
"that",
"take",
"two",
"operands",
",",
"the",
"first",
"operand",
"being",
"a",
"pointer",
"to",
"ints",
"and",
"return",
"void",
"."
] | [
"frv",
"0",
"0",
"0",
"0",
"1",
"0",
"0"
] | frv2 | frv_expand_voidbinop_builtin | frv | VLIW | GCC | 33,483 | 191 | 1 | [] |
[
"<s>",
"StringRef",
"getPassName",
"(",
")",
"const",
"override",
"{",
"return",
"\"X86 Atom pad short functions\"",
";",
"}",
"</s>"
] | [
"getPassName",
"-",
"Return",
"a",
"nice",
"clean",
"name",
"for",
"a",
"pass",
"."
] | [
"X86",
"\"X86 Atom pad short functions\""
] | X86PadShortFunction (2)1 | getPassName | X86 | CPU | LLVM | 33,484 | 11 | 1 | [] |
[
"<s>",
"bool",
"MVEGatherScatterLowering",
"::",
"runOnFunction",
"(",
"Function",
"&",
"F",
")",
"{",
"if",
"(",
"!",
"EnableMaskedGatherScatters",
")",
"return",
"false",
";",
"auto",
"&",
"TPC",
"=",
"getAnalysis",
"<",
"TargetPassConfig",
">",
"(",
")",
... | [
"runOnFunction",
"-",
"Virtual",
"method",
"overriden",
"by",
"subclasses",
"to",
"do",
"the",
"per-function",
"processing",
"of",
"the",
"pass",
"."
] | [
"ARM",
"ARM",
"4",
"4",
"Intrinsic::masked_gather",
"Intrinsic::masked_scatter",
"0",
"0",
"0",
"1",
"0",
"1",
"1",
"1"
] | MVEGatherScatterLowering1 | runOnFunction | ARM | CPU | LLVM | 33,485 | 407 | 1 | [] |
[
"<s>",
"ARMSubtarget",
"::",
"ARMSubtarget",
"(",
"const",
"Triple",
"&",
"TT",
",",
"const",
"std",
"::",
"string",
"&",
"CPU",
",",
"const",
"std",
"::",
"string",
"&",
"FS",
",",
"const",
"ARMBaseTargetMachine",
"&",
"TM",
",",
"bool",
"IsLittle",
")"... | [
"This",
"constructor",
"initializes",
"the",
"data",
"members",
"to",
"match",
"that",
"of",
"the",
"specified",
"triple",
"."
] | [
"ARM",
"ARM",
"ARM",
"ARM",
"ARM",
"ARM",
"ARM",
"ARM",
"ARM",
"ARM",
"ARM",
"ARM",
"ARM",
"ARM"
] | ARMSubtarget | ARMSubtarget | ARM | CPU | LLVM | 33,486 | 209 | 1 | [] |
[
"<s>",
"void",
"AArch64FrameLowering",
"::",
"emitEpilogue",
"(",
"MachineFunction",
"&",
"MF",
",",
"MachineBasicBlock",
"&",
"MBB",
")",
"const",
"{",
"MachineBasicBlock",
"::",
"iterator",
"MBBI",
"=",
"MBB",
".",
"getLastNonDebugInstr",
"(",
")",
";",
"asser... | [
"Insert",
"epilog",
"code",
"into",
"the",
"function",
"."
] | [
"AArch64",
"AArch64",
"\"Can only insert epilog into returning blocks\"",
"AArch64",
"AArch64",
"AArch64",
"AArch64",
"AArch64",
"AArch64",
"0",
"AArch64::TCRETURNdi",
"AArch64::TCRETURNri",
"1",
"0",
"16",
"0",
"\"Negative stack allocation size!?\"",
"AArch64::SP",
"AArch64::SP"... | AArch64FrameLowering43 | emitEpilogue | AArch64 | CPU | LLVM | 33,487 | 388 | 1 | [] |
[
"<s>",
"static",
"unsigned",
"getSize",
"(",
"unsigned",
"Kind",
")",
"{",
"switch",
"(",
"Kind",
")",
"{",
"default",
":",
"return",
"4",
";",
"case",
"RISCV",
"::",
"fixup_riscv_rvc_jump",
":",
"case",
"RISCV",
"::",
"fixup_riscv_rvc_branch",
":",
"return"... | [
"Return",
"the",
"number",
"of",
"bytes",
"in",
"the",
"encoding",
"of",
"this",
"instruction",
",",
"or",
"zero",
"if",
"the",
"encoding",
"size",
"can",
"not",
"be",
"known",
"from",
"the",
"opcode",
"."
] | [
"RISCV",
"4",
"RISCV::fixup_riscv_rvc_jump",
"RISCV::fixup_riscv_rvc_branch",
"2"
] | RISCVAsmBackend28 | getSize | RISCV | CPU | LLVM | 33,488 | 33 | 1 | [] |
[
"<s>",
"bool",
"MSP430InstrInfo",
"::",
"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... | [
"MSP430",
"MSP430",
"0",
"MSP430::POP16r"
] | MSP430InstrInfo14 | restoreCalleeSavedRegisters | MSP430 | MPU | LLVM | 33,489 | 115 | 1 | [] |
[
"<s>",
"StringRef",
"getPassName",
"(",
")",
"const",
"override",
"{",
"return",
"\"TGSI Control Flow Graph structurizer Pass\"",
";",
"}",
"</s>"
] | [
"getPassName",
"-",
"Return",
"a",
"nice",
"clean",
"name",
"for",
"a",
"pass",
"."
] | [
"TGSI",
"\"TGSI Control Flow Graph structurizer Pass\""
] | TGSICFGStructurizer | getPassName | TGSI | Virtual ISA | LLVM | 33,490 | 11 | 1 | [] |
[
"<s>",
"iterator",
"end",
"(",
")",
"const",
"{",
"return",
"SubExceptions",
".",
"end",
"(",
")",
";",
"}",
"</s>"
] | [
"Get",
"a",
"const_iterator",
"to",
"the",
"end",
"of",
"the",
"symbol",
"table",
"."
] | [
"WebAssembly"
] | WebAssemblyExceptionInfo | end | WebAssembly | Virtual ISA | LLVM | 33,491 | 14 | 1 | [] |
[
"<s>",
"SDValue",
"SystemZDAGToDAGISel",
"::",
"getUNDEF",
"(",
"const",
"SDLoc",
"&",
"DL",
",",
"EVT",
"VT",
")",
"const",
"{",
"SDNode",
"*",
"N",
"=",
"CurDAG",
"->",
"getMachineNode",
"(",
"TargetOpcode",
"::",
"IMPLICIT_DEF",
",",
"DL",
",",
"VT",
... | [
"Return",
"an",
"UNDEF",
"node",
".",
"UNDEF",
"does",
"not",
"have",
"a",
"useful",
"SDLoc",
"."
] | [
"SystemZ",
"SystemZ",
"0"
] | SystemZISelDAGToDAG (2)1 | getUNDEF | SystemZ | CPU | LLVM | 33,492 | 41 | 1 | [] |
[
"<s>",
"MachineBasicBlock",
"*",
"SITargetLowering",
"::",
"EmitInstrWithCustomInserter",
"(",
"MachineInstr",
"*",
"MI",
",",
"MachineBasicBlock",
"*",
"BB",
")",
"const",
"{",
"MachineBasicBlock",
"::",
"iterator",
"I",
"=",
"*",
"MI",
";",
"switch",
"(",
"MI"... | [
"This",
"method",
"should",
"be",
"implemented",
"by",
"targets",
"that",
"mark",
"instructions",
"with",
"the",
"'usesCustomInserter",
"'",
"flag",
"."
] | [
"R600",
"SI",
"SI",
"SI",
"SI",
"0",
"1",
"0",
"32"
] | SIISelLowering156 | EmitInstrWithCustomInserter | R600 | GPU | LLVM | 33,493 | 369 | 1 | [] |
[
"<s>",
"void",
"TLCS900RegisterInfo",
"::",
"eliminateFrameIndex",
"(",
"MachineBasicBlock",
"::",
"iterator",
"II",
",",
"int",
"SPAdj",
",",
"RegScavenger",
"*",
"RS",
")",
"const",
"{",
"assert",
"(",
"SPAdj",
"==",
"0",
"&&",
"\"Unexpected\"",
")",
";",
... | [
"This",
"method",
"must",
"be",
"overriden",
"to",
"eliminate",
"abstract",
"frame",
"indices",
"from",
"instructions",
"which",
"may",
"use",
"them",
"."
] | [
"TLCS900",
"TLCS900",
"0",
"\"Unexpected\"",
"0",
"\"Instr doesn't have FrameIndex operand!\"",
"TLCS900::FPW",
"TLCS900::SPW",
"2",
"2",
"1",
"TLCS900::ADD16ri",
"TLCS900::MOV16rr",
"0",
"0",
"0",
"TLCS900::SUB16ri",
"TLCS900::ADD16ri",
"1"
] | TLCS900RegisterInfo | eliminateFrameIndex | TLCS900 | MPU | LLVM | 33,494 | 385 | 1 | [] |
[
"<s>",
"void",
"BPFInstPrinter",
"::",
"printInst",
"(",
"const",
"MCInst",
"*",
"MI",
",",
"raw_ostream",
"&",
"O",
",",
"StringRef",
"Annot",
",",
"const",
"MCSubtargetInfo",
"&",
"STI",
")",
"{",
"printInstruction",
"(",
"MI",
",",
"O",
")",
";",
"pri... | [
"Print",
"the",
"specified",
"MCInst",
"to",
"the",
"specified",
"raw_ostream",
"."
] | [
"BPF",
"BPF"
] | BPFInstPrinter | printInst | BPF | Virtual ISA | LLVM | 33,495 | 38 | 1 | [] |
[
"<s>",
"bool",
"RISCVELFTargetObjectFile",
"::",
"isConstantInSmallSection",
"(",
"const",
"DataLayout",
"&",
"DL",
",",
"const",
"Constant",
"*",
"CN",
")",
"const",
"{",
"return",
"isInSmallSection",
"(",
"DL",
".",
"getTypeAllocSize",
"(",
"CN",
"->",
"getTyp... | [
"Return",
"true",
"if",
"this",
"constant",
"should",
"be",
"placed",
"into",
"small",
"data",
"section",
"."
] | [
"RISCV",
"RISCV"
] | RISCVTargetObjectFile2 | isConstantInSmallSection | RISCV | CPU | LLVM | 33,496 | 33 | 1 | [] |
[
"<s>",
"TargetLowering",
"::",
"ConstraintWeight",
"PPCTargetLowering",
"::",
"getSingleConstraintMatchWeight",
"(",
"AsmOperandInfo",
"&",
"info",
",",
"const",
"char",
"*",
"constraint",
")",
"const",
"{",
"ConstraintWeight",
"weight",
"=",
"CW_Invalid",
";",
"Value... | [
"Examine",
"constraint",
"string",
"and",
"operand",
"type",
"and",
"determine",
"a",
"weight",
"value",
"."
] | [
"PowerPC",
"PPC",
"\"wc\"",
"1",
"\"wa\"",
"\"wd\"",
"\"wf\"",
"\"ws\""
] | PPCISelLowering (2)2 | getSingleConstraintMatchWeight | PowerPC | CPU | LLVM | 33,497 | 234 | 1 | [] |
[
"<s>",
"static",
"unsigned",
"long",
"csky_isr_value",
"(",
"tree",
"argument",
")",
"{",
"const",
"isr_attribute_entry",
"*",
"ptr",
";",
"const",
"char",
"*",
"arg",
";",
"if",
"(",
"argument",
"==",
"NULL_TREE",
")",
"return",
"CSKY_FT_ISR",
";",
"if",
... | [
"Returns",
"the",
"(",
"interrupt",
")",
"function",
"type",
"of",
"the",
"current",
"function",
",",
"or",
"CSKY_FT_UNKNOWN",
"if",
"the",
"type",
"can",
"not",
"be",
"determined",
"."
] | [
"csky",
"0"
] | csky | csky_isr_value | csky | CPU | GCC | 33,498 | 97 | 1 | [] |
[
"<s>",
"sh_extending_set_of_reg",
"sh_find_extending_set_of_reg",
"(",
"rtx",
"reg",
",",
"rtx_insn",
"*",
"curr_insn",
")",
"{",
"if",
"(",
"reg",
"==",
"NULL",
")",
"return",
"sh_extending_set_of_reg",
"(",
"curr_insn",
")",
";",
"if",
"(",
"SUBREG_P",
"(",
... | [
"Given",
"a",
"reg",
"and",
"the",
"current",
"insn",
",",
"see",
"if",
"the",
"value",
"of",
"the",
"reg",
"originated",
"from",
"a",
"sign",
"or",
"zero",
"extension",
"and",
"return",
"the",
"discovered",
"information",
"."
] | [
"sh",
"\"sh_find_extending_set_of_reg: reg %d is \"",
"\"explicitly sign/zero extended in insn %d\\n\"",
"0",
"\"sh_find_extending_set_of_reg: reg %d is \"",
"\"implicitly sign extended in insn %d\\n\""
] | sh | sh_find_extending_set_of_reg | sh | CPU | GCC | 33,499 | 233 | 1 | [] |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.