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>",
"SDValue",
"AMDGPUTargetLowering",
"::",
"LowerCall",
"(",
"CallLoweringInfo",
"&",
"CLI",
",",
"SmallVectorImpl",
"<",
"SDValue",
">",
"&",
"InVals",
")",
"const",
"{",
"SDValue",
"Callee",
"=",
"CLI",
".",
"Callee",
";",
"SelectionDAG",
"&",
"DAG",
... | [
"This",
"hook",
"must",
"be",
"implemented",
"to",
"lower",
"calls",
"into",
"the",
"specified",
"DAG",
"."
] | [
"AMDGPU",
"AMDGPU",
"\"<unknown>\"",
"\"unsupported call to function \"",
"0"
] | AMDGPUISelLowering102 | LowerCall | AMDGPU | GPU | LLVM | 2,400 | 186 | 1 | [] |
[
"<s>",
"int",
"romp_pushes_stack",
"(",
")",
"{",
"return",
"(",
"frame_pointer_needed",
"||",
"write_symbols",
"!=",
"NO_DEBUG",
"||",
"(",
"romp_sa_size",
"(",
")",
"+",
"get_frame_size",
"(",
")",
")",
">",
"100",
"||",
"romp_makes_calls",
"(",
")",
")",
... | [
"Return",
"non-zero",
"if",
"this",
"function",
"needs",
"to",
"push",
"space",
"on",
"the",
"stack",
"."
] | [
"romp",
"100"
] | romp | romp_pushes_stack | romp | MPU | GCC | 2,401 | 31 | 1 | [] |
[
"<s>",
"void",
"ix86_expand_binary_operator",
"(",
"enum",
"rtx_code",
"code",
",",
"machine_mode",
"mode",
",",
"rtx",
"operands",
"[",
"]",
")",
"{",
"rtx",
"src1",
",",
"src2",
",",
"dst",
",",
"op",
",",
"clob",
";",
"dst",
"=",
"ix86_fixup_binary_oper... | [
"Attempt",
"to",
"expand",
"a",
"binary",
"operator",
".",
"Make",
"the",
"expansion",
"closer",
"to",
"the",
"actual",
"machine",
",",
"then",
"just",
"general_operand",
",",
"which",
"will",
"allow",
"3",
"separate",
"memory",
"references",
"(",
"one",
"ou... | [
"i386",
"1",
"2",
"2",
"0",
"0"
] | i3864 | ix86_expand_binary_operator | i386 | CPU | GCC | 2,402 | 168 | 1 | [] |
[
"<s>",
"static",
"const",
"char",
"*",
"output_branch",
"(",
"rtx",
"label",
",",
"const",
"char",
"*",
"cond",
",",
"rtx_insn",
"*",
"insn",
")",
"{",
"char",
"str",
"[",
"64",
"]",
";",
"rtx",
"operands",
"[",
"2",
"]",
";",
"gcc_assert",
"(",
"c... | [
"Output",
"a",
"conditional/unconditional",
"branch",
"to",
"LABEL",
".",
"COND",
"is",
"the",
"string",
"condition",
".",
"INSN",
"is",
"the",
"instruction",
"."
] | [
"visium",
"64",
"2",
"0",
"8",
"1",
"1",
"1",
"0",
"1",
"\"write.l 1(sp),%1\"",
"\"write.l (sp),%1\"",
"\"moviu %1,%%u %0\"",
"\"movil %1,%%l %0\"",
"\"bra \"",
"\",%1,%1\"",
"\"%#\"",
"\"\\t\\t;long branch\"",
"\" read.l %1,1(sp)\"",
"\" read.l %1,(sp)\"",
"\"bra ... | visium2 | output_branch | visium | Virtual ISA | GCC | 2,403 | 369 | 1 | [] |
[
"<s>",
"bool",
"PIC16AsmPrinter",
"::",
"runOnMachineFunction",
"(",
"MachineFunction",
"&",
"MF",
")",
"{",
"this",
"->",
"MF",
"=",
"&",
"MF",
";",
"SetupMachineFunction",
"(",
"MF",
")",
";",
"const",
"Function",
"*",
"F",
"=",
"MF",
".",
"getFunction",... | [
"runOnMachineFunction",
"-",
"Emit",
"the",
"function",
"body",
"."
] | [
"PIC16",
"PIC16",
"\"\\n\"",
"\"\\tretlw low(\"",
"\")\\n\"",
"\"\\tretlw high(\"",
"\")\\n\"",
"\":\\n\"",
"\"\\n\""
] | PIC16AsmPrinter5 | runOnMachineFunction | PIC16 | MPU | LLVM | 2,404 | 260 | 1 | [] |
[
"<s>",
"void",
"or1k_expand_move",
"(",
"machine_mode",
"mode",
",",
"rtx",
"op0",
",",
"rtx",
"op1",
")",
"{",
"if",
"(",
"MEM_P",
"(",
"op0",
")",
")",
"{",
"if",
"(",
"!",
"const0_operand",
"(",
"op1",
",",
"mode",
")",
")",
"op1",
"=",
"force_r... | [
"Expand",
"the",
"patterns",
"``",
"movqi",
"''",
",",
"``",
"movqi",
"''",
"and",
"``",
"movsi",
"''",
".",
"The",
"argument",
"OP0",
"is",
"the",
"destination",
"and",
"OP1",
"is",
"the",
"source",
".",
"This",
"expands",
"to",
"set",
"OP0",
"to",
... | [
"or1k",
"0xffff"
] | or1k | or1k_expand_move | or1k | CPU | GCC | 2,405 | 191 | 1 | [] |
[
"<s>",
"void",
"R600InstrInfo",
"::",
"copyPhysReg",
"(",
"MachineBasicBlock",
"&",
"MBB",
",",
"MachineBasicBlock",
"::",
"iterator",
"MI",
",",
"const",
"DebugLoc",
"&",
"DL",
",",
"unsigned",
"DestReg",
",",
"unsigned",
"SrcReg",
",",
"bool",
"KillSrc",
")"... | [
"}",
"Branch",
"Analysis",
"&",
"Modification"
] | [
"AMDGPU",
"R600",
"0",
"R600::R600_Reg128RegClass",
"R600::R600_Reg128VerticalRegClass",
"R600::R600_Reg128RegClass",
"R600::R600_Reg128VerticalRegClass",
"4",
"R600::R600_Reg64RegClass",
"R600::R600_Reg64VerticalRegClass",
"R600::R600_Reg64RegClass",
"R600::R600_Reg64VerticalRegClass",
"2",... | R600InstrInfo (2)1 | copyPhysReg | AMDGPU | GPU | LLVM | 2,406 | 253 | 1 | [] |
[
"<s>",
"void",
"X86ATTInstPrinter",
"::",
"printPCRelImm",
"(",
"const",
"MCInst",
"*",
"MI",
",",
"unsigned",
"OpNo",
",",
"raw_ostream",
"&",
"O",
")",
"{",
"const",
"MCOperand",
"&",
"Op",
"=",
"MI",
"->",
"getOperand",
"(",
"OpNo",
")",
";",
"if",
... | [
"value",
"(",
"e.g",
"."
] | [
"X86",
"X86",
"\"unknown pcrel immediate operand\""
] | X86ATTInstPrinter28 | printPCRelImm | X86 | CPU | LLVM | 2,407 | 119 | 1 | [] |
[
"<s>",
"void",
"MSP430RegisterInfo",
"::",
"emitEpilogue",
"(",
"MachineFunction",
"&",
"MF",
",",
"MachineBasicBlock",
"&",
"MBB",
")",
"const",
"{",
"const",
"MachineFrameInfo",
"*",
"MFI",
"=",
"MF",
".",
"getFrameInfo",
"(",
")",
";",
"MSP430MachineFunctionI... | [
"Insert",
"epilog",
"code",
"into",
"the",
"function",
"."
] | [
"MSP430",
"MSP430",
"MSP430",
"MSP430",
"MSP430",
"MSP430::RET",
"0",
"\"Can only insert epilog into returning blocks\"",
"MSP430",
"0",
"2",
"MSP430::POP16r",
"MSP430::FPW",
"MSP430::POP16r",
"0",
"\"Not implemented yet!\"",
"MSP430::ADD16ri",
"MSP430::SPW",
"MSP430::SPW",
"3"... | MSP430RegisterInfo11 | emitEpilogue | MSP430 | MPU | LLVM | 2,408 | 313 | 1 | [] |
[
"<s>",
"void",
"HexagonHazardRecognizer",
"::",
"AdvanceCycle",
"(",
")",
"{",
"DEBUG",
"(",
"dbgs",
"(",
")",
"<<",
"\"Advance cycle, clear state\\n\"",
")",
";",
"Resources",
"->",
"clearResources",
"(",
")",
";",
"if",
"(",
"DotCurPNum",
"!=",
"-",
"1",
"... | [
"AdvanceCycle",
"-",
"This",
"callback",
"is",
"invoked",
"whenever",
"the",
"next",
"top-down",
"instruction",
"to",
"be",
"scheduled",
"can",
"not",
"issue",
"in",
"the",
"current",
"cycle",
",",
"either",
"because",
"of",
"latency",
"or",
"resource",
"confl... | [
"Hexagon",
"Hexagon",
"\"Advance cycle, clear state\\n\"",
"1",
"1"
] | HexagonHazardRecognizer4 | AdvanceCycle | Hexagon | DSP | LLVM | 2,409 | 57 | 1 | [] |
[
"<s>",
"static",
"rtx",
"cris_function_arg",
"(",
"cumulative_args_t",
"ca",
",",
"const",
"function_arg_info",
"&",
"arg",
")",
"{",
"return",
"cris_function_arg_1",
"(",
"ca",
",",
"arg",
",",
"false",
")",
";",
"}",
"</s>"
] | [
"Worker",
"function",
"for",
"TARGET_FUNCTION_ARG",
".",
"The",
"void_type_node",
"is",
"sent",
"as",
"a",
"``",
"closing",
"''",
"call",
"."
] | [
"cris"
] | cris | cris_function_arg | cris | MPU | GCC | 2,410 | 24 | 1 | [] |
[
"<s>",
"void",
"RISCVInstrInfo",
"::",
"copyPhysReg",
"(",
"MachineBasicBlock",
"&",
"MBB",
",",
"MachineBasicBlock",
"::",
"iterator",
"MBBI",
",",
"const",
"DebugLoc",
"&",
"DL",
",",
"unsigned",
"DstReg",
",",
"unsigned",
"SrcReg",
",",
"bool",
"KillSrc",
"... | [
"}",
"Branch",
"Analysis",
"&",
"Modification"
] | [
"RISCV",
"RISCV",
"RISCV::GPRRegClass",
"\"Impossible reg-to-reg copy\"",
"RISCV::ADDI",
"0"
] | RISCVInstrInfo17 | copyPhysReg | RISCV | CPU | LLVM | 2,411 | 80 | 1 | [] |
[
"<s>",
"bool",
"MMIXAsmParser",
"::",
"ParseDirective",
"(",
"AsmToken",
"DirectiveID",
")",
"{",
"return",
"true",
";",
"}",
"</s>"
] | [
"ParseDirective",
"-",
"Parse",
"a",
"target",
"specific",
"assembler",
"directive",
"This",
"method",
"is",
"deprecated",
",",
"use",
"'parseDirective",
"'",
"instead",
"."
] | [
"MMIX",
"MMIX"
] | MMIXAsmParser | ParseDirective | MMIX | CPU | LLVM | 2,412 | 13 | 1 | [] |
[
"<s>",
"const",
"MCExpr",
"*",
"AMDGPUAsmPrinter",
"::",
"lowerConstant",
"(",
"const",
"Constant",
"*",
"CV",
")",
"{",
"auto",
"*",
"AT",
"=",
"static_cast",
"<",
"AMDGPUTargetMachine",
"*",
">",
"(",
"&",
"TM",
")",
";",
"auto",
"*",
"CE",
"=",
"dyn... | [
"Lower",
"the",
"specified",
"LLVM",
"Constant",
"to",
"an",
"MCExpr",
"."
] | [
"AMDGPU",
"AMDGPU",
"AMDGPU",
"0",
"0"
] | AMDGPUMCInstLower11 | lowerConstant | AMDGPU | GPU | LLVM | 2,413 | 134 | 1 | [] |
[
"<s>",
"void",
"MSP430InstPrinter",
"::",
"printInst",
"(",
"const",
"MCInst",
"*",
"MI",
",",
"uint64_t",
"Address",
",",
"StringRef",
"Annot",
",",
"const",
"MCSubtargetInfo",
"&",
"STI",
",",
"raw_ostream",
"&",
"O",
")",
"{",
"if",
"(",
"!",
"printAlia... | [
"Print",
"the",
"specified",
"MCInst",
"to",
"the",
"specified",
"raw_ostream",
"."
] | [
"MSP430",
"MSP430"
] | MSP430InstPrinter10 | printInst | MSP430 | MPU | LLVM | 2,414 | 55 | 1 | [] |
[
"<s>",
"const",
"char",
"*",
"output_lbranch",
"(",
"rtx",
"dest",
",",
"rtx",
"insn",
")",
"{",
"rtx",
"xoperands",
"[",
"2",
"]",
";",
"xoperands",
"[",
"0",
"]",
"=",
"dest",
";",
"if",
"(",
"dbr_sequence_length",
"(",
")",
"!=",
"0",
")",
"{",
... | [
"This",
"routine",
"handles",
"long",
"unconditional",
"branches",
"that",
"exceed",
"the",
"maximum",
"range",
"of",
"a",
"simple",
"branch",
"instruction",
"."
] | [
"pa",
"2",
"0",
"0",
"0",
"0",
"0",
"2",
"\"std %%r1,-16(%%r30)\"",
"\"std %%r1,-40(%%r30)\"",
"0",
"2",
"\"stw %%r1,-20(%%r30)\"",
"\"stw %%r1,-12(%%r30)\"",
"\"ldil L'%0,%%r1\"",
"\"ldo R'%0(%%r1),%%r1\"",
"\"bv %%r0(%%r1)\"",
"\"{bl|b,l} .+8,%%r1\"",
"1",
"\"addil L'%l0-%l1,... | pa3 | output_lbranch | pa | CPU | GCC | 2,415 | 332 | 1 | [] |
[
"<s>",
"const",
"unsigned",
"*",
"MSP430RegisterInfo",
"::",
"getCalleeSavedRegs",
"(",
"const",
"MachineFunction",
"*",
"MF",
")",
"const",
"{",
"const",
"TargetFrameLowering",
"*",
"TFI",
"=",
"MF",
"->",
"getTarget",
"(",
")",
".",
"getFrameLowering",
"(",
... | [
"Code",
"Generation",
"virtual",
"methods",
"..."
] | [
"MSP430",
"MSP430",
"MSP430::FPW",
"MSP430::R5W",
"MSP430::R6W",
"MSP430::R7W",
"MSP430::R8W",
"MSP430::R9W",
"MSP430::R10W",
"MSP430::R11W",
"0",
"MSP430::R5W",
"MSP430::R6W",
"MSP430::R7W",
"MSP430::R8W",
"MSP430::R9W",
"MSP430::R10W",
"MSP430::R11W",
"0",
"MSP430::FPW",
"M... | MSP430RegisterInfo2 | getCalleeSavedRegs | MSP430 | MPU | LLVM | 2,416 | 282 | 1 | [] |
[
"<s>",
"SDValue",
"AArch64TargetLowering",
"::",
"getGOT",
"(",
"NodeTy",
"*",
"N",
",",
"SelectionDAG",
"&",
"DAG",
",",
"unsigned",
"Flags",
")",
"const",
"{",
"LLVM_DEBUG",
"(",
"dbgs",
"(",
")",
"<<",
"\"AArch64TargetLowering::getGOT\\n\"",
")",
";",
"SDLo... | [
"Return",
"a",
"pseudo",
"source",
"value",
"referencing",
"the",
"global",
"offset",
"table",
"(",
"or",
"something",
"the",
"like",
")",
"."
] | [
"AArch64",
"AArch64",
"\"AArch64TargetLowering::getGOT\\n\"",
"AArch64II::MO_GOT",
"AArch64ISD::LOADgot"
] | AArch64ISelLowering (2)2 | getGOT | AArch64 | CPU | LLVM | 2,417 | 80 | 1 | [] |
[
"<s>",
"bool",
"supportSplitCSR",
"(",
"MachineFunction",
"*",
"MF",
")",
"const",
"override",
"{",
"return",
"MF",
"->",
"getFunction",
"(",
")",
"->",
"getCallingConv",
"(",
")",
"==",
"CallingConv",
"::",
"CXX_FAST_TLS",
"&&",
"MF",
"->",
"getFunction",
"... | [
"Return",
"true",
"if",
"the",
"target",
"supports",
"that",
"a",
"subset",
"of",
"CSRs",
"for",
"the",
"given",
"machine",
"function",
"is",
"handled",
"explicitly",
"via",
"copies",
"."
] | [
"AArch64"
] | AArch64ISelLowering (2) | supportSplitCSR | AArch64 | CPU | LLVM | 2,418 | 39 | 1 | [] |
[
"<s>",
"ScheduleDAGInstrs",
"*",
"createMachineScheduler",
"(",
"MachineSchedContext",
"*",
"C",
")",
"const",
"override",
"{",
"ScheduleDAGMILive",
"*",
"DAG",
"=",
"createGenericSchedLive",
"(",
"C",
")",
";",
"return",
"DAG",
";",
"}",
"</s>"
] | [
"Create",
"an",
"instance",
"of",
"ScheduleDAGInstrs",
"to",
"be",
"run",
"within",
"the",
"standard",
"MachineScheduler",
"pass",
"for",
"this",
"function",
"and",
"target",
"at",
"the",
"current",
"optimization",
"level",
"."
] | [
"ARM"
] | ARMTargetMachine14 | createMachineScheduler | ARM | CPU | LLVM | 2,419 | 24 | 1 | [] |
[
"<s>",
"int",
"barrier_align",
"(",
"rtx_insn",
"*",
"barrier_or_label",
")",
"{",
"rtx",
"next",
",",
"pat",
";",
"if",
"(",
"!",
"barrier_or_label",
")",
"return",
"0",
";",
"if",
"(",
"LABEL_P",
"(",
"barrier_or_label",
")",
"&&",
"NEXT_INSN",
"(",
"b... | [
"BARRIER_OR_LABEL",
"is",
"either",
"a",
"BARRIER",
"or",
"a",
"CODE_LABEL",
"immediately",
"following",
"a",
"barrier",
".",
"Return",
"the",
"base",
"2",
"logarithm",
"of",
"the",
"desired",
"alignment",
"."
] | [
"sh",
"0",
"2",
"1",
"1",
"2",
"1",
"0",
"1",
"0",
"0",
"2",
"1",
"2",
"2",
"0",
"1",
"0",
"0",
"0",
"2",
"0",
"0"
] | sh4 | barrier_align | sh | CPU | GCC | 2,420 | 495 | 1 | [] |
[
"<s>",
"void",
"MCS51RegisterInfo",
"::",
"splitReg",
"(",
"Register",
"Reg",
",",
"Register",
"&",
"LoReg",
",",
"Register",
"&",
"HiReg",
")",
"const",
"{",
"assert",
"(",
"MCS51",
"::",
"DREGSRegClass",
".",
"contains",
"(",
"Reg",
")",
"&&",
"\"can onl... | [
"Splits",
"a",
"16-bit",
"DREGS",
"register",
"into",
"the",
"lo/hi",
"register",
"pair",
"."
] | [
"MCS51",
"MCS51",
"MCS51::DREGSRegClass",
"\"can only split 16-bit registers\"",
"MCS51::sub_lo",
"MCS51::sub_hi"
] | MCS51RegisterInfo | splitReg | MCS51 | MPU | LLVM | 2,421 | 55 | 1 | [] |
[
"<s>",
"static",
"void",
"mcore_setup_incoming_varargs",
"(",
"cumulative_args_t",
"args_so_far_v",
",",
"machine_mode",
"mode",
",",
"tree",
"type",
",",
"int",
"*",
"ptr_pretend_size",
"ATTRIBUTE_UNUSED",
",",
"int",
"second_time",
"ATTRIBUTE_UNUSED",
")",
"{",
"CUM... | [
"Keep",
"track",
"of",
"some",
"information",
"about",
"varargs",
"for",
"the",
"prolog",
"."
] | [
"mcore",
"1"
] | mcore4 | mcore_setup_incoming_varargs | mcore | MPU | GCC | 2,422 | 64 | 1 | [] |
[
"<s>",
"unsigned",
"ARMInstrInfo",
"::",
"isLoadFromStackSlot",
"(",
"const",
"MachineInstr",
"*",
"MI",
",",
"int",
"&",
"FrameIndex",
")",
"const",
"{",
"switch",
"(",
"MI",
"->",
"getOpcode",
"(",
")",
")",
"{",
"default",
":",
"break",
";",
"case",
"... | [
"isLoadFromStackSlot",
"-",
"If",
"the",
"specified",
"machine",
"instruction",
"is",
"a",
"direct",
"load",
"from",
"a",
"stack",
"slot",
",",
"return",
"the",
"virtual",
"or",
"physical",
"register",
"number",
"of",
"the",
"destination",
"along",
"with",
"th... | [
"ARM",
"ARM",
"ARM::LDR",
"1",
"2",
"3",
"2",
"0",
"3",
"0",
"1",
"0",
"ARM::FLDD",
"ARM::FLDS",
"1",
"2",
"2",
"0",
"1",
"0",
"ARM::tRestore",
"1",
"2",
"2",
"0",
"1",
"0",
"0"
] | ARMInstrInfo14 | isLoadFromStackSlot | ARM | CPU | LLVM | 2,423 | 276 | 1 | [] |
[
"<s>",
"static",
"section",
"*",
"avr_asm_function_rodata_section",
"(",
"tree",
"decl",
")",
"{",
"unsigned",
"int",
"flags",
";",
"section",
"*",
"frodata",
";",
"{",
"int",
"fdata",
"=",
"flag_data_sections",
";",
"flag_data_sections",
"=",
"flag_function_secti... | [
"Implement",
"`",
"TARGET_ASM_FUNCTION_RODATA_SECTION",
"'",
"."
] | [
"avr",
"\".rodata\"",
"\".progmem.gcc_sw_table\"",
"\".gnu.linkonce.r.\"",
"\".gnu.linkonce.t.\"",
"0",
"2",
"1",
"0"
] | avr4 | avr_asm_function_rodata_section | avr | MPU | GCC | 2,424 | 203 | 1 | [] |
[
"<s>",
"static",
"rtx",
"avr_function_arg",
"(",
"cumulative_args_t",
"cum_v",
",",
"machine_mode",
"mode",
",",
"const_tree",
"type",
",",
"bool",
"named",
"ATTRIBUTE_UNUSED",
")",
"{",
"CUMULATIVE_ARGS",
"*",
"cum",
"=",
"get_cumulative_args",
"(",
"cum_v",
")",... | [
"Controls",
"whether",
"a",
"function",
"argument",
"is",
"passed",
"in",
"a",
"register",
",",
"and",
"which",
"register",
"."
] | [
"avr"
] | avr4 | avr_function_arg | avr | MPU | GCC | 2,425 | 65 | 1 | [] |
[
"<s>",
"void",
"AArch64PassConfig",
"::",
"addPreLegalizeMachineIR",
"(",
")",
"{",
"addPass",
"(",
"createAArch64PreLegalizeCombiner",
"(",
")",
")",
";",
"}",
"</s>"
] | [
"This",
"method",
"may",
"be",
"implemented",
"by",
"targets",
"that",
"want",
"to",
"run",
"passes",
"immediately",
"before",
"legalization",
"."
] | [
"AArch64",
"AArch64",
"AArch64"
] | AArch64TargetMachine (2)3 | addPreLegalizeMachineIR | AArch64 | CPU | LLVM | 2,426 | 15 | 1 | [] |
[
"<s>",
"bool",
"AMDGPUPromoteAllocaImpl",
"::",
"run",
"(",
"Function",
"&",
"F",
")",
"{",
"Mod",
"=",
"F",
".",
"getParent",
"(",
")",
";",
"DL",
"=",
"&",
"Mod",
"->",
"getDataLayout",
"(",
")",
";",
"const",
"Triple",
"&",
"TT",
"=",
"TM",
".",... | [
"Run",
"the",
"analysis",
"pass",
"over",
"a",
"function",
"and",
"produce",
"a",
"dominator",
"tree",
"."
] | [
"AMDGPU",
"AMDGPU",
"AMDGPU",
"AMDGPU",
"128",
"16"
] | AMDGPUPromoteAlloca20 | run | AMDGPU | GPU | LLVM | 2,427 | 225 | 1 | [] |
[
"<s>",
"bool",
"WebAssemblyOptimizeLiveIntervals",
"::",
"runOnMachineFunction",
"(",
"MachineFunction",
"&",
"MF",
")",
"{",
"LLVM_DEBUG",
"(",
"dbgs",
"(",
")",
"<<",
"\"********** Optimize LiveIntervals **********\\n\"",
"\"********** Function: \"",
"<<",
"MF",
".",
"g... | [
"runOnMachineFunction",
"-",
"Emit",
"the",
"function",
"body",
"."
] | [
"WebAssembly",
"WebAssembly",
"\"********** Optimize LiveIntervals **********\\n\"",
"\"********** Function: \"",
"\"OptimizeLiveIntervals expects liveness\"",
"4",
"0",
"0",
"0"
] | WebAssemblyOptimizeLiveIntervals2 | runOnMachineFunction | WebAssembly | Virtual ISA | LLVM | 2,428 | 261 | 1 | [] |
[
"<s>",
"void",
"GCNPassConfig",
"::",
"addPreEmitPass",
"(",
")",
"{",
"addPass",
"(",
"createSIMemoryLegalizerPass",
"(",
")",
")",
";",
"addPass",
"(",
"createSIInsertWaitcntsPass",
"(",
")",
")",
";",
"addPass",
"(",
"createSIShrinkInstructionsPass",
"(",
")",
... | [
"This",
"pass",
"may",
"be",
"implemented",
"by",
"targets",
"that",
"want",
"to",
"run",
"passes",
"immediately",
"before",
"machine",
"code",
"is",
"emitted",
"."
] | [
"AMDGPU",
"SI",
"SI",
"SI",
"SI",
"SI",
"SI",
"SI",
"SI"
] | AMDGPUTargetMachine106 | addPreEmitPass | AMDGPU | GPU | LLVM | 2,429 | 82 | 1 | [] |
[
"<s>",
"static",
"machine_mode",
"sparc_secondary_memory_needed_mode",
"(",
"machine_mode",
"mode",
")",
"{",
"if",
"(",
"TARGET_ARCH64",
")",
"{",
"if",
"(",
"GET_MODE_BITSIZE",
"(",
"mode",
")",
"<",
"32",
")",
"return",
"mode_for_size",
"(",
"32",
",",
"GET... | [
"Implement",
"TARGET_SECONDARY_MEMORY_NEEDED_MODE",
".",
"get_secondary_mem",
"widens",
"its",
"argument",
"to",
"BITS_PER_WORD",
"which",
"loses",
"on",
"v9",
"because",
"the",
"movsi",
"and",
"movsf",
"patterns",
"do",
"n't",
"handle",
"r/f",
"moves",
".",
"For",
... | [
"sparc",
"32",
"32",
"0",
"0"
] | sparc | sparc_secondary_memory_needed_mode | sparc | CPU | GCC | 2,430 | 76 | 1 | [] |
[
"<s>",
"void",
"WebAssemblyPassConfig",
"::",
"addIRPasses",
"(",
")",
"{",
"addPass",
"(",
"new",
"CoalesceFeaturesAndStripAtomics",
"(",
"&",
"getWebAssemblyTargetMachine",
"(",
")",
")",
")",
";",
"addPass",
"(",
"createAtomicExpandPass",
"(",
")",
")",
";",
... | [
"Add",
"common",
"target",
"configurable",
"passes",
"that",
"perform",
"LLVM",
"IR",
"to",
"IR",
"transforms",
"following",
"machine",
"independent",
"optimization",
"."
] | [
"WebAssembly",
"WebAssembly",
"WebAssembly",
"WebAssembly",
"WebAssembly",
"WebAssembly",
"WebAssembly",
"WebAssembly"
] | WebAssemblyTargetMachine23 | addIRPasses | WebAssembly | Virtual ISA | LLVM | 2,431 | 122 | 1 | [] |
[
"<s>",
"static",
"void",
"nios2_init_libfuncs",
"(",
"void",
")",
"{",
"if",
"(",
"TARGET_LINUX_ABI",
")",
"init_sync_libfuncs",
"(",
"UNITS_PER_WORD",
")",
";",
"}",
"</s>"
] | [
"Implement",
"TARGET_INIT_LIBFUNCS",
"."
] | [
"nios2"
] | nios22 | nios2_init_libfuncs | nios2 | MPU | GCC | 2,432 | 17 | 1 | [] |
[
"<s>",
"bool",
"mips_expand_block_move",
"(",
"rtx",
"dest",
",",
"rtx",
"src",
",",
"rtx",
"length",
")",
"{",
"if",
"(",
"!",
"ISA_HAS_LWL_LWR",
"&&",
"(",
"MEM_ALIGN",
"(",
"src",
")",
"<",
"MIPS_MIN_MOVE_MEM_ALIGN",
"||",
"MEM_ALIGN",
"(",
"dest",
")",... | [
"Expand",
"a",
"movmemsi",
"instruction",
",",
"which",
"copies",
"LENGTH",
"bytes",
"from",
"memory",
"reference",
"SRC",
"to",
"memory",
"reference",
"DEST",
"."
] | [
"mips"
] | mips | mips_expand_block_move | mips | CPU | GCC | 2,433 | 100 | 1 | [] |
[
"<s>",
"void",
"loadRegFromStackSlot",
"(",
"MachineBasicBlock",
"&",
"MBB",
",",
"MachineBasicBlock",
"::",
"iterator",
"MBBI",
",",
"Register",
"DestReg",
",",
"int",
"FrameIndex",
",",
"const",
"TargetRegisterClass",
"*",
"RC",
",",
"const",
"TargetRegisterInfo",... | [
"Load",
"the",
"specified",
"register",
"of",
"the",
"given",
"register",
"class",
"from",
"the",
"specified",
"stack",
"frame",
"index",
"."
] | [
"Mips",
"0"
] | MipsInstrInfo19 | loadRegFromStackSlot | Mips | CPU | LLVM | 2,434 | 49 | 1 | [] |
[
"<s>",
"StringRef",
"getPassName",
"(",
")",
"const",
"override",
"{",
"return",
"\"GBZ80 Assembly Printer\"",
";",
"}",
"</s>"
] | [
"getPassName",
"-",
"Return",
"a",
"nice",
"clean",
"name",
"for",
"a",
"pass",
"."
] | [
"GBZ80",
"\"GBZ80 Assembly Printer\""
] | GBZ80AsmPrinter | getPassName | GBZ80 | MPU | LLVM | 2,435 | 11 | 1 | [] |
[
"<s>",
"bool",
"prepare_move_operands",
"(",
"rtx",
"*",
"operands",
",",
"machine_mode",
"mode",
")",
"{",
"if",
"(",
"1",
")",
"{",
"if",
"(",
"!",
"TARGET_NO_SDATA_SET",
"&&",
"small_data_pattern",
"(",
"operands",
"[",
"0",
"]",
",",
"Pmode",
")",
")... | [
"Prepare",
"operands",
"for",
"a",
"move",
"define_expand",
"in",
"MODE",
"."
] | [
"arc",
"1",
"0",
"0",
"0",
"1",
"0",
"1",
"1",
"1",
"0",
"1",
"1",
"0",
"0",
"0",
"1",
"1",
"0",
"0",
"0",
"0",
"0",
"0",
"0",
"0",
"0",
"0",
"0",
"1",
"1",
"0",
"1",
"1",
"1"
] | arc5 | prepare_move_operands | arc | MPU | GCC | 2,436 | 405 | 1 | [] |
[
"<s>",
"static",
"rtx",
"pdp11_function_arg",
"(",
"cumulative_args_t",
"cum",
"ATTRIBUTE_UNUSED",
",",
"machine_mode",
"mode",
"ATTRIBUTE_UNUSED",
",",
"const_tree",
"type",
"ATTRIBUTE_UNUSED",
",",
"bool",
"named",
"ATTRIBUTE_UNUSED",
")",
"{",
"return",
"NULL_RTX",
... | [
"Worker",
"function",
"for",
"TARGET_FUNCTION_ARG",
".",
"Determine",
"where",
"to",
"put",
"an",
"argument",
"to",
"a",
"function",
".",
"Value",
"is",
"zero",
"to",
"push",
"the",
"argument",
"on",
"the",
"stack",
",",
"or",
"a",
"hard",
"register",
"in"... | [
"pdp11"
] | pdp114 | pdp11_function_arg | pdp11 | MPU | GCC | 2,437 | 25 | 1 | [] |
[
"<s>",
"std",
"::",
"pair",
"<",
"unsigned",
",",
"const",
"TargetRegisterClass",
"*",
">",
"SITargetLowering",
"::",
"getRegForInlineAsmConstraint",
"(",
"const",
"TargetRegisterInfo",
"*",
"TRI",
",",
"StringRef",
"Constraint",
",",
"MVT",
"VT",
")",
"const",
... | [
"Given",
"a",
"physical",
"register",
"constraint",
"(",
"e.g",
"."
] | [
"AMDGPU",
"SI",
"1",
"0",
"16",
"AMDGPU::SReg_32RegClass",
"64",
"AMDGPU::SGPR_64RegClass",
"SI",
"0U",
"16",
"AMDGPU::VGPR_32RegClass",
"SI",
"0U",
"16",
"AMDGPU::AGPR_32RegClass",
"SI",
"0U",
"MVT::i128",
"MVT::i16",
"MVT::f16",
"0U",
"1",
"1",
"AMDGPU::VGPR_32RegCl... | SIISelLowering120 | getRegForInlineAsmConstraint | AMDGPU | GPU | LLVM | 2,438 | 438 | 1 | [] |
[
"<s>",
"void",
"RISCVInstrInfo",
"::",
"buildOutlinedFrame",
"(",
"MachineBasicBlock",
"&",
"MBB",
",",
"MachineFunction",
"&",
"MF",
",",
"const",
"outliner",
"::",
"OutlinedFunction",
"&",
"OF",
")",
"const",
"{",
"bool",
"Changed",
"=",
"true",
";",
"while"... | [
"Insert",
"a",
"custom",
"frame",
"for",
"outlined",
"functions",
"."
] | [
"RISCV",
"RISCV",
"RISCV::X5",
"RISCV::JALR",
"RISCV::X0",
"RISCV::X5",
"0"
] | RISCVInstrInfo (2) | buildOutlinedFrame | RISCV | CPU | LLVM | 2,439 | 149 | 1 | [] |
[
"<s>",
"void",
"AArch64Operand",
"::",
"print",
"(",
"raw_ostream",
"&",
"OS",
")",
"const",
"{",
"switch",
"(",
"Kind",
")",
"{",
"case",
"k_FPImm",
":",
"OS",
"<<",
"\"<fpimm \"",
"<<",
"getFPImm",
"(",
")",
"<<",
"\"(\"",
"<<",
"AArch64_AM",
"::",
"... | [
"print",
"-",
"Print",
"a",
"debug",
"representation",
"of",
"the",
"operand",
"to",
"the",
"given",
"stream",
"."
] | [
"AArch64",
"AArch64",
"\"<fpimm \"",
"\"(\"",
"AArch64_AM::getFPImmFloat",
"\") >\"",
"\"<barrier \"",
"\">\"",
"\"<barrier invalid #\"",
"\">\"",
"\"<shiftedimm \"",
"\", lsl #\"",
"AArch64_AM::getShiftValue",
"\">\"",
"\"<condcode \"",
"\">\"",
"\"<vectorlist \"",
"0",
"\" \"",... | AArch64AsmParser27 | print | AArch64 | CPU | LLVM | 2,440 | 380 | 1 | [] |
[
"<s>",
"bool",
"X86ExpandPseudo",
"::",
"runOnMachineFunction",
"(",
"MachineFunction",
"&",
"MF",
")",
"{",
"STI",
"=",
"&",
"static_cast",
"<",
"const",
"X86Subtarget",
"&",
">",
"(",
"MF",
".",
"getSubtarget",
"(",
")",
")",
";",
"TII",
"=",
"STI",
"-... | [
"runOnMachineFunction",
"-",
"Emit",
"the",
"function",
"body",
"."
] | [
"X86",
"X86",
"X86",
"X86",
"X86",
"X86"
] | X86ExpandPseudo12 | runOnMachineFunction | X86 | CPU | LLVM | 2,441 | 89 | 1 | [] |
[
"<s>",
"bool",
"SIInstrInfo",
"::",
"shouldScheduleLoadsNear",
"(",
"SDNode",
"*",
"Load0",
",",
"SDNode",
"*",
"Load1",
",",
"int64_t",
"Offset0",
",",
"int64_t",
"Offset1",
",",
"unsigned",
"NumLoads",
")",
"const",
"{",
"assert",
"(",
"Offset1",
">",
"Off... | [
"shouldScheduleLoadsNear",
"-",
"This",
"is",
"a",
"used",
"by",
"the",
"pre-regalloc",
"scheduler",
"to",
"determine",
"(",
"in",
"conjunction",
"with",
"areLoadsFromSameBasePtr",
")",
"if",
"two",
"loads",
"should",
"be",
"scheduled",
"togther",
"."
] | [
"AMDGPU",
"SI",
"\"Second offset should be larger than first offset!\"",
"16",
"64"
] | SIInstrInfo1 | shouldScheduleLoadsNear | AMDGPU | GPU | LLVM | 2,442 | 49 | 1 | [] |
[
"<s>",
"void",
"PPCLinuxAsmPrinter",
"::",
"emitFunctionEntryLabel",
"(",
")",
"{",
"if",
"(",
"!",
"Subtarget",
"->",
"isPPC64",
"(",
")",
"&&",
"(",
"!",
"isPositionIndependent",
"(",
")",
"||",
"MF",
"->",
"getFunction",
"(",
")",
".",
"getParent",
"(",... | [
"EmitFunctionEntryLabel",
"-",
"Emit",
"the",
"label",
"that",
"is",
"the",
"entrypoint",
"for",
"the",
"function",
"."
] | [
"PowerPC",
"PPC",
"PPC",
"PPC",
"PPC",
"PPC",
"PPC",
"PPC",
"PPC",
"\".LTOC\"",
"4",
"PPC::X2",
"PPC",
"PPC",
"PPC",
"\".TOC.\"",
"PPC",
"PPC",
"8",
"\".opd\"",
"8",
"8",
"\".TOC.\"",
"PPC",
"8",
"0",
"8"
] | PPCAsmPrinter112 | emitFunctionEntryLabel | PowerPC | CPU | LLVM | 2,443 | 450 | 1 | [] |
[
"<s>",
"static",
"int",
"rs6000_hard_regno_nregs_internal",
"(",
"int",
"regno",
",",
"machine_mode",
"mode",
")",
"{",
"unsigned",
"HOST_WIDE_INT",
"reg_size",
";",
"if",
"(",
"FP_REGNO_P",
"(",
"regno",
")",
")",
"reg_size",
"=",
"(",
"VECTOR_MEM_VSX_P",
"(",
... | [
"Return",
"number",
"of",
"consecutive",
"hard",
"regs",
"needed",
"starting",
"at",
"reg",
"REGNO",
"to",
"hold",
"something",
"of",
"mode",
"MODE",
".",
"This",
"is",
"ordinarily",
"the",
"length",
"in",
"words",
"of",
"a",
"value",
"of",
"mode",
"MODE",... | [
"powerpcspe",
"1"
] | powerpcspe | rs6000_hard_regno_nregs_internal | powerpcspe | CPU | GCC | 2,444 | 120 | 1 | [] |
[
"<s>",
"static",
"bool",
"aarch64_evpc_reencode",
"(",
"struct",
"expand_vec_perm_d",
"*",
"d",
")",
"{",
"expand_vec_perm_d",
"newd",
";",
"unsigned",
"HOST_WIDE_INT",
"nelt",
";",
"if",
"(",
"d",
"->",
"vec_flags",
"!=",
"VEC_ADVSIMD",
")",
"return",
"false",
... | [
"Try",
"to",
"re-encode",
"the",
"PERM",
"constant",
"so",
"it",
"combines",
"odd",
"and",
"even",
"elements",
".",
"This",
"rewrites",
"constants",
"such",
"as",
"{",
"0",
",",
"1",
",",
"4",
",",
"5",
"}",
"/V4SF",
"to",
"{",
"0",
",",
"2",
"}",
... | [
"aarch64",
"2",
"2",
"2",
"1",
"0",
"2",
"1",
"2",
"1",
"1",
"2",
"2"
] | aarch641 | aarch64_evpc_reencode | aarch64 | CPU | GCC | 2,445 | 315 | 1 | [] |
[
"<s>",
"static",
"int",
"riscv_address_cost",
"(",
"rtx",
"addr",
",",
"enum",
"machine_mode",
"mode",
",",
"addr_space_t",
"as",
"ATTRIBUTE_UNUSED",
",",
"bool",
"speed",
"ATTRIBUTE_UNUSED",
")",
"{",
"return",
"riscv_address_insns",
"(",
"addr",
",",
"mode",
"... | [
"Implement",
"TARGET_ADDRESS_COST",
"."
] | [
"riscv"
] | riscv2 | riscv_address_cost | riscv | CPU | GCC | 2,446 | 31 | 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\""
] | X86FixupBWInsts | runOnMachineFunction | X86 | CPU | LLVM | 2,447 | 161 | 1 | [] |
[
"<s>",
"const",
"RegisterBankInfo",
"::",
"InstructionMapping",
"&",
"MipsRegisterBankInfo",
"::",
"getInstrMapping",
"(",
"const",
"MachineInstr",
"&",
"MI",
")",
"const",
"{",
"unsigned",
"Opc",
"=",
"MI",
".",
"getOpcode",
"(",
")",
";",
"const",
"RegisterBan... | [
"Get",
"the",
"mapping",
"of",
"the",
"different",
"operands",
"of",
"MI",
"on",
"the",
"register",
"bank",
"."
] | [
"Mips",
"Mips",
"Mips::ValueMappings",
"Mips::GPRIdx",
"Mips::ValueMappings",
"Mips::GPRIdx",
"Mips::ValueMappings",
"Mips::GPRIdx",
"Mips::ValueMappings",
"Mips::GPRIdx",
"Mips::ValueMappings",
"Mips::GPRIdx",
"Mips::ValueMappings",
"Mips::GPRIdx",
"Mips::ValueMappings",
"Mips::GPRIdx... | MipsRegisterBankInfo | getInstrMapping | Mips | CPU | LLVM | 2,448 | 284 | 1 | [] |
[
"<s>",
"bool",
"X86AsmBackend",
"::",
"writeNopData",
"(",
"uint64_t",
"Count",
",",
"MCObjectWriter",
"*",
"OW",
")",
"const",
"{",
"static",
"const",
"uint8_t",
"Nops",
"[",
"10",
"]",
"[",
"10",
"]",
"=",
"{",
"{",
"0x90",
"}",
",",
"{",
"0x66",
"... | [
"Write",
"an",
"(",
"optimal",
")",
"nop",
"sequence",
"of",
"Count",
"bytes",
"to",
"the",
"given",
"output",
"."
] | [
"X86",
"X86",
"10",
"10",
"0x90",
"0x66",
"0x90",
"0x0f",
"0x1f",
"0x00",
"0x0f",
"0x1f",
"0x40",
"0x00",
"0x0f",
"0x1f",
"0x44",
"0x00",
"0x00",
"0x66",
"0x0f",
"0x1f",
"0x44",
"0x00",
"0x00",
"0x0f",
"0x1f",
"0x80",
"0x00",
"0x00",
"0x00",
"0x00",
"0... | X86AsmBackend59 | writeNopData | X86 | CPU | LLVM | 2,449 | 281 | 1 | [] |
[
"<s>",
"rtx",
"spu_float_const",
"(",
"const",
"char",
"*",
"string",
",",
"machine_mode",
"mode",
")",
"{",
"REAL_VALUE_TYPE",
"value",
";",
"value",
"=",
"REAL_VALUE_ATOF",
"(",
"string",
",",
"mode",
")",
";",
"return",
"const_double_from_real_value",
"(",
... | [
"Create",
"a",
"CONST_DOUBLE",
"from",
"a",
"string",
"."
] | [
"spu"
] | spu1 | spu_float_const | spu | MPU | GCC | 2,450 | 33 | 1 | [] |
[
"<s>",
"static",
"int",
"arm_compute_static_chain_stack_bytes",
"(",
"void",
")",
"{",
"if",
"(",
"IS_NESTED",
"(",
"arm_current_func_type",
"(",
")",
")",
"&&",
"(",
"(",
"TARGET_APCS_FRAME",
"&&",
"frame_pointer_needed",
"&&",
"TARGET_ARM",
")",
"||",
"(",
"fl... | [
"Compute",
"the",
"number",
"of",
"bytes",
"used",
"to",
"store",
"the",
"static",
"chain",
"register",
"on",
"the",
"stack",
",",
"above",
"the",
"stack",
"frame",
".",
"We",
"need",
"to",
"know",
"this",
"accurately",
"to",
"get",
"the",
"alignment",
"... | [
"arm",
"0",
"4",
"0"
] | arm5 | arm_compute_static_chain_stack_bytes | arm | CPU | GCC | 2,451 | 57 | 1 | [] |
[
"<s>",
"int",
"direct_return",
"(",
"void",
")",
"{",
"return",
"(",
"reload_completed",
"&&",
"xstormy16_compute_stack_layout",
"(",
")",
".",
"frame_size",
"==",
"0",
"&&",
"!",
"xstormy16_interrupt_function_p",
"(",
")",
")",
";",
"}",
"</s>"
] | [
"Return",
"non-zero",
"if",
"this",
"function",
"is",
"known",
"to",
"have",
"a",
"null",
"epilogue",
"."
] | [
"stormy16",
"0"
] | stormy16 | direct_return | stormy16 | CPU | GCC | 2,452 | 25 | 1 | [] |
[
"<s>",
"bool",
"SNITCHFrepLoops",
"::",
"isDead",
"(",
"const",
"MachineInstr",
"*",
"MI",
",",
"SmallVectorImpl",
"<",
"MachineInstr",
"*",
">",
"&",
"DeadPhis",
")",
"const",
"{",
"for",
"(",
"unsigned",
"i",
"=",
"0",
",",
"e",
"=",
"MI",
"->",
"get... | [
"isDead",
"-",
"Returns",
"true",
"if",
"this",
"is",
"a",
"dead",
"def",
"kill",
"slot",
"."
] | [
"RI5CY",
"0",
"\" not dead because >2 uses\\n\"",
"\" not dead because use is not PHI\\n\"",
"0",
"\" checking use:\\n\"",
"\" not dead because the phi node has a user that is not MI\\n\""
] | SNITCHFrepLoops | isDead | RI5CY | CPU | LLVM | 2,453 | 342 | 1 | [] |
[
"<s>",
"bool",
"TeakRegisterInfo",
"::",
"requiresFrameIndexScavenging",
"(",
"const",
"MachineFunction",
"&",
"MF",
")",
"const",
"{",
"return",
"false",
";",
"}",
"</s>"
] | [
"Returns",
"true",
"if",
"the",
"target",
"requires",
"post",
"PEI",
"scavenging",
"of",
"registers",
"for",
"materializing",
"frame",
"index",
"constants",
"."
] | [
"Teak",
"Teak"
] | TeakRegisterInfo | requiresFrameIndexScavenging | Teak | DSP | LLVM | 2,454 | 16 | 1 | [] |
[
"<s>",
"void",
"ARMPassConfig",
"::",
"addPreEmitPass",
"(",
")",
"{",
"addPass",
"(",
"createThumb2SizeReductionPass",
"(",
")",
")",
";",
"if",
"(",
"getARMSubtarget",
"(",
")",
".",
"isThumb2",
"(",
")",
")",
"addPass",
"(",
"&",
"UnpackMachineBundlesID",
... | [
"This",
"pass",
"may",
"be",
"implemented",
"by",
"targets",
"that",
"want",
"to",
"run",
"passes",
"immediately",
"before",
"machine",
"code",
"is",
"emitted",
"."
] | [
"ARM",
"ARM",
"ARM",
"ARM",
"ARM"
] | ARMTargetMachine72 | addPreEmitPass | ARM | CPU | LLVM | 2,455 | 55 | 1 | [] |
[
"<s>",
"virtual",
"const",
"InstrItineraryData",
"getInstrItineraryData",
"(",
")",
"const",
"{",
"return",
"InstrItins",
";",
"}",
"</s>"
] | [
"getInstrItineraryData",
"-",
"Returns",
"instruction",
"itinerary",
"data",
"for",
"the",
"target",
"or",
"specific",
"subtarget",
"."
] | [
"ARM"
] | ARMTargetMachine11 | getInstrItineraryData | ARM | CPU | LLVM | 2,456 | 12 | 1 | [] |
[
"<s>",
"void",
"RISCVPassConfig",
"::",
"addIRPasses",
"(",
")",
"{",
"addPass",
"(",
"createAtomicExpandPass",
"(",
")",
")",
";",
"TargetPassConfig",
"::",
"addIRPasses",
"(",
")",
";",
"}",
"</s>"
] | [
"Add",
"common",
"target",
"configurable",
"passes",
"that",
"perform",
"LLVM",
"IR",
"to",
"IR",
"transforms",
"following",
"machine",
"independent",
"optimization",
"."
] | [
"RISCV",
"RISCV"
] | RISCVTargetMachine | addIRPasses | RISCV | CPU | LLVM | 2,457 | 21 | 1 | [] |
[
"<s>",
"unsigned",
"X86TargetLowering",
"::",
"getRegisterByName",
"(",
"const",
"char",
"*",
"RegName",
",",
"EVT",
"VT",
",",
"SelectionDAG",
"&",
"DAG",
")",
"const",
"{",
"const",
"TargetFrameLowering",
"&",
"TFI",
"=",
"*",
"Subtarget",
"->",
"getFrameLow... | [
"Return",
"the",
"register",
"ID",
"of",
"the",
"name",
"passed",
"in",
"."
] | [
"X86",
"X86",
"\"esp\"",
"X86::ESP",
"\"rsp\"",
"X86::RSP",
"\"ebp\"",
"X86::EBP",
"\"rbp\"",
"X86::RBP",
"0",
"X86::EBP",
"X86::RBP",
"\"register \"",
"\" is allocatable: function has no frame pointer\"",
"X86",
"X86::EBP",
"X86::RBP",
"\"Invalid Frame Register!\"",
"\"Invalid... | X86ISelLowering (2)3 | getRegisterByName | X86 | CPU | LLVM | 2,458 | 192 | 1 | [] |
[
"<s>",
"void",
"LanaiTargetLowering",
"::",
"LowerAsmOperandForConstraint",
"(",
"SDValue",
"Op",
",",
"std",
"::",
"string",
"&",
"Constraint",
",",
"std",
"::",
"vector",
"<",
"SDValue",
">",
"&",
"Ops",
",",
"SelectionDAG",
"&",
"DAG",
")",
"const",
"{",
... | [
"Lower",
"the",
"specified",
"operand",
"into",
"the",
"Ops",
"vector",
"."
] | [
"Lanai",
"Lanai",
"1",
"0",
"16",
"0",
"0",
"16",
"31",
"32",
"0xffff",
"0",
"33554432",
"33554431"
] | LanaiISelLowering12 | LowerAsmOperandForConstraint | Lanai | CPU | LLVM | 2,459 | 483 | 1 | [] |
[
"<s>",
"const",
"InstrItineraryData",
"*",
"getInstrItineraryData",
"(",
")",
"const",
"override",
"{",
"return",
"&",
"InstrItins",
";",
"}",
"</s>"
] | [
"getInstrItineraryData",
"-",
"Returns",
"instruction",
"itinerary",
"data",
"for",
"the",
"target",
"or",
"specific",
"subtarget",
"."
] | [
"Cpu0"
] | Cpu0Subtarget | getInstrItineraryData | Cpu0 | CPU | LLVM | 2,460 | 14 | 1 | [] |
[
"<s>",
"bool",
"CopyPropagation",
"::",
"processBlock",
"(",
"MachineBasicBlock",
"&",
"B",
",",
"const",
"RegisterSet",
"&",
")",
"{",
"std",
"::",
"vector",
"<",
"MachineInstr",
"*",
">",
"Instrs",
";",
"for",
"(",
"MachineInstr",
"&",
"MI",
":",
"llvm",... | [
"processBlock",
"-",
"If",
"there",
"are",
"any",
"predecessors",
"whose",
"control",
"can",
"be",
"threaded",
"through",
"to",
"a",
"successor",
",",
"transform",
"them",
"now",
"."
] | [
"Hexagon"
] | HexagonBitSimplify10 | processBlock | Hexagon | DSP | LLVM | 2,461 | 93 | 1 | [] |
[
"<s>",
"bool",
"SystemZInstrInfo",
"::",
"verifyInstruction",
"(",
"const",
"MachineInstr",
"&",
"MI",
",",
"StringRef",
"&",
"ErrInfo",
")",
"const",
"{",
"const",
"MCInstrDesc",
"&",
"MCID",
"=",
"MI",
".",
"getDesc",
"(",
")",
";",
"for",
"(",
"unsigned... | [
"Perform",
"target-specific",
"instruction",
"verification",
"."
] | [
"SystemZ",
"SystemZ",
"0",
"1",
"1",
"\"Addressing mode operands corrupt!\""
] | SystemZInstrInfo16 | verifyInstruction | SystemZ | CPU | LLVM | 2,462 | 151 | 1 | [] |
[
"<s>",
"bool",
"Z80AsmPrinter",
"::",
"doInitialization",
"(",
"Module",
"&",
"M",
")",
"{",
"OutStreamer",
".",
"setAutoInitSections",
"(",
"false",
")",
";",
"SmallString",
"<",
"128",
">",
"Str1",
";",
"raw_svector_ostream",
"OS1",
"(",
"Str1",
")",
";",
... | [
"Set",
"up",
"the",
"AsmPrinter",
"when",
"we",
"are",
"working",
"on",
"a",
"new",
"module",
"."
] | [
"Z80",
"Z80",
"128",
"\"Start of file scope inline assembly\"",
"\"End of file scope inline assembly\""
] | Z80AsmPrinter (2) | doInitialization | Z80 | MPU | LLVM | 2,463 | 155 | 1 | [] |
[
"<s>",
"auto",
"HexagonVectorCombine",
"::",
"getNullValue",
"(",
"Type",
"*",
"Ty",
")",
"const",
"->",
"Constant",
"*",
"{",
"assert",
"(",
"Ty",
"->",
"isIntOrIntVectorTy",
"(",
")",
")",
";",
"auto",
"Zero",
"=",
"ConstantInt",
"::",
"get",
"(",
"Ty"... | [
"Constructor",
"to",
"create",
"a",
"'",
"0",
"'",
"constant",
"of",
"arbitrary",
"type",
"."
] | [
"Hexagon",
"HexagonVectorCombine::getNullValue",
"0"
] | HexagonVectorCombine | getNullValue | Hexagon | DSP | LLVM | 2,464 | 71 | 1 | [] |
[
"<s>",
"rtx",
"mn10300_legitimize_pic_address",
"(",
"rtx",
"orig",
",",
"rtx",
"reg",
")",
"{",
"rtx",
"x",
";",
"rtx_insn",
"*",
"insn",
";",
"if",
"(",
"GET_CODE",
"(",
"orig",
")",
"==",
"LABEL_REF",
"||",
"(",
"GET_CODE",
"(",
"orig",
")",
"==",
... | [
"Convert",
"a",
"non-PIC",
"address",
"in",
"`",
"orig",
"'",
"to",
"a",
"PIC",
"address",
"using",
"@",
"GOT",
"or",
"@",
"GOTOFF",
"in",
"`",
"reg",
"'",
"."
] | [
"mn10300",
"1",
"1"
] | mn10300 | mn10300_legitimize_pic_address | mn10300 | MPU | GCC | 2,465 | 205 | 1 | [] |
[
"<s>",
"void",
"mips_emit_save_slot_move",
"(",
"rtx",
"dest",
",",
"rtx",
"src",
",",
"rtx",
"temp",
")",
"{",
"unsigned",
"int",
"regno",
";",
"rtx",
"mem",
";",
"if",
"(",
"REG_P",
"(",
"src",
")",
")",
"{",
"regno",
"=",
"REGNO",
"(",
"src",
")... | [
"Emit",
"a",
"move",
"from",
"SRC",
"to",
"DEST",
",",
"given",
"that",
"one",
"of",
"them",
"is",
"a",
"register",
"save",
"slot",
"and",
"that",
"the",
"other",
"is",
"a",
"register",
".",
"TEMP",
"is",
"a",
"temporary",
"GPR",
"of",
"the",
"same",... | [
"mips"
] | mips | mips_emit_save_slot_move | mips | CPU | GCC | 2,466 | 283 | 1 | [] |
[
"<s>",
"Printable",
"print",
"(",
")",
"const",
"{",
"return",
"Printable",
"(",
"[",
"this",
"]",
"(",
"raw_ostream",
"&",
"OS",
")",
"{",
"OS",
"<<",
"\"Value: \"",
"<<",
"*",
"V",
"<<",
"'\\n'",
"<<",
"\"Base: \"",
"<<",
"*",
"Base",
"<<",
"\" Off... | [
"print",
"-",
"Print",
"a",
"debug",
"representation",
"of",
"the",
"operand",
"to",
"the",
"given",
"stream",
"."
] | [
"AMDGPU",
"\"Value: \"",
"\"Base: \"",
"\" Offset: \""
] | AMDGPUPerfHintAnalysis (2) | print | AMDGPU | GPU | LLVM | 2,467 | 42 | 1 | [] |
[
"<s>",
"SDNode",
"*",
"MipsDAGToDAGISel",
"::",
"getGlobalBaseReg",
"(",
")",
"{",
"Register",
"GlobalBaseReg",
"=",
"MF",
"->",
"getInfo",
"<",
"MipsFunctionInfo",
">",
"(",
")",
"->",
"getGlobalBaseReg",
"(",
")",
";",
"return",
"CurDAG",
"->",
"getRegister"... | [
"getGlobalBaseReg",
"-",
"Return",
"a",
"virtual",
"register",
"initialized",
"with",
"the",
"the",
"global",
"base",
"register",
"value",
"."
] | [
"Mips",
"Mips",
"Mips"
] | MipsISelDAGToDAG23 | getGlobalBaseReg | Mips | CPU | LLVM | 2,468 | 50 | 1 | [] |
[
"<s>",
"void",
"X86PassConfig",
"::",
"addPreEmitPass",
"(",
")",
"{",
"if",
"(",
"getOptLevel",
"(",
")",
"!=",
"CodeGenOpt",
"::",
"None",
")",
"addPass",
"(",
"createExecutionDependencyFixPass",
"(",
"&",
"X86",
"::",
"VR128RegClass",
")",
")",
";",
"if",... | [
"This",
"pass",
"may",
"be",
"implemented",
"by",
"targets",
"that",
"want",
"to",
"run",
"passes",
"immediately",
"before",
"machine",
"code",
"is",
"emitted",
"."
] | [
"X86",
"X86",
"X86::VR128RegClass",
"X86",
"X86",
"X86",
"X86"
] | X86TargetMachine10 | addPreEmitPass | X86 | CPU | LLVM | 2,469 | 73 | 1 | [] |
[
"<s>",
"void",
"Z80oldAsmPrinter",
"::",
"EmitInstruction",
"(",
"const",
"MachineInstr",
"*",
"MI",
")",
"{",
"Z80oldMCInstLower",
"MCInstLowering",
"(",
"*",
"MF",
",",
"*",
"this",
")",
";",
"MCInst",
"TmpInst",
";",
"MCInstLowering",
".",
"Lower",
"(",
"... | [
"EmitInstruction",
"-",
"This",
"callback",
"is",
"invoked",
"when",
"an",
"instruction",
"is",
"emitted",
",",
"to",
"advance",
"the",
"hazard",
"state",
"."
] | [
"Z80old",
"Z80old",
"Z80old"
] | Z80oldMCInstLower | EmitInstruction | Z80old | MPU | LLVM | 2,470 | 42 | 1 | [] |
[
"<s>",
"void",
"scalar_chain",
"::",
"convert_reg",
"(",
"rtx_insn",
"*",
"insn",
",",
"rtx",
"dst",
",",
"rtx",
"src",
")",
"{",
"start_sequence",
"(",
")",
";",
"if",
"(",
"!",
"TARGET_INTER_UNIT_MOVES_FROM_VEC",
")",
"{",
"rtx",
"tmp",
"=",
"assign_386_... | [
"Convert",
"all",
"definitions",
"of",
"register",
"REGNO",
"and",
"fix",
"its",
"uses",
".",
"Scalar",
"copies",
"may",
"be",
"created",
"in",
"case",
"register",
"is",
"used",
"in",
"not",
"convertible",
"insn",
"."
] | [
"i386",
"0",
"0",
"4",
"4",
"1",
"0",
"0",
"1",
"4",
"0",
"0",
"0",
"0",
"32",
"4",
"0",
"\" Copied r%d to a scalar register r%d for insn %d\\n\""
] | i386-features1 | convert_reg | i386 | CPU | GCC | 2,471 | 355 | 1 | [] |
[
"<s>",
"bool",
"NVPTXAsmPrinter",
"::",
"doInitialization",
"(",
"Module",
"&",
"M",
")",
"{",
"SmallString",
"<",
"128",
">",
"Str1",
";",
"raw_svector_ostream",
"OS1",
"(",
"Str1",
")",
";",
"MMI",
"=",
"getAnalysisIfAvailable",
"<",
"MachineModuleInfo",
">"... | [
"Set",
"up",
"the",
"AsmPrinter",
"when",
"we",
"are",
"working",
"on",
"a",
"new",
"module",
"."
] | [
"NVPTX",
"NVPTX",
"128",
"NVPTX::CUDA",
"128"
] | NVPTXAsmPrinter14 | doInitialization | NVPTX | GPU | LLVM | 2,472 | 179 | 1 | [] |
[
"<s>",
"static",
"bool",
"classof",
"(",
"const",
"ARM64MCExpr",
"*",
")",
"{",
"return",
"true",
";",
"}",
"</s>"
] | [
"Methods",
"for",
"support",
"type",
"inquiry",
"through",
"isa",
",",
"cast",
",",
"and",
"dyn_cast",
":"
] | [
"ARM64",
"ARM64"
] | ARM64MCExpr | classof | ARM64 | CPU | LLVM | 2,473 | 13 | 1 | [] |
[
"<s>",
"int",
"PPCTTIImpl",
"::",
"getArithmeticInstrCost",
"(",
"unsigned",
"Opcode",
",",
"Type",
"*",
"Ty",
",",
"TTI",
"::",
"OperandValueKind",
"Op1Info",
",",
"TTI",
"::",
"OperandValueKind",
"Op2Info",
",",
"TTI",
"::",
"OperandValueProperties",
"Opd1PropIn... | [
"This",
"is",
"an",
"approximation",
"of",
"reciprocal",
"throughput",
"of",
"a",
"math/logic",
"op",
"."
] | [
"PowerPC",
"PPC",
"\"Invalid opcode\""
] | PPCTargetTransformInfo22 | getArithmeticInstrCost | PowerPC | CPU | LLVM | 2,474 | 64 | 1 | [] |
[
"<s>",
"bool",
"RISCVAsmParser",
"::",
"ParseInstruction",
"(",
"ParseInstructionInfo",
"&",
"Info",
",",
"StringRef",
"Name",
",",
"SMLoc",
"NameLoc",
",",
"OperandVector",
"&",
"Operands",
")",
"{",
"if",
"(",
"getSTI",
"(",
")",
".",
"getFeatureBits",
"(",
... | [
"ParseInstruction",
"-",
"Parse",
"one",
"assembly",
"instruction",
"."
] | [
"RISCV",
"RISCV",
"RISCV::FeatureRelax",
"RISCV",
"RISCV",
"RISCV",
"\"unexpected token\""
] | RISCVAsmParser (2) | ParseInstruction | RISCV | CPU | LLVM | 2,475 | 229 | 1 | [] |
[
"<s>",
"bool",
"HexagonInstrInfo",
"::",
"isValidOffset",
"(",
"const",
"int",
"Opcode",
",",
"const",
"int",
"Offset",
")",
"const",
"{",
"switch",
"(",
"Opcode",
")",
"{",
"case",
"Hexagon",
"::",
"LDriw",
":",
"case",
"Hexagon",
"::",
"LDriw_indexed",
"... | [
"Test",
"the",
"validity",
"of",
"offset",
"."
] | [
"Hexagon",
"Hexagon",
"Hexagon::LDriw",
"Hexagon::LDriw_indexed",
"Hexagon::LDriw_f",
"Hexagon::STriw_indexed",
"Hexagon::STriw",
"Hexagon::STriw_f",
"Hexagon",
"Hexagon",
"Hexagon::LDrid",
"Hexagon::LDrid_indexed",
"Hexagon::LDrid_f",
"Hexagon::STrid",
"Hexagon::STrid_indexed",
"Hexag... | HexagonInstrInfo82 | isValidOffset | Hexagon | DSP | LLVM | 2,476 | 441 | 1 | [] |
[
"<s>",
"bool",
"MVEVPTOptimisations",
"::",
"runOnMachineFunction",
"(",
"MachineFunction",
"&",
"Fn",
")",
"{",
"const",
"ARMSubtarget",
"&",
"STI",
"=",
"static_cast",
"<",
"const",
"ARMSubtarget",
"&",
">",
"(",
"Fn",
".",
"getSubtarget",
"(",
")",
")",
"... | [
"runOnMachineFunction",
"-",
"Emit",
"the",
"function",
"body",
"."
] | [
"ARM",
"ARM",
"ARM",
"\"********** ARM MVE VPT Optimisations **********\\n\"",
"\"********** Function: \"",
"\"**************************************\\n\""
] | MVEVPTOptimisationsPass | runOnMachineFunction | ARM | CPU | LLVM | 2,477 | 141 | 1 | [] |
[
"<s>",
"void",
"MFMAIGroupLPDAGMutation",
"::",
"apply",
"(",
"ScheduleDAGInstrs",
"*",
"DAGInstrs",
")",
"{",
"const",
"GCNSubtarget",
"&",
"ST",
"=",
"DAGInstrs",
"->",
"MF",
".",
"getSubtarget",
"<",
"GCNSubtarget",
">",
"(",
")",
";",
"TII",
"=",
"ST",
... | [
"Apply",
"the",
"profile",
"inference",
"algorithm",
"for",
"a",
"given",
"function",
"."
] | [
"AMDGPU",
"AMDGPU::V_ACCVGPR_WRITE_B32_e64",
"AMDGPU::V_ACCVGPR_READ_B32_e64",
"\"Found MFMA\\n\"",
"\"Found VMEM read\\n\"",
"\"Found DS Write\\n\"",
"\"Found DS Read\\n\"",
"4"
] | AMDGPUMFMAIGroupLP | apply | AMDGPU | GPU | LLVM | 2,478 | 383 | 1 | [] |
[
"<s>",
"static",
"int",
"h8300_ldm_stm_regno",
"(",
"rtx",
"x",
",",
"int",
"load_p",
",",
"int",
"index",
",",
"int",
"nregs",
")",
"{",
"int",
"regindex",
",",
"memindex",
",",
"offset",
";",
"if",
"(",
"load_p",
")",
"regindex",
"=",
"0",
",",
"me... | [
"A",
"subroutine",
"of",
"h8300_ldm_stm_parallel",
".",
"X",
"is",
"one",
"pattern",
"in",
"something",
"that",
"may",
"be",
"an",
"ldm",
"or",
"stm",
"instruction",
".",
"If",
"it",
"fits",
"the",
"required",
"template",
",",
"return",
"the",
"register",
... | [
"h8300",
"0",
"1",
"1",
"4",
"0",
"1",
"1",
"4",
"0",
"1"
] | h8300 | h8300_ldm_stm_regno | h8300 | MPU | GCC | 2,479 | 134 | 1 | [] |
[
"<s>",
"virtual",
"const",
"char",
"*",
"getPassName",
"(",
")",
"const",
"{",
"return",
"\"X86 Atom LEA Fixup\"",
";",
"}",
"</s>"
] | [
"getPassName",
"-",
"Return",
"a",
"nice",
"clean",
"name",
"for",
"a",
"pass",
"."
] | [
"X86",
"\"X86 Atom LEA Fixup\""
] | X86FixupLEAs5 | getPassName | X86 | CPU | LLVM | 2,480 | 13 | 1 | [] |
[
"<s>",
"void",
"rs6000_emit_sISEL",
"(",
"machine_mode",
"mode",
"ATTRIBUTE_UNUSED",
",",
"rtx",
"operands",
"[",
"]",
")",
"{",
"rs6000_emit_int_cmove",
"(",
"operands",
"[",
"0",
"]",
",",
"operands",
"[",
"1",
"]",
",",
"const1_rtx",
",",
"const0_rtx",
")... | [
"Emit",
"the",
"RTL",
"for",
"an",
"sISEL",
"pattern",
"."
] | [
"rs6000",
"0",
"1"
] | rs60004 | rs6000_emit_sISEL | rs6000 | CPU | GCC | 2,481 | 31 | 1 | [] |
[
"<s>",
"void",
"xstormy16_expand_prologue",
"(",
"void",
")",
"{",
"struct",
"xstormy16_stack_layout",
"layout",
";",
"int",
"regno",
";",
"rtx",
"insn",
";",
"rtx",
"mem_push_rtx",
";",
"const",
"int",
"ifun",
"=",
"xstormy16_interrupt_function_p",
"(",
")",
";... | [
"Called",
"after",
"register",
"allocation",
"to",
"add",
"any",
"instructions",
"needed",
"for",
"the",
"prologue",
".",
"Using",
"a",
"prologue",
"insn",
"is",
"favored",
"compared",
"to",
"putting",
"all",
"of",
"the",
"instructions",
"in",
"the",
"TARGET_A... | [
"stormy16",
"32768",
"\"local variable memory requirements exceed capacity\"",
"1",
"2",
"0",
"0",
"0",
"1",
"0",
"0",
"1",
"0",
"1",
"1",
"0",
"1",
"2",
"0",
"0",
"0",
"1",
"0",
"0",
"1",
"0",
"1",
"1",
"1",
"1",
"1",
"1"
] | stormy16 | xstormy16_expand_prologue | stormy16 | CPU | GCC | 2,482 | 495 | 1 | [] |
[
"<s>",
"static",
"tree",
"tilegx_gimplify_va_arg_expr",
"(",
"tree",
"valist",
",",
"tree",
"type",
",",
"gimple_seq",
"*",
"pre_p",
",",
"gimple_seq",
"*",
"post_p",
"ATTRIBUTE_UNUSED",
")",
"{",
"tree",
"f_args",
",",
"f_skip",
";",
"tree",
"args",
",",
"s... | [
"Implement",
"TARGET_GIMPLIFY_VA_ARG_EXPR",
".",
"Gimplify",
"va_arg",
"by",
"updating",
"the",
"va_list",
"structure",
"VALIST",
"as",
"required",
"to",
"retrieve",
"an",
"argument",
"of",
"type",
"TYPE",
",",
"and",
"returning",
"that",
"argument",
".",
"ret",
... | [
"tilegx",
"\"va_arg\"",
"1",
"2",
"8"
] | tilegx2 | tilegx_gimplify_va_arg_expr | tilegx | VLIW | GCC | 2,483 | 408 | 1 | [] |
[
"<s>",
"bool",
"AArch64FrameLowering",
"::",
"hasFP",
"(",
"const",
"MachineFunction",
"&",
"MF",
")",
"const",
"{",
"const",
"MachineFrameInfo",
"&",
"MFI",
"=",
"MF",
".",
"getFrameInfo",
"(",
")",
";",
"const",
"TargetRegisterInfo",
"*",
"RegInfo",
"=",
"... | [
"hasFP",
"-",
"Return",
"true",
"if",
"the",
"specified",
"function",
"should",
"have",
"a",
"dedicated",
"frame",
"pointer",
"register",
"."
] | [
"AArch64",
"AArch64"
] | AArch64FrameLowering19 | hasFP | AArch64 | CPU | LLVM | 2,484 | 92 | 1 | [] |
[
"<s>",
"void",
"AArch64TargetLowering",
"::",
"insertSSPDeclarations",
"(",
"Module",
"&",
"M",
")",
"const",
"{",
"if",
"(",
"Subtarget",
"->",
"getTargetTriple",
"(",
")",
".",
"isWindowsMSVCEnvironment",
"(",
")",
")",
"{",
"M",
".",
"getOrInsertGlobal",
"(... | [
"Inserts",
"necessary",
"declarations",
"for",
"SSP",
"(",
"stack",
"protection",
")",
"purpose",
"."
] | [
"AArch64",
"AArch64",
"\"__security_cookie\"",
"\"__security_check_cookie\"",
"1"
] | AArch64ISelLowering131 | insertSSPDeclarations | AArch64 | CPU | LLVM | 2,485 | 114 | 1 | [] |
[
"<s>",
"static",
"void",
"cortexa7_sched_reorder",
"(",
"FILE",
"*",
"file",
",",
"int",
"verbose",
",",
"rtx_insn",
"*",
"*",
"ready",
",",
"int",
"*",
"n_readyp",
",",
"int",
"clock",
")",
"{",
"int",
"i",
";",
"int",
"first_older_only",
"=",
"-",
"1... | [
"Look",
"for",
"an",
"instruction",
"that",
"can",
"dual",
"issue",
"only",
"as",
"an",
"older",
"instruction",
",",
"and",
"move",
"it",
"in",
"front",
"of",
"any",
"instructions",
"that",
"can",
"dual-issue",
"as",
"younger",
",",
"while",
"preserving",
... | [
"arm",
"1",
"1",
"5",
"\";; sched_reorder for cycle %d with %d insns in ready list\\n\"",
"1",
"0",
"5",
"\";; reorder older found %d\\n\"",
"1",
"1",
"5",
"\";; sched_reorder nothing to reorder as no younger\\n\"",
"1",
"5",
"\";; sched_reorder nothing to reorder as no older_only\\n\"... | arm | cortexa7_sched_reorder | arm | CPU | GCC | 2,486 | 260 | 1 | [] |
[
"<s>",
"static",
"const",
"char",
"*",
"rs6000_mangle_type",
"(",
"const_tree",
"type",
")",
"{",
"type",
"=",
"TYPE_MAIN_VARIANT",
"(",
"type",
")",
";",
"if",
"(",
"TREE_CODE",
"(",
"type",
")",
"!=",
"VOID_TYPE",
"&&",
"TREE_CODE",
"(",
"type",
")",
"... | [
"AltiVec",
"defines",
"five",
"built-in",
"scalar",
"types",
"that",
"serve",
"as",
"vector",
"elements",
";",
"we",
"must",
"teach",
"the",
"compiler",
"how",
"to",
"mangle",
"them",
".",
"The",
"128-bit",
"floating",
"point",
"mangling",
"is",
"target-specif... | [
"rs6000",
"\"U6__boolc\"",
"\"U6__bools\"",
"\"u7__pixel\"",
"\"U6__booli\"",
"\"U6__booll\"",
"\"U10__float128\"",
"\"g\"",
"\"U10__float128\"",
"\"g\"",
"\"g\""
] | rs60006 | rs6000_mangle_type | rs6000 | CPU | GCC | 2,487 | 159 | 1 | [] |
[
"<s>",
"void",
"TeeRISCAsmPrinter",
"::",
"EmitInstruction",
"(",
"const",
"MachineInstr",
"*",
"MI",
")",
"{",
"TeeRISCMCInstLower",
"MCInstLowering",
"(",
"OutContext",
",",
"*",
"this",
")",
";",
"MCInst",
"TmpInst",
";",
"MCInstLowering",
".",
"Lower",
"(",
... | [
"EmitInstruction",
"-",
"This",
"callback",
"is",
"invoked",
"when",
"an",
"instruction",
"is",
"emitted",
",",
"to",
"advance",
"the",
"hazard",
"state",
"."
] | [
"TeeRISC",
"TeeRISC",
"TeeRISC"
] | TeeRISCAsmPrinter | EmitInstruction | TeeRISC | CPU | LLVM | 2,488 | 40 | 1 | [] |
[
"<s>",
"static",
"void",
"rs6000_emit_stack_tie",
"(",
"rtx",
"fp",
",",
"bool",
"hard_frame_needed",
")",
"{",
"rtvec",
"p",
";",
"int",
"i",
";",
"rtx",
"regs",
"[",
"3",
"]",
";",
"i",
"=",
"0",
";",
"regs",
"[",
"i",
"++",
"]",
"=",
"gen_rtx_RE... | [
"This",
"ties",
"together",
"stack",
"memory",
"(",
"MEM",
"with",
"an",
"alias",
"set",
"of",
"rs6000_sr_alias_set",
")",
"and",
"the",
"change",
"to",
"the",
"stack",
"pointer",
"."
] | [
"powerpcspe",
"3",
"0",
"0"
] | powerpcspe | rs6000_emit_stack_tie | powerpcspe | CPU | GCC | 2,489 | 145 | 1 | [] |
[
"<s>",
"void",
"MSP430InstrInfo",
"::",
"loadRegFromStackSlot",
"(",
"MachineBasicBlock",
"&",
"MBB",
",",
"MachineBasicBlock",
"::",
"iterator",
"MI",
",",
"unsigned",
"DestReg",
",",
"int",
"FrameIdx",
",",
"const",
"TargetRegisterClass",
"*",
"RC",
",",
"const"... | [
"Load",
"the",
"specified",
"register",
"of",
"the",
"given",
"register",
"class",
"from",
"the",
"specified",
"stack",
"frame",
"index",
"."
] | [
"MSP430",
"MSP430",
"0",
"MSP430::GR16RegClass",
"MSP430::MOV16rm",
"0",
"MSP430::GR8RegClass",
"MSP430::MOV8rm",
"0",
"\"Cannot store this register to stack slot!\""
] | MSP430InstrInfo13 | loadRegFromStackSlot | MSP430 | MPU | LLVM | 2,490 | 209 | 1 | [] |
[
"<s>",
"static",
"void",
"s390_optimize_register_info",
"(",
")",
"{",
"char",
"clobbered_regs",
"[",
"32",
"]",
";",
"int",
"i",
";",
"gcc_assert",
"(",
"epilogue_completed",
")",
";",
"s390_regs_ever_clobbered",
"(",
"clobbered_regs",
")",
";",
"for",
"(",
"... | [
"This",
"function",
"is",
"called",
"by",
"s390_optimize_prologue",
"in",
"order",
"to",
"get",
"rid",
"of",
"unnecessary",
"GPR",
"save/restore",
"instructions",
".",
"The",
"register",
"info",
"for",
"the",
"GPRs",
"is",
"re-computed",
"and",
"the",
"ranges",
... | [
"s390",
"32",
"0",
"32",
"0",
"16"
] | s3901 | s390_optimize_register_info | s390 | MPU | GCC | 2,491 | 113 | 1 | [] |
[
"<s>",
"int",
"HexagonInstrInfo",
"::",
"getMinValue",
"(",
"const",
"MachineInstr",
"*",
"MI",
")",
"const",
"{",
"const",
"uint64_t",
"F",
"=",
"MI",
"->",
"getDesc",
"(",
")",
".",
"TSFlags",
";",
"unsigned",
"isSigned",
"=",
"(",
"F",
">>",
"HexagonI... | [
"Return",
"the",
"minimal",
"unsigned",
"value",
"possible",
"given",
"these",
"KnownBits",
"."
] | [
"Hexagon",
"Hexagon",
"HexagonII::ExtentSignedPos",
"HexagonII::ExtentSignedMask",
"HexagonII::ExtentBitsPos",
"HexagonII::ExtentBitsMask",
"1U",
"1",
"0"
] | HexagonInstrInfo (2) | getMinValue | Hexagon | DSP | LLVM | 2,492 | 73 | 1 | [] |
[
"<s>",
"bool",
"MicroMipsSizeReduce",
"::",
"runOnMachineFunction",
"(",
"MachineFunction",
"&",
"MF",
")",
"{",
"Subtarget",
"=",
"&",
"static_cast",
"<",
"const",
"MipsSubtarget",
"&",
">",
"(",
"MF",
".",
"getSubtarget",
"(",
")",
")",
";",
"if",
"(",
"... | [
"runOnMachineFunction",
"-",
"Emit",
"the",
"function",
"body",
"."
] | [
"Mips",
"Mips",
"Mips",
"Mips",
"Mips",
"Mips",
"Mips"
] | MicroMipsSizeReduction9 | runOnMachineFunction | Mips | CPU | LLVM | 2,493 | 108 | 1 | [] |
[
"<s>",
"static",
"scalar_int_mode",
"rs6000_abi_word_mode",
"(",
"void",
")",
"{",
"return",
"TARGET_32BIT",
"?",
"SImode",
":",
"DImode",
";",
"}",
"</s>"
] | [
"The",
"mode",
"the",
"ABI",
"uses",
"for",
"a",
"word",
".",
"This",
"is",
"not",
"the",
"same",
"as",
"word_mode",
"for",
"-m32",
"-mpowerpc64",
".",
"This",
"is",
"used",
"to",
"implement",
"various",
"target",
"hooks",
"."
] | [
"powerpcspe"
] | powerpcspe | rs6000_abi_word_mode | powerpcspe | CPU | GCC | 2,494 | 15 | 1 | [] |
[
"<s>",
"void",
"ATTRIBUTE_UNUSED",
"ix86_debug_options",
"(",
"void",
")",
"{",
"char",
"*",
"opts",
"=",
"ix86_target_string",
"(",
"ix86_isa_flags",
",",
"ix86_isa_flags2",
",",
"target_flags",
",",
"ix86_target_flags",
",",
"ix86_arch_string",
",",
"ix86_tune_strin... | [
"Function",
"that",
"is",
"callable",
"from",
"the",
"debugger",
"to",
"print",
"the",
"current",
"options",
"."
] | [
"i386",
"\"%s\\n\\n\"",
"\"<no options>\\n\\n\""
] | i3868 | ix86_debug_options | i386 | CPU | GCC | 2,495 | 63 | 1 | [] |
[
"<s>",
"unsigned",
"X86InstrInfo",
"::",
"getOpcodeAfterMemoryUnfold",
"(",
"unsigned",
"Opc",
",",
"bool",
"UnfoldLoad",
",",
"bool",
"UnfoldStore",
",",
"unsigned",
"*",
"LoadRegIndex",
")",
"const",
"{",
"DenseMap",
"<",
"unsigned",
",",
"std",
"::",
"pair",
... | [
"getOpcodeAfterMemoryUnfold",
"-",
"Returns",
"the",
"opcode",
"of",
"the",
"would",
"be",
"new",
"instruction",
"after",
"load",
"/",
"store",
"are",
"unfolded",
"from",
"an",
"instruction",
"of",
"the",
"specified",
"opcode",
"."
] | [
"X86",
"X86",
"0",
"1",
"4",
"1",
"5",
"0",
"0",
"0xf"
] | X86InstrInfo12 | getOpcodeAfterMemoryUnfold | X86 | CPU | LLVM | 2,496 | 130 | 1 | [] |
[
"<s>",
"outliner",
"::",
"OutlinedFunction",
"X86InstrInfo",
"::",
"getOutliningCandidateInfo",
"(",
"std",
"::",
"vector",
"<",
"outliner",
"::",
"Candidate",
">",
"&",
"RepeatedSequenceLocs",
")",
"const",
"{",
"unsigned",
"SequenceSize",
"=",
"std",
"::",
"accu... | [
"Returns",
"a",
"outliner",
":",
":OutlinedFunction",
"struct",
"containing",
"target-specific",
"information",
"for",
"a",
"set",
"of",
"outlining",
"candidates",
"."
] | [
"X86",
"X86",
"0",
"0",
"0",
"1",
"0",
"0",
"0",
"0",
"1",
"0",
"0",
"1",
"0",
"0",
"1",
"1"
] | X86InstrInfo153 | getOutliningCandidateInfo | X86 | CPU | LLVM | 2,497 | 302 | 1 | [] |
[
"<s>",
"TargetLoweringBase",
"::",
"LegalizeTypeAction",
"AArch64TargetLowering",
"::",
"getPreferredVectorAction",
"(",
"EVT",
"VT",
")",
"const",
"{",
"MVT",
"SVT",
"=",
"VT",
".",
"getSimpleVT",
"(",
")",
";",
"if",
"(",
"SVT",
"==",
"MVT",
"::",
"v1i8",
... | [
"Customize",
"the",
"preferred",
"legalization",
"strategy",
"for",
"certain",
"types",
"."
] | [
"AArch64",
"AArch64",
"MVT::v1i8",
"MVT::v1i16",
"MVT::v1i32",
"MVT::v1f32"
] | AArch64ISelLowering (2) | getPreferredVectorAction | AArch64 | CPU | LLVM | 2,498 | 59 | 1 | [] |
[
"<s>",
"bool",
"X86PassConfig",
"::",
"addInstSelector",
"(",
")",
"{",
"PM",
"->",
"add",
"(",
"createX86ISelDag",
"(",
"getX86TargetMachine",
"(",
")",
",",
"getOptLevel",
"(",
")",
")",
")",
";",
"if",
"(",
"!",
"getX86Subtarget",
"(",
")",
".",
"is64... | [
"addInstSelector",
"-",
"This",
"method",
"should",
"install",
"an",
"instruction",
"selector",
"pass",
",",
"which",
"converts",
"from",
"LLVM",
"code",
"to",
"machine",
"instructions",
"."
] | [
"X86",
"X86",
"X86",
"X86",
"X86"
] | X86TargetMachine87 | addInstSelector | X86 | CPU | LLVM | 2,499 | 47 | 1 | [] |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.