ground_truth listlengths 8 512 | natrual_language listlengths 1 243 | TS_V_token listlengths 1 182 | File stringlengths 2 45 | Func stringlengths 1 56 | Target stringclasses 175
values | Target_Clf stringclasses 6
values | Compiler_Type stringclasses 2
values | Idx int64 0 36.2k | Length int64 6 510 | Cover_Rate float64 1 1 | Template_token listlengths 0 0 |
|---|---|---|---|---|---|---|---|---|---|---|---|
[
"<s>",
"static",
"bool",
"ix86_handle_option",
"(",
"size_t",
"code",
",",
"const",
"char",
"*",
"arg",
"ATTRIBUTE_UNUSED",
",",
"int",
"value",
")",
"{",
"switch",
"(",
"code",
")",
"{",
"case",
"OPT_m3dnow",
":",
"if",
"(",
"!",
"value",
")",
"{",
"t... | [
"Implement",
"TARGET_HANDLE_OPTION",
"."
] | [
"i386"
] | i3863 | ix86_handle_option | i386 | CPU | GCC | 4,300 | 129 | 1 | [] |
[
"<s>",
"void",
"PIC16InstrInfo",
"::",
"loadRegFromStackSlot",
"(",
"MachineBasicBlock",
"&",
"MBB",
",",
"MachineBasicBlock",
"::",
"iterator",
"I",
",",
"unsigned",
"DestReg",
",",
"int",
"FI",
",",
"const",
"TargetRegisterClass",
"*",
"RC",
",",
"const",
"Tar... | [
"Load",
"the",
"specified",
"register",
"of",
"the",
"given",
"register",
"class",
"from",
"the",
"specified",
"stack",
"frame",
"index",
"."
] | [
"PIC16",
"PIC16",
"PIC16",
"PIC16::GPRRegisterClass",
"PIC16::movf",
"1",
"1",
"PIC16::FSR16RegisterClass",
"PIC16::FSR0",
"PIC16::restore_fsr0",
"PIC16::restore_fsr1",
"3",
"1",
"\"Can't load this register from stack slot\""
] | PIC16InstrInfo2 | loadRegFromStackSlot | PIC16 | MPU | LLVM | 4,301 | 247 | 1 | [] |
[
"<s>",
"void",
"assignValueToReg",
"(",
"Register",
"ValVReg",
",",
"Register",
"PhysReg",
",",
"CCValAssign",
"&",
"VA",
")",
"override",
"{",
"MIB",
".",
"addUse",
"(",
"PhysReg",
",",
"RegState",
"::",
"Implicit",
")",
";",
"Register",
"ExtReg",
"=",
"e... | [
"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",
"."
] | [
"AArch64"
] | AArch64CallLowering12 | assignValueToReg | AArch64 | CPU | LLVM | 4,302 | 46 | 1 | [] |
[
"<s>",
"SDValue",
"X86TargetLowering",
"::",
"LowerCallResult",
"(",
"SDValue",
"Chain",
",",
"SDValue",
"InFlag",
",",
"CallingConv",
"::",
"ID",
"CallConv",
",",
"bool",
"isVarArg",
",",
"const",
"SmallVectorImpl",
"<",
"ISD",
"::",
"InputArg",
">",
"&",
"In... | [
"LowerCallResult",
"-",
"Lower",
"the",
"result",
"values",
"of",
"an",
"ISD",
":",
":CALL",
"into",
"the",
"appropriate",
"copies",
"out",
"of",
"appropriate",
"physical",
"registers",
"."
] | [
"X86",
"X86",
"ISD::InputArg",
"16",
"X86",
"0",
"MVT::f32",
"MVT::f64",
"MVT::f128",
"\"SSE register return with SSE disabled\"",
"X86::FP0",
"X86::FP1",
"MVT::f80",
"1",
"0",
"ISD::FP_ROUND",
"1",
"MVT::i1",
"ISD::TRUNCATE",
"2"
] | X86ISelLowering149 | LowerCallResult | X86 | CPU | LLVM | 4,303 | 380 | 1 | [] |
[
"<s>",
"ArrayRef",
"<",
"std",
"::",
"pair",
"<",
"unsigned",
",",
"const",
"char",
"*",
">>",
"ARMBaseInstrInfo",
"::",
"getSerializableBitmaskMachineOperandTargetFlags",
"(",
")",
"const",
"{",
"using",
"namespace",
"ARMII",
";",
"static",
"const",
"std",
"::"... | [
"Return",
"an",
"array",
"that",
"contains",
"the",
"bitmask",
"target",
"flag",
"values",
"and",
"their",
"names",
"."
] | [
"ARM",
"ARM",
"ARM",
"\"arm-got\"",
"\"arm-sbrel\"",
"\"arm-dllimport\"",
"\"arm-secrel\"",
"\"arm-nonlazy\""
] | ARMBaseInstrInfo18 | getSerializableBitmaskMachineOperandTargetFlags | ARM | CPU | LLVM | 4,304 | 78 | 1 | [] |
[
"<s>",
"bool",
"X86InstrInfo",
"::",
"expandPostRAPseudo",
"(",
"MachineBasicBlock",
"::",
"iterator",
"MI",
")",
"const",
"{",
"bool",
"HasAVX",
"=",
"TM",
".",
"getSubtarget",
"<",
"X86Subtarget",
">",
"(",
")",
".",
"hasAVX",
"(",
")",
";",
"switch",
"(... | [
"This",
"function",
"is",
"called",
"for",
"all",
"pseudo",
"instructions",
"that",
"remain",
"after",
"register",
"allocation",
"."
] | [
"X86",
"X86",
"X86",
"X86::V_SET0",
"X86::FsFLD0SS",
"X86::FsFLD0SD",
"X86::VXORPSrr",
"X86::XORPSrr",
"X86::TEST8ri_NOREX",
"X86::TEST8ri"
] | X86InstrInfo132 | expandPostRAPseudo | X86 | CPU | LLVM | 4,305 | 96 | 1 | [] |
[
"<s>",
"unsigned",
"int",
"R600InstrInfo",
"::",
"getInstrLatency",
"(",
"const",
"InstrItineraryData",
"*",
"ItinData",
",",
"const",
"MachineInstr",
"&",
",",
"unsigned",
"*",
"PredCost",
")",
"const",
"{",
"if",
"(",
"PredCost",
")",
"*",
"PredCost",
"=",
... | [
"Compute",
"the",
"instruction",
"latency",
"of",
"a",
"given",
"instruction",
"."
] | [
"AMDGPU",
"R600",
"2",
"2"
] | R600InstrInfo (2)1 | getInstrLatency | AMDGPU | GPU | LLVM | 4,306 | 34 | 1 | [] |
[
"<s>",
"void",
"emitVERegisterIgnore",
"(",
"unsigned",
"reg",
")",
"override",
"{",
"}",
"</s>"
] | [
"Emit",
"``",
".register",
"<",
"reg",
">",
",",
"#",
"ignore",
"''",
"."
] | [
"VE",
"VE"
] | VETargetStreamer | emitVERegisterIgnore | VE | CPU | LLVM | 4,307 | 9 | 1 | [] |
[
"<s>",
"void",
"ARMElfTargetObjectFile",
"::",
"Initialize",
"(",
"MCContext",
"&",
"Ctx",
",",
"const",
"TargetMachine",
"&",
"TM",
")",
"{",
"const",
"ARMTargetMachine",
"&",
"ARM_TM",
"=",
"static_cast",
"<",
"const",
"ARMTargetMachine",
"&",
">",
"(",
"TM"... | [
"This",
"method",
"must",
"be",
"called",
"before",
"any",
"actual",
"lowering",
"is",
"done",
"."
] | [
"ARM",
"ARM",
"ARM",
"ARM",
"ARM",
"ARM",
"ARM",
"ARMABI::ARM_ABI_AAPCS",
"ARM",
"\".ARM.attributes\"",
"ARM",
"0",
"ARM",
"\".text\"",
"0",
"\"\"",
"0U"
] | ARMTargetObjectFile25 | Initialize | ARM | CPU | LLVM | 4,308 | 144 | 1 | [] |
[
"<s>",
"void",
"X86DAGToDAGISel",
"::",
"PreprocessISelDAG",
"(",
")",
"{",
"OptForSize",
"=",
"MF",
"->",
"getFunction",
"(",
")",
"->",
"getAttributes",
"(",
")",
".",
"hasAttribute",
"(",
"AttributeSet",
"::",
"FunctionIndex",
",",
"Attribute",
"::",
"Optim... | [
"PreprocessISelDAG",
"-",
"This",
"hook",
"allows",
"targets",
"to",
"hack",
"on",
"the",
"graph",
"before",
"instruction",
"selection",
"starts",
"."
] | [
"X86",
"X86",
"X86ISD::CALL",
"X86ISD::TC_RETURN",
"X86ISD::CALL",
"0",
"1",
"0",
"ISD::FP_ROUND",
"ISD::FP_EXTEND",
"0",
"0",
"X86",
"X86",
"ISD::FP_EXTEND",
"1",
"ISD::FP_ROUND",
"0",
"0",
"ISD::EXTLOAD",
"0",
"0"
] | X86ISelDAGToDAG115 | PreprocessISelDAG | X86 | CPU | LLVM | 4,309 | 467 | 1 | [] |
[
"<s>",
"const",
"SIRegisterInfo",
"&",
"getRegisterInfo",
"(",
")",
"const",
"override",
"{",
"return",
"RI",
";",
"}",
"</s>"
] | [
"getRegisterInfo",
"-",
"TargetInstrInfo",
"is",
"a",
"superset",
"of",
"MRegister",
"info",
"."
] | [
"R600",
"SI"
] | SIInstrInfo104 | getRegisterInfo | R600 | GPU | LLVM | 4,310 | 13 | 1 | [] |
[
"<s>",
"const",
"InstrItineraryData",
"&",
"getInstrItineraryData",
"(",
")",
"const",
"{",
"return",
"InstrItins",
";",
"}",
"</s>"
] | [
"getInstrItineraryData",
"-",
"Returns",
"instruction",
"itinerary",
"data",
"for",
"the",
"target",
"or",
"specific",
"subtarget",
"."
] | [
"Patmos"
] | PatmosSubtarget | getInstrItineraryData | Patmos | VLIW | LLVM | 4,311 | 12 | 1 | [] |
[
"<s>",
"void",
"X86DAGToDAGISel",
"::",
"PreprocessISelDAG",
"(",
")",
"{",
"OptForSize",
"=",
"MF",
"->",
"getFunction",
"(",
")",
"->",
"getAttributes",
"(",
")",
".",
"hasAttribute",
"(",
"AttributeSet",
"::",
"FunctionIndex",
",",
"Attribute",
"::",
"Optim... | [
"PreprocessISelDAG",
"-",
"This",
"hook",
"allows",
"targets",
"to",
"hack",
"on",
"the",
"graph",
"before",
"instruction",
"selection",
"starts",
"."
] | [
"X86",
"X86",
"X86ISD::CALL",
"X86ISD::TC_RETURN",
"X86ISD::CALL",
"0",
"1",
"0",
"ISD::FP_ROUND",
"ISD::FP_EXTEND",
"0",
"0",
"X86",
"X86",
"X86",
"X86",
"X86",
"ISD::FP_EXTEND",
"1",
"ISD::FP_ROUND",
"0",
"0",
"ISD::EXTLOAD",
"0",
"0"
] | X86ISelDAGToDAG142 | PreprocessISelDAG | X86 | CPU | LLVM | 4,312 | 481 | 1 | [] |
[
"<s>",
"bool",
"AMDGPUAsmParser",
"::",
"ParseDirective",
"(",
"AsmToken",
"DirectiveID",
")",
"{",
"StringRef",
"IDVal",
"=",
"DirectiveID",
".",
"getString",
"(",
")",
";",
"if",
"(",
"IDVal",
"==",
"\".hsa_code_object_version\"",
")",
"return",
"ParseDirectiveH... | [
"ParseDirective",
"-",
"Parse",
"a",
"target",
"specific",
"assembler",
"directive",
"This",
"method",
"is",
"deprecated",
",",
"use",
"'parseDirective",
"'",
"instead",
"."
] | [
"AMDGPU",
"AMDGPU",
"\".hsa_code_object_version\"",
"\".hsa_code_object_isa\"",
"AMDGPU::CodeObject",
"\".amd_kernel_code_t\"",
"\".amdgpu_hsa_kernel\"",
"AMDGPU"
] | AMDGPUAsmParser14 | ParseDirective | AMDGPU | GPU | LLVM | 4,313 | 81 | 1 | [] |
[
"<s>",
"static",
"void",
"mips_sim_wait_regs",
"(",
"struct",
"mips_sim",
"*",
"state",
",",
"rtx_insn",
"*",
"insn",
")",
"{",
"mips_sim_insn",
"=",
"insn",
";",
"note_uses",
"(",
"&",
"PATTERN",
"(",
"insn",
")",
",",
"mips_sim_wait_regs_1",
",",
"state",
... | [
"Advance",
"simulation",
"state",
"STATE",
"until",
"all",
"of",
"INSN",
"'s",
"register",
"dependencies",
"are",
"satisfied",
"."
] | [
"mips"
] | mips | mips_sim_wait_regs | mips | CPU | GCC | 4,314 | 32 | 1 | [] |
[
"<s>",
"static",
"tree",
"rs6000_builtin_vectorized_libmass",
"(",
"combined_fn",
"fn",
",",
"tree",
"type_out",
",",
"tree",
"type_in",
")",
"{",
"char",
"name",
"[",
"32",
"]",
";",
"const",
"char",
"*",
"suffix",
"=",
"NULL",
";",
"tree",
"fntype",
",",... | [
"Handler",
"for",
"the",
"Mathematical",
"Acceleration",
"Subsystem",
"(",
"mass",
")",
"interface",
"to",
"a",
"library",
"with",
"vectorized",
"intrinsics",
"."
] | [
"rs6000",
"32",
"1",
"2",
"2",
"\"d2\"",
"4",
"\"4\"",
"\"__builtin_\"",
"1",
"2",
"1",
"1",
"1",
"1"
] | rs6000 | rs6000_builtin_vectorized_libmass | rs6000 | CPU | GCC | 4,315 | 386 | 1 | [] |
[
"<s>",
"const",
"uint32_t",
"*",
"ARMBaseRegisterInfo",
"::",
"getThisReturnPreservedMask",
"(",
"CallingConv",
"::",
"ID",
"CC",
")",
"const",
"{",
"if",
"(",
"CC",
"==",
"CallingConv",
"::",
"GHC",
")",
"return",
"NULL",
";",
"return",
"(",
"STI",
".",
"... | [
"getThisReturnPreservedMask",
"-",
"Returns",
"a",
"call",
"preserved",
"mask",
"specific",
"to",
"the",
"case",
"that",
"'returned",
"'",
"is",
"on",
"an",
"i32",
"first",
"argument",
"if",
"the",
"calling",
"convention",
"is",
"one",
"that",
"can",
"(",
"p... | [
"ARM",
"ARM"
] | ARMBaseRegisterInfo19 | getThisReturnPreservedMask | ARM | CPU | LLVM | 4,316 | 46 | 1 | [] |
[
"<s>",
"tree",
"rs6000_builtin_mask_for_load",
"(",
"void",
")",
"{",
"if",
"(",
"(",
"TARGET_ALTIVEC",
"&&",
"!",
"TARGET_VSX",
")",
"||",
"(",
"TARGET_VSX",
"&&",
"!",
"TARGET_EFFICIENT_UNALIGNED_VSX",
")",
")",
"return",
"altivec_builtin_mask_for_load",
";",
"e... | [
"Implement",
"targetm.vectorize.builtin_mask_for_load",
"."
] | [
"rs6000",
"0"
] | rs6000-builtin | rs6000_builtin_mask_for_load | rs6000 | CPU | GCC | 4,317 | 30 | 1 | [] |
[
"<s>",
"static",
"size_t",
"mingw32_gt_pch_alloc_granularity",
"(",
"void",
")",
"{",
"SYSTEM_INFO",
"si",
";",
"GetSystemInfo",
"(",
"&",
"si",
")",
";",
"va_granularity",
"=",
"(",
"size_t",
")",
"si",
".",
"dwAllocationGranularity",
";",
"return",
"va_granula... | [
"Granularity",
"for",
"reserving",
"address",
"space",
"."
] | [
"i386"
] | host-mingw32 | mingw32_gt_pch_alloc_granularity | i386 | CPU | GCC | 4,318 | 29 | 1 | [] |
[
"<s>",
"static",
"int",
"spu_builtin_vectorization_cost",
"(",
"enum",
"vect_cost_for_stmt",
"type_of_cost",
",",
"tree",
"vectype",
",",
"int",
"misalign",
"ATTRIBUTE_UNUSED",
")",
"{",
"unsigned",
"elements",
";",
"switch",
"(",
"type_of_cost",
")",
"{",
"case",
... | [
"Implement",
"targetm.vectorize.builtin_vectorization_cost",
"."
] | [
"spu",
"1",
"10",
"2",
"2",
"6",
"2",
"1"
] | spu3 | spu_builtin_vectorization_cost | spu | MPU | GCC | 4,319 | 109 | 1 | [] |
[
"<s>",
"static",
"void",
"mep_jmp_return_reorg",
"(",
"rtx_insn",
"*",
"insns",
")",
"{",
"rtx_insn",
"*",
"insn",
",",
"*",
"label",
",",
"*",
"ret",
";",
"int",
"ret_code",
";",
"for",
"(",
"insn",
"=",
"insns",
";",
"insn",
";",
"insn",
"=",
"NEXT... | [
"Replace",
"a",
"jump",
"to",
"a",
"return",
",",
"with",
"a",
"copy",
"of",
"the",
"return",
".",
"GCC",
"does",
"n't",
"always",
"do",
"this",
"on",
"its",
"own",
"."
] | [
"mep",
"0",
"1"
] | mep | mep_jmp_return_reorg | mep | CPU | GCC | 4,320 | 162 | 1 | [] |
[
"<s>",
"uint64_t",
"MipsGNUInfo",
"::",
"flags",
"(",
")",
"const",
"{",
"return",
"m_ElfFlags",
";",
"}",
"</s>"
] | [
"Get",
"the",
"flags",
"for",
"this",
"GlobalValue",
"(",
"see",
"struct",
"GVFlags",
")",
"."
] | [
"Mips",
"Mips"
] | MipsGNUInfo | flags | Mips | CPU | LLVM | 4,321 | 12 | 1 | [] |
[
"<s>",
"static",
"void",
"mips_set_compression_mode",
"(",
"unsigned",
"int",
"compression_mode",
")",
"{",
"if",
"(",
"compression_mode",
"==",
"old_compression_mode",
")",
"return",
";",
"target_flags",
"=",
"mips_base_target_flags",
";",
"flag_schedule_insns",
"=",
... | [
"Set",
"up",
"the",
"target-dependent",
"global",
"state",
"for",
"ISA",
"mode",
"COMPRESSION_MODE",
",",
"which",
"is",
"either",
"MASK_MIPS16",
"or",
"MASK_MICROMIPS",
"."
] | [
"mips",
"0",
"0",
"0",
"0",
"127",
"0",
"\"MIPS16 PIC for ABIs other than o32 and o64\"",
"\"MIPS16 %<-mxgot%> code\"",
"\"%<hard-float%> MIPS16 code for ABIs other than o32 and o64\"",
"\"MSA MIPS16 code\"",
"\"8\"",
"\"8\"",
"\"8\"",
"32768",
"32767",
"0x8000"
] | mips | mips_set_compression_mode | mips | CPU | GCC | 4,322 | 298 | 1 | [] |
[
"<s>",
"static",
"void",
"rs6000_frame_related",
"(",
"rtx",
"insn",
",",
"rtx",
"reg",
",",
"HOST_WIDE_INT",
"val",
",",
"rtx",
"reg2",
",",
"rtx",
"rreg",
")",
"{",
"rtx",
"real",
",",
"temp",
";",
"if",
"(",
"reg",
"==",
"reg2",
")",
"reg",
"=",
... | [
"Add",
"to",
"'insn",
"'",
"a",
"note",
"which",
"is",
"PATTERN",
"(",
"INSN",
")",
"but",
"with",
"REG",
"replaced",
"with",
"(",
"plus",
":",
"P",
"(",
"reg",
"1",
")",
"VAL",
")",
",",
"and",
"with",
"REG2",
"replaced",
"with",
"RREG",
"if",
"... | [
"rs6000",
"0",
"0",
"0",
"0",
"0",
"0",
"0",
"0",
"1",
"1"
] | rs60003 | rs6000_frame_related | rs6000 | CPU | GCC | 4,323 | 417 | 1 | [] |
[
"<s>",
"const",
"MCFixupKindInfo",
"&",
"getFixupKindInfo",
"(",
"MCFixupKind",
"Kind",
")",
"const",
"override",
"{",
"const",
"static",
"MCFixupKindInfo",
"Infos",
"[",
"X86",
"::",
"NumTargetFixupKinds",
"]",
"=",
"{",
"{",
"\"reloc_riprel_4byte\"",
",",
"0",
... | [
"Get",
"information",
"on",
"a",
"fixup",
"kind",
"."
] | [
"X86",
"X86::NumTargetFixupKinds",
"\"reloc_riprel_4byte\"",
"0",
"32",
"\"reloc_riprel_4byte_movq_load\"",
"0",
"32",
"\"reloc_riprel_4byte_relax\"",
"0",
"32",
"\"reloc_riprel_4byte_relax_rex\"",
"0",
"32",
"\"reloc_signed_4byte\"",
"0",
"32",
"0",
"\"reloc_signed_4byte_relax\"... | X86AsmBackend (2) | getFixupKindInfo | X86 | CPU | LLVM | 4,324 | 151 | 1 | [] |
[
"<s>",
"static",
"void",
"frv_optimize_membar_local",
"(",
"basic_block",
"bb",
",",
"struct",
"frv_io",
"*",
"next_io",
",",
"rtx_insn",
"*",
"*",
"last_membar",
")",
"{",
"HARD_REG_SET",
"used_regs",
";",
"rtx",
"set",
";",
"rtx_insn",
"*",
"insn",
",",
"*... | [
"Go",
"through",
"block",
"BB",
"looking",
"for",
"membars",
"to",
"remove",
".",
"There",
"are",
"two",
"cases",
"where",
"intra-block",
"analysis",
"is",
"enough",
":",
"-",
"a",
"membar",
"is",
"redundant",
"if",
"it",
"occurs",
"between",
"two",
"conse... | [
"frv",
"0",
"0",
"0",
"\";; [Local] Removing membar %d since order\"",
"\" of accesses is guaranteed\\n\"",
"0",
"0",
"0",
"0",
"0",
"\";; [Local] Removing membar %d since the target\"",
"\" of %d is used before the I/O operation\\n\"",
"0",
"0"
] | frv5 | frv_optimize_membar_local | frv | VLIW | GCC | 4,325 | 458 | 1 | [] |
[
"<s>",
"void",
"AMDGPUPassConfig",
"::",
"addPreRegAlloc",
"(",
")",
"{",
"const",
"AMDGPUSubtarget",
"&",
"ST",
"=",
"TM",
"->",
"getSubtarget",
"<",
"AMDGPUSubtarget",
">",
"(",
")",
";",
"if",
"(",
"ST",
".",
"getGeneration",
"(",
")",
"<=",
"AMDGPUSubt... | [
"This",
"method",
"may",
"be",
"implemented",
"by",
"targets",
"that",
"want",
"to",
"run",
"passes",
"immediately",
"before",
"register",
"allocation",
"."
] | [
"R600",
"SI",
"SI",
"SI",
"SI",
"SI",
"SI"
] | AMDGPUTargetMachine38 | addPreRegAlloc | R600 | GPU | LLVM | 4,326 | 134 | 1 | [] |
[
"<s>",
"static",
"void",
"m68k_sched_dfa_post_advance_cycle",
"(",
"void",
")",
"{",
"int",
"i",
";",
"if",
"(",
"!",
"sched_ib",
".",
"enabled_p",
")",
"return",
";",
"i",
"=",
"max_insn_size",
"-",
"sched_ib",
".",
"filled",
";",
"while",
"(",
"--",
"i... | [
"Implementation",
"of",
"targetm.sched.dfa_post_advance_cycle",
"(",
")",
"hook",
".",
"It",
"is",
"invoked",
"just",
"after",
"new",
"cycle",
"begins",
"and",
"is",
"used",
"here",
"to",
"setup",
"number",
"of",
"filled",
"words",
"in",
"the",
"instruction",
... | [
"m68k",
"0",
"0"
] | m68k | m68k_sched_dfa_post_advance_cycle | m68k | MPU | GCC | 4,327 | 55 | 1 | [] |
[
"<s>",
"static",
"void",
"gen_safe_add",
"(",
"rtx",
"dest",
",",
"rtx",
"src",
",",
"rtx",
"val",
",",
"bool",
"is_frame_related",
")",
"{",
"rtx",
"insn",
";",
"if",
"(",
"val",
"==",
"NULL_RTX",
"||",
"INTVAL",
"(",
"val",
")",
"==",
"0",
")",
"... | [
"Generate",
"an",
"ADD",
"of",
"SRC",
"plus",
"VAL",
"into",
"DEST",
".",
"Handles",
"the",
"case",
"where",
"VAL",
"is",
"too",
"big",
"for",
"max_constant_value",
".",
"Sets",
"FRAME_RELATED_P",
"on",
"the",
"insn",
"if",
"IS_FRAME_RELATED",
"is",
"true",
... | [
"rx",
"0",
"1",
"1"
] | rx2 | gen_safe_add | rx | CPU | GCC | 4,328 | 157 | 1 | [] |
[
"<s>",
"SDValue",
"AGCTargetLowering",
"::",
"LowerReturn",
"(",
"SDValue",
"Chain",
",",
"CallingConv",
"::",
"ID",
"CallConv",
",",
"bool",
"IsVarArg",
",",
"const",
"SmallVectorImpl",
"<",
"ISD",
"::",
"OutputArg",
">",
"&",
"Outs",
",",
"const",
"SmallVect... | [
"This",
"hook",
"must",
"be",
"implemented",
"to",
"lower",
"outgoing",
"return",
"values",
",",
"described",
"by",
"the",
"Outs",
"array",
",",
"into",
"the",
"specified",
"DAG",
"."
] | [
"AGC",
"AGC",
"ISD::OutputArg",
"\"vararg not yet supported\"",
"16",
"AGC",
"4",
"1",
"0",
"\"Can only return in upper and lower accumulators!\"",
"1",
"0",
"1",
"\"more than two register outputs\"",
"0",
"AGCISD::RET_FLAG",
"MVT::Other"
] | AGCISelLowering | LowerReturn | AGC | MPU | LLVM | 4,329 | 322 | 1 | [] |
[
"<s>",
"static",
"int",
"mips_issue_rate",
"(",
"void",
")",
"{",
"switch",
"(",
"mips_tune",
")",
"{",
"case",
"PROCESSOR_74KC",
":",
"case",
"PROCESSOR_74KF2_1",
":",
"case",
"PROCESSOR_74KF1_1",
":",
"case",
"PROCESSOR_74KF3_2",
":",
"case",
"PROCESSOR_R10000",... | [
"Return",
"the",
"number",
"of",
"instructions",
"that",
"can",
"be",
"issued",
"per",
"cycle",
"."
] | [
"mips",
"4",
"2",
"3",
"4",
"4",
"3",
"1"
] | mips4 | mips_issue_rate | mips | CPU | GCC | 4,330 | 106 | 1 | [] |
[
"<s>",
"static",
"int",
"mips_binary_cost",
"(",
"rtx",
"x",
",",
"int",
"single_cost",
",",
"int",
"double_cost",
",",
"bool",
"speed",
")",
"{",
"int",
"cost",
";",
"if",
"(",
"GET_MODE_SIZE",
"(",
"GET_MODE",
"(",
"x",
")",
")",
"==",
"UNITS_PER_WORD"... | [
"Return",
"the",
"cost",
"of",
"binary",
"operation",
"X",
",",
"given",
"that",
"the",
"instruction",
"sequence",
"for",
"a",
"word-sized",
"or",
"smaller",
"operation",
"has",
"cost",
"SINGLE_COST",
"and",
"that",
"the",
"sequence",
"of",
"a",
"double-word",... | [
"mips",
"2",
"0",
"1",
"1"
] | mips | mips_binary_cost | mips | CPU | GCC | 4,331 | 90 | 1 | [] |
[
"<s>",
"const",
"TargetRegisterClass",
"*",
"VERegisterInfo",
"::",
"getPointerRegClass",
"(",
"const",
"MachineFunction",
"&",
"MF",
",",
"unsigned",
"Kind",
")",
"const",
"{",
"return",
"&",
"VE",
"::",
"I64RegClass",
";",
"}",
"</s>"
] | [
"getPointerRegClass",
"-",
"Returns",
"a",
"TargetRegisterClass",
"used",
"for",
"pointer",
"values",
"."
] | [
"VE",
"VE",
"VE::I64RegClass"
] | VERegisterInfo | getPointerRegClass | VE | CPU | LLVM | 4,332 | 24 | 1 | [] |
[
"<s>",
"int",
"condexec_memory_operand",
"(",
"rtx",
"op",
",",
"enum",
"machine_mode",
"mode",
")",
"{",
"enum",
"machine_mode",
"op_mode",
"=",
"GET_MODE",
"(",
"op",
")",
";",
"rtx",
"addr",
";",
"if",
"(",
"mode",
"!=",
"VOIDmode",
"&&",
"op_mode",
"... | [
"Return",
"true",
"if",
"the",
"memory",
"operand",
"is",
"one",
"that",
"can",
"be",
"conditionally",
"executed",
"."
] | [
"frv",
"0"
] | frv2 | condexec_memory_operand | frv | VLIW | GCC | 4,333 | 97 | 1 | [] |
[
"<s>",
"static",
"void",
"c6x_print_operand_address",
"(",
"FILE",
"*",
"file",
",",
"rtx",
"addr",
")",
"{",
"c6x_print_address_operand",
"(",
"file",
",",
"addr",
",",
"VOIDmode",
")",
";",
"}",
"</s>"
] | [
"Output",
"assembly",
"language",
"output",
"for",
"the",
"address",
"ADDR",
"to",
"FILE",
"."
] | [
"c6x"
] | c6x2 | c6x_print_operand_address | c6x | VLIW | GCC | 4,334 | 22 | 1 | [] |
[
"<s>",
"HOST_WIDE_INT",
"aarch64_fold_sve_cnt_pat",
"(",
"aarch64_svpattern",
"pattern",
",",
"unsigned",
"int",
"nelts_per_vq",
")",
"{",
"unsigned",
"int",
"vl",
",",
"const_vg",
";",
"if",
"(",
"pattern",
">=",
"AARCH64_SV_VL1",
"&&",
"pattern",
"<=",
"AARCH64_... | [
"Check",
"whether",
"we",
"can",
"calculate",
"the",
"number",
"of",
"elements",
"in",
"PATTERN",
"at",
"compile",
"time",
",",
"given",
"that",
"there",
"are",
"NELTS_PER_VQ",
"elements",
"per",
"128-bit",
"block",
".",
"Return",
"the",
"value",
"if",
"so",... | [
"aarch64",
"1",
"16",
"2",
"1",
"4",
"3",
"3",
"1",
"2",
"0",
"1"
] | aarch64 | aarch64_fold_sve_cnt_pat | aarch64 | CPU | GCC | 4,335 | 179 | 1 | [] |
[
"<s>",
"bool",
"evaluateBranch",
"(",
"const",
"MCInst",
"&",
"Inst",
",",
"uint64_t",
"Addr",
",",
"uint64_t",
"Size",
",",
"uint64_t",
"&",
"Target",
")",
"const",
"override",
"{",
"const",
"MCInstrDesc",
"&",
"Desc",
"=",
"Info",
"->",
"get",
"(",
"In... | [
"Given",
"a",
"branch",
"instruction",
"try",
"to",
"get",
"the",
"address",
"the",
"branch",
"targets",
"."
] | [
"ARM",
"0",
"ARM"
] | ARMMCTargetDesc (2)1 | evaluateBranch | ARM | CPU | LLVM | 4,336 | 119 | 1 | [] |
[
"<s>",
"static",
"void",
"aarch64_emit_prologue_components",
"(",
"sbitmap",
"components",
")",
"{",
"aarch64_process_components",
"(",
"components",
",",
"true",
")",
";",
"}",
"</s>"
] | [
"Implement",
"TARGET_SHRINK_WRAP_EMIT_PROLOGUE_COMPONENTS",
"."
] | [
"aarch64"
] | aarch64 | aarch64_emit_prologue_components | aarch64 | CPU | GCC | 4,337 | 16 | 1 | [] |
[
"<s>",
"void",
"X86DAGToDAGISel",
"::",
"PreprocessISelDAG",
"(",
")",
"{",
"OptForSize",
"=",
"MF",
"->",
"getFunction",
"(",
")",
"->",
"getAttributes",
"(",
")",
".",
"hasAttribute",
"(",
"AttributeSet",
"::",
"FunctionIndex",
",",
"Attribute",
"::",
"Optim... | [
"PreprocessISelDAG",
"-",
"This",
"hook",
"allows",
"targets",
"to",
"hack",
"on",
"the",
"graph",
"before",
"instruction",
"selection",
"starts",
"."
] | [
"X86",
"X86",
"X86ISD::CALL",
"X86ISD::TC_RETURN",
"X86ISD::CALL",
"0",
"1",
"0",
"ISD::FP_ROUND",
"ISD::FP_EXTEND",
"0",
"0",
"X86",
"X86",
"X86",
"X86",
"X86",
"ISD::FP_EXTEND",
"1",
"ISD::FP_ROUND",
"0",
"0",
"ISD::EXTLOAD",
"0",
"0"
] | X86ISelDAGToDAG125 | PreprocessISelDAG | X86 | CPU | LLVM | 4,338 | 488 | 1 | [] |
[
"<s>",
"static",
"int",
"riscv_arg_partial_bytes",
"(",
"cumulative_args_t",
"cum",
",",
"const",
"function_arg_info",
"&",
"generic_arg",
")",
"{",
"struct",
"riscv_arg_info",
"arg",
";",
"riscv_get_arg_info",
"(",
"&",
"arg",
",",
"get_cumulative_args",
"(",
"cum"... | [
"Implement",
"TARGET_ARG_PARTIAL_BYTES",
"."
] | [
"riscv",
"0"
] | riscv | riscv_arg_partial_bytes | riscv | CPU | GCC | 4,339 | 56 | 1 | [] |
[
"<s>",
"void",
"SystemZPostRASchedStrategy",
"::",
"enterMBB",
"(",
"MachineBasicBlock",
"*",
"NextMBB",
")",
"{",
"assert",
"(",
"(",
"SchedStates",
".",
"find",
"(",
"NextMBB",
")",
"==",
"SchedStates",
".",
"end",
"(",
")",
")",
"&&",
"\"Entering MBB twice?... | [
"Tell",
"the",
"strategy",
"that",
"MBB",
"is",
"about",
"to",
"be",
"processed",
"."
] | [
"SystemZ",
"SystemZ",
"\"Entering MBB twice?\"",
"\"** Entering \"",
"SystemZ",
"\" (Loop header)\"",
"\":\\n\"",
"\"** Continued scheduling from \"",
"\"\\n\"",
"\"** Emitting incoming branch: \""
] | SystemZMachineScheduler | enterMBB | SystemZ | CPU | LLVM | 4,340 | 283 | 1 | [] |
[
"<s>",
"void",
"AArch64AsmPrinter",
"::",
"emitJumpTableInfo",
"(",
")",
"{",
"const",
"MachineJumpTableInfo",
"*",
"MJTI",
"=",
"MF",
"->",
"getJumpTableInfo",
"(",
")",
";",
"if",
"(",
"!",
"MJTI",
")",
"return",
";",
"const",
"std",
"::",
"vector",
"<",... | [
"Print",
"assembly",
"representations",
"of",
"the",
"jump",
"tables",
"used",
"by",
"the",
"current",
"function",
"to",
"the",
"current",
"output",
"stream",
"."
] | [
"AArch64",
"AArch64",
"AArch64",
"0",
"AArch64",
"4",
"2"
] | AArch64AsmPrinter1 | emitJumpTableInfo | AArch64 | CPU | LLVM | 4,341 | 320 | 1 | [] |
[
"<s>",
"unsigned",
"int",
"h8300_insn_length_from_table",
"(",
"rtx_insn",
"*",
"insn",
",",
"rtx",
"*",
"operands",
")",
"{",
"switch",
"(",
"get_attr_length_table",
"(",
"insn",
")",
")",
"{",
"case",
"LENGTH_TABLE_NONE",
":",
"gcc_unreachable",
"(",
")",
";... | [
"Compute",
"the",
"length",
"of",
"INSN",
"based",
"on",
"its",
"length_table",
"attribute",
".",
"OPERANDS",
"is",
"the",
"array",
"of",
"its",
"operands",
"."
] | [
"h8300",
"0",
"0",
"0",
"0",
"1",
"2",
"0",
"1",
"0",
"2",
"0",
"0",
"0",
"0",
"0",
"1",
"1",
"2",
"2"
] | h8300 | h8300_insn_length_from_table | h8300 | MPU | GCC | 4,342 | 275 | 1 | [] |
[
"<s>",
"unsigned",
"AArch64InstrInfo",
"::",
"getLoadStoreImmIdx",
"(",
"unsigned",
"Opc",
")",
"{",
"switch",
"(",
"Opc",
")",
"{",
"default",
":",
"return",
"2",
";",
"case",
"AArch64",
"::",
"LDPXi",
":",
"case",
"AArch64",
"::",
"LDPDi",
":",
"case",
... | [
"Returns",
"the",
"index",
"for",
"the",
"immediate",
"for",
"a",
"given",
"instruction",
"."
] | [
"AArch64",
"AArch64",
"2",
"AArch64::LDPXi",
"AArch64::LDPDi",
"AArch64::STPXi",
"AArch64::STPDi",
"AArch64::LDNPXi",
"AArch64::LDNPDi",
"AArch64::STNPXi",
"AArch64::STNPDi",
"AArch64::LDPQi",
"AArch64::STPQi",
"AArch64::LDNPQi",
"AArch64::STNPQi",
"AArch64::LDPWi",
"AArch64::LDPSi",... | AArch64InstrInfo106 | getLoadStoreImmIdx | AArch64 | CPU | LLVM | 4,343 | 124 | 1 | [] |
[
"<s>",
"void",
"HexagonFrameLowering",
"::",
"processFunctionBeforeFrameFinalized",
"(",
"MachineFunction",
"&",
"MF",
",",
"RegScavenger",
"*",
"RS",
")",
"const",
"{",
"MachineFrameInfo",
"*",
"MFI",
"=",
"MF",
".",
"getFrameInfo",
"(",
")",
";",
"bool",
"HasA... | [
"processFunctionBeforeFrameFinalized",
"-",
"This",
"method",
"is",
"called",
"immediately",
"before",
"the",
"specified",
"function",
"'s",
"frame",
"layout",
"(",
"MF.getFrameInfo",
"(",
")",
")",
"is",
"finalized",
"."
] | [
"Hexagon",
"Hexagon",
"0",
"8",
"\"Unexpected local frame alignment\"",
"0",
"8"
] | HexagonFrameLowering (2)3 | processFunctionBeforeFrameFinalized | Hexagon | DSP | LLVM | 4,344 | 190 | 1 | [] |
[
"<s>",
"static",
"parse_codes",
"parse_ovld",
"(",
"void",
")",
"{",
"parse_codes",
"result",
"=",
"PC_OK",
";",
"diag",
"=",
"&",
"ovld_diag",
";",
"if",
"(",
"!",
"advance_line",
"(",
"ovld_file",
")",
")",
"return",
"PC_OK",
";",
"while",
"(",
"result... | [
"Parse",
"the",
"overload",
"file",
"."
] | [
"rs6000"
] | rs6000-gen-builtins | parse_ovld | rs6000 | CPU | GCC | 4,345 | 53 | 1 | [] |
[
"<s>",
"void",
"nvptx_output_ascii",
"(",
"FILE",
"*",
",",
"const",
"char",
"*",
"str",
",",
"unsigned",
"HOST_WIDE_INT",
"size",
")",
"{",
"for",
"(",
"unsigned",
"HOST_WIDE_INT",
"i",
"=",
"0",
";",
"i",
"<",
"size",
";",
"i",
"++",
")",
"nvptx_asse... | [
"Output",
"a",
"string",
"STR",
"with",
"length",
"SIZE",
".",
"As",
"in",
"nvptx_output_skip",
"we",
"ignore",
"the",
"FILE",
"arg",
"."
] | [
"nvptx",
"0",
"1"
] | nvptx | nvptx_output_ascii | nvptx | GPU | GCC | 4,346 | 42 | 1 | [] |
[
"<s>",
"void",
"SparcInstrInfo",
"::",
"storeRegToStackSlot",
"(",
"MachineBasicBlock",
"&",
"MBB",
",",
"MachineBasicBlock",
"::",
"iterator",
"I",
",",
"unsigned",
"SrcReg",
",",
"bool",
"isKill",
",",
"int",
"FI",
",",
"const",
"TargetRegisterClass",
"*",
"RC... | [
"Store",
"the",
"specified",
"register",
"of",
"the",
"given",
"register",
"class",
"to",
"the",
"specified",
"stack",
"frame",
"index",
"."
] | [
"Sparc",
"Sparc",
"SP::I64RegsRegClass",
"SP::STXri",
"0",
"SP::IntRegsRegClass",
"SP::STri",
"0",
"SP::FPRegsRegClass",
"SP::STFri",
"0",
"SP::DFPRegsRegClass",
"SP::STDFri",
"0",
"SP::QFPRegsRegClass",
"SP::STQFri",
"0",
"\"Can't store this register to stack slot\""
] | SparcInstrInfo | storeRegToStackSlot | Sparc | CPU | LLVM | 4,347 | 377 | 1 | [] |
[
"<s>",
"unsigned",
"PPCTTIImpl",
"::",
"getNumberOfRegisters",
"(",
"bool",
"Vector",
")",
"{",
"if",
"(",
"Vector",
"&&",
"!",
"ST",
"->",
"hasAltivec",
"(",
")",
")",
"return",
"0",
";",
"return",
"ST",
"->",
"hasVSX",
"(",
")",
"?",
"64",
":",
"32... | [
"�",
"?",
"Vector",
"TTI",
"begin",
"�",
"?"
] | [
"PowerPC",
"PPC",
"0",
"64",
"32"
] | PPCTargetTransformInfo19 | getNumberOfRegisters | PowerPC | CPU | LLVM | 4,348 | 35 | 1 | [] |
[
"<s>",
"static",
"unsigned",
"int",
"rs6000_function_arg_boundary",
"(",
"machine_mode",
"mode",
",",
"const_tree",
"type",
")",
"{",
"machine_mode",
"elt_mode",
";",
"int",
"n_elts",
";",
"rs6000_discover_homogeneous_aggregate",
"(",
"mode",
",",
"type",
",",
"&",
... | [
"If",
"defined",
",",
"a",
"C",
"expression",
"that",
"gives",
"the",
"alignment",
"boundary",
",",
"in",
"bits",
",",
"of",
"an",
"argument",
"with",
"the",
"specified",
"mode",
"and",
"type",
".",
"If",
"it",
"is",
"not",
"defined",
",",
"PARM_BOUNDARY... | [
"powerpcspe",
"8",
"64",
"128",
"8",
"16",
"64",
"16",
"128",
"64",
"\"the ABI of passing aggregates with %d-byte alignment\"",
"\" has changed in GCC 5\"",
"128",
"64",
"128"
] | powerpcspe | rs6000_function_arg_boundary | powerpcspe | CPU | GCC | 4,349 | 266 | 1 | [] |
[
"<s>",
"const",
"MCExpr",
"*",
"X86TargetLowering",
"::",
"getPICJumpTableRelocBaseExpr",
"(",
"const",
"MachineFunction",
"*",
"MF",
",",
"unsigned",
"JTI",
",",
"MCContext",
"&",
"Ctx",
")",
"const",
"{",
"if",
"(",
"Subtarget",
".",
"isPICStyleRIPRel",
"(",
... | [
"This",
"returns",
"the",
"relocation",
"base",
"for",
"the",
"given",
"PIC",
"jumptable",
",",
"the",
"same",
"as",
"getPICJumpTableRelocBase",
",",
"but",
"as",
"an",
"MCExpr",
"."
] | [
"X86",
"X86"
] | X86ISelLowering107 | getPICJumpTableRelocBaseExpr | X86 | CPU | LLVM | 4,350 | 62 | 1 | [] |
[
"<s>",
"void",
"BPFTargetMachine",
"::",
"registerPassBuilderCallbacks",
"(",
"PassBuilder",
"&",
"PB",
",",
"bool",
"DebugPassManager",
")",
"{",
"PB",
".",
"registerPipelineStartEPCallback",
"(",
"[",
"=",
"]",
"(",
"ModulePassManager",
"&",
"MPM",
",",
"PassBui... | [
"Invoke",
"the",
"PassBuilder",
"callback",
"registration",
"."
] | [
"BPF",
"BPF",
"BPF",
"BPF",
"BPF"
] | BPFTargetMachine13 | registerPassBuilderCallbacks | BPF | Virtual ISA | LLVM | 4,351 | 141 | 1 | [] |
[
"<s>",
"void",
"MipsAsmPrinter",
"::",
"EmitInstruction",
"(",
"const",
"MachineInstr",
"*",
"MI",
")",
"{",
"MipsTargetStreamer",
"&",
"TS",
"=",
"getTargetStreamer",
"(",
")",
";",
"TS",
".",
"forbidModuleDirective",
"(",
")",
";",
"if",
"(",
"MI",
"->",
... | [
"EmitInstruction",
"-",
"This",
"callback",
"is",
"invoked",
"when",
"an",
"instruction",
"is",
"emitted",
",",
"to",
"advance",
"the",
"hazard",
"state",
"."
] | [
"Mips",
"Mips",
"Mips",
"128",
"Mips::CONSTPOOL_ENTRY",
"Mips::CONSTPOOL_ENTRY",
"0",
"1",
"Mips::PseudoReturn",
"Mips::PseudoReturn64",
"Mips::PseudoIndirectBranch",
"Mips::PseudoIndirectBranch64",
"Mips",
"\"Pseudo opcode found in EmitInstruction()\""
] | MipsAsmPrinter73 | EmitInstruction | Mips | CPU | LLVM | 4,352 | 370 | 1 | [] |
[
"<s>",
"int",
"v850_output_addr_const_extra",
"(",
"FILE",
"*",
"file",
",",
"rtx",
"x",
")",
"{",
"if",
"(",
"GET_CODE",
"(",
"x",
")",
"!=",
"TRUNCATE",
")",
"return",
"0",
";",
"x",
"=",
"XEXP",
"(",
"x",
",",
"0",
")",
";",
"if",
"(",
"GET_CO... | [
"When",
"assemble_integer",
"is",
"used",
"to",
"emit",
"the",
"offsets",
"for",
"a",
"switch",
"table",
"it",
"can",
"encounter",
"(",
"TRUNCATE",
":",
"HI",
"(",
"MINUS",
":",
"SI",
"(",
"LABEL_REF",
":",
"SI",
")",
"(",
"LABEL_REF",
":",
"SI",
")",
... | [
"v850",
"0",
"0",
"0",
"0",
"0",
"0",
"0",
"1",
"1"
] | v8503 | v850_output_addr_const_extra | v850 | MPU | GCC | 4,353 | 99 | 1 | [] |
[
"<s>",
"void",
"WebAssemblyTargetAsmStreamer",
"::",
"emitImportModule",
"(",
"const",
"MCSymbolWasm",
"*",
"Sym",
",",
"StringRef",
"ImportModule",
")",
"{",
"OS",
"<<",
"\"\\t.import_module\\t\"",
"<<",
"Sym",
"->",
"getName",
"(",
")",
"<<",
"\", \"",
"<<",
"... | [
".import_module"
] | [
"WebAssembly",
"WebAssembly",
"\"\\t.import_module\\t\"",
"\", \""
] | WebAssemblyTargetStreamer12 | emitImportModule | WebAssembly | Virtual ISA | LLVM | 4,354 | 31 | 1 | [] |
[
"<s>",
"bool",
"mayNeedRelaxation",
"(",
"const",
"MCInst",
"&",
"Inst",
",",
"const",
"MCSubtargetInfo",
"&",
"STI",
")",
"const",
"override",
"{",
"return",
"false",
";",
"}",
"</s>"
] | [
"Check",
"whether",
"the",
"given",
"instruction",
"may",
"need",
"relaxation",
"."
] | [
"ECLair"
] | ECLairAsmBackend | mayNeedRelaxation | ECLair | MPU | LLVM | 4,355 | 20 | 1 | [] |
[
"<s>",
"static",
"bool",
"ix86_lea_outperforms",
"(",
"rtx_insn",
"*",
"insn",
",",
"unsigned",
"int",
"regno0",
",",
"unsigned",
"int",
"regno1",
",",
"unsigned",
"int",
"regno2",
",",
"int",
"split_cost",
",",
"bool",
"has_scale",
")",
"{",
"int",
"dist_de... | [
"Return",
"true",
"if",
"usage",
"of",
"lea",
"INSN",
"has",
"performance",
"advantage",
"over",
"a",
"sequence",
"of",
"instructions",
".",
"Instructions",
"sequence",
"has",
"SPLIT_COST",
"cycles",
"higher",
"latency",
"than",
"lea",
"latency",
"."
] | [
"i386",
"1",
"0",
"0",
"0",
"0"
] | i3864 | ix86_lea_outperforms | i386 | CPU | GCC | 4,356 | 146 | 1 | [] |
[
"<s>",
"unsigned",
"bfin_local_alignment",
"(",
"tree",
"type",
",",
"unsigned",
"align",
")",
"{",
"if",
"(",
"TYPE_SIZE",
"(",
"type",
")",
"&&",
"TREE_CODE",
"(",
"TYPE_SIZE",
"(",
"type",
")",
")",
"==",
"INTEGER_CST",
"&&",
"wi",
"::",
"gtu_p",
"(",... | [
"Compute",
"the",
"alignment",
"for",
"a",
"local",
"variable",
".",
"TYPE",
"is",
"the",
"data",
"type",
",",
"and",
"ALIGN",
"is",
"the",
"alignment",
"that",
"the",
"object",
"would",
"ordinarily",
"have",
".",
"The",
"value",
"of",
"this",
"macro",
"... | [
"bfin",
"8",
"32",
"32"
] | bfin3 | bfin_local_alignment | bfin | DSP | GCC | 4,357 | 50 | 1 | [] |
[
"<s>",
"const",
"TargetSubtargetInfo",
"*",
"GCNTargetMachine",
"::",
"getSubtargetImpl",
"(",
"const",
"Function",
"&",
"F",
")",
"const",
"{",
"StringRef",
"GPU",
"=",
"getGPUName",
"(",
"F",
")",
";",
"StringRef",
"FS",
"=",
"getFeatureString",
"(",
"F",
... | [
"Virtual",
"method",
"implemented",
"by",
"subclasses",
"that",
"returns",
"a",
"reference",
"to",
"that",
"target",
"'s",
"TargetSubtargetInfo-derived",
"member",
"variable",
"."
] | [
"AMDGPU",
"128"
] | AMDGPUTargetMachine (2)1 | getSubtargetImpl | AMDGPU | GPU | LLVM | 4,358 | 101 | 1 | [] |
[
"<s>",
"Value",
"*",
"AArch64TargetLowering",
"::",
"emitStoreConditional",
"(",
"IRBuilderBase",
"&",
"Builder",
",",
"Value",
"*",
"Val",
",",
"Value",
"*",
"Addr",
",",
"AtomicOrdering",
"Ord",
")",
"const",
"{",
"Module",
"*",
"M",
"=",
"Builder",
".",
... | [
"Perform",
"a",
"store-conditional",
"operation",
"to",
"Addr",
"."
] | [
"AArch64",
"AArch64",
"128",
"Intrinsic::ID",
"Intrinsic::aarch64_stlxp",
"Intrinsic::aarch64_stxp",
"Intrinsic::getDeclaration",
"\"lo\"",
"64",
"\"hi\"",
"Intrinsic::ID",
"Intrinsic::aarch64_stlxr",
"Intrinsic::aarch64_stxr",
"Intrinsic::getDeclaration",
"0"
] | AArch64ISelLowering (2)2 | emitStoreConditional | AArch64 | CPU | LLVM | 4,359 | 298 | 1 | [] |
[
"<s>",
"void",
"func_fma_steering",
"::",
"execute_fma_steering",
"(",
")",
"{",
"df_set_flags",
"(",
"DF_LR_RUN_DCE",
")",
";",
"df_note_add_problem",
"(",
")",
";",
"df_analyze",
"(",
")",
";",
"df_set_flags",
"(",
"DF_DEFER_INSN_RESCAN",
")",
";",
"regrename_in... | [
"Execute",
"FMA",
"steering",
"pass",
"."
] | [
"aarch64"
] | cortex-a57-fma-steering | execute_fma_steering | aarch64 | CPU | GCC | 4,360 | 52 | 1 | [] |
[
"<s>",
"const",
"char",
"*",
"PIC16TargetLowering",
"::",
"getTargetNodeName",
"(",
"unsigned",
"Opcode",
")",
"const",
"{",
"switch",
"(",
"Opcode",
")",
"{",
"default",
":",
"return",
"NULL",
";",
"case",
"PIC16ISD",
"::",
"Lo",
":",
"return",
"\"PIC16ISD:... | [
"getTargetNodeName",
"-",
"This",
"method",
"returns",
"the",
"name",
"of",
"a",
"target",
"specific"
] | [
"PIC16",
"PIC16",
"PIC16ISD::Lo",
"\"PIC16ISD::Lo\"",
"PIC16ISD::Hi",
"\"PIC16ISD::Hi\"",
"PIC16ISD::MTLO",
"\"PIC16ISD::MTLO\"",
"PIC16ISD::MTHI",
"\"PIC16ISD::MTHI\"",
"PIC16ISD::MTPCLATH",
"\"PIC16ISD::MTPCLATH\"",
"PIC16ISD::PIC16Connect",
"\"PIC16ISD::PIC16Connect\"",
"PIC16ISD::Ban... | PIC16ISelLowering2 | getTargetNodeName | PIC16 | MPU | LLVM | 4,361 | 208 | 1 | [] |
[
"<s>",
"rtx",
"sh_extending_set_of_reg",
"::",
"use_as_extended_reg",
"(",
"rtx_insn",
"*",
"use_at_insn",
")",
"const",
"{",
"gcc_assert",
"(",
"insn",
"!=",
"NULL",
"&&",
"set_src",
"!=",
"NULL",
"&&",
"set_rtx",
"!=",
"NULL",
")",
";",
"gcc_assert",
"(",
... | [
"Given",
"a",
"reg",
"that",
"is",
"known",
"to",
"be",
"sign",
"or",
"zero",
"extended",
"at",
"some",
"insn",
",",
"take",
"the",
"appropriate",
"measures",
"so",
"that",
"the",
"extended",
"value",
"can",
"be",
"used",
"as",
"a",
"reg",
"at",
"the",... | [
"sh",
"\"use_as_extended_reg: converting non-extending mem load in \"",
"\"insn %d into sign-extending load\\n\"",
"0",
"0",
"0",
"\"use_as_extended_reg: dest reg %d of extending insn %d is \"",
"\"modified, inserting a reg-reg copy\\n\""
] | sh | use_as_extended_reg | sh | CPU | GCC | 4,362 | 288 | 1 | [] |
[
"<s>",
"static",
"bool",
"arm_default_short_enums",
"(",
"void",
")",
"{",
"return",
"TARGET_AAPCS_BASED",
"&&",
"arm_abi",
"!=",
"ARM_ABI_AAPCS_LINUX",
";",
"}",
"</s>"
] | [
"AAPCS",
"based",
"ABIs",
"use",
"short",
"enums",
"by",
"default",
"."
] | [
"arm"
] | arm3 | arm_default_short_enums | arm | CPU | GCC | 4,363 | 15 | 1 | [] |
[
"<s>",
"static",
"bool",
"arm_block_set_unaligned_vect",
"(",
"rtx",
"dstbase",
",",
"unsigned",
"HOST_WIDE_INT",
"length",
",",
"unsigned",
"HOST_WIDE_INT",
"value",
",",
"unsigned",
"HOST_WIDE_INT",
"align",
")",
"{",
"unsigned",
"int",
"i",
",",
"nelt_v16",
","... | [
"Set",
"a",
"block",
"of",
"memory",
"using",
"vectorization",
"instructions",
"for",
"the",
"unaligned",
"case",
".",
"We",
"fill",
"the",
"first",
"LENGTH",
"bytes",
"of",
"the",
"memory",
"area",
"starting",
"from",
"DSTBASE",
"with",
"byte",
"constant",
... | [
"arm",
"0",
"0x3",
"0",
"0",
"0",
"2",
"1",
"0",
"2",
"1",
"0",
"2"
] | arm | arm_block_set_unaligned_vect | arm | CPU | GCC | 4,364 | 487 | 1 | [] |
[
"<s>",
"bool",
"XNCMTargetLowering",
"::",
"getPostIndexedAddressParts",
"(",
"SDNode",
"*",
"N",
",",
"SDNode",
"*",
"Op",
",",
"SDValue",
"&",
"Base",
",",
"SDValue",
"&",
"Offset",
",",
"ISD",
"::",
"MemIndexedMode",
"&",
"AM",
",",
"SelectionDAG",
"&",
... | [
"Returns",
"true",
"by",
"value",
",",
"base",
"pointer",
"and",
"offset",
"pointer",
"and",
"addressing",
"mode",
"by",
"reference",
"if",
"this",
"node",
"can",
"be",
"combined",
"with",
"a",
"load",
"/",
"store",
"to",
"form",
"a",
"post-indexed",
"load... | [
"XNCM",
"XNCM",
"ISD::MemIndexedMode",
"ISD::NON_EXTLOAD",
"MVT::i8",
"MVT::i16",
"ISD::ADD",
"1",
"MVT::i16",
"2",
"MVT::i8",
"1",
"0",
"ISD::POST_INC"
] | XNCMISelLowering | getPostIndexedAddressParts | XNCM | CPU | LLVM | 4,365 | 193 | 1 | [] |
[
"<s>",
"void",
"MipsELFStreamer",
"::",
"EmitInstruction",
"(",
"const",
"MCInst",
"&",
"Inst",
",",
"const",
"MCSubtargetInfo",
"&",
"STI",
")",
"{",
"MCELFStreamer",
"::",
"EmitInstruction",
"(",
"Inst",
",",
"STI",
")",
";",
"MCContext",
"&",
"Context",
"... | [
"EmitInstruction",
"-",
"This",
"callback",
"is",
"invoked",
"when",
"an",
"instruction",
"is",
"emitted",
",",
"to",
"advance",
"the",
"hazard",
"state",
"."
] | [
"Mips",
"Mips",
"0"
] | MipsELFStreamer12 | EmitInstruction | Mips | CPU | LLVM | 4,366 | 106 | 1 | [] |
[
"<s>",
"bool",
"pcrel_opt_valid_mem_p",
"(",
"rtx",
"reg",
",",
"machine_mode",
"mode",
",",
"rtx",
"mem",
")",
"{",
"enum",
"non_prefixed_form",
"non_prefixed",
"=",
"reg_to_non_prefixed",
"(",
"reg",
",",
"mode",
")",
";",
"if",
"(",
"non_prefixed",
"==",
... | [
"Return",
"true",
"if",
"an",
"REG",
"with",
"a",
"given",
"MODE",
"is",
"loaded",
"from",
"or",
"stored",
"into",
"a",
"MEM",
"location",
"uses",
"a",
"non-prefixed",
"D/DS/DQ-form",
"address",
".",
"This",
"is",
"used",
"to",
"validate",
"the",
"load",
... | [
"rs6000",
"0"
] | rs6000 | pcrel_opt_valid_mem_p | rs6000 | CPU | GCC | 4,367 | 76 | 1 | [] |
[
"<s>",
"static",
"void",
"seh_frame_related_expr",
"(",
"FILE",
"*",
"f",
",",
"struct",
"seh_frame_state",
"*",
"seh",
",",
"rtx",
"pat",
")",
"{",
"rtx",
"dest",
",",
"src",
";",
"HOST_WIDE_INT",
"addend",
";",
"if",
"(",
"GET_CODE",
"(",
"pat",
")",
... | [
"Process",
"a",
"FRAME_RELATED_EXPR",
"for",
"SEH",
"."
] | [
"i386",
"0",
"2",
"1",
"0",
"0",
"0",
"0",
"1",
"1",
"0",
"0"
] | winnt | seh_frame_related_expr | i386 | CPU | GCC | 4,368 | 382 | 1 | [] |
[
"<s>",
"static",
"bool",
"aarch64_compatible_vector_types_p",
"(",
"const_tree",
"type1",
",",
"const_tree",
"type2",
")",
"{",
"return",
"(",
"aarch64_sve",
"::",
"builtin_type_p",
"(",
"type1",
")",
"==",
"aarch64_sve",
"::",
"builtin_type_p",
"(",
"type2",
")",... | [
"Implement",
"TARGET_COMPATIBLE_VECTOR_TYPES_P",
"."
] | [
"aarch64",
"aarch64_sve::builtin_type_p",
"aarch64_sve::builtin_type_p"
] | aarch64 | aarch64_compatible_vector_types_p | aarch64 | CPU | GCC | 4,369 | 29 | 1 | [] |
[
"<s>",
"static",
"int",
"xtensa_insn_cost",
"(",
"rtx_insn",
"*",
"insn",
",",
"bool",
"speed",
")",
"{",
"if",
"(",
"!",
"(",
"recog_memoized",
"(",
"insn",
")",
"<",
"0",
")",
")",
"{",
"int",
"len",
"=",
"get_attr_length",
"(",
"insn",
")",
";",
... | [
"Compute",
"a",
"relative",
"costs",
"of",
"RTL",
"insns",
".",
"This",
"is",
"necessary",
"in",
"order",
"to",
"achieve",
"better",
"RTL",
"insn",
"splitting/combination",
"result",
"."
] | [
"xtensa",
"0",
"0",
"0",
"2",
"3",
"1",
"1",
"2",
"1",
"3",
"2",
"4",
"16",
"3",
"4",
"1",
"3"
] | xtensa1 | xtensa_insn_cost | xtensa | MPU | GCC | 4,370 | 240 | 1 | [] |
[
"<s>",
"static",
"void",
"mips_output_function_epilogue",
"(",
"FILE",
"*",
")",
"{",
"const",
"char",
"*",
"fnname",
";",
"SET_REGNO",
"(",
"pic_offset_table_rtx",
",",
"GLOBAL_POINTER_REGNUM",
")",
";",
"mips_output_cplocal",
"(",
")",
";",
"if",
"(",
"cfun",
... | [
"Implement",
"TARGET_OUTPUT_FUNCTION_EPILOGUE",
"."
] | [
"mips",
"0",
"0"
] | mips | mips_output_function_epilogue | mips | CPU | GCC | 4,371 | 69 | 1 | [] |
[
"<s>",
"bool",
"M680x0FrameLowering",
"::",
"canSimplifyCallFramePseudos",
"(",
"const",
"MachineFunction",
"&",
"MF",
")",
"const",
"{",
"return",
"hasReservedCallFrame",
"(",
"MF",
")",
"||",
"(",
"hasFP",
"(",
"MF",
")",
"&&",
"!",
"TRI",
"->",
"needsStackR... | [
"canSimplifyCallFramePseudos",
"-",
"If",
"there",
"is",
"a",
"reserved",
"call",
"frame",
",",
"the",
"call",
"frame",
"pseudos",
"can",
"be",
"simplified",
"."
] | [
"M680x0",
"M680x0"
] | M680x0FrameLowering | canSimplifyCallFramePseudos | M680x0 | MPU | LLVM | 4,372 | 41 | 1 | [] |
[
"<s>",
"static",
"reg_class_t",
"pdp11_preferred_output_reload_class",
"(",
"rtx",
"x",
",",
"reg_class_t",
"rclass",
")",
"{",
"if",
"(",
"rclass",
"==",
"FPU_REGS",
")",
"return",
"LOAD_FPU_REGS",
";",
"if",
"(",
"rclass",
"==",
"ALL_REGS",
")",
"{",
"if",
... | [
"TARGET_PREFERRED_OUTPUT_RELOAD_CLASS",
"Given",
"an",
"rtx",
"X",
"being",
"reloaded",
"into",
"a",
"reg",
"required",
"to",
"be",
"in",
"class",
"CLASS",
",",
"return",
"the",
"class",
"of",
"reg",
"to",
"actually",
"use",
".",
"In",
"general",
"this",
"is... | [
"pdp11"
] | pdp11 | pdp11_preferred_output_reload_class | pdp11 | MPU | GCC | 4,373 | 49 | 1 | [] |
[
"<s>",
"void",
"pop",
"(",
"int",
"rn",
",",
"enum",
"machine_mode",
"mode",
")",
"{",
"emit_insn",
"(",
"gen_pop",
"(",
"gen_rtx_REG",
"(",
"mode",
",",
"rn",
")",
",",
"mode",
")",
")",
";",
"}",
"</s>"
] | [
"Output",
"RTL",
"to",
"pop",
"register",
"RN",
"from",
"the",
"stack",
"."
] | [
"z8k"
] | z8k | pop | z8k | MPU | GCC | 4,374 | 27 | 1 | [] |
[
"<s>",
"const",
"MCFixupKindInfo",
"&",
"getFixupKindInfo",
"(",
"MCFixupKind",
"Kind",
")",
"const",
"override",
"{",
"const",
"static",
"MCFixupKindInfo",
"InfosBE",
"[",
"PPC",
"::",
"NumTargetFixupKinds",
"]",
"=",
"{",
"{",
"\"fixup_ppc_br24\"",
",",
"6",
"... | [
"Get",
"information",
"on",
"a",
"fixup",
"kind",
"."
] | [
"PowerPC",
"PPC::NumTargetFixupKinds",
"\"fixup_ppc_br24\"",
"6",
"24",
"\"fixup_ppc_brcond14\"",
"16",
"14",
"\"fixup_ppc_br24abs\"",
"6",
"24",
"0",
"\"fixup_ppc_brcond14abs\"",
"16",
"14",
"0",
"\"fixup_ppc_half16\"",
"0",
"16",
"0",
"\"fixup_ppc_half16ds\"",
"0",
"14"... | PPCAsmBackend (2)1 | getFixupKindInfo | PowerPC | CPU | LLVM | 4,375 | 232 | 1 | [] |
[
"<s>",
"MCSymbol",
"*",
"DLXMCInstLower",
"::",
"GetExternalSymbolSymbol",
"(",
"const",
"MachineOperand",
"&",
"MO",
")",
"const",
"{",
"return",
"Printer",
".",
"GetExternalSymbolSymbol",
"(",
"MO",
".",
"getSymbolName",
"(",
")",
")",
";",
"}",
"</s>"
] | [
"Return",
"the",
"MCSymbol",
"for",
"the",
"specified",
"ExternalSymbol",
"."
] | [
"DLX",
"DLX"
] | DLXMCInstLower | GetExternalSymbolSymbol | DLX | CPU | LLVM | 4,376 | 26 | 1 | [] |
[
"<s>",
"bool",
"AMDGPUAsmParser",
"::",
"ParseInstruction",
"(",
"ParseInstructionInfo",
"&",
"Info",
",",
"StringRef",
"Name",
",",
"SMLoc",
"NameLoc",
",",
"OperandVector",
"&",
"Operands",
")",
"{",
"Name",
"=",
"parseMnemonicSuffix",
"(",
"Name",
")",
";",
... | [
"ParseInstruction",
"-",
"Parse",
"one",
"assembly",
"instruction",
"."
] | [
"AMDGPU",
"AMDGPU",
"AMDGPU",
"\"image_\"",
"2",
"\"failed parsing operand.\"",
"\"not a valid operand.\""
] | AMDGPUAsmParser45 | ParseInstruction | AMDGPU | GPU | LLVM | 4,377 | 199 | 1 | [] |
[
"<s>",
"void",
"SparcELFTargetObjectFile",
"::",
"Initialize",
"(",
"MCContext",
"&",
"Ctx",
",",
"const",
"TargetMachine",
"&",
"TM",
")",
"{",
"TargetLoweringObjectFileELF",
"::",
"Initialize",
"(",
"Ctx",
",",
"TM",
")",
";",
"InitializeELF",
"(",
"TM",
"."... | [
"This",
"method",
"must",
"be",
"called",
"before",
"any",
"actual",
"lowering",
"is",
"done",
"."
] | [
"Sparc",
"Sparc"
] | SparcTargetObjectFile1 | Initialize | Sparc | CPU | LLVM | 4,378 | 34 | 1 | [] |
[
"<s>",
"const",
"MCPhysReg",
"*",
"Z80RegisterInfo",
"::",
"getCalleeSavedRegs",
"(",
"const",
"MachineFunction",
"*",
"MF",
")",
"const",
"{",
"switch",
"(",
"MF",
"->",
"getFunction",
"(",
")",
"->",
"getCallingConv",
"(",
")",
")",
"{",
"default",
":",
... | [
"Code",
"Generation",
"virtual",
"methods",
"..."
] | [
"Z80",
"Z80",
"\"Unsupported calling convention\"",
"Z80",
"Z80",
"Z80",
"Z80",
"Z80",
"Z80",
"Z80",
"Z80",
"Z80"
] | Z80RegisterInfo2 | getCalleeSavedRegs | Z80 | MPU | LLVM | 4,379 | 90 | 1 | [] |
[
"<s>",
"virtual",
"SDValue",
"LowerCall",
"(",
"CallLoweringInfo",
"&",
"CLI",
",",
"SmallVectorImpl",
"<",
"SDValue",
">",
"&",
"InVals",
")",
"const",
"{",
"CLI",
".",
"Callee",
".",
"dump",
"(",
")",
";",
"llvm_unreachable",
"(",
"\"Undefined function\"",
... | [
"This",
"hook",
"must",
"be",
"implemented",
"to",
"lower",
"calls",
"into",
"the",
"specified",
"DAG",
"."
] | [
"R600",
"\"Undefined function\""
] | AMDGPUISelLowering15 | LowerCall | R600 | GPU | LLVM | 4,380 | 31 | 1 | [] |
[
"<s>",
"bool",
"ARMFastISel",
"::",
"fastLowerArguments",
"(",
")",
"{",
"if",
"(",
"!",
"FuncInfo",
".",
"CanLowerReturn",
")",
"return",
"false",
";",
"const",
"Function",
"*",
"F",
"=",
"FuncInfo",
".",
"Fn",
";",
"if",
"(",
"F",
"->",
"isVarArg",
"... | [
"This",
"method",
"is",
"called",
"by",
"target-independent",
"code",
"to",
"do",
"target-",
"specific",
"argument",
"lowering",
"."
] | [
"ARM",
"ARM",
"ARM",
"ARM",
"ARM",
"4",
"MVT::i8",
"MVT::i16",
"MVT::i32",
"ARM::R0",
"ARM::R1",
"ARM::R2",
"ARM::R3",
"ARM::rGPRRegClass"
] | ARMFastISel (2)3 | fastLowerArguments | ARM | CPU | LLVM | 4,381 | 396 | 1 | [] |
[
"<s>",
"bool",
"sh_small_register_classes_for_mode_p",
"(",
"machine_mode",
"mode",
"ATTRIBUTE_UNUSED",
")",
"{",
"return",
"(",
"!",
"TARGET_SHMEDIA",
")",
";",
"}",
"</s>"
] | [
"Return",
"true",
"if",
"registers",
"in",
"machine",
"mode",
"MODE",
"will",
"likely",
"be",
"allocated",
"to",
"registers",
"in",
"small",
"register",
"classes",
"."
] | [
"sh"
] | sh4 | sh_small_register_classes_for_mode_p | sh | CPU | GCC | 4,382 | 15 | 1 | [] |
[
"<s>",
"bool",
"XCoreFrameLowering",
"::",
"spillCalleeSavedRegisters",
"(",
"MachineBasicBlock",
"&",
"MBB",
",",
"MachineBasicBlock",
"::",
"iterator",
"MI",
",",
"const",
"std",
"::",
"vector",
"<",
"CalleeSavedInfo",
">",
"&",
"CSI",
",",
"const",
"TargetRegis... | [
"spillCalleeSavedRegisters",
"-",
"Issues",
"instruction",
"(",
"s",
")",
"to",
"spill",
"all",
"callee",
"saved",
"registers",
"and",
"returns",
"true",
"if",
"it",
"is",
"n't",
"possible",
"/",
"profitable",
"to",
"do",
"so",
"by",
"issuing",
"a",
"series"... | [
"XCore",
"XCore",
"XCore",
"XCore",
"XCore",
"XCore::LR",
"XCore::R10",
"\"LR & FP are always handled in emitPrologue\""
] | XCoreFrameLowering26 | spillCalleeSavedRegisters | XCore | MPU | LLVM | 4,383 | 265 | 1 | [] |
[
"<s>",
"static",
"void",
"nvptx_goacc_reduction",
"(",
"gcall",
"*",
"call",
")",
"{",
"unsigned",
"code",
"=",
"(",
"unsigned",
")",
"TREE_INT_CST_LOW",
"(",
"gimple_call_arg",
"(",
"call",
",",
"0",
")",
")",
";",
"offload_attrs",
"oa",
";",
"populate_offl... | [
"NVPTX",
"reduction",
"expander",
"."
] | [
"nvptx",
"0"
] | nvptx | nvptx_goacc_reduction | nvptx | GPU | GCC | 4,384 | 99 | 1 | [] |
[
"<s>",
"void",
"rs6000_live_on_entry",
"(",
"bitmap",
"regs",
")",
"{",
"if",
"(",
"flag_split_stack",
")",
"bitmap_set_bit",
"(",
"regs",
",",
"12",
")",
";",
"}",
"</s>"
] | [
"We",
"may",
"have",
"to",
"tell",
"the",
"dataflow",
"pass",
"that",
"the",
"split",
"stack",
"prologue",
"is",
"initializing",
"a",
"register",
"."
] | [
"rs6000",
"12"
] | rs6000-logue | rs6000_live_on_entry | rs6000 | CPU | GCC | 4,385 | 19 | 1 | [] |
[
"<s>",
"TargetLowering",
"::",
"AtomicExpansionKind",
"ARMTargetLowering",
"::",
"shouldExpandAtomicRMWInIR",
"(",
"AtomicRMWInst",
"*",
"AI",
")",
"const",
"{",
"if",
"(",
"AI",
"->",
"isFloatingPointOperation",
"(",
")",
")",
"return",
"AtomicExpansionKind",
"::",
... | [
"Returns",
"how",
"the",
"IR-level",
"AtomicExpand",
"pass",
"should",
"expand",
"the",
"given",
"AtomicRMW",
",",
"if",
"at",
"all",
"."
] | [
"ARM",
"ARM",
"32U",
"64U"
] | ARMISelLowering12 | shouldExpandAtomicRMWInIR | ARM | CPU | LLVM | 4,386 | 134 | 1 | [] |
[
"<s>",
"static",
"bool",
"cr16_hard_regno_mode_ok",
"(",
"unsigned",
"int",
"regno",
",",
"machine_mode",
"mode",
")",
"{",
"if",
"(",
"(",
"GET_MODE_SIZE",
"(",
"mode",
")",
">=",
"4",
")",
"&&",
"(",
"regno",
"==",
"11",
")",
")",
"return",
"false",
... | [
"Return",
"1",
"if",
"hard",
"register",
"REGNO",
"can",
"hold",
"a",
"value",
"of",
"machine-mode",
"MODE",
"."
] | [
"cr16",
"4",
"11",
"8",
"1",
"12",
"4"
] | cr16 | cr16_hard_regno_mode_ok | cr16 | MPU | GCC | 4,387 | 106 | 1 | [] |
[
"<s>",
"bool",
"FixupBWInstPass",
"::",
"runOnMachineFunction",
"(",
"MachineFunction",
"&",
"MF",
")",
"{",
"if",
"(",
"!",
"FixupBWInsts",
"||",
"skipFunction",
"(",
"MF",
".",
"getFunction",
"(",
")",
")",
")",
"return",
"false",
";",
"this",
"->",
"MF"... | [
"runOnMachineFunction",
"-",
"Emit",
"the",
"function",
"body",
"."
] | [
"X86",
"X86",
"\"Start X86FixupBWInsts\\n\"",
"\"End X86FixupBWInsts\\n\""
] | X86FixupBWInsts10 | runOnMachineFunction | X86 | CPU | LLVM | 4,388 | 149 | 1 | [] |
[
"<s>",
"static",
"void",
"warn_once_call_ms2sysv_xlogues",
"(",
"const",
"char",
"*",
"feature",
")",
"{",
"static",
"bool",
"warned_once",
"=",
"false",
";",
"if",
"(",
"!",
"warned_once",
")",
"{",
"warning",
"(",
"0",
",",
"\"%<-mcall-ms2sysv-xlogues%> is not... | [
"Emits",
"a",
"warning",
"for",
"unsupported",
"msabi",
"to",
"sysv",
"pro/epilogues",
"."
] | [
"i386",
"0",
"\"%<-mcall-ms2sysv-xlogues%> is not compatible with %s\""
] | i3868 | warn_once_call_ms2sysv_xlogues | i386 | CPU | GCC | 4,389 | 37 | 1 | [] |
[
"<s>",
"Sched",
"::",
"Preference",
"PPCTargetLowering",
"::",
"getSchedulingPreference",
"(",
"SDNode",
"*",
"N",
")",
"const",
"{",
"if",
"(",
"DisableILPPref",
"||",
"Subtarget",
".",
"enableMachineScheduler",
"(",
")",
")",
"return",
"TargetLowering",
"::",
... | [
"Some",
"scheduler",
",",
"e.g",
"."
] | [
"PowerPC",
"PPC"
] | PPCISelLowering (2)2 | getSchedulingPreference | PowerPC | CPU | LLVM | 4,390 | 37 | 1 | [] |
[
"<s>",
"void",
"print",
"(",
"raw_ostream",
"&",
"OS",
")",
"const",
"override",
"{",
"switch",
"(",
"Kind",
")",
"{",
"case",
"k_Register",
":",
"OS",
"<<",
"\"Reg<\"",
"<<",
"Reg",
".",
"Num",
"<<",
"\">\"",
";",
"break",
";",
"case",
"k_Immediate",
... | [
"print",
"-",
"Print",
"a",
"debug",
"representation",
"of",
"the",
"operand",
"to",
"the",
"given",
"stream",
"."
] | [
"TL45",
"\"Reg<\"",
"\">\"",
"\"Imm<\"",
"\">\""
] | TL45AsmParser | print | TL45 | MPU | LLVM | 4,391 | 69 | 1 | [] |
[
"<s>",
"const",
"MipsSubtarget",
"*",
"MipsTargetMachine",
"::",
"getSubtargetImpl",
"(",
"const",
"Function",
"&",
"F",
")",
"const",
"{",
"Attribute",
"CPUAttr",
"=",
"F",
".",
"getFnAttribute",
"(",
"\"target-cpu\"",
")",
";",
"Attribute",
"FSAttr",
"=",
"F... | [
"Virtual",
"method",
"implemented",
"by",
"subclasses",
"that",
"returns",
"a",
"reference",
"to",
"that",
"target",
"'s",
"TargetSubtargetInfo-derived",
"member",
"variable",
"."
] | [
"Mips",
"Mips",
"Mips",
"\"target-cpu\"",
"\"target-features\"",
"Mips",
"\"mips16\"",
"Mips",
"\"nomips16\"",
"\"use-soft-float\"",
"\"use-soft-float\"",
"\"true\"",
"Mips",
"\"+mips16\"",
"\",+mips16\"",
"Mips",
"\"-mips16\"",
"\",-mips16\"",
"\"+soft-float\"",
"\",+soft-floa... | MipsTargetMachine2 | getSubtargetImpl | Mips | CPU | LLVM | 4,392 | 248 | 1 | [] |
[
"<s>",
"virtual",
"bool",
"runOnMachineFunction",
"(",
"MachineFunction",
"&",
"MF",
")",
"{",
"TM",
"=",
"static_cast",
"<",
"const",
"PPCTargetMachine",
"*",
">",
"(",
"&",
"MF",
".",
"getTarget",
"(",
")",
")",
";",
"TII",
"=",
"TM",
"->",
"getInstrIn... | [
"runOnMachineFunction",
"-",
"Emit",
"the",
"function",
"body",
"."
] | [
"PowerPC",
"PPC"
] | PPCInstrInfo38 | runOnMachineFunction | PowerPC | CPU | LLVM | 4,393 | 86 | 1 | [] |
[
"<s>",
"bool",
"aarch64_float_const_representable_p",
"(",
"rtx",
"x",
")",
"{",
"int",
"point_pos",
"=",
"2",
"*",
"HOST_BITS_PER_WIDE_INT",
"-",
"1",
";",
"int",
"exponent",
";",
"unsigned",
"HOST_WIDE_INT",
"mantissa",
",",
"mask",
";",
"REAL_VALUE_TYPE",
"r"... | [
"Return",
"true",
"iff",
"X",
"can",
"be",
"represented",
"by",
"a",
"quarter-precision",
"floating",
"point",
"immediate",
"operand",
"X",
".",
"Note",
",",
"we",
"can",
"not",
"represent",
"0.0",
"."
] | [
"aarch64",
"2",
"1",
"2",
"0",
"1",
"1",
"5",
"1",
"0",
"5",
"0",
"1",
"4",
"15",
"5",
"0",
"7"
] | aarch644 | aarch64_float_const_representable_p | aarch64 | CPU | GCC | 4,394 | 242 | 1 | [] |
[
"<s>",
"DecodeStatus",
"FISCDisassembler",
"::",
"getInstruction",
"(",
"MCInst",
"&",
"Instr",
",",
"uint64_t",
"&",
"Size",
",",
"ArrayRef",
"<",
"uint8_t",
">",
"Bytes",
",",
"uint64_t",
"Address",
",",
"raw_ostream",
"&",
"VStream",
",",
"raw_ostream",
"&"... | [
"Returns",
"the",
"disassembly",
"of",
"a",
"single",
"instruction",
"."
] | [
"FISC",
"FISC",
"FISC",
"4"
] | FISCDisassembler | getInstruction | FISC | CPU | LLVM | 4,395 | 100 | 1 | [] |
[
"<s>",
"static",
"void",
"emit_unlikely_jump",
"(",
"rtx_code",
"code",
",",
"rtx",
"label",
")",
"{",
"rtx",
"x",
";",
"x",
"=",
"gen_rtx_REG",
"(",
"BImode",
",",
"SR_F_REGNUM",
")",
";",
"x",
"=",
"gen_rtx_fmt_ee",
"(",
"code",
",",
"VOIDmode",
",",
... | [
"Mark",
"the",
"previous",
"jump",
"instruction",
"as",
"unlikely",
"."
] | [
"or1k"
] | or1k | emit_unlikely_jump | or1k | CPU | GCC | 4,396 | 60 | 1 | [] |
[
"<s>",
"EVT",
"X86TargetLowering",
"::",
"getOptimalMemOpType",
"(",
"uint64_t",
"Size",
",",
"unsigned",
"DstAlign",
",",
"unsigned",
"SrcAlign",
",",
"bool",
"IsMemset",
",",
"bool",
"ZeroMemset",
",",
"bool",
"MemcpyStrSrc",
",",
"const",
"AttributeList",
"&",
... | [
"It",
"returns",
"EVT",
":",
":Other",
"if",
"the",
"type",
"should",
"be",
"determined",
"using",
"generic",
"target-independent",
"logic",
"."
] | [
"X86",
"X86",
"16",
"0",
"16",
"0",
"16",
"64",
"512",
"MVT::v64i8",
"MVT::v16i32",
"32",
"256",
"MVT::v32i8",
"128",
"MVT::v16i8",
"128",
"MVT::v4f32",
"8",
"MVT::f64",
"8",
"MVT::i64",
"MVT::i32"
] | X86ISelLowering (2)6 | getOptimalMemOpType | X86 | CPU | LLVM | 4,397 | 271 | 1 | [] |
[
"<s>",
"bool",
"ARMTargetLowering",
"::",
"canCombineStoreAndExtract",
"(",
"Type",
"*",
"VectorTy",
",",
"Value",
"*",
"Idx",
",",
"unsigned",
"&",
"Cost",
")",
"const",
"{",
"if",
"(",
"!",
"Subtarget",
"->",
"hasNEON",
"(",
")",
")",
"return",
"false",
... | [
"Return",
"true",
"if",
"the",
"target",
"can",
"combine",
"store",
"(",
"extractelement",
"VectorTy",
",",
"Idx",
")",
"."
] | [
"ARM",
"ARM",
"\"VectorTy is not a vector type\"",
"64",
"128",
"0"
] | ARMISelLowering (2)2 | canCombineStoreAndExtract | ARM | CPU | LLVM | 4,398 | 105 | 1 | [] |
[
"<s>",
"MCObjectWriter",
"*",
"createObjectWriter",
"(",
"raw_ostream",
"&",
"OS",
")",
"const",
"override",
"{",
"return",
"createLEGELFObjectWriter",
"(",
"OS",
",",
"OSABI",
")",
";",
"}",
"</s>"
] | [
"Create",
"a",
"new",
"MCObjectWriter",
"instance",
"for",
"use",
"by",
"the",
"assembler",
"backend",
"to",
"emit",
"the",
"final",
"object",
"file",
"."
] | [
"LEG",
"LEG"
] | LEGAsmBackend2 | createObjectWriter | LEG | CPU | LLVM | 4,399 | 20 | 1 | [] |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.