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>",
"unsigned",
"getNumFixupKinds",
"(",
")",
"const",
"{",
"return",
"5",
";",
"}",
"</s>"
] | [
"Get",
"the",
"number",
"of",
"target",
"specific",
"fixup",
"kinds",
"."
] | [
"X86",
"5"
] | X86MCCodeEmitter17 | getNumFixupKinds | X86 | CPU | LLVM | 29,700 | 10 | 1 | [] |
[
"<s>",
"unsigned",
"AMDGPUAsmParser",
"::",
"validateTargetOperandClass",
"(",
"MCParsedAsmOperand",
"&",
"Op",
",",
"unsigned",
"Kind",
")",
"{",
"AMDGPUOperand",
"&",
"Operand",
"=",
"(",
"AMDGPUOperand",
"&",
")",
"Op",
";",
"switch",
"(",
"Kind",
")",
"{",... | [
"Allow",
"a",
"target",
"to",
"add",
"special",
"case",
"operand",
"matching",
"for",
"things",
"that",
"tblgen",
"doesn't/ca",
"n't",
"handle",
"effectively",
"."
] | [
"AMDGPU",
"AMDGPU",
"AMDGPU",
"AMDGPU"
] | AMDGPUAsmParser15 | validateTargetOperandClass | AMDGPU | GPU | LLVM | 29,701 | 217 | 1 | [] |
[
"<s>",
"void",
"AMDGPUTargetLowering",
"::",
"computeKnownBitsForTargetNode",
"(",
"const",
"SDValue",
"Op",
",",
"APInt",
"&",
"KnownZero",
",",
"APInt",
"&",
"KnownOne",
",",
"const",
"SelectionDAG",
"&",
"DAG",
",",
"unsigned",
"Depth",
")",
"const",
"{",
"... | [
"Determine",
"which",
"of",
"the",
"bits",
"specified",
"in",
"Mask",
"are",
"known",
"to",
"be",
"either",
"zero",
"or",
"one",
"and",
"return",
"them",
"in",
"the",
"KnownZero/KnownOne",
"bitsets",
"."
] | [
"R600",
"0",
"ISD::INTRINSIC_WO_CHAIN",
"0",
"AMDGPUIntrinsic::AMDGPU_imax",
"AMDGPUIntrinsic::AMDGPU_umax",
"AMDGPUIntrinsic::AMDGPU_imin",
"AMDGPUIntrinsic::AMDGPU_umin",
"1",
"2",
"AMDGPUISD::SMAX",
"AMDGPUISD::UMAX",
"AMDGPUISD::SMIN",
"AMDGPUISD::UMIN",
"0",
"1",
"AMDGPUISD::BFE... | AMDGPUISelLowering100 | computeKnownBitsForTargetNode | R600 | GPU | LLVM | 29,702 | 271 | 1 | [] |
[
"<s>",
"bool",
"runOnMachineFunction",
"(",
"MachineFunction",
"&",
"MF",
")",
"override",
"{",
"HST",
"=",
"&",
"MF",
".",
"getSubtarget",
"<",
"HexagonSubtarget",
">",
"(",
")",
";",
"HII",
"=",
"HST",
"->",
"getInstrInfo",
"(",
")",
";",
"HRI",
"=",
... | [
"runOnMachineFunction",
"-",
"Emit",
"the",
"function",
"body",
"."
] | [
"Hexagon",
"Hexagon"
] | HexagonISelDAGToDAG | runOnMachineFunction | Hexagon | DSP | LLVM | 29,703 | 48 | 1 | [] |
[
"<s>",
"SDValue",
"SparcTargetLowering",
"::",
"LowerOperation",
"(",
"SDValue",
"Op",
",",
"SelectionDAG",
"&",
"DAG",
")",
"{",
"switch",
"(",
"Op",
".",
"getOpcode",
"(",
")",
")",
"{",
"default",
":",
"assert",
"(",
"0",
"&&",
"\"Should not custom lower ... | [
"LowerOperation",
"-",
"Provide",
"custom",
"lowering",
"hooks",
"for",
"some",
"operations",
"."
] | [
"Sparc",
"Sparc",
"0",
"\"Should not custom lower this!\"",
"ISD::RETURNADDR",
"ISD::FRAMEADDR",
"ISD::GlobalTLSAddress",
"0",
"\"TLS not implemented for Sparc.\"",
"ISD::GlobalAddress",
"ISD::ConstantPool",
"ISD::FP_TO_SINT",
"ISD::SINT_TO_FP",
"ISD::BR_CC",
"ISD::SELECT_CC",
"ISD::VA... | SparcISelLowering74 | LowerOperation | Sparc | CPU | LLVM | 29,704 | 211 | 1 | [] |
[
"<s>",
"void",
"RISCVFrameLowering",
"::",
"emitEpilogue",
"(",
"MachineFunction",
"&",
"MF",
",",
"MachineBasicBlock",
"&",
"MBB",
")",
"const",
"{",
"if",
"(",
"!",
"hasFP",
"(",
"MF",
")",
")",
"{",
"report_fatal_error",
"(",
"\"emitEpilogue doesn't support f... | [
"Insert",
"epilog",
"code",
"into",
"the",
"function",
"."
] | [
"RISCV",
"RISCV",
"\"emitEpilogue doesn't support framepointer-less functions\"",
"RISCV"
] | RISCVFrameLowering30 | emitEpilogue | RISCV | CPU | LLVM | 29,705 | 178 | 1 | [] |
[
"<s>",
"static",
"void",
"cris_print_index",
"(",
"rtx",
"index",
",",
"FILE",
"*",
"file",
")",
"{",
"rtx",
"inner",
"=",
"XEXP",
"(",
"index",
",",
"0",
")",
";",
"if",
"(",
"GET_CODE",
"(",
"index",
")",
"!=",
"CONST_INT",
"||",
"INTVAL",
"(",
"... | [
"Print",
"an",
"index",
"part",
"of",
"an",
"address",
"to",
"file",
"."
] | [
"cris",
"0",
"0",
"\"$%s.b\"",
"\"$%s.\"",
"0",
"1",
"2",
"0",
"\"[$%s+].\"",
"0",
"\"[$%s].\"",
"\"[$%s+].d\"",
"0",
"\"[$%s].d\"",
"\"unexpected index-type in cris_print_index\""
] | cris3 | cris_print_index | cris | MPU | GCC | 29,706 | 311 | 1 | [] |
[
"<s>",
"static",
"bool",
"aarch64_pac_insn_p",
"(",
"rtx",
"x",
")",
"{",
"if",
"(",
"!",
"INSN_P",
"(",
"x",
")",
")",
"return",
"false",
";",
"subrtx_var_iterator",
"::",
"array_type",
"array",
";",
"FOR_EACH_SUBRTX_VAR",
"(",
"iter",
",",
"array",
",",
... | [
"Check",
"if",
"X",
"(",
"or",
"any",
"sub-rtx",
"of",
"X",
")",
"is",
"a",
"PACIASP/PACIBSP",
"instruction",
"."
] | [
"aarch64",
"1"
] | aarch64-bti-insert | aarch64_pac_insn_p | aarch64 | CPU | GCC | 29,707 | 98 | 1 | [] |
[
"<s>",
"StringRef",
"getPassName",
"(",
")",
"const",
"override",
"{",
"return",
"\"AMDGPU Control Flow Graph structurizer Pass\"",
";",
"}",
"</s>"
] | [
"getPassName",
"-",
"Return",
"a",
"nice",
"clean",
"name",
"for",
"a",
"pass",
"."
] | [
"AMDGPU",
"\"AMDGPU Control Flow Graph structurizer Pass\""
] | AMDILCFGStructurizer10 | getPassName | AMDGPU | GPU | LLVM | 29,708 | 11 | 1 | [] |
[
"<s>",
"static",
"int",
"s390_issue_rate",
"(",
"void",
")",
"{",
"switch",
"(",
"s390_tune",
")",
"{",
"case",
"PROCESSOR_2084_Z990",
":",
"case",
"PROCESSOR_2094_Z9_109",
":",
"case",
"PROCESSOR_2094_Z9_EC",
":",
"case",
"PROCESSOR_2817_Z196",
":",
"return",
"3"... | [
"The",
"number",
"of",
"instructions",
"that",
"can",
"be",
"issued",
"per",
"cycle",
"."
] | [
"s390",
"3",
"2",
"1"
] | s390 | s390_issue_rate | s390 | MPU | GCC | 29,709 | 55 | 1 | [] |
[
"<s>",
"bool",
"AArch64TargetLowering",
"::",
"isLegalAddressingMode",
"(",
"const",
"AddrMode",
"&",
"AM",
",",
"Type",
"*",
"Ty",
")",
"const",
"{",
"if",
"(",
"AM",
".",
"BaseGV",
")",
"return",
"false",
";",
"if",
"(",
"AM",
".",
"HasBaseReg",
"&&",
... | [
"isLegalAddressingMode",
"-",
"Return",
"true",
"if",
"the",
"addressing",
"mode",
"represented",
"by",
"AM",
"is",
"legal",
"for",
"this",
"target",
",",
"for",
"a",
"load/store",
"of",
"the",
"specified",
"type",
"."
] | [
"AArch64",
"AArch64",
"0",
"8",
"0",
"1LL",
"9",
"1LL",
"9",
"1",
"0",
"1LL",
"12",
"1",
"1",
"0"
] | AArch64ISelLowering109 | isLegalAddressingMode | AArch64 | CPU | LLVM | 29,710 | 210 | 1 | [] |
[
"<s>",
"static",
"rtx",
"sparc_function_incoming_arg",
"(",
"cumulative_args_t",
"cum",
",",
"machine_mode",
"mode",
",",
"const_tree",
"type",
",",
"bool",
"named",
")",
"{",
"return",
"sparc_function_arg_1",
"(",
"cum",
",",
"mode",
",",
"type",
",",
"named",
... | [
"Handle",
"the",
"TARGET_FUNCTION_INCOMING_ARG",
"target",
"hook",
"."
] | [
"sparc"
] | sparc4 | sparc_function_incoming_arg | sparc | CPU | GCC | 29,711 | 32 | 1 | [] |
[
"<s>",
"void",
"X86FrameLowering",
"::",
"BuildCFI",
"(",
"MachineBasicBlock",
"&",
"MBB",
",",
"MachineBasicBlock",
"::",
"iterator",
"MBBI",
",",
"const",
"DebugLoc",
"&",
"DL",
",",
"const",
"MCCFIInstruction",
"&",
"CFIInst",
",",
"MachineInstr",
"::",
"MIFl... | [
"Wraps",
"up",
"getting",
"a",
"CFI",
"index",
"and",
"building",
"a",
"MachineInstr",
"for",
"it",
"."
] | [
"X86",
"X86"
] | X86FrameLowering (2)3 | BuildCFI | X86 | CPU | LLVM | 29,712 | 81 | 1 | [] |
[
"<s>",
"static",
"unsigned",
"HOST_WIDE_INT",
"compute_current_alignment",
"(",
"unsigned",
"HOST_WIDE_INT",
"base_align",
",",
"unsigned",
"HOST_WIDE_INT",
"offset",
")",
"{",
"if",
"(",
"offset",
"==",
"0",
")",
"return",
"base_align",
";",
"return",
"min",
"(",... | [
"Compute",
"the",
"alignment",
"of",
"pointer+OFFSET",
"where",
"the",
"original",
"alignment",
"of",
"pointer",
"was",
"BASE_ALIGN",
"."
] | [
"powerpcspe",
"0"
] | powerpcspe | compute_current_alignment | powerpcspe | CPU | GCC | 29,713 | 35 | 1 | [] |
[
"<s>",
"bool",
"PPCTTIImpl",
"::",
"isHardwareLoopProfitable",
"(",
"Loop",
"*",
"L",
",",
"ScalarEvolution",
"&",
"SE",
",",
"AssumptionCache",
"&",
"AC",
",",
"TargetLibraryInfo",
"*",
"LibInfo",
",",
"HardwareLoopInfo",
"&",
"HWLoopInfo",
")",
"{",
"const",
... | [
"Query",
"the",
"target",
"whether",
"it",
"would",
"be",
"profitable",
"to",
"convert",
"the",
"given",
"loop",
"into",
"a",
"hardware",
"loop",
"."
] | [
"PowerPC",
"PPC",
"PPC",
"32",
"6",
"4",
"0",
"0",
"0",
"PPC",
"1"
] | PPCTargetTransformInfo10 | isHardwareLoopProfitable | PowerPC | CPU | LLVM | 29,714 | 360 | 1 | [] |
[
"<s>",
"static",
"uint8_t",
"name",
"(",
"struct",
"InternalInstruction",
"*",
"insn",
",",
"\\",
"OperandType",
"type",
",",
"\\",
"uint8_t",
"index",
",",
"\\",
"uint8_t",
"*",
"valid",
")",
"{",
"\\",
"*",
"valid",
"=",
"1",
";",
"\\",
"switch",
"("... | [
"Gets",
"the",
"name",
"of",
"the",
"pass",
"we",
"are",
"mixed",
"into",
"."
] | [
"X86",
"1",
"\"Unhandled register type\"",
"0",
"0",
"4",
"7",
"4",
"7",
"0",
"5",
"0",
"7",
"0",
"8",
"0"
] | X86DisassemblerDecoder1 | name | X86 | CPU | LLVM | 29,715 | 327 | 1 | [] |
[
"<s>",
"const",
"MCExpr",
"*",
"PPCTargetLowering",
"::",
"getPICJumpTableRelocBaseExpr",
"(",
"const",
"MachineFunction",
"*",
"MF",
",",
"unsigned",
"JTI",
",",
"MCContext",
"&",
"Ctx",
")",
"const",
"{",
"if",
"(",
"!",
"Subtarget",
".",
"isPPC64",
"(",
"... | [
"This",
"returns",
"the",
"relocation",
"base",
"for",
"the",
"given",
"PIC",
"jumptable",
",",
"the",
"same",
"as",
"getPICJumpTableRelocBase",
",",
"but",
"as",
"an",
"MCExpr",
"."
] | [
"PowerPC",
"PPC",
"PPC"
] | PPCISelLowering100 | getPICJumpTableRelocBaseExpr | PowerPC | CPU | LLVM | 29,716 | 99 | 1 | [] |
[
"<s>",
"void",
"loongarch_expand_prologue",
"(",
"void",
")",
"{",
"struct",
"loongarch_frame_info",
"*",
"frame",
"=",
"&",
"cfun",
"->",
"machine",
"->",
"frame",
";",
"HOST_WIDE_INT",
"size",
"=",
"frame",
"->",
"total_size",
";",
"rtx",
"insn",
";",
"if"... | [
"Expand",
"the",
"``",
"prologue",
"''",
"pattern",
"."
] | [
"loongarch",
"0",
"1",
"1",
"0",
"0",
"0",
"1"
] | loongarch1 | loongarch_expand_prologue | loongarch | CPU | GCC | 29,717 | 377 | 1 | [] |
[
"<s>",
"bool",
"writeNopData",
"(",
"raw_ostream",
"&",
"OS",
",",
"uint64_t",
"Count",
",",
"const",
"MCSubtargetInfo",
"*",
"STI",
")",
"const",
"override",
"{",
"static",
"const",
"uint32_t",
"Nopcode",
"=",
"0x7f000000",
",",
"ParseIn",
"=",
"0x00004000",
... | [
"Write",
"an",
"(",
"optimal",
")",
"nop",
"sequence",
"of",
"Count",
"bytes",
"to",
"the",
"given",
"output",
"."
] | [
"Hexagon",
"0x7f000000",
"0x00004000",
"0x0000c000",
"\"Alignment not a multiple of the instruction size:\"",
"\"/\"",
"\"\\n\"",
"support::endian"
] | HexagonAsmBackend14 | writeNopData | Hexagon | DSP | LLVM | 29,718 | 116 | 1 | [] |
[
"<s>",
"SDValue",
"R600TargetLowering",
"::",
"LowerFormalArguments",
"(",
"SDValue",
"Chain",
",",
"CallingConv",
"::",
"ID",
"CallConv",
",",
"bool",
"isVarArg",
",",
"const",
"SmallVectorImpl",
"<",
"ISD",
"::",
"InputArg",
">",
"&",
"Ins",
",",
"SDLoc",
"D... | [
"This",
"hook",
"must",
"be",
"implemented",
"to",
"lower",
"the",
"incoming",
"(",
"formal",
")",
"arguments",
",",
"described",
"by",
"the",
"Ins",
"array",
",",
"into",
"the",
"specified",
"DAG",
"."
] | [
"R600",
"ISD::InputArg",
"16",
"ISD::InputArg",
"8",
"0",
"AMDGPUAS::CONSTANT_BUFFER_0",
"ISD::SEXTLOAD",
"36",
"MVT::i32",
"4"
] | R600ISelLowering27 | LowerFormalArguments | R600 | GPU | LLVM | 29,719 | 333 | 1 | [] |
[
"<s>",
"static",
"bool",
"ix86_macro_fusion_pair_p",
"(",
"rtx_insn",
"*",
"condgen",
",",
"rtx_insn",
"*",
"condjmp",
")",
"{",
"rtx",
"src",
",",
"dest",
";",
"enum",
"rtx_code",
"ccode",
";",
"rtx",
"compare_set",
"=",
"NULL_RTX",
",",
"test_if",
",",
"... | [
"Check",
"whether",
"current",
"microarchitecture",
"support",
"macro",
"fusion",
"for",
"insn",
"pair",
"``",
"CONDGEN",
"+",
"CONDJMP",
"''",
".",
"Refer",
"to",
"``",
"Intel",
"Architectures",
"Optimization",
"Reference",
"Manual",
"''",
"."
] | [
"i386",
"0",
"0",
"0",
"0",
"0",
"0",
"0",
"1",
"1",
"0",
"0",
"0",
"0",
"1",
"1",
"0",
"0"
] | i3864 | ix86_macro_fusion_pair_p | i386 | CPU | GCC | 29,720 | 504 | 1 | [] |
[
"<s>",
"const",
"char",
"*",
"getPassName",
"(",
")",
"const",
"override",
"{",
"return",
"\"RISCV DAG->DAG Pattern Instruction Selection\"",
";",
"}",
"</s>"
] | [
"getPassName",
"-",
"Return",
"a",
"nice",
"clean",
"name",
"for",
"a",
"pass",
"."
] | [
"RISCV",
"\"RISCV DAG->DAG Pattern Instruction Selection\""
] | RISCVISelDAGToDAG (2) | getPassName | RISCV | CPU | LLVM | 29,721 | 13 | 1 | [] |
[
"<s>",
"static",
"rtx",
"s390_legitimize_cs_operand",
"(",
"rtx",
"mem",
")",
"{",
"rtx",
"tmp",
";",
"if",
"(",
"!",
"contains_symbol_ref_p",
"(",
"mem",
")",
")",
"return",
"mem",
";",
"tmp",
"=",
"gen_reg_rtx",
"(",
"Pmode",
")",
";",
"emit_move_insn",
... | [
"If",
"MEM",
"is",
"not",
"a",
"legitimate",
"compare-and-swap",
"memory",
"operand",
",",
"return",
"a",
"new",
"MEM",
",",
"whose",
"address",
"is",
"a",
"pseudo",
"containing",
"the",
"original",
"MEM",
"'s",
"address",
"."
] | [
"s390",
"0"
] | s390 | s390_legitimize_cs_operand | s390 | MPU | GCC | 29,722 | 55 | 1 | [] |
[
"<s>",
"static",
"void",
"ia64_clear_sched_context",
"(",
"void",
"*",
"_sc",
")",
"{",
"ia64_sched_context_t",
"sc",
"=",
"(",
"ia64_sched_context_t",
")",
"_sc",
";",
"free",
"(",
"sc",
"->",
"prev_cycle_state",
")",
";",
"sc",
"->",
"prev_cycle_state",
"=",... | [
"Clears",
"the",
"data",
"in",
"the",
"_SC",
"scheduling",
"context",
"."
] | [
"ia64"
] | ia64 | ia64_clear_sched_context | ia64 | CPU | GCC | 29,723 | 31 | 1 | [] |
[
"<s>",
"void",
"LanaiInstrInfo",
"::",
"loadRegFromStackSlot",
"(",
"MachineBasicBlock",
"&",
"MBB",
",",
"MachineBasicBlock",
"::",
"iterator",
"Position",
",",
"Register",
"DestinationRegister",
",",
"int",
"FrameIndex",
",",
"const",
"TargetRegisterClass",
"*",
"Re... | [
"Load",
"the",
"specified",
"register",
"of",
"the",
"given",
"register",
"class",
"from",
"the",
"specified",
"stack",
"frame",
"index",
"."
] | [
"Lanai",
"Lanai",
"Lanai::GPRRegClass",
"\"Can't load this register from stack slot\"",
"Lanai::LDW_RI",
"0"
] | LanaiInstrInfo13 | loadRegFromStackSlot | Lanai | CPU | LLVM | 29,724 | 109 | 1 | [] |
[
"<s>",
"bool",
"SIInstrInfo",
"::",
"areMemAccessesTriviallyDisjoint",
"(",
"MachineInstr",
"&",
"MIa",
",",
"MachineInstr",
"&",
"MIb",
",",
"AliasAnalysis",
"*",
"AA",
")",
"const",
"{",
"assert",
"(",
"(",
"MIa",
".",
"mayLoad",
"(",
")",
"||",
"MIa",
"... | [
"Sometimes",
",",
"it",
"is",
"possible",
"for",
"the",
"target",
"to",
"tell",
",",
"even",
"without",
"aliasing",
"information",
",",
"that",
"two",
"MIs",
"access",
"different",
"memory",
"addresses",
"."
] | [
"AMDGPU",
"SI",
"\"MIa must load from or modify a memory location\"",
"\"MIb must load from or modify a memory location\""
] | SIInstrInfo123 | areMemAccessesTriviallyDisjoint | AMDGPU | GPU | LLVM | 29,725 | 248 | 1 | [] |
[
"<s>",
"bool",
"runOnMachineFunction",
"(",
"MachineFunction",
"&",
"F",
")",
"override",
"{",
"bool",
"Changed",
"=",
"false",
";",
"if",
"(",
"EnableDelJmp",
")",
"{",
"MachineFunction",
"::",
"iterator",
"FJ",
"=",
"F",
".",
"begin",
"(",
")",
";",
"i... | [
"runOnMachineFunction",
"-",
"Emit",
"the",
"function",
"body",
"."
] | [
"Cpu0"
] | Cpu0DelUselessJMP1 | runOnMachineFunction | Cpu0 | CPU | LLVM | 29,726 | 105 | 1 | [] |
[
"<s>",
"bool",
"AMDGPUTargetLowering",
"::",
"ShouldShrinkFPConstant",
"(",
"EVT",
"VT",
")",
"const",
"{",
"EVT",
"ScalarVT",
"=",
"VT",
".",
"getScalarType",
"(",
")",
";",
"return",
"(",
"ScalarVT",
"!=",
"MVT",
"::",
"f32",
"&&",
"ScalarVT",
"!=",
"MVT... | [
"If",
"true",
",",
"then",
"instruction",
"selection",
"should",
"seek",
"to",
"shrink",
"the",
"FP",
"constant",
"of",
"the",
"specified",
"type",
"to",
"a",
"smaller",
"type",
"in",
"order",
"to",
"save",
"space",
"and",
"/",
"or",
"reduce",
"runtime",
... | [
"AMDGPU",
"AMDGPU",
"MVT::f32",
"MVT::f64"
] | AMDGPUISelLowering (2) | ShouldShrinkFPConstant | AMDGPU | GPU | LLVM | 29,727 | 35 | 1 | [] |
[
"<s>",
"StringRef",
"getData",
"(",
")",
"const",
"{",
"return",
"StringRef",
"(",
"Data",
".",
"data",
"(",
")",
",",
"Data",
".",
"size",
"(",
")",
")",
";",
"}",
"</s>"
] | [
"Get",
"the",
"data",
"pointed",
"to",
"by",
"this",
"extractor",
"."
] | [
"HSAIL"
] | RawVectorOstream | getData | HSAIL | Virtual ISA | LLVM | 29,728 | 23 | 1 | [] |
[
"<s>",
"void",
"RISCVFrameLowering",
"::",
"determineFrameLayout",
"(",
"MachineFunction",
"&",
"MF",
")",
"const",
"{",
"MachineFrameInfo",
"&",
"MFI",
"=",
"MF",
".",
"getFrameInfo",
"(",
")",
";",
"uint64_t",
"FrameSize",
"=",
"MFI",
".",
"getStackSize",
"(... | [
"Determine",
"the",
"frame",
"layout",
"but",
"do",
"not",
"update",
"the",
"machine",
"function",
"."
] | [
"RI5CY",
"RISCV"
] | RISCVFrameLowering | determineFrameLayout | RI5CY | CPU | LLVM | 29,729 | 75 | 1 | [] |
[
"<s>",
"static",
"void",
"init_ext_80387_constants",
"(",
"void",
")",
"{",
"static",
"const",
"char",
"*",
"cst",
"[",
"5",
"]",
"=",
"{",
"\"0.3010299956639811952256464283594894482\"",
",",
"\"0.6931471805599453094286904741849753009\"",
",",
"\"1.44269504088896340738765... | [
"Initialize",
"the",
"table",
"of",
"extra",
"80387",
"mathematical",
"constants",
"."
] | [
"i386",
"5",
"\"0.3010299956639811952256464283594894482\"",
"\"0.6931471805599453094286904741849753009\"",
"\"1.4426950408889634073876517827983434472\"",
"\"3.3219280948873623478083405569094566090\"",
"\"3.1415926535897932385128089594061862044\"",
"0",
"5",
"1"
] | i386 | init_ext_80387_constants | i386 | CPU | GCC | 29,730 | 83 | 1 | [] |
[
"<s>",
"rtx",
"mep_libcall_value",
"(",
"machine_mode",
"mode",
")",
"{",
"return",
"gen_rtx_REG",
"(",
"mode",
",",
"RETURN_VALUE_REGNUM",
")",
";",
"}",
"</s>"
] | [
"Implement",
"LIBCALL_VALUE",
",",
"using",
"the",
"same",
"rules",
"as",
"mep_function_value",
"."
] | [
"mep"
] | mep | mep_libcall_value | mep | CPU | GCC | 29,731 | 16 | 1 | [] |
[
"<s>",
"int",
"riscv_address_insns",
"(",
"rtx",
"x",
",",
"machine_mode",
"mode",
",",
"bool",
"might_split_p",
")",
"{",
"struct",
"riscv_address_info",
"addr",
"=",
"{",
"}",
";",
"int",
"n",
"=",
"1",
";",
"if",
"(",
"!",
"riscv_classify_address",
"(",... | [
"Return",
"the",
"number",
"of",
"instructions",
"needed",
"to",
"load",
"or",
"store",
"a",
"value",
"of",
"mode",
"MODE",
"at",
"address",
"X",
".",
"Return",
"0",
"if",
"X",
"is",
"n't",
"valid",
"for",
"MODE",
".",
"Assume",
"that",
"multiword",
"m... | [
"riscv",
"1",
"3",
"1",
"1"
] | riscv1 | riscv_address_insns | riscv | CPU | GCC | 29,732 | 101 | 1 | [] |
[
"<s>",
"static",
"SDValue",
"buildRSRC",
"(",
"SelectionDAG",
"*",
"DAG",
",",
"SDLoc",
"DL",
",",
"SDValue",
"Ptr",
",",
"uint32_t",
"RsrcDword1",
",",
"uint64_t",
"RsrcDword2And3",
")",
"{",
"SDValue",
"PtrLo",
"=",
"DAG",
"->",
"getTargetExtractSubreg",
"("... | [
"Return",
"a",
"resource",
"descriptor",
"with",
"the",
"'Add",
"TID",
"'",
"bit",
"enabled",
"The",
"TID",
"(",
"Thread",
"ID",
")",
"is",
"multiplied",
"by",
"the",
"stride",
"value",
"(",
"bits",
"[",
"61:48",
"]",
"of",
"the",
"resource",
"descriptor... | [
"R600",
"MVT::i32",
"MVT::i32",
"MVT::i32",
"MVT::i32",
"0",
"32",
"MVT::i32",
"32",
"MVT::i32",
"SI",
"MVT::v4i32",
"0"
] | AMDGPUISelDAGToDAG102 | buildRSRC | R600 | GPU | LLVM | 29,733 | 181 | 1 | [] |
[
"<s>",
"static",
"bool",
"cmse_func_args_or_return_in_stack",
"(",
"tree",
"fndecl",
",",
"tree",
"name",
",",
"tree",
"fntype",
")",
"{",
"function_args_iterator",
"args_iter",
";",
"CUMULATIVE_ARGS",
"args_so_far_v",
";",
"cumulative_args_t",
"args_so_far",
";",
"bo... | [
"This",
"function",
"returns",
"true",
"if",
"a",
"function",
"with",
"declaration",
"FNDECL",
"and",
"type",
"FNTYPE",
"uses",
"the",
"stack",
"to",
"pass",
"arguments",
"or",
"return",
"variables",
"and",
"false",
"otherwise",
".",
"This",
"is",
"used",
"f... | [
"arm",
"\"%qE attribute not available to functions with arguments \"",
"\"passed on the stack\"",
"\"%qE attribute not available to functions with variable number \"",
"\"of arguments\"",
"\"%qE attribute not available to functions that return value on \"",
"\"the stack\""
] | arm6 | cmse_func_args_or_return_in_stack | arm | CPU | GCC | 29,734 | 211 | 1 | [] |
[
"<s>",
"bool",
"PatmosFrameLowering",
"::",
"restoreCalleeSavedRegisters",
"(",
"MachineBasicBlock",
"&",
"MBB",
",",
"MachineBasicBlock",
"::",
"iterator",
"MI",
",",
"MutableArrayRef",
"<",
"CalleeSavedInfo",
">",
"CSI",
",",
"const",
"TargetRegisterInfo",
"*",
"TRI... | [
"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... | [
"Patmos",
"Patmos",
"Patmos",
"Patmos",
"Patmos::MOV",
"Patmos::RSP",
"Patmos::RFP",
"0",
"1",
"Patmos::PRegsRegClass",
"Patmos::S0",
"Patmos::SRegsRegClass",
"Patmos::R9",
"1"
] | PatmosFrameLowering1 | restoreCalleeSavedRegisters | Patmos | VLIW | LLVM | 29,735 | 354 | 1 | [] |
[
"<s>",
"static",
"rtx",
"nvptx_function_incoming_arg",
"(",
"cumulative_args_t",
"cum_v",
",",
"machine_mode",
"mode",
",",
"const_tree",
",",
"bool",
"named",
")",
"{",
"CUMULATIVE_ARGS",
"*",
"cum",
"=",
"get_cumulative_args",
"(",
"cum_v",
")",
";",
"if",
"("... | [
"Implement",
"TARGET_FUNCTION_INCOMING_ARG",
"."
] | [
"nvptx",
"1"
] | nvptx3 | nvptx_function_incoming_arg | nvptx | GPU | GCC | 29,736 | 58 | 1 | [] |
[
"<s>",
"bool",
"MBlazeRegisterInfo",
"::",
"hasFP",
"(",
"const",
"MachineFunction",
"&",
"MF",
")",
"const",
"{",
"const",
"MachineFrameInfo",
"*",
"MFI",
"=",
"MF",
".",
"getFrameInfo",
"(",
")",
";",
"return",
"NoFramePointerElim",
"||",
"MFI",
"->",
"has... | [
"hasFP",
"-",
"Return",
"true",
"if",
"the",
"specified",
"function",
"should",
"have",
"a",
"dedicated",
"frame",
"pointer",
"register",
"."
] | [
"MBlaze",
"MBlaze"
] | MBlazeRegisterInfo12 | hasFP | MBlaze | MPU | LLVM | 29,737 | 33 | 1 | [] |
[
"<s>",
"bool",
"function_instance",
"::",
"could_trap_p",
"(",
")",
"const",
"{",
"unsigned",
"int",
"flags",
"=",
"call_properties",
"(",
")",
";",
"if",
"(",
"flags",
"&",
"CP_RAISE_FP_EXCEPTIONS",
")",
"return",
"true",
";",
"if",
"(",
"flags",
"&",
"("... | [
"Return",
"true",
"if",
"calls",
"to",
"the",
"function",
"could",
"raise",
"a",
"signal",
"."
] | [
"riscv"
] | riscv-vector-builtins | could_trap_p | riscv | CPU | GCC | 29,738 | 42 | 1 | [] |
[
"<s>",
"int",
"reg_unused_after",
"(",
"rtx_insn",
"*",
"insn",
",",
"rtx",
"reg",
")",
"{",
"return",
"(",
"dead_or_set_p",
"(",
"insn",
",",
"reg",
")",
"||",
"(",
"REG_P",
"(",
"reg",
")",
"&&",
"_reg_unused_after",
"(",
"insn",
",",
"reg",
")",
"... | [
"Return",
"nonzero",
"if",
"REG",
"is",
"not",
"used",
"after",
"INSN",
".",
"We",
"assume",
"REG",
"is",
"a",
"reload",
"reg",
",",
"and",
"therefore",
"does",
"not",
"live",
"past",
"labels",
"or",
"calls",
"or",
"jumps",
"."
] | [
"avr"
] | avr | reg_unused_after | avr | MPU | GCC | 29,739 | 36 | 1 | [] |
[
"<s>",
"static",
"int",
"first_altivec_reg_to_save",
"(",
"void",
")",
"{",
"int",
"i",
";",
"if",
"(",
"!",
"TARGET_ALTIVEC_ABI",
")",
"return",
"LAST_ALTIVEC_REGNO",
"+",
"1",
";",
"if",
"(",
"DEFAULT_ABI",
"==",
"ABI_DARWIN",
"&&",
"crtl",
"->",
"calls_eh... | [
"Similar",
",",
"for",
"AltiVec",
"regs",
"."
] | [
"rs6000",
"1",
"20",
"20"
] | rs6000-logue | first_altivec_reg_to_save | rs6000 | CPU | GCC | 29,740 | 66 | 1 | [] |
[
"<s>",
"rtx",
"function_expander",
"::",
"use_scalar_move_insn",
"(",
"insn_code",
"icode",
")",
"{",
"machine_mode",
"mode",
"=",
"TYPE_MODE",
"(",
"TREE_TYPE",
"(",
"exp",
")",
")",
";",
"int",
"arg_offset",
"=",
"0",
";",
"add_scalar_move_mask_operand",
"(",
... | [
"Implement",
"the",
"call",
"using",
"instruction",
"ICODE",
",",
"with",
"a",
"1:1",
"mapping",
"between",
"arguments",
"and",
"input",
"operands",
"."
] | [
"riscv",
"0"
] | riscv-vector-builtins | use_scalar_move_insn | riscv | CPU | GCC | 29,741 | 112 | 1 | [] |
[
"<s>",
"virtual",
"bool",
"addPreEmitPass",
"(",
")",
"{",
"if",
"(",
"!",
"getPatmosSubtarget",
"(",
")",
".",
"usePatmosPostRAScheduler",
"(",
"getOptLevel",
"(",
")",
")",
")",
"{",
"addPass",
"(",
"createPatmosDelaySlotFillerPass",
"(",
"getPatmosTargetMachine... | [
"This",
"pass",
"may",
"be",
"implemented",
"by",
"targets",
"that",
"want",
"to",
"run",
"passes",
"immediately",
"before",
"machine",
"code",
"is",
"emitted",
"."
] | [
"Patmos",
"Patmos",
"Patmos",
"Patmos",
"Patmos",
"Patmos",
"Patmos",
"Patmos",
"Patmos",
"Patmos",
"Patmos",
"Patmos",
"Patmos",
"Patmos"
] | PatmosTargetMachine | addPreEmitPass | Patmos | VLIW | LLVM | 29,742 | 96 | 1 | [] |
[
"<s>",
"const",
"char",
"*",
"getPassName",
"(",
")",
"const",
"override",
"{",
"return",
"\"Mips Machine Code Emitter\"",
";",
"}",
"</s>"
] | [
"getPassName",
"-",
"Return",
"a",
"nice",
"clean",
"name",
"for",
"a",
"pass",
"."
] | [
"Mips",
"\"Mips Machine Code Emitter\""
] | MipsCodeEmitter11 | getPassName | Mips | CPU | LLVM | 29,743 | 13 | 1 | [] |
[
"<s>",
"void",
"OutgoingValueHandler",
"::",
"assignValueToReg",
"(",
"unsigned",
"ValVReg",
",",
"unsigned",
"PhysReg",
")",
"{",
"MIRBuilder",
".",
"buildCopy",
"(",
"PhysReg",
",",
"ValVReg",
")",
";",
"MIB",
".",
"addUse",
"(",
"PhysReg",
",",
"RegState",
... | [
"The",
"specified",
"value",
"has",
"been",
"assigned",
"to",
"a",
"physical",
"register",
",",
"handle",
"the",
"appropriate",
"COPY",
"(",
"either",
"to",
"or",
"from",
")",
"and",
"mark",
"any",
"relevant",
"uses/defines",
"as",
"needed",
"."
] | [
"Mips"
] | MipsCallLowering | assignValueToReg | Mips | CPU | LLVM | 29,744 | 33 | 1 | [] |
[
"<s>",
"bool",
"SystemZFrameLowering",
"::",
"hasReservedCallFrame",
"(",
"const",
"MachineFunction",
"&",
"MF",
")",
"const",
"{",
"return",
"true",
";",
"}",
"</s>"
] | [
"hasReservedCallFrame",
"-",
"Under",
"normal",
"circumstances",
",",
"when",
"a",
"frame",
"pointer",
"is",
"not",
"required",
",",
"we",
"reserve",
"argument",
"space",
"for",
"call",
"sites",
"in",
"the",
"function",
"immediately",
"on",
"entry",
"to",
"the... | [
"SystemZ",
"SystemZ"
] | SystemZFrameLowering (2) | hasReservedCallFrame | SystemZ | CPU | LLVM | 29,745 | 16 | 1 | [] |
[
"<s>",
"static",
"void",
"ultrasparc_sched_init",
"(",
")",
"{",
"memset",
"(",
"(",
"char",
"*",
")",
"ultra_pipe_hist",
",",
"0",
",",
"sizeof",
"ultra_pipe_hist",
")",
";",
"ultra_cur_hist",
"=",
"0",
";",
"ultra_cycles_elapsed",
"=",
"0",
";",
"ultra_pip... | [
"Init",
"our",
"data",
"structures",
"for",
"this",
"current",
"block",
"."
] | [
"sparc",
"0",
"0",
"0",
"0xf"
] | sparc2 | ultrasparc_sched_init | sparc | CPU | GCC | 29,746 | 35 | 1 | [] |
[
"<s>",
"SDValue",
"ARMSelectionDAGInfo",
"::",
"EmitTargetCodeForMemset",
"(",
"SelectionDAG",
"&",
"DAG",
",",
"DebugLoc",
"dl",
",",
"SDValue",
"Chain",
",",
"SDValue",
"Dst",
",",
"SDValue",
"Src",
",",
"SDValue",
"Size",
",",
"unsigned",
"Align",
",",
"boo... | [
"Emit",
"target-specific",
"code",
"that",
"performs",
"a",
"memset",
"."
] | [
"ARM",
"ARM",
"ARM",
"ARM",
"MVT::i32",
"ISD::TRUNCATE",
"MVT::i32",
"ISD::ZERO_EXTEND",
"MVT::i32",
"0"
] | ARMSelectionDAGInfo41 | EmitTargetCodeForMemset | ARM | CPU | LLVM | 29,747 | 320 | 1 | [] |
[
"<s>",
"static",
"void",
"ix86_avoid_jump_mispredicts",
"(",
"void",
")",
"{",
"rtx_insn",
"*",
"insn",
",",
"*",
"start",
"=",
"get_insns",
"(",
")",
";",
"int",
"nbytes",
"=",
"0",
",",
"njumps",
"=",
"0",
";",
"bool",
"isjump",
"=",
"false",
";",
... | [
"AMD",
"K8",
"core",
"mispredicts",
"jumps",
"when",
"there",
"are",
"more",
"than",
"3",
"jumps",
"in",
"16",
"byte",
"window",
"."
] | [
"i386",
"0",
"0",
"15",
"15",
"0",
"3",
"1",
"1",
"0",
"\"Label %i with max_skip %i\\n\"",
"16",
"0",
"\"Insn %i estimated to %i bytes\\n\"",
"0",
"3",
"0",
"0",
"\"Interval %i to %i has %i bytes\\n\"",
"3",
"16",
"15",
"\"Padding insn %i by %i bytes!\\n\""
] | i3867 | ix86_avoid_jump_mispredicts | i386 | CPU | GCC | 29,748 | 404 | 1 | [] |
[
"<s>",
"unsigned",
"PPCFrameLowering",
"::",
"determineFrameLayout",
"(",
"MachineFunction",
"&",
"MF",
",",
"bool",
"UpdateMF",
",",
"bool",
"UseEstimate",
")",
"const",
"{",
"MachineFrameInfo",
"*",
"MFI",
"=",
"MF",
".",
"getFrameInfo",
"(",
")",
";",
"unsi... | [
"Determine",
"the",
"frame",
"layout",
"but",
"do",
"not",
"update",
"the",
"machine",
"function",
"."
] | [
"PowerPC",
"PPC",
"1",
"PPC",
"PPC",
"PPC",
"0",
"224",
"0",
"0",
"PPC"
] | PPCFrameLowering2 | determineFrameLayout | PowerPC | CPU | LLVM | 29,749 | 292 | 1 | [] |
[
"<s>",
"bool",
"ARMPassConfig",
"::",
"addPreSched2",
"(",
")",
"{",
"if",
"(",
"getOptLevel",
"(",
")",
"!=",
"CodeGenOpt",
"::",
"None",
")",
"{",
"if",
"(",
"!",
"getARMSubtarget",
"(",
")",
".",
"isThumb1Only",
"(",
")",
")",
"{",
"PM",
"->",
"ad... | [
"This",
"method",
"may",
"be",
"implemented",
"by",
"targets",
"that",
"want",
"to",
"run",
"passes",
"after",
"prolog-epilog",
"insertion",
"and",
"before",
"the",
"second",
"instruction",
"scheduling",
"pass",
"."
] | [
"ARM",
"ARM",
"ARM",
"ARM",
"\"After ARM load / store optimizer\"",
"ARM",
"ARM::DPRRegClass",
"ARM",
"ARM",
"ARM"
] | ARMTargetMachine62 | addPreSched2 | ARM | CPU | LLVM | 29,750 | 129 | 1 | [] |
[
"<s>",
"unsigned",
"assignCustomValue",
"(",
"const",
"ARMCallLowering",
"::",
"ArgInfo",
"&",
"Arg",
",",
"ArrayRef",
"<",
"CCValAssign",
">",
"VAs",
")",
"override",
"{",
"assert",
"(",
"Arg",
".",
"Regs",
".",
"size",
"(",
")",
"==",
"1",
"&&",
"\"Can... | [
"Handle",
"custom",
"values",
",",
"which",
"may",
"be",
"passed",
"into",
"one",
"or",
"more",
"of",
"VAs",
"."
] | [
"ARM",
"ARM",
"1",
"\"Can't handle multple regs yet\"",
"0",
"\"Value doesn't need custom handling\"",
"MVT::f64",
"0",
"1",
"\"Value doesn't need custom handling\"",
"MVT::f64",
"\"Unsupported type\"",
"\"Values belong to different arguments\"",
"\"Value should be in reg\"",
"\"Value sh... | ARMCallLowering | assignCustomValue | ARM | CPU | LLVM | 29,751 | 261 | 1 | [] |
[
"<s>",
"static",
"rtx",
"crx_struct_value_rtx",
"(",
"tree",
"fntype",
"ATTRIBUTE_UNUSED",
",",
"int",
"incoming",
"ATTRIBUTE_UNUSED",
")",
"{",
"return",
"gen_rtx_REG",
"(",
"Pmode",
",",
"CRX_STRUCT_VALUE_REGNUM",
")",
";",
"}",
"</s>"
] | [
"Implements",
"hook",
"TARGET_STRUCT_VALUE_RTX",
"."
] | [
"crx"
] | crx | crx_struct_value_rtx | crx | CPU | GCC | 29,752 | 22 | 1 | [] |
[
"<s>",
"bool",
"X86FrameLowering",
"::",
"enableShrinkWrapping",
"(",
"const",
"MachineFunction",
"&",
"MF",
")",
"const",
"{",
"return",
"(",
"MF",
".",
"getFunction",
"(",
")",
"->",
"hasFnAttribute",
"(",
"Attribute",
"::",
"NoUnwind",
")",
"||",
"hasFP",
... | [
"Returns",
"true",
"if",
"the",
"target",
"will",
"correctly",
"handle",
"shrink",
"wrapping",
"."
] | [
"X86",
"X86"
] | X86FrameLowering102 | enableShrinkWrapping | X86 | CPU | LLVM | 29,753 | 55 | 1 | [] |
[
"<s>",
"bool",
"X86DiscriminateMemOps",
"::",
"runOnMachineFunction",
"(",
"MachineFunction",
"&",
"MF",
")",
"{",
"if",
"(",
"!",
"EnableDiscriminateMemops",
")",
"return",
"false",
";",
"DISubprogram",
"*",
"FDI",
"=",
"MF",
".",
"getFunction",
"(",
")",
"."... | [
"runOnMachineFunction",
"-",
"Emit",
"the",
"function",
"body",
"."
] | [
"X86",
"X86",
"0",
"\"ReferenceDI should not be nullptr\"",
"0",
"X86II::getMemoryOperandNo",
"0",
"0",
"1",
"\"Unable to create a unique discriminator \"",
"\"for instruction with memory operand in: \"",
"\" Line: \"",
"\" Column: \"",
"\". This is likely due to a large macro expansion. \... | X86DiscriminateMemOps9 | runOnMachineFunction | X86 | CPU | LLVM | 29,754 | 478 | 1 | [] |
[
"<s>",
"bool",
"AMDGPULowerIntrinsics",
"::",
"makeLIDRangeMetadata",
"(",
"Function",
"&",
"F",
")",
"const",
"{",
"auto",
"*",
"TPC",
"=",
"getAnalysisIfAvailable",
"<",
"TargetPassConfig",
">",
"(",
")",
";",
"if",
"(",
"!",
"TPC",
")",
"return",
"false",... | [
"Creates",
"value",
"range",
"metadata",
"on",
"an",
"workitemid",
".",
"*",
"intrinsic",
"call",
"or",
"load",
"."
] | [
"AMDGPU",
"AMDGPU",
"AMDGPU"
] | AMDGPULowerIntrinsics13 | makeLIDRangeMetadata | AMDGPU | GPU | LLVM | 29,755 | 102 | 1 | [] |
[
"<s>",
"rtx",
"nds32_expand_load_multiple",
"(",
"int",
"base_regno",
",",
"int",
"count",
",",
"rtx",
"base_addr",
",",
"rtx",
"basemem",
",",
"bool",
"update_base_reg_p",
",",
"rtx",
"*",
"update_base_reg",
")",
"{",
"int",
"par_index",
";",
"int",
"offset",... | [
"Functions",
"to",
"expand",
"load_multiple",
"and",
"store_multiple",
".",
"They",
"are",
"auxiliary",
"extern",
"functions",
"to",
"help",
"create",
"rtx",
"template",
".",
"Check",
"nds32-multiple.md",
"file",
"for",
"the",
"patterns",
"."
] | [
"nds32",
"1",
"1",
"1",
"0",
"4",
"0",
"0",
"0",
"4",
"0"
] | nds32-memory-manipulation | nds32_expand_load_multiple | nds32 | CPU | GCC | 29,756 | 269 | 1 | [] |
[
"<s>",
"static",
"inline",
"bool",
"is_naked_func",
"(",
"const_tree",
"decl",
")",
"{",
"return",
"has_func_attr",
"(",
"decl",
",",
"\"naked\"",
")",
";",
"}",
"</s>"
] | [
"Returns",
"true",
"if",
"the",
"provided",
"function",
"has",
"the",
"``",
"naked",
"''",
"attribute",
"."
] | [
"rx",
"\"naked\""
] | rx | is_naked_func | rx | CPU | GCC | 29,757 | 18 | 1 | [] |
[
"<s>",
"static",
"std",
"::",
"string",
"getGraphName",
"(",
"const",
"agraph",
"&",
"G",
")",
"{",
"return",
"G",
".",
"MF",
"->",
"getFunction",
"(",
")",
".",
"getName",
"(",
")",
".",
"str",
"(",
")",
";",
"}",
"</s>"
] | [
"Generate",
"a",
"title",
"for",
"the",
"graph",
"in",
"DOT",
"format",
"."
] | [
"Patmos"
] | PatmosFunctionSplitter1 | getGraphName | Patmos | VLIW | LLVM | 29,758 | 30 | 1 | [] |
[
"<s>",
"static",
"int",
"mips_multipass_dfa_lookahead",
"(",
"void",
")",
"{",
"if",
"(",
"mips_tune",
"==",
"PROCESSOR_SB1",
")",
"return",
"4",
";",
"return",
"0",
";",
"}",
"</s>"
] | [
"Implements",
"TARGET_SCHED_FIRST_CYCLE_MULTIPASS_DFA_LOOKAHEAD",
".",
"This",
"should",
"be",
"as",
"wide",
"as",
"the",
"scheduling",
"freedom",
"in",
"the",
"DFA",
"."
] | [
"mips",
"4",
"0"
] | mips3 | mips_multipass_dfa_lookahead | mips | CPU | GCC | 29,759 | 20 | 1 | [] |
[
"<s>",
"bool",
"X86InstrInfo",
"::",
"findCommutedOpIndices",
"(",
"MachineInstr",
"*",
"MI",
",",
"unsigned",
"&",
"SrcOpIdx1",
",",
"unsigned",
"&",
"SrcOpIdx2",
")",
"const",
"{",
"switch",
"(",
"MI",
"->",
"getOpcode",
"(",
")",
")",
"{",
"case",
"X86"... | [
"Returns",
"true",
"iff",
"the",
"routine",
"could",
"find",
"two",
"commutable",
"operands",
"in",
"the",
"given",
"machine",
"instruction",
"."
] | [
"X86",
"X86",
"X86::VFMADDPDr231r",
"X86::VFMADDPSr231r",
"X86::VFMADDSDr231r",
"X86::VFMADDSSr231r",
"X86::VFMSUBPDr231r",
"X86::VFMSUBPSr231r",
"X86::VFMSUBSDr231r",
"X86::VFMSUBSSr231r",
"X86::VFNMADDPDr231r",
"X86::VFNMADDPSr231r",
"X86::VFNMADDSDr231r",
"X86::VFNMADDSSr231r",
"X86::... | X86InstrInfo125 | findCommutedOpIndices | X86 | CPU | LLVM | 29,760 | 175 | 1 | [] |
[
"<s>",
"void",
"aarch64_split_simd_move",
"(",
"rtx",
"dst",
",",
"rtx",
"src",
")",
"{",
"machine_mode",
"src_mode",
"=",
"GET_MODE",
"(",
"src",
")",
";",
"machine_mode",
"dst_mode",
"=",
"GET_MODE",
"(",
"dst",
")",
";",
"gcc_assert",
"(",
"VECTOR_MODE_P"... | [
"Split",
"a",
"complex",
"SIMD",
"move",
"."
] | [
"aarch64"
] | aarch642 | aarch64_split_simd_move | aarch64 | CPU | GCC | 29,761 | 146 | 1 | [] |
[
"<s>",
"bool",
"runOnMachineFunction",
"(",
"MachineFunction",
"&",
"MF",
")",
"override",
"{",
"Subtarget",
"=",
"&",
"MF",
".",
"getSubtarget",
"<",
"TGSISubtarget",
">",
"(",
")",
";",
"SelectionDAGISel",
"::",
"runOnMachineFunction",
"(",
"MF",
")",
";",
... | [
"runOnMachineFunction",
"-",
"Emit",
"the",
"function",
"body",
"."
] | [
"TGSI",
"TGSI"
] | TGSIISelDAGToDAG | runOnMachineFunction | TGSI | Virtual ISA | LLVM | 29,762 | 32 | 1 | [] |
[
"<s>",
"bool",
"riscv_v_ext_vector_mode_p",
"(",
"machine_mode",
"mode",
")",
"{",
"case",
"MODE",
"##",
"mode",
":",
"\\",
"return",
"REQUIREMENT",
";",
"switch",
"(",
"mode",
")",
"{",
"default",
":",
"return",
"false",
";",
"}",
"return",
"false",
";",
... | [
"Return",
"true",
"if",
"mode",
"is",
"the",
"RVV",
"enabled",
"mode",
".",
"For",
"example",
":",
"'VNx1DI",
"'",
"mode",
"is",
"disabled",
"if",
"MIN_VLEN",
"==",
"32",
".",
"'VNx1SI",
"'",
"mode",
"is",
"enabled",
"if",
"MIN_VLEN",
"==",
"32",
"."
] | [
"riscv"
] | riscv1 | riscv_v_ext_vector_mode_p | riscv | CPU | GCC | 29,763 | 31 | 1 | [] |
[
"<s>",
"static",
"const",
"char",
"*",
"detect_processor_aix",
"(",
"void",
")",
"{",
"switch",
"(",
"_system_configuration",
".",
"implementation",
")",
"{",
"case",
"0x0008",
":",
"return",
"\"601\"",
";",
"case",
"0x0020",
":",
"return",
"\"603\"",
";",
"... | [
"Returns",
"the",
"processor",
"implementation",
"on",
"AIX",
"."
] | [
"rs6000",
"0x0008",
"\"601\"",
"0x0020",
"\"603\"",
"0x0010",
"\"604\"",
"0x0040",
"\"620\"",
"0x0080",
"\"630\"",
"0x0100",
"0x0200",
"0x0400",
"\"rs64\"",
"0x0800",
"\"power4\"",
"0x2000",
"0x0F0000",
"\"power5\"",
"\"power5+\"",
"0x4000",
"\"power6\"",
"0x8000",
"\... | driver-rs60002 | detect_processor_aix | rs6000 | CPU | GCC | 29,764 | 107 | 1 | [] |
[
"<s>",
"std",
"::",
"string",
"getDataLayout",
"(",
")",
"const",
"{",
"return",
"std",
"::",
"string",
"(",
"\"E-p:32:32:32-i64:64:64-f64:64:64-f128:64:64-n32\"",
")",
";",
"}",
"</s>"
] | [
"Return",
"the",
"DataLayout",
"associated",
"with",
"the",
"module",
"this",
"SCEV",
"instance",
"is",
"operating",
"on",
"."
] | [
"TOY",
"\"E-p:32:32:32-i64:64:64-f64:64:64-f128:64:64-n32\""
] | TOYSubtarget | getDataLayout | TOY | CPU | LLVM | 29,765 | 17 | 1 | [] |
[
"<s>",
"static",
"bool",
"rs6000_mode_dependent_address_p",
"(",
"const_rtx",
"addr",
",",
"addr_space_t",
"as",
"ATTRIBUTE_UNUSED",
")",
"{",
"return",
"rs6000_mode_dependent_address_ptr",
"(",
"addr",
")",
";",
"}",
"</s>"
] | [
"Implement",
"TARGET_MODE_DEPENDENT_ADDRESS_P",
"."
] | [
"rs6000"
] | rs6000 | rs6000_mode_dependent_address_p | rs6000 | CPU | GCC | 29,766 | 19 | 1 | [] |
[
"<s>",
"inline",
"machine_mode",
"function_expander",
"::",
"index_mode",
"(",
"void",
")",
"const",
"{",
"return",
"TYPE_MODE",
"(",
"op_info",
"->",
"args",
"[",
"1",
"]",
".",
"get_tree_type",
"(",
"type",
".",
"index",
")",
")",
";",
"}",
"</s>"
] | [
"Return",
"the",
"machine_mode",
"of",
"the",
"corresponding",
"index",
"type",
"."
] | [
"riscv",
"1"
] | riscv-vector-builtins | index_mode | riscv | CPU | GCC | 29,767 | 29 | 1 | [] |
[
"<s>",
"static",
"const",
"char",
"*",
"aarch64_mangle_type",
"(",
"const_tree",
"type",
")",
"{",
"if",
"(",
"lang_hooks",
".",
"types_compatible_p",
"(",
"CONST_CAST_TREE",
"(",
"type",
")",
",",
"va_list_type",
")",
")",
"return",
"\"St9__va_list\"",
";",
"... | [
"Implement",
"TARGET_MANGLE_TYPE",
"."
] | [
"aarch64",
"\"St9__va_list\""
] | aarch642 | aarch64_mangle_type | aarch64 | CPU | GCC | 29,768 | 46 | 1 | [] |
[
"<s>",
"char",
"*",
"construct_save_jarl",
"(",
"rtx",
"op",
")",
"{",
"int",
"count",
"=",
"XVECLEN",
"(",
"op",
",",
"0",
")",
";",
"int",
"stack_bytes",
";",
"unsigned",
"long",
"int",
"mask",
";",
"unsigned",
"long",
"int",
"first",
";",
"unsigned"... | [
"Construct",
"a",
"JARL",
"instruction",
"to",
"a",
"routine",
"that",
"will",
"perform",
"the",
"equivalent",
"of",
"the",
"RTL",
"passed",
"as",
"a",
"parameter",
".",
"This",
"RTL",
"is",
"a",
"function",
"prologue",
"that",
"saves",
"some",
"of",
"the"... | [
"v850",
"0",
"100",
"2",
"\"bogus JARL construction: %d\\n\"",
"0",
"0",
"0",
"0",
"0",
"0",
"0",
"0",
"0",
"1",
"0",
"0",
"1",
"3",
"2",
"4",
"0",
"16",
"\"bad amount of stack space removal: %d\"",
"0",
"1",
"2",
"1",
"0",
"1",
"0",
"32",
"1",
"32",... | v8503 | construct_save_jarl | v850 | MPU | GCC | 29,769 | 483 | 1 | [] |
[
"<s>",
"unsigned",
"AMDGPUInstrInfo",
"::",
"getOpcodeAfterMemoryUnfold",
"(",
"unsigned",
"Opc",
",",
"bool",
"UnfoldLoad",
",",
"bool",
"UnfoldStore",
",",
"unsigned",
"*",
"LoadRegIndex",
")",
"const",
"{",
"return",
"0",
";",
"}",
"</s>"
] | [
"getOpcodeAfterMemoryUnfold",
"-",
"Returns",
"the",
"opcode",
"of",
"the",
"would",
"be",
"new",
"instruction",
"after",
"load",
"/",
"store",
"are",
"unfolded",
"from",
"an",
"instruction",
"of",
"the",
"specified",
"opcode",
"."
] | [
"AMDGPU",
"AMDGPU",
"0"
] | AMDGPUInstrInfo | getOpcodeAfterMemoryUnfold | AMDGPU | GPU | LLVM | 29,770 | 24 | 1 | [] |
[
"<s>",
"bool",
"rs6000_builtin_is_supported_p",
"(",
"enum",
"rs6000_builtins",
"fncode",
")",
"{",
"HOST_WIDE_INT",
"fnmask",
"=",
"rs6000_builtin_info",
"[",
"fncode",
"]",
".",
"mask",
";",
"if",
"(",
"(",
"fnmask",
"&",
"rs6000_builtin_mask",
")",
"!=",
"fnm... | [
"Check",
"whether",
"a",
"builtin",
"function",
"is",
"supported",
"in",
"this",
"target",
"configuration",
"."
] | [
"rs6000"
] | rs6000-call | rs6000_builtin_is_supported_p | rs6000 | CPU | GCC | 29,771 | 36 | 1 | [] |
[
"<s>",
"bool",
"X86ATTAsmPrinter",
"::",
"PrintAsmMemoryOperand",
"(",
"const",
"MachineInstr",
"*",
"MI",
",",
"unsigned",
"OpNo",
",",
"unsigned",
"AsmVariant",
",",
"const",
"char",
"*",
"ExtraCode",
")",
"{",
"if",
"(",
"ExtraCode",
"&&",
"ExtraCode",
"[",... | [
"Print",
"the",
"specified",
"operand",
"of",
"MI",
",",
"an",
"INLINEASM",
"instruction",
",",
"using",
"the",
"specified",
"assembler",
"variant",
"as",
"an",
"address",
"."
] | [
"X86",
"X86",
"0",
"1",
"0",
"0",
"\"mem\""
] | X86ATTAsmPrinter1 | PrintAsmMemoryOperand | X86 | CPU | LLVM | 29,772 | 102 | 1 | [] |
[
"<s>",
"const",
"AMDGPURegisterInfo",
"&",
"AMDGPUInstrInfo",
"::",
"getRegisterInfo",
"(",
")",
"const",
"{",
"return",
"RI",
";",
"}",
"</s>"
] | [
"getRegisterInfo",
"-",
"TargetInstrInfo",
"is",
"a",
"superset",
"of",
"MRegister",
"info",
"."
] | [
"R600"
] | AMDGPUInstrInfo10 | getRegisterInfo | R600 | GPU | LLVM | 29,773 | 14 | 1 | [] |
[
"<s>",
"static",
"void",
"mips_for_each_saved_reg",
"(",
"HOST_WIDE_INT",
"sp_offset",
",",
"mips_save_restore_fn",
"fn",
")",
"{",
"enum",
"machine_mode",
"fpr_mode",
";",
"HOST_WIDE_INT",
"offset",
";",
"int",
"regno",
";",
"offset",
"=",
"cfun",
"->",
"machine"... | [
"Call",
"FN",
"for",
"each",
"register",
"that",
"is",
"saved",
"by",
"the",
"current",
"function",
".",
"SP_OFFSET",
"is",
"the",
"offset",
"of",
"the",
"current",
"stack",
"pointer",
"from",
"the",
"start",
"of",
"the",
"frame",
"."
] | [
"mips",
"1"
] | mips3 | mips_for_each_saved_reg | mips | CPU | GCC | 29,774 | 163 | 1 | [] |
[
"<s>",
"Register",
"OutgoingValueHandler",
"::",
"getStackAddress",
"(",
"const",
"CCValAssign",
"&",
"VA",
",",
"MachineMemOperand",
"*",
"&",
"MMO",
")",
"{",
"MachineFunction",
"&",
"MF",
"=",
"MIRBuilder",
".",
"getMF",
"(",
")",
";",
"const",
"TargetFrame... | [
"Materialize",
"a",
"VReg",
"containing",
"the",
"address",
"of",
"the",
"specified",
"stack-based",
"object",
"."
] | [
"Mips",
"0",
"32",
"32",
"Mips::SP",
"8",
"8"
] | MipsCallLowering40 | getStackAddress | Mips | CPU | LLVM | 29,775 | 207 | 1 | [] |
[
"<s>",
"static",
"void",
"nvptx_output_unisimt_switch",
"(",
"FILE",
"*",
"file",
",",
"bool",
"entering",
")",
"{",
"if",
"(",
"crtl",
"->",
"is_leaf",
"&&",
"!",
"cfun",
"->",
"machine",
"->",
"unisimt_predicate",
")",
"return",
";",
"fprintf",
"(",
"fil... | [
"Output",
"code",
"for",
"switching",
"uniform-simt",
"state",
".",
"ENTERING",
"indicates",
"whether",
"we",
"are",
"entering",
"or",
"leaving",
"non-uniform",
"execution",
"region",
"."
] | [
"nvptx",
"\"\\t{\\n\"",
"\"\\t\\t.reg.u32 %%ustmp2;\\n\"",
"\"\\t\\tmov.u32 %%ustmp2, %d;\\n\"",
"1",
"0",
"\"\\t\\tmov.pred %%r%d, %d;\\n\"",
"0",
"1",
"\"\\t\\tst.shared.u32 [%%r%d], %%ustmp2;\\n\"",
"\"\\t\\tmov.u32 %%ustmp2, %%laneid;\\n\"",
"\"\\t\\tmov.u32 %%r%d, %s;\\n\"",
"\"%ustmp2\... | nvptx | nvptx_output_unisimt_switch | nvptx | GPU | GCC | 29,776 | 197 | 1 | [] |
[
"<s>",
"unsigned",
"getMaxPrefetchIterationsAhead",
"(",
")",
"const",
"{",
"return",
"MaxPrefetchIterationsAhead",
";",
"}",
"</s>"
] | [
"Return",
"the",
"maximum",
"prefetch",
"distance",
"in",
"terms",
"of",
"loop",
"iterations",
"."
] | [
"AArch64"
] | AArch64Subtarget10 | getMaxPrefetchIterationsAhead | AArch64 | CPU | LLVM | 29,777 | 10 | 1 | [] |
[
"<s>",
"static",
"void",
"recombine_stvx_pattern",
"(",
"rtx_insn",
"*",
"insn",
",",
"del_info",
"*",
"to_delete",
")",
"{",
"rtx",
"body",
"=",
"PATTERN",
"(",
"insn",
")",
";",
"gcc_assert",
"(",
"GET_CODE",
"(",
"body",
")",
"==",
"SET",
"&&",
"GET_C... | [
"If",
"INSN",
"is",
"the",
"store",
"for",
"an",
"stvx",
"pattern",
",",
"put",
"it",
"in",
"canonical",
"form",
"."
] | [
"rs6000",
"0",
"0",
"0",
"0",
"1",
"\"stvx opportunity found at %d\\n\""
] | rs60006 | recombine_stvx_pattern | rs6000 | CPU | GCC | 29,778 | 258 | 1 | [] |
[
"<s>",
"bool",
"PPCCTRLoops",
"::",
"runOnFunction",
"(",
"Function",
"&",
"F",
")",
"{",
"if",
"(",
"skipFunction",
"(",
"F",
")",
")",
"return",
"false",
";",
"auto",
"*",
"TPC",
"=",
"getAnalysisIfAvailable",
"<",
"TargetPassConfig",
">",
"(",
")",
";... | [
"runOnFunction",
"-",
"Virtual",
"method",
"overriden",
"by",
"subclasses",
"to",
"do",
"the",
"per-function",
"processing",
"of",
"the",
"pass",
"."
] | [
"PowerPC",
"PPC",
"PPC"
] | PPCCTRLoops40 | runOnFunction | PowerPC | CPU | LLVM | 29,779 | 238 | 1 | [] |
[
"<s>",
"bool",
"DeadCodeElimination",
"::",
"isDead",
"(",
"unsigned",
"R",
")",
"const",
"{",
"for",
"(",
"const",
"MachineOperand",
"&",
"MO",
":",
"MRI",
".",
"use_operands",
"(",
"R",
")",
")",
"{",
"const",
"MachineInstr",
"*",
"UseI",
"=",
"MO",
... | [
"isDead",
"-",
"Returns",
"true",
"if",
"this",
"is",
"a",
"dead",
"def",
"kill",
"slot",
"."
] | [
"Hexagon",
"0",
"0"
] | HexagonBitSimplify10 | isDead | Hexagon | DSP | LLVM | 29,780 | 101 | 1 | [] |
[
"<s>",
"static",
"void",
"avr_output_progmem_section_asm_op",
"(",
"const",
"char",
"*",
"data",
")",
"{",
"fprintf",
"(",
"asm_out_file",
",",
"\"\\t.section\\t%s,\\\"a\\\",@progbits\\n\"",
",",
"data",
")",
";",
"}",
"</s>"
] | [
"Unnamed",
"section",
"callback",
"for",
"progmem",
"*",
".data",
"sections",
"."
] | [
"avr",
"\"\\t.section\\t%s,\\\"a\\\",@progbits\\n\""
] | avr | avr_output_progmem_section_asm_op | avr | MPU | GCC | 29,781 | 20 | 1 | [] |
[
"<s>",
"SDValue",
"LanaiTargetLowering",
"::",
"LowerOperation",
"(",
"SDValue",
"Op",
",",
"SelectionDAG",
"&",
"DAG",
")",
"const",
"{",
"switch",
"(",
"Op",
".",
"getOpcode",
"(",
")",
")",
"{",
"case",
"ISD",
"::",
"MUL",
":",
"return",
"LowerMUL",
"... | [
"LowerOperation",
"-",
"Provide",
"custom",
"lowering",
"hooks",
"for",
"some",
"operations",
"."
] | [
"Lanai",
"Lanai",
"ISD::MUL",
"ISD::BR_CC",
"ISD::ConstantPool",
"ISD::GlobalAddress",
"ISD::BlockAddress",
"ISD::JumpTable",
"ISD::SELECT_CC",
"ISD::SETCC",
"ISD::SETCCE",
"ISD::SRL_PARTS",
"ISD::VASTART",
"ISD::DYNAMIC_STACKALLOC",
"ISD::RETURNADDR",
"ISD::FRAMEADDR",
"\"unimplemen... | LanaiISelLowering1 | LowerOperation | Lanai | CPU | LLVM | 29,782 | 214 | 1 | [] |
[
"<s>",
"static",
"bool",
"ix86_swap_binary_operands_p",
"(",
"enum",
"rtx_code",
"code",
",",
"machine_mode",
"mode",
",",
"rtx",
"operands",
"[",
"]",
")",
"{",
"rtx",
"dst",
"=",
"operands",
"[",
"0",
"]",
";",
"rtx",
"src1",
"=",
"operands",
"[",
"1",... | [
"Helper",
"function",
"of",
"ix86_fixup_binary_operands",
"to",
"canonicalize",
"operand",
"order",
".",
"Returns",
"true",
"if",
"the",
"operands",
"should",
"be",
"swapped",
"."
] | [
"i386",
"0",
"1",
"2"
] | i386-expand | ix86_swap_binary_operands_p | i386 | CPU | GCC | 29,783 | 132 | 1 | [] |
[
"<s>",
"bool",
"AMDGPUPassConfig",
"::",
"addPreEmitPass",
"(",
")",
"{",
"const",
"AMDGPUSubtarget",
"&",
"ST",
"=",
"TM",
"->",
"getSubtarget",
"<",
"AMDGPUSubtarget",
">",
"(",
")",
";",
"if",
"(",
"ST",
".",
"device",
"(",
")",
"->",
"getGeneration",
... | [
"This",
"pass",
"may",
"be",
"implemented",
"by",
"targets",
"that",
"want",
"to",
"run",
"passes",
"immediately",
"before",
"machine",
"code",
"is",
"emitted",
"."
] | [
"R600",
"AMDGPUDeviceInfo::HD6XXX",
"SI"
] | AMDGPUTargetMachine51 | addPreEmitPass | R600 | GPU | LLVM | 29,784 | 115 | 1 | [] |
[
"<s>",
"bool",
"FixupBWInstPass",
"::",
"runOnMachineFunction",
"(",
"MachineFunction",
"&",
"MF",
")",
"{",
"if",
"(",
"!",
"FixupBWInsts",
")",
"return",
"false",
";",
"this",
"->",
"MF",
"=",
"&",
"MF",
";",
"TII",
"=",
"MF",
".",
"getSubtarget",
"<",... | [
"runOnMachineFunction",
"-",
"Emit",
"the",
"function",
"body",
"."
] | [
"X86",
"X86",
"\"Start X86FixupBWInsts\\n\"",
"\"End X86FixupBWInsts\\n\""
] | X86FixupBWInsts3 | runOnMachineFunction | X86 | CPU | LLVM | 29,785 | 101 | 1 | [] |
[
"<s>",
"virtual",
"const",
"char",
"*",
"getPassName",
"(",
")",
"const",
"{",
"return",
"\"BPF DAG->DAG Pattern Instruction Selection\"",
";",
"}",
"</s>"
] | [
"getPassName",
"-",
"Return",
"a",
"nice",
"clean",
"name",
"for",
"a",
"pass",
"."
] | [
"BPF",
"\"BPF DAG->DAG Pattern Instruction Selection\""
] | BPFISelDAGToDAG30 | getPassName | BPF | Virtual ISA | LLVM | 29,786 | 13 | 1 | [] |
[
"<s>",
"static",
"inline",
"struct",
"loongarch_abi",
"isa_default_abi",
"(",
"const",
"struct",
"loongarch_isa",
"*",
"isa",
")",
"{",
"struct",
"loongarch_abi",
"abi",
";",
"switch",
"(",
"isa",
"->",
"fpu",
")",
"{",
"case",
"ISA_EXT_FPU64",
":",
"if",
"(... | [
"Returns",
"the",
"default",
"ABI",
"for",
"the",
"given",
"instruction",
"set",
"."
] | [
"loongarch"
] | loongarch-opts | isa_default_abi | loongarch | CPU | GCC | 29,787 | 98 | 1 | [] |
[
"<s>",
"static",
"bool",
"is_microcoded_insn",
"(",
"rtx_insn",
"*",
"insn",
")",
"{",
"if",
"(",
"!",
"insn",
"||",
"!",
"NONDEBUG_INSN_P",
"(",
"insn",
")",
"||",
"GET_CODE",
"(",
"PATTERN",
"(",
"insn",
")",
")",
"==",
"USE",
"||",
"GET_CODE",
"(",
... | [
"The",
"function",
"returns",
"a",
"true",
"if",
"INSN",
"is",
"microcoded",
".",
"Return",
"false",
"otherwise",
"."
] | [
"rs6000"
] | rs6000 | is_microcoded_insn | rs6000 | CPU | GCC | 29,788 | 141 | 1 | [] |
[
"<s>",
"bool",
"requiresRegisterScavenging",
"(",
"const",
"MachineFunction",
"&",
"MF",
")",
"const",
"override",
"{",
"return",
"true",
";",
"}",
"</s>"
] | [
"Returns",
"true",
"if",
"the",
"target",
"requires",
"(",
"and",
"can",
"make",
"use",
"of",
")",
"the",
"register",
"scavenger",
"."
] | [
"SystemZ"
] | SystemZRegisterInfo (2) | requiresRegisterScavenging | SystemZ | CPU | LLVM | 29,789 | 15 | 1 | [] |
[
"<s>",
"static",
"int",
"riscv_flatten_aggregate_argument",
"(",
"const_tree",
"type",
",",
"riscv_aggregate_field",
"fields",
"[",
"2",
"]",
")",
"{",
"if",
"(",
"!",
"type",
"||",
"TREE_CODE",
"(",
"type",
")",
"!=",
"RECORD_TYPE",
")",
"return",
"-",
"1",... | [
"Identify",
"candidate",
"aggregates",
"for",
"passing",
"in",
"floating-point",
"registers",
".",
"Candidates",
"have",
"at",
"most",
"two",
"fields",
"after",
"flattening",
"."
] | [
"riscv",
"2",
"1",
"0",
"0"
] | riscv2 | riscv_flatten_aggregate_argument | riscv | CPU | GCC | 29,790 | 43 | 1 | [] |
[
"<s>",
"void",
"MSP430RegisterInfo",
"::",
"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",
"."
] | [
"MSP430",
"MSP430",
"0",
"\"Unexpected\"",
"MSP430::FPW",
"MSP430::SPW",
"2",
"2",
"1",
"MSP430::ADD16ri",
"MSP430::MOV16rr",
"0",
"0",
"0",
"MSP430::SUB16ri",
"MSP430::ADD16ri",
"1"
] | MSP430RegisterInfo38 | eliminateFrameIndex | MSP430 | MPU | LLVM | 29,791 | 367 | 1 | [] |
[
"<s>",
"bool",
"empty",
"(",
")",
"const",
"{",
"return",
"List",
".",
"empty",
"(",
")",
";",
"}",
"</s>"
] | [
"Determine",
"whether",
"this",
"version",
"information",
"is",
"empty",
"(",
"e.g.",
",",
"all",
"version",
"components",
"are",
"zero",
")",
"."
] | [
"Hexagon"
] | HexagonISelDAGToDAGHVX | empty | Hexagon | DSP | LLVM | 29,792 | 14 | 1 | [] |
[
"<s>",
"MCSection",
"*",
"MipsTargetObjectFile",
"::",
"getSectionForConstant",
"(",
"const",
"DataLayout",
"&",
"DL",
",",
"SectionKind",
"Kind",
",",
"const",
"Constant",
"*",
"C",
",",
"unsigned",
"&",
"Align",
",",
"const",
"GlobalObject",
"*",
"GO",
")",
... | [
"Given",
"a",
"constant",
"with",
"the",
"SectionKind",
",",
"return",
"a",
"section",
"that",
"it",
"should",
"be",
"placed",
"in",
"."
] | [
"Mips",
"Mips"
] | MipsTargetObjectFile25 | getSectionForConstant | Mips | CPU | LLVM | 29,793 | 62 | 1 | [] |
[
"<s>",
"static",
"rtx",
"mips_function_value",
"(",
"const_tree",
"valtype",
",",
"const_tree",
"fn_decl_or_type",
",",
"bool",
"outgoing",
"ATTRIBUTE_UNUSED",
")",
"{",
"return",
"mips_function_value_1",
"(",
"valtype",
",",
"fn_decl_or_type",
",",
"VOIDmode",
")",
... | [
"Implement",
"FUNCTION_VALUE",
"and",
"LIBCALL_VALUE",
".",
"For",
"normal",
"calls",
",",
"VALTYPE",
"is",
"the",
"return",
"type",
"and",
"MODE",
"is",
"VOIDmode",
".",
"For",
"libcalls",
",",
"VALTYPE",
"is",
"null",
"and",
"MODE",
"is",
"the",
"mode",
... | [
"mips"
] | mips | mips_function_value | mips | CPU | GCC | 29,794 | 26 | 1 | [] |
[
"<s>",
"bool",
"X86InstrInfo",
"::",
"shouldScheduleLoadsNear",
"(",
"SDNode",
"*",
"Load1",
",",
"SDNode",
"*",
"Load2",
",",
"int64_t",
"Offset1",
",",
"int64_t",
"Offset2",
",",
"unsigned",
"NumLoads",
")",
"const",
"{",
"assert",
"(",
"Offset2",
">",
"Of... | [
"shouldScheduleLoadsNear",
"-",
"This",
"is",
"a",
"used",
"by",
"the",
"pre-regalloc",
"scheduler",
"to",
"determine",
"(",
"in",
"conjunction",
"with",
"areLoadsFromSameBasePtr",
")",
"if",
"two",
"loads",
"should",
"be",
"scheduled",
"togther",
"."
] | [
"X86",
"X86",
"8",
"64",
"X86::LD_Fp32m",
"X86::LD_Fp64m",
"X86::LD_Fp80m",
"X86::MMX_MOVD64rm",
"X86::MMX_MOVQ64rm",
"0",
"3",
"MVT::i8",
"MVT::i16",
"MVT::i32",
"MVT::i64",
"MVT::f32",
"MVT::f64"
] | X86InstrInfo (2) | shouldScheduleLoadsNear | X86 | CPU | LLVM | 29,795 | 213 | 1 | [] |
[
"<s>",
"bool",
"OptimizePICCall",
"::",
"runOnMachineFunction",
"(",
"MachineFunction",
"&",
"F",
")",
"{",
"if",
"(",
"F",
".",
"getSubtarget",
"<",
"MipsSubtarget",
">",
"(",
")",
".",
"inMips16Mode",
"(",
")",
")",
"return",
"false",
";",
"MachineDominato... | [
"runOnMachineFunction",
"-",
"Emit",
"the",
"function",
"body",
"."
] | [
"Mips",
"Mips",
"Mips",
"8",
"1"
] | MipsOptimizePICCall8 | runOnMachineFunction | Mips | CPU | LLVM | 29,796 | 156 | 1 | [] |
[
"<s>",
"static",
"bool",
"ix86_float_exceptions_rounding_supported_p",
"(",
"void",
")",
"{",
"return",
"TARGET_80387",
"||",
"TARGET_SSE_MATH",
";",
"}",
"</s>"
] | [
"Implement",
"TARGET_FLOAT_EXCEPTIONS_ROUNDING_SUPPORTED_P",
"."
] | [
"i386"
] | i3864 | ix86_float_exceptions_rounding_supported_p | i386 | CPU | GCC | 29,797 | 13 | 1 | [] |
[
"<s>",
"void",
"pa_d_target_versions",
"(",
"void",
")",
"{",
"if",
"(",
"TARGET_64BIT",
")",
"d_add_builtin_version",
"(",
"\"HPPA64\"",
")",
";",
"else",
"d_add_builtin_version",
"(",
"\"HPPA\"",
")",
";",
"if",
"(",
"TARGET_SOFT_FLOAT",
")",
"d_add_builtin_vers... | [
"Implement",
"TARGET_D_CPU_VERSIONS",
"for",
"HPPA",
"targets",
"."
] | [
"pa",
"\"HPPA64\"",
"\"HPPA\"",
"\"D_SoftFloat\"",
"\"D_HardFloat\""
] | pa-d | pa_d_target_versions | pa | CPU | GCC | 29,798 | 37 | 1 | [] |
[
"<s>",
"static",
"void",
"s390_end_pool",
"(",
"struct",
"constant_pool",
"*",
"pool",
",",
"rtx",
"insn",
")",
"{",
"rtx",
"pool_size",
"=",
"GEN_INT",
"(",
"pool",
"->",
"size",
"+",
"8",
")",
";",
"if",
"(",
"!",
"insn",
")",
"insn",
"=",
"get_las... | [
"End",
"range",
"of",
"instructions",
"covered",
"by",
"POOL",
"at",
"INSN",
"and",
"emit",
"placeholder",
"insn",
"representing",
"the",
"pool",
"."
] | [
"s390",
"8",
"1"
] | s3903 | s390_end_pool | s390 | MPU | GCC | 29,799 | 61 | 1 | [] |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.